@quicktvui/quicktvui3 1.1.12 → 1.1.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
import{ref as e,openBlock as t,createElementBlock as n,renderSlot as o,resolveComponent as a,createBlock as i,defineComponent as l,normalizeStyle as c,normalizeClass as s,createCommentVNode as u,toDisplayString as r,watchEffect as d,onBeforeUnmount as f,withCtx as I,Fragment as T,createVNode as p,createElementVNode as m,pushScopeId as g,popScopeId as _,reactive as v,watch as h,onMounted as S,nextTick as F,renderList as E,resolveDynamicComponent as b,h as A}from"vue";import{Native as y}from"@extscreen/es3-vue";import{useESLog as R,ESLogLevel as P,useESDevice as N,useES as U,useESDisplay as L}from"@extscreen/es3-core";function D(e,t){const n=Object.create(null),o=e.split(",");for(let e=0;e<o.length;e++)n[o[e]]=!0;return t?e=>!!n[e.toLowerCase()]:e=>!!n[e]}const O="production"!==process.env.NODE_ENV?Object.freeze({}):{};"production"===process.env.NODE_ENV||Object.freeze([]);const x=()=>{},C=/^on[^a-z]/,k=e=>C.test(e),w=Object.assign,M=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},B=Object.prototype.hasOwnProperty,Q=(e,t)=>B.call(e,t),$=Array.isArray,G=e=>"[object Map]"===K(e),V=e=>"[object Set]"===K(e),W=e=>"function"==typeof e,Y=e=>"string"==typeof e,z=e=>"symbol"==typeof e,q=e=>null!==e&&"object"==typeof e,H=e=>(q(e)||W(e))&&W(e.then)&&W(e.catch),j=Object.prototype.toString,K=e=>j.call(e),Z=e=>K(e).slice(8,-1),X=e=>"[object Object]"===K(e),J=e=>Y(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,ee=(e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))})((e=>e.charAt(0).toUpperCase()+e.slice(1))),te=(e,t)=>!Object.is(e,t),ne=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})};let oe;const ae=()=>oe||(oe="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{});function ie(e){if($(e)){const t={};for(let n=0;n<e.length;n++){const o=e[n],a=Y(o)?ue(o):ie(o);if(a)for(const e in a)t[e]=a[e]}return t}if(Y(e)||q(e))return e}const le=/;(?![^(]*\))/g,ce=/:([^]+)/,se=/\/\*[^]*?\*\//g;function ue(e){const t={};return e.replace(se,"").split(le).forEach((e=>{if(e){const n=e.split(ce);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}function re(e){let t="";if(Y(e))t=e;else if($(e))for(let n=0;n<e.length;n++){const o=re(e[n]);o&&(t+=o+" ")}else if(q(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function de(e,...t){console.warn(`[Vue warn] ${e}`,...t)}let fe;const Ie=e=>{const t=new Set(e);return t.w=0,t.n=0,t},Te=e=>(e.w&_e)>0,pe=e=>(e.n&_e)>0,me=new WeakMap;let ge=0,_e=1;const ve=30;let he;const Se=Symbol("production"!==process.env.NODE_ENV?"iterate":""),Fe=Symbol("production"!==process.env.NODE_ENV?"Map key iterate":"");class Ee{constructor(e,t=null,n){this.fn=e,this.scheduler=t,this.active=!0,this.deps=[],this.parent=void 0,function(e,t=fe){t&&t.active&&t.effects.push(e)}(this,n)}run(){if(!this.active)return this.fn();let e=he,t=Ae;for(;e;){if(e===this)return;e=e.parent}try{return this.parent=he,he=this,Ae=!0,_e=1<<++ge,ge<=ve?(({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=_e})(this):be(this),this.fn()}finally{ge<=ve&&(e=>{const{deps:t}=e;if(t.length){let n=0;for(let o=0;o<t.length;o++){const a=t[o];Te(a)&&!pe(a)?a.delete(e):t[n++]=a,a.w&=~_e,a.n&=~_e}t.length=n}})(this),_e=1<<--ge,he=this.parent,Ae=t,this.parent=void 0,this.deferStop&&this.stop()}}stop(){he===this?this.deferStop=!0:this.active&&(be(this),this.onStop&&this.onStop(),this.active=!1)}}function be(e){const{deps:t}=e;if(t.length){for(let n=0;n<t.length;n++)t[n].delete(e);t.length=0}}let Ae=!0;const ye=[];function Re(){ye.push(Ae),Ae=!1}function Pe(){const e=ye.pop();Ae=void 0===e||e}function Ne(e,t,n){if(Ae&&he){let o=me.get(e);o||me.set(e,o=new Map);let a=o.get(n);a||o.set(n,a=Ie());!function(e,t){let n=!1;ge<=ve?pe(e)||(e.n|=_e,n=!Te(e)):n=!e.has(he);n&&(e.add(he),he.deps.push(e),"production"!==process.env.NODE_ENV&&he.onTrack&&he.onTrack(w({effect:he},t)))}(a,"production"!==process.env.NODE_ENV?{effect:he,target:e,type:t,key:n}:void 0)}}function Ue(e,t,n,o,a,i){const l=me.get(e);if(!l)return;let c=[];if("clear"===t)c=[...l.values()];else if("length"===n&&$(e)){const e=Number(o);l.forEach(((t,n)=>{("length"===n||!z(n)&&n>=e)&&c.push(t)}))}else switch(void 0!==n&&c.push(l.get(n)),t){case"add":$(e)?J(n)&&c.push(l.get("length")):(c.push(l.get(Se)),G(e)&&c.push(l.get(Fe)));break;case"delete":$(e)||(c.push(l.get(Se)),G(e)&&c.push(l.get(Fe)));break;case"set":G(e)&&c.push(l.get(Se))}const s="production"!==process.env.NODE_ENV?{target:e,type:t,key:n,newValue:o,oldValue:a,oldTarget:i}:void 0;if(1===c.length)c[0]&&("production"!==process.env.NODE_ENV?Le(c[0],s):Le(c[0]));else{const e=[];for(const t of c)t&&e.push(...t);"production"!==process.env.NODE_ENV?Le(Ie(e),s):Le(Ie(e))}}function Le(e,t){const n=$(e)?e:[...e];for(const e of n)e.computed&&De(e,t);for(const e of n)e.computed||De(e,t)}function De(e,t){(e!==he||e.allowRecurse)&&("production"!==process.env.NODE_ENV&&e.onTrigger&&e.onTrigger(w({effect:e},t)),e.scheduler?e.scheduler():e.run())}const Oe=D("__proto__,__v_isRef,__isVue"),xe=new Set(Object.getOwnPropertyNames(Symbol).filter((e=>"arguments"!==e&&"caller"!==e)).map((e=>Symbol[e])).filter(z)),Ce=ke();function ke(){const e={};return["includes","indexOf","lastIndexOf"].forEach((t=>{e[t]=function(...e){const n=bt(this);for(let e=0,t=this.length;e<t;e++)Ne(n,"get",e+"");const o=n[t](...e);return-1===o||!1===o?n[t](...e.map(bt)):o}})),["push","pop","shift","unshift","splice"].forEach((t=>{e[t]=function(...e){Re();const n=bt(this)[t].apply(this,e);return Pe(),n}})),e}function we(e){const t=bt(this);return Ne(t,"has",e),t.hasOwnProperty(e)}class Me{constructor(e=!1,t=!1){this._isReadonly=e,this._shallow=t}get(e,t,n){const o=this._isReadonly,a=this._shallow;if("__v_isReactive"===t)return!o;if("__v_isReadonly"===t)return o;if("__v_isShallow"===t)return a;if("__v_raw"===t&&n===(o?a?pt:Tt:a?It:ft).get(e))return e;const i=$(e);if(!o){if(i&&Q(Ce,t))return Reflect.get(Ce,t,n);if("hasOwnProperty"===t)return we}const l=Reflect.get(e,t,n);return(z(t)?xe.has(t):Oe(t))?l:(o||Ne(e,"get",t),a?l:Rt(l)?i&&J(t)?l:l.value:q(l)?o?gt(l):mt(l):l)}}class Be extends Me{constructor(e=!1){super(!1,e)}set(e,t,n,o){let a=e[t];if(St(a)&&Rt(a)&&!Rt(n))return!1;if(!this._shallow&&(Ft(n)||St(n)||(a=bt(a),n=bt(n)),!$(e)&&Rt(a)&&!Rt(n)))return a.value=n,!0;const i=$(e)&&J(t)?Number(t)<e.length:Q(e,t),l=Reflect.set(e,t,n,o);return e===bt(o)&&(i?te(n,a)&&Ue(e,"set",t,n,a):Ue(e,"add",t,n)),l}deleteProperty(e,t){const n=Q(e,t),o=e[t],a=Reflect.deleteProperty(e,t);return a&&n&&Ue(e,"delete",t,void 0,o),a}has(e,t){const n=Reflect.has(e,t);return z(t)&&xe.has(t)||Ne(e,"has",t),n}ownKeys(e){return Ne(e,"iterate",$(e)?"length":Se),Reflect.ownKeys(e)}}class Qe extends Me{constructor(e=!1){super(!0,e)}set(e,t){return"production"!==process.env.NODE_ENV&&de(`Set operation on key "${String(t)}" failed: target is readonly.`,e),!0}deleteProperty(e,t){return"production"!==process.env.NODE_ENV&&de(`Delete operation on key "${String(t)}" failed: target is readonly.`,e),!0}}const $e=new Be,Ge=new Qe,Ve=new Qe(!0),We=e=>e,Ye=e=>Reflect.getPrototypeOf(e);function ze(e,t,n=!1,o=!1){const a=bt(e=e.__v_raw),i=bt(t);n||(te(t,i)&&Ne(a,"get",t),Ne(a,"get",i));const{has:l}=Ye(a),c=o?We:n?yt:At;return l.call(a,t)?c(e.get(t)):l.call(a,i)?c(e.get(i)):void(e!==a&&e.get(t))}function qe(e,t=!1){const n=this.__v_raw,o=bt(n),a=bt(e);return t||(te(e,a)&&Ne(o,"has",e),Ne(o,"has",a)),e===a?n.has(e):n.has(e)||n.has(a)}function He(e,t=!1){return e=e.__v_raw,!t&&Ne(bt(e),"iterate",Se),Reflect.get(e,"size",e)}function je(e){e=bt(e);const t=bt(this);return Ye(t).has.call(t,e)||(t.add(e),Ue(t,"add",e,e)),this}function Ke(e,t){t=bt(t);const n=bt(this),{has:o,get:a}=Ye(n);let i=o.call(n,e);i?"production"!==process.env.NODE_ENV&&dt(n,o,e):(e=bt(e),i=o.call(n,e));const l=a.call(n,e);return n.set(e,t),i?te(t,l)&&Ue(n,"set",e,t,l):Ue(n,"add",e,t),this}function Ze(e){const t=bt(this),{has:n,get:o}=Ye(t);let a=n.call(t,e);a?"production"!==process.env.NODE_ENV&&dt(t,n,e):(e=bt(e),a=n.call(t,e));const i=o?o.call(t,e):void 0,l=t.delete(e);return a&&Ue(t,"delete",e,void 0,i),l}function Xe(){const e=bt(this),t=0!==e.size,n="production"!==process.env.NODE_ENV?G(e)?new Map(e):new Set(e):void 0,o=e.clear();return t&&Ue(e,"clear",void 0,void 0,n),o}function Je(e,t){return function(n,o){const a=this,i=a.__v_raw,l=bt(i),c=t?We:e?yt:At;return!e&&Ne(l,"iterate",Se),i.forEach(((e,t)=>n.call(o,c(e),c(t),a)))}}function et(e,t,n){return function(...o){const a=this.__v_raw,i=bt(a),l=G(i),c="entries"===e||e===Symbol.iterator&&l,s="keys"===e&&l,u=a[e](...o),r=n?We:t?yt:At;return!t&&Ne(i,"iterate",s?Fe:Se),{next(){const{value:e,done:t}=u.next();return t?{value:e,done:t}:{value:c?[r(e[0]),r(e[1])]:r(e),done:t}},[Symbol.iterator](){return this}}}}function tt(e){return function(...t){if("production"!==process.env.NODE_ENV){const n=t[0]?`on key "${t[0]}" `:"";console.warn(`${ee(e)} operation ${n}failed: target is readonly.`,bt(this))}return"delete"!==e&&this}}function nt(){const e={get(e){return ze(this,e)},get size(){return He(this)},has:qe,add:je,set:Ke,delete:Ze,clear:Xe,forEach:Je(!1,!1)},t={get(e){return ze(this,e,!1,!0)},get size(){return He(this)},has:qe,add:je,set:Ke,delete:Ze,clear:Xe,forEach:Je(!1,!0)},n={get(e){return ze(this,e,!0)},get size(){return He(this,!0)},has(e){return qe.call(this,e,!0)},add:tt("add"),set:tt("set"),delete:tt("delete"),clear:tt("clear"),forEach:Je(!0,!1)},o={get(e){return ze(this,e,!0,!0)},get size(){return He(this,!0)},has(e){return qe.call(this,e,!0)},add:tt("add"),set:tt("set"),delete:tt("delete"),clear:tt("clear"),forEach:Je(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach((a=>{e[a]=et(a,!1,!1),n[a]=et(a,!0,!1),t[a]=et(a,!1,!0),o[a]=et(a,!0,!0)})),[e,n,t,o]}const[ot,at,it,lt]=nt();function ct(e,t){const n=t?e?lt:it:e?at:ot;return(t,o,a)=>"__v_isReactive"===o?!e:"__v_isReadonly"===o?e:"__v_raw"===o?t:Reflect.get(Q(n,o)&&o in t?n:t,o,a)}const st={get:ct(!1,!1)},ut={get:ct(!0,!1)},rt={get:ct(!0,!0)};function dt(e,t,n){const o=bt(n);if(o!==n&&t.call(e,o)){const t=Z(e);console.warn(`Reactive ${t} contains both the raw and reactive versions of the same object${"Map"===t?" as keys":""}, which can lead to inconsistencies. Avoid differentiating between the raw and reactive versions of an object and only use the reactive version if possible.`)}}const ft=new WeakMap,It=new WeakMap,Tt=new WeakMap,pt=new WeakMap;function mt(e){return St(e)?e:vt(e,!1,$e,st,ft)}function gt(e){return vt(e,!0,Ge,ut,Tt)}function _t(e){return vt(e,!0,Ve,rt,pt)}function vt(e,t,n,o,a){if(!q(e))return"production"!==process.env.NODE_ENV&&console.warn(`value cannot be made reactive: ${String(e)}`),e;if(e.__v_raw&&(!t||!e.__v_isReactive))return e;const i=a.get(e);if(i)return i;const l=(c=e).__v_skip||!Object.isExtensible(c)?0:function(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}(Z(c));var c;if(0===l)return e;const s=new Proxy(e,2===l?o:n);return a.set(e,s),s}function ht(e){return St(e)?ht(e.__v_raw):!(!e||!e.__v_isReactive)}function St(e){return!(!e||!e.__v_isReadonly)}function Ft(e){return!(!e||!e.__v_isShallow)}function Et(e){return ht(e)||St(e)}function bt(e){const t=e&&e.__v_raw;return t?bt(t):e}const At=e=>q(e)?mt(e):e,yt=e=>q(e)?gt(e):e;function Rt(e){return!(!e||!0!==e.__v_isRef)}const Pt={get:(e,t,n)=>{return Rt(o=Reflect.get(e,t,n))?o.value:o;var o},set:(e,t,n,o)=>{const a=e[t];return Rt(a)&&!Rt(n)?(a.value=n,!0):Reflect.set(e,t,n,o)}};const Nt=[];function Ut(e,...t){if("production"===process.env.NODE_ENV)return;Re();const n=Nt.length?Nt[Nt.length-1].component:null,o=n&&n.appContext.config.warnHandler,a=function(){let e=Nt[Nt.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)xt(o,n,11,[e+t.join(""),n&&n.proxy,a.map((({vnode:e})=>`at <${Zn(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 <${Zn(e.component,e.type,o)}`,i=">"+n;return e.props?[a,...Lt(e.props),i]:[a+i]}(e))})),t}(a)),console.warn(...n)}Pe()}function Lt(e){const t=[],n=Object.keys(e);return n.slice(0,3).forEach((n=>{t.push(...Dt(n,e[n]))})),n.length>3&&t.push(" ..."),t}function Dt(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}`]:Rt(t)?(t=Dt(e,bt(t.value),!0),n?t:[`${e}=Ref<`,t,">"]):W(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=bt(t),n?t:[`${e}=`,t])}const Ot={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://new-issue.vuejs.org/?repo=vuejs/core"};function xt(e,t,n,o){let a;try{a=o?e(...o):e()}catch(e){kt(e,t,n)}return a}function Ct(e,t,n,o){if(W(e)){const a=xt(e,t,n,o);return a&&H(a)&&a.catch((e=>{kt(e,t,n)})),a}const a=[];for(let i=0;i<e.length;i++)a.push(Ct(e[i],t,n,o));return a}function kt(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?Ot[n]: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 void xt(l,null,10,[e,a,i])}!function(e,t,n,o=!0){if("production"!==process.env.NODE_ENV){const i=Ot[t];if(n&&(a=n,Nt.push(a)),Ut("Unhandled error"+(i?` during execution of ${i}`:"")),n&&Nt.pop(),o)throw e;console.error(e)}else console.error(e);var a}(e,n,a,o)}let wt=!1,Mt=!1;const Bt=[];let Qt=0;const $t=[];let Gt=null,Vt=0;const Wt=Promise.resolve();let Yt=null;const zt=100;function qt(e){const t=Yt||Wt;return e?t.then(this?e.bind(this):e):t}function Ht(e){Bt.length&&Bt.includes(e,wt&&e.allowRecurse?Qt+1:Qt)||(null==e.id?Bt.push(e):Bt.splice(function(e){let t=Qt+1,n=Bt.length;for(;t<n;){const o=t+n>>>1,a=Bt[o],i=Zt(a);i<e||i===e&&a.pre?t=o+1:n=o}return t}(e.id),0,e),jt())}function jt(){wt||Mt||(Mt=!0,Yt=Wt.then(Jt))}function Kt(e){$(e)?$t.push(...e):Gt&&Gt.includes(e,e.allowRecurse?Vt+1:Vt)||$t.push(e),jt()}const Zt=e=>null==e.id?1/0:e.id,Xt=(e,t)=>{const n=Zt(e)-Zt(t);if(0===n){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Jt(e){Mt=!1,wt=!0,"production"!==process.env.NODE_ENV&&(e=e||new Map),Bt.sort(Xt);const t="production"!==process.env.NODE_ENV?t=>en(e,t):x;try{for(Qt=0;Qt<Bt.length;Qt++){const e=Bt[Qt];if(e&&!1!==e.active){if("production"!==process.env.NODE_ENV&&t(e))continue;xt(e,null,14)}}}finally{Qt=0,Bt.length=0,function(e){if($t.length){const t=[...new Set($t)];if($t.length=0,Gt)return void Gt.push(...t);for(Gt=t,"production"!==process.env.NODE_ENV&&(e=e||new Map),Gt.sort(((e,t)=>Zt(e)-Zt(t))),Vt=0;Vt<Gt.length;Vt++)"production"!==process.env.NODE_ENV&&en(e,Gt[Vt])||Gt[Vt]();Gt=null,Vt=0}}(e),wt=!1,Yt=null,(Bt.length||$t.length)&&Jt(e)}}function en(e,t){if(e.has(t)){const n=e.get(t);if(n>zt){const e=t.ownerInstance,n=e&&Kn(e.type);return Ut(`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.`),!0}e.set(t,n+1)}else e.set(t,1)}const tn=new Set;"production"!==process.env.NODE_ENV&&(ae().__VUE_HMR_RUNTIME__={createRecord:ln((function(e,t){if(nn.has(e))return!1;return nn.set(e,{initialDef:on(t),instances:new Set}),!0})),rerender:ln((function(e,t){const n=nn.get(e);if(!n)return;n.initialDef.render=t,[...n.instances].forEach((e=>{t&&(e.render=t,on(e.type).render=t),e.renderCache=[],e.update()}))})),reload:ln((function(e,t){const n=nn.get(e);if(!n)return;t=on(t),an(n.initialDef,t);const o=[...n.instances];for(const e of o){const o=on(e.type);tn.has(o)||(o!==n.initialDef&&an(o,t),tn.add(o)),e.appContext.propsCache.delete(e.type),e.appContext.emitsCache.delete(e.type),e.appContext.optionsCache.delete(e.type),e.ceReload?(tn.add(o),e.ceReload(t.styles),tn.delete(o)):e.parent?Ht(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.")}Kt((()=>{for(const e of o)tn.delete(on(e.type))}))}))});const nn=new Map;function on(e){return Xn(e)?e.__vccOpts:e}function an(e,t){w(e,t);for(const n in e)"__file"===n||n in t||delete e[n]}function ln(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 cn=null,sn=null;const un=Symbol.for("v-ndc");const rn={};function dn(e,t,{immediate:n,deep:o,flush:a,onTrack:i,onTrigger:l}=O){var c;"production"===process.env.NODE_ENV||t||(void 0!==n&&Ut('watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.'),void 0!==o&&Ut('watch() "deep" option is only respected when using the watch(source, callback, options?) signature.'));const s=e=>{Ut("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.")},u=fe===(null==(c=Wn)?void 0:c.scope)?Wn:null;let r,d,f=!1,I=!1;if(Rt(e)?(r=()=>e.value,f=Ft(e)):ht(e)?(r=()=>e,o=!0):$(e)?(I=!0,f=e.some((e=>ht(e)||Ft(e))),r=()=>e.map((e=>Rt(e)?e.value:ht(e)?In(e):W(e)?xt(e,u,2):void("production"!==process.env.NODE_ENV&&s(e))))):W(e)?r=t?()=>xt(e,u,2):()=>{if(!u||!u.isUnmounted)return d&&d(),Ct(e,u,3,[T])}:(r=x,"production"!==process.env.NODE_ENV&&s(e)),t&&o){const e=r;r=()=>In(e())}let T=e=>{d=_.onStop=()=>{xt(e,u,4)}},p=I?new Array(e.length).fill(rn):rn;const m=()=>{if(_.active)if(t){const e=_.run();(o||f||(I?e.some(((e,t)=>te(e,p[t]))):te(e,p)))&&(d&&d(),Ct(t,u,3,[e,p===rn?void 0:I&&p[0]===rn?[]:p,T]),p=e)}else _.run()};let g;m.allowRecurse=!!t,"sync"===a?g=m:"post"===a?g=()=>Pn(m,u&&u.suspense):(m.pre=!0,u&&(m.id=u.uid),g=()=>Ht(m));const _=new Ee(r,g);"production"!==process.env.NODE_ENV&&(_.onTrack=i,_.onTrigger=l),t?n?m():p=_.run():"post"===a?Pn(_.run.bind(_),u&&u.suspense):_.run();return()=>{_.stop(),u&&u.scope&&M(u.scope.effects,_)}}function fn(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;W(t)?i=t:(i=t.handler,n=t);const l=Wn;zn(this);const c=dn(a,i.bind(o),n);return l?zn(l):qn(),c}function In(e,t){if(!q(e)||e.__v_skip)return e;if((t=t||new Set).has(e))return e;if(t.add(e),Rt(e))In(e.value,t);else if($(e))for(let n=0;n<e.length;n++)In(e[n],t);else if(V(e)||G(e))e.forEach((e=>{In(e,t)}));else if(X(e))for(const n in e)In(e[n],t);return e}
|
|
2
|
-
/*! #__NO_SIDE_EFFECTS__ */function Tn(e,t){return W(e)?(()=>w({name:e.name},t,{setup:e}))():e}const pn=e=>e?4&e.vnode.shapeFlag?function(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy((n=e.exposed,ne(n,"__v_skip",!0),ht(t=n)?t:new Proxy(t,Pt)),{get:(t,n)=>n in t?t[n]:n in mn?mn[n](e):void 0,has:(e,t)=>t in e||t in mn}));var t;var n}(e)||e.proxy:pn(e.parent):null,mn=w(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>"production"!==process.env.NODE_ENV?_t(e.props):e.props,$attrs:e=>"production"!==process.env.NODE_ENV?_t(e.attrs):e.attrs,$slots:e=>"production"!==process.env.NODE_ENV?_t(e.slots):e.slots,$refs:e=>"production"!==process.env.NODE_ENV?_t(e.refs):e.refs,$parent:e=>pn(e.parent),$root:e=>pn(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=>Sn(s,e,l,!0))),Sn(s,t,l)):s=t;q(t)&&i.set(t,s);return s}(e):e.type,$forceUpdate:e=>e.f||(e.f=()=>Ht(e.update)),$nextTick:e=>e.n||(e.n=qt.bind(e.proxy)),$watch:e=>__VUE_OPTIONS_API__?fn.bind(e):x}),gn=(e,t)=>e!==O&&!e.__isScriptSetup&&Q(e,t),_n={get({_:e},t){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 u;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(gn(o,t))return l[t]=1,o[t];if(a!==O&&Q(a,t))return l[t]=2,a[t];if((u=e.propsOptions[0])&&Q(u,t))return l[t]=3,i[t];if(n!==O&&Q(n,t))return l[t]=4,n[t];__VUE_OPTIONS_API__&&!hn||(l[t]=0)}}const r=mn[t];let d,f;return r?("$attrs"===t?(Ne(e,"get",t),process.env.NODE_ENV):"production"!==process.env.NODE_ENV&&"$slots"===t&&Ne(e,"get",t),r(e)):(d=c.__cssModules)&&(d=d[t])?d:n!==O&&Q(n,t)?(l[t]=4,n[t]):(f=s.config.globalProperties,Q(f,t)?f[t]:void("production"===process.env.NODE_ENV||!cn||Y(t)&&0===t.indexOf("__v")||(a!==O&&(e=>"_"===e||"$"===e)(t[0])&&Q(a,t)?Ut(`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===cn&&Ut(`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 gn(a,t)?(a[t]=n,!0):"production"!==process.env.NODE_ENV&&a.__isScriptSetup&&Q(a,t)?(Ut(`Cannot mutate <script setup> binding "${t}" from Options API.`),!1):o!==O&&Q(o,t)?(o[t]=n,!0):Q(e.props,t)?("production"!==process.env.NODE_ENV&&Ut(`Attempting to mutate prop "${t}". Props are readonly.`),!1):"$"===t[0]&&t.slice(1)in e?("production"!==process.env.NODE_ENV&&Ut(`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!==O&&Q(e,l)||gn(t,l)||(c=i[0])&&Q(c,l)||Q(o,l)||Q(mn,l)||Q(a.config.globalProperties,l)},defineProperty(e,t,n){return null!=n.get?e._.accessCache[t]=0:Q(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function vn(e){return $(e)?e.reduce(((e,t)=>(e[t]=null,e)),{}):e}"production"!==process.env.NODE_ENV&&(_n.ownKeys=e=>(Ut("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 hn=!0;function Sn(e,t,n,o=!1){const{mixins:a,extends:i}=t;i&&Sn(e,i,n,!0),a&&a.forEach((t=>Sn(e,t,n,!0)));for(const a in t)if(o&&"expose"===a)"production"!==process.env.NODE_ENV&&Ut('"expose" option is ignored when declared in mixins or extends. It should only be declared in the base component itself.');else{const o=Fn[a]||n&&n[a];e[a]=o?o(e[a],t[a]):t[a]}return e}const Fn={data:En,props:Rn,emits:Rn,methods:yn,computed:yn,beforeCreate:An,created:An,beforeMount:An,mounted:An,beforeUpdate:An,updated:An,beforeDestroy:An,beforeUnmount:An,destroyed:An,unmounted:An,activated:An,deactivated:An,errorCaptured:An,serverPrefetch:An,components:yn,directives:yn,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]=An(e[o],t[o]);return n},provide:En,inject:function(e,t){return yn(bn(e),bn(t))}};function En(e,t){return t?e?function(){return w(W(e)?e.call(this,this):e,W(t)?t.call(this,this):t)}:t:e}function bn(e){if($(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function An(e,t){return e?[...new Set([].concat(e,t))]:t}function yn(e,t){return e?w(Object.create(null),e,t):t}function Rn(e,t){return e?$(e)&&$(t)?[...new Set([...e,...t])]:w(Object.create(null),vn(e),vn(null!=t?t:{})):t}const Pn=function(e,t){t&&t.pendingBranch?$(e)?t.effects.push(...e):t.effects.push(e):Kt(e)},Nn=Symbol.for("v-fgt"),Un=Symbol.for("v-txt"),Ln=Symbol.for("v-cmt");let Dn=null;const On="__vInternal",xn=({key:e})=>null!=e?e:null,Cn=({ref:e,ref_key:t,ref_for:n})=>("number"==typeof e&&(e=""+e),null!=e?Y(e)||Rt(e)||W(e)?{i:cn,r:e,k:t,f:!!n}:e:null);const kn="production"!==process.env.NODE_ENV?(...e)=>wn(...e):wn;function wn(e,t=null,n=null,o=0,a=null,i=!1){if(e&&e!==un||("production"===process.env.NODE_ENV||e||Ut(`Invalid vnode type when creating vnode: ${e}.`),e=Ln),(l=e)&&!0===l.__v_isVNode){const o=Mn(e,t,!0);return n&&$n(o,n),!i&&Dn&&(6&o.shapeFlag?Dn[Dn.indexOf(e)]=o:Dn.push(o)),o.patchFlag|=-2,o}var l;if(Xn(e)&&(e=e.__vccOpts),t){t=function(e){return e?Et(e)||On in e?w({},e):e:null}(t);let{class:e,style:n}=t;e&&!Y(e)&&(t.class=re(e)),q(n)&&(Et(n)&&!$(n)&&(n=w({},n)),t.style=ie(n))}const c=Y(e)?1:(e=>e.__isSuspense)(e)?128:(e=>e.__isTeleport)(e)?64:q(e)?4:W(e)?2:0;return"production"!==process.env.NODE_ENV&&4&c&&Et(e)&&Ut("Vue received a Component which 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=bt(e)),function(e,t=null,n=null,o=0,a=null,i=(e===Nn?0:1),l=!1,c=!1){const s={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&xn(t),ref:t&&Cn(t),scopeId:sn,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:cn};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&&Ut("VNode created with invalid key (NaN). VNode type:",s.type),!l&&Dn&&(s.patchFlag>0||6&i)&&32!==s.patchFlag&&Dn.push(s),s}(e,t,n,o,a,c,i,!0)}function Mn(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=ie([t.style,o.style]);else if(k(e)){const n=t[e],a=o[e];!a||n===a||$(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&&xn(c),ref:t&&t.ref?n&&a?$(a)?a.concat(Cn(t)):[a,Cn(t)]:Cn(t):a,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:"production"!==process.env.NODE_ENV&&-1===i&&$(l)?l.map(Bn):l,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Nn?-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&&Mn(e.ssContent),ssFallback:e.ssFallback&&Mn(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function Bn(e){const t=Mn(e);return $(e.children)&&(t.children=e.children.map(Bn)),t}function Qn(e=" ",t=0){return kn(Un,null,e,t)}function $n(e,t){let n=0;const{shapeFlag:o}=e;if(null==t)t=null;else if($(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||On in t?3===o&&cn&&(1===cn.slots._?t._=1:(t._=2,e.patchFlag|=1024)):t._ctx=cn}}else W(t)?(t={default:t,_ctx:cn},n=32):(t=String(t),64&o?(n=16,t=[Qn(t)]):n=8);e.children=t,e.shapeFlag|=n}let Gn,Vn,Wn=null,Yn="__VUE_INSTANCE_SETTERS__";(Vn=ae()[Yn])||(Vn=ae()[Yn]=[]),Vn.push((e=>Wn=e)),Gn=e=>{Vn.length>1?Vn.forEach((t=>t(e))):Vn[0](e)};const zn=e=>{Gn(e),e.scope.on()},qn=()=>{Wn&&Wn.scope.off(),Gn(null)};const Hn=/(?:^|[-_])(\w)/g,jn=e=>e.replace(Hn,(e=>e.toUpperCase())).replace(/[-_]/g,"");function Kn(e,t=!0){return W(e)?e.displayName||e.name:e.name||t&&e.__name}function Zn(e,t,n=!1){let o=Kn(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?jn(o):n?"App":"Anonymous"}function Xn(e){return W(e)&&"__vccOpts"in e}function Jn(e){return{dispatchFunctionBySid:(t,n,o)=>{e.value&&y.callUIFunction(e.value,"dispatchFunctionBySid",[t,n,o])},requestFocus:()=>{e.value&&y.callUIFunction(e.value,"requestFocus")},clearFocus:()=>{e.value&&y.callUIFunction(e.value,"clearFocus")},requestFocusDirectly:()=>{e.value&&y.callUIFunction(e.value,"requestFocusDirectly")},setVisibility:t=>{e.value&&y.callUIFunction(e.value,"changeVisibility",[t])}}}var eo=Tn({name:"qt-view",emits:["clearFocus"],setup(t,n){const o=e();return{viewRef:o,...Jn(o)}}});const to={clipChildren:!1,ref:"viewRef"};eo.render=function(e,a,i,l,c,s){return t(),n("div",to,[o(e.$slots,"default")],512)},eo.__file="src/view/index.vue";var no=Tn({name:"qt-text",setup(t,n){const o=e();return{viewRef:o,...Jn(o)}}});no.render=function(e,n,o,l,c,s){const u=a("text-view");return t(),i(u,{ref:"viewRef"},null,512)},no.__file="src/text/index.vue";var oo=Tn({name:"qt-image",setup(t,n){const o=e();return{viewRef:o,...Jn(o)}}});const ao={src:"",alt:"",clipChildren:!1,ref:"viewRef"};oo.render=function(e,o,a,i,l,c){return t(),n("img",ao,null,512)},oo.__file="src/image/index.vue";var io=Tn({name:"qt-column",setup(t,n){const o=e();return{viewRef:o,...Jn(o)}}});const lo={class:"qt-ui-row-css",clipChildren:!1,ref:"viewRef"};io.render=function(e,a,i,l,c,s){return t(),n("div",lo,[o(e.$slots,"default")],512)},io.__scopeId="data-v-734c04b2",io.__file="src/column/index.vue";var co=Tn({name:"qt-row",setup(t,n){const o=e();return{viewRef:o,...Jn(o)}}});const so={class:"qt-ui-row-css",clipChildren:!1,ref:"viewRef"};co.render=function(e,a,i,l,c,s){return t(),n("div",so,[o(e.$slots,"default")],512)},co.__scopeId="data-v-9c454b58",co.__file="src/row/index.vue";var uo=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")},...Jn(o)}}});const ro=["focusable","enableFocusBorder","focusScale"],fo=["gradientBackground"],Io=["gradientBackground"],To=["gradientBackground"],po=["src"],mo=["src"];function go(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})}))}uo.render=function(e,l,d,f,I,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}])},[u(" gradient "),e.gradientFocusBackground?(t(),n("div",{key:0,class:"button-gradient-background-css",gradientBackground:e.gradientFocusBackground,focusable:!1,showOnState:"focused"},null,8,fo)):u("v-if",!0),e.gradientSelectedBackground?(t(),n("div",{key:1,class:"button-gradient-background-css",gradientBackground:e.gradientSelectedBackground,focusable:!1,showOnState:"selected"},null,8,Io)):u("v-if",!0),e.gradientBackground?(t(),n("div",{key:2,class:"button-gradient-background-css",gradientBackground:e.gradientBackground,focusable:!1,showOnState:"normal"},null,8,To)):u("v-if",!0),u(" -----------------------------icon--------------------------------- "),!e.icon&&!e.focusIcon||e.$slots.default?u("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,po)):u("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,mo)):u("v-if",!0)],6)),u(" ------------------------------------------------------------------- "),u(" 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},r(e.text),7)):u("v-if",!0),o(e.$slots,"default")],46,ro)},uo.__scopeId="data-v-46a594e4",uo.__file="src/button/index.vue";const _o=e=>e.map(ho),vo=e=>{const t=Object.keys(e),n={};return t.forEach((t=>{n[t]=ho(e[t])})),n};function ho(e){return e?"object"!=typeof e?e:Array.isArray(e)?_o(e):vo(e):e}var So=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},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,default:()=>[]}},emits:["item-click","scroll","item-unbind","scroll-state-changed","item-bind","item-focused"],setup(t,n){const o=e();let a=e(2.5),i=[],l=[],c=[],s=[],u="",r=-1,I=e(!1),T=-1,p=-1,m=-1,g=-1,_=e(!1);const{requestFocus:v,requestFocusDirectly:h,setVisibility:S}=Jn(o);d((()=>{t.openPage&&(r=1,I.value=!1,t.loadMore(r))}));const F=(e,n)=>{n||(U(),r>1&&(r=0),i=ho(e),l=e,a.value<2.2?(E(),t.openPage&&t.pageSize&&s.length>=t.pageSize/t.spanCount?o.value.setListDataWithParams(s.concat([{type:1002,decoration:t.loadingDecoration}]),!0,!0):o.value.setListDataWithParams(s,!0,!0)):t.openPage&&t.pageSize&&i.length>=t.pageSize?o.value.setListDataWithParams(i.concat([{type:1002,decoration:t.loadingDecoration}]),!0,!0):o.value.setListDataWithParams(i,!0,!0),t.defaultFocus>-1&&(m&&clearTimeout(m),m=setTimeout((()=>{y(t.defaultFocus),R(t.defaultFocus)}),800)));let d={get(e,n,l){if("__ob__"!=n&&"symbol"!=typeof n&&"map"!=n&&"length"!=n&&"constructor"!=n&&"_isVue"!=n&&"valueOf"!=n&&"toString"!=n&&"observeArray"!=n&&"dep"!=n&&"notify"!=n&&"subs"!=n&&"slice"!=n)if(c.push(n),-1!=c.indexOf("push"))u="push";else{if(-1!=c.indexOf("splice"))return u="splice",function(...t){if(e.splice(...t),a.value<2.2)if(E(),1==t.length||2==t.length)o.value.setListData(s);else if(0==t[1])o.value.setListData(s);else{let e=-1,n=0,a=0;for(let o=0;o<s.length;o++){const i=s[o];if("1003"==i.type)e++,t[0]==e&&(n=o),t[0]+t[1]-1==e&&(a=o);else for(let l=0;l<i.list.length;l++)i.list[l],e++,t[0]==e&&(n=o),t[0]+t[1]-1==e&&(a=o)}o.value.updateItemList(n,a-n+1,s.slice(n,a+1))}else 1==t.length?0==t[0]?o.value.setListData([]):o.value.deleteItem(Number(t[0]),i.length-t[0]):2==t.length?o.value.deleteItem(Number(t[0]),t[1]):t.length>2&&(0==t[1]?a.value>2.29&&N(t[0],t.slice(2)):o.value.updateItemList(t[0],t[1],t.slice(2)));return i.splice(t[0],...t.slice(1)),u="",c=[],Reflect.get(e,n,l)};if(-1!=c.indexOf("pop"))return u="pop",function(){return e.pop(),a.value<2.2?(s[s.length-1].list.length<1&&s.pop(),s[s.length-1].list.pop(),o.value.updateItem(Number(s.length-1),s[s.length-1])):o.value.deleteItem(Number(i.length-1),1),i.pop(),u="",c=[],Reflect.get(e,n,l)};if(-1!=c.indexOf("forEach"))return u="forEach",function(r){return e.forEach((e=>{r(e)})),i=[],i=ho(e),a.value<2.2?(E(),t.openPage&&t.pageSize&&s.length>=t.pageSize&&!I.value?o.value.setListData(s.concat([{type:1002,decoration:t.loadingDecoration}])):o.value.setListData(s)):t.openPage&&t.pageSize&&i.length>=t.pageSize&&!I.value?o.value.setListData(i.concat([{type:1002,decoration:t.loadingDecoration}])):o.value.setListData(i),u="",c=[],Reflect.get(e,n,l)};if(-1!=c.indexOf("concat"))return u="concat",function(f){if("[object Array]"===Object.prototype.toString.call(f))if(e=e.concat(f),i=i.concat(f),a.value<2.2){g&&clearTimeout(g);let e=s.length,n=s.slice(s.length-1)[0];E();let a=s.slice(e);t.openPage&&!I.value?!t.pageSize&&2==r||_.value?g=setTimeout((()=>{o.value.addListData(a.concat([{type:1002,decoration:t.loadingDecoration}])),_.value&&(_.value=!1)}),300):0==a.length||"1003"!=n.type&&n.list.length<t.spanCount?(a=s.slice(e-1),g=setTimeout((()=>{o.value.addListDataWithParams(a.concat([{type:1002,decoration:t.loadingDecoration}]),2)}),300)):g=setTimeout((()=>{o.value.addListDataWithParams(a.concat([{type:1002,decoration:t.loadingDecoration}]),1)}),300):o.value.setListData(s)}else g=t.openPage&&!I.value?!t.pageSize&&2==r||_.value?setTimeout((()=>{o.value.addListData(f.concat([{type:1002,decoration:t.loadingDecoration}])),_.value&&(_.value=!1)}),300):setTimeout((()=>{o.value.addListDataWithParams(f.concat([{type:1002,decoration:t.loadingDecoration}]),1)}),300):setTimeout((()=>{o.value.addListData(f)}),300);else console.log("concat:参数类型必须为数组");return u="",c=[],Reflect.get(e,n,l),new Proxy(e,d)};u=""}const f=Reflect.get(e,n,l);return b(f)&&"__ob__"!=n&&"dep"!=n&&"subs"!=n?F(f,!0):(-1==c.indexOf("push")&&(c=[]),f)},set(e,n,d,f){const T=e[n],p=Reflect.set(e,n,d,f);if((!b(T)&&T!==d||b(T))&&"push"!=u)if(c.push(n),i[c[0]]=l[c[0]],a.value<2.2){let e=c[0],t=-1;for(let n=0;n<s.length;n++){const a=s[n];if("1003"==a.type)t++,t==e&&(s[n]=i[c[0]],o.value.updateItem(Number(n),s[n]));else for(let l=0;l<a.list.length;l++)if(a.list[l],t++,t==e){s[n].list[l]=i[c[0]];let e=s[n].list[l];e.decoration&&(e.decoration.top&&(e.decoration.top=0),e.decoration.bottom&&(e.decoration.bottom=0)),o.value.updateItem(Number(n),s[n])}}}else o.value.updateItem(Number(c[0]),l[c[0]]);if(n&&"push"==u&&T!==d)c.push(n),i.push(d);else{if("push"==u&&c.length>1)if(a.value<2.2){g&&clearTimeout(g);let e=s.length,n=s.slice(s.length-1)[0];E();let a=s.slice(e);t.openPage&&!I.value?!t.pageSize&&2==r||_.value?g=setTimeout((()=>{o.value.addListData(a.concat([{type:1002,decoration:t.loadingDecoration}])),_.value&&(_.value=!1)}),300):0==a.length||"1003"!=n.type&&n.list.length<t.spanCount?(a=s.slice(e-1),g=setTimeout((()=>{o.value.addListDataWithParams(a.concat([{type:1002,decoration:t.loadingDecoration}]),2)}),300)):g=setTimeout((()=>{o.value.addListDataWithParams(a.concat([{type:1002,decoration:t.loadingDecoration}]),1)}),300):o.value.setListData(s)}else{let e=i.slice(c[1]);g&&clearTimeout(g),g=t.openPage&&!I.value?!t.pageSize&&2==r||_.value?setTimeout((()=>{o.value.addListData(e.concat([{type:1002,decoration:t.loadingDecoration}])),_.value&&(_.value=!1)}),300):setTimeout((()=>{o.value.addListDataWithParams(e.concat([{type:1002,decoration:t.loadingDecoration}]),1)}),300):setTimeout((()=>{o.value.addListData(e)}),300)}u="",c=[]}return p}};return new Proxy(e,d)},E=()=>{let e=ho(i);s=[];let n=0,o=[];for(let t=0;t<e.length;t++){let n=e[t];if("1003"==n.type)o.push(n);else if(n.decoration.top&&(n.toCompatibleSaveTopVal=n.decoration.top,n.decoration.top=0),n.decoration.bottom&&(n.toCompatibleSaveBottompVal=n.decoration.bottom,n.decoration.bottom=0),o[o.length-1]&&1==o[o.length-1].type)o[o.length-1].list.push(n);else{let e={type:1,list:[]};e.list.push(n),o.push(e)}}for(let e=0;e<o.length;e++){const a=o[e];if("1003"==a.type)s.push(a);else for(let e=0;e<a.list.length;e+=t.spanCount){const o=a.list[e];let i={top:-1,bottom:-1};o.decoration&&(i.top=o.toCompatibleSaveTopVal?o.toCompatibleSaveTopVal:0,i.bottom=o.toCompatibleSaveBottompVal?o.toCompatibleSaveBottompVal:0);const l={type:1,decoration:i,name:"name"+n,list:a.list.slice(e,e+t.spanCount)};n++,s.push(l)}}},b=e=>null!==e&&"object"==typeof e,A=()=>{p&&clearTimeout(p),p=setTimeout((()=>{a.value<2.2?t.pageSize?t.pageSize/t.spanCount<=s.length&&o.value.deleteItem(s.length,1):r>2&&o.value.deleteItem(s.length,1):t.pageSize?t.pageSize<=i.length&&o.value.deleteItem(i.length,1):r>2&&o.value.deleteItem(i.length,1)}),400),I.value=!0},y=e=>{if(a.value<2.2){let t=-1;for(let n=0;n<s.length;n++){const a=s[n];if("1003"==a.type)t++,t==e&&o.value.scrollToPosition(n);else for(let i=0;i<a.list.length;i++)a.list[i],t++,t==e&&o.value.scrollToPosition(n)}}else o.value.scrollToPosition(e)},R=e=>{if(a.value<2.2){let t=-1,n=0,a=0;for(let o=0;o<s.length;o++){const i=s[o];if("1003"==i.type)t++;else for(let l=0;l<i.list.length;l++)i.list[l],t++,e==t&&(n=o,a=l)}o.value.dispatchItemFunction(n,"tv_list_inner","requestChildFocus",[a])}else o.value.requestFocus(e)},P=(e,t)=>{if(a.value<2.2){let t=-1,n=0,a=0;for(let o=0;o<s.length;o++){const i=s[o];if("1003"==i.type)t++;else for(let l=0;l<i.list.length;l++)i.list[l],t++,e==t&&(n=o,a=l)}o.value.dispatchItemFunction(n,"tv_list_inner","setSelectChildPosition",[a])}else o.value.setSelectPosition(e,t)},N=(e,t)=>{o.value.addItem(e,t)},U=()=>{_.value=!1,i=[],s=[],l.length=0,I.value=!1,c=[],I.value=!1,u="",T&&clearTimeout(T),g&&clearTimeout(g),p&&clearTimeout(p),m&&clearTimeout(m)};f((()=>{r=1,U()}));let L=-1;return{tv_list:o,apkVersion:a,init:F,onItemClick:e=>{if(a.value<2.2){let t=-1,n=e.position,o=e.parentPosition;for(let a=0;a<e.parentPosition+1;a++){const i=s[a];if("1003"==i.type)t++;else for(let l=0;l<i.list.length;l++)t++,n==l&&o==a&&(e.position=t)}}n.emit("item-click",e)},onItemBind:e=>{let o=t.preloadNo;t.preloadNo<0&&(o=0),t.preloadNo>i.length-1&&(o=0),a.value<2.2?I.value||e.position!=s.length-1-o/t.spanCount||(r++,t.loadMore(r)):I.value||e.position!=i.length-1-o||(r++,t.loadMore(r)),n.emit("item-bind",e)},onItemFocused:e=>{if(a.value<2.2){let t=-1,n=e.position,o=e.parentPosition;for(let a=0;a<e.parentPosition+1;a++){const i=s[a];if("1003"==i.type)t++;else for(let l=0;l<i.list.length;l++)t++,n==l&&o==a&&(e.position=t)}}n.emit("item-focused",e)},restartPage:()=>{clearTimeout(L);let e=0;I.value||(e=420,A()),L=setTimeout((()=>{_.value=!0,r=1,I.value=!1,t.loadMore(r)}),e)},isRestartPage:_,onItemUnbind:e=>{n.emit("item-unbind",e)},onScroll:e=>{n.emit("scroll",e)},onScrollStateChanged:e=>{n.emit("scroll-state-changed",e)},stopPage:A,scrollToTop:()=>{o.value.scrollToTop()},clearFocus:()=>{o.value.clearFocus()},blockRootFocus:()=>{o.value.blockRootFocus()},unBlockRootFocus:()=>{o.value.unBlockRootFocus()},setDisplay:e=>{o.value.setDisplay(e)},scrollToPosition:y,scrollToIndex:(e,t,n)=>{if(a.value<2.2){let a=-1;for(let i=0;i<s.length;i++){const l=s[i];if("1003"==l.type)a++,a==e&&o.value.scrollToIndex(0,i,t,n);else for(let c=0;c<l.list.length;c++)l.list[c],a++,a==e&&o.value.scrollToIndex(0,i,t,n)}}else o.value.scrollToIndex(0,e,t,n)},setItemFocused:R,scrollToFocused:e=>{y(e),R(e)},setItemSelected:P,scrollToSelected:(e,t)=>{y(e),P(e,t)},updateItemProps:(e,t,n)=>{o.value.updateItemProps(e,t,n)},setInitPosition:e=>{o.value.setInitPosition(e)},setListData:e=>{T&&clearTimeout(T),T=setTimeout((()=>{o.value.setListData(e)}),100)},insertItem:N,clearPostTask:()=>{o.value.clearPostTask()},destroy:()=>{o.value.destroy()},requestFocus:v,requestFocusDirectly:h,setVisibility:S}}});So.render=function(e,l,s,u,r,d){const f=a("tv-list");return t(),i(f,{class:"tv_list",ref:"tv_list",name:"tv_list",spanCount:e.apkVersion<2.2?"":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((()=>[e.apkVersion<2.2?(t(),n(T,{key:0},[o(e.$slots,"header"),p(f,{class:"tv_list_inner",ref:"${name}",list:"${list}",name:"tv_list_inner",type:"1",clipChildren:!1,focusable:!1,horizontal:"",style:c({width:e.areaWidth+"px"}),endHintEnabled:!1,blockFocusDirections:e.blockFocusDirections},{default:I((()=>[o(e.$slots,"default")])),_:3},8,["style","blockFocusDirections"]),o(e.$slots,"footer"),o(e.$slots,"loading")],64)):(t(),n(T,{key:1},[o(e.$slots,"header"),o(e.$slots,"default"),o(e.$slots,"footer"),o(e.$slots,"loading")],64))])),_:3},8,["spanCount","onItemBind","onItemClick","onItemFocused","onItemUnbind","onScroll","onScrollStateChanged","onSetListData","blockFocusDirections"])},So.__file="src/grid-view/index.vue";var Fo=Tn({name:"qt-poster-focus-title",props:{fontSize:{type:Number,default:20}},setup(e,t){}});const Eo={class:"absoluteFocusTitleRoot",flexStyle:"${titleFocusStyle}",autoHeight:"",focusable:!1},bo={class:"absoluteFocusMainBgRoot",duplicateParentState:!0,focusable:!1,showIf:"${focusTitle.enable}"};Fo.render=function(e,o,i,l,c,s){const r=a("text-view");return t(),n("div",Eo,[u(" 浮动标题"),p(r,{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",bo,[u(" 主标题 "),p(r,{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}"}),u(" 副标题 "),p(r,{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}"})])])},Fo.__scopeId="data-v-703673b8",Fo.__file="src/poster/qt-poster-focus-title.vue";var Ao=Tn({name:"qt-poster-corner-title",props:{fontSize:{type:Number,default:20}},setup(e,t){}});const yo={class:"cornerRoot",focusable:!1},Ro=(e=>(g("data-v-4b767ea2"),e=e(),_(),e))((()=>m("img",{focusable:!1,flexStyle:"${corner.style}",src:"${corner.src}",showIf:"${corner.enableImg}"},null,-1)));Ao.render=function(e,o,i,l,c,s){const u=a("text-view");return t(),n("div",yo,[p(u,{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"]),Ro])},Ao.__scopeId="data-v-4b767ea2",Ao.__file="src/poster/qt-poster-corner-title.vue";var Po=Tn({name:"qt-poster",components:{"qt-poster-corner-title":Ao,"qt-poster-focus-title":Fo},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,...Jn(o)}}});const No=e=>(g("data-v-3c4765e9"),e=e(),_(),e),Uo=No((()=>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))),Lo=["showOnState"],Do={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}"},Oo={flexStyle:"${ripple.style}",class:"qt-ui-poster-ripple-view-root-css",showOnState:"focused",focusable:!1,clipChildren:!1},xo=No((()=>m("img",{src:"${ripple.src}",class:"qt-ui-ripple-img-css",focusable:!1,duplicateParentState:!0,showIf:"${true}",delayLoad:800},null,-1)));Po.render=function(e,n,l,c,s,r){const d=a("text-view"),f=a("qt-poster-focus-title"),T=a("ripple-view"),g=a("qt-poster-corner-title"),_=a("item-frame");return t(),i(_,{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((()=>[u("封面"),Uo,p(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}"}),u(" 焦点选中时的标题 "),p(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},[u(" 浮动标题 "),m("div",Do,[p(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}"})]),u(" 主标题"),p(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,Lo),m("div",Oo,[p(T,{class:"qt-ui-ripple-view-css",delayLoad:800,focusable:!1,duplicateParentState:!0,color:"#FF4E46",isShowRipple:"${ripple.enable}",rippleVisible:"invisible"}),xo]),p(g,{focusable:!1,flexStyle:"${corner.style}",style:{"z-index":"1000",position:"absolute"}}),o(e.$slots,"default")])),_:3},8,["type"])},Po.__scopeId="data-v-3c4765e9",Po.__file="src/poster/index.vue";var Co=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:""}},setup(t,n){const o=e();let a=e("#f5f5f5"),i=v({normal:"#80ffffff",focused:"#000000",selected:"#F5F5F5"}),l=-1,c=-1;h((()=>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),u(n)}),300))},u=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),u(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)},...Jn(o)}}});const ko=["stateTextColor","sateBackgroundPadding"],wo=["stateTextColor","sateBackgroundPadding"];var Mo,Bo;Co.render=function(e,n,l,s,u,r){const d=a("text-view"),f=a("qt-list-view");return e.horizontal?(t(),i(f,{key:0,ref:"navList",clipChildren:!1,clipPadding:!1,horizontal:"",class:"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},[p(d,{autoWidth:"",gravity:"center",lines:1,fontSize:44,class:"qt-ui-nav-bar-item-text-css",duplicateParentState:!0,text:"${text}"})],12,ko),o(e.$slots,"default")])),_:3},8,["onItemClick","onItemFocused"])):(t(),i(f,{key:1,ref:"navList",clipChildren:!1,clipPadding:!1,class:"tabNavBarClass",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},[p(d,{autoWidth:"",gravity:"center",lines:1,fontSize:44,class:"qt-ui-nav-bar-item-text-css",duplicateParentState:!0,text:"${text}"})],12,wo),o(e.$slots,"default")])),_:3},8,["onItemClick","onItemFocused"]))},Co.__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"}(Mo||(Mo={})),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"}(Bo||(Bo={}));var Qo=Tn({name:"card-item",setup(e,t){const n=R();return{onFocus:function(e){n.isLoggable(P.DEBUG)&&n.d("card-item","------onFocus---------\x3e>>>",e),t.emit("focus",e)}}}});Qo.render=function(e,n,o,l,c,s){const u=a("es-card-container");return t(),i(u,{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"])},Qo.__scopeId="data-v-599898aa",Qo.__file="src/waterfall/item/card-item.vue";var $o=Tn({name:"standard-section",components:{"card-item":Qo},props:{enablePlaceholder:{type:Boolean,default:!0},plateData:{type:String,default:""},useDiff:{type:Boolean,default:!0},cachePool:{type:Object,default:{}},sectionType:{type:Number,default:Mo.QT_WATERFALL_SECTION_TYPE_FLEX},standItemType:{type:Number,default:Bo.QT_WATERFALL_ITEM_TYPE_POSTER},currentPageIndex:{type:Number,default:-1},itemFocusScale:{type:Number,default:1.1}},setup(e,t){const n=R();return{onFocus:function(e){n.isLoggable(P.DEBUG)&&n.d("card-item","------onFocus---------\x3e>>>",e),t.emit("focus",e)}}}});const Go=["type"],Vo=(e=>(g("data-v-227e921e"),e=e(),_(),e))((()=>m("img",{postDelay:300,flexStyle:"${imgTitleStyle}",focusable:!1,src:"${imgTitle}"},null,-1)));$o.render=function(e,i,l,c,s,r){const d=a("text-view"),f=a("qt-poster"),T=a("card-item"),m=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},[p(d,{class:"standard-section-title-text-css",postDelay:300,autoWidth:"",autoHeight:"",flexStyle:"${titleStyle}",focusable:!1,textSize:"${titleStyle.fontSize}",text:"${title}"}),Vo,p(m,{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((()=>[u(" poster "),p(f,{"load-delay":500,type:e.standItemType},null,8,["type"]),u(" card "),p(T,{onFocus:e.onFocus},null,8,["onFocus"]),o(e.$slots,"default")])),_:3},8,["cachePool","useDiff","enablePlaceholder"])],8,Go)},$o.__scopeId="data-v-227e921e",$o.__file="src/waterfall/section/flex-section.vue";const Wo="list-section";var Yo=Tn({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:Mo.QT_WATERFALL_SECTION_TYPE_LIST},fetchPendingData:{type:Function,default:null},arrangeType:{type:String,default:"TB"},cachePool:{type:Object,default:{}}},setup(e,t){const n=R();return{blockDirections:["left","right"],onItemBind:function(e){n.isLoggable(P.DEBUG)&&n.d(Wo,"----------onItemBind--------------\x3e>>",e)},onItemClick:function(e){n.isLoggable(P.DEBUG)&&n.d(Wo,"----------onItemClick--------------\x3e>>",e)},onItemRecycled:function(e){n.isLoggable(P.DEBUG)&&n.d(Wo,"----------onItemRecycled--------------\x3e>>",e)},onItemFocused:function(e){n.isLoggable(P.DEBUG)&&n.d(Wo,"----------onItemFocused--------------\x3e>>",e)}}}});const zo={class:"qt-ui-section-tab-list-root",focusable:!1,flexStyle:"${style}",gradientBackground:"${style.gradientBackground}",blockFocusDirections:["right"],clipChildren:!1,useAdvancedFocusSearch:!0,bringFocusChildToFront:!0},qo=(e=>(g("data-v-6aa2cfd4"),e=e(),_(),e))((()=>m("img",{postDelay:300,flexStyle:"${imgTitleStyle}",focusable:!1,src:"${imgTitle}"},null,-1))),Ho=["type"];Yo.render=function(e,n,l,c,s,u){const r=a("text-view"),d=a("qt-poster"),f=a("tv-list"),T=a("tv-item");return t(),i(T,{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",zo,[p(r,{class:"tab-list-section-title-text-css",postDelay:300,autoWidth:"",autoHeight:"",flexStyle:"${titleStyle}",focusable:!1,textSize:"${titleStyle.fontSize}",text:"${title}"}),qo,p(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((()=>[p(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:""},[p(r,{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,Ho),o(e.$slots,"default")])),_:3},8,["cachePool","enablePlaceholder","blockFocusDirections"])])])),_:3},8,["type","onItemClick","onItemBind","onItemUnbind","onItemFocused"])},Yo.__scopeId="data-v-6aa2cfd4",Yo.__file="src/waterfall/section/list-section.vue";var jo=Tn({name:"loading-section"});const Ko={focusable:!1,type:-1,keyName:"_id",class:"loading-section-css",gradientBackground:"${style.gradientBackground}"};jo.render=function(e,o,i,l,c,s){const u=a("qt-loading-view");return t(),n("div",Ko,[p(u,{class:"loading-section-loading-css"})])},jo.__scopeId="data-v-48609f24",jo.__file="src/waterfall/section/loading-section.vue";var Zo=Tn({name:"end-section",setup:()=>({})});const Xo={keyName:"_id",type:-1001,focusable:!1,flexStyle:"${style}",gradientBackground:"${style.gradientBackground}",class:"qt-waterfall-end-section-css"};Zo.render=function(e,o,i,l,c,s){const u=a("text-view");return t(),n("div",Xo,[p(u,{focusable:!1,gravity:"center",flexStyle:"${titleStyle}",class:"qt-waterfall-end-section-text-css",textSize:"${titleStyle.fontSize}",text:"${title}"})])},Zo.__scopeId="data-v-70b82c43",Zo.__file="src/waterfall/section/end-section.vue";var Jo=Tn({props:{plateTitleLeftMargin:{type:Number,default:0},type:{type:Number,default:Mo.QT_WATERFALL_SECTION_TYPE_TITLE}},setup:(e,t)=>({})});const ea=["type"];Jo.render=function(e,o,i,l,s,u){const r=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},[p(r,{class:"section-title-text-css",postDelay:300,style:c({marginLeft:e.plateTitleLeftMargin+"px"}),focusable:!1,textSize:"${titleStyle.fontSize}",text:"${title}"},null,8,["style"])],8,ea)},Jo.__scopeId="data-v-20428d40",Jo.__file="src/waterfall/section/section-title.vue";var ta=Tn({name:"blank-section",setup:()=>({})});const na={focusable:!1,type:-1e3,keyName:"_id",flexStyle:"${style}",gradientBackground:"${style.gradientBackground}",class:"qt-ui-waterfall-blank-section"};ta.render=function(e,o,a,i,l,c){return t(),n("div",na)},ta.__scopeId="data-v-eeab4d88",ta.__file="src/waterfall/section/blank-section.vue";var oa=Tn({name:"card-section",setup(e,t){const n=R();return{onFocus:function(e){n.isLoggable(P.DEBUG)&&n.d("card-section","------onFocus---------\x3e>>>",e),t.emit("focus",e)}}}});const aa={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};oa.render=function(e,o,i,l,c,s){const u=a("text-view"),r=a("es-card-container");return t(),n("div",aa,[p(u,{class:"qt-ui-waterfall-card-section-title-css",postDelay:300,flexStyle:"${titleStyle}",focusable:!1,textSize:"${titleStyle.fontSize}",text:"${title}"}),p(r,{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"])])},oa.__scopeId="data-v-43a44788",oa.__file="src/waterfall/section/card-section.vue";var ia,la=Tn({name:"vue-section",props:{blockFocusDirections:{type:Array,default:()=>["left","right"]}},setup:(e,t)=>({onSectionBind:function(){}})});function ca(e,t){const n=[];if(t&&t.length>0)for(let o=0;o<t.length;o++){let a=sa(e,t[o]);n.push(a)}return n}function sa(e,t){let n=0;return t.itemList.length>0&&t.type==Mo.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 u=e.style.height??0,r=e.style.width??0;e.decoration;let d=0,f=0,I=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>r&&(f+=I+n,I=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>u&&(u=o.layout[1]+i+s),i+l+s>I&&(I=i+l+s),d+=a+n+t+c}}return u+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=[]}}}la.render=function(e,n,l,c,s,u){const r=a("tv-item");return t(),i(r,{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"])},la.__scopeId="data-v-f8447724",la.__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"}(ia||(ia={}));const ra="qt-waterfall";var da,fa,Ia=Tn({name:"qt-waterfall",emits:["onScroll","onScrollStateChanged","onItemClick","onItemFocused","onSectionBind","onSectionAttached","onSectionDetached"],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:()=>{}}},setup(t,n){const o=R();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(ia.QT_WATERFALL_VISIBLE_TYPE_CENTER),c=e();let s;const u=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 u.getSectionList()},setSectionList:function(e){if(!s)return;o.isLoggable(P.DEBUG)&&o.d(ra,"-------1---setSectionList--------------\x3e>>"),u.destroy();const t=u.addSectionList(e);o.isLoggable(P.DEBUG)&&o.d(ra,"-------2---setSectionList--------------\x3e>>",t);const n=ca(s,e);o.isLoggable(P.DEBUG)&&o.d(ra,"----------setSectionList-----最终数据---------\x3e>>",n),c.value?.setListData(n)},addSectionList:function(e){if(!s)return;u.addSectionList(e);const t=ca(s,e);o.isLoggable(P.DEBUG)&&o.d(ra,"----------addSectionList-----最终数据---------\x3e>>",t),c.value?.addListData(t)},deleteSection:function(e,t){const n=u.deleteSection(e,t);o.isLoggable(P.DEBUG)&&o.d(ra,"----------deleteSection-----最终数据---------\x3e>>",n),c.value?.deleteItem(e,t)},updateSection:function(e,t){u.updateSection(e,t);const n=sa(0,t);o.isLoggable(P.DEBUG)&&o.d(ra,"----------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];u.updateSection(e+t,a);const i=sa(0,a);i&&o.push(i)}c.value?.updateItemList(e,t,o)},getSection:function(e){return u.getSection(e)},addItemList:function(e,t){u.addItemList(e,t);const n=u.getSection(e);if(n){const t=sa(0,n);c.value?.updateItem(e,t)}},deleteItem:function(e,t,n){u.deleteItem(e,t,n);const o=u.getSection(e);if(o){const t=sa(0,o);c.value?.updateItem(e,t)}},updateItem:function(e,t,n){u.updateItem(e,t,n);const o=u.getSection(e);if(o){const t=sa(0,o);c.value?.updateItem(e,t)}},updateItemList:function(e,t,n,o){u.updateItemList(e,t,n,o);const a=u.getSection(e);if(a){const t=sa(0,a);c.value?.updateItem(e,t)}},getItem:function(e,t){return u.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(P.DEBUG)&&o.d(ra,"----------onItemClick--------------\x3e>>",e,"sectionIndex:"+e.parentPosition+" position:"+e.position+" "),n.emit("onItemClick",e.parentPosition,e.position,e.item)},onItemFocused:function(e){o.isLoggable(P.DEBUG)&&o.d(ra,"----------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(P.DEBUG)&&o.d(ra,"----------onSectionBind--------------\x3e>>",e);let t=e.pageIndex??-1;n.emit("onSectionBind",t,e.position)}},onSectionAttached:function(e){if(e){o.isLoggable(P.DEBUG)&&o.d(ra,"----------onSectionAttached--------------\x3e>>",e);let t=e.pageIndex??0;n.emit("onSectionAttached",t,e.position)}},onSectionDetached:function(e){if(e){o.isLoggable(P.DEBUG)&&o.d(ra,"----------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)},...Jn(c)}},components:{"flex-section":$o,"list-section":Yo,"section-title":Jo,"loading-section":jo,"end-section":Zo,"blank-section":ta,"card-section":oa,"vue-section":la}});function Ta(){const e=new Map,t=new Map;function n(n){const o={index:n,state:da.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,u=i(c,0,s),r=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!=da.QT_TAB_PAGE_STATE_COMPLETE&&(d.state=da.QT_TAB_PAGE_STATE_IDLE),l(),{pageIndex:n,sectionIndex:s,sectionCount:o.length,itemIndex:u,itemCount:r}},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),u=a(o);return c.splice(n,1,o),l(),{pageIndex:e,sectionIndex:n,sectionCount:1,itemIndex:s,itemCount:u}},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()}}}Ia.render=function(e,n,l,c,s,r){const d=a("flex-section"),f=a("list-section"),T=a("loading-section"),m=a("end-section"),g=a("blank-section"),_=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:30,scrollYGreaterReferenceValue:30,shakePreCheckNumber:"4",blockFocusDirections:e.blockFocusDirections,onScrollStateChanged:e.onScrollStateChanged},{default:I((()=>[u(" 普通版块"),p(d,{"cache-pool":e.itemsPool,enablePlaceholder:e.enablePlaceholder,onFocus:e.onItemFocused},{default:I((()=>[o(e.$slots,"item")])),_:3},8,["cache-pool","enablePlaceholder","onFocus"]),u("一行滚动 多级tab"),p(f,{"cache-pool":e.itemsPool,enablePlaceholder:e.enablePlaceholder},{default:I((()=>[o(e.$slots,"list-item")])),_:3},8,["cache-pool","enablePlaceholder"]),u(" loading"),p(T),u(" end "),p(m),u(" blank "),p(g),u(" card "),p(_,{onFocus:e.onItemFocused},null,8,["onFocus"]),u(" vue "),p(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","blockFocusDirections","onScrollStateChanged"])},Ia.__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"}(da||(da={})),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"}(fa||(fa={}));const pa="qt-tabs";var ma=Tn({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:()=>{}}},setup(t,n){const o=e();e();const a=e(!0),i=e(1),l=R();N();const c=e(),s=Ta();let u,r=[],d=-1,f=-1,I=-1;function T(e,t){const n=s.getTabPageDataState(e);n&&(n.state=t,s.setPageDataState(e,n))}function p(e){l.isLoggable(P.DEBUG)&&l.d(pa,"----设置数据---setPageStateReset->>>>pageIndex:"+e);const t=s.getTabPageDataState(e);t&&(t.state=da.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>r.length)return;const t=r[e];t.__pageNo=0}(e)}function m(e){l.isLoggable(P.DEBUG)&&l.d(pa,"----设置数据---setPageStateRecycled->>>>pageIndex:"+e);const t=s.getTabPageDataState(e);t&&(t.sectionBindIndex=0,t.state=da.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>r.length)return;const n=r[e];n.__pageNo=t}(e,1)}function g(e){if(e<0||e>r.length)return 0;const t=r[e];return null==t.__pageNo&&(t.__pageNo=0),t.__pageNo}function _(e){if(e<0||e>r.length)return;const t=r[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!==da.QT_TAB_PAGE_STATE_IDLE&&c.state!==da.QT_TAB_PAGE_STATE_INIT)l.isLoggable(P.DEBUG)&&l.d(pa,"------设置数据----loadPageData--状态不对--\x3e>>>",e);else{const c=s.getSectionList(e);a>=c.length-t.preloadNumber-1?(l.isLoggable(P.DEBUG)&&l.d(pa,"---------设置数据-----加载更多数据-----\x3e>>> pageIndex:"+e+" pageNo:"+i+" sectionIndex:"+a+" sectionListLength:"+c.length),T(e,da.QT_TAB_PAGE_STATE_BUSY),n.emit("onTabPageLoadData",e,i,o)):l.isLoggable(P.DEBUG)&&l.d(pa,"----设置数据------loadPageData--preloadNumber错误--\x3e>>>",e)}}function h(){clearTimeout(I),I=setTimeout((()=>{const e=s.getSectionListByState(d,fa.QT_LIST_VIEW_ITEM_STATE_ATTACHED);(e?e.length:0)>0&&(e.forEach((e=>{l.isLoggable(P.DEBUG)&&l.d(pa,"----------notifyTabContentSectionAttached------\x3e>>> pageIndex"+d+" sectionIndex:",e.sectionIndex)})),n.emit("onTabPageSectionAttached",d,e))}),100)}function S(e,t){l.isLoggable(P.DEBUG)&&l.d(pa,"----------onWaterfallScroll----\x3e>>> offsetX:"+e+" scrollY:"+t),n.emit("onTabPageScroll",e,t)}function F(e,t,o){l.isLoggable(P.DEBUG)&&l.d(pa,"----------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};r=e.itemList,s.initTab(e),o.value?.setTabsData(t)},setAutoFocus:function(e,t){o.value?.setAutoFocus(e,t)},initPage:function(e){u=e},setPageState:T,setPageData:function(e,t){l.isLoggable(P.DEBUG)&&l.d(pa,"----------loadPageData----setPageData--\x3e>>>pageIndex:"+e),s.addSectionList(e,t.data);const n={data:ca(u,t.data),disableScrollOnFirstScreen:t.disableScrollOnFirstScreen??!1,firstFocusTargetID:t.firstFocusTargetID??"",useDiff:t.useDiff};l.isLoggable(P.DEBUG)&&l.d(pa,"---------设置数据-----setPageData------\x3e>>> pageIndex:"+e+" data:",n),_(e),o.value?.setPageData(e,n)},addPageData:function(e,t,n=0){s.addSectionList(e,t.data);const a={data:ca(u,t.data),disableScrollOnFirstScreen:t.disableScrollOnFirstScreen??!1,firstFocusTargetID:t.firstFocusTargetID??"",useDiff:t.useDiff};try{const t=g(e);0==t?(l.isLoggable(P.DEBUG)&&l.d(pa,"---------设置数据------setPageData---\x3e>>> pageIndex:"+e+" pageNo:"+t+" data:",a," deleteCount:"+n),o.value?.setPageData(e,a)):(l.isLoggable(P.DEBUG)&&l.d(pa,"---------设置数据------addPageData---\x3e>>> pageIndex:"+e+" pageNo:"+t+" data:",a," deleteCount:"+n),o.value?.addPageData(e,a,n))}catch(e){}_(e)},updatePageData:function(e,t){s.updateSectionList(e,t.data);const n={data:ca(u,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=sa(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=sa(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=sa(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(P.DEBUG)&&l.d(pa,"----------设置数据----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<r.length;e++){const n=s.getTabPageDataState(e);e!=t&&e!=f&&n&&n.state!=da.QT_TAB_PAGE_STATE_INIT&&m(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,u=e.params.state;switch(l.isLoggable(P.DEBUG)&&l.d(pa,"----------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,u.newState)}},onWaterfallItemClick:function(e,t,o){l.isLoggable(P.DEBUG)&&l.d(pa,"-----------onWaterfallItemClick---------------\x3e>>> sectionIndex:"+e+" itemIndex:"+t+" item:",o),n.emit("onTabPageItemClick",d,e,t,o)},onWaterfallItemFocused:function(e,t,o,a){l.isLoggable(P.DEBUG)&&l.d(pa,"-----------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(P.DEBUG)&&l.d(pa,"---------设置数据-----绑定回调----\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(P.DEBUG)&&l.d(pa,"----------loadPageData----bind--\x3e>>>pageIndex:"+e),v(e,!1,t)))},onWaterfallSectionAttached:function(e,t){l.isLoggable(P.DEBUG)&&l.d(pa,"-----------onWaterfallSectionAttached---------------\x3e>>> pageIndex:"+e+" sectionIndex:"+t),s.setSectionState(e,t,fa.QT_LIST_VIEW_ITEM_STATE_ATTACHED),e==d&&h()},onWaterfallSectionDetached:function(e,t){l.isLoggable(P.DEBUG)&&l.d(pa,"-----------onWaterfallSectionDetached---------------\x3e>>> pageIndex:"+e+" sectionIndex:"+t),s.setSectionState(e,t,fa.QT_LIST_VIEW_ITEM_STATE_DETACHED)},onWaterfallScroll:S,onWaterfallScrollStateChanged:F,onTabPageScrollToStart:function(e){const t=e.pageIndex;n.emit("onTabPageScrollToStart",t),l.isLoggable(P.DEBUG)&&l.d(pa,"----------onTabPageScrollToStart------\x3e>>> pageIndex:"+t)},onTabPageScrollToEnd:function(e){const t=e.pageIndex;n.emit("onTabPageScrollToEnd",t),l.isLoggable(P.DEBUG)&&l.d(pa,"----------onTabPageScrollToEnd------\x3e>>> pageIndex:"+t)},onTabChange:function(e){},onTabClick:function(e){n.emit("onTabClick",e)},getCurrentPageIndex:function(){return d},...Jn(o)}}});ma.render=function(e,n,l,c,r,d){const f=a("qt-nav-bar"),T=a("qt-waterfall"),m=a("recycler-view-pager"),g=a("tabs");return e.ifTabs?(t(),i(g,{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((()=>[p(f,{ref:"navBarRef",name:"tabList",focusable:!1,class:s(e.tabNavBarClass),sid:e.tabNavBarSid,"text-key":"text",onTabFocus:e.onTabChange,onTabClick:e.onTabClick,clipChldren:!1,horizontal:e.horizontal},{default:I((()=>[o(e.$slots,"tab-item")])),_:3},8,["class","sid","onTabFocus","onTabClick","horizontal"]),p(m,{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((()=>[p(T,{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"])):u("v-if",!0)},ma.__file="src/tab/index.vue";var ga=Tn({name:"qt-vue-section",setup(t,n){const o=e();return{onSectionBind:function(){},viewRef:o,...Jn(o)}}});ga.render=function(e,n,l,c,s,u){const r=a("tv-item");return t(),i(r,{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"])},ga.__scopeId="data-v-d02af3c2",ga.__file="src/section/index.vue";var _a=Tn({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,u=-1,r=[];let d=-1;let f=-1,I=-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})),r=e})),qt((()=>{i.value?.setListData(e),l.value?.setListData(c),setTimeout((()=>{s=t.currentFocusIndex,u=e[t.currentFocusIndex].navIndex,i.value?.scrollToFocused(s),l.value?.scrollToSelected(u,!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=r[s];e.isPlaying=!1,i.value?.updateItem(s,e)}let t=r[e.position];t.isPlaying=!0,i.value?.updateItem(e.position,t)}s=e.position,u!=e.item.navIndex&&(u=e.item.navIndex,l.value?.scrollToSelected(e.item.navIndex,!0)),n.emit("item-focused",e)}else u=e.item.navIndex}),300)},onFItemFocused:e=>{clearTimeout(f),clearTimeout(I),e.hasFocus&&u!=e.position&&(a.value=2,u=e.position,r[e.item.startIndex].isNeedFocus?(i.value?.scrollToIndex(e.item.startIndex,!0,t.yOffest),I=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),I=setTimeout((()=>{i.value?.setItemSelected(e.item.startIndex+1,!0),f=setTimeout((()=>{a.value=1}),200)}),400)))},updateItem:(e,t)=>{r[e]=t,r.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,r[e])},viewRef:o,...Jn(o)}}});const va={focusable:!1,clipChildren:!1,ref:"viewRef"},ha=["focusScale"],Sa=m("img",{class:"coverV",src:"${coverV}",focusable:!1,postDelay:300},null,-1),Fa=m("img",{src:"${mask}",class:"titMask",focusable:!1,postDelay:300,showIf:"${isPlaying}"},null,-1),Ea={focusable:!1,class:"clv_item_text_box",showIf:"${isPlaying}"},ba={class:"playMark",focusable:!1},Aa=["type"],ya=m("div",{class:"line",focusable:!1,showOnState:"selected",duplicateParentState:!0},null,-1),Ra=m("div",{duplicateParentState:!0,class:"nav_item_text_focused",showOnState:"focused",focusable:!1,gradientBackground:{colors:["#FF2F7CEB","#FF1163D8"],cornerRadius:40}},null,-1),Pa={class:"nav_item_text",focusable:!1,duplicateParentState:!0};_a.render=function(e,i,l,r,d,f){const T=a("play-mark"),g=a("text-view"),_=a("qt-list-view");return t(),n("div",va,[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},[Sa,Fa,m("div",Ea,[m("div",ba,[p(T,{style:c([{width:"28px",height:"20px"},{"margin-left":"16px"}]),markColor:"#ffffff",gap:-1,focusable:!1})]),p(g,{focusable:!1,ellipsizeMode:2,fontSize:30,gravity:"centerVertical",lines:1,maxLines:1,class:"clv_item_text",text:"${assetTitle}",paddingRect:[6,0,0,0]})])],8,ha),o(e.$slots,"item")])),_:3},8,["class","onItemClick","descendantFocusability","onItemFocused"]),u(" listview first nav "),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},[ya,Ra,m("div",Pa,[p(g,{focusable:!1,ellipsizeMode:2,duplicateParentState:!0,fontSize:44,gravity:"center",lines:1,class:"text_selected",text:"${categoryname}",showOnState:["selected"]}),p(g,{focusable:!1,ellipsizeMode:2,duplicateParentState:!0,fontSize:44,gravity:"center",lines:1,maxLines:1,class:"text",text:"${categoryname}",showOnState:"focused"}),p(g,{focusable:!1,ellipsizeMode:2,duplicateParentState:!0,fontSize:44,gravity:"center",lines:1,class:"text",text:"${categoryname}",showOnState:["normal"]})])],8,Aa),o(e.$slots,"navItem")])),_:3},8,["class","onItemClick","onItemFocused"])],512)},_a.__file="src/classified-list-view/index.vue";var Na=l({name:"media-series-number-item",props:{isVip:{type:Boolean,default:!1}}});const Ua={class:"number-item-container",focusable:!0,focusScale:1},La={class:"number-item-text-root-css",duplicateParentState:!0},Da={style:{position:"absolute","flex-direction":"row","justify-content":"center","align-items":"center",width:"160px",height:"80px","background-color":"transparent"},showOnState:"selected",duplicateParentState:!0},Oa={class:"media-series-number-item-vip-root",showIf:"${vip.enable}",gradientBackground:{colors:["#FFB67827","#FFDBAF5C"],cornerRadius:4,orientation:6}};Na.render=function(e,o,i,l,c,s){const r=a("play-mark"),d=a("text-view");return t(),n("div",Ua,[u(" 文字"),m("div",La,[m("div",Da,[p(r,{duplicateParentState:!0,flexStyle:"${normalMarkStyle}",style:{width:"24px",height:"25px",position:"absolute",left:"20px"},markColor:"#FF4E46"}),p(r,{duplicateParentState:!0,flexStyle:"${vipMarkStyle}",style:{width:"24px",height:"25px",position:"absolute",left:"20px"},markColor:"#FFD97C"})]),p(d,{duplicateParentState:!0,fontSize:36,gravity:"center",autoWidth:"",lines:1,flexStyle:"${normalTitleStyle}",class:"number-item-text-css",text:"${title}"}),p(d,{duplicateParentState:!0,fontSize:36,gravity:"center",flexStyle:"${vipTitleStyle}",autoWidth:"",class:"number-item-text-vip-css",lines:1,text:"${title}"})]),u(" vip角标 "),m("div",Oa,[p(d,{duplicateParentState:!0,class:"media-series-number-item-vip-text",fontSize:20,gravity:"center",text:"${vip.text}"})])])},Na.__scopeId="data-v-4afb8987",Na.__file="src/series/item/media-series-number-item.vue";var xa=l({name:"media-series-text-item",props:{isVip:{type:Boolean,default:!1}}});const Ca={class:"text-item-container",focusable:!0,focusScale:1},ka={class:"text-item-container-css",style:{position:"absolute","align-items":"center","background-color":"transparent"},duplicateParentState:!0},wa={style:{position:"absolute","flex-direction":"row","justify-content":"center","align-items":"center",width:"490px",height:"100px","background-color":"transparent"},showOnState:"selected",duplicateParentState:!0},Ma={class:"media-series-text-item-vip-root",showIf:"${vip.enable}",gradientBackground:{colors:["#FFB67827","#FFDBAF5C"],cornerRadius:4,orientation:6}};xa.render=function(e,o,i,l,c,s){const u=a("play-mark"),r=a("text-view");return t(),n("div",Ca,[m("div",ka,[m("div",wa,[p(u,{duplicateParentState:!0,flexStyle:"${normalMarkStyle}",style:{width:"24px",height:"25px",position:"absolute",left:"20px","margin-right":"10px"},markColor:"#FF4E46"}),p(u,{duplicateParentState:!0,flexStyle:"${vipMarkStyle}",style:{width:"24px",height:"25px",position:"absolute",left:"20px","margin-right":"10px"},markColor:"#FFD97C"})]),p(r,{duplicateParentState:!0,maxLines:1,ellipsizeMode:2,flexStyle:"${normalTitleStyle}",fontSize:30,class:"text-item-text",gravity:"centerVertical",text:"${title}"}),p(r,{duplicateParentState:!0,maxLines:1,ellipsizeMode:2,flexStyle:"${vipTitleStyle}",fontSize:30,class:"text-item-text-vip",gravity:"centerVertical",text:"${title}"})]),m("div",Ma,[p(r,{duplicateParentState:!0,class:"media-series-text-item-vip-text",fontSize:20,gravity:"center",text:"${vip.text}"})])])},xa.__scopeId="data-v-4859f623",xa.__file="src/series/item/media-series-text-item.vue";var Ba,Qa,$a=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=R();S((()=>{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):qt((()=>{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=>{qt((()=>{i.isLoggable(P.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 Ga(e,t,n,o){const a=function(e,t,n,o){switch(e){case Ba.QT_MEDIA_SERIES_TYPE_LEFT_RIGHT:break;case Ba.QT_MEDIA_SERIES_TYPE_NUMBER:return 80;case Ba.QT_MEDIA_SERIES_TYPE_TEXT:return 100;case Ba.QT_MEDIA_SERIES_TYPE_TOP_DOWN:}return-1}(e);switch(e){case Ba.QT_MEDIA_SERIES_TYPE_TOP_DOWN:case Ba.QT_MEDIA_SERIES_TYPE_TEXT:return{contentWidth:1740,itemGap:36,initPosition:o.initPosition,contentHeight:a};case Ba.QT_MEDIA_SERIES_TYPE_NUMBER:return{contentWidth:1740,itemGap:15.6,initPosition:o.initPosition,contentHeight:a};case Ba.QT_MEDIA_SERIES_TYPE_LEFT_RIGHT:return{}}}$a.render=function(e,n,l,s,r,d){const f=a("select-series"),T=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(T,{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"])):u("v-if",!0)},$a.__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"}(Ba||(Ba={})),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"}(Qa||(Qa={}));var Va,Wa,Ya,za,qa=l({name:"qt-media-series",components:{"media-series-number-item":Na,"media-series-text-item":xa,"media-series":$a},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}=Jn(o),c=e(!1),s=R(),u=e(),r=e(),d=e(),f=e(),I=e(0),T=e(!1),p=e(Ba.QT_MEDIA_SERIES_TYPE_NUMBER);let m;return{isVip:T,seriesType:p,params:u,commonParams:r,scrollParams:d,groupParams:f,mediaSeriesRef:o,show:c,height:I,onLoadData:e=>{n.emit("load-data",e)},setInitData:(e,n,a,i)=>{p.value=e,m=i,Ba.QT_MEDIA_SERIES_TYPE_LEFT_RIGHT!==e?(r.value=Ga(e,0,0,i),d.value=function(e,t,n,o){if(e===Ba.QT_MEDIA_SERIES_TYPE_NUMBER)return{scrollType:1,pageDisplayCount:10,paddingForPageLeft:0,paddingForPageRight:0}}(e),f.value=function(e,t,n,o){const a={};return t.enable&&(a.groupSize=t.size,n==Qa.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"})),a}(0,n,a),Ba.QT_MEDIA_SERIES_TYPE_CUSTOM==e?I.value=t.itemHeight+(n.enable?70:0):I.value=function(e,t,n,o){switch(e){case Ba.QT_MEDIA_SERIES_TYPE_LEFT_RIGHT:break;case Ba.QT_MEDIA_SERIES_TYPE_NUMBER:return 80+(t.enable?70:0);case Ba.QT_MEDIA_SERIES_TYPE_TEXT:return 100+(t.enable?70:0);case Ba.QT_MEDIA_SERIES_TYPE_TOP_DOWN:}return-1}(e,n),qt((()=>{o.value&&o.value?.setInitData(i.totalCount,i.pageSize)})),s.isLoggable(P.DEBUG)&&s.d("MediaSeries","----setInitData----\x3e>>>",I.value)):(u.value=function(e,t,n,o){const a=n==Qa.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),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,u),u.value.totalCount=i.totalCount,u.value.pageSize=i.pageSize),c.value=!0},setPageData:(e,t)=>{let n=t;p.value==Ba.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,u=s>9?""+s:"0"+s;const r={id:n.id,title:u,vip:n.vip};n.vip&&n.vip.enable?(r.vipTitleStyle=a,r.vipMarkStyle=l,r.normalTitleStyle=i,r.normalMarkStyle=i):(r.vipTitleStyle=i,r.vipMarkStyle=i,r.normalTitleStyle=a,r.normalMarkStyle=l),o.push(r)}))}return o}(e,m.pageSize,t):p.value==Ba.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,m.pageSize,t):(p.value==Ba.QT_MEDIA_SERIES_TYPE_LEFT_RIGHT||p.value==Ba.QT_MEDIA_SERIES_TYPE_TOP_DOWN)&&(n=function(e,t,n){return n}(0,m.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&&y.callUIFunction(o.value,"blockRootFocus",[])},unBlockRootFocus:()=>{o.value&&y.callUIFunction(o.value,"unBlockRootFocus",[])},clearFocus:a,requestFocusDirectly:i,setVisibility:l}}});qa.render=function(e,n,l,c,s,r){const d=a("media-series-number-item"),f=a("media-series-text-item"),T=a("media-series");return e.show?(t(),i(T,{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}):u("v-if",!0)])),_:3},8,["init-param","height","custom-item","scroll-param","group-param","common-param","onLoadData","onItemClick","onItemFocused","onGroupItemFocused"])):u("v-if",!0)},qa.__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"}(Va||(Va={})),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"}(Wa||(Wa={})),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"}(Ya||(Ya={})),function(e){e.QT_ANIMATION_VALUE_TYPE_INT="ofInt",e.QT_ANIMATION_VALUE_TYPE_FLOAT="ofFloat"}(za||(za={}));const Ha="QTCollapse";var ja,Ka,Za,Xa,Ja,ei,ti,ni,oi,ai,ii,li,ci,si,ui,ri,di=Tn({name:"qt-collapse",emits:["onCollapseItemExpand"],setup(t,n){const o=R(),a=e();let i,l,c=e();const s=e(0),u=e(0);let r=200;const d={};const f={};function I(e){return f[`${e}`]}function T(e,t){const a=i[e],l=a.__y,c=u.value-a.height-l;o.isLoggable(P.DEBUG)&&o.d(Ha,"-------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=m(n);t&&t.onCollapseItemExpand(n==e)}catch(e){}const u=I(n);u&&(o.isLoggable(P.DEBUG)&&o.d(Ha,"-------expandItem----translationY---\x3e>>>",a,n,a.__translationY,c+s),p(n+"",a,u,a.__translationY,c+s,t))}try{n.emit("onCollapseItemExpand",e,a)}catch(e){}}function p(e,t,n,o,a,i){n.objectAnimator2(e,za.QT_ANIMATION_VALUE_TYPE_FLOAT,Wa.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Y,o,a,i,-1,0,!1,!1),n.startAnimator(e),t.__translationY=a}function m(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,u.value=e.height,r=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=u.value-t,e.__translationY=0}o.isLoggable(P.DEBUG)&&o.d(Ha,"----initCollapseItem----\x3e>>>",i)}(),F((()=>{T(l,0)}))},getItem:m,expandItem:function(e){T(e,r)},collapse:function(){const e=i.length,t=i[e-1],n=t.__y,o=u.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=m(t);e&&e.onCollapseItemExpand(!1)}catch(e){}const n=I(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=m(e);t&&t.onCollapseItemExpand(!0)}catch(e){}const n=I(e);n&&p(e+"",t,n,t.__translationY,0,0)}},collapseWidth:s,collapseHeight:u,viewRef:a,...Jn(a)}}});di.render=function(e,o,l,s,u,r){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(T,null,E(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(b(n),{key:n.name,class:"qt-collapse-item-css",ref_for:!0,ref:t=>e.initComponentRef(t,n,o)}))])),_:2},1536)))),256))],4)},di.__scopeId="data-v-4feca809",di.__file="src/collapse/index.vue",function(e){e.VISIBLE="visible",e.INVISIBLE="invisible",e.GONE="gone"}(ja||(ja={})),function(e){e.QT_DIRECTION_UP="up",e.QT_DIRECTION_DOWN="down",e.QT_DIRECTION_RIGHT="right",e.QT_DIRECTION_LEFT="left"}(Ka||(Ka={})),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"}(Za||(Za={})),function(e){e[e.QT_NAV_BAR_ITEM_TYPE_TEXT=2e4]="QT_NAV_BAR_ITEM_TYPE_TEXT"}(Xa||(Xa={})),function(e){e[e.QT_TAB_ITEM_TYPE_DEFAULT=2e4]="QT_TAB_ITEM_TYPE_DEFAULT"}(Ja||(Ja={})),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"}(ei||(ei={})),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"}(ti||(ti={})),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"}(ni||(ni={})),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"}(oi||(oi={})),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"}(ai||(ai={})),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"}(ii||(ii={})),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"}(li||(li={})),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"}(ci||(ci={})),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"}(si||(si={})),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"}(ri||(ri={}));const fi=[eo,no,oo,io,co,uo,So,Po,Co,Ia,ma,_a,ga,qa,di],Ii=t=>{t.component("qt-loading-view",{setup(t,n){const o=e();return n.expose({viewRef:o,...Jn(o)}),()=>A("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})}},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();U();let a=[],i=[],l=[],c="",s=-1,u=!1,r=-1,I=-1,T=-1,p=-1;d((()=>{t.openPage&&(s=1,u=!1,t.loadMore(s))}));const m=(e,n)=>{n||(O(),s>1&&(s=0),a=ho(e),g(a,-1),i=e,t.openPage?h(a.concat([{_id:"",type:1002,decoration:t.loadingDecoration}])):h(a),t.defaultFocus>-1&&(T&&clearTimeout(T),T=setTimeout((()=>{D(t.defaultFocus)}),500)));let o={get(e,n,i){if("__ob__"!=n&&"symbol"!=typeof n&&"map"!=n&&"length"!=n&&"constructor"!=n&&"_isVue"!=n&&"valueOf"!=n&&"toString"!=n&&"observeArray"!=n&&"dep"!=n&&"notify"!=n&&"subs"!=n&&"slice"!=n)if(l.push(n),-1!=l.indexOf("push"))c="push";else{if(-1!=l.indexOf("splice"))return c="splice",function(...t){return e.splice(...t),-1!=l.indexOf("list")?(a[l[0]].list.splice(...t),b(Number(l[0]),a[l[0]])):1==t.length?0==t[0]?h([]):E(Number(t[0]),a.length-t[0]+1):2==t.length?E(Number(t[0]),t[1]):t.length>2&&(0==t[1]?P(t[0],t.slice(2)):R(t[0],t[1],t.slice(2))),a.splice(t[0],...t.slice(1)),c="",l=[],Reflect.get(e,n,i)};if(-1!=l.indexOf("pop"))return c="pop",function(){return e.pop(),-1!=l.lastIndexOf("list")?(a[l[0]].list.pop(),b(Number(l[0]),a[l[0]])):(E(Number(a.length-1),1),a.pop()),c="",l=[],Reflect.get(e,n,i)};if(-1!=l.indexOf("forEach"))return c="forEach",function(o){return e.forEach((e=>{o(e)})),a=[],a=ho(e),t.openPage?h(a.concat([{_id:"",type:1002,decoration:t.loadingDecoration}])):h(a),c="",l=[],Reflect.get(e,n,i)};if(-1!=l.indexOf("concat"))return c="concat",function(s){return e=e.concat(s),-1!=l.lastIndexOf("list")?(a[l[0]].list=a[l[0]].list.concat(s),b(Number(l[0]),a[l[0]])):(a=a.concat(s),t.openPage&&!u?setTimeout((()=>{F(s.concat([{type:"1002",decoration:t.loadingDecoration}]),1)}),300):S(s)),c="",l=[],Reflect.get(e,n,i),new Proxy(e,o)};c=""}const s=Reflect.get(e,n,i);return _(s)&&"__ob__"!=n&&"dep"!=n&&"subs"!=n?m(s,!0):(-1==l.indexOf("push")&&(l=[]),s)},set(e,n,o,s){const r=e[n];v(e,n);const d=Reflect.set(e,n,o,s);if((!_(r)&&r!==o||_(r))&&"push"!=c)if(l.push(n),-1!=l.lastIndexOf("list")){let e=l.lastIndexOf("list"),t=l.lastIndexOf("list")+2,n={};for(let e=0;e<t;e++){let t=l[e];n=n?n[t]:i[t]}n.name="name"+l[e-1]+l[e+1],b(Number(l[0]),i[l[0]]),a[l[0]].list[l[e+1]]=i[l[0]].list[l[e+1]],a[l[0]].list[l[e+1]].name="name"+l[e-1]+l[e+1]}else a[l[0]]=i[l[0]],a[l[0]].name="name"+l[0],b(Number(l[0]),i[l[0]]);if(n&&"push"==c&&r!==o)-1!=l.lastIndexOf("list")?(l.push(n),a[l[0]].list.push(o)):(l.push(n),a.push(o));else{if("push"==c)if(-1!=l.lastIndexOf("list"))b(Number(l[0]),a[l[0]]);else{let e=a.slice(l[1]);p&&clearTimeout(p),p=t.openPage&&!u?setTimeout((()=>{F(e.concat([{_id:"",type:1002,decoration:t.loadingDecoration}]),1)}),300):setTimeout((()=>{S(e)}),300)}c="",l=[]}return d}};return new Proxy(e,o)},g=(e,t)=>{for(let n=0;n<e.length;n++){const o=e[n];o.name=t>=0?"name"+t+n:"name"+n,o.list&&o.list.length>0&&g(o.list,n)}},_=e=>null!==e&&"object"==typeof e,v=(e,t)=>{Object.hasOwnProperty.call(e,t)},h=e=>{r&&clearTimeout(r),r=setTimeout((()=>{y.callUIFunction(o.value,"setListData",e)}),100)},S=e=>{y.callUIFunction(o.value,"addListData",e)},F=(e,t)=>{y.callUIFunction(o.value,"addListDataWithParams",[e,t])},E=(e,t)=>{y.callUIFunction(o.value,"deleteItemRange",[e,t])},b=(e,t)=>{y.callUIFunction(o.value,"updateItem",[e,t])},R=(e,t,n)=>{y.callUIFunction(o.value,"updateItemRange",[e,t,n])},P=(e,t)=>{y.callUIFunction(o.value,"insertItemRange",[e,t])},N=(e,t)=>{y.callUIFunction(o.value,"setSelectChildPosition",[e,t])},L=e=>{y.callUIFunction(o.value,"scrollToPosition",[e])},D=e=>{y.callUIFunction(o.value,"requestChildFocus",[e])},O=()=>{a=[],i.length=0,l=[],u=!1,c="",r&&clearTimeout(r),T&&clearTimeout(T),p&&clearTimeout(p),I&&clearTimeout(I)};return f((()=>{s=1,O()})),n.expose({viewRef:o,init:m,updateItemName:g,hasChanged:(e,t)=>e!==t&&(e==e||t==t),scrollToIndex:(e,t,n)=>{y.callUIFunction(o.value,"scrollToPositionWithOffset",[e,n,t])},updateItem:b,updateItemList:R,hasFocus:e=>{y.callUIFunction(o.value,"hasFocus",(t=>{e(t)}))},updateItemProps:(e,t,n)=>{y.callUIFunction(o.value,"updateItemProps",[t,e,n,!0])},setListData:h,insertItem:P,addListData:S,addListDataWithParams:F,dispatchItemFunction:(e,t,n,a)=>{y.callUIFunction(o.value,"dispatchItemFunction",[e,t,n,a])},deleteItem:E,setBlockFocusDirectionsOnFail:e=>{y.callUIFunction(o.value,"setBlockFocusDirectionsOnFail",[e])},setListDataWithParams:(e,t)=>{y.callUIFunction(o.value,"setListDataWithParams",[e,t])},prepareForRecycle:()=>{y.callUIFunction(o.value,"prepareForRecycle",[])},setDisplay:e=>{y.callUIFunction(o.value,"setDisplay",[e])},scrollToTop:()=>{y.callUIFunction(o.value,"scrollToTop",[])},changeDisplayState:(e,t)=>{y.callUIFunction(o.value,"changeDisplayState",[e,t])},notifySaveInstance:()=>{y.callUIFunction(o.value,"notifySaveInstance",[])},notifyRestoreInstance:()=>{y.callUIFunction(o.value,"notifyRestoreInstance",[])},pausePostTask:()=>{y.callUIFunction(o.value,"pausePostTask",[])},resumePostTask:()=>{y.callUIFunction(o.value,"resumePostTask",[])},getScrollOffset:e=>{y.callUIFunction(o.value,"getScrollOffset",[],e)},scrollToPosition:L,scrollToFocused:e=>{L(e),D(e)},scrollToSelected:(e,t)=>{L(e),N(e,t)},scrollToPositionOffset:(e,t,n,a,i)=>{y.callUIFunction(o.value,"scrollToPositionWithOffset",[t,a,n])},destroy:()=>{y.callUIFunction(o.value,"destroy",[])},startScroll:(e,t,n)=>{y.callUIFunction(o.value,"startScroll",[{focusPosition:e,scrollToPosition:t,scrollOffset:n}])},setItemFocused:D,clearPostTask:()=>{y.callUIFunction(o.value,"clearAllPostTask",[])},setItemSelected:N,blockRootFocus:()=>{y.callUIFunction(o.value,"blockRootFocus",[])},unBlockRootFocus:()=>{y.callUIFunction(o.value,"unBlockRootFocus",[])},setBackgroundColor:e=>{y.callUIFunction(o.value,"setBackgroundColor",[e])},stopPage:()=>{I&&clearTimeout(I),I=setTimeout((()=>{E(a.length,1)}),400),u=!0},setAutoFocus:function(e,t){y.callUIFunction(o.value,"setAutoFocus",[e,t])},...Jn(o)}),()=>{const e=n.slots.default&&n.slots.default();return A("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=>{let o=t.preloadNo;t.preloadNo<0&&(o=0),t.preloadNo>a.length-1&&(o=0),e.position==a.length-1-o&&(s++,t.loadMore(s)),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)=>{y.callUIFunction(o.value,"updateItem",[e,t])},dispatchItemFunction:(e,t,n,a)=>{y.callUIFunction(o.value,"dispatchItemFunction",[e,t,n,a])},updateItemProps:(e,t,n)=>{y.callUIFunction(o.value,"updateItemProps",[t,e,n,!0])},batch:e=>{y.callUIFunction(o.value,"batch",[e])},...Jn(o)}),()=>{const e=n.slots.default&&n.slots.default();return A("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();S((()=>{a(!0),l(!0),r(!0),s(!0),u(!0),c(!0),T(!0),f(!0),d(!0),I(!0),i(1),p(2)}));const a=e=>{y.callUIFunction(o.value,"setJavaScriptEnabled",[e],(e=>{}))},i=e=>{y.callUIFunction(o.value,"setPluginState",[e],(e=>{}))},l=e=>{y.callUIFunction(o.value,"setJavaScriptCanOpenWindowsAutomatically",[e],(e=>{}))},c=e=>{y.callUIFunction(o.value,"setUseWideViewPort",[e],(e=>{}))},s=e=>{y.callUIFunction(o.value,"setSupportZoom",[e],(e=>{}))},u=e=>{y.callUIFunction(o.value,"setBuiltInZoomControls",[e],(e=>{}))},r=e=>{y.callUIFunction(o.value,"setAllowFileAccess",[e],(e=>{}))},d=e=>{y.callUIFunction(o.value,"setDomStorageEnabled",[e],(e=>{}))},f=e=>{y.callUIFunction(o.value,"setAppCacheEnabled",[e],(e=>{}))},I=e=>{y.callUIFunction(o.value,"setGeolocationEnabled",[e],(e=>{}))},T=e=>{y.callUIFunction(o.value,"setSupportMultipleWindows",[e],(e=>{}))},p=e=>{y.callUIFunction(o.value,"setCacheMode",[e],(e=>{}))};return n.expose({loadUrl:e=>{y.callUIFunction(o.value,"loadUrl",[e],(e=>{}))},evaluateJavascript:e=>new Promise(((t,n)=>{y.callUIFunction(o.value,"evaluateJavascript",[e],(e=>{t(e)}))})),canGoBack:()=>{y.callUIFunction(o.value,"canGoBack",[],(e=>{n.emit("onCanGoBack",e)}))},goBack:()=>{y.callUIFunction(o.value,"goBack",[],(e=>{}))},canGoForward:()=>{y.callUIFunction(o.value,"canGoForward",[],(e=>{n.emit("onCanGoForward",e)}))},goForward:()=>{y.callUIFunction(o.value,"goForward",[],(e=>{}))},canGoBackOrForward:e=>{y.callUIFunction(o.value,"canGoBackOrForward",[e],(e=>{n.emit("onCanGoBackOrForward",e)}))},goBackOrForward:e=>{y.callUIFunction(o.value,"goBackOrForward",[e],(e=>{}))},onResume:()=>{y.callUIFunction(o.value,"onResume",[],(e=>{}))},onPause:()=>{y.callUIFunction(o.value,"onPause",[],(e=>{}))},pauseTimers:()=>{y.callUIFunction(o.value,"pauseTimers",[],(e=>{}))},resumeTimers:()=>{y.callUIFunction(o.value,"resumeTimers",[],(e=>{}))},destroy:()=>{y.callUIFunction(o.value,"destroy",[],(e=>{}))},setJavaScriptEnabled:a,setPluginState:i,setJavaScriptCanOpenWindowsAutomatically:l,setUseWideViewPort:c,setLoadWithOverviewMode:e=>{y.callUIFunction(o.value,"setLoadWithOverviewMode",[e],(e=>{}))},setSupportZoom:s,setBuiltInZoomControls:u,setDisplayZoomControls:e=>{y.callUIFunction(o.value,"setDisplayZoomControls",[e],(e=>{}))},setAllowFileAccess:r,setDomStorageEnabled:d,setDatabaseEnabled:e=>{y.callUIFunction(o.value,"setDatabaseEnabled",[e],(e=>{}))},setAppCacheEnabled:f,setAppCachePath:e=>{y.callUIFunction(o.value,"setAppCachePath",[e],(e=>{}))},setMediaPlaybackRequiresUserGesture:e=>{y.callUIFunction(o.value,"setMediaPlaybackRequiresUserGesture",[e],(e=>{}))},setStandardFontFamily:e=>{y.callUIFunction(o.value,"setStandardFontFamily",[e],(e=>{}))},setFixedFontFamily:e=>{y.callUIFunction(o.value,"setFixedFontFamily",[e],(e=>{}))},setSansSerifFontFamily:e=>{y.callUIFunction(o.value,"setSansSerifFontFamily",[e],(e=>{}))},setSerifFontFamily:e=>{y.callUIFunction(o.value,"setSerifFontFamily",[e],(e=>{}))},setCursiveFontFamily:e=>{y.callUIFunction(o.value,"setCursiveFontFamily",[e],(e=>{}))},setFantasyFontFamily:e=>{y.callUIFunction(o.value,"setFantasyFontFamily",[e],(e=>{}))},setTextZoom:e=>{y.callUIFunction(o.value,"setTextZoom",[e],(e=>{}))},setMinimumFontSize:e=>{y.callUIFunction(o.value,"setMinimumFontSize",[e],(e=>{}))},setDefaultFontSize:e=>{y.callUIFunction(o.value,"setDefaultFontSize",[e],(e=>{}))},setLayoutAlgorithm:e=>{y.callUIFunction(o.value,"setLayoutAlgorithm",[e],(e=>{}))},setLoadsImagesAutomatically:e=>{y.callUIFunction(o.value,"setLoadsImagesAutomatically",[e],(e=>{}))},setDefaultTextEncodingName:e=>{y.callUIFunction(o.value,"setDefaultTextEncodingName",[e],(e=>{}))},setNeedInitialFocus:e=>{y.callUIFunction(o.value,"setNeedInitialFocus",[e],(e=>{}))},setGeolocationEnabled:I,setBlockNetworkLoads:e=>{y.callUIFunction(o.value,"setBlockNetworkLoads",[e],(e=>{}))},setSupportMultipleWindows:T,setAppCacheMaxSize:e=>{y.callUIFunction(o.value,"setAppCacheMaxSize",[e],(e=>{}))},setRenderPriority:e=>{y.callUIFunction(o.value,"setRenderPriority",[e],(e=>{}))},setCacheMode:p,setAllowContentAccess:e=>{y.callUIFunction(o.value,"setAllowContentAccess",[e],(e=>{}))},setEnableSmoothTransition:e=>{y.callUIFunction(o.value,"setEnableSmoothTransition",[e],(e=>{}))},setSaveFormData:e=>{y.callUIFunction(o.value,"setSaveFormData",[e],(e=>{}))},setSavePassword:e=>{y.callUIFunction(o.value,"setSavePassword",[e],(e=>{}))},setTextSize:e=>{y.callUIFunction(o.value,"setTextSize",[e],(e=>{}))},setDefaultZoom:e=>{y.callUIFunction(o.value,"setDefaultZoom",[e],(e=>{}))},setLightTouchEnabled:e=>{y.callUIFunction(o.value,"setLightTouchEnabled",[e],(e=>{}))},setMinimumLogicalFontSize:e=>{y.callUIFunction(o.value,"setMinimumLogicalFontSize",[e],(e=>{}))},setDefaultFixedFontSize:e=>{y.callUIFunction(o.value,"setDefaultFixedFontSize",[e],(e=>{}))},setBlockNetworkImage:e=>{y.callUIFunction(o.value,"setBlockNetworkImage",[e],(e=>{}))},setAllowUniversalAccessFromFileURLs:e=>{y.callUIFunction(o.value,"setAllowUniversalAccessFromFileURLs",[e],(e=>{}))},setAllowFileAccessFromFileURLs:e=>{y.callUIFunction(o.value,"setAllowFileAccessFromFileURLs",[e],(e=>{}))},setDatabasePath:e=>{y.callUIFunction(o.value,"setDatabasePath",[e],(e=>{}))},setGeolocationDatabasePath:e=>{y.callUIFunction(o.value,"setGeolocationDatabasePath",[e],(e=>{}))},setUserAgentString:e=>{y.callUIFunction(o.value,"setUserAgentString",[e],(e=>{}))},setMixedContentMode:e=>{y.callUIFunction(o.value,"setMixedContentMode",[e],(e=>{}))},setOffscreenPreRaster:e=>{y.callUIFunction(o.value,"setOffscreenPreRaster",[e],(e=>{}))},setSafeBrowsingEnabled:e=>{y.callUIFunction(o.value,"setSafeBrowsingEnabled",[e],(e=>{}))},setForceDark:e=>{y.callUIFunction(o.value,"setForceDark",[e],(e=>{}))},setDisabledActionModeMenuItems:e=>{y.callUIFunction(o.value,"setDisabledActionModeMenuItems",[e],(e=>{}))},...Jn(o)}),()=>A("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();S((()=>{a(!0),l(!0),r(!0),s(!0),u(!0),c(!0),T(!0),f(!0),d(!0),I(!0),i(1),p(2)}));const a=e=>{y.callUIFunction(o.value,"setJavaScriptEnabled",[e],(e=>{}))},i=e=>{y.callUIFunction(o.value,"setPluginState",[e],(e=>{}))},l=e=>{y.callUIFunction(o.value,"setJavaScriptCanOpenWindowsAutomatically",[e],(e=>{}))},c=e=>{y.callUIFunction(o.value,"setUseWideViewPort",[e],(e=>{}))},s=e=>{y.callUIFunction(o.value,"setSupportZoom",[e],(e=>{}))},u=e=>{y.callUIFunction(o.value,"setBuiltInZoomControls",[e],(e=>{}))},r=e=>{y.callUIFunction(o.value,"setAllowFileAccess",[e],(e=>{}))},d=e=>{y.callUIFunction(o.value,"setDomStorageEnabled",[e],(e=>{}))},f=e=>{y.callUIFunction(o.value,"setAppCacheEnabled",[e],(e=>{}))},I=e=>{y.callUIFunction(o.value,"setGeolocationEnabled",[e],(e=>{}))},T=e=>{y.callUIFunction(o.value,"setSupportMultipleWindows",[e],(e=>{}))},p=e=>{y.callUIFunction(o.value,"setCacheMode",[e],(e=>{}))};return n.expose({loadUrl:e=>{y.callUIFunction(o.value,"loadUrl",[e],(e=>{}))},evaluateJavascript:e=>new Promise(((t,n)=>{y.callUIFunction(o.value,"evaluateJavascript",[e],(e=>{t(e)}))})),canGoBack:()=>{y.callUIFunction(o.value,"canGoBack",[],(e=>{n.emit("onCanGoBack",e)}))},goBack:()=>{y.callUIFunction(o.value,"goBack",[],(e=>{}))},canGoForward:()=>{y.callUIFunction(o.value,"canGoForward",[],(e=>{n.emit("onCanGoForward",e)}))},goForward:()=>{y.callUIFunction(o.value,"goForward",[],(e=>{}))},canGoBackOrForward:e=>{y.callUIFunction(o.value,"canGoBackOrForward",[e],(e=>{n.emit("onCanGoBackOrForward",e)}))},goBackOrForward:e=>{y.callUIFunction(o.value,"goBackOrForward",[e],(e=>{}))},onResume:()=>{y.callUIFunction(o.value,"onResume",[],(e=>{}))},onPause:()=>{y.callUIFunction(o.value,"onPause",[],(e=>{}))},pauseTimers:()=>{y.callUIFunction(o.value,"pauseTimers",[],(e=>{}))},resumeTimers:()=>{y.callUIFunction(o.value,"resumeTimers",[],(e=>{}))},destroy:()=>{y.callUIFunction(o.value,"destroy",[],(e=>{}))},setJavaScriptEnabled:a,setPluginState:i,setJavaScriptCanOpenWindowsAutomatically:l,setUseWideViewPort:c,setLoadWithOverviewMode:e=>{y.callUIFunction(o.value,"setLoadWithOverviewMode",[e],(e=>{}))},setSupportZoom:s,setBuiltInZoomControls:u,setDisplayZoomControls:e=>{y.callUIFunction(o.value,"setDisplayZoomControls",[e],(e=>{}))},setAllowFileAccess:r,setDomStorageEnabled:d,setDatabaseEnabled:e=>{y.callUIFunction(o.value,"setDatabaseEnabled",[e],(e=>{}))},setAppCacheEnabled:f,setAppCachePath:e=>{y.callUIFunction(o.value,"setAppCachePath",[e],(e=>{}))},setMediaPlaybackRequiresUserGesture:e=>{y.callUIFunction(o.value,"setMediaPlaybackRequiresUserGesture",[e],(e=>{}))},setStandardFontFamily:e=>{y.callUIFunction(o.value,"setStandardFontFamily",[e],(e=>{}))},setFixedFontFamily:e=>{y.callUIFunction(o.value,"setFixedFontFamily",[e],(e=>{}))},setSansSerifFontFamily:e=>{y.callUIFunction(o.value,"setSansSerifFontFamily",[e],(e=>{}))},setSerifFontFamily:e=>{y.callUIFunction(o.value,"setSerifFontFamily",[e],(e=>{}))},setCursiveFontFamily:e=>{y.callUIFunction(o.value,"setCursiveFontFamily",[e],(e=>{}))},setFantasyFontFamily:e=>{y.callUIFunction(o.value,"setFantasyFontFamily",[e],(e=>{}))},setTextZoom:e=>{y.callUIFunction(o.value,"setTextZoom",[e],(e=>{}))},setMinimumFontSize:e=>{y.callUIFunction(o.value,"setMinimumFontSize",[e],(e=>{}))},setDefaultFontSize:e=>{y.callUIFunction(o.value,"setDefaultFontSize",[e],(e=>{}))},setLayoutAlgorithm:e=>{y.callUIFunction(o.value,"setLayoutAlgorithm",[e],(e=>{}))},setLoadsImagesAutomatically:e=>{y.callUIFunction(o.value,"setLoadsImagesAutomatically",[e],(e=>{}))},setDefaultTextEncodingName:e=>{y.callUIFunction(o.value,"setDefaultTextEncodingName",[e],(e=>{}))},setNeedInitialFocus:e=>{y.callUIFunction(o.value,"setNeedInitialFocus",[e],(e=>{}))},setGeolocationEnabled:I,setBlockNetworkLoads:e=>{y.callUIFunction(o.value,"setBlockNetworkLoads",[e],(e=>{}))},setSupportMultipleWindows:T,setAppCacheMaxSize:e=>{y.callUIFunction(o.value,"setAppCacheMaxSize",[e],(e=>{}))},setRenderPriority:e=>{y.callUIFunction(o.value,"setRenderPriority",[e],(e=>{}))},setCacheMode:p,setAllowContentAccess:e=>{y.callUIFunction(o.value,"setAllowContentAccess",[e],(e=>{}))},setEnableSmoothTransition:e=>{y.callUIFunction(o.value,"setEnableSmoothTransition",[e],(e=>{}))},setSaveFormData:e=>{y.callUIFunction(o.value,"setSaveFormData",[e],(e=>{}))},setSavePassword:e=>{y.callUIFunction(o.value,"setSavePassword",[e],(e=>{}))},setTextSize:e=>{y.callUIFunction(o.value,"setTextSize",[e],(e=>{}))},setDefaultZoom:e=>{y.callUIFunction(o.value,"setDefaultZoom",[e],(e=>{}))},setLightTouchEnabled:e=>{y.callUIFunction(o.value,"setLightTouchEnabled",[e],(e=>{}))},setMinimumLogicalFontSize:e=>{y.callUIFunction(o.value,"setMinimumLogicalFontSize",[e],(e=>{}))},setDefaultFixedFontSize:e=>{y.callUIFunction(o.value,"setDefaultFixedFontSize",[e],(e=>{}))},setBlockNetworkImage:e=>{y.callUIFunction(o.value,"setBlockNetworkImage",[e],(e=>{}))},setAllowUniversalAccessFromFileURLs:e=>{y.callUIFunction(o.value,"setAllowUniversalAccessFromFileURLs",[e],(e=>{}))},setAllowFileAccessFromFileURLs:e=>{y.callUIFunction(o.value,"setAllowFileAccessFromFileURLs",[e],(e=>{}))},setDatabasePath:e=>{y.callUIFunction(o.value,"setDatabasePath",[e],(e=>{}))},setGeolocationDatabasePath:e=>{y.callUIFunction(o.value,"setGeolocationDatabasePath",[e],(e=>{}))},setUserAgentString:e=>{y.callUIFunction(o.value,"setUserAgentString",[e],(e=>{}))},setMixedContentMode:e=>{y.callUIFunction(o.value,"setMixedContentMode",[e],(e=>{}))},setOffscreenPreRaster:e=>{y.callUIFunction(o.value,"setOffscreenPreRaster",[e],(e=>{}))},setSafeBrowsingEnabled:e=>{y.callUIFunction(o.value,"setSafeBrowsingEnabled",[e],(e=>{}))},setForceDark:e=>{y.callUIFunction(o.value,"setForceDark",[e],(e=>{}))},setDisabledActionModeMenuItems:e=>{y.callUIFunction(o.value,"setDisabledActionModeMenuItems",[e],(e=>{}))},initJavaScriptInterface:()=>{y.callUIFunction(o.value,"initJavaScriptInterface",[],(e=>{}))},removeJavaScriptInterface:()=>{y.callUIFunction(o.value,"removeJavaScriptInterface",[],(e=>{}))},initWebViewFocus:(e,t,n)=>{y.callUIFunction(o.value,"initWebViewFocus",[e,t,n],(e=>{}))},...Jn(o)}),()=>A("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,...Jn(o)}),()=>A("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),u=e(0);function r(e){1===i.value&&(u.value=e,y.callUIFunction(o.value,"setProgress",[e],(e=>{})))}function d(e){1===i.value&&(s.value=e,y.callUIFunction(o.value,"setMaxProgress",[e],(e=>{})))}return n.expose({viewRef:o,isSeekBarFocused:a,seekBarMode:i,seekCount:l,progressCallBackTime:c,maxProgress:s,progress:u,startSeek:function(e){if(a.value){i.value=2,n.emit("onSeekStart",u.value),l.value+=1;let a=1;l.value>20?a=2:l.value>50?a=4:l.value>100&&(a=6);let r=s.value,d=Math.floor(.01*r*a);if(u.value=u.value+(e?d:-d),u.value>r?u.value=r:u.value<0&&(u.value=0),y.callUIFunction(o.value,"setProgress",[u.value],(e=>{})),t.onProgressChanged){let e=(new Date).getTime();e-c.value>t.emitEventDelay&&(t.onProgressChanged(u.value),c.value=e)}}},stopSeek:function(){l.value=0,i.value=1,n.emit("onSeekStop",u.value)},isFocused:function(){return a.value},resetSeekbar:function(){i.value=1,d(0),r(0)},invalidateSeekBar:function(){y.callUIFunction(o.value,"invalidateSeekBar",[],(e=>{}))},setFocusable:function(e){y.callUIFunction(o.value,"setFocusable",[e],(e=>{}))},setClickable:function(e){y.callUIFunction(o.value,"setClickable",[e],(e=>{}))},requestLayout:function(){y.callUIFunction(o.value,"requestLayout",[],(e=>{}))},invalidate:function(){y.callUIFunction(o.value,"invalidate",[],(e=>{}))},setVisible:function(e){y.callUIFunction(o.value,"setVisible",[e],(e=>{}))},setLeftSeekBarVisible:function(e){y.callUIFunction(o.value,"setLeftSeekBarVisible",[e],(e=>{}))},setRightSeekBarVisible:function(e){y.callUIFunction(o.value,"setRightSeekBarVisible",[e],(e=>{}))},setSeekBarMode:function(e){y.callUIFunction(o.value,"setSeekBarMode",[e],(e=>{}))},setProgress:r,setRangeProgress:function(e,t){y.callUIFunction(o.value,"setProgress",[e,t],(e=>{}))},getProgress:function(){y.callUIFunction(o.value,"getProgress",[],(e=>{}))},getLeftProgress:function(){y.callUIFunction(o.value,"getLeftProgress",[],(e=>{}))},getRightProgress:function(){y.callUIFunction(o.value,"getRightProgress",[],(e=>{}))},setRange:function(e,t,n){y.callUIFunction(o.value,"setRange",[e,t,n],(e=>{}))},setGravity:function(e){y.callUIFunction(o.value,"setGravity",[e],(e=>{}))},setProgressWidth:function(e){y.callUIFunction(o.value,"setProgressWidth",[e],(e=>{}))},setProgressHeight:function(e){y.callUIFunction(o.value,"setProgressHeight",[e],(e=>{}))},setProgressRadius:function(e){y.callUIFunction(o.value,"setProgressRadius",[e],(e=>{}))},setProgressColor:function(e){y.callUIFunction(o.value,"setProgressColor",[e],(e=>{}))},setProgressDefaultColor:function(e){y.callUIFunction(o.value,"setProgressDefaultColor",[e],(e=>{}))},setProgressDrawable:function(e){y.callUIFunction(o.value,"setProgressDrawable",[e],(e=>{}))},setProgressDefaultDrawable:function(e){y.callUIFunction(o.value,"setProgressDefaultDrawable",[e],(e=>{}))},setProgressUrl:function(e){y.callUIFunction(o.value,"setProgressUrl",[e],(e=>{}))},setProgressDefaultUrl:function(e){y.callUIFunction(o.value,"setProgressDefaultUrl",[e],(e=>{}))},showIndicator:function(e){y.callUIFunction(o.value,"showIndicator",[e],(e=>{}))},showLeftIndicator:function(e){y.callUIFunction(o.value,"showLeftIndicator",[e],(e=>{}))},showRightIndicator:function(e){y.callUIFunction(o.value,"showRightIndicator",[e],(e=>{}))},setIndicatorShowMode:function(e){y.callUIFunction(o.value,"setIndicatorShowMode",[e],(e=>{}))},setLeftIndicatorShowMode:function(e){y.callUIFunction(o.value,"setLeftIndicatorShowMode",[e],(e=>{}))},setRightIndicatorShowMode:function(e){y.callUIFunction(o.value,"setRightIndicatorShowMode",[e],(e=>{}))},setIndicatorWidth:function(e){y.callUIFunction(o.value,"setIndicatorWidth",[e],(e=>{}))},setLeftIndicatorWidth:function(e){y.callUIFunction(o.value,"setLeftIndicatorWidth",[e],(e=>{}))},setRightIndicatorWidth:function(e){y.callUIFunction(o.value,"setRightIndicatorWidth",[e],(e=>{}))},setIndicatorHeight:function(e){y.callUIFunction(o.value,"setIndicatorHeight",[e],(e=>{}))},setLeftIndicatorHeight:function(e){y.callUIFunction(o.value,"setLeftIndicatorHeight",[e],(e=>{}))},setRightIndicatorHeight:function(e){y.callUIFunction(o.value,"setRightIndicatorHeight",[e],(e=>{}))},setIndicatorTextDecimalFormat:function(e){y.callUIFunction(o.value,"setIndicatorTextDecimalFormat",[e],(e=>{}))},setLeftIndicatorTextDecimalFormat:function(e){y.callUIFunction(o.value,"setLeftIndicatorTextDecimalFormat",[e],(e=>{}))},setRightIndicatorTextDecimalFormat:function(e){y.callUIFunction(o.value,"setRightIndicatorTextDecimalFormat",[e],(e=>{}))},setIndicatorTextStringFormat:function(e){y.callUIFunction(o.value,"setIndicatorTextStringFormat",[e],(e=>{}))},setLeftIndicatorTextStringFormat:function(e){y.callUIFunction(o.value,"setLeftIndicatorTextStringFormat",[e],(e=>{}))},setRightIndicatorTextStringFormat:function(e){y.callUIFunction(o.value,"setRightIndicatorTextStringFormat",[e],(e=>{}))},setIndicatorMargin:function(e){y.callUIFunction(o.value,"setIndicatorMargin",[e],(e=>{}))},setLeftIndicatorMargin:function(e){y.callUIFunction(o.value,"setLeftIndicatorMargin",[e],(e=>{}))},setRightIndicatorMargin:function(e){y.callUIFunction(o.value,"setRightIndicatorMargin",[e],(e=>{}))},setIndicatorPaddingBottom:function(e){y.callUIFunction(o.value,"setIndicatorPaddingBottom",[e],(e=>{}))},setLeftIndicatorPaddingBottom:function(e){y.callUIFunction(o.value,"setLeftIndicatorPaddingBottom",[e],(e=>{}))},setRightIndicatorPaddingBottom:function(e){y.callUIFunction(o.value,"setRightIndicatorPaddingBottom",[e],(e=>{}))},setIndicatorPaddingTop:function(e){y.callUIFunction(o.value,"setIndicatorPaddingTop",[e],(e=>{}))},setLeftIndicatorPaddingTop:function(e){y.callUIFunction(o.value,"setLeftIndicatorPaddingTop",[e],(e=>{}))},setRightIndicatorPaddingTop:function(e){y.callUIFunction(o.value,"setRightIndicatorPaddingTop",[e],(e=>{}))},setIndicatorPaddingLeft:function(e){y.callUIFunction(o.value,"setIndicatorPaddingLeft",[e],(e=>{}))},setLeftIndicatorPaddingLeft:function(e){y.callUIFunction(o.value,"setLeftIndicatorPaddingLeft",[e],(e=>{}))},setRightIndicatorPaddingLeft:function(e){y.callUIFunction(o.value,"setRightIndicatorPaddingLeft",[e],(e=>{}))},setIndicatorPaddingRight:function(e){y.callUIFunction(o.value,"setIndicatorPaddingRight",[e],(e=>{}))},setLeftIndicatorPaddingRight:function(e){y.callUIFunction(o.value,"setLeftIndicatorPaddingRight",[e],(e=>{}))},setRightIndicatorPaddingRight:function(e){y.callUIFunction(o.value,"setRightIndicatorPaddingRight",[e],(e=>{}))},setIndicatorBackgroundColor:function(e){y.callUIFunction(o.value,"setIndicatorBackgroundColor",[e],(e=>{}))},setLeftIndicatorBackgroundColor:function(e){y.callUIFunction(o.value,"setLeftIndicatorBackgroundColor",[e],(e=>{}))},setRightIndicatorBackgroundColor:function(e){y.callUIFunction(o.value,"setRightIndicatorBackgroundColor",[e],(e=>{}))},setIndicatorRadius:function(e){y.callUIFunction(o.value,"setIndicatorRadius",[e],(e=>{}))},setLeftIndicatorRadius:function(e){y.callUIFunction(o.value,"setLeftIndicatorRadius",[e],(e=>{}))},setRightIndicatorRadius:function(e){y.callUIFunction(o.value,"setRightIndicatorRadius",[e],(e=>{}))},setIndicatorTextSize:function(e){y.callUIFunction(o.value,"setIndicatorTextSize",[e],(e=>{}))},setLeftIndicatorTextSize:function(e){y.callUIFunction(o.value,"setLeftIndicatorTextSize",[e],(e=>{}))},setRightIndicatorTextSize:function(e){y.callUIFunction(o.value,"setRightIndicatorTextSize",[e],(e=>{}))},setIndicatorTextColor:function(e){y.callUIFunction(o.value,"setIndicatorTextColor",[e],(e=>{}))},setLeftIndicatorTextColor:function(e){y.callUIFunction(o.value,"setLeftIndicatorTextColor",[e],(e=>{}))},setRightIndicatorTextColor:function(e){y.callUIFunction(o.value,"setRightIndicatorTextColor",[e],(e=>{}))},setIndicatorArrowSize:function(e){y.callUIFunction(o.value,"setIndicatorArrowSize",[e],(e=>{}))},setLeftIndicatorArrowSize:function(e){y.callUIFunction(o.value,"setLeftIndicatorArrowSize",[e],(e=>{}))},setRightIndicatorArrowSize:function(e){y.callUIFunction(o.value,"setRightIndicatorArrowSize",[e],(e=>{}))},setIndicatorDrawable:function(e){y.callUIFunction(o.value,"setIndicatorDrawable",[e],(e=>{}))},setLeftIndicatorDrawable:function(e){y.callUIFunction(o.value,"setLeftIndicatorDrawable",[e],(e=>{}))},setRightIndicatorDrawable:function(e){y.callUIFunction(o.value,"setRightIndicatorDrawable",[e],(e=>{}))},setIndicatorUrl:function(e){y.callUIFunction(o.value,"setIndicatorUrl",[e],(e=>{}))},setLeftIndicatorUrl:function(e){y.callUIFunction(o.value,"setLeftIndicatorUrl",[e],(e=>{}))},setRightIndicatorUrl:function(e){y.callUIFunction(o.value,"setRightIndicatorUrl",[e],(e=>{}))},setThumbWidth:function(e){y.callUIFunction(o.value,"setThumbWidth",[e],(e=>{}))},setLeftThumbWidth:function(e){y.callUIFunction(o.value,"setLeftThumbWidth",[e],(e=>{}))},setRightThumbWidth:function(e){y.callUIFunction(o.value,"setRightThumbWidth",[e],(e=>{}))},setThumbHeight:function(e){y.callUIFunction(o.value,"setThumbHeight",[e],(e=>{}))},setLeftThumbHeight:function(e){y.callUIFunction(o.value,"setLeftThumbHeight",[e],(e=>{}))},setRightThumbHeight:function(e){y.callUIFunction(o.value,"setRightThumbHeight",[e],(e=>{}))},scaleThumb:function(){y.callUIFunction(o.value,"scaleThumb",[],(e=>{}))},scaleLeftThumb:function(){y.callUIFunction(o.value,"scaleLeftThumb",[],(e=>{}))},scaleRightThumb:function(){y.callUIFunction(o.value,"scaleLeftThumb",[],(e=>{}))},resetThumb:function(){y.callUIFunction(o.value,"resetThumb",[],(e=>{}))},resetLeftThumb:function(){y.callUIFunction(o.value,"resetLeftThumb",[],(e=>{}))},resetRightThumb:function(){y.callUIFunction(o.value,"resetRightThumb",[],(e=>{}))},setThumbScaleRatio:function(e){y.callUIFunction(o.value,"setThumbScaleRatio",[e],(e=>{}))},setLeftThumbScaleRatio:function(e){y.callUIFunction(o.value,"setLeftThumbScaleRatio",[e],(e=>{}))},setRightThumbScaleRatio:function(e){y.callUIFunction(o.value,"setRightThumbScaleRatio",[e],(e=>{}))},setThumbActivate:function(e){y.callUIFunction(o.value,"setThumbActivate",[e],(e=>{}))},setLeftThumbActivate:function(e){y.callUIFunction(o.value,"setLeftThumbActivate",[e],(e=>{}))},setRightThumbActivate:function(e){y.callUIFunction(o.value,"setRightThumbActivate",[e],(e=>{}))},setThumbDrawable:function(e){y.callUIFunction(o.value,"setThumbDrawable",[e],(e=>{}))},setLeftThumbDrawable:function(e){y.callUIFunction(o.value,"setLeftThumbDrawable",[e],(e=>{}))},setRightThumbDrawable:function(e){y.callUIFunction(o.value,"setRightThumbDrawable",[e],(e=>{}))},setThumbUrl:function(e){y.callUIFunction(o.value,"setThumbUrl",[e],(e=>{}))},setLeftThumbUrl:function(e){y.callUIFunction(o.value,"setLeftThumbUrl",[e],(e=>{}))},setRightThumbUrl:function(e){y.callUIFunction(o.value,"setRightThumbUrl",[e],(e=>{}))},setThumbInactivatedDrawable:function(e){y.callUIFunction(o.value,"setThumbInactivatedDrawable",[e],(e=>{}))},setLeftThumbInactivatedDrawable:function(e){y.callUIFunction(o.value,"setLeftThumbInactivatedDrawable",[e],(e=>{}))},setRightThumbInactivatedDrawable:function(e){y.callUIFunction(o.value,"setRightThumbInactivatedDrawable",[e],(e=>{}))},setThumbInactivatedUrl:function(e){y.callUIFunction(o.value,"setThumbInactivatedUrl",[e],(e=>{}))},setLeftThumbInactivatedUrl:function(e){y.callUIFunction(o.value,"setLeftThumbInactivatedUrl",[e],(e=>{}))},setRightThumbInactivatedUrl:function(e){y.callUIFunction(o.value,"setRightThumbInactivatedUrl",[e],(e=>{}))},setTickMarkMode:function(e){y.callUIFunction(o.value,"setTickMarkMode",[e],(e=>{}))},setTickMarkGravity:function(e){y.callUIFunction(o.value,"setTickMarkGravity",[e],(e=>{}))},setTickMarkLayoutGravity:function(e){y.callUIFunction(o.value,"setTickMarkLayoutGravity",[e],(e=>{}))},setTickMarkTextArray:function(e){y.callUIFunction(o.value,"setTickMarkTextArray",[e],(e=>{}))},setTickMarkTextMargin:function(e){y.callUIFunction(o.value,"setTickMarkTextMargin",[e],(e=>{}))},setTickMarkTextSize:function(e){y.callUIFunction(o.value,"setTickMarkTextSize",[e],(e=>{}))},setTickMarkTextColor:function(e){y.callUIFunction(o.value,"setTickMarkTextColor",[e],(e=>{}))},setTickMarkInRangeTextColor:function(e){y.callUIFunction(o.value,"setTickMarkInRangeTextColor",[e],(e=>{}))},setSteps:function(e){y.callUIFunction(o.value,"setSteps",[e],(e=>{}))},setStepsWidth:function(e){y.callUIFunction(o.value,"setStepsWidth",[e],(e=>{}))},setStepsHeight:function(e){y.callUIFunction(o.value,"setStepsHeight",[e],(e=>{}))},setStepsRadius:function(e){y.callUIFunction(o.value,"setStepsRadius",[e],(e=>{}))},setStepsColor:function(e){y.callUIFunction(o.value,"setStepsColor",[e],(e=>{}))},setStepsAutoBonding:function(e){y.callUIFunction(o.value,"setStepsAutoBonding",[e],(e=>{}))},setStepsDrawable:function(e){y.callUIFunction(o.value,"setStepsDrawable",[e],(e=>{}))},setStepsUrl:function(e){y.callUIFunction(o.value,"setStepsUrl",[e],(e=>{}))},setSecondProgress:function(e){y.callUIFunction(o.value,"setSecondProgress",[e],(e=>{}))},show:function(e){y.callUIFunction(o.value,"show",[e],(e=>{}))},setMaxProgress:d,...Jn(o)}),()=>A("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=Tn({name:"qt-progress-bar",emits:["onFocusChanged","onSeekChanged"],setup(t,n){const o=e();return n.expose({viewRef:o,invalidateProgressBar:function(){y.callUIFunction(o.value,"invalidateSeekBar",[],(e=>{}))},setFocusable:function(e){y.callUIFunction(o.value,"setFocusable",[e],(e=>{}))},setClickable:function(e){y.callUIFunction(o.value,"setClickable",[e],(e=>{}))},requestLayout:function(){y.callUIFunction(o.value,"requestLayout",[],(e=>{}))},invalidate:function(){y.callUIFunction(o.value,"invalidate",[],(e=>{}))},setVisible:function(e){y.callUIFunction(o.value,"setVisible",[e],(e=>{}))},setLeftSeekBarVisible:function(e){y.callUIFunction(o.value,"setLeftSeekBarVisible",[e],(e=>{}))},setRightSeekBarVisible:function(e){y.callUIFunction(o.value,"setRightSeekBarVisible",[e],(e=>{}))},setSeekBarMode:function(e){y.callUIFunction(o.value,"setSeekBarMode",[e],(e=>{}))},setProgress:function(e){y.callUIFunction(o.value,"setProgress",[e],(e=>{}))},setRangeProgress:function(e,t){y.callUIFunction(o.value,"setProgress",[e,t],(e=>{}))},getProgress:function(){y.callUIFunction(o.value,"getProgress",[],(e=>{}))},getLeftProgress:function(){y.callUIFunction(o.value,"getLeftProgress",[],(e=>{}))},getRightProgress:function(){y.callUIFunction(o.value,"getRightProgress",[],(e=>{}))},setRange:function(e,t,n){y.callUIFunction(o.value,"setRange",[e,t,n],(e=>{}))},setGravity:function(e){y.callUIFunction(o.value,"setGravity",[e],(e=>{}))},setProgressWidth:function(e){y.callUIFunction(o.value,"setProgressWidth",[e],(e=>{}))},setProgressHeight:function(e){y.callUIFunction(o.value,"setProgressHeight",[e],(e=>{}))},setProgressRadius:function(e){y.callUIFunction(o.value,"setProgressRadius",[e],(e=>{}))},setProgressColor:function(e){y.callUIFunction(o.value,"setProgressColor",[e],(e=>{}))},setProgressDefaultColor:function(e){y.callUIFunction(o.value,"setProgressDefaultColor",[e],(e=>{}))},setProgressDrawable:function(e){y.callUIFunction(o.value,"setProgressDrawable",[e],(e=>{}))},setProgressDefaultDrawable:function(e){y.callUIFunction(o.value,"setProgressDefaultDrawable",[e],(e=>{}))},setProgressUrl:function(e){y.callUIFunction(o.value,"setProgressUrl",[e],(e=>{}))},setProgressDefaultUrl:function(e){y.callUIFunction(o.value,"setProgressDefaultUrl",[e],(e=>{}))},showIndicator:function(e){y.callUIFunction(o.value,"showIndicator",[e],(e=>{}))},showLeftIndicator:function(e){y.callUIFunction(o.value,"showLeftIndicator",[e],(e=>{}))},showRightIndicator:function(e){y.callUIFunction(o.value,"showRightIndicator",[e],(e=>{}))},setIndicatorShowMode:function(e){y.callUIFunction(o.value,"setIndicatorShowMode",[e],(e=>{}))},setLeftIndicatorShowMode:function(e){y.callUIFunction(o.value,"setLeftIndicatorShowMode",[e],(e=>{}))},setRightIndicatorShowMode:function(e){y.callUIFunction(o.value,"setRightIndicatorShowMode",[e],(e=>{}))},setIndicatorWidth:function(e){y.callUIFunction(o.value,"setIndicatorWidth",[e],(e=>{}))},setLeftIndicatorWidth:function(e){y.callUIFunction(o.value,"setLeftIndicatorWidth",[e],(e=>{}))},setRightIndicatorWidth:function(e){y.callUIFunction(o.value,"setRightIndicatorWidth",[e],(e=>{}))},setIndicatorHeight:function(e){y.callUIFunction(o.value,"setIndicatorHeight",[e],(e=>{}))},setLeftIndicatorHeight:function(e){y.callUIFunction(o.value,"setLeftIndicatorHeight",[e],(e=>{}))},setRightIndicatorHeight:function(e){y.callUIFunction(o.value,"setRightIndicatorHeight",[e],(e=>{}))},setIndicatorTextDecimalFormat:function(e){y.callUIFunction(o.value,"setIndicatorTextDecimalFormat",[e],(e=>{}))},setLeftIndicatorTextDecimalFormat:function(e){y.callUIFunction(o.value,"setLeftIndicatorTextDecimalFormat",[e],(e=>{}))},setRightIndicatorTextDecimalFormat:function(e){y.callUIFunction(o.value,"setRightIndicatorTextDecimalFormat",[e],(e=>{}))},setIndicatorTextStringFormat:function(e){y.callUIFunction(o.value,"setIndicatorTextStringFormat",[e],(e=>{}))},setLeftIndicatorTextStringFormat:function(e){y.callUIFunction(o.value,"setLeftIndicatorTextStringFormat",[e],(e=>{}))},setRightIndicatorTextStringFormat:function(e){y.callUIFunction(o.value,"setRightIndicatorTextStringFormat",[e],(e=>{}))},setIndicatorMargin:function(e){y.callUIFunction(o.value,"setIndicatorMargin",[e],(e=>{}))},setLeftIndicatorMargin:function(e){y.callUIFunction(o.value,"setLeftIndicatorMargin",[e],(e=>{}))},setRightIndicatorMargin:function(e){y.callUIFunction(o.value,"setRightIndicatorMargin",[e],(e=>{}))},setIndicatorPaddingBottom:function(e){y.callUIFunction(o.value,"setIndicatorPaddingBottom",[e],(e=>{}))},setLeftIndicatorPaddingBottom:function(e){y.callUIFunction(o.value,"setLeftIndicatorPaddingBottom",[e],(e=>{}))},setRightIndicatorPaddingBottom:function(e){y.callUIFunction(o.value,"setRightIndicatorPaddingBottom",[e],(e=>{}))},setIndicatorPaddingTop:function(e){y.callUIFunction(o.value,"setIndicatorPaddingTop",[e],(e=>{}))},setLeftIndicatorPaddingTop:function(e){y.callUIFunction(o.value,"setLeftIndicatorPaddingTop",[e],(e=>{}))},setRightIndicatorPaddingTop:function(e){y.callUIFunction(o.value,"setRightIndicatorPaddingTop",[e],(e=>{}))},setIndicatorPaddingLeft:function(e){y.callUIFunction(o.value,"setIndicatorPaddingLeft",[e],(e=>{}))},setLeftIndicatorPaddingLeft:function(e){y.callUIFunction(o.value,"setLeftIndicatorPaddingLeft",[e],(e=>{}))},setRightIndicatorPaddingLeft:function(e){y.callUIFunction(o.value,"setRightIndicatorPaddingLeft",[e],(e=>{}))},setIndicatorPaddingRight:function(e){y.callUIFunction(o.value,"setIndicatorPaddingRight",[e],(e=>{}))},setLeftIndicatorPaddingRight:function(e){y.callUIFunction(o.value,"setLeftIndicatorPaddingRight",[e],(e=>{}))},setRightIndicatorPaddingRight:function(e){y.callUIFunction(o.value,"setRightIndicatorPaddingRight",[e],(e=>{}))},setIndicatorBackgroundColor:function(e){y.callUIFunction(o.value,"setIndicatorBackgroundColor",[e],(e=>{}))},setLeftIndicatorBackgroundColor:function(e){y.callUIFunction(o.value,"setLeftIndicatorBackgroundColor",[e],(e=>{}))},setRightIndicatorBackgroundColor:function(e){y.callUIFunction(o.value,"setRightIndicatorBackgroundColor",[e],(e=>{}))},setIndicatorRadius:function(e){y.callUIFunction(o.value,"setIndicatorRadius",[e],(e=>{}))},setLeftIndicatorRadius:function(e){y.callUIFunction(o.value,"setLeftIndicatorRadius",[e],(e=>{}))},setRightIndicatorRadius:function(e){y.callUIFunction(o.value,"setRightIndicatorRadius",[e],(e=>{}))},setIndicatorTextSize:function(e){y.callUIFunction(o.value,"setIndicatorTextSize",[e],(e=>{}))},setLeftIndicatorTextSize:function(e){y.callUIFunction(o.value,"setLeftIndicatorTextSize",[e],(e=>{}))},setRightIndicatorTextSize:function(e){y.callUIFunction(o.value,"setRightIndicatorTextSize",[e],(e=>{}))},setIndicatorTextColor:function(e){y.callUIFunction(o.value,"setIndicatorTextColor",[e],(e=>{}))},setLeftIndicatorTextColor:function(e){y.callUIFunction(o.value,"setLeftIndicatorTextColor",[e],(e=>{}))},setRightIndicatorTextColor:function(e){y.callUIFunction(o.value,"setRightIndicatorTextColor",[e],(e=>{}))},setIndicatorArrowSize:function(e){y.callUIFunction(o.value,"setIndicatorArrowSize",[e],(e=>{}))},setLeftIndicatorArrowSize:function(e){y.callUIFunction(o.value,"setLeftIndicatorArrowSize",[e],(e=>{}))},setRightIndicatorArrowSize:function(e){y.callUIFunction(o.value,"setRightIndicatorArrowSize",[e],(e=>{}))},setIndicatorDrawable:function(e){y.callUIFunction(o.value,"setIndicatorDrawable",[e],(e=>{}))},setLeftIndicatorDrawable:function(e){y.callUIFunction(o.value,"setLeftIndicatorDrawable",[e],(e=>{}))},setRightIndicatorDrawable:function(e){y.callUIFunction(o.value,"setRightIndicatorDrawable",[e],(e=>{}))},setIndicatorUrl:function(e){y.callUIFunction(o.value,"setIndicatorUrl",[e],(e=>{}))},setLeftIndicatorUrl:function(e){y.callUIFunction(o.value,"setLeftIndicatorUrl",[e],(e=>{}))},setRightIndicatorUrl:function(e){y.callUIFunction(o.value,"setRightIndicatorUrl",[e],(e=>{}))},setThumbWidth:function(e){y.callUIFunction(o.value,"setThumbWidth",[e],(e=>{}))},setLeftThumbWidth:function(e){y.callUIFunction(o.value,"setLeftThumbWidth",[e],(e=>{}))},setRightThumbWidth:function(e){y.callUIFunction(o.value,"setRightThumbWidth",[e],(e=>{}))},setThumbHeight:function(e){y.callUIFunction(o.value,"setThumbHeight",[e],(e=>{}))},setLeftThumbHeight:function(e){y.callUIFunction(o.value,"setLeftThumbHeight",[e],(e=>{}))},setRightThumbHeight:function(e){y.callUIFunction(o.value,"setRightThumbHeight",[e],(e=>{}))},scaleThumb:function(){y.callUIFunction(o.value,"scaleThumb",[],(e=>{}))},scaleLeftThumb:function(){y.callUIFunction(o.value,"scaleLeftThumb",[],(e=>{}))},scaleRightThumb:function(){y.callUIFunction(o.value,"scaleLeftThumb",[],(e=>{}))},resetThumb:function(){y.callUIFunction(o.value,"resetThumb",[],(e=>{}))},resetLeftThumb:function(){y.callUIFunction(o.value,"resetLeftThumb",[],(e=>{}))},resetRightThumb:function(){y.callUIFunction(o.value,"resetRightThumb",[],(e=>{}))},setThumbScaleRatio:function(e){y.callUIFunction(o.value,"setThumbScaleRatio",[e],(e=>{}))},setLeftThumbScaleRatio:function(e){y.callUIFunction(o.value,"setLeftThumbScaleRatio",[e],(e=>{}))},setRightThumbScaleRatio:function(e){y.callUIFunction(o.value,"setRightThumbScaleRatio",[e],(e=>{}))},setThumbActivate:function(e){y.callUIFunction(o.value,"setThumbActivate",[e],(e=>{}))},setLeftThumbActivate:function(e){y.callUIFunction(o.value,"setLeftThumbActivate",[e],(e=>{}))},setRightThumbActivate:function(e){y.callUIFunction(o.value,"setRightThumbActivate",[e],(e=>{}))},setThumbDrawable:function(e){y.callUIFunction(o.value,"setThumbDrawable",[e],(e=>{}))},setLeftThumbDrawable:function(e){y.callUIFunction(o.value,"setLeftThumbDrawable",[e],(e=>{}))},setRightThumbDrawable:function(e){y.callUIFunction(o.value,"setRightThumbDrawable",[e],(e=>{}))},setThumbUrl:function(e){y.callUIFunction(o.value,"setThumbUrl",[e],(e=>{}))},setLeftThumbUrl:function(e){y.callUIFunction(o.value,"setLeftThumbUrl",[e],(e=>{}))},setRightThumbUrl:function(e){y.callUIFunction(o.value,"setRightThumbUrl",[e],(e=>{}))},setThumbInactivatedDrawable:function(e){y.callUIFunction(o.value,"setThumbInactivatedDrawable",[e],(e=>{}))},setLeftThumbInactivatedDrawable:function(e){y.callUIFunction(o.value,"setLeftThumbInactivatedDrawable",[e],(e=>{}))},setRightThumbInactivatedDrawable:function(e){y.callUIFunction(o.value,"setRightThumbInactivatedDrawable",[e],(e=>{}))},setThumbInactivatedUrl:function(e){y.callUIFunction(o.value,"setThumbInactivatedUrl",[e],(e=>{}))},setLeftThumbInactivatedUrl:function(e){y.callUIFunction(o.value,"setLeftThumbInactivatedUrl",[e],(e=>{}))},setRightThumbInactivatedUrl:function(e){y.callUIFunction(o.value,"setRightThumbInactivatedUrl",[e],(e=>{}))},setTickMarkMode:function(e){y.callUIFunction(o.value,"setTickMarkMode",[e],(e=>{}))},setTickMarkGravity:function(e){y.callUIFunction(o.value,"setTickMarkGravity",[e],(e=>{}))},setTickMarkLayoutGravity:function(e){y.callUIFunction(o.value,"setTickMarkLayoutGravity",[e],(e=>{}))},setTickMarkTextArray:function(e){y.callUIFunction(o.value,"setTickMarkTextArray",[e],(e=>{}))},setTickMarkTextMargin:function(e){y.callUIFunction(o.value,"setTickMarkTextMargin",[e],(e=>{}))},setTickMarkTextSize:function(e){y.callUIFunction(o.value,"setTickMarkTextSize",[e],(e=>{}))},setTickMarkTextColor:function(e){y.callUIFunction(o.value,"setTickMarkTextColor",[e],(e=>{}))},setTickMarkInRangeTextColor:function(e){y.callUIFunction(o.value,"setTickMarkInRangeTextColor",[e],(e=>{}))},setSteps:function(e){y.callUIFunction(o.value,"setSteps",[e],(e=>{}))},setStepsWidth:function(e){y.callUIFunction(o.value,"setStepsWidth",[e],(e=>{}))},setStepsHeight:function(e){y.callUIFunction(o.value,"setStepsHeight",[e],(e=>{}))},setStepsRadius:function(e){y.callUIFunction(o.value,"setStepsRadius",[e],(e=>{}))},setStepsColor:function(e){y.callUIFunction(o.value,"setStepsColor",[e],(e=>{}))},setStepsAutoBonding:function(e){y.callUIFunction(o.value,"setStepsAutoBonding",[e],(e=>{}))},setStepsDrawable:function(e){y.callUIFunction(o.value,"setStepsDrawable",[e],(e=>{}))},setStepsUrl:function(e){y.callUIFunction(o.value,"setStepsUrl",[e],(e=>{}))},setSecondProgress:function(e){y.callUIFunction(o.value,"setSecondProgress",[e],(e=>{}))},show:function(e){y.callUIFunction(o.value,"show",[e],(e=>{}))},setMaxProgress:function(e){y.callUIFunction(o.value,"setMaxProgress",[e],(e=>{}))},...Jn(o)}),()=>A("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=L().getDisplayScale();return n.expose({setPivotX:function(e){y.callUIFunction(o.value,"setPivotX",[e],(e=>{}))},setPivotY:function(e){y.callUIFunction(o.value,"setPivotY",[e],(e=>{}))},resetPivot:function(){y.callUIFunction(o.value,"resetPivot",[],(e=>{}))},resetAnimators:function(){y.callUIFunction(o.value,"resetAnimators",[],(e=>{}))},animatorSet:function(e,t,n){y.callUIFunction(o.value,"animatorSet",[e,t,n],(e=>{}))},startAnimator:function(e){y.callUIFunction(o.value,"startAnimator",[e],(e=>{}))},startAnimatorDelay:function(e,t){y.callUIFunction(o.value,"startAnimatorDelay",[e,t],(e=>{}))},pauseAnimator:function(e){y.callUIFunction(o.value,"pauseAnimator",[e],(e=>{}))},resumeAnimator:function(e){y.callUIFunction(o.value,"resumeAnimator",[e],(e=>{}))},cancelAnimator:function(e){y.callUIFunction(o.value,"cancelAnimator",[e],(e=>{}))},reverseAnimator:function(e){y.callUIFunction(o.value,"reverseAnimator",[e],(e=>{}))},play:function(e,t){y.callUIFunction(o.value,"play",[e,t],(e=>{}))},playWith:function(e,t){y.callUIFunction(o.value,"with",[e,t],(e=>{}))},playBefore:function(e,t){y.callUIFunction(o.value,"before",[e,t],(e=>{}))},playAfter:function(e,t){y.callUIFunction(o.value,"after",[e,t],(e=>{}))},playAfterDelay:function(e,t){y.callUIFunction(o.value,"afterDelay",[e,t],(e=>{}))},playSequentially1:function(e,t){y.callUIFunction(o.value,"playSequentially1",[e,t],(e=>{}))},playSequentially2:function(e,t,n){y.callUIFunction(o.value,"playSequentially2",[e,t,n],(e=>{}))},playSequentially3:function(e,t,n,a){y.callUIFunction(o.value,"playSequentially3",[e,t,n,a],(e=>{}))},playSequentially4:function(e,t,n,a,i){y.callUIFunction(o.value,"playSequentially4",[e,t,n,a,i],(e=>{}))},playSequentially5:function(e,t,n,a,i,l){y.callUIFunction(o.value,"playSequentially5",[e,t,n,a,i,l],(e=>{}))},playTogether1:function(e,t){y.callUIFunction(o.value,"playTogether1",[e,t],(e=>{}))},playTogether2:function(e,t,n){y.callUIFunction(o.value,"playTogether2",[e,t,n],(e=>{}))},playTogether3:function(e,t,n,a){y.callUIFunction(o.value,"playTogether3",[e,t,n,a],(e=>{}))},playTogether4:function(e,t,n,a,i){y.callUIFunction(o.value,"playTogether4",[e,t,n,a,i],(e=>{}))},playTogether5:function(e,t,n,a,i,l){y.callUIFunction(o.value,"playTogether5",[e,t,n,a,i,l],(e=>{}))},objectAnimator:function(e,t,n,a,i,l,c,s,u){y.callUIFunction(o.value,"objectAnimator",[e,t,n,a,i,l,c,s,u],(e=>{}))},objectAnimator1:function(e,t,n,i,l,c,s,u,r,d){n!=Wa.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_X&&n!=Wa.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Y&&n!=Wa.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Z||(i*=a),y.callUIFunction(o.value,"objectAnimator1",[e,t,n,i,l,c,s,u,r,d],(e=>{}))},objectAnimator2:function(e,t,n,i,l,c,s,u,r,d,f){n!=Wa.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_X&&n!=Wa.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Y&&n!=Wa.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Z||(i*=a,l*=a),y.callUIFunction(o.value,"objectAnimator2",[e,t,n,i,l,c,s,u,r,d,f],(e=>{}))},objectAnimator3:function(e,t,n,i,l,c,s,u,r,d,f,I){n!=Wa.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_X&&n!=Wa.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Y&&n!=Wa.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Z||(i*=a,l*=a,c*=a),y.callUIFunction(o.value,"objectAnimator3",[e,t,n,i,l,c,s,u,r,d,f,I],(e=>{}))},objectAnimator4:function(e,t,n,i,l,c,s,u,r,d,f,I,T){n!=Wa.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_X&&n!=Wa.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Y&&n!=Wa.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Z||(i*=a,l*=a,c*=a,s*=a),y.callUIFunction(o.value,"objectAnimator4",[e,t,n,i,l,c,s,u,r,d,f,I,T],(e=>{}))},objectAnimator5:function(e,t,n,i,l,c,s,u,r,d,f,I,T,p){n!=Wa.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_X&&n!=Wa.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Y&&n!=Wa.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Z||(i*=a,l*=a,c*=a,s*=a,u*=a),y.callUIFunction(o.value,"objectAnimator5",[e,t,n,i,l,c,s,u,r,d,f,I,T,p],(e=>{}))},objectAnimator6:function(e,t,n,i,l,c,s,u,r,d,f,I,T,p,m){n!=Wa.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_X&&n!=Wa.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Y&&n!=Wa.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Z||(i*=a,l*=a,c*=a,s*=a,u*=a,r*=a),y.callUIFunction(o.value,"objectAnimator6",[e,t,n,i,l,c,s,u,r,d,f,I,T,p,m],(e=>{}))},objectAnimator7:function(e,t,n,i,l,c,s,u,r,d,f,I,T,p,m,g){n!=Wa.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_X&&n!=Wa.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Y&&n!=Wa.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Z||(i*=a,l*=a,c*=a,s*=a,u*=a,r*=a,d*=a),y.callUIFunction(o.value,"objectAnimator7",[e,t,n,i,l,c,s,u,r,d,f,I,T,p,m,g],(e=>{}))},objectAnimator8:function(e,t,n,i,l,c,s,u,r,d,f,I,T,p,m,g,_){n!=Wa.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_X&&n!=Wa.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Y&&n!=Wa.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Z||(i*=a,l*=a,c*=a,s*=a,u*=a,r*=a,d*=a,f*=a),y.callUIFunction(o.value,"objectAnimator8",[e,t,n,i,l,c,s,u,r,d,f,I,T,p,m,g,_],(e=>{}))},objectAnimator9:function(e,t,n,i,l,c,s,u,r,d,f,I,T,p,m,g,_,v){n!=Wa.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_X&&n!=Wa.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Y&&n!=Wa.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Z||(i*=a,l*=a,c*=a,s*=a,u*=a,r*=a,d*=a,f*=a,I*=a),y.callUIFunction(o.value,"objectAnimator9",[e,t,n,i,l,c,s,u,r,d,f,I,T,p,m,g,_,v],(e=>{}))},objectAnimator10:function(e,t,n,i,l,c,s,u,r,d,f,I,T,p,m,g,_,v,h){n!=Wa.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_X&&n!=Wa.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Y&&n!=Wa.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Z||(i*=a,l*=a,c*=a,s*=a,u*=a,r*=a,d*=a,f*=a,I*=a,T*=a),y.callUIFunction(o.value,"objectAnimator10",[e,t,n,i,l,c,s,u,r,d,f,I,T,p,m,g,_,v,h],(e=>{}))},...Jn(o)}),()=>{const e=n.slots.default&&n.slots.default();return A("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,...Jn(o)}),()=>{const e=n.slots.default&&n.slots.default();return A("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){y.callUIFunction(o.value,"scrollTo",[e,t])},scrollToWithOptions:function(e,t,n){y.callUIFunction(o.value,"scrollToWithOptions",[{x:e,y:t,duration:n}])},...Jn(o)}),()=>{const e=n.slots.default&&n.slots.default();return A("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=>{y.callUIFunction(o.value,"lottie_rawRes",[e])},loadFile:e=>{y.callUIFunction(o.value,"lottie_localRes",[e])},loadUrl:e=>{y.callUIFunction(o.value,"lottie_url",[e])},loadCacheUrl:(e,t)=>{y.callUIFunction(o.value,"lottie_cache_url",[e,t])},setFallbackResource:e=>{y.callUIFunction(o.value,"lottie_fallbackRes",[e])},setAutoPlay:e=>{y.callUIFunction(o.value,"lottie_autoPlay",[e])},setLottieLoop:e=>{y.callUIFunction(o.value,"lottie_loop",[e])},setRepeatMode:e=>{y.callUIFunction(o.value,"lottie_repeatMode",[e])},setRepeatCount:e=>{y.callUIFunction(o.value,"lottie_repeatCount",[e])},setSpeed:e=>{y.callUIFunction(o.value,"lottie_speed",[e])},setClipToCompositionBounds:e=>{y.callUIFunction(o.value,"lottie_clipToCompositionBounds",[e])},setDefaultFontFileExtension:e=>{y.callUIFunction(o.value,"lottie_defaultFontFileExtension",[e])},setImageAssetsFolder:e=>{y.callUIFunction(o.value,"lottie_imageAssetsFolder",[e])},setProgress:e=>{y.callUIFunction(o.value,"lottie_progress",[e])},enableMergePathsForKitKatAndAbove:e=>{y.callUIFunction(o.value,"lottie_enableMergePathsForKitKatAndAbove",[e])},setColorFilter:e=>{y.callUIFunction(o.value,"lottie_colorFilter",[e])},setRenderMode:e=>{y.callUIFunction(o.value,"lottie_renderMode",[e])},setAsyncUpdate:e=>{y.callUIFunction(o.value,"lottie_asyncUpdates",[e])},playAnimation:()=>{y.callUIFunction(o.value,"playAnimation",[])},setIgnoreDisabledSystemAnimations:e=>{y.callUIFunction(o.value,"lottie_ignoreDisabledSystemAnimations",[e])},setUseCompositionFrameRate:e=>{y.callUIFunction(o.value,"lottie_useCompositionFrameRate",[e])},resumeAnimation:()=>{y.callUIFunction(o.value,"resumeAnimation",[])},pauseAnimation:()=>{y.callUIFunction(o.value,"pauseAnimation",[])},cancelAnimation:()=>{y.callUIFunction(o.value,"cancelAnimation",[])},cacheComposition:e=>{y.callUIFunction(o.value,"cacheComposition",[e])},removeAllListener:()=>{y.callUIFunction(o.value,"removeAllListener",[])},...Jn(o)}),()=>{const e=n.slots.default&&n.slots.default();return A("ESLottieViewComponent",{ref:o,onAnimationEvent:e=>{n.emit("animation-event",e)}},e)}}})}(t);for(let e in fi)t.component(fi[e].name,fi[e])};export{Va as QTAnimationInterpolatorType,Wa as QTAnimationPropertyName,Ya as QTAnimationRepeatMode,za as QTAnimationValueType,Ka as QTDirections,si as QTGradientOrientation,ui as QTGradientShape,ri as QTGradientType,ja as QTIViewVisibility,ci as QTLottieAsyncUpdates,li as QTLottieRepeatMode,Qa as QTMediaSeriesStyleType,Ba as QTMediaSeriesType,Xa as QTNavBarItemType,Za as QTScrollState,ti as QTSeekBarGravity,ni as QTSeekBarIndicatorMode,ei as QTSeekBarMode,ai as QTSeekBarTickMarkGravity,ii as QTSeekBarTickMarkLayoutGravity,oi as QTSeekBarTickMarkMode,Ja as QTTabItemType,da as QTTabPageState,Bo as QTWaterfallItemType,Mo as QTWaterfallSectionType,ia as QTWaterfallVisibleType,Ii as QuickTVUI,go as arrangeChildren4ListView};
|
|
1
|
+
import{ref as e,openBlock as t,createElementBlock as n,renderSlot as o,resolveComponent as a,createBlock as i,defineComponent as l,normalizeStyle as c,normalizeClass as s,createCommentVNode as u,toDisplayString as r,watchEffect as d,onBeforeUnmount as f,withCtx as I,Fragment as T,createVNode as p,createElementVNode as m,pushScopeId as g,popScopeId as _,reactive as v,watch as h,onMounted as S,nextTick as F,renderList as E,resolveDynamicComponent as b,h as A}from"vue";import{Native as y}from"@extscreen/es3-vue";import{useESLog as R,ESLogLevel as P,useESDevice as N,useES as U,useESDisplay as L}from"@extscreen/es3-core";function D(e,t){const n=Object.create(null),o=e.split(",");for(let e=0;e<o.length;e++)n[o[e]]=!0;return t?e=>!!n[e.toLowerCase()]:e=>!!n[e]}const x="production"!==process.env.NODE_ENV?Object.freeze({}):{};"production"===process.env.NODE_ENV||Object.freeze([]);const O=()=>{},C=/^on[^a-z]/,k=e=>C.test(e),w=Object.assign,M=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},B=Object.prototype.hasOwnProperty,Q=(e,t)=>B.call(e,t),$=Array.isArray,G=e=>"[object Map]"===K(e),V=e=>"[object Set]"===K(e),W=e=>"function"==typeof e,Y=e=>"string"==typeof e,z=e=>"symbol"==typeof e,q=e=>null!==e&&"object"==typeof e,H=e=>q(e)&&W(e.then)&&W(e.catch),j=Object.prototype.toString,K=e=>j.call(e),Z=e=>K(e).slice(8,-1),X=e=>"[object Object]"===K(e),J=e=>Y(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,ee=(e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))})((e=>e.charAt(0).toUpperCase()+e.slice(1))),te=(e,t)=>!Object.is(e,t),ne=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})};let oe;const ae=()=>oe||(oe="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{});function ie(e){if($(e)){const t={};for(let n=0;n<e.length;n++){const o=e[n],a=Y(o)?ue(o):ie(o);if(a)for(const e in a)t[e]=a[e]}return t}return Y(e)||q(e)?e:void 0}const le=/;(?![^(]*\))/g,ce=/:([^]+)/,se=/\/\*[^]*?\*\//g;function ue(e){const t={};return e.replace(se,"").split(le).forEach((e=>{if(e){const n=e.split(ce);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}function re(e){let t="";if(Y(e))t=e;else if($(e))for(let n=0;n<e.length;n++){const o=re(e[n]);o&&(t+=o+" ")}else if(q(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function de(e,...t){console.warn(`[Vue warn] ${e}`,...t)}let fe;const Ie=e=>{const t=new Set(e);return t.w=0,t.n=0,t},Te=e=>(e.w&_e)>0,pe=e=>(e.n&_e)>0,me=new WeakMap;let ge=0,_e=1;const ve=30;let he;const Se=Symbol("production"!==process.env.NODE_ENV?"iterate":""),Fe=Symbol("production"!==process.env.NODE_ENV?"Map key iterate":"");class Ee{constructor(e,t=null,n){this.fn=e,this.scheduler=t,this.active=!0,this.deps=[],this.parent=void 0,function(e,t=fe){t&&t.active&&t.effects.push(e)}(this,n)}run(){if(!this.active)return this.fn();let e=he,t=Ae;for(;e;){if(e===this)return;e=e.parent}try{return this.parent=he,he=this,Ae=!0,_e=1<<++ge,ge<=ve?(({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=_e})(this):be(this),this.fn()}finally{ge<=ve&&(e=>{const{deps:t}=e;if(t.length){let n=0;for(let o=0;o<t.length;o++){const a=t[o];Te(a)&&!pe(a)?a.delete(e):t[n++]=a,a.w&=~_e,a.n&=~_e}t.length=n}})(this),_e=1<<--ge,he=this.parent,Ae=t,this.parent=void 0,this.deferStop&&this.stop()}}stop(){he===this?this.deferStop=!0:this.active&&(be(this),this.onStop&&this.onStop(),this.active=!1)}}function be(e){const{deps:t}=e;if(t.length){for(let n=0;n<t.length;n++)t[n].delete(e);t.length=0}}let Ae=!0;const ye=[];function Re(){ye.push(Ae),Ae=!1}function Pe(){const e=ye.pop();Ae=void 0===e||e}function Ne(e,t,n){if(Ae&&he){let o=me.get(e);o||me.set(e,o=new Map);let a=o.get(n);a||o.set(n,a=Ie());!function(e,t){let n=!1;ge<=ve?pe(e)||(e.n|=_e,n=!Te(e)):n=!e.has(he);n&&(e.add(he),he.deps.push(e),"production"!==process.env.NODE_ENV&&he.onTrack&&he.onTrack(w({effect:he},t)))}(a,"production"!==process.env.NODE_ENV?{effect:he,target:e,type:t,key:n}:void 0)}}function Ue(e,t,n,o,a,i){const l=me.get(e);if(!l)return;let c=[];if("clear"===t)c=[...l.values()];else if("length"===n&&$(e)){const e=Number(o);l.forEach(((t,n)=>{("length"===n||n>=e)&&c.push(t)}))}else switch(void 0!==n&&c.push(l.get(n)),t){case"add":$(e)?J(n)&&c.push(l.get("length")):(c.push(l.get(Se)),G(e)&&c.push(l.get(Fe)));break;case"delete":$(e)||(c.push(l.get(Se)),G(e)&&c.push(l.get(Fe)));break;case"set":G(e)&&c.push(l.get(Se))}const s="production"!==process.env.NODE_ENV?{target:e,type:t,key:n,newValue:o,oldValue:a,oldTarget:i}:void 0;if(1===c.length)c[0]&&("production"!==process.env.NODE_ENV?Le(c[0],s):Le(c[0]));else{const e=[];for(const t of c)t&&e.push(...t);"production"!==process.env.NODE_ENV?Le(Ie(e),s):Le(Ie(e))}}function Le(e,t){const n=$(e)?e:[...e];for(const e of n)e.computed&&De(e,t);for(const e of n)e.computed||De(e,t)}function De(e,t){(e!==he||e.allowRecurse)&&("production"!==process.env.NODE_ENV&&e.onTrigger&&e.onTrigger(w({effect:e},t)),e.scheduler?e.scheduler():e.run())}const xe=D("__proto__,__v_isRef,__isVue"),Oe=new Set(Object.getOwnPropertyNames(Symbol).filter((e=>"arguments"!==e&&"caller"!==e)).map((e=>Symbol[e])).filter(z)),Ce=$e(),ke=$e(!0),we=$e(!0,!0),Me=Be();function Be(){const e={};return["includes","indexOf","lastIndexOf"].forEach((t=>{e[t]=function(...e){const n=yt(this);for(let e=0,t=this.length;e<t;e++)Ne(n,"get",e+"");const o=n[t](...e);return-1===o||!1===o?n[t](...e.map(yt)):o}})),["push","pop","shift","unshift","splice"].forEach((t=>{e[t]=function(...e){Re();const n=yt(this)[t].apply(this,e);return Pe(),n}})),e}function Qe(e){const t=yt(this);return Ne(t,"has",e),t.hasOwnProperty(e)}function $e(e=!1,t=!1){return function(n,o,a){if("__v_isReactive"===o)return!e;if("__v_isReadonly"===o)return e;if("__v_isShallow"===o)return t;if("__v_raw"===o&&a===(e?t?gt:mt:t?pt:Tt).get(n))return n;const i=$(n);if(!e){if(i&&Q(Me,o))return Reflect.get(Me,o,a);if("hasOwnProperty"===o)return Qe}const l=Reflect.get(n,o,a);return(z(o)?Oe.has(o):xe(o))?l:(e||Ne(n,"get",o),t?l:Nt(l)?i&&J(o)?l:l.value:q(l)?e?vt(l):_t(l):l)}}function Ge(e=!1){return function(t,n,o,a){let i=t[n];if(Et(i)&&Nt(i)&&!Nt(o))return!1;if(!e&&(bt(o)||Et(o)||(i=yt(i),o=yt(o)),!$(t)&&Nt(i)&&!Nt(o)))return i.value=o,!0;const l=$(t)&&J(n)?Number(n)<t.length:Q(t,n),c=Reflect.set(t,n,o,a);return t===yt(a)&&(l?te(o,i)&&Ue(t,"set",n,o,i):Ue(t,"add",n,o)),c}}const Ve={get:Ce,set:Ge(),deleteProperty:function(e,t){const n=Q(e,t),o=e[t],a=Reflect.deleteProperty(e,t);return a&&n&&Ue(e,"delete",t,void 0,o),a},has:function(e,t){const n=Reflect.has(e,t);return z(t)&&Oe.has(t)||Ne(e,"has",t),n},ownKeys:function(e){return Ne(e,"iterate",$(e)?"length":Se),Reflect.ownKeys(e)}},We={get:ke,set:(e,t)=>("production"!==process.env.NODE_ENV&&de(`Set operation on key "${String(t)}" failed: target is readonly.`,e),!0),deleteProperty:(e,t)=>("production"!==process.env.NODE_ENV&&de(`Delete operation on key "${String(t)}" failed: target is readonly.`,e),!0)},Ye=w({},We,{get:we}),ze=e=>e,qe=e=>Reflect.getPrototypeOf(e);function He(e,t,n=!1,o=!1){const a=yt(e=e.__v_raw),i=yt(t);n||(t!==i&&Ne(a,"get",t),Ne(a,"get",i));const{has:l}=qe(a),c=o?ze:n?Pt:Rt;return l.call(a,t)?c(e.get(t)):l.call(a,i)?c(e.get(i)):void(e!==a&&e.get(t))}function je(e,t=!1){const n=this.__v_raw,o=yt(n),a=yt(e);return t||(e!==a&&Ne(o,"has",e),Ne(o,"has",a)),e===a?n.has(e):n.has(e)||n.has(a)}function Ke(e,t=!1){return e=e.__v_raw,!t&&Ne(yt(e),"iterate",Se),Reflect.get(e,"size",e)}function Ze(e){e=yt(e);const t=yt(this);return qe(t).has.call(t,e)||(t.add(e),Ue(t,"add",e,e)),this}function Xe(e,t){t=yt(t);const n=yt(this),{has:o,get:a}=qe(n);let i=o.call(n,e);i?"production"!==process.env.NODE_ENV&&It(n,o,e):(e=yt(e),i=o.call(n,e));const l=a.call(n,e);return n.set(e,t),i?te(t,l)&&Ue(n,"set",e,t,l):Ue(n,"add",e,t),this}function Je(e){const t=yt(this),{has:n,get:o}=qe(t);let a=n.call(t,e);a?"production"!==process.env.NODE_ENV&&It(t,n,e):(e=yt(e),a=n.call(t,e));const i=o?o.call(t,e):void 0,l=t.delete(e);return a&&Ue(t,"delete",e,void 0,i),l}function et(){const e=yt(this),t=0!==e.size,n="production"!==process.env.NODE_ENV?G(e)?new Map(e):new Set(e):void 0,o=e.clear();return t&&Ue(e,"clear",void 0,void 0,n),o}function tt(e,t){return function(n,o){const a=this,i=a.__v_raw,l=yt(i),c=t?ze:e?Pt:Rt;return!e&&Ne(l,"iterate",Se),i.forEach(((e,t)=>n.call(o,c(e),c(t),a)))}}function nt(e,t,n){return function(...o){const a=this.__v_raw,i=yt(a),l=G(i),c="entries"===e||e===Symbol.iterator&&l,s="keys"===e&&l,u=a[e](...o),r=n?ze:t?Pt:Rt;return!t&&Ne(i,"iterate",s?Fe:Se),{next(){const{value:e,done:t}=u.next();return t?{value:e,done:t}:{value:c?[r(e[0]),r(e[1])]:r(e),done:t}},[Symbol.iterator](){return this}}}}function ot(e){return function(...t){if("production"!==process.env.NODE_ENV){const n=t[0]?`on key "${t[0]}" `:"";console.warn(`${ee(e)} operation ${n}failed: target is readonly.`,yt(this))}return"delete"!==e&&this}}function at(){const e={get(e){return He(this,e)},get size(){return Ke(this)},has:je,add:Ze,set:Xe,delete:Je,clear:et,forEach:tt(!1,!1)},t={get(e){return He(this,e,!1,!0)},get size(){return Ke(this)},has:je,add:Ze,set:Xe,delete:Je,clear:et,forEach:tt(!1,!0)},n={get(e){return He(this,e,!0)},get size(){return Ke(this,!0)},has(e){return je.call(this,e,!0)},add:ot("add"),set:ot("set"),delete:ot("delete"),clear:ot("clear"),forEach:tt(!0,!1)},o={get(e){return He(this,e,!0,!0)},get size(){return Ke(this,!0)},has(e){return je.call(this,e,!0)},add:ot("add"),set:ot("set"),delete:ot("delete"),clear:ot("clear"),forEach:tt(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach((a=>{e[a]=nt(a,!1,!1),n[a]=nt(a,!0,!1),t[a]=nt(a,!1,!0),o[a]=nt(a,!0,!0)})),[e,n,t,o]}const[it,lt,ct,st]=at();function ut(e,t){const n=t?e?st:ct:e?lt:it;return(t,o,a)=>"__v_isReactive"===o?!e:"__v_isReadonly"===o?e:"__v_raw"===o?t:Reflect.get(Q(n,o)&&o in t?n:t,o,a)}const rt={get:ut(!1,!1)},dt={get:ut(!0,!1)},ft={get:ut(!0,!0)};function It(e,t,n){const o=yt(n);if(o!==n&&t.call(e,o)){const t=Z(e);console.warn(`Reactive ${t} contains both the raw and reactive versions of the same object${"Map"===t?" as keys":""}, which can lead to inconsistencies. Avoid differentiating between the raw and reactive versions of an object and only use the reactive version if possible.`)}}const Tt=new WeakMap,pt=new WeakMap,mt=new WeakMap,gt=new WeakMap;function _t(e){return Et(e)?e:St(e,!1,Ve,rt,Tt)}function vt(e){return St(e,!0,We,dt,mt)}function ht(e){return St(e,!0,Ye,ft,gt)}function St(e,t,n,o,a){if(!q(e))return"production"!==process.env.NODE_ENV&&console.warn(`value cannot be made reactive: ${String(e)}`),e;if(e.__v_raw&&(!t||!e.__v_isReactive))return e;const i=a.get(e);if(i)return i;const l=(c=e).__v_skip||!Object.isExtensible(c)?0:function(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}(Z(c));var c;if(0===l)return e;const s=new Proxy(e,2===l?o:n);return a.set(e,s),s}function Ft(e){return Et(e)?Ft(e.__v_raw):!(!e||!e.__v_isReactive)}function Et(e){return!(!e||!e.__v_isReadonly)}function bt(e){return!(!e||!e.__v_isShallow)}function At(e){return Ft(e)||Et(e)}function yt(e){const t=e&&e.__v_raw;return t?yt(t):e}const Rt=e=>q(e)?_t(e):e,Pt=e=>q(e)?vt(e):e;function Nt(e){return!(!e||!0!==e.__v_isRef)}const Ut={get:(e,t,n)=>{return Nt(o=Reflect.get(e,t,n))?o.value:o;var o},set:(e,t,n,o)=>{const a=e[t];return Nt(a)&&!Nt(n)?(a.value=n,!0):Reflect.set(e,t,n,o)}};const Lt=[];function Dt(e,...t){if("production"===process.env.NODE_ENV)return;Re();const n=Lt.length?Lt[Lt.length-1].component:null,o=n&&n.appContext.config.warnHandler,a=function(){let e=Lt[Lt.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)kt(o,n,11,[e+t.join(""),n&&n.proxy,a.map((({vnode:e})=>`at <${Jn(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 <${Jn(e.component,e.type,o)}`,i=">"+n;return e.props?[a,...xt(e.props),i]:[a+i]}(e))})),t}(a)),console.warn(...n)}Pe()}function xt(e){const t=[],n=Object.keys(e);return n.slice(0,3).forEach((n=>{t.push(...Ot(n,e[n]))})),n.length>3&&t.push(" ..."),t}function Ot(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}`]:Nt(t)?(t=Ot(e,yt(t.value),!0),n?t:[`${e}=Ref<`,t,">"]):W(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=yt(t),n?t:[`${e}=`,t])}const Ct={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://new-issue.vuejs.org/?repo=vuejs/core"};function kt(e,t,n,o){let a;try{a=o?e(...o):e()}catch(e){Mt(e,t,n)}return a}function wt(e,t,n,o){if(W(e)){const a=kt(e,t,n,o);return a&&H(a)&&a.catch((e=>{Mt(e,t,n)})),a}const a=[];for(let i=0;i<e.length;i++)a.push(wt(e[i],t,n,o));return a}function Mt(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?Ct[n]: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 void kt(l,null,10,[e,a,i])}!function(e,t,n,o=!0){if("production"!==process.env.NODE_ENV){const i=Ct[t];if(n&&(a=n,Lt.push(a)),Dt("Unhandled error"+(i?` during execution of ${i}`:"")),n&&Lt.pop(),o)throw e;console.error(e)}else console.error(e);var a}(e,n,a,o)}let Bt=!1,Qt=!1;const $t=[];let Gt=0;const Vt=[];let Wt=null,Yt=0;const zt=Promise.resolve();let qt=null;const Ht=100;function jt(e){const t=qt||zt;return e?t.then(this?e.bind(this):e):t}function Kt(e){$t.length&&$t.includes(e,Bt&&e.allowRecurse?Gt+1:Gt)||(null==e.id?$t.push(e):$t.splice(function(e){let t=Gt+1,n=$t.length;for(;t<n;){const o=t+n>>>1;Jt($t[o])<e?t=o+1:n=o}return t}(e.id),0,e),Zt())}function Zt(){Bt||Qt||(Qt=!0,qt=zt.then(tn))}function Xt(e){$(e)?Vt.push(...e):Wt&&Wt.includes(e,e.allowRecurse?Yt+1:Yt)||Vt.push(e),Zt()}const Jt=e=>null==e.id?1/0:e.id,en=(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 tn(e){Qt=!1,Bt=!0,"production"!==process.env.NODE_ENV&&(e=e||new Map),$t.sort(en);const t="production"!==process.env.NODE_ENV?t=>nn(e,t):O;try{for(Gt=0;Gt<$t.length;Gt++){const e=$t[Gt];if(e&&!1!==e.active){if("production"!==process.env.NODE_ENV&&t(e))continue;kt(e,null,14)}}}finally{Gt=0,$t.length=0,function(e){if(Vt.length){const t=[...new Set(Vt)];if(Vt.length=0,Wt)return void Wt.push(...t);for(Wt=t,"production"!==process.env.NODE_ENV&&(e=e||new Map),Wt.sort(((e,t)=>Jt(e)-Jt(t))),Yt=0;Yt<Wt.length;Yt++)"production"!==process.env.NODE_ENV&&nn(e,Wt[Yt])||Wt[Yt]();Wt=null,Yt=0}}(e),Bt=!1,qt=null,($t.length||Vt.length)&&tn(e)}}function nn(e,t){if(e.has(t)){const n=e.get(t);if(n>Ht){const e=t.ownerInstance,n=e&&Xn(e.type);return Dt(`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.`),!0}e.set(t,n+1)}else e.set(t,1)}const on=new Set;"production"!==process.env.NODE_ENV&&(ae().__VUE_HMR_RUNTIME__={createRecord:sn((function(e,t){if(an.has(e))return!1;return an.set(e,{initialDef:ln(t),instances:new Set}),!0})),rerender:sn((function(e,t){const n=an.get(e);if(!n)return;n.initialDef.render=t,[...n.instances].forEach((e=>{t&&(e.render=t,ln(e.type).render=t),e.renderCache=[],e.update()}))})),reload:sn((function(e,t){const n=an.get(e);if(!n)return;t=ln(t),cn(n.initialDef,t);const o=[...n.instances];for(const e of o){const o=ln(e.type);on.has(o)||(o!==n.initialDef&&cn(o,t),on.add(o)),e.appContext.propsCache.delete(e.type),e.appContext.emitsCache.delete(e.type),e.appContext.optionsCache.delete(e.type),e.ceReload?(on.add(o),e.ceReload(t.styles),on.delete(o)):e.parent?Kt(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.")}Xt((()=>{for(const e of o)on.delete(ln(e.type))}))}))});const an=new Map;function ln(e){return eo(e)?e.__vccOpts:e}function cn(e,t){w(e,t);for(const n in e)"__file"===n||n in t||delete e[n]}function sn(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 un=null,rn=null;const dn={};function fn(e,t,{immediate:n,deep:o,flush:a,onTrack:i,onTrigger:l}=x){var c;"production"===process.env.NODE_ENV||t||(void 0!==n&&Dt('watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.'),void 0!==o&&Dt('watch() "deep" option is only respected when using the watch(source, callback, options?) signature.'));const s=e=>{Dt("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.")},u=fe===(null==(c=zn)?void 0:c.scope)?zn:null;let r,d,f=!1,I=!1;if(Nt(e)?(r=()=>e.value,f=bt(e)):Ft(e)?(r=()=>e,o=!0):$(e)?(I=!0,f=e.some((e=>Ft(e)||bt(e))),r=()=>e.map((e=>Nt(e)?e.value:Ft(e)?Tn(e):W(e)?kt(e,u,2):void("production"!==process.env.NODE_ENV&&s(e))))):W(e)?r=t?()=>kt(e,u,2):()=>{if(!u||!u.isUnmounted)return d&&d(),wt(e,u,3,[T])}:(r=O,"production"!==process.env.NODE_ENV&&s(e)),t&&o){const e=r;r=()=>Tn(e())}let T=e=>{d=_.onStop=()=>{kt(e,u,4)}},p=I?new Array(e.length).fill(dn):dn;const m=()=>{if(_.active)if(t){const e=_.run();(o||f||(I?e.some(((e,t)=>te(e,p[t]))):te(e,p)))&&(d&&d(),wt(t,u,3,[e,p===dn?void 0:I&&p[0]===dn?[]:p,T]),p=e)}else _.run()};let g;m.allowRecurse=!!t,"sync"===a?g=m:"post"===a?g=()=>Un(m,u&&u.suspense):(m.pre=!0,u&&(m.id=u.uid),g=()=>Kt(m));const _=new Ee(r,g);"production"!==process.env.NODE_ENV&&(_.onTrack=i,_.onTrigger=l),t?n?m():p=_.run():"post"===a?Un(_.run.bind(_),u&&u.suspense):_.run();return()=>{_.stop(),u&&u.scope&&M(u.scope.effects,_)}}function In(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;W(t)?i=t:(i=t.handler,n=t);const l=zn;Hn(this);const c=fn(a,i.bind(o),n);return l?Hn(l):jn(),c}function Tn(e,t){if(!q(e)||e.__v_skip)return e;if((t=t||new Set).has(e))return e;if(t.add(e),Nt(e))Tn(e.value,t);else if($(e))for(let n=0;n<e.length;n++)Tn(e[n],t);else if(V(e)||G(e))e.forEach((e=>{Tn(e,t)}));else if(X(e))for(const n in e)Tn(e[n],t);return e}function pn(e,t){return W(e)?(()=>w({name:e.name},t,{setup:e}))():e}const mn=Symbol.for("v-ndc"),gn=e=>e?4&e.vnode.shapeFlag?function(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy((n=e.exposed,ne(n,"__v_skip",!0),Ft(t=n)?t:new Proxy(t,Ut)),{get:(t,n)=>n in t?t[n]:n in _n?_n[n](e):void 0,has:(e,t)=>t in e||t in _n}));var t;var n}(e)||e.proxy:gn(e.parent):null,_n=w(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>"production"!==process.env.NODE_ENV?ht(e.props):e.props,$attrs:e=>"production"!==process.env.NODE_ENV?ht(e.attrs):e.attrs,$slots:e=>"production"!==process.env.NODE_ENV?ht(e.slots):e.slots,$refs:e=>"production"!==process.env.NODE_ENV?ht(e.refs):e.refs,$parent:e=>gn(e.parent),$root:e=>gn(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=>En(s,e,l,!0))),En(s,t,l)):s=t;q(t)&&i.set(t,s);return s}(e):e.type,$forceUpdate:e=>e.f||(e.f=()=>Kt(e.update)),$nextTick:e=>e.n||(e.n=jt.bind(e.proxy)),$watch:e=>__VUE_OPTIONS_API__?In.bind(e):O}),vn=(e,t)=>e!==x&&!e.__isScriptSetup&&Q(e,t),hn={get({_:e},t){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 u;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(vn(o,t))return l[t]=1,o[t];if(a!==x&&Q(a,t))return l[t]=2,a[t];if((u=e.propsOptions[0])&&Q(u,t))return l[t]=3,i[t];if(n!==x&&Q(n,t))return l[t]=4,n[t];__VUE_OPTIONS_API__&&!Fn||(l[t]=0)}}const r=_n[t];let d,f;return r?("$attrs"===t?(Ne(e,"get",t),process.env.NODE_ENV):"production"!==process.env.NODE_ENV&&"$slots"===t&&Ne(e,"get",t),r(e)):(d=c.__cssModules)&&(d=d[t])?d:n!==x&&Q(n,t)?(l[t]=4,n[t]):(f=s.config.globalProperties,Q(f,t)?f[t]:void("production"===process.env.NODE_ENV||!un||Y(t)&&0===t.indexOf("__v")||(a!==x&&(e=>"_"===e||"$"===e)(t[0])&&Q(a,t)?Dt(`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===un&&Dt(`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 vn(a,t)?(a[t]=n,!0):"production"!==process.env.NODE_ENV&&a.__isScriptSetup&&Q(a,t)?(Dt(`Cannot mutate <script setup> binding "${t}" from Options API.`),!1):o!==x&&Q(o,t)?(o[t]=n,!0):Q(e.props,t)?("production"!==process.env.NODE_ENV&&Dt(`Attempting to mutate prop "${t}". Props are readonly.`),!1):"$"===t[0]&&t.slice(1)in e?("production"!==process.env.NODE_ENV&&Dt(`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&&Q(e,l)||vn(t,l)||(c=i[0])&&Q(c,l)||Q(o,l)||Q(_n,l)||Q(a.config.globalProperties,l)},defineProperty(e,t,n){return null!=n.get?e._.accessCache[t]=0:Q(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Sn(e){return $(e)?e.reduce(((e,t)=>(e[t]=null,e)),{}):e}"production"!==process.env.NODE_ENV&&(hn.ownKeys=e=>(Dt("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 Fn=!0;function En(e,t,n,o=!1){const{mixins:a,extends:i}=t;i&&En(e,i,n,!0),a&&a.forEach((t=>En(e,t,n,!0)));for(const a in t)if(o&&"expose"===a)"production"!==process.env.NODE_ENV&&Dt('"expose" option is ignored when declared in mixins or extends. It should only be declared in the base component itself.');else{const o=bn[a]||n&&n[a];e[a]=o?o(e[a],t[a]):t[a]}return e}const bn={data:An,props:Nn,emits:Nn,methods:Pn,computed:Pn,beforeCreate:Rn,created:Rn,beforeMount:Rn,mounted:Rn,beforeUpdate:Rn,updated:Rn,beforeDestroy:Rn,beforeUnmount:Rn,destroyed:Rn,unmounted:Rn,activated:Rn,deactivated:Rn,errorCaptured:Rn,serverPrefetch:Rn,components:Pn,directives:Pn,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]=Rn(e[o],t[o]);return n},provide:An,inject:function(e,t){return Pn(yn(e),yn(t))}};function An(e,t){return t?e?function(){return w(W(e)?e.call(this,this):e,W(t)?t.call(this,this):t)}:t:e}function yn(e){if($(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Rn(e,t){return e?[...new Set([].concat(e,t))]:t}function Pn(e,t){return e?w(Object.create(null),e,t):t}function Nn(e,t){return e?$(e)&&$(t)?[...new Set([...e,...t])]:w(Object.create(null),Sn(e),Sn(null!=t?t:{})):t}const Un=function(e,t){t&&t.pendingBranch?$(e)?t.effects.push(...e):t.effects.push(e):Xt(e)},Ln=Symbol.for("v-fgt"),Dn=Symbol.for("v-txt"),xn=Symbol.for("v-cmt");let On=null;const Cn="__vInternal",kn=({key:e})=>null!=e?e:null,wn=({ref:e,ref_key:t,ref_for:n})=>("number"==typeof e&&(e=""+e),null!=e?Y(e)||Nt(e)||W(e)?{i:un,r:e,k:t,f:!!n}:e:null);const Mn="production"!==process.env.NODE_ENV?(...e)=>Bn(...e):Bn;function Bn(e,t=null,n=null,o=0,a=null,i=!1){if(e&&e!==mn||("production"===process.env.NODE_ENV||e||Dt(`Invalid vnode type when creating vnode: ${e}.`),e=xn),(l=e)&&!0===l.__v_isVNode){const o=Qn(e,t,!0);return n&&Vn(o,n),!i&&On&&(6&o.shapeFlag?On[On.indexOf(e)]=o:On.push(o)),o.patchFlag|=-2,o}var l;if(eo(e)&&(e=e.__vccOpts),t){t=function(e){return e?At(e)||Cn in e?w({},e):e:null}(t);let{class:e,style:n}=t;e&&!Y(e)&&(t.class=re(e)),q(n)&&(At(n)&&!$(n)&&(n=w({},n)),t.style=ie(n))}const c=Y(e)?1:(e=>e.__isSuspense)(e)?128:(e=>e.__isTeleport)(e)?64:q(e)?4:W(e)?2:0;return"production"!==process.env.NODE_ENV&&4&c&&At(e)&&Dt("Vue received a Component which 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=yt(e)),function(e,t=null,n=null,o=0,a=null,i=(e===Ln?0:1),l=!1,c=!1){const s={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&kn(t),ref:t&&wn(t),scopeId:rn,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:un};return c?(Vn(s,n),128&i&&e.normalize(s)):n&&(s.shapeFlag|=Y(n)?8:16),"production"!==process.env.NODE_ENV&&s.key!=s.key&&Dt("VNode created with invalid key (NaN). VNode type:",s.type),!l&&On&&(s.patchFlag>0||6&i)&&32!==s.patchFlag&&On.push(s),s}(e,t,n,o,a,c,i,!0)}function Qn(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=ie([t.style,o.style]);else if(k(e)){const n=t[e],a=o[e];!a||n===a||$(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&&kn(c),ref:t&&t.ref?n&&a?$(a)?a.concat(wn(t)):[a,wn(t)]:wn(t):a,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:"production"!==process.env.NODE_ENV&&-1===i&&$(l)?l.map($n):l,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Ln?-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&&Qn(e.ssContent),ssFallback:e.ssFallback&&Qn(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function $n(e){const t=Qn(e);return $(e.children)&&(t.children=e.children.map($n)),t}function Gn(e=" ",t=0){return Mn(Dn,null,e,t)}function Vn(e,t){let n=0;const{shapeFlag:o}=e;if(null==t)t=null;else if($(t))n=16;else if("object"==typeof t){if(65&o){const n=t.default;return void(n&&(n._c&&(n._d=!1),Vn(e,n()),n._c&&(n._d=!0)))}{n=32;const o=t._;o||Cn in t?3===o&&un&&(1===un.slots._?t._=1:(t._=2,e.patchFlag|=1024)):t._ctx=un}}else W(t)?(t={default:t,_ctx:un},n=32):(t=String(t),64&o?(n=16,t=[Gn(t)]):n=8);e.children=t,e.shapeFlag|=n}let Wn,Yn,zn=null,qn="__VUE_INSTANCE_SETTERS__";(Yn=ae()[qn])||(Yn=ae()[qn]=[]),Yn.push((e=>zn=e)),Wn=e=>{Yn.length>1?Yn.forEach((t=>t(e))):Yn[0](e)};const Hn=e=>{Wn(e),e.scope.on()},jn=()=>{zn&&zn.scope.off(),Wn(null)};const Kn=/(?:^|[-_])(\w)/g,Zn=e=>e.replace(Kn,(e=>e.toUpperCase())).replace(/[-_]/g,"");function Xn(e,t=!0){return W(e)?e.displayName||e.name:e.name||t&&e.__name}function Jn(e,t,n=!1){let o=Xn(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?Zn(o):n?"App":"Anonymous"}function eo(e){return W(e)&&"__vccOpts"in e}function to(e){return{dispatchFunctionBySid:(t,n,o)=>{e.value&&y.callUIFunction(e.value,"dispatchFunctionBySid",[t,n,o])},requestFocus:()=>{e.value&&y.callUIFunction(e.value,"requestFocus")},clearFocus:()=>{e.value&&y.callUIFunction(e.value,"clearFocus")},requestFocusDirectly:()=>{e.value&&y.callUIFunction(e.value,"requestFocusDirectly")},setVisibility:t=>{e.value&&y.callUIFunction(e.value,"changeVisibility",[t])}}}var no=pn({name:"qt-view",emits:["clearFocus"],setup(t,n){const o=e();return{viewRef:o,...to(o)}}});const oo={clipChildren:!1,ref:"viewRef"};no.render=function(e,a,i,l,c,s){return t(),n("div",oo,[o(e.$slots,"default")],512)},no.__file="src/view/index.vue";var ao=pn({name:"qt-text",setup(t,n){const o=e();return{viewRef:o,...to(o)}}});ao.render=function(e,n,o,l,c,s){const u=a("text-view");return t(),i(u,{ref:"viewRef"},null,512)},ao.__file="src/text/index.vue";var io=pn({name:"qt-image",setup(t,n){const o=e();return{viewRef:o,...to(o)}}});const lo={src:"",alt:"",clipChildren:!1,ref:"viewRef"};io.render=function(e,o,a,i,l,c){return t(),n("img",lo,null,512)},io.__file="src/image/index.vue";var co=pn({name:"qt-column",setup(t,n){const o=e();return{viewRef:o,...to(o)}}});const so={class:"qt-ui-row-css",clipChildren:!1,ref:"viewRef"};co.render=function(e,a,i,l,c,s){return t(),n("div",so,[o(e.$slots,"default")],512)},co.__scopeId="data-v-734c04b2",co.__file="src/column/index.vue";var uo=pn({name:"qt-row",setup(t,n){const o=e();return{viewRef:o,...to(o)}}});const ro={class:"qt-ui-row-css",clipChildren:!1,ref:"viewRef"};uo.render=function(e,a,i,l,c,s){return t(),n("div",ro,[o(e.$slots,"default")],512)},uo.__scopeId="data-v-9c454b58",uo.__file="src/row/index.vue";var fo=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")},...to(o)}}});const Io=["focusable","enableFocusBorder","focusScale"],To=["gradientBackground"],po=["gradientBackground"],mo=["gradientBackground"],go=["src"],_o=["src"];function vo(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})}))}fo.render=function(e,l,d,f,I,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}])},[u(" gradient "),e.gradientFocusBackground?(t(),n("div",{key:0,class:"button-gradient-background-css",gradientBackground:e.gradientFocusBackground,focusable:!1,showOnState:"focused"},null,8,To)):u("v-if",!0),e.gradientSelectedBackground?(t(),n("div",{key:1,class:"button-gradient-background-css",gradientBackground:e.gradientSelectedBackground,focusable:!1,showOnState:"selected"},null,8,po)):u("v-if",!0),e.gradientBackground?(t(),n("div",{key:2,class:"button-gradient-background-css",gradientBackground:e.gradientBackground,focusable:!1,showOnState:"normal"},null,8,mo)):u("v-if",!0),u(" -----------------------------icon--------------------------------- "),!e.icon&&!e.focusIcon||e.$slots.default?u("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,go)):u("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,_o)):u("v-if",!0)],6)),u(" ------------------------------------------------------------------- "),u(" 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},r(e.text),7)):u("v-if",!0),o(e.$slots,"default")],46,Io)},fo.__scopeId="data-v-46a594e4",fo.__file="src/button/index.vue";const ho=e=>e.map(Fo),So=e=>{const t=Object.keys(e),n={};return t.forEach((t=>{n[t]=Fo(e[t])})),n};function Fo(e){return e?"object"!=typeof e?e:Array.isArray(e)?ho(e):So(e):e}var Eo=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},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,default:()=>[]}},emits:["item-click","scroll","item-unbind","scroll-state-changed","item-bind","item-focused"],setup(t,n){const o=e();let a=e(2.5),i=[],l=[],c=[],s=[],u="",r=-1,I=e(!1),T=-1,p=-1,m=-1,g=-1,_=e(!1);const{requestFocus:v,requestFocusDirectly:h,setVisibility:S}=to(o);d((()=>{t.openPage&&(r=1,I.value=!1,t.loadMore(r))}));const F=(e,n)=>{n||(U(),r>1&&(r=0),i=Fo(e),l=e,a.value<2.2?(E(),t.openPage&&t.pageSize&&s.length>=t.pageSize/t.spanCount?o.value.setListDataWithParams(s.concat([{type:1002,decoration:t.loadingDecoration}]),!0,!0):o.value.setListDataWithParams(s,!0,!0)):t.openPage&&t.pageSize&&i.length>=t.pageSize?o.value.setListDataWithParams(i.concat([{type:1002,decoration:t.loadingDecoration}]),!0,!0):o.value.setListDataWithParams(i,!0,!0),t.defaultFocus>-1&&(m&&clearTimeout(m),m=setTimeout((()=>{y(t.defaultFocus),R(t.defaultFocus)}),800)));let d={get(e,n,l){if("__ob__"!=n&&"symbol"!=typeof n&&"map"!=n&&"length"!=n&&"constructor"!=n&&"_isVue"!=n&&"valueOf"!=n&&"toString"!=n&&"observeArray"!=n&&"dep"!=n&&"notify"!=n&&"subs"!=n&&"slice"!=n)if(c.push(n),-1!=c.indexOf("push"))u="push";else{if(-1!=c.indexOf("splice"))return u="splice",function(...t){if(e.splice(...t),a.value<2.2)if(E(),1==t.length||2==t.length)o.value.setListData(s);else if(0==t[1])o.value.setListData(s);else{let e=-1,n=0,a=0;for(let o=0;o<s.length;o++){const i=s[o];if("1003"==i.type)e++,t[0]==e&&(n=o),t[0]+t[1]-1==e&&(a=o);else for(let l=0;l<i.list.length;l++)i.list[l],e++,t[0]==e&&(n=o),t[0]+t[1]-1==e&&(a=o)}o.value.updateItemList(n,a-n+1,s.slice(n,a+1))}else 1==t.length?0==t[0]?o.value.setListData([]):o.value.deleteItem(Number(t[0]),i.length-t[0]):2==t.length?o.value.deleteItem(Number(t[0]),t[1]):t.length>2&&(0==t[1]?a.value>2.29&&N(t[0],t.slice(2)):o.value.updateItemList(t[0],t[1],t.slice(2)));return i.splice(t[0],...t.slice(1)),u="",c=[],Reflect.get(e,n,l)};if(-1!=c.indexOf("pop"))return u="pop",function(){return e.pop(),a.value<2.2?(s[s.length-1].list.length<1&&s.pop(),s[s.length-1].list.pop(),o.value.updateItem(Number(s.length-1),s[s.length-1])):o.value.deleteItem(Number(i.length-1),1),i.pop(),u="",c=[],Reflect.get(e,n,l)};if(-1!=c.indexOf("forEach"))return u="forEach",function(r){return e.forEach((e=>{r(e)})),i=[],i=Fo(e),a.value<2.2?(E(),t.openPage&&t.pageSize&&s.length>=t.pageSize&&!I.value?o.value.setListData(s.concat([{type:1002,decoration:t.loadingDecoration}])):o.value.setListData(s)):t.openPage&&t.pageSize&&i.length>=t.pageSize&&!I.value?o.value.setListData(i.concat([{type:1002,decoration:t.loadingDecoration}])):o.value.setListData(i),u="",c=[],Reflect.get(e,n,l)};if(-1!=c.indexOf("concat"))return u="concat",function(f){if("[object Array]"===Object.prototype.toString.call(f))if(e=e.concat(f),i=i.concat(f),a.value<2.2){g&&clearTimeout(g);let e=s.length,n=s.slice(s.length-1)[0];E();let a=s.slice(e);t.openPage&&!I.value?!t.pageSize&&2==r||_.value?g=setTimeout((()=>{o.value.addListData(a.concat([{type:1002,decoration:t.loadingDecoration}])),_.value&&(_.value=!1)}),300):0==a.length||"1003"!=n.type&&n.list.length<t.spanCount?(a=s.slice(e-1),g=setTimeout((()=>{o.value.addListDataWithParams(a.concat([{type:1002,decoration:t.loadingDecoration}]),2)}),300)):g=setTimeout((()=>{o.value.addListDataWithParams(a.concat([{type:1002,decoration:t.loadingDecoration}]),1)}),300):o.value.setListData(s)}else g=t.openPage&&!I.value?!t.pageSize&&2==r||_.value?setTimeout((()=>{o.value.addListData(f.concat([{type:1002,decoration:t.loadingDecoration}])),_.value&&(_.value=!1)}),300):setTimeout((()=>{o.value.addListDataWithParams(f.concat([{type:1002,decoration:t.loadingDecoration}]),1)}),300):setTimeout((()=>{o.value.addListData(f)}),300);else console.log("concat:参数类型必须为数组");return u="",c=[],Reflect.get(e,n,l),new Proxy(e,d)};u=""}const f=Reflect.get(e,n,l);return b(f)&&"__ob__"!=n&&"dep"!=n&&"subs"!=n?F(f,!0):(-1==c.indexOf("push")&&(c=[]),f)},set(e,n,d,f){const T=e[n],p=Reflect.set(e,n,d,f);if((!b(T)&&T!==d||b(T))&&"push"!=u)if(c.push(n),i[c[0]]=l[c[0]],a.value<2.2){let e=c[0],t=-1;for(let n=0;n<s.length;n++){const a=s[n];if("1003"==a.type)t++,t==e&&(s[n]=i[c[0]],o.value.updateItem(Number(n),s[n]));else for(let l=0;l<a.list.length;l++)if(a.list[l],t++,t==e){s[n].list[l]=i[c[0]];let e=s[n].list[l];e.decoration&&(e.decoration.top&&(e.decoration.top=0),e.decoration.bottom&&(e.decoration.bottom=0)),o.value.updateItem(Number(n),s[n])}}}else o.value.updateItem(Number(c[0]),l[c[0]]);if(n&&"push"==u&&T!==d)c.push(n),i.push(d);else{if("push"==u&&c.length>1)if(a.value<2.2){g&&clearTimeout(g);let e=s.length,n=s.slice(s.length-1)[0];E();let a=s.slice(e);t.openPage&&!I.value?!t.pageSize&&2==r||_.value?g=setTimeout((()=>{o.value.addListData(a.concat([{type:1002,decoration:t.loadingDecoration}])),_.value&&(_.value=!1)}),300):0==a.length||"1003"!=n.type&&n.list.length<t.spanCount?(a=s.slice(e-1),g=setTimeout((()=>{o.value.addListDataWithParams(a.concat([{type:1002,decoration:t.loadingDecoration}]),2)}),300)):g=setTimeout((()=>{o.value.addListDataWithParams(a.concat([{type:1002,decoration:t.loadingDecoration}]),1)}),300):o.value.setListData(s)}else{let e=i.slice(c[1]);g&&clearTimeout(g),g=t.openPage&&!I.value?!t.pageSize&&2==r||_.value?setTimeout((()=>{o.value.addListData(e.concat([{type:1002,decoration:t.loadingDecoration}])),_.value&&(_.value=!1)}),300):setTimeout((()=>{o.value.addListDataWithParams(e.concat([{type:1002,decoration:t.loadingDecoration}]),1)}),300):setTimeout((()=>{o.value.addListData(e)}),300)}u="",c=[]}return p}};return new Proxy(e,d)},E=()=>{let e=Fo(i);s=[];let n=0,o=[];for(let t=0;t<e.length;t++){let n=e[t];if("1003"==n.type)o.push(n);else if(n.decoration.top&&(n.toCompatibleSaveTopVal=n.decoration.top,n.decoration.top=0),n.decoration.bottom&&(n.toCompatibleSaveBottompVal=n.decoration.bottom,n.decoration.bottom=0),o[o.length-1]&&1==o[o.length-1].type)o[o.length-1].list.push(n);else{let e={type:1,list:[]};e.list.push(n),o.push(e)}}for(let e=0;e<o.length;e++){const a=o[e];if("1003"==a.type)s.push(a);else for(let e=0;e<a.list.length;e+=t.spanCount){const o=a.list[e];let i={top:-1,bottom:-1};o.decoration&&(i.top=o.toCompatibleSaveTopVal?o.toCompatibleSaveTopVal:0,i.bottom=o.toCompatibleSaveBottompVal?o.toCompatibleSaveBottompVal:0);const l={type:1,decoration:i,name:"name"+n,list:a.list.slice(e,e+t.spanCount)};n++,s.push(l)}}},b=e=>null!==e&&"object"==typeof e,A=()=>{p&&clearTimeout(p),p=setTimeout((()=>{a.value<2.2?t.pageSize?t.pageSize/t.spanCount<=s.length&&o.value.deleteItem(s.length,1):r>2&&o.value.deleteItem(s.length,1):t.pageSize?t.pageSize<=i.length&&o.value.deleteItem(i.length,1):r>2&&o.value.deleteItem(i.length,1)}),400),I.value=!0},y=e=>{if(a.value<2.2){let t=-1;for(let n=0;n<s.length;n++){const a=s[n];if("1003"==a.type)t++,t==e&&o.value.scrollToPosition(n);else for(let i=0;i<a.list.length;i++)a.list[i],t++,t==e&&o.value.scrollToPosition(n)}}else o.value.scrollToPosition(e)},R=e=>{if(a.value<2.2){let t=-1,n=0,a=0;for(let o=0;o<s.length;o++){const i=s[o];if("1003"==i.type)t++;else for(let l=0;l<i.list.length;l++)i.list[l],t++,e==t&&(n=o,a=l)}o.value.dispatchItemFunction(n,"tv_list_inner","requestChildFocus",[a])}else o.value.requestFocus(e)},P=(e,t)=>{if(a.value<2.2){let t=-1,n=0,a=0;for(let o=0;o<s.length;o++){const i=s[o];if("1003"==i.type)t++;else for(let l=0;l<i.list.length;l++)i.list[l],t++,e==t&&(n=o,a=l)}o.value.dispatchItemFunction(n,"tv_list_inner","setSelectChildPosition",[a])}else o.value.setSelectPosition(e,t)},N=(e,t)=>{o.value.addItem(e,t)},U=()=>{_.value=!1,i=[],s=[],l.length=0,I.value=!1,c=[],I.value=!1,u="",T&&clearTimeout(T),g&&clearTimeout(g),p&&clearTimeout(p),m&&clearTimeout(m)};f((()=>{r=1,U()}));let L=-1;return{tv_list:o,apkVersion:a,init:F,onItemClick:e=>{if(a.value<2.2){let t=-1,n=e.position,o=e.parentPosition;for(let a=0;a<e.parentPosition+1;a++){const i=s[a];if("1003"==i.type)t++;else for(let l=0;l<i.list.length;l++)t++,n==l&&o==a&&(e.position=t)}}n.emit("item-click",e)},onItemBind:e=>{let o=t.preloadNo;t.preloadNo<0&&(o=0),t.preloadNo>i.length-1&&(o=0),a.value<2.2?I.value||e.position!=s.length-1-o/t.spanCount||(r++,t.loadMore(r)):I.value||e.position!=i.length-1-o||(r++,t.loadMore(r)),n.emit("item-bind",e)},onItemFocused:e=>{if(a.value<2.2){let t=-1,n=e.position,o=e.parentPosition;for(let a=0;a<e.parentPosition+1;a++){const i=s[a];if("1003"==i.type)t++;else for(let l=0;l<i.list.length;l++)t++,n==l&&o==a&&(e.position=t)}}n.emit("item-focused",e)},restartPage:()=>{clearTimeout(L);let e=0;I.value||(e=420,A()),L=setTimeout((()=>{_.value=!0,r=1,I.value=!1,t.loadMore(r)}),e)},isRestartPage:_,onItemUnbind:e=>{n.emit("item-unbind",e)},onScroll:e=>{n.emit("scroll",e)},onScrollStateChanged:e=>{n.emit("scroll-state-changed",e)},stopPage:A,scrollToTop:()=>{o.value.scrollToTop()},clearFocus:()=>{o.value.clearFocus()},blockRootFocus:()=>{o.value.blockRootFocus()},unBlockRootFocus:()=>{o.value.unBlockRootFocus()},setDisplay:e=>{o.value.setDisplay(e)},scrollToPosition:y,scrollToIndex:(e,t,n)=>{if(a.value<2.2){let a=-1;for(let i=0;i<s.length;i++){const l=s[i];if("1003"==l.type)a++,a==e&&o.value.scrollToIndex(0,i,t,n);else for(let c=0;c<l.list.length;c++)l.list[c],a++,a==e&&o.value.scrollToIndex(0,i,t,n)}}else o.value.scrollToIndex(0,e,t,n)},setItemFocused:R,scrollToFocused:e=>{y(e),R(e)},setItemSelected:P,scrollToSelected:(e,t)=>{y(e),P(e,t)},updateItemProps:(e,t,n)=>{o.value.updateItemProps(e,t,n)},setInitPosition:e=>{o.value.setInitPosition(e)},setListData:e=>{T&&clearTimeout(T),T=setTimeout((()=>{o.value.setListData(e)}),100)},insertItem:N,clearPostTask:()=>{o.value.clearPostTask()},destroy:()=>{o.value.destroy()},requestFocus:v,requestFocusDirectly:h,setVisibility:S}}});Eo.render=function(e,l,s,u,r,d){const f=a("tv-list");return t(),i(f,{class:"tv_list",ref:"tv_list",name:"tv_list",spanCount:e.apkVersion<2.2?"":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((()=>[e.apkVersion<2.2?(t(),n(T,{key:0},[o(e.$slots,"header"),p(f,{class:"tv_list_inner",ref:"${name}",list:"${list}",name:"tv_list_inner",type:"1",clipChildren:!1,focusable:!1,horizontal:"",style:c({width:e.areaWidth+"px"}),endHintEnabled:!1,blockFocusDirections:e.blockFocusDirections},{default:I((()=>[o(e.$slots,"default")])),_:3},8,["style","blockFocusDirections"]),o(e.$slots,"footer"),o(e.$slots,"loading")],64)):(t(),n(T,{key:1},[o(e.$slots,"header"),o(e.$slots,"default"),o(e.$slots,"footer"),o(e.$slots,"loading")],64))])),_:3},8,["spanCount","onItemBind","onItemClick","onItemFocused","onItemUnbind","onScroll","onScrollStateChanged","onSetListData","blockFocusDirections"])},Eo.__file="src/grid-view/index.vue";var bo=pn({name:"qt-poster-focus-title",props:{fontSize:{type:Number,default:20}},setup(e,t){}});const Ao={class:"absoluteFocusTitleRoot",flexStyle:"${titleFocusStyle}",autoHeight:"",focusable:!1},yo={class:"absoluteFocusMainBgRoot",duplicateParentState:!0,focusable:!1,showIf:"${focusTitle.enable}"};bo.render=function(e,o,i,l,c,s){const r=a("text-view");return t(),n("div",Ao,[u(" 浮动标题"),p(r,{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",yo,[u(" 主标题 "),p(r,{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}"}),u(" 副标题 "),p(r,{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}"})])])},bo.__scopeId="data-v-703673b8",bo.__file="src/poster/qt-poster-focus-title.vue";var Ro=pn({name:"qt-poster-corner-title",props:{fontSize:{type:Number,default:20}},setup(e,t){}});const Po={class:"cornerRoot",focusable:!1},No=(e=>(g("data-v-4b767ea2"),e=e(),_(),e))((()=>m("img",{focusable:!1,flexStyle:"${corner.style}",src:"${corner.src}",showIf:"${corner.enableImg}"},null,-1)));Ro.render=function(e,o,i,l,c,s){const u=a("text-view");return t(),n("div",Po,[p(u,{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"]),No])},Ro.__scopeId="data-v-4b767ea2",Ro.__file="src/poster/qt-poster-corner-title.vue";var Uo=pn({name:"qt-poster",components:{"qt-poster-corner-title":Ro,"qt-poster-focus-title":bo},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,...to(o)}}});const Lo=e=>(g("data-v-3c4765e9"),e=e(),_(),e),Do=Lo((()=>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))),xo=["showOnState"],Oo={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}"},Co={flexStyle:"${ripple.style}",class:"qt-ui-poster-ripple-view-root-css",showOnState:"focused",focusable:!1,clipChildren:!1},ko=Lo((()=>m("img",{src:"${ripple.src}",class:"qt-ui-ripple-img-css",focusable:!1,duplicateParentState:!0,showIf:"${true}",delayLoad:800},null,-1)));Uo.render=function(e,n,l,c,s,r){const d=a("text-view"),f=a("qt-poster-focus-title"),T=a("ripple-view"),g=a("qt-poster-corner-title"),_=a("item-frame");return t(),i(_,{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((()=>[u("封面"),Do,p(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}"}),u(" 焦点选中时的标题 "),p(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},[u(" 浮动标题 "),m("div",Oo,[p(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}"})]),u(" 主标题"),p(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,xo),m("div",Co,[p(T,{class:"qt-ui-ripple-view-css",delayLoad:800,focusable:!1,duplicateParentState:!0,color:"#FF4E46",isShowRipple:"${ripple.enable}",rippleVisible:"invisible"}),ko]),p(g,{focusable:!1,flexStyle:"${corner.style}",style:{"z-index":"1000",position:"absolute"}}),o(e.$slots,"default")])),_:3},8,["type"])},Uo.__scopeId="data-v-3c4765e9",Uo.__file="src/poster/index.vue";var wo=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:""}},setup(t,n){const o=e();let a=e("#f5f5f5"),i=v({normal:"#80ffffff",focused:"#000000",selected:"#F5F5F5"}),l=-1,c=-1;h((()=>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),u(n)}),300))},u=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),u(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)},...to(o)}}});const Mo=["stateTextColor","sateBackgroundPadding"],Bo=["stateTextColor","sateBackgroundPadding"];var Qo,$o;wo.render=function(e,n,l,s,u,r){const d=a("text-view"),f=a("qt-list-view");return e.horizontal?(t(),i(f,{key:0,ref:"navList",clipChildren:!1,clipPadding:!1,horizontal:"",class:"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},[p(d,{autoWidth:"",gravity:"center",lines:1,fontSize:44,class:"qt-ui-nav-bar-item-text-css",duplicateParentState:!0,text:"${text}"})],12,Mo),o(e.$slots,"default")])),_:3},8,["onItemClick","onItemFocused"])):(t(),i(f,{key:1,ref:"navList",clipChildren:!1,clipPadding:!1,class:"tabNavBarClass",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},[p(d,{autoWidth:"",gravity:"center",lines:1,fontSize:44,class:"qt-ui-nav-bar-item-text-css",duplicateParentState:!0,text:"${text}"})],12,Bo),o(e.$slots,"default")])),_:3},8,["onItemClick","onItemFocused"]))},wo.__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"}(Qo||(Qo={})),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"}($o||($o={}));var Go=pn({name:"card-item",setup(e,t){const n=R();return{onFocus:function(e){n.isLoggable(P.DEBUG)&&n.d("card-item","------onFocus---------\x3e>>>",e),t.emit("focus",e)}}}});Go.render=function(e,n,o,l,c,s){const u=a("es-card-container");return t(),i(u,{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"])},Go.__scopeId="data-v-599898aa",Go.__file="src/waterfall/item/card-item.vue";var Vo=pn({name:"standard-section",components:{"card-item":Go},props:{enablePlaceholder:{type:Boolean,default:!0},plateData:{type:String,default:""},useDiff:{type:Boolean,default:!0},cachePool:{type:Object,default:{}},sectionType:{type:Number,default:Qo.QT_WATERFALL_SECTION_TYPE_FLEX},standItemType:{type:Number,default:$o.QT_WATERFALL_ITEM_TYPE_POSTER},currentPageIndex:{type:Number,default:-1},itemFocusScale:{type:Number,default:1.1}},setup(e,t){const n=R();return{onFocus:function(e){n.isLoggable(P.DEBUG)&&n.d("card-item","------onFocus---------\x3e>>>",e),t.emit("focus",e)}}}});const Wo=["type"],Yo=(e=>(g("data-v-227e921e"),e=e(),_(),e))((()=>m("img",{postDelay:300,flexStyle:"${imgTitleStyle}",focusable:!1,src:"${imgTitle}"},null,-1)));Vo.render=function(e,i,l,c,s,r){const d=a("text-view"),f=a("qt-poster"),T=a("card-item"),m=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},[p(d,{class:"standard-section-title-text-css",postDelay:300,autoWidth:"",autoHeight:"",flexStyle:"${titleStyle}",focusable:!1,textSize:"${titleStyle.fontSize}",text:"${title}"}),Yo,p(m,{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((()=>[u(" poster "),p(f,{"load-delay":500,type:e.standItemType},null,8,["type"]),u(" card "),p(T,{onFocus:e.onFocus},null,8,["onFocus"]),o(e.$slots,"default")])),_:3},8,["cachePool","useDiff","enablePlaceholder"])],8,Wo)},Vo.__scopeId="data-v-227e921e",Vo.__file="src/waterfall/section/flex-section.vue";const zo="list-section";var qo=pn({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:Qo.QT_WATERFALL_SECTION_TYPE_LIST},fetchPendingData:{type:Function,default:null},arrangeType:{type:String,default:"TB"},cachePool:{type:Object,default:{}}},setup(e,t){const n=R();return{blockDirections:["left","right"],onItemBind:function(e){n.isLoggable(P.DEBUG)&&n.d(zo,"----------onItemBind--------------\x3e>>",e)},onItemClick:function(e){n.isLoggable(P.DEBUG)&&n.d(zo,"----------onItemClick--------------\x3e>>",e)},onItemRecycled:function(e){n.isLoggable(P.DEBUG)&&n.d(zo,"----------onItemRecycled--------------\x3e>>",e)},onItemFocused:function(e){n.isLoggable(P.DEBUG)&&n.d(zo,"----------onItemFocused--------------\x3e>>",e)}}}});const Ho={class:"qt-ui-section-tab-list-root",focusable:!1,flexStyle:"${style}",gradientBackground:"${style.gradientBackground}",blockFocusDirections:["right"],clipChildren:!1,useAdvancedFocusSearch:!0,bringFocusChildToFront:!0},jo=(e=>(g("data-v-6aa2cfd4"),e=e(),_(),e))((()=>m("img",{postDelay:300,flexStyle:"${imgTitleStyle}",focusable:!1,src:"${imgTitle}"},null,-1))),Ko=["type"];qo.render=function(e,n,l,c,s,u){const r=a("text-view"),d=a("qt-poster"),f=a("tv-list"),T=a("tv-item");return t(),i(T,{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",Ho,[p(r,{class:"tab-list-section-title-text-css",postDelay:300,autoWidth:"",autoHeight:"",flexStyle:"${titleStyle}",focusable:!1,textSize:"${titleStyle.fontSize}",text:"${title}"}),jo,p(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((()=>[p(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:""},[p(r,{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,Ko),o(e.$slots,"default")])),_:3},8,["cachePool","enablePlaceholder","blockFocusDirections"])])])),_:3},8,["type","onItemClick","onItemBind","onItemUnbind","onItemFocused"])},qo.__scopeId="data-v-6aa2cfd4",qo.__file="src/waterfall/section/list-section.vue";var Zo=pn({name:"loading-section"});const Xo={focusable:!1,type:-1,keyName:"_id",class:"loading-section-css",gradientBackground:"${style.gradientBackground}"};Zo.render=function(e,o,i,l,c,s){const u=a("qt-loading-view");return t(),n("div",Xo,[p(u,{class:"loading-section-loading-css"})])},Zo.__scopeId="data-v-48609f24",Zo.__file="src/waterfall/section/loading-section.vue";var Jo=pn({name:"end-section",setup:()=>({})});const ea={keyName:"_id",type:-1001,focusable:!1,flexStyle:"${style}",gradientBackground:"${style.gradientBackground}",class:"qt-waterfall-end-section-css"};Jo.render=function(e,o,i,l,c,s){const u=a("text-view");return t(),n("div",ea,[p(u,{focusable:!1,gravity:"center",flexStyle:"${titleStyle}",class:"qt-waterfall-end-section-text-css",textSize:"${titleStyle.fontSize}",text:"${title}"})])},Jo.__scopeId="data-v-70b82c43",Jo.__file="src/waterfall/section/end-section.vue";var ta=pn({props:{plateTitleLeftMargin:{type:Number,default:0},type:{type:Number,default:Qo.QT_WATERFALL_SECTION_TYPE_TITLE}},setup:(e,t)=>({})});const na=["type"];ta.render=function(e,o,i,l,s,u){const r=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},[p(r,{class:"section-title-text-css",postDelay:300,style:c({marginLeft:e.plateTitleLeftMargin+"px"}),focusable:!1,textSize:"${titleStyle.fontSize}",text:"${title}"},null,8,["style"])],8,na)},ta.__scopeId="data-v-20428d40",ta.__file="src/waterfall/section/section-title.vue";var oa=pn({name:"blank-section",setup:()=>({})});const aa={focusable:!1,type:-1e3,keyName:"_id",flexStyle:"${style}",gradientBackground:"${style.gradientBackground}",class:"qt-ui-waterfall-blank-section"};oa.render=function(e,o,a,i,l,c){return t(),n("div",aa)},oa.__scopeId="data-v-eeab4d88",oa.__file="src/waterfall/section/blank-section.vue";var ia=pn({name:"card-section",setup(e,t){const n=R();return{onFocus:function(e){n.isLoggable(P.DEBUG)&&n.d("card-section","------onFocus---------\x3e>>>",e),t.emit("focus",e)}}}});const la={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};ia.render=function(e,o,i,l,c,s){const u=a("text-view"),r=a("es-card-container");return t(),n("div",la,[p(u,{class:"qt-ui-waterfall-card-section-title-css",postDelay:300,flexStyle:"${titleStyle}",focusable:!1,textSize:"${titleStyle.fontSize}",text:"${title}"}),p(r,{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"])])},ia.__scopeId="data-v-43a44788",ia.__file="src/waterfall/section/card-section.vue";var ca,sa=pn({name:"vue-section",props:{blockFocusDirections:{type:Array,default:()=>["left","right"]}},setup:(e,t)=>({onSectionBind:function(){}})});function ua(e,t){const n=[];if(t&&t.length>0)for(let o=0;o<t.length;o++){let a=ra(e,t[o]);n.push(a)}return n}function ra(e,t){let n=0;return t.itemList.length>0&&t.type==Qo.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 u=e.style.height??0,r=e.style.width??0;e.decoration;let d=0,f=0,I=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>r&&(f+=I+n,I=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>u&&(u=o.layout[1]+i+s),i+l+s>I&&(I=i+l+s),d+=a+n+t+c}}return u+a+i+l+c+s}(t),t.style.height=n),t}function da(){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=[]}}}sa.render=function(e,n,l,c,s,u){const r=a("tv-item");return t(),i(r,{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"])},sa.__scopeId="data-v-f8447724",sa.__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"}(ca||(ca={}));const fa="qt-waterfall";var Ia,Ta,pa=pn({name:"qt-waterfall",emits:["onScroll","onScrollStateChanged","onItemClick","onItemFocused","onSectionBind","onSectionAttached","onSectionDetached"],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:()=>{}}},setup(t,n){const o=R();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(ca.QT_WATERFALL_VISIBLE_TYPE_CENTER),c=e();let s;const u=da();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 u.getSectionList()},setSectionList:function(e){if(!s)return;o.isLoggable(P.DEBUG)&&o.d(fa,"-------1---setSectionList--------------\x3e>>"),u.destroy();const t=u.addSectionList(e);o.isLoggable(P.DEBUG)&&o.d(fa,"-------2---setSectionList--------------\x3e>>",t);const n=ua(s,e);o.isLoggable(P.DEBUG)&&o.d(fa,"----------setSectionList-----最终数据---------\x3e>>",n),c.value?.setListData(n)},addSectionList:function(e){if(!s)return;u.addSectionList(e);const t=ua(s,e);o.isLoggable(P.DEBUG)&&o.d(fa,"----------addSectionList-----最终数据---------\x3e>>",t),c.value?.addListData(t)},deleteSection:function(e,t){const n=u.deleteSection(e,t);o.isLoggable(P.DEBUG)&&o.d(fa,"----------deleteSection-----最终数据---------\x3e>>",n),c.value?.deleteItem(e,t)},updateSection:function(e,t){u.updateSection(e,t);const n=ra(0,t);o.isLoggable(P.DEBUG)&&o.d(fa,"----------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];u.updateSection(e+t,a);const i=ra(0,a);i&&o.push(i)}c.value?.updateItemList(e,t,o)},getSection:function(e){return u.getSection(e)},addItemList:function(e,t){u.addItemList(e,t);const n=u.getSection(e);if(n){const t=ra(0,n);c.value?.updateItem(e,t)}},deleteItem:function(e,t,n){u.deleteItem(e,t,n);const o=u.getSection(e);if(o){const t=ra(0,o);c.value?.updateItem(e,t)}},updateItem:function(e,t,n){u.updateItem(e,t,n);const o=u.getSection(e);if(o){const t=ra(0,o);c.value?.updateItem(e,t)}},updateItemList:function(e,t,n,o){u.updateItemList(e,t,n,o);const a=u.getSection(e);if(a){const t=ra(0,a);c.value?.updateItem(e,t)}},getItem:function(e,t){return u.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(P.DEBUG)&&o.d(fa,"----------onItemClick--------------\x3e>>",e,"sectionIndex:"+e.parentPosition+" position:"+e.position+" "),n.emit("onItemClick",e.parentPosition,e.position,e.item)},onItemFocused:function(e){o.isLoggable(P.DEBUG)&&o.d(fa,"----------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(P.DEBUG)&&o.d(fa,"----------onSectionBind--------------\x3e>>",e);let t=e.pageIndex??-1;n.emit("onSectionBind",t,e.position)}},onSectionAttached:function(e){if(e){o.isLoggable(P.DEBUG)&&o.d(fa,"----------onSectionAttached--------------\x3e>>",e);let t=e.pageIndex??0;n.emit("onSectionAttached",t,e.position)}},onSectionDetached:function(e){if(e){o.isLoggable(P.DEBUG)&&o.d(fa,"----------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)},...to(c)}},components:{"flex-section":Vo,"list-section":qo,"section-title":ta,"loading-section":Zo,"end-section":Jo,"blank-section":oa,"card-section":ia,"vue-section":sa}});function ma(){const e=new Map,t=new Map;function n(n){const o={index:n,state:Ia.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,u=i(c,0,s),r=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!=Ia.QT_TAB_PAGE_STATE_COMPLETE&&(d.state=Ia.QT_TAB_PAGE_STATE_IDLE),l(),{pageIndex:n,sectionIndex:s,sectionCount:o.length,itemIndex:u,itemCount:r}},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),u=a(o);return c.splice(n,1,o),l(),{pageIndex:e,sectionIndex:n,sectionCount:1,itemIndex:s,itemCount:u}},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()}}}pa.render=function(e,n,l,c,s,r){const d=a("flex-section"),f=a("list-section"),T=a("loading-section"),m=a("end-section"),g=a("blank-section"),_=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:30,scrollYGreaterReferenceValue:30,shakePreCheckNumber:"4",blockFocusDirections:e.blockFocusDirections,onScrollStateChanged:e.onScrollStateChanged},{default:I((()=>[u(" 普通版块"),p(d,{"cache-pool":e.itemsPool,enablePlaceholder:e.enablePlaceholder,onFocus:e.onItemFocused},{default:I((()=>[o(e.$slots,"item")])),_:3},8,["cache-pool","enablePlaceholder","onFocus"]),u("一行滚动 多级tab"),p(f,{"cache-pool":e.itemsPool,enablePlaceholder:e.enablePlaceholder},{default:I((()=>[o(e.$slots,"list-item")])),_:3},8,["cache-pool","enablePlaceholder"]),u(" loading"),p(T),u(" end "),p(m),u(" blank "),p(g),u(" card "),p(_,{onFocus:e.onItemFocused},null,8,["onFocus"]),u(" vue "),p(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","blockFocusDirections","onScrollStateChanged"])},pa.__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"}(Ia||(Ia={})),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"}(Ta||(Ta={}));const ga="qt-tabs";var _a=pn({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"})}},setup(t,n){const o=e();e();const a=e(!0),i=e(1),l=R();N();const c=e(),s=ma();let u,r=[],d=-1,f=-1,I=-1;function T(e,t){const n=s.getTabPageDataState(e);n&&(n.state=t,s.setPageDataState(e,n))}function p(e){l.isLoggable(P.DEBUG)&&l.d(ga,"----设置数据---setPageStateReset->>>>pageIndex:"+e);const t=s.getTabPageDataState(e);t&&(t.state=Ia.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>r.length)return;const t=r[e];t.__pageNo=0}(e)}function m(e){l.isLoggable(P.DEBUG)&&l.d(ga,"----设置数据---setPageStateRecycled->>>>pageIndex:"+e);const t=s.getTabPageDataState(e);t&&(t.sectionBindIndex=0,t.state=Ia.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>r.length)return;const n=r[e];n.__pageNo=t}(e,1)}function g(e){if(e<0||e>r.length)return 0;const t=r[e];return null==t.__pageNo&&(t.__pageNo=0),t.__pageNo}function _(e){if(e<0||e>r.length)return;const t=r[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!==Ia.QT_TAB_PAGE_STATE_IDLE&&c.state!==Ia.QT_TAB_PAGE_STATE_INIT)l.isLoggable(P.DEBUG)&&l.d(ga,"------设置数据----loadPageData--状态不对--\x3e>>>",e);else{const c=s.getSectionList(e);a>=c.length-t.preloadNumber-1?(l.isLoggable(P.DEBUG)&&l.d(ga,"---------设置数据-----加载更多数据-----\x3e>>> pageIndex:"+e+" pageNo:"+i+" sectionIndex:"+a+" sectionListLength:"+c.length),T(e,Ia.QT_TAB_PAGE_STATE_BUSY),n.emit("onTabPageLoadData",e,i,o)):l.isLoggable(P.DEBUG)&&l.d(ga,"----设置数据------loadPageData--preloadNumber错误--\x3e>>>",e)}}function h(){clearTimeout(I),I=setTimeout((()=>{const e=s.getSectionListByState(d,Ta.QT_LIST_VIEW_ITEM_STATE_ATTACHED);(e?e.length:0)>0&&(e.forEach((e=>{l.isLoggable(P.DEBUG)&&l.d(ga,"----------notifyTabContentSectionAttached------\x3e>>> pageIndex"+d+" sectionIndex:",e.sectionIndex)})),n.emit("onTabPageSectionAttached",d,e))}),100)}function S(e,t){l.isLoggable(P.DEBUG)&&l.d(ga,"----------onWaterfallScroll----\x3e>>> offsetX:"+e+" scrollY:"+t),n.emit("onTabPageScroll",e,t)}function F(e,t,o){l.isLoggable(P.DEBUG)&&l.d(ga,"----------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};r=e.itemList,s.initTab(e),o.value?.setTabsData(t)},setAutoFocus:function(e,t){o.value?.setAutoFocus(e,t)},initPage:function(e){u=e},setPageState:T,setPageData:function(e,t){l.isLoggable(P.DEBUG)&&l.d(ga,"----------loadPageData----setPageData--\x3e>>>pageIndex:"+e),s.addSectionList(e,t.data);const n={data:ua(u,t.data),disableScrollOnFirstScreen:t.disableScrollOnFirstScreen??!1,firstFocusTargetID:t.firstFocusTargetID??"",useDiff:t.useDiff};l.isLoggable(P.DEBUG)&&l.d(ga,"---------设置数据-----setPageData------\x3e>>> pageIndex:"+e+" data:",n),_(e),o.value?.setPageData(e,n)},addPageData:function(e,t,n=0){s.addSectionList(e,t.data);const a={data:ua(u,t.data),disableScrollOnFirstScreen:t.disableScrollOnFirstScreen??!1,firstFocusTargetID:t.firstFocusTargetID??"",useDiff:t.useDiff};try{const t=g(e);0==t?(l.isLoggable(P.DEBUG)&&l.d(ga,"---------设置数据------setPageData---\x3e>>> pageIndex:"+e+" pageNo:"+t+" data:",a," deleteCount:"+n),o.value?.setPageData(e,a)):(l.isLoggable(P.DEBUG)&&l.d(ga,"---------设置数据------addPageData---\x3e>>> pageIndex:"+e+" pageNo:"+t+" data:",a," deleteCount:"+n),o.value?.addPageData(e,a,n))}catch(e){}_(e)},updatePageData:function(e,t){s.updateSectionList(e,t.data);const n={data:ua(u,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=ra(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=ra(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=ra(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(P.DEBUG)&&l.d(ga,"----------设置数据----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<r.length;e++){const n=s.getTabPageDataState(e);e!=t&&e!=f&&n&&n.state!=Ia.QT_TAB_PAGE_STATE_INIT&&m(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,u=e.params.state;switch(l.isLoggable(P.DEBUG)&&l.d(ga,"----------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,u.newState)}},onWaterfallItemClick:function(e,t,o){l.isLoggable(P.DEBUG)&&l.d(ga,"-----------onWaterfallItemClick---------------\x3e>>> sectionIndex:"+e+" itemIndex:"+t+" item:",o),n.emit("onTabPageItemClick",d,e,t,o)},onWaterfallItemFocused:function(e,t,o,a){l.isLoggable(P.DEBUG)&&l.d(ga,"-----------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(P.DEBUG)&&l.d(ga,"---------设置数据-----绑定回调----\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(P.DEBUG)&&l.d(ga,"----------loadPageData----bind--\x3e>>>pageIndex:"+e),v(e,!1,t)))},onWaterfallSectionAttached:function(e,t){l.isLoggable(P.DEBUG)&&l.d(ga,"-----------onWaterfallSectionAttached---------------\x3e>>> pageIndex:"+e+" sectionIndex:"+t),s.setSectionState(e,t,Ta.QT_LIST_VIEW_ITEM_STATE_ATTACHED),e==d&&h()},onWaterfallSectionDetached:function(e,t){l.isLoggable(P.DEBUG)&&l.d(ga,"-----------onWaterfallSectionDetached---------------\x3e>>> pageIndex:"+e+" sectionIndex:"+t),s.setSectionState(e,t,Ta.QT_LIST_VIEW_ITEM_STATE_DETACHED)},onWaterfallScroll:S,onWaterfallScrollStateChanged:F,onTabPageScrollToStart:function(e){const t=e.pageIndex;n.emit("onTabPageScrollToStart",t),l.isLoggable(P.DEBUG)&&l.d(ga,"----------onTabPageScrollToStart------\x3e>>> pageIndex:"+t)},onTabPageScrollToEnd:function(e){const t=e.pageIndex;n.emit("onTabPageScrollToEnd",t),l.isLoggable(P.DEBUG)&&l.d(ga,"----------onTabPageScrollToEnd------\x3e>>> pageIndex:"+t)},onTabChange:function(e){},onTabClick:function(e){n.emit("onTabClick",e)},getCurrentPageIndex:function(){return d},...to(o)}}});_a.render=function(e,n,l,c,r,d){const f=a("qt-nav-bar"),T=a("qt-waterfall"),m=a("recycler-view-pager"),g=a("tabs");return e.ifTabs?(t(),i(g,{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((()=>[p(f,{ref:"navBarRef",name:"tabList",focusable:!1,class:s(e.tabNavBarClass),sid:e.tabNavBarSid,"text-key":"text",nextFocusName:e.navBarNextFocusName,onTabFocus:e.onTabChange,onTabClick:e.onTabClick,clipChldren:!1,horizontal:e.horizontal},{default:I((()=>[o(e.$slots,"tab-item")])),_:3},8,["class","sid","nextFocusName","onTabFocus","onTabClick","horizontal"]),p(m,{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((()=>[p(T,{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"])):u("v-if",!0)},_a.__file="src/tab/index.vue";var va=pn({name:"qt-vue-section",setup(t,n){const o=e();return{onSectionBind:function(){},viewRef:o,...to(o)}}});va.render=function(e,n,l,c,s,u){const r=a("tv-item");return t(),i(r,{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"])},va.__scopeId="data-v-d02af3c2",va.__file="src/section/index.vue";var ha=pn({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,u=-1,r=[];let d=-1;let f=-1,I=-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})),r=e})),jt((()=>{i.value?.setListData(e),l.value?.setListData(c),setTimeout((()=>{s=t.currentFocusIndex,u=e[t.currentFocusIndex].navIndex,i.value?.scrollToFocused(s),l.value?.scrollToSelected(u,!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=r[s];e.isPlaying=!1,i.value?.updateItem(s,e)}let t=r[e.position];t.isPlaying=!0,i.value?.updateItem(e.position,t)}s=e.position,u!=e.item.navIndex&&(u=e.item.navIndex,l.value?.scrollToSelected(e.item.navIndex,!0)),n.emit("item-focused",e)}else u=e.item.navIndex}),300)},onFItemFocused:e=>{clearTimeout(f),clearTimeout(I),e.hasFocus&&u!=e.position&&(a.value=2,u=e.position,r[e.item.startIndex].isNeedFocus?(i.value?.scrollToIndex(e.item.startIndex,!0,t.yOffest),I=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),I=setTimeout((()=>{i.value?.setItemSelected(e.item.startIndex+1,!0),f=setTimeout((()=>{a.value=1}),200)}),400)))},updateItem:(e,t)=>{r[e]=t,r.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,r[e])},viewRef:o,...to(o)}}});const Sa={focusable:!1,clipChildren:!1,ref:"viewRef"},Fa=["focusScale"],Ea=m("img",{class:"coverV",src:"${coverV}",focusable:!1,postDelay:300},null,-1),ba=m("img",{src:"${mask}",class:"titMask",focusable:!1,postDelay:300,showIf:"${isPlaying}"},null,-1),Aa={focusable:!1,class:"clv_item_text_box",showIf:"${isPlaying}"},ya={class:"playMark",focusable:!1},Ra=["type"],Pa=m("div",{class:"line",focusable:!1,showOnState:"selected",duplicateParentState:!0},null,-1),Na=m("div",{duplicateParentState:!0,class:"nav_item_text_focused",showOnState:"focused",focusable:!1,gradientBackground:{colors:["#FF2F7CEB","#FF1163D8"],cornerRadius:40}},null,-1),Ua={class:"nav_item_text",focusable:!1,duplicateParentState:!0};ha.render=function(e,i,l,r,d,f){const T=a("play-mark"),g=a("text-view"),_=a("qt-list-view");return t(),n("div",Sa,[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},[Ea,ba,m("div",Aa,[m("div",ya,[p(T,{style:c([{width:"28px",height:"20px"},{"margin-left":"16px"}]),markColor:"#ffffff",gap:-1,focusable:!1})]),p(g,{focusable:!1,ellipsizeMode:2,fontSize:30,gravity:"centerVertical",lines:1,maxLines:1,class:"clv_item_text",text:"${assetTitle}",paddingRect:[6,0,0,0]})])],8,Fa),o(e.$slots,"item")])),_:3},8,["class","onItemClick","descendantFocusability","onItemFocused"]),u(" listview first nav "),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},[Pa,Na,m("div",Ua,[p(g,{focusable:!1,ellipsizeMode:2,duplicateParentState:!0,fontSize:44,gravity:"center",lines:1,class:"text_selected",text:"${categoryname}",showOnState:["selected"]}),p(g,{focusable:!1,ellipsizeMode:2,duplicateParentState:!0,fontSize:44,gravity:"center",lines:1,maxLines:1,class:"text",text:"${categoryname}",showOnState:"focused"}),p(g,{focusable:!1,ellipsizeMode:2,duplicateParentState:!0,fontSize:44,gravity:"center",lines:1,class:"text",text:"${categoryname}",showOnState:["normal"]})])],8,Ra),o(e.$slots,"navItem")])),_:3},8,["class","onItemClick","onItemFocused"])],512)},ha.__file="src/classified-list-view/index.vue";var La=l({name:"media-series-number-item",props:{isVip:{type:Boolean,default:!1}}});const Da={class:"number-item-container",focusable:!0,focusScale:1},xa={class:"number-item-text-root-css",duplicateParentState:!0},Oa={style:{position:"absolute","flex-direction":"row","justify-content":"center","align-items":"center",width:"160px",height:"80px","background-color":"transparent"},showOnState:"selected",duplicateParentState:!0},Ca={class:"media-series-number-item-vip-root",showIf:"${vip.enable}",gradientBackground:{colors:["#FFB67827","#FFDBAF5C"],cornerRadius:4,orientation:6}};La.render=function(e,o,i,l,c,s){const r=a("play-mark"),d=a("text-view");return t(),n("div",Da,[u(" 文字"),m("div",xa,[m("div",Oa,[p(r,{duplicateParentState:!0,flexStyle:"${normalMarkStyle}",style:{width:"24px",height:"25px",position:"absolute",left:"20px"},markColor:"#FF4E46"}),p(r,{duplicateParentState:!0,flexStyle:"${vipMarkStyle}",style:{width:"24px",height:"25px",position:"absolute",left:"20px"},markColor:"#FFD97C"})]),p(d,{duplicateParentState:!0,fontSize:36,gravity:"center",autoWidth:"",lines:1,flexStyle:"${normalTitleStyle}",class:"number-item-text-css",text:"${title}"}),p(d,{duplicateParentState:!0,fontSize:36,gravity:"center",flexStyle:"${vipTitleStyle}",autoWidth:"",class:"number-item-text-vip-css",lines:1,text:"${title}"})]),u(" vip角标 "),m("div",Ca,[p(d,{duplicateParentState:!0,class:"media-series-number-item-vip-text",fontSize:20,gravity:"center",text:"${vip.text}"})])])},La.__scopeId="data-v-4afb8987",La.__file="src/series/item/media-series-number-item.vue";var ka=l({name:"media-series-text-item",props:{isVip:{type:Boolean,default:!1}}});const wa={class:"text-item-container",focusable:!0,focusScale:1},Ma={class:"text-item-container-css",style:{position:"absolute","align-items":"center","background-color":"transparent"},duplicateParentState:!0},Ba={style:{position:"absolute","flex-direction":"row","justify-content":"center","align-items":"center",width:"490px",height:"100px","background-color":"transparent"},showOnState:"selected",duplicateParentState:!0},Qa={class:"media-series-text-item-vip-root",showIf:"${vip.enable}",gradientBackground:{colors:["#FFB67827","#FFDBAF5C"],cornerRadius:4,orientation:6}};ka.render=function(e,o,i,l,c,s){const u=a("play-mark"),r=a("text-view");return t(),n("div",wa,[m("div",Ma,[m("div",Ba,[p(u,{duplicateParentState:!0,flexStyle:"${normalMarkStyle}",style:{width:"24px",height:"25px",position:"absolute",left:"20px","margin-right":"10px"},markColor:"#FF4E46"}),p(u,{duplicateParentState:!0,flexStyle:"${vipMarkStyle}",style:{width:"24px",height:"25px",position:"absolute",left:"20px","margin-right":"10px"},markColor:"#FFD97C"})]),p(r,{duplicateParentState:!0,maxLines:1,ellipsizeMode:2,flexStyle:"${normalTitleStyle}",fontSize:30,class:"text-item-text",gravity:"centerVertical",text:"${title}"}),p(r,{duplicateParentState:!0,maxLines:1,ellipsizeMode:2,flexStyle:"${vipTitleStyle}",fontSize:30,class:"text-item-text-vip",gravity:"centerVertical",text:"${title}"})]),m("div",Qa,[p(r,{duplicateParentState:!0,class:"media-series-text-item-vip-text",fontSize:20,gravity:"center",text:"${vip.text}"})])])},ka.__scopeId="data-v-4859f623",ka.__file="src/series/item/media-series-text-item.vue";var $a,Ga,Va=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=R();S((()=>{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):jt((()=>{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=>{jt((()=>{i.isLoggable(P.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 Wa(e,t,n,o){const a=function(e,t,n,o){switch(e){case $a.QT_MEDIA_SERIES_TYPE_LEFT_RIGHT:break;case $a.QT_MEDIA_SERIES_TYPE_NUMBER:return 80;case $a.QT_MEDIA_SERIES_TYPE_TEXT:return 100;case $a.QT_MEDIA_SERIES_TYPE_TOP_DOWN:}return-1}(e);switch(e){case $a.QT_MEDIA_SERIES_TYPE_TOP_DOWN:case $a.QT_MEDIA_SERIES_TYPE_TEXT:return{contentWidth:1740,itemGap:36,initPosition:o.initPosition,contentHeight:a};case $a.QT_MEDIA_SERIES_TYPE_NUMBER:return{contentWidth:1740,itemGap:15.6,initPosition:o.initPosition,contentHeight:a};case $a.QT_MEDIA_SERIES_TYPE_LEFT_RIGHT:return{}}}Va.render=function(e,n,l,s,r,d){const f=a("select-series"),T=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(T,{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"])):u("v-if",!0)},Va.__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"}($a||($a={})),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"}(Ga||(Ga={}));var Ya,za,qa,Ha,ja=l({name:"qt-media-series",components:{"media-series-number-item":La,"media-series-text-item":ka,"media-series":Va},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}=to(o),c=e(!1),s=R(),u=e(),r=e(),d=e(),f=e(),I=e(0),T=e(!1),p=e($a.QT_MEDIA_SERIES_TYPE_NUMBER);let m;return{isVip:T,seriesType:p,params:u,commonParams:r,scrollParams:d,groupParams:f,mediaSeriesRef:o,show:c,height:I,onLoadData:e=>{n.emit("load-data",e)},setInitData:(e,n,a,i)=>{p.value=e,m=i,$a.QT_MEDIA_SERIES_TYPE_LEFT_RIGHT!==e?(r.value=Wa(e,0,0,i),d.value=function(e,t,n,o){if(e===$a.QT_MEDIA_SERIES_TYPE_NUMBER)return{scrollType:1,pageDisplayCount:10,paddingForPageLeft:0,paddingForPageRight:0}}(e),f.value=function(e,t,n,o){const a={};return t.enable&&(a.groupSize=t.size,n==Ga.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"})),a}(0,n,a),$a.QT_MEDIA_SERIES_TYPE_CUSTOM==e?I.value=t.itemHeight+(n.enable?70:0):I.value=function(e,t,n,o){switch(e){case $a.QT_MEDIA_SERIES_TYPE_LEFT_RIGHT:break;case $a.QT_MEDIA_SERIES_TYPE_NUMBER:return 80+(t.enable?70:0);case $a.QT_MEDIA_SERIES_TYPE_TEXT:return 100+(t.enable?70:0);case $a.QT_MEDIA_SERIES_TYPE_TOP_DOWN:}return-1}(e,n),jt((()=>{o.value&&o.value?.setInitData(i.totalCount,i.pageSize)})),s.isLoggable(P.DEBUG)&&s.d("MediaSeries","----setInitData----\x3e>>>",I.value)):(u.value=function(e,t,n,o){const a=n==Ga.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),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,u),u.value.totalCount=i.totalCount,u.value.pageSize=i.pageSize),c.value=!0},setPageData:(e,t)=>{let n=t;p.value==$a.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,u=s>9?""+s:"0"+s;const r={id:n.id,title:u,vip:n.vip};n.vip&&n.vip.enable?(r.vipTitleStyle=a,r.vipMarkStyle=l,r.normalTitleStyle=i,r.normalMarkStyle=i):(r.vipTitleStyle=i,r.vipMarkStyle=i,r.normalTitleStyle=a,r.normalMarkStyle=l),o.push(r)}))}return o}(e,m.pageSize,t):p.value==$a.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,m.pageSize,t):(p.value==$a.QT_MEDIA_SERIES_TYPE_LEFT_RIGHT||p.value==$a.QT_MEDIA_SERIES_TYPE_TOP_DOWN)&&(n=function(e,t,n){return n}(0,m.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&&y.callUIFunction(o.value,"blockRootFocus",[])},unBlockRootFocus:()=>{o.value&&y.callUIFunction(o.value,"unBlockRootFocus",[])},clearFocus:a,requestFocusDirectly:i,setVisibility:l}}});ja.render=function(e,n,l,c,s,r){const d=a("media-series-number-item"),f=a("media-series-text-item"),T=a("media-series");return e.show?(t(),i(T,{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}):u("v-if",!0)])),_:3},8,["init-param","height","custom-item","scroll-param","group-param","common-param","onLoadData","onItemClick","onItemFocused","onGroupItemFocused"])):u("v-if",!0)},ja.__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"}(Ya||(Ya={})),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"}(za||(za={})),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"}(qa||(qa={})),function(e){e.QT_ANIMATION_VALUE_TYPE_INT="ofInt",e.QT_ANIMATION_VALUE_TYPE_FLOAT="ofFloat"}(Ha||(Ha={}));const Ka="QTCollapse";var Za,Xa,Ja,ei,ti,ni,oi,ai,ii,li,ci,si,ui,ri,di,fi,Ii=pn({name:"qt-collapse",emits:["onCollapseItemExpand"],setup(t,n){const o=R(),a=e();let i,l,c=e();const s=e(0),u=e(0);let r=200;const d={};const f={};function I(e){return f[`${e}`]}function T(e,t){const a=i[e],l=a.__y,c=u.value-a.height-l;o.isLoggable(P.DEBUG)&&o.d(Ka,"-------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=m(n);t&&t.onCollapseItemExpand(n==e)}catch(e){}const u=I(n);u&&(o.isLoggable(P.DEBUG)&&o.d(Ka,"-------expandItem----translationY---\x3e>>>",a,n,a.__translationY,c+s),p(n+"",a,u,a.__translationY,c+s,t))}try{n.emit("onCollapseItemExpand",e,a)}catch(e){}}function p(e,t,n,o,a,i){n.objectAnimator2(e,Ha.QT_ANIMATION_VALUE_TYPE_FLOAT,za.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Y,o,a,i,-1,0,!1,!1),n.startAnimator(e),t.__translationY=a}function m(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,u.value=e.height,r=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=u.value-t,e.__translationY=0}o.isLoggable(P.DEBUG)&&o.d(Ka,"----initCollapseItem----\x3e>>>",i)}(),F((()=>{T(l,0)}))},getItem:m,expandItem:function(e){T(e,r)},collapse:function(){const e=i.length,t=i[e-1],n=t.__y,o=u.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=m(t);e&&e.onCollapseItemExpand(!1)}catch(e){}const n=I(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=m(e);t&&t.onCollapseItemExpand(!0)}catch(e){}const n=I(e);n&&p(e+"",t,n,t.__translationY,0,0)}},collapseWidth:s,collapseHeight:u,viewRef:a,...to(a)}}});Ii.render=function(e,o,l,s,u,r){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(T,null,E(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(b(n),{key:n.name,class:"qt-collapse-item-css",ref_for:!0,ref:t=>e.initComponentRef(t,n,o)}))])),_:2},1536)))),256))],4)},Ii.__scopeId="data-v-4feca809",Ii.__file="src/collapse/index.vue",function(e){e.VISIBLE="visible",e.INVISIBLE="invisible",e.GONE="gone"}(Za||(Za={})),function(e){e.QT_DIRECTION_UP="up",e.QT_DIRECTION_DOWN="down",e.QT_DIRECTION_RIGHT="right",e.QT_DIRECTION_LEFT="left"}(Xa||(Xa={})),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"}(Ja||(Ja={})),function(e){e[e.QT_NAV_BAR_ITEM_TYPE_TEXT=2e4]="QT_NAV_BAR_ITEM_TYPE_TEXT"}(ei||(ei={})),function(e){e[e.QT_TAB_ITEM_TYPE_DEFAULT=2e4]="QT_TAB_ITEM_TYPE_DEFAULT"}(ti||(ti={})),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"}(ni||(ni={})),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"}(oi||(oi={})),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"}(ai||(ai={})),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"}(ii||(ii={})),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"}(li||(li={})),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"}(ci||(ci={})),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"}(si||(si={})),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"}(ui||(ui={})),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"}(ri||(ri={})),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"}(di||(di={})),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"}(fi||(fi={}));const Ti=[no,ao,io,co,uo,fo,Eo,Uo,wo,pa,_a,ha,va,ja,Ii],pi=t=>{t.component("qt-loading-view",{setup(t,n){const o=e();return n.expose({viewRef:o,...to(o)}),()=>A("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})}},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();U();let a=[],i=[],l=[],c="",s=-1,u=!1,r=-1,I=-1,T=-1,p=-1;d((()=>{t.openPage&&(s=1,u=!1,t.loadMore(s))}));const m=(e,n)=>{n||(x(),s>1&&(s=0),a=Fo(e),g(a,-1),i=e,t.openPage?h(a.concat([{_id:"",type:1002,decoration:t.loadingDecoration}])):h(a),t.defaultFocus>-1&&(T&&clearTimeout(T),T=setTimeout((()=>{D(t.defaultFocus)}),500)));let o={get(e,n,i){if("__ob__"!=n&&"symbol"!=typeof n&&"map"!=n&&"length"!=n&&"constructor"!=n&&"_isVue"!=n&&"valueOf"!=n&&"toString"!=n&&"observeArray"!=n&&"dep"!=n&&"notify"!=n&&"subs"!=n&&"slice"!=n)if(l.push(n),-1!=l.indexOf("push"))c="push";else{if(-1!=l.indexOf("splice"))return c="splice",function(...t){return e.splice(...t),-1!=l.indexOf("list")?(a[l[0]].list.splice(...t),b(Number(l[0]),a[l[0]])):1==t.length?0==t[0]?h([]):E(Number(t[0]),a.length-t[0]+1):2==t.length?E(Number(t[0]),t[1]):t.length>2&&(0==t[1]?P(t[0],t.slice(2)):R(t[0],t[1],t.slice(2))),a.splice(t[0],...t.slice(1)),c="",l=[],Reflect.get(e,n,i)};if(-1!=l.indexOf("pop"))return c="pop",function(){return e.pop(),-1!=l.lastIndexOf("list")?(a[l[0]].list.pop(),b(Number(l[0]),a[l[0]])):(E(Number(a.length-1),1),a.pop()),c="",l=[],Reflect.get(e,n,i)};if(-1!=l.indexOf("forEach"))return c="forEach",function(o){return e.forEach((e=>{o(e)})),a=[],a=Fo(e),t.openPage?h(a.concat([{_id:"",type:1002,decoration:t.loadingDecoration}])):h(a),c="",l=[],Reflect.get(e,n,i)};if(-1!=l.indexOf("concat"))return c="concat",function(s){return e=e.concat(s),-1!=l.lastIndexOf("list")?(a[l[0]].list=a[l[0]].list.concat(s),b(Number(l[0]),a[l[0]])):(a=a.concat(s),t.openPage&&!u?setTimeout((()=>{F(s.concat([{type:"1002",decoration:t.loadingDecoration}]),1)}),300):S(s)),c="",l=[],Reflect.get(e,n,i),new Proxy(e,o)};c=""}const s=Reflect.get(e,n,i);return _(s)&&"__ob__"!=n&&"dep"!=n&&"subs"!=n?m(s,!0):(-1==l.indexOf("push")&&(l=[]),s)},set(e,n,o,s){const r=e[n];v(e,n);const d=Reflect.set(e,n,o,s);if((!_(r)&&r!==o||_(r))&&"push"!=c)if(l.push(n),-1!=l.lastIndexOf("list")){let e=l.lastIndexOf("list"),t=l.lastIndexOf("list")+2,n={};for(let e=0;e<t;e++){let t=l[e];n=n?n[t]:i[t]}n.name="name"+l[e-1]+l[e+1],b(Number(l[0]),i[l[0]]),a[l[0]].list[l[e+1]]=i[l[0]].list[l[e+1]],a[l[0]].list[l[e+1]].name="name"+l[e-1]+l[e+1]}else a[l[0]]=i[l[0]],a[l[0]].name="name"+l[0],b(Number(l[0]),i[l[0]]);if(n&&"push"==c&&r!==o)-1!=l.lastIndexOf("list")?(l.push(n),a[l[0]].list.push(o)):(l.push(n),a.push(o));else{if("push"==c)if(-1!=l.lastIndexOf("list"))b(Number(l[0]),a[l[0]]);else{let e=a.slice(l[1]);p&&clearTimeout(p),p=t.openPage&&!u?setTimeout((()=>{F(e.concat([{_id:"",type:1002,decoration:t.loadingDecoration}]),1)}),300):setTimeout((()=>{S(e)}),300)}c="",l=[]}return d}};return new Proxy(e,o)},g=(e,t)=>{for(let n=0;n<e.length;n++){const o=e[n];o.name=t>=0?"name"+t+n:"name"+n,o.list&&o.list.length>0&&g(o.list,n)}},_=e=>null!==e&&"object"==typeof e,v=(e,t)=>{Object.hasOwnProperty.call(e,t)},h=e=>{r&&clearTimeout(r),r=setTimeout((()=>{y.callUIFunction(o.value,"setListData",e)}),100)},S=e=>{y.callUIFunction(o.value,"addListData",e)},F=(e,t)=>{y.callUIFunction(o.value,"addListDataWithParams",[e,t])},E=(e,t)=>{y.callUIFunction(o.value,"deleteItemRange",[e,t])},b=(e,t)=>{y.callUIFunction(o.value,"updateItem",[e,t])},R=(e,t,n)=>{y.callUIFunction(o.value,"updateItemRange",[e,t,n])},P=(e,t)=>{y.callUIFunction(o.value,"insertItemRange",[e,t])},N=(e,t)=>{y.callUIFunction(o.value,"setSelectChildPosition",[e,t])},L=e=>{y.callUIFunction(o.value,"scrollToPosition",[e])},D=e=>{y.callUIFunction(o.value,"requestChildFocus",[e])},x=()=>{a=[],i.length=0,l=[],u=!1,c="",r&&clearTimeout(r),T&&clearTimeout(T),p&&clearTimeout(p),I&&clearTimeout(I)};return f((()=>{s=1,x()})),n.expose({viewRef:o,init:m,updateItemName:g,hasChanged:(e,t)=>e!==t&&(e==e||t==t),scrollToIndex:(e,t,n)=>{y.callUIFunction(o.value,"scrollToPositionWithOffset",[e,n,t])},updateItem:b,updateItemList:R,hasFocus:e=>{y.callUIFunction(o.value,"hasFocus",(t=>{e(t)}))},updateItemProps:(e,t,n)=>{y.callUIFunction(o.value,"updateItemProps",[t,e,n,!0])},setListData:h,insertItem:P,addListData:S,addListDataWithParams:F,dispatchItemFunction:(e,t,n,a)=>{y.callUIFunction(o.value,"dispatchItemFunction",[e,t,n,a])},deleteItem:E,setBlockFocusDirectionsOnFail:e=>{y.callUIFunction(o.value,"setBlockFocusDirectionsOnFail",[e])},setListDataWithParams:(e,t)=>{y.callUIFunction(o.value,"setListDataWithParams",[e,t])},prepareForRecycle:()=>{y.callUIFunction(o.value,"prepareForRecycle",[])},setDisplay:e=>{y.callUIFunction(o.value,"setDisplay",[e])},scrollToTop:()=>{y.callUIFunction(o.value,"scrollToTop",[])},changeDisplayState:(e,t)=>{y.callUIFunction(o.value,"changeDisplayState",[e,t])},notifySaveInstance:()=>{y.callUIFunction(o.value,"notifySaveInstance",[])},notifyRestoreInstance:()=>{y.callUIFunction(o.value,"notifyRestoreInstance",[])},pausePostTask:()=>{y.callUIFunction(o.value,"pausePostTask",[])},resumePostTask:()=>{y.callUIFunction(o.value,"resumePostTask",[])},getScrollOffset:e=>{y.callUIFunction(o.value,"getScrollOffset",[],e)},scrollToPosition:L,scrollToFocused:e=>{L(e),D(e)},scrollToSelected:(e,t)=>{L(e),N(e,t)},scrollToPositionOffset:(e,t,n,a,i)=>{y.callUIFunction(o.value,"scrollToPositionWithOffset",[t,a,n])},destroy:()=>{y.callUIFunction(o.value,"destroy",[])},startScroll:(e,t,n)=>{y.callUIFunction(o.value,"startScroll",[{focusPosition:e,scrollToPosition:t,scrollOffset:n}])},setItemFocused:D,clearPostTask:()=>{y.callUIFunction(o.value,"clearAllPostTask",[])},setItemSelected:N,blockRootFocus:()=>{y.callUIFunction(o.value,"blockRootFocus",[])},unBlockRootFocus:()=>{y.callUIFunction(o.value,"unBlockRootFocus",[])},setBackgroundColor:e=>{y.callUIFunction(o.value,"setBackgroundColor",[e])},stopPage:()=>{I&&clearTimeout(I),I=setTimeout((()=>{E(a.length,1)}),400),u=!0},setAutoFocus:function(e,t){y.callUIFunction(o.value,"setAutoFocus",[e,t])},...to(o)}),()=>{const e=n.slots.default&&n.slots.default();return A("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=>{let o=t.preloadNo;t.preloadNo<0&&(o=0),t.preloadNo>a.length-1&&(o=0),e.position==a.length-1-o&&(s++,t.loadMore(s)),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)=>{y.callUIFunction(o.value,"updateItem",[e,t])},dispatchItemFunction:(e,t,n,a)=>{y.callUIFunction(o.value,"dispatchItemFunction",[e,t,n,a])},updateItemProps:(e,t,n)=>{y.callUIFunction(o.value,"updateItemProps",[t,e,n,!0])},batch:e=>{y.callUIFunction(o.value,"batch",[e])},...to(o)}),()=>{const e=n.slots.default&&n.slots.default();return A("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();S((()=>{a(!0),l(!0),r(!0),s(!0),u(!0),c(!0),T(!0),f(!0),d(!0),I(!0),i(1),p(2)}));const a=e=>{y.callUIFunction(o.value,"setJavaScriptEnabled",[e],(e=>{}))},i=e=>{y.callUIFunction(o.value,"setPluginState",[e],(e=>{}))},l=e=>{y.callUIFunction(o.value,"setJavaScriptCanOpenWindowsAutomatically",[e],(e=>{}))},c=e=>{y.callUIFunction(o.value,"setUseWideViewPort",[e],(e=>{}))},s=e=>{y.callUIFunction(o.value,"setSupportZoom",[e],(e=>{}))},u=e=>{y.callUIFunction(o.value,"setBuiltInZoomControls",[e],(e=>{}))},r=e=>{y.callUIFunction(o.value,"setAllowFileAccess",[e],(e=>{}))},d=e=>{y.callUIFunction(o.value,"setDomStorageEnabled",[e],(e=>{}))},f=e=>{y.callUIFunction(o.value,"setAppCacheEnabled",[e],(e=>{}))},I=e=>{y.callUIFunction(o.value,"setGeolocationEnabled",[e],(e=>{}))},T=e=>{y.callUIFunction(o.value,"setSupportMultipleWindows",[e],(e=>{}))},p=e=>{y.callUIFunction(o.value,"setCacheMode",[e],(e=>{}))};return n.expose({loadUrl:e=>{y.callUIFunction(o.value,"loadUrl",[e],(e=>{}))},evaluateJavascript:e=>new Promise(((t,n)=>{y.callUIFunction(o.value,"evaluateJavascript",[e],(e=>{t(e)}))})),canGoBack:()=>{y.callUIFunction(o.value,"canGoBack",[],(e=>{n.emit("onCanGoBack",e)}))},goBack:()=>{y.callUIFunction(o.value,"goBack",[],(e=>{}))},canGoForward:()=>{y.callUIFunction(o.value,"canGoForward",[],(e=>{n.emit("onCanGoForward",e)}))},goForward:()=>{y.callUIFunction(o.value,"goForward",[],(e=>{}))},canGoBackOrForward:e=>{y.callUIFunction(o.value,"canGoBackOrForward",[e],(e=>{n.emit("onCanGoBackOrForward",e)}))},goBackOrForward:e=>{y.callUIFunction(o.value,"goBackOrForward",[e],(e=>{}))},onResume:()=>{y.callUIFunction(o.value,"onResume",[],(e=>{}))},onPause:()=>{y.callUIFunction(o.value,"onPause",[],(e=>{}))},pauseTimers:()=>{y.callUIFunction(o.value,"pauseTimers",[],(e=>{}))},resumeTimers:()=>{y.callUIFunction(o.value,"resumeTimers",[],(e=>{}))},destroy:()=>{y.callUIFunction(o.value,"destroy",[],(e=>{}))},setJavaScriptEnabled:a,setPluginState:i,setJavaScriptCanOpenWindowsAutomatically:l,setUseWideViewPort:c,setLoadWithOverviewMode:e=>{y.callUIFunction(o.value,"setLoadWithOverviewMode",[e],(e=>{}))},setSupportZoom:s,setBuiltInZoomControls:u,setDisplayZoomControls:e=>{y.callUIFunction(o.value,"setDisplayZoomControls",[e],(e=>{}))},setAllowFileAccess:r,setDomStorageEnabled:d,setDatabaseEnabled:e=>{y.callUIFunction(o.value,"setDatabaseEnabled",[e],(e=>{}))},setAppCacheEnabled:f,setAppCachePath:e=>{y.callUIFunction(o.value,"setAppCachePath",[e],(e=>{}))},setMediaPlaybackRequiresUserGesture:e=>{y.callUIFunction(o.value,"setMediaPlaybackRequiresUserGesture",[e],(e=>{}))},setStandardFontFamily:e=>{y.callUIFunction(o.value,"setStandardFontFamily",[e],(e=>{}))},setFixedFontFamily:e=>{y.callUIFunction(o.value,"setFixedFontFamily",[e],(e=>{}))},setSansSerifFontFamily:e=>{y.callUIFunction(o.value,"setSansSerifFontFamily",[e],(e=>{}))},setSerifFontFamily:e=>{y.callUIFunction(o.value,"setSerifFontFamily",[e],(e=>{}))},setCursiveFontFamily:e=>{y.callUIFunction(o.value,"setCursiveFontFamily",[e],(e=>{}))},setFantasyFontFamily:e=>{y.callUIFunction(o.value,"setFantasyFontFamily",[e],(e=>{}))},setTextZoom:e=>{y.callUIFunction(o.value,"setTextZoom",[e],(e=>{}))},setMinimumFontSize:e=>{y.callUIFunction(o.value,"setMinimumFontSize",[e],(e=>{}))},setDefaultFontSize:e=>{y.callUIFunction(o.value,"setDefaultFontSize",[e],(e=>{}))},setLayoutAlgorithm:e=>{y.callUIFunction(o.value,"setLayoutAlgorithm",[e],(e=>{}))},setLoadsImagesAutomatically:e=>{y.callUIFunction(o.value,"setLoadsImagesAutomatically",[e],(e=>{}))},setDefaultTextEncodingName:e=>{y.callUIFunction(o.value,"setDefaultTextEncodingName",[e],(e=>{}))},setNeedInitialFocus:e=>{y.callUIFunction(o.value,"setNeedInitialFocus",[e],(e=>{}))},setGeolocationEnabled:I,setBlockNetworkLoads:e=>{y.callUIFunction(o.value,"setBlockNetworkLoads",[e],(e=>{}))},setSupportMultipleWindows:T,setAppCacheMaxSize:e=>{y.callUIFunction(o.value,"setAppCacheMaxSize",[e],(e=>{}))},setRenderPriority:e=>{y.callUIFunction(o.value,"setRenderPriority",[e],(e=>{}))},setCacheMode:p,setAllowContentAccess:e=>{y.callUIFunction(o.value,"setAllowContentAccess",[e],(e=>{}))},setEnableSmoothTransition:e=>{y.callUIFunction(o.value,"setEnableSmoothTransition",[e],(e=>{}))},setSaveFormData:e=>{y.callUIFunction(o.value,"setSaveFormData",[e],(e=>{}))},setSavePassword:e=>{y.callUIFunction(o.value,"setSavePassword",[e],(e=>{}))},setTextSize:e=>{y.callUIFunction(o.value,"setTextSize",[e],(e=>{}))},setDefaultZoom:e=>{y.callUIFunction(o.value,"setDefaultZoom",[e],(e=>{}))},setLightTouchEnabled:e=>{y.callUIFunction(o.value,"setLightTouchEnabled",[e],(e=>{}))},setMinimumLogicalFontSize:e=>{y.callUIFunction(o.value,"setMinimumLogicalFontSize",[e],(e=>{}))},setDefaultFixedFontSize:e=>{y.callUIFunction(o.value,"setDefaultFixedFontSize",[e],(e=>{}))},setBlockNetworkImage:e=>{y.callUIFunction(o.value,"setBlockNetworkImage",[e],(e=>{}))},setAllowUniversalAccessFromFileURLs:e=>{y.callUIFunction(o.value,"setAllowUniversalAccessFromFileURLs",[e],(e=>{}))},setAllowFileAccessFromFileURLs:e=>{y.callUIFunction(o.value,"setAllowFileAccessFromFileURLs",[e],(e=>{}))},setDatabasePath:e=>{y.callUIFunction(o.value,"setDatabasePath",[e],(e=>{}))},setGeolocationDatabasePath:e=>{y.callUIFunction(o.value,"setGeolocationDatabasePath",[e],(e=>{}))},setUserAgentString:e=>{y.callUIFunction(o.value,"setUserAgentString",[e],(e=>{}))},setMixedContentMode:e=>{y.callUIFunction(o.value,"setMixedContentMode",[e],(e=>{}))},setOffscreenPreRaster:e=>{y.callUIFunction(o.value,"setOffscreenPreRaster",[e],(e=>{}))},setSafeBrowsingEnabled:e=>{y.callUIFunction(o.value,"setSafeBrowsingEnabled",[e],(e=>{}))},setForceDark:e=>{y.callUIFunction(o.value,"setForceDark",[e],(e=>{}))},setDisabledActionModeMenuItems:e=>{y.callUIFunction(o.value,"setDisabledActionModeMenuItems",[e],(e=>{}))},...to(o)}),()=>A("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();S((()=>{a(!0),l(!0),r(!0),s(!0),u(!0),c(!0),T(!0),f(!0),d(!0),I(!0),i(1),p(2)}));const a=e=>{y.callUIFunction(o.value,"setJavaScriptEnabled",[e],(e=>{}))},i=e=>{y.callUIFunction(o.value,"setPluginState",[e],(e=>{}))},l=e=>{y.callUIFunction(o.value,"setJavaScriptCanOpenWindowsAutomatically",[e],(e=>{}))},c=e=>{y.callUIFunction(o.value,"setUseWideViewPort",[e],(e=>{}))},s=e=>{y.callUIFunction(o.value,"setSupportZoom",[e],(e=>{}))},u=e=>{y.callUIFunction(o.value,"setBuiltInZoomControls",[e],(e=>{}))},r=e=>{y.callUIFunction(o.value,"setAllowFileAccess",[e],(e=>{}))},d=e=>{y.callUIFunction(o.value,"setDomStorageEnabled",[e],(e=>{}))},f=e=>{y.callUIFunction(o.value,"setAppCacheEnabled",[e],(e=>{}))},I=e=>{y.callUIFunction(o.value,"setGeolocationEnabled",[e],(e=>{}))},T=e=>{y.callUIFunction(o.value,"setSupportMultipleWindows",[e],(e=>{}))},p=e=>{y.callUIFunction(o.value,"setCacheMode",[e],(e=>{}))};return n.expose({loadUrl:e=>{y.callUIFunction(o.value,"loadUrl",[e],(e=>{}))},evaluateJavascript:e=>new Promise(((t,n)=>{y.callUIFunction(o.value,"evaluateJavascript",[e],(e=>{t(e)}))})),canGoBack:()=>{y.callUIFunction(o.value,"canGoBack",[],(e=>{n.emit("onCanGoBack",e)}))},goBack:()=>{y.callUIFunction(o.value,"goBack",[],(e=>{}))},canGoForward:()=>{y.callUIFunction(o.value,"canGoForward",[],(e=>{n.emit("onCanGoForward",e)}))},goForward:()=>{y.callUIFunction(o.value,"goForward",[],(e=>{}))},canGoBackOrForward:e=>{y.callUIFunction(o.value,"canGoBackOrForward",[e],(e=>{n.emit("onCanGoBackOrForward",e)}))},goBackOrForward:e=>{y.callUIFunction(o.value,"goBackOrForward",[e],(e=>{}))},onResume:()=>{y.callUIFunction(o.value,"onResume",[],(e=>{}))},onPause:()=>{y.callUIFunction(o.value,"onPause",[],(e=>{}))},pauseTimers:()=>{y.callUIFunction(o.value,"pauseTimers",[],(e=>{}))},resumeTimers:()=>{y.callUIFunction(o.value,"resumeTimers",[],(e=>{}))},destroy:()=>{y.callUIFunction(o.value,"destroy",[],(e=>{}))},setJavaScriptEnabled:a,setPluginState:i,setJavaScriptCanOpenWindowsAutomatically:l,setUseWideViewPort:c,setLoadWithOverviewMode:e=>{y.callUIFunction(o.value,"setLoadWithOverviewMode",[e],(e=>{}))},setSupportZoom:s,setBuiltInZoomControls:u,setDisplayZoomControls:e=>{y.callUIFunction(o.value,"setDisplayZoomControls",[e],(e=>{}))},setAllowFileAccess:r,setDomStorageEnabled:d,setDatabaseEnabled:e=>{y.callUIFunction(o.value,"setDatabaseEnabled",[e],(e=>{}))},setAppCacheEnabled:f,setAppCachePath:e=>{y.callUIFunction(o.value,"setAppCachePath",[e],(e=>{}))},setMediaPlaybackRequiresUserGesture:e=>{y.callUIFunction(o.value,"setMediaPlaybackRequiresUserGesture",[e],(e=>{}))},setStandardFontFamily:e=>{y.callUIFunction(o.value,"setStandardFontFamily",[e],(e=>{}))},setFixedFontFamily:e=>{y.callUIFunction(o.value,"setFixedFontFamily",[e],(e=>{}))},setSansSerifFontFamily:e=>{y.callUIFunction(o.value,"setSansSerifFontFamily",[e],(e=>{}))},setSerifFontFamily:e=>{y.callUIFunction(o.value,"setSerifFontFamily",[e],(e=>{}))},setCursiveFontFamily:e=>{y.callUIFunction(o.value,"setCursiveFontFamily",[e],(e=>{}))},setFantasyFontFamily:e=>{y.callUIFunction(o.value,"setFantasyFontFamily",[e],(e=>{}))},setTextZoom:e=>{y.callUIFunction(o.value,"setTextZoom",[e],(e=>{}))},setMinimumFontSize:e=>{y.callUIFunction(o.value,"setMinimumFontSize",[e],(e=>{}))},setDefaultFontSize:e=>{y.callUIFunction(o.value,"setDefaultFontSize",[e],(e=>{}))},setLayoutAlgorithm:e=>{y.callUIFunction(o.value,"setLayoutAlgorithm",[e],(e=>{}))},setLoadsImagesAutomatically:e=>{y.callUIFunction(o.value,"setLoadsImagesAutomatically",[e],(e=>{}))},setDefaultTextEncodingName:e=>{y.callUIFunction(o.value,"setDefaultTextEncodingName",[e],(e=>{}))},setNeedInitialFocus:e=>{y.callUIFunction(o.value,"setNeedInitialFocus",[e],(e=>{}))},setGeolocationEnabled:I,setBlockNetworkLoads:e=>{y.callUIFunction(o.value,"setBlockNetworkLoads",[e],(e=>{}))},setSupportMultipleWindows:T,setAppCacheMaxSize:e=>{y.callUIFunction(o.value,"setAppCacheMaxSize",[e],(e=>{}))},setRenderPriority:e=>{y.callUIFunction(o.value,"setRenderPriority",[e],(e=>{}))},setCacheMode:p,setAllowContentAccess:e=>{y.callUIFunction(o.value,"setAllowContentAccess",[e],(e=>{}))},setEnableSmoothTransition:e=>{y.callUIFunction(o.value,"setEnableSmoothTransition",[e],(e=>{}))},setSaveFormData:e=>{y.callUIFunction(o.value,"setSaveFormData",[e],(e=>{}))},setSavePassword:e=>{y.callUIFunction(o.value,"setSavePassword",[e],(e=>{}))},setTextSize:e=>{y.callUIFunction(o.value,"setTextSize",[e],(e=>{}))},setDefaultZoom:e=>{y.callUIFunction(o.value,"setDefaultZoom",[e],(e=>{}))},setLightTouchEnabled:e=>{y.callUIFunction(o.value,"setLightTouchEnabled",[e],(e=>{}))},setMinimumLogicalFontSize:e=>{y.callUIFunction(o.value,"setMinimumLogicalFontSize",[e],(e=>{}))},setDefaultFixedFontSize:e=>{y.callUIFunction(o.value,"setDefaultFixedFontSize",[e],(e=>{}))},setBlockNetworkImage:e=>{y.callUIFunction(o.value,"setBlockNetworkImage",[e],(e=>{}))},setAllowUniversalAccessFromFileURLs:e=>{y.callUIFunction(o.value,"setAllowUniversalAccessFromFileURLs",[e],(e=>{}))},setAllowFileAccessFromFileURLs:e=>{y.callUIFunction(o.value,"setAllowFileAccessFromFileURLs",[e],(e=>{}))},setDatabasePath:e=>{y.callUIFunction(o.value,"setDatabasePath",[e],(e=>{}))},setGeolocationDatabasePath:e=>{y.callUIFunction(o.value,"setGeolocationDatabasePath",[e],(e=>{}))},setUserAgentString:e=>{y.callUIFunction(o.value,"setUserAgentString",[e],(e=>{}))},setMixedContentMode:e=>{y.callUIFunction(o.value,"setMixedContentMode",[e],(e=>{}))},setOffscreenPreRaster:e=>{y.callUIFunction(o.value,"setOffscreenPreRaster",[e],(e=>{}))},setSafeBrowsingEnabled:e=>{y.callUIFunction(o.value,"setSafeBrowsingEnabled",[e],(e=>{}))},setForceDark:e=>{y.callUIFunction(o.value,"setForceDark",[e],(e=>{}))},setDisabledActionModeMenuItems:e=>{y.callUIFunction(o.value,"setDisabledActionModeMenuItems",[e],(e=>{}))},initJavaScriptInterface:()=>{y.callUIFunction(o.value,"initJavaScriptInterface",[],(e=>{}))},removeJavaScriptInterface:()=>{y.callUIFunction(o.value,"removeJavaScriptInterface",[],(e=>{}))},initWebViewFocus:(e,t,n)=>{y.callUIFunction(o.value,"initWebViewFocus",[e,t,n],(e=>{}))},...to(o)}),()=>A("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,...to(o)}),()=>A("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),u=e(0);function r(e){1===i.value&&(u.value=e,y.callUIFunction(o.value,"setProgress",[e],(e=>{})))}function d(e){1===i.value&&(s.value=e,y.callUIFunction(o.value,"setMaxProgress",[e],(e=>{})))}return n.expose({viewRef:o,isSeekBarFocused:a,seekBarMode:i,seekCount:l,progressCallBackTime:c,maxProgress:s,progress:u,startSeek:function(e){if(a.value){i.value=2,n.emit("onSeekStart",u.value),l.value+=1;let a=1;l.value>20?a=2:l.value>50?a=4:l.value>100&&(a=6);let r=s.value,d=Math.floor(.01*r*a);if(u.value=u.value+(e?d:-d),u.value>r?u.value=r:u.value<0&&(u.value=0),y.callUIFunction(o.value,"setProgress",[u.value],(e=>{})),t.onProgressChanged){let e=(new Date).getTime();e-c.value>t.emitEventDelay&&(t.onProgressChanged(u.value),c.value=e)}}},stopSeek:function(){l.value=0,i.value=1,n.emit("onSeekStop",u.value)},isFocused:function(){return a.value},resetSeekbar:function(){i.value=1,d(0),r(0)},invalidateSeekBar:function(){y.callUIFunction(o.value,"invalidateSeekBar",[],(e=>{}))},setFocusable:function(e){y.callUIFunction(o.value,"setFocusable",[e],(e=>{}))},setClickable:function(e){y.callUIFunction(o.value,"setClickable",[e],(e=>{}))},requestLayout:function(){y.callUIFunction(o.value,"requestLayout",[],(e=>{}))},invalidate:function(){y.callUIFunction(o.value,"invalidate",[],(e=>{}))},setVisible:function(e){y.callUIFunction(o.value,"setVisible",[e],(e=>{}))},setLeftSeekBarVisible:function(e){y.callUIFunction(o.value,"setLeftSeekBarVisible",[e],(e=>{}))},setRightSeekBarVisible:function(e){y.callUIFunction(o.value,"setRightSeekBarVisible",[e],(e=>{}))},setSeekBarMode:function(e){y.callUIFunction(o.value,"setSeekBarMode",[e],(e=>{}))},setProgress:r,setRangeProgress:function(e,t){y.callUIFunction(o.value,"setProgress",[e,t],(e=>{}))},getProgress:function(){y.callUIFunction(o.value,"getProgress",[],(e=>{}))},getLeftProgress:function(){y.callUIFunction(o.value,"getLeftProgress",[],(e=>{}))},getRightProgress:function(){y.callUIFunction(o.value,"getRightProgress",[],(e=>{}))},setRange:function(e,t,n){y.callUIFunction(o.value,"setRange",[e,t,n],(e=>{}))},setGravity:function(e){y.callUIFunction(o.value,"setGravity",[e],(e=>{}))},setProgressWidth:function(e){y.callUIFunction(o.value,"setProgressWidth",[e],(e=>{}))},setProgressHeight:function(e){y.callUIFunction(o.value,"setProgressHeight",[e],(e=>{}))},setProgressRadius:function(e){y.callUIFunction(o.value,"setProgressRadius",[e],(e=>{}))},setProgressColor:function(e){y.callUIFunction(o.value,"setProgressColor",[e],(e=>{}))},setProgressDefaultColor:function(e){y.callUIFunction(o.value,"setProgressDefaultColor",[e],(e=>{}))},setProgressDrawable:function(e){y.callUIFunction(o.value,"setProgressDrawable",[e],(e=>{}))},setProgressDefaultDrawable:function(e){y.callUIFunction(o.value,"setProgressDefaultDrawable",[e],(e=>{}))},setProgressUrl:function(e){y.callUIFunction(o.value,"setProgressUrl",[e],(e=>{}))},setProgressDefaultUrl:function(e){y.callUIFunction(o.value,"setProgressDefaultUrl",[e],(e=>{}))},showIndicator:function(e){y.callUIFunction(o.value,"showIndicator",[e],(e=>{}))},showLeftIndicator:function(e){y.callUIFunction(o.value,"showLeftIndicator",[e],(e=>{}))},showRightIndicator:function(e){y.callUIFunction(o.value,"showRightIndicator",[e],(e=>{}))},setIndicatorShowMode:function(e){y.callUIFunction(o.value,"setIndicatorShowMode",[e],(e=>{}))},setLeftIndicatorShowMode:function(e){y.callUIFunction(o.value,"setLeftIndicatorShowMode",[e],(e=>{}))},setRightIndicatorShowMode:function(e){y.callUIFunction(o.value,"setRightIndicatorShowMode",[e],(e=>{}))},setIndicatorWidth:function(e){y.callUIFunction(o.value,"setIndicatorWidth",[e],(e=>{}))},setLeftIndicatorWidth:function(e){y.callUIFunction(o.value,"setLeftIndicatorWidth",[e],(e=>{}))},setRightIndicatorWidth:function(e){y.callUIFunction(o.value,"setRightIndicatorWidth",[e],(e=>{}))},setIndicatorHeight:function(e){y.callUIFunction(o.value,"setIndicatorHeight",[e],(e=>{}))},setLeftIndicatorHeight:function(e){y.callUIFunction(o.value,"setLeftIndicatorHeight",[e],(e=>{}))},setRightIndicatorHeight:function(e){y.callUIFunction(o.value,"setRightIndicatorHeight",[e],(e=>{}))},setIndicatorTextDecimalFormat:function(e){y.callUIFunction(o.value,"setIndicatorTextDecimalFormat",[e],(e=>{}))},setLeftIndicatorTextDecimalFormat:function(e){y.callUIFunction(o.value,"setLeftIndicatorTextDecimalFormat",[e],(e=>{}))},setRightIndicatorTextDecimalFormat:function(e){y.callUIFunction(o.value,"setRightIndicatorTextDecimalFormat",[e],(e=>{}))},setIndicatorTextStringFormat:function(e){y.callUIFunction(o.value,"setIndicatorTextStringFormat",[e],(e=>{}))},setLeftIndicatorTextStringFormat:function(e){y.callUIFunction(o.value,"setLeftIndicatorTextStringFormat",[e],(e=>{}))},setRightIndicatorTextStringFormat:function(e){y.callUIFunction(o.value,"setRightIndicatorTextStringFormat",[e],(e=>{}))},setIndicatorMargin:function(e){y.callUIFunction(o.value,"setIndicatorMargin",[e],(e=>{}))},setLeftIndicatorMargin:function(e){y.callUIFunction(o.value,"setLeftIndicatorMargin",[e],(e=>{}))},setRightIndicatorMargin:function(e){y.callUIFunction(o.value,"setRightIndicatorMargin",[e],(e=>{}))},setIndicatorPaddingBottom:function(e){y.callUIFunction(o.value,"setIndicatorPaddingBottom",[e],(e=>{}))},setLeftIndicatorPaddingBottom:function(e){y.callUIFunction(o.value,"setLeftIndicatorPaddingBottom",[e],(e=>{}))},setRightIndicatorPaddingBottom:function(e){y.callUIFunction(o.value,"setRightIndicatorPaddingBottom",[e],(e=>{}))},setIndicatorPaddingTop:function(e){y.callUIFunction(o.value,"setIndicatorPaddingTop",[e],(e=>{}))},setLeftIndicatorPaddingTop:function(e){y.callUIFunction(o.value,"setLeftIndicatorPaddingTop",[e],(e=>{}))},setRightIndicatorPaddingTop:function(e){y.callUIFunction(o.value,"setRightIndicatorPaddingTop",[e],(e=>{}))},setIndicatorPaddingLeft:function(e){y.callUIFunction(o.value,"setIndicatorPaddingLeft",[e],(e=>{}))},setLeftIndicatorPaddingLeft:function(e){y.callUIFunction(o.value,"setLeftIndicatorPaddingLeft",[e],(e=>{}))},setRightIndicatorPaddingLeft:function(e){y.callUIFunction(o.value,"setRightIndicatorPaddingLeft",[e],(e=>{}))},setIndicatorPaddingRight:function(e){y.callUIFunction(o.value,"setIndicatorPaddingRight",[e],(e=>{}))},setLeftIndicatorPaddingRight:function(e){y.callUIFunction(o.value,"setLeftIndicatorPaddingRight",[e],(e=>{}))},setRightIndicatorPaddingRight:function(e){y.callUIFunction(o.value,"setRightIndicatorPaddingRight",[e],(e=>{}))},setIndicatorBackgroundColor:function(e){y.callUIFunction(o.value,"setIndicatorBackgroundColor",[e],(e=>{}))},setLeftIndicatorBackgroundColor:function(e){y.callUIFunction(o.value,"setLeftIndicatorBackgroundColor",[e],(e=>{}))},setRightIndicatorBackgroundColor:function(e){y.callUIFunction(o.value,"setRightIndicatorBackgroundColor",[e],(e=>{}))},setIndicatorRadius:function(e){y.callUIFunction(o.value,"setIndicatorRadius",[e],(e=>{}))},setLeftIndicatorRadius:function(e){y.callUIFunction(o.value,"setLeftIndicatorRadius",[e],(e=>{}))},setRightIndicatorRadius:function(e){y.callUIFunction(o.value,"setRightIndicatorRadius",[e],(e=>{}))},setIndicatorTextSize:function(e){y.callUIFunction(o.value,"setIndicatorTextSize",[e],(e=>{}))},setLeftIndicatorTextSize:function(e){y.callUIFunction(o.value,"setLeftIndicatorTextSize",[e],(e=>{}))},setRightIndicatorTextSize:function(e){y.callUIFunction(o.value,"setRightIndicatorTextSize",[e],(e=>{}))},setIndicatorTextColor:function(e){y.callUIFunction(o.value,"setIndicatorTextColor",[e],(e=>{}))},setLeftIndicatorTextColor:function(e){y.callUIFunction(o.value,"setLeftIndicatorTextColor",[e],(e=>{}))},setRightIndicatorTextColor:function(e){y.callUIFunction(o.value,"setRightIndicatorTextColor",[e],(e=>{}))},setIndicatorArrowSize:function(e){y.callUIFunction(o.value,"setIndicatorArrowSize",[e],(e=>{}))},setLeftIndicatorArrowSize:function(e){y.callUIFunction(o.value,"setLeftIndicatorArrowSize",[e],(e=>{}))},setRightIndicatorArrowSize:function(e){y.callUIFunction(o.value,"setRightIndicatorArrowSize",[e],(e=>{}))},setIndicatorDrawable:function(e){y.callUIFunction(o.value,"setIndicatorDrawable",[e],(e=>{}))},setLeftIndicatorDrawable:function(e){y.callUIFunction(o.value,"setLeftIndicatorDrawable",[e],(e=>{}))},setRightIndicatorDrawable:function(e){y.callUIFunction(o.value,"setRightIndicatorDrawable",[e],(e=>{}))},setIndicatorUrl:function(e){y.callUIFunction(o.value,"setIndicatorUrl",[e],(e=>{}))},setLeftIndicatorUrl:function(e){y.callUIFunction(o.value,"setLeftIndicatorUrl",[e],(e=>{}))},setRightIndicatorUrl:function(e){y.callUIFunction(o.value,"setRightIndicatorUrl",[e],(e=>{}))},setThumbWidth:function(e){y.callUIFunction(o.value,"setThumbWidth",[e],(e=>{}))},setLeftThumbWidth:function(e){y.callUIFunction(o.value,"setLeftThumbWidth",[e],(e=>{}))},setRightThumbWidth:function(e){y.callUIFunction(o.value,"setRightThumbWidth",[e],(e=>{}))},setThumbHeight:function(e){y.callUIFunction(o.value,"setThumbHeight",[e],(e=>{}))},setLeftThumbHeight:function(e){y.callUIFunction(o.value,"setLeftThumbHeight",[e],(e=>{}))},setRightThumbHeight:function(e){y.callUIFunction(o.value,"setRightThumbHeight",[e],(e=>{}))},scaleThumb:function(){y.callUIFunction(o.value,"scaleThumb",[],(e=>{}))},scaleLeftThumb:function(){y.callUIFunction(o.value,"scaleLeftThumb",[],(e=>{}))},scaleRightThumb:function(){y.callUIFunction(o.value,"scaleLeftThumb",[],(e=>{}))},resetThumb:function(){y.callUIFunction(o.value,"resetThumb",[],(e=>{}))},resetLeftThumb:function(){y.callUIFunction(o.value,"resetLeftThumb",[],(e=>{}))},resetRightThumb:function(){y.callUIFunction(o.value,"resetRightThumb",[],(e=>{}))},setThumbScaleRatio:function(e){y.callUIFunction(o.value,"setThumbScaleRatio",[e],(e=>{}))},setLeftThumbScaleRatio:function(e){y.callUIFunction(o.value,"setLeftThumbScaleRatio",[e],(e=>{}))},setRightThumbScaleRatio:function(e){y.callUIFunction(o.value,"setRightThumbScaleRatio",[e],(e=>{}))},setThumbActivate:function(e){y.callUIFunction(o.value,"setThumbActivate",[e],(e=>{}))},setLeftThumbActivate:function(e){y.callUIFunction(o.value,"setLeftThumbActivate",[e],(e=>{}))},setRightThumbActivate:function(e){y.callUIFunction(o.value,"setRightThumbActivate",[e],(e=>{}))},setThumbDrawable:function(e){y.callUIFunction(o.value,"setThumbDrawable",[e],(e=>{}))},setLeftThumbDrawable:function(e){y.callUIFunction(o.value,"setLeftThumbDrawable",[e],(e=>{}))},setRightThumbDrawable:function(e){y.callUIFunction(o.value,"setRightThumbDrawable",[e],(e=>{}))},setThumbUrl:function(e){y.callUIFunction(o.value,"setThumbUrl",[e],(e=>{}))},setLeftThumbUrl:function(e){y.callUIFunction(o.value,"setLeftThumbUrl",[e],(e=>{}))},setRightThumbUrl:function(e){y.callUIFunction(o.value,"setRightThumbUrl",[e],(e=>{}))},setThumbInactivatedDrawable:function(e){y.callUIFunction(o.value,"setThumbInactivatedDrawable",[e],(e=>{}))},setLeftThumbInactivatedDrawable:function(e){y.callUIFunction(o.value,"setLeftThumbInactivatedDrawable",[e],(e=>{}))},setRightThumbInactivatedDrawable:function(e){y.callUIFunction(o.value,"setRightThumbInactivatedDrawable",[e],(e=>{}))},setThumbInactivatedUrl:function(e){y.callUIFunction(o.value,"setThumbInactivatedUrl",[e],(e=>{}))},setLeftThumbInactivatedUrl:function(e){y.callUIFunction(o.value,"setLeftThumbInactivatedUrl",[e],(e=>{}))},setRightThumbInactivatedUrl:function(e){y.callUIFunction(o.value,"setRightThumbInactivatedUrl",[e],(e=>{}))},setTickMarkMode:function(e){y.callUIFunction(o.value,"setTickMarkMode",[e],(e=>{}))},setTickMarkGravity:function(e){y.callUIFunction(o.value,"setTickMarkGravity",[e],(e=>{}))},setTickMarkLayoutGravity:function(e){y.callUIFunction(o.value,"setTickMarkLayoutGravity",[e],(e=>{}))},setTickMarkTextArray:function(e){y.callUIFunction(o.value,"setTickMarkTextArray",[e],(e=>{}))},setTickMarkTextMargin:function(e){y.callUIFunction(o.value,"setTickMarkTextMargin",[e],(e=>{}))},setTickMarkTextSize:function(e){y.callUIFunction(o.value,"setTickMarkTextSize",[e],(e=>{}))},setTickMarkTextColor:function(e){y.callUIFunction(o.value,"setTickMarkTextColor",[e],(e=>{}))},setTickMarkInRangeTextColor:function(e){y.callUIFunction(o.value,"setTickMarkInRangeTextColor",[e],(e=>{}))},setSteps:function(e){y.callUIFunction(o.value,"setSteps",[e],(e=>{}))},setStepsWidth:function(e){y.callUIFunction(o.value,"setStepsWidth",[e],(e=>{}))},setStepsHeight:function(e){y.callUIFunction(o.value,"setStepsHeight",[e],(e=>{}))},setStepsRadius:function(e){y.callUIFunction(o.value,"setStepsRadius",[e],(e=>{}))},setStepsColor:function(e){y.callUIFunction(o.value,"setStepsColor",[e],(e=>{}))},setStepsAutoBonding:function(e){y.callUIFunction(o.value,"setStepsAutoBonding",[e],(e=>{}))},setStepsDrawable:function(e){y.callUIFunction(o.value,"setStepsDrawable",[e],(e=>{}))},setStepsUrl:function(e){y.callUIFunction(o.value,"setStepsUrl",[e],(e=>{}))},setSecondProgress:function(e){y.callUIFunction(o.value,"setSecondProgress",[e],(e=>{}))},show:function(e){y.callUIFunction(o.value,"show",[e],(e=>{}))},setMaxProgress:d,...to(o)}),()=>A("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=pn({name:"qt-progress-bar",emits:["onFocusChanged","onSeekChanged"],setup(t,n){const o=e();return n.expose({viewRef:o,invalidateProgressBar:function(){y.callUIFunction(o.value,"invalidateSeekBar",[],(e=>{}))},setFocusable:function(e){y.callUIFunction(o.value,"setFocusable",[e],(e=>{}))},setClickable:function(e){y.callUIFunction(o.value,"setClickable",[e],(e=>{}))},requestLayout:function(){y.callUIFunction(o.value,"requestLayout",[],(e=>{}))},invalidate:function(){y.callUIFunction(o.value,"invalidate",[],(e=>{}))},setVisible:function(e){y.callUIFunction(o.value,"setVisible",[e],(e=>{}))},setLeftSeekBarVisible:function(e){y.callUIFunction(o.value,"setLeftSeekBarVisible",[e],(e=>{}))},setRightSeekBarVisible:function(e){y.callUIFunction(o.value,"setRightSeekBarVisible",[e],(e=>{}))},setSeekBarMode:function(e){y.callUIFunction(o.value,"setSeekBarMode",[e],(e=>{}))},setProgress:function(e){y.callUIFunction(o.value,"setProgress",[e],(e=>{}))},setRangeProgress:function(e,t){y.callUIFunction(o.value,"setProgress",[e,t],(e=>{}))},getProgress:function(){y.callUIFunction(o.value,"getProgress",[],(e=>{}))},getLeftProgress:function(){y.callUIFunction(o.value,"getLeftProgress",[],(e=>{}))},getRightProgress:function(){y.callUIFunction(o.value,"getRightProgress",[],(e=>{}))},setRange:function(e,t,n){y.callUIFunction(o.value,"setRange",[e,t,n],(e=>{}))},setGravity:function(e){y.callUIFunction(o.value,"setGravity",[e],(e=>{}))},setProgressWidth:function(e){y.callUIFunction(o.value,"setProgressWidth",[e],(e=>{}))},setProgressHeight:function(e){y.callUIFunction(o.value,"setProgressHeight",[e],(e=>{}))},setProgressRadius:function(e){y.callUIFunction(o.value,"setProgressRadius",[e],(e=>{}))},setProgressColor:function(e){y.callUIFunction(o.value,"setProgressColor",[e],(e=>{}))},setProgressDefaultColor:function(e){y.callUIFunction(o.value,"setProgressDefaultColor",[e],(e=>{}))},setProgressDrawable:function(e){y.callUIFunction(o.value,"setProgressDrawable",[e],(e=>{}))},setProgressDefaultDrawable:function(e){y.callUIFunction(o.value,"setProgressDefaultDrawable",[e],(e=>{}))},setProgressUrl:function(e){y.callUIFunction(o.value,"setProgressUrl",[e],(e=>{}))},setProgressDefaultUrl:function(e){y.callUIFunction(o.value,"setProgressDefaultUrl",[e],(e=>{}))},showIndicator:function(e){y.callUIFunction(o.value,"showIndicator",[e],(e=>{}))},showLeftIndicator:function(e){y.callUIFunction(o.value,"showLeftIndicator",[e],(e=>{}))},showRightIndicator:function(e){y.callUIFunction(o.value,"showRightIndicator",[e],(e=>{}))},setIndicatorShowMode:function(e){y.callUIFunction(o.value,"setIndicatorShowMode",[e],(e=>{}))},setLeftIndicatorShowMode:function(e){y.callUIFunction(o.value,"setLeftIndicatorShowMode",[e],(e=>{}))},setRightIndicatorShowMode:function(e){y.callUIFunction(o.value,"setRightIndicatorShowMode",[e],(e=>{}))},setIndicatorWidth:function(e){y.callUIFunction(o.value,"setIndicatorWidth",[e],(e=>{}))},setLeftIndicatorWidth:function(e){y.callUIFunction(o.value,"setLeftIndicatorWidth",[e],(e=>{}))},setRightIndicatorWidth:function(e){y.callUIFunction(o.value,"setRightIndicatorWidth",[e],(e=>{}))},setIndicatorHeight:function(e){y.callUIFunction(o.value,"setIndicatorHeight",[e],(e=>{}))},setLeftIndicatorHeight:function(e){y.callUIFunction(o.value,"setLeftIndicatorHeight",[e],(e=>{}))},setRightIndicatorHeight:function(e){y.callUIFunction(o.value,"setRightIndicatorHeight",[e],(e=>{}))},setIndicatorTextDecimalFormat:function(e){y.callUIFunction(o.value,"setIndicatorTextDecimalFormat",[e],(e=>{}))},setLeftIndicatorTextDecimalFormat:function(e){y.callUIFunction(o.value,"setLeftIndicatorTextDecimalFormat",[e],(e=>{}))},setRightIndicatorTextDecimalFormat:function(e){y.callUIFunction(o.value,"setRightIndicatorTextDecimalFormat",[e],(e=>{}))},setIndicatorTextStringFormat:function(e){y.callUIFunction(o.value,"setIndicatorTextStringFormat",[e],(e=>{}))},setLeftIndicatorTextStringFormat:function(e){y.callUIFunction(o.value,"setLeftIndicatorTextStringFormat",[e],(e=>{}))},setRightIndicatorTextStringFormat:function(e){y.callUIFunction(o.value,"setRightIndicatorTextStringFormat",[e],(e=>{}))},setIndicatorMargin:function(e){y.callUIFunction(o.value,"setIndicatorMargin",[e],(e=>{}))},setLeftIndicatorMargin:function(e){y.callUIFunction(o.value,"setLeftIndicatorMargin",[e],(e=>{}))},setRightIndicatorMargin:function(e){y.callUIFunction(o.value,"setRightIndicatorMargin",[e],(e=>{}))},setIndicatorPaddingBottom:function(e){y.callUIFunction(o.value,"setIndicatorPaddingBottom",[e],(e=>{}))},setLeftIndicatorPaddingBottom:function(e){y.callUIFunction(o.value,"setLeftIndicatorPaddingBottom",[e],(e=>{}))},setRightIndicatorPaddingBottom:function(e){y.callUIFunction(o.value,"setRightIndicatorPaddingBottom",[e],(e=>{}))},setIndicatorPaddingTop:function(e){y.callUIFunction(o.value,"setIndicatorPaddingTop",[e],(e=>{}))},setLeftIndicatorPaddingTop:function(e){y.callUIFunction(o.value,"setLeftIndicatorPaddingTop",[e],(e=>{}))},setRightIndicatorPaddingTop:function(e){y.callUIFunction(o.value,"setRightIndicatorPaddingTop",[e],(e=>{}))},setIndicatorPaddingLeft:function(e){y.callUIFunction(o.value,"setIndicatorPaddingLeft",[e],(e=>{}))},setLeftIndicatorPaddingLeft:function(e){y.callUIFunction(o.value,"setLeftIndicatorPaddingLeft",[e],(e=>{}))},setRightIndicatorPaddingLeft:function(e){y.callUIFunction(o.value,"setRightIndicatorPaddingLeft",[e],(e=>{}))},setIndicatorPaddingRight:function(e){y.callUIFunction(o.value,"setIndicatorPaddingRight",[e],(e=>{}))},setLeftIndicatorPaddingRight:function(e){y.callUIFunction(o.value,"setLeftIndicatorPaddingRight",[e],(e=>{}))},setRightIndicatorPaddingRight:function(e){y.callUIFunction(o.value,"setRightIndicatorPaddingRight",[e],(e=>{}))},setIndicatorBackgroundColor:function(e){y.callUIFunction(o.value,"setIndicatorBackgroundColor",[e],(e=>{}))},setLeftIndicatorBackgroundColor:function(e){y.callUIFunction(o.value,"setLeftIndicatorBackgroundColor",[e],(e=>{}))},setRightIndicatorBackgroundColor:function(e){y.callUIFunction(o.value,"setRightIndicatorBackgroundColor",[e],(e=>{}))},setIndicatorRadius:function(e){y.callUIFunction(o.value,"setIndicatorRadius",[e],(e=>{}))},setLeftIndicatorRadius:function(e){y.callUIFunction(o.value,"setLeftIndicatorRadius",[e],(e=>{}))},setRightIndicatorRadius:function(e){y.callUIFunction(o.value,"setRightIndicatorRadius",[e],(e=>{}))},setIndicatorTextSize:function(e){y.callUIFunction(o.value,"setIndicatorTextSize",[e],(e=>{}))},setLeftIndicatorTextSize:function(e){y.callUIFunction(o.value,"setLeftIndicatorTextSize",[e],(e=>{}))},setRightIndicatorTextSize:function(e){y.callUIFunction(o.value,"setRightIndicatorTextSize",[e],(e=>{}))},setIndicatorTextColor:function(e){y.callUIFunction(o.value,"setIndicatorTextColor",[e],(e=>{}))},setLeftIndicatorTextColor:function(e){y.callUIFunction(o.value,"setLeftIndicatorTextColor",[e],(e=>{}))},setRightIndicatorTextColor:function(e){y.callUIFunction(o.value,"setRightIndicatorTextColor",[e],(e=>{}))},setIndicatorArrowSize:function(e){y.callUIFunction(o.value,"setIndicatorArrowSize",[e],(e=>{}))},setLeftIndicatorArrowSize:function(e){y.callUIFunction(o.value,"setLeftIndicatorArrowSize",[e],(e=>{}))},setRightIndicatorArrowSize:function(e){y.callUIFunction(o.value,"setRightIndicatorArrowSize",[e],(e=>{}))},setIndicatorDrawable:function(e){y.callUIFunction(o.value,"setIndicatorDrawable",[e],(e=>{}))},setLeftIndicatorDrawable:function(e){y.callUIFunction(o.value,"setLeftIndicatorDrawable",[e],(e=>{}))},setRightIndicatorDrawable:function(e){y.callUIFunction(o.value,"setRightIndicatorDrawable",[e],(e=>{}))},setIndicatorUrl:function(e){y.callUIFunction(o.value,"setIndicatorUrl",[e],(e=>{}))},setLeftIndicatorUrl:function(e){y.callUIFunction(o.value,"setLeftIndicatorUrl",[e],(e=>{}))},setRightIndicatorUrl:function(e){y.callUIFunction(o.value,"setRightIndicatorUrl",[e],(e=>{}))},setThumbWidth:function(e){y.callUIFunction(o.value,"setThumbWidth",[e],(e=>{}))},setLeftThumbWidth:function(e){y.callUIFunction(o.value,"setLeftThumbWidth",[e],(e=>{}))},setRightThumbWidth:function(e){y.callUIFunction(o.value,"setRightThumbWidth",[e],(e=>{}))},setThumbHeight:function(e){y.callUIFunction(o.value,"setThumbHeight",[e],(e=>{}))},setLeftThumbHeight:function(e){y.callUIFunction(o.value,"setLeftThumbHeight",[e],(e=>{}))},setRightThumbHeight:function(e){y.callUIFunction(o.value,"setRightThumbHeight",[e],(e=>{}))},scaleThumb:function(){y.callUIFunction(o.value,"scaleThumb",[],(e=>{}))},scaleLeftThumb:function(){y.callUIFunction(o.value,"scaleLeftThumb",[],(e=>{}))},scaleRightThumb:function(){y.callUIFunction(o.value,"scaleLeftThumb",[],(e=>{}))},resetThumb:function(){y.callUIFunction(o.value,"resetThumb",[],(e=>{}))},resetLeftThumb:function(){y.callUIFunction(o.value,"resetLeftThumb",[],(e=>{}))},resetRightThumb:function(){y.callUIFunction(o.value,"resetRightThumb",[],(e=>{}))},setThumbScaleRatio:function(e){y.callUIFunction(o.value,"setThumbScaleRatio",[e],(e=>{}))},setLeftThumbScaleRatio:function(e){y.callUIFunction(o.value,"setLeftThumbScaleRatio",[e],(e=>{}))},setRightThumbScaleRatio:function(e){y.callUIFunction(o.value,"setRightThumbScaleRatio",[e],(e=>{}))},setThumbActivate:function(e){y.callUIFunction(o.value,"setThumbActivate",[e],(e=>{}))},setLeftThumbActivate:function(e){y.callUIFunction(o.value,"setLeftThumbActivate",[e],(e=>{}))},setRightThumbActivate:function(e){y.callUIFunction(o.value,"setRightThumbActivate",[e],(e=>{}))},setThumbDrawable:function(e){y.callUIFunction(o.value,"setThumbDrawable",[e],(e=>{}))},setLeftThumbDrawable:function(e){y.callUIFunction(o.value,"setLeftThumbDrawable",[e],(e=>{}))},setRightThumbDrawable:function(e){y.callUIFunction(o.value,"setRightThumbDrawable",[e],(e=>{}))},setThumbUrl:function(e){y.callUIFunction(o.value,"setThumbUrl",[e],(e=>{}))},setLeftThumbUrl:function(e){y.callUIFunction(o.value,"setLeftThumbUrl",[e],(e=>{}))},setRightThumbUrl:function(e){y.callUIFunction(o.value,"setRightThumbUrl",[e],(e=>{}))},setThumbInactivatedDrawable:function(e){y.callUIFunction(o.value,"setThumbInactivatedDrawable",[e],(e=>{}))},setLeftThumbInactivatedDrawable:function(e){y.callUIFunction(o.value,"setLeftThumbInactivatedDrawable",[e],(e=>{}))},setRightThumbInactivatedDrawable:function(e){y.callUIFunction(o.value,"setRightThumbInactivatedDrawable",[e],(e=>{}))},setThumbInactivatedUrl:function(e){y.callUIFunction(o.value,"setThumbInactivatedUrl",[e],(e=>{}))},setLeftThumbInactivatedUrl:function(e){y.callUIFunction(o.value,"setLeftThumbInactivatedUrl",[e],(e=>{}))},setRightThumbInactivatedUrl:function(e){y.callUIFunction(o.value,"setRightThumbInactivatedUrl",[e],(e=>{}))},setTickMarkMode:function(e){y.callUIFunction(o.value,"setTickMarkMode",[e],(e=>{}))},setTickMarkGravity:function(e){y.callUIFunction(o.value,"setTickMarkGravity",[e],(e=>{}))},setTickMarkLayoutGravity:function(e){y.callUIFunction(o.value,"setTickMarkLayoutGravity",[e],(e=>{}))},setTickMarkTextArray:function(e){y.callUIFunction(o.value,"setTickMarkTextArray",[e],(e=>{}))},setTickMarkTextMargin:function(e){y.callUIFunction(o.value,"setTickMarkTextMargin",[e],(e=>{}))},setTickMarkTextSize:function(e){y.callUIFunction(o.value,"setTickMarkTextSize",[e],(e=>{}))},setTickMarkTextColor:function(e){y.callUIFunction(o.value,"setTickMarkTextColor",[e],(e=>{}))},setTickMarkInRangeTextColor:function(e){y.callUIFunction(o.value,"setTickMarkInRangeTextColor",[e],(e=>{}))},setSteps:function(e){y.callUIFunction(o.value,"setSteps",[e],(e=>{}))},setStepsWidth:function(e){y.callUIFunction(o.value,"setStepsWidth",[e],(e=>{}))},setStepsHeight:function(e){y.callUIFunction(o.value,"setStepsHeight",[e],(e=>{}))},setStepsRadius:function(e){y.callUIFunction(o.value,"setStepsRadius",[e],(e=>{}))},setStepsColor:function(e){y.callUIFunction(o.value,"setStepsColor",[e],(e=>{}))},setStepsAutoBonding:function(e){y.callUIFunction(o.value,"setStepsAutoBonding",[e],(e=>{}))},setStepsDrawable:function(e){y.callUIFunction(o.value,"setStepsDrawable",[e],(e=>{}))},setStepsUrl:function(e){y.callUIFunction(o.value,"setStepsUrl",[e],(e=>{}))},setSecondProgress:function(e){y.callUIFunction(o.value,"setSecondProgress",[e],(e=>{}))},show:function(e){y.callUIFunction(o.value,"show",[e],(e=>{}))},setMaxProgress:function(e){y.callUIFunction(o.value,"setMaxProgress",[e],(e=>{}))},...to(o)}),()=>A("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=L().getDisplayScale();return n.expose({setPivotX:function(e){y.callUIFunction(o.value,"setPivotX",[e],(e=>{}))},setPivotY:function(e){y.callUIFunction(o.value,"setPivotY",[e],(e=>{}))},resetPivot:function(){y.callUIFunction(o.value,"resetPivot",[],(e=>{}))},resetAnimators:function(){y.callUIFunction(o.value,"resetAnimators",[],(e=>{}))},animatorSet:function(e,t,n){y.callUIFunction(o.value,"animatorSet",[e,t,n],(e=>{}))},startAnimator:function(e){y.callUIFunction(o.value,"startAnimator",[e],(e=>{}))},startAnimatorDelay:function(e,t){y.callUIFunction(o.value,"startAnimatorDelay",[e,t],(e=>{}))},pauseAnimator:function(e){y.callUIFunction(o.value,"pauseAnimator",[e],(e=>{}))},resumeAnimator:function(e){y.callUIFunction(o.value,"resumeAnimator",[e],(e=>{}))},cancelAnimator:function(e){y.callUIFunction(o.value,"cancelAnimator",[e],(e=>{}))},reverseAnimator:function(e){y.callUIFunction(o.value,"reverseAnimator",[e],(e=>{}))},play:function(e,t){y.callUIFunction(o.value,"play",[e,t],(e=>{}))},playWith:function(e,t){y.callUIFunction(o.value,"with",[e,t],(e=>{}))},playBefore:function(e,t){y.callUIFunction(o.value,"before",[e,t],(e=>{}))},playAfter:function(e,t){y.callUIFunction(o.value,"after",[e,t],(e=>{}))},playAfterDelay:function(e,t){y.callUIFunction(o.value,"afterDelay",[e,t],(e=>{}))},playSequentially1:function(e,t){y.callUIFunction(o.value,"playSequentially1",[e,t],(e=>{}))},playSequentially2:function(e,t,n){y.callUIFunction(o.value,"playSequentially2",[e,t,n],(e=>{}))},playSequentially3:function(e,t,n,a){y.callUIFunction(o.value,"playSequentially3",[e,t,n,a],(e=>{}))},playSequentially4:function(e,t,n,a,i){y.callUIFunction(o.value,"playSequentially4",[e,t,n,a,i],(e=>{}))},playSequentially5:function(e,t,n,a,i,l){y.callUIFunction(o.value,"playSequentially5",[e,t,n,a,i,l],(e=>{}))},playTogether1:function(e,t){y.callUIFunction(o.value,"playTogether1",[e,t],(e=>{}))},playTogether2:function(e,t,n){y.callUIFunction(o.value,"playTogether2",[e,t,n],(e=>{}))},playTogether3:function(e,t,n,a){y.callUIFunction(o.value,"playTogether3",[e,t,n,a],(e=>{}))},playTogether4:function(e,t,n,a,i){y.callUIFunction(o.value,"playTogether4",[e,t,n,a,i],(e=>{}))},playTogether5:function(e,t,n,a,i,l){y.callUIFunction(o.value,"playTogether5",[e,t,n,a,i,l],(e=>{}))},objectAnimator:function(e,t,n,a,i,l,c,s,u){y.callUIFunction(o.value,"objectAnimator",[e,t,n,a,i,l,c,s,u],(e=>{}))},objectAnimator1:function(e,t,n,i,l,c,s,u,r,d){n!=za.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_X&&n!=za.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Y&&n!=za.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Z||(i*=a),y.callUIFunction(o.value,"objectAnimator1",[e,t,n,i,l,c,s,u,r,d],(e=>{}))},objectAnimator2:function(e,t,n,i,l,c,s,u,r,d,f){n!=za.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_X&&n!=za.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Y&&n!=za.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Z||(i*=a,l*=a),y.callUIFunction(o.value,"objectAnimator2",[e,t,n,i,l,c,s,u,r,d,f],(e=>{}))},objectAnimator3:function(e,t,n,i,l,c,s,u,r,d,f,I){n!=za.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_X&&n!=za.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Y&&n!=za.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Z||(i*=a,l*=a,c*=a),y.callUIFunction(o.value,"objectAnimator3",[e,t,n,i,l,c,s,u,r,d,f,I],(e=>{}))},objectAnimator4:function(e,t,n,i,l,c,s,u,r,d,f,I,T){n!=za.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_X&&n!=za.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Y&&n!=za.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Z||(i*=a,l*=a,c*=a,s*=a),y.callUIFunction(o.value,"objectAnimator4",[e,t,n,i,l,c,s,u,r,d,f,I,T],(e=>{}))},objectAnimator5:function(e,t,n,i,l,c,s,u,r,d,f,I,T,p){n!=za.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_X&&n!=za.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Y&&n!=za.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Z||(i*=a,l*=a,c*=a,s*=a,u*=a),y.callUIFunction(o.value,"objectAnimator5",[e,t,n,i,l,c,s,u,r,d,f,I,T,p],(e=>{}))},objectAnimator6:function(e,t,n,i,l,c,s,u,r,d,f,I,T,p,m){n!=za.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_X&&n!=za.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Y&&n!=za.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Z||(i*=a,l*=a,c*=a,s*=a,u*=a,r*=a),y.callUIFunction(o.value,"objectAnimator6",[e,t,n,i,l,c,s,u,r,d,f,I,T,p,m],(e=>{}))},objectAnimator7:function(e,t,n,i,l,c,s,u,r,d,f,I,T,p,m,g){n!=za.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_X&&n!=za.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Y&&n!=za.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Z||(i*=a,l*=a,c*=a,s*=a,u*=a,r*=a,d*=a),y.callUIFunction(o.value,"objectAnimator7",[e,t,n,i,l,c,s,u,r,d,f,I,T,p,m,g],(e=>{}))},objectAnimator8:function(e,t,n,i,l,c,s,u,r,d,f,I,T,p,m,g,_){n!=za.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_X&&n!=za.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Y&&n!=za.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Z||(i*=a,l*=a,c*=a,s*=a,u*=a,r*=a,d*=a,f*=a),y.callUIFunction(o.value,"objectAnimator8",[e,t,n,i,l,c,s,u,r,d,f,I,T,p,m,g,_],(e=>{}))},objectAnimator9:function(e,t,n,i,l,c,s,u,r,d,f,I,T,p,m,g,_,v){n!=za.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_X&&n!=za.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Y&&n!=za.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Z||(i*=a,l*=a,c*=a,s*=a,u*=a,r*=a,d*=a,f*=a,I*=a),y.callUIFunction(o.value,"objectAnimator9",[e,t,n,i,l,c,s,u,r,d,f,I,T,p,m,g,_,v],(e=>{}))},objectAnimator10:function(e,t,n,i,l,c,s,u,r,d,f,I,T,p,m,g,_,v,h){n!=za.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_X&&n!=za.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Y&&n!=za.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Z||(i*=a,l*=a,c*=a,s*=a,u*=a,r*=a,d*=a,f*=a,I*=a,T*=a),y.callUIFunction(o.value,"objectAnimator10",[e,t,n,i,l,c,s,u,r,d,f,I,T,p,m,g,_,v,h],(e=>{}))},...to(o)}),()=>{const e=n.slots.default&&n.slots.default();return A("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,...to(o)}),()=>{const e=n.slots.default&&n.slots.default();return A("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){y.callUIFunction(o.value,"scrollTo",[e,t])},scrollToWithOptions:function(e,t,n){y.callUIFunction(o.value,"scrollToWithOptions",[{x:e,y:t,duration:n}])},...to(o)}),()=>{const e=n.slots.default&&n.slots.default();return A("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=>{y.callUIFunction(o.value,"lottie_rawRes",[e])},loadFile:e=>{y.callUIFunction(o.value,"lottie_localRes",[e])},loadUrl:e=>{y.callUIFunction(o.value,"lottie_url",[e])},loadCacheUrl:(e,t)=>{y.callUIFunction(o.value,"lottie_cache_url",[e,t])},setFallbackResource:e=>{y.callUIFunction(o.value,"lottie_fallbackRes",[e])},setAutoPlay:e=>{y.callUIFunction(o.value,"lottie_autoPlay",[e])},setLottieLoop:e=>{y.callUIFunction(o.value,"lottie_loop",[e])},setRepeatMode:e=>{y.callUIFunction(o.value,"lottie_repeatMode",[e])},setRepeatCount:e=>{y.callUIFunction(o.value,"lottie_repeatCount",[e])},setSpeed:e=>{y.callUIFunction(o.value,"lottie_speed",[e])},setClipToCompositionBounds:e=>{y.callUIFunction(o.value,"lottie_clipToCompositionBounds",[e])},setDefaultFontFileExtension:e=>{y.callUIFunction(o.value,"lottie_defaultFontFileExtension",[e])},setImageAssetsFolder:e=>{y.callUIFunction(o.value,"lottie_imageAssetsFolder",[e])},setProgress:e=>{y.callUIFunction(o.value,"lottie_progress",[e])},enableMergePathsForKitKatAndAbove:e=>{y.callUIFunction(o.value,"lottie_enableMergePathsForKitKatAndAbove",[e])},setColorFilter:e=>{y.callUIFunction(o.value,"lottie_colorFilter",[e])},setRenderMode:e=>{y.callUIFunction(o.value,"lottie_renderMode",[e])},setAsyncUpdate:e=>{y.callUIFunction(o.value,"lottie_asyncUpdates",[e])},playAnimation:()=>{y.callUIFunction(o.value,"playAnimation",[])},setIgnoreDisabledSystemAnimations:e=>{y.callUIFunction(o.value,"lottie_ignoreDisabledSystemAnimations",[e])},setUseCompositionFrameRate:e=>{y.callUIFunction(o.value,"lottie_useCompositionFrameRate",[e])},resumeAnimation:()=>{y.callUIFunction(o.value,"resumeAnimation",[])},pauseAnimation:()=>{y.callUIFunction(o.value,"pauseAnimation",[])},cancelAnimation:()=>{y.callUIFunction(o.value,"cancelAnimation",[])},cacheComposition:e=>{y.callUIFunction(o.value,"cacheComposition",[e])},removeAllListener:()=>{y.callUIFunction(o.value,"removeAllListener",[])},...to(o)}),()=>{const e=n.slots.default&&n.slots.default();return A("ESLottieViewComponent",{ref:o,onAnimationEvent:e=>{n.emit("animation-event",e)}},e)}}})}(t);for(let e in Ti)t.component(Ti[e].name,Ti[e])};export{Ya as QTAnimationInterpolatorType,za as QTAnimationPropertyName,qa as QTAnimationRepeatMode,Ha as QTAnimationValueType,Xa as QTDirections,ri as QTGradientOrientation,di as QTGradientShape,fi as QTGradientType,Za as QTIViewVisibility,ui as QTLottieAsyncUpdates,si as QTLottieRepeatMode,Ga as QTMediaSeriesStyleType,$a as QTMediaSeriesType,ei as QTNavBarItemType,Ja as QTScrollState,oi as QTSeekBarGravity,ai as QTSeekBarIndicatorMode,ni as QTSeekBarMode,li as QTSeekBarTickMarkGravity,ci as QTSeekBarTickMarkLayoutGravity,ii as QTSeekBarTickMarkMode,ti as QTTabItemType,Ia as QTTabPageState,$o as QTWaterfallItemType,Qo as QTWaterfallSectionType,ca as QTWaterfallVisibleType,pi as QuickTVUI,vo as arrangeChildren4ListView};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { QTClassifiedListViewItem } from "./QTClassifiedListViewItem";
|
|
2
|
+
export interface QTClassifiedListView {
|
|
3
|
+
init(itemList: Array<QTClassifiedListViewItem>): void;
|
|
4
|
+
scrollToIndex(index: number, anim: Boolean, offset: number): void;
|
|
5
|
+
setItemFocused(index: number): void;
|
|
6
|
+
scrollToFocused(index: number): void;
|
|
7
|
+
setItemSelected(index: number, b: boolean): void;
|
|
8
|
+
scrollToSelected(index: number, b: boolean): void;
|
|
9
|
+
updateItem(position: number, data: QTClassifiedListViewItem): void;
|
|
10
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { QTGridViewItem } from "./QTGridViewItem";
|
|
2
|
+
import { ESIView } from "@extscreen/es3-component";
|
|
3
|
+
export interface QTGridView extends ESIView {
|
|
4
|
+
init(target: Array<QTGridViewItem>, isInit?: boolean): Array<QTGridViewItem>;
|
|
5
|
+
scrollToTop(): void;
|
|
6
|
+
clearFocus(): void;
|
|
7
|
+
stopPage(): void;
|
|
8
|
+
restartPage(): void;
|
|
9
|
+
blockRootFocus(): void;
|
|
10
|
+
unBlockRootFocus(): void;
|
|
11
|
+
setDisplay(value: Boolean): void;
|
|
12
|
+
scrollToPosition(index: number): void;
|
|
13
|
+
scrollToIndex(y: number, anim: Boolean, offset: number): void;
|
|
14
|
+
setItemFocused(pos: number): void;
|
|
15
|
+
scrollToFocused(pos: number): void;
|
|
16
|
+
setItemSelected(pos: number, b: boolean): void;
|
|
17
|
+
scrollToSelected(pos: number, b: boolean): void;
|
|
18
|
+
setInitPosition(position: number): void;
|
|
19
|
+
setListData(itemList: Array<QTGridViewItem>): void;
|
|
20
|
+
clearPostTask(): void;
|
|
21
|
+
destroy(): void;
|
|
22
|
+
}
|
|
@@ -132,6 +132,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
132
132
|
type: ObjectConstructor;
|
|
133
133
|
default: () => void;
|
|
134
134
|
};
|
|
135
|
+
navBarNextFocusName: {
|
|
136
|
+
type: ObjectConstructor;
|
|
137
|
+
default: () => {
|
|
138
|
+
down: string;
|
|
139
|
+
};
|
|
140
|
+
};
|
|
135
141
|
}, {
|
|
136
142
|
dispatchFunctionBySid: (sid: string, funcName: string, args: any[]) => void;
|
|
137
143
|
requestFocus: () => void;
|
|
@@ -317,6 +323,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
317
323
|
type: ObjectConstructor;
|
|
318
324
|
default: () => void;
|
|
319
325
|
};
|
|
326
|
+
navBarNextFocusName: {
|
|
327
|
+
type: ObjectConstructor;
|
|
328
|
+
default: () => {
|
|
329
|
+
down: string;
|
|
330
|
+
};
|
|
331
|
+
};
|
|
320
332
|
}>> & {
|
|
321
333
|
onOnTabPageLoadData?: ((...args: any[]) => any) | undefined;
|
|
322
334
|
onOnTabPageChanged?: ((...args: any[]) => any) | undefined;
|
|
@@ -365,5 +377,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
365
377
|
outOfDateTime: number;
|
|
366
378
|
customPool: Record<string, any>;
|
|
367
379
|
customItemPool: Record<string, any>;
|
|
380
|
+
navBarNextFocusName: Record<string, any>;
|
|
368
381
|
}, {}>;
|
|
369
382
|
export default _default;
|