@lynx-example/lynx-ui-form 0.0.12 → 0.0.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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-bottom","48px"],["padding-left","16px"],["padding-right","16px"],["padding-top","96px"]]},{"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)"],["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":[[[".form-section-title"],[],[],[]]],"decl":[["color","var(--content-2)"],["font-size","16px"],["font-weight","600"],["margin-bottom","8px"]]},{"sel":[[[".form-field-description"],[],[],[]]],"decl":[["color","var(--content-muted)"],["font-size","14px"],["margin-bottom","8px"]]},{"sel":[[[".form-label"],[],[],[]]],"decl":[["color","var(--content)"],["font-size","14px"]]},{"sel":[[[".radio-group-container"],[],[],[]]],"decl":[["display","flex"],["flex-direction","column"],["gap","10px"],["width","100%"]]},{"sel":[[[".radio-item"],[],[],[]]],"decl":[["border-color","var(--line)"],["border-radius","12px"],["border-style","solid"],["border-width","1px"],["column-gap","12px"],["flex-direction","row"],["padding","10px"]]},{"sel":[[[".radio-indicator"],[],[],[]],[[".radio-item"],[],[],[]]],"decl":[["align-items","center"],["display","flex"]]},{"sel":[[[".radio-indicator"],[],[],[]]],"decl":[["border-color","var(--line)"],["border-radius","999px"],["border-style","solid"],["border-width","1px"],["height","22px"],["justify-content","center"],["width","22px"]]},{"sel":[[[".radio-indicator",".ui-checked"],[],[],[]]],"decl":[["border-color","var(--primary)"]]},{"sel":[[[".radio-indicator-checked-item"],[],[],[]]],"decl":[["background-color","var(--primary)"],["border-radius","999px"],["height","10px"],["width","10px"]]},{"sel":[[[".input-container"],[],[],[]]],"decl":[["border-color","var(--line)"],["border-radius","12px"],["border-style","solid"],["border-width","1px"],["margin-bottom","16px"],["width","100%"]]},{"sel":[[[".form-input"],[],[],[]]],"decl":[["caret-color","var(--primary)"],["color","var(--content)"],["font-size","14px"],["padding","12px"]]},{"sel":[[[".form-input"],["::part(input)::placeholder"],[],[]]],"decl":[["color","var(--content-faint)"]]},{"sel":[[[".checkbox-item"],[],[],[]]],"decl":[["align-items","center"],["column-gap","10px"],["display","flex"],["flex-direction","row"],["padding","4px 0"]]},{"sel":[[[".checkbox-indicator"],[],[],[]]],"decl":[["align-items","center"],["border-color","var(--line)"],["border-radius","4px"],["border-style","solid"],["border-width","1px"],["display","flex"],["height","20px"],["justify-content","center"],["width","20px"]]},{"sel":[[[".checkbox-indicator",".ui-checked"],[],[],[]]],"decl":[["background-color","var(--primary)"],["border-color","var(--primary)"]]},{"sel":[[[".checkbox-indicator-checked-item"],[],[],[]]],"decl":[["border-bottom","2px solid var(--primary-content)"],["border-left","2px solid var(--primary-content)"],["height","6px"],["transform","rotate(-45deg) translate(1px,-.5px)"],["width","11px"]]},{"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":[["border-color","var(--line)"],["border-radius","12px"],["border-style","dashed"],["border-width","1px"],["color","var(--content-subtle)"],["font-family","monospace"],["font-size","12px"],["margin-top","8px"],["padding","12px"],["white-space","pre-wrap"],["word-break","break-all"]]},{"sel":[[[".form-submitted-hint"],[],[],[]]],"decl":[["color","var(--content)"],["font-size","14px"]]},{"sel":[[[".min"],[],[],[]]],"decl":[["min-height","1px"],["min-width","1px"]]}]}},"manifest":{"/app-service.js":"\"use strict\";let e,t,n,r,l,o,i,u;var a,c,_,s,d,p,f,h,v,m,y,b,g,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 A=Array.isArray;function N(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 R={__e:function(e,t,n,r){var l,o,i;for(;t=t.__;)if((l=t.__c)&&!l.__)try{if((o=l.constructor)&&null!=o.getDerivedStateFromError&&(l.setState(o.getDerivedStateFromError(e)),i=l.__d),null!=l.componentDidCatch&&(l.componentDidCatch(e,r||{}),i=l.__d),i)return l.__E=l}catch(t){e=t}throw e}};var B=0;function M(e,t,n){var r,l,o,i={};for(o in t)\"key\"==o?r=t[o]:\"ref\"==o?l=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,r,l,null)}function F(e,t,n,r,l){var o={type:e,props:t,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:null==l?++B:l,__i:-1,__u:0};return null==l&&null!=R.vnode&&R.vnode(o),o}function $(e){return e.children}function U(e,t){this.props=e,this.context=t}function V(e,t){var n;if(null==t)return e.__?V(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?V(e):null}U.prototype.setState=function(e,t){var n;n=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=N({},this.state),\"function\"==typeof e&&(e=e(N({},n),this.props)),e&&N(n,e),null!=e&&this.__v&&(t&&this._sb.push(t),G(this))},U.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),G(this))},U.prototype.render=$;var H=[];var W=\"function\"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout;function G(e){(!e.__d&&(e.__d=!0)&&H.push(e)&&!z.__r++||a!==R.debounceRendering)&&((a=R.debounceRendering)||W)(z)}var J=function(e,t){return e.__v.__b-t.__v.__b};function z(){var e;for(H.sort(J);e=H.shift();)if(e.__d){var t=H.length;(function(e){var t=e.__v,n=t.__e,r=[],l=[];if(e.__P){var o=N({},t);o.__v=t.__v+1,R.vnode&&R.vnode(o),R.renderComponent&&R.renderComponent(o,e),et(e.__P,o,t,e.__n,e.__P.namespaceURI,32&t.__u?[n]:null,r,null==n?V(t):n,!!(32&t.__u),l),o.__v=t.__v,o.__.__k[o.__i]=o,en(r,o,l),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 r=t.__k[n];if(null!=r&&null!=r.__e){t.__e=t.__c.base=r.__e;break}}return e(t)}}(o)}})(e),H.length>t&&H.sort(J)}z.__r=0}function q(e,t,n,r,l,o,i,u,a,c,_){var s,d,p,f,h;var v=r&&r.__k||T;var m=t.length;for(n.__d=a,function(e,t,n){var r,l,o,i=t.length;var u=n.length,a=u;var c=0;for(r=0,e.__k=[];r<i;r++){if(null==(l=t[r])||\"boolean\"==typeof l||\"function\"==typeof l){l=e.__k[r]=null;continue}l=\"string\"==typeof l||\"number\"==typeof l||\"bigint\"==typeof l||l.constructor==String?e.__k[r]=F(null,l,null,null,null):A(l)?e.__k[r]=F($,{children:l},null,null,null):void 0===l.constructor&&l.__b>0?e.__k[r]=F(l.type,l.props,l.key,l.ref?l.ref:null,l.__v):e.__k[r]=l;var _=r+c;l.__=e,l.__b=e.__b+1;var s=l.__i=function(e,t,n,r){var l=e.key;var o=e.type;var i=n-1;var u=n+1;var a=t[n];var c=r>+(null!=a&&(131072&a.__u)===0);if(null===a||a&&l==a.key&&o===a.type&&(131072&a.__u)===0)return n;if(c)for(;i>=0||u<t.length;){if(i>=0){if((a=t[i])&&(131072&a.__u)===0&&l==a.key&&o===a.type)return i;i--}if(u<t.length){if((a=t[u])&&(131072&a.__u)===0&&l==a.key&&o===a.type)return u;u++}}return -1}(l,n,_,a);o=null,-1!==s&&(o=n[s],a--,o&&(o.__u|=131072)),null==o||null===o.__v?(-1==s&&c--,\"function\"!=typeof l.type&&(l.__u|=65536)):s!==_&&(s==_-1?c--:s==_+1?c++:(s>_?c--:c++,l.__u|=65536))}if(a)for(r=0;r<u;r++)null!=(o=n[r])&&(131072&o.__u)===0&&(o.__e==e.__d&&(e.__d=V(o)),function e(t,n,r){var l;if(R.unmount&&R.unmount(t),(l=t.ref)&&(!l.current||l.current===t.__e)&&er(l,null,n),null!=(l=t.__c)){if(l.componentWillUnmount)try{l.componentWillUnmount()}catch(e){R.__e(e,n)}l.base=l.__P=null}if(l=t.__k)for(var o=0;o<l.length;o++)l[o]&&e(l[o],n,r||\"function\"!=typeof t.type);r||D(t.__e),t.__c=t.__=t.__e=t.__d=void 0}(o,o))}(n,t,v),a=n.__d,s=0;s<m;s++)null!=(p=n.__k[s])&&(d=-1===p.__i?O:v[p.__i]||O,p.__i=s,et(e,p,d,l,o,i,u,a,c,_),f=p.__e,p.ref&&d.ref!=p.ref&&(d.ref&&er(d.ref,null,p),_.push(p.ref,p.__c||f,p)),null==h&&null!=f&&(h=f),65536&p.__u||d.__k===p.__k?a=function e(t,n,r){if(\"function\"==typeof t.type){var l=t.__k;for(var o=0;l&&o<l.length;o++)l[o]&&(l[o].__=t,n=e(l[o],n,r));return n}t.__e!=n&&(n&&t.type&&!r.contains(n)&&(n=V(t)),r.insertBefore(t.__e,n||null),n=t.__e);do n=n&&n.nextSibling;while(null!=n&&8===n.nodeType);return n}(p,a,e):\"function\"==typeof p.type&&void 0!==p.__d?a=p.__d:f&&(a=f.nextSibling),p.__d=void 0,p.__u&=-196609);n.__d=a,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 X=0;function Y(e,t,n,r,l){var o;e:if(\"style\"===t)if(\"string\"==typeof n)e.style.cssText=n;else{if(\"string\"==typeof r&&(e.style.cssText=r=\"\"),r)for(t in r)n&&t in n||Q(e.style,t,\"\");if(n)for(t in n)r&&n[t]===r[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?r?n._attached=r._attached:(n._attached=X,e.addEventListener(t,o?ee:Z,o)):e.removeEventListener(t,o?ee:Z,o);else{if(\"http://www.w3.org/2000/svg\"==l)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 K(e){return function(t){if(this.l){var n=this.l[t.type+e];if(null==t._dispatched)t._dispatched=X++;else if(t._dispatched<n._attached)return;return n(R.event?R.event(t):t)}}}var Z=K(!1);var ee=K(!0);function et(e,t,n,r,l,o,i,u,a,c){var _,s,d,p,f,h,v,m=t.type;if(void 0!==t.constructor)return null;128&n.__u&&(a=!!(32&n.__u),o=[u=t.__e=n.__e]),(v=R.__b)&&v(t),(v=R._diff2)&&v(t,n);t:if(\"function\"==typeof m)try{var y=t.props;var b=\"prototype\"in m&&m.prototype.render;var g=(v=m.contextType)&&r[v.__c];var x=v?g?g.props.value:v.__:r;if(n.__c?h=(_=t.__c=n.__c).__=_.__E:(b?t.__c=_=new m(y,x):(t.__c=_=new U(y,x),_.constructor=m,_.render=el),g&&g.sub(_),_.props=y,_.state||(_.state={}),_.context=x,_.__n=r,s=_.__d=!0,_.__h=[],_._sb=[]),b&&null==_.__s&&(_.__s=_.state),b&&null!=m.getDerivedStateFromProps&&(_.__s==_.state&&(_.__s=N({},_.__s)),N(_.__s,m.getDerivedStateFromProps(y,_.__s))),d=_.props,p=_.state,_.__v=t,s)b&&null==m.getDerivedStateFromProps&&null!=_.componentWillMount&&_.componentWillMount(),b&&null!=_.componentDidMount&&_.__h.push(_.componentDidMount);else{if(b&&null==m.getDerivedStateFromProps&&y!==d&&null!=_.componentWillReceiveProps&&_.componentWillReceiveProps(y,x),!_.__e&&(null!=_.shouldComponentUpdate&&!1===_.shouldComponentUpdate(y,_.__s,x)||t.__v===n.__v)){t.__v!==n.__v&&(_.props=y,_.state=_.__s,_.__d=!1),t.__e=n.__e,t.__k=n.__k,t.__k.some(function(e){e&&(e.__=t)});for(var w=0;w<_._sb.length;w++)_.__h.push(_._sb[w]);_._sb=[],_.__h.length&&i.push(_);break t}null!=_.componentWillUpdate&&_.componentWillUpdate(y,_.__s,x),b&&null!=_.componentDidUpdate&&_.__h.push(function(){_.componentDidUpdate(d,p,f)})}_.context=x,_.props=y,_.__P=e,_.__e=!1;var S=R.__r,k=0;if(b){_.state=_.__s,_.__d=!1,S&&S(t),v=_.render(_.props,_.state,_.context);for(var C=0;C<_._sb.length;C++)_.__h.push(_._sb[C]);_._sb=[]}else do _.__d=!1,S&&S(t),v=_.render(_.props,_.state,_.context),_.state=_.__s;while(_.__d&&++k<25);_.state=_.__s,null!=_.getChildContext&&(r=N(N({},r),_.getChildContext())),b&&!s&&null!=_.getSnapshotBeforeUpdate&&(f=_.getSnapshotBeforeUpdate(d,p));var E=null!=v&&v.type===$&&null==v.key?v.props.children:v;q(e,A(E)?E:[E],t,n,r,l,o,i,u,a,c),_.base=t.__e,t.__u&=-161,_.__h.length&&i.push(_),h&&(_.__E=_.__=null)}catch(e){if(t.__v=null,a||null!=o){for(t.__u|=a?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;R.__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,r,l,o,i,u,a){var c,_,s,d,p,f,h,v=n.props;var m=t.props;var y=t.type;if(\"svg\"===y?l=\"http://www.w3.org/2000/svg\":\"math\"===y?l=\"http://www.w3.org/1998/Math/MathML\":l||(l=\"http://www.w3.org/1999/xhtml\"),null!=o){for(c=0;c<o.length;c++)if((p=o[c])&&\"setAttribute\"in p===!!y&&(y?p.localName===y:3===p.nodeType)){e=p,o[c]=null;break}}if(null==e){if(null===y)return R.document.createTextNode(m);e=R.document.createElementNS(l,y,m.is&&m),u&&(R.__m&&R.__m(t,o),u=!1),o=null}if(null===y)v===m||u&&e.data===m||(e.data=m);else{if(o=o&&j.call(e.childNodes),v=n.props||O,!u&&null!=o)for(c=0,v={};c<e.attributes.length;c++)v[(p=e.attributes[c]).name]=p.value;for(c in v)if(p=v[c],\"children\"==c);else if(\"dangerouslySetInnerHTML\"==c)s=p;else if(!(c in m)){if(\"value\"==c&&\"defaultValue\"in m||\"checked\"==c&&\"defaultChecked\"in m)continue;Y(e,c,null,p,l)}for(c in m)p=m[c],\"children\"==c?d=p:\"dangerouslySetInnerHTML\"==c?_=p:\"value\"==c?f=p:\"checked\"==c?h=p:u&&\"function\"!=typeof p||v[c]===p||Y(e,c,p,v[c],l);if(_)u||s&&(_.__html===s.__html||_.__html===e.innerHTML)||(e.innerHTML=_.__html),t.__k=[];else if(s&&(e.innerHTML=\"\"),q(e,A(d)?d:[d],t,n,r,\"foreignObject\"===y?\"http://www.w3.org/1999/xhtml\":l,o,i,o?o[0]:n.__k&&V(n,0),u,a),null!=o)for(c=o.length;c--;)D(o[c]);u||(c=\"value\",\"progress\"===y&&null==f?e.removeAttribute(\"value\"):void 0===f||f===e[c]&&(\"progress\"!==y||f)&&(\"option\"!==y||f===v[c])||Y(e,c,f,v[c],l),c=\"checked\",void 0!==h&&h!==e[c]&&Y(e,c,h,v[c],l))}return e}(n.__e,t,n,r,l,o,i,a,c);(v=R.diffed)&&v(t)}function en(e,t,n){t.__d=void 0;for(var r=0;r<n.length;r++)er(n[r],n[++r],n[++r]);R.__c&&R.__c(t,e),e.some(function(t){try{e=t.__h,t.__h=[],e.some(function(e){e.call(t)})}catch(e){R.__e(e,t.__v)}})}function er(e,t,n){try{if(\"function\"==typeof e){var r=\"function\"==typeof e.__u;r&&e.__u(),r&&null==t||(e.__u=e(t))}else e.current=t}catch(e){R.__e(e,n)}}function el(e,t,n){return this.constructor(e,n)}function eo(e,t,n){R.__&&R.__(e,t);var r=\"function\"==typeof n;var l=r?null:n&&n.__k||t.__k;e=(!r&&n||t).__k=M($,null,[e]);var o=[],i=[];et(t,e,l||O,O,t.namespaceURI,!r&&n?[n]:l?null:t.firstChild?j.call(t.childNodes):null,o,!r&&n?n:l?l.__e:t.firstChild,r,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 r={};r[t]=this,this.getChildContext=function(){return r},this.componentWillUnmount=function(){n=null},this.shouldComponentUpdate=function(e){this.props.value!==e.value&&n.some(function(e){e.__e=!0,G(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 ea=0;function ec(e,t,n,r,l,o){t||(t={});var i,u,a=t;if(\"ref\"in a)for(u in a={},t)\"ref\"==u?i=t[u]:a[u]=t[u];var c={type:e,props:a,key:n,ref:i,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:--ea,__i:-1,__u:0,__source:l,__self:o};if(\"function\"==typeof e&&(i=e.defaultProps))for(u in i)void 0===a[u]&&(a[u]=i[u]);return R.vnode&&R.vnode(c),c}var e_=0;var es=[];var ed=R.__b;var ep=R.__r;var ef=R.diffed;var eh=R.__c;var ev=R.unmount;var em=R.__;function ey(e,t){R.__h&&R.__h(_,e,e_||t),e_=0;var n=_.__H||(_.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({}),n.__[e]}function eb(e){return e_=1,eg(eL,e)}function eg(e,t,n){var r=ey(c++,2);if(r._reducer=e,!r.__c&&(r.__=[n?n(t):eL(void 0,t),function(e){var t=r.__N?r.__N[0]:r.__[0];var n=r._reducer(t,e);t!==n&&(r.__N=[n,r.__[1]],r.__c.setState({}))}],r.__c=_,!_._hasScuFromHooks)){var l=function(e,t,n){if(!r.__c.__H)return!0;var l=r.__c.__H.__.filter(function(e){return!!e.__c});if(l.every(function(e){return!e.__N}))return!o||o.call(this,e,t,n);var i=!1;return l.forEach(function(e){if(e.__N){var t=e.__[0];e.__=e.__N,e.__N=void 0,t!==e.__[0]&&(i=!0)}}),(!!i||r.__c.props!==e)&&(!o||o.call(this,e,t,n))};_._hasScuFromHooks=!0;var o=_.shouldComponentUpdate;var i=_.componentWillUpdate;_.componentWillUpdate=function(e,t,n){if(this.__e){var r=o;o=void 0,l(e,t,n),o=r}i&&i.call(this,e,t,n)},_.shouldComponentUpdate=l}return r.__N||r.__}function ex(e){return e_=5,eS(function(){return{current:e}},[])}function ew(e,t,n){var r,l;e_=6,r=null==n?n:n.concat(e),l=ey(c++,4),!R.__s&&eT(l.__H,r)&&(l.__=function(){return\"function\"==typeof e?(e(t()),function(){return e(null)}):e?(e.current=t(),function(){return e.current=null}):void 0},l._pendingArgs=r,_.__h.push(l))}function eS(e,t){var n=ey(c++,7);return eT(n.__H,t)&&(n.__=e(),n.__H=t,n.__h=e),n.__}function ek(e,t){return e_=8,eS(function(){return e},t)}function eC(e){var t=_.context[e.__c];var n=ey(c++,9);return(n.c=e,t)?(null==n.__&&(n.__=!0,t.sub(_)),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=[],R.__e(t,e.__v)}}R.__b=function(e){_=null,ed&&ed(e)},R.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),em&&em(e,t)},R.__r=function(e){ep&&ep(e),_=e.__c,c=0;var t=_.__H;t&&(s===_?(t.__h=[],_.__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=[],c=0)),s=_},R.diffed=function(e){ef&&ef(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(1===es.push(t)||d!==R.requestAnimationFrame)&&((d=R.requestAnimationFrame)||function(e){var t,n=function(){clearTimeout(r),eI&&cancelAnimationFrame(t),setTimeout(e)};var r=setTimeout(n,100);eI&&(t=requestAnimationFrame(n))})(eE),t.__H.__.forEach(function(e){e._pendingArgs&&(e.__H=e._pendingArgs),e._pendingArgs=void 0})),s=_=null},R.__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=[],R.__e(n,e.__v)}}),eh&&eh(e,t)},R.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&&R.__e(t,n.__v))};var eI=\"function\"==typeof requestAnimationFrame;function eP(e){var t=_;var n=e.__c;\"function\"==typeof n&&(e.__c=void 0,n()),_=t}function eO(e){var t=_;e.__c=e.__(),_=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 eA(e,t){for(var n in t)e[n]=t[n];return e}function eN(e,t){for(var n in e)if(\"__source\"!==n&&!(n in t))return!0;for(var r in t)if(\"__source\"!==r&&e[r]!==t[r])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 r=n==e.ref;return(!r&&n&&(n.call?n(null):n.current=null),t)?!t(this.props,e)||!r:eN(this.props,e)}function r(t){return this.shouldComponentUpdate=n,M(e,t)}return r.displayName=\"Memo(\"+(e.displayName||e.name)+\")\",r.prototype.isReactComponent=!0,r.__f=!0,r.type=e,r}eD.prototype=new U,eD.prototype.isPureReactComponent=!0,eD.prototype.shouldComponentUpdate=function(e,t){return eN(this.props,e)||eN(this.state,t)};var eR=R.__b;R.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),eR&&eR(e)};var eB=\"undefined\"!=typeof Symbol&&Symbol.for&&Symbol.for(\"react.forward_ref\")||3911;function eM(e){function t(t){var n=eA({},t);return delete n.ref,e(n,t.ref||null)}return t.$$typeof=eB,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName=\"ForwardRef(\"+(e.displayName||e.name)+\")\",t}var eF=R.__e;R.__e=function(e,t,n,r){if(e.then){var l;var o=t;for(;o=o.__;)if((l=o.__c)&&l.__c)return null==t.__e&&(t.__e=n.__e,t.__k=n.__k),l.__c(e,t)}eF(e,t,n,r)};var e$=R.unmount;function eU(){this.__u=0,this._suspenders=null,this.__b=null}function eV(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function eH(){this._next=null,this._map=null}R.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 r=this;null==r._suspenders&&(r._suspenders=[]),r._suspenders.push(n);var l=eV(r.__v);var o=!1;var i=function(){o||(o=!0,n.__R=null,l?l(u):u())};n.__R=i;var u=function(){if(!--r.__u){if(r.state.__a){var e,t=r.state.__a;r.__v.__k[0]=function e(t,n,r){return t&&r&&(t.__v=null,t.__k=t.__k&&t.__k.map(function(t){return e(t,n,r)}),t.__c&&t.__c.__P===n&&(t.__e&&r.appendChild(t.__e),t.__c.__e=!0,t.__c.__P=r)),t}(t,t.__c.__P,t.__c.__O)}for(r.setState({__a:r.__b=null});e=r._suspenders.pop();)e.forceUpdate()}};r.__u++||32&t.__u||r.setState({__a:r.__b=r.__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=R.document.createElement(\"div\");var r=this.__v.__k[0].__c;this.__v.__k[0]=function e(t,n,r){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=eA({},t)).__c&&(t.__c.__P===r&&(t.__c.__P=n),t.__c=null),t.__k=t.__k&&t.__k.map(function(t){return e(t,n,r)})),t}(this.__b,n,r.__O=r.__P)}this.__b=null}var l=t.__a&&M($,null,e.fallback);return l&&(l.__u&=-33),[M($,null,t.__a?null:e.children),l]};var eW=function(e,t,n){if(++n[1]===n[0]&&e._map.delete(t),e.props.revealOrder&&(\"t\"!==e.props.revealOrder[0]||!e._map.size))for(n=e._next;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;e._next=n=n[2]}};eH.prototype=new U,eH.prototype.__a=function(e){var t=this;var n=eV(t.__v);var r=t._map.get(e);return r[0]++,function(l){var o=function(){t.props.revealOrder?(r.push(l),eW(t,e,r)):l()};n?n(o):o()}},eH.prototype.render=function(e){this._next=null,this._map=new Map;var t=function e(t,n){return n=n||[],null==t||\"boolean\"==typeof t||(A(t)?t.some(function(t){e(t,n)}):n.push(t)),n}(e.children);e.revealOrder&&\"b\"===e.revealOrder[0]&&t.reverse();for(var n=t.length;n--;)this._map.set(t[n],this._next=[1,0,this._next]);return e.children},eH.prototype.componentDidUpdate=eH.prototype.componentDidMount=function(){var e=this;this._map.forEach(function(t,n){eW(e,n,t)})};var eG=\"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 eJ=R.event;function ez(){}function eq(){return this.cancelBubble}function eQ(){return this.defaultPrevented}R.event=function(e){return eJ&&(e=eJ(e)),e.persist=ez,e.isPropagationStopped=eq,e.isDefaultPrevented=eQ,e.nativeEvent=e};var eX=R.vnode;function eY(e,t){var n;return n=ey(c++,3),void(!R.__s&&eT(n.__H,t)&&(n.__=e,n._pendingArgs=t,_.__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 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 e2(e,t,n){let r=e[t];e[t]=function(...e){return n.call(this,r,...e)}}R.vnode=function(e){e.$$typeof=eG,eX&&eX(e)};const e3=(()=>{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 e8(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};var r=Object.keys(n);\"function\"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r})}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 r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}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 e4(){if(e){let t=e;return e=[],t}}const e9=\"renderComponent\";const e7=\"reactLynxHydrate\",e6=\"updateTriggeredByBts\";const te=\"__lynx_timing_flag\";let tt=!1;let tn=!1;function tr(e,n){var r,l;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==(r=(l=lynx.getNativeApp()).markTiming)||r.call(l,t,e)}function tl(e,t,r){var l,o,i,u,a,c,_,s;if(n=null==(o=lynx.performance)||null==(l=o._generatePipelineOptions)?void 0:l.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==(c=lynx.performance)||null==(a=c._onPipelineStart)||a.call(c,n.pipelineID),r&&(null==(s=lynx.performance)||null==(_=s._bindPipelineIdWithTimingFlag)||_.call(s,n.pipelineID,r))}}function to(e,t){var r,l;n&&(t||n.needTimestamps)&&(null==(l=lynx.performance)||null==(r=l._markTiming)||r.call(l,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 ta=[];class tc{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?ta.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 tc(e.refAttr).setTask(t,n)})}}const t_=[];const ts=[];function td(e,t){let n=t&&new tc(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 t_)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,r){e!==t&&(e&&t_.push(e),t&&ts.push(t,[n,r]))}function tv(){t_.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 tm=[[v.Children,0]];const ty={values:new Map([[\"root\",{create:()=>[],update:[],slot:tm,isListHolder:!1,cssId:0}],[\"wrapper\",{create:()=>[],update:[],slot:tm,isListHolder:!1}],[null,{create:()=>[],update:[e=>{}],slot:[],isListHolder:!1}]])};const tb={nextId:0,values:new Map,clear(){this.values.clear()},updateId(e,t){let n=this.values;let r=n.get(e);n.delete(e),n.set(t,r),r.__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 r=Number(t[1]);let l=this.values.get(n);if(!l)return null;let o=t[2];if(\"__extraProps\"===t[1]){if(o)return l.__extraProps[o];throw Error(\"unreachable\")}return o?l.__values[r][o]:l.__values[r]}};function tg(e,t,n,r,l,o,i){var u;u=e,e=o?`${o}:${u}`:u;let a={create:t,update:n,slot:r,cssId:l,entryName:o,refAndSpreadIndexes:i};return ty.values.set(e,a),r&&r[0]&&r[0][0]===v.ListChildren&&(a.isListHolder=!0),e}function tx(e,t){let n=e.childNodes;for(let r of(t(e),n))tx(r,t)}function tw(){return null!=r?r:r=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,e3(()=>{tO.value=!1})};e2(R,e9,(e,...t)=>{null==e||e(...t),tT()}),e2(R,\"__\",(e,...t)=>{null==e||e(...t),tT()});let tL={};const tA=new Map;let tN=1;let tD=[];let tj={};function tR(e,t){to(\"packChangesStart\");let r={data:JSON.stringify(e),patchOptions:e5(e8({},t),{reloadVersion:tE})};return to(\"packChangesEnd\"),n&&(r.patchOptions.pipelineOptions=n,n=void 0),r}(C=m||(m={}))[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 tB=[];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 r=e=>{if(null!==e&&\"object\"==typeof e){if(\"_jsFnId\"in e&&e._jsFnId===t)return e;for(let t in e){let n=r(e[t]);if(n)return n}}};return r(n)}}function t$(e){let t=JSON.parse(e.data);let n=o.findJsFnHandle(t.obj._execId,t.obj._jsFnId);let r=null==n?void 0:n._fn;if(!r)throw Error(\"runOnBackground: JS function not found: \"+JSON.stringify(t.obj));let l=r(...t.params);lynx.getCoreContext().dispatchEvent({type:h.FunctionCallRet,data:JSON.stringify({resolveId:t.resolveId,returnValue:l})})}function tU(e){for(let t of e.data)o.remove(t)}function tV(e){return!tw()&&e?(lynx.reportError(Error(\"Main thread script requires Lynx sdk version 2.14\")),null):e&&(null!=l?l:l=e0(2,15))?(o||(o=new tF,lynx.getCoreContext().addEventListener(h.runOnBackground,t$),lynx.getCoreContext().addEventListener(h.releaseBackgroundWorkletCtx,tU),tB.push(()=>{lynx.getCoreContext().removeEventListener(h.runOnBackground,t$),lynx.getCoreContext().removeEventListener(h.releaseBackgroundWorkletCtx,tU),o=void 0})),o.add(e),e):e}function tH(e){if(e.type===m.COMPOSED)for(let t of e.gestures)tH(t);else for(let[t,n]of Object.entries(e.callbacks))e.callbacks[t]=tV(n)}const tW=new Set([\"name\",\"clip-radius\",\"overlap\",\"exposure-scene\",\"exposure-id\"]);function tG(e,t,n){let r={};let l=!1;for(let i in n){var o;let u=n[i];\"__spread\"===i||(\"class\"===i||\"className\"===i?(null!=u||(u=\"\"),r.className=u):\"ref\"===i?r[i]=null==(o=tp(u))?void 0:o.__ref:\"function\"==typeof u?r[i]=`${e.__id}:${t}:${i}`:\"__self\"===i||\"__source\"===i||(!l&&tW.has(i)&&(l=!0),r[i]=u))}return l&&(r.flatten=!1),r}class tJ{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 r=t.__parent;r&&(t.__previousSibling?t.__previousSibling.__nextSibling=t.__nextSibling:r.__firstChild=t.__nextSibling,t.__nextSibling?t.__nextSibling.__previousSibling=t.__previousSibling:r.__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,tb.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 r,l,o;if(\"values\"===t){if(e){let t=this.__values;if(t)for(let r=0;r<n.length;r++){let{needUpdate:l,valueToCommit:o}=this.setAttributeImpl(n[r],t[r],r);l&&e.push(3,this.__id,r,o)}else{let t=[];let r=n.length;for(let e=0;e<r;++e){let{valueToCommit:r}=this.setAttributeImpl(n[e],null,e);t[e]=r}e.push(4,this.__id,t)}}else null==(r=this.__snapshot_def.refAndSpreadIndexes)||r.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!=(l=this.__extraProps)?l: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,r){if(!e)return t&&\"object\"==typeof t&&\"__ref\"in t&&th(t,null,this.__id,r),{needUpdate:t!==e,valueToCommit:e};let l=typeof e;if(\"object\"===l){if(\"__spread\"in e){let l=null==t?void 0:t.__spread;let o=tG(this,r,e);let i=!eK(l,o);if(e.__spread=o,th(l&&t.ref,e.ref,this.__id,r),i)for(let e in o){let t=o[e];t&&(t._wkltId?o[e]=tV(t):t.__isGesture?tH(t):\"__lynx_timing_flag\"==e&&(null==l?void 0:l[e])!=t&&n&&(n.needTimestamps=!0))}return{needUpdate:i,valueToCommit:o}}return\"__ref\"in e?(th(t,e,this.__id,r),{needUpdate:!1,valueToCommit:1}):\"_wkltId\"in e?{needUpdate:!0,valueToCommit:tV(e)}:\"__isGesture\"in e?(tH(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:!eK(t,e),valueToCommit:e}}return\"function\"===l?e.__ref?(th(t,e,this.__id,r),{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=ty.values.get(t);const n=this.__id=tb.nextId+=1;tb.values.set(n,this),null==e||e.push(0,t,n)}}function tz(t,n,r){for(let l of t){let t=l.__id;null==e||e.push(0,l.type,t);let o=l.__values;o&&(l.__values=void 0,l.setAttribute(\"values\",o));let i=l.__extraProps;for(let e in i)l.setAttribute(e,i[e]);tz(l.childNodes,t),null==e||e.push(1,n,t,r)}}const tq={};const tQ=\"Lynx.Error.CtxNotFound\";let tX=null;function tY(e,t){if(null==e)return{};var n,r,l,o={};if(\"undefined\"!=typeof Reflect&&Reflect.ownKeys){for(l=0,n=Reflect.ownKeys(Object(e));l<n.length;l++)r=n[l],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r]);return o}if(o=function(e,t){if(null==e)return{};var n,r,l={},o=Object.getOwnPropertyNames(e);for(r=0;r<o.length;r++)n=o[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(l[n]=e[n]);return l}(e,t),Object.getOwnPropertySymbols)for(l=0,n=Object.getOwnPropertySymbols(e);l<n.length;l++)r=n[l],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r]);return o}function tK(e,t){null!=u||(u=[]),u.push([e,t])}i=new tJ(\"root\");const tZ=[];function t0(){eo(null,i),tA.forEach(e=>{e()}),tA.clear(),tZ.length=0,u&&(u.length=0)}(E=y||(y={}))[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:r,jsReadyEventIdSwap:l}=n;tl(!0,e7,\"react_lynx_hydrate\"),to(\"hydrateParseSnapshotStart\");let o=JSON.parse(r);to(\"hydrateParseSnapshotEnd\"),to(\"diffVdomStart\");let a;let c=(e=[],(a=(t,n)=>{var r,l,o;if(ti.set(n.__id,t.id),tb.updateId(n.__id,t.id),null==(r=n.__values)||r.forEach((r,l)=>{let o=t.values[l];if(r)if(\"object\"==typeof r)if(\"__spread\"in r){delete r.__spread;let e=tG(n,l,r);for(let t in e){let n=e[t];n&&\"object\"==typeof n&&(\"_wkltId\"in n?tV(n):\"__isGesture\"in n&&tH(n))}n.__values[l].__spread=e,r=e}else\"__ref\"in r?r=o:\"_wkltId\"in r?tV(r):\"__isGesture\"in r&&tH(r);else\"function\"==typeof r&&(r=\"__ref\"in r?o:`${n.__id}:${l}:`);eK(r,o)||void 0===r&&null===o||e.push(3,n.__id,l,r)}),n.__extraProps)for(let r in n.__extraProps){let o=n.__extraProps[r];eK(o,null==(l=t.extraProps)?void 0:l[r])||e.push(3,n.__id,r,o)}let{slot:i}=n.__snapshot_def;let u=null!=(o=t.children)?o:[];let c=n.childNodes;i&&i.forEach(([n],r)=>{switch(n){case v.Slot:case v.MultiChildren:{let e=u[r];a(e,c[r]);break}case v.Children:case v.ListChildren:{let n=function(e,t,n,r){let l=0;let o={$$diff:!0,i:{},r:[],m:{}};let i={};for(let t=0;t<e.length;t++){var u,a;let n=e[t];(null!=(a=i[u=n.type])?a:i[u]=new Set).add([n,t])}for(let e=0;e<t.length;e++){let u;let a=t[e];let c=i[a.type];if(c&&c.size>0&&([u]=c,u)&&n(u[0],a)){c.delete(u);let t=u[1];if(r(u[0],a,t,e),t<l){o.m[t]=e;continue}l=t}else o.i[e]=a}for(let e in i)for(let[,t]of i[e])o.r.push(t);return o}(u,c,(e,t)=>e.type===t.type,(e,t)=>{a(e,t)});(function(e,t,n,r,l){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:a}=t;let c=new Map;let _=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))r(o);else if(o&&void 0!==a[p])c.set(a[p],o),f++;else{let e=o;c.has(d)?(e=c.get(d),t=!0,l(e,o),f--):void 0!==u[d]&&(e=n(u[d],o),t=!0,f--),s.push(e),d++}o&&!t&&(o=e[++_],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,r)=>{e.push(1,t.id,n.id,null==r?void 0:r.id)})}}})})(o,i),tv(),e4());to(\"diffVdomEnd\"),t3(),u&&(u.forEach(e=>{var t;let[n,r]=e;let[o,...i]=n.split(\":\");for(;l[o];)o=null==(t=l[o])?void 0:t.toString();try{t8([o,...i].join(\":\"),r)}catch(e){lynx.reportError(e)}}),u.length=0),lynxCoreInject.tt.publishEvent=t8,lynxCoreInject.tt.publicComponentEvent=t5;let _=tN++;let s={patchList:[{snapshotPatch:c,id:_}]};tI.length&&(s.delayedRunOnMainThreadData=tP());let d=tR(s,{isHydration:!0});tC(),lynx.getNativeApp().callLepusMethod(p.patchUpdate,d,()=>{tA.forEach((e,t)=>{t>_||(e(),tA.delete(t))})});let f=ta.slice();for(let e of(ta.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 t2=!1;function t3(){t2||(t2=!0,tZ&&(tZ.forEach(e=>{t1(e)}),tZ.length=0),t2=!1)}function t8(e,t){var n,r;null==(n=(r=lynxCoreInject.tt).callBeforePublishEvent)||n.call(r,t);let l=tb.getValueBySign(e);if(l)try{l(t)}catch(e){lynx.reportError(e)}}function t5(e,t,n){t8(t,n)}R.document=tq,R.requestAnimationFrame=e3,tq.createElement=function(e){return new tJ(e)},tq.createElementNS=function(e,t){return new tJ(t)},tq.createTextNode=function(e){let t=new tJ(null);return t.setAttribute(0,e),Object.defineProperty(t,\"data\",{set(e){t.setAttribute(0,e)}}),t};let t4;(t4=lynxCoreInject.tt).OnLifecycleEvent=t1,t4.publishEvent=tK,t4.publicComponentEvent=function(e,t,n){tK(t,n)},t4.callDestroyLifetimeFun=()=>{var e,t;let n;for(let r of((n=null==(e=(t=lynx).getCoreContext)?void 0:e.call(t))&&tX&&(n.removeEventListener(tQ,tX),tX=null),tk(),tB))r();tB.length=0,t0()},t4.updateGlobalProps=function(e){Object.assign(lynx.__globalProps,e),Promise.resolve().then(()=>{let e=R._diff2;R._diff2=(t,n)=>{e&&e(t,n);let r=n.__c;r&&(r.__e=!0)};try{eo(i.__jsx,i)}finally{R._diff2=e}}),lynxCoreInject.tt.GlobalEventEmitter.emit(\"onGlobalPropsChanged\",void 0)},t4.updateCardData=function(e,t){let{__lynx_timing_flag:n}=e,r=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:l=f.UPDATE}=null!=t?t:{};l==f.RESET&&(lynx.__initData={}),lynx.__initData=Object.assign({},lynx.__initData,r),lynxCoreInject.tt.GlobalEventEmitter.emit(\"onDataChanged\",[r])},t4.onAppReload=function(t){e=void 0,t0(),++tE,lynx.__initData=Object.assign({},lynx.__initData,t),tu.value=!0,eo(i.__jsx,i)},t4.processCardConfig=()=>{},tX=e=>{(function(e){let t=e.id;let n=tb.values.get(t);let r=\"null\";if(n&&n.__snapshot_def){for(let[e,t]of ty.values.entries())if(t===n.__snapshot_def){r=e;break}}lynx.reportError(Error(`snapshotPatchApply failed: ctx not found, snapshot type: '${r}'`))})(e.data)},null==(I=(P=lynx).getCoreContext)||I.call(P).addEventListener(tQ,tX),e2(R,\"__c\",(e,t,n)=>{let r,l;tO.value=!1,tr(\"updateDiffVdomEnd\"),to(\"diffVdomEnd\");let o=tD;tD=[];let i=tN++;tA.set(i,()=>{o.length&&setTimeout(()=>{o.forEach(e=>{var t;null==(t=tb.values.get(e))||t.tearDown()})},1e4)}),tC();let u=e4();let a=(r=tL,tL={},r);let c=(l=tj,tj={},l);if(!u){tf(),null==e||e(t,n);return}let _={id:i};(null==u?void 0:u.length)&&(_.snapshotPatch=u);let s={patchList:[_]};eZ(a)||(s.flushOptions=a),u&&tI.length&&(s.delayedRunOnMainThreadData=tP());let d=tR(s,c);lynx.getNativeApp().callLepusMethod(p.patchUpdate,d,()=>{let e=tA.get(i);e&&(e(),tA.delete(i))}),tf(),null==e||e(t,n)});let t9;t9=()=>{e&&(n||(tl(!1,e6),to(\"diffVdomStart\",!0)),tt&&tr(\"updateDiffVdomStart\"))},e2(R,e9,(e,t,n)=>{t9(),e&&e(t,n)}),e2(R,\"__\",(e,t,n)=>{t9(),e&&e(t,n)}),(null==(g=lynx.performance)||null==(b=g.isProfileRecording)?void 0:b.call(g))&&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 r=t.profileEnd.bind(t);let l=t.profileMark.bind(t);let o=t.profileFlowId.bind(t);{let e=Symbol(\"FLOW_ID\");e2(U.prototype,\"setState\",function(t,n,r){var i,u,a;let c;null==t||t.call(this,n,r),this.__d&&l(\"ReactLynx::setState\",{flowId:null!=(i=this[e])?i:this[e]=o(),args:(u=this.state,a=this.__s,c={},null!=u||(u=c),null!=a||(a=c),{\"current state keys\":JSON.stringify(Object.keys(u)),\"next state keys\":JSON.stringify(Object.keys(a)),\"changed (shallow diff) state keys\":JSON.stringify(Object.keys(a).filter(e=>u[e]!==a[e]))})})}),e2(R,\"_diff2\",(t,r,l)=>{if(\"function\"==typeof r.type){let t={};{let n=l.__c;if(n){let r=n[e];if(delete n[e],r){var o;null!=(o=tj).flowIds||(o.flowIds=[]),tj.flowIds.push(r),t.flowId=r}}}n(`ReactLynx::diff::${e1(r.type)}`,t)}null==t||t(r,l)}),e2(R,\"diffed\",(e,t)=>{\"function\"==typeof t.type&&r(),null==e||e(t)}),e2(R,\"__c\",(e,t,l)=>{n(\"ReactLynx::commit\",e8({},tj.flowIds?{flowId:tj.flowIds[\"0\"],flowIds:tj.flowIds}:{})),null==e||e(t,l),r()})}e2(R,\"__r\",(e,t)=>{let l=t.__c.render;t.__c.render=function(e,o,i){n(`ReactLynx::render::${e1(t.type)}`);try{return l.call(this,e,o,i)}finally{r(),t.__c.render=l}},null==e||e(t)});{let t=Symbol(\"PATCH_LENGTH\");e2(R,\"__b\",(n,r)=>{\"function\"==typeof r.type&&e&&(r[t]=e.length),null==n||n(r)}),e2(R,\"diffed\",(n,r)=>{\"function\"==typeof r.type&&e&&(r[t]===e.length&&l(\"ReactLynx::diffFinishNoPatch\",{args:{componentName:e1(r.type)}}),delete r[t]),null==n||n(r)})}}(),function(){{let{initData:e,updateData:t}=lynxCoreInject.tt._params;lynx.__initData=e8({},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,v.Children,v.ListChildren;{function nt(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 nt(\"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 nt(\"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 nt(\"getElementById\",\"lynx.getElementById\"),lynx.getElementById(e)},U.prototype.GlobalEventEmitter=lynxCoreInject.tt.GlobalEventEmitter,U.prototype.createSelectorQuery=function(){return nt(\"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 r=this.__s[te];r&&(tL.__lynx_timing_flag=r,tr(\"updateSetStateTrigger\",r),this.__s[te]=\"\")}}let nn=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=++nn,n=this._wvid,tw()&&tS.push([n,e])}}class nl 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 no(e){return eS(()=>new nl(e),[])}const ni={onScroll:\"bindscroll\",onScrollStateChange:\"bindscrollstatechange\",onScrollToLower:\"bindscrolltolower\",onScrollToUpper:\"bindscrolltoupper\",onScrollEnd:\"bindscrollend\",onScrollToUpperEdge:\"bindscrolltoupperedge\",onScrollToLowerEdge:\"bindscrolltoloweredge\",onScrollToNormalState:\"bindscrolltonormalstate\"};const nu={onUIAppear:\"binduiappear\",onUIDisappear:\"binduidisappear\"};const na={onLayoutChange:\"bindlayoutchange\"};const nc={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 n_=function(e){eY(e,[])};var ns=function(){return(ns=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var l in t=arguments[n])Object.prototype.hasOwnProperty.call(t,l)&&(e[l]=t[l]);return e}).apply(this,arguments)};function nd(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;for(var r=Array(e),l=0,t=0;t<n;t++)for(var o=arguments[t],i=0,u=o.length;i<u;i++,l++)r[l]=o[i];return r}const np=function(e){var t=ex(e);t.current=e,n_(function(){return function(){return t.current()}})};var nf=function(e,t){return\"boolean\"==typeof t?t:!e};const nh=function(e){return eg(nf,e)};const nv=(e,t)=>{let n=new Map;let r=e=>{let t=n.get(e);if(t)return t;let r={visible:!1,timer:null};return n.set(e,r),r};let l=e=>{e.timer&&(clearTimeout(e.timer),e.timer=null)};return{appear:(n,l,o)=>{let i=t(l);if(!i)return;let u=r(i);if(!u.visible&&!u.timer){if(e<=0){u.visible=!0,o(n,l);return}u.timer=setTimeout(()=>{u.timer=null,u.visible||(u.visible=!0,o(n,l))},e)}},disappear:(e,n,o)=>{let i=t(n);if(!i)return;let u=r(i);u.timer?l(u):u.visible&&(u.visible=!1,o(e,n))},isVisible:e=>{var t;return(null==(t=n.get(e))?void 0:t.visible)===!0},dispose:()=>{n.forEach(e=>{l(e)}),n.clear()}}};function nm(e=0){let t=\"__single__\";let n=nv(e,e=>e);return{appear(e,r){n.appear(e,t,(e,t)=>r.onAdmit(e))},disappear(e,r){n.disappear(e,t,(e,t)=>r.onLeave(e))},isVisible:()=>n.isVisible(t),dispose(){n.dispose()}}}function ny(e=0){let t=nv(e,e=>{var t;return null!=(t=e.id)?t:null});return{appear(e,n,r){t.appear(e,n,r.onAdmit)},disappear(e,n,r){t.disappear(e,n,r.onLeave)},isVisible:e=>t.isVisible(e),dispose(){t.dispose()}}}function nb(e){let{attrs:t,onAppear:n,onDisappear:r,onChange:l,admissionTimeMs:o}=e;let i=null!=o?o:0;let[u,a]=eb(!1);let c=ex(n);let _=ex(r);let s=ex(l);eY(()=>{c.current=n},[n]),eY(()=>{_.current=r},[r]),eY(()=>{s.current=l},[l]);let d=ex(nm(i));eY(()=>(d.current.dispose(),d.current=nm(i),a(!1),()=>{d.current.dispose()}),[i]);let p=ek(e=>{d.current.appear(e,{onAdmit:e=>{var t,n;a(!0),null==(t=c.current)||t.call(c,e),null==(n=s.current)||n.call(s,e,{isInView:!0})}})},[]);let f=ek(e=>{d.current.disappear(e,{onLeave:e=>{var t,n;a(!1),null==(t=_.current)||t.call(_,e),null==(n=s.current)||n.call(s,e,{isInView:!1})}})},[]);return{isInView:u,exposureProps:eS(()=>e5(e8({},null!=t?t:{}),{binduiappear:p,binduidisappear:f}),[t,p,f])}}function ng(e){return(...t)=>e(...t)}function nx(e,t){return\"function\"==typeof e?e.length?e(t):e():e}const nw=e=>(e+1)%1e6;function nS(e=0,t=null,n=null){let r,l,o=nx(e);\"number\"!=typeof o&&console.error(`initialValue has to be a number, got ${typeof e}`),\"number\"==typeof n?o=Math.max(o,n):null!==n&&console.error(`min has to be a number, got ${typeof n}`),\"number\"==typeof t?o=Math.min(o,t):null!==t&&console.error(`max has to be a number, got ${typeof t}`);let[i,u]=(r=ex(nx(o)),l=function(){let[,e]=eg(nw,0);return e}(),eS(()=>[()=>r.current,e=>{r.current=nx(e,r.current),l()}],[]));return[i(),eS(()=>{let e=e=>{let r=i();let l=nx(e,r);r!==l&&(\"number\"==typeof n&&(l=Math.max(l,n)),\"number\"==typeof t&&(l=Math.min(l,t)),r!==l&&u(l))};return{get:i,set:e,inc:(t=1)=>{let n=nx(t,i());\"number\"!=typeof n&&console.error(`delta has to be a number or function returning a number, got ${typeof n}`),e(e=>e+n)},dec:(t=1)=>{let n=nx(t,i());\"number\"!=typeof n&&console.error(`delta has to be a number or function returning a number, got ${typeof n}`),e(e=>e-n)},reset:(t=o)=>{let n=nx(t,i());\"number\"!=typeof n&&console.error(`value has to be a number or function returning a number, got ${typeof n}`),o=n,e(n)}}},[o,n,t])]}const nk=e=>{eY(e,[])};const nC=e=>{let t=ex(e);t.current=e,nk(()=>()=>t.current())};function nE(e,t){if(\"touches\"in e||\"changedTouches\"in e)return e;let n={identifier:1,pageX:e.pageX,pageY:e.pageY,clientX:e.clientX,clientY:e.clientY};return{detail:{x:e.pageX,y:e.pageY},touches:\"touchend\"===t?[]:[n],changedTouches:[n]}}ng(function(e){return function(){var t=[];for(var n=0;n<arguments.length;n++)t[n]=arguments[n];return eS(function(){return e.apply(void 0,t)},t)}}),ng(nh),ng(nS),ng(function(e,t){var n=eb(t),r=n[0],l=n[1];return null==r?[e,l]:[r,l]}),ng(n_),ng(function(){var e=eb(null),t=e[0],n=e[1];return eY(function(){if(t)throw t},[t]),ek(function(e){n(e)},[])}),ng(function(e){var t=ex(e);return t.current=e,t}),ng(function(e,t){eY(function(){return e&&e(),function(){t&&t()}},[])}),ng(function(e){void 0===e&&(e={});var t=eb(e),n=t[0],r=t[1];var l=eS(function(){return{set:function(e,t){r(function(n){var r;return ns(ns({},n),((r={})[e]=t,r))})},setAll:function(e){r(e)},remove:function(e){r(function(t){return t[e],function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&\"function\"==typeof Object.getOwnPropertySymbols)for(var l=0,r=Object.getOwnPropertySymbols(e);l<r.length;l++)t.indexOf(r[l])<0&&Object.prototype.propertyIsEnumerable.call(e,r[l])&&(n[r[l]]=e[r[l]]);return n}(t,[\"symbol\"==typeof e?e:e+\"\"])})},reset:function(){return r(e)}}},[r]);var o=ns({get:ek(function(e){return n[e]},[n])},l);return[n,o]}),ng(function(){var e=ex(!1);var t=ek(function(){return e.current},[]);return eY(function(){return e.current=!0,function(){e.current=!1}},[]),t}),ng(nS),ng(function(e){var t=ex();return eY(function(){t.current=e}),t.current}),ng(function(e){void 0===e&&(e=[]);var t=eb(e),n=t[0],r=t[1];return{add:function(e){r(function(t){return nd(t,[e])})},remove:function(){var e;return r(function(t){var n=t[0],r=t.slice(1);return e=n,r}),e},get first(){return n[0]},get last(){return n[n.length-1]},get size(){return n.length}}}),ng(function(e){void 0===e&&(e=new Set);var t=eb(e),n=t[0],r=t[1];var l=eS(function(){return{add:function(e){return r(function(t){return new Set(nd(Array.from(t),[e]))})},remove:function(e){return r(function(t){return new Set(Array.from(t).filter(function(t){return t!==e}))})},toggle:function(e){return r(function(t){return new Set(t.has(e)?Array.from(t).filter(function(t){return t!==e}):nd(Array.from(t),[e]))})},reset:function(){return r(e)},clear:function(){return r(new Set)}}},[r]);var o=ns({has:ek(function(e){return n.has(e)},[n])},l);return[n,o]}),ng(function(e){void 0===e&&(e={});var t=eb(e),n=t[0],r=t[1];return[n,ek(function(e){r(function(t){return Object.assign({},t,e instanceof Function?e(t):e)})},[])]}),ng((e,t=200)=>{let[n,r]=eb(e);let l=ex();let o=ex(null);let i=ex(!1);return eY(()=>{if(l.current)o.current=e,i.current=!0;else{r(e);let n=()=>{i.current?(i.current=!1,r(o.current),l.current=setTimeout(n,t)):l.current=void 0};l.current=setTimeout(n,t)}},[e]),nC(()=>{l.current&&clearTimeout(l.current)}),n}),ng(function(e,t,n){void 0===t&&(t=200);var r=eb(null),l=r[0],o=r[1];var i=ex();var u=ex();return eY(function(){if(i.current)u.current=n;else{o(e.apply(void 0,n));var r=function(){u.current?(o(e.apply(void 0,u.current)),u.current=void 0,i.current=setTimeout(r,t)):i.current=void 0};i.current=setTimeout(r,t)}},n),np(function(){i.current&&clearTimeout(i.current)}),l}),ng(nh),ng(nC),ng(()=>{let e=ex(!1);return nk(()=>()=>{e.current=!0}),eS(()=>(t,n)=>new Promise((r,l)=>{t.then(t=>{e.current||r(t)},t=>{e.current?n?n(t):console.error(\"useUnmountPromise\",t):l(t)})}),[])}),ng((e,t)=>{let n;let r=(n=ex(!0)).current?(n.current=!1,!0):n.current;eY(()=>{if(!r)return e()},t)}),ng(nb),ng(function(e){let{attrs:t,onAppear:n,onDisappear:r,onChange:l,admissionTimeMs:o}=e;let i=null!=o?o:0;let u=ex(new Map);let a=ex(n);let c=ex(r);let _=ex(l);eY(()=>{a.current=n},[n]),eY(()=>{c.current=r},[r]),eY(()=>{_.current=l},[l]);let s=ex(ny(i));return eY(()=>(s.current.dispose(),s.current=ny(i),()=>s.current.dispose()),[i]),eY(()=>{var e,t,n,r;let l=null==(t=lynx)||null==(e=t.getJSModule)?void 0:e.call(t,\"GlobalEventEmitter\");let o=e=>{if(Array.isArray(e))for(let t of e){let e=t[\"exposure-id\"];let n=t[\"exposure-scene\"];s.current.appear(t,{id:e,scene:n},{onAdmit:(e,t)=>{var n,r;t.id&&u.current.set(t.id,!0),null==(n=a.current)||n.call(a,e,{exposureId:t.id,exposureScene:t.scene}),null==(r=_.current)||r.call(_,e,{isInView:!0,exposureId:t.id,exposureScene:t.scene})}})}};let i=e=>{if(Array.isArray(e))for(let t of e){let e=t[\"exposure-id\"];let n=t[\"exposure-scene\"];s.current.disappear(t,{id:e,scene:n},{onLeave:(e,t)=>{var n,r;t.id&&u.current.set(t.id,!1),null==(n=c.current)||n.call(c,e,{exposureId:t.id,exposureScene:t.scene}),null==(r=_.current)||r.call(_,e,{isInView:!1,exposureId:t.id,exposureScene:t.scene})}})}};return null==l||null==(n=l.addListener)||n.call(l,\"exposure\",o),null==l||null==(r=l.addListener)||r.call(l,\"disexposure\",i),()=>{var e,t;null==l||null==(e=l.removeListener)||e.call(l,\"exposure\",o),null==l||null==(t=l.removeListener)||t.call(l,\"disexposure\",i)}},[]),{isInView:ek(e=>!0===u.current.get(e),[]),exposureProps:eS(()=>e=>{var n;return e5(e8({},null!=t?t:{},null!=(n=e.extra)?n:{}),{\"exposure-id\":e.id})},[t])}}),ng(function(e={}){let t=e||{},{isStaying:n,onRunningChange:r}=t;let{isInView:l,exposureProps:o}=nb(tY(t,[\"isStaying\",\"onRunningChange\"]));let[i,u]=eb(0);let[a,c]=eb(!1);let _=ex(!0);let s=ex(!1);let d=ex(0);let p=ex(null);let f=ex(null);let h=ex();eY(()=>{h.current=r},[r]);let v=()=>{null!=f.current&&(cancelAnimationFrame(f.current),f.current=null)};let m=ek(()=>{var e;if(!s.current)return;let t=Date.now();let n=null!=(e=p.current)?e:t;u(d.current+(t-n)),f.current=requestAnimationFrame(m)},[]);let y=ek(()=>{var e,t;if(s.current)return;s.current=!0,c(!0);let n=Date.now();p.current=n,v(),f.current=requestAnimationFrame(m);let r=d.current+(n-(null!=(t=p.current)?t:n));null==(e=h.current)||e.call(h,{isRunning:!0,stayTimeMs:r})},[m]);let b=ek(()=>{var e;if(!s.current)return;let t=Date.now();null!=p.current&&(d.current+=t-p.current),p.current=null,s.current=!1,c(!1),v();let n=d.current;u(n),null==(e=h.current)||e.call(h,{isRunning:!1,stayTimeMs:n})},[]);eY(()=>{let e=\"boolean\"==typeof n?n:l;return _.current&&e?y():b(),()=>{}},[n,l,y,b]);let g=ek(()=>{_.current=!1,b()},[b]);let x=ek(()=>{_.current=!0,(\"boolean\"==typeof n?n:l)&&y()},[n,l,y]);let w=ek(()=>{d.current=0,s.current?p.current=Date.now():p.current=null,u(0)},[]);return eY(()=>()=>{v()},[]),{stayTimeMs:i,isRunning:a,exposureProps:eS(()=>\"boolean\"==typeof n?{}:o,[n,o]),pause:g,resume:x,reset:w}});let nI={_wkltId:\"48ff:8a2f4:15\"};const nP=function({onTouchStart:e,onTouchMove:t,onTouchEnd:n,onTouchCancel:r,onTouchStartMT:l,onTouchMoveMT:o,onTouchEndMT:i,onTouchCancelMT:u}){return eS(()=>{let a={};return e&&(a.bindtouchstart=t=>{e(nE(t,\"touchstart\"))},a.bindmousedown=t=>{e(nE(t,\"touchstart\"))}),t&&(a.bindtouchmove=e=>{t(nE(e,\"touchmove\"))},a.bindmousemove=e=>{let n=e.buttons;n&&(1&n)!==0&&t(nE(e,\"touchmove\"))}),n&&(a.bindtouchend=e=>{n(nE(e,\"touchend\"))},a.bindmouseup=e=>{n(nE(e,\"touchend\"))}),r&&(a.bindtouchcancel=e=>{r(nE(e,\"touchcancel\"))}),l&&(a[\"main-thread:bindtouchstart\"]={_c:{onTouchStartMT:l,toTouchEventMT:nI},_wkltId:\"48ff:8a2f4:16\"},a[\"main-thread:bindmousedown\"]={_c:{onTouchStartMT:l,toTouchEventMT:nI},_wkltId:\"48ff:8a2f4:17\"}),o&&(a[\"main-thread:bindtouchmove\"]={_c:{onTouchMoveMT:o,toTouchEventMT:nI},_wkltId:\"48ff:8a2f4:18\"},a[\"main-thread:bindmousemove\"]={_c:{onTouchMoveMT:o,toTouchEventMT:nI},_wkltId:\"48ff:8a2f4:19\"}),i&&(a[\"main-thread:bindtouchend\"]={_c:{onTouchEndMT:i,toTouchEventMT:nI},_wkltId:\"48ff:8a2f4:20\"},a[\"main-thread:bindmouseup\"]={_c:{onTouchEndMT:i,toTouchEventMT:nI},_wkltId:\"48ff:8a2f4:21\"}),u&&(a[\"main-thread:bindtouchcancel\"]={_c:{onTouchCancelMT:u,toTouchEventMT:nI},_wkltId:\"48ff:8a2f4:22\"}),a},[e,t,n,r,l,o,i,u])};const nO=new Set([\"onTouchStart\",\"onTouchMove\",\"onTouchEnd\",\"onTouchCancel\"]);function nT(e,t,n){let r=ek(t,null!=n?n:[]);eS(()=>{lynx.getJSModule(\"GlobalEventEmitter\").addListener(e,r)},[e,r]),eY(()=>()=>{lynx.getJSModule(\"GlobalEventEmitter\").removeListener(e,r)},[e,r])}const nL=ej(eM(function(e,t){let{pid:n,scene:r,estimatedStyle:l,top:o=\"10px\",bottom:i=\"10px\",left:u=\"10px\",right:a=\"10px\",unmountOnExit:c,unloadable:_=!1,children:s}=e;let d=null!=c?c:_;let[p,f]=eb(!1);let h=ex(void 0);if(nT(\"exposure\",e=>{e.forEach(e=>{p||e[\"exposure-scene\"]!==r||e[\"exposure-id\"]!==n||f(!0)})},[p]),nT(\"disexposure\",e=>{d&&e.forEach(e=>{e[\"exposure-scene\"]===r&&e[\"exposure-id\"]===n&&f(!1)})},[d]),!d)return p?s:ec(nA,{values:[o,i,u,a,n,r,l]});{var v,m,y,b;let{width:e,height:t}=l,c=tY(l,[\"width\",\"height\"]);return ec(nN,{values:[o,i,u,a,n,r,({detail:e})=>{p&&(h.current={width:`${e.width}px`,height:`${e.height}px`})},p?{}:e8({width:null!=(y=null==(v=h.current)?void 0:v.width)?y:e,height:null!=(b=null==(m=h.current)?void 0:m.height)?b:t},c)],children:p&&s})}}));const nA=tg(\"__snapshot_ae447_b9b02_1\",null,null,null,void 0,globDynamicComponentEntry,null);const nN=tg(\"__snapshot_ae447_b9b02_2\",null,null,tm,void 0,globDynamicComponentEntry,null);const nD=tg(\"__snapshot_4ab23_9c9de_1\",null,null,tm,void 0,globDynamicComponentEntry,[0]);const nj=function(e){let{children:t,sticky:n,elementProps:r}=e;return ec(nD,{values:[e5(e8({},r),{\"android-touch-slop\":\"page\",name:\"background\",flatten:!1,__spread:!0})],children:[n,t]})};const nR={_wkltId:\"333e:982fb:1\"};class nB extends Error{constructor(e,t){super(\"string\"==typeof t?t:\"unknown error\"),this.errorCode=e,this.detail=t}}const nM=(e,t)=>{var n;null==e||null==(n=e.current)||n.setNativeProps(t).exec()};const nF={_wkltId:\"ec97:2e79e:1\"};const n$=tg(\"__snapshot_8d379_41c83_1\",null,null,tm,void 0,globDynamicComponentEntry,null);const nU=tg(\"__snapshot_8d379_41c83_2\",null,null,tm,void 0,globDynamicComponentEntry,null);const nV=tg(\"__snapshot_8d379_41c83_3\",null,null,null,void 0,globDynamicComponentEntry,null);const nH=tg(\"__snapshot_8d379_41c83_4\",null,null,null,void 0,globDynamicComponentEntry,null);const nW=tg(\"__snapshot_8d379_41c83_6\",null,null,tm,void 0,globDynamicComponentEntry,[0]);const nG=tg(\"__snapshot_8d379_41c83_5\",null,null,[[ne,1],[ne,2]],void 0,globDynamicComponentEntry,null);const nJ=function(e,t){var n,r,l,o;let i,u,a,c;let{children:_,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 m=p.id;let{style:y}=p;let b=!1;let g={enableBounces:!1};\"boolean\"==typeof s?(b=s,g={enableBounces:!0,singleSidedBounce:\"both\",alwaysBouncing:!0,validAnimationVersion:!0}):\"object\"==typeof s&&(b=s.enableBounces,(g=s).singleSidedBounce=null!=(r=s.singleSidedBounce)?r:\"both\",g.alwaysBouncing=null==(l=s.alwaysBouncing)||l,g.validAnimationVersion=null==(o=s.validAnimationVersion)||o);let x=function(e){var t,n,r,l,o,i,u,a,c,_,s,d;let p=no(.55);let f=no(.99);let h=no(15);let v=!!e.debugLog;let m=no(null!=(t=e.bounceableOptions.singleSidedBounce)?t:\"both\");let y=no(null);let b=no(null);let g=no(0);let x=no({});let w=no(null);let S=no({});let k=no({});let C=no({});let E=no(null!=(n=e.bounceableOptions.estimatedHeight)?n:SystemInfo.pixelHeight/SystemInfo.pixelRatio);let I=no(null!=(r=e.bounceableOptions.estimatedWidth)?r:SystemInfo.pixelWidth/SystemInfo.pixelRatio);let P=no(0);let O=no(0);let T=no(!1);let L=no(!1);let A=no(!1);let N=no(!1);let D=no(!1);let j=null!=(l=e.id)?l:\"bounceableContainer\";let{enableBounces:R,onScrollToBounces:B}=e.bounceableOptions;let M=null!=(o=e.bounceableOptions.alwaysBouncing)&&o;let F=null!=(i=e.scrollOrientation)?i:\"vertical\";let $=no(null!=(u=e.enableRTL)&&u);let U=null==(a=e.bounceableOptions.enableBounceEventInFling)||a;let V=null!=(c=e.bounceableOptions.startBounceTriggerDistance)?c:0;let H=null!=(_=e.bounceableOptions.endBounceTriggerDistance)?_:0;let W=no(null!=(s=e.bounceableOptions.validAnimationVersion)&&s);((e,...t)=>{e&&console.info(...t)})(v,`[lynx-ui-scroll-view][useBounce] init, enableBounces: ${R}, orientation: ${F}, enableRTL: ${null!=(d=e.enableRTL)&&d}`);let G={_c:{scrollOrientation:F},_wkltId:\"a85b:ce1da:1\"};let J={_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 X={_c:{isAndroid:q,selectorMT:nF,containerID:j},_wkltId:\"a85b:ce1da:6\"};let Y={_c:{temporaryValidVersionCheckForRAF:W},_wkltId:\"a85b:ce1da:8\"};let K={_c:{startTouch:y,startBouncingTouch:w,scrollOrientation:F,normalizedHorizontalValue:z},_wkltId:\"a85b:ce1da:9\"};let Z={_c:{bouncingPositionInfo:x,toUpper:N,toLower:D,alwaysBouncing:M,bouncingStatus:{alwaysBouncing:4,noBouncing:3,upperBouncing:1,lowerBouncing:2,inScrollingRange:0},mtsLog:nR,debugLogEnabled:v},_wkltId:\"a85b:ce1da:10\"};let ee={_c:{mtsLog:nR,isEmpty:Q,bouncingPositionInfo:x,prevTouch:b,startTouch:y,bouncingTouchStartPosition:k,isVertical:G,debugLogEnabled:v,selectorMT:nF,containerID:j,enableRTL:$},_wkltId:\"a85b:ce1da:12\"};let et={_c:{mtsLog:nR,debugLogEnabled:v},_wkltId:\"a85b:ce1da:13\",_jsFn:{_jsFn1:t6(function(e){R&&B&&B(e)})}};let en={_c:{isVertical:G,height:E,width:I,isEmpty:Q,startTouchBouncingDelta:S,bouncingTouchStartPosition:k,rubberC:p,mtsLog:nR,debugLogEnabled:v,bouncingSetStyle:ee},_wkltId:\"a85b:ce1da:14\"};let er={_c:{bouncingPositionInfo:x,startBounceTriggerDistance:V,endBounceTriggerDistance:H,threshold:J},_wkltId:\"a85b:ce1da:16\"};let el={_c:{mtsLog:nR,debugLogEnabled:v,bouncingPositionInfo:x,touchingEndBouncingBackEnableFlag:L,beta:h,bouncingSetStyle:ee,threshold:J,customRequestAnimationFrame:Y},_wkltId:\"a85b:ce1da:17\"};return{\"main-thread:bindtouchstart\":{_c:{startTouch:y,mtsLog:nR,debugLogEnabled:v,bouncingTouchStartPosition:k,bouncingPositionInfo:x,touchEndFrameEnableFlag:T,touchingEndBouncingBackEnableFlag:L,flingEndWithBouncingEnableFlag:A},_wkltId:\"a85b:ce1da:18\"},\"main-thread:bindtouchend\":{_c:{clearTouchInfo:{_c:{mtsLog:nR,debugLogEnabled:v,startTouch:y,bouncingTouchStartPosition:k,prevTouch:b,startBouncingTouch:w,startTouchBouncingDelta:S},_wkltId:\"a85b:ce1da:7\"},enableScroll:X,mtsLog:nR,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:er,triggerScrollToBouncesEvent:et,touchEndFrameEnableFlag:T,threshold:J,bouncingBack:el,flingDeceleratingRate:f,bouncingSetStyle:ee,customRequestAnimationFrame:Y},_wkltId:\"a85b:ce1da:20\"},\"main-thread:bindtouchmove\":{_c:{prevTouch:b,startTouch:y,mtsLog:nR,getCurrentDelta:K,getBouncingStatus:Z,bouncingStatus:{upperBouncing:1,lowerBouncing:2,alwaysBouncing:4,inScrollingRange:0},enableScroll:X,rubberEffect:en,debugLogEnabled:v,alwaysBouncing:M,triggerRubberEffectIfCrossingEdge:{_c:{getCurrentDelta:K,mtsLog:nR,debugLogEnabled:v,toUpper:N,toLower:D,singleSidedBounce:m,enableScroll:X,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:G,normalizedHorizontalValue:z,scrollVelocity:g,mtsLog:nR,debugLogEnabled:v},_wkltId:\"a85b:ce1da:21\"},onUpperExposure:{_c:{mtsLog:nR,debugLogEnabled:v,toUpper:N,singleSidedBounce:m,prevScroll:C,startBouncingTouch:w,prevTouch:b,startTouchBouncingDelta:S,bouncingPositionInfo:x,scrollVelocity:g,threshold:J,flingEndWithBouncingEnableFlag:A,bouncingBack:el,flingDeceleratingRate:f,bouncingSetStyle:ee,isOverTriggerDistance:er,triggerScrollToBouncesEvent:et,customRequestAnimationFrame:Y},_wkltId:\"a85b:ce1da:23\"},onUpperDisexposure:{_c:{mtsLog:nR,debugLogEnabled:v,toUpper:N},_wkltId:\"a85b:ce1da:22\"},onLowerExposure:{_c:{mtsLog:nR,debugLogEnabled:v,toLower:D,singleSidedBounce:m,prevTouch:b,startBouncingTouch:w,startTouchBouncingDelta:S,bouncingPositionInfo:x,enableBounceEventInFling:U,scrollVelocity:g,threshold:J,flingEndWithBouncingEnableFlag:A,bouncingBack:el,flingDeceleratingRate:f,bouncingSetStyle:ee,isOverTriggerDistance:er,triggerScrollToBouncesEvent:et,customRequestAnimationFrame:Y},_wkltId:\"a85b:ce1da:25\"},onLowerDisexposure:{_c:{mtsLog:nR,debugLogEnabled:v,toLower:D},_wkltId:\"a85b:ce1da:24\"}}}({bounceableOptions:g,debugLog:f,enableRTL:h,id:m,scrollOrientation:v?\"horizontal\":\"vertical\"});return b&&(g.upperBounceItem&&(i=ec(n$,{values:[`${m}-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:g.upperBounceItem})),g.lowerBounceItem&&(u=ec(nU,{values:[`${m}-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:g.lowerBounceItem})),a=ec(nV,{values:[`display: flex; flex-direction: column; overflow:hidden; height: ${v?\"100%\":\"1ppx\"}; width: ${v?\"1ppx\":\"100%\"};`,m,`${m}-upperExposureView`,x.onUpperDisexposure,x.onUpperExposure,p[\"main-thread:gesture\"]]}),c=ec(nH,{values:[`display: flex; flex-direction: column; overflow:hidden; height: ${v?\"100%\":\"1ppx\"}; width: ${v?\"1ppx\":\"100%\"};`,m,`${m}-lowerExposureView`,x.onLowerDisexposure,x.onLowerExposure,p[\"main-thread:gesture\"]]})),ec(nG,{values:[`${m}-BounceWrapper`,`display: flex; flex-direction: column; overflow:hidden; height: ${v?\"100%\":`${null==y?void 0:y.height}`}; width: ${v?`${null==y?void 0:y.width}`:\"100%\"};`,p[\"main-thread:gesture\"]],children:[ec(nW,{values:[e5(e8({},p,x),{bounces:!1,\"ios-enable-simultaneous-touch\":!0,name:\"background\",flatten:!1,__spread:!0})],children:[a,d,_,c]}),ec(\"wrapper\",{children:[i,u]})]})};const nz=ej(eM(function(e,t){let{scrollviewId:n=\"scrollview\",horizontal:r=!1,style:l,children:o,scrollOrientation:i,lazyOptions:u,className:a=\"\",debugLog:c=!1,enableRTL:_=!1,bounceableOptions:s={enableBounces:!0,singleSidedBounce:\"iOSBounces\"},enableScroll:d=!0,enableScrollMonitor:p=!1,scrollMonitorTag:f,sticky:h,scrollPropagationBehavior:v=\"native\",temporaryBlockScrollClass:m=\"BDXLynxViewPager\",temporaryBlockScrollTag:y=0,temporaryNestedScroll:b,androidTouchSlop:g,\"main-thread:gesture\":x}=e;let w=ex(e8({},ni,nu,nc,na,nq));let S=u?e8({firstScreenItemCount:1},u):void 0;let k=((e,t)=>{let n={};for(let r of Object.keys(e))r in t&&!nO.has(r)&&(n[t[r]]=e[r]);return e8({},n,nP({onTouchStart:e.onTouchStart,onTouchMove:e.onTouchMove,onTouchEnd:e.onTouchEnd,onTouchCancel:e.onTouchCancel}),((e,t)=>{let n={};for(let r of(no(),Object.keys(e)))r in t&&(n[t[r]]={_c:{events:e,event:r},_wkltId:\"eb73:0b4d4:1\"});return n})(e,Object.entries(t).reduce((e,[t,n])=>(e[`main-thread:${t}`]=`main-thread:${n}`,e),{})))})(e,w.current);let C=e8({zIndex:0},l);let E=()=>i?\"horizontal\"===i:r;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 A=I&&(null==P?void 0:P.singleSidedBounce)===\"iOSBounces\";let N=(e,t)=>{if(!Array.isArray(e))return e;let r=null==t?void 0:t.enableLazy;return e.map((e,l)=>r&&l>=Number(null==t?void 0:t.firstScreenItemCount)?ec(nL,{scene:null==t?void 0:t.scene,pid:`pid_${l}`,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_${l}`):e)};let D=e8({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?m:\"\",\"ios-recognized-view-tag\":\"preventPropagate\"===v?y:0,\"enable-nested-scroll\":\"Android\"===SystemInfo.platform?null==b||b:\"iOS\"!==SystemInfo.platform||\"propagate\"===v,\"enable-new-nested\":!0,className:a,style:C,bounces:A,\"enable-scroll\":d},void 0!==g&&{\"android-touch-slop\":g},k);return I&&\"iOSBounces\"!==P.singleSidedBounce&&\"none\"!==P.singleSidedBounce?ec(nJ,{elementProps:D,bounceableOptions:P,debugLog:c,enableRTL:_,sticky:h,children:N(o,S)}):ec(nj,{elementProps:D,sticky:h,children:N(o,S)})}));const nq={onContentSizeChange:\"bindcontentsizechanged\",onWheel:\"bindwheel\"};function nQ(e){return e&&\"undefined\"!=typeof Symbol&&e.constructor===Symbol?\"symbol\":typeof e}function nX(e){var t=function(e,t){if(\"object\"!==nQ(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||\"default\");if(\"object\"!==nQ(r))return r;throw TypeError(\"@@toPrimitive must return a primitive value.\")}return(\"string\"===t?String:Number)(e)}(e,\"string\");return\"symbol\"===nQ(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 nK(){for(var e,t,n=0,r=\"\",l=arguments.length;n<l;n++)(e=arguments[n])&&(t=function e(t){var n,r,l=\"\";if(\"string\"==typeof t||\"number\"==typeof t)l+=t;else if(\"object\"==typeof t)if(Array.isArray(t)){var o=t.length;for(n=0;n<o;n++)t[n]&&(r=e(t[n]))&&(l&&(l+=\" \"),l+=r)}else for(r in t)t[r]&&(l&&(l+=\" \"),l+=r);return l}(e))&&(r&&(r+=\" \"),r+=t);return r}const nZ=eu({active:!1,disabled:!1});const n0=tg(\"__snapshot_11572_5e596_1\",null,null,tm,void 0,globDynamicComponentEntry,[0]);const n1=e=>{let{children:t,onClick:n,disabled:r=!1,style:l,className:o,buttonProps:i}=e;let[u,a]=eb(!1);let c=u&&!r;let _=\"function\"==typeof t?t({active:c,disabled:r}):t;let s=nY(()=>{r||a(!0)});let d=nY(()=>{if(a(!1),r)return});let p=nY(()=>{r||null==n||n()});let f=nP({onTouchStart:s,onTouchEnd:d,onTouchCancel:d});let h=eS(()=>({active:c,disabled:r}),[c,r]);return ec(nZ.Provider,{value:h,children:ec(n0,{values:[e5(e8(e5(e8({bindtap:p},f),{\"event-through\":!1,style:l,className:nK(o,{\"ui-active\":c,\"ui-disabled\":r})}),i),{__spread:!0})],children:_})})};const n2=eu({checked:!1,indeterminate:!1});const n3=e=>{var t;let{style:n,className:r,children:l,onChange:o,checked:i,defaultChecked:u=!1,disabled:a=!1,indeterminate:c=!1,checkboxProps:_}=e;let s=void 0!==i;let[d,p]=eb(u);let f=s?i:d;let h=nY(e=>{s||p(e),null==o||o(e)});let v=nY(()=>{c?h(!0):h(!f)});let m=eS(()=>({checked:f,indeterminate:c}),[f,c]);return ec(n2.Provider,{value:m,children:ec(n1,{disabled:a,onClick:v,style:n,className:nK(r,{\"ui-indeterminate\":c,\"ui-checked\":i}),buttonProps:_,children:(t={checked:f,indeterminate:c},\"function\"==typeof l?e=>l(e8({},t,e)):l)})})};const n8=()=>{};eu({onAwareTriggerFocused:void 0,onAwareTriggerBlurred:void 0,keyboardAwareResponder:void 0,keyboardAwareResponderScrollInfoCollected:void 0});const n5=eu({onInputFocused:void 0,onInputBlurred:void 0});const n4=ej(eM(function(e,t){let{id:n,readonly:r=!1,placeholder:l,type:o=\"text\",inputFilter:i,style:u,className:a,maxLength:c=140,defaultValue:_,value:s,confirmType:d=\"send\",showSoftInputOnFocus:p=!0,onFocus:f,onInput:h,onConfirm:v,onBlur:m,onSelectionChange:y}=e;let b=ex(void 0!==s);let g=ex(null);let{onInputBlurred:x,onInputFocused:w}=eC(n5);eY(()=>{C(null!=s?s:\"\")},[s]),eY(()=>{b.current||C(null!=_?_:\"\")},[]);let S=()=>new Promise((e,t)=>{var n;null==(n=g.current)||n.invoke({method:\"focus\",success:t=>{e()},fail:e=>{t(new nB(e.code,e.data))}}).exec()});let k=()=>new Promise((e,t)=>{var n;null==(n=g.current)||n.invoke({method:\"blur\",success:t=>{e()},fail:e=>{t(new nB(e.code,e.data))}}).exec()});let C=e=>new Promise((t,n)=>{var r;null==(r=g.current)||r.invoke({method:\"setValue\",params:{value:e},success(e){t()},fail(e){n(new nB(e.code,e.data))}}).exec()});let E=()=>new Promise((e,t)=>{var n;null==(n=g.current)||n.invoke({method:\"getValue\",success(t){e(t)},fail(e){t(new nB(e.code,e.data))}}).exec()});let I=(e,t)=>new Promise((n,r)=>{var l;null==(l=g.current)||l.invoke({method:\"setSelectionRange\",params:{selectionStart:e,selectionEnd:t},success(e){n()},fail(e){r(new nB(e.code,e.data))}}).exec()});let P={_c:{controlled:b},_wkltId:\"8e1b:b8ce3:1\",_jsFn:{_jsFn1:t6((e,t,n,r,l=!1)=>{null==h||h(e,t,n,r),l&&nM(g,{readonly:!1})})}};return ew(t,()=>({setValue:C,getValue:E,blur:k,focus:S,setSelectionRange:I}),[C,E,k,S,I]),ec(n9,{values:[tp(g),n,r,l,d,o,i,c,p,P,e=>{null==w||w(),null==f||f(e.detail.value)},e=>{null==x||x(),null==m||m(e.detail.value)},e=>{null==v||v(e.detail.value)},e=>{null==y||y(e.detail.selectionStart,e.detail.selectionEnd)},a,u]})}));const n9=tg(\"__snapshot_8e1b3_b8ce3_1\",null,null,null,void 0,globDynamicComponentEntry,[0]);const n7=ej(eM(function(e,t){let{id:n,readonly:r=!1,placeholder:l,lineSpacing:o,bounces:i=!0,maxLines:u=40,type:a=\"text\",inputFilter:c,style:_,className:s,maxLength:d=140,defaultValue:p,value:f,confirmType:h=\"send\",showSoftInputOnFocus:v=!0,onFocus:m,onInput:y,onConfirm:b,onBlur:g,onSelectionChange:x}=e;let w=ex(void 0!==f);let S=ex(null);let{onInputBlurred:k,onInputFocused:C}=eC(n5);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 nB(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 nB(e.code,e.data))}}).exec()});let P=e=>new Promise((t,n)=>{var r;null==(r=S.current)||r.invoke({method:\"setValue\",params:{value:e},success(e){t()},fail(e){n(new nB(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 nB(e.code,e.data))}}).exec()});let T=(e,t)=>new Promise((n,r)=>{var l;null==(l=S.current)||l.invoke({method:\"setSelectionRange\",params:{selectionStart:e,selectionEnd:t},success(e){n()},fail(e){r(new nB(e.code,e.data))}}).exec()});let L={_c:{controlled:w},_wkltId:\"7a79:a9994:1\",_jsFn:{_jsFn1:t6((e,t,n,r,l=!1)=>{null==y||y(e,t,n,r),l&&nM(S,{readonly:!1})})}};return ew(t,()=>({setValue:P,getValue:O,blur:I,focus:E,setSelectionRange:T}),[P,O,I,E,T]),ec(n6,{values:[tp(S),n,r,o,i,u,l,h,a,c,d,v,L,e=>{null==C||C(),null==m||m(e.detail.value)},e=>{null==k||k(),null==g||g(e.detail.value)},e=>{null==b||b(e.detail.value)},e=>{null==x||x(e.detail.selectionStart,e.detail.selectionEnd)},s,_]})}));const n6=tg(\"__snapshot_7a793_a9994_1\",null,null,null,void 0,globDynamicComponentEntry,[0]);const re=eu({selectedValue:null,disabled:!1,handleValueChange:n8});const rt=e=>{let{children:t,onValueChange:n,defaultValue:r,value:l,disabled:o=!1}=e;let i=void 0!==l;let[u,a]=eb(null!=r?r:null);let c=i?l:u;let _=ex(null);let s=nY(e=>{_.current!==e&&(null==n||n(e),_.current=e)});let d=ek(e=>{i||a(e),s(e)},[i,s]);eY(()=>{s(null!=l?l:\"\")},[l,s]);let p=eS(()=>({selectedValue:c,handleValueChange:d,disabled:o}),[c,d,o]);let f=eS(()=>\"function\"==typeof t?t({value:c,disabled:o}):t,[t,c]);return ec(re.Provider,{value:p,children:f})};const rn=eu({value:\"\",disabled:!1});const rr=e=>{let{className:t,disabled:n=!1,style:r,value:l,children:o,radioProps:i}=e;let u=eC(re);if(!u)throw Error(\"<Radio/> must be used within <RadioGroup/>!\");let{selectedValue:a,disabled:c,handleValueChange:_}=u;let s=n||c;let d=l===a;let p=eS(()=>({value:l,disabled:s}),[l,s]);let f=nY(()=>_(l));return ec(rn.Provider,{value:p,children:ec(n1,{className:nK(t,{\"ui-checked\":d}),style:r,disabled:s,onClick:f,buttonProps:i,children:o})})};const rl=tg(\"__snapshot_b3824_f71e7_1\",null,null,tm,void 0,globDynamicComponentEntry,null);const ro=e=>{let{className:t,style:n,children:r,forceMount:l=!1}=e;let{selectedValue:o}=eC(re);let{value:i,disabled:u}=eC(rn);let{active:a}=eC(nZ);let c=i===o;return ec(rl,{values:[nK(t,{\"ui-checked\":c,\"ui-disabled\":u,\"ui-active\":a}),n],children:(l||c)&&r})};function ri(e){let t=ex(e);return eY(()=>{t.current=e},[e]),eS(()=>(...e)=>{var n;null==(n=t.current)||n.call(t,...e)},[])}const ru=eu({checked:!1,disabled:!1,active:!1});const ra=tg(\"__snapshot_0277e_2eacf_1\",null,null,tm,void 0,globDynamicComponentEntry,[0]);function rc({style:e,className:t,children:n,onChange:r,checked:l,defaultChecked:o=!1,disabled:i=!1,switchProps:u}){let a=void 0!==l;let[c,_]=eb(o);let s=a?l:c;let d=function({disabled:e=!1,onTap:t}={}){let[n,r]=eb(!1);let l=ri(()=>{e||r(!0)});let o=ri(()=>{r(!1)});return e8({pressed:n,bindtap:ri(()=>{e||null==t||t()})},nP({onTouchStart:l,onTouchEnd:o,onTouchCancel:o}))}({disabled:i,onTap:()=>{let e=!s;a||_(e),null==r||r(e)}}),{pressed:p,bindtap:f}=d,h=tY(d,[\"pressed\",\"bindtap\"]);let v=eS(()=>p&&!i,[p,i]);let m=eS(()=>({active:v,checked:s,disabled:i}),[v,s,i]);return ec(ru.Provider,{value:m,children:ec(ra,{values:[e5(e8(e5(e8({bindtap:f},h),{\"event-through\":!1,style:e,className:nK(t,{\"ui-active\":v,\"ui-checked\":s,\"ui-disabled\":i})}),u),{__spread:!0})],children:\"function\"==typeof n?n(m):n})})}tg(\"__snapshot_0277e_2eacf_2\",null,null,tm,void 0,globDynamicComponentEntry,null),tg(\"__snapshot_0277e_2eacf_3\",null,null,tm,void 0,globDynamicComponentEntry,null);const r_=eu(void 0);const rs=(e,t)=>{switch(t.type){case\"CHANGED\":{let{name:n,value:r}=t.payload;if(e[n]===r)return e;return e5(e8({},e),{[n]:r})}case\"UNREGISTER\":{let{name:n}=t.payload;if(!(n in e))return e;let{[n]:r}=e;return tY(e,[n].map(nX))}default:return e}};const rd=()=>{let e=eC(r_);if(!e)throw Error(\"useForm must be used within a FormRoot\");return e};const rp=({children:e,initialValues:t,onSubmit:n,onChanged:r})=>{let[l,o]=eg(rs,null!=t?t:{});let i=ex(!1);let u=nY(null!=r?r:n8);eY(()=>{i.current?u(l):i.current=!0},[l,u]);let a=nY((e,t)=>{o({type:\"CHANGED\",payload:{name:e,value:t}})});let c=nY(e=>{o({type:\"UNREGISTER\",payload:{name:e}})});let _=nY(()=>{null==n||n(l)});let s=eS(()=>({formData:l,onChanged:a,unregisterField:c,submit:_}),[l,a,c,_]);return ec(r_.Provider,{value:s,children:e})};const rf=e=>{var{as:t,name:n,children:r,onChanged:l}=e,o=tY(e,[\"as\",\"name\",\"children\",\"onChanged\"]);let{formData:i,onChanged:u,unregisterField:a}=rd();eY(()=>{var e;let t=null!=(e=i[n])?e:null;return u(n,t),()=>{a(n)}},[]);let c=i[n];let _=e=>{u(n,e),null==l||l(e)};let s=e5(e8({},o),{children:r});if(\"RadioGroupRoot\"===t)return ec(rt,e8({onValueChange:_,defaultValue:c},s));if(\"Input\"===t)return ec(n4,e8({defaultValue:c,onInput:_},s));if(\"TextArea\"===t)return ec(n7,e8({defaultValue:c,onInput:_},s));if(\"Checkbox\"===t)return ec(n3,e8({defaultChecked:c,onChange:_},s));if(\"Switch\"===t)return ec(rc,e8({defaultChecked:c,onChange:_},s));throw Error(`FormField component does not support as=\"${String(t)}\"`)};const rh=e=>{var{onSubmit:t}=e,n=tY(e,[\"onSubmit\"]);let{submit:r,formData:l}=rd();return ec(n1,e8({onClick:()=>{r(),null==t||t(l)}},n))};const rv=tg(\"__snapshot_088bc_a75ef_1\",null,null,tm,void 0,globDynamicComponentEntry,null);const rm=e=>{let{children:t,className:n,style:r,forceMount:l=!1}=e;let{checked:o,indeterminate:i}=eC(n2);let{active:u,disabled:a}=eC(nZ);return ec(rv,{values:[r,nK(n,{\"ui-indeterminate\":i,\"ui-checked\":o,\"ui-active\":u,\"ui-disabled\":a})],children:(l||o||i)&&t})};const ry=[{label:\"Personal\",value:\"personal\"},{label:\"Team\",value:\"team\"}];const rb=tg(\"__snapshot_ab153_bfb23_3\",null,null,tm,void 0,globDynamicComponentEntry,null);const rg=tg(\"__snapshot_ab153_bfb23_4\",null,null,tm,void 0,globDynamicComponentEntry,null);const rx=tg(\"__snapshot_ab153_bfb23_6\",null,null,null,void 0,globDynamicComponentEntry,null);const rw=tg(\"__snapshot_ab153_bfb23_7\",null,null,tm,void 0,globDynamicComponentEntry,null);const rS=tg(\"__snapshot_ab153_bfb23_5\",null,null,tm,void 0,globDynamicComponentEntry,null);const rk=tg(\"__snapshot_ab153_bfb23_8\",null,null,tm,void 0,globDynamicComponentEntry,null);const rC=tg(\"__snapshot_ab153_bfb23_9\",null,null,tm,void 0,globDynamicComponentEntry,null);const rE=tg(\"__snapshot_ab153_bfb23_10\",null,null,null,void 0,globDynamicComponentEntry,null);const rI=tg(\"__snapshot_ab153_bfb23_11\",null,null,null,void 0,globDynamicComponentEntry,null);const rP=tg(\"__snapshot_ab153_bfb23_12\",null,null,null,void 0,globDynamicComponentEntry,null);const rO=tg(\"__snapshot_ab153_bfb23_13\",null,null,null,void 0,globDynamicComponentEntry,null);const rT=tg(\"__snapshot_ab153_bfb23_14\",null,null,tm,void 0,globDynamicComponentEntry,null);const rL=tg(\"__snapshot_ab153_bfb23_2\",null,null,[[ne,1],[ne,2],[ne,6],[ne,10],[ne,13],[ne,15],[ne,17],[ne,18]],void 0,globDynamicComponentEntry,null);const rA=tg(\"__snapshot_ab153_bfb23_1\",null,null,tm,void 0,globDynamicComponentEntry,null);({render:e=>{i.__jsx=e,eo(e,i),t3()},registerDataProcessors:e=>{lynx.registerDataProcessors(e)}}).render(ec(function(){var e,t;let[n,r]=eb({});let[l,o]=eb(!1);return ec(rA,{children:ec(nz,{scrollOrientation:\"vertical\",className:\"demo-canvas\",children:ec(rp,{onChanged:e=>{r(e),o(!1)},initialValues:{workspaceType:null!=(t=null==(e=ry[\"0\"])?void 0:e.value)?t:\"\",workspaceName:\"My Workspace\",description:\"A place for collaboration\"},children:ec(rL,{children:[ec(rb,{children:\"Create a workspace\"}),ec(rg,{children:\"Set up your workspace to get started.\"}),ec(\"wrapper\",{children:ec(rf,{as:\"RadioGroupRoot\",name:\"workspaceType\",children:ec(rS,{children:ry.map(({label:e,value:t})=>ec(rr,{className:\"radio-item\",value:t,children:[ec(ro,{className:\"radio-indicator\",children:ec(rx,{})}),ec(rw,{children:e})]},t))})})}),ec(rk,{children:ec(rf,{as:\"Input\",name:\"workspaceName\",className:\"form-input\"})}),ec(rC,{children:ec(rf,{as:\"Input\",name:\"description\",className:\"form-input\"})}),ec(\"wrapper\",{children:[ec(rf,{as:\"Checkbox\",name:\"agreement\",className:\"checkbox-item\",children:[ec(rm,{className:\"checkbox-indicator\",children:ec(rE,{})}),ec(rI,{})]}),ec(rh,{onSubmit:e=>{console.info(e),o(!0)},className:\"submit-button\",children:ec(rP,{})})]}),ec(\"wrapper\",{children:l&&ec(rO,{})}),ec(rT,{children:JSON.stringify(n,null,2)})]})})})})},{}));"},"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,_,u,s,a,c,d;var f,p,h,m,v,b,g,y,w,k,S,x,I,E,C,T,A,W,B=B||\"__Card__\";var O={};var P=[];var N=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;var M=Array.isArray;function R(e,t){for(var n in t)e[n]=t[n];return e}function L(e){e&&e.parentNode&&e.parentNode.removeChild(e)}var D=P.slice;var $={__e:function(e,t,n,l){var r,i,o;for(;t=t.__;)if((r=t.__c)&&!r.__)try{if((i=r.constructor)&&null!=i.getDerivedStateFromError&&(r.setState(i.getDerivedStateFromError(e)),o=r.__d),null!=r.componentDidCatch&&(r.componentDidCatch(e,l||{}),o=r.__d),o)return r.__E=r}catch(t){e=t}throw e}};var F=0;function V(e,t,n){var l,r,i,o={};for(i in t)\"key\"==i?l=t[i]:\"ref\"==i?r=t[i]:o[i]=t[i];if(arguments.length>2&&(o.children=arguments.length>3?D.call(arguments,2):n),\"function\"==typeof e&&null!=e.defaultProps)for(i in e.defaultProps)void 0===o[i]&&(o[i]=e.defaultProps[i]);return U(e,o,l,r,null)}function U(e,t,n,l,r){var i={type:e,props:t,key:n,ref:l,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:null==r?++F:r,__i:-1,__u:0};return null==r&&null!=$.vnode&&$.vnode(i),i}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),q(this))},H.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),q(this))},H.prototype.render=j;var Y=[];var X=\"function\"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout;function q(e){(!e.__d&&(e.__d=!0)&&Y.push(e)&&!z.__r++||y!==$.debounceRendering)&&((y=$.debounceRendering)||X)(z)}var J=function(e,t){return e.__v.__b-t.__v.__b};function z(){var e;for(Y.sort(J);e=Y.shift();)if(e.__d){var t=Y.length;(function(e){var t=e.__v,n=t.__e,l=[],r=[];if(e.__P){var i=R({},t);i.__v=t.__v+1,$.vnode&&$.vnode(i),$.renderComponent&&$.renderComponent(i,e),er(e.__P,i,t,e.__n,e.__P.namespaceURI,32&t.__u?[n]:null,l,null==n?G(t):n,!!(32&t.__u),r),i.__v=t.__v,i.__.__k[i.__i]=i,function(e,t,n){t.__d=void 0;for(var l=0;l<n.length;l++)ei(n[l],n[++l],n[++l]);$.__c&&$.__c(t,e),e.some(function(t){try{e=t.__h,t.__h=[],e.some(function(e){e.call(t)})}catch(e){$.__e(e,t.__v)}})}(l,i,r),i.__e!=n&&function e(t){if(null!=(t=t.__)&&null!=t.__c){t.__e=t.__c.base=null;for(var n=0;n<t.__k.length;n++){var l=t.__k[n];if(null!=l&&null!=l.__e){t.__e=t.__c.base=l.__e;break}}return e(t)}}(i)}})(e),Y.length>t&&Y.sort(J)}z.__r=0}function K(e,t,n,l,r,i,o,_,u,s,a){var c,d,f,p,h;var m=l&&l.__k||P;var v=t.length;for(n.__d=u,function(e,t,n){var l,r,i,o=t.length;var _=n.length,u=_;var s=0;for(l=0,e.__k=[];l<o;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):M(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+s;r.__=e,r.__b=e.__b+1;var c=r.__i=function(e,t,n,l){var r=e.key;var i=e.type;var o=n-1;var _=n+1;var u=t[n];var s=l>+(null!=u&&(131072&u.__u)===0);if(null===u||u&&r==u.key&&i===u.type&&(131072&u.__u)===0)return n;if(s)for(;o>=0||_<t.length;){if(o>=0){if((u=t[o])&&(131072&u.__u)===0&&r==u.key&&i===u.type)return o;o--}if(_<t.length){if((u=t[_])&&(131072&u.__u)===0&&r==u.key&&i===u.type)return _;_++}}return -1}(r,n,a,u);i=null,-1!==c&&(i=n[c],u--,i&&(i.__u|=131072)),null==i||null===i.__v?(-1==c&&s--,\"function\"!=typeof r.type&&(r.__u|=65536)):c!==a&&(c==a-1?s--:c==a+1?s++:(c>a?s--:s++,r.__u|=65536))}if(u)for(l=0;l<_;l++)null!=(i=n[l])&&(131072&i.__u)===0&&(i.__e==e.__d&&(e.__d=G(i)),function e(t,n,l){var r;if($.unmount&&$.unmount(t),(r=t.ref)&&(!r.current||r.current===t.__e)&&ei(r,null,n),null!=(r=t.__c)){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(e){$.__e(e,n)}r.base=r.__P=null}if(r=t.__k)for(var i=0;i<r.length;i++)r[i]&&e(r[i],n,l||\"function\"!=typeof t.type);l||L(t.__e),t.__c=t.__=t.__e=t.__d=void 0}(i,i))}(n,t,m),u=n.__d,c=0;c<v;c++)null!=(f=n.__k[c])&&(d=-1===f.__i?O:m[f.__i]||O,f.__i=c,er(e,f,d,r,i,o,_,u,s,a),p=f.__e,f.ref&&d.ref!=f.ref&&(d.ref&&ei(d.ref,null,f),a.push(f.ref,f.__c||p,f)),null==h&&null!=p&&(h=p),65536&f.__u||d.__k===f.__k?u=function e(t,n,l){if(\"function\"==typeof t.type){var r=t.__k;for(var i=0;r&&i<r.length;i++)r[i]&&(r[i].__=t,n=e(r[i],n,l));return n}t.__e!=n&&(n&&t.type&&!l.contains(n)&&(n=G(t)),l.insertBefore(t.__e,n||null),n=t.__e);do n=n&&n.nextSibling;while(null!=n&&8===n.nodeType);return n}(f,u,e):\"function\"==typeof f.type&&void 0!==f.__d?u=f.__d:p&&(u=p.nextSibling),f.__d=void 0,f.__u&=-196609);n.__d=u,n.__e=h}function Z(e,t,n){\"-\"===t[0]?e.setProperty(t,null==n?\"\":n):null==n?e[t]=\"\":\"number\"!=typeof n||N.test(t)?e[t]=n:e[t]=n+\"px\"}z.__r=0;var Q=0;function ee(e,t,n,l,r){var i;e:if(\"style\"===t)if(\"string\"==typeof n)e.style.cssText=n;else{if(\"string\"==typeof l&&(e.style.cssText=l=\"\"),l)for(t in l)n&&t in n||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])i=t!==(t=t.replace(/(PointerCapture)$|Capture$/i,\"$1\")),t=t.toLowerCase()in e||\"onFocusOut\"===t||\"onFocusIn\"===t?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+i]=n,n?l?n._attached=l._attached:(n._attached=Q,e.addEventListener(t,i?el:en,i)):e.removeEventListener(t,i?el:en,i);else{if(\"http://www.w3.org/2000/svg\"==r)t=t.replace(/xlink(H|:h)/,\"h\").replace(/sName$/,\"s\");else if(\"width\"!=t&&\"height\"!=t&&\"href\"!=t&&\"list\"!=t&&\"form\"!=t&&\"tabIndex\"!=t&&\"download\"!=t&&\"rowSpan\"!=t&&\"colSpan\"!=t&&\"role\"!=t&&\"popover\"!=t&&t in e)try{e[t]=null==n?\"\":n;break e}catch(e){}\"function\"==typeof n||(null!=n&&(!1!==n||\"-\"===t[4])?e.setAttribute(t,\"popover\"==t&&!0==n?\"\":n):e.removeAttribute(t))}}function 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,_,u,s){var a,c,d,f,p,h,m,v=t.type;if(void 0!==t.constructor)return null;128&n.__u&&(u=!!(32&n.__u),i=[_=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=eo),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,f=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 k=0;k<a._sb.length;k++)a.__h.push(a._sb[k]);a._sb=[],a.__h.length&&o.push(a);break t}null!=a.componentWillUpdate&&a.componentWillUpdate(b,a.__s,w),g&&null!=a.componentDidUpdate&&a.__h.push(function(){a.componentDidUpdate(d,f,p)})}a.context=w,a.props=b,a.__P=e,a.__e=!1;var S=$.__r,x=0;if(g){a.state=a.__s,a.__d=!1,S&&S(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,S&&S(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&&(p=a.getSnapshotBeforeUpdate(d,f));var E=null!=m&&m.type===j&&null==m.key?m.props.children:m;K(e,M(E)?E:[E],t,n,l,r,i,o,_,u,s),a.base=t.__e,t.__u&=-161,a.__h.length&&o.push(a),h&&(a.__E=a.__=null)}catch(e){if(t.__v=null,u||null!=i){for(t.__u|=u?160:32;_&&8===_.nodeType&&_.nextSibling;)_=_.nextSibling;i[i.indexOf(_)]=null,t.__e=_}else t.__e=n.__e,t.__k=n.__k;$.__e(e,t,n)}else null==i&&t.__v===n.__v?(t.__k=n.__k,t.__e=n.__e):t.__e=function(e,t,n,l,r,i,o,_,u){var s,a,c,d,f,p,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!=i){for(s=0;s<i.length;s++)if((f=i[s])&&\"setAttribute\"in f===!!b&&(b?f.localName===b:3===f.nodeType)){e=f,i[s]=null;break}}if(null==e){if(null===b)return $.document.createTextNode(v);e=$.document.createElementNS(r,b,v.is&&v),_&&($.__m&&$.__m(t,i),_=!1),i=null}if(null===b)m===v||_&&e.data===v||(e.data=v);else{if(i=i&&D.call(e.childNodes),m=n.props||O,!_&&null!=i)for(s=0,m={};s<e.attributes.length;s++)m[(f=e.attributes[s]).name]=f.value;for(s in m)if(f=m[s],\"children\"==s);else if(\"dangerouslySetInnerHTML\"==s)c=f;else if(!(s in v)){if(\"value\"==s&&\"defaultValue\"in v||\"checked\"==s&&\"defaultChecked\"in v)continue;ee(e,s,null,f,r)}for(s in v)f=v[s],\"children\"==s?d=f:\"dangerouslySetInnerHTML\"==s?a=f:\"value\"==s?p=f:\"checked\"==s?h=f:_&&\"function\"!=typeof f||m[s]===f||ee(e,s,f,m[s],r);if(a)_||c&&(a.__html===c.__html||a.__html===e.innerHTML)||(e.innerHTML=a.__html),t.__k=[];else if(c&&(e.innerHTML=\"\"),K(e,M(d)?d:[d],t,n,l,\"foreignObject\"===b?\"http://www.w3.org/1999/xhtml\":r,i,o,i?i[0]:n.__k&&G(n,0),_,u),null!=i)for(s=i.length;s--;)L(i[s]);_||(s=\"value\",\"progress\"===b&&null==p?e.removeAttribute(\"value\"):void 0===p||p===e[s]&&(\"progress\"!==b||p)&&(\"option\"!==b||p===m[s])||ee(e,s,p,m[s],r),s=\"checked\",void 0!==h&&h!==e[s]&&ee(e,s,h,m[s],r))}return e}(n.__e,t,n,l,r,i,o,u,s);(m=$.diffed)&&m(t)}function ei(e,t,n){try{if(\"function\"==typeof e){var l=\"function\"==typeof e.__u;l&&e.__u(),l&&null==t||(e.__u=e(t))}else e.current=t}catch(e){$.__e(e,n)}}function eo(e,t,n){return this.constructor(e,n)}var e_=0;function eu(e,t){var n={__c:t=\"__cC\"+e_++,__: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,q(e)})},this.sub=function(e){n.push(e);var t=e.componentWillUnmount;e.componentWillUnmount=function(){n&&n.splice(n.indexOf(e),1),t&&t.call(e)}}}return e.children}};return n.Provider.__=n.Consumer.contextType=n}var es=0;var ea=[];var ec=$.__b;var ed=$.__r;var ef=$.diffed;var ep=$.__c;var eh=$.unmount;var em=$.__;function ev(e,t){$.__h&&$.__h(k,e,es||t),es=0;var n=k.__H||(k.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({}),n.__[e]}function eb(e){return es=1,eg(eW,e)}function eg(e,t,n){var l=ev(w++,2);if(l._reducer=e,!l.__c&&(l.__=[n?n(t):eW(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=k,!k._hasScuFromHooks)){var r=function(e,t,n){if(!l.__c.__H)return!0;var r=l.__c.__H.__.filter(function(e){return!!e.__c});if(r.every(function(e){return!e.__N}))return!i||i.call(this,e,t,n);var o=!1;return r.forEach(function(e){if(e.__N){var t=e.__[0];e.__=e.__N,e.__N=void 0,t!==e.__[0]&&(o=!0)}}),(!!o||l.__c.props!==e)&&(!i||i.call(this,e,t,n))};k._hasScuFromHooks=!0;var i=k.shouldComponentUpdate;var o=k.componentWillUpdate;k.componentWillUpdate=function(e,t,n){if(this.__e){var l=i;i=void 0,r(e,t,n),i=l}o&&o.call(this,e,t,n)},k.shouldComponentUpdate=r}return l.__N||l.__}function ey(e){return es=5,ek(function(){return{current:e}},[])}function ew(e,t,n){var l,r;es=6,l=null==n?n:n.concat(e),r=ev(w++,4),!$.__s&&eA(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,k.__h.push(r))}function ek(e,t){var n=ev(w++,7);return eA(n.__H,t)&&(n.__=e(),n.__H=t,n.__h=e),n.__}function eS(e,t){return es=8,ek(function(){return e},t)}function ex(e){var t=k.context[e.__c];var n=ev(w++,9);return(n.c=e,t)?(null==n.__&&(n.__=!0,t.sub(k)),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(eT),e.__H.__h=[]}catch(t){e.__H.__h=[],$.__e(t,e.__v)}}$.__b=function(e){k=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),k=e.__c,w=0;var t=k.__H;t&&(S===k?(t.__h=[],k.__h=[],t.__.forEach(function(e){e.__N&&(e.__=e.__N),e._pendingArgs=e.__N=void 0})):(t.__h.forEach(eC),t.__h.forEach(eT),t.__h=[],w=0)),S=k},$.diffed=function(e){ef&&ef(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})),S=k=null},$.__c=function(e,t){t.some(function(e){try{e.__h.forEach(eC),e.__h=e.__h.filter(function(e){return!e.__||eT(e)})}catch(n){t.some(function(e){e.__h&&(e.__h=[])}),t=[],$.__e(n,e.__v)}}),ep&&ep(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=k;var n=e.__c;\"function\"==typeof n&&(e.__c=void 0,n()),k=t}function eT(e){var t=k;e.__c=e.__(),k=t}function eA(e,t){return!e||e.length!==t.length||t.some(function(t,n){return t!==e[n]})}function eW(e,t){return\"function\"==typeof t?t(e):t}function eB(e,t){for(var n in t)e[n]=t[n];return e}function eO(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 eP(e,t){this.props=e,this.context=t}function eN(e,t){function n(e){var n=this.props.ref;var l=n==e.ref;return(!l&&n&&(n.call?n(null):n.current=null),t)?!t(this.props,e)||!l:eO(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}eP.prototype=new H,eP.prototype.isPureReactComponent=!0,eP.prototype.shouldComponentUpdate=function(e,t){return eO(this.props,e)||eO(this.state,t)};var eM=$.__b;$.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),eM&&eM(e)};var eR=\"undefined\"!=typeof Symbol&&Symbol.for&&Symbol.for(\"react.forward_ref\")||3911;function eL(e){function t(t){var n=eB({},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 eD=$.__e;$.__e=function(e,t,n,l){if(e.then){var r;var i=t;for(;i=i.__;)if((r=i.__c)&&r.__c)return null==t.__e&&(t.__e=n.__e,t.__k=n.__k),r.__c(e,t)}eD(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 i=!1;var o=function(){i||(i=!0,n.__R=null,r?r(_):_())};n.__R=o;var _=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(o,o)},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=eB({},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 i=function(){t.props.revealOrder?(l.push(r),ej(t,e,l)):r()};n?n(i):i()}},eU.prototype.render=function(e){this._next=null,this._map=new Map;var t=function e(t,n){return n=n||[],null==t||\"boolean\"==typeof t||(M(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 eY(){}function eX(){return this.cancelBubble}function eq(){return this.defaultPrevented}$.event=function(e){return eG&&(e=eG(e)),e.persist=eY,e.isPropagationStopped=eX,e.isDefaultPrevented=eq,e.nativeEvent=e};var eJ=$.vnode;function ez(e,t){var n;return n=ev(w++,3),void(!$.__s&&eA(n.__H,t)&&(n.__=e,n._pendingArgs=t,k.__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 e2(e,t){var n;null==(n=globalThis.lynxWorkletImpl)||n._refImpl.updateWorkletRef(e,t)}function e4(e){var t;null==(t=globalThis.lynxWorkletImpl)||t._eomImpl.setShouldFlush(e)}function e5(e,t,n,l){var r,i,o,_;null==(i=globalThis.lynxWorkletImpl)||null==(r=i._jsFunctionLifecycleManager)||r.addRef(e._execId,e),n&&t&&(null==(o=globalThis.lynxWorkletImpl)||o._hydrateCtx(e,t)),n&&(null==(_=globalThis.lynxWorkletImpl)||_._eventDelayImpl.runDelayedWorklet(e,l))}$.vnode=function(e){e.$$typeof=eH,eJ&&eJ(e)},(f=I||(I={})).runWorkletCtx=\"Lynx.Worklet.runWorkletCtx\",f.runOnBackground=\"Lynx.Worklet.runOnBackground\",f.FunctionCallRet=\"Lynx.Worklet.FunctionCallRet\",f.releaseBackgroundWorkletCtx=\"Lynx.Worklet.releaseBackgroundWorkletCtx\",f.releaseWorkletRef=\"Lynx.Worklet.releaseWorkletRef\";let e3=!1;function e7(e){var t,n,l;!e&&e3&&(null==(t=globalThis.lynxWorkletImpl)||t._runOnBackgroundDelayImpl.runDelayedBackgroundFunctions(),null==(n=globalThis.lynxWorkletImpl)||n._refImpl.clearFirstScreenWorkletRefMap(),null==(l=globalThis.lynxWorkletImpl)||l._eventDelayImpl.clearDelayedWorklets()),e3=e}(p=E||(E={})).firstScreen=\"rLynxFirstScreen\",p.updateFromRoot=\"updateFromRoot\",p.globalEventFromLepus=\"globalEventFromLepus\",p.jsReady=\"rLynxJSReady\",p.patchUpdate=\"rLynxChange\",p.publishEvent=\"rLynxPublishEvent\",p.updateMTRefInitValue=\"rLynxChangeRefInitValue\",(h=C||(C={}))[h.UPDATE=0]=\"UPDATE\",h[h.RESET=1]=\"RESET\";let e9=[];function e6(){let e=e9;e9=[];for(let t=0;t<e.length;t+=2){let n=e[t];let l=e[t+1];\"_wvid\"in n?e2(n,l):\"_wkltId\"in n&&(n._unmount=e8(n,[{elementRefptr:l}]))}}function te(e){\"_wvid\"in e?e2(e,null):\"_wkltId\"in e&&(\"function\"==typeof e._unmount?e._unmount():e8(e,[null]))}function tt(e,t,n,l,r){var i,o;if(!e.__elements)return;n&&(null==(i=e.__worklet_ref_set)?void 0:i.has(n))&&(te(n),null==(o=e.__worklet_ref_set)||o.delete(n));let _=e.__values[t];if(null==_);else if(_._wvid){let t=e.__elements[l];e9.push(_,t)}else if(_._wkltId){let t=e.__elements[l];e5(_,n,e3,t),e9.push(_,t)}else if(\"__LEPUS__\"===_._type||_._lepusWorkletHash);else throw Error(\"MainThreadRef: main-thread:ref must be of type MainThreadRef or main-thread function.\");_&&(null!=e.__worklet_ref_set||(e.__worklet_ref_set=new Set),e.__worklet_ref_set.add(_)),__SetAttribute(e.__elements[l],\"has-react-ref\",!0)}const tn={};const tl={};const tr=new WeakMap;const ti=Promise.resolve();function to(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,u=!1)=>{var s,a,c,d,f,p;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==(s=r.__extraProps)?void 0:s.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(_=>{Object.defineProperty(r.__extraProps,\"isReady\",{set(t){1===t&&(delete r.__extraProps.isReady,r.__extraProps.isReady=1,ti.then(()=>{_(n(e,l,r,i,o))}))},get:()=>t})})}if(\"object\"==typeof(p=null==(a=r.__extraProps)?void 0:a.isReady)&&null!==p&&\"function\"==typeof p.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),_?_&&u&&__FlushElementTree(e,{asyncFlush:!0}):__FlushElementTree(e,{triggerLayout:!0,operationID:i,elementID:t,listID:l}),t;{let e=r.takeElements();h.set(t,e)}}if(g&&g.size>0){let[n]=g;let[s,a]=n;g.delete(s),t(a,r),a.unRenderElements(),a.__id?(null==(f=a.__extraProps)?void 0:f.isReady)===1&&__OnLifecycleEvent([E.publishEvent,{handlerName:`${a.__id}:__extraProps:onRecycleComponent`,data:{}}]):a.tearDown();let c=r.__element_root;if(e6(),h.set(s,r),_){if(_&&u){let t={asyncFlush:!0};o&&(t.listReuseNotification={listElement:e,itemKey:v[\"item-key\"]}),__FlushElementTree(c,t)}}else{let t={triggerLayout:!0,operationID:i,elementID:s,listID:l};o&&(t.listReuseNotification={listElement:e,itemKey:v[\"item-key\"]}),__FlushElementTree(c,t)}return s}r.ensureElements();let y=r.__element_root;__AppendElement(e,y);let w=__GetElementUniqueID(y);return e6(),h.set(w,r),_?_&&u&&__FlushElementTree(y,{asyncFlush:!0}):__FlushElementTree(y,{triggerLayout:!0,operationID:i,elementID:w,listID:l}),w};return[function(t,l,r,i,o){let _=e[r];if(!_)throw Error(\"childCtx not found\");let u=n(t,l,_,i,o);return\"number\"==typeof u?u:void 0},function(t,l,r,i,o,_){let u=!1;let s=[];r.forEach((r,a)=>{let c=i[a];let d=e[r];if(!d)throw Error(\"childCtx not found\");let f=n(t,l,d,c,o,!0,_);\"number\"==typeof f||(u=!0),s.push(f)}),u&&Promise.all(s).then(e=>{__FlushElementTree(t,{triggerLayout:!0,operationIDs:i,elementIDs:e,listID:l})}),__FlushElementTree(t,{triggerLayout:!0,operationIDs:i,elementIDs:r.map((e,t)=>\"number\"==typeof s[t]?s[t]:-1),listID:l})}]}function t_(){return(e,t,n)=>{var l,r;let i=tn[t];let o=tl[t];if(!i||!o)throw Error(\"enqueueComponent called on removed list\");let _=i.get(n);if(!_)return;let u=null!=(l=_.__listItemPlatformInfo)?l:{};let s=_.type+(null!=(r=u[\"reuse-identifier\"])?r:\"\");o.has(s)||o.set(s,new Map),o.get(s).set(n,_)}}const tu={values:{},clear(e){this.values&&delete this.values[e]},clearAttachedLists(){this.values&&Object.values(this.values).map(e=>e.getAttachedListId()).filter(e=>void 0!==e).forEach(e=>this.clear(e))},flush(){this.values&&Object.values(this.values).map(e=>e.flush()).filter(e=>void 0!==e).forEach(e=>this.clear(e))},flushWithId(e){var t;this.values&&(null==(t=this.values[e])?void 0:t.flush())!==void 0&&this.clear(e)},runWithoutUpdates(e){let t=this.values;this.values=null;try{e()}finally{this.values=t}}};function ts(e,t){var n,l;null==(n=e.__worklet_ref_set)||n.forEach(e=>{e&&te(e)}),null==(l=e.__worklet_ref_set)||l.clear(),t&&e.childNodes.forEach(e=>{ts(e,t)})}function ta(e,t,n,l){let r;let i=e.__values[t];r=\"string\"==typeof i?i:`react-ref-${e.__id}-${t}`,e.__values[t]=r,e.__elements&&n!==r&&(n&&__SetAttribute(e.__elements[l],n,void 0),r&&__SetAttribute(e.__elements[l],r,1))}function tc(e,t,n,l){let r=0;let i={$$diff:!0,i:{},r:[],m:{}};let o={};for(let t=0;t<e.length;t++){var _,u;let n=e[t];(null!=(u=o[_=n.type])?u:o[_]=new Set).add([n,t])}for(let e=0;e<t.length;e++){let _;let u=t[e];let s=o[u.type];if(s&&s.size>0&&([_]=s,_)&&n(_[0],u)){s.delete(_);let t=_[1];if(l(_[0],u,t,e),t<r){i.m[t]=e;continue}r=t}else i.i[e]=u}for(let e in o)for(let[,t]of o[e])i.r.push(t);return i}function td(e,t,n){let l;t.__elements=e.__elements,t.__element_root=e.__element_root,(null==n?void 0:n.skipUnRef)||ts(e,!1),(l=null==n?void 0:n.swap)&&(l[e.__id]=t.__id),tu.runWithoutUpdates(()=>{var n;null==(n=t.__values)||n.forEach((n,l)=>{let r=e.__values[l];n!==r&&(t.__values[l]=r,t.setAttribute(l,n))})});let{slot:r}=t.__snapshot_def;if(!r)return;let i=e.childNodes;let o=t.childNodes;r.forEach(([l,r],_)=>{switch(l){case T.Slot:case T.MultiChildren:td(i[_],o[_],n);break;case T.Children:{let t=tc(i,o,(e,t)=>e.type===t.type,(e,t)=>{td(e,t,n)});(function(e,t,n,l,r){let i;if(!(!eZ(t.i)||!eZ(t.m)||t.r.length>0))return e;let o=new Set(t.r);let{i:_,m:u}=t;let s=new Map;let a=0;i=e[0];let c=[];let d=0;let f=0;let p=Object.keys(_).length;for(;i||p>0;){let t=!1;if(i&&o.has(f))l(i);else if(i&&void 0!==u[f])s.set(u[f],i),p++;else{let e=i;s.has(d)?(e=s.get(d),t=!0,r(e,i),p--):void 0!==_[d]&&(e=n(_[d],i),t=!0,p--),c.push(e),d++}i&&!t&&(i=e[++a],f++)}return c})(i,t,(t,n)=>(t.ensureElements(),__InsertElementBefore(e.__elements[r],t.__element_root,null==n?void 0:n.__element_root),t),t=>{__RemoveElement(e.__elements[r],t.__element_root)},(t,n)=>{__RemoveElement(e.__elements[r],t.__element_root),__InsertElementBefore(e.__elements[r],t.__element_root,null==n?void 0:n.__element_root)});break}case T.ListChildren:{let l=[];let _=[];let u=[];let s=__GetElementUniqueID(e.__elements[r]);let a=tn[s];let c=tl[s];let d=tc(i,o,(e,t)=>e.type===t.type,(e,t,l,r)=>{if(JSON.stringify(e.__listItemPlatformInfo)!==JSON.stringify(t.__listItemPlatformInfo)&&u.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)_.push(Number(e));for(let e in d.m)l.push(Number(e)),_.push(d.m[e]);_.sort((e,t)=>e-t),l.sort((e,t)=>e-t);let f={insertAction:_.map(e=>({position:e,type:o[e].type,...o[e].__listItemPlatformInfo})),removeAction:l,updateAction:u};let p=e.__elements[r];__SetAttribute(p,\"update-list-info\",f);let[h,m]=to(o,td);__UpdateListCallbacks(p,h,t_(),m),tu.clear(t.__id)}}})}(m=T||(T={}))[m.Attr=0]=\"Attr\",m[m.Spread=1]=\"Spread\",m[m.Slot=2]=\"Slot\",m[m.Children=3]=\"Children\",m[m.ListChildren=4]=\"ListChildren\",m[m.MultiChildren=5]=\"MultiChildren\",new Map;class tf{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]=to(this.list.childNodes,td);return __UpdateListCallbacks(t,n,t_(),l),this.list.__id}getAttachedListId(){if(this.list.__elements)return this.list.__id}onInsertBefore(e,t){if(e.parentNode&&this.removeChild.add(e),t){var n;let l=null!=(n=this.insertBefore.get(t))?n:[];l.push(e),this.insertBefore.set(t,l)}else this.appendChild.push(e)}onRemoveChild(e){this.removeChild.add(e)}onSetAttribute(e,t,n){this.platformInfoUpdate.set(e,t)}__toAttribute(){let{removeChild:e,insertBefore:t,appendChild:n,platformInfoUpdate:l}=this;let r=[];let i=[];let o=[];let _=0;for(let n=0;n<this.oldChildNodes.length;n++,_++){let u=this.oldChildNodes[n];l.has(u)&&o.push({...l.get(u),from:+_,to:+_,flush:!1,type:u.type}),t.has(u)&&t.get(u).forEach(e=>{i.push({position:_,type:e.type,...e.__listItemPlatformInfo}),_++}),e.has(u)&&(r.push(n),e.delete(u),_--)}for(let e=0;e<n.length;e++){let t=n[e];i.push({position:_+e,type:t.type,...t.__listItemPlatformInfo})}if(i.sort((e,t)=>e.position-t.position),r.sort((e,t)=>e-t),\"2.14\"===SystemInfo.lynxSdkVersion||\"2.15\"===SystemInfo.lynxSdkVersion||\"2.16\"===SystemInfo.lynxSdkVersion||\"2.17\"===SystemInfo.lynxSdkVersion||\"2.18\"===SystemInfo.lynxSdkVersion){let e=this.list.__snapshot_def.slot[0][1];\"list-container\"===__GetAttributeByName(this.list.__elements[e],\"custom-list-name\")&&(o.length=0,this.list.childNodes.forEach((e,t)=>{o.push({...e.__listItemPlatformInfo,from:t,to:t,flush:!1,type:e.type})}))}return{insertAction:i,removeAction:r,updateAction:o}}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 tp=0;const th=[[T.Children,0]];const tm={values:new Map([[\"root\",{create:()=>[e],update:[],slot:th,isListHolder:!1,cssId:0}],[\"wrapper\",{create:()=>[__CreateWrapperElement(tp)],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,o){var _;_=e,e=i?`${i}:${_}`:_;let u={create:t,update:n,slot:l,cssId:r,entryName:i,refAndSpreadIndexes:o};return tm.values.set(e,u),l&&l[0]&&l[0][0]===T.ListChildren&&(u.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 i=e(this);if(this.__elements=i,this.__element_root=i[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),tu.runWithoutUpdates(()=>{let e=this.__values;e&&(this.__values=void 0,this.setAttribute(\"values\",e))}),n)tu.flushWithId(this.__id);else{let e=0;let n=this.__firstChild;for(;n;){n.ensureElements();let[l,r]=t[e];switch(l){case T.Slot:__ReplaceElement(n.__element_root,i[r]),i[r]=n.__element_root,e++;break;case T.MultiChildren:\"wrapper\"===__GetTag(i[r])?__ReplaceElement(n.__element_root,i[r]):__AppendElement(i[r],n.__element_root),e++;break;case T.Children:case T.ListChildren:__AppendElement(i[r],n.__element_root)}n=n.__nextSibling}}}unRenderElements(){let{isListHolder:e}=this.__snapshot_def;if(this.__elements=void 0,this.__element_root=void 0,e);else{let e=this.__firstChild;for(;e;)e.unRenderElements(),e=e.__nextSibling}}takeElements(){let e=Object.create(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,i;tu.values&&(null!=(i=(l=tu.values)[r=this.__id])?i:l[r]=new tf(this)).onInsertBefore(e,t),this.__insertBefore(e,t);return}let o=e.__parent===this;this.__insertBefore(e,t);let _=this.__elements;if(!_)return;e.__elements||e.ensureElements();let u=n.slot.length;if(1===u){let[,l]=n.slot[0];let r=_[l];o&&__RemoveElement(r,e.__element_root),t?__InsertElementBefore(r,e.__element_root,t.__element_root):__AppendElement(r,e.__element_root)}else if(u>1){let t=this.__current_slot_index++;let[l,r]=n.slot[t];l===T.Slot?(__ReplaceElement(e.__element_root,_[r]),_[r]=e.__element_root):l===T.MultiChildren&&(\"wrapper\"===__GetTag(_[r])?__ReplaceElement(e.__element_root,_[r]):__AppendElement(_[r],e.__element_root))}}removeChild(e){let t=this.__snapshot_def;if(t.isListHolder){var n,l,r;tu.values&&(null!=(r=(n=tu.values)[l=this.__id])?r:n[l]=new tf(this)).onRemoveChild(e),this.__removeChild(e),tg(e,e=>{tv.values.delete(e.__id)}),e.__id=0;return}if(ts(e,!0),this.__elements){let[,n]=t.slot[0];__RemoveElement(this.__elements[n],e.__element_root)}e.__snapshot_def.isListHolder&&function(e){let[,t]=e.__snapshot_def.slot[0];let n=__GetElementUniqueID(e.__elements[t]);delete 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 tk(e){if(!lynx.getJSContext)throw Error(\"snapshotPatchApply failed: ctx not found\");lynx.getJSContext().dispatchEvent({type:\"Lynx.Error.CtxNotFound\",data:{id:e}})}function tS(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(){i=!0;let e=JSON.stringify(r);__OnLifecycleEvent([E.firstScreen,{root:e,jsReadyEventIdSwap:o}]),o={}}r=new tw(\"root\"),(v=A||(A={}))[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 tT=Object.assign;function tA(){this.__d=!0}const tW={};function tB(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=tW),null==n.__s&&(n.__s=n.state),l.getDerivedStateFromProps&&(n.state=tT({},n.state,l.getDerivedStateFromProps(n.props,n.state))),a&&a(e),n.render(n.props,n.state,t)}function tO(e,t,n){return this.constructor(e,n)}const tP=function(e,t){let n=$.__s;$.__s=!0,_=$.__b,u=$._diff2,s=$.diffed,a=$.__r,c=$.unmount;let l=V(j,null);l.__k=[e];let r=[];try{(function e(t,n,l,r,i,o,d){let f;if(null==t||!0===t||!1===t||\"\"===t)return;if(\"object\"!=typeof t){if(\"function\"==typeof t)return;o.push(3,t+\"\");return}if(tC(t)){i.__k=t;for(let _=0;_<t.length;_++){let u=t[_];null!=u&&\"boolean\"!=typeof u&&e(u,n,l,r,i,o,o.length)}return}t.__=i,_&&_(t),u&&u(t,tW);let p=t.type,h=t.props,m=n,v,b,g;if(\"function\"==typeof p){if(p===j)b=h.children;else{if(null!=(v=p.contextType)){let e=n[v.__c];m=e?e.props.value:v.__}if(p.prototype&&\"function\"==typeof p.prototype.render)b=tB(t,m),g=t.__c;else{g={__v:t,props:h,context:m,setState:tA,forceUpdate:tA,__d:!0,__h:[]},t.__c=g,g.constructor=p,g.render=tO;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=tT({},n,g.getChildContext()))}b=null!=b&&b.type===j&&null==b.key?b.props.children:b;try{e(b,n,l,r,t,o,o.length)}catch(i){if(i&&\"object\"==typeof i&&i.then&&g&&g.__c)g.setState({__a:!0}),g.__d&&(b=tB(t,n),g=t.__c,o.length=d,e(b,n,l,r,t,o,o.length));else throw i}finally{s&&s(t),t.__=void 0,c&&c(t)}return}for(let e in o.push(0,t),h){let t=h[e];switch(e){case\"children\":f=t;continue;case\"key\":case\"ref\":case\"__self\":case\"__source\":continue}null!=t&&!1!==t&&\"function\"!=typeof t&&o.push(2,e,t)}\"string\"==typeof f||\"number\"==typeof f?o.push(3,f):null!=f&&!1!==f&&!0!==f&&e(f,n,!1,r,t,o,o.length),s&&s(t),t.__=void 0,c&&c(t),o.push(1)})(e,t||tW,!1,void 0,l,r,0)}finally{$.__c&&$.__c(e,tE),$.__s=n,tE.length=0}return r};function tN(){let e;try{e=tP(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 A.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 A.End:n.__k=void 0,l.pop(),n=l[l.length-1],t+=1;break;case A.Attr:{let l=e[t+1];let r=e[t+2];n.setAttribute(l,r),t+=3;break}case A.Text:{let l=e[t+1];let r=new tw(null);r.setAttribute(0,l),n.insertBefore(r),t+=2}}})(e,r)}function tM(e){return`Native${e}Modules`}void 0===globalThis.processEvalResult&&(globalThis.processEvalResult=(e,t)=>null==e?void 0:e(t)),Object.assign(globalThis,{renderPage:function(t){var n;i=!1,o={},lynx.__initData=null!=t?t:{},e=n=__CreatePage(\"0\",0),tp=__GetElementUniqueID(n),r.ensureElements(),tN(),tu.flush(),e6(),tI()},updatePage:function(n,l){var _,u,s;if(null==l?void 0:l.reloadTemplate){let t;return void(_=n,u=l,++tx,\"object\"!=typeof _||eZ(_)||Object.assign(lynx.__initData,_),tv.clear(),tu.clearAttachedLists(),o={},t=r,(r=new tw(\"root\")).__jsx=t.__jsx,tN(),td(t,r,{skipUnRef:!0}),tu.flush(),e6(),i&&__OnLifecycleEvent([E.firstScreen,{root:JSON.stringify(r)}]),__FlushElementTree(e,u))}if((null==l?void 0:l.resetPageData)&&(lynx.__initData={}),\"object\"==typeof n&&!eZ(n)){null!=(s=lynx).__initData||(s.__initData={}),Object.assign(lynx.__initData,n)}let a=null!=l?l:{};if(!i){let e=r;(r=new tw(\"root\")).__jsx=e.__jsx,t=null==l?void 0:l.pipelineOptions,tS(\"updateDiffVdomStart\"),tu.clearAttachedLists(),tN(),td(e,r,{skipUnRef:!0,swap:o}),tu.flush(),e6(),a.triggerDataUpdated=!0,tS(\"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 i=r.flowIds;i&&lynx.performance.profileStart(\"ReactLynx::patch\",{flowId:i[0],flowIds:i}),t=r.pipelineOptions,tS(\"mtsRenderStart\"),tS(\"parseChangesStart\");let{patchList:o,flushOptions:_={},delayedRunOnMainThreadData:u}=JSON.parse(l);tS(\"parseChangesEnd\"),tS(\"patchChangesStart\"),r.isHydration&&e7(!0);try{for(let{snapshotPatch:e}of o)tu.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 i=tv.values.get(t);let o=tv.values.get(l);let _=tv.values.get(r);i&&o?i.insertBefore(o,_):tk(i?l:t);break}case 2:{let t=e[++n];let l=e[++n];let r=tv.values.get(t);let i=tv.values.get(l);r&&i?r.removeChild(i):tk(r?l:t);break}case 3:{let t=e[++n];let l=e[++n];let r=e[++n];let i=tv.values.get(t);i?i.setAttribute(l,r):tk(t);break}case 4:{let t=e[++n];let l=e[++n];let r=tv.values.get(t);r?r.setAttribute(\"values\",l):tk(t)}}}(e),tu.flush()}finally{tS(\"patchChangesEnd\"),tS(\"mtsRenderEnd\"),r.isHydration&&e7(!1)}if(e6(),u&&(null!=n?n:n=eQ(2,13))){for(let e of(e4(!1),u))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)}e4(!0)}r.pipelineOptions&&(_.pipelineOptions=r.pipelineOptions),__FlushElementTree(e,_),i&&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[tM(\"\")]&&(globalThis[tM(\"\")]=void 0),lynx.registerDataProcessors=function(e){let t=!1;globalThis.processData=(n,l)=>{let r;try{var i,o,_,u,s;r=l?null!=(u=null==e||null==(o=e.dataProcessors)||null==(i=o[l])?void 0:i.call(o,n))?u:n:null!=(s=null==e||null==(_=e.defaultDataProcessor)?void 0:_.call(e,n))?s: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=W||(W={}))[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 tL{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 tD(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 i=(d||(r=lynx.getJSContext(),d=new tL,r.addEventListener(I.FunctionCallRet,tD),tR.push(()=>{r.removeEventListener(I.FunctionCallRet,tD),d=void 0})),d.add(n));e._isFirstScreen?null==(l=globalThis.lynxWorkletImpl)||l._runOnBackgroundDelayImpl.delayRunOnBackground(e,(e,n)=>{tF(e,t,n,i)}):tF(e._jsFnId,t,e._execId,i)})}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,o){let _;let u=e.__values[t];_=u?\"string\"==typeof u?u:`${e.__id}:${t}:${o}`:void 0,e.__values[t]=_,e.__elements&&__AddEvent(e.__elements[l],r,i,_)}function tU(e,t,n,l,r){if(!e.__elements)return;let i=e.__values[t];\"main-thread\"===r&&function e(t,n,l,r,i){var o;if(n&&null!=(o=n.__isSerialized)&&o)if(i&&i.domSet||(__SetAttribute(t,\"has-react-gesture\",!0),__SetAttribute(t,\"flatten\",!1)),n.type===W.COMPOSED)for(let[i,o]of n.gestures.entries())e(t,o,null==l?void 0:l.gestures[i],r,{domSet:!0});else{let{config:e,relationMap:i}=function(e,t,n,l){var r,i,o,_,u,s;let a={callbacks:[]};for(let r of(e.config&&(a.config=e.config),Object.keys(e.callbacks))){let i=e.callbacks[r];e5(i,null==t?void 0:t.callbacks[r],n,l),a.callbacks.push({name:r,callback:i})}return{config:a,relationMap:{waitFor:null!=(_=null==e||null==(r=e.waitFor)?void 0:r.map(e=>e.id))?_:[],simultaneous:null!=(u=null==e||null==(i=e.simultaneousWith)?void 0:i.map(e=>e.id))?u:[],continueWith:null!=(s=null==e||null==(o=e.continueWith)?void 0:o.map(e=>e.id))?s:[]}}}(n,l,r,t);__SetGestureDetector(t,n.id,n.type,e,i)}}(e.__elements[l],i,n,e3)}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,o){var _;if(!e.__elements)return;let u=null!=(_=e.__values[t]||void 0)?_:{};u._workletType=r,\"main-thread\"===r&&(e5(u,n,e3,e.__elements[l]),__AddEvent(e.__elements[l],i,o,{type:\"worklet\",value:u}))}const tY=/^(([A-Za-z-]*):)?(bind|catch|capture-bind|capture-catch|global-bind)([A-Za-z]+)$/;const tX={bind:\"bindEvent\",catch:\"catchEvent\",\"capture-bind\":\"capture-bind\",\"capture-catch\":\"capture-catch\",\"global-bind\":\"global-bindEvent\"};const tq=new Set([\"name\",\"clip-radius\",\"overlap\",\"exposure-scene\",\"exposure-id\"]);function tJ(e,t,n,l){var r,i,o;null!=n||(n={});let _=e.__values[t];let u=e.parentNode;if(null==u?void 0:u.__snapshot_def.isListHolder){let s=e0(n,tH);let a=e0(_,tH);eK(s,a)||(tu.values&&(null!=(o=(r=tu.values)[i=u.__id])?o:r[i]=new tf(u)).onSetAttribute(e,a,s),e.__listItemPlatformInfo=a,function(e,t,n,l){let r=e.__listItemPlatformInfo=e.__values[t];if(tu.values){var i,o,_;let t=e.parentNode;(null==t?void 0:t.__snapshot_def.isListHolder)&&(null!=(_=(i=tu.values)[o=t.__id])?_:i[o]=new tf(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,s,l))}if(\"__spread\"in _&&(_=function(e,t,n){let l={};let r=!1;for(let i in n){let o=n[i];\"__spread\"===i||(\"class\"===i||\"className\"===i?(null!=o||(o=\"\"),l.className=o):\"ref\"===i?l[i]=o?1:void 0:\"function\"==typeof o?l[i]=`${e.__id}:${t}:${i}`:\"__self\"===i||\"__source\"===i||(!r&&tq.has(i)&&(r=!0),l[i]=o))}return r&&(l.flatten=!1),l}(e,t,_),e.__values[t]=_),!e.__elements)return;let s={};let a=null;for(let r in _){let i=_[r];if(i!==n[r])if(\"className\"===r)__SetClasses(e.__elements[l],i);else if(\"style\"===r)__SetInlineStyles(e.__elements[l],i);else if(\"id\"===r)__SetID(e.__elements[l],i);else if(r.startsWith(\"data-\"));else if(\"ref\"===r)ta({__values:{get[t](){return i},set[t](value){_[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 i}},__id:e.__id,__elements:e.__elements,__worklet_ref_set:e.__worklet_ref_set},t,n[r],l,r.slice(0,-4));else if(r.endsWith(\":gesture\")){let o=r.slice(0,-8);tU({__values:{get[t](){return i}},__id:e.__id,__elements:e.__elements},t,n[r],l,o)}else if(a=tY.exec(r)){let o=a[2];let u=tX[a[3]];let s=a[4];let c={__values:{get[t](){return i},set[t](value){_[r]=value}},__id:e.__id,__elements:e.__elements};o?tG(c,t,n[r],l,o,u,s):tV(c,t,n[r],l,u,s,r)}else tH.has(r)||__SetAttribute(e.__elements[l],r,i);r.startsWith(\"data-\")&&(s[r.slice(5)]=i)}let c=!1;for(let r in n){if(!(r in _))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){_[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=tY.exec(r)){let i=a[2];let o=tX[a[3]];let u=a[4];let s={__values:{get[t](){return},set[t](value){_[r]=value}},__id:e.__id,__elements:e.__elements};i?tG(s,t,n[r],l,i,o,u):tV(s,t,n[r],l,o,u,r)}else tH.has(r)||__SetAttribute(e.__elements[l],r,null);r.startsWith(\"data-\")&&(c=!0)}(c||!eZ(s))&&__SetDataset(e.__elements[l],s)}const tz=T.Slot;function tK(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}}}T.MultiChildren,T.Children,T.ListChildren,[].slice;let tZ=0;class tQ{get current(){}set current(e){}toJSON(){return{_wvid:this._wvid}}constructor(e,t){this._initValue=e,this._type=t,this._wvid=--tZ}}class t0 extends tQ{constructor(e){super(e,\"main-thread\")}}function t1(e){return ek(()=>new t0(e),[])}const t8={onScroll:\"bindscroll\",onScrollStateChange:\"bindscrollstatechange\",onScrollToLower:\"bindscrolltolower\",onScrollToUpper:\"bindscrolltoupper\",onScrollEnd:\"bindscrollend\",onScrollToUpperEdge:\"bindscrolltoupperedge\",onScrollToLowerEdge:\"bindscrolltoloweredge\",onScrollToNormalState:\"bindscrolltonormalstate\"};const t2={onUIAppear:\"binduiappear\",onUIDisappear:\"binduidisappear\"};const t4={onLayoutChange:\"bindlayoutchange\"};const t5={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 t3=function(e){ez()};var t7=function(){return(t7=Object.assign||function(e){for(var t,n=1,l=arguments.length;n<l;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)};function t9(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;for(var l=Array(e),r=0,t=0;t<n;t++)for(var i=arguments[t],o=0,_=i.length;o<_;o++,r++)l[r]=i[o];return l}const t6=function(e){var t=ey(e);t.current=e,t3(function(){return function(){return t.current()}})};var ne=function(e,t){return\"boolean\"==typeof t?t:!e};const nt=function(e){return eg(ne,e)};const nn=(e,t)=>{let n=new Map;let l=e=>{let t=n.get(e);if(t)return t;let l={visible:!1,timer:null};return n.set(e,l),l};let r=e=>{e.timer&&(clearTimeout(e.timer),e.timer=null)};return{appear:(n,r,i)=>{let o=t(r);if(!o)return;let _=l(o);if(!_.visible&&!_.timer){if(e<=0){_.visible=!0,i(n,r);return}_.timer=setTimeout(()=>{_.timer=null,_.visible||(_.visible=!0,i(n,r))},e)}},disappear:(e,n,i)=>{let o=t(n);if(!o)return;let _=l(o);_.timer?r(_):_.visible&&(_.visible=!1,i(e,n))},isVisible:e=>{var t;return(null==(t=n.get(e))?void 0:t.visible)===!0},dispose:()=>{n.forEach(e=>{r(e)}),n.clear()}}};function nl(e){let{attrs:t,onAppear:n,onDisappear:l,onChange:r,admissionTimeMs:i}=e;let[o,_]=eb(!1);let u=ey(n);let s=ey(l);let a=ey(r);ez(),ez(),ez();let c=ey(function(e=0){let t=\"__single__\";let n=nn(e,e=>e);return{appear(e,l){n.appear(e,t,(e,t)=>l.onAdmit(e))},disappear(e,l){n.disappear(e,t,(e,t)=>l.onLeave(e))},isVisible:()=>n.isVisible(t),dispose(){n.dispose()}}}(null!=i?i:0));ez();let d=eS(e=>{c.current.appear(e,{onAdmit:e=>{var t,n;_(!0),null==(t=u.current)||t.call(u,e),null==(n=a.current)||n.call(a,e,{isInView:!0})}})},[]);let f=eS(e=>{c.current.disappear(e,{onLeave:e=>{var t,n;_(!1),null==(t=s.current)||t.call(s,e),null==(n=a.current)||n.call(a,e,{isInView:!1})}})},[]);return{isInView:o,exposureProps:ek(()=>({...null!=t?t:{},binduiappear:d,binduidisappear:f}),[t,d,f])}}function nr(e){return()=>{}}function ni(e,t){return\"function\"==typeof e?e.length?e(t):e():e}function no(e=0,t=null,n=null){let l,r,i=ni(e);\"number\"!=typeof i&&console.error(`initialValue has to be a number, got ${typeof e}`),\"number\"==typeof n?i=Math.max(i,n):null!==n&&console.error(`min has to be a number, got ${typeof n}`),\"number\"==typeof t?i=Math.min(i,t):null!==t&&console.error(`max has to be a number, got ${typeof t}`);let[o,_]=(l=ey(ni(i)),r=void 0,ek(()=>[()=>l.current,e=>{l.current=ni(e,l.current),r()}],[]));return[o(),ek(()=>{let e=e=>{let l=o();let r=ni(e,l);l!==r&&(\"number\"==typeof n&&(r=Math.max(r,n)),\"number\"==typeof t&&(r=Math.min(r,t)),l!==r&&_(r))};return{get:o,set:e,inc:(t=1)=>{let n=ni(t,o());\"number\"!=typeof n&&console.error(`delta has to be a number or function returning a number, got ${typeof n}`),e(e=>e+n)},dec:(t=1)=>{let n=ni(t,o());\"number\"!=typeof n&&console.error(`delta has to be a number or function returning a number, got ${typeof n}`),e(e=>e-n)},reset:(t=i)=>{let n=ni(t,o());\"number\"!=typeof n&&console.error(`value has to be a number or function returning a number, got ${typeof n}`),i=n,e(n)}}},[i,n,t])]}const n_=e=>{ez()};const nu=e=>{let t=ey(e);t.current=e,n_(()=>()=>t.current())};nr(function(e){return function(){var t=[];for(var n=0;n<arguments.length;n++)t[n]=arguments[n];return ek(function(){return e.apply(void 0,t)},t)}}),nr(nt),nr(no),nr(function(e,t){var n=eb(t),l=n[0],r=n[1];return null==l?[e,r]:[l,r]}),nr(t3),nr(function(){var e=eb(null),t=(e[0],e[1]);return ez(),eS(function(e){t(e)},[])}),nr(function(e){var t=ey(e);return t.current=e,t}),nr(function(e,t){ez()}),nr(function(e){void 0===e&&(e={});var t=eb(e),n=t[0],l=t[1];var r=ek(function(){return{set:function(e,t){l(function(n){var l;return t7(t7({},n),((l={})[e]=t,l))})},setAll:function(e){l(e)},remove:function(e){l(function(t){return t[e],function(e,t){var n={};for(var l in e)Object.prototype.hasOwnProperty.call(e,l)&&t.indexOf(l)<0&&(n[l]=e[l]);if(null!=e&&\"function\"==typeof Object.getOwnPropertySymbols)for(var r=0,l=Object.getOwnPropertySymbols(e);r<l.length;r++)t.indexOf(l[r])<0&&Object.prototype.propertyIsEnumerable.call(e,l[r])&&(n[l[r]]=e[l[r]]);return n}(t,[\"symbol\"==typeof e?e:e+\"\"])})},reset:function(){return l(e)}}},[l]);var i=t7({get:eS(function(e){return n[e]},[n])},r);return[n,i]}),nr(function(){var e=ey(!1);var t=eS(function(){return e.current},[]);return ez(),t}),nr(no),nr(function(e){var t=ey();return ez(),t.current}),nr(function(e){void 0===e&&(e=[]);var t=eb(e),n=t[0],l=t[1];return{add:function(e){l(function(t){return t9(t,[e])})},remove:function(){var e;return l(function(t){var n=t[0],l=t.slice(1);return e=n,l}),e},get first(){return n[0]},get last(){return n[n.length-1]},get size(){return n.length}}}),nr(function(e){void 0===e&&(e=new Set);var t=eb(e),n=t[0],l=t[1];var r=ek(function(){return{add:function(e){return l(function(t){return new Set(t9(Array.from(t),[e]))})},remove:function(e){return l(function(t){return new Set(Array.from(t).filter(function(t){return t!==e}))})},toggle:function(e){return l(function(t){return new Set(t.has(e)?Array.from(t).filter(function(t){return t!==e}):t9(Array.from(t),[e]))})},reset:function(){return l(e)},clear:function(){return l(new Set)}}},[l]);var i=t7({has:eS(function(e){return n.has(e)},[n])},r);return[n,i]}),nr(function(e){void 0===e&&(e={});var t=eb(e),n=t[0],l=t[1];return[n,eS(function(e){l(function(t){return Object.assign({},t,e instanceof Function?e(t):e)})},[])]}),nr((e,t=200)=>{let[n,l]=eb(e);let r=ey();return ey(null),ey(!1),ez(),nu(()=>{r.current&&clearTimeout(r.current)}),n}),nr(function(e,t,n){void 0===t&&(t=200);var l=eb(null),r=l[0];l[1];var i=ey();return ey(),ez(),t6(function(){i.current&&clearTimeout(i.current)}),r}),nr(nt),nr(nu),nr(()=>{let e=ey(!1);return n_(()=>()=>{e.current=!0}),ek(()=>(t,n)=>new Promise((l,r)=>{t.then(t=>{e.current||l(t)},t=>{e.current?n?n(t):console.error(\"useUnmountPromise\",t):r(t)})}),[])}),nr((e,t)=>{let n;(n=ey(!0)).current?n.current=!1:n.current,ez()}),nr(nl),nr(function(e){let{attrs:t,onAppear:n,onDisappear:l,onChange:r,admissionTimeMs:i}=e;let o=ey(new Map);return ey(n),ey(l),ey(r),ez(),ez(),ez(),ey(function(e=0){let t=nn(e,e=>{var t;return null!=(t=e.id)?t:null});return{appear(e,n,l){t.appear(e,n,l.onAdmit)},disappear(e,n,l){t.disappear(e,n,l.onLeave)},isVisible:e=>t.isVisible(e),dispose(){t.dispose()}}}(null!=i?i:0)),ez(),ez(),{isInView:eS(e=>!0===o.current.get(e),[]),exposureProps:ek(()=>e=>{var n;return{...null!=t?t:{},...null!=(n=e.extra)?n:{},\"exposure-id\":e.id}},[t])}}),nr(function(e={}){let{isStaying:t,onRunningChange:n,...l}=e||{};let{isInView:r,exposureProps:i}=nl(l);let[o,_]=eb(0);let[u,s]=eb(!1);let a=ey(!0);let c=ey(!1);let d=ey(0);let f=ey(null);let p=ey(null);let h=ey();ez();let m=()=>{null!=p.current&&(cancelAnimationFrame(p.current),p.current=null)};let v=eS(()=>{var e;if(!c.current)return;let t=Date.now();let n=null!=(e=f.current)?e:t;_(d.current+(t-n)),p.current=requestAnimationFrame(v)},[]);let b=eS(()=>{var e,t;if(c.current)return;c.current=!0,s(!0);let n=Date.now();f.current=n,m(),p.current=requestAnimationFrame(v);let l=d.current+(n-(null!=(t=f.current)?t:n));null==(e=h.current)||e.call(h,{isRunning:!0,stayTimeMs:l})},[v]);let g=eS(()=>{var e;if(!c.current)return;let t=Date.now();null!=f.current&&(d.current+=t-f.current),f.current=null,c.current=!1,s(!1),m();let n=d.current;_(n),null==(e=h.current)||e.call(h,{isRunning:!1,stayTimeMs:n})},[]);ez();let y=eS(()=>{a.current=!1,g()},[g]);let w=eS(()=>{a.current=!0,(\"boolean\"==typeof t?t:r)&&b()},[t,r,b]);let k=eS(()=>{d.current=0,c.current?f.current=Date.now():f.current=null,_(0)},[]);return ez(),{stayTimeMs:o,isRunning:u,exposureProps:ek(()=>\"boolean\"==typeof t?{}:i,[t,i]),pause:y,resume:w,reset:k}});let ns={_wkltId:\"48ff:8a2f4:15\"};const na=function({onTouchStart:e,onTouchMove:t,onTouchEnd:n,onTouchCancel:l,onTouchStartMT:r,onTouchMoveMT:i,onTouchEndMT:o,onTouchCancelMT:_}){return ek(()=>{let u={};return e&&(u.bindtouchstart=()=>{},u.bindmousedown=()=>{}),t&&(u.bindtouchmove=()=>{},u.bindmousemove=()=>{}),n&&(u.bindtouchend=()=>{},u.bindmouseup=()=>{}),l&&(u.bindtouchcancel=()=>{}),r&&(u[\"main-thread:bindtouchstart\"]={_c:{onTouchStartMT:r,toTouchEventMT:ns},_wkltId:\"48ff:8a2f4:16\"},u[\"main-thread:bindmousedown\"]={_c:{onTouchStartMT:r,toTouchEventMT:ns},_wkltId:\"48ff:8a2f4:17\"}),i&&(u[\"main-thread:bindtouchmove\"]={_c:{onTouchMoveMT:i,toTouchEventMT:ns},_wkltId:\"48ff:8a2f4:18\"},u[\"main-thread:bindmousemove\"]={_c:{onTouchMoveMT:i,toTouchEventMT:ns},_wkltId:\"48ff:8a2f4:19\"}),o&&(u[\"main-thread:bindtouchend\"]={_c:{onTouchEndMT:o,toTouchEventMT:ns},_wkltId:\"48ff:8a2f4:20\"},u[\"main-thread:bindmouseup\"]={_c:{onTouchEndMT:o,toTouchEventMT:ns},_wkltId:\"48ff:8a2f4:21\"}),_&&(u[\"main-thread:bindtouchcancel\"]={_c:{onTouchCancelMT:_,toTouchEventMT:ns},_wkltId:\"48ff:8a2f4:22\"}),u},[e,t,n,l,r,i,o,_])};e1(void 0===B?void 0:B)&&registerWorkletInternal(\"main-thread\",\"48ff:8a2f4:1\",function(e){lynxWorkletImpl._workletMap[\"48ff:8a2f4:1\"].bind(this);let{createHandle:t}=this._c;\"function\"==typeof e?e(t()):e&&(e.current=t())}),e1(void 0===B?void 0:B)&&registerWorkletInternal(\"main-thread\",\"48ff:8a2f4:2\",function(e){lynxWorkletImpl._workletMap[\"48ff:8a2f4:2\"].bind(this),\"function\"==typeof e?e(null):e&&(e.current=null)}),e1(void 0===B?void 0:B)&&registerWorkletInternal(\"main-thread\",\"48ff:8a2f4:3\",function(e,t){if(lynxWorkletImpl._workletMap[\"48ff:8a2f4:3\"].bind(this),\"touches\"in e||\"changedTouches\"in e){var n,l,r,i,o,_,u,s;let a=null!=(_=null==(n=e.touches)?void 0:n[0])?_:null==(l=e.changedTouches)?void 0:l[0];let c=null!=(u=null==a?void 0:a.identifier)?u:0;let d=null!=(s=null==(r=e.touches)?void 0:r.length)?s:0;let f=null==(o=e.touches)||null==(i=o[0])?void 0:i.identifier;return{type:t,pointerType:\"touch\",x:null==a?void 0:a.pageX,y:null==a?void 0:a.pageY,pointerId:c,isPrimary:d<=1||c===f,pageX:null==a?void 0:a.pageX,pageY:null==a?void 0:a.pageY,clientX:null==a?void 0:a.clientX,clientY:null==a?void 0:a.clientY,target:e.target,currentTarget:e.currentTarget,originalEvent:e}}return{type:t,pointerType:\"mouse\",x:e.x,y:e.y,pointerId:1,isPrimary:!0,pageX:e.pageX,pageY:e.pageY,clientX:e.clientX,clientY:e.clientY,button:(e=>{if(null!=e)return 1===e?0:2===e?2:3===e?1:e})(e.button),buttons:e.buttons,target:e.target,currentTarget:e.currentTarget,originalEvent:e}}),e1(void 0===B?void 0:B)&&registerWorkletInternal(\"main-thread\",\"48ff:8a2f4:4\",function(e){let{onPointerDownMT:t,unifyPointerEventMT:n}=this._c;t(n(e,\"pointerdown\"))}),e1(void 0===B?void 0:B)&&registerWorkletInternal(\"main-thread\",\"48ff:8a2f4:5\",function(e){let{onPointerDownMT:t,unifyPointerEventMT:n}=this._c;t(n(e,\"pointerdown\"))}),e1(void 0===B?void 0:B)&&registerWorkletInternal(\"main-thread\",\"48ff:8a2f4:6\",function(e){let{onPointerMoveMT:t,unifyPointerEventMT:n}=this._c;t(n(e,\"pointermove\"))}),e1(void 0===B?void 0:B)&&registerWorkletInternal(\"main-thread\",\"48ff:8a2f4:7\",function(e){let{onPointerMoveMT:t,unifyPointerEventMT:n}=this._c;t(n(e,\"pointermove\"))}),e1(void 0===B?void 0:B)&&registerWorkletInternal(\"main-thread\",\"48ff:8a2f4:8\",function(e){let{onPointerUpMT:t,unifyPointerEventMT:n}=this._c;t(n(e,\"pointerup\"))}),e1(void 0===B?void 0:B)&&registerWorkletInternal(\"main-thread\",\"48ff:8a2f4:9\",function(e){let{onPointerUpMT:t,unifyPointerEventMT:n}=this._c;t(n(e,\"pointerup\"))}),e1(void 0===B?void 0:B)&&registerWorkletInternal(\"main-thread\",\"48ff:8a2f4:10\",function(e){let{onPointerCancelMT:t,unifyPointerEventMT:n}=this._c;t(n(e,\"pointercancel\"))}),e1(void 0===B?void 0:B)&&registerWorkletInternal(\"main-thread\",\"48ff:8a2f4:11\",function(e){lynxWorkletImpl._workletMap[\"48ff:8a2f4:11\"].bind(this);let{tapLockRef:t,touchStartXRef:n,touchStartYRef:l}=this._c;t.current=!0,n.current=e.detail.x,l.current=e.detail.y}),e1(void 0===B?void 0:B)&&registerWorkletInternal(\"main-thread\",\"48ff:8a2f4:12\",function(e){lynxWorkletImpl._workletMap[\"48ff:8a2f4:12\"].bind(this);let{touchStartXRef:t,touchStartYRef:n,direction:l,tapThreshold:r,tapLockRef:i}=this._c;let o=e.detail.x-t.current;let _=e.detail.y-n.current;let u=!1;return\"x\"===l?u=Math.abs(o)>r:\"y\"===l?u=Math.abs(_)>r:\"both\"===l&&(u=Math.abs(o)>r||Math.abs(_)>r),u&&(i.current=!1),i.current}),e1(void 0===B?void 0:B)&&registerWorkletInternal(\"main-thread\",\"48ff:8a2f4:13\",function(e){lynxWorkletImpl._workletMap[\"48ff:8a2f4:13\"].bind(this);let{checkThreshold:t}=this._c;return t(e)}),e1(void 0===B?void 0:B)&&registerWorkletInternal(\"main-thread\",\"48ff:8a2f4:14\",function(e){lynxWorkletImpl._workletMap[\"48ff:8a2f4:14\"].bind(this);let{checkThreshold:t}=this._c;return t(e)}),e1(void 0===B?void 0:B)&&registerWorkletInternal(\"main-thread\",\"48ff:8a2f4:15\",function(e,t){if(lynxWorkletImpl._workletMap[\"48ff:8a2f4:15\"].bind(this),\"touches\"in e||\"changedTouches\"in e)return e;let n={identifier:1,pageX:e.pageX,pageY:e.pageY,clientX:e.clientX,clientY:e.clientY};return{detail:{x:e.pageX,y:e.pageY},touches:\"touchend\"===t?[]:[n],changedTouches:[n],target:e.target,currentTarget:e.currentTarget}}),e1(void 0===B?void 0:B)&&registerWorkletInternal(\"main-thread\",\"48ff:8a2f4:16\",function(e){let{onTouchStartMT:t,toTouchEventMT:n}=this._c;t(n(e,\"touchstart\"))}),e1(void 0===B?void 0:B)&&registerWorkletInternal(\"main-thread\",\"48ff:8a2f4:17\",function(e){let{onTouchStartMT:t,toTouchEventMT:n}=this._c;t(n(e,\"touchstart\"))}),e1(void 0===B?void 0:B)&&registerWorkletInternal(\"main-thread\",\"48ff:8a2f4:18\",function(e){let{onTouchMoveMT:t,toTouchEventMT:n}=this._c;t(n(e,\"touchmove\"))}),e1(void 0===B?void 0:B)&&registerWorkletInternal(\"main-thread\",\"48ff:8a2f4:19\",function(e){let{onTouchMoveMT:t,toTouchEventMT:n}=this._c;let l=e.buttons;l&&(1&l)!==0&&t(n(e,\"touchmove\"))}),e1(void 0===B?void 0:B)&&registerWorkletInternal(\"main-thread\",\"48ff:8a2f4:20\",function(e){let{onTouchEndMT:t,toTouchEventMT:n}=this._c;t(n(e,\"touchend\"))}),e1(void 0===B?void 0:B)&&registerWorkletInternal(\"main-thread\",\"48ff:8a2f4:21\",function(e){let{onTouchEndMT:t,toTouchEventMT:n}=this._c;t(n(e,\"touchend\"))}),e1(void 0===B?void 0:B)&&registerWorkletInternal(\"main-thread\",\"48ff:8a2f4:22\",function(e){let{onTouchCancelMT:t,toTouchEventMT:n}=this._c;t(n(e,\"touchcancel\"))}),e1(void 0===B?void 0:B)&&registerWorkletInternal(\"main-thread\",\"48ff:8a2f4:23\",function(){let{currentVelocityRef:e}=this._c;let t=e.current;let n=\"none\";return t>0?n=\"forward\":t<0&&(n=\"backward\"),{velocity:t,direction:n}}),e1(void 0===B?void 0:B)&&registerWorkletInternal(\"main-thread\",\"48ff:8a2f4:24\",function(e){let{currentVelocityRef:t,previousPositionRef:n,previousTimestampRef:l}=this._c;t.current=0,n.current=null,l.current=null,n.current=e.detail.x,l.current=Date.now()}),e1(void 0===B?void 0:B)&&registerWorkletInternal(\"main-thread\",\"48ff:8a2f4:25\",function(e){let{previousPositionRef:t,previousTimestampRef:n,RTL:l,maxTimeDelta:r,currentVelocityRef:i,smoothingFactor:o}=this._c;let _=e.detail.x;let u=Date.now();if(null===t.current||null===n.current)return;let s=u-n.current;let a=s/1e3;if(a<=0)return;let c=(l?t.current-_:_-t.current)/a;s>r?i.current=c:i.current=o*c+(1-o)*i.current,t.current=_,n.current=u});const nc=new Set([\"onTouchStart\",\"onTouchMove\",\"onTouchEnd\",\"onTouchCancel\"]);function nd(e,t,n){ek(()=>{},[e,eS(t,null!=n?n:[])]),ez()}e1(void 0===B?void 0:B)&&registerWorkletInternal(\"main-thread\",\"eb73:0b4d4:1\",function(e){let{events:t,event:n}=this._c;t[n]&&t[n](e)});const nf=eN(eL(function(e,t){let{pid:n,scene:l,estimatedStyle:r,top:i=\"10px\",bottom:o=\"10px\",left:_=\"10px\",right:u=\"10px\",unmountOnExit:s,unloadable:a=!1,children:c}=e;let d=null!=s?s:a;let[f,p]=eb(!1);let h=ey(void 0);if(nd(\"exposure\",()=>{},[f]),nd(\"disexposure\",()=>{},[d]),!d)return f?c:tK(np,{values:[i,o,_,u,n,l,r]});{var m,v,b,g;let{width:e,height:t,...s}=r;return tK(nh,{values:[i,o,_,u,n,l,1,f?{}:{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,...s}],children:f&&c})}}));const np=tb(\"__snapshot_ae447_b9b02_1\",function(){let e=__CreateView(tp);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,B,null);const nh=tb(\"__snapshot_ae447_b9b02_2\",function(){let e=__CreateView(tp);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,B,null);const nm=tb(\"__snapshot_4ab23_9c9de_1\",function(){return[__CreateScrollView(tp)]},[(e,t,n)=>tJ(e,t,n,0)],th,void 0,B,[0]);const nv=function(e){let{children:t,sticky:n,elementProps:l}=e;return tK(nm,{values:[{...l,\"android-touch-slop\":\"page\",name:\"lepus\",flatten:!1,__spread:!0}],children:[n,t]})};const nb={_wkltId:\"333e:982fb:1\"};e1(void 0===B?void 0:B)&&registerWorkletInternal(\"main-thread\",\"333e:982fb:1\",function(e,...t){e&&console.info(...t)});const ng={_wkltId:\"ec97:2e79e:1\"};e1(void 0===B?void 0:B)&&registerWorkletInternal(\"main-thread\",\"ec97:2e79e:1\",function(e){return lynx.querySelector(`#${e}`)}),e1(void 0===B?void 0:B)&&registerWorkletInternal(\"main-thread\",\"a85b:ce1da:1\",function(){lynxWorkletImpl._workletMap[\"a85b:ce1da:1\"].bind(this);let{scrollOrientation:e}=this._c;return\"vertical\"===e}),e1(void 0===B?void 0:B)&&registerWorkletInternal(\"main-thread\",\"a85b:ce1da:2\",function(){return lynxWorkletImpl._workletMap[\"a85b:ce1da:2\"].bind(this),1/Number(SystemInfo.pixelRatio)}),e1(void 0===B?void 0:B)&&registerWorkletInternal(\"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===B?void 0:B)&&registerWorkletInternal(\"main-thread\",\"a85b:ce1da:4\",function(){return lynxWorkletImpl._workletMap[\"a85b:ce1da:4\"].bind(this),\"Android\"===SystemInfo.platform}),e1(void 0===B?void 0:B)&&registerWorkletInternal(\"main-thread\",\"a85b:ce1da:5\",function(e){return lynxWorkletImpl._workletMap[\"a85b:ce1da:5\"].bind(this),!e||0===Object.keys(e).length}),e1(void 0===B?void 0:B)&&registerWorkletInternal(\"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===B?void 0:B)&&registerWorkletInternal(\"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:i,startTouchBouncingDelta:o}=this._c;e(t,\"[lynx-ui-scroll-view][useBounce] clear touch info\"),n.current=null,l.current=0,r.current=null,i.current=null,o.current=0}),e1(void 0===B?void 0:B)&&registerWorkletInternal(\"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===B?void 0:B)&&registerWorkletInternal(\"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===B?void 0:B)&&registerWorkletInternal(\"main-thread\",\"a85b:ce1da:10\",function(){var e,t;lynxWorkletImpl._workletMap[\"a85b:ce1da:10\"].bind(this);let{bouncingPositionInfo:n,toUpper:l,toLower:r,alwaysBouncing:i,bouncingStatus:o,mtsLog:_,debugLogEnabled:u}=this._c;let s=null!=(t=null==(e=n.current)?void 0:e.bouncingOffset)?t:0;return l.current&&r.current?i?o.alwaysBouncing:o.noBouncing:(_(u,`[lynx-ui-scroll-view][useBounce] get bouncing status, initialLayoutPosition: 0, currentPosition: ${s}`),s>0)?o.upperBouncing:s<0?o.lowerBouncing:o.inScrollingRange}),e1(void 0===B?void 0:B)&&registerWorkletInternal(\"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===B?void 0:B)&&registerWorkletInternal(\"main-thread\",\"a85b:ce1da:12\",function(e){var t,n,l,r,i,o;lynxWorkletImpl._workletMap[\"a85b:ce1da:12\"].bind(this);let{mtsLog:_,isEmpty:u,bouncingPositionInfo:s,prevTouch:a,startTouch:c,bouncingTouchStartPosition:d,isVertical:f,debugLogEnabled:p,selectorMT:h,containerID:m,enableRTL:v}=this._c;if(isNaN(Number(e)))return void _(!0,\"[lynx-ui-scroll-view][useBounce] ERROR! bouncingOffset is NaN\");if(u(s.current))s.current.velocity=0;else{let t=Date.now()-s.current.timeStamp;let n=e-s.current.bouncingOffset||0;t>0&&(s.current.velocity=n/t)}if(s.current.bouncingOffset=e,s.current.timeStamp=Date.now(),0===e&&null!==a.current&&(c.current=a.current,d.current={}),f())_(p,`[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;_(p,`[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==(i=h(`${m}-upperBounceWrapper`))||i.setStyleProperty(\"transform\",`translateX(${t}px)`),null==(o=h(`${m}-lowerBounceWrapper`))||o.setStyleProperty(\"transform\",`translateX(${t}px)`)}}),e1(void 0===B?void 0:B)&&registerWorkletInternal(\"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===B?void 0:B)&&registerWorkletInternal(\"main-thread\",\"a85b:ce1da:14\",function(e,t){lynxWorkletImpl._workletMap[\"a85b:ce1da:14\"].bind(this);let{isVertical:n,height:l,width:r,isEmpty:i,startTouchBouncingDelta:o,bouncingTouchStartPosition:_,rubberC:u,mtsLog:s,debugLogEnabled:a,bouncingSetStyle:c}=this._c;let d=n()?l.current:r.current;let f=Math.abs(Number(i(o.current)?_.current:o.current));let p=d*f/((d-f)*u.current)||0;let h=_.current?p+e*t:e*t;let m=Math.max(0,(1-1/(h*u.current/d+1))*d);s(a,`[lynx-ui-scroll-view][useBounce] rubber effect, scrollViewFrameSize: ${d}, touchStartPosition: ${f}, deltaYForTouchStartPosition: ${p}, deltaYForNextPosition: ${h}, rubberBandingDistance: ${m}`),c(e*m)}),e1(void 0===B?void 0:B)&&registerWorkletInternal(\"main-thread\",\"a85b:ce1da:15\",function(e){lynxWorkletImpl._workletMap[\"a85b:ce1da:15\"].bind(this);let{getCurrentDelta:t,mtsLog:n,debugLogEnabled:l,toUpper:r,toLower:i,singleSidedBounce:o,enableScroll:_,rubberEffect:u}=this._c;let s=t(e);n(l,`[lynx-ui-scroll-view][useBounce] check crossing edge, delta: ${s}, toUpper: ${String(r.current)}, toLower: ${String(i.current)}`),!0===r.current&&s>0&&(\"both\"===o.current||\"upper\"===o.current)&&(_(!1),u(s>0?1:-1,s)),!0===i.current&&s<0&&(\"both\"===o.current||\"lower\"===o.current)&&(_(!1),u(s>0?1:-1,s)),_(!0)}),e1(void 0===B?void 0:B)&&registerWorkletInternal(\"main-thread\",\"a85b:ce1da:16\",function(){var e,t;lynxWorkletImpl._workletMap[\"a85b:ce1da:16\"].bind(this);let{bouncingPositionInfo:n,startBounceTriggerDistance:l,endBounceTriggerDistance:r,threshold:i}=this._c;return Math.abs(null!=(t=n.current.bouncingOffset)?t:0)-Math.abs((null==(e=n.current)?void 0:e.bouncingOffset)>0?l:r)>i()}),e1(void 0===B?void 0:B)&&registerWorkletInternal(\"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:i,bouncingSetStyle:o,threshold:_,customRequestAnimationFrame:u}=this._c;t(n,\"[lynx-ui-scroll-view][useBounce] fling forward end\"),t(n,\"[lynx-ui-scroll-view][useBounce] bounce back starts\");let s=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=i.current*s;let d=(s+e/1e3*l)*Math.pow(Math.E,-i.current*(e/1e3));o(d),Math.abs(d)<_()?(o(0),t(n,\"[lynx-ui-scroll-view][useBounce] bounce back ends\")):u(c)};u(c),r.current=!0}),e1(void 0===B?void 0:B)&&registerWorkletInternal(\"main-thread\",\"a85b:ce1da:18\",function(e){var t,n;lynxWorkletImpl._workletMap[\"a85b:ce1da:18\"].bind(this);let{startTouch:l,mtsLog:r,debugLogEnabled:i,bouncingTouchStartPosition:o,bouncingPositionInfo:_,touchEndFrameEnableFlag:u,touchingEndBouncingBackEnableFlag:s,flingEndWithBouncingEnableFlag:a}=this._c;l.current=e.touches,r(i,\"[lynx-ui-scroll-view][useBounce] touch start\"),o.current=null!=(n=null==(t=_.current)?void 0:t.bouncingOffset)?n:0,u.current=!1,s.current=!1,a.current=!1}),e1(void 0===B?void 0:B)&&registerWorkletInternal(\"main-thread\",\"a85b:ce1da:19\",function(e){lynxWorkletImpl._workletMap[\"a85b:ce1da:19\"].bind(this);let{prevTouch:t,startTouch:n,mtsLog:l,getCurrentDelta:r,getBouncingStatus:i,bouncingStatus:o,enableScroll:_,rubberEffect:u,debugLogEnabled:s,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(i()){case o.upperBouncing:_(!1),u(1,t),l(s,\"[lynx-ui-scroll-view][useBounce] touch move upper bouncing\");break;case o.lowerBouncing:_(!1),u(-1,t),l(s,\"[lynx-ui-scroll-view][useBounce] touch move lower bouncing\");break;case o.alwaysBouncing:l(s,\"[lynx-ui-scroll-view][useBounce] touch move always bouncing\"),a&&c(e);break;case o.inScrollingRange:l(s,\"[lynx-ui-scroll-view][useBounce] touch move in scrolling range\"),c(e)}}}),e1(void 0===B?void 0:B)&&registerWorkletInternal(\"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:i,bouncingPositionInfo:o,isOverTriggerDistance:_,triggerScrollToBouncesEvent:u,touchEndFrameEnableFlag:s,threshold:a,bouncingBack:c,flingDeceleratingRate:d,bouncingSetStyle:f,customRequestAnimationFrame:p}=this._c;if(e(),t(!0),n(l,\"[lynx-ui-scroll-view][useBounce] touch end\"),r(i())){var h,m,v,b;let e=Date.now();let t=null==(h=o.current)?void 0:h.velocity;let r=null!=(b=null==(m=o.current)?void 0:m.bouncingOffset)?b:0;_()&&u((null==(v=o.current)?void 0:v.bouncingOffset)>0);let i=t;let g=()=>{!1!==!!s.current&&(n(l,\"[lynx-ui-scroll-view][useBounce] touch end process frame\"),Math.abs(i)<=a()?c():(n(l,\"[lynx-ui-scroll-view][useBounce] fling down start\"),f(r+t*(Math.pow(d.current,Date.now()-e)-1)/Math.log(d.current)),i=t*Math.pow(d.current,Date.now()-e),s.current&&p(g)))};p(g),s.current=!0}}),e1(void 0===B?void 0:B)&&registerWorkletInternal(\"main-thread\",\"a85b:ce1da:21\",function(e){lynxWorkletImpl._workletMap[\"a85b:ce1da:21\"].bind(this);let{scrollX:t,scrollY:n,isEmpty:l,prevScroll:r,isVertical:i,normalizedHorizontalValue:o,scrollVelocity:_,mtsLog:u,debugLogEnabled:s}=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=(i()?e.detail.scrollTop-t.detail.scrollTop:o(e.detail.scrollLeft-t.detail.scrollLeft))/n;Number.isFinite(l)&&(_.current=l)}}u(s,`[lynx-ui-scroll-view][useBounce] handle scroll near edge, scrollLeft: ${e.detail.scrollLeft}, scrollTop: ${e.detail.scrollTop}, velocity: ${_.current}`),r.current=e}),e1(void 0===B?void 0:B)&&registerWorkletInternal(\"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===B?void 0:B)&&registerWorkletInternal(\"main-thread\",\"a85b:ce1da:23\",function(e){lynxWorkletImpl._workletMap[\"a85b:ce1da:23\"].bind(this);let{mtsLog:t,debugLogEnabled:n,toUpper:l,singleSidedBounce:r,prevScroll:i,startBouncingTouch:o,prevTouch:_,startTouchBouncingDelta:u,bouncingPositionInfo:s,scrollVelocity:a,threshold:c,flingEndWithBouncingEnableFlag:d,bouncingBack:f,flingDeceleratingRate:p,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(i.current){var g,y;o.current=_.current,u.current=null!=(y=null==(g=s.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 i=!1;let o=()=>{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\"),f();else{if(h(-(l*(Math.pow(p.current,Date.now()-r)-1)/Math.log(p.current))),!i&&m()){var _;v((null==(_=s.current)?void 0:_.bouncingOffset)>0),i=!0}l=e*Math.pow(p.current,Date.now()-r),d.current&&b(o)}};b(o),d.current=!0}}}),e1(void 0===B?void 0:B)&&registerWorkletInternal(\"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===B?void 0:B)&&registerWorkletInternal(\"main-thread\",\"a85b:ce1da:25\",function(e){lynxWorkletImpl._workletMap[\"a85b:ce1da:25\"].bind(this);let{mtsLog:t,debugLogEnabled:n,toLower:l,singleSidedBounce:r,prevTouch:i,startBouncingTouch:o,startTouchBouncingDelta:_,bouncingPositionInfo:u,enableBounceEventInFling:s,scrollVelocity:a,threshold:c,flingEndWithBouncingEnableFlag:d,bouncingBack:f,flingDeceleratingRate:p,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!==i.current){var g,y;o.current=i.current,_.current=null!=(y=null==(g=u.current)?void 0:g.bouncingOffset)?y:0}else if(s&&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 i=!1;let o=()=>{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\"),f();else{if(h(-(l*(Math.pow(p.current,Date.now()-r)-1)/Math.log(p.current))),!i&&m()){var _;v((null==(_=u.current)?void 0:_.bouncingOffset)>0),i=!0}l=e*Math.pow(p.current,Date.now()-r),d&&b(o)}};b(o),d.current=!0}}}}),e1(void 0===B?void 0:B)&&registerWorkletInternal(\"main-thread\",\"a85b:ce1da:26\",function(e){var t,n,l,r,i,o;lynxWorkletImpl._workletMap[\"a85b:ce1da:26\"].bind(this);let{height:_,isAndroid:u,width:s}=this._c;_.current=null!=(i=u()?null==(t=e.params)?void 0:t.height:null==(n=e.detail)?void 0:n.height)?i:0,s.current=null!=(o=u()?null==(l=e.params)?void 0:l.width:null==(r=e.detail)?void 0:r.width)?o:0});const ny=tb(\"__snapshot_8d379_41c83_1\",function(){return[__CreateView(tp)]},[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,B,null);const nw=tb(\"__snapshot_8d379_41c83_2\",function(){return[__CreateView(tp)]},[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,B,null);const nk=tb(\"__snapshot_8d379_41c83_3\",function(){let e=__CreateView(tp);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,B,null);const nS=tb(\"__snapshot_8d379_41c83_4\",function(){let e=__CreateView(tp);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,B,null);const nx=tb(\"__snapshot_8d379_41c83_6\",function(){return[__CreateScrollView(tp)]},[(e,t,n)=>tJ(e,t,n,0)],th,void 0,B,[0]);const nI=tb(\"__snapshot_8d379_41c83_5\",function(){let e=tp;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\")],[[tz,1],[tz,2]],void 0,B,null);const nE=function(e,t){var n,l,r,i;let o,_,u,s;let{children:a,bounceableOptions:c,sticky:d,elementProps:f,debugLog:p=!1,enableRTL:h=!1}=e;let m=null!=(n=f[\"scroll-x\"])?n:!1===f[\"scroll-y\"];let v=f.id;let{style:b}=f;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==(i=c.validAnimationVersion)||i);let w=function(e){var t,n,l,r,i,o,_,u,s,a,c,d;let f=t1(.55);let p=t1(.99);let h=t1(15);let m=!!e.debugLog;let v=t1(null!=(t=e.bounceableOptions.singleSidedBounce)?t:\"both\");let b=t1(null);let g=t1(null);let y=t1(0);let w=t1({});let k=t1(null);let S=t1({});let x=t1({});let I=t1({});let E=t1(null!=(n=e.bounceableOptions.estimatedHeight)?n:SystemInfo.pixelHeight/SystemInfo.pixelRatio);let C=t1(null!=(l=e.bounceableOptions.estimatedWidth)?l:SystemInfo.pixelWidth/SystemInfo.pixelRatio);let T=t1(0);let A=t1(0);let W=t1(!1);let B=t1(!1);let O=t1(!1);let P=t1(!1);let N=t1(!1);let M=null!=(r=e.id)?r:\"bounceableContainer\";let{enableBounces:R,onScrollToBounces:L}=e.bounceableOptions;let D=null!=(i=e.bounceableOptions.alwaysBouncing)&&i;let $=null!=(o=e.scrollOrientation)?o:\"vertical\";let F=t1(null!=(_=e.enableRTL)&&_);let V=null==(u=e.bounceableOptions.enableBounceEventInFling)||u;let U=null!=(s=e.bounceableOptions.startBounceTriggerDistance)?s:0;let j=null!=(a=e.bounceableOptions.endBounceTriggerDistance)?a:0;let H=t1(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 Y={_wkltId:\"a85b:ce1da:2\"};let X={_c:{enableRTL:F},_wkltId:\"a85b:ce1da:3\"};let q={_wkltId:\"a85b:ce1da:4\"};let J={_wkltId:\"a85b:ce1da:5\"};let z={_c:{isAndroid:q,selectorMT:ng,containerID:M},_wkltId:\"a85b:ce1da:6\"};let K={_c:{temporaryValidVersionCheckForRAF:H},_wkltId:\"a85b:ce1da:8\"};let Z={_c:{startTouch:b,startBouncingTouch:k,scrollOrientation:$,normalizedHorizontalValue:X},_wkltId:\"a85b:ce1da:9\"};let Q={_c:{bouncingPositionInfo:w,toUpper:P,toLower:N,alwaysBouncing:D,bouncingStatus:{alwaysBouncing:4,noBouncing:3,upperBouncing:1,lowerBouncing:2,inScrollingRange:0},mtsLog:nb,debugLogEnabled:m},_wkltId:\"a85b:ce1da:10\"};let ee={_c:{mtsLog:nb,isEmpty:J,bouncingPositionInfo:w,prevTouch:g,startTouch:b,bouncingTouchStartPosition:x,isVertical:G,debugLogEnabled:m,selectorMT:ng,containerID:M,enableRTL:F},_wkltId:\"a85b:ce1da:12\"};let et={_c:{mtsLog:nb,debugLogEnabled:m},_wkltId:\"a85b:ce1da:13\",_jsFn:{_jsFn1:{_isFirstScreen:!0}}};let en={_c:{isVertical:G,height:E,width:C,isEmpty:J,startTouchBouncingDelta:S,bouncingTouchStartPosition:x,rubberC:f,mtsLog:nb,debugLogEnabled:m,bouncingSetStyle:ee},_wkltId:\"a85b:ce1da:14\"};let el={_c:{bouncingPositionInfo:w,startBounceTriggerDistance:U,endBounceTriggerDistance:j,threshold:Y},_wkltId:\"a85b:ce1da:16\"};let er={_c:{mtsLog:nb,debugLogEnabled:m,bouncingPositionInfo:w,touchingEndBouncingBackEnableFlag:B,beta:h,bouncingSetStyle:ee,threshold:Y,customRequestAnimationFrame:K},_wkltId:\"a85b:ce1da:17\"};return{\"main-thread:bindtouchstart\":{_c:{startTouch:b,mtsLog:nb,debugLogEnabled:m,bouncingTouchStartPosition:x,bouncingPositionInfo:w,touchEndFrameEnableFlag:W,touchingEndBouncingBackEnableFlag:B,flingEndWithBouncingEnableFlag:O},_wkltId:\"a85b:ce1da:18\"},\"main-thread:bindtouchend\":{_c:{clearTouchInfo:{_c:{mtsLog:nb,debugLogEnabled:m,startTouch:b,bouncingTouchStartPosition:x,prevTouch:g,startBouncingTouch:k,startTouchBouncingDelta:S},_wkltId:\"a85b:ce1da:7\"},enableScroll:z,mtsLog:nb,debugLogEnabled:m,shouldBounceWhenTouchEnd:{_c:{bouncingStatus:{inScrollingRange:0,noBouncing:3,upperBouncing:1,lowerBouncing:2,alwaysBouncing:4},alwaysBouncing:D},_wkltId:\"a85b:ce1da:11\"},getBouncingStatus:Q,bouncingPositionInfo:w,isOverTriggerDistance:el,triggerScrollToBouncesEvent:et,touchEndFrameEnableFlag:W,threshold:Y,bouncingBack:er,flingDeceleratingRate:p,bouncingSetStyle:ee,customRequestAnimationFrame:K},_wkltId:\"a85b:ce1da:20\"},\"main-thread:bindtouchmove\":{_c:{prevTouch:g,startTouch:b,mtsLog:nb,getCurrentDelta:Z,getBouncingStatus:Q,bouncingStatus:{upperBouncing:1,lowerBouncing:2,alwaysBouncing:4,inScrollingRange:0},enableScroll:z,rubberEffect:en,debugLogEnabled:m,alwaysBouncing:D,triggerRubberEffectIfCrossingEdge:{_c:{getCurrentDelta:Z,mtsLog:nb,debugLogEnabled:m,toUpper:P,toLower:N,singleSidedBounce:v,enableScroll:z,rubberEffect:en},_wkltId:\"a85b:ce1da:15\"}},_wkltId:\"a85b:ce1da:19\"},\"main-thread:bindlayoutchange\":{_c:{height:E,isAndroid:q,width:C},_wkltId:\"a85b:ce1da:26\"},\"main-thread:bindscroll\":{_c:{scrollX:T,scrollY:A,isEmpty:J,prevScroll:I,isVertical:G,normalizedHorizontalValue:X,scrollVelocity:y,mtsLog:nb,debugLogEnabled:m},_wkltId:\"a85b:ce1da:21\"},onUpperExposure:{_c:{mtsLog:nb,debugLogEnabled:m,toUpper:P,singleSidedBounce:v,prevScroll:I,startBouncingTouch:k,prevTouch:g,startTouchBouncingDelta:S,bouncingPositionInfo:w,scrollVelocity:y,threshold:Y,flingEndWithBouncingEnableFlag:O,bouncingBack:er,flingDeceleratingRate:p,bouncingSetStyle:ee,isOverTriggerDistance:el,triggerScrollToBouncesEvent:et,customRequestAnimationFrame:K},_wkltId:\"a85b:ce1da:23\"},onUpperDisexposure:{_c:{mtsLog:nb,debugLogEnabled:m,toUpper:P},_wkltId:\"a85b:ce1da:22\"},onLowerExposure:{_c:{mtsLog:nb,debugLogEnabled:m,toLower:N,singleSidedBounce:v,prevTouch:g,startBouncingTouch:k,startTouchBouncingDelta:S,bouncingPositionInfo:w,enableBounceEventInFling:V,scrollVelocity:y,threshold:Y,flingEndWithBouncingEnableFlag:O,bouncingBack:er,flingDeceleratingRate:p,bouncingSetStyle:ee,isOverTriggerDistance:el,triggerScrollToBouncesEvent:et,customRequestAnimationFrame:K},_wkltId:\"a85b:ce1da:25\"},onLowerDisexposure:{_c:{mtsLog:nb,debugLogEnabled:m,toLower:N},_wkltId:\"a85b:ce1da:24\"}}}({bounceableOptions:y,debugLog:p,enableRTL:h,id:v,scrollOrientation:m?\"horizontal\":\"vertical\"});return g&&(y.upperBounceItem&&(o=tK(ny,{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\"};`,f[\"main-thread:gesture\"]],children:y.upperBounceItem})),y.lowerBounceItem&&(_=tK(nw,{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\"};`,f[\"main-thread:gesture\"]],children:y.lowerBounceItem})),u=tK(nk,{values:[`display: flex; flex-direction: column; overflow:hidden; height: ${m?\"100%\":\"1ppx\"}; width: ${m?\"1ppx\":\"100%\"};`,v,`${v}-upperExposureView`,w.onUpperDisexposure,w.onUpperExposure,f[\"main-thread:gesture\"]]}),s=tK(nS,{values:[`display: flex; flex-direction: column; overflow:hidden; height: ${m?\"100%\":\"1ppx\"}; width: ${m?\"1ppx\":\"100%\"};`,v,`${v}-lowerExposureView`,w.onLowerDisexposure,w.onLowerExposure,f[\"main-thread:gesture\"]]})),tK(nI,{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%\"};`,f[\"main-thread:gesture\"]],children:[tK(nx,{values:[{...f,...w,bounces:!1,\"ios-enable-simultaneous-touch\":!0,name:\"lepus\",flatten:!1,__spread:!0}],children:[u,d,a,s]}),tK(\"wrapper\",{children:[o,_]})]})};const nC=eN(eL(function(e,t){let{scrollviewId:n=\"scrollview\",horizontal:l=!1,style:r,children:i,scrollOrientation:o,lazyOptions:_,className:u=\"\",debugLog:s=!1,enableRTL:a=!1,bounceableOptions:c={enableBounces:!0,singleSidedBounce:\"iOSBounces\"},enableScroll:d=!0,enableScrollMonitor:f=!1,scrollMonitorTag:p,sticky:h,scrollPropagationBehavior:m=\"native\",temporaryBlockScrollClass:v=\"BDXLynxViewPager\",temporaryBlockScrollTag:b=0,temporaryNestedScroll:g,androidTouchSlop:y,\"main-thread:gesture\":w}=e;let k=ey({...t8,...t2,...t5,...t4,...nT});let S=_?{firstScreenItemCount:1,..._}:void 0;let x=((e,t)=>{let n={};for(let l of Object.keys(e))l in t&&!nc.has(l)&&(n[t[l]]=e[l]);let l=na({onTouchStart:e.onTouchStart,onTouchMove:e.onTouchMove,onTouchEnd:e.onTouchEnd,onTouchCancel:e.onTouchCancel});let r=((e,t)=>{let n={};for(let l of(t1(),Object.keys(e)))l in t&&(n[t[l]]={_c:{events:e,event:l},_wkltId:\"eb73:0b4d4:1\"});return n})(e,Object.entries(t).reduce((e,[t,n])=>(e[`main-thread:${t}`]=`main-thread:${n}`,e),{}));return{...n,...l,...r}})(e,k.current);let I={zIndex:0,...r};let E=()=>o?\"horizontal\"===o:l;let C=!1;let T={enableBounces:!1};if(\"boolean\"==typeof c)T={enableBounces:C=c,singleSidedBounce:\"both\",alwaysBouncing:!0,validAnimationVersion:!0};else if(\"object\"==typeof c){var A,W,B;C=c.enableBounces,(T=c).singleSidedBounce=null!=(A=c.singleSidedBounce)?A:\"both\",T.alwaysBouncing=null==(W=c.alwaysBouncing)||W,T.validAnimationVersion=null==(B=c.validAnimationVersion)||B}let O=C&&(null==T?void 0:T.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)?tK(nf,{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\":E(),\"scroll-y\":!E(),\"enable-scroll-monitor\":f,\"scroll-monitor-tag\":p,\"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:u,style:I,bounces:O,\"enable-scroll\":d,...void 0!==y&&{\"android-touch-slop\":y},...x};return C&&\"iOSBounces\"!==T.singleSidedBounce&&\"none\"!==T.singleSidedBounce?tK(nE,{elementProps:N,bounceableOptions:T,debugLog:s,enableRTL:a,sticky:h,children:P(i,S)}):tK(nv,{elementProps:N,sticky:h,children:P(i,S)})}));const nT={onContentSizeChange:\"bindcontentsizechanged\",onWheel:\"bindwheel\"};function nA(e){let t=ey(e);t.current=ek(()=>e,[e]);let n=ey();return null!=n.current||(n.current=function(...e){return t.current.apply(this,e)}),n.current}function nW(){for(var e,t,n=0,l=\"\",r=arguments.length;n<r;n++)(e=arguments[n])&&(t=function e(t){var n,l,r=\"\";if(\"string\"==typeof t||\"number\"==typeof t)r+=t;else if(\"object\"==typeof t)if(Array.isArray(t)){var i=t.length;for(n=0;n<i;n++)t[n]&&(l=e(t[n]))&&(r&&(r+=\" \"),r+=l)}else for(l in t)t[l]&&(r&&(r+=\" \"),r+=l);return r}(e))&&(l&&(l+=\" \"),l+=t);return l}const nB=eu({active:!1,disabled:!1});const nO=tb(\"__snapshot_11572_5e596_1\",function(){return[__CreateView(tp)]},[(e,t,n)=>tJ(e,t,n,0)],th,void 0,B,[0]);const nP=e=>{let{children:t,onClick:n,disabled:l=!1,style:r,className:i,buttonProps:o}=e;let[_,u]=eb(!1);let s=_&&!l;let a=\"function\"==typeof t?t({active:s,disabled:l}):t;let c=nA(()=>{l||u(!0)});let d=nA(()=>{if(u(!1),l)return});let f=nA(()=>{l||null==n||n()});let p=na({onTouchStart:c,onTouchEnd:d,onTouchCancel:d});let h=ek(()=>({active:s,disabled:l}),[s,l]);return tK(nB.Provider,{value:h,children:tK(nO,{values:[{bindtap:f,...p,\"event-through\":!1,style:r,className:nW(i,{\"ui-active\":s,\"ui-disabled\":l}),...o,__spread:!0}],children:a})})};const nN=eu({checked:!1,indeterminate:!1});const nM=e=>{var t;let{style:n,className:l,children:r,onChange:i,checked:o,defaultChecked:_=!1,disabled:u=!1,indeterminate:s=!1,checkboxProps:a}=e;let c=void 0!==o;let[d,f]=eb(_);let p=c?o:d;let h=nA(e=>{c||f(e),null==i||i(e)});let m=nA(()=>{s?h(!0):h(!p)});let v=ek(()=>({checked:p,indeterminate:s}),[p,s]);return tK(nN.Provider,{value:v,children:tK(nP,{disabled:u,onClick:m,style:n,className:nW(l,{\"ui-indeterminate\":s,\"ui-checked\":o}),buttonProps:a,children:(t={checked:p,indeterminate:s},\"function\"==typeof r?e=>r({...t,...e}):r)})})};const nR=()=>{};eu({onAwareTriggerFocused:void 0,onAwareTriggerBlurred:void 0,keyboardAwareResponder:void 0,keyboardAwareResponderScrollInfoCollected:void 0});const nL=eu({onInputFocused:void 0,onInputBlurred:void 0});const nD=eN(eL(function(e,t){let{id:n,readonly:l=!1,placeholder:r,type:i=\"text\",inputFilter:o,style:_,className:u,maxLength:s=140,defaultValue:a,value:c,confirmType:d=\"send\",showSoftInputOnFocus:f=!0,onFocus:p,onInput:h,onConfirm:m,onBlur:v,onSelectionChange:b}=e;let g=ey(void 0!==c);ey(null);let{onInputBlurred:y,onInputFocused:w}=ex(nL);return ez(),ez(),ew(),tK(n$,{values:[1,n,l,r,d,i,o,s,f,{_c:{controlled:g},_wkltId:\"8e1b:b8ce3:1\",_jsFn:{_jsFn1:{_isFirstScreen:!0}}},1,1,1,1,u,_]})}));const n$=tb(\"__snapshot_8e1b3_b8ce3_1\",function(){let e=__CreateElement(\"input\",tp);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,B,[0]);e1(void 0===B?void 0:B)&&registerWorkletInternal(\"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 nF=eN(eL(function(e,t){let{id:n,readonly:l=!1,placeholder:r,lineSpacing:i,bounces:o=!0,maxLines:_=40,type:u=\"text\",inputFilter:s,style:a,className:c,maxLength:d=140,defaultValue:f,value:p,confirmType:h=\"send\",showSoftInputOnFocus:m=!0,onFocus:v,onInput:b,onConfirm:g,onBlur:y,onSelectionChange:w}=e;let k=ey(void 0!==p);ey(null);let{onInputBlurred:S,onInputFocused:x}=ex(nL);return ez(),ez(),ew(),tK(nV,{values:[1,n,l,i,o,_,r,h,u,s,d,m,{_c:{controlled:k},_wkltId:\"7a79:a9994:1\",_jsFn:{_jsFn1:{_isFirstScreen:!0}}},1,1,1,1,c,a]})}));const nV=tb(\"__snapshot_7a793_a9994_1\",function(){let e=__CreateElement(\"textarea\",tp);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,B,[0]);e1(void 0===B?void 0:B)&&registerWorkletInternal(\"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 nU=eu({selectedValue:null,disabled:!1,handleValueChange:nR});const nj=e=>{let{children:t,onValueChange:n,defaultValue:l,value:r,disabled:i=!1}=e;let o=void 0!==r;let[_,u]=eb(null!=l?l:null);let s=o?r:_;let a=ey(null);let c=nA(e=>{a.current!==e&&(null==n||n(e),a.current=e)});let d=eS(e=>{o||u(e),c(e)},[o,c]);ez();let f=ek(()=>({selectedValue:s,handleValueChange:d,disabled:i}),[s,d,i]);let p=ek(()=>\"function\"==typeof t?t({value:s,disabled:i}):t,[t,s]);return tK(nU.Provider,{value:f,children:p})};const nH=eu({value:\"\",disabled:!1});const nG=e=>{let{className:t,disabled:n=!1,style:l,value:r,children:i,radioProps:o}=e;let _=ex(nU);if(!_)throw Error(\"<Radio/> must be used within <RadioGroup/>!\");let{selectedValue:u,disabled:s,handleValueChange:a}=_;let c=n||s;let d=r===u;let f=ek(()=>({value:r,disabled:c}),[r,c]);let p=nA(()=>a(r));return tK(nH.Provider,{value:f,children:tK(nP,{className:nW(t,{\"ui-checked\":d}),style:l,disabled:c,onClick:p,buttonProps:o,children:i})})};const nY=tb(\"__snapshot_b3824_f71e7_1\",function(){return[__CreateView(tp)]},[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,B,null);const nX=e=>{let{className:t,style:n,children:l,forceMount:r=!1}=e;let{selectedValue:i}=ex(nU);let{value:o,disabled:_}=ex(nH);let{active:u}=ex(nB);let s=o===i;return tK(nY,{values:[nW(t,{\"ui-checked\":s,\"ui-disabled\":_,\"ui-active\":u}),n],children:(r||s)&&l})};function nq(e){let t=ey(e);return ez(),ek(()=>(...e)=>{var n;null==(n=t.current)||n.call(t,...e)},[])}const nJ=eu({checked:!1,disabled:!1,active:!1});const nz=tb(\"__snapshot_0277e_2eacf_1\",function(){return[__CreateView(tp)]},[(e,t,n)=>tJ(e,t,n,0)],th,void 0,B,[0]);function nK({style:e,className:t,children:n,onChange:l,checked:r,defaultChecked:i=!1,disabled:o=!1,switchProps:_}){let u=void 0!==r;let[s,a]=eb(i);let c=u?r:s;let{pressed:d,bindtap:f,...p}=function({disabled:e=!1,onTap:t}={}){let[n,l]=eb(!1);let r=nq(()=>{e||l(!0)});let i=nq(()=>{l(!1)});return{pressed:n,bindtap:nq(()=>{e||null==t||t()}),...na({onTouchStart:r,onTouchEnd:i,onTouchCancel:i})}}({disabled:o,onTap:()=>{let e=!c;u||a(e),null==l||l(e)}});let h=ek(()=>d&&!o,[d,o]);let m=ek(()=>({active:h,checked:c,disabled:o}),[h,c,o]);return tK(nJ.Provider,{value:m,children:tK(nz,{values:[{bindtap:f,...p,\"event-through\":!1,style:e,className:nW(t,{\"ui-active\":h,\"ui-checked\":c,\"ui-disabled\":o}),..._,__spread:!0}],children:\"function\"==typeof n?n(m):n})})}tb(\"__snapshot_0277e_2eacf_2\",function(){return[__CreateView(tp)]},[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,B,null),tb(\"__snapshot_0277e_2eacf_3\",function(){return[__CreateView(tp)]},[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,B,null);const nZ=eu(void 0);const nQ=(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 n0=()=>{let e=ex(nZ);if(!e)throw Error(\"useForm must be used within a FormRoot\");return e};const n1=({children:e,initialValues:t,onSubmit:n,onChanged:l})=>{let[r,i]=eg(nQ,null!=t?t:{});ey(!1),nA(null!=l?l:nR),ez();let o=nA((e,t)=>{i({type:\"CHANGED\",payload:{name:e,value:t}})});let _=nA(e=>{i({type:\"UNREGISTER\",payload:{name:e}})});let u=nA(()=>{null==n||n(r)});let s=ek(()=>({formData:r,onChanged:o,unregisterField:_,submit:u}),[r,o,_,u]);return tK(nZ.Provider,{value:s,children:e})};const n8=({as:e,name:t,children:n,onChanged:l,...r})=>{let{formData:i,onChanged:o,unregisterField:_}=n0();ez();let u=i[t];let s=e=>{o(t,e),null==l||l(e)};let a={...r,children:n};if(\"RadioGroupRoot\"===e)return tK(nj,{onValueChange:s,defaultValue:u,...a});if(\"Input\"===e)return tK(nD,{defaultValue:u,onInput:s,...a});if(\"TextArea\"===e)return tK(nF,{defaultValue:u,onInput:s,...a});if(\"Checkbox\"===e)return tK(nM,{defaultChecked:u,onChange:s,...a});if(\"Switch\"===e)return tK(nK,{defaultChecked:u,onChange:s,...a});throw Error(`FormField component does not support as=\"${String(e)}\"`)};const n2=({onSubmit:e,...t})=>{let{submit:n,formData:l}=n0();return tK(nP,{onClick:()=>{n(),null==e||e(l)},...t})};const n4=tb(\"__snapshot_088bc_a75ef_1\",function(){return[__CreateView(tp)]},[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,B,null);const n5=e=>{let{children:t,className:n,style:l,forceMount:r=!1}=e;let{checked:i,indeterminate:o}=ex(nN);let{active:_,disabled:u}=ex(nB);return tK(n4,{values:[l,nW(n,{\"ui-indeterminate\":o,\"ui-checked\":i,\"ui-active\":_,\"ui-disabled\":u})],children:(r||i||o)&&t})};const n3=[{label:\"Personal\",value:\"personal\"},{label:\"Team\",value:\"team\"}];const n7=tb(\"__snapshot_ab153_bfb23_3\",function(){let e=__CreateText(tp);return __SetClasses(e,\"form-title\"),[e]},null,th,void 0,B,null);const n9=tb(\"__snapshot_ab153_bfb23_4\",function(){let e=__CreateText(tp);return __SetClasses(e,\"form-subtitle\"),[e]},null,th,void 0,B,null);const n6=tb(\"__snapshot_ab153_bfb23_6\",function(){let e=__CreateView(tp);return __SetClasses(e,\"radio-indicator-checked-item\"),[e]},null,null,void 0,B,null);const le=tb(\"__snapshot_ab153_bfb23_7\",function(){let e=__CreateText(tp);return __SetClasses(e,\"form-label\"),[e]},null,th,void 0,B,null);const lt=tb(\"__snapshot_ab153_bfb23_5\",function(){let e=__CreateView(tp);return __SetClasses(e,\"radio-group-container\"),[e]},null,th,void 0,B,null);const ln=tb(\"__snapshot_ab153_bfb23_8\",function(){let e=__CreateView(tp);return __SetClasses(e,\"input-container\"),[e]},null,th,void 0,B,null);const ll=tb(\"__snapshot_ab153_bfb23_9\",function(){let e=__CreateView(tp);return __SetClasses(e,\"input-container\"),[e]},null,th,void 0,B,null);const lr=tb(\"__snapshot_ab153_bfb23_10\",function(){let e=__CreateView(tp);return __SetClasses(e,\"checkbox-indicator-checked-item\"),[e]},null,null,void 0,B,null);const li=tb(\"__snapshot_ab153_bfb23_11\",function(){let e=__CreateText(tp);__SetClasses(e,\"form-label\");let t=__CreateRawText(\"I agree to the terms and conditions\");return __AppendElement(e,t),[e,t]},null,null,void 0,B,null);const lo=tb(\"__snapshot_ab153_bfb23_12\",function(){let e=__CreateText(tp);__SetClasses(e,\"submit-button-text\");let t=__CreateRawText(\"Submit\");return __AppendElement(e,t),[e,t]},null,null,void 0,B,null);const l_=tb(\"__snapshot_ab153_bfb23_13\",function(){let e=__CreateText(tp);__SetClasses(e,\"form-submitted-hint\");let t=__CreateRawText(\"Submitted ✓\");return __AppendElement(e,t),[e,t]},null,null,void 0,B,null);const lu=tb(\"__snapshot_ab153_bfb23_14\",function(){let e=__CreateText(tp);return __SetClasses(e,\"form-values-display\"),[e]},null,th,void 0,B,null);const ls=tb(\"__snapshot_ab153_bfb23_2\",function(){let e=tp;let t=__CreateView(e);__SetClasses(t,\"form-container\");let n=__CreateWrapperElement(e);__AppendElement(t,n);let l=__CreateWrapperElement(e);__AppendElement(t,l);let r=__CreateView(e);__SetClasses(r,\"form-divider\"),__AppendElement(t,r);let i=__CreateText(e);__SetClasses(i,\"form-section-title\"),__AppendElement(t,i);let o=__CreateRawText(\"Workspace type\");__AppendElement(i,o);let _=__CreateWrapperElement(e);__AppendElement(t,_);let u=__CreateView(e);__SetClasses(u,\"form-divider\"),__AppendElement(t,u);let s=__CreateText(e);__SetClasses(s,\"form-section-title\"),__AppendElement(t,s);let a=__CreateRawText(\"Workspace name\");__AppendElement(s,a);let c=__CreateWrapperElement(e);__AppendElement(t,c);let d=__CreateText(e);__SetClasses(d,\"form-section-title\"),__AppendElement(t,d);let f=__CreateRawText(\"Description\");__AppendElement(d,f);let p=__CreateWrapperElement(e);__AppendElement(t,p);let h=__CreateView(e);__SetClasses(h,\"form-divider\"),__AppendElement(t,h);let m=__CreateWrapperElement(e);__AppendElement(t,m);let v=__CreateView(e);__SetClasses(v,\"form-divider\"),__AppendElement(t,v);let b=__CreateWrapperElement(e);__AppendElement(t,b);let g=__CreateWrapperElement(e);return __AppendElement(t,g),[t,n,l,r,i,o,_,u,s,a,c,d,f,p,h,m,v,b,g]},null,[[tz,1],[tz,2],[tz,6],[tz,10],[tz,13],[tz,15],[tz,17],[tz,18]],void 0,B,null);const la=tb(\"__snapshot_ab153_bfb23_1\",function(){let e=__CreateView(tp);return __SetClasses(e,\"demo-container lunaris-dark luna-gradient-berry\"),[e]},null,th,void 0,B,null);({render:e=>{r.__jsx=e},registerDataProcessors:e=>{lynx.registerDataProcessors(e)}}).render(tK(function(){var e,t;let[n,l]=eb({});let[r,i]=eb(!1);return tK(la,{children:tK(nC,{scrollOrientation:\"vertical\",className:\"demo-canvas\",children:tK(n1,{onChanged:e=>{l(e),i(!1)},initialValues:{workspaceType:null!=(t=null==(e=n3[\"0\"])?void 0:e.value)?t:\"\",workspaceName:\"My Workspace\",description:\"A place for collaboration\"},children:tK(ls,{children:[tK(n7,{children:\"Create a workspace\"}),tK(n9,{children:\"Set up your workspace to get started.\"}),tK(\"wrapper\",{children:tK(n8,{as:\"RadioGroupRoot\",name:\"workspaceType\",children:tK(lt,{children:n3.map(({label:e,value:t})=>tK(nG,{className:\"radio-item\",value:t,children:[tK(nX,{className:\"radio-indicator\",children:tK(n6,{})}),tK(le,{children:e})]},t))})})}),tK(ln,{children:tK(n8,{as:\"Input\",name:\"workspaceName\",className:\"form-input\"})}),tK(ll,{children:tK(n8,{as:\"Input\",name:\"description\",className:\"form-input\"})}),tK(\"wrapper\",{children:[tK(n8,{as:\"Checkbox\",name:\"agreement\",className:\"checkbox-item\",children:[tK(n5,{className:\"checkbox-indicator\",children:tK(lr,{})}),tK(li,{})]}),tK(n2,{onSubmit:e=>{console.info(e),i(!0)},className:\"submit-button\",children:tK(lo,{})})]}),tK(\"wrapper\",{children:r&&tK(l_,{})}),tK(lu,{children:JSON.stringify(n,null,2)})]})})})})},{}));"},"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-bottom","48px"],["padding-left","16px"],["padding-right","16px"],["padding-top","96px"]]},{"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)"],["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":[[[".form-section-title"],[],[],[]]],"decl":[["color","var(--content-2)"],["font-size","16px"],["font-weight","600"],["margin-bottom","8px"]]},{"sel":[[[".form-field-description"],[],[],[]]],"decl":[["color","var(--content-muted)"],["font-size","14px"],["margin-bottom","8px"]]},{"sel":[[[".form-label"],[],[],[]]],"decl":[["color","var(--content)"],["font-size","14px"]]},{"sel":[[[".radio-group-container"],[],[],[]]],"decl":[["display","flex"],["flex-direction","column"],["gap","10px"],["width","100%"]]},{"sel":[[[".radio-item"],[],[],[]]],"decl":[["border-color","var(--line)"],["border-radius","12px"],["border-style","solid"],["border-width","1px"],["column-gap","12px"],["flex-direction","row"],["padding","10px"]]},{"sel":[[[".radio-indicator"],[],[],[]],[[".radio-item"],[],[],[]]],"decl":[["align-items","center"],["display","flex"]]},{"sel":[[[".radio-indicator"],[],[],[]]],"decl":[["border-color","var(--line)"],["border-radius","999px"],["border-style","solid"],["border-width","1px"],["height","22px"],["justify-content","center"],["width","22px"]]},{"sel":[[[".radio-indicator",".ui-checked"],[],[],[]]],"decl":[["border-color","var(--primary)"]]},{"sel":[[[".radio-indicator-checked-item"],[],[],[]]],"decl":[["background-color","var(--primary)"],["border-radius","999px"],["height","10px"],["width","10px"]]},{"sel":[[[".input-container"],[],[],[]]],"decl":[["border-color","var(--line)"],["border-radius","12px"],["border-style","solid"],["border-width","1px"],["margin-bottom","16px"],["width","100%"]]},{"sel":[[[".form-input"],[],[],[]]],"decl":[["caret-color","var(--primary)"],["color","var(--content)"],["font-size","14px"],["padding","12px"]]},{"sel":[[[".form-input"],["::part(input)::placeholder"],[],[]]],"decl":[["color","var(--content-faint)"]]},{"sel":[[[".checkbox-item"],[],[],[]]],"decl":[["align-items","center"],["column-gap","10px"],["display","flex"],["flex-direction","row"],["padding","4px 0"]]},{"sel":[[[".checkbox-indicator"],[],[],[]]],"decl":[["align-items","center"],["border-color","var(--line)"],["border-radius","4px"],["border-style","solid"],["border-width","1px"],["display","flex"],["height","20px"],["justify-content","center"],["width","20px"]]},{"sel":[[[".checkbox-indicator",".ui-checked"],[],[],[]]],"decl":[["background-color","var(--primary)"],["border-color","var(--primary)"]]},{"sel":[[[".checkbox-indicator-checked-item"],[],[],[]]],"decl":[["border-bottom","2px solid var(--primary-content)"],["border-left","2px solid var(--primary-content)"],["height","6px"],["transform","rotate(-45deg) translate(1px,-.5px)"],["width","11px"]]},{"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":[["border-color","var(--line)"],["border-radius","12px"],["border-style","dashed"],["border-width","1px"],["color","var(--content-subtle)"],["font-family","monospace"],["font-size","12px"],["margin-top","8px"],["padding","12px"],["white-space","pre-wrap"],["word-break","break-all"]]},{"sel":[[[".form-submitted-hint"],[],[],[]]],"decl":[["color","var(--content)"],["font-size","14px"]]},{"sel":[[[".min"],[],[],[]]],"decl":[["min-height","1px"],["min-width","1px"]]}]}},"manifest":{"/app-service.js":"\"use strict\";let e,t,n,l,o,r,i,u;var a,_,c,s,d,p,f,h,v,m,y,b,g,x,w,S,k,C,E,I,P,T={};var O=[];var N=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;var L=Array.isArray;function D(e,t){for(var n in t)e[n]=t[n];return e}function A(e){e&&e.parentNode&&e.parentNode.removeChild(e)}var j=O.slice;var R={__e:function(e,t,n,l){var o,r,i;for(;t=t.__;)if((o=t.__c)&&!o.__)try{if((r=o.constructor)&&null!=r.getDerivedStateFromError&&(o.setState(r.getDerivedStateFromError(e)),i=o.__d),null!=o.componentDidCatch&&(o.componentDidCatch(e,l||{}),i=o.__d),i)return o.__E=o}catch(t){e=t}throw e}};var B=0;function M(e,t,n){var l,o,r,i={};for(r in t)\"key\"==r?l=t[r]:\"ref\"==r?o=t[r]:i[r]=t[r];if(arguments.length>2&&(i.children=arguments.length>3?j.call(arguments,2):n),\"function\"==typeof e&&null!=e.defaultProps)for(r in e.defaultProps)void 0===i[r]&&(i[r]=e.defaultProps[r]);return $(e,i,l,o,null)}function $(e,t,n,l,o){var r={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==o?++B:o,__i:-1,__u:0};return null==o&&null!=R.vnode&&R.vnode(r),r}function F(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=D({},this.state),\"function\"==typeof e&&(e=e(D({},n),this.props)),e&&D(n,e),null!=e&&this.__v&&(t&&this._sb.push(t),G(this))},U.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),G(this))},U.prototype.render=F;var W=[];var V=\"function\"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout;function G(e){(!e.__d&&(e.__d=!0)&&W.push(e)&&!z.__r++||a!==R.debounceRendering)&&((a=R.debounceRendering)||V)(z)}var J=function(e,t){return e.__v.__b-t.__v.__b};function z(){var e;for(W.sort(J);e=W.shift();)if(e.__d){var t=W.length;(function(e){var t=e.__v,n=t.__e,l=[],o=[];if(e.__P){var r=D({},t);r.__v=t.__v+1,R.vnode&&R.vnode(r),R.renderComponent&&R.renderComponent(r,e),et(e.__P,r,t,e.__n,e.__P.namespaceURI,32&t.__u?[n]:null,l,null==n?H(t):n,!!(32&t.__u),o),r.__v=t.__v,r.__.__k[r.__i]=r,en(l,r,o),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)}}(r)}})(e),W.length>t&&W.sort(J)}z.__r=0}function q(e,t,n,l,o,r,i,u,a,_,c){var s,d,p,f,h;var v=l&&l.__k||O;var m=t.length;for(n.__d=a,function(e,t,n){var l,o,r,i=t.length;var u=n.length,a=u;var _=0;for(l=0,e.__k=[];l<i;l++){if(null==(o=t[l])||\"boolean\"==typeof o||\"function\"==typeof o){o=e.__k[l]=null;continue}o=\"string\"==typeof o||\"number\"==typeof o||\"bigint\"==typeof o||o.constructor==String?e.__k[l]=$(null,o,null,null,null):L(o)?e.__k[l]=$(F,{children:o},null,null,null):void 0===o.constructor&&o.__b>0?e.__k[l]=$(o.type,o.props,o.key,o.ref?o.ref:null,o.__v):e.__k[l]=o;var c=l+_;o.__=e,o.__b=e.__b+1;var s=o.__i=function(e,t,n,l){var o=e.key;var r=e.type;var i=n-1;var u=n+1;var a=t[n];var _=l>+(null!=a&&(131072&a.__u)===0);if(null===a||a&&o==a.key&&r===a.type&&(131072&a.__u)===0)return n;if(_)for(;i>=0||u<t.length;){if(i>=0){if((a=t[i])&&(131072&a.__u)===0&&o==a.key&&r===a.type)return i;i--}if(u<t.length){if((a=t[u])&&(131072&a.__u)===0&&o==a.key&&r===a.type)return u;u++}}return -1}(o,n,c,a);r=null,-1!==s&&(r=n[s],a--,r&&(r.__u|=131072)),null==r||null===r.__v?(-1==s&&_--,\"function\"!=typeof o.type&&(o.__u|=65536)):s!==c&&(s==c-1?_--:s==c+1?_++:(s>c?_--:_++,o.__u|=65536))}if(a)for(l=0;l<u;l++)null!=(r=n[l])&&(131072&r.__u)===0&&(r.__e==e.__d&&(e.__d=H(r)),function e(t,n,l){var o;if(R.unmount&&R.unmount(t),(o=t.ref)&&(!o.current||o.current===t.__e)&&el(o,null,n),null!=(o=t.__c)){if(o.componentWillUnmount)try{o.componentWillUnmount()}catch(e){R.__e(e,n)}o.base=o.__P=null}if(o=t.__k)for(var r=0;r<o.length;r++)o[r]&&e(o[r],n,l||\"function\"!=typeof t.type);l||A(t.__e),t.__c=t.__=t.__e=t.__d=void 0}(r,r))}(n,t,v),a=n.__d,s=0;s<m;s++)null!=(p=n.__k[s])&&(d=-1===p.__i?T:v[p.__i]||T,p.__i=s,et(e,p,d,o,r,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?a=function e(t,n,l){if(\"function\"==typeof t.type){var o=t.__k;for(var r=0;o&&r<o.length;r++)o[r]&&(o[r].__=t,n=e(o[r],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,a,e):\"function\"==typeof p.type&&void 0!==p.__d?a=p.__d:f&&(a=f.nextSibling),p.__d=void 0,p.__u&=-196609);n.__d=a,n.__e=h}function Q(e,t,n){\"-\"===t[0]?e.setProperty(t,null==n?\"\":n):null==n?e[t]=\"\":\"number\"!=typeof n||N.test(t)?e[t]=n:e[t]=n+\"px\"}z.__r=0;var X=0;function Y(e,t,n,l,o){var r;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])r=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+r]=n,n?l?n._attached=l._attached:(n._attached=X,e.addEventListener(t,r?ee:Z,r)):e.removeEventListener(t,r?ee:Z,r);else{if(\"http://www.w3.org/2000/svg\"==o)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 K(e){return function(t){if(this.l){var n=this.l[t.type+e];if(null==t._dispatched)t._dispatched=X++;else if(t._dispatched<n._attached)return;return n(R.event?R.event(t):t)}}}var Z=K(!1);var ee=K(!0);function et(e,t,n,l,o,r,i,u,a,_){var c,s,d,p,f,h,v,m=t.type;if(void 0!==t.constructor)return null;128&n.__u&&(a=!!(32&n.__u),r=[u=t.__e=n.__e]),(v=R.__b)&&v(t),(v=R._diff2)&&v(t,n);t:if(\"function\"==typeof m)try{var y=t.props;var b=\"prototype\"in m&&m.prototype.render;var g=(v=m.contextType)&&l[v.__c];var x=v?g?g.props.value:v.__:l;if(n.__c?h=(c=t.__c=n.__c).__=c.__E:(b?t.__c=c=new m(y,x):(t.__c=c=new U(y,x),c.constructor=m,c.render=eo),g&&g.sub(c),c.props=y,c.state||(c.state={}),c.context=x,c.__n=l,s=c.__d=!0,c.__h=[],c._sb=[]),b&&null==c.__s&&(c.__s=c.state),b&&null!=m.getDerivedStateFromProps&&(c.__s==c.state&&(c.__s=D({},c.__s)),D(c.__s,m.getDerivedStateFromProps(y,c.__s))),d=c.props,p=c.state,c.__v=t,s)b&&null==m.getDerivedStateFromProps&&null!=c.componentWillMount&&c.componentWillMount(),b&&null!=c.componentDidMount&&c.__h.push(c.componentDidMount);else{if(b&&null==m.getDerivedStateFromProps&&y!==d&&null!=c.componentWillReceiveProps&&c.componentWillReceiveProps(y,x),!c.__e&&(null!=c.shouldComponentUpdate&&!1===c.shouldComponentUpdate(y,c.__s,x)||t.__v===n.__v)){t.__v!==n.__v&&(c.props=y,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(y,c.__s,x),b&&null!=c.componentDidUpdate&&c.__h.push(function(){c.componentDidUpdate(d,p,f)})}c.context=x,c.props=y,c.__P=e,c.__e=!1;var S=R.__r,k=0;if(b){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=D(D({},l),c.getChildContext())),b&&!s&&null!=c.getSnapshotBeforeUpdate&&(f=c.getSnapshotBeforeUpdate(d,p));var E=null!=v&&v.type===F&&null==v.key?v.props.children:v;q(e,L(E)?E:[E],t,n,l,o,r,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,a||null!=r){for(t.__u|=a?160:32;u&&8===u.nodeType&&u.nextSibling;)u=u.nextSibling;r[r.indexOf(u)]=null,t.__e=u}else t.__e=n.__e,t.__k=n.__k;R.__e(e,t,n)}else null==r&&t.__v===n.__v?(t.__k=n.__k,t.__e=n.__e):t.__e=function(e,t,n,l,o,r,i,u,a){var _,c,s,d,p,f,h,v=n.props;var m=t.props;var y=t.type;if(\"svg\"===y?o=\"http://www.w3.org/2000/svg\":\"math\"===y?o=\"http://www.w3.org/1998/Math/MathML\":o||(o=\"http://www.w3.org/1999/xhtml\"),null!=r){for(_=0;_<r.length;_++)if((p=r[_])&&\"setAttribute\"in p===!!y&&(y?p.localName===y:3===p.nodeType)){e=p,r[_]=null;break}}if(null==e){if(null===y)return R.document.createTextNode(m);e=R.document.createElementNS(o,y,m.is&&m),u&&(R.__m&&R.__m(t,r),u=!1),r=null}if(null===y)v===m||u&&e.data===m||(e.data=m);else{if(r=r&&j.call(e.childNodes),v=n.props||T,!u&&null!=r)for(_=0,v={};_<e.attributes.length;_++)v[(p=e.attributes[_]).name]=p.value;for(_ in v)if(p=v[_],\"children\"==_);else if(\"dangerouslySetInnerHTML\"==_)s=p;else if(!(_ in m)){if(\"value\"==_&&\"defaultValue\"in m||\"checked\"==_&&\"defaultChecked\"in m)continue;Y(e,_,null,p,o)}for(_ in m)p=m[_],\"children\"==_?d=p:\"dangerouslySetInnerHTML\"==_?c=p:\"value\"==_?f=p:\"checked\"==_?h=p:u&&\"function\"!=typeof p||v[_]===p||Y(e,_,p,v[_],o);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,L(d)?d:[d],t,n,l,\"foreignObject\"===y?\"http://www.w3.org/1999/xhtml\":o,r,i,r?r[0]:n.__k&&H(n,0),u,a),null!=r)for(_=r.length;_--;)A(r[_]);u||(_=\"value\",\"progress\"===y&&null==f?e.removeAttribute(\"value\"):void 0===f||f===e[_]&&(\"progress\"!==y||f)&&(\"option\"!==y||f===v[_])||Y(e,_,f,v[_],o),_=\"checked\",void 0!==h&&h!==e[_]&&Y(e,_,h,v[_],o))}return e}(n.__e,t,n,l,o,r,i,a,_);(v=R.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]);R.__c&&R.__c(t,e),e.some(function(t){try{e=t.__h,t.__h=[],e.some(function(e){e.call(t)})}catch(e){R.__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){R.__e(e,n)}}function eo(e,t,n){return this.constructor(e,n)}function er(e,t,n){R.__&&R.__(e,t);var l=\"function\"==typeof n;var o=l?null:n&&n.__k||t.__k;e=(!l&&n||t).__k=M(F,null,[e]);var r=[],i=[];et(t,e,o||T,T,t.namespaceURI,!l&&n?[n]:o?null:t.firstChild?j.call(t.childNodes):null,r,!l&&n?n:o?o.__e:t.firstChild,l,i),en(r,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,G(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 ea=0;function e_(e,t,n,l,o,r){t||(t={});var i,u,a=t;if(\"ref\"in a)for(u in a={},t)\"ref\"==u?i=t[u]:a[u]=t[u];var _={type:e,props:a,key:n,ref:i,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:--ea,__i:-1,__u:0,__source:o,__self:r};if(\"function\"==typeof e&&(i=e.defaultProps))for(u in i)void 0===a[u]&&(a[u]=i[u]);return R.vnode&&R.vnode(_),_}var ec=0;var es=[];var ed=R.__b;var ep=R.__r;var ef=R.diffed;var eh=R.__c;var ev=R.unmount;var em=R.__;function ey(e,t){R.__h&&R.__h(c,e,ec||t),ec=0;var n=c.__H||(c.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({}),n.__[e]}function eb(e){return ec=1,eg(eN,e)}function eg(e,t,n){var l=ey(_++,2);if(l._reducer=e,!l.__c&&(l.__=[n?n(t):eN(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 o=function(e,t,n){if(!l.__c.__H)return!0;var o=l.__c.__H.__.filter(function(e){return!!e.__c});if(o.every(function(e){return!e.__N}))return!r||r.call(this,e,t,n);var i=!1;return o.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)&&(!r||r.call(this,e,t,n))};c._hasScuFromHooks=!0;var r=c.shouldComponentUpdate;var i=c.componentWillUpdate;c.componentWillUpdate=function(e,t,n){if(this.__e){var l=r;r=void 0,o(e,t,n),r=l}i&&i.call(this,e,t,n)},c.shouldComponentUpdate=o}return l.__N||l.__}function ex(e){return ec=5,eS(function(){return{current:e}},[])}function ew(e,t,n){var l,o;ec=6,l=null==n?n:n.concat(e),o=ey(_++,4),!R.__s&&eO(o.__H,l)&&(o.__=function(){return\"function\"==typeof e?(e(t()),function(){return e(null)}):e?(e.current=t(),function(){return e.current=null}):void 0},o._pendingArgs=l,c.__h.push(o))}function eS(e,t){var n=ey(_++,7);return eO(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=ey(_++,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(eT),e.__H.__h=[]}catch(t){e.__H.__h=[],R.__e(t,e.__v)}}R.__b=function(e){c=null,ed&&ed(e)},R.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),em&&em(e,t)},R.__r=function(e){ep&&ep(e),c=e.__c,_=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(eT),t.__h=[],_=0)),s=c},R.diffed=function(e){ef&&ef(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(1===es.push(t)||d!==R.requestAnimationFrame)&&((d=R.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},R.__c=function(e,t){t.some(function(e){try{e.__h.forEach(eP),e.__h=e.__h.filter(function(e){return!e.__||eT(e)})}catch(n){t.some(function(e){e.__h&&(e.__h=[])}),t=[],R.__e(n,e.__v)}}),eh&&eh(e,t)},R.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&&R.__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 eT(e){var t=c;e.__c=e.__(),c=t}function eO(e,t){return!e||e.length!==t.length||t.some(function(t,n){return t!==e[n]})}function eN(e,t){return\"function\"==typeof t?t(e):t}function eL(e,t){for(var n in t)e[n]=t[n];return e}function eD(e,t){for(var n in e)if(\"__source\"!==n&&!(n in t))return!0;for(var l in t)if(\"__source\"!==l&&e[l]!==t[l])return!0;return!1}function eA(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:eD(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}eA.prototype=new U,eA.prototype.isPureReactComponent=!0,eA.prototype.shouldComponentUpdate=function(e,t){return eD(this.props,e)||eD(this.state,t)};var eR=R.__b;R.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),eR&&eR(e)};var eB=\"undefined\"!=typeof Symbol&&Symbol.for&&Symbol.for(\"react.forward_ref\")||3911;function eM(e){function t(t){var n=eL({},t);return delete n.ref,e(n,t.ref||null)}return t.$$typeof=eB,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName=\"ForwardRef(\"+(e.displayName||e.name)+\")\",t}var e$=R.__e;R.__e=function(e,t,n,l){if(e.then){var o;var r=t;for(;r=r.__;)if((o=r.__c)&&o.__c)return null==t.__e&&(t.__e=n.__e,t.__k=n.__k),o.__c(e,t)}e$(e,t,n,l)};var eF=R.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 eW(){this._next=null,this._map=null}R.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&32&e.__u&&(e.type=null),eF&&eF(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 o=eH(l.__v);var r=!1;var i=function(){r||(r=!0,n.__R=null,o?o(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=R.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=eL({},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 o=t.__a&&M(F,null,e.fallback);return o&&(o.__u&=-33),[M(F,null,t.__a?null:e.children),o]};var eV=function(e,t,n){if(++n[1]===n[0]&&e._map.delete(t),e.props.revealOrder&&(\"t\"!==e.props.revealOrder[0]||!e._map.size))for(n=e._next;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;e._next=n=n[2]}};eW.prototype=new U,eW.prototype.__a=function(e){var t=this;var n=eH(t.__v);var l=t._map.get(e);return l[0]++,function(o){var r=function(){t.props.revealOrder?(l.push(o),eV(t,e,l)):o()};n?n(r):r()}},eW.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},eW.prototype.componentDidUpdate=eW.prototype.componentDidMount=function(){var e=this;this._map.forEach(function(t,n){eV(e,n,t)})};var eG=\"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 eJ=R.event;function ez(){}function eq(){return this.cancelBubble}function eQ(){return this.defaultPrevented}R.event=function(e){return eJ&&(e=eJ(e)),e.persist=ez,e.isPropagationStopped=eq,e.isDefaultPrevented=eQ,e.nativeEvent=e};var eX=R.vnode;function eY(e,t){var n;return n=ey(_++,3),void(!R.__s&&eO(n.__H,t)&&(n.__=e,n._pendingArgs=t,c.__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 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)}}R.vnode=function(e){e.$$typeof=eG,eX&&eX(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 e5(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 e8(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 e9(){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,o;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=(o=lynx.getNativeApp()).markTiming)||l.call(o,t,e)}function to(e,t,l){var o,r,i,u,a,_,c,s;if(n=null==(r=lynx.performance)||null==(o=r._generatePipelineOptions)?void 0:o.call(r)){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==(_=lynx.performance)||null==(a=_._onPipelineStart)||a.call(_,n.pipelineID),l&&(null==(s=lynx.performance)||null==(c=s._bindPipelineIdWithTimingFlag)||c.call(s,n.pipelineID,l))}}function tr(e,t){var l,o;n&&(t||n.needTimestamps)&&(null==(o=lynx.performance)||null==(l=o._markTiming)||l.call(o,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 ta=[];class t_{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?ta.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 t_(e.refAttr).setTask(t,n)})}}const tc=[];const ts=[];function td(e,t){let n=t&&new t_(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 tm=[[v.Children,0]];const ty={values:new Map([[\"root\",{create:()=>[],update:[],slot:tm,isListHolder:!1,cssId:0}],[\"wrapper\",{create:()=>[],update:[],slot:tm,isListHolder:!1}],[null,{create:()=>[],update:[e=>{}],slot:[],isListHolder:!1}]])};const tb={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 o=this.values.get(n);if(!o)return null;let r=t[2];if(\"__extraProps\"===t[1]){if(r)return o.__extraProps[r];throw Error(\"unreachable\")}return r?o.__values[l][r]:o.__values[l]}};function tg(e,t,n,l,o,r,i){var u;u=e,e=r?`${r}:${u}`:u;let a={create:t,update:n,slot:l,cssId:o,entryName:r,refAndSpreadIndexes:i};return ty.values.set(e,a),l&&l[0]&&l[0][0]===v.ListChildren&&(a.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 tT={value:!1};const tO=()=>{tT.value=!0,e2(()=>{tT.value=!1})};e3(R,e4,(e,...t)=>{null==e||e(...t),tO()}),e3(R,\"__\",(e,...t)=>{null==e||e(...t),tO()});let tN={};const tL=new Map;let tD=1;let tA=[];let tj={};function tR(e,t){tr(\"packChangesStart\");let l={data:JSON.stringify(e),patchOptions:e8(e5({},t),{reloadVersion:tE})};return tr(\"packChangesEnd\"),n&&(l.patchOptions.pipelineOptions=n,n=void 0),l}(C=m||(m={}))[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 tB=[];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 t$ 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 tF(e){let t=JSON.parse(e.data);let n=r.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 o=l(...t.params);lynx.getCoreContext().dispatchEvent({type:h.FunctionCallRet,data:JSON.stringify({resolveId:t.resolveId,returnValue:o})})}function tU(e){for(let t of e.data)r.remove(t)}function tH(e){return!tw()&&e?(lynx.reportError(Error(\"Main thread script requires Lynx sdk version 2.14\")),null):e&&(null!=o?o:o=e0(2,15))?(r||(r=new t$,lynx.getCoreContext().addEventListener(h.runOnBackground,tF),lynx.getCoreContext().addEventListener(h.releaseBackgroundWorkletCtx,tU),tB.push(()=>{lynx.getCoreContext().removeEventListener(h.runOnBackground,tF),lynx.getCoreContext().removeEventListener(h.releaseBackgroundWorkletCtx,tU),r=void 0})),r.add(e),e):e}function tW(e){if(e.type===m.COMPOSED)for(let t of e.gestures)tW(t);else for(let[t,n]of Object.entries(e.callbacks))e.callbacks[t]=tH(n)}const tV=new Set([\"name\",\"clip-radius\",\"overlap\",\"exposure-scene\",\"exposure-id\"]);function tG(e,t,n){let l={};let o=!1;for(let i in n){var r;let u=n[i];\"__spread\"===i||(\"class\"===i||\"className\"===i?(null!=u||(u=\"\"),l.className=u):\"ref\"===i?l[i]=null==(r=tp(u))?void 0:r.__ref:\"function\"==typeof u?l[i]=`${e.__id}:${t}:${i}`:\"__self\"===i||\"__source\"===i||(!o&&tV.has(i)&&(o=!0),l[i]=u))}return o&&(l.flatten=!1),l}class tJ{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),tA.push(t.__id)}tearDown(){tx(this,e=>{e.__parent=null,e.__previousSibling=null,e.__nextSibling=null,tb.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,o,r;if(\"values\"===t){if(e){let t=this.__values;if(t)for(let l=0;l<n.length;l++){let{needUpdate:o,valueToCommit:r}=this.setAttributeImpl(n[l],t[l],l);o&&e.push(3,this.__id,l,r)}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!=(o=this.__extraProps)?o:this.__extraProps={})[t]=n:(null!=(r=this.__values)?r: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 o=typeof e;if(\"object\"===o){if(\"__spread\"in e){let o=null==t?void 0:t.__spread;let r=tG(this,l,e);let i=!eK(o,r);if(e.__spread=r,th(o&&t.ref,e.ref,this.__id,l),i)for(let e in r){let t=r[e];t&&(t._wkltId?r[e]=tH(t):t.__isGesture?tW(t):\"__lynx_timing_flag\"==e&&(null==o?void 0:o[e])!=t&&n&&(n.needTimestamps=!0))}return{needUpdate:i,valueToCommit:r}}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?(tW(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:!eK(t,e),valueToCommit:e}}return\"function\"===o?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=ty.values.get(t);const n=this.__id=tb.nextId+=1;tb.values.set(n,this),null==e||e.push(0,t,n)}}function tz(t,n,l){for(let o of t){let t=o.__id;null==e||e.push(0,o.type,t);let r=o.__values;r&&(o.__values=void 0,o.setAttribute(\"values\",r));let i=o.__extraProps;for(let e in i)o.setAttribute(e,i[e]);tz(o.childNodes,t),null==e||e.push(1,n,t,l)}}const tq={};const tQ=\"Lynx.Error.CtxNotFound\";let tX=null;function tY(e,t){if(null==e)return{};var n,l,o,r={};if(\"undefined\"!=typeof Reflect&&Reflect.ownKeys){for(o=0,n=Reflect.ownKeys(Object(e));o<n.length;o++)l=n[o],!(t.indexOf(l)>=0)&&Object.prototype.propertyIsEnumerable.call(e,l)&&(r[l]=e[l]);return r}if(r=function(e,t){if(null==e)return{};var n,l,o={},r=Object.getOwnPropertyNames(e);for(l=0;l<r.length;l++)n=r[l],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n]);return o}(e,t),Object.getOwnPropertySymbols)for(o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)l=n[o],!(t.indexOf(l)>=0)&&Object.prototype.propertyIsEnumerable.call(e,l)&&(r[l]=e[l]);return r}function tK(e,t){null!=u||(u=[]),u.push([e,t])}i=new tJ(\"root\");const tZ=[];function t0(){er(null,i),tL.forEach(e=>{e()}),tL.clear(),tZ.length=0,u&&(u.length=0)}(E=y||(y={}))[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:o}=n;to(!0,e7,\"react_lynx_hydrate\"),tr(\"hydrateParseSnapshotStart\");let r=JSON.parse(l);tr(\"hydrateParseSnapshotEnd\"),tr(\"diffVdomStart\");let a;let _=(e=[],(a=(t,n)=>{var l,o,r;if(ti.set(n.__id,t.id),tb.updateId(n.__id,t.id),null==(l=n.__values)||l.forEach((l,o)=>{let r=t.values[o];if(l)if(\"object\"==typeof l)if(\"__spread\"in l){delete l.__spread;let e=tG(n,o,l);for(let t in e){let n=e[t];n&&\"object\"==typeof n&&(\"_wkltId\"in n?tH(n):\"__isGesture\"in n&&tW(n))}n.__values[o].__spread=e,l=e}else\"__ref\"in l?l=r:\"_wkltId\"in l?tH(l):\"__isGesture\"in l&&tW(l);else\"function\"==typeof l&&(l=\"__ref\"in l?r:`${n.__id}:${o}:`);eK(l,r)||void 0===l&&null===r||e.push(3,n.__id,o,l)}),n.__extraProps)for(let l in n.__extraProps){let r=n.__extraProps[l];eK(r,null==(o=t.extraProps)?void 0:o[l])||e.push(3,n.__id,l,r)}let{slot:i}=n.__snapshot_def;let u=null!=(r=t.children)?r:[];let _=n.childNodes;i&&i.forEach(([n],l)=>{switch(n){case v.Slot:case v.MultiChildren:{let e=u[l];a(e,_[l]);break}case v.Children:case v.ListChildren:{let n=function(e,t,n,l){let o=0;let r={$$diff:!0,i:{},r:[],m:{}};let i={};for(let t=0;t<e.length;t++){var u,a;let n=e[t];(null!=(a=i[u=n.type])?a:i[u]=new Set).add([n,t])}for(let e=0;e<t.length;e++){let u;let a=t[e];let _=i[a.type];if(_&&_.size>0&&([u]=_,u)&&n(u[0],a)){_.delete(u);let t=u[1];if(l(u[0],a,t,e),t<o){r.m[t]=e;continue}o=t}else r.i[e]=a}for(let e in i)for(let[,t]of i[e])r.r.push(t);return r}(u,_,(e,t)=>e.type===t.type,(e,t)=>{a(e,t)});(function(e,t,n,l,o){let r;if(!(!eZ(t.i)||!eZ(t.m)||t.r.length>0))return e;let i=new Set(t.r);let{i:u,m:a}=t;let _=new Map;let c=0;r=e[0];let s=[];let d=0;let p=0;let f=Object.keys(u).length;for(;r||f>0;){let t=!1;if(r&&i.has(p))l(r);else if(r&&void 0!==a[p])_.set(a[p],r),f++;else{let e=r;_.has(d)?(e=_.get(d),t=!0,o(e,r),f--):void 0!==u[d]&&(e=n(u[d],r),t=!0,f--),s.push(e),d++}r&&!t&&(r=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)})}}})})(r,i),tv(),e9());tr(\"diffVdomEnd\"),t2(),u&&(u.forEach(e=>{var t;let[n,l]=e;let[r,...i]=n.split(\":\");for(;o[r];)r=null==(t=o[r])?void 0:t.toString();try{t5([r,...i].join(\":\"),l)}catch(e){lynx.reportError(e)}}),u.length=0),lynxCoreInject.tt.publishEvent=t5,lynxCoreInject.tt.publicComponentEvent=t8;let c=tD++;let s={patchList:[{snapshotPatch:_,id:c}]};tI.length&&(s.delayedRunOnMainThreadData=tP());let d=tR(s,{isHydration:!0});tC(),lynx.getNativeApp().callLepusMethod(p.patchUpdate,d,()=>{tL.forEach((e,t)=>{t>c||(e(),tL.delete(t))})});let f=ta.slice();for(let e of(ta.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 t5(e,t){var n,l;null==(n=(l=lynxCoreInject.tt).callBeforePublishEvent)||n.call(l,t);let o=tb.getValueBySign(e);if(o)try{o(t)}catch(e){lynx.reportError(e)}}function t8(e,t,n){t5(t,n)}R.document=tq,R.requestAnimationFrame=e2,tq.createElement=function(e){return new tJ(e)},tq.createElementNS=function(e,t){return new tJ(t)},tq.createTextNode=function(e){let t=new tJ(null);return t.setAttribute(0,e),Object.defineProperty(t,\"data\",{set(e){t.setAttribute(0,e)}}),t};let t9;(t9=lynxCoreInject.tt).OnLifecycleEvent=t1,t9.publishEvent=tK,t9.publicComponentEvent=function(e,t,n){tK(t,n)},t9.callDestroyLifetimeFun=()=>{var e,t;let n;for(let l of((n=null==(e=(t=lynx).getCoreContext)?void 0:e.call(t))&&tX&&(n.removeEventListener(tQ,tX),tX=null),tk(),tB))l();tB.length=0,t0()},t9.updateGlobalProps=function(e){Object.assign(lynx.__globalProps,e),Promise.resolve().then(()=>{let e=R._diff2;R._diff2=(t,n)=>{e&&e(t,n);let l=n.__c;l&&(l.__e=!0)};try{er(i.__jsx,i)}finally{R._diff2=e}}),lynxCoreInject.tt.GlobalEventEmitter.emit(\"onGlobalPropsChanged\",void 0)},t9.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:o=f.UPDATE}=null!=t?t:{};o==f.RESET&&(lynx.__initData={}),lynx.__initData=Object.assign({},lynx.__initData,l),lynxCoreInject.tt.GlobalEventEmitter.emit(\"onDataChanged\",[l])},t9.onAppReload=function(t){e=void 0,t0(),++tE,lynx.__initData=Object.assign({},lynx.__initData,t),tu.value=!0,er(i.__jsx,i)},t9.processCardConfig=()=>{},tX=e=>{(function(e){let t=e.id;let n=tb.values.get(t);let l=\"null\";if(n&&n.__snapshot_def){for(let[e,t]of ty.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,tX),e3(R,\"__c\",(e,t,n)=>{let l,o;tT.value=!1,tl(\"updateDiffVdomEnd\"),tr(\"diffVdomEnd\");let r=tA;tA=[];let i=tD++;tL.set(i,()=>{r.length&&setTimeout(()=>{r.forEach(e=>{var t;null==(t=tb.values.get(e))||t.tearDown()})},1e4)}),tC();let u=e9();let a=(l=tN,tN={},l);let _=(o=tj,tj={},o);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(a)||(s.flushOptions=a),u&&tI.length&&(s.delayedRunOnMainThreadData=tP());let d=tR(s,_);lynx.getNativeApp().callLepusMethod(p.patchUpdate,d,()=>{let e=tL.get(i);e&&(e(),tL.delete(i))}),tf(),null==e||e(t,n)});let t4;t4=()=>{e&&(n||(to(!1,e6),tr(\"diffVdomStart\",!0)),tt&&tl(\"updateDiffVdomStart\"))},e3(R,e4,(e,t,n)=>{t4(),e&&e(t,n)}),e3(R,\"__\",(e,t,n)=>{t4(),e&&e(t,n)}),(null==(g=lynx.performance)||null==(b=g.isProfileRecording)?void 0:b.call(g))&&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 o=t.profileMark.bind(t);let r=t.profileFlowId.bind(t);{let e=Symbol(\"FLOW_ID\");e3(U.prototype,\"setState\",function(t,n,l){var i,u,a;let _;null==t||t.call(this,n,l),this.__d&&o(\"ReactLynx::setState\",{flowId:null!=(i=this[e])?i:this[e]=r(),args:(u=this.state,a=this.__s,_={},null!=u||(u=_),null!=a||(a=_),{\"current state keys\":JSON.stringify(Object.keys(u)),\"next state keys\":JSON.stringify(Object.keys(a)),\"changed (shallow diff) state keys\":JSON.stringify(Object.keys(a).filter(e=>u[e]!==a[e]))})})}),e3(R,\"_diff2\",(t,l,o)=>{if(\"function\"==typeof l.type){let t={};{let n=o.__c;if(n){let l=n[e];if(delete n[e],l){var r;null!=(r=tj).flowIds||(r.flowIds=[]),tj.flowIds.push(l),t.flowId=l}}}n(`ReactLynx::diff::${e1(l.type)}`,t)}null==t||t(l,o)}),e3(R,\"diffed\",(e,t)=>{\"function\"==typeof t.type&&l(),null==e||e(t)}),e3(R,\"__c\",(e,t,o)=>{n(\"ReactLynx::commit\",e5({},tj.flowIds?{flowId:tj.flowIds[\"0\"],flowIds:tj.flowIds}:{})),null==e||e(t,o),l()})}e3(R,\"__r\",(e,t)=>{let o=t.__c.render;t.__c.render=function(e,r,i){n(`ReactLynx::render::${e1(t.type)}`);try{return o.call(this,e,r,i)}finally{l(),t.__c.render=o}},null==e||e(t)});{let t=Symbol(\"PATCH_LENGTH\");e3(R,\"__b\",(n,l)=>{\"function\"==typeof l.type&&e&&(l[t]=e.length),null==n||n(l)}),e3(R,\"diffed\",(n,l)=>{\"function\"==typeof l.type&&e&&(l[t]===e.length&&o(\"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=e5({},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,v.Children,v.ListChildren;{function nt(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 nt(\"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 nt(\"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 nt(\"getElementById\",\"lynx.getElementById\"),lynx.getElementById(e)},U.prototype.GlobalEventEmitter=lynxCoreInject.tt.GlobalEventEmitter,U.prototype.createSelectorQuery=function(){return nt(\"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&&(tN.__lynx_timing_flag=l,tl(\"updateSetStateTrigger\",l),this.__s[te]=\"\")}}let nn=0;class nl{get current(){}set current(e){}toJSON(){return{_wvid:this._wvid}}constructor(e,t){var n;this._initValue=e,this._type=t,this._wvid=++nn,n=this._wvid,tw()&&tS.push([n,e])}}class no extends nl{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 nr(e){return eS(()=>new no(e),[])}const ni={onScroll:\"bindscroll\",onScrollStateChange:\"bindscrollstatechange\",onScrollToLower:\"bindscrolltolower\",onScrollToUpper:\"bindscrolltoupper\",onScrollEnd:\"bindscrollend\",onScrollToUpperEdge:\"bindscrolltoupperedge\",onScrollToLowerEdge:\"bindscrolltoloweredge\",onScrollToNormalState:\"bindscrolltonormalstate\"};const nu={onUIAppear:\"binduiappear\",onUIDisappear:\"binduidisappear\"};const na={onLayoutChange:\"bindlayoutchange\"};const n_={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 nc=[{eventPrefix:\"bind\",callbackPrefix:\"on\"},{eventPrefix:\"catch\",callbackPrefix:\"catch\"},{eventPrefix:\"capture-bind\",callbackPrefix:\"captureBind\"},{eventPrefix:\"capture-catch\",callbackPrefix:\"captureCatch\"}];const ns=[{name:\"Start\",touchEvent:\"touchstart\",mouseEvent:\"mousedown\",action:\"touchstart\"},{name:\"Move\",touchEvent:\"touchmove\",mouseEvent:\"mousemove\",action:\"touchmove\"},{name:\"End\",touchEvent:\"touchend\",mouseEvent:\"mouseup\",action:\"touchend\"},{name:\"Cancel\",touchEvent:\"touchcancel\",mouseEvent:void 0,action:\"touchcancel\"}];const nd=ns.flatMap(({name:e})=>nc.flatMap(({callbackPrefix:t})=>[`${t}Touch${e}`,`${t}Touch${e}MT`]));function np(e,t){if(\"touches\"in e||\"changedTouches\"in e)return e;let n={identifier:1,pageX:e.pageX,pageY:e.pageY,clientX:e.clientX,clientY:e.clientY};return{detail:{x:e.pageX,y:e.pageY},touches:\"touchend\"===t?[]:[n],changedTouches:[n]}}let nf={_wkltId:\"0c4a:a692d:1\"};const nh=function(e){return eS(()=>{let t={};for(let u of nc)for(let a of ns){var n,l,o,r,i;let _=`${u.callbackPrefix}Touch${a.name}`;let c=`${u.callbackPrefix}Touch${a.name}MT`;(function(e,t,n,l,o,r){!r||(e[`${t}${n}`]=e=>{r(np(e,o))},l&&(e[`${t}${l}`]=e=>{if(\"touchmove\"===o){let t=e.buttons;if(!t||(1&t)===0)return}r(np(e,o))}))})(t,u.eventPrefix,a.touchEvent,a.mouseEvent,a.action,e[_]),n=u.eventPrefix,l=a.touchEvent,o=a.mouseEvent,r=a.action,(i=e[c])&&(t[`main-thread:${n}${l}`]={_c:{handler:i,toTouchEventMT:nf,action:r},_wkltId:\"0c4a:a692d:2\"},o&&(t[`main-thread:${n}${o}`]={_c:{action:r,handler:i,toTouchEventMT:nf},_wkltId:\"0c4a:a692d:3\"}))}return t},nd.map(t=>e[t]))};const nv=new Set([\"onTouchStart\",\"onTouchMove\",\"onTouchEnd\",\"onTouchCancel\"]);function nm(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 ny=ej(eM(function(e,t){let{pid:n,scene:l,estimatedStyle:o,top:r=\"10px\",bottom:i=\"10px\",left:u=\"10px\",right:a=\"10px\",unmountOnExit:_,unloadable:c=!1,children:s}=e;let d=null!=_?_:c;let[p,f]=eb(!1);let h=ex(void 0);if(nm(\"exposure\",e=>{e.forEach(e=>{p||e[\"exposure-scene\"]!==l||e[\"exposure-id\"]!==n||f(!0)})},[p]),nm(\"disexposure\",e=>{d&&e.forEach(e=>{e[\"exposure-scene\"]===l&&e[\"exposure-id\"]===n&&f(!1)})},[d]),!d)return p?s:e_(nb,{values:[r,i,u,a,n,l,o]});{var v,m,y,b;let{width:e,height:t}=o,_=tY(o,[\"width\",\"height\"]);return e_(ng,{values:[r,i,u,a,n,l,({detail:e})=>{p&&(h.current={width:`${e.width}px`,height:`${e.height}px`})},p?{}:e5({width:null!=(y=null==(v=h.current)?void 0:v.width)?y:e,height:null!=(b=null==(m=h.current)?void 0:m.height)?b:t},_)],children:p&&s})}}));const nb=tg(\"__snapshot_ae447_b9b02_1\",null,null,null,void 0,globDynamicComponentEntry,null);const ng=tg(\"__snapshot_ae447_b9b02_2\",null,null,tm,void 0,globDynamicComponentEntry,null);const nx=tg(\"__snapshot_4ab23_9c9de_1\",null,null,tm,void 0,globDynamicComponentEntry,[0]);const nw=function(e){let{children:t,sticky:n,elementProps:l}=e;return e_(nx,{values:[e8(e5({},l),{\"android-touch-slop\":\"page\",name:\"background\",flatten:!1,__spread:!0})],children:[n,t]})};const nS={_wkltId:\"333e:982fb:1\"};class nk extends Error{constructor(e,t){super(\"string\"==typeof t?t:\"unknown error\"),this.errorCode=e,this.detail=t}}const nC=(e,t)=>{var n;null==e||null==(n=e.current)||n.setNativeProps(t).exec()};const nE={_wkltId:\"ec97:2e79e:1\"};const nI=tg(\"__snapshot_8d379_41c83_1\",null,null,tm,void 0,globDynamicComponentEntry,null);const nP=tg(\"__snapshot_8d379_41c83_2\",null,null,tm,void 0,globDynamicComponentEntry,null);const nT=tg(\"__snapshot_8d379_41c83_3\",null,null,null,void 0,globDynamicComponentEntry,null);const nO=tg(\"__snapshot_8d379_41c83_4\",null,null,null,void 0,globDynamicComponentEntry,null);const nN=tg(\"__snapshot_8d379_41c83_6\",null,null,tm,void 0,globDynamicComponentEntry,[0]);const nL=tg(\"__snapshot_8d379_41c83_5\",null,null,[[ne,1],[ne,2]],void 0,globDynamicComponentEntry,null);const nD=function(e,t){var n,l,o,r;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 m=p.id;let{style:y}=p;let b=!1;let g={enableBounces:!1};\"boolean\"==typeof s?(b=s,g={enableBounces:!0,singleSidedBounce:\"both\",alwaysBouncing:!0,validAnimationVersion:!0}):\"object\"==typeof s&&(b=s.enableBounces,(g=s).singleSidedBounce=null!=(l=s.singleSidedBounce)?l:\"both\",g.alwaysBouncing=null==(o=s.alwaysBouncing)||o,g.validAnimationVersion=null==(r=s.validAnimationVersion)||r);let x=function(e){var t,n,l,o,r,i,u,a,_,c,s,d;let p=nr(.55);let f=nr(.99);let h=nr(15);let v=!!e.debugLog;let m=nr(null!=(t=e.bounceableOptions.singleSidedBounce)?t:\"both\");let y=nr(null);let b=nr(null);let g=nr(0);let x=nr({});let w=nr(null);let S=nr({});let k=nr({});let C=nr({});let E=nr(null!=(n=e.bounceableOptions.estimatedHeight)?n:SystemInfo.pixelHeight/SystemInfo.pixelRatio);let I=nr(null!=(l=e.bounceableOptions.estimatedWidth)?l:SystemInfo.pixelWidth/SystemInfo.pixelRatio);let P=nr(0);let T=nr(0);let O=nr(!1);let N=nr(!1);let L=nr(!1);let D=nr(!1);let A=nr(!1);let j=null!=(o=e.id)?o:\"bounceableContainer\";let{enableBounces:R,onScrollToBounces:B}=e.bounceableOptions;let M=null!=(r=e.bounceableOptions.alwaysBouncing)&&r;let $=null!=(i=e.scrollOrientation)?i:\"vertical\";let F=nr(null!=(u=e.enableRTL)&&u);let U=null==(a=e.bounceableOptions.enableBounceEventInFling)||a;let H=null!=(_=e.bounceableOptions.startBounceTriggerDistance)?_:0;let W=null!=(c=e.bounceableOptions.endBounceTriggerDistance)?c:0;let V=nr(null!=(s=e.bounceableOptions.validAnimationVersion)&&s);((e,...t)=>{e&&console.info(...t)})(v,`[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 z={_c:{enableRTL:F},_wkltId:\"a85b:ce1da:3\"};let q={_wkltId:\"a85b:ce1da:4\"};let Q={_wkltId:\"a85b:ce1da:5\"};let X={_c:{isAndroid:q,selectorMT:nE,containerID:j},_wkltId:\"a85b:ce1da:6\"};let Y={_c:{temporaryValidVersionCheckForRAF:V},_wkltId:\"a85b:ce1da:8\"};let K={_c:{startTouch:y,startBouncingTouch:w,scrollOrientation:$,normalizedHorizontalValue:z},_wkltId:\"a85b:ce1da:9\"};let Z={_c:{bouncingPositionInfo:x,toUpper:D,toLower:A,alwaysBouncing:M,bouncingStatus:{alwaysBouncing:4,noBouncing:3,upperBouncing:1,lowerBouncing:2,inScrollingRange:0},mtsLog:nS,debugLogEnabled:v},_wkltId:\"a85b:ce1da:10\"};let ee={_c:{mtsLog:nS,isEmpty:Q,bouncingPositionInfo:x,prevTouch:b,startTouch:y,bouncingTouchStartPosition:k,isVertical:G,debugLogEnabled:v,selectorMT:nE,containerID:j,enableRTL:F},_wkltId:\"a85b:ce1da:12\"};let et={_c:{mtsLog:nS,debugLogEnabled:v},_wkltId:\"a85b:ce1da:13\",_jsFn:{_jsFn1:t6(function(e){R&&B&&B(e)})}};let en={_c:{isVertical:G,height:E,width:I,isEmpty:Q,startTouchBouncingDelta:S,bouncingTouchStartPosition:k,rubberC:p,mtsLog:nS,debugLogEnabled:v,bouncingSetStyle:ee},_wkltId:\"a85b:ce1da:14\"};let el={_c:{bouncingPositionInfo:x,startBounceTriggerDistance:H,endBounceTriggerDistance:W,threshold:J},_wkltId:\"a85b:ce1da:16\"};let eo={_c:{mtsLog:nS,debugLogEnabled:v,bouncingPositionInfo:x,touchingEndBouncingBackEnableFlag:N,beta:h,bouncingSetStyle:ee,threshold:J,customRequestAnimationFrame:Y},_wkltId:\"a85b:ce1da:17\"};return{\"main-thread:bindtouchstart\":{_c:{startTouch:y,mtsLog:nS,debugLogEnabled:v,bouncingTouchStartPosition:k,bouncingPositionInfo:x,touchEndFrameEnableFlag:O,touchingEndBouncingBackEnableFlag:N,flingEndWithBouncingEnableFlag:L},_wkltId:\"a85b:ce1da:18\"},\"main-thread:bindtouchend\":{_c:{clearTouchInfo:{_c:{mtsLog:nS,debugLogEnabled:v,startTouch:y,bouncingTouchStartPosition:k,prevTouch:b,startBouncingTouch:w,startTouchBouncingDelta:S},_wkltId:\"a85b:ce1da:7\"},enableScroll:X,mtsLog:nS,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:O,threshold:J,bouncingBack:eo,flingDeceleratingRate:f,bouncingSetStyle:ee,customRequestAnimationFrame:Y},_wkltId:\"a85b:ce1da:20\"},\"main-thread:bindtouchmove\":{_c:{prevTouch:b,startTouch:y,mtsLog:nS,getCurrentDelta:K,getBouncingStatus:Z,bouncingStatus:{upperBouncing:1,lowerBouncing:2,alwaysBouncing:4,inScrollingRange:0},enableScroll:X,rubberEffect:en,debugLogEnabled:v,alwaysBouncing:M,triggerRubberEffectIfCrossingEdge:{_c:{getCurrentDelta:K,mtsLog:nS,debugLogEnabled:v,toUpper:D,toLower:A,singleSidedBounce:m,enableScroll:X,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:T,isEmpty:Q,prevScroll:C,isVertical:G,normalizedHorizontalValue:z,scrollVelocity:g,mtsLog:nS,debugLogEnabled:v},_wkltId:\"a85b:ce1da:21\"},onUpperExposure:{_c:{mtsLog:nS,debugLogEnabled:v,toUpper:D,singleSidedBounce:m,prevScroll:C,startBouncingTouch:w,prevTouch:b,startTouchBouncingDelta:S,bouncingPositionInfo:x,scrollVelocity:g,threshold:J,flingEndWithBouncingEnableFlag:L,bouncingBack:eo,flingDeceleratingRate:f,bouncingSetStyle:ee,isOverTriggerDistance:el,triggerScrollToBouncesEvent:et,customRequestAnimationFrame:Y},_wkltId:\"a85b:ce1da:23\"},onUpperDisexposure:{_c:{mtsLog:nS,debugLogEnabled:v,toUpper:D},_wkltId:\"a85b:ce1da:22\"},onLowerExposure:{_c:{mtsLog:nS,debugLogEnabled:v,toLower:A,singleSidedBounce:m,prevTouch:b,startBouncingTouch:w,startTouchBouncingDelta:S,bouncingPositionInfo:x,enableBounceEventInFling:U,scrollVelocity:g,threshold:J,flingEndWithBouncingEnableFlag:L,bouncingBack:eo,flingDeceleratingRate:f,bouncingSetStyle:ee,isOverTriggerDistance:el,triggerScrollToBouncesEvent:et,customRequestAnimationFrame:Y},_wkltId:\"a85b:ce1da:25\"},onLowerDisexposure:{_c:{mtsLog:nS,debugLogEnabled:v,toLower:A},_wkltId:\"a85b:ce1da:24\"}}}({bounceableOptions:g,debugLog:f,enableRTL:h,id:m,scrollOrientation:v?\"horizontal\":\"vertical\"});return b&&(g.upperBounceItem&&(i=e_(nI,{values:[`${m}-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:g.upperBounceItem})),g.lowerBounceItem&&(u=e_(nP,{values:[`${m}-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:g.lowerBounceItem})),a=e_(nT,{values:[`display: flex; flex-direction: column; overflow:hidden; height: ${v?\"100%\":\"1ppx\"}; width: ${v?\"1ppx\":\"100%\"};`,m,`${m}-upperExposureView`,x.onUpperDisexposure,x.onUpperExposure,p[\"main-thread:gesture\"]]}),_=e_(nO,{values:[`display: flex; flex-direction: column; overflow:hidden; height: ${v?\"100%\":\"1ppx\"}; width: ${v?\"1ppx\":\"100%\"};`,m,`${m}-lowerExposureView`,x.onLowerDisexposure,x.onLowerExposure,p[\"main-thread:gesture\"]]})),e_(nL,{values:[`${m}-BounceWrapper`,`display: flex; flex-direction: column; overflow:hidden; height: ${v?\"100%\":`${null==y?void 0:y.height}`}; width: ${v?`${null==y?void 0:y.width}`:\"100%\"};`,p[\"main-thread:gesture\"]],children:[e_(nN,{values:[e8(e5({},p,x),{bounces:!1,\"ios-enable-simultaneous-touch\":!0,name:\"background\",flatten:!1,__spread:!0})],children:[a,d,c,_]}),e_(\"wrapper\",{children:[i,u]})]})};const nA=ej(eM(function(e,t){let{scrollviewId:n=\"scrollview\",horizontal:l=!1,style:o,children:r,scrollOrientation:i,lazyOptions:u,className:a=\"\",debugLog:_=!1,enableRTL:c=!1,bounceableOptions:s={enableBounces:!0,singleSidedBounce:\"iOSBounces\"},enableScroll:d=!0,enableScrollMonitor:p=!1,scrollMonitorTag:f,sticky:h,scrollPropagationBehavior:v=\"native\",temporaryBlockScrollClass:m=\"BDXLynxViewPager\",temporaryBlockScrollTag:y=0,temporaryNestedScroll:b,experimentalNestedScrollForward:g,experimentalNestedScrollBackward:x,androidTouchSlop:w,\"main-thread:gesture\":S}=e;let k=ex(e5({},ni,nu,n_,na,nj));let C=u?e5({firstScreenItemCount:1},u):void 0;let E=((e,t)=>{let n={};for(let l of Object.keys(e))l in t&&!nv.has(l)&&(n[t[l]]=e[l]);return e5({},n,nh({onTouchStart:e.onTouchStart,onTouchMove:e.onTouchMove,onTouchEnd:e.onTouchEnd,onTouchCancel:e.onTouchCancel}),((e,t)=>{let n={};for(let l of(nr(),Object.keys(e)))l in t&&(n[t[l]]={_c:{events:e,event:l},_wkltId:\"eb73:0b4d4:1\"});return n})(e,Object.entries(t).reduce((e,[t,n])=>(e[`main-thread:${t}`]=`main-thread:${n}`,e),{})))})(e,k.current);let I=e5({zIndex:0},o);let P=()=>i?\"horizontal\"===i:l;let T=!1;let O={enableBounces:!1};if(\"boolean\"==typeof s)O={enableBounces:T=s,singleSidedBounce:\"both\",alwaysBouncing:!0,validAnimationVersion:!0};else if(\"object\"==typeof s){var N,L,D;T=s.enableBounces,(O=s).singleSidedBounce=null!=(N=s.singleSidedBounce)?N:\"both\",O.alwaysBouncing=null==(L=s.alwaysBouncing)||L,O.validAnimationVersion=null==(D=s.validAnimationVersion)||D}let A=T&&(null==O?void 0:O.singleSidedBounce)===\"iOSBounces\";let j=(e,t)=>{if(!Array.isArray(e))return e;let l=null==t?void 0:t.enableLazy;return e.map((e,o)=>l&&o>=Number(null==t?void 0:t.firstScreenItemCount)?e_(ny,{scene:null==t?void 0:t.scene,pid:`pid_${o}`,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_${o}`):e)};let R=e5({id:n,\"scroll-x\":P(),\"scroll-y\":!P(),\"enable-scroll-monitor\":p,\"scroll-monitor-tag\":f,\"main-thread:gesture\":S,\"force-can-scroll\":\"preventPropagate\"===v,\"ios-block-gesture-class\":\"preventPropagate\"===v?m:\"\",\"ios-recognized-view-tag\":\"preventPropagate\"===v?y:0,\"enable-nested-scroll\":\"Android\"===SystemInfo.platform?null==b||b:\"iOS\"!==SystemInfo.platform||\"propagate\"===v,\"enable-new-nested\":!0,className:a,style:I,bounces:A,\"enable-scroll\":d},void 0!==w&&{\"android-touch-slop\":w},void 0!==g&&{\"temporary-nested-scroll-forward\":g},void 0!==x&&{\"temporary-nested-scroll-backward\":x},E);return T&&\"iOSBounces\"!==O.singleSidedBounce&&\"none\"!==O.singleSidedBounce?e_(nD,{elementProps:R,bounceableOptions:O,debugLog:_,enableRTL:c,sticky:h,children:j(r,C)}):e_(nw,{elementProps:R,sticky:h,children:j(r,C)})}));const nj={onContentSizeChange:\"bindcontentsizechanged\",onWheel:\"bindwheel\"};function nR(e){return e&&\"undefined\"!=typeof Symbol&&e.constructor===Symbol?\"symbol\":typeof e}function nB(e){var t=function(e,t){if(\"object\"!==nR(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var l=n.call(e,t||\"default\");if(\"object\"!==nR(l))return l;throw TypeError(\"@@toPrimitive must return a primitive value.\")}return(\"string\"===t?String:Number)(e)}(e,\"string\");return\"symbol\"===nR(t)?t:String(t)}function nM(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 n$(){for(var e,t,n=0,l=\"\",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=function e(t){var n,l,o=\"\";if(\"string\"==typeof t||\"number\"==typeof t)o+=t;else if(\"object\"==typeof t)if(Array.isArray(t)){var r=t.length;for(n=0;n<r;n++)t[n]&&(l=e(t[n]))&&(o&&(o+=\" \"),o+=l)}else for(l in t)t[l]&&(o&&(o+=\" \"),o+=l);return o}(e))&&(l&&(l+=\" \"),l+=t);return l}const nF=eu({active:!1,disabled:!1});const nU=tg(\"__snapshot_11572_5e596_1\",null,null,tm,void 0,globDynamicComponentEntry,[0]);const nH=e=>{let{children:t,onClick:n,disabled:l=!1,style:o,className:r,buttonProps:i}=e;let[u,a]=eb(!1);let _=u&&!l;let c=\"function\"==typeof t?t({active:_,disabled:l}):t;let s=nM(()=>{l||a(!0)});let d=nM(()=>{if(a(!1),l)return});let p=nM(()=>{l||null==n||n()});let f=nh({onTouchStart:s,onTouchEnd:d,onTouchCancel:d});let h=eS(()=>({active:_,disabled:l}),[_,l]);return e_(nF.Provider,{value:h,children:e_(nU,{values:[e8(e5(e8(e5({bindtap:p},f),{\"event-through\":!1,style:o,className:n$(r,{\"ui-active\":_,\"ui-disabled\":l})}),i),{__spread:!0})],children:c})})};const nW=eu({checked:!1,indeterminate:!1});const nV=e=>{var t;let{style:n,className:l,children:o,onChange:r,checked:i,defaultChecked:u=!1,disabled:a=!1,indeterminate:_=!1,checkboxProps:c}=e;let s=void 0!==i;let[d,p]=eb(u);let f=s?i:d;let h=nM(e=>{s||p(e),null==r||r(e)});let v=nM(()=>{_?h(!0):h(!f)});let m=eS(()=>({checked:f,indeterminate:_}),[f,_]);return e_(nW.Provider,{value:m,children:e_(nH,{disabled:a,onClick:v,style:n,className:n$(l,{\"ui-indeterminate\":_,\"ui-checked\":i}),buttonProps:c,children:(t={checked:f,indeterminate:_},\"function\"==typeof o?e=>o(e5({},t,e)):o)})})};const nG=()=>{};eu({onAwareTriggerFocused:void 0,onAwareTriggerBlurred:void 0,keyboardAwareResponder:void 0,keyboardAwareResponderScrollInfoCollected:void 0});const nJ=eu({onInputFocused:void 0,onInputBlurred:void 0});const nz=ej(eM(function(e,t){let{id:n,readonly:l=!1,placeholder:o,type:r=\"text\",inputFilter:i,style:u,className:a,maxLength:_=140,defaultValue:c,value:s,confirmType:d=\"send\",showSoftInputOnFocus:p=!0,onFocus:f,onInput:h,onConfirm:v,onBlur:m,onSelectionChange:y}=e;let b=ex(void 0!==s);let g=ex(null);let{onInputBlurred:x,onInputFocused:w}=eC(nJ);eY(()=>{C(null!=s?s:\"\")},[s]),eY(()=>{b.current||C(null!=c?c:\"\")},[]);let S=()=>new Promise((e,t)=>{var n;null==(n=g.current)||n.invoke({method:\"focus\",success:t=>{e()},fail:e=>{t(new nk(e.code,e.data))}}).exec()});let k=()=>new Promise((e,t)=>{var n;null==(n=g.current)||n.invoke({method:\"blur\",success:t=>{e()},fail:e=>{t(new nk(e.code,e.data))}}).exec()});let C=e=>new Promise((t,n)=>{var l;null==(l=g.current)||l.invoke({method:\"setValue\",params:{value:e},success(e){t()},fail(e){n(new nk(e.code,e.data))}}).exec()});let E=()=>new Promise((e,t)=>{var n;null==(n=g.current)||n.invoke({method:\"getValue\",success(t){e(t)},fail(e){t(new nk(e.code,e.data))}}).exec()});let I=(e,t)=>new Promise((n,l)=>{var o;null==(o=g.current)||o.invoke({method:\"setSelectionRange\",params:{selectionStart:e,selectionEnd:t},success(e){n()},fail(e){l(new nk(e.code,e.data))}}).exec()});let P={_c:{controlled:b},_wkltId:\"8e1b:b8ce3:1\",_jsFn:{_jsFn1:t6((e,t,n,l,o=!1)=>{null==h||h(e,t,n,l),o&&nC(g,{readonly:!1})})}};return ew(t,()=>({setValue:C,getValue:E,blur:k,focus:S,setSelectionRange:I}),[C,E,k,S,I]),e_(nq,{values:[tp(g),n,l,o,d,r,i,_,p,P,e=>{null==w||w(),null==f||f(e.detail.value)},e=>{null==x||x(),null==m||m(e.detail.value)},e=>{null==v||v(e.detail.value)},e=>{null==y||y(e.detail.selectionStart,e.detail.selectionEnd)},a,u]})}));const nq=tg(\"__snapshot_8e1b3_b8ce3_1\",null,null,null,void 0,globDynamicComponentEntry,[0]);const nQ=ej(eM(function(e,t){let{id:n,readonly:l=!1,placeholder:o,lineSpacing:r,bounces:i=!0,maxLines:u=40,type:a=\"text\",inputFilter:_,style:c,className:s,maxLength:d=140,defaultValue:p,value:f,confirmType:h=\"send\",showSoftInputOnFocus:v=!0,onFocus:m,onInput:y,onConfirm:b,onBlur:g,onSelectionChange:x}=e;let w=ex(void 0!==f);let S=ex(null);let{onInputBlurred:k,onInputFocused:C}=eC(nJ);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 nk(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 nk(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 nk(e.code,e.data))}}).exec()});let T=()=>new Promise((e,t)=>{var n;null==(n=S.current)||n.invoke({method:\"getValue\",success(t){e(t)},fail(e){t(new nk(e.code,e.data))}}).exec()});let O=(e,t)=>new Promise((n,l)=>{var o;null==(o=S.current)||o.invoke({method:\"setSelectionRange\",params:{selectionStart:e,selectionEnd:t},success(e){n()},fail(e){l(new nk(e.code,e.data))}}).exec()});let N={_c:{controlled:w},_wkltId:\"7a79:a9994:1\",_jsFn:{_jsFn1:t6((e,t,n,l,o=!1)=>{null==y||y(e,t,n,l),o&&nC(S,{readonly:!1})})}};return ew(t,()=>({setValue:P,getValue:T,blur:I,focus:E,setSelectionRange:O}),[P,T,I,E,O]),e_(nX,{values:[tp(S),n,l,r,i,u,o,h,a,_,d,v,N,e=>{null==C||C(),null==m||m(e.detail.value)},e=>{null==k||k(),null==g||g(e.detail.value)},e=>{null==b||b(e.detail.value)},e=>{null==x||x(e.detail.selectionStart,e.detail.selectionEnd)},s,c]})}));const nX=tg(\"__snapshot_7a793_a9994_1\",null,null,null,void 0,globDynamicComponentEntry,[0]);const nY=eu({selectedValue:null,disabled:!1,handleValueChange:nG});const nK=e=>{let{children:t,onValueChange:n,defaultValue:l,value:o,disabled:r=!1}=e;let i=void 0!==o;let[u,a]=eb(null!=l?l:null);let _=i?o:u;let c=ex(null);let s=nM(e=>{c.current!==e&&(null==n||n(e),c.current=e)});let d=ek(e=>{i||a(e),s(e)},[i,s]);eY(()=>{s(null!=o?o:\"\")},[o,s]);let p=eS(()=>({selectedValue:_,handleValueChange:d,disabled:r}),[_,d,r]);let f=eS(()=>\"function\"==typeof t?t({value:_,disabled:r}):t,[t,_]);return e_(nY.Provider,{value:p,children:f})};const nZ=eu({value:\"\",disabled:!1});const n0=e=>{let{className:t,disabled:n=!1,style:l,value:o,children:r,radioProps:i}=e;let u=eC(nY);if(!u)throw Error(\"<Radio/> must be used within <RadioGroup/>!\");let{selectedValue:a,disabled:_,handleValueChange:c}=u;let s=n||_;let d=o===a;let p=eS(()=>({value:o,disabled:s}),[o,s]);let f=nM(()=>c(o));return e_(nZ.Provider,{value:p,children:e_(nH,{className:n$(t,{\"ui-checked\":d}),style:l,disabled:s,onClick:f,buttonProps:i,children:r})})};const n1=tg(\"__snapshot_b3824_f71e7_1\",null,null,tm,void 0,globDynamicComponentEntry,null);const n3=e=>{let{className:t,style:n,children:l,forceMount:o=!1}=e;let{selectedValue:r}=eC(nY);let{value:i,disabled:u}=eC(nZ);let{active:a}=eC(nF);let _=i===r;return e_(n1,{values:[n$(t,{\"ui-checked\":_,\"ui-disabled\":u,\"ui-active\":a}),n],children:(o||_)&&l})};function n2(e){let t=ex(e);return eY(()=>{t.current=e},[e]),eS(()=>(...e)=>{var n;null==(n=t.current)||n.call(t,...e)},[])}const n5=eu({checked:!1,disabled:!1,active:!1});const n8=tg(\"__snapshot_0277e_2eacf_1\",null,null,tm,void 0,globDynamicComponentEntry,[0]);function n9({style:e,className:t,children:n,onChange:l,checked:o,defaultChecked:r=!1,disabled:i=!1,switchProps:u}){let a=void 0!==o;let[_,c]=eb(r);let s=a?o:_;let d=function({disabled:e=!1,onTap:t}={}){let[n,l]=eb(!1);let o=n2(()=>{e||l(!0)});let r=n2(()=>{l(!1)});return e5({pressed:n,bindtap:n2(()=>{e||null==t||t()})},nh({onTouchStart:o,onTouchEnd:r,onTouchCancel:r}))}({disabled:i,onTap:()=>{let e=!s;a||c(e),null==l||l(e)}}),{pressed:p,bindtap:f}=d,h=tY(d,[\"pressed\",\"bindtap\"]);let v=eS(()=>p&&!i,[p,i]);let m=eS(()=>({active:v,checked:s,disabled:i}),[v,s,i]);return e_(n5.Provider,{value:m,children:e_(n8,{values:[e8(e5(e8(e5({bindtap:f},h),{\"event-through\":!1,style:e,className:n$(t,{\"ui-active\":v,\"ui-checked\":s,\"ui-disabled\":i})}),u),{__spread:!0})],children:\"function\"==typeof n?n(m):n})})}tg(\"__snapshot_0277e_2eacf_2\",null,null,tm,void 0,globDynamicComponentEntry,null),tg(\"__snapshot_0277e_2eacf_3\",null,null,tm,void 0,globDynamicComponentEntry,null);const n4=eu(void 0);const n7=(e,t)=>{switch(t.type){case\"CHANGED\":{let{name:n,value:l}=t.payload;if(e[n]===l)return e;return e8(e5({},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(nB))}default:return e}};const n6=()=>{let e=eC(n4);if(!e)throw Error(\"useForm must be used within a FormRoot\");return e};const le=({children:e,initialValues:t,onSubmit:n,onChanged:l})=>{let[o,r]=eg(n7,null!=t?t:{});let i=ex(!1);let u=nM(null!=l?l:nG);eY(()=>{i.current?u(o):i.current=!0},[o,u]);let a=nM((e,t)=>{r({type:\"CHANGED\",payload:{name:e,value:t}})});let _=nM(e=>{r({type:\"UNREGISTER\",payload:{name:e}})});let c=nM(()=>{null==n||n(o)});let s=eS(()=>({formData:o,onChanged:a,unregisterField:_,submit:c}),[o,a,_,c]);return e_(n4.Provider,{value:s,children:e})};const lt=e=>{var{as:t,name:n,children:l,onChanged:o}=e,r=tY(e,[\"as\",\"name\",\"children\",\"onChanged\"]);let{formData:i,onChanged:u,unregisterField:a}=n6();eY(()=>{var e;let t=null!=(e=i[n])?e:null;return u(n,t),()=>{a(n)}},[]);let _=i[n];let c=e=>{u(n,e),null==o||o(e)};let s=e8(e5({},r),{children:l});if(\"RadioGroupRoot\"===t)return e_(nK,e5({onValueChange:c,defaultValue:_},s));if(\"Input\"===t)return e_(nz,e5({defaultValue:_,onInput:c},s));if(\"TextArea\"===t)return e_(nQ,e5({defaultValue:_,onInput:c},s));if(\"Checkbox\"===t)return e_(nV,e5({defaultChecked:_,onChange:c},s));if(\"Switch\"===t)return e_(n9,e5({defaultChecked:_,onChange:c},s));throw Error(`FormField component does not support as=\"${String(t)}\"`)};const ln=e=>{var{onSubmit:t}=e,n=tY(e,[\"onSubmit\"]);let{submit:l,formData:o}=n6();return e_(nH,e5({onClick:()=>{l(),null==t||t(o)}},n))};const ll=tg(\"__snapshot_088bc_a75ef_1\",null,null,tm,void 0,globDynamicComponentEntry,null);const lo=e=>{let{children:t,className:n,style:l,forceMount:o=!1}=e;let{checked:r,indeterminate:i}=eC(nW);let{active:u,disabled:a}=eC(nF);return e_(ll,{values:[l,n$(n,{\"ui-indeterminate\":i,\"ui-checked\":r,\"ui-active\":u,\"ui-disabled\":a})],children:(o||r||i)&&t})};const lr=[{label:\"Personal\",value:\"personal\"},{label:\"Team\",value:\"team\"}];const li=tg(\"__snapshot_ab153_bfb23_3\",null,null,tm,void 0,globDynamicComponentEntry,null);const lu=tg(\"__snapshot_ab153_bfb23_4\",null,null,tm,void 0,globDynamicComponentEntry,null);const la=tg(\"__snapshot_ab153_bfb23_6\",null,null,null,void 0,globDynamicComponentEntry,null);const l_=tg(\"__snapshot_ab153_bfb23_7\",null,null,tm,void 0,globDynamicComponentEntry,null);const lc=tg(\"__snapshot_ab153_bfb23_5\",null,null,tm,void 0,globDynamicComponentEntry,null);const ls=tg(\"__snapshot_ab153_bfb23_8\",null,null,tm,void 0,globDynamicComponentEntry,null);const ld=tg(\"__snapshot_ab153_bfb23_9\",null,null,tm,void 0,globDynamicComponentEntry,null);const lp=tg(\"__snapshot_ab153_bfb23_10\",null,null,null,void 0,globDynamicComponentEntry,null);const lf=tg(\"__snapshot_ab153_bfb23_11\",null,null,null,void 0,globDynamicComponentEntry,null);const lh=tg(\"__snapshot_ab153_bfb23_12\",null,null,null,void 0,globDynamicComponentEntry,null);const lv=tg(\"__snapshot_ab153_bfb23_13\",null,null,null,void 0,globDynamicComponentEntry,null);const lm=tg(\"__snapshot_ab153_bfb23_14\",null,null,tm,void 0,globDynamicComponentEntry,null);const ly=tg(\"__snapshot_ab153_bfb23_2\",null,null,[[ne,1],[ne,2],[ne,6],[ne,10],[ne,13],[ne,15],[ne,17],[ne,18]],void 0,globDynamicComponentEntry,null);const lb=tg(\"__snapshot_ab153_bfb23_1\",null,null,tm,void 0,globDynamicComponentEntry,null);({render:e=>{i.__jsx=e,er(e,i),t2()},registerDataProcessors:e=>{lynx.registerDataProcessors(e)}}).render(e_(function(){var e,t;let[n,l]=eb({});let[o,r]=eb(!1);return e_(lb,{children:e_(nA,{scrollOrientation:\"vertical\",className:\"demo-canvas\",children:e_(le,{onChanged:e=>{l(e),r(!1)},initialValues:{workspaceType:null!=(t=null==(e=lr[\"0\"])?void 0:e.value)?t:\"\",workspaceName:\"My Workspace\",description:\"A place for collaboration\"},children:e_(ly,{children:[e_(li,{children:\"Create a workspace\"}),e_(lu,{children:\"Set up your workspace to get started.\"}),e_(\"wrapper\",{children:e_(lt,{as:\"RadioGroupRoot\",name:\"workspaceType\",children:e_(lc,{children:lr.map(({label:e,value:t})=>e_(n0,{className:\"radio-item\",value:t,children:[e_(n3,{className:\"radio-indicator\",children:e_(la,{})}),e_(l_,{children:e})]},t))})})}),e_(ls,{children:e_(lt,{as:\"Input\",name:\"workspaceName\",className:\"form-input\"})}),e_(ld,{children:e_(lt,{as:\"Input\",name:\"description\",className:\"form-input\"})}),e_(\"wrapper\",{children:[e_(lt,{as:\"Checkbox\",name:\"agreement\",className:\"checkbox-item\",children:[e_(lo,{className:\"checkbox-indicator\",children:e_(lp,{})}),e_(lf,{})]}),e_(ln,{onSubmit:e=>{console.info(e),r(!0)},className:\"submit-button\",children:e_(lh,{})})]}),e_(\"wrapper\",{children:o&&e_(lv,{})}),e_(lm,{children:JSON.stringify(n,null,2)})]})})})})},{}));"},"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,_,o,i,s,a,u,c,d;var p,f,h,m,v,b,g,y,w,S,k,x,I,E,C,T,A,W,B=B||\"__Card__\";var P={};var N=[];var R=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;var O=Array.isArray;function L(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,_,o;for(;t=t.__;)if((r=t.__c)&&!r.__)try{if((_=r.constructor)&&null!=_.getDerivedStateFromError&&(r.setState(_.getDerivedStateFromError(e)),o=r.__d),null!=r.componentDidCatch&&(r.componentDidCatch(e,l||{}),o=r.__d),o)return r.__E=r}catch(t){e=t}throw e}};var F=0;function U(e,t,n){var l,r,_,o={};for(_ in t)\"key\"==_?l=t[_]:\"ref\"==_?r=t[_]:o[_]=t[_];if(arguments.length>2&&(o.children=arguments.length>3?M.call(arguments,2):n),\"function\"==typeof e&&null!=e.defaultProps)for(_ in e.defaultProps)void 0===o[_]&&(o[_]=e.defaultProps[_]);return V(e,o,l,r,null)}function V(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=L({},this.state),\"function\"==typeof e&&(e=e(L({},n),this.props)),e&&L(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 _=L({},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,_,o,i,s,a,u){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,_,o=t.length;var i=n.length,s=i;var a=0;for(l=0,e.__k=[];l<o;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]=V(null,r,null,null,null):O(r)?e.__k[l]=V(j,{children:r},null,null,null):void 0===r.constructor&&r.__b>0?e.__k[l]=V(r.type,r.props,r.key,r.ref?r.ref:null,r.__v):e.__k[l]=r;var u=l+a;r.__=e,r.__b=e.__b+1;var c=r.__i=function(e,t,n,l){var r=e.key;var _=e.type;var o=n-1;var i=n+1;var s=t[n];var a=l>+(null!=s&&(131072&s.__u)===0);if(null===s||s&&r==s.key&&_===s.type&&(131072&s.__u)===0)return n;if(a)for(;o>=0||i<t.length;){if(o>=0){if((s=t[o])&&(131072&s.__u)===0&&r==s.key&&_===s.type)return o;o--}if(i<t.length){if((s=t[i])&&(131072&s.__u)===0&&r==s.key&&_===s.type)return i;i++}}return -1}(r,n,u,s);_=null,-1!==c&&(_=n[c],s--,_&&(_.__u|=131072)),null==_||null===_.__v?(-1==c&&a--,\"function\"!=typeof r.type&&(r.__u|=65536)):c!==u&&(c==u-1?a--:c==u+1?a++:(c>u?a--:a++,r.__u|=65536))}if(s)for(l=0;l<i;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,_,o,i,s,a,u),f=p.__e,p.ref&&d.ref!=p.ref&&(d.ref&&e_(d.ref,null,p),u.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||R.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,_,o,i,s,a){var u,c,d,p,f,h,m,v=t.type;if(void 0!==t.constructor)return null;128&n.__u&&(s=!!(32&n.__u),_=[i=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=(u=t.__c=n.__c).__=u.__E:(g?t.__c=u=new v(b,w):(t.__c=u=new H(b,w),u.constructor=v,u.render=eo),y&&y.sub(u),u.props=b,u.state||(u.state={}),u.context=w,u.__n=l,c=u.__d=!0,u.__h=[],u._sb=[]),g&&null==u.__s&&(u.__s=u.state),g&&null!=v.getDerivedStateFromProps&&(u.__s==u.state&&(u.__s=L({},u.__s)),L(u.__s,v.getDerivedStateFromProps(b,u.__s))),d=u.props,p=u.state,u.__v=t,c)g&&null==v.getDerivedStateFromProps&&null!=u.componentWillMount&&u.componentWillMount(),g&&null!=u.componentDidMount&&u.__h.push(u.componentDidMount);else{if(g&&null==v.getDerivedStateFromProps&&b!==d&&null!=u.componentWillReceiveProps&&u.componentWillReceiveProps(b,w),!u.__e&&(null!=u.shouldComponentUpdate&&!1===u.shouldComponentUpdate(b,u.__s,w)||t.__v===n.__v)){t.__v!==n.__v&&(u.props=b,u.state=u.__s,u.__d=!1),t.__e=n.__e,t.__k=n.__k,t.__k.some(function(e){e&&(e.__=t)});for(var S=0;S<u._sb.length;S++)u.__h.push(u._sb[S]);u._sb=[],u.__h.length&&o.push(u);break t}null!=u.componentWillUpdate&&u.componentWillUpdate(b,u.__s,w),g&&null!=u.componentDidUpdate&&u.__h.push(function(){u.componentDidUpdate(d,p,f)})}u.context=w,u.props=b,u.__P=e,u.__e=!1;var k=$.__r,x=0;if(g){u.state=u.__s,u.__d=!1,k&&k(t),m=u.render(u.props,u.state,u.context);for(var I=0;I<u._sb.length;I++)u.__h.push(u._sb[I]);u._sb=[]}else do u.__d=!1,k&&k(t),m=u.render(u.props,u.state,u.context),u.state=u.__s;while(u.__d&&++x<25);u.state=u.__s,null!=u.getChildContext&&(l=L(L({},l),u.getChildContext())),g&&!c&&null!=u.getSnapshotBeforeUpdate&&(f=u.getSnapshotBeforeUpdate(d,p));var E=null!=m&&m.type===j&&null==m.key?m.props.children:m;K(e,O(E)?E:[E],t,n,l,r,_,o,i,s,a),u.base=t.__e,t.__u&=-161,u.__h.length&&o.push(u),h&&(u.__E=u.__=null)}catch(e){if(t.__v=null,s||null!=_){for(t.__u|=s?160:32;i&&8===i.nodeType&&i.nextSibling;)i=i.nextSibling;_[_.indexOf(i)]=null,t.__e=i}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,_,o,i,s){var a,u,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(a=0;a<_.length;a++)if((p=_[a])&&\"setAttribute\"in p===!!b&&(b?p.localName===b:3===p.nodeType)){e=p,_[a]=null;break}}if(null==e){if(null===b)return $.document.createTextNode(v);e=$.document.createElementNS(r,b,v.is&&v),i&&($.__m&&$.__m(t,_),i=!1),_=null}if(null===b)m===v||i&&e.data===v||(e.data=v);else{if(_=_&&M.call(e.childNodes),m=n.props||P,!i&&null!=_)for(a=0,m={};a<e.attributes.length;a++)m[(p=e.attributes[a]).name]=p.value;for(a in m)if(p=m[a],\"children\"==a);else if(\"dangerouslySetInnerHTML\"==a)c=p;else if(!(a in v)){if(\"value\"==a&&\"defaultValue\"in v||\"checked\"==a&&\"defaultChecked\"in v)continue;ee(e,a,null,p,r)}for(a in v)p=v[a],\"children\"==a?d=p:\"dangerouslySetInnerHTML\"==a?u=p:\"value\"==a?f=p:\"checked\"==a?h=p:i&&\"function\"!=typeof p||m[a]===p||ee(e,a,p,m[a],r);if(u)i||c&&(u.__html===c.__html||u.__html===e.innerHTML)||(e.innerHTML=u.__html),t.__k=[];else if(c&&(e.innerHTML=\"\"),K(e,O(d)?d:[d],t,n,l,\"foreignObject\"===b?\"http://www.w3.org/1999/xhtml\":r,_,o,_?_[0]:n.__k&&G(n,0),i,s),null!=_)for(a=_.length;a--;)D(_[a]);i||(a=\"value\",\"progress\"===b&&null==f?e.removeAttribute(\"value\"):void 0===f||f===e[a]&&(\"progress\"!==b||f)&&(\"option\"!==b||f===m[a])||ee(e,a,f,m[a],r),a=\"checked\",void 0!==h&&h!==e[a]&&ee(e,a,h,m[a],r))}return e}(n.__e,t,n,l,r,_,o,s,a);(m=$.diffed)&&m(t)}function e_(e,t,n){try{if(\"function\"==typeof e){var l=\"function\"==typeof e.__u;l&&e.__u(),l&&null==t||(e.__u=e(t))}else e.current=t}catch(e){$.__e(e,n)}}function eo(e,t,n){return this.constructor(e,n)}var ei=0;function es(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,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 ea=0;var eu=[];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,ea||t),ea=0;var n=S.__H||(S.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({}),n.__[e]}function eb(e){return ea=1,eg(eW,e)}function eg(e,t,n){var l=ev(w++,2);if(l._reducer=e,!l.__c&&(l.__=[n?n(t):eW(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 o=!1;return r.forEach(function(e){if(e.__N){var t=e.__[0];e.__=e.__N,e.__N=void 0,t!==e.__[0]&&(o=!0)}}),(!!o||l.__c.props!==e)&&(!_||_.call(this,e,t,n))};S._hasScuFromHooks=!0;var _=S.shouldComponentUpdate;var o=S.componentWillUpdate;S.componentWillUpdate=function(e,t,n){if(this.__e){var l=_;_=void 0,r(e,t,n),_=l}o&&o.call(this,e,t,n)},S.shouldComponentUpdate=r}return l.__N||l.__}function ey(e){return ea=5,eS(function(){return{current:e}},[])}function ew(e,t,n){var l,r;ea=6,l=null==n?n:n.concat(e),r=ev(w++,4),!$.__s&&eA(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 eA(n.__H,t)&&(n.__=e(),n.__H=t,n.__h=e),n.__}function ek(e,t){return ea=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=eu.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(eC),e.__H.__h.forEach(eT),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(eT),t.__h=[],w=0)),k=S},$.diffed=function(e){ep&&ep(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(1===eu.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.__||eT(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 eT(e){var t=S;e.__c=e.__(),S=t}function eA(e,t){return!e||e.length!==t.length||t.some(function(t,n){return t!==e[n]})}function eW(e,t){return\"function\"==typeof t?t(e):t}function eB(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 eR(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,U(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 eO=$.__b;$.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),eO&&eO(e)};var eL=\"undefined\"!=typeof Symbol&&Symbol.for&&Symbol.for(\"react.forward_ref\")||3911;function eD(e){function t(t){var n=eB({},t);return delete n.ref,e(n,t.ref||null)}return t.$$typeof=eL,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 eU(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function eV(){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=eU(l.__v);var _=!1;var o=function(){_||(_=!0,n.__R=null,r?r(i):i())};n.__R=o;var i=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(o,o)},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=eB({},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&&U(j,null,e.fallback);return r&&(r.__u&=-33),[U(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]}};eV.prototype=new H,eV.prototype.__a=function(e){var t=this;var n=eU(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(_):_()}},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||(O(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){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&&eA(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 e5(e,t){var n,l;return null==(n=(l=globalThis).runWorklet)?void 0:n.call(l,e,t)}function e2(e,t){var n;null==(n=globalThis.lynxWorkletImpl)||n._refImpl.updateWorkletRef(e,t)}function e8(e){var t;null==(t=globalThis.lynxWorkletImpl)||t._eomImpl.setShouldFlush(e)}function e3(e,t,n,l){var r,_,o,i;null==(_=globalThis.lynxWorkletImpl)||null==(r=_._jsFunctionLifecycleManager)||r.addRef(e._execId,e),n&&t&&(null==(o=globalThis.lynxWorkletImpl)||o._hydrateCtx(e,t)),n&&(null==(i=globalThis.lynxWorkletImpl)||i._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 e4=!1;function e9(e){var t,n,l;!e&&e4&&(null==(t=globalThis.lynxWorkletImpl)||t._runOnBackgroundDelayImpl.runDelayedBackgroundFunctions(),null==(n=globalThis.lynxWorkletImpl)||n._refImpl.clearFirstScreenWorkletRefMap(),null==(l=globalThis.lynxWorkletImpl)||l._eventDelayImpl.clearDelayedWorklets()),e4=e}(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?e2(n,l):\"_wkltId\"in n&&(n._unmount=e5(n,[{elementRefptr:l}]))}}function te(e){\"_wvid\"in e?e2(e,null):\"_wkltId\"in e&&(\"function\"==typeof e._unmount?e._unmount():e5(e,[null]))}function tt(e,t,n,l,r){var _,o;if(!e.__elements)return;n&&(null==(_=e.__worklet_ref_set)?void 0:_.has(n))&&(te(n),null==(o=e.__worklet_ref_set)||o.delete(n));let i=e.__values[t];if(null==i);else if(i._wvid){let t=e.__elements[l];e7.push(i,t)}else if(i._wkltId){let t=e.__elements[l];e3(i,n,e4,t),e7.push(i,t)}else if(\"__LEPUS__\"===i._type||i._lepusWorkletHash);else throw Error(\"MainThreadRef: main-thread:ref must be of type MainThreadRef or main-thread function.\");i&&(null!=e.__worklet_ref_set||(e.__worklet_ref_set=new Set),e.__worklet_ref_set.add(i)),__SetAttribute(e.__elements[l],\"has-react-ref\",!0)}const tn={};const tl={};const tr=new WeakMap;const t_=Promise.resolve();function to(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,_,o,i=!1,s=!1)=>{var a,u,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==(a=r.__extraProps)?void 0:a.isReady)===0){let t;if(\"function\"==typeof __GetAttributeByName&&\"list-container\"===__GetAttributeByName(e,\"custom-list-name\"));else throw Error('Unsupported: `<list-item/>` with `defer={true}` must be used with `<list custom-list-name=\"list-container\"/>`');return __OnLifecycleEvent([E.publishEvent,{handlerName:`${r.__id}:__extraProps:onComponentAtIndex`,data:{}}]),t=new Promise(i=>{Object.defineProperty(r.__extraProps,\"isReady\",{set(t){1===t&&(delete r.__extraProps.isReady,r.__extraProps.isReady=1,t_.then(()=>{i(n(e,l,r,_,o))}))},get:()=>t})})}if(\"object\"==typeof(f=null==(u=r.__extraProps)?void 0:u.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),i?i&&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[a,u]=n;g.delete(a),t(u,r),u.unRenderElements(),u.__id?(null==(p=u.__extraProps)?void 0:p.isReady)===1&&__OnLifecycleEvent([E.publishEvent,{handlerName:`${u.__id}:__extraProps:onRecycleComponent`,data:{}}]):u.tearDown();let c=r.__element_root;if(e6(),h.set(a,r),i){if(i&&s){let t={asyncFlush:!0};o&&(t.listReuseNotification={listElement:e,itemKey:v[\"item-key\"]}),__FlushElementTree(c,t)}}else{let t={triggerLayout:!0,operationID:_,elementID:a,listID:l};o&&(t.listReuseNotification={listElement:e,itemKey:v[\"item-key\"]}),__FlushElementTree(c,t)}return a}r.ensureElements();let y=r.__element_root;__AppendElement(e,y);let w=__GetElementUniqueID(y);return e6(),h.set(w,r),i?i&&s&&__FlushElementTree(y,{asyncFlush:!0}):__FlushElementTree(y,{triggerLayout:!0,operationID:_,elementID:w,listID:l}),w};return[function(t,l,r,_,o){let i=e[r];if(!i)throw Error(\"childCtx not found\");let s=n(t,l,i,_,o);return\"number\"==typeof s?s:void 0},function(t,l,r,_,o,i){let s=!1;let a=[];r.forEach((r,u)=>{let c=_[u];let d=e[r];if(!d)throw Error(\"childCtx not found\");let p=n(t,l,d,c,o,!0,i);\"number\"==typeof p||(s=!0),a.push(p)}),s&&Promise.all(a).then(e=>{__FlushElementTree(t,{triggerLayout:!0,operationIDs:_,elementIDs:e,listID:l})}),__FlushElementTree(t,{triggerLayout:!0,operationIDs:_,elementIDs:r.map((e,t)=>\"number\"==typeof a[t]?a[t]:-1),listID:l})}]}function ti(){return(e,t,n)=>{var l,r;let _=tn[t];let o=tl[t];if(!_||!o)throw Error(\"enqueueComponent called on removed list\");let i=_.get(n);if(!i)return;let s=null!=(l=i.__listItemPlatformInfo)?l:{};let a=i.type+(null!=(r=s[\"reuse-identifier\"])?r:\"\");o.has(a)||o.set(a,new Map),o.get(a).set(n,i)}}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 ta(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=>{ta(e,t)})}function tu(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 o={};for(let t=0;t<e.length;t++){var i,s;let n=e[t];(null!=(s=o[i=n.type])?s:o[i]=new Set).add([n,t])}for(let e=0;e<t.length;e++){let i;let s=t[e];let a=o[s.type];if(a&&a.size>0&&([i]=a,i)&&n(i[0],s)){a.delete(i);let t=i[1];if(l(i[0],s,t,e),t<r){_.m[t]=e;continue}r=t}else _.i[e]=s}for(let e in o)for(let[,t]of o[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)||ta(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 o=t.childNodes;r.forEach(([l,r],i)=>{switch(l){case T.Slot:case T.MultiChildren:td(_[i],o[i],n);break;case T.Children:{let t=tc(_,o,(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 o=new Set(t.r);let{i:i,m:s}=t;let a=new Map;let u=0;_=e[0];let c=[];let d=0;let p=0;let f=Object.keys(i).length;for(;_||f>0;){let t=!1;if(_&&o.has(p))l(_);else if(_&&void 0!==s[p])a.set(s[p],_),f++;else{let e=_;a.has(d)?(e=a.get(d),t=!0,r(e,_),f--):void 0!==i[d]&&(e=n(i[d],_),t=!0,f--),c.push(e),d++}_&&!t&&(_=e[++u],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 T.ListChildren:{let l=[];let i=[];let s=[];let a=__GetElementUniqueID(e.__elements[r]);let u=tn[a];let c=tl[a];let d=tc(_,o,(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(u.has(l)&&u.set(l,t),c.has(e.type)){let n=c.get(e.type);n.has(l)&&n.set(l,t)}}});for(let e of d.r)l.push(e);for(let e in d.i)i.push(Number(e));for(let e in d.m)l.push(Number(e)),i.push(d.m[e]);i.sort((e,t)=>e-t),l.sort((e,t)=>e-t);let p={insertAction:i.map(e=>({position:e,type:o[e].type,...o[e].__listItemPlatformInfo})),removeAction:l,updateAction:s};let f=e.__elements[r];__SetAttribute(f,\"update-list-info\",p);let[h,m]=to(o,td);__UpdateListCallbacks(f,h,ti(),m),ts.clear(t.__id)}}})}(m=T||(T={}))[m.Attr=0]=\"Attr\",m[m.Spread=1]=\"Spread\",m[m.Slot=2]=\"Slot\",m[m.Children=3]=\"Children\",m[m.ListChildren=4]=\"ListChildren\",m[m.MultiChildren=5]=\"MultiChildren\",new Map;class 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]=to(this.list.childNodes,td);return __UpdateListCallbacks(t,n,ti(),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 o=[];let i=0;for(let n=0;n<this.oldChildNodes.length;n++,i++){let s=this.oldChildNodes[n];l.has(s)&&o.push({...l.get(s),from:+i,to:+i,flush:!1,type:s.type}),t.has(s)&&t.get(s).forEach(e=>{_.push({position:i,type:e.type,...e.__listItemPlatformInfo}),i++}),e.has(s)&&(r.push(n),e.delete(s),i--)}for(let e=0;e<n.length;e++){let t=n[e];_.push({position:i+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\")&&(o.length=0,this.list.childNodes.forEach((e,t)=>{o.push({...e.__listItemPlatformInfo,from:t,to:t,flush:!1,type:e.type})}))}return{insertAction:_,removeAction:r,updateAction:o}}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=[[T.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,_,o){var i;i=e,e=_?`${_}:${i}`:i;let s={create:t,update:n,slot:l,cssId:r,entryName:_,refAndSpreadIndexes:o};return tm.values.set(e,s),l&&l[0]&&l[0][0]===T.ListChildren&&(s.isListHolder=!0),e}function tg(e,t){let n=e.childNodes;for(let l of(t(e),n))tg(l,t)}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 T.Slot:__ReplaceElement(n.__element_root,_[r]),_[r]=n.__element_root,e++;break;case T.MultiChildren:\"wrapper\"===__GetTag(_[r])?__ReplaceElement(n.__element_root,_[r]):__AppendElement(_[r],n.__element_root),e++;break;case T.Children:case T.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 o=e.__parent===this;this.__insertBefore(e,t);let i=this.__elements;if(!i)return;e.__elements||e.ensureElements();let s=n.slot.length;if(1===s){let[,l]=n.slot[0];let r=i[l];o&&__RemoveElement(r,e.__element_root),t?__InsertElementBefore(r,e.__element_root,t.__element_root):__AppendElement(r,e.__element_root)}else if(s>1){let t=this.__current_slot_index++;let[l,r]=n.slot[t];l===T.Slot?(__ReplaceElement(e.__element_root,i[r]),i[r]=e.__element_root):l===T.MultiChildren&&(\"wrapper\"===__GetTag(i[r])?__ReplaceElement(e.__element_root,i[r]):__AppendElement(i[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(ta(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:o}]),o={}}r=new tw(\"root\"),(v=A||(A={}))[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 tT=Object.assign;function tA(){this.__d=!0}const tW={};function tB(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=tW),null==n.__s&&(n.__s=n.state),l.getDerivedStateFromProps&&(n.state=tT({},n.state,l.getDerivedStateFromProps(n.props,n.state))),u&&u(e),n.render(n.props,n.state,t)}function tP(e,t,n){return this.constructor(e,n)}const tN=function(e,t){let n=$.__s;$.__s=!0,i=$.__b,s=$._diff2,a=$.diffed,u=$.__r,c=$.unmount;let l=U(j,null);l.__k=[e];let r=[];try{(function e(t,n,l,r,_,o,d){let p;if(null==t||!0===t||!1===t||\"\"===t)return;if(\"object\"!=typeof t){if(\"function\"==typeof t)return;o.push(3,t+\"\");return}if(tC(t)){_.__k=t;for(let i=0;i<t.length;i++){let s=t[i];null!=s&&\"boolean\"!=typeof s&&e(s,n,l,r,_,o,o.length)}return}t.__=_,i&&i(t),s&&s(t,tW);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=tB(t,m),g=t.__c;else{g={__v:t,props:h,context:m,setState:tA,forceUpdate:tA,__d:!0,__h:[]},t.__c=g,g.constructor=f,g.render=tP;let e=0;for(;g.__d&&e++<25;)g.__d=!1,u&&u(t),b=g.render(h,g.state,m);g.__d=!0}null!=g.getChildContext&&(n=tT({},n,g.getChildContext()))}b=null!=b&&b.type===j&&null==b.key?b.props.children:b;try{e(b,n,l,r,t,o,o.length)}catch(_){if(_&&\"object\"==typeof _&&_.then&&g&&g.__c)g.setState({__a:!0}),g.__d&&(b=tB(t,n),g=t.__c,o.length=d,e(b,n,l,r,t,o,o.length));else throw _}finally{a&&a(t),t.__=void 0,c&&c(t)}return}for(let e in o.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&&o.push(2,e,t)}\"string\"==typeof p||\"number\"==typeof p?o.push(3,p):null!=p&&!1!==p&&!0!==p&&e(p,n,!1,r,t,o,o.length),a&&a(t),t.__=void 0,c&&c(t),o.push(1)})(e,t||tW,!1,void 0,l,r,0)}finally{$.__c&&$.__c(e,tE),$.__s=n,tE.length=0}return r};function tR(){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 A.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 A.End:n.__k=void 0,l.pop(),n=l[l.length-1],t+=1;break;case A.Attr:{let l=e[t+1];let r=e[t+2];n.setAttribute(l,r),t+=3;break}case A.Text:{let l=e[t+1];let r=new tw(null);r.setAttribute(0,l),n.insertBefore(r),t+=2}}})(e,r)}function tO(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,o={},lynx.__initData=null!=t?t:{},e=n=__CreatePage(\"0\",0),tf=__GetElementUniqueID(n),r.ensureElements(),tR(),ts.flush(),e6(),tI()},updatePage:function(n,l){var i,s,a;if(null==l?void 0:l.reloadTemplate){let t;return void(i=n,s=l,++tx,\"object\"!=typeof i||eZ(i)||Object.assign(lynx.__initData,i),tv.clear(),ts.clearAttachedLists(),o={},t=r,(r=new tw(\"root\")).__jsx=t.__jsx,tR(),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!=(a=lynx).__initData||(a.__initData={}),Object.assign(lynx.__initData,n)}let u=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(),tR(),td(e,r,{skipUnRef:!0,swap:o}),ts.flush(),e6(),u.triggerDataUpdated=!0,tk(\"updateDiffVdomEnd\")}__FlushElementTree(e,u)},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:o,flushOptions:i={},delayedRunOnMainThreadData:s}=JSON.parse(l);tk(\"parseChangesEnd\"),tk(\"patchChangesStart\"),r.isHydration&&e9(!0);try{for(let{snapshotPatch:e}of o)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 o=tv.values.get(l);let i=tv.values.get(r);_&&o?_.insertBefore(o,i):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&&e9(!1)}if(e6(),s&&(null!=n?n:n=eQ(2,13))){for(let e of(e8(!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)}e8(!0)}r.pipelineOptions&&(i.pipelineOptions=r.pipelineOptions),__FlushElementTree(e,i),_&&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[tO(\"\")]&&(globalThis[tO(\"\")]=void 0),lynx.registerDataProcessors=function(e){let t=!1;globalThis.processData=(n,l)=>{let r;try{var _,o,i,s,a;r=l?null!=(s=null==e||null==(o=e.dataProcessors)||null==(_=o[l])?void 0:_.call(o,n))?s:n:null!=(a=null==e||null==(i=e.defaultDataProcessor)?void 0:i.call(e,n))?a:n}catch(e){lynx.reportError(e),r={}}return!1===t&&globalThis.__I18N_RESOURCE_TRANSLATION__&&(r={...r,__I18N_RESOURCE_TRANSLATION__:globalThis.__I18N_RESOURCE_TRANSLATION__}),l||(t=!0),r}},lynx.registerDataProcessors(),(g=W||(W={}))[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 tL=[];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),tL.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 tU(e,t,n,l,r,_,o){let i;let s=e.__values[t];i=s?\"string\"==typeof s?s:`${e.__id}:${t}:${o}`:void 0,e.__values[t]=i,e.__elements&&__AddEvent(e.__elements[l],r,_,i)}function tV(e,t,n,l,r){if(!e.__elements)return;let _=e.__values[t];\"main-thread\"===r&&function e(t,n,l,r,_){var o;if(n&&null!=(o=n.__isSerialized)&&o)if(_&&_.domSet||(__SetAttribute(t,\"has-react-gesture\",!0),__SetAttribute(t,\"flatten\",!1)),n.type===W.COMPOSED)for(let[_,o]of n.gestures.entries())e(t,o,null==l?void 0:l.gestures[_],r,{domSet:!0});else{let{config:e,relationMap:_}=function(e,t,n,l){var r,_,o,i,s,a;let u={callbacks:[]};for(let r of(e.config&&(u.config=e.config),Object.keys(e.callbacks))){let _=e.callbacks[r];e3(_,null==t?void 0:t.callbacks[r],n,l),u.callbacks.push({name:r,callback:_})}return{config:u,relationMap:{waitFor:null!=(i=null==e||null==(r=e.waitFor)?void 0:r.map(e=>e.id))?i:[],simultaneous:null!=(s=null==e||null==(_=e.simultaneousWith)?void 0:_.map(e=>e.id))?s:[],continueWith:null!=(a=null==e||null==(o=e.continueWith)?void 0:o.map(e=>e.id))?a:[]}}}(n,l,r,t);__SetGestureDetector(t,n.id,n.type,e,_)}}(e.__elements[l],_,n,e4)}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,_,o){var i;if(!e.__elements)return;let s=null!=(i=e.__values[t]||void 0)?i:{};s._workletType=r,\"main-thread\"===r&&(e3(s,n,e4,e.__elements[l]),__AddEvent(e.__elements[l],_,o,{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,_,o;null!=n||(n={});let i=e.__values[t];let s=e.parentNode;if(null==s?void 0:s.__snapshot_def.isListHolder){let a=e0(n,tH);let u=e0(i,tH);eK(a,u)||(ts.values&&(null!=(o=(r=ts.values)[_=s.__id])?o:r[_]=new tp(s)).onSetAttribute(e,u,a),e.__listItemPlatformInfo=u,function(e,t,n,l){let r=e.__listItemPlatformInfo=e.__values[t];if(ts.values){var _,o,i;let t=e.parentNode;(null==t?void 0:t.__snapshot_def.isListHolder)&&(null!=(i=(_=ts.values)[o=t.__id])?i:_[o]=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 u}},__id:e.__id,__elements:e.__elements},t,a,l))}if(\"__spread\"in i&&(i=function(e,t,n){let l={};let r=!1;for(let _ in n){let o=n[_];\"__spread\"===_||(\"class\"===_||\"className\"===_?(null!=o||(o=\"\"),l.className=o):\"ref\"===_?l[_]=o?1:void 0:\"function\"==typeof o?l[_]=`${e.__id}:${t}:${_}`:\"__self\"===_||\"__source\"===_||(!r&&tz.has(_)&&(r=!0),l[_]=o))}return r&&(l.flatten=!1),l}(e,t,i),e.__values[t]=i),!e.__elements)return;let a={};let u=null;for(let r in i){let _=i[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)tu({__values:{get[t](){return _},set[t](value){i[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 o=r.slice(0,-8);tV({__values:{get[t](){return _}},__id:e.__id,__elements:e.__elements},t,n[r],l,o)}else if(u=tJ.exec(r)){let o=u[2];let s=tq[u[3]];let a=u[4];let c={__values:{get[t](){return _},set[t](value){i[r]=value}},__id:e.__id,__elements:e.__elements};o?tG(c,t,n[r],l,o,s,a):tU(c,t,n[r],l,s,a,r)}else tH.has(r)||__SetAttribute(e.__elements[l],r,_);r.startsWith(\"data-\")&&(a[r.slice(5)]=_)}let c=!1;for(let r in n){if(!(r in i))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)tu({__values:{get[t](){return},set[t](value){i[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);tV({__values:{get[t](){return}},__id:e.__id,__elements:e.__elements},t,n[r],l,_)}else if(u=tJ.exec(r)){let _=u[2];let o=tq[u[3]];let s=u[4];let a={__values:{get[t](){return},set[t](value){i[r]=value}},__id:e.__id,__elements:e.__elements};_?tG(a,t,n[r],l,_,o,s):tU(a,t,n[r],l,o,s,r)}else tH.has(r)||__SetAttribute(e.__elements[l],r,null);r.startsWith(\"data-\")&&(c=!0)}(c||!eZ(a))&&__SetDataset(e.__elements[l],a)}const tX=T.Slot;function tK(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}}}T.MultiChildren,T.Children,T.ListChildren,[].slice;let tZ=0;class tQ{get current(){}set current(e){}toJSON(){return{_wvid:this._wvid}}constructor(e,t){this._initValue=e,this._type=t,this._wvid=--tZ}}class t0 extends tQ{constructor(e){super(e,\"main-thread\")}}function t1(e){return eS(()=>new t0(e),[])}const t5={onScroll:\"bindscroll\",onScrollStateChange:\"bindscrollstatechange\",onScrollToLower:\"bindscrolltolower\",onScrollToUpper:\"bindscrolltoupper\",onScrollEnd:\"bindscrollend\",onScrollToUpperEdge:\"bindscrolltoupperedge\",onScrollToLowerEdge:\"bindscrolltoloweredge\",onScrollToNormalState:\"bindscrolltonormalstate\"};const t2={onUIAppear:\"binduiappear\",onUIDisappear:\"binduidisappear\"};const t8={onLayoutChange:\"bindlayoutchange\"};const t3={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 t4=[{eventPrefix:\"bind\",callbackPrefix:\"on\"},{eventPrefix:\"catch\",callbackPrefix:\"catch\"},{eventPrefix:\"capture-bind\",callbackPrefix:\"captureBind\"},{eventPrefix:\"capture-catch\",callbackPrefix:\"captureCatch\"}];const t9=[{name:\"Start\",touchEvent:\"touchstart\",mouseEvent:\"mousedown\",action:\"touchstart\"},{name:\"Move\",touchEvent:\"touchmove\",mouseEvent:\"mousemove\",action:\"touchmove\"},{name:\"End\",touchEvent:\"touchend\",mouseEvent:\"mouseup\",action:\"touchend\"},{name:\"Cancel\",touchEvent:\"touchcancel\",mouseEvent:void 0,action:\"touchcancel\"}];const t7=t9.flatMap(({name:e})=>t4.flatMap(({callbackPrefix:t})=>[`${t}Touch${e}`,`${t}Touch${e}MT`]));let t6={_wkltId:\"0c4a:a692d:1\"};const ne=function(e){return eS(()=>{let t={};for(let u of t4)for(let c of t9){var n,l,r,_,o,i,s,a;let d=`${u.callbackPrefix}Touch${c.name}`;let p=`${u.callbackPrefix}Touch${c.name}MT`;n=u.eventPrefix,l=c.touchEvent,r=c.mouseEvent,c.action,!e[d]||(t[`${n}${l}`]=()=>{},r&&(t[`${n}${r}`]=()=>{})),_=u.eventPrefix,o=c.touchEvent,i=c.mouseEvent,s=c.action,(a=e[p])&&(t[`main-thread:${_}${o}`]={_c:{handler:a,toTouchEventMT:t6,action:s},_wkltId:\"0c4a:a692d:2\"},i&&(t[`main-thread:${_}${i}`]={_c:{action:s,handler:a,toTouchEventMT:t6},_wkltId:\"0c4a:a692d:3\"}))}return t},t7.map(t=>e[t]))};e1(void 0===B?void 0:B)&&registerWorkletInternal(\"main-thread\",\"0c4a:a692d:1\",function(e,t){if(lynxWorkletImpl._workletMap[\"0c4a:a692d:1\"].bind(this),\"touches\"in e||\"changedTouches\"in e)return e;let n={identifier:1,pageX:e.pageX,pageY:e.pageY,clientX:e.clientX,clientY:e.clientY};return{detail:{x:e.pageX,y:e.pageY},touches:\"touchend\"===t?[]:[n],changedTouches:[n],target:e.target,currentTarget:e.currentTarget}}),e1(void 0===B?void 0:B)&&registerWorkletInternal(\"main-thread\",\"0c4a:a692d:2\",function(e){let{handler:t,toTouchEventMT:n,action:l}=this._c;t(n(e,l))}),e1(void 0===B?void 0:B)&&registerWorkletInternal(\"main-thread\",\"0c4a:a692d:3\",function(e){let{action:t,handler:n,toTouchEventMT:l}=this._c;if(\"touchmove\"===t){let t=e.buttons;if(!t||(1&t)===0)return}n(l(e,t))});const nt=new Set([\"onTouchStart\",\"onTouchMove\",\"onTouchEnd\",\"onTouchCancel\"]);function nn(e,t,n){eS(()=>{},[e,ek(t,null!=n?n:[])]),eX()}e1(void 0===B?void 0:B)&&registerWorkletInternal(\"main-thread\",\"eb73:0b4d4:1\",function(e){let{events:t,event:n}=this._c;t[n]&&t[n](e)});const nl=eR(eD(function(e,t){let{pid:n,scene:l,estimatedStyle:r,top:_=\"10px\",bottom:o=\"10px\",left:i=\"10px\",right:s=\"10px\",unmountOnExit:a,unloadable:u=!1,children:c}=e;let d=null!=a?a:u;let[p,f]=eb(!1);let h=ey(void 0);if(nn(\"exposure\",()=>{},[p]),nn(\"disexposure\",()=>{},[d]),!d)return p?c:tK(nr,{values:[_,o,i,s,n,l,r]});{var m,v,b,g;let{width:e,height:t,...a}=r;return tK(n_,{values:[_,o,i,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,...a}],children:p&&c})}}));const nr=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,B,null);const n_=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)=>tU(e,t,n,0,\"bindEvent\",\"layoutchange\",\"\"),function(e){e.__elements&&__SetInlineStyles(e.__elements[0],e.__values[7])}],th,void 0,B,null);const no=tb(\"__snapshot_4ab23_9c9de_1\",function(){return[__CreateScrollView(tf)]},[(e,t,n)=>tY(e,t,n,0)],th,void 0,B,[0]);const ni=function(e){let{children:t,sticky:n,elementProps:l}=e;return tK(no,{values:[{...l,\"android-touch-slop\":\"page\",name:\"lepus\",flatten:!1,__spread:!0}],children:[n,t]})};const ns={_wkltId:\"333e:982fb:1\"};e1(void 0===B?void 0:B)&&registerWorkletInternal(\"main-thread\",\"333e:982fb:1\",function(e,...t){e&&console.info(...t)});const na={_wkltId:\"ec97:2e79e:1\"};e1(void 0===B?void 0:B)&&registerWorkletInternal(\"main-thread\",\"ec97:2e79e:1\",function(e){return lynx.querySelector(`#${e}`)}),e1(void 0===B?void 0:B)&&registerWorkletInternal(\"main-thread\",\"a85b:ce1da:1\",function(){lynxWorkletImpl._workletMap[\"a85b:ce1da:1\"].bind(this);let{scrollOrientation:e}=this._c;return\"vertical\"===e}),e1(void 0===B?void 0:B)&&registerWorkletInternal(\"main-thread\",\"a85b:ce1da:2\",function(){return lynxWorkletImpl._workletMap[\"a85b:ce1da:2\"].bind(this),1/Number(SystemInfo.pixelRatio)}),e1(void 0===B?void 0:B)&&registerWorkletInternal(\"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===B?void 0:B)&&registerWorkletInternal(\"main-thread\",\"a85b:ce1da:4\",function(){return lynxWorkletImpl._workletMap[\"a85b:ce1da:4\"].bind(this),\"Android\"===SystemInfo.platform}),e1(void 0===B?void 0:B)&&registerWorkletInternal(\"main-thread\",\"a85b:ce1da:5\",function(e){return lynxWorkletImpl._workletMap[\"a85b:ce1da:5\"].bind(this),!e||0===Object.keys(e).length}),e1(void 0===B?void 0:B)&&registerWorkletInternal(\"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===B?void 0:B)&&registerWorkletInternal(\"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:o}=this._c;e(t,\"[lynx-ui-scroll-view][useBounce] clear touch info\"),n.current=null,l.current=0,r.current=null,_.current=null,o.current=0}),e1(void 0===B?void 0:B)&&registerWorkletInternal(\"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===B?void 0:B)&&registerWorkletInternal(\"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===B?void 0:B)&&registerWorkletInternal(\"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:o,mtsLog:i,debugLogEnabled:s}=this._c;let a=null!=(t=null==(e=n.current)?void 0:e.bouncingOffset)?t:0;return l.current&&r.current?_?o.alwaysBouncing:o.noBouncing:(i(s,`[lynx-ui-scroll-view][useBounce] get bouncing status, initialLayoutPosition: 0, currentPosition: ${a}`),a>0)?o.upperBouncing:a<0?o.lowerBouncing:o.inScrollingRange}),e1(void 0===B?void 0:B)&&registerWorkletInternal(\"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===B?void 0:B)&&registerWorkletInternal(\"main-thread\",\"a85b:ce1da:12\",function(e){var t,n,l,r,_,o;lynxWorkletImpl._workletMap[\"a85b:ce1da:12\"].bind(this);let{mtsLog:i,isEmpty:s,bouncingPositionInfo:a,prevTouch:u,startTouch:c,bouncingTouchStartPosition:d,isVertical:p,debugLogEnabled:f,selectorMT:h,containerID:m,enableRTL:v}=this._c;if(isNaN(Number(e)))return void i(!0,\"[lynx-ui-scroll-view][useBounce] ERROR! bouncingOffset is NaN\");if(s(a.current))a.current.velocity=0;else{let t=Date.now()-a.current.timeStamp;let n=e-a.current.bouncingOffset||0;t>0&&(a.current.velocity=n/t)}if(a.current.bouncingOffset=e,a.current.timeStamp=Date.now(),0===e&&null!==u.current&&(c.current=u.current,d.current={}),p())i(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;i(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==(o=h(`${m}-lowerBounceWrapper`))||o.setStyleProperty(\"transform\",`translateX(${t}px)`)}}),e1(void 0===B?void 0:B)&&registerWorkletInternal(\"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===B?void 0:B)&&registerWorkletInternal(\"main-thread\",\"a85b:ce1da:14\",function(e,t){lynxWorkletImpl._workletMap[\"a85b:ce1da:14\"].bind(this);let{isVertical:n,height:l,width:r,isEmpty:_,startTouchBouncingDelta:o,bouncingTouchStartPosition:i,rubberC:s,mtsLog:a,debugLogEnabled:u,bouncingSetStyle:c}=this._c;let d=n()?l.current:r.current;let p=Math.abs(Number(_(o.current)?i.current:o.current));let f=d*p/((d-p)*s.current)||0;let h=i.current?f+e*t:e*t;let m=Math.max(0,(1-1/(h*s.current/d+1))*d);a(u,`[lynx-ui-scroll-view][useBounce] rubber effect, scrollViewFrameSize: ${d}, touchStartPosition: ${p}, deltaYForTouchStartPosition: ${f}, deltaYForNextPosition: ${h}, rubberBandingDistance: ${m}`),c(e*m)}),e1(void 0===B?void 0:B)&&registerWorkletInternal(\"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:o,enableScroll:i,rubberEffect:s}=this._c;let a=t(e);n(l,`[lynx-ui-scroll-view][useBounce] check crossing edge, delta: ${a}, toUpper: ${String(r.current)}, toLower: ${String(_.current)}`),!0===r.current&&a>0&&(\"both\"===o.current||\"upper\"===o.current)&&(i(!1),s(a>0?1:-1,a)),!0===_.current&&a<0&&(\"both\"===o.current||\"lower\"===o.current)&&(i(!1),s(a>0?1:-1,a)),i(!0)}),e1(void 0===B?void 0:B)&&registerWorkletInternal(\"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===B?void 0:B)&&registerWorkletInternal(\"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:o,threshold:i,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 a=null!=(e=l.current.bouncingOffset)?e:0;let u=Date.now();let c=()=>{if(!1===!!r.current)return;let e=Date.now()-u;t(n,\"[lynx-ui-scroll-view][useBounce] touching end bouncing back frame\");let l=_.current*a;let d=(a+e/1e3*l)*Math.pow(Math.E,-_.current*(e/1e3));o(d),Math.abs(d)<i()?(o(0),t(n,\"[lynx-ui-scroll-view][useBounce] bounce back ends\")):s(c)};s(c),r.current=!0}),e1(void 0===B?void 0:B)&&registerWorkletInternal(\"main-thread\",\"a85b:ce1da:18\",function(e){var t,n;lynxWorkletImpl._workletMap[\"a85b:ce1da:18\"].bind(this);let{startTouch:l,mtsLog:r,debugLogEnabled:_,bouncingTouchStartPosition:o,bouncingPositionInfo:i,touchEndFrameEnableFlag:s,touchingEndBouncingBackEnableFlag:a,flingEndWithBouncingEnableFlag:u}=this._c;l.current=e.touches,r(_,\"[lynx-ui-scroll-view][useBounce] touch start\"),o.current=null!=(n=null==(t=i.current)?void 0:t.bouncingOffset)?n:0,s.current=!1,a.current=!1,u.current=!1}),e1(void 0===B?void 0:B)&&registerWorkletInternal(\"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:o,enableScroll:i,rubberEffect:s,debugLogEnabled:a,alwaysBouncing:u,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 o.upperBouncing:i(!1),s(1,t),l(a,\"[lynx-ui-scroll-view][useBounce] touch move upper bouncing\");break;case o.lowerBouncing:i(!1),s(-1,t),l(a,\"[lynx-ui-scroll-view][useBounce] touch move lower bouncing\");break;case o.alwaysBouncing:l(a,\"[lynx-ui-scroll-view][useBounce] touch move always bouncing\"),u&&c(e);break;case o.inScrollingRange:l(a,\"[lynx-ui-scroll-view][useBounce] touch move in scrolling range\"),c(e)}}}),e1(void 0===B?void 0:B)&&registerWorkletInternal(\"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:o,isOverTriggerDistance:i,triggerScrollToBouncesEvent:s,touchEndFrameEnableFlag:a,threshold:u,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=o.current)?void 0:h.velocity;let r=null!=(b=null==(m=o.current)?void 0:m.bouncingOffset)?b:0;i()&&s((null==(v=o.current)?void 0:v.bouncingOffset)>0);let _=t;let g=()=>{!1!==!!a.current&&(n(l,\"[lynx-ui-scroll-view][useBounce] touch end process frame\"),Math.abs(_)<=u()?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),a.current&&f(g)))};f(g),a.current=!0}}),e1(void 0===B?void 0:B)&&registerWorkletInternal(\"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:o,scrollVelocity:i,mtsLog:s,debugLogEnabled:a}=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:o(e.detail.scrollLeft-t.detail.scrollLeft))/n;Number.isFinite(l)&&(i.current=l)}}s(a,`[lynx-ui-scroll-view][useBounce] handle scroll near edge, scrollLeft: ${e.detail.scrollLeft}, scrollTop: ${e.detail.scrollTop}, velocity: ${i.current}`),r.current=e}),e1(void 0===B?void 0:B)&&registerWorkletInternal(\"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===B?void 0:B)&&registerWorkletInternal(\"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:o,prevTouch:i,startTouchBouncingDelta:s,bouncingPositionInfo:a,scrollVelocity:u,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;o.current=i.current,s.current=null!=(y=null==(g=a.current)?void 0:g.bouncingOffset)?y:0}else if(Math.abs(u.current)>c()){let e=u.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 o=()=>{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 i;v((null==(i=a.current)?void 0:i.bouncingOffset)>0),_=!0}l=e*Math.pow(f.current,Date.now()-r),d.current&&b(o)}};b(o),d.current=!0}}}),e1(void 0===B?void 0:B)&&registerWorkletInternal(\"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===B?void 0:B)&&registerWorkletInternal(\"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:o,startTouchBouncingDelta:i,bouncingPositionInfo:s,enableBounceEventInFling:a,scrollVelocity:u,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;o.current=_.current,i.current=null!=(y=null==(g=s.current)?void 0:g.bouncingOffset)?y:0}else if(a&&u.current>0){let e=u.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 o=()=>{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 i;v((null==(i=s.current)?void 0:i.bouncingOffset)>0),_=!0}l=e*Math.pow(f.current,Date.now()-r),d&&b(o)}};b(o),d.current=!0}}}}),e1(void 0===B?void 0:B)&&registerWorkletInternal(\"main-thread\",\"a85b:ce1da:26\",function(e){var t,n,l,r,_,o;lynxWorkletImpl._workletMap[\"a85b:ce1da:26\"].bind(this);let{height:i,isAndroid:s,width:a}=this._c;i.current=null!=(_=s()?null==(t=e.params)?void 0:t.height:null==(n=e.detail)?void 0:n.height)?_:0,a.current=null!=(o=s()?null==(l=e.params)?void 0:l.width:null==(r=e.detail)?void 0:r.width)?o:0});const nu=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)=>tV(e,t,n,0,\"main-thread\")],th,void 0,B,null);const nc=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)=>tV(e,t,n,0,\"main-thread\")],th,void 0,B,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)=>tV(e,t,n,0,\"main-thread\")],null,void 0,B,null);const np=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)=>tV(e,t,n,0,\"main-thread\")],null,void 0,B,null);const nf=tb(\"__snapshot_8d379_41c83_6\",function(){return[__CreateScrollView(tf)]},[(e,t,n)=>tY(e,t,n,0)],th,void 0,B,[0]);const nh=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)=>tV(e,t,n,0,\"main-thread\")],[[tX,1],[tX,2]],void 0,B,null);const nm=function(e,t){var n,l,r,_;let o,i,s,a;let{children:u,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,_,o,i,s,a,u,c,d;let p=t1(.55);let f=t1(.99);let h=t1(15);let m=!!e.debugLog;let v=t1(null!=(t=e.bounceableOptions.singleSidedBounce)?t:\"both\");let b=t1(null);let g=t1(null);let y=t1(0);let w=t1({});let S=t1(null);let k=t1({});let x=t1({});let I=t1({});let E=t1(null!=(n=e.bounceableOptions.estimatedHeight)?n:SystemInfo.pixelHeight/SystemInfo.pixelRatio);let C=t1(null!=(l=e.bounceableOptions.estimatedWidth)?l:SystemInfo.pixelWidth/SystemInfo.pixelRatio);let T=t1(0);let A=t1(0);let W=t1(!1);let B=t1(!1);let P=t1(!1);let N=t1(!1);let R=t1(!1);let O=null!=(r=e.id)?r:\"bounceableContainer\";let{enableBounces:L,onScrollToBounces:D}=e.bounceableOptions;let M=null!=(_=e.bounceableOptions.alwaysBouncing)&&_;let $=null!=(o=e.scrollOrientation)?o:\"vertical\";let F=t1(null!=(i=e.enableRTL)&&i);let U=null==(s=e.bounceableOptions.enableBounceEventInFling)||s;let V=null!=(a=e.bounceableOptions.startBounceTriggerDistance)?a:0;let j=null!=(u=e.bounceableOptions.endBounceTriggerDistance)?u:0;let H=t1(null!=(c=e.bounceableOptions.validAnimationVersion)&&c);((e,...t)=>{e&&console.info(...t)})(m,`[lynx-ui-scroll-view][useBounce] init, enableBounces: ${L}, 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:na,containerID:O},_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:R,alwaysBouncing:M,bouncingStatus:{alwaysBouncing:4,noBouncing:3,upperBouncing:1,lowerBouncing:2,inScrollingRange:0},mtsLog:ns,debugLogEnabled:m},_wkltId:\"a85b:ce1da:10\"};let ee={_c:{mtsLog:ns,isEmpty:Y,bouncingPositionInfo:w,prevTouch:g,startTouch:b,bouncingTouchStartPosition:x,isVertical:G,debugLogEnabled:m,selectorMT:na,containerID:O,enableRTL:F},_wkltId:\"a85b:ce1da:12\"};let et={_c:{mtsLog:ns,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:ns,debugLogEnabled:m,bouncingSetStyle:ee},_wkltId:\"a85b:ce1da:14\"};let el={_c:{bouncingPositionInfo:w,startBounceTriggerDistance:V,endBounceTriggerDistance:j,threshold:J},_wkltId:\"a85b:ce1da:16\"};let er={_c:{mtsLog:ns,debugLogEnabled:m,bouncingPositionInfo:w,touchingEndBouncingBackEnableFlag:B,beta:h,bouncingSetStyle:ee,threshold:J,customRequestAnimationFrame:K},_wkltId:\"a85b:ce1da:17\"};return{\"main-thread:bindtouchstart\":{_c:{startTouch:b,mtsLog:ns,debugLogEnabled:m,bouncingTouchStartPosition:x,bouncingPositionInfo:w,touchEndFrameEnableFlag:W,touchingEndBouncingBackEnableFlag:B,flingEndWithBouncingEnableFlag:P},_wkltId:\"a85b:ce1da:18\"},\"main-thread:bindtouchend\":{_c:{clearTouchInfo:{_c:{mtsLog:ns,debugLogEnabled:m,startTouch:b,bouncingTouchStartPosition:x,prevTouch:g,startBouncingTouch:S,startTouchBouncingDelta:k},_wkltId:\"a85b:ce1da:7\"},enableScroll:X,mtsLog:ns,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:W,threshold:J,bouncingBack:er,flingDeceleratingRate:f,bouncingSetStyle:ee,customRequestAnimationFrame:K},_wkltId:\"a85b:ce1da:20\"},\"main-thread:bindtouchmove\":{_c:{prevTouch:g,startTouch:b,mtsLog:ns,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:ns,debugLogEnabled:m,toUpper:N,toLower:R,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:T,scrollY:A,isEmpty:Y,prevScroll:I,isVertical:G,normalizedHorizontalValue:q,scrollVelocity:y,mtsLog:ns,debugLogEnabled:m},_wkltId:\"a85b:ce1da:21\"},onUpperExposure:{_c:{mtsLog:ns,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:ns,debugLogEnabled:m,toUpper:N},_wkltId:\"a85b:ce1da:22\"},onLowerExposure:{_c:{mtsLog:ns,debugLogEnabled:m,toLower:R,singleSidedBounce:v,prevTouch:g,startBouncingTouch:S,startTouchBouncingDelta:k,bouncingPositionInfo:w,enableBounceEventInFling:U,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:ns,debugLogEnabled:m,toLower:R},_wkltId:\"a85b:ce1da:24\"}}}({bounceableOptions:y,debugLog:f,enableRTL:h,id:v,scrollOrientation:m?\"horizontal\":\"vertical\"});return g&&(y.upperBounceItem&&(o=tK(nu,{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&&(i=tK(nc,{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=tK(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\"]]}),a=tK(np,{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\"]]})),tK(nh,{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:[tK(nf,{values:[{...p,...w,bounces:!1,\"ios-enable-simultaneous-touch\":!0,name:\"lepus\",flatten:!1,__spread:!0}],children:[s,d,u,a]}),tK(\"wrapper\",{children:[o,i]})]})};const nv=eR(eD(function(e,t){let{scrollviewId:n=\"scrollview\",horizontal:l=!1,style:r,children:_,scrollOrientation:o,lazyOptions:i,className:s=\"\",debugLog:a=!1,enableRTL:u=!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,experimentalNestedScrollForward:y,experimentalNestedScrollBackward:w,androidTouchSlop:S,\"main-thread:gesture\":k}=e;let x=ey({...t5,...t2,...t3,...t8,...nb});let I=i?{firstScreenItemCount:1,...i}:void 0;let E=((e,t)=>{let n={};for(let l of Object.keys(e))l in t&&!nt.has(l)&&(n[t[l]]=e[l]);let l=ne({onTouchStart:e.onTouchStart,onTouchMove:e.onTouchMove,onTouchEnd:e.onTouchEnd,onTouchCancel:e.onTouchCancel});let r=((e,t)=>{let n={};for(let l of(t1(),Object.keys(e)))l in t&&(n[t[l]]={_c:{events:e,event:l},_wkltId:\"eb73:0b4d4:1\"});return n})(e,Object.entries(t).reduce((e,[t,n])=>(e[`main-thread:${t}`]=`main-thread:${n}`,e),{}));return{...n,...l,...r}})(e,x.current);let C={zIndex:0,...r};let T=()=>o?\"horizontal\"===o:l;let A=!1;let W={enableBounces:!1};if(\"boolean\"==typeof c)W={enableBounces:A=c,singleSidedBounce:\"both\",alwaysBouncing:!0,validAnimationVersion:!0};else if(\"object\"==typeof c){var B,P,N;A=c.enableBounces,(W=c).singleSidedBounce=null!=(B=c.singleSidedBounce)?B:\"both\",W.alwaysBouncing=null==(P=c.alwaysBouncing)||P,W.validAnimationVersion=null==(N=c.validAnimationVersion)||N}let R=A&&(null==W?void 0:W.singleSidedBounce)===\"iOSBounces\";let O=(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)?tK(nl,{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 L={id:n,\"scroll-x\":T(),\"scroll-y\":!T(),\"enable-scroll-monitor\":p,\"scroll-monitor-tag\":f,\"main-thread:gesture\":k,\"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:C,bounces:R,\"enable-scroll\":d,...void 0!==S&&{\"android-touch-slop\":S},...void 0!==y&&{\"temporary-nested-scroll-forward\":y},...void 0!==w&&{\"temporary-nested-scroll-backward\":w},...E};return A&&\"iOSBounces\"!==W.singleSidedBounce&&\"none\"!==W.singleSidedBounce?tK(nm,{elementProps:L,bounceableOptions:W,debugLog:a,enableRTL:u,sticky:h,children:O(_,I)}):tK(ni,{elementProps:L,sticky:h,children:O(_,I)})}));const nb={onContentSizeChange:\"bindcontentsizechanged\",onWheel:\"bindwheel\"};function ng(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 ny(){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 nw=es({active:!1,disabled:!1});const nS=tb(\"__snapshot_11572_5e596_1\",function(){return[__CreateView(tf)]},[(e,t,n)=>tY(e,t,n,0)],th,void 0,B,[0]);const nk=e=>{let{children:t,onClick:n,disabled:l=!1,style:r,className:_,buttonProps:o}=e;let[i,s]=eb(!1);let a=i&&!l;let u=\"function\"==typeof t?t({active:a,disabled:l}):t;let c=ng(()=>{l||s(!0)});let d=ng(()=>{if(s(!1),l)return});let p=ng(()=>{l||null==n||n()});let f=ne({onTouchStart:c,onTouchEnd:d,onTouchCancel:d});let h=eS(()=>({active:a,disabled:l}),[a,l]);return tK(nw.Provider,{value:h,children:tK(nS,{values:[{bindtap:p,...f,\"event-through\":!1,style:r,className:ny(_,{\"ui-active\":a,\"ui-disabled\":l}),...o,__spread:!0}],children:u})})};const nx=es({checked:!1,indeterminate:!1});const nI=e=>{var t;let{style:n,className:l,children:r,onChange:_,checked:o,defaultChecked:i=!1,disabled:s=!1,indeterminate:a=!1,checkboxProps:u}=e;let c=void 0!==o;let[d,p]=eb(i);let f=c?o:d;let h=ng(e=>{c||p(e),null==_||_(e)});let m=ng(()=>{a?h(!0):h(!f)});let v=eS(()=>({checked:f,indeterminate:a}),[f,a]);return tK(nx.Provider,{value:v,children:tK(nk,{disabled:s,onClick:m,style:n,className:ny(l,{\"ui-indeterminate\":a,\"ui-checked\":o}),buttonProps:u,children:(t={checked:f,indeterminate:a},\"function\"==typeof r?e=>r({...t,...e}):r)})})};const nE=()=>{};es({onAwareTriggerFocused:void 0,onAwareTriggerBlurred:void 0,keyboardAwareResponder:void 0,keyboardAwareResponderScrollInfoCollected:void 0});const nC=es({onInputFocused:void 0,onInputBlurred:void 0});const nT=eR(eD(function(e,t){let{id:n,readonly:l=!1,placeholder:r,type:_=\"text\",inputFilter:o,style:i,className:s,maxLength:a=140,defaultValue:u,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(nC);return eX(),eX(),ew(),tK(nA,{values:[1,n,l,r,d,_,o,a,p,{_c:{controlled:g},_wkltId:\"8e1b:b8ce3:1\",_jsFn:{_jsFn1:{_isFirstScreen:!0}}},1,1,1,1,s,i]})}));const nA=tb(\"__snapshot_8e1b3_b8ce3_1\",function(){let e=__CreateElement(\"input\",tf);return __SetAttribute(e,\"ignore-focus\",!0),[e]},[(e,t,n)=>tu(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)=>tU(e,t,n,0,\"bindEvent\",\"focus\",\"\"),(e,t,n)=>tU(e,t,n,0,\"bindEvent\",\"blur\",\"\"),(e,t,n)=>tU(e,t,n,0,\"bindEvent\",\"confirm\",\"\"),(e,t,n)=>tU(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,B,[0]);e1(void 0===B?void 0:B)&&registerWorkletInternal(\"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 nW=eR(eD(function(e,t){let{id:n,readonly:l=!1,placeholder:r,lineSpacing:_,bounces:o=!0,maxLines:i=40,type:s=\"text\",inputFilter:a,style:u,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(nC);return eX(),eX(),ew(),tK(nB,{values:[1,n,l,_,o,i,r,h,s,a,d,m,{_c:{controlled:S},_wkltId:\"7a79:a9994:1\",_jsFn:{_jsFn1:{_isFirstScreen:!0}}},1,1,1,1,c,u]})}));const nB=tb(\"__snapshot_7a793_a9994_1\",function(){let e=__CreateElement(\"textarea\",tf);return __SetAttribute(e,\"ignore-focus\",!0),[e]},[(e,t,n)=>tu(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)=>tU(e,t,n,0,\"bindEvent\",\"focus\",\"\"),(e,t,n)=>tU(e,t,n,0,\"bindEvent\",\"blur\",\"\"),(e,t,n)=>tU(e,t,n,0,\"bindEvent\",\"confirm\",\"\"),(e,t,n)=>tU(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,B,[0]);e1(void 0===B?void 0:B)&&registerWorkletInternal(\"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:nE});const nN=e=>{let{children:t,onValueChange:n,defaultValue:l,value:r,disabled:_=!1}=e;let o=void 0!==r;let[i,s]=eb(null!=l?l:null);let a=o?r:i;let u=ey(null);let c=ng(e=>{u.current!==e&&(null==n||n(e),u.current=e)});let d=ek(e=>{o||s(e),c(e)},[o,c]);eX();let p=eS(()=>({selectedValue:a,handleValueChange:d,disabled:_}),[a,d,_]);let f=eS(()=>\"function\"==typeof t?t({value:a,disabled:_}):t,[t,a]);return tK(nP.Provider,{value:p,children:f})};const nR=es({value:\"\",disabled:!1});const nO=e=>{let{className:t,disabled:n=!1,style:l,value:r,children:_,radioProps:o}=e;let i=ex(nP);if(!i)throw Error(\"<Radio/> must be used within <RadioGroup/>!\");let{selectedValue:s,disabled:a,handleValueChange:u}=i;let c=n||a;let d=r===s;let p=eS(()=>({value:r,disabled:c}),[r,c]);let f=ng(()=>u(r));return tK(nR.Provider,{value:p,children:tK(nk,{className:ny(t,{\"ui-checked\":d}),style:l,disabled:c,onClick:f,buttonProps:o,children:_})})};const nL=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,B,null);const nD=e=>{let{className:t,style:n,children:l,forceMount:r=!1}=e;let{selectedValue:_}=ex(nP);let{value:o,disabled:i}=ex(nR);let{active:s}=ex(nw);let a=o===_;return tK(nL,{values:[ny(t,{\"ui-checked\":a,\"ui-disabled\":i,\"ui-active\":s}),n],children:(r||a)&&l})};function nM(e){let t=ey(e);return eX(),eS(()=>(...e)=>{var n;null==(n=t.current)||n.call(t,...e)},[])}const n$=es({checked:!1,disabled:!1,active:!1});const nF=tb(\"__snapshot_0277e_2eacf_1\",function(){return[__CreateView(tf)]},[(e,t,n)=>tY(e,t,n,0)],th,void 0,B,[0]);function nU({style:e,className:t,children:n,onChange:l,checked:r,defaultChecked:_=!1,disabled:o=!1,switchProps:i}){let s=void 0!==r;let[a,u]=eb(_);let c=s?r:a;let{pressed:d,bindtap:p,...f}=function({disabled:e=!1,onTap:t}={}){let[n,l]=eb(!1);let r=nM(()=>{e||l(!0)});let _=nM(()=>{l(!1)});return{pressed:n,bindtap:nM(()=>{e||null==t||t()}),...ne({onTouchStart:r,onTouchEnd:_,onTouchCancel:_})}}({disabled:o,onTap:()=>{let e=!c;s||u(e),null==l||l(e)}});let h=eS(()=>d&&!o,[d,o]);let m=eS(()=>({active:h,checked:c,disabled:o}),[h,c,o]);return tK(n$.Provider,{value:m,children:tK(nF,{values:[{bindtap:p,...f,\"event-through\":!1,style:e,className:ny(t,{\"ui-active\":h,\"ui-checked\":c,\"ui-disabled\":o}),...i,__spread:!0}],children:\"function\"==typeof n?n(m):n})})}tb(\"__snapshot_0277e_2eacf_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,B,null),tb(\"__snapshot_0277e_2eacf_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,B,null);const nV=es(void 0);const nj=(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 nH=()=>{let e=ex(nV);if(!e)throw Error(\"useForm must be used within a FormRoot\");return e};const nG=({children:e,initialValues:t,onSubmit:n,onChanged:l})=>{let[r,_]=eg(nj,null!=t?t:{});ey(!1),ng(null!=l?l:nE),eX();let o=ng((e,t)=>{_({type:\"CHANGED\",payload:{name:e,value:t}})});let i=ng(e=>{_({type:\"UNREGISTER\",payload:{name:e}})});let s=ng(()=>{null==n||n(r)});let a=eS(()=>({formData:r,onChanged:o,unregisterField:i,submit:s}),[r,o,i,s]);return tK(nV.Provider,{value:a,children:e})};const nJ=({as:e,name:t,children:n,onChanged:l,...r})=>{let{formData:_,onChanged:o,unregisterField:i}=nH();eX();let s=_[t];let a=e=>{o(t,e),null==l||l(e)};let u={...r,children:n};if(\"RadioGroupRoot\"===e)return tK(nN,{onValueChange:a,defaultValue:s,...u});if(\"Input\"===e)return tK(nT,{defaultValue:s,onInput:a,...u});if(\"TextArea\"===e)return tK(nW,{defaultValue:s,onInput:a,...u});if(\"Checkbox\"===e)return tK(nI,{defaultChecked:s,onChange:a,...u});if(\"Switch\"===e)return tK(nU,{defaultChecked:s,onChange:a,...u});throw Error(`FormField component does not support as=\"${String(e)}\"`)};const nq=({onSubmit:e,...t})=>{let{submit:n,formData:l}=nH();return tK(nk,{onClick:()=>{n(),null==e||e(l)},...t})};const nz=tb(\"__snapshot_088bc_a75ef_1\",function(){return[__CreateView(tf)]},[function(e){e.__elements&&__SetInlineStyles(e.__elements[0],e.__values[0])},function(e){e.__elements&&__SetClasses(e.__elements[0],e.__values[1]||\"\")}],th,void 0,B,null);const nY=e=>{let{children:t,className:n,style:l,forceMount:r=!1}=e;let{checked:_,indeterminate:o}=ex(nx);let{active:i,disabled:s}=ex(nw);return tK(nz,{values:[l,ny(n,{\"ui-indeterminate\":o,\"ui-checked\":_,\"ui-active\":i,\"ui-disabled\":s})],children:(r||_||o)&&t})};const nX=[{label:\"Personal\",value:\"personal\"},{label:\"Team\",value:\"team\"}];const nK=tb(\"__snapshot_ab153_bfb23_3\",function(){let e=__CreateText(tf);return __SetClasses(e,\"form-title\"),[e]},null,th,void 0,B,null);const nZ=tb(\"__snapshot_ab153_bfb23_4\",function(){let e=__CreateText(tf);return __SetClasses(e,\"form-subtitle\"),[e]},null,th,void 0,B,null);const nQ=tb(\"__snapshot_ab153_bfb23_6\",function(){let e=__CreateView(tf);return __SetClasses(e,\"radio-indicator-checked-item\"),[e]},null,null,void 0,B,null);const n0=tb(\"__snapshot_ab153_bfb23_7\",function(){let e=__CreateText(tf);return __SetClasses(e,\"form-label\"),[e]},null,th,void 0,B,null);const n1=tb(\"__snapshot_ab153_bfb23_5\",function(){let e=__CreateView(tf);return __SetClasses(e,\"radio-group-container\"),[e]},null,th,void 0,B,null);const n5=tb(\"__snapshot_ab153_bfb23_8\",function(){let e=__CreateView(tf);return __SetClasses(e,\"input-container\"),[e]},null,th,void 0,B,null);const n2=tb(\"__snapshot_ab153_bfb23_9\",function(){let e=__CreateView(tf);return __SetClasses(e,\"input-container\"),[e]},null,th,void 0,B,null);const n8=tb(\"__snapshot_ab153_bfb23_10\",function(){let e=__CreateView(tf);return __SetClasses(e,\"checkbox-indicator-checked-item\"),[e]},null,null,void 0,B,null);const n3=tb(\"__snapshot_ab153_bfb23_11\",function(){let e=__CreateText(tf);__SetClasses(e,\"form-label\");let t=__CreateRawText(\"I agree to the terms and conditions\");return __AppendElement(e,t),[e,t]},null,null,void 0,B,null);const n4=tb(\"__snapshot_ab153_bfb23_12\",function(){let e=__CreateText(tf);__SetClasses(e,\"submit-button-text\");let t=__CreateRawText(\"Submit\");return __AppendElement(e,t),[e,t]},null,null,void 0,B,null);const n9=tb(\"__snapshot_ab153_bfb23_13\",function(){let e=__CreateText(tf);__SetClasses(e,\"form-submitted-hint\");let t=__CreateRawText(\"Submitted ✓\");return __AppendElement(e,t),[e,t]},null,null,void 0,B,null);const n7=tb(\"__snapshot_ab153_bfb23_14\",function(){let e=__CreateText(tf);return __SetClasses(e,\"form-values-display\"),[e]},null,th,void 0,B,null);const n6=tb(\"__snapshot_ab153_bfb23_2\",function(){let e=tf;let t=__CreateView(e);__SetClasses(t,\"form-container\");let n=__CreateWrapperElement(e);__AppendElement(t,n);let l=__CreateWrapperElement(e);__AppendElement(t,l);let r=__CreateView(e);__SetClasses(r,\"form-divider\"),__AppendElement(t,r);let _=__CreateText(e);__SetClasses(_,\"form-section-title\"),__AppendElement(t,_);let o=__CreateRawText(\"Workspace type\");__AppendElement(_,o);let i=__CreateWrapperElement(e);__AppendElement(t,i);let s=__CreateView(e);__SetClasses(s,\"form-divider\"),__AppendElement(t,s);let a=__CreateText(e);__SetClasses(a,\"form-section-title\"),__AppendElement(t,a);let u=__CreateRawText(\"Workspace name\");__AppendElement(a,u);let c=__CreateWrapperElement(e);__AppendElement(t,c);let d=__CreateText(e);__SetClasses(d,\"form-section-title\"),__AppendElement(t,d);let p=__CreateRawText(\"Description\");__AppendElement(d,p);let f=__CreateWrapperElement(e);__AppendElement(t,f);let h=__CreateView(e);__SetClasses(h,\"form-divider\"),__AppendElement(t,h);let m=__CreateWrapperElement(e);__AppendElement(t,m);let v=__CreateView(e);__SetClasses(v,\"form-divider\"),__AppendElement(t,v);let b=__CreateWrapperElement(e);__AppendElement(t,b);let g=__CreateWrapperElement(e);return __AppendElement(t,g),[t,n,l,r,_,o,i,s,a,u,c,d,p,f,h,m,v,b,g]},null,[[tX,1],[tX,2],[tX,6],[tX,10],[tX,13],[tX,15],[tX,17],[tX,18]],void 0,B,null);const le=tb(\"__snapshot_ab153_bfb23_1\",function(){let e=__CreateView(tf);return __SetClasses(e,\"demo-container lunaris-dark luna-gradient-berry\"),[e]},null,th,void 0,B,null);({render:e=>{r.__jsx=e},registerDataProcessors:e=>{lynx.registerDataProcessors(e)}}).render(tK(function(){var e,t;let[n,l]=eb({});let[r,_]=eb(!1);return tK(le,{children:tK(nv,{scrollOrientation:\"vertical\",className:\"demo-canvas\",children:tK(nG,{onChanged:e=>{l(e),_(!1)},initialValues:{workspaceType:null!=(t=null==(e=nX[\"0\"])?void 0:e.value)?t:\"\",workspaceName:\"My Workspace\",description:\"A place for collaboration\"},children:tK(n6,{children:[tK(nK,{children:\"Create a workspace\"}),tK(nZ,{children:\"Set up your workspace to get started.\"}),tK(\"wrapper\",{children:tK(nJ,{as:\"RadioGroupRoot\",name:\"workspaceType\",children:tK(n1,{children:nX.map(({label:e,value:t})=>tK(nO,{className:\"radio-item\",value:t,children:[tK(nD,{className:\"radio-indicator\",children:tK(nQ,{})}),tK(n0,{children:e})]},t))})})}),tK(n5,{children:tK(nJ,{as:\"Input\",name:\"workspaceName\",className:\"form-input\"})}),tK(n2,{children:tK(nJ,{as:\"Input\",name:\"description\",className:\"form-input\"})}),tK(\"wrapper\",{children:[tK(nJ,{as:\"Checkbox\",name:\"agreement\",className:\"checkbox-item\",children:[tK(nY,{className:\"checkbox-indicator\",children:tK(n8,{})}),tK(n3,{})]}),tK(nq,{onSubmit:e=>{console.info(e),_(!0)},className:\"submit-button\",children:tK(n4,{})})]}),tK(\"wrapper\",{children:r&&tK(n9,{})}),tK(n7,{children:JSON.stringify(n,null,2)})]})})})})},{}));"},"customSections":{}}