@lynx-js/web-core-wasm-canary 0.0.2-canary-20260129-b0205255 → 0.0.2-canary-20260129-d02a6062
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +3 -3
- package/binary/client/client.d.ts +99 -99
- package/binary/client/client.js +381 -391
- package/binary/client/client_bg.wasm +0 -0
- package/binary/client/client_bg.wasm.d.ts +41 -40
- package/binary/client/client_debug.d.ts +102 -102
- package/binary/client/client_debug.js +381 -391
- package/binary/client/client_debug_bg.wasm +0 -0
- package/binary/client/client_debug_bg.wasm.d.ts +44 -43
- package/binary/encode/encode.d.ts +10 -59
- package/binary/encode/encode.js +151 -330
- package/binary/encode/encode_bg.wasm +0 -0
- package/binary/encode/encode_bg.wasm.d.ts +4 -24
- package/binary/encode/encode_debug.d.ts +10 -59
- package/binary/encode/encode_debug.js +82 -333
- package/binary/encode/encode_debug_bg.wasm +0 -0
- package/binary/encode/encode_debug_bg.wasm.d.ts +5 -25
- package/dist/client/decodeWorker/cssLoader.d.ts +1 -1
- package/dist/client/decodeWorker/cssLoader.js +2 -3
- package/dist/client/decodeWorker/decode.worker.js +4 -3
- package/dist/client/mainthread/LynxViewInstance.d.ts +1 -5
- package/dist/client/mainthread/LynxViewInstance.js +8 -16
- package/dist/client/mainthread/TemplateManager.d.ts +0 -1
- package/dist/client/mainthread/TemplateManager.js +5 -29
- package/dist/client/mainthread/elementAPIs/WASMJSBinding.d.ts +4 -10
- package/dist/client/mainthread/elementAPIs/WASMJSBinding.js +14 -19
- package/dist/client/mainthread/elementAPIs/createElementAPI.d.ts +1 -1
- package/dist/client/mainthread/elementAPIs/createElementAPI.js +60 -84
- package/dist/client/wasm.d.ts +1 -9
- package/dist/client/wasm.js +3 -17
- package/dist/client/webElementsDynamicLoader.d.ts +0 -7
- package/dist/client/webElementsDynamicLoader.js +3 -72
- package/dist/client_prod/static/js/async/web-core-main-chunk.js +1 -303
- package/dist/client_prod/static/js/async/web-core-template-loader-thread.js +4 -4
- package/dist/client_prod/static/js/async/web-elements.js +309 -0
- package/dist/client_prod/static/js/client.js +2 -2
- package/dist/client_prod/static/wasm/a156b496.module.wasm +0 -0
- package/dist/encode/webEncoder.js +1 -16
- package/dist/types/DecodedTemplate.d.ts +0 -3
- package/dist/types/IElementPAPI.d.ts +0 -2
- package/dist/types/IMtsBinding.d.ts +4 -1
- package/package.json +3 -4
- package/dist/client/mainthread/StyleManager.d.ts +0 -15
- package/dist/client/mainthread/StyleManager.js +0 -72
- package/dist/client_prod/static/js/async/web-elements-audio.js +0 -1
- package/dist/client_prod/static/js/async/web-elements-foldview.js +0 -1
- package/dist/client_prod/static/js/async/web-elements-input.js +0 -1
- package/dist/client_prod/static/js/async/web-elements-list.js +0 -1
- package/dist/client_prod/static/js/async/web-elements-overlay.js +0 -1
- package/dist/client_prod/static/js/async/web-elements-refrshview.js +0 -1
- package/dist/client_prod/static/js/async/web-elements-swiper.js +0 -1
- package/dist/client_prod/static/js/async/web-elements-textarea.js +0 -1
- package/dist/client_prod/static/js/async/web-elements-viewpager.js +0 -1
- package/dist/client_prod/static/wasm/aa6eb16a.module.wasm +0 -0
- package/dist/encode/encodeElementTemplate.d.ts +0 -2
- package/dist/encode/encodeElementTemplate.js +0 -52
- /package/dist/client_prod/static/css/async/{web-core-main-chunk.css → web-elements.css} +0 -0
|
@@ -1,303 +1 @@
|
|
|
1
|
-
"use strict";(globalThis.webpackChunk_lynx_js_web_core_wasm=globalThis.webpackChunk_lynx_js_web_core_wasm||[]).push([["894"],{5834(e,t,i){i.d(t,{A:()=>c});var n=i(245),r=i.n(n),l=i(3110),o=i.n(l),a=i(8047),s=o()(r());s.i(a.A),s.push([e.id,"[lynx-default-display-linear=false] *{--lynx-display:flex;--lynx-display-toggle:var(--lynx-display-flex)}[lynx-default-overflow-visible=true] x-view{overflow:visible}",""]);let c=s.toString()},8047(e,t,i){i.d(t,{A:()=>I});var n=i(245),r=i.n(n),l=i(3110),o=i.n(l),a=i(3170),s=i(4727),c=i(7416),d=i(4478),h=i(7124),p=i(8031),u=i(5545),x=i(3156),m=i(3420),g=i(204),v=i(6712),f=i(2893),y=i(8693),b=i(6916),w=i(3388),E=i(9508),_=i(5308),T=o()(r());T.i(a.A),T.i(s.A),T.i(c.A),T.i(d.A),T.i(h.A),T.i(p.A),T.i(u.A),T.i(x.A),T.i(m.A),T.i(g.A),T.i(v.A),T.i(f.A),T.i(y.A),T.i(b.A),T.i(w.A),T.i(E.A),T.i(_.A),T.push([e.id,"",""]);let I=T.toString()},3170(e,t,i){i.d(t,{A:()=>a});var n=i(245),r=i.n(n),l=i(3110),o=i.n(l)()(r());o.push([e.id,"@supports not ((content-visibility:auto) and (transition-behavior:allow-discrete) and (width:1rex)){*{--lynx-display:linear;--lynx-linear-weight-sum:1;--lynx-linear-weight:0;--justify-content-column:flex-start;--justify-content-column-reverse:flex-start;--justify-content-row:flex-start;--justify-content-row-reverse:flex-start;--align-self-row:auto;--align-self-column:auto;--lynx-linear-weight-basis:auto;--lynx-linear-orientation:vertical;--flex-direction:row;--flex-grow:0;--flex-shrink:1;--flex-basis:auto;--justify-content:flex-start;--flex-wrap:nowrap;--align-self:auto}[lynx-computed-display=linear]{flex-direction:column;justify-content:flex-start;flex-wrap:nowrap!important}[lynx-computed-display=flex]{flex-direction:var(--flex-direction);justify-content:var(--justify-content);flex-wrap:var(--flex-wrap)}[lynx-computed-display=flex]>*,[lynx-computed-display=flex]>lynx-wrapper>*{flex:var(--flex,var(--flex-grow)var(--flex-shrink)var(--flex-basis))}[lynx-computed-display=linear]>*,[lynx-computed-display=linear]>lynx-wrapper>*{flex-shrink:0!important;flex-grow:calc(var(--lynx-linear-weight)/calc(var(--lynx-linear-weight-sum) + ( 1 - clamp(0,var(--lynx-linear-weight-sum)*999999,1))))!important;flex-basis:var(--lynx-linear-weight-basis)!important}[lynx-computed-display=linear][lynx-linear-orientation=vertical]{justify-content:var(--justify-content-column);flex-direction:column!important}[lynx-computed-display=linear][lynx-linear-orientation=horizontal]{justify-content:var(--justify-content-row);flex-direction:row!important}[lynx-computed-display=linear][lynx-linear-orientation=vertical-reverse]{justify-content:var(--justify-content-column-reverse);flex-direction:column-reverse!important}[lynx-computed-display=linear][lynx-linear-orientation=horizontal-reverse]{justify-content:var(--justify-content-row-reverse);flex-direction:row-reverse!important}[lynx-computed-display=linear][lynx-linear-orientation=vertical]>*,[lynx-computed-display=linear][lynx-linear-orientation=vertical-reverse],[lynx-computed-display=linear][lynx-linear-orientation=vertical]>lynx-wrapper>*,[lynx-computed-display=linear][lynx-linear-orientation=vertical-reverse]>lynx-wrapper>*{align-self:var(--align-self-column)}[lynx-computed-display=linear][lynx-linear-orientation=horizontal]>*,[lynx-computed-display=linear][lynx-linear-orientation=horizontal-reverse],[lynx-computed-display=linear][lynx-linear-orientation=horizontal]>lynx-wrapper>*,[lynx-computed-display=linear][lynx-linear-orientation=horizontal-reverse]>lynx-wrapper>*{align-self:var(--align-self-row)}}",""]);let a=o.toString()},7416(e,t,i){i.d(t,{A:()=>a});var n=i(245),r=i.n(n),l=i(3110),o=i.n(l)()(r());o.push([e.id,"lynx-wrapper{--lynx-display:inherit;--lynx-display-toggle:inherit;--lynx-linear-orientation:inherit;--lynx-linear-orientation-toggle:inherit;display:contents!important}",""]);let a=o.toString()},7124(e,t,i){i.d(t,{A:()=>a});var n=i(245),r=i.n(n),l=i(3110),o=i.n(l)()(r());o.push([e.id,"scroll-view{--lynx-display-toggle:var(--lynx-display-linear);flex-wrap:nowrap;flex-direction:var(--linear-flex-direction);justify-content:var(--linear-justify-content);scroll-timeline:--scroll-view-timeline;--lynx-display:linear!important;display:flex!important}scroll-view>*,scroll-view>lynx-wrapper>*{flex-shrink:0;flex-grow:calc(var(--lynx-linear-weight)/var(--lynx-linear-weight-sum));flex-basis:var(--lynx-linear-weight-basis);align-self:var(--align-self-column)}scroll-view,scroll-view{scrollbar-width:none}scroll-view::-webkit-scrollbar{display:none}scroll-view::-webkit-scrollbar{display:none}scroll-view[enable-scrollbar],scroll-view[scroll-bar-enable]{scrollbar-width:initial}scroll-view[enable-scrollbar]::-webkit-scrollbar{display:initial}scroll-view[scroll-bar-enable]::-webkit-scrollbar{display:initial}scroll-view,scroll-view[scroll-y],scroll-view[scroll-orientation=vertical]{--lynx-linear-orientation-toggle:var(--lynx-linear-orientation-vertical);--lynx-linear-orientation:vertical!important;flex-direction:column!important;overflow:clip scroll!important}scroll-view[scroll-x],scroll-view[scroll-orientation=horizontal]{--lynx-linear-orientation-toggle:var(--lynx-linear-orientation-horizontal);--lynx-linear-orientation:horizontal!important;flex-direction:row!important;overflow:scroll clip!important}scroll-view[scroll-orientation=both]{overflow:scroll!important}@supports not (overflow:clip){scroll-view[scroll-y],scroll-view[scroll-orientation=vertical]{overflow-x:hidden}scroll-view[scroll-x],scroll-view[scroll-orientation=horizontal]{overflow-y:hidden}}scroll-view[scroll-y][enable-scroll=false],scroll-view[scroll-orientation=vertical][enable-scroll=false]{overflow-y:hidden!important}scroll-view[scroll-x][enable-scroll=false],scroll-view[scroll-orientation=horizontal][enable-scroll=false]{overflow-x:hidden!important}@supports (animation-timeline:--scroll-view-timeline){scroll-view[fading-edge-length]::part(top-fade-mask){animation-name:topFading;top:0}scroll-view[fading-edge-length]::part(bot-fade-mask){animation-name:botFading;bottom:0}scroll-view[fading-edge-length]::part(top-fade-mask),scroll-view[fading-edge-length]::part(bot-fade-mask){flex:none;animation-duration:1ms;animation-timeline:--scroll-view-timeline;display:flex;left:0}}scroll-view[x-enable-scrolltolower-event]::part(lower-threshold-observer),scroll-view[x-enable-scrolltoupper-event]::part(upper-threshold-observer){display:flex}scroll-view[scroll-y][x-enable-scrolltolower-event]::part(lower-threshold-observer),scroll-view[scroll-orientation=vertical][x-enable-scrolltolower-event]::part(lower-threshold-observer){flex-direction:column-reverse!important}scroll-view[scroll-x][x-enable-scrolltolower-event]::part(lower-threshold-observer),scroll-view[scroll-orientation=horizontal][x-enable-scrolltolower-event]::part(lower-threshold-observer){flex-direction:row-reverse!important}",""]);let a=o.toString()},3156(e,t,i){i.d(t,{A:()=>a});var n=i(245),r=i.n(n),l=i(3110),o=i.n(l)()(r());o.push([e.id,"x-canvas{contain:strict;flex-direction:column}x-canvas>*{display:none!important}x-canvas::part(canvas){width:100%;height:100%}",""]);let a=o.toString()},8031(e,t,i){i.d(t,{A:()=>a});var n=i(245),r=i.n(n),l=i(3110),o=i.n(l)()(r());o.push([e.id,"x-foldview-ng{overscroll-behavior:contain;--foldview-header-height:0px;scrollbar-width:none;display:flex;overflow-x:hidden;overflow-y:scroll!important}x-foldview-ng::-webkit-scrollbar{display:none}x-foldview-ng[scroll-bar-enable]{scrollbar-width:initial}x-foldview-ng[scroll-bar-enable]::-webkit-scrollbar{display:initial}x-foldview-ng:not([scroll-bar-enable],[scroll-bar-enable=true])::-webkit-scrollbar{display:none}x-foldview-ng[scroll-enable=false]{overflow-y:hidden}x-foldview-ng>*,x-foldview-header-ng,x-foldview-slot-ng,x-foldview-toolbar-ng{display:none}x-foldview-ng>x-foldview-header-ng,x-foldview-ng>x-foldview-slot-ng,x-foldview-ng>x-foldview-toolbar-ng,x-foldview-ng>lynx-wrapper>x-foldview-header-ng,x-foldview-ng>lynx-wrapper>x-foldview-slot-ng,x-foldview-ng>lynx-wrapper>x-foldview-toolbar-ng{display:flex}x-foldview-toolbar-ng{z-index:1;order:1;position:sticky;top:0}x-foldview-header-ng{flex:none;order:2;position:absolute}x-foldview-ng[header-over-slot]>x-foldview-slot-ng,x-foldview-ng[header-over-slot]>lynx-wrapper>x-foldview-slot-ng{z-index:1}x-foldview-slot-ng{contain:strict;order:3}x-foldview-slot-ng scroll-view{overscroll-behavior-y:none}",""]);let a=o.toString()},204(e,t,i){i.d(t,{A:()=>a});var n=i(245),r=i.n(n),l=i(3110),o=i.n(l)()(r());o.push([e.id,"x-image,filter-image{--justify-content:center;contain:strict;object-fit:fill;justify-content:center;align-items:center;flex-direction:row!important}x-image>*,filter-image>*{display:none}x-image[blur-radius]::part(img){--blur-radius:0;filter:blur(var(--blur-radius))}filter-image[blur-radius]::part(img),filter-image[drop-shadow]::part(img){--blur-radius:0;--drop-shadow:0px 0px;filter:blur(var(--blur-radius))drop-shadow(var(--drop-shadow))}x-image:not([auto-size])::part(img),filter-image::part(img){object-fit:inherit;flex:0 0 100%;align-self:stretch;width:100%}x-image[mode=aspectFit],filter-image[mode=aspectFit]{object-fit:contain}x-image[mode=aspectFill],filter-image[mode=aspectFill]{object-fit:cover}x-image[mode=center]:not([auto-size])::part(img),filter-image[mode=center]::part(img){width:unset;flex:unset;align-self:unset;margin:auto;position:absolute}x-image[auto-size]{display:contents}x-image[auto-size]::part(img){margin:inherit;padding:inherit;width:inherit;height:inherit;box-sizing:inherit;flex:inherit;min-width:inherit;min-height:inherit;border:inherit;border-radius:inherit;max-width:100%;max-height:100%;position:inherit;top:inherit;left:inherit;right:inherit;bottom:inherit;transform:inherit;opacity:inherit;z-index:inherit;filter:inherit}",""]);let a=o.toString()},6712(e,t,i){i.d(t,{A:()=>a});var n=i(245),r=i.n(n),l=i(3110),o=i.n(l)()(r());o.push([e.id,"x-input{font-size:14px;display:contents!important}x-input::part(form){display:contents}x-input::part(input),x-input::part(form){width:inherit;height:inherit;border:inherit;align-self:inherit;justify-self:inherit;text-align:inherit;direction:inherit;caret-color:inherit;font-family:inherit;font-size:inherit;font-weight:inherit;letter-spacing:inherit;flex:inherit;background-color:inherit;z-index:inherit;margin:inherit;color:inherit}x-input::part(input){--placeholder-color:grey;--placeholder-font-weight:normal}x-input::part(input)::placeholder{color:var(--placeholder-color);font-family:var(--placeholder-font-family);font-size:var(--placeholder-font-size,inherit);font-weight:var(--placeholder-font-weight)}",""]);let a=o.toString()},9508(e,t,i){i.d(t,{A:()=>a});var n=i(245),r=i.n(n),l=i(3110),o=i.n(l)()(r());o.push([e.id,"x-list{contain:layout;scrollbar-width:none;--list-item-sticky-offset:0;--list-item-span-count:0;--list-main-axis-gap:0px;--list-cross-axis-gap:0px;container-type:size}x-list>:not(list-item){display:none}x-list::part(content),x-list[list-type=waterfall]::part(waterfall-content){justify-content:inherit;background-color:inherit;flex-wrap:nowrap;flex:none;flex-direction:inherit;scrollbar-width:inherit;scroll-snap-type:inherit;scroll-snap-align:start;width:100%;height:100%;overflow:inherit;content-visibility:auto;row-gap:inherit;column-gap:inherit;display:flex;position:relative}x-list::part(content),x-list::part(slot){--lynx-display:inherit}x-list,x-list::part(content){scrollbar-width:none}x-list::-webkit-scrollbar{display:none}x-list::part(content)::-webkit-scrollbar{display:none}x-list[scrollbar-enable]::part(content){scrollbar-width:initial}x-list[scrollbar-enable]::part(content)::-webkit-scrollbar{display:initial}list-item{content-visibility:auto;contain:layout paint;contain-intrinsic-size:none auto var(--estimated-main-axis-size-px,100cqh);display:none;position:static;flex:none!important}list-item[recyclable=false]{content-visibility:visible;contain:initial}x-list[scroll-orientation=horizontal] list-item{contain-intrinsic-size:auto var(--estimated-main-axis-size-px,100cqw)none}x-list>list-item,x-list>lynx-wrapper>list-item{display:flex}x-list{overflow:clip scroll!important}x-list[scroll-orientation=horizontal]{overflow:scroll clip!important}x-list[enable-scroll=false]{overflow-y:hidden!important}x-list[scroll-orientation=horizontal][enable-scroll=false]{overflow-x:hidden!important}x-list[sticky=true] list-item[sticky-top],x-list[sticky=true] list-item[sticky-bottom]{z-index:1;position:sticky}x-list[sticky=true]>list-item[sticky-top],x-list[sticky=true]>lynx-wrapper>list-item[sticky-top]{top:var(--list-item-sticky-offset)}x-list[sticky=true]>list-item[sticky-bottom],x-list[sticky=true]>lynx-wrapper>list-item[sticky-bottom]{bottom:var(--list-item-sticky-offset)}x-list[sticky=true][scroll-orientation=horizontal]>list-item[sticky-top],x-list[sticky=true][scroll-orientation=horizontal]>lynx-wrapper>list-item[sticky-top]{top:unset;left:var(--list-item-sticky-offset)}x-list[sticky=true][scroll-orientation=horizontal]>list-item[sticky-bottom],x-list[sticky=true][scroll-orientation=horizontal]>lynx-wrapper>list-item[sticky-bottom]{bottom:unset;right:var(--list-item-sticky-offset)}x-list[item-snap],x-list[paging-enabled]{scroll-snap-type:y mandatory;scroll-snap-stop:always}x-list[item-snap][scroll-orientation=horizontal],x-list[paging-enabled][scroll-orientation=horizontal]{scroll-snap-type:x mandatory}x-list[item-snap]>list-item,x-list[item-snap]>lynx-wrapper>list-item{scroll-snap-align:start}x-list[x-enable-scrolltoupper-event]::part(upper-threshold-observer),x-list[x-enable-scrolltoupperedge-event]::part(upper-threshold-observer),x-list[x-enable-scrolltolower-event]::part(lower-threshold-observer),x-list[x-enable-scrolltoloweredge-event]::part(lower-threshold-observer){display:flex}x-list::part(lower-threshold-observer){flex-direction:column-reverse}x-list[vertical-orientation=false]::part(lower-threshold-observer){flex-direction:row-reverse}x-list{align-items:stretch;row-gap:var(--list-main-axis-gap);column-gap:var(--list-cross-axis-gap);flex-direction:column;display:flex}x-list[scroll-orientation=horizontal]{row-gap:var(--list-cross-axis-gap);column-gap:var(--list-main-axis-gap);flex-direction:row}x-list[list-type=flow]::part(content){grid-template-columns:repeat(var(--list-item-span-count),1fr);grid-row-gap:var(--list-main-axis-gap);grid-column-gap:var(--list-cross-axis-gap);grid-auto-rows:min-content;place-items:start stretch;display:grid}x-list[list-type=flow][scroll-orientation=horizontal]::part(content){grid-template-rows:repeat(var(--list-item-span-count),1fr);grid-row-gap:var(--list-cross-axis-gap);grid-column-gap:var(--list-main-axis-gap);grid-auto-columns:min-content;grid-auto-flow:column;place-items:stretch start}x-list[list-type=flow] list-item[full-span]:not([full-span=false]){grid-column-start:1;grid-column-end:calc(var(--list-item-span-count) + 1)}x-list[list-type=flow][scroll-orientation=horizontal] list-item[full-span]:not([full-span=false]){grid-row-start:1;grid-row-end:calc(var(--list-item-span-count) + 1)}x-list[list-type=flow][x-enable-scrolltoupper-event]::part(upper-threshold-observer),x-list[list-type=flow][x-enable-scrolltoupperedge-event]::part(upper-threshold-observer),x-list[list-type=flow][x-enable-scrolltolower-event]::part(lower-threshold-observer),x-list[list-type=flow][x-enable-scrolltoloweredge-event]::part(lower-threshold-observer){grid-column:1/calc(var(--list-item-span-count) + 1)}x-list[list-type=flow][scroll-orientation=horizontal][x-enable-scrolltoupper-event]::part(upper-threshold-observer),x-list[list-type=flow][scroll-orientation=horizontal][x-enable-scrolltoupperedge-event]::part(upper-threshold-observer),x-list[list-type=flow][scroll-orientation=horizontal][x-enable-scrolltolower-event]::part(lower-threshold-observer),x-list[list-type=flow][scroll-orientation=horizontal][x-enable-scrolltoloweredge-event]::part(lower-threshold-observer){grid-row:1/calc(var(--list-item-span-count) + 1)}x-list[list-type=waterfall]{flex-direction:column;display:flex}x-list[list-type=waterfall][scroll-orientation=horizontal]{flex-direction:row}x-list[list-type=waterfall]::part(slot){visibility:hidden}x-list[list-type=waterfall] list-item{width:calc(( 100% - var(--list-cross-axis-gap)*(var(--list-item-span-count) - 1))/var(--list-item-span-count));height:fit-content;position:absolute}x-list[list-type=waterfall][scroll-orientation=horizontal] list-item{width:fit-content;height:calc(( 100% - var(--list-cross-axis-gap)*(var(--list-item-span-count) - 1))/var(--list-item-span-count))}x-list[list-type=waterfall] list-item[full-span]:not([full-span=false]){width:100%;height:fit-content}x-list[list-type=waterfall][scroll-orientation=horizontal] list-item[full-span]:not([full-span=false]){width:fit-content;height:100%}x-list[list-type=waterfall]::part(upper-threshold-observer),x-list[list-type=waterfall]::part(lower-threshold-observer){position:absolute}x-list[list-type=waterfall]::part(lower-threshold-observer){bottom:-999px}x-list[list-type=waterfall][scroll-orientation=horizontal]::part(lower-threshold-observer){bottom:unset;right:-999px}",""]);let a=o.toString()},2893(e,t,i){i.d(t,{A:()=>a});var n=i(245),r=i.n(n),l=i(3110),o=i.n(l)()(r());o.push([e.id,'x-overlay-ng::part(dialog){background:0 0;border:0;outline:none;width:100%;max-width:100%;height:100%;max-height:100%;margin:0;padding:0}x-overlay-ng{contain:strict;width:0;max-width:0;max-height:0;display:contents;position:fixed;top:0;overflow:visible}x-overlay-ng>:not(:first-child){display:none!important}x-overlay-ng>:first-child,x-overlay-ng>lynx-wrapper>:first-child{display:flex;position:absolute;top:0;left:0}x-overlay-ng [event-through]{pointer-events:none}x-overlay-ng:not([level]),x-overlay-ng[level="1"]{z-index:4}x-overlay-ng[level="2"]{z-index:3}x-overlay-ng[level="3"]{z-index:2}x-overlay-ng[level="4"]{z-index:1}',""]);let a=o.toString()},8693(e,t,i){i.d(t,{A:()=>a});var n=i(245),r=i.n(n),l=i(3110),o=i.n(l)()(r());o.push([e.id,"x-refresh-header,x-refresh-footer{display:none}x-refresh-view{box-sizing:border-box;border-style:solid;border-width:0;flex-direction:column;flex-grow:0;flex-shrink:1;min-width:0;min-height:0;display:flex;position:relative}x-refresh-view::part(container),x-refresh-view::part(content),x-refresh-view::part(slot){--lynx-display:inherit}x-refresh-view:not([enable-refresh=false])>x-refresh-header:first-of-type{scroll-snap-align:none;flex-shrink:0;display:flex;position:relative!important}x-refresh-view[enable-refresh=false]::part(placeholder-top){display:none}x-refresh-view>x-refresh-header[x-magnet-enable]:first-of-type{scroll-snap-align:start!important}x-refresh-view>x-refresh-footer[x-magnet-enable]:first-of-type{scroll-snap-align:end!important}x-refresh-view:not([enable-loadmore=false])>x-refresh-footer:first-of-type{scroll-snap-align:none;flex-shrink:0;margin-top:auto;display:flex;position:relative!important}x-refresh-view[enable-loadmore=false]::part(placeholder-bot){display:none}",""]);let a=o.toString()},3420(e,t,i){i.d(t,{A:()=>a});var n=i(245),r=i.n(n),l=i(3110),o=i.n(l)()(r());o.push([e.id,"x-svg{contain:content;display:flex}x-svg::part(img){width:inherit;height:inherit;flex:inherit;min-width:inherit;min-height:inherit;border:inherit;border-radius:inherit;max-width:100%;max-height:100%;filter:inherit}",""]);let a=o.toString()},6916(e,t,i){i.d(t,{A:()=>a});var n=i(245),r=i.n(n),l=i(3110),o=i.n(l)()(r());o.push([e.id,'x-swiper{scroll-snap-type:x mandatory;scrollbar-width:none;contain:content;timeline-scope:--x-swiper-item-0,--x-swiper-item-1,--x-swiper-item-2,--x-swiper-item-3,--x-swiper-item-4;flex-direction:row;justify-content:flex-start;display:flex;overflow:scroll clip;flex-wrap:nowrap!important}x-swiper::part(content){--page-margin:0px;--next-margin:0px;--previous-margin:0px}x-swiper,x-swiper::part(content),x-swiper::part(slot),x-swiper::part(slot-start),x-swiper::part(slot-end){--lynx-display:linear;--lynx-display-toggle:var(--lynx-display-linear)}x-swiper>*,x-swiper>lynx-wrapper>*{flex-shrink:0;flex-grow:calc(var(--lynx-linear-weight)/var(--lynx-linear-weight-sum));flex-basis:var(--lynx-linear-weight-basis);align-self:var(--align-self-column)}x-swiper::-webkit-scrollbar{display:none}x-swiper[vertical]{scroll-snap-type:y mandatory;--lynx-linear-orientation:vertical;--lynx-linear-orientation-toggle:var(--lynx-linear-orientation-vertical);overflow:clip scroll;flex-direction:column!important}x-swiper[bounces]:not([circular])::part(bounce-padding){display:initial}x-swiper-item{scroll-snap-align:start;animation-duration:10ms;flex-shrink:0!important;flex-grow:calc(var(--lynx-linear-weight)/var(--lynx-linear-weight-sum))!important;flex-basis:var(--lynx-linear-weight-basis)!important}x-swiper-item:nth-child(n+20){contain:strict;content-visibility:auto}x-swiper-item:first-child{view-timeline-name:--x-swiper-item-0}x-swiper-item:nth-child(2){view-timeline-name:--x-swiper-item-1}x-swiper-item:nth-child(3){view-timeline-name:--x-swiper-item-2}x-swiper-item:nth-child(4){view-timeline-name:--x-swiper-item-3}x-swiper-item:nth-child(5){view-timeline-name:--x-swiper-item-4}x-swiper>:not(x-swiper-item){display:none}x-swiper>x-swiper-item{view-timeline-axis:inline;height:100%;animation-timeline:view(inline);width:calc(100% - 2*var(--page-margin) - var(--previous-margin) - var(--next-margin))!important}x-swiper[vertical]>x-swiper-item{view-timeline-axis:block;width:100%;animation-timeline:view();height:calc(100% - 2*var(--page-margin) - var(--previous-margin) - var(--next-margin))!important}x-swiper[circular]{scroll-snap-type:none;overflow:hidden clip}x-swiper[circular][vertical]{overflow:clip hidden}x-swiper[indicator-dots]::part(indicator-container){display:none}x-swiper::part(indicator-container){--indicator-size:.6rem;--indicator-container-margin:.5rem;z-index:100;width:100%;height:var(--indicator-size);contain:strict;margin-bottom:var(--indicator-container-margin);--indicator-color:#ffffff4d;--indicator-active-color:white;flex-direction:row;justify-content:center;align-items:stretch;display:flex;position:absolute;bottom:0;left:0;overflow:clip}x-swiper[vertical]::part(indicator-container){left:unset;height:100%;width:var(--indicator-size);margin-bottom:0;margin-right:var(--indicator-container-margin);flex-direction:column;top:0;right:0}x-swiper::part(indicator-item){background-color:var(--indicator-color);flex:0 0 var(--indicator-size);margin:0 calc(var(--indicator-size)/5)0 calc(var(--indicator-size)/5);border-radius:100%}x-swiper[vertical]::part(indicator-item){margin:calc(var(--indicator-size)/5)0 calc(var(--indicator-size)/5)0}x-swiper[mode=carousel]:not([vertical])>x-swiper-item{width:calc(80% - 2*var(--page-margin) - var(--previous-margin) - var(--next-margin))!important}x-swiper[mode=carousel][vertical]>x-swiper-item{height:calc(80% - 2*var(--page-margin) - var(--previous-margin) - var(--next-margin))!important}x-swiper[mode=carousel]:not([circular])>x-swiper-item:last-child{margin-right:20%}@media screen and (-webkit-min-device-pixel-ratio:0){x-swiper[mode=carousel]::part(content):after{content:"";padding-right:20%}}x-swiper[mode=coverflow]::part(content){perspective:200px}x-swiper[mode=coverflow]>x-swiper-item{scroll-snap-align:center;transform-style:preserve-3d;z-index:0;animation-name:x-swiper-coverflow}x-swiper[mode=coverflow]:not([vertical])>x-swiper-item{animation-name:x-swiper-coverflow-horizontal;width:calc(60% - 2*var(--page-margin) - var(--previous-margin) - var(--next-margin))!important}x-swiper[mode=coverflow][vertical]>x-swiper-item{animation-name:x-swiper-coverflow-vertical;height:calc(60% - 2*var(--page-margin) - var(--previous-margin) - var(--next-margin))!important}x-swiper[mode=coverflow]:not([circular]):not([vertical])>x-swiper-item:first-child{margin-left:20%}x-swiper[mode=coverflow]:not([circular]):not([vertical])>x-swiper-item:last-child{margin-right:20%}x-swiper[mode=coverflow][vertical]:not([circular])>x-swiper-item:first-child{margin-top:20%}x-swiper[mode=coverflow][vertical]:not([circular])>x-swiper-item:last-child{margin-bottom:20%}@keyframes x-swiper-coverflow-horizontal{25%{transform:rotateY(-50deg)scale(.8)}45%,55%{z-index:1;transform:rotateY(0)scale(1)}to{transform:rotateY(40deg)scale(.8)}}@keyframes x-swiper-coverflow-vertical{25%{transform:rotateX(-50deg)scale(.8)}45%,55%{z-index:1;transform:rotateX(0)scale(1)}to{transform:rotateX(40deg)scale(.8)}}x-swiper[mode=flat-coverflow]>x-swiper-item{scroll-snap-align:center}x-swiper[mode=flat-coverflow]:not([vertical])>x-swiper-item{width:60%!important}x-swiper[mode=flat-coverflow]:not([circular]):not([vertical])>x-swiper-item:first-child{margin-left:20%}x-swiper[mode=flat-coverflow]:not([circular]):not([vertical])>x-swiper-item:last-child{margin-right:20%}x-swiper[mode=flat-coverflow][vertical]>x-swiper-item{height:60%!important}x-swiper[mode=flat-coverflow][vertical]:not([circular])>x-swiper-item:first-child{margin-top:20%}x-swiper[mode=flat-coverflow][vertical]:not([circular])>x-swiper-item:last-child{margin-bottom:20%}x-swiper[mode=carry]>x-swiper-item{scroll-snap-align:center;animation-name:x-swiper-carry;width:100%!important}@keyframes x-swiper-carry{0%{transform:scale(.6)}45%,55%{z-index:1;transform:scale(1)}to{transform:scale(.6)}}',""]);let a=o.toString()},4478(e,t,i){i.d(t,{A:()=>a});var n=i(245),r=i.n(n),l=i(3110),o=i.n(l)()(r());o.push([e.id,'x-text{overflow-wrap:break-word;background-image:var(--lynx-text-bg-color);color:initial;align-items:stretch;display:flex}x-text>x-text,x-text>lynx-wrapper>x-text{color:inherit}x-text:not(x-text>x-text):not(x-text>lynx-wrapper>x-text){--lynx-text-bg-color:initial}x-text>*{display:none}x-text::part(inner-box){text-overflow:inherit;--lynx-text-bg-color:inherit}x-text>x-text::part(inner-box),x-text>lynx-wrapper>x-text::part(inner-box){display:contents!important}x-text::part(inner-box),inline-text,x-text::part(slot){background-clip:inherit;-webkit-background-clip:inherit}inline-text,inline-image,inline-truncation{display:none}x-text>x-text,x-text>inline-text,inline-text>inline-text,inline-truncation>inline-text,inline-truncation>x-text,x-text>lynx-wrapper>x-text,x-text>lynx-wrapper>inline-text,x-text>lynx-wrapper>x-text,inline-text>lynx-wrapper>inline-text,x-text>lynx-wrapper>*,inline-truncation>lynx-wrapper>inline-text,inline-truncation>lynx-wrapper>x-text{background-clip:inherit;-webkit-background-clip:inherit;display:inline}x-text>inline-image,x-text>x-image,inline-truncation>inline-image,inline-truncation>x-image,inline-text>inline-image,inline-text>x-image,x-text>lynx-wrapper>inline-image,x-text>lynx-wrapper>x-image,inline-truncation>lynx-wrapper>inline-image,inline-truncation>lynx-wrapper>x-image,inline-text>lynx-wrapper>inline-image,inline-text>lynx-wrapper>x-image{display:contents!important}x-text>x-view,x-text>lynx-wrapper>x-view{display:inline-flex!important}x-text>x-view,x-text[x-show-inline-truncation]>inline-truncation,x-text>lynx-wrapper>x-view,x-text[x-show-inline-truncation]>lynx-wrapper>inline-truncation{display:inline-flex}x-text>inline-truncation:first-child,x-text>lynx-wrapper>inline-truncation:first-child{max-width:100%}inline-truncation~inline-truncation{display:none}inline-truncation[x-text-clipped]{flex-direction:row}inline-image::part(img){height:inherit;width:inherit;border:inherit;border-radius:inherit;background-color:inherit;vertical-align:inherit;margin:inherit;display:inline-block}x-text>x-image::part(img),x-text>lynx-wrapper>x-image::part(img),inline-truncation>x-image::part(img),inline-truncation>lynx-wrapper>x-image::part(img){border:inherit;border-radius:inherit;background-color:inherit;vertical-align:inherit;margin:inherit;object-fit:inherit;display:inline-block;height:inherit!important;width:inherit!important;flex:inherit!important;align-self:inherit!important}x-text,inline-text,inline-image,inline-truncation{-webkit-user-select:none;user-select:none}x-text::part(inner-box){width:100%;height:100%;overflow:inherit}x-text[text-maxline]{overflow:hidden}x-text[text-selection],x-text[text-selection]>inline-text,x-text[text-selection]>x-text,x-text[text-selection]>inline-image,x-text[text-selection]>x-image,x-text[text-selection]>inline-truncation,x-text[text-selection]>lynx-wrapper>inline-text,x-text[text-selection]>lynx-wrapper>x-text,x-text[text-selection]>lynx-wrapper>inline-image,x-text[text-selection]>lynx-wrapper>x-image,x-text[text-selection]>lynx-wrapper>inline-truncation{-webkit-user-select:auto;user-select:auto}x-text[x-text-clipped]>[x-text-clipped]:not(inline-truncation),x-text[x-text-clipped]>lynx-wrapper>[x-text-clipped]:not(inline-truncation){display:none!important}x-text[x-text-clipped]:not([tail-color-convert=false])::part(inner-box):after,x-text[x-text-clipped]:not([tail-color-convert=false])::part(inner-box):after{content:"..."}x-text[x-text-clipped][x-text-custom-overflow]::part(inner-box):after,x-text[x-text-clipped][x-text-custom-overflow]::part(inner-box):after{content:""!important}x-text[x-text-clipped]:has(inline-truncation)::part(inner-box):after{content:""!important}x-text[x-text-clipped]:has(inline-truncation)::part(inner-box):after{content:""!important}x-text[text-maxline]::part(inner-box){-webkit-box-orient:vertical;display:-webkit-box}x-text[text-maxline="0"]{display:none}@supports not selector(:has(inline-truncation)){x-text[text-maxline="1"]:not([tail-color-convert=false]):not([x-text-custom-overflow])::part(inner-box){white-space:nowrap;text-overflow:ellipsis}}@supports selector(:has(inline-truncation)){x-text[text-maxline="1"]:not([tail-color-convert=false],:has(inline-truncation))::part(inner-box){text-wrap:nowrap;white-space:nowrap;text-overflow:ellipsis}}x-text[text-maxline="1"]{max-width:-moz-available;max-width:-webkit-fill-available}x-text[text-maxline="1"]:not([tail-color-convert=false])::part(inner-box){display:block}x-text[text-maxline][x-text-custom-overflow]::part(inner-box),x-text[text-maxline][tail-color-convert=false]::part(inner-box){display:block!important}x-text[text-maxline]:has(inline-truncation)::part(inner-box){display:block!important}raw-text{white-space-collapse:preserve-breaks;display:none}x-text>raw-text,inline-text>raw-text,x-text>lynx-wrapper>raw-text,inline-text>lynx-wrapper>raw-text{display:contents!important}raw-text:not(:defined):before{content:attr(text);display:contents}x-text:not(:has(x-text,raw-text)):not(:defined):before{content:attr(text);display:contents}',""]);let a=o.toString()},3388(e,t,i){i.d(t,{A:()=>a});var n=i(245),r=i.n(n),l=i(3110),o=i.n(l)()(r());o.push([e.id,"x-textarea{font-size:14px;display:contents}x-textarea::part(form){display:contents}x-textarea::part(textarea),x-textarea::part(form){width:inherit;height:inherit;font-family:inherit;font-size:inherit;line-height:inherit;flex:inherit;border:inherit;padding:inherit;margin:inherit;caret-color:inherit;direction:inherit;font:inherit;letter-spacing:inherit;text-align:inherit;outline:inherit;background-color:inherit;color:inherit}x-textarea::part(textarea){--placeholder-color:grey;--placeholder-font-weight:normal;--placeholder-font-family:inherit;resize:none}x-textarea::part(textarea)::placeholder{color:var(--placeholder-color);font-size:var(--placeholder-font-size,inherit);font-weight:var(--placeholder-font-weight);font-family:var(--placeholder-font-family)}",""]);let a=o.toString()},5545(e,t,i){i.d(t,{A:()=>a});var n=i(245),r=i.n(n),l=i(3110),o=i.n(l)()(r());o.push([e.id,"x-viewpager-ng,x-viewpager-item-ng{display:none}x-viewpager-ng,x-viewpager-ng>x-viewpager-item-ng,x-viewpager-ng>lynx-wrapper>x-viewpager-item-ng{display:flex}x-viewpager-ng{contain:content;scrollbar-width:0;--lynx-linear-orientation:horizontal;scroll-snap-type:x mandatory;scroll-snap-stop:always;flex-direction:row;width:100%;height:100%;overflow:scroll clip}x-viewpager-ng[allow-horizontal-gesture=false],x-viewpager-ng[enable-scroll=false]{overflow-x:hidden}x-viewpager-ng::-webkit-scrollbar{display:none}x-viewpager-ng::part(content){scroll-snap-align:start}x-viewpager-ng[bounces]::part(bounce-padding){display:flex}@supports not (overflow:clip){x-viewpager-ng{overflow-y:hidden}}x-viewpager-item-ng{contain:content;--flex-grow:0;--flex-shrink:0;--flex-basis:auto;scroll-snap-align:start;scroll-snap-stop:always;flex:none;width:100%;height:100%;position:relative!important}x-viewpager-item-ng:nth-child(n+5){contain:strict}",""]);let a=o.toString()},5308(e,t,i){i.d(t,{A:()=>a});var n=i(245),r=i.n(n),l=i(3110),o=i.n(l)()(r());o.push([e.id,"x-webview{flex-direction:column;display:flex;overflow:hidden}",""]);let a=o.toString()},4727(e,t,i){i.d(t,{A:()=>a});var n=i(245),r=i.n(n),l=i(3110),o=i.n(l)()(r());o.push([e.id,'@property --lynx-display{syntax:"linear|flex";inherits:false;initial-value:linear}@property --lynx-linear-weight-sum{syntax:"<number>";inherits:false;initial-value:1}@property --lynx-linear-weight{syntax:"<number>";inherits:false;initial-value:0}@property --justify-content-column{syntax:"flex-start|flex-end|center|space-between|space-around";inherits:false;initial-value:flex-start}@property --justify-content-column-reverse{syntax:"flex-start|flex-end|center|space-between|space-around";inherits:false;initial-value:flex-start}@property --justify-content-row{syntax:"flex-start|flex-end|center|space-between|space-around";inherits:false;initial-value:flex-start}@property --justify-content-row-reverse{syntax:"flex-start|flex-end|center|space-between|space-around";inherits:false;initial-value:flex-start}@property --align-self-row{syntax:"start|end|center|stretch|auto";inherits:false;initial-value:auto}@property --align-self-column{syntax:"start|end|center|stretch|auto";inherits:false;initial-value:auto}@property --lynx-linear-weight-basis{syntax:"auto|<number>|<length>";inherits:false;initial-value:auto}@property --lynx-linear-orientation{syntax:"<custom-ident>";inherits:false;initial-value:vertical}@property --flex-direction{syntax:"*";inherits:false}@property --flex-wrap{syntax:"*";inherits:false}@property --flex-grow{syntax:"<number>";inherits:false;initial-value:0}@property --flex-shrink{syntax:"<number>";inherits:false;initial-value:1}@property --flex-basis{syntax:"*";inherits:false;initial-value:auto}@property --flex-value{syntax:"*";inherits:false}@property --flex{syntax:"*";inherits:false}@property --linear-justify-content{syntax:"flex-start|flex-end|center|space-between|space-around";inherits:false;initial-value:flex-start}x-view,x-blur-view,scroll-view,x-foldview-ng,x-foldview-slot-ng,x-foldview-header-ng,x-foldview-toolbar-ng,x-foldview-drag-ng,x-text,inline-text,inline-image,inline-truncation,x-viewpager-ng,x-viewpager-item-ng,x-canvas,x-svg,x-image,filter-image,x-input,x-swiper,x-swiper-item,x-textarea,x-list,list-item{box-sizing:border-box;scrollbar-width:none;border-style:solid;border-width:0;min-width:0;min-height:0;display:flex;position:relative;overflow:clip}x-view::--webkit-scrollbar{display:none}x-view,scroll-view,x-foldview-header-ng,x-foldview-ng,x-foldview-slot-drag-ng,x-foldview-slot-ng,x-foldview-toolbar-ng,x-refresh-footer,x-refresh-header,x-refresh-view,x-swiper-item,x-viewpager-item-ng,x-viewpager-ng,list-item{--lynx-display-toggle:var(--lynx-display-linear);--lynx-display-linear:var(--lynx-display-toggle,);--lynx-display-flex:var(--lynx-display-toggle,);--lynx-linear-orientation-toggle:var(--lynx-linear-orientation-vertical);--lynx-linear-orientation-horizontal:var(--lynx-linear-orientation-toggle,);--lynx-linear-orientation-vertical:var(--lynx-linear-orientation-toggle,);--lynx-linear-orientation-horizontal-reverse:var(--lynx-linear-orientation-toggle, );--lynx-linear-orientation-vertical-reverse:var(--lynx-linear-orientation-toggle, );--linear-flex-direction:var(--lynx-linear-orientation-horizontal,row)var(--lynx-linear-orientation-vertical,column)var(--lynx-linear-orientation-horizontal-reverse,row-reverse)var(--lynx-linear-orientation-vertical-reverse,column-reverse);--linear-justify-content:var(--lynx-linear-orientation-horizontal,var(--justify-content-row))var(--lynx-linear-orientation-vertical,var(--justify-content-column))var(--lynx-linear-orientation-horizontal-reverse,var(--justify-content-row-reverse))var(--lynx-linear-orientation-vertical-reverse,var(--justify-content-column-reverse))}x-view,x-foldview-header-ng,x-foldview-ng,x-foldview-slot-drag-ng,x-foldview-slot-ng,x-foldview-toolbar-ng,x-refresh-footer,x-refresh-header,x-refresh-view,x-swiper-item,x-viewpager-item-ng,x-viewpager-ng,list-item{flex-wrap:var(--lynx-display-linear,nowrap)var(--lynx-display-flex,var(--flex-wrap));flex-direction:var(--lynx-display-linear,var(--linear-flex-direction))var(--lynx-display-flex,var(--flex-direction));justify-content:var(--lynx-display-linear,var(--linear-justify-content))}@supports (content-visibility:auto) and (transition-behavior:allow-discrete) and (width:1rex){@container style(--lynx-display:linear){x-view,x-blur-view,scroll-view,x-foldview-ng,x-foldview-slot-ng,x-foldview-header-ng,x-foldview-toolbar-ng,x-foldview-drag-ng,x-text,inline-text,inline-image,inline-truncation,x-viewpager-ng,x-viewpager-item-ng,x-canvas,x-svg,x-image,filter-image,x-input,x-swiper,x-swiper-item,x-textarea,x-list,list-item{flex-shrink:0;flex-grow:calc(var(--lynx-linear-weight)/calc(var(--lynx-linear-weight-sum) + ( 1 - clamp(0,var(--lynx-linear-weight-sum)*999999,1))));flex-basis:var(--lynx-linear-weight-basis)}}@container not style(--lynx-display:linear){x-view,x-blur-view,scroll-view,x-foldview-ng,x-foldview-slot-ng,x-foldview-header-ng,x-foldview-toolbar-ng,x-foldview-drag-ng,x-text,inline-text,inline-image,inline-truncation,x-viewpager-ng,x-viewpager-item-ng,x-canvas,x-svg,x-image,filter-image,x-input,x-swiper,x-swiper-item,x-textarea,x-list,list-item{flex:var(--flex,var(--flex-grow)var(--flex-shrink)var(--flex-basis))}}@container style(--lynx-display:linear) and (style(--lynx-linear-orientation:vertical) or style(--lynx-linear-orientation:vertical-reverse)){x-view,x-blur-view,scroll-view,x-foldview-ng,x-foldview-slot-ng,x-foldview-header-ng,x-foldview-toolbar-ng,x-foldview-drag-ng,x-text,inline-text,inline-image,inline-truncation,x-viewpager-ng,x-viewpager-item-ng,x-canvas,x-svg,x-image,filter-image,x-input,x-swiper,x-swiper-item,x-textarea,x-list,list-item{align-self:var(--align-self-column)}}@container style(--lynx-display:linear) and (style(--lynx-linear-orientation:horizontal) or style(--lynx-linear-orientation:horizontal-reverse)){x-view,x-blur-view,scroll-view,x-foldview-ng,x-foldview-slot-ng,x-foldview-header-ng,x-foldview-toolbar-ng,x-foldview-drag-ng,x-text,inline-text,inline-image,inline-truncation,x-viewpager-ng,x-viewpager-item-ng,x-canvas,x-svg,x-image,filter-image,x-input,x-swiper,x-swiper-item,x-textarea,x-list,list-item{align-self:var(--align-self-row)}}}',""]);let a=o.toString()},5591(e,t,i){i.d(t,{A:()=>a});var n=/[A-Z]/g,r=/^ms-/,l={};function o(e){return"-"+e.toLowerCase()}let a=function(e){if(l.hasOwnProperty(e))return l[e];var t=e.replace(n,o);return l[e]=r.test(t)?"-"+t:t}},1391(e,t,i){i.d(t,{t:()=>n});class n extends EventTarget{#e;constructor(e){super(),this.#e=e}postMessage(...e){console.error("[lynx-web] postMessage not implemented, args:",...e)}dispatchEvent(e){let{rpc:t,sendEventEndpoint:i}=this.#e;return t.invoke(i,[e]),3}__start(){let{rpc:e,receiveEventEndpoint:t}=this.#e;e.registerHandler(t,({type:e,data:t})=>{super.dispatchEvent(new MessageEvent(e,{data:t??{}}))})}}},7103(e,t,i){i.d(t,{F0:()=>O,F6:()=>y,Is:()=>I,JW:()=>l,Ke:()=>r,PC:()=>x,PM:()=>f,Sy:()=>_,VK:()=>v,Ve:()=>a,ZU:()=>m,a$:()=>d,bd:()=>L,eZ:()=>o,g:()=>g,gx:()=>E,hO:()=>s,hh:()=>c,iH:()=>p,jK:()=>T,mB:()=>S,nk:()=>A,o2:()=>h,pT:()=>b,vn:()=>k,vr:()=>w,yn:()=>C,zk:()=>u});var n=i(9282);let r=(0,n.H)("publicComponentEvent",!1,!1),l=(0,n.H)("publishEvent",!1,!1),o=(0,n.H)("switchExposureServiceEndpoint",!1,!1),a=(0,n.H)("updateData",!1,!0),s=(0,n.H)("sendGlobalEventEndpoint",!1,!1),c=(0,n.H)("dispose",!1,!0),d=(0,n.H)("start",!1,!0),h=(0,n.H)("reportError",!1,!1),p=(0,n.H)("callLepusMethod",!1,!0),u=(0,n.H)("__invokeUIMethod",!1,!0),x=(0,n.H)("__setNativeProps",!1,!0),m=(0,n.H)("__getPathInfo",!1,!0),g=(0,n.H)("nativeModulesCall",!1,!0),v=(0,n.H)("napiModulesCall",!1,!0,!0);(0,n.H)("getCustomSections",!1,!0);let f=(0,n.H)("markTiming",!1,!1),y=(0,n.H)("postTimingFlags",!1,!1),b=(0,n.H)("__triggerComponentEvent",!1,!1),w=(0,n.H)("__selectComponent",!1,!0),E=(0,n.H)("dispatchLynxViewEvent",!1,!1),_=(0,n.H)("dispatchNapiModule",!1,!1),T=(0,n.H)("dispatchCoreContextOnBackground",!1,!1),I=(0,n.H)("dispatchJSContextOnMainThread",!1,!1),k=(0,n.H)("__triggerElementMethod",!1,!1),C=(0,n.H)("updateGlobalProps",!1,!1);(0,n.H)("updateI18nResources",!1,!1);let S=(0,n.H)("dispatchI18nResource",!1,!1),A=(0,n.H)("queryComponent",!1,!0),L=(0,n.H)("updateBTSChunkEndpoint",!1,!0),O=(0,n.H)("reload",!1,!1)},9531(e,t,i){i.a(e,async function(e,n){try{i.d(t,{D:()=>b});var r,l=i(8239),o=i(7103),a=i(1391),s=i(3764),c=i(447),d=i(3603),h=i(5885),p=i(1617),u=i(1311),x=i(2698),m=i(6173),g=i(2580),v=i(4333),f=e([s]);function y(){return new Worker(new URL(i.p+i.u("97"),i.b),Object.assign({},{type:"module",name:"lynx-bg"},{type:void 0}))}s=(f.then?(await f)():f)[0],r=Symbol.asyncDispose;class b{static contextIdToBackgroundWorker=[];#t;#i;#n=null;#r=[];#l;jsContext;postTimingFlags;sendGlobalEvent;publicComponentEvent;publishEvent;dispatchI18nResource;updateData;updateGlobalProps;updateBTSChunk;#o;#a;#s;#c;#d=!1;constructor(e,t){this.#o=e,this.#a=t;const i=new l.C(void 0,"main-to-bg");this.#t=i,this.jsContext=new a.t({rpc:this.#t,receiveEventEndpoint:o.Is,sendEventEndpoint:o.jK}),this.#s=new Promise(e=>{this.#c=e}),this.jsContext.__start(),this.#l=this.#t.createCall(o.PM),this.postTimingFlags=this.#t.createCall(o.F6),this.sendGlobalEvent=this.#t.createCall(o.hO),this.publicComponentEvent=this.#t.createCall(o.Ke),this.publishEvent=this.#t.createCall(o.JW),this.dispatchI18nResource=this.#t.createCall(o.mB),this.updateData=this.#t.createCall(o.Ve),this.updateGlobalProps=this.#t.createCall(o.yn),this.updateBTSChunk=this.#t.createCall(o.bd)}startWebWorker(e,t,i,n,r,l){if(this.#i)return;if(void 0!==this.#o){let e=b.contextIdToBackgroundWorker[this.#o];e?e.runningCards+=1:b.contextIdToBackgroundWorker[this.#o]={worker:y(),runningCards:1},this.#i=b.contextIdToBackgroundWorker[this.#o].worker}else this.#i=y();let o=new MessageChannel;this.#i.postMessage({mainThreadMessagePort:o.port2,systemInfo:s.systemInfo,initData:e,globalProps:t,cardType:i,customSections:n,nativeModulesMap:r,napiModulesMap:l,entryTemplateUrl:this.#a.templateUrl},[o.port2]),this.#t.setMessagePort(o.port1)}startBTS(){this.#d||(this.#d=!0,this.#t.registerHandler(o.iH,(e,t)=>{let i=this.#a.mainThreadGlobalThis[e];"function"==typeof i?i.call(this.#a.mainThreadGlobalThis,t):console.error(`Method ${e} not found on mainThreadGlobalThis`)}),this.#t.registerHandler(o.eZ,this.#a.exposureServices.switchExposureService.bind(this.#a.exposureServices)),this.#t.registerHandler(o.o2,(e,t,i)=>{this.#a.reportError(e,i,"app-service.js")}),this.#t.registerHandler(o.gx,(e,t)=>{this.#a.rootDom.dispatchEvent(new CustomEvent(e,{detail:t,bubbles:!0,cancelable:!0,composed:!0}))}),this.#t.registerHandler(o.nk,e=>this.#a.queryComponent(e).then(()=>(this.jsContext.dispatchEvent({type:"__OnDynamicJSSourcePrepared",data:e}),{code:0,detail:{schema:e}}))),(0,v.p)(this.#t,this.#a),(0,h.l)(this.#t,this.#a),(0,c.l)(this.#t,this.#a),(0,m.v)(this.#t,this.#a),(0,g.U)(this.#t,this.#a),(0,p.t)(this.#t,this.#a),(0,d.r)(this.#t,this.#a),(0,u.J)(this.#t,this.#a),(0,x.M)(this.#t,this.#a),this.#t.invoke(o.a$,[]).then(this.#c))}markTiming(e,t,i){this.#r.push({timingKey:e,pipelineId:t,timeStamp:i??performance.now()+performance.timeOrigin}),null===this.#n&&(this.#n=setTimeout(()=>{this.flushTimingInfo()},500))}flushTimingInfo(){this.#l(this.#r),this.#r=[],null!==this.#n&&(clearTimeout(this.#n),this.#n=null)}async [r](){if(await this.#s,await this.#t.invoke(o.hh,[]),void 0!==this.#o){let e=b.contextIdToBackgroundWorker[this.#o];e&&(e.runningCards-=1,0===e.runningCards&&(e.worker.terminate(),b.contextIdToBackgroundWorker[this.#o]=void 0))}else this.#i?.terminate();this.#n&&clearTimeout(this.#n)}}n()}catch(e){n(e)}})},42(e,t,i){i.d(t,{_:()=>l});var n=i(1180);function r(e,t,i){if(t){if((t=t.trim()).endsWith("px"))return Number(t.substring(0,t.length-2));if(t.endsWith("%")){let n=Number(t.substring(0,t.length-1)),{width:r,height:l}=e.getBoundingClientRect();return(i?r:l)*n/100}}return 0}class l{#h=new Map;#p=new Map;#u=[];#x=[];#m=null;#g=new Set;#v=!0;#a;constructor(e){this.#a=e}updateExposureStatus(e,t){for(let t of new Set(e).values())this.#h.has(t)&&this.#f(t),this.#y(t);for(let e of new Set(t).values())this.#f(e)}#b=e=>{e.forEach(({target:e,isIntersecting:t})=>{t&&!this.#g.has(e)?(this.#w(e,!0,null,!0),this.#g.add(e)):!t&&this.#g.has(e)&&(this.#w(e,!1,null,!0),this.#g.delete(e))})};#f(e){let t=this.#h.get(e);if(t){let i=this.#p.get(e);t.unobserve(e),t.disconnect(),this.#h.delete(e),this.#p.delete(e);let n=e.getAttribute("exposure-id");null!=i&&n!==i&&this.#w(e,!1,i,!1)}this.#g.delete(e)}#y(e){let t=parseFloat(e.getAttribute("exposure-area")??"0")/100,i=r(e,e.getAttribute("exposure-screen-margin-top")),l=r(e,e.getAttribute("exposure-screen-margin-right")),o=r(e,e.getAttribute("exposure-screen-margin-bottom")),a=r(e,e.getAttribute("exposure-screen-margin-left")),s=r(e,e.getAttribute("exposure-ui-margin-top")),c=r(e,e.getAttribute("exposure-ui-margin-right")),d=r(e,e.getAttribute("exposure-ui-margin-bottom")),h=r(e,e.getAttribute("exposure-ui-margin-left")),p=e.parentElement;for(;p;)if(p[n.li]){p=p[n.li];break}else p=p.parentElement;let u=p??this.#a.rootDom.parentElement,x=new IntersectionObserver(this.#b,{rootMargin:`${(d?-1:1)*(i-d)}px ${(h?-1:1)*(l-h)}px ${(s?-1:1)*(o-s)}px ${(c?-1:1)*(a-c)}px`,root:u,threshold:t});x.observe(e),this.#h.set(e,x);let m=e.getAttribute("exposure-id");null!=m&&this.#p.set(e,m)}#w(e,t,i,n){i=i??e.getAttribute("exposure-id");let r=e.getAttribute("exposure-scene")??"",l={"unique-id":this.#a.mainThreadGlobalThis.__GetElementUniqueID(e),exposureID:i,exposureScene:r,"exposure-id":i,"exposure-scene":r};if(n){let i=new CustomEvent(t?"uiappear":"uidisappear",{bubbles:!1,composed:!1,cancelable:!0,detail:l});e.dispatchEvent(i)}let o=this.#a.mtsWasmBinding.generateTargetObject(e,this.#a.mainThreadGlobalThis.__GetDataset(e)??{}),a={dataset:o.dataset,...l,type:t?"exposure":"disexposure",target:o,currentTarget:o,detail:{...l,"unique-id":0},timestamp:Date.now()};t?this.#u.push(a):this.#x.push(a),this.#m||(this.#m=setTimeout(()=>{if(this.#u.length>0||this.#x.length>0){let e=this.#u,t=this.#x;this.#u=[],this.#x=[],e.length>0&&this.#a.backgroundThread?.sendGlobalEvent("exposure",[e]),t.length>0&&this.#a.backgroundThread?.sendGlobalEvent("disexposure",[t])}this.#m=null},50))}switchExposureService(e,t){e&&!this.#v?this.#g.forEach(e=>{this.#w(e,!0,e.getAttribute("exposure-id"),!1)}):!e&&this.#v&&t&&this.#g.forEach(e=>{this.#w(e,!1,e.getAttribute("exposure-id"),!1)}),this.#v=e}}},7867(e,t,i){i.d(t,{S:()=>l});var n=i(1180);let r=e=>`${e.locale}_${e.channel}_${e.fallback_url}`;class l{#E;#_;#T;constructor(e,t,i=[]){this.#E=e,this.#_=t,this.#T=i}updateData(e,t){this.#T=this.#T.concat(e);let i=e.find(e=>r(e.options)===r(t));this.#E.dispatchI18nResource(i?.resource)}_I18nResourceTranslation=e=>{let t=this.#T?.find(t=>r(t.options)===r(e));if(this.#E.dispatchI18nResource(t?.resource),t)return t.resource;this.#I(e)};#I(e){let t=new CustomEvent(n.hv,{detail:e,bubbles:!0,composed:!0});this.#_.dispatchEvent(t)}}},3764(e,t,i){i.a(e,async function(e,n){try{i.r(t),i.d(t,{LynxViewInstance:()=>b,systemInfo:()=>y});var r,l=i(1180),o=i(9531),a=i(7867),s=i(6466),c=i(42),d=i(5341),h=i(7300),p=i(6658),u=i(5037),x=i(951),m=e([o,d,h]);[o,d,h]=m.then?(await m)():m;let g=window.devicePixelRatio,v=window.screen.availWidth*g,f=window.screen.availHeight*g,y=Object.freeze({...l.RM,pixelRatio:g,pixelWidth:v,pixelHeight:f});r=Symbol.asyncDispose;class b{parentDom;initData;globalprops;templateUrl;rootDom;mtsRealm;mainThreadGlobalThis;mtsWasmBinding;backgroundThread;i18nManager;exposureServices;webElementsLoadingPromises=[];styleReadyPromise;styleReadyResolve;styleManager;#k=null;#C=new Map;#S;#A;#L;lepusCodeUrls=new Map;constructor(e,t,i,n,r,l,d,h={},p={},u){let x;this.parentDom=e,this.initData=t,this.globalprops=i,this.templateUrl=n,this.rootDom=r,this.mtsRealm=l,this.#A=h,this.#L=p;const m=new Promise(e=>{x=e});this.styleReadyPromise=m,this.styleReadyResolve=x,this.parentDom.style.display="none",this.mainThreadGlobalThis=l.globalWindow,this.backgroundThread=new o.D(d,this),this.i18nManager=new a.S(this.backgroundThread,this.rootDom,u),this.mtsWasmBinding=new s.p(this),this.exposureServices=new c._(this),this.backgroundThread.markTiming("create_lynx_start")}onPageConfigReady(e){if(this.#S)return;this.#S=e;let t="true"==e.enableCSSSelector,i="true"==e.defaultDisplayLinear,n="true"==e.defaultOverflowVisible;this.styleManager=new x.x(this.rootDom),Object.assign(this.mtsRealm.globalWindow,(0,d.b)(this.templateUrl,this.rootDom,this.mtsWasmBinding,t,i,n),(0,h.O)(this)),Object.defineProperty(this.mainThreadGlobalThis,"renderPage",{get:()=>this.#k,set:e=>{this.#k=e,this.onMTSScriptsExecuted()},configurable:!0,enumerable:!0})}onStyleInfoReady(e,t){this.styleManager?.pushStyleSheet(e,t===this.templateUrl?void 0:t),this.parentDom.style.display="flex",this.styleReadyResolve()}onMTSScriptsLoaded(e,t){this.backgroundThread.markTiming("lepus_execute_start");let i=p.Q.getTemplate(e)?.lepusCode;this.lepusCodeUrls.set(e,i),t||this.mtsRealm.loadScript(i.root)}async onMTSScriptsExecuted(){this.backgroundThread.markTiming("lepus_execute_end"),p.Q.getTemplate(this.templateUrl)?.elementTemplates||this.webElementsLoadingPromises.push((0,u.l)()),await Promise.all([...this.webElementsLoadingPromises,this.styleReadyPromise]),this.webElementsLoadingPromises.length=0,this.backgroundThread.markTiming("data_processor_start");let e=this.mainThreadGlobalThis.processData?this.mainThreadGlobalThis.processData?.(this.initData):this.initData;this.backgroundThread.markTiming("data_processor_end"),this.backgroundThread.startWebWorker(e,this.globalprops,p.Q.getTemplate(this.templateUrl).config.cardType,p.Q.getTemplate(this.templateUrl)?.customSections,this.#A,this.#L),this.#k?.(e),this.mainThreadGlobalThis.__FlushElementTree()}async onBTSScriptsLoaded(e){let t=p.Q.getTemplate(e)?.backgroundCode;await this.backgroundThread.updateBTSChunk(e,t),this.backgroundThread.startBTS()}loadWebElement(e){let t=(0,u.L)(e);t&&this.webElementsLoadingPromises.push(t)}loadUnknownElement(e){e.includes("-")&&!customElements.get(e)&&(this.rootDom.dispatchEvent(new CustomEvent(l.u9,{detail:{tagName:e}})),this.webElementsLoadingPromises.push(customElements.whenDefined(e).then(()=>{})))}queryComponent(e){if(this.#C.has(e))return this.#C.get(e);let t=p.Q.fetchBundle(e,Promise.resolve(this),{enableCSSSelector:this.#S.enableCSSSelector}).then(async()=>{let t=this.lepusCodeUrls.get(e),i=t?.root;if(!i)throw Error(`[lynx-web] Missing root URL for component: ${e}`);let n=await this.mtsRealm.loadScript(i);return n=this.mainThreadGlobalThis.processEvalResult?.(n,e)});return this.#C.set(e,t),t}async updateData(e,t){let i=this.mainThreadGlobalThis.processData?this.mainThreadGlobalThis.processData(e,t):e;this.mainThreadGlobalThis.updatePage?.(i,{processorName:t}),await this.backgroundThread.updateData(i,{processorName:t})}async updateGlobalProps(e){await this.backgroundThread.updateGlobalProps(e)}reportError(e,t,i){this.rootDom.dispatchEvent(new CustomEvent("error",{detail:{sourceMap:{offset:{line:2,col:0}},error:e,release:t,fileName:i},bubbles:!0,cancelable:!0,composed:!0}))}async [r](){await this.backgroundThread[Symbol.asyncDispose]()}}n()}catch(e){n(e)}})},951(e,t,i){i.d(t,{x:()=>o}),i(1180);var n=i(5834);let r=URL.createObjectURL(new Blob([n.A],{type:"text/css"})),l=`@import url("${r}");
|
|
2
|
-
`;class o{#O=new Map;#M;#z;#R;constructor(e){this.#R=e}updateCssOgStyle(e,t,i,n="__Card__"){let r=[...i],l=this.#O.get(n)?.query_css_og_declarations_by_css_id(t,r)??"";if(!this.#M){let e=document.createElement("style");this.#R.appendChild(e),this.#M=e.sheet}if(this.#M&&this.#O){this.#z||(this.#z=new Map);let t=this.#z.get(e);if(t)t.cssText=l;else{let t=this.#M.insertRule(`[l-uid="${e}"] {${l}}`,this.#M.cssRules.length),i=this.#M.cssRules[t];this.#z.set(e,i.style)}}}pushStyleSheet(e,t){let i=document.createElement("style"),n=t?"":l;if(e.style_content&&(n+=e.style_content,t&&i.setAttribute("name",t)),e.font_face_content){let i=document.createElement("style");i.textContent=e.font_face_content,t&&i.setAttribute("name",t),this.#R.parentElement.appendChild(i)}this.#O.set(t||"__Card__",e),i.textContent=n,this.#R.appendChild(i)}}},7300(e,t,i){i.a(e,async function(e,n){try{i.d(t,{O:()=>a});var r=i(6658),l=i(3764),o=e([l]);function a(e){let t,i,n,o,a,s,c="";return{__globalProps:e.globalprops,SystemInfo:l.systemInfo,lynx:(t=requestAnimationFrame,i=cancelAnimationFrame,n=setTimeout,o=clearTimeout,a=setInterval,s=clearInterval,{getJSContext:()=>e.backgroundThread.jsContext,requestAnimationFrame:e=>t(e),cancelAnimationFrame:e=>i(e),__globalProps:e.globalprops,getCustomSectionSync:t=>r.Q.getTemplate(e.templateUrl)?.customSections?.[t]?.content,markPipelineTiming:e.backgroundThread.markTiming.bind(e.backgroundThread),SystemInfo:l.systemInfo,setTimeout:n,clearTimeout:o,setInterval:a,clearInterval:s}),__OnLifecycleEvent:t=>{e.backgroundThread.jsContext.dispatchEvent({type:"__OnLifecycleEvent",data:t})},__LoadLepusChunk:t=>{try{return t=e.lepusCodeUrls.get(e.templateUrl)?.[t]??t,e.mtsRealm.loadScriptSync(t),!0}catch(e){return console.error(`failed to load lepus chunk ${t}`,e),!1}},_AddEventListener:()=>{},_ReportError:(t,i)=>{e.reportError?.(t,c,"lepus.js")},_SetSourceMapRelease:e=>c=e?.release,_I18nResourceTranslation:e.i18nManager._I18nResourceTranslation.bind(e.i18nManager),__QueryComponent:(t,i)=>(e.queryComponent(t).then(e=>{i?.({code:0,data:{url:t,evalResult:e}})}),null)}}l=(o.then?(await o)():o)[0],n()}catch(e){n(e)}})},9104(e,t,i){function n(e,t,i,n,r,l,o,a){let s,c=e.rootDom;if(l){let t=e.mtsWasmBinding.getElementByUniqueId(l);if(t)c=t;else{console.error(`[lynx-web] cannot find dom for root_unique_id: ${l}`),a?.(2);return}}else if(n){let t=e.mtsWasmBinding.getElementByComponentId(n);if(t)c=t;else{console.error(`[lynx-web] cannot find dom for component_id: ${n}`),a?.(2);return}}if(0===t)s=i;else if(2===t){let t=e.mtsWasmBinding.getElementByUniqueId(Number(i));return t?void o(t):(console.error(`[lynx-web] cannot find dom for unique_id: ${i}`),a?.(2),void 0)}else{console.error(`[lynx-web] NYI: setnativeprops type ${t}`),a?.(1);return}if(r){let e=null;try{e=c.querySelector(s)}catch(e){console.error(`[lynx-web] cannot use selector: ${s}`),a?.(5);return}e?o(e):(console.error(`[lynx-web] cannot find from for selector ${i} under`,c),a?.(2))}else c.querySelectorAll(s).forEach(e=>{o(e)})}i.d(t,{A:()=>n}),i(1180)},5885(e,t,i){i.d(t,{l:()=>l});var n=i(9104),r=i(7103);function l(e,t){e.registerHandler(r.ZU,(e,i,r,l,o)=>{let a,s=1;return(0,n.A)(t,e,i,r,l,o,e=>{try{let i=[],n=e;for(;n;){let e=n.parentElement,r=e??t.rootDom,l=Array.from(r.children),o=t.mainThreadGlobalThis.__GetTag(n),a="page"===o?0:l.indexOf(n),s=n.getAttribute("id")||void 0,c=n.getAttribute("class")||void 0,d=t.mainThreadGlobalThis.__GetDataset(n);if(i.push({tag:o,id:s,class:c,dataSet:d,index:a}),"page"===o||n.parentNode===t.rootDom)break;n=e}a={path:i},s=0}catch(t){console.error("[lynx-web] getPathInfo: failed with",t,e),s=1}},e=>{s=e}),{code:s,data:a}})}i(1180)},447(e,t,i){i.d(t,{l:()=>o});var n=i(9104);i(1180);var r=i(7103);let l={boundingClientRect:e=>{let t=e.getBoundingClientRect();return{id:e.id,width:t.width,height:t.height,left:t.left,right:t.right,top:t.top,bottom:t.bottom}}};function o(e,t){e.registerHandler(r.zk,(e,i,r,o,a,s)=>{let c,d=1;return(0,n.A)(t,e,i,r,!0,s,e=>{try{let t=l[o],i="function"==typeof e[o];t||i?(c=t?t(e,a):e[o](a),d=0):d=3}catch(t){console.error("[lynx-web] invokeUIMethod: apply method failed with",t,e),d=4}},e=>{d=e}),{code:d,data:c}})}},6173(e,t,i){i.d(t,{v:()=>r});var n=i(7103);function r(e,t){let i=e.createCall(n.Sy);e.registerHandler(n.VK,(e,n,r)=>t.parentDom.onNapiModulesCall?.(e,n,r,i))}},2580(e,t,i){i.d(t,{U:()=>r});var n=i(7103);function r(e,t){e.registerHandler(n.g,(e,i,n)=>t.parentDom.onNativeModulesCall?.(e,i,n))}},4333(e,t,i){i.d(t,{p:()=>r});var n=i(7103);function r(e,t){e.registerHandler(n.F0,()=>{t.parentDom.reload()})}},1617(e,t,i){i.d(t,{t:()=>l});var n=i(9104),r=i(7103);function l(e,t){e.registerHandler(r.vr,(e,i,r)=>{let l=null;return((0,n.A)(t,0,i,"card"===e?"0":e,r,void 0,e=>{l=e}),l)?[t.mainThreadGlobalThis.__GetComponentID(l)]:[]})}i(1180)},3603(e,t,i){i.d(t,{r:()=>l});var n=i(9104),r=i(7103);function l(e,t){e.registerHandler(r.PC,(e,i,r,l,o,a)=>{(0,n.A)(t,e,i,r,l,a,e=>{var t=e;for(let e in o){let i=o[e];"text"===e&&t?.tagName==="X-TEXT"&&t.firstElementChild&&"RAW-TEXT"==t.firstElementChild.tagName&&(t=t.firstElementChild),CSS.supports(e,i)&&t.style?t.style.setProperty(e,i):t.setAttribute(e,i)}})})}},1311(e,t,i){i.d(t,{J:()=>r});var n=i(7103);function r(e,t){e.registerHandler(n.pT,(e,i)=>{let n=t.mtsWasmBinding.getElementByComponentId(e);n?.dispatchEvent(new CustomEvent(e,{...i.eventOption,detail:i.eventDetail}))})}},2698(e,t,i){i.d(t,{M:()=>r});var n=i(7103);function r(e,t){let i=new Map;e.registerHandler(n.vn,(e,n,r)=>{if("animate"===e)switch(r.operation){case 0:i.set(r.id,t.rootDom.querySelector(n)?.animate(r.keyframes,r.timingOptions));break;case 1:i.get(r.id)?.play();break;case 2:i.get(r.id)?.pause();break;case 3:i.get(r.id)?.cancel(),i.delete(r.id);break;case 4:i.get(r.id)?.finish(),i.delete(r.id)}})}i(1180)},6466(e,t,i){i.d(t,{p:()=>o});var n=i(1180);function r(e){let t={};for(let i in e){let n=e[i];("boolean"==typeof n||"number"==typeof n||"string"==typeof n||null===n)&&(t[i]=n)}return t}var l=i(4646);class o{lynxViewInstance;wasmContext;uniqueIdToElement=[void 0];toBeEnabledElement=new Set;toBeDisabledElement=new Set;constructor(e){this.lynxViewInstance=e,this.loadInternalWebElement=this.lynxViewInstance.loadWebElement.bind(this.lynxViewInstance),this.loadUnknownElement=this.lynxViewInstance.loadUnknownElement.bind(this.lynxViewInstance)}markExposureRelatedElementByUniqueId(e,t){let i=this.uniqueIdToElement[e];i&&(t?(this.toBeDisabledElement.delete(i),this.toBeEnabledElement.add(i)):(this.toBeEnabledElement.delete(i),this.toBeDisabledElement.add(i)))}loadInternalWebElement;loadUnknownElement;generateTargetObject(e,t){let i=e[n.Fd];return{dataset:Object.assign(Object.create(null),t),id:e.id||null,uniqueId:i}}getElementByUniqueId(e){return this.uniqueIdToElement[e]}getElementByComponentId(e){let t=this.wasmContext?.__wasm_get_unique_id_by_component_id(e);if(void 0!=t)return this.getElementByUniqueId(t)}runWorklet(e,t,i,n,r,l){let o=this.getElementByUniqueId(i),a=this.getElementByUniqueId(r);t.target=this.generateTargetObject(o,n),t.currentTarget=this.generateTargetObject(a,l),t.target.elementRefptr=o,t.currentTarget.elementRefptr=a,this.lynxViewInstance.mainThreadGlobalThis.runWorklet?.(e.value,[t])}publishEvent(e,t,i,n,r,l,o){let a=this.getElementByUniqueId(n),s=this.getElementByUniqueId(l);i.target=this.generateTargetObject(a,r),i.currentTarget=this.generateTargetObject(s,o),t?this.lynxViewInstance?.backgroundThread.publicComponentEvent(t,e,i):this.lynxViewInstance.backgroundThread.publishEvent(e,i)}#N=e=>{let t=e.target,i=new Uint32Array(32),o=0,a=t;for(;a&&a!==this.lynxViewInstance.rootDom;){let e=(0,l.Tj)(a);if(i[o++]=e,o>=i.length){let e=new Uint32Array(2*i.length);e.set(i),i=e}a=a.parentElement}let s=function(e){let t=e.type,i={},l=e.isTrusted,o={},a=e.detail??{};if(t.match(/^transition/))Object.assign(i,{animation_type:"keyframe-animation",animation_name:e.propertyName,new_animator:!0});else if(t.match(/animation/))Object.assign(i,{animation_type:"keyframe-animation",animation_name:e.animationName,new_animator:!0});else if(t.startsWith("touch")){let t=[...e.touches],i=[...e.targetTouches],n=[...e.changedTouches];Object.assign(o,{touches:l?t.map(r):t,targetTouches:l?i.map(r):i,changedTouches:l?n.map(r):n})}else t.startsWith("mouse")?Object.assign(o,{button:e.button,buttons:e.buttons,x:e.x,y:e.y,pageX:e.pageX,pageY:e.pageY,clientX:e.clientX,clientY:e.clientY}):"click"===t&&(a={x:e.x,y:e.y});return{type:n.$4[t]??t,timestamp:e.timeStamp,detail:a,params:i,...o}}(e);this.wasmContext?.__wasm_commonEventHandler(s,i.slice(0,o),s.type)};addEventListener(e){this.lynxViewInstance.rootDom.addEventListener(n.im[e]??e,this.#N,{passive:!0,capture:!0})}postTimingFlags(e,t){this.lynxViewInstance.backgroundThread.postTimingFlags(e,t)}updateExposureStatus(e,t){this.lynxViewInstance.exposureServices.updateExposureStatus(e,t)}enableElementEvent(e,t){let i=this.getElementByUniqueId(e);i&&i.enableEvent?.(n.im[t]??t)}disableElementEvent(e,t){let i=this.getElementByUniqueId(e);i&&i.disableEvent?.(n.im[t]??t)}}},5341(e,t,i){i.a(e,async function(e,n){try{i.d(t,{b:()=>d});var r=i(9521),l=i(6658),o=i(1180),a=i(4646),s=i(5591),c=e([r]);function d(e,t,i,n,c,d){let h,p=new r.wasmInstance.MainThreadWasmContext(document,t,i,o.Fd,n);i.wasmContext=p;let u=[],x=i.uniqueIdToElement,m=(e,t,r)=>{let l=e.map(e=>(r?e.setAttribute(o.Pb,r):e.removeAttribute(o.Pb),t?e.setAttribute(o.js,t.toString()):e.removeAttribute(o.js),e[o.Fd]));if(null!==t)for(let a of(p.__wasm_set_css_id(new Uint32Array(l),t),e)){let e=a[o.Fd];n||i.lynxViewInstance.styleManager.updateCssOgStyle(e,t,a.classList,r)}},g=(e,t,n,r)=>{let l=e[o.Fd];"string"==typeof r?p.__wasm_add_event_bts(l,t,n,r):null==r?(p.__wasm_add_event_bts(l,t,n,void 0),p.__wasm_add_event_run_worklet(l,t,n,void 0)):"object"==typeof r&&p.__wasm_add_event_run_worklet(l,t,n,r),("uiappear"===n||"uidisappear"===n)&&i.markExposureRelatedElementByUniqueId(l,null!=r)};return{__CreateView(e){let t=document.createElement("x-view");return t[o.Fd]=p.__CreateElementCommon(e,t),x[t[o.Fd]]=t,t},__CreateText(e){let t=document.createElement("x-text");return t[o.Fd]=p.__CreateElementCommon(e,t),x[t[o.Fd]]=t,t},__CreateImage(e){let t=document.createElement("x-image");return t[o.Fd]=p.__CreateElementCommon(e,t),x[t[o.Fd]]=t,t},__CreateRawText(e){let t=document.createElement("raw-text");return t.setAttribute("text",e),t[o.Fd]=p.__CreateElementCommon(-1,t),x[t[o.Fd]]=t,t},__CreateScrollView(e){let t=document.createElement("scroll-view");return t[o.Fd]=p.__CreateElementCommon(e,t),x[t[o.Fd]]=t,t},__CreateElement(e,t){let i=document.createElement(o.H1[e]??e);return i[o.Fd]=p.__CreateElementCommon(t,i),x[i[o.Fd]]=i,i},__CreateComponent(e,t,i,n,r){let l=document.createElement("x-view");return l[o.Fd]=p.__CreateElementCommon(e,l,i,t),n&&l.setAttribute(o.Pb,n),r&&l.setAttribute("name",r),x[l[o.Fd]]=l,l},__CreateWrapperElement(e){let t=document.createElement("lynx-wrapper");return t[o.Fd]=p.__CreateElementCommon(e,t),x[t[o.Fd]]=t,t},__CreateList(e,t,i){let n=document.createElement("x-list");return n.componentAtIndex=t,n.enqueueComponent=i,n[o.Fd]=p.__CreateElementCommon(e,n),x[n[o.Fd]]=n,n},__CreatePage(e,t){if(h)return h;let i=document.createElement("div");return i[o.Fd]=p.__CreateElementCommon(0,i,t,e),d&&i.setAttribute(o.f7,"true"),c||i.setAttribute(o.Gm,"false"),i.setAttribute("part","page"),h=i,x[i[o.Fd]]=i,i},__ElementFromBinary(t,i){let n=p._wasm_elementFromBinary(i,e,t,l.Q.getTemplate(e).elementTemplates);return(0,a.uY)(n),n},__SetClasses:n?a.R5:(e,t)=>{(0,a.R5)(e,t);let n=e[o.Fd];i.lynxViewInstance.styleManager.updateCssOgStyle(n,p.__wasm_get_css_id_by_unique_id(n),e.classList,e.getAttribute(o.Pb)||void 0)},__SetCSSId:m,__AddInlineStyle:(e,t,i)=>("string"!=typeof i&&(i=i.toString()),"number"==typeof t)?p.__wasm_AddInlineStyle_number_key(e,t,i):p.__wasm_AddInlineStyle_str_key(e,t.toString(),i),__SetInlineStyles:(e,t)=>{if(t){let i="string"==typeof t?t:Object.entries(t).map(([e,t])=>`${(0,s.A)(e)}: ${t};`).join();p.__wasm_SetInlineStyles(e,i)||e.setAttribute("style",i)}else e.removeAttribute("style")},__AddConfig:(e,t,i)=>{let n=e[o.Fd];p.__GetConfig(n)[t]=i},__UpdateComponentInfo:(e,t)=>{let i=e[o.Fd],{componentID:n,cssID:r,entry:l,name:a}=t;a?e.setAttribute("name",a):e.removeAttribute("name"),p.__UpdateComponentID(i,n),void 0!==r&&m([e],r,l)},__UpdateComponentID:(e,t)=>{let i=e[o.Fd];p.__UpdateComponentID(i,t)},__GetConfig:e=>{let t=e[o.Fd];return p.__GetConfig(t)},__SetConfig:(e,t)=>{let i=e[o.Fd];p.__SetConfig(i,t)},__GetElementConfig:e=>{let t=e[o.Fd];return p.__GetElementConfig(t)},__GetComponentID:e=>{let t=e[o.Fd];return p.__GetComponentID(t)},__SetDataset:(e,t)=>{let i=e[o.Fd];p.__SetDataset(i,e,t)},__AddDataset:(e,t,i)=>{let n=e[o.Fd];i?e.setAttribute(`data-${t}`,"object"==typeof i?JSON.stringify(i):i.toString()):e.removeAttribute(`data-${t}`),p.__AddDataset(n,t,i)},__GetDataset:e=>{let t=e[o.Fd];return Object.assign(Object.create(null),p.__GetDataset(t))},__GetDataByKey:(e,t)=>{let i=e[o.Fd];return p.__GetDataByKey(i,t)},__SetAttribute(e,t,n){if("update-list-info"===t){let{insertAction:t,removeAction:i}=n;queueMicrotask(()=>{let n=e.componentAtIndex,r=e.enqueueComponent,l=(0,a.Tj)(e);for(let i of t)n?.(e,l,i.position,0,!1);for(let t of i)r?.(e,l,t.position)})}else if(null==n?e.removeAttribute(t):e.setAttribute(t,n.toString()),"exposure-id"===t)if(null!=n){let t=e[o.Fd];i.markExposureRelatedElementByUniqueId(t,!0)}else{let t=e[o.Fd];i.markExposureRelatedElementByUniqueId(t,!1)}else t===o.xW&&u.push(String(n))},__AddEvent:g,__GetEvent:(e,t,i)=>{let n=e[o.Fd];return p.__GetEvent(n,t,i)},__GetEvents:e=>{let t=e[o.Fd];return p.__GetEvents(t)},__SetEvents:(e,t)=>{for(let i of t)g(e,i.type,i.name,i.function)},__GetPageElement:()=>h,__AppendElement:a.vh,__ElementIsEqual:a.pn,__FirstElement:a.vH,__GetChildren:a.yj,__GetParent:a.d6,__InsertElementBefore:a.pi,__LastElement:a.Nu,__NextElement:a.cw,__RemoveElement:a.z3,__ReplaceElement:a.Xk,__GetAttributes:a.GE,__GetAttributeByName:a.li,__ReplaceElements:a.yE,__GetID:a.cb,__SetID:a.wr,__GetTag:a.zm,__AddClass:a.gA,__GetClasses:a.Tq,__MarkTemplateElement:a.uY,__MarkPartElement:a.ZW,__GetTemplateParts:a.$G,__GetElementUniqueID:a.Tj,__UpdateListCallbacks:a.YW,__SwapElement:a.cJ,__FlushElementTree:(e,n)=>{let r=n?.pipelineOptions?.pipelineID,l=i.lynxViewInstance.backgroundThread;h&&!h.parentNode&&""!==h.getAttribute(o.JA)&&(l.markTiming("dispatch_start",r),l.jsContext.dispatchEvent({type:"__OnNativeAppReady",data:void 0}),l.markTiming("layout_start",r),l.markTiming("ui_operation_flush_start",r),t.appendChild(h),t.host.style.display="flex",l.markTiming("ui_operation_flush_end",r),l.markTiming("layout_end",r),l.markTiming("dispatch_end",r),l.flushTimingInfo());let a=u.concat(p.__wasm_take_timing_flags());requestAnimationFrame(()=>{i.postTimingFlags(a,r)}),u.length=0;let s=[...i.toBeEnabledElement];i.toBeEnabledElement.clear();let c=[...i.toBeDisabledElement];i.toBeDisabledElement.clear(),i?.updateExposureStatus(s,c)}}}r=(c.then?(await c)():c)[0],n()}catch(e){n(e)}})},4646(e,t,i){i.d(t,{$G:()=>T,GE:()=>m,Nu:()=>d,R5:()=>E,Tj:()=>C,Tq:()=>b,Xk:()=>u,YW:()=>S,ZW:()=>k,cJ:()=>w,cb:()=>v,cw:()=>h,d6:()=>s,gA:()=>_,li:()=>g,pi:()=>c,pn:()=>l,uY:()=>I,vH:()=>o,vh:()=>r,wr:()=>f,yE:()=>x,yj:()=>a,z3:()=>p,zm:()=>y});var n=i(1180);let r=(e,t)=>e.appendChild(t),l=(e,t)=>e===t,o=e=>e.firstElementChild,a=e=>e.children?[...e.children]:null,s=e=>e.parentElement,c=(e,t,i)=>e.insertBefore(t,i),d=e=>e.lastElementChild,h=e=>e.nextElementSibling,p=(e,t)=>e.removeChild(t),u=(e,t)=>t.replaceWith(e),x=(e,t,i)=>{if(t=Array.isArray(t)?t:[t],!i||Array.isArray(i)&&i?.length===0)e.append(...t);else{i=Array.isArray(i)?i:[i];for(let t=1;t<i.length;t++)p(e,i[t]);i[0].replaceWith(...t)}},m=e=>Object.fromEntries(e.getAttributeNames().map(t=>[t,e.getAttribute(t)]).filter(([,e])=>e)),g=(e,t)=>e.getAttribute(t),v=e=>e.getAttribute("id"),f=(e,t)=>t?e.setAttribute("id",t):e.removeAttribute("id"),y=e=>{let t=e.tagName.toLowerCase();return n.vh[t]??t},b=e=>[...e.classList],w=(e,t)=>{let i=document.createElement("div");e.replaceWith(i),t.replaceWith(e),i.replaceWith(t)},E=(e,t)=>{t?e.setAttribute("class",t):e.removeAttribute("class")},_=(e,t)=>{e.classList.add(t)},T=e=>{if(null===e.getAttribute(n.y))return{};let t=C(e),i={};for(let r of e.querySelectorAll(`[${n.oZ}]:not([${n.y}="${t}"] [${n.y}] [${n.oZ}])`)){let e=r.getAttribute(n.oZ);e&&(i[e]=r)}return i},I=e=>{let t=C(e);e.setAttribute(n.y,t.toString())},k=(e,t)=>{e.setAttribute(n.oZ,t)},C=e=>(e&&e[n.Fd])??-1,S=(e,t,i)=>{e.componentAtIndex=t,e.enqueueComponent=i}},5037(e,t,i){let n,r,l,o,a,s,c,d,h,p,u,x;i.d(t,{l:()=>tb,L:()=>ty});var m,g,v,f,y,b,w,E,_,T,I,k,C,S,A,L,O,M,z,R,N,D,F,H,j,B,P,U,G,W,V,$,q,X,Z,Y,J,Q,K,ee,et,ei,en,er,el,eo,ea,es,ec,ed,eh,ep,eu,ex,em,eg,ev,ef,ey,eb,ew,eE,e_,eT,eI,ek,eC,eS,eA,eL,eO,eM,ez,eR,eN,eD,eF,eH,ej,eB,eP,eU,eG,eW,eV,e$,eq,eX,eZ,eY=i(9698),eJ=i(167);class eQ{static eventName="__scrollIntoView";static observedAttributes=[];#D;#F=e=>{e.stopPropagation();let t=e.composedPath().filter(e=>e instanceof HTMLElement),i=[],n=this.#D;for(let e of t){if(e===n)break;i.push(e)}let r=this.#D.getAttribute("scroll-orientation"),l=null!==this.#D.getAttribute("scroll-x")||"both"===r||"horizontal"===r,o=null!==this.#D.getAttribute("scroll-y")||"both"===r||"vertical"===r,a=0,s=0;for(let{offsetTop:e,offsetLeft:t}of i)l&&(s+=t),o&&(a+=e);if(l)switch(e.detail.inline){case"center":s+=(e.target.clientWidth-this.#D.clientWidth)/2;break;case"end":s+=e.target.clientWidth-this.#D.clientWidth}if(o)switch(e.detail.block){case"center":a+=(e.target.clientHeight-this.#D.clientHeight)/2;break;case"end":a+=e.target.clientHeight-this.#D.clientHeight}n.scrollTo({behavior:"smooth"===e.detail.behavior?"smooth":"instant",left:s,top:a})};constructor(e){this.#D=e,this.#D.addEventListener(eQ.eventName,this.#F,{passive:!1})}dispose(){this.#D.removeEventListener(eQ.eventName,this.#F)}}var eK=i(1916),e0=i(6181);m=(0,eJ.uA)("x-view",[e0.T,eK.O]);class e1 extends(v=HTMLElement){static #H={c:[n,g]}=(0,eY._)(this,[],[m],v);superScrollIntoView(e){super.scrollIntoView(e)}scrollIntoView(e){"object"==typeof e&&e.scrollIntoViewOptions?this.dispatchEvent(new CustomEvent(eQ.eventName,{bubbles:!0,composed:!0,detail:e.scrollIntoViewOptions})):super.scrollIntoView(e)}[eK.v]=this;static #j=g()}f=(0,eJ._y)("blur-radius",!0);class e2{static #H={e:[y]}=(0,eY._)(this,[[f,2,"_handleBlurRadius"]],[]);static observedAttributes=["blur-radius"];#D;#B=(y(this),(0,eJ.Ut)(()=>this.#D.shadowRoot,"#dynamic-style"));_handleBlurRadius(e){e?(e=`blur(${parseFloat(e)}px)`,this.#B().innerHTML=`:host { backdrop-filter: ${e}; -webkit-backdrop-filter: ${e}}`):this.#B().innerHTML=""}constructor(e){this.#D=e}}b=(0,eJ.uA)("x-blur-view",[eK.O,e2],'<style id="dynamic-style"></style><slot></slot>');class e3 extends(E=HTMLElement){static #H={c:[r,w]}=(0,eY._)(this,[],[b],E);static #j=w()}var e4=i(3303);_=(0,eJ._y)("src",!0);class e5{static #H={e:[T]}=(0,eY._)(this,[[_,2,"_handleSrc"]],[]);static observedAttributes=["src"];#D;constructor(e){this.#D=e}#P=(T(this),(0,eJ.Ut)(()=>this.#D.shadowRoot,"#img"));_handleSrc(e){e?this.#P().setAttribute("src",e):this.#P().removeAttribute("src")}}I=(0,eJ.uA)("inline-image",[e5],(0,e4.$)({}));class e8 extends(C=HTMLElement){static #H={c:[l,k]}=(0,eY._)(this,[],[I],C);static #j=k()}S=(0,eJ.uA)("inline-text",[]);class e6 extends(L=HTMLElement){static #H={c:[o,A]}=(0,eY._)(this,[],[S],L);static #j=A()}var e7=i(4833);O=(0,eJ.uA)("inline-truncation",[]),new class extends e7._{constructor(){super(a),M()}static #H=(()=>{class e extends(z=HTMLElement){static #H={c:[a,M]}=(0,eY._)(this,[],[O],z);static XEnableCustomTruncation="x-text-custom-overflow";connectedCallback(){CSS.supports("selector(:has(inline-truncation))")||this.parentElement?.tagName!=="X-TEXT"||this.matches("inline-truncation ~ inline-truncation")||this.parentElement.setAttribute(e.XEnableCustomTruncation,""),this.setAttribute("slot","inline-truncation")}disconnectedCallback(){this.parentElement?.removeAttribute(e.XEnableCustomTruncation)}}})()},R=(0,eJ._y)("text",!0);class e9{static #H={e:[N]}=(0,eY._)(this,[[R,2,"_handleText"]],[]);static observedAttributes=["text"];#D;#U;constructor(e){N(this),this.#D=e}_handleText(e){this.#U?.remove(),e&&(this.#U=new Text(e),this.#D.append(this.#U))}}D=(0,eJ.uA)("raw-text",[e9]);class te extends(H=HTMLElement){static #H={c:[s,F]}=(0,eY._)(this,[],[D],H);static #j=F()}var tt=i(2032);j=(0,eJ._y)("text-maxlength",!0),B=(0,eJ._y)("text-maxline",!0),P=(0,eJ._y)("tail-color-convert",!0),U=(0,eJ.ZR)("layout");class ti{static #H={e:[G]}=(0,eY._)(this,[[[j,B,P],2,"_handleAttributeChange"],[U,2,"_handleEnableLayoutEvent"]],[]);static exceedMathLengthAttribute="x-text-clipped";static showInlineTruncation="x-show-inline-truncation";static observedAttributes=["text-maxlength","text-maxline","tail-color-convert"];#G=(G(this),!1);#W=!1;#V=new Map;#$;#q;#X;#Z;#Y=!1;#J=NaN;#Q=NaN;#K=!0;#ee=!1;get #et(){return!this.#ei&&!this.#K}get #ei(){if(CSS.supports("selector(:has(inline-truncation))"))return this.#D.matches(":has(inline-truncation)");{let e=this.#D.querySelector("inline-truncation");if(e?.parentElement===this.#D)return!0}return!1}get #en(){return!isNaN(this.#Q)&&(this.#ei||!this.#K)}#D;constructor(e){this.#D=e}#er=(0,eJ.Ut)(()=>this.#D.shadowRoot,"#inner-box");#el(e){e.forEach(e=>{e.removedNodes.forEach(e=>{this.#V.delete(e)}),"characterData"===e.type&&void 0!==this.#V.get(e.target)&&this.#V.set(e.target,e.target.data)})}#eo(){for(let[e,t]of this.#V)e.nodeType===Node.TEXT_NODE?void 0!==t&&(e.data=t):e.removeAttribute(ti.exceedMathLengthAttribute);this.#D.removeAttribute(ti.exceedMathLengthAttribute),this.#D.removeAttribute(ti.showInlineTruncation)}#ea(e){let t=[],i=e;for(;i=i.nextSibling;)(i.nodeType===Node.TEXT_NODE||i.nodeType===Node.ELEMENT_NODE)&&t.push(i);return t}#es(){!this.#W||this.#D.matches("x-text>x-text")||this.#G||(this.#G=!0,(0,eJ.JS)(async()=>{await this.#ec(),this.#ed(),this.#G=!1}))}async #ec(){if(this.#X?.parentElement?.removeChild(this.#X),this.#eo(),!this.#en&&isNaN(this.#J))return;await document.fonts.ready;let e=this.#er().getBoundingClientRect();this.#Z=new tn(this.#D,e);let t=this.#Z,i=(isNaN(this.#J)?void 0:t.getNodeInfoByCharIndex(this.#J))?this.#J:1/0,n=this.#en&&t.getLineInfo(this.#Q)?t.getLineInfo(this.#Q-1):void 0,r=1/0,l=3;if(n){let{start:i,end:o}=n,a=o-i;if(this.#ei){this.#D.setAttribute(ti.showInlineTruncation,"");let n=this.#D.querySelector("inline-truncation").getBoundingClientRect(),l=e.width,a=n.width;if(l>a){r=o-1;let e=document.createRange(),i=t.getNodeInfoByCharIndex(r),n=o-i.start;for(e.setEnd(i.node,n),e.setStart(i.node,n);e.getBoundingClientRect().width<a&&(r-=1)&&(i=t.getNodeInfoByCharIndex(r));)e.setStart(i.node,r-i.start)}else r=i,this.#D.removeAttribute(ti.showInlineTruncation)}else a<3?(l=a,r=i):r=o-3}let o=Math.min(i,r);if(o<1/0){let e=t.getNodeInfoByCharIndex(o);if(e){let i=o-e.start,n=e.node,r=[];n.nodeType===Node.TEXT_NODE?(this.#V.set(n,n.data),n.data=n.data.substring(0,i)):r.push(n),r=r.concat(this.#ea(n));let a=n.parentElement;for(;a!==this.#D;)r=r.concat(this.#ea(a)),a=a.parentElement;if(r.forEach(e=>{e.nodeType===Node.TEXT_NODE&&0!==e.data.length?(this.#V.set(e,e.data),e.data=""):e.nodeType===Node.ELEMENT_NODE&&(this.#V.set(e,""),e.setAttribute(ti.exceedMathLengthAttribute,""))}),this.#et){let r=(0===i?t.nodelist.at(e.nodeIndex-1)?.parentElement:n.parentElement)??n.parentElement;this.#X=new Text(Array(l).fill(".").join("")),r.append(this.#X)}this.#D.setAttribute(ti.exceedMathLengthAttribute,"")}this.#eh(o)}}#ep=e=>{this.#el(e),this.#es()};#eu=()=>{if(this.#Y){this.#Y=!1;return}this.#es()};#ed(){this.#W&&((this.#J||this.#Q)&&!this.#$&&(this.#$=new MutationObserver(this.#ep),this.#$.observe(this.#D,{subtree:!0,childList:!0,attributes:!1,characterData:!0})),this.#Q&&!this.#q&&(this.#q=new ResizeObserver(this.#eu),this.#Y=!0,this.#q.observe(this.#er(),{box:"content-box"})))}#ex(){this.#$?.disconnect(),this.#$=void 0,this.#q?.disconnect(),this.#q=void 0}_handleAttributeChange(){this.#J=parseFloat(this.#D.getAttribute("text-maxlength")??""),this.#Q=parseFloat(this.#D.getAttribute("text-maxline")??""),this.#K="false"!==this.#D.getAttribute("tail-color-convert"),this.#J<0&&(this.#J=NaN),this.#Q<1&&(this.#Q=NaN),isNaN(this.#Q)?this.#er().style.removeProperty("-webkit-line-clamp"):this.#er().style.webkitLineClamp=this.#Q.toString(),this.#es()}_handleEnableLayoutEvent(e){this.#ee=e}#eh(e){if(!this.#ee)return;let t=new Proxy(this,{get:(t,i)=>"lineCount"===i?(t.#Z||(t.#Z=new tn(t.#D,t.#D.getBoundingClientRect())),t.#Z.getLineCount()):"lines"===i?new Proxy(t,{get(t,i){let n=parseFloat(i.toString());if(!isNaN(n)){t.#Z||(t.#Z=new tn(t.#D,t.#D.getBoundingClientRect()));let i=t.#Z.getLineInfo(n);if(i)return new Proxy(i,{get(t,i){switch(i){case"start":case"end":return t[i];case"ellipsisCount":if(void 0!==e&&e>=t.start&&e<t.end)return t.end-e;return 0}}})}}}):void 0});this.#D.dispatchEvent(new CustomEvent("layout",{...tt.$,detail:t}))}dispose(){this.#ex()}connectedCallback(){this.#W=!0,this._handleEnableLayoutEvent(this.#ee),this._handleAttributeChange(),(0,eJ.JS)(()=>{this.#eh()})}}class tn{#em=[{start:0}];#eg=[];#ev=[];#D;#ef;nodelist;constructor(e,t){this.#D=e,this.nodelist=new tr(this.#D),this.#ef=t}#ey(e){if(e.node.nodeType!==Node.TEXT_NODE)return 1;{let{rect:t,rectIndex:i}=e,n=e.node,r=document.createRange();r.selectNode(n);for(let e=0;e<n.data.length;e++){r.setEnd(n,e);let l=r.getClientRects().item(i);if(l&&l.right===t.right)return e}return n.data.length}}#eb(e){if(this.#eg[e])return;let{left:t}=this.#ef,i=this.#eg[this.#eg.length-1],n=i?.[i.length-1],r=n?.nodeIndex?n?.nodeIndex+1:0;for(let i=r,n;(n=this.#ew(i))&&e>=this.#eg.length;i++){let e,{node:i}=n;if(i.nodeType===Node.ELEMENT_NODE)e=i.getClientRects();else{let t=document.createRange();t.selectNode(i),e=t.getClientRects()}if(e.length>0){let i=this.#eg[this.#eg.length-1],r=e[0];if(.2>Math.abs(r.left-t)||!i?this.#eg.push([{...n,rect:r,rectIndex:0}]):i.push({...n,rect:r,rectIndex:0}),e.length>1)for(let i=1;i<e.length;i++){let l=e[i];(l.left!==r.left||l.bottom!==r.bottom)&&(.2>Math.abs(l.left-t)?this.#eg.push([{...n,rect:l,rectIndex:i}]):this.#eg[this.#eg.length-1].push({...n,rect:l,rectIndex:i}))}}}}getLineCount(){return this.#eb(1/0),this.#eg.length}getLineInfo(e){if(this.#eb(e+1),e<this.#eg.length){let t=e>0?this.#em[e-1]??{}:void 0,i=this.#em[e]??{},n=e<this.#eg.length-1?this.#em[e+1]??{}:void 0;if(void 0===i.start){let n=this.#eg[e-1],r=n[n.length-1],l=this.#ey(r),o=r.start+l;t&&(t.end=o),i.start=o+1}if(void 0===i.end){let t=this.#eg[e],r=t[t.length-1];if(e===this.#eg.length-1){let e=r.node.nodeType===Node.TEXT_NODE?r.node.data.length:1;i.end=r.start+e}else{let e=this.#ey(r);i.end=r.start+e,n.start=i.end+1}}return i}}#ew(e){let t=this.#ev.length-1,i=this.#ev[t],n=i?i.start+i.length:0;for(let t=this.#ev.length,i;(i=this.nodelist.at(t))&&e>=this.#ev.length;t++){let e=i.nodeType===Node.ELEMENT_NODE?1:i.data.length,r={node:i,length:e,start:n,nodeIndex:t};this.#ev.push(r)}return this.#ev[e]}getNodeInfoByCharIndex(e){let t,i=0,n=this.#ev.length-1;for(;i<=n;){let r=Math.floor((i+n)/2),l=this.#ev[r],o=l.node,a=o.nodeType===Node.TEXT_NODE?o.data.length:1,s=l.start;if(e>=s&&e<s+a){t=l;break}e<s?n=r-1:i=r+1}if(t)return t;for(let t=this.#ev.length,i;i=this.#ew(t);t++)if(e<i.start+i.length)return i}}class tr{#eE=[];#e_;constructor(e){this.#e_=document.createTreeWalker(e,NodeFilter.SHOW_TEXT|NodeFilter.SHOW_ELEMENT,e=>{if(e.nodeType===Node.ELEMENT_NODE){let t=e.tagName;if("X-TEXT"===t||"INLINE-TEXT"===t||"RAW-TEXT"===t||"LYNX-WRAPPER"===t)return NodeFilter.FILTER_SKIP}return NodeFilter.FILTER_ACCEPT})}at(e){return this.#eE[e]||this.#eT(e),this.#eE[e]}#eT(e){let t=null;for(;e>=this.#eE.length&&(t=this.#e_.nextNode());){this.#eE.push(t);break}}}W=(0,eJ.uA)("x-text",[eK.O,ti,e9],e4.sk),new class extends e7._{constructor(){super(c),V()}static #H=(()=>{class e extends($=HTMLElement){static #H={c:[c,V]}=(0,eY._)(this,[],[W],$);static notToFilterFalseAttributes=new Set(["tail-color-convert"]);superScrollIntoView(e){super.scrollIntoView(e)}scrollIntoView(e){"object"==typeof e&&e.scrollIntoViewOptions?this.dispatchEvent(new CustomEvent(eQ.eventName,{bubbles:!0,composed:!0,detail:e.scrollIntoViewOptions})):super.scrollIntoView(e)}[eK.v]=this}})()},q=(0,eJ._y)("drop-shadow",!0);class tl{static #H={e:[X]}=(0,eY._)(this,[[q,0,"_handleBlurRadius"]],[]);static observedAttributes=["drop-shadow"];#D;#eI=(0,eJ.Ut)(()=>this.#D.shadowRoot,"#img");_handleBlurRadius=X(this,(0,eJ._8)(this.#eI,"--drop-shadow",void 0,!0));constructor(e){this.#D=e}}Z=(0,eJ._y)("src",!0),Y=(0,eJ._y)("placeholder",!0),J=(0,eJ._y)("blur-radius",!0),Q=(0,eJ._y)("crossorigin",!0),K=(0,eJ._y)("referrerpolicy",!0);class to{static #H={e:[ee,et,ei,en,er]}=(0,eY._)(this,[[Y,2,"_preloadPlaceholder"],[Z,0,"_handleSrc"],[J,0,"_handleBlurRadius"],[Q,0,"_handleCrossorigin"],[K,0,"_handleReferrerpolicy"]],[]);static observedAttributes=["src","placeholder","blur-radius","crossorigin","referrerpolicy"];#D;#eI=(er(this),(0,eJ.Ut)(()=>this.#D.shadowRoot,"#img"));_handleSrc=ee(this,(0,eJ.H$)(this.#eI,"src",e=>e||this.#D.getAttribute("placeholder")));_preloadPlaceholder(e){e&&(new Image().src=e)}_handleBlurRadius=et(this,(0,eJ._8)(this.#eI,"--blur-radius",void 0,!0));_handleCrossorigin=ei(this,(0,eJ.H$)(this.#eI,"crossorigin"));_handleReferrerpolicy=en(this,(0,eJ.H$)(this.#eI,"referrerpolicy"));#ek=()=>{let e=this.#eI().src,t=this.#D.getAttribute("placeholder");t&&e!==t&&(this.#eI().src=t)};constructor(e){this.#D=e,this.#eI().addEventListener("error",this.#ek)}connectedCallback(){(null===this.#D.getAttribute("src")||""===this.#D.getAttribute("src"))&&this._handleSrc(null)}}el=(0,eJ.ZR)("load"),eo=(0,eJ.ZR)("error");class ta{static #H={e:[ea]}=(0,eY._)(this,[[el,2,"_enableLoadEvent"],[eo,2,"_enableErrorEvent"]],[]);static observedAttributes=[];#D;#eI=(ea(this),(0,eJ.Ut)(()=>this.#D.shadowRoot,"#img"));_enableLoadEvent(e){e?this.#eI().addEventListener("load",this.#eC,{passive:!0}):this.#eI().removeEventListener("load",this.#eC)}_enableErrorEvent(e){e?this.#eI().addEventListener("error",this.#eS,{passive:!0}):this.#eI().removeEventListener("error",this.#eS)}#eC=()=>{this.#D.dispatchEvent(new CustomEvent("load",{...tt.$,detail:{width:this.#eI().naturalWidth,height:this.#eI().naturalHeight}}))};#eS=()=>{this.#D.dispatchEvent(new CustomEvent("error",{...tt.$,detail:{}}))};constructor(e){this.#D=e}}es=(0,eJ.uA)("filter-image",[eK.O,to,tl,ta],(0,e4.EO)({}));class ts extends(ed=HTMLElement){static #H={c:[d,ec]}=(0,eY._)(this,[],[es],ed);static #j=ec()}eh=(0,eJ.uA)("x-image",[eK.O,to,ta],(0,e4.q$)({}));class tc extends(eu=HTMLElement){static #H={c:[h,ep]}=(0,eY._)(this,[],[eh],eu);static #j=ep()}ex=(0,eJ._y)("src",!0),em=(0,eJ._y)("content",!0),eg=(0,eJ.ZR)("load");class td{static #H={e:[ev]}=(0,eY._)(this,[[ex,2,"_handleSrc"],[em,2,"_handleContent"],[eg,2,"_enableLoadEvent"]],[]);static observedAttributes=["src","content"];#D;#eA=(ev(this),null);#eI=(0,eJ.Ut)(()=>this.#D.shadowRoot,"#img");_handleSrc(e){e?this.#eI().src=e:this.#eI().src=""}_handleContent(e){if(this.#eA&&URL.revokeObjectURL(this.#eA),!e){this.#eA="";return}let t=new Blob([e],{type:"image/svg+xml;charset=UTF-8"}),i=URL.createObjectURL(t);this.#eA=i,this.#eI().src=i}_enableLoadEvent(e){e?this.#eI().addEventListener("load",this.#eC,{passive:!0}):this.#eI().removeEventListener("load",this.#eC)}#eC=()=>{this.#D.dispatchEvent(new CustomEvent("load",{...tt.$,detail:{width:this.#eI().naturalWidth,height:this.#eI().naturalHeight}}))};constructor(e){this.#D=e}}ef=(0,eJ.uA)("x-svg",[eK.O,td],(0,e4.rz)());class th extends(eb=HTMLElement){static #H={c:[p,ey]}=(0,eY._)(this,[],[ef],eb);static #j=ey()}ew=(0,eJ.uA)("lynx-wrapper",[]);class tp extends(e_=HTMLElement){static #H={c:[u,eE]}=(0,eY._)(this,[],[ew],e_);static #j=eE()}eT=(0,eJ._y)("fading-edge-length",!0),eI=(0,eJ.h3)("background"),ek=(0,eJ.h3)("background-color");class tu{static #H={e:[eC,eS]}=(0,eY._)(this,[[[eI,ek],2,"_backgroundColorToVariable"],[eT,0,"_handleFadingEdgeLength"]],[]);#D;#eL=(eS(this),(0,eJ.Ut)(()=>this.#D.shadowRoot,"#top-fade-mask"));#eO=(0,eJ.Ut)(()=>this.#D.shadowRoot,"#bot-fade-mask");static observedAttributes=["fading-edge-length"];static observedCSSProperties=["background","background-color"];constructor(e){this.#D=e}_handleFadingEdgeLength=eC(this,(0,eJ._8)(()=>this.#D,"--scroll-view-fading-edge-length",e=>`${parseFloat(e)}px`));_backgroundColorToVariable(e){this.#eL().style.setProperty("--scroll-view-bg-color",e),this.#eO().style.setProperty("--scroll-view-bg-color",e)}connectedCallback(){}dispose(){}}eA=(0,eJ._y)("scroll-top",!1),eL=(0,eJ._y)("scroll-left",!1),eO=(0,eJ._y)("initial-scroll-offset",!1),eM=(0,eJ._y)("scroll-to-index",!1),ez=(0,eJ._y)("initial-scroll-to-index",!1);class tx{static #H={e:[eR]}=(0,eY._)(this,[[[eA,eL,eO],2,"_handleInitialScrollOffset"],[[eM,ez],2,"_handleInitialScrollIndex"]],[]);#D;static observedAttributes=["scroll-top","scroll-left","initial-scroll-offset","scroll-to-index","initial-scroll-to-index"];constructor(e){eR(this),this.#D=e}_handleInitialScrollOffset(e,t,i){if(e){let t=parseFloat(e),n=this.#D.getAttribute("scroll-orientation"),r=this.#D.getAttribute("scroll-y"),l=this.#D.getAttribute("scroll-x"),o=("scroll-top"===i||"initial-scroll-offset"===i)&&(""===r||"true"===r||"vertical"===n||"both"===n),a=("scroll-left"===i||"initial-scroll-offset"===i)&&(""===l||"true"===l||"vertical"===n||"both"===n);requestAnimationFrame(()=>{o&&this.#D.scrollTo(0,t),a&&(this.#D.scrollLeft=t)})}}_handleInitialScrollIndex(e){if(e){let t=parseFloat(e),i=this.#D.children.item(t);if(i&&i instanceof HTMLElement){let e=null!==this.#D.getAttribute("scroll-x");requestAnimationFrame(()=>{e?this.#D.scrollLeft=i.offsetLeft:this.#D.scrollTop=i.offsetTop})}}}dispose(){}}var tm=i(9776),tg=i(6372);eN=(0,eJ.ZR)("scrolltoupper"),eD=(0,eJ.ZR)("scrolltolower"),eF=(0,eJ._y)("upper-threshold",!0),eH=(0,eJ._y)("lower-threshold",!0),ej=(0,eJ.ZR)("lynxscroll"),eB=(0,eJ.ZR)("lynxscrollend");class tv{static #H={e:[eP,eU,eG,eW,eV,e$]}=(0,eY._)(this,[[eN,0,"_handleScrollUpperThresholdEventEnabled"],[eD,0,"_handleScrollLowerThresholdEventEnabled"],[eF,0,"_updateUpperThreshold"],[eH,0,"_updateLowerThreshold"],[ej,0,"_handleScrollEventEnabled"],[eB,0,"_handleScrollEndEventEnabled"]],[]);#D;#eM;#ez=0;#eR=0;constructor(e){this.#D=e}#eN=()=>this.#D;#eD=(0,eJ.Ut)(()=>this.#D.shadowRoot,"#upper-threshold-observer");#eF=(0,eJ.Ut)(()=>this.#D.shadowRoot,"#lower-threshold-observer");#eH=e=>{let{isIntersecting:t,target:i}=e[0],n=i.id;t&&("upper-threshold-observer"===n?this.#D.dispatchEvent(new CustomEvent("scrolltoupper",{...tt.$,detail:this.#ej()})):"lower-threshold-observer"===n&&this.#D.dispatchEvent(new CustomEvent("scrolltolower",{...tt.$,detail:this.#ej()})))};static observedAttributes=["upper-threshold","lower-threshold"];_handleScrollUpperThresholdEventEnabled=eP(this,e=>{e?this.#D.setAttribute("x-enable-scrolltoupper-event",""):this.#D.removeAttribute("x-enable-scrolltoupper-event"),this.#eB(e)});#eB=(0,tm.c)(this.#eN,this.#eD,this.#eH);_handleScrollLowerThresholdEventEnabled=eU(this,e=>{e?this.#D.setAttribute("x-enable-scrolltolower-event",""):this.#D.removeAttribute("x-enable-scrolltolower-event"),this.#eP(e)});#eP=(0,tm.c)(this.#eN,this.#eF,this.#eH);_updateUpperThreshold=eG(this,(0,eJ._8)(this.#eD,"flex-basis",e=>`${parseInt(e)}px`));_updateLowerThreshold=eW(this,(0,eJ._8)(this.#eF,"flex-basis",e=>`${parseInt(e)}px`));#ej(){let{scrollTop:e,scrollLeft:t,scrollHeight:i,scrollWidth:n}=this.#eN();0===e&&(e-=this.#D.scrollHeight/2-this.#D.scrollTop),0===t&&(t-=this.#D.scrollWidth/2-this.#D.scrollLeft);let r={scrollTop:e,scrollLeft:t,scrollHeight:i,scrollWidth:n,isDragging:!1,deltaX:t-this.#ez,deltaY:e-this.#eR};return this.#ez=t,this.#eR=e,r}#eU=()=>{this.#eG&&!tg.ks&&(clearTimeout(this.#eM),this.#eM=setTimeout(()=>{this.#eW()},100)),this.#D.dispatchEvent(new CustomEvent("lynxscroll",{...tt.$,detail:this.#ej()}))};#eW=()=>{this.#D.dispatchEvent(new CustomEvent("lynxscrollend",{...tt.$,detail:this.#ej()}))};#eV=!1;_handleScrollEventEnabled=eV(this,e=>{this.#eV=e,this.#e$()});#eG=!1;_handleScrollEndEventEnabled=e$(this,e=>{this.#eG=e,this.#e$()});#e$(){this.#eV||this.#eG?(this.#eN().addEventListener("scroll",this.#eU),this.#eN().addEventListener("scrollend",this.#eW),this.#D.addEventListener("scroll",this.#eU),this.#D.addEventListener("scrollend",this.#eW),this.#ez=0,this.#eR=0):(this.#D.removeEventListener("scroll",this.#eU),this.#D.removeEventListener("scrollend",this.#eW))}connectedCallback(){}dispose(){}}eq=(0,eJ.uA)("scroll-view",[e0.T,eK.O,tx,tu,tv,eQ],e4.ze),new class extends e7._{constructor(){super(x),eX()}static #H=(()=>{class e extends(eZ=HTMLElement){static #H={c:[x,eX]}=(0,eY._)(this,[],[eq],eZ);static notToFilterFalseAttributes=new Set(["enable-scroll"]);static scrollInterval=100;#eq;scrollTo(...e){let t;if("string"==typeof e[0].offset){let i=parseFloat(e[0].offset);t={left:i,top:i}}else"number"==typeof e[0].offset&&(t={left:e[0].offset,top:e[0].offset});if("number"==typeof e[0].index){let i=e[0].index;if(0===i)this.scrollTop=0,this.scrollLeft=0;else if(i>0&&i<this.childElementCount){let e=this.children.item(i);e instanceof HTMLElement&&(t=t?{left:e.offsetLeft+t.left,top:e.offsetTop+t.top}:{left:e.offsetLeft,top:e.offsetTop})}}t?this.scrollTo({...t,behavior:e[0].smooth?"smooth":"auto"}):super.scrollTo(...e)}autoScroll(t){if(clearInterval(this.#eq),t.start){let i=("number"==typeof t.rate?t.rate:parseFloat(t.rate))*e.scrollInterval/1e3;this.#eq=setInterval(e=>{e.scrollBy({left:i,top:i,behavior:"smooth"})},e.scrollInterval,this)}}get[tg.li](){return this}}})()};let tf=new Set;function ty(e){let t;if(!tf.has(e)){switch(e){case 0:t=i.e("185").then(i.bind(i,733));break;case 1:t=i.e("577").then(i.bind(i,7343));break;case 2:t=i.e("589").then(i.bind(i,4875));break;case 3:t=i.e("43").then(i.bind(i,885));break;case 4:t=i.e("843").then(i.bind(i,7396));break;case 5:t=i.e("555").then(i.bind(i,4010));break;case 6:t=i.e("614").then(i.bind(i,3015));break;case 7:t=i.e("625").then(i.bind(i,2509));break;case 8:t=i.e("785").then(i.bind(i,8607))}return t?.then(()=>{tf.add(e)})}}function tb(){let e=[];for(let t=0;t<=8;t++){let i=ty(t);i&&e.push(i)}return Promise.all(e)}},6181(e,t,i){i.d(t,{T:()=>o});var n=i(167);let r=CSS.supports("width:1rex")&&CSS.supports("transition-behavior:allow-discrete")&&CSS.supports("content-visibility: auto");class l{static observedAttributes=[];static observedCSSProperties=["--lynx-display","--lynx-linear-orientation"];#D;constructor(e){this.#D=e,this.cssPropertyChangedHandler={"--lynx-display":this.#eX,"--lynx-linear-orientation":this.#eZ}}#eX=(0,n.H$)(()=>this.#D,"lynx-computed-display");#eZ=(0,n.H$)(()=>this.#D,"lynx-linear-orientation")}let o=r?void 0:l},167(e,t,i){i.d(t,{_y:()=>p,ZR:()=>x,h3:()=>u,_8:()=>s,uA:()=>d,Ut:()=>c,H$:()=>a,LB:()=>o,JS:()=>l});let n=[];function r(){let e=n;for(let[t,i]of(n=[],e))i?t.call(i):t()}function l(e,t){0===n.length&&queueMicrotask(r),n.push([e,t])}function o(e,t,i,n){let r=!1;return function(o){if(o!==r){let a=e.call(this);o?(l(()=>a.addEventListener(t,i,n)),r=!0):(l(()=>a.removeEventListener(t,i)),r=!1)}}}function a(e,t,i){return function(n){i&&(n=i(n));let r=e.call(this);r.getAttribute(t)!==n&&(null!==n?l(()=>{r.setAttribute(t,n)}):l(()=>{r.removeAttribute(t)}))}}function s(e,t,i,n){return function(r){r?(i&&(r=i(r)),l(()=>e.call(this).style.setProperty(t,r,n?"important":void 0))):l(()=>e.call(this).style.removeProperty(t))}}function c(e,t){let i,n;return()=>(n||(n=e()),n.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&i||(i=n.querySelector(t)),i)}function d(e,t,i){let n,r=t.filter(e=>!!e);return(t,{addInitializer:o})=>{let a=new Set([...r.filter(e=>e.observedCSSProperties).map(e=>e.observedCSSProperties).reduce((e,t)=>e.concat(t),[])]);class s extends t{static registerPlugin(e){if(s.observedAttributes.push(...e.observedAttributes),e.observedCSSProperties)for(let t of e.observedCSSProperties)a.add(t);r.push(e)}static observedAttributes=[...t.observedAttributes??[],...r.map(e=>e.observedAttributes).reduce((e,t)=>e.concat(t),[]),"class"];#eY=[];constructor(){if(super(),i&&!n&&((n=document.createElement("template")).innerHTML=i,document.body.appendChild(n)),n&&!this.shadowRoot){const e=this.attachShadow({mode:"open",delegatesFocus:!0}),t=n.content.cloneNode(!0);e.append(t)}this.#eY=r.map(e=>new e(this)),this.#eJ()}#eQ=!1;#eK=new Map;#e0(){!this.#eQ&&a.size&&(this.#eQ=!0,l(this.#e1,this))}#e1(){let e=getComputedStyle(this);for(let i of a){var t;let n=e.getPropertyValue(i),r=e.getPropertyPriority(i),l=(t=n.trim(),r?t+" !important":t);if(this.#eK.get(i)!==l)for(let e of this.#eY)e.cssPropertyChangedHandler?.[i]?.call(e,l,i)}this.#eQ=!1}setAttribute(e,i){"false"!==i.toString()||t.notToFilterFalseAttributes?.has(e)||e.startsWith("data-")?super.setAttribute(e,i):this.removeAttribute(e)}#eJ(){let e=this.attributes;for(let i=0,n;n=e.item(i);i++)"false"!==n.value||t.notToFilterFalseAttributes?.has(n.name)||n.name.startsWith("data-")||this.removeAttributeNode(n)}#e2=!1;attributeChangedCallback(e,i,n){if(super.attributeChangedCallback&&super.attributeChangedCallback(e,i,n),t.notToFilterFalseAttributes?.has(e)||e.startsWith("data-")||("false"===i&&(i=null),"false"===n&&(n=null,this.removeAttribute(e))),i!==n){for(let t of(this.#e2&&("class"===e||"style"===e)&&this.#e0(),this.#eY))if(t.attributeChangedHandler?.[e]){let{handler:r,noDomMeasure:o}=t.attributeChangedHandler[e];o?r.call(t,n,i,e):this.#e2&&l(()=>r.call(t,n,i,e))}}}#e3(){this.getAttributeNames().forEach(e=>{for(let t of this.#eY)if(t.attributeChangedHandler?.[e]){let{handler:i,noDomMeasure:n}=t.attributeChangedHandler[e];n||l(()=>i.call(t,this.getAttribute(e),null,e))}})}connectedCallback(){super.connectedCallback?.(),this.#eY.forEach(e=>{e.connectedCallback?.()}),this.#e0(),l(this.#e3,this),this.#e2=!0}disconnectedCallback(){super.disconnectedCallback?.(),this.#eY.forEach(e=>{e.dispose?.()})}#e4={};enableEvent(e){this.#e4[e]??={count:0,listenerCount:new WeakMap,captureListenerCount:new WeakMap};let t=this.#e4[e];if(0===t.count)for(let t of this.#eY){let i=t.eventStatusChangedHandler?.[e];i&&i.call(t,!0,e)}t.count++}disableEvent(e){let t=this.#e4[e];if(t&&t.count>0&&(t.count--,0===t.count))for(let t of this.#eY){let i=t.eventStatusChangedHandler?.[e];i&&i.call(t,!1,e)}}addEventListener(e,t,i){super.addEventListener(e,t,i),this.enableEvent(e);let n=this.#e4[e],r=("object"==typeof i?i.capture:i)?n.captureListenerCount:n.listenerCount,l=r.get(t)??0;r.set(t,l+1)}removeEventListener(e,t,i){super.removeEventListener(e,t,i);let n="object"==typeof i?i.capture:i,r=this.#e4[e];if(r&&r.count>0){let i=n?r.captureListenerCount:r.listenerCount;1===i.get(t)&&(i.delete(t),this.disableEvent(e))}}}return o(()=>{customElements.define(e,s)}),s}}function h(e,t){return function(i,...n){return function(r,l){if("method"===l.kind)l.addInitializer(function(){this[e]??={},this[e][i]=t(r,n)});else if("field"===l.kind)return function(r){return this[e]??={},this[e][i]=t(r,n),r};else throw Error(`[lynx-web-components] decorator type ${l.kind} is not supported`)}}}let p=h("attributeChangedHandler",(e,[t])=>({handler:e,noDomMeasure:t})),u=h("cssPropertyChangedHandler",e=>e),x=h("eventStatusChangedHandler",e=>e)},1916(e,t,i){i.d(t,{O:()=>c,v:()=>s});var n,r,l=i(9698),o=i(2032),a=i(167);let s=Symbol("layoutChangeTarget");n=(0,a.ZR)("layoutchange");class c{static #H={e:[r]}=(0,l._)(this,[[n,0,"__handleScrollUpperThresholdEventEnabled"]],[]);static observedAttributes=[];#D;constructor(e){this.#D=e}#e5=!1;#q;__handleScrollUpperThresholdEventEnabled=r(this,e=>{e&&this.#D[s]?!this.#q&&(this.#q=new ResizeObserver(([e])=>{if(e){let t=this.#D.id,{top:i,bottom:n,left:r,right:l,width:a,height:s}=e.target.getBoundingClientRect();this.#D.dispatchEvent(new CustomEvent("layoutchange",{detail:{width:a,height:s,left:r,right:l,top:i,bottom:n,id:t},...o.$}))}}),this.#e5||(this.#q.observe(this.#D[s]),this.#e5=!0)):(this.#q?.disconnect(),this.#q=void 0,this.#e5=!1)});dispose(){this.#q?.disconnect(),this.#q=void 0,this.#e5=!1}}},9776(e,t,i){i.d(t,{c:()=>n});function n(e,t,i){let n;return r=>{null!==r?n||(n=new IntersectionObserver(i,{root:e()})).observe(t()):n&&(n.disconnect(),n=void 0)}}},2032(e,t,i){i.d(t,{$:()=>n});let n={bubbles:!1,composed:!1,cancelable:!0}},6372(e,t,i){i.d(t,{ks:()=>n,li:()=>l});let n="onscrollend"in document,r=window.navigator.userAgent;r.includes("Chrome"),/\b(iPad|iPhone|iPod|OS X)\b/.test(r)&&!/Edge/.test(r)&&/WebKit/.test(r)&&window.MSStream;let l=Symbol.for("lynx-scroll-container-dom")},3303(e,t,i){i.d(t,{$:()=>x,$$:()=>c,Bi:()=>h,EO:()=>a,FL:()=>m,Hv:()=>p,JF:()=>s,kp:()=>d,or:()=>g,q$:()=>o,rz:()=>v,sk:()=>u,xO:()=>r,ze:()=>n});let n=`<style>
|
|
3
|
-
.placeholder-dom {
|
|
4
|
-
display: none;
|
|
5
|
-
flex: 0 0 0;
|
|
6
|
-
align-self: stretch;
|
|
7
|
-
min-height: 0;
|
|
8
|
-
min-width: 0;
|
|
9
|
-
}
|
|
10
|
-
.mask {
|
|
11
|
-
z-index: 1;
|
|
12
|
-
position: sticky;
|
|
13
|
-
}
|
|
14
|
-
.observer-container {
|
|
15
|
-
flex-direction: inherit;
|
|
16
|
-
overflow: visible;
|
|
17
|
-
}
|
|
18
|
-
.observer {
|
|
19
|
-
display: flex;
|
|
20
|
-
}
|
|
21
|
-
::-webkit-scrollbar {
|
|
22
|
-
display: none;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
@keyframes topFading {
|
|
26
|
-
0% {
|
|
27
|
-
box-shadow: transparent 0px 0px 0px 0px;
|
|
28
|
-
}
|
|
29
|
-
5% {
|
|
30
|
-
box-shadow: var(--scroll-view-bg-color) 0px 0px
|
|
31
|
-
var(--scroll-view-fading-edge-length)
|
|
32
|
-
var(--scroll-view-fading-edge-length);
|
|
33
|
-
}
|
|
34
|
-
100% {
|
|
35
|
-
box-shadow: var(--scroll-view-bg-color) 0px 0px
|
|
36
|
-
var(--scroll-view-fading-edge-length)
|
|
37
|
-
var(--scroll-view-fading-edge-length);
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
@keyframes botFading {
|
|
41
|
-
0% {
|
|
42
|
-
box-shadow: var(--scroll-view-bg-color) 0px 0px
|
|
43
|
-
var(--scroll-view-fading-edge-length)
|
|
44
|
-
var(--scroll-view-fading-edge-length);
|
|
45
|
-
}
|
|
46
|
-
95% {
|
|
47
|
-
box-shadow: var(--scroll-view-bg-color) 0px 0px
|
|
48
|
-
var(--scroll-view-fading-edge-length)
|
|
49
|
-
var(--scroll-view-fading-edge-length);
|
|
50
|
-
}
|
|
51
|
-
100% {
|
|
52
|
-
box-shadow: transparent 0px 0px 0px 0px;
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
</style>
|
|
56
|
-
<div
|
|
57
|
-
class="mask placeholder-dom"
|
|
58
|
-
id="top-fade-mask"
|
|
59
|
-
part="top-fade-mask"
|
|
60
|
-
></div>
|
|
61
|
-
<div
|
|
62
|
-
class="observer-container placeholder-dom"
|
|
63
|
-
part="upper-threshold-observer"
|
|
64
|
-
>
|
|
65
|
-
<div
|
|
66
|
-
class="observer placeholder-dom"
|
|
67
|
-
id="upper-threshold-observer"
|
|
68
|
-
></div>
|
|
69
|
-
</div>
|
|
70
|
-
<slot></slot>
|
|
71
|
-
<div
|
|
72
|
-
class="observer-container placeholder-dom"
|
|
73
|
-
part="lower-threshold-observer"
|
|
74
|
-
>
|
|
75
|
-
<div
|
|
76
|
-
class="observer placeholder-dom"
|
|
77
|
-
id="lower-threshold-observer"
|
|
78
|
-
></div>
|
|
79
|
-
</div>
|
|
80
|
-
<div
|
|
81
|
-
class="mask placeholder-dom"
|
|
82
|
-
id="bot-fade-mask"
|
|
83
|
-
part="bot-fade-mask"
|
|
84
|
-
></div>`,r='<audio id="audio"></audio>',l=/<\s*script/g,o=e=>{let{src:t}=e;if(t&&l.test(t))throw Error("detected <script, this is a potential XSS attack, please check your src");return`<img part="img" alt="" loading="lazy" id="img" ${t?`src="${t}"`:""}/> `},a=o,s=`<style>
|
|
85
|
-
#input:focus {
|
|
86
|
-
outline: none;
|
|
87
|
-
}
|
|
88
|
-
#form {
|
|
89
|
-
display: none;
|
|
90
|
-
}
|
|
91
|
-
</style>
|
|
92
|
-
<form id="form" part="form" method="dialog">
|
|
93
|
-
<input
|
|
94
|
-
id="input"
|
|
95
|
-
part="input"
|
|
96
|
-
step="any"
|
|
97
|
-
type="text"
|
|
98
|
-
inputmode="text"
|
|
99
|
-
spell-check="true"
|
|
100
|
-
/>
|
|
101
|
-
</form>`,c=`<style>
|
|
102
|
-
.placeholder-dom {
|
|
103
|
-
display: none;
|
|
104
|
-
flex: 0 0 0;
|
|
105
|
-
align-self: stretch;
|
|
106
|
-
min-height: 0;
|
|
107
|
-
min-width: 0;
|
|
108
|
-
}
|
|
109
|
-
.observer-container {
|
|
110
|
-
flex-direction: inherit;
|
|
111
|
-
overflow: visible;
|
|
112
|
-
}
|
|
113
|
-
.observer {
|
|
114
|
-
display: flex;
|
|
115
|
-
}
|
|
116
|
-
</style>
|
|
117
|
-
<div id="content" part="content">
|
|
118
|
-
<div
|
|
119
|
-
class="observer-container placeholder-dom"
|
|
120
|
-
part="upper-threshold-observer"
|
|
121
|
-
>
|
|
122
|
-
<div
|
|
123
|
-
class="observer placeholder-dom"
|
|
124
|
-
id="upper-threshold-observer"
|
|
125
|
-
></div>
|
|
126
|
-
</div>
|
|
127
|
-
<slot part="slot"></slot>
|
|
128
|
-
<div
|
|
129
|
-
class="observer-container placeholder-dom"
|
|
130
|
-
part="lower-threshold-observer"
|
|
131
|
-
>
|
|
132
|
-
<div
|
|
133
|
-
class="observer placeholder-dom"
|
|
134
|
-
id="lower-threshold-observer"
|
|
135
|
-
></div>
|
|
136
|
-
</div>
|
|
137
|
-
</div>`,d=`<style>
|
|
138
|
-
#dialog[open] {
|
|
139
|
-
top: 0;
|
|
140
|
-
left: 0;
|
|
141
|
-
right: 0;
|
|
142
|
-
bottom: 0;
|
|
143
|
-
position: fixed;
|
|
144
|
-
overscroll-behavior: contain;
|
|
145
|
-
scrollbar-width: none;
|
|
146
|
-
}
|
|
147
|
-
#dialog[open]::-webkit-scrollbar {
|
|
148
|
-
display: none;
|
|
149
|
-
}
|
|
150
|
-
#dialog::backdrop {
|
|
151
|
-
background-color: transparent;
|
|
152
|
-
}
|
|
153
|
-
.overlay-inner {
|
|
154
|
-
position: sticky;
|
|
155
|
-
top: 0;
|
|
156
|
-
width: 100%;
|
|
157
|
-
height: 100%;
|
|
158
|
-
pointer-events: none;
|
|
159
|
-
}
|
|
160
|
-
.overlay-inner > * {
|
|
161
|
-
pointer-events: auto;
|
|
162
|
-
}
|
|
163
|
-
.overlay-placeholder {
|
|
164
|
-
width: 100%;
|
|
165
|
-
height: 1px;
|
|
166
|
-
}
|
|
167
|
-
</style>
|
|
168
|
-
<dialog id="dialog" part="dialog">
|
|
169
|
-
<div class="overlay-inner">
|
|
170
|
-
<slot></slot>
|
|
171
|
-
</div>
|
|
172
|
-
<div class="overlay-placeholder"></div>
|
|
173
|
-
</dialog>`,h=`<style>
|
|
174
|
-
.bounce-container {
|
|
175
|
-
overflow: scroll;
|
|
176
|
-
overscroll-behavior: contain;
|
|
177
|
-
scroll-snap-type: y mandatory;
|
|
178
|
-
scroll-behavior: smooth;
|
|
179
|
-
scrollbar-width: none;
|
|
180
|
-
}
|
|
181
|
-
.overflow-placeholder {
|
|
182
|
-
min-height: 30%;
|
|
183
|
-
min-width: 100%;
|
|
184
|
-
flex-shrink: 0;
|
|
185
|
-
scroll-snap-align: none;
|
|
186
|
-
}
|
|
187
|
-
.not-shrink {
|
|
188
|
-
height: 100%;
|
|
189
|
-
width: 100%;
|
|
190
|
-
min-height: 100%;
|
|
191
|
-
min-width: 100%;
|
|
192
|
-
flex-shrink: 0;
|
|
193
|
-
}
|
|
194
|
-
.vertical {
|
|
195
|
-
display: flex;
|
|
196
|
-
flex-direction: column;
|
|
197
|
-
}
|
|
198
|
-
#content {
|
|
199
|
-
scroll-snap-align: center;
|
|
200
|
-
}
|
|
201
|
-
</style>
|
|
202
|
-
<div id="container" part="container" class="bounce-container not-shrink vertical">
|
|
203
|
-
<div
|
|
204
|
-
id="placeholder-top"
|
|
205
|
-
class="overflow-placeholder bounce-item"
|
|
206
|
-
part="placeholder-top"
|
|
207
|
-
></div>
|
|
208
|
-
<slot name="header"></slot>
|
|
209
|
-
<div id="content" part="content" class="not-shrink vertical">
|
|
210
|
-
<slot part="slot"></slot>
|
|
211
|
-
</div>
|
|
212
|
-
<slot name="footer"></slot>
|
|
213
|
-
<div
|
|
214
|
-
id="placeholder-bot"
|
|
215
|
-
class="overflow-placeholder bounce-item"
|
|
216
|
-
part="placeholder-bot"
|
|
217
|
-
></div>
|
|
218
|
-
</div>`,p=`<style>
|
|
219
|
-
#bounce-padding {
|
|
220
|
-
display: none;
|
|
221
|
-
flex: 0 0 0;
|
|
222
|
-
align-self: stretch;
|
|
223
|
-
scroll-snap-align: none;
|
|
224
|
-
flex-basis: 100%;
|
|
225
|
-
}
|
|
226
|
-
#content {
|
|
227
|
-
position: relative;
|
|
228
|
-
display: flex;
|
|
229
|
-
flex: 0 0 100%;
|
|
230
|
-
flex-direction: inherit;
|
|
231
|
-
flex-wrap: inherit;
|
|
232
|
-
align-self: stretch;
|
|
233
|
-
justify-content: inherit;
|
|
234
|
-
align-items: inherit;
|
|
235
|
-
overflow: inherit;
|
|
236
|
-
scrollbar-width: none;
|
|
237
|
-
scroll-snap-align: start;
|
|
238
|
-
scroll-snap-type: inherit;
|
|
239
|
-
}
|
|
240
|
-
div::-webkit-scrollbar {
|
|
241
|
-
display: none;
|
|
242
|
-
}
|
|
243
|
-
#indicator-container {
|
|
244
|
-
display: none;
|
|
245
|
-
}
|
|
246
|
-
#indicator-container > div {
|
|
247
|
-
animation-name: indicator-dot;
|
|
248
|
-
animation-duration: 100ms;
|
|
249
|
-
}
|
|
250
|
-
@keyframes indicator-dot {
|
|
251
|
-
30%,
|
|
252
|
-
70% {
|
|
253
|
-
background-color: var(--indicator-color);
|
|
254
|
-
}
|
|
255
|
-
31%,
|
|
256
|
-
69% {
|
|
257
|
-
background-color: var(--indicator-active-color);
|
|
258
|
-
}
|
|
259
|
-
}
|
|
260
|
-
</style>
|
|
261
|
-
<style id="indicator-style"></style>
|
|
262
|
-
<div id="bounce-padding" part="bounce-padding"></div>
|
|
263
|
-
<div id="indicator-container" part="indicator-container"></div>
|
|
264
|
-
<div id="content" part="content">
|
|
265
|
-
<slot part="slot-start" name="circular-start" id="circular-start"></slot>
|
|
266
|
-
<slot part="slot"></slot>
|
|
267
|
-
<slot part="slot-end" name="circular-end" id="circular-end"></slot>
|
|
268
|
-
</div>`,u='<div id="inner-box" part="inner-box"><slot part="slot"></slot><slot name="inline-truncation"></slot></div>',x=o,m=`<style>
|
|
269
|
-
#textarea:focus,
|
|
270
|
-
#textarea:focus-visible {
|
|
271
|
-
border: inherit;
|
|
272
|
-
outline: inherit;
|
|
273
|
-
}
|
|
274
|
-
</style>
|
|
275
|
-
<form id="form" part="form" method="dialog">
|
|
276
|
-
<textarea id="textarea" part="textarea"></textarea>
|
|
277
|
-
</form>`,g=`<style>
|
|
278
|
-
#bounce-padding {
|
|
279
|
-
display: none;
|
|
280
|
-
flex: 0 0 0;
|
|
281
|
-
align-self: stretch;
|
|
282
|
-
scroll-snap-align: none;
|
|
283
|
-
flex-basis: 100%;
|
|
284
|
-
}
|
|
285
|
-
#content {
|
|
286
|
-
flex: 0 0 100%;
|
|
287
|
-
flex-direction: row;
|
|
288
|
-
align-self: stretch;
|
|
289
|
-
display: inherit;
|
|
290
|
-
justify-content: inherit;
|
|
291
|
-
align-items: inherit;
|
|
292
|
-
overflow: inherit;
|
|
293
|
-
scrollbar-width: none;
|
|
294
|
-
scroll-snap-type: inherit;
|
|
295
|
-
}
|
|
296
|
-
#content::-webkit-scrollbar {
|
|
297
|
-
display: none;
|
|
298
|
-
}
|
|
299
|
-
</style>
|
|
300
|
-
<div id="bounce-padding" part="bounce-padding"></div>
|
|
301
|
-
<div id="content" part="content">
|
|
302
|
-
<slot></slot>
|
|
303
|
-
</div>`,v=()=>'<img part="img" alt="" loading="lazy" id="img" /> '},8239(e,t,i){i.d(t,{C:()=>n});class n{port;name;incId=0;#e8=[];#e6={};#e7=new TextEncoder;#e9=new TextDecoder;#te=new Map;constructor(e,t){this.port=e,this.name=t,e&&(e.onmessage=e=>this.#tt(e.data))}setMessagePort(e){if(this.port)throw Error("Rpc port already set");for(let t of(this.port=e,this.#e8))this.postMessage(t.message,t.detail);this.#e8=[],e.onmessage=e=>this.#tt(e.data)}postMessage(e,t){this.port?this.port.postMessage(e,t):this.#e8.push({message:e,detail:t})}get nextRetId(){return`ret_${this.name}_${this.incId++}`}static createRetEndpoint(e){return{name:e,hasReturn:!1,isSync:!1}}#tt=async e=>{let t=this.#te.get(e.name);if(t){let i=e.sync?new Int32Array(e.lock):void 0,r=!e.sync&&e.retId?n.createRetEndpoint(e.retId):void 0;try{let n=await t(...e.data),l,o=[];if(e.sync?l=n:e.hasTransfer?{data:l,transfer:o}=n||{}:l=n,e.sync){if(e.buf){let t=JSON.stringify(l),i=new Uint32Array(e.buf,0,1),n=new Uint8Array(e.buf,4),r=new Uint8Array(e.buf.byteLength-4),{written:o}=this.#e7.encodeInto(t,r);i[0]=o,n.set(r,0)}Atomics.store(i,0,1),Atomics.notify(i,0)}else e.retId&&this.invoke(r,[l,!1],o||[])}catch(t){console.error(t),e.sync?(Atomics.store(i,0,2),Atomics.notify(i,0),i[1]=2):this.invoke(r,[void 0,!0])}}else{let t=this.#e6[e.name];t?t.push(e):this.#e6[e.name]=[e]}};createCall(e){return(...t)=>this.invoke(e,t)}registerHandler(e,t){this.#te.set(e.name,t);let i=this.#e6[e.name];if(i?.length)for(let t of(this.#e6[e.name]=void 0,i))this.#tt(t)}registerHandlerRef(e,t,i){this.registerHandler(e,(...e)=>t[i]?.call(t,...e))}registerHandlerLazy(e,t,i){if(t[i])this.registerHandlerRef(e,t,i);else{let n,r=this;Object.defineProperty(t,i,{get:()=>n,set(l){n=l,l&&r.registerHandlerRef(e,t,i)}})}}removeHandler(e){this.#te.delete(e.name)}invoke(e,t,i=[]){if(e.isSync){let n=e.bufferSize?new SharedArrayBuffer(e.bufferSize+4):void 0,r=new SharedArrayBuffer(4),l=new Int32Array(r);l[0]=0;let o={name:e.name,data:t,sync:!0,lock:r,buf:n};if(this.postMessage(o,{transfer:i}),Atomics.wait(l,0,0),2===l[0])throw null;if(!n)return;{let e=new Uint32Array(n,0,4)[0],t=new Uint8Array(n,4,e),i=new Uint8Array(e);return i.set(t,0),i?JSON.parse(this.#e9.decode(i)):void 0}}if(e.hasReturn){let r,l,o;r=new Promise((e,t)=>{l=e,o=t});let a=n.createRetEndpoint(this.nextRetId);this.registerHandler(a,(e,t)=>{t&&o(),l(e)});let s={name:e.name,data:t,sync:!1,retId:a?.name,hasTransfer:e.hasReturnTransfer};return this.postMessage(s,{transfer:i}),r}{let n={name:e.name,data:t,sync:!1};this.postMessage(n,{transfer:i})}}createCallbackify(e,t){let i=this.createCall(e);return(...e)=>{let n=e.at(t);e.splice(t,1),i(...e).then(n)}}}},9282(e,t,i){i.d(t,{H:()=>n});function n(e,t,i=!0,r=!1,l){return{name:e,isSync:t,hasReturn:i,hasReturnTransfer:r,bufferSize:l}}},3110(e){e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var i="",n=void 0!==t[5];return t[4]&&(i+="@supports (".concat(t[4],") {")),t[2]&&(i+="@media ".concat(t[2]," {")),n&&(i+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),i+=e(t),n&&(i+="}"),t[2]&&(i+="}"),t[4]&&(i+="}"),i}).join("")},t.i=function(e,i,n,r,l){"string"==typeof e&&(e=[[null,e,void 0]]);var o={};if(n)for(var a=0;a<this.length;a++){var s=this[a][0];null!=s&&(o[s]=!0)}for(var c=0;c<e.length;c++){var d=[].concat(e[c]);n&&o[d[0]]||(void 0!==l&&(void 0===d[5]||(d[1]="@layer".concat(d[5].length>0?" ".concat(d[5]):""," {").concat(d[1],"}")),d[5]=l),i&&(d[2]&&(d[1]="@media ".concat(d[2]," {").concat(d[1],"}")),d[2]=i),r&&(d[4]?(d[1]="@supports (".concat(d[4],") {").concat(d[1],"}"),d[4]=r):d[4]="".concat(r)),t.push(d))}},t}},245(e){e.exports=function(e){return e[1]}},9698(e,t,i){i.d(t,{_:()=>n});function n(e,t,i,r){function l(e,t){return function(i){(function(e,t){if(e.v)throw Error("attempted to call "+t+" after decoration was finished")})(t,"addInitializer"),a(i,"An initializer"),e.push(i)}}function o(e,t,i,n,r,o,a,s,c){switch(r){case 1:d="accessor";break;case 2:d="method";break;case 3:d="getter";break;case 4:d="setter";break;default:d="field"}var d,h,p,u={kind:d,name:a?"#"+t:t,static:o,private:a,metadata:s},x={v:!1};u.addInitializer=l(n,x),0===r?a?(h=i.get,p=i.set):(h=function(){return this[t]},p=function(e){this[t]=e}):2===r?h=function(){return i.value}:((1===r||3===r)&&(h=function(){return i.get.call(this)}),(1===r||4===r)&&(p=function(e){i.set.call(this,e)})),u.access=h&&p?{get:h,set:p}:h?{get:h}:{set:p};try{return e(c,u)}finally{x.v=!0}}function a(e,t){if("function"!=typeof e)throw TypeError(t+" must be a function")}function s(e,t){var i=typeof t;if(1===e){if("object"!==i||null===t)throw TypeError("accessor decorators must return an object with get, set, or init properties or void 0");void 0!==t.get&&a(t.get,"accessor.get"),void 0!==t.set&&a(t.set,"accessor.set"),void 0!==t.init&&a(t.init,"accessor.init")}else if("function"!==i)throw TypeError((0===e?"field":10===e?"class":"method")+" decorators must return a function or void 0")}function c(e,t){t&&e.push(function(e){for(var i=0;i<t.length;i++)t[i].call(e);return e})}function d(e,t){return Object.defineProperty(e,Symbol.metadata||Symbol.for("Symbol.metadata"),{configurable:!0,enumerable:!0,value:t})}return(n=function(e,t,i,n){if(void 0!==n)var r=n[Symbol.metadata||Symbol.for("Symbol.metadata")];var a=Object.create(void 0===r?null:r),h=function(e,t,i){for(var n=[],r=new Map,l=new Map,a=0;a<t.length;a++){var d,h,p,u,x=t[a];if(Array.isArray(x)){var m=x[1],g=x[2],v=x.length>3,f=m>=5;if(f?(p=e,m-=5,u=h=h||[]):(p=e.prototype,u=d=d||[]),0!==m&&!v){var y=f?l:r,b=y.get(g)||0;if(!0===b||3===b&&4!==m||4===b&&3!==m)throw Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: "+g);!b&&m>2?y.set(g,m):y.set(g,!0)}!function(e,t,i,n,r,l,a,c,d){var h,p,u,x,m,g,v=i[0];if(a?h=0===r||1===r?{get:i[3],set:i[4]}:3===r?{get:i[3]}:4===r?{set:i[3]}:{value:i[3]}:0!==r&&(h=Object.getOwnPropertyDescriptor(t,n)),1===r?u={get:h.get,set:h.set}:2===r?u=h.value:3===r?u=h.get:4===r&&(u=h.set),"function"==typeof v)void 0!==(x=o(v,n,h,c,r,l,a,d,u))&&(s(r,x),0===r?p=x:1===r?(p=x.init,u={get:m=x.get||u.get,set:x.set||u.set}):u=x);else for(var f=v.length-1;f>=0;f--)void 0!==(x=o(v[f],n,h,c,r,l,a,d,u))&&(s(r,x),0===r?g=x:1===r?(g=x.init,u={get:m=x.get||u.get,set:x.set||u.set}):u=x,void 0!==g&&(void 0===p?p=g:"function"==typeof p?p=[p,g]:p.push(g)));if(0===r||1===r){if(void 0===p)p=function(e,t){return t};else if("function"!=typeof p){var y=p;p=function(e,t){for(var i=t,n=0;n<y.length;n++)i=y[n].call(e,i);return i}}else{var b=p;p=function(e,t){return b.call(e,t)}}e.push(p)}0!==r&&(1===r?(h.get=u.get,h.set=u.set):2===r?h.value=u:3===r?h.get=u:4===r&&(h.set=u),a?1===r?(e.push(function(e,t){return u.get.call(e,t)}),e.push(function(e,t){return u.set.call(e,t)})):2===r?e.push(u):e.push(function(e,t){return u.call(e,t)}):Object.defineProperty(t,n,h))}(n,p,x,g,m,f,v,u,i)}}return c(n,d),c(n,h),n}(e,t,a);return i.length||d(e,a),{e:h,get c(){return function(e,t,i){if(t.length>0){for(var n=[],r=e,o=e.name,a=t.length-1;a>=0;a--){var c={v:!1};try{var h=t[a](r,{kind:"class",name:o,addInitializer:l(n,c),metadata:i})}finally{c.v=!0}void 0!==h&&(s(10,h),r=h)}return[d(r,i),function(){for(var e=0;e<n.length;e++)n[e].call(r)}]}}(e,i,a)}}})(e,t,i,r)}},4833(e,t,i){i.d(t,{_:()=>n});function n(e){return e}}}]);
|
|
1
|
+
"use strict";(globalThis.webpackChunk_lynx_js_web_core_wasm=globalThis.webpackChunk_lynx_js_web_core_wasm||[]).push([["894"],{5834(e,t,i){i.d(t,{A:()=>c});var n=i(245),r=i.n(n),l=i(3110),a=i.n(l),o=i(8047),s=a()(r());s.i(o.A),s.push([e.id,"[lynx-default-display-linear=false] *{--lynx-display:flex;--lynx-display-toggle:var(--lynx-display-flex)}[lynx-default-overflow-visible=true] x-view{overflow:visible}",""]);let c=s.toString()},8047(e,t,i){i.d(t,{A:()=>T});var n=i(245),r=i.n(n),l=i(3110),a=i.n(l),o=i(3170),s=i(4727),c=i(7416),p=i(4478),x=i(7124),d=i(8031),h=i(5545),m=i(3156),u=i(3420),g=i(204),v=i(6712),f=i(2893),w=i(8693),y=i(6916),b=i(3388),_=i(9508),E=i(5308),k=a()(r());k.i(o.A),k.i(s.A),k.i(c.A),k.i(p.A),k.i(x.A),k.i(d.A),k.i(h.A),k.i(m.A),k.i(u.A),k.i(g.A),k.i(v.A),k.i(f.A),k.i(w.A),k.i(y.A),k.i(b.A),k.i(_.A),k.i(E.A),k.push([e.id,"",""]);let T=k.toString()},3170(e,t,i){i.d(t,{A:()=>o});var n=i(245),r=i.n(n),l=i(3110),a=i.n(l)()(r());a.push([e.id,"@supports not ((content-visibility:auto) and (transition-behavior:allow-discrete) and (width:1rex)){*{--lynx-display:linear;--lynx-linear-weight-sum:1;--lynx-linear-weight:0;--justify-content-column:flex-start;--justify-content-column-reverse:flex-start;--justify-content-row:flex-start;--justify-content-row-reverse:flex-start;--align-self-row:auto;--align-self-column:auto;--lynx-linear-weight-basis:auto;--lynx-linear-orientation:vertical;--flex-direction:row;--flex-grow:0;--flex-shrink:1;--flex-basis:auto;--justify-content:flex-start;--flex-wrap:nowrap;--align-self:auto}[lynx-computed-display=linear]{flex-direction:column;justify-content:flex-start;flex-wrap:nowrap!important}[lynx-computed-display=flex]{flex-direction:var(--flex-direction);justify-content:var(--justify-content);flex-wrap:var(--flex-wrap)}[lynx-computed-display=flex]>*,[lynx-computed-display=flex]>lynx-wrapper>*{flex:var(--flex,var(--flex-grow)var(--flex-shrink)var(--flex-basis))}[lynx-computed-display=linear]>*,[lynx-computed-display=linear]>lynx-wrapper>*{flex-shrink:0!important;flex-grow:calc(var(--lynx-linear-weight)/calc(var(--lynx-linear-weight-sum) + ( 1 - clamp(0,var(--lynx-linear-weight-sum)*999999,1))))!important;flex-basis:var(--lynx-linear-weight-basis)!important}[lynx-computed-display=linear][lynx-linear-orientation=vertical]{justify-content:var(--justify-content-column);flex-direction:column!important}[lynx-computed-display=linear][lynx-linear-orientation=horizontal]{justify-content:var(--justify-content-row);flex-direction:row!important}[lynx-computed-display=linear][lynx-linear-orientation=vertical-reverse]{justify-content:var(--justify-content-column-reverse);flex-direction:column-reverse!important}[lynx-computed-display=linear][lynx-linear-orientation=horizontal-reverse]{justify-content:var(--justify-content-row-reverse);flex-direction:row-reverse!important}[lynx-computed-display=linear][lynx-linear-orientation=vertical]>*,[lynx-computed-display=linear][lynx-linear-orientation=vertical-reverse],[lynx-computed-display=linear][lynx-linear-orientation=vertical]>lynx-wrapper>*,[lynx-computed-display=linear][lynx-linear-orientation=vertical-reverse]>lynx-wrapper>*{align-self:var(--align-self-column)}[lynx-computed-display=linear][lynx-linear-orientation=horizontal]>*,[lynx-computed-display=linear][lynx-linear-orientation=horizontal-reverse],[lynx-computed-display=linear][lynx-linear-orientation=horizontal]>lynx-wrapper>*,[lynx-computed-display=linear][lynx-linear-orientation=horizontal-reverse]>lynx-wrapper>*{align-self:var(--align-self-row)}}",""]);let o=a.toString()},7416(e,t,i){i.d(t,{A:()=>o});var n=i(245),r=i.n(n),l=i(3110),a=i.n(l)()(r());a.push([e.id,"lynx-wrapper{--lynx-display:inherit;--lynx-display-toggle:inherit;--lynx-linear-orientation:inherit;--lynx-linear-orientation-toggle:inherit;display:contents!important}",""]);let o=a.toString()},7124(e,t,i){i.d(t,{A:()=>o});var n=i(245),r=i.n(n),l=i(3110),a=i.n(l)()(r());a.push([e.id,"scroll-view{--lynx-display-toggle:var(--lynx-display-linear);flex-wrap:nowrap;flex-direction:var(--linear-flex-direction);justify-content:var(--linear-justify-content);scroll-timeline:--scroll-view-timeline;--lynx-display:linear!important;display:flex!important}scroll-view>*,scroll-view>lynx-wrapper>*{flex-shrink:0;flex-grow:calc(var(--lynx-linear-weight)/var(--lynx-linear-weight-sum));flex-basis:var(--lynx-linear-weight-basis);align-self:var(--align-self-column)}scroll-view,scroll-view{scrollbar-width:none}scroll-view::-webkit-scrollbar{display:none}scroll-view::-webkit-scrollbar{display:none}scroll-view[enable-scrollbar],scroll-view[scroll-bar-enable]{scrollbar-width:initial}scroll-view[enable-scrollbar]::-webkit-scrollbar{display:initial}scroll-view[scroll-bar-enable]::-webkit-scrollbar{display:initial}scroll-view,scroll-view[scroll-y],scroll-view[scroll-orientation=vertical]{--lynx-linear-orientation-toggle:var(--lynx-linear-orientation-vertical);--lynx-linear-orientation:vertical!important;flex-direction:column!important;overflow:clip scroll!important}scroll-view[scroll-x],scroll-view[scroll-orientation=horizontal]{--lynx-linear-orientation-toggle:var(--lynx-linear-orientation-horizontal);--lynx-linear-orientation:horizontal!important;flex-direction:row!important;overflow:scroll clip!important}scroll-view[scroll-orientation=both]{overflow:scroll!important}@supports not (overflow:clip){scroll-view[scroll-y],scroll-view[scroll-orientation=vertical]{overflow-x:hidden}scroll-view[scroll-x],scroll-view[scroll-orientation=horizontal]{overflow-y:hidden}}scroll-view[scroll-y][enable-scroll=false],scroll-view[scroll-orientation=vertical][enable-scroll=false]{overflow-y:hidden!important}scroll-view[scroll-x][enable-scroll=false],scroll-view[scroll-orientation=horizontal][enable-scroll=false]{overflow-x:hidden!important}@supports (animation-timeline:--scroll-view-timeline){scroll-view[fading-edge-length]::part(top-fade-mask){animation-name:topFading;top:0}scroll-view[fading-edge-length]::part(bot-fade-mask){animation-name:botFading;bottom:0}scroll-view[fading-edge-length]::part(top-fade-mask),scroll-view[fading-edge-length]::part(bot-fade-mask){flex:none;animation-duration:1ms;animation-timeline:--scroll-view-timeline;display:flex;left:0}}scroll-view[x-enable-scrolltolower-event]::part(lower-threshold-observer),scroll-view[x-enable-scrolltoupper-event]::part(upper-threshold-observer){display:flex}scroll-view[scroll-y][x-enable-scrolltolower-event]::part(lower-threshold-observer),scroll-view[scroll-orientation=vertical][x-enable-scrolltolower-event]::part(lower-threshold-observer){flex-direction:column-reverse!important}scroll-view[scroll-x][x-enable-scrolltolower-event]::part(lower-threshold-observer),scroll-view[scroll-orientation=horizontal][x-enable-scrolltolower-event]::part(lower-threshold-observer){flex-direction:row-reverse!important}",""]);let o=a.toString()},3156(e,t,i){i.d(t,{A:()=>o});var n=i(245),r=i.n(n),l=i(3110),a=i.n(l)()(r());a.push([e.id,"x-canvas{contain:strict;flex-direction:column}x-canvas>*{display:none!important}x-canvas::part(canvas){width:100%;height:100%}",""]);let o=a.toString()},8031(e,t,i){i.d(t,{A:()=>o});var n=i(245),r=i.n(n),l=i(3110),a=i.n(l)()(r());a.push([e.id,"x-foldview-ng{overscroll-behavior:contain;--foldview-header-height:0px;scrollbar-width:none;display:flex;overflow-x:hidden;overflow-y:scroll!important}x-foldview-ng::-webkit-scrollbar{display:none}x-foldview-ng[scroll-bar-enable]{scrollbar-width:initial}x-foldview-ng[scroll-bar-enable]::-webkit-scrollbar{display:initial}x-foldview-ng:not([scroll-bar-enable],[scroll-bar-enable=true])::-webkit-scrollbar{display:none}x-foldview-ng[scroll-enable=false]{overflow-y:hidden}x-foldview-ng>*,x-foldview-header-ng,x-foldview-slot-ng,x-foldview-toolbar-ng{display:none}x-foldview-ng>x-foldview-header-ng,x-foldview-ng>x-foldview-slot-ng,x-foldview-ng>x-foldview-toolbar-ng,x-foldview-ng>lynx-wrapper>x-foldview-header-ng,x-foldview-ng>lynx-wrapper>x-foldview-slot-ng,x-foldview-ng>lynx-wrapper>x-foldview-toolbar-ng{display:flex}x-foldview-toolbar-ng{z-index:1;order:1;position:sticky;top:0}x-foldview-header-ng{flex:none;order:2;position:absolute}x-foldview-ng[header-over-slot]>x-foldview-slot-ng,x-foldview-ng[header-over-slot]>lynx-wrapper>x-foldview-slot-ng{z-index:1}x-foldview-slot-ng{contain:strict;order:3}x-foldview-slot-ng scroll-view{overscroll-behavior-y:none}",""]);let o=a.toString()},204(e,t,i){i.d(t,{A:()=>o});var n=i(245),r=i.n(n),l=i(3110),a=i.n(l)()(r());a.push([e.id,"x-image,filter-image{--justify-content:center;contain:strict;object-fit:fill;justify-content:center;align-items:center;flex-direction:row!important}x-image>*,filter-image>*{display:none}x-image[blur-radius]::part(img){--blur-radius:0;filter:blur(var(--blur-radius))}filter-image[blur-radius]::part(img),filter-image[drop-shadow]::part(img){--blur-radius:0;--drop-shadow:0px 0px;filter:blur(var(--blur-radius))drop-shadow(var(--drop-shadow))}x-image:not([auto-size])::part(img),filter-image::part(img){object-fit:inherit;flex:0 0 100%;align-self:stretch;width:100%}x-image[mode=aspectFit],filter-image[mode=aspectFit]{object-fit:contain}x-image[mode=aspectFill],filter-image[mode=aspectFill]{object-fit:cover}x-image[mode=center]:not([auto-size])::part(img),filter-image[mode=center]::part(img){width:unset;flex:unset;align-self:unset;margin:auto;position:absolute}x-image[auto-size]{display:contents}x-image[auto-size]::part(img){margin:inherit;padding:inherit;width:inherit;height:inherit;box-sizing:inherit;flex:inherit;min-width:inherit;min-height:inherit;border:inherit;border-radius:inherit;max-width:100%;max-height:100%;position:inherit;top:inherit;left:inherit;right:inherit;bottom:inherit;transform:inherit;opacity:inherit;z-index:inherit;filter:inherit}",""]);let o=a.toString()},6712(e,t,i){i.d(t,{A:()=>o});var n=i(245),r=i.n(n),l=i(3110),a=i.n(l)()(r());a.push([e.id,"x-input{font-size:14px;display:contents!important}x-input::part(form){display:contents}x-input::part(input),x-input::part(form){width:inherit;height:inherit;border:inherit;align-self:inherit;justify-self:inherit;text-align:inherit;direction:inherit;caret-color:inherit;font-family:inherit;font-size:inherit;font-weight:inherit;letter-spacing:inherit;flex:inherit;background-color:inherit;z-index:inherit;margin:inherit;color:inherit}x-input::part(input){--placeholder-color:grey;--placeholder-font-weight:normal}x-input::part(input)::placeholder{color:var(--placeholder-color);font-family:var(--placeholder-font-family);font-size:var(--placeholder-font-size,inherit);font-weight:var(--placeholder-font-weight)}",""]);let o=a.toString()},9508(e,t,i){i.d(t,{A:()=>o});var n=i(245),r=i.n(n),l=i(3110),a=i.n(l)()(r());a.push([e.id,"x-list{contain:layout;scrollbar-width:none;--list-item-sticky-offset:0;--list-item-span-count:0;--list-main-axis-gap:0px;--list-cross-axis-gap:0px;container-type:size}x-list>:not(list-item){display:none}x-list::part(content),x-list[list-type=waterfall]::part(waterfall-content){justify-content:inherit;background-color:inherit;flex-wrap:nowrap;flex:none;flex-direction:inherit;scrollbar-width:inherit;scroll-snap-type:inherit;scroll-snap-align:start;width:100%;height:100%;overflow:inherit;content-visibility:auto;row-gap:inherit;column-gap:inherit;display:flex;position:relative}x-list::part(content),x-list::part(slot){--lynx-display:inherit}x-list,x-list::part(content){scrollbar-width:none}x-list::-webkit-scrollbar{display:none}x-list::part(content)::-webkit-scrollbar{display:none}x-list[scrollbar-enable]::part(content){scrollbar-width:initial}x-list[scrollbar-enable]::part(content)::-webkit-scrollbar{display:initial}list-item{content-visibility:auto;contain:layout paint;contain-intrinsic-size:none auto var(--estimated-main-axis-size-px,100cqh);display:none;position:static;flex:none!important}list-item[recyclable=false]{content-visibility:visible;contain:initial}x-list[scroll-orientation=horizontal] list-item{contain-intrinsic-size:auto var(--estimated-main-axis-size-px,100cqw)none}x-list>list-item,x-list>lynx-wrapper>list-item{display:flex}x-list{overflow:clip scroll!important}x-list[scroll-orientation=horizontal]{overflow:scroll clip!important}x-list[enable-scroll=false]{overflow-y:hidden!important}x-list[scroll-orientation=horizontal][enable-scroll=false]{overflow-x:hidden!important}x-list[sticky=true] list-item[sticky-top],x-list[sticky=true] list-item[sticky-bottom]{z-index:1;position:sticky}x-list[sticky=true]>list-item[sticky-top],x-list[sticky=true]>lynx-wrapper>list-item[sticky-top]{top:var(--list-item-sticky-offset)}x-list[sticky=true]>list-item[sticky-bottom],x-list[sticky=true]>lynx-wrapper>list-item[sticky-bottom]{bottom:var(--list-item-sticky-offset)}x-list[sticky=true][scroll-orientation=horizontal]>list-item[sticky-top],x-list[sticky=true][scroll-orientation=horizontal]>lynx-wrapper>list-item[sticky-top]{top:unset;left:var(--list-item-sticky-offset)}x-list[sticky=true][scroll-orientation=horizontal]>list-item[sticky-bottom],x-list[sticky=true][scroll-orientation=horizontal]>lynx-wrapper>list-item[sticky-bottom]{bottom:unset;right:var(--list-item-sticky-offset)}x-list[item-snap],x-list[paging-enabled]{scroll-snap-type:y mandatory;scroll-snap-stop:always}x-list[item-snap][scroll-orientation=horizontal],x-list[paging-enabled][scroll-orientation=horizontal]{scroll-snap-type:x mandatory}x-list[item-snap]>list-item,x-list[item-snap]>lynx-wrapper>list-item{scroll-snap-align:start}x-list[x-enable-scrolltoupper-event]::part(upper-threshold-observer),x-list[x-enable-scrolltoupperedge-event]::part(upper-threshold-observer),x-list[x-enable-scrolltolower-event]::part(lower-threshold-observer),x-list[x-enable-scrolltoloweredge-event]::part(lower-threshold-observer){display:flex}x-list::part(lower-threshold-observer){flex-direction:column-reverse}x-list[vertical-orientation=false]::part(lower-threshold-observer){flex-direction:row-reverse}x-list{align-items:stretch;row-gap:var(--list-main-axis-gap);column-gap:var(--list-cross-axis-gap);flex-direction:column;display:flex}x-list[scroll-orientation=horizontal]{row-gap:var(--list-cross-axis-gap);column-gap:var(--list-main-axis-gap);flex-direction:row}x-list[list-type=flow]::part(content){grid-template-columns:repeat(var(--list-item-span-count),1fr);grid-row-gap:var(--list-main-axis-gap);grid-column-gap:var(--list-cross-axis-gap);grid-auto-rows:min-content;place-items:start stretch;display:grid}x-list[list-type=flow][scroll-orientation=horizontal]::part(content){grid-template-rows:repeat(var(--list-item-span-count),1fr);grid-row-gap:var(--list-cross-axis-gap);grid-column-gap:var(--list-main-axis-gap);grid-auto-columns:min-content;grid-auto-flow:column;place-items:stretch start}x-list[list-type=flow] list-item[full-span]:not([full-span=false]){grid-column-start:1;grid-column-end:calc(var(--list-item-span-count) + 1)}x-list[list-type=flow][scroll-orientation=horizontal] list-item[full-span]:not([full-span=false]){grid-row-start:1;grid-row-end:calc(var(--list-item-span-count) + 1)}x-list[list-type=flow][x-enable-scrolltoupper-event]::part(upper-threshold-observer),x-list[list-type=flow][x-enable-scrolltoupperedge-event]::part(upper-threshold-observer),x-list[list-type=flow][x-enable-scrolltolower-event]::part(lower-threshold-observer),x-list[list-type=flow][x-enable-scrolltoloweredge-event]::part(lower-threshold-observer){grid-column:1/calc(var(--list-item-span-count) + 1)}x-list[list-type=flow][scroll-orientation=horizontal][x-enable-scrolltoupper-event]::part(upper-threshold-observer),x-list[list-type=flow][scroll-orientation=horizontal][x-enable-scrolltoupperedge-event]::part(upper-threshold-observer),x-list[list-type=flow][scroll-orientation=horizontal][x-enable-scrolltolower-event]::part(lower-threshold-observer),x-list[list-type=flow][scroll-orientation=horizontal][x-enable-scrolltoloweredge-event]::part(lower-threshold-observer){grid-row:1/calc(var(--list-item-span-count) + 1)}x-list[list-type=waterfall]{flex-direction:column;display:flex}x-list[list-type=waterfall][scroll-orientation=horizontal]{flex-direction:row}x-list[list-type=waterfall]::part(slot){visibility:hidden}x-list[list-type=waterfall] list-item{width:calc(( 100% - var(--list-cross-axis-gap)*(var(--list-item-span-count) - 1))/var(--list-item-span-count));height:fit-content;position:absolute}x-list[list-type=waterfall][scroll-orientation=horizontal] list-item{width:fit-content;height:calc(( 100% - var(--list-cross-axis-gap)*(var(--list-item-span-count) - 1))/var(--list-item-span-count))}x-list[list-type=waterfall] list-item[full-span]:not([full-span=false]){width:100%;height:fit-content}x-list[list-type=waterfall][scroll-orientation=horizontal] list-item[full-span]:not([full-span=false]){width:fit-content;height:100%}x-list[list-type=waterfall]::part(upper-threshold-observer),x-list[list-type=waterfall]::part(lower-threshold-observer){position:absolute}x-list[list-type=waterfall]::part(lower-threshold-observer){bottom:-999px}x-list[list-type=waterfall][scroll-orientation=horizontal]::part(lower-threshold-observer){bottom:unset;right:-999px}",""]);let o=a.toString()},2893(e,t,i){i.d(t,{A:()=>o});var n=i(245),r=i.n(n),l=i(3110),a=i.n(l)()(r());a.push([e.id,'x-overlay-ng::part(dialog){background:0 0;border:0;outline:none;width:100%;max-width:100%;height:100%;max-height:100%;margin:0;padding:0}x-overlay-ng{contain:strict;width:0;max-width:0;max-height:0;display:contents;position:fixed;top:0;overflow:visible}x-overlay-ng>:not(:first-child){display:none!important}x-overlay-ng>:first-child,x-overlay-ng>lynx-wrapper>:first-child{display:flex;position:absolute;top:0;left:0}x-overlay-ng [event-through]{pointer-events:none}x-overlay-ng:not([level]),x-overlay-ng[level="1"]{z-index:4}x-overlay-ng[level="2"]{z-index:3}x-overlay-ng[level="3"]{z-index:2}x-overlay-ng[level="4"]{z-index:1}',""]);let o=a.toString()},8693(e,t,i){i.d(t,{A:()=>o});var n=i(245),r=i.n(n),l=i(3110),a=i.n(l)()(r());a.push([e.id,"x-refresh-header,x-refresh-footer{display:none}x-refresh-view{box-sizing:border-box;border-style:solid;border-width:0;flex-direction:column;flex-grow:0;flex-shrink:1;min-width:0;min-height:0;display:flex;position:relative}x-refresh-view::part(container),x-refresh-view::part(content),x-refresh-view::part(slot){--lynx-display:inherit}x-refresh-view:not([enable-refresh=false])>x-refresh-header:first-of-type{scroll-snap-align:none;flex-shrink:0;display:flex;position:relative!important}x-refresh-view[enable-refresh=false]::part(placeholder-top){display:none}x-refresh-view>x-refresh-header[x-magnet-enable]:first-of-type{scroll-snap-align:start!important}x-refresh-view>x-refresh-footer[x-magnet-enable]:first-of-type{scroll-snap-align:end!important}x-refresh-view:not([enable-loadmore=false])>x-refresh-footer:first-of-type{scroll-snap-align:none;flex-shrink:0;margin-top:auto;display:flex;position:relative!important}x-refresh-view[enable-loadmore=false]::part(placeholder-bot){display:none}",""]);let o=a.toString()},3420(e,t,i){i.d(t,{A:()=>o});var n=i(245),r=i.n(n),l=i(3110),a=i.n(l)()(r());a.push([e.id,"x-svg{contain:content;display:flex}x-svg::part(img){width:inherit;height:inherit;flex:inherit;min-width:inherit;min-height:inherit;border:inherit;border-radius:inherit;max-width:100%;max-height:100%;filter:inherit}",""]);let o=a.toString()},6916(e,t,i){i.d(t,{A:()=>o});var n=i(245),r=i.n(n),l=i(3110),a=i.n(l)()(r());a.push([e.id,'x-swiper{scroll-snap-type:x mandatory;scrollbar-width:none;contain:content;timeline-scope:--x-swiper-item-0,--x-swiper-item-1,--x-swiper-item-2,--x-swiper-item-3,--x-swiper-item-4;flex-direction:row;justify-content:flex-start;display:flex;overflow:scroll clip;flex-wrap:nowrap!important}x-swiper::part(content){--page-margin:0px;--next-margin:0px;--previous-margin:0px}x-swiper,x-swiper::part(content),x-swiper::part(slot),x-swiper::part(slot-start),x-swiper::part(slot-end){--lynx-display:linear;--lynx-display-toggle:var(--lynx-display-linear)}x-swiper>*,x-swiper>lynx-wrapper>*{flex-shrink:0;flex-grow:calc(var(--lynx-linear-weight)/var(--lynx-linear-weight-sum));flex-basis:var(--lynx-linear-weight-basis);align-self:var(--align-self-column)}x-swiper::-webkit-scrollbar{display:none}x-swiper[vertical]{scroll-snap-type:y mandatory;--lynx-linear-orientation:vertical;--lynx-linear-orientation-toggle:var(--lynx-linear-orientation-vertical);overflow:clip scroll;flex-direction:column!important}x-swiper[bounces]:not([circular])::part(bounce-padding){display:initial}x-swiper-item{scroll-snap-align:start;animation-duration:10ms;flex-shrink:0!important;flex-grow:calc(var(--lynx-linear-weight)/var(--lynx-linear-weight-sum))!important;flex-basis:var(--lynx-linear-weight-basis)!important}x-swiper-item:nth-child(n+20){contain:strict;content-visibility:auto}x-swiper-item:first-child{view-timeline-name:--x-swiper-item-0}x-swiper-item:nth-child(2){view-timeline-name:--x-swiper-item-1}x-swiper-item:nth-child(3){view-timeline-name:--x-swiper-item-2}x-swiper-item:nth-child(4){view-timeline-name:--x-swiper-item-3}x-swiper-item:nth-child(5){view-timeline-name:--x-swiper-item-4}x-swiper>:not(x-swiper-item){display:none}x-swiper>x-swiper-item{view-timeline-axis:inline;height:100%;animation-timeline:view(inline);width:calc(100% - 2*var(--page-margin) - var(--previous-margin) - var(--next-margin))!important}x-swiper[vertical]>x-swiper-item{view-timeline-axis:block;width:100%;animation-timeline:view();height:calc(100% - 2*var(--page-margin) - var(--previous-margin) - var(--next-margin))!important}x-swiper[circular]{scroll-snap-type:none;overflow:hidden clip}x-swiper[circular][vertical]{overflow:clip hidden}x-swiper[indicator-dots]::part(indicator-container){display:none}x-swiper::part(indicator-container){--indicator-size:.6rem;--indicator-container-margin:.5rem;z-index:100;width:100%;height:var(--indicator-size);contain:strict;margin-bottom:var(--indicator-container-margin);--indicator-color:#ffffff4d;--indicator-active-color:white;flex-direction:row;justify-content:center;align-items:stretch;display:flex;position:absolute;bottom:0;left:0;overflow:clip}x-swiper[vertical]::part(indicator-container){left:unset;height:100%;width:var(--indicator-size);margin-bottom:0;margin-right:var(--indicator-container-margin);flex-direction:column;top:0;right:0}x-swiper::part(indicator-item){background-color:var(--indicator-color);flex:0 0 var(--indicator-size);margin:0 calc(var(--indicator-size)/5)0 calc(var(--indicator-size)/5);border-radius:100%}x-swiper[vertical]::part(indicator-item){margin:calc(var(--indicator-size)/5)0 calc(var(--indicator-size)/5)0}x-swiper[mode=carousel]:not([vertical])>x-swiper-item{width:calc(80% - 2*var(--page-margin) - var(--previous-margin) - var(--next-margin))!important}x-swiper[mode=carousel][vertical]>x-swiper-item{height:calc(80% - 2*var(--page-margin) - var(--previous-margin) - var(--next-margin))!important}x-swiper[mode=carousel]:not([circular])>x-swiper-item:last-child{margin-right:20%}@media screen and (-webkit-min-device-pixel-ratio:0){x-swiper[mode=carousel]::part(content):after{content:"";padding-right:20%}}x-swiper[mode=coverflow]::part(content){perspective:200px}x-swiper[mode=coverflow]>x-swiper-item{scroll-snap-align:center;transform-style:preserve-3d;z-index:0;animation-name:x-swiper-coverflow}x-swiper[mode=coverflow]:not([vertical])>x-swiper-item{animation-name:x-swiper-coverflow-horizontal;width:calc(60% - 2*var(--page-margin) - var(--previous-margin) - var(--next-margin))!important}x-swiper[mode=coverflow][vertical]>x-swiper-item{animation-name:x-swiper-coverflow-vertical;height:calc(60% - 2*var(--page-margin) - var(--previous-margin) - var(--next-margin))!important}x-swiper[mode=coverflow]:not([circular]):not([vertical])>x-swiper-item:first-child{margin-left:20%}x-swiper[mode=coverflow]:not([circular]):not([vertical])>x-swiper-item:last-child{margin-right:20%}x-swiper[mode=coverflow][vertical]:not([circular])>x-swiper-item:first-child{margin-top:20%}x-swiper[mode=coverflow][vertical]:not([circular])>x-swiper-item:last-child{margin-bottom:20%}@keyframes x-swiper-coverflow-horizontal{25%{transform:rotateY(-50deg)scale(.8)}45%,55%{z-index:1;transform:rotateY(0)scale(1)}to{transform:rotateY(40deg)scale(.8)}}@keyframes x-swiper-coverflow-vertical{25%{transform:rotateX(-50deg)scale(.8)}45%,55%{z-index:1;transform:rotateX(0)scale(1)}to{transform:rotateX(40deg)scale(.8)}}x-swiper[mode=flat-coverflow]>x-swiper-item{scroll-snap-align:center}x-swiper[mode=flat-coverflow]:not([vertical])>x-swiper-item{width:60%!important}x-swiper[mode=flat-coverflow]:not([circular]):not([vertical])>x-swiper-item:first-child{margin-left:20%}x-swiper[mode=flat-coverflow]:not([circular]):not([vertical])>x-swiper-item:last-child{margin-right:20%}x-swiper[mode=flat-coverflow][vertical]>x-swiper-item{height:60%!important}x-swiper[mode=flat-coverflow][vertical]:not([circular])>x-swiper-item:first-child{margin-top:20%}x-swiper[mode=flat-coverflow][vertical]:not([circular])>x-swiper-item:last-child{margin-bottom:20%}x-swiper[mode=carry]>x-swiper-item{scroll-snap-align:center;animation-name:x-swiper-carry;width:100%!important}@keyframes x-swiper-carry{0%{transform:scale(.6)}45%,55%{z-index:1;transform:scale(1)}to{transform:scale(.6)}}',""]);let o=a.toString()},4478(e,t,i){i.d(t,{A:()=>o});var n=i(245),r=i.n(n),l=i(3110),a=i.n(l)()(r());a.push([e.id,'x-text{overflow-wrap:break-word;background-image:var(--lynx-text-bg-color);color:initial;align-items:stretch;display:flex}x-text>x-text,x-text>lynx-wrapper>x-text{color:inherit}x-text:not(x-text>x-text):not(x-text>lynx-wrapper>x-text){--lynx-text-bg-color:initial}x-text>*{display:none}x-text::part(inner-box){text-overflow:inherit;--lynx-text-bg-color:inherit}x-text>x-text::part(inner-box),x-text>lynx-wrapper>x-text::part(inner-box){display:contents!important}x-text::part(inner-box),inline-text,x-text::part(slot){background-clip:inherit;-webkit-background-clip:inherit}inline-text,inline-image,inline-truncation{display:none}x-text>x-text,x-text>inline-text,inline-text>inline-text,inline-truncation>inline-text,inline-truncation>x-text,x-text>lynx-wrapper>x-text,x-text>lynx-wrapper>inline-text,x-text>lynx-wrapper>x-text,inline-text>lynx-wrapper>inline-text,x-text>lynx-wrapper>*,inline-truncation>lynx-wrapper>inline-text,inline-truncation>lynx-wrapper>x-text{background-clip:inherit;-webkit-background-clip:inherit;display:inline}x-text>inline-image,x-text>x-image,inline-truncation>inline-image,inline-truncation>x-image,inline-text>inline-image,inline-text>x-image,x-text>lynx-wrapper>inline-image,x-text>lynx-wrapper>x-image,inline-truncation>lynx-wrapper>inline-image,inline-truncation>lynx-wrapper>x-image,inline-text>lynx-wrapper>inline-image,inline-text>lynx-wrapper>x-image{display:contents!important}x-text>x-view,x-text>lynx-wrapper>x-view{display:inline-flex!important}x-text>x-view,x-text[x-show-inline-truncation]>inline-truncation,x-text>lynx-wrapper>x-view,x-text[x-show-inline-truncation]>lynx-wrapper>inline-truncation{display:inline-flex}x-text>inline-truncation:first-child,x-text>lynx-wrapper>inline-truncation:first-child{max-width:100%}inline-truncation~inline-truncation{display:none}inline-truncation[x-text-clipped]{flex-direction:row}inline-image::part(img){height:inherit;width:inherit;border:inherit;border-radius:inherit;background-color:inherit;vertical-align:inherit;margin:inherit;display:inline-block}x-text>x-image::part(img),x-text>lynx-wrapper>x-image::part(img),inline-truncation>x-image::part(img),inline-truncation>lynx-wrapper>x-image::part(img){border:inherit;border-radius:inherit;background-color:inherit;vertical-align:inherit;margin:inherit;object-fit:inherit;display:inline-block;height:inherit!important;width:inherit!important;flex:inherit!important;align-self:inherit!important}x-text,inline-text,inline-image,inline-truncation{-webkit-user-select:none;user-select:none}x-text::part(inner-box){width:100%;height:100%;overflow:inherit}x-text[text-maxline]{overflow:hidden}x-text[text-selection],x-text[text-selection]>inline-text,x-text[text-selection]>x-text,x-text[text-selection]>inline-image,x-text[text-selection]>x-image,x-text[text-selection]>inline-truncation,x-text[text-selection]>lynx-wrapper>inline-text,x-text[text-selection]>lynx-wrapper>x-text,x-text[text-selection]>lynx-wrapper>inline-image,x-text[text-selection]>lynx-wrapper>x-image,x-text[text-selection]>lynx-wrapper>inline-truncation{-webkit-user-select:auto;user-select:auto}x-text[x-text-clipped]>[x-text-clipped]:not(inline-truncation),x-text[x-text-clipped]>lynx-wrapper>[x-text-clipped]:not(inline-truncation){display:none!important}x-text[x-text-clipped]:not([tail-color-convert=false])::part(inner-box):after,x-text[x-text-clipped]:not([tail-color-convert=false])::part(inner-box):after{content:"..."}x-text[x-text-clipped][x-text-custom-overflow]::part(inner-box):after,x-text[x-text-clipped][x-text-custom-overflow]::part(inner-box):after{content:""!important}x-text[x-text-clipped]:has(inline-truncation)::part(inner-box):after{content:""!important}x-text[x-text-clipped]:has(inline-truncation)::part(inner-box):after{content:""!important}x-text[text-maxline]::part(inner-box){-webkit-box-orient:vertical;display:-webkit-box}x-text[text-maxline="0"]{display:none}@supports not selector(:has(inline-truncation)){x-text[text-maxline="1"]:not([tail-color-convert=false]):not([x-text-custom-overflow])::part(inner-box){white-space:nowrap;text-overflow:ellipsis}}@supports selector(:has(inline-truncation)){x-text[text-maxline="1"]:not([tail-color-convert=false],:has(inline-truncation))::part(inner-box){text-wrap:nowrap;white-space:nowrap;text-overflow:ellipsis}}x-text[text-maxline="1"]{max-width:-moz-available;max-width:-webkit-fill-available}x-text[text-maxline="1"]:not([tail-color-convert=false])::part(inner-box){display:block}x-text[text-maxline][x-text-custom-overflow]::part(inner-box),x-text[text-maxline][tail-color-convert=false]::part(inner-box){display:block!important}x-text[text-maxline]:has(inline-truncation)::part(inner-box){display:block!important}raw-text{white-space-collapse:preserve-breaks;display:none}x-text>raw-text,inline-text>raw-text,x-text>lynx-wrapper>raw-text,inline-text>lynx-wrapper>raw-text{display:contents!important}raw-text:not(:defined):before{content:attr(text);display:contents}x-text:not(:has(x-text,raw-text)):not(:defined):before{content:attr(text);display:contents}',""]);let o=a.toString()},3388(e,t,i){i.d(t,{A:()=>o});var n=i(245),r=i.n(n),l=i(3110),a=i.n(l)()(r());a.push([e.id,"x-textarea{font-size:14px;display:contents}x-textarea::part(form){display:contents}x-textarea::part(textarea),x-textarea::part(form){width:inherit;height:inherit;font-family:inherit;font-size:inherit;line-height:inherit;flex:inherit;border:inherit;padding:inherit;margin:inherit;caret-color:inherit;direction:inherit;font:inherit;letter-spacing:inherit;text-align:inherit;outline:inherit;background-color:inherit;color:inherit}x-textarea::part(textarea){--placeholder-color:grey;--placeholder-font-weight:normal;--placeholder-font-family:inherit;resize:none}x-textarea::part(textarea)::placeholder{color:var(--placeholder-color);font-size:var(--placeholder-font-size,inherit);font-weight:var(--placeholder-font-weight);font-family:var(--placeholder-font-family)}",""]);let o=a.toString()},5545(e,t,i){i.d(t,{A:()=>o});var n=i(245),r=i.n(n),l=i(3110),a=i.n(l)()(r());a.push([e.id,"x-viewpager-ng,x-viewpager-item-ng{display:none}x-viewpager-ng,x-viewpager-ng>x-viewpager-item-ng,x-viewpager-ng>lynx-wrapper>x-viewpager-item-ng{display:flex}x-viewpager-ng{contain:content;scrollbar-width:0;--lynx-linear-orientation:horizontal;scroll-snap-type:x mandatory;scroll-snap-stop:always;flex-direction:row;width:100%;height:100%;overflow:scroll clip}x-viewpager-ng[allow-horizontal-gesture=false],x-viewpager-ng[enable-scroll=false]{overflow-x:hidden}x-viewpager-ng::-webkit-scrollbar{display:none}x-viewpager-ng::part(content){scroll-snap-align:start}x-viewpager-ng[bounces]::part(bounce-padding){display:flex}@supports not (overflow:clip){x-viewpager-ng{overflow-y:hidden}}x-viewpager-item-ng{contain:content;--flex-grow:0;--flex-shrink:0;--flex-basis:auto;scroll-snap-align:start;scroll-snap-stop:always;flex:none;width:100%;height:100%;position:relative!important}x-viewpager-item-ng:nth-child(n+5){contain:strict}",""]);let o=a.toString()},5308(e,t,i){i.d(t,{A:()=>o});var n=i(245),r=i.n(n),l=i(3110),a=i.n(l)()(r());a.push([e.id,"x-webview{flex-direction:column;display:flex;overflow:hidden}",""]);let o=a.toString()},4727(e,t,i){i.d(t,{A:()=>o});var n=i(245),r=i.n(n),l=i(3110),a=i.n(l)()(r());a.push([e.id,'@property --lynx-display{syntax:"linear|flex";inherits:false;initial-value:linear}@property --lynx-linear-weight-sum{syntax:"<number>";inherits:false;initial-value:1}@property --lynx-linear-weight{syntax:"<number>";inherits:false;initial-value:0}@property --justify-content-column{syntax:"flex-start|flex-end|center|space-between|space-around";inherits:false;initial-value:flex-start}@property --justify-content-column-reverse{syntax:"flex-start|flex-end|center|space-between|space-around";inherits:false;initial-value:flex-start}@property --justify-content-row{syntax:"flex-start|flex-end|center|space-between|space-around";inherits:false;initial-value:flex-start}@property --justify-content-row-reverse{syntax:"flex-start|flex-end|center|space-between|space-around";inherits:false;initial-value:flex-start}@property --align-self-row{syntax:"start|end|center|stretch|auto";inherits:false;initial-value:auto}@property --align-self-column{syntax:"start|end|center|stretch|auto";inherits:false;initial-value:auto}@property --lynx-linear-weight-basis{syntax:"auto|<number>|<length>";inherits:false;initial-value:auto}@property --lynx-linear-orientation{syntax:"<custom-ident>";inherits:false;initial-value:vertical}@property --flex-direction{syntax:"*";inherits:false}@property --flex-wrap{syntax:"*";inherits:false}@property --flex-grow{syntax:"<number>";inherits:false;initial-value:0}@property --flex-shrink{syntax:"<number>";inherits:false;initial-value:1}@property --flex-basis{syntax:"*";inherits:false;initial-value:auto}@property --flex-value{syntax:"*";inherits:false}@property --flex{syntax:"*";inherits:false}@property --linear-justify-content{syntax:"flex-start|flex-end|center|space-between|space-around";inherits:false;initial-value:flex-start}x-view,x-blur-view,scroll-view,x-foldview-ng,x-foldview-slot-ng,x-foldview-header-ng,x-foldview-toolbar-ng,x-foldview-drag-ng,x-text,inline-text,inline-image,inline-truncation,x-viewpager-ng,x-viewpager-item-ng,x-canvas,x-svg,x-image,filter-image,x-input,x-swiper,x-swiper-item,x-textarea,x-list,list-item{box-sizing:border-box;scrollbar-width:none;border-style:solid;border-width:0;min-width:0;min-height:0;display:flex;position:relative;overflow:clip}x-view::--webkit-scrollbar{display:none}x-view,scroll-view,x-foldview-header-ng,x-foldview-ng,x-foldview-slot-drag-ng,x-foldview-slot-ng,x-foldview-toolbar-ng,x-refresh-footer,x-refresh-header,x-refresh-view,x-swiper-item,x-viewpager-item-ng,x-viewpager-ng,list-item{--lynx-display-toggle:var(--lynx-display-linear);--lynx-display-linear:var(--lynx-display-toggle,);--lynx-display-flex:var(--lynx-display-toggle,);--lynx-linear-orientation-toggle:var(--lynx-linear-orientation-vertical);--lynx-linear-orientation-horizontal:var(--lynx-linear-orientation-toggle,);--lynx-linear-orientation-vertical:var(--lynx-linear-orientation-toggle,);--lynx-linear-orientation-horizontal-reverse:var(--lynx-linear-orientation-toggle, );--lynx-linear-orientation-vertical-reverse:var(--lynx-linear-orientation-toggle, );--linear-flex-direction:var(--lynx-linear-orientation-horizontal,row)var(--lynx-linear-orientation-vertical,column)var(--lynx-linear-orientation-horizontal-reverse,row-reverse)var(--lynx-linear-orientation-vertical-reverse,column-reverse);--linear-justify-content:var(--lynx-linear-orientation-horizontal,var(--justify-content-row))var(--lynx-linear-orientation-vertical,var(--justify-content-column))var(--lynx-linear-orientation-horizontal-reverse,var(--justify-content-row-reverse))var(--lynx-linear-orientation-vertical-reverse,var(--justify-content-column-reverse))}x-view,x-foldview-header-ng,x-foldview-ng,x-foldview-slot-drag-ng,x-foldview-slot-ng,x-foldview-toolbar-ng,x-refresh-footer,x-refresh-header,x-refresh-view,x-swiper-item,x-viewpager-item-ng,x-viewpager-ng,list-item{flex-wrap:var(--lynx-display-linear,nowrap)var(--lynx-display-flex,var(--flex-wrap));flex-direction:var(--lynx-display-linear,var(--linear-flex-direction))var(--lynx-display-flex,var(--flex-direction));justify-content:var(--lynx-display-linear,var(--linear-justify-content))}@supports (content-visibility:auto) and (transition-behavior:allow-discrete) and (width:1rex){@container style(--lynx-display:linear){x-view,x-blur-view,scroll-view,x-foldview-ng,x-foldview-slot-ng,x-foldview-header-ng,x-foldview-toolbar-ng,x-foldview-drag-ng,x-text,inline-text,inline-image,inline-truncation,x-viewpager-ng,x-viewpager-item-ng,x-canvas,x-svg,x-image,filter-image,x-input,x-swiper,x-swiper-item,x-textarea,x-list,list-item{flex-shrink:0;flex-grow:calc(var(--lynx-linear-weight)/calc(var(--lynx-linear-weight-sum) + ( 1 - clamp(0,var(--lynx-linear-weight-sum)*999999,1))));flex-basis:var(--lynx-linear-weight-basis)}}@container not style(--lynx-display:linear){x-view,x-blur-view,scroll-view,x-foldview-ng,x-foldview-slot-ng,x-foldview-header-ng,x-foldview-toolbar-ng,x-foldview-drag-ng,x-text,inline-text,inline-image,inline-truncation,x-viewpager-ng,x-viewpager-item-ng,x-canvas,x-svg,x-image,filter-image,x-input,x-swiper,x-swiper-item,x-textarea,x-list,list-item{flex:var(--flex,var(--flex-grow)var(--flex-shrink)var(--flex-basis))}}@container style(--lynx-display:linear) and (style(--lynx-linear-orientation:vertical) or style(--lynx-linear-orientation:vertical-reverse)){x-view,x-blur-view,scroll-view,x-foldview-ng,x-foldview-slot-ng,x-foldview-header-ng,x-foldview-toolbar-ng,x-foldview-drag-ng,x-text,inline-text,inline-image,inline-truncation,x-viewpager-ng,x-viewpager-item-ng,x-canvas,x-svg,x-image,filter-image,x-input,x-swiper,x-swiper-item,x-textarea,x-list,list-item{align-self:var(--align-self-column)}}@container style(--lynx-display:linear) and (style(--lynx-linear-orientation:horizontal) or style(--lynx-linear-orientation:horizontal-reverse)){x-view,x-blur-view,scroll-view,x-foldview-ng,x-foldview-slot-ng,x-foldview-header-ng,x-foldview-toolbar-ng,x-foldview-drag-ng,x-text,inline-text,inline-image,inline-truncation,x-viewpager-ng,x-viewpager-item-ng,x-canvas,x-svg,x-image,filter-image,x-input,x-swiper,x-swiper-item,x-textarea,x-list,list-item{align-self:var(--align-self-row)}}}',""]);let o=a.toString()},1391(e,t,i){i.d(t,{t:()=>n});class n extends EventTarget{#e;constructor(e){super(),this.#e=e}postMessage(...e){console.error("[lynx-web] postMessage not implemented, args:",...e)}dispatchEvent(e){let{rpc:t,sendEventEndpoint:i}=this.#e;return t.invoke(i,[e]),3}__start(){let{rpc:e,receiveEventEndpoint:t}=this.#e;e.registerHandler(t,({type:e,data:t})=>{super.dispatchEvent(new MessageEvent(e,{data:t??{}}))})}}},7103(e,t,i){i.d(t,{F0:()=>j,F6:()=>w,Is:()=>T,JW:()=>l,Ke:()=>r,PC:()=>m,PM:()=>f,Sy:()=>E,VK:()=>v,Ve:()=>o,ZU:()=>u,a$:()=>p,bd:()=>z,eZ:()=>a,g:()=>g,gx:()=>_,hO:()=>s,hh:()=>c,iH:()=>d,jK:()=>k,mB:()=>A,nk:()=>S,o2:()=>x,pT:()=>y,vn:()=>I,vr:()=>b,yn:()=>C,zk:()=>h});var n=i(9282);let r=(0,n.H)("publicComponentEvent",!1,!1),l=(0,n.H)("publishEvent",!1,!1),a=(0,n.H)("switchExposureServiceEndpoint",!1,!1),o=(0,n.H)("updateData",!1,!0),s=(0,n.H)("sendGlobalEventEndpoint",!1,!1),c=(0,n.H)("dispose",!1,!0),p=(0,n.H)("start",!1,!0),x=(0,n.H)("reportError",!1,!1),d=(0,n.H)("callLepusMethod",!1,!0),h=(0,n.H)("__invokeUIMethod",!1,!0),m=(0,n.H)("__setNativeProps",!1,!0),u=(0,n.H)("__getPathInfo",!1,!0),g=(0,n.H)("nativeModulesCall",!1,!0),v=(0,n.H)("napiModulesCall",!1,!0,!0);(0,n.H)("getCustomSections",!1,!0);let f=(0,n.H)("markTiming",!1,!1),w=(0,n.H)("postTimingFlags",!1,!1),y=(0,n.H)("__triggerComponentEvent",!1,!1),b=(0,n.H)("__selectComponent",!1,!0),_=(0,n.H)("dispatchLynxViewEvent",!1,!1),E=(0,n.H)("dispatchNapiModule",!1,!1),k=(0,n.H)("dispatchCoreContextOnBackground",!1,!1),T=(0,n.H)("dispatchJSContextOnMainThread",!1,!1),I=(0,n.H)("__triggerElementMethod",!1,!1),C=(0,n.H)("updateGlobalProps",!1,!1);(0,n.H)("updateI18nResources",!1,!1);let A=(0,n.H)("dispatchI18nResource",!1,!1),S=(0,n.H)("queryComponent",!1,!0),z=(0,n.H)("updateBTSChunkEndpoint",!1,!0),j=(0,n.H)("reload",!1,!1)},9531(e,t,i){i.a(e,async function(e,n){try{i.d(t,{D:()=>y});var r,l=i(8239),a=i(7103),o=i(1391),s=i(3764),c=i(447),p=i(3603),x=i(5885),d=i(1617),h=i(1311),m=i(2698),u=i(6173),g=i(2580),v=i(4333),f=e([s]);function w(){return new Worker(new URL(i.p+i.u("97"),i.b),Object.assign({},{type:"module",name:"lynx-bg"},{type:void 0}))}s=(f.then?(await f)():f)[0],r=Symbol.asyncDispose;class y{static contextIdToBackgroundWorker=[];#t;#i;#n=null;#r=[];#l;jsContext;postTimingFlags;sendGlobalEvent;publicComponentEvent;publishEvent;dispatchI18nResource;updateData;updateGlobalProps;updateBTSChunk;#a;#o;#s;#c;#p=!1;constructor(e,t){this.#a=e,this.#o=t;const i=new l.C(void 0,"main-to-bg");this.#t=i,this.jsContext=new o.t({rpc:this.#t,receiveEventEndpoint:a.Is,sendEventEndpoint:a.jK}),this.#s=new Promise(e=>{this.#c=e}),this.jsContext.__start(),this.#l=this.#t.createCall(a.PM),this.postTimingFlags=this.#t.createCall(a.F6),this.sendGlobalEvent=this.#t.createCall(a.hO),this.publicComponentEvent=this.#t.createCall(a.Ke),this.publishEvent=this.#t.createCall(a.JW),this.dispatchI18nResource=this.#t.createCall(a.mB),this.updateData=this.#t.createCall(a.Ve),this.updateGlobalProps=this.#t.createCall(a.yn),this.updateBTSChunk=this.#t.createCall(a.bd)}startWebWorker(e,t,i,n,r,l){if(this.#i)return;if(void 0!==this.#a){let e=y.contextIdToBackgroundWorker[this.#a];e?e.runningCards+=1:y.contextIdToBackgroundWorker[this.#a]={worker:w(),runningCards:1},this.#i=y.contextIdToBackgroundWorker[this.#a].worker}else this.#i=w();let a=new MessageChannel;this.#i.postMessage({mainThreadMessagePort:a.port2,systemInfo:s.systemInfo,initData:e,globalProps:t,cardType:i,customSections:n,nativeModulesMap:r,napiModulesMap:l,entryTemplateUrl:this.#o.templateUrl},[a.port2]),this.#t.setMessagePort(a.port1)}startBTS(){this.#p||(this.#p=!0,this.#t.registerHandler(a.iH,(e,t)=>{let i=this.#o.mainThreadGlobalThis[e];"function"==typeof i?i.call(this.#o.mainThreadGlobalThis,t):console.error(`Method ${e} not found on mainThreadGlobalThis`)}),this.#t.registerHandler(a.eZ,this.#o.exposureServices.switchExposureService.bind(this.#o.exposureServices)),this.#t.registerHandler(a.o2,(e,t,i)=>{this.#o.reportError(e,i,"app-service.js")}),this.#t.registerHandler(a.gx,(e,t)=>{this.#o.rootDom.dispatchEvent(new CustomEvent(e,{detail:t,bubbles:!0,cancelable:!0,composed:!0}))}),this.#t.registerHandler(a.nk,e=>this.#o.queryComponent(e).then(()=>(this.jsContext.dispatchEvent({type:"__OnDynamicJSSourcePrepared",data:e}),{code:0,detail:{schema:e}}))),(0,v.p)(this.#t,this.#o),(0,x.l)(this.#t,this.#o),(0,c.l)(this.#t,this.#o),(0,u.v)(this.#t,this.#o),(0,g.U)(this.#t,this.#o),(0,d.t)(this.#t,this.#o),(0,p.r)(this.#t,this.#o),(0,h.J)(this.#t,this.#o),(0,m.M)(this.#t,this.#o),this.#t.invoke(a.a$,[]).then(this.#c))}markTiming(e,t,i){this.#r.push({timingKey:e,pipelineId:t,timeStamp:i??performance.now()+performance.timeOrigin}),null===this.#n&&(this.#n=setTimeout(()=>{this.flushTimingInfo()},500))}flushTimingInfo(){this.#l(this.#r),this.#r=[],null!==this.#n&&(clearTimeout(this.#n),this.#n=null)}async [r](){if(await this.#s,await this.#t.invoke(a.hh,[]),void 0!==this.#a){let e=y.contextIdToBackgroundWorker[this.#a];e&&(e.runningCards-=1,0===e.runningCards&&(e.worker.terminate(),y.contextIdToBackgroundWorker[this.#a]=void 0))}else this.#i?.terminate();this.#n&&clearTimeout(this.#n)}}n()}catch(e){n(e)}})},42(e,t,i){i.d(t,{_:()=>l});var n=i(1180);function r(e,t,i){if(t){if((t=t.trim()).endsWith("px"))return Number(t.substring(0,t.length-2));if(t.endsWith("%")){let n=Number(t.substring(0,t.length-1)),{width:r,height:l}=e.getBoundingClientRect();return(i?r:l)*n/100}}return 0}class l{#x=new Map;#d=new Map;#h=[];#m=[];#u=null;#g=new Set;#v=!0;#o;constructor(e){this.#o=e}updateExposureStatus(e,t){for(let t of new Set(e).values())this.#x.has(t)&&this.#f(t),this.#w(t);for(let e of new Set(t).values())this.#f(e)}#y=e=>{e.forEach(({target:e,isIntersecting:t})=>{t&&!this.#g.has(e)?(this.#b(e,!0,null,!0),this.#g.add(e)):!t&&this.#g.has(e)&&(this.#b(e,!1,null,!0),this.#g.delete(e))})};#f(e){let t=this.#x.get(e);if(t){let i=this.#d.get(e);t.unobserve(e),t.disconnect(),this.#x.delete(e),this.#d.delete(e);let n=e.getAttribute("exposure-id");null!=i&&n!==i&&this.#b(e,!1,i,!1)}this.#g.delete(e)}#w(e){let t=parseFloat(e.getAttribute("exposure-area")??"0")/100,i=r(e,e.getAttribute("exposure-screen-margin-top")),l=r(e,e.getAttribute("exposure-screen-margin-right")),a=r(e,e.getAttribute("exposure-screen-margin-bottom")),o=r(e,e.getAttribute("exposure-screen-margin-left")),s=r(e,e.getAttribute("exposure-ui-margin-top")),c=r(e,e.getAttribute("exposure-ui-margin-right")),p=r(e,e.getAttribute("exposure-ui-margin-bottom")),x=r(e,e.getAttribute("exposure-ui-margin-left")),d=e.parentElement;for(;d;)if(d[n.li]){d=d[n.li];break}else d=d.parentElement;let h=d??this.#o.rootDom.parentElement,m=new IntersectionObserver(this.#y,{rootMargin:`${(p?-1:1)*(i-p)}px ${(x?-1:1)*(l-x)}px ${(s?-1:1)*(a-s)}px ${(c?-1:1)*(o-c)}px`,root:h,threshold:t});m.observe(e),this.#x.set(e,m);let u=e.getAttribute("exposure-id");null!=u&&this.#d.set(e,u)}#b(e,t,i,n){i=i??e.getAttribute("exposure-id");let r=e.getAttribute("exposure-scene")??"",l={"unique-id":this.#o.mainThreadGlobalThis.__GetElementUniqueID(e),exposureID:i,exposureScene:r,"exposure-id":i,"exposure-scene":r};if(n){let i=new CustomEvent(t?"uiappear":"uidisappear",{bubbles:!1,composed:!1,cancelable:!0,detail:l});e.dispatchEvent(i)}let a=this.#o.mtsWasmBinding.generateTargetObject(e,this.#o.mainThreadGlobalThis.__GetDataset(e)??{}),o={dataset:a.dataset,...l,type:t?"exposure":"disexposure",target:a,currentTarget:a,detail:{...l,"unique-id":0},timestamp:Date.now()};t?this.#h.push(o):this.#m.push(o),this.#u||(this.#u=setTimeout(()=>{if(this.#h.length>0||this.#m.length>0){let e=this.#h,t=this.#m;this.#h=[],this.#m=[],e.length>0&&this.#o.backgroundThread?.sendGlobalEvent("exposure",[e]),t.length>0&&this.#o.backgroundThread?.sendGlobalEvent("disexposure",[t])}this.#u=null},50))}switchExposureService(e,t){e&&!this.#v?this.#g.forEach(e=>{this.#b(e,!0,e.getAttribute("exposure-id"),!1)}):!e&&this.#v&&t&&this.#g.forEach(e=>{this.#b(e,!1,e.getAttribute("exposure-id"),!1)}),this.#v=e}}},7867(e,t,i){i.d(t,{S:()=>l});var n=i(1180);let r=e=>`${e.locale}_${e.channel}_${e.fallback_url}`;class l{#_;#E;#k;constructor(e,t,i=[]){this.#_=e,this.#E=t,this.#k=i}updateData(e,t){this.#k=this.#k.concat(e);let i=e.find(e=>r(e.options)===r(t));this.#_.dispatchI18nResource(i?.resource)}_I18nResourceTranslation=e=>{let t=this.#k?.find(t=>r(t.options)===r(e));if(this.#_.dispatchI18nResource(t?.resource),t)return t.resource;this.#T(e)};#T(e){let t=new CustomEvent(n.hv,{detail:e,bubbles:!0,composed:!0});this.#E.dispatchEvent(t)}}},3764(e,t,i){i.a(e,async function(e,n){try{i.r(t),i.d(t,{LynxViewInstance:()=>y,systemInfo:()=>w});var r,l=i(1180),a=i(9531),o=i(7867),s=i(6466),c=i(42),p=i(5341),x=i(7300),d=i(6658),h=i(3438),m=i(9521),u=e([a,p,x,m]);[a,p,x,m]=u.then?(await u)():u;let g=window.devicePixelRatio,v=window.screen.availWidth*g,f=window.screen.availHeight*g,w=Object.freeze({...l.RM,pixelRatio:g,pixelWidth:v,pixelHeight:f});r=Symbol.asyncDispose;class y{parentDom;initData;globalprops;templateUrl;rootDom;mtsRealm;mainThreadGlobalThis;mtsWasmBinding;backgroundThread;i18nManager;exposureServices;webElementsLoadingPromises=[];styleReadyPromise;styleReadyResolve;#I=null;#C=new Map;#A;#S;#z;lepusCodeUrls=new Map;constructor(e,t,i,n,r,l,p,x={},d={},h){let m;this.parentDom=e,this.initData=t,this.globalprops=i,this.templateUrl=n,this.rootDom=r,this.mtsRealm=l,this.#S=x,this.#z=d;const u=new Promise(e=>{m=e});this.styleReadyPromise=u,this.styleReadyResolve=m,this.parentDom.style.display="none",this.mainThreadGlobalThis=l.globalWindow,this.backgroundThread=new a.D(p,this),this.i18nManager=new o.S(this.backgroundThread,this.rootDom,h),this.mtsWasmBinding=new s.p(this),this.exposureServices=new c._(this),this.backgroundThread.markTiming("create_lynx_start")}onPageConfigReady(e){if(this.#A)return;this.#A=e;let t="true"==e.enableCSSSelector,i="true"==e.defaultDisplayLinear,n="true"==e.defaultOverflowVisible;Object.assign(this.mtsRealm.globalWindow,(0,p.b)(this.rootDom,this.mtsWasmBinding,t,i,n),(0,x.O)(this)),Object.defineProperty(this.mainThreadGlobalThis,"renderPage",{get:()=>this.#I,set:e=>{this.#I=e,this.onMTSScriptsExecuted()},configurable:!0,enumerable:!0})}onStyleInfoReady(e){this.mtsWasmBinding.wasmContext&&this.mtsWasmBinding.wasmContext.push_style_sheet(m.templateManagerWasm,e,this.templateUrl===e),this.parentDom.style.display="flex",this.styleReadyResolve()}onMTSScriptsLoaded(e,t){this.backgroundThread.markTiming("lepus_execute_start");let i=d.Q.getTemplate(e)?.lepusCode;this.lepusCodeUrls.set(e,i),t||this.mtsRealm.loadScript(i.root)}async onMTSScriptsExecuted(){this.backgroundThread.markTiming("lepus_execute_end"),this.webElementsLoadingPromises.push((0,h.l)()),await Promise.all([...this.webElementsLoadingPromises,this.styleReadyPromise]),this.webElementsLoadingPromises.length=0,this.backgroundThread.markTiming("data_processor_start");let e=this.mainThreadGlobalThis.processData?this.mainThreadGlobalThis.processData?.(this.initData):this.initData;this.backgroundThread.markTiming("data_processor_end"),this.backgroundThread.startWebWorker(e,this.globalprops,d.Q.getTemplate(this.templateUrl).config.cardType,d.Q.getTemplate(this.templateUrl)?.customSections,this.#S,this.#z),this.#I?.(e),this.mainThreadGlobalThis.__FlushElementTree()}async onBTSScriptsLoaded(e){let t=d.Q.getTemplate(e)?.backgroundCode;await this.backgroundThread.updateBTSChunk(e,t),this.backgroundThread.startBTS()}loadUnknownElement(e){e.includes("-")&&!customElements.get(e)&&(this.rootDom.dispatchEvent(new CustomEvent(l.u9,{detail:{tagName:e}})),this.webElementsLoadingPromises.push(customElements.whenDefined(e).then(()=>{})))}queryComponent(e){if(this.#C.has(e))return this.#C.get(e);let t=d.Q.fetchBundle(e,Promise.resolve(this),{enableCSSSelector:this.#A.enableCSSSelector}).then(async()=>{let t=this.lepusCodeUrls.get(e),i=t?.root;if(!i)throw Error(`[lynx-web] Missing root URL for component: ${e}`);let n=await this.mtsRealm.loadScript(i);return n=this.mainThreadGlobalThis.processEvalResult?.(n,e)});return this.#C.set(e,t),t}async updateData(e,t){let i=this.mainThreadGlobalThis.processData?this.mainThreadGlobalThis.processData(e,t):e;this.mainThreadGlobalThis.updatePage?.(i,{processorName:t}),await this.backgroundThread.updateData(i,{processorName:t})}async updateGlobalProps(e){await this.backgroundThread.updateGlobalProps(e)}reportError(e,t,i){this.rootDom.dispatchEvent(new CustomEvent("error",{detail:{sourceMap:{offset:{line:2,col:0}},error:e,release:t,fileName:i},bubbles:!0,cancelable:!0,composed:!0}))}async [r](){await this.backgroundThread[Symbol.asyncDispose]()}}n()}catch(e){n(e)}})},7300(e,t,i){i.a(e,async function(e,n){try{i.d(t,{O:()=>o});var r=i(6658),l=i(3764),a=e([l]);function o(e){let t,i,n,a,o,s,c="";return{__globalProps:e.globalprops,SystemInfo:l.systemInfo,lynx:(t=requestAnimationFrame,i=cancelAnimationFrame,n=setTimeout,a=clearTimeout,o=setInterval,s=clearInterval,{getJSContext:()=>e.backgroundThread.jsContext,requestAnimationFrame:e=>t(e),cancelAnimationFrame:e=>i(e),__globalProps:e.globalprops,getCustomSectionSync:t=>r.Q.getTemplate(e.templateUrl)?.customSections?.[t]?.content,markPipelineTiming:e.backgroundThread.markTiming.bind(e.backgroundThread),SystemInfo:l.systemInfo,setTimeout:n,clearTimeout:a,setInterval:o,clearInterval:s}),__OnLifecycleEvent:t=>{e.backgroundThread.jsContext.dispatchEvent({type:"__OnLifecycleEvent",data:t})},__LoadLepusChunk:t=>{try{return t=e.lepusCodeUrls.get(e.templateUrl)?.[t]??t,e.mtsRealm.loadScriptSync(t),!0}catch(e){return console.error(`failed to load lepus chunk ${t}`,e),!1}},_AddEventListener:()=>{},_ReportError:(t,i)=>{e.reportError?.(t,c,"lepus.js")},_SetSourceMapRelease:e=>c=e?.release,_I18nResourceTranslation:e.i18nManager._I18nResourceTranslation.bind(e.i18nManager),__QueryComponent:(t,i)=>(e.queryComponent(t).then(e=>{i?.({code:0,data:{url:t,evalResult:e}})}),null)}}l=(a.then?(await a)():a)[0],n()}catch(e){n(e)}})},9104(e,t,i){function n(e,t,i,n,r,l,a,o){let s,c=e.rootDom;if(l){let t=e.mtsWasmBinding.getElementByUniqueId(l);if(t)c=t;else{console.error(`[lynx-web] cannot find dom for root_unique_id: ${l}`),o?.(2);return}}else if(n){let t=e.mtsWasmBinding.getElementByComponentId(n);if(t)c=t;else{console.error(`[lynx-web] cannot find dom for component_id: ${n}`),o?.(2);return}}if(0===t)s=i;else if(2===t){let t=e.mtsWasmBinding.getElementByUniqueId(Number(i));return t?void a(t):(console.error(`[lynx-web] cannot find dom for unique_id: ${i}`),o?.(2),void 0)}else{console.error(`[lynx-web] NYI: setnativeprops type ${t}`),o?.(1);return}if(r){let e=null;try{e=c.querySelector(s)}catch(e){console.error(`[lynx-web] cannot use selector: ${s}`),o?.(5);return}e?a(e):(console.error(`[lynx-web] cannot find from for selector ${i} under`,c),o?.(2))}else c.querySelectorAll(s).forEach(e=>{a(e)})}i.d(t,{A:()=>n}),i(1180)},5885(e,t,i){i.d(t,{l:()=>l});var n=i(9104),r=i(7103);function l(e,t){e.registerHandler(r.ZU,(e,i,r,l,a)=>{let o,s=1;return(0,n.A)(t,e,i,r,l,a,e=>{try{let i=[],n=e;for(;n;){let e=n.parentElement,r=e??t.rootDom,l=Array.from(r.children),a=t.mainThreadGlobalThis.__GetTag(n),o="page"===a?0:l.indexOf(n),s=n.getAttribute("id")||void 0,c=n.getAttribute("class")||void 0,p=t.mainThreadGlobalThis.__GetDataset(n);if(i.push({tag:a,id:s,class:c,dataSet:p,index:o}),"page"===a||n.parentNode===t.rootDom)break;n=e}o={path:i},s=0}catch(t){console.error("[lynx-web] getPathInfo: failed with",t,e),s=1}},e=>{s=e}),{code:s,data:o}})}i(1180)},447(e,t,i){i.d(t,{l:()=>a});var n=i(9104);i(1180);var r=i(7103);let l={boundingClientRect:e=>{let t=e.getBoundingClientRect();return{id:e.id,width:t.width,height:t.height,left:t.left,right:t.right,top:t.top,bottom:t.bottom}}};function a(e,t){e.registerHandler(r.zk,(e,i,r,a,o,s)=>{let c,p=1;return(0,n.A)(t,e,i,r,!0,s,e=>{try{let t=l[a],i="function"==typeof e[a];t||i?(c=t?t(e,o):e[a](o),p=0):p=3}catch(t){console.error("[lynx-web] invokeUIMethod: apply method failed with",t,e),p=4}},e=>{p=e}),{code:p,data:c}})}},6173(e,t,i){i.d(t,{v:()=>r});var n=i(7103);function r(e,t){let i=e.createCall(n.Sy);e.registerHandler(n.VK,(e,n,r)=>t.parentDom.onNapiModulesCall?.(e,n,r,i))}},2580(e,t,i){i.d(t,{U:()=>r});var n=i(7103);function r(e,t){e.registerHandler(n.g,(e,i,n)=>t.parentDom.onNativeModulesCall?.(e,i,n))}},4333(e,t,i){i.d(t,{p:()=>r});var n=i(7103);function r(e,t){e.registerHandler(n.F0,()=>{t.parentDom.reload()})}},1617(e,t,i){i.d(t,{t:()=>l});var n=i(9104),r=i(7103);function l(e,t){e.registerHandler(r.vr,(e,i,r)=>{let l=null;return((0,n.A)(t,0,i,"card"===e?"0":e,r,void 0,e=>{l=e}),l)?[t.mainThreadGlobalThis.__GetComponentID(l)]:[]})}i(1180)},3603(e,t,i){i.d(t,{r:()=>l});var n=i(9104),r=i(7103);function l(e,t){e.registerHandler(r.PC,(e,i,r,l,a,o)=>{(0,n.A)(t,e,i,r,l,o,e=>{var t=e;for(let e in a){let i=a[e];"text"===e&&t?.tagName==="X-TEXT"&&t.firstElementChild&&"RAW-TEXT"==t.firstElementChild.tagName&&(t=t.firstElementChild),CSS.supports(e,i)&&t.style?t.style.setProperty(e,i):t.setAttribute(e,i)}})})}},1311(e,t,i){i.d(t,{J:()=>r});var n=i(7103);function r(e,t){e.registerHandler(n.pT,(e,i)=>{let n=t.mtsWasmBinding.getElementByComponentId(e);n?.dispatchEvent(new CustomEvent(e,{...i.eventOption,detail:i.eventDetail}))})}},2698(e,t,i){i.d(t,{M:()=>r});var n=i(7103);function r(e,t){let i=new Map;e.registerHandler(n.vn,(e,n,r)=>{if("animate"===e)switch(r.operation){case 0:i.set(r.id,t.rootDom.querySelector(n)?.animate(r.keyframes,r.timingOptions));break;case 1:i.get(r.id)?.play();break;case 2:i.get(r.id)?.pause();break;case 3:i.get(r.id)?.cancel(),i.delete(r.id);break;case 4:i.get(r.id)?.finish(),i.delete(r.id)}})}i(1180)},6466(e,t,i){i.d(t,{p:()=>a});var n=i(1180);function r(e){let t={};for(let i in e){let n=e[i];("boolean"==typeof n||"number"==typeof n||"string"==typeof n||null===n)&&(t[i]=n)}return t}var l=i(4646);class a{lynxViewInstance;wasmContext;toBeEnabledElement=new Set;toBeDisabledElement=new Set;constructor(e){this.lynxViewInstance=e}markExposureRelatedElementByUniqueId(e,t){e&&(t?(this.toBeDisabledElement.delete(e),this.toBeEnabledElement.add(e)):(this.toBeEnabledElement.delete(e),this.toBeDisabledElement.add(e)))}generateTargetObject(e,t){let i=e[n.Fd];return{dataset:Object.assign(Object.create(null),t),id:e.id||null,uniqueId:i}}getClassList(e){return[...e.classList]}getElementByUniqueId(e){return this.wasmContext?.get_dom_by_unique_id(e)}getElementByComponentId(e){let t=this.wasmContext?.get_unique_id_by_component_id(e);if(void 0!=t)return this.getElementByUniqueId(t)}runWorklet(e,t,i,n,r,l){let a=this.getElementByUniqueId(i),o=this.getElementByUniqueId(r);t.target=this.generateTargetObject(a,n),t.currentTarget=this.generateTargetObject(o,l),t.target.elementRefptr=a,t.currentTarget.elementRefptr=o,this.lynxViewInstance.mainThreadGlobalThis.runWorklet?.(e.value,[t])}publishEvent(e,t,i,n,r,l,a){let o=this.getElementByUniqueId(n),s=this.getElementByUniqueId(l);i.target=this.generateTargetObject(o,r),i.currentTarget=this.generateTargetObject(s,a),t?this.lynxViewInstance?.backgroundThread.publicComponentEvent(t,e,i):this.lynxViewInstance.backgroundThread.publishEvent(e,i)}#j=e=>{let t=e.target,i=new Uint32Array(32),a=0,o=t;for(;o&&o!==this.lynxViewInstance.rootDom;){let e=(0,l.Tj)(o);if(i[a++]=e,a>=i.length){let e=new Uint32Array(2*i.length);e.set(i),i=e}o=o.parentElement}let s=function(e){let t=e.type,i={},l=e.isTrusted,a={},o=e.detail??{};if(t.match(/^transition/))Object.assign(i,{animation_type:"keyframe-animation",animation_name:e.propertyName,new_animator:!0});else if(t.match(/animation/))Object.assign(i,{animation_type:"keyframe-animation",animation_name:e.animationName,new_animator:!0});else if(t.startsWith("touch")){let t=[...e.touches],i=[...e.targetTouches],n=[...e.changedTouches];Object.assign(a,{touches:l?t.map(r):t,targetTouches:l?i.map(r):i,changedTouches:l?n.map(r):n})}else t.startsWith("mouse")?Object.assign(a,{button:e.button,buttons:e.buttons,x:e.x,y:e.y,pageX:e.pageX,pageY:e.pageY,clientX:e.clientX,clientY:e.clientY}):"click"===t&&(o={x:e.x,y:e.y});return{type:n.$4[t]??t,timestamp:e.timeStamp,detail:o,params:i,...a}}(e);this.wasmContext?.common_event_handler(s,i.slice(0,a),s.type)};addEventListener(e){this.lynxViewInstance.rootDom.addEventListener(n.im[e]??e,this.#j,{passive:!0,capture:!0})}postTimingFlags(e,t){this.lynxViewInstance.backgroundThread.postTimingFlags(e,t)}updateExposureStatus(e,t){this.lynxViewInstance.exposureServices.updateExposureStatus(e,t)}enableElementEvent(e,t){e&&e.enableEvent?.(n.im[t]??t)}disableElementEvent(e,t){e&&e.disableEvent?.(n.im[t]??t)}}},5341(e,t,i){i.a(e,async function(e,n){try{i.d(t,{b:()=>c});var r=i(9521),l=i(1180),a=i(4646),o=i(5834),s=e([r]);r=(s.then?(await s)():s)[0];let p=URL.createObjectURL(new Blob([o.A],{type:"text/css"})),x=document.createElement("link");x.rel="stylesheet",x.href=p,x.type="text/css";let{MainThreadWasmContext:d,add_inline_style_raw_string_key:h,set_inline_styles_number_key:m,set_inline_styles_in_str:u,get_inline_styles_in_key_value_vec:g}=r.wasmInstance;function c(e,t,i,n,r){let o;e.append(x.cloneNode(!1));let s=new d(e,t,i);t.wasmContext=s;let c=[],p=(e,t,i)=>{let n=e.map(e=>e[l.Fd]);return s.set_css_id(new Uint32Array(n),t??0,i)},v=(e,i,n,r)=>{let a=e[l.Fd];if("string"==typeof r?s.add_cross_thread_event(a,i,n,r):null==r?(s.add_cross_thread_event(a,i,n,void 0),s.add_run_worklet_event(a,i,n,void 0)):"object"==typeof r&&s.add_run_worklet_event(a,i,n,r),"uiappear"===n||"uidisappear"===n){let e=s.get_dom_by_unique_id(a);e&&t.markExposureRelatedElementByUniqueId(e,null!=r)}};return{__CreateView(e){let t=document.createElement("x-view");return t[l.Fd]=s.create_element_common(e,t),t},__CreateText(e){let t=document.createElement("x-text");return t[l.Fd]=s.create_element_common(e,t),t},__CreateImage(e){let t=document.createElement("x-image");return t[l.Fd]=s.create_element_common(e,t),t},__CreateRawText(e){let t=document.createElement("raw-text");return t.setAttribute("text",e),t[l.Fd]=s.create_element_common(-1,t),t},__CreateScrollView(e){let t=document.createElement("scroll-view");return t[l.Fd]=s.create_element_common(e,t),t},__CreateElement(e,t){let i=document.createElement(l.H1[e]??e);return i[l.Fd]=s.create_element_common(t,i),i},__CreateComponent(e,t,i,n,r){let a=document.createElement("x-view");return a[l.Fd]=s.create_element_common(e,a,i,t),n&&a.setAttribute(l.Pb,n),r&&a.setAttribute("name",r),a},__CreateWrapperElement(e){let t=document.createElement("lynx-wrapper");return t[l.Fd]=s.create_element_common(e,t),t},__CreateList(e,t,i){let n=document.createElement("x-list");return n.componentAtIndex=t,n.enqueueComponent=i,n[l.Fd]=s.create_element_common(e,n),n},__CreatePage(e,t){if(o)return o;let i=document.createElement("div");return i[l.Fd]=s.create_element_common(0,i,t,e),r&&i.setAttribute(l.f7,"true"),n||i.setAttribute(l.Gm,"false"),i.setAttribute("part","page"),o=i,i},__SetClasses:i?a.R5:(e,t)=>{(0,a.R5)(e,t);let i=e[l.Fd];s.update_css_og_style(i,e.getAttribute(l.Pb))},__SetCSSId:p,__AddInlineStyle:(e,t,i)=>("string"!=typeof i&&(i=i.toString()),"number"==typeof t)?m(e,t,i):h(e,t.toString(),i),__SetInlineStyles:(e,t)=>{t?"string"==typeof t?u(e,t)||e.setAttribute("style",t):t?g(e,Object.entries(t).flat().map(e=>e.toString())):e.removeAttribute("style"):e.removeAttribute("style")},__AddConfig:(e,t,i)=>{let n=e[l.Fd];s.get_config(n)[t]=i},__UpdateComponentInfo:(e,t)=>{let i=e[l.Fd],{componentID:n,cssID:r,entry:a,name:o}=t;o?e.setAttribute("name",o):e.removeAttribute("name"),s.update_component_id(i,n),void 0!==r&&p([e],r,a)},__UpdateComponentID:(e,t)=>{let i=e[l.Fd];s.update_component_id(i,t)},__GetConfig:e=>{let t=e[l.Fd];return s.get_config(t)},__SetConfig:(e,t)=>{let i=e[l.Fd];s.set_config(i,t)},__GetElementConfig:e=>{let t=e[l.Fd];return s.get_element_config(t)},__GetComponentID:e=>{let t=e[l.Fd];return s.get_component_id(t)},__SetDataset:(e,t)=>{let i=e[l.Fd];s.set_dataset(i,e,t)},__AddDataset:(e,t,i)=>{let n=e[l.Fd];i?e.setAttribute(`data-${t}`,"object"==typeof i?JSON.stringify(i):i.toString()):e.removeAttribute(`data-${t}`),s.add_dataset(n,t,i)},__GetDataset:e=>{let t=e[l.Fd];return Object.assign(Object.create(null),s.get_dataset(t))},__GetDataByKey:(e,t)=>{let i=e[l.Fd];return s.get_data_by_key(i,t)},__SetAttribute(e,i,n){if("update-list-info"===i){let{insertAction:t,removeAction:i}=n;queueMicrotask(()=>{let n=e.componentAtIndex,r=e.enqueueComponent,l=(0,a.Tj)(e);for(let i of t)n?.(e,l,i.position,0,!1);for(let t of i)r?.(e,l,t.position)})}else null==n?e.removeAttribute(i):e.setAttribute(i,n.toString()),"exposure-id"===i?null!=n?t.markExposureRelatedElementByUniqueId(e,!0):t.markExposureRelatedElementByUniqueId(e,!1):i===l.xW&&c.push(String(n))},__AddEvent:v,__GetEvent:(e,t,i)=>{let n=e[l.Fd];return s.get_event(n,t,i)},__GetEvents:e=>{let t=e[l.Fd];return s.get_events(t)},__SetEvents:(e,t)=>{for(let i of t)v(e,i.type,i.name,i.function)},__GetPageElement:()=>o,__AppendElement:a.vh,__ElementIsEqual:a.pn,__FirstElement:a.vH,__GetChildren:a.yj,__GetParent:a.d6,__InsertElementBefore:a.pi,__LastElement:a.Nu,__NextElement:a.cw,__RemoveElement:a.z3,__ReplaceElement:a.Xk,__GetAttributes:a.GE,__GetAttributeByName:a.li,__ReplaceElements:a.yE,__GetID:a.cb,__SetID:a.wr,__GetTag:a.zm,__AddClass:a.gA,__GetClasses:a.Tq,__MarkTemplateElement:a.uY,__MarkPartElement:a.ZW,__GetTemplateParts:a.$G,__GetElementUniqueID:a.Tj,__UpdateListCallbacks:a.YW,__SwapElement:a.cJ,__FlushElementTree:(i,n)=>{let r=n?.pipelineOptions?.pipelineID,a=t.lynxViewInstance.backgroundThread;o&&!o.parentNode&&""!==o.getAttribute(l.JA)&&(a.markTiming("dispatch_start",r),a.jsContext.dispatchEvent({type:"__OnNativeAppReady",data:void 0}),a.markTiming("layout_start",r),a.markTiming("ui_operation_flush_start",r),e.appendChild(o),e.host.style.display="flex",a.markTiming("ui_operation_flush_end",r),a.markTiming("layout_end",r),a.markTiming("dispatch_end",r),a.flushTimingInfo());let p=c.concat(s.take_timing_flags());requestAnimationFrame(()=>{t.postTimingFlags(p,r)}),c.length=0;let x=[...t.toBeEnabledElement];t.toBeEnabledElement.clear();let d=[...t.toBeDisabledElement];t.toBeDisabledElement.clear(),t?.updateExposureStatus(x,d)}}}n()}catch(e){n(e)}})},4646(e,t,i){i.d(t,{$G:()=>k,GE:()=>u,Nu:()=>p,R5:()=>_,Tj:()=>C,Tq:()=>y,Xk:()=>h,YW:()=>A,ZW:()=>I,cJ:()=>b,cb:()=>v,cw:()=>x,d6:()=>s,gA:()=>E,li:()=>g,pi:()=>c,pn:()=>l,uY:()=>T,vH:()=>a,vh:()=>r,wr:()=>f,yE:()=>m,yj:()=>o,z3:()=>d,zm:()=>w});var n=i(1180);let r=(e,t)=>e.appendChild(t),l=(e,t)=>e===t,a=e=>e.firstElementChild,o=e=>e.children?[...e.children]:null,s=e=>e.parentElement,c=(e,t,i)=>e.insertBefore(t,i),p=e=>e.lastElementChild,x=e=>e.nextElementSibling,d=(e,t)=>e.removeChild(t),h=(e,t)=>t.replaceWith(e),m=(e,t,i)=>{if(t=Array.isArray(t)?t:[t],!i||Array.isArray(i)&&i?.length===0)e.append(...t);else{i=Array.isArray(i)?i:[i];for(let t=1;t<i.length;t++)d(e,i[t]);i[0].replaceWith(...t)}},u=e=>Object.fromEntries(e.getAttributeNames().map(t=>[t,e.getAttribute(t)]).filter(([,e])=>e)),g=(e,t)=>e.getAttribute(t),v=e=>e.getAttribute("id"),f=(e,t)=>t?e.setAttribute("id",t):e.removeAttribute("id"),w=e=>{let t=e.tagName.toLowerCase();return n.vh[t]??t},y=e=>[...e.classList],b=(e,t)=>{let i=document.createElement("div");e.replaceWith(i),t.replaceWith(e),i.replaceWith(t)},_=(e,t)=>{t?e.setAttribute("class",t):e.removeAttribute("class")},E=(e,t)=>{e.classList.add(t)},k=e=>{if(null===e.getAttribute(n.y))return{};let t=C(e),i={};for(let r of e.querySelectorAll(`[${n.oZ}]:not([${n.y}="${t}"] [${n.y}] [${n.oZ}])`)){let e=r.getAttribute(n.oZ);e&&(i[e]=r)}return i},T=e=>{let t=C(e);e.setAttribute(n.y,t.toString())},I=(e,t)=>{e.setAttribute(n.oZ,t)},C=e=>(e&&e[n.Fd])??-1,A=(e,t,i)=>{e.componentAtIndex=t,e.enqueueComponent=i}},3438(e,t,i){i.d(t,{l:()=>n});function n(){return i.e("724").then(i.bind(i,4086)).then(()=>{})}},8239(e,t,i){i.d(t,{C:()=>n});class n{port;name;incId=0;#R=[];#M={};#D=new TextEncoder;#B=new TextDecoder;#G=new Map;constructor(e,t){this.port=e,this.name=t,e&&(e.onmessage=e=>this.#H(e.data))}setMessagePort(e){if(this.port)throw Error("Rpc port already set");for(let t of(this.port=e,this.#R))this.postMessage(t.message,t.detail);this.#R=[],e.onmessage=e=>this.#H(e.data)}postMessage(e,t){this.port?this.port.postMessage(e,t):this.#R.push({message:e,detail:t})}get nextRetId(){return`ret_${this.name}_${this.incId++}`}static createRetEndpoint(e){return{name:e,hasReturn:!1,isSync:!1}}#H=async e=>{let t=this.#G.get(e.name);if(t){let i=e.sync?new Int32Array(e.lock):void 0,r=!e.sync&&e.retId?n.createRetEndpoint(e.retId):void 0;try{let n=await t(...e.data),l,a=[];if(e.sync?l=n:e.hasTransfer?{data:l,transfer:a}=n||{}:l=n,e.sync){if(e.buf){let t=JSON.stringify(l),i=new Uint32Array(e.buf,0,1),n=new Uint8Array(e.buf,4),r=new Uint8Array(e.buf.byteLength-4),{written:a}=this.#D.encodeInto(t,r);i[0]=a,n.set(r,0)}Atomics.store(i,0,1),Atomics.notify(i,0)}else e.retId&&this.invoke(r,[l,!1],a||[])}catch(t){console.error(t),e.sync?(Atomics.store(i,0,2),Atomics.notify(i,0),i[1]=2):this.invoke(r,[void 0,!0])}}else{let t=this.#M[e.name];t?t.push(e):this.#M[e.name]=[e]}};createCall(e){return(...t)=>this.invoke(e,t)}registerHandler(e,t){this.#G.set(e.name,t);let i=this.#M[e.name];if(i?.length)for(let t of(this.#M[e.name]=void 0,i))this.#H(t)}registerHandlerRef(e,t,i){this.registerHandler(e,(...e)=>t[i]?.call(t,...e))}registerHandlerLazy(e,t,i){if(t[i])this.registerHandlerRef(e,t,i);else{let n,r=this;Object.defineProperty(t,i,{get:()=>n,set(l){n=l,l&&r.registerHandlerRef(e,t,i)}})}}removeHandler(e){this.#G.delete(e.name)}invoke(e,t,i=[]){if(e.isSync){let n=e.bufferSize?new SharedArrayBuffer(e.bufferSize+4):void 0,r=new SharedArrayBuffer(4),l=new Int32Array(r);l[0]=0;let a={name:e.name,data:t,sync:!0,lock:r,buf:n};if(this.postMessage(a,{transfer:i}),Atomics.wait(l,0,0),2===l[0])throw null;if(!n)return;{let e=new Uint32Array(n,0,4)[0],t=new Uint8Array(n,4,e),i=new Uint8Array(e);return i.set(t,0),i?JSON.parse(this.#B.decode(i)):void 0}}if(e.hasReturn){let r,l,a;r=new Promise((e,t)=>{l=e,a=t});let o=n.createRetEndpoint(this.nextRetId);this.registerHandler(o,(e,t)=>{t&&a(),l(e)});let s={name:e.name,data:t,sync:!1,retId:o?.name,hasTransfer:e.hasReturnTransfer};return this.postMessage(s,{transfer:i}),r}{let n={name:e.name,data:t,sync:!1};this.postMessage(n,{transfer:i})}}createCallbackify(e,t){let i=this.createCall(e);return(...e)=>{let n=e.at(t);e.splice(t,1),i(...e).then(n)}}}},9282(e,t,i){i.d(t,{H:()=>n});function n(e,t,i=!0,r=!1,l){return{name:e,isSync:t,hasReturn:i,hasReturnTransfer:r,bufferSize:l}}},3110(e){e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var i="",n=void 0!==t[5];return t[4]&&(i+="@supports (".concat(t[4],") {")),t[2]&&(i+="@media ".concat(t[2]," {")),n&&(i+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),i+=e(t),n&&(i+="}"),t[2]&&(i+="}"),t[4]&&(i+="}"),i}).join("")},t.i=function(e,i,n,r,l){"string"==typeof e&&(e=[[null,e,void 0]]);var a={};if(n)for(var o=0;o<this.length;o++){var s=this[o][0];null!=s&&(a[s]=!0)}for(var c=0;c<e.length;c++){var p=[].concat(e[c]);n&&a[p[0]]||(void 0!==l&&(void 0===p[5]||(p[1]="@layer".concat(p[5].length>0?" ".concat(p[5]):""," {").concat(p[1],"}")),p[5]=l),i&&(p[2]&&(p[1]="@media ".concat(p[2]," {").concat(p[1],"}")),p[2]=i),r&&(p[4]?(p[1]="@supports (".concat(p[4],") {").concat(p[1],"}"),p[4]=r):p[4]="".concat(r)),t.push(p))}},t}},245(e){e.exports=function(e){return e[1]}}}]);
|