@lytjs/renderer 4.0.4 → 4.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (34) hide show
  1. package/dist/dom.cjs +1 -1
  2. package/dist/dom.mjs +1 -1
  3. package/dist/index.cjs +1 -1
  4. package/dist/index.mjs +1 -1
  5. package/dist/native.cjs +1 -1
  6. package/dist/native.mjs +1 -1
  7. package/dist/ssr.cjs +1 -1
  8. package/dist/ssr.mjs +1 -1
  9. package/dist/tsconfig.tsbuildinfo +1 -0
  10. package/dist/types/dom/dom-renderer.d.ts.map +1 -1
  11. package/dist/types/dom/index.d.ts.map +1 -1
  12. package/dist/types/dom/patch-events.d.ts +2 -2
  13. package/dist/types/dom/patch-events.d.ts.map +1 -1
  14. package/dist/types/miniapp/index.d.ts.map +1 -1
  15. package/dist/types/miniapp/miniapp-renderer.d.ts +3 -3
  16. package/dist/types/miniapp/miniapp-renderer.d.ts.map +1 -1
  17. package/dist/types/native/index.d.ts.map +1 -1
  18. package/dist/types/native/native-renderer.d.ts +2 -2
  19. package/dist/types/native/native-renderer.d.ts.map +1 -1
  20. package/dist/types/ssr/hydration.d.ts.map +1 -1
  21. package/dist/types/ssr/index.d.ts.map +1 -1
  22. package/dist/types/ssr/ssr-renderer.d.ts.map +1 -1
  23. package/dist/types/vapor/index.d.ts.map +1 -1
  24. package/dist/types/vapor/vapor-compiler.d.ts +3 -3
  25. package/dist/types/vapor/vapor-compiler.d.ts.map +1 -1
  26. package/dist/types/vapor/vapor-component.d.ts +1 -1
  27. package/dist/types/vapor/vapor-component.d.ts.map +1 -1
  28. package/dist/types/vapor/vapor-reactive.d.ts +7 -6
  29. package/dist/types/vapor/vapor-reactive.d.ts.map +1 -1
  30. package/dist/types/vapor/vapor-renderer.d.ts +8 -8
  31. package/dist/types/vapor/vapor-renderer.d.ts.map +1 -1
  32. package/dist/vapor.cjs +1 -1
  33. package/dist/vapor.mjs +1 -1
  34. package/package.json +3 -3
package/dist/ssr.cjs CHANGED
@@ -1 +1 @@
1
- var W=Object.defineProperty;var Oe=Object.getOwnPropertyDescriptor;var Ie=Object.getOwnPropertyNames;var $e=Object.prototype.hasOwnProperty;var ve=(t,e)=>{for(var n in e)W(t,n,{get:e[n],enumerable:!0})},we=(t,e,n,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let s of Ie(e))!$e.call(t,s)&&s!==n&&W(t,s,{get:()=>e[s],enumerable:!(r=Oe(e,s))||r.enumerable});return t};var De=t=>we(W({},"__esModule",{value:!0}),t);var Vt={};ve(Vt,{Comment:()=>Y,Fragment:()=>G,PatchFlags:()=>M,ShapeFlags:()=>C,StringRenderer:()=>_,Text:()=>U,clearIslandRegistry:()=>Ae,clearMismatchWarnings:()=>Me,createHydrationIsland:()=>xe,createRenderer:()=>ye,getHydrateStats:()=>Se,getIslandRegistry:()=>He,getMismatchWarnings:()=>_e,hydrate:()=>Ve,hydrateAllIslands:()=>be,hydrateIsland:()=>se,isHydrating:()=>Ne,onHydrated:()=>Le,registerIslandComponent:()=>Ce,renderToStream:()=>me,renderToStreamGenerator:()=>pe,renderToString:()=>fe,resetHydrateStats:()=>ne,setHydrating:()=>Te,ssrRenderer:()=>ge,unmountIsland:()=>Re});module.exports=De(Vt);var de=require("@lytjs/vdom");var C=(i=>(i[i.ELEMENT=1]="ELEMENT",i[i.FUNCTIONAL_COMPONENT=2]="FUNCTIONAL_COMPONENT",i[i.STATEFUL_COMPONENT=4]="STATEFUL_COMPONENT",i[i.TEXT_CHILDREN=8]="TEXT_CHILDREN",i[i.ARRAY_CHILDREN=16]="ARRAY_CHILDREN",i[i.SLOTS_CHILDREN=32]="SLOTS_CHILDREN",i))(C||{}),M=(d=>(d[d.TEXT=1]="TEXT",d[d.CLASS=2]="CLASS",d[d.STYLE=4]="STYLE",d[d.PROPS=8]="PROPS",d[d.FULL_PROPS=16]="FULL_PROPS",d[d.STABLE_FRAGMENT=32]="STABLE_FRAGMENT",d[d.KEYED_FRAGMENT=64]="KEYED_FRAGMENT",d[d.UNKEYED_FRAGMENT=128]="UNKEYED_FRAGMENT",d[d.NEED_PATCH=256]="NEED_PATCH",d[d.DYNAMIC_SLOTS=512]="DYNAMIC_SLOTS",d[d.HOISTED=-1]="HOISTED",d[d.BAIL=-2]="BAIL",d))(M||{}),G=Symbol("Fragment"),U=Symbol("Text"),Y=Symbol("Comment");function R(t){return t.type===G}function O(t){return t.type===U}function I(t){return t.type===Y}function ie(t,e){return t.type===e.type&&t.key===e.key}function X(t){return Array.isArray(t.dynamicChildren)}function ae(t,e,n,r){if(n==="class")t.setClass(e,r);else if(n==="style")t.setStyle(e,r);else if(n.startsWith("on")||n.startsWith("@")){let s=n.startsWith("@")?n.slice(1).toLowerCase():n.slice(2).toLowerCase();t.addEventListener(e,s,r)}else n==="key"||n==="ref"||t.setAttribute(e,n,r)}function z(t,e,n,r,s){if(n==="class")t.setClass(e,r);else if(n==="style")t.setStyle(e,r||{});else if(n.startsWith("on")||n.startsWith("@")){let o=n.startsWith("@")?n.slice(1).toLowerCase():n.slice(2).toLowerCase();s&&t.removeEventListener(e,o,s),r&&t.addEventListener(e,o,r)}else t.setAttribute(e,n,r)}function q(t,e,n,r){for(let s in r){if(s==="key"||s==="ref")continue;let o=n[s],i=r[s];i!==o&&z(t,e,s,i,o)}for(let s in n)if(!(s==="key"||s==="ref")&&!(s in r))if(s==="class")t.setClass(e,"");else if(s==="style")t.setStyle(e,{});else if(s.startsWith("on")||s.startsWith("@")){let o=s.startsWith("@")?s.slice(1).toLowerCase():s.slice(2).toLowerCase();t.removeEventListener(e,o,n[s])}else t.removeAttribute(e,s)}function B(t,e,n,r,s,o){let{shapeFlag:i}=n;if(R(n)){je(t,e,n,r,s,o);return}if(O(n)){let a=t.createText(n.children);n.el=a,t.insert(r,a,s);return}if(I(n)){let a=t.createComment(n.children);n.el=a,t.insert(r,a,s);return}if(i&1){Pe(t,e,n,r,s,o);return}if(i&6){Fe(e,n,r,s,o);return}}function Pe(t,e,n,r,s,o){let i=n.type,a=t.createElement(i);if(n.el=a,n.props)for(let y in n.props){let u=n.props[y];ae(t,a,y,u)}let{shapeFlag:l,children:c}=n;l&8?a.textContent=c:l&16&&$(e,c,a,null,o),t.insert(r,a,s)}function $(t,e,n,r,s){for(let o=0;o<e.length;o++)t(null,e[o],n,r,s)}function je(t,e,n,r,s,o){let{children:i}=n,a=t.createComment("");t.insert(r,a,s),Array.isArray(i)&&i.length>0&&$(e,i,r,a,o),n.el=a,n.anchor=a}function Fe(t,e,n,r,s){let o=e.component;o&&o.update&&o.update(),o&&o.subTree&&(t(null,o.subTree,n,r,o),e.el=o.subTree.el)}function le(t,e,n,r){let{shapeFlag:s,children:o}=n;if(R(n)){if(Array.isArray(o))for(let i=0;i<o.length;i++)e(o[i],r);n.anchor&&n.anchor.parentNode&&t.remove(n.anchor);return}if(s&6){n.component&&n.component.subTree&&e(n.component.subTree,r);return}n.el&&t.remove(n.el)}function v(t,e){for(let n=0;n<e.length;n++)t(e[n])}var w=require("@lytjs/vdom");function D(t,e,n,r,s,o=null,i=null){if(r==null){n&&e(n,s);return}if(n===null){B(t,K(t,e),r,s,o,i);return}if(X(r)&&X(n)){Ue(t,e,n,r,s,i);return}if(!ie(n,r)){e(n,s),B(t,K(t,e),r,s,o,i);return}r.el=n.el,r.anchor=n.anchor;let{shapeFlag:a}=r;if(R(r)){Ge(t,e,n,r,s,o,i);return}if(O(r)){r.children!==n.children&&(r.el.nodeValue=r.children);return}if(I(r)){r.children!==n.children&&(r.el.nodeValue=r.children);return}if(a&1){ke(t,e,n,r,i);return}if(a&6){Ye(n,r,i);return}}function K(t,e){return(n,r,s,o,i)=>{D(t,e,n,r,s,o,i)}}function ke(t,e,n,r,s=null){let o=r.el=n.el,i=n.props||{},a=r.props||{},{patchFlag:l,dynamicProps:c}=r;if(l&&l>0){if(l&1&&n.children!==r.children&&(o.textContent=r.children),l&2&&i.class!==a.class&&t.setClass(o,a.class),l&4&&i.style!==a.style&&t.setStyle(o,a.style||{}),l&8&&c)for(let y=0;y<c.length;y++){let u=c[y],d=i[u],N=a[u];N!==d&&z(t,o,u,N,d)}l&16&&q(t,o,i,a)}else q(t,o,i,a);(!l||!(l&1))&&ce(t,e,n,r,o,null,s)}function ce(t,e,n,r,s,o,i){let a=n.shapeFlag,l=r.shapeFlag,c=n.children,y=r.children;if(l&8){a&16&&v(e,c),c!==y&&(s.textContent=y);return}if(l&16){a&16?We(t,e,c,y,s,o,i):(a&8&&(s.textContent=""),$(K(t,e),y,s,o,i));return}y==null&&(a&8?s.textContent="":a&16&&v(e,c))}function We(t,e,n,r,s,o,i){r.every(l=>l.key!==null&&l.key!==void 0)&&n.every(l=>l.key!==null&&l.key!==void 0)?(0,w.patchKeyedChildren)(n,r,s,o,i,null,!1):(0,w.patchUnkeyedChildren)(n,r,s,o,i,null,!1)}function Ge(t,e,n,r,s,o,i){let a=n.children,l=r.children;Array.isArray(l)&&l.length>0?(ce(t,e,n,r,s,o,i),r.el=l[0].el,r.anchor=l[l.length-1].el?t.nextSibling(l[l.length-1].el):o):Array.isArray(a)&&a.length>0&&l===null?(v(e,a),r.el=n.el,r.anchor=n.anchor):(r.el=n.el,r.anchor=n.anchor)}function Ue(t,e,n,r,s,o){let i=n.dynamicChildren,a=r.dynamicChildren;for(let l=0;l<a.length;l++)D(t,e,i[l],a[l],s,null,o)}function Ye(t,e,n){e.component=t.component,e.el=t.el,e.component&&e.component.update&&e.component.update()}function ye(t){function e(s,o){le(t,e,s,o)}(0,de.registerDOMOperations)({insert(s,o,i){t.insert(o,s,i)},createElement(s){return t.createElement(s)},createText(s){return t.createText(s)},setText(s,o){s.nodeValue=o},setElementText(s,o){s.textContent=o},remove(s){t.remove(s)},createComment(s){return t.createComment(s)},mount(s,o,i,a,l,c,y){r(null,s,o,i,a)},patch(s,o,i,a,l,c,y,u){r(s,o,i,a,l)},unmount(s,o,i,a){e(s)},move(s,o,i){t.insert(o,s.el,i)}});function r(s,o,i,a,l){D(t,e,s,o,i,a,l)}return{mount(s,o){o.nodeType===1&&(o.textContent=""),r(null,s,o,null,null)},patch(s,o,i){var a;r(s,o,i||((a=s.el)==null?void 0:a.parentNode),null,null)},unmount(s,o){e(s,o)}}}var J=new Set(["area","base","br","col","embed","hr","img","input","link","meta","param","source","track","wbr"]),Xe={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},ze=/[&<>"']/g,T={ELEMENT:1,FUNCTIONAL_COMPONENT:2,STATEFUL_COMPONENT:4,TEXT_CHILDREN:8,ARRAY_CHILDREN:16,SLOTS_CHILDREN:32},qe=0;function f(t){return t.replace(ze,e=>Xe[e])}function Be(t,e){return t.startsWith("on")||t.startsWith("@")||t==="key"||t==="ref"||t==="__vccOpts"||t.startsWith("__")?"":e===!0?t:e===!1||e===null||e===void 0?"":t==="class"?`class="${f(ue(e))}"`:t==="style"?`style="${f(Ke(e))}"`:t==="dangerouslySetInnerHTML"||t==="innerHTML"?"":`${t}="${f(String(e))}"`}function ue(t){if(!t)return"";if(typeof t=="string")return t;if(Array.isArray(t))return t.map(ue).filter(Boolean).join(" ");if(typeof t=="object"){let e=[];for(let n in t)t[n]&&e.push(n);return e.join(" ")}return String(t)}function Ke(t){if(!t)return"";if(typeof t=="string")return t;if(typeof t=="object"){let e=[];for(let n in t)if(t[n]){let r=n.replace(/([A-Z])/g,"-$1").toLowerCase();e.push(`${r}: ${t[n]}`)}return e.join("; ")}return String(t)}function Z(t){if(!t)return"";let e=[];for(let n in t){let r=t[n],s=Be(n,r);s&&e.push(s)}return e.length>0?" "+e.join(" "):""}var _=class{createElement(e){return{tag:e,props:{},children:[]}}createText(e){return{type:"text",value:e}}createComment(e){return{type:"comment",value:e}}insert(e,n,r){e.children.push(n)}renderToString(e){return m(e)}async*renderToStream(e){yield*P(e)}};function m(t){if(t==null)return"";let{type:e,props:n,children:r}=t;return typeof e=="symbol"&&String(e)==="Symbol(Fragment)"?Array.isArray(r)?r.map(s=>m(s)).join(""):"":typeof e=="symbol"&&String(e).includes("Text")?f(String(r||"")):typeof e=="symbol"&&String(e).includes("Comment")?`<!--${String(r||"")}-->`:typeof e=="string"?Je(e,n,r,t):typeof e=="object"&&e!==null||typeof e=="function"?H(t):""}function Je(t,e,n,r){let s=Z(e);if(J.has(t))return`<${t}${s} />`;if(e&&(e.dangerouslySetInnerHTML||e.innerHTML)){let a=e.dangerouslySetInnerHTML?e.dangerouslySetInnerHTML.__html||e.dangerouslySetInnerHTML:e.innerHTML;return`<${t}${s}>${a}</${t}>`}let o="",i=r.shapeFlag||0;return i&T.TEXT_CHILDREN?o=f(String(n||"")):i&T.ARRAY_CHILDREN&&Array.isArray(n)?o=n.map(a=>m(a)).join(""):i&T.SLOTS_CHILDREN&&typeof n=="object"&&n!==null?o=Q(n):typeof n=="string"?o=f(n):Array.isArray(n)?o=n.map(a=>m(a)).join(""):typeof n=="number"&&(o=f(String(n))),`<${t}${s}>${o}</${t}>`}function Q(t){let e=[];for(let n in t){let r=t[n];if(typeof r=="function"){let s=r();Array.isArray(s)?e.push(s.map(o=>m(o)).join("")):s!=null&&e.push(m(s))}else Array.isArray(r)?e.push(r.map(s=>m(s)).join("")):r!=null&&e.push(m(r))}return e.join("")}function H(t){let e=t.type;if(e&&e.__island)return Ze(t,e);if(typeof e=="function"){let n=e(t.props||{},{slots:t.children||{}});return m(n)}if(typeof e=="object"&&e!==null){if(typeof e.render=="function"){let n=e.render(t.props||{},{slots:t.children||{},emit:()=>{}});return m(n)}if(typeof e.setup=="function"){let n=e.setup(t.props||{},{emit:()=>{},slots:t.children||{}});if(typeof n=="function"){let r=n();return m(r)}if(typeof e.render=="function"){let r=e.render(n||{},{slots:t.children||{},emit:()=>{}});return m(r)}}}return t.component&&t.component.subTree?m(t.component.subTree):"<!---->"}function Ze(t,e){var N;let n=e.name||((N=t.props)==null?void 0:N["data-island-id"])||"anonymous",r=t.props||{},s=r["data-hydrate-when"]||e.__hydrateWhen||"",o=e.__islandTag||"div",i={};for(let g in r)g==="data-hydrate-when"||g==="data-island-id"||(i[g]=r[g]);let a=JSON.stringify(i),l=f(a),c="";if(typeof e.render=="function"){let g=e.render(r,{slots:t.children||{},emit:()=>{}});c=m(g)}else if(typeof e=="function"){let g=e(r,{slots:t.children||{}});c=m(g)}let y=s?` data-hydrate-when="${f(s)}"`:"",u=`<${o} data-hydrate="${f(n)}" data-props="${l}"${y}>${c}</${o}>`,d=`<script type="application/json" data-hydrate-props="${f(n)}">${a}<\/script>`;return u+d}async function*P(t){if(t==null)return;let{type:e,props:n,children:r}=t;if(typeof e=="symbol"&&String(e)==="Symbol(Fragment)"){if(Array.isArray(r))for(let s of r)yield*P(s);return}if(typeof e=="symbol"&&String(e).includes("Text")){yield f(String(r||""));return}if(typeof e=="symbol"&&String(e).includes("Comment")){yield`<!--${String(r||"")}-->`;return}if(typeof e=="string"){yield*Qe(e,n,r,t);return}if(typeof e=="object"||typeof e=="function"){yield H(t);return}}async function*Qe(t,e,n,r){let s=Z(e);if(J.has(t)){yield`<${t}${s} />`;return}if(e&&(e.dangerouslySetInnerHTML||e.innerHTML)){let i=e.dangerouslySetInnerHTML?e.dangerouslySetInnerHTML.__html||e.dangerouslySetInnerHTML:e.innerHTML;yield`<${t}${s}>${i}</${t}>`;return}yield`<${t}${s}>`;let o=r.shapeFlag||0;if(o&T.TEXT_CHILDREN)yield f(String(n||""));else if(o&T.ARRAY_CHILDREN&&Array.isArray(n))for(let i of n)yield*P(i);else if(o&T.SLOTS_CHILDREN&&typeof n=="object"&&n!==null)yield Q(n);else if(typeof n=="string")yield f(n);else if(Array.isArray(n))for(let i of n)yield*P(i);else typeof n=="number"&&(yield f(String(n)));yield`</${t}>`}function fe(t){return m(t)}function me(t,e){let n=(e==null?void 0:e.suspenseIdPrefix)||"suspense",r=S(t,n);return new ReadableStream({async pull(s){let{value:o,done:i}=await r.next();i?s.close():s.enqueue(o)},async cancel(){await r.return(void 0)}})}async function*pe(t,e){let n=(e==null?void 0:e.suspenseIdPrefix)||"suspense";yield*S(t,n)}async function*S(t,e){if(t==null)return;let{type:n,props:r,children:s}=t;if(typeof n=="symbol"&&String(n)==="Symbol(Fragment)"){if(Array.isArray(s))for(let o of s)yield*S(o,e);return}if(typeof n=="symbol"&&String(n).includes("Text")){yield f(String(s||""));return}if(typeof n=="symbol"&&String(n).includes("Comment")){yield`<!--${String(s||"")}-->`;return}if(typeof n=="string"){yield*et(n,r,s,t,e);return}if(typeof n=="object"&&n!==null){let o=n;if(o.name==="Suspense"||o._isSuspense){yield*tt(t,e);return}if(o._isAsyncComponent||o.__asyncSetup){yield*nt(t,e);return}yield H(t);return}if(typeof n=="function"){yield H(t);return}}async function*et(t,e,n,r,s){let o=Z(e);if(J.has(t)){yield`<${t}${o} />`;return}if(e&&(e.dangerouslySetInnerHTML||e.innerHTML)){let a=e.dangerouslySetInnerHTML?e.dangerouslySetInnerHTML.__html||e.dangerouslySetInnerHTML:e.innerHTML;yield`<${t}${o}>${a}</${t}>`;return}yield`<${t}${o}>`;let i=r.shapeFlag||0;if(i&T.TEXT_CHILDREN)yield f(String(n||""));else if(i&T.ARRAY_CHILDREN&&Array.isArray(n))for(let a of n)yield*S(a,s);else if(i&T.SLOTS_CHILDREN&&typeof n=="object"&&n!==null)yield Q(n);else if(typeof n=="string")yield f(n);else if(Array.isArray(n))for(let a of n)yield*S(a,s);else typeof n=="number"&&(yield f(String(n)));yield`</${t}>`}async function*tt(t,e){let n=`${e}-${qe++}`,r=t.type,o=(t.props||{}).fallback,i="";o&&(typeof o=="object"&&o!==null?i=m(o):typeof o=="string"&&(i=o));let a=t.children,l=[];if(typeof a=="object"&&a!==null){if(Array.isArray(a))l=a;else if(typeof a.default=="function"){let u=a.default();Array.isArray(u)?l=u:u!=null&&(l=[u])}}let c=[];function y(u){for(let d of u){if(d==null)continue;let N=d.type;if(N&&(N._isAsyncComponent||N.__asyncSetup||d.__asyncSetup)){let g=d.__asyncPromise||N.__asyncPromise;g&&c.push(g.then(()=>{}))}}}if(y(l),c.length===0){for(let u of l)yield*S(u,e);return}yield`<!--${n}-fallback-->`,yield i,await Promise.all(c),yield`<!--${n}-resolved-->`;for(let u of l)yield*S(u,e);yield`<!--/${n}-->`}async function*nt(t,e){let n=t.type,r=t.__asyncPromise||n.__asyncPromise;if(r)try{await r}catch(s){yield"<!--async-component-error-->";return}yield H(t)}var ge=new _;var F={ELEMENT:1,FUNCTIONAL_COMPONENT:2,STATEFUL_COMPONENT:4,TEXT_CHILDREN:8,ARRAY_CHILDREN:16,SLOTS_CHILDREN:32},h=!1,te=[],p={success:!0,mismatches:0,hydratedNodes:0};function Ne(){return h}function Te(t){h=t}function Se(){return{...p}}function ne(){p={success:!0,mismatches:0,hydratedNodes:0}}function Le(t){h?te.push(t):t()}function Ve(t,e,n={}){ne(),n.onHydrated&&te.push(n.onHydrated),h=!0;try{let r=e.firstElementChild;return r?(t._vnode||t.mount(e),t._vnode&&V(r,t._vnode,n),h=!1,ee(),p):(h=!1,t.mount(e),p.success=!1,ee(),p)}catch(r){return h=!1,p.success=!1,e.innerHTML="",t.mount(e),ee(),p}}function ee(){let t=te.splice(0);for(let e of t)try{e()}catch(n){}}function V(t,e,n){if(dt(e)){it(t,e,n);return}if(yt(e)){st(t,e,n);return}if(ut(e)){ot(t,e,n);return}if(ft(e)){at(t,e,n);return}if(typeof e.type=="string"){rt(t,e,n);return}}function rt(t,e,n){let r=t.tagName.toLowerCase(),s=e.type.toLowerCase();if(r!==s){k(t,e,`\u6807\u7B7E\u4E0D\u5339\u914D: DOM "${r}" vs VNode "${s}"`,n);return}e.el=t,e.props&&re(t,e.props),e.ref&&ct(t,e.ref),lt(t,e,n),p.hydratedNodes++}function st(t,e,n){if(t.nodeType!==3){k(t,e,"\u671F\u671B\u6587\u672C\u8282\u70B9",n);return}e.el=t;let r=t.nodeValue||"",s=String(e.children||"");r!==s&&(t.nodeValue=s,n.strict),p.hydratedNodes++}function ot(t,e,n){if(t.nodeType!==8){k(t,e,"\u671F\u671B\u6CE8\u91CA\u8282\u70B9",n);return}e.el=t;let r=t.nodeValue||"",s=String(e.children||"");r!==s&&(t.nodeValue=s),p.hydratedNodes++}function it(t,e,n){if(!Array.isArray(e.children))return;let r=Array.from(t.childNodes);for(let s=0;s<e.children.length;s++){let o=e.children[s],i=r[s];if(!i){p.mismatches++;break}V(i,o,n)}}function at(t,e,n){if(e.component&&e.component.subTree){V(t,e.component.subTree,n),e.el=e.component.subTree.el;return}let r=e.type;if(typeof r=="function")try{let s=r(e.props||{},{slots:e.children||{}});if(s){V(t,s,n),e.el=s.el;return}}catch(s){}if(typeof r=="object"&&r!==null&&typeof r.render=="function")try{let s=r.render(e.props||{},{slots:e.children||{},emit:()=>{}});if(s){V(t,s,n),e.el=s.el;return}}catch(s){}k(t,e,"\u7EC4\u4EF6\u65E0\u6CD5\u83B7\u53D6 subTree",n)}function lt(t,e,n){if(!e.children)return;let r=e.shapeFlag||0;if(typeof e.children=="string"||r&F.TEXT_CHILDREN){let s=t.textContent||"",o=String(e.children||"");s!==o&&(t.textContent=o,n.strict);return}if(Array.isArray(e.children)){let s=Array.from(t.childNodes),o=0;for(let i=0;i<s.length&&o<e.children.length;i++){let a=e.children[o];if(a==null){o++;continue}V(s[i],a,n),o++}o<e.children.length&&p.mismatches++}r&F.SLOTS_CHILDREN&&typeof e.children=="object"&&e.children}function re(t,e){for(let n in e){let r=e[n];if(n.startsWith("on")&&typeof r=="function"){let s=n.slice(2).toLowerCase();t.addEventListener(s,r)}}}function ct(t,e){typeof e=="function"?e(t):e&&typeof e=="object"&&(e.current=t)}function dt(t){return typeof t.type=="symbol"&&String(t.type)==="Symbol(Fragment)"}function yt(t){return typeof t.type=="symbol"&&String(t.type).includes("Text")}function ut(t){return typeof t.type=="symbol"&&String(t.type).includes("Comment")}function ft(t){return!!((t.shapeFlag||0)&(F.STATEFUL_COMPONENT|F.FUNCTIONAL_COMPONENT)||typeof t.type=="object"&&t.type!==null||typeof t.type=="function")}function k(t,e,n,r){let s=`[lyt] \u6CE8\u6C34\u4E0D\u5339\u914D: ${n}`;if(p.mismatches++,r.strict)throw new Error(s)}var b=new Map,x=new Map,mt={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},pt=/[&<>"']/g;function E(t){return t.replace(pt,e=>mt[e])}function se(t,e,n={}){let r=typeof document!="undefined"?document:null;if(!r)return{success:!1,mismatches:0,hydratedNodes:0};let s=r.querySelector(t);if(!s)return{success:!1,mismatches:0,hydratedNodes:0};let o=s.getAttribute("data-hydrate");if(!o)return{success:!1,mismatches:0,hydratedNodes:0};if(s.hasAttribute("data-hydrated"))return{success:!0,mismatches:0,hydratedNodes:0};let i=gt(o,r);if(i===null)return{success:!1,mismatches:0,hydratedNodes:0};let a=s.getAttribute("data-hydrate-when");return a||n.lazy?ht(s,o,e,i,a||"visible",n):L(s,o,e,i,n)}function gt(t,e){let n=e.querySelector(`script[type="application/json"][data-hydrate-props="${t}"]`);if(!n){let r=e.querySelector(`[data-hydrate="${t}"]`);if(r){let s=r.getAttribute("data-props");if(s)try{return JSON.parse(s)}catch(o){return null}}return{}}try{return JSON.parse(n.textContent||"{}")}catch(r){return null}}function L(t,e,n,r,s){let o={success:!0,mismatches:0,hydratedNodes:0};try{h=!0;let i=null;if(typeof n.render=="function")i=n.render(r,{slots:n.slots||{},emit:()=>{}});else if(typeof n.setup=="function"){let l=n.setup(r,{emit:()=>{},slots:n.slots||{}});typeof l=="function"&&(i=l())}if(!i)return h=!1,o.success=!1,o;if(s.dev!==!1){let l=Tt(t,i,e);o.mismatches=l}V(t,i,s),o.hydratedNodes=p.hydratedNodes,i.props&&re(t,i.props),j(t,i),t.setAttribute("data-hydrated","");let a={id:e,hydrated:!0,instance:n,eventListeners:[],timeoutId:null,observer:null,interactionHandler:null};return b.set(e,a),x.set(e,n),h=!1,s.onHydrated&&s.onHydrated(),o}catch(i){return h=!1,o.success=!1,o}}function j(t,e){if(!(!e.children||typeof e.children=="string")&&Array.isArray(e.children)){let n=Array.from(t.children),r=0;for(let s=0;s<n.length&&r<e.children.length;s++){let o=e.children[r];if(o==null){r++;continue}if(typeof o.type=="string"&&o.props)re(n[s],o.props),j(n[s],o);else if(typeof o.type=="object"||typeof o.type=="function"){let i=o.type;if(typeof i=="function")try{let a=i(o.props||{},{slots:o.children||{}});a&&n[s]&&j(n[s],a)}catch(a){}else if(i&&typeof i.render=="function")try{let a=i.render(o.props||{},{slots:o.children||{},emit:()=>{}});a&&n[s]&&j(n[s],a)}catch(a){}}r++}}}function ht(t,e,n,r,s,o){let i={success:!0,mismatches:0,hydratedNodes:0},a=null;o.timeout&&o.timeout>0&&(a=setTimeout(()=>{Ee(t,e),L(t,e,n,r,o)},o.timeout));let l={id:e,hydrated:!1,instance:n,eventListeners:[],timeoutId:a,observer:null,interactionHandler:null};switch(b.set(e,l),x.set(e,n),s){case"visible":{if(typeof IntersectionObserver!="undefined"){let c=new IntersectionObserver(y=>{for(let u of y)u.isIntersecting&&(c.unobserve(u.target),l.observer=null,a&&clearTimeout(a),l.timeoutId=null,L(t,e,n,r,o))},{rootMargin:"200px"});c.observe(t),l.observer=c}else a&&clearTimeout(a),L(t,e,n,r,o);break}case"idle":{(y=>{typeof requestIdleCallback!="undefined"?requestIdleCallback(y,{timeout:o.timeout||2e3}):setTimeout(y,1)})(()=>{a&&clearTimeout(a),l.timeoutId=null,t.hasAttribute("data-hydrated")||L(t,e,n,r,o)});break}case"interaction":{let c=()=>{a&&clearTimeout(a),l.timeoutId=null,l.interactionHandler=null,document.removeEventListener("click",c),document.removeEventListener("keydown",c),document.removeEventListener("scroll",c),document.removeEventListener("touchstart",c),t.hasAttribute("data-hydrated")||L(t,e,n,r,o)};document.addEventListener("click",c,{once:!1,passive:!0}),document.addEventListener("keydown",c,{once:!1,passive:!0}),document.addEventListener("scroll",c,{once:!1,passive:!0}),document.addEventListener("touchstart",c,{once:!1,passive:!0}),l.interactionHandler=c;break}default:a&&clearTimeout(a),L(t,e,n,r,o)}return i}function Ee(t,e){let n=b.get(e);n&&(n.observer&&(n.observer.disconnect(),n.observer=null),n.timeoutId!==null&&(clearTimeout(n.timeoutId),n.timeoutId=null),n.interactionHandler&&(document.removeEventListener("click",n.interactionHandler),document.removeEventListener("keydown",n.interactionHandler),document.removeEventListener("scroll",n.interactionHandler),document.removeEventListener("touchstart",n.interactionHandler),n.interactionHandler=null))}function be(t={}){let e=typeof document!="undefined"?document:null;if(!e)return{success:!1,mismatches:0,hydratedNodes:0};let n=e.querySelectorAll("[data-hydrate]:not([data-hydrated])"),r={success:!0,mismatches:0,hydratedNodes:0};return n.forEach(s=>{let o=s.getAttribute("data-hydrate"),i=x.get(o);if(!i){r.success=!1;return}let a=se(`[data-hydrate="${o}"]`,i,t);r.mismatches+=a.mismatches,r.hydratedNodes+=a.hydratedNodes,a.success||(r.success=!1)}),r}function Ce(t,e){x.set(t,e)}function Re(t){if(!b.get(t))return;let n=typeof document!="undefined"?document.querySelector(`[data-hydrate="${t}"]`):null;n&&(Ee(n,t),n.removeAttribute("data-hydrated")),b.delete(t),x.delete(t)}function He(){return b}function Ae(){b.clear(),x.clear()}function xe(t,e={},n="div",r){let s=t.name||"anonymous",o=JSON.stringify(e),i=E(o),a="";if(typeof t.render=="function"){let u=t.render(e,{slots:t.slots||{},emit:()=>{}});a=A(u)}let l=r?` data-hydrate-when="${r}"`:"",c=`<${n} data-hydrate="${s}" data-props="${i}"${l}>${a}</${n}>`,y=`<script type="application/json" data-hydrate-props="${s}">${o}<\/script>`;return c+y}function A(t){if(t==null)return"";let{type:e,props:n,children:r}=t;if(typeof e=="symbol"&&String(e)==="Symbol(Fragment)")return Array.isArray(r)?r.map(s=>A(s)).join(""):"";if(typeof e=="symbol"&&String(e).includes("Text"))return E(String(r||""));if(typeof e=="symbol"&&String(e).includes("Comment"))return`<!--${String(r||"")}-->`;if(typeof e=="string"){let s=Nt(n);if(new Set(["area","base","br","col","embed","hr","img","input","link","meta","param","source","track","wbr"]).has(e))return`<${e}${s} />`;let i="";return typeof r=="string"?i=E(r):Array.isArray(r)?i=r.map(a=>A(a)).join(""):typeof r=="number"&&(i=E(String(r))),`<${e}${s}>${i}</${e}>`}if(typeof e=="function"){let s=e(n||{},{slots:r||{}});return A(s)}if(typeof e=="object"&&e!==null){let s=e;if(typeof s.render=="function"){let o=s.render(n||{},{slots:r||{},emit:()=>{}});return A(o)}}return""}function Nt(t){if(!t)return"";let e=[];for(let n in t){let r=t[n];if(!(n.startsWith("on")||n.startsWith("@")||n==="key"||n==="ref")&&!(n==="__vccOpts"||n.startsWith("__"))&&!(n==="dangerouslySetInnerHTML"||n==="innerHTML"))if(r===!0)e.push(n);else{if(r===!1||r===null||r===void 0)continue;n==="class"&&typeof r=="string"?e.push(`class="${E(r)}"`):n==="style"&&typeof r=="string"?e.push(`style="${E(r)}"`):e.push(`${n}="${E(String(r))}"`)}}return e.length>0?" "+e.join(" "):""}var oe=[];function Tt(t,e,n){let r=0,s=St(t),o=A(e);if(s!==o){r++;let i={islandId:n,expected:o,actual:s,suggestion:Lt(s,o,n)};oe.push(i)}return r}function St(t){let e=t.cloneNode(!0);return e.removeAttribute("data-hydrate"),e.removeAttribute("data-props"),e.removeAttribute("data-hydrate-when"),e.removeAttribute("data-hydrated"),e.innerHTML}function Lt(t,e,n){if(t.trim()==="")return`\u670D\u52A1\u7AEF\u6E32\u67D3\u4E3A\u7A7A\uFF0C\u8BF7\u68C0\u67E5\u7EC4\u4EF6 "${n}" \u7684\u670D\u52A1\u7AEF\u6E32\u67D3\u903B\u8F91`;if(e.trim()==="")return`\u5BA2\u6237\u7AEF\u6E32\u67D3\u4E3A\u7A7A\uFF0C\u8BF7\u68C0\u67E5\u7EC4\u4EF6 "${n}" \u7684 render \u51FD\u6570`;let r=/\d{10,13}/;return r.test(t)||r.test(e)?"\u68C0\u6D4B\u5230\u65F6\u95F4\u6233\u5DEE\u5F02\uFF0C\u8003\u8651\u4F7F\u7528\u7EDF\u4E00\u7684\u65F6\u95F4\u6E90\u6216\u5EF6\u8FDF\u6CE8\u6C34":he(t)===he(e)?"HTML \u5185\u5BB9\u76F8\u540C\u4F46\u5C5E\u6027\u987A\u5E8F\u4E0D\u540C\uFF0C\u8FD9\u4E0D\u5F71\u54CD\u529F\u80FD\u4F46\u53EF\u80FD\u5BFC\u81F4 mismatch \u8B66\u544A":`\u8BF7\u786E\u4FDD\u7EC4\u4EF6 "${n}" \u5728\u670D\u52A1\u7AEF\u548C\u5BA2\u6237\u7AEF\u6E32\u67D3\u76F8\u540C\u7684\u8F93\u51FA`}function he(t){return t.replace(/\s+/g," ").replace(/>\s+</g,"><").trim()}function _e(){return[...oe]}function Me(){oe.length=0}
1
+ var W=Object.defineProperty;var Oe=Object.getOwnPropertyDescriptor;var Ie=Object.getOwnPropertyNames;var $e=Object.prototype.hasOwnProperty;var ve=(t,e)=>{for(var n in e)W(t,n,{get:e[n],enumerable:!0})},we=(t,e,n,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let s of Ie(e))!$e.call(t,s)&&s!==n&&W(t,s,{get:()=>e[s],enumerable:!(r=Oe(e,s))||r.enumerable});return t};var De=t=>we(W({},"__esModule",{value:!0}),t);var Vt={};ve(Vt,{Comment:()=>Y,Fragment:()=>G,PatchFlags:()=>M,ShapeFlags:()=>C,StringRenderer:()=>_,Text:()=>U,clearIslandRegistry:()=>He,clearMismatchWarnings:()=>Me,createHydrationIsland:()=>xe,createRenderer:()=>ye,getHydrateStats:()=>Se,getIslandRegistry:()=>Ae,getMismatchWarnings:()=>_e,hydrate:()=>Ve,hydrateAllIslands:()=>be,hydrateIsland:()=>se,isHydrating:()=>Ne,onHydrated:()=>Le,registerIslandComponent:()=>Ce,renderToStream:()=>me,renderToStreamGenerator:()=>pe,renderToString:()=>fe,resetHydrateStats:()=>ne,setHydrating:()=>Te,ssrRenderer:()=>ge,unmountIsland:()=>Re});module.exports=De(Vt);var de=require("@lytjs/vdom");var C=(i=>(i[i.ELEMENT=1]="ELEMENT",i[i.FUNCTIONAL_COMPONENT=2]="FUNCTIONAL_COMPONENT",i[i.STATEFUL_COMPONENT=4]="STATEFUL_COMPONENT",i[i.TEXT_CHILDREN=8]="TEXT_CHILDREN",i[i.ARRAY_CHILDREN=16]="ARRAY_CHILDREN",i[i.SLOTS_CHILDREN=32]="SLOTS_CHILDREN",i))(C||{}),M=(y=>(y[y.TEXT=1]="TEXT",y[y.CLASS=2]="CLASS",y[y.STYLE=4]="STYLE",y[y.PROPS=8]="PROPS",y[y.FULL_PROPS=16]="FULL_PROPS",y[y.STABLE_FRAGMENT=32]="STABLE_FRAGMENT",y[y.KEYED_FRAGMENT=64]="KEYED_FRAGMENT",y[y.UNKEYED_FRAGMENT=128]="UNKEYED_FRAGMENT",y[y.NEED_PATCH=256]="NEED_PATCH",y[y.DYNAMIC_SLOTS=512]="DYNAMIC_SLOTS",y[y.HOISTED=-1]="HOISTED",y[y.BAIL=-2]="BAIL",y))(M||{}),G=Symbol("Fragment"),U=Symbol("Text"),Y=Symbol("Comment");function R(t){return t.type===G}function O(t){return t.type===U}function I(t){return t.type===Y}function ie(t,e){return t.type===e.type&&t.key===e.key}function X(t){return Array.isArray(t.dynamicChildren)}function ae(t,e,n,r){if(n==="class")t.setClass(e,r);else if(n==="style")t.setStyle(e,r);else if(n.startsWith("on")||n.startsWith("@")){let s=n.startsWith("@")?n.slice(1).toLowerCase():n.slice(2).toLowerCase();t.addEventListener(e,s,r)}else n==="key"||n==="ref"||t.setAttribute(e,n,r)}function z(t,e,n,r,s){if(n==="class")t.setClass(e,r);else if(n==="style")t.setStyle(e,r||{});else if(n.startsWith("on")||n.startsWith("@")){let o=n.startsWith("@")?n.slice(1).toLowerCase():n.slice(2).toLowerCase();s&&t.removeEventListener(e,o,s),r&&t.addEventListener(e,o,r)}else t.setAttribute(e,n,r)}function q(t,e,n,r){for(let s in r){if(s==="key"||s==="ref")continue;let o=n[s],i=r[s];i!==o&&z(t,e,s,i,o)}for(let s in n)if(!(s==="key"||s==="ref")&&!(s in r))if(s==="class")t.setClass(e,"");else if(s==="style")t.setStyle(e,{});else if(s.startsWith("on")||s.startsWith("@")){let o=s.startsWith("@")?s.slice(1).toLowerCase():s.slice(2).toLowerCase();t.removeEventListener(e,o,n[s])}else t.removeAttribute(e,s)}function B(t,e,n,r,s,o){let{shapeFlag:i}=n;if(R(n)){je(t,e,n,r,s,o);return}if(O(n)){let a=t.createText(n.children);n.el=a,t.insert(r,a,s);return}if(I(n)){let a=t.createComment(n.children);n.el=a,t.insert(r,a,s);return}if(i&1){Pe(t,e,n,r,s,o);return}if(i&6){Fe(e,n,r,s,o);return}}function Pe(t,e,n,r,s,o){let i=n.type,a=t.createElement(i);if(n.el=a,n.props)for(let d in n.props){let u=n.props[d];ae(t,a,d,u)}let{shapeFlag:l,children:c}=n;l&8?a.textContent=c:l&16&&$(e,c,a,null,o),t.insert(r,a,s)}function $(t,e,n,r,s){for(let o=0;o<e.length;o++)t(null,e[o],n,r,s)}function je(t,e,n,r,s,o){let{children:i}=n,a=t.createComment("");t.insert(r,a,s),Array.isArray(i)&&i.length>0&&$(e,i,r,a,o),n.el=a,n.anchor=a}function Fe(t,e,n,r,s){let o=e.component;o&&o.update&&o.update(),o&&o.subTree&&(t(null,o.subTree,n,r,o),e.el=o.subTree.el)}function le(t,e,n,r){let{shapeFlag:s,children:o}=n;if(R(n)){if(Array.isArray(o))for(let i=0;i<o.length;i++)e(o[i],r);n.anchor&&n.anchor.parentNode&&t.remove(n.anchor);return}if(s&6){n.component&&n.component.subTree&&e(n.component.subTree,r);return}n.el&&t.remove(n.el)}function v(t,e){for(let n=0;n<e.length;n++)t(e[n])}var w=require("@lytjs/vdom");function D(t,e,n,r,s,o=null,i=null){if(r==null){n&&e(n,s);return}if(n===null){B(t,K(t,e),r,s,o,i);return}if(X(r)&&X(n)){Ue(t,e,n,r,s,i);return}if(!ie(n,r)){e(n,s),B(t,K(t,e),r,s,o,i);return}r.el=n.el,r.anchor=n.anchor;let{shapeFlag:a}=r;if(R(r)){Ge(t,e,n,r,s,o,i);return}if(O(r)){r.children!==n.children&&(r.el.nodeValue=r.children);return}if(I(r)){r.children!==n.children&&(r.el.nodeValue=r.children);return}if(a&1){ke(t,e,n,r,i);return}if(a&6){Ye(n,r,i);return}}function K(t,e){return(n,r,s,o,i)=>{D(t,e,n,r,s,o,i)}}function ke(t,e,n,r,s=null){let o=r.el=n.el,i=n.props||{},a=r.props||{},{patchFlag:l,dynamicProps:c}=r;if(l&&l>0){if(l&1&&n.children!==r.children&&(o.textContent=r.children),l&2&&i.class!==a.class&&t.setClass(o,a.class),l&4&&i.style!==a.style&&t.setStyle(o,a.style||{}),l&8&&c)for(let d=0;d<c.length;d++){let u=c[d],y=i[u],N=a[u];N!==y&&z(t,o,u,N,y)}l&16&&q(t,o,i,a)}else q(t,o,i,a);(!l||!(l&1))&&ce(t,e,n,r,o,null,s)}function ce(t,e,n,r,s,o,i){let a=n.shapeFlag,l=r.shapeFlag,c=n.children,d=r.children;if(l&8){a&16&&v(e,c),c!==d&&(s.textContent=d);return}if(l&16){a&16?We(t,e,c,d,s,o,i):(a&8&&(s.textContent=""),$(K(t,e),d,s,o,i));return}d==null&&(a&8?s.textContent="":a&16&&v(e,c))}function We(t,e,n,r,s,o,i){r.every(l=>l.key!==null&&l.key!==void 0)&&n.every(l=>l.key!==null&&l.key!==void 0)?(0,w.patchKeyedChildren)(n,r,s,o,i,null,!1):(0,w.patchUnkeyedChildren)(n,r,s,o,i,null,!1)}function Ge(t,e,n,r,s,o,i){let a=n.children,l=r.children;Array.isArray(l)&&l.length>0?(ce(t,e,n,r,s,o,i),r.el=l[0].el,r.anchor=l[l.length-1].el?t.nextSibling(l[l.length-1].el):o):Array.isArray(a)&&a.length>0&&l===null?(v(e,a),r.el=n.el,r.anchor=n.anchor):(r.el=n.el,r.anchor=n.anchor)}function Ue(t,e,n,r,s,o){let i=n.dynamicChildren,a=r.dynamicChildren;for(let l=0;l<a.length;l++)D(t,e,i[l],a[l],s,null,o)}function Ye(t,e,n){e.component=t.component,e.el=t.el,e.component&&e.component.update&&e.component.update()}function ye(t){function e(s,o){le(t,e,s,o)}(0,de.registerDOMOperations)({insert(s,o,i){t.insert(o,s,i)},createElement(s){return t.createElement(s)},createText(s){return t.createText(s)},setText(s,o){s.nodeValue=o},setElementText(s,o){s.textContent=o},remove(s){t.remove(s)},createComment(s){return t.createComment(s)},mount(s,o,i,a,l,c,d){r(null,s,o,i,a)},patch(s,o,i,a,l,c,d,u){r(s,o,i,a,l)},unmount(s,o,i,a){e(s)},move(s,o,i){t.insert(o,s.el,i)}});function r(s,o,i,a,l){D(t,e,s,o,i,a,l)}return{mount(s,o){o.nodeType===1&&(o.textContent=""),r(null,s,o,null,null)},patch(s,o,i){var a;r(s,o,i||((a=s.el)==null?void 0:a.parentNode),null,null)},unmount(s,o){e(s,o)}}}var J=new Set(["area","base","br","col","embed","hr","img","input","link","meta","param","source","track","wbr"]),Xe={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},ze=/[&<>"']/g,h={ELEMENT:1,FUNCTIONAL_COMPONENT:2,STATEFUL_COMPONENT:4,TEXT_CHILDREN:8,ARRAY_CHILDREN:16,SLOTS_CHILDREN:32},qe=0;function f(t){return t.replace(ze,e=>Xe[e])}function Be(t,e){return t.startsWith("on")||t.startsWith("@")||t==="key"||t==="ref"||t==="__vccOpts"||t.startsWith("__")?"":e===!0?t:e===!1||e===null||e===void 0?"":t==="class"?`class="${f(ue(e))}"`:t==="style"?`style="${f(Ke(e))}"`:t==="dangerouslySetInnerHTML"||t==="innerHTML"?"":`${t}="${f(String(e))}"`}function ue(t){if(!t)return"";if(typeof t=="string")return t;if(Array.isArray(t))return t.map(ue).filter(Boolean).join(" ");if(typeof t=="object"){let e=[];for(let n in t)t[n]&&e.push(n);return e.join(" ")}return String(t)}function Ke(t){if(!t)return"";if(typeof t=="string")return t;if(typeof t=="object"){let e=[];for(let n in t)if(t[n]){let r=n.replace(/([A-Z])/g,"-$1").toLowerCase();e.push(`${r}: ${t[n]}`)}return e.join("; ")}return String(t)}function Z(t){if(!t)return"";let e=[];for(let n in t){let r=t[n],s=Be(n,r);s&&e.push(s)}return e.length>0?" "+e.join(" "):""}var _=class{createElement(e){return{tag:e,props:{},children:[]}}createText(e){return{type:"text",value:e}}createComment(e){return{type:"comment",value:e}}insert(e,n,r){e.children.push(n)}renderToString(e){return m(e)}async*renderToStream(e){yield*P(e)}};function m(t){if(t==null)return"";let{type:e,props:n,children:r}=t;return typeof e=="symbol"&&String(e)==="Symbol(Fragment)"?Array.isArray(r)?r.map(s=>m(s)).join(""):"":typeof e=="symbol"&&String(e).includes("Text")?f(String(r||"")):typeof e=="symbol"&&String(e).includes("Comment")?`<!--${String(r||"")}-->`:typeof e=="string"?Je(e,n,r,t):typeof e=="object"&&e!==null||typeof e=="function"?A(t):""}function Je(t,e,n,r){let s=Z(e);if(J.has(t))return`<${t}${s} />`;if(e&&(e.dangerouslySetInnerHTML||e.innerHTML)){let a=e.dangerouslySetInnerHTML?e.dangerouslySetInnerHTML.__html||e.dangerouslySetInnerHTML:e.innerHTML;return`<${t}${s}>${a}</${t}>`}let o="",i=r.shapeFlag||0;return i&h.TEXT_CHILDREN?o=f(String(n||"")):i&h.ARRAY_CHILDREN&&Array.isArray(n)?o=n.map(a=>m(a)).join(""):i&h.SLOTS_CHILDREN&&typeof n=="object"&&n!==null?o=Q(n):typeof n=="string"?o=f(n):Array.isArray(n)?o=n.map(a=>m(a)).join(""):typeof n=="number"&&(o=f(String(n))),`<${t}${s}>${o}</${t}>`}function Q(t){let e=[];for(let n in t){let r=t[n];if(typeof r=="function"){let s=r();Array.isArray(s)?e.push(s.map(o=>m(o)).join("")):s!=null&&e.push(m(s))}else Array.isArray(r)?e.push(r.map(s=>m(s)).join("")):r!=null&&e.push(m(r))}return e.join("")}function A(t){let e=t.type;if(e&&e.__island)return Ze(t,e);if(typeof e=="function"){let n=e(t.props||{},{slots:t.children||{}});return m(n)}if(typeof e=="object"&&e!==null){if(typeof e.render=="function"){let n=e.render(t.props||{},{slots:t.children||{},emit:()=>{}});return m(n)}if(typeof e.setup=="function"){let n=e.setup(t.props||{},{emit:()=>{},slots:t.children||{}});if(typeof n=="function"){let r=n();return m(r)}if(typeof e.render=="function"){let r=e.render(n||{},{slots:t.children||{},emit:()=>{}});return m(r)}}}return t.component&&t.component.subTree?m(t.component.subTree):"<!---->"}function Ze(t,e){var N;let n=e.name||((N=t.props)==null?void 0:N["data-island-id"])||"anonymous",r=t.props||{},s=r["data-hydrate-when"]||e.__hydrateWhen||"",o=e.__islandTag||"div",i={};for(let T in r)T==="data-hydrate-when"||T==="data-island-id"||(i[T]=r[T]);let a=JSON.stringify(i),l=f(a),c="";if(typeof e.render=="function"){let T=e.render(r,{slots:t.children||{},emit:()=>{}});c=m(T)}else if(typeof e=="function"){let T=e(r,{slots:t.children||{}});c=m(T)}let d=s?` data-hydrate-when="${f(s)}"`:"",u=`<${o} data-hydrate="${f(n)}" data-props="${l}"${d}>${c}</${o}>`,y=`<script type="application/json" data-hydrate-props="${f(n)}">${a}<\/script>`;return u+y}async function*P(t){if(t==null)return;let{type:e,props:n,children:r}=t;if(typeof e=="symbol"&&String(e)==="Symbol(Fragment)"){if(Array.isArray(r))for(let s of r)yield*P(s);return}if(typeof e=="symbol"&&String(e).includes("Text")){yield f(String(r||""));return}if(typeof e=="symbol"&&String(e).includes("Comment")){yield`<!--${String(r||"")}-->`;return}if(typeof e=="string"){yield*Qe(e,n,r,t);return}if(typeof e=="object"||typeof e=="function"){yield A(t);return}}async function*Qe(t,e,n,r){let s=Z(e);if(J.has(t)){yield`<${t}${s} />`;return}if(e&&(e.dangerouslySetInnerHTML||e.innerHTML)){let i=e.dangerouslySetInnerHTML?e.dangerouslySetInnerHTML.__html||e.dangerouslySetInnerHTML:e.innerHTML;yield`<${t}${s}>${i}</${t}>`;return}yield`<${t}${s}>`;let o=r.shapeFlag||0;if(o&h.TEXT_CHILDREN)yield f(String(n||""));else if(o&h.ARRAY_CHILDREN&&Array.isArray(n))for(let i of n)yield*P(i);else if(o&h.SLOTS_CHILDREN&&typeof n=="object"&&n!==null)yield Q(n);else if(typeof n=="string")yield f(n);else if(Array.isArray(n))for(let i of n)yield*P(i);else typeof n=="number"&&(yield f(String(n)));yield`</${t}>`}function fe(t){return m(t)}function me(t,e){let n=(e==null?void 0:e.suspenseIdPrefix)||"suspense",r=S(t,n);return new ReadableStream({async pull(s){let{value:o,done:i}=await r.next();i?s.close():s.enqueue(o)},async cancel(){await r.return(void 0)}})}async function*pe(t,e){let n=(e==null?void 0:e.suspenseIdPrefix)||"suspense";yield*S(t,n)}async function*S(t,e){if(t==null)return;let{type:n,props:r,children:s}=t;if(typeof n=="symbol"&&String(n)==="Symbol(Fragment)"){if(Array.isArray(s))for(let o of s)yield*S(o,e);return}if(typeof n=="symbol"&&String(n).includes("Text")){yield f(String(s||""));return}if(typeof n=="symbol"&&String(n).includes("Comment")){yield`<!--${String(s||"")}-->`;return}if(typeof n=="string"){yield*et(n,r,s,t,e);return}if(typeof n=="object"&&n!==null){let o=n;if(o.name==="Suspense"||o._isSuspense){yield*tt(t,e);return}if(o._isAsyncComponent||o.__asyncSetup){yield*nt(t,e);return}yield A(t);return}if(typeof n=="function"){yield A(t);return}}async function*et(t,e,n,r,s){let o=Z(e);if(J.has(t)){yield`<${t}${o} />`;return}if(e&&(e.dangerouslySetInnerHTML||e.innerHTML)){let a=e.dangerouslySetInnerHTML?e.dangerouslySetInnerHTML.__html||e.dangerouslySetInnerHTML:e.innerHTML;yield`<${t}${o}>${a}</${t}>`;return}yield`<${t}${o}>`;let i=r.shapeFlag||0;if(i&h.TEXT_CHILDREN)yield f(String(n||""));else if(i&h.ARRAY_CHILDREN&&Array.isArray(n))for(let a of n)yield*S(a,s);else if(i&h.SLOTS_CHILDREN&&typeof n=="object"&&n!==null)yield Q(n);else if(typeof n=="string")yield f(n);else if(Array.isArray(n))for(let a of n)yield*S(a,s);else typeof n=="number"&&(yield f(String(n)));yield`</${t}>`}async function*tt(t,e){let n=`${e}-${qe++}`,s=(t.props||{}).fallback,o="";s&&(typeof s=="object"&&s!==null?o=m(s):typeof s=="string"&&(o=s));let i=t.children,a=[];if(typeof i=="object"&&i!==null){if(Array.isArray(i))a=i;else if(typeof i.default=="function"){let d=i.default();Array.isArray(d)?a=d:d!=null&&(a=[d])}}let l=[];function c(d){for(let u of d){if(u==null)continue;let y=u.type;if(y&&(y._isAsyncComponent||y.__asyncSetup||u.__asyncSetup)){let N=u.__asyncPromise||y.__asyncPromise;N&&l.push(N.then(()=>{}))}}}if(c(a),l.length===0){for(let d of a)yield*S(d,e);return}yield`<!--${n}-fallback-->`,yield o,await Promise.all(l),yield`<!--${n}-resolved-->`;for(let d of a)yield*S(d,e);yield`<!--/${n}-->`}async function*nt(t,e){let n=t.type,r=t.__asyncPromise||n.__asyncPromise;if(r)try{await r}catch(s){yield"<!--async-component-error-->";return}yield A(t)}var ge=new _;var F={ELEMENT:1,FUNCTIONAL_COMPONENT:2,STATEFUL_COMPONENT:4,TEXT_CHILDREN:8,ARRAY_CHILDREN:16,SLOTS_CHILDREN:32},g=!1,te=[],p={success:!0,mismatches:0,hydratedNodes:0};function Ne(){return g}function Te(t){g=t}function Se(){return{...p}}function ne(){p={success:!0,mismatches:0,hydratedNodes:0}}function Le(t){g?te.push(t):t()}function Ve(t,e,n={}){ne(),n.onHydrated&&te.push(n.onHydrated),g=!0;try{let r=e.firstElementChild;return r?(t._vnode||t.mount(e),t._vnode&&V(r,t._vnode,n),g=!1,ee(),p):(g=!1,t.mount(e),p.success=!1,ee(),p)}catch(r){return g=!1,p.success=!1,e.innerHTML="",t.mount(e),ee(),p}}function ee(){let t=te.splice(0);for(let e of t)try{e()}catch(n){}}function V(t,e,n){if(dt(e)){it(t,e,n);return}if(yt(e)){st(t,e,n);return}if(ut(e)){ot(t,e,n);return}if(ft(e)){at(t,e,n);return}if(typeof e.type=="string"){rt(t,e,n);return}}function rt(t,e,n){let r=t.tagName.toLowerCase(),s=e.type.toLowerCase();if(r!==s){k(t,e,`\u6807\u7B7E\u4E0D\u5339\u914D: DOM "${r}" vs VNode "${s}"`,n);return}e.el=t,e.props&&re(t,e.props),e.ref&&ct(t,e.ref),lt(t,e,n),p.hydratedNodes++}function st(t,e,n){if(t.nodeType!==3){k(t,e,"\u671F\u671B\u6587\u672C\u8282\u70B9",n);return}e.el=t;let r=t.nodeValue||"",s=String(e.children||"");r!==s&&(t.nodeValue=s,n.strict),p.hydratedNodes++}function ot(t,e,n){if(t.nodeType!==8){k(t,e,"\u671F\u671B\u6CE8\u91CA\u8282\u70B9",n);return}e.el=t;let r=t.nodeValue||"",s=String(e.children||"");r!==s&&(t.nodeValue=s),p.hydratedNodes++}function it(t,e,n){if(!Array.isArray(e.children))return;let r=Array.from(t.childNodes);for(let s=0;s<e.children.length;s++){let o=e.children[s],i=r[s];if(!i){p.mismatches++;break}V(i,o,n)}}function at(t,e,n){if(e.component&&e.component.subTree){V(t,e.component.subTree,n),e.el=e.component.subTree.el;return}let r=e.type;if(typeof r=="function")try{let s=r(e.props||{},{slots:e.children||{}});if(s){V(t,s,n),e.el=s.el;return}}catch(s){}if(typeof r=="object"&&r!==null&&typeof r.render=="function")try{let s=r.render(e.props||{},{slots:e.children||{},emit:()=>{}});if(s){V(t,s,n),e.el=s.el;return}}catch(s){}k(t,e,"\u7EC4\u4EF6\u65E0\u6CD5\u83B7\u53D6 subTree",n)}function lt(t,e,n){if(!e.children)return;let r=e.shapeFlag||0;if(typeof e.children=="string"||r&F.TEXT_CHILDREN){let s=t.textContent||"",o=String(e.children||"");s!==o&&(t.textContent=o,n.strict);return}if(Array.isArray(e.children)){let s=Array.from(t.childNodes),o=0;for(let i=0;i<s.length&&o<e.children.length;i++){let a=e.children[o];if(a==null){o++;continue}V(s[i],a,n),o++}o<e.children.length&&p.mismatches++}r&F.SLOTS_CHILDREN&&typeof e.children=="object"&&e.children}function re(t,e){for(let n in e){let r=e[n];if(n.startsWith("on")&&typeof r=="function"){let s=n.slice(2).toLowerCase();t.addEventListener(s,r)}}}function ct(t,e){typeof e=="function"?e(t):e&&typeof e=="object"&&(e.current=t)}function dt(t){return typeof t.type=="symbol"&&String(t.type)==="Symbol(Fragment)"}function yt(t){return typeof t.type=="symbol"&&String(t.type).includes("Text")}function ut(t){return typeof t.type=="symbol"&&String(t.type).includes("Comment")}function ft(t){return!!((t.shapeFlag||0)&(F.STATEFUL_COMPONENT|F.FUNCTIONAL_COMPONENT)||typeof t.type=="object"&&t.type!==null||typeof t.type=="function")}function k(t,e,n,r){let s=`[lyt] \u6CE8\u6C34\u4E0D\u5339\u914D: ${n}`;if(p.mismatches++,r.strict)throw new Error(s)}var b=new Map,x=new Map,mt={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},pt=/[&<>"']/g;function E(t){return t.replace(pt,e=>mt[e])}function se(t,e,n={}){let r=typeof document!="undefined"?document:null;if(!r)return{success:!1,mismatches:0,hydratedNodes:0};let s=r.querySelector(t);if(!s)return{success:!1,mismatches:0,hydratedNodes:0};let o=s.getAttribute("data-hydrate");if(!o)return{success:!1,mismatches:0,hydratedNodes:0};if(s.hasAttribute("data-hydrated"))return{success:!0,mismatches:0,hydratedNodes:0};let i=gt(o,r);if(i===null)return{success:!1,mismatches:0,hydratedNodes:0};let a=s.getAttribute("data-hydrate-when");return a||n.lazy?ht(s,o,e,i,a||"visible",n):L(s,o,e,i,n)}function gt(t,e){let n=e.querySelector(`script[type="application/json"][data-hydrate-props="${t}"]`);if(!n){let r=e.querySelector(`[data-hydrate="${t}"]`);if(r){let s=r.getAttribute("data-props");if(s)try{return JSON.parse(s)}catch(o){return null}}return{}}try{return JSON.parse(n.textContent||"{}")}catch(r){return null}}function L(t,e,n,r,s){let o={success:!0,mismatches:0,hydratedNodes:0};try{g=!0;let i=null;if(typeof n.render=="function")i=n.render(r,{slots:n.slots||{},emit:()=>{}});else if(typeof n.setup=="function"){let l=n.setup(r,{emit:()=>{},slots:n.slots||{}});typeof l=="function"&&(i=l())}if(!i)return g=!1,o.success=!1,o;if(s.dev!==!1){let l=Tt(t,i,e);o.mismatches=l}V(t,i,s),o.hydratedNodes=p.hydratedNodes,i.props&&re(t,i.props),j(t,i),t.setAttribute("data-hydrated","");let a={id:e,hydrated:!0,instance:n,eventListeners:[],timeoutId:null,observer:null,interactionHandler:null};return b.set(e,a),x.set(e,n),g=!1,s.onHydrated&&s.onHydrated(),o}catch(i){return g=!1,o.success=!1,o}}function j(t,e){if(!(!e.children||typeof e.children=="string")&&Array.isArray(e.children)){let n=Array.from(t.children),r=0;for(let s=0;s<n.length&&r<e.children.length;s++){let o=e.children[r];if(o==null){r++;continue}if(typeof o.type=="string"&&o.props)re(n[s],o.props),j(n[s],o);else if(typeof o.type=="object"||typeof o.type=="function"){let i=o.type;if(typeof i=="function")try{let a=i(o.props||{},{slots:o.children||{}});a&&n[s]&&j(n[s],a)}catch(a){}else if(i&&typeof i.render=="function")try{let a=i.render(o.props||{},{slots:o.children||{},emit:()=>{}});a&&n[s]&&j(n[s],a)}catch(a){}}r++}}}function ht(t,e,n,r,s,o){let i={success:!0,mismatches:0,hydratedNodes:0},a=null;o.timeout&&o.timeout>0&&(a=setTimeout(()=>{Ee(t,e),L(t,e,n,r,o)},o.timeout));let l={id:e,hydrated:!1,instance:n,eventListeners:[],timeoutId:a,observer:null,interactionHandler:null};switch(b.set(e,l),x.set(e,n),s){case"visible":{if(typeof IntersectionObserver!="undefined"){let c=new IntersectionObserver(d=>{for(let u of d)u.isIntersecting&&(c.unobserve(u.target),l.observer=null,a&&clearTimeout(a),l.timeoutId=null,L(t,e,n,r,o))},{rootMargin:"200px"});c.observe(t),l.observer=c}else a&&clearTimeout(a),L(t,e,n,r,o);break}case"idle":{(d=>{typeof requestIdleCallback!="undefined"?requestIdleCallback(d,{timeout:o.timeout||2e3}):setTimeout(d,1)})(()=>{a&&clearTimeout(a),l.timeoutId=null,t.hasAttribute("data-hydrated")||L(t,e,n,r,o)});break}case"interaction":{let c=()=>{a&&clearTimeout(a),l.timeoutId=null,l.interactionHandler=null,document.removeEventListener("click",c),document.removeEventListener("keydown",c),document.removeEventListener("scroll",c),document.removeEventListener("touchstart",c),t.hasAttribute("data-hydrated")||L(t,e,n,r,o)};document.addEventListener("click",c,{once:!1,passive:!0}),document.addEventListener("keydown",c,{once:!1,passive:!0}),document.addEventListener("scroll",c,{once:!1,passive:!0}),document.addEventListener("touchstart",c,{once:!1,passive:!0}),l.interactionHandler=c;break}default:a&&clearTimeout(a),L(t,e,n,r,o)}return i}function Ee(t,e){let n=b.get(e);n&&(n.observer&&(n.observer.disconnect(),n.observer=null),n.timeoutId!==null&&(clearTimeout(n.timeoutId),n.timeoutId=null),n.interactionHandler&&(document.removeEventListener("click",n.interactionHandler),document.removeEventListener("keydown",n.interactionHandler),document.removeEventListener("scroll",n.interactionHandler),document.removeEventListener("touchstart",n.interactionHandler),n.interactionHandler=null))}function be(t={}){let e=typeof document!="undefined"?document:null;if(!e)return{success:!1,mismatches:0,hydratedNodes:0};let n=e.querySelectorAll("[data-hydrate]:not([data-hydrated])"),r={success:!0,mismatches:0,hydratedNodes:0};return n.forEach(s=>{let o=s.getAttribute("data-hydrate");if(!o){r.success=!1;return}let i=x.get(o);if(!i){r.success=!1;return}let a=se(`[data-hydrate="${o}"]`,i,t);r.mismatches+=a.mismatches,r.hydratedNodes+=a.hydratedNodes,a.success||(r.success=!1)}),r}function Ce(t,e){x.set(t,e)}function Re(t){if(!b.get(t))return;let n=typeof document!="undefined"?document.querySelector(`[data-hydrate="${t}"]`):null;n&&(Ee(n,t),n.removeAttribute("data-hydrated")),b.delete(t),x.delete(t)}function Ae(){return b}function He(){b.clear(),x.clear()}function xe(t,e={},n="div",r){let s=t.name||"anonymous",o=JSON.stringify(e),i=E(o),a="";if(typeof t.render=="function"){let u=t.render(e,{slots:t.slots||{},emit:()=>{}});a=H(u)}let l=r?` data-hydrate-when="${r}"`:"",c=`<${n} data-hydrate="${s}" data-props="${i}"${l}>${a}</${n}>`,d=`<script type="application/json" data-hydrate-props="${s}">${o}<\/script>`;return c+d}function H(t){if(t==null)return"";let{type:e,props:n,children:r}=t;if(typeof e=="symbol"&&String(e)==="Symbol(Fragment)")return Array.isArray(r)?r.map(s=>H(s)).join(""):"";if(typeof e=="symbol"&&String(e).includes("Text"))return E(String(r||""));if(typeof e=="symbol"&&String(e).includes("Comment"))return`<!--${String(r||"")}-->`;if(typeof e=="string"){let s=Nt(n);if(new Set(["area","base","br","col","embed","hr","img","input","link","meta","param","source","track","wbr"]).has(e))return`<${e}${s} />`;let i="";return typeof r=="string"?i=E(r):Array.isArray(r)?i=r.map(a=>H(a)).join(""):typeof r=="number"&&(i=E(String(r))),`<${e}${s}>${i}</${e}>`}if(typeof e=="function"){let s=e(n||{},{slots:r||{}});return H(s)}if(typeof e=="object"&&e!==null){let s=e;if(typeof s.render=="function"){let o=s.render(n||{},{slots:r||{},emit:()=>{}});return H(o)}}return""}function Nt(t){if(!t)return"";let e=[];for(let n in t){let r=t[n];if(!(n.startsWith("on")||n.startsWith("@")||n==="key"||n==="ref")&&!(n==="__vccOpts"||n.startsWith("__"))&&!(n==="dangerouslySetInnerHTML"||n==="innerHTML"))if(r===!0)e.push(n);else{if(r===!1||r===null||r===void 0)continue;n==="class"&&typeof r=="string"?e.push(`class="${E(r)}"`):n==="style"&&typeof r=="string"?e.push(`style="${E(r)}"`):e.push(`${n}="${E(String(r))}"`)}}return e.length>0?" "+e.join(" "):""}var oe=[];function Tt(t,e,n){let r=0,s=St(t),o=H(e);if(s!==o){r++;let i={islandId:n,expected:o,actual:s,suggestion:Lt(s,o,n)};oe.push(i)}return r}function St(t){let e=t.cloneNode(!0);return e.removeAttribute("data-hydrate"),e.removeAttribute("data-props"),e.removeAttribute("data-hydrate-when"),e.removeAttribute("data-hydrated"),e.innerHTML}function Lt(t,e,n){if(t.trim()==="")return`\u670D\u52A1\u7AEF\u6E32\u67D3\u4E3A\u7A7A\uFF0C\u8BF7\u68C0\u67E5\u7EC4\u4EF6 "${n}" \u7684\u670D\u52A1\u7AEF\u6E32\u67D3\u903B\u8F91`;if(e.trim()==="")return`\u5BA2\u6237\u7AEF\u6E32\u67D3\u4E3A\u7A7A\uFF0C\u8BF7\u68C0\u67E5\u7EC4\u4EF6 "${n}" \u7684 render \u51FD\u6570`;let r=/\d{10,13}/;return r.test(t)||r.test(e)?"\u68C0\u6D4B\u5230\u65F6\u95F4\u6233\u5DEE\u5F02\uFF0C\u8003\u8651\u4F7F\u7528\u7EDF\u4E00\u7684\u65F6\u95F4\u6E90\u6216\u5EF6\u8FDF\u6CE8\u6C34":he(t)===he(e)?"HTML \u5185\u5BB9\u76F8\u540C\u4F46\u5C5E\u6027\u987A\u5E8F\u4E0D\u540C\uFF0C\u8FD9\u4E0D\u5F71\u54CD\u529F\u80FD\u4F46\u53EF\u80FD\u5BFC\u81F4 mismatch \u8B66\u544A":`\u8BF7\u786E\u4FDD\u7EC4\u4EF6 "${n}" \u5728\u670D\u52A1\u7AEF\u548C\u5BA2\u6237\u7AEF\u6E32\u67D3\u76F8\u540C\u7684\u8F93\u51FA`}function he(t){return t.replace(/\s+/g," ").replace(/>\s+</g,"><").trim()}function _e(){return[...oe]}function Me(){oe.length=0}
package/dist/ssr.mjs CHANGED
@@ -1 +1 @@
1
- import{registerDOMOperations as Le}from"@lytjs/vdom";var x=(i=>(i[i.ELEMENT=1]="ELEMENT",i[i.FUNCTIONAL_COMPONENT=2]="FUNCTIONAL_COMPONENT",i[i.STATEFUL_COMPONENT=4]="STATEFUL_COMPONENT",i[i.TEXT_CHILDREN=8]="TEXT_CHILDREN",i[i.ARRAY_CHILDREN=16]="ARRAY_CHILDREN",i[i.SLOTS_CHILDREN=32]="SLOTS_CHILDREN",i))(x||{}),F=(d=>(d[d.TEXT=1]="TEXT",d[d.CLASS=2]="CLASS",d[d.STYLE=4]="STYLE",d[d.PROPS=8]="PROPS",d[d.FULL_PROPS=16]="FULL_PROPS",d[d.STABLE_FRAGMENT=32]="STABLE_FRAGMENT",d[d.KEYED_FRAGMENT=64]="KEYED_FRAGMENT",d[d.UNKEYED_FRAGMENT=128]="UNKEYED_FRAGMENT",d[d.NEED_PATCH=256]="NEED_PATCH",d[d.DYNAMIC_SLOTS=512]="DYNAMIC_SLOTS",d[d.HOISTED=-1]="HOISTED",d[d.BAIL=-2]="BAIL",d))(F||{}),Q=Symbol("Fragment"),ee=Symbol("Text"),te=Symbol("Comment");function C(t){return t.type===Q}function _(t){return t.type===ee}function M(t){return t.type===te}function ne(t,e){return t.type===e.type&&t.key===e.key}function k(t){return Array.isArray(t.dynamicChildren)}function re(t,e,n,r){if(n==="class")t.setClass(e,r);else if(n==="style")t.setStyle(e,r);else if(n.startsWith("on")||n.startsWith("@")){let s=n.startsWith("@")?n.slice(1).toLowerCase():n.slice(2).toLowerCase();t.addEventListener(e,s,r)}else n==="key"||n==="ref"||t.setAttribute(e,n,r)}function W(t,e,n,r,s){if(n==="class")t.setClass(e,r);else if(n==="style")t.setStyle(e,r||{});else if(n.startsWith("on")||n.startsWith("@")){let o=n.startsWith("@")?n.slice(1).toLowerCase():n.slice(2).toLowerCase();s&&t.removeEventListener(e,o,s),r&&t.addEventListener(e,o,r)}else t.setAttribute(e,n,r)}function G(t,e,n,r){for(let s in r){if(s==="key"||s==="ref")continue;let o=n[s],i=r[s];i!==o&&W(t,e,s,i,o)}for(let s in n)if(!(s==="key"||s==="ref")&&!(s in r))if(s==="class")t.setClass(e,"");else if(s==="style")t.setStyle(e,{});else if(s.startsWith("on")||s.startsWith("@")){let o=s.startsWith("@")?s.slice(1).toLowerCase():s.slice(2).toLowerCase();t.removeEventListener(e,o,n[s])}else t.removeAttribute(e,s)}function U(t,e,n,r,s,o){let{shapeFlag:i}=n;if(C(n)){ue(t,e,n,r,s,o);return}if(_(n)){let a=t.createText(n.children);n.el=a,t.insert(r,a,s);return}if(M(n)){let a=t.createComment(n.children);n.el=a,t.insert(r,a,s);return}if(i&1){ye(t,e,n,r,s,o);return}if(i&6){fe(e,n,r,s,o);return}}function ye(t,e,n,r,s,o){let i=n.type,a=t.createElement(i);if(n.el=a,n.props)for(let y in n.props){let u=n.props[y];re(t,a,y,u)}let{shapeFlag:l,children:c}=n;l&8?a.textContent=c:l&16&&O(e,c,a,null,o),t.insert(r,a,s)}function O(t,e,n,r,s){for(let o=0;o<e.length;o++)t(null,e[o],n,r,s)}function ue(t,e,n,r,s,o){let{children:i}=n,a=t.createComment("");t.insert(r,a,s),Array.isArray(i)&&i.length>0&&O(e,i,r,a,o),n.el=a,n.anchor=a}function fe(t,e,n,r,s){let o=e.component;o&&o.update&&o.update(),o&&o.subTree&&(t(null,o.subTree,n,r,o),e.el=o.subTree.el)}function se(t,e,n,r){let{shapeFlag:s,children:o}=n;if(C(n)){if(Array.isArray(o))for(let i=0;i<o.length;i++)e(o[i],r);n.anchor&&n.anchor.parentNode&&t.remove(n.anchor);return}if(s&6){n.component&&n.component.subTree&&e(n.component.subTree,r);return}n.el&&t.remove(n.el)}function I(t,e){for(let n=0;n<e.length;n++)t(e[n])}import{patchKeyedChildren as me,patchUnkeyedChildren as pe}from"@lytjs/vdom";function $(t,e,n,r,s,o=null,i=null){if(r==null){n&&e(n,s);return}if(n===null){U(t,Y(t,e),r,s,o,i);return}if(k(r)&&k(n)){Te(t,e,n,r,s,i);return}if(!ne(n,r)){e(n,s),U(t,Y(t,e),r,s,o,i);return}r.el=n.el,r.anchor=n.anchor;let{shapeFlag:a}=r;if(C(r)){Ne(t,e,n,r,s,o,i);return}if(_(r)){r.children!==n.children&&(r.el.nodeValue=r.children);return}if(M(r)){r.children!==n.children&&(r.el.nodeValue=r.children);return}if(a&1){ge(t,e,n,r,i);return}if(a&6){Se(n,r,i);return}}function Y(t,e){return(n,r,s,o,i)=>{$(t,e,n,r,s,o,i)}}function ge(t,e,n,r,s=null){let o=r.el=n.el,i=n.props||{},a=r.props||{},{patchFlag:l,dynamicProps:c}=r;if(l&&l>0){if(l&1&&n.children!==r.children&&(o.textContent=r.children),l&2&&i.class!==a.class&&t.setClass(o,a.class),l&4&&i.style!==a.style&&t.setStyle(o,a.style||{}),l&8&&c)for(let y=0;y<c.length;y++){let u=c[y],d=i[u],N=a[u];N!==d&&W(t,o,u,N,d)}l&16&&G(t,o,i,a)}else G(t,o,i,a);(!l||!(l&1))&&oe(t,e,n,r,o,null,s)}function oe(t,e,n,r,s,o,i){let a=n.shapeFlag,l=r.shapeFlag,c=n.children,y=r.children;if(l&8){a&16&&I(e,c),c!==y&&(s.textContent=y);return}if(l&16){a&16?he(t,e,c,y,s,o,i):(a&8&&(s.textContent=""),O(Y(t,e),y,s,o,i));return}y==null&&(a&8?s.textContent="":a&16&&I(e,c))}function he(t,e,n,r,s,o,i){r.every(l=>l.key!==null&&l.key!==void 0)&&n.every(l=>l.key!==null&&l.key!==void 0)?me(n,r,s,o,i,null,!1):pe(n,r,s,o,i,null,!1)}function Ne(t,e,n,r,s,o,i){let a=n.children,l=r.children;Array.isArray(l)&&l.length>0?(oe(t,e,n,r,s,o,i),r.el=l[0].el,r.anchor=l[l.length-1].el?t.nextSibling(l[l.length-1].el):o):Array.isArray(a)&&a.length>0&&l===null?(I(e,a),r.el=n.el,r.anchor=n.anchor):(r.el=n.el,r.anchor=n.anchor)}function Te(t,e,n,r,s,o){let i=n.dynamicChildren,a=r.dynamicChildren;for(let l=0;l<a.length;l++)$(t,e,i[l],a[l],s,null,o)}function Se(t,e,n){e.component=t.component,e.el=t.el,e.component&&e.component.update&&e.component.update()}function Ve(t){function e(s,o){se(t,e,s,o)}Le({insert(s,o,i){t.insert(o,s,i)},createElement(s){return t.createElement(s)},createText(s){return t.createText(s)},setText(s,o){s.nodeValue=o},setElementText(s,o){s.textContent=o},remove(s){t.remove(s)},createComment(s){return t.createComment(s)},mount(s,o,i,a,l,c,y){r(null,s,o,i,a)},patch(s,o,i,a,l,c,y,u){r(s,o,i,a,l)},unmount(s,o,i,a){e(s)},move(s,o,i){t.insert(o,s.el,i)}});function r(s,o,i,a,l){$(t,e,s,o,i,a,l)}return{mount(s,o){o.nodeType===1&&(o.textContent=""),r(null,s,o,null,null)},patch(s,o,i){var a;r(s,o,i||((a=s.el)==null?void 0:a.parentNode),null,null)},unmount(s,o){e(s,o)}}}var X=new Set(["area","base","br","col","embed","hr","img","input","link","meta","param","source","track","wbr"]),Ee={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},be=/[&<>"']/g,T={ELEMENT:1,FUNCTIONAL_COMPONENT:2,STATEFUL_COMPONENT:4,TEXT_CHILDREN:8,ARRAY_CHILDREN:16,SLOTS_CHILDREN:32},Ce=0;function f(t){return t.replace(be,e=>Ee[e])}function Re(t,e){return t.startsWith("on")||t.startsWith("@")||t==="key"||t==="ref"||t==="__vccOpts"||t.startsWith("__")?"":e===!0?t:e===!1||e===null||e===void 0?"":t==="class"?`class="${f(ie(e))}"`:t==="style"?`style="${f(He(e))}"`:t==="dangerouslySetInnerHTML"||t==="innerHTML"?"":`${t}="${f(String(e))}"`}function ie(t){if(!t)return"";if(typeof t=="string")return t;if(Array.isArray(t))return t.map(ie).filter(Boolean).join(" ");if(typeof t=="object"){let e=[];for(let n in t)t[n]&&e.push(n);return e.join(" ")}return String(t)}function He(t){if(!t)return"";if(typeof t=="string")return t;if(typeof t=="object"){let e=[];for(let n in t)if(t[n]){let r=n.replace(/([A-Z])/g,"-$1").toLowerCase();e.push(`${r}: ${t[n]}`)}return e.join("; ")}return String(t)}function z(t){if(!t)return"";let e=[];for(let n in t){let r=t[n],s=Re(n,r);s&&e.push(s)}return e.length>0?" "+e.join(" "):""}var v=class{createElement(e){return{tag:e,props:{},children:[]}}createText(e){return{type:"text",value:e}}createComment(e){return{type:"comment",value:e}}insert(e,n,r){e.children.push(n)}renderToString(e){return m(e)}async*renderToStream(e){yield*w(e)}};function m(t){if(t==null)return"";let{type:e,props:n,children:r}=t;return typeof e=="symbol"&&String(e)==="Symbol(Fragment)"?Array.isArray(r)?r.map(s=>m(s)).join(""):"":typeof e=="symbol"&&String(e).includes("Text")?f(String(r||"")):typeof e=="symbol"&&String(e).includes("Comment")?`<!--${String(r||"")}-->`:typeof e=="string"?Ae(e,n,r,t):typeof e=="object"&&e!==null||typeof e=="function"?R(t):""}function Ae(t,e,n,r){let s=z(e);if(X.has(t))return`<${t}${s} />`;if(e&&(e.dangerouslySetInnerHTML||e.innerHTML)){let a=e.dangerouslySetInnerHTML?e.dangerouslySetInnerHTML.__html||e.dangerouslySetInnerHTML:e.innerHTML;return`<${t}${s}>${a}</${t}>`}let o="",i=r.shapeFlag||0;return i&T.TEXT_CHILDREN?o=f(String(n||"")):i&T.ARRAY_CHILDREN&&Array.isArray(n)?o=n.map(a=>m(a)).join(""):i&T.SLOTS_CHILDREN&&typeof n=="object"&&n!==null?o=q(n):typeof n=="string"?o=f(n):Array.isArray(n)?o=n.map(a=>m(a)).join(""):typeof n=="number"&&(o=f(String(n))),`<${t}${s}>${o}</${t}>`}function q(t){let e=[];for(let n in t){let r=t[n];if(typeof r=="function"){let s=r();Array.isArray(s)?e.push(s.map(o=>m(o)).join("")):s!=null&&e.push(m(s))}else Array.isArray(r)?e.push(r.map(s=>m(s)).join("")):r!=null&&e.push(m(r))}return e.join("")}function R(t){let e=t.type;if(e&&e.__island)return xe(t,e);if(typeof e=="function"){let n=e(t.props||{},{slots:t.children||{}});return m(n)}if(typeof e=="object"&&e!==null){if(typeof e.render=="function"){let n=e.render(t.props||{},{slots:t.children||{},emit:()=>{}});return m(n)}if(typeof e.setup=="function"){let n=e.setup(t.props||{},{emit:()=>{},slots:t.children||{}});if(typeof n=="function"){let r=n();return m(r)}if(typeof e.render=="function"){let r=e.render(n||{},{slots:t.children||{},emit:()=>{}});return m(r)}}}return t.component&&t.component.subTree?m(t.component.subTree):"<!---->"}function xe(t,e){var N;let n=e.name||((N=t.props)==null?void 0:N["data-island-id"])||"anonymous",r=t.props||{},s=r["data-hydrate-when"]||e.__hydrateWhen||"",o=e.__islandTag||"div",i={};for(let g in r)g==="data-hydrate-when"||g==="data-island-id"||(i[g]=r[g]);let a=JSON.stringify(i),l=f(a),c="";if(typeof e.render=="function"){let g=e.render(r,{slots:t.children||{},emit:()=>{}});c=m(g)}else if(typeof e=="function"){let g=e(r,{slots:t.children||{}});c=m(g)}let y=s?` data-hydrate-when="${f(s)}"`:"",u=`<${o} data-hydrate="${f(n)}" data-props="${l}"${y}>${c}</${o}>`,d=`<script type="application/json" data-hydrate-props="${f(n)}">${a}<\/script>`;return u+d}async function*w(t){if(t==null)return;let{type:e,props:n,children:r}=t;if(typeof e=="symbol"&&String(e)==="Symbol(Fragment)"){if(Array.isArray(r))for(let s of r)yield*w(s);return}if(typeof e=="symbol"&&String(e).includes("Text")){yield f(String(r||""));return}if(typeof e=="symbol"&&String(e).includes("Comment")){yield`<!--${String(r||"")}-->`;return}if(typeof e=="string"){yield*_e(e,n,r,t);return}if(typeof e=="object"||typeof e=="function"){yield R(t);return}}async function*_e(t,e,n,r){let s=z(e);if(X.has(t)){yield`<${t}${s} />`;return}if(e&&(e.dangerouslySetInnerHTML||e.innerHTML)){let i=e.dangerouslySetInnerHTML?e.dangerouslySetInnerHTML.__html||e.dangerouslySetInnerHTML:e.innerHTML;yield`<${t}${s}>${i}</${t}>`;return}yield`<${t}${s}>`;let o=r.shapeFlag||0;if(o&T.TEXT_CHILDREN)yield f(String(n||""));else if(o&T.ARRAY_CHILDREN&&Array.isArray(n))for(let i of n)yield*w(i);else if(o&T.SLOTS_CHILDREN&&typeof n=="object"&&n!==null)yield q(n);else if(typeof n=="string")yield f(n);else if(Array.isArray(n))for(let i of n)yield*w(i);else typeof n=="number"&&(yield f(String(n)));yield`</${t}>`}function Me(t){return m(t)}function Oe(t,e){let n=(e==null?void 0:e.suspenseIdPrefix)||"suspense",r=S(t,n);return new ReadableStream({async pull(s){let{value:o,done:i}=await r.next();i?s.close():s.enqueue(o)},async cancel(){await r.return(void 0)}})}async function*Ie(t,e){let n=(e==null?void 0:e.suspenseIdPrefix)||"suspense";yield*S(t,n)}async function*S(t,e){if(t==null)return;let{type:n,props:r,children:s}=t;if(typeof n=="symbol"&&String(n)==="Symbol(Fragment)"){if(Array.isArray(s))for(let o of s)yield*S(o,e);return}if(typeof n=="symbol"&&String(n).includes("Text")){yield f(String(s||""));return}if(typeof n=="symbol"&&String(n).includes("Comment")){yield`<!--${String(s||"")}-->`;return}if(typeof n=="string"){yield*$e(n,r,s,t,e);return}if(typeof n=="object"&&n!==null){let o=n;if(o.name==="Suspense"||o._isSuspense){yield*ve(t,e);return}if(o._isAsyncComponent||o.__asyncSetup){yield*we(t,e);return}yield R(t);return}if(typeof n=="function"){yield R(t);return}}async function*$e(t,e,n,r,s){let o=z(e);if(X.has(t)){yield`<${t}${o} />`;return}if(e&&(e.dangerouslySetInnerHTML||e.innerHTML)){let a=e.dangerouslySetInnerHTML?e.dangerouslySetInnerHTML.__html||e.dangerouslySetInnerHTML:e.innerHTML;yield`<${t}${o}>${a}</${t}>`;return}yield`<${t}${o}>`;let i=r.shapeFlag||0;if(i&T.TEXT_CHILDREN)yield f(String(n||""));else if(i&T.ARRAY_CHILDREN&&Array.isArray(n))for(let a of n)yield*S(a,s);else if(i&T.SLOTS_CHILDREN&&typeof n=="object"&&n!==null)yield q(n);else if(typeof n=="string")yield f(n);else if(Array.isArray(n))for(let a of n)yield*S(a,s);else typeof n=="number"&&(yield f(String(n)));yield`</${t}>`}async function*ve(t,e){let n=`${e}-${Ce++}`,r=t.type,o=(t.props||{}).fallback,i="";o&&(typeof o=="object"&&o!==null?i=m(o):typeof o=="string"&&(i=o));let a=t.children,l=[];if(typeof a=="object"&&a!==null){if(Array.isArray(a))l=a;else if(typeof a.default=="function"){let u=a.default();Array.isArray(u)?l=u:u!=null&&(l=[u])}}let c=[];function y(u){for(let d of u){if(d==null)continue;let N=d.type;if(N&&(N._isAsyncComponent||N.__asyncSetup||d.__asyncSetup)){let g=d.__asyncPromise||N.__asyncPromise;g&&c.push(g.then(()=>{}))}}}if(y(l),c.length===0){for(let u of l)yield*S(u,e);return}yield`<!--${n}-fallback-->`,yield i,await Promise.all(c),yield`<!--${n}-resolved-->`;for(let u of l)yield*S(u,e);yield`<!--/${n}-->`}async function*we(t,e){let n=t.type,r=t.__asyncPromise||n.__asyncPromise;if(r)try{await r}catch(s){yield"<!--async-component-error-->";return}yield R(t)}var De=new v;var P={ELEMENT:1,FUNCTIONAL_COMPONENT:2,STATEFUL_COMPONENT:4,TEXT_CHILDREN:8,ARRAY_CHILDREN:16,SLOTS_CHILDREN:32},h=!1,K=[],p={success:!0,mismatches:0,hydratedNodes:0};function Pe(){return h}function je(t){h=t}function Fe(){return{...p}}function le(){p={success:!0,mismatches:0,hydratedNodes:0}}function ke(t){h?K.push(t):t()}function We(t,e,n={}){le(),n.onHydrated&&K.push(n.onHydrated),h=!0;try{let r=e.firstElementChild;return r?(t._vnode||t.mount(e),t._vnode&&V(r,t._vnode,n),h=!1,B(),p):(h=!1,t.mount(e),p.success=!1,B(),p)}catch(r){return h=!1,p.success=!1,e.innerHTML="",t.mount(e),B(),p}}function B(){let t=K.splice(0);for(let e of t)try{e()}catch(n){}}function V(t,e,n){if(Ke(e)){Xe(t,e,n);return}if(Je(e)){Ue(t,e,n);return}if(Ze(e)){Ye(t,e,n);return}if(Qe(e)){ze(t,e,n);return}if(typeof e.type=="string"){Ge(t,e,n);return}}function Ge(t,e,n){let r=t.tagName.toLowerCase(),s=e.type.toLowerCase();if(r!==s){j(t,e,`\u6807\u7B7E\u4E0D\u5339\u914D: DOM "${r}" vs VNode "${s}"`,n);return}e.el=t,e.props&&J(t,e.props),e.ref&&Be(t,e.ref),qe(t,e,n),p.hydratedNodes++}function Ue(t,e,n){if(t.nodeType!==3){j(t,e,"\u671F\u671B\u6587\u672C\u8282\u70B9",n);return}e.el=t;let r=t.nodeValue||"",s=String(e.children||"");r!==s&&(t.nodeValue=s,n.strict),p.hydratedNodes++}function Ye(t,e,n){if(t.nodeType!==8){j(t,e,"\u671F\u671B\u6CE8\u91CA\u8282\u70B9",n);return}e.el=t;let r=t.nodeValue||"",s=String(e.children||"");r!==s&&(t.nodeValue=s),p.hydratedNodes++}function Xe(t,e,n){if(!Array.isArray(e.children))return;let r=Array.from(t.childNodes);for(let s=0;s<e.children.length;s++){let o=e.children[s],i=r[s];if(!i){p.mismatches++;break}V(i,o,n)}}function ze(t,e,n){if(e.component&&e.component.subTree){V(t,e.component.subTree,n),e.el=e.component.subTree.el;return}let r=e.type;if(typeof r=="function")try{let s=r(e.props||{},{slots:e.children||{}});if(s){V(t,s,n),e.el=s.el;return}}catch(s){}if(typeof r=="object"&&r!==null&&typeof r.render=="function")try{let s=r.render(e.props||{},{slots:e.children||{},emit:()=>{}});if(s){V(t,s,n),e.el=s.el;return}}catch(s){}j(t,e,"\u7EC4\u4EF6\u65E0\u6CD5\u83B7\u53D6 subTree",n)}function qe(t,e,n){if(!e.children)return;let r=e.shapeFlag||0;if(typeof e.children=="string"||r&P.TEXT_CHILDREN){let s=t.textContent||"",o=String(e.children||"");s!==o&&(t.textContent=o,n.strict);return}if(Array.isArray(e.children)){let s=Array.from(t.childNodes),o=0;for(let i=0;i<s.length&&o<e.children.length;i++){let a=e.children[o];if(a==null){o++;continue}V(s[i],a,n),o++}o<e.children.length&&p.mismatches++}r&P.SLOTS_CHILDREN&&typeof e.children=="object"&&e.children}function J(t,e){for(let n in e){let r=e[n];if(n.startsWith("on")&&typeof r=="function"){let s=n.slice(2).toLowerCase();t.addEventListener(s,r)}}}function Be(t,e){typeof e=="function"?e(t):e&&typeof e=="object"&&(e.current=t)}function Ke(t){return typeof t.type=="symbol"&&String(t.type)==="Symbol(Fragment)"}function Je(t){return typeof t.type=="symbol"&&String(t.type).includes("Text")}function Ze(t){return typeof t.type=="symbol"&&String(t.type).includes("Comment")}function Qe(t){return!!((t.shapeFlag||0)&(P.STATEFUL_COMPONENT|P.FUNCTIONAL_COMPONENT)||typeof t.type=="object"&&t.type!==null||typeof t.type=="function")}function j(t,e,n,r){let s=`[lyt] \u6CE8\u6C34\u4E0D\u5339\u914D: ${n}`;if(p.mismatches++,r.strict)throw new Error(s)}var b=new Map,A=new Map,et={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},tt=/[&<>"']/g;function E(t){return t.replace(tt,e=>et[e])}function ce(t,e,n={}){let r=typeof document!="undefined"?document:null;if(!r)return{success:!1,mismatches:0,hydratedNodes:0};let s=r.querySelector(t);if(!s)return{success:!1,mismatches:0,hydratedNodes:0};let o=s.getAttribute("data-hydrate");if(!o)return{success:!1,mismatches:0,hydratedNodes:0};if(s.hasAttribute("data-hydrated"))return{success:!0,mismatches:0,hydratedNodes:0};let i=nt(o,r);if(i===null)return{success:!1,mismatches:0,hydratedNodes:0};let a=s.getAttribute("data-hydrate-when");return a||n.lazy?rt(s,o,e,i,a||"visible",n):L(s,o,e,i,n)}function nt(t,e){let n=e.querySelector(`script[type="application/json"][data-hydrate-props="${t}"]`);if(!n){let r=e.querySelector(`[data-hydrate="${t}"]`);if(r){let s=r.getAttribute("data-props");if(s)try{return JSON.parse(s)}catch(o){return null}}return{}}try{return JSON.parse(n.textContent||"{}")}catch(r){return null}}function L(t,e,n,r,s){let o={success:!0,mismatches:0,hydratedNodes:0};try{h=!0;let i=null;if(typeof n.render=="function")i=n.render(r,{slots:n.slots||{},emit:()=>{}});else if(typeof n.setup=="function"){let l=n.setup(r,{emit:()=>{},slots:n.slots||{}});typeof l=="function"&&(i=l())}if(!i)return h=!1,o.success=!1,o;if(s.dev!==!1){let l=yt(t,i,e);o.mismatches=l}V(t,i,s),o.hydratedNodes=p.hydratedNodes,i.props&&J(t,i.props),D(t,i),t.setAttribute("data-hydrated","");let a={id:e,hydrated:!0,instance:n,eventListeners:[],timeoutId:null,observer:null,interactionHandler:null};return b.set(e,a),A.set(e,n),h=!1,s.onHydrated&&s.onHydrated(),o}catch(i){return h=!1,o.success=!1,o}}function D(t,e){if(!(!e.children||typeof e.children=="string")&&Array.isArray(e.children)){let n=Array.from(t.children),r=0;for(let s=0;s<n.length&&r<e.children.length;s++){let o=e.children[r];if(o==null){r++;continue}if(typeof o.type=="string"&&o.props)J(n[s],o.props),D(n[s],o);else if(typeof o.type=="object"||typeof o.type=="function"){let i=o.type;if(typeof i=="function")try{let a=i(o.props||{},{slots:o.children||{}});a&&n[s]&&D(n[s],a)}catch(a){}else if(i&&typeof i.render=="function")try{let a=i.render(o.props||{},{slots:o.children||{},emit:()=>{}});a&&n[s]&&D(n[s],a)}catch(a){}}r++}}}function rt(t,e,n,r,s,o){let i={success:!0,mismatches:0,hydratedNodes:0},a=null;o.timeout&&o.timeout>0&&(a=setTimeout(()=>{de(t,e),L(t,e,n,r,o)},o.timeout));let l={id:e,hydrated:!1,instance:n,eventListeners:[],timeoutId:a,observer:null,interactionHandler:null};switch(b.set(e,l),A.set(e,n),s){case"visible":{if(typeof IntersectionObserver!="undefined"){let c=new IntersectionObserver(y=>{for(let u of y)u.isIntersecting&&(c.unobserve(u.target),l.observer=null,a&&clearTimeout(a),l.timeoutId=null,L(t,e,n,r,o))},{rootMargin:"200px"});c.observe(t),l.observer=c}else a&&clearTimeout(a),L(t,e,n,r,o);break}case"idle":{(y=>{typeof requestIdleCallback!="undefined"?requestIdleCallback(y,{timeout:o.timeout||2e3}):setTimeout(y,1)})(()=>{a&&clearTimeout(a),l.timeoutId=null,t.hasAttribute("data-hydrated")||L(t,e,n,r,o)});break}case"interaction":{let c=()=>{a&&clearTimeout(a),l.timeoutId=null,l.interactionHandler=null,document.removeEventListener("click",c),document.removeEventListener("keydown",c),document.removeEventListener("scroll",c),document.removeEventListener("touchstart",c),t.hasAttribute("data-hydrated")||L(t,e,n,r,o)};document.addEventListener("click",c,{once:!1,passive:!0}),document.addEventListener("keydown",c,{once:!1,passive:!0}),document.addEventListener("scroll",c,{once:!1,passive:!0}),document.addEventListener("touchstart",c,{once:!1,passive:!0}),l.interactionHandler=c;break}default:a&&clearTimeout(a),L(t,e,n,r,o)}return i}function de(t,e){let n=b.get(e);n&&(n.observer&&(n.observer.disconnect(),n.observer=null),n.timeoutId!==null&&(clearTimeout(n.timeoutId),n.timeoutId=null),n.interactionHandler&&(document.removeEventListener("click",n.interactionHandler),document.removeEventListener("keydown",n.interactionHandler),document.removeEventListener("scroll",n.interactionHandler),document.removeEventListener("touchstart",n.interactionHandler),n.interactionHandler=null))}function st(t={}){let e=typeof document!="undefined"?document:null;if(!e)return{success:!1,mismatches:0,hydratedNodes:0};let n=e.querySelectorAll("[data-hydrate]:not([data-hydrated])"),r={success:!0,mismatches:0,hydratedNodes:0};return n.forEach(s=>{let o=s.getAttribute("data-hydrate"),i=A.get(o);if(!i){r.success=!1;return}let a=ce(`[data-hydrate="${o}"]`,i,t);r.mismatches+=a.mismatches,r.hydratedNodes+=a.hydratedNodes,a.success||(r.success=!1)}),r}function ot(t,e){A.set(t,e)}function it(t){if(!b.get(t))return;let n=typeof document!="undefined"?document.querySelector(`[data-hydrate="${t}"]`):null;n&&(de(n,t),n.removeAttribute("data-hydrated")),b.delete(t),A.delete(t)}function at(){return b}function lt(){b.clear(),A.clear()}function ct(t,e={},n="div",r){let s=t.name||"anonymous",o=JSON.stringify(e),i=E(o),a="";if(typeof t.render=="function"){let u=t.render(e,{slots:t.slots||{},emit:()=>{}});a=H(u)}let l=r?` data-hydrate-when="${r}"`:"",c=`<${n} data-hydrate="${s}" data-props="${i}"${l}>${a}</${n}>`,y=`<script type="application/json" data-hydrate-props="${s}">${o}<\/script>`;return c+y}function H(t){if(t==null)return"";let{type:e,props:n,children:r}=t;if(typeof e=="symbol"&&String(e)==="Symbol(Fragment)")return Array.isArray(r)?r.map(s=>H(s)).join(""):"";if(typeof e=="symbol"&&String(e).includes("Text"))return E(String(r||""));if(typeof e=="symbol"&&String(e).includes("Comment"))return`<!--${String(r||"")}-->`;if(typeof e=="string"){let s=dt(n);if(new Set(["area","base","br","col","embed","hr","img","input","link","meta","param","source","track","wbr"]).has(e))return`<${e}${s} />`;let i="";return typeof r=="string"?i=E(r):Array.isArray(r)?i=r.map(a=>H(a)).join(""):typeof r=="number"&&(i=E(String(r))),`<${e}${s}>${i}</${e}>`}if(typeof e=="function"){let s=e(n||{},{slots:r||{}});return H(s)}if(typeof e=="object"&&e!==null){let s=e;if(typeof s.render=="function"){let o=s.render(n||{},{slots:r||{},emit:()=>{}});return H(o)}}return""}function dt(t){if(!t)return"";let e=[];for(let n in t){let r=t[n];if(!(n.startsWith("on")||n.startsWith("@")||n==="key"||n==="ref")&&!(n==="__vccOpts"||n.startsWith("__"))&&!(n==="dangerouslySetInnerHTML"||n==="innerHTML"))if(r===!0)e.push(n);else{if(r===!1||r===null||r===void 0)continue;n==="class"&&typeof r=="string"?e.push(`class="${E(r)}"`):n==="style"&&typeof r=="string"?e.push(`style="${E(r)}"`):e.push(`${n}="${E(String(r))}"`)}}return e.length>0?" "+e.join(" "):""}var Z=[];function yt(t,e,n){let r=0,s=ut(t),o=H(e);if(s!==o){r++;let i={islandId:n,expected:o,actual:s,suggestion:ft(s,o,n)};Z.push(i)}return r}function ut(t){let e=t.cloneNode(!0);return e.removeAttribute("data-hydrate"),e.removeAttribute("data-props"),e.removeAttribute("data-hydrate-when"),e.removeAttribute("data-hydrated"),e.innerHTML}function ft(t,e,n){if(t.trim()==="")return`\u670D\u52A1\u7AEF\u6E32\u67D3\u4E3A\u7A7A\uFF0C\u8BF7\u68C0\u67E5\u7EC4\u4EF6 "${n}" \u7684\u670D\u52A1\u7AEF\u6E32\u67D3\u903B\u8F91`;if(e.trim()==="")return`\u5BA2\u6237\u7AEF\u6E32\u67D3\u4E3A\u7A7A\uFF0C\u8BF7\u68C0\u67E5\u7EC4\u4EF6 "${n}" \u7684 render \u51FD\u6570`;let r=/\d{10,13}/;return r.test(t)||r.test(e)?"\u68C0\u6D4B\u5230\u65F6\u95F4\u6233\u5DEE\u5F02\uFF0C\u8003\u8651\u4F7F\u7528\u7EDF\u4E00\u7684\u65F6\u95F4\u6E90\u6216\u5EF6\u8FDF\u6CE8\u6C34":ae(t)===ae(e)?"HTML \u5185\u5BB9\u76F8\u540C\u4F46\u5C5E\u6027\u987A\u5E8F\u4E0D\u540C\uFF0C\u8FD9\u4E0D\u5F71\u54CD\u529F\u80FD\u4F46\u53EF\u80FD\u5BFC\u81F4 mismatch \u8B66\u544A":`\u8BF7\u786E\u4FDD\u7EC4\u4EF6 "${n}" \u5728\u670D\u52A1\u7AEF\u548C\u5BA2\u6237\u7AEF\u6E32\u67D3\u76F8\u540C\u7684\u8F93\u51FA`}function ae(t){return t.replace(/\s+/g," ").replace(/>\s+</g,"><").trim()}function mt(){return[...Z]}function pt(){Z.length=0}export{te as Comment,Q as Fragment,F as PatchFlags,x as ShapeFlags,v as StringRenderer,ee as Text,lt as clearIslandRegistry,pt as clearMismatchWarnings,ct as createHydrationIsland,Ve as createRenderer,Fe as getHydrateStats,at as getIslandRegistry,mt as getMismatchWarnings,We as hydrate,st as hydrateAllIslands,ce as hydrateIsland,Pe as isHydrating,ke as onHydrated,ot as registerIslandComponent,Oe as renderToStream,Ie as renderToStreamGenerator,Me as renderToString,le as resetHydrateStats,je as setHydrating,De as ssrRenderer,it as unmountIsland};
1
+ import{registerDOMOperations as Le}from"@lytjs/vdom";var x=(i=>(i[i.ELEMENT=1]="ELEMENT",i[i.FUNCTIONAL_COMPONENT=2]="FUNCTIONAL_COMPONENT",i[i.STATEFUL_COMPONENT=4]="STATEFUL_COMPONENT",i[i.TEXT_CHILDREN=8]="TEXT_CHILDREN",i[i.ARRAY_CHILDREN=16]="ARRAY_CHILDREN",i[i.SLOTS_CHILDREN=32]="SLOTS_CHILDREN",i))(x||{}),F=(y=>(y[y.TEXT=1]="TEXT",y[y.CLASS=2]="CLASS",y[y.STYLE=4]="STYLE",y[y.PROPS=8]="PROPS",y[y.FULL_PROPS=16]="FULL_PROPS",y[y.STABLE_FRAGMENT=32]="STABLE_FRAGMENT",y[y.KEYED_FRAGMENT=64]="KEYED_FRAGMENT",y[y.UNKEYED_FRAGMENT=128]="UNKEYED_FRAGMENT",y[y.NEED_PATCH=256]="NEED_PATCH",y[y.DYNAMIC_SLOTS=512]="DYNAMIC_SLOTS",y[y.HOISTED=-1]="HOISTED",y[y.BAIL=-2]="BAIL",y))(F||{}),Q=Symbol("Fragment"),ee=Symbol("Text"),te=Symbol("Comment");function C(t){return t.type===Q}function _(t){return t.type===ee}function M(t){return t.type===te}function ne(t,e){return t.type===e.type&&t.key===e.key}function k(t){return Array.isArray(t.dynamicChildren)}function re(t,e,n,r){if(n==="class")t.setClass(e,r);else if(n==="style")t.setStyle(e,r);else if(n.startsWith("on")||n.startsWith("@")){let s=n.startsWith("@")?n.slice(1).toLowerCase():n.slice(2).toLowerCase();t.addEventListener(e,s,r)}else n==="key"||n==="ref"||t.setAttribute(e,n,r)}function W(t,e,n,r,s){if(n==="class")t.setClass(e,r);else if(n==="style")t.setStyle(e,r||{});else if(n.startsWith("on")||n.startsWith("@")){let o=n.startsWith("@")?n.slice(1).toLowerCase():n.slice(2).toLowerCase();s&&t.removeEventListener(e,o,s),r&&t.addEventListener(e,o,r)}else t.setAttribute(e,n,r)}function G(t,e,n,r){for(let s in r){if(s==="key"||s==="ref")continue;let o=n[s],i=r[s];i!==o&&W(t,e,s,i,o)}for(let s in n)if(!(s==="key"||s==="ref")&&!(s in r))if(s==="class")t.setClass(e,"");else if(s==="style")t.setStyle(e,{});else if(s.startsWith("on")||s.startsWith("@")){let o=s.startsWith("@")?s.slice(1).toLowerCase():s.slice(2).toLowerCase();t.removeEventListener(e,o,n[s])}else t.removeAttribute(e,s)}function U(t,e,n,r,s,o){let{shapeFlag:i}=n;if(C(n)){ue(t,e,n,r,s,o);return}if(_(n)){let a=t.createText(n.children);n.el=a,t.insert(r,a,s);return}if(M(n)){let a=t.createComment(n.children);n.el=a,t.insert(r,a,s);return}if(i&1){ye(t,e,n,r,s,o);return}if(i&6){fe(e,n,r,s,o);return}}function ye(t,e,n,r,s,o){let i=n.type,a=t.createElement(i);if(n.el=a,n.props)for(let d in n.props){let u=n.props[d];re(t,a,d,u)}let{shapeFlag:l,children:c}=n;l&8?a.textContent=c:l&16&&O(e,c,a,null,o),t.insert(r,a,s)}function O(t,e,n,r,s){for(let o=0;o<e.length;o++)t(null,e[o],n,r,s)}function ue(t,e,n,r,s,o){let{children:i}=n,a=t.createComment("");t.insert(r,a,s),Array.isArray(i)&&i.length>0&&O(e,i,r,a,o),n.el=a,n.anchor=a}function fe(t,e,n,r,s){let o=e.component;o&&o.update&&o.update(),o&&o.subTree&&(t(null,o.subTree,n,r,o),e.el=o.subTree.el)}function se(t,e,n,r){let{shapeFlag:s,children:o}=n;if(C(n)){if(Array.isArray(o))for(let i=0;i<o.length;i++)e(o[i],r);n.anchor&&n.anchor.parentNode&&t.remove(n.anchor);return}if(s&6){n.component&&n.component.subTree&&e(n.component.subTree,r);return}n.el&&t.remove(n.el)}function I(t,e){for(let n=0;n<e.length;n++)t(e[n])}import{patchKeyedChildren as me,patchUnkeyedChildren as pe}from"@lytjs/vdom";function $(t,e,n,r,s,o=null,i=null){if(r==null){n&&e(n,s);return}if(n===null){U(t,Y(t,e),r,s,o,i);return}if(k(r)&&k(n)){Te(t,e,n,r,s,i);return}if(!ne(n,r)){e(n,s),U(t,Y(t,e),r,s,o,i);return}r.el=n.el,r.anchor=n.anchor;let{shapeFlag:a}=r;if(C(r)){Ne(t,e,n,r,s,o,i);return}if(_(r)){r.children!==n.children&&(r.el.nodeValue=r.children);return}if(M(r)){r.children!==n.children&&(r.el.nodeValue=r.children);return}if(a&1){ge(t,e,n,r,i);return}if(a&6){Se(n,r,i);return}}function Y(t,e){return(n,r,s,o,i)=>{$(t,e,n,r,s,o,i)}}function ge(t,e,n,r,s=null){let o=r.el=n.el,i=n.props||{},a=r.props||{},{patchFlag:l,dynamicProps:c}=r;if(l&&l>0){if(l&1&&n.children!==r.children&&(o.textContent=r.children),l&2&&i.class!==a.class&&t.setClass(o,a.class),l&4&&i.style!==a.style&&t.setStyle(o,a.style||{}),l&8&&c)for(let d=0;d<c.length;d++){let u=c[d],y=i[u],N=a[u];N!==y&&W(t,o,u,N,y)}l&16&&G(t,o,i,a)}else G(t,o,i,a);(!l||!(l&1))&&oe(t,e,n,r,o,null,s)}function oe(t,e,n,r,s,o,i){let a=n.shapeFlag,l=r.shapeFlag,c=n.children,d=r.children;if(l&8){a&16&&I(e,c),c!==d&&(s.textContent=d);return}if(l&16){a&16?he(t,e,c,d,s,o,i):(a&8&&(s.textContent=""),O(Y(t,e),d,s,o,i));return}d==null&&(a&8?s.textContent="":a&16&&I(e,c))}function he(t,e,n,r,s,o,i){r.every(l=>l.key!==null&&l.key!==void 0)&&n.every(l=>l.key!==null&&l.key!==void 0)?me(n,r,s,o,i,null,!1):pe(n,r,s,o,i,null,!1)}function Ne(t,e,n,r,s,o,i){let a=n.children,l=r.children;Array.isArray(l)&&l.length>0?(oe(t,e,n,r,s,o,i),r.el=l[0].el,r.anchor=l[l.length-1].el?t.nextSibling(l[l.length-1].el):o):Array.isArray(a)&&a.length>0&&l===null?(I(e,a),r.el=n.el,r.anchor=n.anchor):(r.el=n.el,r.anchor=n.anchor)}function Te(t,e,n,r,s,o){let i=n.dynamicChildren,a=r.dynamicChildren;for(let l=0;l<a.length;l++)$(t,e,i[l],a[l],s,null,o)}function Se(t,e,n){e.component=t.component,e.el=t.el,e.component&&e.component.update&&e.component.update()}function Ve(t){function e(s,o){se(t,e,s,o)}Le({insert(s,o,i){t.insert(o,s,i)},createElement(s){return t.createElement(s)},createText(s){return t.createText(s)},setText(s,o){s.nodeValue=o},setElementText(s,o){s.textContent=o},remove(s){t.remove(s)},createComment(s){return t.createComment(s)},mount(s,o,i,a,l,c,d){r(null,s,o,i,a)},patch(s,o,i,a,l,c,d,u){r(s,o,i,a,l)},unmount(s,o,i,a){e(s)},move(s,o,i){t.insert(o,s.el,i)}});function r(s,o,i,a,l){$(t,e,s,o,i,a,l)}return{mount(s,o){o.nodeType===1&&(o.textContent=""),r(null,s,o,null,null)},patch(s,o,i){var a;r(s,o,i||((a=s.el)==null?void 0:a.parentNode),null,null)},unmount(s,o){e(s,o)}}}var X=new Set(["area","base","br","col","embed","hr","img","input","link","meta","param","source","track","wbr"]),Ee={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},be=/[&<>"']/g,h={ELEMENT:1,FUNCTIONAL_COMPONENT:2,STATEFUL_COMPONENT:4,TEXT_CHILDREN:8,ARRAY_CHILDREN:16,SLOTS_CHILDREN:32},Ce=0;function f(t){return t.replace(be,e=>Ee[e])}function Re(t,e){return t.startsWith("on")||t.startsWith("@")||t==="key"||t==="ref"||t==="__vccOpts"||t.startsWith("__")?"":e===!0?t:e===!1||e===null||e===void 0?"":t==="class"?`class="${f(ie(e))}"`:t==="style"?`style="${f(Ae(e))}"`:t==="dangerouslySetInnerHTML"||t==="innerHTML"?"":`${t}="${f(String(e))}"`}function ie(t){if(!t)return"";if(typeof t=="string")return t;if(Array.isArray(t))return t.map(ie).filter(Boolean).join(" ");if(typeof t=="object"){let e=[];for(let n in t)t[n]&&e.push(n);return e.join(" ")}return String(t)}function Ae(t){if(!t)return"";if(typeof t=="string")return t;if(typeof t=="object"){let e=[];for(let n in t)if(t[n]){let r=n.replace(/([A-Z])/g,"-$1").toLowerCase();e.push(`${r}: ${t[n]}`)}return e.join("; ")}return String(t)}function z(t){if(!t)return"";let e=[];for(let n in t){let r=t[n],s=Re(n,r);s&&e.push(s)}return e.length>0?" "+e.join(" "):""}var v=class{createElement(e){return{tag:e,props:{},children:[]}}createText(e){return{type:"text",value:e}}createComment(e){return{type:"comment",value:e}}insert(e,n,r){e.children.push(n)}renderToString(e){return m(e)}async*renderToStream(e){yield*w(e)}};function m(t){if(t==null)return"";let{type:e,props:n,children:r}=t;return typeof e=="symbol"&&String(e)==="Symbol(Fragment)"?Array.isArray(r)?r.map(s=>m(s)).join(""):"":typeof e=="symbol"&&String(e).includes("Text")?f(String(r||"")):typeof e=="symbol"&&String(e).includes("Comment")?`<!--${String(r||"")}-->`:typeof e=="string"?He(e,n,r,t):typeof e=="object"&&e!==null||typeof e=="function"?R(t):""}function He(t,e,n,r){let s=z(e);if(X.has(t))return`<${t}${s} />`;if(e&&(e.dangerouslySetInnerHTML||e.innerHTML)){let a=e.dangerouslySetInnerHTML?e.dangerouslySetInnerHTML.__html||e.dangerouslySetInnerHTML:e.innerHTML;return`<${t}${s}>${a}</${t}>`}let o="",i=r.shapeFlag||0;return i&h.TEXT_CHILDREN?o=f(String(n||"")):i&h.ARRAY_CHILDREN&&Array.isArray(n)?o=n.map(a=>m(a)).join(""):i&h.SLOTS_CHILDREN&&typeof n=="object"&&n!==null?o=q(n):typeof n=="string"?o=f(n):Array.isArray(n)?o=n.map(a=>m(a)).join(""):typeof n=="number"&&(o=f(String(n))),`<${t}${s}>${o}</${t}>`}function q(t){let e=[];for(let n in t){let r=t[n];if(typeof r=="function"){let s=r();Array.isArray(s)?e.push(s.map(o=>m(o)).join("")):s!=null&&e.push(m(s))}else Array.isArray(r)?e.push(r.map(s=>m(s)).join("")):r!=null&&e.push(m(r))}return e.join("")}function R(t){let e=t.type;if(e&&e.__island)return xe(t,e);if(typeof e=="function"){let n=e(t.props||{},{slots:t.children||{}});return m(n)}if(typeof e=="object"&&e!==null){if(typeof e.render=="function"){let n=e.render(t.props||{},{slots:t.children||{},emit:()=>{}});return m(n)}if(typeof e.setup=="function"){let n=e.setup(t.props||{},{emit:()=>{},slots:t.children||{}});if(typeof n=="function"){let r=n();return m(r)}if(typeof e.render=="function"){let r=e.render(n||{},{slots:t.children||{},emit:()=>{}});return m(r)}}}return t.component&&t.component.subTree?m(t.component.subTree):"<!---->"}function xe(t,e){var N;let n=e.name||((N=t.props)==null?void 0:N["data-island-id"])||"anonymous",r=t.props||{},s=r["data-hydrate-when"]||e.__hydrateWhen||"",o=e.__islandTag||"div",i={};for(let T in r)T==="data-hydrate-when"||T==="data-island-id"||(i[T]=r[T]);let a=JSON.stringify(i),l=f(a),c="";if(typeof e.render=="function"){let T=e.render(r,{slots:t.children||{},emit:()=>{}});c=m(T)}else if(typeof e=="function"){let T=e(r,{slots:t.children||{}});c=m(T)}let d=s?` data-hydrate-when="${f(s)}"`:"",u=`<${o} data-hydrate="${f(n)}" data-props="${l}"${d}>${c}</${o}>`,y=`<script type="application/json" data-hydrate-props="${f(n)}">${a}<\/script>`;return u+y}async function*w(t){if(t==null)return;let{type:e,props:n,children:r}=t;if(typeof e=="symbol"&&String(e)==="Symbol(Fragment)"){if(Array.isArray(r))for(let s of r)yield*w(s);return}if(typeof e=="symbol"&&String(e).includes("Text")){yield f(String(r||""));return}if(typeof e=="symbol"&&String(e).includes("Comment")){yield`<!--${String(r||"")}-->`;return}if(typeof e=="string"){yield*_e(e,n,r,t);return}if(typeof e=="object"||typeof e=="function"){yield R(t);return}}async function*_e(t,e,n,r){let s=z(e);if(X.has(t)){yield`<${t}${s} />`;return}if(e&&(e.dangerouslySetInnerHTML||e.innerHTML)){let i=e.dangerouslySetInnerHTML?e.dangerouslySetInnerHTML.__html||e.dangerouslySetInnerHTML:e.innerHTML;yield`<${t}${s}>${i}</${t}>`;return}yield`<${t}${s}>`;let o=r.shapeFlag||0;if(o&h.TEXT_CHILDREN)yield f(String(n||""));else if(o&h.ARRAY_CHILDREN&&Array.isArray(n))for(let i of n)yield*w(i);else if(o&h.SLOTS_CHILDREN&&typeof n=="object"&&n!==null)yield q(n);else if(typeof n=="string")yield f(n);else if(Array.isArray(n))for(let i of n)yield*w(i);else typeof n=="number"&&(yield f(String(n)));yield`</${t}>`}function Me(t){return m(t)}function Oe(t,e){let n=(e==null?void 0:e.suspenseIdPrefix)||"suspense",r=S(t,n);return new ReadableStream({async pull(s){let{value:o,done:i}=await r.next();i?s.close():s.enqueue(o)},async cancel(){await r.return(void 0)}})}async function*Ie(t,e){let n=(e==null?void 0:e.suspenseIdPrefix)||"suspense";yield*S(t,n)}async function*S(t,e){if(t==null)return;let{type:n,props:r,children:s}=t;if(typeof n=="symbol"&&String(n)==="Symbol(Fragment)"){if(Array.isArray(s))for(let o of s)yield*S(o,e);return}if(typeof n=="symbol"&&String(n).includes("Text")){yield f(String(s||""));return}if(typeof n=="symbol"&&String(n).includes("Comment")){yield`<!--${String(s||"")}-->`;return}if(typeof n=="string"){yield*$e(n,r,s,t,e);return}if(typeof n=="object"&&n!==null){let o=n;if(o.name==="Suspense"||o._isSuspense){yield*ve(t,e);return}if(o._isAsyncComponent||o.__asyncSetup){yield*we(t,e);return}yield R(t);return}if(typeof n=="function"){yield R(t);return}}async function*$e(t,e,n,r,s){let o=z(e);if(X.has(t)){yield`<${t}${o} />`;return}if(e&&(e.dangerouslySetInnerHTML||e.innerHTML)){let a=e.dangerouslySetInnerHTML?e.dangerouslySetInnerHTML.__html||e.dangerouslySetInnerHTML:e.innerHTML;yield`<${t}${o}>${a}</${t}>`;return}yield`<${t}${o}>`;let i=r.shapeFlag||0;if(i&h.TEXT_CHILDREN)yield f(String(n||""));else if(i&h.ARRAY_CHILDREN&&Array.isArray(n))for(let a of n)yield*S(a,s);else if(i&h.SLOTS_CHILDREN&&typeof n=="object"&&n!==null)yield q(n);else if(typeof n=="string")yield f(n);else if(Array.isArray(n))for(let a of n)yield*S(a,s);else typeof n=="number"&&(yield f(String(n)));yield`</${t}>`}async function*ve(t,e){let n=`${e}-${Ce++}`,s=(t.props||{}).fallback,o="";s&&(typeof s=="object"&&s!==null?o=m(s):typeof s=="string"&&(o=s));let i=t.children,a=[];if(typeof i=="object"&&i!==null){if(Array.isArray(i))a=i;else if(typeof i.default=="function"){let d=i.default();Array.isArray(d)?a=d:d!=null&&(a=[d])}}let l=[];function c(d){for(let u of d){if(u==null)continue;let y=u.type;if(y&&(y._isAsyncComponent||y.__asyncSetup||u.__asyncSetup)){let N=u.__asyncPromise||y.__asyncPromise;N&&l.push(N.then(()=>{}))}}}if(c(a),l.length===0){for(let d of a)yield*S(d,e);return}yield`<!--${n}-fallback-->`,yield o,await Promise.all(l),yield`<!--${n}-resolved-->`;for(let d of a)yield*S(d,e);yield`<!--/${n}-->`}async function*we(t,e){let n=t.type,r=t.__asyncPromise||n.__asyncPromise;if(r)try{await r}catch(s){yield"<!--async-component-error-->";return}yield R(t)}var De=new v;var P={ELEMENT:1,FUNCTIONAL_COMPONENT:2,STATEFUL_COMPONENT:4,TEXT_CHILDREN:8,ARRAY_CHILDREN:16,SLOTS_CHILDREN:32},g=!1,K=[],p={success:!0,mismatches:0,hydratedNodes:0};function Pe(){return g}function je(t){g=t}function Fe(){return{...p}}function le(){p={success:!0,mismatches:0,hydratedNodes:0}}function ke(t){g?K.push(t):t()}function We(t,e,n={}){le(),n.onHydrated&&K.push(n.onHydrated),g=!0;try{let r=e.firstElementChild;return r?(t._vnode||t.mount(e),t._vnode&&V(r,t._vnode,n),g=!1,B(),p):(g=!1,t.mount(e),p.success=!1,B(),p)}catch(r){return g=!1,p.success=!1,e.innerHTML="",t.mount(e),B(),p}}function B(){let t=K.splice(0);for(let e of t)try{e()}catch(n){}}function V(t,e,n){if(Ke(e)){Xe(t,e,n);return}if(Je(e)){Ue(t,e,n);return}if(Ze(e)){Ye(t,e,n);return}if(Qe(e)){ze(t,e,n);return}if(typeof e.type=="string"){Ge(t,e,n);return}}function Ge(t,e,n){let r=t.tagName.toLowerCase(),s=e.type.toLowerCase();if(r!==s){j(t,e,`\u6807\u7B7E\u4E0D\u5339\u914D: DOM "${r}" vs VNode "${s}"`,n);return}e.el=t,e.props&&J(t,e.props),e.ref&&Be(t,e.ref),qe(t,e,n),p.hydratedNodes++}function Ue(t,e,n){if(t.nodeType!==3){j(t,e,"\u671F\u671B\u6587\u672C\u8282\u70B9",n);return}e.el=t;let r=t.nodeValue||"",s=String(e.children||"");r!==s&&(t.nodeValue=s,n.strict),p.hydratedNodes++}function Ye(t,e,n){if(t.nodeType!==8){j(t,e,"\u671F\u671B\u6CE8\u91CA\u8282\u70B9",n);return}e.el=t;let r=t.nodeValue||"",s=String(e.children||"");r!==s&&(t.nodeValue=s),p.hydratedNodes++}function Xe(t,e,n){if(!Array.isArray(e.children))return;let r=Array.from(t.childNodes);for(let s=0;s<e.children.length;s++){let o=e.children[s],i=r[s];if(!i){p.mismatches++;break}V(i,o,n)}}function ze(t,e,n){if(e.component&&e.component.subTree){V(t,e.component.subTree,n),e.el=e.component.subTree.el;return}let r=e.type;if(typeof r=="function")try{let s=r(e.props||{},{slots:e.children||{}});if(s){V(t,s,n),e.el=s.el;return}}catch(s){}if(typeof r=="object"&&r!==null&&typeof r.render=="function")try{let s=r.render(e.props||{},{slots:e.children||{},emit:()=>{}});if(s){V(t,s,n),e.el=s.el;return}}catch(s){}j(t,e,"\u7EC4\u4EF6\u65E0\u6CD5\u83B7\u53D6 subTree",n)}function qe(t,e,n){if(!e.children)return;let r=e.shapeFlag||0;if(typeof e.children=="string"||r&P.TEXT_CHILDREN){let s=t.textContent||"",o=String(e.children||"");s!==o&&(t.textContent=o,n.strict);return}if(Array.isArray(e.children)){let s=Array.from(t.childNodes),o=0;for(let i=0;i<s.length&&o<e.children.length;i++){let a=e.children[o];if(a==null){o++;continue}V(s[i],a,n),o++}o<e.children.length&&p.mismatches++}r&P.SLOTS_CHILDREN&&typeof e.children=="object"&&e.children}function J(t,e){for(let n in e){let r=e[n];if(n.startsWith("on")&&typeof r=="function"){let s=n.slice(2).toLowerCase();t.addEventListener(s,r)}}}function Be(t,e){typeof e=="function"?e(t):e&&typeof e=="object"&&(e.current=t)}function Ke(t){return typeof t.type=="symbol"&&String(t.type)==="Symbol(Fragment)"}function Je(t){return typeof t.type=="symbol"&&String(t.type).includes("Text")}function Ze(t){return typeof t.type=="symbol"&&String(t.type).includes("Comment")}function Qe(t){return!!((t.shapeFlag||0)&(P.STATEFUL_COMPONENT|P.FUNCTIONAL_COMPONENT)||typeof t.type=="object"&&t.type!==null||typeof t.type=="function")}function j(t,e,n,r){let s=`[lyt] \u6CE8\u6C34\u4E0D\u5339\u914D: ${n}`;if(p.mismatches++,r.strict)throw new Error(s)}var b=new Map,H=new Map,et={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},tt=/[&<>"']/g;function E(t){return t.replace(tt,e=>et[e])}function ce(t,e,n={}){let r=typeof document!="undefined"?document:null;if(!r)return{success:!1,mismatches:0,hydratedNodes:0};let s=r.querySelector(t);if(!s)return{success:!1,mismatches:0,hydratedNodes:0};let o=s.getAttribute("data-hydrate");if(!o)return{success:!1,mismatches:0,hydratedNodes:0};if(s.hasAttribute("data-hydrated"))return{success:!0,mismatches:0,hydratedNodes:0};let i=nt(o,r);if(i===null)return{success:!1,mismatches:0,hydratedNodes:0};let a=s.getAttribute("data-hydrate-when");return a||n.lazy?rt(s,o,e,i,a||"visible",n):L(s,o,e,i,n)}function nt(t,e){let n=e.querySelector(`script[type="application/json"][data-hydrate-props="${t}"]`);if(!n){let r=e.querySelector(`[data-hydrate="${t}"]`);if(r){let s=r.getAttribute("data-props");if(s)try{return JSON.parse(s)}catch(o){return null}}return{}}try{return JSON.parse(n.textContent||"{}")}catch(r){return null}}function L(t,e,n,r,s){let o={success:!0,mismatches:0,hydratedNodes:0};try{g=!0;let i=null;if(typeof n.render=="function")i=n.render(r,{slots:n.slots||{},emit:()=>{}});else if(typeof n.setup=="function"){let l=n.setup(r,{emit:()=>{},slots:n.slots||{}});typeof l=="function"&&(i=l())}if(!i)return g=!1,o.success=!1,o;if(s.dev!==!1){let l=yt(t,i,e);o.mismatches=l}V(t,i,s),o.hydratedNodes=p.hydratedNodes,i.props&&J(t,i.props),D(t,i),t.setAttribute("data-hydrated","");let a={id:e,hydrated:!0,instance:n,eventListeners:[],timeoutId:null,observer:null,interactionHandler:null};return b.set(e,a),H.set(e,n),g=!1,s.onHydrated&&s.onHydrated(),o}catch(i){return g=!1,o.success=!1,o}}function D(t,e){if(!(!e.children||typeof e.children=="string")&&Array.isArray(e.children)){let n=Array.from(t.children),r=0;for(let s=0;s<n.length&&r<e.children.length;s++){let o=e.children[r];if(o==null){r++;continue}if(typeof o.type=="string"&&o.props)J(n[s],o.props),D(n[s],o);else if(typeof o.type=="object"||typeof o.type=="function"){let i=o.type;if(typeof i=="function")try{let a=i(o.props||{},{slots:o.children||{}});a&&n[s]&&D(n[s],a)}catch(a){}else if(i&&typeof i.render=="function")try{let a=i.render(o.props||{},{slots:o.children||{},emit:()=>{}});a&&n[s]&&D(n[s],a)}catch(a){}}r++}}}function rt(t,e,n,r,s,o){let i={success:!0,mismatches:0,hydratedNodes:0},a=null;o.timeout&&o.timeout>0&&(a=setTimeout(()=>{de(t,e),L(t,e,n,r,o)},o.timeout));let l={id:e,hydrated:!1,instance:n,eventListeners:[],timeoutId:a,observer:null,interactionHandler:null};switch(b.set(e,l),H.set(e,n),s){case"visible":{if(typeof IntersectionObserver!="undefined"){let c=new IntersectionObserver(d=>{for(let u of d)u.isIntersecting&&(c.unobserve(u.target),l.observer=null,a&&clearTimeout(a),l.timeoutId=null,L(t,e,n,r,o))},{rootMargin:"200px"});c.observe(t),l.observer=c}else a&&clearTimeout(a),L(t,e,n,r,o);break}case"idle":{(d=>{typeof requestIdleCallback!="undefined"?requestIdleCallback(d,{timeout:o.timeout||2e3}):setTimeout(d,1)})(()=>{a&&clearTimeout(a),l.timeoutId=null,t.hasAttribute("data-hydrated")||L(t,e,n,r,o)});break}case"interaction":{let c=()=>{a&&clearTimeout(a),l.timeoutId=null,l.interactionHandler=null,document.removeEventListener("click",c),document.removeEventListener("keydown",c),document.removeEventListener("scroll",c),document.removeEventListener("touchstart",c),t.hasAttribute("data-hydrated")||L(t,e,n,r,o)};document.addEventListener("click",c,{once:!1,passive:!0}),document.addEventListener("keydown",c,{once:!1,passive:!0}),document.addEventListener("scroll",c,{once:!1,passive:!0}),document.addEventListener("touchstart",c,{once:!1,passive:!0}),l.interactionHandler=c;break}default:a&&clearTimeout(a),L(t,e,n,r,o)}return i}function de(t,e){let n=b.get(e);n&&(n.observer&&(n.observer.disconnect(),n.observer=null),n.timeoutId!==null&&(clearTimeout(n.timeoutId),n.timeoutId=null),n.interactionHandler&&(document.removeEventListener("click",n.interactionHandler),document.removeEventListener("keydown",n.interactionHandler),document.removeEventListener("scroll",n.interactionHandler),document.removeEventListener("touchstart",n.interactionHandler),n.interactionHandler=null))}function st(t={}){let e=typeof document!="undefined"?document:null;if(!e)return{success:!1,mismatches:0,hydratedNodes:0};let n=e.querySelectorAll("[data-hydrate]:not([data-hydrated])"),r={success:!0,mismatches:0,hydratedNodes:0};return n.forEach(s=>{let o=s.getAttribute("data-hydrate");if(!o){r.success=!1;return}let i=H.get(o);if(!i){r.success=!1;return}let a=ce(`[data-hydrate="${o}"]`,i,t);r.mismatches+=a.mismatches,r.hydratedNodes+=a.hydratedNodes,a.success||(r.success=!1)}),r}function ot(t,e){H.set(t,e)}function it(t){if(!b.get(t))return;let n=typeof document!="undefined"?document.querySelector(`[data-hydrate="${t}"]`):null;n&&(de(n,t),n.removeAttribute("data-hydrated")),b.delete(t),H.delete(t)}function at(){return b}function lt(){b.clear(),H.clear()}function ct(t,e={},n="div",r){let s=t.name||"anonymous",o=JSON.stringify(e),i=E(o),a="";if(typeof t.render=="function"){let u=t.render(e,{slots:t.slots||{},emit:()=>{}});a=A(u)}let l=r?` data-hydrate-when="${r}"`:"",c=`<${n} data-hydrate="${s}" data-props="${i}"${l}>${a}</${n}>`,d=`<script type="application/json" data-hydrate-props="${s}">${o}<\/script>`;return c+d}function A(t){if(t==null)return"";let{type:e,props:n,children:r}=t;if(typeof e=="symbol"&&String(e)==="Symbol(Fragment)")return Array.isArray(r)?r.map(s=>A(s)).join(""):"";if(typeof e=="symbol"&&String(e).includes("Text"))return E(String(r||""));if(typeof e=="symbol"&&String(e).includes("Comment"))return`<!--${String(r||"")}-->`;if(typeof e=="string"){let s=dt(n);if(new Set(["area","base","br","col","embed","hr","img","input","link","meta","param","source","track","wbr"]).has(e))return`<${e}${s} />`;let i="";return typeof r=="string"?i=E(r):Array.isArray(r)?i=r.map(a=>A(a)).join(""):typeof r=="number"&&(i=E(String(r))),`<${e}${s}>${i}</${e}>`}if(typeof e=="function"){let s=e(n||{},{slots:r||{}});return A(s)}if(typeof e=="object"&&e!==null){let s=e;if(typeof s.render=="function"){let o=s.render(n||{},{slots:r||{},emit:()=>{}});return A(o)}}return""}function dt(t){if(!t)return"";let e=[];for(let n in t){let r=t[n];if(!(n.startsWith("on")||n.startsWith("@")||n==="key"||n==="ref")&&!(n==="__vccOpts"||n.startsWith("__"))&&!(n==="dangerouslySetInnerHTML"||n==="innerHTML"))if(r===!0)e.push(n);else{if(r===!1||r===null||r===void 0)continue;n==="class"&&typeof r=="string"?e.push(`class="${E(r)}"`):n==="style"&&typeof r=="string"?e.push(`style="${E(r)}"`):e.push(`${n}="${E(String(r))}"`)}}return e.length>0?" "+e.join(" "):""}var Z=[];function yt(t,e,n){let r=0,s=ut(t),o=A(e);if(s!==o){r++;let i={islandId:n,expected:o,actual:s,suggestion:ft(s,o,n)};Z.push(i)}return r}function ut(t){let e=t.cloneNode(!0);return e.removeAttribute("data-hydrate"),e.removeAttribute("data-props"),e.removeAttribute("data-hydrate-when"),e.removeAttribute("data-hydrated"),e.innerHTML}function ft(t,e,n){if(t.trim()==="")return`\u670D\u52A1\u7AEF\u6E32\u67D3\u4E3A\u7A7A\uFF0C\u8BF7\u68C0\u67E5\u7EC4\u4EF6 "${n}" \u7684\u670D\u52A1\u7AEF\u6E32\u67D3\u903B\u8F91`;if(e.trim()==="")return`\u5BA2\u6237\u7AEF\u6E32\u67D3\u4E3A\u7A7A\uFF0C\u8BF7\u68C0\u67E5\u7EC4\u4EF6 "${n}" \u7684 render \u51FD\u6570`;let r=/\d{10,13}/;return r.test(t)||r.test(e)?"\u68C0\u6D4B\u5230\u65F6\u95F4\u6233\u5DEE\u5F02\uFF0C\u8003\u8651\u4F7F\u7528\u7EDF\u4E00\u7684\u65F6\u95F4\u6E90\u6216\u5EF6\u8FDF\u6CE8\u6C34":ae(t)===ae(e)?"HTML \u5185\u5BB9\u76F8\u540C\u4F46\u5C5E\u6027\u987A\u5E8F\u4E0D\u540C\uFF0C\u8FD9\u4E0D\u5F71\u54CD\u529F\u80FD\u4F46\u53EF\u80FD\u5BFC\u81F4 mismatch \u8B66\u544A":`\u8BF7\u786E\u4FDD\u7EC4\u4EF6 "${n}" \u5728\u670D\u52A1\u7AEF\u548C\u5BA2\u6237\u7AEF\u6E32\u67D3\u76F8\u540C\u7684\u8F93\u51FA`}function ae(t){return t.replace(/\s+/g," ").replace(/>\s+</g,"><").trim()}function mt(){return[...Z]}function pt(){Z.length=0}export{te as Comment,Q as Fragment,F as PatchFlags,x as ShapeFlags,v as StringRenderer,ee as Text,lt as clearIslandRegistry,pt as clearMismatchWarnings,ct as createHydrationIsland,Ve as createRenderer,Fe as getHydrateStats,at as getIslandRegistry,mt as getMismatchWarnings,We as hydrate,st as hydrateAllIslands,ce as hydrateIsland,Pe as isHydrating,ke as onHydrated,ot as registerIslandComponent,Oe as renderToStream,Ie as renderToStreamGenerator,Me as renderToString,le as resetHydrateStats,je as setHydrating,De as ssrRenderer,it as unmountIsland};
@@ -0,0 +1 @@
1
+ {"fileNames":["../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es2015.d.ts","../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es2016.d.ts","../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es2017.d.ts","../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es2018.d.ts","../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es2019.d.ts","../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es2020.d.ts","../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es2021.d.ts","../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es2022.d.ts","../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.dom.iterable.d.ts","../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.dom.asynciterable.d.ts","../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es2015.core.d.ts","../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es2016.intl.d.ts","../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts","../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es2017.date.d.ts","../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es2017.object.d.ts","../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es2017.string.d.ts","../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es2019.array.d.ts","../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es2019.object.d.ts","../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es2019.string.d.ts","../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es2020.date.d.ts","../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es2020.string.d.ts","../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es2020.number.d.ts","../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es2021.promise.d.ts","../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es2021.string.d.ts","../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es2021.intl.d.ts","../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es2022.array.d.ts","../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es2022.error.d.ts","../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es2022.intl.d.ts","../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es2022.object.d.ts","../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es2022.string.d.ts","../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es2022.regexp.d.ts","../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.decorators.legacy.d.ts","../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es2022.full.d.ts","../../vdom/dist/types/patch-flag.d.ts","../../vdom/dist/types/fragment.d.ts","../../vdom/dist/types/vnode.d.ts","../../vdom/dist/types/block.d.ts","../../vdom/dist/types/list-diff.d.ts","../../vdom/dist/types/patch.d.ts","../../vdom/dist/types/index.d.ts","../src/vnode.ts","../src/renderer-interfaces.ts","../src/props.ts","../src/mount.ts","../src/unmount.ts","../src/patch.ts","../src/create-renderer.ts","../src/dom/dom-ops.ts","../src/dom/patch-events.ts","../src/dom/patch-props.ts","../src/dom/dom-renderer.ts","../src/index.ts","../src/dom/index.ts","../src/miniapp/miniapp-renderer.ts","../src/miniapp/index.ts","../src/native/native-renderer.ts","../src/native/index.ts","../src/ssr/hydration.ts","../src/ssr/ssr-renderer.ts","../src/ssr/index.ts","../../reactivity/dist/types/signal.d.ts","../src/vapor/vapor-reactive.ts","../src/vapor/vapor-renderer.ts","../src/vapor/vapor-compiler.ts","../src/vapor/vapor-component.ts","../src/vapor/index.ts"],"fileIdsList":[[70,71,72,75,76],[72,78,79,80],[71,72,77,78,79,80,81],[79],[84],[72],[71,72,73],[71,72,77,86],[70,71,72,73,74,75],[71],[71,72,77,88,89],[71,72],[71,72,77,92,93,94,95],[92,93],[92,93,94],[91],[91,92],[66],[64,65,66,67,68,69],[66,68],[65]],"fileInfos":[{"version":"bcd24271a113971ba9eb71ff8cb01bc6b0f872a85c23fdbe5d93065b375933cd","affectsGlobalScope":true,"impliedFormat":1},{"version":"3f88bedbeb09c6f5a6645cb24c7c55f1aa22d19ae96c8e6959cbd8b85a707bc6","impliedFormat":1},{"version":"7fe93b39b810eadd916be8db880dd7f0f7012a5cc6ffb62de8f62a2117fa6f1f","impliedFormat":1},{"version":"bb0074cc08b84a2374af33d8bf044b80851ccc9e719a5e202eacf40db2c31600","impliedFormat":1},{"version":"1a7daebe4f45fb03d9ec53d60008fbf9ac45a697fdc89e4ce218bc94b94f94d6","impliedFormat":1},{"version":"f94b133a3cb14a288803be545ac2683e0d0ff6661bcd37e31aaaec54fc382aed","impliedFormat":1},{"version":"f59d0650799f8782fd74cf73c19223730c6d1b9198671b1c5b3a38e1188b5953","impliedFormat":1},{"version":"8a15b4607d9a499e2dbeed9ec0d3c0d7372c850b2d5f1fb259e8f6d41d468a84","impliedFormat":1},{"version":"26e0fe14baee4e127f4365d1ae0b276f400562e45e19e35fd2d4c296684715e6","impliedFormat":1},{"version":"d6b1eba8496bdd0eed6fc8a685768fe01b2da4a0388b5fe7df558290bffcf32f","affectsGlobalScope":true,"impliedFormat":1},{"version":"7f57fc4404ff020bc45b9c620aff2b40f700b95fe31164024c453a5e3c163c54","impliedFormat":1},{"version":"7f57fc4404ff020bc45b9c620aff2b40f700b95fe31164024c453a5e3c163c54","impliedFormat":1},{"version":"2a2de5b9459b3fc44decd9ce6100b72f1b002ef523126c1d3d8b2a4a63d74d78","affectsGlobalScope":true,"impliedFormat":1},{"version":"f13f4b465c99041e912db5c44129a94588e1aafee35a50eab51044833f50b4ee","affectsGlobalScope":true,"impliedFormat":1},{"version":"eadcffda2aa84802c73938e589b9e58248d74c59cb7fcbca6474e3435ac15504","affectsGlobalScope":true,"impliedFormat":1},{"version":"105ba8ff7ba746404fe1a2e189d1d3d2e0eb29a08c18dded791af02f29fb4711","affectsGlobalScope":true,"impliedFormat":1},{"version":"00343ca5b2e3d48fa5df1db6e32ea2a59afab09590274a6cccb1dbae82e60c7c","affectsGlobalScope":true,"impliedFormat":1},{"version":"ebd9f816d4002697cb2864bea1f0b70a103124e18a8cd9645eeccc09bdf80ab4","affectsGlobalScope":true,"impliedFormat":1},{"version":"2c1afac30a01772cd2a9a298a7ce7706b5892e447bb46bdbeef720f7b5da77ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"7b0225f483e4fa685625ebe43dd584bb7973bbd84e66a6ba7bbe175ee1048b4f","affectsGlobalScope":true,"impliedFormat":1},{"version":"c0a4b8ac6ce74679c1da2b3795296f5896e31c38e888469a8e0f99dc3305de60","affectsGlobalScope":true,"impliedFormat":1},{"version":"3084a7b5f569088e0146533a00830e206565de65cae2239509168b11434cd84f","affectsGlobalScope":true,"impliedFormat":1},{"version":"c5079c53f0f141a0698faa903e76cb41cd664e3efb01cc17a5c46ec2eb0bef42","affectsGlobalScope":true,"impliedFormat":1},{"version":"32cafbc484dea6b0ab62cf8473182bbcb23020d70845b406f80b7526f38ae862","affectsGlobalScope":true,"impliedFormat":1},{"version":"fca4cdcb6d6c5ef18a869003d02c9f0fd95df8cfaf6eb431cd3376bc034cad36","affectsGlobalScope":true,"impliedFormat":1},{"version":"b93ec88115de9a9dc1b602291b85baf825c85666bf25985cc5f698073892b467","affectsGlobalScope":true,"impliedFormat":1},{"version":"f5c06dcc3fe849fcb297c247865a161f995cc29de7aa823afdd75aaaddc1419b","affectsGlobalScope":true,"impliedFormat":1},{"version":"b77e16112127a4b169ef0b8c3a4d730edf459c5f25fe52d5e436a6919206c4d7","affectsGlobalScope":true,"impliedFormat":1},{"version":"fbffd9337146eff822c7c00acbb78b01ea7ea23987f6c961eba689349e744f8c","affectsGlobalScope":true,"impliedFormat":1},{"version":"a995c0e49b721312f74fdfb89e4ba29bd9824c770bbb4021d74d2bf560e4c6bd","affectsGlobalScope":true,"impliedFormat":1},{"version":"c7b3542146734342e440a84b213384bfa188835537ddbda50d30766f0593aff9","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce6180fa19b1cccd07ee7f7dbb9a367ac19c0ed160573e4686425060b6df7f57","affectsGlobalScope":true,"impliedFormat":1},{"version":"3f02e2476bccb9dbe21280d6090f0df17d2f66b74711489415a8aa4df73c9675","affectsGlobalScope":true,"impliedFormat":1},{"version":"45e3ab34c1c013c8ab2dc1ba4c80c780744b13b5676800ae2e3be27ae862c40c","affectsGlobalScope":true,"impliedFormat":1},{"version":"805c86f6cca8d7702a62a844856dbaa2a3fd2abef0536e65d48732441dde5b5b","affectsGlobalScope":true,"impliedFormat":1},{"version":"e42e397f1a5a77994f0185fd1466520691456c772d06bf843e5084ceb879a0ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"f4c2b41f90c95b1c532ecc874bd3c111865793b23aebcc1c3cbbabcd5d76ffb0","affectsGlobalScope":true,"impliedFormat":1},{"version":"ab26191cfad5b66afa11b8bf935ef1cd88fabfcb28d30b2dfa6fad877d050332","affectsGlobalScope":true,"impliedFormat":1},{"version":"2088bc26531e38fb05eedac2951480db5309f6be3fa4a08d2221abb0f5b4200d","affectsGlobalScope":true,"impliedFormat":1},{"version":"cb9d366c425fea79716a8fb3af0d78e6b22ebbab3bd64d25063b42dc9f531c1e","affectsGlobalScope":true,"impliedFormat":1},{"version":"500934a8089c26d57ebdb688fc9757389bb6207a3c8f0674d68efa900d2abb34","affectsGlobalScope":true,"impliedFormat":1},{"version":"689da16f46e647cef0d64b0def88910e818a5877ca5379ede156ca3afb780ac3","affectsGlobalScope":true,"impliedFormat":1},{"version":"bc21cc8b6fee4f4c2440d08035b7ea3c06b3511314c8bab6bef7a92de58a2593","affectsGlobalScope":true,"impliedFormat":1},{"version":"7ca53d13d2957003abb47922a71866ba7cb2068f8d154877c596d63c359fed25","affectsGlobalScope":true,"impliedFormat":1},{"version":"54725f8c4df3d900cb4dac84b64689ce29548da0b4e9b7c2de61d41c79293611","affectsGlobalScope":true,"impliedFormat":1},{"version":"e5594bc3076ac29e6c1ebda77939bc4c8833de72f654b6e376862c0473199323","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f3eb332c2d73e729f3364fcc0c2b375e72a121e8157d25a82d67a138c83a95c","affectsGlobalScope":true,"impliedFormat":1},{"version":"6f4427f9642ce8d500970e4e69d1397f64072ab73b97e476b4002a646ac743b1","affectsGlobalScope":true,"impliedFormat":1},{"version":"48915f327cd1dea4d7bd358d9dc7732f58f9e1626a29cc0c05c8c692419d9bb7","affectsGlobalScope":true,"impliedFormat":1},{"version":"b7bf9377723203b5a6a4b920164df22d56a43f593269ba6ae1fdc97774b68855","affectsGlobalScope":true,"impliedFormat":1},{"version":"db9709688f82c9e5f65a119c64d835f906efe5f559d08b11642d56eb85b79357","affectsGlobalScope":true,"impliedFormat":1},{"version":"4b25b8c874acd1a4cf8444c3617e037d444d19080ac9f634b405583fd10ce1f7","affectsGlobalScope":true,"impliedFormat":1},{"version":"37be57d7c90cf1f8112ee2636a068d8fd181289f82b744160ec56a7dc158a9f5","affectsGlobalScope":true,"impliedFormat":1},{"version":"a917a49ac94cd26b754ab84e113369a75d1a47a710661d7cd25e961cc797065f","affectsGlobalScope":true,"impliedFormat":1},{"version":"6d3261badeb7843d157ef3e6f5d1427d0eeb0af0cf9df84a62cfd29fd47ac86e","affectsGlobalScope":true,"impliedFormat":1},{"version":"195daca651dde22f2167ac0d0a05e215308119a3100f5e6268e8317d05a92526","affectsGlobalScope":true,"impliedFormat":1},{"version":"8b11e4285cd2bb164a4dc09248bdec69e9842517db4ca47c1ba913011e44ff2f","affectsGlobalScope":true,"impliedFormat":1},{"version":"0508571a52475e245b02bc50fa1394065a0a3d05277fbf5120c3784b85651799","affectsGlobalScope":true,"impliedFormat":1},{"version":"8f9af488f510c3015af3cc8c267a9e9d96c4dd38a1fdff0e11dc5a544711415b","affectsGlobalScope":true,"impliedFormat":1},{"version":"fc611fea8d30ea72c6bbfb599c9b4d393ce22e2f5bfef2172534781e7d138104","affectsGlobalScope":true,"impliedFormat":1},{"version":"1ce14b81c5cc821994aa8ec1d42b220dd41b27fcc06373bce3958af7421b77d4","affectsGlobalScope":true,"impliedFormat":1},{"version":"b3a048b3e9302ef9a34ef4ebb9aecfb28b66abb3bce577206a79fee559c230da","affectsGlobalScope":true,"impliedFormat":1},{"version":"01a30f9e8582b369075c0808df71121e6855cb06fd8d3d39511d9ebb66405205","impliedFormat":1},"4bf20511e1950980a289f48f964ca67211ffae48eeb07894333e24446786c26a","44b0a939ee93e3fec4b314960837f4216ffbc0ff019fed82dc7c7ff703e68435","18f5a60d44eea7da20d59f7c126fc4bdd87b74f1d39566cb6d8c013ed5b2bef8","cd5e1f24d3d4188bed8851372de447073ede8937fe46cd8796b7d944b3a20949","579f753950c1fbd652dc9207f7c6b70402535339a8b1ec0ad70f7af2585c6391","fc7bc379fe9ea9c7ba998f1378f3aa1bbe75c4867fa7c41c6746c3c6bc89dbef","c00d27f14678de86282e49d40f11653a65f09b3894f42bef9e37bf8c04669b10",{"version":"47e988317806ef5467d3655acf7e6c80a90061017c08d4eaf06188e40194ab3d","signature":"de20bc27fab21c2c5ca1341569040f132680b4ace695aebe17cf19d55d6a75dd"},{"version":"1477a4236b919b2ec05a15a6f2229a406f8eb59d9f274df3c0d8bb40aea5f077","signature":"371b35236cadf3a5614284d37d577ac3868e422715c926c1a5d8e9b4964d3084"},{"version":"609ef5c2adc886fb781dc449bdf6da27a638c0976b1841df0e4e0d6ff4269adc","signature":"1e5443b39993d20bbd25f1ba4d07fd9da7f3a2fe0c37536fac1deb39d815b87a"},{"version":"b17f521643a35dc76822112c425b7d06fcf365f8c2312f81b90b839380e57bd8","signature":"a0a99c14c76d89bf29edc93e96e9e5a405a3a5b9fd743a9508091b36231c02fe"},{"version":"c074beea2da3867def98e8f9aaf9de2cc107219284dbaf46a71407bb0067f765","signature":"ee321bde806a5ddb8e0d33476f29637cb90c9bb7c664c2b89dcf5f53d87e7133"},{"version":"510a44c983d3ca288370ef4ad668365e5c8db2d8d858e9139599de47daa4a56f","signature":"473a00b5bac3b46d1fd30a8cb84c1ff76ff9e6e6b8bb1502aa039ee662db6696"},{"version":"c1ed7ee4ff785e7ac2a258b547a8eb9b2135ca66193c57eb35e41d6dc08596f2","signature":"21a68a9b94108bb8ea13af27a7ca1010f6b4493ca4b4349c91b7a3eada0ab5b0"},{"version":"6574a25f47f9144ff6bf18c3e6e3b2916748934eeb667f5ad3d77163cd87622a","signature":"51356357dc2b282ba36e0942147a9de1d6379ece336fcc59635e1f5ebe5d7722"},{"version":"feebeeee7b8fdb2a3c01a7acf5eae4b88c028dde2559188b684ce6ecd3458c75","signature":"fa8ca9d1a9c2e191d194871cf9c85ab107db82c3f921fc1613da3681a49b3b4c"},{"version":"b571acf21e82b996afeb67c5f00e3e9a7dd1504147f7abb4faed361f47c87d6d","signature":"076fa2932000bdeb0bdc8e19478a8651c61934b7ebcecba4662cdbe2531694b7"},{"version":"9fdf64f538cf906a03978fa3b40770ed0a3b2248a6dae471a2e18fec822f9680","signature":"fdf11aa8433694f2f5e90835c7384a5056293f75d7e24353612cc1cdccd222c1"},{"version":"d3ebb47a86769ecd185b2ecfc325efbb71e45acd279ced6224d20d8d0dd4feac","signature":"84f7c054d973b7531378d0791e5e5949d39d09554d8582e1ca75847703f591fc"},{"version":"65ea2c291c88be40fddd4a8b511281e309dea0356ab790afe29cbd8b8b3faf0b","signature":"3b7cdc9e44f3c7b0bb5a3ee68140bafe1006946e9e089a0799cd27d227c46541"},{"version":"0bed6a7215d71437ca817c46c258554821d9b65f8493e7f3421392f6a07b871a","signature":"a96b134dfbd8608035f5b948d38851873631332663383bcdeff050ccddd2e46b"},{"version":"765727cddc5c0dded82c4c9eb3f7b4bff2f985411c486d688dc6364d98176f97","signature":"db3e1ec7228fccd88125577caf318a76026631c3863e604b1b94f6268a661c8d"},{"version":"399cdeaa8a42298608f336eecc16b0877a35dc5d288a2d6fc8b7ba43c8d173ac","signature":"2722bd2f08be8f7d9f3577d816ec1374c70502ba393972bcdf1ad03986d04b8b"},{"version":"d2f401f75546f0cfdfc6e35367a7bb34477f7e066c127200cd3b1ae39f3595e1","signature":"cc1551089f7e4e3e08b848c4ba604b2521a76fdf0fe4dbd23932bbf700c3d081"},{"version":"b109871f47ff6b323fd7f7da0a85546369639240d1a1cea1536895608449e47d","signature":"49e7ca00e44f1940cd9aad1694be3d999b05ebc9b652794fdad216084d86b22a"},{"version":"436ef20e13f673036f2fe6ea69a57aaed97a6aa2ee22271419932e1ece8b08cd","signature":"a7c02cd6b9c223de799a25c42e29ec9c9359570c990a096150355a2aa631b510"},{"version":"e00137460935472aa7b6d89e91705d78145c2dc5642e5b384182975e98ba43e1","signature":"bb7c67bd85a5bd9d7accb3253ff420f918bc8dff3b0bb54b4ad99f0ae945f76f"},"ecd41394ecea0650d670ed4cdba72fac8f219fdfa1cdcbfdcdeb79413d712d15",{"version":"954367bfcff3426abfe4468f31a21877ef1d9cac367f9f876f0f70b29d7e35ac","signature":"543010f47afe09187740b650c08aab2652661bd7df8217db358552895199d5b8"},{"version":"310bc7903d9ec5ca1760190992cc50e4822894465ff63b7d85b2efe01007c6c1","signature":"a4b4a9270775f8dcc35bbfc4f4465251b3743671aed95ba2ced4ad1933ce88c0"},{"version":"8f957b740bc87016afcfb3cfc4063754421c7aa070fec43a8bc1aabd21756e86","signature":"a3454d859c26f739524895d7c07d689c3779d85adbc300e3d336a05ea4a3e523"},{"version":"dd90daae45ebd02d21dc2520ea86cee976c49389ff0140966016798cbce120dd","signature":"84ca5f4302b35c4be80c9fab10ec255307b38ddfbd70e2e28a24c586b023223b"},{"version":"01f69b7240ce4c8c95911b30b1a5b0d7a242bd182407d69da0810f03e36ef03f","signature":"c44f5aacc7f91359246c09d86a1ec84685c264da4255cc3037abffbf5ba5f4e7"}],"root":[[71,90],[92,96]],"options":{"allowImportingTsExtensions":true,"composite":true,"declaration":true,"declarationMap":true,"emitDeclarationOnly":true,"esModuleInterop":true,"exactOptionalPropertyTypes":true,"module":99,"noEmitOnError":false,"noFallthroughCasesInSwitch":true,"noImplicitOverride":true,"noImplicitReturns":true,"noUncheckedIndexedAccess":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./types","rootDir":"../src","skipLibCheck":true,"sourceMap":true,"strict":true,"target":9,"useDefineForClassFields":true,"verbatimModuleSyntax":true},"referencedMap":[[77,1],[81,2],[83,3],[80,4],[82,3],[85,5],[84,6],[74,7],[87,8],[86,6],[76,9],[73,6],[72,10],[90,11],[75,12],[96,13],[94,14],[95,15],[92,16],[93,17],[67,18],[65,18],[70,19],[68,18],[69,20],[66,21]],"semanticDiagnosticsPerFile":[[74,[{"start":2321,"length":11,"code":2345,"category":1,"messageText":{"messageText":"Argument of type 'VNode | undefined' is not assignable to parameter of type 'VNode'.","category":1,"code":2345,"next":[{"messageText":"Type 'undefined' is not assignable to type 'VNode'.","category":1,"code":2322}]}},{"start":3078,"length":15,"messageText":"'parentComponent' is declared but its value is never read.","category":1,"code":6133,"reportsUnnecessary":true}]],[75,[{"start":1203,"length":11,"code":2345,"category":1,"messageText":{"messageText":"Argument of type 'VNode | undefined' is not assignable to parameter of type 'VNode'.","category":1,"code":2345,"next":[{"messageText":"Type 'undefined' is not assignable to type 'VNode'.","category":1,"code":2322}]}}]],[76,[{"start":405,"length":7,"messageText":"'unmount' is declared but its value is never read.","category":1,"code":6133,"reportsUnnecessary":true},{"start":3850,"length":3,"messageText":"Type 'undefined' cannot be used as an index type.","category":1,"code":2538},{"start":3891,"length":3,"messageText":"Type 'undefined' cannot be used as an index type.","category":1,"code":2538},{"start":3977,"length":3,"code":2345,"category":1,"messageText":{"messageText":"Argument of type 'string | undefined' is not assignable to parameter of type 'string'.","category":1,"code":2345,"next":[{"messageText":"Type 'undefined' is not assignable to type 'string'.","category":1,"code":2322}]}},{"start":6054,"length":8,"messageText":"'renderer' is declared but its value is never read.","category":1,"code":6133,"reportsUnnecessary":true},{"start":6079,"length":9,"messageText":"'unmountFn' is declared but its value is never read.","category":1,"code":6133,"reportsUnnecessary":true},{"start":7174,"length":14,"messageText":"Object is possibly 'undefined'.","category":1,"code":2532},{"start":7208,"length":35,"messageText":"Object is possibly 'undefined'.","category":1,"code":2532},{"start":7276,"length":35,"messageText":"Object is possibly 'undefined'.","category":1,"code":2532},{"start":8019,"length":21,"code":2345,"category":1,"messageText":{"messageText":"Argument of type 'VNode | undefined' is not assignable to parameter of type 'VNode | null'.","category":1,"code":2345,"next":[{"messageText":"Type 'undefined' is not assignable to type 'VNode | null'.","category":1,"code":2322}]}},{"start":8207,"length":15,"messageText":"'parentComponent' is declared but its value is never read.","category":1,"code":6133,"reportsUnnecessary":true}]],[77,[{"start":358,"length":18,"messageText":"'patchKeyedChildren' is declared but its value is never read.","category":1,"code":6133,"reportsUnnecessary":true},{"start":378,"length":20,"messageText":"'patchUnkeyedChildren' is declared but its value is never read.","category":1,"code":6133,"reportsUnnecessary":true},{"start":400,"length":11,"messageText":"'getSequence' is declared but its value is never read.","category":1,"code":6133,"reportsUnnecessary":true},{"start":604,"length":13,"messageText":"'createPatchFn' is declared but its value is never read.","category":1,"code":6133,"reportsUnnecessary":true},{"start":669,"length":15,"messageText":"'unmountChildren' is declared but its value is never read.","category":1,"code":6133,"reportsUnnecessary":true}]],[78,[{"start":8025,"length":3,"messageText":"Type 'undefined' cannot be used as an index type.","category":1,"code":2538},{"start":8072,"length":3,"messageText":"Type 'undefined' cannot be used as an index type.","category":1,"code":2538},{"start":8596,"length":3,"code":2345,"category":1,"messageText":{"messageText":"Argument of type 'string | undefined' is not assignable to parameter of type 'string'.","category":1,"code":2345,"next":[{"messageText":"Type 'undefined' is not assignable to type 'string'.","category":1,"code":2322}]}},{"start":8691,"length":3,"code":2345,"category":1,"messageText":{"messageText":"Argument of type 'string | undefined' is not assignable to parameter of type 'string'.","category":1,"code":2345,"next":[{"messageText":"Type 'undefined' is not assignable to type 'string'.","category":1,"code":2322}]}},{"start":8961,"length":3,"messageText":"'key' is possibly 'undefined'.","category":1,"code":18048},{"start":9132,"length":3,"code":2345,"category":1,"messageText":{"messageText":"Argument of type 'string | undefined' is not assignable to parameter of type 'string'.","category":1,"code":2345,"next":[{"messageText":"Type 'undefined' is not assignable to type 'string'.","category":1,"code":2322}]}},{"start":9216,"length":3,"code":2345,"category":1,"messageText":{"messageText":"Argument of type 'string | undefined' is not assignable to parameter of type 'string'.","category":1,"code":2345,"next":[{"messageText":"Type 'undefined' is not assignable to type 'string'.","category":1,"code":2322}]}}]],[79,[{"start":2983,"length":4,"code":2322,"category":1,"messageText":{"messageText":"Type 'string | undefined' is not assignable to type 'string'.","category":1,"code":2322,"next":[{"messageText":"Type 'undefined' is not assignable to type 'string'.","category":1,"code":2322}]},"relatedInformation":[{"start":653,"length":4,"messageText":"The expected type comes from property 'name' which is declared here on type 'ParsedEvent'","category":3,"code":6500}]},{"start":3222,"length":8,"messageText":"Type 'undefined' cannot be used as an index type.","category":1,"code":2538},{"start":3254,"length":11,"code":7053,"category":1,"messageText":"Element implicitly has an 'any' type because expression of type 'any' can't be used to index type 'ParsedEvent'."},{"start":5190,"length":11,"code":7053,"category":1,"messageText":{"messageText":"Element implicitly has an 'any' type because expression of type '\"_vei\"' can't be used to index type 'Element'.","category":1,"code":7053,"next":[{"messageText":"Property '_vei' does not exist on type 'Element'.","category":1,"code":2339}]}},{"start":5237,"length":11,"code":7053,"category":1,"messageText":{"messageText":"Element implicitly has an 'any' type because expression of type '\"_vei\"' can't be used to index type 'Element'.","category":1,"code":7053,"next":[{"messageText":"Property '_vei' does not exist on type 'Element'.","category":1,"code":2339}]}}]],[84,[{"start":6789,"length":8,"code":2412,"category":1,"messageText":{"messageText":"Type 'string | undefined' is not assignable to type 'string' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the type of the target.","category":1,"code":2412,"next":[{"messageText":"Type 'undefined' is not assignable to type 'string'.","category":1,"code":2322}]}},{"start":6830,"length":11,"code":2412,"category":1,"messageText":{"messageText":"Type 'string | undefined' is not assignable to type 'string' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the type of the target.","category":1,"code":2412,"next":[{"messageText":"Type 'undefined' is not assignable to type 'string'.","category":1,"code":2322}]}},{"start":10418,"length":13,"code":2412,"category":1,"messageText":"Type 'undefined' is not assignable to type 'MiniAppNode' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the type of the target."},{"start":10771,"length":16,"code":2412,"category":1,"messageText":"Type 'undefined' is not assignable to type 'MiniAppNode' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the type of the target."},{"start":12518,"length":17,"code":2322,"category":1,"messageText":{"messageText":"Type 'MiniAppNode | undefined' is not assignable to type 'MiniAppNode | null'.","category":1,"code":2322,"next":[{"messageText":"Type 'undefined' is not assignable to type 'MiniAppNode | null'.","category":1,"code":2322}]}},{"start":12959,"length":9,"messageText":"'prevValue' is declared but its value is never read.","category":1,"code":6133,"reportsUnnecessary":true},{"start":17700,"length":6,"messageText":"'prefix' is possibly 'undefined'.","category":1,"code":18048},{"start":17765,"length":6,"messageText":"'prefix' is possibly 'undefined'.","category":1,"code":18048},{"start":18049,"length":6,"messageText":"'prefix' is possibly 'undefined'.","category":1,"code":18048},{"start":18083,"length":6,"messageText":"'prefix' is possibly 'undefined'.","category":1,"code":18048},{"start":18142,"length":6,"messageText":"'prefix' is possibly 'undefined'.","category":1,"code":18048},{"start":18714,"length":6,"messageText":"'prefix' is possibly 'undefined'.","category":1,"code":18048},{"start":18834,"length":6,"messageText":"'prefix' is possibly 'undefined'.","category":1,"code":18048},{"start":19440,"length":8,"code":2412,"category":1,"messageText":{"messageText":"Type 'string | undefined' is not assignable to type 'string' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the type of the target.","category":1,"code":2412,"next":[{"messageText":"Type 'undefined' is not assignable to type 'string'.","category":1,"code":2322}]}},{"start":19483,"length":11,"code":2412,"category":1,"messageText":{"messageText":"Type 'string | undefined' is not assignable to type 'string' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the type of the target.","category":1,"code":2412,"next":[{"messageText":"Type 'undefined' is not assignable to type 'string'.","category":1,"code":2322}]}},{"start":21020,"length":6,"messageText":"'prefix' is possibly 'undefined'.","category":1,"code":18048},{"start":21168,"length":6,"messageText":"'prefix' is possibly 'undefined'.","category":1,"code":18048},{"start":21269,"length":6,"messageText":"'prefix' is possibly 'undefined'.","category":1,"code":18048},{"start":21360,"length":6,"messageText":"'prefix' is possibly 'undefined'.","category":1,"code":18048},{"start":21605,"length":6,"messageText":"'prefix' is possibly 'undefined'.","category":1,"code":18048},{"start":21711,"length":6,"messageText":"'prefix' is possibly 'undefined'.","category":1,"code":18048}]],[86,[{"start":10720,"length":13,"code":2412,"category":1,"messageText":"Type 'undefined' is not assignable to type 'NativeNode' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the type of the target."},{"start":11089,"length":16,"code":2412,"category":1,"messageText":"Type 'undefined' is not assignable to type 'NativeNode' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the type of the target."},{"start":12849,"length":17,"code":2322,"category":1,"messageText":{"messageText":"Type 'NativeNode | undefined' is not assignable to type 'NativeNode | null'.","category":1,"code":2322,"next":[{"messageText":"Type 'undefined' is not assignable to type 'NativeNode | null'.","category":1,"code":2322}]}},{"start":13399,"length":9,"messageText":"'prevValue' is declared but its value is never read.","category":1,"code":6133,"reportsUnnecessary":true}]],[88,[{"start":14542,"length":13,"messageText":"'_unbindEvents' is declared but its value is never read.","category":1,"code":6133,"reportsUnnecessary":true},{"start":16709,"length":7,"messageText":"'domNode' is declared but its value is never read.","category":1,"code":6133,"reportsUnnecessary":true},{"start":16750,"length":5,"messageText":"'vnode' is declared but its value is never read.","category":1,"code":6133,"reportsUnnecessary":true},{"start":18495,"length":21,"code":2769,"category":1,"messageText":{"messageText":"No overload matches this call.","category":1,"code":2769,"next":[{"messageText":"The last overload gave the following error.","category":1,"code":2770,"next":[{"messageText":"Type 'string | undefined' is not assignable to type 'string'.","category":1,"code":2322,"next":[{"messageText":"Type 'undefined' is not assignable to type 'string'.","category":1,"code":2322}]}]}]},"relatedInformation":[{"file":"../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es5.d.ts","start":18718,"length":45,"messageText":"The expected type comes from the return type of this signature.","category":3,"code":6502},{"file":"../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es5.d.ts","start":18670,"length":103,"messageText":"The last overload is declared here.","category":1,"code":2771}]},{"start":29397,"length":2,"messageText":"'el' is declared but its value is never read.","category":1,"code":6133,"reportsUnnecessary":true}]],[89,[{"start":3603,"length":14,"code":2769,"category":1,"messageText":{"messageText":"No overload matches this call.","category":1,"code":2769,"next":[{"messageText":"The last overload gave the following error.","category":1,"code":2770,"next":[{"messageText":"Type 'string | undefined' is not assignable to type 'string'.","category":1,"code":2322,"next":[{"messageText":"Type 'undefined' is not assignable to type 'string'.","category":1,"code":2322}]}]}]},"relatedInformation":[{"file":"../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es5.d.ts","start":18718,"length":45,"messageText":"The expected type comes from the return type of this signature.","category":3,"code":6502},{"file":"../../../node_modules/.pnpm/typescript@6.0.2/node_modules/typescript/lib/lib.es5.d.ts","start":18670,"length":103,"messageText":"The last overload is declared here.","category":1,"code":2771}]}]],[92,[{"start":6629,"length":8,"code":2345,"category":1,"messageText":{"messageText":"Argument of type 'T | undefined' is not assignable to parameter of type 'T'.","category":1,"code":2345,"next":[{"messageText":"'T' could be instantiated with an arbitrary type which could be unrelated to 'T | undefined'.","category":1,"code":5082}]}},{"start":7226,"length":8,"code":2345,"category":1,"messageText":{"messageText":"Argument of type 'T | undefined' is not assignable to parameter of type 'T'.","category":1,"code":2345,"next":[{"messageText":"'T' could be instantiated with an arbitrary type which could be unrelated to 'T | undefined'.","category":1,"code":5082}]}},{"start":7328,"length":10,"code":2345,"category":1,"messageText":{"messageText":"Argument of type 'string | number | undefined' is not assignable to parameter of type 'string | number'.","category":1,"code":2345,"next":[{"messageText":"Type 'undefined' is not assignable to type 'string | number'.","category":1,"code":2322}]}},{"start":7364,"length":10,"code":2345,"category":1,"messageText":{"messageText":"Argument of type 'string | number | undefined' is not assignable to parameter of type 'string | number'.","category":1,"code":2345,"next":[{"messageText":"Type 'undefined' is not assignable to type 'string | number'.","category":1,"code":2322}]}}]],[94,[{"start":1832,"length":8,"code":2345,"category":1,"messageText":{"messageText":"Argument of type 'string | undefined' is not assignable to parameter of type 'string'.","category":1,"code":2345,"next":[{"messageText":"Type 'undefined' is not assignable to type 'string'.","category":1,"code":2322}]}},{"start":1856,"length":4,"code":2375,"category":1,"messageText":{"messageText":"Type '{ type: \"element\"; tag: string | undefined; props: Record<string, string>; events: Record<string, string>; directives: { if?: string; each?: { item: string; expression: string; }; }; children: never[]; }' is not assignable to type 'ASTNode' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the types of the target's properties.","category":1,"code":2375,"next":[{"messageText":"Types of property 'tag' are incompatible.","category":1,"code":2326,"next":[{"messageText":"Type 'string | undefined' is not assignable to type 'string'.","category":1,"code":2322,"next":[{"messageText":"Type 'undefined' is not assignable to type 'string'.","category":1,"code":2322}],"canonicalHead":{"code":2375,"messageText":"Type '{ type: \"element\"; tag: string | undefined; props: Record<string, string>; events: Record<string, string>; directives: { if?: string; each?: { item: string; expression: string; }; }; children: never[]; }' is not assignable to type 'ASTNode' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the types of the target's properties."}}]}]}},{"start":2093,"length":13,"messageText":"'root.children' is possibly 'undefined'.","category":1,"code":18048},{"start":2250,"length":7,"code":2345,"category":1,"messageText":{"messageText":"Argument of type 'string | undefined' is not assignable to parameter of type 'string'.","category":1,"code":2345,"next":[{"messageText":"Type 'undefined' is not assignable to type 'string'.","category":1,"code":2322}]}},{"start":2607,"length":13,"messageText":"'root.children' is possibly 'undefined'.","category":1,"code":18048},{"start":3202,"length":13,"messageText":"'root.children' is possibly 'undefined'.","category":1,"code":18048},{"start":3293,"length":13,"messageText":"'root.children' is possibly 'undefined'.","category":1,"code":18048},{"start":3417,"length":13,"messageText":"'root.children' is possibly 'undefined'.","category":1,"code":18048},{"start":5077,"length":8,"messageText":"'attrName' is possibly 'undefined'.","category":1,"code":18048},{"start":5145,"length":8,"messageText":"'attrName' is possibly 'undefined'.","category":1,"code":18048},{"start":5170,"length":17,"code":2322,"category":1,"messageText":{"messageText":"Type 'string | undefined' is not assignable to type 'string'.","category":1,"code":2322,"next":[{"messageText":"Type 'undefined' is not assignable to type 'string'.","category":1,"code":2322}]}},{"start":5216,"length":8,"messageText":"'attrName' is possibly 'undefined'.","category":1,"code":18048},{"start":5283,"length":8,"messageText":"'attrName' is possibly 'undefined'.","category":1,"code":18048},{"start":5308,"length":15,"code":2322,"category":1,"messageText":{"messageText":"Type 'string | undefined' is not assignable to type 'string'.","category":1,"code":2322,"next":[{"messageText":"Type 'undefined' is not assignable to type 'string'.","category":1,"code":2322}]}},{"start":5381,"length":13,"code":2412,"category":1,"messageText":{"messageText":"Type 'string | undefined' is not assignable to type 'string' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the type of the target.","category":1,"code":2412,"next":[{"messageText":"Type 'undefined' is not assignable to type 'string'.","category":1,"code":2322}]}},{"start":5506,"length":9,"messageText":"'attrValue' is possibly 'undefined'.","category":1,"code":18048},{"start":5603,"length":4,"code":2322,"category":1,"messageText":{"messageText":"Type 'string | undefined' is not assignable to type 'string'.","category":1,"code":2322,"next":[{"messageText":"Type 'undefined' is not assignable to type 'string'.","category":1,"code":2322}]},"relatedInformation":[{"start":4762,"length":4,"messageText":"The expected type comes from property 'item' which is declared here on type '{ item: string; expression: string; }'","category":3,"code":6500}]},{"start":5623,"length":10,"code":2322,"category":1,"messageText":{"messageText":"Type 'string | undefined' is not assignable to type 'string'.","category":1,"code":2322,"next":[{"messageText":"Type 'undefined' is not assignable to type 'string'.","category":1,"code":2322}]},"relatedInformation":[{"start":4776,"length":10,"messageText":"The expected type comes from property 'expression' which is declared here on type '{ item: string; expression: string; }'","category":3,"code":6500}]},{"start":5698,"length":8,"messageText":"Type 'undefined' cannot be used as an index type.","category":1,"code":2538},{"start":6290,"length":8,"messageText":"Object is possibly 'undefined'.","category":1,"code":2532},{"start":7458,"length":16,"code":2345,"category":1,"messageText":{"messageText":"Argument of type 'ASTNode | undefined' is not assignable to parameter of type 'ASTNode'.","category":1,"code":2345,"next":[{"messageText":"Type 'undefined' is not assignable to type 'ASTNode'.","category":1,"code":2322}]}}]],[95,[{"start":3598,"length":8,"code":2345,"category":1,"messageText":{"messageText":"Argument of type 'VaporNode | undefined' is not assignable to parameter of type 'VaporNode'.","category":1,"code":2345,"next":[{"messageText":"Type 'undefined' is not assignable to type 'VaporNode'.","category":1,"code":2322}]}}]]],"latestChangedDtsFile":"./types/vapor/index.d.ts","version":"6.0.2"}
@@ -1 +1 @@
1
- {"version":3,"file":"dom-renderer.d.ts","sourceRoot":"","sources":["../../../src/dom/dom-renderer.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAA;AASzD;;;;;GAKG;AACH,qBAAa,WAAY,YAAW,WAAW;IAG7C;;;;;OAKG;IACH,aAAa,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG;IAQ/B;;;;;OAKG;IACH,UAAU,CAAC,IAAI,EAAE,MAAM,GAAG,GAAG;IAI7B;;;;;OAKG;IACH,aAAa,CAAC,IAAI,EAAE,MAAM,GAAG,GAAG;IAIhC;;;;;;;;;;;;OAYG;IACH,YAAY,CAAC,EAAE,EAAE,GAAG,EAAE,GAAG,EAA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"index.d.ts","sourceRoot":"","sources":["../../../src/dom/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,YAAY,EAAE,WAAW,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAA;AAC3E,YAAY,EAAE,KAAK,EAAE,MAAM,UAAU,CAAA;AAGrC,OAAO,EACL,cAAc,GACf,MAAM,oBAAoB,CAAA;AAC3B,OAAO,EACL,QAAQ,EACR,IAAI,EACJ,OAAO,EACP,UAAU,EACV,UAAU,GACX,MAAM,UAAU,CAAA;AAGjB,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;AAGzD,OAAO,EACL,UAAU,EACV,aAAa,EACb,aAAa,EACb,YAAY,EACZ,cAAc,GACf,MAAM,WAAW,CAAA;AAGlB,OAAO,EACL,UAAU,EACV,UAAU,EACV,mBAAmB,EACnB,YAAY,EACZ,SAAS,EACT,aAAa,EACb,iBAAiB,EACjB,UAAU,IAAI,cAAc,GAC7B,MAAM,eAAe,CAAA;AAGtB,OAAO,EACL,kBAAkB,EAClB,WAAW,EACX,kBAAkB,EAClB,aAAa,EACb,gBAAgB,EAChB,UAAU,EACV,uBAAuB,GACxB,MAAM,gBAAgB,CAAA;AACvB,YAAY,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/dom/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,YAAY,EAAE,WAAW,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAC5E,YAAY,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AAGtC,OAAO,EACL,cAAc,GACf,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EACL,QAAQ,EACR,IAAI,EACJ,OAAO,EACP,UAAU,EACV,UAAU,GACX,MAAM,UAAU,CAAC;AAGlB,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAG1D,OAAO,EACL,UAAU,EACV,aAAa,EACb,aAAa,EACb,YAAY,EACZ,cAAc,GACf,MAAM,WAAW,CAAC;AAGnB,OAAO,EACL,UAAU,EACV,UAAU,EACV,mBAAmB,EACnB,YAAY,EACZ,SAAS,EACT,aAAa,EACb,iBAAiB,EACjB,UAAU,IAAI,cAAc,GAC7B,MAAM,eAAe,CAAC;AAGvB,OAAO,EACL,kBAAkB,EAClB,WAAW,EACX,kBAAkB,EAClB,aAAa,EACb,gBAAgB,EAChB,UAAU,EACV,uBAAuB,GACxB,MAAM,gBAAgB,CAAC;AACxB,YAAY,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC"}
@@ -94,7 +94,7 @@ export declare function createInvoker(initialValue: Function): EventInvoker;
94
94
  * @param el DOM 元素
95
95
  * @returns invoker 对象,如果不存在则返回 null
96
96
  */
97
- export declare function getEventInvokers(el: any): Record<string, EventInvoker> | null;
97
+ export declare function getEventInvokers(el: Element): Record<string, EventInvoker> | null;
98
98
  /**
99
99
  * 更新元素上的事件监听
100
100
  *
@@ -110,7 +110,7 @@ export declare function getEventInvokers(el: any): Record<string, EventInvoker>
110
110
  * @param prevValue 旧的事件处理函数(可选)
111
111
  * @param instance 组件实例(可选,用于事件作用域)
112
112
  */
113
- export declare function patchEvent(el: any, rawName: string, nextValue: Function | null, prevValue?: Function | null, instance?: any): void;
113
+ export declare function patchEvent(el: Element, rawName: string, nextValue: Function | null, _prevValue?: Function | null, _instance?: unknown): void;
114
114
  /**
115
115
  * 移除元素上的所有事件监听
116
116
  *
@@ -1 +1 @@
1
- {"version":3,"file":"patch-events.d.ts","sourceRoot":"","sources":["../../../src/dom/patch-events.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAMH;;GAEG;AACH,MAAM,WAAW,WAAW;IAC1B,gCAAgC;IAChC,IAAI,EAAE,MAAM,CAAA;IACZ,2BAA2B;IAC3B,IAAI,EAAE,OAAO,CAAA;IACb,0BAA0B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
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/miniapp/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAGH,YAAY,EAAE,WAAW,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAA;AAC3E,YAAY,EAAE,KAAK,EAAE,MAAM,UAAU,CAAA;AAGrC,OAAO,EACL,cAAc,GACf,MAAM,oBAAoB,CAAA;AAC3B,OAAO,EACL,QAAQ,EACR,IAAI,EACJ,OAAO,EACP,UAAU,EACV,UAAU,GACX,MAAM,UAAU,CAAA;AAGjB,OAAO,EAAE,eAAe,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAA;AACrE,YAAY,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/miniapp/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAGH,YAAY,EAAE,WAAW,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAC5E,YAAY,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AAGtC,OAAO,EACL,cAAc,GACf,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EACL,QAAQ,EACR,IAAI,EACJ,OAAO,EACP,UAAU,EACV,UAAU,GACX,MAAM,UAAU,CAAC;AAGlB,OAAO,EAAE,eAAe,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACtE,YAAY,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC"}
@@ -129,14 +129,14 @@ export declare class MiniAppRenderer implements LytRenderer {
129
129
  * @param handler 事件处理函数
130
130
  * @param options 事件选项(可选)
131
131
  */
132
- addEventListener(el: MiniAppNode, event: string, handler: Function, options?: any): void;
132
+ addEventListener(el: MiniAppNode, event: string, handler: Function, _options?: any): void;
133
133
  /**
134
134
  * 移除事件监听器
135
135
  * @param el 小程序节点
136
136
  * @param event DOM 事件名
137
137
  * @param handler 事件处理函数
138
138
  */
139
- removeEventListener(el: MiniAppNode, event: string, handler: Function): void;
139
+ removeEventListener(el: MiniAppNode, event: string, _handler: Function): void;
140
140
  /**
141
141
  * 在下一个微任务中执行回调
142
142
  * @param cb 回调函数
@@ -174,7 +174,7 @@ export declare class MiniAppRenderer implements LytRenderer {
174
174
  * @param selector CSS 选择器
175
175
  * @returns 匹配的第一个节点,未找到返回 null
176
176
  */
177
- querySelector(selector: string): MiniAppNode | null;
177
+ querySelector(_selector: string): MiniAppNode | null;
178
178
  /**
179
179
  * 将 VNode 树转换为小程序节点树
180
180
  *
@@ -1 +1 @@
1
- {"version":3,"file":"miniapp-renderer.d.ts","sourceRoot":"","sources":["../../../src/miniapp/miniapp-renderer.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAA;AAMzD;;;;GAIG;AACH,MAAM,WAAW,WAAW;IAC1B,qCAAqC;IACrC,GAAG,EAAE,MAAM,CAAA;IAEX,WAAW;IACX,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IAE7B,YAAY;IACZ,QAAQ,EAAE,WAAW,EAAE,CAAA;IAEvB,mBAAmB;IACnB,IAAI,CAAC,EAAE,MAAM,CAAA;IAEb,kBAAkB;IAClB,IAAI,CAAC,EAAE,MAAM,CAAA;IAEb,mBAAmB;IACnB,KAAK,CAAC,EAAE,MAAM,CAAA;IAEd,mBAAmB;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAA;IAEjB,kCAAkC;IAClC,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IAElC,iCAAiC;IACjC,aAAa,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IAErC,uBAAuB;IACvB,OAAO,CAAC,EAAE,WAAW,CAAA;CACtB;AAqGD;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,qBAAa,eAAgB,YAAW,WAAW;IAKjD;;;;OAIG;IACH,aAA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B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/native/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAGH,YAAY,EAAE,WAAW,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAA;AAC3E,YAAY,EAAE,KAAK,EAAE,MAAM,UAAU,CAAA;AAGrC,OAAO,EACL,cAAc,GACf,MAAM,oBAAoB,CAAA;AAC3B,OAAO,EACL,QAAQ,EACR,IAAI,EACJ,OAAO,EACP,UAAU,EACV,UAAU,GACX,MAAM,UAAU,CAAA;AAGjB,OAAO,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAA;AAClE,YAAY,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/native/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAGH,YAAY,EAAE,WAAW,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAC5E,YAAY,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AAGtC,OAAO,EACL,cAAc,GACf,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EACL,QAAQ,EACR,IAAI,EACJ,OAAO,EACP,UAAU,EACV,UAAU,GACX,MAAM,UAAU,CAAC;AAGlB,OAAO,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACnE,YAAY,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC"}
@@ -135,7 +135,7 @@ export declare class NativeRenderer implements LytRenderer {
135
135
  * @param handler 事件处理函数
136
136
  * @param options 事件选项(可选)
137
137
  */
138
- addEventListener(el: NativeNode, event: string, handler: Function, options?: any): void;
138
+ addEventListener(el: NativeNode, event: string, handler: Function, _options?: any): void;
139
139
  /**
140
140
  * 移除事件监听器
141
141
  * @param el 原生节点
@@ -184,7 +184,7 @@ export declare class NativeRenderer implements LytRenderer {
184
184
  * @param selector CSS 选择器(仅支持 tag 选择器)
185
185
  * @returns 匹配的第一个节点,未找到返回 null
186
186
  */
187
- querySelector(selector: string): NativeNode | null;
187
+ querySelector(_selector: string): NativeNode | null;
188
188
  /**
189
189
  * 将 VNode 树转换为原生节点树
190
190
  *
@@ -1 +1 @@
1
- {"version":3,"file":"native-renderer.d.ts","sourceRoot":"","sources":["../../../src/native/native-renderer.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAA;AAMzD;;;;;GAKG;AACH,MAAM,WAAW,mBAAmB;IAClC,aAAa,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;IAC/B,UAAU,CAAC,IAAI,EAAE,MAAM,GAAG,GAAG,CAAA;IAC7B,aAAa,CAAC,IAAI,EAAE,MAAM,GAAG,GAAG,CAAA;IAChC,MAAM,CAAC,KAAK,EAAE,GAAG,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,CAAC,EAAE,GAAG,GAAG,IAAI,CAAA;IACnD,MAAM,CAAC,KAAK,EAAE,GAAG,GAAG,IAAI,CAAA;IACxB,SAAS,CAAC,EAAE,EAAE,GAAG,EAAE,GAAG,EAAE,MAAM,EAAE,SAAS,EAAE,GAAG,EAAE,SAAS,EAAE,GAAG,GAAG,IAAI,CAAA;IACrE,UAAU,CAAC,KAAK,EAAE,GAAG,GAAG,GAAG,GAAG,IAAI,CAAA;IAClC,WAAW,CAAC,KAAK,EAAE,GAAG,GAAG,GAAG,GAAG,IAAI,CAAA;IACnC,OAAO,CAAC,IAAI,EAAE,GAAG,EAAE,IAAI,EAAE,MAAM,GAAG,IAAI,CAAA;CACvC;AAMD;;;;GAIG;AACH,MAAM,WAAW,UAAU;IACzB,kCAAkC;IAClC,IAAI,EAAE,MAAM,CAAA;IAEZ,qBAAqB;IACrB,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;IAE1B,YAAY;IACZ,QA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