@lynx-js/web-rsbuild-server-middleware-canary 0.18.3-canary-20251104-fa41cb5c → 0.18.3-canary-20251105-179610ea

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  # @lynx-js/web-rsbuild-server-middleware
2
2
 
3
- ## 0.18.3-canary-20251104082118-fa41cb5ceb2215871e9ad476fd2722303aa5a949
3
+ ## 0.18.3-canary-20251105042949-179610eadaa27885b96280e937d16add750cd5f2
4
4
 
5
5
  ## 0.18.2
6
6
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lynx-js/web-rsbuild-server-middleware-canary",
3
- "version": "0.18.3-canary-20251104-fa41cb5c",
3
+ "version": "0.18.3-canary-20251105-179610ea",
4
4
  "private": false,
5
5
  "description": "a dev server middleware for rsbuild to serve Lynx Web Platform shell project",
6
6
  "keywords": [],
@@ -26,8 +26,8 @@
26
26
  "@rsbuild/core": "1.5.17",
27
27
  "rsbuild-plugin-arethetypeswrong": "0.1.1",
28
28
  "rsbuild-plugin-publint": "0.3.3",
29
- "@lynx-js/web-core": "npm:@lynx-js/web-core-canary@0.18.3-canary-20251104-fa41cb5c",
30
- "@lynx-js/web-elements": "npm:@lynx-js/web-elements-canary@0.8.10-canary-20251104-fa41cb5c"
29
+ "@lynx-js/web-core": "npm:@lynx-js/web-core-canary@0.18.3-canary-20251105-179610ea",
30
+ "@lynx-js/web-elements": "npm:@lynx-js/web-elements-canary@0.8.10-canary-20251105-179610ea"
31
31
  },
32
32
  "scripts": {
33
33
  "build": "rsbuild build"
@@ -1 +1 @@
1
- lynx-view{contain:strict;display:flex}lynx-view[width=auto]{--lynx-view-width:100%;width:var(--lynx-view-width);inline-size:var(--lynx-view-width)}lynx-view[height=auto],lynx-view[width=auto]{contain:content}lynx-view::part(page){width:100%;height:100%}@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 --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-foldivew-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-foldivew-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-grow:var(--flex-grow);flex-shrink:var(--flex-shrink);flex-basis: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)}}}lynx-wrapper{--lynx-display:inherit;--lynx-display-toggle:inherit;--lynx-linear-orientation:inherit;--lynx-linear-orientation-toggle:inherit;display:contents!important}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{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{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]:has(inline-truncation)::part(inner-box):after,x-text[x-text-clipped][x-text-custom-overflow]::part(inner-box):after,x-text[x-text-clipped]:has(inline-truncation)::part(inner-box):after,x-text[x-text-clipped][x-text-custom-overflow]::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]:has(inline-truncation)::part(inner-box),x-text[text-maxline][tail-color-convert=false]::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}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[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}x-foldview-ng{overscroll-behavior:contain;--foldview-header-height:0px;scrollbar-width:none;display:flex;overflow-x:hidden;overflow-y:scroll!important}x-foldivew-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}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}x-canvas{contain:strict;flex-direction:column}x-canvas>*{display:none!important}x-canvas::part(canvas){width:100%;height:100%}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}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}x-input{font-size:14px;display:contents}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)}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}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}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-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)}}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)}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}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:size;contain-intrinsic-size:auto var(--estimated-main-axis-size-px);display:none;position:static;flex:none!important}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}body{margin:0;padding:0}lynx-view{width:100vw;height:100vh}
1
+ lynx-view{contain:strict;display:flex}lynx-view[width=auto]{--lynx-view-width:100%;width:var(--lynx-view-width);inline-size:var(--lynx-view-width)}lynx-view[height=auto],lynx-view[width=auto]{contain:content}lynx-view::part(page){width:100%;height:100%}@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 --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-grow:var(--flex-grow);flex-shrink:var(--flex-shrink);flex-basis: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)}}}lynx-wrapper{--lynx-display:inherit;--lynx-display-toggle:inherit;--lynx-linear-orientation:inherit;--lynx-linear-orientation-toggle:inherit;display:contents!important}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{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{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]:has(inline-truncation)::part(inner-box):after,x-text[x-text-clipped][x-text-custom-overflow]::part(inner-box):after,x-text[x-text-clipped]:has(inline-truncation)::part(inner-box):after,x-text[x-text-clipped][x-text-custom-overflow]::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]:has(inline-truncation)::part(inner-box),x-text[text-maxline][tail-color-convert=false]::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}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[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}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}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}x-canvas{contain:strict;flex-direction:column}x-canvas>*{display:none!important}x-canvas::part(canvas){width:100%;height:100%}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}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}x-input{font-size:14px;display:contents}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)}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}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}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-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)}}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)}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}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:size;contain-intrinsic-size:auto var(--estimated-main-axis-size-px);display:none;position:static;flex:none!important}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}body{margin:0;padding:0}lynx-view{width:100vw;height:100vh}
@@ -304,7 +304,7 @@
304
304
  class="mask placeholder-dom"
305
305
  id="bot-fade-mask"
306
306
  part="bot-fade-mask"
307
- ></div>`)],V=[],$=HTMLElement,e=class extends ${static{U=this}static{const t="function"==typeof Symbol&&Symbol.metadata?Object.create($[Symbol.metadata]??null):void 0;l8(null,z={value:U},W,{kind:"class",name:U.name,metadata:t},null,V),e=U=z.value,t&&Object.defineProperty(U,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:t})}static notToFilterFalseAttributes=new Set(["enable-scroll"]);static scrollInterval=100;#el;scrollTo(...e){let t;if("string"==typeof e[0].offset){let n=parseFloat(e[0].offset);t={left:n,top:n}}else"number"==typeof e[0].offset&&(t={left:e[0].offset,top:e[0].offset});if("number"==typeof e[0].index){let n=e[0].index;if(0===n)this.scrollTop=0,this.scrollLeft=0;else if(n>0&&n<this.childElementCount){let e=this.children.item(n);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.#el),t.start){let n=("number"==typeof t.rate?t.rate:parseFloat(t.rate))*e.scrollInterval/1e3;this.#el=setInterval(e=>{e.scrollBy({left:n,top:n,behavior:"smooth"})},e.scrollInterval,this)}}get[sb](){return this}static{l9(U,V)}},e=U;let sk=Symbol("__src"),sA=Symbol("__src"),sP={loadstart:{code:0,type:"init"},canplay:{code:1,type:"playable"},stalled:{code:2,type:"stalled"},error:{code:3,type:"error"}},s_={stop:{code:0,type:"stopped"},play:{code:1,type:"playing"},pause:{code:2,type:"paused"}};(t=a||(a={}))[t.SrcError=-1]="SrcError",t[t.SrcJsonError=-2]="SrcJsonError",t[t.DownloadError=-3]="DownloadError",t[t.PlayerFinishedError=-4]="PlayerFinishedError",t[t.PlayerLoadingError=-5]="PlayerLoadingError",t[t.PlayerPlaybackError=-6]="PlayerPlaybackError";let sM=(J=[],K=[],Z=[],class{static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(null):void 0;B=[sr("src",!0)],q=[sr("loop",!0)],Y=[sr("pause-on-hide",!0)],l8(this,X={value:l5(function(e){let t;try{t=JSON.parse(e||"")||{}}catch(e){console.error(`JSON.parse src error: ${e}`),t={}}null===e?this.#I.dispatchEvent(new CustomEvent("error",{...sn,detail:{code:a.SrcError,msg:"",from:"res loader",currentSrcID:this.#I[sk]?.id}})):(t?.id===void 0||t?.play_url===void 0)&&this.#I.dispatchEvent(new CustomEvent("error",{...sn,detail:{code:a.SrcJsonError,msg:"",from:"res loader",currentSrcID:this.#I[sk]?.id}})),this.#I[sk]=t,this.#I[sA]=void 0,this.#I.stop()},"#handleSrc")},B,{kind:"method",name:"#handleSrc",static:!1,private:!0,access:{has:e=>#es in e,get:e=>e.#es},metadata:e},null,J),l8(this,G={value:l5(function(e){null!==e?document.addEventListener("visibilitychange",this.#er,{passive:!0}):document.removeEventListener("visibilitychange",this.#er)},"#handlePauseOnHide")},Y,{kind:"method",name:"#handlePauseOnHide",static:!1,private:!0,access:{has:e=>#eo in e,get:e=>e.#eo},metadata:e},null,J),l8(null,null,q,{kind:"field",name:"#handleLoop",static:!1,private:!0,access:{has:e=>#ed in e,get:e=>e.#ed,set:(e,t)=>{e.#ed=t}},metadata:e},K,Z),e&&Object.defineProperty(this,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e})}static observedAttributes=["src","loop","pause-on-hide"];#I=l9(this,J);#ec=sd(()=>this.#I.shadowRoot,"#audio");#eh=sL(this.#ec,"src");get #es(){return X.value}#ed=l9(this,K,sL(this.#ec,"loop"));#er=(l9(this,Z),()=>{"hidden"===document.visibilityState&&this.#I.pause()});get #eo(){return G.value}constructor(e){this.#I=e}});class sR{static observedAttributes=[];#I;#eu;#ec=sd(()=>this.#I.shadowRoot,"#audio");#em=e=>{let t=Number(this.#I.getAttribute("interval")),n=Number.isNaN(t)?0:t;this.#eu=setInterval(()=>{this.#I.dispatchEvent(new CustomEvent("timeupdate",{...sn,detail:{currentTime:this.#ec().currentTime,currentSrcID:this.#I[sk]?.id}}))},n);let a=s_[e.type];this.#I.dispatchEvent(new CustomEvent("playbackstatechanged",{...sn,detail:{code:a?.code,type:a?.type,currentSrcID:this.#I[sk]?.id}}))};#ep=e=>{clearInterval(this.#eu);let t=s_[e.type];this.#I.dispatchEvent(new CustomEvent("playbackstatechanged",{...sn,detail:{code:t?.code,type:t?.type,currentSrcID:this.#I[sk]?.id}}))};#ev=e=>{let t=sP[e.type];this.#I.dispatchEvent(new CustomEvent("loadingstatechanged",{...sn,detail:{code:t?.code,type:t?.type,currentSrcID:this.#I[sk]?.id}}))};#eb=e=>{this.#ev(e);let t=e.target?.error?.code,n=t===MediaError.MEDIA_ERR_DECODE?a.PlayerLoadingError:a.PlayerPlaybackError;t===MediaError.MEDIA_ERR_DECODE&&(n=a.PlayerLoadingError),this.#I.dispatchEvent(new CustomEvent("error",{...sn,detail:{code:n,msg:"",from:"player",currentSrcID:this.#I[sk]?.id}}))};#eg=()=>{let e=null!==this.#I.getAttribute("loop");this.#I.dispatchEvent(new CustomEvent("finished",{...sn,detail:{loop:e,currentSrcID:this.#I[sk]?.id}}))};constructor(e){this.#I=e}connectedCallback(){let e=this.#ec();e.addEventListener("play",this.#em,{passive:!0}),e.addEventListener("pause",this.#ep,{passive:!0}),e.addEventListener("ended",this.#eg,{passive:!0}),e.addEventListener("loadstart",this.#ev,{passive:!0}),e.addEventListener("canplay",this.#ev,{passive:!0}),e.addEventListener("stalled",this.#ev,{passive:!0}),e.addEventListener("error",this.#eb,{passive:!0})}}et=[st("x-audio-tt",[ss,sM,sR],'<audio id="audio"></audio>')],en=[],ea=HTMLElement,(class extends ea{static{ee=this}static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(ea[Symbol.metadata]??null):void 0;l8(null,Q={value:ee},et,{kind:"class",name:ee.name,metadata:e},null,en),ee=Q.value,e&&Object.defineProperty(ee,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e}),l9(ee,en)}#ef=sd(()=>this.shadowRoot,"#audio");#ec=sd(()=>this.shadowRoot,"#audio");#eh=sL(this.#ec,"src");[sk];[sA];#ey=()=>{let e,t=this[sk];if(t&&t.id&&t.play_url){try{e=JSON.parse(this.getAttribute("headers")||"{}")||{}}catch(t){console.error(`JSON.parse headers error: ${t}`),e={}}this[sA]=new Promise(async(n,i)=>{this.dispatchEvent(new CustomEvent("srcloadingstatechanged",{...sn,detail:{code:0,type:"loading",currentSrcID:t.id}}));let l=await fetch(t.play_url,{headers:e});l.ok||(this.dispatchEvent(new CustomEvent("error",{...sn,detail:{code:a.DownloadError,msg:"",from:"res loader",currentSrcID:t.id}})),i()),this.dispatchEvent(new CustomEvent("srcloadingstatechanged",{...sn,detail:{code:1,type:"success",currentSrcID:t.id}}));let s=await l.blob(),r=URL.createObjectURL(s);this.#eh(r),n()})}};play(){return this[sA]||this.#ey(),this[sA]?.then(()=>{let e=this.#ef();e.currentTime=0,e.play()}),{currentSrcID:this[sk]?.id,loadingSrcID:""}}stop(){let e=this.#ef(),t=s_.stop;return this.dispatchEvent(new CustomEvent("playbackstatechanged",{...sn,detail:{code:t?.code,type:t?.type,currentSrcID:this[sk]?.id}})),e.currentTime=0,e.pause(),{currentSrcID:this[sk]?.id}}pause(){return this.#ef().pause(),{currentSrcID:this[sk]?.id}}resume(){return this.#ef().play(),{currentSrcID:this[sk]?.id,loadingSrcID:""}}seek(e){return this.#ef().currentTime=(e.currentTime||0)/1e3,this.dispatchEvent(new CustomEvent("seek",{...sn,detail:{seekresult:1,currentSrcID:this[sk]?.id}})),{currentSrcID:this[sk]?.id}}mute(e){return this.#ef().muted=e.mute,{currentSrcID:this[sk]?.id}}playerInfo(){var e;let t=this.#ef(),n=t.buffered,a=n.end(n.length-1);return{currentSrcID:this[sk]?.id,duration:1e3*t.duration,playbackState:(e=t)?e.paused?2*!e.ended:e.currentTime>0?1:3:-1,currentTime:t.currentTime,cacheTime:a}}prepare(){this[sA]||this.#ey()}setVolume(e){return this.#ef().volume=e.volume,{code:1}}}),ev=[st("x-canvas",[ss,(er=[],eo=[],ed=[],ec=[],eh=[],eu=[],class{static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(null):void 0;ei=[sr("name",!0)],el=[sr("height",!0)],es=[sr("width",!0)],l8(null,null,ei,{kind:"field",name:"handleName",static:!1,private:!1,access:{has:e=>"handleName"in e,get:e=>e.handleName,set:(e,t)=>{e.handleName=t}},metadata:e},er,eo),l8(null,null,el,{kind:"field",name:"handleHeight",static:!1,private:!1,access:{has:e=>"handleHeight"in e,get:e=>e.handleHeight,set:(e,t)=>{e.handleHeight=t}},metadata:e},ed,ec),l8(null,null,es,{kind:"field",name:"handleWidth",static:!1,private:!1,access:{has:e=>"handleWidth"in e,get:e=>e.handleWidth,set:(e,t)=>{e.handleWidth=t}},metadata:e},eh,eu),e&&Object.defineProperty(this,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e})}static observedAttributes=["name","height","width"];#I;#k;#eE=sd(()=>this.#I.shadowRoot,"#canvas");constructor(e){this.#I=e}handleName=l9(this,er,sL(this.#eE,"name"));handleHeight=(l9(this,eo),l9(this,ed,sL(this.#eE,"height")));handleWidth=(l9(this,ec),l9(this,eh,sL(this.#eE,"width")));#eS=(l9(this,eu),e=>{let{contentRect:t}=e[0],n=this.#I.shadowRoot.firstElementChild;if(n){let{height:e,width:a}=t;e*=window.devicePixelRatio,a*=window.devicePixelRatio;let i=new CustomEvent("resize",{...sn,detail:{height:e,width:a}});i.height=e,i.width=a,n.dispatchEvent(i)}});#ew(){this.#k||(this.#k=new ResizeObserver(this.#eS),this.#k.observe(this.#I))}#ex(){this.#k?.disconnect(),this.#k=void 0}connectedCallback(){this.#ew()}dispose(){this.#ex()}})],((e,...t)=>String.raw({raw:e},...t))`<canvas id="canvas" part="canvas"></canvas>`)],eb=[],eg=HTMLElement,class extends eg{static{ep=this}static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(eg[Symbol.metadata]??null):void 0;l8(null,em={value:ep},ev,{kind:"class",name:ep.name,metadata:e},null,eb),ep=em.value,e&&Object.defineProperty(ep,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e}),l9(ep,eb)}};let sN=(ew=[],class{static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(null):void 0;ef=[sr("granularity",!0)],eE=[si("offset")],l8(this,ey={value:l5(function(e){e&&""!==e?this.#eC=parseFloat(e):this.#eC=.01},"#handleGranularity")},ef,{kind:"method",name:"#handleGranularity",static:!1,private:!0,access:{has:e=>#eT in e,get:e=>e.#eT},metadata:e},null,ew),l8(this,eS={value:l5(function(e){e?this.#I.addEventListener("scroll",this.#Q,{passive:!0}):this.#I.removeEventListener("scroll",this.#Q)},"#enableOffsetEvent")},eE,{kind:"method",name:"#enableOffsetEvent",static:!1,private:!0,access:{has:e=>#eO in e,get:e=>e.#eO},metadata:e},null,ew),e&&Object.defineProperty(this,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e})}#I=l9(this,ew);#eC=.01;#eI=0;constructor(e){this.#I=e}static observedAttributes=["granularity"];get #eT(){return ey.value}get #eO(){return eS.value}#Q=()=>{let e=this.#I.scrollTop;(Math.abs(this.#eI-e)>this.#eC||0===this.#I.scrollTop||1>=Math.abs(this.#I.scrollHeight-this.#I.clientHeight-this.#I.scrollTop))&&(this.#eI=e,this.#I.dispatchEvent(new CustomEvent("offset",{...sn,detail:{offset:e,height:this.#I[sD]}})))}}),sD=Symbol("scrollableLength"),sF=Symbol("isHeaderShowing"),sH=Symbol("resizeObserver"),sj=Symbol("slotKid");eT=[st("x-foldview-ng",[ss,sN])],eO=[],eI=HTMLElement,class extends eI{static{eC=this}static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(eI[Symbol.metadata]??null):void 0;l8(null,ex={value:eC},eT,{kind:"class",name:eC.name,metadata:e},null,eO),eC=ex.value,e&&Object.defineProperty(eC,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e})}static notToFilterFalseAttributes=new Set(["scroll-enable"]);[sj];[sH]=new ResizeObserver(e=>{for(let t of e)"X-FOLDVIEW-HEADER-NG"===t.target.tagName?this.#eL=t.contentRect.height:"X-FOLDVIEW-TOOLBAR-NG"===t.target.tagName&&(this.#ek=t.contentRect.height);this[sj]&&(this[sj].style.top=`${this.#eL-this.#ek}px`)});#eL=0;#ek=0;get[sD](){return this.#eL-this.#ek}get[sF](){return this[sD]-this.scrollTop>=1}get scrollTop(){return super.scrollTop}set scrollTop(e){e>this[sD]?e=this[sD]:e<0&&(e=0),super.scrollTop=e}setFoldExpanded(e){let{offset:t,smooth:n=!0}=e,a=parseFloat(t);this.scrollTo({top:a,behavior:n?"smooth":"instant"})}get[sb](){return this}disconnectedCallback(){this[sH]?.disconnect(),this[sH]=void 0}static{l9(eC,eO)}};let sz=(e,t)=>{let n=e.parentElement;if(n?.tagName==="LYNX-WRAPPER"&&(n=n.parentElement),n?.tagName===t)return n};eA=[st("x-foldview-header-ng",[ss])],eP=[],e_=HTMLElement,(class extends e_{static{ek=this}static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(e_[Symbol.metadata]??null):void 0;l8(null,eL={value:ek},eA,{kind:"class",name:ek.name,metadata:e},null,eP),ek=eL.value,e&&Object.defineProperty(ek,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e}),l9(ek,eP)}#eA=void 0;connectedCallback(){let e=sz(this,"X-FOLDVIEW-NG");this.#eA=e?.[sH],this.#eA?.observe(this)}dispose(){this.#eA?.unobserve(this)}}),eN=[st("x-foldivew-slot-drag-ng",[ss])],eD=[],eF=HTMLElement,class extends eF{static{eR=this}static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(eF[Symbol.metadata]??null):void 0;l8(null,eM={value:eR},eN,{kind:"class",name:eR.name,metadata:e},null,eD),eR=eM.value,e&&Object.defineProperty(eR,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e}),l9(eR,eD)}};class sU{#eP=0;#e_=new WeakMap;#eM;#eR=0;#eN=0;#eD=null;#eF;#eH=0;#I;static observedAttributes=[];constructor(e){this.#I=e,this.#I.addEventListener("touchmove",this.#ej,{passive:!1}),this.#I.addEventListener("touchstart",this.#ez,{passive:!0}),this.#I.addEventListener("touchend",this.#eU,{passive:!0})}#eW(e){return this.#eM?.find(t=>{if(t.scrollHeight>t.clientHeight){let n=e<0&&0!==t.scrollTop,a=e>0&&Math.abs(t.scrollHeight-t.clientHeight-t.scrollTop)>1;return n||a}return!1})}#eV(e,t){let n=this.#e_.get(e)??0;n+=t,this.#e_.set(e,n),e.scrollTop=n}#ej=e=>{let t=this.#e$(),{pageY:n,pageX:a}=e.touches.item(0),i=this.#eR-n;if(null===this.#eD){let e=this.#eN-a;this.#eD=Math.abs(i)>Math.abs(e)}if(!1===this.#eD)return;let l=this.#eW(i);t&&(e.cancelable&&e.preventDefault(),t[sF]&&i>0||i<0&&!l||!t[sF]&&!l?(t.scrollBy({top:i,behavior:"smooth"}),this.#eP+=i,t.scrollTop=this.#eP,this.#eF=t):l&&(this.#eF=l,this.#eV(l,i))),this.#eR=n,this.#eH=i};#e$(){let e=this.#I.parentElement;if(e&&"X-FOLDVIEW-NG"===e.tagName)return e}#ez=e=>{let{pageX:t,pageY:n}=e.touches.item(0);for(let e of(this.#eM=document.elementsFromPoint(t,n).filter(e=>this.#I.contains(e)),this.#eR=n,this.#eN=t,this.#eP=this.#e$()?.scrollTop??0,this.#eM))this.#e_.set(e,e.scrollTop);this.#eD=null,this.#eF=void 0};#eU=()=>{if(this.#eD=null,this.#eF){let e=this.#e$();(this.#eF!==e||e[sF])&&this.#eF.scrollBy({top:4*this.#eH,behavior:"smooth"})}}}ez=[st("x-foldview-slot-ng",[ss,sU])],eU=[],eW=HTMLElement,(class extends eW{static{ej=this}static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(eW[Symbol.metadata]??null):void 0;l8(null,eH={value:ej},ez,{kind:"class",name:ej.name,metadata:e},null,eU),ej=eH.value,e&&Object.defineProperty(ej,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e}),l9(ej,eU)}connectedCallback(){this.matches("x-foldview-ng>x-foldview-slot-ng:first-of-type")&&(this.parentElement[sj]=this)}}),eB=[st("x-foldview-toolbar-ng",[ss])],eX=[],eq=HTMLElement,class extends eq{static{e$=this}static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(eq[Symbol.metadata]??null):void 0;l8(null,eV={value:e$},eB,{kind:"class",name:e$.name,metadata:e},null,eX),e$=eV.value,e&&Object.defineProperty(e$,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e}),l9(e$,eX)}#eA=void 0;connectedCallback(){let e=sz(this,"X-FOLDVIEW-NG");this.#eA=e?.[sH],this.#eA?.observe(this)}dispose(){this.#eA?.unobserve(this)}};let sW=(e2=[],e3=[],e4=[],e8=[],e9=[],e5=[],e6=[],e7=[],te=[],class{static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(null):void 0;eJ=[sr("src",!0)],eK=[sr("placeholder",!0)],eQ=[sr("blur-radius",!0)],e0=[sr("crossorigin",!0)],e1=[sr("referrerpolicy",!0)],l8(this,eZ={value:l5(function(e){e&&(new Image().src=e)},"#preloadPlaceholder")},eK,{kind:"method",name:"#preloadPlaceholder",static:!1,private:!0,access:{has:e=>#eB in e,get:e=>e.#eB},metadata:e},null,e2),l8(null,null,eJ,{kind:"field",name:"#handleSrc",static:!1,private:!0,access:{has:e=>#es in e,get:e=>e.#es,set:(e,t)=>{e.#es=t}},metadata:e},e3,e4),l8(null,null,eQ,{kind:"field",name:"#handleBlurRadius",static:!1,private:!0,access:{has:e=>#eX in e,get:e=>e.#eX,set:(e,t)=>{e.#eX=t}},metadata:e},e8,e9),l8(null,null,e0,{kind:"field",name:"#handleCrossorigin",static:!1,private:!0,access:{has:e=>#eq in e,get:e=>e.#eq,set:(e,t)=>{e.#eq=t}},metadata:e},e5,e6),l8(null,null,e1,{kind:"field",name:"#handleReferrerpolicy",static:!1,private:!0,access:{has:e=>#eY in e,get:e=>e.#eY,set:(e,t)=>{e.#eY=t}},metadata:e},e7,te),e&&Object.defineProperty(this,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e})}static observedAttributes=["src","placeholder","blur-radius","crossorigin","referrerpolicy"];#I=l9(this,e2);#eG=sd(()=>this.#I.shadowRoot,"#img");#es=l9(this,e3,sL(this.#eG,"src",e=>e||this.#I.getAttribute("placeholder")));get #eB(){return eZ.value}#eX=(l9(this,e4),l9(this,e8,sc(this.#eG,"--blur-radius",void 0,!0)));#eq=(l9(this,e9),l9(this,e5,sL(this.#eG,"crossorigin")));#eY=(l9(this,e6),l9(this,e7,sL(this.#eG,"referrerpolicy")));#eJ=(l9(this,te),()=>{let e=this.#eG().src,t=this.#I.getAttribute("placeholder");t&&e!==t&&(this.#eG().src=t)});constructor(e){this.#I=e,this.#eG().addEventListener("error",this.#eJ)}connectedCallback(){(null===this.#I.getAttribute("src")||""===this.#I.getAttribute("src"))&&this.#es(null)}}),sV=(tl=[],class{static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(null):void 0;tt=[si("load")],ta=[si("error")],l8(this,tn={value:l5(function(e){e?this.#eG().addEventListener("load",this.#eK,{passive:!0}):this.#eG().removeEventListener("load",this.#eK)},"#enableLoadEvent")},tt,{kind:"method",name:"#enableLoadEvent",static:!1,private:!0,access:{has:e=>#eZ in e,get:e=>e.#eZ},metadata:e},null,tl),l8(this,ti={value:l5(function(e){e?this.#eG().addEventListener("error",this.#eQ,{passive:!0}):this.#eG().removeEventListener("error",this.#eQ)},"#enableErrorEvent")},ta,{kind:"method",name:"#enableErrorEvent",static:!1,private:!0,access:{has:e=>#e0 in e,get:e=>e.#e0},metadata:e},null,tl),e&&Object.defineProperty(this,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e})}static observedAttributes=[];#I=l9(this,tl);#eG=sd(()=>this.#I.shadowRoot,"#img");get #eZ(){return tn.value}get #e0(){return ti.value}#eK=()=>{this.#I.dispatchEvent(new CustomEvent("load",{...sn,detail:{width:this.#eG().naturalWidth,height:this.#eG().naturalHeight}}))};#eQ=()=>{this.#I.dispatchEvent(new CustomEvent("error",{...sn,detail:{}}))};constructor(e){this.#I=e}});to=[st("filter-image",[ss,sW,(eY=[],eG=[],class{static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(null):void 0;l8(null,null,[sr("drop-shadow",!0)],{kind:"field",name:"#handleBlurRadius",static:!1,private:!0,access:{has:e=>#eX in e,get:e=>e.#eX,set:(e,t)=>{e.#eX=t}},metadata:e},eY,eG),e&&Object.defineProperty(this,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e})}static observedAttributes=["drop-shadow"];#I;#eG=sd(()=>this.#I.shadowRoot,"#img");#eX=l9(this,eY,sc(this.#eG,"--drop-shadow",void 0,!0));constructor(e){l9(this,eG),this.#I=e}}),sV],sE({}))],td=[],tc=HTMLElement,(class extends tc{static{tr=this}static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(tc[Symbol.metadata]??null):void 0;l8(null,ts={value:tr},to,{kind:"class",name:tr.name,metadata:e},null,td),tr=ts.value,e&&Object.defineProperty(tr,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e}),l9(tr,td)}}),tm=[st("x-image",[ss,sW,sV],sE({}))],tp=[],tv=HTMLElement,class extends tv{static{tu=this}static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(tv[Symbol.metadata]??null):void 0;l8(null,th={value:tu},tm,{kind:"class",name:tu.name,metadata:e},null,tp),tu=th.value,e&&Object.defineProperty(tu,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e}),l9(tu,tp)}};let s$={submit:"confirm",blur:"lynxblur",focus:"lynxfocus"};ne=[st("x-input",[ss,(tD=[],tF=[],tH=[],tj=[],tz=[],tU=[],tW=[],tV=[],t$=[],tB=[],class{static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(null):void 0;tP=[sr("placeholder",!0)],t_=[sr("placeholder-color",!0)],tM=[sr("placeholder-font-family",!0)],tR=[sr("placeholder-font-size",!0)],tN=[sr("placeholder-font-weight",!0)],l8(null,null,tP,{kind:"field",name:"#handlerPlaceholder",static:!1,private:!0,access:{has:e=>#e1 in e,get:e=>e.#e1,set:(e,t)=>{e.#e1=t}},metadata:e},tD,tF),l8(null,null,t_,{kind:"field",name:"#handlerPlaceholderColor",static:!1,private:!0,access:{has:e=>#e2 in e,get:e=>e.#e2,set:(e,t)=>{e.#e2=t}},metadata:e},tH,tj),l8(null,null,tM,{kind:"field",name:"#handlerPlaceholderFontFamily",static:!1,private:!0,access:{has:e=>#e3 in e,get:e=>e.#e3,set:(e,t)=>{e.#e3=t}},metadata:e},tz,tU),l8(null,null,tR,{kind:"field",name:"#handlerPlaceholderFontSize",static:!1,private:!0,access:{has:e=>#e4 in e,get:e=>e.#e4,set:(e,t)=>{e.#e4=t}},metadata:e},tW,tV),l8(null,null,tN,{kind:"field",name:"#handlerPlaceholderFontWeight",static:!1,private:!0,access:{has:e=>#e8 in e,get:e=>e.#e8,set:(e,t)=>{e.#e8=t}},metadata:e},t$,tB),e&&Object.defineProperty(this,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e})}static observedAttributes=["placeholder","placeholder-color","placeholder-font-family","placeholder-font-size","placeholder-font-weight"];#I;#e9=sd(()=>this.#I.shadowRoot,"#input");#e1=l9(this,tD,sL(this.#e9,"placeholder"));#e2=(l9(this,tF),l9(this,tH,sc(this.#e9,"--placeholder-color",void 0,!0)));#e3=(l9(this,tj),l9(this,tz,sc(this.#e9,"--placeholder-font-family",void 0,!0)));#e4=(l9(this,tU),l9(this,tW,sc(this.#e9,"--placeholder-font-size",void 0,!0)));#e8=(l9(this,tV),l9(this,t$,sc(this.#e9,"--placeholder-font-weight",void 0,!0)));constructor(e){l9(this,tB),this.#I=e}}),(tJ=[],tK=[],tZ=[],tQ=[],t0=[],class{static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(null):void 0;tX=[sr("value",!1)],tY=[sr("disabled",!0)],tG=[sr("autocomplete",!0)],l8(this,tq={value:l5(function(e){if(e){let t=parseFloat(this.#I.getAttribute("maxlength")??"");isNaN(t)||(e=e.substring(0,t))}else e="";let t=this.#e9();t.value!==e&&(t.value=e)},"#handleValue")},tX,{kind:"method",name:"#handleValue",static:!1,private:!0,access:{has:e=>#e5 in e,get:e=>e.#e5},metadata:e},null,tJ),l8(null,null,tY,{kind:"field",name:"#handleDisabled",static:!1,private:!0,access:{has:e=>#e6 in e,get:e=>e.#e6,set:(e,t)=>{e.#e6=t}},metadata:e},tK,tZ),l8(null,null,tG,{kind:"field",name:"#handleAutocomplete",static:!1,private:!0,access:{has:e=>#e7 in e,get:e=>e.#e7,set:(e,t)=>{e.#e7=t}},metadata:e},tQ,t0),e&&Object.defineProperty(this,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e})}static observedAttributes=["value","disabled","autocomplete"];#I=l9(this,tJ);#e9=sd(()=>this.#I.shadowRoot,"#input");get #e5(){return tq.value}#e6=l9(this,tK,sL(this.#e9,"disabled",e=>null!==e?"":null));#e7=(l9(this,tZ),l9(this,tQ,sL(this.#e9,"autocomplete")));constructor(e){l9(this,t0),this.#I=e}}),(tw=[],tx=[],tC=[],tT=[],tO=[],tI=[],tL=[],tk=[],tA=[],class{static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(null):void 0;tb=[sr("confirm-type",!0)],tg=[sr("maxlength",!0)],tf=[sr("readonly",!0)],ty=[sr("type",!0)],tS=[sr("ios-spell-check",!0),sr("spell-check",!0)],l8(this,tE={value:l5(function(e){let t="text",n="text";"digit"===e?t="numeric":"number"===e?t="decimal":"email"===e?t="email":"tel"===e?t="tel":n=e,this.#te(t),this.#tt(n)},"#handleType")},ty,{kind:"method",name:"#handleType",static:!1,private:!0,access:{has:e=>#tn in e,get:e=>e.#tn},metadata:e},null,tw),l8(null,null,tb,{kind:"field",name:"#handlerConfirmType",static:!1,private:!0,access:{has:e=>#ta in e,get:e=>e.#ta,set:(e,t)=>{e.#ta=t}},metadata:e},tx,tC),l8(null,null,tg,{kind:"field",name:"#handlerMaxlength",static:!1,private:!0,access:{has:e=>#ti in e,get:e=>e.#ti,set:(e,t)=>{e.#ti=t}},metadata:e},tT,tO),l8(null,null,tf,{kind:"field",name:"#handleReadonly",static:!1,private:!0,access:{has:e=>#tl in e,get:e=>e.#tl,set:(e,t)=>{e.#tl=t}},metadata:e},tI,tL),l8(null,null,tS,{kind:"field",name:"#handleSpellCheck",static:!1,private:!0,access:{has:e=>#ts in e,get:e=>e.#ts,set:(e,t)=>{e.#ts=t}},metadata:e},tk,tA),e&&Object.defineProperty(this,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e})}static observedAttributes=["confirm-type","maxlength","readonly","type","ios-spell-check","spell-check"];#I=l9(this,tw);#tr="text";#e9=sd(()=>this.#I.shadowRoot,"#input");#ta=l9(this,tx,sL(this.#e9,"enterkeyhint",e=>null===e?"send":e));#ti=(l9(this,tC),l9(this,tT,sL(this.#e9,"maxlength",e=>null===e?"140":e)));#tl=(l9(this,tO),l9(this,tI,sL(this.#e9,"readonly",e=>null!==e?"":null)));#tt=(l9(this,tL),sL(this.#e9,"type"));#te=sL(this.#e9,"inputmode");get #tn(){return tE.value}#ts=l9(this,tk,sL(this.#e9,"spellcheck",e=>null===e?"false":"true"));constructor(e){l9(this,tA),this.#I=e}}),(t5=[],class{static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(null):void 0;t1=[sr("input-filter",!0),si("lynxinput")],t3=[sr("send-composing-input",!0)],t8=[si("selection")],l8(this,t2={value:l5(function(e){let t=this.#e9();e?(t.addEventListener("input",this.#to,{passive:!0}),t.addEventListener("compositionend",this.#td,{passive:!0})):(t.removeEventListener("input",this.#to),t.removeEventListener("compositionend",this.#td))},"#handleEnableInputEvent")},t1,{kind:"method",name:"#handleEnableInputEvent",static:!1,private:!0,access:{has:e=>#tc in e,get:e=>e.#tc},metadata:e},null,t5),l8(this,t4={value:l5(function(e){this.#th=null!==e},"#handleSendComposingInput")},t3,{kind:"method",name:"#handleSendComposingInput",static:!1,private:!0,access:{has:e=>#tu in e,get:e=>e.#tu},metadata:e},null,t5),l8(this,t9={value:l5(function(e){e?this.#e9().addEventListener("select",this.#tm,{passive:!0}):this.#e9().removeEventListener("select",this.#tm)},"#handleEnableSelectionEvent")},t8,{kind:"method",name:"#handleEnableSelectionEvent",static:!1,private:!0,access:{has:e=>#tp in e,get:e=>e.#tp},metadata:e},null,t5),e&&Object.defineProperty(this,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e})}static observedAttributes=["send-composing-input","input-filter"];#I=l9(this,t5);#th=!1;#e9=sd(()=>this.#I.shadowRoot,"#input");#tv=sd(()=>this.#I.shadowRoot,"#form");get #tc(){return t2.value}get #tu(){return t4.value}#tb=e=>{let t=s$[e.type]??e.type;this.#I.dispatchEvent(new CustomEvent(t,{...sn,detail:{value:this.#e9().value}}))};#to=e=>{let t=this.#e9(),n=this.#I.getAttribute("input-filter"),a=n?t.value.replace(RegExp(n,"g"),""):t.value,i=e.isComposing;t.value=a,(!i||this.#th)&&this.#I.dispatchEvent(new CustomEvent("lynxinput",{...sn,detail:{value:a,textLength:a.length,cursor:t.selectionStart,isComposing:i,selectionStart:t.selectionStart,selectionEnd:t.selectionEnd}}))};#td=()=>{let e=this.#e9(),t=this.#I.getAttribute("input-filter"),n=t?e.value.replace(RegExp(t,"g"),""):e.value;e.value=n,this.#th||this.#I.dispatchEvent(new CustomEvent("lynxinput",{...sn,detail:{value:n,textLength:n.length,cursor:e.selectionStart,isComposing:!1,selectionStart:e.selectionStart,selectionEnd:e.selectionEnd}}))};get #tp(){return t9.value}#tm=()=>{let e=this.#e9();this.#I.dispatchEvent(new CustomEvent("selection",{...sn,detail:{selectionStart:e.selectionStart,selectionEnd:e.selectionEnd}}))};#tg=e=>{e.target===this.#e9()&&"number"==typeof e.detail&&e.stopImmediatePropagation()};constructor(e){this.#I=e;const t=this.#e9(),n=this.#tv();t.addEventListener("blur",this.#tb,{passive:!0}),t.addEventListener("focus",this.#tb,{passive:!0}),n.addEventListener("submit",this.#tb,{passive:!0}),n.addEventListener("input",this.#tg,{passive:!0})}})],sS)],nt=[],nn=HTMLElement,(class extends nn{static{t7=this}static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(nn[Symbol.metadata]??null):void 0;l8(null,t6={value:t7},ne,{kind:"class",name:t7.name,metadata:e},null,nt),t7=t6.value,e&&Object.defineProperty(t7,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e}),l9(t7,nt)}#tf=sd(()=>this.shadowRoot,"#input");addText(e){let{text:t}=e,n=this.#tf(),a=n.selectionStart;if(null===a)n.value=t;else{let e=n.value;n.value=e.slice(0,a)+t+e.slice(a)}}controlKeyBoard(e){let{action:t}=e;0===t||1===t?this.focus():(2===t||3===t)&&this.blur()}setValue(e){let t,n=this.#tf();n.value=e.value,(t=e.index)&&n.setSelectionRange(t,t)}getValue(){let e=this.#tf();return{value:e.value,selectionBegin:e.selectionStart,selectionEnd:e.selectionEnd}}sendDelEvent(e){let{action:t,length:n}=e,a=this.#tf();1===t&&(n=1);let i=a.selectionStart;if(null===i){let e=a.value;a.value=a.value.substring(0,e.length-n)}else{let e=a.value;a.value=e.slice(0,i-n)+e.slice(i)}}setInputFilter(e){this.#tf().setAttribute("pattern",e.pattern)}select(){let e=this.#tf();e.setSelectionRange(0,e.value.length)}setSelectionRange(e){this.#tf().setSelectionRange(e.selectionStart,e.selectionEnd)}focus(e){this.#tf().focus(e)}blur(){this.#tf().blur()}connectedCallback(){let e=this.#tf();null===this.getAttribute("confirm-type")&&e.setAttribute("confirm-type","send"),null===this.getAttribute("maxlength")&&e.setAttribute("maxlength","140")}}),nc=[st("x-overlay-ng",[ss,(nr=[],class{static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(null):void 0;na=[sr("events-pass-through",!0)],nl=[sr("visible",!1)],l8(this,ni={value:l5(function(e){null!==e?(this.#ty().addEventListener("click",this.#tE,{passive:!1}),this.#I.addEventListener("click",this.#tE,{passive:!1})):(this.#ty().removeEventListener("click",this.#tE),this.#I.removeEventListener("click",this.#tE))},"#handleEventsPassThrough")},na,{kind:"method",name:"#handleEventsPassThrough",static:!1,private:!0,access:{has:e=>#tS in e,get:e=>e.#tS},metadata:e},null,nr),l8(this,ns={value:l5(function(e){this.#tw=null!==e,this.#tx&&(this.#tw?(this.#ty().showModal(),this.#I.dispatchEvent(new CustomEvent("showoverlay",sn))):(this.#ty().close(),this.#I.dispatchEvent(new CustomEvent("dismissoverlay",sn))))},"#handleVisible")},nl,{kind:"method",name:"#handleVisible",static:!1,private:!0,access:{has:e=>#tC in e,get:e=>e.#tC},metadata:e},null,nr),e&&Object.defineProperty(this,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e})}static observedAttributes=["visible","events-pass-through"];#I=l9(this,nr);#tx=!!window.HTMLDialogElement;#tw=!1;constructor(e){this.#I=e}#ty=sd(()=>this.#I.shadowRoot,"#dialog");get #tS(){return ni.value}get #tC(){return ns.value}#tE=e=>{e.stopPropagation();let t=this.#ty();if(e.target===this.#I||e.target===t){t.close();let{clientX:n,clientY:a}=e,i=document.elementFromPoint(n,a);i?.tagName==="LYNX-VIEW"&&i.shadowRoot&&(i=i.shadowRoot.elementFromPoint(n,a)??i),i?.dispatchEvent(new MouseEvent("click",e)),requestAnimationFrame(()=>{this.#tw&&t.isConnected&&t.showModal()})}};connectedCallback(){this.#tx||(this.#ty().style.display="none")}})],sx)],nh=[],nu=HTMLElement,class extends nu{static{nd=this}static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(nu[Symbol.metadata]??null):void 0;l8(null,no={value:nd},nc,{kind:"class",name:nd.name,metadata:e},null,nh),nd=no.value,e&&Object.defineProperty(nd,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e}),l9(nd,nh)}get[sl](){return this.shadowRoot.firstElementChild}};class sB extends Event{startShowing;fullyShowing;static EventName="x-refresh-view-intersecting";constructor(e,t){super(sB.EventName,{composed:!1,cancelable:!0,bubbles:!0}),this.startShowing=e,this.fullyShowing=t}}class sX{#I;static observedAttributes=[];#tT;constructor(e){this.#I=e}connectedCallback(){if(IntersectionObserver&&!this.#tT){let e=this.#I.parentElement;e&&(this.#tT=new IntersectionObserver(e=>{let t=!1,n=!1;e.forEach(e=>{t=e.intersectionRatio>0,n=e.intersectionRatio>.9}),this.#I.dispatchEvent(new sB(t,n)),n&&this.#I.setAttribute("x-magnet-enable","")},{root:e,threshold:[.1,.9]}),this.#tT.observe(this.#I))}}dispose(){this.#tT&&(this.#tT.disconnect(),this.#tT=void 0)}}function sq(e,t,n,a){let i=!1;return function(l){if(l!==i){let s=e.call(this);l?(se(()=>s.addEventListener(t,n,a)),i=!0):(se(()=>s.removeEventListener(t,n)),i=!1)}}}nv=[st("x-refresh-footer",[ss,sX])],nb=[],ng=HTMLElement,(class extends ng{static{np=this}static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(ng[Symbol.metadata]??null):void 0;l8(null,nm={value:np},nv,{kind:"class",name:np.name,metadata:e},null,nb),np=nm.value,e&&Object.defineProperty(np,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e}),l9(np,nb)}connectedCallback(){this.setAttribute("slot","footer")}}),nE=[st("x-refresh-header",[ss,sX])],nS=[],nw=HTMLElement,(class extends nw{static{ny=this}static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(nw[Symbol.metadata]??null):void 0;l8(null,nf={value:ny},nE,{kind:"class",name:ny.name,metadata:e},null,nS),ny=nf.value,e&&Object.defineProperty(ny,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e}),l9(ny,nS)}connectedCallback(){this.setAttribute("slot","header")}}),nA=[st("x-refresh-view",[ss,(nI=[],class{static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(null):void 0;nx=[si("headeroffset"),si("headershow"),si("footeroffset")],nT=[si("startrefresh"),si("headerreleased"),si("startloadmore"),si("footerreleased")],l8(this,nC={value:l5(function(e,t){this.#tO[t]=e;let{headeroffset:n,headershow:a,footeroffset:i}=this.#tO;n||a||i?this.#tI():this.#tL()},"#handleComplexEventEnableAttributes")},nx,{kind:"method",name:"#handleComplexEventEnableAttributes",static:!1,private:!0,access:{has:e=>#tk in e,get:e=>e.#tk},metadata:e},null,nI),l8(this,nO={value:l5(function(e,t){this.#tO[t]=e;let{startrefresh:n,headerreleased:a,startloadmore:i,footerreleased:l}=this.#tO;a||l||i||n?this.#tA():this.#tP()},"#handleXEnableHeaderOffsetEvent")},nT,{kind:"method",name:"#handleXEnableHeaderOffsetEvent",static:!1,private:!0,access:{has:e=>#t_ in e,get:e=>e.#t_},metadata:e},null,nI),e&&Object.defineProperty(this,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e})}#I=l9(this,nI);static observedAttributes=[];#tM=sd(()=>this.#I,"x-refresh-view > x-refresh-header:first-of-type");#tR=sd(()=>this.#I,"x-refresh-view > x-refresh-footer:first-of-type");constructor(e){this.#I=e,this.#I.addEventListener(sB.EventName,this.#tN)}#tO={headeroffset:!1,headerreleased:!1,startrefresh:!1,footeroffset:!1,headershow:!1,footerreleased:!1,startloadmore:!1};get #tk(){return nC.value}get #t_(){return nO.value}#tD=!1;#tF=!1;#tH=!1;#tj=!1;#tN=e=>{e.stopPropagation(),"X-REFRESH-HEADER"===e.target.tagName?(this.#tD=e.startShowing,this.#tF=e.fullyShowing):(this.#tH=e.startShowing,this.#tj=e.fullyShowing)};#tz=!1;#tA(){this.#tz||(this.#I.addEventListener("touchend",this.#tU),this.#tz=!0)}#tU=()=>{this.#tF?(this.#I.dispatchEvent(new CustomEvent("headerreleased",sn)),this.#I.dispatchEvent(new CustomEvent("startrefresh",{...sn,detail:{isManual:this.#I._nextRefreshIsManual}})),this.#I._nextRefreshIsManual=!0):("true"===this.#I.getAttribute("enable-auto-loadmore")&&this.#tH||this.#tj)&&(this.#I.dispatchEvent(new CustomEvent("footerreleased",sn)),this.#I.dispatchEvent(new CustomEvent("startloadmore",sn)))};#tP(){this.#tz&&this.#I.removeEventListener("touchend",this.#tU)}#tW=!1;#tV=!1;#tI(){this.#tV||(this.#I.addEventListener("touchstart",this.#t$),this.#I.addEventListener("touchend",this.#tB),this.#I.addEventListener("touchcancel",this.#tB),this.#I.shadowRoot.querySelector("#container").addEventListener("scroll",this.#Q))}#tB=()=>{this.#tW=!1};#t$=()=>{this.#tW=!0};#Q=()=>{if(this.#tD&&(this.#tO.headershow||this.#tO.headeroffset)){let e=this.#tM();if(e){let t=parseFloat(getComputedStyle(e).height),n=this.#I.shadowRoot.querySelector("#container").scrollTop;this.#I.dispatchEvent(new CustomEvent("headershow",{...sn,detail:{isDragging:this.#tW,offsetPercent:1-n/t}})),this.#I.dispatchEvent(new CustomEvent("headeroffset",{...sn,detail:{isDragging:this.#tW,offsetPercent:1-n/t}}))}}else if(this.#tH&&this.#tO.footeroffset){let e=this.#tR();if(e){let t=this.#I.shadowRoot.querySelector("#container"),n=t.scrollTop;t.scrollHeight;let a=parseFloat(getComputedStyle(e).height);this.#I.dispatchEvent(new CustomEvent("footeroffset",{...sn,detail:{isDragging:this.#tW,offsetPercent:1-n/a}}))}}};#tL(){this.#tV&&(this.#I.removeEventListener("touchstart",this.#t$),this.#I.removeEventListener("touchend",this.#tB),this.#I.removeEventListener("touchcancel",this.#tB),this.#I.shadowRoot.querySelector("#container").removeEventListener("scroll",this.#Q))}dispose(){this.#tP(),this.#tL()}})],sC)],nP=[],n_=HTMLElement,(class extends n_{static{nk=this}static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(n_[Symbol.metadata]??null):void 0;l8(null,nL={value:nk},nA,{kind:"class",name:nk.name,metadata:e},null,nP),nk=nL.value,e&&Object.defineProperty(nk,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e})}static notToFilterFalseAttributes=new Set(["enable-refresh","enable-loadmore","enable-auto-loadmore"]);_nextRefreshIsManual=!0;finishRefresh(){this.querySelector("x-refresh-view > x-refresh-header:first-of-type")?.removeAttribute("x-magnet-enable")}finishLoadMore(){this.querySelector("x-refresh-view > x-refresh-footer:first-of-type")?.removeAttribute("x-magnet-enable")}autoStartRefresh(){let e=this.shadowRoot.querySelector("#container");this.querySelector("x-refresh-view > x-refresh-header:first-of-type")?.setAttribute("x-magnet-enable",""),this._nextRefreshIsManual=!1,e.scroll({top:0,behavior:"smooth"})}#tX=sd(()=>this.shadowRoot,"#container");#tq=sd(()=>this.shadowRoot,"#content");get scrollTop(){let e=this.#tX(),t=this.#tq();return t.scrollTop+t.offsetTop-e.scrollTop}set scrollTop(e){console.log(e);let t=this.#tX(),n=this.#tq();e>0?n.scrollTop=e:t.scrollTop=n.offsetTop+e}get scrollHeight(){return this.#tq().scrollHeight}get[sb](){return this}static{l9(nk,nP)}}),nW=[st("x-svg",[ss,(nj=[],class{static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(null):void 0;nM=[sr("src",!0)],nN=[sr("content",!0)],nF=[si("load")],l8(this,nR={value:l5(function(e){e?this.#eG().src=e:this.#eG().src=""},"#handleSrc")},nM,{kind:"method",name:"#handleSrc",static:!1,private:!0,access:{has:e=>#es in e,get:e=>e.#es},metadata:e},null,nj),l8(this,nD={value:l5(function(e){if(this.#n&&URL.revokeObjectURL(this.#n),!e){this.#n="";return}let t=new Blob([e],{type:"image/svg+xml;charset=UTF-8"}),n=URL.createObjectURL(t);this.#n=n,this.#eG().src=n},"#handleContent")},nN,{kind:"method",name:"#handleContent",static:!1,private:!0,access:{has:e=>#tY in e,get:e=>e.#tY},metadata:e},null,nj),l8(this,nH={value:l5(function(e){e?this.#eG().addEventListener("load",this.#eK,{passive:!0}):this.#eG().removeEventListener("load",this.#eK)},"#enableLoadEvent")},nF,{kind:"method",name:"#enableLoadEvent",static:!1,private:!0,access:{has:e=>#eZ in e,get:e=>e.#eZ},metadata:e},null,nj),e&&Object.defineProperty(this,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e})}static observedAttributes=["src","content"];#I=l9(this,nj);#n=null;#eG=sd(()=>this.#I.shadowRoot,"#img");get #es(){return nR.value}get #tY(){return nD.value}get #eZ(){return nH.value}#eK=()=>{this.#I.dispatchEvent(new CustomEvent("load",{...sn,detail:{width:this.#eG().naturalWidth,height:this.#eG().naturalHeight}}))};constructor(e){this.#I=e}})],'<img part="img" alt="" loading="lazy" id="img" /> ')],nV=[],n$=HTMLElement,(class extends n${static{nU=this}static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(n$[Symbol.metadata]??null):void 0;l8(null,nz={value:nU},nW,{kind:"class",name:nU.name,metadata:e},null,nV),nU=nz.value,e&&Object.defineProperty(nU,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e}),l9(nU,nV)}}),nq=[st("x-swiper-item",[ss])],nY=[],nG=HTMLElement,(class extends nG{static{nX=this}static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(nG[Symbol.metadata]??null):void 0;l8(null,nB={value:nX},nq,{kind:"class",name:nX.name,metadata:e},null,nY),nX=nB.value,e&&Object.defineProperty(nX,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e}),l9(nX,nY)}}),ay=[st("x-swiper",[ss,(ar=[],ao=[],ad=[],ac=[],ah=[],au=[],am=[],ap=[],av=[],ab=[],class{static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(null):void 0;an=[sr("indicator-color",!0)],aa=[sr("indicator-active-color",!0)],ai=[sr("page-margin",!0)],al=[sr("previous-margin",!0)],as=[sr("next-margin",!0)],l8(null,null,an,{kind:"field",name:"#handleIndicatorColor",static:!1,private:!0,access:{has:e=>#tG in e,get:e=>e.#tG,set:(e,t)=>{e.#tG=t}},metadata:e},ar,ao),l8(null,null,aa,{kind:"field",name:"#handleIndicatorActiveColor",static:!1,private:!0,access:{has:e=>#tJ in e,get:e=>e.#tJ,set:(e,t)=>{e.#tJ=t}},metadata:e},ad,ac),l8(null,null,ai,{kind:"field",name:"#handlePageMargin",static:!1,private:!0,access:{has:e=>#tK in e,get:e=>e.#tK,set:(e,t)=>{e.#tK=t}},metadata:e},ah,au),l8(null,null,al,{kind:"field",name:"#handlePreviousMargin",static:!1,private:!0,access:{has:e=>#tZ in e,get:e=>e.#tZ,set:(e,t)=>{e.#tZ=t}},metadata:e},am,ap),l8(null,null,as,{kind:"field",name:"#handleNextMargin",static:!1,private:!0,access:{has:e=>#tQ in e,get:e=>e.#tQ,set:(e,t)=>{e.#tQ=t}},metadata:e},av,ab),e&&Object.defineProperty(this,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e})}static observedAttributes=["indicator-color","indicator-active-color","page-margin","previous-margin","next-margin"];#I;#t0=0;#t1=sd(()=>this.#I.shadowRoot,"#indicator-container");#t2=sd(()=>this.#I.shadowRoot,"#indicator-style");#t3;constructor(e){l9(this,ab),this.#I=e}#tG=l9(this,ar,sc(this.#t1,"--indicator-color",void 0,!0));#tJ=(l9(this,ao),l9(this,ad,sc(this.#t1,"--indicator-active-color",void 0,!0)));#tK=(l9(this,ac),l9(this,ah,sc(this.#t1,"--page-margin",void 0,!0)));#tZ=(l9(this,au),l9(this,am,sc(this.#t1,"--previous-margin",void 0,!0)));#tQ=(l9(this,ap),l9(this,av,sc(this.#t1,"--next-margin",void 0,!0)));#t4(){let e=this.#I.childElementCount;if(e!==this.#t0){let t="";for(let n=0;n<e;n++)t+=`<div style="animation-timeline:--x-swiper-item-${n};" part="indicator-item"></div>`;if(this.#t1().innerHTML=t,e>5){for(let t=0;t<e;t++)this.#I.children.item(t)?.style.setProperty("view-timeline-name",`--x-swiper-item-${t}`);this.#t2().innerHTML=`:host { timeline-scope: ${Array.from({length:e},(e,t)=>`--x-swiper-item-${t}`).join(",")} !important; }`}}this.#t0=e}connectedCallback(){this.#t4(),this.#t3=new MutationObserver(this.#t4.bind(this)),this.#t3.observe(this.#I,{attributes:!1,characterData:!1,childList:!0,subtree:!1}),CSS.supports("timeline-scope","--a, --b")||(this.#I.addEventListener("change",(({detail:e})=>{let t=e.current,n=this.#I.childElementCount,a=this.#t1();for(let e=0;e<n;e++){let n=a.children[e];n&&(e===t?n.style.setProperty("background-color","var(--indicator-active-color)","important"):n.style.removeProperty("background-color"))}}).bind(this)),se(()=>{this.#t1().children[this.#I.currentIndex]?.style.setProperty("background-color","var(--indicator-active-color)","important")}))}dispose(){this.#t3?.disconnect(),this.#t3=void 0}}),(nQ=[],n0=[],n1=[],class{static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(null):void 0;nJ=[si("transition")],nK=[si("scrollstart"),si("lynxscrollend"),si("change"),si("change-event-for-indicator")],l8(this,nZ={value:l5(function(e,t){this.#tO[t]=e;let{lynxscrollend:n,scrollstart:a,change:i}=this.#tO,l=i||n||a||this.#tO["change-event-for-indicator"];this.#t8.forEach(e=>e(l))},"#enableScrollEventProcessor")},nK,{kind:"method",name:"#enableScrollEventProcessor",static:!1,private:!0,access:{has:e=>#t9 in e,get:e=>e.#t9},metadata:e},null,nQ),l8(null,null,nJ,{kind:"field",name:"#handleEnableTransitionEvent",static:!1,private:!0,access:{has:e=>#t5 in e,get:e=>e.#t5,set:(e,t)=>{e.#t5=t}},metadata:e},n0,n1),e&&Object.defineProperty(this,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e})}static observedAttributes=[];#I=l9(this,nQ);#t6=0;#t7=0;#tW=!1;#V;#ne=!1;constructor(e){this.#I=e}#tq=sd(()=>this.#I.shadowRoot,"#content").bind(this);#t5=l9(this,n0,sq(this.#tq,"scroll",this.#nt,{passive:!0}));#Q(){sp||(clearTimeout(this.#V),this.#V=setTimeout(()=>{this.#et()},100)),this.#ne||(this.#I.dispatchEvent(new CustomEvent("scrollstart",{...sn,detail:{current:this.#t6,isDragged:this.#tW}})),this.#ne=!0);let e=this.#tq(),t=this.#I.isVertical,n=t?e.scrollTop:e.scrollLeft,a=t?e.clientHeight:e.clientWidth,i=t?e.scrollHeight:e.scrollWidth;if(Math.abs(this.#t7-n)>a/4||n<10||Math.abs(n-i)<=a){let e=this.#I.currentIndex;e!==this.#t6&&(this.#I.dispatchEvent(new CustomEvent("change",{...sn,detail:{current:e,isDragged:this.#tW}})),this.#t6=e),this.#t7=n}}#et(){this.#I.dispatchEvent(new CustomEvent("lynxscrollend",{...sn,detail:{current:this.#t6}})),this.#ne=!1}#nn(){this.#tW=!0}#na(){this.#tW=!1}#nt(){this.#I.dispatchEvent(new CustomEvent("transition",{...sn,detail:{dx:this.#tq().scrollLeft,dy:this.#tq().scrollTop}}))}#t8=(l9(this,n1),[sq(this.#tq,"scroll",this.#Q.bind(this),{passive:!0}),sq(this.#tq,"touchstart",this.#nn.bind(this),{passive:!0}),sq(this.#tq,"touchend",this.#na.bind(this),{passive:!0}),sq(this.#tq,"touchcancel",this.#na.bind(this),{passive:!0}),sq(this.#tq,"scrollend",this.#et.bind(this),{passive:!0})]);#tO={scrollstart:!1,lynxscrollend:!1,change:!1,"change-event-for-indicator":!1};get #t9(){return nZ.value}connectedCallback(){this.#t6=parseFloat(this.#I.getAttribute("current")??"0");let e=this.#I.isVertical;this.#t7=e?this.#tq().scrollTop:this.#tq().scrollLeft}}),(at=[],class{static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(null):void 0;n5=[sr("circular",!1)],n7=[sr("vertical",!0)],l8(this,n6={value:l5(function(e){this.#t8.forEach(t=>t(null!=e)),null!==e&&this.#ni({detail:{current:this.#I.currentIndex,isDragged:!1,__isFirstLayout:!0}})},"#handleCircular")},n5,{kind:"method",name:"#handleCircular",static:!1,private:!0,access:{has:e=>#nl in e,get:e=>e.#nl},metadata:e},null,at),l8(this,ae={value:l5(function(e){this.#ns=null!==e},"#handleVerticalChange")},n7,{kind:"method",name:"#handleVerticalChange",static:!1,private:!0,access:{has:e=>#nr in e,get:e=>e.#nr},metadata:e},null,at),e&&Object.defineProperty(this,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e})}static observedAttributes=["circular","vertical"];#I=l9(this,at);#ns=!1;#no;#nd=0;#tq=sd(()=>this.#I.shadowRoot,"#content").bind(this);constructor(e){this.#I=e}#nc=sd(()=>this.#I.shadowRoot,"#circular-start").bind(this);#nh=sd(()=>this.#I.shadowRoot,"#circular-end").bind(this);#ni(e){let t=this.#I.childElementCount;if(t>2){let{current:n,isDragged:a,__isFirstLayout:i}=e.detail;if(0===n||n===t-1||2===n||n===t-2){let e,l=this.#tq(),s=this.#nc().assignedElements(),r=this.#nh().assignedElements(),o=this.#I.firstElementChild,d=this.#I.lastElementChild,c=this.#I.snapDistance;if(0===n?(r.forEach(e=>e.removeAttribute("slot")),d.setAttribute("slot","circular-start"),e=o):n===t-1?(s.forEach(e=>e.removeAttribute("slot")),o.setAttribute("slot","circular-end"),e=d):(s.forEach(e=>e.removeAttribute("slot")),r.forEach(e=>e.removeAttribute("slot")),e=this.#I.children[n]),this.#ns){let t="carousel"===this.#I.getAttribute("mode")?.8*l.clientHeight/2:l.clientHeight/2;this.#nd=e.offsetTop+e.offsetHeight/2-c-t,l.scrollTop=this.#nd}else{let t="carousel"===this.#I.getAttribute("mode")?.8*l.clientWidth/2:l.clientWidth/2;this.#nd=e.offsetLeft+e.offsetWidth/2-c-t,l.scrollLeft=this.#nd}if(!a){let e=this.#I.getAttribute("mode");if(i&&(null===e||"normal"===e||"carousel"===e||"carry"===e))return;this.#nu(i?"instant":"smooth")}}}}#nu(e){let t=this.#tq(),n=this.#I.snapDistance;t.scrollBy({top:this.#ns?n:0,left:this.#ns?0:n,behavior:e??"smooth"})}#t8=[sq(()=>this.#I,"change",this.#ni.bind(this),{passive:!0}),sq(()=>this.#I,"touchmove",this.#nm.bind(this),{passive:!1}),sq(()=>this.#I,"touchend",this.#np.bind(this),{passive:!1}),sq(()=>this.#I,"touchcancel",this.#np.bind(this),{passive:!1})];get #nl(){return n6.value}#nm(e){let t=e.touches.item(0);if(t){let e=this.#ns?t.pageY:t.pageX;if(void 0!==this.#no){this.#nv();let t=this.#no-e;this.#nd+=t}this.#no=e}}#np(e){this.#nb(),this.#nu(),this.#no=void 0}get #nr(){return ae.value}#ng;#nv(){if(!this.#ng){let e=this.#tq();this.#nd=this.#ns?e.scrollTop:e.scrollLeft,this.#ng=setInterval(()=>{this.#ns?e.scrollTop=this.#nd:e.scrollLeft=this.#nd},10)}}#nb(){this.#ng&&(clearInterval(this.#ng),this.#ng=void 0)}dispose(){this.#nb()}}),(n9=[],class{static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(null):void 0;n2=[sr("current",!1)],n4=[sr("interval",!1),sr("autoplay",!1)],l8(this,n3={value:l5(function(e){let t=Number(e);Number.isNaN(t)||(this.#I.currentIndex=t)},"#handleCurrentChange")},n2,{kind:"method",name:"#handleCurrentChange",static:!1,private:!0,access:{has:e=>#nf in e,get:e=>e.#nf},metadata:e},null,n9),l8(this,n8={value:l5(function(){if(null!==this.#I.getAttribute("autoplay")){let e=this.#I.getAttribute("interval"),t=e?parseFloat(e):5e3;Number.isNaN(t)&&(t=5e3),this.#ny(t)}},"#handleAutoplay")},n4,{kind:"method",name:"#handleAutoplay",static:!1,private:!0,access:{has:e=>#nE in e,get:e=>e.#nE},metadata:e},null,n9),e&&Object.defineProperty(this,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e})}static observedAttributes=["current","interval","autoplay"];#I=l9(this,n9);constructor(e){this.#I=e}#nS(){this.#I.currentIndex===this.#I.childElementCount-1?this.#I.circularPlay&&(this.#I.currentIndex=0):this.#I.currentIndex+=1}get #nf(){return n3.value}#nw;#nx=(()=>{this.#nS()}).bind(this);#ny(e){this.#nC(),this.#nw=setInterval(this.#nx,e)}#nC(){this.#nw&&clearInterval(this.#nw)}get #nE(){return n8.value}dispose(){this.#nC()}})],sT)],aE=[],aS=HTMLElement,(class extends aS{static{af=this}static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(aS[Symbol.metadata]??null):void 0;l8(null,ag={value:af},ay,{kind:"class",name:af.name,metadata:e},null,aE),af=ag.value,e&&Object.defineProperty(af,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e})}static notToFilterFalseAttributes=new Set(["smooth-scroll","indicator-dots"]);#tq=sd(()=>this.shadowRoot,"#content").bind(this);#nT(){let e=0,t=Number.MAX_SAFE_INTEGER,n=0;if(this.childElementCount>0){let a=this.#tq(),i=this.isVertical,l=this.childElementCount,s=i?a.scrollTop:a.scrollLeft,r=i?a.clientHeight:a.clientWidth,o=i?this.firstElementChild.offsetHeight:this.firstElementChild.offsetWidth,d=s+("carousel"===this.getAttribute("mode")?.8*r/2:r/2);for(let a=0;a<l;a++){let l=this.children[a];if(l){let s=(i?l.offsetTop:l.offsetLeft)+o/2-d,r=Math.abs(s);r<t&&(e=a,t=r,n=s)}}}return{current:e,minDistanceToMid:t,minOffsetToMid:n}}get currentIndex(){return this.#nT().current}set currentIndex(e){if(this.currentIndex===e)return;let t=null===this.getAttribute("smooth-scroll");this.#nO(e,t?"smooth":"instant")}#nO(e,t){let n=this.children.item(e);if(n){let e=this.isVertical,a=0;a="flat-coverflow"===this.getAttribute("mode")?e?n.offsetTop-n.offsetHeight/3:n.offsetLeft-n.offsetWidth/3:e?n.offsetTop:n.offsetLeft,this.#tq().scrollTo({left:e?0:a,top:e?a:0,behavior:t})}}get snapDistance(){return this.#nT().minOffsetToMid}get isVertical(){return null!==this.getAttribute("vertical")}get circularPlay(){return null!==this.getAttribute("circular")}scrollTo(...e){if(e.length>0&&"object"==typeof e[0]&&null!==e[0]&&"index"in e[0]){let{index:t,smooth:n=!0}=e[0];if("number"==typeof t)return void this.#nO(t,n?"smooth":"instant")}super.scrollTo(...e)}connectedCallback(){let e=this.getAttribute("current");null!==e&&this.#nO(Number(e),"instant")}get[sb](){return this}static{l9(af,aE)}}),aI=[st("inline-image",[(aC=[],class{static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(null):void 0;aw=[sr("src",!0)],l8(this,ax={value:l5(function(e){e?this.#nI().setAttribute("src",e):this.#nI().removeAttribute("src")},"#handleSrc")},aw,{kind:"method",name:"#handleSrc",static:!1,private:!0,access:{has:e=>#es in e,get:e=>e.#es},metadata:e},null,aC),e&&Object.defineProperty(this,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e})}static observedAttributes=["src"];#I=l9(this,aC);constructor(e){this.#I=e}#nI=sd(()=>this.#I.shadowRoot,"#img");get #es(){return ax.value}})],sE({}))],aL=[],ak=HTMLElement,(class extends ak{static{aO=this}static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(ak[Symbol.metadata]??null):void 0;l8(null,aT={value:aO},aI,{kind:"class",name:aO.name,metadata:e},null,aL),aO=aT.value,e&&Object.defineProperty(aO,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e}),l9(aO,aL)}}),a_=[st("inline-text",[])],aM=[],aR=HTMLElement,(class extends aR{static{aP=this}static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(aR[Symbol.metadata]??null):void 0;l8(null,aA={value:aP},a_,{kind:"class",name:aP.name,metadata:e},null,aM),aP=aA.value,e&&Object.defineProperty(aP,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e}),l9(aP,aM)}}),aF=[st("inline-truncation",[])],aH=[],aj=HTMLElement,n=class extends aj{static{aD=this}static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(aj[Symbol.metadata]??null):void 0;l8(null,aN={value:aD},aF,{kind:"class",name:aD.name,metadata:e},null,aH),n=aD=aN.value,e&&Object.defineProperty(aD,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e})}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(n.XEnableCustomTruncation,""),this.setAttribute("slot","inline-truncation")}disconnectedCallback(){this.parentElement?.removeAttribute(n.XEnableCustomTruncation)}static{l9(aD,aH)}},n=aD;let sY=(aW=[],class{static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(null):void 0;az=[sr("text",!0)],l8(this,aU={value:l5(function(e){this.#nL?.remove(),e&&(this.#nL=new Text(e),this.#I.append(this.#nL))},"#handleText")},az,{kind:"method",name:"#handleText",static:!1,private:!0,access:{has:e=>#nk in e,get:e=>e.#nk},metadata:e},null,aW),e&&Object.defineProperty(this,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e})}static observedAttributes=["text"];#I=l9(this,aW);#nL;constructor(e){this.#I=e}get #nk(){return aU.value}});aB=[st("raw-text",[sY])],aX=[],aq=HTMLElement,class extends aq{static{a$=this}static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(aq[Symbol.metadata]??null):void 0;l8(null,aV={value:a$},aB,{kind:"class",name:a$.name,metadata:e},null,aX),a$=aV.value,e&&Object.defineProperty(a$,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e}),l9(a$,aX)}};let sG=(aZ=[],class e{static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(null):void 0;aY=[sr("text-maxlength",!0),sr("text-maxline",!0),sr("tail-color-convert",!0)],aJ=[si("layout")],l8(this,aG={value:l5(function(){this.#nA=parseFloat(this.#I.getAttribute("text-maxlength")??""),this.#nP=parseFloat(this.#I.getAttribute("text-maxline")??""),this.#n_="false"!==this.#I.getAttribute("tail-color-convert"),this.#nA<0&&(this.#nA=NaN),this.#nP<1&&(this.#nP=NaN),isNaN(this.#nP)?this.#nM().style.removeProperty("-webkit-line-clamp"):this.#nM().style.webkitLineClamp=this.#nP.toString(),this.#nR()},"#handleAttributeChange")},aY,{kind:"method",name:"#handleAttributeChange",static:!1,private:!0,access:{has:e=>#nN in e,get:e=>e.#nN},metadata:e},null,aZ),l8(this,aK={value:l5(function(e){this.#nD=e},"#handleEnableLayoutEvent")},aJ,{kind:"method",name:"#handleEnableLayoutEvent",static:!1,private:!0,access:{has:e=>#nF in e,get:e=>e.#nF},metadata:e},null,aZ),e&&Object.defineProperty(this,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e})}static exceedMathLengthAttribute="x-text-clipped";static showInlineTruncation="x-show-inline-truncation";static observedAttributes=["text-maxlength","text-maxline","tail-color-convert"];#nH=(l9(this,aZ),!1);#nj=!1;#nz=new Map;#nU;#k;#nW;#nV;#n$=!1;#nA=NaN;#nP=NaN;#n_=!0;#nD=!1;get #nB(){return!this.#nX&&!this.#n_}get #nX(){if(CSS.supports("selector(:has(inline-truncation))"))return this.#I.matches(":has(inline-truncation)");{let e=this.#I.querySelector("inline-truncation");if(e?.parentElement===this.#I)return!0}return!1}get #nq(){return!isNaN(this.#nP)&&(this.#nX||!this.#n_)}#I;constructor(e){this.#I=e}#nM=sd(()=>this.#I.shadowRoot,"#inner-box");#nY(e){e.forEach(e=>{e.removedNodes.forEach(e=>{this.#nz.delete(e)}),"characterData"===e.type&&void 0!==this.#nz.get(e.target)&&this.#nz.set(e.target,e.target.data)})}#nG(){for(let[t,n]of this.#nz)t.nodeType===Node.TEXT_NODE?void 0!==n&&(t.data=n):t.removeAttribute(e.exceedMathLengthAttribute);this.#I.removeAttribute(e.exceedMathLengthAttribute),this.#I.removeAttribute(e.showInlineTruncation)}#nJ(e){let t=[],n=e;for(;n=n.nextSibling;)(n.nodeType===Node.TEXT_NODE||n.nodeType===Node.ELEMENT_NODE)&&t.push(n);return t}#nR(){!this.#nj||this.#I.matches("x-text>x-text")||this.#nH||(this.#nH=!0,se(async()=>{await this.#nK(),this.#nZ(),this.#nH=!1}))}async #nK(){if(this.#nW?.parentElement?.removeChild(this.#nW),this.#nG(),!this.#nq&&isNaN(this.#nA))return;await document.fonts.ready;let t=this.#nM().getBoundingClientRect();this.#nV=new sJ(this.#I,t);let n=this.#nV,a=(isNaN(this.#nA)?void 0:n.getNodeInfoByCharIndex(this.#nA))?this.#nA:1/0,i=this.#nq&&n.getLineInfo(this.#nP)?n.getLineInfo(this.#nP-1):void 0,l=1/0,s=3;if(i){let{start:a,end:r}=i,o=r-a;if(this.#nX){this.#I.setAttribute(e.showInlineTruncation,"");let i=this.#I.querySelector("inline-truncation").getBoundingClientRect(),s=t.width,o=i.width;if(s>o){l=r-1;let e=document.createRange(),t=n.getNodeInfoByCharIndex(l),a=r-t.start;for(e.setEnd(t.node,a),e.setStart(t.node,a);e.getBoundingClientRect().width<o&&(l-=1)&&(t=n.getNodeInfoByCharIndex(l));)e.setStart(t.node,l-t.start)}else l=a,this.#I.removeAttribute(e.showInlineTruncation)}else o<3?(s=o,l=a):l=r-3}let r=Math.min(a,l);if(r<1/0){let t=n.getNodeInfoByCharIndex(r);if(t){let a=r-t.start,i=t.node,l=[];i.nodeType===Node.TEXT_NODE?(this.#nz.set(i,i.data),i.data=i.data.substring(0,a)):l.push(i),l=l.concat(this.#nJ(i));let o=i.parentElement;for(;o!==this.#I;)l=l.concat(this.#nJ(o)),o=o.parentElement;if(l.forEach(t=>{t.nodeType===Node.TEXT_NODE&&0!==t.data.length?(this.#nz.set(t,t.data),t.data=""):t.nodeType===Node.ELEMENT_NODE&&(this.#nz.set(t,""),t.setAttribute(e.exceedMathLengthAttribute,""))}),this.#nB){let e=(0===a?n.nodelist.at(t.nodeIndex-1)?.parentElement:i.parentElement)??i.parentElement;this.#nW=new Text(Array(s).fill(".").join("")),e.append(this.#nW)}this.#I.setAttribute(e.exceedMathLengthAttribute,"")}this.#nQ(r)}}#n0=e=>{this.#nY(e),this.#nR()};#n1=()=>{if(this.#n$){this.#n$=!1;return}this.#nR()};#nZ(){this.#nj&&((this.#nA||this.#nP)&&!this.#nU&&(this.#nU=new MutationObserver(this.#n0),this.#nU.observe(this.#I,{subtree:!0,childList:!0,attributes:!1,characterData:!0})),this.#nP&&!this.#k&&(this.#k=new ResizeObserver(this.#n1),this.#n$=!0,this.#k.observe(this.#nM(),{box:"content-box"})))}#n2(){this.#nU?.disconnect(),this.#nU=void 0,this.#k?.disconnect(),this.#k=void 0}get #nN(){return aG.value}get #nF(){return aK.value}#nQ(e){if(!this.#nD)return;let t=new Proxy(this,{get:(t,n)=>"lineCount"===n?(t.#nV||(t.#nV=new sJ(t.#I,t.#I.getBoundingClientRect())),t.#nV.getLineCount()):"lines"===n?new Proxy(t,{get(t,n){let a=parseFloat(n.toString());if(!isNaN(a)){t.#nV||(t.#nV=new sJ(t.#I,t.#I.getBoundingClientRect()));let n=t.#nV.getLineInfo(a);if(n)return new Proxy(n,{get(t,n){switch(n){case"start":case"end":return t[n];case"ellipsisCount":if(void 0!==e&&e>=t.start&&e<t.end)return t.end-e;return 0}}})}}}):void 0});this.#I.dispatchEvent(new CustomEvent("layout",{...sn,detail:t}))}dispose(){this.#n2()}connectedCallback(){this.#nj=!0,this.#nF(this.#nD),this.#nN(),se(()=>{this.#nQ()})}});class sJ{#n3=[{start:0}];#n4=[];#n8=[];#I;#n9;nodelist;constructor(e,t){this.#I=e,this.nodelist=new sK(this.#I),this.#n9=t}#n5(e){if(e.node.nodeType!==Node.TEXT_NODE)return 1;{let{rect:t,rectIndex:n}=e,a=e.node,i=document.createRange();i.selectNode(a);for(let e=0;e<a.data.length;e++){i.setEnd(a,e);let l=i.getClientRects().item(n);if(l&&l.right===t.right)return e}return a.data.length}}#n6(e){if(this.#n4[e])return;let{left:t}=this.#n9,n=this.#n4[this.#n4.length-1],a=n?.[n.length-1],i=a?.nodeIndex?a?.nodeIndex+1:0;for(let n=i,a;(a=this.#n7(n))&&e>=this.#n4.length;n++){let e,{node:n}=a;if(n.nodeType===Node.ELEMENT_NODE)e=n.getClientRects();else{let t=document.createRange();t.selectNode(n),e=t.getClientRects()}if(e.length>0){let n=this.#n4[this.#n4.length-1],i=e[0];if(.2>Math.abs(i.left-t)||!n?this.#n4.push([{...a,rect:i,rectIndex:0}]):n.push({...a,rect:i,rectIndex:0}),e.length>1)for(let n=1;n<e.length;n++){let l=e[n];(l.left!==i.left||l.bottom!==i.bottom)&&(.2>Math.abs(l.left-t)?this.#n4.push([{...a,rect:l,rectIndex:n}]):this.#n4[this.#n4.length-1].push({...a,rect:l,rectIndex:n}))}}}}getLineCount(){return this.#n6(1/0),this.#n4.length}getLineInfo(e){if(this.#n6(e+1),e<this.#n4.length){let t=e>0?this.#n3[e-1]??{}:void 0,n=this.#n3[e]??{},a=e<this.#n4.length-1?this.#n3[e+1]??{}:void 0;if(void 0===n.start){let a=this.#n4[e-1],i=a[a.length-1],l=this.#n5(i),s=i.start+l;t&&(t.end=s),n.start=s+1}if(void 0===n.end){let t=this.#n4[e],i=t[t.length-1];if(e===this.#n4.length-1){let e=i.node.nodeType===Node.TEXT_NODE?i.node.data.length:1;n.end=i.start+e}else{let e=this.#n5(i);n.end=i.start+e,a.start=n.end+1}}return n}}#n7(e){let t=this.#n8.length-1,n=this.#n8[t],a=n?n.start+n.length:0;for(let t=this.#n8.length,n;(n=this.nodelist.at(t))&&e>=this.#n8.length;t++){let e=n.nodeType===Node.ELEMENT_NODE?1:n.data.length,i={node:n,length:e,start:a,nodeIndex:t};this.#n8.push(i)}return this.#n8[e]}getNodeInfoByCharIndex(e){let t,n=0,a=this.#n8.length-1;for(;n<=a;){let i=Math.floor((n+a)/2),l=this.#n8[i],s=l.node,r=s.nodeType===Node.TEXT_NODE?s.data.length:1,o=l.start;if(e>=o&&e<o+r){t=l;break}e<o?a=i-1:n=i+1}if(t)return t;for(let t=this.#n8.length,n;n=this.#n7(t);t++)if(e<n.start+n.length)return n}}class sK{#ae=[];#at;constructor(e){this.#at=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.#ae[e]||this.#an(e),this.#ae[e]}#an(e){let t=null;for(;e>=this.#ae.length&&(t=this.#at.nextNode());){this.#ae.push(t);break}}}a1=[st("x-text",[ss,sG,sY],'<div id="inner-box" part="inner-box"><slot part="slot"></slot><slot name="inline-truncation"></slot></div>')],a2=[],a3=HTMLElement,(class extends a3{static{a0=this}static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(a3[Symbol.metadata]??null):void 0;l8(null,aQ={value:a0},a1,{kind:"class",name:a0.name,metadata:e},null,a2),a0=aQ.value,e&&Object.defineProperty(a0,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e})}static notToFilterFalseAttributes=new Set(["tail-color-convert"]);superScrollIntoView(e){super.scrollIntoView(e)}scrollIntoView(e){"object"==typeof e&&e.scrollIntoViewOptions?this.dispatchEvent(new CustomEvent(sf.eventName,{bubbles:!0,composed:!0,detail:e.scrollIntoViewOptions})):super.scrollIntoView(e)}[sl]=this;static{l9(a0,a2)}}),iG=[st("x-textarea",[ss,(a7=[],ie=[],it=[],ia=[],ii=[],il=[],is=[],ir=[],io=[],id=[],class{static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(null):void 0;a4=[sr("placeholder-color",!0)],a8=[sr("placeholder-font-size",!0)],a9=[sr("placeholder-font-weight",!0)],a5=[sr("placeholder-font-family",!0)],a6=[sr("placeholder",!0)],l8(null,null,a4,{kind:"field",name:"#updatePlaceholderColor",static:!1,private:!0,access:{has:e=>#aa in e,get:e=>e.#aa,set:(e,t)=>{e.#aa=t}},metadata:e},a7,ie),l8(null,null,a8,{kind:"field",name:"#updatePlaceholderFontSize",static:!1,private:!0,access:{has:e=>#ai in e,get:e=>e.#ai,set:(e,t)=>{e.#ai=t}},metadata:e},it,ia),l8(null,null,a9,{kind:"field",name:"#updatePlaceholderFontWeight",static:!1,private:!0,access:{has:e=>#al in e,get:e=>e.#al,set:(e,t)=>{e.#al=t}},metadata:e},ii,il),l8(null,null,a5,{kind:"field",name:"#updatePlaceholderFontFamily",static:!1,private:!0,access:{has:e=>#as in e,get:e=>e.#as,set:(e,t)=>{e.#as=t}},metadata:e},is,ir),l8(null,null,a6,{kind:"field",name:"#handlePlaceholder",static:!1,private:!0,access:{has:e=>#ar in e,get:e=>e.#ar,set:(e,t)=>{e.#ar=t}},metadata:e},io,id),e&&Object.defineProperty(this,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e})}static observedAttributes=["placeholder","placeholder-color","placeholder-font-size","placeholder-font-weight","placeholder-font-family"];#ao=sd(()=>this.#I.shadowRoot,"#textarea");#aa=l9(this,a7,sc(this.#ao,"--placeholder-color",void 0,!0));#ai=(l9(this,ie),l9(this,it,sc(this.#ao,"--placeholder-font-size",void 0,!0)));#al=(l9(this,ia),l9(this,ii,sc(this.#ao,"--placeholder-font-weight",void 0,!0)));#as=(l9(this,il),l9(this,is,sc(this.#ao,"--placeholder-font-family",void 0,!0)));#ar=(l9(this,ir),l9(this,io,sL(this.#ao,"placeholder")));#I=l9(this,id);constructor(e){this.#I=e}}),(iv=[],ib=[],ig=[],iy=[],iE=[],iS=[],iw=[],ix=[],iC=[],iT=[],class{static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(null):void 0;ic=[sr("confirm-type",!0)],ih=[sr("maxlength",!0)],iu=[sr("readonly",!0)],im=[sr("ios-spell-check",!0)],ip=[sr("show-soft-input-onfocus",!0)],l8(null,null,ic,{kind:"field",name:"#handlerConfirmType",static:!1,private:!0,access:{has:e=>#ta in e,get:e=>e.#ta,set:(e,t)=>{e.#ta=t}},metadata:e},iv,ib),l8(null,null,ih,{kind:"field",name:"#handlerMaxlength",static:!1,private:!0,access:{has:e=>#ti in e,get:e=>e.#ti,set:(e,t)=>{e.#ti=t}},metadata:e},ig,iy),l8(null,null,iu,{kind:"field",name:"#handleReadonly",static:!1,private:!0,access:{has:e=>#tl in e,get:e=>e.#tl,set:(e,t)=>{e.#tl=t}},metadata:e},iE,iS),l8(null,null,im,{kind:"field",name:"#handleSpellCheck",static:!1,private:!0,access:{has:e=>#ts in e,get:e=>e.#ts,set:(e,t)=>{e.#ts=t}},metadata:e},iw,ix),l8(null,null,ip,{kind:"field",name:"#handleShowSoftInputOnfocus",static:!1,private:!0,access:{has:e=>#ad in e,get:e=>e.#ad,set:(e,t)=>{e.#ad=t}},metadata:e},iC,iT),e&&Object.defineProperty(this,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e})}static observedAttributes=["confirm-type","maxlength","readonly","type","ios-spell-check","spell-check","show-soft-input-onfocus"];#I;#ac=sd(()=>this.#I.shadowRoot,"#textarea");#ta=l9(this,iv,sL(this.#ac,"enterkeyhint",e=>null===e?"send":e));#ti=(l9(this,ib),l9(this,ig,sL(this.#ac,"maxlength",e=>null===e?"140":e)));#tl=(l9(this,iy),l9(this,iE,sL(this.#ac,"readonly",e=>null!==e?"":null)));#ts=(l9(this,iS),l9(this,iw,sL(this.#ac,"spellcheck",e=>null===e?"false":"true")));#ad=(l9(this,ix),l9(this,iC,sL(this.#ac,"virtualkeyboardpolicy",e=>null===e?"manual":"auto")));constructor(e){l9(this,iT),this.#I=e}}),(iM=[],iR=[],iN=[],iD=[],iF=[],iH=[],ij=[],class{static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(null):void 0;iO=[sr("confirm-enter",!0)],iL=[sr("disabled",!0)],ik=[sr("max-height",!0)],iA=[sr("min-height",!0)],iP=[sr("value",!1)],l8(this,iI={value:l5(function(e){this.#ah=null!==e},"#handleConfirmEnter")},iO,{kind:"method",name:"#handleConfirmEnter",static:!1,private:!0,access:{has:e=>#au in e,get:e=>e.#au},metadata:e},null,iM),l8(this,i_={value:l5(function(e){if(e){let t=parseFloat(this.#I.getAttribute("maxlength")??"");isNaN(t)||(e=e.substring(0,t))}else e="";let t=this.#ac();t.value!==e&&(t.value=e)},"#handleValue")},iP,{kind:"method",name:"#handleValue",static:!1,private:!0,access:{has:e=>#e5 in e,get:e=>e.#e5},metadata:e},null,iM),l8(null,null,iL,{kind:"field",name:"#handleDisabled",static:!1,private:!0,access:{has:e=>#e6 in e,get:e=>e.#e6,set:(e,t)=>{e.#e6=t}},metadata:e},iR,iN),l8(null,null,ik,{kind:"field",name:"#handleMaxHeight",static:!1,private:!0,access:{has:e=>#am in e,get:e=>e.#am,set:(e,t)=>{e.#am=t}},metadata:e},iD,iF),l8(null,null,iA,{kind:"field",name:"#handleMinHeight",static:!1,private:!0,access:{has:e=>#ap in e,get:e=>e.#ap,set:(e,t)=>{e.#ap=t}},metadata:e},iH,ij),e&&Object.defineProperty(this,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e})}static observedAttributes=["confirm-enter","disabled","max-height","min-height","value"];#I=l9(this,iM);#ac=sd(()=>this.#I.shadowRoot,"#textarea");#tv=sd(()=>this.#I.shadowRoot,"#form");#ah=!1;get #au(){return iI.value}#e6=l9(this,iR,sL(this.#ac,"disabled",e=>null!==e?"":null));#am=(l9(this,iN),l9(this,iD,sc(this.#ac,"max-height")));#ap=(l9(this,iF),l9(this,iH,sc(this.#ac,"min-height")));get #e5(){return i_.value}#av=(l9(this,ij),e=>{this.#ah&&"Enter"===e.key&&this.#tv().dispatchEvent(new SubmitEvent("submit"))});constructor(e){this.#I=e,this.#ac().addEventListener("keyup",this.#av)}}),(iX=[],class{static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(null):void 0;iz=[sr("input-filter",!0),si("lynxinput")],iW=[sr("send-composing-input",!0)],i$=[si("selection")],l8(this,iU={value:l5(function(e){let t=this.#ac();e?(t.addEventListener("input",this.#to,{passive:!0}),t.addEventListener("compositionend",this.#td,{passive:!0})):(t.removeEventListener("input",this.#to),t.removeEventListener("compositionend",this.#td))},"#handleEnableConfirmEvent")},iz,{kind:"method",name:"#handleEnableConfirmEvent",static:!1,private:!0,access:{has:e=>#ab in e,get:e=>e.#ab},metadata:e},null,iX),l8(this,iV={value:l5(function(e){this.#th=null!==e},"#handleSendComposingInput")},iW,{kind:"method",name:"#handleSendComposingInput",static:!1,private:!0,access:{has:e=>#tu in e,get:e=>e.#tu},metadata:e},null,iX),l8(this,iB={value:l5(function(e){e?this.#ac().addEventListener("select",this.#tm,{passive:!0}):this.#ac().removeEventListener("select",this.#tm)},"#handleEnableSelectionEvent")},i$,{kind:"method",name:"#handleEnableSelectionEvent",static:!1,private:!0,access:{has:e=>#tp in e,get:e=>e.#tp},metadata:e},null,iX),e&&Object.defineProperty(this,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e})}static observedAttributes=["send-composing-input","input-filter"];#I=l9(this,iX);#th=!1;#ac=sd(()=>this.#I.shadowRoot,"#textarea");#tv=sd(()=>this.#I.shadowRoot,"#form");get #ab(){return iU.value}get #tu(){return iV.value}#tb=e=>{let t=s$[e.type]??e.type;this.#I.dispatchEvent(new CustomEvent(t,{...sn,detail:{value:this.#ac().value}}))};#to=e=>{let t=this.#ac(),n=this.#I.getAttribute("input-filter"),a=n?t.value.replace(RegExp(n,"g"),""):t.value,i=e.isComposing;t.value=a,(!i||this.#th)&&this.#I.dispatchEvent(new CustomEvent("lynxinput",{...sn,detail:{value:a,textLength:a.length,cursor:t.selectionStart,isComposing:i,selectionStart:t.selectionStart,selectionEnd:t.selectionEnd}}))};#td=()=>{let e=this.#ac(),t=this.#I.getAttribute("input-filter"),n=t?e.value.replace(RegExp(t,"g"),""):e.value;e.value=n,this.#th||this.#I.dispatchEvent(new CustomEvent("lynxinput",{...sn,detail:{value:n,textLength:n.length,cursor:e.selectionStart,isComposing:!1,selectionStart:e.selectionStart,selectionEnd:e.selectionEnd}}))};get #tp(){return iB.value}#tm=()=>{let e=this.#ac();this.#I.dispatchEvent(new CustomEvent("selection",{...sn,detail:{selectionStart:e.selectionStart,selectionEnd:e.selectionEnd}}))};#tg=e=>{e.target===this.#ac()&&"number"==typeof e.detail&&e.stopImmediatePropagation()};constructor(e){this.#I=e;const t=this.#ac(),n=this.#tv();t.addEventListener("blur",this.#tb,{passive:!0}),t.addEventListener("focus",this.#tb,{passive:!0}),n.addEventListener("submit",this.#tb,{passive:!0}),n.addEventListener("input",this.#tg,{passive:!0})}})],sO)],iJ=[],iK=HTMLElement,(class extends iK{static{iY=this}static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(iK[Symbol.metadata]??null):void 0;l8(null,iq={value:iY},iG,{kind:"class",name:iY.name,metadata:e},null,iJ),iY=iq.value,e&&Object.defineProperty(iY,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e}),l9(iY,iJ)}#ao=sd(()=>this.shadowRoot,"#textarea");get value(){return this.#ao().value}set value(e){this.#ao().value=e}addText(e){let{text:t}=e,n=this.#ao(),a=n.selectionStart;if(null===a)n.value=t;else{let e=n.value;n.value=e.slice(0,a)+t+e.slice(a)}}setValue(e){let t,n=this.#ao();n.value=e.value,(t=e.index)&&n.setSelectionRange(t,t)}getValue(){let e=this.#ao();return{value:e.value,selectionBegin:e.selectionStart,selectionEnd:e.selectionEnd}}sendDelEvent(e){let{action:t,length:n}=e,a=this.#ao();1===t&&(n=1);let i=a.selectionStart;if(null===i){let e=a.value;a.value=a.value.substring(0,e.length-n)}else{let e=a.value;a.value=e.slice(0,i-n)+e.slice(i)}}select(){let e=this.#ao();e.setSelectionRange(0,e.value.length)}setSelectionRange(e){this.#ao().setSelectionRange(e.selectionStart,e.selectionEnd)}}),i0=[st("x-view",[ss])],i1=[],i2=HTMLElement,(class extends i2{static{iQ=this}static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(i2[Symbol.metadata]??null):void 0;l8(null,iZ={value:iQ},i0,{kind:"class",name:iQ.name,metadata:e},null,i1),iQ=iZ.value,e&&Object.defineProperty(iQ,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e}),l9(iQ,i1)}superScrollIntoView(e){super.scrollIntoView(e)}scrollIntoView(e){"object"==typeof e&&e.scrollIntoViewOptions?this.dispatchEvent(new CustomEvent(sf.eventName,{bubbles:!0,composed:!0,detail:e.scrollIntoViewOptions})):super.scrollIntoView(e)}[sl]=this}),i6=[st("x-blur-view",[ss,(i8=[],class{static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(null):void 0;i3=[sr("blur-radius",!0)],l8(this,i4={value:l5(function(e){e?(e=`blur(${parseFloat(e)}px)`,this.#ag().innerHTML=`:host { backdrop-filter: ${e}; -webkit-backdrop-filter: ${e}}`):this.#ag().innerHTML=""},"#handleBlurRadius")},i3,{kind:"method",name:"#handleBlurRadius",static:!1,private:!0,access:{has:e=>#eX in e,get:e=>e.#eX},metadata:e},null,i8),e&&Object.defineProperty(this,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e})}static observedAttributes=["blur-radius"];#I=l9(this,i8);#ag=sd(()=>this.#I.shadowRoot,"#dynamic-style");get #eX(){return i4.value}constructor(e){this.#I=e}})],'<style id="dynamic-style"></style><slot></slot>')],i7=[],le=HTMLElement,(class extends le{static{i5=this}static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(le[Symbol.metadata]??null):void 0;l8(null,i9={value:i5},i6,{kind:"class",name:i5.name,metadata:e},null,i7),i5=i9.value,e&&Object.defineProperty(i5,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e}),l9(i5,i7)}}),lo=[st("x-viewpager-ng",[ss,(ll=[],class{static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(null):void 0;lt=[si("change")],la=[si("offsetchange")],l8(this,ln={value:l5(function(e){this.#af=e,this.#ay()},"#enableChangeEvent")},lt,{kind:"method",name:"#enableChangeEvent",static:!1,private:!0,access:{has:e=>#aE in e,get:e=>e.#aE},metadata:e},null,ll),l8(this,li={value:l5(function(e){this.#af=e,this.#ay()},"#enableOffsetChangeEvent")},la,{kind:"method",name:"#enableOffsetChangeEvent",static:!1,private:!0,access:{has:e=>#aS in e,get:e=>e.#aS},metadata:e},null,ll),e&&Object.defineProperty(this,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e})}static observedAttributes=[];#I=l9(this,ll);#aw=!1;#t=!1;#ax=0;#V;constructor(e){this.#I=e}#X=sd(()=>this.#I.shadowRoot,"#content");#aC=()=>{if(!this.#t)return;let e=this.#X(),t=this.#I.clientWidth,n=e.scrollLeft;this.#af&&!sp&&(clearTimeout(this.#V),this.#V=setTimeout(()=>{this.#aT()},100)),this.#I.dispatchEvent(new CustomEvent("offsetchange",{...sn,detail:{offset:n/t}}))};#aT=()=>{if(this.#t){let e=this.#X(),t=this.#I.clientWidth,n=Math.floor(e.scrollLeft/t);n!==this.#ax&&(this.#I.dispatchEvent(new CustomEvent("change",{...sn,detail:{index:n,isDragged:this.#aw}})),this.#ax=n)}};#aO=()=>{this.#aw=!0};#aI=()=>{this.#aw=!1};#af=!1;get #aE(){return ln.value}#aL=!1;get #aS(){return li.value}#ay(){let e=this.#X();this.#aL||this.#af?e.addEventListener("scroll",this.#aC,{passive:!0}):e.removeEventListener("scroll",this.#aC),sp&&this.#af?e.addEventListener("scrollend",this.#aT,{passive:!0}):e.removeEventListener("scrollend",this.#aT)}connectedCallback(){this.#t=!0;let e=this.#X();this.#I.addEventListener("touchstart",this.#aO,{passive:!0}),e.addEventListener("touchend",this.#aI,{passive:!0}),e.addEventListener("touchcancel",this.#aI,{passive:!0})}dispose(){let e=this.#X();e.removeEventListener("scroll",this.#aC),e.removeEventListener("scrollend",this.#aT)}})],sI)],ld=[],lc=HTMLElement,(class extends lc{static{lr=this}static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(lc[Symbol.metadata]??null):void 0;l8(null,ls={value:lr},lo,{kind:"class",name:lr.name,metadata:e},null,ld),lr=ls.value,e&&Object.defineProperty(lr,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e})}static notToFilterFalseAttributes=new Set(["allow-horizontal-gesture","enable-scroll"]);selectTab(e){let{index:t,smooth:n}=e;void 0===n&&(n=!0);let a=this.shadowRoot.children.item(2),i=a.clientWidth*t;a.scrollTo({left:i,behavior:n?"smooth":"instant"})}connectedCallback(){let e=this.getAttribute("select-index")||this.getAttribute("initial-select-index");if(null!==e){let t=Number(e),n=this.shadowRoot.children.item(2),a=()=>{0===n.clientWidth?requestAnimationFrame(a):this.selectTab({index:t,smooth:!1})};se(a)}}get[sb](){return this}static{l9(lr,ld)}}),lm=[st("x-viewpager-item-ng",[ss])],lp=[],lv=HTMLElement,(class extends lv{static{lu=this}static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(lv[Symbol.metadata]??null):void 0;l8(null,lh={value:lu},lm,{kind:"class",name:lu.name,metadata:e},null,lp),lu=lh.value,e&&Object.defineProperty(lu,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e}),l9(lu,lp)}}),lE=[st("list-item",[ss,(lb=[],lg=[],class{static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(null):void 0;l8(null,null,[sr("estimated-main-axis-size-px",!0)],{kind:"field",name:"#handlerEstimatedMainAxisSizePx",static:!1,private:!0,access:{has:e=>#ak in e,get:e=>e.#ak,set:(e,t)=>{e.#ak=t}},metadata:e},lb,lg),e&&Object.defineProperty(this,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e})}static observedAttributes=["estimated-main-axis-size-px"];#I;#ak=l9(this,lb,sc(()=>this.#I,"--estimated-main-axis-size-px",e=>`${parseFloat(e)}px`));constructor(e){l9(this,lg),this.#I=e}})])],lS=[],lw=HTMLElement,class extends lw{static{ly=this}static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(lw[Symbol.metadata]??null):void 0;l8(null,lf={value:ly},lE,{kind:"class",name:ly.name,metadata:e},null,lS),ly=lf.value,e&&Object.defineProperty(ly,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e}),l9(ly,lS)}};let sZ=function(e,t,n){let a,i,l,s,r=0;var o=function(){r=n?.leading===!1?0:new Date().getTime(),a=null,s=e.apply(i,l),a||(i=l=null)};return function(){var d=new Date().getTime();r||n?.leading!==!1||(r=d);var c=t-(d-r);return i=this,l=arguments,c<=0||c>t?(a&&(clearTimeout(a),a=null),r=d,s=e.apply(i,l),a||(i=l=null)):a||n?.trailing===!1||(a=setTimeout(o,c)),s}},sQ="waterfall-slot",s0="waterfall-style";l2=[st("x-list",[ss,(lT=[],lO=[],lI=[],lL=[],class{static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(null):void 0;lx=[sr("sticky-offset",!0)],lC=[sr("span-count",!0),sr("column-count",!0)],l8(null,null,lx,{kind:"field",name:"#handlerStickyOffset",static:!1,private:!0,access:{has:e=>#aA in e,get:e=>e.#aA,set:(e,t)=>{e.#aA=t}},metadata:e},lT,lO),l8(null,null,lC,{kind:"field",name:"#handlerCount",static:!1,private:!0,access:{has:e=>#aP in e,get:e=>e.#aP,set:(e,t)=>{e.#aP=t}},metadata:e},lI,lL),e&&Object.defineProperty(this,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e})}static observedAttributes=["sticky-offset","initial-scroll-index","span-count","column-count"];#I;#aA=l9(this,lT,sc(()=>this.#I,"--list-item-sticky-offset",e=>`${parseFloat(e)}px`));#aP=(l9(this,lO),l9(this,lI,sc(()=>this.#I,"--list-item-span-count",e=>`${parseFloat(e)}`)));constructor(e){l9(this,lL),this.#I=e}connectedCallback(){let e=this.#I.getAttribute("initial-scroll-index");if(null!==e){let t=parseFloat(e),n=()=>{0===this.#I.clientHeight?requestAnimationFrame(n):this.#I.scrollToPosition({position:t})};se(n)}}}),(lH=[],lj=[],lz=[],lU=[],lW=[],lV=[],l$=[],lB=[],lX=[],lq=[],lY=[],class{static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(null):void 0;lk=[si("scrolltoupper")],lA=[sr("upper-threshold-item-count",!0)],l_=[si("scrolltolower")],lM=[sr("lower-threshold-item-count",!0)],lN=[si("lynxscroll"),si("lynxscrollend"),si("snap")],lD=[si("scrolltoupperedge")],lF=[si("scrolltoloweredge")],l8(this,lP={value:l5(function(e,t){let n=null!==t?parseFloat(t):0,a=0===n?this.#q():this.#I.children[n-1];a&&this.#a_?.unobserve(a);let i=null!==e?parseFloat(e):0,l=0===i?this.#q():this.#I.children[i-1];l&&this.#a_?.observe(l)},"#handleUpperThresholdItemCountChange")},lA,{kind:"method",name:"#handleUpperThresholdItemCountChange",static:!1,private:!0,access:{has:e=>#aM in e,get:e=>e.#aM},metadata:e},null,lH),l8(this,lR={value:l5(function(e,t){let n=null!==t?parseFloat(t):0,a=0===n?this.#Y():this.#I.children[this.#I.children.length-n];a&&this.#aR?.unobserve(a);let i=null!==e?parseFloat(e):0,l=0===i?this.#Y():this.#I.children[this.#I.children.length-i];l&&this.#aR?.observe(l)},"#handleLowerThresholdItemCountChange")},lM,{kind:"method",name:"#handleLowerThresholdItemCountChange",static:!1,private:!0,access:{has:e=>#aN in e,get:e=>e.#aN},metadata:e},null,lH),l8(null,null,lk,{kind:"field",name:"#updateEventSwitches",static:!1,private:!0,access:{has:e=>#aD in e,get:e=>e.#aD,set:(e,t)=>{e.#aD=t}},metadata:e},lj,lz),l8(null,null,l_,{kind:"field",name:"#updateScrollToLowerEventSwitches",static:!1,private:!0,access:{has:e=>#aF in e,get:e=>e.#aF,set:(e,t)=>{e.#aF=t}},metadata:e},lU,lW),l8(null,null,lN,{kind:"field",name:"#handleScrollEventsSwitches",static:!1,private:!0,access:{has:e=>#ea in e,get:e=>e.#ea,set:(e,t)=>{e.#ea=t}},metadata:e},lV,l$),l8(null,null,lD,{kind:"field",name:"#handleScrollToUpperEdgeEventEnable",static:!1,private:!0,access:{has:e=>#aH in e,get:e=>e.#aH,set:(e,t)=>{e.#aH=t}},metadata:e},lB,lX),l8(null,null,lF,{kind:"field",name:"#handleScrollToLowerEdgeEventEnable",static:!1,private:!0,access:{has:e=>#aj in e,get:e=>e.#aj,set:(e,t)=>{e.#aj=t}},metadata:e},lq,lY),e&&Object.defineProperty(this,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e})}static observedAttributes=["upper-threshold-item-count","lower-threshold-item-count"];#I=l9(this,lH);#az=sd(()=>this.#I.shadowRoot,"#content");#a_;#aR;#aU;#$=0;#B=0;#aW=!1;#V;#q=sd(()=>this.#I.shadowRoot,"#upper-threshold-observer");#Y=sd(()=>this.#I.shadowRoot,"#lower-threshold-observer");#J(){let e=null!==this.#I.getAttribute("need-visible-item-info"),{scrollTop:t,scrollLeft:n,scrollHeight:a,scrollWidth:i}=this.#az(),l={scrollTop:t,scrollLeft:n,scrollHeight:a,scrollWidth:i,deltaX:n-this.#$,deltaY:t-this.#B,attachedCells:e?this.#I.getVisibleCells():void 0};return this.#$=n,this.#B=t,l}#aV=e=>{let{isIntersecting:t}=e[0];t&&this.#I.dispatchEvent(new CustomEvent("scrolltoupper",{...sn,detail:this.#J()}))};#aD=l9(this,lj,e=>{if(e?this.#I.setAttribute("x-enable-scrolltoupper-event",""):this.#I.removeAttribute("x-enable-scrolltoupper-event"),this.#tO.scrolltoupper=e,e){this.#a_||(this.#a_=new IntersectionObserver(this.#aV,{root:this.#az()})),this.#aU||(this.#aU=new MutationObserver(this.#a$));let e=this.#I.getAttribute("upper-threshold-item-count"),t=null!==e?parseFloat(e):0,n=0===t?this.#q():this.#I.children[t-1];n&&this.#a_.observe(n),this.#aU.observe(this.#I,{childList:!0})}else this.#a_&&(this.#a_.disconnect(),this.#a_=void 0),this.#aU&&(this.#aU.disconnect(),this.#aU=void 0)});get #aM(){return lP.value}#aB=(l9(this,lz),e=>{let{isIntersecting:t}=e[0];t&&this.#I.dispatchEvent(new CustomEvent("scrolltolower",{...sn,detail:this.#J()}))});#tO={lynxscroll:!1,lynxscrollend:!1,snap:!1,scrolltolower:!1,scrolltoupper:!1};#aF=l9(this,lU,e=>{if(this.#tO.scrolltolower=e,e?this.#I.setAttribute("x-enable-scrolltolower-event",""):this.#I.removeAttribute("x-enable-scrolltolower-event"),e){this.#aR||(this.#aR=new IntersectionObserver(this.#aB,{root:this.#az()})),this.#aU||(this.#aU=new MutationObserver(this.#a$));let e=this.#I.getAttribute("lower-threshold-item-count"),t=null!==e?parseFloat(e):0,n=0===t?this.#Y():this.#I.children[this.#I.children.length-t];n&&this.#aR.observe(n),this.#aU.observe(this.#I,{childList:!0})}else this.#aR&&(this.#aR.disconnect(),this.#aR=void 0),this.#aU&&(this.#aU.disconnect(),this.#aU=void 0)});get #aN(){return lR.value}#a$=(l9(this,lW),e=>{let t=e?.[0];if(t?.type==="childList"){if(this.#tO.scrolltolower){this.#aR&&(this.#aR.disconnect(),this.#aR=void 0),this.#aR=new IntersectionObserver(this.#aB,{root:this.#az()});let e=this.#I.getAttribute("lower-threshold-item-count"),t=null!==e?parseFloat(e):0,n=0===t?this.#Y():this.#I.children[this.#I.children.length-t];n&&this.#aR.observe(n)}if(null!==this.#I.getAttribute("x-enable-scrolltoupper-event")){this.#a_&&(this.#a_.disconnect(),this.#a_=void 0),this.#a_=new IntersectionObserver(this.#aV,{root:this.#az()});let e=this.#I.getAttribute("upper-threshold-item-count"),t=null!==e?parseFloat(e):0,n=0===t?this.#q():this.#I.children[t-1];n&&this.#a_.observe(n)}}});#aX=null;#Q=()=>{this.#aW&&!sp&&(clearTimeout(this.#V),this.#V=setTimeout(()=>{this.#et()},100)),this.#I.dispatchEvent(new CustomEvent("lynxscroll",{...sn,detail:this.#J()}))};#ea=l9(this,lV,(e,t)=>{this.#tO[t]=e;let{lynxscroll:n,lynxscrollend:a,snap:i}=this.#tO,l=this.#I.getAttribute("scroll-event-throttle");this.#aW=null!==a||null!==i;let s=this.#az();if(this.#aX&&s.removeEventListener("scroll",this.#aX),null!==scroll||this.#aW){let e=null!==l?parseFloat(l):0,t=sZ(this.#Q,e,{leading:!0,trailing:!1});this.#aX=t,s.addEventListener("scroll",this.#aX),this.#$=0,this.#B=0}sp&&this.#aW?s.addEventListener("scrollend",this.#et):s.removeEventListener("scrollend",this.#et)});#G=(l9(this,l$),e=>{let{isIntersecting:t,target:n}=e[0],a=n.id;t&&("upper-threshold-observer"===a?this.#I.dispatchEvent(new CustomEvent("scrolltoupperedge",{...sn,detail:this.#J()})):"lower-threshold-observer"===a&&this.#I.dispatchEvent(new CustomEvent("scrolltoloweredge",{...sn,detail:this.#J()})))});#aH=l9(this,lB,e=>{e?this.#I.setAttribute("x-enable-scrolltoupperedge-event",""):this.#I.removeAttribute("x-enable-scrolltoupperedge-event"),this.#aq(e)});#aq=(l9(this,lX),sm(this.#az,this.#q,this.#G));#aj=l9(this,lq,e=>{e?this.#I.setAttribute("x-enable-scrolltoloweredge-event",""):this.#I.removeAttribute("x-enable-scrolltoloweredge-event"),this.#aY(e)});#aY=(l9(this,lY),sm(this.#az,this.#Y,this.#G));#et=()=>{let e=this.#I.getAttribute("item-snap");if(this.#I.dispatchEvent(new CustomEvent("lynxscrollend",{...sn})),null!==e){let e=Array.from(this.#I.children).filter(e=>"LIST-ITEM"===e.tagName),t=this.#az().scrollTop,n=this.#az().scrollLeft,a=e.find(e=>t>=e.offsetTop&&t<e.offsetTop+e.offsetHeight);this.#I.dispatchEvent(new CustomEvent("snap",{...sn,detail:{position:a&&e.indexOf(a),scrollTop:t,scrollLeft:n}}))}};constructor(e){this.#I=e}}),(lQ=[],class{static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(null):void 0;lG=[si("scrolltolower")],lK=[sr("list-type",!0)],l8(this,lJ={value:l5(function(e){if(e?this.#I.setAttribute("x-enable-scrolltolower-event",""):this.#I.removeAttribute("x-enable-scrolltolower-event"),e){let e=this.#aG(),t=this.#I.getAttribute("scroll-orientation")||"vertical",n=this.#az();setTimeout(()=>{"vertical"===t?(e.style.setProperty("top",`${String(n.scrollHeight-1)}px`,"important"),e.style.setProperty("bottom","unset","important")):(e.style.setProperty("left",`${String(n.scrollWidth-1)}px`,"important"),e.style.setProperty("right","unset","important"))},100)}},"#handleXEnableHeaderOffsetEvent")},lG,{kind:"method",name:"#handleXEnableHeaderOffsetEvent",static:!1,private:!0,access:{has:e=>#t_ in e,get:e=>e.#t_},metadata:e},null,lQ),l8(this,lZ={value:l5(function(e){if("waterfall"===e)this.#aJ(),this.#k||this.#aK(),this.#aU||(this.#aU=new MutationObserver(e=>{let t=e?.[0];t?.type==="childList"&&this.#aK()}),this.#aU.observe(this.#I,{childList:!0}));else{this.#k?.disconnect(),this.#k=void 0,this.#aU?.disconnect(),this.#aU=void 0;for(let e=0;e<this.#I.children.length;e++)this.#I.children[e].removeAttribute("slot");this.#I.shadowRoot?.querySelector(`slot[name=${sQ}]`)?.remove()}},"#handlerListType")},lK,{kind:"method",name:"#handlerListType",static:!1,private:!0,access:{has:e=>#aZ in e,get:e=>e.#aZ},metadata:e},null,lQ),e&&Object.defineProperty(this,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e})}static observedAttributes=["list-type"];#I=l9(this,lQ);#az=sd(()=>this.#I.shadowRoot,"#content");#aG=sd(()=>this.#I.shadowRoot,'div[part="lower-threshold-observer"]');#k;#aU;get #t_(){return lJ.value}#aJ=()=>{let e=document.createElement("slot");e.setAttribute("name",`${sQ}`),this.#I.shadowRoot?.querySelector("[part=upper-threshold-observer]")?.insertAdjacentElement("afterend",e)};#aQ=()=>{let e=parseFloat(this.#I.getAttribute("span-count")||this.#I.getAttribute("column-count")||"")||1,t="vertical"===(this.#I.getAttribute("scroll-orientation")||"vertical"),n=Array(e).fill(0);for(let a=0;a<this.#I.children.length;a++){let i=this.#I.children[a],l=getComputedStyle(i).getPropertyValue("--list-main-axis-gap"),s=getComputedStyle(i).getPropertyValue("--list-cross-axis-gap"),r=t?i.getBoundingClientRect().height+parseFloat(l):i.getBoundingClientRect().width+parseFloat(l);if(null!==i.getAttribute("full-span")){let a=n[0];for(let t=1;t<e;t++)n[t]>a&&(a=n[t]);for(let t=0;t<e;t++)n[t]=a+r;t?(i.setAttribute(`${s0}-left`,"0"),i.setAttribute(`${s0}-top`,`${a}px`)):(i.setAttribute(`${s0}-left`,`${a}px`),i.setAttribute(`${s0}-top`,"0"))}else{let a=0,l=n[0];for(let t=1;t<e;t++)n[t]<l&&(a=t,l=n[t]);let o=`calc(${a} * (100% - ${s} * (${e} - 1))/ ${e} + ${Math.max(0,a)} * ${s})`;t?(i.setAttribute(`${s0}-left`,o),i.setAttribute(`${s0}-top`,`${l}px`)):(i.setAttribute(`${s0}-left`,`${l}px`),i.setAttribute(`${s0}-top`,o)),n[a]+=r}}for(let e=0;e<this.#I.children.length;e++){let t=this.#I.children[e];t.style.setProperty("left",t.getAttribute(`${s0}-left`)),t.style.setProperty("top",t.getAttribute(`${s0}-top`)),t.setAttribute("slot",sQ)}};constructor(e){this.#I=e}#aK=()=>{this.#k?.disconnect(),this.#k=new ResizeObserver(()=>{requestAnimationFrame(()=>{this.#aQ()})}),Array.from(this.#I.children).forEach(e=>{this.#k?.observe(e)})};get #aZ(){return lZ.value}})],sw)],l3=[],l4=HTMLElement,class extends l4{static{l1=this}static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(l4[Symbol.metadata]??null):void 0;l8(null,l0={value:l1},l2,{kind:"class",name:l1.name,metadata:e},null,l3),l1=l0.value,e&&Object.defineProperty(l1,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e})}static notToFilterFalseAttributes=new Set(["enable-scroll"]);#az=sd(()=>this.shadowRoot,"#content");#a0={rate:0,lastTimestamp:0,autoStop:!0,isScrolling:!1};#a1={};get scrollTop(){return this.#az().scrollTop}set scrollTop(e){this.#az().scrollTop=e}get scrollLeft(){return this.#az().scrollTop}set scrollLeft(e){this.#az().scrollLeft=e}get __scrollTop(){return super.scrollTop}get __scrollLeft(){return super.scrollTop}scrollToPosition(e){let t;if("string"==typeof e.offset){let n=parseFloat(e.offset);t={left:n,top:n}}else"number"==typeof e.offset&&(t={left:e.offset,top:e.offset});if("number"==typeof e.position){if(0===e.position)this.#az().scrollTop=0,this.#az().scrollLeft=0;else if(e.position>0&&e.position<this.childElementCount){let n=this.children.item(e.position);n instanceof HTMLElement&&(t=t?{left:n.offsetLeft+t.left,top:n.offsetTop+t.top}:{left:n.offsetLeft,top:n.offsetTop})}}t&&this.#az().scrollTo({...t,behavior:e.smooth?"smooth":"auto"})}#a2=e=>{if(!this.#a0.isScrolling)return;if(!this.#a0.lastTimestamp){this.#a0.lastTimestamp=e,requestAnimationFrame(this.#a2);return}let t=this.#az(),n=(e-this.#a0.lastTimestamp)/1e3*this.#a0.rate;t.scrollBy({left:n,top:n,behavior:"auto"}),this.#a0.lastTimestamp=e;let a="vertical"===(this.getAttribute("scroll-orientation")||"vertical");(a?t.scrollTop+t.clientHeight>=t.scrollHeight:t.scrollLeft+t.clientWidth>=t.scrollWidth)&&this.#a0.autoStop?(a?t.scrollTop=t.scrollHeight-t.clientHeight:t.scrollLeft=t.scrollWidth-t.clientWidth,this.#a0.isScrolling=!1):requestAnimationFrame(this.#a2)};autoScroll(e){if(e.start){let t="number"==typeof e.rate?e.rate:parseFloat(e.rate);this.#a0={rate:t,lastTimestamp:0,isScrolling:!0,autoStop:!1!==e.autoStop};let n=this.#az(),a="vertical"===(this.getAttribute("scroll-orientation")||"vertical")?n.clientHeight<=n.scrollHeight:n.clientWidth<=n.scrollWidth;this.#a0.lastTimestamp=0,a?setTimeout(()=>requestAnimationFrame(this.#a2),0):requestAnimationFrame(this.#a2)}else this.#a0.isScrolling=!1}getScrollContainerInfo(){return{scrollTop:this.scrollTop,scrollLeft:this.scrollLeft,scrollHeight:this.scrollHeight,scrollWidth:this.scrollWidth}}getVisibleCells=()=>{let e=Object.values(this.#a1),t=Array.from(this.children).filter(e=>"LIST-ITEM"===e.tagName);return e.map(e=>{let n=e.getBoundingClientRect();return{id:e.getAttribute("id"),itemKey:e.getAttribute("item-key"),bottom:n.bottom,top:n.top,left:n.left,right:n.right,index:t.indexOf(e)}})};#a3=()=>Object.values(this.#a1).map(e=>{let t=e.getBoundingClientRect();return{height:t.height,width:t.width,itemKey:e.getAttribute("item-key"),originX:t.x,originY:t.y}});#a4=e=>{if(!e.target||!(e.target instanceof HTMLElement))return;let t=e.skipped,n=e.target?.getAttribute("id")==="content"&&e.target?.getAttribute("part")==="content",a="LIST-ITEM"===e.target.tagName;if(n&&!t){let e=this.#a3();setTimeout(()=>{this.dispatchEvent(new CustomEvent("layoutcomplete",{...sn,detail:{visibleItemBeforeUpdate:e,visibleItemAfterUpdate:this.#a3()}}))},100);return}if(a){let n=e.target?.getAttribute("item-key");if(!n)return;t?this.#a1[n]&&delete this.#a1[n]:this.#a1[n]=e.target;return}};connectedCallback(){this.#az().addEventListener("contentvisibilityautostatechange",this.#a4,{passive:!0})}static{l9(l1,l3)}}},426:function(e,t,n){n.a(e,async function(e,t){try{var a=n(506);n(12),n(125),n(407),n(994);var i=e([a]);a=(i.then?(await i)():i)[0];let d="lynx-web-core-init-data",c="lynx-web-core-global-props",h=document.createElement("lynx-view");document.body.appendChild(h);let u=new URLSearchParams(document.location.search).get("casename");function l(){if(u){let e={};try{let t=localStorage.getItem(d);t&&(e=JSON.parse(t))}catch{console.error("Failed to parse initData from localStorage, use empty object instead.")}let t={};try{let e=localStorage.getItem(c);e&&(t=JSON.parse(e))}catch{console.error("Failed to parse globalProps from localStorage, use empty object instead.")}h.globalProps=t,h.initData=e,h.url=u}}function s(e){localStorage.setItem(d,JSON.stringify(e)),l()}function r(e){localStorage.setItem(c,JSON.stringify(e)),l()}function o(){console.info(` _ __ ___ ___ __ __ ________ ____ _____ _ _______ ______ ____ _____ __ __
307
+ ></div>`)],V=[],$=HTMLElement,e=class extends ${static{U=this}static{const t="function"==typeof Symbol&&Symbol.metadata?Object.create($[Symbol.metadata]??null):void 0;l8(null,z={value:U},W,{kind:"class",name:U.name,metadata:t},null,V),e=U=z.value,t&&Object.defineProperty(U,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:t})}static notToFilterFalseAttributes=new Set(["enable-scroll"]);static scrollInterval=100;#el;scrollTo(...e){let t;if("string"==typeof e[0].offset){let n=parseFloat(e[0].offset);t={left:n,top:n}}else"number"==typeof e[0].offset&&(t={left:e[0].offset,top:e[0].offset});if("number"==typeof e[0].index){let n=e[0].index;if(0===n)this.scrollTop=0,this.scrollLeft=0;else if(n>0&&n<this.childElementCount){let e=this.children.item(n);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.#el),t.start){let n=("number"==typeof t.rate?t.rate:parseFloat(t.rate))*e.scrollInterval/1e3;this.#el=setInterval(e=>{e.scrollBy({left:n,top:n,behavior:"smooth"})},e.scrollInterval,this)}}get[sb](){return this}static{l9(U,V)}},e=U;let sk=Symbol("__src"),sA=Symbol("__src"),sP={loadstart:{code:0,type:"init"},canplay:{code:1,type:"playable"},stalled:{code:2,type:"stalled"},error:{code:3,type:"error"}},s_={stop:{code:0,type:"stopped"},play:{code:1,type:"playing"},pause:{code:2,type:"paused"}};(t=a||(a={}))[t.SrcError=-1]="SrcError",t[t.SrcJsonError=-2]="SrcJsonError",t[t.DownloadError=-3]="DownloadError",t[t.PlayerFinishedError=-4]="PlayerFinishedError",t[t.PlayerLoadingError=-5]="PlayerLoadingError",t[t.PlayerPlaybackError=-6]="PlayerPlaybackError";let sM=(J=[],K=[],Z=[],class{static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(null):void 0;B=[sr("src",!0)],q=[sr("loop",!0)],Y=[sr("pause-on-hide",!0)],l8(this,X={value:l5(function(e){let t;try{t=JSON.parse(e||"")||{}}catch(e){console.error(`JSON.parse src error: ${e}`),t={}}null===e?this.#I.dispatchEvent(new CustomEvent("error",{...sn,detail:{code:a.SrcError,msg:"",from:"res loader",currentSrcID:this.#I[sk]?.id}})):(t?.id===void 0||t?.play_url===void 0)&&this.#I.dispatchEvent(new CustomEvent("error",{...sn,detail:{code:a.SrcJsonError,msg:"",from:"res loader",currentSrcID:this.#I[sk]?.id}})),this.#I[sk]=t,this.#I[sA]=void 0,this.#I.stop()},"#handleSrc")},B,{kind:"method",name:"#handleSrc",static:!1,private:!0,access:{has:e=>#es in e,get:e=>e.#es},metadata:e},null,J),l8(this,G={value:l5(function(e){null!==e?document.addEventListener("visibilitychange",this.#er,{passive:!0}):document.removeEventListener("visibilitychange",this.#er)},"#handlePauseOnHide")},Y,{kind:"method",name:"#handlePauseOnHide",static:!1,private:!0,access:{has:e=>#eo in e,get:e=>e.#eo},metadata:e},null,J),l8(null,null,q,{kind:"field",name:"#handleLoop",static:!1,private:!0,access:{has:e=>#ed in e,get:e=>e.#ed,set:(e,t)=>{e.#ed=t}},metadata:e},K,Z),e&&Object.defineProperty(this,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e})}static observedAttributes=["src","loop","pause-on-hide"];#I=l9(this,J);#ec=sd(()=>this.#I.shadowRoot,"#audio");#eh=sL(this.#ec,"src");get #es(){return X.value}#ed=l9(this,K,sL(this.#ec,"loop"));#er=(l9(this,Z),()=>{"hidden"===document.visibilityState&&this.#I.pause()});get #eo(){return G.value}constructor(e){this.#I=e}});class sR{static observedAttributes=[];#I;#eu;#ec=sd(()=>this.#I.shadowRoot,"#audio");#em=e=>{let t=Number(this.#I.getAttribute("interval")),n=Number.isNaN(t)?0:t;this.#eu=setInterval(()=>{this.#I.dispatchEvent(new CustomEvent("timeupdate",{...sn,detail:{currentTime:this.#ec().currentTime,currentSrcID:this.#I[sk]?.id}}))},n);let a=s_[e.type];this.#I.dispatchEvent(new CustomEvent("playbackstatechanged",{...sn,detail:{code:a?.code,type:a?.type,currentSrcID:this.#I[sk]?.id}}))};#ep=e=>{clearInterval(this.#eu);let t=s_[e.type];this.#I.dispatchEvent(new CustomEvent("playbackstatechanged",{...sn,detail:{code:t?.code,type:t?.type,currentSrcID:this.#I[sk]?.id}}))};#ev=e=>{let t=sP[e.type];this.#I.dispatchEvent(new CustomEvent("loadingstatechanged",{...sn,detail:{code:t?.code,type:t?.type,currentSrcID:this.#I[sk]?.id}}))};#eb=e=>{this.#ev(e);let t=e.target?.error?.code,n=t===MediaError.MEDIA_ERR_DECODE?a.PlayerLoadingError:a.PlayerPlaybackError;t===MediaError.MEDIA_ERR_DECODE&&(n=a.PlayerLoadingError),this.#I.dispatchEvent(new CustomEvent("error",{...sn,detail:{code:n,msg:"",from:"player",currentSrcID:this.#I[sk]?.id}}))};#eg=()=>{let e=null!==this.#I.getAttribute("loop");this.#I.dispatchEvent(new CustomEvent("finished",{...sn,detail:{loop:e,currentSrcID:this.#I[sk]?.id}}))};constructor(e){this.#I=e}connectedCallback(){let e=this.#ec();e.addEventListener("play",this.#em,{passive:!0}),e.addEventListener("pause",this.#ep,{passive:!0}),e.addEventListener("ended",this.#eg,{passive:!0}),e.addEventListener("loadstart",this.#ev,{passive:!0}),e.addEventListener("canplay",this.#ev,{passive:!0}),e.addEventListener("stalled",this.#ev,{passive:!0}),e.addEventListener("error",this.#eb,{passive:!0})}}et=[st("x-audio-tt",[ss,sM,sR],'<audio id="audio"></audio>')],en=[],ea=HTMLElement,(class extends ea{static{ee=this}static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(ea[Symbol.metadata]??null):void 0;l8(null,Q={value:ee},et,{kind:"class",name:ee.name,metadata:e},null,en),ee=Q.value,e&&Object.defineProperty(ee,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e}),l9(ee,en)}#ef=sd(()=>this.shadowRoot,"#audio");#ec=sd(()=>this.shadowRoot,"#audio");#eh=sL(this.#ec,"src");[sk];[sA];#ey=()=>{let e,t=this[sk];if(t&&t.id&&t.play_url){try{e=JSON.parse(this.getAttribute("headers")||"{}")||{}}catch(t){console.error(`JSON.parse headers error: ${t}`),e={}}this[sA]=new Promise(async(n,i)=>{this.dispatchEvent(new CustomEvent("srcloadingstatechanged",{...sn,detail:{code:0,type:"loading",currentSrcID:t.id}}));let l=await fetch(t.play_url,{headers:e});l.ok||(this.dispatchEvent(new CustomEvent("error",{...sn,detail:{code:a.DownloadError,msg:"",from:"res loader",currentSrcID:t.id}})),i()),this.dispatchEvent(new CustomEvent("srcloadingstatechanged",{...sn,detail:{code:1,type:"success",currentSrcID:t.id}}));let s=await l.blob(),r=URL.createObjectURL(s);this.#eh(r),n()})}};play(){return this[sA]||this.#ey(),this[sA]?.then(()=>{let e=this.#ef();e.currentTime=0,e.play()}),{currentSrcID:this[sk]?.id,loadingSrcID:""}}stop(){let e=this.#ef(),t=s_.stop;return this.dispatchEvent(new CustomEvent("playbackstatechanged",{...sn,detail:{code:t?.code,type:t?.type,currentSrcID:this[sk]?.id}})),e.currentTime=0,e.pause(),{currentSrcID:this[sk]?.id}}pause(){return this.#ef().pause(),{currentSrcID:this[sk]?.id}}resume(){return this.#ef().play(),{currentSrcID:this[sk]?.id,loadingSrcID:""}}seek(e){return this.#ef().currentTime=(e.currentTime||0)/1e3,this.dispatchEvent(new CustomEvent("seek",{...sn,detail:{seekresult:1,currentSrcID:this[sk]?.id}})),{currentSrcID:this[sk]?.id}}mute(e){return this.#ef().muted=e.mute,{currentSrcID:this[sk]?.id}}playerInfo(){var e;let t=this.#ef(),n=t.buffered,a=n.end(n.length-1);return{currentSrcID:this[sk]?.id,duration:1e3*t.duration,playbackState:(e=t)?e.paused?2*!e.ended:e.currentTime>0?1:3:-1,currentTime:t.currentTime,cacheTime:a}}prepare(){this[sA]||this.#ey()}setVolume(e){return this.#ef().volume=e.volume,{code:1}}}),ev=[st("x-canvas",[ss,(er=[],eo=[],ed=[],ec=[],eh=[],eu=[],class{static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(null):void 0;ei=[sr("name",!0)],el=[sr("height",!0)],es=[sr("width",!0)],l8(null,null,ei,{kind:"field",name:"handleName",static:!1,private:!1,access:{has:e=>"handleName"in e,get:e=>e.handleName,set:(e,t)=>{e.handleName=t}},metadata:e},er,eo),l8(null,null,el,{kind:"field",name:"handleHeight",static:!1,private:!1,access:{has:e=>"handleHeight"in e,get:e=>e.handleHeight,set:(e,t)=>{e.handleHeight=t}},metadata:e},ed,ec),l8(null,null,es,{kind:"field",name:"handleWidth",static:!1,private:!1,access:{has:e=>"handleWidth"in e,get:e=>e.handleWidth,set:(e,t)=>{e.handleWidth=t}},metadata:e},eh,eu),e&&Object.defineProperty(this,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e})}static observedAttributes=["name","height","width"];#I;#k;#eE=sd(()=>this.#I.shadowRoot,"#canvas");constructor(e){this.#I=e}handleName=l9(this,er,sL(this.#eE,"name"));handleHeight=(l9(this,eo),l9(this,ed,sL(this.#eE,"height")));handleWidth=(l9(this,ec),l9(this,eh,sL(this.#eE,"width")));#eS=(l9(this,eu),e=>{let{contentRect:t}=e[0],n=this.#I.shadowRoot.firstElementChild;if(n){let{height:e,width:a}=t;e*=window.devicePixelRatio,a*=window.devicePixelRatio;let i=new CustomEvent("resize",{...sn,detail:{height:e,width:a}});i.height=e,i.width=a,n.dispatchEvent(i)}});#ew(){this.#k||(this.#k=new ResizeObserver(this.#eS),this.#k.observe(this.#I))}#ex(){this.#k?.disconnect(),this.#k=void 0}connectedCallback(){this.#ew()}dispose(){this.#ex()}})],((e,...t)=>String.raw({raw:e},...t))`<canvas id="canvas" part="canvas"></canvas>`)],eb=[],eg=HTMLElement,class extends eg{static{ep=this}static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(eg[Symbol.metadata]??null):void 0;l8(null,em={value:ep},ev,{kind:"class",name:ep.name,metadata:e},null,eb),ep=em.value,e&&Object.defineProperty(ep,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e}),l9(ep,eb)}};let sN=(ew=[],class{static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(null):void 0;ef=[sr("granularity",!0)],eE=[si("offset")],l8(this,ey={value:l5(function(e){e&&""!==e?this.#eC=parseFloat(e):this.#eC=.01},"#handleGranularity")},ef,{kind:"method",name:"#handleGranularity",static:!1,private:!0,access:{has:e=>#eT in e,get:e=>e.#eT},metadata:e},null,ew),l8(this,eS={value:l5(function(e){e?this.#I.addEventListener("scroll",this.#Q,{passive:!0}):this.#I.removeEventListener("scroll",this.#Q)},"#enableOffsetEvent")},eE,{kind:"method",name:"#enableOffsetEvent",static:!1,private:!0,access:{has:e=>#eO in e,get:e=>e.#eO},metadata:e},null,ew),e&&Object.defineProperty(this,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e})}#I=l9(this,ew);#eC=.01;#eI=0;constructor(e){this.#I=e}static observedAttributes=["granularity"];get #eT(){return ey.value}get #eO(){return eS.value}#Q=()=>{let e=this.#I.scrollTop;(Math.abs(this.#eI-e)>this.#eC||0===this.#I.scrollTop||1>=Math.abs(this.#I.scrollHeight-this.#I.clientHeight-this.#I.scrollTop))&&(this.#eI=e,this.#I.dispatchEvent(new CustomEvent("offset",{...sn,detail:{offset:e,height:this.#I[sD]}})))}}),sD=Symbol("scrollableLength"),sF=Symbol("isHeaderShowing"),sH=Symbol("resizeObserver"),sj=Symbol("slotKid");eT=[st("x-foldview-ng",[ss,sN])],eO=[],eI=HTMLElement,class extends eI{static{eC=this}static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(eI[Symbol.metadata]??null):void 0;l8(null,ex={value:eC},eT,{kind:"class",name:eC.name,metadata:e},null,eO),eC=ex.value,e&&Object.defineProperty(eC,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e})}static notToFilterFalseAttributes=new Set(["scroll-enable"]);[sj];[sH]=new ResizeObserver(e=>{for(let t of e)"X-FOLDVIEW-HEADER-NG"===t.target.tagName?this.#eL=t.contentRect.height:"X-FOLDVIEW-TOOLBAR-NG"===t.target.tagName&&(this.#ek=t.contentRect.height);this[sj]&&(this[sj].style.top=`${this.#eL-this.#ek}px`)});#eL=0;#ek=0;get[sD](){return this.#eL-this.#ek}get[sF](){return this[sD]-this.scrollTop>=1}get scrollTop(){return super.scrollTop}set scrollTop(e){e>this[sD]?e=this[sD]:e<0&&(e=0),super.scrollTop=e}setFoldExpanded(e){let{offset:t,smooth:n=!0}=e,a=parseFloat(t);this.scrollTo({top:a,behavior:n?"smooth":"instant"})}get[sb](){return this}disconnectedCallback(){this[sH]?.disconnect(),this[sH]=void 0}static{l9(eC,eO)}};let sz=(e,t)=>{let n=e.parentElement;if(n?.tagName==="LYNX-WRAPPER"&&(n=n.parentElement),n?.tagName===t)return n};eA=[st("x-foldview-header-ng",[ss])],eP=[],e_=HTMLElement,(class extends e_{static{ek=this}static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(e_[Symbol.metadata]??null):void 0;l8(null,eL={value:ek},eA,{kind:"class",name:ek.name,metadata:e},null,eP),ek=eL.value,e&&Object.defineProperty(ek,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e}),l9(ek,eP)}#eA=void 0;connectedCallback(){let e=sz(this,"X-FOLDVIEW-NG");this.#eA=e?.[sH],this.#eA?.observe(this)}dispose(){this.#eA?.unobserve(this)}}),eN=[st("x-foldview-slot-drag-ng",[ss])],eD=[],eF=HTMLElement,class extends eF{static{eR=this}static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(eF[Symbol.metadata]??null):void 0;l8(null,eM={value:eR},eN,{kind:"class",name:eR.name,metadata:e},null,eD),eR=eM.value,e&&Object.defineProperty(eR,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e}),l9(eR,eD)}};class sU{#eP=0;#e_=new WeakMap;#eM;#eR=0;#eN=0;#eD=null;#eF;#eH=0;#I;static observedAttributes=[];constructor(e){this.#I=e,this.#I.addEventListener("touchmove",this.#ej,{passive:!1}),this.#I.addEventListener("touchstart",this.#ez,{passive:!0}),this.#I.addEventListener("touchend",this.#eU,{passive:!0})}#eW(e){return this.#eM?.find(t=>{if(t.scrollHeight>t.clientHeight){let n=e<0&&0!==t.scrollTop,a=e>0&&Math.abs(t.scrollHeight-t.clientHeight-t.scrollTop)>1;return n||a}return!1})}#eV(e,t){let n=this.#e_.get(e)??0;n+=t,this.#e_.set(e,n),e.scrollTop=n}#ej=e=>{let t=this.#e$(),{pageY:n,pageX:a}=e.touches.item(0),i=this.#eR-n;if(null===this.#eD){let e=this.#eN-a;this.#eD=Math.abs(i)>Math.abs(e)}if(!1===this.#eD)return;let l=this.#eW(i);t&&(e.cancelable&&e.preventDefault(),t[sF]&&i>0||i<0&&!l||!t[sF]&&!l?(t.scrollBy({top:i,behavior:"smooth"}),this.#eP+=i,t.scrollTop=this.#eP,this.#eF=t):l&&(this.#eF=l,this.#eV(l,i))),this.#eR=n,this.#eH=i};#e$(){let e=this.#I.parentElement;if(e&&"X-FOLDVIEW-NG"===e.tagName)return e}#ez=e=>{let{pageX:t,pageY:n}=e.touches.item(0);for(let e of(this.#eM=document.elementsFromPoint(t,n).filter(e=>this.#I.contains(e)),this.#eR=n,this.#eN=t,this.#eP=this.#e$()?.scrollTop??0,this.#eM))this.#e_.set(e,e.scrollTop);this.#eD=null,this.#eF=void 0};#eU=()=>{if(this.#eD=null,this.#eF){let e=this.#e$();(this.#eF!==e||e[sF])&&this.#eF.scrollBy({top:4*this.#eH,behavior:"smooth"})}}}ez=[st("x-foldview-slot-ng",[ss,sU])],eU=[],eW=HTMLElement,(class extends eW{static{ej=this}static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(eW[Symbol.metadata]??null):void 0;l8(null,eH={value:ej},ez,{kind:"class",name:ej.name,metadata:e},null,eU),ej=eH.value,e&&Object.defineProperty(ej,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e}),l9(ej,eU)}connectedCallback(){this.matches("x-foldview-ng>x-foldview-slot-ng:first-of-type")&&(this.parentElement[sj]=this)}}),eB=[st("x-foldview-toolbar-ng",[ss])],eX=[],eq=HTMLElement,class extends eq{static{e$=this}static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(eq[Symbol.metadata]??null):void 0;l8(null,eV={value:e$},eB,{kind:"class",name:e$.name,metadata:e},null,eX),e$=eV.value,e&&Object.defineProperty(e$,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e}),l9(e$,eX)}#eA=void 0;connectedCallback(){let e=sz(this,"X-FOLDVIEW-NG");this.#eA=e?.[sH],this.#eA?.observe(this)}dispose(){this.#eA?.unobserve(this)}};let sW=(e2=[],e3=[],e4=[],e8=[],e9=[],e5=[],e6=[],e7=[],te=[],class{static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(null):void 0;eJ=[sr("src",!0)],eK=[sr("placeholder",!0)],eQ=[sr("blur-radius",!0)],e0=[sr("crossorigin",!0)],e1=[sr("referrerpolicy",!0)],l8(this,eZ={value:l5(function(e){e&&(new Image().src=e)},"#preloadPlaceholder")},eK,{kind:"method",name:"#preloadPlaceholder",static:!1,private:!0,access:{has:e=>#eB in e,get:e=>e.#eB},metadata:e},null,e2),l8(null,null,eJ,{kind:"field",name:"#handleSrc",static:!1,private:!0,access:{has:e=>#es in e,get:e=>e.#es,set:(e,t)=>{e.#es=t}},metadata:e},e3,e4),l8(null,null,eQ,{kind:"field",name:"#handleBlurRadius",static:!1,private:!0,access:{has:e=>#eX in e,get:e=>e.#eX,set:(e,t)=>{e.#eX=t}},metadata:e},e8,e9),l8(null,null,e0,{kind:"field",name:"#handleCrossorigin",static:!1,private:!0,access:{has:e=>#eq in e,get:e=>e.#eq,set:(e,t)=>{e.#eq=t}},metadata:e},e5,e6),l8(null,null,e1,{kind:"field",name:"#handleReferrerpolicy",static:!1,private:!0,access:{has:e=>#eY in e,get:e=>e.#eY,set:(e,t)=>{e.#eY=t}},metadata:e},e7,te),e&&Object.defineProperty(this,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e})}static observedAttributes=["src","placeholder","blur-radius","crossorigin","referrerpolicy"];#I=l9(this,e2);#eG=sd(()=>this.#I.shadowRoot,"#img");#es=l9(this,e3,sL(this.#eG,"src",e=>e||this.#I.getAttribute("placeholder")));get #eB(){return eZ.value}#eX=(l9(this,e4),l9(this,e8,sc(this.#eG,"--blur-radius",void 0,!0)));#eq=(l9(this,e9),l9(this,e5,sL(this.#eG,"crossorigin")));#eY=(l9(this,e6),l9(this,e7,sL(this.#eG,"referrerpolicy")));#eJ=(l9(this,te),()=>{let e=this.#eG().src,t=this.#I.getAttribute("placeholder");t&&e!==t&&(this.#eG().src=t)});constructor(e){this.#I=e,this.#eG().addEventListener("error",this.#eJ)}connectedCallback(){(null===this.#I.getAttribute("src")||""===this.#I.getAttribute("src"))&&this.#es(null)}}),sV=(tl=[],class{static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(null):void 0;tt=[si("load")],ta=[si("error")],l8(this,tn={value:l5(function(e){e?this.#eG().addEventListener("load",this.#eK,{passive:!0}):this.#eG().removeEventListener("load",this.#eK)},"#enableLoadEvent")},tt,{kind:"method",name:"#enableLoadEvent",static:!1,private:!0,access:{has:e=>#eZ in e,get:e=>e.#eZ},metadata:e},null,tl),l8(this,ti={value:l5(function(e){e?this.#eG().addEventListener("error",this.#eQ,{passive:!0}):this.#eG().removeEventListener("error",this.#eQ)},"#enableErrorEvent")},ta,{kind:"method",name:"#enableErrorEvent",static:!1,private:!0,access:{has:e=>#e0 in e,get:e=>e.#e0},metadata:e},null,tl),e&&Object.defineProperty(this,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e})}static observedAttributes=[];#I=l9(this,tl);#eG=sd(()=>this.#I.shadowRoot,"#img");get #eZ(){return tn.value}get #e0(){return ti.value}#eK=()=>{this.#I.dispatchEvent(new CustomEvent("load",{...sn,detail:{width:this.#eG().naturalWidth,height:this.#eG().naturalHeight}}))};#eQ=()=>{this.#I.dispatchEvent(new CustomEvent("error",{...sn,detail:{}}))};constructor(e){this.#I=e}});to=[st("filter-image",[ss,sW,(eY=[],eG=[],class{static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(null):void 0;l8(null,null,[sr("drop-shadow",!0)],{kind:"field",name:"#handleBlurRadius",static:!1,private:!0,access:{has:e=>#eX in e,get:e=>e.#eX,set:(e,t)=>{e.#eX=t}},metadata:e},eY,eG),e&&Object.defineProperty(this,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e})}static observedAttributes=["drop-shadow"];#I;#eG=sd(()=>this.#I.shadowRoot,"#img");#eX=l9(this,eY,sc(this.#eG,"--drop-shadow",void 0,!0));constructor(e){l9(this,eG),this.#I=e}}),sV],sE({}))],td=[],tc=HTMLElement,(class extends tc{static{tr=this}static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(tc[Symbol.metadata]??null):void 0;l8(null,ts={value:tr},to,{kind:"class",name:tr.name,metadata:e},null,td),tr=ts.value,e&&Object.defineProperty(tr,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e}),l9(tr,td)}}),tm=[st("x-image",[ss,sW,sV],sE({}))],tp=[],tv=HTMLElement,class extends tv{static{tu=this}static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(tv[Symbol.metadata]??null):void 0;l8(null,th={value:tu},tm,{kind:"class",name:tu.name,metadata:e},null,tp),tu=th.value,e&&Object.defineProperty(tu,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e}),l9(tu,tp)}};let s$={submit:"confirm",blur:"lynxblur",focus:"lynxfocus"};ne=[st("x-input",[ss,(tD=[],tF=[],tH=[],tj=[],tz=[],tU=[],tW=[],tV=[],t$=[],tB=[],class{static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(null):void 0;tP=[sr("placeholder",!0)],t_=[sr("placeholder-color",!0)],tM=[sr("placeholder-font-family",!0)],tR=[sr("placeholder-font-size",!0)],tN=[sr("placeholder-font-weight",!0)],l8(null,null,tP,{kind:"field",name:"#handlerPlaceholder",static:!1,private:!0,access:{has:e=>#e1 in e,get:e=>e.#e1,set:(e,t)=>{e.#e1=t}},metadata:e},tD,tF),l8(null,null,t_,{kind:"field",name:"#handlerPlaceholderColor",static:!1,private:!0,access:{has:e=>#e2 in e,get:e=>e.#e2,set:(e,t)=>{e.#e2=t}},metadata:e},tH,tj),l8(null,null,tM,{kind:"field",name:"#handlerPlaceholderFontFamily",static:!1,private:!0,access:{has:e=>#e3 in e,get:e=>e.#e3,set:(e,t)=>{e.#e3=t}},metadata:e},tz,tU),l8(null,null,tR,{kind:"field",name:"#handlerPlaceholderFontSize",static:!1,private:!0,access:{has:e=>#e4 in e,get:e=>e.#e4,set:(e,t)=>{e.#e4=t}},metadata:e},tW,tV),l8(null,null,tN,{kind:"field",name:"#handlerPlaceholderFontWeight",static:!1,private:!0,access:{has:e=>#e8 in e,get:e=>e.#e8,set:(e,t)=>{e.#e8=t}},metadata:e},t$,tB),e&&Object.defineProperty(this,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e})}static observedAttributes=["placeholder","placeholder-color","placeholder-font-family","placeholder-font-size","placeholder-font-weight"];#I;#e9=sd(()=>this.#I.shadowRoot,"#input");#e1=l9(this,tD,sL(this.#e9,"placeholder"));#e2=(l9(this,tF),l9(this,tH,sc(this.#e9,"--placeholder-color",void 0,!0)));#e3=(l9(this,tj),l9(this,tz,sc(this.#e9,"--placeholder-font-family",void 0,!0)));#e4=(l9(this,tU),l9(this,tW,sc(this.#e9,"--placeholder-font-size",void 0,!0)));#e8=(l9(this,tV),l9(this,t$,sc(this.#e9,"--placeholder-font-weight",void 0,!0)));constructor(e){l9(this,tB),this.#I=e}}),(tJ=[],tK=[],tZ=[],tQ=[],t0=[],class{static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(null):void 0;tX=[sr("value",!1)],tY=[sr("disabled",!0)],tG=[sr("autocomplete",!0)],l8(this,tq={value:l5(function(e){if(e){let t=parseFloat(this.#I.getAttribute("maxlength")??"");isNaN(t)||(e=e.substring(0,t))}else e="";let t=this.#e9();t.value!==e&&(t.value=e)},"#handleValue")},tX,{kind:"method",name:"#handleValue",static:!1,private:!0,access:{has:e=>#e5 in e,get:e=>e.#e5},metadata:e},null,tJ),l8(null,null,tY,{kind:"field",name:"#handleDisabled",static:!1,private:!0,access:{has:e=>#e6 in e,get:e=>e.#e6,set:(e,t)=>{e.#e6=t}},metadata:e},tK,tZ),l8(null,null,tG,{kind:"field",name:"#handleAutocomplete",static:!1,private:!0,access:{has:e=>#e7 in e,get:e=>e.#e7,set:(e,t)=>{e.#e7=t}},metadata:e},tQ,t0),e&&Object.defineProperty(this,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e})}static observedAttributes=["value","disabled","autocomplete"];#I=l9(this,tJ);#e9=sd(()=>this.#I.shadowRoot,"#input");get #e5(){return tq.value}#e6=l9(this,tK,sL(this.#e9,"disabled",e=>null!==e?"":null));#e7=(l9(this,tZ),l9(this,tQ,sL(this.#e9,"autocomplete")));constructor(e){l9(this,t0),this.#I=e}}),(tw=[],tx=[],tC=[],tT=[],tO=[],tI=[],tL=[],tk=[],tA=[],class{static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(null):void 0;tb=[sr("confirm-type",!0)],tg=[sr("maxlength",!0)],tf=[sr("readonly",!0)],ty=[sr("type",!0)],tS=[sr("ios-spell-check",!0),sr("spell-check",!0)],l8(this,tE={value:l5(function(e){let t="text",n="text";"digit"===e?t="numeric":"number"===e?t="decimal":"email"===e?t="email":"tel"===e?t="tel":n=e,this.#te(t),this.#tt(n)},"#handleType")},ty,{kind:"method",name:"#handleType",static:!1,private:!0,access:{has:e=>#tn in e,get:e=>e.#tn},metadata:e},null,tw),l8(null,null,tb,{kind:"field",name:"#handlerConfirmType",static:!1,private:!0,access:{has:e=>#ta in e,get:e=>e.#ta,set:(e,t)=>{e.#ta=t}},metadata:e},tx,tC),l8(null,null,tg,{kind:"field",name:"#handlerMaxlength",static:!1,private:!0,access:{has:e=>#ti in e,get:e=>e.#ti,set:(e,t)=>{e.#ti=t}},metadata:e},tT,tO),l8(null,null,tf,{kind:"field",name:"#handleReadonly",static:!1,private:!0,access:{has:e=>#tl in e,get:e=>e.#tl,set:(e,t)=>{e.#tl=t}},metadata:e},tI,tL),l8(null,null,tS,{kind:"field",name:"#handleSpellCheck",static:!1,private:!0,access:{has:e=>#ts in e,get:e=>e.#ts,set:(e,t)=>{e.#ts=t}},metadata:e},tk,tA),e&&Object.defineProperty(this,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e})}static observedAttributes=["confirm-type","maxlength","readonly","type","ios-spell-check","spell-check"];#I=l9(this,tw);#tr="text";#e9=sd(()=>this.#I.shadowRoot,"#input");#ta=l9(this,tx,sL(this.#e9,"enterkeyhint",e=>null===e?"send":e));#ti=(l9(this,tC),l9(this,tT,sL(this.#e9,"maxlength",e=>null===e?"140":e)));#tl=(l9(this,tO),l9(this,tI,sL(this.#e9,"readonly",e=>null!==e?"":null)));#tt=(l9(this,tL),sL(this.#e9,"type"));#te=sL(this.#e9,"inputmode");get #tn(){return tE.value}#ts=l9(this,tk,sL(this.#e9,"spellcheck",e=>null===e?"false":"true"));constructor(e){l9(this,tA),this.#I=e}}),(t5=[],class{static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(null):void 0;t1=[sr("input-filter",!0),si("lynxinput")],t3=[sr("send-composing-input",!0)],t8=[si("selection")],l8(this,t2={value:l5(function(e){let t=this.#e9();e?(t.addEventListener("input",this.#to,{passive:!0}),t.addEventListener("compositionend",this.#td,{passive:!0})):(t.removeEventListener("input",this.#to),t.removeEventListener("compositionend",this.#td))},"#handleEnableInputEvent")},t1,{kind:"method",name:"#handleEnableInputEvent",static:!1,private:!0,access:{has:e=>#tc in e,get:e=>e.#tc},metadata:e},null,t5),l8(this,t4={value:l5(function(e){this.#th=null!==e},"#handleSendComposingInput")},t3,{kind:"method",name:"#handleSendComposingInput",static:!1,private:!0,access:{has:e=>#tu in e,get:e=>e.#tu},metadata:e},null,t5),l8(this,t9={value:l5(function(e){e?this.#e9().addEventListener("select",this.#tm,{passive:!0}):this.#e9().removeEventListener("select",this.#tm)},"#handleEnableSelectionEvent")},t8,{kind:"method",name:"#handleEnableSelectionEvent",static:!1,private:!0,access:{has:e=>#tp in e,get:e=>e.#tp},metadata:e},null,t5),e&&Object.defineProperty(this,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e})}static observedAttributes=["send-composing-input","input-filter"];#I=l9(this,t5);#th=!1;#e9=sd(()=>this.#I.shadowRoot,"#input");#tv=sd(()=>this.#I.shadowRoot,"#form");get #tc(){return t2.value}get #tu(){return t4.value}#tb=e=>{let t=s$[e.type]??e.type;this.#I.dispatchEvent(new CustomEvent(t,{...sn,detail:{value:this.#e9().value}}))};#to=e=>{let t=this.#e9(),n=this.#I.getAttribute("input-filter"),a=n?t.value.replace(RegExp(n,"g"),""):t.value,i=e.isComposing;t.value=a,(!i||this.#th)&&this.#I.dispatchEvent(new CustomEvent("lynxinput",{...sn,detail:{value:a,textLength:a.length,cursor:t.selectionStart,isComposing:i,selectionStart:t.selectionStart,selectionEnd:t.selectionEnd}}))};#td=()=>{let e=this.#e9(),t=this.#I.getAttribute("input-filter"),n=t?e.value.replace(RegExp(t,"g"),""):e.value;e.value=n,this.#th||this.#I.dispatchEvent(new CustomEvent("lynxinput",{...sn,detail:{value:n,textLength:n.length,cursor:e.selectionStart,isComposing:!1,selectionStart:e.selectionStart,selectionEnd:e.selectionEnd}}))};get #tp(){return t9.value}#tm=()=>{let e=this.#e9();this.#I.dispatchEvent(new CustomEvent("selection",{...sn,detail:{selectionStart:e.selectionStart,selectionEnd:e.selectionEnd}}))};#tg=e=>{e.target===this.#e9()&&"number"==typeof e.detail&&e.stopImmediatePropagation()};constructor(e){this.#I=e;const t=this.#e9(),n=this.#tv();t.addEventListener("blur",this.#tb,{passive:!0}),t.addEventListener("focus",this.#tb,{passive:!0}),n.addEventListener("submit",this.#tb,{passive:!0}),n.addEventListener("input",this.#tg,{passive:!0})}})],sS)],nt=[],nn=HTMLElement,(class extends nn{static{t7=this}static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(nn[Symbol.metadata]??null):void 0;l8(null,t6={value:t7},ne,{kind:"class",name:t7.name,metadata:e},null,nt),t7=t6.value,e&&Object.defineProperty(t7,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e}),l9(t7,nt)}#tf=sd(()=>this.shadowRoot,"#input");addText(e){let{text:t}=e,n=this.#tf(),a=n.selectionStart;if(null===a)n.value=t;else{let e=n.value;n.value=e.slice(0,a)+t+e.slice(a)}}controlKeyBoard(e){let{action:t}=e;0===t||1===t?this.focus():(2===t||3===t)&&this.blur()}setValue(e){let t,n=this.#tf();n.value=e.value,(t=e.index)&&n.setSelectionRange(t,t)}getValue(){let e=this.#tf();return{value:e.value,selectionBegin:e.selectionStart,selectionEnd:e.selectionEnd}}sendDelEvent(e){let{action:t,length:n}=e,a=this.#tf();1===t&&(n=1);let i=a.selectionStart;if(null===i){let e=a.value;a.value=a.value.substring(0,e.length-n)}else{let e=a.value;a.value=e.slice(0,i-n)+e.slice(i)}}setInputFilter(e){this.#tf().setAttribute("pattern",e.pattern)}select(){let e=this.#tf();e.setSelectionRange(0,e.value.length)}setSelectionRange(e){this.#tf().setSelectionRange(e.selectionStart,e.selectionEnd)}focus(e){this.#tf().focus(e)}blur(){this.#tf().blur()}connectedCallback(){let e=this.#tf();null===this.getAttribute("confirm-type")&&e.setAttribute("confirm-type","send"),null===this.getAttribute("maxlength")&&e.setAttribute("maxlength","140")}}),nc=[st("x-overlay-ng",[ss,(nr=[],class{static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(null):void 0;na=[sr("events-pass-through",!0)],nl=[sr("visible",!1)],l8(this,ni={value:l5(function(e){null!==e?(this.#ty().addEventListener("click",this.#tE,{passive:!1}),this.#I.addEventListener("click",this.#tE,{passive:!1})):(this.#ty().removeEventListener("click",this.#tE),this.#I.removeEventListener("click",this.#tE))},"#handleEventsPassThrough")},na,{kind:"method",name:"#handleEventsPassThrough",static:!1,private:!0,access:{has:e=>#tS in e,get:e=>e.#tS},metadata:e},null,nr),l8(this,ns={value:l5(function(e){this.#tw=null!==e,this.#tx&&(this.#tw?(this.#ty().showModal(),this.#I.dispatchEvent(new CustomEvent("showoverlay",sn))):(this.#ty().close(),this.#I.dispatchEvent(new CustomEvent("dismissoverlay",sn))))},"#handleVisible")},nl,{kind:"method",name:"#handleVisible",static:!1,private:!0,access:{has:e=>#tC in e,get:e=>e.#tC},metadata:e},null,nr),e&&Object.defineProperty(this,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e})}static observedAttributes=["visible","events-pass-through"];#I=l9(this,nr);#tx=!!window.HTMLDialogElement;#tw=!1;constructor(e){this.#I=e}#ty=sd(()=>this.#I.shadowRoot,"#dialog");get #tS(){return ni.value}get #tC(){return ns.value}#tE=e=>{e.stopPropagation();let t=this.#ty();if(e.target===this.#I||e.target===t){t.close();let{clientX:n,clientY:a}=e,i=document.elementFromPoint(n,a);i?.tagName==="LYNX-VIEW"&&i.shadowRoot&&(i=i.shadowRoot.elementFromPoint(n,a)??i),i?.dispatchEvent(new MouseEvent("click",e)),requestAnimationFrame(()=>{this.#tw&&t.isConnected&&t.showModal()})}};connectedCallback(){this.#tx||(this.#ty().style.display="none")}})],sx)],nh=[],nu=HTMLElement,class extends nu{static{nd=this}static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(nu[Symbol.metadata]??null):void 0;l8(null,no={value:nd},nc,{kind:"class",name:nd.name,metadata:e},null,nh),nd=no.value,e&&Object.defineProperty(nd,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e}),l9(nd,nh)}get[sl](){return this.shadowRoot.firstElementChild}};class sB extends Event{startShowing;fullyShowing;static EventName="x-refresh-view-intersecting";constructor(e,t){super(sB.EventName,{composed:!1,cancelable:!0,bubbles:!0}),this.startShowing=e,this.fullyShowing=t}}class sX{#I;static observedAttributes=[];#tT;constructor(e){this.#I=e}connectedCallback(){if(IntersectionObserver&&!this.#tT){let e=this.#I.parentElement;e&&(this.#tT=new IntersectionObserver(e=>{let t=!1,n=!1;e.forEach(e=>{t=e.intersectionRatio>0,n=e.intersectionRatio>.9}),this.#I.dispatchEvent(new sB(t,n)),n&&this.#I.setAttribute("x-magnet-enable","")},{root:e,threshold:[.1,.9]}),this.#tT.observe(this.#I))}}dispose(){this.#tT&&(this.#tT.disconnect(),this.#tT=void 0)}}function sq(e,t,n,a){let i=!1;return function(l){if(l!==i){let s=e.call(this);l?(se(()=>s.addEventListener(t,n,a)),i=!0):(se(()=>s.removeEventListener(t,n)),i=!1)}}}nv=[st("x-refresh-footer",[ss,sX])],nb=[],ng=HTMLElement,(class extends ng{static{np=this}static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(ng[Symbol.metadata]??null):void 0;l8(null,nm={value:np},nv,{kind:"class",name:np.name,metadata:e},null,nb),np=nm.value,e&&Object.defineProperty(np,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e}),l9(np,nb)}connectedCallback(){this.setAttribute("slot","footer")}}),nE=[st("x-refresh-header",[ss,sX])],nS=[],nw=HTMLElement,(class extends nw{static{ny=this}static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(nw[Symbol.metadata]??null):void 0;l8(null,nf={value:ny},nE,{kind:"class",name:ny.name,metadata:e},null,nS),ny=nf.value,e&&Object.defineProperty(ny,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e}),l9(ny,nS)}connectedCallback(){this.setAttribute("slot","header")}}),nA=[st("x-refresh-view",[ss,(nI=[],class{static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(null):void 0;nx=[si("headeroffset"),si("headershow"),si("footeroffset")],nT=[si("startrefresh"),si("headerreleased"),si("startloadmore"),si("footerreleased")],l8(this,nC={value:l5(function(e,t){this.#tO[t]=e;let{headeroffset:n,headershow:a,footeroffset:i}=this.#tO;n||a||i?this.#tI():this.#tL()},"#handleComplexEventEnableAttributes")},nx,{kind:"method",name:"#handleComplexEventEnableAttributes",static:!1,private:!0,access:{has:e=>#tk in e,get:e=>e.#tk},metadata:e},null,nI),l8(this,nO={value:l5(function(e,t){this.#tO[t]=e;let{startrefresh:n,headerreleased:a,startloadmore:i,footerreleased:l}=this.#tO;a||l||i||n?this.#tA():this.#tP()},"#handleXEnableHeaderOffsetEvent")},nT,{kind:"method",name:"#handleXEnableHeaderOffsetEvent",static:!1,private:!0,access:{has:e=>#t_ in e,get:e=>e.#t_},metadata:e},null,nI),e&&Object.defineProperty(this,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e})}#I=l9(this,nI);static observedAttributes=[];#tM=sd(()=>this.#I,"x-refresh-view > x-refresh-header:first-of-type");#tR=sd(()=>this.#I,"x-refresh-view > x-refresh-footer:first-of-type");constructor(e){this.#I=e,this.#I.addEventListener(sB.EventName,this.#tN)}#tO={headeroffset:!1,headerreleased:!1,startrefresh:!1,footeroffset:!1,headershow:!1,footerreleased:!1,startloadmore:!1};get #tk(){return nC.value}get #t_(){return nO.value}#tD=!1;#tF=!1;#tH=!1;#tj=!1;#tN=e=>{e.stopPropagation(),"X-REFRESH-HEADER"===e.target.tagName?(this.#tD=e.startShowing,this.#tF=e.fullyShowing):(this.#tH=e.startShowing,this.#tj=e.fullyShowing)};#tz=!1;#tA(){this.#tz||(this.#I.addEventListener("touchend",this.#tU),this.#tz=!0)}#tU=()=>{this.#tF?(this.#I.dispatchEvent(new CustomEvent("headerreleased",sn)),this.#I.dispatchEvent(new CustomEvent("startrefresh",{...sn,detail:{isManual:this.#I._nextRefreshIsManual}})),this.#I._nextRefreshIsManual=!0):("true"===this.#I.getAttribute("enable-auto-loadmore")&&this.#tH||this.#tj)&&(this.#I.dispatchEvent(new CustomEvent("footerreleased",sn)),this.#I.dispatchEvent(new CustomEvent("startloadmore",sn)))};#tP(){this.#tz&&this.#I.removeEventListener("touchend",this.#tU)}#tW=!1;#tV=!1;#tI(){this.#tV||(this.#I.addEventListener("touchstart",this.#t$),this.#I.addEventListener("touchend",this.#tB),this.#I.addEventListener("touchcancel",this.#tB),this.#I.shadowRoot.querySelector("#container").addEventListener("scroll",this.#Q))}#tB=()=>{this.#tW=!1};#t$=()=>{this.#tW=!0};#Q=()=>{if(this.#tD&&(this.#tO.headershow||this.#tO.headeroffset)){let e=this.#tM();if(e){let t=parseFloat(getComputedStyle(e).height),n=this.#I.shadowRoot.querySelector("#container").scrollTop;this.#I.dispatchEvent(new CustomEvent("headershow",{...sn,detail:{isDragging:this.#tW,offsetPercent:1-n/t}})),this.#I.dispatchEvent(new CustomEvent("headeroffset",{...sn,detail:{isDragging:this.#tW,offsetPercent:1-n/t}}))}}else if(this.#tH&&this.#tO.footeroffset){let e=this.#tR();if(e){let t=this.#I.shadowRoot.querySelector("#container"),n=t.scrollTop;t.scrollHeight;let a=parseFloat(getComputedStyle(e).height);this.#I.dispatchEvent(new CustomEvent("footeroffset",{...sn,detail:{isDragging:this.#tW,offsetPercent:1-n/a}}))}}};#tL(){this.#tV&&(this.#I.removeEventListener("touchstart",this.#t$),this.#I.removeEventListener("touchend",this.#tB),this.#I.removeEventListener("touchcancel",this.#tB),this.#I.shadowRoot.querySelector("#container").removeEventListener("scroll",this.#Q))}dispose(){this.#tP(),this.#tL()}})],sC)],nP=[],n_=HTMLElement,(class extends n_{static{nk=this}static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(n_[Symbol.metadata]??null):void 0;l8(null,nL={value:nk},nA,{kind:"class",name:nk.name,metadata:e},null,nP),nk=nL.value,e&&Object.defineProperty(nk,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e})}static notToFilterFalseAttributes=new Set(["enable-refresh","enable-loadmore","enable-auto-loadmore"]);_nextRefreshIsManual=!0;finishRefresh(){this.querySelector("x-refresh-view > x-refresh-header:first-of-type")?.removeAttribute("x-magnet-enable")}finishLoadMore(){this.querySelector("x-refresh-view > x-refresh-footer:first-of-type")?.removeAttribute("x-magnet-enable")}autoStartRefresh(){let e=this.shadowRoot.querySelector("#container");this.querySelector("x-refresh-view > x-refresh-header:first-of-type")?.setAttribute("x-magnet-enable",""),this._nextRefreshIsManual=!1,e.scroll({top:0,behavior:"smooth"})}#tX=sd(()=>this.shadowRoot,"#container");#tq=sd(()=>this.shadowRoot,"#content");get scrollTop(){let e=this.#tX(),t=this.#tq();return t.scrollTop+t.offsetTop-e.scrollTop}set scrollTop(e){console.log(e);let t=this.#tX(),n=this.#tq();e>0?n.scrollTop=e:t.scrollTop=n.offsetTop+e}get scrollHeight(){return this.#tq().scrollHeight}get[sb](){return this}static{l9(nk,nP)}}),nW=[st("x-svg",[ss,(nj=[],class{static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(null):void 0;nM=[sr("src",!0)],nN=[sr("content",!0)],nF=[si("load")],l8(this,nR={value:l5(function(e){e?this.#eG().src=e:this.#eG().src=""},"#handleSrc")},nM,{kind:"method",name:"#handleSrc",static:!1,private:!0,access:{has:e=>#es in e,get:e=>e.#es},metadata:e},null,nj),l8(this,nD={value:l5(function(e){if(this.#n&&URL.revokeObjectURL(this.#n),!e){this.#n="";return}let t=new Blob([e],{type:"image/svg+xml;charset=UTF-8"}),n=URL.createObjectURL(t);this.#n=n,this.#eG().src=n},"#handleContent")},nN,{kind:"method",name:"#handleContent",static:!1,private:!0,access:{has:e=>#tY in e,get:e=>e.#tY},metadata:e},null,nj),l8(this,nH={value:l5(function(e){e?this.#eG().addEventListener("load",this.#eK,{passive:!0}):this.#eG().removeEventListener("load",this.#eK)},"#enableLoadEvent")},nF,{kind:"method",name:"#enableLoadEvent",static:!1,private:!0,access:{has:e=>#eZ in e,get:e=>e.#eZ},metadata:e},null,nj),e&&Object.defineProperty(this,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e})}static observedAttributes=["src","content"];#I=l9(this,nj);#n=null;#eG=sd(()=>this.#I.shadowRoot,"#img");get #es(){return nR.value}get #tY(){return nD.value}get #eZ(){return nH.value}#eK=()=>{this.#I.dispatchEvent(new CustomEvent("load",{...sn,detail:{width:this.#eG().naturalWidth,height:this.#eG().naturalHeight}}))};constructor(e){this.#I=e}})],'<img part="img" alt="" loading="lazy" id="img" /> ')],nV=[],n$=HTMLElement,(class extends n${static{nU=this}static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(n$[Symbol.metadata]??null):void 0;l8(null,nz={value:nU},nW,{kind:"class",name:nU.name,metadata:e},null,nV),nU=nz.value,e&&Object.defineProperty(nU,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e}),l9(nU,nV)}}),nq=[st("x-swiper-item",[ss])],nY=[],nG=HTMLElement,(class extends nG{static{nX=this}static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(nG[Symbol.metadata]??null):void 0;l8(null,nB={value:nX},nq,{kind:"class",name:nX.name,metadata:e},null,nY),nX=nB.value,e&&Object.defineProperty(nX,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e}),l9(nX,nY)}}),ay=[st("x-swiper",[ss,(ar=[],ao=[],ad=[],ac=[],ah=[],au=[],am=[],ap=[],av=[],ab=[],class{static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(null):void 0;an=[sr("indicator-color",!0)],aa=[sr("indicator-active-color",!0)],ai=[sr("page-margin",!0)],al=[sr("previous-margin",!0)],as=[sr("next-margin",!0)],l8(null,null,an,{kind:"field",name:"#handleIndicatorColor",static:!1,private:!0,access:{has:e=>#tG in e,get:e=>e.#tG,set:(e,t)=>{e.#tG=t}},metadata:e},ar,ao),l8(null,null,aa,{kind:"field",name:"#handleIndicatorActiveColor",static:!1,private:!0,access:{has:e=>#tJ in e,get:e=>e.#tJ,set:(e,t)=>{e.#tJ=t}},metadata:e},ad,ac),l8(null,null,ai,{kind:"field",name:"#handlePageMargin",static:!1,private:!0,access:{has:e=>#tK in e,get:e=>e.#tK,set:(e,t)=>{e.#tK=t}},metadata:e},ah,au),l8(null,null,al,{kind:"field",name:"#handlePreviousMargin",static:!1,private:!0,access:{has:e=>#tZ in e,get:e=>e.#tZ,set:(e,t)=>{e.#tZ=t}},metadata:e},am,ap),l8(null,null,as,{kind:"field",name:"#handleNextMargin",static:!1,private:!0,access:{has:e=>#tQ in e,get:e=>e.#tQ,set:(e,t)=>{e.#tQ=t}},metadata:e},av,ab),e&&Object.defineProperty(this,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e})}static observedAttributes=["indicator-color","indicator-active-color","page-margin","previous-margin","next-margin"];#I;#t0=0;#t1=sd(()=>this.#I.shadowRoot,"#indicator-container");#t2=sd(()=>this.#I.shadowRoot,"#indicator-style");#t3;constructor(e){l9(this,ab),this.#I=e}#tG=l9(this,ar,sc(this.#t1,"--indicator-color",void 0,!0));#tJ=(l9(this,ao),l9(this,ad,sc(this.#t1,"--indicator-active-color",void 0,!0)));#tK=(l9(this,ac),l9(this,ah,sc(this.#t1,"--page-margin",void 0,!0)));#tZ=(l9(this,au),l9(this,am,sc(this.#t1,"--previous-margin",void 0,!0)));#tQ=(l9(this,ap),l9(this,av,sc(this.#t1,"--next-margin",void 0,!0)));#t4(){let e=this.#I.childElementCount;if(e!==this.#t0){let t="";for(let n=0;n<e;n++)t+=`<div style="animation-timeline:--x-swiper-item-${n};" part="indicator-item"></div>`;if(this.#t1().innerHTML=t,e>5){for(let t=0;t<e;t++)this.#I.children.item(t)?.style.setProperty("view-timeline-name",`--x-swiper-item-${t}`);this.#t2().innerHTML=`:host { timeline-scope: ${Array.from({length:e},(e,t)=>`--x-swiper-item-${t}`).join(",")} !important; }`}}this.#t0=e}connectedCallback(){this.#t4(),this.#t3=new MutationObserver(this.#t4.bind(this)),this.#t3.observe(this.#I,{attributes:!1,characterData:!1,childList:!0,subtree:!1}),CSS.supports("timeline-scope","--a, --b")||(this.#I.addEventListener("change",(({detail:e})=>{let t=e.current,n=this.#I.childElementCount,a=this.#t1();for(let e=0;e<n;e++){let n=a.children[e];n&&(e===t?n.style.setProperty("background-color","var(--indicator-active-color)","important"):n.style.removeProperty("background-color"))}}).bind(this)),se(()=>{this.#t1().children[this.#I.currentIndex]?.style.setProperty("background-color","var(--indicator-active-color)","important")}))}dispose(){this.#t3?.disconnect(),this.#t3=void 0}}),(nQ=[],n0=[],n1=[],class{static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(null):void 0;nJ=[si("transition")],nK=[si("scrollstart"),si("lynxscrollend"),si("change"),si("change-event-for-indicator")],l8(this,nZ={value:l5(function(e,t){this.#tO[t]=e;let{lynxscrollend:n,scrollstart:a,change:i}=this.#tO,l=i||n||a||this.#tO["change-event-for-indicator"];this.#t8.forEach(e=>e(l))},"#enableScrollEventProcessor")},nK,{kind:"method",name:"#enableScrollEventProcessor",static:!1,private:!0,access:{has:e=>#t9 in e,get:e=>e.#t9},metadata:e},null,nQ),l8(null,null,nJ,{kind:"field",name:"#handleEnableTransitionEvent",static:!1,private:!0,access:{has:e=>#t5 in e,get:e=>e.#t5,set:(e,t)=>{e.#t5=t}},metadata:e},n0,n1),e&&Object.defineProperty(this,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e})}static observedAttributes=[];#I=l9(this,nQ);#t6=0;#t7=0;#tW=!1;#V;#ne=!1;constructor(e){this.#I=e}#tq=sd(()=>this.#I.shadowRoot,"#content").bind(this);#t5=l9(this,n0,sq(this.#tq,"scroll",this.#nt,{passive:!0}));#Q(){sp||(clearTimeout(this.#V),this.#V=setTimeout(()=>{this.#et()},100)),this.#ne||(this.#I.dispatchEvent(new CustomEvent("scrollstart",{...sn,detail:{current:this.#t6,isDragged:this.#tW}})),this.#ne=!0);let e=this.#tq(),t=this.#I.isVertical,n=t?e.scrollTop:e.scrollLeft,a=t?e.clientHeight:e.clientWidth,i=t?e.scrollHeight:e.scrollWidth;if(Math.abs(this.#t7-n)>a/4||n<10||Math.abs(n-i)<=a){let e=this.#I.currentIndex;e!==this.#t6&&(this.#I.dispatchEvent(new CustomEvent("change",{...sn,detail:{current:e,isDragged:this.#tW}})),this.#t6=e),this.#t7=n}}#et(){this.#I.dispatchEvent(new CustomEvent("lynxscrollend",{...sn,detail:{current:this.#t6}})),this.#ne=!1}#nn(){this.#tW=!0}#na(){this.#tW=!1}#nt(){this.#I.dispatchEvent(new CustomEvent("transition",{...sn,detail:{dx:this.#tq().scrollLeft,dy:this.#tq().scrollTop}}))}#t8=(l9(this,n1),[sq(this.#tq,"scroll",this.#Q.bind(this),{passive:!0}),sq(this.#tq,"touchstart",this.#nn.bind(this),{passive:!0}),sq(this.#tq,"touchend",this.#na.bind(this),{passive:!0}),sq(this.#tq,"touchcancel",this.#na.bind(this),{passive:!0}),sq(this.#tq,"scrollend",this.#et.bind(this),{passive:!0})]);#tO={scrollstart:!1,lynxscrollend:!1,change:!1,"change-event-for-indicator":!1};get #t9(){return nZ.value}connectedCallback(){this.#t6=parseFloat(this.#I.getAttribute("current")??"0");let e=this.#I.isVertical;this.#t7=e?this.#tq().scrollTop:this.#tq().scrollLeft}}),(at=[],class{static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(null):void 0;n5=[sr("circular",!1)],n7=[sr("vertical",!0)],l8(this,n6={value:l5(function(e){this.#t8.forEach(t=>t(null!=e)),null!==e&&this.#ni({detail:{current:this.#I.currentIndex,isDragged:!1,__isFirstLayout:!0}})},"#handleCircular")},n5,{kind:"method",name:"#handleCircular",static:!1,private:!0,access:{has:e=>#nl in e,get:e=>e.#nl},metadata:e},null,at),l8(this,ae={value:l5(function(e){this.#ns=null!==e},"#handleVerticalChange")},n7,{kind:"method",name:"#handleVerticalChange",static:!1,private:!0,access:{has:e=>#nr in e,get:e=>e.#nr},metadata:e},null,at),e&&Object.defineProperty(this,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e})}static observedAttributes=["circular","vertical"];#I=l9(this,at);#ns=!1;#no;#nd=0;#tq=sd(()=>this.#I.shadowRoot,"#content").bind(this);constructor(e){this.#I=e}#nc=sd(()=>this.#I.shadowRoot,"#circular-start").bind(this);#nh=sd(()=>this.#I.shadowRoot,"#circular-end").bind(this);#ni(e){let t=this.#I.childElementCount;if(t>2){let{current:n,isDragged:a,__isFirstLayout:i}=e.detail;if(0===n||n===t-1||2===n||n===t-2){let e,l=this.#tq(),s=this.#nc().assignedElements(),r=this.#nh().assignedElements(),o=this.#I.firstElementChild,d=this.#I.lastElementChild,c=this.#I.snapDistance;if(0===n?(r.forEach(e=>e.removeAttribute("slot")),d.setAttribute("slot","circular-start"),e=o):n===t-1?(s.forEach(e=>e.removeAttribute("slot")),o.setAttribute("slot","circular-end"),e=d):(s.forEach(e=>e.removeAttribute("slot")),r.forEach(e=>e.removeAttribute("slot")),e=this.#I.children[n]),this.#ns){let t="carousel"===this.#I.getAttribute("mode")?.8*l.clientHeight/2:l.clientHeight/2;this.#nd=e.offsetTop+e.offsetHeight/2-c-t,l.scrollTop=this.#nd}else{let t="carousel"===this.#I.getAttribute("mode")?.8*l.clientWidth/2:l.clientWidth/2;this.#nd=e.offsetLeft+e.offsetWidth/2-c-t,l.scrollLeft=this.#nd}if(!a){let e=this.#I.getAttribute("mode");if(i&&(null===e||"normal"===e||"carousel"===e||"carry"===e))return;this.#nu(i?"instant":"smooth")}}}}#nu(e){let t=this.#tq(),n=this.#I.snapDistance;t.scrollBy({top:this.#ns?n:0,left:this.#ns?0:n,behavior:e??"smooth"})}#t8=[sq(()=>this.#I,"change",this.#ni.bind(this),{passive:!0}),sq(()=>this.#I,"touchmove",this.#nm.bind(this),{passive:!1}),sq(()=>this.#I,"touchend",this.#np.bind(this),{passive:!1}),sq(()=>this.#I,"touchcancel",this.#np.bind(this),{passive:!1})];get #nl(){return n6.value}#nm(e){let t=e.touches.item(0);if(t){let e=this.#ns?t.pageY:t.pageX;if(void 0!==this.#no){this.#nv();let t=this.#no-e;this.#nd+=t}this.#no=e}}#np(e){this.#nb(),this.#nu(),this.#no=void 0}get #nr(){return ae.value}#ng;#nv(){if(!this.#ng){let e=this.#tq();this.#nd=this.#ns?e.scrollTop:e.scrollLeft,this.#ng=setInterval(()=>{this.#ns?e.scrollTop=this.#nd:e.scrollLeft=this.#nd},10)}}#nb(){this.#ng&&(clearInterval(this.#ng),this.#ng=void 0)}dispose(){this.#nb()}}),(n9=[],class{static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(null):void 0;n2=[sr("current",!1)],n4=[sr("interval",!1),sr("autoplay",!1)],l8(this,n3={value:l5(function(e){let t=Number(e);Number.isNaN(t)||(this.#I.currentIndex=t)},"#handleCurrentChange")},n2,{kind:"method",name:"#handleCurrentChange",static:!1,private:!0,access:{has:e=>#nf in e,get:e=>e.#nf},metadata:e},null,n9),l8(this,n8={value:l5(function(){if(null!==this.#I.getAttribute("autoplay")){let e=this.#I.getAttribute("interval"),t=e?parseFloat(e):5e3;Number.isNaN(t)&&(t=5e3),this.#ny(t)}},"#handleAutoplay")},n4,{kind:"method",name:"#handleAutoplay",static:!1,private:!0,access:{has:e=>#nE in e,get:e=>e.#nE},metadata:e},null,n9),e&&Object.defineProperty(this,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e})}static observedAttributes=["current","interval","autoplay"];#I=l9(this,n9);constructor(e){this.#I=e}#nS(){this.#I.currentIndex===this.#I.childElementCount-1?this.#I.circularPlay&&(this.#I.currentIndex=0):this.#I.currentIndex+=1}get #nf(){return n3.value}#nw;#nx=(()=>{this.#nS()}).bind(this);#ny(e){this.#nC(),this.#nw=setInterval(this.#nx,e)}#nC(){this.#nw&&clearInterval(this.#nw)}get #nE(){return n8.value}dispose(){this.#nC()}})],sT)],aE=[],aS=HTMLElement,(class extends aS{static{af=this}static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(aS[Symbol.metadata]??null):void 0;l8(null,ag={value:af},ay,{kind:"class",name:af.name,metadata:e},null,aE),af=ag.value,e&&Object.defineProperty(af,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e})}static notToFilterFalseAttributes=new Set(["smooth-scroll","indicator-dots"]);#tq=sd(()=>this.shadowRoot,"#content").bind(this);#nT(){let e=0,t=Number.MAX_SAFE_INTEGER,n=0;if(this.childElementCount>0){let a=this.#tq(),i=this.isVertical,l=this.childElementCount,s=i?a.scrollTop:a.scrollLeft,r=i?a.clientHeight:a.clientWidth,o=i?this.firstElementChild.offsetHeight:this.firstElementChild.offsetWidth,d=s+("carousel"===this.getAttribute("mode")?.8*r/2:r/2);for(let a=0;a<l;a++){let l=this.children[a];if(l){let s=(i?l.offsetTop:l.offsetLeft)+o/2-d,r=Math.abs(s);r<t&&(e=a,t=r,n=s)}}}return{current:e,minDistanceToMid:t,minOffsetToMid:n}}get currentIndex(){return this.#nT().current}set currentIndex(e){if(this.currentIndex===e)return;let t=null===this.getAttribute("smooth-scroll");this.#nO(e,t?"smooth":"instant")}#nO(e,t){let n=this.children.item(e);if(n){let e=this.isVertical,a=0;a="flat-coverflow"===this.getAttribute("mode")?e?n.offsetTop-n.offsetHeight/3:n.offsetLeft-n.offsetWidth/3:e?n.offsetTop:n.offsetLeft,this.#tq().scrollTo({left:e?0:a,top:e?a:0,behavior:t})}}get snapDistance(){return this.#nT().minOffsetToMid}get isVertical(){return null!==this.getAttribute("vertical")}get circularPlay(){return null!==this.getAttribute("circular")}scrollTo(...e){if(e.length>0&&"object"==typeof e[0]&&null!==e[0]&&"index"in e[0]){let{index:t,smooth:n=!0}=e[0];if("number"==typeof t)return void this.#nO(t,n?"smooth":"instant")}super.scrollTo(...e)}connectedCallback(){let e=this.getAttribute("current");null!==e&&this.#nO(Number(e),"instant")}get[sb](){return this}static{l9(af,aE)}}),aI=[st("inline-image",[(aC=[],class{static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(null):void 0;aw=[sr("src",!0)],l8(this,ax={value:l5(function(e){e?this.#nI().setAttribute("src",e):this.#nI().removeAttribute("src")},"#handleSrc")},aw,{kind:"method",name:"#handleSrc",static:!1,private:!0,access:{has:e=>#es in e,get:e=>e.#es},metadata:e},null,aC),e&&Object.defineProperty(this,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e})}static observedAttributes=["src"];#I=l9(this,aC);constructor(e){this.#I=e}#nI=sd(()=>this.#I.shadowRoot,"#img");get #es(){return ax.value}})],sE({}))],aL=[],ak=HTMLElement,(class extends ak{static{aO=this}static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(ak[Symbol.metadata]??null):void 0;l8(null,aT={value:aO},aI,{kind:"class",name:aO.name,metadata:e},null,aL),aO=aT.value,e&&Object.defineProperty(aO,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e}),l9(aO,aL)}}),a_=[st("inline-text",[])],aM=[],aR=HTMLElement,(class extends aR{static{aP=this}static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(aR[Symbol.metadata]??null):void 0;l8(null,aA={value:aP},a_,{kind:"class",name:aP.name,metadata:e},null,aM),aP=aA.value,e&&Object.defineProperty(aP,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e}),l9(aP,aM)}}),aF=[st("inline-truncation",[])],aH=[],aj=HTMLElement,n=class extends aj{static{aD=this}static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(aj[Symbol.metadata]??null):void 0;l8(null,aN={value:aD},aF,{kind:"class",name:aD.name,metadata:e},null,aH),n=aD=aN.value,e&&Object.defineProperty(aD,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e})}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(n.XEnableCustomTruncation,""),this.setAttribute("slot","inline-truncation")}disconnectedCallback(){this.parentElement?.removeAttribute(n.XEnableCustomTruncation)}static{l9(aD,aH)}},n=aD;let sY=(aW=[],class{static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(null):void 0;az=[sr("text",!0)],l8(this,aU={value:l5(function(e){this.#nL?.remove(),e&&(this.#nL=new Text(e),this.#I.append(this.#nL))},"#handleText")},az,{kind:"method",name:"#handleText",static:!1,private:!0,access:{has:e=>#nk in e,get:e=>e.#nk},metadata:e},null,aW),e&&Object.defineProperty(this,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e})}static observedAttributes=["text"];#I=l9(this,aW);#nL;constructor(e){this.#I=e}get #nk(){return aU.value}});aB=[st("raw-text",[sY])],aX=[],aq=HTMLElement,class extends aq{static{a$=this}static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(aq[Symbol.metadata]??null):void 0;l8(null,aV={value:a$},aB,{kind:"class",name:a$.name,metadata:e},null,aX),a$=aV.value,e&&Object.defineProperty(a$,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e}),l9(a$,aX)}};let sG=(aZ=[],class e{static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(null):void 0;aY=[sr("text-maxlength",!0),sr("text-maxline",!0),sr("tail-color-convert",!0)],aJ=[si("layout")],l8(this,aG={value:l5(function(){this.#nA=parseFloat(this.#I.getAttribute("text-maxlength")??""),this.#nP=parseFloat(this.#I.getAttribute("text-maxline")??""),this.#n_="false"!==this.#I.getAttribute("tail-color-convert"),this.#nA<0&&(this.#nA=NaN),this.#nP<1&&(this.#nP=NaN),isNaN(this.#nP)?this.#nM().style.removeProperty("-webkit-line-clamp"):this.#nM().style.webkitLineClamp=this.#nP.toString(),this.#nR()},"#handleAttributeChange")},aY,{kind:"method",name:"#handleAttributeChange",static:!1,private:!0,access:{has:e=>#nN in e,get:e=>e.#nN},metadata:e},null,aZ),l8(this,aK={value:l5(function(e){this.#nD=e},"#handleEnableLayoutEvent")},aJ,{kind:"method",name:"#handleEnableLayoutEvent",static:!1,private:!0,access:{has:e=>#nF in e,get:e=>e.#nF},metadata:e},null,aZ),e&&Object.defineProperty(this,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e})}static exceedMathLengthAttribute="x-text-clipped";static showInlineTruncation="x-show-inline-truncation";static observedAttributes=["text-maxlength","text-maxline","tail-color-convert"];#nH=(l9(this,aZ),!1);#nj=!1;#nz=new Map;#nU;#k;#nW;#nV;#n$=!1;#nA=NaN;#nP=NaN;#n_=!0;#nD=!1;get #nB(){return!this.#nX&&!this.#n_}get #nX(){if(CSS.supports("selector(:has(inline-truncation))"))return this.#I.matches(":has(inline-truncation)");{let e=this.#I.querySelector("inline-truncation");if(e?.parentElement===this.#I)return!0}return!1}get #nq(){return!isNaN(this.#nP)&&(this.#nX||!this.#n_)}#I;constructor(e){this.#I=e}#nM=sd(()=>this.#I.shadowRoot,"#inner-box");#nY(e){e.forEach(e=>{e.removedNodes.forEach(e=>{this.#nz.delete(e)}),"characterData"===e.type&&void 0!==this.#nz.get(e.target)&&this.#nz.set(e.target,e.target.data)})}#nG(){for(let[t,n]of this.#nz)t.nodeType===Node.TEXT_NODE?void 0!==n&&(t.data=n):t.removeAttribute(e.exceedMathLengthAttribute);this.#I.removeAttribute(e.exceedMathLengthAttribute),this.#I.removeAttribute(e.showInlineTruncation)}#nJ(e){let t=[],n=e;for(;n=n.nextSibling;)(n.nodeType===Node.TEXT_NODE||n.nodeType===Node.ELEMENT_NODE)&&t.push(n);return t}#nR(){!this.#nj||this.#I.matches("x-text>x-text")||this.#nH||(this.#nH=!0,se(async()=>{await this.#nK(),this.#nZ(),this.#nH=!1}))}async #nK(){if(this.#nW?.parentElement?.removeChild(this.#nW),this.#nG(),!this.#nq&&isNaN(this.#nA))return;await document.fonts.ready;let t=this.#nM().getBoundingClientRect();this.#nV=new sJ(this.#I,t);let n=this.#nV,a=(isNaN(this.#nA)?void 0:n.getNodeInfoByCharIndex(this.#nA))?this.#nA:1/0,i=this.#nq&&n.getLineInfo(this.#nP)?n.getLineInfo(this.#nP-1):void 0,l=1/0,s=3;if(i){let{start:a,end:r}=i,o=r-a;if(this.#nX){this.#I.setAttribute(e.showInlineTruncation,"");let i=this.#I.querySelector("inline-truncation").getBoundingClientRect(),s=t.width,o=i.width;if(s>o){l=r-1;let e=document.createRange(),t=n.getNodeInfoByCharIndex(l),a=r-t.start;for(e.setEnd(t.node,a),e.setStart(t.node,a);e.getBoundingClientRect().width<o&&(l-=1)&&(t=n.getNodeInfoByCharIndex(l));)e.setStart(t.node,l-t.start)}else l=a,this.#I.removeAttribute(e.showInlineTruncation)}else o<3?(s=o,l=a):l=r-3}let r=Math.min(a,l);if(r<1/0){let t=n.getNodeInfoByCharIndex(r);if(t){let a=r-t.start,i=t.node,l=[];i.nodeType===Node.TEXT_NODE?(this.#nz.set(i,i.data),i.data=i.data.substring(0,a)):l.push(i),l=l.concat(this.#nJ(i));let o=i.parentElement;for(;o!==this.#I;)l=l.concat(this.#nJ(o)),o=o.parentElement;if(l.forEach(t=>{t.nodeType===Node.TEXT_NODE&&0!==t.data.length?(this.#nz.set(t,t.data),t.data=""):t.nodeType===Node.ELEMENT_NODE&&(this.#nz.set(t,""),t.setAttribute(e.exceedMathLengthAttribute,""))}),this.#nB){let e=(0===a?n.nodelist.at(t.nodeIndex-1)?.parentElement:i.parentElement)??i.parentElement;this.#nW=new Text(Array(s).fill(".").join("")),e.append(this.#nW)}this.#I.setAttribute(e.exceedMathLengthAttribute,"")}this.#nQ(r)}}#n0=e=>{this.#nY(e),this.#nR()};#n1=()=>{if(this.#n$){this.#n$=!1;return}this.#nR()};#nZ(){this.#nj&&((this.#nA||this.#nP)&&!this.#nU&&(this.#nU=new MutationObserver(this.#n0),this.#nU.observe(this.#I,{subtree:!0,childList:!0,attributes:!1,characterData:!0})),this.#nP&&!this.#k&&(this.#k=new ResizeObserver(this.#n1),this.#n$=!0,this.#k.observe(this.#nM(),{box:"content-box"})))}#n2(){this.#nU?.disconnect(),this.#nU=void 0,this.#k?.disconnect(),this.#k=void 0}get #nN(){return aG.value}get #nF(){return aK.value}#nQ(e){if(!this.#nD)return;let t=new Proxy(this,{get:(t,n)=>"lineCount"===n?(t.#nV||(t.#nV=new sJ(t.#I,t.#I.getBoundingClientRect())),t.#nV.getLineCount()):"lines"===n?new Proxy(t,{get(t,n){let a=parseFloat(n.toString());if(!isNaN(a)){t.#nV||(t.#nV=new sJ(t.#I,t.#I.getBoundingClientRect()));let n=t.#nV.getLineInfo(a);if(n)return new Proxy(n,{get(t,n){switch(n){case"start":case"end":return t[n];case"ellipsisCount":if(void 0!==e&&e>=t.start&&e<t.end)return t.end-e;return 0}}})}}}):void 0});this.#I.dispatchEvent(new CustomEvent("layout",{...sn,detail:t}))}dispose(){this.#n2()}connectedCallback(){this.#nj=!0,this.#nF(this.#nD),this.#nN(),se(()=>{this.#nQ()})}});class sJ{#n3=[{start:0}];#n4=[];#n8=[];#I;#n9;nodelist;constructor(e,t){this.#I=e,this.nodelist=new sK(this.#I),this.#n9=t}#n5(e){if(e.node.nodeType!==Node.TEXT_NODE)return 1;{let{rect:t,rectIndex:n}=e,a=e.node,i=document.createRange();i.selectNode(a);for(let e=0;e<a.data.length;e++){i.setEnd(a,e);let l=i.getClientRects().item(n);if(l&&l.right===t.right)return e}return a.data.length}}#n6(e){if(this.#n4[e])return;let{left:t}=this.#n9,n=this.#n4[this.#n4.length-1],a=n?.[n.length-1],i=a?.nodeIndex?a?.nodeIndex+1:0;for(let n=i,a;(a=this.#n7(n))&&e>=this.#n4.length;n++){let e,{node:n}=a;if(n.nodeType===Node.ELEMENT_NODE)e=n.getClientRects();else{let t=document.createRange();t.selectNode(n),e=t.getClientRects()}if(e.length>0){let n=this.#n4[this.#n4.length-1],i=e[0];if(.2>Math.abs(i.left-t)||!n?this.#n4.push([{...a,rect:i,rectIndex:0}]):n.push({...a,rect:i,rectIndex:0}),e.length>1)for(let n=1;n<e.length;n++){let l=e[n];(l.left!==i.left||l.bottom!==i.bottom)&&(.2>Math.abs(l.left-t)?this.#n4.push([{...a,rect:l,rectIndex:n}]):this.#n4[this.#n4.length-1].push({...a,rect:l,rectIndex:n}))}}}}getLineCount(){return this.#n6(1/0),this.#n4.length}getLineInfo(e){if(this.#n6(e+1),e<this.#n4.length){let t=e>0?this.#n3[e-1]??{}:void 0,n=this.#n3[e]??{},a=e<this.#n4.length-1?this.#n3[e+1]??{}:void 0;if(void 0===n.start){let a=this.#n4[e-1],i=a[a.length-1],l=this.#n5(i),s=i.start+l;t&&(t.end=s),n.start=s+1}if(void 0===n.end){let t=this.#n4[e],i=t[t.length-1];if(e===this.#n4.length-1){let e=i.node.nodeType===Node.TEXT_NODE?i.node.data.length:1;n.end=i.start+e}else{let e=this.#n5(i);n.end=i.start+e,a.start=n.end+1}}return n}}#n7(e){let t=this.#n8.length-1,n=this.#n8[t],a=n?n.start+n.length:0;for(let t=this.#n8.length,n;(n=this.nodelist.at(t))&&e>=this.#n8.length;t++){let e=n.nodeType===Node.ELEMENT_NODE?1:n.data.length,i={node:n,length:e,start:a,nodeIndex:t};this.#n8.push(i)}return this.#n8[e]}getNodeInfoByCharIndex(e){let t,n=0,a=this.#n8.length-1;for(;n<=a;){let i=Math.floor((n+a)/2),l=this.#n8[i],s=l.node,r=s.nodeType===Node.TEXT_NODE?s.data.length:1,o=l.start;if(e>=o&&e<o+r){t=l;break}e<o?a=i-1:n=i+1}if(t)return t;for(let t=this.#n8.length,n;n=this.#n7(t);t++)if(e<n.start+n.length)return n}}class sK{#ae=[];#at;constructor(e){this.#at=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.#ae[e]||this.#an(e),this.#ae[e]}#an(e){let t=null;for(;e>=this.#ae.length&&(t=this.#at.nextNode());){this.#ae.push(t);break}}}a1=[st("x-text",[ss,sG,sY],'<div id="inner-box" part="inner-box"><slot part="slot"></slot><slot name="inline-truncation"></slot></div>')],a2=[],a3=HTMLElement,(class extends a3{static{a0=this}static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(a3[Symbol.metadata]??null):void 0;l8(null,aQ={value:a0},a1,{kind:"class",name:a0.name,metadata:e},null,a2),a0=aQ.value,e&&Object.defineProperty(a0,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e})}static notToFilterFalseAttributes=new Set(["tail-color-convert"]);superScrollIntoView(e){super.scrollIntoView(e)}scrollIntoView(e){"object"==typeof e&&e.scrollIntoViewOptions?this.dispatchEvent(new CustomEvent(sf.eventName,{bubbles:!0,composed:!0,detail:e.scrollIntoViewOptions})):super.scrollIntoView(e)}[sl]=this;static{l9(a0,a2)}}),iG=[st("x-textarea",[ss,(a7=[],ie=[],it=[],ia=[],ii=[],il=[],is=[],ir=[],io=[],id=[],class{static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(null):void 0;a4=[sr("placeholder-color",!0)],a8=[sr("placeholder-font-size",!0)],a9=[sr("placeholder-font-weight",!0)],a5=[sr("placeholder-font-family",!0)],a6=[sr("placeholder",!0)],l8(null,null,a4,{kind:"field",name:"#updatePlaceholderColor",static:!1,private:!0,access:{has:e=>#aa in e,get:e=>e.#aa,set:(e,t)=>{e.#aa=t}},metadata:e},a7,ie),l8(null,null,a8,{kind:"field",name:"#updatePlaceholderFontSize",static:!1,private:!0,access:{has:e=>#ai in e,get:e=>e.#ai,set:(e,t)=>{e.#ai=t}},metadata:e},it,ia),l8(null,null,a9,{kind:"field",name:"#updatePlaceholderFontWeight",static:!1,private:!0,access:{has:e=>#al in e,get:e=>e.#al,set:(e,t)=>{e.#al=t}},metadata:e},ii,il),l8(null,null,a5,{kind:"field",name:"#updatePlaceholderFontFamily",static:!1,private:!0,access:{has:e=>#as in e,get:e=>e.#as,set:(e,t)=>{e.#as=t}},metadata:e},is,ir),l8(null,null,a6,{kind:"field",name:"#handlePlaceholder",static:!1,private:!0,access:{has:e=>#ar in e,get:e=>e.#ar,set:(e,t)=>{e.#ar=t}},metadata:e},io,id),e&&Object.defineProperty(this,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e})}static observedAttributes=["placeholder","placeholder-color","placeholder-font-size","placeholder-font-weight","placeholder-font-family"];#ao=sd(()=>this.#I.shadowRoot,"#textarea");#aa=l9(this,a7,sc(this.#ao,"--placeholder-color",void 0,!0));#ai=(l9(this,ie),l9(this,it,sc(this.#ao,"--placeholder-font-size",void 0,!0)));#al=(l9(this,ia),l9(this,ii,sc(this.#ao,"--placeholder-font-weight",void 0,!0)));#as=(l9(this,il),l9(this,is,sc(this.#ao,"--placeholder-font-family",void 0,!0)));#ar=(l9(this,ir),l9(this,io,sL(this.#ao,"placeholder")));#I=l9(this,id);constructor(e){this.#I=e}}),(iv=[],ib=[],ig=[],iy=[],iE=[],iS=[],iw=[],ix=[],iC=[],iT=[],class{static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(null):void 0;ic=[sr("confirm-type",!0)],ih=[sr("maxlength",!0)],iu=[sr("readonly",!0)],im=[sr("ios-spell-check",!0)],ip=[sr("show-soft-input-onfocus",!0)],l8(null,null,ic,{kind:"field",name:"#handlerConfirmType",static:!1,private:!0,access:{has:e=>#ta in e,get:e=>e.#ta,set:(e,t)=>{e.#ta=t}},metadata:e},iv,ib),l8(null,null,ih,{kind:"field",name:"#handlerMaxlength",static:!1,private:!0,access:{has:e=>#ti in e,get:e=>e.#ti,set:(e,t)=>{e.#ti=t}},metadata:e},ig,iy),l8(null,null,iu,{kind:"field",name:"#handleReadonly",static:!1,private:!0,access:{has:e=>#tl in e,get:e=>e.#tl,set:(e,t)=>{e.#tl=t}},metadata:e},iE,iS),l8(null,null,im,{kind:"field",name:"#handleSpellCheck",static:!1,private:!0,access:{has:e=>#ts in e,get:e=>e.#ts,set:(e,t)=>{e.#ts=t}},metadata:e},iw,ix),l8(null,null,ip,{kind:"field",name:"#handleShowSoftInputOnfocus",static:!1,private:!0,access:{has:e=>#ad in e,get:e=>e.#ad,set:(e,t)=>{e.#ad=t}},metadata:e},iC,iT),e&&Object.defineProperty(this,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e})}static observedAttributes=["confirm-type","maxlength","readonly","type","ios-spell-check","spell-check","show-soft-input-onfocus"];#I;#ac=sd(()=>this.#I.shadowRoot,"#textarea");#ta=l9(this,iv,sL(this.#ac,"enterkeyhint",e=>null===e?"send":e));#ti=(l9(this,ib),l9(this,ig,sL(this.#ac,"maxlength",e=>null===e?"140":e)));#tl=(l9(this,iy),l9(this,iE,sL(this.#ac,"readonly",e=>null!==e?"":null)));#ts=(l9(this,iS),l9(this,iw,sL(this.#ac,"spellcheck",e=>null===e?"false":"true")));#ad=(l9(this,ix),l9(this,iC,sL(this.#ac,"virtualkeyboardpolicy",e=>null===e?"manual":"auto")));constructor(e){l9(this,iT),this.#I=e}}),(iM=[],iR=[],iN=[],iD=[],iF=[],iH=[],ij=[],class{static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(null):void 0;iO=[sr("confirm-enter",!0)],iL=[sr("disabled",!0)],ik=[sr("max-height",!0)],iA=[sr("min-height",!0)],iP=[sr("value",!1)],l8(this,iI={value:l5(function(e){this.#ah=null!==e},"#handleConfirmEnter")},iO,{kind:"method",name:"#handleConfirmEnter",static:!1,private:!0,access:{has:e=>#au in e,get:e=>e.#au},metadata:e},null,iM),l8(this,i_={value:l5(function(e){if(e){let t=parseFloat(this.#I.getAttribute("maxlength")??"");isNaN(t)||(e=e.substring(0,t))}else e="";let t=this.#ac();t.value!==e&&(t.value=e)},"#handleValue")},iP,{kind:"method",name:"#handleValue",static:!1,private:!0,access:{has:e=>#e5 in e,get:e=>e.#e5},metadata:e},null,iM),l8(null,null,iL,{kind:"field",name:"#handleDisabled",static:!1,private:!0,access:{has:e=>#e6 in e,get:e=>e.#e6,set:(e,t)=>{e.#e6=t}},metadata:e},iR,iN),l8(null,null,ik,{kind:"field",name:"#handleMaxHeight",static:!1,private:!0,access:{has:e=>#am in e,get:e=>e.#am,set:(e,t)=>{e.#am=t}},metadata:e},iD,iF),l8(null,null,iA,{kind:"field",name:"#handleMinHeight",static:!1,private:!0,access:{has:e=>#ap in e,get:e=>e.#ap,set:(e,t)=>{e.#ap=t}},metadata:e},iH,ij),e&&Object.defineProperty(this,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e})}static observedAttributes=["confirm-enter","disabled","max-height","min-height","value"];#I=l9(this,iM);#ac=sd(()=>this.#I.shadowRoot,"#textarea");#tv=sd(()=>this.#I.shadowRoot,"#form");#ah=!1;get #au(){return iI.value}#e6=l9(this,iR,sL(this.#ac,"disabled",e=>null!==e?"":null));#am=(l9(this,iN),l9(this,iD,sc(this.#ac,"max-height")));#ap=(l9(this,iF),l9(this,iH,sc(this.#ac,"min-height")));get #e5(){return i_.value}#av=(l9(this,ij),e=>{this.#ah&&"Enter"===e.key&&this.#tv().dispatchEvent(new SubmitEvent("submit"))});constructor(e){this.#I=e,this.#ac().addEventListener("keyup",this.#av)}}),(iX=[],class{static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(null):void 0;iz=[sr("input-filter",!0),si("lynxinput")],iW=[sr("send-composing-input",!0)],i$=[si("selection")],l8(this,iU={value:l5(function(e){let t=this.#ac();e?(t.addEventListener("input",this.#to,{passive:!0}),t.addEventListener("compositionend",this.#td,{passive:!0})):(t.removeEventListener("input",this.#to),t.removeEventListener("compositionend",this.#td))},"#handleEnableConfirmEvent")},iz,{kind:"method",name:"#handleEnableConfirmEvent",static:!1,private:!0,access:{has:e=>#ab in e,get:e=>e.#ab},metadata:e},null,iX),l8(this,iV={value:l5(function(e){this.#th=null!==e},"#handleSendComposingInput")},iW,{kind:"method",name:"#handleSendComposingInput",static:!1,private:!0,access:{has:e=>#tu in e,get:e=>e.#tu},metadata:e},null,iX),l8(this,iB={value:l5(function(e){e?this.#ac().addEventListener("select",this.#tm,{passive:!0}):this.#ac().removeEventListener("select",this.#tm)},"#handleEnableSelectionEvent")},i$,{kind:"method",name:"#handleEnableSelectionEvent",static:!1,private:!0,access:{has:e=>#tp in e,get:e=>e.#tp},metadata:e},null,iX),e&&Object.defineProperty(this,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e})}static observedAttributes=["send-composing-input","input-filter"];#I=l9(this,iX);#th=!1;#ac=sd(()=>this.#I.shadowRoot,"#textarea");#tv=sd(()=>this.#I.shadowRoot,"#form");get #ab(){return iU.value}get #tu(){return iV.value}#tb=e=>{let t=s$[e.type]??e.type;this.#I.dispatchEvent(new CustomEvent(t,{...sn,detail:{value:this.#ac().value}}))};#to=e=>{let t=this.#ac(),n=this.#I.getAttribute("input-filter"),a=n?t.value.replace(RegExp(n,"g"),""):t.value,i=e.isComposing;t.value=a,(!i||this.#th)&&this.#I.dispatchEvent(new CustomEvent("lynxinput",{...sn,detail:{value:a,textLength:a.length,cursor:t.selectionStart,isComposing:i,selectionStart:t.selectionStart,selectionEnd:t.selectionEnd}}))};#td=()=>{let e=this.#ac(),t=this.#I.getAttribute("input-filter"),n=t?e.value.replace(RegExp(t,"g"),""):e.value;e.value=n,this.#th||this.#I.dispatchEvent(new CustomEvent("lynxinput",{...sn,detail:{value:n,textLength:n.length,cursor:e.selectionStart,isComposing:!1,selectionStart:e.selectionStart,selectionEnd:e.selectionEnd}}))};get #tp(){return iB.value}#tm=()=>{let e=this.#ac();this.#I.dispatchEvent(new CustomEvent("selection",{...sn,detail:{selectionStart:e.selectionStart,selectionEnd:e.selectionEnd}}))};#tg=e=>{e.target===this.#ac()&&"number"==typeof e.detail&&e.stopImmediatePropagation()};constructor(e){this.#I=e;const t=this.#ac(),n=this.#tv();t.addEventListener("blur",this.#tb,{passive:!0}),t.addEventListener("focus",this.#tb,{passive:!0}),n.addEventListener("submit",this.#tb,{passive:!0}),n.addEventListener("input",this.#tg,{passive:!0})}})],sO)],iJ=[],iK=HTMLElement,(class extends iK{static{iY=this}static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(iK[Symbol.metadata]??null):void 0;l8(null,iq={value:iY},iG,{kind:"class",name:iY.name,metadata:e},null,iJ),iY=iq.value,e&&Object.defineProperty(iY,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e}),l9(iY,iJ)}#ao=sd(()=>this.shadowRoot,"#textarea");get value(){return this.#ao().value}set value(e){this.#ao().value=e}addText(e){let{text:t}=e,n=this.#ao(),a=n.selectionStart;if(null===a)n.value=t;else{let e=n.value;n.value=e.slice(0,a)+t+e.slice(a)}}setValue(e){let t,n=this.#ao();n.value=e.value,(t=e.index)&&n.setSelectionRange(t,t)}getValue(){let e=this.#ao();return{value:e.value,selectionBegin:e.selectionStart,selectionEnd:e.selectionEnd}}sendDelEvent(e){let{action:t,length:n}=e,a=this.#ao();1===t&&(n=1);let i=a.selectionStart;if(null===i){let e=a.value;a.value=a.value.substring(0,e.length-n)}else{let e=a.value;a.value=e.slice(0,i-n)+e.slice(i)}}select(){let e=this.#ao();e.setSelectionRange(0,e.value.length)}setSelectionRange(e){this.#ao().setSelectionRange(e.selectionStart,e.selectionEnd)}}),i0=[st("x-view",[ss])],i1=[],i2=HTMLElement,(class extends i2{static{iQ=this}static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(i2[Symbol.metadata]??null):void 0;l8(null,iZ={value:iQ},i0,{kind:"class",name:iQ.name,metadata:e},null,i1),iQ=iZ.value,e&&Object.defineProperty(iQ,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e}),l9(iQ,i1)}superScrollIntoView(e){super.scrollIntoView(e)}scrollIntoView(e){"object"==typeof e&&e.scrollIntoViewOptions?this.dispatchEvent(new CustomEvent(sf.eventName,{bubbles:!0,composed:!0,detail:e.scrollIntoViewOptions})):super.scrollIntoView(e)}[sl]=this}),i6=[st("x-blur-view",[ss,(i8=[],class{static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(null):void 0;i3=[sr("blur-radius",!0)],l8(this,i4={value:l5(function(e){e?(e=`blur(${parseFloat(e)}px)`,this.#ag().innerHTML=`:host { backdrop-filter: ${e}; -webkit-backdrop-filter: ${e}}`):this.#ag().innerHTML=""},"#handleBlurRadius")},i3,{kind:"method",name:"#handleBlurRadius",static:!1,private:!0,access:{has:e=>#eX in e,get:e=>e.#eX},metadata:e},null,i8),e&&Object.defineProperty(this,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e})}static observedAttributes=["blur-radius"];#I=l9(this,i8);#ag=sd(()=>this.#I.shadowRoot,"#dynamic-style");get #eX(){return i4.value}constructor(e){this.#I=e}})],'<style id="dynamic-style"></style><slot></slot>')],i7=[],le=HTMLElement,(class extends le{static{i5=this}static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(le[Symbol.metadata]??null):void 0;l8(null,i9={value:i5},i6,{kind:"class",name:i5.name,metadata:e},null,i7),i5=i9.value,e&&Object.defineProperty(i5,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e}),l9(i5,i7)}}),lo=[st("x-viewpager-ng",[ss,(ll=[],class{static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(null):void 0;lt=[si("change")],la=[si("offsetchange")],l8(this,ln={value:l5(function(e){this.#af=e,this.#ay()},"#enableChangeEvent")},lt,{kind:"method",name:"#enableChangeEvent",static:!1,private:!0,access:{has:e=>#aE in e,get:e=>e.#aE},metadata:e},null,ll),l8(this,li={value:l5(function(e){this.#af=e,this.#ay()},"#enableOffsetChangeEvent")},la,{kind:"method",name:"#enableOffsetChangeEvent",static:!1,private:!0,access:{has:e=>#aS in e,get:e=>e.#aS},metadata:e},null,ll),e&&Object.defineProperty(this,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e})}static observedAttributes=[];#I=l9(this,ll);#aw=!1;#t=!1;#ax=0;#V;constructor(e){this.#I=e}#X=sd(()=>this.#I.shadowRoot,"#content");#aC=()=>{if(!this.#t)return;let e=this.#X(),t=this.#I.clientWidth,n=e.scrollLeft;this.#af&&!sp&&(clearTimeout(this.#V),this.#V=setTimeout(()=>{this.#aT()},100)),this.#I.dispatchEvent(new CustomEvent("offsetchange",{...sn,detail:{offset:n/t}}))};#aT=()=>{if(this.#t){let e=this.#X(),t=this.#I.clientWidth,n=Math.floor(e.scrollLeft/t);n!==this.#ax&&(this.#I.dispatchEvent(new CustomEvent("change",{...sn,detail:{index:n,isDragged:this.#aw}})),this.#ax=n)}};#aO=()=>{this.#aw=!0};#aI=()=>{this.#aw=!1};#af=!1;get #aE(){return ln.value}#aL=!1;get #aS(){return li.value}#ay(){let e=this.#X();this.#aL||this.#af?e.addEventListener("scroll",this.#aC,{passive:!0}):e.removeEventListener("scroll",this.#aC),sp&&this.#af?e.addEventListener("scrollend",this.#aT,{passive:!0}):e.removeEventListener("scrollend",this.#aT)}connectedCallback(){this.#t=!0;let e=this.#X();this.#I.addEventListener("touchstart",this.#aO,{passive:!0}),e.addEventListener("touchend",this.#aI,{passive:!0}),e.addEventListener("touchcancel",this.#aI,{passive:!0})}dispose(){let e=this.#X();e.removeEventListener("scroll",this.#aC),e.removeEventListener("scrollend",this.#aT)}})],sI)],ld=[],lc=HTMLElement,(class extends lc{static{lr=this}static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(lc[Symbol.metadata]??null):void 0;l8(null,ls={value:lr},lo,{kind:"class",name:lr.name,metadata:e},null,ld),lr=ls.value,e&&Object.defineProperty(lr,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e})}static notToFilterFalseAttributes=new Set(["allow-horizontal-gesture","enable-scroll"]);selectTab(e){let{index:t,smooth:n}=e;void 0===n&&(n=!0);let a=this.shadowRoot.children.item(2),i=a.clientWidth*t;a.scrollTo({left:i,behavior:n?"smooth":"instant"})}connectedCallback(){let e=this.getAttribute("select-index")||this.getAttribute("initial-select-index");if(null!==e){let t=Number(e),n=this.shadowRoot.children.item(2),a=()=>{0===n.clientWidth?requestAnimationFrame(a):this.selectTab({index:t,smooth:!1})};se(a)}}get[sb](){return this}static{l9(lr,ld)}}),lm=[st("x-viewpager-item-ng",[ss])],lp=[],lv=HTMLElement,(class extends lv{static{lu=this}static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(lv[Symbol.metadata]??null):void 0;l8(null,lh={value:lu},lm,{kind:"class",name:lu.name,metadata:e},null,lp),lu=lh.value,e&&Object.defineProperty(lu,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e}),l9(lu,lp)}}),lE=[st("list-item",[ss,(lb=[],lg=[],class{static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(null):void 0;l8(null,null,[sr("estimated-main-axis-size-px",!0)],{kind:"field",name:"#handlerEstimatedMainAxisSizePx",static:!1,private:!0,access:{has:e=>#ak in e,get:e=>e.#ak,set:(e,t)=>{e.#ak=t}},metadata:e},lb,lg),e&&Object.defineProperty(this,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e})}static observedAttributes=["estimated-main-axis-size-px"];#I;#ak=l9(this,lb,sc(()=>this.#I,"--estimated-main-axis-size-px",e=>`${parseFloat(e)}px`));constructor(e){l9(this,lg),this.#I=e}})])],lS=[],lw=HTMLElement,class extends lw{static{ly=this}static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(lw[Symbol.metadata]??null):void 0;l8(null,lf={value:ly},lE,{kind:"class",name:ly.name,metadata:e},null,lS),ly=lf.value,e&&Object.defineProperty(ly,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e}),l9(ly,lS)}};let sZ=function(e,t,n){let a,i,l,s,r=0;var o=function(){r=n?.leading===!1?0:new Date().getTime(),a=null,s=e.apply(i,l),a||(i=l=null)};return function(){var d=new Date().getTime();r||n?.leading!==!1||(r=d);var c=t-(d-r);return i=this,l=arguments,c<=0||c>t?(a&&(clearTimeout(a),a=null),r=d,s=e.apply(i,l),a||(i=l=null)):a||n?.trailing===!1||(a=setTimeout(o,c)),s}},sQ="waterfall-slot",s0="waterfall-style";l2=[st("x-list",[ss,(lT=[],lO=[],lI=[],lL=[],class{static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(null):void 0;lx=[sr("sticky-offset",!0)],lC=[sr("span-count",!0),sr("column-count",!0)],l8(null,null,lx,{kind:"field",name:"#handlerStickyOffset",static:!1,private:!0,access:{has:e=>#aA in e,get:e=>e.#aA,set:(e,t)=>{e.#aA=t}},metadata:e},lT,lO),l8(null,null,lC,{kind:"field",name:"#handlerCount",static:!1,private:!0,access:{has:e=>#aP in e,get:e=>e.#aP,set:(e,t)=>{e.#aP=t}},metadata:e},lI,lL),e&&Object.defineProperty(this,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e})}static observedAttributes=["sticky-offset","initial-scroll-index","span-count","column-count"];#I;#aA=l9(this,lT,sc(()=>this.#I,"--list-item-sticky-offset",e=>`${parseFloat(e)}px`));#aP=(l9(this,lO),l9(this,lI,sc(()=>this.#I,"--list-item-span-count",e=>`${parseFloat(e)}`)));constructor(e){l9(this,lL),this.#I=e}connectedCallback(){let e=this.#I.getAttribute("initial-scroll-index");if(null!==e){let t=parseFloat(e),n=()=>{0===this.#I.clientHeight?requestAnimationFrame(n):this.#I.scrollToPosition({position:t})};se(n)}}}),(lH=[],lj=[],lz=[],lU=[],lW=[],lV=[],l$=[],lB=[],lX=[],lq=[],lY=[],class{static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(null):void 0;lk=[si("scrolltoupper")],lA=[sr("upper-threshold-item-count",!0)],l_=[si("scrolltolower")],lM=[sr("lower-threshold-item-count",!0)],lN=[si("lynxscroll"),si("lynxscrollend"),si("snap")],lD=[si("scrolltoupperedge")],lF=[si("scrolltoloweredge")],l8(this,lP={value:l5(function(e,t){let n=null!==t?parseFloat(t):0,a=0===n?this.#q():this.#I.children[n-1];a&&this.#a_?.unobserve(a);let i=null!==e?parseFloat(e):0,l=0===i?this.#q():this.#I.children[i-1];l&&this.#a_?.observe(l)},"#handleUpperThresholdItemCountChange")},lA,{kind:"method",name:"#handleUpperThresholdItemCountChange",static:!1,private:!0,access:{has:e=>#aM in e,get:e=>e.#aM},metadata:e},null,lH),l8(this,lR={value:l5(function(e,t){let n=null!==t?parseFloat(t):0,a=0===n?this.#Y():this.#I.children[this.#I.children.length-n];a&&this.#aR?.unobserve(a);let i=null!==e?parseFloat(e):0,l=0===i?this.#Y():this.#I.children[this.#I.children.length-i];l&&this.#aR?.observe(l)},"#handleLowerThresholdItemCountChange")},lM,{kind:"method",name:"#handleLowerThresholdItemCountChange",static:!1,private:!0,access:{has:e=>#aN in e,get:e=>e.#aN},metadata:e},null,lH),l8(null,null,lk,{kind:"field",name:"#updateEventSwitches",static:!1,private:!0,access:{has:e=>#aD in e,get:e=>e.#aD,set:(e,t)=>{e.#aD=t}},metadata:e},lj,lz),l8(null,null,l_,{kind:"field",name:"#updateScrollToLowerEventSwitches",static:!1,private:!0,access:{has:e=>#aF in e,get:e=>e.#aF,set:(e,t)=>{e.#aF=t}},metadata:e},lU,lW),l8(null,null,lN,{kind:"field",name:"#handleScrollEventsSwitches",static:!1,private:!0,access:{has:e=>#ea in e,get:e=>e.#ea,set:(e,t)=>{e.#ea=t}},metadata:e},lV,l$),l8(null,null,lD,{kind:"field",name:"#handleScrollToUpperEdgeEventEnable",static:!1,private:!0,access:{has:e=>#aH in e,get:e=>e.#aH,set:(e,t)=>{e.#aH=t}},metadata:e},lB,lX),l8(null,null,lF,{kind:"field",name:"#handleScrollToLowerEdgeEventEnable",static:!1,private:!0,access:{has:e=>#aj in e,get:e=>e.#aj,set:(e,t)=>{e.#aj=t}},metadata:e},lq,lY),e&&Object.defineProperty(this,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e})}static observedAttributes=["upper-threshold-item-count","lower-threshold-item-count"];#I=l9(this,lH);#az=sd(()=>this.#I.shadowRoot,"#content");#a_;#aR;#aU;#$=0;#B=0;#aW=!1;#V;#q=sd(()=>this.#I.shadowRoot,"#upper-threshold-observer");#Y=sd(()=>this.#I.shadowRoot,"#lower-threshold-observer");#J(){let e=null!==this.#I.getAttribute("need-visible-item-info"),{scrollTop:t,scrollLeft:n,scrollHeight:a,scrollWidth:i}=this.#az(),l={scrollTop:t,scrollLeft:n,scrollHeight:a,scrollWidth:i,deltaX:n-this.#$,deltaY:t-this.#B,attachedCells:e?this.#I.getVisibleCells():void 0};return this.#$=n,this.#B=t,l}#aV=e=>{let{isIntersecting:t}=e[0];t&&this.#I.dispatchEvent(new CustomEvent("scrolltoupper",{...sn,detail:this.#J()}))};#aD=l9(this,lj,e=>{if(e?this.#I.setAttribute("x-enable-scrolltoupper-event",""):this.#I.removeAttribute("x-enable-scrolltoupper-event"),this.#tO.scrolltoupper=e,e){this.#a_||(this.#a_=new IntersectionObserver(this.#aV,{root:this.#az()})),this.#aU||(this.#aU=new MutationObserver(this.#a$));let e=this.#I.getAttribute("upper-threshold-item-count"),t=null!==e?parseFloat(e):0,n=0===t?this.#q():this.#I.children[t-1];n&&this.#a_.observe(n),this.#aU.observe(this.#I,{childList:!0})}else this.#a_&&(this.#a_.disconnect(),this.#a_=void 0),this.#aU&&(this.#aU.disconnect(),this.#aU=void 0)});get #aM(){return lP.value}#aB=(l9(this,lz),e=>{let{isIntersecting:t}=e[0];t&&this.#I.dispatchEvent(new CustomEvent("scrolltolower",{...sn,detail:this.#J()}))});#tO={lynxscroll:!1,lynxscrollend:!1,snap:!1,scrolltolower:!1,scrolltoupper:!1};#aF=l9(this,lU,e=>{if(this.#tO.scrolltolower=e,e?this.#I.setAttribute("x-enable-scrolltolower-event",""):this.#I.removeAttribute("x-enable-scrolltolower-event"),e){this.#aR||(this.#aR=new IntersectionObserver(this.#aB,{root:this.#az()})),this.#aU||(this.#aU=new MutationObserver(this.#a$));let e=this.#I.getAttribute("lower-threshold-item-count"),t=null!==e?parseFloat(e):0,n=0===t?this.#Y():this.#I.children[this.#I.children.length-t];n&&this.#aR.observe(n),this.#aU.observe(this.#I,{childList:!0})}else this.#aR&&(this.#aR.disconnect(),this.#aR=void 0),this.#aU&&(this.#aU.disconnect(),this.#aU=void 0)});get #aN(){return lR.value}#a$=(l9(this,lW),e=>{let t=e?.[0];if(t?.type==="childList"){if(this.#tO.scrolltolower){this.#aR&&(this.#aR.disconnect(),this.#aR=void 0),this.#aR=new IntersectionObserver(this.#aB,{root:this.#az()});let e=this.#I.getAttribute("lower-threshold-item-count"),t=null!==e?parseFloat(e):0,n=0===t?this.#Y():this.#I.children[this.#I.children.length-t];n&&this.#aR.observe(n)}if(null!==this.#I.getAttribute("x-enable-scrolltoupper-event")){this.#a_&&(this.#a_.disconnect(),this.#a_=void 0),this.#a_=new IntersectionObserver(this.#aV,{root:this.#az()});let e=this.#I.getAttribute("upper-threshold-item-count"),t=null!==e?parseFloat(e):0,n=0===t?this.#q():this.#I.children[t-1];n&&this.#a_.observe(n)}}});#aX=null;#Q=()=>{this.#aW&&!sp&&(clearTimeout(this.#V),this.#V=setTimeout(()=>{this.#et()},100)),this.#I.dispatchEvent(new CustomEvent("lynxscroll",{...sn,detail:this.#J()}))};#ea=l9(this,lV,(e,t)=>{this.#tO[t]=e;let{lynxscroll:n,lynxscrollend:a,snap:i}=this.#tO,l=this.#I.getAttribute("scroll-event-throttle");this.#aW=null!==a||null!==i;let s=this.#az();if(this.#aX&&s.removeEventListener("scroll",this.#aX),null!==scroll||this.#aW){let e=null!==l?parseFloat(l):0,t=sZ(this.#Q,e,{leading:!0,trailing:!1});this.#aX=t,s.addEventListener("scroll",this.#aX),this.#$=0,this.#B=0}sp&&this.#aW?s.addEventListener("scrollend",this.#et):s.removeEventListener("scrollend",this.#et)});#G=(l9(this,l$),e=>{let{isIntersecting:t,target:n}=e[0],a=n.id;t&&("upper-threshold-observer"===a?this.#I.dispatchEvent(new CustomEvent("scrolltoupperedge",{...sn,detail:this.#J()})):"lower-threshold-observer"===a&&this.#I.dispatchEvent(new CustomEvent("scrolltoloweredge",{...sn,detail:this.#J()})))});#aH=l9(this,lB,e=>{e?this.#I.setAttribute("x-enable-scrolltoupperedge-event",""):this.#I.removeAttribute("x-enable-scrolltoupperedge-event"),this.#aq(e)});#aq=(l9(this,lX),sm(this.#az,this.#q,this.#G));#aj=l9(this,lq,e=>{e?this.#I.setAttribute("x-enable-scrolltoloweredge-event",""):this.#I.removeAttribute("x-enable-scrolltoloweredge-event"),this.#aY(e)});#aY=(l9(this,lY),sm(this.#az,this.#Y,this.#G));#et=()=>{let e=this.#I.getAttribute("item-snap");if(this.#I.dispatchEvent(new CustomEvent("lynxscrollend",{...sn})),null!==e){let e=Array.from(this.#I.children).filter(e=>"LIST-ITEM"===e.tagName),t=this.#az().scrollTop,n=this.#az().scrollLeft,a=e.find(e=>t>=e.offsetTop&&t<e.offsetTop+e.offsetHeight);this.#I.dispatchEvent(new CustomEvent("snap",{...sn,detail:{position:a&&e.indexOf(a),scrollTop:t,scrollLeft:n}}))}};constructor(e){this.#I=e}}),(lQ=[],class{static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(null):void 0;lG=[si("scrolltolower")],lK=[sr("list-type",!0)],l8(this,lJ={value:l5(function(e){if(e?this.#I.setAttribute("x-enable-scrolltolower-event",""):this.#I.removeAttribute("x-enable-scrolltolower-event"),e){let e=this.#aG(),t=this.#I.getAttribute("scroll-orientation")||"vertical",n=this.#az();setTimeout(()=>{"vertical"===t?(e.style.setProperty("top",`${String(n.scrollHeight-1)}px`,"important"),e.style.setProperty("bottom","unset","important")):(e.style.setProperty("left",`${String(n.scrollWidth-1)}px`,"important"),e.style.setProperty("right","unset","important"))},100)}},"#handleXEnableHeaderOffsetEvent")},lG,{kind:"method",name:"#handleXEnableHeaderOffsetEvent",static:!1,private:!0,access:{has:e=>#t_ in e,get:e=>e.#t_},metadata:e},null,lQ),l8(this,lZ={value:l5(function(e){if("waterfall"===e)this.#aJ(),this.#k||this.#aK(),this.#aU||(this.#aU=new MutationObserver(e=>{let t=e?.[0];t?.type==="childList"&&this.#aK()}),this.#aU.observe(this.#I,{childList:!0}));else{this.#k?.disconnect(),this.#k=void 0,this.#aU?.disconnect(),this.#aU=void 0;for(let e=0;e<this.#I.children.length;e++)this.#I.children[e].removeAttribute("slot");this.#I.shadowRoot?.querySelector(`slot[name=${sQ}]`)?.remove()}},"#handlerListType")},lK,{kind:"method",name:"#handlerListType",static:!1,private:!0,access:{has:e=>#aZ in e,get:e=>e.#aZ},metadata:e},null,lQ),e&&Object.defineProperty(this,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e})}static observedAttributes=["list-type"];#I=l9(this,lQ);#az=sd(()=>this.#I.shadowRoot,"#content");#aG=sd(()=>this.#I.shadowRoot,'div[part="lower-threshold-observer"]');#k;#aU;get #t_(){return lJ.value}#aJ=()=>{let e=document.createElement("slot");e.setAttribute("name",`${sQ}`),this.#I.shadowRoot?.querySelector("[part=upper-threshold-observer]")?.insertAdjacentElement("afterend",e)};#aQ=()=>{let e=parseFloat(this.#I.getAttribute("span-count")||this.#I.getAttribute("column-count")||"")||1,t="vertical"===(this.#I.getAttribute("scroll-orientation")||"vertical"),n=Array(e).fill(0);for(let a=0;a<this.#I.children.length;a++){let i=this.#I.children[a],l=getComputedStyle(i).getPropertyValue("--list-main-axis-gap"),s=getComputedStyle(i).getPropertyValue("--list-cross-axis-gap"),r=t?i.getBoundingClientRect().height+parseFloat(l):i.getBoundingClientRect().width+parseFloat(l);if(null!==i.getAttribute("full-span")){let a=n[0];for(let t=1;t<e;t++)n[t]>a&&(a=n[t]);for(let t=0;t<e;t++)n[t]=a+r;t?(i.setAttribute(`${s0}-left`,"0"),i.setAttribute(`${s0}-top`,`${a}px`)):(i.setAttribute(`${s0}-left`,`${a}px`),i.setAttribute(`${s0}-top`,"0"))}else{let a=0,l=n[0];for(let t=1;t<e;t++)n[t]<l&&(a=t,l=n[t]);let o=`calc(${a} * (100% - ${s} * (${e} - 1))/ ${e} + ${Math.max(0,a)} * ${s})`;t?(i.setAttribute(`${s0}-left`,o),i.setAttribute(`${s0}-top`,`${l}px`)):(i.setAttribute(`${s0}-left`,`${l}px`),i.setAttribute(`${s0}-top`,o)),n[a]+=r}}for(let e=0;e<this.#I.children.length;e++){let t=this.#I.children[e];t.style.setProperty("left",t.getAttribute(`${s0}-left`)),t.style.setProperty("top",t.getAttribute(`${s0}-top`)),t.setAttribute("slot",sQ)}};constructor(e){this.#I=e}#aK=()=>{this.#k?.disconnect(),this.#k=new ResizeObserver(()=>{requestAnimationFrame(()=>{this.#aQ()})}),Array.from(this.#I.children).forEach(e=>{this.#k?.observe(e)})};get #aZ(){return lZ.value}})],sw)],l3=[],l4=HTMLElement,class extends l4{static{l1=this}static{const e="function"==typeof Symbol&&Symbol.metadata?Object.create(l4[Symbol.metadata]??null):void 0;l8(null,l0={value:l1},l2,{kind:"class",name:l1.name,metadata:e},null,l3),l1=l0.value,e&&Object.defineProperty(l1,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e})}static notToFilterFalseAttributes=new Set(["enable-scroll"]);#az=sd(()=>this.shadowRoot,"#content");#a0={rate:0,lastTimestamp:0,autoStop:!0,isScrolling:!1};#a1={};get scrollTop(){return this.#az().scrollTop}set scrollTop(e){this.#az().scrollTop=e}get scrollLeft(){return this.#az().scrollTop}set scrollLeft(e){this.#az().scrollLeft=e}get __scrollTop(){return super.scrollTop}get __scrollLeft(){return super.scrollTop}scrollToPosition(e){let t;if("string"==typeof e.offset){let n=parseFloat(e.offset);t={left:n,top:n}}else"number"==typeof e.offset&&(t={left:e.offset,top:e.offset});if("number"==typeof e.position){if(0===e.position)this.#az().scrollTop=0,this.#az().scrollLeft=0;else if(e.position>0&&e.position<this.childElementCount){let n=this.children.item(e.position);n instanceof HTMLElement&&(t=t?{left:n.offsetLeft+t.left,top:n.offsetTop+t.top}:{left:n.offsetLeft,top:n.offsetTop})}}t&&this.#az().scrollTo({...t,behavior:e.smooth?"smooth":"auto"})}#a2=e=>{if(!this.#a0.isScrolling)return;if(!this.#a0.lastTimestamp){this.#a0.lastTimestamp=e,requestAnimationFrame(this.#a2);return}let t=this.#az(),n=(e-this.#a0.lastTimestamp)/1e3*this.#a0.rate;t.scrollBy({left:n,top:n,behavior:"auto"}),this.#a0.lastTimestamp=e;let a="vertical"===(this.getAttribute("scroll-orientation")||"vertical");(a?t.scrollTop+t.clientHeight>=t.scrollHeight:t.scrollLeft+t.clientWidth>=t.scrollWidth)&&this.#a0.autoStop?(a?t.scrollTop=t.scrollHeight-t.clientHeight:t.scrollLeft=t.scrollWidth-t.clientWidth,this.#a0.isScrolling=!1):requestAnimationFrame(this.#a2)};autoScroll(e){if(e.start){let t="number"==typeof e.rate?e.rate:parseFloat(e.rate);this.#a0={rate:t,lastTimestamp:0,isScrolling:!0,autoStop:!1!==e.autoStop};let n=this.#az(),a="vertical"===(this.getAttribute("scroll-orientation")||"vertical")?n.clientHeight<=n.scrollHeight:n.clientWidth<=n.scrollWidth;this.#a0.lastTimestamp=0,a?setTimeout(()=>requestAnimationFrame(this.#a2),0):requestAnimationFrame(this.#a2)}else this.#a0.isScrolling=!1}getScrollContainerInfo(){return{scrollTop:this.scrollTop,scrollLeft:this.scrollLeft,scrollHeight:this.scrollHeight,scrollWidth:this.scrollWidth}}getVisibleCells=()=>{let e=Object.values(this.#a1),t=Array.from(this.children).filter(e=>"LIST-ITEM"===e.tagName);return e.map(e=>{let n=e.getBoundingClientRect();return{id:e.getAttribute("id"),itemKey:e.getAttribute("item-key"),bottom:n.bottom,top:n.top,left:n.left,right:n.right,index:t.indexOf(e)}})};#a3=()=>Object.values(this.#a1).map(e=>{let t=e.getBoundingClientRect();return{height:t.height,width:t.width,itemKey:e.getAttribute("item-key"),originX:t.x,originY:t.y}});#a4=e=>{if(!e.target||!(e.target instanceof HTMLElement))return;let t=e.skipped,n=e.target?.getAttribute("id")==="content"&&e.target?.getAttribute("part")==="content",a="LIST-ITEM"===e.target.tagName;if(n&&!t){let e=this.#a3();setTimeout(()=>{this.dispatchEvent(new CustomEvent("layoutcomplete",{...sn,detail:{visibleItemBeforeUpdate:e,visibleItemAfterUpdate:this.#a3()}}))},100);return}if(a){let n=e.target?.getAttribute("item-key");if(!n)return;t?this.#a1[n]&&delete this.#a1[n]:this.#a1[n]=e.target;return}};connectedCallback(){this.#az().addEventListener("contentvisibilityautostatechange",this.#a4,{passive:!0})}static{l9(l1,l3)}}},426:function(e,t,n){n.a(e,async function(e,t){try{var a=n(506);n(12),n(125),n(407),n(994);var i=e([a]);a=(i.then?(await i)():i)[0];let d="lynx-web-core-init-data",c="lynx-web-core-global-props",h=document.createElement("lynx-view");document.body.appendChild(h);let u=new URLSearchParams(document.location.search).get("casename");function l(){if(u){let e={};try{let t=localStorage.getItem(d);t&&(e=JSON.parse(t))}catch{console.error("Failed to parse initData from localStorage, use empty object instead.")}let t={};try{let e=localStorage.getItem(c);e&&(t=JSON.parse(e))}catch{console.error("Failed to parse globalProps from localStorage, use empty object instead.")}h.globalProps=t,h.initData=e,h.url=u}}function s(e){localStorage.setItem(d,JSON.stringify(e)),l()}function r(e){localStorage.setItem(c,JSON.stringify(e)),l()}function o(){console.info(` _ __ ___ ___ __ __ ________ ____ _____ _ _______ ______ ____ _____ __ __
308
308
  | | \\ \\ / / \\ | \\ \\ / / \\ \\ / / ____| _ \\ | __ \\| | /\\|__ __| ____/ __ \\| __ \\| \\/ |
309
309
  | | \\ \\_/ /| \\| |\\ V / \\ \\ /\\ / /| |__ | |_) | | |__) | | / \\ | | | |__ | | | | |__) | \\ / |
310
310
  | | \\ / | . \\ | > < \\ \\/ \\/ / | __| | _ < | ___/| | / /\\ \\ | | | __|| | | | _ /| |\\/| |