@lynx-example/lynx-ui-form 0.0.6 → 0.0.7
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"styleInfo":{"0":{"content":[""],"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":[[[".demo-container"],[],[],[]]],"decl":[["align-items","center"],["justify-content","center"],["padding","48px"],["padding-left","16px"],["padding-right","16px"]]},{"sel":[[[".demo-canvas"],[],[],[]],[[".demo-container"],[],[],[]]],"decl":[["display","flex"],["flex-direction","column"],["height","100%"],["width","100%"]]},{"sel":[[[".demo-canvas"],[],[],[]]],"decl":[["background-color","var(--canvas)"],["border-radius","16px"],["color","var(--content)"],["gap","16px"],["padding","64px"],["padding-left","40px"],["padding-right","40px"]]},{"sel":[[[".luna-gradient-berry"],[],[],[]]],"decl":[["background","linear-gradient(0deg, var(--gradient-b) , var(--gradient-c))"]]},{"sel":[[[".form-container"],[],[],[]]],"decl":[["display","flex"],["flex-direction","column"],["width","100%"]]},{"sel":[[[".form-title"],[],[],[]]],"decl":[["color","var(--content)"],["font-size","20px"],["font-weight","700"],["margin-bottom","6px"]]},{"sel":[[[".form-subtitle"],[],[],[]]],"decl":[["color","var(--content-muted)"],["font-size","14px"]]},{"sel":[[[".form-divider"],[],[],[]]],"decl":[["background-color","var(--line)"],["height","1px"],["margin","16px 0"],["width","100%"]]},{"sel":[[[".block"],[],[],[]]],"decl":[["background","linear-gradient(150deg, var(--primary) 8.42%, var(--primary-2) 81.71%)"],["border-radius","14px"],["height","84px"],["margin-bottom","12px"],["margin-top","12px"],["width","100%"]]},{"sel":[[[".form-card"],[],[],[]]],"decl":[["border-color","var(--line)"],["border-radius","12px"],["border-style","solid"],["border-width","1px"],["display","flex"],["flex-direction","column"],["gap","8px"],["padding","14px"],["width","100%"]]},{"sel":[[[".form-label"],[],[],[]]],"decl":[["color","var(--content-2)"],["font-size","14px"],["font-weight","600"]]},{"sel":[[[".input-container"],[],[],[]]],"decl":[["background-color","var(--canvas)"],["border-color","var(--line)"],["border-radius","12px"],["border-style","solid"],["border-width","1px"],["width","100%"]]},{"sel":[[[".form-input"],[],[],[]]],"decl":[["caret-color","var(--primary)"],["color","var(--content)"],["font-size","14px"],["padding","12px"],["width","100%"]]},{"sel":[[[".form-input"],["::part(input)::placeholder"],[],[]]],"decl":[["color","var(--content-faint)"]]},{"sel":[[[".form-textarea-wrap"],[],[],[]]],"decl":[["background-color","var(--canvas)"],["border-color","var(--line)"],["border-radius","12px"],["border-style","solid"],["border-width","1px"],["padding","12px"],["width","100%"]]},{"sel":[[[".form-textarea"],[],[],[]]],"decl":[["caret-color","var(--primary)"],["color","var(--content)"],["height","160px"],["width","100%"]]},{"sel":[[[".form-textarea"],["::part(input)::placeholder"],[],[]]],"decl":[["color","var(--content-faint)"]]},{"sel":[[[".submit-button"],[],[],[]]],"decl":[["align-items","center"],["background-color","var(--primary)"],["border-radius","9999px"],["display","flex"],["height","48px"],["justify-content","center"],["margin","12px 0"],["width","100%"]]},{"sel":[[[".submit-button",".ui-active"],[],[],[]]],"decl":[["background-color","var(--primary-2)"]]},{"sel":[[[".submit-button-text"],[],[],[]]],"decl":[["color","var(--primary-content)"],["font-size","14px"]]},{"sel":[[[".form-values-display"],[],[],[]]],"decl":[["background-color","var(--canvas)"],["border-color","var(--line)"],["border-radius","12px"],["border-style","dashed"],["border-width","1px"],["margin-top","8px"],["opacity",".9"],["padding","12px"]]},{"sel":[[[".form-values-text"],[],[],[]]],"decl":[["color","var(--content)"],["font-family","monospace"],["font-size","12px"],["white-space","pre-wrap"],["word-break","break-all"]]},{"sel":[[[".bottom-spacer"],[],[],[]]],"decl":[["height","24px"]]},{"sel":[[[".min"],[],[],[]]],"decl":[["min-height","1px"],["min-width","1px"]]}]}},"manifest":{"/app-service.js":"\"use strict\";let e,t,n,l,r,o,i,u;var _,a,c,s,d,p,f,h,v,y,m,g,b,x,w,S,k,C,E,I,P,O={};var T=[];var L=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;var N=Array.isArray;function A(e,t){for(var n in t)e[n]=t[n];return e}function D(e){e&&e.parentNode&&e.parentNode.removeChild(e)}var j=T.slice;var B={__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 M(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?j.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!=B.vnode&&B.vnode(o),o}function $(e){return e.children}function U(e,t){this.props=e,this.context=t}function H(e,t){var n;if(null==t)return e.__?H(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?H(e):null}U.prototype.setState=function(e,t){var n;n=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=A({},this.state),\"function\"==typeof e&&(e=e(A({},n),this.props)),e&&A(n,e),null!=e&&this.__v&&(t&&this._sb.push(t),J(this))},U.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),J(this))},U.prototype.render=$;var V=[];var W=\"function\"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout;function J(e){(!e.__d&&(e.__d=!0)&&V.push(e)&&!z.__r++||_!==B.debounceRendering)&&((_=B.debounceRendering)||W)(z)}var G=function(e,t){return e.__v.__b-t.__v.__b};function z(){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=A({},t);o.__v=t.__v+1,B.vnode&&B.vnode(o),B.renderComponent&&B.renderComponent(o,e),et(e.__P,o,t,e.__n,e.__P.namespaceURI,32&t.__u?[n]:null,l,null==n?H(t):n,!!(32&t.__u),r),o.__v=t.__v,o.__.__k[o.__i]=o,en(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)}z.__r=0}function q(e,t,n,l,r,o,i,u,_,a,c){var s,d,p,f,h;var v=l&&l.__k||T;var y=t.length;for(n.__d=_,function(e,t,n){var l,r,o,i=t.length;var u=n.length,_=u;var a=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):N(r)?e.__k[l]=F($,{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 c=l+a;r.__=e,r.__b=e.__b+1;var s=r.__i=function(e,t,n,l){var r=e.key;var o=e.type;var i=n-1;var u=n+1;var _=t[n];var a=l>+(null!=_&&(131072&_.__u)===0);if(null===_||_&&r==_.key&&o===_.type&&(131072&_.__u)===0)return n;if(a)for(;i>=0||u<t.length;){if(i>=0){if((_=t[i])&&(131072&_.__u)===0&&r==_.key&&o===_.type)return i;i--}if(u<t.length){if((_=t[u])&&(131072&_.__u)===0&&r==_.key&&o===_.type)return u;u++}}return -1}(r,n,c,_);o=null,-1!==s&&(o=n[s],_--,o&&(o.__u|=131072)),null==o||null===o.__v?(-1==s&&a--,\"function\"!=typeof r.type&&(r.__u|=65536)):s!==c&&(s==c-1?a--:s==c+1?a++:(s>c?a--:a++,r.__u|=65536))}if(_)for(l=0;l<u;l++)null!=(o=n[l])&&(131072&o.__u)===0&&(o.__e==e.__d&&(e.__d=H(o)),function e(t,n,l){var r;if(B.unmount&&B.unmount(t),(r=t.ref)&&(!r.current||r.current===t.__e)&&el(r,null,n),null!=(r=t.__c)){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(e){B.__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||D(t.__e),t.__c=t.__=t.__e=t.__d=void 0}(o,o))}(n,t,v),_=n.__d,s=0;s<y;s++)null!=(p=n.__k[s])&&(d=-1===p.__i?O:v[p.__i]||O,p.__i=s,et(e,p,d,r,o,i,u,_,a,c),f=p.__e,p.ref&&d.ref!=p.ref&&(d.ref&&el(d.ref,null,p),c.push(p.ref,p.__c||f,p)),null==h&&null!=f&&(h=f),65536&p.__u||d.__k===p.__k?_=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=H(t)),l.insertBefore(t.__e,n||null),n=t.__e);do n=n&&n.nextSibling;while(null!=n&&8===n.nodeType);return n}(p,_,e):\"function\"==typeof p.type&&void 0!==p.__d?_=p.__d:f&&(_=f.nextSibling),p.__d=void 0,p.__u&=-196609);n.__d=_,n.__e=h}function Q(e,t,n){\"-\"===t[0]?e.setProperty(t,null==n?\"\":n):null==n?e[t]=\"\":\"number\"!=typeof n||L.test(t)?e[t]=n:e[t]=n+\"px\"}z.__r=0;var K=0;function Y(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=K,e.addEventListener(t,o?ee:Z,o)):e.removeEventListener(t,o?ee:Z,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 X(e){return function(t){if(this.l){var n=this.l[t.type+e];if(null==t._dispatched)t._dispatched=K++;else if(t._dispatched<n._attached)return;return n(B.event?B.event(t):t)}}}var Z=X(!1);var ee=X(!0);function et(e,t,n,l,r,o,i,u,_,a){var c,s,d,p,f,h,v,y=t.type;if(void 0!==t.constructor)return null;128&n.__u&&(_=!!(32&n.__u),o=[u=t.__e=n.__e]),(v=B.__b)&&v(t),(v=B._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=(c=t.__c=n.__c).__=c.__E:(g?t.__c=c=new y(m,x):(t.__c=c=new U(m,x),c.constructor=y,c.render=er),b&&b.sub(c),c.props=m,c.state||(c.state={}),c.context=x,c.__n=l,s=c.__d=!0,c.__h=[],c._sb=[]),g&&null==c.__s&&(c.__s=c.state),g&&null!=y.getDerivedStateFromProps&&(c.__s==c.state&&(c.__s=A({},c.__s)),A(c.__s,y.getDerivedStateFromProps(m,c.__s))),d=c.props,p=c.state,c.__v=t,s)g&&null==y.getDerivedStateFromProps&&null!=c.componentWillMount&&c.componentWillMount(),g&&null!=c.componentDidMount&&c.__h.push(c.componentDidMount);else{if(g&&null==y.getDerivedStateFromProps&&m!==d&&null!=c.componentWillReceiveProps&&c.componentWillReceiveProps(m,x),!c.__e&&(null!=c.shouldComponentUpdate&&!1===c.shouldComponentUpdate(m,c.__s,x)||t.__v===n.__v)){t.__v!==n.__v&&(c.props=m,c.state=c.__s,c.__d=!1),t.__e=n.__e,t.__k=n.__k,t.__k.some(function(e){e&&(e.__=t)});for(var w=0;w<c._sb.length;w++)c.__h.push(c._sb[w]);c._sb=[],c.__h.length&&i.push(c);break t}null!=c.componentWillUpdate&&c.componentWillUpdate(m,c.__s,x),g&&null!=c.componentDidUpdate&&c.__h.push(function(){c.componentDidUpdate(d,p,f)})}c.context=x,c.props=m,c.__P=e,c.__e=!1;var S=B.__r,k=0;if(g){c.state=c.__s,c.__d=!1,S&&S(t),v=c.render(c.props,c.state,c.context);for(var C=0;C<c._sb.length;C++)c.__h.push(c._sb[C]);c._sb=[]}else do c.__d=!1,S&&S(t),v=c.render(c.props,c.state,c.context),c.state=c.__s;while(c.__d&&++k<25);c.state=c.__s,null!=c.getChildContext&&(l=A(A({},l),c.getChildContext())),g&&!s&&null!=c.getSnapshotBeforeUpdate&&(f=c.getSnapshotBeforeUpdate(d,p));var E=null!=v&&v.type===$&&null==v.key?v.props.children:v;q(e,N(E)?E:[E],t,n,l,r,o,i,u,_,a),c.base=t.__e,t.__u&=-161,c.__h.length&&i.push(c),h&&(c.__E=c.__=null)}catch(e){if(t.__v=null,_||null!=o){for(t.__u|=_?160:32;u&&8===u.nodeType&&u.nextSibling;)u=u.nextSibling;o[o.indexOf(u)]=null,t.__e=u}else t.__e=n.__e,t.__k=n.__k;B.__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,u,_){var a,c,s,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(a=0;a<o.length;a++)if((p=o[a])&&\"setAttribute\"in p===!!m&&(m?p.localName===m:3===p.nodeType)){e=p,o[a]=null;break}}if(null==e){if(null===m)return B.document.createTextNode(y);e=B.document.createElementNS(r,m,y.is&&y),u&&(B.__m&&B.__m(t,o),u=!1),o=null}if(null===m)v===y||u&&e.data===y||(e.data=y);else{if(o=o&&j.call(e.childNodes),v=n.props||O,!u&&null!=o)for(a=0,v={};a<e.attributes.length;a++)v[(p=e.attributes[a]).name]=p.value;for(a in v)if(p=v[a],\"children\"==a);else if(\"dangerouslySetInnerHTML\"==a)s=p;else if(!(a in y)){if(\"value\"==a&&\"defaultValue\"in y||\"checked\"==a&&\"defaultChecked\"in y)continue;Y(e,a,null,p,r)}for(a in y)p=y[a],\"children\"==a?d=p:\"dangerouslySetInnerHTML\"==a?c=p:\"value\"==a?f=p:\"checked\"==a?h=p:u&&\"function\"!=typeof p||v[a]===p||Y(e,a,p,v[a],r);if(c)u||s&&(c.__html===s.__html||c.__html===e.innerHTML)||(e.innerHTML=c.__html),t.__k=[];else if(s&&(e.innerHTML=\"\"),q(e,N(d)?d:[d],t,n,l,\"foreignObject\"===m?\"http://www.w3.org/1999/xhtml\":r,o,i,o?o[0]:n.__k&&H(n,0),u,_),null!=o)for(a=o.length;a--;)D(o[a]);u||(a=\"value\",\"progress\"===m&&null==f?e.removeAttribute(\"value\"):void 0===f||f===e[a]&&(\"progress\"!==m||f)&&(\"option\"!==m||f===v[a])||Y(e,a,f,v[a],r),a=\"checked\",void 0!==h&&h!==e[a]&&Y(e,a,h,v[a],r))}return e}(n.__e,t,n,l,r,o,i,_,a);(v=B.diffed)&&v(t)}function en(e,t,n){t.__d=void 0;for(var l=0;l<n.length;l++)el(n[l],n[++l],n[++l]);B.__c&&B.__c(t,e),e.some(function(t){try{e=t.__h,t.__h=[],e.some(function(e){e.call(t)})}catch(e){B.__e(e,t.__v)}})}function el(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){B.__e(e,n)}}function er(e,t,n){return this.constructor(e,n)}function eo(e,t,n){B.__&&B.__(e,t);var l=\"function\"==typeof n;var r=l?null:n&&n.__k||t.__k;e=(!l&&n||t).__k=M($,null,[e]);var o=[],i=[];et(t,e,r||O,O,t.namespaceURI,!l&&n?[n]:r?null:t.firstChild?j.call(t.childNodes):null,o,!l&&n?n:r?r.__e:t.firstChild,l,i),en(o,e,i)}var ei=0;function eu(e,t){var n={__c:t=\"__cC\"+ei++,__: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,J(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 e_=0;function ea(e,t,n,l,r,o){t||(t={});var i,u,_=t;if(\"ref\"in _)for(u in _={},t)\"ref\"==u?i=t[u]:_[u]=t[u];var a={type:e,props:_,key:n,ref:i,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:--e_,__i:-1,__u:0,__source:r,__self:o};if(\"function\"==typeof e&&(i=e.defaultProps))for(u in i)void 0===_[u]&&(_[u]=i[u]);return B.vnode&&B.vnode(a),a}var ec=0;var es=[];var ed=B.__b;var ep=B.__r;var ef=B.diffed;var eh=B.__c;var ev=B.unmount;var ey=B.__;function em(e,t){B.__h&&B.__h(c,e,ec||t),ec=0;var n=c.__H||(c.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({}),n.__[e]}function eg(e){return ec=1,eb(eL,e)}function eb(e,t,n){var l=em(a++,2);if(l._reducer=e,!l.__c&&(l.__=[n?n(t):eL(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=c,!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))};c._hasScuFromHooks=!0;var o=c.shouldComponentUpdate;var i=c.componentWillUpdate;c.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)},c.shouldComponentUpdate=r}return l.__N||l.__}function ex(e){return ec=5,eS(function(){return{current:e}},[])}function ew(e,t,n){var l,r;ec=6,l=null==n?n:n.concat(e),r=em(a++,4),!B.__s&&eT(r.__H,l)&&(r.__=function(){return\"function\"==typeof e?(e(t()),function(){return e(null)}):e?(e.current=t(),function(){return e.current=null}):void 0},r._pendingArgs=l,c.__h.push(r))}function eS(e,t){var n=em(a++,7);return eT(n.__H,t)&&(n.__=e(),n.__H=t,n.__h=e),n.__}function ek(e,t){return ec=8,eS(function(){return e},t)}function eC(e){var t=c.context[e.__c];var n=em(a++,9);return(n.c=e,t)?(null==n.__&&(n.__=!0,t.sub(c)),t.props.value):e.__}function eE(){var e;for(;e=es.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(eP),e.__H.__h.forEach(eO),e.__H.__h=[]}catch(t){e.__H.__h=[],B.__e(t,e.__v)}}B.__b=function(e){c=null,ed&&ed(e)},B.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),ey&&ey(e,t)},B.__r=function(e){ep&&ep(e),c=e.__c,a=0;var t=c.__H;t&&(s===c?(t.__h=[],c.__h=[],t.__.forEach(function(e){e.__N&&(e.__=e.__N),e._pendingArgs=e.__N=void 0})):(t.__h.forEach(eP),t.__h.forEach(eO),t.__h=[],a=0)),s=c},B.diffed=function(e){ef&&ef(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(1===es.push(t)||d!==B.requestAnimationFrame)&&((d=B.requestAnimationFrame)||function(e){var t,n=function(){clearTimeout(l),eI&&cancelAnimationFrame(t),setTimeout(e)};var l=setTimeout(n,100);eI&&(t=requestAnimationFrame(n))})(eE),t.__H.__.forEach(function(e){e._pendingArgs&&(e.__H=e._pendingArgs),e._pendingArgs=void 0})),s=c=null},B.__c=function(e,t){t.some(function(e){try{e.__h.forEach(eP),e.__h=e.__h.filter(function(e){return!e.__||eO(e)})}catch(n){t.some(function(e){e.__h&&(e.__h=[])}),t=[],B.__e(n,e.__v)}}),eh&&eh(e,t)},B.unmount=function(e){ev&&ev(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach(function(e){try{eP(e)}catch(e){t=e}}),n.__H=void 0,t&&B.__e(t,n.__v))};var eI=\"function\"==typeof requestAnimationFrame;function eP(e){var t=c;var n=e.__c;\"function\"==typeof n&&(e.__c=void 0,n()),c=t}function eO(e){var t=c;e.__c=e.__(),c=t}function eT(e,t){return!e||e.length!==t.length||t.some(function(t,n){return t!==e[n]})}function eL(e,t){return\"function\"==typeof t?t(e):t}function eN(e,t){for(var n in t)e[n]=t[n];return e}function eA(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 eD(e,t){this.props=e,this.context=t}function ej(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:eA(this.props,e)}function l(t){return this.shouldComponentUpdate=n,M(e,t)}return l.displayName=\"Memo(\"+(e.displayName||e.name)+\")\",l.prototype.isReactComponent=!0,l.__f=!0,l.type=e,l}eD.prototype=new U,eD.prototype.isPureReactComponent=!0,eD.prototype.shouldComponentUpdate=function(e,t){return eA(this.props,e)||eA(this.state,t)};var eB=B.__b;B.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),eB&&eB(e)};var eR=\"undefined\"!=typeof Symbol&&Symbol.for&&Symbol.for(\"react.forward_ref\")||3911;function eM(e){function t(t){var n=eN({},t);return delete n.ref,e(n,t.ref||null)}return t.$$typeof=eR,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName=\"ForwardRef(\"+(e.displayName||e.name)+\")\",t}var eF=B.__e;B.__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)}eF(e,t,n,l)};var e$=B.unmount;function eU(){this.__u=0,this._suspenders=null,this.__b=null}function eH(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function eV(){this._next=null,this._map=null}B.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&32&e.__u&&(e.type=null),e$&&e$(e)},eU.prototype=new U,eU.prototype.__c=function(e,t){var n=t.__c;var l=this;null==l._suspenders&&(l._suspenders=[]),l._suspenders.push(n);var r=eH(l.__v);var o=!1;var i=function(){o||(o=!0,n.__R=null,r?r(u):u())};n.__R=i;var u=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)},eU.prototype.componentWillUnmount=function(){this._suspenders=[]},eU.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var n=B.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=eN({},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&&M($,null,e.fallback);return r&&(r.__u&=-33),[M($,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]}};eV.prototype=new U,eV.prototype.__a=function(e){var t=this;var n=eH(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()}},eV.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||(N(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},eV.prototype.componentDidUpdate=eV.prototype.componentDidMount=function(){var e=this;this._map.forEach(function(t,n){eW(e,n,t)})};var eJ=\"undefined\"!=typeof Symbol&&Symbol.for&&Symbol.for(\"react.element\")||60103;U.prototype.isReactComponent={},[\"componentWillMount\",\"componentWillReceiveProps\",\"componentWillUpdate\"].forEach(function(e){Object.defineProperty(U.prototype,e,{configurable:!0,get:function(){return this[\"UNSAFE_\"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var eG=B.event;function ez(){}function eq(){return this.cancelBubble}function eQ(){return this.defaultPrevented}B.event=function(e){return eG&&(e=eG(e)),e.persist=ez,e.isPropagationStopped=eq,e.isDefaultPrevented=eQ,e.nativeEvent=e};var eK=B.vnode;function eY(e,t){var n;return n=em(a++,3),void(!B.__s&&eT(n.__H,t)&&(n.__=e,n._pendingArgs=t,c.__H.__h.push(n)))}function eX(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 eZ(e){for(let t in e)return!1;return!0}function e0(e,t){let n=(SystemInfo.lynxSdkVersion||\"1.0\").split(\".\");return Number(n[0])>e||Number(n[0])==e&&Number(n[1])>t}function e1(e){var t;return null!=(t=e.displayName)?t:e.name}function e3(e,t,n){let l=e[t];e[t]=function(...e){return n.call(this,l,...e)}}B.vnode=function(e){e.$$typeof=eJ,eK&&eK(e)};const 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 e9(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\",x.updateMTRefInitValue=\"rLynxChangeRefInitValue\",(w=f||(f={}))[w.UPDATE=0]=\"UPDATE\",w[w.RESET=1]=\"RESET\";function e8(){if(e){let t=e;return e=[],t}}const e4=\"renderComponent\";const e7=\"reactLynxHydrate\",e6=\"updateTriggeredByBts\";const te=\"__lynx_timing_flag\";let tt=!1;let tn=!1;function tl(e,n){var l,r;switch(e){case\"updateSetStateTrigger\":tt=!0,tn=!0,t=n;break;case\"updateDiffVdomStart\":if(!tt)return;tt=!1;break;case\"updateDiffVdomEnd\":if(!tn)return;tn=!1}null==(l=(r=lynx.getNativeApp()).markTiming)||l.call(r,t,e)}function tr(e,t,l){var r,o,i,u,_,a,c,s;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 e6:n.stage=\"update\"}e0(3,0)?null==(u=lynx.performance)||null==(i=u._onPipelineStart)||i.call(u,n.pipelineID,n):null==(a=lynx.performance)||null==(_=a._onPipelineStart)||_.call(a,n.pipelineID),l&&(null==(s=lynx.performance)||null==(c=s._bindPipelineIdWithTimingFlag)||c.call(s,n.pipelineID,l))}}function to(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\";const ti=new Map;const tu={value:!0};const t_=[];class ta{setTask(e,t){return this.task=n=>n[e].apply(n,t),this}exec(){var e;e=()=>{var e;let t=null!=(e=ti.get(this.refAttr[0]))?e:this.refAttr[0];let n=`[react-ref-${t}-${this.refAttr[1]}]`;this.task(lynx.createSelectorQuery().select(n)).exec()},tu.value?t_.push(e):e()}constructor(e){return this.refAttr=e,this.task=void 0,new Proxy(this,{get:(e,t,n)=>\"symbol\"==typeof t||\"then\"===t||t in e||\"string\"!=typeof t?Reflect.get(e,t,n):(...n)=>new ta(e.refAttr).setTask(t,n)})}}const tc=[];const ts=[];function td(e,t){let n=t&&new ta(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 tp(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`)}function tf(){try{for(let e of tc)td(e,null);for(let e=0;e<ts.length;e+=2){let t=ts[e];let n=ts[e+1];td(t,n)}}finally{tv()}}function th(e,t,n,l){e!==t&&(e&&tc.push(e),t&&ts.push(t,[n,l]))}function tv(){tc.length=0,ts.length=0}new WeakMap,(k=v||(v={}))[k.Attr=0]=\"Attr\",k[k.Spread=1]=\"Spread\",k[k.Slot=2]=\"Slot\",k[k.Children=3]=\"Children\",k[k.ListChildren=4]=\"ListChildren\",k[k.MultiChildren=5]=\"MultiChildren\";const ty=[[v.Children,0]];const tm={values:new Map([[\"root\",{create:()=>[],update:[],slot:ty,isListHolder:!1,cssId:0}],[\"wrapper\",{create:()=>[],update:[],slot:ty,isListHolder:!1}],[null,{create:()=>[],update:[e=>{}],slot:[],isListHolder:!1}]])};const tg={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 tb(e,t,n,l,r,o,i){var u;u=e,e=o?`${o}:${u}`:u;let _={create:t,update:n,slot:l,cssId:r,entryName:o,refAndSpreadIndexes:i};return tm.values.set(e,_),l&&l[0]&&l[0][0]===v.ListChildren&&(_.isListHolder=!0),e}function tx(e,t){let n=e.childNodes;for(let l of(t(e),n))tx(l,t)}function tw(){return null!=l?l:l=e0(2,13)}let tS=[];function tk(){let e=tS;return tS=[],e}function tC(){let e=tk();if(0===e.length)return;let t=JSON.stringify(e);lynx.getNativeApp().callLepusMethod(p.updateMTRefInitValue,{data:t})}let tE=0;let tI=[];function tP(){let e=tI;return tI=[],e}const tO={value:!1};const tT=()=>{tO.value=!0,e2(()=>{tO.value=!1})};e3(B,e4,(e,...t)=>{null==e||e(...t),tT()}),e3(B,\"__\",(e,...t)=>{null==e||e(...t),tT()});let tL={};const tN=new Map;let tA=1;let tD=[];let tj={};function tB(e,t){to(\"packChangesStart\");let l={data:JSON.stringify(e),patchOptions:e5(e9({},t),{reloadVersion:tE})};return to(\"packChangesEnd\"),n&&(l.patchOptions.pipelineOptions=n,n=void 0),l}(C=y||(y={}))[C.COMPOSED=-1]=\"COMPOSED\",C[C.PAN=0]=\"PAN\",C[C.FLING=1]=\"FLING\",C[C.DEFAULT=2]=\"DEFAULT\",C[C.TAP=3]=\"TAP\",C[C.LONGPRESS=4]=\"LONGPRESS\",C[C.ROTATION=5]=\"ROTATION\",C[C.PINCH=6]=\"PINCH\",C[C.NATIVE=7]=\"NATIVE\";const tR=[];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 tF 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 t$(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 tU(e){for(let t of e.data)o.remove(t)}function tH(e){return!tw()&&e?(lynx.reportError(Error(\"Main thread script requires Lynx sdk version 2.14\")),null):e&&(null!=r?r:r=e0(2,15))?(o||(o=new tF,lynx.getCoreContext().addEventListener(h.runOnBackground,t$),lynx.getCoreContext().addEventListener(h.releaseBackgroundWorkletCtx,tU),tR.push(()=>{lynx.getCoreContext().removeEventListener(h.runOnBackground,t$),lynx.getCoreContext().removeEventListener(h.releaseBackgroundWorkletCtx,tU),o=void 0})),o.add(e),e):e}function tV(e){if(e.type===y.COMPOSED)for(let t of e.gestures)tV(t);else for(let[t,n]of Object.entries(e.callbacks))e.callbacks[t]=tH(n)}const tW=new Set([\"name\",\"clip-radius\",\"overlap\",\"exposure-scene\",\"exposure-id\"]);function tJ(e,t,n){let l={};let r=!1;for(let i in n){var o;let u=n[i];\"__spread\"===i||(\"class\"===i||\"className\"===i?(null!=u||(u=\"\"),l.className=u):\"ref\"===i?l[i]=null==(o=tp(u))?void 0:o.__ref:\"function\"==typeof u?l[i]=`${e.__id}:${t}:${i}`:\"__self\"===i||\"__source\"===i||(!r&&tW.has(i)&&(r=!0),l[i]=u))}return r&&(l.flatten=!1),l}class tG{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,tz([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,th(()=>{tx(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?td(n.ref,null):\"__ref\"in n&&td(n,null))}))})},null,0,0),tD.push(t.__id)}tearDown(){tx(this,e=>{e.__parent=null,e.__previousSibling=null,e.__nextSibling=null,tg.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?th(null,t.ref,this.__id,e):\"__ref\"in t&&th(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&&th(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=tJ(this,l,e);let i=!eX(r,o);if(e.__spread=o,th(r&&t.ref,e.ref,this.__id,l),i)for(let e in o){let t=o[e];t&&(t._wkltId?o[e]=tH(t):t.__isGesture?tV(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?(th(t,e,this.__id,l),{needUpdate:!1,valueToCommit:1}):\"_wkltId\"in e?{needUpdate:!0,valueToCommit:tH(e)}:\"__isGesture\"in e?(tV(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:!eX(t,e),valueToCommit:e}}return\"function\"===r?e.__ref?(th(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=tm.values.get(t);const n=this.__id=tg.nextId+=1;tg.values.set(n,this),null==e||e.push(0,t,n)}}function tz(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]);tz(r.childNodes,t),null==e||e.push(1,n,t,l)}}const tq={};const tQ=\"Lynx.Error.CtxNotFound\";let tK=null;function tY(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 tX(e,t){null!=u||(u=[]),u.push([e,t])}i=new tG(\"root\");const tZ=[];function t0(){eo(null,i),tN.forEach(e=>{e()}),tN.clear(),tZ.length=0,u&&(u.length=0)}(E=m||(m={}))[E.Begin=0]=\"Begin\",E[E.End=1]=\"End\",E[E.Attr=2]=\"Attr\",E[E.Text=3]=\"Text\";function t1([t,n]){if(!(\"__k\"in i))return void tZ.push([t,n]);try{(function(t,n){switch(t){case p.firstScreen:{let t;try{z()}catch(e){t=e}let{root:l,jsReadyEventIdSwap:r}=n;tr(!0,e7,\"react_lynx_hydrate\"),to(\"hydrateParseSnapshotStart\");let o=JSON.parse(l);to(\"hydrateParseSnapshotEnd\"),to(\"diffVdomStart\");let _;let a=(e=[],(_=(t,n)=>{var l,r,o;if(ti.set(n.__id,t.id),tg.updateId(n.__id,t.id),null==(l=n.__values)||l.forEach((l,r)=>{let o=t.values[r];if(l)if(\"object\"==typeof l)if(\"__spread\"in l){delete l.__spread;let e=tJ(n,r,l);for(let t in e){let n=e[t];n&&\"object\"==typeof n&&(\"_wkltId\"in n?tH(n):\"__isGesture\"in n&&tV(n))}n.__values[r].__spread=e,l=e}else\"__ref\"in l?l=o:\"_wkltId\"in l?tH(l):\"__isGesture\"in l&&tV(l);else\"function\"==typeof l&&(l=\"__ref\"in l?o:`${n.__id}:${r}:`);eX(l,o)||void 0===l&&null===o||e.push(3,n.__id,r,l)}),n.__extraProps)for(let l in n.__extraProps){let o=n.__extraProps[l];eX(o,null==(r=t.extraProps)?void 0:r[l])||e.push(3,n.__id,l,o)}let{slot:i}=n.__snapshot_def;let u=null!=(o=t.children)?o:[];let a=n.childNodes;i&&i.forEach(([n],l)=>{switch(n){case v.Slot:case v.MultiChildren:{let e=u[l];_(e,a[l]);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 u,_;let n=e[t];(null!=(_=i[u=n.type])?_:i[u]=new Set).add([n,t])}for(let e=0;e<t.length;e++){let u;let _=t[e];let a=i[_.type];if(a&&a.size>0&&([u]=a,u)&&n(u[0],_)){a.delete(u);let t=u[1];if(l(u[0],_,t,e),t<r){o.m[t]=e;continue}r=t}else o.i[e]=_}for(let e in i)for(let[,t]of i[e])o.r.push(t);return o}(u,a,(e,t)=>e.type===t.type,(e,t)=>{_(e,t)});(function(e,t,n,l,r){let o;if(!(!eZ(t.i)||!eZ(t.m)||t.r.length>0))return e;let i=new Set(t.r);let{i:u,m:_}=t;let a=new Map;let c=0;o=e[0];let s=[];let d=0;let p=0;let f=Object.keys(u).length;for(;o||f>0;){let t=!1;if(o&&i.has(p))l(o);else if(o&&void 0!==_[p])a.set(_[p],o),f++;else{let e=o;a.has(d)?(e=a.get(d),t=!0,r(e,o),f--):void 0!==u[d]&&(e=n(u[d],o),t=!0,f--),s.push(e),d++}o&&!t&&(o=e[++c],p++)}return s})(u,n,(e,n)=>{tz([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)})}}})})(o,i),tv(),e8());to(\"diffVdomEnd\"),t2(),u&&(u.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{t9([o,...i].join(\":\"),l)}catch(e){lynx.reportError(e)}}),u.length=0),lynxCoreInject.tt.publishEvent=t9,lynxCoreInject.tt.publicComponentEvent=t5;let c=tA++;let s={patchList:[{snapshotPatch:a,id:c}]};tI.length&&(s.delayedRunOnMainThreadData=tP());let d=tB(s,{isHydration:!0});tC(),lynx.getNativeApp().callLepusMethod(p.patchUpdate,d,()=>{tN.forEach((e,t)=>{t>c||(e(),tN.delete(t))})});let f=t_.slice();for(let e of(t_.length=0,tu.value=!1,f))e();if(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 t3=!1;function t2(){t3||(t3=!0,tZ&&(tZ.forEach(e=>{t1(e)}),tZ.length=0),t3=!1)}function t9(e,t){var n,l;null==(n=(l=lynxCoreInject.tt).callBeforePublishEvent)||n.call(l,t);let r=tg.getValueBySign(e);if(r)try{r(t)}catch(e){lynx.reportError(e)}}function t5(e,t,n){t9(t,n)}B.document=tq,B.requestAnimationFrame=e2,tq.createElement=function(e){return new tG(e)},tq.createElementNS=function(e,t){return new tG(t)},tq.createTextNode=function(e){let t=new tG(null);return t.setAttribute(0,e),Object.defineProperty(t,\"data\",{set(e){t.setAttribute(0,e)}}),t};let t8;(t8=lynxCoreInject.tt).OnLifecycleEvent=t1,t8.publishEvent=tX,t8.publicComponentEvent=function(e,t,n){tX(t,n)},t8.callDestroyLifetimeFun=()=>{var e,t;let n;for(let l of((n=null==(e=(t=lynx).getCoreContext)?void 0:e.call(t))&&tK&&(n.removeEventListener(tQ,tK),tK=null),tk(),tR))l();tR.length=0,t0()},t8.updateGlobalProps=function(e){Object.assign(lynx.__globalProps,e),Promise.resolve().then(()=>{let e=B._diff2;B._diff2=(t,n)=>{e&&e(t,n);let l=n.__c;l&&(l.__e=!0)};try{eo(i.__jsx,i)}finally{B._diff2=e}}),lynxCoreInject.tt.GlobalEventEmitter.emit(\"onGlobalPropsChanged\",void 0)},t8.updateCardData=function(e,t){let{__lynx_timing_flag:n}=e,l=tY(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])},t8.onAppReload=function(t){e=void 0,t0(),++tE,lynx.__initData=Object.assign({},lynx.__initData,t),tu.value=!0,eo(i.__jsx,i)},t8.processCardConfig=()=>{},tK=e=>{(function(e){let t=e.id;let n=tg.values.get(t);let l=\"null\";if(n&&n.__snapshot_def){for(let[e,t]of tm.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(tQ,tK),e3(B,\"__c\",(e,t,n)=>{let l,r;tO.value=!1,tl(\"updateDiffVdomEnd\"),to(\"diffVdomEnd\");let o=tD;tD=[];let i=tA++;tN.set(i,()=>{o.length&&setTimeout(()=>{o.forEach(e=>{var t;null==(t=tg.values.get(e))||t.tearDown()})},1e4)}),tC();let u=e8();let _=(l=tL,tL={},l);let a=(r=tj,tj={},r);if(!u){tf(),null==e||e(t,n);return}let c={id:i};(null==u?void 0:u.length)&&(c.snapshotPatch=u);let s={patchList:[c]};eZ(_)||(s.flushOptions=_),u&&tI.length&&(s.delayedRunOnMainThreadData=tP());let d=tB(s,a);lynx.getNativeApp().callLepusMethod(p.patchUpdate,d,()=>{let e=tN.get(i);e&&(e(),tN.delete(i))}),tf(),null==e||e(t,n)});let t4;t4=()=>{e&&(n||(tr(!1,e6),to(\"diffVdomStart\",!0)),tt&&tl(\"updateDiffVdomStart\"))},e3(B,e4,(e,t,n)=>{t4(),e&&e(t,n)}),e3(B,\"__\",(e,t,n)=>{t4(),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\");e3(U.prototype,\"setState\",function(t,n,l){var i,u,_;let a;null==t||t.call(this,n,l),this.__d&&r(\"ReactLynx::setState\",{flowId:null!=(i=this[e])?i:this[e]=o(),args:(u=this.state,_=this.__s,a={},null!=u||(u=a),null!=_||(_=a),{\"current state keys\":JSON.stringify(Object.keys(u)),\"next state keys\":JSON.stringify(Object.keys(_)),\"changed (shallow diff) state keys\":JSON.stringify(Object.keys(_).filter(e=>u[e]!==_[e]))})})}),e3(B,\"_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=tj).flowIds||(o.flowIds=[]),tj.flowIds.push(l),t.flowId=l}}}n(`ReactLynx::diff::${e1(l.type)}`,t)}null==t||t(l,r)}),e3(B,\"diffed\",(e,t)=>{\"function\"==typeof t.type&&l(),null==e||e(t)}),e3(B,\"__c\",(e,t,r)=>{n(\"ReactLynx::commit\",e9({},tj.flowIds?{flowId:tj.flowIds[\"0\"],flowIds:tj.flowIds}:{})),null==e||e(t,r),l()})}e3(B,\"__r\",(e,t)=>{let r=t.__c.render;t.__c.render=function(e,o,i){n(`ReactLynx::render::${e1(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\");e3(B,\"__b\",(n,l)=>{\"function\"==typeof l.type&&e&&(l[t]=e.length),null==n||n(l)}),e3(B,\"diffed\",(n,l)=>{\"function\"==typeof l.type&&e&&(l[t]===e.length&&r(\"ReactLynx::diffFinishNoPatch\",{args:{componentName:e1(l.type)}}),delete l[t]),null==n||n(l)})}}(),function(){{let{initData:e,updateData:t}=lynxCoreInject.tt._params;lynx.__initData=e9({},e,t),lynx.registerDataProcessors=function(){}}}();let t7=0;function t6(e){let t=++t7;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})}const ne=v.Slot;v.MultiChildren;const nt=v.Children;v.ListChildren;{function nn(e,t){lynx.reportError(Error(`${e} is deprecated and has different behavior in ReactLynx 3.0, please use ref or ${t} instead.`))}U.prototype._reactAppInstance=lynxCoreInject.tt,U.prototype.getNodeRef=function(e,t){return nn(\"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)},U.prototype.getNodeRefFromRoot=function(e){return nn(\"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)},U.prototype.registerModule=function(e,t){this._reactAppInstance.registerModule(e,t)},U.prototype.getJSModule=function(e){return this._reactAppInstance.getJSModule(e)},U.prototype.addGlobalEventListener=function(e,t,n){return this._reactAppInstance.getJSModule(\"GlobalEventEmitter\").addListener(e,t,n)},U.prototype.getElementById=function(e){return nn(\"getElementById\",\"lynx.getElementById\"),lynx.getElementById(e)},U.prototype.GlobalEventEmitter=lynxCoreInject.tt.GlobalEventEmitter,U.prototype.createSelectorQuery=function(){return nn(\"createSelectorQuery on component instance\",\"lynx.createSelectorQuery\"),lynx.createSelectorQuery()};const e=U.prototype.setState;U.prototype.setState=function(t,n){e.call(this,t,n);let l=this.__s[te];l&&(tL.__lynx_timing_flag=l,tl(\"updateSetStateTrigger\",l),this.__s[te]=\"\")}}let nl=0;class nr{get current(){}set current(e){}toJSON(){return{_wvid:this._wvid}}constructor(e,t){var n;this._initValue=e,this._type=t,this._wvid=++nl,n=this._wvid,tw()&&tS.push([n,e])}}class no extends nr{constructor(e){super(e,\"main-thread\");{var t,n;const 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 ni(e){return eS(()=>new no(e),[])}class nu extends Error{constructor(e,t){super(\"string\"==typeof t?t:\"unknown error\"),this.errorCode=e,this.detail=t}}const n_=(e,t)=>{var n;null==e||null==(n=e.current)||n.setNativeProps(t).exec()};const na=(e,t=!1,n=\"\")=>new Promise((l,r)=>{let o;(o={relativeTo:t?\"screen\":n,androidEnableTransformProps:!0},new Promise((t,n)=>{var l;(null==e?void 0:e.current)?null==e||null==(l=e.current)||l.invoke({method:\"boundingClientRect\",params:o,success:e=>{t(e)},fail:e=>{n(new nu(e.code,JSON.stringify(e.data)))}}).exec():n(new nu(2,\"no node found for the ref\"))})).then(e=>{l(e)}).catch(e=>{r(e)})});const nc={_wkltId:\"ec97:c55d4:1\"};function ns(e,t,n){let l=ek(t,null!=n?n:[]);eS(()=>{lynx.getJSModule(\"GlobalEventEmitter\").addListener(e,l)},[e,l]),eY(()=>()=>{lynx.getJSModule(\"GlobalEventEmitter\").removeListener(e,l)},[e,l])}const nd=eu({onAwareTriggerFocused:void 0,onAwareTriggerBlurred:void 0,keyboardAwareResponder:void 0,keyboardAwareResponderScrollInfoCollected:void 0});const np=eu({onInputFocused:void 0,onInputBlurred:void 0});const nf=ej(function(e){let{forceAttach:t=!1,androidStatusBarPlusBottomBarHeight:n=0,children:l}=e;let[r,o]=eg(0);let[i,u]=eg(0);let _=ex(null);let[a,c]=eg(_);let s=ex(null);let d=ex(!0);let p=ex(0);let f=ex(null);let h=ex();let v=(e,t,l)=>{e&&t&&(null==l?void 0:l.current)&&na(f,!0).then(r=>{let{pixelHeight:o,pixelRatio:i,platform:u}=SystemInfo;h.current={scrollviewId:e,scrollContentId:t,dummyRefAtKeyboardHeight:l,marginBetweenScrollViewBottomAndScreenBottom:o/i-r.bottom-(\"Android\"===u?n:0)}})};let y=(e,t)=>{s.current=e,c(e),p.current=null!=t?t:0};let m=e=>{setTimeout(()=>{e.current&&s.current==e&&(c(_),s.current=null)},30)};let g=e=>{a.current&&a.current==e.current&&b()};let b=()=>{if(0!==r&&(null==f?void 0:f.current)&&(null==a?void 0:a.current))if(h.current){let{scrollviewId:e,scrollContentId:t,dummyRefAtKeyboardHeight:n,marginBetweenScrollViewBottomAndScreenBottom:l}=h.current;d.current&&n_(n,{height:`${r-l}px`}),x(e,t,-l,!0),d.current=!1}else w(a);else if(h.current){let{dummyRefAtKeyboardHeight:e}=h.current;n_(e,{height:\"0px\"}),(null==a?void 0:a.current)||(d.current=!0)}else n_(f,{transform:\"translateY(0px)\",transition:\"transform 0.2s\"}),u(0)};let x=(e,t,n,l)=>{na(a,!1,t).then(t=>{na(f,!0).then(o=>{let i;(i={index:0,offset:r+t.bottom-o.height-p.current+n,smooth:l},new Promise((t,n)=>{lynx.createSelectorQuery().select(`#${e}`).invoke({method:\"scrollTo\",params:i,success:e=>{t(e)},fail:e=>{n(new nu(e.code,JSON.stringify(e.data)))}}).exec()})).catch(()=>{})})})};let w=(e,l=\"transform 0.28s\")=>{na(e,!0).then(e=>{let{pixelHeight:o,pixelRatio:_,platform:a}=SystemInfo;let c=o/_-e.bottom-(\"Android\"===a?n:0)-r+i+p.current;!t&&c>=0&&(c=0),n_(f,{transform:`translateY(${c}px)`,transition:l}),u(c)})};ns(\"keyboardstatuschanged\",(e,t,n)=>{null==o||o(\"on\"===e?t:0)},[]),eY(()=>{b()},[r,a]);let S=eS(()=>({onAwareTriggerFocused:y,onAwareTriggerBlurred:m,onAwareTriggerLayoutChanged:g,keyboardAwareResponder:f,keyboardAwareResponderScrollInfoCollected:v}),[y,m,g,a,v]);return ea(nd.Provider,{value:S,children:l})});function nh(e){return e&&\"undefined\"!=typeof Symbol&&e.constructor===Symbol?\"symbol\":typeof e}function nv(e){var t=function(e,t){if(\"object\"!==nh(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var l=n.call(e,t||\"default\");if(\"object\"!==nh(l))return l;throw TypeError(\"@@toPrimitive must return a primitive value.\")}return(\"string\"===t?String:Number)(e)}(e,\"string\");return\"symbol\"===nh(t)?t:String(t)}function ny(e){let t=ex(e);t.current=eS(()=>e,[e]);let n=ex();return null!=n.current||(n.current=function(...e){return t.current.apply(this,e)}),n.current}function nm(){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}const ng=eu({active:!1,disabled:!1});const nb=tb(\"__snapshot_11572_54683_1\",null,null,ty,void 0,globDynamicComponentEntry,[0]);const nx=e=>{let{children:t,onClick:n,disabled:l=!1,style:r,className:o,buttonProps:i}=e;let[u,_]=eg(!1);let a=u&&!l;let c=\"function\"==typeof t?t({active:a,disabled:l}):t;let s=ny(()=>{l||_(!0)});let d=ny(()=>{if(_(!1),l)return});let p=ny(()=>{l||null==n||n()});let f=eS(()=>({active:a,disabled:l}),[a,l]);return ea(ng.Provider,{value:f,children:ea(nb,{values:[e5(e9({bindtap:p,bindtouchstart:s,bindtouchend:d,bindtouchcancel:d,\"event-through\":!1,style:r,className:nm(o,{\"ui-active\":a,\"ui-disabled\":l})},i),{__spread:!0})],children:c})})};const nw=eu({checked:!1,indeterminate:!1});const nS=e=>{var t;let{style:n,className:l,children:r,onChange:o,checked:i,defaultChecked:u=!1,disabled:_=!1,indeterminate:a=!1,checkboxProps:c}=e;let s=void 0!==i;let[d,p]=eg(u);let f=s?i:d;let h=ny(e=>{s||p(e),null==o||o(e)});let v=ny(()=>{a?h(!0):h(!f)});let y=eS(()=>({checked:f,indeterminate:a}),[f,a]);return ea(nw.Provider,{value:y,children:ea(nx,{disabled:_,onClick:v,style:n,className:nm(l,{\"ui-indeterminate\":a,\"ui-checked\":i}),buttonProps:c,children:(t={checked:f,indeterminate:a},\"function\"==typeof r?e=>r(e9({},t,e)):r)})})};const nk=()=>{};const nC=ej(eM(function(e,t){let{id:n,readonly:l=!1,placeholder:r,type:o=\"text\",inputFilter:i,style:u,className:_,maxLength:a=140,defaultValue:c,value:s,confirmType:d=\"send\",showSoftInputOnFocus:p=!0,onFocus:f,onInput:h,onConfirm:v,onBlur:y,onSelectionChange:m}=e;let g=ex(void 0!==s);let b=ex(null);let{onInputBlurred:x,onInputFocused:w}=eC(np);eY(()=>{C(null!=s?s:\"\")},[s]),eY(()=>{g.current||C(null!=c?c:\"\")},[]);let S=()=>new Promise((e,t)=>{var n;null==(n=b.current)||n.invoke({method:\"focus\",success:t=>{e()},fail:e=>{t(new nu(e.code,e.data))}}).exec()});let k=()=>new Promise((e,t)=>{var n;null==(n=b.current)||n.invoke({method:\"blur\",success:t=>{e()},fail:e=>{t(new nu(e.code,e.data))}}).exec()});let C=e=>new Promise((t,n)=>{var l;null==(l=b.current)||l.invoke({method:\"setValue\",params:{value:e},success(e){t()},fail(e){n(new nu(e.code,e.data))}}).exec()});let E=()=>new Promise((e,t)=>{var n;null==(n=b.current)||n.invoke({method:\"getValue\",success(t){e(t)},fail(e){t(new nu(e.code,e.data))}}).exec()});let I=(e,t)=>new Promise((n,l)=>{var r;null==(r=b.current)||r.invoke({method:\"setSelectionRange\",params:{selectionStart:e,selectionEnd:t},success(e){n()},fail(e){l(new nu(e.code,e.data))}}).exec()});let P={_c:{controlled:g},_wkltId:\"8e1b:b8ce3:1\",_jsFn:{_jsFn1:t6((e,t,n,l,r=!1)=>{null==h||h(e,t,n,l),r&&n_(b,{readonly:!1})})}};return ew(t,()=>({setValue:C,getValue:E,blur:k,focus:S,setSelectionRange:I}),[C,E,k,S,I]),ea(nE,{values:[tp(b),n,l,r,d,o,i,a,p,P,e=>{null==w||w(),null==f||f(e.detail.value)},e=>{null==x||x(),null==y||y(e.detail.value)},e=>{null==v||v(e.detail.value)},e=>{null==m||m(e.detail.selectionStart,e.detail.selectionEnd)},_,u]})}));const nE=tb(\"__snapshot_8e1b3_b8ce3_1\",null,null,null,void 0,globDynamicComponentEntry,[0]);const nI=ej(eM(function(e,t){let{id:n,readonly:l=!1,placeholder:r,lineSpacing:o,bounces:i=!0,maxLines:u=40,type:_=\"text\",inputFilter:a,style:c,className:s,maxLength:d=140,defaultValue:p,value:f,confirmType:h=\"send\",showSoftInputOnFocus:v=!0,onFocus:y,onInput:m,onConfirm:g,onBlur:b,onSelectionChange:x}=e;let w=ex(void 0!==f);let S=ex(null);let{onInputBlurred:k,onInputFocused:C}=eC(np);eY(()=>{P(null!=f?f:\"\")},[f]),eY(()=>{w.current||P(null!=p?p:\"\")},[]);let E=()=>new Promise((e,t)=>{var n;null==(n=S.current)||n.invoke({method:\"focus\",success:t=>{e()},fail:e=>{t(new nu(e.code,e.data))}}).exec()});let I=()=>new Promise((e,t)=>{var n;null==(n=S.current)||n.invoke({method:\"blur\",success:t=>{e()},fail:e=>{t(new nu(e.code,e.data))}}).exec()});let P=e=>new Promise((t,n)=>{var l;null==(l=S.current)||l.invoke({method:\"setValue\",params:{value:e},success(e){t()},fail(e){n(new nu(e.code,e.data))}}).exec()});let O=()=>new Promise((e,t)=>{var n;null==(n=S.current)||n.invoke({method:\"getValue\",success(t){e(t)},fail(e){t(new nu(e.code,e.data))}}).exec()});let T=(e,t)=>new Promise((n,l)=>{var r;null==(r=S.current)||r.invoke({method:\"setSelectionRange\",params:{selectionStart:e,selectionEnd:t},success(e){n()},fail(e){l(new nu(e.code,e.data))}}).exec()});let L={_c:{controlled:w},_wkltId:\"7a79:a9994:1\",_jsFn:{_jsFn1:t6((e,t,n,l,r=!1)=>{null==m||m(e,t,n,l),r&&n_(S,{readonly:!1})})}};return ew(t,()=>({setValue:P,getValue:O,blur:I,focus:E,setSelectionRange:T}),[P,O,I,E,T]),ea(nP,{values:[tp(S),n,l,o,i,u,r,h,_,a,d,v,L,e=>{null==C||C(),null==y||y(e.detail.value)},e=>{null==k||k(),null==b||b(e.detail.value)},e=>{null==g||g(e.detail.value)},e=>{null==x||x(e.detail.selectionStart,e.detail.selectionEnd)},s,c]})}));const nP=tb(\"__snapshot_7a793_a9994_1\",null,null,null,void 0,globDynamicComponentEntry,[0]);const nO=eu({selectedValue:null,disabled:!1,handleValueChange:nk});const nT=e=>{let{children:t,onValueChange:n,defaultValue:l,value:r,disabled:o=!1}=e;let i=void 0!==r;let[u,_]=eg(null!=l?l:null);let a=i?r:u;let c=ex(null);let s=ny(e=>{c.current!==e&&(null==n||n(e),c.current=e)});let d=ek(e=>{i||_(e),s(e)},[i,s]);eY(()=>{s(null!=r?r:\"\")},[r,s]);let p=eS(()=>({selectedValue:a,handleValueChange:d,disabled:o}),[a,d,o]);let f=eS(()=>\"function\"==typeof t?t({value:a,disabled:o}):t,[t,a]);return ea(nO.Provider,{value:p,children:f})};function nL(e){let t=ex(e);return eY(()=>{t.current=e},[e]),eS(()=>(...e)=>{var n;null==(n=t.current)||n.call(t,...e)},[])}eu({value:\"\",disabled:!1}),tb(\"__snapshot_b3824_f71e7_1\",null,null,ty,void 0,globDynamicComponentEntry,null);const nN=eu({checked:!1,disabled:!1,active:!1});const nA=tb(\"__snapshot_0277e_f0e1a_1\",null,null,ty,void 0,globDynamicComponentEntry,[0]);function nD({style:e,className:t,children:n,onChange:l,checked:r,defaultChecked:o=!1,disabled:i=!1,switchProps:u}){let _=void 0!==r;let[a,c]=eg(o);let s=_?r:a;let{pressed:d,bindtap:p,bindtouchcancel:f,bindtouchend:h,bindtouchstart:v}=function({disabled:e=!1,onTap:t}={}){let[n,l]=eg(!1);let r=nL(()=>{e||l(!0)});let o=nL(()=>{l(!1)});return{pressed:n,bindtap:nL(()=>{e||null==t||t()}),bindtouchstart:r,bindtouchend:o,bindtouchcancel:o}}({disabled:i,onTap:()=>{let e=!s;_||c(e),null==l||l(e)}});let y=eS(()=>d&&!i,[d,i]);let m=eS(()=>({active:y,checked:s,disabled:i}),[y,s,i]);return ea(nN.Provider,{value:m,children:ea(nA,{values:[e5(e9({bindtap:p,bindtouchstart:v,bindtouchend:h,bindtouchcancel:f,\"event-through\":!1,style:e,className:nm(t,{\"ui-active\":y,\"ui-checked\":s,\"ui-disabled\":i})},u),{__spread:!0})],children:\"function\"==typeof n?n(m):n})})}tb(\"__snapshot_0277e_f0e1a_2\",null,null,ty,void 0,globDynamicComponentEntry,null),tb(\"__snapshot_0277e_f0e1a_3\",null,null,ty,void 0,globDynamicComponentEntry,null);const nj=eu(void 0);const nB=(e,t)=>{switch(t.type){case\"CHANGED\":{let{name:n,value:l}=t.payload;if(e[n]===l)return e;return e5(e9({},e),{[n]:l})}case\"UNREGISTER\":{let{name:n}=t.payload;if(!(n in e))return e;let{[n]:l}=e;return tY(e,[n].map(nv))}default:return e}};const nR=()=>{let e=eC(nj);if(!e)throw Error(\"useForm must be used within a FormRoot\");return e};const nM=({children:e,initialValues:t,onSubmit:n,onChanged:l})=>{let[r,o]=eb(nB,null!=t?t:{});let i=ex(!1);let u=ny(null!=l?l:nk);eY(()=>{i.current?u(r):i.current=!0},[r,u]);let _=ny((e,t)=>{o({type:\"CHANGED\",payload:{name:e,value:t}})});let a=ny(e=>{o({type:\"UNREGISTER\",payload:{name:e}})});let c=ny(()=>{null==n||n(r)});let s=eS(()=>({formData:r,onChanged:_,unregisterField:a,submit:c}),[r,_,a,c]);return ea(nj.Provider,{value:s,children:e})};const nF=e=>{var{as:t,name:n,children:l,onChanged:r}=e,o=tY(e,[\"as\",\"name\",\"children\",\"onChanged\"]);let{formData:i,onChanged:u,unregisterField:_}=nR();eY(()=>{var e;let t=null!=(e=i[n])?e:null;return u(n,t),()=>{_(n)}},[]);let a=i[n];let c=e=>{u(n,e),null==r||r(e)};let s=e5(e9({},o),{children:l});if(\"RadioGroupRoot\"===t)return ea(nT,e9({onValueChange:c,defaultValue:a},s));if(\"Input\"===t)return ea(nC,e9({defaultValue:a,onInput:c},s));if(\"TextArea\"===t)return ea(nI,e9({defaultValue:a,onInput:c},s));if(\"Checkbox\"===t)return ea(nS,e9({defaultChecked:a,onChange:c},s));if(\"Switch\"===t)return ea(nD,e9({defaultChecked:a,onChange:c},s));throw Error(`FormField component does not support as=\"${String(t)}\"`)};const n$=e=>{var{onSubmit:t}=e,n=tY(e,[\"onSubmit\"]);let{submit:l,formData:r}=nR();return ea(nx,e9({onClick:()=>{l(),null==t||t(r)}},n))};const nU={onScroll:\"bindscroll\",onScrollStateChange:\"bindscrollstatechange\",onScrollToLower:\"bindscrolltolower\",onScrollToUpper:\"bindscrolltoupper\",onScrollEnd:\"bindscrollend\",onScrollToUpperEdge:\"bindscrolltoupperedge\",onScrollToLowerEdge:\"bindscrolltoloweredge\",onScrollToNormalState:\"bindscrolltonormalstate\"};const nH={onUIAppear:\"binduiappear\",onUIDisappear:\"binduidisappear\"};const nV={onLayoutChange:\"bindlayoutchange\"};const nW={onTouchStart:\"bindtouchstart\",onTouchMove:\"bindtouchmove\",onTouchEnd:\"bindtouchend\",onTouchCancel:\"bindtouchcancel\",onTouchTap:\"bindtap\",onLongPress:\"bindlongpress\",catchTouchStart:\"catchtouchstart\",catchTouchMove:\"catchtouchmove\",catchTouchEnd:\"catchtouchend\",catchTouchCancel:\"catchtouchcancel\",catchTap:\"catchtap\",catchLongPress:\"catchlongpress\"};const nJ=ej(eM(function(e,t){let{pid:n,scene:l,estimatedStyle:r,top:o=\"10px\",bottom:i=\"10px\",left:u=\"10px\",right:_=\"10px\",unmountOnExit:a,unloadable:c=!1,children:s}=e;let d=null!=a?a:c;let[p,f]=eg(!1);let h=ex(void 0);if(ns(\"exposure\",e=>{e.forEach(e=>{p||e[\"exposure-scene\"]!==l||e[\"exposure-id\"]!==n||f(!0)})},[p]),ns(\"disexposure\",e=>{d&&e.forEach(e=>{e[\"exposure-scene\"]===l&&e[\"exposure-id\"]===n&&f(!1)})},[d]),!d)return p?s:ea(nG,{values:[o,i,u,_,n,l,r]});{var v,y,m,g;let{width:e,height:t}=r,a=tY(r,[\"width\",\"height\"]);return ea(nz,{values:[o,i,u,_,n,l,({detail:e})=>{p&&(h.current={width:`${e.width}px`,height:`${e.height}px`})},p?{}:e9({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},a)],children:p&&s})}}));const nG=tb(\"__snapshot_ae447_b9b02_1\",null,null,null,void 0,globDynamicComponentEntry,null);const nz=tb(\"__snapshot_ae447_b9b02_2\",null,null,ty,void 0,globDynamicComponentEntry,null);const nq=tb(\"__snapshot_4ab23_9c9de_1\",null,null,ty,void 0,globDynamicComponentEntry,[0]);const nQ=function(e){let{children:t,sticky:n,elementProps:l}=e;return ea(nq,{values:[e5(e9({},l),{\"android-touch-slop\":\"page\",name:\"background\",flatten:!1,__spread:!0})],children:[n,t]})};const nK={_wkltId:\"333e:982fb:1\"};const nY=tb(\"__snapshot_8d379_41c83_1\",null,null,ty,void 0,globDynamicComponentEntry,null);const nX=tb(\"__snapshot_8d379_41c83_2\",null,null,ty,void 0,globDynamicComponentEntry,null);const nZ=tb(\"__snapshot_8d379_41c83_3\",null,null,null,void 0,globDynamicComponentEntry,null);const n0=tb(\"__snapshot_8d379_41c83_4\",null,null,null,void 0,globDynamicComponentEntry,null);const n1=tb(\"__snapshot_8d379_41c83_6\",null,null,ty,void 0,globDynamicComponentEntry,[0]);const n3=tb(\"__snapshot_8d379_41c83_5\",null,null,[[ne,1],[ne,2]],void 0,globDynamicComponentEntry,null);const n2=function(e,t){var n,l,r,o;let i,u,_,a;let{children:c,bounceableOptions:s,sticky:d,elementProps:p,debugLog:f=!1,enableRTL:h=!1}=e;let v=null!=(n=p[\"scroll-x\"])?n:!1===p[\"scroll-y\"];let y=p.id;let{style:m}=p;let g=!1;let b={enableBounces:!1};\"boolean\"==typeof s?(g=s,b={enableBounces:!0,singleSidedBounce:\"both\",alwaysBouncing:!0,validAnimationVersion:!0}):\"object\"==typeof s&&(g=s.enableBounces,(b=s).singleSidedBounce=null!=(l=s.singleSidedBounce)?l:\"both\",b.alwaysBouncing=null==(r=s.alwaysBouncing)||r,b.validAnimationVersion=null==(o=s.validAnimationVersion)||o);let x=function(e){var t,n,l,r,o,i,u,_,a,c,s,d;let p=ni(.55);let f=ni(.99);let h=ni(15);let v=!!e.debugLog;let y=ni(null!=(t=e.bounceableOptions.singleSidedBounce)?t:\"both\");let m=ni(null);let g=ni(null);let b=ni(0);let x=ni({});let w=ni(null);let S=ni({});let k=ni({});let C=ni({});let E=ni(null!=(n=e.bounceableOptions.estimatedHeight)?n:SystemInfo.pixelHeight/SystemInfo.pixelRatio);let I=ni(null!=(l=e.bounceableOptions.estimatedWidth)?l:SystemInfo.pixelWidth/SystemInfo.pixelRatio);let P=ni(0);let O=ni(0);let T=ni(!1);let L=ni(!1);let N=ni(!1);let A=ni(!1);let D=ni(!1);let j=null!=(r=e.id)?r:\"bounceableContainer\";let{enableBounces:B,onScrollToBounces:R}=e.bounceableOptions;let M=null!=(o=e.bounceableOptions.alwaysBouncing)&&o;let F=null!=(i=e.scrollOrientation)?i:\"vertical\";let $=ni(null!=(u=e.enableRTL)&&u);let U=null==(_=e.bounceableOptions.enableBounceEventInFling)||_;let H=null!=(a=e.bounceableOptions.startBounceTriggerDistance)?a:0;let V=null!=(c=e.bounceableOptions.endBounceTriggerDistance)?c:0;let W=ni(null!=(s=e.bounceableOptions.validAnimationVersion)&&s);((e,...t)=>{e&&console.info(...t)})(v,`[lynx-ui-scroll-view][useBounce] init, enableBounces: ${B}, orientation: ${F}, enableRTL: ${null!=(d=e.enableRTL)&&d}`);let J={_c:{scrollOrientation:F},_wkltId:\"a85b:ce1da:1\"};let G={_wkltId:\"a85b:ce1da:2\"};let z={_c:{enableRTL:$},_wkltId:\"a85b:ce1da:3\"};let q={_wkltId:\"a85b:ce1da:4\"};let Q={_wkltId:\"a85b:ce1da:5\"};let K={_c:{isAndroid:q,selectorMT:nc,containerID:j},_wkltId:\"a85b:ce1da:6\"};let Y={_c:{temporaryValidVersionCheckForRAF:W},_wkltId:\"a85b:ce1da:8\"};let X={_c:{startTouch:m,startBouncingTouch:w,scrollOrientation:F,normalizedHorizontalValue:z},_wkltId:\"a85b:ce1da:9\"};let Z={_c:{bouncingPositionInfo:x,toUpper:A,toLower:D,alwaysBouncing:M,bouncingStatus:{alwaysBouncing:4,noBouncing:3,upperBouncing:1,lowerBouncing:2,inScrollingRange:0},mtsLog:nK,debugLogEnabled:v},_wkltId:\"a85b:ce1da:10\"};let ee={_c:{mtsLog:nK,isEmpty:Q,bouncingPositionInfo:x,prevTouch:g,startTouch:m,bouncingTouchStartPosition:k,isVertical:J,debugLogEnabled:v,selectorMT:nc,containerID:j,enableRTL:$},_wkltId:\"a85b:ce1da:12\"};let et={_c:{mtsLog:nK,debugLogEnabled:v},_wkltId:\"a85b:ce1da:13\",_jsFn:{_jsFn1:t6(function(e){B&&R&&R(e)})}};let en={_c:{isVertical:J,height:E,width:I,isEmpty:Q,startTouchBouncingDelta:S,bouncingTouchStartPosition:k,rubberC:p,mtsLog:nK,debugLogEnabled:v,bouncingSetStyle:ee},_wkltId:\"a85b:ce1da:14\"};let el={_c:{bouncingPositionInfo:x,startBounceTriggerDistance:H,endBounceTriggerDistance:V,threshold:G},_wkltId:\"a85b:ce1da:16\"};let er={_c:{mtsLog:nK,debugLogEnabled:v,bouncingPositionInfo:x,touchingEndBouncingBackEnableFlag:L,beta:h,bouncingSetStyle:ee,threshold:G,customRequestAnimationFrame:Y},_wkltId:\"a85b:ce1da:17\"};return{\"main-thread:bindtouchstart\":{_c:{startTouch:m,mtsLog:nK,debugLogEnabled:v,bouncingTouchStartPosition:k,bouncingPositionInfo:x,touchEndFrameEnableFlag:T,touchingEndBouncingBackEnableFlag:L,flingEndWithBouncingEnableFlag:N},_wkltId:\"a85b:ce1da:18\"},\"main-thread:bindtouchend\":{_c:{clearTouchInfo:{_c:{mtsLog:nK,debugLogEnabled:v,startTouch:m,bouncingTouchStartPosition:k,prevTouch:g,startBouncingTouch:w,startTouchBouncingDelta:S},_wkltId:\"a85b:ce1da:7\"},enableScroll:K,mtsLog:nK,debugLogEnabled:v,shouldBounceWhenTouchEnd:{_c:{bouncingStatus:{inScrollingRange:0,noBouncing:3,upperBouncing:1,lowerBouncing:2,alwaysBouncing:4},alwaysBouncing:M},_wkltId:\"a85b:ce1da:11\"},getBouncingStatus:Z,bouncingPositionInfo:x,isOverTriggerDistance:el,triggerScrollToBouncesEvent:et,touchEndFrameEnableFlag:T,threshold:G,bouncingBack:er,flingDeceleratingRate:f,bouncingSetStyle:ee,customRequestAnimationFrame:Y},_wkltId:\"a85b:ce1da:20\"},\"main-thread:bindtouchmove\":{_c:{prevTouch:g,startTouch:m,mtsLog:nK,getCurrentDelta:X,getBouncingStatus:Z,bouncingStatus:{upperBouncing:1,lowerBouncing:2,alwaysBouncing:4,inScrollingRange:0},enableScroll:K,rubberEffect:en,debugLogEnabled:v,alwaysBouncing:M,triggerRubberEffectIfCrossingEdge:{_c:{getCurrentDelta:X,mtsLog:nK,debugLogEnabled:v,toUpper:A,toLower:D,singleSidedBounce:y,enableScroll:K,rubberEffect:en},_wkltId:\"a85b:ce1da:15\"}},_wkltId:\"a85b:ce1da:19\"},\"main-thread:bindlayoutchange\":{_c:{height:E,isAndroid:q,width:I},_wkltId:\"a85b:ce1da:26\"},\"main-thread:bindscroll\":{_c:{scrollX:P,scrollY:O,isEmpty:Q,prevScroll:C,isVertical:J,normalizedHorizontalValue:z,scrollVelocity:b,mtsLog:nK,debugLogEnabled:v},_wkltId:\"a85b:ce1da:21\"},onUpperExposure:{_c:{mtsLog:nK,debugLogEnabled:v,toUpper:A,singleSidedBounce:y,prevScroll:C,startBouncingTouch:w,prevTouch:g,startTouchBouncingDelta:S,bouncingPositionInfo:x,scrollVelocity:b,threshold:G,flingEndWithBouncingEnableFlag:N,bouncingBack:er,flingDeceleratingRate:f,bouncingSetStyle:ee,isOverTriggerDistance:el,triggerScrollToBouncesEvent:et,customRequestAnimationFrame:Y},_wkltId:\"a85b:ce1da:23\"},onUpperDisexposure:{_c:{mtsLog:nK,debugLogEnabled:v,toUpper:A},_wkltId:\"a85b:ce1da:22\"},onLowerExposure:{_c:{mtsLog:nK,debugLogEnabled:v,toLower:D,singleSidedBounce:y,prevTouch:g,startBouncingTouch:w,startTouchBouncingDelta:S,bouncingPositionInfo:x,enableBounceEventInFling:U,scrollVelocity:b,threshold:G,flingEndWithBouncingEnableFlag:N,bouncingBack:er,flingDeceleratingRate:f,bouncingSetStyle:ee,isOverTriggerDistance:el,triggerScrollToBouncesEvent:et,customRequestAnimationFrame:Y},_wkltId:\"a85b:ce1da:25\"},onLowerDisexposure:{_c:{mtsLog:nK,debugLogEnabled:v,toLower:D},_wkltId:\"a85b:ce1da:24\"}}}({bounceableOptions:b,debugLog:f,enableRTL:h,id:y,scrollOrientation:v?\"horizontal\":\"vertical\"});return g&&(b.upperBounceItem&&(i=ea(nY,{values:[`${y}-upperBounceWrapper`,`position:absolute;${v?h?\"left:100%\":\"right:100%\":\"bottom:100%\"}; ${v?\"height:100%;\":\"width:100%;\"};${v?\"width:max-content\":\"height:max-content\"};`,p[\"main-thread:gesture\"]],children:b.upperBounceItem})),b.lowerBounceItem&&(u=ea(nX,{values:[`${y}-lowerBounceWrapper`,`position:absolute;${v?h?\"right:100%\":\"left:100%\":\"top:100%\"}; ${v?\"height:100%;\":\"width:100%;\"};${v?\"width:max-content\":\"height:max-content\"};`,p[\"main-thread:gesture\"]],children:b.lowerBounceItem})),_=ea(nZ,{values:[`display: flex; flex-direction: column; overflow:hidden; height: ${v?\"100%\":\"1ppx\"}; width: ${v?\"1ppx\":\"100%\"};`,y,`${y}-upperExposureView`,x.onUpperDisexposure,x.onUpperExposure,p[\"main-thread:gesture\"]]}),a=ea(n0,{values:[`display: flex; flex-direction: column; overflow:hidden; height: ${v?\"100%\":\"1ppx\"}; width: ${v?\"1ppx\":\"100%\"};`,y,`${y}-lowerExposureView`,x.onLowerDisexposure,x.onLowerExposure,p[\"main-thread:gesture\"]]})),ea(n3,{values:[`${y}-BounceWrapper`,`display: flex; flex-direction: column; overflow:hidden; height: ${v?\"100%\":`${null==m?void 0:m.height}`}; width: ${v?`${null==m?void 0:m.width}`:\"100%\"};`,p[\"main-thread:gesture\"]],children:[ea(n1,{values:[e5(e9({},p,x),{bounces:!1,\"ios-enable-simultaneous-touch\":!0,name:\"background\",flatten:!1,__spread:!0})],children:[_,d,c,a]}),ea(\"wrapper\",{children:[i,u]})]})};const n9=ej(eM(function(e,t){let{scrollviewId:n=\"scrollview\",horizontal:l=!1,style:r,children:o,scrollOrientation:i,lazyOptions:u,className:_=\"\",debugLog:a=!1,enableRTL:c=!1,bounceableOptions:s={enableBounces:!0,singleSidedBounce:\"iOSBounces\"},enableScroll:d=!0,enableScrollMonitor:p=!1,scrollMonitorTag:f,sticky:h,scrollPropagationBehavior:v=\"native\",temporaryBlockScrollClass:y=\"BDXLynxViewPager\",temporaryBlockScrollTag:m=0,temporaryNestedScroll:g,androidTouchSlop:b,\"main-thread:gesture\":x}=e;let w=ex(e9({},nU,nH,nW,nV,n5));let S=u?e9({firstScreenItemCount:1},u):void 0;let k=((e,t)=>{let n={};for(let l of Object.keys(e))l in t&&(n[t[l]]=e[l]);return e9({},n,((e,t)=>{let n={};for(let l of(ni(),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,w.current);let C=()=>i?\"horizontal\"===i:l;let E=!1;let I={enableBounces:!1};if(\"boolean\"==typeof s)I={enableBounces:E=s,singleSidedBounce:\"both\",alwaysBouncing:!0,validAnimationVersion:!0};else if(\"object\"==typeof s){var P,O,T;E=s.enableBounces,(I=s).singleSidedBounce=null!=(P=s.singleSidedBounce)?P:\"both\",I.alwaysBouncing=null==(O=s.alwaysBouncing)||O,I.validAnimationVersion=null==(T=s.validAnimationVersion)||T}let L=E&&(null==I?void 0:I.singleSidedBounce)===\"iOSBounces\";let N=(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)?ea(nJ,{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 A=e9({id:n,\"scroll-x\":C(),\"scroll-y\":!C(),\"enable-scroll-monitor\":p,\"scroll-monitor-tag\":f,\"main-thread:gesture\":x,\"force-can-scroll\":\"preventPropagate\"===v,\"ios-block-gesture-class\":\"preventPropagate\"===v?y:\"\",\"ios-recognized-view-tag\":\"preventPropagate\"===v?m:0,\"enable-nested-scroll\":\"Android\"===SystemInfo.platform?null==g||g:\"iOS\"!==SystemInfo.platform||\"propagate\"===v,\"enable-new-nested\":!0,className:_,style:r,bounces:L,\"enable-scroll\":d},void 0!==b&&{\"android-touch-slop\":b},k);return E&&\"iOSBounces\"!==I.singleSidedBounce&&\"none\"!==I.singleSidedBounce?ea(n2,{elementProps:A,bounceableOptions:I,debugLog:a,enableRTL:c,sticky:h,children:N(o,S)}):ea(nQ,{elementProps:A,sticky:h,children:N(o,S)})}));const n5={onContentSizeChange:\"bindcontentsizechanged\"};const n8=ej(function(e){let{as:t=\"View\",scrollviewId:n=\"scrollview\",style:l,className:r,children:o}=e,i=tY(e,[\"as\",\"scrollviewId\",\"style\",\"className\",\"children\"]);let u=null!=l?l:{},{width:_=\"100%\",height:a=\"100%\"}=u,c=tY(u,[\"width\",\"height\"]);let{keyboardAwareResponder:s,keyboardAwareResponderScrollInfoCollected:d}=eC(nd);let p=ex(null);return eY(()=>{null==d||d(n,`keyboard-aware-trigger-scroll-content-${n}`,p)},[p,s]),ea(n7,{values:[e5(e9({style:e9({width:_,height:a},\"ScrollView\"===t?{}:c),className:\"ScrollView\"===t?void 0:r},i),{ref:s,flatten:!1,__spread:!0})],children:\"ScrollView\"===t?ea(n9,e5(e9({style:e9({width:\"100%\",height:\"100%\"},c),scrollviewId:n,className:r},i),{scrollOrientation:\"vertical\",children:ea(n4,{values:[`keyboard-aware-trigger-scroll-content-${n}`,tp(p)],children:o})})):o})});const n4=tb(\"__snapshot_095ae_13587_2\",null,null,[[nt,1]],void 0,globDynamicComponentEntry,[1]);const n7=tb(\"__snapshot_095ae_13587_1\",null,null,ty,void 0,globDynamicComponentEntry,[0]);const n6=ej(function(e){let{children:t,offset:n=0}=e,l=tY(e,[\"children\",\"offset\"]);let r=ex(0);let o=ex(null);let{onAwareTriggerFocused:i,onAwareTriggerBlurred:u,onAwareTriggerLayoutChanged:_}=eC(nd);let a=()=>{null==i||i(o,n)};let c=()=>{null==u||u(o)};let s=eS(()=>({onInputFocused:a,onInputBlurred:c}),[a,c]);return ea(np.Provider,{value:s,children:ea(le,{values:[e5(e9({},l),{ref:o,flatten:!1,\"ignore-focus\":!0,bindlayoutchange:e=>{lynx.requestAnimationFrame(()=>{r.current!=e.detail.height&&(r.current=e.detail.height,null==_||_(o))})},__spread:!0})],children:t})})});const le=tb(\"__snapshot_f5e6a_757fa_1\",null,null,ty,void 0,globDynamicComponentEntry,[0]);const lt=[{type:\"block\",key:\"spacer-intro\"},{type:\"input\",key:\"field-title\",name:\"title\",label:\"Title\",placeholder:\"Type here\"},{type:\"block\",key:\"spacer-1\"},{type:\"input\",key:\"field-subtitle\",name:\"subtitle\",label:\"Subtitle\",placeholder:\"Type here\"},{type:\"block\",key:\"spacer-2\"},{type:\"input\",key:\"field-email\",name:\"email\",label:\"Email\",placeholder:\"name@example.com\"},{type:\"block\",key:\"spacer-3\"},{type:\"input\",key:\"field-phone\",name:\"phone\",label:\"Phone\",placeholder:\"+1 234 567 890\"},{type:\"block\",key:\"spacer-4\"},{type:\"input\",key:\"field-website\",name:\"website\",label:\"Website\",placeholder:\"https://\"},{type:\"block\",key:\"spacer-5\"},{type:\"textarea\",key:\"field-description\",name:\"description\",label:\"Description(TextArea)\",placeholder:\"Write something...\"},{type:\"block\",key:\"spacer-outro\"},{type:\"input\",key:\"field-tag\",name:\"tag\",label:\"Tag\",placeholder:\"e.g. demo\"},{type:\"block\",key:\"spacer-tail\"}];const ln=Object.fromEntries(lt.filter(e=>\"input\"===e.type||\"textarea\"===e.type).map(e=>[e.name,\"\"]));const ll=tb(\"__snapshot_d93f0_4e9d9_3\",null,null,null,void 0,globDynamicComponentEntry,null);const lr=tb(\"__snapshot_d93f0_4e9d9_5\",null,null,ty,void 0,globDynamicComponentEntry,null);const lo=tb(\"__snapshot_d93f0_4e9d9_6\",null,null,ty,void 0,globDynamicComponentEntry,null);const li=tb(\"__snapshot_d93f0_4e9d9_4\",null,null,[[ne,1],[ne,2]],void 0,globDynamicComponentEntry,null);const lu=tb(\"__snapshot_d93f0_4e9d9_8\",null,null,ty,void 0,globDynamicComponentEntry,null);const l_=tb(\"__snapshot_d93f0_4e9d9_9\",null,null,ty,void 0,globDynamicComponentEntry,null);const la=tb(\"__snapshot_d93f0_4e9d9_7\",null,null,[[ne,1],[ne,2]],void 0,globDynamicComponentEntry,null);const lc=tb(\"__snapshot_d93f0_4e9d9_10\",null,null,null,void 0,globDynamicComponentEntry,null);const ls=tb(\"__snapshot_d93f0_4e9d9_11\",null,null,[[nt,1]],void 0,globDynamicComponentEntry,null);const ld=tb(\"__snapshot_d93f0_4e9d9_2\",null,null,[[ne,4],[ne,6]],void 0,globDynamicComponentEntry,null);const lp=tb(\"__snapshot_d93f0_4e9d9_1\",null,null,ty,void 0,globDynamicComponentEntry,null);({render:e=>{i.__jsx=e,eo(e,i),t2()},registerDataProcessors:e=>{lynx.registerDataProcessors(e)}}).render(ea(function(){let[e,t]=eg(null);return ea(lp,{children:ea(nf,{androidStatusBarPlusBottomBarHeight:74,children:ea(nM,{initialValues:ln,children:ea(n8,{as:\"ScrollView\",className:\"demo-canvas\",children:ea(ld,{children:[ea(\"wrapper\",{children:lt.map(e=>\"block\"===e.type?ea(ll,{},e.key):\"input\"===e.type?ea(n6,{offset:0,children:ea(li,{children:[ea(lr,{children:e.label}),ea(lo,{children:ea(nF,{as:\"Input\",name:e.name,className:\"form-input\",placeholder:e.placeholder})})]})},e.key):ea(n6,{offset:0,children:ea(la,{children:[ea(lu,{children:e.label}),ea(l_,{children:ea(nF,{as:\"TextArea\",name:e.name,className:\"form-textarea\",placeholder:e.placeholder,maxLines:12,maxLength:600})})]})},e.key))}),ea(\"wrapper\",{children:[ea(n$,{className:\"submit-button\",onSubmit:e=>t(e),children:ea(lc,{})}),e?ea(ls,{children:JSON.stringify(e,null,2)}):null]})]})})})})})},{}));"},"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,s=!0;class u{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 u(t):null}querySelectorAll(e){return __QuerySelectorAll(this.element,e,{}).map(e=>new u(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&&s&&(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 u(t):null}function f(e){return __QuerySelectorAll(c.get(),e,{}).map(e=>new u(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 y(e,t,n){let r;try{r=runWorklet(e,t)}finally{lynx.getJSContext().dispatchEvent({type:\"Lynx.Worklet.FunctionCallRet\",data:JSON.stringify({resolveId:n,returnValue:r})})}}!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);let h=(e,t)=>({current:t,_wvid:e}),_=t=>{let n,r=t._wvid;return r<0?(n=e._firstScreenWorkletRefMap[r])||(n=e._firstScreenWorkletRefMap[r]=h(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 k(e,t,n){lynxWorkletImpl._workletMap[t]=n}let g=new WeakMap;function I(e,t){if(\"object\"!=typeof e||null===e)return e;if(t){let t=g.get(e);if(t)return t}let n={main:e};return v(n,0,e),t&&g.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 u(i.elementRefptr);continue}if(!(i instanceof u)){if(v(i,t,n),\"_wvid\"in i){e[l]=_(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){_(e).current=t?new u(t):null},updateWorkletRefInitValueChanges:function(t){t.forEach(([t,n])=>{e._workletRefMap[t]||(e._workletRefMap[t]=h(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){s=e}},_runRunOnMainThreadTask:y},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:\"Lynx.Worklet.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=k,globalThis.registerWorkletInternal=k,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,I(e,!0)),r=I(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(\"Lynx.Worklet.runWorkletCtx\",e=>{let t=JSON.parse(e.data);y(t.worklet,t.params,t.resolveId)}),t.addEventListener(\"Lynx.Worklet.releaseWorkletRef\",t=>{var n;n=t.data.id,delete e._workletRefMap[n]})}())})();","root":"\"use strict\";let e,t,n,l,r,_,i,o,s,u,a,c,d;var p,f,h,m,v,b,g,y,w,S,k,x,I,E,C,A,T,B,W=W||\"__Card__\";var P={};var N=[];var O=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;var L=Array.isArray;function R(e,t){for(var n in t)e[n]=t[n];return e}function D(e){e&&e.parentNode&&e.parentNode.removeChild(e)}var M=N.slice;var $={__e:function(e,t,n,l){var r,_,i;for(;t=t.__;)if((r=t.__c)&&!r.__)try{if((_=r.constructor)&&null!=_.getDerivedStateFromError&&(r.setState(_.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 F=0;function V(e,t,n){var l,r,_,i={};for(_ in t)\"key\"==_?l=t[_]:\"ref\"==_?r=t[_]:i[_]=t[_];if(arguments.length>2&&(i.children=arguments.length>3?M.call(arguments,2):n),\"function\"==typeof e&&null!=e.defaultProps)for(_ in e.defaultProps)void 0===i[_]&&(i[_]=e.defaultProps[_]);return U(e,i,l,r,null)}function U(e,t,n,l,r){var _={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?++F:r,__i:-1,__u:0};return null==r&&null!=$.vnode&&$.vnode(_),_}function j(e){return e.children}function H(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}H.prototype.setState=function(e,t){var n;n=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=R({},this.state),\"function\"==typeof e&&(e=e(R({},n),this.props)),e&&R(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=j;var J=[];var q=\"function\"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout;function z(e){(!e.__d&&(e.__d=!0)&&J.push(e)&&!X.__r++||y!==$.debounceRendering)&&((y=$.debounceRendering)||q)(X)}var Y=function(e,t){return e.__v.__b-t.__v.__b};function X(){var e;for(J.sort(Y);e=J.shift();)if(e.__d){var t=J.length;(function(e){var t=e.__v,n=t.__e,l=[],r=[];if(e.__P){var _=R({},t);_.__v=t.__v+1,$.vnode&&$.vnode(_),$.renderComponent&&$.renderComponent(_,e),er(e.__P,_,t,e.__n,e.__P.namespaceURI,32&t.__u?[n]:null,l,null==n?G(t):n,!!(32&t.__u),r),_.__v=t.__v,_.__.__k[_.__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,_,r),_.__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)}}(_)}})(e),J.length>t&&J.sort(Y)}X.__r=0}function K(e,t,n,l,r,_,i,o,s,u,a){var c,d,p,f,h;var m=l&&l.__k||N;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 u=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]=U(null,r,null,null,null):L(r)?e.__k[l]=U(j,{children:r},null,null,null):void 0===r.constructor&&r.__b>0?e.__k[l]=U(r.type,r.props,r.key,r.ref?r.ref:null,r.__v):e.__k[l]=r;var a=l+u;r.__=e,r.__b=e.__b+1;var c=r.__i=function(e,t,n,l){var r=e.key;var _=e.type;var i=n-1;var o=n+1;var s=t[n];var u=l>+(null!=s&&(131072&s.__u)===0);if(null===s||s&&r==s.key&&_===s.type&&(131072&s.__u)===0)return n;if(u)for(;i>=0||o<t.length;){if(i>=0){if((s=t[i])&&(131072&s.__u)===0&&r==s.key&&_===s.type)return i;i--}if(o<t.length){if((s=t[o])&&(131072&s.__u)===0&&r==s.key&&_===s.type)return o;o++}}return -1}(r,n,a,s);_=null,-1!==c&&(_=n[c],s--,_&&(_.__u|=131072)),null==_||null===_.__v?(-1==c&&u--,\"function\"!=typeof r.type&&(r.__u|=65536)):c!==a&&(c==a-1?u--:c==a+1?u++:(c>a?u--:u++,r.__u|=65536))}if(s)for(l=0;l<o;l++)null!=(_=n[l])&&(131072&_.__u)===0&&(_.__e==e.__d&&(e.__d=G(_)),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 _=0;_<r.length;_++)r[_]&&e(r[_],n,l||\"function\"!=typeof t.type);l||D(t.__e),t.__c=t.__=t.__e=t.__d=void 0}(_,_))}(n,t,m),s=n.__d,c=0;c<v;c++)null!=(p=n.__k[c])&&(d=-1===p.__i?P:m[p.__i]||P,p.__i=c,er(e,p,d,r,_,i,o,s,u,a),f=p.__e,p.ref&&d.ref!=p.ref&&(d.ref&&e_(d.ref,null,p),a.push(p.ref,p.__c||f,p)),null==h&&null!=f&&(h=f),65536&p.__u||d.__k===p.__k?s=function e(t,n,l){if(\"function\"==typeof t.type){var r=t.__k;for(var _=0;r&&_<r.length;_++)r[_]&&(r[_].__=t,n=e(r[_],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}(p,s,e):\"function\"==typeof p.type&&void 0!==p.__d?s=p.__d:f&&(s=f.nextSibling),p.__d=void 0,p.__u&=-196609);n.__d=s,n.__e=h}function Z(e,t,n){\"-\"===t[0]?e.setProperty(t,null==n?\"\":n):null==n?e[t]=\"\":\"number\"!=typeof n||O.test(t)?e[t]=n:e[t]=n+\"px\"}X.__r=0;var Q=0;function ee(e,t,n,l,r){var _;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||Z(e.style,t,\"\");if(n)for(t in n)l&&n[t]===l[t]||Z(e.style,t,n[t])}else if(\"o\"===t[0]&&\"n\"===t[1])_=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+_]=n,n?l?n._attached=l._attached:(n._attached=Q,e.addEventListener(t,_?el:en,_)):e.removeEventListener(t,_?el:en,_);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 et(e){return function(t){if(this.l){var n=this.l[t.type+e];if(null==t._dispatched)t._dispatched=Q++;else if(t._dispatched<n._attached)return;return n($.event?$.event(t):t)}}}var en=et(!1);var el=et(!0);function er(e,t,n,l,r,_,i,o,s,u){var a,c,d,p,f,h,m,v=t.type;if(void 0!==t.constructor)return null;128&n.__u&&(s=!!(32&n.__u),_=[o=t.__e=n.__e]),(m=$.__b)&&m(t),(m=$._diff2)&&m(t,n);t:if(\"function\"==typeof v)try{var b=t.props;var g=\"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=(a=t.__c=n.__c).__=a.__E:(g?t.__c=a=new v(b,w):(t.__c=a=new H(b,w),a.constructor=v,a.render=ei),y&&y.sub(a),a.props=b,a.state||(a.state={}),a.context=w,a.__n=l,c=a.__d=!0,a.__h=[],a._sb=[]),g&&null==a.__s&&(a.__s=a.state),g&&null!=v.getDerivedStateFromProps&&(a.__s==a.state&&(a.__s=R({},a.__s)),R(a.__s,v.getDerivedStateFromProps(b,a.__s))),d=a.props,p=a.state,a.__v=t,c)g&&null==v.getDerivedStateFromProps&&null!=a.componentWillMount&&a.componentWillMount(),g&&null!=a.componentDidMount&&a.__h.push(a.componentDidMount);else{if(g&&null==v.getDerivedStateFromProps&&b!==d&&null!=a.componentWillReceiveProps&&a.componentWillReceiveProps(b,w),!a.__e&&(null!=a.shouldComponentUpdate&&!1===a.shouldComponentUpdate(b,a.__s,w)||t.__v===n.__v)){t.__v!==n.__v&&(a.props=b,a.state=a.__s,a.__d=!1),t.__e=n.__e,t.__k=n.__k,t.__k.some(function(e){e&&(e.__=t)});for(var S=0;S<a._sb.length;S++)a.__h.push(a._sb[S]);a._sb=[],a.__h.length&&i.push(a);break t}null!=a.componentWillUpdate&&a.componentWillUpdate(b,a.__s,w),g&&null!=a.componentDidUpdate&&a.__h.push(function(){a.componentDidUpdate(d,p,f)})}a.context=w,a.props=b,a.__P=e,a.__e=!1;var k=$.__r,x=0;if(g){a.state=a.__s,a.__d=!1,k&&k(t),m=a.render(a.props,a.state,a.context);for(var I=0;I<a._sb.length;I++)a.__h.push(a._sb[I]);a._sb=[]}else do a.__d=!1,k&&k(t),m=a.render(a.props,a.state,a.context),a.state=a.__s;while(a.__d&&++x<25);a.state=a.__s,null!=a.getChildContext&&(l=R(R({},l),a.getChildContext())),g&&!c&&null!=a.getSnapshotBeforeUpdate&&(f=a.getSnapshotBeforeUpdate(d,p));var E=null!=m&&m.type===j&&null==m.key?m.props.children:m;K(e,L(E)?E:[E],t,n,l,r,_,i,o,s,u),a.base=t.__e,t.__u&=-161,a.__h.length&&i.push(a),h&&(a.__E=a.__=null)}catch(e){if(t.__v=null,s||null!=_){for(t.__u|=s?160:32;o&&8===o.nodeType&&o.nextSibling;)o=o.nextSibling;_[_.indexOf(o)]=null,t.__e=o}else t.__e=n.__e,t.__k=n.__k;$.__e(e,t,n)}else null==_&&t.__v===n.__v?(t.__k=n.__k,t.__e=n.__e):t.__e=function(e,t,n,l,r,_,i,o,s){var u,a,c,d,p,f,h,m=n.props;var v=t.props;var b=t.type;if(\"svg\"===b?r=\"http://www.w3.org/2000/svg\":\"math\"===b?r=\"http://www.w3.org/1998/Math/MathML\":r||(r=\"http://www.w3.org/1999/xhtml\"),null!=_){for(u=0;u<_.length;u++)if((p=_[u])&&\"setAttribute\"in p===!!b&&(b?p.localName===b:3===p.nodeType)){e=p,_[u]=null;break}}if(null==e){if(null===b)return $.document.createTextNode(v);e=$.document.createElementNS(r,b,v.is&&v),o&&($.__m&&$.__m(t,_),o=!1),_=null}if(null===b)m===v||o&&e.data===v||(e.data=v);else{if(_=_&&M.call(e.childNodes),m=n.props||P,!o&&null!=_)for(u=0,m={};u<e.attributes.length;u++)m[(p=e.attributes[u]).name]=p.value;for(u in m)if(p=m[u],\"children\"==u);else if(\"dangerouslySetInnerHTML\"==u)c=p;else if(!(u in v)){if(\"value\"==u&&\"defaultValue\"in v||\"checked\"==u&&\"defaultChecked\"in v)continue;ee(e,u,null,p,r)}for(u in v)p=v[u],\"children\"==u?d=p:\"dangerouslySetInnerHTML\"==u?a=p:\"value\"==u?f=p:\"checked\"==u?h=p:o&&\"function\"!=typeof p||m[u]===p||ee(e,u,p,m[u],r);if(a)o||c&&(a.__html===c.__html||a.__html===e.innerHTML)||(e.innerHTML=a.__html),t.__k=[];else if(c&&(e.innerHTML=\"\"),K(e,L(d)?d:[d],t,n,l,\"foreignObject\"===b?\"http://www.w3.org/1999/xhtml\":r,_,i,_?_[0]:n.__k&&G(n,0),o,s),null!=_)for(u=_.length;u--;)D(_[u]);o||(u=\"value\",\"progress\"===b&&null==f?e.removeAttribute(\"value\"):void 0===f||f===e[u]&&(\"progress\"!==b||f)&&(\"option\"!==b||f===m[u])||ee(e,u,f,m[u],r),u=\"checked\",void 0!==h&&h!==e[u]&&ee(e,u,h,m[u],r))}return e}(n.__e,t,n,l,r,_,i,s,u);(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 ei(e,t,n){return this.constructor(e,n)}var eo=0;function es(e,t){var n={__c:t=\"__cC\"+eo++,__: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 eu=0;var ea=[];var ec=$.__b;var ed=$.__r;var ep=$.diffed;var ef=$.__c;var eh=$.unmount;var em=$.__;function ev(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,eg(eB,e)}function eg(e,t,n){var l=ev(w++,2);if(l._reducer=e,!l.__c&&(l.__=[n?n(t):eB(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!_||_.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)&&(!_||_.call(this,e,t,n))};S._hasScuFromHooks=!0;var _=S.shouldComponentUpdate;var i=S.componentWillUpdate;S.componentWillUpdate=function(e,t,n){if(this.__e){var l=_;_=void 0,r(e,t,n),_=l}i&&i.call(this,e,t,n)},S.shouldComponentUpdate=r}return l.__N||l.__}function ey(e){return eu=5,eS(function(){return{current:e}},[])}function ew(e,t,n){var l,r;eu=6,l=null==n?n:n.concat(e),r=ev(w++,4),!$.__s&&eT(r.__H,l)&&(r.__=function(){return\"function\"==typeof e?(e(t()),function(){return e(null)}):e?(e.current=t(),function(){return e.current=null}):void 0},r._pendingArgs=l,S.__h.push(r))}function eS(e,t){var n=ev(w++,7);return eT(n.__H,t)&&(n.__=e(),n.__H=t,n.__h=e),n.__}function ek(e,t){return eu=8,eS(function(){return e},t)}function ex(e){var t=S.context[e.__c];var n=ev(w++,9);return(n.c=e,t)?(null==n.__&&(n.__=!0,t.sub(S)),t.props.value):e.__}function eI(){var e;for(;e=ea.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(eC),e.__H.__h.forEach(eA),e.__H.__h=[]}catch(t){e.__H.__h=[],$.__e(t,e.__v)}}$.__b=function(e){S=null,ec&&ec(e)},$.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),em&&em(e,t)},$.__r=function(e){ed&&ed(e),S=e.__c,w=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(eC),t.__h.forEach(eA),t.__h=[],w=0)),k=S},$.diffed=function(e){ep&&ep(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(1===ea.push(t)||x!==$.requestAnimationFrame)&&((x=$.requestAnimationFrame)||function(e){var t,n=function(){clearTimeout(l),eE&&cancelAnimationFrame(t),setTimeout(e)};var l=setTimeout(n,100);eE&&(t=requestAnimationFrame(n))})(eI),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(eC),e.__h=e.__h.filter(function(e){return!e.__||eA(e)})}catch(n){t.some(function(e){e.__h&&(e.__h=[])}),t=[],$.__e(n,e.__v)}}),ef&&ef(e,t)},$.unmount=function(e){eh&&eh(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach(function(e){try{eC(e)}catch(e){t=e}}),n.__H=void 0,t&&$.__e(t,n.__v))};var eE=\"function\"==typeof requestAnimationFrame;function eC(e){var t=S;var n=e.__c;\"function\"==typeof n&&(e.__c=void 0,n()),S=t}function eA(e){var t=S;e.__c=e.__(),S=t}function eT(e,t){return!e||e.length!==t.length||t.some(function(t,n){return t!==e[n]})}function eB(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 eN(e,t){this.props=e,this.context=t}function eO(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}eN.prototype=new H,eN.prototype.isPureReactComponent=!0,eN.prototype.shouldComponentUpdate=function(e,t){return eP(this.props,e)||eP(this.state,t)};var eL=$.__b;$.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),eL&&eL(e)};var eR=\"undefined\"!=typeof Symbol&&Symbol.for&&Symbol.for(\"react.forward_ref\")||3911;function eD(e){function t(t){var n=eW({},t);return delete n.ref,e(n,t.ref||null)}return t.$$typeof=eR,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName=\"ForwardRef(\"+(e.displayName||e.name)+\")\",t}var eM=$.__e;$.__e=function(e,t,n,l){if(e.then){var r;var _=t;for(;_=_.__;)if((r=_.__c)&&r.__c)return null==t.__e&&(t.__e=n.__e,t.__k=n.__k),r.__c(e,t)}eM(e,t,n,l)};var e$=$.unmount;function eF(){this.__u=0,this._suspenders=null,this.__b=null}function eV(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),e$&&e$(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=eV(l.__v);var _=!1;var i=function(){_||(_=!0,n.__R=null,r?r(o):o())};n.__R=i;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(i,i)},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 ej=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 H,eU.prototype.__a=function(e){var t=this;var n=eV(t.__v);var l=t._map.get(e);return l[0]++,function(r){var _=function(){t.props.revealOrder?(l.push(r),ej(t,e,l)):r()};n?n(_):_()}},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||(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},eU.prototype.componentDidUpdate=eU.prototype.componentDidMount=function(){var e=this;this._map.forEach(function(t,n){ej(e,n,t)})};var eH=\"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 eG=$.event;function eJ(){}function eq(){return this.cancelBubble}function ez(){return this.defaultPrevented}$.event=function(e){return eG&&(e=eG(e)),e.persist=eJ,e.isPropagationStopped=eq,e.isDefaultPrevented=ez,e.nativeEvent=e};var eY=$.vnode;function eX(e,t){var n;return n=ev(w++,3),void(!$.__s&&eT(n.__H,t)&&(n.__=e,n._pendingArgs=t,S.__H.__h.push(n)))}function eK(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 eZ(e){for(let t in e)return!1;return!0}function eQ(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,t){let n={};for(let l of t)l in e&&(n[l]=e[l]);return n}function e1(e){return\"undefined\"!=typeof __LoadLepusChunk&&(!!globalThis.lynxWorkletImpl||__LoadLepusChunk(\"worklet-runtime\",{dynamicComponentEntry:e,chunkType:0}))}function e8(e,t){var n,l;return null==(n=(l=globalThis).runWorklet)?void 0:n.call(l,e,t)}function e5(e,t){var n;null==(n=globalThis.lynxWorkletImpl)||n._refImpl.updateWorkletRef(e,t)}function e2(e){var t;null==(t=globalThis.lynxWorkletImpl)||t._eomImpl.setShouldFlush(e)}function e3(e,t,n,l){var r,_,i,o;null==(_=globalThis.lynxWorkletImpl)||null==(r=_._jsFunctionLifecycleManager)||r.addRef(e._execId,e),n&&t&&(null==(i=globalThis.lynxWorkletImpl)||i._hydrateCtx(e,t)),n&&(null==(o=globalThis.lynxWorkletImpl)||o._eventDelayImpl.runDelayedWorklet(e,l))}$.vnode=function(e){e.$$typeof=eH,eY&&eY(e)},(p=I||(I={})).runWorkletCtx=\"Lynx.Worklet.runWorkletCtx\",p.runOnBackground=\"Lynx.Worklet.runOnBackground\",p.FunctionCallRet=\"Lynx.Worklet.FunctionCallRet\",p.releaseBackgroundWorkletCtx=\"Lynx.Worklet.releaseBackgroundWorkletCtx\",p.releaseWorkletRef=\"Lynx.Worklet.releaseWorkletRef\";let e9=!1;function e4(e){var t,n,l;!e&&e9&&(null==(t=globalThis.lynxWorkletImpl)||t._runOnBackgroundDelayImpl.runDelayedBackgroundFunctions(),null==(n=globalThis.lynxWorkletImpl)||n._refImpl.clearFirstScreenWorkletRefMap(),null==(l=globalThis.lynxWorkletImpl)||l._eventDelayImpl.clearDelayedWorklets()),e9=e}(f=E||(E={})).firstScreen=\"rLynxFirstScreen\",f.updateFromRoot=\"updateFromRoot\",f.globalEventFromLepus=\"globalEventFromLepus\",f.jsReady=\"rLynxJSReady\",f.patchUpdate=\"rLynxChange\",f.publishEvent=\"rLynxPublishEvent\",f.updateMTRefInitValue=\"rLynxChangeRefInitValue\",(h=C||(C={}))[h.UPDATE=0]=\"UPDATE\",h[h.RESET=1]=\"RESET\";let e7=[];function e6(){let e=e7;e7=[];for(let t=0;t<e.length;t+=2){let n=e[t];let l=e[t+1];\"_wvid\"in n?e5(n,l):\"_wkltId\"in n&&(n._unmount=e8(n,[{elementRefptr:l}]))}}function te(e){\"_wvid\"in e?e5(e,null):\"_wkltId\"in e&&(\"function\"==typeof e._unmount?e._unmount():e8(e,[null]))}function tt(e,t,n,l,r){var _,i;if(!e.__elements)return;n&&(null==(_=e.__worklet_ref_set)?void 0:_.has(n))&&(te(n),null==(i=e.__worklet_ref_set)||i.delete(n));let o=e.__values[t];if(null==o);else if(o._wvid){let t=e.__elements[l];e7.push(o,t)}else if(o._wkltId){let t=e.__elements[l];e3(o,n,e9,t),e7.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)}const tn={};const tl={};const tr=new WeakMap;const t_=Promise.resolve();function ti(e,t){e.forEach(e=>{tr.has(e)||(tr.set(e,e.parentNode),Object.defineProperty(e,\"__parent\",{get:()=>tr.get(e),set:t=>{tr.set(e,t)}}))});let n=(e,l,r,_,i,o=!1,s=!1)=>{var u,a,c,d,p,f;let h=tn[l];let m=tl[l];if(!h||!m)throw Error(\"componentAtIndex called on removed list\");let v=null!=(c=r.__listItemPlatformInfo)?c:{};if((null==(u=r.__extraProps)?void 0:u.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,t_.then(()=>{o(n(e,l,r,_,i))}))},get:()=>t})})}if(\"object\"==typeof(f=null==(a=r.__extraProps)?void 0:a.isReady)&&null!==f&&\"function\"==typeof f.then)throw Error(\"componentAtIndex was called on a pending deferred list item\");let b=r.type+(null!=(d=v[\"reuse-identifier\"])?d:\"\");let g=m.get(b);if(r.__elements){let e=r.__elements[0];let t=__GetElementUniqueID(e);if(null==g?void 0:g.has(t))return h.set(t,r),g.delete(t),o?o&&s&&__FlushElementTree(e,{asyncFlush:!0}):__FlushElementTree(e,{triggerLayout:!0,operationID:_,elementID:t,listID:l}),t;{let e=r.takeElements();h.set(t,e)}}if(g&&g.size>0){let[n]=g;let[u,a]=n;g.delete(u),t(a,r),a.unRenderElements(),a.__id?(null==(p=a.__extraProps)?void 0:p.isReady)===1&&__OnLifecycleEvent([E.publishEvent,{handlerName:`${a.__id}:__extraProps:onRecycleComponent`,data:{}}]):a.tearDown();let c=r.__element_root;if(e6(),h.set(u,r),o){if(o&&s){let t={asyncFlush:!0};i&&(t.listReuseNotification={listElement:e,itemKey:v[\"item-key\"]}),__FlushElementTree(c,t)}}else{let t={triggerLayout:!0,operationID:_,elementID:u,listID:l};i&&(t.listReuseNotification={listElement:e,itemKey:v[\"item-key\"]}),__FlushElementTree(c,t)}return u}r.ensureElements();let y=r.__element_root;__AppendElement(e,y);let w=__GetElementUniqueID(y);return e6(),h.set(w,r),o?o&&s&&__FlushElementTree(y,{asyncFlush:!0}):__FlushElementTree(y,{triggerLayout:!0,operationID:_,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 u=[];r.forEach((r,a)=>{let c=_[a];let d=e[r];if(!d)throw Error(\"childCtx not found\");let p=n(t,l,d,c,i,!0,o);\"number\"==typeof p||(s=!0),u.push(p)}),s&&Promise.all(u).then(e=>{__FlushElementTree(t,{triggerLayout:!0,operationIDs:_,elementIDs:e,listID:l})}),__FlushElementTree(t,{triggerLayout:!0,operationIDs:_,elementIDs:r.map((e,t)=>\"number\"==typeof u[t]?u[t]:-1),listID:l})}]}function to(){return(e,t,n)=>{var l,r;let _=tn[t];let i=tl[t];if(!_||!i)throw Error(\"enqueueComponent called on removed list\");let o=_.get(n);if(!o)return;let s=null!=(l=o.__listItemPlatformInfo)?l:{};let u=o.type+(null!=(r=s[\"reuse-identifier\"])?r:\"\");i.has(u)||i.set(u,new Map),i.get(u).set(n,o)}}const ts={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 tu(e,t){var n,l;null==(n=e.__worklet_ref_set)||n.forEach(e=>{e&&te(e)}),null==(l=e.__worklet_ref_set)||l.clear(),t&&e.childNodes.forEach(e=>{tu(e,t)})}function ta(e,t,n,l){let r;let _=e.__values[t];r=\"string\"==typeof _?_:`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 tc(e,t,n,l){let r=0;let _={$$diff:!0,i:{},r:[],m:{}};let i={};for(let t=0;t<e.length;t++){var o,s;let n=e[t];(null!=(s=i[o=n.type])?s:i[o]=new Set).add([n,t])}for(let e=0;e<t.length;e++){let o;let s=t[e];let u=i[s.type];if(u&&u.size>0&&([o]=u,o)&&n(o[0],s)){u.delete(o);let t=o[1];if(l(o[0],s,t,e),t<r){_.m[t]=e;continue}r=t}else _.i[e]=s}for(let e in i)for(let[,t]of i[e])_.r.push(t);return _}function td(e,t,n){let l;t.__elements=e.__elements,t.__element_root=e.__element_root,(null==n?void 0:n.skipUnRef)||tu(e,!1),(l=null==n?void 0:n.swap)&&(l[e.__id]=t.__id),ts.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 _=e.childNodes;let i=t.childNodes;r.forEach(([l,r],o)=>{switch(l){case A.Slot:case A.MultiChildren:td(_[o],i[o],n);break;case A.Children:{let t=tc(_,i,(e,t)=>e.type===t.type,(e,t)=>{td(e,t,n)});(function(e,t,n,l,r){let _;if(!(!eZ(t.i)||!eZ(t.m)||t.r.length>0))return e;let i=new Set(t.r);let{i:o,m:s}=t;let u=new Map;let a=0;_=e[0];let c=[];let d=0;let p=0;let f=Object.keys(o).length;for(;_||f>0;){let t=!1;if(_&&i.has(p))l(_);else if(_&&void 0!==s[p])u.set(s[p],_),f++;else{let e=_;u.has(d)?(e=u.get(d),t=!0,r(e,_),f--):void 0!==o[d]&&(e=n(o[d],_),t=!0,f--),c.push(e),d++}_&&!t&&(_=e[++a],p++)}return c})(_,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 A.ListChildren:{let l=[];let o=[];let s=[];let u=__GetElementUniqueID(e.__elements[r]);let a=tn[u];let c=tl[u];let d=tc(_,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){td(e,t,n);let l=__GetElementUniqueID(e.__element_root);if(a.has(l)&&a.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 p={insertAction:o.map(e=>({position:e,type:i[e].type,...i[e].__listItemPlatformInfo})),removeAction:l,updateAction:s};let f=e.__elements[r];__SetAttribute(f,\"update-list-info\",p);let[h,m]=ti(i,td);__UpdateListCallbacks(f,h,to(),m),ts.clear(t.__id)}}})}(m=A||(A={}))[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 tp{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,td);return __UpdateListCallbacks(t,n,to(),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 _=[];let i=[];let o=0;for(let n=0;n<this.oldChildNodes.length;n++,o++){let s=this.oldChildNodes[n];l.has(s)&&i.push({...l.get(s),from:+o,to:+o,flush:!1,type:s.type}),t.has(s)&&t.get(s).forEach(e=>{_.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];_.push({position:o+e,type:t.type,...t.__listItemPlatformInfo})}if(_.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\")&&(i.length=0,this.list.childNodes.forEach((e,t)=>{i.push({...e.__listItemPlatformInfo,from:t,to:t,flush:!1,type:e.type})}))}return{insertAction:_,removeAction:r,updateAction:i}}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;const th=[[A.Children,0]];const tm={values:new Map([[\"root\",{create:()=>[e],update:[],slot:th,isListHolder:!1,cssId:0}],[\"wrapper\",{create:()=>[__CreateWrapperElement(tf)],update:[],slot:th,isListHolder:!1}],[null,{create:()=>[__CreateRawText(\"\")],update:[e=>{e.__elements&&__SetAttribute(e.__elements[0],\"text\",e.__values[0])}],slot:[],isListHolder:!1}]])};const tv={nextId:0,values:new Map,clear(){this.values.clear()}};function tb(e,t,n,l,r,_,i){var o;o=e,e=_?`${_}:${o}`:o;let s={create:t,update:n,slot:l,cssId:r,entryName:_,refAndSpreadIndexes:i};return tm.values.set(e,s),l&&l[0]&&l[0][0]===A.ListChildren&&(s.isListHolder=!0),e}function tg(e,t){let n=e.childNodes;for(let l of(t(e),n))tg(l,t)}const ty=\"__Card__\";class tw{ensureElements(){let{create:e,slot:t,isListHolder:n,cssId:l,entryName:r}=this.__snapshot_def;let _=e(this);if(this.__elements=_,this.__element_root=_[0],void 0===l?r!==ty&&void 0!==r&&__SetCSSId(this.__elements,0,r):r!==ty&&void 0!==r?__SetCSSId(this.__elements,l,r):__SetCSSId(this.__elements,l),ts.runWithoutUpdates(()=>{let e=this.__values;e&&(this.__values=void 0,this.setAttribute(\"values\",e))}),n)ts.flushWithId(this.__id);else{let e=0;let n=this.__firstChild;for(;n;){n.ensureElements();let[l,r]=t[e];switch(l){case A.Slot:__ReplaceElement(n.__element_root,_[r]),_[r]=n.__element_root,e++;break;case A.MultiChildren:\"wrapper\"===__GetTag(_[r])?__ReplaceElement(n.__element_root,_[r]):__AppendElement(_[r],n.__element_root),e++;break;case A.Children:case A.ListChildren:__AppendElement(_[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(tw.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,_;ts.values&&(null!=(_=(l=ts.values)[r=this.__id])?_:l[r]=new tp(this)).onInsertBefore(e,t),this.__insertBefore(e,t);return}let i=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];i&&__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===A.Slot?(__ReplaceElement(e.__element_root,o[r]),o[r]=e.__element_root):l===A.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;ts.values&&(null!=(r=(n=ts.values)[l=this.__id])?r:n[l]=new tp(this)).onRemoveChild(e),this.__removeChild(e),tg(e,e=>{tv.values.delete(e.__id)}),e.__id=0;return}if(tu(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 tn[n],delete tl[n]}(e),this.__removeChild(e),tg(e,e=>{e.__parent=null,e.__previousSibling=null,e.__nextSibling=null,delete e.__elements,delete e.__element_root,tv.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){eK(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=tm.values.get(e),!this.__snapshot_def&&\"div\"!==e)throw Error(\"Snapshot not found: \"+e);null!=t||(t=tv.nextId-=1),this.__id=t,tv.values.set(t,this)}}function tS(e){if(!lynx.getJSContext)throw Error(\"snapshotPatchApply failed: ctx not found\");lynx.getJSContext().dispatchEvent({type:\"Lynx.Error.CtxNotFound\",data:{id:e}})}function tk(e,n){var l,r;t&&(n||t.needTimestamps)&&(null==(r=lynx.performance)||null==(l=r._markTiming)||l.call(r,t.pipelineID,e))}let tx=0;function tI(){_=!0;let e=JSON.stringify(r);__OnLifecycleEvent([E.firstScreen,{root:e,jsReadyEventIdSwap:i}]),i={}}r=new tw(\"root\"),(v=T||(T={}))[v.Begin=0]=\"Begin\",v[v.End=1]=\"End\",v[v.Attr=2]=\"Attr\",v[v.Text=3]=\"Text\";const tE=[];const tC=Array.isArray;const tA=Object.assign;function tT(){this.__d=!0}const tB={};function tW(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=tB),null==n.__s&&(n.__s=n.state),l.getDerivedStateFromProps&&(n.state=tA({},n.state,l.getDerivedStateFromProps(n.props,n.state))),a&&a(e),n.render(n.props,n.state,t)}function tP(e,t,n){return this.constructor(e,n)}const tN=function(e,t){let n=$.__s;$.__s=!0,o=$.__b,s=$._diff2,u=$.diffed,a=$.__r,c=$.unmount;let l=V(j,null);l.__k=[e];let r=[];try{(function e(t,n,l,r,_,i,d){let p;if(null==t||!0===t||!1===t||\"\"===t)return;if(\"object\"!=typeof t){if(\"function\"==typeof t)return;i.push(3,t+\"\");return}if(tC(t)){_.__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,i.length)}return}t.__=_,o&&o(t),s&&s(t,tB);let f=t.type,h=t.props,m=n,v,b,g;if(\"function\"==typeof f){if(f===j)b=h.children;else{if(null!=(v=f.contextType)){let e=n[v.__c];m=e?e.props.value:v.__}if(f.prototype&&\"function\"==typeof f.prototype.render)b=tW(t,m),g=t.__c;else{g={__v:t,props:h,context:m,setState:tT,forceUpdate:tT,__d:!0,__h:[]},t.__c=g,g.constructor=f,g.render=tP;let e=0;for(;g.__d&&e++<25;)g.__d=!1,a&&a(t),b=g.render(h,g.state,m);g.__d=!0}null!=g.getChildContext&&(n=tA({},n,g.getChildContext()))}b=null!=b&&b.type===j&&null==b.key?b.props.children:b;try{e(b,n,l,r,t,i,i.length)}catch(_){if(_&&\"object\"==typeof _&&_.then&&g&&g.__c)g.setState({__a:!0}),g.__d&&(b=tW(t,n),g=t.__c,i.length=d,e(b,n,l,r,t,i,i.length));else throw _}finally{u&&u(t),t.__=void 0,c&&c(t)}return}for(let e in i.push(0,t),h){let t=h[e];switch(e){case\"children\":p=t;continue;case\"key\":case\"ref\":case\"__self\":case\"__source\":continue}null!=t&&!1!==t&&\"function\"!=typeof t&&i.push(2,e,t)}\"string\"==typeof p||\"number\"==typeof p?i.push(3,p):null!=p&&!1!==p&&!0!==p&&e(p,n,!1,r,t,i,i.length),u&&u(t),t.__=void 0,c&&c(t),i.push(1)})(e,t||tB,!1,void 0,l,r,0)}finally{$.__c&&$.__c(e,tE),$.__s=n,tE.length=0}return r};function tO(){let e;try{e=tN(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 T.Begin:{let r=n;(n=e[t+1]).__parent&&(n=new tw(n.type),e[t+1]=n),r.insertBefore(n),l.push(n),t+=2;break}case T.End:n.__k=void 0,l.pop(),n=l[l.length-1],t+=1;break;case T.Attr:{let l=e[t+1];let r=e[t+2];n.setAttribute(l,r),t+=3;break}case T.Text:{let l=e[t+1];let r=new tw(null);r.setAttribute(0,l),n.insertBefore(r),t+=2}}})(e,r)}function tL(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;_=!1,i={},lynx.__initData=null!=t?t:{},e=n=__CreatePage(\"0\",0),tf=__GetElementUniqueID(n),r.ensureElements(),tO(),ts.flush(),e6(),tI()},updatePage:function(n,l){var o,s,u;if(null==l?void 0:l.reloadTemplate){let t;return void(o=n,s=l,++tx,\"object\"!=typeof o||eZ(o)||Object.assign(lynx.__initData,o),tv.clear(),ts.clearAttachedLists(),i={},t=r,(r=new tw(\"root\")).__jsx=t.__jsx,tO(),td(t,r,{skipUnRef:!0}),ts.flush(),e6(),_&&__OnLifecycleEvent([E.firstScreen,{root:JSON.stringify(r)}]),__FlushElementTree(e,s))}if((null==l?void 0:l.resetPageData)&&(lynx.__initData={}),\"object\"==typeof n&&!eZ(n)){null!=(u=lynx).__initData||(u.__initData={}),Object.assign(lynx.__initData,n)}let a=null!=l?l:{};if(!_){let e=r;(r=new tw(\"root\")).__jsx=e.__jsx,t=null==l?void 0:l.pipelineOptions,tk(\"updateDiffVdomStart\"),ts.clearAttachedLists(),tO(),td(e,r,{skipUnRef:!0,swap:i}),ts.flush(),e6(),a.triggerDataUpdated=!0,tk(\"updateDiffVdomEnd\")}__FlushElementTree(e,a)},updateGlobalProps:function(t,n){n?__FlushElementTree(e,n):__FlushElementTree()},getPageData:function(){return null},removeComponents:function(){}}),Object.assign(globalThis,{[E.jsReady]:tI}),Object.assign(globalThis,{[E.patchUpdate]:function({data:l,patchOptions:r}){if(r.reloadVersion<tx)return;let _=r.flowIds;_&&lynx.performance.profileStart(\"ReactLynx::patch\",{flowId:_[0],flowIds:_}),t=r.pipelineOptions,tk(\"mtsRenderStart\"),tk(\"parseChangesStart\");let{patchList:i,flushOptions:o={},delayedRunOnMainThreadData:s}=JSON.parse(l);tk(\"parseChangesEnd\"),tk(\"patchChangesStart\"),r.isHydration&&e4(!0);try{for(let{snapshotPatch:e}of i)ts.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 tw(t,e[++n]);break}case 1:{let t=e[++n];let l=e[++n];let r=e[++n];let _=tv.values.get(t);let i=tv.values.get(l);let o=tv.values.get(r);_&&i?_.insertBefore(i,o):tS(_?l:t);break}case 2:{let t=e[++n];let l=e[++n];let r=tv.values.get(t);let _=tv.values.get(l);r&&_?r.removeChild(_):tS(r?l:t);break}case 3:{let t=e[++n];let l=e[++n];let r=e[++n];let _=tv.values.get(t);_?_.setAttribute(l,r):tS(t);break}case 4:{let t=e[++n];let l=e[++n];let r=tv.values.get(t);r?r.setAttribute(\"values\",l):tS(t)}}}(e),ts.flush()}finally{tk(\"patchChangesEnd\"),tk(\"mtsRenderEnd\"),r.isHydration&&e4(!1)}if(e6(),s&&(null!=n?n:n=eQ(2,13))){for(let e of(e2(!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)}e2(!0)}r.pipelineOptions&&(o.pipelineOptions=r.pipelineOptions),__FlushElementTree(e,o),_&&lynx.performance.profileEnd()}}),Object.assign(globalThis,{[E.updateMTRefInitValue]:function({data:e}){var t,n;(t=JSON.parse(e))&&(null==(n=globalThis.lynxWorkletImpl)||n._refImpl.updateWorkletRefInitValueChanges(t))}}),lynx.__initData={},globalThis.SystemInfo=null!=(b=lynx.SystemInfo)?b:{},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[tL(\"\")]&&(globalThis[tL(\"\")]=void 0),lynx.registerDataProcessors=function(e){let t=!1;globalThis.processData=(n,l)=>{let r;try{var _,i,o,s,u;r=l?null!=(s=null==e||null==(i=e.dataProcessors)||null==(_=i[l])?void 0:_.call(i,n))?s:n:null!=(u=null==e||null==(o=e.defaultDataProcessor)?void 0:o.call(e,n))?u: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(),(g=B||(B={}))[g.COMPOSED=-1]=\"COMPOSED\",g[g.PAN=0]=\"PAN\",g[g.FLING=1]=\"FLING\",g[g.DEFAULT=2]=\"DEFAULT\",g[g.TAP=3]=\"TAP\",g[g.LONGPRESS=4]=\"LONGPRESS\",g[g.ROTATION=5]=\"ROTATION\",g[g.PINCH=6]=\"PINCH\",g[g.NATIVE=7]=\"NATIVE\";const tR=[];class tD{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 tM(e){let t=JSON.parse(e.data);let n=d.get(t.resolveId);d.remove(t.resolveId),n(t.returnValue)}function t$(e){if(!(null!=l?l:l=eQ(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;let _=(d||(r=lynx.getJSContext(),d=new tD,r.addEventListener(I.FunctionCallRet,tM),tR.push(()=>{r.removeEventListener(I.FunctionCallRet,tM),d=void 0})),d.add(n));e._isFirstScreen?null==(l=globalThis.lynxWorkletImpl)||l._runOnBackgroundDelayImpl.delayRunOnBackground(e,(e,n)=>{tF(e,t,n,_)}):tF(e._jsFnId,t,e._execId,_)})}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 tV(e,t,n,l,r,_,i){let o;let s=e.__values[t];o=s?\"string\"==typeof s?s:`${e.__id}:${t}:${i}`:void 0,e.__values[t]=o,e.__elements&&__AddEvent(e.__elements[l],r,_,o)}function tU(e,t,n,l,r){if(!e.__elements)return;let _=e.__values[t];\"main-thread\"===r&&function e(t,n,l,r,_){var i;if(n&&null!=(i=n.__isSerialized)&&i)if(_&&_.domSet||(__SetAttribute(t,\"has-react-gesture\",!0),__SetAttribute(t,\"flatten\",!1)),n.type===B.COMPOSED)for(let[_,i]of n.gestures.entries())e(t,i,null==l?void 0:l.gestures[_],r,{domSet:!0});else{let{config:e,relationMap:_}=function(e,t,n,l){var r,_,i,o,s,u;let a={callbacks:[]};for(let r of(e.config&&(a.config=e.config),Object.keys(e.callbacks))){let _=e.callbacks[r];e3(_,null==t?void 0:t.callbacks[r],n,l),a.callbacks.push({name:r,callback:_})}return{config:a,relationMap:{waitFor:null!=(o=null==e||null==(r=e.waitFor)?void 0:r.map(e=>e.id))?o:[],simultaneous:null!=(s=null==e||null==(_=e.simultaneousWith)?void 0:_.map(e=>e.id))?s:[],continueWith:null!=(u=null==e||null==(i=e.continueWith)?void 0:i.map(e=>e.id))?u:[]}}}(n,l,r,t);__SetGestureDetector(t,n.id,n.type,e,_)}}(e.__elements[l],_,n,e9)}const tj=new Set([\"reuse-identifier\",\"recyclable\"]);const 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 tG(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&&(e3(s,n,e9,e.__elements[l]),__AddEvent(e.__elements[l],_,i,{type:\"worklet\",value:s}))}const tJ=/^(([A-Za-z-]*):)?(bind|catch|capture-bind|capture-catch|global-bind)([A-Za-z]+)$/;const tq={bind:\"bindEvent\",catch:\"catchEvent\",\"capture-bind\":\"capture-bind\",\"capture-catch\":\"capture-catch\",\"global-bind\":\"global-bindEvent\"};const tz=new Set([\"name\",\"clip-radius\",\"overlap\",\"exposure-scene\",\"exposure-id\"]);function tY(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 u=e0(n,tH);let a=e0(o,tH);eK(u,a)||(ts.values&&(null!=(i=(r=ts.values)[_=s.__id])?i:r[_]=new tp(s)).onSetAttribute(e,a,u),e.__listItemPlatformInfo=a,function(e,t,n,l){let r=e.__listItemPlatformInfo=e.__values[t];if(ts.values){var _,i,o;let t=e.parentNode;(null==t?void 0:t.__snapshot_def.isListHolder)&&(null!=(o=(_=ts.values)[i=t.__id])?o:_[i]=new tp(t)).onSetAttribute(e,r,n)}if(e.__elements){let n=e.__elements[l];let r=e.__values[t];for(let e in r)tj.has(e)||__SetAttribute(n,e,r[e])}}({__values:{get[t](){return a}},__id:e.__id,__elements:e.__elements},t,u,l))}if(\"__spread\"in o&&(o=function(e,t,n){let l={};let r=!1;for(let _ in n){let i=n[_];\"__spread\"===_||(\"class\"===_||\"className\"===_?(null!=i||(i=\"\"),l.className=i):\"ref\"===_?l[_]=i?1:void 0:\"function\"==typeof i?l[_]=`${e.__id}:${t}:${_}`:\"__self\"===_||\"__source\"===_||(!r&&tz.has(_)&&(r=!0),l[_]=i))}return r&&(l.flatten=!1),l}(e,t,o),e.__values[t]=o),!e.__elements)return;let u={};let a=null;for(let r in o){let _=o[r];if(_!==n[r])if(\"className\"===r)__SetClasses(e.__elements[l],_);else if(\"style\"===r)__SetInlineStyles(e.__elements[l],_);else if(\"id\"===r)__SetID(e.__elements[l],_);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),tt({__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(a=tJ.exec(r)){let i=a[2];let s=tq[a[3]];let u=a[4];let c={__values:{get[t](){return _},set[t](value){o[r]=value}},__id:e.__id,__elements:e.__elements};i?tG(c,t,n[r],l,i,s,u):tV(c,t,n[r],l,s,u,r)}else tH.has(r)||__SetAttribute(e.__elements[l],r,_);r.startsWith(\"data-\")&&(u[r.slice(5)]=_)}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),tt({__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 _=r.slice(0,-8);tU({__values:{get[t](){return}},__id:e.__id,__elements:e.__elements},t,n[r],l,_)}else if(a=tJ.exec(r)){let _=a[2];let i=tq[a[3]];let s=a[4];let u={__values:{get[t](){return},set[t](value){o[r]=value}},__id:e.__id,__elements:e.__elements};_?tG(u,t,n[r],l,_,i,s):tV(u,t,n[r],l,i,s,r)}else tH.has(r)||__SetAttribute(e.__elements[l],r,null);r.startsWith(\"data-\")&&(c=!0)}(c||!eZ(u))&&__SetDataset(e.__elements[l],u)}const tX=A.Slot;A.MultiChildren;const tK=A.Children;function tZ(e,t,n){if(\"string\"==typeof e){let n=new tw(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}}}A.ListChildren,[].slice;let tQ=0;class t0{get current(){}set current(e){}toJSON(){return{_wvid:this._wvid}}constructor(e,t){this._initValue=e,this._type=t,this._wvid=--tQ}}class t1 extends t0{constructor(e){super(e,\"main-thread\")}}function t8(e){return eS(()=>new t1(e),[])}class t5 extends Error{constructor(e,t){super(\"string\"==typeof t?t:\"unknown error\"),this.errorCode=e,this.detail=t}}const t2=(e,t)=>{var n;null==e||null==(n=e.current)||n.setNativeProps(t).exec()};const t3=(e,t=!1,n=\"\")=>new Promise((l,r)=>{let _;(_={relativeTo:t?\"screen\":n,androidEnableTransformProps:!0},new Promise((t,n)=>{var l;(null==e?void 0:e.current)?null==e||null==(l=e.current)||l.invoke({method:\"boundingClientRect\",params:_,success:e=>{t(e)},fail:e=>{n(new t5(e.code,JSON.stringify(e.data)))}}).exec():n(new t5(2,\"no node found for the ref\"))})).then(e=>{l(e)}).catch(e=>{r(e)})});const t9={_wkltId:\"ec97:c55d4:1\"};function t4(e,t,n){eS(()=>{},[e,ek(t,null!=n?n:[])]),eX()}e1(void 0===W?void 0:W)&®isterWorkletInternal(\"main-thread\",\"ec97:c55d4:1\",function(e){return lynx.querySelector(`#${e}`)});const t7=es({onAwareTriggerFocused:void 0,onAwareTriggerBlurred:void 0,keyboardAwareResponder:void 0,keyboardAwareResponderScrollInfoCollected:void 0});const t6=es({onInputFocused:void 0,onInputBlurred:void 0});const ne=eO(function(e){let{forceAttach:t=!1,androidStatusBarPlusBottomBarHeight:n=0,children:l}=e;let[r,_]=eb(0);let[i,o]=eb(0);let s=ey(null);let[u,a]=eb(s);let c=ey(null);let d=ey(!0);let p=ey(0);let f=ey(null);let h=ey();let m=(e,t,l)=>{e&&t&&(null==l?void 0:l.current)&&t3(f,!0).then(r=>{let{pixelHeight:_,pixelRatio:i,platform:o}=SystemInfo;h.current={scrollviewId:e,scrollContentId:t,dummyRefAtKeyboardHeight:l,marginBetweenScrollViewBottomAndScreenBottom:_/i-r.bottom-(\"Android\"===o?n:0)}})};let v=(e,t)=>{c.current=e,a(e),p.current=null!=t?t:0};let b=e=>{setTimeout(()=>{e.current&&c.current==e&&(a(s),c.current=null)},30)};let g=e=>{u.current&&u.current==e.current&&y()};let y=()=>{if(0!==r&&(null==f?void 0:f.current)&&(null==u?void 0:u.current))if(h.current){let{scrollviewId:e,scrollContentId:t,dummyRefAtKeyboardHeight:n,marginBetweenScrollViewBottomAndScreenBottom:l}=h.current;d.current&&t2(n,{height:`${r-l}px`}),w(e,t,-l,!0),d.current=!1}else S(u);else if(h.current){let{dummyRefAtKeyboardHeight:e}=h.current;t2(e,{height:\"0px\"}),(null==u?void 0:u.current)||(d.current=!0)}else t2(f,{transform:\"translateY(0px)\",transition:\"transform 0.2s\"}),o(0)};let w=(e,t,n,l)=>{t3(u,!1,t).then(t=>{t3(f,!0).then(_=>{let i;(i={index:0,offset:r+t.bottom-_.height-p.current+n,smooth:l},new Promise((t,n)=>{lynx.createSelectorQuery().select(`#${e}`).invoke({method:\"scrollTo\",params:i,success:e=>{t(e)},fail:e=>{n(new t5(e.code,JSON.stringify(e.data)))}}).exec()})).catch(()=>{})})})};let S=(e,l=\"transform 0.28s\")=>{t3(e,!0).then(e=>{let{pixelHeight:_,pixelRatio:s,platform:u}=SystemInfo;let a=_/s-e.bottom-(\"Android\"===u?n:0)-r+i+p.current;!t&&a>=0&&(a=0),t2(f,{transform:`translateY(${a}px)`,transition:l}),o(a)})};t4(\"keyboardstatuschanged\",(e,t,n)=>{null==_||_(\"on\"===e?t:0)},[]),eX();let k=eS(()=>({onAwareTriggerFocused:v,onAwareTriggerBlurred:b,onAwareTriggerLayoutChanged:g,keyboardAwareResponder:f,keyboardAwareResponderScrollInfoCollected:m}),[v,b,g,u,m]);return tZ(t7.Provider,{value:k,children:l})});function nt(e){let t=ey(e);t.current=eS(()=>e,[e]);let n=ey();return null!=n.current||(n.current=function(...e){return t.current.apply(this,e)}),n.current}function nn(){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 _=t.length;for(n=0;n<_;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}const nl=es({active:!1,disabled:!1});const nr=tb(\"__snapshot_11572_54683_1\",function(){return[__CreateView(tf)]},[(e,t,n)=>tY(e,t,n,0)],th,void 0,W,[0]);const n_=e=>{let{children:t,onClick:n,disabled:l=!1,style:r,className:_,buttonProps:i}=e;let[o,s]=eb(!1);let u=o&&!l;let a=\"function\"==typeof t?t({active:u,disabled:l}):t;let c=nt(()=>{l||s(!0)});let d=nt(()=>{if(s(!1),l)return});let p=nt(()=>{l||null==n||n()});let f=eS(()=>({active:u,disabled:l}),[u,l]);return tZ(nl.Provider,{value:f,children:tZ(nr,{values:[{bindtap:p,bindtouchstart:c,bindtouchend:d,bindtouchcancel:d,\"event-through\":!1,style:r,className:nn(_,{\"ui-active\":u,\"ui-disabled\":l}),...i,__spread:!0}],children:a})})};const ni=es({checked:!1,indeterminate:!1});const no=e=>{var t;let{style:n,className:l,children:r,onChange:_,checked:i,defaultChecked:o=!1,disabled:s=!1,indeterminate:u=!1,checkboxProps:a}=e;let c=void 0!==i;let[d,p]=eb(o);let f=c?i:d;let h=nt(e=>{c||p(e),null==_||_(e)});let m=nt(()=>{u?h(!0):h(!f)});let v=eS(()=>({checked:f,indeterminate:u}),[f,u]);return tZ(ni.Provider,{value:v,children:tZ(n_,{disabled:s,onClick:m,style:n,className:nn(l,{\"ui-indeterminate\":u,\"ui-checked\":i}),buttonProps:a,children:(t={checked:f,indeterminate:u},\"function\"==typeof r?e=>r({...t,...e}):r)})})};const ns=()=>{};const nu=eO(eD(function(e,t){let{id:n,readonly:l=!1,placeholder:r,type:_=\"text\",inputFilter:i,style:o,className:s,maxLength:u=140,defaultValue:a,value:c,confirmType:d=\"send\",showSoftInputOnFocus:p=!0,onFocus:f,onInput:h,onConfirm:m,onBlur:v,onSelectionChange:b}=e;let g=ey(void 0!==c);ey(null);let{onInputBlurred:y,onInputFocused:w}=ex(t6);return eX(),eX(),ew(),tZ(na,{values:[1,n,l,r,d,_,i,u,p,{_c:{controlled:g},_wkltId:\"8e1b:b8ce3:1\",_jsFn:{_jsFn1:{_isFirstScreen:!0}}},1,1,1,1,s,o]})}));const na=tb(\"__snapshot_8e1b3_b8ce3_1\",function(){let e=__CreateElement(\"input\",tf);return __SetAttribute(e,\"ignore-focus\",!0),[e]},[(e,t,n)=>ta(e,t,n,0),function(e){e.__elements&&__SetID(e.__elements[0],e.__values[1])},function(e){e.__elements&&__SetAttribute(e.__elements[0],\"readonly\",e.__values[2])},function(e){e.__elements&&__SetAttribute(e.__elements[0],\"placeholder\",e.__values[3])},function(e){e.__elements&&__SetAttribute(e.__elements[0],\"confirm-type\",e.__values[4])},function(e){e.__elements&&__SetAttribute(e.__elements[0],\"type\",e.__values[5])},function(e){e.__elements&&__SetAttribute(e.__elements[0],\"input-filter\",e.__values[6])},function(e){e.__elements&&__SetAttribute(e.__elements[0],\"maxlength\",e.__values[7])},function(e){e.__elements&&__SetAttribute(e.__elements[0],\"show-soft-input-on-focus\",e.__values[8])},(e,t,n)=>tG(e,t,n,0,\"main-thread\",\"bindEvent\",\"input\"),(e,t,n)=>tV(e,t,n,0,\"bindEvent\",\"focus\",\"\"),(e,t,n)=>tV(e,t,n,0,\"bindEvent\",\"blur\",\"\"),(e,t,n)=>tV(e,t,n,0,\"bindEvent\",\"confirm\",\"\"),(e,t,n)=>tV(e,t,n,0,\"bindEvent\",\"selection\",\"\"),function(e){e.__elements&&__SetClasses(e.__elements[0],e.__values[14]||\"\")},function(e){e.__elements&&__SetInlineStyles(e.__elements[0],e.__values[15])}],null,void 0,W,[0]);e1(void 0===W?void 0:W)&®isterWorkletInternal(\"main-thread\",\"8e1b:b8ce3:1\",function(e){let{_jsFn1:t}=this._jsFn;let{controlled:n}=this._c;n.current&&e.currentTarget.setAttribute(\"readonly\",!0),t$(t)(e.detail.value,e.detail.selectionStart,e.detail.selectionEnd,e.detail.isComposing,n.current)});const nc=eO(eD(function(e,t){let{id:n,readonly:l=!1,placeholder:r,lineSpacing:_,bounces:i=!0,maxLines:o=40,type:s=\"text\",inputFilter:u,style:a,className:c,maxLength:d=140,defaultValue:p,value:f,confirmType:h=\"send\",showSoftInputOnFocus:m=!0,onFocus:v,onInput:b,onConfirm:g,onBlur:y,onSelectionChange:w}=e;let S=ey(void 0!==f);ey(null);let{onInputBlurred:k,onInputFocused:x}=ex(t6);return eX(),eX(),ew(),tZ(nd,{values:[1,n,l,_,i,o,r,h,s,u,d,m,{_c:{controlled:S},_wkltId:\"7a79:a9994:1\",_jsFn:{_jsFn1:{_isFirstScreen:!0}}},1,1,1,1,c,a]})}));const nd=tb(\"__snapshot_7a793_a9994_1\",function(){let e=__CreateElement(\"textarea\",tf);return __SetAttribute(e,\"ignore-focus\",!0),[e]},[(e,t,n)=>ta(e,t,n,0),function(e){e.__elements&&__SetID(e.__elements[0],e.__values[1])},function(e){e.__elements&&__SetAttribute(e.__elements[0],\"readonly\",e.__values[2])},function(e){e.__elements&&__SetAttribute(e.__elements[0],\"line-spacing\",e.__values[3])},function(e){e.__elements&&__SetAttribute(e.__elements[0],\"bounces\",e.__values[4])},function(e){e.__elements&&__SetAttribute(e.__elements[0],\"maxlines\",e.__values[5])},function(e){e.__elements&&__SetAttribute(e.__elements[0],\"placeholder\",e.__values[6])},function(e){e.__elements&&__SetAttribute(e.__elements[0],\"confirm-type\",e.__values[7])},function(e){e.__elements&&__SetAttribute(e.__elements[0],\"type\",e.__values[8])},function(e){e.__elements&&__SetAttribute(e.__elements[0],\"input-filter\",e.__values[9])},function(e){e.__elements&&__SetAttribute(e.__elements[0],\"maxlength\",e.__values[10])},function(e){e.__elements&&__SetAttribute(e.__elements[0],\"show-soft-input-on-focus\",e.__values[11])},(e,t,n)=>tG(e,t,n,0,\"main-thread\",\"bindEvent\",\"input\"),(e,t,n)=>tV(e,t,n,0,\"bindEvent\",\"focus\",\"\"),(e,t,n)=>tV(e,t,n,0,\"bindEvent\",\"blur\",\"\"),(e,t,n)=>tV(e,t,n,0,\"bindEvent\",\"confirm\",\"\"),(e,t,n)=>tV(e,t,n,0,\"bindEvent\",\"selection\",\"\"),function(e){e.__elements&&__SetClasses(e.__elements[0],e.__values[17]||\"\")},function(e){e.__elements&&__SetInlineStyles(e.__elements[0],e.__values[18])}],null,void 0,W,[0]);e1(void 0===W?void 0:W)&®isterWorkletInternal(\"main-thread\",\"7a79:a9994:1\",function(e){let{_jsFn1:t}=this._jsFn;let{controlled:n}=this._c;n.current&&e.currentTarget.setAttribute(\"readonly\",!0),t$(t)(e.detail.value,e.detail.selectionStart,e.detail.selectionEnd,e.detail.isComposing,n.current)});const np=es({selectedValue:null,disabled:!1,handleValueChange:ns});const nf=e=>{let{children:t,onValueChange:n,defaultValue:l,value:r,disabled:_=!1}=e;let i=void 0!==r;let[o,s]=eb(null!=l?l:null);let u=i?r:o;let a=ey(null);let c=nt(e=>{a.current!==e&&(null==n||n(e),a.current=e)});let d=ek(e=>{i||s(e),c(e)},[i,c]);eX();let p=eS(()=>({selectedValue:u,handleValueChange:d,disabled:_}),[u,d,_]);let f=eS(()=>\"function\"==typeof t?t({value:u,disabled:_}):t,[t,u]);return tZ(np.Provider,{value:p,children:f})};function nh(e){let t=ey(e);return eX(),eS(()=>(...e)=>{var n;null==(n=t.current)||n.call(t,...e)},[])}es({value:\"\",disabled:!1}),tb(\"__snapshot_b3824_f71e7_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])}],th,void 0,W,null);const nm=es({checked:!1,disabled:!1,active:!1});const nv=tb(\"__snapshot_0277e_f0e1a_1\",function(){return[__CreateView(tf)]},[(e,t,n)=>tY(e,t,n,0)],th,void 0,W,[0]);function nb({style:e,className:t,children:n,onChange:l,checked:r,defaultChecked:_=!1,disabled:i=!1,switchProps:o}){let s=void 0!==r;let[u,a]=eb(_);let c=s?r:u;let{pressed:d,bindtap:p,bindtouchcancel:f,bindtouchend:h,bindtouchstart:m}=function({disabled:e=!1,onTap:t}={}){let[n,l]=eb(!1);let r=nh(()=>{e||l(!0)});let _=nh(()=>{l(!1)});return{pressed:n,bindtap:nh(()=>{e||null==t||t()}),bindtouchstart:r,bindtouchend:_,bindtouchcancel:_}}({disabled:i,onTap:()=>{let e=!c;s||a(e),null==l||l(e)}});let v=eS(()=>d&&!i,[d,i]);let b=eS(()=>({active:v,checked:c,disabled:i}),[v,c,i]);return tZ(nm.Provider,{value:b,children:tZ(nv,{values:[{bindtap:p,bindtouchstart:m,bindtouchend:h,bindtouchcancel:f,\"event-through\":!1,style:e,className:nn(t,{\"ui-active\":v,\"ui-checked\":c,\"ui-disabled\":i}),...o,__spread:!0}],children:\"function\"==typeof n?n(b):n})})}tb(\"__snapshot_0277e_f0e1a_2\",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]||\"\")}],th,void 0,W,null),tb(\"__snapshot_0277e_f0e1a_3\",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]||\"\")}],th,void 0,W,null);const ng=es(void 0);const ny=(e,t)=>{switch(t.type){case\"CHANGED\":{let{name:n,value:l}=t.payload;if(e[n]===l)return e;return{...e,[n]:l}}case\"UNREGISTER\":{let{name:n}=t.payload;if(!(n in e))return e;let{[n]:l,...r}=e;return r}default:return e}};const nw=()=>{let e=ex(ng);if(!e)throw Error(\"useForm must be used within a FormRoot\");return e};const nS=({children:e,initialValues:t,onSubmit:n,onChanged:l})=>{let[r,_]=eg(ny,null!=t?t:{});ey(!1),nt(null!=l?l:ns),eX();let i=nt((e,t)=>{_({type:\"CHANGED\",payload:{name:e,value:t}})});let o=nt(e=>{_({type:\"UNREGISTER\",payload:{name:e}})});let s=nt(()=>{null==n||n(r)});let u=eS(()=>({formData:r,onChanged:i,unregisterField:o,submit:s}),[r,i,o,s]);return tZ(ng.Provider,{value:u,children:e})};const nk=({as:e,name:t,children:n,onChanged:l,...r})=>{let{formData:_,onChanged:i,unregisterField:o}=nw();eX();let s=_[t];let u=e=>{i(t,e),null==l||l(e)};let a={...r,children:n};if(\"RadioGroupRoot\"===e)return tZ(nf,{onValueChange:u,defaultValue:s,...a});if(\"Input\"===e)return tZ(nu,{defaultValue:s,onInput:u,...a});if(\"TextArea\"===e)return tZ(nc,{defaultValue:s,onInput:u,...a});if(\"Checkbox\"===e)return tZ(no,{defaultChecked:s,onChange:u,...a});if(\"Switch\"===e)return tZ(nb,{defaultChecked:s,onChange:u,...a});throw Error(`FormField component does not support as=\"${String(e)}\"`)};const nx=({onSubmit:e,...t})=>{let{submit:n,formData:l}=nw();return tZ(n_,{onClick:()=>{n(),null==e||e(l)},...t})};const nI={onScroll:\"bindscroll\",onScrollStateChange:\"bindscrollstatechange\",onScrollToLower:\"bindscrolltolower\",onScrollToUpper:\"bindscrolltoupper\",onScrollEnd:\"bindscrollend\",onScrollToUpperEdge:\"bindscrolltoupperedge\",onScrollToLowerEdge:\"bindscrolltoloweredge\",onScrollToNormalState:\"bindscrolltonormalstate\"};const nE={onUIAppear:\"binduiappear\",onUIDisappear:\"binduidisappear\"};const nC={onLayoutChange:\"bindlayoutchange\"};const 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\"};e1(void 0===W?void 0:W)&®isterWorkletInternal(\"main-thread\",\"eb73:31a1b:1\",function(e){let{events:t,event:n}=this._c;t[n]&&t[n](e)});const nT=eO(eD(function(e,t){let{pid:n,scene:l,estimatedStyle:r,top:_=\"10px\",bottom:i=\"10px\",left:o=\"10px\",right:s=\"10px\",unmountOnExit:u,unloadable:a=!1,children:c}=e;let d=null!=u?u:a;let[p,f]=eb(!1);let h=ey(void 0);if(t4(\"exposure\",()=>{},[p]),t4(\"disexposure\",()=>{},[d]),!d)return p?c:tZ(nB,{values:[_,i,o,s,n,l,r]});{var m,v,b,g;let{width:e,height:t,...u}=r;return tZ(nW,{values:[_,i,o,s,n,l,1,p?{}:{width:null!=(b=null==(m=h.current)?void 0:m.width)?b:e,height:null!=(g=null==(v=h.current)?void 0:v.height)?g:t,...u}],children:p&&c})}}));const nB=tb(\"__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,W,null);const nW=tb(\"__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)=>tV(e,t,n,0,\"bindEvent\",\"layoutchange\",\"\"),function(e){e.__elements&&__SetInlineStyles(e.__elements[0],e.__values[7])}],th,void 0,W,null);const nP=tb(\"__snapshot_4ab23_9c9de_1\",function(){return[__CreateScrollView(tf)]},[(e,t,n)=>tY(e,t,n,0)],th,void 0,W,[0]);const nN=function(e){let{children:t,sticky:n,elementProps:l}=e;return tZ(nP,{values:[{...l,\"android-touch-slop\":\"page\",name:\"lepus\",flatten:!1,__spread:!0}],children:[n,t]})};const nO={_wkltId:\"333e:982fb:1\"};e1(void 0===W?void 0:W)&®isterWorkletInternal(\"main-thread\",\"333e:982fb:1\",function(e,...t){e&&console.info(...t)}),e1(void 0===W?void 0:W)&®isterWorkletInternal(\"main-thread\",\"a85b:ce1da:1\",function(){lynxWorkletImpl._workletMap[\"a85b:ce1da:1\"].bind(this);let{scrollOrientation:e}=this._c;return\"vertical\"===e}),e1(void 0===W?void 0:W)&®isterWorkletInternal(\"main-thread\",\"a85b:ce1da:2\",function(){return lynxWorkletImpl._workletMap[\"a85b:ce1da:2\"].bind(this),1/Number(SystemInfo.pixelRatio)}),e1(void 0===W?void 0:W)&®isterWorkletInternal(\"main-thread\",\"a85b:ce1da:3\",function(e){lynxWorkletImpl._workletMap[\"a85b:ce1da:3\"].bind(this);let{enableRTL:t}=this._c;return t.current?-e:e}),e1(void 0===W?void 0:W)&®isterWorkletInternal(\"main-thread\",\"a85b:ce1da:4\",function(){return lynxWorkletImpl._workletMap[\"a85b:ce1da:4\"].bind(this),\"Android\"===SystemInfo.platform}),e1(void 0===W?void 0:W)&®isterWorkletInternal(\"main-thread\",\"a85b:ce1da:5\",function(e){return lynxWorkletImpl._workletMap[\"a85b:ce1da:5\"].bind(this),!e||0===Object.keys(e).length}),e1(void 0===W?void 0:W)&®isterWorkletInternal(\"main-thread\",\"a85b:ce1da:6\",function(e){var t;lynxWorkletImpl._workletMap[\"a85b:ce1da:6\"].bind(this);let{isAndroid:n,selectorMT:l,containerID:r}=this._c;n()&&(null==(t=l(r))||t.setAttribute(\"enable-scroll\",e))}),e1(void 0===W?void 0:W)&®isterWorkletInternal(\"main-thread\",\"a85b:ce1da:7\",function(){lynxWorkletImpl._workletMap[\"a85b:ce1da:7\"].bind(this);let{mtsLog:e,debugLogEnabled:t,startTouch:n,bouncingTouchStartPosition:l,prevTouch:r,startBouncingTouch:_,startTouchBouncingDelta:i}=this._c;e(t,\"[lynx-ui-scroll-view][useBounce] clear touch info\"),n.current=null,l.current=0,r.current=null,_.current=null,i.current=0}),e1(void 0===W?void 0:W)&®isterWorkletInternal(\"main-thread\",\"a85b:ce1da:8\",function(e){lynxWorkletImpl._workletMap[\"a85b:ce1da:8\"].bind(this);let{temporaryValidVersionCheckForRAF:t}=this._c;t.current?requestAnimationFrame(e):setTimeout(e,8)}),e1(void 0===W?void 0:W)&®isterWorkletInternal(\"main-thread\",\"a85b:ce1da:9\",function(e){lynxWorkletImpl._workletMap[\"a85b:ce1da:9\"].bind(this);let{startTouch:t,startBouncingTouch:n,scrollOrientation:l,normalizedHorizontalValue:r}=this._c;if(null!==t.current)if(null===n.current)return\"vertical\"===l?e.touches[0].pageY-t.current[0].pageY:r(e.touches[0].pageX-t.current[0].pageX);else return\"vertical\"===l?e.touches[0].pageY-n.current[0].pageY:r(e.touches[0].pageX-n.current[0].pageX);return 0}),e1(void 0===W?void 0:W)&®isterWorkletInternal(\"main-thread\",\"a85b:ce1da:10\",function(){var e,t;lynxWorkletImpl._workletMap[\"a85b:ce1da:10\"].bind(this);let{bouncingPositionInfo:n,toUpper:l,toLower:r,alwaysBouncing:_,bouncingStatus:i,mtsLog:o,debugLogEnabled:s}=this._c;let u=null!=(t=null==(e=n.current)?void 0:e.bouncingOffset)?t:0;return l.current&&r.current?_?i.alwaysBouncing:i.noBouncing:(o(s,`[lynx-ui-scroll-view][useBounce] get bouncing status, initialLayoutPosition: 0, currentPosition: ${u}`),u>0)?i.upperBouncing:u<0?i.lowerBouncing:i.inScrollingRange}),e1(void 0===W?void 0:W)&®isterWorkletInternal(\"main-thread\",\"a85b:ce1da:11\",function(e){lynxWorkletImpl._workletMap[\"a85b:ce1da:11\"].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)}),e1(void 0===W?void 0:W)&®isterWorkletInternal(\"main-thread\",\"a85b:ce1da:12\",function(e){var t,n,l,r,_,i;lynxWorkletImpl._workletMap[\"a85b:ce1da:12\"].bind(this);let{mtsLog:o,isEmpty:s,bouncingPositionInfo:u,prevTouch:a,startTouch:c,bouncingTouchStartPosition:d,isVertical:p,debugLogEnabled:f,selectorMT:h,containerID:m,enableRTL:v}=this._c;if(isNaN(Number(e)))return void o(!0,\"[lynx-ui-scroll-view][useBounce] ERROR! bouncingOffset is NaN\");if(s(u.current))u.current.velocity=0;else{let t=Date.now()-u.current.timeStamp;let n=e-u.current.bouncingOffset||0;t>0&&(u.current.velocity=n/t)}if(u.current.bouncingOffset=e,u.current.timeStamp=Date.now(),0===e&&null!==a.current&&(c.current=a.current,d.current={}),p())o(f,`[lynx-ui-scroll-view][useBounce] apply transform, orientation: vertical, rawOffset: ${e}, containerTransform: translateY(${e}px)`),null==(t=h(m))||t.setStyleProperty(\"transform\",`translateY(${e}px)`),null==(n=h(`${m}-upperBounceWrapper`))||n.setStyleProperty(\"transform\",`translateY(${e}px)`),null==(l=h(`${m}-lowerBounceWrapper`))||l.setStyleProperty(\"transform\",`translateY(${e}px)`);else{let t=v.current?-e:e;o(f,`[lynx-ui-scroll-view][useBounce] apply transform, orientation: horizontal, rawOffset: ${e}, enableRTL: ${String(v.current)}, visualOffset: ${t}, containerTransform: translateX(${t}px)`),null==(r=h(m))||r.setStyleProperty(\"transform\",`translateX(${t}px)`),null==(_=h(`${m}-upperBounceWrapper`))||_.setStyleProperty(\"transform\",`translateX(${t}px)`),null==(i=h(`${m}-lowerBounceWrapper`))||i.setStyleProperty(\"transform\",`translateX(${t}px)`)}}),e1(void 0===W?void 0:W)&®isterWorkletInternal(\"main-thread\",\"a85b:ce1da:13\",function(e){lynxWorkletImpl._workletMap[\"a85b:ce1da:13\"].bind(this);let{_jsFn1:t}=this._jsFn;let{mtsLog:n,debugLogEnabled:l}=this._c;n(l,`[lynx-ui-scroll-view][useBounce] trigger scrollToBounces, direction: ${e?\"upper\":\"lower\"}`),t$(t)({direction:e?\"upper\":\"lower\"})}),e1(void 0===W?void 0:W)&®isterWorkletInternal(\"main-thread\",\"a85b:ce1da:14\",function(e,t){lynxWorkletImpl._workletMap[\"a85b:ce1da:14\"].bind(this);let{isVertical:n,height:l,width:r,isEmpty:_,startTouchBouncingDelta:i,bouncingTouchStartPosition:o,rubberC:s,mtsLog:u,debugLogEnabled:a,bouncingSetStyle:c}=this._c;let d=n()?l.current:r.current;let p=Math.abs(Number(_(i.current)?o.current:i.current));let f=d*p/((d-p)*s.current)||0;let h=o.current?f+e*t:e*t;let m=Math.max(0,(1-1/(h*s.current/d+1))*d);u(a,`[lynx-ui-scroll-view][useBounce] rubber effect, scrollViewFrameSize: ${d}, touchStartPosition: ${p}, deltaYForTouchStartPosition: ${f}, deltaYForNextPosition: ${h}, rubberBandingDistance: ${m}`),c(e*m)}),e1(void 0===W?void 0:W)&®isterWorkletInternal(\"main-thread\",\"a85b:ce1da:15\",function(e){lynxWorkletImpl._workletMap[\"a85b:ce1da:15\"].bind(this);let{getCurrentDelta:t,mtsLog:n,debugLogEnabled:l,toUpper:r,toLower:_,singleSidedBounce:i,enableScroll:o,rubberEffect:s}=this._c;let u=t(e);n(l,`[lynx-ui-scroll-view][useBounce] check crossing edge, delta: ${u}, toUpper: ${String(r.current)}, toLower: ${String(_.current)}`),!0===r.current&&u>0&&(\"both\"===i.current||\"upper\"===i.current)&&(o(!1),s(u>0?1:-1,u)),!0===_.current&&u<0&&(\"both\"===i.current||\"lower\"===i.current)&&(o(!1),s(u>0?1:-1,u)),o(!0)}),e1(void 0===W?void 0:W)&®isterWorkletInternal(\"main-thread\",\"a85b:ce1da:16\",function(){var e,t;lynxWorkletImpl._workletMap[\"a85b:ce1da:16\"].bind(this);let{bouncingPositionInfo:n,startBounceTriggerDistance:l,endBounceTriggerDistance:r,threshold:_}=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)>_()}),e1(void 0===W?void 0:W)&®isterWorkletInternal(\"main-thread\",\"a85b:ce1da:17\",function(){var e;lynxWorkletImpl._workletMap[\"a85b:ce1da:17\"].bind(this);let{mtsLog:t,debugLogEnabled:n,bouncingPositionInfo:l,touchingEndBouncingBackEnableFlag:r,beta:_,bouncingSetStyle:i,threshold:o,customRequestAnimationFrame:s}=this._c;t(n,\"[lynx-ui-scroll-view][useBounce] fling forward end\"),t(n,\"[lynx-ui-scroll-view][useBounce] bounce back starts\");let u=null!=(e=l.current.bouncingOffset)?e:0;let a=Date.now();let c=()=>{if(!1===!!r.current)return;let e=Date.now()-a;t(n,\"[lynx-ui-scroll-view][useBounce] touching end bouncing back frame\");let l=_.current*u;let d=(u+e/1e3*l)*Math.pow(Math.E,-_.current*(e/1e3));i(d),Math.abs(d)<o()?(i(0),t(n,\"[lynx-ui-scroll-view][useBounce] bounce back ends\")):s(c)};s(c),r.current=!0}),e1(void 0===W?void 0:W)&®isterWorkletInternal(\"main-thread\",\"a85b:ce1da:18\",function(e){var t,n;lynxWorkletImpl._workletMap[\"a85b:ce1da:18\"].bind(this);let{startTouch:l,mtsLog:r,debugLogEnabled:_,bouncingTouchStartPosition:i,bouncingPositionInfo:o,touchEndFrameEnableFlag:s,touchingEndBouncingBackEnableFlag:u,flingEndWithBouncingEnableFlag:a}=this._c;l.current=e.touches,r(_,\"[lynx-ui-scroll-view][useBounce] touch start\"),i.current=null!=(n=null==(t=o.current)?void 0:t.bouncingOffset)?n:0,s.current=!1,u.current=!1,a.current=!1}),e1(void 0===W?void 0:W)&®isterWorkletInternal(\"main-thread\",\"a85b:ce1da:19\",function(e){lynxWorkletImpl._workletMap[\"a85b:ce1da:19\"].bind(this);let{prevTouch:t,startTouch:n,mtsLog:l,getCurrentDelta:r,getBouncingStatus:_,bouncingStatus:i,enableScroll:o,rubberEffect:s,debugLogEnabled:u,alwaysBouncing:a,triggerRubberEffectIfCrossingEdge:c}=this._c;if(t.current=e.touches,null===n.current)l(!0,\"[lynx-ui-scroll-view][useBounce] ERROR! touch not started\");else{let t=r(e);switch(_()){case i.upperBouncing:o(!1),s(1,t),l(u,\"[lynx-ui-scroll-view][useBounce] touch move upper bouncing\");break;case i.lowerBouncing:o(!1),s(-1,t),l(u,\"[lynx-ui-scroll-view][useBounce] touch move lower bouncing\");break;case i.alwaysBouncing:l(u,\"[lynx-ui-scroll-view][useBounce] touch move always bouncing\"),a&&c(e);break;case i.inScrollingRange:l(u,\"[lynx-ui-scroll-view][useBounce] touch move in scrolling range\"),c(e)}}}),e1(void 0===W?void 0:W)&®isterWorkletInternal(\"main-thread\",\"a85b:ce1da:20\",function(){lynxWorkletImpl._workletMap[\"a85b:ce1da:20\"].bind(this);let{clearTouchInfo:e,enableScroll:t,mtsLog:n,debugLogEnabled:l,shouldBounceWhenTouchEnd:r,getBouncingStatus:_,bouncingPositionInfo:i,isOverTriggerDistance:o,triggerScrollToBouncesEvent:s,touchEndFrameEnableFlag:u,threshold:a,bouncingBack:c,flingDeceleratingRate:d,bouncingSetStyle:p,customRequestAnimationFrame:f}=this._c;if(e(),t(!0),n(l,\"[lynx-ui-scroll-view][useBounce] touch end\"),r(_())){var h,m,v,b;let e=Date.now();let t=null==(h=i.current)?void 0:h.velocity;let r=null!=(b=null==(m=i.current)?void 0:m.bouncingOffset)?b:0;o()&&s((null==(v=i.current)?void 0:v.bouncingOffset)>0);let _=t;let g=()=>{!1!==!!u.current&&(n(l,\"[lynx-ui-scroll-view][useBounce] touch end process frame\"),Math.abs(_)<=a()?c():(n(l,\"[lynx-ui-scroll-view][useBounce] fling down start\"),p(r+t*(Math.pow(d.current,Date.now()-e)-1)/Math.log(d.current)),_=t*Math.pow(d.current,Date.now()-e),u.current&&f(g)))};f(g),u.current=!0}}),e1(void 0===W?void 0:W)&®isterWorkletInternal(\"main-thread\",\"a85b:ce1da:21\",function(e){lynxWorkletImpl._workletMap[\"a85b:ce1da:21\"].bind(this);let{scrollX:t,scrollY:n,isEmpty:l,prevScroll:r,isVertical:_,normalizedHorizontalValue:i,scrollVelocity:o,mtsLog:s,debugLogEnabled:u}=this._c;if(t.current=e.detail.scrollLeft,n.current=e.detail.scrollTop,!l(r.current)){let t=r.current;let n=Date.now()-t.timestamp;if(n>0){let l=(_()?e.detail.scrollTop-t.detail.scrollTop:i(e.detail.scrollLeft-t.detail.scrollLeft))/n;Number.isFinite(l)&&(o.current=l)}}s(u,`[lynx-ui-scroll-view][useBounce] handle scroll near edge, scrollLeft: ${e.detail.scrollLeft}, scrollTop: ${e.detail.scrollTop}, velocity: ${o.current}`),r.current=e}),e1(void 0===W?void 0:W)&®isterWorkletInternal(\"main-thread\",\"a85b:ce1da:22\",function(e){lynxWorkletImpl._workletMap[\"a85b:ce1da:22\"].bind(this);let{mtsLog:t,debugLogEnabled:n,toUpper:l}=this._c;t(n,\"[lynx-ui-scroll-view][useBounce] upper disexposure\"),l.current=!1}),e1(void 0===W?void 0:W)&®isterWorkletInternal(\"main-thread\",\"a85b:ce1da:23\",function(e){lynxWorkletImpl._workletMap[\"a85b:ce1da:23\"].bind(this);let{mtsLog:t,debugLogEnabled:n,toUpper:l,singleSidedBounce:r,prevScroll:_,startBouncingTouch:i,prevTouch:o,startTouchBouncingDelta:s,bouncingPositionInfo:u,scrollVelocity:a,threshold:c,flingEndWithBouncingEnableFlag:d,bouncingBack:p,flingDeceleratingRate:f,bouncingSetStyle:h,isOverTriggerDistance:m,triggerScrollToBouncesEvent:v,customRequestAnimationFrame:b}=this._c;if(t(n,\"[lynx-ui-scroll-view][useBounce] upper exposure\"),l.current=!0,\"upper\"===r.current||\"both\"===r.current){if(_.current){var g,y;i.current=o.current,s.current=null!=(y=null==(g=u.current)?void 0:g.bouncingOffset)?y:0}else if(Math.abs(a.current)>c()){let e=a.current;let l=e;let r=Date.now();t(n,`[lynx-ui-scroll-view][useBounce] fling to upper event start, velocity: ${e}`);let _=!1;let i=()=>{if(!1===!!d.current)return void t(n,\"[lynx-ui-scroll-view][useBounce] flingEndWithBouncingEnableFlag early return\");if(Math.abs(l)<=c())d.current=!1,t(n,\"[lynx-ui-scroll-view][useBounce] fling to upper event end\"),t(n,\"[lynx-ui-scroll-view][useBounce] bouncing to upper event start\"),p();else{if(h(-(l*(Math.pow(f.current,Date.now()-r)-1)/Math.log(f.current))),!_&&m()){var o;v((null==(o=u.current)?void 0:o.bouncingOffset)>0),_=!0}l=e*Math.pow(f.current,Date.now()-r),d.current&&b(i)}};b(i),d.current=!0}}}),e1(void 0===W?void 0:W)&®isterWorkletInternal(\"main-thread\",\"a85b:ce1da:24\",function(e){lynxWorkletImpl._workletMap[\"a85b:ce1da:24\"].bind(this);let{mtsLog:t,debugLogEnabled:n,toLower:l}=this._c;t(n,\"[lynx-ui-scroll-view][useBounce] lower disexposure\"),l.current=!1}),e1(void 0===W?void 0:W)&®isterWorkletInternal(\"main-thread\",\"a85b:ce1da:25\",function(e){lynxWorkletImpl._workletMap[\"a85b:ce1da:25\"].bind(this);let{mtsLog:t,debugLogEnabled:n,toLower:l,singleSidedBounce:r,prevTouch:_,startBouncingTouch:i,startTouchBouncingDelta:o,bouncingPositionInfo:s,enableBounceEventInFling:u,scrollVelocity:a,threshold:c,flingEndWithBouncingEnableFlag:d,bouncingBack:p,flingDeceleratingRate:f,bouncingSetStyle:h,isOverTriggerDistance:m,triggerScrollToBouncesEvent:v,customRequestAnimationFrame:b}=this._c;if(t(n,\"[lynx-ui-scroll-view][useBounce] lower exposure\"),l.current=!0,\"lower\"===r.current||\"both\"===r.current){if(null!==_.current){var g,y;i.current=_.current,o.current=null!=(y=null==(g=s.current)?void 0:g.bouncingOffset)?y:0}else if(u&&a.current>0){let e=a.current;if(t(n,`[lynx-ui-scroll-view][useBounce] lower velocity: ${e}`),Math.abs(e)>c()){let l=e;let r=Date.now();t(n,`[lynx-ui-scroll-view][useBounce] fling to lower event start, velocity: ${e}`);let _=!1;let i=()=>{if(!1===!!d.current)return void t(n,\"[lynx-ui-scroll-view][useBounce] flingEndWithBouncingEnableFlag early return\");if(Math.abs(l)<=c())d.current=!1,t(n,\"[lynx-ui-scroll-view][useBounce] fling to lower event end\"),t(n,\"[lynx-ui-scroll-view][useBounce] bouncing to lower event start\"),p();else{if(h(-(l*(Math.pow(f.current,Date.now()-r)-1)/Math.log(f.current))),!_&&m()){var o;v((null==(o=s.current)?void 0:o.bouncingOffset)>0),_=!0}l=e*Math.pow(f.current,Date.now()-r),d&&b(i)}};b(i),d.current=!0}}}}),e1(void 0===W?void 0:W)&®isterWorkletInternal(\"main-thread\",\"a85b:ce1da:26\",function(e){var t,n,l,r,_,i;lynxWorkletImpl._workletMap[\"a85b:ce1da:26\"].bind(this);let{height:o,isAndroid:s,width:u}=this._c;o.current=null!=(_=s()?null==(t=e.params)?void 0:t.height:null==(n=e.detail)?void 0:n.height)?_:0,u.current=null!=(i=s()?null==(l=e.params)?void 0:l.width:null==(r=e.detail)?void 0:r.width)?i:0});const nL=tb(\"__snapshot_8d379_41c83_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\")],th,void 0,W,null);const nR=tb(\"__snapshot_8d379_41c83_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\")],th,void 0,W,null);const nD=tb(\"__snapshot_8d379_41c83_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)=>tG(e,t,n,0,\"main-thread\",\"bindEvent\",\"uidisappear\"),(e,t,n)=>tG(e,t,n,0,\"main-thread\",\"bindEvent\",\"uiappear\"),(e,t,n)=>tU(e,t,n,0,\"main-thread\")],null,void 0,W,null);const nM=tb(\"__snapshot_8d379_41c83_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)=>tG(e,t,n,0,\"main-thread\",\"bindEvent\",\"uidisappear\"),(e,t,n)=>tG(e,t,n,0,\"main-thread\",\"bindEvent\",\"uiappear\"),(e,t,n)=>tU(e,t,n,0,\"main-thread\")],null,void 0,W,null);const n$=tb(\"__snapshot_8d379_41c83_6\",function(){return[__CreateScrollView(tf)]},[(e,t,n)=>tY(e,t,n,0)],th,void 0,W,[0]);const nF=tb(\"__snapshot_8d379_41c83_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\")],[[tX,1],[tX,2]],void 0,W,null);const nV=function(e,t){var n,l,r,_;let i,o,s,u;let{children:a,bounceableOptions:c,sticky:d,elementProps:p,debugLog:f=!1,enableRTL:h=!1}=e;let m=null!=(n=p[\"scroll-x\"])?n:!1===p[\"scroll-y\"];let v=p.id;let{style:b}=p;let g=!1;let y={enableBounces:!1};\"boolean\"==typeof c?(g=c,y={enableBounces:!0,singleSidedBounce:\"both\",alwaysBouncing:!0,validAnimationVersion:!0}):\"object\"==typeof c&&(g=c.enableBounces,(y=c).singleSidedBounce=null!=(l=c.singleSidedBounce)?l:\"both\",y.alwaysBouncing=null==(r=c.alwaysBouncing)||r,y.validAnimationVersion=null==(_=c.validAnimationVersion)||_);let w=function(e){var t,n,l,r,_,i,o,s,u,a,c,d;let p=t8(.55);let f=t8(.99);let h=t8(15);let m=!!e.debugLog;let v=t8(null!=(t=e.bounceableOptions.singleSidedBounce)?t:\"both\");let b=t8(null);let g=t8(null);let y=t8(0);let w=t8({});let S=t8(null);let k=t8({});let x=t8({});let I=t8({});let E=t8(null!=(n=e.bounceableOptions.estimatedHeight)?n:SystemInfo.pixelHeight/SystemInfo.pixelRatio);let C=t8(null!=(l=e.bounceableOptions.estimatedWidth)?l:SystemInfo.pixelWidth/SystemInfo.pixelRatio);let A=t8(0);let T=t8(0);let B=t8(!1);let W=t8(!1);let P=t8(!1);let N=t8(!1);let O=t8(!1);let L=null!=(r=e.id)?r:\"bounceableContainer\";let{enableBounces:R,onScrollToBounces:D}=e.bounceableOptions;let M=null!=(_=e.bounceableOptions.alwaysBouncing)&&_;let $=null!=(i=e.scrollOrientation)?i:\"vertical\";let F=t8(null!=(o=e.enableRTL)&&o);let V=null==(s=e.bounceableOptions.enableBounceEventInFling)||s;let U=null!=(u=e.bounceableOptions.startBounceTriggerDistance)?u:0;let j=null!=(a=e.bounceableOptions.endBounceTriggerDistance)?a:0;let H=t8(null!=(c=e.bounceableOptions.validAnimationVersion)&&c);((e,...t)=>{e&&console.info(...t)})(m,`[lynx-ui-scroll-view][useBounce] init, enableBounces: ${R}, orientation: ${$}, enableRTL: ${null!=(d=e.enableRTL)&&d}`);let G={_c:{scrollOrientation:$},_wkltId:\"a85b:ce1da:1\"};let J={_wkltId:\"a85b:ce1da:2\"};let q={_c:{enableRTL:F},_wkltId:\"a85b:ce1da:3\"};let z={_wkltId:\"a85b:ce1da:4\"};let Y={_wkltId:\"a85b:ce1da:5\"};let X={_c:{isAndroid:z,selectorMT:t9,containerID:L},_wkltId:\"a85b:ce1da:6\"};let K={_c:{temporaryValidVersionCheckForRAF:H},_wkltId:\"a85b:ce1da:8\"};let Z={_c:{startTouch:b,startBouncingTouch:S,scrollOrientation:$,normalizedHorizontalValue:q},_wkltId:\"a85b:ce1da:9\"};let Q={_c:{bouncingPositionInfo:w,toUpper:N,toLower:O,alwaysBouncing:M,bouncingStatus:{alwaysBouncing:4,noBouncing:3,upperBouncing:1,lowerBouncing:2,inScrollingRange:0},mtsLog:nO,debugLogEnabled:m},_wkltId:\"a85b:ce1da:10\"};let ee={_c:{mtsLog:nO,isEmpty:Y,bouncingPositionInfo:w,prevTouch:g,startTouch:b,bouncingTouchStartPosition:x,isVertical:G,debugLogEnabled:m,selectorMT:t9,containerID:L,enableRTL:F},_wkltId:\"a85b:ce1da:12\"};let et={_c:{mtsLog:nO,debugLogEnabled:m},_wkltId:\"a85b:ce1da:13\",_jsFn:{_jsFn1:{_isFirstScreen:!0}}};let en={_c:{isVertical:G,height:E,width:C,isEmpty:Y,startTouchBouncingDelta:k,bouncingTouchStartPosition:x,rubberC:p,mtsLog:nO,debugLogEnabled:m,bouncingSetStyle:ee},_wkltId:\"a85b:ce1da:14\"};let el={_c:{bouncingPositionInfo:w,startBounceTriggerDistance:U,endBounceTriggerDistance:j,threshold:J},_wkltId:\"a85b:ce1da:16\"};let er={_c:{mtsLog:nO,debugLogEnabled:m,bouncingPositionInfo:w,touchingEndBouncingBackEnableFlag:W,beta:h,bouncingSetStyle:ee,threshold:J,customRequestAnimationFrame:K},_wkltId:\"a85b:ce1da:17\"};return{\"main-thread:bindtouchstart\":{_c:{startTouch:b,mtsLog:nO,debugLogEnabled:m,bouncingTouchStartPosition:x,bouncingPositionInfo:w,touchEndFrameEnableFlag:B,touchingEndBouncingBackEnableFlag:W,flingEndWithBouncingEnableFlag:P},_wkltId:\"a85b:ce1da:18\"},\"main-thread:bindtouchend\":{_c:{clearTouchInfo:{_c:{mtsLog:nO,debugLogEnabled:m,startTouch:b,bouncingTouchStartPosition:x,prevTouch:g,startBouncingTouch:S,startTouchBouncingDelta:k},_wkltId:\"a85b:ce1da:7\"},enableScroll:X,mtsLog:nO,debugLogEnabled:m,shouldBounceWhenTouchEnd:{_c:{bouncingStatus:{inScrollingRange:0,noBouncing:3,upperBouncing:1,lowerBouncing:2,alwaysBouncing:4},alwaysBouncing:M},_wkltId:\"a85b:ce1da:11\"},getBouncingStatus:Q,bouncingPositionInfo:w,isOverTriggerDistance:el,triggerScrollToBouncesEvent:et,touchEndFrameEnableFlag:B,threshold:J,bouncingBack:er,flingDeceleratingRate:f,bouncingSetStyle:ee,customRequestAnimationFrame:K},_wkltId:\"a85b:ce1da:20\"},\"main-thread:bindtouchmove\":{_c:{prevTouch:g,startTouch:b,mtsLog:nO,getCurrentDelta:Z,getBouncingStatus:Q,bouncingStatus:{upperBouncing:1,lowerBouncing:2,alwaysBouncing:4,inScrollingRange:0},enableScroll:X,rubberEffect:en,debugLogEnabled:m,alwaysBouncing:M,triggerRubberEffectIfCrossingEdge:{_c:{getCurrentDelta:Z,mtsLog:nO,debugLogEnabled:m,toUpper:N,toLower:O,singleSidedBounce:v,enableScroll:X,rubberEffect:en},_wkltId:\"a85b:ce1da:15\"}},_wkltId:\"a85b:ce1da:19\"},\"main-thread:bindlayoutchange\":{_c:{height:E,isAndroid:z,width:C},_wkltId:\"a85b:ce1da:26\"},\"main-thread:bindscroll\":{_c:{scrollX:A,scrollY:T,isEmpty:Y,prevScroll:I,isVertical:G,normalizedHorizontalValue:q,scrollVelocity:y,mtsLog:nO,debugLogEnabled:m},_wkltId:\"a85b:ce1da:21\"},onUpperExposure:{_c:{mtsLog:nO,debugLogEnabled:m,toUpper:N,singleSidedBounce:v,prevScroll:I,startBouncingTouch:S,prevTouch:g,startTouchBouncingDelta:k,bouncingPositionInfo:w,scrollVelocity:y,threshold:J,flingEndWithBouncingEnableFlag:P,bouncingBack:er,flingDeceleratingRate:f,bouncingSetStyle:ee,isOverTriggerDistance:el,triggerScrollToBouncesEvent:et,customRequestAnimationFrame:K},_wkltId:\"a85b:ce1da:23\"},onUpperDisexposure:{_c:{mtsLog:nO,debugLogEnabled:m,toUpper:N},_wkltId:\"a85b:ce1da:22\"},onLowerExposure:{_c:{mtsLog:nO,debugLogEnabled:m,toLower:O,singleSidedBounce:v,prevTouch:g,startBouncingTouch:S,startTouchBouncingDelta:k,bouncingPositionInfo:w,enableBounceEventInFling:V,scrollVelocity:y,threshold:J,flingEndWithBouncingEnableFlag:P,bouncingBack:er,flingDeceleratingRate:f,bouncingSetStyle:ee,isOverTriggerDistance:el,triggerScrollToBouncesEvent:et,customRequestAnimationFrame:K},_wkltId:\"a85b:ce1da:25\"},onLowerDisexposure:{_c:{mtsLog:nO,debugLogEnabled:m,toLower:O},_wkltId:\"a85b:ce1da:24\"}}}({bounceableOptions:y,debugLog:f,enableRTL:h,id:v,scrollOrientation:m?\"horizontal\":\"vertical\"});return g&&(y.upperBounceItem&&(i=tZ(nL,{values:[`${v}-upperBounceWrapper`,`position:absolute;${m?h?\"left:100%\":\"right:100%\":\"bottom:100%\"}; ${m?\"height:100%;\":\"width:100%;\"};${m?\"width:max-content\":\"height:max-content\"};`,p[\"main-thread:gesture\"]],children:y.upperBounceItem})),y.lowerBounceItem&&(o=tZ(nR,{values:[`${v}-lowerBounceWrapper`,`position:absolute;${m?h?\"right:100%\":\"left:100%\":\"top:100%\"}; ${m?\"height:100%;\":\"width:100%;\"};${m?\"width:max-content\":\"height:max-content\"};`,p[\"main-thread:gesture\"]],children:y.lowerBounceItem})),s=tZ(nD,{values:[`display: flex; flex-direction: column; overflow:hidden; height: ${m?\"100%\":\"1ppx\"}; width: ${m?\"1ppx\":\"100%\"};`,v,`${v}-upperExposureView`,w.onUpperDisexposure,w.onUpperExposure,p[\"main-thread:gesture\"]]}),u=tZ(nM,{values:[`display: flex; flex-direction: column; overflow:hidden; height: ${m?\"100%\":\"1ppx\"}; width: ${m?\"1ppx\":\"100%\"};`,v,`${v}-lowerExposureView`,w.onLowerDisexposure,w.onLowerExposure,p[\"main-thread:gesture\"]]})),tZ(nF,{values:[`${v}-BounceWrapper`,`display: flex; flex-direction: column; overflow:hidden; height: ${m?\"100%\":`${null==b?void 0:b.height}`}; width: ${m?`${null==b?void 0:b.width}`:\"100%\"};`,p[\"main-thread:gesture\"]],children:[tZ(n$,{values:[{...p,...w,bounces:!1,\"ios-enable-simultaneous-touch\":!0,name:\"lepus\",flatten:!1,__spread:!0}],children:[s,d,a,u]}),tZ(\"wrapper\",{children:[i,o]})]})};const nU=eO(eD(function(e,t){let{scrollviewId:n=\"scrollview\",horizontal:l=!1,style:r,children:_,scrollOrientation:i,lazyOptions:o,className:s=\"\",debugLog:u=!1,enableRTL:a=!1,bounceableOptions:c={enableBounces:!0,singleSidedBounce:\"iOSBounces\"},enableScroll:d=!0,enableScrollMonitor:p=!1,scrollMonitorTag:f,sticky:h,scrollPropagationBehavior:m=\"native\",temporaryBlockScrollClass:v=\"BDXLynxViewPager\",temporaryBlockScrollTag:b=0,temporaryNestedScroll:g,androidTouchSlop:y,\"main-thread:gesture\":w}=e;let S=ey({...nI,...nE,...nA,...nC,...nj});let k=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(t8(),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,S.current);let I=()=>i?\"horizontal\"===i:l;let E=!1;let C={enableBounces:!1};if(\"boolean\"==typeof c)C={enableBounces:E=c,singleSidedBounce:\"both\",alwaysBouncing:!0,validAnimationVersion:!0};else if(\"object\"==typeof c){var A,T,B;E=c.enableBounces,(C=c).singleSidedBounce=null!=(A=c.singleSidedBounce)?A:\"both\",C.alwaysBouncing=null==(T=c.alwaysBouncing)||T,C.validAnimationVersion=null==(B=c.validAnimationVersion)||B}let W=E&&(null==C?void 0:C.singleSidedBounce)===\"iOSBounces\";let P=(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)?tZ(nT,{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 N={id:n,\"scroll-x\":I(),\"scroll-y\":!I(),\"enable-scroll-monitor\":p,\"scroll-monitor-tag\":f,\"main-thread:gesture\":w,\"force-can-scroll\":\"preventPropagate\"===m,\"ios-block-gesture-class\":\"preventPropagate\"===m?v:\"\",\"ios-recognized-view-tag\":\"preventPropagate\"===m?b:0,\"enable-nested-scroll\":\"Android\"===SystemInfo.platform?null==g||g:\"iOS\"!==SystemInfo.platform||\"propagate\"===m,\"enable-new-nested\":!0,className:s,style:r,bounces:W,\"enable-scroll\":d,...void 0!==y&&{\"android-touch-slop\":y},...x};return E&&\"iOSBounces\"!==C.singleSidedBounce&&\"none\"!==C.singleSidedBounce?tZ(nV,{elementProps:N,bounceableOptions:C,debugLog:u,enableRTL:a,sticky:h,children:P(_,k)}):tZ(nN,{elementProps:N,sticky:h,children:P(_,k)})}));const nj={onContentSizeChange:\"bindcontentsizechanged\"};const nH=eO(function(e){let{as:t=\"View\",scrollviewId:n=\"scrollview\",style:l,className:r,children:_,...i}=e;let{width:o=\"100%\",height:s=\"100%\",...u}=null!=l?l:{};let{keyboardAwareResponder:a,keyboardAwareResponderScrollInfoCollected:c}=ex(t7);return ey(null),eX(),tZ(nJ,{values:[{style:{width:o,height:s,...\"ScrollView\"===t?{}:u},className:\"ScrollView\"===t?void 0:r,...i,ref:a,flatten:!1,__spread:!0}],children:\"ScrollView\"===t?tZ(nU,{style:{width:\"100%\",height:\"100%\",...u},scrollviewId:n,className:r,...i,scrollOrientation:\"vertical\",children:tZ(nG,{values:[`keyboard-aware-trigger-scroll-content-${n}`,1],children:_})}):_})});const nG=tb(\"__snapshot_095ae_13587_2\",function(){let e=tf;let t=__CreateView(e);__SetInlineStyles(t,\"width:100%;display:linear;linear-orientation:vertical\");let n=__CreateWrapperElement(e);__AppendElement(t,n);let l=__CreateView(e);return __SetInlineStyles(l,\"width:1px\"),__AppendElement(t,l),[t,n,l]},[function(e){e.__elements&&__SetID(e.__elements[0],e.__values[0])},(e,t,n)=>ta(e,t,n,2)],[[tK,1]],void 0,W,[1]);const nJ=tb(\"__snapshot_095ae_13587_1\",function(){return[__CreateView(tf)]},[(e,t,n)=>tY(e,t,n,0)],th,void 0,W,[0]);const nq=eO(function(e){let{children:t,offset:n=0,...l}=e;let r=ey(0);let _=ey(null);let{onAwareTriggerFocused:i,onAwareTriggerBlurred:o,onAwareTriggerLayoutChanged:s}=ex(t7);let u=()=>{null==i||i(_,n)};let a=()=>{null==o||o(_)};let c=eS(()=>({onInputFocused:u,onInputBlurred:a}),[u,a]);return tZ(t6.Provider,{value:c,children:tZ(nz,{values:[{...l,ref:_,flatten:!1,\"ignore-focus\":!0,bindlayoutchange:e=>{lynx.requestAnimationFrame(()=>{r.current!=e.detail.height&&(r.current=e.detail.height,null==s||s(_))})},__spread:!0}],children:t})})});const nz=tb(\"__snapshot_f5e6a_757fa_1\",function(){return[__CreateView(tf)]},[(e,t,n)=>tY(e,t,n,0)],th,void 0,W,[0]);const nY=[{type:\"block\",key:\"spacer-intro\"},{type:\"input\",key:\"field-title\",name:\"title\",label:\"Title\",placeholder:\"Type here\"},{type:\"block\",key:\"spacer-1\"},{type:\"input\",key:\"field-subtitle\",name:\"subtitle\",label:\"Subtitle\",placeholder:\"Type here\"},{type:\"block\",key:\"spacer-2\"},{type:\"input\",key:\"field-email\",name:\"email\",label:\"Email\",placeholder:\"name@example.com\"},{type:\"block\",key:\"spacer-3\"},{type:\"input\",key:\"field-phone\",name:\"phone\",label:\"Phone\",placeholder:\"+1 234 567 890\"},{type:\"block\",key:\"spacer-4\"},{type:\"input\",key:\"field-website\",name:\"website\",label:\"Website\",placeholder:\"https://\"},{type:\"block\",key:\"spacer-5\"},{type:\"textarea\",key:\"field-description\",name:\"description\",label:\"Description(TextArea)\",placeholder:\"Write something...\"},{type:\"block\",key:\"spacer-outro\"},{type:\"input\",key:\"field-tag\",name:\"tag\",label:\"Tag\",placeholder:\"e.g. demo\"},{type:\"block\",key:\"spacer-tail\"}];const nX=Object.fromEntries(nY.filter(e=>\"input\"===e.type||\"textarea\"===e.type).map(e=>[e.name,\"\"]));const nK=tb(\"__snapshot_d93f0_4e9d9_3\",function(){let e=__CreateView(tf);return __SetClasses(e,\"block\"),[e]},null,null,void 0,W,null);const nZ=tb(\"__snapshot_d93f0_4e9d9_5\",function(){let e=__CreateText(tf);return __SetClasses(e,\"form-label\"),[e]},null,th,void 0,W,null);const nQ=tb(\"__snapshot_d93f0_4e9d9_6\",function(){let e=__CreateView(tf);return __SetClasses(e,\"input-container\"),[e]},null,th,void 0,W,null);const n0=tb(\"__snapshot_d93f0_4e9d9_4\",function(){let e=tf;let t=__CreateView(e);__SetClasses(t,\"form-card\");let n=__CreateWrapperElement(e);__AppendElement(t,n);let l=__CreateWrapperElement(e);return __AppendElement(t,l),[t,n,l]},null,[[tX,1],[tX,2]],void 0,W,null);const n1=tb(\"__snapshot_d93f0_4e9d9_8\",function(){let e=__CreateText(tf);return __SetClasses(e,\"form-label\"),[e]},null,th,void 0,W,null);const n8=tb(\"__snapshot_d93f0_4e9d9_9\",function(){let e=__CreateView(tf);return __SetClasses(e,\"form-textarea-wrap\"),[e]},null,th,void 0,W,null);const n5=tb(\"__snapshot_d93f0_4e9d9_7\",function(){let e=tf;let t=__CreateView(e);__SetClasses(t,\"form-card\");let n=__CreateWrapperElement(e);__AppendElement(t,n);let l=__CreateWrapperElement(e);return __AppendElement(t,l),[t,n,l]},null,[[tX,1],[tX,2]],void 0,W,null);const n2=tb(\"__snapshot_d93f0_4e9d9_10\",function(){let e=__CreateText(tf);return __SetClasses(e,\"submit-button-text\"),__SetAttribute(e,\"text\",\"Submit\"),[e]},null,null,void 0,W,null);const n3=tb(\"__snapshot_d93f0_4e9d9_11\",function(){let e=tf;let t=__CreateView(e);__SetClasses(t,\"form-values-display\");let n=__CreateText(e);return __SetClasses(n,\"form-values-text\"),__AppendElement(t,n),[t,n]},null,[[tK,1]],void 0,W,null);const n9=tb(\"__snapshot_d93f0_4e9d9_2\",function(){let e=tf;let t=__CreateView(e);__SetClasses(t,\"form-container\");let n=__CreateText(e);__SetClasses(n,\"form-title\"),__SetAttribute(n,\"text\",\"Keyboard-aware Form\"),__AppendElement(t,n);let l=__CreateText(e);__SetClasses(l,\"form-subtitle\"),__SetAttribute(l,\"text\",\"Form fields stay visible while typing in a long scroll.\"),__AppendElement(t,l);let r=__CreateView(e);__SetClasses(r,\"form-divider\"),__AppendElement(t,r);let _=__CreateWrapperElement(e);__AppendElement(t,_);let i=__CreateView(e);__SetClasses(i,\"form-divider\"),__AppendElement(t,i);let o=__CreateWrapperElement(e);__AppendElement(t,o);let s=__CreateView(e);return __SetClasses(s,\"bottom-spacer\"),__AppendElement(t,s),[t,n,l,r,_,i,o,s]},null,[[tX,4],[tX,6]],void 0,W,null);const n4=tb(\"__snapshot_d93f0_4e9d9_1\",function(){let e=__CreateView(tf);return __SetClasses(e,\"demo-container lunaris-dark luna-gradient-berry\"),[e]},null,th,void 0,W,null);({render:e=>{r.__jsx=e},registerDataProcessors:e=>{lynx.registerDataProcessors(e)}}).render(tZ(function(){let[e,t]=eb(null);return tZ(n4,{children:tZ(ne,{androidStatusBarPlusBottomBarHeight:74,children:tZ(nS,{initialValues:nX,children:tZ(nH,{as:\"ScrollView\",className:\"demo-canvas\",children:tZ(n9,{children:[tZ(\"wrapper\",{children:nY.map(e=>\"block\"===e.type?tZ(nK,{},e.key):\"input\"===e.type?tZ(nq,{offset:0,children:tZ(n0,{children:[tZ(nZ,{children:e.label}),tZ(nQ,{children:tZ(nk,{as:\"Input\",name:e.name,className:\"form-input\",placeholder:e.placeholder})})]})},e.key):tZ(nq,{offset:0,children:tZ(n5,{children:[tZ(n1,{children:e.label}),tZ(n8,{children:tZ(nk,{as:\"TextArea\",name:e.name,className:\"form-textarea\",placeholder:e.placeholder,maxLines:12,maxLength:600})})]})},e.key))}),tZ(\"wrapper\",{children:[tZ(nx,{className:\"submit-button\",onSubmit:e=>t(e),children:tZ(n2,{})}),e?tZ(n3,{children:JSON.stringify(e,null,2)}):null]})]})})})})})},{}));"},"customSections":{}}
|
|
1
|
+
{"styleInfo":{"0":{"content":[""],"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":[[[".demo-container"],[],[],[]]],"decl":[["align-items","center"],["justify-content","center"],["padding","48px"],["padding-left","16px"],["padding-right","16px"]]},{"sel":[[[".demo-canvas"],[],[],[]],[[".demo-container"],[],[],[]]],"decl":[["display","flex"],["flex-direction","column"],["height","100%"],["width","100%"]]},{"sel":[[[".demo-canvas"],[],[],[]]],"decl":[["background-color","var(--canvas)"],["border-radius","16px"],["color","var(--content)"],["gap","16px"],["padding","64px"],["padding-left","40px"],["padding-right","40px"]]},{"sel":[[[".luna-gradient-berry"],[],[],[]]],"decl":[["background","linear-gradient(0deg, var(--gradient-b) , var(--gradient-c))"]]},{"sel":[[[".form-container"],[],[],[]]],"decl":[["display","flex"],["flex-direction","column"],["width","100%"]]},{"sel":[[[".form-title"],[],[],[]]],"decl":[["color","var(--content)"],["font-size","20px"],["font-weight","700"],["margin-bottom","6px"]]},{"sel":[[[".form-subtitle"],[],[],[]]],"decl":[["color","var(--content-muted)"],["font-size","14px"]]},{"sel":[[[".form-divider"],[],[],[]]],"decl":[["background-color","var(--line)"],["height","1px"],["margin","16px 0"],["width","100%"]]},{"sel":[[[".block"],[],[],[]]],"decl":[["background","linear-gradient(150deg, var(--primary) 8.42%, var(--primary-2) 81.71%)"],["border-radius","14px"],["height","84px"],["margin-bottom","12px"],["margin-top","12px"],["width","100%"]]},{"sel":[[[".form-card"],[],[],[]]],"decl":[["border-color","var(--line)"],["border-radius","12px"],["border-style","solid"],["border-width","1px"],["display","flex"],["flex-direction","column"],["gap","8px"],["padding","14px"],["width","100%"]]},{"sel":[[[".form-label"],[],[],[]]],"decl":[["color","var(--content-2)"],["font-size","14px"],["font-weight","600"]]},{"sel":[[[".input-container"],[],[],[]]],"decl":[["background-color","var(--canvas)"],["border-color","var(--line)"],["border-radius","12px"],["border-style","solid"],["border-width","1px"],["width","100%"]]},{"sel":[[[".form-input"],[],[],[]]],"decl":[["caret-color","var(--primary)"],["color","var(--content)"],["font-size","14px"],["padding","12px"],["width","100%"]]},{"sel":[[[".form-input"],["::part(input)::placeholder"],[],[]]],"decl":[["color","var(--content-faint)"]]},{"sel":[[[".form-textarea-wrap"],[],[],[]]],"decl":[["background-color","var(--canvas)"],["border-color","var(--line)"],["border-radius","12px"],["border-style","solid"],["border-width","1px"],["padding","12px"],["width","100%"]]},{"sel":[[[".form-textarea"],[],[],[]]],"decl":[["caret-color","var(--primary)"],["color","var(--content)"],["height","160px"],["width","100%"]]},{"sel":[[[".form-textarea"],["::part(input)::placeholder"],[],[]]],"decl":[["color","var(--content-faint)"]]},{"sel":[[[".submit-button"],[],[],[]]],"decl":[["align-items","center"],["background-color","var(--primary)"],["border-radius","9999px"],["display","flex"],["height","48px"],["justify-content","center"],["margin","12px 0"],["width","100%"]]},{"sel":[[[".submit-button",".ui-active"],[],[],[]]],"decl":[["background-color","var(--primary-2)"]]},{"sel":[[[".submit-button-text"],[],[],[]]],"decl":[["color","var(--primary-content)"],["font-size","14px"]]},{"sel":[[[".form-values-display"],[],[],[]]],"decl":[["background-color","var(--canvas)"],["border-color","var(--line)"],["border-radius","12px"],["border-style","dashed"],["border-width","1px"],["margin-top","8px"],["opacity",".9"],["padding","12px"]]},{"sel":[[[".form-values-text"],[],[],[]]],"decl":[["color","var(--content)"],["font-family","monospace"],["font-size","12px"],["white-space","pre-wrap"],["word-break","break-all"]]},{"sel":[[[".bottom-spacer"],[],[],[]]],"decl":[["height","24px"]]},{"sel":[[[".min"],[],[],[]]],"decl":[["min-height","1px"],["min-width","1px"]]}]}},"manifest":{"/app-service.js":"\"use strict\";let e,t,n,l,r,o,i,u;var _,a,c,s,d,p,f,h,v,y,m,g,b,x,w,S,k,C,E,I,P,O={};var T=[];var L=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;var N=Array.isArray;function A(e,t){for(var n in t)e[n]=t[n];return e}function D(e){e&&e.parentNode&&e.parentNode.removeChild(e)}var j=T.slice;var B={__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 M(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?j.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!=B.vnode&&B.vnode(o),o}function $(e){return e.children}function U(e,t){this.props=e,this.context=t}function H(e,t){var n;if(null==t)return e.__?H(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?H(e):null}U.prototype.setState=function(e,t){var n;n=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=A({},this.state),\"function\"==typeof e&&(e=e(A({},n),this.props)),e&&A(n,e),null!=e&&this.__v&&(t&&this._sb.push(t),J(this))},U.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),J(this))},U.prototype.render=$;var V=[];var W=\"function\"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout;function J(e){(!e.__d&&(e.__d=!0)&&V.push(e)&&!z.__r++||_!==B.debounceRendering)&&((_=B.debounceRendering)||W)(z)}var G=function(e,t){return e.__v.__b-t.__v.__b};function z(){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=A({},t);o.__v=t.__v+1,B.vnode&&B.vnode(o),B.renderComponent&&B.renderComponent(o,e),et(e.__P,o,t,e.__n,e.__P.namespaceURI,32&t.__u?[n]:null,l,null==n?H(t):n,!!(32&t.__u),r),o.__v=t.__v,o.__.__k[o.__i]=o,en(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)}z.__r=0}function q(e,t,n,l,r,o,i,u,_,a,c){var s,d,p,f,h;var v=l&&l.__k||T;var y=t.length;for(n.__d=_,function(e,t,n){var l,r,o,i=t.length;var u=n.length,_=u;var a=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):N(r)?e.__k[l]=F($,{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 c=l+a;r.__=e,r.__b=e.__b+1;var s=r.__i=function(e,t,n,l){var r=e.key;var o=e.type;var i=n-1;var u=n+1;var _=t[n];var a=l>+(null!=_&&(131072&_.__u)===0);if(null===_||_&&r==_.key&&o===_.type&&(131072&_.__u)===0)return n;if(a)for(;i>=0||u<t.length;){if(i>=0){if((_=t[i])&&(131072&_.__u)===0&&r==_.key&&o===_.type)return i;i--}if(u<t.length){if((_=t[u])&&(131072&_.__u)===0&&r==_.key&&o===_.type)return u;u++}}return -1}(r,n,c,_);o=null,-1!==s&&(o=n[s],_--,o&&(o.__u|=131072)),null==o||null===o.__v?(-1==s&&a--,\"function\"!=typeof r.type&&(r.__u|=65536)):s!==c&&(s==c-1?a--:s==c+1?a++:(s>c?a--:a++,r.__u|=65536))}if(_)for(l=0;l<u;l++)null!=(o=n[l])&&(131072&o.__u)===0&&(o.__e==e.__d&&(e.__d=H(o)),function e(t,n,l){var r;if(B.unmount&&B.unmount(t),(r=t.ref)&&(!r.current||r.current===t.__e)&&el(r,null,n),null!=(r=t.__c)){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(e){B.__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||D(t.__e),t.__c=t.__=t.__e=t.__d=void 0}(o,o))}(n,t,v),_=n.__d,s=0;s<y;s++)null!=(p=n.__k[s])&&(d=-1===p.__i?O:v[p.__i]||O,p.__i=s,et(e,p,d,r,o,i,u,_,a,c),f=p.__e,p.ref&&d.ref!=p.ref&&(d.ref&&el(d.ref,null,p),c.push(p.ref,p.__c||f,p)),null==h&&null!=f&&(h=f),65536&p.__u||d.__k===p.__k?_=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=H(t)),l.insertBefore(t.__e,n||null),n=t.__e);do n=n&&n.nextSibling;while(null!=n&&8===n.nodeType);return n}(p,_,e):\"function\"==typeof p.type&&void 0!==p.__d?_=p.__d:f&&(_=f.nextSibling),p.__d=void 0,p.__u&=-196609);n.__d=_,n.__e=h}function Q(e,t,n){\"-\"===t[0]?e.setProperty(t,null==n?\"\":n):null==n?e[t]=\"\":\"number\"!=typeof n||L.test(t)?e[t]=n:e[t]=n+\"px\"}z.__r=0;var K=0;function Y(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=K,e.addEventListener(t,o?ee:Z,o)):e.removeEventListener(t,o?ee:Z,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 X(e){return function(t){if(this.l){var n=this.l[t.type+e];if(null==t._dispatched)t._dispatched=K++;else if(t._dispatched<n._attached)return;return n(B.event?B.event(t):t)}}}var Z=X(!1);var ee=X(!0);function et(e,t,n,l,r,o,i,u,_,a){var c,s,d,p,f,h,v,y=t.type;if(void 0!==t.constructor)return null;128&n.__u&&(_=!!(32&n.__u),o=[u=t.__e=n.__e]),(v=B.__b)&&v(t),(v=B._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=(c=t.__c=n.__c).__=c.__E:(g?t.__c=c=new y(m,x):(t.__c=c=new U(m,x),c.constructor=y,c.render=er),b&&b.sub(c),c.props=m,c.state||(c.state={}),c.context=x,c.__n=l,s=c.__d=!0,c.__h=[],c._sb=[]),g&&null==c.__s&&(c.__s=c.state),g&&null!=y.getDerivedStateFromProps&&(c.__s==c.state&&(c.__s=A({},c.__s)),A(c.__s,y.getDerivedStateFromProps(m,c.__s))),d=c.props,p=c.state,c.__v=t,s)g&&null==y.getDerivedStateFromProps&&null!=c.componentWillMount&&c.componentWillMount(),g&&null!=c.componentDidMount&&c.__h.push(c.componentDidMount);else{if(g&&null==y.getDerivedStateFromProps&&m!==d&&null!=c.componentWillReceiveProps&&c.componentWillReceiveProps(m,x),!c.__e&&(null!=c.shouldComponentUpdate&&!1===c.shouldComponentUpdate(m,c.__s,x)||t.__v===n.__v)){t.__v!==n.__v&&(c.props=m,c.state=c.__s,c.__d=!1),t.__e=n.__e,t.__k=n.__k,t.__k.some(function(e){e&&(e.__=t)});for(var w=0;w<c._sb.length;w++)c.__h.push(c._sb[w]);c._sb=[],c.__h.length&&i.push(c);break t}null!=c.componentWillUpdate&&c.componentWillUpdate(m,c.__s,x),g&&null!=c.componentDidUpdate&&c.__h.push(function(){c.componentDidUpdate(d,p,f)})}c.context=x,c.props=m,c.__P=e,c.__e=!1;var S=B.__r,k=0;if(g){c.state=c.__s,c.__d=!1,S&&S(t),v=c.render(c.props,c.state,c.context);for(var C=0;C<c._sb.length;C++)c.__h.push(c._sb[C]);c._sb=[]}else do c.__d=!1,S&&S(t),v=c.render(c.props,c.state,c.context),c.state=c.__s;while(c.__d&&++k<25);c.state=c.__s,null!=c.getChildContext&&(l=A(A({},l),c.getChildContext())),g&&!s&&null!=c.getSnapshotBeforeUpdate&&(f=c.getSnapshotBeforeUpdate(d,p));var E=null!=v&&v.type===$&&null==v.key?v.props.children:v;q(e,N(E)?E:[E],t,n,l,r,o,i,u,_,a),c.base=t.__e,t.__u&=-161,c.__h.length&&i.push(c),h&&(c.__E=c.__=null)}catch(e){if(t.__v=null,_||null!=o){for(t.__u|=_?160:32;u&&8===u.nodeType&&u.nextSibling;)u=u.nextSibling;o[o.indexOf(u)]=null,t.__e=u}else t.__e=n.__e,t.__k=n.__k;B.__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,u,_){var a,c,s,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(a=0;a<o.length;a++)if((p=o[a])&&\"setAttribute\"in p===!!m&&(m?p.localName===m:3===p.nodeType)){e=p,o[a]=null;break}}if(null==e){if(null===m)return B.document.createTextNode(y);e=B.document.createElementNS(r,m,y.is&&y),u&&(B.__m&&B.__m(t,o),u=!1),o=null}if(null===m)v===y||u&&e.data===y||(e.data=y);else{if(o=o&&j.call(e.childNodes),v=n.props||O,!u&&null!=o)for(a=0,v={};a<e.attributes.length;a++)v[(p=e.attributes[a]).name]=p.value;for(a in v)if(p=v[a],\"children\"==a);else if(\"dangerouslySetInnerHTML\"==a)s=p;else if(!(a in y)){if(\"value\"==a&&\"defaultValue\"in y||\"checked\"==a&&\"defaultChecked\"in y)continue;Y(e,a,null,p,r)}for(a in y)p=y[a],\"children\"==a?d=p:\"dangerouslySetInnerHTML\"==a?c=p:\"value\"==a?f=p:\"checked\"==a?h=p:u&&\"function\"!=typeof p||v[a]===p||Y(e,a,p,v[a],r);if(c)u||s&&(c.__html===s.__html||c.__html===e.innerHTML)||(e.innerHTML=c.__html),t.__k=[];else if(s&&(e.innerHTML=\"\"),q(e,N(d)?d:[d],t,n,l,\"foreignObject\"===m?\"http://www.w3.org/1999/xhtml\":r,o,i,o?o[0]:n.__k&&H(n,0),u,_),null!=o)for(a=o.length;a--;)D(o[a]);u||(a=\"value\",\"progress\"===m&&null==f?e.removeAttribute(\"value\"):void 0===f||f===e[a]&&(\"progress\"!==m||f)&&(\"option\"!==m||f===v[a])||Y(e,a,f,v[a],r),a=\"checked\",void 0!==h&&h!==e[a]&&Y(e,a,h,v[a],r))}return e}(n.__e,t,n,l,r,o,i,_,a);(v=B.diffed)&&v(t)}function en(e,t,n){t.__d=void 0;for(var l=0;l<n.length;l++)el(n[l],n[++l],n[++l]);B.__c&&B.__c(t,e),e.some(function(t){try{e=t.__h,t.__h=[],e.some(function(e){e.call(t)})}catch(e){B.__e(e,t.__v)}})}function el(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){B.__e(e,n)}}function er(e,t,n){return this.constructor(e,n)}function eo(e,t,n){B.__&&B.__(e,t);var l=\"function\"==typeof n;var r=l?null:n&&n.__k||t.__k;e=(!l&&n||t).__k=M($,null,[e]);var o=[],i=[];et(t,e,r||O,O,t.namespaceURI,!l&&n?[n]:r?null:t.firstChild?j.call(t.childNodes):null,o,!l&&n?n:r?r.__e:t.firstChild,l,i),en(o,e,i)}var ei=0;function eu(e,t){var n={__c:t=\"__cC\"+ei++,__: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,J(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 e_=0;function ea(e,t,n,l,r,o){t||(t={});var i,u,_=t;if(\"ref\"in _)for(u in _={},t)\"ref\"==u?i=t[u]:_[u]=t[u];var a={type:e,props:_,key:n,ref:i,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:--e_,__i:-1,__u:0,__source:r,__self:o};if(\"function\"==typeof e&&(i=e.defaultProps))for(u in i)void 0===_[u]&&(_[u]=i[u]);return B.vnode&&B.vnode(a),a}var ec=0;var es=[];var ed=B.__b;var ep=B.__r;var ef=B.diffed;var eh=B.__c;var ev=B.unmount;var ey=B.__;function em(e,t){B.__h&&B.__h(c,e,ec||t),ec=0;var n=c.__H||(c.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({}),n.__[e]}function eg(e){return ec=1,eb(eL,e)}function eb(e,t,n){var l=em(a++,2);if(l._reducer=e,!l.__c&&(l.__=[n?n(t):eL(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=c,!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))};c._hasScuFromHooks=!0;var o=c.shouldComponentUpdate;var i=c.componentWillUpdate;c.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)},c.shouldComponentUpdate=r}return l.__N||l.__}function ex(e){return ec=5,eS(function(){return{current:e}},[])}function ew(e,t,n){var l,r;ec=6,l=null==n?n:n.concat(e),r=em(a++,4),!B.__s&&eT(r.__H,l)&&(r.__=function(){return\"function\"==typeof e?(e(t()),function(){return e(null)}):e?(e.current=t(),function(){return e.current=null}):void 0},r._pendingArgs=l,c.__h.push(r))}function eS(e,t){var n=em(a++,7);return eT(n.__H,t)&&(n.__=e(),n.__H=t,n.__h=e),n.__}function ek(e,t){return ec=8,eS(function(){return e},t)}function eC(e){var t=c.context[e.__c];var n=em(a++,9);return(n.c=e,t)?(null==n.__&&(n.__=!0,t.sub(c)),t.props.value):e.__}function eE(){var e;for(;e=es.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(eP),e.__H.__h.forEach(eO),e.__H.__h=[]}catch(t){e.__H.__h=[],B.__e(t,e.__v)}}B.__b=function(e){c=null,ed&&ed(e)},B.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),ey&&ey(e,t)},B.__r=function(e){ep&&ep(e),c=e.__c,a=0;var t=c.__H;t&&(s===c?(t.__h=[],c.__h=[],t.__.forEach(function(e){e.__N&&(e.__=e.__N),e._pendingArgs=e.__N=void 0})):(t.__h.forEach(eP),t.__h.forEach(eO),t.__h=[],a=0)),s=c},B.diffed=function(e){ef&&ef(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(1===es.push(t)||d!==B.requestAnimationFrame)&&((d=B.requestAnimationFrame)||function(e){var t,n=function(){clearTimeout(l),eI&&cancelAnimationFrame(t),setTimeout(e)};var l=setTimeout(n,100);eI&&(t=requestAnimationFrame(n))})(eE),t.__H.__.forEach(function(e){e._pendingArgs&&(e.__H=e._pendingArgs),e._pendingArgs=void 0})),s=c=null},B.__c=function(e,t){t.some(function(e){try{e.__h.forEach(eP),e.__h=e.__h.filter(function(e){return!e.__||eO(e)})}catch(n){t.some(function(e){e.__h&&(e.__h=[])}),t=[],B.__e(n,e.__v)}}),eh&&eh(e,t)},B.unmount=function(e){ev&&ev(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach(function(e){try{eP(e)}catch(e){t=e}}),n.__H=void 0,t&&B.__e(t,n.__v))};var eI=\"function\"==typeof requestAnimationFrame;function eP(e){var t=c;var n=e.__c;\"function\"==typeof n&&(e.__c=void 0,n()),c=t}function eO(e){var t=c;e.__c=e.__(),c=t}function eT(e,t){return!e||e.length!==t.length||t.some(function(t,n){return t!==e[n]})}function eL(e,t){return\"function\"==typeof t?t(e):t}function eN(e,t){for(var n in t)e[n]=t[n];return e}function eA(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 eD(e,t){this.props=e,this.context=t}function ej(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:eA(this.props,e)}function l(t){return this.shouldComponentUpdate=n,M(e,t)}return l.displayName=\"Memo(\"+(e.displayName||e.name)+\")\",l.prototype.isReactComponent=!0,l.__f=!0,l.type=e,l}eD.prototype=new U,eD.prototype.isPureReactComponent=!0,eD.prototype.shouldComponentUpdate=function(e,t){return eA(this.props,e)||eA(this.state,t)};var eB=B.__b;B.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),eB&&eB(e)};var eR=\"undefined\"!=typeof Symbol&&Symbol.for&&Symbol.for(\"react.forward_ref\")||3911;function eM(e){function t(t){var n=eN({},t);return delete n.ref,e(n,t.ref||null)}return t.$$typeof=eR,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName=\"ForwardRef(\"+(e.displayName||e.name)+\")\",t}var eF=B.__e;B.__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)}eF(e,t,n,l)};var e$=B.unmount;function eU(){this.__u=0,this._suspenders=null,this.__b=null}function eH(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function eV(){this._next=null,this._map=null}B.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&32&e.__u&&(e.type=null),e$&&e$(e)},eU.prototype=new U,eU.prototype.__c=function(e,t){var n=t.__c;var l=this;null==l._suspenders&&(l._suspenders=[]),l._suspenders.push(n);var r=eH(l.__v);var o=!1;var i=function(){o||(o=!0,n.__R=null,r?r(u):u())};n.__R=i;var u=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)},eU.prototype.componentWillUnmount=function(){this._suspenders=[]},eU.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var n=B.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=eN({},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&&M($,null,e.fallback);return r&&(r.__u&=-33),[M($,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]}};eV.prototype=new U,eV.prototype.__a=function(e){var t=this;var n=eH(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()}},eV.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||(N(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},eV.prototype.componentDidUpdate=eV.prototype.componentDidMount=function(){var e=this;this._map.forEach(function(t,n){eW(e,n,t)})};var eJ=\"undefined\"!=typeof Symbol&&Symbol.for&&Symbol.for(\"react.element\")||60103;U.prototype.isReactComponent={},[\"componentWillMount\",\"componentWillReceiveProps\",\"componentWillUpdate\"].forEach(function(e){Object.defineProperty(U.prototype,e,{configurable:!0,get:function(){return this[\"UNSAFE_\"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var eG=B.event;function ez(){}function eq(){return this.cancelBubble}function eQ(){return this.defaultPrevented}B.event=function(e){return eG&&(e=eG(e)),e.persist=ez,e.isPropagationStopped=eq,e.isDefaultPrevented=eQ,e.nativeEvent=e};var eK=B.vnode;function eY(e,t){var n;return n=em(a++,3),void(!B.__s&&eT(n.__H,t)&&(n.__=e,n._pendingArgs=t,c.__H.__h.push(n)))}function eX(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 eZ(e){for(let t in e)return!1;return!0}function e0(e,t){let n=(SystemInfo.lynxSdkVersion||\"1.0\").split(\".\");return Number(n[0])>e||Number(n[0])==e&&Number(n[1])>t}function e1(e){var t;return null!=(t=e.displayName)?t:e.name}function e3(e,t,n){let l=e[t];e[t]=function(...e){return n.call(this,l,...e)}}B.vnode=function(e){e.$$typeof=eJ,eK&&eK(e)};const 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 e9(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\",x.updateMTRefInitValue=\"rLynxChangeRefInitValue\",(w=f||(f={}))[w.UPDATE=0]=\"UPDATE\",w[w.RESET=1]=\"RESET\";function e8(){if(e){let t=e;return e=[],t}}const e4=\"renderComponent\";const e7=\"reactLynxHydrate\",e6=\"updateTriggeredByBts\";const te=\"__lynx_timing_flag\";let tt=!1;let tn=!1;function tl(e,n){var l,r;switch(e){case\"updateSetStateTrigger\":tt=!0,tn=!0,t=n;break;case\"updateDiffVdomStart\":if(!tt)return;tt=!1;break;case\"updateDiffVdomEnd\":if(!tn)return;tn=!1}null==(l=(r=lynx.getNativeApp()).markTiming)||l.call(r,t,e)}function tr(e,t,l){var r,o,i,u,_,a,c,s;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 e6:n.stage=\"update\"}e0(3,0)?null==(u=lynx.performance)||null==(i=u._onPipelineStart)||i.call(u,n.pipelineID,n):null==(a=lynx.performance)||null==(_=a._onPipelineStart)||_.call(a,n.pipelineID),l&&(null==(s=lynx.performance)||null==(c=s._bindPipelineIdWithTimingFlag)||c.call(s,n.pipelineID,l))}}function to(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\";const ti=new Map;const tu={value:!0};const t_=[];class ta{setTask(e,t){return this.task=n=>n[e].apply(n,t),this}exec(){var e;e=()=>{var e;let t=null!=(e=ti.get(this.refAttr[0]))?e:this.refAttr[0];let n=`[react-ref-${t}-${this.refAttr[1]}]`;this.task(lynx.createSelectorQuery().select(n)).exec()},tu.value?t_.push(e):e()}constructor(e){return this.refAttr=e,this.task=void 0,new Proxy(this,{get:(e,t,n)=>\"symbol\"==typeof t||\"then\"===t||t in e||\"string\"!=typeof t?Reflect.get(e,t,n):(...n)=>new ta(e.refAttr).setTask(t,n)})}}const tc=[];const ts=[];function td(e,t){let n=t&&new ta(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 tp(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`)}function tf(){try{for(let e of tc)td(e,null);for(let e=0;e<ts.length;e+=2){let t=ts[e];let n=ts[e+1];td(t,n)}}finally{tv()}}function th(e,t,n,l){e!==t&&(e&&tc.push(e),t&&ts.push(t,[n,l]))}function tv(){tc.length=0,ts.length=0}new WeakMap,(k=v||(v={}))[k.Attr=0]=\"Attr\",k[k.Spread=1]=\"Spread\",k[k.Slot=2]=\"Slot\",k[k.Children=3]=\"Children\",k[k.ListChildren=4]=\"ListChildren\",k[k.MultiChildren=5]=\"MultiChildren\";const ty=[[v.Children,0]];const tm={values:new Map([[\"root\",{create:()=>[],update:[],slot:ty,isListHolder:!1,cssId:0}],[\"wrapper\",{create:()=>[],update:[],slot:ty,isListHolder:!1}],[null,{create:()=>[],update:[e=>{}],slot:[],isListHolder:!1}]])};const tg={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 tb(e,t,n,l,r,o,i){var u;u=e,e=o?`${o}:${u}`:u;let _={create:t,update:n,slot:l,cssId:r,entryName:o,refAndSpreadIndexes:i};return tm.values.set(e,_),l&&l[0]&&l[0][0]===v.ListChildren&&(_.isListHolder=!0),e}function tx(e,t){let n=e.childNodes;for(let l of(t(e),n))tx(l,t)}function tw(){return null!=l?l:l=e0(2,13)}let tS=[];function tk(){let e=tS;return tS=[],e}function tC(){let e=tk();if(0===e.length)return;let t=JSON.stringify(e);lynx.getNativeApp().callLepusMethod(p.updateMTRefInitValue,{data:t})}let tE=0;let tI=[];function tP(){let e=tI;return tI=[],e}const tO={value:!1};const tT=()=>{tO.value=!0,e2(()=>{tO.value=!1})};e3(B,e4,(e,...t)=>{null==e||e(...t),tT()}),e3(B,\"__\",(e,...t)=>{null==e||e(...t),tT()});let tL={};const tN=new Map;let tA=1;let tD=[];let tj={};function tB(e,t){to(\"packChangesStart\");let l={data:JSON.stringify(e),patchOptions:e5(e9({},t),{reloadVersion:tE})};return to(\"packChangesEnd\"),n&&(l.patchOptions.pipelineOptions=n,n=void 0),l}(C=y||(y={}))[C.COMPOSED=-1]=\"COMPOSED\",C[C.PAN=0]=\"PAN\",C[C.FLING=1]=\"FLING\",C[C.DEFAULT=2]=\"DEFAULT\",C[C.TAP=3]=\"TAP\",C[C.LONGPRESS=4]=\"LONGPRESS\",C[C.ROTATION=5]=\"ROTATION\",C[C.PINCH=6]=\"PINCH\",C[C.NATIVE=7]=\"NATIVE\";const tR=[];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 tF 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 t$(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 tU(e){for(let t of e.data)o.remove(t)}function tH(e){return!tw()&&e?(lynx.reportError(Error(\"Main thread script requires Lynx sdk version 2.14\")),null):e&&(null!=r?r:r=e0(2,15))?(o||(o=new tF,lynx.getCoreContext().addEventListener(h.runOnBackground,t$),lynx.getCoreContext().addEventListener(h.releaseBackgroundWorkletCtx,tU),tR.push(()=>{lynx.getCoreContext().removeEventListener(h.runOnBackground,t$),lynx.getCoreContext().removeEventListener(h.releaseBackgroundWorkletCtx,tU),o=void 0})),o.add(e),e):e}function tV(e){if(e.type===y.COMPOSED)for(let t of e.gestures)tV(t);else for(let[t,n]of Object.entries(e.callbacks))e.callbacks[t]=tH(n)}const tW=new Set([\"name\",\"clip-radius\",\"overlap\",\"exposure-scene\",\"exposure-id\"]);function tJ(e,t,n){let l={};let r=!1;for(let i in n){var o;let u=n[i];\"__spread\"===i||(\"class\"===i||\"className\"===i?(null!=u||(u=\"\"),l.className=u):\"ref\"===i?l[i]=null==(o=tp(u))?void 0:o.__ref:\"function\"==typeof u?l[i]=`${e.__id}:${t}:${i}`:\"__self\"===i||\"__source\"===i||(!r&&tW.has(i)&&(r=!0),l[i]=u))}return r&&(l.flatten=!1),l}class tG{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,tz([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,th(()=>{tx(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?td(n.ref,null):\"__ref\"in n&&td(n,null))}))})},null,0,0),tD.push(t.__id)}tearDown(){tx(this,e=>{e.__parent=null,e.__previousSibling=null,e.__nextSibling=null,tg.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?th(null,t.ref,this.__id,e):\"__ref\"in t&&th(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&&th(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=tJ(this,l,e);let i=!eX(r,o);if(e.__spread=o,th(r&&t.ref,e.ref,this.__id,l),i)for(let e in o){let t=o[e];t&&(t._wkltId?o[e]=tH(t):t.__isGesture?tV(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?(th(t,e,this.__id,l),{needUpdate:!1,valueToCommit:1}):\"_wkltId\"in e?{needUpdate:!0,valueToCommit:tH(e)}:\"__isGesture\"in e?(tV(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:!eX(t,e),valueToCommit:e}}return\"function\"===r?e.__ref?(th(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=tm.values.get(t);const n=this.__id=tg.nextId+=1;tg.values.set(n,this),null==e||e.push(0,t,n)}}function tz(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]);tz(r.childNodes,t),null==e||e.push(1,n,t,l)}}const tq={};const tQ=\"Lynx.Error.CtxNotFound\";let tK=null;function tY(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 tX(e,t){null!=u||(u=[]),u.push([e,t])}i=new tG(\"root\");const tZ=[];function t0(){eo(null,i),tN.forEach(e=>{e()}),tN.clear(),tZ.length=0,u&&(u.length=0)}(E=m||(m={}))[E.Begin=0]=\"Begin\",E[E.End=1]=\"End\",E[E.Attr=2]=\"Attr\",E[E.Text=3]=\"Text\";function t1([t,n]){if(!(\"__k\"in i))return void tZ.push([t,n]);try{(function(t,n){switch(t){case p.firstScreen:{let t;try{z()}catch(e){t=e}let{root:l,jsReadyEventIdSwap:r}=n;tr(!0,e7,\"react_lynx_hydrate\"),to(\"hydrateParseSnapshotStart\");let o=JSON.parse(l);to(\"hydrateParseSnapshotEnd\"),to(\"diffVdomStart\");let _;let a=(e=[],(_=(t,n)=>{var l,r,o;if(ti.set(n.__id,t.id),tg.updateId(n.__id,t.id),null==(l=n.__values)||l.forEach((l,r)=>{let o=t.values[r];if(l)if(\"object\"==typeof l)if(\"__spread\"in l){delete l.__spread;let e=tJ(n,r,l);for(let t in e){let n=e[t];n&&\"object\"==typeof n&&(\"_wkltId\"in n?tH(n):\"__isGesture\"in n&&tV(n))}n.__values[r].__spread=e,l=e}else\"__ref\"in l?l=o:\"_wkltId\"in l?tH(l):\"__isGesture\"in l&&tV(l);else\"function\"==typeof l&&(l=\"__ref\"in l?o:`${n.__id}:${r}:`);eX(l,o)||void 0===l&&null===o||e.push(3,n.__id,r,l)}),n.__extraProps)for(let l in n.__extraProps){let o=n.__extraProps[l];eX(o,null==(r=t.extraProps)?void 0:r[l])||e.push(3,n.__id,l,o)}let{slot:i}=n.__snapshot_def;let u=null!=(o=t.children)?o:[];let a=n.childNodes;i&&i.forEach(([n],l)=>{switch(n){case v.Slot:case v.MultiChildren:{let e=u[l];_(e,a[l]);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 u,_;let n=e[t];(null!=(_=i[u=n.type])?_:i[u]=new Set).add([n,t])}for(let e=0;e<t.length;e++){let u;let _=t[e];let a=i[_.type];if(a&&a.size>0&&([u]=a,u)&&n(u[0],_)){a.delete(u);let t=u[1];if(l(u[0],_,t,e),t<r){o.m[t]=e;continue}r=t}else o.i[e]=_}for(let e in i)for(let[,t]of i[e])o.r.push(t);return o}(u,a,(e,t)=>e.type===t.type,(e,t)=>{_(e,t)});(function(e,t,n,l,r){let o;if(!(!eZ(t.i)||!eZ(t.m)||t.r.length>0))return e;let i=new Set(t.r);let{i:u,m:_}=t;let a=new Map;let c=0;o=e[0];let s=[];let d=0;let p=0;let f=Object.keys(u).length;for(;o||f>0;){let t=!1;if(o&&i.has(p))l(o);else if(o&&void 0!==_[p])a.set(_[p],o),f++;else{let e=o;a.has(d)?(e=a.get(d),t=!0,r(e,o),f--):void 0!==u[d]&&(e=n(u[d],o),t=!0,f--),s.push(e),d++}o&&!t&&(o=e[++c],p++)}return s})(u,n,(e,n)=>{tz([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)})}}})})(o,i),tv(),e8());to(\"diffVdomEnd\"),t2(),u&&(u.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{t9([o,...i].join(\":\"),l)}catch(e){lynx.reportError(e)}}),u.length=0),lynxCoreInject.tt.publishEvent=t9,lynxCoreInject.tt.publicComponentEvent=t5;let c=tA++;let s={patchList:[{snapshotPatch:a,id:c}]};tI.length&&(s.delayedRunOnMainThreadData=tP());let d=tB(s,{isHydration:!0});tC(),lynx.getNativeApp().callLepusMethod(p.patchUpdate,d,()=>{tN.forEach((e,t)=>{t>c||(e(),tN.delete(t))})});let f=t_.slice();for(let e of(t_.length=0,tu.value=!1,f))e();if(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 t3=!1;function t2(){t3||(t3=!0,tZ&&(tZ.forEach(e=>{t1(e)}),tZ.length=0),t3=!1)}function t9(e,t){var n,l;null==(n=(l=lynxCoreInject.tt).callBeforePublishEvent)||n.call(l,t);let r=tg.getValueBySign(e);if(r)try{r(t)}catch(e){lynx.reportError(e)}}function t5(e,t,n){t9(t,n)}B.document=tq,B.requestAnimationFrame=e2,tq.createElement=function(e){return new tG(e)},tq.createElementNS=function(e,t){return new tG(t)},tq.createTextNode=function(e){let t=new tG(null);return t.setAttribute(0,e),Object.defineProperty(t,\"data\",{set(e){t.setAttribute(0,e)}}),t};let t8;(t8=lynxCoreInject.tt).OnLifecycleEvent=t1,t8.publishEvent=tX,t8.publicComponentEvent=function(e,t,n){tX(t,n)},t8.callDestroyLifetimeFun=()=>{var e,t;let n;for(let l of((n=null==(e=(t=lynx).getCoreContext)?void 0:e.call(t))&&tK&&(n.removeEventListener(tQ,tK),tK=null),tk(),tR))l();tR.length=0,t0()},t8.updateGlobalProps=function(e){Object.assign(lynx.__globalProps,e),Promise.resolve().then(()=>{let e=B._diff2;B._diff2=(t,n)=>{e&&e(t,n);let l=n.__c;l&&(l.__e=!0)};try{eo(i.__jsx,i)}finally{B._diff2=e}}),lynxCoreInject.tt.GlobalEventEmitter.emit(\"onGlobalPropsChanged\",void 0)},t8.updateCardData=function(e,t){let{__lynx_timing_flag:n}=e,l=tY(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])},t8.onAppReload=function(t){e=void 0,t0(),++tE,lynx.__initData=Object.assign({},lynx.__initData,t),tu.value=!0,eo(i.__jsx,i)},t8.processCardConfig=()=>{},tK=e=>{(function(e){let t=e.id;let n=tg.values.get(t);let l=\"null\";if(n&&n.__snapshot_def){for(let[e,t]of tm.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(tQ,tK),e3(B,\"__c\",(e,t,n)=>{let l,r;tO.value=!1,tl(\"updateDiffVdomEnd\"),to(\"diffVdomEnd\");let o=tD;tD=[];let i=tA++;tN.set(i,()=>{o.length&&setTimeout(()=>{o.forEach(e=>{var t;null==(t=tg.values.get(e))||t.tearDown()})},1e4)}),tC();let u=e8();let _=(l=tL,tL={},l);let a=(r=tj,tj={},r);if(!u){tf(),null==e||e(t,n);return}let c={id:i};(null==u?void 0:u.length)&&(c.snapshotPatch=u);let s={patchList:[c]};eZ(_)||(s.flushOptions=_),u&&tI.length&&(s.delayedRunOnMainThreadData=tP());let d=tB(s,a);lynx.getNativeApp().callLepusMethod(p.patchUpdate,d,()=>{let e=tN.get(i);e&&(e(),tN.delete(i))}),tf(),null==e||e(t,n)});let t4;t4=()=>{e&&(n||(tr(!1,e6),to(\"diffVdomStart\",!0)),tt&&tl(\"updateDiffVdomStart\"))},e3(B,e4,(e,t,n)=>{t4(),e&&e(t,n)}),e3(B,\"__\",(e,t,n)=>{t4(),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\");e3(U.prototype,\"setState\",function(t,n,l){var i,u,_;let a;null==t||t.call(this,n,l),this.__d&&r(\"ReactLynx::setState\",{flowId:null!=(i=this[e])?i:this[e]=o(),args:(u=this.state,_=this.__s,a={},null!=u||(u=a),null!=_||(_=a),{\"current state keys\":JSON.stringify(Object.keys(u)),\"next state keys\":JSON.stringify(Object.keys(_)),\"changed (shallow diff) state keys\":JSON.stringify(Object.keys(_).filter(e=>u[e]!==_[e]))})})}),e3(B,\"_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=tj).flowIds||(o.flowIds=[]),tj.flowIds.push(l),t.flowId=l}}}n(`ReactLynx::diff::${e1(l.type)}`,t)}null==t||t(l,r)}),e3(B,\"diffed\",(e,t)=>{\"function\"==typeof t.type&&l(),null==e||e(t)}),e3(B,\"__c\",(e,t,r)=>{n(\"ReactLynx::commit\",e9({},tj.flowIds?{flowId:tj.flowIds[\"0\"],flowIds:tj.flowIds}:{})),null==e||e(t,r),l()})}e3(B,\"__r\",(e,t)=>{let r=t.__c.render;t.__c.render=function(e,o,i){n(`ReactLynx::render::${e1(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\");e3(B,\"__b\",(n,l)=>{\"function\"==typeof l.type&&e&&(l[t]=e.length),null==n||n(l)}),e3(B,\"diffed\",(n,l)=>{\"function\"==typeof l.type&&e&&(l[t]===e.length&&r(\"ReactLynx::diffFinishNoPatch\",{args:{componentName:e1(l.type)}}),delete l[t]),null==n||n(l)})}}(),function(){{let{initData:e,updateData:t}=lynxCoreInject.tt._params;lynx.__initData=e9({},e,t),lynx.registerDataProcessors=function(){}}}();let t7=0;function t6(e){let t=++t7;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})}const ne=v.Slot;v.MultiChildren;const nt=v.Children;v.ListChildren;{function nn(e,t){lynx.reportError(Error(`${e} is deprecated and has different behavior in ReactLynx 3.0, please use ref or ${t} instead.`))}U.prototype._reactAppInstance=lynxCoreInject.tt,U.prototype.getNodeRef=function(e,t){return nn(\"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)},U.prototype.getNodeRefFromRoot=function(e){return nn(\"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)},U.prototype.registerModule=function(e,t){this._reactAppInstance.registerModule(e,t)},U.prototype.getJSModule=function(e){return this._reactAppInstance.getJSModule(e)},U.prototype.addGlobalEventListener=function(e,t,n){return this._reactAppInstance.getJSModule(\"GlobalEventEmitter\").addListener(e,t,n)},U.prototype.getElementById=function(e){return nn(\"getElementById\",\"lynx.getElementById\"),lynx.getElementById(e)},U.prototype.GlobalEventEmitter=lynxCoreInject.tt.GlobalEventEmitter,U.prototype.createSelectorQuery=function(){return nn(\"createSelectorQuery on component instance\",\"lynx.createSelectorQuery\"),lynx.createSelectorQuery()};const e=U.prototype.setState;U.prototype.setState=function(t,n){e.call(this,t,n);let l=this.__s[te];l&&(tL.__lynx_timing_flag=l,tl(\"updateSetStateTrigger\",l),this.__s[te]=\"\")}}let nl=0;class nr{get current(){}set current(e){}toJSON(){return{_wvid:this._wvid}}constructor(e,t){var n;this._initValue=e,this._type=t,this._wvid=++nl,n=this._wvid,tw()&&tS.push([n,e])}}class no extends nr{constructor(e){super(e,\"main-thread\");{var t,n;const 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 ni(e){return eS(()=>new no(e),[])}class nu extends Error{constructor(e,t){super(\"string\"==typeof t?t:\"unknown error\"),this.errorCode=e,this.detail=t}}const n_=(e,t)=>{var n;null==e||null==(n=e.current)||n.setNativeProps(t).exec()};const na=(e,t=!1,n=\"\")=>new Promise((l,r)=>{let o;(o={relativeTo:t?\"screen\":n,androidEnableTransformProps:!0},new Promise((t,n)=>{var l;(null==e?void 0:e.current)?null==e||null==(l=e.current)||l.invoke({method:\"boundingClientRect\",params:o,success:e=>{t(e)},fail:e=>{n(new nu(e.code,JSON.stringify(e.data)))}}).exec():n(new nu(2,\"no node found for the ref\"))})).then(e=>{l(e)}).catch(e=>{r(e)})});const nc={_wkltId:\"ec97:c55d4:1\"};function ns(e,t,n){let l=ek(t,null!=n?n:[]);eS(()=>{lynx.getJSModule(\"GlobalEventEmitter\").addListener(e,l)},[e,l]),eY(()=>()=>{lynx.getJSModule(\"GlobalEventEmitter\").removeListener(e,l)},[e,l])}const nd=eu({onAwareTriggerFocused:void 0,onAwareTriggerBlurred:void 0,keyboardAwareResponder:void 0,keyboardAwareResponderScrollInfoCollected:void 0});const np=eu({onInputFocused:void 0,onInputBlurred:void 0});const nf=ej(function(e){let{forceAttach:t=!1,androidStatusBarPlusBottomBarHeight:n=0,children:l}=e;let[r,o]=eg(0);let[i,u]=eg(0);let _=ex(null);let[a,c]=eg(_);let s=ex(null);let d=ex(!0);let p=ex(0);let f=ex(null);let h=ex();let v=(e,t,l)=>{e&&t&&(null==l?void 0:l.current)&&na(f,!0).then(r=>{let{pixelHeight:o,pixelRatio:i,platform:u}=SystemInfo;h.current={scrollviewId:e,scrollContentId:t,dummyRefAtKeyboardHeight:l,marginBetweenScrollViewBottomAndScreenBottom:o/i-r.bottom-(\"Android\"===u?n:0)}})};let y=(e,t)=>{s.current=e,c(e),p.current=null!=t?t:0};let m=e=>{setTimeout(()=>{e.current&&s.current==e&&(c(_),s.current=null)},30)};let g=e=>{a.current&&a.current==e.current&&b()};let b=()=>{if(0!==r&&(null==f?void 0:f.current)&&(null==a?void 0:a.current))if(h.current){let{scrollviewId:e,scrollContentId:t,dummyRefAtKeyboardHeight:n,marginBetweenScrollViewBottomAndScreenBottom:l}=h.current;d.current&&n_(n,{height:`${r-l}px`}),x(e,t,-l,!0),d.current=!1}else w(a);else if(h.current){let{dummyRefAtKeyboardHeight:e}=h.current;n_(e,{height:\"0px\"}),(null==a?void 0:a.current)||(d.current=!0)}else n_(f,{transform:\"translateY(0px)\",transition:\"transform 0.2s\"}),u(0)};let x=(e,t,n,l)=>{na(a,!1,t).then(t=>{na(f,!0).then(o=>{let i;(i={index:0,offset:r+t.bottom-o.height-p.current+n,smooth:l},new Promise((t,n)=>{lynx.createSelectorQuery().select(`#${e}`).invoke({method:\"scrollTo\",params:i,success:e=>{t(e)},fail:e=>{n(new nu(e.code,JSON.stringify(e.data)))}}).exec()})).catch(()=>{})})})};let w=(e,l=\"transform 0.28s\")=>{na(e,!0).then(e=>{let{pixelHeight:o,pixelRatio:_,platform:a}=SystemInfo;let c=o/_-e.bottom-(\"Android\"===a?n:0)-r+i+p.current;!t&&c>=0&&(c=0),n_(f,{transform:`translateY(${c}px)`,transition:l}),u(c)})};ns(\"keyboardstatuschanged\",(e,t,n)=>{null==o||o(\"on\"===e?t:0)},[]),eY(()=>{b()},[r,a]);let S=eS(()=>({onAwareTriggerFocused:y,onAwareTriggerBlurred:m,onAwareTriggerLayoutChanged:g,keyboardAwareResponder:f,keyboardAwareResponderScrollInfoCollected:v}),[y,m,g,a,v]);return ea(nd.Provider,{value:S,children:l})});function nh(e){return e&&\"undefined\"!=typeof Symbol&&e.constructor===Symbol?\"symbol\":typeof e}function nv(e){var t=function(e,t){if(\"object\"!==nh(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var l=n.call(e,t||\"default\");if(\"object\"!==nh(l))return l;throw TypeError(\"@@toPrimitive must return a primitive value.\")}return(\"string\"===t?String:Number)(e)}(e,\"string\");return\"symbol\"===nh(t)?t:String(t)}function ny(e){let t=ex(e);t.current=eS(()=>e,[e]);let n=ex();return null!=n.current||(n.current=function(...e){return t.current.apply(this,e)}),n.current}function nm(){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}const ng=eu({active:!1,disabled:!1});const nb=tb(\"__snapshot_11572_54683_1\",null,null,ty,void 0,globDynamicComponentEntry,[0]);const nx=e=>{let{children:t,onClick:n,disabled:l=!1,style:r,className:o,buttonProps:i}=e;let[u,_]=eg(!1);let a=u&&!l;let c=\"function\"==typeof t?t({active:a,disabled:l}):t;let s=ny(()=>{l||_(!0)});let d=ny(()=>{if(_(!1),l)return});let p=ny(()=>{l||null==n||n()});let f=eS(()=>({active:a,disabled:l}),[a,l]);return ea(ng.Provider,{value:f,children:ea(nb,{values:[e5(e9({bindtap:p,bindtouchstart:s,bindtouchend:d,bindtouchcancel:d,\"event-through\":!1,style:r,className:nm(o,{\"ui-active\":a,\"ui-disabled\":l})},i),{__spread:!0})],children:c})})};const nw=eu({checked:!1,indeterminate:!1});const nS=e=>{var t;let{style:n,className:l,children:r,onChange:o,checked:i,defaultChecked:u=!1,disabled:_=!1,indeterminate:a=!1,checkboxProps:c}=e;let s=void 0!==i;let[d,p]=eg(u);let f=s?i:d;let h=ny(e=>{s||p(e),null==o||o(e)});let v=ny(()=>{a?h(!0):h(!f)});let y=eS(()=>({checked:f,indeterminate:a}),[f,a]);return ea(nw.Provider,{value:y,children:ea(nx,{disabled:_,onClick:v,style:n,className:nm(l,{\"ui-indeterminate\":a,\"ui-checked\":i}),buttonProps:c,children:(t={checked:f,indeterminate:a},\"function\"==typeof r?e=>r(e9({},t,e)):r)})})};const nk=()=>{};const nC=ej(eM(function(e,t){let{id:n,readonly:l=!1,placeholder:r,type:o=\"text\",inputFilter:i,style:u,className:_,maxLength:a=140,defaultValue:c,value:s,confirmType:d=\"send\",showSoftInputOnFocus:p=!0,onFocus:f,onInput:h,onConfirm:v,onBlur:y,onSelectionChange:m}=e;let g=ex(void 0!==s);let b=ex(null);let{onInputBlurred:x,onInputFocused:w}=eC(np);eY(()=>{C(null!=s?s:\"\")},[s]),eY(()=>{g.current||C(null!=c?c:\"\")},[]);let S=()=>new Promise((e,t)=>{var n;null==(n=b.current)||n.invoke({method:\"focus\",success:t=>{e()},fail:e=>{t(new nu(e.code,e.data))}}).exec()});let k=()=>new Promise((e,t)=>{var n;null==(n=b.current)||n.invoke({method:\"blur\",success:t=>{e()},fail:e=>{t(new nu(e.code,e.data))}}).exec()});let C=e=>new Promise((t,n)=>{var l;null==(l=b.current)||l.invoke({method:\"setValue\",params:{value:e},success(e){t()},fail(e){n(new nu(e.code,e.data))}}).exec()});let E=()=>new Promise((e,t)=>{var n;null==(n=b.current)||n.invoke({method:\"getValue\",success(t){e(t)},fail(e){t(new nu(e.code,e.data))}}).exec()});let I=(e,t)=>new Promise((n,l)=>{var r;null==(r=b.current)||r.invoke({method:\"setSelectionRange\",params:{selectionStart:e,selectionEnd:t},success(e){n()},fail(e){l(new nu(e.code,e.data))}}).exec()});let P={_c:{controlled:g},_wkltId:\"8e1b:b8ce3:1\",_jsFn:{_jsFn1:t6((e,t,n,l,r=!1)=>{null==h||h(e,t,n,l),r&&n_(b,{readonly:!1})})}};return ew(t,()=>({setValue:C,getValue:E,blur:k,focus:S,setSelectionRange:I}),[C,E,k,S,I]),ea(nE,{values:[tp(b),n,l,r,d,o,i,a,p,P,e=>{null==w||w(),null==f||f(e.detail.value)},e=>{null==x||x(),null==y||y(e.detail.value)},e=>{null==v||v(e.detail.value)},e=>{null==m||m(e.detail.selectionStart,e.detail.selectionEnd)},_,u]})}));const nE=tb(\"__snapshot_8e1b3_b8ce3_1\",null,null,null,void 0,globDynamicComponentEntry,[0]);const nI=ej(eM(function(e,t){let{id:n,readonly:l=!1,placeholder:r,lineSpacing:o,bounces:i=!0,maxLines:u=40,type:_=\"text\",inputFilter:a,style:c,className:s,maxLength:d=140,defaultValue:p,value:f,confirmType:h=\"send\",showSoftInputOnFocus:v=!0,onFocus:y,onInput:m,onConfirm:g,onBlur:b,onSelectionChange:x}=e;let w=ex(void 0!==f);let S=ex(null);let{onInputBlurred:k,onInputFocused:C}=eC(np);eY(()=>{P(null!=f?f:\"\")},[f]),eY(()=>{w.current||P(null!=p?p:\"\")},[]);let E=()=>new Promise((e,t)=>{var n;null==(n=S.current)||n.invoke({method:\"focus\",success:t=>{e()},fail:e=>{t(new nu(e.code,e.data))}}).exec()});let I=()=>new Promise((e,t)=>{var n;null==(n=S.current)||n.invoke({method:\"blur\",success:t=>{e()},fail:e=>{t(new nu(e.code,e.data))}}).exec()});let P=e=>new Promise((t,n)=>{var l;null==(l=S.current)||l.invoke({method:\"setValue\",params:{value:e},success(e){t()},fail(e){n(new nu(e.code,e.data))}}).exec()});let O=()=>new Promise((e,t)=>{var n;null==(n=S.current)||n.invoke({method:\"getValue\",success(t){e(t)},fail(e){t(new nu(e.code,e.data))}}).exec()});let T=(e,t)=>new Promise((n,l)=>{var r;null==(r=S.current)||r.invoke({method:\"setSelectionRange\",params:{selectionStart:e,selectionEnd:t},success(e){n()},fail(e){l(new nu(e.code,e.data))}}).exec()});let L={_c:{controlled:w},_wkltId:\"7a79:a9994:1\",_jsFn:{_jsFn1:t6((e,t,n,l,r=!1)=>{null==m||m(e,t,n,l),r&&n_(S,{readonly:!1})})}};return ew(t,()=>({setValue:P,getValue:O,blur:I,focus:E,setSelectionRange:T}),[P,O,I,E,T]),ea(nP,{values:[tp(S),n,l,o,i,u,r,h,_,a,d,v,L,e=>{null==C||C(),null==y||y(e.detail.value)},e=>{null==k||k(),null==b||b(e.detail.value)},e=>{null==g||g(e.detail.value)},e=>{null==x||x(e.detail.selectionStart,e.detail.selectionEnd)},s,c]})}));const nP=tb(\"__snapshot_7a793_a9994_1\",null,null,null,void 0,globDynamicComponentEntry,[0]);const nO=eu({selectedValue:null,disabled:!1,handleValueChange:nk});const nT=e=>{let{children:t,onValueChange:n,defaultValue:l,value:r,disabled:o=!1}=e;let i=void 0!==r;let[u,_]=eg(null!=l?l:null);let a=i?r:u;let c=ex(null);let s=ny(e=>{c.current!==e&&(null==n||n(e),c.current=e)});let d=ek(e=>{i||_(e),s(e)},[i,s]);eY(()=>{s(null!=r?r:\"\")},[r,s]);let p=eS(()=>({selectedValue:a,handleValueChange:d,disabled:o}),[a,d,o]);let f=eS(()=>\"function\"==typeof t?t({value:a,disabled:o}):t,[t,a]);return ea(nO.Provider,{value:p,children:f})};function nL(e){let t=ex(e);return eY(()=>{t.current=e},[e]),eS(()=>(...e)=>{var n;null==(n=t.current)||n.call(t,...e)},[])}eu({value:\"\",disabled:!1}),tb(\"__snapshot_b3824_f71e7_1\",null,null,ty,void 0,globDynamicComponentEntry,null);const nN=eu({checked:!1,disabled:!1,active:!1});const nA=tb(\"__snapshot_0277e_f0e1a_1\",null,null,ty,void 0,globDynamicComponentEntry,[0]);function nD({style:e,className:t,children:n,onChange:l,checked:r,defaultChecked:o=!1,disabled:i=!1,switchProps:u}){let _=void 0!==r;let[a,c]=eg(o);let s=_?r:a;let{pressed:d,bindtap:p,bindtouchcancel:f,bindtouchend:h,bindtouchstart:v}=function({disabled:e=!1,onTap:t}={}){let[n,l]=eg(!1);let r=nL(()=>{e||l(!0)});let o=nL(()=>{l(!1)});return{pressed:n,bindtap:nL(()=>{e||null==t||t()}),bindtouchstart:r,bindtouchend:o,bindtouchcancel:o}}({disabled:i,onTap:()=>{let e=!s;_||c(e),null==l||l(e)}});let y=eS(()=>d&&!i,[d,i]);let m=eS(()=>({active:y,checked:s,disabled:i}),[y,s,i]);return ea(nN.Provider,{value:m,children:ea(nA,{values:[e5(e9({bindtap:p,bindtouchstart:v,bindtouchend:h,bindtouchcancel:f,\"event-through\":!1,style:e,className:nm(t,{\"ui-active\":y,\"ui-checked\":s,\"ui-disabled\":i})},u),{__spread:!0})],children:\"function\"==typeof n?n(m):n})})}tb(\"__snapshot_0277e_f0e1a_2\",null,null,ty,void 0,globDynamicComponentEntry,null),tb(\"__snapshot_0277e_f0e1a_3\",null,null,ty,void 0,globDynamicComponentEntry,null);const nj=eu(void 0);const nB=(e,t)=>{switch(t.type){case\"CHANGED\":{let{name:n,value:l}=t.payload;if(e[n]===l)return e;return e5(e9({},e),{[n]:l})}case\"UNREGISTER\":{let{name:n}=t.payload;if(!(n in e))return e;let{[n]:l}=e;return tY(e,[n].map(nv))}default:return e}};const nR=()=>{let e=eC(nj);if(!e)throw Error(\"useForm must be used within a FormRoot\");return e};const nM=({children:e,initialValues:t,onSubmit:n,onChanged:l})=>{let[r,o]=eb(nB,null!=t?t:{});let i=ex(!1);let u=ny(null!=l?l:nk);eY(()=>{i.current?u(r):i.current=!0},[r,u]);let _=ny((e,t)=>{o({type:\"CHANGED\",payload:{name:e,value:t}})});let a=ny(e=>{o({type:\"UNREGISTER\",payload:{name:e}})});let c=ny(()=>{null==n||n(r)});let s=eS(()=>({formData:r,onChanged:_,unregisterField:a,submit:c}),[r,_,a,c]);return ea(nj.Provider,{value:s,children:e})};const nF=e=>{var{as:t,name:n,children:l,onChanged:r}=e,o=tY(e,[\"as\",\"name\",\"children\",\"onChanged\"]);let{formData:i,onChanged:u,unregisterField:_}=nR();eY(()=>{var e;let t=null!=(e=i[n])?e:null;return u(n,t),()=>{_(n)}},[]);let a=i[n];let c=e=>{u(n,e),null==r||r(e)};let s=e5(e9({},o),{children:l});if(\"RadioGroupRoot\"===t)return ea(nT,e9({onValueChange:c,defaultValue:a},s));if(\"Input\"===t)return ea(nC,e9({defaultValue:a,onInput:c},s));if(\"TextArea\"===t)return ea(nI,e9({defaultValue:a,onInput:c},s));if(\"Checkbox\"===t)return ea(nS,e9({defaultChecked:a,onChange:c},s));if(\"Switch\"===t)return ea(nD,e9({defaultChecked:a,onChange:c},s));throw Error(`FormField component does not support as=\"${String(t)}\"`)};const n$=e=>{var{onSubmit:t}=e,n=tY(e,[\"onSubmit\"]);let{submit:l,formData:r}=nR();return ea(nx,e9({onClick:()=>{l(),null==t||t(r)}},n))};const nU={onScroll:\"bindscroll\",onScrollStateChange:\"bindscrollstatechange\",onScrollToLower:\"bindscrolltolower\",onScrollToUpper:\"bindscrolltoupper\",onScrollEnd:\"bindscrollend\",onScrollToUpperEdge:\"bindscrolltoupperedge\",onScrollToLowerEdge:\"bindscrolltoloweredge\",onScrollToNormalState:\"bindscrolltonormalstate\"};const nH={onUIAppear:\"binduiappear\",onUIDisappear:\"binduidisappear\"};const nV={onLayoutChange:\"bindlayoutchange\"};const nW={onTouchStart:\"bindtouchstart\",onTouchMove:\"bindtouchmove\",onTouchEnd:\"bindtouchend\",onTouchCancel:\"bindtouchcancel\",onTouchTap:\"bindtap\",onLongPress:\"bindlongpress\",catchTouchStart:\"catchtouchstart\",catchTouchMove:\"catchtouchmove\",catchTouchEnd:\"catchtouchend\",catchTouchCancel:\"catchtouchcancel\",catchTap:\"catchtap\",catchLongPress:\"catchlongpress\"};const nJ=ej(eM(function(e,t){let{pid:n,scene:l,estimatedStyle:r,top:o=\"10px\",bottom:i=\"10px\",left:u=\"10px\",right:_=\"10px\",unmountOnExit:a,unloadable:c=!1,children:s}=e;let d=null!=a?a:c;let[p,f]=eg(!1);let h=ex(void 0);if(ns(\"exposure\",e=>{e.forEach(e=>{p||e[\"exposure-scene\"]!==l||e[\"exposure-id\"]!==n||f(!0)})},[p]),ns(\"disexposure\",e=>{d&&e.forEach(e=>{e[\"exposure-scene\"]===l&&e[\"exposure-id\"]===n&&f(!1)})},[d]),!d)return p?s:ea(nG,{values:[o,i,u,_,n,l,r]});{var v,y,m,g;let{width:e,height:t}=r,a=tY(r,[\"width\",\"height\"]);return ea(nz,{values:[o,i,u,_,n,l,({detail:e})=>{p&&(h.current={width:`${e.width}px`,height:`${e.height}px`})},p?{}:e9({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},a)],children:p&&s})}}));const nG=tb(\"__snapshot_ae447_b9b02_1\",null,null,null,void 0,globDynamicComponentEntry,null);const nz=tb(\"__snapshot_ae447_b9b02_2\",null,null,ty,void 0,globDynamicComponentEntry,null);const nq=tb(\"__snapshot_4ab23_9c9de_1\",null,null,ty,void 0,globDynamicComponentEntry,[0]);const nQ=function(e){let{children:t,sticky:n,elementProps:l}=e;return ea(nq,{values:[e5(e9({},l),{\"android-touch-slop\":\"page\",name:\"background\",flatten:!1,__spread:!0})],children:[n,t]})};const nK={_wkltId:\"333e:982fb:1\"};const nY=tb(\"__snapshot_8d379_41c83_1\",null,null,ty,void 0,globDynamicComponentEntry,null);const nX=tb(\"__snapshot_8d379_41c83_2\",null,null,ty,void 0,globDynamicComponentEntry,null);const nZ=tb(\"__snapshot_8d379_41c83_3\",null,null,null,void 0,globDynamicComponentEntry,null);const n0=tb(\"__snapshot_8d379_41c83_4\",null,null,null,void 0,globDynamicComponentEntry,null);const n1=tb(\"__snapshot_8d379_41c83_6\",null,null,ty,void 0,globDynamicComponentEntry,[0]);const n3=tb(\"__snapshot_8d379_41c83_5\",null,null,[[ne,1],[ne,2]],void 0,globDynamicComponentEntry,null);const n2=function(e,t){var n,l,r,o;let i,u,_,a;let{children:c,bounceableOptions:s,sticky:d,elementProps:p,debugLog:f=!1,enableRTL:h=!1}=e;let v=null!=(n=p[\"scroll-x\"])?n:!1===p[\"scroll-y\"];let y=p.id;let{style:m}=p;let g=!1;let b={enableBounces:!1};\"boolean\"==typeof s?(g=s,b={enableBounces:!0,singleSidedBounce:\"both\",alwaysBouncing:!0,validAnimationVersion:!0}):\"object\"==typeof s&&(g=s.enableBounces,(b=s).singleSidedBounce=null!=(l=s.singleSidedBounce)?l:\"both\",b.alwaysBouncing=null==(r=s.alwaysBouncing)||r,b.validAnimationVersion=null==(o=s.validAnimationVersion)||o);let x=function(e){var t,n,l,r,o,i,u,_,a,c,s,d;let p=ni(.55);let f=ni(.99);let h=ni(15);let v=!!e.debugLog;let y=ni(null!=(t=e.bounceableOptions.singleSidedBounce)?t:\"both\");let m=ni(null);let g=ni(null);let b=ni(0);let x=ni({});let w=ni(null);let S=ni({});let k=ni({});let C=ni({});let E=ni(null!=(n=e.bounceableOptions.estimatedHeight)?n:SystemInfo.pixelHeight/SystemInfo.pixelRatio);let I=ni(null!=(l=e.bounceableOptions.estimatedWidth)?l:SystemInfo.pixelWidth/SystemInfo.pixelRatio);let P=ni(0);let O=ni(0);let T=ni(!1);let L=ni(!1);let N=ni(!1);let A=ni(!1);let D=ni(!1);let j=null!=(r=e.id)?r:\"bounceableContainer\";let{enableBounces:B,onScrollToBounces:R}=e.bounceableOptions;let M=null!=(o=e.bounceableOptions.alwaysBouncing)&&o;let F=null!=(i=e.scrollOrientation)?i:\"vertical\";let $=ni(null!=(u=e.enableRTL)&&u);let U=null==(_=e.bounceableOptions.enableBounceEventInFling)||_;let H=null!=(a=e.bounceableOptions.startBounceTriggerDistance)?a:0;let V=null!=(c=e.bounceableOptions.endBounceTriggerDistance)?c:0;let W=ni(null!=(s=e.bounceableOptions.validAnimationVersion)&&s);((e,...t)=>{e&&console.info(...t)})(v,`[lynx-ui-scroll-view][useBounce] init, enableBounces: ${B}, orientation: ${F}, enableRTL: ${null!=(d=e.enableRTL)&&d}`);let J={_c:{scrollOrientation:F},_wkltId:\"a85b:ce1da:1\"};let G={_wkltId:\"a85b:ce1da:2\"};let z={_c:{enableRTL:$},_wkltId:\"a85b:ce1da:3\"};let q={_wkltId:\"a85b:ce1da:4\"};let Q={_wkltId:\"a85b:ce1da:5\"};let K={_c:{isAndroid:q,selectorMT:nc,containerID:j},_wkltId:\"a85b:ce1da:6\"};let Y={_c:{temporaryValidVersionCheckForRAF:W},_wkltId:\"a85b:ce1da:8\"};let X={_c:{startTouch:m,startBouncingTouch:w,scrollOrientation:F,normalizedHorizontalValue:z},_wkltId:\"a85b:ce1da:9\"};let Z={_c:{bouncingPositionInfo:x,toUpper:A,toLower:D,alwaysBouncing:M,bouncingStatus:{alwaysBouncing:4,noBouncing:3,upperBouncing:1,lowerBouncing:2,inScrollingRange:0},mtsLog:nK,debugLogEnabled:v},_wkltId:\"a85b:ce1da:10\"};let ee={_c:{mtsLog:nK,isEmpty:Q,bouncingPositionInfo:x,prevTouch:g,startTouch:m,bouncingTouchStartPosition:k,isVertical:J,debugLogEnabled:v,selectorMT:nc,containerID:j,enableRTL:$},_wkltId:\"a85b:ce1da:12\"};let et={_c:{mtsLog:nK,debugLogEnabled:v},_wkltId:\"a85b:ce1da:13\",_jsFn:{_jsFn1:t6(function(e){B&&R&&R(e)})}};let en={_c:{isVertical:J,height:E,width:I,isEmpty:Q,startTouchBouncingDelta:S,bouncingTouchStartPosition:k,rubberC:p,mtsLog:nK,debugLogEnabled:v,bouncingSetStyle:ee},_wkltId:\"a85b:ce1da:14\"};let el={_c:{bouncingPositionInfo:x,startBounceTriggerDistance:H,endBounceTriggerDistance:V,threshold:G},_wkltId:\"a85b:ce1da:16\"};let er={_c:{mtsLog:nK,debugLogEnabled:v,bouncingPositionInfo:x,touchingEndBouncingBackEnableFlag:L,beta:h,bouncingSetStyle:ee,threshold:G,customRequestAnimationFrame:Y},_wkltId:\"a85b:ce1da:17\"};return{\"main-thread:bindtouchstart\":{_c:{startTouch:m,mtsLog:nK,debugLogEnabled:v,bouncingTouchStartPosition:k,bouncingPositionInfo:x,touchEndFrameEnableFlag:T,touchingEndBouncingBackEnableFlag:L,flingEndWithBouncingEnableFlag:N},_wkltId:\"a85b:ce1da:18\"},\"main-thread:bindtouchend\":{_c:{clearTouchInfo:{_c:{mtsLog:nK,debugLogEnabled:v,startTouch:m,bouncingTouchStartPosition:k,prevTouch:g,startBouncingTouch:w,startTouchBouncingDelta:S},_wkltId:\"a85b:ce1da:7\"},enableScroll:K,mtsLog:nK,debugLogEnabled:v,shouldBounceWhenTouchEnd:{_c:{bouncingStatus:{inScrollingRange:0,noBouncing:3,upperBouncing:1,lowerBouncing:2,alwaysBouncing:4},alwaysBouncing:M},_wkltId:\"a85b:ce1da:11\"},getBouncingStatus:Z,bouncingPositionInfo:x,isOverTriggerDistance:el,triggerScrollToBouncesEvent:et,touchEndFrameEnableFlag:T,threshold:G,bouncingBack:er,flingDeceleratingRate:f,bouncingSetStyle:ee,customRequestAnimationFrame:Y},_wkltId:\"a85b:ce1da:20\"},\"main-thread:bindtouchmove\":{_c:{prevTouch:g,startTouch:m,mtsLog:nK,getCurrentDelta:X,getBouncingStatus:Z,bouncingStatus:{upperBouncing:1,lowerBouncing:2,alwaysBouncing:4,inScrollingRange:0},enableScroll:K,rubberEffect:en,debugLogEnabled:v,alwaysBouncing:M,triggerRubberEffectIfCrossingEdge:{_c:{getCurrentDelta:X,mtsLog:nK,debugLogEnabled:v,toUpper:A,toLower:D,singleSidedBounce:y,enableScroll:K,rubberEffect:en},_wkltId:\"a85b:ce1da:15\"}},_wkltId:\"a85b:ce1da:19\"},\"main-thread:bindlayoutchange\":{_c:{height:E,isAndroid:q,width:I},_wkltId:\"a85b:ce1da:26\"},\"main-thread:bindscroll\":{_c:{scrollX:P,scrollY:O,isEmpty:Q,prevScroll:C,isVertical:J,normalizedHorizontalValue:z,scrollVelocity:b,mtsLog:nK,debugLogEnabled:v},_wkltId:\"a85b:ce1da:21\"},onUpperExposure:{_c:{mtsLog:nK,debugLogEnabled:v,toUpper:A,singleSidedBounce:y,prevScroll:C,startBouncingTouch:w,prevTouch:g,startTouchBouncingDelta:S,bouncingPositionInfo:x,scrollVelocity:b,threshold:G,flingEndWithBouncingEnableFlag:N,bouncingBack:er,flingDeceleratingRate:f,bouncingSetStyle:ee,isOverTriggerDistance:el,triggerScrollToBouncesEvent:et,customRequestAnimationFrame:Y},_wkltId:\"a85b:ce1da:23\"},onUpperDisexposure:{_c:{mtsLog:nK,debugLogEnabled:v,toUpper:A},_wkltId:\"a85b:ce1da:22\"},onLowerExposure:{_c:{mtsLog:nK,debugLogEnabled:v,toLower:D,singleSidedBounce:y,prevTouch:g,startBouncingTouch:w,startTouchBouncingDelta:S,bouncingPositionInfo:x,enableBounceEventInFling:U,scrollVelocity:b,threshold:G,flingEndWithBouncingEnableFlag:N,bouncingBack:er,flingDeceleratingRate:f,bouncingSetStyle:ee,isOverTriggerDistance:el,triggerScrollToBouncesEvent:et,customRequestAnimationFrame:Y},_wkltId:\"a85b:ce1da:25\"},onLowerDisexposure:{_c:{mtsLog:nK,debugLogEnabled:v,toLower:D},_wkltId:\"a85b:ce1da:24\"}}}({bounceableOptions:b,debugLog:f,enableRTL:h,id:y,scrollOrientation:v?\"horizontal\":\"vertical\"});return g&&(b.upperBounceItem&&(i=ea(nY,{values:[`${y}-upperBounceWrapper`,`position:absolute;${v?h?\"left:100%\":\"right:100%\":\"bottom:100%\"}; ${v?\"height:100%;\":\"width:100%;\"};${v?\"width:max-content\":\"height:max-content\"};`,p[\"main-thread:gesture\"]],children:b.upperBounceItem})),b.lowerBounceItem&&(u=ea(nX,{values:[`${y}-lowerBounceWrapper`,`position:absolute;${v?h?\"right:100%\":\"left:100%\":\"top:100%\"}; ${v?\"height:100%;\":\"width:100%;\"};${v?\"width:max-content\":\"height:max-content\"};`,p[\"main-thread:gesture\"]],children:b.lowerBounceItem})),_=ea(nZ,{values:[`display: flex; flex-direction: column; overflow:hidden; height: ${v?\"100%\":\"1ppx\"}; width: ${v?\"1ppx\":\"100%\"};`,y,`${y}-upperExposureView`,x.onUpperDisexposure,x.onUpperExposure,p[\"main-thread:gesture\"]]}),a=ea(n0,{values:[`display: flex; flex-direction: column; overflow:hidden; height: ${v?\"100%\":\"1ppx\"}; width: ${v?\"1ppx\":\"100%\"};`,y,`${y}-lowerExposureView`,x.onLowerDisexposure,x.onLowerExposure,p[\"main-thread:gesture\"]]})),ea(n3,{values:[`${y}-BounceWrapper`,`display: flex; flex-direction: column; overflow:hidden; height: ${v?\"100%\":`${null==m?void 0:m.height}`}; width: ${v?`${null==m?void 0:m.width}`:\"100%\"};`,p[\"main-thread:gesture\"]],children:[ea(n1,{values:[e5(e9({},p,x),{bounces:!1,\"ios-enable-simultaneous-touch\":!0,name:\"background\",flatten:!1,__spread:!0})],children:[_,d,c,a]}),ea(\"wrapper\",{children:[i,u]})]})};const n9=ej(eM(function(e,t){let{scrollviewId:n=\"scrollview\",horizontal:l=!1,style:r,children:o,scrollOrientation:i,lazyOptions:u,className:_=\"\",debugLog:a=!1,enableRTL:c=!1,bounceableOptions:s={enableBounces:!0,singleSidedBounce:\"iOSBounces\"},enableScroll:d=!0,enableScrollMonitor:p=!1,scrollMonitorTag:f,sticky:h,scrollPropagationBehavior:v=\"native\",temporaryBlockScrollClass:y=\"BDXLynxViewPager\",temporaryBlockScrollTag:m=0,temporaryNestedScroll:g,androidTouchSlop:b,\"main-thread:gesture\":x}=e;let w=ex(e9({},nU,nH,nW,nV,n5));let S=u?e9({firstScreenItemCount:1},u):void 0;let k=((e,t)=>{let n={};for(let l of Object.keys(e))l in t&&(n[t[l]]=e[l]);return e9({},n,((e,t)=>{let n={};for(let l of(ni(),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,w.current);let C=e9({zIndex:0},r);let E=()=>i?\"horizontal\"===i:l;let I=!1;let P={enableBounces:!1};if(\"boolean\"==typeof s)P={enableBounces:I=s,singleSidedBounce:\"both\",alwaysBouncing:!0,validAnimationVersion:!0};else if(\"object\"==typeof s){var O,T,L;I=s.enableBounces,(P=s).singleSidedBounce=null!=(O=s.singleSidedBounce)?O:\"both\",P.alwaysBouncing=null==(T=s.alwaysBouncing)||T,P.validAnimationVersion=null==(L=s.validAnimationVersion)||L}let N=I&&(null==P?void 0:P.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)?ea(nJ,{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 D=e9({id:n,\"scroll-x\":E(),\"scroll-y\":!E(),\"enable-scroll-monitor\":p,\"scroll-monitor-tag\":f,\"main-thread:gesture\":x,\"force-can-scroll\":\"preventPropagate\"===v,\"ios-block-gesture-class\":\"preventPropagate\"===v?y:\"\",\"ios-recognized-view-tag\":\"preventPropagate\"===v?m:0,\"enable-nested-scroll\":\"Android\"===SystemInfo.platform?null==g||g:\"iOS\"!==SystemInfo.platform||\"propagate\"===v,\"enable-new-nested\":!0,className:_,style:C,bounces:N,\"enable-scroll\":d},void 0!==b&&{\"android-touch-slop\":b},k);return I&&\"iOSBounces\"!==P.singleSidedBounce&&\"none\"!==P.singleSidedBounce?ea(n2,{elementProps:D,bounceableOptions:P,debugLog:a,enableRTL:c,sticky:h,children:A(o,S)}):ea(nQ,{elementProps:D,sticky:h,children:A(o,S)})}));const n5={onContentSizeChange:\"bindcontentsizechanged\",onWheel:\"bindwheel\"};const n8=ej(function(e){let{as:t=\"View\",scrollviewId:n=\"scrollview\",style:l,className:r,children:o}=e,i=tY(e,[\"as\",\"scrollviewId\",\"style\",\"className\",\"children\"]);let u=null!=l?l:{},{width:_=\"100%\",height:a=\"100%\"}=u,c=tY(u,[\"width\",\"height\"]);let{keyboardAwareResponder:s,keyboardAwareResponderScrollInfoCollected:d}=eC(nd);let p=ex(null);return eY(()=>{null==d||d(n,`keyboard-aware-trigger-scroll-content-${n}`,p)},[p,s]),ea(n7,{values:[e5(e9({style:e9({width:_,height:a},\"ScrollView\"===t?{}:c),className:\"ScrollView\"===t?void 0:r},i),{ref:s,flatten:!1,__spread:!0})],children:\"ScrollView\"===t?ea(n9,e5(e9({style:e9({width:\"100%\",height:\"100%\"},c),scrollviewId:n,className:r},i),{scrollOrientation:\"vertical\",children:ea(n4,{values:[`keyboard-aware-trigger-scroll-content-${n}`,tp(p)],children:o})})):o})});const n4=tb(\"__snapshot_095ae_13587_2\",null,null,[[nt,1]],void 0,globDynamicComponentEntry,[1]);const n7=tb(\"__snapshot_095ae_13587_1\",null,null,ty,void 0,globDynamicComponentEntry,[0]);const n6=ej(function(e){let{children:t,offset:n=0}=e,l=tY(e,[\"children\",\"offset\"]);let r=ex(0);let o=ex(null);let{onAwareTriggerFocused:i,onAwareTriggerBlurred:u,onAwareTriggerLayoutChanged:_}=eC(nd);let a=()=>{null==i||i(o,n)};let c=()=>{null==u||u(o)};let s=eS(()=>({onInputFocused:a,onInputBlurred:c}),[a,c]);return ea(np.Provider,{value:s,children:ea(le,{values:[e5(e9({},l),{ref:o,flatten:!1,\"ignore-focus\":!0,bindlayoutchange:e=>{lynx.requestAnimationFrame(()=>{r.current!=e.detail.height&&(r.current=e.detail.height,null==_||_(o))})},__spread:!0})],children:t})})});const le=tb(\"__snapshot_f5e6a_757fa_1\",null,null,ty,void 0,globDynamicComponentEntry,[0]);const lt=[{type:\"block\",key:\"spacer-intro\"},{type:\"input\",key:\"field-title\",name:\"title\",label:\"Title\",placeholder:\"Type here\"},{type:\"block\",key:\"spacer-1\"},{type:\"input\",key:\"field-subtitle\",name:\"subtitle\",label:\"Subtitle\",placeholder:\"Type here\"},{type:\"block\",key:\"spacer-2\"},{type:\"input\",key:\"field-email\",name:\"email\",label:\"Email\",placeholder:\"name@example.com\"},{type:\"block\",key:\"spacer-3\"},{type:\"input\",key:\"field-phone\",name:\"phone\",label:\"Phone\",placeholder:\"+1 234 567 890\"},{type:\"block\",key:\"spacer-4\"},{type:\"input\",key:\"field-website\",name:\"website\",label:\"Website\",placeholder:\"https://\"},{type:\"block\",key:\"spacer-5\"},{type:\"textarea\",key:\"field-description\",name:\"description\",label:\"Description(TextArea)\",placeholder:\"Write something...\"},{type:\"block\",key:\"spacer-outro\"},{type:\"input\",key:\"field-tag\",name:\"tag\",label:\"Tag\",placeholder:\"e.g. demo\"},{type:\"block\",key:\"spacer-tail\"}];const ln=Object.fromEntries(lt.filter(e=>\"input\"===e.type||\"textarea\"===e.type).map(e=>[e.name,\"\"]));const ll=tb(\"__snapshot_d93f0_4e9d9_3\",null,null,null,void 0,globDynamicComponentEntry,null);const lr=tb(\"__snapshot_d93f0_4e9d9_5\",null,null,ty,void 0,globDynamicComponentEntry,null);const lo=tb(\"__snapshot_d93f0_4e9d9_6\",null,null,ty,void 0,globDynamicComponentEntry,null);const li=tb(\"__snapshot_d93f0_4e9d9_4\",null,null,[[ne,1],[ne,2]],void 0,globDynamicComponentEntry,null);const lu=tb(\"__snapshot_d93f0_4e9d9_8\",null,null,ty,void 0,globDynamicComponentEntry,null);const l_=tb(\"__snapshot_d93f0_4e9d9_9\",null,null,ty,void 0,globDynamicComponentEntry,null);const la=tb(\"__snapshot_d93f0_4e9d9_7\",null,null,[[ne,1],[ne,2]],void 0,globDynamicComponentEntry,null);const lc=tb(\"__snapshot_d93f0_4e9d9_10\",null,null,null,void 0,globDynamicComponentEntry,null);const ls=tb(\"__snapshot_d93f0_4e9d9_11\",null,null,[[nt,1]],void 0,globDynamicComponentEntry,null);const ld=tb(\"__snapshot_d93f0_4e9d9_2\",null,null,[[ne,4],[ne,6]],void 0,globDynamicComponentEntry,null);const lp=tb(\"__snapshot_d93f0_4e9d9_1\",null,null,ty,void 0,globDynamicComponentEntry,null);({render:e=>{i.__jsx=e,eo(e,i),t2()},registerDataProcessors:e=>{lynx.registerDataProcessors(e)}}).render(ea(function(){let[e,t]=eg(null);return ea(lp,{children:ea(nf,{androidStatusBarPlusBottomBarHeight:74,children:ea(nM,{initialValues:ln,children:ea(n8,{as:\"ScrollView\",className:\"demo-canvas\",children:ea(ld,{children:[ea(\"wrapper\",{children:lt.map(e=>\"block\"===e.type?ea(ll,{},e.key):\"input\"===e.type?ea(n6,{offset:0,children:ea(li,{children:[ea(lr,{children:e.label}),ea(lo,{children:ea(nF,{as:\"Input\",name:e.name,className:\"form-input\",placeholder:e.placeholder})})]})},e.key):ea(n6,{offset:0,children:ea(la,{children:[ea(lu,{children:e.label}),ea(l_,{children:ea(nF,{as:\"TextArea\",name:e.name,className:\"form-textarea\",placeholder:e.placeholder,maxLines:12,maxLength:600})})]})},e.key))}),ea(\"wrapper\",{children:[ea(n$,{className:\"submit-button\",onSubmit:e=>t(e),children:ea(lc,{})}),e?ea(ls,{children:JSON.stringify(e,null,2)}):null]})]})})})})})},{}));"},"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,s=!0;class u{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 u(t):null}querySelectorAll(e){return __QuerySelectorAll(this.element,e,{}).map(e=>new u(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&&s&&(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 u(t):null}function f(e){return __QuerySelectorAll(c.get(),e,{}).map(e=>new u(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 y(e,t,n){let r;try{r=runWorklet(e,t)}finally{lynx.getJSContext().dispatchEvent({type:\"Lynx.Worklet.FunctionCallRet\",data:JSON.stringify({resolveId:n,returnValue:r})})}}!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);let h=(e,t)=>({current:t,_wvid:e}),_=t=>{let n,r=t._wvid;return r<0?(n=e._firstScreenWorkletRefMap[r])||(n=e._firstScreenWorkletRefMap[r]=h(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 k(e,t,n){lynxWorkletImpl._workletMap[t]=n}let g=new WeakMap;function I(e,t){if(\"object\"!=typeof e||null===e)return e;if(t){let t=g.get(e);if(t)return t}let n={main:e};return v(n,0,e),t&&g.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 u(i.elementRefptr);continue}if(!(i instanceof u)){if(v(i,t,n),\"_wvid\"in i){e[l]=_(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){_(e).current=t?new u(t):null},updateWorkletRefInitValueChanges:function(t){t.forEach(([t,n])=>{e._workletRefMap[t]||(e._workletRefMap[t]=h(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){s=e}},_runRunOnMainThreadTask:y},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:\"Lynx.Worklet.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=k,globalThis.registerWorkletInternal=k,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,I(e,!0)),r=I(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(\"Lynx.Worklet.runWorkletCtx\",e=>{let t=JSON.parse(e.data);y(t.worklet,t.params,t.resolveId)}),t.addEventListener(\"Lynx.Worklet.releaseWorkletRef\",t=>{var n;n=t.data.id,delete e._workletRefMap[n]})}())})();","root":"\"use strict\";let e,t,n,l,r,_,i,o,s,u,a,c,d;var p,f,h,m,v,b,g,y,w,S,k,x,I,E,C,A,T,B,W=W||\"__Card__\";var P={};var N=[];var O=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;var L=Array.isArray;function R(e,t){for(var n in t)e[n]=t[n];return e}function D(e){e&&e.parentNode&&e.parentNode.removeChild(e)}var M=N.slice;var $={__e:function(e,t,n,l){var r,_,i;for(;t=t.__;)if((r=t.__c)&&!r.__)try{if((_=r.constructor)&&null!=_.getDerivedStateFromError&&(r.setState(_.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 F=0;function V(e,t,n){var l,r,_,i={};for(_ in t)\"key\"==_?l=t[_]:\"ref\"==_?r=t[_]:i[_]=t[_];if(arguments.length>2&&(i.children=arguments.length>3?M.call(arguments,2):n),\"function\"==typeof e&&null!=e.defaultProps)for(_ in e.defaultProps)void 0===i[_]&&(i[_]=e.defaultProps[_]);return U(e,i,l,r,null)}function U(e,t,n,l,r){var _={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?++F:r,__i:-1,__u:0};return null==r&&null!=$.vnode&&$.vnode(_),_}function j(e){return e.children}function H(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}H.prototype.setState=function(e,t){var n;n=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=R({},this.state),\"function\"==typeof e&&(e=e(R({},n),this.props)),e&&R(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=j;var J=[];var q=\"function\"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout;function z(e){(!e.__d&&(e.__d=!0)&&J.push(e)&&!X.__r++||y!==$.debounceRendering)&&((y=$.debounceRendering)||q)(X)}var Y=function(e,t){return e.__v.__b-t.__v.__b};function X(){var e;for(J.sort(Y);e=J.shift();)if(e.__d){var t=J.length;(function(e){var t=e.__v,n=t.__e,l=[],r=[];if(e.__P){var _=R({},t);_.__v=t.__v+1,$.vnode&&$.vnode(_),$.renderComponent&&$.renderComponent(_,e),er(e.__P,_,t,e.__n,e.__P.namespaceURI,32&t.__u?[n]:null,l,null==n?G(t):n,!!(32&t.__u),r),_.__v=t.__v,_.__.__k[_.__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,_,r),_.__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)}}(_)}})(e),J.length>t&&J.sort(Y)}X.__r=0}function K(e,t,n,l,r,_,i,o,s,u,a){var c,d,p,f,h;var m=l&&l.__k||N;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 u=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]=U(null,r,null,null,null):L(r)?e.__k[l]=U(j,{children:r},null,null,null):void 0===r.constructor&&r.__b>0?e.__k[l]=U(r.type,r.props,r.key,r.ref?r.ref:null,r.__v):e.__k[l]=r;var a=l+u;r.__=e,r.__b=e.__b+1;var c=r.__i=function(e,t,n,l){var r=e.key;var _=e.type;var i=n-1;var o=n+1;var s=t[n];var u=l>+(null!=s&&(131072&s.__u)===0);if(null===s||s&&r==s.key&&_===s.type&&(131072&s.__u)===0)return n;if(u)for(;i>=0||o<t.length;){if(i>=0){if((s=t[i])&&(131072&s.__u)===0&&r==s.key&&_===s.type)return i;i--}if(o<t.length){if((s=t[o])&&(131072&s.__u)===0&&r==s.key&&_===s.type)return o;o++}}return -1}(r,n,a,s);_=null,-1!==c&&(_=n[c],s--,_&&(_.__u|=131072)),null==_||null===_.__v?(-1==c&&u--,\"function\"!=typeof r.type&&(r.__u|=65536)):c!==a&&(c==a-1?u--:c==a+1?u++:(c>a?u--:u++,r.__u|=65536))}if(s)for(l=0;l<o;l++)null!=(_=n[l])&&(131072&_.__u)===0&&(_.__e==e.__d&&(e.__d=G(_)),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 _=0;_<r.length;_++)r[_]&&e(r[_],n,l||\"function\"!=typeof t.type);l||D(t.__e),t.__c=t.__=t.__e=t.__d=void 0}(_,_))}(n,t,m),s=n.__d,c=0;c<v;c++)null!=(p=n.__k[c])&&(d=-1===p.__i?P:m[p.__i]||P,p.__i=c,er(e,p,d,r,_,i,o,s,u,a),f=p.__e,p.ref&&d.ref!=p.ref&&(d.ref&&e_(d.ref,null,p),a.push(p.ref,p.__c||f,p)),null==h&&null!=f&&(h=f),65536&p.__u||d.__k===p.__k?s=function e(t,n,l){if(\"function\"==typeof t.type){var r=t.__k;for(var _=0;r&&_<r.length;_++)r[_]&&(r[_].__=t,n=e(r[_],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}(p,s,e):\"function\"==typeof p.type&&void 0!==p.__d?s=p.__d:f&&(s=f.nextSibling),p.__d=void 0,p.__u&=-196609);n.__d=s,n.__e=h}function Z(e,t,n){\"-\"===t[0]?e.setProperty(t,null==n?\"\":n):null==n?e[t]=\"\":\"number\"!=typeof n||O.test(t)?e[t]=n:e[t]=n+\"px\"}X.__r=0;var Q=0;function ee(e,t,n,l,r){var _;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||Z(e.style,t,\"\");if(n)for(t in n)l&&n[t]===l[t]||Z(e.style,t,n[t])}else if(\"o\"===t[0]&&\"n\"===t[1])_=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+_]=n,n?l?n._attached=l._attached:(n._attached=Q,e.addEventListener(t,_?el:en,_)):e.removeEventListener(t,_?el:en,_);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 et(e){return function(t){if(this.l){var n=this.l[t.type+e];if(null==t._dispatched)t._dispatched=Q++;else if(t._dispatched<n._attached)return;return n($.event?$.event(t):t)}}}var en=et(!1);var el=et(!0);function er(e,t,n,l,r,_,i,o,s,u){var a,c,d,p,f,h,m,v=t.type;if(void 0!==t.constructor)return null;128&n.__u&&(s=!!(32&n.__u),_=[o=t.__e=n.__e]),(m=$.__b)&&m(t),(m=$._diff2)&&m(t,n);t:if(\"function\"==typeof v)try{var b=t.props;var g=\"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=(a=t.__c=n.__c).__=a.__E:(g?t.__c=a=new v(b,w):(t.__c=a=new H(b,w),a.constructor=v,a.render=ei),y&&y.sub(a),a.props=b,a.state||(a.state={}),a.context=w,a.__n=l,c=a.__d=!0,a.__h=[],a._sb=[]),g&&null==a.__s&&(a.__s=a.state),g&&null!=v.getDerivedStateFromProps&&(a.__s==a.state&&(a.__s=R({},a.__s)),R(a.__s,v.getDerivedStateFromProps(b,a.__s))),d=a.props,p=a.state,a.__v=t,c)g&&null==v.getDerivedStateFromProps&&null!=a.componentWillMount&&a.componentWillMount(),g&&null!=a.componentDidMount&&a.__h.push(a.componentDidMount);else{if(g&&null==v.getDerivedStateFromProps&&b!==d&&null!=a.componentWillReceiveProps&&a.componentWillReceiveProps(b,w),!a.__e&&(null!=a.shouldComponentUpdate&&!1===a.shouldComponentUpdate(b,a.__s,w)||t.__v===n.__v)){t.__v!==n.__v&&(a.props=b,a.state=a.__s,a.__d=!1),t.__e=n.__e,t.__k=n.__k,t.__k.some(function(e){e&&(e.__=t)});for(var S=0;S<a._sb.length;S++)a.__h.push(a._sb[S]);a._sb=[],a.__h.length&&i.push(a);break t}null!=a.componentWillUpdate&&a.componentWillUpdate(b,a.__s,w),g&&null!=a.componentDidUpdate&&a.__h.push(function(){a.componentDidUpdate(d,p,f)})}a.context=w,a.props=b,a.__P=e,a.__e=!1;var k=$.__r,x=0;if(g){a.state=a.__s,a.__d=!1,k&&k(t),m=a.render(a.props,a.state,a.context);for(var I=0;I<a._sb.length;I++)a.__h.push(a._sb[I]);a._sb=[]}else do a.__d=!1,k&&k(t),m=a.render(a.props,a.state,a.context),a.state=a.__s;while(a.__d&&++x<25);a.state=a.__s,null!=a.getChildContext&&(l=R(R({},l),a.getChildContext())),g&&!c&&null!=a.getSnapshotBeforeUpdate&&(f=a.getSnapshotBeforeUpdate(d,p));var E=null!=m&&m.type===j&&null==m.key?m.props.children:m;K(e,L(E)?E:[E],t,n,l,r,_,i,o,s,u),a.base=t.__e,t.__u&=-161,a.__h.length&&i.push(a),h&&(a.__E=a.__=null)}catch(e){if(t.__v=null,s||null!=_){for(t.__u|=s?160:32;o&&8===o.nodeType&&o.nextSibling;)o=o.nextSibling;_[_.indexOf(o)]=null,t.__e=o}else t.__e=n.__e,t.__k=n.__k;$.__e(e,t,n)}else null==_&&t.__v===n.__v?(t.__k=n.__k,t.__e=n.__e):t.__e=function(e,t,n,l,r,_,i,o,s){var u,a,c,d,p,f,h,m=n.props;var v=t.props;var b=t.type;if(\"svg\"===b?r=\"http://www.w3.org/2000/svg\":\"math\"===b?r=\"http://www.w3.org/1998/Math/MathML\":r||(r=\"http://www.w3.org/1999/xhtml\"),null!=_){for(u=0;u<_.length;u++)if((p=_[u])&&\"setAttribute\"in p===!!b&&(b?p.localName===b:3===p.nodeType)){e=p,_[u]=null;break}}if(null==e){if(null===b)return $.document.createTextNode(v);e=$.document.createElementNS(r,b,v.is&&v),o&&($.__m&&$.__m(t,_),o=!1),_=null}if(null===b)m===v||o&&e.data===v||(e.data=v);else{if(_=_&&M.call(e.childNodes),m=n.props||P,!o&&null!=_)for(u=0,m={};u<e.attributes.length;u++)m[(p=e.attributes[u]).name]=p.value;for(u in m)if(p=m[u],\"children\"==u);else if(\"dangerouslySetInnerHTML\"==u)c=p;else if(!(u in v)){if(\"value\"==u&&\"defaultValue\"in v||\"checked\"==u&&\"defaultChecked\"in v)continue;ee(e,u,null,p,r)}for(u in v)p=v[u],\"children\"==u?d=p:\"dangerouslySetInnerHTML\"==u?a=p:\"value\"==u?f=p:\"checked\"==u?h=p:o&&\"function\"!=typeof p||m[u]===p||ee(e,u,p,m[u],r);if(a)o||c&&(a.__html===c.__html||a.__html===e.innerHTML)||(e.innerHTML=a.__html),t.__k=[];else if(c&&(e.innerHTML=\"\"),K(e,L(d)?d:[d],t,n,l,\"foreignObject\"===b?\"http://www.w3.org/1999/xhtml\":r,_,i,_?_[0]:n.__k&&G(n,0),o,s),null!=_)for(u=_.length;u--;)D(_[u]);o||(u=\"value\",\"progress\"===b&&null==f?e.removeAttribute(\"value\"):void 0===f||f===e[u]&&(\"progress\"!==b||f)&&(\"option\"!==b||f===m[u])||ee(e,u,f,m[u],r),u=\"checked\",void 0!==h&&h!==e[u]&&ee(e,u,h,m[u],r))}return e}(n.__e,t,n,l,r,_,i,s,u);(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 ei(e,t,n){return this.constructor(e,n)}var eo=0;function es(e,t){var n={__c:t=\"__cC\"+eo++,__: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 eu=0;var ea=[];var ec=$.__b;var ed=$.__r;var ep=$.diffed;var ef=$.__c;var eh=$.unmount;var em=$.__;function ev(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,eg(eB,e)}function eg(e,t,n){var l=ev(w++,2);if(l._reducer=e,!l.__c&&(l.__=[n?n(t):eB(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!_||_.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)&&(!_||_.call(this,e,t,n))};S._hasScuFromHooks=!0;var _=S.shouldComponentUpdate;var i=S.componentWillUpdate;S.componentWillUpdate=function(e,t,n){if(this.__e){var l=_;_=void 0,r(e,t,n),_=l}i&&i.call(this,e,t,n)},S.shouldComponentUpdate=r}return l.__N||l.__}function ey(e){return eu=5,eS(function(){return{current:e}},[])}function ew(e,t,n){var l,r;eu=6,l=null==n?n:n.concat(e),r=ev(w++,4),!$.__s&&eT(r.__H,l)&&(r.__=function(){return\"function\"==typeof e?(e(t()),function(){return e(null)}):e?(e.current=t(),function(){return e.current=null}):void 0},r._pendingArgs=l,S.__h.push(r))}function eS(e,t){var n=ev(w++,7);return eT(n.__H,t)&&(n.__=e(),n.__H=t,n.__h=e),n.__}function ek(e,t){return eu=8,eS(function(){return e},t)}function ex(e){var t=S.context[e.__c];var n=ev(w++,9);return(n.c=e,t)?(null==n.__&&(n.__=!0,t.sub(S)),t.props.value):e.__}function eI(){var e;for(;e=ea.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(eC),e.__H.__h.forEach(eA),e.__H.__h=[]}catch(t){e.__H.__h=[],$.__e(t,e.__v)}}$.__b=function(e){S=null,ec&&ec(e)},$.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),em&&em(e,t)},$.__r=function(e){ed&&ed(e),S=e.__c,w=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(eC),t.__h.forEach(eA),t.__h=[],w=0)),k=S},$.diffed=function(e){ep&&ep(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(1===ea.push(t)||x!==$.requestAnimationFrame)&&((x=$.requestAnimationFrame)||function(e){var t,n=function(){clearTimeout(l),eE&&cancelAnimationFrame(t),setTimeout(e)};var l=setTimeout(n,100);eE&&(t=requestAnimationFrame(n))})(eI),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(eC),e.__h=e.__h.filter(function(e){return!e.__||eA(e)})}catch(n){t.some(function(e){e.__h&&(e.__h=[])}),t=[],$.__e(n,e.__v)}}),ef&&ef(e,t)},$.unmount=function(e){eh&&eh(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach(function(e){try{eC(e)}catch(e){t=e}}),n.__H=void 0,t&&$.__e(t,n.__v))};var eE=\"function\"==typeof requestAnimationFrame;function eC(e){var t=S;var n=e.__c;\"function\"==typeof n&&(e.__c=void 0,n()),S=t}function eA(e){var t=S;e.__c=e.__(),S=t}function eT(e,t){return!e||e.length!==t.length||t.some(function(t,n){return t!==e[n]})}function eB(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 eN(e,t){this.props=e,this.context=t}function eO(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}eN.prototype=new H,eN.prototype.isPureReactComponent=!0,eN.prototype.shouldComponentUpdate=function(e,t){return eP(this.props,e)||eP(this.state,t)};var eL=$.__b;$.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),eL&&eL(e)};var eR=\"undefined\"!=typeof Symbol&&Symbol.for&&Symbol.for(\"react.forward_ref\")||3911;function eD(e){function t(t){var n=eW({},t);return delete n.ref,e(n,t.ref||null)}return t.$$typeof=eR,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName=\"ForwardRef(\"+(e.displayName||e.name)+\")\",t}var eM=$.__e;$.__e=function(e,t,n,l){if(e.then){var r;var _=t;for(;_=_.__;)if((r=_.__c)&&r.__c)return null==t.__e&&(t.__e=n.__e,t.__k=n.__k),r.__c(e,t)}eM(e,t,n,l)};var e$=$.unmount;function eF(){this.__u=0,this._suspenders=null,this.__b=null}function eV(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),e$&&e$(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=eV(l.__v);var _=!1;var i=function(){_||(_=!0,n.__R=null,r?r(o):o())};n.__R=i;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(i,i)},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 ej=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 H,eU.prototype.__a=function(e){var t=this;var n=eV(t.__v);var l=t._map.get(e);return l[0]++,function(r){var _=function(){t.props.revealOrder?(l.push(r),ej(t,e,l)):r()};n?n(_):_()}},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||(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},eU.prototype.componentDidUpdate=eU.prototype.componentDidMount=function(){var e=this;this._map.forEach(function(t,n){ej(e,n,t)})};var eH=\"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 eG=$.event;function eJ(){}function eq(){return this.cancelBubble}function ez(){return this.defaultPrevented}$.event=function(e){return eG&&(e=eG(e)),e.persist=eJ,e.isPropagationStopped=eq,e.isDefaultPrevented=ez,e.nativeEvent=e};var eY=$.vnode;function eX(e,t){var n;return n=ev(w++,3),void(!$.__s&&eT(n.__H,t)&&(n.__=e,n._pendingArgs=t,S.__H.__h.push(n)))}function eK(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 eZ(e){for(let t in e)return!1;return!0}function eQ(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,t){let n={};for(let l of t)l in e&&(n[l]=e[l]);return n}function e1(e){return\"undefined\"!=typeof __LoadLepusChunk&&(!!globalThis.lynxWorkletImpl||__LoadLepusChunk(\"worklet-runtime\",{dynamicComponentEntry:e,chunkType:0}))}function e8(e,t){var n,l;return null==(n=(l=globalThis).runWorklet)?void 0:n.call(l,e,t)}function e5(e,t){var n;null==(n=globalThis.lynxWorkletImpl)||n._refImpl.updateWorkletRef(e,t)}function e2(e){var t;null==(t=globalThis.lynxWorkletImpl)||t._eomImpl.setShouldFlush(e)}function e3(e,t,n,l){var r,_,i,o;null==(_=globalThis.lynxWorkletImpl)||null==(r=_._jsFunctionLifecycleManager)||r.addRef(e._execId,e),n&&t&&(null==(i=globalThis.lynxWorkletImpl)||i._hydrateCtx(e,t)),n&&(null==(o=globalThis.lynxWorkletImpl)||o._eventDelayImpl.runDelayedWorklet(e,l))}$.vnode=function(e){e.$$typeof=eH,eY&&eY(e)},(p=I||(I={})).runWorkletCtx=\"Lynx.Worklet.runWorkletCtx\",p.runOnBackground=\"Lynx.Worklet.runOnBackground\",p.FunctionCallRet=\"Lynx.Worklet.FunctionCallRet\",p.releaseBackgroundWorkletCtx=\"Lynx.Worklet.releaseBackgroundWorkletCtx\",p.releaseWorkletRef=\"Lynx.Worklet.releaseWorkletRef\";let e9=!1;function e4(e){var t,n,l;!e&&e9&&(null==(t=globalThis.lynxWorkletImpl)||t._runOnBackgroundDelayImpl.runDelayedBackgroundFunctions(),null==(n=globalThis.lynxWorkletImpl)||n._refImpl.clearFirstScreenWorkletRefMap(),null==(l=globalThis.lynxWorkletImpl)||l._eventDelayImpl.clearDelayedWorklets()),e9=e}(f=E||(E={})).firstScreen=\"rLynxFirstScreen\",f.updateFromRoot=\"updateFromRoot\",f.globalEventFromLepus=\"globalEventFromLepus\",f.jsReady=\"rLynxJSReady\",f.patchUpdate=\"rLynxChange\",f.publishEvent=\"rLynxPublishEvent\",f.updateMTRefInitValue=\"rLynxChangeRefInitValue\",(h=C||(C={}))[h.UPDATE=0]=\"UPDATE\",h[h.RESET=1]=\"RESET\";let e7=[];function e6(){let e=e7;e7=[];for(let t=0;t<e.length;t+=2){let n=e[t];let l=e[t+1];\"_wvid\"in n?e5(n,l):\"_wkltId\"in n&&(n._unmount=e8(n,[{elementRefptr:l}]))}}function te(e){\"_wvid\"in e?e5(e,null):\"_wkltId\"in e&&(\"function\"==typeof e._unmount?e._unmount():e8(e,[null]))}function tt(e,t,n,l,r){var _,i;if(!e.__elements)return;n&&(null==(_=e.__worklet_ref_set)?void 0:_.has(n))&&(te(n),null==(i=e.__worklet_ref_set)||i.delete(n));let o=e.__values[t];if(null==o);else if(o._wvid){let t=e.__elements[l];e7.push(o,t)}else if(o._wkltId){let t=e.__elements[l];e3(o,n,e9,t),e7.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)}const tn={};const tl={};const tr=new WeakMap;const t_=Promise.resolve();function ti(e,t){e.forEach(e=>{tr.has(e)||(tr.set(e,e.parentNode),Object.defineProperty(e,\"__parent\",{get:()=>tr.get(e),set:t=>{tr.set(e,t)}}))});let n=(e,l,r,_,i,o=!1,s=!1)=>{var u,a,c,d,p,f;let h=tn[l];let m=tl[l];if(!h||!m)throw Error(\"componentAtIndex called on removed list\");let v=null!=(c=r.__listItemPlatformInfo)?c:{};if((null==(u=r.__extraProps)?void 0:u.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,t_.then(()=>{o(n(e,l,r,_,i))}))},get:()=>t})})}if(\"object\"==typeof(f=null==(a=r.__extraProps)?void 0:a.isReady)&&null!==f&&\"function\"==typeof f.then)throw Error(\"componentAtIndex was called on a pending deferred list item\");let b=r.type+(null!=(d=v[\"reuse-identifier\"])?d:\"\");let g=m.get(b);if(r.__elements){let e=r.__elements[0];let t=__GetElementUniqueID(e);if(null==g?void 0:g.has(t))return h.set(t,r),g.delete(t),o?o&&s&&__FlushElementTree(e,{asyncFlush:!0}):__FlushElementTree(e,{triggerLayout:!0,operationID:_,elementID:t,listID:l}),t;{let e=r.takeElements();h.set(t,e)}}if(g&&g.size>0){let[n]=g;let[u,a]=n;g.delete(u),t(a,r),a.unRenderElements(),a.__id?(null==(p=a.__extraProps)?void 0:p.isReady)===1&&__OnLifecycleEvent([E.publishEvent,{handlerName:`${a.__id}:__extraProps:onRecycleComponent`,data:{}}]):a.tearDown();let c=r.__element_root;if(e6(),h.set(u,r),o){if(o&&s){let t={asyncFlush:!0};i&&(t.listReuseNotification={listElement:e,itemKey:v[\"item-key\"]}),__FlushElementTree(c,t)}}else{let t={triggerLayout:!0,operationID:_,elementID:u,listID:l};i&&(t.listReuseNotification={listElement:e,itemKey:v[\"item-key\"]}),__FlushElementTree(c,t)}return u}r.ensureElements();let y=r.__element_root;__AppendElement(e,y);let w=__GetElementUniqueID(y);return e6(),h.set(w,r),o?o&&s&&__FlushElementTree(y,{asyncFlush:!0}):__FlushElementTree(y,{triggerLayout:!0,operationID:_,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 u=[];r.forEach((r,a)=>{let c=_[a];let d=e[r];if(!d)throw Error(\"childCtx not found\");let p=n(t,l,d,c,i,!0,o);\"number\"==typeof p||(s=!0),u.push(p)}),s&&Promise.all(u).then(e=>{__FlushElementTree(t,{triggerLayout:!0,operationIDs:_,elementIDs:e,listID:l})}),__FlushElementTree(t,{triggerLayout:!0,operationIDs:_,elementIDs:r.map((e,t)=>\"number\"==typeof u[t]?u[t]:-1),listID:l})}]}function to(){return(e,t,n)=>{var l,r;let _=tn[t];let i=tl[t];if(!_||!i)throw Error(\"enqueueComponent called on removed list\");let o=_.get(n);if(!o)return;let s=null!=(l=o.__listItemPlatformInfo)?l:{};let u=o.type+(null!=(r=s[\"reuse-identifier\"])?r:\"\");i.has(u)||i.set(u,new Map),i.get(u).set(n,o)}}const ts={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 tu(e,t){var n,l;null==(n=e.__worklet_ref_set)||n.forEach(e=>{e&&te(e)}),null==(l=e.__worklet_ref_set)||l.clear(),t&&e.childNodes.forEach(e=>{tu(e,t)})}function ta(e,t,n,l){let r;let _=e.__values[t];r=\"string\"==typeof _?_:`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 tc(e,t,n,l){let r=0;let _={$$diff:!0,i:{},r:[],m:{}};let i={};for(let t=0;t<e.length;t++){var o,s;let n=e[t];(null!=(s=i[o=n.type])?s:i[o]=new Set).add([n,t])}for(let e=0;e<t.length;e++){let o;let s=t[e];let u=i[s.type];if(u&&u.size>0&&([o]=u,o)&&n(o[0],s)){u.delete(o);let t=o[1];if(l(o[0],s,t,e),t<r){_.m[t]=e;continue}r=t}else _.i[e]=s}for(let e in i)for(let[,t]of i[e])_.r.push(t);return _}function td(e,t,n){let l;t.__elements=e.__elements,t.__element_root=e.__element_root,(null==n?void 0:n.skipUnRef)||tu(e,!1),(l=null==n?void 0:n.swap)&&(l[e.__id]=t.__id),ts.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 _=e.childNodes;let i=t.childNodes;r.forEach(([l,r],o)=>{switch(l){case A.Slot:case A.MultiChildren:td(_[o],i[o],n);break;case A.Children:{let t=tc(_,i,(e,t)=>e.type===t.type,(e,t)=>{td(e,t,n)});(function(e,t,n,l,r){let _;if(!(!eZ(t.i)||!eZ(t.m)||t.r.length>0))return e;let i=new Set(t.r);let{i:o,m:s}=t;let u=new Map;let a=0;_=e[0];let c=[];let d=0;let p=0;let f=Object.keys(o).length;for(;_||f>0;){let t=!1;if(_&&i.has(p))l(_);else if(_&&void 0!==s[p])u.set(s[p],_),f++;else{let e=_;u.has(d)?(e=u.get(d),t=!0,r(e,_),f--):void 0!==o[d]&&(e=n(o[d],_),t=!0,f--),c.push(e),d++}_&&!t&&(_=e[++a],p++)}return c})(_,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 A.ListChildren:{let l=[];let o=[];let s=[];let u=__GetElementUniqueID(e.__elements[r]);let a=tn[u];let c=tl[u];let d=tc(_,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){td(e,t,n);let l=__GetElementUniqueID(e.__element_root);if(a.has(l)&&a.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 p={insertAction:o.map(e=>({position:e,type:i[e].type,...i[e].__listItemPlatformInfo})),removeAction:l,updateAction:s};let f=e.__elements[r];__SetAttribute(f,\"update-list-info\",p);let[h,m]=ti(i,td);__UpdateListCallbacks(f,h,to(),m),ts.clear(t.__id)}}})}(m=A||(A={}))[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 tp{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,td);return __UpdateListCallbacks(t,n,to(),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 _=[];let i=[];let o=0;for(let n=0;n<this.oldChildNodes.length;n++,o++){let s=this.oldChildNodes[n];l.has(s)&&i.push({...l.get(s),from:+o,to:+o,flush:!1,type:s.type}),t.has(s)&&t.get(s).forEach(e=>{_.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];_.push({position:o+e,type:t.type,...t.__listItemPlatformInfo})}if(_.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\")&&(i.length=0,this.list.childNodes.forEach((e,t)=>{i.push({...e.__listItemPlatformInfo,from:t,to:t,flush:!1,type:e.type})}))}return{insertAction:_,removeAction:r,updateAction:i}}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;const th=[[A.Children,0]];const tm={values:new Map([[\"root\",{create:()=>[e],update:[],slot:th,isListHolder:!1,cssId:0}],[\"wrapper\",{create:()=>[__CreateWrapperElement(tf)],update:[],slot:th,isListHolder:!1}],[null,{create:()=>[__CreateRawText(\"\")],update:[e=>{e.__elements&&__SetAttribute(e.__elements[0],\"text\",e.__values[0])}],slot:[],isListHolder:!1}]])};const tv={nextId:0,values:new Map,clear(){this.values.clear()}};function tb(e,t,n,l,r,_,i){var o;o=e,e=_?`${_}:${o}`:o;let s={create:t,update:n,slot:l,cssId:r,entryName:_,refAndSpreadIndexes:i};return tm.values.set(e,s),l&&l[0]&&l[0][0]===A.ListChildren&&(s.isListHolder=!0),e}function tg(e,t){let n=e.childNodes;for(let l of(t(e),n))tg(l,t)}const ty=\"__Card__\";class tw{ensureElements(){let{create:e,slot:t,isListHolder:n,cssId:l,entryName:r}=this.__snapshot_def;let _=e(this);if(this.__elements=_,this.__element_root=_[0],void 0===l?r!==ty&&void 0!==r&&__SetCSSId(this.__elements,0,r):r!==ty&&void 0!==r?__SetCSSId(this.__elements,l,r):__SetCSSId(this.__elements,l),ts.runWithoutUpdates(()=>{let e=this.__values;e&&(this.__values=void 0,this.setAttribute(\"values\",e))}),n)ts.flushWithId(this.__id);else{let e=0;let n=this.__firstChild;for(;n;){n.ensureElements();let[l,r]=t[e];switch(l){case A.Slot:__ReplaceElement(n.__element_root,_[r]),_[r]=n.__element_root,e++;break;case A.MultiChildren:\"wrapper\"===__GetTag(_[r])?__ReplaceElement(n.__element_root,_[r]):__AppendElement(_[r],n.__element_root),e++;break;case A.Children:case A.ListChildren:__AppendElement(_[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(tw.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,_;ts.values&&(null!=(_=(l=ts.values)[r=this.__id])?_:l[r]=new tp(this)).onInsertBefore(e,t),this.__insertBefore(e,t);return}let i=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];i&&__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===A.Slot?(__ReplaceElement(e.__element_root,o[r]),o[r]=e.__element_root):l===A.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;ts.values&&(null!=(r=(n=ts.values)[l=this.__id])?r:n[l]=new tp(this)).onRemoveChild(e),this.__removeChild(e),tg(e,e=>{tv.values.delete(e.__id)}),e.__id=0;return}if(tu(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 tn[n],delete tl[n]}(e),this.__removeChild(e),tg(e,e=>{e.__parent=null,e.__previousSibling=null,e.__nextSibling=null,delete e.__elements,delete e.__element_root,tv.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){eK(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=tm.values.get(e),!this.__snapshot_def&&\"div\"!==e)throw Error(\"Snapshot not found: \"+e);null!=t||(t=tv.nextId-=1),this.__id=t,tv.values.set(t,this)}}function tS(e){if(!lynx.getJSContext)throw Error(\"snapshotPatchApply failed: ctx not found\");lynx.getJSContext().dispatchEvent({type:\"Lynx.Error.CtxNotFound\",data:{id:e}})}function tk(e,n){var l,r;t&&(n||t.needTimestamps)&&(null==(r=lynx.performance)||null==(l=r._markTiming)||l.call(r,t.pipelineID,e))}let tx=0;function tI(){_=!0;let e=JSON.stringify(r);__OnLifecycleEvent([E.firstScreen,{root:e,jsReadyEventIdSwap:i}]),i={}}r=new tw(\"root\"),(v=T||(T={}))[v.Begin=0]=\"Begin\",v[v.End=1]=\"End\",v[v.Attr=2]=\"Attr\",v[v.Text=3]=\"Text\";const tE=[];const tC=Array.isArray;const tA=Object.assign;function tT(){this.__d=!0}const tB={};function tW(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=tB),null==n.__s&&(n.__s=n.state),l.getDerivedStateFromProps&&(n.state=tA({},n.state,l.getDerivedStateFromProps(n.props,n.state))),a&&a(e),n.render(n.props,n.state,t)}function tP(e,t,n){return this.constructor(e,n)}const tN=function(e,t){let n=$.__s;$.__s=!0,o=$.__b,s=$._diff2,u=$.diffed,a=$.__r,c=$.unmount;let l=V(j,null);l.__k=[e];let r=[];try{(function e(t,n,l,r,_,i,d){let p;if(null==t||!0===t||!1===t||\"\"===t)return;if(\"object\"!=typeof t){if(\"function\"==typeof t)return;i.push(3,t+\"\");return}if(tC(t)){_.__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,i.length)}return}t.__=_,o&&o(t),s&&s(t,tB);let f=t.type,h=t.props,m=n,v,b,g;if(\"function\"==typeof f){if(f===j)b=h.children;else{if(null!=(v=f.contextType)){let e=n[v.__c];m=e?e.props.value:v.__}if(f.prototype&&\"function\"==typeof f.prototype.render)b=tW(t,m),g=t.__c;else{g={__v:t,props:h,context:m,setState:tT,forceUpdate:tT,__d:!0,__h:[]},t.__c=g,g.constructor=f,g.render=tP;let e=0;for(;g.__d&&e++<25;)g.__d=!1,a&&a(t),b=g.render(h,g.state,m);g.__d=!0}null!=g.getChildContext&&(n=tA({},n,g.getChildContext()))}b=null!=b&&b.type===j&&null==b.key?b.props.children:b;try{e(b,n,l,r,t,i,i.length)}catch(_){if(_&&\"object\"==typeof _&&_.then&&g&&g.__c)g.setState({__a:!0}),g.__d&&(b=tW(t,n),g=t.__c,i.length=d,e(b,n,l,r,t,i,i.length));else throw _}finally{u&&u(t),t.__=void 0,c&&c(t)}return}for(let e in i.push(0,t),h){let t=h[e];switch(e){case\"children\":p=t;continue;case\"key\":case\"ref\":case\"__self\":case\"__source\":continue}null!=t&&!1!==t&&\"function\"!=typeof t&&i.push(2,e,t)}\"string\"==typeof p||\"number\"==typeof p?i.push(3,p):null!=p&&!1!==p&&!0!==p&&e(p,n,!1,r,t,i,i.length),u&&u(t),t.__=void 0,c&&c(t),i.push(1)})(e,t||tB,!1,void 0,l,r,0)}finally{$.__c&&$.__c(e,tE),$.__s=n,tE.length=0}return r};function tO(){let e;try{e=tN(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 T.Begin:{let r=n;(n=e[t+1]).__parent&&(n=new tw(n.type),e[t+1]=n),r.insertBefore(n),l.push(n),t+=2;break}case T.End:n.__k=void 0,l.pop(),n=l[l.length-1],t+=1;break;case T.Attr:{let l=e[t+1];let r=e[t+2];n.setAttribute(l,r),t+=3;break}case T.Text:{let l=e[t+1];let r=new tw(null);r.setAttribute(0,l),n.insertBefore(r),t+=2}}})(e,r)}function tL(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;_=!1,i={},lynx.__initData=null!=t?t:{},e=n=__CreatePage(\"0\",0),tf=__GetElementUniqueID(n),r.ensureElements(),tO(),ts.flush(),e6(),tI()},updatePage:function(n,l){var o,s,u;if(null==l?void 0:l.reloadTemplate){let t;return void(o=n,s=l,++tx,\"object\"!=typeof o||eZ(o)||Object.assign(lynx.__initData,o),tv.clear(),ts.clearAttachedLists(),i={},t=r,(r=new tw(\"root\")).__jsx=t.__jsx,tO(),td(t,r,{skipUnRef:!0}),ts.flush(),e6(),_&&__OnLifecycleEvent([E.firstScreen,{root:JSON.stringify(r)}]),__FlushElementTree(e,s))}if((null==l?void 0:l.resetPageData)&&(lynx.__initData={}),\"object\"==typeof n&&!eZ(n)){null!=(u=lynx).__initData||(u.__initData={}),Object.assign(lynx.__initData,n)}let a=null!=l?l:{};if(!_){let e=r;(r=new tw(\"root\")).__jsx=e.__jsx,t=null==l?void 0:l.pipelineOptions,tk(\"updateDiffVdomStart\"),ts.clearAttachedLists(),tO(),td(e,r,{skipUnRef:!0,swap:i}),ts.flush(),e6(),a.triggerDataUpdated=!0,tk(\"updateDiffVdomEnd\")}__FlushElementTree(e,a)},updateGlobalProps:function(t,n){n?__FlushElementTree(e,n):__FlushElementTree()},getPageData:function(){return null},removeComponents:function(){}}),Object.assign(globalThis,{[E.jsReady]:tI}),Object.assign(globalThis,{[E.patchUpdate]:function({data:l,patchOptions:r}){if(r.reloadVersion<tx)return;let _=r.flowIds;_&&lynx.performance.profileStart(\"ReactLynx::patch\",{flowId:_[0],flowIds:_}),t=r.pipelineOptions,tk(\"mtsRenderStart\"),tk(\"parseChangesStart\");let{patchList:i,flushOptions:o={},delayedRunOnMainThreadData:s}=JSON.parse(l);tk(\"parseChangesEnd\"),tk(\"patchChangesStart\"),r.isHydration&&e4(!0);try{for(let{snapshotPatch:e}of i)ts.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 tw(t,e[++n]);break}case 1:{let t=e[++n];let l=e[++n];let r=e[++n];let _=tv.values.get(t);let i=tv.values.get(l);let o=tv.values.get(r);_&&i?_.insertBefore(i,o):tS(_?l:t);break}case 2:{let t=e[++n];let l=e[++n];let r=tv.values.get(t);let _=tv.values.get(l);r&&_?r.removeChild(_):tS(r?l:t);break}case 3:{let t=e[++n];let l=e[++n];let r=e[++n];let _=tv.values.get(t);_?_.setAttribute(l,r):tS(t);break}case 4:{let t=e[++n];let l=e[++n];let r=tv.values.get(t);r?r.setAttribute(\"values\",l):tS(t)}}}(e),ts.flush()}finally{tk(\"patchChangesEnd\"),tk(\"mtsRenderEnd\"),r.isHydration&&e4(!1)}if(e6(),s&&(null!=n?n:n=eQ(2,13))){for(let e of(e2(!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)}e2(!0)}r.pipelineOptions&&(o.pipelineOptions=r.pipelineOptions),__FlushElementTree(e,o),_&&lynx.performance.profileEnd()}}),Object.assign(globalThis,{[E.updateMTRefInitValue]:function({data:e}){var t,n;(t=JSON.parse(e))&&(null==(n=globalThis.lynxWorkletImpl)||n._refImpl.updateWorkletRefInitValueChanges(t))}}),lynx.__initData={},globalThis.SystemInfo=null!=(b=lynx.SystemInfo)?b:{},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[tL(\"\")]&&(globalThis[tL(\"\")]=void 0),lynx.registerDataProcessors=function(e){let t=!1;globalThis.processData=(n,l)=>{let r;try{var _,i,o,s,u;r=l?null!=(s=null==e||null==(i=e.dataProcessors)||null==(_=i[l])?void 0:_.call(i,n))?s:n:null!=(u=null==e||null==(o=e.defaultDataProcessor)?void 0:o.call(e,n))?u: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(),(g=B||(B={}))[g.COMPOSED=-1]=\"COMPOSED\",g[g.PAN=0]=\"PAN\",g[g.FLING=1]=\"FLING\",g[g.DEFAULT=2]=\"DEFAULT\",g[g.TAP=3]=\"TAP\",g[g.LONGPRESS=4]=\"LONGPRESS\",g[g.ROTATION=5]=\"ROTATION\",g[g.PINCH=6]=\"PINCH\",g[g.NATIVE=7]=\"NATIVE\";const tR=[];class tD{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 tM(e){let t=JSON.parse(e.data);let n=d.get(t.resolveId);d.remove(t.resolveId),n(t.returnValue)}function t$(e){if(!(null!=l?l:l=eQ(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;let _=(d||(r=lynx.getJSContext(),d=new tD,r.addEventListener(I.FunctionCallRet,tM),tR.push(()=>{r.removeEventListener(I.FunctionCallRet,tM),d=void 0})),d.add(n));e._isFirstScreen?null==(l=globalThis.lynxWorkletImpl)||l._runOnBackgroundDelayImpl.delayRunOnBackground(e,(e,n)=>{tF(e,t,n,_)}):tF(e._jsFnId,t,e._execId,_)})}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 tV(e,t,n,l,r,_,i){let o;let s=e.__values[t];o=s?\"string\"==typeof s?s:`${e.__id}:${t}:${i}`:void 0,e.__values[t]=o,e.__elements&&__AddEvent(e.__elements[l],r,_,o)}function tU(e,t,n,l,r){if(!e.__elements)return;let _=e.__values[t];\"main-thread\"===r&&function e(t,n,l,r,_){var i;if(n&&null!=(i=n.__isSerialized)&&i)if(_&&_.domSet||(__SetAttribute(t,\"has-react-gesture\",!0),__SetAttribute(t,\"flatten\",!1)),n.type===B.COMPOSED)for(let[_,i]of n.gestures.entries())e(t,i,null==l?void 0:l.gestures[_],r,{domSet:!0});else{let{config:e,relationMap:_}=function(e,t,n,l){var r,_,i,o,s,u;let a={callbacks:[]};for(let r of(e.config&&(a.config=e.config),Object.keys(e.callbacks))){let _=e.callbacks[r];e3(_,null==t?void 0:t.callbacks[r],n,l),a.callbacks.push({name:r,callback:_})}return{config:a,relationMap:{waitFor:null!=(o=null==e||null==(r=e.waitFor)?void 0:r.map(e=>e.id))?o:[],simultaneous:null!=(s=null==e||null==(_=e.simultaneousWith)?void 0:_.map(e=>e.id))?s:[],continueWith:null!=(u=null==e||null==(i=e.continueWith)?void 0:i.map(e=>e.id))?u:[]}}}(n,l,r,t);__SetGestureDetector(t,n.id,n.type,e,_)}}(e.__elements[l],_,n,e9)}const tj=new Set([\"reuse-identifier\",\"recyclable\"]);const 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 tG(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&&(e3(s,n,e9,e.__elements[l]),__AddEvent(e.__elements[l],_,i,{type:\"worklet\",value:s}))}const tJ=/^(([A-Za-z-]*):)?(bind|catch|capture-bind|capture-catch|global-bind)([A-Za-z]+)$/;const tq={bind:\"bindEvent\",catch:\"catchEvent\",\"capture-bind\":\"capture-bind\",\"capture-catch\":\"capture-catch\",\"global-bind\":\"global-bindEvent\"};const tz=new Set([\"name\",\"clip-radius\",\"overlap\",\"exposure-scene\",\"exposure-id\"]);function tY(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 u=e0(n,tH);let a=e0(o,tH);eK(u,a)||(ts.values&&(null!=(i=(r=ts.values)[_=s.__id])?i:r[_]=new tp(s)).onSetAttribute(e,a,u),e.__listItemPlatformInfo=a,function(e,t,n,l){let r=e.__listItemPlatformInfo=e.__values[t];if(ts.values){var _,i,o;let t=e.parentNode;(null==t?void 0:t.__snapshot_def.isListHolder)&&(null!=(o=(_=ts.values)[i=t.__id])?o:_[i]=new tp(t)).onSetAttribute(e,r,n)}if(e.__elements){let n=e.__elements[l];let r=e.__values[t];for(let e in r)tj.has(e)||__SetAttribute(n,e,r[e])}}({__values:{get[t](){return a}},__id:e.__id,__elements:e.__elements},t,u,l))}if(\"__spread\"in o&&(o=function(e,t,n){let l={};let r=!1;for(let _ in n){let i=n[_];\"__spread\"===_||(\"class\"===_||\"className\"===_?(null!=i||(i=\"\"),l.className=i):\"ref\"===_?l[_]=i?1:void 0:\"function\"==typeof i?l[_]=`${e.__id}:${t}:${_}`:\"__self\"===_||\"__source\"===_||(!r&&tz.has(_)&&(r=!0),l[_]=i))}return r&&(l.flatten=!1),l}(e,t,o),e.__values[t]=o),!e.__elements)return;let u={};let a=null;for(let r in o){let _=o[r];if(_!==n[r])if(\"className\"===r)__SetClasses(e.__elements[l],_);else if(\"style\"===r)__SetInlineStyles(e.__elements[l],_);else if(\"id\"===r)__SetID(e.__elements[l],_);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),tt({__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(a=tJ.exec(r)){let i=a[2];let s=tq[a[3]];let u=a[4];let c={__values:{get[t](){return _},set[t](value){o[r]=value}},__id:e.__id,__elements:e.__elements};i?tG(c,t,n[r],l,i,s,u):tV(c,t,n[r],l,s,u,r)}else tH.has(r)||__SetAttribute(e.__elements[l],r,_);r.startsWith(\"data-\")&&(u[r.slice(5)]=_)}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),tt({__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 _=r.slice(0,-8);tU({__values:{get[t](){return}},__id:e.__id,__elements:e.__elements},t,n[r],l,_)}else if(a=tJ.exec(r)){let _=a[2];let i=tq[a[3]];let s=a[4];let u={__values:{get[t](){return},set[t](value){o[r]=value}},__id:e.__id,__elements:e.__elements};_?tG(u,t,n[r],l,_,i,s):tV(u,t,n[r],l,i,s,r)}else tH.has(r)||__SetAttribute(e.__elements[l],r,null);r.startsWith(\"data-\")&&(c=!0)}(c||!eZ(u))&&__SetDataset(e.__elements[l],u)}const tX=A.Slot;A.MultiChildren;const tK=A.Children;function tZ(e,t,n){if(\"string\"==typeof e){let n=new tw(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}}}A.ListChildren,[].slice;let tQ=0;class t0{get current(){}set current(e){}toJSON(){return{_wvid:this._wvid}}constructor(e,t){this._initValue=e,this._type=t,this._wvid=--tQ}}class t1 extends t0{constructor(e){super(e,\"main-thread\")}}function t8(e){return eS(()=>new t1(e),[])}class t5 extends Error{constructor(e,t){super(\"string\"==typeof t?t:\"unknown error\"),this.errorCode=e,this.detail=t}}const t2=(e,t)=>{var n;null==e||null==(n=e.current)||n.setNativeProps(t).exec()};const t3=(e,t=!1,n=\"\")=>new Promise((l,r)=>{let _;(_={relativeTo:t?\"screen\":n,androidEnableTransformProps:!0},new Promise((t,n)=>{var l;(null==e?void 0:e.current)?null==e||null==(l=e.current)||l.invoke({method:\"boundingClientRect\",params:_,success:e=>{t(e)},fail:e=>{n(new t5(e.code,JSON.stringify(e.data)))}}).exec():n(new t5(2,\"no node found for the ref\"))})).then(e=>{l(e)}).catch(e=>{r(e)})});const t9={_wkltId:\"ec97:c55d4:1\"};function t4(e,t,n){eS(()=>{},[e,ek(t,null!=n?n:[])]),eX()}e1(void 0===W?void 0:W)&®isterWorkletInternal(\"main-thread\",\"ec97:c55d4:1\",function(e){return lynx.querySelector(`#${e}`)});const t7=es({onAwareTriggerFocused:void 0,onAwareTriggerBlurred:void 0,keyboardAwareResponder:void 0,keyboardAwareResponderScrollInfoCollected:void 0});const t6=es({onInputFocused:void 0,onInputBlurred:void 0});const ne=eO(function(e){let{forceAttach:t=!1,androidStatusBarPlusBottomBarHeight:n=0,children:l}=e;let[r,_]=eb(0);let[i,o]=eb(0);let s=ey(null);let[u,a]=eb(s);let c=ey(null);let d=ey(!0);let p=ey(0);let f=ey(null);let h=ey();let m=(e,t,l)=>{e&&t&&(null==l?void 0:l.current)&&t3(f,!0).then(r=>{let{pixelHeight:_,pixelRatio:i,platform:o}=SystemInfo;h.current={scrollviewId:e,scrollContentId:t,dummyRefAtKeyboardHeight:l,marginBetweenScrollViewBottomAndScreenBottom:_/i-r.bottom-(\"Android\"===o?n:0)}})};let v=(e,t)=>{c.current=e,a(e),p.current=null!=t?t:0};let b=e=>{setTimeout(()=>{e.current&&c.current==e&&(a(s),c.current=null)},30)};let g=e=>{u.current&&u.current==e.current&&y()};let y=()=>{if(0!==r&&(null==f?void 0:f.current)&&(null==u?void 0:u.current))if(h.current){let{scrollviewId:e,scrollContentId:t,dummyRefAtKeyboardHeight:n,marginBetweenScrollViewBottomAndScreenBottom:l}=h.current;d.current&&t2(n,{height:`${r-l}px`}),w(e,t,-l,!0),d.current=!1}else S(u);else if(h.current){let{dummyRefAtKeyboardHeight:e}=h.current;t2(e,{height:\"0px\"}),(null==u?void 0:u.current)||(d.current=!0)}else t2(f,{transform:\"translateY(0px)\",transition:\"transform 0.2s\"}),o(0)};let w=(e,t,n,l)=>{t3(u,!1,t).then(t=>{t3(f,!0).then(_=>{let i;(i={index:0,offset:r+t.bottom-_.height-p.current+n,smooth:l},new Promise((t,n)=>{lynx.createSelectorQuery().select(`#${e}`).invoke({method:\"scrollTo\",params:i,success:e=>{t(e)},fail:e=>{n(new t5(e.code,JSON.stringify(e.data)))}}).exec()})).catch(()=>{})})})};let S=(e,l=\"transform 0.28s\")=>{t3(e,!0).then(e=>{let{pixelHeight:_,pixelRatio:s,platform:u}=SystemInfo;let a=_/s-e.bottom-(\"Android\"===u?n:0)-r+i+p.current;!t&&a>=0&&(a=0),t2(f,{transform:`translateY(${a}px)`,transition:l}),o(a)})};t4(\"keyboardstatuschanged\",(e,t,n)=>{null==_||_(\"on\"===e?t:0)},[]),eX();let k=eS(()=>({onAwareTriggerFocused:v,onAwareTriggerBlurred:b,onAwareTriggerLayoutChanged:g,keyboardAwareResponder:f,keyboardAwareResponderScrollInfoCollected:m}),[v,b,g,u,m]);return tZ(t7.Provider,{value:k,children:l})});function nt(e){let t=ey(e);t.current=eS(()=>e,[e]);let n=ey();return null!=n.current||(n.current=function(...e){return t.current.apply(this,e)}),n.current}function nn(){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 _=t.length;for(n=0;n<_;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}const nl=es({active:!1,disabled:!1});const nr=tb(\"__snapshot_11572_54683_1\",function(){return[__CreateView(tf)]},[(e,t,n)=>tY(e,t,n,0)],th,void 0,W,[0]);const n_=e=>{let{children:t,onClick:n,disabled:l=!1,style:r,className:_,buttonProps:i}=e;let[o,s]=eb(!1);let u=o&&!l;let a=\"function\"==typeof t?t({active:u,disabled:l}):t;let c=nt(()=>{l||s(!0)});let d=nt(()=>{if(s(!1),l)return});let p=nt(()=>{l||null==n||n()});let f=eS(()=>({active:u,disabled:l}),[u,l]);return tZ(nl.Provider,{value:f,children:tZ(nr,{values:[{bindtap:p,bindtouchstart:c,bindtouchend:d,bindtouchcancel:d,\"event-through\":!1,style:r,className:nn(_,{\"ui-active\":u,\"ui-disabled\":l}),...i,__spread:!0}],children:a})})};const ni=es({checked:!1,indeterminate:!1});const no=e=>{var t;let{style:n,className:l,children:r,onChange:_,checked:i,defaultChecked:o=!1,disabled:s=!1,indeterminate:u=!1,checkboxProps:a}=e;let c=void 0!==i;let[d,p]=eb(o);let f=c?i:d;let h=nt(e=>{c||p(e),null==_||_(e)});let m=nt(()=>{u?h(!0):h(!f)});let v=eS(()=>({checked:f,indeterminate:u}),[f,u]);return tZ(ni.Provider,{value:v,children:tZ(n_,{disabled:s,onClick:m,style:n,className:nn(l,{\"ui-indeterminate\":u,\"ui-checked\":i}),buttonProps:a,children:(t={checked:f,indeterminate:u},\"function\"==typeof r?e=>r({...t,...e}):r)})})};const ns=()=>{};const nu=eO(eD(function(e,t){let{id:n,readonly:l=!1,placeholder:r,type:_=\"text\",inputFilter:i,style:o,className:s,maxLength:u=140,defaultValue:a,value:c,confirmType:d=\"send\",showSoftInputOnFocus:p=!0,onFocus:f,onInput:h,onConfirm:m,onBlur:v,onSelectionChange:b}=e;let g=ey(void 0!==c);ey(null);let{onInputBlurred:y,onInputFocused:w}=ex(t6);return eX(),eX(),ew(),tZ(na,{values:[1,n,l,r,d,_,i,u,p,{_c:{controlled:g},_wkltId:\"8e1b:b8ce3:1\",_jsFn:{_jsFn1:{_isFirstScreen:!0}}},1,1,1,1,s,o]})}));const na=tb(\"__snapshot_8e1b3_b8ce3_1\",function(){let e=__CreateElement(\"input\",tf);return __SetAttribute(e,\"ignore-focus\",!0),[e]},[(e,t,n)=>ta(e,t,n,0),function(e){e.__elements&&__SetID(e.__elements[0],e.__values[1])},function(e){e.__elements&&__SetAttribute(e.__elements[0],\"readonly\",e.__values[2])},function(e){e.__elements&&__SetAttribute(e.__elements[0],\"placeholder\",e.__values[3])},function(e){e.__elements&&__SetAttribute(e.__elements[0],\"confirm-type\",e.__values[4])},function(e){e.__elements&&__SetAttribute(e.__elements[0],\"type\",e.__values[5])},function(e){e.__elements&&__SetAttribute(e.__elements[0],\"input-filter\",e.__values[6])},function(e){e.__elements&&__SetAttribute(e.__elements[0],\"maxlength\",e.__values[7])},function(e){e.__elements&&__SetAttribute(e.__elements[0],\"show-soft-input-on-focus\",e.__values[8])},(e,t,n)=>tG(e,t,n,0,\"main-thread\",\"bindEvent\",\"input\"),(e,t,n)=>tV(e,t,n,0,\"bindEvent\",\"focus\",\"\"),(e,t,n)=>tV(e,t,n,0,\"bindEvent\",\"blur\",\"\"),(e,t,n)=>tV(e,t,n,0,\"bindEvent\",\"confirm\",\"\"),(e,t,n)=>tV(e,t,n,0,\"bindEvent\",\"selection\",\"\"),function(e){e.__elements&&__SetClasses(e.__elements[0],e.__values[14]||\"\")},function(e){e.__elements&&__SetInlineStyles(e.__elements[0],e.__values[15])}],null,void 0,W,[0]);e1(void 0===W?void 0:W)&®isterWorkletInternal(\"main-thread\",\"8e1b:b8ce3:1\",function(e){let{_jsFn1:t}=this._jsFn;let{controlled:n}=this._c;n.current&&e.currentTarget.setAttribute(\"readonly\",!0),t$(t)(e.detail.value,e.detail.selectionStart,e.detail.selectionEnd,e.detail.isComposing,n.current)});const nc=eO(eD(function(e,t){let{id:n,readonly:l=!1,placeholder:r,lineSpacing:_,bounces:i=!0,maxLines:o=40,type:s=\"text\",inputFilter:u,style:a,className:c,maxLength:d=140,defaultValue:p,value:f,confirmType:h=\"send\",showSoftInputOnFocus:m=!0,onFocus:v,onInput:b,onConfirm:g,onBlur:y,onSelectionChange:w}=e;let S=ey(void 0!==f);ey(null);let{onInputBlurred:k,onInputFocused:x}=ex(t6);return eX(),eX(),ew(),tZ(nd,{values:[1,n,l,_,i,o,r,h,s,u,d,m,{_c:{controlled:S},_wkltId:\"7a79:a9994:1\",_jsFn:{_jsFn1:{_isFirstScreen:!0}}},1,1,1,1,c,a]})}));const nd=tb(\"__snapshot_7a793_a9994_1\",function(){let e=__CreateElement(\"textarea\",tf);return __SetAttribute(e,\"ignore-focus\",!0),[e]},[(e,t,n)=>ta(e,t,n,0),function(e){e.__elements&&__SetID(e.__elements[0],e.__values[1])},function(e){e.__elements&&__SetAttribute(e.__elements[0],\"readonly\",e.__values[2])},function(e){e.__elements&&__SetAttribute(e.__elements[0],\"line-spacing\",e.__values[3])},function(e){e.__elements&&__SetAttribute(e.__elements[0],\"bounces\",e.__values[4])},function(e){e.__elements&&__SetAttribute(e.__elements[0],\"maxlines\",e.__values[5])},function(e){e.__elements&&__SetAttribute(e.__elements[0],\"placeholder\",e.__values[6])},function(e){e.__elements&&__SetAttribute(e.__elements[0],\"confirm-type\",e.__values[7])},function(e){e.__elements&&__SetAttribute(e.__elements[0],\"type\",e.__values[8])},function(e){e.__elements&&__SetAttribute(e.__elements[0],\"input-filter\",e.__values[9])},function(e){e.__elements&&__SetAttribute(e.__elements[0],\"maxlength\",e.__values[10])},function(e){e.__elements&&__SetAttribute(e.__elements[0],\"show-soft-input-on-focus\",e.__values[11])},(e,t,n)=>tG(e,t,n,0,\"main-thread\",\"bindEvent\",\"input\"),(e,t,n)=>tV(e,t,n,0,\"bindEvent\",\"focus\",\"\"),(e,t,n)=>tV(e,t,n,0,\"bindEvent\",\"blur\",\"\"),(e,t,n)=>tV(e,t,n,0,\"bindEvent\",\"confirm\",\"\"),(e,t,n)=>tV(e,t,n,0,\"bindEvent\",\"selection\",\"\"),function(e){e.__elements&&__SetClasses(e.__elements[0],e.__values[17]||\"\")},function(e){e.__elements&&__SetInlineStyles(e.__elements[0],e.__values[18])}],null,void 0,W,[0]);e1(void 0===W?void 0:W)&®isterWorkletInternal(\"main-thread\",\"7a79:a9994:1\",function(e){let{_jsFn1:t}=this._jsFn;let{controlled:n}=this._c;n.current&&e.currentTarget.setAttribute(\"readonly\",!0),t$(t)(e.detail.value,e.detail.selectionStart,e.detail.selectionEnd,e.detail.isComposing,n.current)});const np=es({selectedValue:null,disabled:!1,handleValueChange:ns});const nf=e=>{let{children:t,onValueChange:n,defaultValue:l,value:r,disabled:_=!1}=e;let i=void 0!==r;let[o,s]=eb(null!=l?l:null);let u=i?r:o;let a=ey(null);let c=nt(e=>{a.current!==e&&(null==n||n(e),a.current=e)});let d=ek(e=>{i||s(e),c(e)},[i,c]);eX();let p=eS(()=>({selectedValue:u,handleValueChange:d,disabled:_}),[u,d,_]);let f=eS(()=>\"function\"==typeof t?t({value:u,disabled:_}):t,[t,u]);return tZ(np.Provider,{value:p,children:f})};function nh(e){let t=ey(e);return eX(),eS(()=>(...e)=>{var n;null==(n=t.current)||n.call(t,...e)},[])}es({value:\"\",disabled:!1}),tb(\"__snapshot_b3824_f71e7_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])}],th,void 0,W,null);const nm=es({checked:!1,disabled:!1,active:!1});const nv=tb(\"__snapshot_0277e_f0e1a_1\",function(){return[__CreateView(tf)]},[(e,t,n)=>tY(e,t,n,0)],th,void 0,W,[0]);function nb({style:e,className:t,children:n,onChange:l,checked:r,defaultChecked:_=!1,disabled:i=!1,switchProps:o}){let s=void 0!==r;let[u,a]=eb(_);let c=s?r:u;let{pressed:d,bindtap:p,bindtouchcancel:f,bindtouchend:h,bindtouchstart:m}=function({disabled:e=!1,onTap:t}={}){let[n,l]=eb(!1);let r=nh(()=>{e||l(!0)});let _=nh(()=>{l(!1)});return{pressed:n,bindtap:nh(()=>{e||null==t||t()}),bindtouchstart:r,bindtouchend:_,bindtouchcancel:_}}({disabled:i,onTap:()=>{let e=!c;s||a(e),null==l||l(e)}});let v=eS(()=>d&&!i,[d,i]);let b=eS(()=>({active:v,checked:c,disabled:i}),[v,c,i]);return tZ(nm.Provider,{value:b,children:tZ(nv,{values:[{bindtap:p,bindtouchstart:m,bindtouchend:h,bindtouchcancel:f,\"event-through\":!1,style:e,className:nn(t,{\"ui-active\":v,\"ui-checked\":c,\"ui-disabled\":i}),...o,__spread:!0}],children:\"function\"==typeof n?n(b):n})})}tb(\"__snapshot_0277e_f0e1a_2\",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]||\"\")}],th,void 0,W,null),tb(\"__snapshot_0277e_f0e1a_3\",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]||\"\")}],th,void 0,W,null);const ng=es(void 0);const ny=(e,t)=>{switch(t.type){case\"CHANGED\":{let{name:n,value:l}=t.payload;if(e[n]===l)return e;return{...e,[n]:l}}case\"UNREGISTER\":{let{name:n}=t.payload;if(!(n in e))return e;let{[n]:l,...r}=e;return r}default:return e}};const nw=()=>{let e=ex(ng);if(!e)throw Error(\"useForm must be used within a FormRoot\");return e};const nS=({children:e,initialValues:t,onSubmit:n,onChanged:l})=>{let[r,_]=eg(ny,null!=t?t:{});ey(!1),nt(null!=l?l:ns),eX();let i=nt((e,t)=>{_({type:\"CHANGED\",payload:{name:e,value:t}})});let o=nt(e=>{_({type:\"UNREGISTER\",payload:{name:e}})});let s=nt(()=>{null==n||n(r)});let u=eS(()=>({formData:r,onChanged:i,unregisterField:o,submit:s}),[r,i,o,s]);return tZ(ng.Provider,{value:u,children:e})};const nk=({as:e,name:t,children:n,onChanged:l,...r})=>{let{formData:_,onChanged:i,unregisterField:o}=nw();eX();let s=_[t];let u=e=>{i(t,e),null==l||l(e)};let a={...r,children:n};if(\"RadioGroupRoot\"===e)return tZ(nf,{onValueChange:u,defaultValue:s,...a});if(\"Input\"===e)return tZ(nu,{defaultValue:s,onInput:u,...a});if(\"TextArea\"===e)return tZ(nc,{defaultValue:s,onInput:u,...a});if(\"Checkbox\"===e)return tZ(no,{defaultChecked:s,onChange:u,...a});if(\"Switch\"===e)return tZ(nb,{defaultChecked:s,onChange:u,...a});throw Error(`FormField component does not support as=\"${String(e)}\"`)};const nx=({onSubmit:e,...t})=>{let{submit:n,formData:l}=nw();return tZ(n_,{onClick:()=>{n(),null==e||e(l)},...t})};const nI={onScroll:\"bindscroll\",onScrollStateChange:\"bindscrollstatechange\",onScrollToLower:\"bindscrolltolower\",onScrollToUpper:\"bindscrolltoupper\",onScrollEnd:\"bindscrollend\",onScrollToUpperEdge:\"bindscrolltoupperedge\",onScrollToLowerEdge:\"bindscrolltoloweredge\",onScrollToNormalState:\"bindscrolltonormalstate\"};const nE={onUIAppear:\"binduiappear\",onUIDisappear:\"binduidisappear\"};const nC={onLayoutChange:\"bindlayoutchange\"};const 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\"};e1(void 0===W?void 0:W)&®isterWorkletInternal(\"main-thread\",\"eb73:31a1b:1\",function(e){let{events:t,event:n}=this._c;t[n]&&t[n](e)});const nT=eO(eD(function(e,t){let{pid:n,scene:l,estimatedStyle:r,top:_=\"10px\",bottom:i=\"10px\",left:o=\"10px\",right:s=\"10px\",unmountOnExit:u,unloadable:a=!1,children:c}=e;let d=null!=u?u:a;let[p,f]=eb(!1);let h=ey(void 0);if(t4(\"exposure\",()=>{},[p]),t4(\"disexposure\",()=>{},[d]),!d)return p?c:tZ(nB,{values:[_,i,o,s,n,l,r]});{var m,v,b,g;let{width:e,height:t,...u}=r;return tZ(nW,{values:[_,i,o,s,n,l,1,p?{}:{width:null!=(b=null==(m=h.current)?void 0:m.width)?b:e,height:null!=(g=null==(v=h.current)?void 0:v.height)?g:t,...u}],children:p&&c})}}));const nB=tb(\"__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,W,null);const nW=tb(\"__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)=>tV(e,t,n,0,\"bindEvent\",\"layoutchange\",\"\"),function(e){e.__elements&&__SetInlineStyles(e.__elements[0],e.__values[7])}],th,void 0,W,null);const nP=tb(\"__snapshot_4ab23_9c9de_1\",function(){return[__CreateScrollView(tf)]},[(e,t,n)=>tY(e,t,n,0)],th,void 0,W,[0]);const nN=function(e){let{children:t,sticky:n,elementProps:l}=e;return tZ(nP,{values:[{...l,\"android-touch-slop\":\"page\",name:\"lepus\",flatten:!1,__spread:!0}],children:[n,t]})};const nO={_wkltId:\"333e:982fb:1\"};e1(void 0===W?void 0:W)&®isterWorkletInternal(\"main-thread\",\"333e:982fb:1\",function(e,...t){e&&console.info(...t)}),e1(void 0===W?void 0:W)&®isterWorkletInternal(\"main-thread\",\"a85b:ce1da:1\",function(){lynxWorkletImpl._workletMap[\"a85b:ce1da:1\"].bind(this);let{scrollOrientation:e}=this._c;return\"vertical\"===e}),e1(void 0===W?void 0:W)&®isterWorkletInternal(\"main-thread\",\"a85b:ce1da:2\",function(){return lynxWorkletImpl._workletMap[\"a85b:ce1da:2\"].bind(this),1/Number(SystemInfo.pixelRatio)}),e1(void 0===W?void 0:W)&®isterWorkletInternal(\"main-thread\",\"a85b:ce1da:3\",function(e){lynxWorkletImpl._workletMap[\"a85b:ce1da:3\"].bind(this);let{enableRTL:t}=this._c;return t.current?-e:e}),e1(void 0===W?void 0:W)&®isterWorkletInternal(\"main-thread\",\"a85b:ce1da:4\",function(){return lynxWorkletImpl._workletMap[\"a85b:ce1da:4\"].bind(this),\"Android\"===SystemInfo.platform}),e1(void 0===W?void 0:W)&®isterWorkletInternal(\"main-thread\",\"a85b:ce1da:5\",function(e){return lynxWorkletImpl._workletMap[\"a85b:ce1da:5\"].bind(this),!e||0===Object.keys(e).length}),e1(void 0===W?void 0:W)&®isterWorkletInternal(\"main-thread\",\"a85b:ce1da:6\",function(e){var t;lynxWorkletImpl._workletMap[\"a85b:ce1da:6\"].bind(this);let{isAndroid:n,selectorMT:l,containerID:r}=this._c;n()&&(null==(t=l(r))||t.setAttribute(\"enable-scroll\",e))}),e1(void 0===W?void 0:W)&®isterWorkletInternal(\"main-thread\",\"a85b:ce1da:7\",function(){lynxWorkletImpl._workletMap[\"a85b:ce1da:7\"].bind(this);let{mtsLog:e,debugLogEnabled:t,startTouch:n,bouncingTouchStartPosition:l,prevTouch:r,startBouncingTouch:_,startTouchBouncingDelta:i}=this._c;e(t,\"[lynx-ui-scroll-view][useBounce] clear touch info\"),n.current=null,l.current=0,r.current=null,_.current=null,i.current=0}),e1(void 0===W?void 0:W)&®isterWorkletInternal(\"main-thread\",\"a85b:ce1da:8\",function(e){lynxWorkletImpl._workletMap[\"a85b:ce1da:8\"].bind(this);let{temporaryValidVersionCheckForRAF:t}=this._c;t.current?requestAnimationFrame(e):setTimeout(e,8)}),e1(void 0===W?void 0:W)&®isterWorkletInternal(\"main-thread\",\"a85b:ce1da:9\",function(e){lynxWorkletImpl._workletMap[\"a85b:ce1da:9\"].bind(this);let{startTouch:t,startBouncingTouch:n,scrollOrientation:l,normalizedHorizontalValue:r}=this._c;if(null!==t.current)if(null===n.current)return\"vertical\"===l?e.touches[0].pageY-t.current[0].pageY:r(e.touches[0].pageX-t.current[0].pageX);else return\"vertical\"===l?e.touches[0].pageY-n.current[0].pageY:r(e.touches[0].pageX-n.current[0].pageX);return 0}),e1(void 0===W?void 0:W)&®isterWorkletInternal(\"main-thread\",\"a85b:ce1da:10\",function(){var e,t;lynxWorkletImpl._workletMap[\"a85b:ce1da:10\"].bind(this);let{bouncingPositionInfo:n,toUpper:l,toLower:r,alwaysBouncing:_,bouncingStatus:i,mtsLog:o,debugLogEnabled:s}=this._c;let u=null!=(t=null==(e=n.current)?void 0:e.bouncingOffset)?t:0;return l.current&&r.current?_?i.alwaysBouncing:i.noBouncing:(o(s,`[lynx-ui-scroll-view][useBounce] get bouncing status, initialLayoutPosition: 0, currentPosition: ${u}`),u>0)?i.upperBouncing:u<0?i.lowerBouncing:i.inScrollingRange}),e1(void 0===W?void 0:W)&®isterWorkletInternal(\"main-thread\",\"a85b:ce1da:11\",function(e){lynxWorkletImpl._workletMap[\"a85b:ce1da:11\"].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)}),e1(void 0===W?void 0:W)&®isterWorkletInternal(\"main-thread\",\"a85b:ce1da:12\",function(e){var t,n,l,r,_,i;lynxWorkletImpl._workletMap[\"a85b:ce1da:12\"].bind(this);let{mtsLog:o,isEmpty:s,bouncingPositionInfo:u,prevTouch:a,startTouch:c,bouncingTouchStartPosition:d,isVertical:p,debugLogEnabled:f,selectorMT:h,containerID:m,enableRTL:v}=this._c;if(isNaN(Number(e)))return void o(!0,\"[lynx-ui-scroll-view][useBounce] ERROR! bouncingOffset is NaN\");if(s(u.current))u.current.velocity=0;else{let t=Date.now()-u.current.timeStamp;let n=e-u.current.bouncingOffset||0;t>0&&(u.current.velocity=n/t)}if(u.current.bouncingOffset=e,u.current.timeStamp=Date.now(),0===e&&null!==a.current&&(c.current=a.current,d.current={}),p())o(f,`[lynx-ui-scroll-view][useBounce] apply transform, orientation: vertical, rawOffset: ${e}, containerTransform: translateY(${e}px)`),null==(t=h(m))||t.setStyleProperty(\"transform\",`translateY(${e}px)`),null==(n=h(`${m}-upperBounceWrapper`))||n.setStyleProperty(\"transform\",`translateY(${e}px)`),null==(l=h(`${m}-lowerBounceWrapper`))||l.setStyleProperty(\"transform\",`translateY(${e}px)`);else{let t=v.current?-e:e;o(f,`[lynx-ui-scroll-view][useBounce] apply transform, orientation: horizontal, rawOffset: ${e}, enableRTL: ${String(v.current)}, visualOffset: ${t}, containerTransform: translateX(${t}px)`),null==(r=h(m))||r.setStyleProperty(\"transform\",`translateX(${t}px)`),null==(_=h(`${m}-upperBounceWrapper`))||_.setStyleProperty(\"transform\",`translateX(${t}px)`),null==(i=h(`${m}-lowerBounceWrapper`))||i.setStyleProperty(\"transform\",`translateX(${t}px)`)}}),e1(void 0===W?void 0:W)&®isterWorkletInternal(\"main-thread\",\"a85b:ce1da:13\",function(e){lynxWorkletImpl._workletMap[\"a85b:ce1da:13\"].bind(this);let{_jsFn1:t}=this._jsFn;let{mtsLog:n,debugLogEnabled:l}=this._c;n(l,`[lynx-ui-scroll-view][useBounce] trigger scrollToBounces, direction: ${e?\"upper\":\"lower\"}`),t$(t)({direction:e?\"upper\":\"lower\"})}),e1(void 0===W?void 0:W)&®isterWorkletInternal(\"main-thread\",\"a85b:ce1da:14\",function(e,t){lynxWorkletImpl._workletMap[\"a85b:ce1da:14\"].bind(this);let{isVertical:n,height:l,width:r,isEmpty:_,startTouchBouncingDelta:i,bouncingTouchStartPosition:o,rubberC:s,mtsLog:u,debugLogEnabled:a,bouncingSetStyle:c}=this._c;let d=n()?l.current:r.current;let p=Math.abs(Number(_(i.current)?o.current:i.current));let f=d*p/((d-p)*s.current)||0;let h=o.current?f+e*t:e*t;let m=Math.max(0,(1-1/(h*s.current/d+1))*d);u(a,`[lynx-ui-scroll-view][useBounce] rubber effect, scrollViewFrameSize: ${d}, touchStartPosition: ${p}, deltaYForTouchStartPosition: ${f}, deltaYForNextPosition: ${h}, rubberBandingDistance: ${m}`),c(e*m)}),e1(void 0===W?void 0:W)&®isterWorkletInternal(\"main-thread\",\"a85b:ce1da:15\",function(e){lynxWorkletImpl._workletMap[\"a85b:ce1da:15\"].bind(this);let{getCurrentDelta:t,mtsLog:n,debugLogEnabled:l,toUpper:r,toLower:_,singleSidedBounce:i,enableScroll:o,rubberEffect:s}=this._c;let u=t(e);n(l,`[lynx-ui-scroll-view][useBounce] check crossing edge, delta: ${u}, toUpper: ${String(r.current)}, toLower: ${String(_.current)}`),!0===r.current&&u>0&&(\"both\"===i.current||\"upper\"===i.current)&&(o(!1),s(u>0?1:-1,u)),!0===_.current&&u<0&&(\"both\"===i.current||\"lower\"===i.current)&&(o(!1),s(u>0?1:-1,u)),o(!0)}),e1(void 0===W?void 0:W)&®isterWorkletInternal(\"main-thread\",\"a85b:ce1da:16\",function(){var e,t;lynxWorkletImpl._workletMap[\"a85b:ce1da:16\"].bind(this);let{bouncingPositionInfo:n,startBounceTriggerDistance:l,endBounceTriggerDistance:r,threshold:_}=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)>_()}),e1(void 0===W?void 0:W)&®isterWorkletInternal(\"main-thread\",\"a85b:ce1da:17\",function(){var e;lynxWorkletImpl._workletMap[\"a85b:ce1da:17\"].bind(this);let{mtsLog:t,debugLogEnabled:n,bouncingPositionInfo:l,touchingEndBouncingBackEnableFlag:r,beta:_,bouncingSetStyle:i,threshold:o,customRequestAnimationFrame:s}=this._c;t(n,\"[lynx-ui-scroll-view][useBounce] fling forward end\"),t(n,\"[lynx-ui-scroll-view][useBounce] bounce back starts\");let u=null!=(e=l.current.bouncingOffset)?e:0;let a=Date.now();let c=()=>{if(!1===!!r.current)return;let e=Date.now()-a;t(n,\"[lynx-ui-scroll-view][useBounce] touching end bouncing back frame\");let l=_.current*u;let d=(u+e/1e3*l)*Math.pow(Math.E,-_.current*(e/1e3));i(d),Math.abs(d)<o()?(i(0),t(n,\"[lynx-ui-scroll-view][useBounce] bounce back ends\")):s(c)};s(c),r.current=!0}),e1(void 0===W?void 0:W)&®isterWorkletInternal(\"main-thread\",\"a85b:ce1da:18\",function(e){var t,n;lynxWorkletImpl._workletMap[\"a85b:ce1da:18\"].bind(this);let{startTouch:l,mtsLog:r,debugLogEnabled:_,bouncingTouchStartPosition:i,bouncingPositionInfo:o,touchEndFrameEnableFlag:s,touchingEndBouncingBackEnableFlag:u,flingEndWithBouncingEnableFlag:a}=this._c;l.current=e.touches,r(_,\"[lynx-ui-scroll-view][useBounce] touch start\"),i.current=null!=(n=null==(t=o.current)?void 0:t.bouncingOffset)?n:0,s.current=!1,u.current=!1,a.current=!1}),e1(void 0===W?void 0:W)&®isterWorkletInternal(\"main-thread\",\"a85b:ce1da:19\",function(e){lynxWorkletImpl._workletMap[\"a85b:ce1da:19\"].bind(this);let{prevTouch:t,startTouch:n,mtsLog:l,getCurrentDelta:r,getBouncingStatus:_,bouncingStatus:i,enableScroll:o,rubberEffect:s,debugLogEnabled:u,alwaysBouncing:a,triggerRubberEffectIfCrossingEdge:c}=this._c;if(t.current=e.touches,null===n.current)l(!0,\"[lynx-ui-scroll-view][useBounce] ERROR! touch not started\");else{let t=r(e);switch(_()){case i.upperBouncing:o(!1),s(1,t),l(u,\"[lynx-ui-scroll-view][useBounce] touch move upper bouncing\");break;case i.lowerBouncing:o(!1),s(-1,t),l(u,\"[lynx-ui-scroll-view][useBounce] touch move lower bouncing\");break;case i.alwaysBouncing:l(u,\"[lynx-ui-scroll-view][useBounce] touch move always bouncing\"),a&&c(e);break;case i.inScrollingRange:l(u,\"[lynx-ui-scroll-view][useBounce] touch move in scrolling range\"),c(e)}}}),e1(void 0===W?void 0:W)&®isterWorkletInternal(\"main-thread\",\"a85b:ce1da:20\",function(){lynxWorkletImpl._workletMap[\"a85b:ce1da:20\"].bind(this);let{clearTouchInfo:e,enableScroll:t,mtsLog:n,debugLogEnabled:l,shouldBounceWhenTouchEnd:r,getBouncingStatus:_,bouncingPositionInfo:i,isOverTriggerDistance:o,triggerScrollToBouncesEvent:s,touchEndFrameEnableFlag:u,threshold:a,bouncingBack:c,flingDeceleratingRate:d,bouncingSetStyle:p,customRequestAnimationFrame:f}=this._c;if(e(),t(!0),n(l,\"[lynx-ui-scroll-view][useBounce] touch end\"),r(_())){var h,m,v,b;let e=Date.now();let t=null==(h=i.current)?void 0:h.velocity;let r=null!=(b=null==(m=i.current)?void 0:m.bouncingOffset)?b:0;o()&&s((null==(v=i.current)?void 0:v.bouncingOffset)>0);let _=t;let g=()=>{!1!==!!u.current&&(n(l,\"[lynx-ui-scroll-view][useBounce] touch end process frame\"),Math.abs(_)<=a()?c():(n(l,\"[lynx-ui-scroll-view][useBounce] fling down start\"),p(r+t*(Math.pow(d.current,Date.now()-e)-1)/Math.log(d.current)),_=t*Math.pow(d.current,Date.now()-e),u.current&&f(g)))};f(g),u.current=!0}}),e1(void 0===W?void 0:W)&®isterWorkletInternal(\"main-thread\",\"a85b:ce1da:21\",function(e){lynxWorkletImpl._workletMap[\"a85b:ce1da:21\"].bind(this);let{scrollX:t,scrollY:n,isEmpty:l,prevScroll:r,isVertical:_,normalizedHorizontalValue:i,scrollVelocity:o,mtsLog:s,debugLogEnabled:u}=this._c;if(t.current=e.detail.scrollLeft,n.current=e.detail.scrollTop,!l(r.current)){let t=r.current;let n=Date.now()-t.timestamp;if(n>0){let l=(_()?e.detail.scrollTop-t.detail.scrollTop:i(e.detail.scrollLeft-t.detail.scrollLeft))/n;Number.isFinite(l)&&(o.current=l)}}s(u,`[lynx-ui-scroll-view][useBounce] handle scroll near edge, scrollLeft: ${e.detail.scrollLeft}, scrollTop: ${e.detail.scrollTop}, velocity: ${o.current}`),r.current=e}),e1(void 0===W?void 0:W)&®isterWorkletInternal(\"main-thread\",\"a85b:ce1da:22\",function(e){lynxWorkletImpl._workletMap[\"a85b:ce1da:22\"].bind(this);let{mtsLog:t,debugLogEnabled:n,toUpper:l}=this._c;t(n,\"[lynx-ui-scroll-view][useBounce] upper disexposure\"),l.current=!1}),e1(void 0===W?void 0:W)&®isterWorkletInternal(\"main-thread\",\"a85b:ce1da:23\",function(e){lynxWorkletImpl._workletMap[\"a85b:ce1da:23\"].bind(this);let{mtsLog:t,debugLogEnabled:n,toUpper:l,singleSidedBounce:r,prevScroll:_,startBouncingTouch:i,prevTouch:o,startTouchBouncingDelta:s,bouncingPositionInfo:u,scrollVelocity:a,threshold:c,flingEndWithBouncingEnableFlag:d,bouncingBack:p,flingDeceleratingRate:f,bouncingSetStyle:h,isOverTriggerDistance:m,triggerScrollToBouncesEvent:v,customRequestAnimationFrame:b}=this._c;if(t(n,\"[lynx-ui-scroll-view][useBounce] upper exposure\"),l.current=!0,\"upper\"===r.current||\"both\"===r.current){if(_.current){var g,y;i.current=o.current,s.current=null!=(y=null==(g=u.current)?void 0:g.bouncingOffset)?y:0}else if(Math.abs(a.current)>c()){let e=a.current;let l=e;let r=Date.now();t(n,`[lynx-ui-scroll-view][useBounce] fling to upper event start, velocity: ${e}`);let _=!1;let i=()=>{if(!1===!!d.current)return void t(n,\"[lynx-ui-scroll-view][useBounce] flingEndWithBouncingEnableFlag early return\");if(Math.abs(l)<=c())d.current=!1,t(n,\"[lynx-ui-scroll-view][useBounce] fling to upper event end\"),t(n,\"[lynx-ui-scroll-view][useBounce] bouncing to upper event start\"),p();else{if(h(-(l*(Math.pow(f.current,Date.now()-r)-1)/Math.log(f.current))),!_&&m()){var o;v((null==(o=u.current)?void 0:o.bouncingOffset)>0),_=!0}l=e*Math.pow(f.current,Date.now()-r),d.current&&b(i)}};b(i),d.current=!0}}}),e1(void 0===W?void 0:W)&®isterWorkletInternal(\"main-thread\",\"a85b:ce1da:24\",function(e){lynxWorkletImpl._workletMap[\"a85b:ce1da:24\"].bind(this);let{mtsLog:t,debugLogEnabled:n,toLower:l}=this._c;t(n,\"[lynx-ui-scroll-view][useBounce] lower disexposure\"),l.current=!1}),e1(void 0===W?void 0:W)&®isterWorkletInternal(\"main-thread\",\"a85b:ce1da:25\",function(e){lynxWorkletImpl._workletMap[\"a85b:ce1da:25\"].bind(this);let{mtsLog:t,debugLogEnabled:n,toLower:l,singleSidedBounce:r,prevTouch:_,startBouncingTouch:i,startTouchBouncingDelta:o,bouncingPositionInfo:s,enableBounceEventInFling:u,scrollVelocity:a,threshold:c,flingEndWithBouncingEnableFlag:d,bouncingBack:p,flingDeceleratingRate:f,bouncingSetStyle:h,isOverTriggerDistance:m,triggerScrollToBouncesEvent:v,customRequestAnimationFrame:b}=this._c;if(t(n,\"[lynx-ui-scroll-view][useBounce] lower exposure\"),l.current=!0,\"lower\"===r.current||\"both\"===r.current){if(null!==_.current){var g,y;i.current=_.current,o.current=null!=(y=null==(g=s.current)?void 0:g.bouncingOffset)?y:0}else if(u&&a.current>0){let e=a.current;if(t(n,`[lynx-ui-scroll-view][useBounce] lower velocity: ${e}`),Math.abs(e)>c()){let l=e;let r=Date.now();t(n,`[lynx-ui-scroll-view][useBounce] fling to lower event start, velocity: ${e}`);let _=!1;let i=()=>{if(!1===!!d.current)return void t(n,\"[lynx-ui-scroll-view][useBounce] flingEndWithBouncingEnableFlag early return\");if(Math.abs(l)<=c())d.current=!1,t(n,\"[lynx-ui-scroll-view][useBounce] fling to lower event end\"),t(n,\"[lynx-ui-scroll-view][useBounce] bouncing to lower event start\"),p();else{if(h(-(l*(Math.pow(f.current,Date.now()-r)-1)/Math.log(f.current))),!_&&m()){var o;v((null==(o=s.current)?void 0:o.bouncingOffset)>0),_=!0}l=e*Math.pow(f.current,Date.now()-r),d&&b(i)}};b(i),d.current=!0}}}}),e1(void 0===W?void 0:W)&®isterWorkletInternal(\"main-thread\",\"a85b:ce1da:26\",function(e){var t,n,l,r,_,i;lynxWorkletImpl._workletMap[\"a85b:ce1da:26\"].bind(this);let{height:o,isAndroid:s,width:u}=this._c;o.current=null!=(_=s()?null==(t=e.params)?void 0:t.height:null==(n=e.detail)?void 0:n.height)?_:0,u.current=null!=(i=s()?null==(l=e.params)?void 0:l.width:null==(r=e.detail)?void 0:r.width)?i:0});const nL=tb(\"__snapshot_8d379_41c83_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\")],th,void 0,W,null);const nR=tb(\"__snapshot_8d379_41c83_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\")],th,void 0,W,null);const nD=tb(\"__snapshot_8d379_41c83_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)=>tG(e,t,n,0,\"main-thread\",\"bindEvent\",\"uidisappear\"),(e,t,n)=>tG(e,t,n,0,\"main-thread\",\"bindEvent\",\"uiappear\"),(e,t,n)=>tU(e,t,n,0,\"main-thread\")],null,void 0,W,null);const nM=tb(\"__snapshot_8d379_41c83_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)=>tG(e,t,n,0,\"main-thread\",\"bindEvent\",\"uidisappear\"),(e,t,n)=>tG(e,t,n,0,\"main-thread\",\"bindEvent\",\"uiappear\"),(e,t,n)=>tU(e,t,n,0,\"main-thread\")],null,void 0,W,null);const n$=tb(\"__snapshot_8d379_41c83_6\",function(){return[__CreateScrollView(tf)]},[(e,t,n)=>tY(e,t,n,0)],th,void 0,W,[0]);const nF=tb(\"__snapshot_8d379_41c83_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\")],[[tX,1],[tX,2]],void 0,W,null);const nV=function(e,t){var n,l,r,_;let i,o,s,u;let{children:a,bounceableOptions:c,sticky:d,elementProps:p,debugLog:f=!1,enableRTL:h=!1}=e;let m=null!=(n=p[\"scroll-x\"])?n:!1===p[\"scroll-y\"];let v=p.id;let{style:b}=p;let g=!1;let y={enableBounces:!1};\"boolean\"==typeof c?(g=c,y={enableBounces:!0,singleSidedBounce:\"both\",alwaysBouncing:!0,validAnimationVersion:!0}):\"object\"==typeof c&&(g=c.enableBounces,(y=c).singleSidedBounce=null!=(l=c.singleSidedBounce)?l:\"both\",y.alwaysBouncing=null==(r=c.alwaysBouncing)||r,y.validAnimationVersion=null==(_=c.validAnimationVersion)||_);let w=function(e){var t,n,l,r,_,i,o,s,u,a,c,d;let p=t8(.55);let f=t8(.99);let h=t8(15);let m=!!e.debugLog;let v=t8(null!=(t=e.bounceableOptions.singleSidedBounce)?t:\"both\");let b=t8(null);let g=t8(null);let y=t8(0);let w=t8({});let S=t8(null);let k=t8({});let x=t8({});let I=t8({});let E=t8(null!=(n=e.bounceableOptions.estimatedHeight)?n:SystemInfo.pixelHeight/SystemInfo.pixelRatio);let C=t8(null!=(l=e.bounceableOptions.estimatedWidth)?l:SystemInfo.pixelWidth/SystemInfo.pixelRatio);let A=t8(0);let T=t8(0);let B=t8(!1);let W=t8(!1);let P=t8(!1);let N=t8(!1);let O=t8(!1);let L=null!=(r=e.id)?r:\"bounceableContainer\";let{enableBounces:R,onScrollToBounces:D}=e.bounceableOptions;let M=null!=(_=e.bounceableOptions.alwaysBouncing)&&_;let $=null!=(i=e.scrollOrientation)?i:\"vertical\";let F=t8(null!=(o=e.enableRTL)&&o);let V=null==(s=e.bounceableOptions.enableBounceEventInFling)||s;let U=null!=(u=e.bounceableOptions.startBounceTriggerDistance)?u:0;let j=null!=(a=e.bounceableOptions.endBounceTriggerDistance)?a:0;let H=t8(null!=(c=e.bounceableOptions.validAnimationVersion)&&c);((e,...t)=>{e&&console.info(...t)})(m,`[lynx-ui-scroll-view][useBounce] init, enableBounces: ${R}, orientation: ${$}, enableRTL: ${null!=(d=e.enableRTL)&&d}`);let G={_c:{scrollOrientation:$},_wkltId:\"a85b:ce1da:1\"};let J={_wkltId:\"a85b:ce1da:2\"};let q={_c:{enableRTL:F},_wkltId:\"a85b:ce1da:3\"};let z={_wkltId:\"a85b:ce1da:4\"};let Y={_wkltId:\"a85b:ce1da:5\"};let X={_c:{isAndroid:z,selectorMT:t9,containerID:L},_wkltId:\"a85b:ce1da:6\"};let K={_c:{temporaryValidVersionCheckForRAF:H},_wkltId:\"a85b:ce1da:8\"};let Z={_c:{startTouch:b,startBouncingTouch:S,scrollOrientation:$,normalizedHorizontalValue:q},_wkltId:\"a85b:ce1da:9\"};let Q={_c:{bouncingPositionInfo:w,toUpper:N,toLower:O,alwaysBouncing:M,bouncingStatus:{alwaysBouncing:4,noBouncing:3,upperBouncing:1,lowerBouncing:2,inScrollingRange:0},mtsLog:nO,debugLogEnabled:m},_wkltId:\"a85b:ce1da:10\"};let ee={_c:{mtsLog:nO,isEmpty:Y,bouncingPositionInfo:w,prevTouch:g,startTouch:b,bouncingTouchStartPosition:x,isVertical:G,debugLogEnabled:m,selectorMT:t9,containerID:L,enableRTL:F},_wkltId:\"a85b:ce1da:12\"};let et={_c:{mtsLog:nO,debugLogEnabled:m},_wkltId:\"a85b:ce1da:13\",_jsFn:{_jsFn1:{_isFirstScreen:!0}}};let en={_c:{isVertical:G,height:E,width:C,isEmpty:Y,startTouchBouncingDelta:k,bouncingTouchStartPosition:x,rubberC:p,mtsLog:nO,debugLogEnabled:m,bouncingSetStyle:ee},_wkltId:\"a85b:ce1da:14\"};let el={_c:{bouncingPositionInfo:w,startBounceTriggerDistance:U,endBounceTriggerDistance:j,threshold:J},_wkltId:\"a85b:ce1da:16\"};let er={_c:{mtsLog:nO,debugLogEnabled:m,bouncingPositionInfo:w,touchingEndBouncingBackEnableFlag:W,beta:h,bouncingSetStyle:ee,threshold:J,customRequestAnimationFrame:K},_wkltId:\"a85b:ce1da:17\"};return{\"main-thread:bindtouchstart\":{_c:{startTouch:b,mtsLog:nO,debugLogEnabled:m,bouncingTouchStartPosition:x,bouncingPositionInfo:w,touchEndFrameEnableFlag:B,touchingEndBouncingBackEnableFlag:W,flingEndWithBouncingEnableFlag:P},_wkltId:\"a85b:ce1da:18\"},\"main-thread:bindtouchend\":{_c:{clearTouchInfo:{_c:{mtsLog:nO,debugLogEnabled:m,startTouch:b,bouncingTouchStartPosition:x,prevTouch:g,startBouncingTouch:S,startTouchBouncingDelta:k},_wkltId:\"a85b:ce1da:7\"},enableScroll:X,mtsLog:nO,debugLogEnabled:m,shouldBounceWhenTouchEnd:{_c:{bouncingStatus:{inScrollingRange:0,noBouncing:3,upperBouncing:1,lowerBouncing:2,alwaysBouncing:4},alwaysBouncing:M},_wkltId:\"a85b:ce1da:11\"},getBouncingStatus:Q,bouncingPositionInfo:w,isOverTriggerDistance:el,triggerScrollToBouncesEvent:et,touchEndFrameEnableFlag:B,threshold:J,bouncingBack:er,flingDeceleratingRate:f,bouncingSetStyle:ee,customRequestAnimationFrame:K},_wkltId:\"a85b:ce1da:20\"},\"main-thread:bindtouchmove\":{_c:{prevTouch:g,startTouch:b,mtsLog:nO,getCurrentDelta:Z,getBouncingStatus:Q,bouncingStatus:{upperBouncing:1,lowerBouncing:2,alwaysBouncing:4,inScrollingRange:0},enableScroll:X,rubberEffect:en,debugLogEnabled:m,alwaysBouncing:M,triggerRubberEffectIfCrossingEdge:{_c:{getCurrentDelta:Z,mtsLog:nO,debugLogEnabled:m,toUpper:N,toLower:O,singleSidedBounce:v,enableScroll:X,rubberEffect:en},_wkltId:\"a85b:ce1da:15\"}},_wkltId:\"a85b:ce1da:19\"},\"main-thread:bindlayoutchange\":{_c:{height:E,isAndroid:z,width:C},_wkltId:\"a85b:ce1da:26\"},\"main-thread:bindscroll\":{_c:{scrollX:A,scrollY:T,isEmpty:Y,prevScroll:I,isVertical:G,normalizedHorizontalValue:q,scrollVelocity:y,mtsLog:nO,debugLogEnabled:m},_wkltId:\"a85b:ce1da:21\"},onUpperExposure:{_c:{mtsLog:nO,debugLogEnabled:m,toUpper:N,singleSidedBounce:v,prevScroll:I,startBouncingTouch:S,prevTouch:g,startTouchBouncingDelta:k,bouncingPositionInfo:w,scrollVelocity:y,threshold:J,flingEndWithBouncingEnableFlag:P,bouncingBack:er,flingDeceleratingRate:f,bouncingSetStyle:ee,isOverTriggerDistance:el,triggerScrollToBouncesEvent:et,customRequestAnimationFrame:K},_wkltId:\"a85b:ce1da:23\"},onUpperDisexposure:{_c:{mtsLog:nO,debugLogEnabled:m,toUpper:N},_wkltId:\"a85b:ce1da:22\"},onLowerExposure:{_c:{mtsLog:nO,debugLogEnabled:m,toLower:O,singleSidedBounce:v,prevTouch:g,startBouncingTouch:S,startTouchBouncingDelta:k,bouncingPositionInfo:w,enableBounceEventInFling:V,scrollVelocity:y,threshold:J,flingEndWithBouncingEnableFlag:P,bouncingBack:er,flingDeceleratingRate:f,bouncingSetStyle:ee,isOverTriggerDistance:el,triggerScrollToBouncesEvent:et,customRequestAnimationFrame:K},_wkltId:\"a85b:ce1da:25\"},onLowerDisexposure:{_c:{mtsLog:nO,debugLogEnabled:m,toLower:O},_wkltId:\"a85b:ce1da:24\"}}}({bounceableOptions:y,debugLog:f,enableRTL:h,id:v,scrollOrientation:m?\"horizontal\":\"vertical\"});return g&&(y.upperBounceItem&&(i=tZ(nL,{values:[`${v}-upperBounceWrapper`,`position:absolute;${m?h?\"left:100%\":\"right:100%\":\"bottom:100%\"}; ${m?\"height:100%;\":\"width:100%;\"};${m?\"width:max-content\":\"height:max-content\"};`,p[\"main-thread:gesture\"]],children:y.upperBounceItem})),y.lowerBounceItem&&(o=tZ(nR,{values:[`${v}-lowerBounceWrapper`,`position:absolute;${m?h?\"right:100%\":\"left:100%\":\"top:100%\"}; ${m?\"height:100%;\":\"width:100%;\"};${m?\"width:max-content\":\"height:max-content\"};`,p[\"main-thread:gesture\"]],children:y.lowerBounceItem})),s=tZ(nD,{values:[`display: flex; flex-direction: column; overflow:hidden; height: ${m?\"100%\":\"1ppx\"}; width: ${m?\"1ppx\":\"100%\"};`,v,`${v}-upperExposureView`,w.onUpperDisexposure,w.onUpperExposure,p[\"main-thread:gesture\"]]}),u=tZ(nM,{values:[`display: flex; flex-direction: column; overflow:hidden; height: ${m?\"100%\":\"1ppx\"}; width: ${m?\"1ppx\":\"100%\"};`,v,`${v}-lowerExposureView`,w.onLowerDisexposure,w.onLowerExposure,p[\"main-thread:gesture\"]]})),tZ(nF,{values:[`${v}-BounceWrapper`,`display: flex; flex-direction: column; overflow:hidden; height: ${m?\"100%\":`${null==b?void 0:b.height}`}; width: ${m?`${null==b?void 0:b.width}`:\"100%\"};`,p[\"main-thread:gesture\"]],children:[tZ(n$,{values:[{...p,...w,bounces:!1,\"ios-enable-simultaneous-touch\":!0,name:\"lepus\",flatten:!1,__spread:!0}],children:[s,d,a,u]}),tZ(\"wrapper\",{children:[i,o]})]})};const nU=eO(eD(function(e,t){let{scrollviewId:n=\"scrollview\",horizontal:l=!1,style:r,children:_,scrollOrientation:i,lazyOptions:o,className:s=\"\",debugLog:u=!1,enableRTL:a=!1,bounceableOptions:c={enableBounces:!0,singleSidedBounce:\"iOSBounces\"},enableScroll:d=!0,enableScrollMonitor:p=!1,scrollMonitorTag:f,sticky:h,scrollPropagationBehavior:m=\"native\",temporaryBlockScrollClass:v=\"BDXLynxViewPager\",temporaryBlockScrollTag:b=0,temporaryNestedScroll:g,androidTouchSlop:y,\"main-thread:gesture\":w}=e;let S=ey({...nI,...nE,...nA,...nC,...nj});let k=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(t8(),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,S.current);let I={zIndex:0,...r};let E=()=>i?\"horizontal\"===i:l;let C=!1;let A={enableBounces:!1};if(\"boolean\"==typeof c)A={enableBounces:C=c,singleSidedBounce:\"both\",alwaysBouncing:!0,validAnimationVersion:!0};else if(\"object\"==typeof c){var T,B,W;C=c.enableBounces,(A=c).singleSidedBounce=null!=(T=c.singleSidedBounce)?T:\"both\",A.alwaysBouncing=null==(B=c.alwaysBouncing)||B,A.validAnimationVersion=null==(W=c.validAnimationVersion)||W}let P=C&&(null==A?void 0:A.singleSidedBounce)===\"iOSBounces\";let N=(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)?tZ(nT,{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 O={id:n,\"scroll-x\":E(),\"scroll-y\":!E(),\"enable-scroll-monitor\":p,\"scroll-monitor-tag\":f,\"main-thread:gesture\":w,\"force-can-scroll\":\"preventPropagate\"===m,\"ios-block-gesture-class\":\"preventPropagate\"===m?v:\"\",\"ios-recognized-view-tag\":\"preventPropagate\"===m?b:0,\"enable-nested-scroll\":\"Android\"===SystemInfo.platform?null==g||g:\"iOS\"!==SystemInfo.platform||\"propagate\"===m,\"enable-new-nested\":!0,className:s,style:I,bounces:P,\"enable-scroll\":d,...void 0!==y&&{\"android-touch-slop\":y},...x};return C&&\"iOSBounces\"!==A.singleSidedBounce&&\"none\"!==A.singleSidedBounce?tZ(nV,{elementProps:O,bounceableOptions:A,debugLog:u,enableRTL:a,sticky:h,children:N(_,k)}):tZ(nN,{elementProps:O,sticky:h,children:N(_,k)})}));const nj={onContentSizeChange:\"bindcontentsizechanged\",onWheel:\"bindwheel\"};const nH=eO(function(e){let{as:t=\"View\",scrollviewId:n=\"scrollview\",style:l,className:r,children:_,...i}=e;let{width:o=\"100%\",height:s=\"100%\",...u}=null!=l?l:{};let{keyboardAwareResponder:a,keyboardAwareResponderScrollInfoCollected:c}=ex(t7);return ey(null),eX(),tZ(nJ,{values:[{style:{width:o,height:s,...\"ScrollView\"===t?{}:u},className:\"ScrollView\"===t?void 0:r,...i,ref:a,flatten:!1,__spread:!0}],children:\"ScrollView\"===t?tZ(nU,{style:{width:\"100%\",height:\"100%\",...u},scrollviewId:n,className:r,...i,scrollOrientation:\"vertical\",children:tZ(nG,{values:[`keyboard-aware-trigger-scroll-content-${n}`,1],children:_})}):_})});const nG=tb(\"__snapshot_095ae_13587_2\",function(){let e=tf;let t=__CreateView(e);__SetInlineStyles(t,\"width:100%;display:linear;linear-orientation:vertical\");let n=__CreateWrapperElement(e);__AppendElement(t,n);let l=__CreateView(e);return __SetInlineStyles(l,\"width:1px\"),__AppendElement(t,l),[t,n,l]},[function(e){e.__elements&&__SetID(e.__elements[0],e.__values[0])},(e,t,n)=>ta(e,t,n,2)],[[tK,1]],void 0,W,[1]);const nJ=tb(\"__snapshot_095ae_13587_1\",function(){return[__CreateView(tf)]},[(e,t,n)=>tY(e,t,n,0)],th,void 0,W,[0]);const nq=eO(function(e){let{children:t,offset:n=0,...l}=e;let r=ey(0);let _=ey(null);let{onAwareTriggerFocused:i,onAwareTriggerBlurred:o,onAwareTriggerLayoutChanged:s}=ex(t7);let u=()=>{null==i||i(_,n)};let a=()=>{null==o||o(_)};let c=eS(()=>({onInputFocused:u,onInputBlurred:a}),[u,a]);return tZ(t6.Provider,{value:c,children:tZ(nz,{values:[{...l,ref:_,flatten:!1,\"ignore-focus\":!0,bindlayoutchange:e=>{lynx.requestAnimationFrame(()=>{r.current!=e.detail.height&&(r.current=e.detail.height,null==s||s(_))})},__spread:!0}],children:t})})});const nz=tb(\"__snapshot_f5e6a_757fa_1\",function(){return[__CreateView(tf)]},[(e,t,n)=>tY(e,t,n,0)],th,void 0,W,[0]);const nY=[{type:\"block\",key:\"spacer-intro\"},{type:\"input\",key:\"field-title\",name:\"title\",label:\"Title\",placeholder:\"Type here\"},{type:\"block\",key:\"spacer-1\"},{type:\"input\",key:\"field-subtitle\",name:\"subtitle\",label:\"Subtitle\",placeholder:\"Type here\"},{type:\"block\",key:\"spacer-2\"},{type:\"input\",key:\"field-email\",name:\"email\",label:\"Email\",placeholder:\"name@example.com\"},{type:\"block\",key:\"spacer-3\"},{type:\"input\",key:\"field-phone\",name:\"phone\",label:\"Phone\",placeholder:\"+1 234 567 890\"},{type:\"block\",key:\"spacer-4\"},{type:\"input\",key:\"field-website\",name:\"website\",label:\"Website\",placeholder:\"https://\"},{type:\"block\",key:\"spacer-5\"},{type:\"textarea\",key:\"field-description\",name:\"description\",label:\"Description(TextArea)\",placeholder:\"Write something...\"},{type:\"block\",key:\"spacer-outro\"},{type:\"input\",key:\"field-tag\",name:\"tag\",label:\"Tag\",placeholder:\"e.g. demo\"},{type:\"block\",key:\"spacer-tail\"}];const nX=Object.fromEntries(nY.filter(e=>\"input\"===e.type||\"textarea\"===e.type).map(e=>[e.name,\"\"]));const nK=tb(\"__snapshot_d93f0_4e9d9_3\",function(){let e=__CreateView(tf);return __SetClasses(e,\"block\"),[e]},null,null,void 0,W,null);const nZ=tb(\"__snapshot_d93f0_4e9d9_5\",function(){let e=__CreateText(tf);return __SetClasses(e,\"form-label\"),[e]},null,th,void 0,W,null);const nQ=tb(\"__snapshot_d93f0_4e9d9_6\",function(){let e=__CreateView(tf);return __SetClasses(e,\"input-container\"),[e]},null,th,void 0,W,null);const n0=tb(\"__snapshot_d93f0_4e9d9_4\",function(){let e=tf;let t=__CreateView(e);__SetClasses(t,\"form-card\");let n=__CreateWrapperElement(e);__AppendElement(t,n);let l=__CreateWrapperElement(e);return __AppendElement(t,l),[t,n,l]},null,[[tX,1],[tX,2]],void 0,W,null);const n1=tb(\"__snapshot_d93f0_4e9d9_8\",function(){let e=__CreateText(tf);return __SetClasses(e,\"form-label\"),[e]},null,th,void 0,W,null);const n8=tb(\"__snapshot_d93f0_4e9d9_9\",function(){let e=__CreateView(tf);return __SetClasses(e,\"form-textarea-wrap\"),[e]},null,th,void 0,W,null);const n5=tb(\"__snapshot_d93f0_4e9d9_7\",function(){let e=tf;let t=__CreateView(e);__SetClasses(t,\"form-card\");let n=__CreateWrapperElement(e);__AppendElement(t,n);let l=__CreateWrapperElement(e);return __AppendElement(t,l),[t,n,l]},null,[[tX,1],[tX,2]],void 0,W,null);const n2=tb(\"__snapshot_d93f0_4e9d9_10\",function(){let e=__CreateText(tf);return __SetClasses(e,\"submit-button-text\"),__SetAttribute(e,\"text\",\"Submit\"),[e]},null,null,void 0,W,null);const n3=tb(\"__snapshot_d93f0_4e9d9_11\",function(){let e=tf;let t=__CreateView(e);__SetClasses(t,\"form-values-display\");let n=__CreateText(e);return __SetClasses(n,\"form-values-text\"),__AppendElement(t,n),[t,n]},null,[[tK,1]],void 0,W,null);const n9=tb(\"__snapshot_d93f0_4e9d9_2\",function(){let e=tf;let t=__CreateView(e);__SetClasses(t,\"form-container\");let n=__CreateText(e);__SetClasses(n,\"form-title\"),__SetAttribute(n,\"text\",\"Keyboard-aware Form\"),__AppendElement(t,n);let l=__CreateText(e);__SetClasses(l,\"form-subtitle\"),__SetAttribute(l,\"text\",\"Form fields stay visible while typing in a long scroll.\"),__AppendElement(t,l);let r=__CreateView(e);__SetClasses(r,\"form-divider\"),__AppendElement(t,r);let _=__CreateWrapperElement(e);__AppendElement(t,_);let i=__CreateView(e);__SetClasses(i,\"form-divider\"),__AppendElement(t,i);let o=__CreateWrapperElement(e);__AppendElement(t,o);let s=__CreateView(e);return __SetClasses(s,\"bottom-spacer\"),__AppendElement(t,s),[t,n,l,r,_,i,o,s]},null,[[tX,4],[tX,6]],void 0,W,null);const n4=tb(\"__snapshot_d93f0_4e9d9_1\",function(){let e=__CreateView(tf);return __SetClasses(e,\"demo-container lunaris-dark luna-gradient-berry\"),[e]},null,th,void 0,W,null);({render:e=>{r.__jsx=e},registerDataProcessors:e=>{lynx.registerDataProcessors(e)}}).render(tZ(function(){let[e,t]=eb(null);return tZ(n4,{children:tZ(ne,{androidStatusBarPlusBottomBarHeight:74,children:tZ(nS,{initialValues:nX,children:tZ(nH,{as:\"ScrollView\",className:\"demo-canvas\",children:tZ(n9,{children:[tZ(\"wrapper\",{children:nY.map(e=>\"block\"===e.type?tZ(nK,{},e.key):\"input\"===e.type?tZ(nq,{offset:0,children:tZ(n0,{children:[tZ(nZ,{children:e.label}),tZ(nQ,{children:tZ(nk,{as:\"Input\",name:e.name,className:\"form-input\",placeholder:e.placeholder})})]})},e.key):tZ(nq,{offset:0,children:tZ(n5,{children:[tZ(n1,{children:e.label}),tZ(n8,{children:tZ(nk,{as:\"TextArea\",name:e.name,className:\"form-textarea\",placeholder:e.placeholder,maxLines:12,maxLength:600})})]})},e.key))}),tZ(\"wrapper\",{children:[tZ(nx,{className:\"submit-button\",onSubmit:e=>t(e),children:tZ(n2,{})}),e?tZ(n3,{children:JSON.stringify(e,null,2)}):null]})]})})})})})},{}));"},"customSections":{}}
|