@lynx-example/lynx-ui-popover 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -0
- package/LICENSE +201 -0
- package/dist/PopoverBackdrop.lynx.bundle +0 -0
- package/dist/PopoverBackdrop.web.bundle +1 -0
- package/dist/PopoverBasic.lynx.bundle +0 -0
- package/dist/PopoverBasic.web.bundle +1 -0
- package/dist/PopoverBasicTailwind.lynx.bundle +0 -0
- package/dist/PopoverBasicTailwind.web.bundle +1 -0
- package/dist/PopoverControlled.lynx.bundle +0 -0
- package/dist/PopoverControlled.web.bundle +1 -0
- package/dist/PopoverCustomArrow.lynx.bundle +0 -0
- package/dist/PopoverCustomArrow.web.bundle +1 -0
- package/dist/PopoverExtraAnchor.lynx.bundle +0 -0
- package/dist/PopoverExtraAnchor.web.bundle +1 -0
- package/dist/PopoverOffsetAdjustment.lynx.bundle +0 -0
- package/dist/PopoverOffsetAdjustment.web.bundle +1 -0
- package/dist/PopoverWithScrollView.lynx.bundle +0 -0
- package/dist/PopoverWithScrollView.web.bundle +1 -0
- package/lynx.config.mjs +34 -0
- package/package.json +49 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"styleInfo":{"0":{"content":["@keyframes popover-in {0% {opacity:0;transform:translateY(-16px) scale(0);} to {opacity:1;transform:translateY(0) scale(1);}}\n@keyframes popover-out {0% {opacity:1;transform:translateY(0) scale(1);} to {opacity:0;transform:translateY(-8px) scale(0);}}"],"rules":[{"sel":[[[".luna-dark"],[],[],[]]],"decl":[["--canvas","#0d0d0d"],["--canvas-ambient","#000"],["--paper","#1a1a1a"],["--paper-clear","#232323"],["--paper-veil","rgba(0,0,0,.1)"],["--paper-film","rgba(0,0,0,.05)"],["--backdrop","rgba(0,0,0,.32)"],["--backdrop-subtle","rgba(0,0,0,.2)"],["--backdrop-heavy","rgba(0,0,0,.7)"],["--content","#f8f8f8"],["--content-2","#d9d9d9"],["--content-muted","#b3b3b3"],["--content-subtle","#6e6e6e"],["--content-faint","#4f4f4f"],["--content-faded","hsla(0,0%,97%,.6)"],["--primary","#e0e0e0"],["--primary-2","#a4a4a4"],["--primary-muted","#7a7a7a"],["--primary-content","#010101"],["--primary-content-faded","rgba(0,0,0,.3)"],["--secondary","#5b5b5b"],["--secondary-2","#333"],["--secondary-content","#e0e0e0"],["--secondary-content-faded","hsla(0,0%,88%,.25)"],["--neutral","#f8f8f8"],["--neutral-2","#d0d0d0"],["--neutral-subtle","#656565"],["--neutral-faint","#505050"],["--neutral-ambient","#2c2c2c"],["--neutral-veil","hsla(0,0%,97%,.5)"],["--neutral-film","hsla(0,0%,97%,.08)"],["--neutral-content","#010101"],["--neutral-content-faded","rgba(0,0,0,.25)"],["--line","hsla(0,0%,97%,.32)"],["--rule","#333"],["--gradient-a","#a7a7a7"],["--gradient-b","#a5a5a5"],["--gradient-c","#a1a1a1"],["--gradient-d","#bababa"],["--gradient-content","#fff"],["--gradient-content-faded","hsla(0,0%,100%,.68)"],["--gradient-content-trace","hsla(0,0%,100%,.12)"]]},{"sel":[[[".luna-light"],[],[],[]]],"decl":[["--canvas","#fff"],["--canvas-ambient","#f4f4f4"],["--paper","#f8f8f8"],["--paper-clear","#fff"],["--paper-veil","hsla(0,0%,97%,.3)"],["--paper-film","hsla(0,0%,97%,.15)"],["--backdrop","rgba(0,0,0,.25)"],["--backdrop-subtle","rgba(0,0,0,.1)"],["--backdrop-heavy","rgba(0,0,0,.5)"],["--content","#010101"],["--content-2","#333"],["--content-muted","#5d5d5d"],["--content-subtle","#9e9e9e"],["--content-faint","#d0d0d0"],["--content-faded","rgba(0,0,0,.6)"],["--primary","#1a1a1a"],["--primary-2","#545454"],["--primary-muted","#9b9b9b"],["--primary-content","#fafafa"],["--primary-content-faded","hsla(0,0%,100%,.4)"],["--secondary","silver"],["--secondary-2","#d9d9d9"],["--secondary-content","#3c3c3c"],["--secondary-content-faded","rgba(60,60,60,.3)"],["--neutral","#010101"],["--neutral-2","#333"],["--neutral-subtle","#b3b3b3"],["--neutral-faint","#d9d9d9"],["--neutral-ambient","#eee"],["--neutral-veil","rgba(0,0,0,.24)"],["--neutral-film","rgba(0,0,0,.05)"],["--neutral-content","#f8f8f8"],["--neutral-content-faded","hsla(0,0%,97%,.4)"],["--line","rgba(0,0,0,.17)"],["--rule","#e5e5e5"],["--gradient-a","#939393"],["--gradient-b","#a0a0a0"],["--gradient-c","#a1a1a1"],["--gradient-d","#bfbfbf"],["--gradient-content","#fff"],["--gradient-content-faded","hsla(0,0%,100%,.68)"],["--gradient-content-trace","hsla(0,0%,100%,.12)"]]},{"sel":[[[".lunaris-dark"],[],[],[]]],"decl":[["--canvas","#0d0d0d"],["--canvas-ambient","#000"],["--paper","#1a1a1a"],["--paper-clear","#232323"],["--paper-veil","rgba(0,0,0,.1)"],["--paper-film","rgba(0,0,0,.05)"],["--backdrop","rgba(0,0,0,.32)"],["--backdrop-subtle","rgba(0,0,0,.2)"],["--backdrop-heavy","rgba(0,0,0,.7)"],["--content","#f8f8f8"],["--content-2","#d9d9d9"],["--content-muted","#b3b3b3"],["--content-subtle","#6e6e6e"],["--content-faint","#4f4f4f"],["--content-faded","hsla(0,0%,97%,.6)"],["--primary","#ff8ab5"],["--primary-2","#ff4f8f"],["--primary-muted","#d04377"],["--primary-content","#010101"],["--primary-content-faded","rgba(0,0,0,.3)"],["--secondary","#534363"],["--secondary-2","#362e46"],["--secondary-content","#eee5f6"],["--secondary-content-faded","hsla(0,0%,88%,.25)"],["--neutral","#f8f8f8"],["--neutral-2","#d0d0d0"],["--neutral-subtle","#656565"],["--neutral-faint","#505050"],["--neutral-ambient","#2c2c2c"],["--neutral-veil","hsla(0,0%,97%,.5)"],["--neutral-film","hsla(0,0%,97%,.08)"],["--neutral-content","#010101"],["--neutral-content-faded","rgba(0,0,0,.25)"],["--line","hsla(0,0%,97%,.32)"],["--rule","#333"],["--gradient-a","#ff7385"],["--gradient-b","#fe69a1"],["--gradient-c","#a998bf"],["--gradient-d","#00d0f1"],["--gradient-content","#fff"],["--gradient-content-faded","hsla(0,0%,100%,.68)"],["--gradient-content-trace","hsla(0,0%,100%,.12)"]]},{"sel":[[[".lunaris-light"],[],[],[]]],"decl":[["--canvas","#fff"],["--canvas-ambient","#f4f4f4"],["--paper","#f8f8f8"],["--paper-clear","#fff"],["--paper-veil","hsla(0,0%,97%,.3)"],["--paper-film","hsla(0,0%,97%,.15)"],["--backdrop","rgba(0,0,0,.25)"],["--backdrop-subtle","rgba(0,0,0,.1)"],["--backdrop-heavy","rgba(0,0,0,.5)"],["--content","#010101"],["--content-2","#333"],["--content-muted","#5d5d5d"],["--content-subtle","#9e9e9e"],["--content-faint","#d0d0d0"],["--content-faded","rgba(0,0,0,.6)"],["--primary","#ff1a6e"],["--primary-2","#ff558e"],["--primary-muted","#f992b1"],["--primary-content","#fff"],["--primary-content-faded","hsla(0,0%,100%,.4)"],["--secondary","#fbcfdc"],["--secondary-2","#fce5ed"],["--secondary-content","#a92d5a"],["--secondary-content-faded","rgba(60,60,60,.3)"],["--neutral","#010101"],["--neutral-2","#333"],["--neutral-subtle","#b3b3b3"],["--neutral-faint","#d9d9d9"],["--neutral-ambient","#eee"],["--neutral-veil","rgba(0,0,0,.24)"],["--neutral-film","rgba(0,0,0,.05)"],["--neutral-content","#f8f8f8"],["--neutral-content-faded","hsla(0,0%,97%,.4)"],["--line","rgba(0,0,0,.17)"],["--rule","#e5e5e5"],["--gradient-a","#ff3d63"],["--gradient-b","#ff5d99"],["--gradient-c","#a998bf"],["--gradient-d","#3dd5e9"],["--gradient-content","#fff"],["--gradient-content-faded","hsla(0,0%,100%,.68)"],["--gradient-content-trace","hsla(0,0%,100%,.12)"]]},{"sel":[[[".options-menu-panel"],[],[],[]]],"decl":[["display","flex"],["flex-direction","column"],["row-gap","12px"],["width","100%"]]},{"sel":[[[".options-menu-desc"],[],[],[]]],"decl":[["color","var(--content-muted)"],["font-size","var(--text-base)"],["line-height","var(--lh-base)"]]},{"sel":[[[".options-menu-title"],[],[],[]]],"decl":[["color","var(--content)"],["font-size","var(--text-lg)"],["font-weight","var(--font-semibold)"],["line-height","var(--lh-lg)"]]},{"sel":[[[".options-menu-divider"],[],[],[]]],"decl":[["background-color","var(--rule)"],["height","1px"],["width","100%"]]},{"sel":[[[".options-menu-section"],[],[],[]]],"decl":[["display","flex"],["flex-direction","column"],["row-gap","6px"],["width","100%"]]},{"sel":[[[".options-menu-section-title"],[],[],[]]],"decl":[["color","var(--content-subtle)"],["font-size","10px"],["letter-spacing",".08em"]]},{"sel":[[[".options-menu-row"],[],[],[]]],"decl":[["align-items","center"],["display","flex"],["flex-direction","row"],["justify-content","space-between"],["width","100%"]]},{"sel":[[[".options-menu-row-label"],[],[],[]]],"decl":[["color","var(--content)"]]},{"sel":[[[".options-menu-row-label"],[],[],[]],[[".options-menu-row-value"],[],[],[]]],"decl":[["font-size","var(--text-base)"],["line-height","var(--lh-base)"]]},{"sel":[[[".options-menu-row-value"],[],[],[]]],"decl":[["color","var(--content-muted)"]]},{"sel":[[[".ellipsis-icon-sm"],[],[],[]]],"decl":[["height","18px"],["width","18px"]]},{"sel":[[[".ellipsis-icon-md"],[],[],[]],[[".ellipsis-icon-sm"],[],[],[]]],"decl":[["background-color","var(--neutral-content)"]]},{"sel":[[[".ellipsis-icon-md"],[],[],[]]],"decl":[["height","24px"],["width","24px"]]},{"sel":[[[".luna-dark"],[],[],[]],[[".lunaris-dark"],[],[],[]]],"decl":[["--backdrop","rgba(0,0,0,.25)"]]},{"sel":[[[".luna-dark"],[],[],[]],[[".luna-light"],[],[],[]],[[".lunaris-dark"],[],[],[]],[[".lunaris-light"],[],[],[]]],"decl":[["--ease-out-smooth","cubic-bezier(0.22,0.61,0.36,1)"],["--ease-in-exit","cubic-bezier(0.4,0,1,1)"],["--font-semibold","600"],["--text-base","14px"],["--lh-base","18px"],["--text-lg","16px"],["--lh-lg","21px"],["--shadow","0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1)"],["--shadow-lg","0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1)"]]},{"sel":[[[".container"],[],[],[]]],"decl":[["background","linear-gradient(150deg, var(--gradient-b) 8.42%, var(--gradient-c) 81.71%)"],["gap","24px"],["height","100%"],["padding-bottom","160px"],["padding-left","48px"],["padding-right","48px"],["width","100%"]]},{"sel":[[[".container"],[],[],[]],[[".popover-trigger"],[],[],[]]],"decl":[["align-items","center"],["display","flex"],["flex-direction","column"],["justify-content","center"]]},{"sel":[[[".popover-trigger"],[],[],[]]],"decl":[["background-color","var(--neutral)"],["border-radius","9999px"],["height","48px"],["width","48px"]]},{"sel":[[[".popover-trigger",".ui-active"],[],[],[]]],"decl":[["background-color","var(--neutral-2)"]]},{"sel":[[[".popover-trigger-text"],[],[],[]]],"decl":[["color","var(--neutral-content)"],["font-size","var(--text-base)"],["font-weight","var(--font-semibold)"],["line-height","var(--lh-base)"]]},{"sel":[[[".popover-positioner"],[],[],[]]],"decl":[["height","max-content"],["transform-origin","top center"],["width","max-content"]]},{"sel":[[[".popover-positioner",".ui-open"],[],[],[]]],"decl":[["animation","popover-in .15s var(--ease-out-smooth) forwards"]]},{"sel":[[[".popover-positioner",".ui-closed"],[],[],[]]],"decl":[["animation","popover-out .12s var(--ease-out-smooth) forwards"]]},{"sel":[[[".popover-content"],[],[],[]]],"decl":[["align-items","flex-start"],["background-color","var(--paper)"],["border-radius","24px"],["box-shadow","var(--shadow-lg)"],["display","flex"],["flex-direction","column"],["gap","12px"],["height","auto"],["justify-content","flex-start"],["min-height","192px"],["padding-bottom","24px"],["padding-left","36px"],["padding-right","36px"],["padding-top","24px"],["width","264px"]]},{"sel":[[[".popover-backdrop"],[],[],[]]],"decl":[["background-color","var(--backdrop)"],["opacity","0"]]},{"sel":[[[".popover-backdrop",".ui-open"],[],[],[]]],"decl":[["opacity","1"],["transition","opacity .15s var(--ease-out-smooth)"]]},{"sel":[[[".popover-backdrop",".ui-closed"],[],[],[]]],"decl":[["opacity","0"],["transition","opacity .12s var(--ease-out-smooth)"]]},{"sel":[[[".container"],[],[],[]]],"decl":[["padding-bottom","84px"],["padding-left","16px"],["padding-right","16px"],["padding-top","84px"]]},{"sel":[[[".scroll-view"],[],[],[]]],"decl":[["background-color","var(--canvas)"],["border-radius","12px"],["height","100%"],["width","100%"]]},{"sel":[[[".scroll-view-content"],[],[],[]]],"decl":[["align-items","center"],["display","flex"],["flex-direction","column"],["height","150%"],["padding-top","55%"],["width","100%"]]},{"sel":[[[".popover-positioner"],[],[],[]]],"decl":[["transform-origin","bottom center"]]},{"sel":[[[".min"],[],[],[]]],"decl":[["min-height","1px"],["min-width","1px"]]},{"sel":[[[".popover-backdrop"],[],[],[]]],"decl":[["height","100vh"],["position","fixed"],["width","100vw"]]}]}},"manifest":{"/app-service.js":"\"use strict\";let e,t,n,l,r,o,i,a;var u,s,_,c,d,p,f,h,v,y,m,g,b,x,w,S,C,E,k,I,P,O,A={};var T=[];var D=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;var L=Array.isArray;function N(e,t){for(var n in t)e[n]=t[n];return e}function $(e){e&&e.parentNode&&e.parentNode.removeChild(e)}var M=T.slice;var j={__e:function(e,t,n,l){var r,o,i;for(;t=t.__;)if((r=t.__c)&&!r.__)try{if((o=r.constructor)&&null!=o.getDerivedStateFromError&&(r.setState(o.getDerivedStateFromError(e)),i=r.__d),null!=r.componentDidCatch&&(r.componentDidCatch(e,l||{}),i=r.__d),i)return r.__E=r}catch(t){e=t}throw e}};var R=0;function B(e,t,n){var l,r,o,i={};for(o in t)\"key\"==o?l=t[o]:\"ref\"==o?r=t[o]:i[o]=t[o];if(arguments.length>2&&(i.children=arguments.length>3?M.call(arguments,2):n),\"function\"==typeof e&&null!=e.defaultProps)for(o in e.defaultProps)void 0===i[o]&&(i[o]=e.defaultProps[o]);return F(e,i,l,r,null)}function F(e,t,n,l,r){var o={type:e,props:t,key:n,ref:l,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:null==r?++R:r,__i:-1,__u:0};return null==r&&null!=j.vnode&&j.vnode(o),o}function U(e){return e.children}function H(e,t){this.props=e,this.context=t}function W(e,t){var n;if(null==t)return e.__?W(e.__,e.__i+1):null;for(;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e)return n.__e;return\"function\"==typeof e.type?W(e):null}H.prototype.setState=function(e,t){var n;n=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=N({},this.state),\"function\"==typeof e&&(e=e(N({},n),this.props)),e&&N(n,e),null!=e&&this.__v&&(t&&this._sb.push(t),z(this))},H.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),z(this))},H.prototype.render=U;var V=[];var J=\"function\"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout;function z(e){(!e.__d&&(e.__d=!0)&&V.push(e)&&!q.__r++||u!==j.debounceRendering)&&((u=j.debounceRendering)||J)(q)}var G=function(e,t){return e.__v.__b-t.__v.__b};function q(){var e;for(V.sort(G);e=V.shift();)if(e.__d){var t=V.length;(function(e){var t=e.__v,n=t.__e,l=[],r=[];if(e.__P){var o=N({},t);o.__v=t.__v+1,j.vnode&&j.vnode(o),j.renderComponent&&j.renderComponent(o,e),en(e.__P,o,t,e.__n,e.__P.namespaceURI,32&t.__u?[n]:null,l,null==n?W(t):n,!!(32&t.__u),r),o.__v=t.__v,o.__.__k[o.__i]=o,el(l,o,r),o.__e!=n&&function e(t){if(null!=(t=t.__)&&null!=t.__c){t.__e=t.__c.base=null;for(var n=0;n<t.__k.length;n++){var l=t.__k[n];if(null!=l&&null!=l.__e){t.__e=t.__c.base=l.__e;break}}return e(t)}}(o)}})(e),V.length>t&&V.sort(G)}q.__r=0}function K(e,t,n,l,r,o,i,a,u,s,_){var c,d,p,f,h;var v=l&&l.__k||T;var y=t.length;for(n.__d=u,function(e,t,n){var l,r,o,i=t.length;var a=n.length,u=a;var s=0;for(l=0,e.__k=[];l<i;l++){if(null==(r=t[l])||\"boolean\"==typeof r||\"function\"==typeof r){r=e.__k[l]=null;continue}r=\"string\"==typeof r||\"number\"==typeof r||\"bigint\"==typeof r||r.constructor==String?e.__k[l]=F(null,r,null,null,null):L(r)?e.__k[l]=F(U,{children:r},null,null,null):void 0===r.constructor&&r.__b>0?e.__k[l]=F(r.type,r.props,r.key,r.ref?r.ref:null,r.__v):e.__k[l]=r;var _=l+s;r.__=e,r.__b=e.__b+1;var c=r.__i=function(e,t,n,l){var r=e.key;var o=e.type;var i=n-1;var a=n+1;var u=t[n];var s=l>+(null!=u&&(131072&u.__u)===0);if(null===u||u&&r==u.key&&o===u.type&&(131072&u.__u)===0)return n;if(s)for(;i>=0||a<t.length;){if(i>=0){if((u=t[i])&&(131072&u.__u)===0&&r==u.key&&o===u.type)return i;i--}if(a<t.length){if((u=t[a])&&(131072&u.__u)===0&&r==u.key&&o===u.type)return a;a++}}return -1}(r,n,_,u);o=null,-1!==c&&(o=n[c],u--,o&&(o.__u|=131072)),null==o||null===o.__v?(-1==c&&s--,\"function\"!=typeof r.type&&(r.__u|=65536)):c!==_&&(c==_-1?s--:c==_+1?s++:(c>_?s--:s++,r.__u|=65536))}if(u)for(l=0;l<a;l++)null!=(o=n[l])&&(131072&o.__u)===0&&(o.__e==e.__d&&(e.__d=W(o)),function e(t,n,l){var r;if(j.unmount&&j.unmount(t),(r=t.ref)&&(!r.current||r.current===t.__e)&&er(r,null,n),null!=(r=t.__c)){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(e){j.__e(e,n)}r.base=r.__P=null}if(r=t.__k)for(var o=0;o<r.length;o++)r[o]&&e(r[o],n,l||\"function\"!=typeof t.type);l||$(t.__e),t.__c=t.__=t.__e=t.__d=void 0}(o,o))}(n,t,v),u=n.__d,c=0;c<y;c++)null!=(p=n.__k[c])&&(d=-1===p.__i?A:v[p.__i]||A,p.__i=c,en(e,p,d,r,o,i,a,u,s,_),f=p.__e,p.ref&&d.ref!=p.ref&&(d.ref&&er(d.ref,null,p),_.push(p.ref,p.__c||f,p)),null==h&&null!=f&&(h=f),65536&p.__u||d.__k===p.__k?u=function e(t,n,l){if(\"function\"==typeof t.type){var r=t.__k;for(var o=0;r&&o<r.length;o++)r[o]&&(r[o].__=t,n=e(r[o],n,l));return n}t.__e!=n&&(n&&t.type&&!l.contains(n)&&(n=W(t)),l.insertBefore(t.__e,n||null),n=t.__e);do n=n&&n.nextSibling;while(null!=n&&8===n.nodeType);return n}(p,u,e):\"function\"==typeof p.type&&void 0!==p.__d?u=p.__d:f&&(u=f.nextSibling),p.__d=void 0,p.__u&=-196609);n.__d=u,n.__e=h}function Q(e,t,n){\"-\"===t[0]?e.setProperty(t,null==n?\"\":n):null==n?e[t]=\"\":\"number\"!=typeof n||D.test(t)?e[t]=n:e[t]=n+\"px\"}q.__r=0;var Z=0;function X(e,t,n,l,r){var o;e:if(\"style\"===t)if(\"string\"==typeof n)e.style.cssText=n;else{if(\"string\"==typeof l&&(e.style.cssText=l=\"\"),l)for(t in l)n&&t in n||Q(e.style,t,\"\");if(n)for(t in n)l&&n[t]===l[t]||Q(e.style,t,n[t])}else if(\"o\"===t[0]&&\"n\"===t[1])o=t!==(t=t.replace(/(PointerCapture)$|Capture$/i,\"$1\")),t=t.toLowerCase()in e||\"onFocusOut\"===t||\"onFocusIn\"===t?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+o]=n,n?l?n._attached=l._attached:(n._attached=Z,e.addEventListener(t,o?et:ee,o)):e.removeEventListener(t,o?et:ee,o);else{if(\"http://www.w3.org/2000/svg\"==r)t=t.replace(/xlink(H|:h)/,\"h\").replace(/sName$/,\"s\");else if(\"width\"!=t&&\"height\"!=t&&\"href\"!=t&&\"list\"!=t&&\"form\"!=t&&\"tabIndex\"!=t&&\"download\"!=t&&\"rowSpan\"!=t&&\"colSpan\"!=t&&\"role\"!=t&&\"popover\"!=t&&t in e)try{e[t]=null==n?\"\":n;break e}catch(e){}\"function\"==typeof n||(null!=n&&(!1!==n||\"-\"===t[4])?e.setAttribute(t,\"popover\"==t&&!0==n?\"\":n):e.removeAttribute(t))}}function Y(e){return function(t){if(this.l){var n=this.l[t.type+e];if(null==t._dispatched)t._dispatched=Z++;else if(t._dispatched<n._attached)return;return n(j.event?j.event(t):t)}}}var ee=Y(!1);var et=Y(!0);function en(e,t,n,l,r,o,i,a,u,s){var _,c,d,p,f,h,v,y=t.type;if(void 0!==t.constructor)return null;128&n.__u&&(u=!!(32&n.__u),o=[a=t.__e=n.__e]),(v=j.__b)&&v(t),(v=j._diff2)&&v(t,n);t:if(\"function\"==typeof y)try{var m=t.props;var g=\"prototype\"in y&&y.prototype.render;var b=(v=y.contextType)&&l[v.__c];var x=v?b?b.props.value:v.__:l;if(n.__c?h=(_=t.__c=n.__c).__=_.__E:(g?t.__c=_=new y(m,x):(t.__c=_=new H(m,x),_.constructor=y,_.render=eo),b&&b.sub(_),_.props=m,_.state||(_.state={}),_.context=x,_.__n=l,c=_.__d=!0,_.__h=[],_._sb=[]),g&&null==_.__s&&(_.__s=_.state),g&&null!=y.getDerivedStateFromProps&&(_.__s==_.state&&(_.__s=N({},_.__s)),N(_.__s,y.getDerivedStateFromProps(m,_.__s))),d=_.props,p=_.state,_.__v=t,c)g&&null==y.getDerivedStateFromProps&&null!=_.componentWillMount&&_.componentWillMount(),g&&null!=_.componentDidMount&&_.__h.push(_.componentDidMount);else{if(g&&null==y.getDerivedStateFromProps&&m!==d&&null!=_.componentWillReceiveProps&&_.componentWillReceiveProps(m,x),!_.__e&&(null!=_.shouldComponentUpdate&&!1===_.shouldComponentUpdate(m,_.__s,x)||t.__v===n.__v)){t.__v!==n.__v&&(_.props=m,_.state=_.__s,_.__d=!1),t.__e=n.__e,t.__k=n.__k,t.__k.some(function(e){e&&(e.__=t)});for(var w=0;w<_._sb.length;w++)_.__h.push(_._sb[w]);_._sb=[],_.__h.length&&i.push(_);break t}null!=_.componentWillUpdate&&_.componentWillUpdate(m,_.__s,x),g&&null!=_.componentDidUpdate&&_.__h.push(function(){_.componentDidUpdate(d,p,f)})}_.context=x,_.props=m,_.__P=e,_.__e=!1;var S=j.__r,C=0;if(g){_.state=_.__s,_.__d=!1,S&&S(t),v=_.render(_.props,_.state,_.context);for(var E=0;E<_._sb.length;E++)_.__h.push(_._sb[E]);_._sb=[]}else do _.__d=!1,S&&S(t),v=_.render(_.props,_.state,_.context),_.state=_.__s;while(_.__d&&++C<25);_.state=_.__s,null!=_.getChildContext&&(l=N(N({},l),_.getChildContext())),g&&!c&&null!=_.getSnapshotBeforeUpdate&&(f=_.getSnapshotBeforeUpdate(d,p));var k=null!=v&&v.type===U&&null==v.key?v.props.children:v;K(e,L(k)?k:[k],t,n,l,r,o,i,a,u,s),_.base=t.__e,t.__u&=-161,_.__h.length&&i.push(_),h&&(_.__E=_.__=null)}catch(e){if(t.__v=null,u||null!=o){for(t.__u|=u?160:32;a&&8===a.nodeType&&a.nextSibling;)a=a.nextSibling;o[o.indexOf(a)]=null,t.__e=a}else t.__e=n.__e,t.__k=n.__k;j.__e(e,t,n)}else null==o&&t.__v===n.__v?(t.__k=n.__k,t.__e=n.__e):t.__e=function(e,t,n,l,r,o,i,a,u){var s,_,c,d,p,f,h,v=n.props;var y=t.props;var m=t.type;if(\"svg\"===m?r=\"http://www.w3.org/2000/svg\":\"math\"===m?r=\"http://www.w3.org/1998/Math/MathML\":r||(r=\"http://www.w3.org/1999/xhtml\"),null!=o){for(s=0;s<o.length;s++)if((p=o[s])&&\"setAttribute\"in p===!!m&&(m?p.localName===m:3===p.nodeType)){e=p,o[s]=null;break}}if(null==e){if(null===m)return j.document.createTextNode(y);e=j.document.createElementNS(r,m,y.is&&y),a&&(j.__m&&j.__m(t,o),a=!1),o=null}if(null===m)v===y||a&&e.data===y||(e.data=y);else{if(o=o&&M.call(e.childNodes),v=n.props||A,!a&&null!=o)for(s=0,v={};s<e.attributes.length;s++)v[(p=e.attributes[s]).name]=p.value;for(s in v)if(p=v[s],\"children\"==s);else if(\"dangerouslySetInnerHTML\"==s)c=p;else if(!(s in y)){if(\"value\"==s&&\"defaultValue\"in y||\"checked\"==s&&\"defaultChecked\"in y)continue;X(e,s,null,p,r)}for(s in y)p=y[s],\"children\"==s?d=p:\"dangerouslySetInnerHTML\"==s?_=p:\"value\"==s?f=p:\"checked\"==s?h=p:a&&\"function\"!=typeof p||v[s]===p||X(e,s,p,v[s],r);if(_)a||c&&(_.__html===c.__html||_.__html===e.innerHTML)||(e.innerHTML=_.__html),t.__k=[];else if(c&&(e.innerHTML=\"\"),K(e,L(d)?d:[d],t,n,l,\"foreignObject\"===m?\"http://www.w3.org/1999/xhtml\":r,o,i,o?o[0]:n.__k&&W(n,0),a,u),null!=o)for(s=o.length;s--;)$(o[s]);a||(s=\"value\",\"progress\"===m&&null==f?e.removeAttribute(\"value\"):void 0===f||f===e[s]&&(\"progress\"!==m||f)&&(\"option\"!==m||f===v[s])||X(e,s,f,v[s],r),s=\"checked\",void 0!==h&&h!==e[s]&&X(e,s,h,v[s],r))}return e}(n.__e,t,n,l,r,o,i,u,s);(v=j.diffed)&&v(t)}function el(e,t,n){t.__d=void 0;for(var l=0;l<n.length;l++)er(n[l],n[++l],n[++l]);j.__c&&j.__c(t,e),e.some(function(t){try{e=t.__h,t.__h=[],e.some(function(e){e.call(t)})}catch(e){j.__e(e,t.__v)}})}function er(e,t,n){try{if(\"function\"==typeof e){var l=\"function\"==typeof e.__u;l&&e.__u(),l&&null==t||(e.__u=e(t))}else e.current=t}catch(e){j.__e(e,n)}}function eo(e,t,n){return this.constructor(e,n)}function ei(e,t,n){j.__&&j.__(e,t);var l=\"function\"==typeof n;var r=l?null:n&&n.__k||t.__k;e=(!l&&n||t).__k=B(U,null,[e]);var o=[],i=[];en(t,e,r||A,A,t.namespaceURI,!l&&n?[n]:r?null:t.firstChild?M.call(t.childNodes):null,o,!l&&n?n:r?r.__e:t.firstChild,l,i),el(o,e,i)}var ea=0;function eu(e,t){var n={__c:t=\"__cC\"+ea++,__:e,Consumer:function(e,t){return e.children(t)},Provider:function(e){if(!this.getChildContext){var n=[];var l={};l[t]=this,this.getChildContext=function(){return l},this.componentWillUnmount=function(){n=null},this.shouldComponentUpdate=function(e){this.props.value!==e.value&&n.some(function(e){e.__e=!0,z(e)})},this.sub=function(e){n.push(e);var t=e.componentWillUnmount;e.componentWillUnmount=function(){n&&n.splice(n.indexOf(e),1),t&&t.call(e)}}}return e.children}};return n.Provider.__=n.Consumer.contextType=n}var es=0;function e_(e,t,n,l,r,o){t||(t={});var i,a,u=t;if(\"ref\"in u)for(a in u={},t)\"ref\"==a?i=t[a]:u[a]=t[a];var s={type:e,props:u,key:n,ref:i,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:--es,__i:-1,__u:0,__source:r,__self:o};if(\"function\"==typeof e&&(i=e.defaultProps))for(a in i)void 0===u[a]&&(u[a]=i[a]);return j.vnode&&j.vnode(s),s}var ec=0;var ed=[];var ep=j.__b;var ef=j.__r;var eh=j.diffed;var ev=j.__c;var ey=j.unmount;var em=j.__;function eg(e,t){j.__h&&j.__h(_,e,ec||t),ec=0;var n=_.__H||(_.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({}),n.__[e]}function eb(e){return ec=1,ex(eA,e)}function ex(e,t,n){var l=eg(s++,2);if(l._reducer=e,!l.__c&&(l.__=[n?n(t):eA(void 0,t),function(e){var t=l.__N?l.__N[0]:l.__[0];var n=l._reducer(t,e);t!==n&&(l.__N=[n,l.__[1]],l.__c.setState({}))}],l.__c=_,!_._hasScuFromHooks)){var r=function(e,t,n){if(!l.__c.__H)return!0;var r=l.__c.__H.__.filter(function(e){return!!e.__c});if(r.every(function(e){return!e.__N}))return!o||o.call(this,e,t,n);var i=!1;return r.forEach(function(e){if(e.__N){var t=e.__[0];e.__=e.__N,e.__N=void 0,t!==e.__[0]&&(i=!0)}}),(!!i||l.__c.props!==e)&&(!o||o.call(this,e,t,n))};_._hasScuFromHooks=!0;var o=_.shouldComponentUpdate;var i=_.componentWillUpdate;_.componentWillUpdate=function(e,t,n){if(this.__e){var l=o;o=void 0,r(e,t,n),o=l}i&&i.call(this,e,t,n)},_.shouldComponentUpdate=r}return l.__N||l.__}function ew(e){return ec=5,eS(function(){return{current:e}},[])}function eS(e,t){var n=eg(s++,7);return eO(n.__H,t)&&(n.__=e(),n.__H=t,n.__h=e),n.__}function eC(e){var t=_.context[e.__c];var n=eg(s++,9);return(n.c=e,t)?(null==n.__&&(n.__=!0,t.sub(_)),t.props.value):e.__}function eE(){var e;for(;e=ed.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(eI),e.__H.__h.forEach(eP),e.__H.__h=[]}catch(t){e.__H.__h=[],j.__e(t,e.__v)}}j.__b=function(e){_=null,ep&&ep(e)},j.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),em&&em(e,t)},j.__r=function(e){ef&&ef(e),_=e.__c,s=0;var t=_.__H;t&&(c===_?(t.__h=[],_.__h=[],t.__.forEach(function(e){e.__N&&(e.__=e.__N),e._pendingArgs=e.__N=void 0})):(t.__h.forEach(eI),t.__h.forEach(eP),t.__h=[],s=0)),c=_},j.diffed=function(e){eh&&eh(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(1===ed.push(t)||d!==j.requestAnimationFrame)&&((d=j.requestAnimationFrame)||function(e){var t,n=function(){clearTimeout(l),ek&&cancelAnimationFrame(t),setTimeout(e)};var l=setTimeout(n,100);ek&&(t=requestAnimationFrame(n))})(eE),t.__H.__.forEach(function(e){e._pendingArgs&&(e.__H=e._pendingArgs),e._pendingArgs=void 0})),c=_=null},j.__c=function(e,t){t.some(function(e){try{e.__h.forEach(eI),e.__h=e.__h.filter(function(e){return!e.__||eP(e)})}catch(n){t.some(function(e){e.__h&&(e.__h=[])}),t=[],j.__e(n,e.__v)}}),ev&&ev(e,t)},j.unmount=function(e){ey&&ey(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach(function(e){try{eI(e)}catch(e){t=e}}),n.__H=void 0,t&&j.__e(t,n.__v))};var ek=\"function\"==typeof requestAnimationFrame;function eI(e){var t=_;var n=e.__c;\"function\"==typeof n&&(e.__c=void 0,n()),_=t}function eP(e){var t=_;e.__c=e.__(),_=t}function eO(e,t){return!e||e.length!==t.length||t.some(function(t,n){return t!==e[n]})}function eA(e,t){return\"function\"==typeof t?t(e):t}function eT(e,t){for(var n in t)e[n]=t[n];return e}function eD(e,t){for(var n in e)if(\"__source\"!==n&&!(n in t))return!0;for(var l in t)if(\"__source\"!==l&&e[l]!==t[l])return!0;return!1}function eL(e,t){this.props=e,this.context=t}function eN(e,t){function n(e){var n=this.props.ref;var l=n==e.ref;return(!l&&n&&(n.call?n(null):n.current=null),t)?!t(this.props,e)||!l:eD(this.props,e)}function l(t){return this.shouldComponentUpdate=n,B(e,t)}return l.displayName=\"Memo(\"+(e.displayName||e.name)+\")\",l.prototype.isReactComponent=!0,l.__f=!0,l.type=e,l}eL.prototype=new H,eL.prototype.isPureReactComponent=!0,eL.prototype.shouldComponentUpdate=function(e,t){return eD(this.props,e)||eD(this.state,t)};var e$=j.__b;j.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),e$&&e$(e)};var eM=\"undefined\"!=typeof Symbol&&Symbol.for&&Symbol.for(\"react.forward_ref\")||3911;function ej(e){function t(t){var n=eT({},t);return delete n.ref,e(n,t.ref||null)}return t.$$typeof=eM,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName=\"ForwardRef(\"+(e.displayName||e.name)+\")\",t}var eR=j.__e;j.__e=function(e,t,n,l){if(e.then){var r;var o=t;for(;o=o.__;)if((r=o.__c)&&r.__c)return null==t.__e&&(t.__e=n.__e,t.__k=n.__k),r.__c(e,t)}eR(e,t,n,l)};var eB=j.unmount;function eF(){this.__u=0,this._suspenders=null,this.__b=null}function eU(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function eH(){this._next=null,this._map=null}j.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&32&e.__u&&(e.type=null),eB&&eB(e)},eF.prototype=new H,eF.prototype.__c=function(e,t){var n=t.__c;var l=this;null==l._suspenders&&(l._suspenders=[]),l._suspenders.push(n);var r=eU(l.__v);var o=!1;var i=function(){o||(o=!0,n.__R=null,r?r(a):a())};n.__R=i;var a=function(){if(!--l.__u){if(l.state.__a){var e,t=l.state.__a;l.__v.__k[0]=function e(t,n,l){return t&&l&&(t.__v=null,t.__k=t.__k&&t.__k.map(function(t){return e(t,n,l)}),t.__c&&t.__c.__P===n&&(t.__e&&l.appendChild(t.__e),t.__c.__e=!0,t.__c.__P=l)),t}(t,t.__c.__P,t.__c.__O)}for(l.setState({__a:l.__b=null});e=l._suspenders.pop();)e.forceUpdate()}};l.__u++||32&t.__u||l.setState({__a:l.__b=l.__v.__k[0]}),e.then(i,i)},eF.prototype.componentWillUnmount=function(){this._suspenders=[]},eF.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var n=j.document.createElement(\"div\");var l=this.__v.__k[0].__c;this.__v.__k[0]=function e(t,n,l){return t&&(t.__c&&t.__c.__H&&(t.__c.__H.__.forEach(function(e){\"function\"==typeof e.__c&&e.__c()}),t.__c.__H=null),null!=(t=eT({},t)).__c&&(t.__c.__P===l&&(t.__c.__P=n),t.__c=null),t.__k=t.__k&&t.__k.map(function(t){return e(t,n,l)})),t}(this.__b,n,l.__O=l.__P)}this.__b=null}var r=t.__a&&B(U,null,e.fallback);return r&&(r.__u&=-33),[B(U,null,t.__a?null:e.children),r]};var eW=function(e,t,n){if(++n[1]===n[0]&&e._map.delete(t),e.props.revealOrder&&(\"t\"!==e.props.revealOrder[0]||!e._map.size))for(n=e._next;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;e._next=n=n[2]}};eH.prototype=new H,eH.prototype.__a=function(e){var t=this;var n=eU(t.__v);var l=t._map.get(e);return l[0]++,function(r){var o=function(){t.props.revealOrder?(l.push(r),eW(t,e,l)):r()};n?n(o):o()}},eH.prototype.render=function(e){this._next=null,this._map=new Map;var t=function e(t,n){return n=n||[],null==t||\"boolean\"==typeof t||(L(t)?t.some(function(t){e(t,n)}):n.push(t)),n}(e.children);e.revealOrder&&\"b\"===e.revealOrder[0]&&t.reverse();for(var n=t.length;n--;)this._map.set(t[n],this._next=[1,0,this._next]);return e.children},eH.prototype.componentDidUpdate=eH.prototype.componentDidMount=function(){var e=this;this._map.forEach(function(t,n){eW(e,n,t)})};var eV=\"undefined\"!=typeof Symbol&&Symbol.for&&Symbol.for(\"react.element\")||60103;H.prototype.isReactComponent={},[\"componentWillMount\",\"componentWillReceiveProps\",\"componentWillUpdate\"].forEach(function(e){Object.defineProperty(H.prototype,e,{configurable:!0,get:function(){return this[\"UNSAFE_\"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var eJ=j.event;function ez(){}function eG(){return this.cancelBubble}function eq(){return this.defaultPrevented}j.event=function(e){return eJ&&(e=eJ(e)),e.persist=ez,e.isPropagationStopped=eG,e.isDefaultPrevented=eq,e.nativeEvent=e};var eK=j.vnode;function eQ(e,t){var n;return n=eg(s++,3),void(!j.__s&&eO(n.__H,t)&&(n.__=e,n._pendingArgs=t,_.__H.__h.push(n)))}function eZ(e,t){if(e===t)return!0;try{if(\"object\"==typeof e&&null!==e&&\"object\"==typeof t&&null!==t&&JSON.stringify(e)===JSON.stringify(t))return!0}catch(e){throw e}return!1}function eX(e){for(let t in e)return!1;return!0}function eY(e,t){let n=(SystemInfo.lynxSdkVersion||\"1.0\").split(\".\");return Number(n[0])>e||Number(n[0])==e&&Number(n[1])>t}function e0(e){var t;return null!=(t=e.displayName)?t:e.name}function e1(e,t,n){let l=e[t];e[t]=function(...e){return n.call(this,l,...e)}}j.vnode=function(e){e.$$typeof=eV,eK&&eK(e)};let e2=(()=>{if(lynx.queueMicrotask)return e=>lynx.queueMicrotask(e);if(\"function\"!=typeof globalThis.Promise)return e=>{setTimeout(e,0)};{let e=globalThis.Promise.resolve();return t=>{e.then(t).catch(e=>{setTimeout(()=>{throw e},0)})}}})();function e3(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};var l=Object.keys(n);\"function\"==typeof Object.getOwnPropertySymbols&&(l=l.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),l.forEach(function(t){var l;l=n[t],t in e?Object.defineProperty(e,t,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[t]=l})}return e}function e5(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);n.push.apply(n,l)}return n})(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}(x=p||(p={})).firstScreen=\"rLynxFirstScreen\",x.updateFromRoot=\"updateFromRoot\",x.globalEventFromLepus=\"globalEventFromLepus\",x.jsReady=\"rLynxJSReady\",x.patchUpdate=\"rLynxChange\",x.publishEvent=\"rLynxPublishEvent\",(w=f||(f={}))[w.UPDATE=0]=\"UPDATE\",w[w.RESET=1]=\"RESET\";function e9(){if(e){let t=e;return e=[],t}}let e4=\"renderComponent\";let e7=\"reactLynxHydrate\",e8=\"updateTriggeredByBts\";let e6=\"__lynx_timing_flag\";let te=!1;let tt=!1;function tn(e,n){var l,r;switch(e){case\"updateSetStateTrigger\":te=!0,tt=!0,t=n;break;case\"updateDiffVdomStart\":if(!te)return;te=!1;break;case\"updateDiffVdomEnd\":if(!tt)return;tt=!1}null==(l=(r=lynx.getNativeApp()).markTiming)||l.call(r,t,e)}function tl(e,t,l){var r,o,i,a,u,s,_,c;if(n=null==(o=lynx.performance)||null==(r=o._generatePipelineOptions)?void 0:r.call(o)){switch(n.needTimestamps=e,n.pipelineOrigin=t,n.dsl=\"reactLynx\",t){case e7:n.stage=\"hydrate\";break;case e8:n.stage=\"update\"}eY(3,0)?null==(a=lynx.performance)||null==(i=a._onPipelineStart)||i.call(a,n.pipelineID,n):null==(s=lynx.performance)||null==(u=s._onPipelineStart)||u.call(s,n.pipelineID),l&&(null==(c=lynx.performance)||null==(_=c._bindPipelineIdWithTimingFlag)||_.call(c,n.pipelineID,l))}}function tr(e,t){var l,r;n&&(t||n.needTimestamps)&&(null==(r=lynx.performance)||null==(l=r._markTiming)||l.call(r,n.pipelineID,e))}(S=h||(h={})).runWorkletCtx=\"Lynx.Worklet.runWorkletCtx\",S.runOnBackground=\"Lynx.Worklet.runOnBackground\",S.FunctionCallRet=\"Lynx.Worklet.FunctionCallRet\",S.releaseBackgroundWorkletCtx=\"Lynx.Worklet.releaseBackgroundWorkletCtx\",S.releaseWorkletRef=\"Lynx.Worklet.releaseWorkletRef\";let to=new Map;let ti={value:!0};let ta=[];class tu{setTask(e,t){return this.task=n=>n[e](...t),this}invoke(...e){return new tu(this.refAttr).setTask(\"invoke\",e)}path(...e){return new tu(this.refAttr).setTask(\"path\",e)}fields(...e){return new tu(this.refAttr).setTask(\"fields\",e)}setNativeProps(...e){return new tu(this.refAttr).setTask(\"setNativeProps\",e)}exec(){var e;e=()=>{var e;let t=null!=(e=to.get(this.refAttr[0]))?e:this.refAttr[0];let n=`[react-ref-${t}-${this.refAttr[1]}]`;this.task(lynx.createSelectorQuery().select(n)).exec()},ti.value?ta.push(e):e()}constructor(e){this.refAttr=e}}let ts=[];let t_=[];function tc(e,t){let n=t&&new tu(t);try{if(\"function\"==typeof e){let t=\"function\"==typeof e._unmount;t&&e._unmount(),t&&null==n||(e._unmount=e(n))}else e.current=n}catch(e){lynx.reportError(e)}}function td(){try{for(let e of ts)tc(e,null);for(let e=0;e<t_.length;e+=2){let t=t_[e];let n=t_[e+1];tc(t,n)}}finally{tf()}}function tp(e,t,n,l){e!==t&&(e&&ts.push(e),t&&t_.push(t,[n,l]))}function tf(){ts.length=0,t_.length=0}new WeakMap,(C=v||(v={}))[C.Attr=0]=\"Attr\",C[C.Spread=1]=\"Spread\",C[C.Slot=2]=\"Slot\",C[C.Children=3]=\"Children\",C[C.ListChildren=4]=\"ListChildren\",C[C.MultiChildren=5]=\"MultiChildren\";let th=[[v.Children,0]];let tv={values:new Map([[\"root\",{create:()=>[],update:[],slot:th,isListHolder:!1,cssId:0}],[\"wrapper\",{create:()=>[],update:[],slot:th,isListHolder:!1}],[null,{create:()=>[],update:[e=>{}],slot:[],isListHolder:!1}]])};let ty={nextId:0,values:new Map,clear(){this.values.clear()},updateId(e,t){let n=this.values;let l=n.get(e);n.delete(e),n.set(t,l),l.__id=t},getValueBySign(e){let t=null==e?void 0:e.split(\":\");if(!t||2!=t.length&&3!=t.length)throw Error(\"Invalid ctx format: \"+e);let n=Number(t[0]);let l=Number(t[1]);let r=this.values.get(n);if(!r)return null;let o=t[2];if(\"__extraProps\"===t[1]){if(o)return r.__extraProps[o];throw Error(\"unreachable\")}return o?r.__values[l][o]:r.__values[l]}};function tm(e,t,n,l,r,o,i){var a;a=e,e=o?`${o}:${a}`:a;let u={create:t,update:n,slot:l,cssId:r,entryName:o,refAndSpreadIndexes:i};return tv.values.set(e,u),l&&l[0]&&l[0][0]===v.ListChildren&&(u.isListHolder=!0),e}function tg(e,t){let n=e.childNodes;for(let l of(t(e),n))tg(l,t)}function tb(){return null!=l?l:l=eY(2,13)}let tx=[];let tw=new Set;function tS(){let e=tx;return tx=[],e}let tC=0;let tE=[];function tk(){let e=tE;return tE=[],e}let tI={value:!1};let tP=()=>{tI.value=!0,e2(()=>{tI.value=!1})};e1(j,e4,(e,...t)=>{null==e||e(...t),tP()}),e1(j,\"__\",(e,...t)=>{null==e||e(...t),tP()});let tO={};let tA=new Map;let tT=1;let tD=[];let tL={};function tN(e,t){tr(\"packChangesStart\");let l={data:JSON.stringify(e),patchOptions:e5(e3({},t),{reloadVersion:tC})};return tr(\"packChangesEnd\"),n&&(l.patchOptions.pipelineOptions=n,n=void 0),l}(E=y||(y={}))[E.COMPOSED=-1]=\"COMPOSED\",E[E.PAN=0]=\"PAN\",E[E.FLING=1]=\"FLING\",E[E.DEFAULT=2]=\"DEFAULT\",E[E.TAP=3]=\"TAP\",E[E.LONGPRESS=4]=\"LONGPRESS\",E[E.ROTATION=5]=\"ROTATION\",E[E.PINCH=6]=\"PINCH\",E[E.NATIVE=7]=\"NATIVE\";let t$=[];class tM{add(e){let t=++this.lastIndex;return this.indexMap.set(t,e),t}get(e){return this.indexMap.get(e)}remove(e){this.indexMap.delete(e)}constructor(){this.lastIndex=0,this.indexMap=new Map}}class tj extends tM{add(e){let t=super.add(e);return e._execId=t,t}findJsFnHandle(e,t){let n=this.get(e);if(!n)return;let l=e=>{if(null!==e&&\"object\"==typeof e){if(\"_jsFnId\"in e&&e._jsFnId===t)return e;for(let t in e){let n=l(e[t]);if(n)return n}}};return l(n)}}function tR(e){let t=JSON.parse(e.data);let n=o.findJsFnHandle(t.obj._execId,t.obj._jsFnId);let l=null==n?void 0:n._fn;if(!l)throw Error(\"runOnBackground: JS function not found: \"+JSON.stringify(t.obj));let r=l(...t.params);lynx.getCoreContext().dispatchEvent({type:h.FunctionCallRet,data:JSON.stringify({resolveId:t.resolveId,returnValue:r})})}function tB(e){for(let t of e.data)o.remove(t)}function tF(e){return!tb()&&e?(lynx.reportError(Error(\"Main thread script requires Lynx sdk version 2.14\")),null):e&&(null!=r?r:r=eY(2,15))?(o||(o=new tj,lynx.getCoreContext().addEventListener(h.runOnBackground,tR),lynx.getCoreContext().addEventListener(h.releaseBackgroundWorkletCtx,tB),t$.push(()=>{lynx.getCoreContext().removeEventListener(h.runOnBackground,tR),lynx.getCoreContext().removeEventListener(h.releaseBackgroundWorkletCtx,tB),o=void 0})),o.add(e),e):e}function tU(e){if(e.type===y.COMPOSED)for(let t of e.gestures)tU(t);else for(let[t,n]of Object.entries(e.callbacks))e.callbacks[t]=tF(n)}let tH=new Set([\"name\",\"clip-radius\",\"overlap\",\"exposure-scene\",\"exposure-id\"]);function tW(e,t,n){let l={};let r=!1;for(let i in n){var o;let a=n[i];\"__spread\"===i||(\"class\"===i||\"className\"===i?(null!=a||(a=\"\"),l.className=a):\"ref\"===i?l[i]=null==(o=function(e){if(null==e)return e;if(\"function\"==typeof e||\"object\"==typeof e&&\"current\"in e)return\"__ref\"in e?e:Object.defineProperty(e,\"__ref\",{value:1});throw Error(`Elements' \"ref\" property should be a function, or an object created by createRef(), but got [${typeof e}] instead`)}(a))?void 0:o.__ref:\"function\"==typeof a?l[i]=`${e.__id}:${t}:${i}`:\"__self\"===i||\"__source\"===i||(!r&&tH.has(i)&&(r=!0),l[i]=a))}return r&&(l.flatten=!1),l}class tV{get parentNode(){return this.__parent}get nextSibling(){return this.__nextSibling}contains(e){return e.parentNode===this}appendChild(e){return this.insertBefore(e)}insertBefore(t,n){t.__removed_from_tree?(t.__removed_from_tree=!1,tJ([t],this.__id,null==n?void 0:n.__id)):null==e||e.push(1,this.__id,t.__id,null==n?void 0:n.__id);let l=t.__parent;l&&(t.__previousSibling?t.__previousSibling.__nextSibling=t.__nextSibling:l.__firstChild=t.__nextSibling,t.__nextSibling?t.__nextSibling.__previousSibling=t.__previousSibling:l.__lastChild=t.__previousSibling),n?(n.__previousSibling?(n.__previousSibling.__nextSibling=t,t.__previousSibling=n.__previousSibling):(this.__firstChild=t,t.__previousSibling=null),n.__previousSibling=t,t.__nextSibling=n,t.__parent=this):(this.__lastChild?(this.__lastChild.__nextSibling=t,t.__previousSibling=this.__lastChild):(this.__firstChild=t,t.__previousSibling=null),this.__lastChild=t,t.__parent=this,t.__nextSibling=null)}removeChild(t){if(null==e||e.push(2,this.__id,t.__id),t.__removed_from_tree=!0,t.__parent!==this)throw Error(\"The node to be removed is not a child of this node.\");t.__previousSibling?t.__previousSibling.__nextSibling=t.__nextSibling:this.__firstChild=t.__nextSibling,t.__nextSibling?t.__nextSibling.__previousSibling=t.__previousSibling:this.__lastChild=t.__previousSibling,t.__parent=null,t.__previousSibling=null,t.__nextSibling=null,tp(()=>{tg(t,e=>{var t;e.__values&&(null==(t=e.__snapshot_def.refAndSpreadIndexes)||t.forEach(t=>{let n=e.__values[t];n&&(\"object\"==typeof n||\"function\"==typeof n)&&(\"__spread\"in n&&\"ref\"in n?tc(n.ref,null):\"__ref\"in n&&tc(n,null))}))})},null,0,0),tD.push(t.__id)}tearDown(){tg(this,e=>{e.__parent=null,e.__previousSibling=null,e.__nextSibling=null,ty.values.delete(e.__id)})}get childNodes(){let e=[];let t=this.__firstChild;for(;t&&(e.push(t),t!==this.__lastChild);)t=t.__nextSibling;return e}setAttribute(t,n){var l,r,o;if(\"values\"===t){if(e){let t=this.__values;if(t)for(let l=0;l<n.length;l++){let{needUpdate:r,valueToCommit:o}=this.setAttributeImpl(n[l],t[l],l);r&&e.push(3,this.__id,l,o)}else{let t=[];let l=n.length;for(let e=0;e<l;++e){let{valueToCommit:l}=this.setAttributeImpl(n[e],null,e);t[e]=l}e.push(4,this.__id,t)}}else null==(l=this.__snapshot_def.refAndSpreadIndexes)||l.forEach(e=>{let t=n[e];t&&(\"object\"==typeof t||\"function\"==typeof t)&&(\"__spread\"in t&&\"ref\"in t?tp(null,t.ref,this.__id,e):\"__ref\"in t&&tp(null,t,this.__id,e))});this.__values=n;return}\"string\"==typeof t?(null!=(r=this.__extraProps)?r:this.__extraProps={})[t]=n:(null!=(o=this.__values)?o:this.__values=[])[t]=n,null==e||e.push(3,this.__id,t,n)}setAttributeImpl(e,t,l){if(!e)return t&&\"object\"==typeof t&&\"__ref\"in t&&tp(t,null,this.__id,l),{needUpdate:t!==e,valueToCommit:e};let r=typeof e;if(\"object\"===r){if(\"__spread\"in e){let r=null==t?void 0:t.__spread;let o=tW(this,l,e);let i=!eZ(r,o);if(e.__spread=o,tp(r&&t.ref,e.ref,this.__id,l),i)for(let e in o){let t=o[e];t&&(t._wkltId?o[e]=tF(t):t.__isGesture?tU(t):\"__lynx_timing_flag\"==e&&(null==r?void 0:r[e])!=t&&n&&(n.needTimestamps=!0))}return{needUpdate:i,valueToCommit:o}}return\"__ref\"in e?(tp(t,e,this.__id,l),{needUpdate:!1,valueToCommit:1}):\"_wkltId\"in e?{needUpdate:!0,valueToCommit:tF(e)}:\"__isGesture\"in e?(tU(e),{needUpdate:!0,valueToCommit:e}):\"__ltf\"in e?n&&(null==t?void 0:t.__ltf)!=e.__ltf?(n.needTimestamps=!0,{needUpdate:!0,valueToCommit:e}):{needUpdate:!1,valueToCommit:e}:{needUpdate:!eZ(t,e),valueToCommit:e}}return\"function\"===r?e.__ref?(tp(t,e,this.__id,l),{needUpdate:!1,valueToCommit:1}):{needUpdate:!t,valueToCommit:1}:{needUpdate:t!==e,valueToCommit:e}}constructor(t){this.__parent=null,this.__firstChild=null,this.__lastChild=null,this.__previousSibling=null,this.__nextSibling=null,this.type=t,this.__snapshot_def=tv.values.get(t);let n=this.__id=ty.nextId+=1;ty.values.set(n,this),null==e||e.push(0,t,n)}}function tJ(t,n,l){for(let r of t){let t=r.__id;null==e||e.push(0,r.type,t);let o=r.__values;o&&(r.__values=void 0,r.setAttribute(\"values\",o));let i=r.__extraProps;for(let e in i)r.setAttribute(e,i[e]);tJ(r.childNodes,t),null==e||e.push(1,n,t,l)}}let tz={};let tG=\"Lynx.Error.CtxNotFound\";let tq=null;function tK(e,t){if(null==e)return{};var n,l,r,o={};if(\"undefined\"!=typeof Reflect&&Reflect.ownKeys){for(r=0,n=Reflect.ownKeys(e);r<n.length;r++)l=n[r],!(t.indexOf(l)>=0)&&Object.prototype.propertyIsEnumerable.call(e,l)&&(o[l]=e[l]);return o}if(o=function(e,t){if(null==e)return{};var n,l,r={},o=Object.getOwnPropertyNames(e);for(l=0;l<o.length;l++)n=o[l],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n]);return r}(e,t),Object.getOwnPropertySymbols)for(r=0,n=Object.getOwnPropertySymbols(e);r<n.length;r++)l=n[r],!(t.indexOf(l)>=0)&&Object.prototype.propertyIsEnumerable.call(e,l)&&(o[l]=e[l]);return o}function tQ(e,t){null!=a||(a=[]),a.push([e,t])}i=new tV(\"root\");let tZ=[];function tX(){ei(null,i),tA.forEach(e=>{e()}),tA.clear(),tZ.length=0,a&&(a.length=0)}(k=m||(m={}))[k.Begin=0]=\"Begin\",k[k.End=1]=\"End\",k[k.Attr=2]=\"Attr\",k[k.Text=3]=\"Text\";function tY([t,n]){if(!(\"__k\"in i))return void tZ.push([t,n]);try{(function(t,n){switch(t){case p.firstScreen:{let t;try{q()}catch(e){t=e}let{root:l,jsReadyEventIdSwap:r}=n;tl(!0,e7,\"react_lynx_hydrate\"),tr(\"hydrateParseSnapshotStart\");let o=JSON.parse(l);tr(\"hydrateParseSnapshotEnd\"),tr(\"diffVdomStart\");let u=function(t,n){e=[];let l=(t,n)=>{var r,o,i;if(to.set(n.__id,t.id),ty.updateId(n.__id,t.id),null==(r=n.__values)||r.forEach((l,r)=>{let o=t.values[r];if(l)if(\"object\"==typeof l)if(\"__spread\"in l){delete l.__spread;let e=tW(n,r,l);for(let t in e){let n=e[t];n&&\"object\"==typeof n&&(\"_wkltId\"in n?tF(n):\"__isGesture\"in n&&tU(n))}n.__values[r].__spread=e,l=e}else\"__ref\"in l?l=o:\"_wkltId\"in l?tF(l):\"__isGesture\"in l&&tU(l);else\"function\"==typeof l&&(l=\"__ref\"in l?o:`${n.__id}:${r}:`);eZ(l,o)||void 0===l&&null===o||e.push(3,n.__id,r,l)}),n.__extraProps)for(let l in n.__extraProps){let r=n.__extraProps[l];eZ(r,null==(o=t.extraProps)?void 0:o[l])||e.push(3,n.__id,l,r)}let{slot:a}=n.__snapshot_def;let u=null!=(i=t.children)?i:[];let s=n.childNodes;a&&a.forEach(([n],r)=>{switch(n){case v.Slot:case v.MultiChildren:{let e=u[r];l(e,s[r]);break}case v.Children:case v.ListChildren:{let n=function(e,t,n,l){let r=0;let o={$$diff:!0,i:{},r:[],m:{}};let i={};for(let t=0;t<e.length;t++){var a,u;let n=e[t];(null!=(u=i[a=n.type])?u:i[a]=new Set).add([n,t])}for(let e=0;e<t.length;e++){let a;let u=t[e];let s=i[u.type];if(s&&s.size>0&&([a]=s,a)&&n(a[0],u)){s.delete(a);let t=a[1];if(l(a[0],u,t,e),t<r){o.m[t]=e;continue}r=t}else o.i[e]=u}for(let e in i)for(let[,t]of i[e])o.r.push(t);return o}(u,s,(e,t)=>e.type===t.type,(e,t)=>{l(e,t)});(function(e,t,n,l,r){let o;if(!(!eX(t.i)||!eX(t.m)||t.r.length>0))return e;let i=new Set(t.r);let{i:a,m:u}=t;let s=new Map;let _=0;o=e[0];let c=[];let d=0;let p=0;let f=Object.keys(a).length;for(;o||f>0;){let t=!1;if(o&&i.has(p))l(o);else if(o&&void 0!==u[p])s.set(u[p],o),f++;else{let e=o;s.has(d)?(e=s.get(d),t=!0,r(e,o),f--):void 0!==a[d]&&(e=n(a[d],o),t=!0,f--),c.push(e),d++}o&&!t&&(o=e[++_],p++)}return c})(u,n,(e,n)=>{tJ([e],t.id,null==n?void 0:n.id)},n=>{e.push(2,t.id,n.id)},(n,l)=>{e.push(1,t.id,n.id,null==l?void 0:l.id)})}}})};return l(t,n),tf(),e9()}(o,i);tr(\"diffVdomEnd\"),t1(),a&&(a.forEach(e=>{var t;let[n,l]=e;let[o,...i]=n.split(\":\");for(;r[o];)o=null==(t=r[o])?void 0:t.toString();try{t2([o,...i].join(\":\"),l)}catch(e){lynx.reportError(e)}}),a.length=0),lynxCoreInject.tt.publishEvent=t2,lynxCoreInject.tt.publicComponentEvent=t3;let s=tT++;let _={patchList:[{snapshotPatch:u,id:s}]};tE.length&&(_.delayedRunOnMainThreadData=tk());let c=tN(_,{isHydration:!0});for(let e of(lynx.getNativeApp().callLepusMethod(p.patchUpdate,c,()=>{tA.forEach((e,t)=>{t>s||(e(),tA.delete(t))})}),ta))e();if(ti.value=!1,ta.length=0,t)throw t;break}case p.globalEventFromLepus:{let[e,t]=n;lynx.getJSModule(\"GlobalEventEmitter\").trigger(e,t);break}case p.publishEvent:{let{handlerName:e,data:t}=n;lynxCoreInject.tt.publishEvent(e,t)}}})(t,n)}catch(e){lynx.reportError(e)}}let t0=!1;function t1(){t0||(t0=!0,tZ&&(tZ.forEach(e=>{tY(e)}),tZ.length=0),t0=!1)}function t2(e,t){var n,l;null==(n=(l=lynxCoreInject.tt).callBeforePublishEvent)||n.call(l,t);let r=ty.getValueBySign(e);if(r)try{r(t)}catch(e){lynx.reportError(e)}}function t3(e,t,n){t2(t,n)}j.document=tz,j.requestAnimationFrame=e2,tz.createElement=function(e){return new tV(e)},tz.createElementNS=function(e,t){return new tV(t)},tz.createTextNode=function(e){let t=new tV(null);return t.setAttribute(0,e),Object.defineProperty(t,\"data\",{set(e){t.setAttribute(0,e)}}),t};let t5=lynxCoreInject.tt;t5.OnLifecycleEvent=tY,t5.publishEvent=tQ,t5.publicComponentEvent=function(e,t,n){tQ(t,n)},t5.callDestroyLifetimeFun=()=>{var e,t;let n=null==(e=(t=lynx).getCoreContext)?void 0:e.call(t);for(let e of(n&&tq&&(n.removeEventListener(tG,tq),tq=null),tS(),t$))e();t$.length=0,tX()},t5.updateGlobalProps=function(e){Object.assign(lynx.__globalProps,e),Promise.resolve().then(()=>{let e=j._diff2;j._diff2=(t,n)=>{e&&e(t,n);let l=n.__c;l&&(l.__e=!0)};try{ei(i.__jsx,i)}finally{j._diff2=e}}),lynxCoreInject.tt.GlobalEventEmitter.emit(\"onGlobalPropsChanged\",void 0)},t5.updateCardData=function(e,t){let{__lynx_timing_flag:n}=e,l=tK(e,[\"__lynx_timing_flag\"]);n&&lynx.reportError(Error(`Received unsupported updateData with \\`__lynx_timing_flag\\` (value \"${n}\"), the timing flag is ignored`));let{type:r=f.UPDATE}=null!=t?t:{};r==f.RESET&&(lynx.__initData={}),lynx.__initData=Object.assign({},lynx.__initData,l),lynxCoreInject.tt.GlobalEventEmitter.emit(\"onDataChanged\",[l])},t5.onAppReload=function(t){e=void 0,tX(),++tC,lynx.__initData=Object.assign({},lynx.__initData,t),ti.value=!0,ei(i.__jsx,i)},t5.processCardConfig=()=>{},tq=e=>{(function(e){let t=e.id;let n=ty.values.get(t);let l=\"null\";if(n&&n.__snapshot_def){for(let[e,t]of tv.values.entries())if(t===n.__snapshot_def){l=e;break}}lynx.reportError(Error(`snapshotPatchApply failed: ctx not found, snapshot type: '${l}'`))})(e.data)},null==(I=(P=lynx).getCoreContext)||I.call(P).addEventListener(tG,tq),e1(j,\"__c\",(e,t,n)=>{tI.value=!1,tn(\"updateDiffVdomEnd\"),tr(\"diffVdomEnd\");let l=tD;tD=[];let r=tT++;tA.set(r,()=>{l.length&&setTimeout(()=>{l.forEach(e=>{var t;null==(t=ty.values.get(e))||t.tearDown()})},1e4)});let o=e9();let i=function(){let e=tO;return tO={},e}();let a=function(){let e=tL;return tL={},e}();let u=tS();if(!o&&0===u.length){td(),null==e||e(t,n);return}let s={id:r};(null==o?void 0:o.length)&&(s.snapshotPatch=o),u.length&&(s.workletRefInitValuePatch=u);let _={patchList:[s]};eX(i)||(_.flushOptions=i),o&&tE.length&&(_.delayedRunOnMainThreadData=tk());let c=tN(_,a);lynx.getNativeApp().callLepusMethod(p.patchUpdate,c,()=>{let e=tA.get(r);e&&(e(),tA.delete(r))}),td(),null==e||e(t,n)});let t9=()=>{e&&(n||(tl(!1,e8),tr(\"diffVdomStart\",!0)),te&&tn(\"updateDiffVdomStart\"))};e1(j,e4,(e,t,n)=>{t9(),e&&e(t,n)}),e1(j,\"__\",(e,t,n)=>{t9(),e&&e(t,n)}),(null==(b=lynx.performance)||null==(g=b.isProfileRecording)?void 0:g.call(b))&&function(){let t;if(!(t=lynx.performance)||\"function\"!=typeof t.profileStart||\"function\"!=typeof t.profileEnd||\"function\"!=typeof t.profileMark||\"function\"!=typeof t.profileFlowId)return;let n=t.profileStart.bind(t);let l=t.profileEnd.bind(t);let r=t.profileMark.bind(t);let o=t.profileFlowId.bind(t);{let e=Symbol(\"FLOW_ID\");e1(H.prototype,\"setState\",function(t,n,l){var i;null==t||t.call(this,n,l),this.__d&&r(\"ReactLynx::setState\",{flowId:null!=(i=this[e])?i:this[e]=o(),args:function(e,t){let n={};return null!=e||(e=n),null!=t||(t=n),{\"current state keys\":JSON.stringify(Object.keys(e)),\"next state keys\":JSON.stringify(Object.keys(t)),\"changed (shallow diff) state keys\":JSON.stringify(Object.keys(t).filter(n=>e[n]!==t[n]))}}(this.state,this.__s)})}),e1(j,\"_diff2\",(t,l,r)=>{if(\"function\"==typeof l.type){let t={};{let n=r.__c;if(n){let l=n[e];if(delete n[e],l){var o;null!=(o=tL).flowIds||(o.flowIds=[]),tL.flowIds.push(l),t.flowId=l}}}n(`ReactLynx::diff::${e0(l.type)}`,t)}null==t||t(l,r)}),e1(j,\"diffed\",(e,t)=>{\"function\"==typeof t.type&&l(),null==e||e(t)}),e1(j,\"__c\",(e,t,r)=>{n(\"ReactLynx::commit\",e3({},tL.flowIds?{flowId:tL.flowIds[\"0\"],flowIds:tL.flowIds}:{})),null==e||e(t,r),l()})}e1(j,\"__r\",(e,t)=>{let r=t.__c.render;t.__c.render=function(e,o,i){n(`ReactLynx::render::${e0(t.type)}`);try{return r.call(this,e,o,i)}finally{l(),t.__c.render=r}},null==e||e(t)});{let t=Symbol(\"PATCH_LENGTH\");e1(j,\"__b\",(n,l)=>{\"function\"==typeof l.type&&e&&(l[t]=e.length),null==n||n(l)}),e1(j,\"diffed\",(n,l)=>{\"function\"==typeof l.type&&e&&(l[t]===e.length&&r(\"ReactLynx::diffFinishNoPatch\",{args:{componentName:e0(l.type)}}),delete l[t]),null==n||n(l)})}}();{let{initData:e,updateData:t}=lynxCoreInject.tt._params;lynx.__initData=e3({},e,t),lynx.registerDataProcessors=function(){}}let t4=0;let t7=v.Slot;v.MultiChildren;let t8=v.Children;v.ListChildren;{function t6(e,t){lynx.reportError(Error(`${e} is deprecated and has different behavior in ReactLynx 3.0, please use ref or ${t} instead.`))}H.prototype._reactAppInstance=lynxCoreInject.tt,H.prototype.getNodeRef=function(e,t){return t6(\"getNodeRef\",\"lynx.createSelectorQuery\"),lynxCoreInject.tt._reactLynx.ReactComponent.prototype.getNodeRef.call({_type:\"\",_nativeApp:lynxCoreInject.tt._nativeApp,_uiModule:lynxCoreInject.tt._nativeApp.nativeModuleProxy.LynxUIMethodModule,_reactAppInstance:lynxCoreInject.tt},e,t)},H.prototype.getNodeRefFromRoot=function(e){return t6(\"getNodeRefFromRoot\",\"lynx.createSelectorQuery\"),lynxCoreInject.tt._reactLynx.ReactComponent.prototype.getNodeRefFromRoot.call({_type:\"\",_nativeApp:lynxCoreInject.tt._nativeApp,_uiModule:lynxCoreInject.tt._nativeApp.nativeModuleProxy.LynxUIMethodModule,_reactAppInstance:lynxCoreInject.tt},e)},H.prototype.registerModule=function(e,t){this._reactAppInstance.registerModule(e,t)},H.prototype.getJSModule=function(e){return this._reactAppInstance.getJSModule(e)},H.prototype.addGlobalEventListener=function(e,t,n){return this._reactAppInstance.getJSModule(\"GlobalEventEmitter\").addListener(e,t,n)},H.prototype.getElementById=function(e){return t6(\"getElementById\",\"lynx.getElementById\"),lynx.getElementById(e)},H.prototype.GlobalEventEmitter=lynxCoreInject.tt.GlobalEventEmitter,H.prototype.createSelectorQuery=function(){return t6(\"createSelectorQuery on component instance\",\"lynx.createSelectorQuery\"),lynx.createSelectorQuery()};let e=H.prototype.setState;H.prototype.setState=function(t,n){e.call(this,t,n);let l=this.__s[e6];l&&(tO.__lynx_timing_flag=l,tn(\"updateSetStateTrigger\",l),this.__s[e6]=\"\")}}let ne=0;class nt{get current(){}set current(e){}toJSON(){return{_wvid:this._wvid}}constructor(e,t){var n;this._initValue=e,this._type=t,this._wvid=++ne,n=this._wvid,tb()&&(tw.add(n),tx.push([n,e]))}}class nn extends nt{constructor(e){super(e,\"main-thread\");{var t,n;let e=this._wvid;this._lifecycleObserver=null==(t=(n=lynx.getNativeApp()).createJSObjectDestructionObserver)?void 0:t.call(n,()=>{var t,n;null==(t=(n=lynx).getCoreContext)||t.call(n).dispatchEvent({type:h.releaseWorkletRef,data:{id:e}})})}}}function nl(e){return eS(()=>new nn(e),[])}let nr={onScroll:\"bindscroll\",onScrollStateChange:\"bindscrollstatechange\",onScrollToLower:\"bindscrolltolower\",onScrollToUpper:\"bindscrolltoupper\",onScrollEnd:\"bindscrollend\",onScrollToUpperEdge:\"bindscrolltoupperedge\",onScrollToLowerEdge:\"bindscrolltoloweredge\",onScrollToNormalState:\"bindscrolltonormalstate\"};let no={onUIAppear:\"binduiappear\",onUIDisappear:\"binduidisappear\"};let ni={onLayoutChange:\"bindlayoutchange\"};let na={onTouchStart:\"bindtouchstart\",onTouchMove:\"bindtouchmove\",onTouchEnd:\"bindtouchend\",onTouchCancel:\"bindtouchcancel\",onTouchTap:\"bindtap\",onLongPress:\"bindlongpress\",catchTouchStart:\"catchtouchstart\",catchTouchMove:\"catchtouchmove\",catchTouchEnd:\"catchtouchend\",catchTouchCancel:\"catchtouchcancel\",catchTap:\"catchtap\",catchLongPress:\"catchlongpress\"};function nu(e,t,n){let l=(ec=8,eS(function(){return t},null!=n?n:[]));eS(()=>{lynx.getJSModule(\"GlobalEventEmitter\").addListener(e,l)},[e,l]),eQ(()=>()=>{lynx.getJSModule(\"GlobalEventEmitter\").removeListener(e,l)},[e,l])}let ns=eN(ej(function(e,t){let{pid:n,scene:l,estimatedStyle:r,top:o=\"10px\",bottom:i=\"10px\",left:a=\"10px\",right:u=\"10px\",unmountOnExit:s,unloadable:_=!1,children:c}=e;let d=null!=s?s:_;let[p,f]=eb(!1);let h=ew(void 0);if(nu(\"exposure\",e=>{e.forEach(e=>{p||e[\"exposure-scene\"]!==l||e[\"exposure-id\"]!==n||f(!0)})},[p]),nu(\"disexposure\",e=>{d&&e.forEach(e=>{e[\"exposure-scene\"]===l&&e[\"exposure-id\"]===n&&f(!1)})},[d]),!d)return p?c:e_(n_,{values:[o,i,a,u,n,l,r]});{var v,y,m,g;let{width:e,height:t}=r,s=tK(r,[\"width\",\"height\"]);return e_(nc,{values:[o,i,a,u,n,l,({detail:e})=>{p&&(h.current={width:`${e.width}px`,height:`${e.height}px`})},p?{}:e3({width:null!=(m=null==(v=h.current)?void 0:v.width)?m:e,height:null!=(g=null==(y=h.current)?void 0:y.height)?g:t},s)],children:p&&c})}}));let n_=tm(\"__snapshot_ae447_b9b02_1\",null,null,null,void 0,globDynamicComponentEntry,null);let nc=tm(\"__snapshot_ae447_b9b02_2\",null,null,th,void 0,globDynamicComponentEntry,null);let nd=tm(\"__snapshot_4ab23_9c9de_1\",null,null,th,void 0,globDynamicComponentEntry,[0]);let np=function(e){let{children:t,sticky:n,elementProps:l}=e;return e_(nd,{values:[e5(e3({},l),{\"android-touch-slop\":\"page\",name:\"background\",flatten:!1,__spread:!0})],children:[n,t]})};class nf extends Error{constructor(e,t){super(\"string\"==typeof t?t:\"unknown error\"),this.errorCode=e,this.detail=t}}let nh={_wkltId:\"ec97:c55d4:1\"};var nv=function(e){let t=++t4;return\"function\"!=typeof e?{_jsFnId:t,_error:`Argument of runOnBackground should be a function, but got [${typeof e}] instead`}:(null!=e.toJSON||(e.toJSON=()=>\"[BackgroundFunction]\"),{_jsFnId:t,_fn:e})};let ny=tm(\"__snapshot_8d379_266d1_1\",null,null,th,void 0,globDynamicComponentEntry,null);let nm=tm(\"__snapshot_8d379_266d1_2\",null,null,th,void 0,globDynamicComponentEntry,null);let ng=tm(\"__snapshot_8d379_266d1_3\",null,null,null,void 0,globDynamicComponentEntry,null);let nb=tm(\"__snapshot_8d379_266d1_4\",null,null,null,void 0,globDynamicComponentEntry,null);let nx=tm(\"__snapshot_8d379_266d1_6\",null,null,th,void 0,globDynamicComponentEntry,[0]);let nw=tm(\"__snapshot_8d379_266d1_5\",null,null,[[t7,1],[t7,2]],void 0,globDynamicComponentEntry,null);let nS=function(e,t){var n,l,r,o;let i,a,u,s;let{children:_,bounceableOptions:c,sticky:d,elementProps:p}=e;let f=null!=(n=p[\"scroll-x\"])?n:!1===p[\"scroll-y\"];let h=p.id;let{style:v}=p;let y=!1;let m={enableBounces:!1};\"boolean\"==typeof c?(y=c,m={enableBounces:!0,singleSidedBounce:\"both\",alwaysBouncing:!0,validAnimationVersion:!0}):\"object\"==typeof c&&(y=c.enableBounces,(m=c).singleSidedBounce=null!=(l=c.singleSidedBounce)?l:\"both\",m.alwaysBouncing=null==(r=c.alwaysBouncing)||r,m.validAnimationVersion=null==(o=c.validAnimationVersion)||o);let g=function(e){var t,n,l,r,o,i,a,u,s,_,c;let d=nl(.55);let p=nl(.99);let f=nl(15);let h=nl(null!=(t=e.bounceableOptions.debugLog)&&t);let v=nl(null!=(n=e.bounceableOptions.singleSidedBounce)?n:\"both\");let y=nl(null);let m=nl(null);let g=nl(0);let b=nl({});let x=nl(null);let w=nl({});let S=nl({});let C=nl({});let E=nl(null!=(l=e.bounceableOptions.estimatedHeight)?l:SystemInfo.pixelHeight/SystemInfo.pixelRatio);let k=nl(null!=(r=e.bounceableOptions.estimatedWidth)?r:SystemInfo.pixelWidth/SystemInfo.pixelRatio);let I=nl(0);let P=nl(0);let O=nl(!1);let A=nl(!1);let T=nl(!1);let D=nl(!1);let L=nl(!1);let N=null!=(o=e.id)?o:\"bounceableContainer\";let{enableBounces:$,onScrollToBounces:M}=e.bounceableOptions;let j=null!=(i=e.bounceableOptions.alwaysBouncing)&&i;let R=null!=(a=e.scrollOrientation)?a:\"vertical\";let B=null==(u=e.bounceableOptions.enableBounceEventInFling)||u;let F=null!=(s=e.bounceableOptions.startBounceTriggerDistance)?s:0;let U=null!=(_=e.bounceableOptions.endBounceTriggerDistance)?_:0;let H=nl(null!=(c=e.bounceableOptions.validAnimationVersion)&&c);let W={_c:{scrollOrientation:R},_wkltId:\"402b:a938f:1\"};let V={_wkltId:\"402b:a938f:2\"};let J={_wkltId:\"402b:a938f:3\"};let z={_wkltId:\"402b:a938f:4\"};let G={_c:{isAndroid:J,selectorMT:nh,containerID:N},_wkltId:\"402b:a938f:5\"};let q={_c:{temporaryValidVersionCheckForRAF:H},_wkltId:\"402b:a938f:7\"};let K={_c:{startTouch:y,startBouncingTouch:x,scrollOrientation:R},_wkltId:\"402b:a938f:8\"};let Q={_c:{bouncingPositionInfo:b,toUpper:D,toLower:L,alwaysBouncing:j,bouncingStatus:{alwaysBouncing:4,noBouncing:3,upperBouncing:1,lowerBouncing:2,inScrollingRange:0},debugLog:h},_wkltId:\"402b:a938f:9\"};let Z={_c:{isEmpty:z,bouncingPositionInfo:b,prevTouch:m,startTouch:y,bouncingTouchStartPosition:S,isVertical:W,selectorMT:nh,containerID:N},_wkltId:\"402b:a938f:11\"};let X={_c:{debugLog:h},_wkltId:\"402b:a938f:12\",_jsFn:{_jsFn1:nv(function(e){$&&M&&M(e)})}};let Y={_c:{isVertical:W,height:E,width:k,isEmpty:z,startTouchBouncingDelta:w,bouncingTouchStartPosition:S,rubberC:d,debugLog:h,bouncingSetStyle:Z},_wkltId:\"402b:a938f:13\"};let ee={_c:{bouncingPositionInfo:b,startBounceTriggerDistance:F,endBounceTriggerDistance:U,threshold:V},_wkltId:\"402b:a938f:15\"};let et={_c:{debugLog:h,bouncingPositionInfo:b,touchingEndBouncingBackEnableFlag:A,beta:f,bouncingSetStyle:Z,threshold:V,customRequestAnimationFrame:q},_wkltId:\"402b:a938f:16\"};return{\"main-thread:bindtouchstart\":{_c:{startTouch:y,debugLog:h,bouncingTouchStartPosition:S,bouncingPositionInfo:b,touchEndFrameEnableFlag:O,touchingEndBouncingBackEnableFlag:A,flingEndWithBouncingEnableFlag:T},_wkltId:\"402b:a938f:17\"},\"main-thread:bindtouchend\":{_c:{clearTouchInfo:{_c:{debugLog:h,startTouch:y,bouncingTouchStartPosition:S,prevTouch:m,startBouncingTouch:x,startTouchBouncingDelta:w},_wkltId:\"402b:a938f:6\"},enableScroll:G,debugLog:h,shouldBounceWhenTouchEnd:{_c:{bouncingStatus:{inScrollingRange:0,noBouncing:3,upperBouncing:1,lowerBouncing:2,alwaysBouncing:4},alwaysBouncing:j},_wkltId:\"402b:a938f:10\"},getBouncingStatus:Q,bouncingPositionInfo:b,isOverTriggerDistance:ee,triggerScrollToBouncesEvent:X,touchEndFrameEnableFlag:O,threshold:V,bouncingBack:et,flingDeceleratingRate:p,bouncingSetStyle:Z,customRequestAnimationFrame:q},_wkltId:\"402b:a938f:19\"},\"main-thread:bindtouchmove\":{_c:{prevTouch:m,startTouch:y,getCurrentDelta:K,getBouncingStatus:Q,bouncingStatus:{upperBouncing:1,lowerBouncing:2,alwaysBouncing:4,inScrollingRange:0},enableScroll:G,rubberEffect:Y,debugLog:h,alwaysBouncing:j,triggerRubberEffectIfCrossingEdge:{_c:{getCurrentDelta:K,debugLog:h,toUpper:D,toLower:L,singleSidedBounce:v,enableScroll:G,rubberEffect:Y},_wkltId:\"402b:a938f:14\"}},_wkltId:\"402b:a938f:18\"},\"main-thread:bindlayoutchange\":{_c:{height:E,isAndroid:J,width:k},_wkltId:\"402b:a938f:25\"},\"main-thread:bindscroll\":{_c:{scrollX:I,scrollY:P,isEmpty:z,prevScroll:C,isVertical:W,scrollVelocity:g},_wkltId:\"402b:a938f:20\"},onUpperExposure:{_c:{debugLog:h,toUpper:D,singleSidedBounce:v,prevScroll:C,startBouncingTouch:x,prevTouch:m,startTouchBouncingDelta:w,bouncingPositionInfo:b,scrollVelocity:g,threshold:V,flingEndWithBouncingEnableFlag:T,bouncingBack:et,flingDeceleratingRate:p,bouncingSetStyle:Z,isOverTriggerDistance:ee,triggerScrollToBouncesEvent:X,customRequestAnimationFrame:q},_wkltId:\"402b:a938f:22\"},onUpperDisexposure:{_c:{debugLog:h,toUpper:D},_wkltId:\"402b:a938f:21\"},onLowerExposure:{_c:{debugLog:h,toLower:L,singleSidedBounce:v,prevTouch:m,startBouncingTouch:x,startTouchBouncingDelta:w,bouncingPositionInfo:b,enableBounceEventInFling:B,scrollVelocity:g,threshold:V,flingEndWithBouncingEnableFlag:T,bouncingBack:et,flingDeceleratingRate:p,bouncingSetStyle:Z,isOverTriggerDistance:ee,triggerScrollToBouncesEvent:X,customRequestAnimationFrame:q},_wkltId:\"402b:a938f:24\"},onLowerDisexposure:{_c:{debugLog:h,toLower:L},_wkltId:\"402b:a938f:23\"}}}({bounceableOptions:m,id:h,scrollOrientation:f?\"horizontal\":\"vertical\"});return y&&(m.upperBounceItem&&(i=e_(ny,{values:[`${h}-upperBounceWrapper`,`position:absolute;${f?\"right:100%\":\"bottom:100%\"}; ${f?\"height:100%;\":\"width:100%;\"};${f?\"width:max-content\":\"height:max-content\"};`,p[\"main-thread:gesture\"]],children:m.upperBounceItem})),m.lowerBounceItem&&(a=e_(nm,{values:[`${h}-lowerBounceWrapper`,`position:absolute;${f?\"left:100%\":\"top:100%\"}; ${f?\"height:100%;\":\"width:100%;\"};${f?\"width:max-content\":\"height:max-content\"};`,p[\"main-thread:gesture\"]],children:m.lowerBounceItem})),u=e_(ng,{values:[`display: flex; flex-direction: column; overflow:hidden; height: ${f?\"100%\":\"1ppx\"}; width: ${f?\"1ppx\":\"100%\"};`,h,`${h}-upperExposureView`,g.onUpperDisexposure,g.onUpperExposure,p[\"main-thread:gesture\"]]}),s=e_(nb,{values:[`display: flex; flex-direction: column; overflow:hidden; height: ${f?\"100%\":\"1ppx\"}; width: ${f?\"1ppx\":\"100%\"};`,h,`${h}-lowerExposureView`,g.onLowerDisexposure,g.onLowerExposure,p[\"main-thread:gesture\"]]})),e_(nw,{values:[`${h}-BounceWrapper`,`display: flex; flex-direction: column; overflow:hidden; height: ${f?\"100%\":`${null==v?void 0:v.height}`}; width: ${f?`${null==v?void 0:v.width}`:\"100%\"};`,p[\"main-thread:gesture\"]],children:[e_(nx,{values:[e5(e3({},p,g),{bounces:!1,\"ios-enable-simultaneous-touch\":!0,name:\"background\",flatten:!1,__spread:!0})],children:[u,d,_,s]}),e_(\"wrapper\",{children:[i,a]})]})};let nC=eN(ej(function(e,t){let{scrollviewId:n=\"scrollview\",horizontal:l=!1,style:r,children:o,scrollOrientation:i,lazyOptions:a,className:u=\"\",bounceableOptions:s={enableBounces:!0,singleSidedBounce:\"iOSBounces\"},enableScroll:_=!0,enableScrollMonitor:c=!1,scrollMonitorTag:d,sticky:p,scrollPropagationBehavior:f=\"native\",temporaryBlockScrollClass:h=\"BDXLynxViewPager\",temporaryBlockScrollTag:v=0,temporaryNestedScroll:y,androidTouchSlop:m,\"main-thread:gesture\":g}=e;let b=ew(e3({},nr,no,na,ni,nE));let x=a?e3({firstScreenItemCount:1},a):void 0;let w=((e,t)=>{let n={};for(let l of Object.keys(e))l in t&&(n[t[l]]=e[l]);return e3({},n,((e,t)=>{let n={};for(let l of(nl(),Object.keys(e)))l in t&&(n[t[l]]={_c:{events:e,event:l},_wkltId:\"eb73:31a1b:1\"});return n})(e,Object.entries(t).reduce((e,[t,n])=>(e[`main-thread:${t}`]=`main-thread:${n}`,e),{})))})(e,b.current);let S=()=>i?\"horizontal\"===i:l;let C=!1;let E={enableBounces:!1};if(\"boolean\"==typeof s)E={enableBounces:C=s,singleSidedBounce:\"both\",alwaysBouncing:!0,validAnimationVersion:!0};else if(\"object\"==typeof s){var k,I,P;C=s.enableBounces,(E=s).singleSidedBounce=null!=(k=s.singleSidedBounce)?k:\"both\",E.alwaysBouncing=null==(I=s.alwaysBouncing)||I,E.validAnimationVersion=null==(P=s.validAnimationVersion)||P}let O=C&&(null==E?void 0:E.singleSidedBounce)===\"iOSBounces\";let A=(e,t)=>{if(!Array.isArray(e))return e;let l=null==t?void 0:t.enableLazy;return e.map((e,r)=>l&&r>=Number(null==t?void 0:t.firstScreenItemCount)?e_(ns,{scene:null==t?void 0:t.scene,pid:`pid_${r}`,estimatedStyle:null==t?void 0:t.estimatedItemStyle,top:null==t?void 0:t.exposureTop,bottom:null==t?void 0:t.exposureBottom,left:null==t?void 0:t.exposureLeft,right:null==t?void 0:t.exposureRight,children:e},`${n}_lazy_${r}`):e)};let T=e3({id:n,\"scroll-x\":S(),\"scroll-y\":!S(),\"enable-scroll-monitor\":c,\"scroll-monitor-tag\":d,\"main-thread:gesture\":g,\"force-can-scroll\":\"preventPropagate\"===f,\"ios-block-gesture-class\":\"preventPropagate\"===f?h:\"\",\"ios-recognized-view-tag\":\"preventPropagate\"===f?v:0,\"enable-nested-scroll\":\"Android\"===SystemInfo.platform?null==y||y:\"iOS\"!==SystemInfo.platform||\"propagate\"===f,\"enable-new-nested\":!0,className:u,style:r,bounces:O,\"enable-scroll\":_},void 0!==m&&{\"android-touch-slop\":m},w);return C&&\"iOSBounces\"!==E.singleSidedBounce&&\"none\"!==E.singleSidedBounce?e_(nS,{elementProps:T,bounceableOptions:E,sticky:p,children:A(o,x)}):e_(np,{elementProps:T,sticky:p,children:A(o,x)})}));let nE={onContentSizeChange:\"bindcontentsizechanged\"};function nk(e){let t=ew(e);t.current=eS(()=>e,[e]);let n=ew();return null!=n.current||(n.current=function(...e){return t.current.apply(this,e)}),n.current}function nI(){for(var e,t,n=0,l=\"\",r=arguments.length;n<r;n++)(e=arguments[n])&&(t=function e(t){var n,l,r=\"\";if(\"string\"==typeof t||\"number\"==typeof t)r+=t;else if(\"object\"==typeof t)if(Array.isArray(t)){var o=t.length;for(n=0;n<o;n++)t[n]&&(l=e(t[n]))&&(r&&(r+=\" \"),r+=l)}else for(l in t)t[l]&&(r&&(r+=\" \"),r+=l);return r}(e))&&(l&&(l+=\" \"),l+=t);return l}let nP=eu({active:!1,disabled:!1});let nO=tm(\"__snapshot_11572_54683_1\",null,null,th,void 0,globDynamicComponentEntry,[0]);let nA=e=>{let{children:t,onClick:n,disabled:l=!1,style:r,className:o,buttonProps:i}=e;let[a,u]=eb(!1);let s=a&&!l;let _=\"function\"==typeof t?t({active:s,disabled:l}):t;let c=nk(()=>{l||u(!0)});let d=nk(()=>{if(u(!1),l)return});let p=nk(()=>{l||null==n||n()});let f=eS(()=>({active:s,disabled:l}),[s,l]);return e_(nP.Provider,{value:f,children:e_(nO,{values:[e5(e3({bindtap:p,bindtouchstart:c,bindtouchend:d,bindtouchcancel:d,\"event-through\":!1,style:r,className:nI(o,{\"ui-active\":s,\"ui-disabled\":l})},i),{__spread:!0})],children:_})})};function nT(e){var t,n;return e&&null!=(n=null!=(t=e.detail)?t:e.params)?n:{}}let nD=(e,...t)=>{e&&console.info(...t)};function nL(e,t){let n=0;let l=()=>{++n>=e?t():lynx.requestAnimationFrame(l)};lynx.requestAnimationFrame(l)}let nN=new Map;let n$=0;let nM=tm(\"__snapshot_0b292_2bba5_1\",null,null,[[t8,1]],void 0,globDynamicComponentEntry,[0]);let nj=tm(\"__snapshot_0b292_2bba5_2\",null,null,th,void 0,globDynamicComponentEntry,[0]);let nR=e=>{let{id:t,container:n,children:l,className:r,style:o,overlayLevel:i,debugLog:a=!1,overlayViewProps:u}=e;let s=ew(null);let _=null!=u?u:{},{\"event-through\":c=!0}=_,d=tK(_,[\"event-through\"]);let[p,f]=eb(null!=t?t:()=>`lynx-ui-overlay-viewport-${n$++}`);let[h]=eb(i);nD(a,\"[OverlayView] id:\",p,\"container:\",n);let[v,y]=eb(void 0===h);return eQ(()=>{void 0!==h&&nL(2,()=>{y(!0)})},[]),n?e_(nM,{values:[e5(e3({\"custom-layout\":!0,visible:v,style:{overflow:\"visible\",position:\"fixed\"},mode:(e=>{if(e)return nN.has(e)?nN.get(e):e})(n),bindshowoverlay:e=>{nD(a,\"[OverlayView] handleShowOverlay\",e)},\"events-pass-through\":!0,\"cut-out-mode\":!0,level:h,id:p},d),{__spread:!0}),o,r,c],children:l}):e_(nj,{values:[e5(e3({ref:s,className:r,style:o,id:p},u),{__spread:!0})],children:l})};var nB=((O={})[O.Initial=0]=\"Initial\",O[O.Entering=1]=\"Entering\",O[O.DelayedEntering=2]=\"DelayedEntering\",O[O.Entered=3]=\"Entered\",O[O.Leaving=4]=\"Leaving\",O[O.Left=5]=\"Left\",O);let nF=({state:e,enableDelay:t,grouped:n=!1})=>{let l=t?2:1;let r=e===l||3===e;return{leaving:4===e,entering:e===l,animating:4===e||e===l,open:n?r||4===e:r,closed:n?5===e:4===e||5===e||t&&1===e}};let nU=({state:e,enableDelay:t,className:n,transition:l,grouped:r})=>{let o=nF({state:e,enableDelay:t,grouped:r});return l?nI(n,{\"ui-entering\":o.entering,\"ui-leaving\":o.leaving,\"ui-animating\":o.animating,\"ui-open\":o.open,\"ui-closed\":o.closed}):nI(n,{\"ui-open\":o.open,\"ui-closed\":o.closed})};eu(null);let nH=eu(null);let nW=e=>{let{children:t,status:n}=e;return\"function\"==typeof t?t(n):t};function nV(e){let{show:t,forceMount:n,state:l,setPresenceState:r,children:o,enableDelay:i=!1,onOpen:a,onClose:u,debugLog:s}=e;let[_,c]=eb(nB.Left);let d=function(e){let{show:t,state:n,enableDelay:l=!1,setPresenceState:r,onOpen:o,onClose:i,debugLog:a=!1}=e;nD(a,`[lynx-ui-presence][usePresence] init, show: ${t}, state: ${n}, enableDelay: ${l}`);let u=l?nB.DelayedEntering:nB.Entering;let s=ew(!1);let _=ew(!1);let c=ew(!0);let d=ew(t);let[p,f]=eb(!1);let h=ew(0);let v=ew(0);let y=ew(0);let m=ew(0);let g=ew(0);d.current=t;let b=()=>!1===_.current&&!1===s.current;let x=()=>{nD(a,`[lynx-ui-presence][usePresence] handleAnimationStart state:${n}, show:${t}, isTransition:${s.current}, isKFAnimating:${_.current}`)};let w=()=>{(n===nB.Entering||n===nB.DelayedEntering)&&b()&&(d.current?r(nB.Entered):r(nB.Leaving)),n===nB.Leaving&&b()&&r(nB.Left)};return eQ(()=>{nD(a,`[lynx-ui-presence][usePresence] state effect, state: ${n}, show: ${t}, enableDelay: ${l}, isTransitionAnimating: ${s.current}, isKFAnimating: ${_.current}`),n===nB.Entered&&(null==o||o()),n===nB.Left&&(c.current||null==i||i(),nD(a,\"[lynx-ui-presence][usePresence] set mount=false (Left)\"),f(!1)),n===nB.Leaving&&(()=>{g.current=0,v.current+=1;let e=v.current;nD(a,`[lynx-ui-presence][usePresence] leaving loop scheduled, loopId: ${e}`);let t=()=>{if(e===v.current&&b()){if(g.current>=24){nD(a,`[lynx-ui-presence][usePresence] leaving timeout reached, loopId: ${e}, frames: ${g.current}`),r(nB.Left);return}g.current+=1,nL(1,t)}};nL(1,t)})(),n===u&&(()=>{m.current=0,h.current+=1;let e=h.current;nD(a,`[lynx-ui-presence][usePresence] entering loop scheduled, loopId: ${e}`);let t=()=>{if(e===h.current&&b()){if(m.current>=24){nD(a,`[lynx-ui-presence][usePresence] entering timeout reached, loopId: ${e}, frames: ${m.current}`),r(nB.Entered);return}m.current+=1,nL(1,t)}};nL(1,t)})()},[n]),eQ(()=>{nD(a,`[lynx-ui-presence][usePresence] show effect show:${t}, enableDelay:${l}, state:${n}, mount:${p}`),y.current+=1;let e=y.current;if(t)nD(a,\"[lynx-ui-presence][usePresence] set mount=true\"),f(!0),nD(a,\"[lynx-ui-presence][usePresence] schedule set Entering in 8 frames\"),nL(8,()=>{e===y.current&&r(nB.Entering)}),l&&(nD(a,\"[lynx-ui-presence][usePresence] schedule set DelayedEntering in 16 frames\"),nL(16,()=>{e===y.current&&r(nB.DelayedEntering)}));else n===nB.Entered||n===nB.Entering||n===nB.DelayedEntering?(nD(a,\"[lynx-ui-presence][usePresence] show=false -> set PresenceState.Leaving\"),r(nB.Leaving)):n===nB.Initial&&p&&(nD(a,\"[lynx-ui-presence][usePresence] show=false in Initial -> set mount=false\"),f(!1))},[t,l]),eQ(()=>{c.current=!1},[]),{controllers:{state:n,mount:p,setPresenceState:r},animationHandlers:{handleKFStart:()=>{_.current=!0,h.current+=1,v.current+=1,nD(a,`[lynx-ui-presence][usePresence] KF start, loopId: ${v.current}`),x()},handleKFCancel:()=>{_.current=!1,nD(a,`[lynx-ui-presence][usePresence] KF cancel, loopId: ${v.current}`),w()},handleKFEnd:e=>{_.current=!1,nD(a,`[lynx-ui-presence][usePresence] KF end, loopId: ${v.current}`),w()},handleTransitionStart:()=>{s.current=!0,h.current+=1,v.current+=1,nD(a,`[lynx-ui-presence][usePresence] Transition start, loopId: ${v.current}`),x()},handleTransitionCancel:()=>{s.current=!1,nD(a,`[lynx-ui-presence][usePresence] Transition cancel, loopId: ${v.current}`),w()},handleTransitionEnd:e=>{s.current=!1,nD(a,`[lynx-ui-presence][usePresence] Transition end, loopId: ${v.current}`),w()}}}}({show:t,state:null!=l?l:_,setPresenceState:null!=r?r:c,enableDelay:i,onOpen:a,onClose:u,debugLog:s});let{mount:p}=d.controllers;let f=nF({state:null!=l?l:_,enableDelay:i});return e_(nH.Provider,{value:d,children:(p||n)&&nW({children:o,status:f})})}let nJ=SystemInfo.pixelWidth/SystemInfo.pixelRatio;let nz=SystemInfo.pixelHeight/SystemInfo.pixelRatio;function nG(e,t,n,l,r,o,i){try{var a=e[o](i);var u=a.value}catch(e){n(e);return}a.done?t(u):Promise.resolve(u).then(l,r)}function nq(e){return function(){var t=this,n=arguments;return new Promise(function(l,r){var o=e.apply(t,n);function i(e){nG(o,l,r,i,a,\"next\",e)}function a(e){nG(o,l,r,i,a,\"throw\",e)}i(void 0)})}}function nK(e){return e.split(\"-\")[0]}function nQ(e){return[\"top\",\"bottom\"].includes(nK(e))?\"y\":\"x\"}function nZ(e){return\"x\"===e?\"y\":\"x\"}function nX(e){return\"y\"===e?\"height\":\"width\"}function nY(e){return e.split(\"-\")[1]}function n0(e,t){return\"function\"==typeof e?e(t):e}function n1(e){return\"number\"==typeof e?{top:e,right:e,bottom:e,left:e}:e3({top:0,right:0,bottom:0,left:0},e)}function n2(e,t,n){return Math.max(e,Math.min(t,n))}function n3(e){let{x:t,y:n,width:l,height:r}=e;return{width:l,height:r,top:n,left:t,right:t+l,bottom:n+r,x:t,y:n}}let n5=(e=0)=>({name:\"offset\",options:e,fn:t=>nq(function*(){var n,l;let{x:r,y:o,placement:i,middlewareData:a}=t;let u=yield nq(function*(){var n,l,r;let{placement:o,platform:i,elements:a}=t;let u=yield null==(n=i.isRTL)?void 0:n.call(i,a.floating);let s=nK(o);let _=nY(o);let c=\"y\"===nQ(o);let d=[\"left\",\"top\"].includes(s)?-1:1;let p=u&&c?-1:1;let f=n0(e,t);let{mainAxis:h,crossAxis:v,alignmentAxis:y}=\"number\"==typeof f?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:null!=(l=f.mainAxis)?l:0,crossAxis:null!=(r=f.crossAxis)?r:0,alignmentAxis:f.alignmentAxis};return _&&\"number\"==typeof y&&(v=\"end\"===_?-1*y:y),c?{x:v*p,y:h*d}:{x:h*d,y:v*p}})();return i===(null==(n=a.offset)?void 0:n.placement)&&(null==(l=a.arrow)?void 0:l.alignmentOffset)?{}:{x:r+u.x,y:o+u.y,data:e5(e3({},u),{placement:i})}})()});let n9=e=>({name:\"arrow\",options:e,fn:t=>nq(function*(){var n,l;let{x:r,y:o,placement:i,rects:a,platform:u,middlewareData:s}=t;let{padding:_=0}=null!=(n=n0(e,t))?n:{};let{width:c,height:d}=a.reference;let p={x:0,y:0,width:c,height:d};let f=n1(_);let h={x:r,y:o};let v=nZ(nQ(i));let y=nX(v);let m=yield u.getDimensions(\"arrow\");let g=\"y\"===v;let b=p[y]+p[v]-h[v]-a.floating[y];let x=h[v]-p[v];let w=n3({x:r,y:o,width:a.floating.width,height:a.floating.height});let S=null!=(l=null==w?void 0:w[g?\"height\":\"width\"])?l:0;let C=S/2-m[y]/2-1;let E=Math.min(f[g?\"top\":\"left\"],C);let k=Math.min(f[g?\"bottom\":\"right\"],C);let I=S-m[y]-k;let P=S/2-m[y]/2+(b/2-x/2);let O=n2(E,P,I);let A=!s.arrow&&null!=nY(i)&&P!==O&&a.reference[y]/2-(P<E?E:k)-m[y]/2<0;let T=A?P<E?P-E:P-I:0;return{[v]:h[v]+T,data:e3({[v]:O,centerOffset:P-O-T},A&&{alignmentOffset:T}),reset:A}})()});function n4({reference:e,floating:t},n,l){let r;let o=nQ(n);let i=nZ(nQ(n));let a=nX(i);let u=nK(n);let s=\"y\"===o;let _=0+e.width/2-t.width/2;let c=0+e.height/2-t.height/2;let d=e[a]/2-t[a]/2;switch(u){case\"top\":r={x:_,y:0-t.height};break;case\"bottom\":r={x:_,y:0+e.height};break;case\"right\":r={x:0+e.width,y:c};break;case\"left\":r={x:0-t.width,y:c};break;default:r={x:0,y:0}}switch(nY(n)){case\"start\":r[i]-=d*(l&&s?-1:1);break;case\"end\":r[i]+=d*(l&&s?-1:1)}return r}function n7(e,t){return nq(function*(){let{x:n,y:l,rects:r,platform:o}=e;let{floating:i,reference:a}=r;let u=e3(e5(e3({},i),{x:n,y:l}),e.middlewareData.size?{width:n2(0,i.width,e.middlewareData.size.availableWidth),height:n2(0,i.height,e.middlewareData.size.availableHeight)}:{});let{padding:s=0}=n0(t,e);let _=n1(s);let c=n3((yield o.getClippingRect()));let d=n3({x:u.x+a.x,y:u.y+a.y,width:u.width,height:u.height});return{top:c.top-d.top+_.top,bottom:d.bottom-c.bottom+_.bottom,left:c.left-d.left+_.left,right:d.right-c.right+_.right}})()}let n8=(e={})=>({name:\"shift\",options:e,fn:t=>nq(function*(){let{x:n,y:l,placement:r}=t;let o=n0(e,t),{mainAxis:i=!0,crossAxis:a=!1,limiter:u={fn:({x:e,y:t})=>({x:e,y:t})}}=o,s=tK(o,[\"mainAxis\",\"crossAxis\",\"limiter\"]);let _={x:n,y:l};let c=yield n7(t,s);let d=nQ(nK(r));let p=nZ(d);let f=_[p];let h=_[d];if(i){let e=\"y\"===p?\"top\":\"left\";let t=\"y\"===p?\"bottom\":\"right\";let n=f+c[e];let l=f-c[t];f=n2(n,f,l)}if(a){let e=\"y\"===d?\"top\":\"left\";let t=\"y\"===d?\"bottom\":\"right\";let n=h+c[e];let l=h-c[t];h=n2(n,h,l)}let v=u.fn(e5(e3({},t),{[p]:f,[d]:h}));return e5(e3({},v),{data:{x:v.x-n,y:v.y-l,enabled:{[p]:i,[d]:a}}})})()});let n6=()=>{};let le=(e,t)=>{switch(t.type){case\"updateReference\":return e5(e3({},e),{reference:t.rect});case\"updateAlternativeReference\":return e5(e3({},e),{alternativeReference:t.rect});case\"updateFloating\":return e5(e3({},e),{floating:t.rect});case\"updateArrowCoords\":return e5(e3({},e),{arrow:e5(e3({},e.arrow),{coords:t.coords})});case\"updateArrowInfo\":return e5(e3({},e),{arrow:e3({},e.arrow,t.info)});case\"updateFloatingCoords\":return e5(e3({},e),{floatingCoords:t.coords});case\"updateMaxContentSize\":return e5(e3({},e),{maxContentSize:{maxWidth:`${Math.max(0,t.dimension.width)}px`,maxHeight:`${Math.max(0,t.dimension.height)}px`}});default:return e}};let lt=eu({sharedInfo:{reference:{y:0,x:0,width:0,height:0},floating:{y:0,x:0,width:0,height:0},arrow:{coords:{y:0,x:0},offset:0,size:0},floatingCoords:{y:0,x:0}},updateRects:n6,show:!1,forceMount:!1,setUncontrolledShow:n6,state:nB.Initial,setPresenceState:n6});let ln=e=>{let{children:t,onClose:n,onOpen:l,show:r,onVisibleChange:o,defaultShow:i=!1,forceMount:a=!1,debugLog:u}=e;let[s,_]=eb(nB.Initial);let[c,d]=eb(!1);let p=void 0!==r;let[f,h]=eb(i);let v=p?r:f;let{sharedInfo:y,updateRects:m}=(()=>{let[e,t]=ex(le,{reference:{width:0,height:0,x:-0,y:-0},floating:{width:0,height:0,x:-0,y:-0},arrow:{coords:{x:-0,y:-0},size:0,offset:0},floatingCoords:{x:-0,y:-0}});return{sharedInfo:e,updateRects:t}})();let g=eS(()=>({sharedInfo:y,updateRects:m,forceMount:a,show:v,setUncontrolledShow:h,hasAnchor:c,setHasAnchor:d,state:s,setPresenceState:_,onOpen:l,onClose:n,isControlled:p,onVisibleChange:o,debugLog:u}),[y,m,v,a,c,d,h,s,_,l,n,p,o,u]);return e_(lt.Provider,{value:g,children:t})};let ll=e=>{let t;let{children:n,placement:l,style:r,className:o,placementOffset:i=0,autoAdjust:a,crossAxisOffset:u=0,transition:s,popoverPositionerProps:_}=e;let{show:c,sharedInfo:d,updateRects:p,hasAnchor:f,state:h,setPresenceState:v,onClose:y,onOpen:m,debugLog:g}=eC(lt);let{reference:b,floating:x,alternativeReference:w,maxContentSize:S}=d;let{offset:C,size:E}=d.arrow;let k=(t={x:0,y:0,width:E,height:E},{getClippingRect:e=>(e&&\"string\"==typeof e?((e,t=!1,n=\"\")=>new Promise((l,r)=>{let o;(o={relativeTo:t?\"screen\":n,androidEnableTransformProps:!0},new Promise((t,n)=>{lynx.createSelectorQuery().select(`#${e}`).invoke({method:\"boundingClientRect\",params:o,success:e=>{t(e)},fail:e=>{n(new nf(e.code,JSON.stringify(e.data)))}}).exec()})).then(e=>{l(e)}).catch(e=>{r(e)})}))(e,!0).then(e=>e):e&&e instanceof Object&&\"current\"in e&&((e,t=!1,n=\"\")=>new Promise((l,r)=>{let o;(o={relativeTo:t?\"screen\":n,androidEnableTransformProps:!0},new Promise((t,n)=>{var l;if(!(null==e?void 0:e.current))return void n(new nf(2,\"no node found for the ref\"));null==e||null==(l=e.current)||l.invoke({method:\"boundingClientRect\",params:o,success:e=>{t(e)},fail:e=>{n(new nf(e.code,JSON.stringify(e.data)))}}).exec()})).then(e=>{l(e)}).catch(e=>{r(e)})}))(e,!0).then(e=>e),{x:0,y:0,width:nJ,height:nz}),getDimensions(e){switch(e){case\"floating\":return{width:x.width,height:x.height};case\"reference\":var n,l;return{width:null!=(n=null==w?void 0:w.width)?n:b.width,height:null!=(l=null==w?void 0:w.height)?l:b.height};case\"arrow\":return{width:t.width,height:t.height}}},getElementRects:()=>({floating:x,reference:null!=w?w:b}),isRTL:e=>!1});let I=\"shift\"===a?[n5({mainAxis:E+i,crossAxis:u}),n8({crossAxis:!0}),n9({padding:C})]:\"size\"===a?[n5({mainAxis:E+i,crossAxis:u}),((e={})=>({name:\"size\",options:e,fn:t=>nq(function*(){var n,l,r;let o,i;let{placement:a,rects:u,platform:s,elements:_}=t;let c=n0(e,t),{apply:d}=c,p=tK(c,[\"apply\"]);let f=yield n7(t,p);let h=nK(a);let v=nY(a);let y=\"y\"===nQ(a);let{width:m,height:g}=u.floating;\"top\"===h||\"bottom\"===h?(o=h,i=v===((yield null==(r=s.isRTL)?void 0:r.call(s,_.floating))?\"start\":\"end\")?\"left\":\"right\"):(i=h,o=\"end\"===v?\"top\":\"bottom\");let b=g-f.top-f.bottom;let x=m-f.left-f.right;let w=Math.min(g-f[o],b);let S=Math.min(m-f[i],x);let C=!t.middlewareData.shift;let E=w;let k=S;if((null==(n=t.middlewareData.shift)?void 0:n.enabled.x)&&(k=x),(null==(l=t.middlewareData.shift)?void 0:l.enabled.y)&&(E=b),C&&!v){let e=Math.max(f.left,0);let t=Math.max(f.right,0);let n=Math.max(f.top,0);let l=Math.max(f.bottom,0);y?k=m-2*(0!==e||0!==t?e+t:Math.max(f.left,f.right)):E=g-2*(0!==n||0!==l?n+l:Math.max(f.top,f.bottom))}return yield null==d?void 0:d(e5(e3({},t),{availableWidth:k,availableHeight:E})),{data:{availableWidth:k,availableHeight:E}}})()}))({apply({availableHeight:e,availableWidth:t}){p({type:\"updateMaxContentSize\",dimension:{width:t,height:e}})}}),n8({crossAxis:!0,limiter:((e={})=>({options:e,fn(t){let{x:n,y:l,placement:r,rects:o,middlewareData:i}=t;let{offset:a=0,mainAxis:u=!0,crossAxis:s=!0}=n0(e,t);let _={x:n,y:l};let c=nQ(r);let d=nZ(c);let{width:p,height:f}=o.reference;let h={x:0,y:0,width:p,height:f};let v=_[d];let y=_[c];let m=n0(a,t);let g=\"number\"==typeof m?{mainAxis:m,crossAxis:0}:e3({mainAxis:0,crossAxis:0},m);if(u){let e=\"y\"===d?\"height\":\"width\";let t=h[d]-o.floating[e]+g.mainAxis;let n=h[d]+h[e]-g.mainAxis;v<t?v=t:v>n&&(v=n)}if(s){var b,x,w,S;let e=\"y\"===d?\"width\":\"height\";let t=[\"top\",\"left\"].includes(nK(r));let n=h[c]-o.floating[e]+(t&&null!=(w=null==(b=i.offset)?void 0:b[c])?w:0)+(t?0:g.crossAxis);let l=h[c]+h[e]+(t?0:null!=(S=null==(x=i.offset)?void 0:x[c])?S:0)-(t?g.crossAxis:0);y<n?y=n:y>l&&(y=l)}return{[d]:v,[c]:y}}}))({crossAxis:!0,mainAxis:!0,offset:E+i})}),n9({padding:C})]:[n5({mainAxis:E+i,crossAxis:u}),n9({padding:C})];return eQ(()=>{h===nB.DelayedEntering&&(function(e){let t,n;let{placement:l=\"bottom\",middleware:r=[],platform:o,elements:i}=e;let{reference:a,floating:u,alternativeReference:s}=i;return t=null!=s?s:a,n={placement:l,platform:o,middleware:r},nq(function*(){var e;let{placement:l=\"bottom\",strategy:r=\"absolute\",middleware:o=[],platform:i}=n;let a=o.filter(Boolean);let s=yield null==(e=i.isRTL)?void 0:e.call(i,u);let _=yield i.getElementRects();let{x:c,y:d}=n4(_,l,s);let p=l;let f={};let h=0;for(let e=0;e<a.length;e++){let{name:n,fn:o}=a[e];let{x:v,y:y,data:m,reset:g}=yield o({x:c,y:d,initialPlacement:l,placement:p,strategy:r,middlewareData:f,rects:_,platform:i,elements:{reference:t,floating:u}});c=null!=v?v:c,d=null!=y?y:d,f=e5(e3({},f),{[n]:e3({},f[n],m)}),g&&h<=50&&(h++,\"object\"==typeof g&&(g.placement&&(p=g.placement),g.rects&&(_=!0===g.rects?yield i.getElementRects():g.rects),{x:c,y:d}=n4(_,p,s)),e=-1)}return{x:c,y:d,placement:p,strategy:r,middlewareData:f}})()})({placement:l,platform:k,elements:f?{floating:x,reference:b,alternativeReference:w}:{floating:x,reference:b},middleware:I}).then(e=>{let{x:t,y:n,middlewareData:l}=e;let r=l.arrow;let{x:o=null,y:i=null}=null!=r?r:{};p({type:\"updateFloatingCoords\",coords:{x:t,y:n}}),p({type:\"updateArrowCoords\",coords:{x:o,y:i}})})},[h]),e_(nV,{show:c,state:h,setPresenceState:v,enableDelay:!0,onClose:y,onOpen:m,debugLog:g,children:e_(ls.Provider,{value:{placement:l},children:e_(li,{placement:l,style:e3({},r,S&&{maxWidth:S.maxWidth,maxHeight:S.maxHeight}),className:o,placementOffset:i,transition:s,popoverOverlayProps:_,children:n})})})};let lr=e=>{let{style:t,children:n,className:l,onClick:r,disabled:o,transition:i}=e;let{updateRects:a,setUncontrolledShow:u,state:s,show:_,isControlled:c,onVisibleChange:d}=eC(lt);let p=(e=>{switch(e){case nB.Entering:case nB.DelayedEntering:case nB.Leaving:return!0;default:return!1}})(s);let f=p||o;return e_(nA,{buttonProps:{bindlayoutchange:e=>{let{width:t=0,height:n=0,left:l=0,top:r=0}=nT(e);a({type:\"updateReference\",rect:{width:t,height:n,x:l,y:r}})}},style:t,className:nI(nU({state:s,enableDelay:!0,className:l,transition:i}),{\"ui-busy\":p}),onClick:()=>{c?null==d||d(!_):null==u||u(e=>!e),null==r||r()},disabled:f,children:n})};tm(\"__snapshot_348d9_88fe9_1\",null,null,th,void 0,globDynamicComponentEntry,null);let lo=tm(\"__snapshot_348d9_88fe9_2\",null,null,th,void 0,globDynamicComponentEntry,null);let li=e=>{let{className:t,style:n,children:l,container:r,transition:o,popoverOverlayProps:i}=e;let{controllers:a}=eC(nH);let{state:u}=a;let{sharedInfo:s,updateRects:_}=eC(lt);let{floatingCoords:c}=s;let{x:d,y:p}=c;let f=nF({state:u,enableDelay:!0});let h=nU({state:u,enableDelay:!0,className:t,transition:o});let v=function(e){let[t,n]=eb(\"hidden\");return eQ(()=>{e===nB.DelayedEntering||e===nB.Entered||e===nB.Leaving?n(\"visible\"):n(\"hidden\")},[e]),t}(u);return e_(nR,{container:r,style:{left:`${d}px`,top:`${p}px`,position:\"absolute\"},overlayViewProps:i,children:e_(lo,{values:[e=>{let{width:t=0,height:n=0,left:l=0,top:r=0}=nT(e);_({type:\"updateFloating\",rect:{width:t,height:n,x:l,y:r}})},h,e5(e3({},n),{visibility:v})],children:nW({children:l,status:f})})})};let la=tm(\"__snapshot_348d9_88fe9_3\",null,null,th,void 0,globDynamicComponentEntry,[0]);let lu=e=>{let{children:t,style:n,className:l,transition:r,popoverContentProps:o}=e;let{animationHandlers:i,controllers:a}=eC(nH);let u=a.state;let{sharedInfo:s}=eC(lt);let{maxContentSize:_}=s;let{handleKFStart:c,handleKFCancel:d,handleKFEnd:p,handleTransitionStart:f,handleTransitionCancel:h,handleTransitionEnd:v}=i;let y=nU({state:u,enableDelay:!0,className:l,transition:r});return e_(la,{values:[e5(e3({bindanimationstart:c,bindanimationend:p,bindanimationcancel:d,bindtransitionstart:f,bindtransitioncancel:h,bindtransitionend:v,\"event-through\":!1,overlap:!1,style:e3({},n,_&&{maxWidth:_.maxWidth,maxHeight:_.maxHeight}),className:y},o),{flatten:!1,__spread:!0})],children:t})};let ls=eu({placement:\"top\"});tm(\"__snapshot_348d9_88fe9_4\",null,null,th,void 0,globDynamicComponentEntry,null);let l_=tm(\"__snapshot_a0f7d_37ee3_2\",null,null,th,void 0,globDynamicComponentEntry,null);let lc=tm(\"__snapshot_a0f7d_37ee3_3\",null,null,th,void 0,globDynamicComponentEntry,null);let ld=tm(\"__snapshot_a0f7d_37ee3_1\",null,null,[[t7,1],[t7,2]],void 0,globDynamicComponentEntry,null);function lp({title:e=\"Narrative Options\",description:t=\"Moments persist. Actions are transient. Tap to close.\",className:n,titleClassName:l,descriptionClassName:r,dividerClassName:o,sectionClassName:i,sectionTitleClassName:a,rowClassName:u,rowLabelClassName:s,rowValueClassName:_}){return e_(ld,{values:[nI(\"options-menu-panel\",n),nI(\"options-menu-divider\",o),nI(\"options-menu-section\",i),nI(\"options-menu-section-title\",a),nI(\"options-menu-row\",u),nI(\"options-menu-row-label\",s),nI(\"options-menu-row\",u),nI(\"options-menu-row-label\",s),nI(\"options-menu-row\",u),nI(\"options-menu-row-label\",s),nI(\"options-menu-section\",i),nI(\"options-menu-section-title\",a),nI(\"options-menu-row\",u),nI(\"options-menu-row-label\",s),nI(\"options-menu-row-value\",_),nI(\"options-menu-row\",u),nI(\"options-menu-row-label\",s),nI(\"options-menu-row-value\",_)],children:[e_(l_,{values:[nI(\"options-menu-title\",l)],children:e}),e_(lc,{values:[nI(\"options-menu-desc\",r)],children:t})]})}let lf={sm:'path(\"M3.75 7.5C2.925 7.5 2.25 8.175 2.25 9C2.25 9.825 2.925 10.5 3.75 10.5C4.575 10.5 5.25 9.825 5.25 9C5.25 8.175 4.575 7.5 3.75 7.5ZM14.25 7.5C13.425 7.5 12.75 8.175 12.75 9C12.75 9.825 13.425 10.5 14.25 10.5C15.075 10.5 15.75 9.825 15.75 9C15.75 8.175 15.075 7.5 14.25 7.5ZM9 7.5C8.175 7.5 7.5 8.175 7.5 9C7.5 9.825 8.175 10.5 9 10.5C9.825 10.5 10.5 9.825 10.5 9C10.5 8.175 9.825 7.5 9 7.5Z\")',md:'path(\"M5 10C3.9 10 3 10.9 3 12C3 13.1 3.9 14 5 14C6.1 14 7 13.1 7 12C7 10.9 6.1 10 5 10ZM19 10C17.9 10 17 10.9 17 12C17 13.1 17.9 14 19 14C20.1 14 21 13.1 21 12C21 10.9 20.1 10 19 10ZM12 10C10.9 10 10 10.9 10 12C10 13.1 10.9 14 12 14C13.1 14 14 13.1 14 12C14 10.9 13.1 10 12 10Z\")'};let lh=tm(\"__snapshot_70481_3b227_1\",null,null,null,void 0,globDynamicComponentEntry,null);function lv({size:e=\"md\",className:t}){return e_(lh,{values:[nI(`ellipsis-icon-${e}`,t),{clipPath:lf[e]}]})}let ly=tm(\"__snapshot_60ee0_153db_2\",null,null,th,void 0,globDynamicComponentEntry,null);let lm=tm(\"__snapshot_60ee0_153db_1\",null,null,th,void 0,globDynamicComponentEntry,null);({render:e=>{i.__jsx=e,ei(e,i),t1()},registerDataProcessors:e=>{lynx.registerDataProcessors(e)}}).render(e_(function(){return e_(lm,{children:e_(nC,{scrollOrientation:\"vertical\",className:\"scroll-view\",style:{zIndex:\"1000\"},children:e_(ly,{children:e_(ln,{onClose:()=>console.info(\"dismissed!\"),onOpen:()=>console.info(\"shown!\"),defaultShow:!0,children:e_(lr,{className:\"popover-trigger\",children:[e_(lv,{}),e_(ll,{placement:\"bottom\",placementOffset:12,autoAdjust:\"shift\",className:\"popover-positioner\",style:{zIndex:\"1000\"},children:e_(lu,{className:\"popover-content\",children:e_(lp,{})})})]})})})})})},{}));"},"cardType":"react","appType":"card","pageConfig":{"enableFiberArch":true,"useLepusNG":true,"enableReuseContext":true,"bundleModuleMode":"ReturnByFunction","templateDebugUrl":"","debugInfoOutside":true,"defaultDisplayLinear":true,"enableCSSInvalidation":true,"enableCSSSelector":true,"enableLepusDebug":false,"enableRemoveCSSScope":true,"targetSdkVersion":"3.2","defaultOverflowVisible":true,"lepusStrict":true,"useNewSwiper":true,"enableNewIntersectionObserver":true,"enableNativeList":true,"enableA11y":true,"enableAccessibilityElement":false,"enableCSSInheritance":true,"enableNewGesture":true,"removeDescendantSelectorScope":true},"lepusCode":{"worklet-runtime":"(()=>{\"use strict\";let e,t,n;function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class l{cancel(){return __ElementAnimate(this.effect.target.element,[3,this.id])}pause(){return __ElementAnimate(this.effect.target.element,[2,this.id])}play(){return __ElementAnimate(this.effect.target.element,[1,this.id])}start(){return __ElementAnimate(this.effect.target.element,[0,this.id,this.effect.keyframes,this.effect.options])}constructor(e){r(this,\"effect\",void 0),r(this,\"id\",void 0),this.effect=e,this.id=\"__lynx-inner-js-animation-\"+l.count++,this.start()}}function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}r(l,\"count\",0);class o{constructor(e,t,n){i(this,\"target\",void 0),i(this,\"keyframes\",void 0),i(this,\"options\",void 0),this.target=e,this.keyframes=t,this.options=n}}let a=!1,u=!0;class s{setAttribute(e,t){__SetAttribute(this.element,e,t),this.flushElementTree()}setStyleProperty(e,t){__AddInlineStyle(this.element,e,t),this.flushElementTree()}setStyleProperties(e){for(let t in e)__AddInlineStyle(this.element,t,e[t]);this.flushElementTree()}getAttribute(e){return __GetAttributeByName(this.element,e)}getAttributeNames(){return __GetAttributeNames(this.element)}querySelector(e){let t=__QuerySelector(this.element,e,{});return t?new s(t):null}querySelectorAll(e){return __QuerySelectorAll(this.element,e,{}).map(e=>new s(e))}animate(e,t){return new l(new o(this,e,\"number\"==typeof t?{duration:t}:null!=t?t:{}))}invoke(e,t){return new Promise((n,r)=>{__InvokeUIMethod(this.element,e,null!=t?t:{},e=>{0===e.code?n(e.data):r(Error(\"UI method invoke: \"+JSON.stringify(e)))}),this.flushElementTree()})}flushElementTree(){!a&&u&&(a=!0,Promise.resolve().then(()=>{a=!1,__FlushElementTree()}))}constructor(e){!function(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}(this,\"element\",void 0),Object.defineProperty(this,\"element\",{get:()=>e})}}class c{static get(){return null!=c.pageElement||(c.pageElement=__GetPageElement()),c.pageElement}}function d(e){let t=__QuerySelector(c.get(),e,{});return t?new s(t):null}function f(e){return __QuerySelectorAll(c.get(),e,{}).map(e=>new s(e))}function m(e,t){var n;let r=(null!=(n=SystemInfo.lynxSdkVersion)?n:\"1.0\").split(\".\");return Number(r[0])>e||Number(r[0])==e&&Number(r[1])>t}!function(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}(c,\"pageElement\",void 0);var y=function(e){return e.runWorkletCtx=\"Lynx.Worklet.runWorkletCtx\",e.runOnBackground=\"Lynx.Worklet.runOnBackground\",e.FunctionCallRet=\"Lynx.Worklet.FunctionCallRet\",e.releaseBackgroundWorkletCtx=\"Lynx.Worklet.releaseBackgroundWorkletCtx\",e.releaseWorkletRef=\"Lynx.Worklet.releaseWorkletRef\",e}(y||{});function h(e,t,n){let r;try{r=runWorklet(e,t)}finally{lynx.getJSContext().dispatchEvent({type:y.FunctionCallRet,data:JSON.stringify({resolveId:n,returnValue:r})})}}let _=(e,t)=>({current:t,_wvid:e}),k=t=>{let n,r=t._wvid;return r<0?(n=e._firstScreenWorkletRefMap[r])||(n=e._firstScreenWorkletRefMap[r]=_(r,t._initValue)):n=e._workletRefMap[r],n};function p(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function g(e,t,n){lynxWorkletImpl._workletMap[t]=n}let I=new WeakMap;function x(e,t){if(\"object\"!=typeof e||null===e)return e;if(t){let t=I.get(e);if(t)return t}let n={main:e};return v(n,0,e),t&&I.set(e,n.main),n.main}let v=(e,t,n)=>{if(++t>=1e3)throw Error(\"Depth of value exceeds limit of 1000.\");if(\"object\"==typeof e&&null!==e)for(let l in e){let i=e[l];if(\"object\"==typeof i&&null!==i){if(\"elementRefptr\"in i){e[l]=new s(i.elementRefptr);continue}if(!(i instanceof s)){if(v(i,t,n),\"_wvid\"in i){e[l]=k(i);continue}if(\"_wkltId\"in i){e[l]=lynxWorkletImpl._workletMap[i._wkltId].bind({...i}),e[l].ctx=i;continue}if(\"_jsFnId\"in i){var r;i._execId=n._execId,null==(r=lynxWorkletImpl._jsFunctionLifecycleManager)||r.addRef(n._execId,i);continue}}}}};void 0===globalThis.lynxWorkletImpl&&(globalThis.lynxWorkletImpl={_workletMap:{},_refImpl:e={_workletRefMap:{},_firstScreenWorkletRefMap:{},updateWorkletRef:function(e,t){k(e).current=t?new s(t):null},updateWorkletRefInitValueChanges:function(t){t.forEach(([t,n])=>{e._workletRefMap[t]||(e._workletRefMap[t]=_(t,n))})},clearFirstScreenWorkletRefMap:function(){e._firstScreenWorkletRefMap={}}},_runOnBackgroundDelayImpl:t={delayedBackgroundFunctionArray:[],delayRunOnBackground:function(e,n){var r;t.delayedBackgroundFunctionArray.push({task:n}),(null!=(r=e._delayIndices)?r:e._delayIndices=[]).push(t.delayedBackgroundFunctionArray.length-1)},runDelayedBackgroundFunctions:function(){for(let e of t.delayedBackgroundFunctionArray)e.jsFnHandle&&e.task(e.jsFnHandle._jsFnId,e.jsFnHandle._execId);t.delayedBackgroundFunctionArray.length=0}},_hydrateCtx:function(e,t){(function e(t,n,r){if(t&&\"object\"==typeof t&&n&&\"object\"==typeof n&&(!t._wkltId||t._wkltId===n._wkltId))for(let o in t)if(\"_wvid\"===o){var l,i;l=t[o],\"_initValue\"in(i=n)||(lynxWorkletImpl._refImpl._workletRefMap[l].current=i.current)}else if(\"_jsFn\"===o)!function(e,t,n){for(let r in e){let l=e[r],i=t[r];if(null==i?void 0:i._delayIndices)for(let e of i._delayIndices){let t=lynxWorkletImpl._runOnBackgroundDelayImpl.delayedBackgroundFunctionArray[e];l._execId=n,t.jsFnHandle=l}}}(t[o],n[o],r);else{let l=\"function\"==typeof n[o]?n[o].ctx:n[o];e(t[o],l,r)}})(e,t,e._execId)},_eventDelayImpl:n={_delayedWorkletParamsMap:new Map,runDelayedWorklet:function(e,t){(()=>{let r=n._delayedWorkletParamsMap.get(e._wkltId);if(void 0===r)return;let l=[];r.forEach(n=>{var r;let i=n[0];(null==i||null==(r=i.currentTarget)?void 0:r.elementRefptr)===t?setTimeout(()=>{runWorklet(e,n)},0):l.push(n)}),n._delayedWorkletParamsMap.set(e._wkltId,l)})()},clearDelayedWorklets:function(){n._delayedWorkletParamsMap.clear()}},_eomImpl:{setShouldFlush:function(e){u=e}},_runRunOnMainThreadTask:h},m(2,15)&&(globalThis.lynxWorkletImpl._jsFunctionLifecycleManager=new class e{addRef(e,t){var n;this.execIdRefCount.set(e,(null!=(n=this.execIdRefCount.get(e))?n:0)+1),this.registry.register(t,e)}removeRef(e){let t=this.execIdRefCount.get(e);if(t>1)return void this.execIdRefCount.set(e,t-1);this.execIdRefCount.delete(e),this.execIdSetToFire.add(e),this.willFire||(this.willFire=!0,Promise.resolve().then(()=>{this.fire()}))}fire(){lynx.getJSContext().dispatchEvent({type:y.releaseBackgroundWorkletCtx,data:Array.from(this.execIdSetToFire)}),this.execIdSetToFire.clear(),this.willFire=!1}constructor(){p(this,\"execIdRefCount\",new Map),p(this,\"execIdSetToFire\",new Set),p(this,\"willFire\",!1),p(this,\"registry\",void 0),this.registry=new FinalizationRegistry(this.removeRef.bind(this))}}),globalThis.registerWorklet=g,globalThis.registerWorkletInternal=g,globalThis.runWorklet=function(e,t){var r,l;if(!(\"object\"==typeof(r=e)&&null!==r&&(\"_wkltId\"in r||\"_lepusWorkletHash\"in r)))return void console.warn(\"Worklet: Invalid worklet object: \"+JSON.stringify(e));if(\"_lepusWorkletHash\"in e){return void(l=e._lepusWorkletHash,(()=>{let e=n._delayedWorkletParamsMap,r=e.get(l);r?r.push(t):e.set(l,[t])})())}return function(e,t){let n=(e._wkltId,x(e,!0)),r=x(t||[],!1);return n(...r)}(e,t)},function(){var e;lynx.querySelector=d,lynx.querySelectorAll=f,globalThis.setTimeout=lynx.setTimeout,globalThis.setInterval=lynx.setInterval,globalThis.clearTimeout=lynx.clearTimeout,globalThis.clearInterval=null!=(e=lynx.clearInterval)?e:lynx.clearTimeInterval;{let e=lynx.requestAnimationFrame;lynx.requestAnimationFrame=globalThis.requestAnimationFrame=t=>{if(!m(2,15))throw Error(\"requestAnimationFrame in main thread script requires Lynx sdk version 2.16\");return e(t)}}globalThis.cancelAnimationFrame=lynx.cancelAnimationFrame}(),function(){let t=lynx.getJSContext();t.addEventListener(y.runWorkletCtx,e=>{let t=JSON.parse(e.data);h(t.worklet,t.params,t.resolveId)}),t.addEventListener(y.releaseWorkletRef,t=>{var n;n=t.data.id,delete e._workletRefMap[n]})}())})();","root":"\"use strict\";let e,t,n,l,r,i,_,o,s,a,u,c,d;var f,p,h,m,v,g,b,y,w,x,S,k,C,I,E,A,T,W,P,O=O||\"__Card__\";var D={};var M=[];var N=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;var R=Array.isArray;function B(e,t){for(var n in t)e[n]=t[n];return e}function L(e){e&&e.parentNode&&e.parentNode.removeChild(e)}var F=M.slice;var $={__e:function(e,t,n,l){var r,i,_;for(;t=t.__;)if((r=t.__c)&&!r.__)try{if((i=r.constructor)&&null!=i.getDerivedStateFromError&&(r.setState(i.getDerivedStateFromError(e)),_=r.__d),null!=r.componentDidCatch&&(r.componentDidCatch(e,l||{}),_=r.__d),_)return r.__E=r}catch(t){e=t}throw e}};var U=0;function V(e,t,n){var l,r,i,_={};for(i in t)\"key\"==i?l=t[i]:\"ref\"==i?r=t[i]:_[i]=t[i];if(arguments.length>2&&(_.children=arguments.length>3?F.call(arguments,2):n),\"function\"==typeof e&&null!=e.defaultProps)for(i in e.defaultProps)void 0===_[i]&&(_[i]=e.defaultProps[i]);return H(e,_,l,r,null)}function H(e,t,n,l,r){var i={type:e,props:t,key:n,ref:l,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:null==r?++U:r,__i:-1,__u:0};return null==r&&null!=$.vnode&&$.vnode(i),i}function j(e){return e.children}function z(e,t){this.props=e,this.context=t}function G(e,t){var n;if(null==t)return e.__?G(e.__,e.__i+1):null;for(;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e)return n.__e;return\"function\"==typeof e.type?G(e):null}z.prototype.setState=function(e,t){var n;n=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=B({},this.state),\"function\"==typeof e&&(e=e(B({},n),this.props)),e&&B(n,e),null!=e&&this.__v&&(t&&this._sb.push(t),K(this))},z.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),K(this))},z.prototype.render=j;var q=[];var J=\"function\"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout;function K(e){(!e.__d&&(e.__d=!0)&&q.push(e)&&!X.__r++||w!==$.debounceRendering)&&((w=$.debounceRendering)||J)(X)}var Y=function(e,t){return e.__v.__b-t.__v.__b};function X(){var e;for(q.sort(Y);e=q.shift();)if(e.__d){var t=q.length;(function(e){var t=e.__v,n=t.__e,l=[],r=[];if(e.__P){var i=B({},t);i.__v=t.__v+1,$.vnode&&$.vnode(i),$.renderComponent&&$.renderComponent(i,e),ei(e.__P,i,t,e.__n,e.__P.namespaceURI,32&t.__u?[n]:null,l,null==n?G(t):n,!!(32&t.__u),r),i.__v=t.__v,i.__.__k[i.__i]=i,function(e,t,n){t.__d=void 0;for(var l=0;l<n.length;l++)e_(n[l],n[++l],n[++l]);$.__c&&$.__c(t,e),e.some(function(t){try{e=t.__h,t.__h=[],e.some(function(e){e.call(t)})}catch(e){$.__e(e,t.__v)}})}(l,i,r),i.__e!=n&&function e(t){if(null!=(t=t.__)&&null!=t.__c){t.__e=t.__c.base=null;for(var n=0;n<t.__k.length;n++){var l=t.__k[n];if(null!=l&&null!=l.__e){t.__e=t.__c.base=l.__e;break}}return e(t)}}(i)}})(e),q.length>t&&q.sort(Y)}X.__r=0}function Z(e,t,n,l,r,i,_,o,s,a,u){var c,d,f,p,h;var m=l&&l.__k||M;var v=t.length;for(n.__d=s,function(e,t,n){var l,r,i,_=t.length;var o=n.length,s=o;var a=0;for(l=0,e.__k=[];l<_;l++){if(null==(r=t[l])||\"boolean\"==typeof r||\"function\"==typeof r){r=e.__k[l]=null;continue}r=\"string\"==typeof r||\"number\"==typeof r||\"bigint\"==typeof r||r.constructor==String?e.__k[l]=H(null,r,null,null,null):R(r)?e.__k[l]=H(j,{children:r},null,null,null):void 0===r.constructor&&r.__b>0?e.__k[l]=H(r.type,r.props,r.key,r.ref?r.ref:null,r.__v):e.__k[l]=r;var u=l+a;r.__=e,r.__b=e.__b+1;var c=r.__i=function(e,t,n,l){var r=e.key;var i=e.type;var _=n-1;var o=n+1;var s=t[n];var a=l>+(null!=s&&(131072&s.__u)===0);if(null===s||s&&r==s.key&&i===s.type&&(131072&s.__u)===0)return n;if(a)for(;_>=0||o<t.length;){if(_>=0){if((s=t[_])&&(131072&s.__u)===0&&r==s.key&&i===s.type)return _;_--}if(o<t.length){if((s=t[o])&&(131072&s.__u)===0&&r==s.key&&i===s.type)return o;o++}}return -1}(r,n,u,s);i=null,-1!==c&&(i=n[c],s--,i&&(i.__u|=131072)),null==i||null===i.__v?(-1==c&&a--,\"function\"!=typeof r.type&&(r.__u|=65536)):c!==u&&(c==u-1?a--:c==u+1?a++:(c>u?a--:a++,r.__u|=65536))}if(s)for(l=0;l<o;l++)null!=(i=n[l])&&(131072&i.__u)===0&&(i.__e==e.__d&&(e.__d=G(i)),function e(t,n,l){var r;if($.unmount&&$.unmount(t),(r=t.ref)&&(!r.current||r.current===t.__e)&&e_(r,null,n),null!=(r=t.__c)){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(e){$.__e(e,n)}r.base=r.__P=null}if(r=t.__k)for(var i=0;i<r.length;i++)r[i]&&e(r[i],n,l||\"function\"!=typeof t.type);l||L(t.__e),t.__c=t.__=t.__e=t.__d=void 0}(i,i))}(n,t,m),s=n.__d,c=0;c<v;c++)null!=(f=n.__k[c])&&(d=-1===f.__i?D:m[f.__i]||D,f.__i=c,ei(e,f,d,r,i,_,o,s,a,u),p=f.__e,f.ref&&d.ref!=f.ref&&(d.ref&&e_(d.ref,null,f),u.push(f.ref,f.__c||p,f)),null==h&&null!=p&&(h=p),65536&f.__u||d.__k===f.__k?s=function e(t,n,l){if(\"function\"==typeof t.type){var r=t.__k;for(var i=0;r&&i<r.length;i++)r[i]&&(r[i].__=t,n=e(r[i],n,l));return n}t.__e!=n&&(n&&t.type&&!l.contains(n)&&(n=G(t)),l.insertBefore(t.__e,n||null),n=t.__e);do n=n&&n.nextSibling;while(null!=n&&8===n.nodeType);return n}(f,s,e):\"function\"==typeof f.type&&void 0!==f.__d?s=f.__d:p&&(s=p.nextSibling),f.__d=void 0,f.__u&=-196609);n.__d=s,n.__e=h}function Q(e,t,n){\"-\"===t[0]?e.setProperty(t,null==n?\"\":n):null==n?e[t]=\"\":\"number\"!=typeof n||N.test(t)?e[t]=n:e[t]=n+\"px\"}X.__r=0;var ee=0;function et(e,t,n,l,r){var i;e:if(\"style\"===t)if(\"string\"==typeof n)e.style.cssText=n;else{if(\"string\"==typeof l&&(e.style.cssText=l=\"\"),l)for(t in l)n&&t in n||Q(e.style,t,\"\");if(n)for(t in n)l&&n[t]===l[t]||Q(e.style,t,n[t])}else if(\"o\"===t[0]&&\"n\"===t[1])i=t!==(t=t.replace(/(PointerCapture)$|Capture$/i,\"$1\")),t=t.toLowerCase()in e||\"onFocusOut\"===t||\"onFocusIn\"===t?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+i]=n,n?l?n._attached=l._attached:(n._attached=ee,e.addEventListener(t,i?er:el,i)):e.removeEventListener(t,i?er:el,i);else{if(\"http://www.w3.org/2000/svg\"==r)t=t.replace(/xlink(H|:h)/,\"h\").replace(/sName$/,\"s\");else if(\"width\"!=t&&\"height\"!=t&&\"href\"!=t&&\"list\"!=t&&\"form\"!=t&&\"tabIndex\"!=t&&\"download\"!=t&&\"rowSpan\"!=t&&\"colSpan\"!=t&&\"role\"!=t&&\"popover\"!=t&&t in e)try{e[t]=null==n?\"\":n;break e}catch(e){}\"function\"==typeof n||(null!=n&&(!1!==n||\"-\"===t[4])?e.setAttribute(t,\"popover\"==t&&!0==n?\"\":n):e.removeAttribute(t))}}function en(e){return function(t){if(this.l){var n=this.l[t.type+e];if(null==t._dispatched)t._dispatched=ee++;else if(t._dispatched<n._attached)return;return n($.event?$.event(t):t)}}}var el=en(!1);var er=en(!0);function ei(e,t,n,l,r,i,_,o,s,a){var u,c,d,f,p,h,m,v=t.type;if(void 0!==t.constructor)return null;128&n.__u&&(s=!!(32&n.__u),i=[o=t.__e=n.__e]),(m=$.__b)&&m(t),(m=$._diff2)&&m(t,n);t:if(\"function\"==typeof v)try{var g=t.props;var b=\"prototype\"in v&&v.prototype.render;var y=(m=v.contextType)&&l[m.__c];var w=m?y?y.props.value:m.__:l;if(n.__c?h=(u=t.__c=n.__c).__=u.__E:(b?t.__c=u=new v(g,w):(t.__c=u=new z(g,w),u.constructor=v,u.render=eo),y&&y.sub(u),u.props=g,u.state||(u.state={}),u.context=w,u.__n=l,c=u.__d=!0,u.__h=[],u._sb=[]),b&&null==u.__s&&(u.__s=u.state),b&&null!=v.getDerivedStateFromProps&&(u.__s==u.state&&(u.__s=B({},u.__s)),B(u.__s,v.getDerivedStateFromProps(g,u.__s))),d=u.props,f=u.state,u.__v=t,c)b&&null==v.getDerivedStateFromProps&&null!=u.componentWillMount&&u.componentWillMount(),b&&null!=u.componentDidMount&&u.__h.push(u.componentDidMount);else{if(b&&null==v.getDerivedStateFromProps&&g!==d&&null!=u.componentWillReceiveProps&&u.componentWillReceiveProps(g,w),!u.__e&&(null!=u.shouldComponentUpdate&&!1===u.shouldComponentUpdate(g,u.__s,w)||t.__v===n.__v)){t.__v!==n.__v&&(u.props=g,u.state=u.__s,u.__d=!1),t.__e=n.__e,t.__k=n.__k,t.__k.some(function(e){e&&(e.__=t)});for(var x=0;x<u._sb.length;x++)u.__h.push(u._sb[x]);u._sb=[],u.__h.length&&_.push(u);break t}null!=u.componentWillUpdate&&u.componentWillUpdate(g,u.__s,w),b&&null!=u.componentDidUpdate&&u.__h.push(function(){u.componentDidUpdate(d,f,p)})}u.context=w,u.props=g,u.__P=e,u.__e=!1;var S=$.__r,k=0;if(b){u.state=u.__s,u.__d=!1,S&&S(t),m=u.render(u.props,u.state,u.context);for(var C=0;C<u._sb.length;C++)u.__h.push(u._sb[C]);u._sb=[]}else do u.__d=!1,S&&S(t),m=u.render(u.props,u.state,u.context),u.state=u.__s;while(u.__d&&++k<25);u.state=u.__s,null!=u.getChildContext&&(l=B(B({},l),u.getChildContext())),b&&!c&&null!=u.getSnapshotBeforeUpdate&&(p=u.getSnapshotBeforeUpdate(d,f));var I=null!=m&&m.type===j&&null==m.key?m.props.children:m;Z(e,R(I)?I:[I],t,n,l,r,i,_,o,s,a),u.base=t.__e,t.__u&=-161,u.__h.length&&_.push(u),h&&(u.__E=u.__=null)}catch(e){if(t.__v=null,s||null!=i){for(t.__u|=s?160:32;o&&8===o.nodeType&&o.nextSibling;)o=o.nextSibling;i[i.indexOf(o)]=null,t.__e=o}else t.__e=n.__e,t.__k=n.__k;$.__e(e,t,n)}else null==i&&t.__v===n.__v?(t.__k=n.__k,t.__e=n.__e):t.__e=function(e,t,n,l,r,i,_,o,s){var a,u,c,d,f,p,h,m=n.props;var v=t.props;var g=t.type;if(\"svg\"===g?r=\"http://www.w3.org/2000/svg\":\"math\"===g?r=\"http://www.w3.org/1998/Math/MathML\":r||(r=\"http://www.w3.org/1999/xhtml\"),null!=i){for(a=0;a<i.length;a++)if((f=i[a])&&\"setAttribute\"in f===!!g&&(g?f.localName===g:3===f.nodeType)){e=f,i[a]=null;break}}if(null==e){if(null===g)return $.document.createTextNode(v);e=$.document.createElementNS(r,g,v.is&&v),o&&($.__m&&$.__m(t,i),o=!1),i=null}if(null===g)m===v||o&&e.data===v||(e.data=v);else{if(i=i&&F.call(e.childNodes),m=n.props||D,!o&&null!=i)for(a=0,m={};a<e.attributes.length;a++)m[(f=e.attributes[a]).name]=f.value;for(a in m)if(f=m[a],\"children\"==a);else if(\"dangerouslySetInnerHTML\"==a)c=f;else if(!(a in v)){if(\"value\"==a&&\"defaultValue\"in v||\"checked\"==a&&\"defaultChecked\"in v)continue;et(e,a,null,f,r)}for(a in v)f=v[a],\"children\"==a?d=f:\"dangerouslySetInnerHTML\"==a?u=f:\"value\"==a?p=f:\"checked\"==a?h=f:o&&\"function\"!=typeof f||m[a]===f||et(e,a,f,m[a],r);if(u)o||c&&(u.__html===c.__html||u.__html===e.innerHTML)||(e.innerHTML=u.__html),t.__k=[];else if(c&&(e.innerHTML=\"\"),Z(e,R(d)?d:[d],t,n,l,\"foreignObject\"===g?\"http://www.w3.org/1999/xhtml\":r,i,_,i?i[0]:n.__k&&G(n,0),o,s),null!=i)for(a=i.length;a--;)L(i[a]);o||(a=\"value\",\"progress\"===g&&null==p?e.removeAttribute(\"value\"):void 0===p||p===e[a]&&(\"progress\"!==g||p)&&(\"option\"!==g||p===m[a])||et(e,a,p,m[a],r),a=\"checked\",void 0!==h&&h!==e[a]&&et(e,a,h,m[a],r))}return e}(n.__e,t,n,l,r,i,_,s,a);(m=$.diffed)&&m(t)}function e_(e,t,n){try{if(\"function\"==typeof e){var l=\"function\"==typeof e.__u;l&&e.__u(),l&&null==t||(e.__u=e(t))}else e.current=t}catch(e){$.__e(e,n)}}function eo(e,t,n){return this.constructor(e,n)}var es=0;function ea(e,t){var n={__c:t=\"__cC\"+es++,__:e,Consumer:function(e,t){return e.children(t)},Provider:function(e){if(!this.getChildContext){var n=[];var l={};l[t]=this,this.getChildContext=function(){return l},this.componentWillUnmount=function(){n=null},this.shouldComponentUpdate=function(e){this.props.value!==e.value&&n.some(function(e){e.__e=!0,K(e)})},this.sub=function(e){n.push(e);var t=e.componentWillUnmount;e.componentWillUnmount=function(){n&&n.splice(n.indexOf(e),1),t&&t.call(e)}}}return e.children}};return n.Provider.__=n.Consumer.contextType=n}var eu=0;var ec=[];var ed=$.__b;var ef=$.__r;var ep=$.diffed;var eh=$.__c;var em=$.unmount;var ev=$.__;function eg(e,t){$.__h&&$.__h(S,e,eu||t),eu=0;var n=S.__H||(S.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({}),n.__[e]}function eb(e){return eu=1,ey(eT,e)}function ey(e,t,n){var l=eg(x++,2);if(l._reducer=e,!l.__c&&(l.__=[n?n(t):eT(void 0,t),function(e){var t=l.__N?l.__N[0]:l.__[0];var n=l._reducer(t,e);t!==n&&(l.__N=[n,l.__[1]],l.__c.setState({}))}],l.__c=S,!S._hasScuFromHooks)){var r=function(e,t,n){if(!l.__c.__H)return!0;var r=l.__c.__H.__.filter(function(e){return!!e.__c});if(r.every(function(e){return!e.__N}))return!i||i.call(this,e,t,n);var _=!1;return r.forEach(function(e){if(e.__N){var t=e.__[0];e.__=e.__N,e.__N=void 0,t!==e.__[0]&&(_=!0)}}),(!!_||l.__c.props!==e)&&(!i||i.call(this,e,t,n))};S._hasScuFromHooks=!0;var i=S.shouldComponentUpdate;var _=S.componentWillUpdate;S.componentWillUpdate=function(e,t,n){if(this.__e){var l=i;i=void 0,r(e,t,n),i=l}_&&_.call(this,e,t,n)},S.shouldComponentUpdate=r}return l.__N||l.__}function ew(e){return eu=5,ex(function(){return{current:e}},[])}function ex(e,t){var n=eg(x++,7);return eA(n.__H,t)&&(n.__=e(),n.__H=t,n.__h=e),n.__}function eS(e){var t=S.context[e.__c];var n=eg(x++,9);return(n.c=e,t)?(null==n.__&&(n.__=!0,t.sub(S)),t.props.value):e.__}function ek(){var e;for(;e=ec.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(eI),e.__H.__h.forEach(eE),e.__H.__h=[]}catch(t){e.__H.__h=[],$.__e(t,e.__v)}}$.__b=function(e){S=null,ed&&ed(e)},$.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),ev&&ev(e,t)},$.__r=function(e){ef&&ef(e),S=e.__c,x=0;var t=S.__H;t&&(k===S?(t.__h=[],S.__h=[],t.__.forEach(function(e){e.__N&&(e.__=e.__N),e._pendingArgs=e.__N=void 0})):(t.__h.forEach(eI),t.__h.forEach(eE),t.__h=[],x=0)),k=S},$.diffed=function(e){ep&&ep(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(1===ec.push(t)||C!==$.requestAnimationFrame)&&((C=$.requestAnimationFrame)||function(e){var t,n=function(){clearTimeout(l),eC&&cancelAnimationFrame(t),setTimeout(e)};var l=setTimeout(n,100);eC&&(t=requestAnimationFrame(n))})(ek),t.__H.__.forEach(function(e){e._pendingArgs&&(e.__H=e._pendingArgs),e._pendingArgs=void 0})),k=S=null},$.__c=function(e,t){t.some(function(e){try{e.__h.forEach(eI),e.__h=e.__h.filter(function(e){return!e.__||eE(e)})}catch(n){t.some(function(e){e.__h&&(e.__h=[])}),t=[],$.__e(n,e.__v)}}),eh&&eh(e,t)},$.unmount=function(e){em&&em(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach(function(e){try{eI(e)}catch(e){t=e}}),n.__H=void 0,t&&$.__e(t,n.__v))};var eC=\"function\"==typeof requestAnimationFrame;function eI(e){var t=S;var n=e.__c;\"function\"==typeof n&&(e.__c=void 0,n()),S=t}function eE(e){var t=S;e.__c=e.__(),S=t}function eA(e,t){return!e||e.length!==t.length||t.some(function(t,n){return t!==e[n]})}function eT(e,t){return\"function\"==typeof t?t(e):t}function eW(e,t){for(var n in t)e[n]=t[n];return e}function eP(e,t){for(var n in e)if(\"__source\"!==n&&!(n in t))return!0;for(var l in t)if(\"__source\"!==l&&e[l]!==t[l])return!0;return!1}function eO(e,t){this.props=e,this.context=t}function eD(e,t){function n(e){var n=this.props.ref;var l=n==e.ref;return(!l&&n&&(n.call?n(null):n.current=null),t)?!t(this.props,e)||!l:eP(this.props,e)}function l(t){return this.shouldComponentUpdate=n,V(e,t)}return l.displayName=\"Memo(\"+(e.displayName||e.name)+\")\",l.prototype.isReactComponent=!0,l.__f=!0,l.type=e,l}eO.prototype=new z,eO.prototype.isPureReactComponent=!0,eO.prototype.shouldComponentUpdate=function(e,t){return eP(this.props,e)||eP(this.state,t)};var eM=$.__b;$.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),eM&&eM(e)};var eN=\"undefined\"!=typeof Symbol&&Symbol.for&&Symbol.for(\"react.forward_ref\")||3911;function eR(e){function t(t){var n=eW({},t);return delete n.ref,e(n,t.ref||null)}return t.$$typeof=eN,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName=\"ForwardRef(\"+(e.displayName||e.name)+\")\",t}var eB=$.__e;$.__e=function(e,t,n,l){if(e.then){var r;var i=t;for(;i=i.__;)if((r=i.__c)&&r.__c)return null==t.__e&&(t.__e=n.__e,t.__k=n.__k),r.__c(e,t)}eB(e,t,n,l)};var eL=$.unmount;function eF(){this.__u=0,this._suspenders=null,this.__b=null}function e$(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function eU(){this._next=null,this._map=null}$.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&32&e.__u&&(e.type=null),eL&&eL(e)},eF.prototype=new z,eF.prototype.__c=function(e,t){var n=t.__c;var l=this;null==l._suspenders&&(l._suspenders=[]),l._suspenders.push(n);var r=e$(l.__v);var i=!1;var _=function(){i||(i=!0,n.__R=null,r?r(o):o())};n.__R=_;var o=function(){if(!--l.__u){if(l.state.__a){var e,t=l.state.__a;l.__v.__k[0]=function e(t,n,l){return t&&l&&(t.__v=null,t.__k=t.__k&&t.__k.map(function(t){return e(t,n,l)}),t.__c&&t.__c.__P===n&&(t.__e&&l.appendChild(t.__e),t.__c.__e=!0,t.__c.__P=l)),t}(t,t.__c.__P,t.__c.__O)}for(l.setState({__a:l.__b=null});e=l._suspenders.pop();)e.forceUpdate()}};l.__u++||32&t.__u||l.setState({__a:l.__b=l.__v.__k[0]}),e.then(_,_)},eF.prototype.componentWillUnmount=function(){this._suspenders=[]},eF.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var n=$.document.createElement(\"div\");var l=this.__v.__k[0].__c;this.__v.__k[0]=function e(t,n,l){return t&&(t.__c&&t.__c.__H&&(t.__c.__H.__.forEach(function(e){\"function\"==typeof e.__c&&e.__c()}),t.__c.__H=null),null!=(t=eW({},t)).__c&&(t.__c.__P===l&&(t.__c.__P=n),t.__c=null),t.__k=t.__k&&t.__k.map(function(t){return e(t,n,l)})),t}(this.__b,n,l.__O=l.__P)}this.__b=null}var r=t.__a&&V(j,null,e.fallback);return r&&(r.__u&=-33),[V(j,null,t.__a?null:e.children),r]};var eV=function(e,t,n){if(++n[1]===n[0]&&e._map.delete(t),e.props.revealOrder&&(\"t\"!==e.props.revealOrder[0]||!e._map.size))for(n=e._next;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;e._next=n=n[2]}};eU.prototype=new z,eU.prototype.__a=function(e){var t=this;var n=e$(t.__v);var l=t._map.get(e);return l[0]++,function(r){var i=function(){t.props.revealOrder?(l.push(r),eV(t,e,l)):r()};n?n(i):i()}},eU.prototype.render=function(e){this._next=null,this._map=new Map;var t=function e(t,n){return n=n||[],null==t||\"boolean\"==typeof t||(R(t)?t.some(function(t){e(t,n)}):n.push(t)),n}(e.children);e.revealOrder&&\"b\"===e.revealOrder[0]&&t.reverse();for(var n=t.length;n--;)this._map.set(t[n],this._next=[1,0,this._next]);return e.children},eU.prototype.componentDidUpdate=eU.prototype.componentDidMount=function(){var e=this;this._map.forEach(function(t,n){eV(e,n,t)})};var eH=\"undefined\"!=typeof Symbol&&Symbol.for&&Symbol.for(\"react.element\")||60103;z.prototype.isReactComponent={},[\"componentWillMount\",\"componentWillReceiveProps\",\"componentWillUpdate\"].forEach(function(e){Object.defineProperty(z.prototype,e,{configurable:!0,get:function(){return this[\"UNSAFE_\"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var ej=$.event;function ez(){}function eG(){return this.cancelBubble}function eq(){return this.defaultPrevented}$.event=function(e){return ej&&(e=ej(e)),e.persist=ez,e.isPropagationStopped=eG,e.isDefaultPrevented=eq,e.nativeEvent=e};var eJ=$.vnode;function eK(e,t){var n;return n=eg(x++,3),void(!$.__s&&eA(n.__H,t)&&(n.__=e,n._pendingArgs=t,S.__H.__h.push(n)))}function eY(e,t){if(e===t)return!0;try{if(\"object\"==typeof e&&null!==e&&\"object\"==typeof t&&null!==t&&JSON.stringify(e)===JSON.stringify(t))return!0}catch(e){throw e}return!1}function eX(e){for(let t in e)return!1;return!0}function eZ(e,t){let n=(SystemInfo.lynxSdkVersion||\"1.0\").split(\".\");return Number(n[0])>e||Number(n[0])==e&&Number(n[1])>t}function eQ(e,t){let n={};for(let l of t)l in e&&(n[l]=e[l]);return n}function e0(e){return\"undefined\"!=typeof __LoadLepusChunk&&(!!globalThis.lynxWorkletImpl||__LoadLepusChunk(\"worklet-runtime\",{dynamicComponentEntry:e,chunkType:0}))}function e1(e,t){var n,l;return null==(n=(l=globalThis).runWorklet)?void 0:n.call(l,e,t)}function e2(e,t){var n;null==(n=globalThis.lynxWorkletImpl)||n._refImpl.updateWorkletRef(e,t)}function e3(e){var t;null==(t=globalThis.lynxWorkletImpl)||t._eomImpl.setShouldFlush(e)}function e9(e,t,n,l){var r,i,_,o;null==(i=globalThis.lynxWorkletImpl)||null==(r=i._jsFunctionLifecycleManager)||r.addRef(e._execId,e),n&&t&&(null==(_=globalThis.lynxWorkletImpl)||_._hydrateCtx(e,t)),n&&(null==(o=globalThis.lynxWorkletImpl)||o._eventDelayImpl.runDelayedWorklet(e,l))}$.vnode=function(e){e.$$typeof=eH,eJ&&eJ(e)},(f=I||(I={})).runWorkletCtx=\"Lynx.Worklet.runWorkletCtx\",f.runOnBackground=\"Lynx.Worklet.runOnBackground\",f.FunctionCallRet=\"Lynx.Worklet.FunctionCallRet\",f.releaseBackgroundWorkletCtx=\"Lynx.Worklet.releaseBackgroundWorkletCtx\",f.releaseWorkletRef=\"Lynx.Worklet.releaseWorkletRef\";let e4=!1;function e8(e){var t,n,l;!e&&e4&&(null==(t=globalThis.lynxWorkletImpl)||t._runOnBackgroundDelayImpl.runDelayedBackgroundFunctions(),null==(n=globalThis.lynxWorkletImpl)||n._refImpl.clearFirstScreenWorkletRefMap(),null==(l=globalThis.lynxWorkletImpl)||l._eventDelayImpl.clearDelayedWorklets()),e4=e}(p=E||(E={})).firstScreen=\"rLynxFirstScreen\",p.updateFromRoot=\"updateFromRoot\",p.globalEventFromLepus=\"globalEventFromLepus\",p.jsReady=\"rLynxJSReady\",p.patchUpdate=\"rLynxChange\",p.publishEvent=\"rLynxPublishEvent\",(h=A||(A={}))[h.UPDATE=0]=\"UPDATE\",h[h.RESET=1]=\"RESET\";let e5=[];function e7(){let e=e5;e5=[];for(let t=0;t<e.length;t+=2){let n=e[t];let l=e[t+1];\"_wvid\"in n?e2(n,l):\"_wkltId\"in n&&(n._unmount=e1(n,[{elementRefptr:l}]))}}function e6(e){\"_wvid\"in e?e2(e,null):\"_wkltId\"in e&&(\"function\"==typeof e._unmount?e._unmount():e1(e,[null]))}function te(e,t,n,l,r){var i,_;if(!e.__elements)return;n&&(null==(i=e.__worklet_ref_set)?void 0:i.has(n))&&(e6(n),null==(_=e.__worklet_ref_set)||_.delete(n));let o=e.__values[t];if(null==o);else if(o._wvid){let t=e.__elements[l];e5.push(o,t)}else if(o._wkltId){let t=e.__elements[l];e9(o,n,e4,t),e5.push(o,t)}else if(\"__LEPUS__\"===o._type||o._lepusWorkletHash);else throw Error(\"MainThreadRef: main-thread:ref must be of type MainThreadRef or main-thread function.\");o&&(null!=e.__worklet_ref_set||(e.__worklet_ref_set=new Set),e.__worklet_ref_set.add(o)),__SetAttribute(e.__elements[l],\"has-react-ref\",!0)}let tt={};let tn={};let tl=new WeakMap;let tr=Promise.resolve();function ti(e,t){e.forEach(e=>{tl.has(e)||(tl.set(e,e.parentNode),Object.defineProperty(e,\"__parent\",{get:()=>tl.get(e),set:t=>{tl.set(e,t)}}))});let n=(e,l,r,i,_,o=!1,s=!1)=>{var a,u,c,d,f,p;let h=tt[l];let m=tn[l];if(!h||!m)throw Error(\"componentAtIndex called on removed list\");let v=null!=(c=r.__listItemPlatformInfo)?c:{};if((null==(a=r.__extraProps)?void 0:a.isReady)===0){let t;if(\"function\"==typeof __GetAttributeByName&&\"list-container\"===__GetAttributeByName(e,\"custom-list-name\"));else throw Error('Unsupported: `<list-item/>` with `defer={true}` must be used with `<list custom-list-name=\"list-container\"/>`');return __OnLifecycleEvent([E.publishEvent,{handlerName:`${r.__id}:__extraProps:onComponentAtIndex`,data:{}}]),t=new Promise(o=>{Object.defineProperty(r.__extraProps,\"isReady\",{set(t){1===t&&(delete r.__extraProps.isReady,r.__extraProps.isReady=1,tr.then(()=>{o(n(e,l,r,i,_))}))},get:()=>t})})}if(\"object\"==typeof(p=null==(u=r.__extraProps)?void 0:u.isReady)&&null!==p&&\"function\"==typeof p.then)throw Error(\"componentAtIndex was called on a pending deferred list item\");let g=r.type+(null!=(d=v[\"reuse-identifier\"])?d:\"\");let b=m.get(g);if(r.__elements){let e=r.__elements[0];let t=__GetElementUniqueID(e);if(null==b?void 0:b.has(t))return h.set(t,r),b.delete(t),o?o&&s&&__FlushElementTree(e,{asyncFlush:!0}):__FlushElementTree(e,{triggerLayout:!0,operationID:i,elementID:t,listID:l}),t;{let e=r.takeElements();h.set(t,e)}}if(b&&b.size>0){let[n]=b;let[a,u]=n;b.delete(a),t(u,r),u.unRenderElements(),u.__id?(null==(f=u.__extraProps)?void 0:f.isReady)===1&&__OnLifecycleEvent([E.publishEvent,{handlerName:`${u.__id}:__extraProps:onRecycleComponent`,data:{}}]):u.tearDown();let c=r.__element_root;if(e7(),h.set(a,r),o){if(o&&s){let t={asyncFlush:!0};_&&(t.listReuseNotification={listElement:e,itemKey:v[\"item-key\"]}),__FlushElementTree(c,t)}}else{let t={triggerLayout:!0,operationID:i,elementID:a,listID:l};_&&(t.listReuseNotification={listElement:e,itemKey:v[\"item-key\"]}),__FlushElementTree(c,t)}return a}r.ensureElements();let y=r.__element_root;__AppendElement(e,y);let w=__GetElementUniqueID(y);return e7(),h.set(w,r),o?o&&s&&__FlushElementTree(y,{asyncFlush:!0}):__FlushElementTree(y,{triggerLayout:!0,operationID:i,elementID:w,listID:l}),w};return[function(t,l,r,i,_){let o=e[r];if(!o)throw Error(\"childCtx not found\");let s=n(t,l,o,i,_);return\"number\"==typeof s?s:void 0},function(t,l,r,i,_,o){let s=!1;let a=[];r.forEach((r,u)=>{let c=i[u];let d=e[r];if(!d)throw Error(\"childCtx not found\");let f=n(t,l,d,c,_,!0,o);\"number\"==typeof f||(s=!0),a.push(f)}),s&&Promise.all(a).then(e=>{__FlushElementTree(t,{triggerLayout:!0,operationIDs:i,elementIDs:e,listID:l})}),__FlushElementTree(t,{triggerLayout:!0,operationIDs:i,elementIDs:r.map((e,t)=>\"number\"==typeof a[t]?a[t]:-1),listID:l})}]}function t_(){return(e,t,n)=>{var l,r;let i=tt[t];let _=tn[t];if(!i||!_)throw Error(\"enqueueComponent called on removed list\");let o=i.get(n);if(!o)return;let s=null!=(l=o.__listItemPlatformInfo)?l:{};let a=o.type+(null!=(r=s[\"reuse-identifier\"])?r:\"\");_.has(a)||_.set(a,new Map),_.get(a).set(n,o)}}let to={values:{},clear(e){this.values&&delete this.values[e]},clearAttachedLists(){this.values&&Object.values(this.values).map(e=>e.getAttachedListId()).filter(e=>void 0!==e).forEach(e=>this.clear(e))},flush(){this.values&&Object.values(this.values).map(e=>e.flush()).filter(e=>void 0!==e).forEach(e=>this.clear(e))},flushWithId(e){var t;this.values&&(null==(t=this.values[e])?void 0:t.flush())!==void 0&&this.clear(e)},runWithoutUpdates(e){let t=this.values;this.values=null;try{e()}finally{this.values=t}}};function ts(e,t){var n,l;null==(n=e.__worklet_ref_set)||n.forEach(e=>{e&&e6(e)}),null==(l=e.__worklet_ref_set)||l.clear(),t&&e.childNodes.forEach(e=>{ts(e,t)})}function ta(e,t,n,l){let r;let i=e.__values[t];r=\"string\"==typeof i?i:`react-ref-${e.__id}-${t}`,e.__values[t]=r,e.__elements&&n!==r&&(n&&__SetAttribute(e.__elements[l],n,void 0),r&&__SetAttribute(e.__elements[l],r,1))}function tu(e,t,n,l){let r=0;let i={$$diff:!0,i:{},r:[],m:{}};let _={};for(let t=0;t<e.length;t++){var o,s;let n=e[t];(null!=(s=_[o=n.type])?s:_[o]=new Set).add([n,t])}for(let e=0;e<t.length;e++){let o;let s=t[e];let a=_[s.type];if(a&&a.size>0&&([o]=a,o)&&n(o[0],s)){a.delete(o);let t=o[1];if(l(o[0],s,t,e),t<r){i.m[t]=e;continue}r=t}else i.i[e]=s}for(let e in _)for(let[,t]of _[e])i.r.push(t);return i}function tc(e,t,n){let l;t.__elements=e.__elements,t.__element_root=e.__element_root,(null==n?void 0:n.skipUnRef)||ts(e,!1),(l=null==n?void 0:n.swap)&&(l[e.__id]=t.__id),to.runWithoutUpdates(()=>{var n;null==(n=t.__values)||n.forEach((n,l)=>{let r=e.__values[l];n!==r&&(t.__values[l]=r,t.setAttribute(l,n))})});let{slot:r}=t.__snapshot_def;if(!r)return;let i=e.childNodes;let _=t.childNodes;r.forEach(([l,r],o)=>{switch(l){case T.Slot:case T.MultiChildren:tc(i[o],_[o],n);break;case T.Children:{let t=tu(i,_,(e,t)=>e.type===t.type,(e,t)=>{tc(e,t,n)});(function(e,t,n,l,r){let i;if(!(!eX(t.i)||!eX(t.m)||t.r.length>0))return e;let _=new Set(t.r);let{i:o,m:s}=t;let a=new Map;let u=0;i=e[0];let c=[];let d=0;let f=0;let p=Object.keys(o).length;for(;i||p>0;){let t=!1;if(i&&_.has(f))l(i);else if(i&&void 0!==s[f])a.set(s[f],i),p++;else{let e=i;a.has(d)?(e=a.get(d),t=!0,r(e,i),p--):void 0!==o[d]&&(e=n(o[d],i),t=!0,p--),c.push(e),d++}i&&!t&&(i=e[++u],f++)}return c})(i,t,(t,n)=>(t.ensureElements(),__InsertElementBefore(e.__elements[r],t.__element_root,null==n?void 0:n.__element_root),t),t=>{__RemoveElement(e.__elements[r],t.__element_root)},(t,n)=>{__RemoveElement(e.__elements[r],t.__element_root),__InsertElementBefore(e.__elements[r],t.__element_root,null==n?void 0:n.__element_root)});break}case T.ListChildren:{let l=[];let o=[];let s=[];let a=__GetElementUniqueID(e.__elements[r]);let u=tt[a];let c=tn[a];let d=tu(i,_,(e,t)=>e.type===t.type,(e,t,l,r)=>{if(JSON.stringify(e.__listItemPlatformInfo)!==JSON.stringify(t.__listItemPlatformInfo)&&s.push({...t.__listItemPlatformInfo,from:r,to:r,flush:!1,type:t.type}),e.__elements){tc(e,t,n);let l=__GetElementUniqueID(e.__element_root);if(u.has(l)&&u.set(l,t),c.has(e.type)){let n=c.get(e.type);n.has(l)&&n.set(l,t)}}});for(let e of d.r)l.push(e);for(let e in d.i)o.push(Number(e));for(let e in d.m)l.push(Number(e)),o.push(d.m[e]);o.sort((e,t)=>e-t),l.sort((e,t)=>e-t);let f={insertAction:o.map(e=>({position:e,type:_[e].type,..._[e].__listItemPlatformInfo})),removeAction:l,updateAction:s};let p=e.__elements[r];__SetAttribute(p,\"update-list-info\",f);let[h,m]=ti(_,tc);__UpdateListCallbacks(p,h,t_(),m),to.clear(t.__id)}}})}(m=T||(T={}))[m.Attr=0]=\"Attr\",m[m.Spread=1]=\"Spread\",m[m.Slot=2]=\"Slot\",m[m.Children=3]=\"Children\",m[m.ListChildren=4]=\"ListChildren\",m[m.MultiChildren=5]=\"MultiChildren\",new Map;class td{flush(){if(!this.list.__elements)return;let e=this.list.__snapshot_def.slot[0][1];let t=this.list.__elements[e];__SetAttribute(t,\"update-list-info\",this.__toAttribute());let[n,l]=ti(this.list.childNodes,tc);return __UpdateListCallbacks(t,n,t_(),l),this.list.__id}getAttachedListId(){if(this.list.__elements)return this.list.__id}onInsertBefore(e,t){if(e.parentNode&&this.removeChild.add(e),t){var n;let l=null!=(n=this.insertBefore.get(t))?n:[];l.push(e),this.insertBefore.set(t,l)}else this.appendChild.push(e)}onRemoveChild(e){this.removeChild.add(e)}onSetAttribute(e,t,n){this.platformInfoUpdate.set(e,t)}__toAttribute(){let{removeChild:e,insertBefore:t,appendChild:n,platformInfoUpdate:l}=this;let r=[];let i=[];let _=[];let o=0;for(let n=0;n<this.oldChildNodes.length;n++,o++){let s=this.oldChildNodes[n];l.has(s)&&_.push({...l.get(s),from:+o,to:+o,flush:!1,type:s.type}),t.has(s)&&t.get(s).forEach(e=>{i.push({position:o,type:e.type,...e.__listItemPlatformInfo}),o++}),e.has(s)&&(r.push(n),e.delete(s),o--)}for(let e=0;e<n.length;e++){let t=n[e];i.push({position:o+e,type:t.type,...t.__listItemPlatformInfo})}if(i.sort((e,t)=>e.position-t.position),r.sort((e,t)=>e-t),\"2.14\"===SystemInfo.lynxSdkVersion||\"2.15\"===SystemInfo.lynxSdkVersion||\"2.16\"===SystemInfo.lynxSdkVersion||\"2.17\"===SystemInfo.lynxSdkVersion||\"2.18\"===SystemInfo.lynxSdkVersion){let e=this.list.__snapshot_def.slot[0][1];\"list-container\"===__GetAttributeByName(this.list.__elements[e],\"custom-list-name\")&&(_.length=0,this.list.childNodes.forEach((e,t)=>{_.push({...e.__listItemPlatformInfo,from:t,to:t,flush:!1,type:e.type})}))}return{insertAction:i,removeAction:r,updateAction:_}}toJSON(){return[this.__toAttribute()]}constructor(e){this.removeChild=new Set,this.insertBefore=new Map,this.appendChild=[],this.platformInfoUpdate=new Map,this.list=e,this.oldChildNodes=e.childNodes}}let tf=0;let tp=[[T.Children,0]];let th={values:new Map([[\"root\",{create:()=>[e],update:[],slot:tp,isListHolder:!1,cssId:0}],[\"wrapper\",{create:()=>[__CreateWrapperElement(tf)],update:[],slot:tp,isListHolder:!1}],[null,{create:()=>[__CreateRawText(\"\")],update:[e=>{e.__elements&&__SetAttribute(e.__elements[0],\"text\",e.__values[0])}],slot:[],isListHolder:!1}]])};let tm={nextId:0,values:new Map,clear(){this.values.clear()}};function tv(e,t,n,l,r,i,_){var o;o=e,e=i?`${i}:${o}`:o;let s={create:t,update:n,slot:l,cssId:r,entryName:i,refAndSpreadIndexes:_};return th.values.set(e,s),l&&l[0]&&l[0][0]===T.ListChildren&&(s.isListHolder=!0),e}function tg(e,t){let n=e.childNodes;for(let l of(t(e),n))tg(l,t)}let tb=\"__Card__\";class ty{ensureElements(){let{create:e,slot:t,isListHolder:n,cssId:l,entryName:r}=this.__snapshot_def;let i=e(this);if(this.__elements=i,this.__element_root=i[0],void 0===l?r!==tb&&void 0!==r&&__SetCSSId(this.__elements,0,r):r!==tb&&void 0!==r?__SetCSSId(this.__elements,l,r):__SetCSSId(this.__elements,l),to.runWithoutUpdates(()=>{let e=this.__values;e&&(this.__values=void 0,this.setAttribute(\"values\",e))}),n)to.flushWithId(this.__id);else{let e=0;let n=this.__firstChild;for(;n;){n.ensureElements();let[l,r]=t[e];switch(l){case T.Slot:__ReplaceElement(n.__element_root,i[r]),i[r]=n.__element_root,e++;break;case T.MultiChildren:\"wrapper\"===__GetTag(i[r])?__ReplaceElement(n.__element_root,i[r]):__AppendElement(i[r],n.__element_root),e++;break;case T.Children:case T.ListChildren:__AppendElement(i[r],n.__element_root)}n=n.__nextSibling}}}unRenderElements(){let{isListHolder:e}=this.__snapshot_def;if(this.__elements=void 0,this.__element_root=void 0,e);else{let e=this.__firstChild;for(;e;)e.unRenderElements(),e=e.__nextSibling}}takeElements(){let e=Object.create(ty.prototype);return e.__id=this.__id,e.__snapshot_def=this.__snapshot_def,e.__values=this.__values,e.__parent=null,e.__firstChild=null,e.__lastChild=null,e.__nextSibling=null,e.__previousSibling=null,this.childNodes.map(e=>e.takeElements()).forEach(t=>e.__insertBefore(t)),e.__elements=this.__elements,e.__element_root=this.__element_root,this.__elements=void 0,this.__element_root=void 0,e}tearDown(){tg(this,e=>{e.__parent=null,e.__previousSibling=null,e.__nextSibling=null})}get parentNode(){return this.__parent}get nextSibling(){return this.__nextSibling}contains(e){return e.parentNode===this}get childNodes(){let e=[];let t=this.__firstChild;for(;t;)e.push(t),t=t.__nextSibling;return e}__insertBefore(e,t){e.__parent&&e.__parent.__removeChild(e),t?(t.__previousSibling?(t.__previousSibling.__nextSibling=e,e.__previousSibling=t.__previousSibling):(this.__firstChild=e,e.__previousSibling=null),t.__previousSibling=e,e.__nextSibling=t,e.__parent=this):(this.__lastChild?(this.__lastChild.__nextSibling=e,e.__previousSibling=this.__lastChild):(this.__firstChild=e,e.__previousSibling=null),this.__lastChild=e,e.__parent=this,e.__nextSibling=null)}__removeChild(e){if(e.__parent!==this)throw Error(\"The node to be removed is not a child of this node.\");e.__previousSibling?e.__previousSibling.__nextSibling=e.__nextSibling:this.__firstChild=e.__nextSibling,e.__nextSibling?e.__nextSibling.__previousSibling=e.__previousSibling:this.__lastChild=e.__previousSibling,e.__parent=null,e.__previousSibling=null,e.__nextSibling=null}insertBefore(e,t){let n=this.__snapshot_def;if(n.isListHolder){var l,r,i;to.values&&(null!=(i=(l=to.values)[r=this.__id])?i:l[r]=new td(this)).onInsertBefore(e,t),this.__insertBefore(e,t);return}let _=e.__parent===this;this.__insertBefore(e,t);let o=this.__elements;if(!o)return;e.__elements||e.ensureElements();let s=n.slot.length;if(1===s){let[,l]=n.slot[0];let r=o[l];_&&__RemoveElement(r,e.__element_root),t?__InsertElementBefore(r,e.__element_root,t.__element_root):__AppendElement(r,e.__element_root)}else if(s>1){let t=this.__current_slot_index++;let[l,r]=n.slot[t];l===T.Slot?(__ReplaceElement(e.__element_root,o[r]),o[r]=e.__element_root):l===T.MultiChildren&&(\"wrapper\"===__GetTag(o[r])?__ReplaceElement(e.__element_root,o[r]):__AppendElement(o[r],e.__element_root))}}removeChild(e){let t=this.__snapshot_def;if(t.isListHolder){var n,l,r;to.values&&(null!=(r=(n=to.values)[l=this.__id])?r:n[l]=new td(this)).onRemoveChild(e),this.__removeChild(e),tg(e,e=>{tm.values.delete(e.__id)}),e.__id=0;return}if(ts(e,!0),this.__elements){let[,n]=t.slot[0];__RemoveElement(this.__elements[n],e.__element_root)}e.__snapshot_def.isListHolder&&function(e){let[,t]=e.__snapshot_def.slot[0];let n=__GetElementUniqueID(e.__elements[t]);delete tt[n],delete tn[n]}(e),this.__removeChild(e),tg(e,e=>{e.__parent=null,e.__previousSibling=null,e.__nextSibling=null,delete e.__elements,delete e.__element_root,tm.values.delete(e.__id)})}setAttribute(e,t){var n;if(\"values\"===e){let e=this.__values;if(this.__values=t,e)for(let n=0;n<t.length;n++)this.callUpdateIfNotDirectOrDeepEqual(n,e[n],t[n]);else for(let e=0;e<t.length;e++)this.callUpdateIfNotDirectOrDeepEqual(e,void 0,t[e]);return}if(\"string\"==typeof e){(null!=(n=this.__extraProps)?n:this.__extraProps={})[e]=t;return}null!=this.__values||(this.__values=[]),this.callUpdateIfNotDirectOrDeepEqual(e,this.__values[e],this.__values[e]=t)}toJSON(){return{id:this.__id,type:this.type,values:this.__values,extraProps:this.__extraProps,children:this.__firstChild?this.childNodes:void 0}}callUpdateIfNotDirectOrDeepEqual(e,t,n){eY(t,n)||this.__snapshot_def.update[e](this,e,t)}constructor(e,t){if(this.__current_slot_index=0,this.__parent=null,this.__firstChild=null,this.__lastChild=null,this.__previousSibling=null,this.__nextSibling=null,this.type=e,this.__snapshot_def=th.values.get(e),!this.__snapshot_def&&\"div\"!==e)throw Error(\"Snapshot not found: \"+e);null!=t||(t=tm.nextId-=1),this.__id=t,tm.values.set(t,this)}}function tw(e){if(!lynx.getJSContext)throw Error(\"snapshotPatchApply failed: ctx not found\");lynx.getJSContext().dispatchEvent({type:\"Lynx.Error.CtxNotFound\",data:{id:e}})}function tx(e,n){var l,r;t&&(n||t.needTimestamps)&&(null==(r=lynx.performance)||null==(l=r._markTiming)||l.call(r,t.pipelineID,e))}let tS=0;function tk(){i=!0;let e=JSON.stringify(r);__OnLifecycleEvent([E.firstScreen,{root:e,jsReadyEventIdSwap:_}]),_={}}r=new ty(\"root\");let tC=[];let tI=[];(v=W||(W={}))[v.Begin=0]=\"Begin\",v[v.End=1]=\"End\",v[v.Attr=2]=\"Attr\",v[v.Text=3]=\"Text\";let tE=[];let tA=Array.isArray;let tT=Object.assign;function tW(){this.__d=!0}let tP={};function tO(e,t){let n;let l=e.type;return e.__c?(n=e.__c).state=n.__s:n=new l(e.props,t),e.__c=n,n.__v=e,n.props=e.props,n.context=t,n.__d=!0,null==n.state&&(n.state=tP),null==n.__s&&(n.__s=n.state),l.getDerivedStateFromProps&&(n.state=tT({},n.state,l.getDerivedStateFromProps(n.props,n.state))),u&&u(e),n.render(n.props,n.state,t)}function tD(e,t,n){return this.constructor(e,n)}let tM=function(e,t){let n=$.__s;$.__s=!0,o=$.__b,s=$._diff2,a=$.diffed,u=$.__r,c=$.unmount;let l=V(j,null);l.__k=[e];let r=[];try{(function e(t,n,l,r,i,_,d){let f;if(null==t||!0===t||!1===t||\"\"===t)return;if(\"object\"!=typeof t){if(\"function\"==typeof t)return;_.push(3,t+\"\");return}if(tA(t)){i.__k=t;for(let o=0;o<t.length;o++){let s=t[o];null!=s&&\"boolean\"!=typeof s&&e(s,n,l,r,i,_,_.length)}return}t.__=i,o&&o(t),s&&s(t,tP);let p=t.type,h=t.props,m=n,v,g,b;if(\"function\"==typeof p){if(p===j)g=h.children;else{if(null!=(v=p.contextType)){let e=n[v.__c];m=e?e.props.value:v.__}if(p.prototype&&\"function\"==typeof p.prototype.render)g=tO(t,m),b=t.__c;else{b={__v:t,props:h,context:m,setState:tW,forceUpdate:tW,__d:!0,__h:[]},t.__c=b,b.constructor=p,b.render=tD;let e=0;for(;b.__d&&e++<25;)b.__d=!1,u&&u(t),g=b.render(h,b.state,m);b.__d=!0}null!=b.getChildContext&&(n=tT({},n,b.getChildContext()))}g=null!=g&&g.type===j&&null==g.key?g.props.children:g;try{e(g,n,l,r,t,_,_.length)}catch(i){if(i&&\"object\"==typeof i&&i.then&&b&&b.__c)b.setState({__a:!0}),b.__d&&(g=tO(t,n),b=t.__c,_.length=d,e(g,n,l,r,t,_,_.length));else throw i}finally{a&&a(t),t.__=void 0,c&&c(t)}return}for(let e in _.push(0,t),h){let t=h[e];switch(e){case\"children\":f=t;continue;case\"key\":case\"ref\":case\"__self\":case\"__source\":continue}null!=t&&!1!==t&&\"function\"!=typeof t&&_.push(2,e,t)}\"string\"==typeof f||\"number\"==typeof f?_.push(3,f):null!=f&&!1!==f&&!0!==f&&e(f,n,!1,r,t,_,_.length),a&&a(t),t.__=void 0,c&&c(t),_.push(1)})(e,t||tP,!1,void 0,l,r,0)}finally{$.__c&&$.__c(e,tE),$.__s=n,tE.length=0}return r};function tN(){let e;try{e=tM(r.__jsx,void 0)}catch(t){lynx.reportError(t),e=[]}finally{}(function(e,t){let n=t;let l=[t];for(let t=0;t<e.length;)switch(e[t]){case W.Begin:{let r=n;(n=e[t+1]).__parent&&(n=new ty(n.type),e[t+1]=n),r.insertBefore(n),l.push(n),t+=2;break}case W.End:n.__k=void 0,l.pop(),n=l[l.length-1],t+=1;break;case W.Attr:{let l=e[t+1];let r=e[t+2];n.setAttribute(l,r),t+=3;break}case W.Text:{let l=e[t+1];let r=new ty(null);r.setAttribute(0,l),n.insertBefore(r),t+=2}}})(e,r)}function tR(e){return`Native${e}Modules`}void 0===globalThis.processEvalResult&&(globalThis.processEvalResult=(e,t)=>null==e?void 0:e(t)),Object.assign(globalThis,{renderPage:function(t){var n;i=!1,_={},lynx.__initData=null!=t?t:{},e=n=__CreatePage(\"0\",0),tf=__GetElementUniqueID(n),r.ensureElements(),tN(),to.flush(),e7(),tk()},updatePage:function(n,l){if(null==l?void 0:l.reloadTemplate)return void function(t,n){for(let e of(++tS,\"object\"!=typeof t||eX(t)||Object.assign(lynx.__initData,t),function(){let e=tC;return tC=[],e}(),tI))e();tI.length=0,tm.clear(),to.clearAttachedLists(),_={};let l=r;(r=new ty(\"root\")).__jsx=l.__jsx,tN(),tc(l,r,{skipUnRef:!0}),to.flush(),e7(),i&&__OnLifecycleEvent([E.firstScreen,{root:JSON.stringify(r)}]),__FlushElementTree(e,n)}(n,l);if((null==l?void 0:l.resetPageData)&&(lynx.__initData={}),\"object\"==typeof n&&!eX(n)){var o;null!=(o=lynx).__initData||(o.__initData={}),Object.assign(lynx.__initData,n)}let s=null!=l?l:{};if(!i){let e=r;(r=new ty(\"root\")).__jsx=e.__jsx,t=null==l?void 0:l.pipelineOptions,tx(\"updateDiffVdomStart\"),to.clearAttachedLists(),tN(),tc(e,r,{skipUnRef:!0,swap:_}),to.flush(),e7(),s.triggerDataUpdated=!0,tx(\"updateDiffVdomEnd\")}__FlushElementTree(e,s)},updateGlobalProps:function(t,n){n?__FlushElementTree(e,n):__FlushElementTree()},getPageData:function(){return null},removeComponents:function(){}}),Object.assign(globalThis,{[E.jsReady]:tk}),Object.assign(globalThis,{[E.patchUpdate]:function({data:l,patchOptions:r}){if(r.reloadVersion<tS)return;let i=r.flowIds;i&&lynx.performance.profileStart(\"ReactLynx::patch\",{flowId:i[0],flowIds:i}),t=r.pipelineOptions,tx(\"mtsRenderStart\"),tx(\"parseChangesStart\");let{patchList:_,flushOptions:o={},delayedRunOnMainThreadData:s}=JSON.parse(l);tx(\"parseChangesEnd\"),tx(\"patchChangesStart\"),r.isHydration&&e8(!0);try{for(let{snapshotPatch:e,workletRefInitValuePatch:t}of _)(function(e){var t;e&&(null==(t=globalThis.lynxWorkletImpl)||t._refImpl.updateWorkletRefInitValueChanges(e))})(t),to.clearAttachedLists(),e&&function(e){let t=e.length;for(let n=0;n<t;++n)switch(e[n]){case 0:{let t=e[++n];new ty(t,e[++n]);break}case 1:{let t=e[++n];let l=e[++n];let r=e[++n];let i=tm.values.get(t);let _=tm.values.get(l);let o=tm.values.get(r);i&&_?i.insertBefore(_,o):tw(i?l:t);break}case 2:{let t=e[++n];let l=e[++n];let r=tm.values.get(t);let i=tm.values.get(l);r&&i?r.removeChild(i):tw(r?l:t);break}case 3:{let t=e[++n];let l=e[++n];let r=e[++n];let i=tm.values.get(t);i?i.setAttribute(l,r):tw(t);break}case 4:{let t=e[++n];let l=e[++n];let r=tm.values.get(t);r?r.setAttribute(\"values\",l):tw(t)}}}(e),to.flush()}finally{tx(\"patchChangesEnd\"),tx(\"mtsRenderEnd\"),r.isHydration&&e8(!1)}if(e7(),s&&(null!=n?n:n=eZ(2,13))){for(let e of(e3(!1),s))try{(function(e,t,n){var l;null==(l=globalThis.lynxWorkletImpl)||l._runRunOnMainThreadTask(e,t,n)})(e.worklet,e.params,e.resolveId)}catch(e){lynx.reportError(e)}e3(!0)}r.pipelineOptions&&(o.pipelineOptions=r.pipelineOptions),__FlushElementTree(e,o),i&&lynx.performance.profileEnd()}}),lynx.__initData={},globalThis.SystemInfo=null!=(g=lynx.SystemInfo)?g:{},lynx.reportError=function(e){_ReportError(e instanceof Error?e:Error(JSON.stringify(e)),{errorCode:1101})},lynx.triggerGlobalEventFromLepus=function(e,t){__OnLifecycleEvent([\"globalEventFromLepus\",[e,t]])},void 0===globalThis[tR(\"\")]&&(globalThis[tR(\"\")]=void 0),lynx.registerDataProcessors=function(e){let t=!1;globalThis.processData=(n,l)=>{let r;try{var i,_,o,s,a;r=l?null!=(s=null==e||null==(_=e.dataProcessors)||null==(i=_[l])?void 0:i.call(_,n))?s:n:null!=(a=null==e||null==(o=e.defaultDataProcessor)?void 0:o.call(e,n))?a:n}catch(e){lynx.reportError(e),r={}}return!1===t&&globalThis.__I18N_RESOURCE_TRANSLATION__&&(r={...r,__I18N_RESOURCE_TRANSLATION__:globalThis.__I18N_RESOURCE_TRANSLATION__}),l||(t=!0),r}},lynx.registerDataProcessors(),(b=P||(P={}))[b.COMPOSED=-1]=\"COMPOSED\",b[b.PAN=0]=\"PAN\",b[b.FLING=1]=\"FLING\",b[b.DEFAULT=2]=\"DEFAULT\",b[b.TAP=3]=\"TAP\",b[b.LONGPRESS=4]=\"LONGPRESS\",b[b.ROTATION=5]=\"ROTATION\",b[b.PINCH=6]=\"PINCH\",b[b.NATIVE=7]=\"NATIVE\";class tB{add(e){let t=++this.lastIndex;return this.indexMap.set(t,e),t}get(e){return this.indexMap.get(e)}remove(e){this.indexMap.delete(e)}constructor(){this.lastIndex=0,this.indexMap=new Map}}function tL(e){let t=JSON.parse(e.data);let n=d.get(t.resolveId);d.remove(t.resolveId),n(t.returnValue)}function tF(e,t,n,l){lynx.getJSContext().dispatchEvent({type:I.runOnBackground,data:JSON.stringify({obj:{_jsFnId:e,_execId:n},params:t,resolveId:l})})}function t$(e,t,n,l,r,i,_){let o;let s=e.__values[t];o=s?\"string\"==typeof s?s:`${e.__id}:${t}:${_}`:void 0,e.__values[t]=o,e.__elements&&__AddEvent(e.__elements[l],r,i,o)}function tU(e,t,n,l,r){if(!e.__elements)return;let i=e.__values[t];\"main-thread\"===r&&function e(t,n,l,r,i){var _;if(n&&null!=(_=n.__isSerialized)&&_)if(i&&i.domSet||(__SetAttribute(t,\"has-react-gesture\",!0),__SetAttribute(t,\"flatten\",!1)),n.type===P.COMPOSED)for(let[i,_]of n.gestures.entries())e(t,_,null==l?void 0:l.gestures[i],r,{domSet:!0});else{let{config:e,relationMap:i}=function(e,t,n,l){var r,i,_,o,s,a;let u={callbacks:[]};for(let r of(e.config&&(u.config=e.config),Object.keys(e.callbacks))){let i=e.callbacks[r];e9(i,null==t?void 0:t.callbacks[r],n,l),u.callbacks.push({name:r,callback:i})}return{config:u,relationMap:{waitFor:null!=(o=null==e||null==(r=e.waitFor)?void 0:r.map(e=>e.id))?o:[],simultaneous:null!=(s=null==e||null==(i=e.simultaneousWith)?void 0:i.map(e=>e.id))?s:[],continueWith:null!=(a=null==e||null==(_=e.continueWith)?void 0:_.map(e=>e.id))?a:[]}}}(n,l,r,t);__SetGestureDetector(t,n.id,n.type,e,i)}}(e.__elements[l],i,n,e4)}let tV=new Set([\"reuse-identifier\",\"recyclable\"]);let tH=new Set([\"reuse-identifier\",\"full-span\",\"item-key\",\"sticky-top\",\"sticky-bottom\",\"estimated-height\",\"estimated-height-px\",\"estimated-main-axis-size-px\",\"recyclable\"]);function tj(e,t,n,l,r,i,_){var o;if(!e.__elements)return;let s=null!=(o=e.__values[t]||void 0)?o:{};s._workletType=r,\"main-thread\"===r&&(e9(s,n,e4,e.__elements[l]),__AddEvent(e.__elements[l],i,_,{type:\"worklet\",value:s}))}let tz=/^(([A-Za-z-]*):)?(bind|catch|capture-bind|capture-catch|global-bind)([A-Za-z]+)$/;let tG={bind:\"bindEvent\",catch:\"catchEvent\",\"capture-bind\":\"capture-bind\",\"capture-catch\":\"capture-catch\",\"global-bind\":\"global-bindEvent\"};let tq=new Set([\"name\",\"clip-radius\",\"overlap\",\"exposure-scene\",\"exposure-id\"]);function tJ(e,t,n,l){var r,i,_;null!=n||(n={});let o=e.__values[t];let s=e.parentNode;if(null==s?void 0:s.__snapshot_def.isListHolder){let a=eQ(n,tH);let u=eQ(o,tH);eY(a,u)||(to.values&&(null!=(_=(r=to.values)[i=s.__id])?_:r[i]=new td(s)).onSetAttribute(e,u,a),e.__listItemPlatformInfo=u,function(e,t,n,l){let r=e.__listItemPlatformInfo=e.__values[t];if(to.values){var i,_,o;let t=e.parentNode;(null==t?void 0:t.__snapshot_def.isListHolder)&&(null!=(o=(i=to.values)[_=t.__id])?o:i[_]=new td(t)).onSetAttribute(e,r,n)}if(e.__elements){let n=e.__elements[l];let r=e.__values[t];for(let e in r)tV.has(e)||__SetAttribute(n,e,r[e])}}({__values:{get[t](){return u}},__id:e.__id,__elements:e.__elements},t,a,l))}if(!e.__elements)return;\"__spread\"in o&&(o=function(e,t,n){let l={};let r=!1;for(let i in n){let _=n[i];\"__spread\"===i||(\"class\"===i||\"className\"===i?(null!=_||(_=\"\"),l.className=_):\"ref\"===i?l[i]=_?1:void 0:\"function\"==typeof _?l[i]=`${e.__id}:${t}:${i}`:\"__self\"===i||\"__source\"===i||(!r&&tq.has(i)&&(r=!0),l[i]=_))}return r&&(l.flatten=!1),l}(e,t,o),e.__values[t]=o);let a={};let u=null;for(let r in o){let i=o[r];if(i!==n[r])if(\"className\"===r)__SetClasses(e.__elements[l],i);else if(\"style\"===r)__SetInlineStyles(e.__elements[l],i);else if(\"id\"===r)__SetID(e.__elements[l],i);else if(r.startsWith(\"data-\"));else if(\"ref\"===r)ta({__values:{get[t](){return i},set[t](value){o[r]=value}},__id:e.__id,__elements:e.__elements},t,n[r],l);else if(r.endsWith(\":ref\"))null!=e.__worklet_ref_set||(e.__worklet_ref_set=new Set),te({__values:{get[t](){return i}},__id:e.__id,__elements:e.__elements,__worklet_ref_set:e.__worklet_ref_set},t,n[r],l,r.slice(0,-4));else if(r.endsWith(\":gesture\")){let _=r.slice(0,-8);tU({__values:{get[t](){return i}},__id:e.__id,__elements:e.__elements},t,n[r],l,_)}else if(u=tz.exec(r)){let _=u[2];let s=tG[u[3]];let a=u[4];let c={__values:{get[t](){return i},set[t](value){o[r]=value}},__id:e.__id,__elements:e.__elements};_?tj(c,t,n[r],l,_,s,a):t$(c,t,n[r],l,s,a,r)}else tH.has(r)||__SetAttribute(e.__elements[l],r,i);r.startsWith(\"data-\")&&(a[r.slice(5)]=i)}let c=!1;for(let r in n){if(!(r in o))if(\"className\"===r)__SetClasses(e.__elements[l],\"\");else if(\"style\"===r)__SetInlineStyles(e.__elements[l],\"\");else if(\"id\"===r)__SetID(e.__elements[l],null);else if(r.startsWith(\"data-\"));else if(\"ref\"===r)ta({__values:{get[t](){return},set[t](value){o[r]=value}},__id:e.__id,__elements:e.__elements},t,n[r],l);else if(r.endsWith(\":ref\"))null!=e.__worklet_ref_set||(e.__worklet_ref_set=new Set),te({__values:{get[t](){return}},__id:e.__id,__elements:e.__elements,__worklet_ref_set:e.__worklet_ref_set},t,n[r],l,r.slice(0,-4));else if(r.endsWith(\":gesture\")){let i=r.slice(0,-8);tU({__values:{get[t](){return}},__id:e.__id,__elements:e.__elements},t,n[r],l,i)}else if(u=tz.exec(r)){let i=u[2];let _=tG[u[3]];let s=u[4];let a={__values:{get[t](){return},set[t](value){o[r]=value}},__id:e.__id,__elements:e.__elements};i?tj(a,t,n[r],l,i,_,s):t$(a,t,n[r],l,_,s,r)}else tH.has(r)||__SetAttribute(e.__elements[l],r,null);r.startsWith(\"data-\")&&(c=!0)}(c||!eX(a))&&__SetDataset(e.__elements[l],a)}let tK=T.Slot;T.MultiChildren;let tY=T.Children;function tX(e,t,n){if(\"string\"==typeof e){let n=new ty(e);return n.props=t,n.__k=null,n.__=null,n.__b=0,n.__e=null,n.__d=void 0,n.__c=null,n.__i=-1,n.__u=0,n}if(\"function\"==typeof e){let n,l=t;if(\"ref\"in l)for(let e in l={},t)\"ref\"==e||(l[e]=t[e]);if(n=e.defaultProps)for(let e in n)void 0===l[e]&&(l[e]=n[e]);return{type:e,props:l,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__i:-1,__u:0}}}T.ListChildren,[].slice;let tZ=0;class tQ{get current(){}set current(e){}toJSON(){return{_wvid:this._wvid}}constructor(e,t){this._initValue=e,this._type=t,this._wvid=--tZ}}class t0 extends tQ{constructor(e){super(e,\"main-thread\")}}function t1(e){return ex(()=>new t0(e),[])}let t2={onScroll:\"bindscroll\",onScrollStateChange:\"bindscrollstatechange\",onScrollToLower:\"bindscrolltolower\",onScrollToUpper:\"bindscrolltoupper\",onScrollEnd:\"bindscrollend\",onScrollToUpperEdge:\"bindscrolltoupperedge\",onScrollToLowerEdge:\"bindscrolltoloweredge\",onScrollToNormalState:\"bindscrolltonormalstate\"};let t3={onUIAppear:\"binduiappear\",onUIDisappear:\"binduidisappear\"};let t9={onLayoutChange:\"bindlayoutchange\"};let t4={onTouchStart:\"bindtouchstart\",onTouchMove:\"bindtouchmove\",onTouchEnd:\"bindtouchend\",onTouchCancel:\"bindtouchcancel\",onTouchTap:\"bindtap\",onLongPress:\"bindlongpress\",catchTouchStart:\"catchtouchstart\",catchTouchMove:\"catchtouchmove\",catchTouchEnd:\"catchtouchend\",catchTouchCancel:\"catchtouchcancel\",catchTap:\"catchtap\",catchLongPress:\"catchlongpress\"};function t8(e,t,n){let l=(eu=8,ex(function(){return t},null!=n?n:[]));ex(()=>{},[e,l]),eK()}e0(void 0===O?void 0:O)&®isterWorkletInternal(\"main-thread\",\"eb73:31a1b:1\",function(e){let{events:t,event:n}=this._c;t[n]&&t[n](e)});let t5=eD(eR(function(e,t){let{pid:n,scene:l,estimatedStyle:r,top:i=\"10px\",bottom:_=\"10px\",left:o=\"10px\",right:s=\"10px\",unmountOnExit:a,unloadable:u=!1,children:c}=e;let d=null!=a?a:u;let[f,p]=eb(!1);let h=ew(void 0);if(t8(\"exposure\",()=>{},[f]),t8(\"disexposure\",()=>{},[d]),!d)return f?c:tX(t7,{values:[i,_,o,s,n,l,r]});{var m,v,g,b;let{width:e,height:t,...a}=r;return tX(t6,{values:[i,_,o,s,n,l,1,f?{}:{width:null!=(g=null==(m=h.current)?void 0:m.width)?g:e,height:null!=(b=null==(v=h.current)?void 0:v.height)?b:t,...a}],children:f&&c})}}));let t7=tv(\"__snapshot_ae447_b9b02_1\",function(){let e=__CreateView(tf);return __SetID(e,\"component\"),__SetClasses(e,\"min\"),__SetAttribute(e,\"flatten\",!1),[e]},[function(e){e.__elements&&__SetAttribute(e.__elements[0],\"exposure-screen-margin-top\",e.__values[0])},function(e){e.__elements&&__SetAttribute(e.__elements[0],\"exposure-screen-margin-bottom\",e.__values[1])},function(e){e.__elements&&__SetAttribute(e.__elements[0],\"exposure-screen-margin-left\",e.__values[2])},function(e){e.__elements&&__SetAttribute(e.__elements[0],\"exposure-screen-margin-right\",e.__values[3])},function(e){e.__elements&&__SetAttribute(e.__elements[0],\"exposure-id\",e.__values[4])},function(e){e.__elements&&__SetAttribute(e.__elements[0],\"exposure-scene\",e.__values[5])},function(e){e.__elements&&__SetInlineStyles(e.__elements[0],e.__values[6])}],null,void 0,O,null);let t6=tv(\"__snapshot_ae447_b9b02_2\",function(){let e=__CreateView(tf);return __SetID(e,\"component\"),__SetClasses(e,\"min\"),__SetAttribute(e,\"flatten\",!1),[e]},[function(e){e.__elements&&__SetAttribute(e.__elements[0],\"exposure-screen-margin-top\",e.__values[0])},function(e){e.__elements&&__SetAttribute(e.__elements[0],\"exposure-screen-margin-bottom\",e.__values[1])},function(e){e.__elements&&__SetAttribute(e.__elements[0],\"exposure-screen-margin-left\",e.__values[2])},function(e){e.__elements&&__SetAttribute(e.__elements[0],\"exposure-screen-margin-right\",e.__values[3])},function(e){e.__elements&&__SetAttribute(e.__elements[0],\"exposure-id\",e.__values[4])},function(e){e.__elements&&__SetAttribute(e.__elements[0],\"exposure-scene\",e.__values[5])},(e,t,n)=>t$(e,t,n,0,\"bindEvent\",\"layoutchange\",\"\"),function(e){e.__elements&&__SetInlineStyles(e.__elements[0],e.__values[7])}],tp,void 0,O,null);let ne=tv(\"__snapshot_4ab23_9c9de_1\",function(){return[__CreateScrollView(tf)]},[(e,t,n)=>tJ(e,t,n,0)],tp,void 0,O,[0]);let nt=function(e){let{children:t,sticky:n,elementProps:l}=e;return tX(ne,{values:[{...l,\"android-touch-slop\":\"page\",name:\"lepus\",flatten:!1,__spread:!0}],children:[n,t]})};let nn={_wkltId:\"ec97:c55d4:1\"};e0(void 0===O?void 0:O)&®isterWorkletInternal(\"main-thread\",\"ec97:c55d4:1\",function(e){return lynx.querySelector(`#${e}`)}),e0(void 0===O?void 0:O)&®isterWorkletInternal(\"main-thread\",\"402b:a938f:1\",function(){lynxWorkletImpl._workletMap[\"402b:a938f:1\"].bind(this);let{scrollOrientation:e}=this._c;return\"vertical\"===e}),e0(void 0===O?void 0:O)&®isterWorkletInternal(\"main-thread\",\"402b:a938f:2\",function(){return lynxWorkletImpl._workletMap[\"402b:a938f:2\"].bind(this),1/Number(SystemInfo.pixelRatio)}),e0(void 0===O?void 0:O)&®isterWorkletInternal(\"main-thread\",\"402b:a938f:3\",function(){return lynxWorkletImpl._workletMap[\"402b:a938f:3\"].bind(this),\"Android\"===SystemInfo.platform}),e0(void 0===O?void 0:O)&®isterWorkletInternal(\"main-thread\",\"402b:a938f:4\",function(e){return lynxWorkletImpl._workletMap[\"402b:a938f:4\"].bind(this),!e||0===Object.keys(e).length}),e0(void 0===O?void 0:O)&®isterWorkletInternal(\"main-thread\",\"402b:a938f:5\",function(e){var t;lynxWorkletImpl._workletMap[\"402b:a938f:5\"].bind(this);let{isAndroid:n,selectorMT:l,containerID:r}=this._c;n()&&(null==(t=l(r))||t.setAttribute(\"enable-scroll\",e))}),e0(void 0===O?void 0:O)&®isterWorkletInternal(\"main-thread\",\"402b:a938f:6\",function(){lynxWorkletImpl._workletMap[\"402b:a938f:6\"].bind(this);let{debugLog:e,startTouch:t,bouncingTouchStartPosition:n,prevTouch:l,startBouncingTouch:r,startTouchBouncingDelta:i}=this._c;e.current&&console.info(\"clearTouchInfo\"),t.current=null,n.current=0,l.current=null,r.current=null,i.current=0}),e0(void 0===O?void 0:O)&®isterWorkletInternal(\"main-thread\",\"402b:a938f:7\",function(e){lynxWorkletImpl._workletMap[\"402b:a938f:7\"].bind(this);let{temporaryValidVersionCheckForRAF:t}=this._c;t.current?requestAnimationFrame(e):setTimeout(e,8)}),e0(void 0===O?void 0:O)&®isterWorkletInternal(\"main-thread\",\"402b:a938f:8\",function(e){lynxWorkletImpl._workletMap[\"402b:a938f:8\"].bind(this);let{startTouch:t,startBouncingTouch:n,scrollOrientation:l}=this._c;if(null!==t.current)if(null===n.current)return\"vertical\"===l?e.touches[0].pageY-t.current[0].pageY:e.touches[0].pageX-t.current[0].pageX;else return\"vertical\"===l?e.touches[0].pageY-n.current[0].pageY:e.touches[0].pageX-n.current[0].pageX;return 0}),e0(void 0===O?void 0:O)&®isterWorkletInternal(\"main-thread\",\"402b:a938f:9\",function(){var e,t;lynxWorkletImpl._workletMap[\"402b:a938f:9\"].bind(this);let{bouncingPositionInfo:n,toUpper:l,toLower:r,alwaysBouncing:i,bouncingStatus:_,debugLog:o}=this._c;let s=null!=(t=null==(e=n.current)?void 0:e.bouncingOffset)?t:0;return l.current&&r.current?i?_.alwaysBouncing:_.noBouncing:(o.current&&console.info(\"getBouncingStatus\",0,\"currentPosition\",s),s>0)?_.upperBouncing:s<0?_.lowerBouncing:_.inScrollingRange}),e0(void 0===O?void 0:O)&®isterWorkletInternal(\"main-thread\",\"402b:a938f:10\",function(e){lynxWorkletImpl._workletMap[\"402b:a938f:10\"].bind(this);let{bouncingStatus:t,alwaysBouncing:n}=this._c;return e!==t.inScrollingRange&&e!==t.noBouncing&&(e===t.upperBouncing||e===t.lowerBouncing||e===t.alwaysBouncing&&n)}),e0(void 0===O?void 0:O)&®isterWorkletInternal(\"main-thread\",\"402b:a938f:11\",function(e){var t,n,l,r,i,_;lynxWorkletImpl._workletMap[\"402b:a938f:11\"].bind(this);let{isEmpty:o,bouncingPositionInfo:s,prevTouch:a,startTouch:u,bouncingTouchStartPosition:c,isVertical:d,selectorMT:f,containerID:p}=this._c;if(isNaN(Number(e)))return void console.info(\"ERROR! bouncingOffset is NaN\");if(o(s.current))s.current.velocity=0;else{let t=Date.now()-s.current.timeStamp;let n=e-s.current.bouncingOffset||0;t>0&&(s.current.velocity=n/t)}s.current.bouncingOffset=e,s.current.timeStamp=Date.now(),0===e&&null!==a.current&&(u.current=a.current,c.current={}),d()?(null==(t=f(p))||t.setStyleProperty(\"transform\",`translateY(${e}px)`),null==(n=f(`${p}-upperBounceWrapper`))||n.setStyleProperty(\"transform\",`translateY(${e}px)`),null==(l=f(`${p}-lowerBounceWrapper`))||l.setStyleProperty(\"transform\",`translateY(${e}px)`)):(null==(r=f(p))||r.setStyleProperty(\"transform\",`translateX(${e}px)`),null==(i=f(`${p}-upperBounceWrapper`))||i.setStyleProperty(\"transform\",`translateX(${e}px)`),null==(_=f(`${p}-lowerBounceWrapper`))||_.setStyleProperty(\"transform\",`translateX(${e}px)`))}),e0(void 0===O?void 0:O)&®isterWorkletInternal(\"main-thread\",\"402b:a938f:12\",function(e){lynxWorkletImpl._workletMap[\"402b:a938f:12\"].bind(this);let{_jsFn1:t}=this._jsFn;let{debugLog:n}=this._c;n.current&&console.info(\"triggerScrollToBouncesEvent\",e?\"upper\":\"lower\"),(function(e){if(!(null!=l?l:l=eZ(2,15)))throw Error(\"runOnBackground requires Lynx sdk version 2.16.\");if(e._error)throw Error(e._error);return async(...t)=>new Promise(n=>{var l;let r=(d||function(){let e=lynx.getJSContext();d=new tB,e.addEventListener(I.FunctionCallRet,tL),tI.push(()=>{e.removeEventListener(I.FunctionCallRet,tL),d=void 0})}(),d.add(n));if(e._isFirstScreen)return void(null==(l=globalThis.lynxWorkletImpl)||l._runOnBackgroundDelayImpl.delayRunOnBackground(e,(e,n)=>{tF(e,t,n,r)}));tF(e._jsFnId,t,e._execId,r)})})(t)({direction:e?\"upper\":\"lower\"})}),e0(void 0===O?void 0:O)&®isterWorkletInternal(\"main-thread\",\"402b:a938f:13\",function(e,t){lynxWorkletImpl._workletMap[\"402b:a938f:13\"].bind(this);let{isVertical:n,height:l,width:r,isEmpty:i,startTouchBouncingDelta:_,bouncingTouchStartPosition:o,rubberC:s,debugLog:a,bouncingSetStyle:u}=this._c;let c=n()?l.current:r.current;let d=Math.abs(Number(i(_.current)?o.current:_.current));let f=c*d/((c-d)*s.current)||0;let p=o.current?f+e*t:e*t;let h=Math.max(0,(1-1/(p*s.current/c+1))*c);a.current&&console.info(\"rubberEffect\",\"scrollViewFrameSize\",c,\"touchStartPosition\",d,\"deltaYForTouchStartPosition\",f,\"deltaYForNextPosition\",p,\"rubberBandingDistance\",h),u(e*h)}),e0(void 0===O?void 0:O)&®isterWorkletInternal(\"main-thread\",\"402b:a938f:14\",function(e){lynxWorkletImpl._workletMap[\"402b:a938f:14\"].bind(this);let{getCurrentDelta:t,debugLog:n,toUpper:l,toLower:r,singleSidedBounce:i,enableScroll:_,rubberEffect:o}=this._c;let s=t(e);n.current&&console.info(\"isCrossingEdge\",\"delta\",s,\"toUpper\",l.current,\"toLower\",r.current),!0===l.current&&s>0&&(\"both\"===i.current||\"upper\"===i.current)&&(_(!1),o(s>0?1:-1,s)),!0===r.current&&s<0&&(\"both\"===i.current||\"lower\"===i.current)&&(_(!1),o(s>0?1:-1,s)),_(!0)}),e0(void 0===O?void 0:O)&®isterWorkletInternal(\"main-thread\",\"402b:a938f:15\",function(){var e,t;lynxWorkletImpl._workletMap[\"402b:a938f:15\"].bind(this);let{bouncingPositionInfo:n,startBounceTriggerDistance:l,endBounceTriggerDistance:r,threshold:i}=this._c;return Math.abs(null!=(t=n.current.bouncingOffset)?t:0)-Math.abs((null==(e=n.current)?void 0:e.bouncingOffset)>0?l:r)>i()}),e0(void 0===O?void 0:O)&®isterWorkletInternal(\"main-thread\",\"402b:a938f:16\",function(){var e;lynxWorkletImpl._workletMap[\"402b:a938f:16\"].bind(this);let{debugLog:t,bouncingPositionInfo:n,touchingEndBouncingBackEnableFlag:l,beta:r,bouncingSetStyle:i,threshold:_,customRequestAnimationFrame:o}=this._c;t.current&&(console.info(\"fling forward end\"),console.info(\"bounce back starts\"));let s=null!=(e=n.current.bouncingOffset)?e:0;let a=Date.now();let u=()=>{if(!1===!!l.current)return;let e=Date.now()-a;t.current&&console.info(\"touchingEndBouncingBackFrame\");let n=r.current*s;let c=(s+e/1e3*n)*Math.pow(Math.E,-r.current*(e/1e3));i(c),Math.abs(c)<_()?(i(0),t.current&&console.info(\"bounce back ends\")):o(u)};o(u),l.current=!0}),e0(void 0===O?void 0:O)&®isterWorkletInternal(\"main-thread\",\"402b:a938f:17\",function(e){var t,n;lynxWorkletImpl._workletMap[\"402b:a938f:17\"].bind(this);let{startTouch:l,debugLog:r,bouncingTouchStartPosition:i,bouncingPositionInfo:_,touchEndFrameEnableFlag:o,touchingEndBouncingBackEnableFlag:s,flingEndWithBouncingEnableFlag:a}=this._c;l.current=e.touches,r.current&&console.info(\"bounceableTouchStart\"),i.current=null!=(n=null==(t=_.current)?void 0:t.bouncingOffset)?n:0,o.current=!1,s.current=!1,a.current=!1}),e0(void 0===O?void 0:O)&®isterWorkletInternal(\"main-thread\",\"402b:a938f:18\",function(e){lynxWorkletImpl._workletMap[\"402b:a938f:18\"].bind(this);let{prevTouch:t,startTouch:n,getCurrentDelta:l,getBouncingStatus:r,bouncingStatus:i,enableScroll:_,rubberEffect:o,debugLog:s,alwaysBouncing:a,triggerRubberEffectIfCrossingEdge:u}=this._c;if(t.current=e.touches,null===n.current)console.info(\"ERROR! touch not started\");else{let t=l(e);switch(r()){case i.upperBouncing:_(!1),o(1,t),s.current&&console.info(\"bounceableTouchMove upperBouncing\");break;case i.lowerBouncing:_(!1),o(-1,t),s.current&&console.info(\"bounceableTouchMove lowerBouncing\");break;case i.alwaysBouncing:s.current&&console.info(\"bounceableTouchMove alwaysBouncing\"),a&&u(e);break;case i.inScrollingRange:s.current&&console.info(\"bounceableTouchMove inScrollingRange\"),u(e)}}}),e0(void 0===O?void 0:O)&®isterWorkletInternal(\"main-thread\",\"402b:a938f:19\",function(){lynxWorkletImpl._workletMap[\"402b:a938f:19\"].bind(this);let{clearTouchInfo:e,enableScroll:t,debugLog:n,shouldBounceWhenTouchEnd:l,getBouncingStatus:r,bouncingPositionInfo:i,isOverTriggerDistance:_,triggerScrollToBouncesEvent:o,touchEndFrameEnableFlag:s,threshold:a,bouncingBack:u,flingDeceleratingRate:c,bouncingSetStyle:d,customRequestAnimationFrame:f}=this._c;if(e(),t(!0),n.current&&console.info(\"bounceableTouchEnd\"),l(r())){var p,h,m,v;let e=Date.now();let t=null==(p=i.current)?void 0:p.velocity;let l=null!=(v=null==(h=i.current)?void 0:h.bouncingOffset)?v:0;_()&&o((null==(m=i.current)?void 0:m.bouncingOffset)>0);let r=t;let g=()=>{!1!==!!s.current&&(n.current&&console.info(\"touchEndProcessFrame\"),Math.abs(r)<=a()?u():(n.current&&console.info(\"fling down start\"),d(l+t*(Math.pow(c.current,Date.now()-e)-1)/Math.log(c.current)),r=t*Math.pow(c.current,Date.now()-e),s.current&&f(g)))};f(g),s.current=!0}}),e0(void 0===O?void 0:O)&®isterWorkletInternal(\"main-thread\",\"402b:a938f:20\",function(e){lynxWorkletImpl._workletMap[\"402b:a938f:20\"].bind(this);let{scrollX:t,scrollY:n,isEmpty:l,prevScroll:r,isVertical:i,scrollVelocity:_}=this._c;if(t.current=e.detail.scrollLeft,n.current=e.detail.scrollTop,!l(r.current)){let t=Date.now()-r.current.timestamp;if(t>0){let n=(i()?e.detail.scrollTop-r.current.detail.scrollTop:e.detail.scrollLeft-r.current.detail.scrollLeft)/t;Number.isFinite(n)&&(_.current=n)}}r.current=e}),e0(void 0===O?void 0:O)&®isterWorkletInternal(\"main-thread\",\"402b:a938f:21\",function(e){lynxWorkletImpl._workletMap[\"402b:a938f:21\"].bind(this);let{debugLog:t,toUpper:n}=this._c;t.current&&console.info(\"upper disexposure\"),n.current=!1}),e0(void 0===O?void 0:O)&®isterWorkletInternal(\"main-thread\",\"402b:a938f:22\",function(e){lynxWorkletImpl._workletMap[\"402b:a938f:22\"].bind(this);let{debugLog:t,toUpper:n,singleSidedBounce:l,prevScroll:r,startBouncingTouch:i,prevTouch:_,startTouchBouncingDelta:o,bouncingPositionInfo:s,scrollVelocity:a,threshold:u,flingEndWithBouncingEnableFlag:c,bouncingBack:d,flingDeceleratingRate:f,bouncingSetStyle:p,isOverTriggerDistance:h,triggerScrollToBouncesEvent:m,customRequestAnimationFrame:v}=this._c;if(t.current&&console.info(\"upper exposure\"),n.current=!0,\"upper\"===l.current||\"both\"===l.current){if(r.current){var g,b;i.current=_.current,o.current=null!=(b=null==(g=s.current)?void 0:g.bouncingOffset)?b:0}else if(Math.abs(a.current)>u()){let e=a.current;let n=e;let l=Date.now();t.current&&console.info(\"fling to upper event start with velocity\",e);let r=!1;let i=()=>{if(!1===!!c.current){t.current&&console.info(\"flingEndWithBouncingEnableFlag early return\");return}if(Math.abs(n)<=u())c.current=!1,t.current&&(console.info(\"fling to upper event end\"),console.info(\"bouncing to upper event start\")),d();else{if(p(-(n*(Math.pow(f.current,Date.now()-l)-1)/Math.log(f.current))),!r&&h()){var _;m((null==(_=s.current)?void 0:_.bouncingOffset)>0),r=!0}n=e*Math.pow(f.current,Date.now()-l),c.current&&v(i)}};v(i),c.current=!0}}}),e0(void 0===O?void 0:O)&®isterWorkletInternal(\"main-thread\",\"402b:a938f:23\",function(e){lynxWorkletImpl._workletMap[\"402b:a938f:23\"].bind(this);let{debugLog:t,toLower:n}=this._c;t.current&&console.info(\"lower disexposure\"),n.current=!1}),e0(void 0===O?void 0:O)&®isterWorkletInternal(\"main-thread\",\"402b:a938f:24\",function(e){lynxWorkletImpl._workletMap[\"402b:a938f:24\"].bind(this);let{debugLog:t,toLower:n,singleSidedBounce:l,prevTouch:r,startBouncingTouch:i,startTouchBouncingDelta:_,bouncingPositionInfo:o,enableBounceEventInFling:s,scrollVelocity:a,threshold:u,flingEndWithBouncingEnableFlag:c,bouncingBack:d,flingDeceleratingRate:f,bouncingSetStyle:p,isOverTriggerDistance:h,triggerScrollToBouncesEvent:m,customRequestAnimationFrame:v}=this._c;if(t.current&&console.info(\"lower exposure\"),n.current=!0,\"lower\"===l.current||\"both\"===l.current){if(null!==r.current){var g,b;i.current=r.current,_.current=null!=(b=null==(g=o.current)?void 0:g.bouncingOffset)?b:0}else if(s&&a.current>0){let e=a.current;if(t.current&&console.info(\"lower velocity\",e),Math.abs(e)>u()){let n=e;let l=Date.now();t.current&&console.info(\"fling to lower event start with velocity\",e);let r=!1;let i=()=>{if(!1===!!c.current){t.current&&console.info(\"flingEndWithBouncingEnableFlag early return\");return}if(Math.abs(n)<=u())c.current=!1,t.current&&(console.info(\"fling to lower event end\"),console.info(\"bouncing to lower event start\")),d();else{if(p(-(n*(Math.pow(f.current,Date.now()-l)-1)/Math.log(f.current))),!r&&h()){var _;m((null==(_=o.current)?void 0:_.bouncingOffset)>0),r=!0}n=e*Math.pow(f.current,Date.now()-l),c&&v(i)}};v(i),c.current=!0}}}}),e0(void 0===O?void 0:O)&®isterWorkletInternal(\"main-thread\",\"402b:a938f:25\",function(e){var t,n,l,r,i,_;lynxWorkletImpl._workletMap[\"402b:a938f:25\"].bind(this);let{height:o,isAndroid:s,width:a}=this._c;o.current=null!=(i=s()?null==(t=e.params)?void 0:t.height:null==(n=e.detail)?void 0:n.height)?i:0,a.current=null!=(_=s()?null==(l=e.params)?void 0:l.width:null==(r=e.detail)?void 0:r.width)?_:0});let nl=tv(\"__snapshot_8d379_266d1_1\",function(){return[__CreateView(tf)]},[function(e){e.__elements&&__SetID(e.__elements[0],e.__values[0])},function(e){e.__elements&&__SetInlineStyles(e.__elements[0],e.__values[1])},(e,t,n)=>tU(e,t,n,0,\"main-thread\")],tp,void 0,O,null);let nr=tv(\"__snapshot_8d379_266d1_2\",function(){return[__CreateView(tf)]},[function(e){e.__elements&&__SetID(e.__elements[0],e.__values[0])},function(e){e.__elements&&__SetInlineStyles(e.__elements[0],e.__values[1])},(e,t,n)=>tU(e,t,n,0,\"main-thread\")],tp,void 0,O,null);let ni=tv(\"__snapshot_8d379_266d1_3\",function(){let e=__CreateView(tf);return __SetAttribute(e,\"exposure-id\",\"upperExposureView\"),__SetAttribute(e,\"flatten\",!1),[e]},[function(e){e.__elements&&__SetInlineStyles(e.__elements[0],e.__values[0])},function(e){e.__elements&&__SetAttribute(e.__elements[0],\"exposure-scene\",e.__values[1])},function(e){e.__elements&&__SetID(e.__elements[0],e.__values[2])},(e,t,n)=>tj(e,t,n,0,\"main-thread\",\"bindEvent\",\"uidisappear\"),(e,t,n)=>tj(e,t,n,0,\"main-thread\",\"bindEvent\",\"uiappear\"),(e,t,n)=>tU(e,t,n,0,\"main-thread\")],null,void 0,O,null);let n_=tv(\"__snapshot_8d379_266d1_4\",function(){let e=__CreateView(tf);return __SetAttribute(e,\"exposure-id\",\"lowerExposureView\"),__SetAttribute(e,\"flatten\",!1),[e]},[function(e){e.__elements&&__SetInlineStyles(e.__elements[0],e.__values[0])},function(e){e.__elements&&__SetAttribute(e.__elements[0],\"exposure-scene\",e.__values[1])},function(e){e.__elements&&__SetID(e.__elements[0],e.__values[2])},(e,t,n)=>tj(e,t,n,0,\"main-thread\",\"bindEvent\",\"uidisappear\"),(e,t,n)=>tj(e,t,n,0,\"main-thread\",\"bindEvent\",\"uiappear\"),(e,t,n)=>tU(e,t,n,0,\"main-thread\")],null,void 0,O,null);let no=tv(\"__snapshot_8d379_266d1_6\",function(){return[__CreateScrollView(tf)]},[(e,t,n)=>tJ(e,t,n,0)],tp,void 0,O,[0]);let ns=tv(\"__snapshot_8d379_266d1_5\",function(){let e=tf;let t=__CreateView(e);let n=__CreateWrapperElement(e);__AppendElement(t,n);let l=__CreateWrapperElement(e);return __AppendElement(t,l),[t,n,l]},[function(e){e.__elements&&__SetID(e.__elements[0],e.__values[0])},function(e){e.__elements&&__SetInlineStyles(e.__elements[0],e.__values[1])},(e,t,n)=>tU(e,t,n,0,\"main-thread\")],[[tK,1],[tK,2]],void 0,O,null);let na=function(e,t){var n,l,r,i;let _,o,s,a;let{children:u,bounceableOptions:c,sticky:d,elementProps:f}=e;let p=null!=(n=f[\"scroll-x\"])?n:!1===f[\"scroll-y\"];let h=f.id;let{style:m}=f;let v=!1;let g={enableBounces:!1};\"boolean\"==typeof c?(v=c,g={enableBounces:!0,singleSidedBounce:\"both\",alwaysBouncing:!0,validAnimationVersion:!0}):\"object\"==typeof c&&(v=c.enableBounces,(g=c).singleSidedBounce=null!=(l=c.singleSidedBounce)?l:\"both\",g.alwaysBouncing=null==(r=c.alwaysBouncing)||r,g.validAnimationVersion=null==(i=c.validAnimationVersion)||i);let b=function(e){var t,n,l,r,i,_,o,s,a,u,c;let d=t1(.55);let f=t1(.99);let p=t1(15);let h=t1(null!=(t=e.bounceableOptions.debugLog)&&t);let m=t1(null!=(n=e.bounceableOptions.singleSidedBounce)?n:\"both\");let v=t1(null);let g=t1(null);let b=t1(0);let y=t1({});let w=t1(null);let x=t1({});let S=t1({});let k=t1({});let C=t1(null!=(l=e.bounceableOptions.estimatedHeight)?l:SystemInfo.pixelHeight/SystemInfo.pixelRatio);let I=t1(null!=(r=e.bounceableOptions.estimatedWidth)?r:SystemInfo.pixelWidth/SystemInfo.pixelRatio);let E=t1(0);let A=t1(0);let T=t1(!1);let W=t1(!1);let P=t1(!1);let O=t1(!1);let D=t1(!1);let M=null!=(i=e.id)?i:\"bounceableContainer\";let{enableBounces:N,onScrollToBounces:R}=e.bounceableOptions;let B=null!=(_=e.bounceableOptions.alwaysBouncing)&&_;let L=null!=(o=e.scrollOrientation)?o:\"vertical\";let F=null==(s=e.bounceableOptions.enableBounceEventInFling)||s;let $=null!=(a=e.bounceableOptions.startBounceTriggerDistance)?a:0;let U=null!=(u=e.bounceableOptions.endBounceTriggerDistance)?u:0;let V=t1(null!=(c=e.bounceableOptions.validAnimationVersion)&&c);let H={_c:{scrollOrientation:L},_wkltId:\"402b:a938f:1\"};let j={_wkltId:\"402b:a938f:2\"};let z={_wkltId:\"402b:a938f:3\"};let G={_wkltId:\"402b:a938f:4\"};let q={_c:{isAndroid:z,selectorMT:nn,containerID:M},_wkltId:\"402b:a938f:5\"};let J={_c:{temporaryValidVersionCheckForRAF:V},_wkltId:\"402b:a938f:7\"};let K={_c:{startTouch:v,startBouncingTouch:w,scrollOrientation:L},_wkltId:\"402b:a938f:8\"};let Y={_c:{bouncingPositionInfo:y,toUpper:O,toLower:D,alwaysBouncing:B,bouncingStatus:{alwaysBouncing:4,noBouncing:3,upperBouncing:1,lowerBouncing:2,inScrollingRange:0},debugLog:h},_wkltId:\"402b:a938f:9\"};let X={_c:{isEmpty:G,bouncingPositionInfo:y,prevTouch:g,startTouch:v,bouncingTouchStartPosition:S,isVertical:H,selectorMT:nn,containerID:M},_wkltId:\"402b:a938f:11\"};let Z={_c:{debugLog:h},_wkltId:\"402b:a938f:12\",_jsFn:{_jsFn1:{_isFirstScreen:!0}}};let Q={_c:{isVertical:H,height:C,width:I,isEmpty:G,startTouchBouncingDelta:x,bouncingTouchStartPosition:S,rubberC:d,debugLog:h,bouncingSetStyle:X},_wkltId:\"402b:a938f:13\"};let ee={_c:{bouncingPositionInfo:y,startBounceTriggerDistance:$,endBounceTriggerDistance:U,threshold:j},_wkltId:\"402b:a938f:15\"};let et={_c:{debugLog:h,bouncingPositionInfo:y,touchingEndBouncingBackEnableFlag:W,beta:p,bouncingSetStyle:X,threshold:j,customRequestAnimationFrame:J},_wkltId:\"402b:a938f:16\"};return{\"main-thread:bindtouchstart\":{_c:{startTouch:v,debugLog:h,bouncingTouchStartPosition:S,bouncingPositionInfo:y,touchEndFrameEnableFlag:T,touchingEndBouncingBackEnableFlag:W,flingEndWithBouncingEnableFlag:P},_wkltId:\"402b:a938f:17\"},\"main-thread:bindtouchend\":{_c:{clearTouchInfo:{_c:{debugLog:h,startTouch:v,bouncingTouchStartPosition:S,prevTouch:g,startBouncingTouch:w,startTouchBouncingDelta:x},_wkltId:\"402b:a938f:6\"},enableScroll:q,debugLog:h,shouldBounceWhenTouchEnd:{_c:{bouncingStatus:{inScrollingRange:0,noBouncing:3,upperBouncing:1,lowerBouncing:2,alwaysBouncing:4},alwaysBouncing:B},_wkltId:\"402b:a938f:10\"},getBouncingStatus:Y,bouncingPositionInfo:y,isOverTriggerDistance:ee,triggerScrollToBouncesEvent:Z,touchEndFrameEnableFlag:T,threshold:j,bouncingBack:et,flingDeceleratingRate:f,bouncingSetStyle:X,customRequestAnimationFrame:J},_wkltId:\"402b:a938f:19\"},\"main-thread:bindtouchmove\":{_c:{prevTouch:g,startTouch:v,getCurrentDelta:K,getBouncingStatus:Y,bouncingStatus:{upperBouncing:1,lowerBouncing:2,alwaysBouncing:4,inScrollingRange:0},enableScroll:q,rubberEffect:Q,debugLog:h,alwaysBouncing:B,triggerRubberEffectIfCrossingEdge:{_c:{getCurrentDelta:K,debugLog:h,toUpper:O,toLower:D,singleSidedBounce:m,enableScroll:q,rubberEffect:Q},_wkltId:\"402b:a938f:14\"}},_wkltId:\"402b:a938f:18\"},\"main-thread:bindlayoutchange\":{_c:{height:C,isAndroid:z,width:I},_wkltId:\"402b:a938f:25\"},\"main-thread:bindscroll\":{_c:{scrollX:E,scrollY:A,isEmpty:G,prevScroll:k,isVertical:H,scrollVelocity:b},_wkltId:\"402b:a938f:20\"},onUpperExposure:{_c:{debugLog:h,toUpper:O,singleSidedBounce:m,prevScroll:k,startBouncingTouch:w,prevTouch:g,startTouchBouncingDelta:x,bouncingPositionInfo:y,scrollVelocity:b,threshold:j,flingEndWithBouncingEnableFlag:P,bouncingBack:et,flingDeceleratingRate:f,bouncingSetStyle:X,isOverTriggerDistance:ee,triggerScrollToBouncesEvent:Z,customRequestAnimationFrame:J},_wkltId:\"402b:a938f:22\"},onUpperDisexposure:{_c:{debugLog:h,toUpper:O},_wkltId:\"402b:a938f:21\"},onLowerExposure:{_c:{debugLog:h,toLower:D,singleSidedBounce:m,prevTouch:g,startBouncingTouch:w,startTouchBouncingDelta:x,bouncingPositionInfo:y,enableBounceEventInFling:F,scrollVelocity:b,threshold:j,flingEndWithBouncingEnableFlag:P,bouncingBack:et,flingDeceleratingRate:f,bouncingSetStyle:X,isOverTriggerDistance:ee,triggerScrollToBouncesEvent:Z,customRequestAnimationFrame:J},_wkltId:\"402b:a938f:24\"},onLowerDisexposure:{_c:{debugLog:h,toLower:D},_wkltId:\"402b:a938f:23\"}}}({bounceableOptions:g,id:h,scrollOrientation:p?\"horizontal\":\"vertical\"});return v&&(g.upperBounceItem&&(_=tX(nl,{values:[`${h}-upperBounceWrapper`,`position:absolute;${p?\"right:100%\":\"bottom:100%\"}; ${p?\"height:100%;\":\"width:100%;\"};${p?\"width:max-content\":\"height:max-content\"};`,f[\"main-thread:gesture\"]],children:g.upperBounceItem})),g.lowerBounceItem&&(o=tX(nr,{values:[`${h}-lowerBounceWrapper`,`position:absolute;${p?\"left:100%\":\"top:100%\"}; ${p?\"height:100%;\":\"width:100%;\"};${p?\"width:max-content\":\"height:max-content\"};`,f[\"main-thread:gesture\"]],children:g.lowerBounceItem})),s=tX(ni,{values:[`display: flex; flex-direction: column; overflow:hidden; height: ${p?\"100%\":\"1ppx\"}; width: ${p?\"1ppx\":\"100%\"};`,h,`${h}-upperExposureView`,b.onUpperDisexposure,b.onUpperExposure,f[\"main-thread:gesture\"]]}),a=tX(n_,{values:[`display: flex; flex-direction: column; overflow:hidden; height: ${p?\"100%\":\"1ppx\"}; width: ${p?\"1ppx\":\"100%\"};`,h,`${h}-lowerExposureView`,b.onLowerDisexposure,b.onLowerExposure,f[\"main-thread:gesture\"]]})),tX(ns,{values:[`${h}-BounceWrapper`,`display: flex; flex-direction: column; overflow:hidden; height: ${p?\"100%\":`${null==m?void 0:m.height}`}; width: ${p?`${null==m?void 0:m.width}`:\"100%\"};`,f[\"main-thread:gesture\"]],children:[tX(no,{values:[{...f,...b,bounces:!1,\"ios-enable-simultaneous-touch\":!0,name:\"lepus\",flatten:!1,__spread:!0}],children:[s,d,u,a]}),tX(\"wrapper\",{children:[_,o]})]})};let nu=eD(eR(function(e,t){let{scrollviewId:n=\"scrollview\",horizontal:l=!1,style:r,children:i,scrollOrientation:_,lazyOptions:o,className:s=\"\",bounceableOptions:a={enableBounces:!0,singleSidedBounce:\"iOSBounces\"},enableScroll:u=!0,enableScrollMonitor:c=!1,scrollMonitorTag:d,sticky:f,scrollPropagationBehavior:p=\"native\",temporaryBlockScrollClass:h=\"BDXLynxViewPager\",temporaryBlockScrollTag:m=0,temporaryNestedScroll:v,androidTouchSlop:g,\"main-thread:gesture\":b}=e;let y=ew({...t2,...t3,...t4,...t9,...nc});let w=o?{firstScreenItemCount:1,...o}:void 0;let x=((e,t)=>{let n={};for(let l of Object.keys(e))l in t&&(n[t[l]]=e[l]);let l=((e,t)=>{let n={};for(let l of(t1(),Object.keys(e)))l in t&&(n[t[l]]={_c:{events:e,event:l},_wkltId:\"eb73:31a1b:1\"});return n})(e,Object.entries(t).reduce((e,[t,n])=>(e[`main-thread:${t}`]=`main-thread:${n}`,e),{}));return{...n,...l}})(e,y.current);let S=()=>_?\"horizontal\"===_:l;let k=!1;let C={enableBounces:!1};if(\"boolean\"==typeof a)C={enableBounces:k=a,singleSidedBounce:\"both\",alwaysBouncing:!0,validAnimationVersion:!0};else if(\"object\"==typeof a){var I,E,A;k=a.enableBounces,(C=a).singleSidedBounce=null!=(I=a.singleSidedBounce)?I:\"both\",C.alwaysBouncing=null==(E=a.alwaysBouncing)||E,C.validAnimationVersion=null==(A=a.validAnimationVersion)||A}let T=k&&(null==C?void 0:C.singleSidedBounce)===\"iOSBounces\";let W=(e,t)=>{if(!Array.isArray(e))return e;let l=null==t?void 0:t.enableLazy;return e.map((e,r)=>l&&r>=Number(null==t?void 0:t.firstScreenItemCount)?tX(t5,{scene:null==t?void 0:t.scene,pid:`pid_${r}`,estimatedStyle:null==t?void 0:t.estimatedItemStyle,top:null==t?void 0:t.exposureTop,bottom:null==t?void 0:t.exposureBottom,left:null==t?void 0:t.exposureLeft,right:null==t?void 0:t.exposureRight,children:e},`${n}_lazy_${r}`):e)};let P={id:n,\"scroll-x\":S(),\"scroll-y\":!S(),\"enable-scroll-monitor\":c,\"scroll-monitor-tag\":d,\"main-thread:gesture\":b,\"force-can-scroll\":\"preventPropagate\"===p,\"ios-block-gesture-class\":\"preventPropagate\"===p?h:\"\",\"ios-recognized-view-tag\":\"preventPropagate\"===p?m:0,\"enable-nested-scroll\":\"Android\"===SystemInfo.platform?null==v||v:\"iOS\"!==SystemInfo.platform||\"propagate\"===p,\"enable-new-nested\":!0,className:s,style:r,bounces:T,\"enable-scroll\":u,...void 0!==g&&{\"android-touch-slop\":g},...x};return k&&\"iOSBounces\"!==C.singleSidedBounce&&\"none\"!==C.singleSidedBounce?tX(na,{elementProps:P,bounceableOptions:C,sticky:f,children:W(i,w)}):tX(nt,{elementProps:P,sticky:f,children:W(i,w)})}));let nc={onContentSizeChange:\"bindcontentsizechanged\"};function nd(e){let t=ew(e);t.current=ex(()=>e,[e]);let n=ew();return null!=n.current||(n.current=function(...e){return t.current.apply(this,e)}),n.current}function nf(){for(var e,t,n=0,l=\"\",r=arguments.length;n<r;n++)(e=arguments[n])&&(t=function e(t){var n,l,r=\"\";if(\"string\"==typeof t||\"number\"==typeof t)r+=t;else if(\"object\"==typeof t)if(Array.isArray(t)){var i=t.length;for(n=0;n<i;n++)t[n]&&(l=e(t[n]))&&(r&&(r+=\" \"),r+=l)}else for(l in t)t[l]&&(r&&(r+=\" \"),r+=l);return r}(e))&&(l&&(l+=\" \"),l+=t);return l}let np=ea({active:!1,disabled:!1});let nh=tv(\"__snapshot_11572_54683_1\",function(){return[__CreateView(tf)]},[(e,t,n)=>tJ(e,t,n,0)],tp,void 0,O,[0]);let nm=e=>{let{children:t,onClick:n,disabled:l=!1,style:r,className:i,buttonProps:_}=e;let[o,s]=eb(!1);let a=o&&!l;let u=\"function\"==typeof t?t({active:a,disabled:l}):t;let c=nd(()=>{l||s(!0)});let d=nd(()=>{if(s(!1),l)return});let f=nd(()=>{l||null==n||n()});let p=ex(()=>({active:a,disabled:l}),[a,l]);return tX(np.Provider,{value:p,children:tX(nh,{values:[{bindtap:f,bindtouchstart:c,bindtouchend:d,bindtouchcancel:d,\"event-through\":!1,style:r,className:nf(i,{\"ui-active\":a,\"ui-disabled\":l}),..._,__spread:!0}],children:u})})};let nv=(e,...t)=>{e&&console.info(...t)};e0(void 0===O?void 0:O)&®isterWorkletInternal(\"main-thread\",\"333e:982fb:1\",function(e,...t){e&&console.info(...t)});let ng=new Map;let nb=0;let ny=tv(\"__snapshot_0b292_2bba5_1\",function(){let e=tf;let t=__CreateElement(\"overlay\",e);let n=__CreateView(e);return __AppendElement(t,n),[t,n]},[(e,t,n)=>tJ(e,t,n,0),function(e){e.__elements&&__SetInlineStyles(e.__elements[1],e.__values[1])},function(e){e.__elements&&__SetClasses(e.__elements[1],e.__values[2]||\"\")},function(e){e.__elements&&__SetAttribute(e.__elements[1],\"event-through\",e.__values[3])}],[[tY,1]],void 0,O,[0]);let nw=tv(\"__snapshot_0b292_2bba5_2\",function(){return[__CreateView(tf)]},[(e,t,n)=>tJ(e,t,n,0)],tp,void 0,O,[0]);let nx=e=>{let{id:t,container:n,children:l,className:r,style:i,overlayLevel:_,debugLog:o=!1,overlayViewProps:s}=e;let a=ew(null);let{\"event-through\":u=!0,...c}=null!=s?s:{};let[d,f]=eb(null!=t?t:()=>`lynx-ui-overlay-viewport-${nb++}`);let[p]=eb(_);nv(o,\"[OverlayView] id:\",d,\"container:\",n);let[h,m]=eb(void 0===p);return eK(),n?tX(ny,{values:[{\"custom-layout\":!0,visible:h,style:{overflow:\"visible\",position:\"fixed\"},mode:(e=>{if(e)return ng.has(e)?ng.get(e):e})(n),bindshowoverlay:e=>{nv(o,\"[OverlayView] handleShowOverlay\",e)},\"events-pass-through\":!0,\"cut-out-mode\":!0,level:p,id:d,...c,__spread:!0},i,r,u],children:l}):tX(nw,{values:[{ref:a,className:r,style:i,id:d,...s,__spread:!0}],children:l})};var nS=((y={})[y.Initial=0]=\"Initial\",y[y.Entering=1]=\"Entering\",y[y.DelayedEntering=2]=\"DelayedEntering\",y[y.Entered=3]=\"Entered\",y[y.Leaving=4]=\"Leaving\",y[y.Left=5]=\"Left\",y);let nk=({state:e,enableDelay:t,grouped:n=!1})=>{let l=t?2:1;let r=e===l||3===e;return{leaving:4===e,entering:e===l,animating:4===e||e===l,open:n?r||4===e:r,closed:n?5===e:4===e||5===e||t&&1===e}};let nC=({state:e,enableDelay:t,className:n,transition:l,grouped:r})=>{let i=nk({state:e,enableDelay:t,grouped:r});return l?nf(n,{\"ui-entering\":i.entering,\"ui-leaving\":i.leaving,\"ui-animating\":i.animating,\"ui-open\":i.open,\"ui-closed\":i.closed}):nf(n,{\"ui-open\":i.open,\"ui-closed\":i.closed})};ea(null);let nI=ea(null);let nE=e=>{let{children:t,status:n}=e;return\"function\"==typeof t?t(n):t};function nA(e){let{show:t,forceMount:n,state:l,setPresenceState:r,children:i,enableDelay:_=!1,onOpen:o,onClose:s,debugLog:a}=e;let[u,c]=eb(nS.Left);let d=function(e){let{show:t,state:n,enableDelay:l=!1,setPresenceState:r,onOpen:i,onClose:_,debugLog:o=!1}=e;nv(o,`[lynx-ui-presence][usePresence] init, show: ${t}, state: ${n}, enableDelay: ${l}`),l?nS.DelayedEntering:nS.Entering;let s=ew(!1);let a=ew(!1);ew(!0);let u=ew(t);let[c,d]=eb(!1);let f=ew(0);let p=ew(0);ew(0),ew(0),ew(0),u.current=t;let h=()=>!1===a.current&&!1===s.current;let m=()=>{nv(o,`[lynx-ui-presence][usePresence] handleAnimationStart state:${n}, show:${t}, isTransition:${s.current}, isKFAnimating:${a.current}`)};let v=()=>{(n===nS.Entering||n===nS.DelayedEntering)&&h()&&(u.current?r(nS.Entered):r(nS.Leaving)),n===nS.Leaving&&h()&&r(nS.Left)};return eK(),eK(),eK(),{controllers:{state:n,mount:c,setPresenceState:r},animationHandlers:{handleKFStart:()=>{a.current=!0,f.current+=1,p.current+=1,nv(o,`[lynx-ui-presence][usePresence] KF start, loopId: ${p.current}`),m()},handleKFCancel:()=>{a.current=!1,nv(o,`[lynx-ui-presence][usePresence] KF cancel, loopId: ${p.current}`),v()},handleKFEnd:e=>{a.current=!1,nv(o,`[lynx-ui-presence][usePresence] KF end, loopId: ${p.current}`),v()},handleTransitionStart:()=>{s.current=!0,f.current+=1,p.current+=1,nv(o,`[lynx-ui-presence][usePresence] Transition start, loopId: ${p.current}`),m()},handleTransitionCancel:()=>{s.current=!1,nv(o,`[lynx-ui-presence][usePresence] Transition cancel, loopId: ${p.current}`),v()},handleTransitionEnd:e=>{s.current=!1,nv(o,`[lynx-ui-presence][usePresence] Transition end, loopId: ${p.current}`),v()}}}}({show:t,state:null!=l?l:u,setPresenceState:null!=r?r:c,enableDelay:_,onOpen:o,onClose:s,debugLog:a});let{mount:f}=d.controllers;let p=nk({state:null!=l?l:u,enableDelay:_});return tX(nI.Provider,{value:d,children:(f||n)&&nE({children:i,status:p})})}function nT(e){return e.split(\"-\")[0]}function nW(e){return[\"top\",\"bottom\"].includes(nT(e))?\"y\":\"x\"}function nP(e){return\"x\"===e?\"y\":\"x\"}function nO(e){return e.split(\"-\")[1]}function nD(e,t){return\"function\"==typeof e?e(t):e}function nM(e){return\"number\"==typeof e?{top:e,right:e,bottom:e,left:e}:{top:0,right:0,bottom:0,left:0,...e}}function nN(e,t,n){return Math.max(e,Math.min(t,n))}function nR(e){let{x:t,y:n,width:l,height:r}=e;return{width:l,height:r,top:n,left:t,right:t+l,bottom:n+r,x:t,y:n}}async function nB(e,t){var n,l,r;let{placement:i,platform:_,elements:o}=e;let s=await (null==(n=_.isRTL)?void 0:n.call(_,o.floating));let a=nT(i);let u=nO(i);let c=\"y\"===nW(i);let d=[\"left\",\"top\"].includes(a)?-1:1;let f=s&&c?-1:1;let p=nD(t,e);let{mainAxis:h,crossAxis:m,alignmentAxis:v}=\"number\"==typeof p?{mainAxis:p,crossAxis:0,alignmentAxis:null}:{mainAxis:null!=(l=p.mainAxis)?l:0,crossAxis:null!=(r=p.crossAxis)?r:0,alignmentAxis:p.alignmentAxis};return u&&\"number\"==typeof v&&(m=\"end\"===u?-1*v:v),c?{x:m*f,y:h*d}:{x:h*d,y:m*f}}SystemInfo.pixelWidth,SystemInfo.pixelRatio,SystemInfo.pixelHeight,SystemInfo.pixelRatio;let nL=(e=0)=>({name:\"offset\",options:e,async fn(t){var n,l;let{x:r,y:i,placement:_,middlewareData:o}=t;let s=await nB(t,e);return _===(null==(n=o.offset)?void 0:n.placement)&&(null==(l=o.arrow)?void 0:l.alignmentOffset)?{}:{x:r+s.x,y:i+s.y,data:{...s,placement:_}}}});async function nF(e,t){let{x:n,y:l,rects:r,platform:i}=e;let{floating:_,reference:o}=r;let s={..._,x:n,y:l,...e.middlewareData.size?{width:nN(0,_.width,e.middlewareData.size.availableWidth),height:nN(0,_.height,e.middlewareData.size.availableHeight)}:{}};let{padding:a=0}=nD(t,e);let u=nM(a);let c=nR(await i.getClippingRect());let d=nR({x:s.x+o.x,y:s.y+o.y,width:s.width,height:s.height});return{top:c.top-d.top+u.top,bottom:d.bottom-c.bottom+u.bottom,left:c.left-d.left+u.left,right:d.right-c.right+u.right}}let n$=(e={})=>({name:\"shift\",options:e,async fn(t){let{x:n,y:l,placement:r}=t;let{mainAxis:i=!0,crossAxis:_=!1,limiter:o={fn:({x:e,y:t})=>({x:e,y:t})},...s}=nD(e,t);let a={x:n,y:l};let u=await nF(t,s);let c=nW(nT(r));let d=nP(c);let f=a[d];let p=a[c];if(i){let e=\"y\"===d?\"top\":\"left\";let t=\"y\"===d?\"bottom\":\"right\";let n=f+u[e];let l=f-u[t];f=nN(n,f,l)}if(_){let e=\"y\"===c?\"top\":\"left\";let t=\"y\"===c?\"bottom\":\"right\";let n=p+u[e];let l=p-u[t];p=nN(n,p,l)}let h=o.fn({...t,[d]:f,[c]:p});return{...h,data:{x:h.x-n,y:h.y-l,enabled:{[d]:i,[c]:_}}}}});let nU=()=>{};let nV=(e,t)=>{switch(t.type){case\"updateReference\":return{...e,reference:t.rect};case\"updateAlternativeReference\":return{...e,alternativeReference:t.rect};case\"updateFloating\":return{...e,floating:t.rect};case\"updateArrowCoords\":return{...e,arrow:{...e.arrow,coords:t.coords}};case\"updateArrowInfo\":return{...e,arrow:{...e.arrow,...t.info}};case\"updateFloatingCoords\":return{...e,floatingCoords:t.coords};case\"updateMaxContentSize\":return{...e,maxContentSize:{maxWidth:`${Math.max(0,t.dimension.width)}px`,maxHeight:`${Math.max(0,t.dimension.height)}px`}};default:return e}};let nH=ea({sharedInfo:{reference:{y:0,x:0,width:0,height:0},floating:{y:0,x:0,width:0,height:0},arrow:{coords:{y:0,x:0},offset:0,size:0},floatingCoords:{y:0,x:0}},updateRects:nU,show:!1,forceMount:!1,setUncontrolledShow:nU,state:nS.Initial,setPresenceState:nU});let nj=e=>{let{children:t,onClose:n,onOpen:l,show:r,onVisibleChange:i,defaultShow:_=!1,forceMount:o=!1,debugLog:s}=e;let[a,u]=eb(nS.Initial);let[c,d]=eb(!1);let f=void 0!==r;let[p,h]=eb(_);let m=f?r:p;let{sharedInfo:v,updateRects:g}=(()=>{let[e,t]=ey(nV,{reference:{width:0,height:0,x:-0,y:-0},floating:{width:0,height:0,x:-0,y:-0},arrow:{coords:{x:-0,y:-0},size:0,offset:0},floatingCoords:{x:-0,y:-0}});return{sharedInfo:e,updateRects:t}})();let b=ex(()=>({sharedInfo:v,updateRects:g,forceMount:o,show:m,setUncontrolledShow:h,hasAnchor:c,setHasAnchor:d,state:a,setPresenceState:u,onOpen:l,onClose:n,isControlled:f,onVisibleChange:i,debugLog:s}),[v,g,m,o,c,d,h,a,u,l,n,f,i,s]);return tX(nH.Provider,{value:b,children:t})};let nz=e=>{let t,{children:n,placement:l,style:r,className:i,placementOffset:_=0,autoAdjust:o,crossAxisOffset:s=0,transition:a,popoverPositionerProps:u}=e;let{show:c,sharedInfo:d,updateRects:f,hasAnchor:p,state:h,setPresenceState:m,onClose:v,onOpen:g,debugLog:b}=eS(nH);let{reference:y,floating:w,alternativeReference:x,maxContentSize:S}=d;let{offset:k,size:C}=d.arrow;return\"shift\"===o?(nL({mainAxis:C+_,crossAxis:s}),n$({crossAxis:!0})):\"size\"===o?(nL({mainAxis:C+_,crossAxis:s}),((e={})=>({name:\"size\",options:e,async fn(t){var n,l,r;let i,_;let{placement:o,rects:s,platform:a,elements:u}=t;let{apply:c,...d}=nD(e,t);let f=await nF(t,d);let p=nT(o);let h=nO(o);let m=\"y\"===nW(o);let{width:v,height:g}=s.floating;\"top\"===p||\"bottom\"===p?(i=p,_=h===(await (null==(r=a.isRTL)?void 0:r.call(a,u.floating))?\"start\":\"end\")?\"left\":\"right\"):(_=p,i=\"end\"===h?\"top\":\"bottom\");let b=g-f.top-f.bottom;let y=v-f.left-f.right;let w=Math.min(g-f[i],b);let x=Math.min(v-f[_],y);let S=!t.middlewareData.shift;let k=w;let C=x;if((null==(n=t.middlewareData.shift)?void 0:n.enabled.x)&&(C=y),(null==(l=t.middlewareData.shift)?void 0:l.enabled.y)&&(k=b),S&&!h){let e=Math.max(f.left,0);let t=Math.max(f.right,0);let n=Math.max(f.top,0);let l=Math.max(f.bottom,0);m?C=v-2*(0!==e||0!==t?e+t:Math.max(f.left,f.right)):k=g-2*(0!==n||0!==l?n+l:Math.max(f.top,f.bottom))}return await (null==c?void 0:c({...t,availableWidth:C,availableHeight:k})),{data:{availableWidth:C,availableHeight:k}}}}))({apply({availableHeight:e,availableWidth:t}){f({type:\"updateMaxContentSize\",dimension:{width:t,height:e}})}}),n$({crossAxis:!0,limiter:((e={})=>({options:e,fn(t){let{x:n,y:l,placement:r,rects:i,middlewareData:_}=t;let{offset:o=0,mainAxis:s=!0,crossAxis:a=!0}=nD(e,t);let u={x:n,y:l};let c=nW(r);let d=nP(c);let{width:f,height:p}=i.reference;let h={x:0,y:0,width:f,height:p};let m=u[d];let v=u[c];let g=nD(o,t);let b=\"number\"==typeof g?{mainAxis:g,crossAxis:0}:{mainAxis:0,crossAxis:0,...g};if(s){let e=\"y\"===d?\"height\":\"width\";let t=h[d]-i.floating[e]+b.mainAxis;let n=h[d]+h[e]-b.mainAxis;m<t?m=t:m>n&&(m=n)}if(a){var y,w,x,S;let e=\"y\"===d?\"width\":\"height\";let t=[\"top\",\"left\"].includes(nT(r));let n=h[c]-i.floating[e]+(t&&null!=(x=null==(y=_.offset)?void 0:y[c])?x:0)+(t?0:b.crossAxis);let l=h[c]+h[e]+(t?0:null!=(S=null==(w=_.offset)?void 0:w[c])?S:0)-(t?b.crossAxis:0);v<n?v=n:v>l&&(v=l)}return{[d]:m,[c]:v}}}))({crossAxis:!0,mainAxis:!0,offset:C+_})})):nL({mainAxis:C+_,crossAxis:s}),{options:t={padding:k},async fn(e){var n,l;let{x:r,y:i,placement:_,rects:o,platform:s,middlewareData:a}=e;let{padding:u=0}=null!=(n=nD(t,e))?n:{};let{width:c,height:d}=o.reference;let f={x:0,y:0,width:c,height:d};let p=nM(u);let h={x:r,y:i};let m=nP(nW(_));let v=\"y\"===m?\"height\":\"width\";let g=await s.getDimensions(\"arrow\");let b=\"y\"===m;let y=f[v]+f[m]-h[m]-o.floating[v];let w=h[m]-f[m];let x=nR({x:r,y:i,width:o.floating.width,height:o.floating.height});let S=null!=(l=null==x?void 0:x[b?\"height\":\"width\"])?l:0;let k=S/2-g[v]/2-1;let C=Math.min(p[b?\"top\":\"left\"],k);let I=Math.min(p[b?\"bottom\":\"right\"],k);let E=S-g[v]-I;let A=S/2-g[v]/2+(y/2-w/2);let T=nN(C,A,E);let W=!a.arrow&&null!=nO(_)&&A!==T&&o.reference[v]/2-(A<C?C:I)-g[v]/2<0;let P=W?A<C?A-C:A-E:0;return{[m]:h[m]+P,data:{[m]:T,centerOffset:A-T-P,...W&&{alignmentOffset:P}},reset:W}}},eK(),tX(nA,{show:c,state:h,setPresenceState:m,enableDelay:!0,onClose:v,onOpen:g,debugLog:b,children:tX(nX.Provider,{value:{placement:l},children:tX(nJ,{placement:l,style:{...r,...S&&{maxWidth:S.maxWidth,maxHeight:S.maxHeight}},className:i,placementOffset:_,transition:a,popoverOverlayProps:u,children:n})})})};let nG=e=>{let{style:t,children:n,className:l,onClick:r,disabled:i,transition:_}=e;let{updateRects:o,setUncontrolledShow:s,state:a,show:u,isControlled:c,onVisibleChange:d}=eS(nH);let f=(e=>{switch(e){case nS.Entering:case nS.DelayedEntering:case nS.Leaving:return!0;default:return!1}})(a);let p=f||i;return tX(nm,{buttonProps:{bindlayoutchange:e=>{var t,n;let{width:l=0,height:r=0,left:i=0,top:_=0}=e&&null!=(n=null!=(t=e.detail)?t:e.params)?n:{};o({type:\"updateReference\",rect:{width:l,height:r,x:i,y:_}})}},style:t,className:nf(nC({state:a,enableDelay:!0,className:l,transition:_}),{\"ui-busy\":f}),onClick:()=>{c?null==d||d(!u):null==s||s(e=>!e),null==r||r()},disabled:p,children:n})};tv(\"__snapshot_348d9_88fe9_1\",function(){return[__CreateView(tf)]},[function(e){e.__elements&&__SetInlineStyles(e.__elements[0],e.__values[0])},function(e){e.__elements&&__SetClasses(e.__elements[0],e.__values[1]||\"\")},(e,t,n)=>t$(e,t,n,0,\"bindEvent\",\"layoutchange\",\"\")],tp,void 0,O,null);let nq=tv(\"__snapshot_348d9_88fe9_2\",function(){return[__CreateView(tf)]},[(e,t,n)=>t$(e,t,n,0,\"bindEvent\",\"layoutchange\",\"\"),function(e){e.__elements&&__SetClasses(e.__elements[0],e.__values[1]||\"\")},function(e){e.__elements&&__SetInlineStyles(e.__elements[0],e.__values[2])}],tp,void 0,O,null);let nJ=e=>{let{className:t,style:n,children:l,container:r,transition:i,popoverOverlayProps:_}=e;let{controllers:o}=eS(nI);let{state:s}=o;let{sharedInfo:a,updateRects:u}=eS(nH);let{floatingCoords:c}=a;let{x:d,y:f}=c;let p=nk({state:s,enableDelay:!0});let h=nC({state:s,enableDelay:!0,className:t,transition:i});let m=function(e){let[t,n]=eb(\"hidden\");return eK(),t}(0);return tX(nx,{container:r,style:{left:`${d}px`,top:`${f}px`,position:\"absolute\"},overlayViewProps:_,children:tX(nq,{values:[1,h,{...n,visibility:m}],children:nE({children:l,status:p})})})};let nK=tv(\"__snapshot_348d9_88fe9_3\",function(){return[__CreateView(tf)]},[(e,t,n)=>tJ(e,t,n,0)],tp,void 0,O,[0]);let nY=e=>{let{children:t,style:n,className:l,transition:r,popoverContentProps:i}=e;let{animationHandlers:_,controllers:o}=eS(nI);let s=o.state;let{sharedInfo:a}=eS(nH);let{maxContentSize:u}=a;let{handleKFStart:c,handleKFCancel:d,handleKFEnd:f,handleTransitionStart:p,handleTransitionCancel:h,handleTransitionEnd:m}=_;let v=nC({state:s,enableDelay:!0,className:l,transition:r});return tX(nK,{values:[{bindanimationstart:c,bindanimationend:f,bindanimationcancel:d,bindtransitionstart:p,bindtransitioncancel:h,bindtransitionend:m,\"event-through\":!1,overlap:!1,style:{...n,...u&&{maxWidth:u.maxWidth,maxHeight:u.maxHeight}},className:v,...i,flatten:!1,__spread:!0}],children:t})};let nX=ea({placement:\"top\"});tv(\"__snapshot_348d9_88fe9_4\",function(){return[__CreateView(tf)]},[function(e){e.__elements&&__SetClasses(e.__elements[0],e.__values[0]||\"\")},function(e){e.__elements&&__SetInlineStyles(e.__elements[0],e.__values[1])}],tp,void 0,O,null);let nZ=tv(\"__snapshot_a0f7d_37ee3_2\",function(){return[__CreateText(tf)]},[function(e){e.__elements&&__SetClasses(e.__elements[0],e.__values[0]||\"\")}],tp,void 0,O,null);let nQ=tv(\"__snapshot_a0f7d_37ee3_3\",function(){return[__CreateText(tf)]},[function(e){e.__elements&&__SetClasses(e.__elements[0],e.__values[0]||\"\")}],tp,void 0,O,null);let n0=tv(\"__snapshot_a0f7d_37ee3_1\",function(){let e=tf;let t=__CreateView(e);let n=__CreateWrapperElement(e);__AppendElement(t,n);let l=__CreateWrapperElement(e);__AppendElement(t,l);let r=__CreateView(e);__AppendElement(t,r);let i=__CreateView(e);__AppendElement(t,i);let _=__CreateText(e);__AppendElement(i,_);let o=__CreateRawText(\"ACTIONS\");__AppendElement(_,o);let s=__CreateView(e);__AppendElement(i,s);let a=__CreateText(e);__AppendElement(s,a);let u=__CreateRawText(\"Capture\");__AppendElement(a,u);let c=__CreateView(e);__AppendElement(i,c);let d=__CreateText(e);__AppendElement(c,d);let f=__CreateRawText(\"Reflect\");__AppendElement(d,f);let p=__CreateView(e);__AppendElement(i,p);let h=__CreateText(e);__AppendElement(p,h);let m=__CreateRawText(\"Archive\");__AppendElement(h,m);let v=__CreateView(e);__AppendElement(t,v);let g=__CreateText(e);__AppendElement(v,g);let b=__CreateRawText(\"SETTINGS\");__AppendElement(g,b);let y=__CreateView(e);__AppendElement(v,y);let w=__CreateText(e);__AppendElement(y,w);let x=__CreateRawText(\"Notifications\");__AppendElement(w,x);let S=__CreateText(e);__AppendElement(y,S);let k=__CreateRawText(\"On\");__AppendElement(S,k);let C=__CreateView(e);__AppendElement(v,C);let I=__CreateText(e);__AppendElement(C,I);let E=__CreateRawText(\"Reminders\");__AppendElement(I,E);let A=__CreateText(e);__AppendElement(C,A);let T=__CreateRawText(\"Daily\");return __AppendElement(A,T),[t,n,l,r,i,_,o,s,a,u,c,d,f,p,h,m,v,g,b,y,w,x,S,k,C,I,E,A,T]},[function(e){e.__elements&&__SetClasses(e.__elements[0],e.__values[0]||\"\")},function(e){e.__elements&&__SetClasses(e.__elements[3],e.__values[1]||\"\")},function(e){e.__elements&&__SetClasses(e.__elements[4],e.__values[2]||\"\")},function(e){e.__elements&&__SetClasses(e.__elements[5],e.__values[3]||\"\")},function(e){e.__elements&&__SetClasses(e.__elements[7],e.__values[4]||\"\")},function(e){e.__elements&&__SetClasses(e.__elements[8],e.__values[5]||\"\")},function(e){e.__elements&&__SetClasses(e.__elements[10],e.__values[6]||\"\")},function(e){e.__elements&&__SetClasses(e.__elements[11],e.__values[7]||\"\")},function(e){e.__elements&&__SetClasses(e.__elements[13],e.__values[8]||\"\")},function(e){e.__elements&&__SetClasses(e.__elements[14],e.__values[9]||\"\")},function(e){e.__elements&&__SetClasses(e.__elements[16],e.__values[10]||\"\")},function(e){e.__elements&&__SetClasses(e.__elements[17],e.__values[11]||\"\")},function(e){e.__elements&&__SetClasses(e.__elements[19],e.__values[12]||\"\")},function(e){e.__elements&&__SetClasses(e.__elements[20],e.__values[13]||\"\")},function(e){e.__elements&&__SetClasses(e.__elements[22],e.__values[14]||\"\")},function(e){e.__elements&&__SetClasses(e.__elements[24],e.__values[15]||\"\")},function(e){e.__elements&&__SetClasses(e.__elements[25],e.__values[16]||\"\")},function(e){e.__elements&&__SetClasses(e.__elements[27],e.__values[17]||\"\")}],[[tK,1],[tK,2]],void 0,O,null);function n1({title:e=\"Narrative Options\",description:t=\"Moments persist. Actions are transient. Tap to close.\",className:n,titleClassName:l,descriptionClassName:r,dividerClassName:i,sectionClassName:_,sectionTitleClassName:o,rowClassName:s,rowLabelClassName:a,rowValueClassName:u}){return tX(n0,{values:[nf(\"options-menu-panel\",n),nf(\"options-menu-divider\",i),nf(\"options-menu-section\",_),nf(\"options-menu-section-title\",o),nf(\"options-menu-row\",s),nf(\"options-menu-row-label\",a),nf(\"options-menu-row\",s),nf(\"options-menu-row-label\",a),nf(\"options-menu-row\",s),nf(\"options-menu-row-label\",a),nf(\"options-menu-section\",_),nf(\"options-menu-section-title\",o),nf(\"options-menu-row\",s),nf(\"options-menu-row-label\",a),nf(\"options-menu-row-value\",u),nf(\"options-menu-row\",s),nf(\"options-menu-row-label\",a),nf(\"options-menu-row-value\",u)],children:[tX(nZ,{values:[nf(\"options-menu-title\",l)],children:e}),tX(nQ,{values:[nf(\"options-menu-desc\",r)],children:t})]})}let n2={sm:'path(\"M3.75 7.5C2.925 7.5 2.25 8.175 2.25 9C2.25 9.825 2.925 10.5 3.75 10.5C4.575 10.5 5.25 9.825 5.25 9C5.25 8.175 4.575 7.5 3.75 7.5ZM14.25 7.5C13.425 7.5 12.75 8.175 12.75 9C12.75 9.825 13.425 10.5 14.25 10.5C15.075 10.5 15.75 9.825 15.75 9C15.75 8.175 15.075 7.5 14.25 7.5ZM9 7.5C8.175 7.5 7.5 8.175 7.5 9C7.5 9.825 8.175 10.5 9 10.5C9.825 10.5 10.5 9.825 10.5 9C10.5 8.175 9.825 7.5 9 7.5Z\")',md:'path(\"M5 10C3.9 10 3 10.9 3 12C3 13.1 3.9 14 5 14C6.1 14 7 13.1 7 12C7 10.9 6.1 10 5 10ZM19 10C17.9 10 17 10.9 17 12C17 13.1 17.9 14 19 14C20.1 14 21 13.1 21 12C21 10.9 20.1 10 19 10ZM12 10C10.9 10 10 10.9 10 12C10 13.1 10.9 14 12 14C13.1 14 14 13.1 14 12C14 10.9 13.1 10 12 10Z\")'};let n3=tv(\"__snapshot_70481_3b227_1\",function(){return[__CreateView(tf)]},[function(e){e.__elements&&__SetClasses(e.__elements[0],e.__values[0]||\"\")},function(e){e.__elements&&__SetInlineStyles(e.__elements[0],e.__values[1])}],null,void 0,O,null);function n9({size:e=\"md\",className:t}){return tX(n3,{values:[nf(`ellipsis-icon-${e}`,t),{clipPath:n2[e]}]})}let n4=tv(\"__snapshot_60ee0_153db_2\",function(){let e=__CreateView(tf);return __SetClasses(e,\"scroll-view-content\"),[e]},null,tp,void 0,O,null);let n8=tv(\"__snapshot_60ee0_153db_1\",function(){let e=__CreateView(tf);return __SetClasses(e,\"container lunaris-dark\"),[e]},null,tp,void 0,O,null);({render:e=>{r.__jsx=e},registerDataProcessors:e=>{lynx.registerDataProcessors(e)}}).render(tX(function(){return tX(n8,{children:tX(nu,{scrollOrientation:\"vertical\",className:\"scroll-view\",style:{zIndex:\"1000\"},children:tX(n4,{children:tX(nj,{onClose:()=>console.info(\"dismissed!\"),onOpen:()=>console.info(\"shown!\"),defaultShow:!0,children:tX(nG,{className:\"popover-trigger\",children:[tX(n9,{}),tX(nz,{placement:\"bottom\",placementOffset:12,autoAdjust:\"shift\",className:\"popover-positioner\",style:{zIndex:\"1000\"},children:tX(nY,{className:\"popover-content\",children:tX(n1,{})})})]})})})})})},{}));"},"customSections":{}}
|
package/lynx.config.mjs
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
// Copyright 2026 The Lynx Authors. All rights reserved.
|
|
2
|
+
// Licensed under the Apache License Version 2.0 that can be found in the
|
|
3
|
+
// LICENSE file in the root directory of this source tree.
|
|
4
|
+
import { defineConfig } from '@lynx-js/rspeedy'
|
|
5
|
+
import { pluginTailwindCSS } from 'rsbuild-plugin-tailwindcss'
|
|
6
|
+
|
|
7
|
+
import { exampleConfig } from '../../../tools/configs/exampleConfig.mjs'
|
|
8
|
+
|
|
9
|
+
const baseConfig = exampleConfig({
|
|
10
|
+
PopoverBasic: './Basic/index.tsx',
|
|
11
|
+
PopoverBasicTailwind: './BasicTailwind/index.tsx',
|
|
12
|
+
PopoverOffsetAdjustment: './OffsetAdjustment/index.tsx',
|
|
13
|
+
PopoverExtraAnchor: './ExtraAnchor/index.tsx',
|
|
14
|
+
PopoverWithScrollView: './WithScrollView/index.tsx',
|
|
15
|
+
PopoverBackdrop: './Backdrop/index.tsx',
|
|
16
|
+
PopoverControlled: './Controlled/index.tsx',
|
|
17
|
+
PopoverCustomArrow: './CustomArrow/index.tsx',
|
|
18
|
+
// Uncomment entries below when running internal tests for Popover.
|
|
19
|
+
/* PopoverInternalTestFastToggle: './InternalTest/FastToggle/index.tsx',
|
|
20
|
+
PopoverInternalTestAnimationCancel:
|
|
21
|
+
'./InternalTest/AnimationCancel/index.tsx',
|
|
22
|
+
PopoverInternalTestWithScrollView: './InternalTest/WithScrollView/index.tsx',
|
|
23
|
+
PopoverInternalTestBackdrop: './InternalTest/Backdrop/index.tsx', */
|
|
24
|
+
})
|
|
25
|
+
|
|
26
|
+
const defaultConfig = defineConfig({
|
|
27
|
+
...baseConfig,
|
|
28
|
+
plugins: [
|
|
29
|
+
...baseConfig.plugins,
|
|
30
|
+
pluginTailwindCSS({ config: 'tailwind.config.ts' }),
|
|
31
|
+
],
|
|
32
|
+
})
|
|
33
|
+
|
|
34
|
+
export default defaultConfig
|