@quicktvui/quicktvui3 1.1.24-beta → 1.1.24-beta.2

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.
Files changed (2) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -17,4 +17,4 @@ function O(e,t){const n=new Set(e.split(","));return t?e=>n.has(e.toLowerCase())
17
17
  * @license MIT
18
18
  **/
19
19
  const Rt=[];function Pt(e,...t){ve();const n=Rt.length?Rt[Rt.length-1].component:null,o=n&&n.appContext.config.warnHandler,a=function(){let e=Rt[Rt.length-1];if(!e)return[];const t=[];for(;e;){const n=t[0];n&&n.vnode===e?n.recurseCount++:t.push({vnode:e,recurseCount:0});const o=e.component&&e.component.parent;e=o&&o.vnode}return t}();if(o)Dt(o,n,11,[e+t.map((e=>{var t,n;return null!=(n=null==(t=e.toString)?void 0:t.call(e))?n:JSON.stringify(e)})).join(""),n&&n.proxy,a.map((({vnode:e})=>`at <${Kn(n,e.type)}>`)).join("\n"),a]);else{const n=[`[Vue warn]: ${e}`,...t];a.length&&n.push("\n",...function(e){const t=[];return e.forEach(((e,n)=>{t.push(...0===n?[]:["\n"],...function({vnode:e,recurseCount:t}){const n=t>0?`... (${t} recursive calls)`:"",o=!!e.component&&null==e.component.parent,a=` at <${Kn(e.component,e.type,o)}`,i=">"+n;return e.props?[a,...Nt(e.props),i]:[a+i]}(e))})),t}(a)),console.warn(...n)}he()}function Nt(e){const t=[],n=Object.keys(e);return n.slice(0,3).forEach((n=>{t.push(...Lt(n,e[n]))})),n.length>3&&t.push(" ..."),t}function Lt(e,t,n){return Y(t)?(t=JSON.stringify(t),n?t:[`${e}=${t}`]):"number"==typeof t||"boolean"==typeof t||null==t?n?t:[`${e}=${t}`]:At(t)?(t=Lt(e,Ft(t.value),!0),n?t:[`${e}=Ref<`,t,">"]):V(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=Ft(t),n?t:[`${e}=`,t])}const Ut={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",0:"setup function",1:"render function",2:"watcher getter",3:"watcher callback",4:"watcher cleanup function",5:"native event handler",6:"component event handler",7:"vnode hook",8:"directive hook",9:"transition hook",10:"app errorHandler",11:"app warnHandler",12:"ref function",13:"async component loader",14:"scheduler flush. This is likely a Vue internals bug. Please open an issue at https://github.com/vuejs/core ."};function Dt(e,t,n,o){try{return o?e(...o):e()}catch(e){xt(e,t,n)}}function Ot(e,t,n,o){if(V(e)){const a=Dt(e,t,n,o);return a&&z(a)&&a.catch((e=>{xt(e,t,n)})),a}if(Q(e)){const a=[];for(let i=0;i<e.length;i++)a.push(Ot(e[i],t,n,o));return a}"production"!==process.env.NODE_ENV&&Pt("Invalid value type passed to callWithAsyncErrorHandling(): "+typeof e)}function xt(e,t,n,o=!0){const a=t?t.vnode:null;if(t){let o=t.parent;const a=t.proxy,i="production"!==process.env.NODE_ENV?Ut[n]:`https://vuejs.org/error-reference/#runtime-${n}`;for(;o;){const t=o.ec;if(t)for(let n=0;n<t.length;n++)if(!1===t[n](e,a,i))return;o=o.parent}const l=t.appContext.config.errorHandler;if(l)return ve(),Dt(l,null,10,[e,a,i]),void he()}!function(e,t,n,o=!0){if("production"!==process.env.NODE_ENV){const i=Ut[t];if(n&&(a=n,Rt.push(a)),Pt("Unhandled error"+(i?` during execution of ${i}`:"")),n&&Rt.pop(),o)throw e;console.error(e)}else console.error(e);var a}(e,n,a,o)}let Ct=!1,kt=!1;const wt=[];let Mt=0;const Bt=[];let Qt=null,Gt=0;const $t=Promise.resolve();let Vt=null;const Yt=100;function Wt(e){const t=Vt||$t;return e?t.then(this?e.bind(this):e):t}function qt(e){wt.length&&wt.includes(e,Ct&&e.allowRecurse?Mt+1:Mt)||(null==e.id?wt.push(e):wt.splice(function(e){let t=Mt+1,n=wt.length;for(;t<n;){const o=t+n>>>1,a=wt[o],i=jt(a);i<e||i===e&&a.pre?t=o+1:n=o}return t}(e.id),0,e),zt())}function zt(){Ct||kt||(kt=!0,Vt=$t.then(Jt))}function Ht(e){Q(e)?Bt.push(...e):Qt&&Qt.includes(e,e.allowRecurse?Gt+1:Gt)||Bt.push(e),zt()}const jt=e=>null==e.id?1/0:e.id,Kt=(e,t)=>{const n=jt(e)-jt(t);if(0===n){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Jt(e){kt=!1,Ct=!0,"production"!==process.env.NODE_ENV&&(e=e||new Map),wt.sort(Kt);const t="production"!==process.env.NODE_ENV?t=>Xt(e,t):C;try{for(Mt=0;Mt<wt.length;Mt++){const e=wt[Mt];if(e&&!1!==e.active){if("production"!==process.env.NODE_ENV&&t(e))continue;Dt(e,null,14)}}}finally{Mt=0,wt.length=0,function(e){if(Bt.length){const t=[...new Set(Bt)].sort(((e,t)=>jt(e)-jt(t)));if(Bt.length=0,Qt)return void Qt.push(...t);for(Qt=t,"production"!==process.env.NODE_ENV&&(e=e||new Map),Gt=0;Gt<Qt.length;Gt++)"production"!==process.env.NODE_ENV&&Xt(e,Qt[Gt])||Qt[Gt]();Qt=null,Gt=0}}(e),Ct=!1,Vt=null,(wt.length||Bt.length)&&Jt(e)}}function Xt(e,t){if(e.has(t)){const n=e.get(t);if(n>Yt){const e=t.ownerInstance,n=e&&jn(e.type);return xt(`Maximum recursive updates exceeded${n?` in component <${n}>`:""}. This means you have a reactive effect that is mutating its own dependencies and thus recursively triggering itself. Possible sources include component template, render function, updated hook or watcher source function.`,null,10),!0}e.set(t,n+1)}else e.set(t,1)}const Zt=new Set;"production"!==process.env.NODE_ENV&&(oe().__VUE_HMR_RUNTIME__={createRecord:on((function(e,t){if(en.has(e))return!1;return en.set(e,{initialDef:tn(t),instances:new Set}),!0})),rerender:on((function(e,t){const n=en.get(e);if(!n)return;n.initialDef.render=t,[...n.instances].forEach((e=>{t&&(e.render=t,tn(e.type).render=t),e.renderCache=[],e.effect.dirty=!0,e.update()}))})),reload:on((function(e,t){const n=en.get(e);if(!n)return;t=tn(t),nn(n.initialDef,t);const o=[...n.instances];for(const e of o){const o=tn(e.type);Zt.has(o)||(o!==n.initialDef&&nn(o,t),Zt.add(o)),e.appContext.propsCache.delete(e.type),e.appContext.emitsCache.delete(e.type),e.appContext.optionsCache.delete(e.type),e.ceReload?(Zt.add(o),e.ceReload(t.styles),Zt.delete(o)):e.parent?(e.parent.effect.dirty=!0,qt(e.parent.update)):e.appContext.reload?e.appContext.reload():"undefined"!=typeof window?window.location.reload():console.warn("[HMR] Root or manually mounted instance modified. Full reload required.")}Ht((()=>{for(const e of o)Zt.delete(tn(e.type))}))}))});const en=new Map;function tn(e){return Jn(e)?e.__vccOpts:e}function nn(e,t){w(e,t);for(const n in e)"__file"===n||n in t||delete e[n]}function on(e){return(t,n)=>{try{return e(t,n)}catch(e){console.error(e),console.warn("[HMR] Something went wrong during Vue component hot-reload. Full reload required.")}}}let an=null,ln=null;const cn=Symbol.for("v-ndc");const sn=Symbol.for("v-scx"),rn=()=>{{const e=function(e,t,n=!1){const o=Yn||an;if(o||Rn){const a=o?null==o.parent?o.vnode.appContext&&o.vnode.appContext.provides:o.parent.provides:Rn._context.provides;if(a&&e in a)return a[e];if(arguments.length>1)return n&&V(t)?t.call(o&&o.proxy):t;"production"!==process.env.NODE_ENV&&Pt(`injection "${String(e)}" not found.`)}else"production"!==process.env.NODE_ENV&&Pt("inject() can only be used inside setup() or functional components.")}(sn);return e||"production"!==process.env.NODE_ENV&&Pt("Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build."),e}},un={};function dn(e,t,n){const o=this.proxy,a=Y(e)?e.includes(".")?function(e,t){const n=t.split(".");return()=>{let t=e;for(let e=0;e<n.length&&t;e++)t=t[n[e]];return t}}(o,e):()=>o[e]:e.bind(o,o);let i;V(t)?i=t:(i=t.handler,n=t);const l=Wn(this),c=function(e,t,{immediate:n,deep:o,flush:a,once:i,onTrack:l,onTrigger:c}=x){if(t&&i){const e=t;t=(...t)=>{e(...t),S()}}"production"!==process.env.NODE_ENV&&void 0!==o&&"number"==typeof o&&Pt('watch() "deep" option with number value will be used as watch depth in future versions. Please use a boolean instead to avoid potential breakage.'),"production"===process.env.NODE_ENV||t||(void 0!==n&&Pt('watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.'),void 0!==o&&Pt('watch() "deep" option is only respected when using the watch(source, callback, options?) signature.'),void 0!==i&&Pt('watch() "once" option is only respected when using the watch(source, callback, options?) signature.'));const s=e=>{Pt("Invalid watch source: ",e,"A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types.")},r=Yn,u=e=>!0===o?e:fn(e,!1===o?1:void 0);let d,f,_=!1,T=!1;if(At(e)?(d=()=>e.value,_=ht(e)):mt(e)?(d=()=>u(e),_=!0):Q(e)?(T=!0,_=e.some((e=>mt(e)||ht(e))),d=()=>e.map((e=>At(e)?e.value:mt(e)?u(e):V(e)?Dt(e,r,2):void("production"!==process.env.NODE_ENV&&s(e))))):V(e)?d=t?()=>Dt(e,r,2):()=>(f&&f(),Ot(e,r,3,[I])):(d=C,"production"!==process.env.NODE_ENV&&s(e)),t&&o){const e=d;d=()=>fn(e())}let p,I=e=>{f=h.onStop=()=>{Dt(e,r,4),f=h.onStop=void 0}};if(qn){if(I=C,t?n&&Ot(t,r,3,[d(),T?[]:void 0,I]):d(),"sync"!==a)return C;{const e=rn();p=e.__watcherHandles||(e.__watcherHandles=[])}}let g=T?new Array(e.length).fill(un):un;const m=()=>{if(h.active&&h.dirty)if(t){const e=h.run();(o||_||(T?e.some(((e,t)=>ee(e,g[t]))):ee(e,g)))&&(f&&f(),Ot(t,r,3,[e,g===un?void 0:T&&g[0]===un?[]:g,I]),g=e)}else h.run()};let v;m.allowRecurse=!!t,"sync"===a?v=m:"post"===a?v=()=>Ln(m,r&&r.suspense):(m.pre=!0,r&&(m.id=r.uid),v=()=>qt(m));const h=new fe(d,C,v),S=()=>{h.stop()};return"production"!==process.env.NODE_ENV&&(h.onTrack=l,h.onTrigger=c),t?n?m():g=h.run():"post"===a?Ln(h.run.bind(h),r&&r.suspense):h.run(),p&&p.push(S),S}(a,i.bind(o),n);return l(),c}function fn(e,t,n=0,o){if(!q(e)||e.__v_skip)return e;if(t&&t>0){if(n>=t)return e;n++}if((o=o||new Set).has(e))return e;if(o.add(e),At(e))fn(e.value,t,n,o);else if(Q(e))for(let a=0;a<e.length;a++)fn(e[a],t,n,o);else if($(e)||G(e))e.forEach((e=>{fn(e,t,n,o)}));else if(J(e))for(const a in e)fn(e[a],t,n,o);return e}
20
- /*! #__NO_SIDE_EFFECTS__ */function _n(e,t){return V(e)?(()=>w({name:e.name},t,{setup:e}))():e}const Tn=e=>e?4&e.vnode.shapeFlag?function(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy((n=e.exposed,Object.isExtensible(n)&&te(n,"__v_skip",!0),mt(t=n)?t:new Proxy(t,yt)),{get:(t,n)=>n in t?t[n]:n in pn?pn[n](e):void 0,has:(e,t)=>t in e||t in pn}));var t;var n}(e)||e.proxy:Tn(e.parent):null,pn=w(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>"production"!==process.env.NODE_ENV?It(e.props):e.props,$attrs:e=>"production"!==process.env.NODE_ENV?It(e.attrs):e.attrs,$slots:e=>"production"!==process.env.NODE_ENV?It(e.slots):e.slots,$refs:e=>"production"!==process.env.NODE_ENV?It(e.refs):e.refs,$parent:e=>Tn(e.parent),$root:e=>Tn(e.root),$emit:e=>e.emit,$options:e=>__VUE_OPTIONS_API__?function(e){const t=e.type,{mixins:n,extends:o}=t,{mixins:a,optionsCache:i,config:{optionMergeStrategies:l}}=e.appContext,c=i.get(t);let s;c?s=c:a.length||n||o?(s={},a.length&&a.forEach((e=>hn(s,e,l,!0))),hn(s,t,l)):s=t;q(t)&&i.set(t,s);return s}(e):e.type,$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,qt(e.update)}),$nextTick:e=>e.n||(e.n=Wt.bind(e.proxy)),$watch:e=>__VUE_OPTIONS_API__?dn.bind(e):C}),In=(e,t)=>e!==x&&!e.__isScriptSetup&&B(e,t),gn={get({_:e},t){if("__v_skip"===t)return!0;const{ctx:n,setupState:o,data:a,props:i,accessCache:l,type:c,appContext:s}=e;if("production"!==process.env.NODE_ENV&&"__isVue"===t)return!0;let r;if("$"!==t[0]){const c=l[t];if(void 0!==c)switch(c){case 1:return o[t];case 2:return a[t];case 4:return n[t];case 3:return i[t]}else{if(In(o,t))return l[t]=1,o[t];if(a!==x&&B(a,t))return l[t]=2,a[t];if((r=e.propsOptions[0])&&B(r,t))return l[t]=3,i[t];if(n!==x&&B(n,t))return l[t]=4,n[t];__VUE_OPTIONS_API__&&!vn||(l[t]=0)}}const u=pn[t];let d,f;return u?("$attrs"===t?(Ne(e.attrs,"get",""),process.env.NODE_ENV):"production"!==process.env.NODE_ENV&&"$slots"===t&&Ne(e,"get",t),u(e)):(d=c.__cssModules)&&(d=d[t])?d:n!==x&&B(n,t)?(l[t]=4,n[t]):(f=s.config.globalProperties,B(f,t)?f[t]:void("production"===process.env.NODE_ENV||!an||Y(t)&&0===t.indexOf("__v")||(a!==x&&(e=>"_"===e||"$"===e)(t[0])&&B(a,t)?Pt(`Property ${JSON.stringify(t)} must be accessed via $data because it starts with a reserved character ("$" or "_") and is not proxied on the render context.`):e===an&&Pt(`Property ${JSON.stringify(t)} was accessed during render but is not defined on instance.`))))},set({_:e},t,n){const{data:o,setupState:a,ctx:i}=e;return In(a,t)?(a[t]=n,!0):"production"!==process.env.NODE_ENV&&a.__isScriptSetup&&B(a,t)?(Pt(`Cannot mutate <script setup> binding "${t}" from Options API.`),!1):o!==x&&B(o,t)?(o[t]=n,!0):B(e.props,t)?("production"!==process.env.NODE_ENV&&Pt(`Attempting to mutate prop "${t}". Props are readonly.`),!1):"$"===t[0]&&t.slice(1)in e?("production"!==process.env.NODE_ENV&&Pt(`Attempting to mutate public property "${t}". Properties starting with $ are reserved and readonly.`),!1):("production"!==process.env.NODE_ENV&&t in e.appContext.config.globalProperties?Object.defineProperty(i,t,{enumerable:!0,configurable:!0,value:n}):i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:o,appContext:a,propsOptions:i}},l){let c;return!!n[l]||e!==x&&B(e,l)||In(t,l)||(c=i[0])&&B(c,l)||B(o,l)||B(pn,l)||B(a.config.globalProperties,l)},defineProperty(e,t,n){return null!=n.get?e._.accessCache[t]=0:B(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function mn(e){return Q(e)?e.reduce(((e,t)=>(e[t]=null,e)),{}):e}"production"!==process.env.NODE_ENV&&(gn.ownKeys=e=>(Pt("Avoid app logic that relies on enumerating keys on a component instance. The keys will be empty in production mode to avoid performance overhead."),Reflect.ownKeys(e)));let vn=!0;function hn(e,t,n,o=!1){const{mixins:a,extends:i}=t;i&&hn(e,i,n,!0),a&&a.forEach((t=>hn(e,t,n,!0)));for(const a in t)if(o&&"expose"===a)"production"!==process.env.NODE_ENV&&Pt('"expose" option is ignored when declared in mixins or extends. It should only be declared in the base component itself.');else{const o=Sn[a]||n&&n[a];e[a]=o?o(e[a],t[a]):t[a]}return e}const Sn={data:Fn,props:yn,emits:yn,methods:An,computed:An,beforeCreate:bn,created:bn,beforeMount:bn,mounted:bn,beforeUpdate:bn,updated:bn,beforeDestroy:bn,beforeUnmount:bn,destroyed:bn,unmounted:bn,activated:bn,deactivated:bn,errorCaptured:bn,serverPrefetch:bn,components:An,directives:An,watch:function(e,t){if(!e)return t;if(!t)return e;const n=w(Object.create(null),e);for(const o in t)n[o]=bn(e[o],t[o]);return n},provide:Fn,inject:function(e,t){return An(En(e),En(t))}};function Fn(e,t){return t?e?function(){return w(V(e)?e.call(this,this):e,V(t)?t.call(this,this):t)}:t:e}function En(e){if(Q(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function bn(e,t){return e?[...new Set([].concat(e,t))]:t}function An(e,t){return e?w(Object.create(null),e,t):t}function yn(e,t){return e?Q(e)&&Q(t)?[...new Set([...e,...t])]:w(Object.create(null),mn(e),mn(null!=t?t:{})):t}let Rn=null;const Pn={},Nn=e=>Object.getPrototypeOf(e)===Pn,Ln=function(e,t){t&&t.pendingBranch?Q(e)?t.effects.push(...e):t.effects.push(e):Ht(e)},Un=Symbol.for("v-fgt"),Dn=Symbol.for("v-txt"),On=Symbol.for("v-cmt");let xn=null;const Cn=({key:e})=>null!=e?e:null,kn=({ref:e,ref_key:t,ref_for:n})=>("number"==typeof e&&(e=""+e),null!=e?Y(e)||At(e)||V(e)?{i:an,r:e,k:t,f:!!n}:e:null);const wn="production"!==process.env.NODE_ENV?(...e)=>Mn(...e):Mn;function Mn(e,t=null,n=null,o=0,a=null,i=!1){if(e&&e!==cn||("production"===process.env.NODE_ENV||e||Pt(`Invalid vnode type when creating vnode: ${e}.`),e=On),(l=e)&&!0===l.__v_isVNode){const o=Bn(e,t,!0);return n&&$n(o,n),!i&&xn&&(6&o.shapeFlag?xn[xn.indexOf(e)]=o:xn.push(o)),o.patchFlag|=-2,o}var l;if(Jn(e)&&(e=e.__vccOpts),t){t=function(e){return e?St(e)||Nn(e)?w({},e):e:null}(t);let{class:e,style:n}=t;e&&!Y(e)&&(t.class=re(e)),q(n)&&(St(n)&&!Q(n)&&(n=w({},n)),t.style=ae(n))}const c=Y(e)?1:(e=>e.__isSuspense)(e)?128:(e=>e.__isTeleport)(e)?64:q(e)?4:V(e)?2:0;return"production"!==process.env.NODE_ENV&&4&c&&St(e)&&Pt("Vue received a Component that was made a reactive object. This can lead to unnecessary performance overhead and should be avoided by marking the component with `markRaw` or using `shallowRef` instead of `ref`.","\nComponent that was made reactive: ",e=Ft(e)),function(e,t=null,n=null,o=0,a=null,i=(e===Un?0:1),l=!1,c=!1){const s={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Cn(t),ref:t&&kn(t),scopeId:ln,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:o,dynamicProps:a,dynamicChildren:null,appContext:null,ctx:an};return c?($n(s,n),128&i&&e.normalize(s)):n&&(s.shapeFlag|=Y(n)?8:16),"production"!==process.env.NODE_ENV&&s.key!=s.key&&Pt("VNode created with invalid key (NaN). VNode type:",s.type),!l&&xn&&(s.patchFlag>0||6&i)&&32!==s.patchFlag&&xn.push(s),s}(e,t,n,o,a,c,i,!0)}function Bn(e,t,n=!1){const{props:o,ref:a,patchFlag:i,children:l}=e,c=t?function(...e){const t={};for(let n=0;n<e.length;n++){const o=e[n];for(const e in o)if("class"===e)t.class!==o.class&&(t.class=re([t.class,o.class]));else if("style"===e)t.style=ae([t.style,o.style]);else if(k(e)){const n=t[e],a=o[e];!a||n===a||Q(n)&&n.includes(a)||(t[e]=n?[].concat(n,a):a)}else""!==e&&(t[e]=o[e])}return t}(o||{},t):o;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&Cn(c),ref:t&&t.ref?n&&a?Q(a)?a.concat(kn(t)):[a,kn(t)]:kn(t):a,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:"production"!==process.env.NODE_ENV&&-1===i&&Q(l)?l.map(Qn):l,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Un?-1===i?16:16|i:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Bn(e.ssContent),ssFallback:e.ssFallback&&Bn(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function Qn(e){const t=Bn(e);return Q(e.children)&&(t.children=e.children.map(Qn)),t}function Gn(e=" ",t=0){return wn(Dn,null,e,t)}function $n(e,t){let n=0;const{shapeFlag:o}=e;if(null==t)t=null;else if(Q(t))n=16;else if("object"==typeof t){if(65&o){const n=t.default;return void(n&&(n._c&&(n._d=!1),$n(e,n()),n._c&&(n._d=!0)))}{n=32;const o=t._;o||Nn(t)?3===o&&an&&(1===an.slots._?t._=1:(t._=2,e.patchFlag|=1024)):t._ctx=an}}else V(t)?(t={default:t,_ctx:an},n=32):(t=String(t),64&o?(n=16,t=[Gn(t)]):n=8);e.children=t,e.shapeFlag|=n}let Vn,Yn=null;{const e=oe(),t=(t,n)=>{let o;return(o=e[t])||(o=e[t]=[]),o.push(n),e=>{o.length>1?o.forEach((t=>t(e))):o[0](e)}};Vn=t("__VUE_INSTANCE_SETTERS__",(e=>Yn=e)),t("__VUE_SSR_SETTERS__",(e=>qn=e))}const Wn=e=>{const t=Yn;return Vn(e),e.scope.on(),()=>{e.scope.off(),Vn(t)}};let qn=!1;process.env.NODE_ENV;const zn=/(?:^|[-_])(\w)/g,Hn=e=>e.replace(zn,(e=>e.toUpperCase())).replace(/[-_]/g,"");function jn(e,t=!0){return V(e)?e.displayName||e.name:e.name||t&&e.__name}function Kn(e,t,n=!1){let o=jn(t);if(!o&&t.__file){const e=t.__file.match(/([^/\\]+)\.\w+$/);e&&(o=e[1])}if(!o&&e&&e.parent){const n=e=>{for(const n in e)if(e[n]===t)return n};o=n(e.components||e.parent.type.components)||n(e.appContext.components)}return o?Hn(o):n?"App":"Anonymous"}function Jn(e){return V(e)&&"__vccOpts"in e}function Xn(e){return{dispatchFunctionBySid:(t,n,o)=>{e.value&&P.callUIFunction(e.value,"dispatchFunctionBySid",[t,n,o])},requestFocus:()=>{e.value&&P.callUIFunction(e.value,"requestFocus")},clearFocus:()=>{e.value&&P.callUIFunction(e.value,"clearFocus")},requestFocusDirectly:()=>{e.value&&P.callUIFunction(e.value,"requestFocusDirectly")},setVisibility:t=>{e.value&&P.callUIFunction(e.value,"changeVisibility",[t])}}}process.env.NODE_ENV,process.env.NODE_ENV,process.env.NODE_ENV;var Zn=_n({name:"qt-view",emits:["clearFocus"],setup(t,n){const o=e();return{viewRef:o,...Xn(o)}}});const eo={clipChildren:!1,ref:"viewRef"};Zn.render=function(e,a,i,l,c,s){return t(),n("div",eo,[o(e.$slots,"default")],512)},Zn.__file="src/view/index.vue";var to=_n({name:"qt-text",setup(t,n){const o=e();return{viewRef:o,...Xn(o)}}});to.render=function(e,n,o,l,c,s){const r=a("text-view");return t(),i(r,{ref:"viewRef"},null,512)},to.__file="src/text/index.vue";var no=_n({name:"qt-image",setup(t,n){const o=e();return{viewRef:o,...Xn(o)}}});const oo={src:"",alt:"",clipChildren:!1,ref:"viewRef"};no.render=function(e,o,a,i,l,c){return t(),n("img",oo,null,512)},no.__file="src/image/index.vue";var ao=_n({name:"qt-column",setup(t,n){const o=e();return{viewRef:o,...Xn(o)}}});const io={class:"qt-ui-row-css",clipChildren:!1,ref:"viewRef"};ao.render=function(e,a,i,l,c,s){return t(),n("div",io,[o(e.$slots,"default")],512)},ao.__scopeId="data-v-734c04b2",ao.__file="src/column/index.vue";var lo=_n({name:"qt-row",setup(t,n){const o=e();return{viewRef:o,...Xn(o)}}});const co={class:"qt-ui-row-css",clipChildren:!1,ref:"viewRef"};lo.render=function(e,a,i,l,c,s){return t(),n("div",co,[o(e.$slots,"default")],512)},lo.__scopeId="data-v-9c454b58",lo.__file="src/row/index.vue";var so=l({name:"qt-button",props:{size:{type:String,default:"default"},itemType:{type:Number,default:2e4},focusBorder:{type:Boolean,default:!1},focusScale:{type:Number,default:1.08},focusable:{type:Boolean,default:!0},enableFlexStyle:{type:Boolean,default:!1},icon:{type:String,default:null},focusIcon:{type:String,default:null},text:{type:String,default:""},gradientFocusBackground:{type:Object,default:()=>{}},gradientSelectedBackground:{type:Object,default:()=>null},gradientBackground:{type:Object,default:()=>null},disabled:Boolean,circle:Boolean,round:Boolean,square:Boolean,buttonStyle:Object,textStyle:Object,iconStyle:Object,focusIconStyle:Object,iconParentStyle:Object},emits:["focus","click"],setup(t,n){const o=e(),a=e(!1);return{buttonRef:o,focused:a,onFocus:function(e){a.value=e.isFocused,n.emit("focus",e.isFocused)},onClick:function(e){n.emit("click")},...Xn(o)}}});const ro=["focusable","enableFocusBorder","focusScale"],uo=["gradientBackground"],fo=["gradientBackground"],_o=["gradientBackground"],To=["src"],po=["src"];so.render=function(e,l,d,f,_,T){const p=a("text-view");return t(),n("div",{ref:"buttonRef",clipChildren:!1,focusable:e.focusable,enableFocusBorder:e.focusBorder,focusScale:e.focusScale,onClick:l[0]||(l[0]=(...t)=>e.onClick&&e.onClick(...t)),name:"textButton",eventClick:"",eventFocus:"",onFocus:l[1]||(l[1]=(...t)=>e.onFocus&&e.onFocus(...t)),style:c(e.buttonStyle),class:s(["quick-button--default",e.size?"quick-button--"+e.size:"",{"is-disabled-button":e.disabled,"is-circle":e.circle,"is-round":e.round,"is-square":e.square}])},[r(" gradient "),e.gradientFocusBackground?(t(),n("div",{key:0,class:"button-gradient-background-css",gradientBackground:e.gradientFocusBackground,focusable:!1,showOnState:"focused"},null,8,uo)):r("v-if",!0),e.gradientSelectedBackground?(t(),n("div",{key:1,class:"button-gradient-background-css",gradientBackground:e.gradientSelectedBackground,focusable:!1,showOnState:"selected"},null,8,fo)):r("v-if",!0),e.gradientBackground?(t(),n("div",{key:2,class:"button-gradient-background-css",gradientBackground:e.gradientBackground,focusable:!1,showOnState:"normal"},null,8,_o)):r("v-if",!0),r(" -----------------------------icon--------------------------------- "),!e.icon&&!e.focusIcon||e.$slots.default?r("v-if",!0):(t(),n("div",{key:3,duplicateParentState:!0,style:c(e.iconParentStyle),flexStyle:"${iconParentStyle}",class:s(["quick-button-icon-parent",e.size?"quick-button-icon--parent"+e.size:""])},[e.icon&&!e.$slots.default?(t(),n("img",{key:0,style:c(e.iconStyle),flexStyle:"${iconStyle}",duplicateParentState:!0,class:s(["quick-button-icon",e.size?"quick-button-icon--"+e.size:"",{"is-square-icon":e.square}]),focusable:!1,src:e.enableFlexStyle?"${"+e.icon+"}":e.icon,showOnState:"normal"},null,14,To)):r("v-if",!0),e.focusIcon&&!e.$slots.default?(t(),n("img",{key:1,style:c(e.focusIconStyle?e.focusIconStyle:e.iconStyle),flexStyle:"${iconStyle}",class:s(["quick-button-icon",e.size?"quick-button-icon--"+e.size:"",{"is-square-icon":e.square}]),focusable:!1,duplicateParentState:!0,src:e.enableFlexStyle?"${"+e.focusIcon+"}":e.focusIcon,showOnState:"focused"},null,14,po)):r("v-if",!0)],6)),r(" ------------------------------------------------------------------- "),r(" text "),e.enableFlexStyle?(t(),i(p,{key:4,style:c(e.textStyle),duplicateParentState:"",class:s([e.size?"quick-button-text--"+e.size:"",{"is-disabled-text":e.disabled,"is-square-text":e.square}]),focusable:!1,text:"${"+e.text+"}",autoWidth:"",autoHeight:""},null,8,["style","class","text"])):e.text&&!e.$slots.default?(t(),n("span",{key:5,style:c(e.textStyle),duplicateParentState:"",class:s([e.size?"quick-button-text--"+e.size:"",{"is-disabled-text":e.disabled,"is-square-text":e.square}]),focusable:!1},u(e.text),7)):r("v-if",!0),o(e.$slots,"default")],46,ro)},so.__scopeId="data-v-46a594e4",so.__file="src/button/index.vue";let Io,go=[];class mo{fn;scheduler;active=!0;deeps=[];constructor(e,t){this.fn=e,this.scheduler=t}run(){if(!this.active)return this.fn();if(!go.includes(this))try{return go.push(Io=this),this.fn()}finally{go.pop(),Io=go[go.length-1]}}stop(){this.active&&(!function(e){const{deeps:t}=e;for(const n of t)n.delete(e)}(this),this.active=!1)}}function vo(){return void 0!==Io}const ho=new WeakMap;function So(e){e&&ho.delete(e)}function Fo(e,t){if(!vo()||null==e)return;let n=ho.get(e);if(n||ho.set(e,n=new Map),null!=t){let e=n.get(t);e||n.set(t,e=new Set),Eo(e)}}function Eo(e){e.has(Io)||(e.add(Io),Io.deeps.push(e))}function bo(e,t,n,o,a){let i=ho.get(e);if(!i)return;let l=[];if(null!=t){let e=i.get(t);e||(e=i.get("__ls_watchAll")),e&&l.push(e)}let c=[];for(const e of l)c.push(...e);Ao(c,e,t,n,o,a)}function Ao(e,t,n,o,a,i){for(const l of e)if(l!==Io){if(l.scheduler)return l.scheduler(t,n,o,a,i);l.run(t,n,o,a,i)}}class yo{start;end;deleteCount;datas=new Map;names=new Map;dataArr;updateCount=0;constructor(e,t,n=-1){this.start=e,this.end=t,this.deleteCount=n}resetData(){this.start=-1,this.end=-1,this.deleteCount=1,this.datas.size&&(this.datas=new Map)}}const Ro={set:"set",qtSet:"__qt_set",push:"push",splice:"splice",pop:"pop",concat:"concat",unknownSet:"__qt_unknownSet",currentType:"__qt_currentType",expectCangeNum:"__qt_expectCangeNum",isInit:"__qt_is_init"};const Po=new class{targetFlags=new WeakMap;targetMaps=new WeakMap;getFlag(e){let t=this.targetFlags.get(e);return t||this.targetFlags.set(e,t=new Map),t}getTargetType(e,t){return this.getType(e)?.get(t)}getType(e){return this.targetMaps.get(e)}setType(e,t,n){let o=this.targetMaps.get(e);o||this.targetMaps.set(e,o=new Map),o.set(t,n),this.getFlag(e).set(Ro.currentType,t)}deleteType(e,t){if("object"!=typeof e)return;let n=this.targetMaps.get(e);this.targetFlags.delete(e),n&&(t?n.delete(t):this.targetMaps.delete(e))}changeTypeData(e,t,n){if(this.getFlag(e).get(Ro.currentType)===Ro.pop)return!1;const o=this.getType(e);let a=!1;o&&!isNaN(Number(t))&&o.forEach(((e,o)=>{Number(t)>=e.start&&Number(t)<=e.end&&(e.datas.set(t,n),a=!0)}));let i=this.getFlag(e).get(Ro.expectCangeNum);return i&&i>0?(this.getFlag(e).set(Ro.expectCangeNum,--i),!0):a}changeOfsetType(e,t,n,o){let a=this.getTargetType(e,Ro.qtSet);if(a){if(a.datas.set(t,n),o){const e=a.names.get(t);e?e.add(o):a.names.set(t,new Set([o]))}}else{const i=Array.isArray(t)?Number(t[0]):Number(t);if(a=new yo(i,-1),a.datas.set(t,n),o){const e=a.names.get(t);e?e.add(o):a.names.set(t,new Set([o]))}this.setType(e,Ro.qtSet,a)}}};class No extends Array{push(...e){if(e.length){const t=this.__v_raw.length,n=t+e.length-1,o=Po.getTargetType(this.__v_raw,Ro.push);if(o)o.end+=e.length;else{const e=new yo(t,n);Po.setType(this.__v_raw,Ro.push,e)}}return super.push(...e)}splice(e,t,...n){e<0&&(e=0),(e>=this.__v_raw.length||t<0)&&(t=0);let o=e;o=n&&n.length?e+n.length-1:-1;let a=Po.getTargetType(this.__v_raw,Ro.pop);return a||(a=new yo(e,o,t),Po.setType(this.__v_raw,Ro.splice,a),Po.getFlag(this.__v_raw).set(Ro.expectCangeNum,this.__v_raw.length+n.length-t-e)),super.splice(e,t,...n)}pop(){if(this.__v_raw.length){const e=this.__v_raw.length-1,t=e,n=1,o=Po.getTargetType(this.__v_raw,Ro.pop);if(o)o.start-=1,o.deleteCount+=n;else{const o=new yo(e,t,n);Po.setType(this.__v_raw,Ro.pop,o)}}return super.pop()}concat(e){if(e.length){const t=this.__v_raw.length,n=t+e.length-1;let o=Po.getTargetType(this.__v_raw,Ro.pop);o?o.end+=e.length:(o=new yo(t,n),o.dataArr=e,Po.setType(this.__v_raw,Ro.concat,o))}return super.concat(...e)}}const Lo=(e,t)=>{return o=t,(null===(n=e)||null===o||void 0===n||void 0===o?n===o:n&&o?n.constructor.name===o.constructor.name:typeof n==typeof o)&&("object"==typeof e?((e,t)=>e.__qt_key_&&t.__qt_key_?e.__qt_key_===t.__qt_key_:JSON.stringify(e)===JSON.stringify(t))(e,t):e==t);var n,o},Uo=(e,t)=>{let n=!1;return e.__qt_key_&&t.__qt_key_&&(n=e.__qt_key_===t.__qt_key_),n&&e.__qt_change_num_&&t.__qt_change_num_&&(n=t.__qt_change_num_>e.__qt_change_num_),n},Do=(e,t,n)=>{const o=new yo(-1,-1),a=new yo(-1,-1),i=new yo(-1,-1);for(let o=0;o<e.length;o++){const i=e[o];t.find((e=>Lo(i,e)))?a.deleteCount>0&&(n.delete(a.start,a.deleteCount),a.resetData()):-1===a.start?(a.start=o,a.deleteCount=1):a.deleteCount++}a.deleteCount>0&&n.delete(a.start,a.deleteCount);let l=-1;for(let a=0;a<t.length;a++){const c=t[a],s=e.find(((e,t)=>!!(Lo(e,c)&&t>l)&&(l=t,!0)));if(s){i.datas.size&&(n.insert(i.start,i.datas),i.resetData());Uo(s,c)&&(-1===o.start?(o.start=a,o.updateCount=1,o.end=o.start+o.updateCount):a>o.start&&a<=o.end?(o.updateCount++,o.end++):(n.update(o.start,o.datas),o.resetData(),o.start=a,o.updateCount=1,o.end=o.start+o.updateCount),o.datas.set(a,c))}else-1===i.start&&(i.start=a),i.datas.set(a,c),o.datas.size&&(n.update(o.start,o.datas),o.resetData())}o.datas.size&&n.update(o.start,o.datas),i.datas.size&&n.add(Array.from(i.datas.values()))},Oo=e=>e+(Date.now()+1e6*Math.random()),xo=e=>{if(q(e)){const t=Q(e)?[]:{};for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)){const o=e[n];q(o)?(Q(o)||(o.__qt_key_||(o.__qt_key_=Oo(n)),o.__qt_change_num_||(o.__qt_change_num_=1)),t[n]=xo(o)):t[n]=o}return t}return e};function Co(e,t){if(!e||!q(e))return;let n=e.__v_raw,o=xo(n),a=null;const i=new mo((()=>{Fo(n,"__ls_watchAll")}),((e,l,c,s,r)=>{var u;"__ls_reset_ref_value"===s&&Po.getFlag(c).set(Ro.isInit,!0),u=()=>{const a="__ls_reset_ref_value"===s?c:e,i=Po.getType(e),l=Po.getFlag(e).get(Ro.currentType);!Po.getFlag(a).get(Ro.isInit)||o&&o.length&&l===Ro.concat?o&&o.length||!a?i&&1===i.size?i.forEach(((e,n)=>{n!==Ro.push&&n!==Ro.concat||t.add(e.dataArr||Array.from(e.datas.values())),n===Ro.pop&&t.delete(e.start,e.deleteCount),n===Ro.qtSet&&t.update(e.start,e.datas,e.names),n===Ro.splice&&(e.deleteCount&&t.delete(e.start,e.deleteCount),e.datas.size&&t.insert(e.start,e.datas))})):Do(o,a,t):t.init(a):a&&a.length?t.init(a):t.clear(),Po.deleteType(o),Po.deleteType(e),Po.deleteType(n),Po.deleteType(a),o=xo(n)},clearTimeout(a),a=setTimeout((()=>{u()}),10),"__ls_reset_ref_value"===s&&(So(n),n=c,i.run(),t.resetValue?.(n))}));return i.run(),{stop(){So(n),i.stop(),clearTimeout(a)}}}const ko=new WeakMap,wo=(e,t,n)=>{if(!q(e))return;if(n>=t.length-1)return e;n<0&&(n=0);const o=t.length-1-n;let a=e;for(let e=1;e<=o;e++){if(a=a[t[e]],!q(a))break}return a},Mo=(e,t=[])=>({get(n,o,a){if("__qt_root"===o)return e;if("__qt_path"===o)return t;if("__v_isReactive"===o)return!0;if("__ls_watchAll"===o||"__v_raw"===o)return n;Fo(n,o);const i=Reflect.get(n,o,a);if(q(i)){return Bo(i,e,[...t,o])}return i},set(e,t,n,o){let a=e[t];d(n)&&(n=f(n)),q(n)&&!Q(n)&&"string"==typeof t&&(n.__qt_key_||(q(a)?n.__qt_key_=a.__qt_key_||Oo(t):n.__qt_key_=Oo(t)),n.__qt_change_num_||(q(a)?n.__qt_change_num_=a.__qt_change_num_||1:n.__qt_change_num_=1));const i=Reflect.set(e,t,n,o);try{if(((e,t)=>"string"==typeof t?!t.startsWith("__qt_"):e.hasOwnProperty(t))(e,t)&&a!=n){q(n)&&n.__qt_change_num_&&n.__qt_change_num_++;const i=o.__qt_root,l=o.__qt_path;if(l&&l.length&&!d(n)){const e=l[0],n=i[e];q(n)&&n.__qt_change_num_&&n.__qt_change_num_++,Po.changeOfsetType(i,l,n,t),bo(i,e,n,Ro.set,a)}else if(Array.isArray(e)&&!isNaN(Number(t))){Po.changeTypeData(e,t,n)||Po.changeOfsetType(e,t,n),bo(e,t,n,Ro.set,a)}else bo(e,t,n,Ro.set,a)}}catch(e){}return i}});function Bo(e,t,n){return q(e)?e.__v_isReactive?e:(Array.isArray(e)&&(e.__proto__=new No),t||(t=e),new Proxy(e,Mo(t,n))):e}function Qo(e,t,n){return q(e)?function(e,t,n){const o=ko.get(e);if(o)return o;const a=Bo(e,t,n);return ko.set(e,a),a}(e,t,n):e}class Go{dep=new Set;__v_isRef=!0;_value;_rawValue;constructor(e=[]){this._rawValue=xo(e),this._value=Qo(this._rawValue)}get value(){return vo()&&Eo(this.dep||(this.dep=new Set)),this._value}set value(e){(e=xo(e))!==this._rawValue&&(this._value=Qo(e),bo(this._rawValue,"__ls_watchAll",e,"__ls_reset_ref_value",this._rawValue),Ao(this.dep,this._rawValue,void 0,e,"",this._rawValue),this._rawValue=e)}}function $o(e){return function(e){return new Go(e)}(e)}var Vo=l({name:"qt-grid-view",props:{loadMore:{type:Function,default:function(){return[1,1]}},openPage:{type:Boolean,default:!1},spanCount:{type:Number,default:0},pageSize:{type:Number,default:0},preloadNo:{type:Number,default:0},defaultFocus:{type:Number,default:-1},areaWidth:{type:Number,default:1200},blockFocusDirections:{type:Array,default:()=>[]},loadingDecoration:{type:Object,default:()=>({top:15,left:30})},listData:{type:Array,required:!1}},emits:["item-click","scroll","item-unbind","scroll-state-changed","item-bind","item-focused"],setup(t,n){const o=e();let a=$o(),i=0,l=!1,c=e(!1),s=[],r=null;const u=()=>t.listData||a.value;_((()=>{u().length&&o.value&&(s=u(),o.value.setListDataWithParams(f(u()),!0,!0))}));let d=0;const I=[{_id:"",type:1002,decoration:t.loadingDecoration}],g=()=>{t.openPage&&0===d&&s.length>=t.pageSize&&!l&&(o.value.addListData(I),d=s.length)},m=()=>{d>0&&(o.value.deleteItem(d,1),d=0)};let v=null;const h=()=>{l=!0,clearTimeout(v),v=setTimeout((()=>{l=!0,m()}),20)},S=()=>{l=!1,i=0},F=()=>{!l&&t.loadMore&&(i++,t.loadMore(i))},E=Co(u(),{resetValue(e){s=e},init(e){o.value&&(o.value.setListDataWithParams(e,!0,!0),m(),g(),S(),t.listData&&(i=1),t.defaultFocus>-1&&e.length&&t.defaultFocus<e.length&&(clearTimeout(r),r=setTimeout((()=>{P(t.defaultFocus)}),500)))},add(e){o.value.addListData(e),m(),g()},update(e,t,n){t.forEach(((e,t)=>{o.value.updateItem(Number(t),e)}))},insert(e,t){let n=[...t.values()];o.value.addItem(e,n),m(),g()},delete(e,t){o.value.deleteItem(e,t)},clear(){o.value.setListDataWithParams([],!0,!0),d=0}}),{requestFocus:b,requestFocusDirectly:A,setVisibility:y}=Xn(o);T((()=>{t.openPage&&!t.listData&&(S(),F())}));const R=e=>{o.value.scrollToPosition(e)},P=e=>{o.value.requestFocus(e)},N=(e,t)=>{o.value.setSelectPosition(e,t)};p((()=>{E?.stop(),S(),c.value=!1,l=!1,clearTimeout(v),clearTimeout(r)}));let L=-1;return{tv_list:o,init:(e,n)=>t.listData?[]:e?(a.value=e,a.value):a.value,onItemClick:e=>{n.emit("item-click",e)},onItemBind:e=>{if(t.openPage&&!l&&s.length>=t.pageSize){let n=t.preloadNo;(n<0||n>=s.length)&&(n=0),e.position==s.length-1-n&&F()}n.emit("item-bind",e)},onItemFocused:e=>{n.emit("item-focused",e)},restartPage:()=>{if(!t.listData){clearTimeout(L);let e=0;l||(e=420,h()),L=setTimeout((()=>{c.value=!0,i=1,l=!1,t.loadMore(i)}),e)}},isRestartPage:c,onItemUnbind:e=>{n.emit("item-unbind",e)},onScroll:e=>{n.emit("scroll",e)},onScrollStateChanged:e=>{n.emit("scroll-state-changed",e)},stopPage:h,scrollToTop:()=>{o.value.scrollToTop()},clearFocus:()=>{o.value.clearFocus()},blockRootFocus:()=>{o.value.blockRootFocus()},unBlockRootFocus:()=>{o.value.unBlockRootFocus()},setDisplay:e=>{o.value.setDisplay(e)},scrollToPosition:R,scrollToIndex:(e,t,n)=>{o.value.scrollToIndex(0,e,t,n)},setItemFocused:P,scrollToFocused:e=>{R(e),P(e)},setItemSelected:N,scrollToSelected:(e,t)=>{R(e),N(e,t)},setInitPosition:e=>{o.value.setInitPosition(e)},setListData:e=>{o.value.setListData(e)},clearPostTask:()=>{o.value.clearPostTask()},destroy:()=>{o.value.destroy()},requestFocus:b,requestFocusDirectly:A,setVisibility:y}}});Vo.render=function(e,n,l,c,s,r){const u=a("tv-list");return t(),i(u,{class:"tv_list",ref:"tv_list",name:"tv_list",spanCount:e.spanCount,onItemBind:e.onItemBind,onItemClick:e.onItemClick,onItemFocused:e.onItemFocused,onItemUnbind:e.onItemUnbind,onScroll:e.onScroll,onScrollStateChanged:e.onScrollStateChanged,onSetListData:e.setListData,blockFocusDirections:e.blockFocusDirections},{default:I((()=>[o(e.$slots,"header"),o(e.$slots,"default"),o(e.$slots,"footer"),o(e.$slots,"loading")])),_:3},8,["spanCount","onItemBind","onItemClick","onItemFocused","onItemUnbind","onScroll","onScrollStateChanged","onSetListData","blockFocusDirections"])},Vo.__file="src/grid-view/index.vue";var Yo=_n({name:"qt-poster-focus-title",props:{fontSize:{type:Number,default:20}},setup(e,t){}});const Wo={class:"absoluteFocusTitleRoot",flexStyle:"${titleFocusStyle}",autoHeight:"",focusable:!1},qo={class:"absoluteFocusMainBgRoot",duplicateParentState:!0,focusable:!1,showIf:"${focusTitle.enable}"};Yo.render=function(e,o,i,l,c,s){const u=a("text-view");return t(),n("div",Wo,[r(" 浮动标题"),g(u,{duplicateParentState:!0,focusable:!1,fontSize:26,ellipsizeMode:2,lines:1,paddingRect:[16,18,0,0],gradientBackground:"${floatTitle.background}",style:{height:"64px",color:"#ffffff"},flexStyle:"${floatTitle.style}",text:"${floatTitle}",showIf:"${floatTitle.enable}",gravity:"left",postDelay:250}),m("div",qo,[r(" 主标题 "),g(u,{duplicateParentState:!0,focusable:!1,fontSize:30,ellipsizeMode:2,autoHeight:"",maxLines:2,gravity:"left",paddingRect:[16,8,12,8],style:{"background-color":"transparent",color:"#000000"},flexStyle:"${focusTitle.style}",text:"${focusTitle.text}"}),r(" 副标题 "),g(u,{duplicateParentState:!0,focusable:!1,fontSize:24,ellipsizeMode:2,lines:1,autoHeight:"",gravity:"left|top",paddingRect:[16,0,0,16],style:{color:"rgba(0,0,0,.4)","background-color":"transparent"},flexStyle:"${subTitle.style}",text:"${subTitle.text}",visibility:"${subTitle}"})])])},Yo.__scopeId="data-v-703673b8",Yo.__file="src/poster/qt-poster-focus-title.vue";var zo=_n({name:"qt-poster-corner-title",props:{fontSize:{type:Number,default:20}},setup(e,t){}});const Ho={class:"cornerRoot",focusable:!1},jo=(e=>(v("data-v-4b767ea2"),e=e(),h(),e))((()=>m("img",{focusable:!1,flexStyle:"${corner.style}",src:"${corner.src}",showIf:"${corner.enableImg}"},null,-1)));zo.render=function(e,o,i,l,c,s){const r=a("text-view");return t(),n("div",Ho,[g(r,{duplicateParentState:!0,focusable:!1,textSize:e.fontSize,ellipsizeMode:2,lines:1,typeface:"bold",gravity:"center",postDelay:350,style:{color:"white",padding:"4px 8px",height:"36px",margin:"4px"},gradientBackground:"${corner.background}",autoWidth:"",text:"${corner.text}",showIf:"${corner.enable}"},null,8,["textSize"]),jo])},zo.__scopeId="data-v-4b767ea2",zo.__file="src/poster/qt-poster-corner-title.vue";var Ko=_n({name:"qt-poster",components:{"qt-poster-corner-title":zo,"qt-poster-focus-title":Yo},props:{requestFirstFocus:{type:Boolean,default:!1},loadDelay:{type:Number,default:500},type:{type:Number,default:10001},templateKeyMap:{type:Object,default:()=>null}},setup(t,n){const o=e();return{mainTextShowOnState:["normal","selected"],viewRef:o,...Xn(o)}}});const Jo=e=>(v("data-v-3c4765e9"),e=e(),h(),e),Xo=Jo((()=>m("img",{class:"qt-ui-poster-img-css",duplicateParentState:!0,postDelay:300,focusable:!1,enableFocusBorder:"${focus.border}",flexStyle:"${image.style}",src:"${image.src}"},null,-1))),Zo=["showOnState"],ea={flexStyle:"${floatTitle.style}",class:"qt-ui-poster-title-css",gradientBackground:{colors:["#e5000000","#00000000"],cornerRadii4:[0,0,8,8],orientation:4},duplicateParentState:!0,focusable:!1,showIf:"${floatTitle.enable}"},ta={flexStyle:"${ripple.style}",class:"qt-ui-poster-ripple-view-root-css",showOnState:"focused",focusable:!1,clipChildren:!1},na=Jo((()=>m("img",{src:"${ripple.src}",class:"qt-ui-ripple-img-css",focusable:!1,duplicateParentState:!0,showIf:"${ripple.enable==true}",delayLoad:800},null,-1)));Ko.render=function(e,n,l,c,s,u){const d=a("text-view"),f=a("qt-poster-focus-title"),_=a("ripple-view"),T=a("qt-poster-corner-title"),p=a("item-frame");return t(),i(p,{ref:"viewRef",type:e.type,layout:"${layout}",flexStyle:"${style}",focusScale:"${focus.scale}",focusable:!0,eventClick:"",eventFocus:"",name:"poster",class:"qt-ui-poster-root-css",itemShowShimmer:"${shimmer.enable}",hideShadow:"${shadow.enable}",shimmerSize:"${size}"},{default:I((()=>[r("封面"),Xo,g(d,{class:"qt-ui-poster-score-css",duplicateParentState:!0,focusable:!1,flexStyle:"${score.style}",textSize:"${score.style.fontSize}",ellipsizeMode:2,lines:1,gravity:"center",postDelay:350,autoWidth:"",text:"${score.text}"}),r(" 焦点选中时的标题 "),g(f,{focusable:!1,showOnState:"focused"}),m("div",{style:{"flex-direction":"column","background-color":"transparent","z-index":"999"},duplicateParentState:!0,focusable:!1,flexStyle:"${titleStyle}",showOnState:e.mainTextShowOnState},[r(" 浮动标题 "),m("div",ea,[g(d,{duplicateParentState:!0,focusable:!1,textSize:26,ellipsizeMode:2,enablePostTask:"",postDelay:200,lines:1,gravity:"left",style:{"z-index":"999",height:"50px"},flexStyle:"${floatTitle.style}",text:"${floatTitle.text}"})]),r(" 主标题"),g(d,{duplicateParentState:!0,focusable:!1,textSize:30,ellipsizeMode:2,lines:1,postDelay:200,gravity:"left",paddingRect:[16,8,0,0],gradientBackground:"${title.background}",style:{"z-index":"999",height:"60px"},flexStyle:"${title.style}",text:"${title.text}",showIf:"${title.enable}"})],8,Zo),m("div",ta,[g(_,{class:"qt-ui-ripple-view-css",delayLoad:800,focusable:!1,duplicateParentState:!0,color:"#FF4E46",isShowRipple:"${ripple.enable}",rippleVisible:"invisible"}),na]),g(T,{focusable:!1,flexStyle:"${corner.style}",style:{"z-index":"1000",position:"absolute"}}),o(e.$slots,"default")])),_:3},8,["type"])},Ko.__scopeId="data-v-3c4765e9",Ko.__file="src/poster/index.vue";var oa=l({name:"qt-nav-bar",props:{textKey:{type:String,default:"text"},itemGap:{type:Number,default:0},horizontal:{type:Boolean,default:!0},initSelect:{type:Number,default:0},size:{type:String,default:"medium"},navs:{type:Array,default:()=>[]},tabNavBarClass:{type:String,default:""},horizontalFadingEdgeEnabled:{type:Boolean,default:!1},verticalFadingEdgeEnabled:{type:Boolean,default:!1},fadingEdgeLength:{type:Number,default:0}},setup(t,n){const o=e();let a=e("#f5f5f5"),i=S({normal:"#80ffffff",focused:"#000000",selected:"#F5F5F5"}),l=-1,c=-1;F((()=>t.navs),(e=>{e.length>0&&s(e)}));const s=e=>{e||(e=[]),e.forEach(((e,n)=>{0!==t.itemGap&&(t.horizontal?e.decoration={right:t.itemGap}:e.decoration={bottom:t.itemGap}),e.type||(e.type=2e4)})),o.value?.setListData(e),clearTimeout(c);let n=t.initSelect;n>-1&&(o.value?.scrollToPosition(n),c=setTimeout((()=>{o.value?.setItemSelected(n,!0),r(n)}),300))},r=e=>{clearTimeout(l),l=setTimeout((()=>{n.emit("tab-select",{position:e})}),300)};return{navList:o,focusColor:a,textColor:i,bgPadding:[10,10],onTabChange:e=>{!0===e.hasFocus&&(n.emit("tab-focus",e),r(e.position))},onTabClick:e=>{n.emit("tab-click",e.item)},scrollToPosition:e=>{o.value?.scrollToPosition(e)},scrollToTop:()=>{o.value?.scrollToTop()},init:e=>{s(e.data)},...Xn(o)}}});const aa=["stateTextColor","sateBackgroundPadding"],ia=["stateTextColor","sateBackgroundPadding"];var la,ca;oa.render=function(e,n,l,r,u,d){const f=a("text-view"),_=a("qt-list-view");return e.horizontal?(t(),i(_,{key:0,ref:"navList",clipChildren:!1,clipPadding:!1,horizontalFadingEdgeEnabled:e.horizontalFadingEdgeEnabled,fadingEdgeLength:e.fadingEdgeLength,horizontal:"",class:s(e.tabNavBarClass),onItemClick:e.onTabClick,onItemFocused:e.onTabChange},{default:I((()=>[m("div",{class:"qt-ui-nav-bar-item-css",type:2e4,autoWidth:"",focusable:!0,eventFocus:"",flexStyle:"${style}",clipChildren:!1,style:c({focusBackgroundColor:e.focusColor}),stateTextColor:e.textColor,sateBackgroundPadding:e.bgPadding},[g(f,{autoWidth:"",gravity:"center",lines:1,fontSize:44,class:"qt-ui-nav-bar-item-text-css",duplicateParentState:!0,text:"${text}"})],12,aa),o(e.$slots,"default")])),_:3},8,["horizontalFadingEdgeEnabled","fadingEdgeLength","class","onItemClick","onItemFocused"])):(t(),i(_,{key:1,ref:"navList",clipChildren:!1,clipPadding:!1,class:s(e.tabNavBarClass),verticalFadingEdgeEnabled:e.verticalFadingEdgeEnabled,fadingEdgeLength:e.fadingEdgeLength,onItemClick:e.onTabClick,onItemFocused:e.onTabChange},{default:I((()=>[m("div",{class:"qt-ui-nav-bar-item-css",type:2e4,flexStyle:"${style}",eventFocus:"",autoWidth:"",focusable:!0,stateTextColor:e.textColor,style:c({focusBackgroundColor:e.focusColor}),sateBackgroundPadding:e.bgPadding,clipChildren:!1},[g(f,{autoWidth:"",gravity:"center",lines:1,fontSize:44,class:"qt-ui-nav-bar-item-text-css",duplicateParentState:!0,text:"${text}"})],12,ia),o(e.$slots,"default")])),_:3},8,["class","verticalFadingEdgeEnabled","fadingEdgeLength","onItemClick","onItemFocused"]))},oa.__file="src/nav-bar/index.vue",function(e){e[e.QT_WATERFALL_SECTION_TYPE_LOADING=-1]="QT_WATERFALL_SECTION_TYPE_LOADING",e[e.QT_WATERFALL_SECTION_TYPE_TITLE=1e3]="QT_WATERFALL_SECTION_TYPE_TITLE",e[e.QT_WATERFALL_SECTION_TYPE_FLEX=1002]="QT_WATERFALL_SECTION_TYPE_FLEX",e[e.QT_WATERFALL_SECTION_TYPE_LIST=1003]="QT_WATERFALL_SECTION_TYPE_LIST",e[e.QT_WATERFALL_SECTION_TYPE_TAB=1003]="QT_WATERFALL_SECTION_TYPE_TAB",e[e.QT_WATERFALL_SECTION_TYPE_INDEPENDENT_ITEM=1004]="QT_WATERFALL_SECTION_TYPE_INDEPENDENT_ITEM",e[e.QT_WATERFALL_SECTION_TYPE_TAB_LIST=1005]="QT_WATERFALL_SECTION_TYPE_TAB_LIST",e[e.QT_WATERFALL_SECTION_TYPE_CARD=1006]="QT_WATERFALL_SECTION_TYPE_CARD",e[e.QT_WATERFALL_SECTION_TYPE_VUE=1007]="QT_WATERFALL_SECTION_TYPE_VUE",e[e.QT_WATERFALL_SECTION_TYPE_END=-1001]="QT_WATERFALL_SECTION_TYPE_END",e[e.QT_WATERFALL_SECTION_TYPE_BLANK=-1e3]="QT_WATERFALL_SECTION_TYPE_BLANK"}(la||(la={})),function(e){e[e.QT_WATERFALL_ITEM_TYPE_POSTER=10001]="QT_WATERFALL_ITEM_TYPE_POSTER",e[e.QT_WATERFALL_ITEM_TYPE_TAB=10002]="QT_WATERFALL_ITEM_TYPE_TAB",e[e.QT_WATERFALL_ITEM_TYPE_CARD=10003]="QT_WATERFALL_ITEM_TYPE_CARD",e[e.QT_WATERFALL_ITEM_TYPE_BLANK=-1e4]="QT_WATERFALL_ITEM_TYPE_BLANK"}(ca||(ca={}));var sa=_n({name:"card-item",setup(e,t){const n=N();return{onFocus:function(e){n.isLoggable(L.DEBUG)&&n.d("card-item","------onFocus---------\x3e>>>",e),t.emit("focus",e)}}}});sa.render=function(e,n,o,l,c,s){const r=a("es-card-container");return t(),i(r,{keyName:"_id",clipChildren:!1,clipPadding:!1,autoRecycle:!0,disablePlaceholder:"",layout:"${layout}",flexStyle:"${style}",cardId:"${cardId}",focusScale:"${cardPlaceHolder.focusScale}",focusable:"${cardPlaceHolder.focusable}",showPlaceHolder:"${cardPlaceHolder.enable}",placeHolderRadius:"${cardPlaceHolder.radius}",placeHolderRect:"${cardPlaceHolder.rect}",type:10003,onFocus:e.onFocus,class:"qt-ui-waterfall-card-item"},null,8,["onFocus"])},sa.__scopeId="data-v-599898aa",sa.__file="src/waterfall/item/card-item.vue";var ra=_n({name:"standard-section",components:{"card-item":sa},props:{enablePlaceholder:{type:Boolean,default:!0},plateData:{type:String,default:""},useDiff:{type:Boolean,default:!0},cachePool:{type:Object,default:{}},sectionType:{type:Number,default:la.QT_WATERFALL_SECTION_TYPE_FLEX},standItemType:{type:Number,default:ca.QT_WATERFALL_ITEM_TYPE_POSTER},currentPageIndex:{type:Number,default:-1},itemFocusScale:{type:Number,default:1.1}},setup(e,t){const n=N();return{onFocus:function(e){n.isLoggable(L.DEBUG)&&n.d("card-item","------onFocus---------\x3e>>>",e),t.emit("focus",e)}}}});const ua=["type"],da=(e=>(v("data-v-227e921e"),e=e(),h(),e))((()=>m("img",{postDelay:300,flexStyle:"${imgTitleStyle}",focusable:!1,src:"${imgTitle}"},null,-1)));ra.render=function(e,i,l,c,s,u){const d=a("text-view"),f=a("qt-poster"),_=a("card-item"),T=a("tv-flex");return t(),n("div",{class:"standard-section-css",blockFocusDirections:["left","right"],clipChildren:!1,clipPadding:!1,type:e.sectionType,focusable:!1,focusScrollTarget:"${isFocusScrollTarget==true}",keyName:"_id",flexStyle:"${style}",scrollOverride:"${scrollOverride}",gradientBackground:"${style.gradientBackground}",bringFocusChildToFront:!0,useAdvancedFocusSearch:!0},[g(d,{class:"standard-section-title-text-css",postDelay:300,autoWidth:"",autoHeight:"",flexStyle:"${titleStyle}",focusable:!1,textSize:"${titleStyle.fontSize}",text:"${title}"}),da,g(T,{class:"standard-section-css",name:"QUICKTVUI_WARTERFALL_LIST",blockFocusDirections:["left","right"],clipChildren:!1,clipPadding:!1,bringFocusChildToFront:!0,cachePool:e.cachePool,useDiff:e.useDiff,keyName:"_id",sid:"${listSID}",enablePlaceholder:e.enablePlaceholder,focusScrollTarget:"${isFocusScrollTarget==true}",list:"${itemList}"},{default:I((()=>[r(" poster "),g(f,{"load-delay":500,type:e.standItemType},null,8,["type"]),r(" card "),g(_,{onFocus:e.onFocus},null,8,["onFocus"]),o(e.$slots,"default")])),_:3},8,["cachePool","useDiff","enablePlaceholder"])],8,ua)},ra.__scopeId="data-v-227e921e",ra.__file="src/waterfall/section/flex-section.vue";const fa="list-section";var _a=_n({name:"list-section",props:{enablePlaceholder:{type:Boolean,default:!0},isSwitchBgScroll:{type:Boolean,default:!1},standItemType:{type:Number,default:10001},tabItemType:{type:Number,default:10002},sectionType:{type:Number,default:la.QT_WATERFALL_SECTION_TYPE_LIST},fetchPendingData:{type:Function,default:null},arrangeType:{type:String,default:"TB"},cachePool:{type:Object,default:{}}},setup(e,t){const n=N();return{blockDirections:["left","right"],onItemBind:function(e){n.isLoggable(L.DEBUG)&&n.d(fa,"----------onItemBind--------------\x3e>>",e)},onItemClick:function(e){n.isLoggable(L.DEBUG)&&n.d(fa,"----------onItemClick--------------\x3e>>",e)},onItemRecycled:function(e){n.isLoggable(L.DEBUG)&&n.d(fa,"----------onItemRecycled--------------\x3e>>",e)},onItemFocused:function(e){n.isLoggable(L.DEBUG)&&n.d(fa,"----------onItemFocused--------------\x3e>>",e)}}}});const Ta={class:"qt-ui-section-tab-list-root",focusable:!1,flexStyle:"${style}",gradientBackground:"${style.gradientBackground}",blockFocusDirections:["right"],clipChildren:!1,useAdvancedFocusSearch:!0,bringFocusChildToFront:!0},pa=(e=>(v("data-v-6aa2cfd4"),e=e(),h(),e))((()=>m("img",{postDelay:300,flexStyle:"${imgTitleStyle}",focusable:!1,src:"${imgTitle}"},null,-1))),Ia=["type"];_a.render=function(e,n,l,c,s,r){const u=a("text-view"),d=a("qt-poster"),f=a("tv-list"),_=a("tv-item");return t(),i(_,{keyName:"_id",type:e.sectionType,clipPadding:!1,clipChildren:!1,ref:"listSection",focusScrollTarget:"${isFocusScrollTarget==true}",class:"tab-list-section-root-css",scrollOverride:"${scrollOverride}",onItemClick:e.onItemClick,onItemBind:e.onItemBind,onItemUnbind:e.onItemRecycled,onItemFocused:e.onItemFocused},{default:I((()=>[m("div",Ta,[g(u,{class:"tab-list-section-title-text-css",postDelay:300,autoWidth:"",autoHeight:"",flexStyle:"${titleStyle}",focusable:!1,textSize:"${titleStyle.fontSize}",text:"${title}"}),pa,g(f,{list:"${itemList}",horizontal:"",clipChildren:!1,focusable:!1,class:"tab-list-section-list-css",name:"QUICKTVUI_WARTERFALL_LIST",resetOnDetach:!0,enableKeepFocus:"${enableKeepFocus==true}",endHintEnabled:"${enableEndHit}",useDiff:"${enableDiff}",sid:"${listSID}",cachePool:e.cachePool,onScrollEnable:!1,setSelectChildPosition:0,enablePlaceholder:e.enablePlaceholder,blockFocusDirections:e.blockDirections},{default:I((()=>[g(d,{type:e.standItemType},null,8,["type"]),m("div",{type:e.tabItemType,class:"qt-ui-section-tab-list-item",clipChildren:!1,flexStyle:"${style}",style:{"padding-left":"24px","padding-right":"23px","justify-content":"center",height:"50px"},autoWidth:"",name:"QUICKTVUI_TAB_2",focusable:!0,eventClick:"",eventFocus:""},[g(u,{class:"qt-ui-section-tab-list-item-text",autoWidth:"",flexStyle:"${textStyle}",gravity:"center",fontSize:36,lines:1,focusable:!1,duplicateParentState:!0,style:{height:"50px"},text:"${text}"})],8,Ia),o(e.$slots,"default")])),_:3},8,["cachePool","enablePlaceholder","blockFocusDirections"])])])),_:3},8,["type","onItemClick","onItemBind","onItemUnbind","onItemFocused"])},_a.__scopeId="data-v-6aa2cfd4",_a.__file="src/waterfall/section/list-section.vue";var ga=_n({name:"loading-section"});const ma={focusable:!1,type:-1,keyName:"_id",class:"loading-section-css",gradientBackground:"${style.gradientBackground}"};ga.render=function(e,o,i,l,c,s){const r=a("qt-loading-view");return t(),n("div",ma,[g(r,{class:"loading-section-loading-css"})])},ga.__scopeId="data-v-48609f24",ga.__file="src/waterfall/section/loading-section.vue";var va=_n({name:"end-section",setup:()=>({})});const ha={keyName:"_id",type:-1001,focusable:!1,flexStyle:"${style}",gradientBackground:"${style.gradientBackground}",class:"qt-waterfall-end-section-css"};va.render=function(e,o,i,l,c,s){const r=a("text-view");return t(),n("div",ha,[g(r,{focusable:!1,gravity:"center",flexStyle:"${titleStyle}",class:"qt-waterfall-end-section-text-css",textSize:"${titleStyle.fontSize}",text:"${title}"})])},va.__scopeId="data-v-70b82c43",va.__file="src/waterfall/section/end-section.vue";var Sa=_n({props:{plateTitleLeftMargin:{type:Number,default:0},type:{type:Number,default:la.QT_WATERFALL_SECTION_TYPE_TITLE}},setup:(e,t)=>({})});const Fa=["type"];Sa.render=function(e,o,i,l,s,r){const u=a("text-view");return t(),n("div",{class:"section-title-css",blockFocusDirections:["left","right"],clipChildren:!1,clipPadding:!1,type:e.type,keyName:"_id",focusable:!1,bringFocusChildToFront:!0,useAdvancedFocusSearch:!0},[g(u,{class:"section-title-text-css",postDelay:300,style:c({marginLeft:e.plateTitleLeftMargin+"px"}),focusable:!1,textSize:"${titleStyle.fontSize}",text:"${title}"},null,8,["style"])],8,Fa)},Sa.__scopeId="data-v-20428d40",Sa.__file="src/waterfall/section/section-title.vue";var Ea=_n({name:"blank-section",setup:()=>({})});const ba={focusable:!1,type:-1e3,keyName:"_id",flexStyle:"${style}",gradientBackground:"${style.gradientBackground}",class:"qt-ui-waterfall-blank-section"};Ea.render=function(e,o,a,i,l,c){return t(),n("div",ba)},Ea.__scopeId="data-v-eeab4d88",Ea.__file="src/waterfall/section/blank-section.vue";var Aa=_n({name:"card-section",setup(e,t){const n=N();return{onFocus:function(e){n.isLoggable(L.DEBUG)&&n.d("card-section","------onFocus---------\x3e>>>",e),t.emit("focus",e)}}}});const ya={type:1006,class:"qt-ui-waterfall-card-section-css",clipChildren:!1,clipPadding:!1,focusScrollTarget:"${isFocusScrollTarget==true}",keyName:"_id",flexStyle:"${style}",scrollOverride:"${scrollOverride}",gradientBackground:"${style.gradientBackground}",bringFocusChildToFront:!0,useAdvancedFocusSearch:!0};Aa.render=function(e,o,i,l,c,s){const r=a("text-view"),u=a("es-card-container");return t(),n("div",ya,[g(r,{class:"qt-ui-waterfall-card-section-title-css",postDelay:300,flexStyle:"${titleStyle}",focusable:!1,textSize:"${titleStyle.fontSize}",text:"${title}"}),g(u,{cardId:"${cardId}",onFocus:e.onFocus,clipChildren:!1,clipPadding:!1,autoRecycle:!0,focusScale:"${cardPlaceHolder.focusScale}",focusable:"${cardPlaceHolder.focusable}",showPlaceHolder:"${cardPlaceHolder.enable}",placeHolderRadius:"${cardPlaceHolder.radius}",placeHolderRect:"${cardPlaceHolder.rect}",flexStyle:"${cardStyle}",class:"qt-ui-waterfall-card-section"},null,8,["onFocus"])])},Aa.__scopeId="data-v-43a44788",Aa.__file="src/waterfall/section/card-section.vue";var Ra,Pa=_n({name:"vue-section",props:{blockFocusDirections:{type:Array,default:()=>["left","right"]}},setup:(e,t)=>({onSectionBind:function(){}})});function Na(e,t){const n=[];if(t&&t.length>0)for(let o=0;o<t.length;o++){let a=La(e,t[o]);n.push(a)}return n}function La(e,t){let n=0;return t.itemList.length>0&&t.type==la.QT_WATERFALL_SECTION_TYPE_FLEX&&(n=function(e){const t=e.itemList,n=e.style?.spacing??0,o=e.titleStyle,a=o?.height??0;const i=o?.marginTop??0,l=o?.marginBottom??0;const c=o?.paddingTop??0,s=o?.paddingBottom??0;let r=e.style.height??0,u=e.style.width??0;e.decoration;let d=0,f=0,_=0;for(let e=0;e<t.length;e++){const o=t[e];let a=o?.style.width??0,i=o?.style.height??0;const l=o.style.x,c=o.style.y;if(null!=l&&null!=c)o.layout=[l,c,a,i];else{const e=o.decoration,t=e?.left??0,l=e?.top??0,c=e?.right??0,s=e?.bottom??0;d+a+c>u&&(f+=_+n,_=0,d=0),o.layout||(o.layout=[0,0,a,i]),o.layout[0]=d+t,o.layout[1]=f+l,o.layout[1]+i+s>r&&(r=o.layout[1]+i+s),i+l+s>_&&(_=i+l+s),d+=a+n+t+c}}return r+a+i+l+c+s}(t),t.style.height=n),t}function Ua(){let e=[];function t(e){return e.itemList.length}function n(n,o){console.log("----1--------getRangeSectionListItemCount-----------------\x3e>>>");const a=e.length;if(n<0||n>=a)return 0;console.log("----2--------getRangeSectionListItemCount-----------------\x3e>>>");let i=n+o;n+o>a&&(i=a),console.log("----3--------getRangeSectionListItemCount-----------------\x3e>>>");let l=0;for(let o=n;o<i;o++){l+=t(e[o])}return l}function o(){console.log("--------dumpWaterfallData---------\x3e>>>",e)}return{init:function(){},getSectionList:function(){return e},addSectionList:function(a){const i=e.length,l=n(0,i),c=function(e){if(e.length<=0)return 0;let n=0;for(let o=0;o<e.length;o++){n+=t(e[o])}return n}(a);return e.push(...a),o(),{sectionIndex:i,sectionCount:a.length,itemIndex:l,itemCount:c}},deleteSection:function(t,a){const i=n(0,t-1),l=n(t,a);return e.splice(t,a),o(),{sectionIndex:t,sectionCount:a,itemIndex:i,itemCount:l}},updateSection:function(a,i){const l=n(0,a-1),c=t(i);return e.splice(a,1,i),o(),{sectionIndex:a,sectionCount:1,itemIndex:l,itemCount:c}},getSection:function(t){if(!(t<0||t>=e.length||0==e.length))return e[t]},addItemList:function(t,n){const a=e.length;if(t<0||t>=a||n.length<=0)return{sectionIndex:-1,sectionCount:0,itemIndex:-1,itemCount:0};const i=e[t],l=i.itemList.length;return i.itemList.push(...n),o(),{sectionIndex:t,sectionCount:1,itemIndex:l,itemCount:n.length}},deleteItem:function(t,n,a){return e[t].itemList.splice(n,a),o(),{sectionIndex:t,sectionCount:1,itemIndex:n,itemCount:a}},updateItem:function(t,n,a){return e[t].itemList.splice(n,1,a),o(),{sectionIndex:t,sectionCount:1,itemIndex:n,itemCount:1}},updateItemList:function(t,n,a,i){return e[t].itemList.splice(n,a,...i),o(),{sectionIndex:t,sectionCount:1,itemIndex:n,itemCount:a}},getItem:function(t,n){const o=e[t];if(o&&o.itemList.length>0&&n>=0&&n<o.itemList.length){return o.itemList[n]}},destroy:function(){e=[]}}}Pa.render=function(e,n,l,c,s,r){const u=a("tv-item");return t(),i(u,{class:"qt-ui-waterfall-vue-section",type:1007,keyName:"_id",blockFocusDirections:e.blockFocusDirections,clipChildren:!1,clipPadding:!1,focusScrollTarget:"${isFocusScrollTarget==true}",flexStyle:"${style}",scrollOverride:"${scrollOverride}",singleton:"",onItemBind:e.onSectionBind},{default:I((()=>[o(e.$slots,"default")])),_:3},8,["blockFocusDirections","onItemBind"])},Pa.__scopeId="data-v-f8447724",Pa.__file="src/waterfall/section/vue-section.vue",function(e){e.QT_WATERFALL_VISIBLE_TYPE_NONE="none",e.QT_WATERFALL_VISIBLE_TYPE_NORMAL="normal",e.QT_WATERFALL_VISIBLE_TYPE_CENTER="center"}(Ra||(Ra={}));const Da="qt-waterfall";var Oa,xa,Ca=_n({name:"qt-waterfall",emits:["onScroll","onScrollStateChanged","onItemClick","onItemFocused","onSectionBind","onSectionAttached","onSectionDetached","onScrollYGreaterReference","onScrollYLesserReference"],props:{enablePlaceholder:{type:Boolean,default:!0},blockFocusDirections:{type:Array,default:()=>["down"]},vueSectionBlockFocusDirections:{type:Array,default:()=>["left","right"]},customPool:{type:Object,default:()=>{}},customItemPool:{type:Object,default:()=>{}},scrollYLesserReferenceValue:{type:Number,default:0},scrollYGreaterReferenceValue:{type:Number,default:0}},setup(t,n){const o=N();const a={...{name:"Waterfall"+Date.now(),size:{20008:10}},...t.customPool};o.e("WaterfallVue","waterfall cachePool :"+JSON.stringify(a));const i={...{name:"waterfallItems"+Date.now(),size:{1:30}},...t.customItemPool};o.e("WaterfallVue","itemsPool :"+JSON.stringify(i));const l=e(Ra.QT_WATERFALL_VISIBLE_TYPE_CENTER),c=e();let s;const r=Ua();return{waterfallRef:c,visibleType:l,init:function(e){s=e,e.visibleType&&(l.value=e.visibleType)},setAutoFocus:function(e,t){c.value?.setAutoFocus(e,t)},getSectionList:function(){return r.getSectionList()},setSectionList:function(e){if(!s)return;o.isLoggable(L.DEBUG)&&o.d(Da,"-------1---setSectionList--------------\x3e>>"),r.destroy();const t=r.addSectionList(e);o.isLoggable(L.DEBUG)&&o.d(Da,"-------2---setSectionList--------------\x3e>>",t);const n=Na(s,e);o.isLoggable(L.DEBUG)&&o.d(Da,"----------setSectionList-----最终数据---------\x3e>>",n),c.value?.setListData(n)},addSectionList:function(e){if(!s)return;r.addSectionList(e);const t=Na(s,e);o.isLoggable(L.DEBUG)&&o.d(Da,"----------addSectionList-----最终数据---------\x3e>>",t),c.value?.addListData(t)},deleteSection:function(e,t){const n=r.deleteSection(e,t);o.isLoggable(L.DEBUG)&&o.d(Da,"----------deleteSection-----最终数据---------\x3e>>",n),c.value?.deleteItem(e,t)},updateSection:function(e,t){r.updateSection(e,t);const n=La(0,t);o.isLoggable(L.DEBUG)&&o.d(Da,"----------updateSection-----最终数据---------\x3e>>sectionIndex:",e,"updateSection:",n),c.value?.updateItem(e,n)},updateSectionList:function(e,t,n){const o=[];for(let t=0;t<n.length;t++){const a=n[t];r.updateSection(e+t,a);const i=La(0,a);i&&o.push(i)}c.value?.updateItemList(e,t,o)},getSection:function(e){return r.getSection(e)},addItemList:function(e,t){r.addItemList(e,t);const n=r.getSection(e);if(n){const t=La(0,n);c.value?.updateItem(e,t)}},deleteItem:function(e,t,n){r.deleteItem(e,t,n);const o=r.getSection(e);if(o){const t=La(0,o);c.value?.updateItem(e,t)}},updateItem:function(e,t,n){r.updateItem(e,t,n);const o=r.getSection(e);if(o){const t=La(0,o);c.value?.updateItem(e,t)}},updateItemList:function(e,t,n,o){r.updateItemList(e,t,n,o);const a=r.getSection(e);if(a){const t=La(0,a);c.value?.updateItem(e,t)}},getItem:function(e,t){return r.getItem(e,t)},cachePool:a,itemsPool:i,onScroll:function(e){e.stopPropagation();let t=e.offsetX,o=e.offsetY;n.emit("onScroll",t,o)},onItemClick:function(e){o.isLoggable(L.DEBUG)&&o.d(Da,"----------onItemClick--------------\x3e>>",e,"sectionIndex:"+e.parentPosition+" position:"+e.position+" "),n.emit("onItemClick",e.parentPosition,e.position,e.item)},onItemFocused:function(e){o.isLoggable(L.DEBUG)&&o.d(Da,"----------onItemFocused--------------\x3e>>",e,"sectionIndex:"+e.parentPosition+" position:"+e.position+" isFocused:"+e.isFocused+" "),n.emit("onItemFocused",e.parentPosition,e.position,e.isFocused,e.item)},onSectionBind:function(e){if(e){o.isLoggable(L.DEBUG)&&o.d(Da,"----------onSectionBind--------------\x3e>>",e);let t=e.pageIndex??-1;n.emit("onSectionBind",t,e.position)}},onSectionAttached:function(e){if(e){o.isLoggable(L.DEBUG)&&o.d(Da,"----------onSectionAttached--------------\x3e>>",e);let t=e.pageIndex??0;n.emit("onSectionAttached",t,e.position)}},onSectionDetached:function(e){if(e){o.isLoggable(L.DEBUG)&&o.d(Da,"----------onSectionDetached--------------\x3e>>",e);let t=e.pageIndex??0;n.emit("onSectionDetached",t,e.position)}},onScrollStateChanged:function(e){let t=e.offsetY,o=e.offsetX,a=e.newState,i=e.oldState;n.emit("onScrollStateChanged",o,t,a,i)},resumePostTask:function(){c.value?.pausePostTask()},pausePostTask:function(){c.value?.pausePostTask()},clearPostTask:function(){c.value?.clearPostTask()},destroy:function(){c.value?.destroy()},scrollToTop:function(){c.value?.scrollToTop()},setListData:function(e){c.value?.setListData(e)},onScrollYGreaterReference:function(){n.emit("onScrollYGreaterReference")},onScrollYLesserReference:function(){n.emit("onScrollYLesserReference")},...Xn(c)}},components:{"flex-section":ra,"list-section":_a,"section-title":Sa,"loading-section":ga,"end-section":va,"blank-section":Ea,"card-section":Aa,"vue-section":Pa}});function ka(){const e=new Map,t=new Map;function n(n){const o={index:n,state:Oa.QT_TAB_PAGE_STATE_INIT,sectionBindIndex:-1};e.set(n,o),t.set(n,[])}function o(e,n){const o=t.get(e)??[];if(!(n<0||n>=o.length||0==o.length))return o[n]}function a(e){return e.itemList.length}function i(e,t,n){const o=e.length;if(t<0||t>=o)return 0;let i=t+n;t+n>o&&(i=o),console.log("----3--------getRangeSectionListItemCount-----------------\x3e>>>");let l=0;for(let n=t;n<i;n++){l+=a(e[n])}return l}function l(){console.log("--------dumpTabWaterfallData---------\x3e>>>",t)}return{initTab:function(e){const t=e.itemList;for(let e=0;e<t.length;e++)n(e)},initTabPageData:n,getTabPageDataState:function(t){return e.get(t)},setPageDataState:function(t,n){e.set(t,n)},setSectionState:function(e,t,n){const a=o(e,t);a&&(a.state=n,a.sectionIndex=t)},getSectionListByState:function(e,n){return(t.get(e)??[]).filter((e=>e.state==n))},getSectionList:function(e){return t.get(e)??[]},addSectionList:function(n,o){const c=t.get(n)??[],s=c.length,r=i(c,0,s),u=function(e){if(e.length<=0)return 0;let t=0;for(let n=0;n<e.length;n++){t+=a(e[n])}return t}(o);c.push(...o);const d=e.get(n);return d&&d.state!=Oa.QT_TAB_PAGE_STATE_COMPLETE&&(d.state=Oa.QT_TAB_PAGE_STATE_IDLE),l(),{pageIndex:n,sectionIndex:s,sectionCount:o.length,itemIndex:r,itemCount:u}},deleteSection:function(e,n,o){const a=t.get(e)??[],c=i(a,0,n-1),s=i(a,n,o);return a.splice(n,o),l(),{pageIndex:e,sectionIndex:n,sectionCount:o,itemIndex:c,itemCount:s}},updateSection:function(e,n,o){const c=t.get(e)??[],s=i(c,0,n-1),r=a(o);return c.splice(n,1,o),l(),{pageIndex:e,sectionIndex:n,sectionCount:1,itemIndex:s,itemCount:r}},updateSectionList:function(e,n){return t.set(e,n),l(),{pageIndex:e,sectionIndex:0,sectionCount:n.length,itemIndex:-1,itemCount:-1}},getSection:o,addItemList:function(e,n,o){const a=t.get(e)??[],i=a.length;if(n<0||n>=i||o.length<=0)return{pageIndex:e,sectionIndex:-1,sectionCount:0,itemIndex:-1,itemCount:0};const c=a[n],s=c.itemList.length;return c.itemList.push(...o),l(),{pageIndex:e,sectionIndex:n,sectionCount:1,itemIndex:s,itemCount:o.length}},deleteItem:function(e,n,o,a){return(t.get(e)??[])[n].itemList.splice(o,a),l(),{pageIndex:e,sectionIndex:n,sectionCount:1,itemIndex:o,itemCount:a}},updateItem:function(e,n,o,a){return(t.get(e)??[])[n].itemList.splice(o,1,a),l(),{pageIndex:e,sectionIndex:n,sectionCount:1,itemIndex:o,itemCount:1}},updateItemList:function(e,n,o,a,i){return(t.get(e)??[])[n].itemList.splice(o,a,...i),l(),{pageIndex:e,sectionIndex:n,sectionCount:1,itemIndex:o,itemCount:a}},getItem:function(e,n,o){const a=(t.get(e)??[])[n];if(a&&a.itemList.length>0&&o>=0&&o<a.itemList.length){return a.itemList[o]}},destroy:function(){t.clear()}}}Ca.render=function(e,n,l,c,s,u){const d=a("flex-section"),f=a("list-section"),_=a("loading-section"),T=a("end-section"),p=a("blank-section"),m=a("card-section"),v=a("vue-section"),h=a("tv-list");return t(),i(h,{ref:"waterfallRef",class:"qt-waterfall-root-css",keyName:"_id",clipChildren:!1,clipPadding:!1,listenBoundEvent:!0,negativeKeyTime:"30",postContentDelay:"500",onScroll:e.onScroll,onItemClick:e.onItemClick,onItemFocused:e.onItemFocused,onItemBind:e.onSectionBind,onItemAttached:e.onSectionAttached,onItemDetached:e.onSectionDetached,focusMemory:!1,cachePool:e.cachePool,preload:1,checkScrollOffsetOnStateChanged:!0,makeChildVisibleType:e.visibleType,scrollThresholdVertical:50,scrollEventThrottle:16,enableSelectOnFocus:!1,advancedFocusSearchSpan:"1",scrollYLesserReferenceValue:e.scrollYLesserReferenceValue,scrollYGreaterReferenceValue:e.scrollYGreaterReferenceValue,onScrollYGreaterReference:e.onScrollYGreaterReference,onScrollYLesserReference:e.onScrollYLesserReference,shakePreCheckNumber:"4",blockFocusDirections:e.blockFocusDirections,onScrollStateChanged:e.onScrollStateChanged},{default:I((()=>[r(" 普通版块"),g(d,{"cache-pool":e.itemsPool,enablePlaceholder:e.enablePlaceholder,onFocus:e.onItemFocused},{default:I((()=>[o(e.$slots,"item")])),_:3},8,["cache-pool","enablePlaceholder","onFocus"]),r("一行滚动 多级tab"),g(f,{"cache-pool":e.itemsPool,enablePlaceholder:e.enablePlaceholder},{default:I((()=>[o(e.$slots,"list-item")])),_:3},8,["cache-pool","enablePlaceholder"]),r(" loading"),g(_),r(" end "),g(T),r(" blank "),g(p),r(" card "),g(m,{onFocus:e.onItemFocused},null,8,["onFocus"]),r(" vue "),g(v,{"block-focus-directions":e.vueSectionBlockFocusDirections},{default:I((()=>[o(e.$slots,"vue-section")])),_:3},8,["block-focus-directions"]),o(e.$slots,"section")])),_:3},8,["onScroll","onItemClick","onItemFocused","onItemBind","onItemAttached","onItemDetached","cachePool","makeChildVisibleType","scrollYLesserReferenceValue","scrollYGreaterReferenceValue","onScrollYGreaterReference","onScrollYLesserReference","blockFocusDirections","onScrollStateChanged"])},Ca.__file="src/waterfall/index.vue",function(e){e[e.QT_TAB_PAGE_STATE_INIT=-1]="QT_TAB_PAGE_STATE_INIT",e[e.QT_TAB_PAGE_STATE_IDLE=0]="QT_TAB_PAGE_STATE_IDLE",e[e.QT_TAB_PAGE_STATE_BUSY=1]="QT_TAB_PAGE_STATE_BUSY",e[e.QT_TAB_PAGE_STATE_COMPLETE=2]="QT_TAB_PAGE_STATE_COMPLETE",e[e.QT_TAB_PAGE_STATE_ERROR=3]="QT_TAB_PAGE_STATE_ERROR"}(Oa||(Oa={})),function(e){e[e.QT_LIST_VIEW_ITEM_STATE_DEFAULT=0]="QT_LIST_VIEW_ITEM_STATE_DEFAULT",e[e.QT_LIST_VIEW_ITEM_STATE_ATTACHED=1]="QT_LIST_VIEW_ITEM_STATE_ATTACHED",e[e.QT_LIST_VIEW_ITEM_STATE_BIND=2]="QT_LIST_VIEW_ITEM_STATE_BIND",e[e.QT_LIST_VIEW_ITEM_STATE_UNBIND=3]="QT_LIST_VIEW_ITEM_STATE_UNBIND",e[e.QT_LIST_VIEW_ITEM_STATE_DETACHED=4]="QT_LIST_VIEW_ITEM_STATE_DETACHED"}(xa||(xa={}));const wa="qt-tabs";var Ma=_n({name:"qt-tabs",emits:["onTabPageLoadData","onTabPageChanged","onTabEvent","onTabPageItemClick","onTabPageItemFocused","onTabPageSectionAttached","onTabPageScroll","onTabPageScrollStateChanged","onTabMoveToTopStart","onTabMoveToTopEnd","onTabMoveToBottomStart","onTabMoveToBottomEnd","onTabChanged","onTabPageScrollToEnd","onTabPageScrollToStart","onTabClick"],props:{enablePlaceholder:{type:Boolean,default:!0},preloadNumber:{type:Number,default:3},tabNavBarClass:{type:String,default:""},tabNavBarSid:{type:String,default:""},tabClass:{type:String,default:""},tabsDataStrategy:{type:String,default:"overTime"},tabPageClass:{type:String,default:""},horizontal:{type:Boolean,default:!0},pageTransform:{type:Boolean,default:!0},hideOnSingleTab:{type:Boolean,default:!0},floatNavBar:{type:Boolean,default:!0},useNavBarBg:{type:Boolean,default:!0},contentNextFocus:{type:Object,default:()=>({up:"tabList",left:"tabList"})},triggerTask:{type:Array,default:()=>[]},blockViewPager:{type:Array,default:()=>[]},blockViewPagerVertical:{type:Array,default:()=>[]},tabContentBlockFocusDirections:{type:Array,default:()=>["down"]},tabContentResumeDelay:{type:Number,default:300},tabContentSwitchDelay:{type:Number,default:0},slidingEnable:{type:Boolean,default:!1},slidingMode:{type:String,default:""},initTranslation:{type:Number,default:0},rightTranslation:{type:Number,default:0},leftTranslation:{type:Number,default:0},duration:{type:Number,default:1e3},interpolatorType:{type:Number,default:1},endHintEnabled:{type:Boolean,default:!0},outOfDateTime:{type:Number,default:3e5},customPool:{type:Object,default:()=>{}},customItemPool:{type:Object,default:()=>{}},navBarNextFocusName:{type:Object,default:()=>({down:"content"})},horizontalFadingEdgeEnabled:{type:Boolean,default:!1},verticalFadingEdgeEnabled:{type:Boolean,default:!1},fadingEdgeLength:{type:Number,default:0}},setup(t,n){const o=e();e();const a=e(!0),i=e(1),l=N();U();const c=e(),s=ka();let r,u=[],d=-1,f=-1,_=-1;function T(e,t){const n=s.getTabPageDataState(e);n&&(n.state=t,s.setPageDataState(e,n))}function p(e){l.isLoggable(L.DEBUG)&&l.d(wa,"----设置数据---setPageStateReset->>>>pageIndex:"+e);const t=s.getTabPageDataState(e);t&&(t.state=Oa.QT_TAB_PAGE_STATE_INIT,t.sectionBindIndex=-1,s.setPageDataState(e,t));const n=s.getSectionList(e);s.deleteSection(e,0,n.length-1),function(e){if(e<0||e>u.length)return;const t=u[e];t.__pageNo=0}(e)}function I(e){l.isLoggable(L.DEBUG)&&l.d(wa,"----设置数据---setPageStateRecycled->>>>pageIndex:"+e);const t=s.getTabPageDataState(e);t&&(t.sectionBindIndex=0,t.state=Oa.QT_TAB_PAGE_STATE_IDLE,s.setPageDataState(e,t));const n=s.getSectionList(e);s.deleteSection(e,1,n.length-1),function(e,t){if(e<0||e>u.length)return;const n=u[e];n.__pageNo=t}(e,1)}function g(e){if(e<0||e>u.length)return 0;const t=u[e];return null==t.__pageNo&&(t.__pageNo=0),t.__pageNo}function m(e){if(e<0||e>u.length)return;const t=u[e];null!=t.__pageNo?t.__pageNo=t.__pageNo+1:t.__pageNo=1}function v(e,o,a){let i=g(e),c=s.getTabPageDataState(e);if(!c||c.state!==Oa.QT_TAB_PAGE_STATE_IDLE&&c.state!==Oa.QT_TAB_PAGE_STATE_INIT)l.isLoggable(L.DEBUG)&&l.d(wa,"------设置数据----loadPageData--状态不对--\x3e>>>",e);else{const c=s.getSectionList(e);a>=c.length-t.preloadNumber-1?(l.isLoggable(L.DEBUG)&&l.d(wa,"---------设置数据-----加载更多数据-----\x3e>>> pageIndex:"+e+" pageNo:"+i+" sectionIndex:"+a+" sectionListLength:"+c.length),T(e,Oa.QT_TAB_PAGE_STATE_BUSY),n.emit("onTabPageLoadData",e,i,o)):l.isLoggable(L.DEBUG)&&l.d(wa,"----设置数据------loadPageData--preloadNumber错误--\x3e>>>",e)}}function h(){clearTimeout(_),_=setTimeout((()=>{const e=s.getSectionListByState(d,xa.QT_LIST_VIEW_ITEM_STATE_ATTACHED);(e?e.length:0)>0&&(e.forEach((e=>{l.isLoggable(L.DEBUG)&&l.d(wa,"----------notifyTabContentSectionAttached------\x3e>>> pageIndex"+d+" sectionIndex:",e.sectionIndex)})),n.emit("onTabPageSectionAttached",d,e))}),100)}function S(e,t){l.isLoggable(L.DEBUG)&&l.d(wa,"----------onWaterfallScroll----\x3e>>> offsetX:"+e+" scrollY:"+t),n.emit("onTabPageScroll",e,t)}function F(e,t,o){l.isLoggable(L.DEBUG)&&l.d(wa,"----------onWaterfallScrollStateChanged----\x3e>>> offsetX:"+e+" scrollY:"+t+" newState:"+o),n.emit("onTabPageScrollStateChanged",e,t,o)}return{tabs:o,ifTabs:a,navBarRef:c,initTab:function(e){let t={defaultIndex:e.defaultIndex,focusIndex:e.defaultFocusIndex,data:e.itemList};u=e.itemList,s.initTab(e),o.value?.setTabsData(t)},setAutoFocus:function(e,t){o.value?.setAutoFocus(e,t)},initPage:function(e){r=e},setPageState:T,setPageData:function(e,t){l.isLoggable(L.DEBUG)&&l.d(wa,"----------loadPageData----setPageData--\x3e>>>pageIndex:"+e),s.addSectionList(e,t.data);const n={data:Na(r,t.data),disableScrollOnFirstScreen:t.disableScrollOnFirstScreen??!1,firstFocusTargetID:t.firstFocusTargetID??"",useDiff:t.useDiff,bindingPlayer:t.bindingPlayer};l.isLoggable(L.DEBUG)&&l.d(wa,"---------设置数据-----setPageData------\x3e>>> pageIndex:"+e+" data:",n),m(e),o.value?.setPageData(e,n)},addPageData:function(e,t,n=0){s.addSectionList(e,t.data);const a={data:Na(r,t.data),disableScrollOnFirstScreen:t.disableScrollOnFirstScreen??!1,firstFocusTargetID:t.firstFocusTargetID??"",useDiff:t.useDiff};try{const t=g(e);0==t?(l.isLoggable(L.DEBUG)&&l.d(wa,"---------设置数据------setPageData---\x3e>>> pageIndex:"+e+" pageNo:"+t+" data:",a," deleteCount:"+n),o.value?.setPageData(e,a)):(l.isLoggable(L.DEBUG)&&l.d(wa,"---------设置数据------addPageData---\x3e>>> pageIndex:"+e+" pageNo:"+t+" data:",a," deleteCount:"+n),o.value?.addPageData(e,a,n))}catch(e){}m(e)},updatePageData:function(e,t){s.updateSectionList(e,t.data);const n={data:Na(r,t.data),disableScrollOnFirstScreen:t.disableScrollOnFirstScreen??!1,firstFocusTargetID:t.firstFocusTargetID??"",useDiff:t.useDiff};o.value?.updatePageData(e,n)},updatePageSection:function(e,t,n){s.updateSection(e,t,n);const a=La(0,n);o.value?.updateRootNode(e,t,a)},getPageSection:function(e,t){return s.getSection(e,t)},getPageSectionList:function(e){return s.getSectionList(e)},deletePageSection:function(e,t,n){s.deleteSection(e,t,n),o.value?.invokeContentFunction(e,"deleteItemRange",[t,n])},addPageItemList:function(e,t,n){s.addItemList(e,t,n);const a=s.getSection(e,t);if(a){const n=La(0,a);o.value?.updateRootNode(e,t,n)}},getPageItem:function(e,t,n){return s.getItem(e,t,n)},updatePageItem:function(e,t,n,a){s.updateItem(e,t,n,a),o.value?.updateChildNode(e,t,n,a)},deletePageItem:function(e,t,n,a){s.deleteItem(e,t,n,a);const i=s.getSection(e,t);if(i){const n=La(0,i);o.value?.updateRootNode(e,t,n)}},blockRootFocus:function(){o.value?.blockRootFocus()},unBlockRootFocus:function(){o.value?.unBlockRootFocus()},focusBackToTop:function(){o.value?.focusBackToTop()},requestNodeFocus:function(e){o.value?.requestNodeFocus(e)},reloadAll:function(e=!0){o.value?.reloadAll(e)},reloadPage:function(e){o.value?.reloadPage(e)},setCurrentPage:function(e){o.value?.setCurrentPage(e)},requestTabFocus:function(e){o.value?.requestTabFocus(e)},invokeContentFunction:function(e,t,n){o.value?.invokeContentFunction(e,t,n)},invokeContentFunctionDirect:function(e,t){o.value?.invokeContentFunctionDirect(e,t)},contentScrollToFocus:function(e){o.value?.contentScrollToFocus(e)},getRootNodeViewState:function(e,t,n){o.value?.getRootNodeViewState(e,t,n)},getChildNodeViewState:function(e,t,n,a,i){o.value?.getChildNodeViewState(e,t,n,a,i)},dispatchUIFunctionOnChildNode:function(e,t,n,a,i){o.value?.dispatchUIFunctionOnChildNode(e,t,n,a,i)},updateItemMatched:function(e="id",t,n){o.value?.updateItemMatched(e,t,n)},updateRootNode:function(e,t,n){o.value?.updateRootNode(e,t,n)},updateChildNode:function(e,t,n,a){o.value?.updateChildNode(e,t,n,a)},destroy:function(){o.value?.destroy()},cancelAll:function(){o.value?.cancelAll()},translationLeft:function(){o.value?.translationLeft()},translationRight:function(){o.value?.translationRight()},rootOpacity:i,onTabPageLoadData:function(e){const t=e.pageIndex,n=e.useDiff;l.isLoggable(L.DEBUG)&&l.d(wa,"----------设置数据----onTabPageLoadData--\x3e>>>pageIndex:"+t),p(t),v(t,n,0)},onTabPageChanged:function(e){const t=e.pageIndex;if(d==t)return;f=d,-1==f&&(f=t),d=t;for(let e=0;e<u.length;e++){const n=s.getTabPageDataState(e);e!=t&&e!=f&&n&&n.state!=Oa.QT_TAB_PAGE_STATE_INIT&&I(e)}const o=e.data;n.emit("onTabPageChanged",t,o);const a=s.getTabPageDataState(t);a&&a.sectionBindIndex>=-1&&v(t,!1,a.sectionBindIndex),h()},onTabEvent:function(e){const t=e.params,o=e.eventName,a=e.params.itemPosition,i=e.params.x,c=e.params.y,s=e.params.contentOffset,r=e.params.state;switch(l.isLoggable(L.DEBUG)&&l.d(wa,"----------onTabEvent------\x3e>>> eventName:"+o+" tabIndex:"+a+" params:",t),n.emit("onTabEvent",a,o,t),o){case"onMoveToTopStart":n.emit("onTabMoveToTopStart",a,o,t);break;case"onMoveToTopEnd":n.emit("onTabMoveToTopEnd",a,o,t);break;case"onMoveToBottomStart":n.emit("onTabMoveToBottomStart",a,o,t);break;case"onMoveToBottomEnd":n.emit("onTabMoveToBottomEnd",a,o,t);break;case"onTabChanged":n.emit("onTabChanged",a,o,t);break;case"onScroll":S(i,c);break;case"onScrollStateChanged":F(s.x,s.y,r.newState)}},onWaterfallItemClick:function(e,t,o){l.isLoggable(L.DEBUG)&&l.d(wa,"-----------onWaterfallItemClick---------------\x3e>>> sectionIndex:"+e+" itemIndex:"+t+" item:",o),n.emit("onTabPageItemClick",d,e,t,o)},onWaterfallItemFocused:function(e,t,o,a){l.isLoggable(L.DEBUG)&&l.d(wa,"-----------onWaterfallItemFocused---------------\x3e>>> sectionIndex:"+e+" itemIndex:"+t+" isFocused:"+o+" item:",a),n.emit("onTabPageItemFocused",d,e,t,o,a)},onWaterfallSectionBind:function(e,t){e<0||(l.isLoggable(L.DEBUG)&&l.d(wa,"---------设置数据-----绑定回调----\x3e>>> pageIndex:"+e+" sectionIndex:"+t),function(e,t){const n=s.getTabPageDataState(e);n&&(n.sectionBindIndex=t,s.setPageDataState(e,n))}(e,t),e===d&&(l.isLoggable(L.DEBUG)&&l.d(wa,"----------loadPageData----bind--\x3e>>>pageIndex:"+e),v(e,!1,t)))},onWaterfallSectionAttached:function(e,t){l.isLoggable(L.DEBUG)&&l.d(wa,"-----------onWaterfallSectionAttached---------------\x3e>>> pageIndex:"+e+" sectionIndex:"+t),s.setSectionState(e,t,xa.QT_LIST_VIEW_ITEM_STATE_ATTACHED),e==d&&h()},onWaterfallSectionDetached:function(e,t){l.isLoggable(L.DEBUG)&&l.d(wa,"-----------onWaterfallSectionDetached---------------\x3e>>> pageIndex:"+e+" sectionIndex:"+t),s.setSectionState(e,t,xa.QT_LIST_VIEW_ITEM_STATE_DETACHED)},onWaterfallScroll:S,onWaterfallScrollStateChanged:F,onTabPageScrollToStart:function(e){const t=e.pageIndex;n.emit("onTabPageScrollToStart",t),l.isLoggable(L.DEBUG)&&l.d(wa,"----------onTabPageScrollToStart------\x3e>>> pageIndex:"+t)},onTabPageScrollToEnd:function(e){const t=e.pageIndex;n.emit("onTabPageScrollToEnd",t),l.isLoggable(L.DEBUG)&&l.d(wa,"----------onTabPageScrollToEnd------\x3e>>> pageIndex:"+t)},onTabChange:function(e){},onTabClick:function(e){n.emit("onTabClick",e)},getCurrentPageIndex:function(){return d},getCurrentTabIndex:function(){return o.value?o.value.getCurrentPage():Promise.resolve(-1)},...Xn(o)}}});Ma.render=function(e,n,l,c,u,d){const f=a("qt-nav-bar"),_=a("qt-waterfall"),T=a("recycler-view-pager"),p=a("tabs");return e.ifTabs?(t(),i(p,{key:0,ref:"tabs",class:s(["tabs-root-css",e.tabClass]),dataStrategy:e.tabsDataStrategy,hideOnSingleTab:e.hideOnSingleTab,pageSwitchDelay:e.tabContentSwitchDelay,resumeTaskDelay:e.tabContentResumeDelay,suspension:e.floatNavBar,useSuspensionBg:e.useNavBarBg,clipChildren:!1,outOfDateTime:e.outOfDateTime,blockFocusDirections:e.tabContentBlockFocusDirections,onScrollToStart:e.onTabPageScrollToStart,onScrollToEnd:e.onTabPageScrollToEnd,onLoadPage:e.onTabPageLoadData,onPageChanged:e.onTabPageChanged,onTabEvent:e.onTabEvent},{default:I((()=>[g(f,{ref:"navBarRef",name:"tabList",focusable:!1,class:s(e.tabNavBarClass),sid:e.tabNavBarSid,"text-key":"text",nextFocusName:e.navBarNextFocusName,horizontalFadingEdgeEnabled:e.horizontalFadingEdgeEnabled,verticalFadingEdgeEnabled:e.verticalFadingEdgeEnabled,fadingEdgeLength:e.fadingEdgeLength,onTabFocus:e.onTabChange,onTabClick:e.onTabClick,clipChldren:!1,horizontal:e.horizontal},{default:I((()=>[o(e.$slots,"tab-item")])),_:3},8,["class","sid","nextFocusName","horizontalFadingEdgeEnabled","verticalFadingEdgeEnabled","fadingEdgeLength","onTabFocus","onTabClick","horizontal"]),g(T,{nextFocusName:e.contentNextFocus,ref:"viewPager",class:s(e.tabPageClass),name:"content",loadingItemType:-1,clipChldren:!1,opacity:e.rootOpacity,focusable:!1,enableTransform:e.pageTransform,slidingEnable:e.slidingEnable,slidingMode:e.slidingMode,initTranslation:e.initTranslation,rightTranslation:e.rightTranslation,leftTranslation:e.leftTranslation,duration:e.duration,interpolatorType:e.interpolatorType,triggerTask:e.triggerTask,direction:e.horizontal?"horizontal":"vertical",blockFocusDirections:e.horizontal?e.blockViewPager:e.blockViewPagerVertical},{default:I((()=>[g(_,{keyName:"_id",endHintEnabled:e.endHintEnabled,enablePlaceholder:e.enablePlaceholder,onOnScrollStateChanged:e.onWaterfallScrollStateChanged,onOnScroll:e.onWaterfallScroll,"custom-pool":e.customPool,sid:"${sid}","custom-item-pool":e.customItemPool,onOnSectionBind:e.onWaterfallSectionBind,onOnSectionAttached:e.onWaterfallSectionAttached,onOnSectionDetached:e.onWaterfallSectionDetached,onOnItemFocused:e.onWaterfallItemFocused,onOnItemClick:e.onWaterfallItemClick},{item:I((()=>[o(e.$slots,"waterfall-item")])),"list-item":I((()=>[o(e.$slots,"waterfall-list-item")])),section:I((()=>[o(e.$slots,"waterfall-section")])),"vue-section":I((()=>[o(e.$slots,"waterfall-vue-section")])),_:3},8,["endHintEnabled","enablePlaceholder","onOnScrollStateChanged","onOnScroll","custom-pool","custom-item-pool","onOnSectionBind","onOnSectionAttached","onOnSectionDetached","onOnItemFocused","onOnItemClick"])])),_:3},8,["nextFocusName","class","opacity","enableTransform","slidingEnable","slidingMode","initTranslation","rightTranslation","leftTranslation","duration","interpolatorType","triggerTask","direction","blockFocusDirections"])])),_:3},8,["dataStrategy","hideOnSingleTab","pageSwitchDelay","resumeTaskDelay","suspension","useSuspensionBg","outOfDateTime","class","blockFocusDirections","onScrollToStart","onScrollToEnd","onLoadPage","onPageChanged","onTabEvent"])):r("v-if",!0)},Ma.__file="src/tab/index.vue";var Ba=_n({name:"qt-vue-section",setup(t,n){const o=e();return{onSectionBind:function(){},viewRef:o,...Xn(o)}}});Ba.render=function(e,n,l,c,s,r){const u=a("tv-item");return t(),i(u,{ref:"viewRef",class:"qt-ui-waterfall-vue-section",clipChildren:!1,clipPadding:!1,flexStyle:"${style}",singleton:"",onItemBind:e.onSectionBind},{default:I((()=>[o(e.$slots,"default")])),_:3},8,["onItemBind"])},Ba.__scopeId="data-v-d02af3c2",Ba.__file="src/section/index.vue";var Qa=_n({name:"qt-classified-list-view",props:{className:{type:String,default:"content_list_view"},classNavName:{type:String,default:"nav_list_view"},currentFocusIndex:{type:Number,default:0},focusScale:{type:Number,default:1.15},navType:{type:Number,default:10001},yOffest:{type:Number,default:802}},emits:["item-click","item-focused"],setup(t,n){const o=e();let a=e(1);const i=e(),l=e();let c=[],s=-1,r=-1,u=[];let d=-1;let f=-1,_=-1;return{descendantFocusability:a,content_list_view:i,nav_list_view:l,init:e=>{e.forEach(((n,o)=>{n.mask||(n.mask="http://qcloudcdn.a311.ottcn.com/channelzero_image/web_static/extend_screen/mood/mask.png"),n.icon||(n.icon="http://qcloudcdn.a311.ottcn.com/channelzero_image/web_static/extend_screen/mood/playing.png"),n.isPlaying=!1,t.currentFocusIndex==o&&(n.isPlaying=!0);let a=!1;for(let e=0;e<c.length;e++){const t=c[e];n.categoryname==t.categoryname&&(n.navIndex=e,a=!0)}a||(n.navIndex||(n.navIndex=c.length),c.push({type:n.type,decoration:{left:50},categoryname:n.categoryname,startIndex:o,isNeedFocus:!0})),u=e})),Wt((()=>{i.value?.setListData(e),l.value?.setListData(c),setTimeout((()=>{s=t.currentFocusIndex,r=e[t.currentFocusIndex].navIndex,i.value?.scrollToFocused(s),l.value?.scrollToSelected(r,!0)}),300)}))},onItemBind:()=>{},onSItemClick:e=>{n.emit("item-click",e)},onFItemClick:e=>{n.emit("item-click",e)},scrollToIndex:(e,t=!0,n=802)=>{i.value?.scrollToIndex(e,t,n)},scrollToFocused:e=>{a.value=1,setTimeout((()=>{i.value?.scrollToFocused(e)}),300)},setItemFocused:e=>{setTimeout((()=>{a.value=1}),300),i.value?.setItemFocused(e)},scrollToSelected:(e,t=!0)=>{i.value?.scrollToSelected(e,t)},setItemSelected:(e,t=!0)=>{i.value?.setItemSelected(e,!0)},onSItemFocused:e=>{clearTimeout(d),d=setTimeout((()=>{if(e.hasFocus){if(s!=e.position){if(s>-1){let e=u[s];e.isPlaying=!1,i.value?.updateItem(s,e)}let t=u[e.position];t.isPlaying=!0,i.value?.updateItem(e.position,t)}s=e.position,r!=e.item.navIndex&&(r=e.item.navIndex,l.value?.scrollToSelected(e.item.navIndex,!0)),n.emit("item-focused",e)}else r=e.item.navIndex}),300)},onFItemFocused:e=>{clearTimeout(f),clearTimeout(_),e.hasFocus&&r!=e.position&&(a.value=2,r=e.position,u[e.item.startIndex].isNeedFocus?(i.value?.scrollToIndex(e.item.startIndex,!0,t.yOffest),_=setTimeout((()=>{i.value?.setItemSelected(e.item.startIndex,!0),f=setTimeout((()=>{a.value=1}),200)}),400)):(i.value?.scrollToIndex(e.item.startIndex+1,!0,t.yOffest),_=setTimeout((()=>{i.value?.setItemSelected(e.item.startIndex+1,!0),f=setTimeout((()=>{a.value=1}),200)}),400)))},updateItem:(e,t)=>{u[e]=t,u.forEach(((e,t)=>{e.mask||(e.mask="http://qcloudcdn.a311.ottcn.com/channelzero_image/web_static/extend_screen/mood/mask.png"),e.icon||(e.icon="http://qcloudcdn.a311.ottcn.com/channelzero_image/web_static/extend_screen/mood/playing.png");for(let t=0;t<c.length;t++){const n=c[t];e.categoryname==n.categoryname&&(e.navIndex=t)}})),i.value?.updateItem(e,u[e])},viewRef:o,...Xn(o)}}});const Ga={focusable:!1,clipChildren:!1,ref:"viewRef"},$a=["focusScale"],Va=m("img",{class:"coverV",src:"${coverV}",focusable:!1,postDelay:300},null,-1),Ya=m("img",{src:"${mask}",class:"titMask",focusable:!1,postDelay:300,showIf:"${isPlaying}"},null,-1),Wa={focusable:!1,class:"clv_item_text_box",showIf:"${isPlaying}"},qa={class:"playMark",focusable:!1},za=["type"],Ha=m("div",{class:"line",focusable:!1,showOnState:"selected",duplicateParentState:!0},null,-1),ja=m("div",{duplicateParentState:!0,class:"nav_item_text_focused",showOnState:"focused",focusable:!1,gradientBackground:{colors:["#FF2F7CEB","#FF1163D8"],cornerRadius:40}},null,-1),Ka={class:"nav_item_text",focusable:!1,duplicateParentState:!0};Qa.render=function(e,i,l,u,d,f){const _=a("play-mark"),T=a("text-view"),p=a("qt-list-view");return t(),n("div",Ga,[g(p,{class:s(e.className),ref:"content_list_view",clipChildren:!1,clipPadding:!1,onItemClick:e.onSItemClick,horizontal:"",blockFocusDirections:["left","right"],descendantFocusability:e.descendantFocusability,onItemFocused:e.onSItemFocused},{default:I((()=>[m("div",{type:10001,name:"clv_item",class:"clv_item",focusable:!0,enableFocusBorder:!0,clipChildren:!1,eventClick:"",eventFocus:"",focusScale:e.focusScale},[Va,Ya,m("div",Wa,[m("div",qa,[g(_,{style:c([{width:"28px",height:"20px"},{"margin-left":"16px"}]),markColor:"#ffffff",gap:-1,focusable:!1})]),g(T,{focusable:!1,ellipsizeMode:2,fontSize:30,gravity:"centerVertical",lines:1,maxLines:1,class:"clv_item_text",text:"${assetTitle}",paddingRect:[6,0,0,0]})])],8,$a),o(e.$slots,"item")])),_:3},8,["class","onItemClick","descendantFocusability","onItemFocused"]),r(" listview first nav "),g(p,{class:s(e.classNavName),ref:"nav_list_view",clipChildren:!1,clipPadding:!1,onItemClick:e.onFItemClick,horizontal:"",blockFocusDirections:["left","right"],onItemFocused:e.onFItemFocused},{default:I((()=>[m("div",{type:e.navType,name:"nav_item",class:"nav_item",focusable:!0,enableFocusBorder:!1,focusScale:"1",eventClick:"",eventFocus:"",clipChildren:!1},[Ha,ja,m("div",Ka,[g(T,{focusable:!1,ellipsizeMode:2,duplicateParentState:!0,fontSize:44,gravity:"center",lines:1,class:"text_selected",text:"${categoryname}",showOnState:["selected"]}),g(T,{focusable:!1,ellipsizeMode:2,duplicateParentState:!0,fontSize:44,gravity:"center",lines:1,maxLines:1,class:"text",text:"${categoryname}",showOnState:"focused"}),g(T,{focusable:!1,ellipsizeMode:2,duplicateParentState:!0,fontSize:44,gravity:"center",lines:1,class:"text",text:"${categoryname}",showOnState:["normal"]})])],8,za),o(e.$slots,"navItem")])),_:3},8,["class","onItemClick","onItemFocused"])],512)},Qa.__file="src/classified-list-view/index.vue";var Ja=l({name:"media-series-number-item",props:{isVip:{type:Boolean,default:!1}}});const Xa={class:"number-item-container",focusable:!0,focusScale:1},Za={class:"number-item-text-root-css",duplicateParentState:!0},ei={style:{position:"absolute","flex-direction":"row","justify-content":"center","align-items":"center",width:"160px",height:"80px","background-color":"transparent"},showOnState:"selected",duplicateParentState:!0},ti={class:"media-series-number-item-vip-root",showIf:"${vip.enable}",gradientBackground:{colors:["#FFB67827","#FFDBAF5C"],cornerRadius:4,orientation:6}};Ja.render=function(e,o,i,l,c,s){const u=a("play-mark"),d=a("text-view");return t(),n("div",Xa,[r(" 文字"),m("div",Za,[m("div",ei,[g(u,{duplicateParentState:!0,flexStyle:"${normalMarkStyle}",style:{width:"24px",height:"25px",position:"absolute",left:"20px"},markColor:"#FF4E46"}),g(u,{duplicateParentState:!0,flexStyle:"${vipMarkStyle}",style:{width:"24px",height:"25px",position:"absolute",left:"20px"},markColor:"#FFD97C"})]),g(d,{duplicateParentState:!0,fontSize:36,gravity:"center",autoWidth:"",lines:1,flexStyle:"${normalTitleStyle}",class:"number-item-text-css",text:"${title}"}),g(d,{duplicateParentState:!0,fontSize:36,gravity:"center",flexStyle:"${vipTitleStyle}",autoWidth:"",class:"number-item-text-vip-css",lines:1,text:"${title}"})]),r(" vip角标 "),m("div",ti,[g(d,{duplicateParentState:!0,class:"media-series-number-item-vip-text",fontSize:20,gravity:"center",text:"${vip.text}"})])])},Ja.__scopeId="data-v-4afb8987",Ja.__file="src/series/item/media-series-number-item.vue";var ni=l({name:"media-series-text-item",props:{isVip:{type:Boolean,default:!1}}});const oi={class:"text-item-container",focusable:!0,focusScale:1},ai={class:"text-item-container-css",style:{position:"absolute","align-items":"center","background-color":"transparent"},duplicateParentState:!0},ii={style:{position:"absolute","flex-direction":"row","justify-content":"center","align-items":"center",width:"490px",height:"100px","background-color":"transparent"},showOnState:"selected",duplicateParentState:!0},li={class:"media-series-text-item-vip-root",showIf:"${vip.enable}",gradientBackground:{colors:["#FFB67827","#FFDBAF5C"],cornerRadius:4,orientation:6}};ni.render=function(e,o,i,l,c,s){const r=a("play-mark"),u=a("text-view");return t(),n("div",oi,[m("div",ai,[m("div",ii,[g(r,{duplicateParentState:!0,flexStyle:"${normalMarkStyle}",style:{width:"24px",height:"25px",position:"absolute",left:"20px","margin-right":"10px"},markColor:"#FF4E46"}),g(r,{duplicateParentState:!0,flexStyle:"${vipMarkStyle}",style:{width:"24px",height:"25px",position:"absolute",left:"20px","margin-right":"10px"},markColor:"#FFD97C"})]),g(u,{duplicateParentState:!0,maxLines:1,ellipsizeMode:2,flexStyle:"${normalTitleStyle}",fontSize:30,class:"text-item-text",gravity:"centerVertical",text:"${title}"}),g(u,{duplicateParentState:!0,maxLines:1,ellipsizeMode:2,flexStyle:"${vipTitleStyle}",fontSize:30,class:"text-item-text-vip",gravity:"centerVertical",text:"${title}"})]),m("div",li,[g(u,{duplicateParentState:!0,class:"media-series-text-item-vip-text",fontSize:20,gravity:"center",text:"${vip.text}"})])])},ni.__scopeId="data-v-4859f623",ni.__file="src/series/item/media-series-text-item.vue";var ci,si,ri=l({name:"media-series",props:{customItem:{type:Boolean,default:!1},initParam:{type:Object,default:()=>({})},height:{type:Number,default:230},scrollParam:{type:Object,default:()=>({})},groupParam:{type:Object,default:()=>({})},commonParam:{type:Object,default:()=>({})}},emits:["load-data","item-click","item-focused","group-item-focused"],setup(t,n){const o=e();let a=e(!1);const i=N();_((()=>{a.value=!t.customItem}));return{selectSeries:o,showOld:a,onLoadData:e=>{n.emit("load-data",e)},setPageData:(e,t)=>{o.value?.setPageData(e,t)},setInitData:(e,t)=>{o.value?o.value?.setInitData(e,t):Wt((()=>{o.value&&o.value?.setInitData(e,t)}))},onItemClick:e=>{n.emit("item-click",e)},onItemFocused:e=>{n.emit("item-focused",e)},onGroupItemFocused:e=>{n.emit("group-item-focused",e)},scrollTo:e=>{o.value?.scrollTo(e)},scrollToWithOffset:(e,t,n)=>{o.value?.scrollToWithOffset(e,t,n)},requestFocus:e=>{o.value?.requestFocus(e)},setSelected:e=>{Wt((()=>{i.isLoggable(L.DEBUG)&&i.d("media-series","--------setSelected-------\x3e>>>",e),o.value?.setSelected(e)}))},setup:()=>{o.value?.setup()},setGroupSelected:e=>{o.value?.setGroupSelected(e)},release:()=>{o.value?.release()}}}});function ui(e,t,n,o){const a=function(e,t,n,o){switch(e){case ci.QT_MEDIA_SERIES_TYPE_LEFT_RIGHT:break;case ci.QT_MEDIA_SERIES_TYPE_NUMBER:return 80;case ci.QT_MEDIA_SERIES_TYPE_TEXT:return 100;case ci.QT_MEDIA_SERIES_TYPE_TOP_DOWN:}return-1}(e);switch(e){case ci.QT_MEDIA_SERIES_TYPE_TOP_DOWN:case ci.QT_MEDIA_SERIES_TYPE_TEXT:return{contentWidth:1740,itemGap:36,initPosition:o.initPosition,contentHeight:a};case ci.QT_MEDIA_SERIES_TYPE_NUMBER:return{contentWidth:1740,itemGap:15.6,initPosition:o.initPosition,contentHeight:a};case ci.QT_MEDIA_SERIES_TYPE_LEFT_RIGHT:return{}}}ri.render=function(e,n,l,s,u,d){const f=a("select-series"),_=a("large-list");return e.customItem?(t(),i(f,{key:0,ref:"selectSeries",clipChildren:!1,scrollParam:e.scrollParam,groupParam:e.groupParam,commonParam:e.commonParam,display:!0,onLoadData:e.onLoadData,onItemClick:e.onItemClick,onItemFocused:e.onItemFocused,onGroupItemFocused:e.onGroupItemFocused,style:c({width:1920,height:e.height})},{default:I((()=>[o(e.$slots,"default")])),_:3},8,["scrollParam","groupParam","commonParam","onLoadData","onItemClick","onItemFocused","onGroupItemFocused","style"])):e.showOld?(t(),i(_,{key:1,ref:"selectSeries",clipChildren:!1,display:!0,initParam:e.initParam,onLoadData:e.onLoadData,onItemClick:e.onItemClick,onItemFocused:e.onItemFocused,onGroupItemFocused:e.onGroupItemFocused,style:c({width:1920,height:e.height})},null,8,["initParam","onLoadData","onItemClick","onItemFocused","onGroupItemFocused","style"])):r("v-if",!0)},ri.__file="src/series/component/media-series.vue",function(e){e.QT_MEDIA_SERIES_TYPE_LEFT_RIGHT="leftRight",e.QT_MEDIA_SERIES_TYPE_TOP_DOWN="topDown",e.QT_MEDIA_SERIES_TYPE_TEXT="text",e.QT_MEDIA_SERIES_TYPE_NUMBER="number",e.QT_MEDIA_SERIES_TYPE_CUSTOM="custom"}(ci||(ci={})),function(e){e[e.QT_MEDIA_SERIES_STYLE_TYPE_DEFAULT=0]="QT_MEDIA_SERIES_STYLE_TYPE_DEFAULT",e[e.QT_MEDIA_SERIES_STYLE_TYPE_VIP=1]="QT_MEDIA_SERIES_STYLE_TYPE_VIP"}(si||(si={}));var di,fi,_i,Ti,pi=l({name:"qt-media-series",components:{"media-series-number-item":Ja,"media-series-text-item":ni,"media-series":ri},emits:["load-data","item-click","item-focused","group-item-focused"],props:{itemHeight:{type:Number,default:0}},setup(t,n){const o=e(),{clearFocus:a,requestFocusDirectly:i,setVisibility:l}=Xn(o),c=e(!1),s=N(),r=e(),u=e(),d=e(),f=e(),_=e(0),T=e(!1),p=e(ci.QT_MEDIA_SERIES_TYPE_NUMBER);let I;return{isVip:T,seriesType:p,params:r,commonParams:u,scrollParams:d,groupParams:f,mediaSeriesRef:o,show:c,height:_,onLoadData:e=>{n.emit("load-data",e)},setInitData:(e,n,a,i)=>{p.value=e,I=i,ci.QT_MEDIA_SERIES_TYPE_LEFT_RIGHT!==e?(u.value=ui(e,0,0,i),d.value=function(e,t,n,o){if(e===ci.QT_MEDIA_SERIES_TYPE_NUMBER)return{scrollType:1,pageDisplayCount:10,paddingForPageLeft:0,paddingForPageRight:0}}(e),f.value=function(e,t,n,o){const a={};if(t.enable){switch(e){case ci.QT_MEDIA_SERIES_TYPE_NUMBER:a.groupSize=10;break;case ci.QT_MEDIA_SERIES_TYPE_TEXT:a.groupSize=3;break;default:a.groupSize=t.size}n==si.QT_MEDIA_SERIES_STYLE_TYPE_VIP&&(a.textColor={normal:"#80FFFFFF",focused:"#603314",selected:"#FFD97C"},a.focusBackground={orientation:"LEFT_RIGHT",cornerRadius:[40,40,40,40],color:["#FFE398","#EEB364"],padding:[34,6]},a.mark={color:"#FFD97C"})}return a}(e,n,a),ci.QT_MEDIA_SERIES_TYPE_CUSTOM==e?_.value=t.itemHeight+(n.enable?70:0):_.value=function(e,t,n,o){switch(e){case ci.QT_MEDIA_SERIES_TYPE_LEFT_RIGHT:break;case ci.QT_MEDIA_SERIES_TYPE_NUMBER:return 80+(t.enable?70:0);case ci.QT_MEDIA_SERIES_TYPE_TEXT:return 100+(t.enable?70:0);case ci.QT_MEDIA_SERIES_TYPE_TOP_DOWN:}return-1}(e,n),Wt((()=>{o.value&&o.value?.setInitData(i.totalCount,i.pageSize)})),s.isLoggable(L.DEBUG)&&s.d("MediaSeries","----setInitData----\x3e>>>",_.value)):(r.value=function(e,t,n,o){const a=n==si.QT_MEDIA_SERIES_STYLE_TYPE_VIP;let i={initPosition:o.initPosition,contentWidth:1740,contentHeight:160,itemGap:36,enableGroup:t.enable,groupSize:t.size,groupHeight:46,groupTopMargin:24,group:null,template:null};return i.template={titleSize:28,floatTitleSize:20,isFree:!a,type:"leftRight",width:560,height:160,focusScale:1.1},i.template.extra={imgWidth:268,imgHeight:160,textColor:{normal:"#80FFFFFF",focused:a?"#FFD97C":"#ffffffff",selected:a?"#FFD97C":"#ffffffff"},cornerBgColor:{orientation:"LEFT_RIGHT",cornerRadius:[4,4,4,4],color:["#B67827","#DBAF5C"]}},i.group={itemWidth:85,itemHeight:46,itemGap:50,textSize:30,textColor:{normal:"#80FFFFFF",focused:a?"#603314":"#000000",selected:a?"#FFD97C":"#F5F5F5"},focusBackground:{orientation:"LEFT_RIGHT",cornerRadius:[40,40,40,40],color:[a?"#FFE398":"#F5F5F5",a?"#EEB364":"#F5F5F5"],padding:[34,6]},mark:{color:a?"#FFD97C":"#FFFFFF"}},i}(0,n,a,i),_.value=function(e,t,n,o,a){return t.enable?a.value.template.height+a.value.groupHeight+a.value.groupTopMargin:a.value.template.height}(0,n,0,0,r),r.value.totalCount=i.totalCount,r.value.pageSize=i.pageSize),c.value=!0},setPageData:(e,t)=>{let n=t;p.value==ci.QT_MEDIA_SERIES_TYPE_NUMBER?n=function(e,t,n){const o=[];if(n.length>0){const a={width:160,height:80},i={width:0,height:0},l={width:24,height:25};n.forEach(((n,c)=>{let s=e*t+c+1,r=s>9?""+s:"0"+s;const u={id:n.id,title:r,vip:n.vip};n.vip&&n.vip.enable?(u.vipTitleStyle=a,u.vipMarkStyle=l,u.normalTitleStyle=i,u.normalMarkStyle=i):(u.vipTitleStyle=i,u.vipMarkStyle=i,u.normalTitleStyle=a,u.normalMarkStyle=l),o.push(u)}))}return o}(e,I.pageSize,t):p.value==ci.QT_MEDIA_SERIES_TYPE_TEXT?n=function(e,t,n){if(n.length>0){const e={width:373,height:100},t={width:0,height:0},o={width:24,height:25};n.forEach(((n,a)=>{n.vip&&n.vip.enable?(n.vipTitleStyle=e,n.vipMarkStyle=o,n.normalTitleStyle=t,n.normalMarkStyle=t):(n.vipTitleStyle=t,n.vipMarkStyle=t,n.normalTitleStyle=e,n.normalMarkStyle=o)}))}return n}(0,I.pageSize,t):(p.value==ci.QT_MEDIA_SERIES_TYPE_LEFT_RIGHT||p.value==ci.QT_MEDIA_SERIES_TYPE_TOP_DOWN)&&(n=function(e,t,n){return n}(0,I.pageSize,t)),o.value?.setPageData(e,n)},onItemClick:e=>{n.emit("item-click",e)},onItemFocused:e=>{n.emit("item-focused",e)},onGroupItemFocused:e=>{n.emit("group-item-focused",e)},scrollTo:e=>{o.value?.scrollTo(e)},scrollToWithOffset:(e,t)=>{o.value?.scrollToWithOffset(e,t,!1)},requestFocus:e=>{o.value?.requestFocus(e)},setSelected:e=>{o.value?.setSelected(e)},setup:()=>{o.value?.setup()},setGroupSelected:e=>{o.value?.setGroupSelected(e)},release:()=>{o.value?.release(),c.value=!1},blockRootFocus:()=>{o.value&&P.callUIFunction(o.value,"blockRootFocus",[])},unBlockRootFocus:()=>{o.value&&P.callUIFunction(o.value,"unBlockRootFocus",[])},clearFocus:a,requestFocusDirectly:i,setVisibility:l}}});pi.render=function(e,n,l,c,s,u){const d=a("media-series-number-item"),f=a("media-series-text-item"),_=a("media-series");return e.show?(t(),i(_,{key:0,ref:"mediaSeriesRef",clipChildren:!1,"init-param":e.params,height:e.height,"custom-item":"leftRight"!==e.seriesType,"scroll-param":e.scrollParams,"group-param":e.groupParams,"common-param":e.commonParams,onLoadData:e.onLoadData,onItemClick:e.onItemClick,onItemFocused:e.onItemFocused,onGroupItemFocused:e.onGroupItemFocused},{default:I((()=>["number"===e.seriesType?(t(),i(d,{key:0,"is-vip":e.isVip},null,8,["is-vip"])):"text"===e.seriesType?(t(),i(f,{key:1,"is-vip":e.isVip},null,8,["is-vip"])):"custom"===e.seriesType?o(e.$slots,"default",{key:2}):r("v-if",!0)])),_:3},8,["init-param","height","custom-item","scroll-param","group-param","common-param","onLoadData","onItemClick","onItemFocused","onGroupItemFocused"])):r("v-if",!0)},pi.__file="src/series/index.vue",function(e){e[e.QT_ACCELERATE_DECELERATE_INTERPOLATOR=1]="QT_ACCELERATE_DECELERATE_INTERPOLATOR",e[e.QT_ACCELERATE_INTERPOLATOR=2]="QT_ACCELERATE_INTERPOLATOR",e[e.QT_ANTICIPATE_INTERPOLATOR=3]="QT_ANTICIPATE_INTERPOLATOR",e[e.QT_ANTICIPATE_OVERSHOOT_INTERPOLATOR=4]="QT_ANTICIPATE_OVERSHOOT_INTERPOLATOR",e[e.QT_BOUNCE_INTERPOLATOR=5]="QT_BOUNCE_INTERPOLATOR",e[e.QT_CYCLE_INTERPOLATOR=6]="QT_CYCLE_INTERPOLATOR",e[e.QT_DECELERATE_INTERPOLATOR=7]="QT_DECELERATE_INTERPOLATOR",e[e.QT_LINEAR_INTERPOLATOR=8]="QT_LINEAR_INTERPOLATOR",e[e.QT_OVERSHOOT_INTERPOLATOR=9]="QT_OVERSHOOT_INTERPOLATOR",e[e.QT_FAST_OUT_LINEAR_IN_INTERPOLATOR=10]="QT_FAST_OUT_LINEAR_IN_INTERPOLATOR",e[e.QT_FAST_OUT_SLOW_IN_INTERPOLATOR=11]="QT_FAST_OUT_SLOW_IN_INTERPOLATOR",e[e.QT_PATH_INTERPOLATOR=12]="QT_PATH_INTERPOLATOR"}(di||(di={})),function(e){e.QT_ANIMATION_PROPERTY_NAME_ALPHA="alpha",e.QT_ANIMATION_PROPERTY_NAME_ROTATION="rotation",e.QT_ANIMATION_PROPERTY_NAME_ROTATION_X="rotationX",e.QT_ANIMATION_PROPERTY_NAME_ROTATION_Y="rotationY",e.QT_ANIMATION_PROPERTY_NAME_ROTATION_Z="rotationZ",e.QT_ANIMATION_PROPERTY_NAME_SCALE_X="scaleX",e.QT_ANIMATION_PROPERTY_NAME_SCALE_Y="scaleY",e.QT_ANIMATION_PROPERTY_NAME_SCALE_Z="scaleZ",e.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_X="translationX",e.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Y="translationY",e.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Z="translationZ"}(fi||(fi={})),function(e){e[e.QT_ANIMATION_REPEAT_MODE_RESTART=1]="QT_ANIMATION_REPEAT_MODE_RESTART",e[e.QT_ANIMATION_REPEAT_MODE_REVERSE=2]="QT_ANIMATION_REPEAT_MODE_REVERSE",e[e.QT_ANIMATION_REPEAT_MODE_INFINITE=-1]="QT_ANIMATION_REPEAT_MODE_INFINITE"}(_i||(_i={})),function(e){e.QT_ANIMATION_VALUE_TYPE_INT="ofInt",e.QT_ANIMATION_VALUE_TYPE_FLOAT="ofFloat"}(Ti||(Ti={}));const Ii="QTCollapse";var gi,mi,vi,hi,Si,Fi,Ei,bi,Ai,yi,Ri,Pi,Ni,Li,Ui,Di,Oi=_n({name:"qt-collapse",emits:["onCollapseItemExpand"],setup(t,n){const o=N(),a=e();let i,l,c=e();const s=e(0),r=e(0);let u=200;const d={};const f={};function _(e){return f[`${e}`]}function T(e,t){const a=i[e],l=a.__y,c=r.value-a.height-l;o.isLoggable(L.DEBUG)&&o.d(Ii,"-------expandItem-------\x3e>>>",e,c,l);let s=0;for(let n=i.length-1;n>=0;n--){const a=i[n];a.height;const l=a.collapseHeight;n<e&&(s+=l);try{const t=I(n);t&&t.onCollapseItemExpand(n==e)}catch(e){}const r=_(n);r&&(o.isLoggable(L.DEBUG)&&o.d(Ii,"-------expandItem----translationY---\x3e>>>",a,n,a.__translationY,c+s),p(n+"",a,r,a.__translationY,c+s,t))}try{n.emit("onCollapseItemExpand",e,a)}catch(e){}}function p(e,t,n,o,a,i){n.objectAnimator2(e,Ti.QT_ANIMATION_VALUE_TYPE_FLOAT,fi.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Y,o,a,i,-1,0,!1,!1),n.startAnimator(e),t.__translationY=a}function I(e){return d[`${e}`]}return{collapseItemComponentList:c,initComponentRef:function(e,t,n){e&&(d[`${n}`]=e)},initAnimComponentRef:function(e,t,n){e&&(f[`${n}`]=e)},init:function(e){c.value=n.slots.default&&n.slots.default(),l=e.defaultIndex??0,i=e.itemList,s.value=e.width,r.value=e.height,u=e.expandDuration??200,l<0&&(l=0),l>=i.length&&(l=i.length-1),function(){if(!i||i.length<=0)return;const e=i.length;let t=0;for(let n=e-1;n>=0;n--){const e=i[n];t+=e.height,e.__y=r.value-t,e.__translationY=0}o.isLoggable(L.DEBUG)&&o.d(Ii,"----initCollapseItem----\x3e>>>",i)}(),E((()=>{T(l,0)}))},getItem:I,expandItem:function(e){T(e,u)},collapse:function(){const e=i.length,t=i[e-1],n=t.__y,o=r.value-t.height-n;let a=0;for(let t=e-1;t>=0;t--){const e=i[t];a+=e.collapseHeight;try{const e=I(t);e&&e.onCollapseItemExpand(!1)}catch(e){}const n=_(t);n&&p(t+"",e,n,e.__translationY,o+a,0)}},expand:function(){for(let e=i.length-1;e>=0;e--){const t=i[e];try{const t=I(e);t&&t.onCollapseItemExpand(!0)}catch(e){}const n=_(e);n&&p(e+"",t,n,t.__translationY,0,0)}},collapseWidth:s,collapseHeight:r,viewRef:a,...Xn(a)}}});function xi(e,t,n=!0){let o=e.length;n?e.map(((e,n)=>{n!==o-1&&(e.decoration={bottom:t})})):e.map(((e,n)=>{n!==o-1&&(e.decoration={right:t})}))}Oi.render=function(e,o,l,s,r,u){const d=a("qt-animation");return t(),n("div",{class:"qt-collapse-root-css",ref:"viewRef",clipChildren:!1,clipPadding:!1,style:c({width:e.collapseWidth,height:e.collapseHeight})},[(t(!0),n(b,null,A(e.collapseItemComponentList,((n,o)=>(t(),i(d,{ref_for:!0,ref:t=>e.initAnimComponentRef(t,n,o),class:"qt-collapse-item-css"},{default:I((()=>[(t(),i(y(n),{key:n.name,class:"qt-collapse-item-css",ref_for:!0,ref:t=>e.initComponentRef(t,n,o)}))])),_:2},1536)))),256))],4)},Oi.__scopeId="data-v-4feca809",Oi.__file="src/collapse/index.vue",function(e){e.VISIBLE="visible",e.INVISIBLE="invisible",e.GONE="gone"}(gi||(gi={})),function(e){e.QT_DIRECTION_UP="up",e.QT_DIRECTION_DOWN="down",e.QT_DIRECTION_RIGHT="right",e.QT_DIRECTION_LEFT="left"}(mi||(mi={})),function(e){e[e.SCROLL_STATE_IDLE=0]="SCROLL_STATE_IDLE",e[e.SCROLL_STATE_DRAGGING=1]="SCROLL_STATE_DRAGGING",e[e.SCROLL_STATE_SETTLING=2]="SCROLL_STATE_SETTLING"}(vi||(vi={})),function(e){e[e.QT_NAV_BAR_ITEM_TYPE_TEXT=2e4]="QT_NAV_BAR_ITEM_TYPE_TEXT"}(hi||(hi={})),function(e){e[e.QT_TAB_ITEM_TYPE_DEFAULT=2e4]="QT_TAB_ITEM_TYPE_DEFAULT"}(Si||(Si={})),function(e){e[e.QT_SEEK_BAR_MODE_SINGLE=1]="QT_SEEK_BAR_MODE_SINGLE",e[e.QT_SEEK_BAR_MODE_RANGE=2]="QT_SEEK_BAR_MODE_RANGE"}(Fi||(Fi={})),function(e){e[e.QT_SEEK_BAR_GRAVITY_TOP=0]="QT_SEEK_BAR_GRAVITY_TOP",e[e.QT_SEEK_BAR_GRAVITY_BOTTOM=1]="QT_SEEK_BAR_GRAVITY_BOTTOM",e[e.QT_SEEK_BAR_GRAVITY_CENTER=2]="QT_SEEK_BAR_GRAVITY_CENTER"}(Ei||(Ei={})),function(e){e[e.QT_SEEK_BAR_INDICATION_MODE_SHOW_WHEN_TOUCH=0]="QT_SEEK_BAR_INDICATION_MODE_SHOW_WHEN_TOUCH",e[e.QT_SEEK_BAR_INDICATION_MODE_ALWAYS_HIDE=1]="QT_SEEK_BAR_INDICATION_MODE_ALWAYS_HIDE",e[e.QT_SEEK_BAR_INDICATION_MODE_ALWAYS_SHOW_AFTER_TOUCH=2]="QT_SEEK_BAR_INDICATION_MODE_ALWAYS_SHOW_AFTER_TOUCH",e[e.QT_SEEK_BAR_INDICATION_MODE_ALWAYS_SHOW=3]="QT_SEEK_BAR_INDICATION_MODE_ALWAYS_SHOW"}(bi||(bi={})),function(e){e[e.QT_SEEK_BAR_TICK_MARK_MODE_NUMBER=0]="QT_SEEK_BAR_TICK_MARK_MODE_NUMBER",e[e.QT_SEEK_BAR_TICK_MARK_MODE_OTHER=1]="QT_SEEK_BAR_TICK_MARK_MODE_OTHER"}(Ai||(Ai={})),function(e){e[e.QT_SEEK_BAR_TICK_MARK_GRAVITY_LEFT=0]="QT_SEEK_BAR_TICK_MARK_GRAVITY_LEFT",e[e.QT_SEEK_BAR_TICK_MARK_GRAVITY_CENTER=1]="QT_SEEK_BAR_TICK_MARK_GRAVITY_CENTER",e[e.QT_SEEK_BAR_TICK_MARK_GRAVITY_RIGHT=2]="QT_SEEK_BAR_TICK_MARK_GRAVITY_RIGHT"}(yi||(yi={})),function(e){e[e.QT_SEEK_BAR_TICK_MARK_LAYOUT_GRAVITY_TOP=0]="QT_SEEK_BAR_TICK_MARK_LAYOUT_GRAVITY_TOP",e[e.QT_SEEK_BAR_TICK_MARK_LAYOUT_GRAVITY_BOTTOM=1]="QT_SEEK_BAR_TICK_MARK_LAYOUT_GRAVITY_BOTTOM"}(Ri||(Ri={})),function(e){e[e.QT_LOTTIE_REPEAT_MODE_RESTART=1]="QT_LOTTIE_REPEAT_MODE_RESTART",e[e.QT_LOTTIE_REPEAT_MODE_REVERSE=2]="QT_LOTTIE_REPEAT_MODE_REVERSE",e[e.QT_LOTTIE_REPEAT_MODE_INFINITE=-1]="QT_LOTTIE_REPEAT_MODE_INFINITE"}(Pi||(Pi={})),function(e){e[e.QT_LOTTIE_ASYNC_UPDATE_AUTOMATIC=0]="QT_LOTTIE_ASYNC_UPDATE_AUTOMATIC",e[e.QT_LOTTIE_ASYNC_UPDATE_ENABLED=1]="QT_LOTTIE_ASYNC_UPDATE_ENABLED",e[e.QT_LOTTIE_ASYNC_UPDATE_DISABLED=2]="QT_LOTTIE_ASYNC_UPDATE_DISABLED"}(Ni||(Ni={})),function(e){e[e.QT_GRADIENT_ORIENTATION_TOP_BOTTOM=0]="QT_GRADIENT_ORIENTATION_TOP_BOTTOM",e[e.QT_GRADIENT_ORIENTATION_TR_BL=1]="QT_GRADIENT_ORIENTATION_TR_BL",e[e.QT_GRADIENT_ORIENTATION_RIGHT_LEFT=2]="QT_GRADIENT_ORIENTATION_RIGHT_LEFT",e[e.QT_GRADIENT_ORIENTATION_BR_TL=3]="QT_GRADIENT_ORIENTATION_BR_TL",e[e.QT_GRADIENT_ORIENTATION_BOTTOM_TOP=4]="QT_GRADIENT_ORIENTATION_BOTTOM_TOP",e[e.QT_GRADIENT_ORIENTATION_BL_TR=5]="QT_GRADIENT_ORIENTATION_BL_TR",e[e.QT_GRADIENT_ORIENTATION_LEFT_RIGHT=6]="QT_GRADIENT_ORIENTATION_LEFT_RIGHT",e[e.QT_GRADIENT_ORIENTATION_TL_BR=7]="QT_GRADIENT_ORIENTATION_TL_BR"}(Li||(Li={})),function(e){e[e.QT_GRADIENT_SHAPE_RECTANGLE=0]="QT_GRADIENT_SHAPE_RECTANGLE",e[e.QT_GRADIENT_SHAPE_OVAL=1]="QT_GRADIENT_SHAPE_OVAL",e[e.QT_GRADIENT_SHAPE_LINE=2]="QT_GRADIENT_SHAPE_LINE",e[e.QT_GRADIENT_SHAPE_RING=3]="QT_GRADIENT_SHAPE_RING"}(Ui||(Ui={})),function(e){e[e.QT_GRADIENT_TYPE_LINEAR_GRADIENT=0]="QT_GRADIENT_TYPE_LINEAR_GRADIENT",e[e.QT_GRADIENT_TYPE_RADIAL_GRADIENT=1]="QT_GRADIENT_TYPE_RADIAL_GRADIENT",e[e.QT_GRADIENT_TYPE_SWEEP_GRADIENT=2]="QT_GRADIENT_TYPE_SWEEP_GRADIENT"}(Di||(Di={}));const Ci=[Zn,to,no,ao,lo,so,Vo,Ko,oa,Ca,Ma,Qa,Ba,pi,Oi],ki=t=>{t.component("qt-loading-view",{setup(t,n){const o=e();return n.expose({viewRef:o,...Xn(o)}),()=>R("LoadingViewComponent",{ref:o})}}),function(t){const n=l({props:{loadMore:{type:Function,default:function(){return[1,1]}},openPage:{type:Boolean,default:!1},preloadNo:{type:Number,default:0},defaultFocus:{type:Number,default:-1},loadingDecoration:{type:Object,default:()=>({bottom:18,right:30,left:30})},listData:{type:Array,required:!1}},emits:["item-click","scroll","item-focused","item-attached","item-detached","item-bind","item-unbind","load-more","scroll-state-changed","focus-search-failed","scrollYGreaterReference","scrollYLesserReference"],setup(t,n){const o=e();let a=0,i=!1,l=$o(),c=[],s=null;const r=()=>t.listData||l.value;_((()=>{r().length&&o.value&&(c=r(),P.callUIFunction(o.value,"setListData",f(r())))}));let u=0;const d=[{_id:"",type:1002,decoration:t.loadingDecoration}],I=()=>{t.openPage&&0===u&&c.length>0&&!i&&(P.callUIFunction(o.value,"addListData",d),u=c.length)},g=()=>{u>0&&(P.callUIFunction(o.value,"deleteItemRange",[u,1]),u=0)};let m=null;const v=()=>{i=!1,a=0},h=()=>{!i&&t.loadMore&&(a++,t.loadMore(a))};T((()=>{t.openPage&&!t.listData&&(v(),h())}));const S=Co(r(),{resetValue(e){c=e},init(e){o.value&&(P.callUIFunction(o.value,"setListData",e),g(),I(),v(),t.listData&&(a=1),t.defaultFocus>-1&&e.length&&t.defaultFocus<e.length&&(clearTimeout(s),s=setTimeout((()=>{b(t.defaultFocus)}),500)))},add(e){P.callUIFunction(o.value,"addListData",e),g(),I()},update(e,t,n){t.forEach(((e,t)=>{const n=Array.isArray(t)?Number(t[0]):Number(t);P.callUIFunction(o.value,"updateItem",[n,e])}))},insert(e,t){P.callUIFunction(o.value,"insertItemRange",[e,Array.from(t.values())]),g(),I()},delete(e,t){P.callUIFunction(o.value,"deleteItemRange",[e,t])},clear(){P.callUIFunction(o.value,"setListData",[]),u=0}}),F=(e,t)=>{P.callUIFunction(o.value,"setSelectChildPosition",[e,t])},E=e=>{P.callUIFunction(o.value,"scrollToPosition",[e])},b=e=>{P.callUIFunction(o.value,"requestChildFocus",[e])};return p((()=>{S?.stop(),v(),clearTimeout(m),clearTimeout(s)})),n.expose({viewRef:o,init:(e,n)=>t.listData?[]:e?(l.value=e,l.value):l.value,scrollToIndex:(e,t,n)=>{P.callUIFunction(o.value,"scrollToPositionWithOffset",[e,n,t])},hasFocus:e=>{P.callUIFunction(o.value,"hasFocus",(t=>{e(t)}))},dispatchItemFunction:(e,t,n,a)=>{P.callUIFunction(o.value,"dispatchItemFunction",[e,t,n,a])},setBlockFocusDirectionsOnFail:e=>{P.callUIFunction(o.value,"setBlockFocusDirectionsOnFail",[e])},prepareForRecycle:()=>{P.callUIFunction(o.value,"prepareForRecycle",[])},setDisplay:e=>{P.callUIFunction(o.value,"setDisplay",[e])},scrollToTop:()=>{P.callUIFunction(o.value,"scrollToTop",[])},changeDisplayState:(e,t)=>{P.callUIFunction(o.value,"changeDisplayState",[e,t])},notifySaveInstance:()=>{P.callUIFunction(o.value,"notifySaveInstance",[])},notifyRestoreInstance:()=>{P.callUIFunction(o.value,"notifyRestoreInstance",[])},pausePostTask:()=>{P.callUIFunction(o.value,"pausePostTask",[])},resumePostTask:()=>{P.callUIFunction(o.value,"resumePostTask",[])},getScrollOffset:e=>{P.callUIFunction(o.value,"getScrollOffset",[],e)},scrollToPosition:E,scrollToFocused:e=>{E(e),b(e)},scrollToSelected:(e,t)=>{E(e),F(e,t)},scrollToPositionOffset:(e,t,n,a,i)=>{P.callUIFunction(o.value,"scrollToPositionWithOffset",[t,a,n])},destroy:()=>{P.callUIFunction(o.value,"destroy",[])},startScroll:(e,t,n)=>{P.callUIFunction(o.value,"startScroll",[{focusPosition:e,scrollToPosition:t,scrollOffset:n}])},setItemFocused:b,clearPostTask:()=>{P.callUIFunction(o.value,"clearAllPostTask",[])},setItemSelected:F,blockRootFocus:()=>{P.callUIFunction(o.value,"blockRootFocus",[])},unBlockRootFocus:()=>{P.callUIFunction(o.value,"unBlockRootFocus",[])},setBackgroundColor:e=>{P.callUIFunction(o.value,"setBackgroundColor",[e])},stopPage:()=>{i=!0,clearTimeout(m),m=setTimeout((()=>{i=!0,g()}),20)},setAutoFocus:function(e,t){P.callUIFunction(o.value,"setAutoFocus",[e,t])},...Xn(o)}),()=>{const e=n.slots.default&&n.slots.default();return R("FastListView",{ref:o,onItemClick:e=>{n.emit("item-click",e)},onScroll:e=>{n.emit("scroll",e)},onItemFocused:e=>{n.emit("item-focused",e)},onAttachedToWindow:e=>{n.emit("item-attached",e)},onDetachedFromWindow:e=>{n.emit("item-detached",e)},onBindItem:e=>{if(t.openPage&&!i){let n=t.preloadNo;(n<0||n>=c.length)&&(n=0),e.position==c.length-1-n&&h()}n.emit("item-bind",e)},onUnbindItem:e=>{n.emit("item-unbind",e)},onLoadMore:e=>{n.emit("load-more",e)},onScrollStateChanged:e=>{n.emit("scroll-state-changed",e)},onFocusSearchFailed:e=>{n.emit("focus-search-failed",e)},onScrollYGreaterReference:e=>{n.emit("scrollYGreaterReference",e)},onScrollYLesserReference:e=>{n.emit("scrollYLesserReference",e)}},e)}}});t.component("qt-list-view",n)}(t),function(t){const n=l({emits:["item-focused","item-attached","item-detached","item-bind","item-unbind"],setup(t,n){const o=e();return n.expose({viewRef:o,updateItem:(e,t)=>{P.callUIFunction(o.value,"updateItem",[e,t])},dispatchItemFunction:(e,t,n,a)=>{P.callUIFunction(o.value,"dispatchItemFunction",[e,t,n,a])},updateItemProps:(e,t,n)=>{P.callUIFunction(o.value,"updateItemProps",[t,e,n,!0])},batch:e=>{P.callUIFunction(o.value,"batch",[e])},...Xn(o)}),()=>{const e=n.slots.default&&n.slots.default();return R("FastListView",{ref:o,onBindItem:e=>{n.emit("item-bind",e)},onItemFocused:e=>{n.emit("item-focused",e)},onAttachedToWindow:e=>{n.emit("item-attached",e)},onDetachedFromWindow:e=>{n.emit("item-detached",e)},onItemRecycled:e=>{n.emit("item-unbind",e)}},e)}}});t.component("qt-list-item",n)}(t),function(t){const n=l({name:"WebView",emits:["onCanGoBack","onCanGoForward","onCanGoBackOrForward","onPageStarted","onPageFinished","onLoadResource","onReceivedSslError","onReceivedError","shouldOverrideUrlLoading","onJs2Vue"],setup(t,n){const o=e();_((()=>{a(!0),l(!0),u(!0),s(!0),r(!0),c(!0),p(!0),f(!0),d(!0),T(!0),i(1),I(2)}));const a=e=>{P.callUIFunction(o.value,"setJavaScriptEnabled",[e],(e=>{}))},i=e=>{P.callUIFunction(o.value,"setPluginState",[e],(e=>{}))},l=e=>{P.callUIFunction(o.value,"setJavaScriptCanOpenWindowsAutomatically",[e],(e=>{}))},c=e=>{P.callUIFunction(o.value,"setUseWideViewPort",[e],(e=>{}))},s=e=>{P.callUIFunction(o.value,"setSupportZoom",[e],(e=>{}))},r=e=>{P.callUIFunction(o.value,"setBuiltInZoomControls",[e],(e=>{}))},u=e=>{P.callUIFunction(o.value,"setAllowFileAccess",[e],(e=>{}))},d=e=>{P.callUIFunction(o.value,"setDomStorageEnabled",[e],(e=>{}))},f=e=>{P.callUIFunction(o.value,"setAppCacheEnabled",[e],(e=>{}))},T=e=>{P.callUIFunction(o.value,"setGeolocationEnabled",[e],(e=>{}))},p=e=>{P.callUIFunction(o.value,"setSupportMultipleWindows",[e],(e=>{}))},I=e=>{P.callUIFunction(o.value,"setCacheMode",[e],(e=>{}))};return n.expose({loadUrl:e=>{P.callUIFunction(o.value,"loadUrl",[e],(e=>{}))},evaluateJavascript:e=>new Promise(((t,n)=>{P.callUIFunction(o.value,"evaluateJavascript",[e],(e=>{t(e)}))})),canGoBack:()=>{P.callUIFunction(o.value,"canGoBack",[],(e=>{n.emit("onCanGoBack",e)}))},goBack:()=>{P.callUIFunction(o.value,"goBack",[],(e=>{}))},canGoForward:()=>{P.callUIFunction(o.value,"canGoForward",[],(e=>{n.emit("onCanGoForward",e)}))},goForward:()=>{P.callUIFunction(o.value,"goForward",[],(e=>{}))},canGoBackOrForward:e=>{P.callUIFunction(o.value,"canGoBackOrForward",[e],(e=>{n.emit("onCanGoBackOrForward",e)}))},goBackOrForward:e=>{P.callUIFunction(o.value,"goBackOrForward",[e],(e=>{}))},onResume:()=>{P.callUIFunction(o.value,"onResume",[],(e=>{}))},onPause:()=>{P.callUIFunction(o.value,"onPause",[],(e=>{}))},pauseTimers:()=>{P.callUIFunction(o.value,"pauseTimers",[],(e=>{}))},resumeTimers:()=>{P.callUIFunction(o.value,"resumeTimers",[],(e=>{}))},destroy:()=>{P.callUIFunction(o.value,"destroy",[],(e=>{}))},setJavaScriptEnabled:a,setPluginState:i,setJavaScriptCanOpenWindowsAutomatically:l,setUseWideViewPort:c,setLoadWithOverviewMode:e=>{P.callUIFunction(o.value,"setLoadWithOverviewMode",[e],(e=>{}))},setSupportZoom:s,setBuiltInZoomControls:r,setDisplayZoomControls:e=>{P.callUIFunction(o.value,"setDisplayZoomControls",[e],(e=>{}))},setAllowFileAccess:u,setDomStorageEnabled:d,setDatabaseEnabled:e=>{P.callUIFunction(o.value,"setDatabaseEnabled",[e],(e=>{}))},setAppCacheEnabled:f,setAppCachePath:e=>{P.callUIFunction(o.value,"setAppCachePath",[e],(e=>{}))},setMediaPlaybackRequiresUserGesture:e=>{P.callUIFunction(o.value,"setMediaPlaybackRequiresUserGesture",[e],(e=>{}))},setStandardFontFamily:e=>{P.callUIFunction(o.value,"setStandardFontFamily",[e],(e=>{}))},setFixedFontFamily:e=>{P.callUIFunction(o.value,"setFixedFontFamily",[e],(e=>{}))},setSansSerifFontFamily:e=>{P.callUIFunction(o.value,"setSansSerifFontFamily",[e],(e=>{}))},setSerifFontFamily:e=>{P.callUIFunction(o.value,"setSerifFontFamily",[e],(e=>{}))},setCursiveFontFamily:e=>{P.callUIFunction(o.value,"setCursiveFontFamily",[e],(e=>{}))},setFantasyFontFamily:e=>{P.callUIFunction(o.value,"setFantasyFontFamily",[e],(e=>{}))},setTextZoom:e=>{P.callUIFunction(o.value,"setTextZoom",[e],(e=>{}))},setMinimumFontSize:e=>{P.callUIFunction(o.value,"setMinimumFontSize",[e],(e=>{}))},setDefaultFontSize:e=>{P.callUIFunction(o.value,"setDefaultFontSize",[e],(e=>{}))},setLayoutAlgorithm:e=>{P.callUIFunction(o.value,"setLayoutAlgorithm",[e],(e=>{}))},setLoadsImagesAutomatically:e=>{P.callUIFunction(o.value,"setLoadsImagesAutomatically",[e],(e=>{}))},setDefaultTextEncodingName:e=>{P.callUIFunction(o.value,"setDefaultTextEncodingName",[e],(e=>{}))},setNeedInitialFocus:e=>{P.callUIFunction(o.value,"setNeedInitialFocus",[e],(e=>{}))},setGeolocationEnabled:T,setBlockNetworkLoads:e=>{P.callUIFunction(o.value,"setBlockNetworkLoads",[e],(e=>{}))},setSupportMultipleWindows:p,setAppCacheMaxSize:e=>{P.callUIFunction(o.value,"setAppCacheMaxSize",[e],(e=>{}))},setRenderPriority:e=>{P.callUIFunction(o.value,"setRenderPriority",[e],(e=>{}))},setCacheMode:I,setAllowContentAccess:e=>{P.callUIFunction(o.value,"setAllowContentAccess",[e],(e=>{}))},setEnableSmoothTransition:e=>{P.callUIFunction(o.value,"setEnableSmoothTransition",[e],(e=>{}))},setSaveFormData:e=>{P.callUIFunction(o.value,"setSaveFormData",[e],(e=>{}))},setSavePassword:e=>{P.callUIFunction(o.value,"setSavePassword",[e],(e=>{}))},setTextSize:e=>{P.callUIFunction(o.value,"setTextSize",[e],(e=>{}))},setDefaultZoom:e=>{P.callUIFunction(o.value,"setDefaultZoom",[e],(e=>{}))},setLightTouchEnabled:e=>{P.callUIFunction(o.value,"setLightTouchEnabled",[e],(e=>{}))},setMinimumLogicalFontSize:e=>{P.callUIFunction(o.value,"setMinimumLogicalFontSize",[e],(e=>{}))},setDefaultFixedFontSize:e=>{P.callUIFunction(o.value,"setDefaultFixedFontSize",[e],(e=>{}))},setBlockNetworkImage:e=>{P.callUIFunction(o.value,"setBlockNetworkImage",[e],(e=>{}))},setAllowUniversalAccessFromFileURLs:e=>{P.callUIFunction(o.value,"setAllowUniversalAccessFromFileURLs",[e],(e=>{}))},setAllowFileAccessFromFileURLs:e=>{P.callUIFunction(o.value,"setAllowFileAccessFromFileURLs",[e],(e=>{}))},setDatabasePath:e=>{P.callUIFunction(o.value,"setDatabasePath",[e],(e=>{}))},setGeolocationDatabasePath:e=>{P.callUIFunction(o.value,"setGeolocationDatabasePath",[e],(e=>{}))},setUserAgentString:e=>{P.callUIFunction(o.value,"setUserAgentString",[e],(e=>{}))},setMixedContentMode:e=>{P.callUIFunction(o.value,"setMixedContentMode",[e],(e=>{}))},setOffscreenPreRaster:e=>{P.callUIFunction(o.value,"setOffscreenPreRaster",[e],(e=>{}))},setSafeBrowsingEnabled:e=>{P.callUIFunction(o.value,"setSafeBrowsingEnabled",[e],(e=>{}))},setForceDark:e=>{P.callUIFunction(o.value,"setForceDark",[e],(e=>{}))},setDisabledActionModeMenuItems:e=>{P.callUIFunction(o.value,"setDisabledActionModeMenuItems",[e],(e=>{}))},...Xn(o)}),()=>R("ESWebViewComponent",{onPageStarted:e=>{let t=e.url;n.emit("onPageStarted",t)},onPageFinished:e=>{let t=e.url;n.emit("onPageFinished",t)},onLoadResource:e=>{let t=e.url;n.emit("onLoadResource",t)},onReceivedSslError:e=>{n.emit("onReceivedSslError",e)},onReceivedError:e=>{let t=e.errorCode,o=e.description,a=e.failingUrl;n.emit("onReceivedError",t,o,a)},onShouldOverrideUrlLoading:e=>{let t=e.url;n.emit("shouldOverrideUrlLoading",t)},onJs2Vue:e=>{let t=e.js2VueValue;n.emit("onJs2Vue",t)},ref:o})}});t.component("qt-web-view",n)}(t),function(t){const n=l({name:"X5WebView",emits:["onCanGoBack","onCanGoForward","onCanGoBackOrForward","onPageStarted","onPageFinished","onLoadResource","onReceivedSslError","onReceivedError","shouldOverrideUrlLoading","onJs2Vue","onJsRewardCall","onJsFinishGame"],setup(t,n){const o=e();_((()=>{a(!0),l(!0),u(!0),s(!0),r(!0),c(!0),p(!0),f(!0),d(!0),T(!0),i(1),I(2)}));const a=e=>{P.callUIFunction(o.value,"setJavaScriptEnabled",[e],(e=>{}))},i=e=>{P.callUIFunction(o.value,"setPluginState",[e],(e=>{}))},l=e=>{P.callUIFunction(o.value,"setJavaScriptCanOpenWindowsAutomatically",[e],(e=>{}))},c=e=>{P.callUIFunction(o.value,"setUseWideViewPort",[e],(e=>{}))},s=e=>{P.callUIFunction(o.value,"setSupportZoom",[e],(e=>{}))},r=e=>{P.callUIFunction(o.value,"setBuiltInZoomControls",[e],(e=>{}))},u=e=>{P.callUIFunction(o.value,"setAllowFileAccess",[e],(e=>{}))},d=e=>{P.callUIFunction(o.value,"setDomStorageEnabled",[e],(e=>{}))},f=e=>{P.callUIFunction(o.value,"setAppCacheEnabled",[e],(e=>{}))},T=e=>{P.callUIFunction(o.value,"setGeolocationEnabled",[e],(e=>{}))},p=e=>{P.callUIFunction(o.value,"setSupportMultipleWindows",[e],(e=>{}))},I=e=>{P.callUIFunction(o.value,"setCacheMode",[e],(e=>{}))};return n.expose({loadUrl:e=>{P.callUIFunction(o.value,"loadUrl",[e],(e=>{}))},evaluateJavascript:e=>new Promise(((t,n)=>{P.callUIFunction(o.value,"evaluateJavascript",[e],(e=>{t(e)}))})),canGoBack:()=>{P.callUIFunction(o.value,"canGoBack",[],(e=>{n.emit("onCanGoBack",e)}))},goBack:()=>{P.callUIFunction(o.value,"goBack",[],(e=>{}))},canGoForward:()=>{P.callUIFunction(o.value,"canGoForward",[],(e=>{n.emit("onCanGoForward",e)}))},goForward:()=>{P.callUIFunction(o.value,"goForward",[],(e=>{}))},canGoBackOrForward:e=>{P.callUIFunction(o.value,"canGoBackOrForward",[e],(e=>{n.emit("onCanGoBackOrForward",e)}))},goBackOrForward:e=>{P.callUIFunction(o.value,"goBackOrForward",[e],(e=>{}))},onResume:()=>{P.callUIFunction(o.value,"onResume",[],(e=>{}))},onPause:()=>{P.callUIFunction(o.value,"onPause",[],(e=>{}))},pauseTimers:()=>{P.callUIFunction(o.value,"pauseTimers",[],(e=>{}))},resumeTimers:()=>{P.callUIFunction(o.value,"resumeTimers",[],(e=>{}))},destroy:()=>{P.callUIFunction(o.value,"destroy",[],(e=>{}))},setJavaScriptEnabled:a,setPluginState:i,setJavaScriptCanOpenWindowsAutomatically:l,setUseWideViewPort:c,setLoadWithOverviewMode:e=>{P.callUIFunction(o.value,"setLoadWithOverviewMode",[e],(e=>{}))},setSupportZoom:s,setBuiltInZoomControls:r,setDisplayZoomControls:e=>{P.callUIFunction(o.value,"setDisplayZoomControls",[e],(e=>{}))},setAllowFileAccess:u,setDomStorageEnabled:d,setDatabaseEnabled:e=>{P.callUIFunction(o.value,"setDatabaseEnabled",[e],(e=>{}))},setAppCacheEnabled:f,setAppCachePath:e=>{P.callUIFunction(o.value,"setAppCachePath",[e],(e=>{}))},setMediaPlaybackRequiresUserGesture:e=>{P.callUIFunction(o.value,"setMediaPlaybackRequiresUserGesture",[e],(e=>{}))},setStandardFontFamily:e=>{P.callUIFunction(o.value,"setStandardFontFamily",[e],(e=>{}))},setFixedFontFamily:e=>{P.callUIFunction(o.value,"setFixedFontFamily",[e],(e=>{}))},setSansSerifFontFamily:e=>{P.callUIFunction(o.value,"setSansSerifFontFamily",[e],(e=>{}))},setSerifFontFamily:e=>{P.callUIFunction(o.value,"setSerifFontFamily",[e],(e=>{}))},setCursiveFontFamily:e=>{P.callUIFunction(o.value,"setCursiveFontFamily",[e],(e=>{}))},setFantasyFontFamily:e=>{P.callUIFunction(o.value,"setFantasyFontFamily",[e],(e=>{}))},setTextZoom:e=>{P.callUIFunction(o.value,"setTextZoom",[e],(e=>{}))},setMinimumFontSize:e=>{P.callUIFunction(o.value,"setMinimumFontSize",[e],(e=>{}))},setDefaultFontSize:e=>{P.callUIFunction(o.value,"setDefaultFontSize",[e],(e=>{}))},setLayoutAlgorithm:e=>{P.callUIFunction(o.value,"setLayoutAlgorithm",[e],(e=>{}))},setLoadsImagesAutomatically:e=>{P.callUIFunction(o.value,"setLoadsImagesAutomatically",[e],(e=>{}))},setDefaultTextEncodingName:e=>{P.callUIFunction(o.value,"setDefaultTextEncodingName",[e],(e=>{}))},setNeedInitialFocus:e=>{P.callUIFunction(o.value,"setNeedInitialFocus",[e],(e=>{}))},setGeolocationEnabled:T,setBlockNetworkLoads:e=>{P.callUIFunction(o.value,"setBlockNetworkLoads",[e],(e=>{}))},setSupportMultipleWindows:p,setAppCacheMaxSize:e=>{P.callUIFunction(o.value,"setAppCacheMaxSize",[e],(e=>{}))},setRenderPriority:e=>{P.callUIFunction(o.value,"setRenderPriority",[e],(e=>{}))},setCacheMode:I,setAllowContentAccess:e=>{P.callUIFunction(o.value,"setAllowContentAccess",[e],(e=>{}))},setEnableSmoothTransition:e=>{P.callUIFunction(o.value,"setEnableSmoothTransition",[e],(e=>{}))},setSaveFormData:e=>{P.callUIFunction(o.value,"setSaveFormData",[e],(e=>{}))},setSavePassword:e=>{P.callUIFunction(o.value,"setSavePassword",[e],(e=>{}))},setTextSize:e=>{P.callUIFunction(o.value,"setTextSize",[e],(e=>{}))},setDefaultZoom:e=>{P.callUIFunction(o.value,"setDefaultZoom",[e],(e=>{}))},setLightTouchEnabled:e=>{P.callUIFunction(o.value,"setLightTouchEnabled",[e],(e=>{}))},setMinimumLogicalFontSize:e=>{P.callUIFunction(o.value,"setMinimumLogicalFontSize",[e],(e=>{}))},setDefaultFixedFontSize:e=>{P.callUIFunction(o.value,"setDefaultFixedFontSize",[e],(e=>{}))},setBlockNetworkImage:e=>{P.callUIFunction(o.value,"setBlockNetworkImage",[e],(e=>{}))},setAllowUniversalAccessFromFileURLs:e=>{P.callUIFunction(o.value,"setAllowUniversalAccessFromFileURLs",[e],(e=>{}))},setAllowFileAccessFromFileURLs:e=>{P.callUIFunction(o.value,"setAllowFileAccessFromFileURLs",[e],(e=>{}))},setDatabasePath:e=>{P.callUIFunction(o.value,"setDatabasePath",[e],(e=>{}))},setGeolocationDatabasePath:e=>{P.callUIFunction(o.value,"setGeolocationDatabasePath",[e],(e=>{}))},setUserAgentString:e=>{P.callUIFunction(o.value,"setUserAgentString",[e],(e=>{}))},setMixedContentMode:e=>{P.callUIFunction(o.value,"setMixedContentMode",[e],(e=>{}))},setOffscreenPreRaster:e=>{P.callUIFunction(o.value,"setOffscreenPreRaster",[e],(e=>{}))},setSafeBrowsingEnabled:e=>{P.callUIFunction(o.value,"setSafeBrowsingEnabled",[e],(e=>{}))},setForceDark:e=>{P.callUIFunction(o.value,"setForceDark",[e],(e=>{}))},setDisabledActionModeMenuItems:e=>{P.callUIFunction(o.value,"setDisabledActionModeMenuItems",[e],(e=>{}))},initJavaScriptInterface:()=>{P.callUIFunction(o.value,"initJavaScriptInterface",[],(e=>{}))},removeJavaScriptInterface:()=>{P.callUIFunction(o.value,"removeJavaScriptInterface",[],(e=>{}))},initWebViewFocus:(e,t,n)=>{P.callUIFunction(o.value,"initWebViewFocus",[e,t,n],(e=>{}))},...Xn(o)}),()=>R("ESX5WebViewComponent",{onPageStarted:e=>{let t=e.url;n.emit("onPageStarted",t)},onPageFinished:e=>{let t=e.url;n.emit("onPageFinished",t)},onLoadResource:e=>{let t=e.url;n.emit("onLoadResource",t)},onReceivedSslError:e=>{n.emit("onReceivedSslError",e)},onReceivedError:e=>{let t=e.errorCode,o=e.description,a=e.failingUrl;n.emit("onReceivedError",t,o,a)},onShouldOverrideUrlLoading:e=>{let t=e.url;n.emit("shouldOverrideUrlLoading",t)},onJs2Vue:e=>{let t=e.js2VueValue;n.emit("onJs2Vue",t)},onJsRewardCall:e=>{let t=e.jsRewardCallValue;n.emit("onJsRewardCall",t)},onJsFinishGame:e=>{let t=e.jsFinishGameValue;n.emit("onJsFinishGame",t)},ref:o})}});t.component("qt-x5web-view",n)}(t),function(t){t.component("qt-qr-code",{setup(t,n){const o=e();return n.expose({viewRef:o,...Xn(o)}),()=>R("QrCodeComponent",{ref:o})}})}(t),function(t){const n=l({name:"qt-seek-bar",props:{emitEventDelay:{type:Number,default:100},onProgressChanged:{type:Function,default:null}},emits:["onSeekStart","onSeekStop","onFocusChanged","onSeekChanged"],setup(t,n){const o=e(),a=e(!1),i=e(1),l=e(0),c=e(0),s=e(0),r=e(0);function u(e){1===i.value&&(r.value=e,P.callUIFunction(o.value,"setProgress",[e],(e=>{})))}function d(e){1===i.value&&(s.value=e,P.callUIFunction(o.value,"setMaxProgress",[e],(e=>{})))}return n.expose({viewRef:o,isSeekBarFocused:a,seekBarMode:i,seekCount:l,progressCallBackTime:c,maxProgress:s,progress:r,startSeek:function(e){if(a.value){i.value=2,n.emit("onSeekStart",r.value),l.value+=1;let a=1;l.value>20?a=2:l.value>50?a=4:l.value>100&&(a=6);let u=s.value,d=Math.floor(.01*u*a);if(r.value=r.value+(e?d:-d),r.value>u?r.value=u:r.value<0&&(r.value=0),P.callUIFunction(o.value,"setProgress",[r.value],(e=>{})),t.onProgressChanged){let e=(new Date).getTime();e-c.value>t.emitEventDelay&&(t.onProgressChanged(r.value),c.value=e)}}},stopSeek:function(){l.value=0,2==i.value&&n.emit("onSeekStop",r.value),i.value=1},isFocused:function(){return a.value},resetSeekbar:function(){i.value=1,d(0),u(0)},invalidateSeekBar:function(){P.callUIFunction(o.value,"invalidateSeekBar",[],(e=>{}))},setFocusable:function(e){P.callUIFunction(o.value,"setFocusable",[e],(e=>{}))},setClickable:function(e){P.callUIFunction(o.value,"setClickable",[e],(e=>{}))},requestLayout:function(){P.callUIFunction(o.value,"requestLayout",[],(e=>{}))},invalidate:function(){P.callUIFunction(o.value,"invalidate",[],(e=>{}))},setVisible:function(e){P.callUIFunction(o.value,"setVisible",[e],(e=>{}))},setLeftSeekBarVisible:function(e){P.callUIFunction(o.value,"setLeftSeekBarVisible",[e],(e=>{}))},setRightSeekBarVisible:function(e){P.callUIFunction(o.value,"setRightSeekBarVisible",[e],(e=>{}))},setSeekBarMode:function(e){P.callUIFunction(o.value,"setSeekBarMode",[e],(e=>{}))},setProgress:u,setRangeProgress:function(e,t){P.callUIFunction(o.value,"setProgress",[e,t],(e=>{}))},getProgress:function(){P.callUIFunction(o.value,"getProgress",[],(e=>{}))},getLeftProgress:function(){P.callUIFunction(o.value,"getLeftProgress",[],(e=>{}))},getRightProgress:function(){P.callUIFunction(o.value,"getRightProgress",[],(e=>{}))},setRange:function(e,t,n){P.callUIFunction(o.value,"setRange",[e,t,n],(e=>{}))},setGravity:function(e){P.callUIFunction(o.value,"setGravity",[e],(e=>{}))},setProgressWidth:function(e){P.callUIFunction(o.value,"setProgressWidth",[e],(e=>{}))},setProgressHeight:function(e){P.callUIFunction(o.value,"setProgressHeight",[e],(e=>{}))},setProgressRadius:function(e){P.callUIFunction(o.value,"setProgressRadius",[e],(e=>{}))},setProgressColor:function(e){P.callUIFunction(o.value,"setProgressColor",[e],(e=>{}))},setProgressDefaultColor:function(e){P.callUIFunction(o.value,"setProgressDefaultColor",[e],(e=>{}))},setProgressDrawable:function(e){P.callUIFunction(o.value,"setProgressDrawable",[e],(e=>{}))},setProgressDefaultDrawable:function(e){P.callUIFunction(o.value,"setProgressDefaultDrawable",[e],(e=>{}))},setProgressUrl:function(e){P.callUIFunction(o.value,"setProgressUrl",[e],(e=>{}))},setProgressDefaultUrl:function(e){P.callUIFunction(o.value,"setProgressDefaultUrl",[e],(e=>{}))},showIndicator:function(e){P.callUIFunction(o.value,"showIndicator",[e],(e=>{}))},showLeftIndicator:function(e){P.callUIFunction(o.value,"showLeftIndicator",[e],(e=>{}))},showRightIndicator:function(e){P.callUIFunction(o.value,"showRightIndicator",[e],(e=>{}))},setIndicatorShowMode:function(e){P.callUIFunction(o.value,"setIndicatorShowMode",[e],(e=>{}))},setLeftIndicatorShowMode:function(e){P.callUIFunction(o.value,"setLeftIndicatorShowMode",[e],(e=>{}))},setRightIndicatorShowMode:function(e){P.callUIFunction(o.value,"setRightIndicatorShowMode",[e],(e=>{}))},setIndicatorWidth:function(e){P.callUIFunction(o.value,"setIndicatorWidth",[e],(e=>{}))},setLeftIndicatorWidth:function(e){P.callUIFunction(o.value,"setLeftIndicatorWidth",[e],(e=>{}))},setRightIndicatorWidth:function(e){P.callUIFunction(o.value,"setRightIndicatorWidth",[e],(e=>{}))},setIndicatorHeight:function(e){P.callUIFunction(o.value,"setIndicatorHeight",[e],(e=>{}))},setLeftIndicatorHeight:function(e){P.callUIFunction(o.value,"setLeftIndicatorHeight",[e],(e=>{}))},setRightIndicatorHeight:function(e){P.callUIFunction(o.value,"setRightIndicatorHeight",[e],(e=>{}))},setIndicatorTextDecimalFormat:function(e){P.callUIFunction(o.value,"setIndicatorTextDecimalFormat",[e],(e=>{}))},setLeftIndicatorTextDecimalFormat:function(e){P.callUIFunction(o.value,"setLeftIndicatorTextDecimalFormat",[e],(e=>{}))},setRightIndicatorTextDecimalFormat:function(e){P.callUIFunction(o.value,"setRightIndicatorTextDecimalFormat",[e],(e=>{}))},setIndicatorTextStringFormat:function(e){P.callUIFunction(o.value,"setIndicatorTextStringFormat",[e],(e=>{}))},setLeftIndicatorTextStringFormat:function(e){P.callUIFunction(o.value,"setLeftIndicatorTextStringFormat",[e],(e=>{}))},setRightIndicatorTextStringFormat:function(e){P.callUIFunction(o.value,"setRightIndicatorTextStringFormat",[e],(e=>{}))},setIndicatorMargin:function(e){P.callUIFunction(o.value,"setIndicatorMargin",[e],(e=>{}))},setLeftIndicatorMargin:function(e){P.callUIFunction(o.value,"setLeftIndicatorMargin",[e],(e=>{}))},setRightIndicatorMargin:function(e){P.callUIFunction(o.value,"setRightIndicatorMargin",[e],(e=>{}))},setIndicatorPaddingBottom:function(e){P.callUIFunction(o.value,"setIndicatorPaddingBottom",[e],(e=>{}))},setLeftIndicatorPaddingBottom:function(e){P.callUIFunction(o.value,"setLeftIndicatorPaddingBottom",[e],(e=>{}))},setRightIndicatorPaddingBottom:function(e){P.callUIFunction(o.value,"setRightIndicatorPaddingBottom",[e],(e=>{}))},setIndicatorPaddingTop:function(e){P.callUIFunction(o.value,"setIndicatorPaddingTop",[e],(e=>{}))},setLeftIndicatorPaddingTop:function(e){P.callUIFunction(o.value,"setLeftIndicatorPaddingTop",[e],(e=>{}))},setRightIndicatorPaddingTop:function(e){P.callUIFunction(o.value,"setRightIndicatorPaddingTop",[e],(e=>{}))},setIndicatorPaddingLeft:function(e){P.callUIFunction(o.value,"setIndicatorPaddingLeft",[e],(e=>{}))},setLeftIndicatorPaddingLeft:function(e){P.callUIFunction(o.value,"setLeftIndicatorPaddingLeft",[e],(e=>{}))},setRightIndicatorPaddingLeft:function(e){P.callUIFunction(o.value,"setRightIndicatorPaddingLeft",[e],(e=>{}))},setIndicatorPaddingRight:function(e){P.callUIFunction(o.value,"setIndicatorPaddingRight",[e],(e=>{}))},setLeftIndicatorPaddingRight:function(e){P.callUIFunction(o.value,"setLeftIndicatorPaddingRight",[e],(e=>{}))},setRightIndicatorPaddingRight:function(e){P.callUIFunction(o.value,"setRightIndicatorPaddingRight",[e],(e=>{}))},setIndicatorBackgroundColor:function(e){P.callUIFunction(o.value,"setIndicatorBackgroundColor",[e],(e=>{}))},setLeftIndicatorBackgroundColor:function(e){P.callUIFunction(o.value,"setLeftIndicatorBackgroundColor",[e],(e=>{}))},setRightIndicatorBackgroundColor:function(e){P.callUIFunction(o.value,"setRightIndicatorBackgroundColor",[e],(e=>{}))},setIndicatorRadius:function(e){P.callUIFunction(o.value,"setIndicatorRadius",[e],(e=>{}))},setLeftIndicatorRadius:function(e){P.callUIFunction(o.value,"setLeftIndicatorRadius",[e],(e=>{}))},setRightIndicatorRadius:function(e){P.callUIFunction(o.value,"setRightIndicatorRadius",[e],(e=>{}))},setIndicatorTextSize:function(e){P.callUIFunction(o.value,"setIndicatorTextSize",[e],(e=>{}))},setLeftIndicatorTextSize:function(e){P.callUIFunction(o.value,"setLeftIndicatorTextSize",[e],(e=>{}))},setRightIndicatorTextSize:function(e){P.callUIFunction(o.value,"setRightIndicatorTextSize",[e],(e=>{}))},setIndicatorTextColor:function(e){P.callUIFunction(o.value,"setIndicatorTextColor",[e],(e=>{}))},setLeftIndicatorTextColor:function(e){P.callUIFunction(o.value,"setLeftIndicatorTextColor",[e],(e=>{}))},setRightIndicatorTextColor:function(e){P.callUIFunction(o.value,"setRightIndicatorTextColor",[e],(e=>{}))},setIndicatorArrowSize:function(e){P.callUIFunction(o.value,"setIndicatorArrowSize",[e],(e=>{}))},setLeftIndicatorArrowSize:function(e){P.callUIFunction(o.value,"setLeftIndicatorArrowSize",[e],(e=>{}))},setRightIndicatorArrowSize:function(e){P.callUIFunction(o.value,"setRightIndicatorArrowSize",[e],(e=>{}))},setIndicatorDrawable:function(e){P.callUIFunction(o.value,"setIndicatorDrawable",[e],(e=>{}))},setLeftIndicatorDrawable:function(e){P.callUIFunction(o.value,"setLeftIndicatorDrawable",[e],(e=>{}))},setRightIndicatorDrawable:function(e){P.callUIFunction(o.value,"setRightIndicatorDrawable",[e],(e=>{}))},setIndicatorUrl:function(e){P.callUIFunction(o.value,"setIndicatorUrl",[e],(e=>{}))},setLeftIndicatorUrl:function(e){P.callUIFunction(o.value,"setLeftIndicatorUrl",[e],(e=>{}))},setRightIndicatorUrl:function(e){P.callUIFunction(o.value,"setRightIndicatorUrl",[e],(e=>{}))},setThumbWidth:function(e){P.callUIFunction(o.value,"setThumbWidth",[e],(e=>{}))},setLeftThumbWidth:function(e){P.callUIFunction(o.value,"setLeftThumbWidth",[e],(e=>{}))},setRightThumbWidth:function(e){P.callUIFunction(o.value,"setRightThumbWidth",[e],(e=>{}))},setThumbHeight:function(e){P.callUIFunction(o.value,"setThumbHeight",[e],(e=>{}))},setLeftThumbHeight:function(e){P.callUIFunction(o.value,"setLeftThumbHeight",[e],(e=>{}))},setRightThumbHeight:function(e){P.callUIFunction(o.value,"setRightThumbHeight",[e],(e=>{}))},scaleThumb:function(){P.callUIFunction(o.value,"scaleThumb",[],(e=>{}))},scaleLeftThumb:function(){P.callUIFunction(o.value,"scaleLeftThumb",[],(e=>{}))},scaleRightThumb:function(){P.callUIFunction(o.value,"scaleLeftThumb",[],(e=>{}))},resetThumb:function(){P.callUIFunction(o.value,"resetThumb",[],(e=>{}))},resetLeftThumb:function(){P.callUIFunction(o.value,"resetLeftThumb",[],(e=>{}))},resetRightThumb:function(){P.callUIFunction(o.value,"resetRightThumb",[],(e=>{}))},setThumbScaleRatio:function(e){P.callUIFunction(o.value,"setThumbScaleRatio",[e],(e=>{}))},setLeftThumbScaleRatio:function(e){P.callUIFunction(o.value,"setLeftThumbScaleRatio",[e],(e=>{}))},setRightThumbScaleRatio:function(e){P.callUIFunction(o.value,"setRightThumbScaleRatio",[e],(e=>{}))},setThumbActivate:function(e){P.callUIFunction(o.value,"setThumbActivate",[e],(e=>{}))},setLeftThumbActivate:function(e){P.callUIFunction(o.value,"setLeftThumbActivate",[e],(e=>{}))},setRightThumbActivate:function(e){P.callUIFunction(o.value,"setRightThumbActivate",[e],(e=>{}))},setThumbDrawable:function(e){P.callUIFunction(o.value,"setThumbDrawable",[e],(e=>{}))},setLeftThumbDrawable:function(e){P.callUIFunction(o.value,"setLeftThumbDrawable",[e],(e=>{}))},setRightThumbDrawable:function(e){P.callUIFunction(o.value,"setRightThumbDrawable",[e],(e=>{}))},setThumbUrl:function(e){P.callUIFunction(o.value,"setThumbUrl",[e],(e=>{}))},setLeftThumbUrl:function(e){P.callUIFunction(o.value,"setLeftThumbUrl",[e],(e=>{}))},setRightThumbUrl:function(e){P.callUIFunction(o.value,"setRightThumbUrl",[e],(e=>{}))},setThumbInactivatedDrawable:function(e){P.callUIFunction(o.value,"setThumbInactivatedDrawable",[e],(e=>{}))},setLeftThumbInactivatedDrawable:function(e){P.callUIFunction(o.value,"setLeftThumbInactivatedDrawable",[e],(e=>{}))},setRightThumbInactivatedDrawable:function(e){P.callUIFunction(o.value,"setRightThumbInactivatedDrawable",[e],(e=>{}))},setThumbInactivatedUrl:function(e){P.callUIFunction(o.value,"setThumbInactivatedUrl",[e],(e=>{}))},setLeftThumbInactivatedUrl:function(e){P.callUIFunction(o.value,"setLeftThumbInactivatedUrl",[e],(e=>{}))},setRightThumbInactivatedUrl:function(e){P.callUIFunction(o.value,"setRightThumbInactivatedUrl",[e],(e=>{}))},setTickMarkMode:function(e){P.callUIFunction(o.value,"setTickMarkMode",[e],(e=>{}))},setTickMarkGravity:function(e){P.callUIFunction(o.value,"setTickMarkGravity",[e],(e=>{}))},setTickMarkLayoutGravity:function(e){P.callUIFunction(o.value,"setTickMarkLayoutGravity",[e],(e=>{}))},setTickMarkTextArray:function(e){P.callUIFunction(o.value,"setTickMarkTextArray",[e],(e=>{}))},setTickMarkTextMargin:function(e){P.callUIFunction(o.value,"setTickMarkTextMargin",[e],(e=>{}))},setTickMarkTextSize:function(e){P.callUIFunction(o.value,"setTickMarkTextSize",[e],(e=>{}))},setTickMarkTextColor:function(e){P.callUIFunction(o.value,"setTickMarkTextColor",[e],(e=>{}))},setTickMarkInRangeTextColor:function(e){P.callUIFunction(o.value,"setTickMarkInRangeTextColor",[e],(e=>{}))},setSteps:function(e){P.callUIFunction(o.value,"setSteps",[e],(e=>{}))},setStepsWidth:function(e){P.callUIFunction(o.value,"setStepsWidth",[e],(e=>{}))},setStepsHeight:function(e){P.callUIFunction(o.value,"setStepsHeight",[e],(e=>{}))},setStepsRadius:function(e){P.callUIFunction(o.value,"setStepsRadius",[e],(e=>{}))},setStepsColor:function(e){P.callUIFunction(o.value,"setStepsColor",[e],(e=>{}))},setStepsAutoBonding:function(e){P.callUIFunction(o.value,"setStepsAutoBonding",[e],(e=>{}))},setStepsDrawable:function(e){P.callUIFunction(o.value,"setStepsDrawable",[e],(e=>{}))},setStepsUrl:function(e){P.callUIFunction(o.value,"setStepsUrl",[e],(e=>{}))},setSecondProgress:function(e){P.callUIFunction(o.value,"setSecondProgress",[e],(e=>{}))},show:function(e){P.callUIFunction(o.value,"show",[e],(e=>{}))},setMaxProgress:d,...Xn(o)}),()=>R("TVSeekBarViewComponent",{ref:o,onFocus:e=>{a.value=e.isFocused,n.emit("onFocusChanged",e.isFocused)},onSeekBarChange:e=>{n.emit("onSeekChanged",e.progress)}})}});t.component("qt-seek-bar",n)}(t),function(t){const n=_n({name:"qt-progress-bar",emits:["onFocusChanged","onSeekChanged"],setup(t,n){const o=e();return n.expose({viewRef:o,invalidateProgressBar:function(){P.callUIFunction(o.value,"invalidateSeekBar",[],(e=>{}))},setFocusable:function(e){P.callUIFunction(o.value,"setFocusable",[e],(e=>{}))},setClickable:function(e){P.callUIFunction(o.value,"setClickable",[e],(e=>{}))},requestLayout:function(){P.callUIFunction(o.value,"requestLayout",[],(e=>{}))},invalidate:function(){P.callUIFunction(o.value,"invalidate",[],(e=>{}))},setVisible:function(e){P.callUIFunction(o.value,"setVisible",[e],(e=>{}))},setLeftSeekBarVisible:function(e){P.callUIFunction(o.value,"setLeftSeekBarVisible",[e],(e=>{}))},setRightSeekBarVisible:function(e){P.callUIFunction(o.value,"setRightSeekBarVisible",[e],(e=>{}))},setSeekBarMode:function(e){P.callUIFunction(o.value,"setSeekBarMode",[e],(e=>{}))},setProgress:function(e){P.callUIFunction(o.value,"setProgress",[e],(e=>{}))},setRangeProgress:function(e,t){P.callUIFunction(o.value,"setProgress",[e,t],(e=>{}))},getProgress:function(){P.callUIFunction(o.value,"getProgress",[],(e=>{}))},getLeftProgress:function(){P.callUIFunction(o.value,"getLeftProgress",[],(e=>{}))},getRightProgress:function(){P.callUIFunction(o.value,"getRightProgress",[],(e=>{}))},setRange:function(e,t,n){P.callUIFunction(o.value,"setRange",[e,t,n],(e=>{}))},setGravity:function(e){P.callUIFunction(o.value,"setGravity",[e],(e=>{}))},setProgressWidth:function(e){P.callUIFunction(o.value,"setProgressWidth",[e],(e=>{}))},setProgressHeight:function(e){P.callUIFunction(o.value,"setProgressHeight",[e],(e=>{}))},setProgressRadius:function(e){P.callUIFunction(o.value,"setProgressRadius",[e],(e=>{}))},setProgressColor:function(e){P.callUIFunction(o.value,"setProgressColor",[e],(e=>{}))},setProgressDefaultColor:function(e){P.callUIFunction(o.value,"setProgressDefaultColor",[e],(e=>{}))},setProgressDrawable:function(e){P.callUIFunction(o.value,"setProgressDrawable",[e],(e=>{}))},setProgressDefaultDrawable:function(e){P.callUIFunction(o.value,"setProgressDefaultDrawable",[e],(e=>{}))},setProgressUrl:function(e){P.callUIFunction(o.value,"setProgressUrl",[e],(e=>{}))},setProgressDefaultUrl:function(e){P.callUIFunction(o.value,"setProgressDefaultUrl",[e],(e=>{}))},showIndicator:function(e){P.callUIFunction(o.value,"showIndicator",[e],(e=>{}))},showLeftIndicator:function(e){P.callUIFunction(o.value,"showLeftIndicator",[e],(e=>{}))},showRightIndicator:function(e){P.callUIFunction(o.value,"showRightIndicator",[e],(e=>{}))},setIndicatorShowMode:function(e){P.callUIFunction(o.value,"setIndicatorShowMode",[e],(e=>{}))},setLeftIndicatorShowMode:function(e){P.callUIFunction(o.value,"setLeftIndicatorShowMode",[e],(e=>{}))},setRightIndicatorShowMode:function(e){P.callUIFunction(o.value,"setRightIndicatorShowMode",[e],(e=>{}))},setIndicatorWidth:function(e){P.callUIFunction(o.value,"setIndicatorWidth",[e],(e=>{}))},setLeftIndicatorWidth:function(e){P.callUIFunction(o.value,"setLeftIndicatorWidth",[e],(e=>{}))},setRightIndicatorWidth:function(e){P.callUIFunction(o.value,"setRightIndicatorWidth",[e],(e=>{}))},setIndicatorHeight:function(e){P.callUIFunction(o.value,"setIndicatorHeight",[e],(e=>{}))},setLeftIndicatorHeight:function(e){P.callUIFunction(o.value,"setLeftIndicatorHeight",[e],(e=>{}))},setRightIndicatorHeight:function(e){P.callUIFunction(o.value,"setRightIndicatorHeight",[e],(e=>{}))},setIndicatorTextDecimalFormat:function(e){P.callUIFunction(o.value,"setIndicatorTextDecimalFormat",[e],(e=>{}))},setLeftIndicatorTextDecimalFormat:function(e){P.callUIFunction(o.value,"setLeftIndicatorTextDecimalFormat",[e],(e=>{}))},setRightIndicatorTextDecimalFormat:function(e){P.callUIFunction(o.value,"setRightIndicatorTextDecimalFormat",[e],(e=>{}))},setIndicatorTextStringFormat:function(e){P.callUIFunction(o.value,"setIndicatorTextStringFormat",[e],(e=>{}))},setLeftIndicatorTextStringFormat:function(e){P.callUIFunction(o.value,"setLeftIndicatorTextStringFormat",[e],(e=>{}))},setRightIndicatorTextStringFormat:function(e){P.callUIFunction(o.value,"setRightIndicatorTextStringFormat",[e],(e=>{}))},setIndicatorMargin:function(e){P.callUIFunction(o.value,"setIndicatorMargin",[e],(e=>{}))},setLeftIndicatorMargin:function(e){P.callUIFunction(o.value,"setLeftIndicatorMargin",[e],(e=>{}))},setRightIndicatorMargin:function(e){P.callUIFunction(o.value,"setRightIndicatorMargin",[e],(e=>{}))},setIndicatorPaddingBottom:function(e){P.callUIFunction(o.value,"setIndicatorPaddingBottom",[e],(e=>{}))},setLeftIndicatorPaddingBottom:function(e){P.callUIFunction(o.value,"setLeftIndicatorPaddingBottom",[e],(e=>{}))},setRightIndicatorPaddingBottom:function(e){P.callUIFunction(o.value,"setRightIndicatorPaddingBottom",[e],(e=>{}))},setIndicatorPaddingTop:function(e){P.callUIFunction(o.value,"setIndicatorPaddingTop",[e],(e=>{}))},setLeftIndicatorPaddingTop:function(e){P.callUIFunction(o.value,"setLeftIndicatorPaddingTop",[e],(e=>{}))},setRightIndicatorPaddingTop:function(e){P.callUIFunction(o.value,"setRightIndicatorPaddingTop",[e],(e=>{}))},setIndicatorPaddingLeft:function(e){P.callUIFunction(o.value,"setIndicatorPaddingLeft",[e],(e=>{}))},setLeftIndicatorPaddingLeft:function(e){P.callUIFunction(o.value,"setLeftIndicatorPaddingLeft",[e],(e=>{}))},setRightIndicatorPaddingLeft:function(e){P.callUIFunction(o.value,"setRightIndicatorPaddingLeft",[e],(e=>{}))},setIndicatorPaddingRight:function(e){P.callUIFunction(o.value,"setIndicatorPaddingRight",[e],(e=>{}))},setLeftIndicatorPaddingRight:function(e){P.callUIFunction(o.value,"setLeftIndicatorPaddingRight",[e],(e=>{}))},setRightIndicatorPaddingRight:function(e){P.callUIFunction(o.value,"setRightIndicatorPaddingRight",[e],(e=>{}))},setIndicatorBackgroundColor:function(e){P.callUIFunction(o.value,"setIndicatorBackgroundColor",[e],(e=>{}))},setLeftIndicatorBackgroundColor:function(e){P.callUIFunction(o.value,"setLeftIndicatorBackgroundColor",[e],(e=>{}))},setRightIndicatorBackgroundColor:function(e){P.callUIFunction(o.value,"setRightIndicatorBackgroundColor",[e],(e=>{}))},setIndicatorRadius:function(e){P.callUIFunction(o.value,"setIndicatorRadius",[e],(e=>{}))},setLeftIndicatorRadius:function(e){P.callUIFunction(o.value,"setLeftIndicatorRadius",[e],(e=>{}))},setRightIndicatorRadius:function(e){P.callUIFunction(o.value,"setRightIndicatorRadius",[e],(e=>{}))},setIndicatorTextSize:function(e){P.callUIFunction(o.value,"setIndicatorTextSize",[e],(e=>{}))},setLeftIndicatorTextSize:function(e){P.callUIFunction(o.value,"setLeftIndicatorTextSize",[e],(e=>{}))},setRightIndicatorTextSize:function(e){P.callUIFunction(o.value,"setRightIndicatorTextSize",[e],(e=>{}))},setIndicatorTextColor:function(e){P.callUIFunction(o.value,"setIndicatorTextColor",[e],(e=>{}))},setLeftIndicatorTextColor:function(e){P.callUIFunction(o.value,"setLeftIndicatorTextColor",[e],(e=>{}))},setRightIndicatorTextColor:function(e){P.callUIFunction(o.value,"setRightIndicatorTextColor",[e],(e=>{}))},setIndicatorArrowSize:function(e){P.callUIFunction(o.value,"setIndicatorArrowSize",[e],(e=>{}))},setLeftIndicatorArrowSize:function(e){P.callUIFunction(o.value,"setLeftIndicatorArrowSize",[e],(e=>{}))},setRightIndicatorArrowSize:function(e){P.callUIFunction(o.value,"setRightIndicatorArrowSize",[e],(e=>{}))},setIndicatorDrawable:function(e){P.callUIFunction(o.value,"setIndicatorDrawable",[e],(e=>{}))},setLeftIndicatorDrawable:function(e){P.callUIFunction(o.value,"setLeftIndicatorDrawable",[e],(e=>{}))},setRightIndicatorDrawable:function(e){P.callUIFunction(o.value,"setRightIndicatorDrawable",[e],(e=>{}))},setIndicatorUrl:function(e){P.callUIFunction(o.value,"setIndicatorUrl",[e],(e=>{}))},setLeftIndicatorUrl:function(e){P.callUIFunction(o.value,"setLeftIndicatorUrl",[e],(e=>{}))},setRightIndicatorUrl:function(e){P.callUIFunction(o.value,"setRightIndicatorUrl",[e],(e=>{}))},setThumbWidth:function(e){P.callUIFunction(o.value,"setThumbWidth",[e],(e=>{}))},setLeftThumbWidth:function(e){P.callUIFunction(o.value,"setLeftThumbWidth",[e],(e=>{}))},setRightThumbWidth:function(e){P.callUIFunction(o.value,"setRightThumbWidth",[e],(e=>{}))},setThumbHeight:function(e){P.callUIFunction(o.value,"setThumbHeight",[e],(e=>{}))},setLeftThumbHeight:function(e){P.callUIFunction(o.value,"setLeftThumbHeight",[e],(e=>{}))},setRightThumbHeight:function(e){P.callUIFunction(o.value,"setRightThumbHeight",[e],(e=>{}))},scaleThumb:function(){P.callUIFunction(o.value,"scaleThumb",[],(e=>{}))},scaleLeftThumb:function(){P.callUIFunction(o.value,"scaleLeftThumb",[],(e=>{}))},scaleRightThumb:function(){P.callUIFunction(o.value,"scaleLeftThumb",[],(e=>{}))},resetThumb:function(){P.callUIFunction(o.value,"resetThumb",[],(e=>{}))},resetLeftThumb:function(){P.callUIFunction(o.value,"resetLeftThumb",[],(e=>{}))},resetRightThumb:function(){P.callUIFunction(o.value,"resetRightThumb",[],(e=>{}))},setThumbScaleRatio:function(e){P.callUIFunction(o.value,"setThumbScaleRatio",[e],(e=>{}))},setLeftThumbScaleRatio:function(e){P.callUIFunction(o.value,"setLeftThumbScaleRatio",[e],(e=>{}))},setRightThumbScaleRatio:function(e){P.callUIFunction(o.value,"setRightThumbScaleRatio",[e],(e=>{}))},setThumbActivate:function(e){P.callUIFunction(o.value,"setThumbActivate",[e],(e=>{}))},setLeftThumbActivate:function(e){P.callUIFunction(o.value,"setLeftThumbActivate",[e],(e=>{}))},setRightThumbActivate:function(e){P.callUIFunction(o.value,"setRightThumbActivate",[e],(e=>{}))},setThumbDrawable:function(e){P.callUIFunction(o.value,"setThumbDrawable",[e],(e=>{}))},setLeftThumbDrawable:function(e){P.callUIFunction(o.value,"setLeftThumbDrawable",[e],(e=>{}))},setRightThumbDrawable:function(e){P.callUIFunction(o.value,"setRightThumbDrawable",[e],(e=>{}))},setThumbUrl:function(e){P.callUIFunction(o.value,"setThumbUrl",[e],(e=>{}))},setLeftThumbUrl:function(e){P.callUIFunction(o.value,"setLeftThumbUrl",[e],(e=>{}))},setRightThumbUrl:function(e){P.callUIFunction(o.value,"setRightThumbUrl",[e],(e=>{}))},setThumbInactivatedDrawable:function(e){P.callUIFunction(o.value,"setThumbInactivatedDrawable",[e],(e=>{}))},setLeftThumbInactivatedDrawable:function(e){P.callUIFunction(o.value,"setLeftThumbInactivatedDrawable",[e],(e=>{}))},setRightThumbInactivatedDrawable:function(e){P.callUIFunction(o.value,"setRightThumbInactivatedDrawable",[e],(e=>{}))},setThumbInactivatedUrl:function(e){P.callUIFunction(o.value,"setThumbInactivatedUrl",[e],(e=>{}))},setLeftThumbInactivatedUrl:function(e){P.callUIFunction(o.value,"setLeftThumbInactivatedUrl",[e],(e=>{}))},setRightThumbInactivatedUrl:function(e){P.callUIFunction(o.value,"setRightThumbInactivatedUrl",[e],(e=>{}))},setTickMarkMode:function(e){P.callUIFunction(o.value,"setTickMarkMode",[e],(e=>{}))},setTickMarkGravity:function(e){P.callUIFunction(o.value,"setTickMarkGravity",[e],(e=>{}))},setTickMarkLayoutGravity:function(e){P.callUIFunction(o.value,"setTickMarkLayoutGravity",[e],(e=>{}))},setTickMarkTextArray:function(e){P.callUIFunction(o.value,"setTickMarkTextArray",[e],(e=>{}))},setTickMarkTextMargin:function(e){P.callUIFunction(o.value,"setTickMarkTextMargin",[e],(e=>{}))},setTickMarkTextSize:function(e){P.callUIFunction(o.value,"setTickMarkTextSize",[e],(e=>{}))},setTickMarkTextColor:function(e){P.callUIFunction(o.value,"setTickMarkTextColor",[e],(e=>{}))},setTickMarkInRangeTextColor:function(e){P.callUIFunction(o.value,"setTickMarkInRangeTextColor",[e],(e=>{}))},setSteps:function(e){P.callUIFunction(o.value,"setSteps",[e],(e=>{}))},setStepsWidth:function(e){P.callUIFunction(o.value,"setStepsWidth",[e],(e=>{}))},setStepsHeight:function(e){P.callUIFunction(o.value,"setStepsHeight",[e],(e=>{}))},setStepsRadius:function(e){P.callUIFunction(o.value,"setStepsRadius",[e],(e=>{}))},setStepsColor:function(e){P.callUIFunction(o.value,"setStepsColor",[e],(e=>{}))},setStepsAutoBonding:function(e){P.callUIFunction(o.value,"setStepsAutoBonding",[e],(e=>{}))},setStepsDrawable:function(e){P.callUIFunction(o.value,"setStepsDrawable",[e],(e=>{}))},setStepsUrl:function(e){P.callUIFunction(o.value,"setStepsUrl",[e],(e=>{}))},setSecondProgress:function(e){P.callUIFunction(o.value,"setSecondProgress",[e],(e=>{}))},show:function(e){P.callUIFunction(o.value,"show",[e],(e=>{}))},setMaxProgress:function(e){P.callUIFunction(o.value,"setMaxProgress",[e],(e=>{}))},...Xn(o)}),()=>R("TVProgressBarViewComponent",{ref:o,onFocus:e=>{n.emit("onFocusChanged",e.isFocused)},onSeekBarChange:e=>{n.emit("onSeekChanged",e.progress)}})}});t.component("qt-progress-bar",n)}(t),function(t){const n=l({emits:["onAnimationEnd","onAnimationCancel","onAnimationStart","onAnimationRepeat","onAnimationPause","onAnimationResume","onAnimationUpdate"],setup(t,n){const o=e(),a=D().getDisplayScale();return n.expose({setPivotX:function(e){P.callUIFunction(o.value,"setPivotX",[e],(e=>{}))},setPivotY:function(e){P.callUIFunction(o.value,"setPivotY",[e],(e=>{}))},resetPivot:function(){P.callUIFunction(o.value,"resetPivot",[],(e=>{}))},resetAnimators:function(){P.callUIFunction(o.value,"resetAnimators",[],(e=>{}))},animatorSet:function(e,t,n){P.callUIFunction(o.value,"animatorSet",[e,t,n],(e=>{}))},startAnimator:function(e){P.callUIFunction(o.value,"startAnimator",[e],(e=>{}))},startAnimatorDelay:function(e,t){P.callUIFunction(o.value,"startAnimatorDelay",[e,t],(e=>{}))},pauseAnimator:function(e){P.callUIFunction(o.value,"pauseAnimator",[e],(e=>{}))},resumeAnimator:function(e){P.callUIFunction(o.value,"resumeAnimator",[e],(e=>{}))},cancelAnimator:function(e){P.callUIFunction(o.value,"cancelAnimator",[e],(e=>{}))},reverseAnimator:function(e){P.callUIFunction(o.value,"reverseAnimator",[e],(e=>{}))},play:function(e,t){P.callUIFunction(o.value,"play",[e,t],(e=>{}))},playWith:function(e,t){P.callUIFunction(o.value,"with",[e,t],(e=>{}))},playBefore:function(e,t){P.callUIFunction(o.value,"before",[e,t],(e=>{}))},playAfter:function(e,t){P.callUIFunction(o.value,"after",[e,t],(e=>{}))},playAfterDelay:function(e,t){P.callUIFunction(o.value,"afterDelay",[e,t],(e=>{}))},playSequentially1:function(e,t){P.callUIFunction(o.value,"playSequentially1",[e,t],(e=>{}))},playSequentially2:function(e,t,n){P.callUIFunction(o.value,"playSequentially2",[e,t,n],(e=>{}))},playSequentially3:function(e,t,n,a){P.callUIFunction(o.value,"playSequentially3",[e,t,n,a],(e=>{}))},playSequentially4:function(e,t,n,a,i){P.callUIFunction(o.value,"playSequentially4",[e,t,n,a,i],(e=>{}))},playSequentially5:function(e,t,n,a,i,l){P.callUIFunction(o.value,"playSequentially5",[e,t,n,a,i,l],(e=>{}))},playTogether1:function(e,t){P.callUIFunction(o.value,"playTogether1",[e,t],(e=>{}))},playTogether2:function(e,t,n){P.callUIFunction(o.value,"playTogether2",[e,t,n],(e=>{}))},playTogether3:function(e,t,n,a){P.callUIFunction(o.value,"playTogether3",[e,t,n,a],(e=>{}))},playTogether4:function(e,t,n,a,i){P.callUIFunction(o.value,"playTogether4",[e,t,n,a,i],(e=>{}))},playTogether5:function(e,t,n,a,i,l){P.callUIFunction(o.value,"playTogether5",[e,t,n,a,i,l],(e=>{}))},objectAnimator:function(e,t,n,a,i,l,c,s,r){P.callUIFunction(o.value,"objectAnimator",[e,t,n,a,i,l,c,s,r],(e=>{}))},objectAnimator1:function(e,t,n,i,l,c,s,r,u,d){n!=fi.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_X&&n!=fi.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Y&&n!=fi.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Z||(i*=a),P.callUIFunction(o.value,"objectAnimator1",[e,t,n,i,l,c,s,r,u,d],(e=>{}))},objectAnimator2:function(e,t,n,i,l,c,s,r,u,d,f){n!=fi.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_X&&n!=fi.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Y&&n!=fi.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Z||(i*=a,l*=a),P.callUIFunction(o.value,"objectAnimator2",[e,t,n,i,l,c,s,r,u,d,f],(e=>{}))},objectAnimator3:function(e,t,n,i,l,c,s,r,u,d,f,_){n!=fi.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_X&&n!=fi.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Y&&n!=fi.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Z||(i*=a,l*=a,c*=a),P.callUIFunction(o.value,"objectAnimator3",[e,t,n,i,l,c,s,r,u,d,f,_],(e=>{}))},objectAnimator4:function(e,t,n,i,l,c,s,r,u,d,f,_,T){n!=fi.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_X&&n!=fi.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Y&&n!=fi.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Z||(i*=a,l*=a,c*=a,s*=a),P.callUIFunction(o.value,"objectAnimator4",[e,t,n,i,l,c,s,r,u,d,f,_,T],(e=>{}))},objectAnimator5:function(e,t,n,i,l,c,s,r,u,d,f,_,T,p){n!=fi.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_X&&n!=fi.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Y&&n!=fi.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Z||(i*=a,l*=a,c*=a,s*=a,r*=a),P.callUIFunction(o.value,"objectAnimator5",[e,t,n,i,l,c,s,r,u,d,f,_,T,p],(e=>{}))},objectAnimator6:function(e,t,n,i,l,c,s,r,u,d,f,_,T,p,I){n!=fi.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_X&&n!=fi.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Y&&n!=fi.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Z||(i*=a,l*=a,c*=a,s*=a,r*=a,u*=a),P.callUIFunction(o.value,"objectAnimator6",[e,t,n,i,l,c,s,r,u,d,f,_,T,p,I],(e=>{}))},objectAnimator7:function(e,t,n,i,l,c,s,r,u,d,f,_,T,p,I,g){n!=fi.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_X&&n!=fi.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Y&&n!=fi.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Z||(i*=a,l*=a,c*=a,s*=a,r*=a,u*=a,d*=a),P.callUIFunction(o.value,"objectAnimator7",[e,t,n,i,l,c,s,r,u,d,f,_,T,p,I,g],(e=>{}))},objectAnimator8:function(e,t,n,i,l,c,s,r,u,d,f,_,T,p,I,g,m){n!=fi.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_X&&n!=fi.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Y&&n!=fi.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Z||(i*=a,l*=a,c*=a,s*=a,r*=a,u*=a,d*=a,f*=a),P.callUIFunction(o.value,"objectAnimator8",[e,t,n,i,l,c,s,r,u,d,f,_,T,p,I,g,m],(e=>{}))},objectAnimator9:function(e,t,n,i,l,c,s,r,u,d,f,_,T,p,I,g,m,v){n!=fi.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_X&&n!=fi.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Y&&n!=fi.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Z||(i*=a,l*=a,c*=a,s*=a,r*=a,u*=a,d*=a,f*=a,_*=a),P.callUIFunction(o.value,"objectAnimator9",[e,t,n,i,l,c,s,r,u,d,f,_,T,p,I,g,m,v],(e=>{}))},objectAnimator10:function(e,t,n,i,l,c,s,r,u,d,f,_,T,p,I,g,m,v,h){n!=fi.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_X&&n!=fi.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Y&&n!=fi.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Z||(i*=a,l*=a,c*=a,s*=a,r*=a,u*=a,d*=a,f*=a,_*=a,T*=a),P.callUIFunction(o.value,"objectAnimator10",[e,t,n,i,l,c,s,r,u,d,f,_,T,p,I,g,m,v,h],(e=>{}))},...Xn(o)}),()=>{const e=n.slots.default&&n.slots.default();return R("AnimationViewComponent",{ref:o,onAnimationCancel:e=>{let t=e.animationId;n.emit("onAnimationCancel",t)},onAnimationEnd:e=>{let t=e.animationId,o=e.isReverse;n.emit("onAnimationEnd",t,o)},onAnimationRepeat:e=>{let t=e.animationId;n.emit("onAnimationRepeat",t)},onAnimationStart:e=>{let t=e.animationId,o=e.isReverse;n.emit("onAnimationStart",t,o)},onAnimationPause:e=>{let t=e.animationId;n.emit("onAnimationPause",t)},onAnimationResume:e=>{let t=e.animationId;n.emit("onAnimationResume",t)},onAnimationUpdate:e=>{let t=e.animationId,o=e.animatedValue;n.emit("onAnimationUpdate",t,o)}},e)}}});t.component("qt-animation",n)}(t),function(t){t.component("qt-dialog",{setup(t,n){const o=e();return n.expose({viewRef:o,...Xn(o)}),()=>{const e=n.slots.default&&n.slots.default();return R("Modal",{ref:o},e)}}})}(t),function(t){const n=l({setup(t,n){const o=e();return n.expose({viewRef:o,scrollTo:function(e,t){P.callUIFunction(o.value,"scrollTo",[e,t])},scrollToWithOptions:function(e,t,n){P.callUIFunction(o.value,"scrollToWithOptions",[{x:e,y:t,duration:n}])},...Xn(o)}),()=>{const e=n.slots.default&&n.slots.default();return R("ScrollView",{ref:o},e)}}});t.component("qt-scroll-view",n)}(t),function(t){t.component("qt-lottie-view",{emits:["animation-event"],setup(t,n){const o=e();return n.expose({loadRaw:e=>{P.callUIFunction(o.value,"lottie_rawRes",[e])},loadFile:e=>{P.callUIFunction(o.value,"lottie_localRes",[e])},loadUrl:e=>{P.callUIFunction(o.value,"lottie_url",[e])},loadCacheUrl:(e,t)=>{P.callUIFunction(o.value,"lottie_cache_url",[e,t])},setFallbackResource:e=>{P.callUIFunction(o.value,"lottie_fallbackRes",[e])},setAutoPlay:e=>{P.callUIFunction(o.value,"lottie_autoPlay",[e])},setLottieLoop:e=>{P.callUIFunction(o.value,"lottie_loop",[e])},setRepeatMode:e=>{P.callUIFunction(o.value,"lottie_repeatMode",[e])},setRepeatCount:e=>{P.callUIFunction(o.value,"lottie_repeatCount",[e])},setSpeed:e=>{P.callUIFunction(o.value,"lottie_speed",[e])},setClipToCompositionBounds:e=>{P.callUIFunction(o.value,"lottie_clipToCompositionBounds",[e])},setDefaultFontFileExtension:e=>{P.callUIFunction(o.value,"lottie_defaultFontFileExtension",[e])},setImageAssetsFolder:e=>{P.callUIFunction(o.value,"lottie_imageAssetsFolder",[e])},setProgress:e=>{P.callUIFunction(o.value,"lottie_progress",[e])},enableMergePathsForKitKatAndAbove:e=>{P.callUIFunction(o.value,"lottie_enableMergePathsForKitKatAndAbove",[e])},setColorFilter:e=>{P.callUIFunction(o.value,"lottie_colorFilter",[e])},setRenderMode:e=>{P.callUIFunction(o.value,"lottie_renderMode",[e])},setAsyncUpdate:e=>{P.callUIFunction(o.value,"lottie_asyncUpdates",[e])},playAnimation:()=>{P.callUIFunction(o.value,"playAnimation",[])},setIgnoreDisabledSystemAnimations:e=>{P.callUIFunction(o.value,"lottie_ignoreDisabledSystemAnimations",[e])},setUseCompositionFrameRate:e=>{P.callUIFunction(o.value,"lottie_useCompositionFrameRate",[e])},resumeAnimation:()=>{P.callUIFunction(o.value,"resumeAnimation",[])},pauseAnimation:()=>{P.callUIFunction(o.value,"pauseAnimation",[])},cancelAnimation:()=>{P.callUIFunction(o.value,"cancelAnimation",[])},cacheComposition:e=>{P.callUIFunction(o.value,"cacheComposition",[e])},removeAllListener:()=>{P.callUIFunction(o.value,"removeAllListener",[])},...Xn(o)}),()=>{const e=n.slots.default&&n.slots.default();return R("ESLottieViewComponent",{ref:o,onAnimationEvent:e=>{n.emit("animation-event",e)}},e)}}})}(t),function(t){const n=l({setup(t,n){const o=e();return n.expose({setPackageName:function(e){P.callUIFunction(o.value,"setPackageName",[e],(e=>{}))},setRoundingRadius:function(e){P.callUIFunction(o.value,"setRoundingRadius",[e],(e=>{}))}}),()=>R("ESAppIconViewComponent",{ref:o})}});t.component("qt-app-icon",n)}(t);for(let e in Ci)t.component(Ci[e].name,Ci[e])};export{di as QTAnimationInterpolatorType,fi as QTAnimationPropertyName,_i as QTAnimationRepeatMode,Ti as QTAnimationValueType,mi as QTDirections,Li as QTGradientOrientation,Ui as QTGradientShape,Di as QTGradientType,gi as QTIViewVisibility,Ni as QTLottieAsyncUpdates,Pi as QTLottieRepeatMode,si as QTMediaSeriesStyleType,ci as QTMediaSeriesType,hi as QTNavBarItemType,vi as QTScrollState,Ei as QTSeekBarGravity,bi as QTSeekBarIndicatorMode,Fi as QTSeekBarMode,yi as QTSeekBarTickMarkGravity,Ri as QTSeekBarTickMarkLayoutGravity,Ai as QTSeekBarTickMarkMode,Si as QTTabItemType,Oa as QTTabPageState,ca as QTWaterfallItemType,la as QTWaterfallSectionType,Ra as QTWaterfallVisibleType,ki as QuickTVUI,xi as arrangeChildren4ListView,wo as qtGetParent,$o as qtRef,Co as qtWatchAll};
20
+ /*! #__NO_SIDE_EFFECTS__ */function _n(e,t){return V(e)?(()=>w({name:e.name},t,{setup:e}))():e}const Tn=e=>e?4&e.vnode.shapeFlag?function(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy((n=e.exposed,Object.isExtensible(n)&&te(n,"__v_skip",!0),mt(t=n)?t:new Proxy(t,yt)),{get:(t,n)=>n in t?t[n]:n in pn?pn[n](e):void 0,has:(e,t)=>t in e||t in pn}));var t;var n}(e)||e.proxy:Tn(e.parent):null,pn=w(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>"production"!==process.env.NODE_ENV?It(e.props):e.props,$attrs:e=>"production"!==process.env.NODE_ENV?It(e.attrs):e.attrs,$slots:e=>"production"!==process.env.NODE_ENV?It(e.slots):e.slots,$refs:e=>"production"!==process.env.NODE_ENV?It(e.refs):e.refs,$parent:e=>Tn(e.parent),$root:e=>Tn(e.root),$emit:e=>e.emit,$options:e=>__VUE_OPTIONS_API__?function(e){const t=e.type,{mixins:n,extends:o}=t,{mixins:a,optionsCache:i,config:{optionMergeStrategies:l}}=e.appContext,c=i.get(t);let s;c?s=c:a.length||n||o?(s={},a.length&&a.forEach((e=>hn(s,e,l,!0))),hn(s,t,l)):s=t;q(t)&&i.set(t,s);return s}(e):e.type,$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,qt(e.update)}),$nextTick:e=>e.n||(e.n=Wt.bind(e.proxy)),$watch:e=>__VUE_OPTIONS_API__?dn.bind(e):C}),In=(e,t)=>e!==x&&!e.__isScriptSetup&&B(e,t),gn={get({_:e},t){if("__v_skip"===t)return!0;const{ctx:n,setupState:o,data:a,props:i,accessCache:l,type:c,appContext:s}=e;if("production"!==process.env.NODE_ENV&&"__isVue"===t)return!0;let r;if("$"!==t[0]){const c=l[t];if(void 0!==c)switch(c){case 1:return o[t];case 2:return a[t];case 4:return n[t];case 3:return i[t]}else{if(In(o,t))return l[t]=1,o[t];if(a!==x&&B(a,t))return l[t]=2,a[t];if((r=e.propsOptions[0])&&B(r,t))return l[t]=3,i[t];if(n!==x&&B(n,t))return l[t]=4,n[t];__VUE_OPTIONS_API__&&!vn||(l[t]=0)}}const u=pn[t];let d,f;return u?("$attrs"===t?(Ne(e.attrs,"get",""),process.env.NODE_ENV):"production"!==process.env.NODE_ENV&&"$slots"===t&&Ne(e,"get",t),u(e)):(d=c.__cssModules)&&(d=d[t])?d:n!==x&&B(n,t)?(l[t]=4,n[t]):(f=s.config.globalProperties,B(f,t)?f[t]:void("production"===process.env.NODE_ENV||!an||Y(t)&&0===t.indexOf("__v")||(a!==x&&(e=>"_"===e||"$"===e)(t[0])&&B(a,t)?Pt(`Property ${JSON.stringify(t)} must be accessed via $data because it starts with a reserved character ("$" or "_") and is not proxied on the render context.`):e===an&&Pt(`Property ${JSON.stringify(t)} was accessed during render but is not defined on instance.`))))},set({_:e},t,n){const{data:o,setupState:a,ctx:i}=e;return In(a,t)?(a[t]=n,!0):"production"!==process.env.NODE_ENV&&a.__isScriptSetup&&B(a,t)?(Pt(`Cannot mutate <script setup> binding "${t}" from Options API.`),!1):o!==x&&B(o,t)?(o[t]=n,!0):B(e.props,t)?("production"!==process.env.NODE_ENV&&Pt(`Attempting to mutate prop "${t}". Props are readonly.`),!1):"$"===t[0]&&t.slice(1)in e?("production"!==process.env.NODE_ENV&&Pt(`Attempting to mutate public property "${t}". Properties starting with $ are reserved and readonly.`),!1):("production"!==process.env.NODE_ENV&&t in e.appContext.config.globalProperties?Object.defineProperty(i,t,{enumerable:!0,configurable:!0,value:n}):i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:o,appContext:a,propsOptions:i}},l){let c;return!!n[l]||e!==x&&B(e,l)||In(t,l)||(c=i[0])&&B(c,l)||B(o,l)||B(pn,l)||B(a.config.globalProperties,l)},defineProperty(e,t,n){return null!=n.get?e._.accessCache[t]=0:B(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function mn(e){return Q(e)?e.reduce(((e,t)=>(e[t]=null,e)),{}):e}"production"!==process.env.NODE_ENV&&(gn.ownKeys=e=>(Pt("Avoid app logic that relies on enumerating keys on a component instance. The keys will be empty in production mode to avoid performance overhead."),Reflect.ownKeys(e)));let vn=!0;function hn(e,t,n,o=!1){const{mixins:a,extends:i}=t;i&&hn(e,i,n,!0),a&&a.forEach((t=>hn(e,t,n,!0)));for(const a in t)if(o&&"expose"===a)"production"!==process.env.NODE_ENV&&Pt('"expose" option is ignored when declared in mixins or extends. It should only be declared in the base component itself.');else{const o=Sn[a]||n&&n[a];e[a]=o?o(e[a],t[a]):t[a]}return e}const Sn={data:Fn,props:yn,emits:yn,methods:An,computed:An,beforeCreate:bn,created:bn,beforeMount:bn,mounted:bn,beforeUpdate:bn,updated:bn,beforeDestroy:bn,beforeUnmount:bn,destroyed:bn,unmounted:bn,activated:bn,deactivated:bn,errorCaptured:bn,serverPrefetch:bn,components:An,directives:An,watch:function(e,t){if(!e)return t;if(!t)return e;const n=w(Object.create(null),e);for(const o in t)n[o]=bn(e[o],t[o]);return n},provide:Fn,inject:function(e,t){return An(En(e),En(t))}};function Fn(e,t){return t?e?function(){return w(V(e)?e.call(this,this):e,V(t)?t.call(this,this):t)}:t:e}function En(e){if(Q(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function bn(e,t){return e?[...new Set([].concat(e,t))]:t}function An(e,t){return e?w(Object.create(null),e,t):t}function yn(e,t){return e?Q(e)&&Q(t)?[...new Set([...e,...t])]:w(Object.create(null),mn(e),mn(null!=t?t:{})):t}let Rn=null;const Pn={},Nn=e=>Object.getPrototypeOf(e)===Pn,Ln=function(e,t){t&&t.pendingBranch?Q(e)?t.effects.push(...e):t.effects.push(e):Ht(e)},Un=Symbol.for("v-fgt"),Dn=Symbol.for("v-txt"),On=Symbol.for("v-cmt");let xn=null;const Cn=({key:e})=>null!=e?e:null,kn=({ref:e,ref_key:t,ref_for:n})=>("number"==typeof e&&(e=""+e),null!=e?Y(e)||At(e)||V(e)?{i:an,r:e,k:t,f:!!n}:e:null);const wn="production"!==process.env.NODE_ENV?(...e)=>Mn(...e):Mn;function Mn(e,t=null,n=null,o=0,a=null,i=!1){if(e&&e!==cn||("production"===process.env.NODE_ENV||e||Pt(`Invalid vnode type when creating vnode: ${e}.`),e=On),(l=e)&&!0===l.__v_isVNode){const o=Bn(e,t,!0);return n&&$n(o,n),!i&&xn&&(6&o.shapeFlag?xn[xn.indexOf(e)]=o:xn.push(o)),o.patchFlag|=-2,o}var l;if(Jn(e)&&(e=e.__vccOpts),t){t=function(e){return e?St(e)||Nn(e)?w({},e):e:null}(t);let{class:e,style:n}=t;e&&!Y(e)&&(t.class=re(e)),q(n)&&(St(n)&&!Q(n)&&(n=w({},n)),t.style=ae(n))}const c=Y(e)?1:(e=>e.__isSuspense)(e)?128:(e=>e.__isTeleport)(e)?64:q(e)?4:V(e)?2:0;return"production"!==process.env.NODE_ENV&&4&c&&St(e)&&Pt("Vue received a Component that was made a reactive object. This can lead to unnecessary performance overhead and should be avoided by marking the component with `markRaw` or using `shallowRef` instead of `ref`.","\nComponent that was made reactive: ",e=Ft(e)),function(e,t=null,n=null,o=0,a=null,i=(e===Un?0:1),l=!1,c=!1){const s={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Cn(t),ref:t&&kn(t),scopeId:ln,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:o,dynamicProps:a,dynamicChildren:null,appContext:null,ctx:an};return c?($n(s,n),128&i&&e.normalize(s)):n&&(s.shapeFlag|=Y(n)?8:16),"production"!==process.env.NODE_ENV&&s.key!=s.key&&Pt("VNode created with invalid key (NaN). VNode type:",s.type),!l&&xn&&(s.patchFlag>0||6&i)&&32!==s.patchFlag&&xn.push(s),s}(e,t,n,o,a,c,i,!0)}function Bn(e,t,n=!1){const{props:o,ref:a,patchFlag:i,children:l}=e,c=t?function(...e){const t={};for(let n=0;n<e.length;n++){const o=e[n];for(const e in o)if("class"===e)t.class!==o.class&&(t.class=re([t.class,o.class]));else if("style"===e)t.style=ae([t.style,o.style]);else if(k(e)){const n=t[e],a=o[e];!a||n===a||Q(n)&&n.includes(a)||(t[e]=n?[].concat(n,a):a)}else""!==e&&(t[e]=o[e])}return t}(o||{},t):o;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&Cn(c),ref:t&&t.ref?n&&a?Q(a)?a.concat(kn(t)):[a,kn(t)]:kn(t):a,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:"production"!==process.env.NODE_ENV&&-1===i&&Q(l)?l.map(Qn):l,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Un?-1===i?16:16|i:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Bn(e.ssContent),ssFallback:e.ssFallback&&Bn(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function Qn(e){const t=Bn(e);return Q(e.children)&&(t.children=e.children.map(Qn)),t}function Gn(e=" ",t=0){return wn(Dn,null,e,t)}function $n(e,t){let n=0;const{shapeFlag:o}=e;if(null==t)t=null;else if(Q(t))n=16;else if("object"==typeof t){if(65&o){const n=t.default;return void(n&&(n._c&&(n._d=!1),$n(e,n()),n._c&&(n._d=!0)))}{n=32;const o=t._;o||Nn(t)?3===o&&an&&(1===an.slots._?t._=1:(t._=2,e.patchFlag|=1024)):t._ctx=an}}else V(t)?(t={default:t,_ctx:an},n=32):(t=String(t),64&o?(n=16,t=[Gn(t)]):n=8);e.children=t,e.shapeFlag|=n}let Vn,Yn=null;{const e=oe(),t=(t,n)=>{let o;return(o=e[t])||(o=e[t]=[]),o.push(n),e=>{o.length>1?o.forEach((t=>t(e))):o[0](e)}};Vn=t("__VUE_INSTANCE_SETTERS__",(e=>Yn=e)),t("__VUE_SSR_SETTERS__",(e=>qn=e))}const Wn=e=>{const t=Yn;return Vn(e),e.scope.on(),()=>{e.scope.off(),Vn(t)}};let qn=!1;process.env.NODE_ENV;const zn=/(?:^|[-_])(\w)/g,Hn=e=>e.replace(zn,(e=>e.toUpperCase())).replace(/[-_]/g,"");function jn(e,t=!0){return V(e)?e.displayName||e.name:e.name||t&&e.__name}function Kn(e,t,n=!1){let o=jn(t);if(!o&&t.__file){const e=t.__file.match(/([^/\\]+)\.\w+$/);e&&(o=e[1])}if(!o&&e&&e.parent){const n=e=>{for(const n in e)if(e[n]===t)return n};o=n(e.components||e.parent.type.components)||n(e.appContext.components)}return o?Hn(o):n?"App":"Anonymous"}function Jn(e){return V(e)&&"__vccOpts"in e}function Xn(e){return{dispatchFunctionBySid:(t,n,o)=>{e.value&&P.callUIFunction(e.value,"dispatchFunctionBySid",[t,n,o])},requestFocus:()=>{e.value&&P.callUIFunction(e.value,"requestFocus")},clearFocus:()=>{e.value&&P.callUIFunction(e.value,"clearFocus")},requestFocusDirectly:()=>{e.value&&P.callUIFunction(e.value,"requestFocusDirectly")},setVisibility:t=>{e.value&&P.callUIFunction(e.value,"changeVisibility",[t])}}}process.env.NODE_ENV,process.env.NODE_ENV,process.env.NODE_ENV;var Zn=_n({name:"qt-view",emits:["clearFocus"],setup(t,n){const o=e();return{viewRef:o,...Xn(o)}}});const eo={clipChildren:!1,ref:"viewRef"};Zn.render=function(e,a,i,l,c,s){return t(),n("div",eo,[o(e.$slots,"default")],512)},Zn.__file="src/view/index.vue";var to=_n({name:"qt-text",setup(t,n){const o=e();return{viewRef:o,...Xn(o)}}});to.render=function(e,n,o,l,c,s){const r=a("text-view");return t(),i(r,{ref:"viewRef"},null,512)},to.__file="src/text/index.vue";var no=_n({name:"qt-image",setup(t,n){const o=e();return{viewRef:o,...Xn(o)}}});const oo={src:"",alt:"",clipChildren:!1,ref:"viewRef"};no.render=function(e,o,a,i,l,c){return t(),n("img",oo,null,512)},no.__file="src/image/index.vue";var ao=_n({name:"qt-column",setup(t,n){const o=e();return{viewRef:o,...Xn(o)}}});const io={class:"qt-ui-row-css",clipChildren:!1,ref:"viewRef"};ao.render=function(e,a,i,l,c,s){return t(),n("div",io,[o(e.$slots,"default")],512)},ao.__scopeId="data-v-734c04b2",ao.__file="src/column/index.vue";var lo=_n({name:"qt-row",setup(t,n){const o=e();return{viewRef:o,...Xn(o)}}});const co={class:"qt-ui-row-css",clipChildren:!1,ref:"viewRef"};lo.render=function(e,a,i,l,c,s){return t(),n("div",co,[o(e.$slots,"default")],512)},lo.__scopeId="data-v-9c454b58",lo.__file="src/row/index.vue";var so=l({name:"qt-button",props:{size:{type:String,default:"default"},itemType:{type:Number,default:2e4},focusBorder:{type:Boolean,default:!1},focusScale:{type:Number,default:1.08},focusable:{type:Boolean,default:!0},enableFlexStyle:{type:Boolean,default:!1},icon:{type:String,default:null},focusIcon:{type:String,default:null},text:{type:String,default:""},gradientFocusBackground:{type:Object,default:()=>{}},gradientSelectedBackground:{type:Object,default:()=>null},gradientBackground:{type:Object,default:()=>null},disabled:Boolean,circle:Boolean,round:Boolean,square:Boolean,buttonStyle:Object,textStyle:Object,iconStyle:Object,focusIconStyle:Object,iconParentStyle:Object},emits:["focus","click"],setup(t,n){const o=e(),a=e(!1);return{buttonRef:o,focused:a,onFocus:function(e){a.value=e.isFocused,n.emit("focus",e.isFocused)},onClick:function(e){n.emit("click")},...Xn(o)}}});const ro=["focusable","enableFocusBorder","focusScale"],uo=["gradientBackground"],fo=["gradientBackground"],_o=["gradientBackground"],To=["src"],po=["src"];so.render=function(e,l,d,f,_,T){const p=a("text-view");return t(),n("div",{ref:"buttonRef",clipChildren:!1,focusable:e.focusable,enableFocusBorder:e.focusBorder,focusScale:e.focusScale,onClick:l[0]||(l[0]=(...t)=>e.onClick&&e.onClick(...t)),name:"textButton",eventClick:"",eventFocus:"",onFocus:l[1]||(l[1]=(...t)=>e.onFocus&&e.onFocus(...t)),style:c(e.buttonStyle),class:s(["quick-button--default",e.size?"quick-button--"+e.size:"",{"is-disabled-button":e.disabled,"is-circle":e.circle,"is-round":e.round,"is-square":e.square}])},[r(" gradient "),e.gradientFocusBackground?(t(),n("div",{key:0,class:"button-gradient-background-css",gradientBackground:e.gradientFocusBackground,focusable:!1,showOnState:"focused"},null,8,uo)):r("v-if",!0),e.gradientSelectedBackground?(t(),n("div",{key:1,class:"button-gradient-background-css",gradientBackground:e.gradientSelectedBackground,focusable:!1,showOnState:"selected"},null,8,fo)):r("v-if",!0),e.gradientBackground?(t(),n("div",{key:2,class:"button-gradient-background-css",gradientBackground:e.gradientBackground,focusable:!1,showOnState:"normal"},null,8,_o)):r("v-if",!0),r(" -----------------------------icon--------------------------------- "),!e.icon&&!e.focusIcon||e.$slots.default?r("v-if",!0):(t(),n("div",{key:3,duplicateParentState:!0,style:c(e.iconParentStyle),flexStyle:"${iconParentStyle}",class:s(["quick-button-icon-parent",e.size?"quick-button-icon--parent"+e.size:""])},[e.icon&&!e.$slots.default?(t(),n("img",{key:0,style:c(e.iconStyle),flexStyle:"${iconStyle}",duplicateParentState:!0,class:s(["quick-button-icon",e.size?"quick-button-icon--"+e.size:"",{"is-square-icon":e.square}]),focusable:!1,src:e.enableFlexStyle?"${"+e.icon+"}":e.icon,showOnState:"normal"},null,14,To)):r("v-if",!0),e.focusIcon&&!e.$slots.default?(t(),n("img",{key:1,style:c(e.focusIconStyle?e.focusIconStyle:e.iconStyle),flexStyle:"${iconStyle}",class:s(["quick-button-icon",e.size?"quick-button-icon--"+e.size:"",{"is-square-icon":e.square}]),focusable:!1,duplicateParentState:!0,src:e.enableFlexStyle?"${"+e.focusIcon+"}":e.focusIcon,showOnState:"focused"},null,14,po)):r("v-if",!0)],6)),r(" ------------------------------------------------------------------- "),r(" text "),e.enableFlexStyle?(t(),i(p,{key:4,style:c(e.textStyle),duplicateParentState:"",class:s([e.size?"quick-button-text--"+e.size:"",{"is-disabled-text":e.disabled,"is-square-text":e.square}]),focusable:!1,text:"${"+e.text+"}",autoWidth:"",autoHeight:""},null,8,["style","class","text"])):e.text&&!e.$slots.default?(t(),n("span",{key:5,style:c(e.textStyle),duplicateParentState:"",class:s([e.size?"quick-button-text--"+e.size:"",{"is-disabled-text":e.disabled,"is-square-text":e.square}]),focusable:!1},u(e.text),7)):r("v-if",!0),o(e.$slots,"default")],46,ro)},so.__scopeId="data-v-46a594e4",so.__file="src/button/index.vue";let Io,go=[];class mo{fn;scheduler;active=!0;deeps=[];constructor(e,t){this.fn=e,this.scheduler=t}run(){if(!this.active)return this.fn();if(!go.includes(this))try{return go.push(Io=this),this.fn()}finally{go.pop(),Io=go[go.length-1]}}stop(){this.active&&(!function(e){const{deeps:t}=e;for(const n of t)n.delete(e)}(this),this.active=!1)}}function vo(){return void 0!==Io}const ho=new WeakMap;function So(e){e&&ho.delete(e)}function Fo(e,t){if(!vo()||null==e)return;let n=ho.get(e);if(n||ho.set(e,n=new Map),null!=t){let e=n.get(t);e||n.set(t,e=new Set),Eo(e)}}function Eo(e){e.has(Io)||(e.add(Io),Io.deeps.push(e))}function bo(e,t,n,o,a){let i=ho.get(e);if(!i)return;let l=[];if(null!=t){let e=i.get(t);e||(e=i.get("__ls_watchAll")),e&&l.push(e)}let c=[];for(const e of l)c.push(...e);Ao(c,e,t,n,o,a)}function Ao(e,t,n,o,a,i){for(const l of e)if(l!==Io){if(l.scheduler)return l.scheduler(t,n,o,a,i);l.run(t,n,o,a,i)}}class yo{start;end;deleteCount;datas=new Map;names=new Map;dataArr;updateCount=0;constructor(e,t,n=-1){this.start=e,this.end=t,this.deleteCount=n}resetData(){this.start=-1,this.end=-1,this.deleteCount=1,this.datas.size&&(this.datas=new Map)}}const Ro={set:"set",qtSet:"__qt_set",push:"push",splice:"splice",pop:"pop",concat:"concat",unknownSet:"__qt_unknownSet",currentType:"__qt_currentType",expectCangeNum:"__qt_expectCangeNum",isInit:"__qt_is_init"};const Po=new class{targetFlags=new WeakMap;targetMaps=new WeakMap;getFlag(e){let t=this.targetFlags.get(e);return t||this.targetFlags.set(e,t=new Map),t}getTargetType(e,t){return this.getType(e)?.get(t)}getType(e){return this.targetMaps.get(e)}setType(e,t,n){let o=this.targetMaps.get(e);o||this.targetMaps.set(e,o=new Map),o.set(t,n),this.getFlag(e).set(Ro.currentType,t)}deleteType(e,t){if("object"!=typeof e)return;let n=this.targetMaps.get(e);this.targetFlags.delete(e),n&&(t?n.delete(t):this.targetMaps.delete(e))}changeTypeData(e,t,n){if(this.getFlag(e).get(Ro.currentType)===Ro.pop)return!1;const o=this.getType(e);let a=!1;o&&!isNaN(Number(t))&&o.forEach(((e,o)=>{Number(t)>=e.start&&Number(t)<=e.end&&(e.datas.set(t,n),a=!0)}));let i=this.getFlag(e).get(Ro.expectCangeNum);return i&&i>0?(this.getFlag(e).set(Ro.expectCangeNum,--i),!0):a}changeOfsetType(e,t,n,o){let a=this.getTargetType(e,Ro.qtSet);if(a){if(a.datas.set(t,n),o){const e=a.names.get(t);e?e.add(o):a.names.set(t,new Set([o]))}}else{const i=Array.isArray(t)?Number(t[0]):Number(t);if(a=new yo(i,-1),a.datas.set(t,n),o){const e=a.names.get(t);e?e.add(o):a.names.set(t,new Set([o]))}this.setType(e,Ro.qtSet,a)}}};class No extends Array{push(...e){if(e.length){const t=this.__v_raw.length,n=t+e.length-1,o=Po.getTargetType(this.__v_raw,Ro.push);if(o)o.end+=e.length;else{const e=new yo(t,n);Po.setType(this.__v_raw,Ro.push,e)}}return super.push(...e)}splice(e,t,...n){e<0&&(e=0),(e>=this.__v_raw.length||t<0)&&(t=0);let o=e;o=n&&n.length?e+n.length-1:-1;let a=Po.getTargetType(this.__v_raw,Ro.pop);return a||(a=new yo(e,o,t),Po.setType(this.__v_raw,Ro.splice,a),Po.getFlag(this.__v_raw).set(Ro.expectCangeNum,this.__v_raw.length+n.length-t-e)),super.splice(e,t,...n)}pop(){if(this.__v_raw.length){const e=this.__v_raw.length-1,t=e,n=1,o=Po.getTargetType(this.__v_raw,Ro.pop);if(o)o.start-=1,o.deleteCount+=n;else{const o=new yo(e,t,n);Po.setType(this.__v_raw,Ro.pop,o)}}return super.pop()}concat(e){if(e.length){const t=this.__v_raw.length,n=t+e.length-1;let o=Po.getTargetType(this.__v_raw,Ro.pop);o?o.end+=e.length:(o=new yo(t,n),o.dataArr=e,Po.setType(this.__v_raw,Ro.concat,o))}return super.concat(...e)}}const Lo=(e,t)=>{return o=t,(null===(n=e)||null===o||void 0===n||void 0===o?n===o:n&&o?n.constructor.name===o.constructor.name:typeof n==typeof o)&&("object"==typeof e?((e,t)=>e.__qt_key_&&t.__qt_key_?e.__qt_key_===t.__qt_key_:JSON.stringify(e)===JSON.stringify(t))(e,t):e==t);var n,o},Uo=(e,t)=>{let n=!1;return e.__qt_key_&&t.__qt_key_&&(n=e.__qt_key_===t.__qt_key_),n&&e.__qt_change_num_&&t.__qt_change_num_&&(n=t.__qt_change_num_>e.__qt_change_num_),n},Do=(e,t,n)=>{const o=new yo(-1,-1),a=new yo(-1,-1),i=new yo(-1,-1);for(let o=0;o<e.length;o++){const i=e[o];t.find((e=>Lo(i,e)))?a.deleteCount>0&&(n.delete(a.start,a.deleteCount),a.resetData()):-1===a.start?(a.start=o,a.deleteCount=1):a.deleteCount++}a.deleteCount>0&&n.delete(a.start,a.deleteCount);let l=-1;for(let a=0;a<t.length;a++){const c=t[a],s=e.find(((e,t)=>!!(Lo(e,c)&&t>l)&&(l=t,!0)));if(s){i.datas.size&&(n.insert(i.start,i.datas),i.resetData());Uo(s,c)&&(-1===o.start?(o.start=a,o.updateCount=1,o.end=o.start+o.updateCount):a>o.start&&a<=o.end?(o.updateCount++,o.end++):(n.update(o.start,o.datas),o.resetData(),o.start=a,o.updateCount=1,o.end=o.start+o.updateCount),o.datas.set(a,c))}else-1===i.start&&(i.start=a),i.datas.set(a,c),o.datas.size&&(n.update(o.start,o.datas),o.resetData())}o.datas.size&&n.update(o.start,o.datas),i.datas.size&&n.add(Array.from(i.datas.values()))},Oo=e=>e+(Date.now()+1e6*Math.random()),xo=e=>{if(q(e)){const t=Q(e)?[]:{};for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)){const o=e[n];q(o)?(Q(o)||(o.__qt_key_||(o.__qt_key_=Oo(n)),o.__qt_change_num_||(o.__qt_change_num_=1)),t[n]=xo(o)):t[n]=o}return t}return e};function Co(e,t){if(!e||!q(e))return;let n=e.__v_raw,o=xo(n),a=null;const i=new mo((()=>{Fo(n,"__ls_watchAll")}),((e,l,c,s,r)=>{var u;"__ls_reset_ref_value"===s&&Po.getFlag(c).set(Ro.isInit,!0),u=()=>{const a="__ls_reset_ref_value"===s?c:e,i=Po.getType(e),l=Po.getFlag(e).get(Ro.currentType);!Po.getFlag(a).get(Ro.isInit)||o&&o.length&&l===Ro.concat?o&&o.length||!a?i&&1===i.size?i.forEach(((e,n)=>{n!==Ro.push&&n!==Ro.concat||t.add(e.dataArr||Array.from(e.datas.values())),n===Ro.pop&&t.delete(e.start,e.deleteCount),n===Ro.qtSet&&t.update(e.start,e.datas,e.names),n===Ro.splice&&(e.deleteCount&&t.delete(e.start,e.deleteCount),e.datas.size&&t.insert(e.start,e.datas))})):Do(o,a,t):t.init(a):a&&a.length?t.init(a):t.clear(),Po.deleteType(o),Po.deleteType(e),Po.deleteType(n),Po.deleteType(a),o=xo(n)},clearTimeout(a),a=setTimeout((()=>{u()}),10),"__ls_reset_ref_value"===s&&(So(n),n=c,i.run(),t.resetValue?.(n))}));return i.run(),{stop(){So(n),i.stop(),clearTimeout(a)}}}const ko=new WeakMap,wo=(e,t,n)=>{if(!q(e))return;if(n>=t.length-1)return e;n<0&&(n=0);const o=t.length-1-n;let a=e;for(let e=1;e<=o;e++){if(a=a[t[e]],!q(a))break}return a},Mo=(e,t=[])=>({get(n,o,a){if("__qt_root"===o)return e;if("__qt_path"===o)return t;if("__v_isReactive"===o)return!0;if("__ls_watchAll"===o||"__v_raw"===o)return n;Fo(n,o);const i=Reflect.get(n,o,a);if(q(i)){return Bo(i,e,[...t,o])}return i},set(e,t,n,o){let a=e[t];d(n)&&(n=f(n)),q(n)&&!Q(n)&&"string"==typeof t&&(n.__qt_key_||(q(a)?n.__qt_key_=a.__qt_key_||Oo(t):n.__qt_key_=Oo(t)),n.__qt_change_num_||(q(a)?n.__qt_change_num_=a.__qt_change_num_||1:n.__qt_change_num_=1));const i=Reflect.set(e,t,n,o);try{if(((e,t)=>"string"==typeof t?!t.startsWith("__qt_"):e.hasOwnProperty(t))(e,t)&&a!=n){q(n)&&n.__qt_change_num_&&n.__qt_change_num_++;const i=o.__qt_root,l=o.__qt_path;if(l&&l.length&&!d(n)){const e=l[0],n=i[e];q(n)&&n.__qt_change_num_&&n.__qt_change_num_++,Po.changeOfsetType(i,l,n,t),bo(i,e,n,Ro.set,a)}else if(Array.isArray(e)&&!isNaN(Number(t))){Po.changeTypeData(e,t,n)||Po.changeOfsetType(e,t,n),bo(e,t,n,Ro.set,a)}else bo(e,t,n,Ro.set,a)}}catch(e){}return i}});function Bo(e,t,n){return q(e)?e.__v_isReactive?e:(Array.isArray(e)&&(e.__proto__=new No),t||(t=e),new Proxy(e,Mo(t,n))):e}function Qo(e,t,n){return q(e)?function(e,t,n){const o=ko.get(e);if(o)return o;const a=Bo(e,t,n);return ko.set(e,a),a}(e,t,n):e}class Go{dep=new Set;__v_isRef=!0;_value;_rawValue;constructor(e=[]){this._rawValue=xo(e),this._value=Qo(this._rawValue)}get value(){return vo()&&Eo(this.dep||(this.dep=new Set)),this._value}set value(e){(e=xo(e))!==this._rawValue&&(this._value=Qo(e),bo(this._rawValue,"__ls_watchAll",e,"__ls_reset_ref_value",this._rawValue),Ao(this.dep,this._rawValue,void 0,e,"",this._rawValue),this._rawValue=e)}}function $o(e){return function(e){return new Go(e)}(e)}var Vo=l({name:"qt-grid-view",props:{loadMore:{type:Function,default:function(){return[1,1]}},openPage:{type:Boolean,default:!1},spanCount:{type:Number,default:0},pageSize:{type:Number,default:0},preloadNo:{type:Number,default:0},defaultFocus:{type:Number,default:-1},areaWidth:{type:Number,default:1200},blockFocusDirections:{type:Array,default:()=>[]},loadingDecoration:{type:Object,default:()=>({top:15,left:30})},listData:{type:Array,required:!1}},emits:["item-click","scroll","item-unbind","scroll-state-changed","item-bind","item-focused"],setup(t,n){const o=e();let a=$o(),i=0,l=!1,c=e(!1),s=[],r=null;const u=()=>t.listData||a.value;_((()=>{u().length&&o.value&&(s=u(),o.value.setListDataWithParams(f(u()),!0,!0))}));let d=0;const I=[{_id:"",type:1002,decoration:t.loadingDecoration}],g=()=>{t.openPage&&0===d&&s.length>=t.pageSize&&!l&&(o.value.addListData(I),d=s.length)},m=()=>{d>0&&(o.value.deleteItem(d,1),d=0)};let v=null;const h=()=>{l=!0,clearTimeout(v),v=setTimeout((()=>{l=!0,m()}),20)},S=()=>{l=!1,i=0},F=()=>{!l&&t.loadMore&&(i++,t.loadMore(i))},E=Co(u(),{resetValue(e){s=e},init(e){o.value&&(o.value.setListDataWithParams(e,!0,!0),m(),g(),S(),t.listData&&(i=1),t.defaultFocus>-1&&e.length&&t.defaultFocus<e.length&&(clearTimeout(r),r=setTimeout((()=>{P(t.defaultFocus)}),300+10*e.length)))},add(e){o.value.addListData(e),m(),g()},update(e,t,n){t.forEach(((e,t)=>{o.value.updateItem(Number(t),e)}))},insert(e,t){let n=[...t.values()];o.value.addItem(e,n),m(),g()},delete(e,t){o.value.deleteItem(e,t)},clear(){o.value.setListDataWithParams([],!0,!0),d=0}}),{requestFocus:b,requestFocusDirectly:A,setVisibility:y}=Xn(o);T((()=>{t.openPage&&!t.listData&&(S(),F())}));const R=e=>{o.value.scrollToPosition(e)},P=e=>{o.value.requestFocus(e)},N=(e,t)=>{o.value.setSelectPosition(e,t)};p((()=>{E?.stop(),S(),c.value=!1,l=!1,clearTimeout(v),clearTimeout(r)}));let L=-1;return{tv_list:o,init:(e,n)=>t.listData?[]:e?(a.value=e,a.value):a.value,onItemClick:e=>{n.emit("item-click",e)},onItemBind:e=>{if(t.openPage&&!l&&s.length>=t.pageSize){let n=t.preloadNo;(n<0||n>=s.length)&&(n=0),e.position==s.length-1-n&&F()}n.emit("item-bind",e)},onItemFocused:e=>{n.emit("item-focused",e)},restartPage:()=>{if(!t.listData){clearTimeout(L);let e=0;l||(e=420,h()),L=setTimeout((()=>{c.value=!0,i=1,l=!1,t.loadMore(i)}),e)}},isRestartPage:c,onItemUnbind:e=>{n.emit("item-unbind",e)},onScroll:e=>{n.emit("scroll",e)},onScrollStateChanged:e=>{n.emit("scroll-state-changed",e)},stopPage:h,scrollToTop:()=>{o.value.scrollToTop()},clearFocus:()=>{o.value.clearFocus()},blockRootFocus:()=>{o.value.blockRootFocus()},unBlockRootFocus:()=>{o.value.unBlockRootFocus()},setDisplay:e=>{o.value.setDisplay(e)},scrollToPosition:R,scrollToIndex:(e,t,n)=>{o.value.scrollToIndex(0,e,t,n)},setItemFocused:P,scrollToFocused:e=>{R(e),P(e)},setItemSelected:N,scrollToSelected:(e,t)=>{R(e),N(e,t)},setInitPosition:e=>{o.value.setInitPosition(e)},setListData:e=>{o.value.setListData(e)},clearPostTask:()=>{o.value.clearPostTask()},destroy:()=>{o.value.destroy()},requestFocus:b,requestFocusDirectly:A,setVisibility:y}}});Vo.render=function(e,n,l,c,s,r){const u=a("tv-list");return t(),i(u,{class:"tv_list",ref:"tv_list",name:"tv_list",spanCount:e.spanCount,onItemBind:e.onItemBind,onItemClick:e.onItemClick,onItemFocused:e.onItemFocused,onItemUnbind:e.onItemUnbind,onScroll:e.onScroll,onScrollStateChanged:e.onScrollStateChanged,onSetListData:e.setListData,blockFocusDirections:e.blockFocusDirections},{default:I((()=>[o(e.$slots,"header"),o(e.$slots,"default"),o(e.$slots,"footer"),o(e.$slots,"loading")])),_:3},8,["spanCount","onItemBind","onItemClick","onItemFocused","onItemUnbind","onScroll","onScrollStateChanged","onSetListData","blockFocusDirections"])},Vo.__file="src/grid-view/index.vue";var Yo=_n({name:"qt-poster-focus-title",props:{fontSize:{type:Number,default:20}},setup(e,t){}});const Wo={class:"absoluteFocusTitleRoot",flexStyle:"${titleFocusStyle}",autoHeight:"",focusable:!1},qo={class:"absoluteFocusMainBgRoot",duplicateParentState:!0,focusable:!1,showIf:"${focusTitle.enable}"};Yo.render=function(e,o,i,l,c,s){const u=a("text-view");return t(),n("div",Wo,[r(" 浮动标题"),g(u,{duplicateParentState:!0,focusable:!1,fontSize:26,ellipsizeMode:2,lines:1,paddingRect:[16,18,0,0],gradientBackground:"${floatTitle.background}",style:{height:"64px",color:"#ffffff"},flexStyle:"${floatTitle.style}",text:"${floatTitle}",showIf:"${floatTitle.enable}",gravity:"left",postDelay:250}),m("div",qo,[r(" 主标题 "),g(u,{duplicateParentState:!0,focusable:!1,fontSize:30,ellipsizeMode:2,autoHeight:"",maxLines:2,gravity:"left",paddingRect:[16,8,12,8],style:{"background-color":"transparent",color:"#000000"},flexStyle:"${focusTitle.style}",text:"${focusTitle.text}"}),r(" 副标题 "),g(u,{duplicateParentState:!0,focusable:!1,fontSize:24,ellipsizeMode:2,lines:1,autoHeight:"",gravity:"left|top",paddingRect:[16,0,0,16],style:{color:"rgba(0,0,0,.4)","background-color":"transparent"},flexStyle:"${subTitle.style}",text:"${subTitle.text}",visibility:"${subTitle}"})])])},Yo.__scopeId="data-v-703673b8",Yo.__file="src/poster/qt-poster-focus-title.vue";var zo=_n({name:"qt-poster-corner-title",props:{fontSize:{type:Number,default:20}},setup(e,t){}});const Ho={class:"cornerRoot",focusable:!1},jo=(e=>(v("data-v-4b767ea2"),e=e(),h(),e))((()=>m("img",{focusable:!1,flexStyle:"${corner.style}",src:"${corner.src}",showIf:"${corner.enableImg}"},null,-1)));zo.render=function(e,o,i,l,c,s){const r=a("text-view");return t(),n("div",Ho,[g(r,{duplicateParentState:!0,focusable:!1,textSize:e.fontSize,ellipsizeMode:2,lines:1,typeface:"bold",gravity:"center",postDelay:350,style:{color:"white",padding:"4px 8px",height:"36px",margin:"4px"},gradientBackground:"${corner.background}",autoWidth:"",text:"${corner.text}",showIf:"${corner.enable}"},null,8,["textSize"]),jo])},zo.__scopeId="data-v-4b767ea2",zo.__file="src/poster/qt-poster-corner-title.vue";var Ko=_n({name:"qt-poster",components:{"qt-poster-corner-title":zo,"qt-poster-focus-title":Yo},props:{requestFirstFocus:{type:Boolean,default:!1},loadDelay:{type:Number,default:500},type:{type:Number,default:10001},templateKeyMap:{type:Object,default:()=>null}},setup(t,n){const o=e();return{mainTextShowOnState:["normal","selected"],viewRef:o,...Xn(o)}}});const Jo=e=>(v("data-v-3c4765e9"),e=e(),h(),e),Xo=Jo((()=>m("img",{class:"qt-ui-poster-img-css",duplicateParentState:!0,postDelay:300,focusable:!1,enableFocusBorder:"${focus.border}",flexStyle:"${image.style}",src:"${image.src}"},null,-1))),Zo=["showOnState"],ea={flexStyle:"${floatTitle.style}",class:"qt-ui-poster-title-css",gradientBackground:{colors:["#e5000000","#00000000"],cornerRadii4:[0,0,8,8],orientation:4},duplicateParentState:!0,focusable:!1,showIf:"${floatTitle.enable}"},ta={flexStyle:"${ripple.style}",class:"qt-ui-poster-ripple-view-root-css",showOnState:"focused",focusable:!1,clipChildren:!1},na=Jo((()=>m("img",{src:"${ripple.src}",class:"qt-ui-ripple-img-css",focusable:!1,duplicateParentState:!0,showIf:"${ripple.enable==true}",delayLoad:800},null,-1)));Ko.render=function(e,n,l,c,s,u){const d=a("text-view"),f=a("qt-poster-focus-title"),_=a("ripple-view"),T=a("qt-poster-corner-title"),p=a("item-frame");return t(),i(p,{ref:"viewRef",type:e.type,layout:"${layout}",flexStyle:"${style}",focusScale:"${focus.scale}",focusable:!0,eventClick:"",eventFocus:"",name:"poster",class:"qt-ui-poster-root-css",itemShowShimmer:"${shimmer.enable}",hideShadow:"${shadow.enable}",shimmerSize:"${size}"},{default:I((()=>[r("封面"),Xo,g(d,{class:"qt-ui-poster-score-css",duplicateParentState:!0,focusable:!1,flexStyle:"${score.style}",textSize:"${score.style.fontSize}",ellipsizeMode:2,lines:1,gravity:"center",postDelay:350,autoWidth:"",text:"${score.text}"}),r(" 焦点选中时的标题 "),g(f,{focusable:!1,showOnState:"focused"}),m("div",{style:{"flex-direction":"column","background-color":"transparent","z-index":"999"},duplicateParentState:!0,focusable:!1,flexStyle:"${titleStyle}",showOnState:e.mainTextShowOnState},[r(" 浮动标题 "),m("div",ea,[g(d,{duplicateParentState:!0,focusable:!1,textSize:26,ellipsizeMode:2,enablePostTask:"",postDelay:200,lines:1,gravity:"left",style:{"z-index":"999",height:"50px"},flexStyle:"${floatTitle.style}",text:"${floatTitle.text}"})]),r(" 主标题"),g(d,{duplicateParentState:!0,focusable:!1,textSize:30,ellipsizeMode:2,lines:1,postDelay:200,gravity:"left",paddingRect:[16,8,0,0],gradientBackground:"${title.background}",style:{"z-index":"999",height:"60px"},flexStyle:"${title.style}",text:"${title.text}",showIf:"${title.enable}"})],8,Zo),m("div",ta,[g(_,{class:"qt-ui-ripple-view-css",delayLoad:800,focusable:!1,duplicateParentState:!0,color:"#FF4E46",isShowRipple:"${ripple.enable}",rippleVisible:"invisible"}),na]),g(T,{focusable:!1,flexStyle:"${corner.style}",style:{"z-index":"1000",position:"absolute"}}),o(e.$slots,"default")])),_:3},8,["type"])},Ko.__scopeId="data-v-3c4765e9",Ko.__file="src/poster/index.vue";var oa=l({name:"qt-nav-bar",props:{textKey:{type:String,default:"text"},itemGap:{type:Number,default:0},horizontal:{type:Boolean,default:!0},initSelect:{type:Number,default:0},size:{type:String,default:"medium"},navs:{type:Array,default:()=>[]},tabNavBarClass:{type:String,default:""},horizontalFadingEdgeEnabled:{type:Boolean,default:!1},verticalFadingEdgeEnabled:{type:Boolean,default:!1},fadingEdgeLength:{type:Number,default:0}},setup(t,n){const o=e();let a=e("#f5f5f5"),i=S({normal:"#80ffffff",focused:"#000000",selected:"#F5F5F5"}),l=-1,c=-1;F((()=>t.navs),(e=>{e.length>0&&s(e)}));const s=e=>{e||(e=[]),e.forEach(((e,n)=>{0!==t.itemGap&&(t.horizontal?e.decoration={right:t.itemGap}:e.decoration={bottom:t.itemGap}),e.type||(e.type=2e4)})),o.value?.setListData(e),clearTimeout(c);let n=t.initSelect;n>-1&&(o.value?.scrollToPosition(n),c=setTimeout((()=>{o.value?.setItemSelected(n,!0),r(n)}),300))},r=e=>{clearTimeout(l),l=setTimeout((()=>{n.emit("tab-select",{position:e})}),300)};return{navList:o,focusColor:a,textColor:i,bgPadding:[10,10],onTabChange:e=>{!0===e.hasFocus&&(n.emit("tab-focus",e),r(e.position))},onTabClick:e=>{n.emit("tab-click",e.item)},scrollToPosition:e=>{o.value?.scrollToPosition(e)},scrollToTop:()=>{o.value?.scrollToTop()},init:e=>{s(e.data)},...Xn(o)}}});const aa=["stateTextColor","sateBackgroundPadding"],ia=["stateTextColor","sateBackgroundPadding"];var la,ca;oa.render=function(e,n,l,r,u,d){const f=a("text-view"),_=a("qt-list-view");return e.horizontal?(t(),i(_,{key:0,ref:"navList",clipChildren:!1,clipPadding:!1,horizontalFadingEdgeEnabled:e.horizontalFadingEdgeEnabled,fadingEdgeLength:e.fadingEdgeLength,horizontal:"",class:s(e.tabNavBarClass),onItemClick:e.onTabClick,onItemFocused:e.onTabChange},{default:I((()=>[m("div",{class:"qt-ui-nav-bar-item-css",type:2e4,autoWidth:"",focusable:!0,eventFocus:"",flexStyle:"${style}",clipChildren:!1,style:c({focusBackgroundColor:e.focusColor}),stateTextColor:e.textColor,sateBackgroundPadding:e.bgPadding},[g(f,{autoWidth:"",gravity:"center",lines:1,fontSize:44,class:"qt-ui-nav-bar-item-text-css",duplicateParentState:!0,text:"${text}"})],12,aa),o(e.$slots,"default")])),_:3},8,["horizontalFadingEdgeEnabled","fadingEdgeLength","class","onItemClick","onItemFocused"])):(t(),i(_,{key:1,ref:"navList",clipChildren:!1,clipPadding:!1,class:s(e.tabNavBarClass),verticalFadingEdgeEnabled:e.verticalFadingEdgeEnabled,fadingEdgeLength:e.fadingEdgeLength,onItemClick:e.onTabClick,onItemFocused:e.onTabChange},{default:I((()=>[m("div",{class:"qt-ui-nav-bar-item-css",type:2e4,flexStyle:"${style}",eventFocus:"",autoWidth:"",focusable:!0,stateTextColor:e.textColor,style:c({focusBackgroundColor:e.focusColor}),sateBackgroundPadding:e.bgPadding,clipChildren:!1},[g(f,{autoWidth:"",gravity:"center",lines:1,fontSize:44,class:"qt-ui-nav-bar-item-text-css",duplicateParentState:!0,text:"${text}"})],12,ia),o(e.$slots,"default")])),_:3},8,["class","verticalFadingEdgeEnabled","fadingEdgeLength","onItemClick","onItemFocused"]))},oa.__file="src/nav-bar/index.vue",function(e){e[e.QT_WATERFALL_SECTION_TYPE_LOADING=-1]="QT_WATERFALL_SECTION_TYPE_LOADING",e[e.QT_WATERFALL_SECTION_TYPE_TITLE=1e3]="QT_WATERFALL_SECTION_TYPE_TITLE",e[e.QT_WATERFALL_SECTION_TYPE_FLEX=1002]="QT_WATERFALL_SECTION_TYPE_FLEX",e[e.QT_WATERFALL_SECTION_TYPE_LIST=1003]="QT_WATERFALL_SECTION_TYPE_LIST",e[e.QT_WATERFALL_SECTION_TYPE_TAB=1003]="QT_WATERFALL_SECTION_TYPE_TAB",e[e.QT_WATERFALL_SECTION_TYPE_INDEPENDENT_ITEM=1004]="QT_WATERFALL_SECTION_TYPE_INDEPENDENT_ITEM",e[e.QT_WATERFALL_SECTION_TYPE_TAB_LIST=1005]="QT_WATERFALL_SECTION_TYPE_TAB_LIST",e[e.QT_WATERFALL_SECTION_TYPE_CARD=1006]="QT_WATERFALL_SECTION_TYPE_CARD",e[e.QT_WATERFALL_SECTION_TYPE_VUE=1007]="QT_WATERFALL_SECTION_TYPE_VUE",e[e.QT_WATERFALL_SECTION_TYPE_END=-1001]="QT_WATERFALL_SECTION_TYPE_END",e[e.QT_WATERFALL_SECTION_TYPE_BLANK=-1e3]="QT_WATERFALL_SECTION_TYPE_BLANK"}(la||(la={})),function(e){e[e.QT_WATERFALL_ITEM_TYPE_POSTER=10001]="QT_WATERFALL_ITEM_TYPE_POSTER",e[e.QT_WATERFALL_ITEM_TYPE_TAB=10002]="QT_WATERFALL_ITEM_TYPE_TAB",e[e.QT_WATERFALL_ITEM_TYPE_CARD=10003]="QT_WATERFALL_ITEM_TYPE_CARD",e[e.QT_WATERFALL_ITEM_TYPE_BLANK=-1e4]="QT_WATERFALL_ITEM_TYPE_BLANK"}(ca||(ca={}));var sa=_n({name:"card-item",setup(e,t){const n=N();return{onFocus:function(e){n.isLoggable(L.DEBUG)&&n.d("card-item","------onFocus---------\x3e>>>",e),t.emit("focus",e)}}}});sa.render=function(e,n,o,l,c,s){const r=a("es-card-container");return t(),i(r,{keyName:"_id",clipChildren:!1,clipPadding:!1,autoRecycle:!0,disablePlaceholder:"",layout:"${layout}",flexStyle:"${style}",cardId:"${cardId}",focusScale:"${cardPlaceHolder.focusScale}",focusable:"${cardPlaceHolder.focusable}",showPlaceHolder:"${cardPlaceHolder.enable}",placeHolderRadius:"${cardPlaceHolder.radius}",placeHolderRect:"${cardPlaceHolder.rect}",type:10003,onFocus:e.onFocus,class:"qt-ui-waterfall-card-item"},null,8,["onFocus"])},sa.__scopeId="data-v-599898aa",sa.__file="src/waterfall/item/card-item.vue";var ra=_n({name:"standard-section",components:{"card-item":sa},props:{enablePlaceholder:{type:Boolean,default:!0},plateData:{type:String,default:""},useDiff:{type:Boolean,default:!0},cachePool:{type:Object,default:{}},sectionType:{type:Number,default:la.QT_WATERFALL_SECTION_TYPE_FLEX},standItemType:{type:Number,default:ca.QT_WATERFALL_ITEM_TYPE_POSTER},currentPageIndex:{type:Number,default:-1},itemFocusScale:{type:Number,default:1.1}},setup(e,t){const n=N();return{onFocus:function(e){n.isLoggable(L.DEBUG)&&n.d("card-item","------onFocus---------\x3e>>>",e),t.emit("focus",e)}}}});const ua=["type"],da=(e=>(v("data-v-227e921e"),e=e(),h(),e))((()=>m("img",{postDelay:300,flexStyle:"${imgTitleStyle}",focusable:!1,src:"${imgTitle}"},null,-1)));ra.render=function(e,i,l,c,s,u){const d=a("text-view"),f=a("qt-poster"),_=a("card-item"),T=a("tv-flex");return t(),n("div",{class:"standard-section-css",blockFocusDirections:["left","right"],clipChildren:!1,clipPadding:!1,type:e.sectionType,focusable:!1,focusScrollTarget:"${isFocusScrollTarget==true}",keyName:"_id",flexStyle:"${style}",scrollOverride:"${scrollOverride}",gradientBackground:"${style.gradientBackground}",bringFocusChildToFront:!0,useAdvancedFocusSearch:!0},[g(d,{class:"standard-section-title-text-css",postDelay:300,autoWidth:"",autoHeight:"",flexStyle:"${titleStyle}",focusable:!1,textSize:"${titleStyle.fontSize}",text:"${title}"}),da,g(T,{class:"standard-section-css",name:"QUICKTVUI_WARTERFALL_LIST",blockFocusDirections:["left","right"],clipChildren:!1,clipPadding:!1,bringFocusChildToFront:!0,cachePool:e.cachePool,useDiff:e.useDiff,keyName:"_id",sid:"${listSID}",enablePlaceholder:e.enablePlaceholder,focusScrollTarget:"${isFocusScrollTarget==true}",list:"${itemList}"},{default:I((()=>[r(" poster "),g(f,{"load-delay":500,type:e.standItemType},null,8,["type"]),r(" card "),g(_,{onFocus:e.onFocus},null,8,["onFocus"]),o(e.$slots,"default")])),_:3},8,["cachePool","useDiff","enablePlaceholder"])],8,ua)},ra.__scopeId="data-v-227e921e",ra.__file="src/waterfall/section/flex-section.vue";const fa="list-section";var _a=_n({name:"list-section",props:{enablePlaceholder:{type:Boolean,default:!0},isSwitchBgScroll:{type:Boolean,default:!1},standItemType:{type:Number,default:10001},tabItemType:{type:Number,default:10002},sectionType:{type:Number,default:la.QT_WATERFALL_SECTION_TYPE_LIST},fetchPendingData:{type:Function,default:null},arrangeType:{type:String,default:"TB"},cachePool:{type:Object,default:{}}},setup(e,t){const n=N();return{blockDirections:["left","right"],onItemBind:function(e){n.isLoggable(L.DEBUG)&&n.d(fa,"----------onItemBind--------------\x3e>>",e)},onItemClick:function(e){n.isLoggable(L.DEBUG)&&n.d(fa,"----------onItemClick--------------\x3e>>",e)},onItemRecycled:function(e){n.isLoggable(L.DEBUG)&&n.d(fa,"----------onItemRecycled--------------\x3e>>",e)},onItemFocused:function(e){n.isLoggable(L.DEBUG)&&n.d(fa,"----------onItemFocused--------------\x3e>>",e)}}}});const Ta={class:"qt-ui-section-tab-list-root",focusable:!1,flexStyle:"${style}",gradientBackground:"${style.gradientBackground}",blockFocusDirections:["right"],clipChildren:!1,useAdvancedFocusSearch:!0,bringFocusChildToFront:!0},pa=(e=>(v("data-v-6aa2cfd4"),e=e(),h(),e))((()=>m("img",{postDelay:300,flexStyle:"${imgTitleStyle}",focusable:!1,src:"${imgTitle}"},null,-1))),Ia=["type"];_a.render=function(e,n,l,c,s,r){const u=a("text-view"),d=a("qt-poster"),f=a("tv-list"),_=a("tv-item");return t(),i(_,{keyName:"_id",type:e.sectionType,clipPadding:!1,clipChildren:!1,ref:"listSection",focusScrollTarget:"${isFocusScrollTarget==true}",class:"tab-list-section-root-css",scrollOverride:"${scrollOverride}",onItemClick:e.onItemClick,onItemBind:e.onItemBind,onItemUnbind:e.onItemRecycled,onItemFocused:e.onItemFocused},{default:I((()=>[m("div",Ta,[g(u,{class:"tab-list-section-title-text-css",postDelay:300,autoWidth:"",autoHeight:"",flexStyle:"${titleStyle}",focusable:!1,textSize:"${titleStyle.fontSize}",text:"${title}"}),pa,g(f,{list:"${itemList}",horizontal:"",clipChildren:!1,focusable:!1,class:"tab-list-section-list-css",name:"QUICKTVUI_WARTERFALL_LIST",resetOnDetach:!0,enableKeepFocus:"${enableKeepFocus==true}",endHintEnabled:"${enableEndHit}",useDiff:"${enableDiff}",sid:"${listSID}",cachePool:e.cachePool,onScrollEnable:!1,setSelectChildPosition:0,enablePlaceholder:e.enablePlaceholder,blockFocusDirections:e.blockDirections},{default:I((()=>[g(d,{type:e.standItemType},null,8,["type"]),m("div",{type:e.tabItemType,class:"qt-ui-section-tab-list-item",clipChildren:!1,flexStyle:"${style}",style:{"padding-left":"24px","padding-right":"23px","justify-content":"center",height:"50px"},autoWidth:"",name:"QUICKTVUI_TAB_2",focusable:!0,eventClick:"",eventFocus:""},[g(u,{class:"qt-ui-section-tab-list-item-text",autoWidth:"",flexStyle:"${textStyle}",gravity:"center",fontSize:36,lines:1,focusable:!1,duplicateParentState:!0,style:{height:"50px"},text:"${text}"})],8,Ia),o(e.$slots,"default")])),_:3},8,["cachePool","enablePlaceholder","blockFocusDirections"])])])),_:3},8,["type","onItemClick","onItemBind","onItemUnbind","onItemFocused"])},_a.__scopeId="data-v-6aa2cfd4",_a.__file="src/waterfall/section/list-section.vue";var ga=_n({name:"loading-section"});const ma={focusable:!1,type:-1,keyName:"_id",class:"loading-section-css",gradientBackground:"${style.gradientBackground}"};ga.render=function(e,o,i,l,c,s){const r=a("qt-loading-view");return t(),n("div",ma,[g(r,{class:"loading-section-loading-css"})])},ga.__scopeId="data-v-48609f24",ga.__file="src/waterfall/section/loading-section.vue";var va=_n({name:"end-section",setup:()=>({})});const ha={keyName:"_id",type:-1001,focusable:!1,flexStyle:"${style}",gradientBackground:"${style.gradientBackground}",class:"qt-waterfall-end-section-css"};va.render=function(e,o,i,l,c,s){const r=a("text-view");return t(),n("div",ha,[g(r,{focusable:!1,gravity:"center",flexStyle:"${titleStyle}",class:"qt-waterfall-end-section-text-css",textSize:"${titleStyle.fontSize}",text:"${title}"})])},va.__scopeId="data-v-70b82c43",va.__file="src/waterfall/section/end-section.vue";var Sa=_n({props:{plateTitleLeftMargin:{type:Number,default:0},type:{type:Number,default:la.QT_WATERFALL_SECTION_TYPE_TITLE}},setup:(e,t)=>({})});const Fa=["type"];Sa.render=function(e,o,i,l,s,r){const u=a("text-view");return t(),n("div",{class:"section-title-css",blockFocusDirections:["left","right"],clipChildren:!1,clipPadding:!1,type:e.type,keyName:"_id",focusable:!1,bringFocusChildToFront:!0,useAdvancedFocusSearch:!0},[g(u,{class:"section-title-text-css",postDelay:300,style:c({marginLeft:e.plateTitleLeftMargin+"px"}),focusable:!1,textSize:"${titleStyle.fontSize}",text:"${title}"},null,8,["style"])],8,Fa)},Sa.__scopeId="data-v-20428d40",Sa.__file="src/waterfall/section/section-title.vue";var Ea=_n({name:"blank-section",setup:()=>({})});const ba={focusable:!1,type:-1e3,keyName:"_id",flexStyle:"${style}",gradientBackground:"${style.gradientBackground}",class:"qt-ui-waterfall-blank-section"};Ea.render=function(e,o,a,i,l,c){return t(),n("div",ba)},Ea.__scopeId="data-v-eeab4d88",Ea.__file="src/waterfall/section/blank-section.vue";var Aa=_n({name:"card-section",setup(e,t){const n=N();return{onFocus:function(e){n.isLoggable(L.DEBUG)&&n.d("card-section","------onFocus---------\x3e>>>",e),t.emit("focus",e)}}}});const ya={type:1006,class:"qt-ui-waterfall-card-section-css",clipChildren:!1,clipPadding:!1,focusScrollTarget:"${isFocusScrollTarget==true}",keyName:"_id",flexStyle:"${style}",scrollOverride:"${scrollOverride}",gradientBackground:"${style.gradientBackground}",bringFocusChildToFront:!0,useAdvancedFocusSearch:!0};Aa.render=function(e,o,i,l,c,s){const r=a("text-view"),u=a("es-card-container");return t(),n("div",ya,[g(r,{class:"qt-ui-waterfall-card-section-title-css",postDelay:300,flexStyle:"${titleStyle}",focusable:!1,textSize:"${titleStyle.fontSize}",text:"${title}"}),g(u,{cardId:"${cardId}",onFocus:e.onFocus,clipChildren:!1,clipPadding:!1,autoRecycle:!0,focusScale:"${cardPlaceHolder.focusScale}",focusable:"${cardPlaceHolder.focusable}",showPlaceHolder:"${cardPlaceHolder.enable}",placeHolderRadius:"${cardPlaceHolder.radius}",placeHolderRect:"${cardPlaceHolder.rect}",flexStyle:"${cardStyle}",class:"qt-ui-waterfall-card-section"},null,8,["onFocus"])])},Aa.__scopeId="data-v-43a44788",Aa.__file="src/waterfall/section/card-section.vue";var Ra,Pa=_n({name:"vue-section",props:{blockFocusDirections:{type:Array,default:()=>["left","right"]}},setup:(e,t)=>({onSectionBind:function(){}})});function Na(e,t){const n=[];if(t&&t.length>0)for(let o=0;o<t.length;o++){let a=La(e,t[o]);n.push(a)}return n}function La(e,t){let n=0;return t.itemList.length>0&&t.type==la.QT_WATERFALL_SECTION_TYPE_FLEX&&(n=function(e){const t=e.itemList,n=e.style?.spacing??0,o=e.titleStyle,a=o?.height??0;const i=o?.marginTop??0,l=o?.marginBottom??0;const c=o?.paddingTop??0,s=o?.paddingBottom??0;let r=e.style.height??0,u=e.style.width??0;e.decoration;let d=0,f=0,_=0;for(let e=0;e<t.length;e++){const o=t[e];let a=o?.style.width??0,i=o?.style.height??0;const l=o.style.x,c=o.style.y;if(null!=l&&null!=c)o.layout=[l,c,a,i];else{const e=o.decoration,t=e?.left??0,l=e?.top??0,c=e?.right??0,s=e?.bottom??0;d+a+c>u&&(f+=_+n,_=0,d=0),o.layout||(o.layout=[0,0,a,i]),o.layout[0]=d+t,o.layout[1]=f+l,o.layout[1]+i+s>r&&(r=o.layout[1]+i+s),i+l+s>_&&(_=i+l+s),d+=a+n+t+c}}return r+a+i+l+c+s}(t),t.style.height=n),t}function Ua(){let e=[];function t(e){return e.itemList.length}function n(n,o){console.log("----1--------getRangeSectionListItemCount-----------------\x3e>>>");const a=e.length;if(n<0||n>=a)return 0;console.log("----2--------getRangeSectionListItemCount-----------------\x3e>>>");let i=n+o;n+o>a&&(i=a),console.log("----3--------getRangeSectionListItemCount-----------------\x3e>>>");let l=0;for(let o=n;o<i;o++){l+=t(e[o])}return l}function o(){console.log("--------dumpWaterfallData---------\x3e>>>",e)}return{init:function(){},getSectionList:function(){return e},addSectionList:function(a){const i=e.length,l=n(0,i),c=function(e){if(e.length<=0)return 0;let n=0;for(let o=0;o<e.length;o++){n+=t(e[o])}return n}(a);return e.push(...a),o(),{sectionIndex:i,sectionCount:a.length,itemIndex:l,itemCount:c}},deleteSection:function(t,a){const i=n(0,t-1),l=n(t,a);return e.splice(t,a),o(),{sectionIndex:t,sectionCount:a,itemIndex:i,itemCount:l}},updateSection:function(a,i){const l=n(0,a-1),c=t(i);return e.splice(a,1,i),o(),{sectionIndex:a,sectionCount:1,itemIndex:l,itemCount:c}},getSection:function(t){if(!(t<0||t>=e.length||0==e.length))return e[t]},addItemList:function(t,n){const a=e.length;if(t<0||t>=a||n.length<=0)return{sectionIndex:-1,sectionCount:0,itemIndex:-1,itemCount:0};const i=e[t],l=i.itemList.length;return i.itemList.push(...n),o(),{sectionIndex:t,sectionCount:1,itemIndex:l,itemCount:n.length}},deleteItem:function(t,n,a){return e[t].itemList.splice(n,a),o(),{sectionIndex:t,sectionCount:1,itemIndex:n,itemCount:a}},updateItem:function(t,n,a){return e[t].itemList.splice(n,1,a),o(),{sectionIndex:t,sectionCount:1,itemIndex:n,itemCount:1}},updateItemList:function(t,n,a,i){return e[t].itemList.splice(n,a,...i),o(),{sectionIndex:t,sectionCount:1,itemIndex:n,itemCount:a}},getItem:function(t,n){const o=e[t];if(o&&o.itemList.length>0&&n>=0&&n<o.itemList.length){return o.itemList[n]}},destroy:function(){e=[]}}}Pa.render=function(e,n,l,c,s,r){const u=a("tv-item");return t(),i(u,{class:"qt-ui-waterfall-vue-section",type:1007,keyName:"_id",blockFocusDirections:e.blockFocusDirections,clipChildren:!1,clipPadding:!1,focusScrollTarget:"${isFocusScrollTarget==true}",flexStyle:"${style}",scrollOverride:"${scrollOverride}",singleton:"",onItemBind:e.onSectionBind},{default:I((()=>[o(e.$slots,"default")])),_:3},8,["blockFocusDirections","onItemBind"])},Pa.__scopeId="data-v-f8447724",Pa.__file="src/waterfall/section/vue-section.vue",function(e){e.QT_WATERFALL_VISIBLE_TYPE_NONE="none",e.QT_WATERFALL_VISIBLE_TYPE_NORMAL="normal",e.QT_WATERFALL_VISIBLE_TYPE_CENTER="center"}(Ra||(Ra={}));const Da="qt-waterfall";var Oa,xa,Ca=_n({name:"qt-waterfall",emits:["onScroll","onScrollStateChanged","onItemClick","onItemFocused","onSectionBind","onSectionAttached","onSectionDetached","onScrollYGreaterReference","onScrollYLesserReference"],props:{enablePlaceholder:{type:Boolean,default:!0},blockFocusDirections:{type:Array,default:()=>["down"]},vueSectionBlockFocusDirections:{type:Array,default:()=>["left","right"]},customPool:{type:Object,default:()=>{}},customItemPool:{type:Object,default:()=>{}},scrollYLesserReferenceValue:{type:Number,default:0},scrollYGreaterReferenceValue:{type:Number,default:0}},setup(t,n){const o=N();const a={...{name:"Waterfall"+Date.now(),size:{20008:10}},...t.customPool};o.e("WaterfallVue","waterfall cachePool :"+JSON.stringify(a));const i={...{name:"waterfallItems"+Date.now(),size:{1:30}},...t.customItemPool};o.e("WaterfallVue","itemsPool :"+JSON.stringify(i));const l=e(Ra.QT_WATERFALL_VISIBLE_TYPE_CENTER),c=e();let s;const r=Ua();return{waterfallRef:c,visibleType:l,init:function(e){s=e,e.visibleType&&(l.value=e.visibleType)},setAutoFocus:function(e,t){c.value?.setAutoFocus(e,t)},getSectionList:function(){return r.getSectionList()},setSectionList:function(e){if(!s)return;o.isLoggable(L.DEBUG)&&o.d(Da,"-------1---setSectionList--------------\x3e>>"),r.destroy();const t=r.addSectionList(e);o.isLoggable(L.DEBUG)&&o.d(Da,"-------2---setSectionList--------------\x3e>>",t);const n=Na(s,e);o.isLoggable(L.DEBUG)&&o.d(Da,"----------setSectionList-----最终数据---------\x3e>>",n),c.value?.setListData(n)},addSectionList:function(e){if(!s)return;r.addSectionList(e);const t=Na(s,e);o.isLoggable(L.DEBUG)&&o.d(Da,"----------addSectionList-----最终数据---------\x3e>>",t),c.value?.addListData(t)},deleteSection:function(e,t){const n=r.deleteSection(e,t);o.isLoggable(L.DEBUG)&&o.d(Da,"----------deleteSection-----最终数据---------\x3e>>",n),c.value?.deleteItem(e,t)},updateSection:function(e,t){r.updateSection(e,t);const n=La(0,t);o.isLoggable(L.DEBUG)&&o.d(Da,"----------updateSection-----最终数据---------\x3e>>sectionIndex:",e,"updateSection:",n),c.value?.updateItem(e,n)},updateSectionList:function(e,t,n){const o=[];for(let t=0;t<n.length;t++){const a=n[t];r.updateSection(e+t,a);const i=La(0,a);i&&o.push(i)}c.value?.updateItemList(e,t,o)},getSection:function(e){return r.getSection(e)},addItemList:function(e,t){r.addItemList(e,t);const n=r.getSection(e);if(n){const t=La(0,n);c.value?.updateItem(e,t)}},deleteItem:function(e,t,n){r.deleteItem(e,t,n);const o=r.getSection(e);if(o){const t=La(0,o);c.value?.updateItem(e,t)}},updateItem:function(e,t,n){r.updateItem(e,t,n);const o=r.getSection(e);if(o){const t=La(0,o);c.value?.updateItem(e,t)}},updateItemList:function(e,t,n,o){r.updateItemList(e,t,n,o);const a=r.getSection(e);if(a){const t=La(0,a);c.value?.updateItem(e,t)}},getItem:function(e,t){return r.getItem(e,t)},cachePool:a,itemsPool:i,onScroll:function(e){e.stopPropagation();let t=e.offsetX,o=e.offsetY;n.emit("onScroll",t,o)},onItemClick:function(e){o.isLoggable(L.DEBUG)&&o.d(Da,"----------onItemClick--------------\x3e>>",e,"sectionIndex:"+e.parentPosition+" position:"+e.position+" "),n.emit("onItemClick",e.parentPosition,e.position,e.item)},onItemFocused:function(e){o.isLoggable(L.DEBUG)&&o.d(Da,"----------onItemFocused--------------\x3e>>",e,"sectionIndex:"+e.parentPosition+" position:"+e.position+" isFocused:"+e.isFocused+" "),n.emit("onItemFocused",e.parentPosition,e.position,e.isFocused,e.item)},onSectionBind:function(e){if(e){o.isLoggable(L.DEBUG)&&o.d(Da,"----------onSectionBind--------------\x3e>>",e);let t=e.pageIndex??-1;n.emit("onSectionBind",t,e.position)}},onSectionAttached:function(e){if(e){o.isLoggable(L.DEBUG)&&o.d(Da,"----------onSectionAttached--------------\x3e>>",e);let t=e.pageIndex??0;n.emit("onSectionAttached",t,e.position)}},onSectionDetached:function(e){if(e){o.isLoggable(L.DEBUG)&&o.d(Da,"----------onSectionDetached--------------\x3e>>",e);let t=e.pageIndex??0;n.emit("onSectionDetached",t,e.position)}},onScrollStateChanged:function(e){let t=e.offsetY,o=e.offsetX,a=e.newState,i=e.oldState;n.emit("onScrollStateChanged",o,t,a,i)},resumePostTask:function(){c.value?.pausePostTask()},pausePostTask:function(){c.value?.pausePostTask()},clearPostTask:function(){c.value?.clearPostTask()},destroy:function(){c.value?.destroy()},scrollToTop:function(){c.value?.scrollToTop()},setListData:function(e){c.value?.setListData(e)},onScrollYGreaterReference:function(){n.emit("onScrollYGreaterReference")},onScrollYLesserReference:function(){n.emit("onScrollYLesserReference")},...Xn(c)}},components:{"flex-section":ra,"list-section":_a,"section-title":Sa,"loading-section":ga,"end-section":va,"blank-section":Ea,"card-section":Aa,"vue-section":Pa}});function ka(){const e=new Map,t=new Map;function n(n){const o={index:n,state:Oa.QT_TAB_PAGE_STATE_INIT,sectionBindIndex:-1};e.set(n,o),t.set(n,[])}function o(e,n){const o=t.get(e)??[];if(!(n<0||n>=o.length||0==o.length))return o[n]}function a(e){return e.itemList.length}function i(e,t,n){const o=e.length;if(t<0||t>=o)return 0;let i=t+n;t+n>o&&(i=o),console.log("----3--------getRangeSectionListItemCount-----------------\x3e>>>");let l=0;for(let n=t;n<i;n++){l+=a(e[n])}return l}function l(){console.log("--------dumpTabWaterfallData---------\x3e>>>",t)}return{initTab:function(e){const t=e.itemList;for(let e=0;e<t.length;e++)n(e)},initTabPageData:n,getTabPageDataState:function(t){return e.get(t)},setPageDataState:function(t,n){e.set(t,n)},setSectionState:function(e,t,n){const a=o(e,t);a&&(a.state=n,a.sectionIndex=t)},getSectionListByState:function(e,n){return(t.get(e)??[]).filter((e=>e.state==n))},getSectionList:function(e){return t.get(e)??[]},addSectionList:function(n,o){const c=t.get(n)??[],s=c.length,r=i(c,0,s),u=function(e){if(e.length<=0)return 0;let t=0;for(let n=0;n<e.length;n++){t+=a(e[n])}return t}(o);c.push(...o);const d=e.get(n);return d&&d.state!=Oa.QT_TAB_PAGE_STATE_COMPLETE&&(d.state=Oa.QT_TAB_PAGE_STATE_IDLE),l(),{pageIndex:n,sectionIndex:s,sectionCount:o.length,itemIndex:r,itemCount:u}},deleteSection:function(e,n,o){const a=t.get(e)??[],c=i(a,0,n-1),s=i(a,n,o);return a.splice(n,o),l(),{pageIndex:e,sectionIndex:n,sectionCount:o,itemIndex:c,itemCount:s}},updateSection:function(e,n,o){const c=t.get(e)??[],s=i(c,0,n-1),r=a(o);return c.splice(n,1,o),l(),{pageIndex:e,sectionIndex:n,sectionCount:1,itemIndex:s,itemCount:r}},updateSectionList:function(e,n){return t.set(e,n),l(),{pageIndex:e,sectionIndex:0,sectionCount:n.length,itemIndex:-1,itemCount:-1}},getSection:o,addItemList:function(e,n,o){const a=t.get(e)??[],i=a.length;if(n<0||n>=i||o.length<=0)return{pageIndex:e,sectionIndex:-1,sectionCount:0,itemIndex:-1,itemCount:0};const c=a[n],s=c.itemList.length;return c.itemList.push(...o),l(),{pageIndex:e,sectionIndex:n,sectionCount:1,itemIndex:s,itemCount:o.length}},deleteItem:function(e,n,o,a){return(t.get(e)??[])[n].itemList.splice(o,a),l(),{pageIndex:e,sectionIndex:n,sectionCount:1,itemIndex:o,itemCount:a}},updateItem:function(e,n,o,a){return(t.get(e)??[])[n].itemList.splice(o,1,a),l(),{pageIndex:e,sectionIndex:n,sectionCount:1,itemIndex:o,itemCount:1}},updateItemList:function(e,n,o,a,i){return(t.get(e)??[])[n].itemList.splice(o,a,...i),l(),{pageIndex:e,sectionIndex:n,sectionCount:1,itemIndex:o,itemCount:a}},getItem:function(e,n,o){const a=(t.get(e)??[])[n];if(a&&a.itemList.length>0&&o>=0&&o<a.itemList.length){return a.itemList[o]}},destroy:function(){t.clear()}}}Ca.render=function(e,n,l,c,s,u){const d=a("flex-section"),f=a("list-section"),_=a("loading-section"),T=a("end-section"),p=a("blank-section"),m=a("card-section"),v=a("vue-section"),h=a("tv-list");return t(),i(h,{ref:"waterfallRef",class:"qt-waterfall-root-css",keyName:"_id",clipChildren:!1,clipPadding:!1,listenBoundEvent:!0,negativeKeyTime:"30",postContentDelay:"500",onScroll:e.onScroll,onItemClick:e.onItemClick,onItemFocused:e.onItemFocused,onItemBind:e.onSectionBind,onItemAttached:e.onSectionAttached,onItemDetached:e.onSectionDetached,focusMemory:!1,cachePool:e.cachePool,preload:1,checkScrollOffsetOnStateChanged:!0,makeChildVisibleType:e.visibleType,scrollThresholdVertical:50,scrollEventThrottle:16,enableSelectOnFocus:!1,advancedFocusSearchSpan:"1",scrollYLesserReferenceValue:e.scrollYLesserReferenceValue,scrollYGreaterReferenceValue:e.scrollYGreaterReferenceValue,onScrollYGreaterReference:e.onScrollYGreaterReference,onScrollYLesserReference:e.onScrollYLesserReference,shakePreCheckNumber:"4",blockFocusDirections:e.blockFocusDirections,onScrollStateChanged:e.onScrollStateChanged},{default:I((()=>[r(" 普通版块"),g(d,{"cache-pool":e.itemsPool,enablePlaceholder:e.enablePlaceholder,onFocus:e.onItemFocused},{default:I((()=>[o(e.$slots,"item")])),_:3},8,["cache-pool","enablePlaceholder","onFocus"]),r("一行滚动 多级tab"),g(f,{"cache-pool":e.itemsPool,enablePlaceholder:e.enablePlaceholder},{default:I((()=>[o(e.$slots,"list-item")])),_:3},8,["cache-pool","enablePlaceholder"]),r(" loading"),g(_),r(" end "),g(T),r(" blank "),g(p),r(" card "),g(m,{onFocus:e.onItemFocused},null,8,["onFocus"]),r(" vue "),g(v,{"block-focus-directions":e.vueSectionBlockFocusDirections},{default:I((()=>[o(e.$slots,"vue-section")])),_:3},8,["block-focus-directions"]),o(e.$slots,"section")])),_:3},8,["onScroll","onItemClick","onItemFocused","onItemBind","onItemAttached","onItemDetached","cachePool","makeChildVisibleType","scrollYLesserReferenceValue","scrollYGreaterReferenceValue","onScrollYGreaterReference","onScrollYLesserReference","blockFocusDirections","onScrollStateChanged"])},Ca.__file="src/waterfall/index.vue",function(e){e[e.QT_TAB_PAGE_STATE_INIT=-1]="QT_TAB_PAGE_STATE_INIT",e[e.QT_TAB_PAGE_STATE_IDLE=0]="QT_TAB_PAGE_STATE_IDLE",e[e.QT_TAB_PAGE_STATE_BUSY=1]="QT_TAB_PAGE_STATE_BUSY",e[e.QT_TAB_PAGE_STATE_COMPLETE=2]="QT_TAB_PAGE_STATE_COMPLETE",e[e.QT_TAB_PAGE_STATE_ERROR=3]="QT_TAB_PAGE_STATE_ERROR"}(Oa||(Oa={})),function(e){e[e.QT_LIST_VIEW_ITEM_STATE_DEFAULT=0]="QT_LIST_VIEW_ITEM_STATE_DEFAULT",e[e.QT_LIST_VIEW_ITEM_STATE_ATTACHED=1]="QT_LIST_VIEW_ITEM_STATE_ATTACHED",e[e.QT_LIST_VIEW_ITEM_STATE_BIND=2]="QT_LIST_VIEW_ITEM_STATE_BIND",e[e.QT_LIST_VIEW_ITEM_STATE_UNBIND=3]="QT_LIST_VIEW_ITEM_STATE_UNBIND",e[e.QT_LIST_VIEW_ITEM_STATE_DETACHED=4]="QT_LIST_VIEW_ITEM_STATE_DETACHED"}(xa||(xa={}));const wa="qt-tabs";var Ma=_n({name:"qt-tabs",emits:["onTabPageLoadData","onTabPageChanged","onTabEvent","onTabPageItemClick","onTabPageItemFocused","onTabPageSectionAttached","onTabPageScroll","onTabPageScrollStateChanged","onTabMoveToTopStart","onTabMoveToTopEnd","onTabMoveToBottomStart","onTabMoveToBottomEnd","onTabChanged","onTabPageScrollToEnd","onTabPageScrollToStart","onTabClick"],props:{enablePlaceholder:{type:Boolean,default:!0},preloadNumber:{type:Number,default:3},tabNavBarClass:{type:String,default:""},tabNavBarSid:{type:String,default:""},tabClass:{type:String,default:""},tabsDataStrategy:{type:String,default:"overTime"},tabPageClass:{type:String,default:""},horizontal:{type:Boolean,default:!0},pageTransform:{type:Boolean,default:!0},hideOnSingleTab:{type:Boolean,default:!0},floatNavBar:{type:Boolean,default:!0},useNavBarBg:{type:Boolean,default:!0},contentNextFocus:{type:Object,default:()=>({up:"tabList",left:"tabList"})},triggerTask:{type:Array,default:()=>[]},blockViewPager:{type:Array,default:()=>[]},blockViewPagerVertical:{type:Array,default:()=>[]},tabContentBlockFocusDirections:{type:Array,default:()=>["down"]},tabContentResumeDelay:{type:Number,default:300},tabContentSwitchDelay:{type:Number,default:0},slidingEnable:{type:Boolean,default:!1},slidingMode:{type:String,default:""},initTranslation:{type:Number,default:0},rightTranslation:{type:Number,default:0},leftTranslation:{type:Number,default:0},duration:{type:Number,default:1e3},interpolatorType:{type:Number,default:1},endHintEnabled:{type:Boolean,default:!0},outOfDateTime:{type:Number,default:3e5},customPool:{type:Object,default:()=>{}},customItemPool:{type:Object,default:()=>{}},navBarNextFocusName:{type:Object,default:()=>({down:"content"})},horizontalFadingEdgeEnabled:{type:Boolean,default:!1},verticalFadingEdgeEnabled:{type:Boolean,default:!1},fadingEdgeLength:{type:Number,default:0}},setup(t,n){const o=e();e();const a=e(!0),i=e(1),l=N();U();const c=e(),s=ka();let r,u=[],d=-1,f=-1,_=-1;function T(e,t){const n=s.getTabPageDataState(e);n&&(n.state=t,s.setPageDataState(e,n))}function p(e){l.isLoggable(L.DEBUG)&&l.d(wa,"----设置数据---setPageStateReset->>>>pageIndex:"+e);const t=s.getTabPageDataState(e);t&&(t.state=Oa.QT_TAB_PAGE_STATE_INIT,t.sectionBindIndex=-1,s.setPageDataState(e,t));const n=s.getSectionList(e);s.deleteSection(e,0,n.length-1),function(e){if(e<0||e>u.length)return;const t=u[e];t.__pageNo=0}(e)}function I(e){l.isLoggable(L.DEBUG)&&l.d(wa,"----设置数据---setPageStateRecycled->>>>pageIndex:"+e);const t=s.getTabPageDataState(e);t&&(t.sectionBindIndex=0,t.state=Oa.QT_TAB_PAGE_STATE_IDLE,s.setPageDataState(e,t));const n=s.getSectionList(e);s.deleteSection(e,1,n.length-1),function(e,t){if(e<0||e>u.length)return;const n=u[e];n.__pageNo=t}(e,1)}function g(e){if(e<0||e>u.length)return 0;const t=u[e];return null==t.__pageNo&&(t.__pageNo=0),t.__pageNo}function m(e){if(e<0||e>u.length)return;const t=u[e];null!=t.__pageNo?t.__pageNo=t.__pageNo+1:t.__pageNo=1}function v(e,o,a){let i=g(e),c=s.getTabPageDataState(e);if(!c||c.state!==Oa.QT_TAB_PAGE_STATE_IDLE&&c.state!==Oa.QT_TAB_PAGE_STATE_INIT)l.isLoggable(L.DEBUG)&&l.d(wa,"------设置数据----loadPageData--状态不对--\x3e>>>",e);else{const c=s.getSectionList(e);a>=c.length-t.preloadNumber-1?(l.isLoggable(L.DEBUG)&&l.d(wa,"---------设置数据-----加载更多数据-----\x3e>>> pageIndex:"+e+" pageNo:"+i+" sectionIndex:"+a+" sectionListLength:"+c.length),T(e,Oa.QT_TAB_PAGE_STATE_BUSY),n.emit("onTabPageLoadData",e,i,o)):l.isLoggable(L.DEBUG)&&l.d(wa,"----设置数据------loadPageData--preloadNumber错误--\x3e>>>",e)}}function h(){clearTimeout(_),_=setTimeout((()=>{const e=s.getSectionListByState(d,xa.QT_LIST_VIEW_ITEM_STATE_ATTACHED);(e?e.length:0)>0&&(e.forEach((e=>{l.isLoggable(L.DEBUG)&&l.d(wa,"----------notifyTabContentSectionAttached------\x3e>>> pageIndex"+d+" sectionIndex:",e.sectionIndex)})),n.emit("onTabPageSectionAttached",d,e))}),100)}function S(e,t){l.isLoggable(L.DEBUG)&&l.d(wa,"----------onWaterfallScroll----\x3e>>> offsetX:"+e+" scrollY:"+t),n.emit("onTabPageScroll",e,t)}function F(e,t,o){l.isLoggable(L.DEBUG)&&l.d(wa,"----------onWaterfallScrollStateChanged----\x3e>>> offsetX:"+e+" scrollY:"+t+" newState:"+o),n.emit("onTabPageScrollStateChanged",e,t,o)}return{tabs:o,ifTabs:a,navBarRef:c,initTab:function(e){let t={defaultIndex:e.defaultIndex,focusIndex:e.defaultFocusIndex,data:e.itemList};u=e.itemList,s.initTab(e),o.value?.setTabsData(t)},setAutoFocus:function(e,t){o.value?.setAutoFocus(e,t)},initPage:function(e){r=e},setPageState:T,setPageData:function(e,t){l.isLoggable(L.DEBUG)&&l.d(wa,"----------loadPageData----setPageData--\x3e>>>pageIndex:"+e),s.addSectionList(e,t.data);const n={data:Na(r,t.data),disableScrollOnFirstScreen:t.disableScrollOnFirstScreen??!1,firstFocusTargetID:t.firstFocusTargetID??"",useDiff:t.useDiff,bindingPlayer:t.bindingPlayer};l.isLoggable(L.DEBUG)&&l.d(wa,"---------设置数据-----setPageData------\x3e>>> pageIndex:"+e+" data:",n),m(e),o.value?.setPageData(e,n)},addPageData:function(e,t,n=0){s.addSectionList(e,t.data);const a={data:Na(r,t.data),disableScrollOnFirstScreen:t.disableScrollOnFirstScreen??!1,firstFocusTargetID:t.firstFocusTargetID??"",useDiff:t.useDiff};try{const t=g(e);0==t?(l.isLoggable(L.DEBUG)&&l.d(wa,"---------设置数据------setPageData---\x3e>>> pageIndex:"+e+" pageNo:"+t+" data:",a," deleteCount:"+n),o.value?.setPageData(e,a)):(l.isLoggable(L.DEBUG)&&l.d(wa,"---------设置数据------addPageData---\x3e>>> pageIndex:"+e+" pageNo:"+t+" data:",a," deleteCount:"+n),o.value?.addPageData(e,a,n))}catch(e){}m(e)},updatePageData:function(e,t){s.updateSectionList(e,t.data);const n={data:Na(r,t.data),disableScrollOnFirstScreen:t.disableScrollOnFirstScreen??!1,firstFocusTargetID:t.firstFocusTargetID??"",useDiff:t.useDiff};o.value?.updatePageData(e,n)},updatePageSection:function(e,t,n){s.updateSection(e,t,n);const a=La(0,n);o.value?.updateRootNode(e,t,a)},getPageSection:function(e,t){return s.getSection(e,t)},getPageSectionList:function(e){return s.getSectionList(e)},deletePageSection:function(e,t,n){s.deleteSection(e,t,n),o.value?.invokeContentFunction(e,"deleteItemRange",[t,n])},addPageItemList:function(e,t,n){s.addItemList(e,t,n);const a=s.getSection(e,t);if(a){const n=La(0,a);o.value?.updateRootNode(e,t,n)}},getPageItem:function(e,t,n){return s.getItem(e,t,n)},updatePageItem:function(e,t,n,a){s.updateItem(e,t,n,a),o.value?.updateChildNode(e,t,n,a)},deletePageItem:function(e,t,n,a){s.deleteItem(e,t,n,a);const i=s.getSection(e,t);if(i){const n=La(0,i);o.value?.updateRootNode(e,t,n)}},blockRootFocus:function(){o.value?.blockRootFocus()},unBlockRootFocus:function(){o.value?.unBlockRootFocus()},focusBackToTop:function(){o.value?.focusBackToTop()},requestNodeFocus:function(e){o.value?.requestNodeFocus(e)},reloadAll:function(e=!0){o.value?.reloadAll(e)},reloadPage:function(e){o.value?.reloadPage(e)},setCurrentPage:function(e){o.value?.setCurrentPage(e)},requestTabFocus:function(e){o.value?.requestTabFocus(e)},invokeContentFunction:function(e,t,n){o.value?.invokeContentFunction(e,t,n)},invokeContentFunctionDirect:function(e,t){o.value?.invokeContentFunctionDirect(e,t)},contentScrollToFocus:function(e){o.value?.contentScrollToFocus(e)},getRootNodeViewState:function(e,t,n){o.value?.getRootNodeViewState(e,t,n)},getChildNodeViewState:function(e,t,n,a,i){o.value?.getChildNodeViewState(e,t,n,a,i)},dispatchUIFunctionOnChildNode:function(e,t,n,a,i){o.value?.dispatchUIFunctionOnChildNode(e,t,n,a,i)},updateItemMatched:function(e="id",t,n){o.value?.updateItemMatched(e,t,n)},updateRootNode:function(e,t,n){o.value?.updateRootNode(e,t,n)},updateChildNode:function(e,t,n,a){o.value?.updateChildNode(e,t,n,a)},destroy:function(){o.value?.destroy()},cancelAll:function(){o.value?.cancelAll()},translationLeft:function(){o.value?.translationLeft()},translationRight:function(){o.value?.translationRight()},rootOpacity:i,onTabPageLoadData:function(e){const t=e.pageIndex,n=e.useDiff;l.isLoggable(L.DEBUG)&&l.d(wa,"----------设置数据----onTabPageLoadData--\x3e>>>pageIndex:"+t),p(t),v(t,n,0)},onTabPageChanged:function(e){const t=e.pageIndex;if(d==t)return;f=d,-1==f&&(f=t),d=t;for(let e=0;e<u.length;e++){const n=s.getTabPageDataState(e);e!=t&&e!=f&&n&&n.state!=Oa.QT_TAB_PAGE_STATE_INIT&&I(e)}const o=e.data;n.emit("onTabPageChanged",t,o);const a=s.getTabPageDataState(t);a&&a.sectionBindIndex>=-1&&v(t,!1,a.sectionBindIndex),h()},onTabEvent:function(e){const t=e.params,o=e.eventName,a=e.params.itemPosition,i=e.params.x,c=e.params.y,s=e.params.contentOffset,r=e.params.state;switch(l.isLoggable(L.DEBUG)&&l.d(wa,"----------onTabEvent------\x3e>>> eventName:"+o+" tabIndex:"+a+" params:",t),n.emit("onTabEvent",a,o,t),o){case"onMoveToTopStart":n.emit("onTabMoveToTopStart",a,o,t);break;case"onMoveToTopEnd":n.emit("onTabMoveToTopEnd",a,o,t);break;case"onMoveToBottomStart":n.emit("onTabMoveToBottomStart",a,o,t);break;case"onMoveToBottomEnd":n.emit("onTabMoveToBottomEnd",a,o,t);break;case"onTabChanged":n.emit("onTabChanged",a,o,t);break;case"onScroll":S(i,c);break;case"onScrollStateChanged":F(s.x,s.y,r.newState)}},onWaterfallItemClick:function(e,t,o){l.isLoggable(L.DEBUG)&&l.d(wa,"-----------onWaterfallItemClick---------------\x3e>>> sectionIndex:"+e+" itemIndex:"+t+" item:",o),n.emit("onTabPageItemClick",d,e,t,o)},onWaterfallItemFocused:function(e,t,o,a){l.isLoggable(L.DEBUG)&&l.d(wa,"-----------onWaterfallItemFocused---------------\x3e>>> sectionIndex:"+e+" itemIndex:"+t+" isFocused:"+o+" item:",a),n.emit("onTabPageItemFocused",d,e,t,o,a)},onWaterfallSectionBind:function(e,t){e<0||(l.isLoggable(L.DEBUG)&&l.d(wa,"---------设置数据-----绑定回调----\x3e>>> pageIndex:"+e+" sectionIndex:"+t),function(e,t){const n=s.getTabPageDataState(e);n&&(n.sectionBindIndex=t,s.setPageDataState(e,n))}(e,t),e===d&&(l.isLoggable(L.DEBUG)&&l.d(wa,"----------loadPageData----bind--\x3e>>>pageIndex:"+e),v(e,!1,t)))},onWaterfallSectionAttached:function(e,t){l.isLoggable(L.DEBUG)&&l.d(wa,"-----------onWaterfallSectionAttached---------------\x3e>>> pageIndex:"+e+" sectionIndex:"+t),s.setSectionState(e,t,xa.QT_LIST_VIEW_ITEM_STATE_ATTACHED),e==d&&h()},onWaterfallSectionDetached:function(e,t){l.isLoggable(L.DEBUG)&&l.d(wa,"-----------onWaterfallSectionDetached---------------\x3e>>> pageIndex:"+e+" sectionIndex:"+t),s.setSectionState(e,t,xa.QT_LIST_VIEW_ITEM_STATE_DETACHED)},onWaterfallScroll:S,onWaterfallScrollStateChanged:F,onTabPageScrollToStart:function(e){const t=e.pageIndex;n.emit("onTabPageScrollToStart",t),l.isLoggable(L.DEBUG)&&l.d(wa,"----------onTabPageScrollToStart------\x3e>>> pageIndex:"+t)},onTabPageScrollToEnd:function(e){const t=e.pageIndex;n.emit("onTabPageScrollToEnd",t),l.isLoggable(L.DEBUG)&&l.d(wa,"----------onTabPageScrollToEnd------\x3e>>> pageIndex:"+t)},onTabChange:function(e){},onTabClick:function(e){n.emit("onTabClick",e)},getCurrentPageIndex:function(){return d},getCurrentTabIndex:function(){return o.value?o.value.getCurrentPage():Promise.resolve(-1)},...Xn(o)}}});Ma.render=function(e,n,l,c,u,d){const f=a("qt-nav-bar"),_=a("qt-waterfall"),T=a("recycler-view-pager"),p=a("tabs");return e.ifTabs?(t(),i(p,{key:0,ref:"tabs",class:s(["tabs-root-css",e.tabClass]),dataStrategy:e.tabsDataStrategy,hideOnSingleTab:e.hideOnSingleTab,pageSwitchDelay:e.tabContentSwitchDelay,resumeTaskDelay:e.tabContentResumeDelay,suspension:e.floatNavBar,useSuspensionBg:e.useNavBarBg,clipChildren:!1,outOfDateTime:e.outOfDateTime,blockFocusDirections:e.tabContentBlockFocusDirections,onScrollToStart:e.onTabPageScrollToStart,onScrollToEnd:e.onTabPageScrollToEnd,onLoadPage:e.onTabPageLoadData,onPageChanged:e.onTabPageChanged,onTabEvent:e.onTabEvent},{default:I((()=>[g(f,{ref:"navBarRef",name:"tabList",focusable:!1,class:s(e.tabNavBarClass),sid:e.tabNavBarSid,"text-key":"text",nextFocusName:e.navBarNextFocusName,horizontalFadingEdgeEnabled:e.horizontalFadingEdgeEnabled,verticalFadingEdgeEnabled:e.verticalFadingEdgeEnabled,fadingEdgeLength:e.fadingEdgeLength,onTabFocus:e.onTabChange,onTabClick:e.onTabClick,clipChldren:!1,horizontal:e.horizontal},{default:I((()=>[o(e.$slots,"tab-item")])),_:3},8,["class","sid","nextFocusName","horizontalFadingEdgeEnabled","verticalFadingEdgeEnabled","fadingEdgeLength","onTabFocus","onTabClick","horizontal"]),g(T,{nextFocusName:e.contentNextFocus,ref:"viewPager",class:s(e.tabPageClass),name:"content",loadingItemType:-1,clipChldren:!1,opacity:e.rootOpacity,focusable:!1,enableTransform:e.pageTransform,slidingEnable:e.slidingEnable,slidingMode:e.slidingMode,initTranslation:e.initTranslation,rightTranslation:e.rightTranslation,leftTranslation:e.leftTranslation,duration:e.duration,interpolatorType:e.interpolatorType,triggerTask:e.triggerTask,direction:e.horizontal?"horizontal":"vertical",blockFocusDirections:e.horizontal?e.blockViewPager:e.blockViewPagerVertical},{default:I((()=>[g(_,{keyName:"_id",endHintEnabled:e.endHintEnabled,enablePlaceholder:e.enablePlaceholder,onOnScrollStateChanged:e.onWaterfallScrollStateChanged,onOnScroll:e.onWaterfallScroll,"custom-pool":e.customPool,sid:"${sid}","custom-item-pool":e.customItemPool,onOnSectionBind:e.onWaterfallSectionBind,onOnSectionAttached:e.onWaterfallSectionAttached,onOnSectionDetached:e.onWaterfallSectionDetached,onOnItemFocused:e.onWaterfallItemFocused,onOnItemClick:e.onWaterfallItemClick},{item:I((()=>[o(e.$slots,"waterfall-item")])),"list-item":I((()=>[o(e.$slots,"waterfall-list-item")])),section:I((()=>[o(e.$slots,"waterfall-section")])),"vue-section":I((()=>[o(e.$slots,"waterfall-vue-section")])),_:3},8,["endHintEnabled","enablePlaceholder","onOnScrollStateChanged","onOnScroll","custom-pool","custom-item-pool","onOnSectionBind","onOnSectionAttached","onOnSectionDetached","onOnItemFocused","onOnItemClick"])])),_:3},8,["nextFocusName","class","opacity","enableTransform","slidingEnable","slidingMode","initTranslation","rightTranslation","leftTranslation","duration","interpolatorType","triggerTask","direction","blockFocusDirections"])])),_:3},8,["dataStrategy","hideOnSingleTab","pageSwitchDelay","resumeTaskDelay","suspension","useSuspensionBg","outOfDateTime","class","blockFocusDirections","onScrollToStart","onScrollToEnd","onLoadPage","onPageChanged","onTabEvent"])):r("v-if",!0)},Ma.__file="src/tab/index.vue";var Ba=_n({name:"qt-vue-section",setup(t,n){const o=e();return{onSectionBind:function(){},viewRef:o,...Xn(o)}}});Ba.render=function(e,n,l,c,s,r){const u=a("tv-item");return t(),i(u,{ref:"viewRef",class:"qt-ui-waterfall-vue-section",clipChildren:!1,clipPadding:!1,flexStyle:"${style}",singleton:"",onItemBind:e.onSectionBind},{default:I((()=>[o(e.$slots,"default")])),_:3},8,["onItemBind"])},Ba.__scopeId="data-v-d02af3c2",Ba.__file="src/section/index.vue";var Qa=_n({name:"qt-classified-list-view",props:{className:{type:String,default:"content_list_view"},classNavName:{type:String,default:"nav_list_view"},currentFocusIndex:{type:Number,default:0},focusScale:{type:Number,default:1.15},navType:{type:Number,default:10001},yOffest:{type:Number,default:802}},emits:["item-click","item-focused"],setup(t,n){const o=e();let a=e(1);const i=e(),l=e();let c=[],s=-1,r=-1,u=[];let d=-1;let f=-1,_=-1;return{descendantFocusability:a,content_list_view:i,nav_list_view:l,init:e=>{e.forEach(((n,o)=>{n.mask||(n.mask="http://qcloudcdn.a311.ottcn.com/channelzero_image/web_static/extend_screen/mood/mask.png"),n.icon||(n.icon="http://qcloudcdn.a311.ottcn.com/channelzero_image/web_static/extend_screen/mood/playing.png"),n.isPlaying=!1,t.currentFocusIndex==o&&(n.isPlaying=!0);let a=!1;for(let e=0;e<c.length;e++){const t=c[e];n.categoryname==t.categoryname&&(n.navIndex=e,a=!0)}a||(n.navIndex||(n.navIndex=c.length),c.push({type:n.type,decoration:{left:50},categoryname:n.categoryname,startIndex:o,isNeedFocus:!0})),u=e})),Wt((()=>{i.value?.setListData(e),l.value?.setListData(c),setTimeout((()=>{s=t.currentFocusIndex,r=e[t.currentFocusIndex].navIndex,i.value?.scrollToFocused(s),l.value?.scrollToSelected(r,!0)}),300)}))},onItemBind:()=>{},onSItemClick:e=>{n.emit("item-click",e)},onFItemClick:e=>{n.emit("item-click",e)},scrollToIndex:(e,t=!0,n=802)=>{i.value?.scrollToIndex(e,t,n)},scrollToFocused:e=>{a.value=1,setTimeout((()=>{i.value?.scrollToFocused(e)}),300)},setItemFocused:e=>{setTimeout((()=>{a.value=1}),300),i.value?.setItemFocused(e)},scrollToSelected:(e,t=!0)=>{i.value?.scrollToSelected(e,t)},setItemSelected:(e,t=!0)=>{i.value?.setItemSelected(e,!0)},onSItemFocused:e=>{clearTimeout(d),d=setTimeout((()=>{if(e.hasFocus){if(s!=e.position){if(s>-1){let e=u[s];e.isPlaying=!1,i.value?.updateItem(s,e)}let t=u[e.position];t.isPlaying=!0,i.value?.updateItem(e.position,t)}s=e.position,r!=e.item.navIndex&&(r=e.item.navIndex,l.value?.scrollToSelected(e.item.navIndex,!0)),n.emit("item-focused",e)}else r=e.item.navIndex}),300)},onFItemFocused:e=>{clearTimeout(f),clearTimeout(_),e.hasFocus&&r!=e.position&&(a.value=2,r=e.position,u[e.item.startIndex].isNeedFocus?(i.value?.scrollToIndex(e.item.startIndex,!0,t.yOffest),_=setTimeout((()=>{i.value?.setItemSelected(e.item.startIndex,!0),f=setTimeout((()=>{a.value=1}),200)}),400)):(i.value?.scrollToIndex(e.item.startIndex+1,!0,t.yOffest),_=setTimeout((()=>{i.value?.setItemSelected(e.item.startIndex+1,!0),f=setTimeout((()=>{a.value=1}),200)}),400)))},updateItem:(e,t)=>{u[e]=t,u.forEach(((e,t)=>{e.mask||(e.mask="http://qcloudcdn.a311.ottcn.com/channelzero_image/web_static/extend_screen/mood/mask.png"),e.icon||(e.icon="http://qcloudcdn.a311.ottcn.com/channelzero_image/web_static/extend_screen/mood/playing.png");for(let t=0;t<c.length;t++){const n=c[t];e.categoryname==n.categoryname&&(e.navIndex=t)}})),i.value?.updateItem(e,u[e])},viewRef:o,...Xn(o)}}});const Ga={focusable:!1,clipChildren:!1,ref:"viewRef"},$a=["focusScale"],Va=m("img",{class:"coverV",src:"${coverV}",focusable:!1,postDelay:300},null,-1),Ya=m("img",{src:"${mask}",class:"titMask",focusable:!1,postDelay:300,showIf:"${isPlaying}"},null,-1),Wa={focusable:!1,class:"clv_item_text_box",showIf:"${isPlaying}"},qa={class:"playMark",focusable:!1},za=["type"],Ha=m("div",{class:"line",focusable:!1,showOnState:"selected",duplicateParentState:!0},null,-1),ja=m("div",{duplicateParentState:!0,class:"nav_item_text_focused",showOnState:"focused",focusable:!1,gradientBackground:{colors:["#FF2F7CEB","#FF1163D8"],cornerRadius:40}},null,-1),Ka={class:"nav_item_text",focusable:!1,duplicateParentState:!0};Qa.render=function(e,i,l,u,d,f){const _=a("play-mark"),T=a("text-view"),p=a("qt-list-view");return t(),n("div",Ga,[g(p,{class:s(e.className),ref:"content_list_view",clipChildren:!1,clipPadding:!1,onItemClick:e.onSItemClick,horizontal:"",blockFocusDirections:["left","right"],descendantFocusability:e.descendantFocusability,onItemFocused:e.onSItemFocused},{default:I((()=>[m("div",{type:10001,name:"clv_item",class:"clv_item",focusable:!0,enableFocusBorder:!0,clipChildren:!1,eventClick:"",eventFocus:"",focusScale:e.focusScale},[Va,Ya,m("div",Wa,[m("div",qa,[g(_,{style:c([{width:"28px",height:"20px"},{"margin-left":"16px"}]),markColor:"#ffffff",gap:-1,focusable:!1})]),g(T,{focusable:!1,ellipsizeMode:2,fontSize:30,gravity:"centerVertical",lines:1,maxLines:1,class:"clv_item_text",text:"${assetTitle}",paddingRect:[6,0,0,0]})])],8,$a),o(e.$slots,"item")])),_:3},8,["class","onItemClick","descendantFocusability","onItemFocused"]),r(" listview first nav "),g(p,{class:s(e.classNavName),ref:"nav_list_view",clipChildren:!1,clipPadding:!1,onItemClick:e.onFItemClick,horizontal:"",blockFocusDirections:["left","right"],onItemFocused:e.onFItemFocused},{default:I((()=>[m("div",{type:e.navType,name:"nav_item",class:"nav_item",focusable:!0,enableFocusBorder:!1,focusScale:"1",eventClick:"",eventFocus:"",clipChildren:!1},[Ha,ja,m("div",Ka,[g(T,{focusable:!1,ellipsizeMode:2,duplicateParentState:!0,fontSize:44,gravity:"center",lines:1,class:"text_selected",text:"${categoryname}",showOnState:["selected"]}),g(T,{focusable:!1,ellipsizeMode:2,duplicateParentState:!0,fontSize:44,gravity:"center",lines:1,maxLines:1,class:"text",text:"${categoryname}",showOnState:"focused"}),g(T,{focusable:!1,ellipsizeMode:2,duplicateParentState:!0,fontSize:44,gravity:"center",lines:1,class:"text",text:"${categoryname}",showOnState:["normal"]})])],8,za),o(e.$slots,"navItem")])),_:3},8,["class","onItemClick","onItemFocused"])],512)},Qa.__file="src/classified-list-view/index.vue";var Ja=l({name:"media-series-number-item",props:{isVip:{type:Boolean,default:!1}}});const Xa={class:"number-item-container",focusable:!0,focusScale:1},Za={class:"number-item-text-root-css",duplicateParentState:!0},ei={style:{position:"absolute","flex-direction":"row","justify-content":"center","align-items":"center",width:"160px",height:"80px","background-color":"transparent"},showOnState:"selected",duplicateParentState:!0},ti={class:"media-series-number-item-vip-root",showIf:"${vip.enable}",gradientBackground:{colors:["#FFB67827","#FFDBAF5C"],cornerRadius:4,orientation:6}};Ja.render=function(e,o,i,l,c,s){const u=a("play-mark"),d=a("text-view");return t(),n("div",Xa,[r(" 文字"),m("div",Za,[m("div",ei,[g(u,{duplicateParentState:!0,flexStyle:"${normalMarkStyle}",style:{width:"24px",height:"25px",position:"absolute",left:"20px"},markColor:"#FF4E46"}),g(u,{duplicateParentState:!0,flexStyle:"${vipMarkStyle}",style:{width:"24px",height:"25px",position:"absolute",left:"20px"},markColor:"#FFD97C"})]),g(d,{duplicateParentState:!0,fontSize:36,gravity:"center",autoWidth:"",lines:1,flexStyle:"${normalTitleStyle}",class:"number-item-text-css",text:"${title}"}),g(d,{duplicateParentState:!0,fontSize:36,gravity:"center",flexStyle:"${vipTitleStyle}",autoWidth:"",class:"number-item-text-vip-css",lines:1,text:"${title}"})]),r(" vip角标 "),m("div",ti,[g(d,{duplicateParentState:!0,class:"media-series-number-item-vip-text",fontSize:20,gravity:"center",text:"${vip.text}"})])])},Ja.__scopeId="data-v-4afb8987",Ja.__file="src/series/item/media-series-number-item.vue";var ni=l({name:"media-series-text-item",props:{isVip:{type:Boolean,default:!1}}});const oi={class:"text-item-container",focusable:!0,focusScale:1},ai={class:"text-item-container-css",style:{position:"absolute","align-items":"center","background-color":"transparent"},duplicateParentState:!0},ii={style:{position:"absolute","flex-direction":"row","justify-content":"center","align-items":"center",width:"490px",height:"100px","background-color":"transparent"},showOnState:"selected",duplicateParentState:!0},li={class:"media-series-text-item-vip-root",showIf:"${vip.enable}",gradientBackground:{colors:["#FFB67827","#FFDBAF5C"],cornerRadius:4,orientation:6}};ni.render=function(e,o,i,l,c,s){const r=a("play-mark"),u=a("text-view");return t(),n("div",oi,[m("div",ai,[m("div",ii,[g(r,{duplicateParentState:!0,flexStyle:"${normalMarkStyle}",style:{width:"24px",height:"25px",position:"absolute",left:"20px","margin-right":"10px"},markColor:"#FF4E46"}),g(r,{duplicateParentState:!0,flexStyle:"${vipMarkStyle}",style:{width:"24px",height:"25px",position:"absolute",left:"20px","margin-right":"10px"},markColor:"#FFD97C"})]),g(u,{duplicateParentState:!0,maxLines:1,ellipsizeMode:2,flexStyle:"${normalTitleStyle}",fontSize:30,class:"text-item-text",gravity:"centerVertical",text:"${title}"}),g(u,{duplicateParentState:!0,maxLines:1,ellipsizeMode:2,flexStyle:"${vipTitleStyle}",fontSize:30,class:"text-item-text-vip",gravity:"centerVertical",text:"${title}"})]),m("div",li,[g(u,{duplicateParentState:!0,class:"media-series-text-item-vip-text",fontSize:20,gravity:"center",text:"${vip.text}"})])])},ni.__scopeId="data-v-4859f623",ni.__file="src/series/item/media-series-text-item.vue";var ci,si,ri=l({name:"media-series",props:{customItem:{type:Boolean,default:!1},initParam:{type:Object,default:()=>({})},height:{type:Number,default:230},scrollParam:{type:Object,default:()=>({})},groupParam:{type:Object,default:()=>({})},commonParam:{type:Object,default:()=>({})}},emits:["load-data","item-click","item-focused","group-item-focused"],setup(t,n){const o=e();let a=e(!1);const i=N();_((()=>{a.value=!t.customItem}));return{selectSeries:o,showOld:a,onLoadData:e=>{n.emit("load-data",e)},setPageData:(e,t)=>{o.value?.setPageData(e,t)},setInitData:(e,t)=>{o.value?o.value?.setInitData(e,t):Wt((()=>{o.value&&o.value?.setInitData(e,t)}))},onItemClick:e=>{n.emit("item-click",e)},onItemFocused:e=>{n.emit("item-focused",e)},onGroupItemFocused:e=>{n.emit("group-item-focused",e)},scrollTo:e=>{o.value?.scrollTo(e)},scrollToWithOffset:(e,t,n)=>{o.value?.scrollToWithOffset(e,t,n)},requestFocus:e=>{o.value?.requestFocus(e)},setSelected:e=>{Wt((()=>{i.isLoggable(L.DEBUG)&&i.d("media-series","--------setSelected-------\x3e>>>",e),o.value?.setSelected(e)}))},setup:()=>{o.value?.setup()},setGroupSelected:e=>{o.value?.setGroupSelected(e)},release:()=>{o.value?.release()}}}});function ui(e,t,n,o){const a=function(e,t,n,o){switch(e){case ci.QT_MEDIA_SERIES_TYPE_LEFT_RIGHT:break;case ci.QT_MEDIA_SERIES_TYPE_NUMBER:return 80;case ci.QT_MEDIA_SERIES_TYPE_TEXT:return 100;case ci.QT_MEDIA_SERIES_TYPE_TOP_DOWN:}return-1}(e);switch(e){case ci.QT_MEDIA_SERIES_TYPE_TOP_DOWN:case ci.QT_MEDIA_SERIES_TYPE_TEXT:return{contentWidth:1740,itemGap:36,initPosition:o.initPosition,contentHeight:a};case ci.QT_MEDIA_SERIES_TYPE_NUMBER:return{contentWidth:1740,itemGap:15.6,initPosition:o.initPosition,contentHeight:a};case ci.QT_MEDIA_SERIES_TYPE_LEFT_RIGHT:return{}}}ri.render=function(e,n,l,s,u,d){const f=a("select-series"),_=a("large-list");return e.customItem?(t(),i(f,{key:0,ref:"selectSeries",clipChildren:!1,scrollParam:e.scrollParam,groupParam:e.groupParam,commonParam:e.commonParam,display:!0,onLoadData:e.onLoadData,onItemClick:e.onItemClick,onItemFocused:e.onItemFocused,onGroupItemFocused:e.onGroupItemFocused,style:c({width:1920,height:e.height})},{default:I((()=>[o(e.$slots,"default")])),_:3},8,["scrollParam","groupParam","commonParam","onLoadData","onItemClick","onItemFocused","onGroupItemFocused","style"])):e.showOld?(t(),i(_,{key:1,ref:"selectSeries",clipChildren:!1,display:!0,initParam:e.initParam,onLoadData:e.onLoadData,onItemClick:e.onItemClick,onItemFocused:e.onItemFocused,onGroupItemFocused:e.onGroupItemFocused,style:c({width:1920,height:e.height})},null,8,["initParam","onLoadData","onItemClick","onItemFocused","onGroupItemFocused","style"])):r("v-if",!0)},ri.__file="src/series/component/media-series.vue",function(e){e.QT_MEDIA_SERIES_TYPE_LEFT_RIGHT="leftRight",e.QT_MEDIA_SERIES_TYPE_TOP_DOWN="topDown",e.QT_MEDIA_SERIES_TYPE_TEXT="text",e.QT_MEDIA_SERIES_TYPE_NUMBER="number",e.QT_MEDIA_SERIES_TYPE_CUSTOM="custom"}(ci||(ci={})),function(e){e[e.QT_MEDIA_SERIES_STYLE_TYPE_DEFAULT=0]="QT_MEDIA_SERIES_STYLE_TYPE_DEFAULT",e[e.QT_MEDIA_SERIES_STYLE_TYPE_VIP=1]="QT_MEDIA_SERIES_STYLE_TYPE_VIP"}(si||(si={}));var di,fi,_i,Ti,pi=l({name:"qt-media-series",components:{"media-series-number-item":Ja,"media-series-text-item":ni,"media-series":ri},emits:["load-data","item-click","item-focused","group-item-focused"],props:{itemHeight:{type:Number,default:0}},setup(t,n){const o=e(),{clearFocus:a,requestFocusDirectly:i,setVisibility:l}=Xn(o),c=e(!1),s=N(),r=e(),u=e(),d=e(),f=e(),_=e(0),T=e(!1),p=e(ci.QT_MEDIA_SERIES_TYPE_NUMBER);let I;return{isVip:T,seriesType:p,params:r,commonParams:u,scrollParams:d,groupParams:f,mediaSeriesRef:o,show:c,height:_,onLoadData:e=>{n.emit("load-data",e)},setInitData:(e,n,a,i)=>{p.value=e,I=i,ci.QT_MEDIA_SERIES_TYPE_LEFT_RIGHT!==e?(u.value=ui(e,0,0,i),d.value=function(e,t,n,o){if(e===ci.QT_MEDIA_SERIES_TYPE_NUMBER)return{scrollType:1,pageDisplayCount:10,paddingForPageLeft:0,paddingForPageRight:0}}(e),f.value=function(e,t,n,o){const a={};if(t.enable){switch(e){case ci.QT_MEDIA_SERIES_TYPE_NUMBER:a.groupSize=10;break;case ci.QT_MEDIA_SERIES_TYPE_TEXT:a.groupSize=3;break;default:a.groupSize=t.size}n==si.QT_MEDIA_SERIES_STYLE_TYPE_VIP&&(a.textColor={normal:"#80FFFFFF",focused:"#603314",selected:"#FFD97C"},a.focusBackground={orientation:"LEFT_RIGHT",cornerRadius:[40,40,40,40],color:["#FFE398","#EEB364"],padding:[34,6]},a.mark={color:"#FFD97C"})}return a}(e,n,a),ci.QT_MEDIA_SERIES_TYPE_CUSTOM==e?_.value=t.itemHeight+(n.enable?70:0):_.value=function(e,t,n,o){switch(e){case ci.QT_MEDIA_SERIES_TYPE_LEFT_RIGHT:break;case ci.QT_MEDIA_SERIES_TYPE_NUMBER:return 80+(t.enable?70:0);case ci.QT_MEDIA_SERIES_TYPE_TEXT:return 100+(t.enable?70:0);case ci.QT_MEDIA_SERIES_TYPE_TOP_DOWN:}return-1}(e,n),Wt((()=>{o.value&&o.value?.setInitData(i.totalCount,i.pageSize)})),s.isLoggable(L.DEBUG)&&s.d("MediaSeries","----setInitData----\x3e>>>",_.value)):(r.value=function(e,t,n,o){const a=n==si.QT_MEDIA_SERIES_STYLE_TYPE_VIP;let i={initPosition:o.initPosition,contentWidth:1740,contentHeight:160,itemGap:36,enableGroup:t.enable,groupSize:t.size,groupHeight:46,groupTopMargin:24,group:null,template:null};return i.template={titleSize:28,floatTitleSize:20,isFree:!a,type:"leftRight",width:560,height:160,focusScale:1.1},i.template.extra={imgWidth:268,imgHeight:160,textColor:{normal:"#80FFFFFF",focused:a?"#FFD97C":"#ffffffff",selected:a?"#FFD97C":"#ffffffff"},cornerBgColor:{orientation:"LEFT_RIGHT",cornerRadius:[4,4,4,4],color:["#B67827","#DBAF5C"]}},i.group={itemWidth:85,itemHeight:46,itemGap:50,textSize:30,textColor:{normal:"#80FFFFFF",focused:a?"#603314":"#000000",selected:a?"#FFD97C":"#F5F5F5"},focusBackground:{orientation:"LEFT_RIGHT",cornerRadius:[40,40,40,40],color:[a?"#FFE398":"#F5F5F5",a?"#EEB364":"#F5F5F5"],padding:[34,6]},mark:{color:a?"#FFD97C":"#FFFFFF"}},i}(0,n,a,i),_.value=function(e,t,n,o,a){return t.enable?a.value.template.height+a.value.groupHeight+a.value.groupTopMargin:a.value.template.height}(0,n,0,0,r),r.value.totalCount=i.totalCount,r.value.pageSize=i.pageSize),c.value=!0},setPageData:(e,t)=>{let n=t;p.value==ci.QT_MEDIA_SERIES_TYPE_NUMBER?n=function(e,t,n){const o=[];if(n.length>0){const a={width:160,height:80},i={width:0,height:0},l={width:24,height:25};n.forEach(((n,c)=>{let s=e*t+c+1,r=s>9?""+s:"0"+s;const u={id:n.id,title:r,vip:n.vip};n.vip&&n.vip.enable?(u.vipTitleStyle=a,u.vipMarkStyle=l,u.normalTitleStyle=i,u.normalMarkStyle=i):(u.vipTitleStyle=i,u.vipMarkStyle=i,u.normalTitleStyle=a,u.normalMarkStyle=l),o.push(u)}))}return o}(e,I.pageSize,t):p.value==ci.QT_MEDIA_SERIES_TYPE_TEXT?n=function(e,t,n){if(n.length>0){const e={width:373,height:100},t={width:0,height:0},o={width:24,height:25};n.forEach(((n,a)=>{n.vip&&n.vip.enable?(n.vipTitleStyle=e,n.vipMarkStyle=o,n.normalTitleStyle=t,n.normalMarkStyle=t):(n.vipTitleStyle=t,n.vipMarkStyle=t,n.normalTitleStyle=e,n.normalMarkStyle=o)}))}return n}(0,I.pageSize,t):(p.value==ci.QT_MEDIA_SERIES_TYPE_LEFT_RIGHT||p.value==ci.QT_MEDIA_SERIES_TYPE_TOP_DOWN)&&(n=function(e,t,n){return n}(0,I.pageSize,t)),o.value?.setPageData(e,n)},onItemClick:e=>{n.emit("item-click",e)},onItemFocused:e=>{n.emit("item-focused",e)},onGroupItemFocused:e=>{n.emit("group-item-focused",e)},scrollTo:e=>{o.value?.scrollTo(e)},scrollToWithOffset:(e,t)=>{o.value?.scrollToWithOffset(e,t,!1)},requestFocus:e=>{o.value?.requestFocus(e)},setSelected:e=>{o.value?.setSelected(e)},setup:()=>{o.value?.setup()},setGroupSelected:e=>{o.value?.setGroupSelected(e)},release:()=>{o.value?.release(),c.value=!1},blockRootFocus:()=>{o.value&&P.callUIFunction(o.value,"blockRootFocus",[])},unBlockRootFocus:()=>{o.value&&P.callUIFunction(o.value,"unBlockRootFocus",[])},clearFocus:a,requestFocusDirectly:i,setVisibility:l}}});pi.render=function(e,n,l,c,s,u){const d=a("media-series-number-item"),f=a("media-series-text-item"),_=a("media-series");return e.show?(t(),i(_,{key:0,ref:"mediaSeriesRef",clipChildren:!1,"init-param":e.params,height:e.height,"custom-item":"leftRight"!==e.seriesType,"scroll-param":e.scrollParams,"group-param":e.groupParams,"common-param":e.commonParams,onLoadData:e.onLoadData,onItemClick:e.onItemClick,onItemFocused:e.onItemFocused,onGroupItemFocused:e.onGroupItemFocused},{default:I((()=>["number"===e.seriesType?(t(),i(d,{key:0,"is-vip":e.isVip},null,8,["is-vip"])):"text"===e.seriesType?(t(),i(f,{key:1,"is-vip":e.isVip},null,8,["is-vip"])):"custom"===e.seriesType?o(e.$slots,"default",{key:2}):r("v-if",!0)])),_:3},8,["init-param","height","custom-item","scroll-param","group-param","common-param","onLoadData","onItemClick","onItemFocused","onGroupItemFocused"])):r("v-if",!0)},pi.__file="src/series/index.vue",function(e){e[e.QT_ACCELERATE_DECELERATE_INTERPOLATOR=1]="QT_ACCELERATE_DECELERATE_INTERPOLATOR",e[e.QT_ACCELERATE_INTERPOLATOR=2]="QT_ACCELERATE_INTERPOLATOR",e[e.QT_ANTICIPATE_INTERPOLATOR=3]="QT_ANTICIPATE_INTERPOLATOR",e[e.QT_ANTICIPATE_OVERSHOOT_INTERPOLATOR=4]="QT_ANTICIPATE_OVERSHOOT_INTERPOLATOR",e[e.QT_BOUNCE_INTERPOLATOR=5]="QT_BOUNCE_INTERPOLATOR",e[e.QT_CYCLE_INTERPOLATOR=6]="QT_CYCLE_INTERPOLATOR",e[e.QT_DECELERATE_INTERPOLATOR=7]="QT_DECELERATE_INTERPOLATOR",e[e.QT_LINEAR_INTERPOLATOR=8]="QT_LINEAR_INTERPOLATOR",e[e.QT_OVERSHOOT_INTERPOLATOR=9]="QT_OVERSHOOT_INTERPOLATOR",e[e.QT_FAST_OUT_LINEAR_IN_INTERPOLATOR=10]="QT_FAST_OUT_LINEAR_IN_INTERPOLATOR",e[e.QT_FAST_OUT_SLOW_IN_INTERPOLATOR=11]="QT_FAST_OUT_SLOW_IN_INTERPOLATOR",e[e.QT_PATH_INTERPOLATOR=12]="QT_PATH_INTERPOLATOR"}(di||(di={})),function(e){e.QT_ANIMATION_PROPERTY_NAME_ALPHA="alpha",e.QT_ANIMATION_PROPERTY_NAME_ROTATION="rotation",e.QT_ANIMATION_PROPERTY_NAME_ROTATION_X="rotationX",e.QT_ANIMATION_PROPERTY_NAME_ROTATION_Y="rotationY",e.QT_ANIMATION_PROPERTY_NAME_ROTATION_Z="rotationZ",e.QT_ANIMATION_PROPERTY_NAME_SCALE_X="scaleX",e.QT_ANIMATION_PROPERTY_NAME_SCALE_Y="scaleY",e.QT_ANIMATION_PROPERTY_NAME_SCALE_Z="scaleZ",e.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_X="translationX",e.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Y="translationY",e.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Z="translationZ"}(fi||(fi={})),function(e){e[e.QT_ANIMATION_REPEAT_MODE_RESTART=1]="QT_ANIMATION_REPEAT_MODE_RESTART",e[e.QT_ANIMATION_REPEAT_MODE_REVERSE=2]="QT_ANIMATION_REPEAT_MODE_REVERSE",e[e.QT_ANIMATION_REPEAT_MODE_INFINITE=-1]="QT_ANIMATION_REPEAT_MODE_INFINITE"}(_i||(_i={})),function(e){e.QT_ANIMATION_VALUE_TYPE_INT="ofInt",e.QT_ANIMATION_VALUE_TYPE_FLOAT="ofFloat"}(Ti||(Ti={}));const Ii="QTCollapse";var gi,mi,vi,hi,Si,Fi,Ei,bi,Ai,yi,Ri,Pi,Ni,Li,Ui,Di,Oi=_n({name:"qt-collapse",emits:["onCollapseItemExpand"],setup(t,n){const o=N(),a=e();let i,l,c=e();const s=e(0),r=e(0);let u=200;const d={};const f={};function _(e){return f[`${e}`]}function T(e,t){const a=i[e],l=a.__y,c=r.value-a.height-l;o.isLoggable(L.DEBUG)&&o.d(Ii,"-------expandItem-------\x3e>>>",e,c,l);let s=0;for(let n=i.length-1;n>=0;n--){const a=i[n];a.height;const l=a.collapseHeight;n<e&&(s+=l);try{const t=I(n);t&&t.onCollapseItemExpand(n==e)}catch(e){}const r=_(n);r&&(o.isLoggable(L.DEBUG)&&o.d(Ii,"-------expandItem----translationY---\x3e>>>",a,n,a.__translationY,c+s),p(n+"",a,r,a.__translationY,c+s,t))}try{n.emit("onCollapseItemExpand",e,a)}catch(e){}}function p(e,t,n,o,a,i){n.objectAnimator2(e,Ti.QT_ANIMATION_VALUE_TYPE_FLOAT,fi.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Y,o,a,i,-1,0,!1,!1),n.startAnimator(e),t.__translationY=a}function I(e){return d[`${e}`]}return{collapseItemComponentList:c,initComponentRef:function(e,t,n){e&&(d[`${n}`]=e)},initAnimComponentRef:function(e,t,n){e&&(f[`${n}`]=e)},init:function(e){c.value=n.slots.default&&n.slots.default(),l=e.defaultIndex??0,i=e.itemList,s.value=e.width,r.value=e.height,u=e.expandDuration??200,l<0&&(l=0),l>=i.length&&(l=i.length-1),function(){if(!i||i.length<=0)return;const e=i.length;let t=0;for(let n=e-1;n>=0;n--){const e=i[n];t+=e.height,e.__y=r.value-t,e.__translationY=0}o.isLoggable(L.DEBUG)&&o.d(Ii,"----initCollapseItem----\x3e>>>",i)}(),E((()=>{T(l,0)}))},getItem:I,expandItem:function(e){T(e,u)},collapse:function(){const e=i.length,t=i[e-1],n=t.__y,o=r.value-t.height-n;let a=0;for(let t=e-1;t>=0;t--){const e=i[t];a+=e.collapseHeight;try{const e=I(t);e&&e.onCollapseItemExpand(!1)}catch(e){}const n=_(t);n&&p(t+"",e,n,e.__translationY,o+a,0)}},expand:function(){for(let e=i.length-1;e>=0;e--){const t=i[e];try{const t=I(e);t&&t.onCollapseItemExpand(!0)}catch(e){}const n=_(e);n&&p(e+"",t,n,t.__translationY,0,0)}},collapseWidth:s,collapseHeight:r,viewRef:a,...Xn(a)}}});function xi(e,t,n=!0){let o=e.length;n?e.map(((e,n)=>{n!==o-1&&(e.decoration={bottom:t})})):e.map(((e,n)=>{n!==o-1&&(e.decoration={right:t})}))}Oi.render=function(e,o,l,s,r,u){const d=a("qt-animation");return t(),n("div",{class:"qt-collapse-root-css",ref:"viewRef",clipChildren:!1,clipPadding:!1,style:c({width:e.collapseWidth,height:e.collapseHeight})},[(t(!0),n(b,null,A(e.collapseItemComponentList,((n,o)=>(t(),i(d,{ref_for:!0,ref:t=>e.initAnimComponentRef(t,n,o),class:"qt-collapse-item-css"},{default:I((()=>[(t(),i(y(n),{key:n.name,class:"qt-collapse-item-css",ref_for:!0,ref:t=>e.initComponentRef(t,n,o)}))])),_:2},1536)))),256))],4)},Oi.__scopeId="data-v-4feca809",Oi.__file="src/collapse/index.vue",function(e){e.VISIBLE="visible",e.INVISIBLE="invisible",e.GONE="gone"}(gi||(gi={})),function(e){e.QT_DIRECTION_UP="up",e.QT_DIRECTION_DOWN="down",e.QT_DIRECTION_RIGHT="right",e.QT_DIRECTION_LEFT="left"}(mi||(mi={})),function(e){e[e.SCROLL_STATE_IDLE=0]="SCROLL_STATE_IDLE",e[e.SCROLL_STATE_DRAGGING=1]="SCROLL_STATE_DRAGGING",e[e.SCROLL_STATE_SETTLING=2]="SCROLL_STATE_SETTLING"}(vi||(vi={})),function(e){e[e.QT_NAV_BAR_ITEM_TYPE_TEXT=2e4]="QT_NAV_BAR_ITEM_TYPE_TEXT"}(hi||(hi={})),function(e){e[e.QT_TAB_ITEM_TYPE_DEFAULT=2e4]="QT_TAB_ITEM_TYPE_DEFAULT"}(Si||(Si={})),function(e){e[e.QT_SEEK_BAR_MODE_SINGLE=1]="QT_SEEK_BAR_MODE_SINGLE",e[e.QT_SEEK_BAR_MODE_RANGE=2]="QT_SEEK_BAR_MODE_RANGE"}(Fi||(Fi={})),function(e){e[e.QT_SEEK_BAR_GRAVITY_TOP=0]="QT_SEEK_BAR_GRAVITY_TOP",e[e.QT_SEEK_BAR_GRAVITY_BOTTOM=1]="QT_SEEK_BAR_GRAVITY_BOTTOM",e[e.QT_SEEK_BAR_GRAVITY_CENTER=2]="QT_SEEK_BAR_GRAVITY_CENTER"}(Ei||(Ei={})),function(e){e[e.QT_SEEK_BAR_INDICATION_MODE_SHOW_WHEN_TOUCH=0]="QT_SEEK_BAR_INDICATION_MODE_SHOW_WHEN_TOUCH",e[e.QT_SEEK_BAR_INDICATION_MODE_ALWAYS_HIDE=1]="QT_SEEK_BAR_INDICATION_MODE_ALWAYS_HIDE",e[e.QT_SEEK_BAR_INDICATION_MODE_ALWAYS_SHOW_AFTER_TOUCH=2]="QT_SEEK_BAR_INDICATION_MODE_ALWAYS_SHOW_AFTER_TOUCH",e[e.QT_SEEK_BAR_INDICATION_MODE_ALWAYS_SHOW=3]="QT_SEEK_BAR_INDICATION_MODE_ALWAYS_SHOW"}(bi||(bi={})),function(e){e[e.QT_SEEK_BAR_TICK_MARK_MODE_NUMBER=0]="QT_SEEK_BAR_TICK_MARK_MODE_NUMBER",e[e.QT_SEEK_BAR_TICK_MARK_MODE_OTHER=1]="QT_SEEK_BAR_TICK_MARK_MODE_OTHER"}(Ai||(Ai={})),function(e){e[e.QT_SEEK_BAR_TICK_MARK_GRAVITY_LEFT=0]="QT_SEEK_BAR_TICK_MARK_GRAVITY_LEFT",e[e.QT_SEEK_BAR_TICK_MARK_GRAVITY_CENTER=1]="QT_SEEK_BAR_TICK_MARK_GRAVITY_CENTER",e[e.QT_SEEK_BAR_TICK_MARK_GRAVITY_RIGHT=2]="QT_SEEK_BAR_TICK_MARK_GRAVITY_RIGHT"}(yi||(yi={})),function(e){e[e.QT_SEEK_BAR_TICK_MARK_LAYOUT_GRAVITY_TOP=0]="QT_SEEK_BAR_TICK_MARK_LAYOUT_GRAVITY_TOP",e[e.QT_SEEK_BAR_TICK_MARK_LAYOUT_GRAVITY_BOTTOM=1]="QT_SEEK_BAR_TICK_MARK_LAYOUT_GRAVITY_BOTTOM"}(Ri||(Ri={})),function(e){e[e.QT_LOTTIE_REPEAT_MODE_RESTART=1]="QT_LOTTIE_REPEAT_MODE_RESTART",e[e.QT_LOTTIE_REPEAT_MODE_REVERSE=2]="QT_LOTTIE_REPEAT_MODE_REVERSE",e[e.QT_LOTTIE_REPEAT_MODE_INFINITE=-1]="QT_LOTTIE_REPEAT_MODE_INFINITE"}(Pi||(Pi={})),function(e){e[e.QT_LOTTIE_ASYNC_UPDATE_AUTOMATIC=0]="QT_LOTTIE_ASYNC_UPDATE_AUTOMATIC",e[e.QT_LOTTIE_ASYNC_UPDATE_ENABLED=1]="QT_LOTTIE_ASYNC_UPDATE_ENABLED",e[e.QT_LOTTIE_ASYNC_UPDATE_DISABLED=2]="QT_LOTTIE_ASYNC_UPDATE_DISABLED"}(Ni||(Ni={})),function(e){e[e.QT_GRADIENT_ORIENTATION_TOP_BOTTOM=0]="QT_GRADIENT_ORIENTATION_TOP_BOTTOM",e[e.QT_GRADIENT_ORIENTATION_TR_BL=1]="QT_GRADIENT_ORIENTATION_TR_BL",e[e.QT_GRADIENT_ORIENTATION_RIGHT_LEFT=2]="QT_GRADIENT_ORIENTATION_RIGHT_LEFT",e[e.QT_GRADIENT_ORIENTATION_BR_TL=3]="QT_GRADIENT_ORIENTATION_BR_TL",e[e.QT_GRADIENT_ORIENTATION_BOTTOM_TOP=4]="QT_GRADIENT_ORIENTATION_BOTTOM_TOP",e[e.QT_GRADIENT_ORIENTATION_BL_TR=5]="QT_GRADIENT_ORIENTATION_BL_TR",e[e.QT_GRADIENT_ORIENTATION_LEFT_RIGHT=6]="QT_GRADIENT_ORIENTATION_LEFT_RIGHT",e[e.QT_GRADIENT_ORIENTATION_TL_BR=7]="QT_GRADIENT_ORIENTATION_TL_BR"}(Li||(Li={})),function(e){e[e.QT_GRADIENT_SHAPE_RECTANGLE=0]="QT_GRADIENT_SHAPE_RECTANGLE",e[e.QT_GRADIENT_SHAPE_OVAL=1]="QT_GRADIENT_SHAPE_OVAL",e[e.QT_GRADIENT_SHAPE_LINE=2]="QT_GRADIENT_SHAPE_LINE",e[e.QT_GRADIENT_SHAPE_RING=3]="QT_GRADIENT_SHAPE_RING"}(Ui||(Ui={})),function(e){e[e.QT_GRADIENT_TYPE_LINEAR_GRADIENT=0]="QT_GRADIENT_TYPE_LINEAR_GRADIENT",e[e.QT_GRADIENT_TYPE_RADIAL_GRADIENT=1]="QT_GRADIENT_TYPE_RADIAL_GRADIENT",e[e.QT_GRADIENT_TYPE_SWEEP_GRADIENT=2]="QT_GRADIENT_TYPE_SWEEP_GRADIENT"}(Di||(Di={}));const Ci=[Zn,to,no,ao,lo,so,Vo,Ko,oa,Ca,Ma,Qa,Ba,pi,Oi],ki=t=>{t.component("qt-loading-view",{setup(t,n){const o=e();return n.expose({viewRef:o,...Xn(o)}),()=>R("LoadingViewComponent",{ref:o})}}),function(t){const n=l({props:{loadMore:{type:Function,default:function(){return[1,1]}},openPage:{type:Boolean,default:!1},preloadNo:{type:Number,default:0},defaultFocus:{type:Number,default:-1},loadingDecoration:{type:Object,default:()=>({bottom:18,right:30,left:30})},listData:{type:Array,required:!1}},emits:["item-click","scroll","item-focused","item-attached","item-detached","item-bind","item-unbind","load-more","scroll-state-changed","focus-search-failed","scrollYGreaterReference","scrollYLesserReference"],setup(t,n){const o=e();let a=0,i=!1,l=$o(),c=[],s=null;const r=()=>t.listData||l.value;_((()=>{r().length&&o.value&&(c=r(),P.callUIFunction(o.value,"setListData",f(r())))}));let u=0;const d=[{_id:"",type:1002,decoration:t.loadingDecoration}],I=()=>{t.openPage&&0===u&&c.length>0&&!i&&(P.callUIFunction(o.value,"addListData",d),u=c.length)},g=()=>{u>0&&(P.callUIFunction(o.value,"deleteItemRange",[u,1]),u=0)};let m=null;const v=()=>{i=!1,a=0},h=()=>{!i&&t.loadMore&&(a++,t.loadMore(a))};T((()=>{t.openPage&&!t.listData&&(v(),h())}));const S=Co(r(),{resetValue(e){c=e},init(e){o.value&&(P.callUIFunction(o.value,"setListData",e),g(),I(),v(),t.listData&&(a=1),t.defaultFocus>-1&&e.length&&t.defaultFocus<e.length&&(clearTimeout(s),s=setTimeout((()=>{b(t.defaultFocus)}),300+10*e.length)))},add(e){P.callUIFunction(o.value,"addListData",e),g(),I()},update(e,t,n){t.forEach(((e,t)=>{const n=Array.isArray(t)?Number(t[0]):Number(t);P.callUIFunction(o.value,"updateItem",[n,e])}))},insert(e,t){P.callUIFunction(o.value,"insertItemRange",[e,Array.from(t.values())]),g(),I()},delete(e,t){P.callUIFunction(o.value,"deleteItemRange",[e,t])},clear(){P.callUIFunction(o.value,"setListData",[]),u=0}}),F=(e,t)=>{P.callUIFunction(o.value,"setSelectChildPosition",[e,t])},E=e=>{P.callUIFunction(o.value,"scrollToPosition",[e])},b=e=>{P.callUIFunction(o.value,"requestChildFocus",[e])};return p((()=>{S?.stop(),v(),clearTimeout(m),clearTimeout(s)})),n.expose({viewRef:o,init:(e,n)=>t.listData?[]:e?(l.value=e,l.value):l.value,scrollToIndex:(e,t,n)=>{P.callUIFunction(o.value,"scrollToPositionWithOffset",[e,n,t])},hasFocus:e=>{P.callUIFunction(o.value,"hasFocus",(t=>{e(t)}))},dispatchItemFunction:(e,t,n,a)=>{P.callUIFunction(o.value,"dispatchItemFunction",[e,t,n,a])},setBlockFocusDirectionsOnFail:e=>{P.callUIFunction(o.value,"setBlockFocusDirectionsOnFail",[e])},prepareForRecycle:()=>{P.callUIFunction(o.value,"prepareForRecycle",[])},setDisplay:e=>{P.callUIFunction(o.value,"setDisplay",[e])},scrollToTop:()=>{P.callUIFunction(o.value,"scrollToTop",[])},changeDisplayState:(e,t)=>{P.callUIFunction(o.value,"changeDisplayState",[e,t])},notifySaveInstance:()=>{P.callUIFunction(o.value,"notifySaveInstance",[])},notifyRestoreInstance:()=>{P.callUIFunction(o.value,"notifyRestoreInstance",[])},pausePostTask:()=>{P.callUIFunction(o.value,"pausePostTask",[])},resumePostTask:()=>{P.callUIFunction(o.value,"resumePostTask",[])},getScrollOffset:e=>{P.callUIFunction(o.value,"getScrollOffset",[],e)},scrollToPosition:E,scrollToFocused:e=>{E(e),b(e)},scrollToSelected:(e,t)=>{E(e),F(e,t)},scrollToPositionOffset:(e,t,n,a,i)=>{P.callUIFunction(o.value,"scrollToPositionWithOffset",[t,a,n])},destroy:()=>{P.callUIFunction(o.value,"destroy",[])},startScroll:(e,t,n)=>{P.callUIFunction(o.value,"startScroll",[{focusPosition:e,scrollToPosition:t,scrollOffset:n}])},setItemFocused:b,clearPostTask:()=>{P.callUIFunction(o.value,"clearAllPostTask",[])},setItemSelected:F,blockRootFocus:()=>{P.callUIFunction(o.value,"blockRootFocus",[])},unBlockRootFocus:()=>{P.callUIFunction(o.value,"unBlockRootFocus",[])},setBackgroundColor:e=>{P.callUIFunction(o.value,"setBackgroundColor",[e])},stopPage:()=>{i=!0,clearTimeout(m),m=setTimeout((()=>{i=!0,g()}),20)},setAutoFocus:function(e,t){P.callUIFunction(o.value,"setAutoFocus",[e,t])},setListData(e){P.callUIFunction(o.value,"setListData",e)},...Xn(o)}),()=>{const e=n.slots.default&&n.slots.default();return R("FastListView",{ref:o,onItemClick:e=>{n.emit("item-click",e)},onScroll:e=>{n.emit("scroll",e)},onItemFocused:e=>{n.emit("item-focused",e)},onAttachedToWindow:e=>{n.emit("item-attached",e)},onDetachedFromWindow:e=>{n.emit("item-detached",e)},onBindItem:e=>{if(t.openPage&&!i){let n=t.preloadNo;(n<0||n>=c.length)&&(n=0),e.position==c.length-1-n&&h()}n.emit("item-bind",e)},onUnbindItem:e=>{n.emit("item-unbind",e)},onLoadMore:e=>{n.emit("load-more",e)},onScrollStateChanged:e=>{n.emit("scroll-state-changed",e)},onFocusSearchFailed:e=>{n.emit("focus-search-failed",e)},onScrollYGreaterReference:e=>{n.emit("scrollYGreaterReference",e)},onScrollYLesserReference:e=>{n.emit("scrollYLesserReference",e)}},e)}}});t.component("qt-list-view",n)}(t),function(t){const n=l({emits:["item-focused","item-attached","item-detached","item-bind","item-unbind"],setup(t,n){const o=e();return n.expose({viewRef:o,updateItem:(e,t)=>{P.callUIFunction(o.value,"updateItem",[e,t])},dispatchItemFunction:(e,t,n,a)=>{P.callUIFunction(o.value,"dispatchItemFunction",[e,t,n,a])},updateItemProps:(e,t,n)=>{P.callUIFunction(o.value,"updateItemProps",[t,e,n,!0])},batch:e=>{P.callUIFunction(o.value,"batch",[e])},...Xn(o)}),()=>{const e=n.slots.default&&n.slots.default();return R("FastListView",{ref:o,onBindItem:e=>{n.emit("item-bind",e)},onItemFocused:e=>{n.emit("item-focused",e)},onAttachedToWindow:e=>{n.emit("item-attached",e)},onDetachedFromWindow:e=>{n.emit("item-detached",e)},onItemRecycled:e=>{n.emit("item-unbind",e)}},e)}}});t.component("qt-list-item",n)}(t),function(t){const n=l({name:"WebView",emits:["onCanGoBack","onCanGoForward","onCanGoBackOrForward","onPageStarted","onPageFinished","onLoadResource","onReceivedSslError","onReceivedError","shouldOverrideUrlLoading","onJs2Vue"],setup(t,n){const o=e();_((()=>{a(!0),l(!0),u(!0),s(!0),r(!0),c(!0),p(!0),f(!0),d(!0),T(!0),i(1),I(2)}));const a=e=>{P.callUIFunction(o.value,"setJavaScriptEnabled",[e],(e=>{}))},i=e=>{P.callUIFunction(o.value,"setPluginState",[e],(e=>{}))},l=e=>{P.callUIFunction(o.value,"setJavaScriptCanOpenWindowsAutomatically",[e],(e=>{}))},c=e=>{P.callUIFunction(o.value,"setUseWideViewPort",[e],(e=>{}))},s=e=>{P.callUIFunction(o.value,"setSupportZoom",[e],(e=>{}))},r=e=>{P.callUIFunction(o.value,"setBuiltInZoomControls",[e],(e=>{}))},u=e=>{P.callUIFunction(o.value,"setAllowFileAccess",[e],(e=>{}))},d=e=>{P.callUIFunction(o.value,"setDomStorageEnabled",[e],(e=>{}))},f=e=>{P.callUIFunction(o.value,"setAppCacheEnabled",[e],(e=>{}))},T=e=>{P.callUIFunction(o.value,"setGeolocationEnabled",[e],(e=>{}))},p=e=>{P.callUIFunction(o.value,"setSupportMultipleWindows",[e],(e=>{}))},I=e=>{P.callUIFunction(o.value,"setCacheMode",[e],(e=>{}))};return n.expose({loadUrl:e=>{P.callUIFunction(o.value,"loadUrl",[e],(e=>{}))},evaluateJavascript:e=>new Promise(((t,n)=>{P.callUIFunction(o.value,"evaluateJavascript",[e],(e=>{t(e)}))})),canGoBack:()=>{P.callUIFunction(o.value,"canGoBack",[],(e=>{n.emit("onCanGoBack",e)}))},goBack:()=>{P.callUIFunction(o.value,"goBack",[],(e=>{}))},canGoForward:()=>{P.callUIFunction(o.value,"canGoForward",[],(e=>{n.emit("onCanGoForward",e)}))},goForward:()=>{P.callUIFunction(o.value,"goForward",[],(e=>{}))},canGoBackOrForward:e=>{P.callUIFunction(o.value,"canGoBackOrForward",[e],(e=>{n.emit("onCanGoBackOrForward",e)}))},goBackOrForward:e=>{P.callUIFunction(o.value,"goBackOrForward",[e],(e=>{}))},onResume:()=>{P.callUIFunction(o.value,"onResume",[],(e=>{}))},onPause:()=>{P.callUIFunction(o.value,"onPause",[],(e=>{}))},pauseTimers:()=>{P.callUIFunction(o.value,"pauseTimers",[],(e=>{}))},resumeTimers:()=>{P.callUIFunction(o.value,"resumeTimers",[],(e=>{}))},destroy:()=>{P.callUIFunction(o.value,"destroy",[],(e=>{}))},setJavaScriptEnabled:a,setPluginState:i,setJavaScriptCanOpenWindowsAutomatically:l,setUseWideViewPort:c,setLoadWithOverviewMode:e=>{P.callUIFunction(o.value,"setLoadWithOverviewMode",[e],(e=>{}))},setSupportZoom:s,setBuiltInZoomControls:r,setDisplayZoomControls:e=>{P.callUIFunction(o.value,"setDisplayZoomControls",[e],(e=>{}))},setAllowFileAccess:u,setDomStorageEnabled:d,setDatabaseEnabled:e=>{P.callUIFunction(o.value,"setDatabaseEnabled",[e],(e=>{}))},setAppCacheEnabled:f,setAppCachePath:e=>{P.callUIFunction(o.value,"setAppCachePath",[e],(e=>{}))},setMediaPlaybackRequiresUserGesture:e=>{P.callUIFunction(o.value,"setMediaPlaybackRequiresUserGesture",[e],(e=>{}))},setStandardFontFamily:e=>{P.callUIFunction(o.value,"setStandardFontFamily",[e],(e=>{}))},setFixedFontFamily:e=>{P.callUIFunction(o.value,"setFixedFontFamily",[e],(e=>{}))},setSansSerifFontFamily:e=>{P.callUIFunction(o.value,"setSansSerifFontFamily",[e],(e=>{}))},setSerifFontFamily:e=>{P.callUIFunction(o.value,"setSerifFontFamily",[e],(e=>{}))},setCursiveFontFamily:e=>{P.callUIFunction(o.value,"setCursiveFontFamily",[e],(e=>{}))},setFantasyFontFamily:e=>{P.callUIFunction(o.value,"setFantasyFontFamily",[e],(e=>{}))},setTextZoom:e=>{P.callUIFunction(o.value,"setTextZoom",[e],(e=>{}))},setMinimumFontSize:e=>{P.callUIFunction(o.value,"setMinimumFontSize",[e],(e=>{}))},setDefaultFontSize:e=>{P.callUIFunction(o.value,"setDefaultFontSize",[e],(e=>{}))},setLayoutAlgorithm:e=>{P.callUIFunction(o.value,"setLayoutAlgorithm",[e],(e=>{}))},setLoadsImagesAutomatically:e=>{P.callUIFunction(o.value,"setLoadsImagesAutomatically",[e],(e=>{}))},setDefaultTextEncodingName:e=>{P.callUIFunction(o.value,"setDefaultTextEncodingName",[e],(e=>{}))},setNeedInitialFocus:e=>{P.callUIFunction(o.value,"setNeedInitialFocus",[e],(e=>{}))},setGeolocationEnabled:T,setBlockNetworkLoads:e=>{P.callUIFunction(o.value,"setBlockNetworkLoads",[e],(e=>{}))},setSupportMultipleWindows:p,setAppCacheMaxSize:e=>{P.callUIFunction(o.value,"setAppCacheMaxSize",[e],(e=>{}))},setRenderPriority:e=>{P.callUIFunction(o.value,"setRenderPriority",[e],(e=>{}))},setCacheMode:I,setAllowContentAccess:e=>{P.callUIFunction(o.value,"setAllowContentAccess",[e],(e=>{}))},setEnableSmoothTransition:e=>{P.callUIFunction(o.value,"setEnableSmoothTransition",[e],(e=>{}))},setSaveFormData:e=>{P.callUIFunction(o.value,"setSaveFormData",[e],(e=>{}))},setSavePassword:e=>{P.callUIFunction(o.value,"setSavePassword",[e],(e=>{}))},setTextSize:e=>{P.callUIFunction(o.value,"setTextSize",[e],(e=>{}))},setDefaultZoom:e=>{P.callUIFunction(o.value,"setDefaultZoom",[e],(e=>{}))},setLightTouchEnabled:e=>{P.callUIFunction(o.value,"setLightTouchEnabled",[e],(e=>{}))},setMinimumLogicalFontSize:e=>{P.callUIFunction(o.value,"setMinimumLogicalFontSize",[e],(e=>{}))},setDefaultFixedFontSize:e=>{P.callUIFunction(o.value,"setDefaultFixedFontSize",[e],(e=>{}))},setBlockNetworkImage:e=>{P.callUIFunction(o.value,"setBlockNetworkImage",[e],(e=>{}))},setAllowUniversalAccessFromFileURLs:e=>{P.callUIFunction(o.value,"setAllowUniversalAccessFromFileURLs",[e],(e=>{}))},setAllowFileAccessFromFileURLs:e=>{P.callUIFunction(o.value,"setAllowFileAccessFromFileURLs",[e],(e=>{}))},setDatabasePath:e=>{P.callUIFunction(o.value,"setDatabasePath",[e],(e=>{}))},setGeolocationDatabasePath:e=>{P.callUIFunction(o.value,"setGeolocationDatabasePath",[e],(e=>{}))},setUserAgentString:e=>{P.callUIFunction(o.value,"setUserAgentString",[e],(e=>{}))},setMixedContentMode:e=>{P.callUIFunction(o.value,"setMixedContentMode",[e],(e=>{}))},setOffscreenPreRaster:e=>{P.callUIFunction(o.value,"setOffscreenPreRaster",[e],(e=>{}))},setSafeBrowsingEnabled:e=>{P.callUIFunction(o.value,"setSafeBrowsingEnabled",[e],(e=>{}))},setForceDark:e=>{P.callUIFunction(o.value,"setForceDark",[e],(e=>{}))},setDisabledActionModeMenuItems:e=>{P.callUIFunction(o.value,"setDisabledActionModeMenuItems",[e],(e=>{}))},...Xn(o)}),()=>R("ESWebViewComponent",{onPageStarted:e=>{let t=e.url;n.emit("onPageStarted",t)},onPageFinished:e=>{let t=e.url;n.emit("onPageFinished",t)},onLoadResource:e=>{let t=e.url;n.emit("onLoadResource",t)},onReceivedSslError:e=>{n.emit("onReceivedSslError",e)},onReceivedError:e=>{let t=e.errorCode,o=e.description,a=e.failingUrl;n.emit("onReceivedError",t,o,a)},onShouldOverrideUrlLoading:e=>{let t=e.url;n.emit("shouldOverrideUrlLoading",t)},onJs2Vue:e=>{let t=e.js2VueValue;n.emit("onJs2Vue",t)},ref:o})}});t.component("qt-web-view",n)}(t),function(t){const n=l({name:"X5WebView",emits:["onCanGoBack","onCanGoForward","onCanGoBackOrForward","onPageStarted","onPageFinished","onLoadResource","onReceivedSslError","onReceivedError","shouldOverrideUrlLoading","onJs2Vue","onJsRewardCall","onJsFinishGame"],setup(t,n){const o=e();_((()=>{a(!0),l(!0),u(!0),s(!0),r(!0),c(!0),p(!0),f(!0),d(!0),T(!0),i(1),I(2)}));const a=e=>{P.callUIFunction(o.value,"setJavaScriptEnabled",[e],(e=>{}))},i=e=>{P.callUIFunction(o.value,"setPluginState",[e],(e=>{}))},l=e=>{P.callUIFunction(o.value,"setJavaScriptCanOpenWindowsAutomatically",[e],(e=>{}))},c=e=>{P.callUIFunction(o.value,"setUseWideViewPort",[e],(e=>{}))},s=e=>{P.callUIFunction(o.value,"setSupportZoom",[e],(e=>{}))},r=e=>{P.callUIFunction(o.value,"setBuiltInZoomControls",[e],(e=>{}))},u=e=>{P.callUIFunction(o.value,"setAllowFileAccess",[e],(e=>{}))},d=e=>{P.callUIFunction(o.value,"setDomStorageEnabled",[e],(e=>{}))},f=e=>{P.callUIFunction(o.value,"setAppCacheEnabled",[e],(e=>{}))},T=e=>{P.callUIFunction(o.value,"setGeolocationEnabled",[e],(e=>{}))},p=e=>{P.callUIFunction(o.value,"setSupportMultipleWindows",[e],(e=>{}))},I=e=>{P.callUIFunction(o.value,"setCacheMode",[e],(e=>{}))};return n.expose({loadUrl:e=>{P.callUIFunction(o.value,"loadUrl",[e],(e=>{}))},evaluateJavascript:e=>new Promise(((t,n)=>{P.callUIFunction(o.value,"evaluateJavascript",[e],(e=>{t(e)}))})),canGoBack:()=>{P.callUIFunction(o.value,"canGoBack",[],(e=>{n.emit("onCanGoBack",e)}))},goBack:()=>{P.callUIFunction(o.value,"goBack",[],(e=>{}))},canGoForward:()=>{P.callUIFunction(o.value,"canGoForward",[],(e=>{n.emit("onCanGoForward",e)}))},goForward:()=>{P.callUIFunction(o.value,"goForward",[],(e=>{}))},canGoBackOrForward:e=>{P.callUIFunction(o.value,"canGoBackOrForward",[e],(e=>{n.emit("onCanGoBackOrForward",e)}))},goBackOrForward:e=>{P.callUIFunction(o.value,"goBackOrForward",[e],(e=>{}))},onResume:()=>{P.callUIFunction(o.value,"onResume",[],(e=>{}))},onPause:()=>{P.callUIFunction(o.value,"onPause",[],(e=>{}))},pauseTimers:()=>{P.callUIFunction(o.value,"pauseTimers",[],(e=>{}))},resumeTimers:()=>{P.callUIFunction(o.value,"resumeTimers",[],(e=>{}))},destroy:()=>{P.callUIFunction(o.value,"destroy",[],(e=>{}))},setJavaScriptEnabled:a,setPluginState:i,setJavaScriptCanOpenWindowsAutomatically:l,setUseWideViewPort:c,setLoadWithOverviewMode:e=>{P.callUIFunction(o.value,"setLoadWithOverviewMode",[e],(e=>{}))},setSupportZoom:s,setBuiltInZoomControls:r,setDisplayZoomControls:e=>{P.callUIFunction(o.value,"setDisplayZoomControls",[e],(e=>{}))},setAllowFileAccess:u,setDomStorageEnabled:d,setDatabaseEnabled:e=>{P.callUIFunction(o.value,"setDatabaseEnabled",[e],(e=>{}))},setAppCacheEnabled:f,setAppCachePath:e=>{P.callUIFunction(o.value,"setAppCachePath",[e],(e=>{}))},setMediaPlaybackRequiresUserGesture:e=>{P.callUIFunction(o.value,"setMediaPlaybackRequiresUserGesture",[e],(e=>{}))},setStandardFontFamily:e=>{P.callUIFunction(o.value,"setStandardFontFamily",[e],(e=>{}))},setFixedFontFamily:e=>{P.callUIFunction(o.value,"setFixedFontFamily",[e],(e=>{}))},setSansSerifFontFamily:e=>{P.callUIFunction(o.value,"setSansSerifFontFamily",[e],(e=>{}))},setSerifFontFamily:e=>{P.callUIFunction(o.value,"setSerifFontFamily",[e],(e=>{}))},setCursiveFontFamily:e=>{P.callUIFunction(o.value,"setCursiveFontFamily",[e],(e=>{}))},setFantasyFontFamily:e=>{P.callUIFunction(o.value,"setFantasyFontFamily",[e],(e=>{}))},setTextZoom:e=>{P.callUIFunction(o.value,"setTextZoom",[e],(e=>{}))},setMinimumFontSize:e=>{P.callUIFunction(o.value,"setMinimumFontSize",[e],(e=>{}))},setDefaultFontSize:e=>{P.callUIFunction(o.value,"setDefaultFontSize",[e],(e=>{}))},setLayoutAlgorithm:e=>{P.callUIFunction(o.value,"setLayoutAlgorithm",[e],(e=>{}))},setLoadsImagesAutomatically:e=>{P.callUIFunction(o.value,"setLoadsImagesAutomatically",[e],(e=>{}))},setDefaultTextEncodingName:e=>{P.callUIFunction(o.value,"setDefaultTextEncodingName",[e],(e=>{}))},setNeedInitialFocus:e=>{P.callUIFunction(o.value,"setNeedInitialFocus",[e],(e=>{}))},setGeolocationEnabled:T,setBlockNetworkLoads:e=>{P.callUIFunction(o.value,"setBlockNetworkLoads",[e],(e=>{}))},setSupportMultipleWindows:p,setAppCacheMaxSize:e=>{P.callUIFunction(o.value,"setAppCacheMaxSize",[e],(e=>{}))},setRenderPriority:e=>{P.callUIFunction(o.value,"setRenderPriority",[e],(e=>{}))},setCacheMode:I,setAllowContentAccess:e=>{P.callUIFunction(o.value,"setAllowContentAccess",[e],(e=>{}))},setEnableSmoothTransition:e=>{P.callUIFunction(o.value,"setEnableSmoothTransition",[e],(e=>{}))},setSaveFormData:e=>{P.callUIFunction(o.value,"setSaveFormData",[e],(e=>{}))},setSavePassword:e=>{P.callUIFunction(o.value,"setSavePassword",[e],(e=>{}))},setTextSize:e=>{P.callUIFunction(o.value,"setTextSize",[e],(e=>{}))},setDefaultZoom:e=>{P.callUIFunction(o.value,"setDefaultZoom",[e],(e=>{}))},setLightTouchEnabled:e=>{P.callUIFunction(o.value,"setLightTouchEnabled",[e],(e=>{}))},setMinimumLogicalFontSize:e=>{P.callUIFunction(o.value,"setMinimumLogicalFontSize",[e],(e=>{}))},setDefaultFixedFontSize:e=>{P.callUIFunction(o.value,"setDefaultFixedFontSize",[e],(e=>{}))},setBlockNetworkImage:e=>{P.callUIFunction(o.value,"setBlockNetworkImage",[e],(e=>{}))},setAllowUniversalAccessFromFileURLs:e=>{P.callUIFunction(o.value,"setAllowUniversalAccessFromFileURLs",[e],(e=>{}))},setAllowFileAccessFromFileURLs:e=>{P.callUIFunction(o.value,"setAllowFileAccessFromFileURLs",[e],(e=>{}))},setDatabasePath:e=>{P.callUIFunction(o.value,"setDatabasePath",[e],(e=>{}))},setGeolocationDatabasePath:e=>{P.callUIFunction(o.value,"setGeolocationDatabasePath",[e],(e=>{}))},setUserAgentString:e=>{P.callUIFunction(o.value,"setUserAgentString",[e],(e=>{}))},setMixedContentMode:e=>{P.callUIFunction(o.value,"setMixedContentMode",[e],(e=>{}))},setOffscreenPreRaster:e=>{P.callUIFunction(o.value,"setOffscreenPreRaster",[e],(e=>{}))},setSafeBrowsingEnabled:e=>{P.callUIFunction(o.value,"setSafeBrowsingEnabled",[e],(e=>{}))},setForceDark:e=>{P.callUIFunction(o.value,"setForceDark",[e],(e=>{}))},setDisabledActionModeMenuItems:e=>{P.callUIFunction(o.value,"setDisabledActionModeMenuItems",[e],(e=>{}))},initJavaScriptInterface:()=>{P.callUIFunction(o.value,"initJavaScriptInterface",[],(e=>{}))},removeJavaScriptInterface:()=>{P.callUIFunction(o.value,"removeJavaScriptInterface",[],(e=>{}))},initWebViewFocus:(e,t,n)=>{P.callUIFunction(o.value,"initWebViewFocus",[e,t,n],(e=>{}))},...Xn(o)}),()=>R("ESX5WebViewComponent",{onPageStarted:e=>{let t=e.url;n.emit("onPageStarted",t)},onPageFinished:e=>{let t=e.url;n.emit("onPageFinished",t)},onLoadResource:e=>{let t=e.url;n.emit("onLoadResource",t)},onReceivedSslError:e=>{n.emit("onReceivedSslError",e)},onReceivedError:e=>{let t=e.errorCode,o=e.description,a=e.failingUrl;n.emit("onReceivedError",t,o,a)},onShouldOverrideUrlLoading:e=>{let t=e.url;n.emit("shouldOverrideUrlLoading",t)},onJs2Vue:e=>{let t=e.js2VueValue;n.emit("onJs2Vue",t)},onJsRewardCall:e=>{let t=e.jsRewardCallValue;n.emit("onJsRewardCall",t)},onJsFinishGame:e=>{let t=e.jsFinishGameValue;n.emit("onJsFinishGame",t)},ref:o})}});t.component("qt-x5web-view",n)}(t),function(t){t.component("qt-qr-code",{setup(t,n){const o=e();return n.expose({viewRef:o,...Xn(o)}),()=>R("QrCodeComponent",{ref:o})}})}(t),function(t){const n=l({name:"qt-seek-bar",props:{emitEventDelay:{type:Number,default:100},onProgressChanged:{type:Function,default:null}},emits:["onSeekStart","onSeekStop","onFocusChanged","onSeekChanged"],setup(t,n){const o=e(),a=e(!1),i=e(1),l=e(0),c=e(0),s=e(0),r=e(0);function u(e){1===i.value&&(r.value=e,P.callUIFunction(o.value,"setProgress",[e],(e=>{})))}function d(e){1===i.value&&(s.value=e,P.callUIFunction(o.value,"setMaxProgress",[e],(e=>{})))}return n.expose({viewRef:o,isSeekBarFocused:a,seekBarMode:i,seekCount:l,progressCallBackTime:c,maxProgress:s,progress:r,startSeek:function(e){if(a.value){i.value=2,n.emit("onSeekStart",r.value),l.value+=1;let a=1;l.value>20?a=2:l.value>50?a=4:l.value>100&&(a=6);let u=s.value,d=Math.floor(.01*u*a);if(r.value=r.value+(e?d:-d),r.value>u?r.value=u:r.value<0&&(r.value=0),P.callUIFunction(o.value,"setProgress",[r.value],(e=>{})),t.onProgressChanged){let e=(new Date).getTime();e-c.value>t.emitEventDelay&&(t.onProgressChanged(r.value),c.value=e)}}},stopSeek:function(){l.value=0,2==i.value&&n.emit("onSeekStop",r.value),i.value=1},isFocused:function(){return a.value},resetSeekbar:function(){i.value=1,d(0),u(0)},invalidateSeekBar:function(){P.callUIFunction(o.value,"invalidateSeekBar",[],(e=>{}))},setFocusable:function(e){P.callUIFunction(o.value,"setFocusable",[e],(e=>{}))},setClickable:function(e){P.callUIFunction(o.value,"setClickable",[e],(e=>{}))},requestLayout:function(){P.callUIFunction(o.value,"requestLayout",[],(e=>{}))},invalidate:function(){P.callUIFunction(o.value,"invalidate",[],(e=>{}))},setVisible:function(e){P.callUIFunction(o.value,"setVisible",[e],(e=>{}))},setLeftSeekBarVisible:function(e){P.callUIFunction(o.value,"setLeftSeekBarVisible",[e],(e=>{}))},setRightSeekBarVisible:function(e){P.callUIFunction(o.value,"setRightSeekBarVisible",[e],(e=>{}))},setSeekBarMode:function(e){P.callUIFunction(o.value,"setSeekBarMode",[e],(e=>{}))},setProgress:u,setRangeProgress:function(e,t){P.callUIFunction(o.value,"setProgress",[e,t],(e=>{}))},getProgress:function(){P.callUIFunction(o.value,"getProgress",[],(e=>{}))},getLeftProgress:function(){P.callUIFunction(o.value,"getLeftProgress",[],(e=>{}))},getRightProgress:function(){P.callUIFunction(o.value,"getRightProgress",[],(e=>{}))},setRange:function(e,t,n){P.callUIFunction(o.value,"setRange",[e,t,n],(e=>{}))},setGravity:function(e){P.callUIFunction(o.value,"setGravity",[e],(e=>{}))},setProgressWidth:function(e){P.callUIFunction(o.value,"setProgressWidth",[e],(e=>{}))},setProgressHeight:function(e){P.callUIFunction(o.value,"setProgressHeight",[e],(e=>{}))},setProgressRadius:function(e){P.callUIFunction(o.value,"setProgressRadius",[e],(e=>{}))},setProgressColor:function(e){P.callUIFunction(o.value,"setProgressColor",[e],(e=>{}))},setProgressDefaultColor:function(e){P.callUIFunction(o.value,"setProgressDefaultColor",[e],(e=>{}))},setProgressDrawable:function(e){P.callUIFunction(o.value,"setProgressDrawable",[e],(e=>{}))},setProgressDefaultDrawable:function(e){P.callUIFunction(o.value,"setProgressDefaultDrawable",[e],(e=>{}))},setProgressUrl:function(e){P.callUIFunction(o.value,"setProgressUrl",[e],(e=>{}))},setProgressDefaultUrl:function(e){P.callUIFunction(o.value,"setProgressDefaultUrl",[e],(e=>{}))},showIndicator:function(e){P.callUIFunction(o.value,"showIndicator",[e],(e=>{}))},showLeftIndicator:function(e){P.callUIFunction(o.value,"showLeftIndicator",[e],(e=>{}))},showRightIndicator:function(e){P.callUIFunction(o.value,"showRightIndicator",[e],(e=>{}))},setIndicatorShowMode:function(e){P.callUIFunction(o.value,"setIndicatorShowMode",[e],(e=>{}))},setLeftIndicatorShowMode:function(e){P.callUIFunction(o.value,"setLeftIndicatorShowMode",[e],(e=>{}))},setRightIndicatorShowMode:function(e){P.callUIFunction(o.value,"setRightIndicatorShowMode",[e],(e=>{}))},setIndicatorWidth:function(e){P.callUIFunction(o.value,"setIndicatorWidth",[e],(e=>{}))},setLeftIndicatorWidth:function(e){P.callUIFunction(o.value,"setLeftIndicatorWidth",[e],(e=>{}))},setRightIndicatorWidth:function(e){P.callUIFunction(o.value,"setRightIndicatorWidth",[e],(e=>{}))},setIndicatorHeight:function(e){P.callUIFunction(o.value,"setIndicatorHeight",[e],(e=>{}))},setLeftIndicatorHeight:function(e){P.callUIFunction(o.value,"setLeftIndicatorHeight",[e],(e=>{}))},setRightIndicatorHeight:function(e){P.callUIFunction(o.value,"setRightIndicatorHeight",[e],(e=>{}))},setIndicatorTextDecimalFormat:function(e){P.callUIFunction(o.value,"setIndicatorTextDecimalFormat",[e],(e=>{}))},setLeftIndicatorTextDecimalFormat:function(e){P.callUIFunction(o.value,"setLeftIndicatorTextDecimalFormat",[e],(e=>{}))},setRightIndicatorTextDecimalFormat:function(e){P.callUIFunction(o.value,"setRightIndicatorTextDecimalFormat",[e],(e=>{}))},setIndicatorTextStringFormat:function(e){P.callUIFunction(o.value,"setIndicatorTextStringFormat",[e],(e=>{}))},setLeftIndicatorTextStringFormat:function(e){P.callUIFunction(o.value,"setLeftIndicatorTextStringFormat",[e],(e=>{}))},setRightIndicatorTextStringFormat:function(e){P.callUIFunction(o.value,"setRightIndicatorTextStringFormat",[e],(e=>{}))},setIndicatorMargin:function(e){P.callUIFunction(o.value,"setIndicatorMargin",[e],(e=>{}))},setLeftIndicatorMargin:function(e){P.callUIFunction(o.value,"setLeftIndicatorMargin",[e],(e=>{}))},setRightIndicatorMargin:function(e){P.callUIFunction(o.value,"setRightIndicatorMargin",[e],(e=>{}))},setIndicatorPaddingBottom:function(e){P.callUIFunction(o.value,"setIndicatorPaddingBottom",[e],(e=>{}))},setLeftIndicatorPaddingBottom:function(e){P.callUIFunction(o.value,"setLeftIndicatorPaddingBottom",[e],(e=>{}))},setRightIndicatorPaddingBottom:function(e){P.callUIFunction(o.value,"setRightIndicatorPaddingBottom",[e],(e=>{}))},setIndicatorPaddingTop:function(e){P.callUIFunction(o.value,"setIndicatorPaddingTop",[e],(e=>{}))},setLeftIndicatorPaddingTop:function(e){P.callUIFunction(o.value,"setLeftIndicatorPaddingTop",[e],(e=>{}))},setRightIndicatorPaddingTop:function(e){P.callUIFunction(o.value,"setRightIndicatorPaddingTop",[e],(e=>{}))},setIndicatorPaddingLeft:function(e){P.callUIFunction(o.value,"setIndicatorPaddingLeft",[e],(e=>{}))},setLeftIndicatorPaddingLeft:function(e){P.callUIFunction(o.value,"setLeftIndicatorPaddingLeft",[e],(e=>{}))},setRightIndicatorPaddingLeft:function(e){P.callUIFunction(o.value,"setRightIndicatorPaddingLeft",[e],(e=>{}))},setIndicatorPaddingRight:function(e){P.callUIFunction(o.value,"setIndicatorPaddingRight",[e],(e=>{}))},setLeftIndicatorPaddingRight:function(e){P.callUIFunction(o.value,"setLeftIndicatorPaddingRight",[e],(e=>{}))},setRightIndicatorPaddingRight:function(e){P.callUIFunction(o.value,"setRightIndicatorPaddingRight",[e],(e=>{}))},setIndicatorBackgroundColor:function(e){P.callUIFunction(o.value,"setIndicatorBackgroundColor",[e],(e=>{}))},setLeftIndicatorBackgroundColor:function(e){P.callUIFunction(o.value,"setLeftIndicatorBackgroundColor",[e],(e=>{}))},setRightIndicatorBackgroundColor:function(e){P.callUIFunction(o.value,"setRightIndicatorBackgroundColor",[e],(e=>{}))},setIndicatorRadius:function(e){P.callUIFunction(o.value,"setIndicatorRadius",[e],(e=>{}))},setLeftIndicatorRadius:function(e){P.callUIFunction(o.value,"setLeftIndicatorRadius",[e],(e=>{}))},setRightIndicatorRadius:function(e){P.callUIFunction(o.value,"setRightIndicatorRadius",[e],(e=>{}))},setIndicatorTextSize:function(e){P.callUIFunction(o.value,"setIndicatorTextSize",[e],(e=>{}))},setLeftIndicatorTextSize:function(e){P.callUIFunction(o.value,"setLeftIndicatorTextSize",[e],(e=>{}))},setRightIndicatorTextSize:function(e){P.callUIFunction(o.value,"setRightIndicatorTextSize",[e],(e=>{}))},setIndicatorTextColor:function(e){P.callUIFunction(o.value,"setIndicatorTextColor",[e],(e=>{}))},setLeftIndicatorTextColor:function(e){P.callUIFunction(o.value,"setLeftIndicatorTextColor",[e],(e=>{}))},setRightIndicatorTextColor:function(e){P.callUIFunction(o.value,"setRightIndicatorTextColor",[e],(e=>{}))},setIndicatorArrowSize:function(e){P.callUIFunction(o.value,"setIndicatorArrowSize",[e],(e=>{}))},setLeftIndicatorArrowSize:function(e){P.callUIFunction(o.value,"setLeftIndicatorArrowSize",[e],(e=>{}))},setRightIndicatorArrowSize:function(e){P.callUIFunction(o.value,"setRightIndicatorArrowSize",[e],(e=>{}))},setIndicatorDrawable:function(e){P.callUIFunction(o.value,"setIndicatorDrawable",[e],(e=>{}))},setLeftIndicatorDrawable:function(e){P.callUIFunction(o.value,"setLeftIndicatorDrawable",[e],(e=>{}))},setRightIndicatorDrawable:function(e){P.callUIFunction(o.value,"setRightIndicatorDrawable",[e],(e=>{}))},setIndicatorUrl:function(e){P.callUIFunction(o.value,"setIndicatorUrl",[e],(e=>{}))},setLeftIndicatorUrl:function(e){P.callUIFunction(o.value,"setLeftIndicatorUrl",[e],(e=>{}))},setRightIndicatorUrl:function(e){P.callUIFunction(o.value,"setRightIndicatorUrl",[e],(e=>{}))},setThumbWidth:function(e){P.callUIFunction(o.value,"setThumbWidth",[e],(e=>{}))},setLeftThumbWidth:function(e){P.callUIFunction(o.value,"setLeftThumbWidth",[e],(e=>{}))},setRightThumbWidth:function(e){P.callUIFunction(o.value,"setRightThumbWidth",[e],(e=>{}))},setThumbHeight:function(e){P.callUIFunction(o.value,"setThumbHeight",[e],(e=>{}))},setLeftThumbHeight:function(e){P.callUIFunction(o.value,"setLeftThumbHeight",[e],(e=>{}))},setRightThumbHeight:function(e){P.callUIFunction(o.value,"setRightThumbHeight",[e],(e=>{}))},scaleThumb:function(){P.callUIFunction(o.value,"scaleThumb",[],(e=>{}))},scaleLeftThumb:function(){P.callUIFunction(o.value,"scaleLeftThumb",[],(e=>{}))},scaleRightThumb:function(){P.callUIFunction(o.value,"scaleLeftThumb",[],(e=>{}))},resetThumb:function(){P.callUIFunction(o.value,"resetThumb",[],(e=>{}))},resetLeftThumb:function(){P.callUIFunction(o.value,"resetLeftThumb",[],(e=>{}))},resetRightThumb:function(){P.callUIFunction(o.value,"resetRightThumb",[],(e=>{}))},setThumbScaleRatio:function(e){P.callUIFunction(o.value,"setThumbScaleRatio",[e],(e=>{}))},setLeftThumbScaleRatio:function(e){P.callUIFunction(o.value,"setLeftThumbScaleRatio",[e],(e=>{}))},setRightThumbScaleRatio:function(e){P.callUIFunction(o.value,"setRightThumbScaleRatio",[e],(e=>{}))},setThumbActivate:function(e){P.callUIFunction(o.value,"setThumbActivate",[e],(e=>{}))},setLeftThumbActivate:function(e){P.callUIFunction(o.value,"setLeftThumbActivate",[e],(e=>{}))},setRightThumbActivate:function(e){P.callUIFunction(o.value,"setRightThumbActivate",[e],(e=>{}))},setThumbDrawable:function(e){P.callUIFunction(o.value,"setThumbDrawable",[e],(e=>{}))},setLeftThumbDrawable:function(e){P.callUIFunction(o.value,"setLeftThumbDrawable",[e],(e=>{}))},setRightThumbDrawable:function(e){P.callUIFunction(o.value,"setRightThumbDrawable",[e],(e=>{}))},setThumbUrl:function(e){P.callUIFunction(o.value,"setThumbUrl",[e],(e=>{}))},setLeftThumbUrl:function(e){P.callUIFunction(o.value,"setLeftThumbUrl",[e],(e=>{}))},setRightThumbUrl:function(e){P.callUIFunction(o.value,"setRightThumbUrl",[e],(e=>{}))},setThumbInactivatedDrawable:function(e){P.callUIFunction(o.value,"setThumbInactivatedDrawable",[e],(e=>{}))},setLeftThumbInactivatedDrawable:function(e){P.callUIFunction(o.value,"setLeftThumbInactivatedDrawable",[e],(e=>{}))},setRightThumbInactivatedDrawable:function(e){P.callUIFunction(o.value,"setRightThumbInactivatedDrawable",[e],(e=>{}))},setThumbInactivatedUrl:function(e){P.callUIFunction(o.value,"setThumbInactivatedUrl",[e],(e=>{}))},setLeftThumbInactivatedUrl:function(e){P.callUIFunction(o.value,"setLeftThumbInactivatedUrl",[e],(e=>{}))},setRightThumbInactivatedUrl:function(e){P.callUIFunction(o.value,"setRightThumbInactivatedUrl",[e],(e=>{}))},setTickMarkMode:function(e){P.callUIFunction(o.value,"setTickMarkMode",[e],(e=>{}))},setTickMarkGravity:function(e){P.callUIFunction(o.value,"setTickMarkGravity",[e],(e=>{}))},setTickMarkLayoutGravity:function(e){P.callUIFunction(o.value,"setTickMarkLayoutGravity",[e],(e=>{}))},setTickMarkTextArray:function(e){P.callUIFunction(o.value,"setTickMarkTextArray",[e],(e=>{}))},setTickMarkTextMargin:function(e){P.callUIFunction(o.value,"setTickMarkTextMargin",[e],(e=>{}))},setTickMarkTextSize:function(e){P.callUIFunction(o.value,"setTickMarkTextSize",[e],(e=>{}))},setTickMarkTextColor:function(e){P.callUIFunction(o.value,"setTickMarkTextColor",[e],(e=>{}))},setTickMarkInRangeTextColor:function(e){P.callUIFunction(o.value,"setTickMarkInRangeTextColor",[e],(e=>{}))},setSteps:function(e){P.callUIFunction(o.value,"setSteps",[e],(e=>{}))},setStepsWidth:function(e){P.callUIFunction(o.value,"setStepsWidth",[e],(e=>{}))},setStepsHeight:function(e){P.callUIFunction(o.value,"setStepsHeight",[e],(e=>{}))},setStepsRadius:function(e){P.callUIFunction(o.value,"setStepsRadius",[e],(e=>{}))},setStepsColor:function(e){P.callUIFunction(o.value,"setStepsColor",[e],(e=>{}))},setStepsAutoBonding:function(e){P.callUIFunction(o.value,"setStepsAutoBonding",[e],(e=>{}))},setStepsDrawable:function(e){P.callUIFunction(o.value,"setStepsDrawable",[e],(e=>{}))},setStepsUrl:function(e){P.callUIFunction(o.value,"setStepsUrl",[e],(e=>{}))},setSecondProgress:function(e){P.callUIFunction(o.value,"setSecondProgress",[e],(e=>{}))},show:function(e){P.callUIFunction(o.value,"show",[e],(e=>{}))},setMaxProgress:d,...Xn(o)}),()=>R("TVSeekBarViewComponent",{ref:o,onFocus:e=>{a.value=e.isFocused,n.emit("onFocusChanged",e.isFocused)},onSeekBarChange:e=>{n.emit("onSeekChanged",e.progress)}})}});t.component("qt-seek-bar",n)}(t),function(t){const n=_n({name:"qt-progress-bar",emits:["onFocusChanged","onSeekChanged"],setup(t,n){const o=e();return n.expose({viewRef:o,invalidateProgressBar:function(){P.callUIFunction(o.value,"invalidateSeekBar",[],(e=>{}))},setFocusable:function(e){P.callUIFunction(o.value,"setFocusable",[e],(e=>{}))},setClickable:function(e){P.callUIFunction(o.value,"setClickable",[e],(e=>{}))},requestLayout:function(){P.callUIFunction(o.value,"requestLayout",[],(e=>{}))},invalidate:function(){P.callUIFunction(o.value,"invalidate",[],(e=>{}))},setVisible:function(e){P.callUIFunction(o.value,"setVisible",[e],(e=>{}))},setLeftSeekBarVisible:function(e){P.callUIFunction(o.value,"setLeftSeekBarVisible",[e],(e=>{}))},setRightSeekBarVisible:function(e){P.callUIFunction(o.value,"setRightSeekBarVisible",[e],(e=>{}))},setSeekBarMode:function(e){P.callUIFunction(o.value,"setSeekBarMode",[e],(e=>{}))},setProgress:function(e){P.callUIFunction(o.value,"setProgress",[e],(e=>{}))},setRangeProgress:function(e,t){P.callUIFunction(o.value,"setProgress",[e,t],(e=>{}))},getProgress:function(){P.callUIFunction(o.value,"getProgress",[],(e=>{}))},getLeftProgress:function(){P.callUIFunction(o.value,"getLeftProgress",[],(e=>{}))},getRightProgress:function(){P.callUIFunction(o.value,"getRightProgress",[],(e=>{}))},setRange:function(e,t,n){P.callUIFunction(o.value,"setRange",[e,t,n],(e=>{}))},setGravity:function(e){P.callUIFunction(o.value,"setGravity",[e],(e=>{}))},setProgressWidth:function(e){P.callUIFunction(o.value,"setProgressWidth",[e],(e=>{}))},setProgressHeight:function(e){P.callUIFunction(o.value,"setProgressHeight",[e],(e=>{}))},setProgressRadius:function(e){P.callUIFunction(o.value,"setProgressRadius",[e],(e=>{}))},setProgressColor:function(e){P.callUIFunction(o.value,"setProgressColor",[e],(e=>{}))},setProgressDefaultColor:function(e){P.callUIFunction(o.value,"setProgressDefaultColor",[e],(e=>{}))},setProgressDrawable:function(e){P.callUIFunction(o.value,"setProgressDrawable",[e],(e=>{}))},setProgressDefaultDrawable:function(e){P.callUIFunction(o.value,"setProgressDefaultDrawable",[e],(e=>{}))},setProgressUrl:function(e){P.callUIFunction(o.value,"setProgressUrl",[e],(e=>{}))},setProgressDefaultUrl:function(e){P.callUIFunction(o.value,"setProgressDefaultUrl",[e],(e=>{}))},showIndicator:function(e){P.callUIFunction(o.value,"showIndicator",[e],(e=>{}))},showLeftIndicator:function(e){P.callUIFunction(o.value,"showLeftIndicator",[e],(e=>{}))},showRightIndicator:function(e){P.callUIFunction(o.value,"showRightIndicator",[e],(e=>{}))},setIndicatorShowMode:function(e){P.callUIFunction(o.value,"setIndicatorShowMode",[e],(e=>{}))},setLeftIndicatorShowMode:function(e){P.callUIFunction(o.value,"setLeftIndicatorShowMode",[e],(e=>{}))},setRightIndicatorShowMode:function(e){P.callUIFunction(o.value,"setRightIndicatorShowMode",[e],(e=>{}))},setIndicatorWidth:function(e){P.callUIFunction(o.value,"setIndicatorWidth",[e],(e=>{}))},setLeftIndicatorWidth:function(e){P.callUIFunction(o.value,"setLeftIndicatorWidth",[e],(e=>{}))},setRightIndicatorWidth:function(e){P.callUIFunction(o.value,"setRightIndicatorWidth",[e],(e=>{}))},setIndicatorHeight:function(e){P.callUIFunction(o.value,"setIndicatorHeight",[e],(e=>{}))},setLeftIndicatorHeight:function(e){P.callUIFunction(o.value,"setLeftIndicatorHeight",[e],(e=>{}))},setRightIndicatorHeight:function(e){P.callUIFunction(o.value,"setRightIndicatorHeight",[e],(e=>{}))},setIndicatorTextDecimalFormat:function(e){P.callUIFunction(o.value,"setIndicatorTextDecimalFormat",[e],(e=>{}))},setLeftIndicatorTextDecimalFormat:function(e){P.callUIFunction(o.value,"setLeftIndicatorTextDecimalFormat",[e],(e=>{}))},setRightIndicatorTextDecimalFormat:function(e){P.callUIFunction(o.value,"setRightIndicatorTextDecimalFormat",[e],(e=>{}))},setIndicatorTextStringFormat:function(e){P.callUIFunction(o.value,"setIndicatorTextStringFormat",[e],(e=>{}))},setLeftIndicatorTextStringFormat:function(e){P.callUIFunction(o.value,"setLeftIndicatorTextStringFormat",[e],(e=>{}))},setRightIndicatorTextStringFormat:function(e){P.callUIFunction(o.value,"setRightIndicatorTextStringFormat",[e],(e=>{}))},setIndicatorMargin:function(e){P.callUIFunction(o.value,"setIndicatorMargin",[e],(e=>{}))},setLeftIndicatorMargin:function(e){P.callUIFunction(o.value,"setLeftIndicatorMargin",[e],(e=>{}))},setRightIndicatorMargin:function(e){P.callUIFunction(o.value,"setRightIndicatorMargin",[e],(e=>{}))},setIndicatorPaddingBottom:function(e){P.callUIFunction(o.value,"setIndicatorPaddingBottom",[e],(e=>{}))},setLeftIndicatorPaddingBottom:function(e){P.callUIFunction(o.value,"setLeftIndicatorPaddingBottom",[e],(e=>{}))},setRightIndicatorPaddingBottom:function(e){P.callUIFunction(o.value,"setRightIndicatorPaddingBottom",[e],(e=>{}))},setIndicatorPaddingTop:function(e){P.callUIFunction(o.value,"setIndicatorPaddingTop",[e],(e=>{}))},setLeftIndicatorPaddingTop:function(e){P.callUIFunction(o.value,"setLeftIndicatorPaddingTop",[e],(e=>{}))},setRightIndicatorPaddingTop:function(e){P.callUIFunction(o.value,"setRightIndicatorPaddingTop",[e],(e=>{}))},setIndicatorPaddingLeft:function(e){P.callUIFunction(o.value,"setIndicatorPaddingLeft",[e],(e=>{}))},setLeftIndicatorPaddingLeft:function(e){P.callUIFunction(o.value,"setLeftIndicatorPaddingLeft",[e],(e=>{}))},setRightIndicatorPaddingLeft:function(e){P.callUIFunction(o.value,"setRightIndicatorPaddingLeft",[e],(e=>{}))},setIndicatorPaddingRight:function(e){P.callUIFunction(o.value,"setIndicatorPaddingRight",[e],(e=>{}))},setLeftIndicatorPaddingRight:function(e){P.callUIFunction(o.value,"setLeftIndicatorPaddingRight",[e],(e=>{}))},setRightIndicatorPaddingRight:function(e){P.callUIFunction(o.value,"setRightIndicatorPaddingRight",[e],(e=>{}))},setIndicatorBackgroundColor:function(e){P.callUIFunction(o.value,"setIndicatorBackgroundColor",[e],(e=>{}))},setLeftIndicatorBackgroundColor:function(e){P.callUIFunction(o.value,"setLeftIndicatorBackgroundColor",[e],(e=>{}))},setRightIndicatorBackgroundColor:function(e){P.callUIFunction(o.value,"setRightIndicatorBackgroundColor",[e],(e=>{}))},setIndicatorRadius:function(e){P.callUIFunction(o.value,"setIndicatorRadius",[e],(e=>{}))},setLeftIndicatorRadius:function(e){P.callUIFunction(o.value,"setLeftIndicatorRadius",[e],(e=>{}))},setRightIndicatorRadius:function(e){P.callUIFunction(o.value,"setRightIndicatorRadius",[e],(e=>{}))},setIndicatorTextSize:function(e){P.callUIFunction(o.value,"setIndicatorTextSize",[e],(e=>{}))},setLeftIndicatorTextSize:function(e){P.callUIFunction(o.value,"setLeftIndicatorTextSize",[e],(e=>{}))},setRightIndicatorTextSize:function(e){P.callUIFunction(o.value,"setRightIndicatorTextSize",[e],(e=>{}))},setIndicatorTextColor:function(e){P.callUIFunction(o.value,"setIndicatorTextColor",[e],(e=>{}))},setLeftIndicatorTextColor:function(e){P.callUIFunction(o.value,"setLeftIndicatorTextColor",[e],(e=>{}))},setRightIndicatorTextColor:function(e){P.callUIFunction(o.value,"setRightIndicatorTextColor",[e],(e=>{}))},setIndicatorArrowSize:function(e){P.callUIFunction(o.value,"setIndicatorArrowSize",[e],(e=>{}))},setLeftIndicatorArrowSize:function(e){P.callUIFunction(o.value,"setLeftIndicatorArrowSize",[e],(e=>{}))},setRightIndicatorArrowSize:function(e){P.callUIFunction(o.value,"setRightIndicatorArrowSize",[e],(e=>{}))},setIndicatorDrawable:function(e){P.callUIFunction(o.value,"setIndicatorDrawable",[e],(e=>{}))},setLeftIndicatorDrawable:function(e){P.callUIFunction(o.value,"setLeftIndicatorDrawable",[e],(e=>{}))},setRightIndicatorDrawable:function(e){P.callUIFunction(o.value,"setRightIndicatorDrawable",[e],(e=>{}))},setIndicatorUrl:function(e){P.callUIFunction(o.value,"setIndicatorUrl",[e],(e=>{}))},setLeftIndicatorUrl:function(e){P.callUIFunction(o.value,"setLeftIndicatorUrl",[e],(e=>{}))},setRightIndicatorUrl:function(e){P.callUIFunction(o.value,"setRightIndicatorUrl",[e],(e=>{}))},setThumbWidth:function(e){P.callUIFunction(o.value,"setThumbWidth",[e],(e=>{}))},setLeftThumbWidth:function(e){P.callUIFunction(o.value,"setLeftThumbWidth",[e],(e=>{}))},setRightThumbWidth:function(e){P.callUIFunction(o.value,"setRightThumbWidth",[e],(e=>{}))},setThumbHeight:function(e){P.callUIFunction(o.value,"setThumbHeight",[e],(e=>{}))},setLeftThumbHeight:function(e){P.callUIFunction(o.value,"setLeftThumbHeight",[e],(e=>{}))},setRightThumbHeight:function(e){P.callUIFunction(o.value,"setRightThumbHeight",[e],(e=>{}))},scaleThumb:function(){P.callUIFunction(o.value,"scaleThumb",[],(e=>{}))},scaleLeftThumb:function(){P.callUIFunction(o.value,"scaleLeftThumb",[],(e=>{}))},scaleRightThumb:function(){P.callUIFunction(o.value,"scaleLeftThumb",[],(e=>{}))},resetThumb:function(){P.callUIFunction(o.value,"resetThumb",[],(e=>{}))},resetLeftThumb:function(){P.callUIFunction(o.value,"resetLeftThumb",[],(e=>{}))},resetRightThumb:function(){P.callUIFunction(o.value,"resetRightThumb",[],(e=>{}))},setThumbScaleRatio:function(e){P.callUIFunction(o.value,"setThumbScaleRatio",[e],(e=>{}))},setLeftThumbScaleRatio:function(e){P.callUIFunction(o.value,"setLeftThumbScaleRatio",[e],(e=>{}))},setRightThumbScaleRatio:function(e){P.callUIFunction(o.value,"setRightThumbScaleRatio",[e],(e=>{}))},setThumbActivate:function(e){P.callUIFunction(o.value,"setThumbActivate",[e],(e=>{}))},setLeftThumbActivate:function(e){P.callUIFunction(o.value,"setLeftThumbActivate",[e],(e=>{}))},setRightThumbActivate:function(e){P.callUIFunction(o.value,"setRightThumbActivate",[e],(e=>{}))},setThumbDrawable:function(e){P.callUIFunction(o.value,"setThumbDrawable",[e],(e=>{}))},setLeftThumbDrawable:function(e){P.callUIFunction(o.value,"setLeftThumbDrawable",[e],(e=>{}))},setRightThumbDrawable:function(e){P.callUIFunction(o.value,"setRightThumbDrawable",[e],(e=>{}))},setThumbUrl:function(e){P.callUIFunction(o.value,"setThumbUrl",[e],(e=>{}))},setLeftThumbUrl:function(e){P.callUIFunction(o.value,"setLeftThumbUrl",[e],(e=>{}))},setRightThumbUrl:function(e){P.callUIFunction(o.value,"setRightThumbUrl",[e],(e=>{}))},setThumbInactivatedDrawable:function(e){P.callUIFunction(o.value,"setThumbInactivatedDrawable",[e],(e=>{}))},setLeftThumbInactivatedDrawable:function(e){P.callUIFunction(o.value,"setLeftThumbInactivatedDrawable",[e],(e=>{}))},setRightThumbInactivatedDrawable:function(e){P.callUIFunction(o.value,"setRightThumbInactivatedDrawable",[e],(e=>{}))},setThumbInactivatedUrl:function(e){P.callUIFunction(o.value,"setThumbInactivatedUrl",[e],(e=>{}))},setLeftThumbInactivatedUrl:function(e){P.callUIFunction(o.value,"setLeftThumbInactivatedUrl",[e],(e=>{}))},setRightThumbInactivatedUrl:function(e){P.callUIFunction(o.value,"setRightThumbInactivatedUrl",[e],(e=>{}))},setTickMarkMode:function(e){P.callUIFunction(o.value,"setTickMarkMode",[e],(e=>{}))},setTickMarkGravity:function(e){P.callUIFunction(o.value,"setTickMarkGravity",[e],(e=>{}))},setTickMarkLayoutGravity:function(e){P.callUIFunction(o.value,"setTickMarkLayoutGravity",[e],(e=>{}))},setTickMarkTextArray:function(e){P.callUIFunction(o.value,"setTickMarkTextArray",[e],(e=>{}))},setTickMarkTextMargin:function(e){P.callUIFunction(o.value,"setTickMarkTextMargin",[e],(e=>{}))},setTickMarkTextSize:function(e){P.callUIFunction(o.value,"setTickMarkTextSize",[e],(e=>{}))},setTickMarkTextColor:function(e){P.callUIFunction(o.value,"setTickMarkTextColor",[e],(e=>{}))},setTickMarkInRangeTextColor:function(e){P.callUIFunction(o.value,"setTickMarkInRangeTextColor",[e],(e=>{}))},setSteps:function(e){P.callUIFunction(o.value,"setSteps",[e],(e=>{}))},setStepsWidth:function(e){P.callUIFunction(o.value,"setStepsWidth",[e],(e=>{}))},setStepsHeight:function(e){P.callUIFunction(o.value,"setStepsHeight",[e],(e=>{}))},setStepsRadius:function(e){P.callUIFunction(o.value,"setStepsRadius",[e],(e=>{}))},setStepsColor:function(e){P.callUIFunction(o.value,"setStepsColor",[e],(e=>{}))},setStepsAutoBonding:function(e){P.callUIFunction(o.value,"setStepsAutoBonding",[e],(e=>{}))},setStepsDrawable:function(e){P.callUIFunction(o.value,"setStepsDrawable",[e],(e=>{}))},setStepsUrl:function(e){P.callUIFunction(o.value,"setStepsUrl",[e],(e=>{}))},setSecondProgress:function(e){P.callUIFunction(o.value,"setSecondProgress",[e],(e=>{}))},show:function(e){P.callUIFunction(o.value,"show",[e],(e=>{}))},setMaxProgress:function(e){P.callUIFunction(o.value,"setMaxProgress",[e],(e=>{}))},...Xn(o)}),()=>R("TVProgressBarViewComponent",{ref:o,onFocus:e=>{n.emit("onFocusChanged",e.isFocused)},onSeekBarChange:e=>{n.emit("onSeekChanged",e.progress)}})}});t.component("qt-progress-bar",n)}(t),function(t){const n=l({emits:["onAnimationEnd","onAnimationCancel","onAnimationStart","onAnimationRepeat","onAnimationPause","onAnimationResume","onAnimationUpdate"],setup(t,n){const o=e(),a=D().getDisplayScale();return n.expose({setPivotX:function(e){P.callUIFunction(o.value,"setPivotX",[e],(e=>{}))},setPivotY:function(e){P.callUIFunction(o.value,"setPivotY",[e],(e=>{}))},resetPivot:function(){P.callUIFunction(o.value,"resetPivot",[],(e=>{}))},resetAnimators:function(){P.callUIFunction(o.value,"resetAnimators",[],(e=>{}))},animatorSet:function(e,t,n){P.callUIFunction(o.value,"animatorSet",[e,t,n],(e=>{}))},startAnimator:function(e){P.callUIFunction(o.value,"startAnimator",[e],(e=>{}))},startAnimatorDelay:function(e,t){P.callUIFunction(o.value,"startAnimatorDelay",[e,t],(e=>{}))},pauseAnimator:function(e){P.callUIFunction(o.value,"pauseAnimator",[e],(e=>{}))},resumeAnimator:function(e){P.callUIFunction(o.value,"resumeAnimator",[e],(e=>{}))},cancelAnimator:function(e){P.callUIFunction(o.value,"cancelAnimator",[e],(e=>{}))},reverseAnimator:function(e){P.callUIFunction(o.value,"reverseAnimator",[e],(e=>{}))},play:function(e,t){P.callUIFunction(o.value,"play",[e,t],(e=>{}))},playWith:function(e,t){P.callUIFunction(o.value,"with",[e,t],(e=>{}))},playBefore:function(e,t){P.callUIFunction(o.value,"before",[e,t],(e=>{}))},playAfter:function(e,t){P.callUIFunction(o.value,"after",[e,t],(e=>{}))},playAfterDelay:function(e,t){P.callUIFunction(o.value,"afterDelay",[e,t],(e=>{}))},playSequentially1:function(e,t){P.callUIFunction(o.value,"playSequentially1",[e,t],(e=>{}))},playSequentially2:function(e,t,n){P.callUIFunction(o.value,"playSequentially2",[e,t,n],(e=>{}))},playSequentially3:function(e,t,n,a){P.callUIFunction(o.value,"playSequentially3",[e,t,n,a],(e=>{}))},playSequentially4:function(e,t,n,a,i){P.callUIFunction(o.value,"playSequentially4",[e,t,n,a,i],(e=>{}))},playSequentially5:function(e,t,n,a,i,l){P.callUIFunction(o.value,"playSequentially5",[e,t,n,a,i,l],(e=>{}))},playTogether1:function(e,t){P.callUIFunction(o.value,"playTogether1",[e,t],(e=>{}))},playTogether2:function(e,t,n){P.callUIFunction(o.value,"playTogether2",[e,t,n],(e=>{}))},playTogether3:function(e,t,n,a){P.callUIFunction(o.value,"playTogether3",[e,t,n,a],(e=>{}))},playTogether4:function(e,t,n,a,i){P.callUIFunction(o.value,"playTogether4",[e,t,n,a,i],(e=>{}))},playTogether5:function(e,t,n,a,i,l){P.callUIFunction(o.value,"playTogether5",[e,t,n,a,i,l],(e=>{}))},objectAnimator:function(e,t,n,a,i,l,c,s,r){P.callUIFunction(o.value,"objectAnimator",[e,t,n,a,i,l,c,s,r],(e=>{}))},objectAnimator1:function(e,t,n,i,l,c,s,r,u,d){n!=fi.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_X&&n!=fi.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Y&&n!=fi.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Z||(i*=a),P.callUIFunction(o.value,"objectAnimator1",[e,t,n,i,l,c,s,r,u,d],(e=>{}))},objectAnimator2:function(e,t,n,i,l,c,s,r,u,d,f){n!=fi.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_X&&n!=fi.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Y&&n!=fi.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Z||(i*=a,l*=a),P.callUIFunction(o.value,"objectAnimator2",[e,t,n,i,l,c,s,r,u,d,f],(e=>{}))},objectAnimator3:function(e,t,n,i,l,c,s,r,u,d,f,_){n!=fi.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_X&&n!=fi.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Y&&n!=fi.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Z||(i*=a,l*=a,c*=a),P.callUIFunction(o.value,"objectAnimator3",[e,t,n,i,l,c,s,r,u,d,f,_],(e=>{}))},objectAnimator4:function(e,t,n,i,l,c,s,r,u,d,f,_,T){n!=fi.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_X&&n!=fi.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Y&&n!=fi.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Z||(i*=a,l*=a,c*=a,s*=a),P.callUIFunction(o.value,"objectAnimator4",[e,t,n,i,l,c,s,r,u,d,f,_,T],(e=>{}))},objectAnimator5:function(e,t,n,i,l,c,s,r,u,d,f,_,T,p){n!=fi.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_X&&n!=fi.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Y&&n!=fi.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Z||(i*=a,l*=a,c*=a,s*=a,r*=a),P.callUIFunction(o.value,"objectAnimator5",[e,t,n,i,l,c,s,r,u,d,f,_,T,p],(e=>{}))},objectAnimator6:function(e,t,n,i,l,c,s,r,u,d,f,_,T,p,I){n!=fi.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_X&&n!=fi.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Y&&n!=fi.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Z||(i*=a,l*=a,c*=a,s*=a,r*=a,u*=a),P.callUIFunction(o.value,"objectAnimator6",[e,t,n,i,l,c,s,r,u,d,f,_,T,p,I],(e=>{}))},objectAnimator7:function(e,t,n,i,l,c,s,r,u,d,f,_,T,p,I,g){n!=fi.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_X&&n!=fi.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Y&&n!=fi.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Z||(i*=a,l*=a,c*=a,s*=a,r*=a,u*=a,d*=a),P.callUIFunction(o.value,"objectAnimator7",[e,t,n,i,l,c,s,r,u,d,f,_,T,p,I,g],(e=>{}))},objectAnimator8:function(e,t,n,i,l,c,s,r,u,d,f,_,T,p,I,g,m){n!=fi.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_X&&n!=fi.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Y&&n!=fi.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Z||(i*=a,l*=a,c*=a,s*=a,r*=a,u*=a,d*=a,f*=a),P.callUIFunction(o.value,"objectAnimator8",[e,t,n,i,l,c,s,r,u,d,f,_,T,p,I,g,m],(e=>{}))},objectAnimator9:function(e,t,n,i,l,c,s,r,u,d,f,_,T,p,I,g,m,v){n!=fi.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_X&&n!=fi.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Y&&n!=fi.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Z||(i*=a,l*=a,c*=a,s*=a,r*=a,u*=a,d*=a,f*=a,_*=a),P.callUIFunction(o.value,"objectAnimator9",[e,t,n,i,l,c,s,r,u,d,f,_,T,p,I,g,m,v],(e=>{}))},objectAnimator10:function(e,t,n,i,l,c,s,r,u,d,f,_,T,p,I,g,m,v,h){n!=fi.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_X&&n!=fi.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Y&&n!=fi.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Z||(i*=a,l*=a,c*=a,s*=a,r*=a,u*=a,d*=a,f*=a,_*=a,T*=a),P.callUIFunction(o.value,"objectAnimator10",[e,t,n,i,l,c,s,r,u,d,f,_,T,p,I,g,m,v,h],(e=>{}))},...Xn(o)}),()=>{const e=n.slots.default&&n.slots.default();return R("AnimationViewComponent",{ref:o,onAnimationCancel:e=>{let t=e.animationId;n.emit("onAnimationCancel",t)},onAnimationEnd:e=>{let t=e.animationId,o=e.isReverse;n.emit("onAnimationEnd",t,o)},onAnimationRepeat:e=>{let t=e.animationId;n.emit("onAnimationRepeat",t)},onAnimationStart:e=>{let t=e.animationId,o=e.isReverse;n.emit("onAnimationStart",t,o)},onAnimationPause:e=>{let t=e.animationId;n.emit("onAnimationPause",t)},onAnimationResume:e=>{let t=e.animationId;n.emit("onAnimationResume",t)},onAnimationUpdate:e=>{let t=e.animationId,o=e.animatedValue;n.emit("onAnimationUpdate",t,o)}},e)}}});t.component("qt-animation",n)}(t),function(t){t.component("qt-dialog",{setup(t,n){const o=e();return n.expose({viewRef:o,...Xn(o)}),()=>{const e=n.slots.default&&n.slots.default();return R("Modal",{ref:o},e)}}})}(t),function(t){const n=l({setup(t,n){const o=e();return n.expose({viewRef:o,scrollTo:function(e,t){P.callUIFunction(o.value,"scrollTo",[e,t])},scrollToWithOptions:function(e,t,n){P.callUIFunction(o.value,"scrollToWithOptions",[{x:e,y:t,duration:n}])},...Xn(o)}),()=>{const e=n.slots.default&&n.slots.default();return R("ScrollView",{ref:o},e)}}});t.component("qt-scroll-view",n)}(t),function(t){t.component("qt-lottie-view",{emits:["animation-event"],setup(t,n){const o=e();return n.expose({loadRaw:e=>{P.callUIFunction(o.value,"lottie_rawRes",[e])},loadFile:e=>{P.callUIFunction(o.value,"lottie_localRes",[e])},loadUrl:e=>{P.callUIFunction(o.value,"lottie_url",[e])},loadCacheUrl:(e,t)=>{P.callUIFunction(o.value,"lottie_cache_url",[e,t])},setFallbackResource:e=>{P.callUIFunction(o.value,"lottie_fallbackRes",[e])},setAutoPlay:e=>{P.callUIFunction(o.value,"lottie_autoPlay",[e])},setLottieLoop:e=>{P.callUIFunction(o.value,"lottie_loop",[e])},setRepeatMode:e=>{P.callUIFunction(o.value,"lottie_repeatMode",[e])},setRepeatCount:e=>{P.callUIFunction(o.value,"lottie_repeatCount",[e])},setSpeed:e=>{P.callUIFunction(o.value,"lottie_speed",[e])},setClipToCompositionBounds:e=>{P.callUIFunction(o.value,"lottie_clipToCompositionBounds",[e])},setDefaultFontFileExtension:e=>{P.callUIFunction(o.value,"lottie_defaultFontFileExtension",[e])},setImageAssetsFolder:e=>{P.callUIFunction(o.value,"lottie_imageAssetsFolder",[e])},setProgress:e=>{P.callUIFunction(o.value,"lottie_progress",[e])},enableMergePathsForKitKatAndAbove:e=>{P.callUIFunction(o.value,"lottie_enableMergePathsForKitKatAndAbove",[e])},setColorFilter:e=>{P.callUIFunction(o.value,"lottie_colorFilter",[e])},setRenderMode:e=>{P.callUIFunction(o.value,"lottie_renderMode",[e])},setAsyncUpdate:e=>{P.callUIFunction(o.value,"lottie_asyncUpdates",[e])},playAnimation:()=>{P.callUIFunction(o.value,"playAnimation",[])},setIgnoreDisabledSystemAnimations:e=>{P.callUIFunction(o.value,"lottie_ignoreDisabledSystemAnimations",[e])},setUseCompositionFrameRate:e=>{P.callUIFunction(o.value,"lottie_useCompositionFrameRate",[e])},resumeAnimation:()=>{P.callUIFunction(o.value,"resumeAnimation",[])},pauseAnimation:()=>{P.callUIFunction(o.value,"pauseAnimation",[])},cancelAnimation:()=>{P.callUIFunction(o.value,"cancelAnimation",[])},cacheComposition:e=>{P.callUIFunction(o.value,"cacheComposition",[e])},removeAllListener:()=>{P.callUIFunction(o.value,"removeAllListener",[])},...Xn(o)}),()=>{const e=n.slots.default&&n.slots.default();return R("ESLottieViewComponent",{ref:o,onAnimationEvent:e=>{n.emit("animation-event",e)}},e)}}})}(t),function(t){const n=l({setup(t,n){const o=e();return n.expose({setPackageName:function(e){P.callUIFunction(o.value,"setPackageName",[e],(e=>{}))},setRoundingRadius:function(e){P.callUIFunction(o.value,"setRoundingRadius",[e],(e=>{}))}}),()=>R("ESAppIconViewComponent",{ref:o})}});t.component("qt-app-icon",n)}(t);for(let e in Ci)t.component(Ci[e].name,Ci[e])};export{di as QTAnimationInterpolatorType,fi as QTAnimationPropertyName,_i as QTAnimationRepeatMode,Ti as QTAnimationValueType,mi as QTDirections,Li as QTGradientOrientation,Ui as QTGradientShape,Di as QTGradientType,gi as QTIViewVisibility,Ni as QTLottieAsyncUpdates,Pi as QTLottieRepeatMode,si as QTMediaSeriesStyleType,ci as QTMediaSeriesType,hi as QTNavBarItemType,vi as QTScrollState,Ei as QTSeekBarGravity,bi as QTSeekBarIndicatorMode,Fi as QTSeekBarMode,yi as QTSeekBarTickMarkGravity,Ri as QTSeekBarTickMarkLayoutGravity,Ai as QTSeekBarTickMarkMode,Si as QTTabItemType,Oa as QTTabPageState,ca as QTWaterfallItemType,la as QTWaterfallSectionType,Ra as QTWaterfallVisibleType,ki as QuickTVUI,xi as arrangeChildren4ListView,wo as qtGetParent,$o as qtRef,Co as qtWatchAll};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quicktvui/quicktvui3",
3
- "version": "1.1.24-beta",
3
+ "version": "1.1.24-beta.2",
4
4
  "description": "ExtScreen framework",
5
5
  "author": "ExtScreen Team",
6
6
  "homepage": "http://extscreen.com",