@dinoxx/dinox-cli 3.5.1 → 3.5.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunks/{bbc-SOUVA3A6.js → bbc-4TIRPEBV.js} +5 -5
- package/dist/chunks/{bohaishibei-TVAYDZ3S.js → bohaishibei-EX6INEG5.js} +2 -2
- package/dist/chunks/chunk-5CW5EUY2.js +51 -0
- package/dist/chunks/{chunk-7A5QISPG.js → chunk-5PEY5B37.js} +11 -1
- package/dist/chunks/{chunk-DAAFMTWB.js → chunk-AN2ITAJN.js} +5 -3
- package/dist/chunks/{chunk-QAH7TABU.js → chunk-DOSP6XQF.js} +8 -8
- package/dist/chunks/{chunk-XS7NHAXR.js → chunk-H5UR7S2R.js} +2 -2
- package/dist/chunks/{chunk-P23BS2ST.js → chunk-HMUFG5WK.js} +7 -7
- package/dist/chunks/{chunk-QT4ENEZI.js → chunk-M6FIMSYZ.js} +25 -25
- package/dist/chunks/{chunk-2WWLGTAU.js → chunk-RNLNMEKF.js} +6 -6
- package/dist/chunks/{chunk-TDUVFINJ.js → chunk-TZLGLLK5.js} +20 -20
- package/dist/chunks/{chunk-6IZ3X5JD.js → chunk-YNKFRBWM.js} +5 -5
- package/dist/chunks/{cookies-UUQZXH4R.js → cookies-ZP3VKFTD.js} +2 -2
- package/dist/chunks/{doubanGroup-Z22HXP4S.js → doubanGroup-LLHGOW7X.js} +10 -10
- package/dist/chunks/{ensure-N3OQUDZR.js → ensure-47DNFVVW.js} +5 -5
- package/dist/chunks/{execute-KKPBFABB.js → execute-Y4DBR55R.js} +4 -4
- package/dist/chunks/{install-VBMWNPO6.js → install-KRIISHHQ.js} +7 -4
- package/dist/chunks/{jike-H5FM2OLZ.js → jike-W5D7DZYK.js} +5 -5
- package/dist/chunks/{mcp-YGMXLQEU.js → mcp-OYA5MRME.js} +11 -7
- package/dist/chunks/{mcpServer-3V6BVYYT.js → mcpServer-XWTPPDHL.js} +9 -9
- package/dist/chunks/paths-LTGNGPAN.js +11 -0
- package/dist/chunks/{run-FCVNSKGO.js → run-4ZQDJIGP.js} +46 -46
- package/dist/chunks/{runCli-KZ3EAIQT.js → runCli-BYMX6VDC.js} +8 -8
- package/dist/chunks/runtimeRecord-GBZAJ7Q4.js +18 -0
- package/dist/chunks/{setup-EPCEVJVM.js → setup-5HZIQ4GV.js} +6 -6
- package/dist/chunks/{threads-P3QZA3KN.js → threads-MTSDJXGW.js} +5 -5
- package/dist/chunks/{web-SQX7IMO7.js → web-BTDVSI5Z.js} +5 -5
- package/dist/chunks/{weibo-A7RZJLAH.js → weibo-7UTH5JTP.js} +9 -9
- package/dist/chunks/{xiaoheihe-LCWXGLYD.js → xiaoheihe-AB5PNLWT.js} +2 -2
- package/dist/dinox.js +6 -6
- package/dist/dsh-plugin/lib/client.js +2 -2
- package/dist/dsh-plugin/lib/index.js +55 -13
- package/dist/dsh-plugin/package.json +2 -3
- package/dist/editor-ui/mcp-app.html +1 -1
- package/package.json +1 -1
- package/dist/dsh-plugin/runtime.json +0 -5
- package/dist/chunks/{bilibili-V4XVW33T.js → bilibili-JNZVAIRS.js} +7 -7
- package/dist/chunks/{chunk-MWVB6SDC.js → chunk-HLKHDPSU.js} +3 -3
- package/dist/chunks/{chunk-YFGDTC2F.js → chunk-O2AWYZW4.js} +3 -3
- package/dist/chunks/{chunk-YX4SIEVS.js → chunk-YLLVX4IU.js} +3 -3
- package/dist/chunks/{douyin-PIWFZHK7.js → douyin-XQCFVXTX.js} +3 -3
- package/dist/chunks/{instagram-4W4HCWJN.js → instagram-7MHMSJIU.js} +3 -3
- package/dist/chunks/{twitter-WNBOJELM.js → twitter-GPYVL35I.js} +3 -3
- package/dist/chunks/{wechat-WKYZGRG5.js → wechat-RSD3QNSJ.js} +3 -3
- package/dist/chunks/{xiaoyuzhou-OGIWFABL.js → xiaoyuzhou-JJMM3EUH.js} +3 -3
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
window.__ModuleLoader__.load({ id: "dinox-editor-dsh", factory: (require) => {
|
|
2
2
|
var module = { exports: {} }; var exports = module.exports;
|
|
3
|
-
"use strict";var JC=Object.defineProperty;var Ine=Object.getOwnPropertyDescriptor;var Rne=Object.getOwnPropertyNames;var Nne=Object.prototype.hasOwnProperty;var mr=(e,t)=>()=>(e&&(t=e(e=0)),t);var QC=(e,t)=>{for(var n in t)JC(e,n,{get:t[n],enumerable:!0})},One=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of Rne(t))!Nne.call(e,i)&&i!==n&&JC(e,i,{get:()=>t[i],enumerable:!(r=Ine(t,i))||r.enumerable});return e};var Dne=e=>One(JC({},"__esModule",{value:!0}),e);function sX(e,t){return e}function aX(e){e()}var Gn,lX,il=mr(()=>{Gn=!1;lX=()=>!1});function C_(e){SX.add(e),queueMicrotask(()=>{SX.delete(e)&&e()})}var SX,m7=mr(()=>{SX=new Set});function sd(e,t,n){let r=e.style.getPropertyValue(t),i=e.style.getPropertyPriority(t);e.style.setProperty(t,n);let o=e.style.getPropertyValue(t);return()=>{e.style.getPropertyValue(t)===o&&(r?e.style.setProperty(t,r,i):e.style.removeProperty(t))}}function b7(e){if(!(typeof CSS>"u"||!CSS.registerProperty)){for(let t of e)if(!_X.has(t)){_X.add(t);try{CSS.registerProperty({name:t,syntax:"*",inherits:!1})}catch{}}}}function AX(e){if(g7.has(e))return g7.get(e);let t;for(let r=e;r&&!t;r=r.defaultView?.frameElement?.ownerDocument)t=r.head?.querySelector('meta[property="csp-nonce"]');let n=t?t.nonce||t.getAttribute("nonce")||"":null;return g7.set(e,n),n}function ad(e,t,n){if(!e.head)return;let r=e.defaultView;AX(e)===""&&r&&"adoptedStyleSheets"in e?W3e(e,r,t,n):q3e(e,t,n)}function q3e(e,t,n){let r=e.getElementById(t);if(r){if(y7.get(r)===n)return;r.textContent!==n&&(r.textContent=n),y7.set(r,n);return}let i=e.createElement("style");i.id=t;let o=AX(e);o&&(i.nonce=o),i.textContent=n,y7.set(i,n);let s=e.head.querySelectorAll(':scope > style[id^="ui-sdk-"]');s.length?s[s.length-1].after(i):e.head.prepend(i)}function W3e(e,t,n,r){let i=CX().get(e);i||CX().set(e,i=new Map);let o=i.get(n);o||i.set(n,o={sheet:new t.CSSStyleSheet,css:""}),o.css!==r&&(o.sheet.replaceSync(r),o.css=r),e.adoptedStyleSheets.includes(o.sheet)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,o.sheet])}function w7(e){ad(e,"ui-sdk-hidden",'@layer ui-sdk { :where([data-slot][hidden]:not([hidden="until-found"])) { display: none !important } }')}function Vy(e){typeof window>"u"||(performance.getEntriesByType("paint").length?zy?zy.push(e):(zy=[e],(window.requestIdleCallback??setTimeout)(()=>{let t=zy;zy=void 0,t.forEach(n=>n())})):e())}function MX(e){let t,n=requestAnimationFrame(()=>{t=setTimeout(e)});return()=>{cancelAnimationFrame(n),clearTimeout(t)}}var _X,CX,g7,y7,zy,Xc=mr(()=>{_X=new Set;CX=()=>globalThis[Symbol.for("ui-sdk.styles@1")]??=new WeakMap,g7=new WeakMap;y7=new WeakMap});function $n(e,t,n,r){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)}function Om(e){let t="nativeEvent"in e?e.nativeEvent:e;return t.isComposing===!0||t.keyCode===229}var x7,qs=mr(()=>{x7=()=>new Event("select",{cancelable:!0})});function TX(e){return jy.add(e),e}function jo(e,t){return Object.is(e,t)?!0:!Array.isArray(e)||!Array.isArray(t)||e.length!==t.length||jy.has(e)||jy.has(t)?!1:e.every((n,r)=>Object.is(n,t[r]))}function M_(e,t){return v7(e,t,void 0)}function v7(e,t,n){if(Object.is(e,t))return!0;let r=Array.isArray(e)&&Array.isArray(t);if(!r&&!(A_(e)&&A_(t)))return!1;if(n){for(let o=0;o<n.length;o+=2)if(n[o]===e&&n[o+1]===t)return!0}let i=n??[];i.push(e,t);try{if(r){let l=e,c=t;if(l.length!==c.length||jy.has(l)||jy.has(c))return!1;for(let u=0;u<l.length;u++)if(!v7(l[u],c[u],i))return!1;return!0}let o=e,s=t,a=Object.keys(o);if(a.length!==Object.keys(s).length)return!1;for(let l of a)if(!(l in s)||!v7(o[l],s[l],i))return!1;return!0}finally{i.length-=2}}function $X(e,t){let n=e,r=0,i=0,o,s,a=!1,l,c=new Set,u=new Map,f,d={get(){return l??h()},set(m,y=!1){if(o&&!y&&!a){let k=h();if(k!==n){let $={...k};for(let C in m)delete $[C];d.set($,!0)}}let g=[];for(let k in m)jo(n[k],m[k])||g.push(k);if(!g.length)return;let x=n;n={...n,...m};let w=g.every(k=>t.includes(k));p(g,x,w,y)},subscribe(m){return c.add(m),()=>{c.delete(m)}},setFanout(m){f=m},follow(m){o=m},view(m,y){let g=l;l=m;try{return y()}finally{l=g}}};function h(){if(!o||a)return n;a=!0;let m;try{m=o(n)}finally{a=!1}if(!m)return n;if(s?.state===n&&s.over===m)return s.result;let y=n;for(let g in m)if(!jo(n[g],m[g])){y={...n,...m};break}return s={state:n,over:m,result:y},y}function p(m,y,g,x){g||r++,x||i++;let w=k=>k(g,x,m);c.forEach(w);for(let[k,$]of u)(!m.length||m.some(C=>!Object.hasOwn(k,C)))&&$.forEach(w);f?.(m,y,w)}return ld.set(d,{state:()=>n,renders:()=>r,writes:()=>i,touch:()=>p([],n,!1,!1),skipping:u}),d}function T_(e,t,n){return $_(ld.get(e).skipping,t,n)}function $_(e,t,n){let r=e.get(t);return r||e.set(t,r=new Set),r.add(n),()=>{r.delete(n),!r.size&&e.get(t)===r&&e.delete(t)}}var jy,A_,ld,qy,E_,k7,EX,IX,yh=mr(()=>{jy=new WeakSet;A_=e=>{if(typeof e!="object"||e===null)return!1;let t=Object.getPrototypeOf(e);return t===Object.prototype||t===null};ld=new WeakMap;qy=e=>ld.get(e).state(),E_=e=>ld.get(e).writes(),k7=e=>ld.get(e).renders(),EX=(e,t)=>{ld.set(e,ld.get(t))},IX=e=>ld.get(e).touch()});function OX(e){let t=RX.get(e);if(t)return t;let n={selectors:new Map,selecting:new Map};return RX.set(e,n),e.setFanout((r,i,o)=>{let s=e.get();for(let a of r){let l=n.selecting.get(a);if(!l)continue;let c=f=>n.selectors.get(`${String(a)}:${f}`)?.forEach(o),u=i[a];for(let[f,d]of l)f(u,s[a],c)===!0&&d.forEach(o)}}),n}function vs(e){let t=Object.entries(e).filter(([,i])=>I_(i)||typeof i=="function"||i.length>0),n=(i,o)=>I_(i)?i.values(o):typeof i=="function"?i(o):i,r=(i,o)=>{let s=Zc(i,o);return t.map(([a,l])=>[a,n(l,s)])};return{reading(i,o){let s=Zc(i,o);return new Map(Object.entries(e).flatMap(([a,l])=>I_(l)?[]:[[a,n(l,s)]]))},selection(i,o){let s=r(i,o);return s.length?JSON.stringify(s):""},subscribe(i,o,s){let a=[T_(i.store,e,o)];for(let[l,c]of r(i,s)){let u=e[l],f=I_(u)?u.moved:Wy;a.push(...c.map(d=>U3e(i.store,l,d,o,f))),f!==Wy&&a.push(DX(i.store,l,f,o))}return()=>a.forEach(l=>l())}}}function U3e(e,t,n,r,i=Wy){let o=DX(e,t,i,()=>{}),s=$_(OX(e).selectors,`${String(t)}:${n}`,r);return()=>{s(),o()}}function DX(e,t,n,r){let{selecting:i}=OX(e),o=i.get(t);o||i.set(t,o=new Map);let s=$_(o,n,r);return()=>{s(),!o.size&&i.get(t)===o&&i.delete(t)}}function Wy(e,t,n){if(e==null?e=NX(t,e):t==null&&(t=NX(e,t)),S7(e)&&S7(t)){for(let o in e)(!Object.hasOwn(t,o)||!Object.is(e[o],t[o]))&&n(o);for(let o in t)Object.hasOwn(e,o)||n(o);return}if(!Array.isArray(e)||!Array.isArray(t))return[e,t].forEach(n);let r=0,i=0;for(;r<e.length&&e[r]===t[r];)r++;for(;i<e.length-r&&i<t.length-r&&e[e.length-1-i]===t[t.length-1-i];)i++;for(let o of[e,t])for(let s=r;s<o.length-i;s++)n(o[s])}var I_,RX,S7,K3e,G3e,NX,_7=mr(()=>{Uy();yh();I_=e=>typeof e=="object"&&e!==null&&!Array.isArray(e),RX=new WeakMap;S7=e=>!!e&&Object.getPrototypeOf(e)===Object.prototype,K3e=[],G3e={},NX=(e,t)=>Array.isArray(e)?K3e:S7(e)?G3e:t});function FX(e){let{parts:t}=e.owner,n=`${e.slot}:${e.key}`;t.has(n)||t.set(n,e),e.leases++;let r=!0;return()=>{if(!r||(r=!1,--e.leases))return;let{owner:i}=e;i.released.length||queueMicrotask(()=>zX(i)),i.released.push(e)}}function HX(e){let{owner:t}=e;t.released.length||queueMicrotask(()=>zX(t)),t.released.push(e)}function zX(e){for(let t of e.released){let n=`${t.slot}:${t.key}`;!t.leases&&e.parts.get(n)===t&&e.parts.delete(n)}e.released=[]}function Ky(e,t=e.props,n=e.store.get()){let r=Aa(e),i=Zc(e,t),o=r.attrs?.(n,i),s=r.role,a=typeof s=="function"?s(n,i):s;Gn&&(e.slot,cd(e).label,e.id,r.live?.read(n,i),void 0);let{name:l}=cd(e),c={"data-slot":e.slot==="root"?l:`${l}-${e.slot}`,...s===void 0?void 0:{role:a},...o};return s!==void 0&&(c.role=a),J3e(e,c)}function A7(e,t){let n;for(let r in e)e[r]!==void 0&&Y3e.has(r)&&t(r)&&((n??={...e})[r]=void 0);return n??e}function M7(e,t=e.props,n=e.store.get()){return Aa(e).state?.(n,Zc(e,t))??{}}function T7(e,t=e.props,n=e.store.get()){return Aa(e).present?.(n,Zc(e,t))??!0}function E7(e,t,n=e.props){let r=Aa(e).selects?.reading(e,n),i=["#keys"];for(let o in t){let s=r?.get(o);if(!s)i.push(o);else for(let a of s)i.push(`${o}:${a}`)}return i}function I7(e={},t={},n){let r=!1;for(let i in e)i in t||(r=!0);for(let i in t){if(!(i in e))r=!0;else if(jo(e[i],t[i]))continue;n(i),Wy(e[i],t[i],o=>n(`${i}:${o}`))}r&&n("#keys")}function R7(e,t,n=e.props){let r=Aa(e).selects,i=[FX(e),r?r.subscribe(e,t,n):T_(e.store,X3e,t)];return()=>i.forEach(o=>o())}function Gy(e){let{on:t,press:n}=Aa(e),r={};for(let i in t){let o=t[i];r[i]=s=>{s.defaultPrevented||rEe(s)||(cd(e).sleeping?.wake(),o(s,LX(e)))}}return typeof n=="function"&&!r.click&&(r.click=i=>{i.defaultPrevented||(cd(e).sleeping?.wake(),n(LX(e),i))}),r}function VX(e){e.propsListeners?.forEach(t=>t())}function jX(e,t){let n=e.propsListeners??=new Set;return n.add(t),()=>{n.delete(t)}}function Z3e(e){let t=Aa(e),n=PX.get(t);return n===void 0&&(n=!!t.attrs&&"hidden"in t.attrs(e.store.get(),Zc(e,e.props)),PX.set(t,n)),n}function qX(e,t,n={by:"core"}){let r=e,{parts:i}=r.owner,o=`${e.slot}:${e.key}`;if(!e.el&&(i.get(o)??r)===r&&(i.delete(o),i.set(o,r)),Gn){WX(e,e.el,t);let{focus:d}=Aa(e);typeof d=="function"&&d(e.store.get(),Zc(e,e.props)),e.slot,cd(e).label,e.id}let s={};e.el=t,r.binding=s;let a=[FX(r)];Z3e(e)&&w7(t.ownerDocument);for(let[d,h]of Object.entries(Gy(e)))(n.by==="core"||n.attaches!=="all"&&!n.attaches.includes(d))&&a.push($n(t,d,h));let l=Aa(e);l.live&&a.push(l.live.attach(e,t)),n.by==="framework"&&l.direct&&a.push(l.direct.attach(e,t));let c=l.asleep?.(t,e);c&&a.push(c);let u=()=>{let d=l.bind?.(t,e);d&&a.push(d)},{sleeping:f}=r.owner;return f&&l.bind?(f.binds.add(u),a.push(()=>f.binds.delete(u))):u(),l.attrs&&typeof MutationObserver<"u"&&a.push(eEe(r,t)),()=>{a.forEach(d=>d()),r.binding===s&&(e.el=r.binding=void 0,r.own!==void 0&&C7(r))}}function WX(e,t,n){!e.key||!t||t===n||queueMicrotask(()=>{if(e.el!==n||!t.isConnected||!n.isConnected)return;let{parts:r,label:i}=cd(e);for(let o of r.values())if(o.el===t)return;`${e.slot}${e.key}`,e.id})}function R_(e,t){let n=e;if(n.ref)return n.ref;let r=null,i=()=>{};return n.ref=o=>{o!==r&&(Gn&&o&&WX(e,r,o),i(),r=o,i=o?qX(e,o,t):()=>{})}}function J3e(e,t){let{owner:n}=e;if(!n.named?.size||!BX.some(o=>t[o]))return t;let r=Q3e(n,e.store);if(!r.size)return t;let i={...t};for(let o of BX){let s=i[o];s&&(i[o]=s.split(" ").map(a=>r.get(a)??a).join(" "))}return i}function Q3e(e,t){let n=k7(t);if(e.aliases?.version===n)return e.aliases.map;let r=new Map;for(let i of e.named){let o=UX(i);o!==void 0&&o!==i.own&&r.set(o,i.own)}return e.aliases={version:n,map:r},r}function eEe(e,t){(t.hasAttribute("id")||e.own!==void 0)&&C7(e);let n=new MutationObserver(()=>C7(e));return n.observe(t,{attributeFilter:["id"]}),()=>n.disconnect()}function C7(e){let{owner:t}=e;t.unread||(t.unread=new Set,C_(()=>tEe(t,e.store))),t.unread.add(e)}function tEe(e,t){let n=e.unread;e.unread=void 0;let r=e.renamed===!0;e.renamed=void 0;for(let i of n)r=KX(i,i.el&&nEe(i.el))||r;r&&IX(t)}function N7(e,t){e.el||typeof t!="string"||!Aa(e).attrs||KX(e,t)&&(cd(e).renamed=!0)}function KX(e,t){let n=UX(e),r=t&&t!==n?t:void 0;if(r===e.own)return!1;let{owner:i}=e;return e.own=r,i.named??=new Set,r===void 0?i.named.delete(e):i.named.add(e),i.aliases=void 0,n!==void 0}function rEe(e){return(e.type==="keydown"||e.type==="keyup")&&Om(e)}var cd,Aa,Zc,LX,Y3e,$7,X3e,PX,BX,UX,nEe,Uy=mr(()=>{m7();il();Xc();qs();_7();yh();cd=e=>e.owner,Aa=e=>cd(e).slots[e.slot],Zc=(e,t)=>({id:e.id,key:e.key,props:t,api:e.api}),LX=(e,t=e.props)=>({el:e.el,id:e.id,key:e.key,props:t,store:e.store,api:e.api});Y3e=new Set(["aria-label","aria-labelledby","aria-description","title","autocomplete","autocapitalize","autocorrect","spellcheck","inputmode","enterkeyhint"]);$7=(e,t=e.props)=>Aa(e).selects?.selection(e,t)??"";X3e={};PX=new WeakMap;BX=["aria-activedescendant","aria-controls","aria-describedby","aria-details","aria-errormessage","aria-flowto","aria-labelledby","aria-owns","for","headers"],UX=e=>Aa(e).attrs?.(e.store.get(),Zc(e,{...e.props,id:void 0})).id;nEe=e=>e.localName==="form"?e.getAttribute("id"):e.id});function N_(){return Co&&(/iP(hone|ad|od)/.test(navigator.platform)||navigator.platform==="MacIntel"&&navigator.maxTouchPoints>1)}function ud(e){return!!e&&Co&&getComputedStyle(e).direction==="rtl"}var Co,rc=mr(()=>{Co=typeof window<"u"&&typeof document<"u"});function sEe(e,t,n){let r=Math.max(0,t.layoutHeight-t.offsetTop-t.height);return Math.abs(t.height-t.layoutHeight)<=1&&JX.set(e,t.scale),n>0?Math.round(Math.min(n,r)):t.scale>(JX.get(e)??1)+.01?0:Math.round(r)}function QX(e,t){let n=e.ownerDocument.defaultView,r=n?.visualViewport;if(!n||!r)return()=>{};let i=null,o=l=>{let c=sEe(n,l,0),u=i!==null&&c!==i;i=c,u&&t?.before(),e.style.setProperty("--keyboard-inset",`${c}px`),e.style.setProperty("--visual-viewport-height",`${Math.round(l.height)}px`),c>0?e.setAttribute("data-keyboard",""):e.removeAttribute("data-keyboard"),u&&t?.after()},s=cEe.get(n);o(s&&s.layoutHeight-s.offsetTop-s.height<=1?s:eZ(n,r));let a=lEe(n,r,o);return()=>{a(),e.style.removeProperty("--keyboard-inset"),e.style.removeProperty("--visual-viewport-height"),e.removeAttribute("data-keyboard")}}function eZ(e,t){return{width:t.width,layoutHeight:e.innerHeight,height:t.height,offsetTop:t.offsetTop,scale:t.scale}}function aEe(e,t){let n=new Set,r=s=>{let a=eZ(e,t);for(let l of n)l(a,s)};t.addEventListener("resize",r),t.addEventListener("scroll",r);let o={followers:n,stop:()=>{t.removeEventListener("resize",r),t.removeEventListener("scroll",r),O7.delete(t)}};return O7.set(t,o),o}function lEe(e,t,n){let{followers:r,stop:i}=O7.get(t)??aEe(e,t);return r.add(n),()=>{r.delete(n)&&!r.size&&i()}}var JX,O7,cEe,tZ=mr(()=>{JX=new WeakMap;O7=new WeakMap;cEe=new WeakMap});var AZ={};QC(AZ,{announce:()=>LEe,prepareAnnouncements:()=>DEe,setAnnouncer:()=>OEe});function OEe(e){F_=e}function U7(e,t){let n=_Z.get(e);n||_Z.set(e,n={});let r=n[t];if(r?.isConnected)return r;let i=e.createElement("div");return i.setAttribute("role",t==="assertive"?"alert":"status"),i.setAttribute("aria-live",t),i.setAttribute("aria-atomic","true"),i.setAttribute("data-ui-sdk-announcer",t==="assertive"?"assertive":""),i.style.cssText="position:fixed;width:1px;height:1px;margin:-1px;padding:0;border:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap",e.body.append(i),n[t]=i,i}function DEe(e){F_||!e.body||(U7(e,"polite"),U7(e,"assertive"))}function LEe(e,{priority:t="polite",doc:n=typeof document>"u"?void 0:document}={}){if(!e)return;if(F_)return F_(e,t);if(!n?.body)return;let r=U7(n,t);r.textContent="",clearTimeout(CZ[t]),CZ[t]=setTimeout(()=>{r.textContent=e},100)}var _Z,F_,CZ,MZ=mr(()=>{_Z=new WeakMap,CZ={}});function IZ(e,t=!1,n){let r=e.defaultView??window,i=c=>n===void 0||!("pointerId"in c)||c.pointerId===n,o=c=>{i(c)&&(c.preventDefault(),c.stopPropagation(),e.removeEventListener("click",o,!0))},s=()=>{e.removeEventListener("click",o,!0),e.removeEventListener("pointerdown",a,!0),e.removeEventListener("pointerup",l,!0),e.removeEventListener("pointercancel",l,!0)},a=c=>i(c)&&s(),l=c=>i(c)&&r.setTimeout(s);if(e.addEventListener("click",o,!0),e.addEventListener("pointerdown",a,!0),!t)return r.setTimeout(s);e.addEventListener("pointerup",l,!0),e.addEventListener("pointercancel",l,!0)}var PEe,H_,RZ=mr(()=>{PEe=new WeakSet,H_=e=>PEe.has(e)});function Bm(e,t){z_.get(e)?.();let n=e.getAnimations?.({subtree:!0}).filter(NZ),r=n?.every(a=>X7(a)!==e);if(e.setAttribute("data-starting-style",""),n&&r)for(let a of e.getAnimations({subtree:!0}))NZ(a)&&!n.some(l=>BEe(a,l))&&a.finish();let i,o,s=requestAnimationFrame(()=>o=setTimeout(()=>{e.removeAttribute("data-starting-style"),t&&(i=LZ(e,t))}));return()=>{cancelAnimationFrame(s),clearTimeout(o),i?.(),e.removeAttribute("data-starting-style")}}function OZ(e){return e.split(",").map(t=>{let n=parseFloat(t)||0;return t.trim().endsWith("ms")?n/1e3:n})}function FEe(e){return Math.max(DZ(getComputedStyle(e)),DZ(getComputedStyle(e,"::backdrop")))}function DZ(e){let t=(n,r,i="1")=>{let o=OZ(n),s=OZ(r),a=i.split(",").map(l=>l.trim()==="infinite"?1:parseFloat(l)||1);return o.map((l,c)=>(l*(a[c%a.length]??1)+(s[c%s.length]??0))*1e3)};return Math.max(0,...t(e.transitionDuration,e.transitionDelay),...t(e.animationDuration,e.animationDelay,e.animationIterationCount))}function HEe(e){let t=0;for(let n of e){let r=n.effect?.getComputedTiming(),i=Number(r?.endTime);!r||!Number.isFinite(i)||(t=Math.max(t,i-(Number(r.localTime)||0)))}return t}function LZ(e,t){let n=!1,r=e.getAnimations({subtree:!0}).filter(zEe),i=()=>{n||(n=!0,clearTimeout(o),t())},o=r.length?setTimeout(i,Math.max(FEe(e),HEe(r))+50):void 0;return r.length?Promise.allSettled(r.map(s=>s.finished)).then(i):aX(i),()=>{n=!0,clearTimeout(o)}}function Z7(e,t){e.toggleAttribute("data-open",t),e.toggleAttribute("data-closed",!t)}function PZ(e,t){z_.get(e)?.(),e.removeAttribute("data-starting-style"),e.setAttribute("data-ending-style","");let n=e.hasAttribute("inert");e.setAttribute("inert","");let r=e.ownerDocument?.defaultView?.MutationObserver,i=!1,o=r&&new r(()=>i=!0);o?.observe(e,{attributeFilter:["inert"]});let s=0,a=()=>{cancelAnimationFrame(s),z_.delete(e),e.removeAttribute("data-ending-style"),i||=!!o?.takeRecords().length,o?.disconnect(),i||e.toggleAttribute("inert",n)},l=!1,c=LZ(e,()=>{if(!l)return a(),t();z_.set(e,a),s=requestAnimationFrame(()=>{s=requestAnimationFrame(a)}),t()});return l=!0,()=>{c(),a()}}var z_,NZ,X7,BEe,zEe,J7=mr(()=>{il();z_=new WeakMap;NZ=e=>"transitionProperty"in e,X7=e=>e.effect?.target,BEe=(e,t)=>X7(e)===X7(t)&&e.transitionProperty===t.transitionProperty;zEe=e=>!e.timeline||!("source"in e.timeline)});function o6(e,t,n=i6){return e<=0?0:(1-1/(e*n/t+1))*t}function j_(e,t,n=i6){return e<=0?0:(1/(1-Math.min(e/t,.999999))-1)*t/n}function YZ(e,t,n=i6){if(e<=0)return 1;let r=e*n/t+1;return n/(r*r)}var i6,XZ=mr(()=>{i6=.55});function UEe(e,t,n=0,r=e.length){let i=r-n;if(i<2)return 0;let o=e[r-1];if(i<4)return ZZ(e,t,n,r);let s=0,a=0,l=0,c=0,u=0,f=0,d=0,h=0;for(let y=n;y<r;y++){let g=e[y]-o,x=t[y],w=g*g;s+=1,a+=g,l+=w,c+=w*g,u+=w*w,f+=x,d+=x*g,h+=x*w}let p=s*(l*u-c*c)-a*(a*u-c*l)+l*(a*c-l*l);return Math.abs(p)<1e-9?ZZ(e,t,n,r):(s*(d*u-c*h)-f*(a*u-c*l)+l*(a*h-d*l))/p}function ZZ(e,t,n,r){let i=0,o=0,s=r-n;for(let c=n;c<r;c++)i+=e[c]/s,o+=t[c]/s;let a=0,l=0;for(let c=n;c<r;c++){let u=e[c]-i;a+=u*(t[c]-o),l+=u*u}return l>0?a/l:0}function JZ(e={}){let{horizon:t,staleAfter:n,maxSpeed:r,capacity:i}={...WEe,...e},o=new Float64Array(i),s=new Float64Array(i),a=new Float64Array(i),l=new Float64Array(i),c=0,u=-1;function f(p,m){c>0&&p<=o[u]||(u=(u+1)%i,o[u]=p,s[u]=m,c=Math.min(c+1,i))}function d(p){if(c<2)return 0;let m=o[u];if(p-m>n)return 0;let y=0;for(let x=c-1;x>=0;x--){let w=(u-x+i)%i;m-o[w]>t||(a[y]=o[w],l[y]=s[w],y++)}let g=UEe(a,l,0,y);return Math.max(-r,Math.min(r,g))}function h(){c=0,u=-1}return{add:f,velocity:d,reset:h}}var WEe,QZ=mr(()=>{WEe={horizon:70,staleAfter:40,maxSpeed:8,capacity:20}});function KEe(e,t){return e*t/(1-t)}function s6(e){let{extent:t,velocity:n,candidates:r}=e;if(Math.abs(n)<e.minFlingVelocity)return Qc(r,t);let i=t+KEe(n,e.rate),o=GEe(r,t,Math.sign(n)),s=Qc(r,i);return(n>0?r[s]<=t+.5:r[s]>=t-.5)&&o!==-1&&(s=o),!e.skipSnapPoints&&o!==-1&&(s=n>0?Math.min(s,o):Math.max(s,o)),s}function Qc(e,t){let n=0;for(let r=1;r<e.length;r++)Math.abs(e[r]-t)<Math.abs(e[n]-t)&&(n=r);return n}function GEe(e,t,n){if(n>0)return e.findIndex(r=>r>t+.5);for(let r=e.length-1;r>=0;r--)if(e[r]<t-.5)return r;return-1}var q_=mr(()=>{});function eb(e,t=!1){return e==="start"?t?"right":"left":e==="end"?t?"left":"right":e}var W_,U_=mr(()=>{W_={top:"bottom",bottom:"top",left:"right",right:"left"}});function Q_(e){return e.towardMore?!e.atLargest&&e.expandOnScroll?"sheet":"scroll":e.scrollAtStart?"sheet":"scroll"}var w6=mr(()=>{});function Wm(e,t,n,r){let i=2*Math.PI/(e*1e3),o=t;return Math.abs(o-1)<1e-6?B4e(i,n,r):o<1?P4e(i,o,n,r):F4e(i,o,n,r)}function P4e(e,t,n,r){let i=t*e,o=e*Math.sqrt(1-t*t),s=(r+i*n)/o;return{position:a=>Math.exp(-i*a)*(n*Math.cos(o*a)+s*Math.sin(o*a)),velocity:a=>{let l=Math.cos(o*a),c=Math.sin(o*a);return Math.exp(-i*a)*((s*o-i*n)*l-(n*o+i*s)*c)}}}function B4e(e,t,n){let r=n+e*t;return{position:i=>Math.exp(-e*i)*(t+r*i),velocity:i=>Math.exp(-e*i)*(r-e*(t+r*i))}}function F4e(e,t,n,r){let i=Math.sqrt(t*t-1),o=-e*(t+i),s=-e*(t-i),a=(r-o*n)/(s-o),l=n-a;return{position:c=>a*Math.exp(s*c)+l*Math.exp(o*c),velocity:c=>a*s*Math.exp(s*c)+l*o*Math.exp(o*c)}}function eC(e,{positionTolerance:t=.5,velocityTolerance:n=.02,step:r=1,limit:i=1e4}={}){for(let o=0;o<=i;o+=r)if(Math.abs(e.position(o))<=t&&Math.abs(e.velocity(o))<=n)return o;return i}function tC(e,t,n,r,i=1e3/120){let o=n-t;if(Math.abs(o)<1e-6)return"linear";let s=[];for(let a=0;a<r;a+=i)s.push(H4e(1+e.position(a)/o));return s.push("1"),`linear(${s.join(", ")})`}function H4e(e){return String(Math.round(e*1e4)/1e4)}var nC=mr(()=>{});function Ao(e,t){return{phase:"idle",extent:e,restingIndex:t}}function rC(e,t,n){switch(t.type){case"down":return V4e(e,t,n);case"move":return j4e(e,t,n);case"up":return U4e(e,t,n);case"settled":return K4e(e);case"rest":return G4e(e,t,n);case"snap-to":return Y4e(e,t,n);case"nudge":return X4e(e,t,n);case"close":return xh(e,n,{targetIndex:-1,motion:x6(e,t.time),time:t.time,reason:"imperative",outcome:{type:"dismiss",reason:"imperative"}})}}function x6(e,t){if(e.phase!=="settling")return{extent:e.extent,velocity:0};let n=Wm(e.response,e.dampingRatio,e.from-e.to,e.velocity),r=Math.max(0,t-e.startTime);return{extent:e.to+n.position(r),velocity:n.velocity(r)}}function V4e(e,t,n){let r=t.pointer==="mouse"?n.physics.mouseSlop:n.physics.touchSlop;if(e.phase==="idle"&&e.restingIndex>=0)return{state:{...e,phase:"pending",originX:t.x,originY:t.y,slop:r},effects:Ma};if(e.phase!=="settling")return{state:e,effects:Ma};let{extent:i}=x6(e,t.time);return{state:{phase:"dragging",extent:i,restingIndex:e.restingIndex,anchorY:t.y,anchorExtent:Z4e(i,n),lastY:t.y,isScrollingContent:!1},effects:[{type:"move",extent:i}]}}function j4e(e,t,n){return e.phase==="pending"?q4e(e,t,n):e.phase==="scrolling"&&n.contentScroll?n.contentScroll.move(e,t):e.phase==="dragging"?W4e(e,t,n):{state:e,effects:Ma}}function q4e(e,t,n){let r=t.x-e.originX,i=t.y-e.originY;if(Math.max(Math.abs(r),Math.abs(i))<e.slop)return{state:e,effects:Ma};if(Math.abs(r)>Math.abs(i))return{state:Ao(e.extent,e.restingIndex),effects:Ma};let o=n.contentScroll?.claim(e,t,i<0,n);if(o)return{state:o,effects:Ma};let s={...v6(e,e.originY+Math.sign(i)*e.slop),lastY:t.y},a=qJ(s.anchorExtent+(s.anchorY-t.y),n);return{state:{...s,extent:a},effects:[{type:"move",extent:a}]}}function v6(e,t){return{phase:"dragging",extent:e.extent,restingIndex:e.restingIndex,anchorY:t,anchorExtent:e.extent,lastY:t,isScrollingContent:!1}}function W4e(e,t,n){let r=e.lastY-t.y,i=e.isScrollingContent?{anchorY:e.lastY,anchorExtent:e.extent}:e,o=i.anchorExtent+(i.anchorY-t.y),s=n.contentScroll?.drag(e,t,r,o,n);if(s)return s;let a=qJ(o,n);return{state:{...e,anchorY:i.anchorY,anchorExtent:i.anchorExtent,extent:a,lastY:t.y,isScrollingContent:!1},effects:[{type:"move",extent:a}]}}function U4e(e,t,n){if(e.phase==="pending"||e.phase==="scrolling")return{state:Ao(e.extent,e.restingIndex),effects:Ma};if(e.phase!=="dragging")return{state:e,effects:Ma};let r=n.contentScroll?.release(e,t,n);if(r)return r;let i=-t.velocity*J4e(e.extent,n),o=[0,...WJ(n)],s=n.physics,a={candidates:o,rate:s.projectionRate,minFlingVelocity:s.minFlingVelocity,skipSnapPoints:s.skipSnapPoints},l=s6({...a,extent:e.extent,velocity:i}),c={motion:{extent:e.extent,velocity:i},time:t.time,reason:"swipe"};if(n.dismissible)return l>0?xh(e,n,{...c,targetIndex:l-1}):xh(e,n,{...c,targetIndex:-1,outcome:{type:"dismiss",reason:"swipe"}});let u=e.anchorExtent+(e.anchorY-e.lastY),f=s6({...a,extent:u,velocity:-t.velocity})===0,d=Math.max(0,l-1);return f?xh(e,n,{...c,targetIndex:0,outcome:{type:"attempt-dismiss",reason:"swipe"}}):xh(e,n,{...c,targetIndex:d})}function K4e(e){return e.phase!=="settling"?{state:e,effects:Ma}:{state:Ao(e.to,e.targetIndex),effects:Ma}}function G4e(e,t,n){if(t.extent<1&&n.dismissible)return{state:Ao(0,-1),effects:[{type:"dismiss",reason:"swipe"}]};let r=Qc(WJ(n),t.extent),i=r===e.restingIndex?[]:[{type:"snap",id:n.snapPoints[r].id,reason:"swipe"}];return{state:Ao(t.extent,r),effects:i}}function Y4e(e,t,n){let r=n.snapPoints.findIndex(i=>i.id===t.id);return r===-1||e.phase==="dragging"?{state:e,effects:Ma}:xh(e,n,{targetIndex:r,motion:x6(e,t.time),time:t.time,reason:t.reason})}function X4e(e,t,n){return e.phase!=="idle"||e.restingIndex<0?{state:e,effects:Ma}:xh(e,n,{targetIndex:e.restingIndex,motion:{extent:e.extent,velocity:-z4e},time:t.time,reason:"imperative"})}function xh(e,t,n){let{targetIndex:r,motion:i,time:o,reason:s}=n,a=t.physics,l=r<0?0:t.snapPoints[r].extent,u=Math.abs(i.velocity)>=a.minFlingVelocity?a.momentumDampingRatio:a.dampingRatio,f={phase:"settling",extent:i.extent,restingIndex:e.restingIndex,targetIndex:r,from:i.extent,to:l,velocity:i.velocity,response:a.response,dampingRatio:u,startTime:o},d=[{type:"settle",from:i.extent,to:l,velocity:i.velocity,response:a.response,dampingRatio:u}];return r>=0&&r!==e.restingIndex&&d.push({type:"snap",id:t.snapPoints[r].id,reason:s}),n.outcome&&d.push(n.outcome),{state:f,effects:d}}function qJ(e,t){let n=Um(t),{coefficient:r,dimension:i}=k6(t);if(e>n)return n+o6(e-n,i,r);if(t.dismissible)return Math.max(0,e);let o=t.snapPoints[0].extent;return e<o?o-o6(o-e,i,r):e}function Z4e(e,t){let n=Um(t),{coefficient:r,dimension:i}=k6(t);if(e>n)return n+j_(e-n,i,r);let o=t.snapPoints[0].extent;return!t.dismissible&&e<o?o-j_(o-e,i,r):e}function k6(e){return{coefficient:e.physics.rubberBand,dimension:e.physics.rubberBandDimension??e.dimension}}function J4e(e,t){let{coefficient:n,dimension:r}=k6(t),i=Um(t),o=t.snapPoints[0].extent,s=e>i?e-i:!t.dismissible&&e<o?o-e:0;return s<=0?1:YZ(j_(s,r,n),r,n)}function Um(e){return e.snapPoints[e.snapPoints.length-1].extent}function WJ(e){return e.snapPoints.map(t=>t.extent)}var Ma,z4e,iC=mr(()=>{q_();XZ();nC();Ma=[],z4e=1});var UJ,KJ,GJ=mr(()=>{w6();iC();UJ=[],KJ={claim(e,t,n,r){if(!(!t.scroll||Q_({towardMore:n,scrollAtStart:t.scroll.atStart,atLargest:e.extent>=Um(r)-.5,expandOnScroll:r.expandOnScroll})!=="scroll"))return{phase:"scrolling",extent:e.extent,restingIndex:e.restingIndex,lastY:t.y}},move(e,t){return t.y>e.lastY&&t.scroll?.atStart?{state:v6(e,t.y),effects:UJ}:{state:{...e,lastY:t.y},effects:UJ}},drag(e,t,n,r,i){let o=t.scroll;if(!o)return;if(e.isScrollingContent&&(n>0?!o.atEnd:!o.atStart)){let c=[{type:"scroll",delta:n}];return{state:{...e,lastY:t.y},effects:c}}let s=Um(i);if(!(n>0&&r>s&&e.extent<=s&&!o.atEnd))return;let a=[{type:"scroll",delta:r-s}];return e.extent!==s&&a.unshift({type:"move",extent:s}),{state:{...e,extent:s,anchorY:t.y,anchorExtent:s,lastY:t.y,isScrollingContent:!0},effects:a}},release(e,t,n){if(!e.isScrollingContent)return;let r=n.snapPoints.length-1,i=[{type:"fling-scroll",velocity:-t.velocity}];return e.restingIndex!==r&&i.push({type:"snap",id:n.snapPoints[r].id,reason:"swipe"}),{state:Ao(e.extent,r),effects:i}}}});var oC,YJ=mr(()=>{oC={ios:{response:.34,dampingRatio:1,momentumDampingRatio:.88,projectionRate:.99,minFlingVelocity:.5,skipSnapPoints:!0,rubberBand:1.9,rubberBandDimension:24,touchSlop:8,mouseSlop:4,dim:.2,velocityHorizon:70}}});function Q4e(e){return String(e)}function e5e(e,t){if(typeof e=="number")return e<=1?e*t.container:e;if(e==="content")return t.content;let n=parseFloat(e);return e.endsWith("rem")?n*t.rootFontSize:e.endsWith("%")?n/100*t.container:e.endsWith("px")?n:NaN}function XJ(e,t){let n=e.map((i,o)=>({value:i,index:o,extent:Math.min(e5e(i,t),t.content)})).filter(i=>i.extent>0).sort((i,o)=>i.extent-o.extent||i.index-o.index),r=[];for(let i of n){let o=Q4e(i.value),s=r[r.length-1];if(s&&i.extent-s.extent<1){s.ids.push(o),i.index>s.index&&Object.assign(s,{id:o,value:i.value,index:i.index}),s.extent=Math.max(s.extent,i.extent);continue}r.push({id:o,value:i.value,extent:Math.round(i.extent*100)/100,ids:[o],index:i.index})}return r.map(({index:i,...o})=>o)}function vh(e,t){if(t==null)return-1;let n=String(t);return e.findIndex(r=>r.ids.includes(n))}function ZJ(e,t,n){let r=vh(e,n),i=vh(e,t);return r>=0&&i>=0&&i<=r}var JJ=mr(()=>{});function S6(e,t){return eb(e,e==="start"||e==="end"?ud(t):!1)}function kh(e,t,n,r){let i=tu(e);return r.y=(i?n:t)*QJ(e),r.x=i?t:n,r}function tb(e,t){let n=`${Math.round(t*QJ(e)*100)/100}px`;return tu(e)?`0 ${n}`:`${n} 0`}function eQ(e,t){return tu(t)?e.offsetHeight:e.offsetWidth}function tQ(e,t,n){let r=_6(e,t,n);if(!r)return null;let{start:i,end:o}=n5e(r,n);return{atStart:i,atEnd:o,area:r}}function _6(e,t,n){let r=t.ownerDocument.defaultView;if(!r||!(e instanceof Element)||!t.contains(e))return null;let i=tu(n);for(let o=e;o&&o!==t.parentElement;o=o.parentElement){if(!(i?o.scrollHeight>o.clientHeight+1:o.scrollWidth>o.clientWidth+1)||!(o instanceof HTMLElement))continue;let a=i?r.getComputedStyle(o).overflowY:r.getComputedStyle(o).overflowX;if(/auto|scroll/.test(a))return o}return null}function t5e(e,t){if(tu(t)){let o=e.scrollHeight-e.clientHeight;return{position:t==="bottom"?e.scrollTop:o-e.scrollTop,max:o}}let n=e.scrollWidth-e.clientWidth,r=Math.abs(e.scrollLeft),i=ud(e)?n-r:r;return{position:t==="right"?i:n-i,max:n}}function n5e(e,t){let{position:n,max:r}=t5e(e,t);return{start:n<=.5,end:n>=r-1}}function C6(e,t,n){if(tu(t))e.scrollTop+=t==="bottom"?n:-n;else{let r=t==="right"?n:-n;e.scrollLeft+=ud(e)?-r:r}}var tu,QJ,A6=mr(()=>{rc();U_();tu=e=>e==="bottom"||e==="top",QJ=e=>e==="bottom"||e==="right"?1:-1});function aC(e,t){e.requestAnimationFrame(()=>e.requestAnimationFrame(t))}function lC(e){return e==="bottom"?-hd:-32}function cC(e,t){let n=[];for(let r=0;r<e.duration;r+=1e3/60)n.push(t(e.extentAt(r)));return n.push(t(e.extentAt(e.duration))),n}function Sh(e,t){let n=Object.entries(t).map(([r,i])=>sd(e,r,i));return()=>n.forEach(r=>r())}var sC,hd,nQ,rQ,uC=mr(()=>{Xc();sC=1e3;hd=120;nQ=200,rQ=150});function iQ(e,t,n=-1){let r=n<0?0:t[n],i=n<0?t[0]:t[n+1];return i===void 0||i<=r?e>r?1:0:M6((e-r)/(i-r))}function oQ(e,t){let n=t[t.length-1],r=t.length>1?t[t.length-2]:0;return n<=r?e>=n?1:0:M6((e-r)/(n-r))}function sQ(e,t){let n=t[t.length-1];return n>0?M6(e/n):0}var M6,aQ=mr(()=>{M6=e=>Math.max(0,Math.min(1,e))});function fQ(e){let t=e.defaultView?.CSS;if(!($6.has(e)||!t?.registerProperty)){$6.add(e);for(let n of T6)try{t.registerProperty({name:n,syntax:"<number>",inherits:!1,initialValue:"0"})}catch{}}}function hQ(){typeof document<"u"&&!$6.has(document)&&Vy(()=>fQ(document))}function pQ(e){fQ(e.sheet.ownerDocument);let t=[1],n=-1,r=[],i=new Map,o={dim:0,progress:0,expand:0},s;function a(P){t=P.snapExtents.length?P.snapExtents:[1],n=P.undimmedIndex}function l(P,N=o){return N.dim=dC(iQ(P,t,n)),N.progress=dC(sQ(P,t)),N.expand=dC(oQ(P,t)),N}let c=!1;function u(P,{rest:N=!1}={}){if(!c){$(),l(P),f(o.dim),p(e.sheet,o),h(o.progress);for(let _ of e.outlets())p(_.el,o),_.keyframes&&m(_,o.expand,N);N&&e.themeColor?.(o.dim)}}function f(P){let N=e.backdrop();N&&(N.style.opacity=String(P));let _=d();_&&(_.currentTime=P*1e3)}function d(){return!e.dimmed||s||(s=e.dimmed.animate({opacity:[0,1]},{...cQ,duration:1e3,fill:"both"}),s.pause(),s.currentTime=0),s}function h(P){let N=e.ancestors();for(let _=0;_<N.length;_++)N[_].style.setProperty("--drawer-stack",String(_+P))}function p(P,{dim:N,progress:_,expand:Z}){P.style.setProperty("--drawer-progress",String(_)),P.style.setProperty("--drawer-dim",String(N)),P.style.setProperty("--drawer-expand",String(Z))}function m(P,N,_){let Z=i.get(P.el);Z||(Z=P.el.animate(uQ(P.keyframes),{duration:1e3,fill:"both"}),Z.pause(),i.set(P.el,Z)),Z.currentTime=N*1e3,_&&(Z.commitStyles?.(),Z.cancel(),i.delete(P.el))}function y(P){if(c)return;if($(),C(),!nb())return u(P.type==="settle"?P.extentAt(P.duration):0,{rest:!0});let N=w(P);d();let _=P.type==="settle"?{duration:Math.max(1,P.duration),fill:"both"}:{timeline:P.timeline,fill:"both"},Z=(B,D,M,S)=>{let E=B.animate(D,{..._,...S,easing:r5e(M)});P.type==="settle"&&(E.startTime=P.startTime),r.push(E)},ue=e.backdrop();ue&&Z(ue,{opacity:[0,1]},N.dim),e.dimmed&&Z(e.dimmed,{opacity:[0,1]},N.dim,cQ),g(e.sheet,N,Z),e.ancestors().forEach((B,D)=>Z(B,{"--drawer-stack":[D,D+1]},N.progress));for(let B of e.outlets())g(B.el,N,Z),B.keyframes&&Z(B.el,uQ(B.keyframes),N.expand);if(P.type!=="settle")return;let J=P.extentAt(P.duration);x(J);let U=r;U[0]&&(U[0].onfinish=()=>r===U&&$())}function g(P,N,_){_(P,{"--drawer-progress":[0,1]},N.progress),_(P,{"--drawer-dim":[0,1]},N.dim),_(P,{"--drawer-expand":[0,1]},N.expand)}function x(P){let N=l(P,{dim:0,progress:0,expand:0});f(N.dim),p(e.sheet,N),h(N.progress);for(let _ of e.outlets())if(p(_.el,N),!!_.keyframes)for(let[Z,ue]of Object.entries(_.keyframes)){let J=ue[N.expand>=.5?ue.length-1:0];_.el.style.setProperty(dQ(Z),String(J))}e.themeColor?.(N.dim)}function w(P){let N={dim:[],progress:[],expand:[]},_={dim:0,progress:0,expand:0},Z=P.type==="settle"?Math.max(2,Math.ceil(P.duration/lQ)+1):61;for(let ue=0;ue<Z;ue++){let J=ue/(Z-1),U=P.type==="settle"?P.extentAt(Math.min(P.duration,ue*lQ)):P.extentAt(J);l(U,_),N.dim.push(_.dim),N.progress.push(_.progress),N.expand.push(_.expand)}return N}function k(P){for(let N of r)N.startTime=P}function $(){if(r.length){for(let P of r)P.cancel();r=[]}}function C(){for(let P of i.values())P.cancel();i.clear()}function L(){c=!0,$(),C(),e.backdrop()?.style.removeProperty("opacity"),s?.cancel();for(let P of T6.slice(0,3))e.sheet.style.removeProperty(P);for(let P of e.outlets()){for(let N of T6.slice(0,3))P.el.style.removeProperty(N);for(let N of Object.keys(P.keyframes??{}))P.el.style.removeProperty(dQ(N))}}return{configure:a,compute:l,apply:u,play:y,sync:k,follow:y,stop:$,destroy:L}}function r5e(e){return`linear(${e.map(dC).join(", ")})`}function dQ(e){return e.startsWith("--")?e:e.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}var lQ,T6,$6,nb,dC,cQ,uQ,rb=mr(()=>{aQ();Xc();lQ=1e3/60,T6=["--drawer-progress","--drawer-dim","--drawer-expand","--drawer-stack"],$6=new WeakSet;nb=()=>typeof CSS<"u"&&CSS.supports("animation-timing-function","linear(0, 1)"),dC=e=>Math.round(e*1e4)/1e4;cQ={pseudoElement:"::backdrop"};uQ=e=>e});function mQ(e){let{sheet:t}=e,n=t.ownerDocument,r=n.defaultView??window,i=Ao(0,-1),o=0,s=null,a=0,l=0,c=null,u=null,f=null,d=null,h=null,p=null,m=null,y=!1,g=!1,x=null,w=null,k=null,$={x:0,y:0},C=JZ({horizon:e.config().physics.velocityHorizon}),L=[$n(n,"touchstart",I,{capture:!0,passive:!0}),$n(n,"touchmove",A,{capture:!0,passive:!1}),$n(n,"touchend",j,{capture:!0,passive:!0}),$n(n,"touchcancel",j,{capture:!0,passive:!0}),$n(t,"pointerdown",R)],P=!1;function N(Q){P||(t.style.translate=tb(e.side(),e.size()-Q),o=Q)}function _(Q,ee){if(P)return;let F=rC(i,Q,e.config());i=F.state;let se="time"in Q?Q.time:performance.now();for(let O of F.effects)Z(O,se,ee);let le=i.phase==="dragging";le!==y&&(y=le,e.onDragChange(y))}function Z(Q,ee,F){switch(Q.type){case"move":c?(B(),N(Q.extent),e.onFrame(Q.extent)):(s=Q.extent,M());return;case"settle":return ue(Q,ee);case"scroll":return a+=Q.delta,M();case"fling-scroll":return h&&(d={velocity:Q.velocity,startTime:ee,startScroll:0,area:h}),M();case"snap":return w=Q.id,e.onSnap(Q.id,Q.reason,F);case"dismiss":return Q.reason!=="swipe"?void 0:(f="swipe",e.onDismiss(F));case"attempt-dismiss":return e.onDismissAttempt(F)}}function ue(Q,ee){B(),s=null;let F=e.closedExtent(),se=Q.from<=0?F:Q.from,le=Q.to<=0?F:Q.to,O=e.reducedMotion()&&(se===F||le===F),H=e.reducedMotion()?U(se,le,O):J(se,le,Q);if(N(O?Math.max(le,0):le),Math.abs(le-se)<.5&&Q.velocity===0||H.duration===0)return D();let X=e.size(),re=e.side();c=O?t.animate({opacity:se===F?[0,1]:[1,0]},{duration:H.duration,fill:"both"}):Math.abs(le-se)<1||!nb()?t.animate({translate:cC(H,pe=>tb(re,X-pe))},{duration:H.duration,fill:"backwards"}):t.animate({translate:[tb(re,X-se),tb(re,X-le)]},{duration:H.duration,easing:H.easing,fill:"backwards"}),O&&(u=c);let de=c;c.onfinish=()=>{c===de&&D()},c.startTime=ee,e.onMotion({type:"settle",extentAt:H.extentAt,startTime:ee,duration:H.duration})}function J(Q,ee,F){let se=Wm(F.response,F.dampingRatio,Q-ee,F.velocity),le=eC(se);return{duration:le,easing:tC(se,Q,ee,le),extentAt:O=>ee+se.position(O)}}function U(Q,ee,F){let se=F?rQ:nQ,le=O=>1-(1-O)**3;return{duration:se,easing:"cubic-bezier(0.33, 1, 0.68, 1)",extentAt:O=>Q+(ee-Q)*le(Math.min(1,O/se))}}function B(){c?.cancel(),c=null,u&&(u.cancel(),u=null)}function D(){if(B(),_({type:"settled"}),i.phase==="idle"){if(i.restingIndex<0)return f=null,w=null,e.onRest(null);w=e.config().snapPoints[i.restingIndex].id,e.onRest(w)}}function M(){l||=r.requestAnimationFrame(S)}function S(Q){l=0,a&&h&&(C6(h,e.side(),a),a=0),d&&E(Q),s!==null&&(N(s),s=null,e.onFrame(o))}function E(Q){if(!d)return;let ee=Math.max(0,Q-d.startTime),F=d.velocity*(E6**ee-1)/Math.log(E6);C6(d.area,e.side(),F-d.startScroll),d.startScroll=F,Math.abs(d.velocity*E6**ee)<.01?d=null:M()}function v(Q){return Q instanceof Element&&Q.closest(i5e)!==null}function V(Q){let ee=tQ(Q,t,e.side());return h=ee?.area??null,ee&&{atStart:ee.atStart,atEnd:ee.atEnd}}function I(Q){let ee=x!==null&&H_(x);if(x=null,p||Q.touches.length>1||f||ee||!e.owns(Q.target)||v(Q.target))return;let F=Q.changedTouches[0];p={id:F.identifier,originX:F.clientX,originY:F.clientY},d=null,C.reset(),kh(e.side(),F.clientX,F.clientY,$),C.add(Q.timeStamp,$.y),_({type:"down",time:Q.timeStamp,x:$.x,y:$.y,pointer:"touch"},Q)}function A(Q){let ee=K(Q.changedTouches);if(!ee)return;kh(e.side(),ee.clientX,ee.clientY,$),C.add(Q.timeStamp,$.y);let F=i.phase==="dragging",se=V(Q.target);if(_({type:"move",time:Q.timeStamp,x:$.x,y:$.y,scroll:se},Q),i.phase==="pending")return oe(Q,ee,se);i.phase==="dragging"&&(Q.cancelable?Q.preventDefault():!F&&h&&(h.style.overscrollBehavior="none"))}function oe(Q,ee,F){if(!Q.cancelable||!p)return;let se=kh(e.side(),p.originX,p.originY,{x:0,y:0});if(Math.abs($.y-se.y)<Math.abs($.x-se.x))return;let le=e.config().snapPoints.at(-1)?.extent??0;(F?Q_({towardMore:$.y<se.y,scrollAtStart:F.atStart,atLargest:o>=le-.5,expandOnScroll:e.config().expandOnScroll}):"sheet")==="sheet"&&Q.preventDefault()}function j(Q){if(!K(Q.changedTouches))return;p=null,h&&h.style.removeProperty("overscroll-behavior");let ee=Q.type==="touchcancel"?0:C.velocity(Q.timeStamp);_({type:"up",time:Q.timeStamp,velocity:ee},Q)}function K(Q){if(!p)return null;for(let ee=0;ee<Q.length;ee++)if(Q[ee].identifier===p.id)return Q[ee];return null}function R(Q){if(x=Q,Q.pointerType==="touch"||Q.button!==0||m!==null||f)return;let ee=Q.target;if(!e.owns(ee)||v(ee)||!(ee instanceof Element)||!e.canMouseDrag(ee))return;m=Q.pointerId,g=!1,k=i.phase==="settling"&&i.targetIndex>=0?w:null,d=null,C.reset(),kh(e.side(),Q.clientX,Q.clientY,$),C.add(Q.timeStamp,$.y),q=[$n(n,"pointermove",W,{capture:!0}),$n(n,"pointerup",te,{capture:!0}),$n(n,"pointercancel",te,{capture:!0})];let F=Q.pointerType==="pen"?"pen":"mouse";_({type:"down",time:Q.timeStamp,x:$.x,y:$.y,pointer:F},Q)}let q=[];function W(Q){if(Q.pointerId!==m)return;if(x&&H_(x))return Y(Q,0,k);let ee=Q.getCoalescedEvents?.();for(let F of ee?.length?ee:[Q])C.add(F.timeStamp,kh(e.side(),F.clientX,F.clientY,$).y);if(kh(e.side(),Q.clientX,Q.clientY,$),_({type:"move",time:Q.timeStamp,x:$.x,y:$.y,scroll:V(Q.target)},Q),!(i.phase!=="dragging"||g)){g=!0,n.getSelection()?.removeAllRanges(),t.style.userSelect="none";try{t.setPointerCapture(Q.pointerId)}catch{}}}function te(Q){if(Q.pointerId===m){if(x&&H_(x))return Y(Q,0,k);Y(Q,Q.type==="pointercancel"?0:C.velocity(Q.timeStamp))}}function Y(Q,ee,F=null){m=null,x=null,q.forEach(O=>O()),q=[],t.style.removeProperty("user-select");let se=Q.timeStamp,le=e.config().snapPoints.findIndex(O=>O.id===F);F!==null&&le>=0?(i=Ao(i.extent,le),_({type:"snap-to",time:se,id:F,reason:"imperative"})):_({type:"up",time:se,velocity:ee},Q),g&&IZ(n)}return{open(Q,ee){f=null,w=Q,B();let F=e.config().snapPoints.findIndex(le=>le.id===Q);if(!ee&&F>=0)return i=Ao(e.config().snapPoints[F].extent,F),N(i.extent),e.onRest(Q);i=Ao(0,-1),N(e.closedExtent()),_({type:"snap-to",time:performance.now()+sC,id:Q,reason:"imperative"});let se=c;se&&aC(r,le=>{c!==se||i.phase!=="settling"||(se.startTime=le,i={...i,startTime:le},e.onMotionStart(le))})},close(){let Q=f;f="close",Q||_({type:"close",time:performance.now()})},snapTo(Q,ee){f!=="close"&&(f=null,_({type:"snap-to",time:performance.now(),id:Q,reason:ee}))},nudge(){!f&&!e.reducedMotion()&&_({type:"nudge",time:performance.now()})},relayout(Q,ee){let F=e.config().snapPoints;if(f||w===null||i.phase==="dragging"||i.phase==="pending")return N(o);let se=F.findIndex(re=>re.id===w),le=F.findIndex(re=>re.id===ee),O=se>=0?se:le>=0?le:Qc(F.map(re=>re.extent),o),{id:H,extent:X}=F[O];if(i.phase==="idle"&&(i=Ao(o,se),Q||Math.abs(X-o)<.5))return i=Ao(X,O),N(X),Q?(H!==w&&Z({type:"snap",id:H,reason:"content-resize"},performance.now()),e.onRest(H)):void 0;_({type:"snap-to",time:performance.now(),id:H,reason:"content-resize"})},target:()=>f?null:w,isMoving:()=>i.phase!=="idle",destroy(){P=!0,B(),l&&r.cancelAnimationFrame(l),L.forEach(Q=>Q()),q.forEach(Q=>Q()),y&&e.onDragChange(!1);for(let Q of["translate","user-select","opacity"])t.style.removeProperty(Q)}}}var E6,i5e,gQ=mr(()=>{w6();iC();q_();nC();QZ();qs();RZ();A6();uC();rb();E6=.998,i5e='input, textarea, select, [contenteditable]:not([contenteditable="false"]), [data-drawer-no-drag]'});function bQ(e){let{sheet:t,host:n}=e,r=t.ownerDocument,i=r.defaultView??window,o=Ao(0,-1),s=0,a=[],l=null,c=!1,u=!1,f=!1,d=null,h=0,p=0,m=null,y=new Map,g=null,x=Sh(n,{inset:`0 0 calc(var(--keyboard-inset, 0px) - ${hd}px) 0`,display:"block","overflow-y":"scroll","overflow-x":"hidden","scroll-snap-type":"y mandatory","scrollbar-width":"none","overscroll-behavior":"contain","pointer-events":"auto"}),w=Sh(t,{position:"absolute",left:"0",right:"0"}),k="onscrollend"in n,$=i.ScrollTimeline,C=[$n(n,"scroll",U,{passive:!0}),...k?[$n(n,"scrollend",S)]:[],$n(n,"touchstart",()=>{c=!0,u=!1,l&&!d&&v()},{passive:!0}),$n(n,"touchend",D,{passive:!0}),$n(n,"touchcancel",D,{passive:!0})],L=new IntersectionObserver(E,{root:n,rootMargin:"0px 0px -1px 0px",threshold:0});L.observe(t);let P=()=>e.config().dimension,N=()=>e.config().snapPoints.at(-1)?.extent??0,_=()=>N()+o5e-s,Z=()=>Math.min(n.scrollTop+s,N());function ue(){let R=e.config();s=R.dismissible?-hd:R.snapPoints[0].extent,t.style.top=`${P()-s}px`;for(let te of a)te.remove();let q=R.snapPoints.map(te=>te.extent);a=(R.dismissible?[s,...q]:q).map(te=>J(te-s,"start")),a.push(J(_()+n.clientHeight-1,"none")),n.append(...a);for(let te of y.keys())t.contains(te)||y.delete(te);for(let te of s5e(t))y.has(te)||y.set(te,[te.style.getPropertyValue("overflow-y"),te.style.getPropertyPriority("overflow-y")])}function J(R,q){let W=r.createElement("div");return W.setAttribute("aria-hidden","true"),W.style.cssText=`position:absolute;left:0;width:1px;height:1px;top:${R}px;scroll-snap-align:${q};pointer-events:none`,W}function U(){l||d||(g&&c&&Math.abs(n.scrollTop-g.offsetTop)>1&&V(),c&&!f&&M(!0),$||(p||=i.requestAnimationFrame(B)),i.clearTimeout(h),!k&&!c&&(h=i.setTimeout(S,yQ)))}function B(){p=0,e.onFrame(Z())}function D(){if(c=!1,M(!1),g){V();let R=e.config().snapPoints,q=Qc(R.map(W=>W.extent),Z());return K(R[q].id,"swipe")}!e.config().dismissible&&n.scrollTop<-2&&e.onDismissAttempt(),(u||!k)&&(h=i.setTimeout(S,yQ)),u=!1}function M(R){f!==R&&(f=R,e.onDragChange(R))}function S(){if(c){u=!0;return}if(l||d)return;let R=e.config(),q=rC(o,{type:"rest",extent:Z()},R);o=q.state;for(let W of q.effects)W.type==="snap"&&(m=W.id,e.onSnap(W.id,W.reason));o.restingIndex>=0&&oe(R.snapPoints[o.restingIndex].id)}function E(R){R[R.length-1].isIntersecting||l||d||m===null||!e.config().dismissible||(d="swipe",m=null,e.onDismiss())}function v(){if(!l)return;let R=Math.max(0,l.extentAt(performance.now()-l.startTime)-s);A(),g=J(R,"start"),n.append(g),n.scrollTop=R,B(),j()}function V(){g?.remove(),g=null}function I(R,q,W,te){A();let Y=e.config().physics,Q=Wm(Y.response,Y.dampingRatio,q-R,0),ee=Math.max(1,eC(Q)),F=Math.max(s,R);n.scrollTop=F-s;let se=X=>R+Q.position(Math.max(0,X)),le=Math.abs(R-q)<.5,O=!le&&!nb(),H=t.animate({translate:O?cC({duration:ee,extentAt:se},X=>`0 ${F-X}px`):[`0 ${F-q}px`,`0 ${F-R}px`]},{duration:ee,easing:le||O?"linear":tC(Q,q,R,ee),fill:"both"});H.startTime=W,l={animation:H,to:R,extentAt:se,startTime:W},e.onMotion({type:"settle",extentAt:se,startTime:W,duration:ee}),H.onfinish=()=>{l?.animation===H&&(l=null,te(),H.cancel())}}function A(){l?.animation.cancel(),l=null}function oe(R){let q=e.config(),W=q.snapPoints.findIndex(Y=>Y.id===R);o=Ao(q.snapPoints[W].extent,W),m=R,n.style.pointerEvents=e.isInteractive(R)?"none":"auto";let te=W===q.snapPoints.length-1;for(let[Y,[Q,ee]]of y)te?Y.style.setProperty("overflow-y",Q,ee):Y.style.overflowY="hidden";e.onRest(R),j()}function j(){if(!$)return;let R=_(),q=new $({source:n,axis:"block"});e.onMotion({type:"timeline",timeline:q,extentAt:W=>Math.min(N(),W*R+s)})}function K(R,q){let W=e.config().snapPoints.find(Y=>Y.id===R);if(!W||d==="close")return;d=null,R!==m&&(m=R,e.onSnap(R,q));let te=l?l.extentAt(performance.now()-l.startTime):Z();I(W.extent,te,performance.now(),()=>oe(R))}return{open(R,q){d=null,m=R,ue();let W=e.config().snapPoints.find(Y=>Y.id===R);if(!W)return;if(!q)return n.scrollTop=W.extent-s,oe(R);I(W.extent,-hd,performance.now()+sC,()=>oe(R));let te=l;aC(i,Y=>{!te||l!==te||(te.animation.startTime=Y,te.startTime=Y,e.onMotionStart(Y))})},close(){let R=d;if(d="close",R)return;m=null;let q=l?l.extentAt(performance.now()-l.startTime):Z();I(-hd,q,performance.now(),()=>e.onRest(null))},snapTo:K,nudge(){if(d||e.reducedMotion()||m===null)return;let R=e.config().snapPoints.find(q=>q.id===m);R&&I(R.extent,R.extent-20,performance.now(),()=>oe(R.id))},relayout(R,q){if(d||c)return;let W=e.config().snapPoints,te=W.findIndex(se=>se.id===m),Y=W.findIndex(se=>se.id===q),Q=te>=0?te:Y>=0?Y:Qc(W.map(se=>se.extent),Z()),ee=s;ue();let F=W[Q];if(F.id!==m&&(m=F.id,e.onSnap(F.id,"content-resize")),l){let se=l,le=performance.now();(se.to!==F.extent||s!==ee)&&(I(F.extent,se.extentAt(le-se.startTime),Math.max(le,se.startTime),()=>oe(F.id)),l=Object.assign(se,l));return}n.scrollTop=F.extent-s,oe(F.id)},target:()=>d?null:m,isMoving:()=>!!l||f,destroy(){A(),V(),i.clearTimeout(h),p&&i.cancelAnimationFrame(p),L.disconnect(),C.forEach(R=>R());for(let R of a)R.remove();for(let[R,[q,W]]of y)R.style.setProperty("overflow-y",q,W);f&&e.onDragChange(!1),t.style.removeProperty("top"),w(),x()}}}function s5e(e){let t=e.ownerDocument.defaultView??window;return Array.from(e.querySelectorAll("*")).filter(n=>/auto|scroll/.test(t.getComputedStyle(n).overflowY))}var yQ,o5e,wQ=mr(()=>{iC();q_();nC();qs();uC();rb();yQ=120,o5e=24});function a5e(e){let t=/^rgba?\(\s*([\d.]+)[\s,]+([\d.]+)[\s,]+([\d.]+)/.exec(e);return t?[t[1],t[2],t[3]].map(Number):null}function xQ(e,t){let n=Array.from(e.querySelectorAll('meta[name="theme-color"]')),r=n.map(l=>l.content),i=r.map(l=>a5e(l5e(e,l))),o=-1;function s(l){let c=Math.round(l*t*100)/100;c!==o&&(o=c,n.forEach((u,f)=>{let d=i[f];d&&(u.content=c?`rgb(${d.map(h=>Math.round(h*(1-c))).join(" ")})`:r[f])}))}function a(){n.forEach((l,c)=>l.content=r[c]),o=-1}return{write:s,restore:a}}function l5e(e,t){let n=e.createElement("span");n.style.color=t,n.style.display="none",e.body.append(n);let r=e.defaultView?.getComputedStyle(n).color??t;return n.remove(),r}var vQ=mr(()=>{});function d5e(e){return{side:()=>"bottom",snapPoints:()=>["content"],snapPoint:()=>null,dismissible:()=>!0,modalAbove:()=>{},driver:()=>"auto",expandOnScroll:()=>!0,physics:()=>{},backdrop:()=>{},hostBackdrop:!1,outlets:()=>[],parent:()=>{},themeColor:()=>!1,preventEdgeSwipe:()=>!1,canMouseDrag:u5e,onSnap:ib,onRest:ib,onDismissAttempt:ib,onDragChange:ib,onLayout:ib,...f5e(e)}}function f5e(e){return Object.fromEntries(Object.entries(e).filter(([,t])=>t!==void 0))}function _Q(e){for(let t=e.parent;t;t=t.parent){let n=fC.get(t);if(n)return n}}function h5e(e){for(let t=e instanceof Element?e:null;t;){if(I6.has(t))return t;let n=t.getRootNode();t=t.parentElement??(n instanceof ShadowRoot?n.host:null)}return null}function p5e(e,t){let n=t.driver();return n!=="auto"?n==="scroll-snap":t.modalAbove()===void 0&&t.expandOnScroll()&&!!e.matchMedia?.("(hover: none) and (pointer: coarse)").matches}function CQ(e,t){let n=d5e(t),{host:r}=n,i=e.ownerDocument,o=i.defaultView??window,s=o.matchMedia?.("(prefers-reduced-motion: reduce)"),a=S6(n.side(),e),l=[],c=0,u,f=oC.ios,d,h,p={snapPoints:[],dimension:0,dismissible:!0,expandOnScroll:!0,physics:f,contentScroll:KJ},m=a==="bottom"&&p5e(o,n);I6.add(e);let y=[SQ(r,a,e),g5e(e)],g=[],x=pQ({sheet:e,backdrop:n.backdrop,dimmed:n.hostBackdrop?r:void 0,outlets:n.outlets,ancestors:()=>g,themeColor:R=>d?.write(R)});function w(){let R=n.physics();return R!==u&&(u=R,f=R?{...oC.ios,...R}:oC.ios),p.physics=f,p.dismissible=n.dismissible(),p.expandOnScroll=n.expandOnScroll(),p}let k=!1;function $(){k=!0;let R=S6(n.side(),e);R!==a&&(a=R,y[0](),y[0]=SQ(r,a,e));let q=(tu(a)?r.clientHeight:r.clientWidth)-(m?hd:0);U??=o.visualViewport?.height,c=eQ(e,a);let W=parseFloat(o.getComputedStyle(i.documentElement).fontSize)||16,te=XJ(n.snapPoints(),{container:q,content:c,rootFontSize:W});te.length||te.push({id:"content",value:"content",extent:c,ids:["content"]});let Y=q!==p.dimension||te.length!==l.length||te.some((Q,ee)=>Q.id!==l[ee].id||Math.abs(Q.extent-l[ee].extent)>=.5);return l=te,p.dimension=q,p.snapPoints=l.map(({id:Q,extent:ee})=>({id:Q,extent:ee})),x.configure({snapExtents:p.snapPoints.map(Q=>Q.extent),undimmedIndex:vh(l,n.modalAbove())}),Y&&_(),Y}let C=!1,L=R=>R===null?null:l.find(q=>q.id===R)?.value??null,P={sheet:e,host:r,side:()=>a,config:w,size:()=>c,closedExtent:()=>lC(a),reducedMotion:()=>!!s?.matches,owns:R=>h5e(R)===e,canMouseDrag:n.canMouseDrag,onSnap:(R,q,W)=>{let te=L(R);te!==null&&n.onSnap(te,q,W)},onRest(R){if(C)return;let q=l.find(W=>W.id===R);x.apply(q?.extent??lC(a),{rest:!0}),n.onRest(L(R)),V&&R!==null&&A(),V=!1},onDismiss:n.onDismiss,onDismissAttempt:n.onDismissAttempt,onDragChange:n.onDragChange,isInteractive:R=>K.isInteractiveAt(L(R)),onFrame:R=>C||x.apply(R),onMotion:R=>C||x.play(R),onMotionStart:R=>C||x.sync(R)},N=!0;function _(){if(!N)return n.onLayout({side:a,snapPoints:l});queueMicrotask(()=>C||n.onLayout({side:a,snapPoints:l}))}w();let Z=m?bQ(P):mQ(P);e.setAttribute("data-driver",m?"scroll-snap":"pointer"),N=!1;let ue=new ResizeObserver(()=>{oe(!1)});ue.observe(e),ue.observe(r);let J=0,U,B=null,M=[QX(r,{before:()=>J=e.getBoundingClientRect().top,after:S}),...n.preventEdgeSwipe()?[$n(i,"touchstart",E,{capture:!0,passive:!1})]:[],...N_()?[$n(i,"touchend",v,{capture:!0,passive:!1})]:[],$n(e,"focusin",I)];function S(){oe(!0),A();let R=o.visualViewport?.height;if(R===U)return;U=R,B?.cancel(),B=null;let q=J-e.getBoundingClientRect().top;Math.abs(q)<1||s?.matches||(B=r.animate({translate:[`0 ${q}px`,"0 0"]},m5e))}function E(R){if(!R.cancelable)return;let q=R.touches[0];if(!q||q.clientX>kQ&&q.clientX<o.innerWidth-kQ)return;let W=R.target;W&&(r.contains(W)||n.backdrop()?.contains(W))&&R.preventDefault()}function v(R){let q=R.target;(q instanceof HTMLInputElement||q instanceof HTMLTextAreaElement)&&(!e.contains(q)||q===i.activeElement||Z.isMoving()||!R.cancelable||(R.preventDefault(),q.focus({preventScroll:!0})))}let V=!1;function I(){Z.isMoving()?V=!0:A()}function A(){let R=i.activeElement;if(!(R instanceof HTMLElement)||!e.contains(R)||R===e)return;let q=_6(R,e,"bottom");if(!q)return;let W=o.visualViewport,te=Math.min(q.getBoundingClientRect().bottom,W?W.offsetTop+W.height:o.innerHeight),{top:Y,bottom:Q}=R.getBoundingClientRect(),ee=16,F=q.getBoundingClientRect().top,se=Q+ee>te?Q+ee-te:Y-ee<F?Y-ee-F:0;se&&q.scrollBy({top:se,behavior:s?.matches?"instant":"smooth"})}function oe(R){let q=!k;$()&&!q&&Z.relayout(R,l[vh(l,n.snapPoint())]?.id)}function j(R){let q=vh(l,R);return l[q>=0?q:0]?.id}let K={element:e,parent:n.parent,open(R){if(C)return;g=[];for(let W=n.parent();W;W=W.parent())g.push(W.element);$(),w(),n.themeColor()&&(d??=xQ(i,f.dim)),R&&x.apply(lC(a)),h?.();let q=n.backdrop();h=q&&Sh(q,{"will-change":"opacity"}),Z.open(j(n.snapPoint()),R)},close:()=>C||Z.close(),snapTo(R,q){let W=vh(l,R);W>=0&&l[W].id!==Z.target()&&Z.snapTo(l[W].id,q)},nudge:()=>Z.nudge(),snapPoints:()=>l,target:()=>L(Z.target()),isInteractiveAt:R=>ZJ(l,R,n.modalAbove()),refresh(){oe(!1)},destroy(){C=!0,ue.disconnect(),B?.cancel(),M.forEach(R=>R()),Z.destroy(),x.destroy(),h?.(),d?.restore(),y.forEach(R=>R()),e.removeAttribute("data-driver"),I6.delete(e)}};return K}function SQ(e,t,n){let r=tu(t),i=r?t==="bottom":t==="right"!=(n.ownerDocument.defaultView?.getComputedStyle(e).direction==="rtl");return Sh(e,{position:"fixed",inset:"0 0 var(--keyboard-inset, 0px) 0",width:"auto",height:"auto","max-width":"none","max-height":"none",margin:"0",padding:"0",border:"0",background:"transparent",color:"inherit",overflow:"visible",display:"flex","flex-direction":r?"column":"row","justify-content":i?"flex-end":"flex-start","pointer-events":"none"})}function g5e(e){return Sh(e,{"pointer-events":"auto","overscroll-behavior":"contain","will-change":"translate"})}var c5e,u5e,ib,I6,fC,kQ,m5e,AQ=mr(()=>{GJ();YJ();JJ();qs();tZ();rc();A6();uC();rb();gQ();wQ();vQ();c5e='a[href], button, label, summary, [role="button"], [role="link"], [role="slider"], [tabindex]:not([tabindex="-1"])',u5e=e=>!e.closest(c5e),ib=()=>{};I6=new WeakSet,fC=new WeakMap;kQ=24;m5e={duration:250,easing:"cubic-bezier(0.38, 0.7, 0.125, 1)"}});var MQ={};QC(MQ,{prepareVariables:()=>hQ,presentSheet:()=>x5e});function y5e(e){let t=e.getAttribute("data-slot");t&&ad(e.ownerDocument,`ui-sdk-sheet-${t}`,`@layer ui-sdk { :where([data-slot="${t}"])::backdrop { background: var(--sheet-backdrop, rgb(0 0 0 / 0.2)); pointer-events: auto } }`)}function b5e(e,t){let n=[],r=i=>{for(let o of Array.from(i.children))t.includes(o)||(t.some(s=>s&&o.contains(s))?r(o):o instanceof HTMLElement&&n.push(sd(o,"display","none")))};return r(e),()=>n.forEach(i=>i())}function w5e(e,t,n){let r,i=t.bind(e,{...n,position:void 0,inline:!0,onShow(){let[o,s]=n.drillIn();return o&&(r=b5e(o,[e,s])),()=>r?.()},onClose(){r?.(),r=sd(e,"display","none")}});return()=>{i(),r?.()}}function x5e(e,t,n){if(n.drillIn)return w5e(e,t,n);let r=e.parentElement;if(!r)return;y5e(r);let i;return t.bind(e,{...n,position:void 0,host:()=>r,onShow(o){let s=v5e(e,r,t,n,o);return i=s.sheet,()=>{s.hide(),i=void 0}},onClose:()=>i?.close()})}function v5e(e,t,n,r,i){let o=null,s=_Q(i),a=!r.backdrop?.(),l=CQ(e,{host:t,snapPoints:()=>r.snapPoints??["content"],snapPoint:()=>o,backdrop:r.backdrop,hostBackdrop:a,dismissible:r.dismissible,onDismissAttempt:r.onDismissAttempt,parent:()=>s?.(),onSnap:f=>o=f,onDismiss(f){n.requestClose("swipe",f),requestAnimationFrame(()=>{let d=o??l.snapPoints()[0]?.value;i.active()&&d!==void 0&&l.snapTo(d,"imperative")})}});fC.set(i,()=>l),r.onSheet?.(l);let c=$n(e,"focusin",f=>{let d=l.snapPoints().at(-1);d&&l.snapPoints().length>1&&f.target.matches("input, textarea")&&l.snapTo(d.value,"imperative")}),u=a?getComputedStyle(e).getPropertyValue("--sheet-backdrop"):"transparent";return u&&t.style.setProperty("--sheet-backdrop",u),i.active()&&l.open(n.opener()!=="initial"),{sheet:l,hide(){c(),fC.delete(i),l.destroy(),r.onSheet?.(void 0),t.style.removeProperty("--sheet-backdrop")}}}var TQ=mr(()=>{qs();Xc();AQ();rb()});var WRe={};QC(WRe,{apply:()=>qRe,inject:()=>FRe,name:()=>BRe});module.exports=Dne(WRe);var Jm=require("react");function eA(e){for(let t of e){let n=String(t??"").trim().toLowerCase().replace(/_/g,"-");if(n){if(n==="zh"||n.startsWith("zh-"))return/(^|-)(hant|tw|hk|mo)($|-)/.test(n)?"zh-Hant":"zh-Hans";if(n==="en"||n.startsWith("en-"))return"en"}}return"en"}var Lne={"zh-Hant":"\u3001","zh-Hans":"\u3001",en:", "},Pne={"zh-Hant":"\uFF0C","zh-Hans":"\uFF0C",en:", "};function tA(e,t,n,r){let i=t==="zh-Hant"?void 0:e[n],o=i?i[t==="zh-Hans"?0:1]:n;return r?o.replace(/\{(\w+)\}/g,(s,a)=>{if(!Object.prototype.hasOwnProperty.call(r,a))return s;let l=r[a];return Array.isArray(l)?l.map(c=>typeof c=="object"&&c?Db(e,t,c):String(c)).join((a==="clauses"?Pne:Lne)[t]):String(l)}):o}function Db(e,t,n){return tA(e,t,n.key,n.params)}function tN(e){return Db({},"zh-Hant",e)}var nA={\u7DE8\u8F2F\u4E2D:["\u7F16\u8F91\u4E2D","Editing"],"\u5132\u5B58\u4E2D\u2026":["\u4FDD\u5B58\u4E2D\u2026","Saving\u2026"],\u5DF2\u5132\u5B58:["\u5DF2\u4FDD\u5B58","Saved"],\u5DF2\u540C\u6B65:["\u5DF2\u540C\u6B65","Synced"],\u5DF2\u5B58\u5728\u672C\u6A5F:["\u5DF2\u5B58\u5728\u672C\u673A","Saved locally"],"\u5132\u5B58\u5931\u6557 \xB7 \u91CD\u8A66":["\u4FDD\u5B58\u5931\u8D25 \xB7 \u91CD\u8BD5","Save failed \xB7 Retry"],\u6709\u885D\u7A81:["\u6709\u51B2\u7A81","Conflict"],"\u5DF2\u5132\u5B58\u5728\u9019\u53F0\u96FB\u8166\uFF0C\u7B49\u5F85\u4E0A\u50B3\u5230\u96F2\u7AEF":["\u5DF2\u4FDD\u5B58\u5728\u8FD9\u53F0\u7535\u8111\uFF0C\u7B49\u5F85\u4E0A\u4F20\u5230\u4E91\u7AEF","Saved on this computer, waiting to upload"],\u5DF2\u4E0A\u50B3\u5230\u96F2\u7AEF:["\u5DF2\u4E0A\u4F20\u5230\u4E91\u7AEF","Uploaded to the cloud"],\u6B63\u5728\u95B1\u8B80:["\u6B63\u5728\u9605\u8BFB","Reading"],\u6B63\u5728\u601D\u8003:["\u6B63\u5728\u601D\u8003","Thinking"],"\u6B63\u5728\u601D\u8003\u2026":["\u6B63\u5728\u601D\u8003\u2026","Thinking\u2026"],\u6B63\u5728\u64B0\u5BEB:["\u6B63\u5728\u64B0\u5199","Writing"],\u6B63\u5728\u64B0\u5BEB\u5EFA\u8B70:["\u6B63\u5728\u64B0\u5199\u5EFA\u8BAE","Writing suggestions"],\u7B49\u4F60\u78BA\u8A8D:["\u7B49\u4F60\u786E\u8BA4","Waiting for you"],"AI \u5354\u4F5C\u8005":["AI \u534F\u4F5C\u8005","AI collaborator"],\u4F60:["\u4F60","You"],"\u5207\u63DB\u7B46\u8A18\uFF08{key}\uFF09":["\u5207\u6362\u7B14\u8BB0\uFF08{key}\uFF09","Switch note ({key})"],\u5207\u63DB\u7B46\u8A18:["\u5207\u6362\u7B14\u8BB0","Switch note"],\u66F4\u591A:["\u66F4\u591A","More"],\u5207\u63DB\u70BA\u5BEC\u5C4F\u5167\u5BB9:["\u5207\u6362\u4E3A\u5BBD\u5C4F\u5185\u5BB9","Switch to wide note width"],\u6062\u5FA9\u9810\u8A2D\u5167\u5BB9\u5BEC\u5EA6:["\u6062\u590D\u9ED8\u8BA4\u5185\u5BB9\u5BBD\u5EA6","Restore default note width"],\u9396\u5B9A\u7B46\u8A18:["\u9501\u5B9A\u7B14\u8BB0","Lock note"],\u89E3\u9396\u7B46\u8A18:["\u89E3\u9501\u7B14\u8BB0","Unlock note"],\u5DF2\u9396\u5B9A:["\u5DF2\u9501\u5B9A","Locked"],\u6536\u85CF:["\u6536\u85CF","Favorite"],\u53D6\u6D88\u6536\u85CF:["\u53D6\u6D88\u6536\u85CF","Unfavorite"],"\u7B46\u8A18\u5F15\u7528\uFF08\u7D66 Agent\uFF09":["\u7B14\u8BB0\u5F15\u7528\uFF08\u7ED9 Agent\uFF09","Note reference (for agents)"],"\u5DF2\u8907\u88FD\u7B46\u8A18\u5F15\u7528\uFF0C\u8CBC\u7D66 Agent \u5373\u53EF":["\u5DF2\u590D\u5236\u7B14\u8BB0\u5F15\u7528\uFF0C\u8D34\u7ED9 Agent \u5373\u53EF","Note reference copied \u2014 paste it to your agent"],\u5DF2\u8907\u88FD\u7D14\u6587\u5B57:["\u5DF2\u590D\u5236\u7EAF\u6587\u672C","Copied as plain text"],\u6C92\u6709\u53EF\u8907\u88FD\u7684\u5167\u5BB9:["\u6CA1\u6709\u53EF\u590D\u5236\u7684\u5185\u5BB9","Nothing to copy"],\u672A\u547D\u540D\u7B46\u8A18:["\u672A\u547D\u540D\u7B14\u8BB0","Untitled"],\u9019\u5247\u7B46\u8A18:["\u8FD9\u5219\u7B14\u8BB0","this note"],"\u548C AI \u4E00\u8D77\u5BEB\u7B46\u8A18":["\u548C AI \u4E00\u8D77\u5199\u7B14\u8BB0","Write notes with AI"],"\u5728\u5C0D\u8A71\u88E1\u8ACB AI \u958B\u555F\u4E00\u5247 Dinox \u7B46\u8A18\uFF0C\u6216\u76F4\u63A5\u5F9E\u9019\u88E1\u627E\u3002\u4F60\u7DE8\u8F2F\u6642\uFF0CAI \u6703\u5728\u65C1\u908A\u63D0\u51FA\u5EFA\u8B70\uFF0C\u7531\u4F60\u6C7A\u5B9A\u63A1\u7528\u8207\u5426\u3002":["\u5728\u5BF9\u8BDD\u91CC\u8BF7 AI \u6253\u5F00\u4E00\u5219 Dinox \u7B14\u8BB0\uFF0C\u6216\u76F4\u63A5\u4ECE\u8FD9\u91CC\u627E\u3002\u4F60\u7F16\u8F91\u65F6\uFF0CAI \u4F1A\u5728\u65C1\u8FB9\u63D0\u51FA\u5EFA\u8BAE\uFF0C\u7531\u4F60\u51B3\u5B9A\u662F\u5426\u91C7\u7528\u3002","Ask the AI in the chat to open a Dinox note, or find one here. While you edit, the AI suggests changes beside you, and you decide what to keep."],\u641C\u5C0B\u7B46\u8A18:["\u641C\u7D22\u7B14\u8BB0","Search notes"],"\u641C\u5C0B\u7B46\u8A18\u2026":["\u641C\u7D22\u7B14\u8BB0\u2026","Search notes\u2026"],\u6700\u8FD1\u7684\u7B46\u8A18:["\u6700\u8FD1\u7684\u7B14\u8BB0","Recent notes"],\u627E\u4E0D\u5230\u7B26\u5408\u7684\u7B46\u8A18:["\u627E\u4E0D\u5230\u7B26\u5408\u7684\u7B14\u8BB0","No matching notes"],\u9084\u6C92\u6709\u7B46\u8A18:["\u8FD8\u6CA1\u6709\u7B14\u8BB0","No notes yet"],\u641C\u5C0B\u7D50\u679C:["\u641C\u7D22\u7ED3\u679C","Results"],\u6700\u8FD1:["\u6700\u8FD1","Recent"],\u7B46\u8A18\u5167\u5BB9:["\u7B14\u8BB0\u5185\u5BB9","Note content"],\u6D3B\u52D5\u7D00\u9304:["\u6D3B\u52A8\u8BB0\u5F55","Activity"],\u9084\u6C92\u6709\u6D3B\u52D5:["\u8FD8\u6CA1\u6709\u6D3B\u52A8","No activity yet"],\u95DC\u9589:["\u5173\u95ED","Close"],"\u8907\u88FD Markdown":["\u590D\u5236 Markdown","Copy Markdown"],"\u5DF2\u8907\u88FD Markdown":["\u5DF2\u590D\u5236 Markdown","Copied Markdown"],\u7121\u6CD5\u5B58\u53D6\u526A\u8CBC\u7C3F:["\u65E0\u6CD5\u8BBF\u95EE\u526A\u8D34\u677F","Cannot access the clipboard"],\u91CD\u65B0\u8F09\u5165:["\u91CD\u65B0\u52A0\u8F7D","Reload"],\u5168\u90E8\u7565\u904E:["\u5168\u90E8\u5FFD\u7565","Dismiss all"],\u5168\u90E8\u63A5\u53D7:["\u5168\u90E8\u63A5\u53D7","Accept all"],\u5168\u90E8\u6E05\u9664:["\u5168\u90E8\u6E05\u9664","Clear all"],"AI \u5EFA\u8B70":["AI \u5EFA\u8BAE","AI suggestions"],"AI \u8A3B\u89E3":["AI \u6CE8\u89E3","AI comments"],"AI \u5EFA\u8B70\u65B0\u589E":["AI \u5EFA\u8BAE\u65B0\u589E","AI suggests adding"],"\u4E0A\u4E00\u5247\uFF08Alt+[\uFF09":["\u4E0A\u4E00\u5219\uFF08Alt+[\uFF09","Previous (Alt+[)"],"\u4E0B\u4E00\u5247\uFF08Alt+]\uFF09":["\u4E0B\u4E00\u5219\uFF08Alt+]\uFF09","Next (Alt+])"],\u7565\u904E:["\u5FFD\u7565","Dismiss"],\u63A5\u53D7:["\u63A5\u53D7","Accept"],\u63D2\u5165:["\u63D2\u5165","Insert"],\u522A\u9664:["\u5220\u9664","Delete"],\u8907\u88FD:["\u590D\u5236","Copy"],\u5DF2\u8907\u88FD:["\u5DF2\u590D\u5236","Copied"],\u7D14\u6587\u5B57:["\u7EAF\u6587\u672C","Plain Text"],\u7A0B\u5F0F\u8A9E\u8A00:["\u7F16\u7A0B\u8BED\u8A00","Language"],\u7A0B\u5F0F\u78BC\u8A2D\u5B9A:["\u4EE3\u7801\u8BBE\u7F6E","Code settings"],\u884C\u865F:["\u884C\u53F7","Line numbers"],\u81EA\u52D5\u63DB\u884C:["\u81EA\u52A8\u6362\u884C","Wrap lines"],\u9078\u53D6\u7A0B\u5F0F\u78BC:["\u9009\u62E9\u4EE3\u7801","Select code"],\u66AB\u7DE9:["\u6682\u7F13","Backlog"],\u9032\u884C\u4E2D:["\u8FDB\u884C\u4E2D","In progress"],\u5DF2\u53D6\u6D88:["\u5DF2\u53D6\u6D88","Cancelled"],\u5EFA\u8B70\u6539\u5BEB:["\u5EFA\u8BAE\u6539\u5199","Suggested rewrite"],\u5EFA\u8B70\u522A\u9664:["\u5EFA\u8BAE\u5220\u9664","Suggested deletion"],"\u8ACB AI \u4FEE\u6539":["\u8BF7 AI \u4FEE\u6539","Ask AI to apply"],"{n} \u5247":["{n} \u6761","{n}"],"{n} \u5247\u5DF2\u5931\u6548":["{n} \u6761\u5DF2\u5931\u6548","{n} outdated"],"\u539F\u6587\u5DF2\u88AB\u4FEE\u6539\uFF0C\u9019\u4E9B\u5EFA\u8B70\u7121\u6CD5\u5957\u7528":["\u539F\u6587\u5DF2\u88AB\u4FEE\u6539\uFF0C\u8FD9\u4E9B\u5EFA\u8BAE\u65E0\u6CD5\u5E94\u7528","The text changed, so these suggestions no longer apply"],"\u539F\u6587\u5DF2\u88AB\u4FEE\u6539\uFF0C\u9019\u5247\u5EFA\u8B70\u7121\u6CD5\u5957\u7528":["\u539F\u6587\u5DF2\u88AB\u4FEE\u6539\uFF0C\u8FD9\u6761\u5EFA\u8BAE\u65E0\u6CD5\u5E94\u7528","The text changed, so this suggestion no longer applies"],"AI \u7559\u4E0B\u4E86 {n} \u5247\u8A3B\u89E3":["AI \u7559\u4E0B\u4E86 {n} \u6761\u6CE8\u89E3","The AI left {n} comment(s)"],"AI \u7559\u4E0B\u4E86 {n} \u5247\u5EFA\u8B70":["AI \u7559\u4E0B\u4E86 {n} \u6761\u5EFA\u8BAE","The AI left {n} suggestion(s)"],\u6587\u5B57\u683C\u5F0F:["\u6587\u5B57\u683C\u5F0F","Text formatting"],"\u7C97\u9AD4\uFF08{key}\uFF09":["\u7C97\u4F53\uFF08{key}\uFF09","Bold ({key})"],"\u659C\u9AD4\uFF08{key}\uFF09":["\u659C\u4F53\uFF08{key}\uFF09","Italic ({key})"],"\u5E95\u7DDA\uFF08{key}\uFF09":["\u4E0B\u5212\u7EBF\uFF08{key}\uFF09","Underline ({key})"],\u522A\u9664\u7DDA:["\u5220\u9664\u7EBF","Strikethrough"],\u884C\u5167\u7A0B\u5F0F\u78BC:["\u884C\u5185\u4EE3\u7801","Inline code"],\u9192\u76EE\u6A19\u793A:["\u9AD8\u4EAE","Highlight"],"\u9023\u7D50\uFF08{key}\uFF09":["\u94FE\u63A5\uFF08{key}\uFF09","Link ({key})"],"\u8CBC\u4E0A\u9023\u7D50\u2026":["\u7C98\u8D34\u94FE\u63A5\u2026","Paste a link\u2026"],\u9023\u7D50\u7DB2\u5740:["\u94FE\u63A5\u7F51\u5740","Link URL"],"\u53EA\u652F\u63F4 http\u3001https \u6216 mailto \u9023\u7D50":["\u53EA\u652F\u6301 http\u3001https \u6216 mailto \u94FE\u63A5","Only http, https, or mailto links are supported"],\u958B\u555F\u9023\u7D50:["\u6253\u5F00\u94FE\u63A5","Open link"],"\u554F AI":["\u95EE AI","Ask AI"],"\u554F AI\uFF08{key}\uFF09":["\u95EE AI\uFF08{key}\uFF09","Ask AI ({key})"],"\u8B93 AI \u7DE8\u8F2F\u6216\u64B0\u5BEB\u2026":["\u8BA9 AI \u7F16\u8F91\u6216\u64B0\u5199\u2026","Ask AI to edit or write\u2026"],"\u8B93 AI \u7DE8\u8F2F\u9019\u6BB5\u2026":["\u8BA9 AI \u7F16\u8F91\u8FD9\u6BB5\u2026","Ask AI to edit this\u2026"],"\u60F3\u5728\u9019\u88E1\u52A0\u4EC0\u9EBC\uFF1F\u544A\u8A34 AI\u2026":["\u60F3\u5728\u8FD9\u91CC\u52A0\u4EC0\u4E48\uFF1F\u544A\u8BC9 AI\u2026","What should go here? Tell the AI\u2026"],"\u8ACB AI \u64B0\u5BEB\u2026":["\u8BF7 AI \u64B0\u5199\u2026","Ask AI to write\u2026"],"\u8ACB AI \u64B0\u5BEB":["\u8BF7 AI \u64B0\u5199","Ask AI to write"],"\u8ACB AI \u5E6B\u5FD9":["\u8BF7 AI \u5E2E\u5FD9","Ask AI"],\u9001\u51FA:["\u53D1\u9001","Send"],"\u8ACB AI \u5728\u6E38\u6A19\u8655\u64B0\u5BEB":["\u8BF7 AI \u5728\u5149\u6807\u5904\u64B0\u5199","Ask AI to write at the cursor"],"\u5728\u9019\u88E1\u8ACB AI":["\u5728\u8FD9\u91CC\u8BF7 AI","Ask AI here"],"\u7121\u6CD5\u50B3\u9001\u7D66 AI\uFF1A{error}":["\u65E0\u6CD5\u53D1\u9001\u7ED9 AI\uFF1A{error}","Could not send to the AI: {error}"],"\u5DF2\u4EA4\u7D66 AI\uFF0C\u5EFA\u8B70\u6703\u76F4\u63A5\u51FA\u73FE\u5728\u7B46\u8A18\u88E1":["\u5DF2\u4EA4\u7ED9 AI\uFF0C\u5EFA\u8BAE\u4F1A\u76F4\u63A5\u51FA\u73B0\u5728\u7B14\u8BB0\u91CC","Sent to the AI. Suggestions will appear right in the note"],\u8A62\u554F:["\u8BE2\u95EE","Ask"],\u5BE9\u95B1:["\u5BA1\u9605","Review"],\u4FEE\u6539\u9078\u53D6\u6587\u5B57:["\u4FEE\u6539\u9009\u4E2D\u6587\u5B57","Edit selection"],\u5728\u6E38\u6A19\u8655:["\u5728\u5149\u6807\u5904","At the cursor"],\u5F9E\u9019\u88E1\u63A5\u8457\u5BEB:["\u4ECE\u8FD9\u91CC\u63A5\u7740\u5199","Continue from here"],\u5F9E\u9019\u88E1\u63A5\u8457\u5F80\u4E0B\u5BEB:["\u4ECE\u8FD9\u91CC\u63A5\u7740\u5F80\u4E0B\u5199","Continue writing from here"],\u88DC\u4E00\u500B\u4F8B\u5B50:["\u8865\u4E00\u4E2A\u4F8B\u5B50","Add an example"],\u5728\u9019\u88E1\u88DC\u4E00\u500B\u5177\u9AD4\u7684\u4F8B\u5B50:["\u5728\u8FD9\u91CC\u8865\u4E00\u4E2A\u5177\u4F53\u7684\u4F8B\u5B50","Add a concrete example here"],\u88DC\u4E0A\u929C\u63A5\u53E5:["\u8865\u4E0A\u8854\u63A5\u53E5","Add a transition"],"\u5728\u9019\u88E1\u88DC\u4E00\u53E5\u8A71\uFF0C\u8B93\u524D\u5F8C\u6587\u929C\u63A5\u5F97\u66F4\u81EA\u7136":["\u5728\u8FD9\u91CC\u8865\u4E00\u53E5\u8BDD\uFF0C\u8BA9\u524D\u540E\u6587\u8854\u63A5\u5F97\u66F4\u81EA\u7136","Add a sentence here so the text flows more naturally"],\u88DC\u5145\u7D30\u7BC0:["\u8865\u5145\u7EC6\u8282","Add detail"],\u5728\u9019\u88E1\u88DC\u5145\u66F4\u591A\u7D30\u7BC0:["\u5728\u8FD9\u91CC\u8865\u5145\u66F4\u591A\u7EC6\u8282","Add more detail here"],\u63A5\u8457\u5BEB:["\u63A5\u7740\u5199","Continue writing"],\u63A5\u8457\u76EE\u524D\u7684\u5167\u5BB9\u5F80\u4E0B\u5BEB\u4E00\u6BB5:["\u63A5\u7740\u76EE\u524D\u7684\u5185\u5BB9\u5F80\u4E0B\u5199\u4E00\u6BB5","Write the next paragraph after the current content"],\u63A5\u8457\u9019\u6BB5\u5F80\u4E0B\u5BEB:["\u63A5\u7740\u8FD9\u6BB5\u5F80\u4E0B\u5199","Continue writing after this"],\u5BEB\u6458\u8981:["\u5199\u6458\u8981","Summarize"],\u70BA\u9019\u5247\u7B46\u8A18\u5BEB\u4E00\u6BB5\u6458\u8981:["\u4E3A\u8FD9\u5219\u7B14\u8BB0\u5199\u4E00\u6BB5\u6458\u8981","Write a summary of this note"],\u5217\u51FA\u91CD\u9EDE:["\u5217\u51FA\u8981\u70B9","List key points"],\u628A\u9019\u5247\u7B46\u8A18\u7684\u91CD\u9EDE\u6574\u7406\u6210\u689D\u5217:["\u628A\u8FD9\u5219\u7B14\u8BB0\u7684\u8981\u70B9\u6574\u7406\u6210\u5217\u8868","List the key points of this note"],\u6574\u7406\u5F85\u8FA6\u4E8B\u9805:["\u6574\u7406\u5F85\u529E\u4E8B\u9879","Extract to-dos"],\u5F9E\u9019\u5247\u7B46\u8A18\u6574\u7406\u51FA\u5F85\u8FA6\u4E8B\u9805\u6E05\u55AE:["\u4ECE\u8FD9\u5219\u7B14\u8BB0\u6574\u7406\u51FA\u5F85\u529E\u4E8B\u9879\u6E05\u5355","Make a to-do list from this note"],\u8166\u529B\u6FC0\u76EA:["\u5934\u8111\u98CE\u66B4","Brainstorm"],\u91DD\u5C0D\u9019\u5247\u7B46\u8A18\u7684\u4E3B\u984C\u63D0\u51FA\u5E7E\u500B\u65B0\u60F3\u6CD5:["\u9488\u5BF9\u8FD9\u5219\u7B14\u8BB0\u7684\u4E3B\u9898\u63D0\u51FA\u51E0\u4E2A\u65B0\u60F3\u6CD5","Suggest a few new ideas on the topic of this note"],\u6539\u5584\u5BEB\u4F5C:["\u6539\u5584\u5199\u4F5C","Improve writing"],\u5E6B\u6211\u6539\u5584\u9019\u6BB5\u6587\u5B57\u7684\u5BEB\u6CD5:["\u5E2E\u6211\u6539\u5584\u8FD9\u6BB5\u6587\u5B57\u7684\u5199\u6CD5","Improve the writing of this passage"],\u4FEE\u6B63\u62FC\u5BEB\u8207\u6587\u6CD5:["\u4FEE\u6B63\u62FC\u5199\u4E0E\u8BED\u6CD5","Fix spelling & grammar"],\u5E6B\u6211\u4FEE\u6B63\u9019\u6BB5\u6587\u5B57\u7684\u932F\u5B57\u8207\u6587\u6CD5:["\u5E2E\u6211\u4FEE\u6B63\u8FD9\u6BB5\u6587\u5B57\u7684\u9519\u5B57\u4E0E\u8BED\u6CD5","Fix the spelling and grammar of this passage"],\u7CBE\u7C21:["\u7CBE\u7B80","Make shorter"],\u5E6B\u6211\u628A\u9019\u6BB5\u5BEB\u5F97\u66F4\u7CBE\u7C21:["\u5E2E\u6211\u628A\u8FD9\u6BB5\u5199\u5F97\u66F4\u7CBE\u7B80","Make this passage more concise"],\u64F4\u5BEB:["\u6269\u5199","Make longer"],\u5E6B\u6211\u628A\u9019\u6BB5\u5BEB\u5F97\u66F4\u5B8C\u6574:["\u5E2E\u6211\u628A\u8FD9\u6BB5\u5199\u5F97\u66F4\u5B8C\u6574","Expand this passage"],\u7FFB\u8B6F\u6210\u82F1\u6587:["\u7FFB\u8BD1\u6210\u82F1\u6587","Translate to Chinese"],\u5E6B\u6211\u628A\u9019\u6BB5\u7FFB\u8B6F\u6210\u82F1\u6587:["\u5E2E\u6211\u628A\u8FD9\u6BB5\u7FFB\u8BD1\u6210\u82F1\u6587","Translate this passage into Chinese"],\u6A19\u8A3B\u4FEE\u6539\u5EFA\u8B70:["\u6807\u6CE8\u4FEE\u6539\u5EFA\u8BAE","Comment with suggestions"],"\u5E6B\u6211\u770B\u770B\u9019\u6BB5\u54EA\u4E9B\u8A5E\u3001\u53E5\u5B50\u6216\u6BB5\u843D\u53EF\u4EE5\u6539\u9032":["\u5E2E\u6211\u770B\u770B\u8FD9\u6BB5\u54EA\u4E9B\u8BCD\u3001\u53E5\u5B50\u6216\u6BB5\u843D\u53EF\u4EE5\u6539\u8FDB","Point out which words, sentences, or paragraphs here could be improved"],\u89E3\u91CB:["\u89E3\u91CA","Explain"],\u89E3\u91CB\u9019\u6BB5\u5728\u8AAA\u4EC0\u9EBC:["\u89E3\u91CA\u8FD9\u6BB5\u5728\u8BF4\u4EC0\u4E48","Explain what this passage says"],"{ask}\uFF08\u300C{title}\u300D\uFF09":["{ask}\uFF08\u300C{title}\u300D\uFF09",'{ask} ("{title}")'],"{ask}\uFF08\u300C{title}\u300D\uFF09\uFF1A":["{ask}\uFF08\u300C{title}\u300D\uFF09\uFF1A",'{ask} ("{title}"):'],"\u8ACB\u7528 dinox_editor_read\uFF08focus: true\uFF09\u8B80\u53D6\u6211\u9078\u53D6\u7684\u5340\u584A\uFF0C\u518D\u7528 dinox_editor_suggest \u5C0D\u90A3\u4E9B\u5340\u584A\u63D0\u51FA\u4FEE\u6539\uFF0C\u6211\u6703\u5728\u7B46\u8A18\u88E1\u78BA\u8A8D\u3002":["\u8BF7\u7528 dinox_editor_read\uFF08focus: true\uFF09\u8BFB\u53D6\u6211\u9009\u4E2D\u7684\u533A\u5757\uFF0C\u518D\u7528 dinox_editor_suggest \u5BF9\u90A3\u4E9B\u533A\u5757\u63D0\u51FA\u4FEE\u6539\uFF0C\u6211\u4F1A\u5728\u7B14\u8BB0\u91CC\u786E\u8BA4\u3002","Read my selected blocks with dinox_editor_read (focus: true), then propose edits to them with dinox_editor_suggest. I will review them in the note."],"\u8ACB\u7528 dinox_editor_read\uFF08focus: true\uFF09\u8B80\u53D6\u6211\u6E38\u6A19\u6240\u5728\u7684\u5340\u584A\uFF0C\u518D\u7528 dinox_editor_suggest \u628A\u5167\u5BB9\u52A0\u5728\u90A3\u500B\u5340\u584A\u4E4B\u5F8C\uFF0C\u6211\u6703\u5728\u7B46\u8A18\u88E1\u78BA\u8A8D\u3002":["\u8BF7\u7528 dinox_editor_read\uFF08focus: true\uFF09\u8BFB\u53D6\u6211\u5149\u6807\u6240\u5728\u7684\u533A\u5757\uFF0C\u518D\u7528 dinox_editor_suggest \u628A\u5185\u5BB9\u52A0\u5728\u90A3\u4E2A\u533A\u5757\u4E4B\u540E\uFF0C\u6211\u4F1A\u5728\u7B14\u8BB0\u91CC\u786E\u8BA4\u3002","Read the block with my cursor with dinox_editor_read (focus: true), then add the content after it with dinox_editor_suggest. I will review it in the note."],"\u8ACB\u7528 dinox_editor_read \u8B80\u53D6\u7B46\u8A18\uFF0C\u518D\u7528 dinox_editor_suggest \u4EE5 comment \u5728\u9700\u8981\u6539\u9032\u7684\u8A5E\u53E5\u6216\u6BB5\u843D\u4E0A\u6A19\u8A3B\u5EFA\u8B70\uFF08\u4E0D\u8981\u76F4\u63A5\u4FEE\u6539\uFF09\uFF0C\u6211\u6703\u9010\u4E00\u770B\u904E\u3002":["\u8BF7\u7528 dinox_editor_read \u8BFB\u53D6\u7B14\u8BB0\uFF0C\u518D\u7528 dinox_editor_suggest \u4EE5 comment \u5728\u9700\u8981\u6539\u8FDB\u7684\u8BCD\u53E5\u6216\u6BB5\u843D\u4E0A\u6807\u6CE8\u5EFA\u8BAE\uFF08\u4E0D\u8981\u76F4\u63A5\u4FEE\u6539\uFF09\uFF0C\u6211\u4F1A\u9010\u4E00\u770B\u8FC7\u3002","Read the note with dinox_editor_read, then use dinox_editor_suggest with comment to annotate the words or paragraphs that could be better (do not edit them). I will go through each one."],"\u76F4\u63A5\u5728\u5C0D\u8A71\u88E1\u56DE\u7B54\u5C31\u597D\uFF0C\u4E0D\u7528\u4FEE\u6539\u7B46\u8A18\u3002":["\u76F4\u63A5\u5728\u5BF9\u8BDD\u91CC\u56DE\u7B54\u5C31\u597D\uFF0C\u4E0D\u7528\u4FEE\u6539\u7B14\u8BB0\u3002","Just answer in the chat; do not change the note."],"\u5BEB\u5728\u9019\u6BB5\u4E4B\u5F8C\uFF1A":["\u5199\u5728\u8FD9\u6BB5\u4E4B\u540E\uFF1A","Write it after this passage:"],"\u5BEB\u5728\u7B46\u8A18\u6700\u5F8C\u3002":["\u5199\u5728\u7B14\u8BB0\u6700\u540E\u3002","Write it at the end of the note."],"\u5E6B\u6211\u5BE9\u95B1\u300C{title}\u300D\uFF0C\u6A19\u51FA\u54EA\u4E9B\u8A5E\u3001\u53E5\u5B50\u6216\u6BB5\u843D\u53EF\u4EE5\u5BEB\u5F97\u66F4\u597D\uFF0C\u4E26\u8AAA\u660E\u600E\u9EBC\u6539\u3002":["\u5E2E\u6211\u5BA1\u9605\u300C{title}\u300D\uFF0C\u6807\u51FA\u54EA\u4E9B\u8BCD\u3001\u53E5\u5B50\u6216\u6BB5\u843D\u53EF\u4EE5\u5199\u5F97\u66F4\u597D\uFF0C\u5E76\u8BF4\u660E\u600E\u4E48\u6539\u3002",'Review "{title}": mark the words, sentences, or paragraphs that could be written better, and explain how.'],"\uFF08\u5340\u584A {block}\uFF09":["\uFF08\u533A\u5757 {block}\uFF09"," (block {block})"],"\u8ACB\u7528 dinox_editor_suggest \u5C0D {block} \u63D0\u51FA\u4FEE\u6539\uFF08\u9700\u8981\u6642\u5148\u7528 dinox_editor_read \u8B80\u53D6\uFF09\uFF0C\u6211\u6703\u5728\u7B46\u8A18\u88E1\u78BA\u8A8D\u3002":["\u8BF7\u7528 dinox_editor_suggest \u5BF9 {block} \u63D0\u51FA\u4FEE\u6539\uFF08\u9700\u8981\u65F6\u5148\u7528 dinox_editor_read \u8BFB\u53D6\uFF09\uFF0C\u6211\u4F1A\u5728\u7B14\u8BB0\u91CC\u786E\u8BA4\u3002","Propose an edit to {block} with dinox_editor_suggest (read it with dinox_editor_read first if needed). I will review it in the note."],"\u8ACB\u4F9D\u7167\u4F60\u5728\u300C{title}\u300D{where}\u7684\u8A3B\u89E3\u4FEE\u6539\u9019\u6BB5\uFF1A":["\u8BF7\u6309\u7167\u4F60\u5728\u300C{title}\u300D{where}\u7684\u6CE8\u89E3\u4FEE\u6539\u8FD9\u6BB5\uFF1A",'Revise this passage following your comment in "{title}"{where}:'],"\u8A3B\u89E3\uFF1A":["\u6CE8\u89E3\uFF1A","Comment: "],"\u5BEB\u5728\u6211\u6E38\u6A19\u6240\u5728\u7684\u4F4D\u7F6E\uFF1A":["\u5199\u5728\u6211\u5149\u6807\u6240\u5728\u7684\u4F4D\u7F6E\uFF1A","Write it where my cursor is:"],"\u6E38\u6A19\u524D\uFF1A":["\u5149\u6807\u524D\uFF1A","Before the cursor:"],"\u6E38\u6A19\u5F8C\uFF1A":["\u5149\u6807\u540E\uFF1A","After the cursor:"],"\u8ACB\u7528 dinox_editor_read\uFF08focus: true\uFF09\u8B80\u53D6\u6E38\u6A19\u6240\u5728\u7684\u5340\u584A\u3002\u8981\u5728\u53E5\u4E2D\u88DC\u5B57\u5C31\u7528 dinox_editor_suggest \u5C0D\u90A3\u500B\u5340\u584A\u505A {block, find, replace}\uFF08\u628A\u6E38\u6A19\u524D\u5F8C\u7684\u5B57\u4E00\u8D77\u6539\u5BEB\uFF09\uFF1B\u8981\u65B0\u589E\u6BB5\u843D\u5C31\u7528 {after: \u8A72\u5340\u584A, markdown}\u3002\u6211\u6703\u5728\u7B46\u8A18\u88E1\u78BA\u8A8D\u3002":["\u8BF7\u7528 dinox_editor_read\uFF08focus: true\uFF09\u8BFB\u53D6\u5149\u6807\u6240\u5728\u7684\u533A\u5757\u3002\u8981\u5728\u53E5\u4E2D\u8865\u5B57\u5C31\u7528 dinox_editor_suggest \u5BF9\u90A3\u4E2A\u533A\u5757\u505A {block, find, replace}\uFF08\u628A\u5149\u6807\u524D\u540E\u7684\u5B57\u4E00\u8D77\u6539\u5199\uFF09\uFF1B\u8981\u65B0\u589E\u6BB5\u843D\u5C31\u7528 {after: \u8BE5\u533A\u5757, markdown}\u3002\u6211\u4F1A\u5728\u7B14\u8BB0\u91CC\u786E\u8BA4\u3002","Read the block with the cursor with dinox_editor_read (focus: true). To add words mid-sentence, use dinox_editor_suggest with {block, find, replace} on that block (rewrite the text around the cursor together); to add a paragraph, use {after: that block, markdown}. I will review it in the note."],"\u4F7F\u7528\u8005\u6B63\u5728 Dinox \u7DE8\u8F2F\u5668\u4E2D\u770B\u300C{title}\u300D\uFF08note id: {id}\uFF09\u3002":["\u7528\u6237\u6B63\u5728 Dinox \u7F16\u8F91\u5668\u4E2D\u770B\u300C{title}\u300D\uFF08note id: {id}\uFF09\u3002",'The user is viewing "{title}" in the Dinox editor (note id: {id}).'],"\u4ED6\u9078\u53D6\u4E86\uFF1A":["\u4ED6\u9009\u4E2D\u4E86\uFF1A","They selected:"],"\u958B\u59CB\u66F8\u5BEB\uFF0C\u6216\u6309\u7A7A\u767D\u9375\u8ACB AI \u64B0\u5BEB\u2026":["\u5F00\u59CB\u4E66\u5199\uFF0C\u6216\u6309\u7A7A\u683C\u952E\u8BF7 AI \u64B0\u5199\u2026","Start writing, or press Space to ask AI\u2026"],"\u8F38\u5165\u300C/\u300D\u63D2\u5165\u5340\u584A\uFF0C\u6309\u7A7A\u767D\u9375\u8ACB AI \u64B0\u5BEB":["\u8F93\u5165\u300C/\u300D\u63D2\u5165\u533A\u5757\uFF0C\u6309\u7A7A\u683C\u952E\u8BF7 AI \u64B0\u5199",'Type "/" for blocks, Space to ask AI'],\u7A7A\u767D\u9375:["\u7A7A\u683C\u952E","Space"],\u6587\u5B57:["\u6587\u672C","Text"],\u57FA\u672C\u5340\u584A:["\u57FA\u672C\u533A\u5757","Basic blocks"],"\u6A19\u984C 1":["\u6807\u9898 1","Heading 1"],"\u6A19\u984C 2":["\u6807\u9898 2","Heading 2"],"\u6A19\u984C 3":["\u6807\u9898 3","Heading 3"],\u5F85\u8FA6\u6E05\u55AE:["\u5F85\u529E\u6E05\u5355","To-do list"],\u9805\u76EE\u7B26\u865F\u6E05\u55AE:["\u9879\u76EE\u7B26\u53F7\u5217\u8868","Bulleted list"],\u7DE8\u865F\u6E05\u55AE:["\u7F16\u53F7\u5217\u8868","Numbered list"],\u5F15\u7528:["\u5F15\u7528","Quote"],\u7A0B\u5F0F\u78BC:["\u4EE3\u7801","Code"],\u5206\u9694\u7DDA:["\u5206\u9694\u7EBF","Divider"],"\u5132\u5B58\u5931\u6557\uFF1A{error}":["\u4FDD\u5B58\u5931\u8D25\uFF1A{error}","Save failed: {error}"],"\u9019\u5247\u7B46\u8A18\u542B\u6709\u7DE8\u8F2F\u5668\u9084\u4E0D\u652F\u63F4\u7684\u5167\u5BB9\u3002\u70BA\u4E86\u4E0D\u640D\u58DE\u5B83\uFF0C\u76EE\u524D\u53EA\u80FD\u6AA2\u8996\u3002":["\u8FD9\u5219\u7B14\u8BB0\u542B\u6709\u7F16\u8F91\u5668\u8FD8\u4E0D\u652F\u6301\u7684\u5185\u5BB9\u3002\u4E3A\u4E86\u4E0D\u635F\u574F\u5B83\uFF0C\u76EE\u524D\u53EA\u80FD\u67E5\u770B\u3002","This note has content the editor does not support yet. To keep it intact, it is view-only for now."],"\u552F\u8B80\u958B\u555F\uFF1A{list}":["\u53EA\u8BFB\u6253\u5F00\uFF1A{list}","Opened read-only: {list}"],"\u9019\u5247\u7B46\u8A18\u7121\u6CD5\u5728\u7DE8\u8F2F\u5668\u4E2D\u958B\u555F\uFF0C\u76EE\u524D\u53EA\u80FD\u6AA2\u8996\u3002\uFF08{error}\uFF09":["\u8FD9\u5219\u7B14\u8BB0\u65E0\u6CD5\u5728\u7F16\u8F91\u5668\u4E2D\u6253\u5F00\uFF0C\u76EE\u524D\u53EA\u80FD\u67E5\u770B\u3002\uFF08{error}\uFF09","This note cannot be opened in the editor, so it is view-only for now. ({error})"],\u5DF2\u540C\u6B65\u5225\u8655\u7684\u4FEE\u6539:["\u5DF2\u540C\u6B65\u522B\u5904\u7684\u4FEE\u6539","Synced changes made elsewhere"],"\u9019\u5247\u7B46\u8A18\u5728\u5225\u8655\u88AB\u4FEE\u6539\u4E86\uFF0C\u548C\u4F60\u5C1A\u672A\u5132\u5B58\u7684\u5167\u5BB9\u885D\u7A81\u3002":["\u8FD9\u5219\u7B14\u8BB0\u5728\u522B\u5904\u88AB\u4FEE\u6539\u4E86\uFF0C\u548C\u4F60\u5C1A\u672A\u4FDD\u5B58\u7684\u5185\u5BB9\u51B2\u7A81\u3002","This note changed elsewhere and conflicts with your unsaved edits."],\u8F09\u5165\u6700\u65B0\u7248\u672C:["\u52A0\u8F7D\u6700\u65B0\u7248\u672C","Load latest version"],\u4FDD\u7559\u6211\u7684\u7248\u672C:["\u4FDD\u7559\u6211\u7684\u7248\u672C","Keep my version"],"\u7121\u6CD5\u8907\u88FD\u4F60\u76EE\u524D\u7684\u5167\u5BB9\u5230\u526A\u8CBC\u7C3F\u3002\u4ECD\u8981\u6368\u68C4\u4E26\u8F09\u5165\u6700\u65B0\u7248\u672C\u55CE\uFF1F":["\u65E0\u6CD5\u590D\u5236\u4F60\u76EE\u524D\u7684\u5185\u5BB9\u5230\u526A\u8D34\u677F\u3002\u4ECD\u8981\u820D\u5F03\u5E76\u52A0\u8F7D\u6700\u65B0\u7248\u672C\u5417\uFF1F","Your current content could not be copied to the clipboard. Discard it and load the latest version anyway?"],"\u5DF2\u8F09\u5165\u6700\u65B0\u7248\u672C\uFF0C\u4F60\u7684\u5167\u5BB9\u5DF2\u8907\u88FD\u5230\u526A\u8CBC\u7C3F":["\u5DF2\u52A0\u8F7D\u6700\u65B0\u7248\u672C\uFF0C\u4F60\u7684\u5185\u5BB9\u5DF2\u590D\u5236\u5230\u526A\u8D34\u677F","Loaded the latest version. Your content was copied to the clipboard"],"AI \u60F3\u958B\u555F\u300C{title}\u300D\uFF0C\u8ACB\u5148\u8655\u7406\u76EE\u524D\u672A\u5132\u5B58\u7684\u4FEE\u6539\u3002":["AI \u60F3\u6253\u5F00\u300C{title}\u300D\uFF0C\u8BF7\u5148\u5904\u7406\u76EE\u524D\u672A\u4FDD\u5B58\u7684\u4FEE\u6539\u3002",'The AI wants to open "{title}". Deal with your unsaved changes first.'],\u8ACB\u5148\u8655\u7406\u76EE\u524D\u672A\u5132\u5B58\u7684\u4FEE\u6539:["\u8BF7\u5148\u5904\u7406\u76EE\u524D\u672A\u4FDD\u5B58\u7684\u4FEE\u6539","Deal with your unsaved changes first"],\u6A19\u984C:["\u6807\u9898","Title"],\u641C\u5C0B:["\u641C\u7D22","Search"],"{n} \u500B\u6A94\u6848":["{n} \u4E2A\u6587\u4EF6","{n} file(s)"],"{n} \u5247\u95DC\u806F":["{n} \u6761\u5173\u8054","{n} relation(s)"],\u5730\u9EDE:["\u5730\u70B9","Place"],"{what}\u6C92\u6709\u5B58\u6210\u529F\uFF1A{error}":["{what}\u6CA1\u6709\u4FDD\u5B58\u6210\u529F\uFF1A{error}","Could not save {what}: {error}"],"\u6587\u4EF6\u5939\uFF1A{box}\uFF08\u9EDE\u64CA\u66F4\u63DB\uFF09":["\u6587\u4EF6\u5939\uFF1A{box}\uFF08\u70B9\u51FB\u66F4\u6362\uFF09","Folder: {box} (click to change)"],\u653E\u9032\u6587\u4EF6\u5939:["\u653E\u8FDB\u6587\u4EF6\u5939","Add to folder"],\u6587\u4EF6\u5939:["\u6587\u4EF6\u5939","Folder"],\u9078\u64C7\u6587\u4EF6\u5939:["\u9009\u62E9\u6587\u4EF6\u5939","Choose folder"],\u9078\u64C7\u6A19\u7C64:["\u9009\u62E9\u6807\u7B7E","Choose tags"],\u65B0\u589E\u6A19\u7C64:["\u6DFB\u52A0\u6807\u7B7E","Add tag"],\u65B0\u589E\u5C6C\u6027:["\u6DFB\u52A0\u5C5E\u6027","Add property"],"\u79FB\u9664 #{tag}":["\u79FB\u9664 #{tag}","Remove #{tag}"],\u6A19\u7C64:["\u6807\u7B7E","Tags"],\u5C6C\u6027:["\u5C5E\u6027","Properties"],"\u5EFA\u7ACB\u65BC {time}":["\u521B\u5EFA\u4E8E {time}","Created {time}"],"\u6700\u5F8C\u7DE8\u8F2F {time}":["\u6700\u540E\u7F16\u8F91 {time}","Last edited {time}"],\u7A7A:["\u7A7A","Empty"],"\u9019\u7A2E\u5C6C\u6027\u8ACB\u5728 Dinox \u4E2D\u7DE8\u8F2F":["\u8FD9\u79CD\u5C5E\u6027\u8BF7\u5728 Dinox \u4E2D\u7F16\u8F91","Edit this kind of property in Dinox"],"\u9078\u64C7\u9078\u9805\u2026":["\u9009\u62E9\u9009\u9879\u2026","Choose options\u2026"],"\u9078\u64C7\u4E00\u500B\u9078\u9805\u2026":["\u9009\u62E9\u4E00\u4E2A\u9009\u9879\u2026","Choose an option\u2026"],"\u6C92\u6709\u9078\u9805\uFF0C\u8ACB\u5728 Dinox \u4E2D\u70BA\u9019\u500B\u5C6C\u6027\u52A0\u5165\u9078\u9805":["\u6CA1\u6709\u9009\u9879\uFF0C\u8BF7\u5728 Dinox \u4E2D\u4E3A\u8FD9\u4E2A\u5C5E\u6027\u6DFB\u52A0\u9009\u9879","No options. Add some to this property in Dinox"],\u6E05\u9664:["\u6E05\u9664","Clear"],\u6E05\u9664\u503C:["\u6E05\u9664\u503C","Clear value"],\u5F9E\u9019\u5247\u7B46\u8A18\u79FB\u9664:["\u4ECE\u8FD9\u5219\u7B14\u8BB0\u79FB\u9664","Remove from this note"],"\u9019\u5247\u7B46\u8A18\u7684\u5C6C\u6027\u8CC7\u6599\u7121\u6CD5\u8B80\u53D6\uFF0C\u8ACB\u5728 Dinox \u4E2D\u4FEE\u5FA9":["\u8FD9\u5219\u7B14\u8BB0\u7684\u5C5E\u6027\u6570\u636E\u65E0\u6CD5\u8BFB\u53D6\uFF0C\u8BF7\u5728 Dinox \u4E2D\u4FEE\u590D","This note's properties cannot be read. Fix them in Dinox"],"\u641C\u5C0B\u5C6C\u6027\u2026":["\u641C\u7D22\u5C5E\u6027\u2026","Search properties\u2026"],\u6C92\u6709\u7B26\u5408\u7684\u5C6C\u6027:["\u6CA1\u6709\u7B26\u5408\u7684\u5C5E\u6027","No matching properties"],"\u9084\u6C92\u6709\u5C6C\u6027\u3002\u8ACB\u5148\u5728 Dinox \u4E2D\u5EFA\u7ACB\u5C6C\u6027":["\u8FD8\u6CA1\u6709\u5C5E\u6027\u3002\u8BF7\u5148\u5728 Dinox \u4E2D\u521B\u5EFA\u5C5E\u6027","No properties yet. Create one in Dinox first"],"\u7121\u6CD5\u8F09\u5165\u5C6C\u6027\uFF1A{error}":["\u65E0\u6CD5\u52A0\u8F7D\u5C5E\u6027\uFF1A{error}","Could not load properties: {error}"],"\u641C\u5C0B\u6216\u5EFA\u7ACB\u6A19\u7C64\u2026":["\u641C\u7D22\u6216\u521B\u5EFA\u6807\u7B7E\u2026","Search or create a tag\u2026"],"\u5EFA\u7ACB\u300C#{name}\u300D":["\u521B\u5EFA\u300C#{name}\u300D",'Create "#{name}"'],"\u7121\u6CD5\u8F09\u5165\u6A19\u7C64\uFF1A{error}":["\u65E0\u6CD5\u52A0\u8F7D\u6807\u7B7E\uFF1A{error}","Could not load tags: {error}"],"\u641C\u5C0B\u6587\u4EF6\u5939\u2026":["\u641C\u7D22\u6587\u4EF6\u5939\u2026","Search folders\u2026"],\u6C92\u6709\u7B26\u5408\u7684\u6587\u4EF6\u5939:["\u6CA1\u6709\u7B26\u5408\u7684\u6587\u4EF6\u5939","No matching folders"],\u9084\u6C92\u6709\u6587\u4EF6\u5939:["\u8FD8\u6CA1\u6709\u6587\u4EF6\u5939","No folders yet"],\u79FB\u51FA\u6587\u4EF6\u5939:["\u79FB\u51FA\u6587\u4EF6\u5939","Remove from folder"],"\u7121\u6CD5\u8F09\u5165\u6587\u4EF6\u5939\uFF1A{error}":["\u65E0\u6CD5\u52A0\u8F7D\u6587\u4EF6\u5939\uFF1A{error}","Could not load folders: {error}"],\u6C92\u6709\u7B26\u5408\u7684\u9805\u76EE:["\u6CA1\u6709\u7B26\u5408\u7684\u9879\u76EE","No matches"],\u672A\u77E5\u6587\u4EF6\u5939:["\u672A\u77E5\u6587\u4EF6\u5939","Unknown folder"],\u5716\u8868\u8F38\u51FA\u542B\u6709\u4E0D\u5B89\u5168\u7684\u5167\u5BB9:["\u56FE\u8868\u8F93\u51FA\u542B\u6709\u4E0D\u5B89\u5168\u7684\u5185\u5BB9","The diagram output contains unsafe content"],"\u7121\u6CD5\u7E6A\u88FD\u9019\u5F35\u5716\u8868\uFF1A{error}":["\u65E0\u6CD5\u7ED8\u5236\u8FD9\u5F20\u56FE\u8868\uFF1A{error}","Could not draw this diagram: {error}"],"\u7A7A\u767D\u7684 Mermaid \u5716\u8868":["\u7A7A\u767D\u7684 Mermaid \u56FE\u8868","Empty Mermaid diagram"],\u7B46\u8A18:["\u7B14\u8BB0","Note"],\u4F4D\u7F6E:["\u4F4D\u7F6E","Location"],\u6642\u9593:["\u65F6\u95F4","Time"],\u5FC3\u667A\u5716:["\u601D\u7EF4\u5BFC\u56FE","Mind map"],\u97F3\u8A0A:["\u97F3\u9891","Audio"],\u97F3\u8A0A\u7247\u6BB5:["\u97F3\u9891\u7247\u6BB5","Audio clip"],\u5F71\u7247:["\u89C6\u9891","Video"],\u6A94\u6848:["\u6587\u4EF6","File"],\u5716\u7247:["\u56FE\u7247","Image"],\u7DB2\u9801\u66F8\u7C64:["\u7F51\u9875\u4E66\u7B7E","Web bookmark"],\u5167\u5D4C\u7DB2\u9801:["\u5185\u5D4C\u7F51\u9875","Embedded page"],"PDF \u8A3B\u8A18":["PDF \u6CE8\u91CA","PDF annotation"],\u647A\u758A\u5340\u584A:["\u6298\u53E0\u533A\u5757","Toggle block"],\u516C\u5F0F:["\u516C\u5F0F","Equation"],\u76EE\u9304:["\u76EE\u5F55","Table of contents"],\u5206\u6B04:["\u5206\u680F","Columns"],\u820A\u7248\u5340\u584A:["\u65E7\u7248\u533A\u5757","Legacy block"],"\u9019\u500B\u5340\u584A\u8ACB\u5728 Dinox \u4E2D\u7DE8\u8F2F\uFF1B\u5B58\u6A94\u6642\u6703\u539F\u6A23\u4FDD\u7559":["\u8FD9\u4E2A\u533A\u5757\u8BF7\u5728 Dinox \u4E2D\u7F16\u8F91\uFF1B\u4FDD\u5B58\u65F6\u4F1A\u539F\u6837\u4FDD\u7559","Edit this block in Dinox; it is kept as is when you save"],\u525B\u525B:["\u521A\u521A","just now"],"{n} \u5206\u9418\u524D":["{n} \u5206\u949F\u524D","{n} min ago"],"{n} \u5C0F\u6642\u524D":["{n} \u5C0F\u65F6\u524D","{n} h ago"],"Dinox \u7DE8\u8F2F\u5668\u6C92\u6709\u56DE\u61C9\uFF08HTTP {status}\uFF09":["Dinox \u7F16\u8F91\u5668\u6CA1\u6709\u54CD\u5E94\uFF08HTTP {status}\uFF09","The Dinox editor did not respond (HTTP {status})"],"Dinox \u7DE8\u8F2F\u5668\u56DE\u61C9\u903E\u6642":["Dinox \u7F16\u8F91\u5668\u54CD\u5E94\u8D85\u65F6","The Dinox editor timed out"],\u627E\u4E0D\u5230\u9019\u500B\u5C0D\u8A71:["\u627E\u4E0D\u5230\u8FD9\u4E2A\u5BF9\u8BDD","This conversation was not found"],"Dinox \u7B46\u8A18":["Dinox \u7B14\u8BB0","Dinox notes"],"\u548C AI \u4E00\u8D77\u7DE8\u8F2F Dinox \u7B46\u8A18\uFF1AAI \u63D0\u51FA\u5EFA\u8B70\uFF0C\u7531\u4F60\u63A5\u53D7\u5F8C\u81EA\u52D5\u5132\u5B58\u3002":["\u548C AI \u4E00\u8D77\u7F16\u8F91 Dinox \u7B14\u8BB0\uFF1AAI \u63D0\u51FA\u5EFA\u8BAE\uFF0C\u7531\u4F60\u63A5\u53D7\u540E\u81EA\u52A8\u4FDD\u5B58\u3002","Edit Dinox notes with the AI: it suggests, you accept, and the note saves itself."],"\u958B\u555F\u4E86\u300C{title}\u300D":["\u6253\u5F00\u4E86\u300C{title}\u300D",'Opened "{title}"'],\u6B63\u5728\u95B1\u8B80\u7B46\u8A18:["\u6B63\u5728\u9605\u8BFB\u7B14\u8BB0","Reading the note"],\u6B63\u5728\u770B\u4F60\u525B\u624D\u7684\u4FEE\u6539:["\u6B63\u5728\u770B\u4F60\u521A\u624D\u7684\u4FEE\u6539","Looking at your latest edits"],"\u63D0\u51FA\u4E86{list}":["\u63D0\u51FA\u4E86{list}","Suggested {list}"],"{n} \u8655\u4FEE\u6539":["{n} \u5904\u4FEE\u6539","{n} edit(s)"],"{n} \u6BB5\u65B0\u589E":["{n} \u6BB5\u65B0\u589E","{n} addition(s)"],"{n} \u5247\u8A3B\u89E3":["{n} \u6761\u6CE8\u89E3","{n} comment(s)"],\u9019\u5247\u7B46\u8A18\u5728\u5225\u8655\u88AB\u4FEE\u6539\u4E86:["\u8FD9\u5219\u7B14\u8BB0\u5728\u522B\u5904\u88AB\u4FEE\u6539\u4E86","This note changed elsewhere"],"\u63A1\u7D0D\u4E86 AI \u7684\u8A3B\u89E3":["\u91C7\u7EB3\u4E86 AI \u7684\u6CE8\u89E3","Took the AI's comment"],"\u7565\u904E\u4E86 AI \u7684\u8A3B\u89E3":["\u5FFD\u7565\u4E86 AI \u7684\u6CE8\u89E3","Dismissed the AI's comment"],"\u63A5\u53D7\u4E86 AI \u7684\u5EFA\u8B70":["\u63A5\u53D7\u4E86 AI \u7684\u5EFA\u8BAE","Accepted the AI's suggestion"],"\u7565\u904E\u4E86 AI \u7684\u5EFA\u8B70":["\u5FFD\u7565\u4E86 AI \u7684\u5EFA\u8BAE","Dismissed the AI's suggestion"],"\u5225\u8655\u6709\u65B0\u7684\u7248\u672C\uFF0C\u8207\u4F60\u7684\u4FEE\u6539\u885D\u7A81":["\u522B\u5904\u6709\u65B0\u7684\u7248\u672C\uFF0C\u4E0E\u4F60\u7684\u4FEE\u6539\u51B2\u7A81","A newer version elsewhere conflicts with your edits"],"{clauses}":["{clauses}","{clauses}"],"\u628A\u6A19\u984C\u6539\u6210\u300C{title}\u300D":["\u628A\u6807\u9898\u6539\u6210\u300C{title}\u300D",'Renamed it to "{title}"'],"\u52A0\u4E0A\u6A19\u7C64 {tags}":["\u52A0\u4E0A\u6807\u7B7E {tags}","Added {tags}"],"\u79FB\u9664\u6A19\u7C64 {tags}":["\u79FB\u9664\u6807\u7B7E {tags}","Removed {tags}"],"\u79FB\u5230\u6587\u4EF6\u5939\u300C{boxes}\u300D":["\u79FB\u5230\u6587\u4EF6\u5939\u300C{boxes}\u300D",'Moved it to "{boxes}"'],\u79FB\u51FA\u4E86\u6587\u4EF6\u5939:["\u79FB\u51FA\u4E86\u6587\u4EF6\u5939","Took it out of its folder"],\u52A0\u4E0A\u661F\u6A19:["\u52A0\u4E0A\u661F\u6807","Starred it"],\u53D6\u6D88\u661F\u6A19:["\u53D6\u6D88\u661F\u6807","Unstarred it"],\u66F4\u65B0\u4E86\u5C6C\u6027:["\u66F4\u65B0\u4E86\u5C5E\u6027","Updated properties"],\u89E3\u91CB\u7A0B\u5F0F\u78BC:["\u89E3\u91CA\u4EE3\u7801","Explain code"],\u627E\u51FA\u554F\u984C:["\u627E\u51FA\u95EE\u9898","Find problems"],\u5728\u4E0B\u65B9\u5BEB\u4E00\u6BB5\u8AAA\u660E:["\u5728\u4E0B\u65B9\u5199\u4E00\u6BB5\u8BF4\u660E","Write a note below"],\u89E3\u91CB\u9019\u6BB5\u7A0B\u5F0F\u78BC\u5728\u505A\u4EC0\u9EBC:["\u89E3\u91CA\u8FD9\u6BB5\u4EE3\u7801\u5728\u505A\u4EC0\u4E48","Explain what this code does"],\u5E6B\u6211\u770B\u770B\u9019\u6BB5\u7A0B\u5F0F\u78BC\u6709\u54EA\u4E9B\u932F\u8AA4\u6216\u53EF\u4EE5\u6539\u9032\u7684\u5730\u65B9:["\u5E2E\u6211\u770B\u770B\u8FD9\u6BB5\u4EE3\u7801\u6709\u54EA\u4E9B\u9519\u8BEF\u6216\u53EF\u4EE5\u6539\u8FDB\u7684\u5730\u65B9","Point out bugs or things to improve in this code"],\u5E6B\u9019\u6BB5\u7A0B\u5F0F\u78BC\u52A0\u4E0A\u6E05\u695A\u7684\u8A3B\u89E3:["\u5E2E\u8FD9\u6BB5\u4EE3\u7801\u52A0\u4E0A\u6E05\u695A\u7684\u6CE8\u91CA","Add clear comments to this code"],"\u5E6B\u6211\u628A\u9019\u6BB5\u7A0B\u5F0F\u78BC\u6539\u5F97\u66F4\u6E05\u695A\u3001\u66F4\u597D\u7DAD\u8B77\uFF0C\u884C\u70BA\u4FDD\u6301\u4E0D\u8B8A":["\u5E2E\u6211\u628A\u8FD9\u6BB5\u4EE3\u7801\u6539\u5F97\u66F4\u6E05\u695A\u3001\u66F4\u597D\u7EF4\u62A4\uFF0C\u884C\u4E3A\u4FDD\u6301\u4E0D\u53D8","Make this code clearer and easier to maintain without changing what it does"],\u89E3\u91CB\u9019\u500B\u5340\u584A\u5728\u8AAA\u4EC0\u9EBC:["\u89E3\u91CA\u8FD9\u4E2A\u533A\u5757\u5728\u8BF4\u4EC0\u4E48","Explain what this block is about"],\u5728\u9019\u500B\u5340\u584A\u4E0B\u65B9\u5BEB\u4E00\u6BB5\u8AAA\u660E:["\u5728\u8FD9\u4E2A\u533A\u5757\u4E0B\u65B9\u5199\u4E00\u6BB5\u8BF4\u660E","Write a note about this block below it"],\u5E6B\u6211\u770B\u770B\u9019\u500B\u5340\u584A\u6709\u4EC0\u9EBC\u53EF\u4EE5\u6539\u9032:["\u5E2E\u6211\u770B\u770B\u8FD9\u4E2A\u533A\u5757\u6709\u4EC0\u4E48\u53EF\u4EE5\u6539\u8FDB","Point out what could be better in this block"],"\u554F AI \u95DC\u65BC\u9019\u500B\u5340\u584A\u2026":["\u95EE AI \u5173\u4E8E\u8FD9\u4E2A\u533A\u5757\u2026","Ask AI about this block\u2026"],"\u8B93 AI \u8655\u7406\u9019\u6BB5\u7A0B\u5F0F\u78BC\u2026":["\u8BA9 AI \u5904\u7406\u8FD9\u6BB5\u4EE3\u7801\u2026","Ask AI to work on this code\u2026"],\u9019\u500B\u5340\u584A:["\u8FD9\u4E2A\u533A\u5757","This block"],\u4FEE\u6539\u7A0B\u5F0F\u78BC:["\u4FEE\u6539\u4EE3\u7801","Edit code"],\u52A0\u4E0A\u8A3B\u89E3:["\u52A0\u4E0A\u6CE8\u91CA","Add comments"],\u6539\u5584\u7A0B\u5F0F\u78BC:["\u6539\u8FDB\u4EE3\u7801","Improve code"],\u6253\u958B\u4E86\u5F85\u8FA6\u6E05\u55AE:["\u6253\u5F00\u4E86\u5F85\u529E\u6E05\u5355","Showed the task list"],"\u66F4\u65B0\u4E86 {n} \u500B\u5F85\u8FA6":["\u66F4\u65B0\u4E86 {n} \u4E2A\u5F85\u529E","Updated {n} tasks"],"\u65B0\u589E\u4E86 {n} \u500B\u5F85\u8FA6":["\u65B0\u589E\u4E86 {n} \u4E2A\u5F85\u529E","Added {n} tasks"],"\u5FA9\u539F\u4E86 {n} \u500B\u5F85\u8FA6":["\u64A4\u9500\u4E86 {n} \u4E2A\u5F85\u529E\u7684\u4FEE\u6539","Undid changes to {n} tasks"],\u5F85\u8FA6:["\u5F85\u529E","Tasks"],\u56DE\u5230\u7B46\u8A18:["\u56DE\u5230\u7B14\u8BB0","Back to the note"],\u672A\u5B8C\u6210:["\u672A\u5B8C\u6210","Open"],\u5DF2\u5B8C\u6210:["\u5DF2\u5B8C\u6210","Done"],\u5168\u90E8:["\u5168\u90E8","All"],\u4EFB\u52D9\u72C0\u614B:["\u4EFB\u52A1\u72B6\u6001","Task status"],\u4F9D\u65E5\u671F:["\u6309\u65E5\u671F","By date"],\u4F9D\u7B46\u8A18:["\u6309\u7B14\u8BB0","By note"],\u5206\u7D44\u65B9\u5F0F:["\u5206\u7EC4\u65B9\u5F0F","Grouping"],"\u641C\u5C0B\u4EFB\u52D9\u2026":["\u641C\u7D22\u4EFB\u52A1\u2026","Search tasks\u2026"],\u641C\u5C0B\u4EFB\u52D9:["\u641C\u7D22\u4EFB\u52A1","Search tasks"],\u91CD\u65B0\u6574\u7406:["\u5237\u65B0","Refresh"],\u9078\u64C7\u65E5\u671F:["\u9009\u62E9\u65E5\u671F","Pick a date"],\u7121\u6CD5\u8F09\u5165\u5F85\u8FA6:["\u65E0\u6CD5\u52A0\u8F7D\u5F85\u529E","Couldn't load tasks"],\u79FB\u9664\u7BE9\u9078:["\u79FB\u9664\u7B5B\u9009","Remove filter"],"{n} \u9805":["{n} \u9879","{n}"],\u6C92\u6709\u7B26\u5408\u7BE9\u9078\u7684\u4EFB\u52D9:["\u6CA1\u6709\u7B26\u5408\u7B5B\u9009\u7684\u4EFB\u52A1","No tasks match these filters"],\u9084\u6C92\u6709\u5B8C\u6210\u7684\u4EFB\u52D9:["\u8FD8\u6CA1\u6709\u5B8C\u6210\u7684\u4EFB\u52A1","No finished tasks yet"],"\u6C92\u6709\u5F85\u8FA6\uFF0C\u4EAB\u53D7\u4E00\u4E0B\u5427":["\u6CA1\u6709\u5F85\u529E\uFF0C\u4EAB\u53D7\u4E00\u4E0B\u5427","Nothing to do. Enjoy it."],"\u53EA\u986F\u793A\u524D {n} \u9805\uFF0C\u7528\u641C\u5C0B\u6216\u7BE9\u9078\u7E2E\u5C0F\u7BC4\u570D":["\u53EA\u663E\u793A\u524D {n} \u9879\uFF0C\u7528\u641C\u7D22\u6216\u7B5B\u9009\u7F29\u5C0F\u8303\u56F4","Showing the first {n}. Search or filter to narrow it down."],\u672A\u6392\u7A0B:["\u672A\u6392\u671F","No date"],\u66F4\u65E9:["\u66F4\u65E9","Earlier"],\u5DF2\u903E\u671F:["\u5DF2\u903E\u671F","Overdue"],\u4ECA\u5929:["\u4ECA\u5929","Today"],\u660E\u5929:["\u660E\u5929","Tomorrow"],\u6628\u5929:["\u6628\u5929","Yesterday"],\u672A\u4F86\u4E03\u5929:["\u672A\u6765\u4E03\u5929","Next 7 days"],\u4E4B\u5F8C:["\u4E4B\u540E","Later"],\u6A19\u8A18\u70BA\u672A\u5B8C\u6210:["\u6807\u8BB0\u4E3A\u672A\u5B8C\u6210","Mark as not done"],\u6A19\u8A18\u70BA\u5B8C\u6210:["\u6807\u8BB0\u4E3A\u5B8C\u6210","Mark as done"],\u66F4\u6539\u65E5\u671F:["\u66F4\u6539\u65E5\u671F","Change date"],\u5728\u7B46\u8A18\u4E2D\u958B\u555F:["\u5728\u7B14\u8BB0\u4E2D\u6253\u5F00","Open in note"],"\uFF08\u7A7A\u767D\u4EFB\u52D9\uFF09":["\uFF08\u7A7A\u767D\u4EFB\u52A1\uFF09","(empty task)"],\u512A\u5148\u7D1A:["\u4F18\u5148\u7EA7","Priority"],"\u65B0\u589E\u5F85\u8FA6\uFF0C\u4F8B\u5982\u300C\u660E\u5929\u4E0B\u53483\u9EDE \u4EA4\u5831\u544A !!\u300D":["\u65B0\u589E\u5F85\u529E\uFF0C\u4F8B\u5982\u300C\u660E\u5929\u4E0B\u53483\u70B9 \u4EA4\u62A5\u544A !!\u300D",'Add a task, e.g. "tomorrow 3pm send report !!"'],\u65B0\u589E\u5F85\u8FA6:["\u65B0\u589E\u5F85\u529E","Add a task"],\u52A0\u5230\u4ECA\u65E5\u5F85\u8FA6:["\u52A0\u5230\u4ECA\u65E5\u5F85\u529E","to today"],\u4ECA\u65E5\u5F85\u8FA6:["\u4ECA\u65E5\u5F85\u529E","Today's tasks"],"\u5DF2\u52A0\u5230\u300C{title}\u300D":["\u5DF2\u52A0\u5230\u300C{title}\u300D",'Added to "{title}"'],"\u5DF2\u628A {n} \u500B\u5F85\u8FA6\u52A0\u5230\u300C{title}\u300D":["\u5DF2\u628A {n} \u4E2A\u5F85\u529E\u52A0\u5230\u300C{title}\u300D",'Added {n} tasks to "{title}"'],"\u4E00\u6B21\u6700\u591A\u65B0\u589E {n} \u500B\u5F85\u8FA6":["\u4E00\u6B21\u6700\u591A\u65B0\u589E {n} \u4E2A\u5F85\u529E","Up to {n} tasks at a time"],"\u5F9E\u300C{words}\u300D\u8FA8\u8B58":["\u4ECE\u300C{words}\u300D\u8BC6\u522B",'From "{words}"'],\u7576\u4F5C\u6587\u5B57:["\u5F53\u4F5C\u6587\u5B57","Keep as text"],\u9375\u76E4\u5FEB\u901F\u9375:["\u952E\u76D8\u5FEB\u6377\u952E","Keyboard shortcuts"],\u4E0A\u4E0B\u79FB\u52D5:["\u4E0A\u4E0B\u79FB\u52A8","Move up / down"],"\u5B8C\u6210\uFF0F\u53D6\u6D88":["\u5B8C\u6210\uFF0F\u53D6\u6D88","Complete / reopen"],"\u9AD8\uFF0F\u4E2D\uFF0F\u4F4E\uFF0F\u7121\u512A\u5148\u7D1A":["\u9AD8\uFF0F\u4E2D\uFF0F\u4F4E\uFF0F\u65E0\u4F18\u5148\u7EA7","High / medium / low / no priority"],"\u4ECA\u5929\uFF0F\u660E\u5929\uFF0F\u4E0B\u9031\u4E00":["\u4ECA\u5929\uFF0F\u660E\u5929\uFF0F\u4E0B\u5468\u4E00","Today / tomorrow / next Monday"],\u5FA9\u539F:["\u64A4\u9500","Undo"],"\u554F AI \u95DC\u65BC\u9019\u500B\u5F85\u8FA6\u2026":["\u95EE AI \u5173\u4E8E\u8FD9\u4E2A\u5F85\u529E\u2026","Ask AI about this task\u2026"],"\u554F AI \u95DC\u65BC\u9019\u500B\u5F85\u8FA6":["\u95EE AI \u5173\u4E8E\u8FD9\u4E2A\u5F85\u529E","Ask AI about this task"],"AI \u6B63\u5728\u62C6\u89E3\u2026":["AI \u6B63\u5728\u62C6\u89E3\u2026","AI is breaking it down\u2026"],"\u5728\u300C{note}\u300D\u4E2D\u958B\u555F":["\u5728\u300C{note}\u300D\u4E2D\u6253\u5F00","Open in \u201C{note}\u201D"],"AI \u5EFA\u8B70\u7684\u5B50\u5F85\u8FA6":["AI \u5EFA\u8BAE\u7684\u5B50\u5F85\u529E","Subtasks suggested by AI"],"AI \u5EFA\u8B70\u7684\u5B50\u5F85\u8FA6\uFF08\u539F\u4EFB\u52D9\u4E0D\u5728\u76EE\u524D\u7684\u6E05\u55AE\u88E1\uFF09":["AI \u5EFA\u8BAE\u7684\u5B50\u5F85\u529E\uFF08\u539F\u4EFB\u52A1\u4E0D\u5728\u5F53\u524D\u6E05\u5355\u91CC\uFF09","Subtasks suggested by AI (their task is not in this list)"],\u653E\u56DE\u4F86:["\u653E\u56DE\u6765","Put back"],\u4E0D\u8981\u9019\u500B:["\u4E0D\u8981\u8FD9\u4E2A","Leave this out"],"\u52A0\u5165 1 \u500B\u5B50\u5F85\u8FA6":["\u52A0\u5165 1 \u4E2A\u5B50\u5F85\u529E","Add 1 subtask"],"\u52A0\u5165 {n} \u500B\u5B50\u5F85\u8FA6":["\u52A0\u5165 {n} \u4E2A\u5B50\u5F85\u529E","Add {n} subtasks"],\u6368\u68C4:["\u820D\u5F03","Discard"],"\u8ACB AI \u91CD\u65B0\u62C6\u89E3":["\u8BF7 AI \u91CD\u65B0\u62C6\u89E3","Ask AI for another breakdown"],\u63DB\u4E00\u7D44:["\u6362\u4E00\u7EC4","Try again"],"\u5DF2\u52A0\u5165 1 \u500B\u5B50\u5F85\u8FA6":["\u5DF2\u52A0\u5165 1 \u4E2A\u5B50\u5F85\u529E","Added 1 subtask"],"\u5DF2\u52A0\u5165 {n} \u500B\u5B50\u5F85\u8FA6":["\u5DF2\u52A0\u5165 {n} \u4E2A\u5B50\u5F85\u529E","Added {n} subtasks"],"\u5DF2\u4EA4\u7D66 AI\uFF0C\u5EFA\u8B70\u7684\u5B50\u5F85\u8FA6\u6703\u51FA\u73FE\u5728\u4EFB\u52D9\u4E0B\u65B9":["\u5DF2\u4EA4\u7ED9 AI\uFF0C\u5EFA\u8BAE\u7684\u5B50\u5F85\u529E\u4F1A\u51FA\u73B0\u5728\u4EFB\u52A1\u4E0B\u65B9","Sent to AI. Suggested subtasks will appear under the task"],"\u5DF2\u4EA4\u7D66 AI\uFF0C\u56DE\u8986\u6703\u51FA\u73FE\u5728\u5C0D\u8A71\u88E1":["\u5DF2\u4EA4\u7ED9 AI\uFF0C\u56DE\u590D\u4F1A\u51FA\u73B0\u5728\u5BF9\u8BDD\u91CC","Sent to AI. The answer will appear in the chat"],\u62C6\u89E3\u6210\u5B50\u5F85\u8FA6:["\u62C6\u89E3\u6210\u5B50\u5F85\u529E","Break into subtasks"],\u600E\u9EBC\u843D\u5730:["\u600E\u4E48\u843D\u5730","How to get it done"],\u7B2C\u4E00\u6B65\u505A\u4EC0\u9EBC:["\u7B2C\u4E00\u6B65\u505A\u4EC0\u4E48","What to do first"],\u53EF\u80FD\u5361\u5728\u54EA\u88E1:["\u53EF\u80FD\u5361\u5728\u54EA\u91CC","Where it might get stuck"],"\u5E6B\u6211\u628A\u9019\u500B\u5F85\u8FA6\u62C6\u6210\u5E7E\u500B\u5177\u9AD4\u3001\u53EF\u4EE5\u76F4\u63A5\u52D5\u624B\u7684\u5B50\u5F85\u8FA6":["\u5E2E\u6211\u628A\u8FD9\u4E2A\u5F85\u529E\u62C6\u6210\u51E0\u4E2A\u5177\u4F53\u3001\u53EF\u4EE5\u76F4\u63A5\u52A8\u624B\u7684\u5B50\u5F85\u529E","Break this task into a few concrete subtasks I can start on right away"],"\u9019\u500B\u5F85\u8FA6\u8981\u600E\u9EBC\u843D\u5730\uFF1F\u7D66\u6211\u5177\u9AD4\u7684\u505A\u6CD5\u548C\u6B65\u9A5F":["\u8FD9\u4E2A\u5F85\u529E\u8981\u600E\u4E48\u843D\u5730\uFF1F\u7ED9\u6211\u5177\u4F53\u7684\u505A\u6CD5\u548C\u6B65\u9AA4","How do I get this task done? Give me concrete steps"],"\u9019\u500B\u5F85\u8FA6\u6211\u73FE\u5728\u7B2C\u4E00\u6B65\u8A72\u505A\u4EC0\u9EBC\uFF1F":["\u8FD9\u4E2A\u5F85\u529E\u6211\u73B0\u5728\u7B2C\u4E00\u6B65\u8BE5\u505A\u4EC0\u4E48\uFF1F","What should I do first for this task?"],"\u505A\u9019\u500B\u5F85\u8FA6\u53EF\u80FD\u6703\u5361\u5728\u54EA\u88E1\uFF1F\u8981\u5148\u6E96\u5099\u4EC0\u9EBC\uFF1F":["\u505A\u8FD9\u4E2A\u5F85\u529E\u53EF\u80FD\u4F1A\u5361\u5728\u54EA\u91CC\uFF1F\u8981\u5148\u51C6\u5907\u4EC0\u4E48\uFF1F","Where might this task get stuck, and what should I prepare first?"],"\u8ACB\u7D50\u5408\u4F60\u77E5\u9053\u7684\u4E00\u5207\uFF08\u5C0D\u8A71\u3001\u4F60\u7684\u8A18\u61B6\u3001\u5C08\u6848\u8CC7\u6599\u3001\u6211\u5728 Dinox \u7684\u7B46\u8A18\uFF09\uFF0C\u7D66\u8CBC\u5408\u6211\u5BE6\u969B\u60C5\u6CC1\u7684\u5EFA\u8B70\u3002":["\u8BF7\u7ED3\u5408\u4F60\u77E5\u9053\u7684\u4E00\u5207\uFF08\u5BF9\u8BDD\u3001\u4F60\u7684\u8BB0\u5FC6\u3001\u9879\u76EE\u8D44\u6599\u3001\u6211\u5728 Dinox \u7684\u7B14\u8BB0\uFF09\uFF0C\u7ED9\u8D34\u5408\u6211\u5B9E\u9645\u60C5\u51B5\u7684\u5EFA\u8BAE\u3002","Draw on everything you know (this conversation, your memory, project files, my Dinox notes) so the advice fits my situation."],"\u8ACB\u7528 dinox_todo_suggest \u63D0\u51FA\u5B50\u5F85\u8FA6\uFF08\u6BCF\u500B\u662F\u4E00\u500B\u5177\u9AD4\u52D5\u4F5C\uFF0C\u5FC5\u8981\u6642\u5E36\u65E5\u671F\u6216\u512A\u5148\u7D1A\uFF0C\u4E26\u7528\u4E00\u53E5\u8A71\u8AAA\u660E\u601D\u8DEF\uFF09\uFF0C\u6211\u6703\u5728\u5F85\u8FA6\u6E05\u55AE\u88E1\u78BA\u8A8D\u5F8C\u518D\u52A0\u5165\u3002\u4E0D\u7528\u5728\u5C0D\u8A71\u88E1\u91CD\u8907\u5217\u51FA\u3002":["\u8BF7\u7528 dinox_todo_suggest \u63D0\u51FA\u5B50\u5F85\u529E\uFF08\u6BCF\u4E2A\u662F\u4E00\u4E2A\u5177\u4F53\u52A8\u4F5C\uFF0C\u5FC5\u8981\u65F6\u5E26\u65E5\u671F\u6216\u4F18\u5148\u7EA7\uFF0C\u5E76\u7528\u4E00\u53E5\u8BDD\u8BF4\u660E\u601D\u8DEF\uFF09\uFF0C\u6211\u4F1A\u5728\u5F85\u529E\u6E05\u5355\u91CC\u786E\u8BA4\u540E\u518D\u52A0\u5165\u3002\u4E0D\u7528\u5728\u5BF9\u8BDD\u91CC\u91CD\u590D\u5217\u51FA\u3002","Please propose the subtasks with dinox_todo_suggest (each one a concrete action, with a date or priority when useful, plus one sentence on the approach); I will confirm them in the task list. No need to repeat them in the chat."],"\u76F4\u63A5\u5728\u5C0D\u8A71\u88E1\u56DE\u7B54\u3002\u5982\u679C\u9069\u5408\u62C6\u6210\u5B50\u5F85\u8FA6\uFF0C\u4E5F\u53EF\u4EE5\u7528 dinox_todo_suggest \u63D0\u51FA\uFF0C\u6211\u6703\u5728\u5F85\u8FA6\u6E05\u55AE\u88E1\u78BA\u8A8D\u3002":["\u76F4\u63A5\u5728\u5BF9\u8BDD\u91CC\u56DE\u7B54\u3002\u5982\u679C\u9002\u5408\u62C6\u6210\u5B50\u5F85\u529E\uFF0C\u4E5F\u53EF\u4EE5\u7528 dinox_todo_suggest \u63D0\u51FA\uFF0C\u6211\u4F1A\u5728\u5F85\u529E\u6E05\u5355\u91CC\u786E\u8BA4\u3002","Answer in the chat. If it fits, you can also propose subtasks with dinox_todo_suggest; I will confirm them in the task list."],"\u4EFB\u52D9 id\uFF1A{id}":["\u4EFB\u52A1 id\uFF1A{id}","task id: {id}"],"\u7B46\u8A18 id\uFF1A{id}":["\u7B14\u8BB0 id\uFF1A{id}","note id: {id}"],"\u5728\u7B46\u8A18\u300C{title}\u300D\u88E1":["\u5728\u7B14\u8BB0\u300C{title}\u300D\u91CC","in the note \u201C{title}\u201D"],"\u622A\u6B62\uFF1A{due}":["\u622A\u6B62\uFF1A{due}","due {due}"],"\u5DF2\u6709\u5B50\u5F85\u8FA6\uFF1A{list}":["\u5DF2\u6709\u5B50\u5F85\u529E\uFF1A{list}","existing subtasks: {list}"],"\uFF0C":["\uFF0C",", "],"\uFF08{facts}\uFF09":["\uFF08{facts}\uFF09","({facts})"],"\u5EFA\u8B70\u4E86 {n} \u500B\u5B50\u5F85\u8FA6":["\u5EFA\u8BAE\u4E86 {n} \u4E2A\u5B50\u5F85\u529E","Suggested {n} subtasks"],"\u52A0\u5165\u4E86 {n} \u500B\u5B50\u5F85\u8FA6":["\u52A0\u5165\u4E86 {n} \u4E2A\u5B50\u5F85\u529E","Added {n} subtasks"],"\u6368\u68C4\u4E86 AI \u5EFA\u8B70\u7684\u5B50\u5F85\u8FA6":["\u820D\u5F03\u4E86 AI \u5EFA\u8BAE\u7684\u5B50\u5F85\u529E","Discarded the suggested subtasks"],\u4EFB\u52D9\u6587\u5B57:["\u4EFB\u52A1\u6587\u5B57","Task text"],\u7DE8\u8F2F\u6587\u5B57:["\u7F16\u8F91\u6587\u5B57","Edit text"],\u4EFB\u52D9\u6587\u5B57\u4E0D\u80FD\u662F\u7A7A\u767D:["\u4EFB\u52A1\u6587\u5B57\u4E0D\u80FD\u4E3A\u7A7A","A task needs some words"],"\u5DF2\u66F4\u65B0\u300C{task}\u300D":["\u5DF2\u66F4\u65B0\u300C{task}\u300D","Updated \u201C{task}\u201D"],\u6C92\u6709\u53EF\u4EE5\u5FA9\u539F\u7684\u52D5\u4F5C:["\u6CA1\u6709\u53EF\u4EE5\u64A4\u9500\u7684\u64CD\u4F5C","Nothing to undo"],"\u5DF2\u5FA9\u539F\uFF1A{action}":["\u5DF2\u64A4\u9500\uFF1A{action}","Undone: {action}"],"\u5DF2\u5B8C\u6210\u300C{task}\u300D":["\u5DF2\u5B8C\u6210\u300C{task}\u300D",'Completed "{task}"'],"\u300C{task}\u300D\u6539\u56DE\u672A\u5B8C\u6210":["\u300C{task}\u300D\u6539\u56DE\u672A\u5B8C\u6210",'"{task}" reopened'],"\u300C{task}\u300D\u8A2D\u70BA{priority}":["\u300C{task}\u300D\u8BBE\u4E3A{priority}",'"{task}" set to {priority}'],"\u300C{task}\u300D\u5DF2\u79FB\u9664\u512A\u5148\u7D1A":["\u300C{task}\u300D\u5DF2\u79FB\u9664\u4F18\u5148\u7EA7",'Removed priority from "{task}"'],"\u300C{task}\u300D\u6539\u5230{date}":["\u300C{task}\u300D\u6539\u5230{date}",'"{task}" moved to {date}'],"\u300C{task}\u300D\u5DF2\u79FB\u9664\u65E5\u671F":["\u300C{task}\u300D\u5DF2\u79FB\u9664\u65E5\u671F",'Removed date from "{task}"'],\u8A2D\u5B9A\u65E5\u671F:["\u8BBE\u7F6E\u65E5\u671F","Set date"],\u9AD8:["\u9AD8","High"],\u4E2D:["\u4E2D","Medium"],\u4F4E:["\u4F4E","Low"],\u7121\u512A\u5148\u7D1A:["\u65E0\u4F18\u5148\u7EA7","No priority"],\u4E0B\u9031\u4E00:["\u4E0B\u5468\u4E00","Next Monday"],\u79FB\u9664\u65E5\u671F:["\u79FB\u9664\u65E5\u671F","Remove date"],"\u4F7F\u7528\u8005\u6B63\u5728 Dinox \u9762\u677F\u770B\u5F85\u8FA6\u6E05\u55AE\uFF08{scope}\uFF0C\u5171 {n} \u9805\uFF09\u3002":["\u7528\u6237\u6B63\u5728 Dinox \u9762\u677F\u770B\u5F85\u529E\u6E05\u5355\uFF08{scope}\uFF0C\u5171 {n} \u9879\uFF09\u3002","The user is looking at their task list in the Dinox panel ({scope}, {n} tasks)."],\u9AD8\u512A\u5148:["\u9AD8\u4F18\u5148","High priority"],\u4E2D\u512A\u5148:["\u4E2D\u4F18\u5148","Medium priority"],\u4F4E\u512A\u5148:["\u4F4E\u4F18\u5148","Low priority"],"{date} \u8D77":["{date} \u8D77","From {date}"],"\u5230 {date}":["\u5230 {date}","Until {date}"],\u8F49\u63DB\u70BA:["\u8F6C\u6362\u4E3A","Turn into"],\u984F\u8272\u8207\u5C0D\u9F4A:["\u989C\u8272\u4E0E\u5BF9\u9F50","Color and alignment"],\u7070\u8272:["\u7070\u8272","Gray"],\u68D5\u8272:["\u68D5\u8272","Brown"],\u6A58\u8272:["\u6A59\u8272","Orange"],\u9EC3\u8272:["\u9EC4\u8272","Yellow"],\u7DA0\u8272:["\u7EFF\u8272","Green"],\u85CD\u8272:["\u84DD\u8272","Blue"],\u7D2B\u8272:["\u7D2B\u8272","Purple"],\u7C89\u7D05\u8272:["\u7C89\u7EA2\u8272","Pink"],\u7D05\u8272:["\u7EA2\u8272","Red"],\u8CC7\u8A0A:["\u4FE1\u606F","Info"],\u63D0\u793A:["\u63D0\u793A","Tip"],\u91CD\u8981:["\u91CD\u8981","Important"],\u8B66\u544A:["\u8B66\u544A","Warning"],\u6CE8\u610F:["\u6CE8\u610F","Caution"],\u9023\u7D50\u5230\u7B46\u8A18:["\u94FE\u63A5\u5230\u7B14\u8BB0","Link to note"],\u5D4C\u5165\u7B46\u8A18\u5167\u5BB9:["\u5D4C\u5165\u7B14\u8BB0\u5185\u5BB9","Embed note content"],"\u300C{title}\u300D\u662F\u7A7A\u767D\u7684\u7B46\u8A18":["\u300C{title}\u300D\u662F\u7A7A\u767D\u7684\u7B14\u8BB0",'"{title}" is an empty note'],"\u65B0\u589E\u6A19\u7C64\u300C{tag}\u300D":["\u65B0\u5EFA\u6807\u7B7E\u300C{tag}\u300D",'New tag "{tag}"'],\u9032\u968E\u5340\u584A:["\u9AD8\u7EA7\u533A\u5757","Advanced blocks"],\u63D0\u793A\u6846:["\u63D0\u793A\u6846","Callout"],\u5D4C\u5165\u7B46\u8A18:["\u5D4C\u5165\u7B14\u8BB0","Embed note"],\u96D9\u5411\u9023\u7D50:["\u53CC\u5411\u94FE\u63A5","Backlink"],\u8868\u60C5\u7B26\u865F:["\u8868\u60C5\u7B26\u53F7","Emoji"],\u76EE\u524D\u6642\u9593:["\u5F53\u524D\u65F6\u95F4","Current time"],\u4ECA\u5929\u65E5\u671F:["\u4ECA\u5929\u65E5\u671F","Today's date"],\u884C\u5167\u516C\u5F0F:["\u884C\u5185\u516C\u5F0F","Inline math"],\u5340\u584A\u516C\u5F0F:["\u5757\u7EA7\u516C\u5F0F","Block math"],\u8868\u683C:["\u8868\u683C","Table"],\u5169\u6B04:["\u4E24\u680F","Two columns"],\u4E09\u6B04:["\u4E09\u680F","Three columns"],"Mermaid \u5716\u8868":["Mermaid \u56FE\u8868","Mermaid diagram"],\u958B\u59CB:["\u5F00\u59CB","Start"],\u7D50\u675F:["\u7ED3\u675F","End"],"\u641C\u5C0B\u4E2D\u2026":["\u641C\u7D22\u4E2D\u2026","Searching\u2026"],\u627E\u4E0D\u5230\u9019\u500B\u8868\u60C5\u7B26\u865F:["\u627E\u4E0D\u5230\u8FD9\u4E2A\u8868\u60C5\u7B26\u53F7","No matching emoji"],\u80CC\u666F\u984F\u8272:["\u80CC\u666F\u989C\u8272","Background color"],\u5340\u584A:["\u533A\u5757","Block"],\u5EFA\u7ACB\u526F\u672C:["\u521B\u5EFA\u526F\u672C","Duplicate"],\u4E0A\u79FB:["\u4E0A\u79FB","Move up"],\u4E0B\u79FB:["\u4E0B\u79FB","Move down"],\u9810\u8A2D:["\u9ED8\u8BA4","Default"],\u9760\u5DE6\u5C0D\u9F4A:["\u5DE6\u5BF9\u9F50","Align left"],\u7F6E\u4E2D\u5C0D\u9F4A:["\u5C45\u4E2D\u5BF9\u9F50","Align center"],\u9760\u53F3\u5C0D\u9F4A:["\u53F3\u5BF9\u9F50","Align right"],\u5DE6\u53F3\u5C0D\u9F4A:["\u4E24\u7AEF\u5BF9\u9F50","Justify"],\u6587\u5B57\u6A23\u5F0F:["\u6587\u5B57\u6837\u5F0F","Text style"],\u6587\u5B57\u984F\u8272:["\u6587\u5B57\u989C\u8272","Text color"],\u5C0D\u9F4A:["\u5BF9\u9F50","Alignment"],\u4E0A\u6A19:["\u4E0A\u6807","Superscript"],\u4E0B\u6A19:["\u4E0B\u6807","Subscript"],\u5728\u4E0A\u65B9\u63D2\u5165\u5217:["\u5728\u4E0A\u65B9\u63D2\u5165\u884C","Insert row above"],\u5728\u4E0B\u65B9\u63D2\u5165\u5217:["\u5728\u4E0B\u65B9\u63D2\u5165\u884C","Insert row below"],\u5728\u5DE6\u5074\u63D2\u5165\u6B04:["\u5728\u5DE6\u4FA7\u63D2\u5165\u5217","Insert column left"],\u5728\u53F3\u5074\u63D2\u5165\u6B04:["\u5728\u53F3\u4FA7\u63D2\u5165\u5217","Insert column right"],\u6A19\u984C\u5217:["\u6807\u9898\u884C","Header row"],\u522A\u9664\u5217:["\u5220\u9664\u884C","Delete row"],\u522A\u9664\u6B04:["\u5220\u9664\u5217","Delete column"],\u522A\u9664\u8868\u683C:["\u5220\u9664\u8868\u683C","Delete table"],\u7DE8\u8F2F\u5716\u8868:["\u7F16\u8F91\u56FE\u8868","Edit diagram"],\u7DE8\u8F2F\u516C\u5F0F:["\u7F16\u8F91\u516C\u5F0F","Edit formula"],"Mermaid \u539F\u59CB\u78BC":["Mermaid \u6E90\u7801","Mermaid source"],"LaTeX \u516C\u5F0F":["LaTeX \u516C\u5F0F","LaTeX formula"],"{key} \u5B8C\u6210":["{key} \u5B8C\u6210","{key} to finish"],"\u21B5 \u5B8C\u6210":["\u21B5 \u5B8C\u6210","\u21B5 to finish"],\u53D6\u6D88:["\u53D6\u6D88","Cancel"],\u5B8C\u6210:["\u5B8C\u6210","Done"],\u5728\u4E0B\u65B9\u65B0\u589E\u5340\u584A:["\u5728\u4E0B\u65B9\u65B0\u5EFA\u533A\u5757","Add a block below"],"\u62D6\u66F3\u79FB\u52D5\uFF0C\u9EDE\u6309\u958B\u555F\u9078\u55AE":["\u62D6\u52A8\u79FB\u52A8\uFF0C\u70B9\u51FB\u6253\u5F00\u83DC\u5355","Drag to move, click for menu"],\u5340\u584A\u9078\u55AE:["\u533A\u5757\u83DC\u5355","Block menu"],\u7A7A\u767D\u7684\u516C\u5F0F:["\u7A7A\u767D\u7684\u516C\u5F0F","Empty formula"],\u8B8A\u66F4\u63D0\u793A\u6846\u985E\u578B:["\u66F4\u6539\u63D0\u793A\u6846\u7C7B\u578B","Change callout type"],"\u5167\u5D4C\u7DB2\u9801 {url}":["\u5185\u5D4C\u7F51\u9875 {url}","Embedded page {url}"],\u7B46\u8A18\u8996\u5716:["\u7B14\u8BB0\u89C6\u56FE","Note view"],"\u300C{name}\u300D\u8D85\u904E {size} \u4E0A\u9650":["\u300C{name}\u300D\u8D85\u8FC7 {size} \u4E0A\u9650",'"{name}" is over the {size} limit'],"\u6B63\u5728\u4E0A\u50B3 {name}\u2026":["\u6B63\u5728\u4E0A\u4F20 {name}\u2026","Uploading {name}\u2026"],"\u7121\u6CD5\u4E0A\u50B3\u300C{name}\u300D\uFF1A{error}":["\u65E0\u6CD5\u4E0A\u4F20\u300C{name}\u300D\uFF1A{error}",`Couldn't upload "{name}": {error}`],"X\uFF08Twitter\uFF09\u4E0D\u5141\u8A31\u5D4C\u5165\uFF0C\u8ACB\u6539\u7528\u7DB2\u9801\u66F8\u7C64":["X\uFF08Twitter\uFF09\u4E0D\u5141\u8BB8\u5D4C\u5165\uFF0C\u8BF7\u6539\u7528\u7F51\u9875\u4E66\u7B7E","X (Twitter) can't be embedded; use a web bookmark instead"],\u8ACB\u8F38\u5165\u6709\u6548\u7684\u7DB2\u5740:["\u8BF7\u8F93\u5165\u6709\u6548\u7684\u7F51\u5740","Enter a valid URL"],"\u7121\u6CD5\u53D6\u5F97\u7DB2\u9801\u8CC7\u8A0A\uFF1A{error}":["\u65E0\u6CD5\u83B7\u53D6\u7F51\u9875\u4FE1\u606F\uFF1A{error}","Couldn't get the page details: {error}"],\u672A\u547D\u540D\u8996\u5716:["\u672A\u547D\u540D\u89C6\u56FE","Untitled view"],"\u8F09\u5165\u4E2D\u2026":["\u52A0\u8F7D\u4E2D\u2026","Loading\u2026"],"\u9084\u6C92\u6709\u5DF2\u5B58\u8996\u5716\uFF1B\u5728 Dinox \u684C\u9762\u7248\u5EFA\u7ACB\u5F8C\u5373\u53EF\u5D4C\u5165":["\u8FD8\u6CA1\u6709\u5DF2\u5B58\u89C6\u56FE\uFF1B\u5728 Dinox \u684C\u9762\u7248\u521B\u5EFA\u540E\u5373\u53EF\u5D4C\u5165","No saved views yet. Create one in the Dinox desktop app to embed it"],"\u7121\u6CD5\u8F09\u5165\u8996\u5716\uFF1A{error}":["\u65E0\u6CD5\u52A0\u8F7D\u89C6\u56FE\uFF1A{error}","Couldn't load the view: {error}"],\u5D4C\u5165\u7DB2\u9801:["\u5D4C\u5165\u7F51\u9875","Embed web page"],\u6587\u737B\u5F15\u7528:["\u6587\u732E\u5F15\u7528","Citation"],\u601D\u7DAD\u5C0E\u5716:["\u601D\u7EF4\u5BFC\u56FE","Mind map"],\u4E3B\u984C:["\u4E3B\u9898","Topic"],\u60F3\u6CD5\u4E00:["\u60F3\u6CD5\u4E00","Idea one"],\u7D30\u7BC0:["\u7EC6\u8282","Detail"],\u60F3\u6CD5\u4E8C:["\u60F3\u6CD5\u4E8C","Idea two"],\u60F3\u6CD5\u4E09:["\u60F3\u6CD5\u4E09","Idea three"],"\u8CBC\u4E0A\u7DB2\u5740\uFF0C\u4F8B\u5982 YouTube \u6216 Bilibili \u5F71\u7247":["\u7C98\u8D34\u7F51\u5740\uFF0C\u4F8B\u5982 YouTube \u6216 Bilibili \u89C6\u9891","Paste a URL, such as a YouTube or Bilibili video"],\u5D4C\u5165:["\u5D4C\u5165","Embed"],\u5EFA\u7ACB\u66F8\u7C64:["\u521B\u5EFA\u4E66\u7B7E","Create bookmark"],\u5730\u9EDE\u540D\u7A31:["\u5730\u70B9\u540D\u79F0","Place name"],"\u5730\u5740\uFF08\u9078\u586B\uFF09":["\u5730\u5740\uFF08\u9009\u586B\uFF09","Address (optional)"],\u5728\u5730\u5716\u4E2D\u958B\u555F:["\u5728\u5730\u56FE\u4E2D\u6253\u5F00","Open in maps"],\u9078\u64C7\u8996\u5716:["\u9009\u62E9\u89C6\u56FE","Choose a view"],\u641C\u5C0B\u5DF2\u5B58\u8996\u5716:["\u641C\u7D22\u5DF2\u5B58\u89C6\u56FE","Search saved views"],\u958B\u555F\u539F\u5716:["\u6253\u5F00\u539F\u56FE","Open original"],\u5728\u700F\u89BD\u5668\u958B\u555F:["\u5728\u6D4F\u89C8\u5668\u6253\u5F00","Open in browser"],\u5F71\u7247\u7121\u6CD5\u64AD\u653E:["\u89C6\u9891\u65E0\u6CD5\u64AD\u653E","This video can't be played"],\u4E0B\u8F09:["\u4E0B\u8F7D","Download"],\u672A\u547D\u540D\u6A94\u6848:["\u672A\u547D\u540D\u6587\u4EF6","Untitled file"],\u6A94\u6848\u9023\u7D50\u7121\u6548:["\u6587\u4EF6\u94FE\u63A5\u65E0\u6548","File link is invalid"],\u6309\u5169\u4E0B\u958B\u555F:["\u53CC\u51FB\u6253\u5F00","Double-click to open"],"\u8CBC\u4E0A\u7DB2\u5740\uFF0C\u5EFA\u7ACB\u7DB2\u9801\u66F8\u7C64":["\u7C98\u8D34\u7F51\u5740\uFF0C\u521B\u5EFA\u7F51\u9875\u4E66\u7B7E","Paste a URL to create a web bookmark"],\u7DE8\u8F2F\u9023\u7D50:["\u7F16\u8F91\u94FE\u63A5","Edit link"],"\u8CBC\u4E0A\u7DB2\u5740\uFF0C\u5D4C\u5165\u7DB2\u9801":["\u7C98\u8D34\u7F51\u5740\uFF0C\u5D4C\u5165\u7F51\u9875","Paste a URL to embed a page"],\u63DB\u4E00\u500B\u8996\u5716:["\u6362\u4E00\u4E2A\u89C6\u56FE","Choose another view"],\u9078\u64C7\u4E00\u500B\u5DF2\u5B58\u8996\u5716:["\u9009\u62E9\u4E00\u4E2A\u5DF2\u5B58\u89C6\u56FE","Choose a saved view"],\u9019\u500B\u8996\u5716\u5DF2\u88AB\u522A\u9664:["\u8FD9\u4E2A\u89C6\u56FE\u5DF2\u88AB\u5220\u9664","This view was deleted"],\u9019\u500B\u8996\u5716\u7684\u8A2D\u5B9A\u7121\u6CD5\u8B80\u53D6:["\u8FD9\u4E2A\u89C6\u56FE\u7684\u8BBE\u7F6E\u65E0\u6CD5\u8BFB\u53D6","This view's settings can't be read"],\u6C92\u6709\u7B26\u5408\u7684\u7B46\u8A18:["\u6CA1\u6709\u7B26\u5408\u7684\u7B14\u8BB0","No matching notes"],"\u9084\u6709 {n} \u5247":["\u8FD8\u6709 {n} \u6761","{n} more"],"\u7B2C {n} \u9801":["\u7B2C {n} \u9875","Page {n}"],\u7A7A\u767D\u7684\u601D\u7DAD\u5C0E\u5716:["\u7A7A\u767D\u7684\u601D\u7EF4\u5BFC\u56FE","Empty mind map"],\u505C\u6B62\u5206\u4EAB:["\u505C\u6B62\u5206\u4EAB","Stop sharing"],\u516C\u958B\u72C0\u614B:["\u516C\u5F00\u72B6\u6001","Visibility"],\u5206\u4EAB\u9023\u7D50:["\u5206\u4EAB\u94FE\u63A5","Share link"],"\u522A\u9664\u4E2D\u2026":["\u5220\u9664\u4E2D\u2026","Deleting\u2026"],"\u522A\u9664\u5931\u6557\uFF1A{error}":["\u5220\u9664\u5931\u8D25\uFF1A{error}","Could not delete: {error}"],"\u522A\u9664\u5F8C\u6703\u5C07\u7B46\u8A18\u6A19\u8A18\u70BA\u522A\u9664\uFF0C\u7A0D\u5F8C\u540C\u6B65\u6642\u751F\u6548\u3002":["\u5220\u9664\u540E\u4F1A\u5C06\u7B14\u8BB0\u6807\u8BB0\u4E3A\u5220\u9664\uFF0C\u7A0D\u540E\u540C\u6B65\u65F6\u751F\u6548\u3002","The note will be marked as deleted and removed on the next sync."],\u532F\u51FA:["\u5BFC\u51FA","Export"],"\u532F\u51FA\u5931\u6557\uFF1A{error}":["\u5BFC\u51FA\u5931\u8D25\uFF1A{error}","Could not export: {error}"],\u53D6\u6D88\u7F6E\u9802:["\u53D6\u6D88\u7F6E\u9876","Unpin"],\u5DF2\u505C\u6B62\u5206\u4EAB:["\u5DF2\u505C\u6B62\u5206\u4EAB","Stopped sharing"],"\u5DF2\u532F\u51FA {name}":["\u5DF2\u5BFC\u51FA {name}","Exported {name}"],\u5DF2\u53D6\u6D88\u6536\u85CF:["\u5DF2\u53D6\u6D88\u6536\u85CF","Removed from favorites"],\u5DF2\u53D6\u6D88\u7F6E\u9802:["\u5DF2\u53D6\u6D88\u7F6E\u9876","Unpinned"],\u5DF2\u5EFA\u7ACB\u5206\u4EAB\u9023\u7D50\u4E26\u8907\u88FD:["\u5DF2\u521B\u5EFA\u5206\u4EAB\u94FE\u63A5\u5E76\u590D\u5236","Share link created and copied"],\u5DF2\u6536\u85CF:["\u5DF2\u6536\u85CF","Added to favorites"],"\u5DF2\u700F\u89BD {count} \u6B21":["\u5DF2\u6D4F\u89C8 {count} \u6B21","Viewed {count} times"],\u5DF2\u79FB\u5230\u56DE\u6536\u7AD9:["\u5DF2\u79FB\u5230\u56DE\u6536\u7AD9","Moved to trash"],\u5DF2\u7F6E\u9802:["\u5DF2\u7F6E\u9876","Pinned"],\u5DF2\u8907\u88FD\u5206\u4EAB\u9023\u7D50:["\u5DF2\u590D\u5236\u5206\u4EAB\u94FE\u63A5","Share link copied"],\u5DF2\u8F49\u70BA\u7B46\u8A18:["\u5DF2\u8F6C\u4E3A\u7B14\u8BB0","Converted to a note"],\u5DF2\u8F49\u70BA\u7D20\u6750:["\u5DF2\u8F6C\u4E3A\u7D20\u6750","Converted to material"],"\u5EFA\u7ACB\u4E2D\u2026":["\u521B\u5EFA\u4E2D\u2026","Creating\u2026"],\u5EFA\u7ACB\u4E86\u5206\u4EAB\u9023\u7D50:["\u521B\u5EFA\u4E86\u5206\u4EAB\u94FE\u63A5","created a share link"],\u5EFA\u7ACB\u9023\u7D50:["\u521B\u5EFA\u94FE\u63A5","Create link"],"\u5EFA\u7ACB\u9023\u7D50\u5F8C\uFF0C\u62FF\u5230\u9023\u7D50\u7684\u4EBA\u90FD\u80FD\u5728\u7DB2\u9801\u4E0A\u95B1\u8B80\u9019\u5247\u7B46\u8A18\u3002":["\u521B\u5EFA\u94FE\u63A5\u540E\uFF0C\u62FF\u5230\u94FE\u63A5\u7684\u4EBA\u90FD\u80FD\u5728\u7F51\u9875\u4E0A\u9605\u8BFB\u8FD9\u6761\u7B14\u8BB0\u3002","Anyone with the link can read this note on the web."],"\u628A\u300C{title}\u300D\u79FB\u5230\u4E86\u56DE\u6536\u7AD9":["\u628A\u300C{title}\u300D\u79FB\u5230\u4E86\u56DE\u6536\u7AD9","moved \u201C{title}\u201D to the trash"],"\u6B63\u5728\u8B80\u53D6\u5206\u4EAB\u72C0\u614B\u2026":["\u6B63\u5728\u8BFB\u53D6\u5206\u4EAB\u72B6\u6001\u2026","Loading share status\u2026"],\u6C92\u6709\u53EF\u532F\u51FA\u7684\u5167\u5BB9:["\u6CA1\u6709\u53EF\u5BFC\u51FA\u7684\u5185\u5BB9","Nothing to export"],"\u7121\u6CD5\u8B80\u53D6\u5206\u4EAB\u72C0\u614B\uFF1A{error}":["\u65E0\u6CD5\u8BFB\u53D6\u5206\u4EAB\u72B6\u6001\uFF1A{error}","Could not load share status: {error}"],"\u78BA\u8A8D\u522A\u9664\u7B46\u8A18\uFF1F":["\u786E\u8BA4\u5220\u9664\u7B14\u8BB0\uFF1F","Delete this note?"],\u7B46\u8A18\u5DF2\u8A2D\u70BA\u516C\u958B:["\u7B14\u8BB0\u5DF2\u8BBE\u4E3A\u516C\u5F00","Note is now public"],\u7B46\u8A18\u5DF2\u8A2D\u70BA\u79C1\u6709:["\u7B14\u8BB0\u5DF2\u8BBE\u4E3A\u79C1\u6709","Note is now private"],\u7F6E\u9802:["\u7F6E\u9876","Pin"],\u7F6E\u9802\u4E86\u7B46\u8A18:["\u7F6E\u9876\u4E86\u7B14\u8BB0","pinned the note"],\u8A2D\u70BA\u516C\u958B:["\u8BBE\u4E3A\u516C\u5F00","Make public"],\u8A2D\u70BA\u79C1\u5BC6:["\u8BBE\u4E3A\u79C1\u5BC6","made it private"],\u8A2D\u70BA\u79C1\u6709:["\u8BBE\u4E3A\u79C1\u6709","Make private"],\u8F49\u70BA\u7B46\u8A18:["\u8F6C\u4E3A\u7B14\u8BB0","Convert to note"],\u8F49\u70BA\u7D20\u6750:["\u8F6C\u4E3A\u7D20\u6750","Convert to material"],\u9023\u7D50\u5DF2\u904E\u671F:["\u94FE\u63A5\u5DF2\u8FC7\u671F","Link expired"],\u91CD\u8A66:["\u91CD\u8BD5","Retry"],\u9700\u8981\u5BC6\u78BC:["\u9700\u8981\u5BC6\u7801","Password required"],\u985E\u578B:["\u7C7B\u578B","Type"],\u7B46\u8A18\u5217\u8868:["\u7B14\u8BB0\u5217\u8868","Notes"],\u6253\u958B\u7B46\u8A18\u5217\u8868:["\u6253\u5F00\u7B14\u8BB0\u5217\u8868","Show notes"],\u6536\u8D77\u7B46\u8A18\u5217\u8868:["\u6536\u8D77\u7B14\u8BB0\u5217\u8868","Hide notes"],"\u641C\u5C0B\u7B46\u8A18\uFF0C#\u6A19\u7C64 \u7BE9\u9078":["\u641C\u7D22\u7B14\u8BB0\uFF0C#\u6807\u7B7E \u7B5B\u9009","Search notes, #tag to filter"],"\u518D\u8F09\u5165 {n} \u5247":["\u518D\u52A0\u8F7D {n} \u6761","Load {n} more"]};var nN=()=>{let e=globalThis.navigator;return[...e?.languages??[],e?.language??""]},og=eA(nN());function qo(){return og}function rN(e){return og=eA([e,...nN()]),og}function ne(e,t){return tA(nA,og,e,t)}function iN(e){return Db(nA,og,e)}var Kr=class extends Error{constructor(t){let n=Error,r=n.stackTraceLimit;r&&(n.stackTraceLimit=0),super(),r&&(n.stackTraceLimit=r),this.source=t}},cl=class extends Error{constructor(t,n){try{var r=String(n instanceof Error?n.message:n)}catch{}super(r,{cause:n}),this.source=t}};function rA(e){return e instanceof cl?e.cause:e}var Lb=class extends Error{constructor(){super("")}},Pb=class extends Error{constructor(){super("")}};var dn={},iA={},oA=typeof Proxy=="function",sg={},Bb=Symbol("refresh"),au=Set;function aA(e){let t=e.pe;for(;t;)t.R|=32,aA(t),t=t.Ge}var Fb;function ag(e){try{e()}catch(t){Fb||=[t],_r()}}function Hb(e){let t=Fb;if(Fb=void 0,t&&!e)throw t[0]}function ul(e,t=!1,n){let r=e.R;if(r&64)return;t&&(!n&&e.T!==null&&(e.T.me!==null||e.T.Le!==null)&&ul(e,!1,!0),e.R=r|64,e.X&&(dg(e),(e.m&1&&e.T?.Re!=null||r&2048||Xs.length)&&_r()));let i=n?e.T.me:e.pe;for(n?e.T.me=null:e.pe=null;i;)i.l&=-33,Zs(i,Cr),ug(i),i.Me=i,ul(i,!0),i=i.Ge;if(n||(e.be=0),t&&!n&&!(r&32)&&e._parent!==null&&!(e._parent.R&64)){let o=e.Me,s=e.Ge;o!==null?o.Ge=s:e._parent.pe=s,s!==null&&(s.Me=o),e.Me=null}if(Bne(e,n),t&&e.ze){let o=e.ze;e.ze=void 0,ag(o)}}function zb(e,t){let n=e.pe;t.Me=null,t.Ge=n,n!==null&&(n.Me=t),e.pe=t}function Bne(e,t){let n=t?e.T.Le:e.ke;if(n)if(t?e.T.Le=null:e.ke=null,Array.isArray(n))for(let r=n.length-1;r>=0;r--)ag(n[r]);else ag(n)}function Fne(e,t){for(;e.l&4&&e._parent;)e=e._parent;if(e.id!=null)return Hne(e.id,t?e.be++:e.be);throw new Error}function Vb(e){return Fne(e,!0)}function jb(e,t,n){return e?.id??(t?n?.id:n?.id!=null?Vb(n):void 0)}function Hne(e,t){let n=t.toString(36),r=n.length-1;return e+(r?String.fromCharCode(64+r):"")+n}function $o(){return Ai?Dn:null}function zr(){return Dn}function qb(e,t=Dn){return t&&(t.ke?Array.isArray(t.ke)?t.ke.push(e):t.ke=[t.ke,e]:t.ke=e),e}function cg(e){return!!(e.R&64)}function oN(e=!0){ul(this,e),Fb&&!wr.Y&&Hb()}function Ys(e){let t=Dn,n=e?.transparent??!1,r={id:jb(e,n,t),l:n?4:0,R:0,Qe:!0,Ke:t?.Qe?t.Ke:t,pe:null,Ge:null,Me:null,ke:null,A:t?.A||sg,be:0,T:null,_parent:t,dispose:oN};return t&&zb(t,r),r}function Wb(e,t){let n=Ys(t);return gi(n,()=>e(oN.bind(n,!0)))}var fA=null,jr=null,hA=null,pA=null,zne=null,Kb=null,Vne=null,jne=null,qne=null,Dh=null;var hl=null,t2=!1;var Wne=null,Cd=null,Une=null,Kne=null,mA=null;var n2=null,fN=null;function hN(e,t){n2=e,fN=t}var aN=null,Gne=null;var ni=null,Ea=null,gA=null,yA=null,pN=null,bA=null,Gb=null,r2=null;var mN,wA;var lu=[];function Yne(e,t=null){let n={ln:[],rn:[[],[]],fn:[],eo:null,_parent:t,P:e,Pe:null,tt:0,nt:!1,nn:null,Ue:!1,un:!1,I:null};return e||lu.push(n),n}var fr=null;function Ad(e){fr=e}var Vr=null,uc=null;function bg(e,t){if(wr.Y&&!t||Vr!==null)return Ts(e);uc===null?uc=Qi(e):gN(Qi(e),uc),_r()}function xr(e){return e.T.Re=Qi(e.T.Re)}function Xne(e){return e=Qi(e),lu.indexOf(e)!==-1?e:null}function Qi(e){for(;e.eo!==null;)e=e.eo;return e}function Ts(e){if(jr&&e?.P)return;let t=Vr;t===null?Vr=e===null?Yne(!1):Qi(e):e!==null&&gN(Qi(e),t),wr.Y||_r()}var xA=[];function gN(e,t){e=Qi(e),t=Qi(t),!(e===t||e.P||t.P)&&(ni&&SA&&xA.push(e,t.nt),e.eo=t,t.tt+=e.tt,t.nt||=e.nt,Sd(t.ln,e.ln),Sd(t.rn[0],e.rn[0]),Sd(t.rn[1],e.rn[1]),Sd(t.fn,e.fn),e.I!==null&&Sd(t.I??=[],e.I),lu.splice(lu.indexOf(e),1))}function Zne(e){return e.tt!==0||Jne(e.ln,e)||!!qne?.(e)}var lN=null;function Jne(e,t,n){for(let r=0;r<e.length;r++){let i=e[r];if(!(!(i.m&1)||i.R&64||i.l&8192||i.T.Re!==null&&xr(i)!==t||n&&!n(i,t)||t2&&t.P&&i.T.se&&Rh(i))){if(i.i===1){if(!(ni&&i.l&-2147483648&&!t.P)&&cN(i,lN??t))return!0;continue}for(let o=i.o;o!==null;o=o.t){let s=o.u;if((s.i===1&&s.m&1&&!(ni&&s.l&-2147483648&&!t.P)||s.R&2048||s.l&16384&&s.m===1)&&(o.Ne===s.de||s.T?.U!=null)&&!(s.R&64)&&cN(s,lN??t))return!0}}}return!1}function cN(e,t){return!Une?.(e)&&!(e.R&32&&Qne(e,t))}function Qne(e,t){for(;e?.R&32;)e=e._parent;return e?.l&256&&e.T?.Re!=null&&xr(e)===Qi(t)}var fg=[];function yN(e){fg.push(e)}var Ub=[];function bN(e){Zs(e,Cr),e.R&=-4,Ub.push(e)}function pl(e,t){e.l|=256,i2(e,t)}function i2(e,t){let n=Mi(e);n.Re!==t&&(n.Re=t,t.ln.push(e))}function wN(e,t){for(let n=e.pe;n!==null;n=n.Ge)n.T?.Re?.P||(n.X!==void 0&&(n.l&256||pl(n,t),n.l|=1048576),wN(n,t))}function xN(e){e.T.Re=null,e.l&=-257}var Cr={et:new Array(2e3).fill(void 0),p:!1,Fe:0,Et:0},Gr=0,Yb=!1,Xb=!1,uN=!1,lA=0;var vA=0;var Md=0;function wg(e){Md=e}var vN=2147483647;function _r(){if(Xb){ere();return}Yb||(Yb=!0,!lA&&!wr.Y&&queueMicrotask(xn))}var o2=Symbol.for("solid-js/root-error-hook"),kN="[REACTIVITY_HALTED]";function SN(e){if(Xb)return;Xb=!0,Hb(!0);let t=kN,n=e!==void 0&&globalThis.reportError;n||e===void 0?console.error(t):console.error(t,e),n&&n(e)}function ere(){uN||(uN=!0,console.error(kN))}var mo=class e{rn=[[],[]];Y=!1;flush(){if(!this.Y){this.Y=!0,$N(),fr=null,uc=null;try{MN(),Gb&&Gb(),cA(Cr,e._e),this.settle(),Gr++,Yb=Cr.Et>=Cr.Fe||Xs.length!==0,this.run(1),this.run(2)}finally{this.Y=!1,uc=null}}}settle(){Vne?.()&&cA(Cr,e._e);let t=Vr;Vr=null,zne?.(t);let n=t!==null&&!t.P?Qi(t):null;if(n!==null){let a=Xs.length;for(let c=0;c<a;c++){let u=Xs[c];if(!(u.l&2304)&&(u.T===null||u.T.Re===null||!u.T.Re.P)){if(u.ue===dn&&u.m&4&&u.i!==1)continue;if(u.ue!==dn&&!(u.m&5)&&u.T?.me==null&&u.T?.Le==null&&!u.T?.Te&&xg(u,u.le,u.ue)){u.ue=dn,u.l&=-129;continue}pl(u,n)}u.l&128&&wN(u,n)}Xs.length=0,n2?.(n);let l=Ub.splice(0);if(ni){l.sort((c,u)=>c.he-u.he);for(let c=0;c<l.length;c++)(l[c].R&96)===32&&l[c].l&32768&&As(l[c])}}else{ore();for(let a=0;a<fg.length;a++){let l=fg[a];l.T?.U==null&&!l.Ae&&gl(l)}}fg.length&&(fg.length=0);let r=this.rn,i=null;Kb&&(this.rn=i=[[],[]],Kb(n),Zb.length&&(Zb.length=0)),this.rn=[[],[]];for(let a=lu.length-1;a>=0;a--){let l=lu[a];Zne(l)||(lu.splice(a,1),jne?.(l),nre(l),a=lu.length)}fN?.();let o=n&&Xne(n);Gne?.(o);let s=o!==null;for(let a=0;a<2;a++)s&&Sd(o.rn[a],r[a]),this.rn[a]=s||i?.[a].length||this.rn[a].length?(i?i[a]:[]).concat(s?[]:r[a],this.rn[a]):r[a];if(Ub.length!==0){let a=Ub.splice(0).sort((l,c)=>l.he-c.he);for(let l=0;l<a.length;l++)a[l].R&64||As(a[l])}Kne?.()}run(t){let n=this.rn[t-1];n.length&&(this.rn[t-1]=[],sre(n,t))}enqueue(t,n,r=fr){t&&(r?.P?r:this).rn[t-1].push(n),_r()}notify(t,n,r,i){return Wne?.(t,r&n,i)?!0:n&1?(r&1&&fr===null&&Ts(null),!0):!1}};function tre(e){let t;for(let n=0;n<e.fn.length;n++){let r=e.fn[n],i=r.T?.U?.source;if(!(r.R&64||r.m&2&&(r.i||!(r.l&8388608))&&i!==r&&(i?.m??2)&2)&&(r.R&2048||ni&&r.l&32768)){t=1,e.P||(r.R&=-2049),r.Ae=!1;for(let o=r.pe;o!==null;o=o.Ge)o.i&&(o.Ae=!1);Dh?.(r),Wo(r)}}return e.fn.length=0,t}function nre(e){let t=tre(e);aN&&e.I!==null&&aN(e.I);for(let n=0;n<e.ln.length;n++){let r=e.ln[n];r.T.Re===null||xr(r)!==e||(r.T.Re=null,AN(r))}Vr===e&&(Vr=null),t?wr.rn[1].push(()=>dN(e)):dN(e)}function dN(e){for(let t=0;t<2;t++)Sd(wr.rn[t],e.rn[t]),e.rn[t]=[]}function Sd(e,t){for(let n=0;n<t.length;n++)e.push(t[n])}var Xs=[],_N=[],Zb=[];function s2(e,t){t.fn.push(e),e.R|=2048}function dc(e){Xs.push(e),wr.Y||TN()}var Lh=0;function a2(){Lh++}function ml(e){e.we=Lh;let n=(e.l&512)!==0&&e.T?.De!==void 0;for(let r=e.o;r!==null;r=r.t){let i=r.u;if(i.R&4&&r.Ne===i.de&&(r!==i._||!e.X)&&(i.R|=4096),n&&i.l&8){i.R|=256;continue}Wo(i),i.R&8388608&&Td(i._parent,1)}}function Rh(e,t=new au){return[...e.T.se??[e]].every(n=>n===e?n.T.Ve:t.has(n)||(t.add(n),Rh(n,t)))}function CN(e,t){ml(e),e.l&4096&&mo.lo?.(e,t);for(let n=e.o;n!==null;n=n.t){let r=n.u,i=r.T?.Re,o=r.i===1,s;(r.m&5)===1&&(i?(r.l&2304)===256:o)&&(s=!!i&&Qi(i)===Qi(t._parent),r.i?o&&!s&&Rh(r):s||Rh(r))&&i2(r,i=t),o&&e.l&32768&&(r.l|=32768,r.R&=-65537),(i?.P?rre(i,t):r.i)&&(r.R|=65536)}}function kA(e){e.Ae=!0,wr.enqueue(e.i,e.W??=mo.q.bind(null,e))}function rre(e,t){return e===t||e.nn!==null&&e.nn===t.nn}function Jb(e){return e.ue!==dn&&(e.le=e.ue,e.ue=dn)}function ire(e){return!(e.m&4)&&!!e.T?.Ee&&!e.T.Ve&&(e.ue=dn,!0)}function AN(e){if(!e.X){e.l&=-385,Jb(e);return}let t=(e.m&1)!==0&&(e.ue===dn||ire(e)),n=e.l&2097152;if(!t&&e.T&&(e.T.Te=null),e.l=t?e.l&-1048833|1024:e.l&-3147137,n){let r=e.ue;e.ue=dn,e.ie=Gr+1,uu(e,2,r)}else Jb(e)&&(e.m&=-5,e.T!=null&&(e.T.Ve=!1,e.T.je=dn),e.i&&e.i!==3&&kA(e));e.Ie=!1,e.R&=-1025,e.T?.U==null&&gl(e),e.m&1||(e.m&=-5),!t&&e.T!=null&&(e.T.me!==null||e.T.Le!==null)&&mo.Ce(e,!1,!0)}function ore(){for(let e=0;e<Xs.length;e++){let t=Xs[e];t.l&2304||AN(t)}Xs.length=0}var wr=new mo;function xn(e){if(vA>0)return e?e():void 0;if(e){lA++;try{return e()}finally{try{xn()}finally{lA--}}}if(!wr.Y&&!Xb){for(;Yb;)wr.flush();Hb()}}function sre(e,t){for(let n=0;n<e.length;n++)e[n](t)}function Wo(e){Cr.Fe>e.he&&(Cr.Fe=e.he),Bh(e,Cr)}function EN(e,t){let n=(e._parent?.Qe?e._parent.Ke?.he:e._parent?.he)??-1;n>=e.he&&(e.he=n+1);let r=e.he,i=t.et[r];if(i===void 0)t.et[r]=e;else{let o=i.We;o.ve=e,e.We=o,i.We=e}r>t.Et&&(t.Et=r)}function Bh(e,t){let n=e.R;n&12||(n&1?e.R=n&-4|2|8:(e.R=n|8,t.p&&Td(e)),n&16||EN(e,t))}function l2(e,t){let n=e.R;n&28||(e.R=n|16,EN(e,t))}function Zs(e,t){let n=e.R;if(!(n&24))return;e.R=n&-25;let r=e.he;if(e.We===e)t.et[r]=void 0;else{let i=e.ve,o=t.et[r],s=i??o;e===o?t.et[r]=i:e.We.ve=i,s.We=e.We}e.We=e,e.ve=void 0}function IN(e){if(!e.p){e.p=!0;for(let t=0;t<=e.Et;t++)for(let n=e.et[t];n!==void 0;n=n.ve)n.R&8&&Td(n)}}function Td(e,t=2){let n=e.R;if(!((n&3)>=t)){e.R=n&-4|t;for(let r=e.o;r!==null;r=r.t)Td(r.u,1)}}function cA(e,t){for(e.p=!1,e.Fe=0;e.Fe<=e.Et;e.Fe++){let n=e.et[e.Fe];for(;n!==void 0;)n.R&8?t(n):are(n,e),n=e.et[e.Fe]}e.Et=0}function are(e,t){Zs(e,t);let n=e.he;for(let r=e.C;r;r=r.G){let i=r.S;i.X&&i.he>=n&&(n=i.he+1)}if(e.he!==n){e.he=n,vg(e,n);for(let r=e.o;r!==null;r=r.t)r.u!==e._parent&&l2(r.u,t)}}function vg(e,t){for(let n=e.pe;n;n=n.Ge)if(n.Qe)vg(n,t);else if(n.he<=t){let r=n.R&24;Zs(n,Cr),n.he=t+1,r&&(r&8?Bh:l2)(n,Cr),vg(n,t+1)}}var RN;function NN(e){RN=e}function lre(e){let t=e.S,n=e.G,r=e.t,i=e.en;return r!==null?r.en=i:t.Ze=i,i!==null?i.t=r:(t.o=r,r===null&&(t.l&4096?RN(t):t.T?.Ye&&ag(t.T.Ye),t.X&&t.l&32&&!(t.R&32)&&!(t.m&1)&&(Sg?Sg.push(t):Eh(t)))),n}function gl(e){let t=e._,n=t!==null?t.G:e.C;if(n!==null){do n=lre(n);while(n!==null);t!==null?t.G=null:e.C=null}}function ug(e){e.C&&(e._=null,gl(e))}var Sg=null,_A=e=>Sg=e;function Eh(e){Zs(e,Cr),ug(e),ul(e,!0)}var kg=new au;function MN(){if(kg.size!==0){for(let e of kg)!e.o&&e.l&32&&!(e.m&1)&&!(e.R&96)&&Eh(e);kg.clear()}}function $d(e,t){let n=t._;if(n!==null&&n.S===e)return;let r=null,i=t.R&4;if(i&&(r=n!==null?n.G:t.C,r!==null&&r.S===e))return r.Ne=t.de,t._=r;let o=e.Ze;if(o!==null&&o.u===t&&(!i||o.Ne===t.de))return;let s=t._=e.Ze={S:e,u:t,G:r,en:o,t:null,Ne:t.de};n!==null?n.G=s:t.C=s,o!==null?o.t=s:e.o=s,a2()}function u2(e,t){return e.T?.se?.has(t)?!1:((Mi(e).se??=new au).add(t),!0)}function MA(e,t){let n=e.T?.se;return n?.delete(t)?(n.size||(e.T.se=void 0),!0):!1}function dg(e){e.T!==null&&(e.T.Ee=null)}function $A(e){e.T!==null&&(e.T.se=void 0)}function EA(e,t){for(let n=e.C;n;n=n.G){let r=n.S;if(!(r.R&64)&&(r===t?r.m&1:r.T?.se?.has(t)))return!0}return!1}function IA(e,t){Mi(e).fe=!0,t.source&&u2(e,t.source),e.m&2||Ed(e,t.source,t)}function Ed(e,t,n){if(!t){e.T!==null&&(e.T.U=null);return}let r=n instanceof Kr&&n.source===t?n:e.T?.U;Mi(e).U=r instanceof Kr&&r.source===t?r:new Kr(t)}function _g(e,t){for(let n=e.o;n!==null;n=n.t)t(n.u,n)}function RA(e,t){let n=new au,r=i=>{let o=n.has(i);t(i,o)!==!1&&!o&&(n.add(i),_g(i,r))};_g(e,r)}function Cg(e){e.X&&e.l&32&&!e.o&&!(e.R&32)&&!(e.m&1)&&(e.R&8?e.R|=4194304:Eh(e))}function cre(e){let t;if(RA(e,(n,r)=>{!r&&!n.o&&n.l&32&&(t??=[]).push(n)}),t)for(let n of t)Cg(n)}function NA(e,t,n){return!(e.l&256||n&&e.R&16384&&wr.Y&&!e.rr)||fr?!1:($A(e),e.T&&(e.T.fe=!1),(e.m&=6)&2||Ed(e),e.ue=t instanceof cl?t:new cl(e,t),e.l|=2097280,Ra(e),_r(),!0)}function ON(e,t){let n=!1;RA(e,(r,i)=>{!i&&r.T?.U===t&&(Wo(r),n=!0)}),n&&_r()}function Ra(e,t=e){MA(e,t);let n=!1,r;if(RA(e,(i,o)=>{if(o||t!==e&&EA(i,t)||!MA(i,t))return Ea&&(i.l&32768?Wo(i):gA(i,e)),!1;i.ie=Gr;let s=i.T?.se?.values().next().value,a=i.m&2;s?a||Ed(i,s):(i.m&=-2,a||Ed(i),i.l&256&&!(t.m&1)&&Ts(xr(i)),i.T?.fe?(Wo(i),n=!0):n2&&i.rr?.st(),i.T!==null&&(i.T.fe=!1),!i.o&&i.l&32&&(r??=[]).push(i),gA?.(i,e))}),r)for(let i of r)Cg(i);n&&_r()}function AA(e){return e!=null&&typeof e=="object"&&typeof e.then=="function"}function DN(e){let t=e.T?.Se;t!=null&&(e.T.Se=null,t())}function LN(e,t,n,r,i){try{n(t)}catch(o){return i(o),!1}return e.l&256||(e.T.Te=null,e.l&=-1025),r&&PN(e,!0),!0}function d2(e,t,n,r){let i=!1,o=!1;if(typeof t=="object"&&t!==null&&_n(()=>{i=t[Symbol.asyncIterator],o=!i&&AA(t)}),!o&&!i)return e.T!==null&&(e.T.Ee=null,Ea&&(e.l&=-536870913)),e.Ie=!1,t;Mi(e).Ee=t,Ea&&(e.l|=536870912),e.T.ce=Md||vN,e.T.se=void 0;let s,a=h=>{if(e.T?.Ee!==t)return;let p=h instanceof Kr;if(p&&e.Ie){dg(e),IA(e,h),e.ie=Gr;return}(p||!NA(e,h))&&(uu(e,p?1:2,h),p||ul(e,!1,!0)),p&&Ra(e),e.ie=Gr,p||cre(e),r?.(h,p)},l=(h,p)=>{if(e.T?.Ee!==t||e.R&2&&!(Ea&&e.m&4))return;let m=Ea&&Xs.some(g=>g.ue!==dn),y=e.m&4;if(PN(e),n){if(!n(h,y,a))return}else go(e,()=>h);e.ue===dn&&(e.Ie=!1,gl(e)),Ra(e),_r(),(p||!m)&&xn(),p?.()},c=()=>e.l&32&&!e.o&&!(e.m&1)?(Eh(e),!0):!1,u=(h,p)=>{let m=h[Symbol.asyncIterator](),y=!1,g=!1,x=!p,w=()=>{if(!g){g=!0;try{let L=m.return?.();AA(L)&&L.then(void 0,()=>{})}catch{}}};qb(w,p),Mi(e).Se=w;let k=()=>{try{c()||$()}catch(L){a(L)}},$=()=>{let L,P,N=!1,_=!1,Z=!0,ue=m.next();if((AA(ue)?ue:{then:U=>void U(ue)}).then(U=>{if(Z&&x)L=U,N=!0,U.done&&(g=!0);else{if(e.T?.Ee!==t)return;U.done?(g=!0,y?(_r(),xn()):l(void 0),c()):(y=!0,l(U.value,k))}},U=>{Z&&x?(P=U,_=!0):e.T?.Ee===t&&(g=!0,a(U),c())}),Z=!1,_){if(g=!0,a(P),x)throw P;return!0}return N&&!L.done?(s=L.value,y=!0,$()):N&&L.done},C=$();return x=!1,y||C},f=null,d=(h,p)=>{let m=!1;if(typeof h=="object"&&h!==null&&_n(()=>{m=h[Symbol.asyncIterator]}),!m)return!1;s=void 0;let y=u(h,p);return p||(f=y),!0};if(o){let h=!1,p=!1,m,y=!0;if(t.then(g=>{if(y)s=g,h=!0;else{try{if(e.T?.Ee===t&&!(e.R&64)&&d(g,e))return;l(g)}catch(x){a(x)}c()}},g=>{y?(m=g,p=!0):(a(g),c())}),y=!1,p)throw a(m),m;h?d(s)||(e.Ie=!1):f=!1}if(i&&d(t),f!==null){if(!f){if(e.Ie)return e.le;throw new Kr(Dn)}e.Ie=!1}return s}function OA(e,t=!1){e.T?.se&&$A(e),e.T?.fe&&(e.T.fe=!1),e.m=t?0:e.m&4,e.T?.U&&Ed(e);let n=LA(e);n&&n.call(e)}function PN(e,t=!1){let n=e.T?.se;n&&(n.delete(e),n.size)?(e.T.fe=!1,t&&(e.m=1),Ed(e,n.values().next().value)):OA(e,t)}function uu(e,t,n){t===2&&!(n instanceof cl)&&!(n instanceof Kr)&&(n=new cl(e,n));let r=t===1&&n instanceof Kr&&n.source;if(r?(e.m&2&&(e.T.Te=e.T.U),u2(e,r)):$A(e),e.m=t|(t===2?e.m&12?8:0:t===1&&e.m&8?4:e.m&4),r?Ed(e,r,n):Mi(e).U=n,t2&&t===1&&e.l&8192){fr===null&&Ts(e.R&8192?null:xr(e)._parent);return}let i=LA(e);if(i){i.call(e);return}DA(e,t,n)}function DA(e,t,n){let r=t===1&&n instanceof Kr&&n.source;_g(e,(i,o)=>{if(i.ie=Gr,i.l&16384||Ea&&(i.l&32768||r&&i.l&2097152)&&!(r&&Ea(i,e))||t===1&&o.Ne!==i.de){t!==1&&MA(i,e)&&Ra(i,e),Wo(i),_r();return}if(r&&i.T?.se?.has(r)){fr===null&&(i.l&2304)===256&&wr.Y&&!Cd?.(i,r.ie===Gr)&&Ts(xr(i));return}(r||t!==1&&(i.T?.U!==n||i.T?.se))&&(jr&&fr!==null?jr(i,fr,!0,e):(dc(i),t===1&&(i.l&2304)===256&&!i.i&&(t2&&i.m&1&&Rh(i)?xN(i):Ts(xr(i)))),uu(i,t,n),i.rr?.st(t,n))})}mo._e=e=>{e.i===3?(Zs(e,Cr),e.Ae=!0,wr.enqueue(2,e.Z)):e.R&32&&!(e.R&65536)?bN(e):jr&&e.R&32&&mre(e)?(Zs(e,Cr),e.R&=-65540):Dh&&e.T?.He&&Dh(e,1)||As(e)};function mre(e){let t=e._parent;for(;t.R&32;)t=t._parent;return(t.l&10240)===2048||t.i&&t.T?.Re?.P}mo.Ce=ul;var Ai=!1,Dn=null,hc=!1,PA,gre=null;function KN(e){for(;e;){if(e.Oe)return!0;e=e._parent}return!1}function As(e,t=!1){a2();let n=e.i,r,i=dn,o=fr,s=PA,a=jr&&(PA=t&&(o||s));if(Dh&&!t&&e.T){let _=e.T.He;(_?_!==e.T.Ee&&(e.T.He=void 0,1):e.l&2048&&!(e.R&65536))&&Dh(e,2)}if(jr){let _=t?VA(Dn):null,Z=_?.R|0;(Z&32768||_&&(_.l&16777216&&_.m&4||_.i===1&&_._&&GN(_,ue=>ue.l&32768,_._)))&&(e.l|=16777216),Ad((e.R&65536||(e.l&10240)===2048)&&e.T?.Re?.P?e.T.Re:o?._parent.Pe!=o&&Z&4?o:null)}let l=e.l&2097152,c;if(!t){if(Zs(e,Cr),jr&&!n&&(e.m&1||(e.l&1610612992)===536871168)&&(e.l&=-32769),e.T!==null&&(e.T.Ee=null,DN(e)),e.l&256){let _=xr(e);_.P||e.l&524288||(!(e.l&(32768|1<<23))||ni&&!(e.l&1<<23)&&g2(e,_)?bg(_,Cd?.(e,e.m&4)):_!==Vr&&!(e.m&4||e.l&1048576)&&((i=e.ue)!==dn&&ml(e),e.ue=dn,e.l&=-257))}if(n===3||e.l&128){let _=Sg;_A(r=[]),ul(e),_A(_)}else(e.pe!==null||e.ke!==null)&&yre(e);r2&&(c=e.C!==null,e.T!==null&&(e.l&2097152||e.T.Ft!==void 0)&&r2(e)),e.l&2097152&&(e.ue=dn,e.l^=2097152)}let u=e.m&4,f=e.m&2&&e.T?.U,h=(e.m&1)!==0&&e.T?.se,p=e.T?.se?.has(e),m=!1,y=(e.R&8192)!==0&&!((e.m&1||e.ue!==dn&&!(e.R&1024))&&e.T!==null&&!e.T.Ve),g=Dn;Dn=e,e._=null,e.de++;let x=e.R&4194304;e.R=4|e.R&8224,e.ie=Gr;let w=e.ue!==dn?e.ue:e.le,k=e.he,$=!1,C=!1,L=Ai;Ai=!0;try{if(e.l&64)w=e.X(w),e.T!==null&&(e.T.Ee=null),e.Ie=!1;else{let _=e.T?.Ee,Z=e.X(w),ue=typeof Z=="object"&&Z!==null,J=e.T?.Ee!==_;w=J||!ue?Z:d2(e,Z),!J&&!ue&&(e.T!==null&&(e.T.Ee=null,Ea&&(e.l&=-536870913)),e.Ie=!1)}(e.m!==0||e.T!==null)&&!(hl&&e.m&1&&hl(e,null,!0))&&OA(e,t)}catch(_){let Z=_ instanceof Kr;if(Ea&&(!Z||e.Ie)&&(e.l&=-536870913),Z&&e.Ie)IA(e,_);else if((Z||!(m=NA(e,_,!0)))&&(Z&&(Mi(e).fe=!0),uu(e,Z?1:2,_),Z&&p&&!e.T?.Ee&&Ra(e)),(Z||m)&&h)for(let ue of h)ue!==e&&!(e.T?.se?.has(ue)&&(ue.m&1||EA(e,ue)))&&Ra(e,ue)}finally{if(Ai=L,jr&&(PA=s),$=(e.R&4096)!==0,C=!!(e.R&(a?o||n||!(e.m&1)?16512:0:128)),ni&&(e.l=e.l&1073709055|e.R&32768|(e.R&2097152)<<9|(e.R&1048576)<<11),e.R=e.R&936032|(t?e.R&256:0),Dn=g,r)for(let _ of r)Cg(_);c&&!y&&e.m&1&&(y=!!r2(e,1)),e.T!==null&&(e.T.Ve=y&&(e.m&1)!==0)}if(e.R&64){ug(e),dg(e),jr&&Ad(o);return}let P=jr?fr:null,N=!!e.T?.U||m;if(jr&&P!==null&&(jr(e,P,t,N)?Ad(P):P=null),!N){let _=e.ue===dn,Z=_?e.le:e.ue,ue=Vr??uc,J=_&&u&&!n||!!e.T?.Te||!!(f&&ue)||!!l||P!==null&&e._parent?.l&256||!xg(e,Z,w);if(n&&J&&!(e.R&262144&&!e.Ae&&Object.is(e.ge,w))&&_&&(e.Ae=!e.T?.U,t||wr.enqueue(n,e.W??=mo.q.bind(null,e),P)),!(hA&&!t&&P===null&&e.l&8192&&hA(e,w,N))){if(!N){if(J)P!==null?(n&&e.ue===dn?e.le=w:e.ue=w,t&&!n&&(e.m|=4)):(t?!(ue!==null&&(C||VA(g)?.R&128)):n&&e.ue===dn)?e.le=w:(e.ue=w,f&&(e.T.Te=f),t&&(pl(e,ue),e.m|=4,Cd?.(e,!a&&Vr))),e.o!==null&&(P!==null?CN(e,P):ml(e));else if(e.he!=k)for(let U=e.o;U!==null;U=U.t)l2(U.u,Cr)}}if(!J&&!e.T?.U&&(f&&ON(e,f),h))for(let U of h)U!==e&&Ra(e,U);p&&!(e.m&5)&&Ra(e)}if(t&&P===null&&C&&e.m&1){let _=Vr??uc;_&&!_.P&&(n&&Cd?.(e)===2||pl(e,_))}!e.T?.U&&(P!==null||e.ue===dn)&&!(n&&e.Ae)&&(t||n===3?gl(e):yN(e)),(e.ue!==dn||e.T!==null&&(e.T.me!==null||e.T.Le!==null)||(e.m&5)!==0&&(!t||(e.m&1)!==0))&&(e.l|=128,P===null&&dc(e)),jr&&Ad(o),$&&(Wo(e),_r()),yA&&i!==dn&&Object.is(w,i)&&yA(e),x&&Cg(e)}function FA(e){if(!(e.R&68)){if(e.R&1)for(let t=e.C;t;t=t.G){let n=t.S;if(n.X&&FA(n),e.R&2)break}(e.R&2||e.T?.U&&e.ie<Gr&&!e.T?.Ee)&&As(e),e.R=e.R&937336}}function pc(e,t){let n=t?.transparent??!1,r=t!==null&&typeof t=="object"&&"loadingValue"in t,i={id:jb(t,n,Dn),l:(n?4:0)|(t?.ownedWrite?1:0)|(!Dn||t?.lazy?32:0)|(t?.sync?64:0)|(t?.ae?2:0)|(t?.xe??0)|(hc&&KN(Dn)?8:0),ye:t?.equals??Ti,ke:null,A:Dn?.A??sg,be:0,X:e,le:r?t.loadingValue:void 0,he:0,ve:void 0,We:null,C:null,_:null,de:0,o:null,Ze:null,_parent:Dn,Ge:null,Me:null,pe:null,R:t?.lazy?512:0,m:r?0:4,ie:Gr,ue:dn,we:-1,Ie:r,T:null};return t?.unobserved&&(Mi(i).Ye=t.unobserved),JN(i,t),i}function Mi(e){return e.T??={Ee:null,Se:null,U:void 0,fe:void 0,se:void 0,Ye:void 0,De:void 0,me:null,Le:null,Re:null,Ve:!1,je:dn,Be:-1,ce:0,Ue:!1,I:0,Te:null}}var SA=null;function HA(e,t){ni&&!Vr&&(SA=e,xA.length=0),e.R|=128,(t.m&4||e.i!==1)&&bg(xr(t),!e.i&&e.m&4||Cd?.(e))}function FN(e,t){let n=ni&&e.l&32768,r=jr&&fr!==null;if(jr&&e.l&16777216&&e.m&4&&(!r||t.m&1))return HA(e,t),!1;if(!(n&&bA(e,t))&&!((!r||e.m&4&&t.m&1)&&!n&&(!(e.l&1<<23)||t.l&1024))){let i=xr(t);if(r&&fr.over&&Qi(fr.over)===i&&!n)return!1;if(!(!r&&i===Vr&&!n||g2(e,i)))return s2(e,i),(r||n)&&hl(e,t),!0}return HA(e,t),!1}function g2(e,t){return(e.m&4||e.l&1048576)&&e.l&256&&xr(e)===t}function GN(e,t,n){for(let r=e.C;r!==null;r=r===n?null:r.G)if(t(r.S))return 1}var zA;function HN(e,t){return t.ue!==dn&&e.l&32768&&!GN(e,n=>n===t)}function VA(e){return e!==null&&e.Qe?e.Ke:e}function yre(e){aA(e);let t=Mi(e);t.Le=e.ke,t.me=e.pe,e.ke=null,e.pe=null,e.be=0}function YN(e,t,n,r,i){let o=i?.transparent??!1,s={id:jb(i,o,Dn),l:r<<23|(o?4:0)|(i?.ownedWrite?1:0)|(i?.sync?64:0)|(i?.xe??0)|(hc&&KN(Dn)?8:0),ye:!1,ke:null,A:Dn?.A??sg,be:0,X:e,le:void 0,he:0,ve:void 0,We:null,C:null,_:null,de:0,o:null,Ze:null,_parent:Dn,Ge:null,Me:null,pe:null,R:512,m:4,ie:Gr,ue:dn,we:-1,Ie:!1,Ae:!1,ge:void 0,qe:t,Je:n,ze:void 0,i:r,T:null};return i?.unobserved&&(Mi(s).Ye=i.unobserved),JN(s,bre),s}var XN=null;function ZN(e){XN=e}function LA(e){return e.i?XN:null}var bre={lazy:!0};function JN(e,t){e.We=e;let n=Dn?.Qe?Dn.Ke:Dn;Dn&&zb(Dn,e),n&&(e.he=n.he+1),mN?.(e),!t?.lazy&&As(e,!0),hc&&!t?.lazy&&!(e.m&1)&&!(e.l&2)&&KA(e,e.le)}function Id(e,t){let n={ye:t?.equals??Ti,l:(t?.ownedWrite?1:0)|(t?.ae?2:0),le:e,o:null,Ze:null,ie:Gr,ue:dn,we:-1,T:null};return t?.unobserved&&(Mi(n).Ye=t.unobserved),hc&&!(n.l&2)&&KA(n,e),n}function Ti(e,t){return e===t}function y2(e,t,n,r,i){return{ye:t,l:4097,le:e,o:null,Ze:null,ie:Gr,ue:dn,we:-1,T:null,O:n,Xe:r,acc:i,px:void 0,pxv:void 0}}var Es=null;function _n(e,t){let n=Ai;Ai=!1;try{return wA?wA(e):e()}finally{Ai=n}}var jA=0;function b2(e){jA++;try{_n(e)}finally{jA--}}var QN=!1;function wre(e,t){if(e.R&512)e.R&=-513,As(e,!0);else if(e.R&64&&e.l&32){let n=e._parent;if(n!==null){if(n.R&64){e.l&=-33;return}e.R&32||zb(n,e)}As(e,!0)}}function xre(e,t){return!t||e.ue===dn||t.l&16}var $g=!1;function TN(){$g=!0}function vre(e){return wr.Y||e.ue===dn||e.l&4194304?dn:e.l&256?e.T.Be===Gr?e.T.je:dn:e.le}function kre(e){let t=e.T;t.Be!==Gr&&(Gb&&_N.push(e),t.je=e.ue,t.Be=Gr,$g=!0)}var f2=[];function Sre(e){return e.R|=4096,!0}function $N(){if($g=!1,f2.length!==0){for(let e of f2)e.l&=-4194305;f2.length=0}}function WA(e,t){e.he>=Cr.Fe||e.R&1?(Td(t),IN(Cr),FA(e)):t.l&65536&&FA(e);let n=e.he;e._parent===t?e.R|=8388608:n>=t.he&&vg(t,t.he=n+1)}function _re(e,t,n){return fr===null&&e.m&n.m&4&&t.ue!==dn&&!(t.l&2097408)&&!e.i&&(e.R&4096||e.ue===dn&&e.T?.$e!==Gr&&(!(e.m&1)||e.T?.se?.delete(n.T.U.source))&&(Mi(e).$e=Gr,e.R|=4096))}function w2(){return Dn.R&2048}function yo(e){let t=Dn;if(t?.Qe&&(t=t.Ke),Es!==null)return Es(e,t);if(typeof e.X=="function"&&wre(e),!e.X&&e.T?.De===void 0&&!hc&&(!$g||e.ue===dn)&&!(e.l&2048))return t&&(jr&&(zA=Ai&&HN(t,e)),Ai&&$d(e,t),e.l&256&&!(t.l&16)&&FN(t,e))||!t||e.ue===dn||t.l&16||e.ue===e.le&&Object.is(e.ue,e.le)||(ni&&t.l&32768||jr&&fr?.folded)&&v2(t,e)?e.le:(x2(t),e.ue);let n=!1,r;if(t){if(jr&&(zA=Ai&&HN(t,e)),Ai&&(r=$d(e,t),e.X)){if(WA(e,t),ni&&(t.m&4?t.l&256||Vr:t.l&1048576)&&(t.i===1&&e.l&32768&&!(e.m&5)&&(t.R|=1048576),(e.l&1619034112)===32768&&!(t.l&536870912))){let o=Qi(t.l&256?xr(t):Vr),s=Mi(e);s.Dt!==o&&(s.Dt=o,As(e))}ni&&!t.i&&(t.R|=e.l&32768&(e.m&1&&(t.l&128||t.m&4)?t.l:-1))}e.l&256&&!(e.l&2048)&&!(t.l&16)&&(e.m&4?HA(t,e):n=FN(t,e))}if(fA&&e.l&2048){let o=fA(t,e);if(o!==dn)return o}if(hc&&t&&t.l&8){let o=e.T?.De;if(o!==void 0&&!(e.m&2)){let s=o===iA?void 0:o;return(e.ue!==dn?e.ue:e.le)!==s&&(t.R|=256),s}}if(jr&&e.m&1&&!n&&!(e.l&2048)&&!(e.m&4)&&(t!==null&&t.l&32768&&!(t.l&16777216&&t.m&4)?n=ni(t,e):fr!==null&&(!(t?.m&4)||Cre(t))&&(n=hl(t,e,!0))),e.m&1&&!n){if(t){if(!(t.l&16)||e.m&4){if(ni&&_re(t,e,e))return e.ue;throw!Ai&&!QN&&e!==t&&$d(e,t),e.T?.U}}else if(e.m&4)throw e.T?.U}if(e.X&&e.m&2){if(r&&e.ie<Gr&&!(e.R&32))return As(e),yo(e);throw!n&&e.l&2097152&&zN(e,t),e.T?.U}(n||!t)&&eO(e);let i=zN(e,n?null:t);return!t&&typeof e.X=="function"&&e.l&32&&!(e.m&1)&&!e.o&&(kg.add(e),_r()),i}function Cre(e){let t=e._parent;return fr._parent?.Pe!==fr&&t?.X&&!(t.m&4|t.l&8388608)}function eO(e){if(e.T?.Te)throw e.T.Te}function zN(e,t){if(e.ue!==dn&&e.m&4&&(!t||QN||t.l&16)){if(jA>0){let r=VA(Dn);if(r&&e.l&256&&g2(r,xr(e)))return e.ue}throw new Kr(null)}let n=t&&$g?vre(e):dn;if(n!==dn)return Sre(t),n;if(xre(e,t)||ni&&t.l&32768&&!(e.m&4)&&v2(t,e)&&!eO(e))return e.le;if(x2(t,e),e.l&2097152)throw e.ue;return e.ue}function x2(e,t){t?.m&4||(hl&&fr!==null&&hl(e,null),e.R|=16384,Kb&&(fr!==null||e.i&&e.l&32768)&&Zb.push(e))}function v2(e,t){return Vr===null||g2(e,Vr)||(t?.l&2304)===256||ni&&bA(e,t)?!1:(jr&&t&&zA&&fr&&e.R>>24!=1&&(fr.Gt=1),s2(e,Vr),!0)}function k2(e){wr.Y||e.l&4194304||(e.l|=4194304,f2.push(e))}function UA(e,t){e.l&2||e.X!==void 0||e.T?.De!==void 0||KA(e,t)}function KA(e,t){Mi(e).De=t===void 0?iA:t,e.l|=512,gre.add(e)}var Tg=null;function xg(e,t,n){if(e.ye===Ti)return t===n;try{return e.ye&&e.ye(t,n)}catch(r){if(!(r instanceof Kr))return uu(e,2,r),!0}}function go(e,t){Tg!==null&&Tg(e);let n=e.ue===dn?e.le:e.ue;if(typeof t=="function"&&(t=t(n)),pA&&e.l&2048)return pA(e,t);e.l&256&&Ts(xr(e));let r=ni?e.ye!==Ti:null;if(!(!!(e.m&4)||!!e.T?.Te||(r===!1?n!==t:!xg(e,n,t))))return t;hc&&UA(e,n);let o=e.ue!==dn;return o?e.l&256&&!wr.Y&&kre(e):dc(e),e.ue=r&&o&&!(e.m&4||e.T?.Te)&&xg(e,e.le,t)?e.le:t,Dn!==null&&k2(e),e.X!==void 0&&(e.ie=Gr),o&&e.we===Lh||(ml(e),_r()),t}function tO(e,t){let n=e.l&256&&!(e.R&1024)&&xr(e)!==Vr;if(n&&typeof t=="function"){let r=t(e.le);t=()=>r}return e.m&2&&(e.T.Te=e.T.U,uu(e,0)),t=go(e,t),e.l&=-2097153,n?(e.R=e.R&-2|2,Bh(e,Cr),_r()):e.ue!==dn&&(e.R|=1024),t}function gi(e,t){let n=Dn,r=Ai;Dn=e,Ai=!1;try{return t()}finally{Dn=n,Ai=r}}function nO(e,t=!0){try{return e()}finally{}}var GA=null;function YA(e,t=zr()){let n;if(t&&(n=t.A[e.id]),n===void 0&&(n=e.defaultValue),n===void 0)throw new Pb;return n}function S2(e,t,n=zr()){if(!n)throw new Lb;n.A={...n.A,[e.id]:t===void 0?e.defaultValue:t}}function JA(e,t,n,r){let i=!!r?.user,o=YN(e,t,n,i?2:1,r);As(o,!0),r?.defer?Jb(o):o.ue===dn&&(o.T?.Re?.P||o.i===2||r?.schedule?wr.enqueue(o.i,ZA.bind(null,o),o.T?.Re):ZA(o,0))}function Are(){let e=this.m,t=this.T?.U;if(e&2){if(wr.notify(this,1,0),this.i===2){this.m&2&&kA(this);return}XA(this,rA(t))}else this.i===2?e&1&&this.Ae&&!t?.source?.T?.Ve&&(Mi(this).fe=!(this.Ae=!1)):this.i===1&&wr.notify(this,3,e,t)}function XA(e,t,n){if(!wr.notify(e,2,2))throw SN(t),t}function ZA(e,t){if(!e.Ae||e.R&64||t&&mA?.(e)||t&&pN?.(e))return;if(e.m&2&&e.i===2){let i=rA(e.T?.U);e.ge=e.le,e.Ae=!1;try{e.Je?e.Je(i,()=>{let o=e.ze;e.ze=void 0,o?.()}):console.error(i)}catch(o){XA(e,o)}return}let n=e.T?.U==null,r=e.ze;e.ze=void 0;try{r?.();let i=e.qe(e.le,e.ge);e.ze=i}catch(i){Mi(e).U=new cl(e,i),e.m|=2,XA(e,i)}finally{e.ge=e.le,e.Ae=!1,n&&gl(e)}}mo.q=ZA;function rO(e,t){let n=!1,r,i=()=>{if(!o.Ae||o.R&64||mA?.(o))return;let s=Lh;n=!1;try{o.Ae=!1,As(o)}finally{}for(let a=o.C;a!==null;a=a.G){let l=a.S;if(l.ue!==dn&&!(l.l&2048)&&(l.ue!==l.le||!Object.is(l.ue,l.le))){if(l.l&256)n||(n=!0,xr(l).rn[1].push(r||=()=>{n&&(o.Ae=!0,i())}));else if(l.we<=s||l.X){Wo(o),_r();break}}}},o=pc(()=>{let s=o.ze;o.ze=void 0,s?.();let a=nO(e);o.ze=a},{...t,lazy:!0});o.ze=void 0,o.l=o.l&-33|16,o.Ae=!0,o.i=3,o.Z=i,Wo(o),_r()}ZN(Are);var Na=Symbol(0),oO=Symbol(0),Bn=Symbol(0),qr=Symbol(0),as=Symbol(0),sO=new WeakSet,Hh=!1;function C2(e){return Hh&&sO.has(e)}function _2(e){if(yi(e)){if(e[Bn]!==void 0)return;Hh=!0,sO.add(e)}}function Eg(e){if(Array.isArray(e))for(let t=0,n=e.length;t<n;t++)_2(e[t]);else for(let t in e)_2(e[t])}var Mre=Object.prototype,iO=new WeakMap;function yi(e){if(e==null||typeof e!="object")return!1;let t=Object.getPrototypeOf(e);if(t===Mre||t===null||Array.isArray(e))return!0;let n=iO.get(t);return n===void 0&&(n=Object.prototype.toString.call(e)==="[object Object]"&&(typeof Node>"u"||!(e instanceof Node))&&yi(t),iO.set(t,n)),n}function QA(e){return Reflect.ownKeys(e).filter(t=>Object.prototype.propertyIsEnumerable.call(e,t))}var bi=!1;function Ig(e){bi=e}var eM=null;function aO(e){eM=e}function Is(e){return qb(e)}function mc(e){let t=yo.bind(null,e);return t[Bb]=e,t}function tM(e,t){if(typeof e=="function"){let r=pc(e,t);return r.l&=-33,[mc(r),tO.bind(null,r)]}let n=Id(e,t);return GA!==null&&GA(n),[mc(n),go.bind(null,n)]}function Io(e,t){return mc(pc(e,t))}function nM(e,t,n){JA(e,t.effect||t,t.error,{user:!0,...n})}function rM(e,t,n){JA(e,t,void 0,n)}function A2(e){let t=zr();t&&!(t.l&16)?rO(()=>_n(e),void 0):wr.enqueue(2,function n(){if(Cr.Et>=Cr.Fe)return wr.enqueue(2,n);e()})}function T2(e,t,n){let r=typeof n?.keyed=="function"?n.keyed:void 0,i=t.length>1,o=t,s={H:Ys(),it:0,st:e,ot:[],ft:o,ht:[],ln:[],Xe:r,ct:r||n?.keyed===!1?[]:void 0,lt:i&&n?.keyed!==!1?[]:void 0,ut:n?.keyed===!1,L:n?.fallback},a=pc(Rre.bind(s),void 0);return a.l&=-33,mc(a)}var M2={ownedWrite:!0};function Tre(e,t,n,r){let i=e.ot,o=e.it-1,s=[],a=[],l=[],c=256,u=r,f=r;for(;u<=o&&f<=n-1;){let d=i[u],h=t[f];if(d===h){let g=u;do f++;while(++u<=o&&f<n&&i[u]===t[f]);l.push(g,f-u+g,u-g);continue}let p=-1,m=Math.min(32-s.length,o-u,c);for(let g=1;g<=m;g++)if(i[u+g]===h){p=g;break}c-=p===-1?m:p;let y=-1;m=Math.min(32-a.length,n-1-f,c);for(let g=1;g<=m;g++)if(t[f+g]===d){y=g;break}if(c-=y===-1?m:y,p!==-1&&(y===-1||p<=y)){for(;p-- >0;)s.push(u++);continue}if(y!==-1){for(;y-- >0;)a.push(f++);continue}if(c<=0||s.length===32||a.length===32)return!1;s.push(u++),a.push(f++)}for(;u<=o;u++){if(s.length===32)return!1;s.push(u)}for(;f<=n-1;f++){if(a.length===32)return!1;a.push(f)}return $re(e,t,n,r,s,a,l)}function $re(e,t,n,r,i,o,s){let a=e.ot,l,c,u;if(o.length!==0)for(u=new Array(i.length),c=0;c<o.length;c++){let m=-1;for(l=0;l<i.length;l++)if(!u[l]&&a[i[l]]===t[o[c]]){m=l;break}if(m===-1)return!1;u[m]=!0,o[c]=o[c]<<6|m}for(l=0;l<i.length;l++){let m=a[i[l]];if(m===void 0)return!1;for(c=r-1;(c=a.indexOf(m,c+1))!==-1;)if(!i.includes(c))return!1}let f=e.ht,d=e.ln,h=f.slice(0,n),p=d.slice(0,n);for(let m=0;m<s.length;m+=3){let y=s[m],g=s[m+1];if(y!==g)for(let x=0;x<s[m+2];x++)h[g+x]=f[y+x],p[g+x]=d[y+x]}for(c=0;c<o.length;c++){let m=o[c]>>6,y=i[o[c]&63];h[m]=f[y],p[m]=d[y]}for(e.ht=h,e.ln=p,e.it=n,e.ot=t,l=0;l<i.length;l++)(u===void 0||!u[l])&&d[i[l]].dispose();return!0}function Ere(e,t,n,r,i,o,s,a,l){let c=e.Xe,u=e.ot,f=e.ln,d=[],h=n;for(let p=n;p<=i;h++,p++){let m=c?c(t[p]):t[p];for(;h<=r&&(c?c(u[h]):u[h])!==m;)d.push(f[h++]);if(h>r)return s.fill(void 0),null;o[p]=e.ht[h],s[p-n]=f[h],a&&(a[p-n]=e.ct[h]),l&&(l[p-n]=e.lt[h])}for(;h<=r;h++)d.push(f[h]);return d}function Ire(e,t,n,r,i,o,s,a,l){let c=e.ln,u=e.ct,f=e.lt,d=e.it,h=n-d,p,m;if(h>0)for(c.length=n,u&&(u.length=n),f&&(f.length=n),p=d-1,m=n-1;p>i;p--,m--)c[m]=c[p],u&&(u[m]=u[p]),f&&(f[m]=f[p]);else if(h<0){for(p=i+1,m=o+1;p<d;p++,m++)c[m]=c[p],u&&(u[m]=u[p]),f&&(f[m]=f[p]);c.length=n,u&&(u.length=n),f&&(f.length=n)}for(m=r;m<=o;m++)c[m]=s[m-r],u&&iM(u[m]=a[m-r],t[m]),f&&go(f[m]=l[m-r],m);for(m=o+1;m<n;m++)u&&iM(u[m],t[m]),f&&h!==0&&go(f[m],m)}var iM=(e,t)=>e.le===t&&e.ue===dn||go(e,t);function Rre(){this.H.Ke=zr();let e=this.st()||[];e[Na],e=eM?.(e[Bn])??e;let t=e.length;return gi(this.H,Nre.bind(this,e,t)),this.ht}function Nre(e,t){let n=e.slice(0),r,i,o,s,a,l=this.ct?this.ut?()=>(s[o]=Id(n[i],M2),this.ft(mc(s[o]),i)):()=>(s[o]=Id(n[i],M2),a&&(a[o]=Id(i,M2)),this.ft(mc(s[o]),a?mc(a[o]):void 0)):this.lt?()=>{let c=n[i];return a[o]=Id(i,M2),this.ft(c,mc(a[o]))}:()=>{let c=n[i];return this.ft(c)};if(t===0)this.it!==0&&(this.H.dispose(!1),this.ln=[],this.ot=[],this.ht=[],this.it=0,this.ct&&(this.ct=[]),this.lt&&(this.lt=[])),this.L&&!this.ht.length&&(this.ln[0]?.dispose(),this.ht[0]=gi(this.ln[0]=Ys(),this.L));else if(this.it===0){let c=new Array(t),u=new Array(t);s=this.ct&&new Array(t),a=this.lt&&new Array(t);try{for(i=0;i<t;i++)o=i,c[i]=gi(u[i]=Ys(),l)}catch(f){for(r=0;r<=i;r++)u[r]?.dispose();throw f}this.ln[0]&&this.ln[0].dispose(),this.ht=c,this.ln=u,s&&(this.ct=s),a&&(this.lt=a),this.ot=n,this.it=t}else{let c,u,f,d,h,p,m,y,g,x;for(c=0,u=Math.min(this.it,t);c<u&&(this.ot[c]===n[c]||this.ct&&lO(this.Xe,this.ot[c],n[c]));c++)this.ct&&iM(this.ct[c],n[c]);for(u=this.it-1,f=t-1;u>=c&&f>=c&&(this.ot[u]===n[f]||this.ct&&lO(this.Xe,this.ot[u],n[f]));u--,f--);if(c===t&&this.it===t){this.ot=n;return}if(t<=this.it&&u-c>64&&this.ct===void 0&&this.lt===void 0){let P=c+(f-c>>1),N=n[P],_=Math.min(u,P+32),Z=Math.max(c,P-32);for(;Z<=_&&this.ot[Z]!==N;)Z++;if(Z<=_&&Tre(this,n,t,c))return}let w=t-this.it,k=f-c+1,$=new Array(t),C=new Array(k);s=this.ct?new Array(k):void 0,a=this.lt?new Array(k):void 0;let L=w<0?Ere(this,n,c,u,f,$,C,s,a):null;if(L!==null)L.length!==0&&(y=L);else{for(p=new Map,m=new Array(k),i=f;i>=c;i--)d=n[i],h=this.Xe?this.Xe(d):d,r=p.get(h),m[i-c]=r===void 0?-1:r,p.set(h,i);for(r=c;r<=u;r++)d=this.ot[r],h=this.Xe?this.Xe(d):d,i=p.get(h),i!==void 0&&i!==-1?($[i]=this.ht[r],C[i-c]=this.ln[r],s&&(s[i-c]=this.ct[r]),a&&(a[i-c]=this.lt[r]),i=m[i-c],p.set(h,i)):(y??=[]).push(this.ln[r]);try{for(i=c;i<=f;i++)C[i-c]===void 0&&((g??=[]).push(C[i-c]=Ys()),o=i-c,$[i]=gi(C[i-c],l))}catch(P){if(g)for(r=0;r<g.length;r++)g[r].dispose();throw P}}for(r=0;r<c;r++)$[r]=this.ht[r];for(i=f+1;i<t;i++)$[i]=this.ht[i-w];if(Ire(this,n,t,c,u,f,C,s,a),this.ht=$,this.it=t,this.ot=n,y)for(r=0;r<y.length;r++)y[r].dispose()}}function lO(e,t,n){return e?e(t)===e(n):!0}var qi=Symbol(0),Rg=new WeakMap;function Ng(e,t){(t.rr?.map??Rg).set(e,t)}function Oa(e){return e[qi]!==void 0}function Rs(e,t){let n=e[qi];return n!==void 0&&n.rr===t?n:(t?.map??Rg).get(e)}function cO(e){let t=e;for(;t&&!t.d;)t.d=!0,t=t.u}var Nn=null;var Da=null;var Ore=Symbol(0);function xO(e,t,n,r){this.v=e,this.ch=e[Bn]!==void 0,this.pb=null,this.n=null,this.h=null,this.k=null,this.dk=null,this.u=t,this.pk=n,this.px=null,this.d=!1,this.a=!1,this.sc=0,this.kc=0,this.nc=0,this.rr=r,this.o=r!==null&&r.opt===!0,this.s=!1,this.ovl=!1,this.del=null,this.wk=null}function uO(e,t,n,r=t?.rr??null){let i=new xO(e,t,n,r);return i.px=new Proxy(Array.isArray(e)?[]:{},i),Ng(e,i),i}function ta(e,t=null,n=null,r=t?.rr??null){if(Hh&&C2(e))return e;let i=Rs(e,r);if(i!==void 0)return i.px;let o=e[Bn];return o?.px===e&&(r===null||o.rr===r)?e:uO(e,t,n,r).px}function Ro(e){if(e==null||typeof e!="object")return e;let t=e[Bn];return t!==void 0&&(t.px===e||Rs(e,t.rr)===t)&&t.v!==void 0?(t.ovl&&zg(t),t.pb??t.v):e}var Dre=function(e,t){return Ti(e,t)||vO(this.O,e,t)};function P2(e,t){return e===t||e!==e&&t!==t}var Lre=function(e,t){return e===t};function vO(e,t,n){if(t===null||typeof t!="object"||n===null||typeof n!="object")return!1;let r=Rs(t,e.rr);return r!==void 0&&r===Rs(n,e.rr)}var Vh=new Set;function kO(e){let t=e.O,n=e.Xe;if(n===Na)t.k===e&&(t.k=null);else{if(n===oO)return;n===Ore?t.dk===e&&(t.dk=null):t.n?.[n]===e?(delete t.n[n],--t.nc===0&&(t.n=null)):t.h?.[n]===e&&(delete t.h[n],Reflect.ownKeys(t.h).length===0&&(t.h=null))}t.rr!==null&&t.nc===0&&t.k===null&&t.dk===null&&t.h===null&&t.rr.live.delete(t)}function dM(e,t,n){e.rr!==null&&e.rr.live.add(e),cO(e),Da!==null&&Da.ro(e,t,n)}var SO=e=>e.ue!==dn||e.l&2048||e.O.k?.l&256;NN(e=>{SO(e)?Vh.add(e):kO(e)});function _O(e,t,n,r){if(t.ye&&t.ye(t.le,n))return;dc(t),t.ue=n;let i=e.k;if(i!==null){if(jr&&(i.l&10240)===2048)Fg(e,t,xr(i));else if(i.l&256&&L2(e,r)){let o=xr(i);(!(i.l&2048)||o.folded)&&pl(t,Qi(o._parent??o))}i.l&4194304&&k2(t)}}function Nd(e,t,n=-1){let r=e.n??=Object.create(null),i=r[t];if(i===void 0){let o=e.pb,s=i=y2(Dd(e)[t],Dre,e,t,n===-1?F2(o??e.v,t):n===1);o!==null&&!s.acc&&_O(e,s,e.del?.has(t)?void 0:o[t],t),r[t]=i,e.nc++,dM(e,s,t)}return i}function dO(e,t){let n=e.h??=Object.create(null),r=n[t];if(r===void 0){let i=r=y2(t in Dd(e),Ti,e,t,!1),o=e.pb;o!==null&&_O(e,i,t in o&&!e.del?.has(t),t),n[t]=r,dM(e,i,t)}return r}function Hg(e){let t=e.k;return t===null&&(t=e.k=y2(e.v,Lre,e,Na,!1),dM(e,t,Na),e.pb!==null&&!gc&&(t.le=NO(e),t.ue=e.pb,dc(t))),t}function CO(e,t){if(e.k===null&&fr===null&&(Dn===null||wr.Y)&&!Pre(e))return;let n=Hg(e);n.ue===dn&&dc(n),n.ue=t,Dn!==null&&k2(n),e.rr!==null&&!bo&&Fg(e,n)}function Pre(e){let t=e.rr?.node;return t!=null&&!bo&&(t.l&256)!==0}var Bre=e=>{for(let t=0;t<bl.length;t++){let n=bl[t];n.k===null&&n.pb!==null&&pl(Hg(n),e)}Nn?.park(e)},Pd=!1;function fu(e){e.dk!==null&&go(e.dk,1)}function AO(e,t){(e.l&10240)===10240?go(e,t):(e.l&256&&Ts(xr(e)),hc&&UA(e,e.le),ml(e),_r())}var xi=Object.prototype.hasOwnProperty,xl=Object.getPrototypeOf,MO=Object.setPrototypeOf,B2=Object.prototype.__lookupGetter__,Fre=Object.prototype.__lookupSetter__,sM=Object.prototype.propertyIsEnumerable;function R2(e,t){return xi.call(e,t)&&(B2.call(e,t)!==void 0||Fre.call(e,t)!==void 0)}function F2(e,t){return R2(e,t)||t!=="__proto__"&&!xi.call(e,t)&&B2.call(e,t)!==void 0}function N2(e,t){if(t.sc||TO(t),t.sc===2){let r={...e};return r[qi]=t,r}let n;if(!t.a&&t.kc<=e.length+1&&xl(e)===Array.prototype)n=e.slice();else{let r=Object.getOwnPropertyDescriptors(e);for(let i of Reflect.ownKeys(r)){let o=r[i];i==="length"&&Array.isArray(e)||(o.configurable=!0,!o.get&&!o.set?o.writable=!0:t.a=!0)}n=Object.defineProperties(Array.isArray(e)?MO([],xl(e)):Object.create(xl(e)),r)}return n[qi]=t,n}function Hre(e,t){let n=Object.create(null);for(let r of Reflect.ownKeys(e))n[r]=e[r];return MO(n,Object.prototype),n[qi]=t,n}function aM(e,t,n){let r=Object.getOwnPropertyDescriptor(t,n);r.get||r.set||!r.enumerable||!r.writable||!r.configurable?Object.defineProperty(e,n,r):e[n]=r.value}function TO(e){let t=e.v,n=Reflect.ownKeys(t),r=xl(t)===Object.prototype;for(let i of n){if(R2(t,i)){e.a=!0,r=!1;break}r&&!sM.call(t,i)&&(r=!1)}return e.sc=r?2:1,e.kc=n.length,!e.a}var zre=32,Vre=1024,fO=16,jh=new Set,$O=e=>{let t=xl(e);return t===Object.prototype||t===Array.prototype||t===null};function jre(e,t){if(e.kc>Vre)return!1;if(e.del?.size)return!0;let n=e.wk;if(n!==null&&n!==jh&&n.u===void 0&&n.size<=fO)return!1;let r=e.v,i=0;for(let o of Reflect.ownKeys(t))if(!xi.call(r,o)&&++i>fO)return!0;return!1}function zg(e){let t=e.pb;if(!e.ovl)return t;let n=IO(e,e.sc===2?Hre(e.v,e):N2(e.v,e),t);return e.pb=n,e.k?.ue===t&&(e.k.ue=n),n}function $2(e){let t=e.pb;if(Nn!==null&&e.o&&bo&&!yl.has(e))return e.pb=Nn.draft(e);if(t!==null&&!Oa(t)){t=e.pb=N2(t,e);let n=e.k;n!==null&&!(n.l&256)&&(n.ue=t)}else if(t===null){let n=e.v;if(gc||RO(e),!e.ch&&!Array.isArray(n)&&(e.sc!==0?!e.a:TO(e))&&e.kc>zre&&Oa(n))t=e.pb=Object.create(n),e.ovl=!0;else try{t=e.pb=N2(n,e)}catch(r){if(!(r instanceof Kr))throw r;return{}}gc||CO(e,t)}return t}function O2(e){if(Oa(e.v))return;let t=e.v,n=N2(t,e);if(e.v=n,e.ch=!1,e.u){O2(e.u);let r=e.u.v,i=EO(e,t);r[i]===t&&(r[i]=e.v)}}function EO(e,t){let n=e.pk,r=e.u.v;if(r[n]===t||r[n]===e.v||!Array.isArray(r))return n;let i=r.indexOf(t);return i===-1?n:(e.pk=i,i)}function qre(e,t){O2(e),IO(e,e.v,t)}function IO(e,t,n){for(let r of Reflect.ownKeys(n))e.sc===2?t[r]=n[r]:aM(t,n,r);if(e.del!==null){for(let r of e.del)delete t[r];e.kc-=e.del.size,e.del=null}return e.ovl=!1,t}function qh(e,t,n=!0){gc||RO(e);let r;if(e.pb!==null?(e.ovl&&zg(e),r=e.pb):r=e.v,bo&&e.k?.l&256&&!Array.isArray(r))for(let o in{...r,...t})Vh.add(Nd(e,o));gc?(e.pb=null,e.k!==null&&(e.k.le=t)):(e.pb=t,CO(e,t)),e.v=t,e.ch=t[Bn]!==void 0,e.ovl=!1,e.del=null,e.sc=0,e.a=!1,e.wk=null,t[qi]?.rr===e.rr?t[qi]=e:Ng(t,e),Nn!==null&&e.o&&Nn.judge(e,t),n&&r!==t&&hM(e,r,t)}var bl=[],Pg=[],hO=[],pO=[],Od=null;function RO(e){e.pb===null&&(_r(),Od!==null&&Od.set(e,bl.length),bl.push(e),Pg.push(e.v))}function NO(e){if(Od===null){Od=new Map;for(let n=0;n<bl.length;n++)Od.set(bl[n],n)}let t=Od.get(e);return t===void 0?e.v:Pg[t]}function Wre(){if(bl.length!==0){let e=bl,t=Pg;bl=hO,Pg=pO,hO=e,pO=t,Od=null;for(let n=0;n<e.length;n++){let r=e[n];if(r.pb===null)continue;let i=r.k;i!==null&&i.ue!==dn?(bl.push(r),Pg.push(t[n])):DO(r,t[n])}e.length=0,t.length=0}if(Vh.size!==0)for(let e of Vh)e.o===null&&!SO(e)&&(Vh.delete(e),kO(e))}mo.k=e=>(e.O?.rr?.node?.m&1)!==0;hN(Bre,()=>{Wre(),Nn?.sweep()});mo.so=Nd;mo.fo=yi;var gc=!1;function OO(e){let t=gc;gc=!0;try{e()}finally{gc=t}}function DO(e,t){{let n=e.k,r=e.pb;if(r!==null){if(r!==e.v)if(e.ovl&&(e.v!==t||!jre(e,r)&&n?.T?.De!==t))qre(e,r);else if(e.v!==t){O2(e);let i=e.v,o=e.wk;if(o!==null&&o!==jh)for(let s=o;s!==void 0;s=s.u)for(let a of s)xi.call(r,a)?aM(i,r,a):delete i[a];else{for(let s of Reflect.ownKeys(r))s!==qi&&aM(i,r,s);for(let s of Reflect.ownKeys(t))s!==qi&&!xi.call(r,s)&&delete i[s]}}else e.v=e.ovl?zg(e):r,e.ch=e.v[Bn]!==void 0;e.pb=null,e.wk=null}if(n!==null&&(n.o===null?e.k=null:n.le=e.v),e.v!==t&&e.u){let i=EO(e,t);e.u.v[i]===t&&(O2(e.u),e.u.v[i]=e.v)}}}var D2=!1,bo=!1,E2=null;function LO(){return bo}function Ure(e,t,n){if(e.rr===null||!bo)return!1;if(t!==void 0)return(t.l&262400)===256&&xr(t)!==Vr;let r=e.k;return r!==null&&(r.l&256)!==0&&xr(r)!==Vr&&L2(e,n)}function I2(e){let t=e.pb;if(t===null)return;if(Nn!==null&&e.o){if(bo){e.pb=null,e.wk=null,e.pb=Nn.writes(e,t);return}Nn.pair(e,t),Nn.judge(e,t)}let n=e.v,r=e.n,i=e.wk,o=i===jh||e.a===!0||!$O(e.ovl?e.v:t)?null:i;if(e.rr!==null&&!D2&&o!==null){for(let l of o)if(Ure(e,r?.[l],l)){D2=!0;break}}if(r!==null){let l=o??Reflect.ownKeys(r);for(let c of l){let u=r[c];if(u===void 0)continue;let f=!1;if(u.acc===!0||(f=xi.call(t,c))&&B2.call(t,c)!==void 0){u.acc=F2(t,c);let h=Object.getOwnPropertyDescriptor(n,c),p=Object.getOwnPropertyDescriptor(t,c);if(!p||p.get||p.set){(h?.get!==p?.get||h?.set!==p?.set||h?.value!==p?.value)&&go(u,()=>fM);continue}(h?.get||h?.set||!Ti(h?.value,p.value))&&go(u,()=>p.value);continue}let d=f||!(e.del?.has(c)||c==="__proto__")?t[c]:void 0;if(Nn!==null&&e.o&&Nn.covers(e,c,!1)){lM(u,d);continue}go(u,()=>d),e.rr!==null&&(bo?u.l|=262144:(u.l&=-262145,Fg(e,u)))}}let s=e.h;if(s!==null){let l=o??Reflect.ownKeys(s);for(let c of l){let u=s[c];if(u!==void 0){if(Nn!==null&&e.o&&Nn.covers(e,c,!0)){lM(u,c in t&&!e.del?.has(c));continue}go(u,c in t&&!e.del?.has(c)),e.rr!==null&&!bo&&Fg(e,u)}}}if(Pd&&e.dk!==null)if(e.del?.size)fu(e);else for(let l of o??Reflect.ownKeys(t)){if(l===qi)continue;let c=t[l],u=n[l];if(c!==null&&typeof c=="object"?!yc(u,c):!Ti(u,c)){fu(e);break}}let a=e.k;if(a!==null&&(a.o!==null||a.l&2048)){let l;if(e.ovl){if(l=!!e.del?.size,!l){for(let c of Reflect.ownKeys(t))if(!xi.call(n,c)){l=!0;break}}}else l=Array.isArray(t)&&Array.isArray(n)?PO(n,t):BO(n,t);l&&AO(a,t)}}function lM(e,t){e.le=t,e.ue!==dn&&(e.ue=t)}var fM=Symbol();function yc(e,t){if(e===null||typeof e!="object"||t===null||typeof t!="object")return!1;let n=Rs(e,null);return n!==void 0&&n===Rs(t,null)}function PO(e,t){if(e.length!==t.length)return!0;for(let n=0;n<t.length;n++){let r=e[n],i=t[n];if(!Ti(r,i)&&!yc(r,i))return!0}return!1}function BO(e,t){let n=Reflect.ownKeys(t);if(Reflect.ownKeys(e).length-+Oa(e)!==n.length-+Oa(t))return!0;for(let r of n)if(r!==qi&&!(r in e))return!0;return!1}function Bg(e,t){let n=e.O;if(Nn!==null&&n.o&&Nn.covers(n,e.Xe,n.h?.[e.Xe]===e)){lM(e,typeof t=="function"?t():t);return}go(e,t),fr!==null&&!bo&&e.O.rr!==null&&Fg(e.O,e)}function Bd(e,t,n,r,i=!0){if(e.acc===!0||i&&xi.call(r,t)&&B2.call(r,t)!==void 0){e.acc=F2(r,t);let o=Object.getOwnPropertyDescriptor(n,t),s=Object.getOwnPropertyDescriptor(r,t);if(!s||s.get||s.set){(o?.get!==s?.get||o?.set!==s?.set||o?.value!==s?.value)&&Bg(e,()=>fM);return}let a=o?.value,l=s?.value;(o?.get||o?.set||!Ti(a,l)&&!yc(a,l))&&Bg(e,typeof l=="function"?()=>l:l)}else{let o=n[t],s=r[t];(n[Bn]||!Ti(o,s)&&!yc(o,s))&&Bg(e,typeof s=="function"?()=>s:s)}}function FO(e){return e.acc===!0}function H2(e,t,n,r,i,o){if(e.acc===!0){Bd(e,t,i,o,!1);return}!Ti(n,r)&&!yc(n,r)&&Bg(e,typeof r=="function"?()=>r:r)}function z2(e,t,n){let r=e.h,i=t[Bn];if(r!==null)for(let s of Reflect.ownKeys(r))(i||s in t!=s in n)&&Bg(r[s],s in n);let o=e.k;o!==null&&(o.o!==null||o.l&2048)&&(i||(Array.isArray(n)&&Array.isArray(t)?PO(t,n):BO(t,n)))&&AO(o,n)}function hM(e,t,n){Pd&&e.dk!==null&&t!==n&&fu(e);let r=e.n;if(r!==null)for(let i of Reflect.ownKeys(r))Bd(r[i],i,t,n);z2(e,t,n)}var Og=0,wl=null,yl=new Set;function pM(e){if(e.rr!==null)return e.rr;let t=e;for(;t.u!==null;)t=t.u;return t}function wi(e){return wl!==null&&wl.has(pM(e))}function Lg(e,t,n){return n!==null&&typeof n=="object"&&n[Bn]!==void 0?Ld(e,ta(n,e,t)):n}function Ld(e,t){if(wl!==null&&wi(e)){let n=t?.[Bn];n?.v!==void 0&&wl.add(pM(n))}return t}function Dd(e){let t=e.k;return t!==null?t.ue!==dn?t.le:e.v:e.pb!==null?NO(e):e.v}function Kre(){let e=Dn;return e===null?null:(e.Qe&&(e=e.Ke??null),e===null||e.l&16?null:e)}function Rd(e,t,n=!1){if(Nn!==null&&bo&&e.o&&!yl.has(e)&&wi(e)){let a=$2(e);return yl.add(e),a}let r=e.pb;if(r===null)return e.v;if(wi(e)||bi){if(bo!==bi){let a=t!==void 0?e.n?.[t]:void 0,l=a??e.k;l!=null&&(l.l&2304)===256&&(a!==void 0||t===void 0||L2(e,t))&&(bo?E2=xr(l):bg(xr(l)))}return r}let i=e.k;if(t!==void 0){let a=e.n?.[t];if(a?.l&2048&&i?.T?.Re!==(a.T.Re||0))return Dd(e)}let o=i!==null&&(i.l&256)!==0;if(o&&t!==void 0&&!L2(e,t,n))return r;let s=Kre();if(s===null)return $o()!==null||Yre(e)?r:Es===null||!o&&t!==void 0&&!yO(e,t,n)?o?i.le:e.v:i===null?Dd(e):yo(i);if(!o){if(s.R&16384&&!(s.l&32784))return r;if(t!==void 0&&!yO(e,t,n))return Dd(e);if(i===null)return s.l&32768&&v2(s)?Dd(e):(x2(s),r)}return _n(()=>yo(i))}function L2(e,t,n=!0){return HO(e,e.k.le,e.k.ue,t,n)&&!Gre(e,t)}var mO=new WeakMap;function gO(e){let t=mO.get(e);return t===void 0&&mO.set(e,t=new Set(Object.values(e))),t}function mM(e,t,n){return e!==null&&typeof e=="object"&&t!==null&&typeof t=="object"&&(n===null||P2(n(e),n(t)))}function Gre(e,t){let n=e.k,r=n.le,i=r[t],o=n.ue[t],s=Array.isArray(r)?e.rr?.key:null;if(e.s||s===void 0||!mM(i,o,s)||!yi(i)||!yi(o)||Array.isArray(i)!==Array.isArray(o)||Rs(i,e.rr)!==void 0||Rs(o,e.rr)!==void 0||gO(r).has(o)||gO(n.ue).has(i))return!1;let a=ta(i,e,t)[Bn];return a?.v!==i?!1:(qh(a,o,!1),pl(Hg(a),xr(n)),!0)}function Yre(e){return e.rr!==null&&Dn===null&&!(e.k?.l&256)}function yO(e,t,n=!0){return HO(e,Dd(e),e.pb,t,n)}function HO(e,t,n,r,i){if(e.ch||n[Bn]!==void 0||xl(n)!==xl(t)||!$O(t))return!0;if(e.del?.has(r))return r in t;let o=xi.call(n,r)||e.ovl&&xi.call(e.v,r);if(o!==xi.call(t,r))return!0;if(!o)return!1;if((i||e.a)&&(R2(t,r)||R2(n,r)||sM.call(t,r)!==sM.call(n,r)))return!0;let s=n[r],a=t[r];return!Ti(a,s)&&!vO(e,a,s)}function cM(e,t,n){let r;return e.ue!==dn&&!(e.l&256)&&n.rr!==null&&(Dn===null||n.rr.node?.m&4)?(Dn!==null&&Ai&&$d(e,Dn),r=e.ue):r=yo(e),r===fM?t:r}function bO(e,t,n,r,i,o=-1){let s=e.ch&&r===e.v,a=n;if(!wi(e)&&!bi&&(i===void 0&&$o()!==null&&(i=Nd(e,t,o)),i!==void 0)){let l=cM(i,n,e);s?i.le=n:a=l}if(e.ch&&!s&&a!==null&&typeof a=="object"&&a[Bn]?.px!==a&&(a=VO(e,t,a)),e.s)return Lg(e,t,a);if(i!==void 0){if(i.pxv===a&&a!==void 0)return Ld(e,i.px);if(!yi(a))return a;let l=ta(a,e,t);return i.px=l,i.pxv=a,Ld(e,l)}return yi(a)?Ld(e,ta(a,e,t)):a}function Xre(e,t){for(let n=t.o;n!==null;n=n.t)if(n.u===e)return!0;return!1}function zO(e,t){for(let n=e.C;n;n=n.G){let r=n.S;if(r===t||r.he>t.he&&zO(r,t))return!0}return!1}function zh(e){let t=e.rr.node;if(t===null||bi||wi(e))return;let n=Dn;if(!(n?.o&&zO(t,n)))if(t.m&3||t.l&2097152){if(Es===null&&t.m&1&&Nn?.stands(e)||n!==null&&n.i===1&&t.m&1&&t.l&256&&Vr!==xr(t)&&!Xre(n,t))return;if(n?.C!==void 0&&t.l&2097152&&$d(t,n),ni&&t.l&32768&&!(t.R&1<<21)&&Ai)for(let r=t.C;r;r=r.G)r.S.m&1&&yo(r.S);yo(t)}else{let r=Dn;if(r?.Qe&&(r=r.Ke),r&&WA(t,r),_n(()=>yo(t)),ni&&t.l&32768&&!(t.R&1<<21)&&Ai){let i=e.rr;i.w=0;for(let o=t.C;o;o=o.G)o.S.m&1&&(i.w=1,yo(o.S))}}}function Fg(e,t,n=fr){let r=e.rr?.node;if(jr&&n!==null&&t.ue!==dn&&!(t.l&2048)){i2(t,n),t.l|=2048;return}r!=null&&r.l&256&&t.ue!==dn&&!(t.l&2304)&&(pl(t,xr(r)),t.T.Ve=r.T.Ve)}function VO(e,t,n){let r=e.v[Bn];if(r.ch){let o=VO(r,t,n);return o===n?n:ta(o,r,t)}let i=Rs(n,r.rr);return i!==void 0?i.px:(r.v[t]===n||r.pb?.[t]===n)&&yi(n)?ta(n,r,t):n}function wO(e){if(!wi(e)&&!bi&&$o()!==null){let n=yo(Hg(e));if(Nn!==null&&e.o){let r=Nn.frame(e);if(r!==dn)return r}return n}let t=Rd(e);return uM(e)?Nn.view(e,t):t}function uM(e){return Nn!==null&&e.o&&!wi(e)&&!bi}var Zre=new Set(["__proto__","prototype","constructor"]);function Dg(e,t){let n=e.wk;yl.has(e)||(yl.add(e),n!==null&&n!==jh&&(n=new Set,n.u=e.wk,e.wk=n)),n!==jh&&(e.wk??=new Set).add(t)}var Jre={get(e,t,n){let r=this;if(typeof t!="string"){if(t===Bn)return r;if(t===qr)return n;if(t===qi||t===as)return;if(t===Bb)return r.rr?.node??void 0;if(t===Na){if(r.rr!==null&&zh(r),!wi(r)&&$o()!==null){yo(Hg(r)),Nn!==null&&r.o&&!bi&&Nn.frame(r);let c=Rd(r);c[Bn]!==void 0&&c[Na]}return}}if(Es!==null&&Da!==null&&$o()===null&&Da.io(r,t),r.rr!==null&&zh(r),Nn!==null&&r.o&&!bi)if(wi(r))Nn.drafted(r,t);else{let c=Nn.read(r,t);if(c!==dn)return c}let i=r.n?.[t];if(wl===null&&!bi){let c=i;if(c!==void 0&&c.acc!==!0&&!r.ch){let u=cM(c,void 0,r);if(u===null||typeof u!="object")return u;if(r.s)return Lg(r,t,u);if(c.pxv===u)return c.px;if(yi(u)){let f=ta(u,r,t);return c.px=f,c.pxv=u,f}return u}}let o=Rd(r,t);if(o===r.pb&&r.del?.has(t)){!wi(r)&&$o()!==null&&yo(Nd(r,t));return}let s=-1;{let c;if(i!==void 0?c=i.acc===!0:!wi(r)&&$o()!==null?(c=F2(o,t),o===(r.pb??r.v)&&(s=c?1:0)):c=!1,c){!wi(r)&&$o()!==null&&yo(i??Nd(r,t,s));let u=Reflect.get(o,t,n);return r.s?Lg(r,t,u):yi(u)?Ld(r,ta(u,r,t)):u}}let a=r.ovl&&o===r.pb;if((t==="constructor"?bi||wi(r):t==="__proto__"||t==="prototype")&&!xi.call(o,t)&&!(a&&xi.call(r.v,t)))return;let l=o[t];if(l===void 0&&!xi.call(o,t)&&!(a&&xi.call(r.v,t))){if(l=Reflect.get(o,t,n),typeof l=="function")return l;if(r.ch&&o===r.v)return bO(r,t,l,o,i,s);if(l===void 0&&!wi(r)){$o()!==null&&Nd(r,t,s);let c=r.n?.[t];if(c){let u=cM(c,void 0,r);return r.s?Lg(r,t,u):yi(u)?Ld(r,ta(u,r,t)):u}}return r.s?Lg(r,t,l):yi(l)?Ld(r,ta(l,r,t)):l}return typeof l=="function"&&!xi.call(o,t)&&!(a&&xi.call(r.v,t))?l:bO(r,t,l,o,i,s)},has(e,t){let n=this;if(t===Bn||t===qr||t===Na)return!0;if(t===qi||t===as)return!1;if(Es!==null&&Da!==null&&$o()===null&&Da.io(n,t),n.rr!==null&&zh(n),Nn!==null&&n.o&&!bi&&wi(n)&&Nn.drafted(n,t,!0),uM(n)){let i=Nn.has(n,t);if(i!==void 0)return i}let r=Rd(n,t);if(!wi(n)&&!bi&&$o()!==null){let i=dO(n,t),o=yo(i);if(!n.ch||r!==n.v)return!!o;let s=t in r;return i.le=s,s}return t in r&&!(r===n.pb&&n.del?.has(t))},ownKeys(){let e=this;return Es!==null&&Da!==null&&$o()===null&&Da.io(e,void 0),e.rr!==null&&zh(e),Nn!==null&&e.o&&!bi&&wi(e)&&Nn.drafted(e,void 0,!0),eie(e,wO(e))},getOwnPropertyDescriptor(e,t){let n=this;if(t===qi||t===as)return;let r=$o();Es!==null&&Da!==null&&r===null&&Da.io(n,t),n.rr!==null&&zh(n);let i=r!==null&&!wi(n)&&!bi,o=i&&Qre(n,r);if(!o&&uM(n)){let l=Nn.descriptor(n,t,Array.isArray(e));if(l!==void 0)return l===null?void 0:l}let s;if(o)s=wO(n);else if(i){let l=dO(n,t),c=yo(l);if(s=Rd(n,t,!0),!c&&(!n.ch||!(t in s)))return}else s=Rd(n,t,!0);let a;if(a??=tie(n,s,t),a!==void 0)return t==="length"&&Array.isArray(e)?a.writable=!0:a.configurable=!0,a},set(e,t,n){let r=this,i=wi(r);if(!i&&!bi||t==="__proto__")return!0;let o=r.s||r.rr&&n?.[Bn]?.rr!==r.rr?n:Ro(n),s=$2(r);bo&&r.k?.l&256&&Vh.add(Nd(r,t)),Array.isArray(s)?(Dg(r,t),t==="length"?r.wk=jh:Dg(r,"length")):(Dg(r,t),t in s||r.kc++);let a=Zre.has(t);return a||r.ovl&&r.sc!==2&&!xi.call(s,t)?Object.defineProperty(s,t,{value:o,writable:!0,enumerable:!0,configurable:!0}):s[t]=o,r.del?.delete(t),a||(r.s&&o!==null&&typeof o=="object"&&_2(o),i||I2(r)),!0},defineProperty(e,t,n){let r=this,i=wi(r);if(!i&&!bi||t==="__proto__")return!0;(n.get||n.set)&&(r.a=!0),"value"in n&&(n={...n,value:Ro(n.value)});let o=$2(r);return(r.a||!(n.enumerable&&n.writable&&n.configurable))&&(r.sc=1),Dg(r,t),Object.defineProperty(o,t,n),r.del?.delete(t),i||I2(r),!0},deleteProperty(e,t){let n=this,r=wi(n);if(!r&&!bi)return!0;let i=$2(n);Dg(n,t);let o=n.ovl&&xi.call(n.v,t);return xi.call(i,t)&&(delete i[t],o||n.kc--),o&&(n.del??=new Set).add(t),r||I2(n),!0},getPrototypeOf(){return xl(this.v)},preventExtensions:()=>!1,setPrototypeOf:()=>!1};xO.prototype=Jre;function Qre(e,t){let n=e.k;if(n===null)return!1;let r=n.Ze;return r!==null&&r.u===t&&(!(t.R&4)||r.Ne===t.de)}function gM(e,t,n=!0){Tg!==null&&Tg(e);let r=e[Bn],i=wl;wl=new Set,wl.add(pM(r));let o=bo;bo=n,Og===0&&yl.size&&yl.clear(),Og++;let s;try{s=t(e),Nn!==null&&n&&r.o&&!bi&&s!==void 0&&s!==e&&yi(s)&&(Nn.reconcile(e,Ro(s),r.rr?.key??null),s=void 0)}finally{if(Og--,wl=i,Og===0&&yl.size){E2!==null&&Ts(E2);let a=[...yl];yl.clear();for(let l of a)I2(l);if(gc)for(let l of a)l.pb!==null&&DO(l,l.v)}bo=o,Og===0&&(E2=null)}if(s!==void 0&&s!==e&&yi(s)&&qh(r,Ro(s)),n&&D2){D2=!1;let a=r.rr.node;a.R&2||(a.R=a.R&-2|2,Bh(a,Cr),_r())}}aO(e=>{if(e?.s&&!(e.ch||e.a||wl||bi||e.rr?.opt))return e.rr&&zh(e),Rd(e)});function eie(e,t){let n;if(e.ovl&&t===e.pb){n=Reflect.ownKeys(e.v);let r=e.del;r?.size&&(n=n.filter(i=>!r.has(i)));for(let i of Reflect.ownKeys(t))xi.call(e.v,i)||n.push(i)}else n=Reflect.ownKeys(t);for(let r=n.length-1;r>=0&&typeof n[r]=="symbol";r--)if(n[r]===qi){n.splice(r,1);break}return n}function tie(e,t,n){let r=Object.getOwnPropertyDescriptor(t,n);if(e.ovl&&t===e.pb){if(e.del?.has(n))return;r===void 0&&(r=Object.getOwnPropertyDescriptor(e.v,n))}return r}function jO(e,t,n,r=!1){if(t==null)throw new Error("");let i=t[Bn];if(i?.px!==t)throw new Error("");let o=n===null?null:typeof n=="string"?a=>a?.[n]:n;if(Nn!==null&&i.o&&LO()){Nn.reconcile(t,Ro(e),o);return}if(r&&e!==t&&e?.[Bn]!==void 0){if((i.pb??i.v)===e)return;qh(i,e);return}let s=Ro(e);if(o){let a=i.pb??i.v,l=o(a);if(l!==void 0&&!P2(o(s),l)){if(!r)throw new Error("");Oa(a)?delete a[qi]:(i.rr?.map??Rg).delete(a),qh(i,s);return}}qO(i,s,o,r)}function qO(e,t,n,r=!1){let i=e.ovl?zg(e):e.pb??e.v;if(t===i&&!Oa(i))return;let o=Nn!==null&&e.o?(Nn.pair(e,t,!0),Nn.view(e,i)):i,s=Array.isArray(t),a=e.s===!0;qh(e,t,!1),a&&Eg(t);let l=e.dk===null;if(Array.isArray(o)!==s||i[Bn]){hM(e,i,t);return}if(s){let d=e.n,h=0;if(n&&!a){let p=o.length,m=t.length,y=0;for(let w=Math.min(p,m);y<w;y++){let k=t[y],$=o[y];if($!==k&&!mM($,k,n))break;if(k!==null&&typeof k=="object"&&($!==k||Oa(k))&&Vg(Ro($),k,n,r,e,y),Pd&&!l&&!(k!==null&&typeof k=="object"?yc($,k):Ti($,k))&&(fu(e),l=!0),d!==null){let C=d[y];C!==void 0&&(h++,H2(C,y,i[y],k,i,t))}}Pd&&!l&&y<t.length&&fu(e);let g=y,x=null;for(;y<t.length;y++){let w=t[y];if(w!==null&&typeof w=="object"){let k=n(w),$;if(k!==void 0){if(x===null){x=new Map;for(let L=g;L<o.length;L++){let P=Ro(o[L]);if(P!==null&&typeof P=="object"){let N=n(P);if(N===void 0)continue;let _=x.get(N);_===void 0?x.set(N,L):Array.isArray(_)?_.push(L):x.set(N,[_,L])}}}let C=x.get(k);C===void 0?$=void 0:Array.isArray(C)?($=Ro(o[C.shift()]),C.length===1&&x.set(k,C[0])):($=Ro(o[C]),x.delete(k))}else $=Ro(o[y]);Vg($,w,n,r,e,y)}if(d!==null){let k=d[y];k!==void 0&&(h++,Bd(k,y,i,t,!1))}}}else{let p=Math.min(o.length,t.length),m=t.length;for(let y=0;y<m;y++){let g=t[y];if(!a&&y<p&&g!==null&&typeof g=="object"&&Vg(Ro(o[y]),g,n,r,e,y),Pd&&!l&&!(g!==null&&typeof g=="object"?yc(o[y],g):Ti(o[y],g))&&(fu(e),l=!0),d!==null){let x=d[y];x!==void 0&&(h++,Bd(x,y,i,t,!1))}}}if(d!==null&&h<e.nc)for(let p of Reflect.ownKeys(d)){let m=typeof p=="string"?+p:NaN;m>=0&&m<t.length||Bd(d[p],p,i,t,!1)}z2(e,i,t);return}let c=e.n,u=0;for(let d in t){let h=t[d],p=i[d];Nn&&p===h&&o!==i&&(p=o[d]);let m=h!==null&&typeof h=="object";if(p===h&&(!m||!Oa(h))&&(c===null||c[d]===void 0||!FO(c[d]))){c?.[d]!==void 0&&u++;continue}if(m&&!a&&Vg(Ro(o[d]),h,n,r,e,d),Pd&&!l&&!(m?yc(p,h):Ti(p,h))&&(fu(e),l=!0),c!==null){let y=c[d];y!==void 0&&(u++,H2(y,d,p,h,i,t))}}let f=Object.getOwnPropertySymbols(t);for(let d=0;d<f.length;d++){let h=f[d];if(h===qi)continue;let p=t[h];if(!a&&p!==null&&typeof p=="object"&&Vg(Ro(i[h]),p,n,r,e,h),c!==null){let m=c[h];m!==void 0&&(u++,H2(m,h,i[h],p,i,t))}}if(c!==null&&u<e.nc)for(let d of Reflect.ownKeys(c))nie.call(t,d)||Bd(c[d],d,i,d==="__proto__"?Object.create(null):t,!1);z2(e,i,t)}var nie=Object.prototype.hasOwnProperty;function Vg(e,t,n,r,i,o){if(e===null||typeof e!="object")return;let s=i.rr;t=Ro(t);let a=Rs(e,s),l=Rs(t,s);if(a!==void 0&&a.pk!==o&&(a.pk!=o&&i.v[a.pk]===a.v?a=void 0:a.u===i&&(a.pk=o)),l!==void 0&&l!==a){if(l.v===t){l.u===i&&(l.pk=o);return}(s?.map??Rg).delete(t)}if(a!==void 0&&yi(t)&&!(Hh&&C2(t))&&Array.isArray(e)===Array.isArray(t)){if(typeof o!="number"&&n){let c=n(e),u=n(t);if(c!==void 0&&u!==void 0&&!P2(c,u))return}!r&&n!==null&&!a.d||qO(a,t,n,r)}}function UO(e,t,n,r,i,o){let s=f=>{if(!t())return!0;Ig(!0);let d=Md;o!==void 0&&wg(o());try{n?n(f):f()}finally{Ig(!1),wg(d)}return i&&i(),!0},a=f=>{Ig(!0);try{return f()}finally{Ig(!1)}},l={get(f,d){let h=a(()=>e[d]);return!r&&typeof h=="object"&&h!==null&&d!==Bn?UO(h,t,n,!1,i,o):h},has:(f,d)=>a(()=>d in e),set:(f,d,h)=>s(()=>{e[d]=h}),deleteProperty:(f,d)=>s(()=>{delete e[d]}),ownKeys:()=>a(()=>Reflect.ownKeys(e)),getPrototypeOf:()=>xl(e),getOwnPropertyDescriptor(f,d){let h=a(()=>Reflect.getOwnPropertyDescriptor(e,d));return h&&(h.configurable=!0),h},defineProperty:(f,d,h)=>s(()=>{Reflect.defineProperty(e,d,h)})},c=new Proxy(Array.isArray(e)?[]:{},l),u=e[Bn];return u!==void 0&&Ng(c,u),c}function WO(e,t){return t?Array.isArray(e)?e.slice():{...e}:JSON.parse(JSON.stringify(e))}function V2(e){let t=e.node,n=new Kr(t);e.Tt=!0;let r=Nn?.ask(e);bM(e,i=>{i.o===null||r?.(i)||(u2(i,t),DA(i,1,n))})}function yM(e,t){bM(e,n=>{n.o!==null&&_g(n,r=>{r.m&2&&r.T.U===t||Wo(r)})}),_r()}function KO(e){if(!e.Tt)return;e.Tt=!1;let t=e.node;bM(e,n=>{n.o!==null&&Ra(n,t)}),ml(t)}function rie(e,t){e&1?V2(this):e?e&2&&yM(this,t):KO(this)}function bM(e,t){for(let n of e.live){let r=n.n;if(r!==null)for(let o of Reflect.ownKeys(r))t(r[o]);let i=n.h;if(i!==null)for(let o of Reflect.ownKeys(i))t(i[o]);n.k!==null&&t(n.k),n.dk!==null&&t(n.dk)}}function iie(e,t,n,r,i){let o=zr(),s=e[Bn],a=s.rr,l=a.run=(a.run||0)+1;ni&&(a.Tt||a.w)&&(a.w=0,o.l&=-32769,fr?._parent.Pe===fr&&Ad(null));let c,u=o.Ie?WO(s.v,s.s):null,f=()=>Md||(o.T!==null&&o.T.Ee!==null?o.T.ce:0),d=UO(e,()=>a.run===l&&!cg(o),i,s.s,()=>{!(o.m&1)&&!o.Ie&&_r()},f),h=l===1,p=()=>gM(d,m=>{c=t(u??m);let y=(w,k=1)=>{if(u&&(w===void 0||w===u)&&(w=WO(u,s.s)),w!==m&&w!==void 0){let $=()=>{let C=Md;wg(f());try{gM(e,L=>jO(w,L,n,!0),!1)}finally{wg(C)}};r?r($,w):$()}(!h||!(o.m&4))&&!(hl&&o.m&1&&hl(o,null,!0))&&KO(a),k&&ml(o)},x=d2(o,c,(w,k,$)=>LN(o,w,y,k,$),(w,k)=>{h&&o.m&4||(k?V2(a):yM(a,w))});o.Ie||y(x,o.m&3)},!1);try{h?OO(p):p()}catch(m){throw h||(m instanceof Kr?V2(a):yM(a,m)),m}return o.m&1&&o.T.Ee!==null&&!o.Ie&&!h&&V2(a),o}function oie(e,t,n,r){t||={};let i=n?.key===void 0?"id":n.key,o={map:new WeakMap,node:null,live:new Set,st:rie,It:!!n?.shallow,opt:r,key:typeof i=="function"?i:i===null?null:l=>yi(l)?l[i]:void 0},s=ta(t,null,null,o);o.It&&(s[Bn].s=!0,Eg(t));let a;if(n?.seedLoadingValue&&(a={loadingValue:void 0}),e){let l=pc(()=>{o.node||(o.node=zr()),iie(s,e,i)},a);l.l&=-33,o.node=l,l.rr=o}return s}function j2(e,t,n){return oie(e,t,n)}function hu(e,t){if(typeof e=="function"&&!e.length){if(t?.doNotUnwrap)return e;do e=e();while(typeof e=="function"&&!e.length)}if(!(t?.skipNonRendered&&(e==null||e===!0||e===!1||e===""))){if(Array.isArray(e)){let n=[];return wM(e,n,t)?()=>{let r=[];return wM(n,r,{...t,doNotUnwrap:!1}),r}:n}return e}}function wM(e,t=[],n){let r=null,i=!1;for(let o=0;o<e.length;o++)try{let s=e[o];if(typeof s=="function"&&!s.length){if(n?.doNotUnwrap){t.push(s),i=!0;continue}do s=s();while(typeof s=="function"&&!s.length)}Array.isArray(s)?i=wM(s,t,n)||i:n?.skipNonRendered&&(s==null||s===!0||s===!1||s==="")||t.push(s)}catch(s){if(!(s instanceof Kr))throw s;r=s}if(r)throw r;return i}function jg(){return!0}var ls=0,eo=1,bc=2,wc=3,wo=4,sie=Object.freeze({});function mu(e,t){return t===wc?(e=e())||sie:e}var na=class{source;kind;hidden;table=0;keys=void 0;descs=void 0;constructor(t,n,r){this.source=t,this.kind=n,this.hidden=r}};function No(e,t){let n=e.hidden;return typeof n=="function"?n(t):n.includes(t)}function aie(e,t){if(typeof e!="function"&&typeof t!="function"){let n=e.slice();for(let r=0;r<t.length;r++)n.push(t[r]);return n}return n=>(typeof e=="function"?e(n):e.includes(n))||(typeof t=="function"?t(n):t.includes(n))}function pu(e){return mu(e.source,e.kind)}function qg(e){return e[as]}function vM(e,t){if(t===ls)return Object.keys(e);if(t===bc||e[qr]===e){let n=e[Bn];return(n?.px===e?n:Reflect).ownKeys(e)}return Object.keys(e)}function U2(e,t){if(t===eo){if(e.kind===wo)return QO(e.source,!1,e);let n=vM(pu(e),e.kind),r=[];for(let i=0;i<n.length;i++)No(e,n[i])||r.push(n[i]);return r}return vM(mu(e,t),t)}function Hd(e,t,n){return t===eo?No(e,n)?!1:e.kind===wo?EM(e.source,n):n in pu(e):n in mu(e,t)}function Wg(e,t,n){return t===eo?No(e,n)?void 0:e.kind===wo?Wh(e.source,n):pu(e)[n]:mu(e,t)[n]}function SM(e,t){return t===ls?!0:t!==eo?!1:e.kind===ls?!0:e.kind===wo&&_M(e.source)}function _M(e){let t=e.sources,n=e.kinds;for(let r=0;r<t.length;r++)if(!SM(t[r],n[r]))return!1;return!0}function K2(e){if(!(qr in e))return!0;let t=qg(e);return t instanceof Fd?_M(t):t!==void 0&&SM(t,eo)}function q2(e,t=!0){return{configurable:!0,enumerable:t,get:e,set:jg}}function G2(e,t,n,r=!1){if(t===eo)return No(e,n)?void 0:G2(e.source,e.kind,n,r);if(t===wo)return JO(e,n);if(t===wc)return r||n in mu(e,t)?q2(()=>mu(e,t)[n]):void 0;if(t===bc)return qg(e)!==void 0?Reflect.getOwnPropertyDescriptor(e,n):r||n in e?q2(()=>e[n]):void 0;let i=Reflect.getOwnPropertyDescriptor(e,n);if(i!==void 0)return i.get!==void 0||i.set!==void 0?q2(()=>e[n],i.enumerable):i.configurable?i:{configurable:!0,enumerable:i.enumerable,writable:!0,value:i.value}}function lie(e,t){{if(e.kind===wo)return t9(e.source,e);let n=QA(pu(e)),r=[];for(let i=0;i<n.length;i++)No(e,n[i])||r.push(n[i]);return r}}var Fd=class{sources;kinds;table=0;keys=void 0;descs=void 0;constructor(t,n){this.sources=t,this.kinds=n}};function zd(e){return e&&qr in e?e[as]:void 0}function Y2(e){if(!e||!(qr in e))return;let t=qg(e);return t instanceof na?AM(t):t===void 0?void 0:X2(t)}function X2(e){let t=e.table;if(typeof t!="object"){let n=e.sources,r=e.kinds;for(let i=0;i<n.length;i++)if(!SM(n[i],r[i])){e.table=null;return}t=new Map,CM(t,e,void 0),e.table=t}return t===null?void 0:t}function CM(e,t,n){let r=t.sources,i=t.kinds;for(let o=0;o<r.length;o++){let s=r[o];if(i[o]===eo){if(s.kind===wo){n===void 0?n=[s]:n.push(s),CM(e,s.source,n),n.pop();continue}let a=s.source,l=Reflect.ownKeys(a);for(let c=0;c<l.length;c++){let u=l[c];!No(s,u)&&!kM(n,u)&&GO(e,u,a)}}else{let a=Reflect.ownKeys(s);for(let l=0;l<a.length;l++){let c=a[l];kM(n,c)||GO(e,c,s)}}}}function kM(e,t){if(e!==void 0){for(let n=e.length-1;n>=0;n--)if(No(e[n],t))return!0}return!1}function GO(e,t,n){e.has(t)&&e.delete(t),e.set(t,n)}function AM(e){let t=e.table;if(typeof t!="object"){let n=e.source;if(e.kind===wo){if(!_M(n)){e.table=null;return}t=new Map,CM(t,n,[e])}else if(e.kind===ls){t=new Map;let r=Reflect.ownKeys(n);for(let i=0;i<r.length;i++){let o=r[i];No(e,o)||t.set(o,n)}}else{e.table=null;return}e.table=t}return t===null?void 0:t}var cie=Object.prototype.propertyIsEnumerable;function XO(e,t){let n=e.keys;if(n===void 0){n=e.keys=[];for(let[r,i]of t)cie.call(i,r)&&n.push(r)}return n}function MM(e,t,n){let r=t.get(n);if(r===void 0)return;let i=e.descs;i===void 0&&(i=e.descs=new Map);let o=i.get(n);return o===void 0?(o=G2(r,ls,n),o===void 0?void 0:(i.set(n,o),o)):o.get!==void 0?o:{configurable:!0,enumerable:o.enumerable,writable:o.writable,value:r[n]}}var TM=16;function YO(e){let t=e.table;if(typeof t=="object")return t===null?void 0:t;if(t+1<TM){e.table=t+1;return}return X2(e)}function xM(e){let t=e.table;if(typeof t=="object")return t===null?void 0:t;if(t+1<TM){e.table=t+1;return}return AM(e)}function $M(e){let t=e.table;return typeof t=="object"&&t!==null?t:void 0}var W2=Symbol();function ZO(e,t){let n=$M(e);if(n!==void 0){let o=n.get(t);return o===void 0?W2:o[t]}let r=e.sources,i=e.kinds;for(let o=r.length-1;o>=0;o--){let s=i[o];if(s===ls){let a=r[o];if(t in a)return a[t];continue}if(s===eo){let a=r[o];if(No(a,t))continue;if(a.kind===wo){let c=ZO(a.source,t);if(c!==W2)return c;continue}let l=pu(a);if(t in l)return l[t]}else{let a=mu(r[o],s);if(t in a)return a[t]}}return W2}function Wh(e,t){let n=ZO(e,t);return n===W2?void 0:n}function EM(e,t){let n=$M(e);if(n!==void 0)return n.has(t);let r=e.sources,i=e.kinds;for(let o=r.length-1;o>=0;o--)if(Hd(r[o],i[o],t))return!0;return!1}function JO(e,t){let n=$M(e);if(n!==void 0)return MM(e,n,t);let r=e.sources,i=e.kinds;for(let o=r.length-1;o>=0;o--)if(Hd(r[o],i[o],t))return G2(r[o],i[o],t,!0)??q2(()=>Wh(e,t))}function QO(e,t,n){let r=[];return e9(e,n===void 0?void 0:[n],t,r,null),r}function e9(e,t,n,r,i){let o=e.sources,s=e.kinds;for(let a=0;a<o.length;a++){let l=o[a],c=s[a],u;if(c===eo){if(l.kind===wo){t===void 0?t=[l]:t.push(l),e9(l.source,t,n,r,i),t.pop();continue}u=l,c=l.kind,l=l.source}l=mu(l,c);let f=n?QA(l):vM(l,c);for(let d=0;d<f.length;d++){let h=f[d];u!==void 0&&No(u,h)||kM(t,h)||uie(r,i,h,l)}}}function uie(e,t,n,r){let i=e.indexOf(n);i!==-1&&(e.splice(i,1),t!==null&&t.splice(i,1)),e.push(n),t!==null&&t.push(r)}function t9(e,t){let n=X2(e);if(n===void 0)return QO(e,!0,t);let r=XO(e,n);if(t===void 0)return r;let i=[];for(let o=0;o<r.length;o++)No(t,r[o])||i.push(r[o]);return i}var die={get(e,t,n){if(typeof t=="symbol"){if(t===qr)return n;if(t===as)return e;if(t===Bn)return}let r=e.table,i;if(typeof r!="object"){if(r+1<TM){e.table=r+1;let s=e.sources,a=e.kinds;for(let l=s.length-1;l>=0;l--){if(a[l]!==ls)return Wh(e,t);let c=s[l][t];if(c!==void 0||t in s[l])return c}return}if(i=X2(e),i===void 0)return Wh(e,t)}else{if(r===null)return Wh(e,t);i=r}let o=i.get(t);return o===void 0?void 0:o[t]},has(e,t){if(t===qr)return!0;if(t===Bn||t===as)return!1;let n=YO(e);return n!==void 0?n.has(t):EM(e,t)},set:jg,deleteProperty:jg,getOwnPropertyDescriptor(e,t){if(t===qr||t===Bn||t===as)return;let n=YO(e);return n!==void 0?MM(e,n,t):JO(e,t)},ownKeys(e){return t9(e)}},fie={get(e,t,n){if(t===qr)return n;if(t===as)return e;if(t!==Bn){if(e.kind===wo){let r=xM(e);if(r!==void 0){let i=r.get(t);return i===void 0?void 0:i[t]}return No(e,t)?void 0:Wh(e.source,t)}if(!No(e,t))return pu(e)[t]}},has(e,t){if(t===qr)return!0;if(t===Bn||t===as)return!1;if(e.kind===wo){let n=xM(e);return n!==void 0?n.has(t):No(e,t)?!1:EM(e.source,t)}return No(e,t)?!1:t in pu(e)},set:jg,deleteProperty:jg,getOwnPropertyDescriptor(e,t){if(!(t===qr||t===Bn||t===as)){if(e.kind===wo){let n=xM(e);if(n!==void 0)return MM(e,n,t)}return G2(e,eo,t)}},ownKeys(e){if(e.kind===wo){let r=AM(e);return r!==void 0?XO(e,r):lie(e)}let t=Reflect.ownKeys(pu(e)),n=[];for(let r=0;r<t.length;r++)No(e,t[r])||n.push(t[r]);return n}};function xo(...e){if(e.length===1&&typeof e[0]!="function")return e[0];let t=new Array(e.length),n=new Array(e.length),r=0,i,o=0;for(let f=0;f<e.length;f++){let d=e[f];if(d){if(o++,i=d,typeof d=="function"){t[r]=Io(d),n[r++]=wc;continue}if(qr in d){let h=qg(d);if(h instanceof Fd)for(let p=0;p<h.sources.length;p++)t[r]=h.sources[p],n[r++]=h.kinds[p];else h!==void 0?(t[r]=h,n[r++]=eo):(t[r]=d,n[r++]=bc);continue}t[r]=d,n[r++]=ls}}if(r!==t.length&&(t.length=r,n.length=r),oA)return o===1&&typeof i!="function"?i:new Proxy(new Fd(t,n),die);let s=Object.create(null),a=!1,l=t.length-1;for(let f=l;f>=0;f--){let d=t[f];if(!d){f===l&&l--;continue}let h=Object.getOwnPropertyNames(d);for(let p=h.length-1;p>=0;p--){let m=h[p];if(!(m==="__proto__"||m==="constructor")&&!s[m]){a=a||f!==l;let y=Object.getOwnPropertyDescriptor(d,m);s[m]=y.get?{enumerable:!0,configurable:!0,get:y.get.bind(d)}:y}}}if(!a)return t[l];let c={},u=Object.keys(s);for(let f=u.length-1;f>=0;f--){let d=u[f],h=s[d];h.get?Object.defineProperty(c,d,h):c[d]=h.value}return c}function li(e,...t){let n=t.length===1&&typeof t[0]=="function"?t[0]:t;if(oA){let s=e,a=ls;if(typeof e=="function")a=wc;else if(qr in e){a=bc;let l=qg(e);l instanceof na?(s=l.source,a=l.kind,n=aie(l.hidden,n)):l!==void 0&&(s=l,a=wo)}return new Proxy(new na(s,a,n),fie)}let r={},i=Object.getOwnPropertyNames(e),o=typeof n=="function"?n:n.length>4&&i.length>n.length?(s=>a=>s.has(a))(new Set(n)):s=>n.includes(s);for(let s of i)if(!o(s)){let a=Object.getOwnPropertyDescriptor(e,s);!a.get&&!a.set&&a.enumerable&&a.writable&&a.configurable?r[s]=a.value:a.get||a.set?Object.defineProperty(r,s,{enumerable:a.enumerable,configurable:!0,get:a.get&&a.get.bind(e),set:a.set&&a.set.bind(e)}):Object.defineProperty(r,s,a)}return r}var I9e=Symbol.for("solid.LiveSource");var Z2=!1,Bie=Symbol(0);function cs(e,t){let n=Symbol(t&&t.name||"");function r(i){let o=i.value,s=Io(a=>(a||S2(r,o),i.children),{lazy:!0});return Io(a=>(a||S2(r,o),hu(s())),{lazy:!0,sync:!0})}return r.id=n,r.defaultValue=e,r}function Uo(e){return YA(e)}function s9(e){let t=Io(e,{lazy:!0}),n=Io(()=>hu(t()),{lazy:!0,sync:!0});return n.toArray=()=>{let r=n();return Array.isArray(r)?r:r!=null?[r]:[]},n}var R9e={id:Symbol("NoHydrateContext"),defaultValue:!1},vl={hydrating:!1,registry:void 0,done:!1};function a9(){return vl.hydrating&&(!vl.isClaiming||vl.isClaiming())}var Fie;var Hie;var zie;var N9e=Symbol.for("solid.LiveSource"),O9e=Symbol.for("solid.LiveResumeFrom"),D9e=Symbol.for("solid.LiveLocal");var Yr=(...e)=>(Fie||Io)(...e),Wt=tM;var l9=(...e)=>vl.hydrating?zie(j2,e[0],e[1]??{},e[2]):j2(...e);var Vd=Wb,RM=rM,kl=(...e)=>(Hie||nM)(...e);function Re(e,t,n,r){return _n(()=>e(t||{}))}var Vie=0;function xc(){return vl.hydrating?vl.getNextContextId():`cl-${Vie++}`}var jie=Symbol.for("solid.component-binding"),IM=Symbol("solid.dynamic-flight");function Uh(e){return e?.[jie]||void 0}function c9(e,t,n){if(t?.static)return qie(_n(e),n);let r=new Set,i,o,s=(c,u)=>{let f=Uh(c);if(!f)return c;i=f.address;let d=Uh(u);if(d&&d.component===f.component){for(let h of r)h(f.address);return o=u,u}return c},a=(c,u)=>{if(u===o&&(o=void 0,c===u))return!0;let f=Uh(c),d=Uh(u);if(!f||!d||f.component!==d.component)return c===u;if(i===void 0)return f.address===d.address;if(d.address!==i){i=d.address;for(let h of r)h(d.address)}return!0},l=Yr(c=>{let u=e();return!u||typeof u.then!="function"?s(u,c):{[IM]:u}},{lazy:!0,equals:a});return c=>{if(vl.hydrating)try{_n(l)}catch{}let u=0,f=Yr(d=>{let h=l();if(!h||!h[IM])return s(h,d);let p=h[IM],m=++u;return{then:(y,g)=>p.then(x=>{let w=m===u?s(x,d):x;return y?y(w):w},g)}},{equals:a});return Yr(()=>{let d=f();switch(typeof d){case"function":{let h=Uh(d);if(h){let[p,m]=Wt(i??=h.address,{ownedWrite:!0});return r.add(m),Is(()=>r.delete(m)),_n(()=>h.component(c,p))}return _n(()=>d(c))}case"string":return n?n(d,c):void 0}})}}function qie(e,t){if(typeof e=="function"){let n=Uh(e);if(n){let r=()=>n.address;return i=>_n(()=>n.component(i,r))}return r=>_n(()=>e(r))}return typeof e=="string"&&t?n=>t(e,n):()=>{}}var u9=e=>{throw`Stale read from <${e}>.`};function Vn(e){let t="fallback"in e?{keyed:e.keyed,fallback:()=>e.fallback}:{keyed:e.keyed},n=zr(),r,i=()=>gi(n,()=>T2(()=>e.each,e.children,t));return vl.hydrating&&(r=i()),()=>(r??(r=i()))()}function Ln(e){let t=e.keyed,n=Io(()=>e.when,void 0),r=t?n:Io(n,{equals:(o,s)=>!o==!s,sync:!0}),i;return Io(()=>{let o=r(),s=i={};if(o){let a=e.children;return typeof a=="function"&&a.length>0?t?_n(()=>a(o),Z2):_n(()=>a(()=>(Es&&i===s||r()||u9("Show"),n())),Z2):a}return e.fallback},{sync:!0})}function NM(e){let t=s9(()=>e.children),n=Io(()=>{let i=t.toArray(),o=()=>{};for(let s=0;s<i.length;s++){let a=s,l=i[s];if(l==null)continue;let c=o,u=Io(()=>c()?void 0:l.when,void 0),f=l.keyed?u:Io(u,{equals:(d,h)=>!d==!h,sync:!0});o=()=>{let d=c();if(d)return d;let h=f();return h?[a,h,u,l]:void 0}}return o},{sync:!0}),r;return Io(()=>{let i=r=n()();if(!i)return e.fallback;let[o,s,a,l]=i,c=l.children;return typeof c=="function"&&c.length>0?l.keyed?_n(()=>c(s),Z2):_n(()=>c(()=>(Es&&r===i||_n(n)()?.[0]===o||u9("Match"),a())),Z2):c},{sync:!0})}function Ug(e){return e}var Kg=w2;var d9=c9,vi=vl;var f9={INPUT:{value:1,defaultValue:2,checked:1,defaultChecked:2},SELECT:{value:1},OPTION:{value:1,selected:1,defaultSelected:2},TEXTAREA:{value:1,defaultValue:2},VIDEO:{muted:1,defaultMuted:2},AUDIO:{muted:1,defaultMuted:2}},Uie=new Set(["innerHTML","textContent","innerText","children"]),Sl=Symbol("slot"),h9=Symbol("index"),DM=Symbol("host"),Kie=new Set(["beforeinput","click","dblclick","contextmenu","focusin","focusout","input","keydown","keyup","mousedown","mousemove","mouseout","mouseover","mouseup","pointerdown","pointermove","pointerout","pointerover","pointerup","touchend","touchmove","touchstart"]),Gie=new Set(["altGlyph","altGlyphDef","altGlyphItem","animate","animateColor","animateMotion","animateTransform","circle","clipPath","color-profile","cursor","defs","desc","ellipse","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","filter","font","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignObject","g","glyph","glyphRef","hkern","image","line","linearGradient","marker","mask","metadata","missing-glyph","mpath","path","pattern","polygon","polyline","radialGradient","rect","set","stop","svg","switch","symbol","text","textPath","tref","tspan","use","view","vkern"]),Yie=new Set(["annotation","annotation-xml","maction","math","menclose","merror","mfenced","mfrac","mi","mmultiscripts","mn","mo","mover","mpadded","mphantom","mprescripts","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msubsup","msup","mtable","mtd","mtext","mtr","munder","munderover","semantics"]),LM={svg:"http://www.w3.org/2000/svg",mathml:"http://www.w3.org/1998/Math/MathML",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace"};var Xie={transparent:!0,sync:!0},Zie={sync:!0};function Bt(e,t,n){let r=n?{sync:!0,...n,transparent:!n.scope}:Xie;RM(e,t,r)}function At(e){return Yr(()=>e(),Zie)}function p9(e,t,n,r){let i=n.length,o=t.length,s=i,a=0,l=0,c,u,f,d;for(;a<o&&t[a]===n[l];)a++,l++;if(a===o&&l===s)return;let h=e.moveBefore&&e.isConnected,p=r||e,m=(x,w)=>{h&&x.isConnected?e.moveBefore(x,w):e.insertBefore(x,w),(r||x[Sl])&&(x[Sl]=p)};if(!o){for(let x of n)m(x,r);return}let y=x=>x&&x.parentNode===e&&(!(x=x[Sl])||x===p),g=x=>{for(;x<i&&!y(n[x]);)x++;return n[x]||(u&&u.parentNode!==e?r||null:u)};for(u=y(d=t[o-1])?d.nextSibling:r||null;a<o||l<s;){if(t[a]===n[l]){a++,l++;continue}for(;o>a&&s>l&&t[o-1]===n[s-1];)o--,s--;if(o===a)for(d=g(s);l<s;)m(n[l++],d);else if(!y(d=t[a]))a++;else if(n[l]===t[o-1]&&(d===n[s-1]||!c&&d===n[l+1]&&t[a+1]===n[l+2]))do m(t[--o],d),l++;while(a<o-1&&l<s&&d===n[s-1]&&n[l]===t[o-1]);else if(l<s&&d===n[s-1]&&t[a+1]!==n[s-2]&&y(n[l])&&y(t[o-1]))m(d,g(s)),a++,s--;else{if(!c)for(c=1,f=l;f<s;)n[f][h9]=f++;if((f=d[h9])>=0&&n[f]===d)if(l<f&&f<s){let x=a,w=1;for(;++x<o&&x<s&&t[x]===n[f+w];)w++;if(w>f-l)for(;l<f;)m(n[l++],d);else{let k=n[l++];a++,h?m(k,d):e.replaceChild(k,d),(r||k[Sl])&&(k[Sl]=p)}}else a++;else d.remove(),a++}}}var fDe=Symbol.for("solid.ServerFunctionMetadata");var hDe=Symbol.for("solid.ServerFunctionRPC");var _9="_$$",PM="_$SOLID_EVENT_OWNER",C9=Symbol(),m9=Object.prototype.hasOwnProperty,g9={},BM=new Set,qd=new Map;function ow(e,t,n,r={}){let i;Qie(t);try{Vd(o=>{i=o,r.onError&&(zr()[o2]=r.onError);let s=e();t===document?Bt(()=>hu(s),()=>{}):Te(t,()=>s,t.firstChild?null:void 0,n,{...r.insertOptions,schedule:!0})},{id:r.renderId}),xn()}catch(o){throw i&&i(),b9(t),o}finally{}return()=>{i(),b9(t),t.textContent=""}}var y9;function Jie(e,t,n){let r=document.createElement("template");r.innerHTML=y9?y9.createHTML(e):e;let i=r.content.firstChild;return n===2?i.firstChild:i}function ht(e,t){let n;return i=>(n||(n=Jie(e,i,t)),t===1?document.importNode(n,!0):n.cloneNode(!0))}function Ko(e){for(let t of e)BM.has(t)||(BM.add(t),qd.forEach((n,r)=>$9(t,r,n)))}function Qie(e){A9(e,e)}function b9(e){M9(e,e)}function A9(e,t=e){if(!e||!t)return;let n=qd.get(e);n||qd.set(e,n={owners:new Map,handlers:new Map}),n.owners.set(t,(n.owners.get(t)||0)+1),BM.forEach(r=>$9(r,e,n))}function M9(e,t=e){let n=qd.get(e);if(!n)return;let r=n.owners.get(t);r>1?n.owners.set(t,r-1):n.owners.delete(t),!n.owners.size&&(n.handlers.forEach((i,o)=>{e.removeEventListener(o,T9,!0),e.removeEventListener(o,i)}),qd.delete(e))}function T9(e){delete e[PM]}function $9(e,t,n){if(n.handlers.has(e))return;let r=i=>O9(i,t,n);n.handlers.set(e,r),t.addEventListener(e,T9,!0),t.addEventListener(e,r)}function eoe(e){for(;e;){if(qd.get(e)?.owners.has(e))return e;e=nw(e)}}var nw=e=>e._$host||e.parentNode||e.host;function E9(e,t){let n=0;for(;e;){if(t.owners.has(e))return{owner:e,distance:n};n++,e=nw(e)}}function I9(e,t,n){if(Pa(e))return;let r=e.nodeName;t==="value"&&r==="SELECT"?D9(e,n):(t==="value"||t==="defaultValue")&&(r==="INPUT"||r==="TEXTAREA")?n==null&&/^(checkbox|radio)$/.test(e.type)?e.removeAttribute("value"):e[t]=n??"":e[t]=n,sw(e,t)}var Kh=null,toe=[],pDe=Symbol.for("solid.element-claims");function FM(e,t){for(let n=0;n<e.length;n++)e[n](t)}function sw(e,t){Kh!==null&&e._$claimed&&toe.some(n=>n.includes(t.slice(t.indexOf(":")+1)))&&FM(Kh,e)}function VM(e,t){return Kh!==null&&!e._$claimed&&(e._$claimed=!0,t===void 0?FM(Kh,e):gi(t,()=>FM(Kh,e))),e}function ut(e,t,n){if(Pa(e))return;let r=t==="multiple"&&e.localName==="select";if(n==null||n===!1)e.removeAttribute(t);else if(e.setAttribute(t,n===!0?"":n),r&&!e._$multiple){let i=e.options;for(let o=0;o<i.length;o++)i[o].defaultSelected&&(i[o].selected=!0)}r&&(e._$multiple=!0),sw(e,t)}function noe(e,t,n,r){Pa(e)||(r==null||r===!1?e.removeAttributeNS(t,n.indexOf(":")>-1?n.split(":").pop():n):e.setAttributeNS(t,n,r===!0?"":r),sw(e,n))}function to(e,t,n){if(typeof t=="number"&&(t=""+t),typeof n=="number"&&(n=""+n),Pa(e)){e._$classes=t&&typeof t=="object"?OM(t):void 0;return}if(t==null||t===!1){(n||e._$classes)&&(e.removeAttribute("class"),e._$classes=void 0);return}if(typeof t=="string"){e._$classes&&(e._$classes=void 0),t!==n&&e.setAttribute("class",t);return}let r;typeof n=="string"?(r={},e.removeAttribute("class")):r=e._$classes||OM(n||{}),t=OM(t);let i=Object.keys(t),o=Object.keys(r),s,a;for(s=0,a=o.length;s<a;s++){let l=o[s];!l||l==="undefined"||t[l]||e.classList.remove(l)}for(s=0,a=i.length;s<a;s++){let l=i[s],c=!!t[l];!l||l==="undefined"||r[l]===c||!c||e.classList.add(l)}e._$classes=t}function roe(e,t,n,r){if(r){let i=_9+t,o;Array.isArray(n)?(o=n[1],e[i]=n[0]):e[i]=n,e[`${i}Data`]=o;return}if(Array.isArray(n)){let i=n[0],o=s=>i.call(e,n[1],s);return o[C9]=n,e.addEventListener(t,o),o}return e.addEventListener(t,n,typeof n!="function"&&n),n}function aw(e,t,n){if(Pa(e))return;if(!t){(n||e._$styles)&&(ut(e,"style"),e._$styles=void 0);return}let r=e.style;if(typeof t=="string")return e._$styles=void 0,r.cssText=t;typeof n=="string"&&(r.cssText="",n=void 0);let i=e._$styles;i||(i=e._$styles=n?{...n}:{});let o,s;for(s in i)(!m9.call(t,s)||t[s]==null)&&(r.removeProperty(s),delete i[s]);for(s in t)m9.call(t,s)&&(o=t[s],o!=null&&o!==i[s]&&(r.setProperty(s,o),i[s]=o))}function Ba(e){if(e===null||typeof e!="object")return e;if(Array.isArray(e))return e.map(Ba);if(e[qr]!==e)return e;let t=Reflect.ownKeys(e),n={};for(let r=0;r<t.length;r++){let i=t[r];typeof i=="string"&&(n[i]=e[i])}return n}function _l(e,t,n){Pa(e)||(n!=null?e.style.setProperty(t,n):e.style.removeProperty(t))}function Cl(e,t,n,r,i,o){let s={},a=Kh!==null&&(e.localName==="a"||e.localName==="form")?zr():void 0,l=0,c=d=>{let h=d.ref;h!==s.ref&&(typeof h=="function"||Array.isArray(h))&&en(()=>h,e),zM=l,loe(e,d,!0,s,!0),zM=0,a!==void 0&&VM(e,a)},u=d=>()=>{let h=d();return l=Kg(),h};if(Array.isArray(t))return Bt(u(()=>v9({},t,void 0,r)),c),!n&&!(r!==void 0&&r("children"))&&Te(e,()=>{for(let d=t.length-1;d>=0;d--){let h=Q2(t[d]);if(h&&w9(h,"children"))return x9(h,"children")}}),s;if(Bt(u(()=>{let d=Q2(t),h={},p=Y2(d);if(p!==void 0)return ioe(h,p,r);if(d){let m=zd(d);m instanceof na?HM(h,m,eo,r):m!==void 0?v9(h,m.sources,m.kinds,r):HM(h,d,qr in d?bc:ls,r)}return h}),c),!n&&!(r!==void 0&&r("children")))if(typeof t!="function"&&t!=null&&K2(t)){let d=Object.getOwnPropertyDescriptor(t,"children");d!==void 0&&(d.get===void 0?Te(e,d.value):Te(e,()=>t.children))}else Te(e,()=>{let d=Q2(t);return d&&w9(d,"children")?x9(d,"children"):void 0});return s}function ioe(e,t,n){for(let[r,i]of t){if(typeof r!="string"||r==="children"||n!==void 0&&n(r))continue;let o=i[r];e[r]=r==="style"||r==="class"?Ba(o):o}return e}function Q2(e){return typeof e=="function"?e():e}function w9(e,t){let n=zd(e);return n instanceof na?Hd(n,eo,t):t in e}function x9(e,t){let n=zd(e);return n instanceof na?Wg(n,eo,t):e[t]}function v9(e,t,n,r){let i=[],o=[];for(let s=0;s<t.length;s++)R9(i,o,t[s],n!==void 0?n[s]:wc);for(let s=0;s<i.length;s++)HM(e,i[s],o[s],r,i,o,s+1);return e}function R9(e,t,n,r){if(r!==wc){e.push(n),t.push(r);return}if(n=Q2(n),!n)return;let i=zd(n);if(i instanceof na)e.push(i),t.push(eo);else if(i!==void 0){let o=i.sources,s=i.kinds;for(let a=0;a<o.length;a++)R9(e,t,o[a],s[a])}else e.push(n),t.push(qr in n?bc:ls)}function HM(e,t,n,r,i,o,s){let a=U2(t,n);e:for(let l=0;l<a.length;l++){let c=a[l];if(typeof c!="string"||c==="children"||r!==void 0&&r(c))continue;if(i!==void 0){for(let f=s;f<i.length;f++)if(Hd(i[f],o[f],c))continue e}let u=Wg(t,n,c);e[c]=c==="style"||c==="class"?Ba(u):u}}function ooe(e,t){Array.isArray(e)?e.flat(1/0).forEach(n=>n&&n(t)):e(t)}function en(e,t){let n=_n(e);b2(()=>ooe(n,t))}var soe={scope:!0},La=null,rw=null,jd=null;function aoe(){jd=L9}function Te(e,t,n,r,i){let o=n!==void 0;if(o&&!r&&(r=[]),La!==null&&(r=La.claimInitial(e,o,r)),typeof t!="function"&&(t=tw(t,r,o,!0),typeof t!="function")){ew(e,t,r,n),jd!==null&&i&&i.host&&jd(t,i.host);return}if(o&&r.length===0){let a=document.createTextNode("");e.insertBefore(a,n),r=[a]}let s=!1;Bt(()=>{La!==null&&(r=La.reclaimRegion(r,e,n));let a=tw(t(),r,o,!0),l=s;if(s=!0,typeof a!="function")return a;let c=l&&!(i&&i.schedule)?{...i,schedule:!0}:i;return Bt(()=>(La!==null&&(r=La.reclaimRegion(r,e,n)),tw(a,r,o)),u=>{r=ew(e,u,r,n),jd!==null&&i&&i.host&&jd(r,i.host)},c),g9},a=>{a!==g9&&(r=ew(e,a,r,n),jd!==null&&i&&i.host&&jd(r,i.host))},t.$s?i?{...i,scope:!0}:soe:i)}function loe(e,t,n,r={},i=!1){let o=e.nodeName;t||(t={});for(let s in r)if(!(s in t)){if(s==="children")continue;r[s]=S9(e,s,null,r[s],i,o)}for(let s in t){if(s==="children"){n||ew(e,tw(t.children,void 0,!1));continue}r[s]=S9(e,s,t[s],r[s],i,o)}}function coe(e){let t=vi.hydrating&&hoe(),n=Pa()&&vi.registry.get(t);if(!n){if(!e)throw new Error(`Hydration Mismatch. Unable to find DOM nodes for hydration key: ${t}`);return e(!0)}return vi.completed&&vi.completed.add(n),vi.registry.delete(t),n}function uoe(){vi.events&&!vi.events.queued&&(queueMicrotask(()=>{let{completed:e,events:t}=vi;if(t){for(t.queued=!1;t.length;){let[n,r,i]=t[0];if(!e.has(n))return;t.shift();let o=i||r.target,s=(f,d)=>(Object.defineProperty(r,"target",{configurable:!0,value:o}),O9(r,f,d)),a,l,c,u;for(let[f,d]of qd){if(!d.handlers.has(r.type))continue;let h=E9(o,d);h&&(a?(u||(u=[{container:a,state:l,distance:c}]),u.push({container:f,state:d,distance:h.distance})):(a=f,l=d,c=h.distance))}if(u){u.sort((f,d)=>f.distance-d.distance);for(let f=0;f<u.length;f++)s(u[f].container,u[f].state)}else a&&s(a,l);delete r.target,xn()}vi.done&&(vi.events=_$HY.events=null,vi.completed=_$HY.completed=null)}}),vi.events.queued=!0)}function Pa(e){return!vi.hydrating||vi.isClaiming&&!vi.isClaiming()?!1:!e||e.isConnected?!0:k9!==null&&k9.claimed(e)}var k9=null;function OM(e){if(Array.isArray(e)){let t={};N9(e,t),e=t}if(e&&typeof e=="object"){let t={},n=Object.keys(e);for(let r=0,i=n.length;r<i;r++){let o=n[r];if(!e[o])continue;let s=o.trim().split(/\s+/);for(let a=0,l=s.length;a<l;a++)s[a]&&(t[s[a]]=!0)}return t}return e}function N9(e,t){for(let n=0,r=e.length;n<r;n++){let i=e[n];Array.isArray(i)?N9(i,t):typeof i=="object"&&i!=null?Object.assign(t,i):typeof i!="boolean"&&(i||i===0)&&(t[i]=!0)}}var zM=0;function S9(e,t,n,r,i,o){if(t==="style")return aw(e,n,r),n;if(t==="class")return to(e,n,r),n;if(n===r&&(zM||f9[o]?.[t]!==1))return r;if(t==="ref")return!i&&n&&en(()=>n,e),n;let s,a=t.indexOf(":")>-1;if(!a&&t.startsWith("on")&&(s=t.charCodeAt(2))>64&&s<91){let l=t.slice(2).toLowerCase(),c=Kie.has(l);if(!c&&r){if(Array.isArray(n)&&typeof r=="function"&&r[C9]===n)return r;e.removeEventListener(l,r,typeof r!="function"&&r)}if(c||n){let u=roe(e,l,n,c);if(c&&Ko([l]),!c)return u}}else if(a&&t.slice(0,5)==="prop:"||Uie.has(t)||f9[o]?.[t]){if(a)t=t.slice(5);else if(Pa(e))return n;t==="value"&&o==="SELECT"?D9(e,n):(t==="value"||t==="defaultValue")&&(o==="INPUT"||o==="TEXTAREA")?n==null&&/^(checkbox|radio)$/.test(e.type)?e.removeAttribute("value"):e[t]=n??"":e[t]=n,sw(e,t)}else{let l=a&&LM[t.split(":")[0]];l?noe(e,l,t,n):ut(e,t,n)}return n}function O9(e,t,n){if(La!==null&&La.dedupEvent(e))return;let r=e[PM],i;if(r){if(r===!0||r===t||!t.contains(r))return;i=r}let o=n.owners.size===1&&n.owners.has(t)?t:E9(e.target,n)?.owner;if(!o||o===i)return;e[PM]=o;let s=i||e.target,a=_9+e.type,l=(d,h)=>Object.defineProperty(e,d,{configurable:!0,value:h}),c=()=>{let d=s[a];if(d&&!s.disabled){l("currentTarget",s);let h=s[`${a}Data`];if(h!==void 0?d.call(s,h,e):typeof d=="function"?d.call(s,e):d.handleEvent(e),e.cancelBubble)return}return s.host&&typeof s.host!="string"&&!s.host._$host&&s.contains(e.target)&&l("target",s.host),!0},u=()=>s===o||s.parentNode===o,f=()=>{for(;s&&c()&&!u();)s=nw(s)};if(i)i===e.target&&(s=nw(i)),s&&s!==o&&f();else if(e.composedPath){let d=e.composedPath();if(d.length){l("target",d[0]);for(let h=0;h<d.length&&(s=d[h],!!c());h++){if(s._$host){s=s._$host,f();break}if(u())break}}else f()}else f();delete e.target,delete e.currentTarget}function ew(e,t,n,r){if(La!==null&&Pa(e)){if(t&&t!==n){let o=Array.isArray(t);for(let s of o?t:[t])if(s&&s.nodeType){if(!Pa(s))return n}else if(o&&(typeof s=="string"||typeof s=="number"))return n}return t}if(t===n)return t;if(La!==null&&vi.hydrating&&t&&t.length!==0){let o=[].concat(n??[]);if([].concat(t).every(s=>(s===o[0]&&o.shift(),s?.parentNode===e))&&!o.length)return t}let i=typeof t;if(i==="string"||i==="number"){let o=typeof n;o==="string"||o==="number"?e.firstChild.data=t:P9(e,n)?e.textContent=t:(B9(e,n),e.insertBefore(document.createTextNode(t),e.firstChild))}else if(t===void 0)J2(e,n,r);else if(t.nodeType)Array.isArray(n)?J2(e,n,r??null,t):n!=null&&n.nodeType?n.parentNode===e?e.replaceChild(t,n):e.appendChild(t):n!=null&&e.firstChild?e.replaceChild(t,e.firstChild):e.appendChild(t),(r||t[Sl])&&(t[Sl]=r||e);else if(Array.isArray(t)){let o=Array.isArray(n);for(let s=0,a=t.length;s<a;s++){let l=t[s],c=typeof l;if(c==="string"||c==="number"){let u=o?n[s]:void 0;if(u&&u.nodeType===3){let f=u._$d;f!==l&&(f!==void 0||u.data!==""+l)&&(u.data=u._$d=l),t[s]=u}else t[s]=document.createTextNode(l)}}t.length===0?J2(e,n,r):o?p9(e,n,t,r):(n!=null&&J2(e,n),p9(e,[],t))}return rw&&rw(e),t}function iw(e){(e=e.currentTarget||e)._$v=null,e.removeEventListener("change",iw,!0)}function D9(e,t){let n=e._$v&&e._$v.map;if(t!=null&&t.map?n||e.addEventListener("change",iw,!0):n&&e.removeEventListener("change",iw,!0),t==null)return e._$v=null,queueMicrotask(()=>e.value=t)||(e.value=t);e._$v=t,(rw||=doe)(e),queueMicrotask(()=>rw(e))}function doe(e){e&&e._$v==null&&(e=e.parentNode);let t=e&&e._$v;if(t!=null)if(t.map){let n=[...e.options];for(let r=0;r<n.length;r++)n[r].selected=t.some(i=>i==n[r].value);t.every(r=>n.some(i=>i.value==r))&&iw(e)}else e.value=t,e.selectedIndex>-1&&e.value==t&&(e._$v=null)}function tw(e,t,n,r){if(e=hu(e,{skipNonRendered:!0,doNotUnwrap:r}),r&&typeof e=="function")return e;if(n&&!Array.isArray(e)&&(e=[e??""]),La!==null&&vi.hydrating&&Array.isArray(e))for(let i=0,o=e.length;i<o;i++){let s=e[i],a=t&&t[i],l=typeof s;(l==="string"||l==="number")&&a&&a.nodeType===3&&Pa(a)&&(e[i]=a)}return e}function foe(){return this[DM]()}function L9(e,t){if(Array.isArray(e))for(let n=0,r=e.length;n<r;n++)L9(e[n],t);else e&&e.nodeType&&e[DM]!==t&&(e[DM]=t,Object.defineProperty(e,"_$host",{get:foe,configurable:!0}))}function P9(e,t){if(t==null)return!0;if(Array.isArray(t))return t.length?e.firstChild===t[0]&&e.lastChild===t[t.length-1]:e.firstChild===null;if(t==="")return e.firstChild===null;if(t.nodeType)return e.firstChild===t&&e.lastChild===t;let n=e.firstChild;return n!==null&&n.nodeType===3&&e.lastChild===n}function B9(e,t){if(Array.isArray(t))for(let n=0;n<t.length;n++){let r=t[n];r.parentNode===e&&r.remove()}else if(t.nodeType)t.parentNode===e&&t.remove();else{let n=e.firstChild;n&&n.nodeType===3&&n.remove()}}function J2(e,t,n,r){if(n===void 0)return P9(e,t)?e.textContent="":B9(e,t);if(t.length){let i=!1;for(let o=t.length-1;o>=0;o--){let s=t[o];if(r!==s){let a=s[Sl],l=s.parentNode===e&&(!a||a===(n||e));r&&!i&&!o?l?e.replaceChild(r,s):e.insertBefore(r,n):l&&s.remove()}else i=!0}}else r&&e.insertBefore(r,n);r&&(n||r[Sl])&&(r[Sl]=n||e)}function hoe(){return vi.getNextContextId()}var mDe=Symbol();var gDe=Symbol.for("solid.ResponseEnvelope");var yDe=Symbol.for("solid.Href");var bDe=Symbol.for("solid.SafeError");var Wd=!1;function F9(e){return gi(Ys(),()=>poe(e))}var Gg;function poe(e){let t=[],n=document.createTextNode(""),r=document.createTextNode(""),i=document.createTextNode(""),o=()=>e.mount||document.body,s=Yr(()=>{let a=Gg;t=[],Gg=l=>t.push(l);try{return[r,e.children]}finally{Gg=a}},{ssrSource:"client",loadingValue:void 0});return Gg&&Gg(r),RM(()=>[o(),s(),zr()],([,a,l])=>{let c=_n(o);c.insertBefore(i,t.find(f=>f.parentNode===c)||null);let u=gi(l,()=>Vd(f=>(aoe(),Te(c,a,i,void 0,{host:()=>n.parentNode}),f)));return()=>{u();let f=r;for(;f;){let d=f.nextSibling;if(c.removeChild(f),f===i)break;f=d}}},{schedule:!0,ssrSource:"client"}),kl(o,()=>{let a=_n(o),l=eoe(n);if(!(!l||l.contains(a)))return A9(a,l),()=>M9(a,l)},{ssrSource:"client"}),vi.hydrating?Yr(()=>n,{ssrSource:"client",loadingValue:void 0}):n}function H9(e,t){return d9(e,t,moe)}function moe(e,t){let n=vi.hydrating,r=()=>goe(e,_n(()=>t.is),_n(()=>t.xmlns)),i=n?coe(r):r();return Cl(i,t),n&&uoe(),i}function goe(e,t=void 0,n=void 0){return n?document.createElementNS(n,e,{is:t}):Gie.has(e)?document.createElementNS(LM.svg,e):Yie.has(e)?document.createElementNS(LM.mathml,e):document.createElement(e,{is:t})}var z9=Object.defineProperty,V9=(e,t)=>{let n={};for(var r in e)z9(n,r,{get:e[r],enumerable:!0});return t||z9(n,Symbol.toStringTag,{value:"Module"}),n};function Oo(e){this.content=e}Oo.prototype={constructor:Oo,find:function(e){for(var t=0;t<this.content.length;t+=2)if(this.content[t]===e)return t;return-1},get:function(e){var t=this.find(e);return t==-1?void 0:this.content[t+1]},update:function(e,t,n){var r=n&&n!=e?this.remove(n):this,i=r.find(e),o=r.content.slice();return i==-1?o.push(n||e,t):(o[i+1]=t,n&&(o[i]=n)),new Oo(o)},remove:function(e){var t=this.find(e);if(t==-1)return this;var n=this.content.slice();return n.splice(t,2),new Oo(n)},addToStart:function(e,t){return new Oo([e,t].concat(this.remove(e).content))},addToEnd:function(e,t){var n=this.remove(e).content.slice();return n.push(e,t),new Oo(n)},addBefore:function(e,t,n){var r=this.remove(t),i=r.content.slice(),o=r.find(e);return i.splice(o==-1?i.length:o,0,t,n),new Oo(i)},forEach:function(e){for(var t=0;t<this.content.length;t+=2)e(this.content[t],this.content[t+1])},prepend:function(e){return e=Oo.from(e),e.size?new Oo(e.content.concat(this.subtract(e).content)):this},append:function(e){return e=Oo.from(e),e.size?new Oo(this.subtract(e).content.concat(e.content)):this},subtract:function(e){var t=this;e=Oo.from(e);for(var n=0;n<e.content.length;n+=2)t=t.remove(e.content[n]);return t},toObject:function(){var e={};return this.forEach(function(t,n){e[t]=n}),e},get size(){return this.content.length>>1}};Oo.from=function(e){if(e instanceof Oo)return e;var t=[];if(e)for(var n in e)t.push(n,e[n]);return new Oo(t)};var jM=Oo;function Q9(e,t,n){for(let r=0;;r++){if(r==e.childCount||r==t.childCount)return e.childCount==t.childCount?null:n;let i=e.child(r),o=t.child(r);if(i==o){n+=i.nodeSize;continue}if(!i.sameMarkup(o))return n;if(i.isText&&i.text!=o.text){let s=i.text,a=o.text,l=0;for(;s[l]==a[l];l++)n++;return l&&l<s.length&&l<a.length&&nD(s.charCodeAt(l-1))&&tD(s.charCodeAt(l))&&n--,n}if(i.content.size||o.content.size){let s=Q9(i.content,o.content,n+1);if(s!=null)return s}n+=i.nodeSize}}function eD(e,t,n,r){for(let i=e.childCount,o=t.childCount;;){if(i==0||o==0)return i==o?null:{a:n,b:r};let s=e.child(--i),a=t.child(--o),l=s.nodeSize;if(s==a){n-=l,r-=l;continue}if(!s.sameMarkup(a))return{a:n,b:r};if(s.isText&&s.text!=a.text){let c=s.text,u=a.text,f=c.length,d=u.length;for(;f>0&&d>0&&c[f-1]==u[d-1];)f--,d--,n--,r--;return f&&d&&f<c.length&&nD(c.charCodeAt(f-1))&&tD(c.charCodeAt(f))&&(n++,r++),{a:n,b:r}}if(s.content.size||a.content.size){let c=eD(s.content,a.content,n-1,r-1);if(c)return c}n-=l,r-=l}}function tD(e){return e>=56320&&e<57344}function nD(e){return e>=55296&&e<56320}var St=class e{constructor(t,n){if(this.content=t,this.size=n||0,n==null)for(let r=0;r<t.length;r++)this.size+=t[r].nodeSize}nodesBetween(t,n,r,i=0,o){for(let s=0,a=0;a<n;s++){let l=this.content[s],c=a+l.nodeSize;if(c>t&&r(l,i+a,o||null,s)!==!1&&l.content.size){let u=a+1;l.nodesBetween(Math.max(0,t-u),Math.min(l.content.size,n-u),r,i+u)}a=c}}descendants(t){this.nodesBetween(0,this.size,t)}textBetween(t,n,r,i){let o="",s=!0;return this.nodesBetween(t,n,(a,l)=>{let c=a.isText?a.text.slice(Math.max(t,l)-l,n-l):a.isLeaf?i?typeof i=="function"?i(a):i:a.type.spec.leafText?a.type.spec.leafText(a):"":"";a.isBlock&&(a.isLeaf&&c||a.isTextblock)&&r&&(s?s=!1:o+=r),o+=c},0),o}append(t){if(!t.size)return this;if(!this.size)return t;let n=this.lastChild,r=t.firstChild,i=this.content.slice(),o=0;for(n.isText&&n.sameMarkup(r)&&(i[i.length-1]=n.withText(n.text+r.text),o=1);o<t.content.length;o++)i.push(t.content[o]);return new e(i,this.size+t.size)}cut(t,n=this.size){if(t==0&&n==this.size)return this;let r=[],i=0;if(n>t)for(let o=0,s=0;s<n;o++){let a=this.content[o],l=s+a.nodeSize;l>t&&((s<t||l>n)&&(a.isText?a=a.cut(Math.max(0,t-s),Math.min(a.text.length,n-s)):a=a.cut(Math.max(0,t-s-1),Math.min(a.content.size,n-s-1))),r.push(a),i+=a.nodeSize),s=l}return new e(r,i)}cutByIndex(t,n){return t==n?e.empty:t==0&&n==this.content.length?this:new e(this.content.slice(t,n))}replaceChild(t,n){let r=this.content[t];if(r==n)return this;let i=this.content.slice(),o=this.size+n.nodeSize-r.nodeSize;return i[t]=n,new e(i,o)}addToStart(t){return new e([t].concat(this.content),this.size+t.nodeSize)}addToEnd(t){return new e(this.content.concat(t),this.size+t.nodeSize)}eq(t){if(this.content.length!=t.content.length)return!1;for(let n=0;n<this.content.length;n++)if(!this.content[n].eq(t.content[n]))return!1;return!0}get firstChild(){return this.content.length?this.content[0]:null}get lastChild(){return this.content.length?this.content[this.content.length-1]:null}get childCount(){return this.content.length}child(t){let n=this.content[t];if(!n)throw new RangeError("Index "+t+" out of range for "+this);return n}maybeChild(t){return this.content[t]||null}forEach(t){for(let n=0,r=0;n<this.content.length;n++){let i=this.content[n];t(i,r,n),r+=i.nodeSize}}findDiffStart(t,n=0){return Q9(this,t,n)}findDiffEnd(t,n=this.size,r=t.size){return eD(this,t,n,r)}findIndex(t){if(t==0)return lw(0,t);if(t==this.size)return lw(this.content.length,t);if(t>this.size||t<0)throw new RangeError(`Position ${t} outside of fragment (${this})`);for(let n=0,r=0;;n++){let i=this.child(n),o=r+i.nodeSize;if(o>=t)return o==t?lw(n+1,o):lw(n,r);r=o}}toString(){return"<"+this.toStringInner()+">"}toStringInner(){return this.content.join(", ")}toJSON(){return this.content.length?this.content.map(t=>t.toJSON()):null}static fromJSON(t,n){if(!n)return e.empty;if(!Array.isArray(n))throw new RangeError("Invalid input for Fragment.fromJSON");return e.fromArray(n.map(t.nodeFromJSON))}static fromArray(t){if(!t.length)return e.empty;let n,r=0;for(let i=0;i<t.length;i++){let o=t[i];r+=o.nodeSize,i&&o.isText&&t[i-1].sameMarkup(o)?(n||(n=t.slice(0,i)),n[n.length-1]=o.withText(n[n.length-1].text+o.text)):n&&n.push(o)}return new e(n||t,r)}static from(t){if(!t)return e.empty;if(t instanceof e)return t;if(Array.isArray(t))return this.fromArray(t);if(t.attrs)return new e([t],t.nodeSize);throw new RangeError("Can not convert "+t+" to a Fragment"+(t.nodesBetween?" (looks like multiple versions of prosemirror-model were loaded)":""))}};St.empty=new St([],0);var qM={index:0,offset:0};function lw(e,t){return qM.index=e,qM.offset=t,qM}function dw(e,t){if(e===t)return!0;if(!(e&&typeof e=="object")||!(t&&typeof t=="object"))return!1;let n=Array.isArray(e);if(Array.isArray(t)!=n)return!1;if(n){if(e.length!=t.length)return!1;for(let r=0;r<e.length;r++)if(!dw(e[r],t[r]))return!1}else{for(let r in e)if(!(r in t)||!dw(e[r],t[r]))return!1;for(let r in t)if(!(r in e))return!1}return!0}var lr=class e{constructor(t,n){this.type=t,this.attrs=n}addToSet(t){let n,r=!1;for(let i=0;i<t.length;i++){let o=t[i];if(this.eq(o))return t;if(this.type.excludes(o.type))n||(n=t.slice(0,i));else{if(o.type.excludes(this.type))return t;!r&&o.type.rank>this.type.rank&&(n||(n=t.slice(0,i)),n.push(this),r=!0),n&&n.push(o)}}return n||(n=t.slice()),r||n.push(this),n}removeFromSet(t){for(let n=0;n<t.length;n++)if(this.eq(t[n]))return t.slice(0,n).concat(t.slice(n+1));return t}isInSet(t){for(let n=0;n<t.length;n++)if(this.eq(t[n]))return!0;return!1}eq(t){return this==t||this.type==t.type&&dw(this.attrs,t.attrs)}toJSON(){let t={type:this.type.name};for(let n in this.attrs){t.attrs=this.attrs;break}return t}static fromJSON(t,n){if(!n)throw new RangeError("Invalid input for Mark.fromJSON");let r=t.marks[n.type];if(!r)throw new RangeError(`There is no mark type ${n.type} in this schema`);return r.create(n.attrs)}static sameSet(t,n){if(t==n)return!0;if(t.length!=n.length)return!1;for(let r=0;r<t.length;r++)if(!t[r].eq(n[r]))return!1;return!0}static setFrom(t){if(!t||Array.isArray(t)&&t.length==0)return e.none;if(t instanceof e)return[t];let n=t.slice();return n.sort((r,i)=>r.type.rank-i.type.rank),n}};lr.none=[];var gu=class extends Error{},qt=class e{constructor(t,n,r){this.content=t,this.openStart=n,this.openEnd=r}get size(){return this.content.size-this.openStart-this.openEnd}insertAt(t,n){let r=iD(this.content,t+this.openStart,n,this.openStart+1,this.openEnd+1);return r&&new e(r,this.openStart,this.openEnd)}removeBetween(t,n){return new e(rD(this.content,t+this.openStart,n+this.openStart),this.openStart,this.openEnd)}eq(t){return this.content.eq(t.content)&&this.openStart==t.openStart&&this.openEnd==t.openEnd}toString(){return this.content+"("+this.openStart+","+this.openEnd+")"}toJSON(){if(!this.content.size)return null;let t={content:this.content.toJSON()};return this.openStart>0&&(t.openStart=this.openStart),this.openEnd>0&&(t.openEnd=this.openEnd),t}static fromJSON(t,n){if(!n)return e.empty;let r=n.openStart||0,i=n.openEnd||0;if(typeof r!="number"||typeof i!="number")throw new RangeError("Invalid input for Slice.fromJSON");return new e(St.fromJSON(t,n.content),r,i)}static maxOpen(t,n=!0){let r=0,i=0;for(let o=t.firstChild;o&&!o.isLeaf&&(n||!o.type.spec.isolating);o=o.firstChild)r++;for(let o=t.lastChild;o&&!o.isLeaf&&(n||!o.type.spec.isolating);o=o.lastChild)i++;return new e(t,r,i)}};qt.empty=new qt(St.empty,0,0);function rD(e,t,n){let{index:r,offset:i}=e.findIndex(t),o=e.maybeChild(r),{index:s,offset:a}=e.findIndex(n);if(i==t||o.isText){if(a!=n&&!e.child(s).isText)throw new RangeError("Removing non-flat range");return e.cut(0,t).append(e.cut(n))}if(r!=s)throw new RangeError("Removing non-flat range");return e.replaceChild(r,o.copy(rD(o.content,t-i-1,n-i-1)))}function iD(e,t,n,r,i,o){let{index:s,offset:a}=e.findIndex(t),l=e.maybeChild(s);if(a==t||l.isText)return o&&r<=0&&i<=0&&!o.canReplace(s,s,n)?null:e.cut(0,t).append(n).append(e.cut(t));let c=iD(l.content,t-a-1,n,s==0?r-1:0,s==e.childCount-1?i-1:0,l);return c&&e.replaceChild(s,l.copy(c))}function yoe(e,t,n){if(n.openStart>e.depth)throw new gu("Inserted content deeper than insertion position");if(e.depth-n.openStart!=t.depth-n.openEnd)throw new gu("Inconsistent open depths");return oD(e,t,n,0)}function oD(e,t,n,r){let i=e.index(r),o=e.node(r);if(i==t.index(r)&&r<e.depth-n.openStart){let s=oD(e,t,n,r+1);return o.copy(o.content.replaceChild(i,s))}else if(n.content.size)if(!n.openStart&&!n.openEnd&&e.depth==r&&t.depth==r){let s=e.parent,a=s.content;return Kd(s,a.cut(0,e.parentOffset).append(n.content).append(a.cut(t.parentOffset)))}else{let{start:s,end:a}=boe(n,e);return Kd(o,aD(e,s,a,t,r))}else return Kd(o,fw(e,t,r))}function sD(e,t){if(!t.type.compatibleContent(e.type))throw new gu("Cannot join "+t.type.name+" onto "+e.type.name)}function WM(e,t,n){let r=e.node(n);return sD(r,t.node(n)),r}function Ud(e,t){let n=t.length-1;n>=0&&e.isText&&e.sameMarkup(t[n])?t[n]=e.withText(t[n].text+e.text):t.push(e)}function Yg(e,t,n,r){let i=(t||e).node(n),o=0,s=t?t.index(n):i.childCount;e&&(o=e.index(n),e.depth>n?o++:e.textOffset&&(Ud(e.nodeAfter,r),o++));for(let a=o;a<s;a++)Ud(i.child(a),r);t&&t.depth==n&&t.textOffset&&Ud(t.nodeBefore,r)}function Kd(e,t){if(!e.type.validContent(t))throw new gu("Invalid content for node "+e.type.name);return e.copy(t)}function aD(e,t,n,r,i){let o=e.depth>i&&WM(e,t,i+1),s=r.depth>i&&WM(n,r,i+1),a=[];return Yg(null,e,i,a),o&&s&&t.index(i)==n.index(i)?(sD(o,s),Ud(Kd(o,aD(e,t,n,r,i+1)),a)):(o&&Ud(Kd(o,fw(e,t,i+1)),a),Yg(t,n,i,a),s&&Ud(Kd(s,fw(n,r,i+1)),a)),Yg(r,null,i,a),new St(a)}function fw(e,t,n){let r=[];if(Yg(null,e,n,r),e.depth>n){let i=WM(e,t,n+1);Ud(Kd(i,fw(e,t,n+1)),r)}return Yg(t,null,n,r),new St(r)}function boe(e,t){let n=t.depth-e.openStart,i=t.node(n).copy(e.content);for(let o=n-1;o>=0;o--)i=t.node(o).copy(St.from(i));return{start:i.resolveNoCache(e.openStart+n),end:i.resolveNoCache(i.content.size-e.openEnd-n)}}var hw=class e{constructor(t,n,r){this.pos=t,this.path=n,this.parentOffset=r,this.depth=n.length/3-1}resolveDepth(t){return t==null?this.depth:t<0?this.depth+t:t}get parent(){return this.node(this.depth)}get doc(){return this.node(0)}node(t){return this.path[this.resolveDepth(t)*3]}index(t){return this.path[this.resolveDepth(t)*3+1]}indexAfter(t){return t=this.resolveDepth(t),this.index(t)+(t==this.depth&&!this.textOffset?0:1)}start(t){return t=this.resolveDepth(t),t==0?0:this.path[t*3-1]+1}end(t){return t=this.resolveDepth(t),this.start(t)+this.node(t).content.size}before(t){if(t=this.resolveDepth(t),!t)throw new RangeError("There is no position before the top-level node");return t==this.depth+1?this.pos:this.path[t*3-1]}after(t){if(t=this.resolveDepth(t),!t)throw new RangeError("There is no position after the top-level node");return t==this.depth+1?this.pos:this.path[t*3-1]+this.path[t*3].nodeSize}get textOffset(){return this.pos-this.path[this.path.length-1]}get nodeAfter(){let t=this.parent,n=this.index(this.depth);if(n==t.childCount)return null;let r=this.pos-this.path[this.path.length-1],i=t.child(n);return r?t.child(n).cut(r):i}get nodeBefore(){let t=this.index(this.depth),n=this.pos-this.path[this.path.length-1];return n?this.parent.child(t).cut(0,n):t==0?null:this.parent.child(t-1)}posAtIndex(t,n){n=this.resolveDepth(n);let r=this.path[n*3],i=n==0?0:this.path[n*3-1]+1;for(let o=0;o<t;o++)i+=r.child(o).nodeSize;return i}marks(){let t=this.parent,n=this.index();if(t.content.size==0)return lr.none;if(this.textOffset)return t.child(n).marks;let r=t.maybeChild(n-1),i=t.maybeChild(n);if(!r){let a=r;r=i,i=a}let o=r.marks;for(var s=0;s<o.length;s++)o[s].type.spec.inclusive===!1&&(!i||!o[s].isInSet(i.marks))&&(o=o[s--].removeFromSet(o));return o}marksAcross(t){let n=this.parent.maybeChild(this.index());if(!n||!n.isInline)return null;let r=n.marks,i=t.parent.maybeChild(t.index());for(var o=0;o<r.length;o++)r[o].type.spec.inclusive===!1&&(!i||!r[o].isInSet(i.marks))&&(r=r[o--].removeFromSet(r));return r}sharedDepth(t){for(let n=this.depth;n>0;n--)if(this.start(n)<=t&&this.end(n)>=t)return n;return 0}blockRange(t=this,n){if(t.pos<this.pos)return t.blockRange(this);for(let r=this.depth-(this.parent.inlineContent||this.pos==t.pos?1:0);r>=0;r--)if(t.pos<=this.end(r)&&(!n||n(this.node(r))))return new Gd(this,t,r);return null}sameParent(t){return this.pos-this.parentOffset==t.pos-t.parentOffset}max(t){return t.pos>this.pos?t:this}min(t){return t.pos<this.pos?t:this}toString(){let t="";for(let n=1;n<=this.depth;n++)t+=(t?"/":"")+this.node(n).type.name+"_"+this.index(n-1);return t+":"+this.parentOffset}static resolve(t,n){if(!(n>=0&&n<=t.content.size))throw new RangeError("Position "+n+" out of range");let r=[],i=0,o=n;for(let s=t;;){let{index:a,offset:l}=s.content.findIndex(o),c=o-l;if(r.push(s,a,i+l),!c||(s=s.child(a),s.isText))break;o=c-1,i+=l+1}return new e(n,r,o)}static resolveCached(t,n){let r=j9.get(t);if(r)for(let o=0;o<r.elts.length;o++){let s=r.elts[o];if(s.pos==n)return s}else j9.set(t,r=new UM);let i=r.elts[r.i]=e.resolve(t,n);return r.i=(r.i+1)%woe,i}},UM=class{constructor(){this.elts=[],this.i=0}},woe=12,j9=new WeakMap,Gd=class{constructor(t,n,r){this.$from=t,this.$to=n,this.depth=r}get start(){return this.$from.before(this.depth+1)}get end(){return this.$to.after(this.depth+1)}get parent(){return this.$from.node(this.depth)}get startIndex(){return this.$from.index(this.depth)}get endIndex(){return this.$to.indexAfter(this.depth)}},xoe=Object.create(null),Fa=class e{constructor(t,n,r,i=lr.none){this.type=t,this.attrs=n,this.marks=i,this.content=r||St.empty}get children(){return this.content.content}get nodeSize(){return this.isLeaf?1:2+this.content.size}get childCount(){return this.content.childCount}child(t){return this.content.child(t)}maybeChild(t){return this.content.maybeChild(t)}forEach(t){this.content.forEach(t)}nodesBetween(t,n,r,i=0){this.content.nodesBetween(t,n,r,i,this)}descendants(t){this.nodesBetween(0,this.content.size,t)}get textContent(){return this.isLeaf&&this.type.spec.leafText?this.type.spec.leafText(this):this.textBetween(0,this.content.size,"")}textBetween(t,n,r,i){return this.content.textBetween(t,n,r,i)}get firstChild(){return this.content.firstChild}get lastChild(){return this.content.lastChild}eq(t){return this==t||this.sameMarkup(t)&&this.content.eq(t.content)}sameMarkup(t){return this.hasMarkup(t.type,t.attrs,t.marks)}hasMarkup(t,n,r){return this.type==t&&dw(this.attrs,n||t.defaultAttrs||xoe)&&lr.sameSet(this.marks,r||lr.none)}copy(t=null){return t==this.content?this:new e(this.type,this.attrs,t,this.marks)}mark(t){return t==this.marks?this:new e(this.type,this.attrs,this.content,t)}cut(t,n=this.content.size){return t==0&&n==this.content.size?this:this.copy(this.content.cut(t,n))}slice(t,n=this.content.size,r=!1){if(t==n)return qt.empty;let i=this.resolve(t),o=this.resolve(n),s=r?0:i.sharedDepth(n),a=i.start(s),c=i.node(s).content.cut(i.pos-a,o.pos-a);return new qt(c,i.depth-s,o.depth-s)}replace(t,n,r){return yoe(this.resolve(t),this.resolve(n),r)}nodeAt(t){for(let n=this;;){let{index:r,offset:i}=n.content.findIndex(t);if(n=n.maybeChild(r),!n)return null;if(i==t||n.isText)return n;t-=i+1}}childAfter(t){let{index:n,offset:r}=this.content.findIndex(t);return{node:this.content.maybeChild(n),index:n,offset:r}}childBefore(t){if(t==0)return{node:null,index:0,offset:0};let{index:n,offset:r}=this.content.findIndex(t);if(r<t)return{node:this.content.child(n),index:n,offset:r};let i=this.content.child(n-1);return{node:i,index:n-1,offset:r-i.nodeSize}}resolve(t){return hw.resolveCached(this,t)}resolveNoCache(t){return hw.resolve(this,t)}rangeHasMark(t,n,r){let i=!1;return n>t&&this.nodesBetween(t,n,o=>(r.isInSet(o.marks)&&(i=!0),!i)),i}get isBlock(){return this.type.isBlock}get isTextblock(){return this.type.isTextblock}get inlineContent(){return this.type.inlineContent}get isInline(){return this.type.isInline}get isText(){return this.type.isText}get isLeaf(){return this.type.isLeaf}get isAtom(){return this.type.isAtom}toString(){if(this.type.spec.toDebugString)return this.type.spec.toDebugString(this);let t=this.type.name;return this.content.size&&(t+="("+this.content.toStringInner()+")"),lD(this.marks,t)}contentMatchAt(t){let n=this.type.contentMatch.matchFragment(this.content,0,t);if(!n)throw new Error("Called contentMatchAt on a node with invalid content");return n}canReplace(t,n,r=St.empty,i=0,o=r.childCount){let s=this.contentMatchAt(t).matchFragment(r,i,o),a=s&&s.matchFragment(this.content,n);if(!a||!a.validEnd)return!1;for(let l=i;l<o;l++)if(!this.type.allowsMarks(r.child(l).marks))return!1;return!0}canReplaceWith(t,n,r,i){if(i&&!this.type.allowsMarks(i))return!1;let o=this.contentMatchAt(t).matchType(r),s=o&&o.matchFragment(this.content,n);return s?s.validEnd:!1}canAppend(t){return t.content.size?this.canReplace(this.childCount,this.childCount,t.content):this.type.compatibleContent(t.type)}check(){this.type.checkContent(this.content),q9(this.type.attrs,this.attrs,"node",this.type.name);let t=lr.none;for(let n=0;n<this.marks.length;n++){let r=this.marks[n];q9(r.type.attrs,r.attrs,"mark",r.type.name),t=r.addToSet(t)}if(!lr.sameSet(t,this.marks))throw new RangeError(`Invalid collection of marks for node ${this.type.name}: ${this.marks.map(n=>n.type.name)}`);this.content.forEach(n=>n.check())}toJSON(){let t={type:this.type.name};for(let n in this.attrs){t.attrs=this.attrs;break}return this.content.size&&(t.content=this.content.toJSON()),this.marks.length&&(t.marks=this.marks.map(n=>n.toJSON())),t}static fromJSON(t,n){if(!n)throw new RangeError("Invalid input for Node.fromJSON");let r;if(n.marks){if(!Array.isArray(n.marks))throw new RangeError("Invalid mark data for Node.fromJSON");r=n.marks.map(t.markFromJSON)}if(n.type=="text"){if(typeof n.text!="string")throw new RangeError("Invalid text node in JSON");return t.text(n.text,r)}let i=St.fromJSON(t,n.content);return t.nodeType(n.type).create(n.attrs,i,r)}};Fa.prototype.text=void 0;var KM=class e extends Fa{constructor(t,n,r,i){if(super(t,n,null,i),!r)throw new RangeError("Empty text nodes are not allowed");this.text=r}toString(){return this.type.spec.toDebugString?this.type.spec.toDebugString(this):lD(this.marks,JSON.stringify(this.text))}get textContent(){return this.text}textBetween(t,n){return this.text.slice(t,n)}get nodeSize(){return this.text.length}mark(t){return t==this.marks?this:new e(this.type,this.attrs,this.text,t)}withText(t){return t==this.text?this:new e(this.type,this.attrs,t,this.marks)}cut(t=0,n=this.text.length){return t==0&&n==this.text.length?this:this.withText(this.text.slice(t,n))}eq(t){return this.sameMarkup(t)&&this.text==t.text}toJSON(){let t=super.toJSON();return t.text=this.text,t}};function lD(e,t){for(let n=e.length-1;n>=0;n--)t=e[n].type.name+"("+t+")";return t}function q9(e,t,n,r){for(let i in t)if(!(i in e))throw new RangeError(`Unsupported attribute ${i} for ${n} of type ${r}`);for(let i in e)e[i].validate&&e[i].validate(t[i])}var Yd=class e{constructor(t){this.validEnd=t,this.next=[],this.wrapCache=[]}static parse(t,n){let r=new GM(t,n);if(r.next==null)return e.empty;let i=cD(r);r.next&&r.err("Unexpected trailing text");let o=Moe(Aoe(i));return Toe(o,r),o}matchType(t){for(let n=0;n<this.next.length;n++)if(this.next[n].type==t)return this.next[n].next;return null}matchFragment(t,n=0,r=t.childCount){let i=this;for(let o=n;i&&o<r;o++)i=i.matchType(t.child(o).type);return i}get inlineContent(){return this.next.length!=0&&this.next[0].type.isInline}get defaultType(){for(let t=0;t<this.next.length;t++){let{type:n}=this.next[t];if(!(n.isText||n.hasRequiredAttrs()))return n}return null}compatible(t){for(let n=0;n<this.next.length;n++)for(let r=0;r<t.next.length;r++)if(this.next[n].type==t.next[r].type)return!0;return!1}fillBefore(t,n=!1,r=0){let i=[this];function o(s,a){let l=s.matchFragment(t,r);if(l&&(!n||l.validEnd))return St.from(a.map(c=>c.createAndFill()));for(let c=0;c<s.next.length;c++){let{type:u,next:f}=s.next[c];if(!(u.isText||u.hasRequiredAttrs())&&i.indexOf(f)==-1){i.push(f);let d=o(f,a.concat(u));if(d)return d}}return null}return o(this,[])}findWrapping(t){for(let r=0;r<this.wrapCache.length;r+=2)if(this.wrapCache[r]==t)return this.wrapCache[r+1];let n=this.computeWrapping(t);return this.wrapCache.push(t,n),n}computeWrapping(t){let n=Object.create(null),r=[{match:this,type:null,via:null}];for(;r.length;){let i=r.shift(),o=i.match;if(o.matchType(t)){let s=[];for(let a=i;a.type;a=a.via)s.push(a.type);return s.reverse()}for(let s=0;s<o.next.length;s++){let{type:a,next:l}=o.next[s];!a.isLeaf&&!a.hasRequiredAttrs()&&!(a.name in n)&&(!i.type||l.validEnd)&&(r.push({match:a.contentMatch,type:a,via:i}),n[a.name]=!0)}}return null}get edgeCount(){return this.next.length}edge(t){if(t>=this.next.length)throw new RangeError(`There's no ${t}th edge in this content match`);return this.next[t]}toString(){let t=[];function n(r){t.push(r);for(let i=0;i<r.next.length;i++)t.indexOf(r.next[i].next)==-1&&n(r.next[i].next)}return n(this),t.map((r,i)=>{let o=i+(r.validEnd?"*":" ")+" ";for(let s=0;s<r.next.length;s++)o+=(s?", ":"")+r.next[s].type.name+"->"+t.indexOf(r.next[s].next);return o}).join(`
|
|
3
|
+
"use strict";var JC=Object.defineProperty;var Ine=Object.getOwnPropertyDescriptor;var Rne=Object.getOwnPropertyNames;var Nne=Object.prototype.hasOwnProperty;var mr=(e,t)=>()=>(e&&(t=e(e=0)),t);var QC=(e,t)=>{for(var n in t)JC(e,n,{get:t[n],enumerable:!0})},One=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of Rne(t))!Nne.call(e,i)&&i!==n&&JC(e,i,{get:()=>t[i],enumerable:!(r=Ine(t,i))||r.enumerable});return e};var Dne=e=>One(JC({},"__esModule",{value:!0}),e);function sX(e,t){return e}function aX(e){e()}var Gn,lX,il=mr(()=>{Gn=!1;lX=()=>!1});function C_(e){SX.add(e),queueMicrotask(()=>{SX.delete(e)&&e()})}var SX,m7=mr(()=>{SX=new Set});function sd(e,t,n){let r=e.style.getPropertyValue(t),i=e.style.getPropertyPriority(t);e.style.setProperty(t,n);let o=e.style.getPropertyValue(t);return()=>{e.style.getPropertyValue(t)===o&&(r?e.style.setProperty(t,r,i):e.style.removeProperty(t))}}function b7(e){if(!(typeof CSS>"u"||!CSS.registerProperty)){for(let t of e)if(!_X.has(t)){_X.add(t);try{CSS.registerProperty({name:t,syntax:"*",inherits:!1})}catch{}}}}function AX(e){if(g7.has(e))return g7.get(e);let t;for(let r=e;r&&!t;r=r.defaultView?.frameElement?.ownerDocument)t=r.head?.querySelector('meta[property="csp-nonce"]');let n=t?t.nonce||t.getAttribute("nonce")||"":null;return g7.set(e,n),n}function ad(e,t,n){if(!e.head)return;let r=e.defaultView;AX(e)===""&&r&&"adoptedStyleSheets"in e?W3e(e,r,t,n):q3e(e,t,n)}function q3e(e,t,n){let r=e.getElementById(t);if(r){if(y7.get(r)===n)return;r.textContent!==n&&(r.textContent=n),y7.set(r,n);return}let i=e.createElement("style");i.id=t;let o=AX(e);o&&(i.nonce=o),i.textContent=n,y7.set(i,n);let s=e.head.querySelectorAll(':scope > style[id^="ui-sdk-"]');s.length?s[s.length-1].after(i):e.head.prepend(i)}function W3e(e,t,n,r){let i=CX().get(e);i||CX().set(e,i=new Map);let o=i.get(n);o||i.set(n,o={sheet:new t.CSSStyleSheet,css:""}),o.css!==r&&(o.sheet.replaceSync(r),o.css=r),e.adoptedStyleSheets.includes(o.sheet)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,o.sheet])}function w7(e){ad(e,"ui-sdk-hidden",'@layer ui-sdk { :where([data-slot][hidden]:not([hidden="until-found"])) { display: none !important } }')}function Vy(e){typeof window>"u"||(performance.getEntriesByType("paint").length?zy?zy.push(e):(zy=[e],(window.requestIdleCallback??setTimeout)(()=>{let t=zy;zy=void 0,t.forEach(n=>n())})):e())}function MX(e){let t,n=requestAnimationFrame(()=>{t=setTimeout(e)});return()=>{cancelAnimationFrame(n),clearTimeout(t)}}var _X,CX,g7,y7,zy,Xc=mr(()=>{_X=new Set;CX=()=>globalThis[Symbol.for("ui-sdk.styles@1")]??=new WeakMap,g7=new WeakMap;y7=new WeakMap});function $n(e,t,n,r){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)}function Om(e){let t="nativeEvent"in e?e.nativeEvent:e;return t.isComposing===!0||t.keyCode===229}var x7,qs=mr(()=>{x7=()=>new Event("select",{cancelable:!0})});function TX(e){return jy.add(e),e}function jo(e,t){return Object.is(e,t)?!0:!Array.isArray(e)||!Array.isArray(t)||e.length!==t.length||jy.has(e)||jy.has(t)?!1:e.every((n,r)=>Object.is(n,t[r]))}function M_(e,t){return v7(e,t,void 0)}function v7(e,t,n){if(Object.is(e,t))return!0;let r=Array.isArray(e)&&Array.isArray(t);if(!r&&!(A_(e)&&A_(t)))return!1;if(n){for(let o=0;o<n.length;o+=2)if(n[o]===e&&n[o+1]===t)return!0}let i=n??[];i.push(e,t);try{if(r){let l=e,c=t;if(l.length!==c.length||jy.has(l)||jy.has(c))return!1;for(let u=0;u<l.length;u++)if(!v7(l[u],c[u],i))return!1;return!0}let o=e,s=t,a=Object.keys(o);if(a.length!==Object.keys(s).length)return!1;for(let l of a)if(!(l in s)||!v7(o[l],s[l],i))return!1;return!0}finally{i.length-=2}}function $X(e,t){let n=e,r=0,i=0,o,s,a=!1,l,c=new Set,u=new Map,f,d={get(){return l??h()},set(m,y=!1){if(o&&!y&&!a){let k=h();if(k!==n){let $={...k};for(let C in m)delete $[C];d.set($,!0)}}let g=[];for(let k in m)jo(n[k],m[k])||g.push(k);if(!g.length)return;let x=n;n={...n,...m};let w=g.every(k=>t.includes(k));p(g,x,w,y)},subscribe(m){return c.add(m),()=>{c.delete(m)}},setFanout(m){f=m},follow(m){o=m},view(m,y){let g=l;l=m;try{return y()}finally{l=g}}};function h(){if(!o||a)return n;a=!0;let m;try{m=o(n)}finally{a=!1}if(!m)return n;if(s?.state===n&&s.over===m)return s.result;let y=n;for(let g in m)if(!jo(n[g],m[g])){y={...n,...m};break}return s={state:n,over:m,result:y},y}function p(m,y,g,x){g||r++,x||i++;let w=k=>k(g,x,m);c.forEach(w);for(let[k,$]of u)(!m.length||m.some(C=>!Object.hasOwn(k,C)))&&$.forEach(w);f?.(m,y,w)}return ld.set(d,{state:()=>n,renders:()=>r,writes:()=>i,touch:()=>p([],n,!1,!1),skipping:u}),d}function T_(e,t,n){return $_(ld.get(e).skipping,t,n)}function $_(e,t,n){let r=e.get(t);return r||e.set(t,r=new Set),r.add(n),()=>{r.delete(n),!r.size&&e.get(t)===r&&e.delete(t)}}var jy,A_,ld,qy,E_,k7,EX,IX,yh=mr(()=>{jy=new WeakSet;A_=e=>{if(typeof e!="object"||e===null)return!1;let t=Object.getPrototypeOf(e);return t===Object.prototype||t===null};ld=new WeakMap;qy=e=>ld.get(e).state(),E_=e=>ld.get(e).writes(),k7=e=>ld.get(e).renders(),EX=(e,t)=>{ld.set(e,ld.get(t))},IX=e=>ld.get(e).touch()});function OX(e){let t=RX.get(e);if(t)return t;let n={selectors:new Map,selecting:new Map};return RX.set(e,n),e.setFanout((r,i,o)=>{let s=e.get();for(let a of r){let l=n.selecting.get(a);if(!l)continue;let c=f=>n.selectors.get(`${String(a)}:${f}`)?.forEach(o),u=i[a];for(let[f,d]of l)f(u,s[a],c)===!0&&d.forEach(o)}}),n}function vs(e){let t=Object.entries(e).filter(([,i])=>I_(i)||typeof i=="function"||i.length>0),n=(i,o)=>I_(i)?i.values(o):typeof i=="function"?i(o):i,r=(i,o)=>{let s=Zc(i,o);return t.map(([a,l])=>[a,n(l,s)])};return{reading(i,o){let s=Zc(i,o);return new Map(Object.entries(e).flatMap(([a,l])=>I_(l)?[]:[[a,n(l,s)]]))},selection(i,o){let s=r(i,o);return s.length?JSON.stringify(s):""},subscribe(i,o,s){let a=[T_(i.store,e,o)];for(let[l,c]of r(i,s)){let u=e[l],f=I_(u)?u.moved:Wy;a.push(...c.map(d=>U3e(i.store,l,d,o,f))),f!==Wy&&a.push(DX(i.store,l,f,o))}return()=>a.forEach(l=>l())}}}function U3e(e,t,n,r,i=Wy){let o=DX(e,t,i,()=>{}),s=$_(OX(e).selectors,`${String(t)}:${n}`,r);return()=>{s(),o()}}function DX(e,t,n,r){let{selecting:i}=OX(e),o=i.get(t);o||i.set(t,o=new Map);let s=$_(o,n,r);return()=>{s(),!o.size&&i.get(t)===o&&i.delete(t)}}function Wy(e,t,n){if(e==null?e=NX(t,e):t==null&&(t=NX(e,t)),S7(e)&&S7(t)){for(let o in e)(!Object.hasOwn(t,o)||!Object.is(e[o],t[o]))&&n(o);for(let o in t)Object.hasOwn(e,o)||n(o);return}if(!Array.isArray(e)||!Array.isArray(t))return[e,t].forEach(n);let r=0,i=0;for(;r<e.length&&e[r]===t[r];)r++;for(;i<e.length-r&&i<t.length-r&&e[e.length-1-i]===t[t.length-1-i];)i++;for(let o of[e,t])for(let s=r;s<o.length-i;s++)n(o[s])}var I_,RX,S7,K3e,G3e,NX,_7=mr(()=>{Uy();yh();I_=e=>typeof e=="object"&&e!==null&&!Array.isArray(e),RX=new WeakMap;S7=e=>!!e&&Object.getPrototypeOf(e)===Object.prototype,K3e=[],G3e={},NX=(e,t)=>Array.isArray(e)?K3e:S7(e)?G3e:t});function FX(e){let{parts:t}=e.owner,n=`${e.slot}:${e.key}`;t.has(n)||t.set(n,e),e.leases++;let r=!0;return()=>{if(!r||(r=!1,--e.leases))return;let{owner:i}=e;i.released.length||queueMicrotask(()=>zX(i)),i.released.push(e)}}function HX(e){let{owner:t}=e;t.released.length||queueMicrotask(()=>zX(t)),t.released.push(e)}function zX(e){for(let t of e.released){let n=`${t.slot}:${t.key}`;!t.leases&&e.parts.get(n)===t&&e.parts.delete(n)}e.released=[]}function Ky(e,t=e.props,n=e.store.get()){let r=Aa(e),i=Zc(e,t),o=r.attrs?.(n,i),s=r.role,a=typeof s=="function"?s(n,i):s;Gn&&(e.slot,cd(e).label,e.id,r.live?.read(n,i),void 0);let{name:l}=cd(e),c={"data-slot":e.slot==="root"?l:`${l}-${e.slot}`,...s===void 0?void 0:{role:a},...o};return s!==void 0&&(c.role=a),J3e(e,c)}function A7(e,t){let n;for(let r in e)e[r]!==void 0&&Y3e.has(r)&&t(r)&&((n??={...e})[r]=void 0);return n??e}function M7(e,t=e.props,n=e.store.get()){return Aa(e).state?.(n,Zc(e,t))??{}}function T7(e,t=e.props,n=e.store.get()){return Aa(e).present?.(n,Zc(e,t))??!0}function E7(e,t,n=e.props){let r=Aa(e).selects?.reading(e,n),i=["#keys"];for(let o in t){let s=r?.get(o);if(!s)i.push(o);else for(let a of s)i.push(`${o}:${a}`)}return i}function I7(e={},t={},n){let r=!1;for(let i in e)i in t||(r=!0);for(let i in t){if(!(i in e))r=!0;else if(jo(e[i],t[i]))continue;n(i),Wy(e[i],t[i],o=>n(`${i}:${o}`))}r&&n("#keys")}function R7(e,t,n=e.props){let r=Aa(e).selects,i=[FX(e),r?r.subscribe(e,t,n):T_(e.store,X3e,t)];return()=>i.forEach(o=>o())}function Gy(e){let{on:t,press:n}=Aa(e),r={};for(let i in t){let o=t[i];r[i]=s=>{s.defaultPrevented||rEe(s)||(cd(e).sleeping?.wake(),o(s,LX(e)))}}return typeof n=="function"&&!r.click&&(r.click=i=>{i.defaultPrevented||(cd(e).sleeping?.wake(),n(LX(e),i))}),r}function VX(e){e.propsListeners?.forEach(t=>t())}function jX(e,t){let n=e.propsListeners??=new Set;return n.add(t),()=>{n.delete(t)}}function Z3e(e){let t=Aa(e),n=PX.get(t);return n===void 0&&(n=!!t.attrs&&"hidden"in t.attrs(e.store.get(),Zc(e,e.props)),PX.set(t,n)),n}function qX(e,t,n={by:"core"}){let r=e,{parts:i}=r.owner,o=`${e.slot}:${e.key}`;if(!e.el&&(i.get(o)??r)===r&&(i.delete(o),i.set(o,r)),Gn){WX(e,e.el,t);let{focus:d}=Aa(e);typeof d=="function"&&d(e.store.get(),Zc(e,e.props)),e.slot,cd(e).label,e.id}let s={};e.el=t,r.binding=s;let a=[FX(r)];Z3e(e)&&w7(t.ownerDocument);for(let[d,h]of Object.entries(Gy(e)))(n.by==="core"||n.attaches!=="all"&&!n.attaches.includes(d))&&a.push($n(t,d,h));let l=Aa(e);l.live&&a.push(l.live.attach(e,t)),n.by==="framework"&&l.direct&&a.push(l.direct.attach(e,t));let c=l.asleep?.(t,e);c&&a.push(c);let u=()=>{let d=l.bind?.(t,e);d&&a.push(d)},{sleeping:f}=r.owner;return f&&l.bind?(f.binds.add(u),a.push(()=>f.binds.delete(u))):u(),l.attrs&&typeof MutationObserver<"u"&&a.push(eEe(r,t)),()=>{a.forEach(d=>d()),r.binding===s&&(e.el=r.binding=void 0,r.own!==void 0&&C7(r))}}function WX(e,t,n){!e.key||!t||t===n||queueMicrotask(()=>{if(e.el!==n||!t.isConnected||!n.isConnected)return;let{parts:r,label:i}=cd(e);for(let o of r.values())if(o.el===t)return;`${e.slot}${e.key}`,e.id})}function R_(e,t){let n=e;if(n.ref)return n.ref;let r=null,i=()=>{};return n.ref=o=>{o!==r&&(Gn&&o&&WX(e,r,o),i(),r=o,i=o?qX(e,o,t):()=>{})}}function J3e(e,t){let{owner:n}=e;if(!n.named?.size||!BX.some(o=>t[o]))return t;let r=Q3e(n,e.store);if(!r.size)return t;let i={...t};for(let o of BX){let s=i[o];s&&(i[o]=s.split(" ").map(a=>r.get(a)??a).join(" "))}return i}function Q3e(e,t){let n=k7(t);if(e.aliases?.version===n)return e.aliases.map;let r=new Map;for(let i of e.named){let o=UX(i);o!==void 0&&o!==i.own&&r.set(o,i.own)}return e.aliases={version:n,map:r},r}function eEe(e,t){(t.hasAttribute("id")||e.own!==void 0)&&C7(e);let n=new MutationObserver(()=>C7(e));return n.observe(t,{attributeFilter:["id"]}),()=>n.disconnect()}function C7(e){let{owner:t}=e;t.unread||(t.unread=new Set,C_(()=>tEe(t,e.store))),t.unread.add(e)}function tEe(e,t){let n=e.unread;e.unread=void 0;let r=e.renamed===!0;e.renamed=void 0;for(let i of n)r=KX(i,i.el&&nEe(i.el))||r;r&&IX(t)}function N7(e,t){e.el||typeof t!="string"||!Aa(e).attrs||KX(e,t)&&(cd(e).renamed=!0)}function KX(e,t){let n=UX(e),r=t&&t!==n?t:void 0;if(r===e.own)return!1;let{owner:i}=e;return e.own=r,i.named??=new Set,r===void 0?i.named.delete(e):i.named.add(e),i.aliases=void 0,n!==void 0}function rEe(e){return(e.type==="keydown"||e.type==="keyup")&&Om(e)}var cd,Aa,Zc,LX,Y3e,$7,X3e,PX,BX,UX,nEe,Uy=mr(()=>{m7();il();Xc();qs();_7();yh();cd=e=>e.owner,Aa=e=>cd(e).slots[e.slot],Zc=(e,t)=>({id:e.id,key:e.key,props:t,api:e.api}),LX=(e,t=e.props)=>({el:e.el,id:e.id,key:e.key,props:t,store:e.store,api:e.api});Y3e=new Set(["aria-label","aria-labelledby","aria-description","title","autocomplete","autocapitalize","autocorrect","spellcheck","inputmode","enterkeyhint"]);$7=(e,t=e.props)=>Aa(e).selects?.selection(e,t)??"";X3e={};PX=new WeakMap;BX=["aria-activedescendant","aria-controls","aria-describedby","aria-details","aria-errormessage","aria-flowto","aria-labelledby","aria-owns","for","headers"],UX=e=>Aa(e).attrs?.(e.store.get(),Zc(e,{...e.props,id:void 0})).id;nEe=e=>e.localName==="form"?e.getAttribute("id"):e.id});function N_(){return Co&&(/iP(hone|ad|od)/.test(navigator.platform)||navigator.platform==="MacIntel"&&navigator.maxTouchPoints>1)}function ud(e){return!!e&&Co&&getComputedStyle(e).direction==="rtl"}var Co,rc=mr(()=>{Co=typeof window<"u"&&typeof document<"u"});function sEe(e,t,n){let r=Math.max(0,t.layoutHeight-t.offsetTop-t.height);return Math.abs(t.height-t.layoutHeight)<=1&&JX.set(e,t.scale),n>0?Math.round(Math.min(n,r)):t.scale>(JX.get(e)??1)+.01?0:Math.round(r)}function QX(e,t){let n=e.ownerDocument.defaultView,r=n?.visualViewport;if(!n||!r)return()=>{};let i=null,o=l=>{let c=sEe(n,l,0),u=i!==null&&c!==i;i=c,u&&t?.before(),e.style.setProperty("--keyboard-inset",`${c}px`),e.style.setProperty("--visual-viewport-height",`${Math.round(l.height)}px`),c>0?e.setAttribute("data-keyboard",""):e.removeAttribute("data-keyboard"),u&&t?.after()},s=cEe.get(n);o(s&&s.layoutHeight-s.offsetTop-s.height<=1?s:eZ(n,r));let a=lEe(n,r,o);return()=>{a(),e.style.removeProperty("--keyboard-inset"),e.style.removeProperty("--visual-viewport-height"),e.removeAttribute("data-keyboard")}}function eZ(e,t){return{width:t.width,layoutHeight:e.innerHeight,height:t.height,offsetTop:t.offsetTop,scale:t.scale}}function aEe(e,t){let n=new Set,r=s=>{let a=eZ(e,t);for(let l of n)l(a,s)};t.addEventListener("resize",r),t.addEventListener("scroll",r);let o={followers:n,stop:()=>{t.removeEventListener("resize",r),t.removeEventListener("scroll",r),O7.delete(t)}};return O7.set(t,o),o}function lEe(e,t,n){let{followers:r,stop:i}=O7.get(t)??aEe(e,t);return r.add(n),()=>{r.delete(n)&&!r.size&&i()}}var JX,O7,cEe,tZ=mr(()=>{JX=new WeakMap;O7=new WeakMap;cEe=new WeakMap});var AZ={};QC(AZ,{announce:()=>LEe,prepareAnnouncements:()=>DEe,setAnnouncer:()=>OEe});function OEe(e){F_=e}function U7(e,t){let n=_Z.get(e);n||_Z.set(e,n={});let r=n[t];if(r?.isConnected)return r;let i=e.createElement("div");return i.setAttribute("role",t==="assertive"?"alert":"status"),i.setAttribute("aria-live",t),i.setAttribute("aria-atomic","true"),i.setAttribute("data-ui-sdk-announcer",t==="assertive"?"assertive":""),i.style.cssText="position:fixed;width:1px;height:1px;margin:-1px;padding:0;border:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap",e.body.append(i),n[t]=i,i}function DEe(e){F_||!e.body||(U7(e,"polite"),U7(e,"assertive"))}function LEe(e,{priority:t="polite",doc:n=typeof document>"u"?void 0:document}={}){if(!e)return;if(F_)return F_(e,t);if(!n?.body)return;let r=U7(n,t);r.textContent="",clearTimeout(CZ[t]),CZ[t]=setTimeout(()=>{r.textContent=e},100)}var _Z,F_,CZ,MZ=mr(()=>{_Z=new WeakMap,CZ={}});function IZ(e,t=!1,n){let r=e.defaultView??window,i=c=>n===void 0||!("pointerId"in c)||c.pointerId===n,o=c=>{i(c)&&(c.preventDefault(),c.stopPropagation(),e.removeEventListener("click",o,!0))},s=()=>{e.removeEventListener("click",o,!0),e.removeEventListener("pointerdown",a,!0),e.removeEventListener("pointerup",l,!0),e.removeEventListener("pointercancel",l,!0)},a=c=>i(c)&&s(),l=c=>i(c)&&r.setTimeout(s);if(e.addEventListener("click",o,!0),e.addEventListener("pointerdown",a,!0),!t)return r.setTimeout(s);e.addEventListener("pointerup",l,!0),e.addEventListener("pointercancel",l,!0)}var PEe,H_,RZ=mr(()=>{PEe=new WeakSet,H_=e=>PEe.has(e)});function Bm(e,t){z_.get(e)?.();let n=e.getAnimations?.({subtree:!0}).filter(NZ),r=n?.every(a=>X7(a)!==e);if(e.setAttribute("data-starting-style",""),n&&r)for(let a of e.getAnimations({subtree:!0}))NZ(a)&&!n.some(l=>BEe(a,l))&&a.finish();let i,o,s=requestAnimationFrame(()=>o=setTimeout(()=>{e.removeAttribute("data-starting-style"),t&&(i=LZ(e,t))}));return()=>{cancelAnimationFrame(s),clearTimeout(o),i?.(),e.removeAttribute("data-starting-style")}}function OZ(e){return e.split(",").map(t=>{let n=parseFloat(t)||0;return t.trim().endsWith("ms")?n/1e3:n})}function FEe(e){return Math.max(DZ(getComputedStyle(e)),DZ(getComputedStyle(e,"::backdrop")))}function DZ(e){let t=(n,r,i="1")=>{let o=OZ(n),s=OZ(r),a=i.split(",").map(l=>l.trim()==="infinite"?1:parseFloat(l)||1);return o.map((l,c)=>(l*(a[c%a.length]??1)+(s[c%s.length]??0))*1e3)};return Math.max(0,...t(e.transitionDuration,e.transitionDelay),...t(e.animationDuration,e.animationDelay,e.animationIterationCount))}function HEe(e){let t=0;for(let n of e){let r=n.effect?.getComputedTiming(),i=Number(r?.endTime);!r||!Number.isFinite(i)||(t=Math.max(t,i-(Number(r.localTime)||0)))}return t}function LZ(e,t){let n=!1,r=e.getAnimations({subtree:!0}).filter(zEe),i=()=>{n||(n=!0,clearTimeout(o),t())},o=r.length?setTimeout(i,Math.max(FEe(e),HEe(r))+50):void 0;return r.length?Promise.allSettled(r.map(s=>s.finished)).then(i):aX(i),()=>{n=!0,clearTimeout(o)}}function Z7(e,t){e.toggleAttribute("data-open",t),e.toggleAttribute("data-closed",!t)}function PZ(e,t){z_.get(e)?.(),e.removeAttribute("data-starting-style"),e.setAttribute("data-ending-style","");let n=e.hasAttribute("inert");e.setAttribute("inert","");let r=e.ownerDocument?.defaultView?.MutationObserver,i=!1,o=r&&new r(()=>i=!0);o?.observe(e,{attributeFilter:["inert"]});let s=0,a=()=>{cancelAnimationFrame(s),z_.delete(e),e.removeAttribute("data-ending-style"),i||=!!o?.takeRecords().length,o?.disconnect(),i||e.toggleAttribute("inert",n)},l=!1,c=LZ(e,()=>{if(!l)return a(),t();z_.set(e,a),s=requestAnimationFrame(()=>{s=requestAnimationFrame(a)}),t()});return l=!0,()=>{c(),a()}}var z_,NZ,X7,BEe,zEe,J7=mr(()=>{il();z_=new WeakMap;NZ=e=>"transitionProperty"in e,X7=e=>e.effect?.target,BEe=(e,t)=>X7(e)===X7(t)&&e.transitionProperty===t.transitionProperty;zEe=e=>!e.timeline||!("source"in e.timeline)});function o6(e,t,n=i6){return e<=0?0:(1-1/(e*n/t+1))*t}function j_(e,t,n=i6){return e<=0?0:(1/(1-Math.min(e/t,.999999))-1)*t/n}function YZ(e,t,n=i6){if(e<=0)return 1;let r=e*n/t+1;return n/(r*r)}var i6,XZ=mr(()=>{i6=.55});function UEe(e,t,n=0,r=e.length){let i=r-n;if(i<2)return 0;let o=e[r-1];if(i<4)return ZZ(e,t,n,r);let s=0,a=0,l=0,c=0,u=0,f=0,d=0,h=0;for(let y=n;y<r;y++){let g=e[y]-o,x=t[y],w=g*g;s+=1,a+=g,l+=w,c+=w*g,u+=w*w,f+=x,d+=x*g,h+=x*w}let p=s*(l*u-c*c)-a*(a*u-c*l)+l*(a*c-l*l);return Math.abs(p)<1e-9?ZZ(e,t,n,r):(s*(d*u-c*h)-f*(a*u-c*l)+l*(a*h-d*l))/p}function ZZ(e,t,n,r){let i=0,o=0,s=r-n;for(let c=n;c<r;c++)i+=e[c]/s,o+=t[c]/s;let a=0,l=0;for(let c=n;c<r;c++){let u=e[c]-i;a+=u*(t[c]-o),l+=u*u}return l>0?a/l:0}function JZ(e={}){let{horizon:t,staleAfter:n,maxSpeed:r,capacity:i}={...WEe,...e},o=new Float64Array(i),s=new Float64Array(i),a=new Float64Array(i),l=new Float64Array(i),c=0,u=-1;function f(p,m){c>0&&p<=o[u]||(u=(u+1)%i,o[u]=p,s[u]=m,c=Math.min(c+1,i))}function d(p){if(c<2)return 0;let m=o[u];if(p-m>n)return 0;let y=0;for(let x=c-1;x>=0;x--){let w=(u-x+i)%i;m-o[w]>t||(a[y]=o[w],l[y]=s[w],y++)}let g=UEe(a,l,0,y);return Math.max(-r,Math.min(r,g))}function h(){c=0,u=-1}return{add:f,velocity:d,reset:h}}var WEe,QZ=mr(()=>{WEe={horizon:70,staleAfter:40,maxSpeed:8,capacity:20}});function KEe(e,t){return e*t/(1-t)}function s6(e){let{extent:t,velocity:n,candidates:r}=e;if(Math.abs(n)<e.minFlingVelocity)return Qc(r,t);let i=t+KEe(n,e.rate),o=GEe(r,t,Math.sign(n)),s=Qc(r,i);return(n>0?r[s]<=t+.5:r[s]>=t-.5)&&o!==-1&&(s=o),!e.skipSnapPoints&&o!==-1&&(s=n>0?Math.min(s,o):Math.max(s,o)),s}function Qc(e,t){let n=0;for(let r=1;r<e.length;r++)Math.abs(e[r]-t)<Math.abs(e[n]-t)&&(n=r);return n}function GEe(e,t,n){if(n>0)return e.findIndex(r=>r>t+.5);for(let r=e.length-1;r>=0;r--)if(e[r]<t-.5)return r;return-1}var q_=mr(()=>{});function eb(e,t=!1){return e==="start"?t?"right":"left":e==="end"?t?"left":"right":e}var W_,U_=mr(()=>{W_={top:"bottom",bottom:"top",left:"right",right:"left"}});function Q_(e){return e.towardMore?!e.atLargest&&e.expandOnScroll?"sheet":"scroll":e.scrollAtStart?"sheet":"scroll"}var w6=mr(()=>{});function Wm(e,t,n,r){let i=2*Math.PI/(e*1e3),o=t;return Math.abs(o-1)<1e-6?B4e(i,n,r):o<1?P4e(i,o,n,r):F4e(i,o,n,r)}function P4e(e,t,n,r){let i=t*e,o=e*Math.sqrt(1-t*t),s=(r+i*n)/o;return{position:a=>Math.exp(-i*a)*(n*Math.cos(o*a)+s*Math.sin(o*a)),velocity:a=>{let l=Math.cos(o*a),c=Math.sin(o*a);return Math.exp(-i*a)*((s*o-i*n)*l-(n*o+i*s)*c)}}}function B4e(e,t,n){let r=n+e*t;return{position:i=>Math.exp(-e*i)*(t+r*i),velocity:i=>Math.exp(-e*i)*(r-e*(t+r*i))}}function F4e(e,t,n,r){let i=Math.sqrt(t*t-1),o=-e*(t+i),s=-e*(t-i),a=(r-o*n)/(s-o),l=n-a;return{position:c=>a*Math.exp(s*c)+l*Math.exp(o*c),velocity:c=>a*s*Math.exp(s*c)+l*o*Math.exp(o*c)}}function eC(e,{positionTolerance:t=.5,velocityTolerance:n=.02,step:r=1,limit:i=1e4}={}){for(let o=0;o<=i;o+=r)if(Math.abs(e.position(o))<=t&&Math.abs(e.velocity(o))<=n)return o;return i}function tC(e,t,n,r,i=1e3/120){let o=n-t;if(Math.abs(o)<1e-6)return"linear";let s=[];for(let a=0;a<r;a+=i)s.push(H4e(1+e.position(a)/o));return s.push("1"),`linear(${s.join(", ")})`}function H4e(e){return String(Math.round(e*1e4)/1e4)}var nC=mr(()=>{});function Ao(e,t){return{phase:"idle",extent:e,restingIndex:t}}function rC(e,t,n){switch(t.type){case"down":return V4e(e,t,n);case"move":return j4e(e,t,n);case"up":return U4e(e,t,n);case"settled":return K4e(e);case"rest":return G4e(e,t,n);case"snap-to":return Y4e(e,t,n);case"nudge":return X4e(e,t,n);case"close":return xh(e,n,{targetIndex:-1,motion:x6(e,t.time),time:t.time,reason:"imperative",outcome:{type:"dismiss",reason:"imperative"}})}}function x6(e,t){if(e.phase!=="settling")return{extent:e.extent,velocity:0};let n=Wm(e.response,e.dampingRatio,e.from-e.to,e.velocity),r=Math.max(0,t-e.startTime);return{extent:e.to+n.position(r),velocity:n.velocity(r)}}function V4e(e,t,n){let r=t.pointer==="mouse"?n.physics.mouseSlop:n.physics.touchSlop;if(e.phase==="idle"&&e.restingIndex>=0)return{state:{...e,phase:"pending",originX:t.x,originY:t.y,slop:r},effects:Ma};if(e.phase!=="settling")return{state:e,effects:Ma};let{extent:i}=x6(e,t.time);return{state:{phase:"dragging",extent:i,restingIndex:e.restingIndex,anchorY:t.y,anchorExtent:Z4e(i,n),lastY:t.y,isScrollingContent:!1},effects:[{type:"move",extent:i}]}}function j4e(e,t,n){return e.phase==="pending"?q4e(e,t,n):e.phase==="scrolling"&&n.contentScroll?n.contentScroll.move(e,t):e.phase==="dragging"?W4e(e,t,n):{state:e,effects:Ma}}function q4e(e,t,n){let r=t.x-e.originX,i=t.y-e.originY;if(Math.max(Math.abs(r),Math.abs(i))<e.slop)return{state:e,effects:Ma};if(Math.abs(r)>Math.abs(i))return{state:Ao(e.extent,e.restingIndex),effects:Ma};let o=n.contentScroll?.claim(e,t,i<0,n);if(o)return{state:o,effects:Ma};let s={...v6(e,e.originY+Math.sign(i)*e.slop),lastY:t.y},a=qJ(s.anchorExtent+(s.anchorY-t.y),n);return{state:{...s,extent:a},effects:[{type:"move",extent:a}]}}function v6(e,t){return{phase:"dragging",extent:e.extent,restingIndex:e.restingIndex,anchorY:t,anchorExtent:e.extent,lastY:t,isScrollingContent:!1}}function W4e(e,t,n){let r=e.lastY-t.y,i=e.isScrollingContent?{anchorY:e.lastY,anchorExtent:e.extent}:e,o=i.anchorExtent+(i.anchorY-t.y),s=n.contentScroll?.drag(e,t,r,o,n);if(s)return s;let a=qJ(o,n);return{state:{...e,anchorY:i.anchorY,anchorExtent:i.anchorExtent,extent:a,lastY:t.y,isScrollingContent:!1},effects:[{type:"move",extent:a}]}}function U4e(e,t,n){if(e.phase==="pending"||e.phase==="scrolling")return{state:Ao(e.extent,e.restingIndex),effects:Ma};if(e.phase!=="dragging")return{state:e,effects:Ma};let r=n.contentScroll?.release(e,t,n);if(r)return r;let i=-t.velocity*J4e(e.extent,n),o=[0,...WJ(n)],s=n.physics,a={candidates:o,rate:s.projectionRate,minFlingVelocity:s.minFlingVelocity,skipSnapPoints:s.skipSnapPoints},l=s6({...a,extent:e.extent,velocity:i}),c={motion:{extent:e.extent,velocity:i},time:t.time,reason:"swipe"};if(n.dismissible)return l>0?xh(e,n,{...c,targetIndex:l-1}):xh(e,n,{...c,targetIndex:-1,outcome:{type:"dismiss",reason:"swipe"}});let u=e.anchorExtent+(e.anchorY-e.lastY),f=s6({...a,extent:u,velocity:-t.velocity})===0,d=Math.max(0,l-1);return f?xh(e,n,{...c,targetIndex:0,outcome:{type:"attempt-dismiss",reason:"swipe"}}):xh(e,n,{...c,targetIndex:d})}function K4e(e){return e.phase!=="settling"?{state:e,effects:Ma}:{state:Ao(e.to,e.targetIndex),effects:Ma}}function G4e(e,t,n){if(t.extent<1&&n.dismissible)return{state:Ao(0,-1),effects:[{type:"dismiss",reason:"swipe"}]};let r=Qc(WJ(n),t.extent),i=r===e.restingIndex?[]:[{type:"snap",id:n.snapPoints[r].id,reason:"swipe"}];return{state:Ao(t.extent,r),effects:i}}function Y4e(e,t,n){let r=n.snapPoints.findIndex(i=>i.id===t.id);return r===-1||e.phase==="dragging"?{state:e,effects:Ma}:xh(e,n,{targetIndex:r,motion:x6(e,t.time),time:t.time,reason:t.reason})}function X4e(e,t,n){return e.phase!=="idle"||e.restingIndex<0?{state:e,effects:Ma}:xh(e,n,{targetIndex:e.restingIndex,motion:{extent:e.extent,velocity:-z4e},time:t.time,reason:"imperative"})}function xh(e,t,n){let{targetIndex:r,motion:i,time:o,reason:s}=n,a=t.physics,l=r<0?0:t.snapPoints[r].extent,u=Math.abs(i.velocity)>=a.minFlingVelocity?a.momentumDampingRatio:a.dampingRatio,f={phase:"settling",extent:i.extent,restingIndex:e.restingIndex,targetIndex:r,from:i.extent,to:l,velocity:i.velocity,response:a.response,dampingRatio:u,startTime:o},d=[{type:"settle",from:i.extent,to:l,velocity:i.velocity,response:a.response,dampingRatio:u}];return r>=0&&r!==e.restingIndex&&d.push({type:"snap",id:t.snapPoints[r].id,reason:s}),n.outcome&&d.push(n.outcome),{state:f,effects:d}}function qJ(e,t){let n=Um(t),{coefficient:r,dimension:i}=k6(t);if(e>n)return n+o6(e-n,i,r);if(t.dismissible)return Math.max(0,e);let o=t.snapPoints[0].extent;return e<o?o-o6(o-e,i,r):e}function Z4e(e,t){let n=Um(t),{coefficient:r,dimension:i}=k6(t);if(e>n)return n+j_(e-n,i,r);let o=t.snapPoints[0].extent;return!t.dismissible&&e<o?o-j_(o-e,i,r):e}function k6(e){return{coefficient:e.physics.rubberBand,dimension:e.physics.rubberBandDimension??e.dimension}}function J4e(e,t){let{coefficient:n,dimension:r}=k6(t),i=Um(t),o=t.snapPoints[0].extent,s=e>i?e-i:!t.dismissible&&e<o?o-e:0;return s<=0?1:YZ(j_(s,r,n),r,n)}function Um(e){return e.snapPoints[e.snapPoints.length-1].extent}function WJ(e){return e.snapPoints.map(t=>t.extent)}var Ma,z4e,iC=mr(()=>{q_();XZ();nC();Ma=[],z4e=1});var UJ,KJ,GJ=mr(()=>{w6();iC();UJ=[],KJ={claim(e,t,n,r){if(!(!t.scroll||Q_({towardMore:n,scrollAtStart:t.scroll.atStart,atLargest:e.extent>=Um(r)-.5,expandOnScroll:r.expandOnScroll})!=="scroll"))return{phase:"scrolling",extent:e.extent,restingIndex:e.restingIndex,lastY:t.y}},move(e,t){return t.y>e.lastY&&t.scroll?.atStart?{state:v6(e,t.y),effects:UJ}:{state:{...e,lastY:t.y},effects:UJ}},drag(e,t,n,r,i){let o=t.scroll;if(!o)return;if(e.isScrollingContent&&(n>0?!o.atEnd:!o.atStart)){let c=[{type:"scroll",delta:n}];return{state:{...e,lastY:t.y},effects:c}}let s=Um(i);if(!(n>0&&r>s&&e.extent<=s&&!o.atEnd))return;let a=[{type:"scroll",delta:r-s}];return e.extent!==s&&a.unshift({type:"move",extent:s}),{state:{...e,extent:s,anchorY:t.y,anchorExtent:s,lastY:t.y,isScrollingContent:!0},effects:a}},release(e,t,n){if(!e.isScrollingContent)return;let r=n.snapPoints.length-1,i=[{type:"fling-scroll",velocity:-t.velocity}];return e.restingIndex!==r&&i.push({type:"snap",id:n.snapPoints[r].id,reason:"swipe"}),{state:Ao(e.extent,r),effects:i}}}});var oC,YJ=mr(()=>{oC={ios:{response:.34,dampingRatio:1,momentumDampingRatio:.88,projectionRate:.99,minFlingVelocity:.5,skipSnapPoints:!0,rubberBand:1.9,rubberBandDimension:24,touchSlop:8,mouseSlop:4,dim:.2,velocityHorizon:70}}});function Q4e(e){return String(e)}function e5e(e,t){if(typeof e=="number")return e<=1?e*t.container:e;if(e==="content")return t.content;let n=parseFloat(e);return e.endsWith("rem")?n*t.rootFontSize:e.endsWith("%")?n/100*t.container:e.endsWith("px")?n:NaN}function XJ(e,t){let n=e.map((i,o)=>({value:i,index:o,extent:Math.min(e5e(i,t),t.content)})).filter(i=>i.extent>0).sort((i,o)=>i.extent-o.extent||i.index-o.index),r=[];for(let i of n){let o=Q4e(i.value),s=r[r.length-1];if(s&&i.extent-s.extent<1){s.ids.push(o),i.index>s.index&&Object.assign(s,{id:o,value:i.value,index:i.index}),s.extent=Math.max(s.extent,i.extent);continue}r.push({id:o,value:i.value,extent:Math.round(i.extent*100)/100,ids:[o],index:i.index})}return r.map(({index:i,...o})=>o)}function vh(e,t){if(t==null)return-1;let n=String(t);return e.findIndex(r=>r.ids.includes(n))}function ZJ(e,t,n){let r=vh(e,n),i=vh(e,t);return r>=0&&i>=0&&i<=r}var JJ=mr(()=>{});function S6(e,t){return eb(e,e==="start"||e==="end"?ud(t):!1)}function kh(e,t,n,r){let i=tu(e);return r.y=(i?n:t)*QJ(e),r.x=i?t:n,r}function tb(e,t){let n=`${Math.round(t*QJ(e)*100)/100}px`;return tu(e)?`0 ${n}`:`${n} 0`}function eQ(e,t){return tu(t)?e.offsetHeight:e.offsetWidth}function tQ(e,t,n){let r=_6(e,t,n);if(!r)return null;let{start:i,end:o}=n5e(r,n);return{atStart:i,atEnd:o,area:r}}function _6(e,t,n){let r=t.ownerDocument.defaultView;if(!r||!(e instanceof Element)||!t.contains(e))return null;let i=tu(n);for(let o=e;o&&o!==t.parentElement;o=o.parentElement){if(!(i?o.scrollHeight>o.clientHeight+1:o.scrollWidth>o.clientWidth+1)||!(o instanceof HTMLElement))continue;let a=i?r.getComputedStyle(o).overflowY:r.getComputedStyle(o).overflowX;if(/auto|scroll/.test(a))return o}return null}function t5e(e,t){if(tu(t)){let o=e.scrollHeight-e.clientHeight;return{position:t==="bottom"?e.scrollTop:o-e.scrollTop,max:o}}let n=e.scrollWidth-e.clientWidth,r=Math.abs(e.scrollLeft),i=ud(e)?n-r:r;return{position:t==="right"?i:n-i,max:n}}function n5e(e,t){let{position:n,max:r}=t5e(e,t);return{start:n<=.5,end:n>=r-1}}function C6(e,t,n){if(tu(t))e.scrollTop+=t==="bottom"?n:-n;else{let r=t==="right"?n:-n;e.scrollLeft+=ud(e)?-r:r}}var tu,QJ,A6=mr(()=>{rc();U_();tu=e=>e==="bottom"||e==="top",QJ=e=>e==="bottom"||e==="right"?1:-1});function aC(e,t){e.requestAnimationFrame(()=>e.requestAnimationFrame(t))}function lC(e){return e==="bottom"?-hd:-32}function cC(e,t){let n=[];for(let r=0;r<e.duration;r+=1e3/60)n.push(t(e.extentAt(r)));return n.push(t(e.extentAt(e.duration))),n}function Sh(e,t){let n=Object.entries(t).map(([r,i])=>sd(e,r,i));return()=>n.forEach(r=>r())}var sC,hd,nQ,rQ,uC=mr(()=>{Xc();sC=1e3;hd=120;nQ=200,rQ=150});function iQ(e,t,n=-1){let r=n<0?0:t[n],i=n<0?t[0]:t[n+1];return i===void 0||i<=r?e>r?1:0:M6((e-r)/(i-r))}function oQ(e,t){let n=t[t.length-1],r=t.length>1?t[t.length-2]:0;return n<=r?e>=n?1:0:M6((e-r)/(n-r))}function sQ(e,t){let n=t[t.length-1];return n>0?M6(e/n):0}var M6,aQ=mr(()=>{M6=e=>Math.max(0,Math.min(1,e))});function fQ(e){let t=e.defaultView?.CSS;if(!($6.has(e)||!t?.registerProperty)){$6.add(e);for(let n of T6)try{t.registerProperty({name:n,syntax:"<number>",inherits:!1,initialValue:"0"})}catch{}}}function hQ(){typeof document<"u"&&!$6.has(document)&&Vy(()=>fQ(document))}function pQ(e){fQ(e.sheet.ownerDocument);let t=[1],n=-1,r=[],i=new Map,o={dim:0,progress:0,expand:0},s;function a(P){t=P.snapExtents.length?P.snapExtents:[1],n=P.undimmedIndex}function l(P,N=o){return N.dim=dC(iQ(P,t,n)),N.progress=dC(sQ(P,t)),N.expand=dC(oQ(P,t)),N}let c=!1;function u(P,{rest:N=!1}={}){if(!c){$(),l(P),f(o.dim),p(e.sheet,o),h(o.progress);for(let _ of e.outlets())p(_.el,o),_.keyframes&&m(_,o.expand,N);N&&e.themeColor?.(o.dim)}}function f(P){let N=e.backdrop();N&&(N.style.opacity=String(P));let _=d();_&&(_.currentTime=P*1e3)}function d(){return!e.dimmed||s||(s=e.dimmed.animate({opacity:[0,1]},{...cQ,duration:1e3,fill:"both"}),s.pause(),s.currentTime=0),s}function h(P){let N=e.ancestors();for(let _=0;_<N.length;_++)N[_].style.setProperty("--drawer-stack",String(_+P))}function p(P,{dim:N,progress:_,expand:Z}){P.style.setProperty("--drawer-progress",String(_)),P.style.setProperty("--drawer-dim",String(N)),P.style.setProperty("--drawer-expand",String(Z))}function m(P,N,_){let Z=i.get(P.el);Z||(Z=P.el.animate(uQ(P.keyframes),{duration:1e3,fill:"both"}),Z.pause(),i.set(P.el,Z)),Z.currentTime=N*1e3,_&&(Z.commitStyles?.(),Z.cancel(),i.delete(P.el))}function y(P){if(c)return;if($(),C(),!nb())return u(P.type==="settle"?P.extentAt(P.duration):0,{rest:!0});let N=w(P);d();let _=P.type==="settle"?{duration:Math.max(1,P.duration),fill:"both"}:{timeline:P.timeline,fill:"both"},Z=(B,D,M,S)=>{let E=B.animate(D,{..._,...S,easing:r5e(M)});P.type==="settle"&&(E.startTime=P.startTime),r.push(E)},ue=e.backdrop();ue&&Z(ue,{opacity:[0,1]},N.dim),e.dimmed&&Z(e.dimmed,{opacity:[0,1]},N.dim,cQ),g(e.sheet,N,Z),e.ancestors().forEach((B,D)=>Z(B,{"--drawer-stack":[D,D+1]},N.progress));for(let B of e.outlets())g(B.el,N,Z),B.keyframes&&Z(B.el,uQ(B.keyframes),N.expand);if(P.type!=="settle")return;let J=P.extentAt(P.duration);x(J);let U=r;U[0]&&(U[0].onfinish=()=>r===U&&$())}function g(P,N,_){_(P,{"--drawer-progress":[0,1]},N.progress),_(P,{"--drawer-dim":[0,1]},N.dim),_(P,{"--drawer-expand":[0,1]},N.expand)}function x(P){let N=l(P,{dim:0,progress:0,expand:0});f(N.dim),p(e.sheet,N),h(N.progress);for(let _ of e.outlets())if(p(_.el,N),!!_.keyframes)for(let[Z,ue]of Object.entries(_.keyframes)){let J=ue[N.expand>=.5?ue.length-1:0];_.el.style.setProperty(dQ(Z),String(J))}e.themeColor?.(N.dim)}function w(P){let N={dim:[],progress:[],expand:[]},_={dim:0,progress:0,expand:0},Z=P.type==="settle"?Math.max(2,Math.ceil(P.duration/lQ)+1):61;for(let ue=0;ue<Z;ue++){let J=ue/(Z-1),U=P.type==="settle"?P.extentAt(Math.min(P.duration,ue*lQ)):P.extentAt(J);l(U,_),N.dim.push(_.dim),N.progress.push(_.progress),N.expand.push(_.expand)}return N}function k(P){for(let N of r)N.startTime=P}function $(){if(r.length){for(let P of r)P.cancel();r=[]}}function C(){for(let P of i.values())P.cancel();i.clear()}function L(){c=!0,$(),C(),e.backdrop()?.style.removeProperty("opacity"),s?.cancel();for(let P of T6.slice(0,3))e.sheet.style.removeProperty(P);for(let P of e.outlets()){for(let N of T6.slice(0,3))P.el.style.removeProperty(N);for(let N of Object.keys(P.keyframes??{}))P.el.style.removeProperty(dQ(N))}}return{configure:a,compute:l,apply:u,play:y,sync:k,follow:y,stop:$,destroy:L}}function r5e(e){return`linear(${e.map(dC).join(", ")})`}function dQ(e){return e.startsWith("--")?e:e.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}var lQ,T6,$6,nb,dC,cQ,uQ,rb=mr(()=>{aQ();Xc();lQ=1e3/60,T6=["--drawer-progress","--drawer-dim","--drawer-expand","--drawer-stack"],$6=new WeakSet;nb=()=>typeof CSS<"u"&&CSS.supports("animation-timing-function","linear(0, 1)"),dC=e=>Math.round(e*1e4)/1e4;cQ={pseudoElement:"::backdrop"};uQ=e=>e});function mQ(e){let{sheet:t}=e,n=t.ownerDocument,r=n.defaultView??window,i=Ao(0,-1),o=0,s=null,a=0,l=0,c=null,u=null,f=null,d=null,h=null,p=null,m=null,y=!1,g=!1,x=null,w=null,k=null,$={x:0,y:0},C=JZ({horizon:e.config().physics.velocityHorizon}),L=[$n(n,"touchstart",I,{capture:!0,passive:!0}),$n(n,"touchmove",A,{capture:!0,passive:!1}),$n(n,"touchend",j,{capture:!0,passive:!0}),$n(n,"touchcancel",j,{capture:!0,passive:!0}),$n(t,"pointerdown",R)],P=!1;function N(Q){P||(t.style.translate=tb(e.side(),e.size()-Q),o=Q)}function _(Q,ee){if(P)return;let F=rC(i,Q,e.config());i=F.state;let se="time"in Q?Q.time:performance.now();for(let O of F.effects)Z(O,se,ee);let le=i.phase==="dragging";le!==y&&(y=le,e.onDragChange(y))}function Z(Q,ee,F){switch(Q.type){case"move":c?(B(),N(Q.extent),e.onFrame(Q.extent)):(s=Q.extent,M());return;case"settle":return ue(Q,ee);case"scroll":return a+=Q.delta,M();case"fling-scroll":return h&&(d={velocity:Q.velocity,startTime:ee,startScroll:0,area:h}),M();case"snap":return w=Q.id,e.onSnap(Q.id,Q.reason,F);case"dismiss":return Q.reason!=="swipe"?void 0:(f="swipe",e.onDismiss(F));case"attempt-dismiss":return e.onDismissAttempt(F)}}function ue(Q,ee){B(),s=null;let F=e.closedExtent(),se=Q.from<=0?F:Q.from,le=Q.to<=0?F:Q.to,O=e.reducedMotion()&&(se===F||le===F),H=e.reducedMotion()?U(se,le,O):J(se,le,Q);if(N(O?Math.max(le,0):le),Math.abs(le-se)<.5&&Q.velocity===0||H.duration===0)return D();let X=e.size(),re=e.side();c=O?t.animate({opacity:se===F?[0,1]:[1,0]},{duration:H.duration,fill:"both"}):Math.abs(le-se)<1||!nb()?t.animate({translate:cC(H,pe=>tb(re,X-pe))},{duration:H.duration,fill:"backwards"}):t.animate({translate:[tb(re,X-se),tb(re,X-le)]},{duration:H.duration,easing:H.easing,fill:"backwards"}),O&&(u=c);let de=c;c.onfinish=()=>{c===de&&D()},c.startTime=ee,e.onMotion({type:"settle",extentAt:H.extentAt,startTime:ee,duration:H.duration})}function J(Q,ee,F){let se=Wm(F.response,F.dampingRatio,Q-ee,F.velocity),le=eC(se);return{duration:le,easing:tC(se,Q,ee,le),extentAt:O=>ee+se.position(O)}}function U(Q,ee,F){let se=F?rQ:nQ,le=O=>1-(1-O)**3;return{duration:se,easing:"cubic-bezier(0.33, 1, 0.68, 1)",extentAt:O=>Q+(ee-Q)*le(Math.min(1,O/se))}}function B(){c?.cancel(),c=null,u&&(u.cancel(),u=null)}function D(){if(B(),_({type:"settled"}),i.phase==="idle"){if(i.restingIndex<0)return f=null,w=null,e.onRest(null);w=e.config().snapPoints[i.restingIndex].id,e.onRest(w)}}function M(){l||=r.requestAnimationFrame(S)}function S(Q){l=0,a&&h&&(C6(h,e.side(),a),a=0),d&&E(Q),s!==null&&(N(s),s=null,e.onFrame(o))}function E(Q){if(!d)return;let ee=Math.max(0,Q-d.startTime),F=d.velocity*(E6**ee-1)/Math.log(E6);C6(d.area,e.side(),F-d.startScroll),d.startScroll=F,Math.abs(d.velocity*E6**ee)<.01?d=null:M()}function v(Q){return Q instanceof Element&&Q.closest(i5e)!==null}function V(Q){let ee=tQ(Q,t,e.side());return h=ee?.area??null,ee&&{atStart:ee.atStart,atEnd:ee.atEnd}}function I(Q){let ee=x!==null&&H_(x);if(x=null,p||Q.touches.length>1||f||ee||!e.owns(Q.target)||v(Q.target))return;let F=Q.changedTouches[0];p={id:F.identifier,originX:F.clientX,originY:F.clientY},d=null,C.reset(),kh(e.side(),F.clientX,F.clientY,$),C.add(Q.timeStamp,$.y),_({type:"down",time:Q.timeStamp,x:$.x,y:$.y,pointer:"touch"},Q)}function A(Q){let ee=K(Q.changedTouches);if(!ee)return;kh(e.side(),ee.clientX,ee.clientY,$),C.add(Q.timeStamp,$.y);let F=i.phase==="dragging",se=V(Q.target);if(_({type:"move",time:Q.timeStamp,x:$.x,y:$.y,scroll:se},Q),i.phase==="pending")return oe(Q,ee,se);i.phase==="dragging"&&(Q.cancelable?Q.preventDefault():!F&&h&&(h.style.overscrollBehavior="none"))}function oe(Q,ee,F){if(!Q.cancelable||!p)return;let se=kh(e.side(),p.originX,p.originY,{x:0,y:0});if(Math.abs($.y-se.y)<Math.abs($.x-se.x))return;let le=e.config().snapPoints.at(-1)?.extent??0;(F?Q_({towardMore:$.y<se.y,scrollAtStart:F.atStart,atLargest:o>=le-.5,expandOnScroll:e.config().expandOnScroll}):"sheet")==="sheet"&&Q.preventDefault()}function j(Q){if(!K(Q.changedTouches))return;p=null,h&&h.style.removeProperty("overscroll-behavior");let ee=Q.type==="touchcancel"?0:C.velocity(Q.timeStamp);_({type:"up",time:Q.timeStamp,velocity:ee},Q)}function K(Q){if(!p)return null;for(let ee=0;ee<Q.length;ee++)if(Q[ee].identifier===p.id)return Q[ee];return null}function R(Q){if(x=Q,Q.pointerType==="touch"||Q.button!==0||m!==null||f)return;let ee=Q.target;if(!e.owns(ee)||v(ee)||!(ee instanceof Element)||!e.canMouseDrag(ee))return;m=Q.pointerId,g=!1,k=i.phase==="settling"&&i.targetIndex>=0?w:null,d=null,C.reset(),kh(e.side(),Q.clientX,Q.clientY,$),C.add(Q.timeStamp,$.y),q=[$n(n,"pointermove",W,{capture:!0}),$n(n,"pointerup",te,{capture:!0}),$n(n,"pointercancel",te,{capture:!0})];let F=Q.pointerType==="pen"?"pen":"mouse";_({type:"down",time:Q.timeStamp,x:$.x,y:$.y,pointer:F},Q)}let q=[];function W(Q){if(Q.pointerId!==m)return;if(x&&H_(x))return Y(Q,0,k);let ee=Q.getCoalescedEvents?.();for(let F of ee?.length?ee:[Q])C.add(F.timeStamp,kh(e.side(),F.clientX,F.clientY,$).y);if(kh(e.side(),Q.clientX,Q.clientY,$),_({type:"move",time:Q.timeStamp,x:$.x,y:$.y,scroll:V(Q.target)},Q),!(i.phase!=="dragging"||g)){g=!0,n.getSelection()?.removeAllRanges(),t.style.userSelect="none";try{t.setPointerCapture(Q.pointerId)}catch{}}}function te(Q){if(Q.pointerId===m){if(x&&H_(x))return Y(Q,0,k);Y(Q,Q.type==="pointercancel"?0:C.velocity(Q.timeStamp))}}function Y(Q,ee,F=null){m=null,x=null,q.forEach(O=>O()),q=[],t.style.removeProperty("user-select");let se=Q.timeStamp,le=e.config().snapPoints.findIndex(O=>O.id===F);F!==null&&le>=0?(i=Ao(i.extent,le),_({type:"snap-to",time:se,id:F,reason:"imperative"})):_({type:"up",time:se,velocity:ee},Q),g&&IZ(n)}return{open(Q,ee){f=null,w=Q,B();let F=e.config().snapPoints.findIndex(le=>le.id===Q);if(!ee&&F>=0)return i=Ao(e.config().snapPoints[F].extent,F),N(i.extent),e.onRest(Q);i=Ao(0,-1),N(e.closedExtent()),_({type:"snap-to",time:performance.now()+sC,id:Q,reason:"imperative"});let se=c;se&&aC(r,le=>{c!==se||i.phase!=="settling"||(se.startTime=le,i={...i,startTime:le},e.onMotionStart(le))})},close(){let Q=f;f="close",Q||_({type:"close",time:performance.now()})},snapTo(Q,ee){f!=="close"&&(f=null,_({type:"snap-to",time:performance.now(),id:Q,reason:ee}))},nudge(){!f&&!e.reducedMotion()&&_({type:"nudge",time:performance.now()})},relayout(Q,ee){let F=e.config().snapPoints;if(f||w===null||i.phase==="dragging"||i.phase==="pending")return N(o);let se=F.findIndex(re=>re.id===w),le=F.findIndex(re=>re.id===ee),O=se>=0?se:le>=0?le:Qc(F.map(re=>re.extent),o),{id:H,extent:X}=F[O];if(i.phase==="idle"&&(i=Ao(o,se),Q||Math.abs(X-o)<.5))return i=Ao(X,O),N(X),Q?(H!==w&&Z({type:"snap",id:H,reason:"content-resize"},performance.now()),e.onRest(H)):void 0;_({type:"snap-to",time:performance.now(),id:H,reason:"content-resize"})},target:()=>f?null:w,isMoving:()=>i.phase!=="idle",destroy(){P=!0,B(),l&&r.cancelAnimationFrame(l),L.forEach(Q=>Q()),q.forEach(Q=>Q()),y&&e.onDragChange(!1);for(let Q of["translate","user-select","opacity"])t.style.removeProperty(Q)}}}var E6,i5e,gQ=mr(()=>{w6();iC();q_();nC();QZ();qs();RZ();A6();uC();rb();E6=.998,i5e='input, textarea, select, [contenteditable]:not([contenteditable="false"]), [data-drawer-no-drag]'});function bQ(e){let{sheet:t,host:n}=e,r=t.ownerDocument,i=r.defaultView??window,o=Ao(0,-1),s=0,a=[],l=null,c=!1,u=!1,f=!1,d=null,h=0,p=0,m=null,y=new Map,g=null,x=Sh(n,{inset:`0 0 calc(var(--keyboard-inset, 0px) - ${hd}px) 0`,display:"block","overflow-y":"scroll","overflow-x":"hidden","scroll-snap-type":"y mandatory","scrollbar-width":"none","overscroll-behavior":"contain","pointer-events":"auto"}),w=Sh(t,{position:"absolute",left:"0",right:"0"}),k="onscrollend"in n,$=i.ScrollTimeline,C=[$n(n,"scroll",U,{passive:!0}),...k?[$n(n,"scrollend",S)]:[],$n(n,"touchstart",()=>{c=!0,u=!1,l&&!d&&v()},{passive:!0}),$n(n,"touchend",D,{passive:!0}),$n(n,"touchcancel",D,{passive:!0})],L=new IntersectionObserver(E,{root:n,rootMargin:"0px 0px -1px 0px",threshold:0});L.observe(t);let P=()=>e.config().dimension,N=()=>e.config().snapPoints.at(-1)?.extent??0,_=()=>N()+o5e-s,Z=()=>Math.min(n.scrollTop+s,N());function ue(){let R=e.config();s=R.dismissible?-hd:R.snapPoints[0].extent,t.style.top=`${P()-s}px`;for(let te of a)te.remove();let q=R.snapPoints.map(te=>te.extent);a=(R.dismissible?[s,...q]:q).map(te=>J(te-s,"start")),a.push(J(_()+n.clientHeight-1,"none")),n.append(...a);for(let te of y.keys())t.contains(te)||y.delete(te);for(let te of s5e(t))y.has(te)||y.set(te,[te.style.getPropertyValue("overflow-y"),te.style.getPropertyPriority("overflow-y")])}function J(R,q){let W=r.createElement("div");return W.setAttribute("aria-hidden","true"),W.style.cssText=`position:absolute;left:0;width:1px;height:1px;top:${R}px;scroll-snap-align:${q};pointer-events:none`,W}function U(){l||d||(g&&c&&Math.abs(n.scrollTop-g.offsetTop)>1&&V(),c&&!f&&M(!0),$||(p||=i.requestAnimationFrame(B)),i.clearTimeout(h),!k&&!c&&(h=i.setTimeout(S,yQ)))}function B(){p=0,e.onFrame(Z())}function D(){if(c=!1,M(!1),g){V();let R=e.config().snapPoints,q=Qc(R.map(W=>W.extent),Z());return K(R[q].id,"swipe")}!e.config().dismissible&&n.scrollTop<-2&&e.onDismissAttempt(),(u||!k)&&(h=i.setTimeout(S,yQ)),u=!1}function M(R){f!==R&&(f=R,e.onDragChange(R))}function S(){if(c){u=!0;return}if(l||d)return;let R=e.config(),q=rC(o,{type:"rest",extent:Z()},R);o=q.state;for(let W of q.effects)W.type==="snap"&&(m=W.id,e.onSnap(W.id,W.reason));o.restingIndex>=0&&oe(R.snapPoints[o.restingIndex].id)}function E(R){R[R.length-1].isIntersecting||l||d||m===null||!e.config().dismissible||(d="swipe",m=null,e.onDismiss())}function v(){if(!l)return;let R=Math.max(0,l.extentAt(performance.now()-l.startTime)-s);A(),g=J(R,"start"),n.append(g),n.scrollTop=R,B(),j()}function V(){g?.remove(),g=null}function I(R,q,W,te){A();let Y=e.config().physics,Q=Wm(Y.response,Y.dampingRatio,q-R,0),ee=Math.max(1,eC(Q)),F=Math.max(s,R);n.scrollTop=F-s;let se=X=>R+Q.position(Math.max(0,X)),le=Math.abs(R-q)<.5,O=!le&&!nb(),H=t.animate({translate:O?cC({duration:ee,extentAt:se},X=>`0 ${F-X}px`):[`0 ${F-q}px`,`0 ${F-R}px`]},{duration:ee,easing:le||O?"linear":tC(Q,q,R,ee),fill:"both"});H.startTime=W,l={animation:H,to:R,extentAt:se,startTime:W},e.onMotion({type:"settle",extentAt:se,startTime:W,duration:ee}),H.onfinish=()=>{l?.animation===H&&(l=null,te(),H.cancel())}}function A(){l?.animation.cancel(),l=null}function oe(R){let q=e.config(),W=q.snapPoints.findIndex(Y=>Y.id===R);o=Ao(q.snapPoints[W].extent,W),m=R,n.style.pointerEvents=e.isInteractive(R)?"none":"auto";let te=W===q.snapPoints.length-1;for(let[Y,[Q,ee]]of y)te?Y.style.setProperty("overflow-y",Q,ee):Y.style.overflowY="hidden";e.onRest(R),j()}function j(){if(!$)return;let R=_(),q=new $({source:n,axis:"block"});e.onMotion({type:"timeline",timeline:q,extentAt:W=>Math.min(N(),W*R+s)})}function K(R,q){let W=e.config().snapPoints.find(Y=>Y.id===R);if(!W||d==="close")return;d=null,R!==m&&(m=R,e.onSnap(R,q));let te=l?l.extentAt(performance.now()-l.startTime):Z();I(W.extent,te,performance.now(),()=>oe(R))}return{open(R,q){d=null,m=R,ue();let W=e.config().snapPoints.find(Y=>Y.id===R);if(!W)return;if(!q)return n.scrollTop=W.extent-s,oe(R);I(W.extent,-hd,performance.now()+sC,()=>oe(R));let te=l;aC(i,Y=>{!te||l!==te||(te.animation.startTime=Y,te.startTime=Y,e.onMotionStart(Y))})},close(){let R=d;if(d="close",R)return;m=null;let q=l?l.extentAt(performance.now()-l.startTime):Z();I(-hd,q,performance.now(),()=>e.onRest(null))},snapTo:K,nudge(){if(d||e.reducedMotion()||m===null)return;let R=e.config().snapPoints.find(q=>q.id===m);R&&I(R.extent,R.extent-20,performance.now(),()=>oe(R.id))},relayout(R,q){if(d||c)return;let W=e.config().snapPoints,te=W.findIndex(se=>se.id===m),Y=W.findIndex(se=>se.id===q),Q=te>=0?te:Y>=0?Y:Qc(W.map(se=>se.extent),Z()),ee=s;ue();let F=W[Q];if(F.id!==m&&(m=F.id,e.onSnap(F.id,"content-resize")),l){let se=l,le=performance.now();(se.to!==F.extent||s!==ee)&&(I(F.extent,se.extentAt(le-se.startTime),Math.max(le,se.startTime),()=>oe(F.id)),l=Object.assign(se,l));return}n.scrollTop=F.extent-s,oe(F.id)},target:()=>d?null:m,isMoving:()=>!!l||f,destroy(){A(),V(),i.clearTimeout(h),p&&i.cancelAnimationFrame(p),L.disconnect(),C.forEach(R=>R());for(let R of a)R.remove();for(let[R,[q,W]]of y)R.style.setProperty("overflow-y",q,W);f&&e.onDragChange(!1),t.style.removeProperty("top"),w(),x()}}}function s5e(e){let t=e.ownerDocument.defaultView??window;return Array.from(e.querySelectorAll("*")).filter(n=>/auto|scroll/.test(t.getComputedStyle(n).overflowY))}var yQ,o5e,wQ=mr(()=>{iC();q_();nC();qs();uC();rb();yQ=120,o5e=24});function a5e(e){let t=/^rgba?\(\s*([\d.]+)[\s,]+([\d.]+)[\s,]+([\d.]+)/.exec(e);return t?[t[1],t[2],t[3]].map(Number):null}function xQ(e,t){let n=Array.from(e.querySelectorAll('meta[name="theme-color"]')),r=n.map(l=>l.content),i=r.map(l=>a5e(l5e(e,l))),o=-1;function s(l){let c=Math.round(l*t*100)/100;c!==o&&(o=c,n.forEach((u,f)=>{let d=i[f];d&&(u.content=c?`rgb(${d.map(h=>Math.round(h*(1-c))).join(" ")})`:r[f])}))}function a(){n.forEach((l,c)=>l.content=r[c]),o=-1}return{write:s,restore:a}}function l5e(e,t){let n=e.createElement("span");n.style.color=t,n.style.display="none",e.body.append(n);let r=e.defaultView?.getComputedStyle(n).color??t;return n.remove(),r}var vQ=mr(()=>{});function d5e(e){return{side:()=>"bottom",snapPoints:()=>["content"],snapPoint:()=>null,dismissible:()=>!0,modalAbove:()=>{},driver:()=>"auto",expandOnScroll:()=>!0,physics:()=>{},backdrop:()=>{},hostBackdrop:!1,outlets:()=>[],parent:()=>{},themeColor:()=>!1,preventEdgeSwipe:()=>!1,canMouseDrag:u5e,onSnap:ib,onRest:ib,onDismissAttempt:ib,onDragChange:ib,onLayout:ib,...f5e(e)}}function f5e(e){return Object.fromEntries(Object.entries(e).filter(([,t])=>t!==void 0))}function _Q(e){for(let t=e.parent;t;t=t.parent){let n=fC.get(t);if(n)return n}}function h5e(e){for(let t=e instanceof Element?e:null;t;){if(I6.has(t))return t;let n=t.getRootNode();t=t.parentElement??(n instanceof ShadowRoot?n.host:null)}return null}function p5e(e,t){let n=t.driver();return n!=="auto"?n==="scroll-snap":t.modalAbove()===void 0&&t.expandOnScroll()&&!!e.matchMedia?.("(hover: none) and (pointer: coarse)").matches}function CQ(e,t){let n=d5e(t),{host:r}=n,i=e.ownerDocument,o=i.defaultView??window,s=o.matchMedia?.("(prefers-reduced-motion: reduce)"),a=S6(n.side(),e),l=[],c=0,u,f=oC.ios,d,h,p={snapPoints:[],dimension:0,dismissible:!0,expandOnScroll:!0,physics:f,contentScroll:KJ},m=a==="bottom"&&p5e(o,n);I6.add(e);let y=[SQ(r,a,e),g5e(e)],g=[],x=pQ({sheet:e,backdrop:n.backdrop,dimmed:n.hostBackdrop?r:void 0,outlets:n.outlets,ancestors:()=>g,themeColor:R=>d?.write(R)});function w(){let R=n.physics();return R!==u&&(u=R,f=R?{...oC.ios,...R}:oC.ios),p.physics=f,p.dismissible=n.dismissible(),p.expandOnScroll=n.expandOnScroll(),p}let k=!1;function $(){k=!0;let R=S6(n.side(),e);R!==a&&(a=R,y[0](),y[0]=SQ(r,a,e));let q=(tu(a)?r.clientHeight:r.clientWidth)-(m?hd:0);U??=o.visualViewport?.height,c=eQ(e,a);let W=parseFloat(o.getComputedStyle(i.documentElement).fontSize)||16,te=XJ(n.snapPoints(),{container:q,content:c,rootFontSize:W});te.length||te.push({id:"content",value:"content",extent:c,ids:["content"]});let Y=q!==p.dimension||te.length!==l.length||te.some((Q,ee)=>Q.id!==l[ee].id||Math.abs(Q.extent-l[ee].extent)>=.5);return l=te,p.dimension=q,p.snapPoints=l.map(({id:Q,extent:ee})=>({id:Q,extent:ee})),x.configure({snapExtents:p.snapPoints.map(Q=>Q.extent),undimmedIndex:vh(l,n.modalAbove())}),Y&&_(),Y}let C=!1,L=R=>R===null?null:l.find(q=>q.id===R)?.value??null,P={sheet:e,host:r,side:()=>a,config:w,size:()=>c,closedExtent:()=>lC(a),reducedMotion:()=>!!s?.matches,owns:R=>h5e(R)===e,canMouseDrag:n.canMouseDrag,onSnap:(R,q,W)=>{let te=L(R);te!==null&&n.onSnap(te,q,W)},onRest(R){if(C)return;let q=l.find(W=>W.id===R);x.apply(q?.extent??lC(a),{rest:!0}),n.onRest(L(R)),V&&R!==null&&A(),V=!1},onDismiss:n.onDismiss,onDismissAttempt:n.onDismissAttempt,onDragChange:n.onDragChange,isInteractive:R=>K.isInteractiveAt(L(R)),onFrame:R=>C||x.apply(R),onMotion:R=>C||x.play(R),onMotionStart:R=>C||x.sync(R)},N=!0;function _(){if(!N)return n.onLayout({side:a,snapPoints:l});queueMicrotask(()=>C||n.onLayout({side:a,snapPoints:l}))}w();let Z=m?bQ(P):mQ(P);e.setAttribute("data-driver",m?"scroll-snap":"pointer"),N=!1;let ue=new ResizeObserver(()=>{oe(!1)});ue.observe(e),ue.observe(r);let J=0,U,B=null,M=[QX(r,{before:()=>J=e.getBoundingClientRect().top,after:S}),...n.preventEdgeSwipe()?[$n(i,"touchstart",E,{capture:!0,passive:!1})]:[],...N_()?[$n(i,"touchend",v,{capture:!0,passive:!1})]:[],$n(e,"focusin",I)];function S(){oe(!0),A();let R=o.visualViewport?.height;if(R===U)return;U=R,B?.cancel(),B=null;let q=J-e.getBoundingClientRect().top;Math.abs(q)<1||s?.matches||(B=r.animate({translate:[`0 ${q}px`,"0 0"]},m5e))}function E(R){if(!R.cancelable)return;let q=R.touches[0];if(!q||q.clientX>kQ&&q.clientX<o.innerWidth-kQ)return;let W=R.target;W&&(r.contains(W)||n.backdrop()?.contains(W))&&R.preventDefault()}function v(R){let q=R.target;(q instanceof HTMLInputElement||q instanceof HTMLTextAreaElement)&&(!e.contains(q)||q===i.activeElement||Z.isMoving()||!R.cancelable||(R.preventDefault(),q.focus({preventScroll:!0})))}let V=!1;function I(){Z.isMoving()?V=!0:A()}function A(){let R=i.activeElement;if(!(R instanceof HTMLElement)||!e.contains(R)||R===e)return;let q=_6(R,e,"bottom");if(!q)return;let W=o.visualViewport,te=Math.min(q.getBoundingClientRect().bottom,W?W.offsetTop+W.height:o.innerHeight),{top:Y,bottom:Q}=R.getBoundingClientRect(),ee=16,F=q.getBoundingClientRect().top,se=Q+ee>te?Q+ee-te:Y-ee<F?Y-ee-F:0;se&&q.scrollBy({top:se,behavior:s?.matches?"instant":"smooth"})}function oe(R){let q=!k;$()&&!q&&Z.relayout(R,l[vh(l,n.snapPoint())]?.id)}function j(R){let q=vh(l,R);return l[q>=0?q:0]?.id}let K={element:e,parent:n.parent,open(R){if(C)return;g=[];for(let W=n.parent();W;W=W.parent())g.push(W.element);$(),w(),n.themeColor()&&(d??=xQ(i,f.dim)),R&&x.apply(lC(a)),h?.();let q=n.backdrop();h=q&&Sh(q,{"will-change":"opacity"}),Z.open(j(n.snapPoint()),R)},close:()=>C||Z.close(),snapTo(R,q){let W=vh(l,R);W>=0&&l[W].id!==Z.target()&&Z.snapTo(l[W].id,q)},nudge:()=>Z.nudge(),snapPoints:()=>l,target:()=>L(Z.target()),isInteractiveAt:R=>ZJ(l,R,n.modalAbove()),refresh(){oe(!1)},destroy(){C=!0,ue.disconnect(),B?.cancel(),M.forEach(R=>R()),Z.destroy(),x.destroy(),h?.(),d?.restore(),y.forEach(R=>R()),e.removeAttribute("data-driver"),I6.delete(e)}};return K}function SQ(e,t,n){let r=tu(t),i=r?t==="bottom":t==="right"!=(n.ownerDocument.defaultView?.getComputedStyle(e).direction==="rtl");return Sh(e,{position:"fixed",inset:"0 0 var(--keyboard-inset, 0px) 0",width:"auto",height:"auto","max-width":"none","max-height":"none",margin:"0",padding:"0",border:"0",background:"transparent",color:"inherit",overflow:"visible",display:"flex","flex-direction":r?"column":"row","justify-content":i?"flex-end":"flex-start","pointer-events":"none"})}function g5e(e){return Sh(e,{"pointer-events":"auto","overscroll-behavior":"contain","will-change":"translate"})}var c5e,u5e,ib,I6,fC,kQ,m5e,AQ=mr(()=>{GJ();YJ();JJ();qs();tZ();rc();A6();uC();rb();gQ();wQ();vQ();c5e='a[href], button, label, summary, [role="button"], [role="link"], [role="slider"], [tabindex]:not([tabindex="-1"])',u5e=e=>!e.closest(c5e),ib=()=>{};I6=new WeakSet,fC=new WeakMap;kQ=24;m5e={duration:250,easing:"cubic-bezier(0.38, 0.7, 0.125, 1)"}});var MQ={};QC(MQ,{prepareVariables:()=>hQ,presentSheet:()=>x5e});function y5e(e){let t=e.getAttribute("data-slot");t&&ad(e.ownerDocument,`ui-sdk-sheet-${t}`,`@layer ui-sdk { :where([data-slot="${t}"])::backdrop { background: var(--sheet-backdrop, rgb(0 0 0 / 0.2)); pointer-events: auto } }`)}function b5e(e,t){let n=[],r=i=>{for(let o of Array.from(i.children))t.includes(o)||(t.some(s=>s&&o.contains(s))?r(o):o instanceof HTMLElement&&n.push(sd(o,"display","none")))};return r(e),()=>n.forEach(i=>i())}function w5e(e,t,n){let r,i=t.bind(e,{...n,position:void 0,inline:!0,onShow(){let[o,s]=n.drillIn();return o&&(r=b5e(o,[e,s])),()=>r?.()},onClose(){r?.(),r=sd(e,"display","none")}});return()=>{i(),r?.()}}function x5e(e,t,n){if(n.drillIn)return w5e(e,t,n);let r=e.parentElement;if(!r)return;y5e(r);let i;return t.bind(e,{...n,position:void 0,host:()=>r,onShow(o){let s=v5e(e,r,t,n,o);return i=s.sheet,()=>{s.hide(),i=void 0}},onClose:()=>i?.close()})}function v5e(e,t,n,r,i){let o=null,s=_Q(i),a=!r.backdrop?.(),l=CQ(e,{host:t,snapPoints:()=>r.snapPoints??["content"],snapPoint:()=>o,backdrop:r.backdrop,hostBackdrop:a,dismissible:r.dismissible,onDismissAttempt:r.onDismissAttempt,parent:()=>s?.(),onSnap:f=>o=f,onDismiss(f){n.requestClose("swipe",f),requestAnimationFrame(()=>{let d=o??l.snapPoints()[0]?.value;i.active()&&d!==void 0&&l.snapTo(d,"imperative")})}});fC.set(i,()=>l),r.onSheet?.(l);let c=$n(e,"focusin",f=>{let d=l.snapPoints().at(-1);d&&l.snapPoints().length>1&&f.target.matches("input, textarea")&&l.snapTo(d.value,"imperative")}),u=a?getComputedStyle(e).getPropertyValue("--sheet-backdrop"):"transparent";return u&&t.style.setProperty("--sheet-backdrop",u),i.active()&&l.open(n.opener()!=="initial"),{sheet:l,hide(){c(),fC.delete(i),l.destroy(),r.onSheet?.(void 0),t.style.removeProperty("--sheet-backdrop")}}}var TQ=mr(()=>{qs();Xc();AQ();rb()});var WRe={};QC(WRe,{apply:()=>qRe,inject:()=>FRe,name:()=>BRe});module.exports=Dne(WRe);var Jm=require("react");function eA(e){for(let t of e){let n=String(t??"").trim().toLowerCase().replace(/_/g,"-");if(n){if(n==="zh"||n.startsWith("zh-"))return/(^|-)(hant|tw|hk|mo)($|-)/.test(n)?"zh-Hant":"zh-Hans";if(n==="en"||n.startsWith("en-"))return"en"}}return"en"}var Lne={"zh-Hant":"\u3001","zh-Hans":"\u3001",en:", "},Pne={"zh-Hant":"\uFF0C","zh-Hans":"\uFF0C",en:", "};function tA(e,t,n,r){let i=t==="zh-Hant"?void 0:e[n],o=i?i[t==="zh-Hans"?0:1]:n;return r?o.replace(/\{(\w+)\}/g,(s,a)=>{if(!Object.prototype.hasOwnProperty.call(r,a))return s;let l=r[a];return Array.isArray(l)?l.map(c=>typeof c=="object"&&c?Db(e,t,c):String(c)).join((a==="clauses"?Pne:Lne)[t]):String(l)}):o}function Db(e,t,n){return tA(e,t,n.key,n.params)}function tN(e){return Db({},"zh-Hant",e)}var nA={\u7DE8\u8F2F\u4E2D:["\u7F16\u8F91\u4E2D","Editing"],"\u5132\u5B58\u4E2D\u2026":["\u4FDD\u5B58\u4E2D\u2026","Saving\u2026"],\u5DF2\u5132\u5B58:["\u5DF2\u4FDD\u5B58","Saved"],\u5DF2\u540C\u6B65:["\u5DF2\u540C\u6B65","Synced"],\u5DF2\u5B58\u5728\u672C\u6A5F:["\u5DF2\u5B58\u5728\u672C\u673A","Saved locally"],"\u5132\u5B58\u5931\u6557 \xB7 \u91CD\u8A66":["\u4FDD\u5B58\u5931\u8D25 \xB7 \u91CD\u8BD5","Save failed \xB7 Retry"],\u6709\u885D\u7A81:["\u6709\u51B2\u7A81","Conflict"],"\u5DF2\u5132\u5B58\u5728\u9019\u53F0\u96FB\u8166\uFF0C\u7B49\u5F85\u4E0A\u50B3\u5230\u96F2\u7AEF":["\u5DF2\u4FDD\u5B58\u5728\u8FD9\u53F0\u7535\u8111\uFF0C\u7B49\u5F85\u4E0A\u4F20\u5230\u4E91\u7AEF","Saved on this computer, waiting to upload"],\u5DF2\u4E0A\u50B3\u5230\u96F2\u7AEF:["\u5DF2\u4E0A\u4F20\u5230\u4E91\u7AEF","Uploaded to the cloud"],\u6B63\u5728\u95B1\u8B80:["\u6B63\u5728\u9605\u8BFB","Reading"],\u6B63\u5728\u601D\u8003:["\u6B63\u5728\u601D\u8003","Thinking"],"\u6B63\u5728\u601D\u8003\u2026":["\u6B63\u5728\u601D\u8003\u2026","Thinking\u2026"],\u6B63\u5728\u64B0\u5BEB:["\u6B63\u5728\u64B0\u5199","Writing"],\u6B63\u5728\u64B0\u5BEB\u5EFA\u8B70:["\u6B63\u5728\u64B0\u5199\u5EFA\u8BAE","Writing suggestions"],\u7B49\u4F60\u78BA\u8A8D:["\u7B49\u4F60\u786E\u8BA4","Waiting for you"],"AI \u5354\u4F5C\u8005":["AI \u534F\u4F5C\u8005","AI collaborator"],\u4F60:["\u4F60","You"],"\u5207\u63DB\u7B46\u8A18\uFF08{key}\uFF09":["\u5207\u6362\u7B14\u8BB0\uFF08{key}\uFF09","Switch note ({key})"],\u5207\u63DB\u7B46\u8A18:["\u5207\u6362\u7B14\u8BB0","Switch note"],\u66F4\u591A:["\u66F4\u591A","More"],\u5207\u63DB\u70BA\u5BEC\u5C4F\u5167\u5BB9:["\u5207\u6362\u4E3A\u5BBD\u5C4F\u5185\u5BB9","Switch to wide note width"],\u6062\u5FA9\u9810\u8A2D\u5167\u5BB9\u5BEC\u5EA6:["\u6062\u590D\u9ED8\u8BA4\u5185\u5BB9\u5BBD\u5EA6","Restore default note width"],\u9396\u5B9A\u7B46\u8A18:["\u9501\u5B9A\u7B14\u8BB0","Lock note"],\u89E3\u9396\u7B46\u8A18:["\u89E3\u9501\u7B14\u8BB0","Unlock note"],\u5DF2\u9396\u5B9A:["\u5DF2\u9501\u5B9A","Locked"],\u6536\u85CF:["\u6536\u85CF","Favorite"],\u53D6\u6D88\u6536\u85CF:["\u53D6\u6D88\u6536\u85CF","Unfavorite"],"\u7B46\u8A18\u5F15\u7528\uFF08\u7D66 Agent\uFF09":["\u7B14\u8BB0\u5F15\u7528\uFF08\u7ED9 Agent\uFF09","Note reference (for agents)"],"\u5DF2\u8907\u88FD\u7B46\u8A18\u5F15\u7528\uFF0C\u8CBC\u7D66 Agent \u5373\u53EF":["\u5DF2\u590D\u5236\u7B14\u8BB0\u5F15\u7528\uFF0C\u8D34\u7ED9 Agent \u5373\u53EF","Note reference copied \u2014 paste it to your agent"],\u5DF2\u8907\u88FD\u7D14\u6587\u5B57:["\u5DF2\u590D\u5236\u7EAF\u6587\u672C","Copied as plain text"],\u6C92\u6709\u53EF\u8907\u88FD\u7684\u5167\u5BB9:["\u6CA1\u6709\u53EF\u590D\u5236\u7684\u5185\u5BB9","Nothing to copy"],\u672A\u547D\u540D\u7B46\u8A18:["\u672A\u547D\u540D\u7B14\u8BB0","Untitled"],\u9019\u5247\u7B46\u8A18:["\u8FD9\u5219\u7B14\u8BB0","this note"],"\u548C AI \u4E00\u8D77\u5BEB\u7B46\u8A18":["\u548C AI \u4E00\u8D77\u5199\u7B14\u8BB0","Write notes with AI"],"\u5728\u5C0D\u8A71\u88E1\u8ACB AI \u958B\u555F\u4E00\u5247 Dinox \u7B46\u8A18\uFF0C\u6216\u76F4\u63A5\u5F9E\u9019\u88E1\u627E\u3002\u4F60\u7DE8\u8F2F\u6642\uFF0CAI \u6703\u5728\u65C1\u908A\u63D0\u51FA\u5EFA\u8B70\uFF0C\u7531\u4F60\u6C7A\u5B9A\u63A1\u7528\u8207\u5426\u3002":["\u5728\u5BF9\u8BDD\u91CC\u8BF7 AI \u6253\u5F00\u4E00\u5219 Dinox \u7B14\u8BB0\uFF0C\u6216\u76F4\u63A5\u4ECE\u8FD9\u91CC\u627E\u3002\u4F60\u7F16\u8F91\u65F6\uFF0CAI \u4F1A\u5728\u65C1\u8FB9\u63D0\u51FA\u5EFA\u8BAE\uFF0C\u7531\u4F60\u51B3\u5B9A\u662F\u5426\u91C7\u7528\u3002","Ask the AI in the chat to open a Dinox note, or find one here. While you edit, the AI suggests changes beside you, and you decide what to keep."],\u641C\u5C0B\u7B46\u8A18:["\u641C\u7D22\u7B14\u8BB0","Search notes"],"\u641C\u5C0B\u7B46\u8A18\u2026":["\u641C\u7D22\u7B14\u8BB0\u2026","Search notes\u2026"],\u6700\u8FD1\u7684\u7B46\u8A18:["\u6700\u8FD1\u7684\u7B14\u8BB0","Recent notes"],\u627E\u4E0D\u5230\u7B26\u5408\u7684\u7B46\u8A18:["\u627E\u4E0D\u5230\u7B26\u5408\u7684\u7B14\u8BB0","No matching notes"],\u9084\u6C92\u6709\u7B46\u8A18:["\u8FD8\u6CA1\u6709\u7B14\u8BB0","No notes yet"],\u641C\u5C0B\u7D50\u679C:["\u641C\u7D22\u7ED3\u679C","Results"],\u6700\u8FD1:["\u6700\u8FD1","Recent"],\u7B46\u8A18\u5167\u5BB9:["\u7B14\u8BB0\u5185\u5BB9","Note content"],\u6D3B\u52D5\u7D00\u9304:["\u6D3B\u52A8\u8BB0\u5F55","Activity"],\u9084\u6C92\u6709\u6D3B\u52D5:["\u8FD8\u6CA1\u6709\u6D3B\u52A8","No activity yet"],\u95DC\u9589:["\u5173\u95ED","Close"],"\u8907\u88FD Markdown":["\u590D\u5236 Markdown","Copy Markdown"],"\u5DF2\u8907\u88FD Markdown":["\u5DF2\u590D\u5236 Markdown","Copied Markdown"],\u7121\u6CD5\u5B58\u53D6\u526A\u8CBC\u7C3F:["\u65E0\u6CD5\u8BBF\u95EE\u526A\u8D34\u677F","Cannot access the clipboard"],\u91CD\u65B0\u8F09\u5165:["\u91CD\u65B0\u52A0\u8F7D","Reload"],\u5168\u90E8\u7565\u904E:["\u5168\u90E8\u5FFD\u7565","Dismiss all"],\u5168\u90E8\u63A5\u53D7:["\u5168\u90E8\u63A5\u53D7","Accept all"],\u5168\u90E8\u6E05\u9664:["\u5168\u90E8\u6E05\u9664","Clear all"],"AI \u5EFA\u8B70":["AI \u5EFA\u8BAE","AI suggestions"],"AI \u8A3B\u89E3":["AI \u6CE8\u89E3","AI comments"],"AI \u5EFA\u8B70\u65B0\u589E":["AI \u5EFA\u8BAE\u65B0\u589E","AI suggests adding"],"\u4E0A\u4E00\u5247\uFF08Alt+[\uFF09":["\u4E0A\u4E00\u5219\uFF08Alt+[\uFF09","Previous (Alt+[)"],"\u4E0B\u4E00\u5247\uFF08Alt+]\uFF09":["\u4E0B\u4E00\u5219\uFF08Alt+]\uFF09","Next (Alt+])"],\u7565\u904E:["\u5FFD\u7565","Dismiss"],\u63A5\u53D7:["\u63A5\u53D7","Accept"],\u63D2\u5165:["\u63D2\u5165","Insert"],\u522A\u9664:["\u5220\u9664","Delete"],\u8907\u88FD:["\u590D\u5236","Copy"],\u5DF2\u8907\u88FD:["\u5DF2\u590D\u5236","Copied"],\u7D14\u6587\u5B57:["\u7EAF\u6587\u672C","Plain Text"],\u7A0B\u5F0F\u8A9E\u8A00:["\u7F16\u7A0B\u8BED\u8A00","Language"],\u7A0B\u5F0F\u78BC\u8A2D\u5B9A:["\u4EE3\u7801\u8BBE\u7F6E","Code settings"],\u884C\u865F:["\u884C\u53F7","Line numbers"],\u81EA\u52D5\u63DB\u884C:["\u81EA\u52A8\u6362\u884C","Wrap lines"],\u9078\u53D6\u7A0B\u5F0F\u78BC:["\u9009\u62E9\u4EE3\u7801","Select code"],\u66AB\u7DE9:["\u6682\u7F13","Backlog"],\u9032\u884C\u4E2D:["\u8FDB\u884C\u4E2D","In progress"],\u5DF2\u53D6\u6D88:["\u5DF2\u53D6\u6D88","Cancelled"],\u5EFA\u8B70\u6539\u5BEB:["\u5EFA\u8BAE\u6539\u5199","Suggested rewrite"],\u5EFA\u8B70\u522A\u9664:["\u5EFA\u8BAE\u5220\u9664","Suggested deletion"],"\u8ACB AI \u4FEE\u6539":["\u8BF7 AI \u4FEE\u6539","Ask AI to apply"],"{n} \u5247":["{n} \u6761","{n}"],"{n} \u5247\u5DF2\u5931\u6548":["{n} \u6761\u5DF2\u5931\u6548","{n} outdated"],"\u539F\u6587\u5DF2\u88AB\u4FEE\u6539\uFF0C\u9019\u4E9B\u5EFA\u8B70\u7121\u6CD5\u5957\u7528":["\u539F\u6587\u5DF2\u88AB\u4FEE\u6539\uFF0C\u8FD9\u4E9B\u5EFA\u8BAE\u65E0\u6CD5\u5E94\u7528","The text changed, so these suggestions no longer apply"],"\u539F\u6587\u5DF2\u88AB\u4FEE\u6539\uFF0C\u9019\u5247\u5EFA\u8B70\u7121\u6CD5\u5957\u7528":["\u539F\u6587\u5DF2\u88AB\u4FEE\u6539\uFF0C\u8FD9\u6761\u5EFA\u8BAE\u65E0\u6CD5\u5E94\u7528","The text changed, so this suggestion no longer applies"],"AI \u7559\u4E0B\u4E86 {n} \u5247\u8A3B\u89E3":["AI \u7559\u4E0B\u4E86 {n} \u6761\u6CE8\u89E3","The AI left {n} comment(s)"],"AI \u7559\u4E0B\u4E86 {n} \u5247\u5EFA\u8B70":["AI \u7559\u4E0B\u4E86 {n} \u6761\u5EFA\u8BAE","The AI left {n} suggestion(s)"],\u6587\u5B57\u683C\u5F0F:["\u6587\u5B57\u683C\u5F0F","Text formatting"],"\u7C97\u9AD4\uFF08{key}\uFF09":["\u7C97\u4F53\uFF08{key}\uFF09","Bold ({key})"],"\u659C\u9AD4\uFF08{key}\uFF09":["\u659C\u4F53\uFF08{key}\uFF09","Italic ({key})"],"\u5E95\u7DDA\uFF08{key}\uFF09":["\u4E0B\u5212\u7EBF\uFF08{key}\uFF09","Underline ({key})"],\u522A\u9664\u7DDA:["\u5220\u9664\u7EBF","Strikethrough"],\u884C\u5167\u7A0B\u5F0F\u78BC:["\u884C\u5185\u4EE3\u7801","Inline code"],\u9192\u76EE\u6A19\u793A:["\u9AD8\u4EAE","Highlight"],"\u9023\u7D50\uFF08{key}\uFF09":["\u94FE\u63A5\uFF08{key}\uFF09","Link ({key})"],"\u8CBC\u4E0A\u9023\u7D50\u2026":["\u7C98\u8D34\u94FE\u63A5\u2026","Paste a link\u2026"],\u9023\u7D50\u7DB2\u5740:["\u94FE\u63A5\u7F51\u5740","Link URL"],"\u53EA\u652F\u63F4 http\u3001https \u6216 mailto \u9023\u7D50":["\u53EA\u652F\u6301 http\u3001https \u6216 mailto \u94FE\u63A5","Only http, https, or mailto links are supported"],\u958B\u555F\u9023\u7D50:["\u6253\u5F00\u94FE\u63A5","Open link"],"\u554F AI":["\u95EE AI","Ask AI"],"\u554F AI\uFF08{key}\uFF09":["\u95EE AI\uFF08{key}\uFF09","Ask AI ({key})"],"\u8B93 AI \u7DE8\u8F2F\u6216\u64B0\u5BEB\u2026":["\u8BA9 AI \u7F16\u8F91\u6216\u64B0\u5199\u2026","Ask AI to edit or write\u2026"],"\u8B93 AI \u7DE8\u8F2F\u9019\u6BB5\u2026":["\u8BA9 AI \u7F16\u8F91\u8FD9\u6BB5\u2026","Ask AI to edit this\u2026"],"\u60F3\u5728\u9019\u88E1\u52A0\u4EC0\u9EBC\uFF1F\u544A\u8A34 AI\u2026":["\u60F3\u5728\u8FD9\u91CC\u52A0\u4EC0\u4E48\uFF1F\u544A\u8BC9 AI\u2026","What should go here? Tell the AI\u2026"],"\u8ACB AI \u64B0\u5BEB\u2026":["\u8BF7 AI \u64B0\u5199\u2026","Ask AI to write\u2026"],"\u8ACB AI \u64B0\u5BEB":["\u8BF7 AI \u64B0\u5199","Ask AI to write"],"\u8ACB AI \u5E6B\u5FD9":["\u8BF7 AI \u5E2E\u5FD9","Ask AI"],\u9001\u51FA:["\u53D1\u9001","Send"],"\u8ACB AI \u5728\u6E38\u6A19\u8655\u64B0\u5BEB":["\u8BF7 AI \u5728\u5149\u6807\u5904\u64B0\u5199","Ask AI to write at the cursor"],"\u5728\u9019\u88E1\u8ACB AI":["\u5728\u8FD9\u91CC\u8BF7 AI","Ask AI here"],"\u7121\u6CD5\u50B3\u9001\u7D66 AI\uFF1A{error}":["\u65E0\u6CD5\u53D1\u9001\u7ED9 AI\uFF1A{error}","Could not send to the AI: {error}"],"\u5DF2\u4EA4\u7D66 AI\uFF0C\u5EFA\u8B70\u6703\u76F4\u63A5\u51FA\u73FE\u5728\u7B46\u8A18\u88E1":["\u5DF2\u4EA4\u7ED9 AI\uFF0C\u5EFA\u8BAE\u4F1A\u76F4\u63A5\u51FA\u73B0\u5728\u7B14\u8BB0\u91CC","Sent to the AI. Suggestions will appear right in the note"],\u8A62\u554F:["\u8BE2\u95EE","Ask"],\u5BE9\u95B1:["\u5BA1\u9605","Review"],\u4FEE\u6539\u9078\u53D6\u6587\u5B57:["\u4FEE\u6539\u9009\u4E2D\u6587\u5B57","Edit selection"],\u5728\u6E38\u6A19\u8655:["\u5728\u5149\u6807\u5904","At the cursor"],\u5F9E\u9019\u88E1\u63A5\u8457\u5BEB:["\u4ECE\u8FD9\u91CC\u63A5\u7740\u5199","Continue from here"],\u5F9E\u9019\u88E1\u63A5\u8457\u5F80\u4E0B\u5BEB:["\u4ECE\u8FD9\u91CC\u63A5\u7740\u5F80\u4E0B\u5199","Continue writing from here"],\u88DC\u4E00\u500B\u4F8B\u5B50:["\u8865\u4E00\u4E2A\u4F8B\u5B50","Add an example"],\u5728\u9019\u88E1\u88DC\u4E00\u500B\u5177\u9AD4\u7684\u4F8B\u5B50:["\u5728\u8FD9\u91CC\u8865\u4E00\u4E2A\u5177\u4F53\u7684\u4F8B\u5B50","Add a concrete example here"],\u88DC\u4E0A\u929C\u63A5\u53E5:["\u8865\u4E0A\u8854\u63A5\u53E5","Add a transition"],"\u5728\u9019\u88E1\u88DC\u4E00\u53E5\u8A71\uFF0C\u8B93\u524D\u5F8C\u6587\u929C\u63A5\u5F97\u66F4\u81EA\u7136":["\u5728\u8FD9\u91CC\u8865\u4E00\u53E5\u8BDD\uFF0C\u8BA9\u524D\u540E\u6587\u8854\u63A5\u5F97\u66F4\u81EA\u7136","Add a sentence here so the text flows more naturally"],\u88DC\u5145\u7D30\u7BC0:["\u8865\u5145\u7EC6\u8282","Add detail"],\u5728\u9019\u88E1\u88DC\u5145\u66F4\u591A\u7D30\u7BC0:["\u5728\u8FD9\u91CC\u8865\u5145\u66F4\u591A\u7EC6\u8282","Add more detail here"],\u63A5\u8457\u5BEB:["\u63A5\u7740\u5199","Continue writing"],\u63A5\u8457\u76EE\u524D\u7684\u5167\u5BB9\u5F80\u4E0B\u5BEB\u4E00\u6BB5:["\u63A5\u7740\u76EE\u524D\u7684\u5185\u5BB9\u5F80\u4E0B\u5199\u4E00\u6BB5","Write the next paragraph after the current content"],\u63A5\u8457\u9019\u6BB5\u5F80\u4E0B\u5BEB:["\u63A5\u7740\u8FD9\u6BB5\u5F80\u4E0B\u5199","Continue writing after this"],\u5BEB\u6458\u8981:["\u5199\u6458\u8981","Summarize"],\u70BA\u9019\u5247\u7B46\u8A18\u5BEB\u4E00\u6BB5\u6458\u8981:["\u4E3A\u8FD9\u5219\u7B14\u8BB0\u5199\u4E00\u6BB5\u6458\u8981","Write a summary of this note"],\u5217\u51FA\u91CD\u9EDE:["\u5217\u51FA\u8981\u70B9","List key points"],\u628A\u9019\u5247\u7B46\u8A18\u7684\u91CD\u9EDE\u6574\u7406\u6210\u689D\u5217:["\u628A\u8FD9\u5219\u7B14\u8BB0\u7684\u8981\u70B9\u6574\u7406\u6210\u5217\u8868","List the key points of this note"],\u6574\u7406\u5F85\u8FA6\u4E8B\u9805:["\u6574\u7406\u5F85\u529E\u4E8B\u9879","Extract to-dos"],\u5F9E\u9019\u5247\u7B46\u8A18\u6574\u7406\u51FA\u5F85\u8FA6\u4E8B\u9805\u6E05\u55AE:["\u4ECE\u8FD9\u5219\u7B14\u8BB0\u6574\u7406\u51FA\u5F85\u529E\u4E8B\u9879\u6E05\u5355","Make a to-do list from this note"],\u8166\u529B\u6FC0\u76EA:["\u5934\u8111\u98CE\u66B4","Brainstorm"],\u91DD\u5C0D\u9019\u5247\u7B46\u8A18\u7684\u4E3B\u984C\u63D0\u51FA\u5E7E\u500B\u65B0\u60F3\u6CD5:["\u9488\u5BF9\u8FD9\u5219\u7B14\u8BB0\u7684\u4E3B\u9898\u63D0\u51FA\u51E0\u4E2A\u65B0\u60F3\u6CD5","Suggest a few new ideas on the topic of this note"],\u6539\u5584\u5BEB\u4F5C:["\u6539\u5584\u5199\u4F5C","Improve writing"],\u5E6B\u6211\u6539\u5584\u9019\u6BB5\u6587\u5B57\u7684\u5BEB\u6CD5:["\u5E2E\u6211\u6539\u5584\u8FD9\u6BB5\u6587\u5B57\u7684\u5199\u6CD5","Improve the writing of this passage"],\u4FEE\u6B63\u62FC\u5BEB\u8207\u6587\u6CD5:["\u4FEE\u6B63\u62FC\u5199\u4E0E\u8BED\u6CD5","Fix spelling & grammar"],\u5E6B\u6211\u4FEE\u6B63\u9019\u6BB5\u6587\u5B57\u7684\u932F\u5B57\u8207\u6587\u6CD5:["\u5E2E\u6211\u4FEE\u6B63\u8FD9\u6BB5\u6587\u5B57\u7684\u9519\u5B57\u4E0E\u8BED\u6CD5","Fix the spelling and grammar of this passage"],\u7CBE\u7C21:["\u7CBE\u7B80","Make shorter"],\u5E6B\u6211\u628A\u9019\u6BB5\u5BEB\u5F97\u66F4\u7CBE\u7C21:["\u5E2E\u6211\u628A\u8FD9\u6BB5\u5199\u5F97\u66F4\u7CBE\u7B80","Make this passage more concise"],\u64F4\u5BEB:["\u6269\u5199","Make longer"],\u5E6B\u6211\u628A\u9019\u6BB5\u5BEB\u5F97\u66F4\u5B8C\u6574:["\u5E2E\u6211\u628A\u8FD9\u6BB5\u5199\u5F97\u66F4\u5B8C\u6574","Expand this passage"],\u7FFB\u8B6F\u6210\u82F1\u6587:["\u7FFB\u8BD1\u6210\u82F1\u6587","Translate to Chinese"],\u5E6B\u6211\u628A\u9019\u6BB5\u7FFB\u8B6F\u6210\u82F1\u6587:["\u5E2E\u6211\u628A\u8FD9\u6BB5\u7FFB\u8BD1\u6210\u82F1\u6587","Translate this passage into Chinese"],\u6A19\u8A3B\u4FEE\u6539\u5EFA\u8B70:["\u6807\u6CE8\u4FEE\u6539\u5EFA\u8BAE","Comment with suggestions"],"\u5E6B\u6211\u770B\u770B\u9019\u6BB5\u54EA\u4E9B\u8A5E\u3001\u53E5\u5B50\u6216\u6BB5\u843D\u53EF\u4EE5\u6539\u9032":["\u5E2E\u6211\u770B\u770B\u8FD9\u6BB5\u54EA\u4E9B\u8BCD\u3001\u53E5\u5B50\u6216\u6BB5\u843D\u53EF\u4EE5\u6539\u8FDB","Point out which words, sentences, or paragraphs here could be improved"],\u89E3\u91CB:["\u89E3\u91CA","Explain"],\u89E3\u91CB\u9019\u6BB5\u5728\u8AAA\u4EC0\u9EBC:["\u89E3\u91CA\u8FD9\u6BB5\u5728\u8BF4\u4EC0\u4E48","Explain what this passage says"],"{ask}\uFF08\u300C{title}\u300D\uFF09":["{ask}\uFF08\u300C{title}\u300D\uFF09",'{ask} ("{title}")'],"{ask}\uFF08\u300C{title}\u300D\uFF09\uFF1A":["{ask}\uFF08\u300C{title}\u300D\uFF09\uFF1A",'{ask} ("{title}"):'],"\u8ACB\u7528 dinox_editor_read\uFF08focus: true\uFF09\u8B80\u53D6\u6211\u9078\u53D6\u7684\u5340\u584A\uFF0C\u518D\u7528 dinox_editor_suggest \u5C0D\u90A3\u4E9B\u5340\u584A\u63D0\u51FA\u4FEE\u6539\uFF0C\u6211\u6703\u5728\u7B46\u8A18\u88E1\u78BA\u8A8D\u3002":["\u8BF7\u7528 dinox_editor_read\uFF08focus: true\uFF09\u8BFB\u53D6\u6211\u9009\u4E2D\u7684\u533A\u5757\uFF0C\u518D\u7528 dinox_editor_suggest \u5BF9\u90A3\u4E9B\u533A\u5757\u63D0\u51FA\u4FEE\u6539\uFF0C\u6211\u4F1A\u5728\u7B14\u8BB0\u91CC\u786E\u8BA4\u3002","Read my selected blocks with dinox_editor_read (focus: true), then propose edits to them with dinox_editor_suggest. I will review them in the note."],"\u8ACB\u7528 dinox_editor_read\uFF08focus: true\uFF09\u8B80\u53D6\u6211\u6E38\u6A19\u6240\u5728\u7684\u5340\u584A\uFF0C\u518D\u7528 dinox_editor_suggest \u628A\u5167\u5BB9\u52A0\u5728\u90A3\u500B\u5340\u584A\u4E4B\u5F8C\uFF0C\u6211\u6703\u5728\u7B46\u8A18\u88E1\u78BA\u8A8D\u3002":["\u8BF7\u7528 dinox_editor_read\uFF08focus: true\uFF09\u8BFB\u53D6\u6211\u5149\u6807\u6240\u5728\u7684\u533A\u5757\uFF0C\u518D\u7528 dinox_editor_suggest \u628A\u5185\u5BB9\u52A0\u5728\u90A3\u4E2A\u533A\u5757\u4E4B\u540E\uFF0C\u6211\u4F1A\u5728\u7B14\u8BB0\u91CC\u786E\u8BA4\u3002","Read the block with my cursor with dinox_editor_read (focus: true), then add the content after it with dinox_editor_suggest. I will review it in the note."],"\u8ACB\u7528 dinox_editor_read \u8B80\u53D6\u7B46\u8A18\uFF0C\u518D\u7528 dinox_editor_suggest \u4EE5 comment \u5728\u9700\u8981\u6539\u9032\u7684\u8A5E\u53E5\u6216\u6BB5\u843D\u4E0A\u6A19\u8A3B\u5EFA\u8B70\uFF08\u4E0D\u8981\u76F4\u63A5\u4FEE\u6539\uFF09\uFF0C\u6211\u6703\u9010\u4E00\u770B\u904E\u3002":["\u8BF7\u7528 dinox_editor_read \u8BFB\u53D6\u7B14\u8BB0\uFF0C\u518D\u7528 dinox_editor_suggest \u4EE5 comment \u5728\u9700\u8981\u6539\u8FDB\u7684\u8BCD\u53E5\u6216\u6BB5\u843D\u4E0A\u6807\u6CE8\u5EFA\u8BAE\uFF08\u4E0D\u8981\u76F4\u63A5\u4FEE\u6539\uFF09\uFF0C\u6211\u4F1A\u9010\u4E00\u770B\u8FC7\u3002","Read the note with dinox_editor_read, then use dinox_editor_suggest with comment to annotate the words or paragraphs that could be better (do not edit them). I will go through each one."],"\u76F4\u63A5\u5728\u5C0D\u8A71\u88E1\u56DE\u7B54\u5C31\u597D\uFF0C\u4E0D\u7528\u4FEE\u6539\u7B46\u8A18\u3002":["\u76F4\u63A5\u5728\u5BF9\u8BDD\u91CC\u56DE\u7B54\u5C31\u597D\uFF0C\u4E0D\u7528\u4FEE\u6539\u7B14\u8BB0\u3002","Just answer in the chat; do not change the note."],"\u5BEB\u5728\u9019\u6BB5\u4E4B\u5F8C\uFF1A":["\u5199\u5728\u8FD9\u6BB5\u4E4B\u540E\uFF1A","Write it after this passage:"],"\u5BEB\u5728\u7B46\u8A18\u6700\u5F8C\u3002":["\u5199\u5728\u7B14\u8BB0\u6700\u540E\u3002","Write it at the end of the note."],"\u5E6B\u6211\u5BE9\u95B1\u300C{title}\u300D\uFF0C\u6A19\u51FA\u54EA\u4E9B\u8A5E\u3001\u53E5\u5B50\u6216\u6BB5\u843D\u53EF\u4EE5\u5BEB\u5F97\u66F4\u597D\uFF0C\u4E26\u8AAA\u660E\u600E\u9EBC\u6539\u3002":["\u5E2E\u6211\u5BA1\u9605\u300C{title}\u300D\uFF0C\u6807\u51FA\u54EA\u4E9B\u8BCD\u3001\u53E5\u5B50\u6216\u6BB5\u843D\u53EF\u4EE5\u5199\u5F97\u66F4\u597D\uFF0C\u5E76\u8BF4\u660E\u600E\u4E48\u6539\u3002",'Review "{title}": mark the words, sentences, or paragraphs that could be written better, and explain how.'],"\uFF08\u5340\u584A {block}\uFF09":["\uFF08\u533A\u5757 {block}\uFF09"," (block {block})"],"\u8ACB\u7528 dinox_editor_suggest \u5C0D {block} \u63D0\u51FA\u4FEE\u6539\uFF08\u9700\u8981\u6642\u5148\u7528 dinox_editor_read \u8B80\u53D6\uFF09\uFF0C\u6211\u6703\u5728\u7B46\u8A18\u88E1\u78BA\u8A8D\u3002":["\u8BF7\u7528 dinox_editor_suggest \u5BF9 {block} \u63D0\u51FA\u4FEE\u6539\uFF08\u9700\u8981\u65F6\u5148\u7528 dinox_editor_read \u8BFB\u53D6\uFF09\uFF0C\u6211\u4F1A\u5728\u7B14\u8BB0\u91CC\u786E\u8BA4\u3002","Propose an edit to {block} with dinox_editor_suggest (read it with dinox_editor_read first if needed). I will review it in the note."],"\u8ACB\u4F9D\u7167\u4F60\u5728\u300C{title}\u300D{where}\u7684\u8A3B\u89E3\u4FEE\u6539\u9019\u6BB5\uFF1A":["\u8BF7\u6309\u7167\u4F60\u5728\u300C{title}\u300D{where}\u7684\u6CE8\u89E3\u4FEE\u6539\u8FD9\u6BB5\uFF1A",'Revise this passage following your comment in "{title}"{where}:'],"\u8A3B\u89E3\uFF1A":["\u6CE8\u89E3\uFF1A","Comment: "],"\u5BEB\u5728\u6211\u6E38\u6A19\u6240\u5728\u7684\u4F4D\u7F6E\uFF1A":["\u5199\u5728\u6211\u5149\u6807\u6240\u5728\u7684\u4F4D\u7F6E\uFF1A","Write it where my cursor is:"],"\u6E38\u6A19\u524D\uFF1A":["\u5149\u6807\u524D\uFF1A","Before the cursor:"],"\u6E38\u6A19\u5F8C\uFF1A":["\u5149\u6807\u540E\uFF1A","After the cursor:"],"\u8ACB\u7528 dinox_editor_read\uFF08focus: true\uFF09\u8B80\u53D6\u6E38\u6A19\u6240\u5728\u7684\u5340\u584A\u3002\u8981\u5728\u53E5\u4E2D\u88DC\u5B57\u5C31\u7528 dinox_editor_suggest \u5C0D\u90A3\u500B\u5340\u584A\u505A {block, find, replace}\uFF08\u628A\u6E38\u6A19\u524D\u5F8C\u7684\u5B57\u4E00\u8D77\u6539\u5BEB\uFF09\uFF1B\u8981\u65B0\u589E\u6BB5\u843D\u5C31\u7528 {after: \u8A72\u5340\u584A, markdown}\u3002\u6211\u6703\u5728\u7B46\u8A18\u88E1\u78BA\u8A8D\u3002":["\u8BF7\u7528 dinox_editor_read\uFF08focus: true\uFF09\u8BFB\u53D6\u5149\u6807\u6240\u5728\u7684\u533A\u5757\u3002\u8981\u5728\u53E5\u4E2D\u8865\u5B57\u5C31\u7528 dinox_editor_suggest \u5BF9\u90A3\u4E2A\u533A\u5757\u505A {block, find, replace}\uFF08\u628A\u5149\u6807\u524D\u540E\u7684\u5B57\u4E00\u8D77\u6539\u5199\uFF09\uFF1B\u8981\u65B0\u589E\u6BB5\u843D\u5C31\u7528 {after: \u8BE5\u533A\u5757, markdown}\u3002\u6211\u4F1A\u5728\u7B14\u8BB0\u91CC\u786E\u8BA4\u3002","Read the block with the cursor with dinox_editor_read (focus: true). To add words mid-sentence, use dinox_editor_suggest with {block, find, replace} on that block (rewrite the text around the cursor together); to add a paragraph, use {after: that block, markdown}. I will review it in the note."],"\u4F7F\u7528\u8005\u6B63\u5728 Dinox \u7DE8\u8F2F\u5668\u4E2D\u770B\u300C{title}\u300D\uFF08note id: {id}\uFF09\u3002":["\u7528\u6237\u6B63\u5728 Dinox \u7F16\u8F91\u5668\u4E2D\u770B\u300C{title}\u300D\uFF08note id: {id}\uFF09\u3002",'The user is viewing "{title}" in the Dinox editor (note id: {id}).'],"\u4ED6\u9078\u53D6\u4E86\uFF1A":["\u4ED6\u9009\u4E2D\u4E86\uFF1A","They selected:"],"\u958B\u59CB\u66F8\u5BEB\uFF0C\u6216\u6309\u7A7A\u767D\u9375\u8ACB AI \u64B0\u5BEB\u2026":["\u5F00\u59CB\u4E66\u5199\uFF0C\u6216\u6309\u7A7A\u683C\u952E\u8BF7 AI \u64B0\u5199\u2026","Start writing, or press Space to ask AI\u2026"],"\u8F38\u5165\u300C/\u300D\u63D2\u5165\u5340\u584A\uFF0C\u6309\u7A7A\u767D\u9375\u8ACB AI \u64B0\u5BEB":["\u8F93\u5165\u300C/\u300D\u63D2\u5165\u533A\u5757\uFF0C\u6309\u7A7A\u683C\u952E\u8BF7 AI \u64B0\u5199",'Type "/" for blocks, Space to ask AI'],\u7A7A\u767D\u9375:["\u7A7A\u683C\u952E","Space"],\u6587\u5B57:["\u6587\u672C","Text"],\u57FA\u672C\u5340\u584A:["\u57FA\u672C\u533A\u5757","Basic blocks"],"\u6A19\u984C 1":["\u6807\u9898 1","Heading 1"],"\u6A19\u984C 2":["\u6807\u9898 2","Heading 2"],"\u6A19\u984C 3":["\u6807\u9898 3","Heading 3"],\u5F85\u8FA6\u6E05\u55AE:["\u5F85\u529E\u6E05\u5355","To-do list"],\u9805\u76EE\u7B26\u865F\u6E05\u55AE:["\u9879\u76EE\u7B26\u53F7\u5217\u8868","Bulleted list"],\u7DE8\u865F\u6E05\u55AE:["\u7F16\u53F7\u5217\u8868","Numbered list"],\u5F15\u7528:["\u5F15\u7528","Quote"],\u7A0B\u5F0F\u78BC:["\u4EE3\u7801","Code"],\u5206\u9694\u7DDA:["\u5206\u9694\u7EBF","Divider"],"\u5132\u5B58\u5931\u6557\uFF1A{error}":["\u4FDD\u5B58\u5931\u8D25\uFF1A{error}","Save failed: {error}"],"\u9019\u5247\u7B46\u8A18\u542B\u6709\u7DE8\u8F2F\u5668\u9084\u4E0D\u652F\u63F4\u7684\u5167\u5BB9\u3002\u70BA\u4E86\u4E0D\u640D\u58DE\u5B83\uFF0C\u76EE\u524D\u53EA\u80FD\u6AA2\u8996\u3002":["\u8FD9\u5219\u7B14\u8BB0\u542B\u6709\u7F16\u8F91\u5668\u8FD8\u4E0D\u652F\u6301\u7684\u5185\u5BB9\u3002\u4E3A\u4E86\u4E0D\u635F\u574F\u5B83\uFF0C\u76EE\u524D\u53EA\u80FD\u67E5\u770B\u3002","This note has content the editor does not support yet. To keep it intact, it is view-only for now."],"\u552F\u8B80\u958B\u555F\uFF1A{list}":["\u53EA\u8BFB\u6253\u5F00\uFF1A{list}","Opened read-only: {list}"],"\u9019\u5247\u7B46\u8A18\u7121\u6CD5\u5728\u7DE8\u8F2F\u5668\u4E2D\u958B\u555F\uFF0C\u76EE\u524D\u53EA\u80FD\u6AA2\u8996\u3002\uFF08{error}\uFF09":["\u8FD9\u5219\u7B14\u8BB0\u65E0\u6CD5\u5728\u7F16\u8F91\u5668\u4E2D\u6253\u5F00\uFF0C\u76EE\u524D\u53EA\u80FD\u67E5\u770B\u3002\uFF08{error}\uFF09","This note cannot be opened in the editor, so it is view-only for now. ({error})"],\u5DF2\u540C\u6B65\u5225\u8655\u7684\u4FEE\u6539:["\u5DF2\u540C\u6B65\u522B\u5904\u7684\u4FEE\u6539","Synced changes made elsewhere"],"\u9019\u5247\u7B46\u8A18\u5728\u5225\u8655\u88AB\u4FEE\u6539\u4E86\uFF0C\u548C\u4F60\u5C1A\u672A\u5132\u5B58\u7684\u5167\u5BB9\u885D\u7A81\u3002":["\u8FD9\u5219\u7B14\u8BB0\u5728\u522B\u5904\u88AB\u4FEE\u6539\u4E86\uFF0C\u548C\u4F60\u5C1A\u672A\u4FDD\u5B58\u7684\u5185\u5BB9\u51B2\u7A81\u3002","This note changed elsewhere and conflicts with your unsaved edits."],\u8F09\u5165\u6700\u65B0\u7248\u672C:["\u52A0\u8F7D\u6700\u65B0\u7248\u672C","Load latest version"],\u4FDD\u7559\u6211\u7684\u7248\u672C:["\u4FDD\u7559\u6211\u7684\u7248\u672C","Keep my version"],"\u7121\u6CD5\u8907\u88FD\u4F60\u76EE\u524D\u7684\u5167\u5BB9\u5230\u526A\u8CBC\u7C3F\u3002\u4ECD\u8981\u6368\u68C4\u4E26\u8F09\u5165\u6700\u65B0\u7248\u672C\u55CE\uFF1F":["\u65E0\u6CD5\u590D\u5236\u4F60\u76EE\u524D\u7684\u5185\u5BB9\u5230\u526A\u8D34\u677F\u3002\u4ECD\u8981\u820D\u5F03\u5E76\u52A0\u8F7D\u6700\u65B0\u7248\u672C\u5417\uFF1F","Your current content could not be copied to the clipboard. Discard it and load the latest version anyway?"],"\u5DF2\u8F09\u5165\u6700\u65B0\u7248\u672C\uFF0C\u4F60\u7684\u5167\u5BB9\u5DF2\u8907\u88FD\u5230\u526A\u8CBC\u7C3F":["\u5DF2\u52A0\u8F7D\u6700\u65B0\u7248\u672C\uFF0C\u4F60\u7684\u5185\u5BB9\u5DF2\u590D\u5236\u5230\u526A\u8D34\u677F","Loaded the latest version. Your content was copied to the clipboard"],"AI \u60F3\u958B\u555F\u300C{title}\u300D\uFF0C\u8ACB\u5148\u8655\u7406\u76EE\u524D\u672A\u5132\u5B58\u7684\u4FEE\u6539\u3002":["AI \u60F3\u6253\u5F00\u300C{title}\u300D\uFF0C\u8BF7\u5148\u5904\u7406\u76EE\u524D\u672A\u4FDD\u5B58\u7684\u4FEE\u6539\u3002",'The AI wants to open "{title}". Deal with your unsaved changes first.'],\u8ACB\u5148\u8655\u7406\u76EE\u524D\u672A\u5132\u5B58\u7684\u4FEE\u6539:["\u8BF7\u5148\u5904\u7406\u76EE\u524D\u672A\u4FDD\u5B58\u7684\u4FEE\u6539","Deal with your unsaved changes first"],\u6A19\u984C:["\u6807\u9898","Title"],\u641C\u5C0B:["\u641C\u7D22","Search"],"{n} \u500B\u6A94\u6848":["{n} \u4E2A\u6587\u4EF6","{n} file(s)"],"{n} \u5247\u95DC\u806F":["{n} \u6761\u5173\u8054","{n} relation(s)"],\u5730\u9EDE:["\u5730\u70B9","Place"],"{what}\u6C92\u6709\u5B58\u6210\u529F\uFF1A{error}":["{what}\u6CA1\u6709\u4FDD\u5B58\u6210\u529F\uFF1A{error}","Could not save {what}: {error}"],"\u6587\u4EF6\u5939\uFF1A{box}\uFF08\u9EDE\u64CA\u66F4\u63DB\uFF09":["\u6587\u4EF6\u5939\uFF1A{box}\uFF08\u70B9\u51FB\u66F4\u6362\uFF09","Folder: {box} (click to change)"],\u653E\u9032\u6587\u4EF6\u5939:["\u653E\u8FDB\u6587\u4EF6\u5939","Add to folder"],\u6587\u4EF6\u5939:["\u6587\u4EF6\u5939","Folder"],\u9078\u64C7\u6587\u4EF6\u5939:["\u9009\u62E9\u6587\u4EF6\u5939","Choose folder"],\u9078\u64C7\u6A19\u7C64:["\u9009\u62E9\u6807\u7B7E","Choose tags"],\u65B0\u589E\u6A19\u7C64:["\u6DFB\u52A0\u6807\u7B7E","Add tag"],\u65B0\u589E\u5C6C\u6027:["\u6DFB\u52A0\u5C5E\u6027","Add property"],"\u79FB\u9664 #{tag}":["\u79FB\u9664 #{tag}","Remove #{tag}"],\u6A19\u7C64:["\u6807\u7B7E","Tags"],\u5C6C\u6027:["\u5C5E\u6027","Properties"],"\u5EFA\u7ACB\u65BC {time}":["\u521B\u5EFA\u4E8E {time}","Created {time}"],"\u6700\u5F8C\u7DE8\u8F2F {time}":["\u6700\u540E\u7F16\u8F91 {time}","Last edited {time}"],\u7A7A:["\u7A7A","Empty"],"\u9019\u7A2E\u5C6C\u6027\u8ACB\u5728 Dinox \u4E2D\u7DE8\u8F2F":["\u8FD9\u79CD\u5C5E\u6027\u8BF7\u5728 Dinox \u4E2D\u7F16\u8F91","Edit this kind of property in Dinox"],"\u9078\u64C7\u9078\u9805\u2026":["\u9009\u62E9\u9009\u9879\u2026","Choose options\u2026"],"\u9078\u64C7\u4E00\u500B\u9078\u9805\u2026":["\u9009\u62E9\u4E00\u4E2A\u9009\u9879\u2026","Choose an option\u2026"],"\u6C92\u6709\u9078\u9805\uFF0C\u8ACB\u5728 Dinox \u4E2D\u70BA\u9019\u500B\u5C6C\u6027\u52A0\u5165\u9078\u9805":["\u6CA1\u6709\u9009\u9879\uFF0C\u8BF7\u5728 Dinox \u4E2D\u4E3A\u8FD9\u4E2A\u5C5E\u6027\u6DFB\u52A0\u9009\u9879","No options. Add some to this property in Dinox"],\u6E05\u9664:["\u6E05\u9664","Clear"],\u6E05\u9664\u503C:["\u6E05\u9664\u503C","Clear value"],\u5F9E\u9019\u5247\u7B46\u8A18\u79FB\u9664:["\u4ECE\u8FD9\u5219\u7B14\u8BB0\u79FB\u9664","Remove from this note"],"\u9019\u5247\u7B46\u8A18\u7684\u5C6C\u6027\u8CC7\u6599\u7121\u6CD5\u8B80\u53D6\uFF0C\u8ACB\u5728 Dinox \u4E2D\u4FEE\u5FA9":["\u8FD9\u5219\u7B14\u8BB0\u7684\u5C5E\u6027\u6570\u636E\u65E0\u6CD5\u8BFB\u53D6\uFF0C\u8BF7\u5728 Dinox \u4E2D\u4FEE\u590D","This note's properties cannot be read. Fix them in Dinox"],"\u641C\u5C0B\u5C6C\u6027\u2026":["\u641C\u7D22\u5C5E\u6027\u2026","Search properties\u2026"],\u6C92\u6709\u7B26\u5408\u7684\u5C6C\u6027:["\u6CA1\u6709\u7B26\u5408\u7684\u5C5E\u6027","No matching properties"],"\u9084\u6C92\u6709\u5C6C\u6027\u3002\u8ACB\u5148\u5728 Dinox \u4E2D\u5EFA\u7ACB\u5C6C\u6027":["\u8FD8\u6CA1\u6709\u5C5E\u6027\u3002\u8BF7\u5148\u5728 Dinox \u4E2D\u521B\u5EFA\u5C5E\u6027","No properties yet. Create one in Dinox first"],"\u7121\u6CD5\u8F09\u5165\u5C6C\u6027\uFF1A{error}":["\u65E0\u6CD5\u52A0\u8F7D\u5C5E\u6027\uFF1A{error}","Could not load properties: {error}"],"\u641C\u5C0B\u6216\u5EFA\u7ACB\u6A19\u7C64\u2026":["\u641C\u7D22\u6216\u521B\u5EFA\u6807\u7B7E\u2026","Search or create a tag\u2026"],"\u5EFA\u7ACB\u300C#{name}\u300D":["\u521B\u5EFA\u300C#{name}\u300D",'Create "#{name}"'],"\u7121\u6CD5\u8F09\u5165\u6A19\u7C64\uFF1A{error}":["\u65E0\u6CD5\u52A0\u8F7D\u6807\u7B7E\uFF1A{error}","Could not load tags: {error}"],"\u641C\u5C0B\u6587\u4EF6\u5939\u2026":["\u641C\u7D22\u6587\u4EF6\u5939\u2026","Search folders\u2026"],\u6C92\u6709\u7B26\u5408\u7684\u6587\u4EF6\u5939:["\u6CA1\u6709\u7B26\u5408\u7684\u6587\u4EF6\u5939","No matching folders"],\u9084\u6C92\u6709\u6587\u4EF6\u5939:["\u8FD8\u6CA1\u6709\u6587\u4EF6\u5939","No folders yet"],\u79FB\u51FA\u6587\u4EF6\u5939:["\u79FB\u51FA\u6587\u4EF6\u5939","Remove from folder"],"\u7121\u6CD5\u8F09\u5165\u6587\u4EF6\u5939\uFF1A{error}":["\u65E0\u6CD5\u52A0\u8F7D\u6587\u4EF6\u5939\uFF1A{error}","Could not load folders: {error}"],\u6C92\u6709\u7B26\u5408\u7684\u9805\u76EE:["\u6CA1\u6709\u7B26\u5408\u7684\u9879\u76EE","No matches"],\u672A\u77E5\u6587\u4EF6\u5939:["\u672A\u77E5\u6587\u4EF6\u5939","Unknown folder"],\u5716\u8868\u8F38\u51FA\u542B\u6709\u4E0D\u5B89\u5168\u7684\u5167\u5BB9:["\u56FE\u8868\u8F93\u51FA\u542B\u6709\u4E0D\u5B89\u5168\u7684\u5185\u5BB9","The diagram output contains unsafe content"],"\u7121\u6CD5\u7E6A\u88FD\u9019\u5F35\u5716\u8868\uFF1A{error}":["\u65E0\u6CD5\u7ED8\u5236\u8FD9\u5F20\u56FE\u8868\uFF1A{error}","Could not draw this diagram: {error}"],"\u7A7A\u767D\u7684 Mermaid \u5716\u8868":["\u7A7A\u767D\u7684 Mermaid \u56FE\u8868","Empty Mermaid diagram"],\u7B46\u8A18:["\u7B14\u8BB0","Note"],\u4F4D\u7F6E:["\u4F4D\u7F6E","Location"],\u6642\u9593:["\u65F6\u95F4","Time"],\u5FC3\u667A\u5716:["\u601D\u7EF4\u5BFC\u56FE","Mind map"],\u97F3\u8A0A:["\u97F3\u9891","Audio"],\u97F3\u8A0A\u7247\u6BB5:["\u97F3\u9891\u7247\u6BB5","Audio clip"],\u5F71\u7247:["\u89C6\u9891","Video"],\u6A94\u6848:["\u6587\u4EF6","File"],\u5716\u7247:["\u56FE\u7247","Image"],\u7DB2\u9801\u66F8\u7C64:["\u7F51\u9875\u4E66\u7B7E","Web bookmark"],\u5167\u5D4C\u7DB2\u9801:["\u5185\u5D4C\u7F51\u9875","Embedded page"],"PDF \u8A3B\u8A18":["PDF \u6CE8\u91CA","PDF annotation"],\u647A\u758A\u5340\u584A:["\u6298\u53E0\u533A\u5757","Toggle block"],\u516C\u5F0F:["\u516C\u5F0F","Equation"],\u76EE\u9304:["\u76EE\u5F55","Table of contents"],\u5206\u6B04:["\u5206\u680F","Columns"],\u820A\u7248\u5340\u584A:["\u65E7\u7248\u533A\u5757","Legacy block"],"\u9019\u500B\u5340\u584A\u8ACB\u5728 Dinox \u4E2D\u7DE8\u8F2F\uFF1B\u5B58\u6A94\u6642\u6703\u539F\u6A23\u4FDD\u7559":["\u8FD9\u4E2A\u533A\u5757\u8BF7\u5728 Dinox \u4E2D\u7F16\u8F91\uFF1B\u4FDD\u5B58\u65F6\u4F1A\u539F\u6837\u4FDD\u7559","Edit this block in Dinox; it is kept as is when you save"],\u525B\u525B:["\u521A\u521A","just now"],"{n} \u5206\u9418\u524D":["{n} \u5206\u949F\u524D","{n} min ago"],"{n} \u5C0F\u6642\u524D":["{n} \u5C0F\u65F6\u524D","{n} h ago"],"Dinox \u7DE8\u8F2F\u5668\u6C92\u6709\u56DE\u61C9\uFF08HTTP {status}\uFF09":["Dinox \u7F16\u8F91\u5668\u6CA1\u6709\u54CD\u5E94\uFF08HTTP {status}\uFF09","The Dinox editor did not respond (HTTP {status})"],"Dinox \u7DE8\u8F2F\u5668\u56DE\u61C9\u903E\u6642":["Dinox \u7F16\u8F91\u5668\u54CD\u5E94\u8D85\u65F6","The Dinox editor timed out"],\u627E\u4E0D\u5230\u9019\u500B\u5C0D\u8A71:["\u627E\u4E0D\u5230\u8FD9\u4E2A\u5BF9\u8BDD","This conversation was not found"],"Dinox \u7B46\u8A18":["Dinox \u7B14\u8BB0","Dinox notes"],"\u548C AI \u4E00\u8D77\u7DE8\u8F2F Dinox \u7B46\u8A18\uFF1AAI \u63D0\u51FA\u5EFA\u8B70\uFF0C\u7531\u4F60\u63A5\u53D7\u5F8C\u81EA\u52D5\u5132\u5B58\u3002":["\u548C AI \u4E00\u8D77\u7F16\u8F91 Dinox \u7B14\u8BB0\uFF1AAI \u63D0\u51FA\u5EFA\u8BAE\uFF0C\u7531\u4F60\u63A5\u53D7\u540E\u81EA\u52A8\u4FDD\u5B58\u3002","Edit Dinox notes with the AI: it suggests, you accept, and the note saves itself."],"\u958B\u555F\u4E86\u300C{title}\u300D":["\u6253\u5F00\u4E86\u300C{title}\u300D",'Opened "{title}"'],\u6B63\u5728\u95B1\u8B80\u7B46\u8A18:["\u6B63\u5728\u9605\u8BFB\u7B14\u8BB0","Reading the note"],\u6B63\u5728\u770B\u4F60\u525B\u624D\u7684\u4FEE\u6539:["\u6B63\u5728\u770B\u4F60\u521A\u624D\u7684\u4FEE\u6539","Looking at your latest edits"],"\u63D0\u51FA\u4E86{list}":["\u63D0\u51FA\u4E86{list}","Suggested {list}"],"{n} \u8655\u4FEE\u6539":["{n} \u5904\u4FEE\u6539","{n} edit(s)"],"{n} \u6BB5\u65B0\u589E":["{n} \u6BB5\u65B0\u589E","{n} addition(s)"],"{n} \u5247\u8A3B\u89E3":["{n} \u6761\u6CE8\u89E3","{n} comment(s)"],\u9019\u5247\u7B46\u8A18\u5728\u5225\u8655\u88AB\u4FEE\u6539\u4E86:["\u8FD9\u5219\u7B14\u8BB0\u5728\u522B\u5904\u88AB\u4FEE\u6539\u4E86","This note changed elsewhere"],"\u63A1\u7D0D\u4E86 AI \u7684\u8A3B\u89E3":["\u91C7\u7EB3\u4E86 AI \u7684\u6CE8\u89E3","Took the AI's comment"],"\u7565\u904E\u4E86 AI \u7684\u8A3B\u89E3":["\u5FFD\u7565\u4E86 AI \u7684\u6CE8\u89E3","Dismissed the AI's comment"],"\u63A5\u53D7\u4E86 AI \u7684\u5EFA\u8B70":["\u63A5\u53D7\u4E86 AI \u7684\u5EFA\u8BAE","Accepted the AI's suggestion"],"\u7565\u904E\u4E86 AI \u7684\u5EFA\u8B70":["\u5FFD\u7565\u4E86 AI \u7684\u5EFA\u8BAE","Dismissed the AI's suggestion"],"\u5225\u8655\u6709\u65B0\u7684\u7248\u672C\uFF0C\u8207\u4F60\u7684\u4FEE\u6539\u885D\u7A81":["\u522B\u5904\u6709\u65B0\u7684\u7248\u672C\uFF0C\u4E0E\u4F60\u7684\u4FEE\u6539\u51B2\u7A81","A newer version elsewhere conflicts with your edits"],"{clauses}":["{clauses}","{clauses}"],"\u628A\u6A19\u984C\u6539\u6210\u300C{title}\u300D":["\u628A\u6807\u9898\u6539\u6210\u300C{title}\u300D",'Renamed it to "{title}"'],"\u52A0\u4E0A\u6A19\u7C64 {tags}":["\u52A0\u4E0A\u6807\u7B7E {tags}","Added {tags}"],"\u79FB\u9664\u6A19\u7C64 {tags}":["\u79FB\u9664\u6807\u7B7E {tags}","Removed {tags}"],"\u79FB\u5230\u6587\u4EF6\u5939\u300C{boxes}\u300D":["\u79FB\u5230\u6587\u4EF6\u5939\u300C{boxes}\u300D",'Moved it to "{boxes}"'],\u79FB\u51FA\u4E86\u6587\u4EF6\u5939:["\u79FB\u51FA\u4E86\u6587\u4EF6\u5939","Took it out of its folder"],\u52A0\u4E0A\u661F\u6A19:["\u52A0\u4E0A\u661F\u6807","Starred it"],\u53D6\u6D88\u661F\u6A19:["\u53D6\u6D88\u661F\u6807","Unstarred it"],\u66F4\u65B0\u4E86\u5C6C\u6027:["\u66F4\u65B0\u4E86\u5C5E\u6027","Updated properties"],\u89E3\u91CB\u7A0B\u5F0F\u78BC:["\u89E3\u91CA\u4EE3\u7801","Explain code"],\u627E\u51FA\u554F\u984C:["\u627E\u51FA\u95EE\u9898","Find problems"],\u5728\u4E0B\u65B9\u5BEB\u4E00\u6BB5\u8AAA\u660E:["\u5728\u4E0B\u65B9\u5199\u4E00\u6BB5\u8BF4\u660E","Write a note below"],\u89E3\u91CB\u9019\u6BB5\u7A0B\u5F0F\u78BC\u5728\u505A\u4EC0\u9EBC:["\u89E3\u91CA\u8FD9\u6BB5\u4EE3\u7801\u5728\u505A\u4EC0\u4E48","Explain what this code does"],\u5E6B\u6211\u770B\u770B\u9019\u6BB5\u7A0B\u5F0F\u78BC\u6709\u54EA\u4E9B\u932F\u8AA4\u6216\u53EF\u4EE5\u6539\u9032\u7684\u5730\u65B9:["\u5E2E\u6211\u770B\u770B\u8FD9\u6BB5\u4EE3\u7801\u6709\u54EA\u4E9B\u9519\u8BEF\u6216\u53EF\u4EE5\u6539\u8FDB\u7684\u5730\u65B9","Point out bugs or things to improve in this code"],\u5E6B\u9019\u6BB5\u7A0B\u5F0F\u78BC\u52A0\u4E0A\u6E05\u695A\u7684\u8A3B\u89E3:["\u5E2E\u8FD9\u6BB5\u4EE3\u7801\u52A0\u4E0A\u6E05\u695A\u7684\u6CE8\u91CA","Add clear comments to this code"],"\u5E6B\u6211\u628A\u9019\u6BB5\u7A0B\u5F0F\u78BC\u6539\u5F97\u66F4\u6E05\u695A\u3001\u66F4\u597D\u7DAD\u8B77\uFF0C\u884C\u70BA\u4FDD\u6301\u4E0D\u8B8A":["\u5E2E\u6211\u628A\u8FD9\u6BB5\u4EE3\u7801\u6539\u5F97\u66F4\u6E05\u695A\u3001\u66F4\u597D\u7EF4\u62A4\uFF0C\u884C\u4E3A\u4FDD\u6301\u4E0D\u53D8","Make this code clearer and easier to maintain without changing what it does"],\u89E3\u91CB\u9019\u500B\u5340\u584A\u5728\u8AAA\u4EC0\u9EBC:["\u89E3\u91CA\u8FD9\u4E2A\u533A\u5757\u5728\u8BF4\u4EC0\u4E48","Explain what this block is about"],\u5728\u9019\u500B\u5340\u584A\u4E0B\u65B9\u5BEB\u4E00\u6BB5\u8AAA\u660E:["\u5728\u8FD9\u4E2A\u533A\u5757\u4E0B\u65B9\u5199\u4E00\u6BB5\u8BF4\u660E","Write a note about this block below it"],\u5E6B\u6211\u770B\u770B\u9019\u500B\u5340\u584A\u6709\u4EC0\u9EBC\u53EF\u4EE5\u6539\u9032:["\u5E2E\u6211\u770B\u770B\u8FD9\u4E2A\u533A\u5757\u6709\u4EC0\u4E48\u53EF\u4EE5\u6539\u8FDB","Point out what could be better in this block"],"\u554F AI \u95DC\u65BC\u9019\u500B\u5340\u584A\u2026":["\u95EE AI \u5173\u4E8E\u8FD9\u4E2A\u533A\u5757\u2026","Ask AI about this block\u2026"],"\u8B93 AI \u8655\u7406\u9019\u6BB5\u7A0B\u5F0F\u78BC\u2026":["\u8BA9 AI \u5904\u7406\u8FD9\u6BB5\u4EE3\u7801\u2026","Ask AI to work on this code\u2026"],\u9019\u500B\u5340\u584A:["\u8FD9\u4E2A\u533A\u5757","This block"],\u4FEE\u6539\u7A0B\u5F0F\u78BC:["\u4FEE\u6539\u4EE3\u7801","Edit code"],\u52A0\u4E0A\u8A3B\u89E3:["\u52A0\u4E0A\u6CE8\u91CA","Add comments"],\u6539\u5584\u7A0B\u5F0F\u78BC:["\u6539\u8FDB\u4EE3\u7801","Improve code"],\u6253\u958B\u4E86\u5F85\u8FA6\u6E05\u55AE:["\u6253\u5F00\u4E86\u5F85\u529E\u6E05\u5355","Showed the task list"],"\u66F4\u65B0\u4E86 {n} \u500B\u5F85\u8FA6":["\u66F4\u65B0\u4E86 {n} \u4E2A\u5F85\u529E","Updated {n} tasks"],"\u65B0\u589E\u4E86 {n} \u500B\u5F85\u8FA6":["\u65B0\u589E\u4E86 {n} \u4E2A\u5F85\u529E","Added {n} tasks"],"\u5FA9\u539F\u4E86 {n} \u500B\u5F85\u8FA6":["\u64A4\u9500\u4E86 {n} \u4E2A\u5F85\u529E\u7684\u4FEE\u6539","Undid changes to {n} tasks"],\u5F85\u8FA6:["\u5F85\u529E","Tasks"],\u56DE\u5230\u7B46\u8A18:["\u56DE\u5230\u7B14\u8BB0","Back to the note"],\u672A\u5B8C\u6210:["\u672A\u5B8C\u6210","Open"],\u5DF2\u5B8C\u6210:["\u5DF2\u5B8C\u6210","Done"],\u5168\u90E8:["\u5168\u90E8","All"],\u4EFB\u52D9\u72C0\u614B:["\u4EFB\u52A1\u72B6\u6001","Task status"],\u4F9D\u65E5\u671F:["\u6309\u65E5\u671F","By date"],\u4F9D\u7B46\u8A18:["\u6309\u7B14\u8BB0","By note"],\u5206\u7D44\u65B9\u5F0F:["\u5206\u7EC4\u65B9\u5F0F","Grouping"],"\u641C\u5C0B\u4EFB\u52D9\u2026":["\u641C\u7D22\u4EFB\u52A1\u2026","Search tasks\u2026"],\u641C\u5C0B\u4EFB\u52D9:["\u641C\u7D22\u4EFB\u52A1","Search tasks"],\u91CD\u65B0\u6574\u7406:["\u5237\u65B0","Refresh"],\u9078\u64C7\u65E5\u671F:["\u9009\u62E9\u65E5\u671F","Pick a date"],\u7121\u6CD5\u8F09\u5165\u5F85\u8FA6:["\u65E0\u6CD5\u52A0\u8F7D\u5F85\u529E","Couldn't load tasks"],\u79FB\u9664\u7BE9\u9078:["\u79FB\u9664\u7B5B\u9009","Remove filter"],"{n} \u9805":["{n} \u9879","{n}"],\u6C92\u6709\u7B26\u5408\u7BE9\u9078\u7684\u4EFB\u52D9:["\u6CA1\u6709\u7B26\u5408\u7B5B\u9009\u7684\u4EFB\u52A1","No tasks match these filters"],\u9084\u6C92\u6709\u5B8C\u6210\u7684\u4EFB\u52D9:["\u8FD8\u6CA1\u6709\u5B8C\u6210\u7684\u4EFB\u52A1","No finished tasks yet"],"\u6C92\u6709\u5F85\u8FA6\uFF0C\u4EAB\u53D7\u4E00\u4E0B\u5427":["\u6CA1\u6709\u5F85\u529E\uFF0C\u4EAB\u53D7\u4E00\u4E0B\u5427","Nothing to do. Enjoy it."],"\u53EA\u986F\u793A\u524D {n} \u9805\uFF0C\u7528\u641C\u5C0B\u6216\u7BE9\u9078\u7E2E\u5C0F\u7BC4\u570D":["\u53EA\u663E\u793A\u524D {n} \u9879\uFF0C\u7528\u641C\u7D22\u6216\u7B5B\u9009\u7F29\u5C0F\u8303\u56F4","Showing the first {n}. Search or filter to narrow it down."],\u672A\u6392\u7A0B:["\u672A\u6392\u671F","No date"],\u66F4\u65E9:["\u66F4\u65E9","Earlier"],\u5DF2\u903E\u671F:["\u5DF2\u903E\u671F","Overdue"],\u4ECA\u5929:["\u4ECA\u5929","Today"],\u660E\u5929:["\u660E\u5929","Tomorrow"],\u6628\u5929:["\u6628\u5929","Yesterday"],\u672A\u4F86\u4E03\u5929:["\u672A\u6765\u4E03\u5929","Next 7 days"],\u4E4B\u5F8C:["\u4E4B\u540E","Later"],\u6A19\u8A18\u70BA\u672A\u5B8C\u6210:["\u6807\u8BB0\u4E3A\u672A\u5B8C\u6210","Mark as not done"],\u6A19\u8A18\u70BA\u5B8C\u6210:["\u6807\u8BB0\u4E3A\u5B8C\u6210","Mark as done"],\u66F4\u6539\u65E5\u671F:["\u66F4\u6539\u65E5\u671F","Change date"],\u5728\u7B46\u8A18\u4E2D\u958B\u555F:["\u5728\u7B14\u8BB0\u4E2D\u6253\u5F00","Open in note"],"\uFF08\u7A7A\u767D\u4EFB\u52D9\uFF09":["\uFF08\u7A7A\u767D\u4EFB\u52A1\uFF09","(empty task)"],\u512A\u5148\u7D1A:["\u4F18\u5148\u7EA7","Priority"],"\u65B0\u589E\u5F85\u8FA6\uFF0C\u4F8B\u5982\u300C\u660E\u5929\u4E0B\u53483\u9EDE \u4EA4\u5831\u544A !!\u300D":["\u65B0\u589E\u5F85\u529E\uFF0C\u4F8B\u5982\u300C\u660E\u5929\u4E0B\u53483\u70B9 \u4EA4\u62A5\u544A !!\u300D",'Add a task, e.g. "tomorrow 3pm send report !!"'],\u65B0\u589E\u5F85\u8FA6:["\u65B0\u589E\u5F85\u529E","Add a task"],\u52A0\u5230\u4ECA\u65E5\u5F85\u8FA6:["\u52A0\u5230\u4ECA\u65E5\u5F85\u529E","to today"],\u4ECA\u65E5\u5F85\u8FA6:["\u4ECA\u65E5\u5F85\u529E","Today's tasks"],"\u5DF2\u52A0\u5230\u300C{title}\u300D":["\u5DF2\u52A0\u5230\u300C{title}\u300D",'Added to "{title}"'],"\u5DF2\u628A {n} \u500B\u5F85\u8FA6\u52A0\u5230\u300C{title}\u300D":["\u5DF2\u628A {n} \u4E2A\u5F85\u529E\u52A0\u5230\u300C{title}\u300D",'Added {n} tasks to "{title}"'],"\u4E00\u6B21\u6700\u591A\u65B0\u589E {n} \u500B\u5F85\u8FA6":["\u4E00\u6B21\u6700\u591A\u65B0\u589E {n} \u4E2A\u5F85\u529E","Up to {n} tasks at a time"],"\u5F9E\u300C{words}\u300D\u8FA8\u8B58":["\u4ECE\u300C{words}\u300D\u8BC6\u522B",'From "{words}"'],\u7576\u4F5C\u6587\u5B57:["\u5F53\u4F5C\u6587\u5B57","Keep as text"],\u9375\u76E4\u5FEB\u901F\u9375:["\u952E\u76D8\u5FEB\u6377\u952E","Keyboard shortcuts"],\u4E0A\u4E0B\u79FB\u52D5:["\u4E0A\u4E0B\u79FB\u52A8","Move up / down"],"\u5B8C\u6210\uFF0F\u53D6\u6D88":["\u5B8C\u6210\uFF0F\u53D6\u6D88","Complete / reopen"],"\u9AD8\uFF0F\u4E2D\uFF0F\u4F4E\uFF0F\u7121\u512A\u5148\u7D1A":["\u9AD8\uFF0F\u4E2D\uFF0F\u4F4E\uFF0F\u65E0\u4F18\u5148\u7EA7","High / medium / low / no priority"],"\u4ECA\u5929\uFF0F\u660E\u5929\uFF0F\u4E0B\u9031\u4E00":["\u4ECA\u5929\uFF0F\u660E\u5929\uFF0F\u4E0B\u5468\u4E00","Today / tomorrow / next Monday"],\u5FA9\u539F:["\u64A4\u9500","Undo"],"\u554F AI \u95DC\u65BC\u9019\u500B\u5F85\u8FA6\u2026":["\u95EE AI \u5173\u4E8E\u8FD9\u4E2A\u5F85\u529E\u2026","Ask AI about this task\u2026"],"\u554F AI \u95DC\u65BC\u9019\u500B\u5F85\u8FA6":["\u95EE AI \u5173\u4E8E\u8FD9\u4E2A\u5F85\u529E","Ask AI about this task"],"AI \u6B63\u5728\u62C6\u89E3\u2026":["AI \u6B63\u5728\u62C6\u89E3\u2026","AI is breaking it down\u2026"],"\u5728\u300C{note}\u300D\u4E2D\u958B\u555F":["\u5728\u300C{note}\u300D\u4E2D\u6253\u5F00","Open in \u201C{note}\u201D"],"AI \u5EFA\u8B70\u7684\u5B50\u5F85\u8FA6":["AI \u5EFA\u8BAE\u7684\u5B50\u5F85\u529E","Subtasks suggested by AI"],"AI \u5EFA\u8B70\u7684\u5B50\u5F85\u8FA6\uFF08\u539F\u4EFB\u52D9\u4E0D\u5728\u76EE\u524D\u7684\u6E05\u55AE\u88E1\uFF09":["AI \u5EFA\u8BAE\u7684\u5B50\u5F85\u529E\uFF08\u539F\u4EFB\u52A1\u4E0D\u5728\u5F53\u524D\u6E05\u5355\u91CC\uFF09","Subtasks suggested by AI (their task is not in this list)"],\u653E\u56DE\u4F86:["\u653E\u56DE\u6765","Put back"],\u4E0D\u8981\u9019\u500B:["\u4E0D\u8981\u8FD9\u4E2A","Leave this out"],"\u52A0\u5165 1 \u500B\u5B50\u5F85\u8FA6":["\u52A0\u5165 1 \u4E2A\u5B50\u5F85\u529E","Add 1 subtask"],"\u52A0\u5165 {n} \u500B\u5B50\u5F85\u8FA6":["\u52A0\u5165 {n} \u4E2A\u5B50\u5F85\u529E","Add {n} subtasks"],\u6368\u68C4:["\u820D\u5F03","Discard"],"\u8ACB AI \u91CD\u65B0\u62C6\u89E3":["\u8BF7 AI \u91CD\u65B0\u62C6\u89E3","Ask AI for another breakdown"],\u63DB\u4E00\u7D44:["\u6362\u4E00\u7EC4","Try again"],"\u5DF2\u52A0\u5165 1 \u500B\u5B50\u5F85\u8FA6":["\u5DF2\u52A0\u5165 1 \u4E2A\u5B50\u5F85\u529E","Added 1 subtask"],"\u5DF2\u52A0\u5165 {n} \u500B\u5B50\u5F85\u8FA6":["\u5DF2\u52A0\u5165 {n} \u4E2A\u5B50\u5F85\u529E","Added {n} subtasks"],"\u5DF2\u4EA4\u7D66 AI\uFF0C\u5EFA\u8B70\u7684\u5B50\u5F85\u8FA6\u6703\u51FA\u73FE\u5728\u4EFB\u52D9\u4E0B\u65B9":["\u5DF2\u4EA4\u7ED9 AI\uFF0C\u5EFA\u8BAE\u7684\u5B50\u5F85\u529E\u4F1A\u51FA\u73B0\u5728\u4EFB\u52A1\u4E0B\u65B9","Sent to AI. Suggested subtasks will appear under the task"],"\u5DF2\u4EA4\u7D66 AI\uFF0C\u56DE\u8986\u6703\u51FA\u73FE\u5728\u5C0D\u8A71\u88E1":["\u5DF2\u4EA4\u7ED9 AI\uFF0C\u56DE\u590D\u4F1A\u51FA\u73B0\u5728\u5BF9\u8BDD\u91CC","Sent to AI. The answer will appear in the chat"],\u62C6\u89E3\u6210\u5B50\u5F85\u8FA6:["\u62C6\u89E3\u6210\u5B50\u5F85\u529E","Break into subtasks"],\u600E\u9EBC\u843D\u5730:["\u600E\u4E48\u843D\u5730","How to get it done"],\u7B2C\u4E00\u6B65\u505A\u4EC0\u9EBC:["\u7B2C\u4E00\u6B65\u505A\u4EC0\u4E48","What to do first"],\u53EF\u80FD\u5361\u5728\u54EA\u88E1:["\u53EF\u80FD\u5361\u5728\u54EA\u91CC","Where it might get stuck"],"\u5E6B\u6211\u628A\u9019\u500B\u5F85\u8FA6\u62C6\u6210\u5E7E\u500B\u5177\u9AD4\u3001\u53EF\u4EE5\u76F4\u63A5\u52D5\u624B\u7684\u5B50\u5F85\u8FA6":["\u5E2E\u6211\u628A\u8FD9\u4E2A\u5F85\u529E\u62C6\u6210\u51E0\u4E2A\u5177\u4F53\u3001\u53EF\u4EE5\u76F4\u63A5\u52A8\u624B\u7684\u5B50\u5F85\u529E","Break this task into a few concrete subtasks I can start on right away"],"\u9019\u500B\u5F85\u8FA6\u8981\u600E\u9EBC\u843D\u5730\uFF1F\u7D66\u6211\u5177\u9AD4\u7684\u505A\u6CD5\u548C\u6B65\u9A5F":["\u8FD9\u4E2A\u5F85\u529E\u8981\u600E\u4E48\u843D\u5730\uFF1F\u7ED9\u6211\u5177\u4F53\u7684\u505A\u6CD5\u548C\u6B65\u9AA4","How do I get this task done? Give me concrete steps"],"\u9019\u500B\u5F85\u8FA6\u6211\u73FE\u5728\u7B2C\u4E00\u6B65\u8A72\u505A\u4EC0\u9EBC\uFF1F":["\u8FD9\u4E2A\u5F85\u529E\u6211\u73B0\u5728\u7B2C\u4E00\u6B65\u8BE5\u505A\u4EC0\u4E48\uFF1F","What should I do first for this task?"],"\u505A\u9019\u500B\u5F85\u8FA6\u53EF\u80FD\u6703\u5361\u5728\u54EA\u88E1\uFF1F\u8981\u5148\u6E96\u5099\u4EC0\u9EBC\uFF1F":["\u505A\u8FD9\u4E2A\u5F85\u529E\u53EF\u80FD\u4F1A\u5361\u5728\u54EA\u91CC\uFF1F\u8981\u5148\u51C6\u5907\u4EC0\u4E48\uFF1F","Where might this task get stuck, and what should I prepare first?"],"\u8ACB\u7D50\u5408\u4F60\u77E5\u9053\u7684\u4E00\u5207\uFF08\u5C0D\u8A71\u3001\u4F60\u7684\u8A18\u61B6\u3001\u5C08\u6848\u8CC7\u6599\u3001\u6211\u5728 Dinox \u7684\u7B46\u8A18\uFF09\uFF0C\u7D66\u8CBC\u5408\u6211\u5BE6\u969B\u60C5\u6CC1\u7684\u5EFA\u8B70\u3002":["\u8BF7\u7ED3\u5408\u4F60\u77E5\u9053\u7684\u4E00\u5207\uFF08\u5BF9\u8BDD\u3001\u4F60\u7684\u8BB0\u5FC6\u3001\u9879\u76EE\u8D44\u6599\u3001\u6211\u5728 Dinox \u7684\u7B14\u8BB0\uFF09\uFF0C\u7ED9\u8D34\u5408\u6211\u5B9E\u9645\u60C5\u51B5\u7684\u5EFA\u8BAE\u3002","Draw on everything you know (this conversation, your memory, project files, my Dinox notes) so the advice fits my situation."],"\u8ACB\u7528 dinox_todo_suggest \u63D0\u51FA\u5B50\u5F85\u8FA6\uFF08\u6BCF\u500B\u662F\u4E00\u500B\u5177\u9AD4\u52D5\u4F5C\uFF0C\u5FC5\u8981\u6642\u5E36\u65E5\u671F\u6216\u512A\u5148\u7D1A\uFF0C\u4E26\u7528\u4E00\u53E5\u8A71\u8AAA\u660E\u601D\u8DEF\uFF09\uFF0C\u6211\u6703\u5728\u5F85\u8FA6\u6E05\u55AE\u88E1\u78BA\u8A8D\u5F8C\u518D\u52A0\u5165\u3002\u4E0D\u7528\u5728\u5C0D\u8A71\u88E1\u91CD\u8907\u5217\u51FA\u3002":["\u8BF7\u7528 dinox_todo_suggest \u63D0\u51FA\u5B50\u5F85\u529E\uFF08\u6BCF\u4E2A\u662F\u4E00\u4E2A\u5177\u4F53\u52A8\u4F5C\uFF0C\u5FC5\u8981\u65F6\u5E26\u65E5\u671F\u6216\u4F18\u5148\u7EA7\uFF0C\u5E76\u7528\u4E00\u53E5\u8BDD\u8BF4\u660E\u601D\u8DEF\uFF09\uFF0C\u6211\u4F1A\u5728\u5F85\u529E\u6E05\u5355\u91CC\u786E\u8BA4\u540E\u518D\u52A0\u5165\u3002\u4E0D\u7528\u5728\u5BF9\u8BDD\u91CC\u91CD\u590D\u5217\u51FA\u3002","Please propose the subtasks with dinox_todo_suggest (each one a concrete action, with a date or priority when useful, plus one sentence on the approach); I will confirm them in the task list. No need to repeat them in the chat."],"\u76F4\u63A5\u5728\u5C0D\u8A71\u88E1\u56DE\u7B54\u3002\u5982\u679C\u9069\u5408\u62C6\u6210\u5B50\u5F85\u8FA6\uFF0C\u4E5F\u53EF\u4EE5\u7528 dinox_todo_suggest \u63D0\u51FA\uFF0C\u6211\u6703\u5728\u5F85\u8FA6\u6E05\u55AE\u88E1\u78BA\u8A8D\u3002":["\u76F4\u63A5\u5728\u5BF9\u8BDD\u91CC\u56DE\u7B54\u3002\u5982\u679C\u9002\u5408\u62C6\u6210\u5B50\u5F85\u529E\uFF0C\u4E5F\u53EF\u4EE5\u7528 dinox_todo_suggest \u63D0\u51FA\uFF0C\u6211\u4F1A\u5728\u5F85\u529E\u6E05\u5355\u91CC\u786E\u8BA4\u3002","Answer in the chat. If it fits, you can also propose subtasks with dinox_todo_suggest; I will confirm them in the task list."],"\u4EFB\u52D9 id\uFF1A{id}":["\u4EFB\u52A1 id\uFF1A{id}","task id: {id}"],"\u7B46\u8A18 id\uFF1A{id}":["\u7B14\u8BB0 id\uFF1A{id}","note id: {id}"],"\u5728\u7B46\u8A18\u300C{title}\u300D\u88E1":["\u5728\u7B14\u8BB0\u300C{title}\u300D\u91CC","in the note \u201C{title}\u201D"],"\u622A\u6B62\uFF1A{due}":["\u622A\u6B62\uFF1A{due}","due {due}"],"\u5DF2\u6709\u5B50\u5F85\u8FA6\uFF1A{list}":["\u5DF2\u6709\u5B50\u5F85\u529E\uFF1A{list}","existing subtasks: {list}"],"\uFF0C":["\uFF0C",", "],"\uFF08{facts}\uFF09":["\uFF08{facts}\uFF09","({facts})"],"\u5EFA\u8B70\u4E86 {n} \u500B\u5B50\u5F85\u8FA6":["\u5EFA\u8BAE\u4E86 {n} \u4E2A\u5B50\u5F85\u529E","Suggested {n} subtasks"],"\u52A0\u5165\u4E86 {n} \u500B\u5B50\u5F85\u8FA6":["\u52A0\u5165\u4E86 {n} \u4E2A\u5B50\u5F85\u529E","Added {n} subtasks"],"\u6368\u68C4\u4E86 AI \u5EFA\u8B70\u7684\u5B50\u5F85\u8FA6":["\u820D\u5F03\u4E86 AI \u5EFA\u8BAE\u7684\u5B50\u5F85\u529E","Discarded the suggested subtasks"],\u4EFB\u52D9\u6587\u5B57:["\u4EFB\u52A1\u6587\u5B57","Task text"],\u7DE8\u8F2F\u6587\u5B57:["\u7F16\u8F91\u6587\u5B57","Edit text"],\u4EFB\u52D9\u6587\u5B57\u4E0D\u80FD\u662F\u7A7A\u767D:["\u4EFB\u52A1\u6587\u5B57\u4E0D\u80FD\u4E3A\u7A7A","A task needs some words"],"\u5DF2\u66F4\u65B0\u300C{task}\u300D":["\u5DF2\u66F4\u65B0\u300C{task}\u300D","Updated \u201C{task}\u201D"],\u6C92\u6709\u53EF\u4EE5\u5FA9\u539F\u7684\u52D5\u4F5C:["\u6CA1\u6709\u53EF\u4EE5\u64A4\u9500\u7684\u64CD\u4F5C","Nothing to undo"],"\u5DF2\u5FA9\u539F\uFF1A{action}":["\u5DF2\u64A4\u9500\uFF1A{action}","Undone: {action}"],"\u5DF2\u5B8C\u6210\u300C{task}\u300D":["\u5DF2\u5B8C\u6210\u300C{task}\u300D",'Completed "{task}"'],"\u300C{task}\u300D\u6539\u56DE\u672A\u5B8C\u6210":["\u300C{task}\u300D\u6539\u56DE\u672A\u5B8C\u6210",'"{task}" reopened'],"\u300C{task}\u300D\u8A2D\u70BA{priority}":["\u300C{task}\u300D\u8BBE\u4E3A{priority}",'"{task}" set to {priority}'],"\u300C{task}\u300D\u5DF2\u79FB\u9664\u512A\u5148\u7D1A":["\u300C{task}\u300D\u5DF2\u79FB\u9664\u4F18\u5148\u7EA7",'Removed priority from "{task}"'],"\u300C{task}\u300D\u6539\u5230{date}":["\u300C{task}\u300D\u6539\u5230{date}",'"{task}" moved to {date}'],"\u300C{task}\u300D\u5DF2\u79FB\u9664\u65E5\u671F":["\u300C{task}\u300D\u5DF2\u79FB\u9664\u65E5\u671F",'Removed date from "{task}"'],\u8A2D\u5B9A\u65E5\u671F:["\u8BBE\u7F6E\u65E5\u671F","Set date"],\u9AD8:["\u9AD8","High"],\u4E2D:["\u4E2D","Medium"],\u4F4E:["\u4F4E","Low"],\u7121\u512A\u5148\u7D1A:["\u65E0\u4F18\u5148\u7EA7","No priority"],\u4E0B\u9031\u4E00:["\u4E0B\u5468\u4E00","Next Monday"],\u79FB\u9664\u65E5\u671F:["\u79FB\u9664\u65E5\u671F","Remove date"],"\u4F7F\u7528\u8005\u6B63\u5728 Dinox \u9762\u677F\u770B\u5F85\u8FA6\u6E05\u55AE\uFF08{scope}\uFF0C\u5171 {n} \u9805\uFF09\u3002":["\u7528\u6237\u6B63\u5728 Dinox \u9762\u677F\u770B\u5F85\u529E\u6E05\u5355\uFF08{scope}\uFF0C\u5171 {n} \u9879\uFF09\u3002","The user is looking at their task list in the Dinox panel ({scope}, {n} tasks)."],\u9AD8\u512A\u5148:["\u9AD8\u4F18\u5148","High priority"],\u4E2D\u512A\u5148:["\u4E2D\u4F18\u5148","Medium priority"],\u4F4E\u512A\u5148:["\u4F4E\u4F18\u5148","Low priority"],"{date} \u8D77":["{date} \u8D77","From {date}"],"\u5230 {date}":["\u5230 {date}","Until {date}"],\u8F49\u63DB\u70BA:["\u8F6C\u6362\u4E3A","Turn into"],\u984F\u8272\u8207\u5C0D\u9F4A:["\u989C\u8272\u4E0E\u5BF9\u9F50","Color and alignment"],\u7070\u8272:["\u7070\u8272","Gray"],\u68D5\u8272:["\u68D5\u8272","Brown"],\u6A58\u8272:["\u6A59\u8272","Orange"],\u9EC3\u8272:["\u9EC4\u8272","Yellow"],\u7DA0\u8272:["\u7EFF\u8272","Green"],\u85CD\u8272:["\u84DD\u8272","Blue"],\u7D2B\u8272:["\u7D2B\u8272","Purple"],\u7C89\u7D05\u8272:["\u7C89\u7EA2\u8272","Pink"],\u7D05\u8272:["\u7EA2\u8272","Red"],\u8CC7\u8A0A:["\u4FE1\u606F","Info"],\u63D0\u793A:["\u63D0\u793A","Tip"],\u91CD\u8981:["\u91CD\u8981","Important"],\u8B66\u544A:["\u8B66\u544A","Warning"],\u6CE8\u610F:["\u6CE8\u610F","Caution"],\u9023\u7D50\u5230\u7B46\u8A18:["\u94FE\u63A5\u5230\u7B14\u8BB0","Link to note"],\u5D4C\u5165\u7B46\u8A18\u5167\u5BB9:["\u5D4C\u5165\u7B14\u8BB0\u5185\u5BB9","Embed note content"],"\u300C{title}\u300D\u662F\u7A7A\u767D\u7684\u7B46\u8A18":["\u300C{title}\u300D\u662F\u7A7A\u767D\u7684\u7B14\u8BB0",'"{title}" is an empty note'],"\u65B0\u589E\u6A19\u7C64\u300C{tag}\u300D":["\u65B0\u5EFA\u6807\u7B7E\u300C{tag}\u300D",'New tag "{tag}"'],\u9032\u968E\u5340\u584A:["\u9AD8\u7EA7\u533A\u5757","Advanced blocks"],\u63D0\u793A\u6846:["\u63D0\u793A\u6846","Callout"],\u5D4C\u5165\u7B46\u8A18:["\u5D4C\u5165\u7B14\u8BB0","Embed note"],\u96D9\u5411\u9023\u7D50:["\u53CC\u5411\u94FE\u63A5","Backlink"],\u8868\u60C5\u7B26\u865F:["\u8868\u60C5\u7B26\u53F7","Emoji"],\u76EE\u524D\u6642\u9593:["\u5F53\u524D\u65F6\u95F4","Current time"],\u4ECA\u5929\u65E5\u671F:["\u4ECA\u5929\u65E5\u671F","Today's date"],\u884C\u5167\u516C\u5F0F:["\u884C\u5185\u516C\u5F0F","Inline math"],\u5340\u584A\u516C\u5F0F:["\u5757\u7EA7\u516C\u5F0F","Block math"],\u8868\u683C:["\u8868\u683C","Table"],\u5169\u6B04:["\u4E24\u680F","Two columns"],\u4E09\u6B04:["\u4E09\u680F","Three columns"],"Mermaid \u5716\u8868":["Mermaid \u56FE\u8868","Mermaid diagram"],\u958B\u59CB:["\u5F00\u59CB","Start"],\u7D50\u675F:["\u7ED3\u675F","End"],"\u641C\u5C0B\u4E2D\u2026":["\u641C\u7D22\u4E2D\u2026","Searching\u2026"],\u627E\u4E0D\u5230\u9019\u500B\u8868\u60C5\u7B26\u865F:["\u627E\u4E0D\u5230\u8FD9\u4E2A\u8868\u60C5\u7B26\u53F7","No matching emoji"],\u80CC\u666F\u984F\u8272:["\u80CC\u666F\u989C\u8272","Background color"],\u5340\u584A:["\u533A\u5757","Block"],\u5EFA\u7ACB\u526F\u672C:["\u521B\u5EFA\u526F\u672C","Duplicate"],\u4E0A\u79FB:["\u4E0A\u79FB","Move up"],\u4E0B\u79FB:["\u4E0B\u79FB","Move down"],\u9810\u8A2D:["\u9ED8\u8BA4","Default"],\u9760\u5DE6\u5C0D\u9F4A:["\u5DE6\u5BF9\u9F50","Align left"],\u7F6E\u4E2D\u5C0D\u9F4A:["\u5C45\u4E2D\u5BF9\u9F50","Align center"],\u9760\u53F3\u5C0D\u9F4A:["\u53F3\u5BF9\u9F50","Align right"],\u5DE6\u53F3\u5C0D\u9F4A:["\u4E24\u7AEF\u5BF9\u9F50","Justify"],\u6587\u5B57\u6A23\u5F0F:["\u6587\u5B57\u6837\u5F0F","Text style"],\u6587\u5B57\u984F\u8272:["\u6587\u5B57\u989C\u8272","Text color"],\u5C0D\u9F4A:["\u5BF9\u9F50","Alignment"],\u4E0A\u6A19:["\u4E0A\u6807","Superscript"],\u4E0B\u6A19:["\u4E0B\u6807","Subscript"],\u5728\u4E0A\u65B9\u63D2\u5165\u5217:["\u5728\u4E0A\u65B9\u63D2\u5165\u884C","Insert row above"],\u5728\u4E0B\u65B9\u63D2\u5165\u5217:["\u5728\u4E0B\u65B9\u63D2\u5165\u884C","Insert row below"],\u5728\u5DE6\u5074\u63D2\u5165\u6B04:["\u5728\u5DE6\u4FA7\u63D2\u5165\u5217","Insert column left"],\u5728\u53F3\u5074\u63D2\u5165\u6B04:["\u5728\u53F3\u4FA7\u63D2\u5165\u5217","Insert column right"],\u6A19\u984C\u5217:["\u6807\u9898\u884C","Header row"],\u522A\u9664\u5217:["\u5220\u9664\u884C","Delete row"],\u522A\u9664\u6B04:["\u5220\u9664\u5217","Delete column"],\u522A\u9664\u8868\u683C:["\u5220\u9664\u8868\u683C","Delete table"],\u7DE8\u8F2F\u5716\u8868:["\u7F16\u8F91\u56FE\u8868","Edit diagram"],\u7DE8\u8F2F\u516C\u5F0F:["\u7F16\u8F91\u516C\u5F0F","Edit formula"],"Mermaid \u539F\u59CB\u78BC":["Mermaid \u6E90\u7801","Mermaid source"],"LaTeX \u516C\u5F0F":["LaTeX \u516C\u5F0F","LaTeX formula"],"{key} \u5B8C\u6210":["{key} \u5B8C\u6210","{key} to finish"],"\u21B5 \u5B8C\u6210":["\u21B5 \u5B8C\u6210","\u21B5 to finish"],\u53D6\u6D88:["\u53D6\u6D88","Cancel"],\u5B8C\u6210:["\u5B8C\u6210","Done"],\u5728\u4E0B\u65B9\u65B0\u589E\u5340\u584A:["\u5728\u4E0B\u65B9\u65B0\u5EFA\u533A\u5757","Add a block below"],"\u62D6\u66F3\u79FB\u52D5\uFF0C\u9EDE\u6309\u958B\u555F\u9078\u55AE":["\u62D6\u52A8\u79FB\u52A8\uFF0C\u70B9\u51FB\u6253\u5F00\u83DC\u5355","Drag to move, click for menu"],\u5340\u584A\u9078\u55AE:["\u533A\u5757\u83DC\u5355","Block menu"],\u7A7A\u767D\u7684\u516C\u5F0F:["\u7A7A\u767D\u7684\u516C\u5F0F","Empty formula"],\u8B8A\u66F4\u63D0\u793A\u6846\u985E\u578B:["\u66F4\u6539\u63D0\u793A\u6846\u7C7B\u578B","Change callout type"],"\u5167\u5D4C\u7DB2\u9801 {url}":["\u5185\u5D4C\u7F51\u9875 {url}","Embedded page {url}"],\u7B46\u8A18\u8996\u5716:["\u7B14\u8BB0\u89C6\u56FE","Note view"],"\u300C{name}\u300D\u8D85\u904E {size} \u4E0A\u9650":["\u300C{name}\u300D\u8D85\u8FC7 {size} \u4E0A\u9650",'"{name}" is over the {size} limit'],"\u6B63\u5728\u4E0A\u50B3 {name}\u2026":["\u6B63\u5728\u4E0A\u4F20 {name}\u2026","Uploading {name}\u2026"],"\u7121\u6CD5\u4E0A\u50B3\u300C{name}\u300D\uFF1A{error}":["\u65E0\u6CD5\u4E0A\u4F20\u300C{name}\u300D\uFF1A{error}",`Couldn't upload "{name}": {error}`],"X\uFF08Twitter\uFF09\u4E0D\u5141\u8A31\u5D4C\u5165\uFF0C\u8ACB\u6539\u7528\u7DB2\u9801\u66F8\u7C64":["X\uFF08Twitter\uFF09\u4E0D\u5141\u8BB8\u5D4C\u5165\uFF0C\u8BF7\u6539\u7528\u7F51\u9875\u4E66\u7B7E","X (Twitter) can't be embedded; use a web bookmark instead"],\u8ACB\u8F38\u5165\u6709\u6548\u7684\u7DB2\u5740:["\u8BF7\u8F93\u5165\u6709\u6548\u7684\u7F51\u5740","Enter a valid URL"],"\u7121\u6CD5\u53D6\u5F97\u7DB2\u9801\u8CC7\u8A0A\uFF1A{error}":["\u65E0\u6CD5\u83B7\u53D6\u7F51\u9875\u4FE1\u606F\uFF1A{error}","Couldn't get the page details: {error}"],\u672A\u547D\u540D\u8996\u5716:["\u672A\u547D\u540D\u89C6\u56FE","Untitled view"],"\u8F09\u5165\u4E2D\u2026":["\u52A0\u8F7D\u4E2D\u2026","Loading\u2026"],"\u9084\u6C92\u6709\u5DF2\u5B58\u8996\u5716\uFF1B\u5728 Dinox \u684C\u9762\u7248\u5EFA\u7ACB\u5F8C\u5373\u53EF\u5D4C\u5165":["\u8FD8\u6CA1\u6709\u5DF2\u5B58\u89C6\u56FE\uFF1B\u5728 Dinox \u684C\u9762\u7248\u521B\u5EFA\u540E\u5373\u53EF\u5D4C\u5165","No saved views yet. Create one in the Dinox desktop app to embed it"],"\u7121\u6CD5\u8F09\u5165\u8996\u5716\uFF1A{error}":["\u65E0\u6CD5\u52A0\u8F7D\u89C6\u56FE\uFF1A{error}","Couldn't load the view: {error}"],\u5D4C\u5165\u7DB2\u9801:["\u5D4C\u5165\u7F51\u9875","Embed web page"],\u6587\u737B\u5F15\u7528:["\u6587\u732E\u5F15\u7528","Citation"],\u601D\u7DAD\u5C0E\u5716:["\u601D\u7EF4\u5BFC\u56FE","Mind map"],\u4E3B\u984C:["\u4E3B\u9898","Topic"],\u60F3\u6CD5\u4E00:["\u60F3\u6CD5\u4E00","Idea one"],\u7D30\u7BC0:["\u7EC6\u8282","Detail"],\u60F3\u6CD5\u4E8C:["\u60F3\u6CD5\u4E8C","Idea two"],\u60F3\u6CD5\u4E09:["\u60F3\u6CD5\u4E09","Idea three"],"\u8CBC\u4E0A\u7DB2\u5740\uFF0C\u4F8B\u5982 YouTube \u6216 Bilibili \u5F71\u7247":["\u7C98\u8D34\u7F51\u5740\uFF0C\u4F8B\u5982 YouTube \u6216 Bilibili \u89C6\u9891","Paste a URL, such as a YouTube or Bilibili video"],\u5D4C\u5165:["\u5D4C\u5165","Embed"],\u5EFA\u7ACB\u66F8\u7C64:["\u521B\u5EFA\u4E66\u7B7E","Create bookmark"],\u5730\u9EDE\u540D\u7A31:["\u5730\u70B9\u540D\u79F0","Place name"],"\u5730\u5740\uFF08\u9078\u586B\uFF09":["\u5730\u5740\uFF08\u9009\u586B\uFF09","Address (optional)"],\u5728\u5730\u5716\u4E2D\u958B\u555F:["\u5728\u5730\u56FE\u4E2D\u6253\u5F00","Open in maps"],\u9078\u64C7\u8996\u5716:["\u9009\u62E9\u89C6\u56FE","Choose a view"],\u641C\u5C0B\u5DF2\u5B58\u8996\u5716:["\u641C\u7D22\u5DF2\u5B58\u89C6\u56FE","Search saved views"],\u958B\u555F\u539F\u5716:["\u6253\u5F00\u539F\u56FE","Open original"],\u5728\u700F\u89BD\u5668\u958B\u555F:["\u5728\u6D4F\u89C8\u5668\u6253\u5F00","Open in browser"],\u5F71\u7247\u7121\u6CD5\u64AD\u653E:["\u89C6\u9891\u65E0\u6CD5\u64AD\u653E","This video can't be played"],\u4E0B\u8F09:["\u4E0B\u8F7D","Download"],\u672A\u547D\u540D\u6A94\u6848:["\u672A\u547D\u540D\u6587\u4EF6","Untitled file"],\u6A94\u6848\u9023\u7D50\u7121\u6548:["\u6587\u4EF6\u94FE\u63A5\u65E0\u6548","File link is invalid"],\u6309\u5169\u4E0B\u958B\u555F:["\u53CC\u51FB\u6253\u5F00","Double-click to open"],"\u8CBC\u4E0A\u7DB2\u5740\uFF0C\u5EFA\u7ACB\u7DB2\u9801\u66F8\u7C64":["\u7C98\u8D34\u7F51\u5740\uFF0C\u521B\u5EFA\u7F51\u9875\u4E66\u7B7E","Paste a URL to create a web bookmark"],\u7DE8\u8F2F\u9023\u7D50:["\u7F16\u8F91\u94FE\u63A5","Edit link"],"\u8CBC\u4E0A\u7DB2\u5740\uFF0C\u5D4C\u5165\u7DB2\u9801":["\u7C98\u8D34\u7F51\u5740\uFF0C\u5D4C\u5165\u7F51\u9875","Paste a URL to embed a page"],\u63DB\u4E00\u500B\u8996\u5716:["\u6362\u4E00\u4E2A\u89C6\u56FE","Choose another view"],\u9078\u64C7\u4E00\u500B\u5DF2\u5B58\u8996\u5716:["\u9009\u62E9\u4E00\u4E2A\u5DF2\u5B58\u89C6\u56FE","Choose a saved view"],\u9019\u500B\u8996\u5716\u5DF2\u88AB\u522A\u9664:["\u8FD9\u4E2A\u89C6\u56FE\u5DF2\u88AB\u5220\u9664","This view was deleted"],\u9019\u500B\u8996\u5716\u7684\u8A2D\u5B9A\u7121\u6CD5\u8B80\u53D6:["\u8FD9\u4E2A\u89C6\u56FE\u7684\u8BBE\u7F6E\u65E0\u6CD5\u8BFB\u53D6","This view's settings can't be read"],\u6C92\u6709\u7B26\u5408\u7684\u7B46\u8A18:["\u6CA1\u6709\u7B26\u5408\u7684\u7B14\u8BB0","No matching notes"],"\u9084\u6709 {n} \u5247":["\u8FD8\u6709 {n} \u6761","{n} more"],"\u7B2C {n} \u9801":["\u7B2C {n} \u9875","Page {n}"],\u7A7A\u767D\u7684\u601D\u7DAD\u5C0E\u5716:["\u7A7A\u767D\u7684\u601D\u7EF4\u5BFC\u56FE","Empty mind map"],\u505C\u6B62\u5206\u4EAB:["\u505C\u6B62\u5206\u4EAB","Stop sharing"],\u516C\u958B\u72C0\u614B:["\u516C\u5F00\u72B6\u6001","Visibility"],\u5206\u4EAB\u9023\u7D50:["\u5206\u4EAB\u94FE\u63A5","Share link"],"\u522A\u9664\u4E2D\u2026":["\u5220\u9664\u4E2D\u2026","Deleting\u2026"],"\u522A\u9664\u5931\u6557\uFF1A{error}":["\u5220\u9664\u5931\u8D25\uFF1A{error}","Could not delete: {error}"],"\u522A\u9664\u5F8C\u6703\u5C07\u7B46\u8A18\u6A19\u8A18\u70BA\u522A\u9664\uFF0C\u7A0D\u5F8C\u540C\u6B65\u6642\u751F\u6548\u3002":["\u5220\u9664\u540E\u4F1A\u5C06\u7B14\u8BB0\u6807\u8BB0\u4E3A\u5220\u9664\uFF0C\u7A0D\u540E\u540C\u6B65\u65F6\u751F\u6548\u3002","The note will be marked as deleted and removed on the next sync."],\u532F\u51FA:["\u5BFC\u51FA","Export"],"\u532F\u51FA\u5931\u6557\uFF1A{error}":["\u5BFC\u51FA\u5931\u8D25\uFF1A{error}","Could not export: {error}"],\u53D6\u6D88\u7F6E\u9802:["\u53D6\u6D88\u7F6E\u9876","Unpin"],\u5DF2\u505C\u6B62\u5206\u4EAB:["\u5DF2\u505C\u6B62\u5206\u4EAB","Stopped sharing"],"\u5DF2\u532F\u51FA {name}":["\u5DF2\u5BFC\u51FA {name}","Exported {name}"],\u5DF2\u53D6\u6D88\u6536\u85CF:["\u5DF2\u53D6\u6D88\u6536\u85CF","Removed from favorites"],\u5DF2\u53D6\u6D88\u7F6E\u9802:["\u5DF2\u53D6\u6D88\u7F6E\u9876","Unpinned"],\u5DF2\u5EFA\u7ACB\u5206\u4EAB\u9023\u7D50\u4E26\u8907\u88FD:["\u5DF2\u521B\u5EFA\u5206\u4EAB\u94FE\u63A5\u5E76\u590D\u5236","Share link created and copied"],\u5DF2\u6536\u85CF:["\u5DF2\u6536\u85CF","Added to favorites"],"\u5DF2\u700F\u89BD {count} \u6B21":["\u5DF2\u6D4F\u89C8 {count} \u6B21","Viewed {count} times"],\u5DF2\u79FB\u5230\u56DE\u6536\u7AD9:["\u5DF2\u79FB\u5230\u56DE\u6536\u7AD9","Moved to trash"],\u5DF2\u7F6E\u9802:["\u5DF2\u7F6E\u9876","Pinned"],\u5DF2\u8907\u88FD\u5206\u4EAB\u9023\u7D50:["\u5DF2\u590D\u5236\u5206\u4EAB\u94FE\u63A5","Share link copied"],\u5DF2\u8F49\u70BA\u7B46\u8A18:["\u5DF2\u8F6C\u4E3A\u7B14\u8BB0","Converted to a note"],\u5DF2\u8F49\u70BA\u7D20\u6750:["\u5DF2\u8F6C\u4E3A\u7D20\u6750","Converted to material"],"\u5EFA\u7ACB\u4E2D\u2026":["\u521B\u5EFA\u4E2D\u2026","Creating\u2026"],\u5EFA\u7ACB\u4E86\u5206\u4EAB\u9023\u7D50:["\u521B\u5EFA\u4E86\u5206\u4EAB\u94FE\u63A5","created a share link"],\u5EFA\u7ACB\u9023\u7D50:["\u521B\u5EFA\u94FE\u63A5","Create link"],"\u5EFA\u7ACB\u9023\u7D50\u5F8C\uFF0C\u62FF\u5230\u9023\u7D50\u7684\u4EBA\u90FD\u80FD\u5728\u7DB2\u9801\u4E0A\u95B1\u8B80\u9019\u5247\u7B46\u8A18\u3002":["\u521B\u5EFA\u94FE\u63A5\u540E\uFF0C\u62FF\u5230\u94FE\u63A5\u7684\u4EBA\u90FD\u80FD\u5728\u7F51\u9875\u4E0A\u9605\u8BFB\u8FD9\u6761\u7B14\u8BB0\u3002","Anyone with the link can read this note on the web."],"\u628A\u300C{title}\u300D\u79FB\u5230\u4E86\u56DE\u6536\u7AD9":["\u628A\u300C{title}\u300D\u79FB\u5230\u4E86\u56DE\u6536\u7AD9","moved \u201C{title}\u201D to the trash"],"\u6B63\u5728\u8B80\u53D6\u5206\u4EAB\u72C0\u614B\u2026":["\u6B63\u5728\u8BFB\u53D6\u5206\u4EAB\u72B6\u6001\u2026","Loading share status\u2026"],\u6C92\u6709\u53EF\u532F\u51FA\u7684\u5167\u5BB9:["\u6CA1\u6709\u53EF\u5BFC\u51FA\u7684\u5185\u5BB9","Nothing to export"],"\u7121\u6CD5\u8B80\u53D6\u5206\u4EAB\u72C0\u614B\uFF1A{error}":["\u65E0\u6CD5\u8BFB\u53D6\u5206\u4EAB\u72B6\u6001\uFF1A{error}","Could not load share status: {error}"],"\u78BA\u8A8D\u522A\u9664\u7B46\u8A18\uFF1F":["\u786E\u8BA4\u5220\u9664\u7B14\u8BB0\uFF1F","Delete this note?"],\u7B46\u8A18\u5DF2\u8A2D\u70BA\u516C\u958B:["\u7B14\u8BB0\u5DF2\u8BBE\u4E3A\u516C\u5F00","Note is now public"],\u7B46\u8A18\u5DF2\u8A2D\u70BA\u79C1\u6709:["\u7B14\u8BB0\u5DF2\u8BBE\u4E3A\u79C1\u6709","Note is now private"],\u7F6E\u9802:["\u7F6E\u9876","Pin"],\u7F6E\u9802\u4E86\u7B46\u8A18:["\u7F6E\u9876\u4E86\u7B14\u8BB0","pinned the note"],\u8A2D\u70BA\u516C\u958B:["\u8BBE\u4E3A\u516C\u5F00","Make public"],\u8A2D\u70BA\u79C1\u5BC6:["\u8BBE\u4E3A\u79C1\u5BC6","made it private"],\u8A2D\u70BA\u79C1\u6709:["\u8BBE\u4E3A\u79C1\u6709","Make private"],\u8F49\u70BA\u7B46\u8A18:["\u8F6C\u4E3A\u7B14\u8BB0","Convert to note"],\u8F49\u70BA\u7D20\u6750:["\u8F6C\u4E3A\u7D20\u6750","Convert to material"],\u9023\u7D50\u5DF2\u904E\u671F:["\u94FE\u63A5\u5DF2\u8FC7\u671F","Link expired"],\u91CD\u8A66:["\u91CD\u8BD5","Retry"],"Dinox \u5916\u639B\u5DF2\u66F4\u65B0\uFF0C\u8ACB\u5B8C\u5168\u7D50\u675F DeepSeek Harness \u5F8C\u91CD\u65B0\u958B\u555F":["Dinox \u63D2\u4EF6\u5DF2\u66F4\u65B0\uFF0C\u8BF7\u5B8C\u5168\u9000\u51FA DeepSeek Harness \u540E\u91CD\u65B0\u6253\u5F00","The Dinox plugin was updated. Quit DeepSeek Harness completely and open it again."],\u9700\u8981\u5BC6\u78BC:["\u9700\u8981\u5BC6\u7801","Password required"],\u985E\u578B:["\u7C7B\u578B","Type"],\u7B46\u8A18\u5217\u8868:["\u7B14\u8BB0\u5217\u8868","Notes"],\u6253\u958B\u7B46\u8A18\u5217\u8868:["\u6253\u5F00\u7B14\u8BB0\u5217\u8868","Show notes"],\u6536\u8D77\u7B46\u8A18\u5217\u8868:["\u6536\u8D77\u7B14\u8BB0\u5217\u8868","Hide notes"],"\u641C\u5C0B\u7B46\u8A18\uFF0C#\u6A19\u7C64 \u7BE9\u9078":["\u641C\u7D22\u7B14\u8BB0\uFF0C#\u6807\u7B7E \u7B5B\u9009","Search notes, #tag to filter"],"\u518D\u8F09\u5165 {n} \u5247":["\u518D\u52A0\u8F7D {n} \u6761","Load {n} more"]};var nN=()=>{let e=globalThis.navigator;return[...e?.languages??[],e?.language??""]},og=eA(nN());function qo(){return og}function rN(e){return og=eA([e,...nN()]),og}function ne(e,t){return tA(nA,og,e,t)}function iN(e){return Db(nA,og,e)}var Kr=class extends Error{constructor(t){let n=Error,r=n.stackTraceLimit;r&&(n.stackTraceLimit=0),super(),r&&(n.stackTraceLimit=r),this.source=t}},cl=class extends Error{constructor(t,n){try{var r=String(n instanceof Error?n.message:n)}catch{}super(r,{cause:n}),this.source=t}};function rA(e){return e instanceof cl?e.cause:e}var Lb=class extends Error{constructor(){super("")}},Pb=class extends Error{constructor(){super("")}};var dn={},iA={},oA=typeof Proxy=="function",sg={},Bb=Symbol("refresh"),au=Set;function aA(e){let t=e.pe;for(;t;)t.R|=32,aA(t),t=t.Ge}var Fb;function ag(e){try{e()}catch(t){Fb||=[t],_r()}}function Hb(e){let t=Fb;if(Fb=void 0,t&&!e)throw t[0]}function ul(e,t=!1,n){let r=e.R;if(r&64)return;t&&(!n&&e.T!==null&&(e.T.me!==null||e.T.Le!==null)&&ul(e,!1,!0),e.R=r|64,e.X&&(dg(e),(e.m&1&&e.T?.Re!=null||r&2048||Xs.length)&&_r()));let i=n?e.T.me:e.pe;for(n?e.T.me=null:e.pe=null;i;)i.l&=-33,Zs(i,Cr),ug(i),i.Me=i,ul(i,!0),i=i.Ge;if(n||(e.be=0),t&&!n&&!(r&32)&&e._parent!==null&&!(e._parent.R&64)){let o=e.Me,s=e.Ge;o!==null?o.Ge=s:e._parent.pe=s,s!==null&&(s.Me=o),e.Me=null}if(Bne(e,n),t&&e.ze){let o=e.ze;e.ze=void 0,ag(o)}}function zb(e,t){let n=e.pe;t.Me=null,t.Ge=n,n!==null&&(n.Me=t),e.pe=t}function Bne(e,t){let n=t?e.T.Le:e.ke;if(n)if(t?e.T.Le=null:e.ke=null,Array.isArray(n))for(let r=n.length-1;r>=0;r--)ag(n[r]);else ag(n)}function Fne(e,t){for(;e.l&4&&e._parent;)e=e._parent;if(e.id!=null)return Hne(e.id,t?e.be++:e.be);throw new Error}function Vb(e){return Fne(e,!0)}function jb(e,t,n){return e?.id??(t?n?.id:n?.id!=null?Vb(n):void 0)}function Hne(e,t){let n=t.toString(36),r=n.length-1;return e+(r?String.fromCharCode(64+r):"")+n}function $o(){return Ai?Dn:null}function zr(){return Dn}function qb(e,t=Dn){return t&&(t.ke?Array.isArray(t.ke)?t.ke.push(e):t.ke=[t.ke,e]:t.ke=e),e}function cg(e){return!!(e.R&64)}function oN(e=!0){ul(this,e),Fb&&!wr.Y&&Hb()}function Ys(e){let t=Dn,n=e?.transparent??!1,r={id:jb(e,n,t),l:n?4:0,R:0,Qe:!0,Ke:t?.Qe?t.Ke:t,pe:null,Ge:null,Me:null,ke:null,A:t?.A||sg,be:0,T:null,_parent:t,dispose:oN};return t&&zb(t,r),r}function Wb(e,t){let n=Ys(t);return gi(n,()=>e(oN.bind(n,!0)))}var fA=null,jr=null,hA=null,pA=null,zne=null,Kb=null,Vne=null,jne=null,qne=null,Dh=null;var hl=null,t2=!1;var Wne=null,Cd=null,Une=null,Kne=null,mA=null;var n2=null,fN=null;function hN(e,t){n2=e,fN=t}var aN=null,Gne=null;var ni=null,Ea=null,gA=null,yA=null,pN=null,bA=null,Gb=null,r2=null;var mN,wA;var lu=[];function Yne(e,t=null){let n={ln:[],rn:[[],[]],fn:[],eo:null,_parent:t,P:e,Pe:null,tt:0,nt:!1,nn:null,Ue:!1,un:!1,I:null};return e||lu.push(n),n}var fr=null;function Ad(e){fr=e}var Vr=null,uc=null;function bg(e,t){if(wr.Y&&!t||Vr!==null)return Ts(e);uc===null?uc=Qi(e):gN(Qi(e),uc),_r()}function xr(e){return e.T.Re=Qi(e.T.Re)}function Xne(e){return e=Qi(e),lu.indexOf(e)!==-1?e:null}function Qi(e){for(;e.eo!==null;)e=e.eo;return e}function Ts(e){if(jr&&e?.P)return;let t=Vr;t===null?Vr=e===null?Yne(!1):Qi(e):e!==null&&gN(Qi(e),t),wr.Y||_r()}var xA=[];function gN(e,t){e=Qi(e),t=Qi(t),!(e===t||e.P||t.P)&&(ni&&SA&&xA.push(e,t.nt),e.eo=t,t.tt+=e.tt,t.nt||=e.nt,Sd(t.ln,e.ln),Sd(t.rn[0],e.rn[0]),Sd(t.rn[1],e.rn[1]),Sd(t.fn,e.fn),e.I!==null&&Sd(t.I??=[],e.I),lu.splice(lu.indexOf(e),1))}function Zne(e){return e.tt!==0||Jne(e.ln,e)||!!qne?.(e)}var lN=null;function Jne(e,t,n){for(let r=0;r<e.length;r++){let i=e[r];if(!(!(i.m&1)||i.R&64||i.l&8192||i.T.Re!==null&&xr(i)!==t||n&&!n(i,t)||t2&&t.P&&i.T.se&&Rh(i))){if(i.i===1){if(!(ni&&i.l&-2147483648&&!t.P)&&cN(i,lN??t))return!0;continue}for(let o=i.o;o!==null;o=o.t){let s=o.u;if((s.i===1&&s.m&1&&!(ni&&s.l&-2147483648&&!t.P)||s.R&2048||s.l&16384&&s.m===1)&&(o.Ne===s.de||s.T?.U!=null)&&!(s.R&64)&&cN(s,lN??t))return!0}}}return!1}function cN(e,t){return!Une?.(e)&&!(e.R&32&&Qne(e,t))}function Qne(e,t){for(;e?.R&32;)e=e._parent;return e?.l&256&&e.T?.Re!=null&&xr(e)===Qi(t)}var fg=[];function yN(e){fg.push(e)}var Ub=[];function bN(e){Zs(e,Cr),e.R&=-4,Ub.push(e)}function pl(e,t){e.l|=256,i2(e,t)}function i2(e,t){let n=Mi(e);n.Re!==t&&(n.Re=t,t.ln.push(e))}function wN(e,t){for(let n=e.pe;n!==null;n=n.Ge)n.T?.Re?.P||(n.X!==void 0&&(n.l&256||pl(n,t),n.l|=1048576),wN(n,t))}function xN(e){e.T.Re=null,e.l&=-257}var Cr={et:new Array(2e3).fill(void 0),p:!1,Fe:0,Et:0},Gr=0,Yb=!1,Xb=!1,uN=!1,lA=0;var vA=0;var Md=0;function wg(e){Md=e}var vN=2147483647;function _r(){if(Xb){ere();return}Yb||(Yb=!0,!lA&&!wr.Y&&queueMicrotask(xn))}var o2=Symbol.for("solid-js/root-error-hook"),kN="[REACTIVITY_HALTED]";function SN(e){if(Xb)return;Xb=!0,Hb(!0);let t=kN,n=e!==void 0&&globalThis.reportError;n||e===void 0?console.error(t):console.error(t,e),n&&n(e)}function ere(){uN||(uN=!0,console.error(kN))}var mo=class e{rn=[[],[]];Y=!1;flush(){if(!this.Y){this.Y=!0,$N(),fr=null,uc=null;try{MN(),Gb&&Gb(),cA(Cr,e._e),this.settle(),Gr++,Yb=Cr.Et>=Cr.Fe||Xs.length!==0,this.run(1),this.run(2)}finally{this.Y=!1,uc=null}}}settle(){Vne?.()&&cA(Cr,e._e);let t=Vr;Vr=null,zne?.(t);let n=t!==null&&!t.P?Qi(t):null;if(n!==null){let a=Xs.length;for(let c=0;c<a;c++){let u=Xs[c];if(!(u.l&2304)&&(u.T===null||u.T.Re===null||!u.T.Re.P)){if(u.ue===dn&&u.m&4&&u.i!==1)continue;if(u.ue!==dn&&!(u.m&5)&&u.T?.me==null&&u.T?.Le==null&&!u.T?.Te&&xg(u,u.le,u.ue)){u.ue=dn,u.l&=-129;continue}pl(u,n)}u.l&128&&wN(u,n)}Xs.length=0,n2?.(n);let l=Ub.splice(0);if(ni){l.sort((c,u)=>c.he-u.he);for(let c=0;c<l.length;c++)(l[c].R&96)===32&&l[c].l&32768&&As(l[c])}}else{ore();for(let a=0;a<fg.length;a++){let l=fg[a];l.T?.U==null&&!l.Ae&&gl(l)}}fg.length&&(fg.length=0);let r=this.rn,i=null;Kb&&(this.rn=i=[[],[]],Kb(n),Zb.length&&(Zb.length=0)),this.rn=[[],[]];for(let a=lu.length-1;a>=0;a--){let l=lu[a];Zne(l)||(lu.splice(a,1),jne?.(l),nre(l),a=lu.length)}fN?.();let o=n&&Xne(n);Gne?.(o);let s=o!==null;for(let a=0;a<2;a++)s&&Sd(o.rn[a],r[a]),this.rn[a]=s||i?.[a].length||this.rn[a].length?(i?i[a]:[]).concat(s?[]:r[a],this.rn[a]):r[a];if(Ub.length!==0){let a=Ub.splice(0).sort((l,c)=>l.he-c.he);for(let l=0;l<a.length;l++)a[l].R&64||As(a[l])}Kne?.()}run(t){let n=this.rn[t-1];n.length&&(this.rn[t-1]=[],sre(n,t))}enqueue(t,n,r=fr){t&&(r?.P?r:this).rn[t-1].push(n),_r()}notify(t,n,r,i){return Wne?.(t,r&n,i)?!0:n&1?(r&1&&fr===null&&Ts(null),!0):!1}};function tre(e){let t;for(let n=0;n<e.fn.length;n++){let r=e.fn[n],i=r.T?.U?.source;if(!(r.R&64||r.m&2&&(r.i||!(r.l&8388608))&&i!==r&&(i?.m??2)&2)&&(r.R&2048||ni&&r.l&32768)){t=1,e.P||(r.R&=-2049),r.Ae=!1;for(let o=r.pe;o!==null;o=o.Ge)o.i&&(o.Ae=!1);Dh?.(r),Wo(r)}}return e.fn.length=0,t}function nre(e){let t=tre(e);aN&&e.I!==null&&aN(e.I);for(let n=0;n<e.ln.length;n++){let r=e.ln[n];r.T.Re===null||xr(r)!==e||(r.T.Re=null,AN(r))}Vr===e&&(Vr=null),t?wr.rn[1].push(()=>dN(e)):dN(e)}function dN(e){for(let t=0;t<2;t++)Sd(wr.rn[t],e.rn[t]),e.rn[t]=[]}function Sd(e,t){for(let n=0;n<t.length;n++)e.push(t[n])}var Xs=[],_N=[],Zb=[];function s2(e,t){t.fn.push(e),e.R|=2048}function dc(e){Xs.push(e),wr.Y||TN()}var Lh=0;function a2(){Lh++}function ml(e){e.we=Lh;let n=(e.l&512)!==0&&e.T?.De!==void 0;for(let r=e.o;r!==null;r=r.t){let i=r.u;if(i.R&4&&r.Ne===i.de&&(r!==i._||!e.X)&&(i.R|=4096),n&&i.l&8){i.R|=256;continue}Wo(i),i.R&8388608&&Td(i._parent,1)}}function Rh(e,t=new au){return[...e.T.se??[e]].every(n=>n===e?n.T.Ve:t.has(n)||(t.add(n),Rh(n,t)))}function CN(e,t){ml(e),e.l&4096&&mo.lo?.(e,t);for(let n=e.o;n!==null;n=n.t){let r=n.u,i=r.T?.Re,o=r.i===1,s;(r.m&5)===1&&(i?(r.l&2304)===256:o)&&(s=!!i&&Qi(i)===Qi(t._parent),r.i?o&&!s&&Rh(r):s||Rh(r))&&i2(r,i=t),o&&e.l&32768&&(r.l|=32768,r.R&=-65537),(i?.P?rre(i,t):r.i)&&(r.R|=65536)}}function kA(e){e.Ae=!0,wr.enqueue(e.i,e.W??=mo.q.bind(null,e))}function rre(e,t){return e===t||e.nn!==null&&e.nn===t.nn}function Jb(e){return e.ue!==dn&&(e.le=e.ue,e.ue=dn)}function ire(e){return!(e.m&4)&&!!e.T?.Ee&&!e.T.Ve&&(e.ue=dn,!0)}function AN(e){if(!e.X){e.l&=-385,Jb(e);return}let t=(e.m&1)!==0&&(e.ue===dn||ire(e)),n=e.l&2097152;if(!t&&e.T&&(e.T.Te=null),e.l=t?e.l&-1048833|1024:e.l&-3147137,n){let r=e.ue;e.ue=dn,e.ie=Gr+1,uu(e,2,r)}else Jb(e)&&(e.m&=-5,e.T!=null&&(e.T.Ve=!1,e.T.je=dn),e.i&&e.i!==3&&kA(e));e.Ie=!1,e.R&=-1025,e.T?.U==null&&gl(e),e.m&1||(e.m&=-5),!t&&e.T!=null&&(e.T.me!==null||e.T.Le!==null)&&mo.Ce(e,!1,!0)}function ore(){for(let e=0;e<Xs.length;e++){let t=Xs[e];t.l&2304||AN(t)}Xs.length=0}var wr=new mo;function xn(e){if(vA>0)return e?e():void 0;if(e){lA++;try{return e()}finally{try{xn()}finally{lA--}}}if(!wr.Y&&!Xb){for(;Yb;)wr.flush();Hb()}}function sre(e,t){for(let n=0;n<e.length;n++)e[n](t)}function Wo(e){Cr.Fe>e.he&&(Cr.Fe=e.he),Bh(e,Cr)}function EN(e,t){let n=(e._parent?.Qe?e._parent.Ke?.he:e._parent?.he)??-1;n>=e.he&&(e.he=n+1);let r=e.he,i=t.et[r];if(i===void 0)t.et[r]=e;else{let o=i.We;o.ve=e,e.We=o,i.We=e}r>t.Et&&(t.Et=r)}function Bh(e,t){let n=e.R;n&12||(n&1?e.R=n&-4|2|8:(e.R=n|8,t.p&&Td(e)),n&16||EN(e,t))}function l2(e,t){let n=e.R;n&28||(e.R=n|16,EN(e,t))}function Zs(e,t){let n=e.R;if(!(n&24))return;e.R=n&-25;let r=e.he;if(e.We===e)t.et[r]=void 0;else{let i=e.ve,o=t.et[r],s=i??o;e===o?t.et[r]=i:e.We.ve=i,s.We=e.We}e.We=e,e.ve=void 0}function IN(e){if(!e.p){e.p=!0;for(let t=0;t<=e.Et;t++)for(let n=e.et[t];n!==void 0;n=n.ve)n.R&8&&Td(n)}}function Td(e,t=2){let n=e.R;if(!((n&3)>=t)){e.R=n&-4|t;for(let r=e.o;r!==null;r=r.t)Td(r.u,1)}}function cA(e,t){for(e.p=!1,e.Fe=0;e.Fe<=e.Et;e.Fe++){let n=e.et[e.Fe];for(;n!==void 0;)n.R&8?t(n):are(n,e),n=e.et[e.Fe]}e.Et=0}function are(e,t){Zs(e,t);let n=e.he;for(let r=e.C;r;r=r.G){let i=r.S;i.X&&i.he>=n&&(n=i.he+1)}if(e.he!==n){e.he=n,vg(e,n);for(let r=e.o;r!==null;r=r.t)r.u!==e._parent&&l2(r.u,t)}}function vg(e,t){for(let n=e.pe;n;n=n.Ge)if(n.Qe)vg(n,t);else if(n.he<=t){let r=n.R&24;Zs(n,Cr),n.he=t+1,r&&(r&8?Bh:l2)(n,Cr),vg(n,t+1)}}var RN;function NN(e){RN=e}function lre(e){let t=e.S,n=e.G,r=e.t,i=e.en;return r!==null?r.en=i:t.Ze=i,i!==null?i.t=r:(t.o=r,r===null&&(t.l&4096?RN(t):t.T?.Ye&&ag(t.T.Ye),t.X&&t.l&32&&!(t.R&32)&&!(t.m&1)&&(Sg?Sg.push(t):Eh(t)))),n}function gl(e){let t=e._,n=t!==null?t.G:e.C;if(n!==null){do n=lre(n);while(n!==null);t!==null?t.G=null:e.C=null}}function ug(e){e.C&&(e._=null,gl(e))}var Sg=null,_A=e=>Sg=e;function Eh(e){Zs(e,Cr),ug(e),ul(e,!0)}var kg=new au;function MN(){if(kg.size!==0){for(let e of kg)!e.o&&e.l&32&&!(e.m&1)&&!(e.R&96)&&Eh(e);kg.clear()}}function $d(e,t){let n=t._;if(n!==null&&n.S===e)return;let r=null,i=t.R&4;if(i&&(r=n!==null?n.G:t.C,r!==null&&r.S===e))return r.Ne=t.de,t._=r;let o=e.Ze;if(o!==null&&o.u===t&&(!i||o.Ne===t.de))return;let s=t._=e.Ze={S:e,u:t,G:r,en:o,t:null,Ne:t.de};n!==null?n.G=s:t.C=s,o!==null?o.t=s:e.o=s,a2()}function u2(e,t){return e.T?.se?.has(t)?!1:((Mi(e).se??=new au).add(t),!0)}function MA(e,t){let n=e.T?.se;return n?.delete(t)?(n.size||(e.T.se=void 0),!0):!1}function dg(e){e.T!==null&&(e.T.Ee=null)}function $A(e){e.T!==null&&(e.T.se=void 0)}function EA(e,t){for(let n=e.C;n;n=n.G){let r=n.S;if(!(r.R&64)&&(r===t?r.m&1:r.T?.se?.has(t)))return!0}return!1}function IA(e,t){Mi(e).fe=!0,t.source&&u2(e,t.source),e.m&2||Ed(e,t.source,t)}function Ed(e,t,n){if(!t){e.T!==null&&(e.T.U=null);return}let r=n instanceof Kr&&n.source===t?n:e.T?.U;Mi(e).U=r instanceof Kr&&r.source===t?r:new Kr(t)}function _g(e,t){for(let n=e.o;n!==null;n=n.t)t(n.u,n)}function RA(e,t){let n=new au,r=i=>{let o=n.has(i);t(i,o)!==!1&&!o&&(n.add(i),_g(i,r))};_g(e,r)}function Cg(e){e.X&&e.l&32&&!e.o&&!(e.R&32)&&!(e.m&1)&&(e.R&8?e.R|=4194304:Eh(e))}function cre(e){let t;if(RA(e,(n,r)=>{!r&&!n.o&&n.l&32&&(t??=[]).push(n)}),t)for(let n of t)Cg(n)}function NA(e,t,n){return!(e.l&256||n&&e.R&16384&&wr.Y&&!e.rr)||fr?!1:($A(e),e.T&&(e.T.fe=!1),(e.m&=6)&2||Ed(e),e.ue=t instanceof cl?t:new cl(e,t),e.l|=2097280,Ra(e),_r(),!0)}function ON(e,t){let n=!1;RA(e,(r,i)=>{!i&&r.T?.U===t&&(Wo(r),n=!0)}),n&&_r()}function Ra(e,t=e){MA(e,t);let n=!1,r;if(RA(e,(i,o)=>{if(o||t!==e&&EA(i,t)||!MA(i,t))return Ea&&(i.l&32768?Wo(i):gA(i,e)),!1;i.ie=Gr;let s=i.T?.se?.values().next().value,a=i.m&2;s?a||Ed(i,s):(i.m&=-2,a||Ed(i),i.l&256&&!(t.m&1)&&Ts(xr(i)),i.T?.fe?(Wo(i),n=!0):n2&&i.rr?.st(),i.T!==null&&(i.T.fe=!1),!i.o&&i.l&32&&(r??=[]).push(i),gA?.(i,e))}),r)for(let i of r)Cg(i);n&&_r()}function AA(e){return e!=null&&typeof e=="object"&&typeof e.then=="function"}function DN(e){let t=e.T?.Se;t!=null&&(e.T.Se=null,t())}function LN(e,t,n,r,i){try{n(t)}catch(o){return i(o),!1}return e.l&256||(e.T.Te=null,e.l&=-1025),r&&PN(e,!0),!0}function d2(e,t,n,r){let i=!1,o=!1;if(typeof t=="object"&&t!==null&&_n(()=>{i=t[Symbol.asyncIterator],o=!i&&AA(t)}),!o&&!i)return e.T!==null&&(e.T.Ee=null,Ea&&(e.l&=-536870913)),e.Ie=!1,t;Mi(e).Ee=t,Ea&&(e.l|=536870912),e.T.ce=Md||vN,e.T.se=void 0;let s,a=h=>{if(e.T?.Ee!==t)return;let p=h instanceof Kr;if(p&&e.Ie){dg(e),IA(e,h),e.ie=Gr;return}(p||!NA(e,h))&&(uu(e,p?1:2,h),p||ul(e,!1,!0)),p&&Ra(e),e.ie=Gr,p||cre(e),r?.(h,p)},l=(h,p)=>{if(e.T?.Ee!==t||e.R&2&&!(Ea&&e.m&4))return;let m=Ea&&Xs.some(g=>g.ue!==dn),y=e.m&4;if(PN(e),n){if(!n(h,y,a))return}else go(e,()=>h);e.ue===dn&&(e.Ie=!1,gl(e)),Ra(e),_r(),(p||!m)&&xn(),p?.()},c=()=>e.l&32&&!e.o&&!(e.m&1)?(Eh(e),!0):!1,u=(h,p)=>{let m=h[Symbol.asyncIterator](),y=!1,g=!1,x=!p,w=()=>{if(!g){g=!0;try{let L=m.return?.();AA(L)&&L.then(void 0,()=>{})}catch{}}};qb(w,p),Mi(e).Se=w;let k=()=>{try{c()||$()}catch(L){a(L)}},$=()=>{let L,P,N=!1,_=!1,Z=!0,ue=m.next();if((AA(ue)?ue:{then:U=>void U(ue)}).then(U=>{if(Z&&x)L=U,N=!0,U.done&&(g=!0);else{if(e.T?.Ee!==t)return;U.done?(g=!0,y?(_r(),xn()):l(void 0),c()):(y=!0,l(U.value,k))}},U=>{Z&&x?(P=U,_=!0):e.T?.Ee===t&&(g=!0,a(U),c())}),Z=!1,_){if(g=!0,a(P),x)throw P;return!0}return N&&!L.done?(s=L.value,y=!0,$()):N&&L.done},C=$();return x=!1,y||C},f=null,d=(h,p)=>{let m=!1;if(typeof h=="object"&&h!==null&&_n(()=>{m=h[Symbol.asyncIterator]}),!m)return!1;s=void 0;let y=u(h,p);return p||(f=y),!0};if(o){let h=!1,p=!1,m,y=!0;if(t.then(g=>{if(y)s=g,h=!0;else{try{if(e.T?.Ee===t&&!(e.R&64)&&d(g,e))return;l(g)}catch(x){a(x)}c()}},g=>{y?(m=g,p=!0):(a(g),c())}),y=!1,p)throw a(m),m;h?d(s)||(e.Ie=!1):f=!1}if(i&&d(t),f!==null){if(!f){if(e.Ie)return e.le;throw new Kr(Dn)}e.Ie=!1}return s}function OA(e,t=!1){e.T?.se&&$A(e),e.T?.fe&&(e.T.fe=!1),e.m=t?0:e.m&4,e.T?.U&&Ed(e);let n=LA(e);n&&n.call(e)}function PN(e,t=!1){let n=e.T?.se;n&&(n.delete(e),n.size)?(e.T.fe=!1,t&&(e.m=1),Ed(e,n.values().next().value)):OA(e,t)}function uu(e,t,n){t===2&&!(n instanceof cl)&&!(n instanceof Kr)&&(n=new cl(e,n));let r=t===1&&n instanceof Kr&&n.source;if(r?(e.m&2&&(e.T.Te=e.T.U),u2(e,r)):$A(e),e.m=t|(t===2?e.m&12?8:0:t===1&&e.m&8?4:e.m&4),r?Ed(e,r,n):Mi(e).U=n,t2&&t===1&&e.l&8192){fr===null&&Ts(e.R&8192?null:xr(e)._parent);return}let i=LA(e);if(i){i.call(e);return}DA(e,t,n)}function DA(e,t,n){let r=t===1&&n instanceof Kr&&n.source;_g(e,(i,o)=>{if(i.ie=Gr,i.l&16384||Ea&&(i.l&32768||r&&i.l&2097152)&&!(r&&Ea(i,e))||t===1&&o.Ne!==i.de){t!==1&&MA(i,e)&&Ra(i,e),Wo(i),_r();return}if(r&&i.T?.se?.has(r)){fr===null&&(i.l&2304)===256&&wr.Y&&!Cd?.(i,r.ie===Gr)&&Ts(xr(i));return}(r||t!==1&&(i.T?.U!==n||i.T?.se))&&(jr&&fr!==null?jr(i,fr,!0,e):(dc(i),t===1&&(i.l&2304)===256&&!i.i&&(t2&&i.m&1&&Rh(i)?xN(i):Ts(xr(i)))),uu(i,t,n),i.rr?.st(t,n))})}mo._e=e=>{e.i===3?(Zs(e,Cr),e.Ae=!0,wr.enqueue(2,e.Z)):e.R&32&&!(e.R&65536)?bN(e):jr&&e.R&32&&mre(e)?(Zs(e,Cr),e.R&=-65540):Dh&&e.T?.He&&Dh(e,1)||As(e)};function mre(e){let t=e._parent;for(;t.R&32;)t=t._parent;return(t.l&10240)===2048||t.i&&t.T?.Re?.P}mo.Ce=ul;var Ai=!1,Dn=null,hc=!1,PA,gre=null;function KN(e){for(;e;){if(e.Oe)return!0;e=e._parent}return!1}function As(e,t=!1){a2();let n=e.i,r,i=dn,o=fr,s=PA,a=jr&&(PA=t&&(o||s));if(Dh&&!t&&e.T){let _=e.T.He;(_?_!==e.T.Ee&&(e.T.He=void 0,1):e.l&2048&&!(e.R&65536))&&Dh(e,2)}if(jr){let _=t?VA(Dn):null,Z=_?.R|0;(Z&32768||_&&(_.l&16777216&&_.m&4||_.i===1&&_._&&GN(_,ue=>ue.l&32768,_._)))&&(e.l|=16777216),Ad((e.R&65536||(e.l&10240)===2048)&&e.T?.Re?.P?e.T.Re:o?._parent.Pe!=o&&Z&4?o:null)}let l=e.l&2097152,c;if(!t){if(Zs(e,Cr),jr&&!n&&(e.m&1||(e.l&1610612992)===536871168)&&(e.l&=-32769),e.T!==null&&(e.T.Ee=null,DN(e)),e.l&256){let _=xr(e);_.P||e.l&524288||(!(e.l&(32768|1<<23))||ni&&!(e.l&1<<23)&&g2(e,_)?bg(_,Cd?.(e,e.m&4)):_!==Vr&&!(e.m&4||e.l&1048576)&&((i=e.ue)!==dn&&ml(e),e.ue=dn,e.l&=-257))}if(n===3||e.l&128){let _=Sg;_A(r=[]),ul(e),_A(_)}else(e.pe!==null||e.ke!==null)&&yre(e);r2&&(c=e.C!==null,e.T!==null&&(e.l&2097152||e.T.Ft!==void 0)&&r2(e)),e.l&2097152&&(e.ue=dn,e.l^=2097152)}let u=e.m&4,f=e.m&2&&e.T?.U,h=(e.m&1)!==0&&e.T?.se,p=e.T?.se?.has(e),m=!1,y=(e.R&8192)!==0&&!((e.m&1||e.ue!==dn&&!(e.R&1024))&&e.T!==null&&!e.T.Ve),g=Dn;Dn=e,e._=null,e.de++;let x=e.R&4194304;e.R=4|e.R&8224,e.ie=Gr;let w=e.ue!==dn?e.ue:e.le,k=e.he,$=!1,C=!1,L=Ai;Ai=!0;try{if(e.l&64)w=e.X(w),e.T!==null&&(e.T.Ee=null),e.Ie=!1;else{let _=e.T?.Ee,Z=e.X(w),ue=typeof Z=="object"&&Z!==null,J=e.T?.Ee!==_;w=J||!ue?Z:d2(e,Z),!J&&!ue&&(e.T!==null&&(e.T.Ee=null,Ea&&(e.l&=-536870913)),e.Ie=!1)}(e.m!==0||e.T!==null)&&!(hl&&e.m&1&&hl(e,null,!0))&&OA(e,t)}catch(_){let Z=_ instanceof Kr;if(Ea&&(!Z||e.Ie)&&(e.l&=-536870913),Z&&e.Ie)IA(e,_);else if((Z||!(m=NA(e,_,!0)))&&(Z&&(Mi(e).fe=!0),uu(e,Z?1:2,_),Z&&p&&!e.T?.Ee&&Ra(e)),(Z||m)&&h)for(let ue of h)ue!==e&&!(e.T?.se?.has(ue)&&(ue.m&1||EA(e,ue)))&&Ra(e,ue)}finally{if(Ai=L,jr&&(PA=s),$=(e.R&4096)!==0,C=!!(e.R&(a?o||n||!(e.m&1)?16512:0:128)),ni&&(e.l=e.l&1073709055|e.R&32768|(e.R&2097152)<<9|(e.R&1048576)<<11),e.R=e.R&936032|(t?e.R&256:0),Dn=g,r)for(let _ of r)Cg(_);c&&!y&&e.m&1&&(y=!!r2(e,1)),e.T!==null&&(e.T.Ve=y&&(e.m&1)!==0)}if(e.R&64){ug(e),dg(e),jr&&Ad(o);return}let P=jr?fr:null,N=!!e.T?.U||m;if(jr&&P!==null&&(jr(e,P,t,N)?Ad(P):P=null),!N){let _=e.ue===dn,Z=_?e.le:e.ue,ue=Vr??uc,J=_&&u&&!n||!!e.T?.Te||!!(f&&ue)||!!l||P!==null&&e._parent?.l&256||!xg(e,Z,w);if(n&&J&&!(e.R&262144&&!e.Ae&&Object.is(e.ge,w))&&_&&(e.Ae=!e.T?.U,t||wr.enqueue(n,e.W??=mo.q.bind(null,e),P)),!(hA&&!t&&P===null&&e.l&8192&&hA(e,w,N))){if(!N){if(J)P!==null?(n&&e.ue===dn?e.le=w:e.ue=w,t&&!n&&(e.m|=4)):(t?!(ue!==null&&(C||VA(g)?.R&128)):n&&e.ue===dn)?e.le=w:(e.ue=w,f&&(e.T.Te=f),t&&(pl(e,ue),e.m|=4,Cd?.(e,!a&&Vr))),e.o!==null&&(P!==null?CN(e,P):ml(e));else if(e.he!=k)for(let U=e.o;U!==null;U=U.t)l2(U.u,Cr)}}if(!J&&!e.T?.U&&(f&&ON(e,f),h))for(let U of h)U!==e&&Ra(e,U);p&&!(e.m&5)&&Ra(e)}if(t&&P===null&&C&&e.m&1){let _=Vr??uc;_&&!_.P&&(n&&Cd?.(e)===2||pl(e,_))}!e.T?.U&&(P!==null||e.ue===dn)&&!(n&&e.Ae)&&(t||n===3?gl(e):yN(e)),(e.ue!==dn||e.T!==null&&(e.T.me!==null||e.T.Le!==null)||(e.m&5)!==0&&(!t||(e.m&1)!==0))&&(e.l|=128,P===null&&dc(e)),jr&&Ad(o),$&&(Wo(e),_r()),yA&&i!==dn&&Object.is(w,i)&&yA(e),x&&Cg(e)}function FA(e){if(!(e.R&68)){if(e.R&1)for(let t=e.C;t;t=t.G){let n=t.S;if(n.X&&FA(n),e.R&2)break}(e.R&2||e.T?.U&&e.ie<Gr&&!e.T?.Ee)&&As(e),e.R=e.R&937336}}function pc(e,t){let n=t?.transparent??!1,r=t!==null&&typeof t=="object"&&"loadingValue"in t,i={id:jb(t,n,Dn),l:(n?4:0)|(t?.ownedWrite?1:0)|(!Dn||t?.lazy?32:0)|(t?.sync?64:0)|(t?.ae?2:0)|(t?.xe??0)|(hc&&KN(Dn)?8:0),ye:t?.equals??Ti,ke:null,A:Dn?.A??sg,be:0,X:e,le:r?t.loadingValue:void 0,he:0,ve:void 0,We:null,C:null,_:null,de:0,o:null,Ze:null,_parent:Dn,Ge:null,Me:null,pe:null,R:t?.lazy?512:0,m:r?0:4,ie:Gr,ue:dn,we:-1,Ie:r,T:null};return t?.unobserved&&(Mi(i).Ye=t.unobserved),JN(i,t),i}function Mi(e){return e.T??={Ee:null,Se:null,U:void 0,fe:void 0,se:void 0,Ye:void 0,De:void 0,me:null,Le:null,Re:null,Ve:!1,je:dn,Be:-1,ce:0,Ue:!1,I:0,Te:null}}var SA=null;function HA(e,t){ni&&!Vr&&(SA=e,xA.length=0),e.R|=128,(t.m&4||e.i!==1)&&bg(xr(t),!e.i&&e.m&4||Cd?.(e))}function FN(e,t){let n=ni&&e.l&32768,r=jr&&fr!==null;if(jr&&e.l&16777216&&e.m&4&&(!r||t.m&1))return HA(e,t),!1;if(!(n&&bA(e,t))&&!((!r||e.m&4&&t.m&1)&&!n&&(!(e.l&1<<23)||t.l&1024))){let i=xr(t);if(r&&fr.over&&Qi(fr.over)===i&&!n)return!1;if(!(!r&&i===Vr&&!n||g2(e,i)))return s2(e,i),(r||n)&&hl(e,t),!0}return HA(e,t),!1}function g2(e,t){return(e.m&4||e.l&1048576)&&e.l&256&&xr(e)===t}function GN(e,t,n){for(let r=e.C;r!==null;r=r===n?null:r.G)if(t(r.S))return 1}var zA;function HN(e,t){return t.ue!==dn&&e.l&32768&&!GN(e,n=>n===t)}function VA(e){return e!==null&&e.Qe?e.Ke:e}function yre(e){aA(e);let t=Mi(e);t.Le=e.ke,t.me=e.pe,e.ke=null,e.pe=null,e.be=0}function YN(e,t,n,r,i){let o=i?.transparent??!1,s={id:jb(i,o,Dn),l:r<<23|(o?4:0)|(i?.ownedWrite?1:0)|(i?.sync?64:0)|(i?.xe??0)|(hc&&KN(Dn)?8:0),ye:!1,ke:null,A:Dn?.A??sg,be:0,X:e,le:void 0,he:0,ve:void 0,We:null,C:null,_:null,de:0,o:null,Ze:null,_parent:Dn,Ge:null,Me:null,pe:null,R:512,m:4,ie:Gr,ue:dn,we:-1,Ie:!1,Ae:!1,ge:void 0,qe:t,Je:n,ze:void 0,i:r,T:null};return i?.unobserved&&(Mi(s).Ye=i.unobserved),JN(s,bre),s}var XN=null;function ZN(e){XN=e}function LA(e){return e.i?XN:null}var bre={lazy:!0};function JN(e,t){e.We=e;let n=Dn?.Qe?Dn.Ke:Dn;Dn&&zb(Dn,e),n&&(e.he=n.he+1),mN?.(e),!t?.lazy&&As(e,!0),hc&&!t?.lazy&&!(e.m&1)&&!(e.l&2)&&KA(e,e.le)}function Id(e,t){let n={ye:t?.equals??Ti,l:(t?.ownedWrite?1:0)|(t?.ae?2:0),le:e,o:null,Ze:null,ie:Gr,ue:dn,we:-1,T:null};return t?.unobserved&&(Mi(n).Ye=t.unobserved),hc&&!(n.l&2)&&KA(n,e),n}function Ti(e,t){return e===t}function y2(e,t,n,r,i){return{ye:t,l:4097,le:e,o:null,Ze:null,ie:Gr,ue:dn,we:-1,T:null,O:n,Xe:r,acc:i,px:void 0,pxv:void 0}}var Es=null;function _n(e,t){let n=Ai;Ai=!1;try{return wA?wA(e):e()}finally{Ai=n}}var jA=0;function b2(e){jA++;try{_n(e)}finally{jA--}}var QN=!1;function wre(e,t){if(e.R&512)e.R&=-513,As(e,!0);else if(e.R&64&&e.l&32){let n=e._parent;if(n!==null){if(n.R&64){e.l&=-33;return}e.R&32||zb(n,e)}As(e,!0)}}function xre(e,t){return!t||e.ue===dn||t.l&16}var $g=!1;function TN(){$g=!0}function vre(e){return wr.Y||e.ue===dn||e.l&4194304?dn:e.l&256?e.T.Be===Gr?e.T.je:dn:e.le}function kre(e){let t=e.T;t.Be!==Gr&&(Gb&&_N.push(e),t.je=e.ue,t.Be=Gr,$g=!0)}var f2=[];function Sre(e){return e.R|=4096,!0}function $N(){if($g=!1,f2.length!==0){for(let e of f2)e.l&=-4194305;f2.length=0}}function WA(e,t){e.he>=Cr.Fe||e.R&1?(Td(t),IN(Cr),FA(e)):t.l&65536&&FA(e);let n=e.he;e._parent===t?e.R|=8388608:n>=t.he&&vg(t,t.he=n+1)}function _re(e,t,n){return fr===null&&e.m&n.m&4&&t.ue!==dn&&!(t.l&2097408)&&!e.i&&(e.R&4096||e.ue===dn&&e.T?.$e!==Gr&&(!(e.m&1)||e.T?.se?.delete(n.T.U.source))&&(Mi(e).$e=Gr,e.R|=4096))}function w2(){return Dn.R&2048}function yo(e){let t=Dn;if(t?.Qe&&(t=t.Ke),Es!==null)return Es(e,t);if(typeof e.X=="function"&&wre(e),!e.X&&e.T?.De===void 0&&!hc&&(!$g||e.ue===dn)&&!(e.l&2048))return t&&(jr&&(zA=Ai&&HN(t,e)),Ai&&$d(e,t),e.l&256&&!(t.l&16)&&FN(t,e))||!t||e.ue===dn||t.l&16||e.ue===e.le&&Object.is(e.ue,e.le)||(ni&&t.l&32768||jr&&fr?.folded)&&v2(t,e)?e.le:(x2(t),e.ue);let n=!1,r;if(t){if(jr&&(zA=Ai&&HN(t,e)),Ai&&(r=$d(e,t),e.X)){if(WA(e,t),ni&&(t.m&4?t.l&256||Vr:t.l&1048576)&&(t.i===1&&e.l&32768&&!(e.m&5)&&(t.R|=1048576),(e.l&1619034112)===32768&&!(t.l&536870912))){let o=Qi(t.l&256?xr(t):Vr),s=Mi(e);s.Dt!==o&&(s.Dt=o,As(e))}ni&&!t.i&&(t.R|=e.l&32768&(e.m&1&&(t.l&128||t.m&4)?t.l:-1))}e.l&256&&!(e.l&2048)&&!(t.l&16)&&(e.m&4?HA(t,e):n=FN(t,e))}if(fA&&e.l&2048){let o=fA(t,e);if(o!==dn)return o}if(hc&&t&&t.l&8){let o=e.T?.De;if(o!==void 0&&!(e.m&2)){let s=o===iA?void 0:o;return(e.ue!==dn?e.ue:e.le)!==s&&(t.R|=256),s}}if(jr&&e.m&1&&!n&&!(e.l&2048)&&!(e.m&4)&&(t!==null&&t.l&32768&&!(t.l&16777216&&t.m&4)?n=ni(t,e):fr!==null&&(!(t?.m&4)||Cre(t))&&(n=hl(t,e,!0))),e.m&1&&!n){if(t){if(!(t.l&16)||e.m&4){if(ni&&_re(t,e,e))return e.ue;throw!Ai&&!QN&&e!==t&&$d(e,t),e.T?.U}}else if(e.m&4)throw e.T?.U}if(e.X&&e.m&2){if(r&&e.ie<Gr&&!(e.R&32))return As(e),yo(e);throw!n&&e.l&2097152&&zN(e,t),e.T?.U}(n||!t)&&eO(e);let i=zN(e,n?null:t);return!t&&typeof e.X=="function"&&e.l&32&&!(e.m&1)&&!e.o&&(kg.add(e),_r()),i}function Cre(e){let t=e._parent;return fr._parent?.Pe!==fr&&t?.X&&!(t.m&4|t.l&8388608)}function eO(e){if(e.T?.Te)throw e.T.Te}function zN(e,t){if(e.ue!==dn&&e.m&4&&(!t||QN||t.l&16)){if(jA>0){let r=VA(Dn);if(r&&e.l&256&&g2(r,xr(e)))return e.ue}throw new Kr(null)}let n=t&&$g?vre(e):dn;if(n!==dn)return Sre(t),n;if(xre(e,t)||ni&&t.l&32768&&!(e.m&4)&&v2(t,e)&&!eO(e))return e.le;if(x2(t,e),e.l&2097152)throw e.ue;return e.ue}function x2(e,t){t?.m&4||(hl&&fr!==null&&hl(e,null),e.R|=16384,Kb&&(fr!==null||e.i&&e.l&32768)&&Zb.push(e))}function v2(e,t){return Vr===null||g2(e,Vr)||(t?.l&2304)===256||ni&&bA(e,t)?!1:(jr&&t&&zA&&fr&&e.R>>24!=1&&(fr.Gt=1),s2(e,Vr),!0)}function k2(e){wr.Y||e.l&4194304||(e.l|=4194304,f2.push(e))}function UA(e,t){e.l&2||e.X!==void 0||e.T?.De!==void 0||KA(e,t)}function KA(e,t){Mi(e).De=t===void 0?iA:t,e.l|=512,gre.add(e)}var Tg=null;function xg(e,t,n){if(e.ye===Ti)return t===n;try{return e.ye&&e.ye(t,n)}catch(r){if(!(r instanceof Kr))return uu(e,2,r),!0}}function go(e,t){Tg!==null&&Tg(e);let n=e.ue===dn?e.le:e.ue;if(typeof t=="function"&&(t=t(n)),pA&&e.l&2048)return pA(e,t);e.l&256&&Ts(xr(e));let r=ni?e.ye!==Ti:null;if(!(!!(e.m&4)||!!e.T?.Te||(r===!1?n!==t:!xg(e,n,t))))return t;hc&&UA(e,n);let o=e.ue!==dn;return o?e.l&256&&!wr.Y&&kre(e):dc(e),e.ue=r&&o&&!(e.m&4||e.T?.Te)&&xg(e,e.le,t)?e.le:t,Dn!==null&&k2(e),e.X!==void 0&&(e.ie=Gr),o&&e.we===Lh||(ml(e),_r()),t}function tO(e,t){let n=e.l&256&&!(e.R&1024)&&xr(e)!==Vr;if(n&&typeof t=="function"){let r=t(e.le);t=()=>r}return e.m&2&&(e.T.Te=e.T.U,uu(e,0)),t=go(e,t),e.l&=-2097153,n?(e.R=e.R&-2|2,Bh(e,Cr),_r()):e.ue!==dn&&(e.R|=1024),t}function gi(e,t){let n=Dn,r=Ai;Dn=e,Ai=!1;try{return t()}finally{Dn=n,Ai=r}}function nO(e,t=!0){try{return e()}finally{}}var GA=null;function YA(e,t=zr()){let n;if(t&&(n=t.A[e.id]),n===void 0&&(n=e.defaultValue),n===void 0)throw new Pb;return n}function S2(e,t,n=zr()){if(!n)throw new Lb;n.A={...n.A,[e.id]:t===void 0?e.defaultValue:t}}function JA(e,t,n,r){let i=!!r?.user,o=YN(e,t,n,i?2:1,r);As(o,!0),r?.defer?Jb(o):o.ue===dn&&(o.T?.Re?.P||o.i===2||r?.schedule?wr.enqueue(o.i,ZA.bind(null,o),o.T?.Re):ZA(o,0))}function Are(){let e=this.m,t=this.T?.U;if(e&2){if(wr.notify(this,1,0),this.i===2){this.m&2&&kA(this);return}XA(this,rA(t))}else this.i===2?e&1&&this.Ae&&!t?.source?.T?.Ve&&(Mi(this).fe=!(this.Ae=!1)):this.i===1&&wr.notify(this,3,e,t)}function XA(e,t,n){if(!wr.notify(e,2,2))throw SN(t),t}function ZA(e,t){if(!e.Ae||e.R&64||t&&mA?.(e)||t&&pN?.(e))return;if(e.m&2&&e.i===2){let i=rA(e.T?.U);e.ge=e.le,e.Ae=!1;try{e.Je?e.Je(i,()=>{let o=e.ze;e.ze=void 0,o?.()}):console.error(i)}catch(o){XA(e,o)}return}let n=e.T?.U==null,r=e.ze;e.ze=void 0;try{r?.();let i=e.qe(e.le,e.ge);e.ze=i}catch(i){Mi(e).U=new cl(e,i),e.m|=2,XA(e,i)}finally{e.ge=e.le,e.Ae=!1,n&&gl(e)}}mo.q=ZA;function rO(e,t){let n=!1,r,i=()=>{if(!o.Ae||o.R&64||mA?.(o))return;let s=Lh;n=!1;try{o.Ae=!1,As(o)}finally{}for(let a=o.C;a!==null;a=a.G){let l=a.S;if(l.ue!==dn&&!(l.l&2048)&&(l.ue!==l.le||!Object.is(l.ue,l.le))){if(l.l&256)n||(n=!0,xr(l).rn[1].push(r||=()=>{n&&(o.Ae=!0,i())}));else if(l.we<=s||l.X){Wo(o),_r();break}}}},o=pc(()=>{let s=o.ze;o.ze=void 0,s?.();let a=nO(e);o.ze=a},{...t,lazy:!0});o.ze=void 0,o.l=o.l&-33|16,o.Ae=!0,o.i=3,o.Z=i,Wo(o),_r()}ZN(Are);var Na=Symbol(0),oO=Symbol(0),Bn=Symbol(0),qr=Symbol(0),as=Symbol(0),sO=new WeakSet,Hh=!1;function C2(e){return Hh&&sO.has(e)}function _2(e){if(yi(e)){if(e[Bn]!==void 0)return;Hh=!0,sO.add(e)}}function Eg(e){if(Array.isArray(e))for(let t=0,n=e.length;t<n;t++)_2(e[t]);else for(let t in e)_2(e[t])}var Mre=Object.prototype,iO=new WeakMap;function yi(e){if(e==null||typeof e!="object")return!1;let t=Object.getPrototypeOf(e);if(t===Mre||t===null||Array.isArray(e))return!0;let n=iO.get(t);return n===void 0&&(n=Object.prototype.toString.call(e)==="[object Object]"&&(typeof Node>"u"||!(e instanceof Node))&&yi(t),iO.set(t,n)),n}function QA(e){return Reflect.ownKeys(e).filter(t=>Object.prototype.propertyIsEnumerable.call(e,t))}var bi=!1;function Ig(e){bi=e}var eM=null;function aO(e){eM=e}function Is(e){return qb(e)}function mc(e){let t=yo.bind(null,e);return t[Bb]=e,t}function tM(e,t){if(typeof e=="function"){let r=pc(e,t);return r.l&=-33,[mc(r),tO.bind(null,r)]}let n=Id(e,t);return GA!==null&&GA(n),[mc(n),go.bind(null,n)]}function Io(e,t){return mc(pc(e,t))}function nM(e,t,n){JA(e,t.effect||t,t.error,{user:!0,...n})}function rM(e,t,n){JA(e,t,void 0,n)}function A2(e){let t=zr();t&&!(t.l&16)?rO(()=>_n(e),void 0):wr.enqueue(2,function n(){if(Cr.Et>=Cr.Fe)return wr.enqueue(2,n);e()})}function T2(e,t,n){let r=typeof n?.keyed=="function"?n.keyed:void 0,i=t.length>1,o=t,s={H:Ys(),it:0,st:e,ot:[],ft:o,ht:[],ln:[],Xe:r,ct:r||n?.keyed===!1?[]:void 0,lt:i&&n?.keyed!==!1?[]:void 0,ut:n?.keyed===!1,L:n?.fallback},a=pc(Rre.bind(s),void 0);return a.l&=-33,mc(a)}var M2={ownedWrite:!0};function Tre(e,t,n,r){let i=e.ot,o=e.it-1,s=[],a=[],l=[],c=256,u=r,f=r;for(;u<=o&&f<=n-1;){let d=i[u],h=t[f];if(d===h){let g=u;do f++;while(++u<=o&&f<n&&i[u]===t[f]);l.push(g,f-u+g,u-g);continue}let p=-1,m=Math.min(32-s.length,o-u,c);for(let g=1;g<=m;g++)if(i[u+g]===h){p=g;break}c-=p===-1?m:p;let y=-1;m=Math.min(32-a.length,n-1-f,c);for(let g=1;g<=m;g++)if(t[f+g]===d){y=g;break}if(c-=y===-1?m:y,p!==-1&&(y===-1||p<=y)){for(;p-- >0;)s.push(u++);continue}if(y!==-1){for(;y-- >0;)a.push(f++);continue}if(c<=0||s.length===32||a.length===32)return!1;s.push(u++),a.push(f++)}for(;u<=o;u++){if(s.length===32)return!1;s.push(u)}for(;f<=n-1;f++){if(a.length===32)return!1;a.push(f)}return $re(e,t,n,r,s,a,l)}function $re(e,t,n,r,i,o,s){let a=e.ot,l,c,u;if(o.length!==0)for(u=new Array(i.length),c=0;c<o.length;c++){let m=-1;for(l=0;l<i.length;l++)if(!u[l]&&a[i[l]]===t[o[c]]){m=l;break}if(m===-1)return!1;u[m]=!0,o[c]=o[c]<<6|m}for(l=0;l<i.length;l++){let m=a[i[l]];if(m===void 0)return!1;for(c=r-1;(c=a.indexOf(m,c+1))!==-1;)if(!i.includes(c))return!1}let f=e.ht,d=e.ln,h=f.slice(0,n),p=d.slice(0,n);for(let m=0;m<s.length;m+=3){let y=s[m],g=s[m+1];if(y!==g)for(let x=0;x<s[m+2];x++)h[g+x]=f[y+x],p[g+x]=d[y+x]}for(c=0;c<o.length;c++){let m=o[c]>>6,y=i[o[c]&63];h[m]=f[y],p[m]=d[y]}for(e.ht=h,e.ln=p,e.it=n,e.ot=t,l=0;l<i.length;l++)(u===void 0||!u[l])&&d[i[l]].dispose();return!0}function Ere(e,t,n,r,i,o,s,a,l){let c=e.Xe,u=e.ot,f=e.ln,d=[],h=n;for(let p=n;p<=i;h++,p++){let m=c?c(t[p]):t[p];for(;h<=r&&(c?c(u[h]):u[h])!==m;)d.push(f[h++]);if(h>r)return s.fill(void 0),null;o[p]=e.ht[h],s[p-n]=f[h],a&&(a[p-n]=e.ct[h]),l&&(l[p-n]=e.lt[h])}for(;h<=r;h++)d.push(f[h]);return d}function Ire(e,t,n,r,i,o,s,a,l){let c=e.ln,u=e.ct,f=e.lt,d=e.it,h=n-d,p,m;if(h>0)for(c.length=n,u&&(u.length=n),f&&(f.length=n),p=d-1,m=n-1;p>i;p--,m--)c[m]=c[p],u&&(u[m]=u[p]),f&&(f[m]=f[p]);else if(h<0){for(p=i+1,m=o+1;p<d;p++,m++)c[m]=c[p],u&&(u[m]=u[p]),f&&(f[m]=f[p]);c.length=n,u&&(u.length=n),f&&(f.length=n)}for(m=r;m<=o;m++)c[m]=s[m-r],u&&iM(u[m]=a[m-r],t[m]),f&&go(f[m]=l[m-r],m);for(m=o+1;m<n;m++)u&&iM(u[m],t[m]),f&&h!==0&&go(f[m],m)}var iM=(e,t)=>e.le===t&&e.ue===dn||go(e,t);function Rre(){this.H.Ke=zr();let e=this.st()||[];e[Na],e=eM?.(e[Bn])??e;let t=e.length;return gi(this.H,Nre.bind(this,e,t)),this.ht}function Nre(e,t){let n=e.slice(0),r,i,o,s,a,l=this.ct?this.ut?()=>(s[o]=Id(n[i],M2),this.ft(mc(s[o]),i)):()=>(s[o]=Id(n[i],M2),a&&(a[o]=Id(i,M2)),this.ft(mc(s[o]),a?mc(a[o]):void 0)):this.lt?()=>{let c=n[i];return a[o]=Id(i,M2),this.ft(c,mc(a[o]))}:()=>{let c=n[i];return this.ft(c)};if(t===0)this.it!==0&&(this.H.dispose(!1),this.ln=[],this.ot=[],this.ht=[],this.it=0,this.ct&&(this.ct=[]),this.lt&&(this.lt=[])),this.L&&!this.ht.length&&(this.ln[0]?.dispose(),this.ht[0]=gi(this.ln[0]=Ys(),this.L));else if(this.it===0){let c=new Array(t),u=new Array(t);s=this.ct&&new Array(t),a=this.lt&&new Array(t);try{for(i=0;i<t;i++)o=i,c[i]=gi(u[i]=Ys(),l)}catch(f){for(r=0;r<=i;r++)u[r]?.dispose();throw f}this.ln[0]&&this.ln[0].dispose(),this.ht=c,this.ln=u,s&&(this.ct=s),a&&(this.lt=a),this.ot=n,this.it=t}else{let c,u,f,d,h,p,m,y,g,x;for(c=0,u=Math.min(this.it,t);c<u&&(this.ot[c]===n[c]||this.ct&&lO(this.Xe,this.ot[c],n[c]));c++)this.ct&&iM(this.ct[c],n[c]);for(u=this.it-1,f=t-1;u>=c&&f>=c&&(this.ot[u]===n[f]||this.ct&&lO(this.Xe,this.ot[u],n[f]));u--,f--);if(c===t&&this.it===t){this.ot=n;return}if(t<=this.it&&u-c>64&&this.ct===void 0&&this.lt===void 0){let P=c+(f-c>>1),N=n[P],_=Math.min(u,P+32),Z=Math.max(c,P-32);for(;Z<=_&&this.ot[Z]!==N;)Z++;if(Z<=_&&Tre(this,n,t,c))return}let w=t-this.it,k=f-c+1,$=new Array(t),C=new Array(k);s=this.ct?new Array(k):void 0,a=this.lt?new Array(k):void 0;let L=w<0?Ere(this,n,c,u,f,$,C,s,a):null;if(L!==null)L.length!==0&&(y=L);else{for(p=new Map,m=new Array(k),i=f;i>=c;i--)d=n[i],h=this.Xe?this.Xe(d):d,r=p.get(h),m[i-c]=r===void 0?-1:r,p.set(h,i);for(r=c;r<=u;r++)d=this.ot[r],h=this.Xe?this.Xe(d):d,i=p.get(h),i!==void 0&&i!==-1?($[i]=this.ht[r],C[i-c]=this.ln[r],s&&(s[i-c]=this.ct[r]),a&&(a[i-c]=this.lt[r]),i=m[i-c],p.set(h,i)):(y??=[]).push(this.ln[r]);try{for(i=c;i<=f;i++)C[i-c]===void 0&&((g??=[]).push(C[i-c]=Ys()),o=i-c,$[i]=gi(C[i-c],l))}catch(P){if(g)for(r=0;r<g.length;r++)g[r].dispose();throw P}}for(r=0;r<c;r++)$[r]=this.ht[r];for(i=f+1;i<t;i++)$[i]=this.ht[i-w];if(Ire(this,n,t,c,u,f,C,s,a),this.ht=$,this.it=t,this.ot=n,y)for(r=0;r<y.length;r++)y[r].dispose()}}function lO(e,t,n){return e?e(t)===e(n):!0}var qi=Symbol(0),Rg=new WeakMap;function Ng(e,t){(t.rr?.map??Rg).set(e,t)}function Oa(e){return e[qi]!==void 0}function Rs(e,t){let n=e[qi];return n!==void 0&&n.rr===t?n:(t?.map??Rg).get(e)}function cO(e){let t=e;for(;t&&!t.d;)t.d=!0,t=t.u}var Nn=null;var Da=null;var Ore=Symbol(0);function xO(e,t,n,r){this.v=e,this.ch=e[Bn]!==void 0,this.pb=null,this.n=null,this.h=null,this.k=null,this.dk=null,this.u=t,this.pk=n,this.px=null,this.d=!1,this.a=!1,this.sc=0,this.kc=0,this.nc=0,this.rr=r,this.o=r!==null&&r.opt===!0,this.s=!1,this.ovl=!1,this.del=null,this.wk=null}function uO(e,t,n,r=t?.rr??null){let i=new xO(e,t,n,r);return i.px=new Proxy(Array.isArray(e)?[]:{},i),Ng(e,i),i}function ta(e,t=null,n=null,r=t?.rr??null){if(Hh&&C2(e))return e;let i=Rs(e,r);if(i!==void 0)return i.px;let o=e[Bn];return o?.px===e&&(r===null||o.rr===r)?e:uO(e,t,n,r).px}function Ro(e){if(e==null||typeof e!="object")return e;let t=e[Bn];return t!==void 0&&(t.px===e||Rs(e,t.rr)===t)&&t.v!==void 0?(t.ovl&&zg(t),t.pb??t.v):e}var Dre=function(e,t){return Ti(e,t)||vO(this.O,e,t)};function P2(e,t){return e===t||e!==e&&t!==t}var Lre=function(e,t){return e===t};function vO(e,t,n){if(t===null||typeof t!="object"||n===null||typeof n!="object")return!1;let r=Rs(t,e.rr);return r!==void 0&&r===Rs(n,e.rr)}var Vh=new Set;function kO(e){let t=e.O,n=e.Xe;if(n===Na)t.k===e&&(t.k=null);else{if(n===oO)return;n===Ore?t.dk===e&&(t.dk=null):t.n?.[n]===e?(delete t.n[n],--t.nc===0&&(t.n=null)):t.h?.[n]===e&&(delete t.h[n],Reflect.ownKeys(t.h).length===0&&(t.h=null))}t.rr!==null&&t.nc===0&&t.k===null&&t.dk===null&&t.h===null&&t.rr.live.delete(t)}function dM(e,t,n){e.rr!==null&&e.rr.live.add(e),cO(e),Da!==null&&Da.ro(e,t,n)}var SO=e=>e.ue!==dn||e.l&2048||e.O.k?.l&256;NN(e=>{SO(e)?Vh.add(e):kO(e)});function _O(e,t,n,r){if(t.ye&&t.ye(t.le,n))return;dc(t),t.ue=n;let i=e.k;if(i!==null){if(jr&&(i.l&10240)===2048)Fg(e,t,xr(i));else if(i.l&256&&L2(e,r)){let o=xr(i);(!(i.l&2048)||o.folded)&&pl(t,Qi(o._parent??o))}i.l&4194304&&k2(t)}}function Nd(e,t,n=-1){let r=e.n??=Object.create(null),i=r[t];if(i===void 0){let o=e.pb,s=i=y2(Dd(e)[t],Dre,e,t,n===-1?F2(o??e.v,t):n===1);o!==null&&!s.acc&&_O(e,s,e.del?.has(t)?void 0:o[t],t),r[t]=i,e.nc++,dM(e,s,t)}return i}function dO(e,t){let n=e.h??=Object.create(null),r=n[t];if(r===void 0){let i=r=y2(t in Dd(e),Ti,e,t,!1),o=e.pb;o!==null&&_O(e,i,t in o&&!e.del?.has(t),t),n[t]=r,dM(e,i,t)}return r}function Hg(e){let t=e.k;return t===null&&(t=e.k=y2(e.v,Lre,e,Na,!1),dM(e,t,Na),e.pb!==null&&!gc&&(t.le=NO(e),t.ue=e.pb,dc(t))),t}function CO(e,t){if(e.k===null&&fr===null&&(Dn===null||wr.Y)&&!Pre(e))return;let n=Hg(e);n.ue===dn&&dc(n),n.ue=t,Dn!==null&&k2(n),e.rr!==null&&!bo&&Fg(e,n)}function Pre(e){let t=e.rr?.node;return t!=null&&!bo&&(t.l&256)!==0}var Bre=e=>{for(let t=0;t<bl.length;t++){let n=bl[t];n.k===null&&n.pb!==null&&pl(Hg(n),e)}Nn?.park(e)},Pd=!1;function fu(e){e.dk!==null&&go(e.dk,1)}function AO(e,t){(e.l&10240)===10240?go(e,t):(e.l&256&&Ts(xr(e)),hc&&UA(e,e.le),ml(e),_r())}var xi=Object.prototype.hasOwnProperty,xl=Object.getPrototypeOf,MO=Object.setPrototypeOf,B2=Object.prototype.__lookupGetter__,Fre=Object.prototype.__lookupSetter__,sM=Object.prototype.propertyIsEnumerable;function R2(e,t){return xi.call(e,t)&&(B2.call(e,t)!==void 0||Fre.call(e,t)!==void 0)}function F2(e,t){return R2(e,t)||t!=="__proto__"&&!xi.call(e,t)&&B2.call(e,t)!==void 0}function N2(e,t){if(t.sc||TO(t),t.sc===2){let r={...e};return r[qi]=t,r}let n;if(!t.a&&t.kc<=e.length+1&&xl(e)===Array.prototype)n=e.slice();else{let r=Object.getOwnPropertyDescriptors(e);for(let i of Reflect.ownKeys(r)){let o=r[i];i==="length"&&Array.isArray(e)||(o.configurable=!0,!o.get&&!o.set?o.writable=!0:t.a=!0)}n=Object.defineProperties(Array.isArray(e)?MO([],xl(e)):Object.create(xl(e)),r)}return n[qi]=t,n}function Hre(e,t){let n=Object.create(null);for(let r of Reflect.ownKeys(e))n[r]=e[r];return MO(n,Object.prototype),n[qi]=t,n}function aM(e,t,n){let r=Object.getOwnPropertyDescriptor(t,n);r.get||r.set||!r.enumerable||!r.writable||!r.configurable?Object.defineProperty(e,n,r):e[n]=r.value}function TO(e){let t=e.v,n=Reflect.ownKeys(t),r=xl(t)===Object.prototype;for(let i of n){if(R2(t,i)){e.a=!0,r=!1;break}r&&!sM.call(t,i)&&(r=!1)}return e.sc=r?2:1,e.kc=n.length,!e.a}var zre=32,Vre=1024,fO=16,jh=new Set,$O=e=>{let t=xl(e);return t===Object.prototype||t===Array.prototype||t===null};function jre(e,t){if(e.kc>Vre)return!1;if(e.del?.size)return!0;let n=e.wk;if(n!==null&&n!==jh&&n.u===void 0&&n.size<=fO)return!1;let r=e.v,i=0;for(let o of Reflect.ownKeys(t))if(!xi.call(r,o)&&++i>fO)return!0;return!1}function zg(e){let t=e.pb;if(!e.ovl)return t;let n=IO(e,e.sc===2?Hre(e.v,e):N2(e.v,e),t);return e.pb=n,e.k?.ue===t&&(e.k.ue=n),n}function $2(e){let t=e.pb;if(Nn!==null&&e.o&&bo&&!yl.has(e))return e.pb=Nn.draft(e);if(t!==null&&!Oa(t)){t=e.pb=N2(t,e);let n=e.k;n!==null&&!(n.l&256)&&(n.ue=t)}else if(t===null){let n=e.v;if(gc||RO(e),!e.ch&&!Array.isArray(n)&&(e.sc!==0?!e.a:TO(e))&&e.kc>zre&&Oa(n))t=e.pb=Object.create(n),e.ovl=!0;else try{t=e.pb=N2(n,e)}catch(r){if(!(r instanceof Kr))throw r;return{}}gc||CO(e,t)}return t}function O2(e){if(Oa(e.v))return;let t=e.v,n=N2(t,e);if(e.v=n,e.ch=!1,e.u){O2(e.u);let r=e.u.v,i=EO(e,t);r[i]===t&&(r[i]=e.v)}}function EO(e,t){let n=e.pk,r=e.u.v;if(r[n]===t||r[n]===e.v||!Array.isArray(r))return n;let i=r.indexOf(t);return i===-1?n:(e.pk=i,i)}function qre(e,t){O2(e),IO(e,e.v,t)}function IO(e,t,n){for(let r of Reflect.ownKeys(n))e.sc===2?t[r]=n[r]:aM(t,n,r);if(e.del!==null){for(let r of e.del)delete t[r];e.kc-=e.del.size,e.del=null}return e.ovl=!1,t}function qh(e,t,n=!0){gc||RO(e);let r;if(e.pb!==null?(e.ovl&&zg(e),r=e.pb):r=e.v,bo&&e.k?.l&256&&!Array.isArray(r))for(let o in{...r,...t})Vh.add(Nd(e,o));gc?(e.pb=null,e.k!==null&&(e.k.le=t)):(e.pb=t,CO(e,t)),e.v=t,e.ch=t[Bn]!==void 0,e.ovl=!1,e.del=null,e.sc=0,e.a=!1,e.wk=null,t[qi]?.rr===e.rr?t[qi]=e:Ng(t,e),Nn!==null&&e.o&&Nn.judge(e,t),n&&r!==t&&hM(e,r,t)}var bl=[],Pg=[],hO=[],pO=[],Od=null;function RO(e){e.pb===null&&(_r(),Od!==null&&Od.set(e,bl.length),bl.push(e),Pg.push(e.v))}function NO(e){if(Od===null){Od=new Map;for(let n=0;n<bl.length;n++)Od.set(bl[n],n)}let t=Od.get(e);return t===void 0?e.v:Pg[t]}function Wre(){if(bl.length!==0){let e=bl,t=Pg;bl=hO,Pg=pO,hO=e,pO=t,Od=null;for(let n=0;n<e.length;n++){let r=e[n];if(r.pb===null)continue;let i=r.k;i!==null&&i.ue!==dn?(bl.push(r),Pg.push(t[n])):DO(r,t[n])}e.length=0,t.length=0}if(Vh.size!==0)for(let e of Vh)e.o===null&&!SO(e)&&(Vh.delete(e),kO(e))}mo.k=e=>(e.O?.rr?.node?.m&1)!==0;hN(Bre,()=>{Wre(),Nn?.sweep()});mo.so=Nd;mo.fo=yi;var gc=!1;function OO(e){let t=gc;gc=!0;try{e()}finally{gc=t}}function DO(e,t){{let n=e.k,r=e.pb;if(r!==null){if(r!==e.v)if(e.ovl&&(e.v!==t||!jre(e,r)&&n?.T?.De!==t))qre(e,r);else if(e.v!==t){O2(e);let i=e.v,o=e.wk;if(o!==null&&o!==jh)for(let s=o;s!==void 0;s=s.u)for(let a of s)xi.call(r,a)?aM(i,r,a):delete i[a];else{for(let s of Reflect.ownKeys(r))s!==qi&&aM(i,r,s);for(let s of Reflect.ownKeys(t))s!==qi&&!xi.call(r,s)&&delete i[s]}}else e.v=e.ovl?zg(e):r,e.ch=e.v[Bn]!==void 0;e.pb=null,e.wk=null}if(n!==null&&(n.o===null?e.k=null:n.le=e.v),e.v!==t&&e.u){let i=EO(e,t);e.u.v[i]===t&&(O2(e.u),e.u.v[i]=e.v)}}}var D2=!1,bo=!1,E2=null;function LO(){return bo}function Ure(e,t,n){if(e.rr===null||!bo)return!1;if(t!==void 0)return(t.l&262400)===256&&xr(t)!==Vr;let r=e.k;return r!==null&&(r.l&256)!==0&&xr(r)!==Vr&&L2(e,n)}function I2(e){let t=e.pb;if(t===null)return;if(Nn!==null&&e.o){if(bo){e.pb=null,e.wk=null,e.pb=Nn.writes(e,t);return}Nn.pair(e,t),Nn.judge(e,t)}let n=e.v,r=e.n,i=e.wk,o=i===jh||e.a===!0||!$O(e.ovl?e.v:t)?null:i;if(e.rr!==null&&!D2&&o!==null){for(let l of o)if(Ure(e,r?.[l],l)){D2=!0;break}}if(r!==null){let l=o??Reflect.ownKeys(r);for(let c of l){let u=r[c];if(u===void 0)continue;let f=!1;if(u.acc===!0||(f=xi.call(t,c))&&B2.call(t,c)!==void 0){u.acc=F2(t,c);let h=Object.getOwnPropertyDescriptor(n,c),p=Object.getOwnPropertyDescriptor(t,c);if(!p||p.get||p.set){(h?.get!==p?.get||h?.set!==p?.set||h?.value!==p?.value)&&go(u,()=>fM);continue}(h?.get||h?.set||!Ti(h?.value,p.value))&&go(u,()=>p.value);continue}let d=f||!(e.del?.has(c)||c==="__proto__")?t[c]:void 0;if(Nn!==null&&e.o&&Nn.covers(e,c,!1)){lM(u,d);continue}go(u,()=>d),e.rr!==null&&(bo?u.l|=262144:(u.l&=-262145,Fg(e,u)))}}let s=e.h;if(s!==null){let l=o??Reflect.ownKeys(s);for(let c of l){let u=s[c];if(u!==void 0){if(Nn!==null&&e.o&&Nn.covers(e,c,!0)){lM(u,c in t&&!e.del?.has(c));continue}go(u,c in t&&!e.del?.has(c)),e.rr!==null&&!bo&&Fg(e,u)}}}if(Pd&&e.dk!==null)if(e.del?.size)fu(e);else for(let l of o??Reflect.ownKeys(t)){if(l===qi)continue;let c=t[l],u=n[l];if(c!==null&&typeof c=="object"?!yc(u,c):!Ti(u,c)){fu(e);break}}let a=e.k;if(a!==null&&(a.o!==null||a.l&2048)){let l;if(e.ovl){if(l=!!e.del?.size,!l){for(let c of Reflect.ownKeys(t))if(!xi.call(n,c)){l=!0;break}}}else l=Array.isArray(t)&&Array.isArray(n)?PO(n,t):BO(n,t);l&&AO(a,t)}}function lM(e,t){e.le=t,e.ue!==dn&&(e.ue=t)}var fM=Symbol();function yc(e,t){if(e===null||typeof e!="object"||t===null||typeof t!="object")return!1;let n=Rs(e,null);return n!==void 0&&n===Rs(t,null)}function PO(e,t){if(e.length!==t.length)return!0;for(let n=0;n<t.length;n++){let r=e[n],i=t[n];if(!Ti(r,i)&&!yc(r,i))return!0}return!1}function BO(e,t){let n=Reflect.ownKeys(t);if(Reflect.ownKeys(e).length-+Oa(e)!==n.length-+Oa(t))return!0;for(let r of n)if(r!==qi&&!(r in e))return!0;return!1}function Bg(e,t){let n=e.O;if(Nn!==null&&n.o&&Nn.covers(n,e.Xe,n.h?.[e.Xe]===e)){lM(e,typeof t=="function"?t():t);return}go(e,t),fr!==null&&!bo&&e.O.rr!==null&&Fg(e.O,e)}function Bd(e,t,n,r,i=!0){if(e.acc===!0||i&&xi.call(r,t)&&B2.call(r,t)!==void 0){e.acc=F2(r,t);let o=Object.getOwnPropertyDescriptor(n,t),s=Object.getOwnPropertyDescriptor(r,t);if(!s||s.get||s.set){(o?.get!==s?.get||o?.set!==s?.set||o?.value!==s?.value)&&Bg(e,()=>fM);return}let a=o?.value,l=s?.value;(o?.get||o?.set||!Ti(a,l)&&!yc(a,l))&&Bg(e,typeof l=="function"?()=>l:l)}else{let o=n[t],s=r[t];(n[Bn]||!Ti(o,s)&&!yc(o,s))&&Bg(e,typeof s=="function"?()=>s:s)}}function FO(e){return e.acc===!0}function H2(e,t,n,r,i,o){if(e.acc===!0){Bd(e,t,i,o,!1);return}!Ti(n,r)&&!yc(n,r)&&Bg(e,typeof r=="function"?()=>r:r)}function z2(e,t,n){let r=e.h,i=t[Bn];if(r!==null)for(let s of Reflect.ownKeys(r))(i||s in t!=s in n)&&Bg(r[s],s in n);let o=e.k;o!==null&&(o.o!==null||o.l&2048)&&(i||(Array.isArray(n)&&Array.isArray(t)?PO(t,n):BO(t,n)))&&AO(o,n)}function hM(e,t,n){Pd&&e.dk!==null&&t!==n&&fu(e);let r=e.n;if(r!==null)for(let i of Reflect.ownKeys(r))Bd(r[i],i,t,n);z2(e,t,n)}var Og=0,wl=null,yl=new Set;function pM(e){if(e.rr!==null)return e.rr;let t=e;for(;t.u!==null;)t=t.u;return t}function wi(e){return wl!==null&&wl.has(pM(e))}function Lg(e,t,n){return n!==null&&typeof n=="object"&&n[Bn]!==void 0?Ld(e,ta(n,e,t)):n}function Ld(e,t){if(wl!==null&&wi(e)){let n=t?.[Bn];n?.v!==void 0&&wl.add(pM(n))}return t}function Dd(e){let t=e.k;return t!==null?t.ue!==dn?t.le:e.v:e.pb!==null?NO(e):e.v}function Kre(){let e=Dn;return e===null?null:(e.Qe&&(e=e.Ke??null),e===null||e.l&16?null:e)}function Rd(e,t,n=!1){if(Nn!==null&&bo&&e.o&&!yl.has(e)&&wi(e)){let a=$2(e);return yl.add(e),a}let r=e.pb;if(r===null)return e.v;if(wi(e)||bi){if(bo!==bi){let a=t!==void 0?e.n?.[t]:void 0,l=a??e.k;l!=null&&(l.l&2304)===256&&(a!==void 0||t===void 0||L2(e,t))&&(bo?E2=xr(l):bg(xr(l)))}return r}let i=e.k;if(t!==void 0){let a=e.n?.[t];if(a?.l&2048&&i?.T?.Re!==(a.T.Re||0))return Dd(e)}let o=i!==null&&(i.l&256)!==0;if(o&&t!==void 0&&!L2(e,t,n))return r;let s=Kre();if(s===null)return $o()!==null||Yre(e)?r:Es===null||!o&&t!==void 0&&!yO(e,t,n)?o?i.le:e.v:i===null?Dd(e):yo(i);if(!o){if(s.R&16384&&!(s.l&32784))return r;if(t!==void 0&&!yO(e,t,n))return Dd(e);if(i===null)return s.l&32768&&v2(s)?Dd(e):(x2(s),r)}return _n(()=>yo(i))}function L2(e,t,n=!0){return HO(e,e.k.le,e.k.ue,t,n)&&!Gre(e,t)}var mO=new WeakMap;function gO(e){let t=mO.get(e);return t===void 0&&mO.set(e,t=new Set(Object.values(e))),t}function mM(e,t,n){return e!==null&&typeof e=="object"&&t!==null&&typeof t=="object"&&(n===null||P2(n(e),n(t)))}function Gre(e,t){let n=e.k,r=n.le,i=r[t],o=n.ue[t],s=Array.isArray(r)?e.rr?.key:null;if(e.s||s===void 0||!mM(i,o,s)||!yi(i)||!yi(o)||Array.isArray(i)!==Array.isArray(o)||Rs(i,e.rr)!==void 0||Rs(o,e.rr)!==void 0||gO(r).has(o)||gO(n.ue).has(i))return!1;let a=ta(i,e,t)[Bn];return a?.v!==i?!1:(qh(a,o,!1),pl(Hg(a),xr(n)),!0)}function Yre(e){return e.rr!==null&&Dn===null&&!(e.k?.l&256)}function yO(e,t,n=!0){return HO(e,Dd(e),e.pb,t,n)}function HO(e,t,n,r,i){if(e.ch||n[Bn]!==void 0||xl(n)!==xl(t)||!$O(t))return!0;if(e.del?.has(r))return r in t;let o=xi.call(n,r)||e.ovl&&xi.call(e.v,r);if(o!==xi.call(t,r))return!0;if(!o)return!1;if((i||e.a)&&(R2(t,r)||R2(n,r)||sM.call(t,r)!==sM.call(n,r)))return!0;let s=n[r],a=t[r];return!Ti(a,s)&&!vO(e,a,s)}function cM(e,t,n){let r;return e.ue!==dn&&!(e.l&256)&&n.rr!==null&&(Dn===null||n.rr.node?.m&4)?(Dn!==null&&Ai&&$d(e,Dn),r=e.ue):r=yo(e),r===fM?t:r}function bO(e,t,n,r,i,o=-1){let s=e.ch&&r===e.v,a=n;if(!wi(e)&&!bi&&(i===void 0&&$o()!==null&&(i=Nd(e,t,o)),i!==void 0)){let l=cM(i,n,e);s?i.le=n:a=l}if(e.ch&&!s&&a!==null&&typeof a=="object"&&a[Bn]?.px!==a&&(a=VO(e,t,a)),e.s)return Lg(e,t,a);if(i!==void 0){if(i.pxv===a&&a!==void 0)return Ld(e,i.px);if(!yi(a))return a;let l=ta(a,e,t);return i.px=l,i.pxv=a,Ld(e,l)}return yi(a)?Ld(e,ta(a,e,t)):a}function Xre(e,t){for(let n=t.o;n!==null;n=n.t)if(n.u===e)return!0;return!1}function zO(e,t){for(let n=e.C;n;n=n.G){let r=n.S;if(r===t||r.he>t.he&&zO(r,t))return!0}return!1}function zh(e){let t=e.rr.node;if(t===null||bi||wi(e))return;let n=Dn;if(!(n?.o&&zO(t,n)))if(t.m&3||t.l&2097152){if(Es===null&&t.m&1&&Nn?.stands(e)||n!==null&&n.i===1&&t.m&1&&t.l&256&&Vr!==xr(t)&&!Xre(n,t))return;if(n?.C!==void 0&&t.l&2097152&&$d(t,n),ni&&t.l&32768&&!(t.R&1<<21)&&Ai)for(let r=t.C;r;r=r.G)r.S.m&1&&yo(r.S);yo(t)}else{let r=Dn;if(r?.Qe&&(r=r.Ke),r&&WA(t,r),_n(()=>yo(t)),ni&&t.l&32768&&!(t.R&1<<21)&&Ai){let i=e.rr;i.w=0;for(let o=t.C;o;o=o.G)o.S.m&1&&(i.w=1,yo(o.S))}}}function Fg(e,t,n=fr){let r=e.rr?.node;if(jr&&n!==null&&t.ue!==dn&&!(t.l&2048)){i2(t,n),t.l|=2048;return}r!=null&&r.l&256&&t.ue!==dn&&!(t.l&2304)&&(pl(t,xr(r)),t.T.Ve=r.T.Ve)}function VO(e,t,n){let r=e.v[Bn];if(r.ch){let o=VO(r,t,n);return o===n?n:ta(o,r,t)}let i=Rs(n,r.rr);return i!==void 0?i.px:(r.v[t]===n||r.pb?.[t]===n)&&yi(n)?ta(n,r,t):n}function wO(e){if(!wi(e)&&!bi&&$o()!==null){let n=yo(Hg(e));if(Nn!==null&&e.o){let r=Nn.frame(e);if(r!==dn)return r}return n}let t=Rd(e);return uM(e)?Nn.view(e,t):t}function uM(e){return Nn!==null&&e.o&&!wi(e)&&!bi}var Zre=new Set(["__proto__","prototype","constructor"]);function Dg(e,t){let n=e.wk;yl.has(e)||(yl.add(e),n!==null&&n!==jh&&(n=new Set,n.u=e.wk,e.wk=n)),n!==jh&&(e.wk??=new Set).add(t)}var Jre={get(e,t,n){let r=this;if(typeof t!="string"){if(t===Bn)return r;if(t===qr)return n;if(t===qi||t===as)return;if(t===Bb)return r.rr?.node??void 0;if(t===Na){if(r.rr!==null&&zh(r),!wi(r)&&$o()!==null){yo(Hg(r)),Nn!==null&&r.o&&!bi&&Nn.frame(r);let c=Rd(r);c[Bn]!==void 0&&c[Na]}return}}if(Es!==null&&Da!==null&&$o()===null&&Da.io(r,t),r.rr!==null&&zh(r),Nn!==null&&r.o&&!bi)if(wi(r))Nn.drafted(r,t);else{let c=Nn.read(r,t);if(c!==dn)return c}let i=r.n?.[t];if(wl===null&&!bi){let c=i;if(c!==void 0&&c.acc!==!0&&!r.ch){let u=cM(c,void 0,r);if(u===null||typeof u!="object")return u;if(r.s)return Lg(r,t,u);if(c.pxv===u)return c.px;if(yi(u)){let f=ta(u,r,t);return c.px=f,c.pxv=u,f}return u}}let o=Rd(r,t);if(o===r.pb&&r.del?.has(t)){!wi(r)&&$o()!==null&&yo(Nd(r,t));return}let s=-1;{let c;if(i!==void 0?c=i.acc===!0:!wi(r)&&$o()!==null?(c=F2(o,t),o===(r.pb??r.v)&&(s=c?1:0)):c=!1,c){!wi(r)&&$o()!==null&&yo(i??Nd(r,t,s));let u=Reflect.get(o,t,n);return r.s?Lg(r,t,u):yi(u)?Ld(r,ta(u,r,t)):u}}let a=r.ovl&&o===r.pb;if((t==="constructor"?bi||wi(r):t==="__proto__"||t==="prototype")&&!xi.call(o,t)&&!(a&&xi.call(r.v,t)))return;let l=o[t];if(l===void 0&&!xi.call(o,t)&&!(a&&xi.call(r.v,t))){if(l=Reflect.get(o,t,n),typeof l=="function")return l;if(r.ch&&o===r.v)return bO(r,t,l,o,i,s);if(l===void 0&&!wi(r)){$o()!==null&&Nd(r,t,s);let c=r.n?.[t];if(c){let u=cM(c,void 0,r);return r.s?Lg(r,t,u):yi(u)?Ld(r,ta(u,r,t)):u}}return r.s?Lg(r,t,l):yi(l)?Ld(r,ta(l,r,t)):l}return typeof l=="function"&&!xi.call(o,t)&&!(a&&xi.call(r.v,t))?l:bO(r,t,l,o,i,s)},has(e,t){let n=this;if(t===Bn||t===qr||t===Na)return!0;if(t===qi||t===as)return!1;if(Es!==null&&Da!==null&&$o()===null&&Da.io(n,t),n.rr!==null&&zh(n),Nn!==null&&n.o&&!bi&&wi(n)&&Nn.drafted(n,t,!0),uM(n)){let i=Nn.has(n,t);if(i!==void 0)return i}let r=Rd(n,t);if(!wi(n)&&!bi&&$o()!==null){let i=dO(n,t),o=yo(i);if(!n.ch||r!==n.v)return!!o;let s=t in r;return i.le=s,s}return t in r&&!(r===n.pb&&n.del?.has(t))},ownKeys(){let e=this;return Es!==null&&Da!==null&&$o()===null&&Da.io(e,void 0),e.rr!==null&&zh(e),Nn!==null&&e.o&&!bi&&wi(e)&&Nn.drafted(e,void 0,!0),eie(e,wO(e))},getOwnPropertyDescriptor(e,t){let n=this;if(t===qi||t===as)return;let r=$o();Es!==null&&Da!==null&&r===null&&Da.io(n,t),n.rr!==null&&zh(n);let i=r!==null&&!wi(n)&&!bi,o=i&&Qre(n,r);if(!o&&uM(n)){let l=Nn.descriptor(n,t,Array.isArray(e));if(l!==void 0)return l===null?void 0:l}let s;if(o)s=wO(n);else if(i){let l=dO(n,t),c=yo(l);if(s=Rd(n,t,!0),!c&&(!n.ch||!(t in s)))return}else s=Rd(n,t,!0);let a;if(a??=tie(n,s,t),a!==void 0)return t==="length"&&Array.isArray(e)?a.writable=!0:a.configurable=!0,a},set(e,t,n){let r=this,i=wi(r);if(!i&&!bi||t==="__proto__")return!0;let o=r.s||r.rr&&n?.[Bn]?.rr!==r.rr?n:Ro(n),s=$2(r);bo&&r.k?.l&256&&Vh.add(Nd(r,t)),Array.isArray(s)?(Dg(r,t),t==="length"?r.wk=jh:Dg(r,"length")):(Dg(r,t),t in s||r.kc++);let a=Zre.has(t);return a||r.ovl&&r.sc!==2&&!xi.call(s,t)?Object.defineProperty(s,t,{value:o,writable:!0,enumerable:!0,configurable:!0}):s[t]=o,r.del?.delete(t),a||(r.s&&o!==null&&typeof o=="object"&&_2(o),i||I2(r)),!0},defineProperty(e,t,n){let r=this,i=wi(r);if(!i&&!bi||t==="__proto__")return!0;(n.get||n.set)&&(r.a=!0),"value"in n&&(n={...n,value:Ro(n.value)});let o=$2(r);return(r.a||!(n.enumerable&&n.writable&&n.configurable))&&(r.sc=1),Dg(r,t),Object.defineProperty(o,t,n),r.del?.delete(t),i||I2(r),!0},deleteProperty(e,t){let n=this,r=wi(n);if(!r&&!bi)return!0;let i=$2(n);Dg(n,t);let o=n.ovl&&xi.call(n.v,t);return xi.call(i,t)&&(delete i[t],o||n.kc--),o&&(n.del??=new Set).add(t),r||I2(n),!0},getPrototypeOf(){return xl(this.v)},preventExtensions:()=>!1,setPrototypeOf:()=>!1};xO.prototype=Jre;function Qre(e,t){let n=e.k;if(n===null)return!1;let r=n.Ze;return r!==null&&r.u===t&&(!(t.R&4)||r.Ne===t.de)}function gM(e,t,n=!0){Tg!==null&&Tg(e);let r=e[Bn],i=wl;wl=new Set,wl.add(pM(r));let o=bo;bo=n,Og===0&&yl.size&&yl.clear(),Og++;let s;try{s=t(e),Nn!==null&&n&&r.o&&!bi&&s!==void 0&&s!==e&&yi(s)&&(Nn.reconcile(e,Ro(s),r.rr?.key??null),s=void 0)}finally{if(Og--,wl=i,Og===0&&yl.size){E2!==null&&Ts(E2);let a=[...yl];yl.clear();for(let l of a)I2(l);if(gc)for(let l of a)l.pb!==null&&DO(l,l.v)}bo=o,Og===0&&(E2=null)}if(s!==void 0&&s!==e&&yi(s)&&qh(r,Ro(s)),n&&D2){D2=!1;let a=r.rr.node;a.R&2||(a.R=a.R&-2|2,Bh(a,Cr),_r())}}aO(e=>{if(e?.s&&!(e.ch||e.a||wl||bi||e.rr?.opt))return e.rr&&zh(e),Rd(e)});function eie(e,t){let n;if(e.ovl&&t===e.pb){n=Reflect.ownKeys(e.v);let r=e.del;r?.size&&(n=n.filter(i=>!r.has(i)));for(let i of Reflect.ownKeys(t))xi.call(e.v,i)||n.push(i)}else n=Reflect.ownKeys(t);for(let r=n.length-1;r>=0&&typeof n[r]=="symbol";r--)if(n[r]===qi){n.splice(r,1);break}return n}function tie(e,t,n){let r=Object.getOwnPropertyDescriptor(t,n);if(e.ovl&&t===e.pb){if(e.del?.has(n))return;r===void 0&&(r=Object.getOwnPropertyDescriptor(e.v,n))}return r}function jO(e,t,n,r=!1){if(t==null)throw new Error("");let i=t[Bn];if(i?.px!==t)throw new Error("");let o=n===null?null:typeof n=="string"?a=>a?.[n]:n;if(Nn!==null&&i.o&&LO()){Nn.reconcile(t,Ro(e),o);return}if(r&&e!==t&&e?.[Bn]!==void 0){if((i.pb??i.v)===e)return;qh(i,e);return}let s=Ro(e);if(o){let a=i.pb??i.v,l=o(a);if(l!==void 0&&!P2(o(s),l)){if(!r)throw new Error("");Oa(a)?delete a[qi]:(i.rr?.map??Rg).delete(a),qh(i,s);return}}qO(i,s,o,r)}function qO(e,t,n,r=!1){let i=e.ovl?zg(e):e.pb??e.v;if(t===i&&!Oa(i))return;let o=Nn!==null&&e.o?(Nn.pair(e,t,!0),Nn.view(e,i)):i,s=Array.isArray(t),a=e.s===!0;qh(e,t,!1),a&&Eg(t);let l=e.dk===null;if(Array.isArray(o)!==s||i[Bn]){hM(e,i,t);return}if(s){let d=e.n,h=0;if(n&&!a){let p=o.length,m=t.length,y=0;for(let w=Math.min(p,m);y<w;y++){let k=t[y],$=o[y];if($!==k&&!mM($,k,n))break;if(k!==null&&typeof k=="object"&&($!==k||Oa(k))&&Vg(Ro($),k,n,r,e,y),Pd&&!l&&!(k!==null&&typeof k=="object"?yc($,k):Ti($,k))&&(fu(e),l=!0),d!==null){let C=d[y];C!==void 0&&(h++,H2(C,y,i[y],k,i,t))}}Pd&&!l&&y<t.length&&fu(e);let g=y,x=null;for(;y<t.length;y++){let w=t[y];if(w!==null&&typeof w=="object"){let k=n(w),$;if(k!==void 0){if(x===null){x=new Map;for(let L=g;L<o.length;L++){let P=Ro(o[L]);if(P!==null&&typeof P=="object"){let N=n(P);if(N===void 0)continue;let _=x.get(N);_===void 0?x.set(N,L):Array.isArray(_)?_.push(L):x.set(N,[_,L])}}}let C=x.get(k);C===void 0?$=void 0:Array.isArray(C)?($=Ro(o[C.shift()]),C.length===1&&x.set(k,C[0])):($=Ro(o[C]),x.delete(k))}else $=Ro(o[y]);Vg($,w,n,r,e,y)}if(d!==null){let k=d[y];k!==void 0&&(h++,Bd(k,y,i,t,!1))}}}else{let p=Math.min(o.length,t.length),m=t.length;for(let y=0;y<m;y++){let g=t[y];if(!a&&y<p&&g!==null&&typeof g=="object"&&Vg(Ro(o[y]),g,n,r,e,y),Pd&&!l&&!(g!==null&&typeof g=="object"?yc(o[y],g):Ti(o[y],g))&&(fu(e),l=!0),d!==null){let x=d[y];x!==void 0&&(h++,Bd(x,y,i,t,!1))}}}if(d!==null&&h<e.nc)for(let p of Reflect.ownKeys(d)){let m=typeof p=="string"?+p:NaN;m>=0&&m<t.length||Bd(d[p],p,i,t,!1)}z2(e,i,t);return}let c=e.n,u=0;for(let d in t){let h=t[d],p=i[d];Nn&&p===h&&o!==i&&(p=o[d]);let m=h!==null&&typeof h=="object";if(p===h&&(!m||!Oa(h))&&(c===null||c[d]===void 0||!FO(c[d]))){c?.[d]!==void 0&&u++;continue}if(m&&!a&&Vg(Ro(o[d]),h,n,r,e,d),Pd&&!l&&!(m?yc(p,h):Ti(p,h))&&(fu(e),l=!0),c!==null){let y=c[d];y!==void 0&&(u++,H2(y,d,p,h,i,t))}}let f=Object.getOwnPropertySymbols(t);for(let d=0;d<f.length;d++){let h=f[d];if(h===qi)continue;let p=t[h];if(!a&&p!==null&&typeof p=="object"&&Vg(Ro(i[h]),p,n,r,e,h),c!==null){let m=c[h];m!==void 0&&(u++,H2(m,h,i[h],p,i,t))}}if(c!==null&&u<e.nc)for(let d of Reflect.ownKeys(c))nie.call(t,d)||Bd(c[d],d,i,d==="__proto__"?Object.create(null):t,!1);z2(e,i,t)}var nie=Object.prototype.hasOwnProperty;function Vg(e,t,n,r,i,o){if(e===null||typeof e!="object")return;let s=i.rr;t=Ro(t);let a=Rs(e,s),l=Rs(t,s);if(a!==void 0&&a.pk!==o&&(a.pk!=o&&i.v[a.pk]===a.v?a=void 0:a.u===i&&(a.pk=o)),l!==void 0&&l!==a){if(l.v===t){l.u===i&&(l.pk=o);return}(s?.map??Rg).delete(t)}if(a!==void 0&&yi(t)&&!(Hh&&C2(t))&&Array.isArray(e)===Array.isArray(t)){if(typeof o!="number"&&n){let c=n(e),u=n(t);if(c!==void 0&&u!==void 0&&!P2(c,u))return}!r&&n!==null&&!a.d||qO(a,t,n,r)}}function UO(e,t,n,r,i,o){let s=f=>{if(!t())return!0;Ig(!0);let d=Md;o!==void 0&&wg(o());try{n?n(f):f()}finally{Ig(!1),wg(d)}return i&&i(),!0},a=f=>{Ig(!0);try{return f()}finally{Ig(!1)}},l={get(f,d){let h=a(()=>e[d]);return!r&&typeof h=="object"&&h!==null&&d!==Bn?UO(h,t,n,!1,i,o):h},has:(f,d)=>a(()=>d in e),set:(f,d,h)=>s(()=>{e[d]=h}),deleteProperty:(f,d)=>s(()=>{delete e[d]}),ownKeys:()=>a(()=>Reflect.ownKeys(e)),getPrototypeOf:()=>xl(e),getOwnPropertyDescriptor(f,d){let h=a(()=>Reflect.getOwnPropertyDescriptor(e,d));return h&&(h.configurable=!0),h},defineProperty:(f,d,h)=>s(()=>{Reflect.defineProperty(e,d,h)})},c=new Proxy(Array.isArray(e)?[]:{},l),u=e[Bn];return u!==void 0&&Ng(c,u),c}function WO(e,t){return t?Array.isArray(e)?e.slice():{...e}:JSON.parse(JSON.stringify(e))}function V2(e){let t=e.node,n=new Kr(t);e.Tt=!0;let r=Nn?.ask(e);bM(e,i=>{i.o===null||r?.(i)||(u2(i,t),DA(i,1,n))})}function yM(e,t){bM(e,n=>{n.o!==null&&_g(n,r=>{r.m&2&&r.T.U===t||Wo(r)})}),_r()}function KO(e){if(!e.Tt)return;e.Tt=!1;let t=e.node;bM(e,n=>{n.o!==null&&Ra(n,t)}),ml(t)}function rie(e,t){e&1?V2(this):e?e&2&&yM(this,t):KO(this)}function bM(e,t){for(let n of e.live){let r=n.n;if(r!==null)for(let o of Reflect.ownKeys(r))t(r[o]);let i=n.h;if(i!==null)for(let o of Reflect.ownKeys(i))t(i[o]);n.k!==null&&t(n.k),n.dk!==null&&t(n.dk)}}function iie(e,t,n,r,i){let o=zr(),s=e[Bn],a=s.rr,l=a.run=(a.run||0)+1;ni&&(a.Tt||a.w)&&(a.w=0,o.l&=-32769,fr?._parent.Pe===fr&&Ad(null));let c,u=o.Ie?WO(s.v,s.s):null,f=()=>Md||(o.T!==null&&o.T.Ee!==null?o.T.ce:0),d=UO(e,()=>a.run===l&&!cg(o),i,s.s,()=>{!(o.m&1)&&!o.Ie&&_r()},f),h=l===1,p=()=>gM(d,m=>{c=t(u??m);let y=(w,k=1)=>{if(u&&(w===void 0||w===u)&&(w=WO(u,s.s)),w!==m&&w!==void 0){let $=()=>{let C=Md;wg(f());try{gM(e,L=>jO(w,L,n,!0),!1)}finally{wg(C)}};r?r($,w):$()}(!h||!(o.m&4))&&!(hl&&o.m&1&&hl(o,null,!0))&&KO(a),k&&ml(o)},x=d2(o,c,(w,k,$)=>LN(o,w,y,k,$),(w,k)=>{h&&o.m&4||(k?V2(a):yM(a,w))});o.Ie||y(x,o.m&3)},!1);try{h?OO(p):p()}catch(m){throw h||(m instanceof Kr?V2(a):yM(a,m)),m}return o.m&1&&o.T.Ee!==null&&!o.Ie&&!h&&V2(a),o}function oie(e,t,n,r){t||={};let i=n?.key===void 0?"id":n.key,o={map:new WeakMap,node:null,live:new Set,st:rie,It:!!n?.shallow,opt:r,key:typeof i=="function"?i:i===null?null:l=>yi(l)?l[i]:void 0},s=ta(t,null,null,o);o.It&&(s[Bn].s=!0,Eg(t));let a;if(n?.seedLoadingValue&&(a={loadingValue:void 0}),e){let l=pc(()=>{o.node||(o.node=zr()),iie(s,e,i)},a);l.l&=-33,o.node=l,l.rr=o}return s}function j2(e,t,n){return oie(e,t,n)}function hu(e,t){if(typeof e=="function"&&!e.length){if(t?.doNotUnwrap)return e;do e=e();while(typeof e=="function"&&!e.length)}if(!(t?.skipNonRendered&&(e==null||e===!0||e===!1||e===""))){if(Array.isArray(e)){let n=[];return wM(e,n,t)?()=>{let r=[];return wM(n,r,{...t,doNotUnwrap:!1}),r}:n}return e}}function wM(e,t=[],n){let r=null,i=!1;for(let o=0;o<e.length;o++)try{let s=e[o];if(typeof s=="function"&&!s.length){if(n?.doNotUnwrap){t.push(s),i=!0;continue}do s=s();while(typeof s=="function"&&!s.length)}Array.isArray(s)?i=wM(s,t,n)||i:n?.skipNonRendered&&(s==null||s===!0||s===!1||s==="")||t.push(s)}catch(s){if(!(s instanceof Kr))throw s;r=s}if(r)throw r;return i}function jg(){return!0}var ls=0,eo=1,bc=2,wc=3,wo=4,sie=Object.freeze({});function mu(e,t){return t===wc?(e=e())||sie:e}var na=class{source;kind;hidden;table=0;keys=void 0;descs=void 0;constructor(t,n,r){this.source=t,this.kind=n,this.hidden=r}};function No(e,t){let n=e.hidden;return typeof n=="function"?n(t):n.includes(t)}function aie(e,t){if(typeof e!="function"&&typeof t!="function"){let n=e.slice();for(let r=0;r<t.length;r++)n.push(t[r]);return n}return n=>(typeof e=="function"?e(n):e.includes(n))||(typeof t=="function"?t(n):t.includes(n))}function pu(e){return mu(e.source,e.kind)}function qg(e){return e[as]}function vM(e,t){if(t===ls)return Object.keys(e);if(t===bc||e[qr]===e){let n=e[Bn];return(n?.px===e?n:Reflect).ownKeys(e)}return Object.keys(e)}function U2(e,t){if(t===eo){if(e.kind===wo)return QO(e.source,!1,e);let n=vM(pu(e),e.kind),r=[];for(let i=0;i<n.length;i++)No(e,n[i])||r.push(n[i]);return r}return vM(mu(e,t),t)}function Hd(e,t,n){return t===eo?No(e,n)?!1:e.kind===wo?EM(e.source,n):n in pu(e):n in mu(e,t)}function Wg(e,t,n){return t===eo?No(e,n)?void 0:e.kind===wo?Wh(e.source,n):pu(e)[n]:mu(e,t)[n]}function SM(e,t){return t===ls?!0:t!==eo?!1:e.kind===ls?!0:e.kind===wo&&_M(e.source)}function _M(e){let t=e.sources,n=e.kinds;for(let r=0;r<t.length;r++)if(!SM(t[r],n[r]))return!1;return!0}function K2(e){if(!(qr in e))return!0;let t=qg(e);return t instanceof Fd?_M(t):t!==void 0&&SM(t,eo)}function q2(e,t=!0){return{configurable:!0,enumerable:t,get:e,set:jg}}function G2(e,t,n,r=!1){if(t===eo)return No(e,n)?void 0:G2(e.source,e.kind,n,r);if(t===wo)return JO(e,n);if(t===wc)return r||n in mu(e,t)?q2(()=>mu(e,t)[n]):void 0;if(t===bc)return qg(e)!==void 0?Reflect.getOwnPropertyDescriptor(e,n):r||n in e?q2(()=>e[n]):void 0;let i=Reflect.getOwnPropertyDescriptor(e,n);if(i!==void 0)return i.get!==void 0||i.set!==void 0?q2(()=>e[n],i.enumerable):i.configurable?i:{configurable:!0,enumerable:i.enumerable,writable:!0,value:i.value}}function lie(e,t){{if(e.kind===wo)return t9(e.source,e);let n=QA(pu(e)),r=[];for(let i=0;i<n.length;i++)No(e,n[i])||r.push(n[i]);return r}}var Fd=class{sources;kinds;table=0;keys=void 0;descs=void 0;constructor(t,n){this.sources=t,this.kinds=n}};function zd(e){return e&&qr in e?e[as]:void 0}function Y2(e){if(!e||!(qr in e))return;let t=qg(e);return t instanceof na?AM(t):t===void 0?void 0:X2(t)}function X2(e){let t=e.table;if(typeof t!="object"){let n=e.sources,r=e.kinds;for(let i=0;i<n.length;i++)if(!SM(n[i],r[i])){e.table=null;return}t=new Map,CM(t,e,void 0),e.table=t}return t===null?void 0:t}function CM(e,t,n){let r=t.sources,i=t.kinds;for(let o=0;o<r.length;o++){let s=r[o];if(i[o]===eo){if(s.kind===wo){n===void 0?n=[s]:n.push(s),CM(e,s.source,n),n.pop();continue}let a=s.source,l=Reflect.ownKeys(a);for(let c=0;c<l.length;c++){let u=l[c];!No(s,u)&&!kM(n,u)&&GO(e,u,a)}}else{let a=Reflect.ownKeys(s);for(let l=0;l<a.length;l++){let c=a[l];kM(n,c)||GO(e,c,s)}}}}function kM(e,t){if(e!==void 0){for(let n=e.length-1;n>=0;n--)if(No(e[n],t))return!0}return!1}function GO(e,t,n){e.has(t)&&e.delete(t),e.set(t,n)}function AM(e){let t=e.table;if(typeof t!="object"){let n=e.source;if(e.kind===wo){if(!_M(n)){e.table=null;return}t=new Map,CM(t,n,[e])}else if(e.kind===ls){t=new Map;let r=Reflect.ownKeys(n);for(let i=0;i<r.length;i++){let o=r[i];No(e,o)||t.set(o,n)}}else{e.table=null;return}e.table=t}return t===null?void 0:t}var cie=Object.prototype.propertyIsEnumerable;function XO(e,t){let n=e.keys;if(n===void 0){n=e.keys=[];for(let[r,i]of t)cie.call(i,r)&&n.push(r)}return n}function MM(e,t,n){let r=t.get(n);if(r===void 0)return;let i=e.descs;i===void 0&&(i=e.descs=new Map);let o=i.get(n);return o===void 0?(o=G2(r,ls,n),o===void 0?void 0:(i.set(n,o),o)):o.get!==void 0?o:{configurable:!0,enumerable:o.enumerable,writable:o.writable,value:r[n]}}var TM=16;function YO(e){let t=e.table;if(typeof t=="object")return t===null?void 0:t;if(t+1<TM){e.table=t+1;return}return X2(e)}function xM(e){let t=e.table;if(typeof t=="object")return t===null?void 0:t;if(t+1<TM){e.table=t+1;return}return AM(e)}function $M(e){let t=e.table;return typeof t=="object"&&t!==null?t:void 0}var W2=Symbol();function ZO(e,t){let n=$M(e);if(n!==void 0){let o=n.get(t);return o===void 0?W2:o[t]}let r=e.sources,i=e.kinds;for(let o=r.length-1;o>=0;o--){let s=i[o];if(s===ls){let a=r[o];if(t in a)return a[t];continue}if(s===eo){let a=r[o];if(No(a,t))continue;if(a.kind===wo){let c=ZO(a.source,t);if(c!==W2)return c;continue}let l=pu(a);if(t in l)return l[t]}else{let a=mu(r[o],s);if(t in a)return a[t]}}return W2}function Wh(e,t){let n=ZO(e,t);return n===W2?void 0:n}function EM(e,t){let n=$M(e);if(n!==void 0)return n.has(t);let r=e.sources,i=e.kinds;for(let o=r.length-1;o>=0;o--)if(Hd(r[o],i[o],t))return!0;return!1}function JO(e,t){let n=$M(e);if(n!==void 0)return MM(e,n,t);let r=e.sources,i=e.kinds;for(let o=r.length-1;o>=0;o--)if(Hd(r[o],i[o],t))return G2(r[o],i[o],t,!0)??q2(()=>Wh(e,t))}function QO(e,t,n){let r=[];return e9(e,n===void 0?void 0:[n],t,r,null),r}function e9(e,t,n,r,i){let o=e.sources,s=e.kinds;for(let a=0;a<o.length;a++){let l=o[a],c=s[a],u;if(c===eo){if(l.kind===wo){t===void 0?t=[l]:t.push(l),e9(l.source,t,n,r,i),t.pop();continue}u=l,c=l.kind,l=l.source}l=mu(l,c);let f=n?QA(l):vM(l,c);for(let d=0;d<f.length;d++){let h=f[d];u!==void 0&&No(u,h)||kM(t,h)||uie(r,i,h,l)}}}function uie(e,t,n,r){let i=e.indexOf(n);i!==-1&&(e.splice(i,1),t!==null&&t.splice(i,1)),e.push(n),t!==null&&t.push(r)}function t9(e,t){let n=X2(e);if(n===void 0)return QO(e,!0,t);let r=XO(e,n);if(t===void 0)return r;let i=[];for(let o=0;o<r.length;o++)No(t,r[o])||i.push(r[o]);return i}var die={get(e,t,n){if(typeof t=="symbol"){if(t===qr)return n;if(t===as)return e;if(t===Bn)return}let r=e.table,i;if(typeof r!="object"){if(r+1<TM){e.table=r+1;let s=e.sources,a=e.kinds;for(let l=s.length-1;l>=0;l--){if(a[l]!==ls)return Wh(e,t);let c=s[l][t];if(c!==void 0||t in s[l])return c}return}if(i=X2(e),i===void 0)return Wh(e,t)}else{if(r===null)return Wh(e,t);i=r}let o=i.get(t);return o===void 0?void 0:o[t]},has(e,t){if(t===qr)return!0;if(t===Bn||t===as)return!1;let n=YO(e);return n!==void 0?n.has(t):EM(e,t)},set:jg,deleteProperty:jg,getOwnPropertyDescriptor(e,t){if(t===qr||t===Bn||t===as)return;let n=YO(e);return n!==void 0?MM(e,n,t):JO(e,t)},ownKeys(e){return t9(e)}},fie={get(e,t,n){if(t===qr)return n;if(t===as)return e;if(t!==Bn){if(e.kind===wo){let r=xM(e);if(r!==void 0){let i=r.get(t);return i===void 0?void 0:i[t]}return No(e,t)?void 0:Wh(e.source,t)}if(!No(e,t))return pu(e)[t]}},has(e,t){if(t===qr)return!0;if(t===Bn||t===as)return!1;if(e.kind===wo){let n=xM(e);return n!==void 0?n.has(t):No(e,t)?!1:EM(e.source,t)}return No(e,t)?!1:t in pu(e)},set:jg,deleteProperty:jg,getOwnPropertyDescriptor(e,t){if(!(t===qr||t===Bn||t===as)){if(e.kind===wo){let n=xM(e);if(n!==void 0)return MM(e,n,t)}return G2(e,eo,t)}},ownKeys(e){if(e.kind===wo){let r=AM(e);return r!==void 0?XO(e,r):lie(e)}let t=Reflect.ownKeys(pu(e)),n=[];for(let r=0;r<t.length;r++)No(e,t[r])||n.push(t[r]);return n}};function xo(...e){if(e.length===1&&typeof e[0]!="function")return e[0];let t=new Array(e.length),n=new Array(e.length),r=0,i,o=0;for(let f=0;f<e.length;f++){let d=e[f];if(d){if(o++,i=d,typeof d=="function"){t[r]=Io(d),n[r++]=wc;continue}if(qr in d){let h=qg(d);if(h instanceof Fd)for(let p=0;p<h.sources.length;p++)t[r]=h.sources[p],n[r++]=h.kinds[p];else h!==void 0?(t[r]=h,n[r++]=eo):(t[r]=d,n[r++]=bc);continue}t[r]=d,n[r++]=ls}}if(r!==t.length&&(t.length=r,n.length=r),oA)return o===1&&typeof i!="function"?i:new Proxy(new Fd(t,n),die);let s=Object.create(null),a=!1,l=t.length-1;for(let f=l;f>=0;f--){let d=t[f];if(!d){f===l&&l--;continue}let h=Object.getOwnPropertyNames(d);for(let p=h.length-1;p>=0;p--){let m=h[p];if(!(m==="__proto__"||m==="constructor")&&!s[m]){a=a||f!==l;let y=Object.getOwnPropertyDescriptor(d,m);s[m]=y.get?{enumerable:!0,configurable:!0,get:y.get.bind(d)}:y}}}if(!a)return t[l];let c={},u=Object.keys(s);for(let f=u.length-1;f>=0;f--){let d=u[f],h=s[d];h.get?Object.defineProperty(c,d,h):c[d]=h.value}return c}function li(e,...t){let n=t.length===1&&typeof t[0]=="function"?t[0]:t;if(oA){let s=e,a=ls;if(typeof e=="function")a=wc;else if(qr in e){a=bc;let l=qg(e);l instanceof na?(s=l.source,a=l.kind,n=aie(l.hidden,n)):l!==void 0&&(s=l,a=wo)}return new Proxy(new na(s,a,n),fie)}let r={},i=Object.getOwnPropertyNames(e),o=typeof n=="function"?n:n.length>4&&i.length>n.length?(s=>a=>s.has(a))(new Set(n)):s=>n.includes(s);for(let s of i)if(!o(s)){let a=Object.getOwnPropertyDescriptor(e,s);!a.get&&!a.set&&a.enumerable&&a.writable&&a.configurable?r[s]=a.value:a.get||a.set?Object.defineProperty(r,s,{enumerable:a.enumerable,configurable:!0,get:a.get&&a.get.bind(e),set:a.set&&a.set.bind(e)}):Object.defineProperty(r,s,a)}return r}var I9e=Symbol.for("solid.LiveSource");var Z2=!1,Bie=Symbol(0);function cs(e,t){let n=Symbol(t&&t.name||"");function r(i){let o=i.value,s=Io(a=>(a||S2(r,o),i.children),{lazy:!0});return Io(a=>(a||S2(r,o),hu(s())),{lazy:!0,sync:!0})}return r.id=n,r.defaultValue=e,r}function Uo(e){return YA(e)}function s9(e){let t=Io(e,{lazy:!0}),n=Io(()=>hu(t()),{lazy:!0,sync:!0});return n.toArray=()=>{let r=n();return Array.isArray(r)?r:r!=null?[r]:[]},n}var R9e={id:Symbol("NoHydrateContext"),defaultValue:!1},vl={hydrating:!1,registry:void 0,done:!1};function a9(){return vl.hydrating&&(!vl.isClaiming||vl.isClaiming())}var Fie;var Hie;var zie;var N9e=Symbol.for("solid.LiveSource"),O9e=Symbol.for("solid.LiveResumeFrom"),D9e=Symbol.for("solid.LiveLocal");var Yr=(...e)=>(Fie||Io)(...e),Wt=tM;var l9=(...e)=>vl.hydrating?zie(j2,e[0],e[1]??{},e[2]):j2(...e);var Vd=Wb,RM=rM,kl=(...e)=>(Hie||nM)(...e);function Re(e,t,n,r){return _n(()=>e(t||{}))}var Vie=0;function xc(){return vl.hydrating?vl.getNextContextId():`cl-${Vie++}`}var jie=Symbol.for("solid.component-binding"),IM=Symbol("solid.dynamic-flight");function Uh(e){return e?.[jie]||void 0}function c9(e,t,n){if(t?.static)return qie(_n(e),n);let r=new Set,i,o,s=(c,u)=>{let f=Uh(c);if(!f)return c;i=f.address;let d=Uh(u);if(d&&d.component===f.component){for(let h of r)h(f.address);return o=u,u}return c},a=(c,u)=>{if(u===o&&(o=void 0,c===u))return!0;let f=Uh(c),d=Uh(u);if(!f||!d||f.component!==d.component)return c===u;if(i===void 0)return f.address===d.address;if(d.address!==i){i=d.address;for(let h of r)h(d.address)}return!0},l=Yr(c=>{let u=e();return!u||typeof u.then!="function"?s(u,c):{[IM]:u}},{lazy:!0,equals:a});return c=>{if(vl.hydrating)try{_n(l)}catch{}let u=0,f=Yr(d=>{let h=l();if(!h||!h[IM])return s(h,d);let p=h[IM],m=++u;return{then:(y,g)=>p.then(x=>{let w=m===u?s(x,d):x;return y?y(w):w},g)}},{equals:a});return Yr(()=>{let d=f();switch(typeof d){case"function":{let h=Uh(d);if(h){let[p,m]=Wt(i??=h.address,{ownedWrite:!0});return r.add(m),Is(()=>r.delete(m)),_n(()=>h.component(c,p))}return _n(()=>d(c))}case"string":return n?n(d,c):void 0}})}}function qie(e,t){if(typeof e=="function"){let n=Uh(e);if(n){let r=()=>n.address;return i=>_n(()=>n.component(i,r))}return r=>_n(()=>e(r))}return typeof e=="string"&&t?n=>t(e,n):()=>{}}var u9=e=>{throw`Stale read from <${e}>.`};function Vn(e){let t="fallback"in e?{keyed:e.keyed,fallback:()=>e.fallback}:{keyed:e.keyed},n=zr(),r,i=()=>gi(n,()=>T2(()=>e.each,e.children,t));return vl.hydrating&&(r=i()),()=>(r??(r=i()))()}function Ln(e){let t=e.keyed,n=Io(()=>e.when,void 0),r=t?n:Io(n,{equals:(o,s)=>!o==!s,sync:!0}),i;return Io(()=>{let o=r(),s=i={};if(o){let a=e.children;return typeof a=="function"&&a.length>0?t?_n(()=>a(o),Z2):_n(()=>a(()=>(Es&&i===s||r()||u9("Show"),n())),Z2):a}return e.fallback},{sync:!0})}function NM(e){let t=s9(()=>e.children),n=Io(()=>{let i=t.toArray(),o=()=>{};for(let s=0;s<i.length;s++){let a=s,l=i[s];if(l==null)continue;let c=o,u=Io(()=>c()?void 0:l.when,void 0),f=l.keyed?u:Io(u,{equals:(d,h)=>!d==!h,sync:!0});o=()=>{let d=c();if(d)return d;let h=f();return h?[a,h,u,l]:void 0}}return o},{sync:!0}),r;return Io(()=>{let i=r=n()();if(!i)return e.fallback;let[o,s,a,l]=i,c=l.children;return typeof c=="function"&&c.length>0?l.keyed?_n(()=>c(s),Z2):_n(()=>c(()=>(Es&&r===i||_n(n)()?.[0]===o||u9("Match"),a())),Z2):c},{sync:!0})}function Ug(e){return e}var Kg=w2;var d9=c9,vi=vl;var f9={INPUT:{value:1,defaultValue:2,checked:1,defaultChecked:2},SELECT:{value:1},OPTION:{value:1,selected:1,defaultSelected:2},TEXTAREA:{value:1,defaultValue:2},VIDEO:{muted:1,defaultMuted:2},AUDIO:{muted:1,defaultMuted:2}},Uie=new Set(["innerHTML","textContent","innerText","children"]),Sl=Symbol("slot"),h9=Symbol("index"),DM=Symbol("host"),Kie=new Set(["beforeinput","click","dblclick","contextmenu","focusin","focusout","input","keydown","keyup","mousedown","mousemove","mouseout","mouseover","mouseup","pointerdown","pointermove","pointerout","pointerover","pointerup","touchend","touchmove","touchstart"]),Gie=new Set(["altGlyph","altGlyphDef","altGlyphItem","animate","animateColor","animateMotion","animateTransform","circle","clipPath","color-profile","cursor","defs","desc","ellipse","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","filter","font","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignObject","g","glyph","glyphRef","hkern","image","line","linearGradient","marker","mask","metadata","missing-glyph","mpath","path","pattern","polygon","polyline","radialGradient","rect","set","stop","svg","switch","symbol","text","textPath","tref","tspan","use","view","vkern"]),Yie=new Set(["annotation","annotation-xml","maction","math","menclose","merror","mfenced","mfrac","mi","mmultiscripts","mn","mo","mover","mpadded","mphantom","mprescripts","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msubsup","msup","mtable","mtd","mtext","mtr","munder","munderover","semantics"]),LM={svg:"http://www.w3.org/2000/svg",mathml:"http://www.w3.org/1998/Math/MathML",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace"};var Xie={transparent:!0,sync:!0},Zie={sync:!0};function Bt(e,t,n){let r=n?{sync:!0,...n,transparent:!n.scope}:Xie;RM(e,t,r)}function At(e){return Yr(()=>e(),Zie)}function p9(e,t,n,r){let i=n.length,o=t.length,s=i,a=0,l=0,c,u,f,d;for(;a<o&&t[a]===n[l];)a++,l++;if(a===o&&l===s)return;let h=e.moveBefore&&e.isConnected,p=r||e,m=(x,w)=>{h&&x.isConnected?e.moveBefore(x,w):e.insertBefore(x,w),(r||x[Sl])&&(x[Sl]=p)};if(!o){for(let x of n)m(x,r);return}let y=x=>x&&x.parentNode===e&&(!(x=x[Sl])||x===p),g=x=>{for(;x<i&&!y(n[x]);)x++;return n[x]||(u&&u.parentNode!==e?r||null:u)};for(u=y(d=t[o-1])?d.nextSibling:r||null;a<o||l<s;){if(t[a]===n[l]){a++,l++;continue}for(;o>a&&s>l&&t[o-1]===n[s-1];)o--,s--;if(o===a)for(d=g(s);l<s;)m(n[l++],d);else if(!y(d=t[a]))a++;else if(n[l]===t[o-1]&&(d===n[s-1]||!c&&d===n[l+1]&&t[a+1]===n[l+2]))do m(t[--o],d),l++;while(a<o-1&&l<s&&d===n[s-1]&&n[l]===t[o-1]);else if(l<s&&d===n[s-1]&&t[a+1]!==n[s-2]&&y(n[l])&&y(t[o-1]))m(d,g(s)),a++,s--;else{if(!c)for(c=1,f=l;f<s;)n[f][h9]=f++;if((f=d[h9])>=0&&n[f]===d)if(l<f&&f<s){let x=a,w=1;for(;++x<o&&x<s&&t[x]===n[f+w];)w++;if(w>f-l)for(;l<f;)m(n[l++],d);else{let k=n[l++];a++,h?m(k,d):e.replaceChild(k,d),(r||k[Sl])&&(k[Sl]=p)}}else a++;else d.remove(),a++}}}var fDe=Symbol.for("solid.ServerFunctionMetadata");var hDe=Symbol.for("solid.ServerFunctionRPC");var _9="_$$",PM="_$SOLID_EVENT_OWNER",C9=Symbol(),m9=Object.prototype.hasOwnProperty,g9={},BM=new Set,qd=new Map;function ow(e,t,n,r={}){let i;Qie(t);try{Vd(o=>{i=o,r.onError&&(zr()[o2]=r.onError);let s=e();t===document?Bt(()=>hu(s),()=>{}):Te(t,()=>s,t.firstChild?null:void 0,n,{...r.insertOptions,schedule:!0})},{id:r.renderId}),xn()}catch(o){throw i&&i(),b9(t),o}finally{}return()=>{i(),b9(t),t.textContent=""}}var y9;function Jie(e,t,n){let r=document.createElement("template");r.innerHTML=y9?y9.createHTML(e):e;let i=r.content.firstChild;return n===2?i.firstChild:i}function ht(e,t){let n;return i=>(n||(n=Jie(e,i,t)),t===1?document.importNode(n,!0):n.cloneNode(!0))}function Ko(e){for(let t of e)BM.has(t)||(BM.add(t),qd.forEach((n,r)=>$9(t,r,n)))}function Qie(e){A9(e,e)}function b9(e){M9(e,e)}function A9(e,t=e){if(!e||!t)return;let n=qd.get(e);n||qd.set(e,n={owners:new Map,handlers:new Map}),n.owners.set(t,(n.owners.get(t)||0)+1),BM.forEach(r=>$9(r,e,n))}function M9(e,t=e){let n=qd.get(e);if(!n)return;let r=n.owners.get(t);r>1?n.owners.set(t,r-1):n.owners.delete(t),!n.owners.size&&(n.handlers.forEach((i,o)=>{e.removeEventListener(o,T9,!0),e.removeEventListener(o,i)}),qd.delete(e))}function T9(e){delete e[PM]}function $9(e,t,n){if(n.handlers.has(e))return;let r=i=>O9(i,t,n);n.handlers.set(e,r),t.addEventListener(e,T9,!0),t.addEventListener(e,r)}function eoe(e){for(;e;){if(qd.get(e)?.owners.has(e))return e;e=nw(e)}}var nw=e=>e._$host||e.parentNode||e.host;function E9(e,t){let n=0;for(;e;){if(t.owners.has(e))return{owner:e,distance:n};n++,e=nw(e)}}function I9(e,t,n){if(Pa(e))return;let r=e.nodeName;t==="value"&&r==="SELECT"?D9(e,n):(t==="value"||t==="defaultValue")&&(r==="INPUT"||r==="TEXTAREA")?n==null&&/^(checkbox|radio)$/.test(e.type)?e.removeAttribute("value"):e[t]=n??"":e[t]=n,sw(e,t)}var Kh=null,toe=[],pDe=Symbol.for("solid.element-claims");function FM(e,t){for(let n=0;n<e.length;n++)e[n](t)}function sw(e,t){Kh!==null&&e._$claimed&&toe.some(n=>n.includes(t.slice(t.indexOf(":")+1)))&&FM(Kh,e)}function VM(e,t){return Kh!==null&&!e._$claimed&&(e._$claimed=!0,t===void 0?FM(Kh,e):gi(t,()=>FM(Kh,e))),e}function ut(e,t,n){if(Pa(e))return;let r=t==="multiple"&&e.localName==="select";if(n==null||n===!1)e.removeAttribute(t);else if(e.setAttribute(t,n===!0?"":n),r&&!e._$multiple){let i=e.options;for(let o=0;o<i.length;o++)i[o].defaultSelected&&(i[o].selected=!0)}r&&(e._$multiple=!0),sw(e,t)}function noe(e,t,n,r){Pa(e)||(r==null||r===!1?e.removeAttributeNS(t,n.indexOf(":")>-1?n.split(":").pop():n):e.setAttributeNS(t,n,r===!0?"":r),sw(e,n))}function to(e,t,n){if(typeof t=="number"&&(t=""+t),typeof n=="number"&&(n=""+n),Pa(e)){e._$classes=t&&typeof t=="object"?OM(t):void 0;return}if(t==null||t===!1){(n||e._$classes)&&(e.removeAttribute("class"),e._$classes=void 0);return}if(typeof t=="string"){e._$classes&&(e._$classes=void 0),t!==n&&e.setAttribute("class",t);return}let r;typeof n=="string"?(r={},e.removeAttribute("class")):r=e._$classes||OM(n||{}),t=OM(t);let i=Object.keys(t),o=Object.keys(r),s,a;for(s=0,a=o.length;s<a;s++){let l=o[s];!l||l==="undefined"||t[l]||e.classList.remove(l)}for(s=0,a=i.length;s<a;s++){let l=i[s],c=!!t[l];!l||l==="undefined"||r[l]===c||!c||e.classList.add(l)}e._$classes=t}function roe(e,t,n,r){if(r){let i=_9+t,o;Array.isArray(n)?(o=n[1],e[i]=n[0]):e[i]=n,e[`${i}Data`]=o;return}if(Array.isArray(n)){let i=n[0],o=s=>i.call(e,n[1],s);return o[C9]=n,e.addEventListener(t,o),o}return e.addEventListener(t,n,typeof n!="function"&&n),n}function aw(e,t,n){if(Pa(e))return;if(!t){(n||e._$styles)&&(ut(e,"style"),e._$styles=void 0);return}let r=e.style;if(typeof t=="string")return e._$styles=void 0,r.cssText=t;typeof n=="string"&&(r.cssText="",n=void 0);let i=e._$styles;i||(i=e._$styles=n?{...n}:{});let o,s;for(s in i)(!m9.call(t,s)||t[s]==null)&&(r.removeProperty(s),delete i[s]);for(s in t)m9.call(t,s)&&(o=t[s],o!=null&&o!==i[s]&&(r.setProperty(s,o),i[s]=o))}function Ba(e){if(e===null||typeof e!="object")return e;if(Array.isArray(e))return e.map(Ba);if(e[qr]!==e)return e;let t=Reflect.ownKeys(e),n={};for(let r=0;r<t.length;r++){let i=t[r];typeof i=="string"&&(n[i]=e[i])}return n}function _l(e,t,n){Pa(e)||(n!=null?e.style.setProperty(t,n):e.style.removeProperty(t))}function Cl(e,t,n,r,i,o){let s={},a=Kh!==null&&(e.localName==="a"||e.localName==="form")?zr():void 0,l=0,c=d=>{let h=d.ref;h!==s.ref&&(typeof h=="function"||Array.isArray(h))&&en(()=>h,e),zM=l,loe(e,d,!0,s,!0),zM=0,a!==void 0&&VM(e,a)},u=d=>()=>{let h=d();return l=Kg(),h};if(Array.isArray(t))return Bt(u(()=>v9({},t,void 0,r)),c),!n&&!(r!==void 0&&r("children"))&&Te(e,()=>{for(let d=t.length-1;d>=0;d--){let h=Q2(t[d]);if(h&&w9(h,"children"))return x9(h,"children")}}),s;if(Bt(u(()=>{let d=Q2(t),h={},p=Y2(d);if(p!==void 0)return ioe(h,p,r);if(d){let m=zd(d);m instanceof na?HM(h,m,eo,r):m!==void 0?v9(h,m.sources,m.kinds,r):HM(h,d,qr in d?bc:ls,r)}return h}),c),!n&&!(r!==void 0&&r("children")))if(typeof t!="function"&&t!=null&&K2(t)){let d=Object.getOwnPropertyDescriptor(t,"children");d!==void 0&&(d.get===void 0?Te(e,d.value):Te(e,()=>t.children))}else Te(e,()=>{let d=Q2(t);return d&&w9(d,"children")?x9(d,"children"):void 0});return s}function ioe(e,t,n){for(let[r,i]of t){if(typeof r!="string"||r==="children"||n!==void 0&&n(r))continue;let o=i[r];e[r]=r==="style"||r==="class"?Ba(o):o}return e}function Q2(e){return typeof e=="function"?e():e}function w9(e,t){let n=zd(e);return n instanceof na?Hd(n,eo,t):t in e}function x9(e,t){let n=zd(e);return n instanceof na?Wg(n,eo,t):e[t]}function v9(e,t,n,r){let i=[],o=[];for(let s=0;s<t.length;s++)R9(i,o,t[s],n!==void 0?n[s]:wc);for(let s=0;s<i.length;s++)HM(e,i[s],o[s],r,i,o,s+1);return e}function R9(e,t,n,r){if(r!==wc){e.push(n),t.push(r);return}if(n=Q2(n),!n)return;let i=zd(n);if(i instanceof na)e.push(i),t.push(eo);else if(i!==void 0){let o=i.sources,s=i.kinds;for(let a=0;a<o.length;a++)R9(e,t,o[a],s[a])}else e.push(n),t.push(qr in n?bc:ls)}function HM(e,t,n,r,i,o,s){let a=U2(t,n);e:for(let l=0;l<a.length;l++){let c=a[l];if(typeof c!="string"||c==="children"||r!==void 0&&r(c))continue;if(i!==void 0){for(let f=s;f<i.length;f++)if(Hd(i[f],o[f],c))continue e}let u=Wg(t,n,c);e[c]=c==="style"||c==="class"?Ba(u):u}}function ooe(e,t){Array.isArray(e)?e.flat(1/0).forEach(n=>n&&n(t)):e(t)}function en(e,t){let n=_n(e);b2(()=>ooe(n,t))}var soe={scope:!0},La=null,rw=null,jd=null;function aoe(){jd=L9}function Te(e,t,n,r,i){let o=n!==void 0;if(o&&!r&&(r=[]),La!==null&&(r=La.claimInitial(e,o,r)),typeof t!="function"&&(t=tw(t,r,o,!0),typeof t!="function")){ew(e,t,r,n),jd!==null&&i&&i.host&&jd(t,i.host);return}if(o&&r.length===0){let a=document.createTextNode("");e.insertBefore(a,n),r=[a]}let s=!1;Bt(()=>{La!==null&&(r=La.reclaimRegion(r,e,n));let a=tw(t(),r,o,!0),l=s;if(s=!0,typeof a!="function")return a;let c=l&&!(i&&i.schedule)?{...i,schedule:!0}:i;return Bt(()=>(La!==null&&(r=La.reclaimRegion(r,e,n)),tw(a,r,o)),u=>{r=ew(e,u,r,n),jd!==null&&i&&i.host&&jd(r,i.host)},c),g9},a=>{a!==g9&&(r=ew(e,a,r,n),jd!==null&&i&&i.host&&jd(r,i.host))},t.$s?i?{...i,scope:!0}:soe:i)}function loe(e,t,n,r={},i=!1){let o=e.nodeName;t||(t={});for(let s in r)if(!(s in t)){if(s==="children")continue;r[s]=S9(e,s,null,r[s],i,o)}for(let s in t){if(s==="children"){n||ew(e,tw(t.children,void 0,!1));continue}r[s]=S9(e,s,t[s],r[s],i,o)}}function coe(e){let t=vi.hydrating&&hoe(),n=Pa()&&vi.registry.get(t);if(!n){if(!e)throw new Error(`Hydration Mismatch. Unable to find DOM nodes for hydration key: ${t}`);return e(!0)}return vi.completed&&vi.completed.add(n),vi.registry.delete(t),n}function uoe(){vi.events&&!vi.events.queued&&(queueMicrotask(()=>{let{completed:e,events:t}=vi;if(t){for(t.queued=!1;t.length;){let[n,r,i]=t[0];if(!e.has(n))return;t.shift();let o=i||r.target,s=(f,d)=>(Object.defineProperty(r,"target",{configurable:!0,value:o}),O9(r,f,d)),a,l,c,u;for(let[f,d]of qd){if(!d.handlers.has(r.type))continue;let h=E9(o,d);h&&(a?(u||(u=[{container:a,state:l,distance:c}]),u.push({container:f,state:d,distance:h.distance})):(a=f,l=d,c=h.distance))}if(u){u.sort((f,d)=>f.distance-d.distance);for(let f=0;f<u.length;f++)s(u[f].container,u[f].state)}else a&&s(a,l);delete r.target,xn()}vi.done&&(vi.events=_$HY.events=null,vi.completed=_$HY.completed=null)}}),vi.events.queued=!0)}function Pa(e){return!vi.hydrating||vi.isClaiming&&!vi.isClaiming()?!1:!e||e.isConnected?!0:k9!==null&&k9.claimed(e)}var k9=null;function OM(e){if(Array.isArray(e)){let t={};N9(e,t),e=t}if(e&&typeof e=="object"){let t={},n=Object.keys(e);for(let r=0,i=n.length;r<i;r++){let o=n[r];if(!e[o])continue;let s=o.trim().split(/\s+/);for(let a=0,l=s.length;a<l;a++)s[a]&&(t[s[a]]=!0)}return t}return e}function N9(e,t){for(let n=0,r=e.length;n<r;n++){let i=e[n];Array.isArray(i)?N9(i,t):typeof i=="object"&&i!=null?Object.assign(t,i):typeof i!="boolean"&&(i||i===0)&&(t[i]=!0)}}var zM=0;function S9(e,t,n,r,i,o){if(t==="style")return aw(e,n,r),n;if(t==="class")return to(e,n,r),n;if(n===r&&(zM||f9[o]?.[t]!==1))return r;if(t==="ref")return!i&&n&&en(()=>n,e),n;let s,a=t.indexOf(":")>-1;if(!a&&t.startsWith("on")&&(s=t.charCodeAt(2))>64&&s<91){let l=t.slice(2).toLowerCase(),c=Kie.has(l);if(!c&&r){if(Array.isArray(n)&&typeof r=="function"&&r[C9]===n)return r;e.removeEventListener(l,r,typeof r!="function"&&r)}if(c||n){let u=roe(e,l,n,c);if(c&&Ko([l]),!c)return u}}else if(a&&t.slice(0,5)==="prop:"||Uie.has(t)||f9[o]?.[t]){if(a)t=t.slice(5);else if(Pa(e))return n;t==="value"&&o==="SELECT"?D9(e,n):(t==="value"||t==="defaultValue")&&(o==="INPUT"||o==="TEXTAREA")?n==null&&/^(checkbox|radio)$/.test(e.type)?e.removeAttribute("value"):e[t]=n??"":e[t]=n,sw(e,t)}else{let l=a&&LM[t.split(":")[0]];l?noe(e,l,t,n):ut(e,t,n)}return n}function O9(e,t,n){if(La!==null&&La.dedupEvent(e))return;let r=e[PM],i;if(r){if(r===!0||r===t||!t.contains(r))return;i=r}let o=n.owners.size===1&&n.owners.has(t)?t:E9(e.target,n)?.owner;if(!o||o===i)return;e[PM]=o;let s=i||e.target,a=_9+e.type,l=(d,h)=>Object.defineProperty(e,d,{configurable:!0,value:h}),c=()=>{let d=s[a];if(d&&!s.disabled){l("currentTarget",s);let h=s[`${a}Data`];if(h!==void 0?d.call(s,h,e):typeof d=="function"?d.call(s,e):d.handleEvent(e),e.cancelBubble)return}return s.host&&typeof s.host!="string"&&!s.host._$host&&s.contains(e.target)&&l("target",s.host),!0},u=()=>s===o||s.parentNode===o,f=()=>{for(;s&&c()&&!u();)s=nw(s)};if(i)i===e.target&&(s=nw(i)),s&&s!==o&&f();else if(e.composedPath){let d=e.composedPath();if(d.length){l("target",d[0]);for(let h=0;h<d.length&&(s=d[h],!!c());h++){if(s._$host){s=s._$host,f();break}if(u())break}}else f()}else f();delete e.target,delete e.currentTarget}function ew(e,t,n,r){if(La!==null&&Pa(e)){if(t&&t!==n){let o=Array.isArray(t);for(let s of o?t:[t])if(s&&s.nodeType){if(!Pa(s))return n}else if(o&&(typeof s=="string"||typeof s=="number"))return n}return t}if(t===n)return t;if(La!==null&&vi.hydrating&&t&&t.length!==0){let o=[].concat(n??[]);if([].concat(t).every(s=>(s===o[0]&&o.shift(),s?.parentNode===e))&&!o.length)return t}let i=typeof t;if(i==="string"||i==="number"){let o=typeof n;o==="string"||o==="number"?e.firstChild.data=t:P9(e,n)?e.textContent=t:(B9(e,n),e.insertBefore(document.createTextNode(t),e.firstChild))}else if(t===void 0)J2(e,n,r);else if(t.nodeType)Array.isArray(n)?J2(e,n,r??null,t):n!=null&&n.nodeType?n.parentNode===e?e.replaceChild(t,n):e.appendChild(t):n!=null&&e.firstChild?e.replaceChild(t,e.firstChild):e.appendChild(t),(r||t[Sl])&&(t[Sl]=r||e);else if(Array.isArray(t)){let o=Array.isArray(n);for(let s=0,a=t.length;s<a;s++){let l=t[s],c=typeof l;if(c==="string"||c==="number"){let u=o?n[s]:void 0;if(u&&u.nodeType===3){let f=u._$d;f!==l&&(f!==void 0||u.data!==""+l)&&(u.data=u._$d=l),t[s]=u}else t[s]=document.createTextNode(l)}}t.length===0?J2(e,n,r):o?p9(e,n,t,r):(n!=null&&J2(e,n),p9(e,[],t))}return rw&&rw(e),t}function iw(e){(e=e.currentTarget||e)._$v=null,e.removeEventListener("change",iw,!0)}function D9(e,t){let n=e._$v&&e._$v.map;if(t!=null&&t.map?n||e.addEventListener("change",iw,!0):n&&e.removeEventListener("change",iw,!0),t==null)return e._$v=null,queueMicrotask(()=>e.value=t)||(e.value=t);e._$v=t,(rw||=doe)(e),queueMicrotask(()=>rw(e))}function doe(e){e&&e._$v==null&&(e=e.parentNode);let t=e&&e._$v;if(t!=null)if(t.map){let n=[...e.options];for(let r=0;r<n.length;r++)n[r].selected=t.some(i=>i==n[r].value);t.every(r=>n.some(i=>i.value==r))&&iw(e)}else e.value=t,e.selectedIndex>-1&&e.value==t&&(e._$v=null)}function tw(e,t,n,r){if(e=hu(e,{skipNonRendered:!0,doNotUnwrap:r}),r&&typeof e=="function")return e;if(n&&!Array.isArray(e)&&(e=[e??""]),La!==null&&vi.hydrating&&Array.isArray(e))for(let i=0,o=e.length;i<o;i++){let s=e[i],a=t&&t[i],l=typeof s;(l==="string"||l==="number")&&a&&a.nodeType===3&&Pa(a)&&(e[i]=a)}return e}function foe(){return this[DM]()}function L9(e,t){if(Array.isArray(e))for(let n=0,r=e.length;n<r;n++)L9(e[n],t);else e&&e.nodeType&&e[DM]!==t&&(e[DM]=t,Object.defineProperty(e,"_$host",{get:foe,configurable:!0}))}function P9(e,t){if(t==null)return!0;if(Array.isArray(t))return t.length?e.firstChild===t[0]&&e.lastChild===t[t.length-1]:e.firstChild===null;if(t==="")return e.firstChild===null;if(t.nodeType)return e.firstChild===t&&e.lastChild===t;let n=e.firstChild;return n!==null&&n.nodeType===3&&e.lastChild===n}function B9(e,t){if(Array.isArray(t))for(let n=0;n<t.length;n++){let r=t[n];r.parentNode===e&&r.remove()}else if(t.nodeType)t.parentNode===e&&t.remove();else{let n=e.firstChild;n&&n.nodeType===3&&n.remove()}}function J2(e,t,n,r){if(n===void 0)return P9(e,t)?e.textContent="":B9(e,t);if(t.length){let i=!1;for(let o=t.length-1;o>=0;o--){let s=t[o];if(r!==s){let a=s[Sl],l=s.parentNode===e&&(!a||a===(n||e));r&&!i&&!o?l?e.replaceChild(r,s):e.insertBefore(r,n):l&&s.remove()}else i=!0}}else r&&e.insertBefore(r,n);r&&(n||r[Sl])&&(r[Sl]=n||e)}function hoe(){return vi.getNextContextId()}var mDe=Symbol();var gDe=Symbol.for("solid.ResponseEnvelope");var yDe=Symbol.for("solid.Href");var bDe=Symbol.for("solid.SafeError");var Wd=!1;function F9(e){return gi(Ys(),()=>poe(e))}var Gg;function poe(e){let t=[],n=document.createTextNode(""),r=document.createTextNode(""),i=document.createTextNode(""),o=()=>e.mount||document.body,s=Yr(()=>{let a=Gg;t=[],Gg=l=>t.push(l);try{return[r,e.children]}finally{Gg=a}},{ssrSource:"client",loadingValue:void 0});return Gg&&Gg(r),RM(()=>[o(),s(),zr()],([,a,l])=>{let c=_n(o);c.insertBefore(i,t.find(f=>f.parentNode===c)||null);let u=gi(l,()=>Vd(f=>(aoe(),Te(c,a,i,void 0,{host:()=>n.parentNode}),f)));return()=>{u();let f=r;for(;f;){let d=f.nextSibling;if(c.removeChild(f),f===i)break;f=d}}},{schedule:!0,ssrSource:"client"}),kl(o,()=>{let a=_n(o),l=eoe(n);if(!(!l||l.contains(a)))return A9(a,l),()=>M9(a,l)},{ssrSource:"client"}),vi.hydrating?Yr(()=>n,{ssrSource:"client",loadingValue:void 0}):n}function H9(e,t){return d9(e,t,moe)}function moe(e,t){let n=vi.hydrating,r=()=>goe(e,_n(()=>t.is),_n(()=>t.xmlns)),i=n?coe(r):r();return Cl(i,t),n&&uoe(),i}function goe(e,t=void 0,n=void 0){return n?document.createElementNS(n,e,{is:t}):Gie.has(e)?document.createElementNS(LM.svg,e):Yie.has(e)?document.createElementNS(LM.mathml,e):document.createElement(e,{is:t})}var z9=Object.defineProperty,V9=(e,t)=>{let n={};for(var r in e)z9(n,r,{get:e[r],enumerable:!0});return t||z9(n,Symbol.toStringTag,{value:"Module"}),n};function Oo(e){this.content=e}Oo.prototype={constructor:Oo,find:function(e){for(var t=0;t<this.content.length;t+=2)if(this.content[t]===e)return t;return-1},get:function(e){var t=this.find(e);return t==-1?void 0:this.content[t+1]},update:function(e,t,n){var r=n&&n!=e?this.remove(n):this,i=r.find(e),o=r.content.slice();return i==-1?o.push(n||e,t):(o[i+1]=t,n&&(o[i]=n)),new Oo(o)},remove:function(e){var t=this.find(e);if(t==-1)return this;var n=this.content.slice();return n.splice(t,2),new Oo(n)},addToStart:function(e,t){return new Oo([e,t].concat(this.remove(e).content))},addToEnd:function(e,t){var n=this.remove(e).content.slice();return n.push(e,t),new Oo(n)},addBefore:function(e,t,n){var r=this.remove(t),i=r.content.slice(),o=r.find(e);return i.splice(o==-1?i.length:o,0,t,n),new Oo(i)},forEach:function(e){for(var t=0;t<this.content.length;t+=2)e(this.content[t],this.content[t+1])},prepend:function(e){return e=Oo.from(e),e.size?new Oo(e.content.concat(this.subtract(e).content)):this},append:function(e){return e=Oo.from(e),e.size?new Oo(this.subtract(e).content.concat(e.content)):this},subtract:function(e){var t=this;e=Oo.from(e);for(var n=0;n<e.content.length;n+=2)t=t.remove(e.content[n]);return t},toObject:function(){var e={};return this.forEach(function(t,n){e[t]=n}),e},get size(){return this.content.length>>1}};Oo.from=function(e){if(e instanceof Oo)return e;var t=[];if(e)for(var n in e)t.push(n,e[n]);return new Oo(t)};var jM=Oo;function Q9(e,t,n){for(let r=0;;r++){if(r==e.childCount||r==t.childCount)return e.childCount==t.childCount?null:n;let i=e.child(r),o=t.child(r);if(i==o){n+=i.nodeSize;continue}if(!i.sameMarkup(o))return n;if(i.isText&&i.text!=o.text){let s=i.text,a=o.text,l=0;for(;s[l]==a[l];l++)n++;return l&&l<s.length&&l<a.length&&nD(s.charCodeAt(l-1))&&tD(s.charCodeAt(l))&&n--,n}if(i.content.size||o.content.size){let s=Q9(i.content,o.content,n+1);if(s!=null)return s}n+=i.nodeSize}}function eD(e,t,n,r){for(let i=e.childCount,o=t.childCount;;){if(i==0||o==0)return i==o?null:{a:n,b:r};let s=e.child(--i),a=t.child(--o),l=s.nodeSize;if(s==a){n-=l,r-=l;continue}if(!s.sameMarkup(a))return{a:n,b:r};if(s.isText&&s.text!=a.text){let c=s.text,u=a.text,f=c.length,d=u.length;for(;f>0&&d>0&&c[f-1]==u[d-1];)f--,d--,n--,r--;return f&&d&&f<c.length&&nD(c.charCodeAt(f-1))&&tD(c.charCodeAt(f))&&(n++,r++),{a:n,b:r}}if(s.content.size||a.content.size){let c=eD(s.content,a.content,n-1,r-1);if(c)return c}n-=l,r-=l}}function tD(e){return e>=56320&&e<57344}function nD(e){return e>=55296&&e<56320}var St=class e{constructor(t,n){if(this.content=t,this.size=n||0,n==null)for(let r=0;r<t.length;r++)this.size+=t[r].nodeSize}nodesBetween(t,n,r,i=0,o){for(let s=0,a=0;a<n;s++){let l=this.content[s],c=a+l.nodeSize;if(c>t&&r(l,i+a,o||null,s)!==!1&&l.content.size){let u=a+1;l.nodesBetween(Math.max(0,t-u),Math.min(l.content.size,n-u),r,i+u)}a=c}}descendants(t){this.nodesBetween(0,this.size,t)}textBetween(t,n,r,i){let o="",s=!0;return this.nodesBetween(t,n,(a,l)=>{let c=a.isText?a.text.slice(Math.max(t,l)-l,n-l):a.isLeaf?i?typeof i=="function"?i(a):i:a.type.spec.leafText?a.type.spec.leafText(a):"":"";a.isBlock&&(a.isLeaf&&c||a.isTextblock)&&r&&(s?s=!1:o+=r),o+=c},0),o}append(t){if(!t.size)return this;if(!this.size)return t;let n=this.lastChild,r=t.firstChild,i=this.content.slice(),o=0;for(n.isText&&n.sameMarkup(r)&&(i[i.length-1]=n.withText(n.text+r.text),o=1);o<t.content.length;o++)i.push(t.content[o]);return new e(i,this.size+t.size)}cut(t,n=this.size){if(t==0&&n==this.size)return this;let r=[],i=0;if(n>t)for(let o=0,s=0;s<n;o++){let a=this.content[o],l=s+a.nodeSize;l>t&&((s<t||l>n)&&(a.isText?a=a.cut(Math.max(0,t-s),Math.min(a.text.length,n-s)):a=a.cut(Math.max(0,t-s-1),Math.min(a.content.size,n-s-1))),r.push(a),i+=a.nodeSize),s=l}return new e(r,i)}cutByIndex(t,n){return t==n?e.empty:t==0&&n==this.content.length?this:new e(this.content.slice(t,n))}replaceChild(t,n){let r=this.content[t];if(r==n)return this;let i=this.content.slice(),o=this.size+n.nodeSize-r.nodeSize;return i[t]=n,new e(i,o)}addToStart(t){return new e([t].concat(this.content),this.size+t.nodeSize)}addToEnd(t){return new e(this.content.concat(t),this.size+t.nodeSize)}eq(t){if(this.content.length!=t.content.length)return!1;for(let n=0;n<this.content.length;n++)if(!this.content[n].eq(t.content[n]))return!1;return!0}get firstChild(){return this.content.length?this.content[0]:null}get lastChild(){return this.content.length?this.content[this.content.length-1]:null}get childCount(){return this.content.length}child(t){let n=this.content[t];if(!n)throw new RangeError("Index "+t+" out of range for "+this);return n}maybeChild(t){return this.content[t]||null}forEach(t){for(let n=0,r=0;n<this.content.length;n++){let i=this.content[n];t(i,r,n),r+=i.nodeSize}}findDiffStart(t,n=0){return Q9(this,t,n)}findDiffEnd(t,n=this.size,r=t.size){return eD(this,t,n,r)}findIndex(t){if(t==0)return lw(0,t);if(t==this.size)return lw(this.content.length,t);if(t>this.size||t<0)throw new RangeError(`Position ${t} outside of fragment (${this})`);for(let n=0,r=0;;n++){let i=this.child(n),o=r+i.nodeSize;if(o>=t)return o==t?lw(n+1,o):lw(n,r);r=o}}toString(){return"<"+this.toStringInner()+">"}toStringInner(){return this.content.join(", ")}toJSON(){return this.content.length?this.content.map(t=>t.toJSON()):null}static fromJSON(t,n){if(!n)return e.empty;if(!Array.isArray(n))throw new RangeError("Invalid input for Fragment.fromJSON");return e.fromArray(n.map(t.nodeFromJSON))}static fromArray(t){if(!t.length)return e.empty;let n,r=0;for(let i=0;i<t.length;i++){let o=t[i];r+=o.nodeSize,i&&o.isText&&t[i-1].sameMarkup(o)?(n||(n=t.slice(0,i)),n[n.length-1]=o.withText(n[n.length-1].text+o.text)):n&&n.push(o)}return new e(n||t,r)}static from(t){if(!t)return e.empty;if(t instanceof e)return t;if(Array.isArray(t))return this.fromArray(t);if(t.attrs)return new e([t],t.nodeSize);throw new RangeError("Can not convert "+t+" to a Fragment"+(t.nodesBetween?" (looks like multiple versions of prosemirror-model were loaded)":""))}};St.empty=new St([],0);var qM={index:0,offset:0};function lw(e,t){return qM.index=e,qM.offset=t,qM}function dw(e,t){if(e===t)return!0;if(!(e&&typeof e=="object")||!(t&&typeof t=="object"))return!1;let n=Array.isArray(e);if(Array.isArray(t)!=n)return!1;if(n){if(e.length!=t.length)return!1;for(let r=0;r<e.length;r++)if(!dw(e[r],t[r]))return!1}else{for(let r in e)if(!(r in t)||!dw(e[r],t[r]))return!1;for(let r in t)if(!(r in e))return!1}return!0}var lr=class e{constructor(t,n){this.type=t,this.attrs=n}addToSet(t){let n,r=!1;for(let i=0;i<t.length;i++){let o=t[i];if(this.eq(o))return t;if(this.type.excludes(o.type))n||(n=t.slice(0,i));else{if(o.type.excludes(this.type))return t;!r&&o.type.rank>this.type.rank&&(n||(n=t.slice(0,i)),n.push(this),r=!0),n&&n.push(o)}}return n||(n=t.slice()),r||n.push(this),n}removeFromSet(t){for(let n=0;n<t.length;n++)if(this.eq(t[n]))return t.slice(0,n).concat(t.slice(n+1));return t}isInSet(t){for(let n=0;n<t.length;n++)if(this.eq(t[n]))return!0;return!1}eq(t){return this==t||this.type==t.type&&dw(this.attrs,t.attrs)}toJSON(){let t={type:this.type.name};for(let n in this.attrs){t.attrs=this.attrs;break}return t}static fromJSON(t,n){if(!n)throw new RangeError("Invalid input for Mark.fromJSON");let r=t.marks[n.type];if(!r)throw new RangeError(`There is no mark type ${n.type} in this schema`);return r.create(n.attrs)}static sameSet(t,n){if(t==n)return!0;if(t.length!=n.length)return!1;for(let r=0;r<t.length;r++)if(!t[r].eq(n[r]))return!1;return!0}static setFrom(t){if(!t||Array.isArray(t)&&t.length==0)return e.none;if(t instanceof e)return[t];let n=t.slice();return n.sort((r,i)=>r.type.rank-i.type.rank),n}};lr.none=[];var gu=class extends Error{},qt=class e{constructor(t,n,r){this.content=t,this.openStart=n,this.openEnd=r}get size(){return this.content.size-this.openStart-this.openEnd}insertAt(t,n){let r=iD(this.content,t+this.openStart,n,this.openStart+1,this.openEnd+1);return r&&new e(r,this.openStart,this.openEnd)}removeBetween(t,n){return new e(rD(this.content,t+this.openStart,n+this.openStart),this.openStart,this.openEnd)}eq(t){return this.content.eq(t.content)&&this.openStart==t.openStart&&this.openEnd==t.openEnd}toString(){return this.content+"("+this.openStart+","+this.openEnd+")"}toJSON(){if(!this.content.size)return null;let t={content:this.content.toJSON()};return this.openStart>0&&(t.openStart=this.openStart),this.openEnd>0&&(t.openEnd=this.openEnd),t}static fromJSON(t,n){if(!n)return e.empty;let r=n.openStart||0,i=n.openEnd||0;if(typeof r!="number"||typeof i!="number")throw new RangeError("Invalid input for Slice.fromJSON");return new e(St.fromJSON(t,n.content),r,i)}static maxOpen(t,n=!0){let r=0,i=0;for(let o=t.firstChild;o&&!o.isLeaf&&(n||!o.type.spec.isolating);o=o.firstChild)r++;for(let o=t.lastChild;o&&!o.isLeaf&&(n||!o.type.spec.isolating);o=o.lastChild)i++;return new e(t,r,i)}};qt.empty=new qt(St.empty,0,0);function rD(e,t,n){let{index:r,offset:i}=e.findIndex(t),o=e.maybeChild(r),{index:s,offset:a}=e.findIndex(n);if(i==t||o.isText){if(a!=n&&!e.child(s).isText)throw new RangeError("Removing non-flat range");return e.cut(0,t).append(e.cut(n))}if(r!=s)throw new RangeError("Removing non-flat range");return e.replaceChild(r,o.copy(rD(o.content,t-i-1,n-i-1)))}function iD(e,t,n,r,i,o){let{index:s,offset:a}=e.findIndex(t),l=e.maybeChild(s);if(a==t||l.isText)return o&&r<=0&&i<=0&&!o.canReplace(s,s,n)?null:e.cut(0,t).append(n).append(e.cut(t));let c=iD(l.content,t-a-1,n,s==0?r-1:0,s==e.childCount-1?i-1:0,l);return c&&e.replaceChild(s,l.copy(c))}function yoe(e,t,n){if(n.openStart>e.depth)throw new gu("Inserted content deeper than insertion position");if(e.depth-n.openStart!=t.depth-n.openEnd)throw new gu("Inconsistent open depths");return oD(e,t,n,0)}function oD(e,t,n,r){let i=e.index(r),o=e.node(r);if(i==t.index(r)&&r<e.depth-n.openStart){let s=oD(e,t,n,r+1);return o.copy(o.content.replaceChild(i,s))}else if(n.content.size)if(!n.openStart&&!n.openEnd&&e.depth==r&&t.depth==r){let s=e.parent,a=s.content;return Kd(s,a.cut(0,e.parentOffset).append(n.content).append(a.cut(t.parentOffset)))}else{let{start:s,end:a}=boe(n,e);return Kd(o,aD(e,s,a,t,r))}else return Kd(o,fw(e,t,r))}function sD(e,t){if(!t.type.compatibleContent(e.type))throw new gu("Cannot join "+t.type.name+" onto "+e.type.name)}function WM(e,t,n){let r=e.node(n);return sD(r,t.node(n)),r}function Ud(e,t){let n=t.length-1;n>=0&&e.isText&&e.sameMarkup(t[n])?t[n]=e.withText(t[n].text+e.text):t.push(e)}function Yg(e,t,n,r){let i=(t||e).node(n),o=0,s=t?t.index(n):i.childCount;e&&(o=e.index(n),e.depth>n?o++:e.textOffset&&(Ud(e.nodeAfter,r),o++));for(let a=o;a<s;a++)Ud(i.child(a),r);t&&t.depth==n&&t.textOffset&&Ud(t.nodeBefore,r)}function Kd(e,t){if(!e.type.validContent(t))throw new gu("Invalid content for node "+e.type.name);return e.copy(t)}function aD(e,t,n,r,i){let o=e.depth>i&&WM(e,t,i+1),s=r.depth>i&&WM(n,r,i+1),a=[];return Yg(null,e,i,a),o&&s&&t.index(i)==n.index(i)?(sD(o,s),Ud(Kd(o,aD(e,t,n,r,i+1)),a)):(o&&Ud(Kd(o,fw(e,t,i+1)),a),Yg(t,n,i,a),s&&Ud(Kd(s,fw(n,r,i+1)),a)),Yg(r,null,i,a),new St(a)}function fw(e,t,n){let r=[];if(Yg(null,e,n,r),e.depth>n){let i=WM(e,t,n+1);Ud(Kd(i,fw(e,t,n+1)),r)}return Yg(t,null,n,r),new St(r)}function boe(e,t){let n=t.depth-e.openStart,i=t.node(n).copy(e.content);for(let o=n-1;o>=0;o--)i=t.node(o).copy(St.from(i));return{start:i.resolveNoCache(e.openStart+n),end:i.resolveNoCache(i.content.size-e.openEnd-n)}}var hw=class e{constructor(t,n,r){this.pos=t,this.path=n,this.parentOffset=r,this.depth=n.length/3-1}resolveDepth(t){return t==null?this.depth:t<0?this.depth+t:t}get parent(){return this.node(this.depth)}get doc(){return this.node(0)}node(t){return this.path[this.resolveDepth(t)*3]}index(t){return this.path[this.resolveDepth(t)*3+1]}indexAfter(t){return t=this.resolveDepth(t),this.index(t)+(t==this.depth&&!this.textOffset?0:1)}start(t){return t=this.resolveDepth(t),t==0?0:this.path[t*3-1]+1}end(t){return t=this.resolveDepth(t),this.start(t)+this.node(t).content.size}before(t){if(t=this.resolveDepth(t),!t)throw new RangeError("There is no position before the top-level node");return t==this.depth+1?this.pos:this.path[t*3-1]}after(t){if(t=this.resolveDepth(t),!t)throw new RangeError("There is no position after the top-level node");return t==this.depth+1?this.pos:this.path[t*3-1]+this.path[t*3].nodeSize}get textOffset(){return this.pos-this.path[this.path.length-1]}get nodeAfter(){let t=this.parent,n=this.index(this.depth);if(n==t.childCount)return null;let r=this.pos-this.path[this.path.length-1],i=t.child(n);return r?t.child(n).cut(r):i}get nodeBefore(){let t=this.index(this.depth),n=this.pos-this.path[this.path.length-1];return n?this.parent.child(t).cut(0,n):t==0?null:this.parent.child(t-1)}posAtIndex(t,n){n=this.resolveDepth(n);let r=this.path[n*3],i=n==0?0:this.path[n*3-1]+1;for(let o=0;o<t;o++)i+=r.child(o).nodeSize;return i}marks(){let t=this.parent,n=this.index();if(t.content.size==0)return lr.none;if(this.textOffset)return t.child(n).marks;let r=t.maybeChild(n-1),i=t.maybeChild(n);if(!r){let a=r;r=i,i=a}let o=r.marks;for(var s=0;s<o.length;s++)o[s].type.spec.inclusive===!1&&(!i||!o[s].isInSet(i.marks))&&(o=o[s--].removeFromSet(o));return o}marksAcross(t){let n=this.parent.maybeChild(this.index());if(!n||!n.isInline)return null;let r=n.marks,i=t.parent.maybeChild(t.index());for(var o=0;o<r.length;o++)r[o].type.spec.inclusive===!1&&(!i||!r[o].isInSet(i.marks))&&(r=r[o--].removeFromSet(r));return r}sharedDepth(t){for(let n=this.depth;n>0;n--)if(this.start(n)<=t&&this.end(n)>=t)return n;return 0}blockRange(t=this,n){if(t.pos<this.pos)return t.blockRange(this);for(let r=this.depth-(this.parent.inlineContent||this.pos==t.pos?1:0);r>=0;r--)if(t.pos<=this.end(r)&&(!n||n(this.node(r))))return new Gd(this,t,r);return null}sameParent(t){return this.pos-this.parentOffset==t.pos-t.parentOffset}max(t){return t.pos>this.pos?t:this}min(t){return t.pos<this.pos?t:this}toString(){let t="";for(let n=1;n<=this.depth;n++)t+=(t?"/":"")+this.node(n).type.name+"_"+this.index(n-1);return t+":"+this.parentOffset}static resolve(t,n){if(!(n>=0&&n<=t.content.size))throw new RangeError("Position "+n+" out of range");let r=[],i=0,o=n;for(let s=t;;){let{index:a,offset:l}=s.content.findIndex(o),c=o-l;if(r.push(s,a,i+l),!c||(s=s.child(a),s.isText))break;o=c-1,i+=l+1}return new e(n,r,o)}static resolveCached(t,n){let r=j9.get(t);if(r)for(let o=0;o<r.elts.length;o++){let s=r.elts[o];if(s.pos==n)return s}else j9.set(t,r=new UM);let i=r.elts[r.i]=e.resolve(t,n);return r.i=(r.i+1)%woe,i}},UM=class{constructor(){this.elts=[],this.i=0}},woe=12,j9=new WeakMap,Gd=class{constructor(t,n,r){this.$from=t,this.$to=n,this.depth=r}get start(){return this.$from.before(this.depth+1)}get end(){return this.$to.after(this.depth+1)}get parent(){return this.$from.node(this.depth)}get startIndex(){return this.$from.index(this.depth)}get endIndex(){return this.$to.indexAfter(this.depth)}},xoe=Object.create(null),Fa=class e{constructor(t,n,r,i=lr.none){this.type=t,this.attrs=n,this.marks=i,this.content=r||St.empty}get children(){return this.content.content}get nodeSize(){return this.isLeaf?1:2+this.content.size}get childCount(){return this.content.childCount}child(t){return this.content.child(t)}maybeChild(t){return this.content.maybeChild(t)}forEach(t){this.content.forEach(t)}nodesBetween(t,n,r,i=0){this.content.nodesBetween(t,n,r,i,this)}descendants(t){this.nodesBetween(0,this.content.size,t)}get textContent(){return this.isLeaf&&this.type.spec.leafText?this.type.spec.leafText(this):this.textBetween(0,this.content.size,"")}textBetween(t,n,r,i){return this.content.textBetween(t,n,r,i)}get firstChild(){return this.content.firstChild}get lastChild(){return this.content.lastChild}eq(t){return this==t||this.sameMarkup(t)&&this.content.eq(t.content)}sameMarkup(t){return this.hasMarkup(t.type,t.attrs,t.marks)}hasMarkup(t,n,r){return this.type==t&&dw(this.attrs,n||t.defaultAttrs||xoe)&&lr.sameSet(this.marks,r||lr.none)}copy(t=null){return t==this.content?this:new e(this.type,this.attrs,t,this.marks)}mark(t){return t==this.marks?this:new e(this.type,this.attrs,this.content,t)}cut(t,n=this.content.size){return t==0&&n==this.content.size?this:this.copy(this.content.cut(t,n))}slice(t,n=this.content.size,r=!1){if(t==n)return qt.empty;let i=this.resolve(t),o=this.resolve(n),s=r?0:i.sharedDepth(n),a=i.start(s),c=i.node(s).content.cut(i.pos-a,o.pos-a);return new qt(c,i.depth-s,o.depth-s)}replace(t,n,r){return yoe(this.resolve(t),this.resolve(n),r)}nodeAt(t){for(let n=this;;){let{index:r,offset:i}=n.content.findIndex(t);if(n=n.maybeChild(r),!n)return null;if(i==t||n.isText)return n;t-=i+1}}childAfter(t){let{index:n,offset:r}=this.content.findIndex(t);return{node:this.content.maybeChild(n),index:n,offset:r}}childBefore(t){if(t==0)return{node:null,index:0,offset:0};let{index:n,offset:r}=this.content.findIndex(t);if(r<t)return{node:this.content.child(n),index:n,offset:r};let i=this.content.child(n-1);return{node:i,index:n-1,offset:r-i.nodeSize}}resolve(t){return hw.resolveCached(this,t)}resolveNoCache(t){return hw.resolve(this,t)}rangeHasMark(t,n,r){let i=!1;return n>t&&this.nodesBetween(t,n,o=>(r.isInSet(o.marks)&&(i=!0),!i)),i}get isBlock(){return this.type.isBlock}get isTextblock(){return this.type.isTextblock}get inlineContent(){return this.type.inlineContent}get isInline(){return this.type.isInline}get isText(){return this.type.isText}get isLeaf(){return this.type.isLeaf}get isAtom(){return this.type.isAtom}toString(){if(this.type.spec.toDebugString)return this.type.spec.toDebugString(this);let t=this.type.name;return this.content.size&&(t+="("+this.content.toStringInner()+")"),lD(this.marks,t)}contentMatchAt(t){let n=this.type.contentMatch.matchFragment(this.content,0,t);if(!n)throw new Error("Called contentMatchAt on a node with invalid content");return n}canReplace(t,n,r=St.empty,i=0,o=r.childCount){let s=this.contentMatchAt(t).matchFragment(r,i,o),a=s&&s.matchFragment(this.content,n);if(!a||!a.validEnd)return!1;for(let l=i;l<o;l++)if(!this.type.allowsMarks(r.child(l).marks))return!1;return!0}canReplaceWith(t,n,r,i){if(i&&!this.type.allowsMarks(i))return!1;let o=this.contentMatchAt(t).matchType(r),s=o&&o.matchFragment(this.content,n);return s?s.validEnd:!1}canAppend(t){return t.content.size?this.canReplace(this.childCount,this.childCount,t.content):this.type.compatibleContent(t.type)}check(){this.type.checkContent(this.content),q9(this.type.attrs,this.attrs,"node",this.type.name);let t=lr.none;for(let n=0;n<this.marks.length;n++){let r=this.marks[n];q9(r.type.attrs,r.attrs,"mark",r.type.name),t=r.addToSet(t)}if(!lr.sameSet(t,this.marks))throw new RangeError(`Invalid collection of marks for node ${this.type.name}: ${this.marks.map(n=>n.type.name)}`);this.content.forEach(n=>n.check())}toJSON(){let t={type:this.type.name};for(let n in this.attrs){t.attrs=this.attrs;break}return this.content.size&&(t.content=this.content.toJSON()),this.marks.length&&(t.marks=this.marks.map(n=>n.toJSON())),t}static fromJSON(t,n){if(!n)throw new RangeError("Invalid input for Node.fromJSON");let r;if(n.marks){if(!Array.isArray(n.marks))throw new RangeError("Invalid mark data for Node.fromJSON");r=n.marks.map(t.markFromJSON)}if(n.type=="text"){if(typeof n.text!="string")throw new RangeError("Invalid text node in JSON");return t.text(n.text,r)}let i=St.fromJSON(t,n.content);return t.nodeType(n.type).create(n.attrs,i,r)}};Fa.prototype.text=void 0;var KM=class e extends Fa{constructor(t,n,r,i){if(super(t,n,null,i),!r)throw new RangeError("Empty text nodes are not allowed");this.text=r}toString(){return this.type.spec.toDebugString?this.type.spec.toDebugString(this):lD(this.marks,JSON.stringify(this.text))}get textContent(){return this.text}textBetween(t,n){return this.text.slice(t,n)}get nodeSize(){return this.text.length}mark(t){return t==this.marks?this:new e(this.type,this.attrs,this.text,t)}withText(t){return t==this.text?this:new e(this.type,this.attrs,t,this.marks)}cut(t=0,n=this.text.length){return t==0&&n==this.text.length?this:this.withText(this.text.slice(t,n))}eq(t){return this.sameMarkup(t)&&this.text==t.text}toJSON(){let t=super.toJSON();return t.text=this.text,t}};function lD(e,t){for(let n=e.length-1;n>=0;n--)t=e[n].type.name+"("+t+")";return t}function q9(e,t,n,r){for(let i in t)if(!(i in e))throw new RangeError(`Unsupported attribute ${i} for ${n} of type ${r}`);for(let i in e)e[i].validate&&e[i].validate(t[i])}var Yd=class e{constructor(t){this.validEnd=t,this.next=[],this.wrapCache=[]}static parse(t,n){let r=new GM(t,n);if(r.next==null)return e.empty;let i=cD(r);r.next&&r.err("Unexpected trailing text");let o=Moe(Aoe(i));return Toe(o,r),o}matchType(t){for(let n=0;n<this.next.length;n++)if(this.next[n].type==t)return this.next[n].next;return null}matchFragment(t,n=0,r=t.childCount){let i=this;for(let o=n;i&&o<r;o++)i=i.matchType(t.child(o).type);return i}get inlineContent(){return this.next.length!=0&&this.next[0].type.isInline}get defaultType(){for(let t=0;t<this.next.length;t++){let{type:n}=this.next[t];if(!(n.isText||n.hasRequiredAttrs()))return n}return null}compatible(t){for(let n=0;n<this.next.length;n++)for(let r=0;r<t.next.length;r++)if(this.next[n].type==t.next[r].type)return!0;return!1}fillBefore(t,n=!1,r=0){let i=[this];function o(s,a){let l=s.matchFragment(t,r);if(l&&(!n||l.validEnd))return St.from(a.map(c=>c.createAndFill()));for(let c=0;c<s.next.length;c++){let{type:u,next:f}=s.next[c];if(!(u.isText||u.hasRequiredAttrs())&&i.indexOf(f)==-1){i.push(f);let d=o(f,a.concat(u));if(d)return d}}return null}return o(this,[])}findWrapping(t){for(let r=0;r<this.wrapCache.length;r+=2)if(this.wrapCache[r]==t)return this.wrapCache[r+1];let n=this.computeWrapping(t);return this.wrapCache.push(t,n),n}computeWrapping(t){let n=Object.create(null),r=[{match:this,type:null,via:null}];for(;r.length;){let i=r.shift(),o=i.match;if(o.matchType(t)){let s=[];for(let a=i;a.type;a=a.via)s.push(a.type);return s.reverse()}for(let s=0;s<o.next.length;s++){let{type:a,next:l}=o.next[s];!a.isLeaf&&!a.hasRequiredAttrs()&&!(a.name in n)&&(!i.type||l.validEnd)&&(r.push({match:a.contentMatch,type:a,via:i}),n[a.name]=!0)}}return null}get edgeCount(){return this.next.length}edge(t){if(t>=this.next.length)throw new RangeError(`There's no ${t}th edge in this content match`);return this.next[t]}toString(){let t=[];function n(r){t.push(r);for(let i=0;i<r.next.length;i++)t.indexOf(r.next[i].next)==-1&&n(r.next[i].next)}return n(this),t.map((r,i)=>{let o=i+(r.validEnd?"*":" ")+" ";for(let s=0;s<r.next.length;s++)o+=(s?", ":"")+r.next[s].type.name+"->"+t.indexOf(r.next[s].next);return o}).join(`
|
|
4
4
|
`)}};Yd.empty=new Yd(!0);var GM=class{constructor(t,n){this.string=t,this.nodeTypes=n,this.inline=null,this.pos=0,this.tokens=t.split(/\s*(?=\b|\W|$)/),this.tokens[this.tokens.length-1]==""&&this.tokens.pop(),this.tokens[0]==""&&this.tokens.shift()}get next(){return this.tokens[this.pos]}eat(t){return this.next==t&&(this.pos++||!0)}err(t){throw new SyntaxError(t+" (in content expression '"+this.string+"')")}};function cD(e){let t=[];do t.push(voe(e));while(e.eat("|"));return t.length==1?t[0]:{type:"choice",exprs:t}}function voe(e){let t=[];do t.push(koe(e));while(e.next&&e.next!=")"&&e.next!="|");return t.length==1?t[0]:{type:"seq",exprs:t}}function koe(e){let t=Coe(e);for(;;)if(e.eat("+"))t={type:"plus",expr:t};else if(e.eat("*"))t={type:"star",expr:t};else if(e.eat("?"))t={type:"opt",expr:t};else if(e.eat("{"))t=Soe(e,t);else break;return t}function W9(e){/\D/.test(e.next)&&e.err("Expected number, got '"+e.next+"'");let t=Number(e.next);return e.pos++,t}function Soe(e,t){let n=W9(e),r=n;return e.eat(",")&&(e.next!="}"?r=W9(e):r=-1),e.eat("}")||e.err("Unclosed braced range"),{type:"range",min:n,max:r,expr:t}}function _oe(e,t){let n=e.nodeTypes,r=n[t];if(r)return[r];let i=[];for(let o in n){let s=n[o];s.isInGroup(t)&&i.push(s)}return i.length==0&&e.err("No node type or group '"+t+"' found"),i}function Coe(e){if(e.eat("(")){let t=cD(e);return e.eat(")")||e.err("Missing closing paren"),t}else if(/\W/.test(e.next))e.err("Unexpected token '"+e.next+"'");else{let t=_oe(e,e.next).map(n=>(e.inline==null?e.inline=n.isInline:e.inline!=n.isInline&&e.err("Mixing inline and block content"),{type:"name",value:n}));return e.pos++,t.length==1?t[0]:{type:"choice",exprs:t}}}function Aoe(e){let t=[[]];return i(o(e,0),n()),t;function n(){return t.push([])-1}function r(s,a,l){let c={term:l,to:a};return t[s].push(c),c}function i(s,a){s.forEach(l=>l.to=a)}function o(s,a){if(s.type=="choice")return s.exprs.reduce((l,c)=>l.concat(o(c,a)),[]);if(s.type=="seq")for(let l=0;;l++){let c=o(s.exprs[l],a);if(l==s.exprs.length-1)return c;i(c,a=n())}else if(s.type=="star"){let l=n();return r(a,l),i(o(s.expr,l),l),[r(l)]}else if(s.type=="plus"){let l=n();return i(o(s.expr,a),l),i(o(s.expr,l),l),[r(l)]}else{if(s.type=="opt")return[r(a)].concat(o(s.expr,a));if(s.type=="range"){let l=a;for(let c=0;c<s.min;c++){let u=n();i(o(s.expr,l),u),l=u}if(s.max==-1)i(o(s.expr,l),l);else for(let c=s.min;c<s.max;c++){let u=n();r(l,u),i(o(s.expr,l),u),l=u}return[r(l)]}else{if(s.type=="name")return[r(a,void 0,s.value)];throw new Error("Unknown expr type")}}}}function uD(e,t){return t-e}function U9(e,t){let n=[];return r(t),n.sort(uD);function r(i){let o=e[i];if(o.length==1&&!o[0].term)return r(o[0].to);n.push(i);for(let s=0;s<o.length;s++){let{term:a,to:l}=o[s];!a&&n.indexOf(l)==-1&&r(l)}}}function Moe(e){let t=Object.create(null);return n(U9(e,0));function n(r){let i=[];r.forEach(s=>{e[s].forEach(({term:a,to:l})=>{if(!a)return;let c;for(let u=0;u<i.length;u++)i[u][0]==a&&(c=i[u][1]);U9(e,l).forEach(u=>{c||i.push([a,c=[]]),c.indexOf(u)==-1&&c.push(u)})})});let o=t[r.join(",")]=new Yd(r.indexOf(e.length-1)>-1);for(let s=0;s<i.length;s++){let a=i[s][1].sort(uD);o.next.push({type:i[s][0],next:t[a.join(",")]||n(a)})}return o}}function Toe(e,t){for(let n=0,r=[e];n<r.length;n++){let i=r[n],o=!i.validEnd,s=[];for(let a=0;a<i.next.length;a++){let{type:l,next:c}=i.next[a];s.push(l.name),o&&!(l.isText||l.hasRequiredAttrs())&&(o=!1),r.indexOf(c)==-1&&r.push(c)}o&&t.err("Only non-generatable nodes ("+s.join(", ")+") in a required position (see https://prosemirror.net/docs/guide/#generatable)")}}function dD(e){let t=Object.create(null);for(let n in e){let r=e[n];if(!r.hasDefault)return null;t[n]=r.default}return t}function fD(e,t){let n=Object.create(null);for(let r in e){let i=e[r],o=t&&t[r];if(o===void 0)if(i.hasDefault)o=i.default;else throw new RangeError("No value supplied for attribute "+r);else i.validate&&i.validate(o);n[r]=o}return n}function hD(e,t){let n=Object.create(null);if(t)for(let r in t)n[r]=new YM(e,r,t[r]);return n}var pw=class e{constructor(t,n,r){this.name=t,this.schema=n,this.spec=r,this.markSet=null,this.groups=r.group?r.group.split(" "):[],this.attrs=hD(t,r.attrs),this.defaultAttrs=dD(this.attrs),this.contentMatch=null,this.inlineContent=null,this.isBlock=!(r.inline||t=="text"),this.isText=t=="text"}get isInline(){return!this.isBlock}get isTextblock(){return this.isBlock&&this.inlineContent}get isLeaf(){return this.contentMatch==Yd.empty}get isAtom(){return this.isLeaf||!!this.spec.atom}isInGroup(t){return this.groups.indexOf(t)>-1}get whitespace(){return this.spec.whitespace||(this.spec.code?"pre":"normal")}hasRequiredAttrs(){for(let t in this.attrs)if(this.attrs[t].isRequired)return!0;return!1}compatibleContent(t){return this==t||this.contentMatch.compatible(t.contentMatch)}computeAttrs(t){return!t&&this.defaultAttrs?this.defaultAttrs:fD(this.attrs,t)}create(t=null,n,r){if(this.isText)throw new Error("NodeType.create can't construct text nodes");return new Fa(this,this.computeAttrs(t),St.from(n),lr.setFrom(r))}createChecked(t=null,n,r){return n=St.from(n),this.checkContent(n),new Fa(this,this.computeAttrs(t),n,lr.setFrom(r))}createAndFill(t=null,n,r){if(t=this.computeAttrs(t),n=St.from(n),n.size){let s=this.contentMatch.fillBefore(n);if(!s)return null;n=s.append(n)}let i=this.contentMatch.matchFragment(n),o=i&&i.fillBefore(St.empty,!0);return o?new Fa(this,t,n.append(o),lr.setFrom(r)):null}validContent(t){let n=this.contentMatch.matchFragment(t);if(!n||!n.validEnd)return!1;for(let r=0;r<t.childCount;r++)if(!this.allowsMarks(t.child(r).marks))return!1;return!0}checkContent(t){if(!this.validContent(t))throw new RangeError(`Invalid content for node ${this.name}: ${t.toString().slice(0,50)}`)}checkAttrs(t){}allowsMarkType(t){return this.markSet==null||this.markSet.indexOf(t)>-1}allowsMarks(t){if(this.markSet==null)return!0;for(let n=0;n<t.length;n++)if(!this.allowsMarkType(t[n].type))return!1;return!0}allowedMarks(t){if(this.markSet==null)return t;let n;for(let r=0;r<t.length;r++)this.allowsMarkType(t[r].type)?n&&n.push(t[r]):n||(n=t.slice(0,r));return n?n.length?n:lr.none:t}static compile(t,n){let r=Object.create(null);t.forEach((o,s)=>r[o]=new e(o,n,s));let i=n.spec.topNode||"doc";if(!r[i])throw new RangeError("Schema is missing its top node type ('"+i+"')");if(!r.text)throw new RangeError("Every schema needs a 'text' type");for(let o in r.text.attrs)throw new RangeError("The text node type should not have attributes");return r}};function $oe(e,t,n){let r=n.split("|");return i=>{let o=i===null?"null":typeof i;if(r.indexOf(o)<0)throw new RangeError(`Expected value of type ${r} for attribute ${t} on type ${e}, got ${o}`)}}var YM=class{constructor(t,n,r){this.hasDefault=Object.prototype.hasOwnProperty.call(r,"default"),this.default=r.default,this.validate=typeof r.validate=="string"?$oe(t,n,r.validate):r.validate}get isRequired(){return!this.hasDefault}},Zg=class e{constructor(t,n,r,i){this.name=t,this.rank=n,this.schema=r,this.spec=i,this.attrs=hD(t,i.attrs),this.excluded=null;let o=dD(this.attrs);this.instance=o?new lr(this,o):null}create(t=null){return!t&&this.instance?this.instance:new lr(this,fD(this.attrs,t))}static compile(t,n){let r=Object.create(null),i=0;return t.forEach((o,s)=>r[o]=new e(o,i++,n,s)),r}removeFromSet(t){for(var n=0;n<t.length;n++)t[n].type==this&&(t=t.slice(0,n).concat(t.slice(n+1)),n--);return t}isInSet(t){for(let n=0;n<t.length;n++)if(t[n].type==this)return t[n]}excludes(t){return this.excluded.indexOf(t)>-1}},Xd=class{constructor(t){this.linebreakReplacement=null,this.cached=Object.create(null);let n=this.spec={};for(let i in t)n[i]=t[i];n.nodes=jM.from(t.nodes),n.marks=jM.from(t.marks||{}),this.nodes=pw.compile(this.spec.nodes,this),this.marks=Zg.compile(this.spec.marks,this);let r=Object.create(null);for(let i in this.nodes){if(i in this.marks)throw new RangeError(i+" can not be both a node and a mark");let o=this.nodes[i],s=o.spec.content||"",a=o.spec.marks;if(o.contentMatch=r[s]||(r[s]=Yd.parse(s,this.nodes)),o.inlineContent=o.contentMatch.inlineContent,o.spec.linebreakReplacement){if(this.linebreakReplacement)throw new RangeError("Multiple linebreak nodes defined");if(!o.isInline||!o.isLeaf)throw new RangeError("Linebreak replacement nodes must be inline leaf nodes");this.linebreakReplacement=o}o.markSet=a=="_"?null:a?K9(this,a.split(" ")):a==""||!o.inlineContent?[]:null}for(let i in this.marks){let o=this.marks[i],s=o.spec.excludes;o.excluded=s==null?[o]:s==""?[]:K9(this,s.split(" "))}this.nodeFromJSON=i=>Fa.fromJSON(this,i),this.markFromJSON=i=>lr.fromJSON(this,i),this.topNodeType=this.nodes[this.spec.topNode||"doc"],this.cached.wrappings=Object.create(null)}node(t,n=null,r,i){if(typeof t=="string")t=this.nodeType(t);else if(t instanceof pw){if(t.schema!=this)throw new RangeError("Node type from different schema used ("+t.name+")")}else throw new RangeError("Invalid node type: "+t);return t.createChecked(n,r,i)}text(t,n){let r=this.nodes.text;return new KM(r,r.defaultAttrs,t,lr.setFrom(n))}mark(t,n){return typeof t=="string"&&(t=this.marks[t]),t.create(n)}nodeType(t){let n=this.nodes[t];if(!n)throw new RangeError("Unknown node type: "+t);return n}};function K9(e,t){let n=[];for(let r=0;r<t.length;r++){let i=t[r],o=e.marks[i],s=o;if(o)n.push(o);else for(let a in e.marks){let l=e.marks[a];(i=="_"||l.spec.group&&l.spec.group.split(" ").indexOf(i)>-1)&&n.push(s=l)}if(!s)throw new SyntaxError("Unknown mark type: '"+t[r]+"'")}return n}function Eoe(e){return e.tag!=null}function Ioe(e){return e.style!=null}var Al=class e{constructor(t,n){this.schema=t,this.rules=n,this.tags=[],this.styles=[];let r=this.matchedStyles=[];n.forEach(i=>{if(Eoe(i))this.tags.push(i);else if(Ioe(i)){let o=/[^=]*/.exec(i.style)[0];r.indexOf(o)<0&&r.push(o),this.styles.push(i)}}),this.normalizeLists=!this.tags.some(i=>{if(!/^(ul|ol)\b/.test(i.tag)||!i.node)return!1;let o=t.nodes[i.node];return o.contentMatch.matchType(o)})}parse(t,n={}){let r=new mw(this,n,!1);return r.addAll(t,lr.none,n.from,n.to),r.finish()}parseSlice(t,n={}){let r=new mw(this,n,!0);return r.addAll(t,lr.none,n.from,n.to),qt.maxOpen(r.finish())}matchTag(t,n,r){for(let i=r?this.tags.indexOf(r)+1:0;i<this.tags.length;i++){let o=this.tags[i];if(Ooe(t,o.tag)&&(o.namespace===void 0||t.namespaceURI==o.namespace)&&(!o.context||n.matchesContext(o.context))){if(o.getAttrs){let s=o.getAttrs(t);if(s===!1)continue;o.attrs=s||void 0}return o}}}matchStyle(t,n,r,i){for(let o=i?this.styles.indexOf(i)+1:0;o<this.styles.length;o++){let s=this.styles[o],a=s.style;if(!(a.indexOf(t)!=0||s.context&&!r.matchesContext(s.context)||a.length>t.length&&(a.charCodeAt(t.length)!=61||a.slice(t.length+1)!=n))){if(s.getAttrs){let l=s.getAttrs(n);if(l===!1)continue;s.attrs=l||void 0}return s}}}static schemaRules(t){let n=[];function r(i){let o=i.priority==null?50:i.priority,s=0;for(;s<n.length;s++){let a=n[s];if((a.priority==null?50:a.priority)<o)break}n.splice(s,0,i)}for(let i in t.marks){let o=t.marks[i].spec.parseDOM;o&&o.forEach(s=>{r(s=Y9(s)),s.mark||s.ignore||s.clearMark||(s.mark=i)})}for(let i in t.nodes){let o=t.nodes[i].spec.parseDOM;o&&o.forEach(s=>{r(s=Y9(s)),s.node||s.ignore||s.mark||(s.node=i)})}return n}static fromSchema(t){return t.cached.domParser||(t.cached.domParser=new e(t,e.schemaRules(t)))}},pD={address:!0,article:!0,aside:!0,blockquote:!0,body:!0,canvas:!0,dd:!0,div:!0,dl:!0,fieldset:!0,figcaption:!0,figure:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,li:!0,noscript:!0,ol:!0,output:!0,p:!0,pre:!0,section:!0,table:!0,tfoot:!0,ul:!0},Roe={head:!0,noscript:!0,object:!0,script:!0,style:!0,title:!0},mD={ol:!0,ul:!0},Jg=1,XM=2,Xg=4;function G9(e,t,n){return t!=null?(t?Jg:0)|(t==="full"?XM:0):e&&e.whitespace=="pre"?Jg|XM:n&~Xg}var Gh=class{constructor(t,n,r,i,o,s){this.type=t,this.attrs=n,this.marks=r,this.solid=i,this.options=s,this.content=[],this.activeMarks=lr.none,this.match=o||(s&Xg?null:t.contentMatch)}findWrapping(t){if(!this.match){if(!this.type)return[];let n=this.type.contentMatch.fillBefore(St.from(t));if(n)this.match=this.type.contentMatch.matchFragment(n);else{let r=this.type.contentMatch,i;return(i=r.findWrapping(t.type))?(this.match=r,i):null}}return this.match.findWrapping(t.type)}finish(t){if(!(this.options&Jg)){let r=this.content[this.content.length-1],i;if(r&&r.isText&&(i=/[ \t\r\n\u000c]+$/.exec(r.text))){let o=r;r.text.length==i[0].length?this.content.pop():this.content[this.content.length-1]=o.withText(o.text.slice(0,o.text.length-i[0].length))}}let n=St.from(this.content);return!t&&this.match&&(n=n.append(this.match.fillBefore(St.empty,!0))),this.type?this.type.create(this.attrs,n,this.marks):n}inlineContext(t){return this.type?this.type.inlineContent:this.content.length?this.content[0].isInline:t.parentNode&&!pD.hasOwnProperty(t.parentNode.nodeName.toLowerCase())}},mw=class{constructor(t,n,r){this.parser=t,this.options=n,this.isOpen=r,this.open=0,this.localPreserveWS=!1;let i=n.topNode,o,s=G9(null,n.preserveWhitespace,0)|(r?Xg:0);i?o=new Gh(i.type,i.attrs,lr.none,!0,n.topMatch||i.type.contentMatch,s):r?o=new Gh(null,null,lr.none,!0,null,s):o=new Gh(t.schema.topNodeType,null,lr.none,!0,null,s),this.nodes=[o],this.find=n.findPositions,this.needsBlock=!1}get top(){return this.nodes[this.open]}addDOM(t,n){t.nodeType==3?this.addTextNode(t,n):t.nodeType==1&&this.addElement(t,n)}addTextNode(t,n){let r=t.nodeValue,i=this.top,o=i.options&XM?"full":this.localPreserveWS||(i.options&Jg)>0,{schema:s}=this.parser;if(o==="full"||i.inlineContext(t)||/[^ \t\r\n\u000c]/.test(r)){if(o)if(o==="full")r=r.replace(/\r\n?/g,`
|
|
5
5
|
`);else if(s.linebreakReplacement&&/[\r\n]/.test(r)&&this.top.findWrapping(s.linebreakReplacement.create())){let a=r.split(/\r?\n|\r/);for(let l=0;l<a.length;l++)l&&this.insertNode(s.linebreakReplacement.create(),n,!0),a[l]&&this.insertNode(s.text(a[l]),n,!/\S/.test(a[l]));r=""}else r=r.replace(/\r?\n|\r/g," ");else if(r=r.replace(/[ \t\r\n\u000c]+/g," "),/^[ \t\r\n\u000c]/.test(r)&&this.open==this.nodes.length-1){let a=i.content[i.content.length-1],l=t.previousSibling;(!a||l&&l.nodeName=="BR"||a.isText&&/[ \t\r\n\u000c]$/.test(a.text))&&(r=r.slice(1))}r&&this.insertNode(s.text(r),n,!/\S/.test(r)),this.findInText(t)}else this.findInside(t)}addElement(t,n,r){let i=this.localPreserveWS,o=this.top;(t.tagName=="PRE"||/pre/.test(t.style&&t.style.whiteSpace))&&(this.localPreserveWS=!0);let s=t.nodeName.toLowerCase(),a;mD.hasOwnProperty(s)&&this.parser.normalizeLists&&Noe(t);let l=this.options.ruleFromNode&&this.options.ruleFromNode(t)||(a=this.parser.matchTag(t,this,r));e:if(l?l.ignore:Roe.hasOwnProperty(s))this.findInside(t),this.ignoreFallback(t,n);else if(!l||l.skip||l.closeParent){l&&l.closeParent?this.open=Math.max(0,this.open-1):l&&l.skip.nodeType&&(t=l.skip);let c,u=this.needsBlock;if(pD.hasOwnProperty(s))o.content.length&&o.content[0].isInline&&this.open&&(this.open--,o=this.top),c=!0,o.type||(this.needsBlock=!0);else if(!t.firstChild){this.leafFallback(t,n);break e}let f=l&&l.skip?n:this.readStyles(t,n);f&&this.addAll(t,f),c&&this.sync(o),this.needsBlock=u}else{let c=this.readStyles(t,n);c&&this.addElementByRule(t,l,c,l.consuming===!1?a:void 0)}this.localPreserveWS=i}leafFallback(t,n){t.nodeName=="BR"&&this.top.type&&this.top.type.inlineContent&&this.addTextNode(t.ownerDocument.createTextNode(`
|
|
6
6
|
`),n)}ignoreFallback(t,n){t.nodeName=="BR"&&(!this.top.type||!this.top.type.inlineContent)&&this.findPlace(this.parser.schema.text("-"),n,!0)}readStyles(t,n){let r=t.style;if(r&&r.length)for(let i=0;i<this.parser.matchedStyles.length;i++){let o=this.parser.matchedStyles[i],s=r.getPropertyValue(o);if(s)for(let a=void 0;;){let l=this.parser.matchStyle(o,s,this,a);if(!l)break;if(l.ignore)return null;if(l.clearMark?n=n.filter(c=>!l.clearMark(c)):n=n.concat(this.parser.schema.marks[l.mark].create(l.attrs)),l.consuming===!1)a=l;else break}}return n}addElementByRule(t,n,r,i){let o,s;if(n.node)if(s=this.parser.schema.nodes[n.node],s.isLeaf)this.insertNode(s.create(n.attrs),r,t.nodeName=="BR")||this.leafFallback(t,r);else{let l=this.enter(s,n.attrs||null,r,n.preserveWhitespace);l&&(o=!0,r=l)}else{let l=this.parser.schema.marks[n.mark];r=r.concat(l.create(n.attrs))}let a=this.top;if(s&&s.isLeaf)this.findInside(t);else if(i)this.addElement(t,r,i);else if(n.getContent)this.findInside(t),n.getContent(t,this.parser.schema).forEach(l=>this.insertNode(l,r,!1));else{let l=t;typeof n.contentElement=="string"?l=t.querySelector(n.contentElement):typeof n.contentElement=="function"?l=n.contentElement(t):n.contentElement&&(l=n.contentElement),this.findAround(t,l,!0),this.addAll(l,r),this.findAround(t,l,!1)}o&&this.sync(a)&&this.open--}addAll(t,n,r,i){let o=r||0;for(let s=r?t.childNodes[r]:t.firstChild,a=i==null?null:t.childNodes[i];s!=a;s=s.nextSibling,++o)this.findAtPoint(t,o),this.addDOM(s,n);this.findAtPoint(t,o)}findPlace(t,n,r){let i,o;for(let s=this.open,a=0;s>=0;s--){let l=this.nodes[s],c=l.findWrapping(t);if(c&&(!i||i.length>c.length+a)&&(i=c,o=l,!c.length))break;if(l.solid){if(r)break;a+=2}}if(!i)return null;this.sync(o);for(let s=0;s<i.length;s++)n=this.enterInner(i[s],null,n,!1);return n}insertNode(t,n,r){if(t.isInline&&this.needsBlock&&!this.top.type){let o=this.textblockFromContext();o&&(n=this.enterInner(o,null,n))}let i=this.findPlace(t,n,r);if(i){this.closeExtra();let o=this.top;o.match&&(o.match=o.match.matchType(t.type));let s=lr.none;for(let a of i.concat(t.marks))(o.type?o.type.allowsMarkType(a.type):X9(a.type,t.type))&&(s=a.addToSet(s));return o.content.push(t.mark(s)),!0}return!1}enter(t,n,r,i){let o=this.findPlace(t.create(n),r,!1);return o&&(o=this.enterInner(t,n,r,!0,i)),o}enterInner(t,n,r,i=!1,o){this.closeExtra();let s=this.top;s.match=s.match&&s.match.matchType(t);let a=G9(t,o,s.options);s.options&Xg&&s.content.length==0&&(a|=Xg);let l=lr.none;return r=r.filter(c=>(s.type?s.type.allowsMarkType(c.type):X9(c.type,t))?(l=c.addToSet(l),!1):!0),this.nodes.push(new Gh(t,n,l,i,null,a)),this.open++,r}closeExtra(t=!1){let n=this.nodes.length-1;if(n>this.open){for(;n>this.open;n--)this.nodes[n-1].content.push(this.nodes[n].finish(t));this.nodes.length=this.open+1}}finish(){return this.open=0,this.closeExtra(this.isOpen),this.nodes[0].finish(!!(this.isOpen||this.options.topOpen))}sync(t){for(let n=this.open;n>=0;n--){if(this.nodes[n]==t)return this.open=n,!0;this.localPreserveWS&&(this.nodes[n].options|=Jg)}return!1}get currentPos(){this.closeExtra();let t=0;for(let n=this.open;n>=0;n--){let r=this.nodes[n].content;for(let i=r.length-1;i>=0;i--)t+=r[i].nodeSize;n&&t++}return t}findAtPoint(t,n){if(this.find)for(let r=0;r<this.find.length;r++)this.find[r].node==t&&this.find[r].offset==n&&(this.find[r].pos=this.currentPos)}findInside(t){if(this.find)for(let n=0;n<this.find.length;n++)this.find[n].pos==null&&t.nodeType==1&&t.contains(this.find[n].node)&&(this.find[n].pos=this.currentPos)}findAround(t,n,r){if(t!=n&&this.find)for(let i=0;i<this.find.length;i++)this.find[i].pos==null&&t.nodeType==1&&t.contains(this.find[i].node)&&n.compareDocumentPosition(this.find[i].node)&(r?2:4)&&(this.find[i].pos=this.currentPos)}findInText(t){if(this.find)for(let n=0;n<this.find.length;n++)this.find[n].node==t&&(this.find[n].pos=this.currentPos-(t.nodeValue.length-this.find[n].offset))}matchesContext(t){if(t.indexOf("|")>-1)return t.split(/\s*\|\s*/).some(this.matchesContext,this);let n=t.split("/"),r=this.options.context,i=!this.isOpen&&(!r||r.parent.type==this.nodes[0].type),o=-(r?r.depth+1:0)+(i?0:1),s=(a,l)=>{for(;a>=0;a--){let c=n[a];if(c==""){if(a==n.length-1||a==0)continue;for(;l>=o;l--)if(s(a-1,l))return!0;return!1}else{let u=l>0||l==0&&i?this.nodes[l].type:r&&l>=o?r.node(l-o).type:null;if(!u||u.name!=c&&!u.isInGroup(c))return!1;l--}}return!0};return s(n.length-1,this.open)}textblockFromContext(){let t=this.options.context;if(t)for(let n=t.depth;n>=0;n--){let r=t.node(n).contentMatchAt(t.indexAfter(n)).defaultType;if(r&&r.isTextblock&&r.defaultAttrs)return r}for(let n in this.parser.schema.nodes){let r=this.parser.schema.nodes[n];if(r.isTextblock&&r.defaultAttrs)return r}}};function Noe(e){for(let t=e.firstChild,n=null;t;t=t.nextSibling){let r=t.nodeType==1?t.nodeName.toLowerCase():null;r&&mD.hasOwnProperty(r)&&n?(n.appendChild(t),t=n):r=="li"?n=t:r&&(n=null)}}function Ooe(e,t){return(e.matches||e.msMatchesSelector||e.webkitMatchesSelector||e.mozMatchesSelector).call(e,t)}function Y9(e){let t={};for(let n in e)t[n]=e[n];return t}function X9(e,t){let n=t.schema.nodes;for(let r in n){let i=n[r];if(!i.allowsMarkType(e))continue;let o=[],s=a=>{o.push(a);for(let l=0;l<a.edgeCount;l++){let{type:c,next:u}=a.edge(l);if(c==t||o.indexOf(u)<0&&s(u))return!0}};if(s(i.contentMatch))return!0}}var Ns=class e{constructor(t,n){this.nodes=t,this.marks=n}serializeFragment(t,n={},r){r||(r=cw(n).createDocumentFragment());let i=r,o=[];return t.forEach(s=>{if(o.length||s.marks.length){let a=0,l=0;for(;a<o.length&&l<s.marks.length;){let c=s.marks[l];if(!this.marks[c.type.name]){l++;continue}if(!c.eq(o[a][0])||c.type.spec.spanning===!1)break;a++,l++}for(;a<o.length;)i=o.pop()[1];for(;l<s.marks.length;){let c=s.marks[l++],u=this.serializeMark(c,s.isInline,n);u&&(o.push([c,i]),i.appendChild(u.dom),i=u.contentDOM||u.dom)}}i.appendChild(this.serializeNodeInner(s,n))}),r}serializeNodeInner(t,n){if(t.isText)return cw(n).createTextNode(t.text);let{dom:r,contentDOM:i}=uw(cw(n),this.nodes[t.type.name](t),null,t.attrs);if(i){if(t.isLeaf)throw new RangeError("Content hole not allowed in a leaf node spec");this.serializeFragment(t.content,n,i)}return r}serializeNode(t,n={}){let r=this.serializeNodeInner(t,n);for(let i=t.marks.length-1;i>=0;i--){let o=this.serializeMark(t.marks[i],t.isInline,n);o&&((o.contentDOM||o.dom).appendChild(r),r=o.dom)}return r}serializeMark(t,n,r={}){let i=this.marks[t.type.name];return i&&uw(cw(r),i(t,n),null,t.attrs)}static renderSpec(t,n,r=null,i){return typeof n=="string"?{dom:t.createTextNode(n)}:uw(t,n,r,i)}static fromSchema(t){return t.cached.domSerializer||(t.cached.domSerializer=new e(this.nodesFromSchema(t),this.marksFromSchema(t)))}static nodesFromSchema(t){let n=Z9(t.nodes);return n.text||(n.text=r=>r.text),n}static marksFromSchema(t){return Z9(t.marks)}};function Z9(e){let t={};for(let n in e){let r=e[n].spec.toDOM;r&&(t[n]=r)}return t}function cw(e){return e.document||window.document}var J9=new WeakMap;function Doe(e){let t=J9.get(e);return t===void 0&&J9.set(e,t=Loe(e)),t}function Loe(e){let t=null;function n(r){if(r&&typeof r=="object")if(Array.isArray(r))if(typeof r[0]=="string")t||(t=[]),t.push(r);else for(let i=0;i<r.length;i++)n(r[i]);else for(let i in r)n(r[i])}return n(e),t}function uw(e,t,n,r){if(t.nodeType==1)return{dom:t};if(t.dom&&t.dom.nodeType==1)return t;let i=t[0],o;if(typeof i!="string")throw new RangeError("Invalid array passed to renderSpec");if(r&&(o=Doe(r))&&o.indexOf(t)>-1)throw new RangeError("Using an array from an attribute object as a DOM spec. This may be an attempted cross site scripting attack.");let s=i.indexOf(" ");s>0&&(n=i.slice(0,s),i=i.slice(s+1));let a,l=n?e.createElementNS(n,i):e.createElement(i),c=t[1],u=1;if(c&&typeof c=="object"&&c.nodeType==null&&!Array.isArray(c)){u=2;for(let f in c)if(c[f]!=null){let d=f.indexOf(" ");d>0?l.setAttributeNS(f.slice(0,d),f.slice(d+1),c[f]):f=="style"&&l.style?l.style.cssText=c[f]:l.setAttribute(f,c[f])}}for(let f=u;f<t.length;f++){let d=t[f];if(d===0){if(f<t.length-1||f>u)throw new RangeError("Content hole must be the only child of its parent node");return{dom:l,contentDOM:l}}else if(typeof d=="string")l.appendChild(e.createTextNode(d));else{let{dom:h,contentDOM:p}=uw(e,d,n,r);if(l.appendChild(h),p){if(a)throw new RangeError("Multiple content holes");a=p}}}return{dom:l,contentDOM:a}}var xD=65535,vD=Math.pow(2,16);function Poe(e,t){return e+t*vD}function gD(e){return e&xD}function Boe(e){return(e-(e&xD))/vD}var kD=1,SD=2,gw=4,_D=8,t0=class{constructor(t,n,r){this.pos=t,this.delInfo=n,this.recover=r}get deleted(){return(this.delInfo&_D)>0}get deletedBefore(){return(this.delInfo&(kD|gw))>0}get deletedAfter(){return(this.delInfo&(SD|gw))>0}get deletedAcross(){return(this.delInfo&gw)>0}},vc=class e{constructor(t,n=!1){if(this.ranges=t,this.inverted=n,!t.length&&e.empty)return e.empty}recover(t){let n=0,r=gD(t);if(!this.inverted)for(let i=0;i<r;i++)n+=this.ranges[i*3+2]-this.ranges[i*3+1];return this.ranges[r*3]+n+Boe(t)}mapResult(t,n=1){return this._map(t,n,!1)}map(t,n=1){return this._map(t,n,!0)}_map(t,n,r){let i=0,o=this.inverted?2:1,s=this.inverted?1:2;for(let a=0;a<this.ranges.length;a+=3){let l=this.ranges[a]-(this.inverted?i:0);if(l>t)break;let c=this.ranges[a+o],u=this.ranges[a+s],f=l+c;if(t<=f){let d=c?t==l?-1:t==f?1:n:n,h=l+i+(d<0?0:u);if(r)return h;let p=t==(n<0?l:f)?null:Poe(a/3,t-l),m=0;return c&&(m|=t==l?SD:t==f?kD:gw,(n<0?t!=l:t!=f)&&(m|=_D)),new t0(h,m,p)}i+=u-c}return r?t+i:new t0(t+i,0,null)}touches(t,n){let r=0,i=gD(n),o=this.inverted?2:1,s=this.inverted?1:2;for(let a=0;a<this.ranges.length;a+=3){let l=this.ranges[a]-(this.inverted?r:0);if(l>t)break;let c=this.ranges[a+o],u=l+c;if(t<=u&&a==i*3)return!0;r+=this.ranges[a+s]-c}return!1}forEach(t){let n=this.inverted?2:1,r=this.inverted?1:2;for(let i=0,o=0;i<this.ranges.length;i+=3){let s=this.ranges[i],a=s-(this.inverted?o:0),l=s+(this.inverted?0:o),c=this.ranges[i+n],u=this.ranges[i+r];t(a,a+c,l,l+u),o+=u-c}}invert(){return new e(this.ranges,!this.inverted)}toString(){return(this.inverted?"-":"")+JSON.stringify(this.ranges)}static offset(t){return t==0?e.empty:new e(t<0?[0,-t,0]:[0,0,t])}};vc.empty=new vc([]);var n0=class e{constructor(t,n,r=0,i=t?t.length:0){this.mirror=n,this.from=r,this.to=i,this._maps=t||[],this.ownData=!(t||n)}get maps(){return this._maps}slice(t=0,n=this.maps.length){return new e(this._maps,this.mirror,t,n)}appendMap(t,n){this.ownData||(this._maps=this._maps.slice(),this.mirror=this.mirror&&this.mirror.slice(),this.ownData=!0),this.to=this._maps.push(t),n!=null&&this.setMirror(this._maps.length-1,n)}appendMapping(t){for(let n=0,r=this._maps.length;n<t._maps.length;n++){let i=t.getMirror(n);this.appendMap(t._maps[n],i!=null&&i<n?r+i:void 0)}}getMirror(t){if(this.mirror){for(let n=0;n<this.mirror.length;n++)if(this.mirror[n]==t)return this.mirror[n+(n%2?-1:1)]}}setMirror(t,n){this.mirror||(this.mirror=[]),this.mirror.push(t,n)}appendMappingInverted(t){for(let n=t.maps.length-1,r=this._maps.length+t._maps.length;n>=0;n--){let i=t.getMirror(n);this.appendMap(t._maps[n].invert(),i!=null&&i>n?r-i-1:void 0)}}invert(){let t=new e;return t.appendMappingInverted(this),t}map(t,n=1){if(this.mirror)return this._map(t,n,!0);for(let r=this.from;r<this.to;r++)t=this._maps[r].map(t,n);return t}mapResult(t,n=1){return this._map(t,n,!1)}_map(t,n,r){let i=0;for(let o=this.from;o<this.to;o++){let s=this._maps[o],a=s.mapResult(t,n);if(a.recover!=null){let l=this.getMirror(o);if(l!=null&&l>o&&l<this.to){o=l,t=this._maps[l].recover(a.recover);continue}}i|=a.delInfo,t=a.pos}return r?t:new t0(t,i,null)}},ZM=Object.create(null),ki=class{getMap(){return vc.empty}merge(t){return null}static fromJSON(t,n){if(!n||!n.stepType)throw new RangeError("Invalid input for Step.fromJSON");let r=ZM[n.stepType];if(!r)throw new RangeError(`No step type ${n.stepType} defined`);return r.fromJSON(t,n)}static jsonID(t,n){if(t in ZM)throw new RangeError("Duplicate use of step JSON ID "+t);return ZM[t]=n,n.prototype.jsonID=t,n}},no=class e{constructor(t,n){this.doc=t,this.failed=n}static ok(t){return new e(t,null)}static fail(t){return new e(null,t)}static fromReplace(t,n,r,i){try{return e.ok(t.replace(n,r,i))}catch(o){if(o instanceof gu)return e.fail(o.message);throw o}}};function tT(e,t,n){let r=[];for(let i=0;i<e.childCount;i++){let o=e.child(i);o.content.size&&(o=o.copy(tT(o.content,t,o))),o.isInline&&(o=t(o,n,i)),r.push(o)}return St.fromArray(r)}var r0=class e extends ki{constructor(t,n,r){super(),this.from=t,this.to=n,this.mark=r}apply(t){let n=t.slice(this.from,this.to),r=t.resolve(this.from),i=r.node(r.sharedDepth(this.to)),o=new qt(tT(n.content,(s,a)=>!s.isAtom||!a.type.allowsMarkType(this.mark.type)?s:s.mark(this.mark.addToSet(s.marks)),i),n.openStart,n.openEnd);return no.fromReplace(t,this.from,this.to,o)}invert(t){let n=[];return t.nodesBetween(this.from,this.to,(r,i)=>{if(r.isInline&&r.isAtom){let o=this.mark.addToSet(r.marks);if(!lr.sameSet(o,r.marks)){let s=Math.max(this.from,i),a=Math.min(this.to,i+r.nodeSize);yw(yu,s,a,this.mark,n);for(let l of r.marks)l.isInSet(o)||yw(e,s,a,l,n)}}}),n.length==1?n[0]:new i0(n)}map(t){let n=t.map(this.from,1),r=t.map(this.to,-1);return n>=r?null:new e(n,r,this.mark)}merge(t){return t instanceof e&&t.mark.eq(this.mark)&&this.from<=t.to&&this.to>=t.from?new e(Math.min(this.from,t.from),Math.max(this.to,t.to),this.mark):null}toJSON(){return{stepType:"addMark",mark:this.mark.toJSON(),from:this.from,to:this.to}}static fromJSON(t,n){if(typeof n.from!="number"||typeof n.to!="number")throw new RangeError("Invalid input for AddMarkStep.fromJSON");return new e(n.from,n.to,t.markFromJSON(n.mark))}};ki.jsonID("addMark",r0);var yu=class e extends ki{constructor(t,n,r){super(),this.from=t,this.to=n,this.mark=r}apply(t){let n=t.slice(this.from,this.to),r=new qt(tT(n.content,i=>i.mark(this.mark.removeFromSet(i.marks)),t),n.openStart,n.openEnd);return no.fromReplace(t,this.from,this.to,r)}invert(t){let n=[];return t.nodesBetween(this.from,this.to,(r,i)=>{r.isInline&&r.isAtom&&this.mark.isInSet(r.marks)&&yw(r0,Math.max(this.from,i),Math.min(this.to,i+r.nodeSize),this.mark,n)}),n.length==1?n[0]:new i0(n)}map(t){let n=t.map(this.from,1),r=t.map(this.to,-1);return n>=r?null:new e(n,r,this.mark)}merge(t){return t instanceof e&&t.mark.eq(this.mark)&&this.from<=t.to&&this.to>=t.from?new e(Math.min(this.from,t.from),Math.max(this.to,t.to),this.mark):null}toJSON(){return{stepType:"removeMark",mark:this.mark.toJSON(),from:this.from,to:this.to}}static fromJSON(t,n){if(typeof n.from!="number"||typeof n.to!="number")throw new RangeError("Invalid input for RemoveMarkStep.fromJSON");return new e(n.from,n.to,t.markFromJSON(n.mark))}};ki.jsonID("removeMark",yu);function yw(e,t,n,r,i){let o=i.length?i[i.length-1]:null;o&&o instanceof e&&o.to==t&&o.mark.eq(r)?i[i.length-1]=new e(o.from,n,r):i.push(new e(t,n,r))}var i0=class e extends ki{constructor(t){super(),this.steps=t}apply(t){for(let n of this.steps){let r=n.apply(t);if(!r.doc)return r;t=r.doc}return new no(t,null)}invert(t){return new e(this.steps.map(n=>n.invert(t)))}map(t){let n=[];for(let r of this.steps){let i=r.map(t);i&&n.push(i)}return n.length?new e(n):null}toJSON(){return{stepType:"markSet",steps:this.steps.map(t=>t.toJSON())}}static fromJSON(t,n){if(!Array.isArray(n.steps)||!n.steps.every(r=>r.stepType=="addMark"||r.stepType=="removeMark"))throw new RangeError("Invalid JSON for MarkSetStep");return new e(n.steps.map(r=>ki.fromJSON(t,r)))}};ki.jsonID("markSet",i0);var o0=class e extends ki{constructor(t,n){super(),this.pos=t,this.mark=n}apply(t){let n=t.nodeAt(this.pos);if(!n)return no.fail("No node at mark step's position");let r=n.type.create(n.attrs,null,this.mark.addToSet(n.marks));return no.fromReplace(t,this.pos,this.pos+1,new qt(St.from(r),0,n.isLeaf?0:1))}invert(t){let n=t.nodeAt(this.pos);if(n){let r=this.mark.addToSet(n.marks);if(r.length==n.marks.length){for(let i=0;i<n.marks.length;i++)if(!n.marks[i].isInSet(r))return new e(this.pos,n.marks[i]);return new e(this.pos,this.mark)}}return new Yh(this.pos,this.mark)}map(t){let n=t.mapResult(this.pos,1);return n.deletedAfter?null:new e(n.pos,this.mark)}toJSON(){return{stepType:"addNodeMark",pos:this.pos,mark:this.mark.toJSON()}}static fromJSON(t,n){if(typeof n.pos!="number")throw new RangeError("Invalid input for AddNodeMarkStep.fromJSON");return new e(n.pos,t.markFromJSON(n.mark))}};ki.jsonID("addNodeMark",o0);var Yh=class e extends ki{constructor(t,n){super(),this.pos=t,this.mark=n}apply(t){let n=t.nodeAt(this.pos);if(!n)return no.fail("No node at mark step's position");let r=n.type.create(n.attrs,null,this.mark.removeFromSet(n.marks));return no.fromReplace(t,this.pos,this.pos+1,new qt(St.from(r),0,n.isLeaf?0:1))}invert(t){let n=t.nodeAt(this.pos);return!n||!this.mark.isInSet(n.marks)?this:new o0(this.pos,this.mark)}map(t){let n=t.mapResult(this.pos,1);return n.deletedAfter?null:new e(n.pos,this.mark)}toJSON(){return{stepType:"removeNodeMark",pos:this.pos,mark:this.mark.toJSON()}}static fromJSON(t,n){if(typeof n.pos!="number")throw new RangeError("Invalid input for RemoveNodeMarkStep.fromJSON");return new e(n.pos,t.markFromJSON(n.mark))}};ki.jsonID("removeNodeMark",Yh);var $i=class e extends ki{constructor(t,n,r,i=!1){super(),this.from=t,this.to=n,this.slice=r,this.structure=i}apply(t){return this.structure&&QM(t,this.from,this.to)?no.fail("Structure replace would overwrite content"):no.fromReplace(t,this.from,this.to,this.slice)}getMap(){return new vc([this.from,this.to-this.from,this.slice.size])}invert(t){return new e(this.from,this.from+this.slice.size,t.slice(this.from,this.to))}map(t){let n=t.mapResult(this.to,-1),r=this.from==this.to&&e.MAP_BIAS<0?n:t.mapResult(this.from,1);return r.deletedAcross&&n.deletedAcross?null:new e(r.pos,Math.max(r.pos,n.pos),this.slice,this.structure)}merge(t){if(!(t instanceof e)||t.structure||this.structure)return null;if(this.from+this.slice.size==t.from&&!this.slice.openEnd&&!t.slice.openStart){let n=this.slice.size+t.slice.size==0?qt.empty:new qt(this.slice.content.append(t.slice.content),this.slice.openStart,t.slice.openEnd);return new e(this.from,this.to+(t.to-t.from),n,this.structure)}else if(t.to==this.from&&!this.slice.openStart&&!t.slice.openEnd){let n=this.slice.size+t.slice.size==0?qt.empty:new qt(t.slice.content.append(this.slice.content),t.slice.openStart,this.slice.openEnd);return new e(t.from,this.to,n,this.structure)}else return null}toJSON(){let t={stepType:"replace",from:this.from,to:this.to};return this.slice.size&&(t.slice=this.slice.toJSON()),this.structure&&(t.structure=!0),t}static fromJSON(t,n){if(typeof n.from!="number"||typeof n.to!="number")throw new RangeError("Invalid input for ReplaceStep.fromJSON");return new e(n.from,n.to,qt.fromJSON(t,n.slice),!!n.structure)}};$i.MAP_BIAS=1;ki.jsonID("replace",$i);var Ei=class e extends ki{constructor(t,n,r,i,o,s,a=!1){super(),this.from=t,this.to=n,this.gapFrom=r,this.gapTo=i,this.slice=o,this.insert=s,this.structure=a}apply(t){if(this.structure&&(QM(t,this.from,this.gapFrom)||QM(t,this.gapTo,this.to)))return no.fail("Structure gap-replace would overwrite content");let n=t.slice(this.gapFrom,this.gapTo);if(n.openStart||n.openEnd)return no.fail("Gap is not a flat range");let r=this.slice.insertAt(this.insert,n.content);return r?no.fromReplace(t,this.from,this.to,r):no.fail("Content does not fit in gap")}getMap(){return new vc([this.from,this.gapFrom-this.from,this.insert,this.gapTo,this.to-this.gapTo,this.slice.size-this.insert])}invert(t){let n=this.gapTo-this.gapFrom;return new e(this.from,this.from+this.slice.size+n,this.from+this.insert,this.from+this.insert+n,t.slice(this.from,this.to).removeBetween(this.gapFrom-this.from,this.gapTo-this.from),this.gapFrom-this.from,this.structure)}map(t){let n=t.mapResult(this.from,1),r=t.mapResult(this.to,-1),i=this.from==this.gapFrom?n.pos:t.map(this.gapFrom,-1),o=this.to==this.gapTo?r.pos:t.map(this.gapTo,1);return n.deletedAcross&&r.deletedAcross||i<n.pos||o>r.pos?null:new e(n.pos,r.pos,i,o,this.slice,this.insert,this.structure)}toJSON(){let t={stepType:"replaceAround",from:this.from,to:this.to,gapFrom:this.gapFrom,gapTo:this.gapTo,insert:this.insert};return this.slice.size&&(t.slice=this.slice.toJSON()),this.structure&&(t.structure=!0),t}static fromJSON(t,n){if(typeof n.from!="number"||typeof n.to!="number"||typeof n.gapFrom!="number"||typeof n.gapTo!="number"||typeof n.insert!="number")throw new RangeError("Invalid input for ReplaceAroundStep.fromJSON");return new e(n.from,n.to,n.gapFrom,n.gapTo,qt.fromJSON(t,n.slice),n.insert,!!n.structure)}};ki.jsonID("replaceAround",Ei);function QM(e,t,n){let r=e.resolve(t),i=n-t,o=r.depth;for(;i>0&&o>0&&r.indexAfter(o)==r.node(o).childCount;)o--,i--;if(i>0){let s=r.node(o).maybeChild(r.indexAfter(o));for(;i>0;){if(!s||s.isLeaf)return!0;s=s.firstChild,i--}}return!1}function Foe(e,t,n,r){let i=[];e.doc.nodesBetween(t,n,(o,s,a)=>{if(!o.isInline)return;let l=o.marks;if(!r.isInSet(l)&&a.type.allowsMarkType(r.type)){let c=Math.max(s,t),u=Math.min(s+o.nodeSize,n);yw(r0,c,u,r,i)}}),i.forEach(o=>e.step(o))}function Hoe(e,t,n,r){let i=[],o=0;e.doc.nodesBetween(t,n,(s,a)=>{if(!s.isInline||!s.isAtom)return;o++;let l=null;if(r instanceof Zg){let c=s.marks,u;for(;u=r.isInSet(c);)(l||(l=[])).push(u),c=u.removeFromSet(c)}else r?r.isInSet(s.marks)&&(l=[r]):l=s.marks;if(l&&l.length){let c=Math.min(a+s.nodeSize,n);for(let u=0;u<l.length;u++){let f=l[u],d;for(let h=0;h<i.length;h++){let p=i[h];p.step==o-1&&f.eq(i[h].style)&&(d=p)}d?(d.to=c,d.step=o):i.push({style:f,from:Math.max(a,t),to:c,step:o})}}}),i.forEach(s=>e.step(new yu(s.from,s.to,s.style)))}function nT(e,t,n,r=n.contentMatch,i=!0){let o=e.doc.nodeAt(t),s=[],a=t+1;for(let l=0;l<o.childCount;l++){let c=o.child(l),u=a+c.nodeSize,f=r.matchType(c.type);if(!f)s.push(new $i(a,u,qt.empty));else{r=f;for(let d=0;d<c.marks.length;d++)n.allowsMarkType(c.marks[d].type)||e.step(new yu(a,u,c.marks[d]));if(i&&c.isText&&n.whitespace!="pre"){let d,h=/\r?\n|\r/g,p;for(;d=h.exec(c.text);)p||(p=new qt(St.from(n.schema.text(" ",n.allowedMarks(c.marks))),0,0)),s.push(new $i(a+d.index,a+d.index+d[0].length,p))}}a=u}if(!r.validEnd){let l=r.fillBefore(St.empty,!0);e.replace(a,a,new qt(l,0,0))}for(let l=s.length-1;l>=0;l--)e.step(s[l])}function zoe(e,t,n){return(t==0||e.canReplace(t,e.childCount))&&(n==e.childCount||e.canReplace(0,n))}function kc(e){let n=e.parent.content.cutByIndex(e.startIndex,e.endIndex);for(let r=e.depth,i=0,o=0;;--r){let s=e.$from.node(r),a=e.$from.index(r)+i,l=e.$to.indexAfter(r)-o;if(r<e.depth&&s.canReplace(a,l,n))return r;if(r==0||s.type.spec.isolating||!zoe(s,a,l))break;a&&(i=1),l<s.childCount&&(o=1)}return null}function Voe(e,t,n){let{$from:r,$to:i,depth:o}=t,s=r.before(o+1),a=i.after(o+1),l=s,c=a,u=St.empty,f=0;for(let p=o,m=!1;p>n;p--)m||r.index(p)>0?(m=!0,u=St.from(r.node(p).copy(u)),f++):l--;let d=St.empty,h=0;for(let p=o,m=!1;p>n;p--)m||i.after(p+1)<i.end(p)?(m=!0,d=St.from(i.node(p).copy(d)),h++):c++;e.step(new Ei(l,c,s,a,new qt(u.append(d),f,h),u.size-f,!0))}function Zh(e,t,n=null,r=e){let i=joe(e,t),o=i&&qoe(r,t);return o?i.map(yD).concat({type:t,attrs:n}).concat(o.map(yD)):null}function yD(e){return{type:e,attrs:null}}function joe(e,t){let{parent:n,startIndex:r,endIndex:i}=e,o=n.contentMatchAt(r).findWrapping(t);if(!o)return null;let s=o.length?o[0]:t;return n.canReplaceWith(r,i,s)?o:null}function qoe(e,t){let{parent:n,startIndex:r,endIndex:i}=e,o=n.child(r),s=t.contentMatch.findWrapping(o.type);if(!s)return null;let l=(s.length?s[s.length-1]:t).contentMatch;for(let c=r;l&&c<i;c++)l=l.matchType(n.child(c).type);return!l||!l.validEnd?null:s}function Woe(e,t,n){let r=St.empty;for(let s=n.length-1;s>=0;s--){if(r.size){let a=n[s].type.contentMatch.matchFragment(r);if(!a||!a.validEnd)throw new RangeError("Wrapper type given to Transform.wrap does not form valid content of its parent wrapper")}r=St.from(n[s].type.create(n[s].attrs,r))}let i=t.start,o=t.end;e.step(new Ei(i,o,i,o,new qt(r,0,0),n.length,!0))}function Uoe(e,t,n,r,i){if(!r.isTextblock)throw new RangeError("Type given to setBlockType should be a textblock");let o=e.steps.length;e.doc.nodesBetween(t,n,(s,a)=>{let l=typeof i=="function"?i(s):i;if(s.isTextblock&&!s.hasMarkup(r,l)&&Koe(e.doc,e.mapping.slice(o).map(a),r)){let c=null;if(r.schema.linebreakReplacement){let h=r.whitespace=="pre",p=!!r.contentMatch.matchType(r.schema.linebreakReplacement);h&&!p?c=!1:!h&&p&&(c=!0)}c===!1&&AD(e,s,a,o),nT(e,e.mapping.slice(o).map(a,1),r,void 0,c===null);let u=e.mapping.slice(o),f=u.map(a,1),d=u.map(a+s.nodeSize,1);return e.step(new Ei(f,d,f+1,d-1,new qt(St.from(r.create(l,null,s.marks)),0,0),1,!0)),c===!0&&CD(e,s,a,o),!1}})}function CD(e,t,n,r){t.forEach((i,o)=>{if(i.isText){let s,a=/\r?\n|\r/g;for(;s=a.exec(i.text);){let l=e.mapping.slice(r).map(n+1+o+s.index);e.replaceWith(l,l+1,t.type.schema.linebreakReplacement.create())}}})}function AD(e,t,n,r){t.forEach((i,o)=>{if(i.type==i.type.schema.linebreakReplacement){let s=e.mapping.slice(r).map(n+1+o);e.replaceWith(s,s+1,t.type.schema.text(`
|
|
@@ -543,6 +543,6 @@ ${t}`:$C,r=e.getElementById(wte);if(r){if(!t&&r.textContent?.startsWith($C))retu
|
|
|
543
543
|
`)).catch(()=>{})},TRe))}async function _b(ae,ye){if(r)return;let ze=++i;if(h=!0,u=!0,clearTimeout($),clearTimeout(P),ig(),!(!!o&&o.noteId!==ae.noteId&&(ot.classList.add("is-leaving"),await z0(ot,180),ze!==i))){o={...ae},s={hash:ae.hash,version:ae.version},a=ae.openSeq,l=-1,c=ye?.remote?.seq??0,m=!1,y=0,C=0,L=0,j.clear(),K.clear(),R.suggestions=[],R.fresh.clear(),R.leaving.clear(),R.focusedId=null,R.aiFocus=null,S=0,E={text:"",start:0,end:0},R.delays.clear(),N=null,ai.hide(),KC(),v==="note"&&ee({icon:"page",title:ae.title||ne("\u672A\u547D\u540D\u7B46\u8A18")}),oe=ye?.metaSeq??-1,yt.load(ae.title,ae.meta??ye?.meta??null),yt.setBodyEditing(!1),gt.hidden=!0,ot.hidden=v==="todo";try{let Ye=q$(ae.document);st=Qm(Ye),st.chain().setMeta("addToHistory",!1).setMeta(bx,!0).setContent(hx(Ye,st.schema),{emitUpdate:!1,errorOnInvalidContent:!0}).run();let Qe=rB(Ye,st.getJSON(),st.schema);Qe.length?(Cb("readonly",ne("\u9019\u5247\u7B46\u8A18\u542B\u6709\u7DE8\u8F2F\u5668\u9084\u4E0D\u652F\u63F4\u7684\u5167\u5BB9\u3002\u70BA\u4E86\u4E0D\u640D\u58DE\u5B83\uFF0C\u76EE\u524D\u53EA\u80FD\u6AA2\u8996\u3002"),[],"lock"),nt("log",Xte({key:"\u552F\u8B80\u958B\u555F\uFF1A{list}",params:{list:Qe.slice(0,5)}})).catch(()=>{})):(u=!1,st.setEditable(!0)),g=JSON.stringify(yd())}catch(Ye){Cb("readonly",ne("\u9019\u5247\u7B46\u8A18\u7121\u6CD5\u5728\u7DE8\u8F2F\u5668\u4E2D\u958B\u555F\uFF0C\u76EE\u524D\u53EA\u80FD\u6AA2\u8996\u3002\uFF08{error}\uFF09",{error:sl(Ye)}),[],"lock")}finally{h=!1}X(!0),vt.setCurrent(ae.noteId),he(u),WC(!u&&ORe(ae.noteId)),Gs(u?"idle":"saved"),ot.classList.remove("is-leaving"),ot.classList.remove("is-entering"),ot.offsetWidth,ot.classList.add("is-entering"),_e.scrollTo({top:0}),$a(),ye&&await GC(ye,!0),Tb()}}function WC(ae){f=ae,G(ae),e.classList.toggle("is-locked",ae),yt.setLocked(ae),!(!st||st.isDestroyed)&&(st.setEditable(!ae&&!u),st.view.dispatch(st.state.tr.setMeta("addToHistory",!1)))}async function UC(){if(!o||u||h)return;let ae=!f;ae&&(ig(),Qr.classList.remove("is-ready"),(m||w)&&await Cs(),st.commands.blur()),DRe(o.noteId,ae),WC(ae),ae||st.commands.focus()}function mne(){let ae=!pe();ve(ae),e.dataset.width=ae?"wide":"compact",NRe(ae?"wide":"compact"),requestAnimationFrame(()=>{ZC(),ai.refresh()})}e.dataset.width=pe()?"wide":"compact";function gne(){let ae=q(),ye=yt.timeTitle();return[ae==="local"?ne("\u5DF2\u5132\u5B58\u5728\u9019\u53F0\u96FB\u8166\uFF0C\u7B49\u5F85\u4E0A\u50B3\u5230\u96F2\u7AEF"):ae==="synced"?ne("\u5DF2\u4E0A\u50B3\u5230\u96F2\u7AEF"):"",ye].filter(Boolean).join(`
|
|
544
544
|
`)||void 0}function yne(ae){if(ae.seq<=c||!o||(c=ae.seq,ae.note.hash===s.hash))return;if(m||w||x==="conflict"){KR(),Gs("conflict");return}let{from:ye,to:ze}=st.state.selection,Ge=st.isFocused;h=!0;try{st.chain().setMeta("addToHistory",!1).setMeta(bx,!0).setContent(hx(q$(ae.note.document),st.schema),{emitUpdate:!1}).run();let Ye=st.state.doc.content.size;Ge&&st.commands.setTextSelection({from:Math.min(ye,Ye),to:Math.min(ze,Ye)}),g=JSON.stringify(yd())}finally{h=!1}s={hash:ae.note.hash,version:ae.note.version},o.hash=ae.note.hash,ae.note.title&&ae.note.title!==o.title&&(o.title=ae.note.title),Nt.classList.remove("is-refreshed"),Nt.offsetWidth,Nt.classList.add("is-refreshed"),$a(),cc(),Mr(ne("\u5DF2\u540C\u6B65\u5225\u8655\u7684\u4FEE\u6539"),"muted")}function KR(){Cb("conflict",ne("\u9019\u5247\u7B46\u8A18\u5728\u5225\u8655\u88AB\u4FEE\u6539\u4E86\uFF0C\u548C\u4F60\u5C1A\u672A\u5132\u5B58\u7684\u5167\u5BB9\u885D\u7A81\u3002"),[{label:ne("\u8F09\u5165\u6700\u65B0\u7248\u672C"),run:()=>void rt(bne)},{label:ne("\u4FDD\u7559\u6211\u7684\u7248\u672C"),primary:!0,run:()=>void rt(()=>(Gs("saving"),Cs(!0)))}],"history")}async function bne(){if(!o)return;try{await navigator.clipboard.writeText(po())}catch{if(!confirm(ne("\u7121\u6CD5\u8907\u88FD\u4F60\u76EE\u524D\u7684\u5167\u5BB9\u5230\u526A\u8CBC\u7C3F\u3002\u4ECD\u8981\u6368\u68C4\u4E26\u8F09\u5165\u6700\u65B0\u7248\u672C\u55CE\uFF1F")))return}m=!1,await nt("sync",{openSeq:o.openSeq,rev:-1,dirty:!1});let ae=await nt("open",{noteId:o.noteId});await _b(ae),Mr(ne("\u5DF2\u8F09\u5165\u6700\u65B0\u7248\u672C\uFF0C\u4F60\u7684\u5167\u5BB9\u5DF2\u8907\u88FD\u5230\u526A\u8CBC\u7C3F"),"muted")}function Cb(ae,ye,ze=[],Ge="lock"){$e({kind:ae,text:ye,icon:Ge,actions:ze}),$r(He)}function KC(ae){ae&&ge()?.kind!==ae||Tn(He)}let Ab;function Mr(ae,ye="muted",ze){clearTimeout(Ab),Ue({text:ae,tone:ye,action:ze}),Fe.classList.toggle("has-action",!!ze),Fe.classList.remove("is-open"),$r(Fe),Ab=setTimeout(()=>void Tn(Fe),ye==="error"||ze?5e3:2600)}let Mb=null;async function GC(ae,ye=!1){if(r)return;if(Sne(ae),ae.openRequest&&ae.openRequest.openSeq>a){if((m||w)&&(await Cs(),m||x==="conflict")){Cb("switch",ne("AI \u60F3\u958B\u555F\u300C{title}\u300D\uFF0C\u8ACB\u5148\u8655\u7406\u76EE\u524D\u672A\u5132\u5B58\u7684\u4FEE\u6539\u3002",{title:ae.openRequest.title||ne("\u672A\u547D\u540D\u7B46\u8A18")}),[],"page");return}let Qe=ae.route!=="todo";return Mb||(Mb=_b(ae.openRequest,{...ae,openRequest:void 0}).then(()=>{Qe&&v==="todo"&&$h("note",!1)}).finally(()=>{Mb=null})),Mb}if(!o||ae.openSeq!==a||!ye&&ae.rev<l)return;l=ae.rev,ae.metaSeq!==void 0&&ae.metaSeq!==oe&&(oe=ae.metaSeq,yt.update(ae.meta??null));let ze=new Set(R.suggestions.map(Qe=>Qe.id)),Ge=ae.suggestions.filter(Qe=>Qe.status==="pending"&&!j.has(Qe.id)),Ye=Ge.filter(Qe=>!ze.has(Qe.id));if(R.suggestions=[...Ge,...R.suggestions.filter(Qe=>R.leaving.has(Qe.id)&&!Ge.some(bt=>bt.id===Qe.id))],Ye.length){let Qe=Ye.map(Pt=>({s:Pt,at:Ta(st.state.doc,Pt)})).filter(Pt=>!!Pt.at).sort((Pt,Jt)=>Pt.at.from-Jt.at.from),bt=ye?0:380,$t=[];for(let{s:Pt,at:Jt}of Qe){let cn=Pt.kind==="replace"?Pt.replace??"":Pt.kind==="comment"?Pt.anchor:Pt.markdown??"",Kn=Math.min(Pt.kind==="comment"?520:700,(Pt.kind==="comment"?18:28)*PRe(cn));R.delays.set(Pt.id,bt),$t.push({id:Pt.id,start:Pt.kind==="insert"?Math.max(0,Jt.insertAt-1):Jt.from,revealMs:Kn}),bt+=Kn+420}for(let Pt of Ye)R.fresh.add(Pt.id);setTimeout(()=>{for(let Pt of Ye)R.fresh.delete(Pt.id),R.delays.delete(Pt.id)},bt+1200),ye||requestAnimationFrame(()=>{ai.write($t.map(Pt=>({start:Pt.start,revealMs:Pt.revealMs,widget:wne(e.querySelectorAll(`.dx-sg-ins[data-sg="${CSS.escape(Pt.id)}"], .dx-sg-block[data-sg="${CSS.escape(Pt.id)}"] .dx-sg-block-body, .dx-sg-note[data-sg="${CSS.escape(Pt.id)}"]`))})))}),S=0,R.aiFocus=null,xd("writing",1600);let nn=Ye[0];if(!ye){let Jt=Ye.filter(cn=>cn.kind==="comment").length===Ye.length;Mr(Jt?ne("AI \u7559\u4E0B\u4E86 {n} \u5247\u8A3B\u89E3",{n:Ye.length}):ne("AI \u7559\u4E0B\u4E86 {n} \u5247\u5EFA\u8B70",{n:Ye.length}),"ai"),requestAnimationFrame(()=>{let cn=e.querySelector(`[data-sg="${CSS.escape(nn.id)}"]`);cn&&!xne(cn)&&cn.scrollIntoView({block:"center",behavior:"smooth"})})}}(Ye.length||ze.size!==R.suggestions.length||[...ze].some(Qe=>!R.suggestions.some(bt=>bt.id===Qe)))&&($a(),cc()),ae.mirrorRev!==void 0&&(_=ae.mirrorRev),ane(ae.activity??[]),ae.upload&&ae.upload.hash===s.hash&&!m&&!w&&x!=="conflict"&&(ae.upload.state==="uploaded"?Gs("synced"):ae.upload.state==="failed"&&Gs("local")),ae.remote&&yne(ae.remote),K.size&&BC()}function wne(ae){return ae.length?ae[ae.length-1]:null}function xne(ae){let ye=ae.getBoundingClientRect(),ze=_e.getBoundingClientRect();return ye.top>=ze.top+44&&ye.bottom<=ze.bottom-60}function Tb(){B?.()}async function vne(){for(;!r;){let ae=Date.now(),ye=i;try{let ze=await nt("sync",{openSeq:a,rev:l,todoSeq:I,waitMs:_Re});if(r)return;U&&e.classList.remove("is-offline"),U=0,(ye===i||ze.openRequest)&&await GC(ze),o||(l=ze.rev,!ze.openRequest&&ze.noteId===null&&Eb())}catch{U++,U>=2&&e.classList.add("is-offline"),await GR(Math.min(15e3,800*2**Math.min(U,5)));continue}Date.now()-ae<400&&await GR(1200)}}function GR(ae){return new Promise(ye=>{let ze=()=>{clearTimeout(Ge),B=null,ye()},Ge=setTimeout(ze,ae);B=ze})}let $b=!1;function Eb(){$b||o||v==="todo"||($b=!0,gt.hidden=!1,ot.hidden=!0,Gs("idle"),nt("search",{query:"",limit:6}).then(ae=>{o||!ae?.length||Ae(ae)}).catch(()=>{}))}let Ib=0,YC,XC=null;function Rb(){XC=document.activeElement,ig(),ur.value="",Cn.hidden=!1,requestAnimationFrame(()=>{Cn.classList.add("is-open"),ur.focus()}),YR()}function ng(){Cn.classList.remove("is-open"),z0(Sr,160).then(()=>{Cn.classList.contains("is-open")||(Cn.hidden=!0)}),XC?.isConnected&&XC.focus()}async function YR(){let ae=++Ib,ye=ur.value.trim();Xt(!0);try{let ze=await nt("search",{query:ye,limit:12});if(ae!==Ib)return;It(""),jt(ye),lt(ze??[]),ft(0)}catch(ze){ae===Ib&&It(sl(ze))}finally{ae===Ib&&Xt(!1)}}function kne(ae){if(ae.isComposing)return;let ye=Ke();if(ae.key==="ArrowDown"||ae.key==="ArrowUp"){if(ae.preventDefault(),!ye.length)return;ft(ze=>(ze+(ae.key==="ArrowDown"?1:-1)+ye.length)%ye.length),xn(),ii.querySelector('[aria-selected="true"]')?.scrollIntoView({block:"nearest"})}else if(ae.key==="Enter"&&ye[pt()]){ae.preventDefault();let ze=ye[pt()];rt(()=>Th(ze.id))}else ae.key==="Escape"&&(ae.preventDefault(),ae.stopPropagation(),ng())}async function Th(ae){if(o?.noteId===ae){Cn.hidden||ng(),v==="todo"&&$h("note");return}if((m||w)&&await Cs(),m||x==="conflict"){Mr(ne("\u8ACB\u5148\u8655\u7406\u76EE\u524D\u672A\u5132\u5B58\u7684\u4FEE\u6539"),"error");return}o&&await nt("sync",{openSeq:o.openSeq,rev:-1,dirty:!1});let ye=await nt("open",{noteId:ae});Cn.hidden||ng(),v==="todo"&&$h("note",!1),await _b(ye),nt("log",{actor:"user",...Xte({key:"\u958B\u555F\u4E86\u300C{title}\u300D",params:{title:ye.title||"\u672A\u547D\u540D\u7B46\u8A18"}})}).catch(()=>{})}function Sne(ae){if(ae.todos!==void 0&&se(ae.todos),ae.todoSeq===void 0)return;let ye=ae.todoSeq>I;if(I=Math.max(I,ae.todoSeq),!V){V=!0,A=ae.todoRev??-1,ae.route==="todo"&&ae.todos&&$h("todo",!1,ae.todoFilter);return}if(ye&&ae.route==="todo"&&ae.todos){A=ae.todoRev??-1,$h("todo",!1,ae.todoFilter);return}v==="todo"&&ae.todoRev!==void 0&&ae.todoRev!==A&&(A=ae.todoRev,_t.invalidate())}function $h(ae,ye=!0,ze){let Ge=ae==="todo";Ge&&v==="todo"&&!ze||!Ge&&v==="note"||(v=ae,O(ae),e.dataset.route=ae,ig(),_t.closeMenu(),Ge?(ot.hidden=!0,gt.hidden=!0,_t.el.hidden=!1,ee({icon:"todo",title:ne("\u5F85\u8FA6")}),_t.show(ze)):(_t.el.hidden=!0,ee({icon:"page",title:o?o.title||ne("\u672A\u547D\u540D\u7B46\u8A18"):"Dinox"}),o?(ot.hidden=!1,ai.refresh()):($b=!1,Eb())),_e.scrollTo({top:0}),ye&&nt("sync",{openSeq:a,rev:-1,route:ae}).catch(()=>{}))}async function _ne(ae,ye){if(await Th(ae),o?.noteId!==ae)return;let ze=-1;st.state.doc.descendants((Ge,Ye)=>ze>=0?!1:Ge.type.name==="taskItem"&&Ge.attrs.id===ye?(ze=Ye,!1):!0),!(ze<0)&&requestAnimationFrame(()=>{if(st.isDestroyed)return;st.chain().setTextSelection(Math.min(ze+2,st.state.doc.content.size)).run();let Ge=st.view.nodeDOM(ze);Ge instanceof HTMLElement&&(Ge.scrollIntoView({block:"center",behavior:"smooth"}),Ge.classList.add("dx-task-found"),setTimeout(()=>Ge.classList.remove("dx-task-found"),1600)),u||st.commands.focus()})}async function Nb(ae,ye){if(d())return;let ze=await yt.toggleFlag(ae);ze!==null&&Mr(ye(ze))}function Ob(){de(null),st?.commands.focus()}async function Cne(){let ae=o;if(ae){de({kind:"trash",busy:!0});try{if((m||w)&&await Cs(),m){Mr(ne("\u8ACB\u5148\u8655\u7406\u76EE\u524D\u672A\u5132\u5B58\u7684\u4FEE\u6539"),"error"),de({kind:"trash",busy:!1});return}let ye=await nt("trash",{openSeq:ae.openSeq});de(null),Ane(ye.openSeq),Mr(ne("\u5DF2\u79FB\u5230\u56DE\u6536\u7AD9"))}catch(ye){de({kind:"trash",busy:!1}),Mr(ne("\u522A\u9664\u5931\u6557\uFF1A{error}",{error:sl(ye)}),"error")}}}function Ane(ae){i++,clearTimeout($),clearTimeout(P),ig(),ai.hide(),KC(),o=null,a=ae,l=-1,m=!1,R.suggestions=[],WC(!1),X(!1),vt.setCurrent(null),vt.refresh(),he(!1),yt.load("",null),ee({icon:"page",title:"Dinox"}),$b=!1,Eb(),Tb()}async function XR(){if(!o)return;let ae=o.noteId;de({kind:"share",phase:"loading",share:null,busy:!1});try{let ye=await nt("share",{action:"get"});if(o?.noteId!==ae||re()?.kind!=="share")return;de({kind:"share",phase:"ready",share:ye.share,busy:!1})}catch(ye){if(re()?.kind!=="share")return;de({kind:"share",phase:"error",share:null,busy:!1,error:ne("\u7121\u6CD5\u8B80\u53D6\u5206\u4EAB\u72C0\u614B\uFF1A{error}",{error:sl(ye)})})}}async function ZR(ae){let ye=re();if(!(ye?.kind!=="share"||ye.busy)){de({...ye,busy:!0,error:void 0});try{let ze=await nt("share",{action:ae});if(re()?.kind!=="share")return;de({kind:"share",phase:"ready",share:ze.share,busy:!1}),ae==="create"&&ze.share?rg(ze.share.url,ne("\u5DF2\u5EFA\u7ACB\u5206\u4EAB\u9023\u7D50\u4E26\u8907\u88FD")):ae==="revoke"&&Mr(ne("\u5DF2\u505C\u6B62\u5206\u4EAB"))}catch(ze){if(re()?.kind!=="share")return;de({...ye,busy:!1,error:sl(ze)})}}}function Mne(){let ae=po();if(!ae.trim()){Mr(ne("\u6C92\u6709\u53EF\u532F\u51FA\u7684\u5167\u5BB9"),"error");return}let ze=`${((yt.currentTitle||o?.title||"").trim()||"note").replace(/[\\/:*?"<>|\u0000-\u001f]+/g,"_").slice(0,120)}.md`;try{let Ge=URL.createObjectURL(new Blob([ae],{type:"text/markdown;charset=utf-8"})),Ye=document.createElement("a");Ye.href=Ge,Ye.download=ze,Ye.rel="noopener",e.append(Ye),Ye.click(),Ye.remove(),setTimeout(()=>URL.revokeObjectURL(Ge),1e4),Mr(ne("\u5DF2\u532F\u51FA {name}",{name:ze}))}catch(Ge){Mr(ne("\u532F\u51FA\u5931\u6557\uFF1A{error}",{error:sl(Ge)}),"error")}}function rg(ae,ye){if(!ae){Mr(ne("\u6C92\u6709\u53EF\u8907\u88FD\u7684\u5167\u5BB9"),"error");return}navigator.clipboard.writeText(ae).then(()=>Mr(ye),()=>Mr(ne("\u7121\u6CD5\u5B58\u53D6\u526A\u8CBC\u7C3F"),"error"))}function Tne(ae){ae==="activity"?(et([...D]),$r(kn)):ae==="copy"?rg(po(),ne("\u5DF2\u8907\u88FD Markdown")):ae==="copyText"?rg(st.getText({blockSeparator:`
|
|
545
545
|
|
|
546
|
-
`}).trim(),ne("\u5DF2\u8907\u88FD\u7D14\u6587\u5B57")):ae==="copyAgent"&&o?rg(Vte([{id:o.noteId,title:yt.currentTitle||o.title}]),ne("\u5DF2\u8907\u88FD\u7B46\u8A18\u5F15\u7528\uFF0C\u8CBC\u7D66 Agent \u5373\u53EF")):ae==="star"?Nb("starred",ye=>ye?ne("\u5DF2\u6536\u85CF"):ne("\u5DF2\u53D6\u6D88\u6536\u85CF")):ae==="pin"?Nb("pinned",ye=>ye?ne("\u5DF2\u7F6E\u9802"):ne("\u5DF2\u53D6\u6D88\u7F6E\u9802")):ae==="visibility"?Nb("isPublic",ye=>ye?ne("\u7B46\u8A18\u5DF2\u8A2D\u70BA\u516C\u958B"):ne("\u7B46\u8A18\u5DF2\u8A2D\u70BA\u79C1\u6709")):ae==="convert"?Nb("type",ye=>ye==="crawl"?ne("\u5DF2\u8F49\u70BA\u7D20\u6750"):ne("\u5DF2\u8F49\u70BA\u7B46\u8A18")):ae==="share"?XR():ae==="exportMarkdown"?Mne():ae==="trash"?de({kind:"trash",busy:!1}):ae==="reload"?rt(async()=>{if(o){if((m||w)&&await Cs(),m){Mr(ne("\u8ACB\u5148\u8655\u7406\u76EE\u524D\u672A\u5132\u5B58\u7684\u4FEE\u6539"),"error");return}await _b(await nt("open",{noteId:o.noteId}))}}):ae==="switch"?Rb():(ae==="note"||ae==="todo")&&$h(ae)}let JR=ae=>{let ye=ae.target;yt.handleOutside(ye),Zt.handleOutside(ye),!tt.hidden&&!tt.contains(ye)&&vd(!1),R.focusedId&&!ye.closest?.("[data-sg], .dx-sg-card, .dx-review")&&bd(null)};document.addEventListener("mousedown",JR,!0);function ig(){Tn(We),Tn(Xe),Tn(Et),Ne.close(),Zt.closeAll(),tt.hidden||(Ch=null,Tn(tt))}function $ne(){Dt.classList.toggle("is-scrolled",_e.scrollTop>8),ZC()}function ZC(){yt.reposition(),We.hidden||vb(),Xe.hidden||(_s=null,Tn(Xe)),Qr.classList.contains("is-ready")&&VR(),Zt.reposition()}let QR=()=>{ZC(),ai.refresh()};window.addEventListener("resize",QR);let eN=()=>{document.visibilityState==="hidden"&&m&&Cs()};document.addEventListener("visibilitychange",eN);let Ene=setInterval(()=>{yt.tick(),we(Date.now())},3e4);return setTimeout(()=>{o||Eb()},1500),vne(),{nudge:()=>Tb(),flush:async()=>{await yt.flush(),m&&await Cs()},setTheme(ae){n.set(ae)},destroy(){r=!0,i++,Tb(),clearInterval(Ene),n.destroy(),yt.destroy(),vt.destroy(),_t.destroy(),Zt.destroy();for(let ae of[$,P,J,M,Ab,YC,eg,zC])clearTimeout(ae);document.removeEventListener("mousedown",JR,!0),document.removeEventListener("visibilitychange",eN),window.removeEventListener("resize",QR),e.removeEventListener("keydown",qR),document.removeEventListener("keydown",WR),st.destroy(),ss(),e.replaceChildren()}}}Ko(["mousedown","click","keydown","input","mousemove"]);var BRe="dinox-editor-client",FRe=["slots","sidebarRightTabs","sidebarRight","sessions"],Qte="dinox-editor-dsh/editor",ER="dinox-editor",HRe="/dinox-editor";async function $R(e,t,n=45e3){let r=new AbortController,i=setTimeout(()=>r.abort(),n);try{let o=await fetch(`${HRe}/${e}`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(t),signal:r.signal,credentials:"same-origin"}),s=null;try{s=await o.json()}catch{}if(!o.ok||!s||s.error)throw new Error(
|
|
546
|
+
`}).trim(),ne("\u5DF2\u8907\u88FD\u7D14\u6587\u5B57")):ae==="copyAgent"&&o?rg(Vte([{id:o.noteId,title:yt.currentTitle||o.title}]),ne("\u5DF2\u8907\u88FD\u7B46\u8A18\u5F15\u7528\uFF0C\u8CBC\u7D66 Agent \u5373\u53EF")):ae==="star"?Nb("starred",ye=>ye?ne("\u5DF2\u6536\u85CF"):ne("\u5DF2\u53D6\u6D88\u6536\u85CF")):ae==="pin"?Nb("pinned",ye=>ye?ne("\u5DF2\u7F6E\u9802"):ne("\u5DF2\u53D6\u6D88\u7F6E\u9802")):ae==="visibility"?Nb("isPublic",ye=>ye?ne("\u7B46\u8A18\u5DF2\u8A2D\u70BA\u516C\u958B"):ne("\u7B46\u8A18\u5DF2\u8A2D\u70BA\u79C1\u6709")):ae==="convert"?Nb("type",ye=>ye==="crawl"?ne("\u5DF2\u8F49\u70BA\u7D20\u6750"):ne("\u5DF2\u8F49\u70BA\u7B46\u8A18")):ae==="share"?XR():ae==="exportMarkdown"?Mne():ae==="trash"?de({kind:"trash",busy:!1}):ae==="reload"?rt(async()=>{if(o){if((m||w)&&await Cs(),m){Mr(ne("\u8ACB\u5148\u8655\u7406\u76EE\u524D\u672A\u5132\u5B58\u7684\u4FEE\u6539"),"error");return}await _b(await nt("open",{noteId:o.noteId}))}}):ae==="switch"?Rb():(ae==="note"||ae==="todo")&&$h(ae)}let JR=ae=>{let ye=ae.target;yt.handleOutside(ye),Zt.handleOutside(ye),!tt.hidden&&!tt.contains(ye)&&vd(!1),R.focusedId&&!ye.closest?.("[data-sg], .dx-sg-card, .dx-review")&&bd(null)};document.addEventListener("mousedown",JR,!0);function ig(){Tn(We),Tn(Xe),Tn(Et),Ne.close(),Zt.closeAll(),tt.hidden||(Ch=null,Tn(tt))}function $ne(){Dt.classList.toggle("is-scrolled",_e.scrollTop>8),ZC()}function ZC(){yt.reposition(),We.hidden||vb(),Xe.hidden||(_s=null,Tn(Xe)),Qr.classList.contains("is-ready")&&VR(),Zt.reposition()}let QR=()=>{ZC(),ai.refresh()};window.addEventListener("resize",QR);let eN=()=>{document.visibilityState==="hidden"&&m&&Cs()};document.addEventListener("visibilitychange",eN);let Ene=setInterval(()=>{yt.tick(),we(Date.now())},3e4);return setTimeout(()=>{o||Eb()},1500),vne(),{nudge:()=>Tb(),flush:async()=>{await yt.flush(),m&&await Cs()},setTheme(ae){n.set(ae)},destroy(){r=!0,i++,Tb(),clearInterval(Ene),n.destroy(),yt.destroy(),vt.destroy(),_t.destroy(),Zt.destroy();for(let ae of[$,P,J,M,Ab,YC,eg,zC])clearTimeout(ae);document.removeEventListener("mousedown",JR,!0),document.removeEventListener("visibilitychange",eN),window.removeEventListener("resize",QR),e.removeEventListener("keydown",qR),document.removeEventListener("keydown",WR),st.destroy(),ss(),e.replaceChildren()}}}Ko(["mousedown","click","keydown","input","mousemove"]);var BRe="dinox-editor-client",FRe=["slots","sidebarRightTabs","sidebarRight","sessions"],Qte="dinox-editor-dsh/editor",ER="dinox-editor",HRe="/dinox-editor";async function $R(e,t,n=45e3){let r=new AbortController,i=setTimeout(()=>r.abort(),n);try{let o=await fetch(`${HRe}/${e}`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(t),signal:r.signal,credentials:"same-origin"}),s=null;try{s=await o.json()}catch{}if(!o.ok||!s||s.error){let a=s?.error?.message??"";throw/^Unknown editor method /.test(a)?new Error(ne("Dinox \u5916\u639B\u5DF2\u66F4\u65B0\uFF0C\u8ACB\u5B8C\u5168\u7D50\u675F DeepSeek Harness \u5F8C\u91CD\u65B0\u958B\u555F")):new Error(a||ne("Dinox \u7DE8\u8F2F\u5668\u6C92\u6709\u56DE\u61C9\uFF08HTTP {status}\uFF09",{status:o.status}))}return s.value}catch(o){throw o.name==="AbortError"?new Error(ne("Dinox \u7DE8\u8F2F\u5668\u56DE\u61C9\u903E\u6642")):o}finally{clearTimeout(i)}}function zRe(){EC(document,".dx-dsh-host{height:100%;min-height:0;min-width:0;overflow:hidden}.dx-dsh-host>.dx-root{height:100%;min-height:0}")}var ene=()=>document.body?.hasAttribute("data-ds-dark-theme")?"dark":"light";function VRe({sessionId:e,ctx:t}){let n=(0,Jm.useRef)(null);return(0,Jm.useEffect)(()=>{let r=n.current;if(!r)return;zRe();let i=0,s=Jte(r,{host:"dsh",async rpc(l,c){let u=l==="sync"?Number(c.waitMs??0):0,f=await $R("rpc",{sessionId:e,method:l,params:c},u+2e4),d=f?.openRequest?.openSeq;return l==="sync"&&typeof d=="number"&&d>i&&(i>0&&t.sidebarRight.openTabIn(e,ER),i=d),f},async sendChat(l){let c=t.sessions.scope(e)?.get("conversation");if(!c)throw new Error(ne("\u627E\u4E0D\u5230\u9019\u500B\u5C0D\u8A71"));await c.send(l)},async pushContext(l){await $R("context",{sessionId:e,text:l})},openLink(l){window.open(l,"_blank","noopener,noreferrer")}});s.setTheme(ene());let a=new MutationObserver(()=>s.setTheme(ene()));return document.body&&a.observe(document.body,{attributes:!0,attributeFilter:["data-ds-dark-theme"]}),()=>{a.disconnect(),s.flush().catch(()=>{}).finally(()=>s.destroy())}},[e]),(0,Jm.createElement)("div",{ref:n,className:"dx-dsh-host"})}function jRe(e){let t=!1,n,r=0,i=new Map,o=s=>new Promise(a=>setTimeout(a,s));return(async()=>{for(;!t;)try{let s=await $R("opens",{cursor:n,waitMs:n===void 0?0:2e4},4e4);if(t)return;r=0;let a=s.opens.filter(l=>{let c=`${l.sessionId}#${l.openSeq}`,u=(i.get(c)??0)+1;return i.set(c,u),u<=40});for(let l of a)e.sidebarRight.openTabIn(l.sessionId,ER);i.size>200&&i.clear(),n=a.length?void 0:s.cursor,a.length&&await o(1500)}catch(s){r++,r===1&&console.error("[dinox-editor] watching opens failed",s),await o(Math.min(3e4,1500*2**r))}})(),()=>{t=!0}}function qRe(e){rN(),e.effect(()=>e.sidebarRightTabs.register({id:Qte,kind:ER,title:()=>"Dinox",guide:[{id:"editor",title:()=>ne("Dinox \u7B46\u8A18"),description:()=>ne("\u548C AI \u4E00\u8D77\u7DE8\u8F2F Dinox \u7B46\u8A18\uFF1AAI \u63D0\u51FA\u5EFA\u8B70\uFF0C\u7531\u4F60\u63A5\u53D7\u5F8C\u81EA\u52D5\u5132\u5B58\u3002")}],keepMounted:!0})),e.effect(()=>e.slots.inject("sidebar.right.pane.tab",()=>e.slots.register({name:"sidebar.right.pane.tab",key:Qte,inject:()=>({ctx:e})},VRe))),e.effect(()=>jRe(e))}
|
|
547
547
|
|
|
548
548
|
return module.exports; } });
|