@quicktvui/quicktvui3 0.0.96 → 1.0.1

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,2 @@
1
- import{ref as e,openBlock as t,createElementBlock as n,renderSlot as o,defineComponent as a,resolveComponent as l,normalizeStyle as s,normalizeClass as i,createCommentVNode as c,withDirectives as r,vShow as u,createBlock as d,toDisplayString as f,watchEffect as p,onBeforeUnmount as g,withCtx as m,Fragment as h,createVNode as v,createElementVNode as _,pushScopeId as y,popScopeId as b,reactive as T,watch as S,h as I}from"vue";import{Native as x}from"@extscreen/es3-vue";import{useESToast as E,useES as F,useESLog as P,ESLogLevel as C}from"@extscreen/es3-core";function L(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 k="production"!==process.env.NODE_ENV?Object.freeze({}):{};"production"===process.env.NODE_ENV||Object.freeze([]);const D=()=>{},N=/^on[^a-z]/,w=e=>N.test(e),O=Object.assign,B=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},A=Object.prototype.hasOwnProperty,R=(e,t)=>A.call(e,t),$=Array.isArray,U=e=>"[object Map]"===Y(e),V=e=>"[object Set]"===Y(e),z=e=>"function"==typeof e,q=e=>"string"==typeof e,W=e=>"symbol"==typeof e,M=e=>null!==e&&"object"==typeof e,G=e=>(M(e)||z(e))&&z(e.then)&&z(e.catch),Q=Object.prototype.toString,Y=e=>Q.call(e),j=e=>Y(e).slice(8,-1),H=e=>"[object Object]"===Y(e),X=e=>q(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,K=(e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))})((e=>e.charAt(0).toUpperCase()+e.slice(1))),J=(e,t)=>!Object.is(e,t),Z=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})};let ee;const te=()=>ee||(ee="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{});function ne(e){if($(e)){const t={};for(let n=0;n<e.length;n++){const o=e[n],a=q(o)?se(o):ne(o);if(a)for(const e in a)t[e]=a[e]}return t}if(q(e)||M(e))return e}const oe=/;(?![^(]*\))/g,ae=/:([^]+)/,le=/\/\*[^]*?\*\//g;function se(e){const t={};return e.replace(le,"").split(oe).forEach((e=>{if(e){const n=e.split(ae);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}function ie(e){let t="";if(q(e))t=e;else if($(e))for(let n=0;n<e.length;n++){const o=ie(e[n]);o&&(t+=o+" ")}else if(M(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function ce(e,...t){console.warn(`[Vue warn] ${e}`,...t)}let re;const ue=e=>{const t=new Set(e);return t.w=0,t.n=0,t},de=e=>(e.w&me)>0,fe=e=>(e.n&me)>0,pe=new WeakMap;let ge=0,me=1;const he=30;let ve;const _e=Symbol("production"!==process.env.NODE_ENV?"iterate":""),ye=Symbol("production"!==process.env.NODE_ENV?"Map key iterate":"");class be{constructor(e,t=null,n){this.fn=e,this.scheduler=t,this.active=!0,this.deps=[],this.parent=void 0,function(e,t=re){t&&t.active&&t.effects.push(e)}(this,n)}run(){if(!this.active)return this.fn();let e=ve,t=Se;for(;e;){if(e===this)return;e=e.parent}try{return this.parent=ve,ve=this,Se=!0,me=1<<++ge,ge<=he?(({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=me})(this):Te(this),this.fn()}finally{ge<=he&&(e=>{const{deps:t}=e;if(t.length){let n=0;for(let o=0;o<t.length;o++){const a=t[o];de(a)&&!fe(a)?a.delete(e):t[n++]=a,a.w&=~me,a.n&=~me}t.length=n}})(this),me=1<<--ge,ve=this.parent,Se=t,this.parent=void 0,this.deferStop&&this.stop()}}stop(){ve===this?this.deferStop=!0:this.active&&(Te(this),this.onStop&&this.onStop(),this.active=!1)}}function Te(e){const{deps:t}=e;if(t.length){for(let n=0;n<t.length;n++)t[n].delete(e);t.length=0}}let Se=!0;const Ie=[];function xe(){Ie.push(Se),Se=!1}function Ee(){const e=Ie.pop();Se=void 0===e||e}function Fe(e,t,n){if(Se&&ve){let o=pe.get(e);o||pe.set(e,o=new Map);let a=o.get(n);a||o.set(n,a=ue());!function(e,t){let n=!1;ge<=he?fe(e)||(e.n|=me,n=!de(e)):n=!e.has(ve);n&&(e.add(ve),ve.deps.push(e),"production"!==process.env.NODE_ENV&&ve.onTrack&&ve.onTrack(O({effect:ve},t)))}(a,"production"!==process.env.NODE_ENV?{effect:ve,target:e,type:t,key:n}:void 0)}}function Pe(e,t,n,o,a,l){const s=pe.get(e);if(!s)return;let i=[];if("clear"===t)i=[...s.values()];else if("length"===n&&$(e)){const e=Number(o);s.forEach(((t,n)=>{("length"===n||!W(n)&&n>=e)&&i.push(t)}))}else switch(void 0!==n&&i.push(s.get(n)),t){case"add":$(e)?X(n)&&i.push(s.get("length")):(i.push(s.get(_e)),U(e)&&i.push(s.get(ye)));break;case"delete":$(e)||(i.push(s.get(_e)),U(e)&&i.push(s.get(ye)));break;case"set":U(e)&&i.push(s.get(_e))}const c="production"!==process.env.NODE_ENV?{target:e,type:t,key:n,newValue:o,oldValue:a,oldTarget:l}:void 0;if(1===i.length)i[0]&&("production"!==process.env.NODE_ENV?Ce(i[0],c):Ce(i[0]));else{const e=[];for(const t of i)t&&e.push(...t);"production"!==process.env.NODE_ENV?Ce(ue(e),c):Ce(ue(e))}}function Ce(e,t){const n=$(e)?e:[...e];for(const e of n)e.computed&&Le(e,t);for(const e of n)e.computed||Le(e,t)}function Le(e,t){(e!==ve||e.allowRecurse)&&("production"!==process.env.NODE_ENV&&e.onTrigger&&e.onTrigger(O({effect:e},t)),e.scheduler?e.scheduler():e.run())}const ke=L("__proto__,__v_isRef,__isVue"),De=new Set(Object.getOwnPropertyNames(Symbol).filter((e=>"arguments"!==e&&"caller"!==e)).map((e=>Symbol[e])).filter(W)),Ne=we();function we(){const e={};return["includes","indexOf","lastIndexOf"].forEach((t=>{e[t]=function(...e){const n=Tt(this);for(let e=0,t=this.length;e<t;e++)Fe(n,"get",e+"");const o=n[t](...e);return-1===o||!1===o?n[t](...e.map(Tt)):o}})),["push","pop","shift","unshift","splice"].forEach((t=>{e[t]=function(...e){xe();const n=Tt(this)[t].apply(this,e);return Ee(),n}})),e}function Oe(e){const t=Tt(this);return Fe(t,"has",e),t.hasOwnProperty(e)}class Be{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?ft:dt:a?ut:rt).get(e))return e;const l=$(e);if(!o){if(l&&R(Ne,t))return Reflect.get(Ne,t,n);if("hasOwnProperty"===t)return Oe}const s=Reflect.get(e,t,n);return(W(t)?De.has(t):ke(t))?s:(o||Fe(e,"get",t),a?s:xt(s)?l&&X(t)?s:s.value:M(s)?o?gt(s):pt(s):s)}}class Ae extends Be{constructor(e=!1){super(!1,e)}set(e,t,n,o){let a=e[t];if(_t(a)&&xt(a)&&!xt(n))return!1;if(!this._shallow&&(yt(n)||_t(n)||(a=Tt(a),n=Tt(n)),!$(e)&&xt(a)&&!xt(n)))return a.value=n,!0;const l=$(e)&&X(t)?Number(t)<e.length:R(e,t),s=Reflect.set(e,t,n,o);return e===Tt(o)&&(l?J(n,a)&&Pe(e,"set",t,n,a):Pe(e,"add",t,n)),s}deleteProperty(e,t){const n=R(e,t),o=e[t],a=Reflect.deleteProperty(e,t);return a&&n&&Pe(e,"delete",t,void 0,o),a}has(e,t){const n=Reflect.has(e,t);return W(t)&&De.has(t)||Fe(e,"has",t),n}ownKeys(e){return Fe(e,"iterate",$(e)?"length":_e),Reflect.ownKeys(e)}}class Re extends Be{constructor(e=!1){super(!0,e)}set(e,t){return"production"!==process.env.NODE_ENV&&ce(`Set operation on key "${String(t)}" failed: target is readonly.`,e),!0}deleteProperty(e,t){return"production"!==process.env.NODE_ENV&&ce(`Delete operation on key "${String(t)}" failed: target is readonly.`,e),!0}}const $e=new Ae,Ue=new Re,Ve=new Re(!0),ze=e=>e,qe=e=>Reflect.getPrototypeOf(e);function We(e,t,n=!1,o=!1){const a=Tt(e=e.__v_raw),l=Tt(t);n||(J(t,l)&&Fe(a,"get",t),Fe(a,"get",l));const{has:s}=qe(a),i=o?ze:n?It:St;return s.call(a,t)?i(e.get(t)):s.call(a,l)?i(e.get(l)):void(e!==a&&e.get(t))}function Me(e,t=!1){const n=this.__v_raw,o=Tt(n),a=Tt(e);return t||(J(e,a)&&Fe(o,"has",e),Fe(o,"has",a)),e===a?n.has(e):n.has(e)||n.has(a)}function Ge(e,t=!1){return e=e.__v_raw,!t&&Fe(Tt(e),"iterate",_e),Reflect.get(e,"size",e)}function Qe(e){e=Tt(e);const t=Tt(this);return qe(t).has.call(t,e)||(t.add(e),Pe(t,"add",e,e)),this}function Ye(e,t){t=Tt(t);const n=Tt(this),{has:o,get:a}=qe(n);let l=o.call(n,e);l?"production"!==process.env.NODE_ENV&&ct(n,o,e):(e=Tt(e),l=o.call(n,e));const s=a.call(n,e);return n.set(e,t),l?J(t,s)&&Pe(n,"set",e,t,s):Pe(n,"add",e,t),this}function je(e){const t=Tt(this),{has:n,get:o}=qe(t);let a=n.call(t,e);a?"production"!==process.env.NODE_ENV&&ct(t,n,e):(e=Tt(e),a=n.call(t,e));const l=o?o.call(t,e):void 0,s=t.delete(e);return a&&Pe(t,"delete",e,void 0,l),s}function He(){const e=Tt(this),t=0!==e.size,n="production"!==process.env.NODE_ENV?U(e)?new Map(e):new Set(e):void 0,o=e.clear();return t&&Pe(e,"clear",void 0,void 0,n),o}function Xe(e,t){return function(n,o){const a=this,l=a.__v_raw,s=Tt(l),i=t?ze:e?It:St;return!e&&Fe(s,"iterate",_e),l.forEach(((e,t)=>n.call(o,i(e),i(t),a)))}}function Ke(e,t,n){return function(...o){const a=this.__v_raw,l=Tt(a),s=U(l),i="entries"===e||e===Symbol.iterator&&s,c="keys"===e&&s,r=a[e](...o),u=n?ze:t?It:St;return!t&&Fe(l,"iterate",c?ye:_e),{next(){const{value:e,done:t}=r.next();return t?{value:e,done:t}:{value:i?[u(e[0]),u(e[1])]:u(e),done:t}},[Symbol.iterator](){return this}}}}function Je(e){return function(...t){if("production"!==process.env.NODE_ENV){const n=t[0]?`on key "${t[0]}" `:"";console.warn(`${K(e)} operation ${n}failed: target is readonly.`,Tt(this))}return"delete"!==e&&this}}function Ze(){const e={get(e){return We(this,e)},get size(){return Ge(this)},has:Me,add:Qe,set:Ye,delete:je,clear:He,forEach:Xe(!1,!1)},t={get(e){return We(this,e,!1,!0)},get size(){return Ge(this)},has:Me,add:Qe,set:Ye,delete:je,clear:He,forEach:Xe(!1,!0)},n={get(e){return We(this,e,!0)},get size(){return Ge(this,!0)},has(e){return Me.call(this,e,!0)},add:Je("add"),set:Je("set"),delete:Je("delete"),clear:Je("clear"),forEach:Xe(!0,!1)},o={get(e){return We(this,e,!0,!0)},get size(){return Ge(this,!0)},has(e){return Me.call(this,e,!0)},add:Je("add"),set:Je("set"),delete:Je("delete"),clear:Je("clear"),forEach:Xe(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach((a=>{e[a]=Ke(a,!1,!1),n[a]=Ke(a,!0,!1),t[a]=Ke(a,!1,!0),o[a]=Ke(a,!0,!0)})),[e,n,t,o]}const[et,tt,nt,ot]=Ze();function at(e,t){const n=t?e?ot:nt:e?tt:et;return(t,o,a)=>"__v_isReactive"===o?!e:"__v_isReadonly"===o?e:"__v_raw"===o?t:Reflect.get(R(n,o)&&o in t?n:t,o,a)}const lt={get:at(!1,!1)},st={get:at(!0,!1)},it={get:at(!0,!0)};function ct(e,t,n){const o=Tt(n);if(o!==n&&t.call(e,o)){const t=j(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 rt=new WeakMap,ut=new WeakMap,dt=new WeakMap,ft=new WeakMap;function pt(e){return _t(e)?e:ht(e,!1,$e,lt,rt)}function gt(e){return ht(e,!0,Ue,st,dt)}function mt(e){return ht(e,!0,Ve,it,ft)}function ht(e,t,n,o,a){if(!M(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 l=a.get(e);if(l)return l;const s=(i=e).__v_skip||!Object.isExtensible(i)?0:function(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}(j(i));var i;if(0===s)return e;const c=new Proxy(e,2===s?o:n);return a.set(e,c),c}function vt(e){return _t(e)?vt(e.__v_raw):!(!e||!e.__v_isReactive)}function _t(e){return!(!e||!e.__v_isReadonly)}function yt(e){return!(!e||!e.__v_isShallow)}function bt(e){return vt(e)||_t(e)}function Tt(e){const t=e&&e.__v_raw;return t?Tt(t):e}const St=e=>M(e)?pt(e):e,It=e=>M(e)?gt(e):e;function xt(e){return!(!e||!0!==e.__v_isRef)}const Et={get:(e,t,n)=>{return xt(o=Reflect.get(e,t,n))?o.value:o;var o},set:(e,t,n,o)=>{const a=e[t];return xt(a)&&!xt(n)?(a.value=n,!0):Reflect.set(e,t,n,o)}};const Ft=[];function Pt(e,...t){if("production"===process.env.NODE_ENV)return;xe();const n=Ft.length?Ft[Ft.length-1].component:null,o=n&&n.appContext.config.warnHandler,a=function(){let e=Ft[Ft.length-1];if(!e)return[];const t=[];for(;e;){const n=t[0];n&&n.vnode===e?n.recurseCount++:t.push({vnode:e,recurseCount:0});const o=e.component&&e.component.parent;e=o&&o.vnode}return t}();if(o)Dt(o,n,11,[e+t.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)}`,l=">"+n;return e.props?[a,...Ct(e.props),l]:[a+l]}(e))})),t}(a)),console.warn(...n)}Ee()}function Ct(e){const t=[],n=Object.keys(e);return n.slice(0,3).forEach((n=>{t.push(...Lt(n,e[n]))})),n.length>3&&t.push(" ..."),t}function Lt(e,t,n){return q(t)?(t=JSON.stringify(t),n?t:[`${e}=${t}`]):"number"==typeof t||"boolean"==typeof t||null==t?n?t:[`${e}=${t}`]:xt(t)?(t=Lt(e,Tt(t.value),!0),n?t:[`${e}=Ref<`,t,">"]):z(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=Tt(t),n?t:[`${e}=`,t])}const kt={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 Dt(e,t,n,o){let a;try{a=o?e(...o):e()}catch(e){wt(e,t,n)}return a}function Nt(e,t,n,o){if(z(e)){const a=Dt(e,t,n,o);return a&&G(a)&&a.catch((e=>{wt(e,t,n)})),a}const a=[];for(let l=0;l<e.length;l++)a.push(Nt(e[l],t,n,o));return a}function wt(e,t,n,o=!0){const a=t?t.vnode:null;if(t){let o=t.parent;const a=t.proxy,l="production"!==process.env.NODE_ENV?kt[n]:n;for(;o;){const t=o.ec;if(t)for(let n=0;n<t.length;n++)if(!1===t[n](e,a,l))return;o=o.parent}const s=t.appContext.config.errorHandler;if(s)return void Dt(s,null,10,[e,a,l])}!function(e,t,n,o=!0){if("production"!==process.env.NODE_ENV){const l=kt[t];if(n&&(a=n,Ft.push(a)),Pt("Unhandled error"+(l?` during execution of ${l}`:"")),n&&Ft.pop(),o)throw e;console.error(e)}else console.error(e);var a}(e,n,a,o)}let Ot=!1,Bt=!1;const At=[];let Rt=0;const $t=[];let Ut=null,Vt=0;const zt=Promise.resolve();let qt=null;const Wt=100;function Mt(e){const t=qt||zt;return e?t.then(this?e.bind(this):e):t}function Gt(e){At.length&&At.includes(e,Ot&&e.allowRecurse?Rt+1:Rt)||(null==e.id?At.push(e):At.splice(function(e){let t=Rt+1,n=At.length;for(;t<n;){const o=t+n>>>1,a=At[o],l=jt(a);l<e||l===e&&a.pre?t=o+1:n=o}return t}(e.id),0,e),Qt())}function Qt(){Ot||Bt||(Bt=!0,qt=zt.then(Xt))}function Yt(e){$(e)?$t.push(...e):Ut&&Ut.includes(e,e.allowRecurse?Vt+1:Vt)||$t.push(e),Qt()}const jt=e=>null==e.id?1/0:e.id,Ht=(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 Xt(e){Bt=!1,Ot=!0,"production"!==process.env.NODE_ENV&&(e=e||new Map),At.sort(Ht);const t="production"!==process.env.NODE_ENV?t=>Kt(e,t):D;try{for(Rt=0;Rt<At.length;Rt++){const e=At[Rt];if(e&&!1!==e.active){if("production"!==process.env.NODE_ENV&&t(e))continue;Dt(e,null,14)}}}finally{Rt=0,At.length=0,function(e){if($t.length){const t=[...new Set($t)];if($t.length=0,Ut)return void Ut.push(...t);for(Ut=t,"production"!==process.env.NODE_ENV&&(e=e||new Map),Ut.sort(((e,t)=>jt(e)-jt(t))),Vt=0;Vt<Ut.length;Vt++)"production"!==process.env.NODE_ENV&&Kt(e,Ut[Vt])||Ut[Vt]();Ut=null,Vt=0}}(e),Ot=!1,qt=null,(At.length||$t.length)&&Xt(e)}}function Kt(e,t){if(e.has(t)){const n=e.get(t);if(n>Wt){const e=t.ownerInstance,n=e&&Yn(e.type);return Pt(`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 Jt=new Set;"production"!==process.env.NODE_ENV&&(te().__VUE_HMR_RUNTIME__={createRecord:nn((function(e,t){if(Zt.has(e))return!1;return Zt.set(e,{initialDef:en(t),instances:new Set}),!0})),rerender:nn((function(e,t){const n=Zt.get(e);if(!n)return;n.initialDef.render=t,[...n.instances].forEach((e=>{t&&(e.render=t,en(e.type).render=t),e.renderCache=[],e.update()}))})),reload:nn((function(e,t){const n=Zt.get(e);if(!n)return;t=en(t),tn(n.initialDef,t);const o=[...n.instances];for(const e of o){const o=en(e.type);Jt.has(o)||(o!==n.initialDef&&tn(o,t),Jt.add(o)),e.appContext.propsCache.delete(e.type),e.appContext.emitsCache.delete(e.type),e.appContext.optionsCache.delete(e.type),e.ceReload?(Jt.add(o),e.ceReload(t.styles),Jt.delete(o)):e.parent?Gt(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.")}Yt((()=>{for(const e of o)Jt.delete(en(e.type))}))}))});const Zt=new Map;function en(e){return Hn(e)?e.__vccOpts:e}function tn(e,t){O(e,t);for(const n in e)"__file"===n||n in t||delete e[n]}function nn(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 on=null,an=null;const ln=Symbol.for("v-ndc");const sn={};function cn(e,t,{immediate:n,deep:o,flush:a,onTrack:l,onTrigger:s}=k){var i;"production"===process.env.NODE_ENV||t||(void 0!==n&&Pt('watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.'),void 0!==o&&Pt('watch() "deep" option is only respected when using the watch(source, callback, options?) signature.'));const c=e=>{Pt("Invalid watch source: ",e,"A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types.")},r=re===(null==(i=zn)?void 0:i.scope)?zn:null;let u,d,f=!1,p=!1;if(xt(e)?(u=()=>e.value,f=yt(e)):vt(e)?(u=()=>e,o=!0):$(e)?(p=!0,f=e.some((e=>vt(e)||yt(e))),u=()=>e.map((e=>xt(e)?e.value:vt(e)?un(e):z(e)?Dt(e,r,2):void("production"!==process.env.NODE_ENV&&c(e))))):z(e)?u=t?()=>Dt(e,r,2):()=>{if(!r||!r.isUnmounted)return d&&d(),Nt(e,r,3,[g])}:(u=D,"production"!==process.env.NODE_ENV&&c(e)),t&&o){const e=u;u=()=>un(e())}let g=e=>{d=_.onStop=()=>{Dt(e,r,4)}},m=p?new Array(e.length).fill(sn):sn;const h=()=>{if(_.active)if(t){const e=_.run();(o||f||(p?e.some(((e,t)=>J(e,m[t]))):J(e,m)))&&(d&&d(),Nt(t,r,3,[e,m===sn?void 0:p&&m[0]===sn?[]:m,g]),m=e)}else _.run()};let v;h.allowRecurse=!!t,"sync"===a?v=h:"post"===a?v=()=>En(h,r&&r.suspense):(h.pre=!0,r&&(h.id=r.uid),v=()=>Gt(h));const _=new be(u,v);"production"!==process.env.NODE_ENV&&(_.onTrack=l,_.onTrigger=s),t?n?h():m=_.run():"post"===a?En(_.run.bind(_),r&&r.suspense):_.run();return()=>{_.stop(),r&&r.scope&&B(r.scope.effects,_)}}function rn(e,t,n){const o=this.proxy,a=q(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 l;z(t)?l=t:(l=t.handler,n=t);const s=zn;Wn(this);const i=cn(a,l.bind(o),n);return s?Wn(s):Mn(),i}function un(e,t){if(!M(e)||e.__v_skip)return e;if((t=t||new Set).has(e))return e;if(t.add(e),xt(e))un(e.value,t);else if($(e))for(let n=0;n<e.length;n++)un(e[n],t);else if(V(e)||U(e))e.forEach((e=>{un(e,t)}));else if(H(e))for(const n in e)un(e[n],t);return e}
2
- /*! #__NO_SIDE_EFFECTS__ */function dn(e,t){return z(e)?(()=>O({name:e.name},t,{setup:e}))():e}const fn=e=>e?4&e.vnode.shapeFlag?function(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy((n=e.exposed,Z(n,"__v_skip",!0),vt(t=n)?t:new Proxy(t,Et)),{get:(t,n)=>n in t?t[n]:n in pn?pn[n](e):void 0,has:(e,t)=>t in e||t in pn}));var t;var n}(e)||e.proxy:fn(e.parent):null,pn=O(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>"production"!==process.env.NODE_ENV?mt(e.props):e.props,$attrs:e=>"production"!==process.env.NODE_ENV?mt(e.attrs):e.attrs,$slots:e=>"production"!==process.env.NODE_ENV?mt(e.slots):e.slots,$refs:e=>"production"!==process.env.NODE_ENV?mt(e.refs):e.refs,$parent:e=>fn(e.parent),$root:e=>fn(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:l,config:{optionMergeStrategies:s}}=e.appContext,i=l.get(t);let c;i?c=i:a.length||n||o?(c={},a.length&&a.forEach((e=>_n(c,e,s,!0))),_n(c,t,s)):c=t;M(t)&&l.set(t,c);return c}(e):e.type,$forceUpdate:e=>e.f||(e.f=()=>Gt(e.update)),$nextTick:e=>e.n||(e.n=Mt.bind(e.proxy)),$watch:e=>__VUE_OPTIONS_API__?rn.bind(e):D}),gn=(e,t)=>e!==k&&!e.__isScriptSetup&&R(e,t),mn={get({_:e},t){const{ctx:n,setupState:o,data:a,props:l,accessCache:s,type:i,appContext:c}=e;if("production"!==process.env.NODE_ENV&&"__isVue"===t)return!0;let r;if("$"!==t[0]){const i=s[t];if(void 0!==i)switch(i){case 1:return o[t];case 2:return a[t];case 4:return n[t];case 3:return l[t]}else{if(gn(o,t))return s[t]=1,o[t];if(a!==k&&R(a,t))return s[t]=2,a[t];if((r=e.propsOptions[0])&&R(r,t))return s[t]=3,l[t];if(n!==k&&R(n,t))return s[t]=4,n[t];__VUE_OPTIONS_API__&&!vn||(s[t]=0)}}const u=pn[t];let d,f;return u?("$attrs"===t?(Fe(e,"get",t),process.env.NODE_ENV):"production"!==process.env.NODE_ENV&&"$slots"===t&&Fe(e,"get",t),u(e)):(d=i.__cssModules)&&(d=d[t])?d:n!==k&&R(n,t)?(s[t]=4,n[t]):(f=c.config.globalProperties,R(f,t)?f[t]:void("production"===process.env.NODE_ENV||!on||q(t)&&0===t.indexOf("__v")||(a!==k&&(e=>"_"===e||"$"===e)(t[0])&&R(a,t)?Pt(`Property ${JSON.stringify(t)} must be accessed via $data because it starts with a reserved character ("$" or "_") and is not proxied on the render context.`):e===on&&Pt(`Property ${JSON.stringify(t)} was accessed during render but is not defined on instance.`))))},set({_:e},t,n){const{data:o,setupState:a,ctx:l}=e;return gn(a,t)?(a[t]=n,!0):"production"!==process.env.NODE_ENV&&a.__isScriptSetup&&R(a,t)?(Pt(`Cannot mutate <script setup> binding "${t}" from Options API.`),!1):o!==k&&R(o,t)?(o[t]=n,!0):R(e.props,t)?("production"!==process.env.NODE_ENV&&Pt(`Attempting to mutate prop "${t}". Props are readonly.`),!1):"$"===t[0]&&t.slice(1)in e?("production"!==process.env.NODE_ENV&&Pt(`Attempting to mutate public property "${t}". Properties starting with $ are reserved and readonly.`),!1):("production"!==process.env.NODE_ENV&&t in e.appContext.config.globalProperties?Object.defineProperty(l,t,{enumerable:!0,configurable:!0,value:n}):l[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:o,appContext:a,propsOptions:l}},s){let i;return!!n[s]||e!==k&&R(e,s)||gn(t,s)||(i=l[0])&&R(i,s)||R(o,s)||R(pn,s)||R(a.config.globalProperties,s)},defineProperty(e,t,n){return null!=n.get?e._.accessCache[t]=0:R(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function hn(e){return $(e)?e.reduce(((e,t)=>(e[t]=null,e)),{}):e}"production"!==process.env.NODE_ENV&&(mn.ownKeys=e=>(Pt("Avoid app logic that relies on enumerating keys on a component instance. The keys will be empty in production mode to avoid performance overhead."),Reflect.ownKeys(e)));let vn=!0;function _n(e,t,n,o=!1){const{mixins:a,extends:l}=t;l&&_n(e,l,n,!0),a&&a.forEach((t=>_n(e,t,n,!0)));for(const a in t)if(o&&"expose"===a)"production"!==process.env.NODE_ENV&&Pt('"expose" option is ignored when declared in mixins or extends. It should only be declared in the base component itself.');else{const o=yn[a]||n&&n[a];e[a]=o?o(e[a],t[a]):t[a]}return e}const yn={data:bn,props:xn,emits:xn,methods:In,computed:In,beforeCreate:Sn,created:Sn,beforeMount:Sn,mounted:Sn,beforeUpdate:Sn,updated:Sn,beforeDestroy:Sn,beforeUnmount:Sn,destroyed:Sn,unmounted:Sn,activated:Sn,deactivated:Sn,errorCaptured:Sn,serverPrefetch:Sn,components:In,directives:In,watch:function(e,t){if(!e)return t;if(!t)return e;const n=O(Object.create(null),e);for(const o in t)n[o]=Sn(e[o],t[o]);return n},provide:bn,inject:function(e,t){return In(Tn(e),Tn(t))}};function bn(e,t){return t?e?function(){return O(z(e)?e.call(this,this):e,z(t)?t.call(this,this):t)}:t:e}function Tn(e){if($(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Sn(e,t){return e?[...new Set([].concat(e,t))]:t}function In(e,t){return e?O(Object.create(null),e,t):t}function xn(e,t){return e?$(e)&&$(t)?[...new Set([...e,...t])]:O(Object.create(null),hn(e),hn(null!=t?t:{})):t}const En=function(e,t){t&&t.pendingBranch?$(e)?t.effects.push(...e):t.effects.push(e):Yt(e)},Fn=Symbol.for("v-fgt"),Pn=Symbol.for("v-txt"),Cn=Symbol.for("v-cmt");let Ln=null;const kn="__vInternal",Dn=({key:e})=>null!=e?e:null,Nn=({ref:e,ref_key:t,ref_for:n})=>("number"==typeof e&&(e=""+e),null!=e?q(e)||xt(e)||z(e)?{i:on,r:e,k:t,f:!!n}:e:null);const wn="production"!==process.env.NODE_ENV?(...e)=>On(...e):On;function On(e,t=null,n=null,o=0,a=null,l=!1){if(e&&e!==ln||("production"===process.env.NODE_ENV||e||Pt(`Invalid vnode type when creating vnode: ${e}.`),e=Cn),(s=e)&&!0===s.__v_isVNode){const o=Bn(e,t,!0);return n&&$n(o,n),!l&&Ln&&(6&o.shapeFlag?Ln[Ln.indexOf(e)]=o:Ln.push(o)),o.patchFlag|=-2,o}var s;if(Hn(e)&&(e=e.__vccOpts),t){t=function(e){return e?bt(e)||kn in e?O({},e):e:null}(t);let{class:e,style:n}=t;e&&!q(e)&&(t.class=ie(e)),M(n)&&(bt(n)&&!$(n)&&(n=O({},n)),t.style=ne(n))}const i=q(e)?1:(e=>e.__isSuspense)(e)?128:(e=>e.__isTeleport)(e)?64:M(e)?4:z(e)?2:0;return"production"!==process.env.NODE_ENV&&4&i&&bt(e)&&Pt("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=Tt(e)),function(e,t=null,n=null,o=0,a=null,l=(e===Fn?0:1),s=!1,i=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Dn(t),ref:t&&Nn(t),scopeId:an,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:l,patchFlag:o,dynamicProps:a,dynamicChildren:null,appContext:null,ctx:on};return i?($n(c,n),128&l&&e.normalize(c)):n&&(c.shapeFlag|=q(n)?8:16),"production"!==process.env.NODE_ENV&&c.key!=c.key&&Pt("VNode created with invalid key (NaN). VNode type:",c.type),!s&&Ln&&(c.patchFlag>0||6&l)&&32!==c.patchFlag&&Ln.push(c),c}(e,t,n,o,a,i,l,!0)}function Bn(e,t,n=!1){const{props:o,ref:a,patchFlag:l,children:s}=e,i=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=ie([t.class,o.class]));else if("style"===e)t.style=ne([t.style,o.style]);else if(w(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:i,key:i&&Dn(i),ref:t&&t.ref?n&&a?$(a)?a.concat(Nn(t)):[a,Nn(t)]:Nn(t):a,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:"production"!==process.env.NODE_ENV&&-1===l&&$(s)?s.map(An):s,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Fn?-1===l?16:16|l:l,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Bn(e.ssContent),ssFallback:e.ssFallback&&Bn(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function An(e){const t=Bn(e);return $(e.children)&&(t.children=e.children.map(An)),t}function Rn(e=" ",t=0){return wn(Pn,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||kn in t?3===o&&on&&(1===on.slots._?t._=1:(t._=2,e.patchFlag|=1024)):t._ctx=on}}else z(t)?(t={default:t,_ctx:on},n=32):(t=String(t),64&o?(n=16,t=[Rn(t)]):n=8);e.children=t,e.shapeFlag|=n}let Un,Vn,zn=null,qn="__VUE_INSTANCE_SETTERS__";(Vn=te()[qn])||(Vn=te()[qn]=[]),Vn.push((e=>zn=e)),Un=e=>{Vn.length>1?Vn.forEach((t=>t(e))):Vn[0](e)};const Wn=e=>{Un(e),e.scope.on()},Mn=()=>{zn&&zn.scope.off(),Un(null)};const Gn=/(?:^|[-_])(\w)/g,Qn=e=>e.replace(Gn,(e=>e.toUpperCase())).replace(/[-_]/g,"");function Yn(e,t=!0){return z(e)?e.displayName||e.name:e.name||t&&e.__name}function jn(e,t,n=!1){let o=Yn(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?Qn(o):n?"App":"Anonymous"}function Hn(e){return z(e)&&"__vccOpts"in e}var Xn=dn({name:"qt-view",emits:["clearFocus"],setup(t,n){const o=e();return{clearFocus:()=>{x.callUIFunction(o.value,"clearFocus")},requestFocus:()=>{x.callUIFunction(o.value,"requestFocus")},requestFocusDirectly:()=>{x.callUIFunction(o.value,"requestFocusDirectly")},viewRef:o}}});const Kn={clipChildren:!1,ref:"viewRef"};Xn.render=function(e,a,l,s,i,c){return t(),n("div",Kn,[o(e.$slots,"default")],512)},Xn.__file="src/view/index.vue";var Jn=dn({name:"qt-text"});const Zn={clipChildren:!1};Jn.render=function(e,a,l,s,i,c){return t(),n("span",Zn,[o(e.$slots,"default")])},Jn.__file="src/text/index.vue";var eo=dn({name:"qt-image"});const to={src:"",alt:"",clipChildren:!1};eo.render=function(e,o,a,l,s,i){return t(),n("img",to)},eo.__file="src/image/index.vue";var no=dn({name:"qt-column"});const oo={class:"qt-ui-row-css",clipChildren:!1};no.render=function(e,a,l,s,i,c){return t(),n("div",oo,[o(e.$slots,"default")])},no.__scopeId="data-v-734c04b2",no.__file="src/column/index.vue";var ao=dn({name:"qt-row"});const lo={class:"qt-ui-row-css",clipChildren:!1};ao.render=function(e,a,l,s,i,c){return t(),n("div",lo,[o(e.$slots,"default")])},ao.__scopeId="data-v-9c454b58",ao.__file="src/row/index.vue";var so=a({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{focused:a,requestFocus:function(){x.callUIFunction(o.value,"requestFocus",[])},requestFocusDirectly:function(){x.callUIFunction(o.value,"requestFocusDirectly",[])},onFocus:function(e){console.log("--------XXXXXXXXXXXXXXXXX--------------\x3e>>",a.value),a.value=e.isFocused,n.emit("focus",e.isFocused)},onClick:function(e){n.emit("click")}}}});const io=["focusable","enableFocusBorder","focusScale"],co=["gradientBackground"],ro=["gradientBackground"],uo=["gradientBackground"],fo=["src"],po=["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})}))}so.render=function(e,a,p,g,m,h){const v=l("text-view");return t(),n("div",{ref:"buttonRef",clipChildren:!1,focusable:e.focusable,enableFocusBorder:e.focusBorder,focusScale:e.focusScale,onClick:a[0]||(a[0]=(...t)=>e.onClick&&e.onClick(...t)),name:"textButton",eventClick:"",eventFocus:"",onFocus:a[1]||(a[1]=(...t)=>e.onFocus&&e.onFocus(...t)),style:s(e.buttonStyle),class:i(["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}])},[c(" gradient "),e.gradientFocusBackground?(t(),n("div",{key:0,class:"button-gradient-background-css",gradientBackground:e.gradientFocusBackground,focusable:!1,showOnState:"focused"},null,8,co)):c("v-if",!0),e.gradientSelectedBackground?(t(),n("div",{key:1,class:"button-gradient-background-css",gradientBackground:e.gradientSelectedBackground,focusable:!1,showOnState:"selected"},null,8,ro)):c("v-if",!0),e.gradientBackground?(t(),n("div",{key:2,class:"button-gradient-background-css",gradientBackground:e.gradientBackground,focusable:!1,showOnState:"normal"},null,8,uo)):c("v-if",!0),c(" -----------------------------icon--------------------------------- "),!e.icon&&!e.focusIcon||e.$slots.default?c("v-if",!0):(t(),n("div",{key:3,duplicateParentState:!0,style:s(e.iconParentStyle),flexStyle:"${iconParentStyle}",class:i(["quick-button-icon-parent",e.size?"quick-button-icon--parent"+e.size:""])},[e.icon&&!e.$slots.default?r((t(),n("img",{key:0,style:s(e.iconStyle),flexStyle:"${iconStyle}",duplicateParentState:!0,class:i(["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,fo)),[[u,!e.focused]]):c("v-if",!0),e.focusIcon&&!e.$slots.default?r((t(),n("img",{key:1,style:s(e.focusIconStyle?e.focusIconStyle:e.iconStyle),flexStyle:"${iconStyle}",class:i(["quick-button-icon",e.size?"quick-button-icon--"+e.size:"",{"is-square-icon":e.square}]),focusable:!1,duplicateParentState:!0,src:e.enableFlexStyle?"${"+e.focusIcon+"}":e.focusIcon,showOnState:"focused"},null,14,po)),[[u,e.focused]]):c("v-if",!0)],6)),c(" ------------------------------------------------------------------- "),c(" text "),e.enableFlexStyle?(t(),d(v,{key:4,style:s(e.textStyle),duplicateParentState:"",class:i([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:s(e.textStyle),duplicateParentState:"",class:i([e.size?"quick-button-text--"+e.size:"",{"is-disabled-text":e.disabled,"is-square-text":e.square}]),focusable:!1},f(e.text),7)):c("v-if",!0),o(e.$slots,"default")],46,io)},so.__scopeId="data-v-46a594e4",so.__file="src/button/index.vue";const mo=e=>e.map(vo),ho=e=>{const t=Object.keys(e),n={};return t.forEach((t=>{n[t]=vo(e[t])})),n};function vo(e){return e?"object"!=typeof e?e:Array.isArray(e)?mo(e):ho(e):e}var _o=a({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:()=>[]}},emits:["item-click","scroll","item-unbind","scroll-state-changed","item-bind","item-focused"],setup(t,n){E(),F();const o=e();let a=e(2.5),l=[],s=[],i=[],c=[],r="",u=-1,d=!1,f=-1,m=-1,h=-1,v=-1;p((()=>{t.openPage&&(u=1,d=!1,t.loadMore(u))}));const _=e=>{0==l.length&&(l=vo(e),s=e,a.value<2.2?(y(),t.openPage&&t.pageSize&&c.length>=t.pageSize/t.spanCount?o.value.setListData(c.concat([{type:1002,decoration:{top:15,left:30}}])):o.value.setListData(c)):t.openPage&&t.pageSize&&l.length>=t.pageSize?o.value.setListData(l.concat([{type:1002,decoration:{top:15,left:30}}])):o.value.setListData(l),t.defaultFocus>-1&&(h&&clearTimeout(h),h=setTimeout((()=>{T(t.defaultFocus),S(t.defaultFocus)}),800)));let n={get(e,s,f){if("__ob__"!=s&&"symbol"!=typeof s&&"map"!=s&&"length"!=s&&"constructor"!=s&&"_isVue"!=s&&"valueOf"!=s&&"toString"!=s&&"observeArray"!=s&&"dep"!=s&&"notify"!=s&&"subs"!=s&&"slice"!=s)if(i.push(s),-1!=i.indexOf("push"))r="push";else{if(-1!=i.indexOf("splice"))return r="splice",function(...t){if(e.splice(...t),a.value<2.2)if(y(),1==t.length||2==t.length)o.value.setListData(c);else if(0==t[1])o.value.setListData(c);else{let e=-1,n=0,a=0;for(let o=0;o<c.length;o++){const l=c[o];if("1003"==l.type)e++,t[0]==e&&(n=o),t[0]+t[1]-1==e&&(a=o);else for(let s=0;s<l.list.length;s++)l.list[s],e++,t[0]==e&&(n=o),t[0]+t[1]-1==e&&(a=o)}o.value.updateItemList(n,a-n+1,c.slice(n,a+1))}else 1==t.length?o.value.deleteItem(Number(t[0]),l.length-t[0]):2==t.length?o.value.deleteItem(Number(t[0]),t[1]):t.length>2&&(0==t[1]?a.value>2.29&&x(t[0],t.slice(2)):o.value.updateItemList(t[0],t[1],t.slice(2)));return l.splice(t[0],...t.slice(1)),r="",i=[],Reflect.get(e,s,f)};if(-1!=i.indexOf("pop"))return r="pop",function(){return e.pop(),a.value<2.2?(c[c.length-1].list.length<1&&c.pop(),c[c.length-1].list.pop(),o.value.updateItem(Number(c.length-1),c[c.length-1])):o.value.deleteItem(Number(l.length-1),1),l.pop(),r="",i=[],Reflect.get(e,s,f)};if(-1!=i.indexOf("forEach"))return r="forEach",function(n){return e.forEach((e=>{n(e)})),l=[],l=vo(e),a.value<2.2?(y(),t.openPage&&t.pageSize&&c.length>=t.pageSize&&!d?o.value.setListData(c.concat([{type:1002,decoration:{top:15,left:30}}])):o.value.setListData(c)):t.openPage&&t.pageSize&&l.length>=t.pageSize&&!d?o.value.setListData(l.concat([{type:1002,decoration:{top:15,left:30}}])):o.value.setListData(l),r="",i=[],Reflect.get(e,s,f)};if(-1!=i.indexOf("concat"))return r="concat",function(p){if("[object Array]"===Object.prototype.toString.call(p))if(e=e.concat(p),l=l.concat(p),a.value<2.2){v&&clearTimeout(v);let e=c.length,n=c.slice(c.length-1)[0];y();let a=c.slice(e);t.openPage&&!d?t.pageSize||2!=u?0==a.length||"1003"!=n.type&&n.list.length<t.spanCount?(a=c.slice(e-1),v=setTimeout((()=>{o.value.addListDataWithParams(a.concat([{type:1002,decoration:{top:15,left:30}}]),2)}),300)):v=setTimeout((()=>{o.value.addListDataWithParams(a.concat([{type:1002,decoration:{top:15,left:30}}]),1)}),300):v=setTimeout((()=>{o.value.addListData(a.concat([{type:1002,decoration:{top:15,left:30}}]))}),300):o.value.setListData(c)}else v=t.openPage&&!d?t.pageSize||2!=u?setTimeout((()=>{o.value.addListDataWithParams(p.concat([{type:1002,decoration:{top:15,left:30}}]),1)}),300):setTimeout((()=>{o.value.addListData(p.concat([{type:1002,decoration:{top:15,left:30}}]))}),300):setTimeout((()=>{o.value.addListData(p)}),300);else console.log("concat:参数类型必须为数组");return r="",i=[],Reflect.get(e,s,f),new Proxy(e,n)};r=""}const p=Reflect.get(e,s,f);return b(p)&&"__ob__"!=s&&"dep"!=s&&"subs"!=s?_(p):(-1==i.indexOf("push")&&(i=[]),p)},set(e,n,f,p){const g=e[n],m=Reflect.set(e,n,f,p);if((!b(g)&&g!==f||b(g))&&"push"!=r)if(i.push(n),l[i[0]]=s[i[0]],a.value<2.2){let e=i[0],t=-1;for(let n=0;n<c.length;n++){const a=c[n];if("1003"==a.type)t++,t==e&&(c[n]=l[i[0]],o.value.updateItem(Number(n),c[n]));else for(let s=0;s<a.list.length;s++)if(a.list[s],t++,t==e){c[n].list[s]=l[i[0]];let e=c[n].list[s];e.decoration&&(e.decoration.top&&(e.decoration.top=0),e.decoration.bottom&&(e.decoration.bottom=0)),o.value.updateItem(Number(n),c[n])}}}else o.value.updateItem(Number(i[0]),s[i[0]]);if(n&&"push"==r&&g!==f)i.push(n),l.push(f);else{if("push"==r&&i.length>1)if(a.value<2.2){v&&clearTimeout(v);let e=c.length,n=c.slice(c.length-1)[0];y();let a=c.slice(e);t.openPage&&!d?t.pageSize||2!=u?0==a.length||"1003"!=n.type&&n.list.length<t.spanCount?(a=c.slice(e-1),v=setTimeout((()=>{o.value.addListDataWithParams(a.concat([{type:1002,decoration:{top:15,left:30}}]),2)}),300)):v=setTimeout((()=>{o.value.addListDataWithParams(a.concat([{type:1002,decoration:{top:15,left:30}}]),1)}),300):v=setTimeout((()=>{o.value.addListData(a.concat([{type:1002,decoration:{top:15,left:30}}]))}),300):o.value.setListData(c)}else{let e=l.slice(i[1]);v&&clearTimeout(v),v=t.openPage&&!d?t.pageSize||2!=u?setTimeout((()=>{o.value.addListDataWithParams(e.concat([{type:1002,decoration:{top:15,left:30}}]),1)}),300):setTimeout((()=>{o.value.addListData(e.concat([{type:1002,decoration:{top:15,left:30}}]))}),300):setTimeout((()=>{o.value.addListData(e)}),300)}r="",i=[]}return m}};return new Proxy(e,n)},y=()=>{let e=vo(l);c=[];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)c.push(a);else for(let e=0;e<a.list.length;e+=t.spanCount){const o=a.list[e];let l={top:-1,bottom:-1};o.decoration&&(l.top=o.toCompatibleSaveTopVal?o.toCompatibleSaveTopVal:0,l.bottom=o.toCompatibleSaveBottompVal?o.toCompatibleSaveBottompVal:0);const s={type:1,decoration:l,name:"name"+n,list:a.list.slice(e,e+t.spanCount)};n++,c.push(s)}}},b=e=>null!==e&&"object"==typeof e,T=e=>{if(a.value<2.2){let t=-1;for(let n=0;n<c.length;n++){const a=c[n];if("1003"==a.type)t++,t==e&&o.value.scrollToPosition(n);else for(let l=0;l<a.list.length;l++)a.list[l],t++,t==e&&o.value.scrollToPosition(n)}}else o.value.scrollToPosition(e)},S=e=>{if(a.value<2.2){let t=-1,n=0,a=0;for(let o=0;o<c.length;o++){const l=c[o];if("1003"==l.type)t++;else for(let s=0;s<l.list.length;s++)l.list[s],t++,e==t&&(n=o,a=s)}o.value.dispatchItemFunction(n,"tv_list_inner","requestChildFocus",[a])}else o.value.requestFocus(e)},I=(e,t)=>{if(a.value<2.2){let t=-1,n=0,a=0;for(let o=0;o<c.length;o++){const l=c[o];if("1003"==l.type)t++;else for(let s=0;s<l.list.length;s++)l.list[s],t++,e==t&&(n=o,a=s)}o.value.dispatchItemFunction(n,"tv_list_inner","setSelectChildPosition",[a])}else o.value.setSelectPosition(e,t)},x=(e,t)=>{o.value.addItem(e,t)},P=()=>{o.value.destroy()};return g((()=>{l=[],c=[],s.length=0,d=!1,i=[],u=1,d=!1,r="",P(),f&&clearTimeout(f),v&&clearTimeout(v),m&&clearTimeout(m),h&&clearTimeout(h)})),{tv_list:o,apkVersion:a,init:_,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 l=c[a];if("1003"==l.type)t++;else for(let s=0;s<l.list.length;s++)t++,n==s&&o==a&&(e.position=t)}}n.emit("item-click",e)},onItemBind:e=>{a.value<2.2?d||e.position!=c.length-1-t.preloadNo/t.spanCount||(u++,t.loadMore(u)):d||e.position!=l.length-1-t.preloadNo||(u++,t.loadMore(u)),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 l=c[a];if("1003"==l.type)t++;else for(let s=0;s<l.list.length;s++)t++,n==s&&o==a&&(e.position=t)}}n.emit("item-focused",e)},onItemUnbind:e=>{n.emit("item-unbind",e)},onScroll:e=>{n.emit("scroll",e)},onScrollStateChanged:e=>{n.emit("scroll-state-changed",e)},stopPage:e=>{m&&clearTimeout(m),m=setTimeout((()=>{a.value<2.2?t.pageSize?t.pageSize/t.spanCount<=c.length&&o.value.deleteItem(c.length,1):u>2&&o.value.deleteItem(c.length,1):t.pageSize?t.pageSize<=l.length&&o.value.deleteItem(l.length,1):u>2&&o.value.deleteItem(l.length,1)}),400),d=!0},scrollToTop:()=>{o.value.scrollToTop()},clearFocus:()=>{o.value.clearFocus()},blockRootFocus:()=>{o.value.blockRootFocus()},unBlockRootFocus:()=>{o.value.unBlockRootFocus()},setDisplay:e=>{o.value.setDisplay(e)},scrollToPosition:T,scrollToIndex:(e,t,n)=>{if(a.value<2.2){let a=-1;for(let l=0;l<c.length;l++){const s=c[l];if("1003"==s.type)a++,a==e&&o.value.scrollToIndex(0,l,t,n);else for(let i=0;i<s.list.length;i++)s.list[i],a++,a==e&&o.value.scrollToIndex(0,l,t,n)}}else o.value.scrollToIndex(0,e,t,n)},setItemFocused:S,scrollToFocused:e=>{T(e),S(e)},setItemSelected:I,scrollToSelected:(e,t)=>{T(e),I(e,t)},updateItemProps:(e,t,n)=>{o.value.updateItemProps(e,t,n)},setInitPosition:e=>{o.value.setInitPosition(e)},setListData:e=>{f&&clearTimeout(f),f=setTimeout((()=>{o.value.setListData(e)}),100)},insertItem:x,clearPostTask:()=>{o.value.clearPostTask()},destroy:P}}});_o.render=function(e,a,i,c,r,u){const f=l("tv-list");return t(),d(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:m((()=>[e.apkVersion<2.2?(t(),n(h,{key:0},[o(e.$slots,"header"),v(f,{class:"tv_list_inner",ref:"${name}",list:"${list}",name:"tv_list_inner",type:"1",clipChildren:!1,focusable:!1,horizontal:"",style:s({width:e.areaWidth+"px"}),endHintEnabled:!1,blockFocusDirections:e.blockFocusDirections},{default:m((()=>[o(e.$slots,"default")])),_:3},8,["style","blockFocusDirections"]),o(e.$slots,"footer"),o(e.$slots,"loading")],64)):(t(),n(h,{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"])},_o.__file="src/grid-view/index.vue";var yo=dn({name:"qt-poster-focus-title",props:{fontSize:{type:Number,default:20}},setup(e,t){}});const bo={class:"absoluteFocusTitleRoot",delayLoad:"400",flexStyle:"${titleFocusStyle}",autoHeight:"",focusable:!1},To={class:"absoluteFocusMainBgRoot",duplicateParentState:!0,focusable:!1,showIf:"${title.enable}"};yo.render=function(e,o,a,s,i,r){const u=l("text-view");return t(),n("div",bo,[c(" 浮动标题"),v(u,{duplicateParentState:!0,focusable:!1,fontSize:26,ellipsizeMode:2,lines:1,paddingRect:[16,18,0,0],gradientBackground:"${floatTitle.background}",style:{height:"64px",color:"#ffffff"},flexStyle:"${floatTitle.style}",text:"${floatTitle}",showIf:"${floatTitle.enable}",gravity:"left",postDelay:"250"}),_("div",To,[c(" 主标题 "),v(u,{duplicateParentState:!0,focusable:!1,fontSize:30,ellipsizeMode:2,autoHeight:"",maxLines:2,gravity:"left",paddingRect:[16,8,12,8],style:{"background-color":"transparent",color:"#000000"},flexStyle:"${title.style}",text:"${title.text}"}),c(" 副标题 "),v(u,{duplicateParentState:!0,focusable:!1,fontSize:24,ellipsizeMode:2,lines:1,autoHeight:"",gravity:"left|top",paddingRect:[16,0,0,16],style:{color:"rgba(0,0,0,.4)","background-color":"transparent"},flexStyle:"${subTitle.style}",text:"${subTitle.text}",visibility:"${subTitle}"})])])},yo.__scopeId="data-v-703673b8",yo.__file="src/poster/qt-poster-focus-title.vue";var So=dn({name:"qt-poster-corner-title",props:{fontSize:{type:Number,default:20}},setup(e,t){}});const Io={class:"cornerRoot",focusable:!1};So.render=function(e,o,a,s,i,c){const r=l("text-view");return t(),n("div",Io,[v(r,{duplicateParentState:!0,focusable:!1,textSize:e.fontSize,ellipsizeMode:2,lines:1,typeface:"bold",gravity:"center",postDelay:"350",style:{color:"white",padding:"4px 8px",height:"36px",margin:"4px"},gradientBackground:"${corner.background}",autoWidth:"",text:"${corner.text}",showIf:"${corner.enable}"},null,8,["textSize"])])},So.__scopeId="data-v-4b767ea2",So.__file="src/poster/qt-poster-corner-title.vue";var xo=dn({name:"qt-poster",components:{"qt-poster-corner-title":So,"qt-poster-focus-title":yo},props:{requestFirstFocus:{type:Boolean,default:!1},loadDelay:{type:Number,default:500},type:{type:Number,default:10001},templateKeyMap:{type:Object,default:()=>null},isFocusable:{type:Boolean,default:!0},enableFocusBorder:{type:Boolean,default:!0}},setup:(e,t)=>({mainTextShowOnState:["normal","selected"]})});const Eo=["enableFocusBorder"],Fo=["showOnState"],Po={flexStyle:"${floatTitle.style}",class:"qt-ui-poster-title-css",gradientBackground:{colors:["#e5000000","#00000000"],cornerRadii4:[0,0,8,8],orientation:4},duplicateParentState:!0,delayLoad:"500",focusable:!1,showIf:"${floatTitle.enable}"},Co={flexStyle:"${ripple.style}",class:"qt-ui-poster-ripple-view-root-css",showOnState:"focused",focusable:!1,clipChildren:!1},Lo=(e=>(y("data-v-3c4765e9"),e=e(),b(),e))((()=>_("img",{src:"${ripple.src}",class:"qt-ui-ripple-img-css",focusable:!1,duplicateParentState:!0,showIf:"${true}",delayLoad:"800"},null,-1)));xo.render=function(e,n,a,s,i,r){const u=l("qt-poster-focus-title"),f=l("text-view"),p=l("ripple-view"),g=l("qt-poster-corner-title"),h=l("item-frame");return t(),d(h,{type:e.type,layout:"${layout}",flexStyle:"${style}",focusable:e.isFocusable,eventClick:"",eventFocus:"",name:"poster",class:"qt-ui-poster-root-css",itemShowShimmer:"${shimmer.enable}",hideShadow:"${shadow.enable}",shimmerSize:"${size}"},{default:m((()=>[c("封面"),_("img",{class:"qt-ui-poster-img-css",duplicateParentState:!0,postDelay:"300",focusable:!1,enableFocusBorder:e.enableFocusBorder,flexStyle:"${image.style}",src:"${image.src}"},null,8,Eo),c(" 焦点选中时的标题 "),v(u,{focusable:!1,showOnState:"focused"}),_("div",{style:{"flex-direction":"column","background-color":"transparent","z-index":"999"},duplicateParentState:!0,focusable:!1,flexStyle:"${titleStyle}",showOnState:e.mainTextShowOnState},[c(" 浮动标题 "),_("div",Po,[v(f,{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}"})]),c(" 主标题"),v(f,{duplicateParentState:!0,focusable:!1,textSize:30,ellipsizeMode:2,lines:1,delayLoad:"400",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,Fo),_("div",Co,[v(p,{class:"qt-ui-ripple-view-css",delayLoad:"800",focusable:!1,duplicateParentState:!0,color:"#FF4E46",isShowRipple:"${ripple.enable}",rippleVisible:"invisible"}),Lo]),v(g,{focusable:!1,delayLoad:"600",flexStyle:"${corner.style}",style:{"z-index":"1000",position:"absolute"}}),o(e.$slots,"default")])),_:3},8,["type","focusable"])},xo.__scopeId="data-v-3c4765e9",xo.__file="src/poster/index.vue";var ko=a({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:()=>[]}},setup(t,n){const o=e();let a=e("#f5f5f5"),l=T({normal:"#80ffffff",focused:"#000000",selected:"#F5F5F5"}),s=-1,i=-1;S((()=>t.navs),(e=>{e.length>0&&c(e)}));const c=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(i);let n=t.initSelect;n>-1&&(o.value?.scrollToPosition(n),i=setTimeout((()=>{o.value?.setItemSelected(n,!0),r(n)}),300))},r=e=>{clearTimeout(s),s=setTimeout((()=>{n.emit("tab-select",{position:e})}),300)};return{navList:o,focusColor:a,textColor:l,bgPadding:[10,10],onTabChange:e=>{!0===e.hasFocus&&(n.emit("tab-focus",e),r(e.position))},scrollToPosition:e=>{o.value?.scrollToPosition(e)},scrollToTop:()=>{o.value?.scrollToTop()},init:e=>{c(e.data)}}}});const Do=["stateTextColor","sateBackgroundPadding"],No=["stateTextColor","sateBackgroundPadding"];var wo,Oo;ko.render=function(e,n,a,i,c,r){const u=l("text-view"),f=l("qt-list-view");return e.horizontal?(t(),d(f,{key:0,ref:"navList",clipChildren:!1,clipPadding:!1,horizontal:"",class:"qt-ui-nav-bar-root-horizontal",onItemFocused:e.onTabChange},{default:m((()=>[_("div",{class:"qt-ui-nav-bar-item-css",type:2e4,autoWidth:"",focusable:!0,eventFocus:"",flexStyle:"${style}",clipChildren:!1,style:s({focusBackgroundColor:e.focusColor}),stateTextColor:e.textColor,sateBackgroundPadding:e.bgPadding},[v(u,{autoWidth:"",gravity:"center",lines:1,fontSize:44,class:"qt-ui-nav-bar-item-text-css",duplicateParentState:!0,text:"${text}"})],12,Do),o(e.$slots,"default")])),_:3},8,["onItemFocused"])):(t(),d(f,{key:1,ref:"navList",clipChildren:!1,clipPadding:!1,class:"qt-ui-nav-bar-root-vertical",onItemFocused:e.onTabChange},{default:m((()=>[_("div",{class:"qt-ui-nav-bar-item-css",type:2e4,flexStyle:"${style}",eventFocus:"",autoWidth:"",focusable:!0,stateTextColor:e.textColor,style:s({focusBackgroundColor:e.focusColor}),sateBackgroundPadding:e.bgPadding,clipChildren:!1},[v(u,{autoWidth:"",gravity:"center",lines:1,fontSize:44,class:"qt-ui-nav-bar-item-text-css",duplicateParentState:!0,text:"${text}"})],12,No),o(e.$slots,"default")])),_:3},8,["onItemFocused"]))},ko.__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"}(wo||(wo={})),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"}(Oo||(Oo={}));var Bo=dn({name:"card-item",setup(e,t){const n=P();return{onFocus:function(e){n.isLoggable(C.DEBUG)&&n.d("card-item","------onFocus---------\x3e>>>",e),t.emit("focus",e)}}}});Bo.render=function(e,n,o,a,s,i){const c=l("es-card-container");return t(),d(c,{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"])},Bo.__scopeId="data-v-599898aa",Bo.__file="src/waterfall/item/card-item.vue";var Ao=dn({name:"standard-section",components:{"card-item":Bo},props:{enablePlaceholder:{type:Boolean,default:!0},plateData:{type:String,default:""},useDiff:{type:Boolean,default:!0},cachePool:{type:Object,default:{}},sectionType:{type:Number,default:wo.QT_WATERFALL_SECTION_TYPE_FLEX},standItemType:{type:Number,default:Oo.QT_WATERFALL_ITEM_TYPE_POSTER},currentPageIndex:{type:Number,default:-1}},setup(e,t){const n=P();return{onFocus:function(e){n.isLoggable(C.DEBUG)&&n.d("card-item","------onFocus---------\x3e>>>",e),t.emit("focus",e)}}}});const Ro=["type"];Ao.render=function(e,a,s,i,r,u){const d=l("text-view"),f=l("qt-poster"),p=l("card-item"),g=l("tv-flex");return t(),n("div",{class:"standard-section-css",blockFocusDirections:["left","right"],clipChildren:!1,clipPadding:!1,type:e.sectionType,focusable:!1,keyName:"_id",flexStyle:"${style}",gradientBackground:"${style.gradientBackground}",bringFocusChildToFront:!0,useAdvancedFocusSearch:!0},[v(d,{class:"standard-section-title-text-css",delayLoad:"200",postDelay:"300",flexStyle:"${titleStyle}",focusable:!1,textSize:50,text:"${title}"}),v(g,{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",enablePlaceholder:e.enablePlaceholder,focusScrollTarget:"${focusScrollTarget==true}",list:"${itemList}"},{default:m((()=>[c(" poster "),v(f,{"load-delay":500,type:e.standItemType},null,8,["type"]),c(" card "),v(p,{onFocus:e.onFocus},null,8,["onFocus"]),o(e.$slots,"default")])),_:3},8,["cachePool","useDiff","enablePlaceholder"])],8,Ro)},Ao.__scopeId="data-v-227e921e",Ao.__file="src/waterfall/section/flex-section.vue";const $o="list-section";var Uo=dn({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:wo.QT_WATERFALL_SECTION_TYPE_LIST},fetchPendingData:{type:Function,default:null},arrangeType:{type:String,default:"TB"}},setup(e,t){const n=P();return{blockDirections:["left","right"],onItemBind:function(e){n.isLoggable(C.DEBUG)&&n.d($o,"----------onItemBind--------------\x3e>>",e)},onItemClick:function(e){n.isLoggable(C.DEBUG)&&n.d($o,"----------onItemClick--------------\x3e>>",e)},onItemRecycled:function(e){n.isLoggable(C.DEBUG)&&n.d($o,"----------onItemRecycled--------------\x3e>>",e)},onItemFocused:function(e){n.isLoggable(C.DEBUG)&&n.d($o,"----------onItemFocused--------------\x3e>>",e)}}}});const Vo={class:"qt-ui-section-tab-list-root",focusable:!1,flexStyle:"${style}",gradientBackground:"${style.gradientBackground}",blockFocusDirections:["right"],clipChildren:!1,useAdvancedFocusSearch:!0,bringFocusChildToFront:!0},zo=["type"];Uo.render=function(e,n,a,s,i,c){const r=l("text-view"),u=l("qt-poster"),f=l("tv-list"),p=l("tv-item");return t(),d(p,{type:e.sectionType,clipPadding:!1,clipChildren:!1,ref:"listSection",class:"tab-list-section-root-css",onItemClick:e.onItemClick,onItemBind:e.onItemBind,onItemUnbind:e.onItemRecycled,onItemFocused:e.onItemFocused},{default:m((()=>[_("div",Vo,[v(r,{class:"tab-list-section-title-text-css",delayLoad:"200",postDelay:"300",flexStyle:"${titleStyle}",focusable:!1,textSize:50,text:"${title}"}),v(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}",onScrollEnable:!1,setSelectChildPosition:0,enablePlaceholder:e.enablePlaceholder,cachePoolName:"HorizontalList",blockFocusDirections:e.blockDirections},{default:m((()=>[v(u,{type:e.standItemType},null,8,["type"]),_("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:""},[v(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,zo),o(e.$slots,"default")])),_:3},8,["enablePlaceholder","blockFocusDirections"])])])),_:3},8,["type","onItemClick","onItemBind","onItemUnbind","onItemFocused"])},Uo.__scopeId="data-v-6aa2cfd4",Uo.__file="src/waterfall/section/list-section.vue";var qo=dn({name:"loading-section"});const Wo={focusable:!1,type:-1,class:"loading-section-css",gradientBackground:"${style.gradientBackground}"};qo.render=function(e,o,a,s,i,c){const r=l("qt-loading-view");return t(),n("div",Wo,[v(r,{class:"loading-section-loading-css"})])},qo.__scopeId="data-v-48609f24",qo.__file="src/waterfall/section/loading-section.vue";var Mo=dn({name:"end-section",setup:()=>({})});const Go={type:-1001,focusable:!1,flexStyle:"${style}",gradientBackground:"${style.gradientBackground}",class:"qt-waterfall-end-section-css"};Mo.render=function(e,o,a,s,i,c){const r=l("text-view");return t(),n("div",Go,[v(r,{focusable:!1,gravity:"center",flexStyle:"${titleStyle}",class:"qt-waterfall-end-section-text-css",fontSize:28,text:"${title}"})])},Mo.__scopeId="data-v-70b82c43",Mo.__file="src/waterfall/section/end-section.vue";var Qo=dn({props:{plateTitleLeftMargin:{type:Number,default:0},type:{type:Number,default:wo.QT_WATERFALL_SECTION_TYPE_TITLE}},setup:(e,t)=>({})});const Yo=["type"];Qo.render=function(e,o,a,i,c,r){const u=l("text-view");return t(),n("div",{class:"section-title-css",blockFocusDirections:["left","right"],clipChildren:!1,clipPadding:!1,type:e.type,focusable:!1,bringFocusChildToFront:!0,useAdvancedFocusSearch:!0},[v(u,{class:"section-title-text-css",delayLoad:"200",postDelay:"300",style:s({marginLeft:e.plateTitleLeftMargin+"px"}),focusable:!1,textSize:50,text:"${title}"},null,8,["style"])],8,Yo)},Qo.__scopeId="data-v-20428d40",Qo.__file="src/waterfall/section/section-title.vue";var jo=dn({name:"blank-section",setup:()=>({})});const Ho={focusable:!1,type:-1e3,flexStyle:"${style}",gradientBackground:"${style.gradientBackground}",class:"qt-ui-waterfall-blank-section"};jo.render=function(e,o,a,l,s,i){return t(),n("div",Ho)},jo.__scopeId="data-v-eeab4d88",jo.__file="src/waterfall/section/blank-section.vue";var Xo=dn({name:"card-section",setup(e,t){const n=P();return{onFocus:function(e){n.isLoggable(C.DEBUG)&&n.d("card-section","------onFocus---------\x3e>>>",e),t.emit("focus",e)}}}});const Ko={type:1006,class:"qt-ui-waterfall-card-section-css",clipChildren:!1,clipPadding:!1,focusScrollTarget:"${isFocusScrollTarget}",keyName:"_id",flexStyle:"${style}",gradientBackground:"${style.gradientBackground}",bringFocusChildToFront:!0,useAdvancedFocusSearch:!0};Xo.render=function(e,o,a,s,i,c){const r=l("text-view"),u=l("es-card-container");return t(),n("div",Ko,[v(r,{class:"qt-ui-waterfall-card-section-title-css",delayLoad:"200",postDelay:"300",flexStyle:"${titleStyle}",focusable:!1,textSize:50,text:"${title}"}),v(u,{cardId:"${cardId}",onFocus:e.onFocus,clipChildren:!1,clipPadding:!1,autoRecycle:!0,focusScale:"${cardPlaceHolder.focusScale}",focusable:"${cardPlaceHolder.focusable}",showPlaceHolder:"${cardPlaceHolder.enable}",placeHolderRadius:"${cardPlaceHolder.radius}",placeHolderRect:"${cardPlaceHolder.rect}",flexStyle:"${cardStyle}",class:"qt-ui-waterfall-card-section"},null,8,["onFocus"])])},Xo.__scopeId="data-v-43a44788",Xo.__file="src/waterfall/section/card-section.vue";var Jo=dn({name:"vue-section",setup:(e,t)=>({onSectionBind:function(){}})});function Zo(e,t){const n=[];if(t&&t.length>0)for(let o=0;o<t.length;o++){let a=ea(e,t[o]);n.push(a)}return n}function ea(e,t){let n=0;return t.itemList.length>0&&t.type==wo.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 l=o?.marginTop??0,s=o?.marginBottom??0;const i=o?.paddingTop??0,c=o?.paddingBottom??0;let r=e.style.height??0,u=e.style.width??0;e.decoration;let d=0,f=0,p=0;for(let e=0;e<t.length;e++){const o=t[e];let a=o?.style.width??0,l=o?.style.height??0;const s=o.style.x,i=o.style.y;if(null!=s&&null!=i)o.layout=[s,i,a,l];else{const e=o.decoration,t=e?.left??0,s=e?.top??0,i=e?.right??0,c=e?.bottom??0;d+a+i>=u&&(f+=p+n,p=0,d=0),o.layout||(o.layout=[0,0,a,l]),o.layout[0]=d+t,o.layout[1]=f+s,o.layout[1]+l+c>r&&(r=o.layout[1]+l+c),l+s+c>p&&(p=l+s+c),d+=a+n+t+i}}return r+a+l+s+i+c}(t),t.style.height=n),t}function ta(){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 l=n+o;n+o>a&&(l=a),console.log("----3--------getRangeSectionListItemCount-----------------\x3e>>>");let s=0;for(let o=n;o<l;o++){s+=t(e[o])}return s}function o(){console.log("--------dumpWaterfallData---------\x3e>>>",e)}return{init:function(){},getSectionList:function(){return e},addSectionList:function(a){const l=e.length,s=n(0,l),i=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:l,sectionCount:a.length,itemIndex:s,itemCount:i}},deleteSection:function(t,a){const l=n(0,t-1),s=n(t,a);return e.splice(t,a),o(),{sectionIndex:t,sectionCount:a,itemIndex:l,itemCount:s}},updateSection:function(a,l){const s=n(0,a-1),i=t(l);return e.splice(a,1,l),o(),{sectionIndex:a,sectionCount:1,itemIndex:s,itemCount:i}},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 l=e[t],s=l.itemList.length;return l.itemList.push(...n),o(),{sectionIndex:t,sectionCount:1,itemIndex:s,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,l){return e[t].itemList.splice(n,a,...l),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=[]}}}Jo.render=function(e,n,a,s,i,c){const r=l("tv-item");return t(),d(r,{class:"qt-ui-waterfall-vue-section",type:1007,blockFocusDirections:["left","right"],clipChildren:!1,clipPadding:!1,flexStyle:"${style}",singleton:"",onItemBind:e.onSectionBind},{default:m((()=>[o(e.$slots,"default")])),_:3},8,["onItemBind"])},Jo.__scopeId="data-v-f8447724",Jo.__file="src/waterfall/section/vue-section.vue";const na="qt-waterfall";var oa,aa=dn({name:"qt-waterfall",emits:["onScroll","onScrollStateChanged","onItemClick","onItemFocused","onSectionBind","onSectionAttached"],props:{enablePlaceholder:{type:Boolean,default:!0},prevLoadNumber:{type:Number,default:3},backTop:{type:Function,default:()=>{}},isLoadMore:{type:Boolean,default:!0},headBlank:{type:Number,default:90},blockFocusDirections:{type:Array,default:()=>["down"]}},setup(t,n){const o=P(),a={name:"tvList"+Date.now(),size:{20008:10}},l=e();let s;const i=ta();return{waterfallRef:l,init:function(e){s=e},setAutoFocus:function(e,t){l.value?.setAutoFocus(e,t)},getSectionList:function(){return i.getSectionList()},setSectionList:function(e){if(!s)return;o.isLoggable(C.DEBUG)&&o.d(na,"-------1---setSectionList--------------\x3e>>"),i.destroy();const t=i.addSectionList(e);o.isLoggable(C.DEBUG)&&o.d(na,"-------2---setSectionList--------------\x3e>>",t);const n=Zo(s,e);o.isLoggable(C.DEBUG)&&o.d(na,"----------setSectionList-----最终数据---------\x3e>>",n),l.value?.setListData(n)},addSectionList:function(e){if(!s)return;i.addSectionList(e);const t=Zo(s,e);o.isLoggable(C.DEBUG)&&o.d(na,"----------addSectionList-----最终数据---------\x3e>>",t),l.value?.addListData(t)},deleteSection:function(e,t){const n=i.deleteSection(e,t);o.isLoggable(C.DEBUG)&&o.d(na,"----------deleteSection-----最终数据---------\x3e>>",n),l.value?.deleteItem(e,t)},updateSection:function(e,t){i.updateSection(e,t);const n=ea(0,t);o.isLoggable(C.DEBUG)&&o.d(na,"----------updateSection-----最终数据---------\x3e>>sectionIndex:"+e+"updateSection:"+n),l.value?.updateItem(e,n)},updateSectionList:function(e,t,n){const o=[];for(let t=0;t<n.length;t++){const a=n[t];i.updateSection(e+t,a);const l=ea(0,a);l&&o.push(l)}l.value?.updateItemList(e,t,o)},getSection:function(e){return i.getSection(e)},addItemList:function(e,t){i.addItemList(e,t);const n=i.getSection(e);if(n){const t=ea(0,n);l.value?.updateItem(e,t)}},deleteItem:function(e,t,n){i.deleteItem(e,t,n);const o=i.getSection(e);if(o){const t=ea(0,o);l.value?.updateItem(e,t)}},updateItem:function(e,t,n){i.updateItem(e,t,n);const o=i.getSection(e);if(o){const t=ea(0,o);l.value?.updateItem(e,t)}},updateItemList:function(e,t,n,o){i.updateItemList(e,t,n,o);const a=i.getSection(e);if(a){const t=ea(0,a);l.value?.updateItem(e,t)}},getItem:function(e,t){return i.getItem(e,t)},cachePool:a,flexCachePool:{name:"tvFlex",size:{1:50}},onScroll:function(e){e.stopPropagation();let t=e.offsetX,o=e.offsetY;n.emit("onScroll",t,o)},onItemClick:function(e){o.isLoggable(C.DEBUG)&&o.d(na,"----------onItemClick--------------\x3e>>",e,"sectionIndex:"+e.parentPosition+" position:"+e.position+" "),n.emit("onItemClick",e.parentPosition,e.position,e.item)},onItemFocused:function(e){o.isLoggable(C.DEBUG)&&o.d(na,"----------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(C.DEBUG)&&o.d(na,"----------onSectionBind--------------\x3e>>",e);let t=e.pageIndex??0;n.emit("onSectionBind",t,e.position)}},onSectionAttached:function(e){if(e){o.isLoggable(C.DEBUG)&&o.d(na,"----------onSectionAttached--------------\x3e>>",e);let t=e.pageIndex??0;n.emit("onSectionAttached",t,e.position)}},onScrollStateChanged:function(e){let t=e.offsetY,o=e.offsetX,a=e.newState;n.emit("onScrollStateChanged",o,t,a)},resumePostTask:function(){l.value?.pausePostTask()},pausePostTask:function(){l.value?.pausePostTask()},clearPostTask:function(){l.value?.clearPostTask()},destroy:function(){l.value?.destroy()},scrollToTop:function(){l.value?.scrollToTop()}}},components:{"flex-section":Ao,"list-section":Uo,"section-title":Qo,"loading-section":qo,"end-section":Mo,"blank-section":jo,"card-section":Xo,"vue-section":Jo}});function la(){const e=new Map,t=new Map;function n(n){const o={index:n,state:oa.QT_TAB_PAGE_STATE_IDLE};e.set(n,o),t.set(n,[])}function o(e){return e.itemList.length}function a(e,t,n){const a=e.length;if(t<0||t>=a)return 0;let l=t+n;t+n>a&&(l=a),console.log("----3--------getRangeSectionListItemCount-----------------\x3e>>>");let s=0;for(let n=t;n<l;n++){s+=o(e[n])}return s}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)},getTabPageData:function(t){return e.get(t)},setPageData:function(t,n){e.set(t,n)},getSectionList:function(e){return t.get(e)??[]},addSectionList:function(n,s){const i=t.get(n)??[],c=i.length,r=a(i,0,c),u=function(e){if(e.length<=0)return 0;let t=0;for(let n=0;n<e.length;n++){t+=o(e[n])}return t}(s);i.push(...s);const d=e.get(n);return d&&(d.state=oa.QT_TAB_PAGE_STATE_IDLE),l(),{pageIndex:n,sectionIndex:c,sectionCount:s.length,itemIndex:r,itemCount:u}},deleteSection:function(e,n,o){const s=t.get(e)??[],i=a(s,0,n-1),c=a(s,n,o);return s.splice(n,o),l(),{pageIndex:e,sectionIndex:n,sectionCount:o,itemIndex:i,itemCount:c}},updateSection:function(e,n,s){const i=t.get(e)??[],c=a(i,0,n-1),r=o(s);return i.splice(n,1,s),l(),{pageIndex:e,sectionIndex:n,sectionCount:1,itemIndex:c,itemCount:r}},updateSectionList:function(e,n){return t.set(e,n),l(),{pageIndex:e,sectionIndex:0,sectionCount:n.length,itemIndex:-1,itemCount:-1}},getSection:function(e,n){const o=t.get(e)??[];if(!(n<0||n>=o.length||0==o.length))return o[n]},addItemList:function(e,n,o){const a=t.get(e)??[],s=a.length;if(n<0||n>=s||o.length<=0)return{pageIndex:e,sectionIndex:-1,sectionCount:0,itemIndex:-1,itemCount:0};const i=a[n],c=i.itemList.length;return i.itemList.push(...o),l(),{pageIndex:e,sectionIndex:n,sectionCount:1,itemIndex:c,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,s){return(t.get(e)??[])[n].itemList.splice(o,a,...s),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()}}}aa.render=function(e,n,a,s,i,r){const u=l("flex-section"),f=l("list-section"),p=l("loading-section"),g=l("end-section"),h=l("blank-section"),_=l("card-section"),y=l("vue-section"),b=l("tv-list");return t(),d(b,{ref:"waterfallRef",class:"qt-waterfall-root-css",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,focusMemory:!1,cachePool:e.cachePool,preload:1,checkScrollOffsetOnStateChanged:!0,makeChildVisibleType:"center",scrollThresholdVertical:50,scrollEventThrottle:16,enableSelectOnFocus:!1,advancedFocusSearchSpan:"1",scrollYLesserReferenceValue:30,scrollYGreaterReferenceValue:30,shakePreCheckNumber:"4",blockFocusDirections:e.blockFocusDirections,onScrollStateChanged:e.onScrollStateChanged},{default:m((()=>[c(" 普通版块"),v(u,{"cache-pool":e.flexCachePool,enablePlaceholder:e.enablePlaceholder,onFocus:e.onItemFocused},{default:m((()=>[o(e.$slots,"item")])),_:3},8,["cache-pool","enablePlaceholder","onFocus"]),c("一行滚动 多级tab"),v(f,{enablePlaceholder:e.enablePlaceholder},{default:m((()=>[o(e.$slots,"list-item")])),_:3},8,["enablePlaceholder"]),c(" loading"),v(p),c(" end "),v(g),c(" blank "),v(h),c(" card "),v(_,{onFocus:e.onItemFocused},null,8,["onFocus"]),c(" vue "),v(y,null,{default:m((()=>[o(e.$slots,"vue-section")])),_:3}),o(e.$slots,"section")])),_:3},8,["onScroll","onItemClick","onItemFocused","onItemBind","onItemAttached","cachePool","blockFocusDirections","onScrollStateChanged"])},aa.__file="src/waterfall/index.vue",function(e){e[e.QT_TAB_PAGE_STATE_IDLE=0]="QT_TAB_PAGE_STATE_IDLE",e[e.QT_TAB_PAGE_STATE_BUSY=1]="QT_TAB_PAGE_STATE_BUSY",e[e.QT_TAB_PAGE_STATE_COMPLETE=2]="QT_TAB_PAGE_STATE_COMPLETE",e[e.QT_TAB_PAGE_STATE_ERROR=3]="QT_TAB_PAGE_STATE_ERROR"}(oa||(oa={}));const sa="qt-tab";var ia=dn({name:"qt-tab",emits:["onTabPageLoadData","onTabPageChanged","onTabEvent","onTabPageItemClick","onTabPageItemFocused","onTabPageSectionAttached","onTabPageScroll","onTabPageScrollStateChanged","onTabMoveToTopStart","onTabMoveToTopEnd","onTabMoveToBottomStart","onTabMoveToBottomEnd","onTabChanged","onTabPageScrollToEnd","onTabPageScrollToStart"],props:{preloadNumber:{type:Number,default:3},tabNavBarClass:{type:String,default:""},tabClass:{type:String,default:""},tabsDataStrategy:{type:String,default:"overTime"},tabContentClass:{type:String,default:""},horizontal:{type:Boolean,default:!0},pageTransform:{type:Boolean,default:!0},hideOnSingleTab:{type:Boolean,default:!0},floatNavBar:{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:500},tabContentSwitchDelay:{type:Number,default:300}},setup(t,n){const o=e(),a=e(!0),l=e(1),s=e(!0),i=P(),c=e(),r=la();let u,d=-1;function f(e,t){const n=r.getTabPageData(e);n&&(n.state=t,r.setPageData(e,n))}function p(e,o,a){let l=r.getTabPageData(e);if(l&&l.state===oa.QT_TAB_PAGE_STATE_IDLE){a>=r.getSectionList(e).length-t.preloadNumber-1&&(i.isLoggable(C.DEBUG)&&i.d(sa,"----------loadPageData----加载数加载据--\x3e>>> pageIndex:"+e+" sectionIndex:"+a),n.emit("onTabPageLoadData",e,o),f(e,oa.QT_TAB_PAGE_STATE_BUSY))}else i.isLoggable(C.DEBUG)&&i.d(sa,"----------loadPageData--状态不对--\x3e>>>",e)}function g(e,t){i.isLoggable(C.DEBUG)&&i.d(sa,"----------onWaterfallScroll----\x3e>>> offsetX:"+e+" scrollY:"+t),n.emit("onTabPageScroll",e,t)}function m(e,t,o){i.isLoggable(C.DEBUG)&&i.d(sa,"----------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.initTab(e),o.value?.setTabsData(t)},setAutoFocus:function(e,t){o.value?.setAutoFocus(e,t)},initPage:function(e){u=e},setPageSate:f,setPageData:function(e,t){i.isLoggable(C.DEBUG)&&i.d(sa,"----------loadPageData----setPageData--\x3e>>>pageIndex:"+e),r.addSectionList(e,t.data);const n={data:Zo(u,t.data),disableScrollOnFirstScreen:t.disableScrollOnFirstScreen??!1,firstFocusTargetID:t.firstFocusTargetID??"",useDiff:t.useDiff};i.isLoggable(C.DEBUG)&&i.d(sa,"------设置数据----setPageData------\x3e>>> pageIndex:"+e+" data:",n),o.value?.setPageData(e,n)},addPageData:function(e,t,n=0){i.isLoggable(C.DEBUG)&&i.d(sa,"----------loadPageData----addPageData--\x3e>>>pageIndex:"+e),r.addSectionList(e,t.data);const a={data:Zo(u,t.data),disableScrollOnFirstScreen:t.disableScrollOnFirstScreen??!1,firstFocusTargetID:t.firstFocusTargetID??"",useDiff:t.useDiff};i.isLoggable(C.DEBUG)&&i.d(sa,"----设置数据------addPageData------\x3e>>> pageIndex:"+e+" data:",a," deleteCount:"+n),o.value?.addPageData(e,a,n)},updatePageData:function(e,t){r.updateSectionList(e,t.data);const n={data:Zo(u,t.data),disableScrollOnFirstScreen:t.disableScrollOnFirstScreen??!1,firstFocusTargetID:t.firstFocusTargetID??"",useDiff:t.useDiff};o.value?.updatePageData(e,n)},updatePageSection:function(e,t,n){r.updateSection(e,t,n);const a=ea(0,n);o.value?.updateRootNode(e,t,a)},getPageSection:function(e,t){return r.getSection(e,t)},getPageSectionList:function(e){return r.getSectionList(e)},deletePageSection:function(e,t,n){r.deleteSection(e,t,n),o.value?.invokeContentFunction(e,"deleteItemRange",[t,n])},addPageItemList:function(e,t,n){r.addItemList(e,t,n);const a=r.getSection(e,t);if(a){const n=ea(0,a);o.value?.updateRootNode(e,t,n)}},getPageItem:function(e,t,n){return r.getItem(e,t,n)},updatePageItem:function(e,t,n,a){r.updateItem(e,t,n,a),o.value?.updateChildNode(e,t,n,a)},deletePageItem:function(e,t,n,a){r.deleteItem(e,t,n,a);const l=r.getSection(e,t);if(l){const n=ea(0,l);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,l){o.value?.getChildNodeViewState(e,t,n,a,l)},dispatchUIFunctionOnChildNode:function(e,t,n,a,l){o.value?.dispatchUIFunctionOnChildNode(e,t,n,a,l)},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()},rootOpacity:l,isTabHorizontal:s,onTabPageLoadData:function(e){const t=e.pageIndex,n=e.useDiff;i.isLoggable(C.DEBUG)&&i.d(sa,"----------loadPageData----android--\x3e>>>pageIndex:"+t),p(t,n,0)},onTabPageChanged:function(e){const t=e.pageIndex;d=t;const o=e.data;i.isLoggable(C.DEBUG)&&i.d(sa,"----------onTabPageChanged------\x3e>>> pageIndex:"+t+" data:",o),n.emit("onTabPageChanged",t,o)},onTabEvent:function(e){const t=e.params,o=e.eventName,a=e.params.itemPosition,l=e.params.x,s=e.params.y,c=e.params.contentOffset,r=e.params.state;switch(i.isLoggable(C.DEBUG)&&i.d(sa,"----------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":g(l,s);break;case"onScrollStateChanged":m(c.x,c.y,r.newState)}},onWaterfallItemClick:function(e,t,o){i.isLoggable(C.DEBUG)&&i.d(sa,"-----------onWaterfallItemClick---------------\x3e>>> sectionIndex:"+e+" itemIndex:"+t+" item:",o),n.emit("onTabPageItemClick",d,e,t,o)},onWaterfallItemFocused:function(e,t,o,a){i.isLoggable(C.DEBUG)&&i.d(sa,"-----------onWaterfallItemFocused---------------\x3e>>> sectionIndex:"+e+" itemIndex:"+t+" isFocused:"+o+" item:",a),n.emit("onTabPageItemFocused",d,e,t,o,a)},onWaterfallSectionBind:function(e,t){i.isLoggable(C.DEBUG)&&i.d(sa,"-----------onWaterfallSectionBind---------------\x3e>>> pageIndex:"+e+" sectionIndex:"+t),e===d&&(i.isLoggable(C.DEBUG)&&i.d(sa,"----------loadPageData----bind--\x3e>>>pageIndex:"+e),p(e,!1,t))},onWaterfallSectionAttached:function(e,t){i.isLoggable(C.DEBUG)&&i.d(sa,"-----------onWaterfallSectionAttached---------------\x3e>>> pageIndex:"+e+" sectionIndex:"+t),n.emit("onTabPageSectionAttached",e,t)},onWaterfallScroll:g,onWaterfallScrollStateChanged:m,onTabPageScrollToStart:function(e){const t=e.pageIndex;n.emit("onTabPageScrollToStart",t),i.isLoggable(C.DEBUG)&&i.d(sa,"----------onTabPageScrollToStart------\x3e>>> pageIndex:"+t)},onTabPageScrollToEnd:function(e){const t=e.pageIndex;n.emit("onTabPageScrollToEnd",t),i.isLoggable(C.DEBUG)&&i.d(sa,"----------onTabPageScrollToEnd------\x3e>>> pageIndex:"+t)}}}});ia.render=function(e,n,a,s,r,u){const f=l("qt-nav-bar"),p=l("qt-waterfall"),g=l("recycler-view-pager"),h=l("tabs");return e.ifTabs?(t(),d(h,{key:0,ref:"tabs",class:i(["tabs-root-css",e.tabClass]),dataStrategy:e.tabsDataStrategy,hideOnSingleTab:this.hideOnSingleTab,pageSwitchDelay:e.tabContentSwitchDelay,resumeTaskDelay:e.tabContentResumeDelay,suspension:this.floatNavBar,clipChildren:!1,outOfDateTime:3e5,blockFocusDirections:e.tabContentBlockFocusDirections,onScrollToStart:e.onTabPageScrollToStart,onScrollToEnd:e.onTabPageScrollToEnd,onLoadPage:e.onTabPageLoadData,onPageChanged:e.onTabPageChanged,onTabEvent:e.onTabEvent},{default:m((()=>[v(f,{ref:"navBarRef",name:"tabList",focusable:!1,class:i(e.tabNavBarClass),"text-key":"text",clipChldren:!1,horizontal:e.isTabHorizontal},{default:m((()=>[o(e.$slots,"tab-item")])),_:3},8,["class","horizontal"]),v(g,{nextFocusName:e.contentNextFocus,ref:"viewPager",class:i(e.tabContentClass),name:"content",loadingItemType:-1,clipChldren:!1,opacity:e.rootOpacity,focusable:!1,enableTransform:e.pageTransform,triggerTask:e.triggerTask,direction:e.isTabHorizontal?"horizontal":"vertical",blockFocusDirections:e.isTabHorizontal?e.blockViewPager:e.blockViewPagerVertical},{default:m((()=>[v(p,{onOnScrollStateChanged:e.onWaterfallScrollStateChanged,onOnScroll:e.onWaterfallScroll,onOnSectionBind:e.onWaterfallSectionBind,onOnSectionAttached:e.onWaterfallSectionAttached,onOnItemFocused:e.onWaterfallItemFocused,onOnItemClick:e.onWaterfallItemClick},{item:m((()=>[o(e.$slots,"waterfall-item")])),"list-item":m((()=>[o(e.$slots,"waterfall-list-item")])),section:m((()=>[o(e.$slots,"waterfall-section")])),"vue-section":m((()=>[o(e.$slots,"waterfall-vue-section")])),_:3},8,["onOnScrollStateChanged","onOnScroll","onOnSectionBind","onOnSectionAttached","onOnItemFocused","onOnItemClick"])])),_:3},8,["nextFocusName","class","opacity","enableTransform","triggerTask","direction","blockFocusDirections"])])),_:3},8,["dataStrategy","hideOnSingleTab","pageSwitchDelay","resumeTaskDelay","suspension","class","blockFocusDirections","onScrollToStart","onScrollToEnd","onLoadPage","onPageChanged","onTabEvent"])):c("v-if",!0)},ia.__file="src/tab/index.vue";var ca=dn({name:"qt-vue-section",setup:(e,t)=>({onSectionBind:function(){}})});ca.render=function(e,n,a,s,i,c){const r=l("tv-item");return t(),d(r,{class:"qt-ui-waterfall-vue-section",clipChildren:!1,clipPadding:!1,flexStyle:"${style}",singleton:"",onItemBind:e.onSectionBind},{default:m((()=>[o(e.$slots,"default")])),_:3},8,["onItemBind"])},ca.__scopeId="data-v-d02af3c2",ca.__file="src/section/index.vue";var ra=dn({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){let o=e(1);const a=e(),l=e();let s=[],i=-1,c=-1,r=[];let u=-1;let d=-1,f=-1;return{descendantFocusability:o,content_list_view:a,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<s.length;e++){const t=s[e];n.categoryname==t.categoryname&&(n.navIndex=e,a=!0)}a||(n.navIndex||(n.navIndex=s.length),s.push({type:n.type,decoration:{left:50},categoryname:n.categoryname,startIndex:o,isNeedFocus:!0})),r=e})),Mt((()=>{a.value?.setListData(e),l.value?.setListData(s),setTimeout((()=>{i=t.currentFocusIndex,c=e[t.currentFocusIndex].navIndex,a.value?.scrollToFocused(i),l.value?.scrollToSelected(c,!0)}),300)}))},onItemBind:()=>{},onSItemClick:e=>{n.emit("item-click",e)},onFItemClick:e=>{n.emit("item-click",e)},scrollToIndex:(e,t=!0,n=802)=>{a.value?.scrollToIndex(e,t,n)},scrollToFocused:e=>{o.value=1,setTimeout((()=>{a.value?.scrollToFocused(e)}),300)},setItemFocused:e=>{setTimeout((()=>{o.value=1}),300),a.value?.setItemFocused(e)},scrollToSelected:(e,t=!0)=>{a.value?.scrollToSelected(e,t)},setItemSelected:(e,t=!0)=>{a.value?.setItemSelected(e,!0)},onSItemFocused:e=>{clearTimeout(u),u=setTimeout((()=>{if(e.hasFocus){if(i!=e.position){if(i>-1){let e=r[i];e.isPlaying=!1,a.value?.updateItem(i,e)}let t=r[e.position];t.isPlaying=!0,a.value?.updateItem(e.position,t)}i=e.position,c!=e.item.navIndex&&(c=e.item.navIndex,l.value?.scrollToSelected(e.item.navIndex,!0)),n.emit("item-focused",e)}else c=e.item.navIndex}),300)},onFItemFocused:e=>{clearTimeout(d),clearTimeout(f),e.hasFocus&&c!=e.position&&(o.value=2,c=e.position,r[e.item.startIndex].isNeedFocus?(a.value?.scrollToIndex(e.item.startIndex,!0,t.yOffest),f=setTimeout((()=>{a.value?.setItemSelected(e.item.startIndex,!0),d=setTimeout((()=>{o.value=1}),200)}),400)):(a.value?.scrollToIndex(e.item.startIndex+1,!0,t.yOffest),f=setTimeout((()=>{a.value?.setItemSelected(e.item.startIndex+1,!0),d=setTimeout((()=>{o.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<s.length;t++){const n=s[t];e.categoryname==n.categoryname&&(e.navIndex=t)}})),a.value?.updateItem(e,r[e])}}}});const ua={focusable:!1,clipChildren:!1},da=["focusScale"],fa=_("img",{class:"coverV",src:"${coverV}",focusable:!1,postDelay:"300"},null,-1),pa=_("img",{src:"${mask}",class:"titMask",focusable:!1,postDelay:"300",showIf:"${isPlaying}"},null,-1),ga={focusable:!1,class:"clv_item_text_box",showIf:"${isPlaying}"},ma={class:"playMark",focusable:!1},ha=["type"],va=_("div",{class:"line",focusable:!1,showOnState:"selected",duplicateParentState:!0},null,-1),_a=_("div",{duplicateParentState:!0,class:"nav_item_text_focused",showOnState:"focused",focusable:!1,gradientBackground:{colors:["#FF2F7CEB","#FF1163D8"],cornerRadius:40}},null,-1),ya={class:"nav_item_text",focusable:!1,duplicateParentState:!0};var ba,Ta,Sa,Ia;ra.render=function(e,a,r,u,d,f){const p=l("play-mark"),g=l("text-view"),h=l("qt-list-view");return t(),n("div",ua,[c(" listview second nav "),v(h,{class:i(e.className),ref:"content_list_view",clipChildren:!1,clipPadding:!1,onItemClick:e.onSItemClick,horizontal:"",blockFocusDirections:["left","right"],descendantFocusability:e.descendantFocusability,onItemFocused:e.onSItemFocused},{default:m((()=>[_("div",{type:10001,name:"clv_item",class:"clv_item",focusable:!0,enableFocusBorder:!0,clipChildren:!1,eventClick:"",eventFocus:"",focusScale:e.focusScale},[fa,pa,_("div",ga,[_("div",ma,[v(p,{style:s([{width:"28px",height:"20px"},{"margin-left":"16px"}]),markColor:"#ffffff",gap:-1,focusable:!1})]),v(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,da),o(e.$slots,"item")])),_:3},8,["class","onItemClick","descendantFocusability","onItemFocused"]),c(" listview first nav "),v(h,{class:i(e.classNavName),ref:"nav_list_view",clipChildren:!1,clipPadding:!1,onItemClick:e.onFItemClick,horizontal:"",blockFocusDirections:["left","right"],onItemFocused:e.onFItemFocused},{default:m((()=>[_("div",{type:e.navType,name:"nav_item",class:"nav_item",focusable:!0,enableFocusBorder:!1,focusScale:"1",eventClick:"",eventFocus:"",clipChildren:!1},[va,_a,_("div",ya,[v(g,{focusable:!1,ellipsizeMode:2,duplicateParentState:!0,fontSize:44,gravity:"center",lines:1,class:"text_selected",text:"${categoryname}",showOnState:["selected"]}),v(g,{focusable:!1,ellipsizeMode:2,duplicateParentState:!0,fontSize:44,gravity:"center",lines:1,maxLines:1,class:"text",text:"${categoryname}",showOnState:"focused"}),v(g,{focusable:!1,ellipsizeMode:2,duplicateParentState:!0,fontSize:44,gravity:"center",lines:1,class:"text",text:"${categoryname}",showOnState:["normal"]})])],8,ha),o(e.$slots,"navItem")])),_:3},8,["class","onItemClick","onItemFocused"])])},ra.__file="src/classified-list-view/index.vue",function(e){e.QT_DIRECTION_UP="up",e.QT_DIRECTION_DOWN="down",e.QT_DIRECTION_RIGHT="right",e.QT_DIRECTION_LEFT="left"}(ba||(ba={})),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"}(Ta||(Ta={})),function(e){e[e.QT_NAV_BAR_ITEM_TYPE_TEXT=2e4]="QT_NAV_BAR_ITEM_TYPE_TEXT"}(Sa||(Sa={})),function(e){e[e.QT_TAB_ITEM_TYPE_DEFAULT=2e4]="QT_TAB_ITEM_TYPE_DEFAULT"}(Ia||(Ia={}));const xa=[Xn,Jn,eo,no,ao,so,_o,xo,ko,aa,ia,ra,ca],Ea=t=>{t.component("qt-loading-view",{setup(t,n){const o=e();return()=>I("LoadingViewComponent",{ref:o})}}),function(t){const n=a({props:{loadMore:{type:Function,default:function(){return[1,1]}},openPage:{type:Boolean,default:!1},preloadNo:{type:Number,default:0},defaultFocus:{type:Number,default:-1}},emits:["item-click","scroll","item-focused","item-attached","item-detached","item-bind","item-unbind","load-more","scroll-state-changed","focus-search-failed","scrollYGreaterReference","scrollYLesserReference"],setup(t,n){const o=e();F();let a=[],l=[],s=[],i="",c=-1,r=!1,u=-1,d=-1,f=-1,m=-1;p((()=>{t.openPage&&(c=1,r=!1,t.loadMore(c))}));const h=e=>{0==a.length&&(a=vo(e),v(a,-1),l=e,t.openPage?b(a.concat([{_id:"",type:1002,decoration:{top:18,bottom:18,right:30,left:30}}])):b(a),t.defaultFocus>-1&&(f&&clearTimeout(f),f=setTimeout((()=>{N(t.defaultFocus)}),500)));let n={get(e,o,l){if("__ob__"!=o&&"symbol"!=typeof o&&"map"!=o&&"length"!=o&&"constructor"!=o&&"_isVue"!=o&&"valueOf"!=o&&"toString"!=o&&"observeArray"!=o&&"dep"!=o&&"notify"!=o&&"subs"!=o&&"slice"!=o)if(s.push(o),-1!=s.indexOf("push"))i="push";else{if(-1!=s.indexOf("splice"))return i="splice",function(...t){return e.splice(...t),-1!=s.indexOf("list")?(a[s[0]].list.splice(...t),P(Number(s[0]),a[s[0]])):1==t.length?E(Number(t[0]),a.length-t[0]+1):2==t.length?E(Number(t[0]),t[1]):t.length>2&&(0==t[1]?L(t[0],t.slice(2)):C(t[0],t[1],t.slice(2))),a.splice(t[0],...t.slice(1)),i="",s=[],Reflect.get(e,o,l)};if(-1!=s.indexOf("pop"))return i="pop",function(){return e.pop(),-1!=s.lastIndexOf("list")?(a[s[0]].list.pop(),P(Number(s[0]),a[s[0]])):(E(Number(a.length-1),1),a.pop()),i="",s=[],Reflect.get(e,o,l)};if(-1!=s.indexOf("forEach"))return i="forEach",function(n){return e.forEach((e=>{n(e)})),a=[],a=vo(e),t.openPage?b(a.concat([{_id:"",type:1002,decoration:{top:15,left:30}}])):b(a),i="",s=[],Reflect.get(e,o,l)};if(-1!=s.indexOf("concat"))return i="concat",function(c){return e=e.concat(c),-1!=s.lastIndexOf("list")?(a[s[0]].list=a[s[0]].list.concat(c),P(Number(s[0]),a[s[0]])):(a=a.concat(c),t.openPage&&!r?setTimeout((()=>{S(c.concat([{type:"1002",decoration:{bottom:18,right:30,left:30}}]),1)}),300):T(c)),i="",s=[],Reflect.get(e,o,l),new Proxy(e,n)};i=""}const c=Reflect.get(e,o,l);return _(c)&&"__ob__"!=o&&"dep"!=o&&"subs"!=o?h(c):(-1==s.indexOf("push")&&(s=[]),c)},set(e,n,o,c){const u=e[n];y(e,n);const d=Reflect.set(e,n,o,c);if((!_(u)&&u!==o||_(u))&&"push"!=i)if(s.push(n),-1!=s.lastIndexOf("list")){let e=s.lastIndexOf("list"),t=s.lastIndexOf("list")+2,n={};for(let e=0;e<t;e++){let t=s[e];n=n?n[t]:l[t]}n.name="name"+s[e-1]+s[e+1],P(Number(s[0]),l[s[0]]),a[s[0]].list[s[e+1]]=l[s[0]].list[s[e+1]],a[s[0]].list[s[e+1]].name="name"+s[e-1]+s[e+1]}else a[s[0]]=l[s[0]],a[s[0]].name="name"+s[0],P(Number(s[0]),l[s[0]]);if(n&&"push"==i&&u!==o)-1!=s.lastIndexOf("list")?(s.push(n),a[s[0]].list.push(o)):(s.push(n),a.push(o));else{if("push"==i)if(-1!=s.lastIndexOf("list"))P(Number(s[0]),a[s[0]]);else{let e=a.slice(s[1]);m&&clearTimeout(m),m=t.openPage&&!r?setTimeout((()=>{S(e.concat([{_id:"",type:1002,decoration:{bottom:18,right:30,left:30}}]),1)}),300):setTimeout((()=>{T(e)}),300)}i="",s=[]}return d}};return new Proxy(e,n)},v=(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&&v(o.list,n)}},_=e=>null!==e&&"object"==typeof e,y=(e,t)=>{Object.hasOwnProperty.call(e,t)},b=e=>{u&&clearTimeout(u),u=setTimeout((()=>{x.callUIFunction(o.value,"setListData",e)}),100)},T=e=>{x.callUIFunction(o.value,"addListData",e)},S=(e,t)=>{x.callUIFunction(o.value,"addListDataWithParams",[e,t])},E=(e,t)=>{x.callUIFunction(o.value,"deleteItemRange",[e,t])},P=(e,t)=>{x.callUIFunction(o.value,"updateItem",[e,t])},C=(e,t,n)=>{x.callUIFunction(o.value,"updateItemRange",[e,t,n])},L=(e,t)=>{x.callUIFunction(o.value,"insertItemRange",[e,t])},k=(e,t)=>{x.callUIFunction(o.value,"setSelectChildPosition",[e,t])},D=e=>{x.callUIFunction(o.value,"scrollToPosition",[e])},N=e=>{x.callUIFunction(o.value,"requestChildFocus",[e])};return g((()=>{a=[],l.length=0,s=[],r=!1,c=1,i="",u&&clearTimeout(u),f&&clearTimeout(f),m&&clearTimeout(m),d&&clearTimeout(d)})),n.expose({viewRef:o,init:h,undataItemName:v,hasChanged:(e,t)=>e!==t&&(e==e||t==t),scrollToIndex:(e,t,n)=>{x.callUIFunction(o.value,"scrollToPositionWithOffset",[e,n,t])},updateItem:P,updateItemList:C,hasFocus:e=>{x.callUIFunction(o.value,"hasFocus",(t=>{e(t)}))},updateItemProps:(e,t,n)=>{x.callUIFunction(o.value,"updateItemProps",[t,e,n,!0])},setListData:b,insertItem:L,addListData:T,addListDataWithParams:S,dispatchItemFunction:(e,t,n,a)=>{x.callUIFunction(o.value,"dispatchItemFunction",[e,t,n,a])},deleteItem:E,setBlockFocusDirectionsOnFail:e=>{x.callUIFunction(o.value,"setBlockFocusDirectionsOnFail",[e])},setListDataWithParams:(e,t)=>{x.callUIFunction(o.value,"setListDataWithParams",[e,t])},prepareForRecycle:()=>{x.callUIFunction(o.value,"prepareForRecycle",[])},setDisplay:e=>{x.callUIFunction(o.value,"setDisplay",[e])},scrollToTop:()=>{x.callUIFunction(o.value,"scrollToTop",[])},changeDisplayState:(e,t)=>{x.callUIFunction(o.value,"changeDisplayState",[e,t])},notifySaveInstance:()=>{x.callUIFunction(o.value,"notifySaveInstance",[])},notifyRestoreInstance:()=>{x.callUIFunction(o.value,"notifyRestoreInstance",[])},pausePostTask:()=>{x.callUIFunction(o.value,"pausePostTask",[])},resumePostTask:()=>{x.callUIFunction(o.value,"resumePostTask",[])},getScrollOffset:e=>{x.callUIFunction(o.value,"getScrollOffset",[],e)},scrollToPosition:D,scrollToFocused:e=>{D(e),N(e)},scrollToSelected:(e,t)=>{D(e),k(e,t)},scrollToPositionOffset:(e,t,n,a,l)=>{x.callUIFunction(o.value,"scrollToPositionWithOffset",[t,a,n])},destroy:()=>{x.callUIFunction(o.value,"destroy",[])},startScroll:(e,t,n)=>{x.callUIFunction(o.value,"startScroll",[{focusPosition:e,scrollToPosition:t,scrollOffset:n}])},setItemFocused:N,clearPostTask:()=>{x.callUIFunction(o.value,"clearAllPostTask",[])},clearFocus:()=>{x.callUIFunction(o.value,"clearFocus",[])},setItemSelected:k,blockRootFocus:()=>{x.callUIFunction(o.value,"blockRootFocus",[])},unBlockRootFocus:()=>{x.callUIFunction(o.value,"unBlockRootFocus",[])},setBackgroundColor:e=>{x.callUIFunction(o.value,"setBackgroundColor",[e])},stopPage:()=>{d&&clearTimeout(d),d=setTimeout((()=>{E(a.length,1)}),400),r=!0},setAutoFocus:function(e,t){x.callUIFunction(o.value,"setAutoFocus",[e,t])}}),()=>{const e=n.slots.default&&n.slots.default();return I("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=>{e.position==a.length-1-t.preloadNo&&(c++,t.loadMore(c)),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=a({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)=>{x.callUIFunction(o.value,"updateItem",[e,t])},dispatchItemFunction:(e,t,n,a)=>{x.callUIFunction(o.value,"dispatchItemFunction",[e,t,n,a])},updateItemProps:(e,t,n)=>{x.callUIFunction(o.value,"updateItemProps",[t,e,n,!0])},batch:e=>{x.callUIFunction(o.value,"batch",[e])}}),()=>{const e=n.slots.default&&n.slots.default();return I("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);for(let e in xa)t.component(xa[e].name,xa[e])};export{ba as QTDirections,Sa as QTNavBarItemType,Ta as QTScrollState,Ia as QTTabItemType,oa as QTTabPageState,Oo as QTWaterfallItemType,wo as QTWaterfallSectionType,Ea as QuickTVUI,go as arrangeChildren4ListView};
1
+ import{ref as e,openBlock as t,createElementBlock as n,renderSlot as o,resolveComponent as a,createBlock as l,defineComponent as i,normalizeStyle as c,normalizeClass as s,createCommentVNode as u,withDirectives as r,vShow as d,toDisplayString as f,watchEffect as p,onBeforeUnmount as g,withCtx as m,Fragment as I,createVNode as v,createElementVNode as h,pushScopeId as T,popScopeId as F,reactive as b,watch as S,h as _,onMounted as y}from"vue";import{Native as U}from"@extscreen/es3-vue";import{useESToast as P,useES as E,useESLog as L,ESLogLevel as x}from"@extscreen/es3-core";function R(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 A="production"!==process.env.NODE_ENV?Object.freeze({}):{};"production"===process.env.NODE_ENV||Object.freeze([]);const C=()=>{},k=/^on[^a-z]/,w=e=>k.test(e),D=Object.assign,N=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},O=Object.prototype.hasOwnProperty,B=(e,t)=>O.call(e,t),M=Array.isArray,$=e=>"[object Map]"===Y(e),z=e=>"[object Set]"===Y(e),V=e=>"function"==typeof e,W=e=>"string"==typeof e,q=e=>"symbol"==typeof e,G=e=>null!==e&&"object"==typeof e,Q=e=>(G(e)||V(e))&&V(e.then)&&V(e.catch),j=Object.prototype.toString,Y=e=>j.call(e),H=e=>Y(e).slice(8,-1),X=e=>"[object Object]"===Y(e),J=e=>W(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,Z=(e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))})((e=>e.charAt(0).toUpperCase()+e.slice(1))),K=(e,t)=>!Object.is(e,t),ee=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})};let te;const ne=()=>te||(te="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{});function oe(e){if(M(e)){const t={};for(let n=0;n<e.length;n++){const o=e[n],a=W(o)?ce(o):oe(o);if(a)for(const e in a)t[e]=a[e]}return t}if(W(e)||G(e))return e}const ae=/;(?![^(]*\))/g,le=/:([^]+)/,ie=/\/\*[^]*?\*\//g;function ce(e){const t={};return e.replace(ie,"").split(ae).forEach((e=>{if(e){const n=e.split(le);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}function se(e){let t="";if(W(e))t=e;else if(M(e))for(let n=0;n<e.length;n++){const o=se(e[n]);o&&(t+=o+" ")}else if(G(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function ue(e,...t){console.warn(`[Vue warn] ${e}`,...t)}let re;const de=e=>{const t=new Set(e);return t.w=0,t.n=0,t},fe=e=>(e.w&Ie)>0,pe=e=>(e.n&Ie)>0,ge=new WeakMap;let me=0,Ie=1;const ve=30;let he;const Te=Symbol("production"!==process.env.NODE_ENV?"iterate":""),Fe=Symbol("production"!==process.env.NODE_ENV?"Map key iterate":"");class be{constructor(e,t=null,n){this.fn=e,this.scheduler=t,this.active=!0,this.deps=[],this.parent=void 0,function(e,t=re){t&&t.active&&t.effects.push(e)}(this,n)}run(){if(!this.active)return this.fn();let e=he,t=_e;for(;e;){if(e===this)return;e=e.parent}try{return this.parent=he,he=this,_e=!0,Ie=1<<++me,me<=ve?(({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=Ie})(this):Se(this),this.fn()}finally{me<=ve&&(e=>{const{deps:t}=e;if(t.length){let n=0;for(let o=0;o<t.length;o++){const a=t[o];fe(a)&&!pe(a)?a.delete(e):t[n++]=a,a.w&=~Ie,a.n&=~Ie}t.length=n}})(this),Ie=1<<--me,he=this.parent,_e=t,this.parent=void 0,this.deferStop&&this.stop()}}stop(){he===this?this.deferStop=!0:this.active&&(Se(this),this.onStop&&this.onStop(),this.active=!1)}}function Se(e){const{deps:t}=e;if(t.length){for(let n=0;n<t.length;n++)t[n].delete(e);t.length=0}}let _e=!0;const ye=[];function Ue(){ye.push(_e),_e=!1}function Pe(){const e=ye.pop();_e=void 0===e||e}function Ee(e,t,n){if(_e&&he){let o=ge.get(e);o||ge.set(e,o=new Map);let a=o.get(n);a||o.set(n,a=de());!function(e,t){let n=!1;me<=ve?pe(e)||(e.n|=Ie,n=!fe(e)):n=!e.has(he);n&&(e.add(he),he.deps.push(e),"production"!==process.env.NODE_ENV&&he.onTrack&&he.onTrack(D({effect:he},t)))}(a,"production"!==process.env.NODE_ENV?{effect:he,target:e,type:t,key:n}:void 0)}}function Le(e,t,n,o,a,l){const i=ge.get(e);if(!i)return;let c=[];if("clear"===t)c=[...i.values()];else if("length"===n&&M(e)){const e=Number(o);i.forEach(((t,n)=>{("length"===n||!q(n)&&n>=e)&&c.push(t)}))}else switch(void 0!==n&&c.push(i.get(n)),t){case"add":M(e)?J(n)&&c.push(i.get("length")):(c.push(i.get(Te)),$(e)&&c.push(i.get(Fe)));break;case"delete":M(e)||(c.push(i.get(Te)),$(e)&&c.push(i.get(Fe)));break;case"set":$(e)&&c.push(i.get(Te))}const s="production"!==process.env.NODE_ENV?{target:e,type:t,key:n,newValue:o,oldValue:a,oldTarget:l}:void 0;if(1===c.length)c[0]&&("production"!==process.env.NODE_ENV?xe(c[0],s):xe(c[0]));else{const e=[];for(const t of c)t&&e.push(...t);"production"!==process.env.NODE_ENV?xe(de(e),s):xe(de(e))}}function xe(e,t){const n=M(e)?e:[...e];for(const e of n)e.computed&&Re(e,t);for(const e of n)e.computed||Re(e,t)}function Re(e,t){(e!==he||e.allowRecurse)&&("production"!==process.env.NODE_ENV&&e.onTrigger&&e.onTrigger(D({effect:e},t)),e.scheduler?e.scheduler():e.run())}const Ae=R("__proto__,__v_isRef,__isVue"),Ce=new Set(Object.getOwnPropertyNames(Symbol).filter((e=>"arguments"!==e&&"caller"!==e)).map((e=>Symbol[e])).filter(q)),ke=we();function we(){const e={};return["includes","indexOf","lastIndexOf"].forEach((t=>{e[t]=function(...e){const n=St(this);for(let e=0,t=this.length;e<t;e++)Ee(n,"get",e+"");const o=n[t](...e);return-1===o||!1===o?n[t](...e.map(St)):o}})),["push","pop","shift","unshift","splice"].forEach((t=>{e[t]=function(...e){Ue();const n=St(this)[t].apply(this,e);return Pe(),n}})),e}function De(e){const t=St(this);return Ee(t,"has",e),t.hasOwnProperty(e)}class Ne{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:ft:a?dt:rt).get(e))return e;const l=M(e);if(!o){if(l&&B(ke,t))return Reflect.get(ke,t,n);if("hasOwnProperty"===t)return De}const i=Reflect.get(e,t,n);return(q(t)?Ce.has(t):Ae(t))?i:(o||Ee(e,"get",t),a?i:Ut(i)?l&&J(t)?i:i.value:G(i)?o?mt(i):gt(i):i)}}class Oe extends Ne{constructor(e=!1){super(!1,e)}set(e,t,n,o){let a=e[t];if(Tt(a)&&Ut(a)&&!Ut(n))return!1;if(!this._shallow&&(Ft(n)||Tt(n)||(a=St(a),n=St(n)),!M(e)&&Ut(a)&&!Ut(n)))return a.value=n,!0;const l=M(e)&&J(t)?Number(t)<e.length:B(e,t),i=Reflect.set(e,t,n,o);return e===St(o)&&(l?K(n,a)&&Le(e,"set",t,n,a):Le(e,"add",t,n)),i}deleteProperty(e,t){const n=B(e,t),o=e[t],a=Reflect.deleteProperty(e,t);return a&&n&&Le(e,"delete",t,void 0,o),a}has(e,t){const n=Reflect.has(e,t);return q(t)&&Ce.has(t)||Ee(e,"has",t),n}ownKeys(e){return Ee(e,"iterate",M(e)?"length":Te),Reflect.ownKeys(e)}}class Be extends Ne{constructor(e=!1){super(!0,e)}set(e,t){return"production"!==process.env.NODE_ENV&&ue(`Set operation on key "${String(t)}" failed: target is readonly.`,e),!0}deleteProperty(e,t){return"production"!==process.env.NODE_ENV&&ue(`Delete operation on key "${String(t)}" failed: target is readonly.`,e),!0}}const Me=new Oe,$e=new Be,ze=new Be(!0),Ve=e=>e,We=e=>Reflect.getPrototypeOf(e);function qe(e,t,n=!1,o=!1){const a=St(e=e.__v_raw),l=St(t);n||(K(t,l)&&Ee(a,"get",t),Ee(a,"get",l));const{has:i}=We(a),c=o?Ve:n?yt:_t;return i.call(a,t)?c(e.get(t)):i.call(a,l)?c(e.get(l)):void(e!==a&&e.get(t))}function Ge(e,t=!1){const n=this.__v_raw,o=St(n),a=St(e);return t||(K(e,a)&&Ee(o,"has",e),Ee(o,"has",a)),e===a?n.has(e):n.has(e)||n.has(a)}function Qe(e,t=!1){return e=e.__v_raw,!t&&Ee(St(e),"iterate",Te),Reflect.get(e,"size",e)}function je(e){e=St(e);const t=St(this);return We(t).has.call(t,e)||(t.add(e),Le(t,"add",e,e)),this}function Ye(e,t){t=St(t);const n=St(this),{has:o,get:a}=We(n);let l=o.call(n,e);l?"production"!==process.env.NODE_ENV&&ut(n,o,e):(e=St(e),l=o.call(n,e));const i=a.call(n,e);return n.set(e,t),l?K(t,i)&&Le(n,"set",e,t,i):Le(n,"add",e,t),this}function He(e){const t=St(this),{has:n,get:o}=We(t);let a=n.call(t,e);a?"production"!==process.env.NODE_ENV&&ut(t,n,e):(e=St(e),a=n.call(t,e));const l=o?o.call(t,e):void 0,i=t.delete(e);return a&&Le(t,"delete",e,void 0,l),i}function Xe(){const e=St(this),t=0!==e.size,n="production"!==process.env.NODE_ENV?$(e)?new Map(e):new Set(e):void 0,o=e.clear();return t&&Le(e,"clear",void 0,void 0,n),o}function Je(e,t){return function(n,o){const a=this,l=a.__v_raw,i=St(l),c=t?Ve:e?yt:_t;return!e&&Ee(i,"iterate",Te),l.forEach(((e,t)=>n.call(o,c(e),c(t),a)))}}function Ze(e,t,n){return function(...o){const a=this.__v_raw,l=St(a),i=$(l),c="entries"===e||e===Symbol.iterator&&i,s="keys"===e&&i,u=a[e](...o),r=n?Ve:t?yt:_t;return!t&&Ee(l,"iterate",s?Fe:Te),{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 Ke(e){return function(...t){if("production"!==process.env.NODE_ENV){const n=t[0]?`on key "${t[0]}" `:"";console.warn(`${Z(e)} operation ${n}failed: target is readonly.`,St(this))}return"delete"!==e&&this}}function et(){const e={get(e){return qe(this,e)},get size(){return Qe(this)},has:Ge,add:je,set:Ye,delete:He,clear:Xe,forEach:Je(!1,!1)},t={get(e){return qe(this,e,!1,!0)},get size(){return Qe(this)},has:Ge,add:je,set:Ye,delete:He,clear:Xe,forEach:Je(!1,!0)},n={get(e){return qe(this,e,!0)},get size(){return Qe(this,!0)},has(e){return Ge.call(this,e,!0)},add:Ke("add"),set:Ke("set"),delete:Ke("delete"),clear:Ke("clear"),forEach:Je(!0,!1)},o={get(e){return qe(this,e,!0,!0)},get size(){return Qe(this,!0)},has(e){return Ge.call(this,e,!0)},add:Ke("add"),set:Ke("set"),delete:Ke("delete"),clear:Ke("clear"),forEach:Je(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach((a=>{e[a]=Ze(a,!1,!1),n[a]=Ze(a,!0,!1),t[a]=Ze(a,!1,!0),o[a]=Ze(a,!0,!0)})),[e,n,t,o]}const[tt,nt,ot,at]=et();function lt(e,t){const n=t?e?at:ot:e?nt:tt;return(t,o,a)=>"__v_isReactive"===o?!e:"__v_isReadonly"===o?e:"__v_raw"===o?t:Reflect.get(B(n,o)&&o in t?n:t,o,a)}const it={get:lt(!1,!1)},ct={get:lt(!0,!1)},st={get:lt(!0,!0)};function ut(e,t,n){const o=St(n);if(o!==n&&t.call(e,o)){const t=H(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 rt=new WeakMap,dt=new WeakMap,ft=new WeakMap,pt=new WeakMap;function gt(e){return Tt(e)?e:vt(e,!1,Me,it,rt)}function mt(e){return vt(e,!0,$e,ct,ft)}function It(e){return vt(e,!0,ze,st,pt)}function vt(e,t,n,o,a){if(!G(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 l=a.get(e);if(l)return l;const i=(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}}(H(c));var c;if(0===i)return e;const s=new Proxy(e,2===i?o:n);return a.set(e,s),s}function ht(e){return Tt(e)?ht(e.__v_raw):!(!e||!e.__v_isReactive)}function Tt(e){return!(!e||!e.__v_isReadonly)}function Ft(e){return!(!e||!e.__v_isShallow)}function bt(e){return ht(e)||Tt(e)}function St(e){const t=e&&e.__v_raw;return t?St(t):e}const _t=e=>G(e)?gt(e):e,yt=e=>G(e)?mt(e):e;function Ut(e){return!(!e||!0!==e.__v_isRef)}const Pt={get:(e,t,n)=>{return Ut(o=Reflect.get(e,t,n))?o.value:o;var o},set:(e,t,n,o)=>{const a=e[t];return Ut(a)&&!Ut(n)?(a.value=n,!0):Reflect.set(e,t,n,o)}};const Et=[];function Lt(e,...t){if("production"===process.env.NODE_ENV)return;Ue();const n=Et.length?Et[Et.length-1].component:null,o=n&&n.appContext.config.warnHandler,a=function(){let e=Et[Et.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)Ct(o,n,11,[e+t.join(""),n&&n.proxy,a.map((({vnode:e})=>`at <${Hn(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 <${Hn(e.component,e.type,o)}`,l=">"+n;return e.props?[a,...xt(e.props),l]:[a+l]}(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(...Rt(n,e[n]))})),n.length>3&&t.push(" ..."),t}function Rt(e,t,n){return W(t)?(t=JSON.stringify(t),n?t:[`${e}=${t}`]):"number"==typeof t||"boolean"==typeof t||null==t?n?t:[`${e}=${t}`]:Ut(t)?(t=Rt(e,St(t.value),!0),n?t:[`${e}=Ref<`,t,">"]):V(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=St(t),n?t:[`${e}=`,t])}const At={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 Ct(e,t,n,o){let a;try{a=o?e(...o):e()}catch(e){wt(e,t,n)}return a}function kt(e,t,n,o){if(V(e)){const a=Ct(e,t,n,o);return a&&Q(a)&&a.catch((e=>{wt(e,t,n)})),a}const a=[];for(let l=0;l<e.length;l++)a.push(kt(e[l],t,n,o));return a}function wt(e,t,n,o=!0){const a=t?t.vnode:null;if(t){let o=t.parent;const a=t.proxy,l="production"!==process.env.NODE_ENV?At[n]:n;for(;o;){const t=o.ec;if(t)for(let n=0;n<t.length;n++)if(!1===t[n](e,a,l))return;o=o.parent}const i=t.appContext.config.errorHandler;if(i)return void Ct(i,null,10,[e,a,l])}!function(e,t,n,o=!0){if("production"!==process.env.NODE_ENV){const l=At[t];if(n&&(a=n,Et.push(a)),Lt("Unhandled error"+(l?` during execution of ${l}`:"")),n&&Et.pop(),o)throw e;console.error(e)}else console.error(e);var a}(e,n,a,o)}let Dt=!1,Nt=!1;const Ot=[];let Bt=0;const Mt=[];let $t=null,zt=0;const Vt=Promise.resolve();let Wt=null;const qt=100;function Gt(e){const t=Wt||Vt;return e?t.then(this?e.bind(this):e):t}function Qt(e){Ot.length&&Ot.includes(e,Dt&&e.allowRecurse?Bt+1:Bt)||(null==e.id?Ot.push(e):Ot.splice(function(e){let t=Bt+1,n=Ot.length;for(;t<n;){const o=t+n>>>1,a=Ot[o],l=Ht(a);l<e||l===e&&a.pre?t=o+1:n=o}return t}(e.id),0,e),jt())}function jt(){Dt||Nt||(Nt=!0,Wt=Vt.then(Jt))}function Yt(e){M(e)?Mt.push(...e):$t&&$t.includes(e,e.allowRecurse?zt+1:zt)||Mt.push(e),jt()}const Ht=e=>null==e.id?1/0:e.id,Xt=(e,t)=>{const n=Ht(e)-Ht(t);if(0===n){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Jt(e){Nt=!1,Dt=!0,"production"!==process.env.NODE_ENV&&(e=e||new Map),Ot.sort(Xt);const t="production"!==process.env.NODE_ENV?t=>Zt(e,t):C;try{for(Bt=0;Bt<Ot.length;Bt++){const e=Ot[Bt];if(e&&!1!==e.active){if("production"!==process.env.NODE_ENV&&t(e))continue;Ct(e,null,14)}}}finally{Bt=0,Ot.length=0,function(e){if(Mt.length){const t=[...new Set(Mt)];if(Mt.length=0,$t)return void $t.push(...t);for($t=t,"production"!==process.env.NODE_ENV&&(e=e||new Map),$t.sort(((e,t)=>Ht(e)-Ht(t))),zt=0;zt<$t.length;zt++)"production"!==process.env.NODE_ENV&&Zt(e,$t[zt])||$t[zt]();$t=null,zt=0}}(e),Dt=!1,Wt=null,(Ot.length||Mt.length)&&Jt(e)}}function Zt(e,t){if(e.has(t)){const n=e.get(t);if(n>qt){const e=t.ownerInstance,n=e&&Yn(e.type);return Lt(`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 Kt=new Set;"production"!==process.env.NODE_ENV&&(ne().__VUE_HMR_RUNTIME__={createRecord:on((function(e,t){if(en.has(e))return!1;return en.set(e,{initialDef:tn(t),instances:new Set}),!0})),rerender:on((function(e,t){const n=en.get(e);if(!n)return;n.initialDef.render=t,[...n.instances].forEach((e=>{t&&(e.render=t,tn(e.type).render=t),e.renderCache=[],e.update()}))})),reload:on((function(e,t){const n=en.get(e);if(!n)return;t=tn(t),nn(n.initialDef,t);const o=[...n.instances];for(const e of o){const o=tn(e.type);Kt.has(o)||(o!==n.initialDef&&nn(o,t),Kt.add(o)),e.appContext.propsCache.delete(e.type),e.appContext.emitsCache.delete(e.type),e.appContext.optionsCache.delete(e.type),e.ceReload?(Kt.add(o),e.ceReload(t.styles),Kt.delete(o)):e.parent?Qt(e.parent.update):e.appContext.reload?e.appContext.reload():"undefined"!=typeof window?window.location.reload():console.warn("[HMR] Root or manually mounted instance modified. Full reload required.")}Yt((()=>{for(const e of o)Kt.delete(tn(e.type))}))}))});const en=new Map;function tn(e){return Xn(e)?e.__vccOpts:e}function nn(e,t){D(e,t);for(const n in e)"__file"===n||n in t||delete e[n]}function on(e){return(t,n)=>{try{return e(t,n)}catch(e){console.error(e),console.warn("[HMR] Something went wrong during Vue component hot-reload. Full reload required.")}}}let an=null,ln=null;const cn=Symbol.for("v-ndc");const sn={};function un(e,t,{immediate:n,deep:o,flush:a,onTrack:l,onTrigger:i}=A){var c;"production"===process.env.NODE_ENV||t||(void 0!==n&&Lt('watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.'),void 0!==o&&Lt('watch() "deep" option is only respected when using the watch(source, callback, options?) signature.'));const s=e=>{Lt("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=re===(null==(c=Vn)?void 0:c.scope)?Vn:null;let r,d,f=!1,p=!1;if(Ut(e)?(r=()=>e.value,f=Ft(e)):ht(e)?(r=()=>e,o=!0):M(e)?(p=!0,f=e.some((e=>ht(e)||Ft(e))),r=()=>e.map((e=>Ut(e)?e.value:ht(e)?dn(e):V(e)?Ct(e,u,2):void("production"!==process.env.NODE_ENV&&s(e))))):V(e)?r=t?()=>Ct(e,u,2):()=>{if(!u||!u.isUnmounted)return d&&d(),kt(e,u,3,[g])}:(r=C,"production"!==process.env.NODE_ENV&&s(e)),t&&o){const e=r;r=()=>dn(e())}let g=e=>{d=h.onStop=()=>{Ct(e,u,4)}},m=p?new Array(e.length).fill(sn):sn;const I=()=>{if(h.active)if(t){const e=h.run();(o||f||(p?e.some(((e,t)=>K(e,m[t]))):K(e,m)))&&(d&&d(),kt(t,u,3,[e,m===sn?void 0:p&&m[0]===sn?[]:m,g]),m=e)}else h.run()};let v;I.allowRecurse=!!t,"sync"===a?v=I:"post"===a?v=()=>Pn(I,u&&u.suspense):(I.pre=!0,u&&(I.id=u.uid),v=()=>Qt(I));const h=new be(r,v);"production"!==process.env.NODE_ENV&&(h.onTrack=l,h.onTrigger=i),t?n?I():m=h.run():"post"===a?Pn(h.run.bind(h),u&&u.suspense):h.run();return()=>{h.stop(),u&&u.scope&&N(u.scope.effects,h)}}function rn(e,t,n){const o=this.proxy,a=W(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 l;V(t)?l=t:(l=t.handler,n=t);const i=Vn;qn(this);const c=un(a,l.bind(o),n);return i?qn(i):Gn(),c}function dn(e,t){if(!G(e)||e.__v_skip)return e;if((t=t||new Set).has(e))return e;if(t.add(e),Ut(e))dn(e.value,t);else if(M(e))for(let n=0;n<e.length;n++)dn(e[n],t);else if(z(e)||$(e))e.forEach((e=>{dn(e,t)}));else if(X(e))for(const n in e)dn(e[n],t);return e}
2
+ /*! #__NO_SIDE_EFFECTS__ */function fn(e,t){return V(e)?(()=>D({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,ee(n,"__v_skip",!0),ht(t=n)?t:new Proxy(t,Pt)),{get:(t,n)=>n in t?t[n]:n in gn?gn[n](e):void 0,has:(e,t)=>t in e||t in gn}));var t;var n}(e)||e.proxy:pn(e.parent):null,gn=D(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>"production"!==process.env.NODE_ENV?It(e.props):e.props,$attrs:e=>"production"!==process.env.NODE_ENV?It(e.attrs):e.attrs,$slots:e=>"production"!==process.env.NODE_ENV?It(e.slots):e.slots,$refs:e=>"production"!==process.env.NODE_ENV?It(e.refs):e.refs,$parent:e=>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:l,config:{optionMergeStrategies:i}}=e.appContext,c=l.get(t);let s;c?s=c:a.length||n||o?(s={},a.length&&a.forEach((e=>Tn(s,e,i,!0))),Tn(s,t,i)):s=t;G(t)&&l.set(t,s);return s}(e):e.type,$forceUpdate:e=>e.f||(e.f=()=>Qt(e.update)),$nextTick:e=>e.n||(e.n=Gt.bind(e.proxy)),$watch:e=>__VUE_OPTIONS_API__?rn.bind(e):C}),mn=(e,t)=>e!==A&&!e.__isScriptSetup&&B(e,t),In={get({_:e},t){const{ctx:n,setupState:o,data:a,props:l,accessCache:i,type:c,appContext:s}=e;if("production"!==process.env.NODE_ENV&&"__isVue"===t)return!0;let u;if("$"!==t[0]){const c=i[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 l[t]}else{if(mn(o,t))return i[t]=1,o[t];if(a!==A&&B(a,t))return i[t]=2,a[t];if((u=e.propsOptions[0])&&B(u,t))return i[t]=3,l[t];if(n!==A&&B(n,t))return i[t]=4,n[t];__VUE_OPTIONS_API__&&!hn||(i[t]=0)}}const r=gn[t];let d,f;return r?("$attrs"===t?(Ee(e,"get",t),process.env.NODE_ENV):"production"!==process.env.NODE_ENV&&"$slots"===t&&Ee(e,"get",t),r(e)):(d=c.__cssModules)&&(d=d[t])?d:n!==A&&B(n,t)?(i[t]=4,n[t]):(f=s.config.globalProperties,B(f,t)?f[t]:void("production"===process.env.NODE_ENV||!an||W(t)&&0===t.indexOf("__v")||(a!==A&&(e=>"_"===e||"$"===e)(t[0])&&B(a,t)?Lt(`Property ${JSON.stringify(t)} must be accessed via $data because it starts with a reserved character ("$" or "_") and is not proxied on the render context.`):e===an&&Lt(`Property ${JSON.stringify(t)} was accessed during render but is not defined on instance.`))))},set({_:e},t,n){const{data:o,setupState:a,ctx:l}=e;return mn(a,t)?(a[t]=n,!0):"production"!==process.env.NODE_ENV&&a.__isScriptSetup&&B(a,t)?(Lt(`Cannot mutate <script setup> binding "${t}" from Options API.`),!1):o!==A&&B(o,t)?(o[t]=n,!0):B(e.props,t)?("production"!==process.env.NODE_ENV&&Lt(`Attempting to mutate prop "${t}". Props are readonly.`),!1):"$"===t[0]&&t.slice(1)in e?("production"!==process.env.NODE_ENV&&Lt(`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(l,t,{enumerable:!0,configurable:!0,value:n}):l[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:o,appContext:a,propsOptions:l}},i){let c;return!!n[i]||e!==A&&B(e,i)||mn(t,i)||(c=l[0])&&B(c,i)||B(o,i)||B(gn,i)||B(a.config.globalProperties,i)},defineProperty(e,t,n){return null!=n.get?e._.accessCache[t]=0:B(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function vn(e){return M(e)?e.reduce(((e,t)=>(e[t]=null,e)),{}):e}"production"!==process.env.NODE_ENV&&(In.ownKeys=e=>(Lt("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 Tn(e,t,n,o=!1){const{mixins:a,extends:l}=t;l&&Tn(e,l,n,!0),a&&a.forEach((t=>Tn(e,t,n,!0)));for(const a in t)if(o&&"expose"===a)"production"!==process.env.NODE_ENV&&Lt('"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:bn,props:Un,emits:Un,methods:yn,computed:yn,beforeCreate:_n,created:_n,beforeMount:_n,mounted:_n,beforeUpdate:_n,updated:_n,beforeDestroy:_n,beforeUnmount:_n,destroyed:_n,unmounted:_n,activated:_n,deactivated:_n,errorCaptured:_n,serverPrefetch:_n,components:yn,directives:yn,watch:function(e,t){if(!e)return t;if(!t)return e;const n=D(Object.create(null),e);for(const o in t)n[o]=_n(e[o],t[o]);return n},provide:bn,inject:function(e,t){return yn(Sn(e),Sn(t))}};function bn(e,t){return t?e?function(){return D(V(e)?e.call(this,this):e,V(t)?t.call(this,this):t)}:t:e}function Sn(e){if(M(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function _n(e,t){return e?[...new Set([].concat(e,t))]:t}function yn(e,t){return e?D(Object.create(null),e,t):t}function Un(e,t){return e?M(e)&&M(t)?[...new Set([...e,...t])]:D(Object.create(null),vn(e),vn(null!=t?t:{})):t}const Pn=function(e,t){t&&t.pendingBranch?M(e)?t.effects.push(...e):t.effects.push(e):Yt(e)},En=Symbol.for("v-fgt"),Ln=Symbol.for("v-txt"),xn=Symbol.for("v-cmt");let Rn=null;const An="__vInternal",Cn=({key:e})=>null!=e?e:null,kn=({ref:e,ref_key:t,ref_for:n})=>("number"==typeof e&&(e=""+e),null!=e?W(e)||Ut(e)||V(e)?{i:an,r:e,k:t,f:!!n}:e:null);const wn="production"!==process.env.NODE_ENV?(...e)=>Dn(...e):Dn;function Dn(e,t=null,n=null,o=0,a=null,l=!1){if(e&&e!==cn||("production"===process.env.NODE_ENV||e||Lt(`Invalid vnode type when creating vnode: ${e}.`),e=xn),(i=e)&&!0===i.__v_isVNode){const o=Nn(e,t,!0);return n&&Mn(o,n),!l&&Rn&&(6&o.shapeFlag?Rn[Rn.indexOf(e)]=o:Rn.push(o)),o.patchFlag|=-2,o}var i;if(Xn(e)&&(e=e.__vccOpts),t){t=function(e){return e?bt(e)||An in e?D({},e):e:null}(t);let{class:e,style:n}=t;e&&!W(e)&&(t.class=se(e)),G(n)&&(bt(n)&&!M(n)&&(n=D({},n)),t.style=oe(n))}const c=W(e)?1:(e=>e.__isSuspense)(e)?128:(e=>e.__isTeleport)(e)?64:G(e)?4:V(e)?2:0;return"production"!==process.env.NODE_ENV&&4&c&&bt(e)&&Lt("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=St(e)),function(e,t=null,n=null,o=0,a=null,l=(e===En?0:1),i=!1,c=!1){const s={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Cn(t),ref:t&&kn(t),scopeId:ln,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:l,patchFlag:o,dynamicProps:a,dynamicChildren:null,appContext:null,ctx:an};return c?(Mn(s,n),128&l&&e.normalize(s)):n&&(s.shapeFlag|=W(n)?8:16),"production"!==process.env.NODE_ENV&&s.key!=s.key&&Lt("VNode created with invalid key (NaN). VNode type:",s.type),!i&&Rn&&(s.patchFlag>0||6&l)&&32!==s.patchFlag&&Rn.push(s),s}(e,t,n,o,a,c,l,!0)}function Nn(e,t,n=!1){const{props:o,ref:a,patchFlag:l,children:i}=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=se([t.class,o.class]));else if("style"===e)t.style=oe([t.style,o.style]);else if(w(e)){const n=t[e],a=o[e];!a||n===a||M(n)&&n.includes(a)||(t[e]=n?[].concat(n,a):a)}else""!==e&&(t[e]=o[e])}return t}(o||{},t):o;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&Cn(c),ref:t&&t.ref?n&&a?M(a)?a.concat(kn(t)):[a,kn(t)]:kn(t):a,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:"production"!==process.env.NODE_ENV&&-1===l&&M(i)?i.map(On):i,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==En?-1===l?16:16|l:l,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Nn(e.ssContent),ssFallback:e.ssFallback&&Nn(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function On(e){const t=Nn(e);return M(e.children)&&(t.children=e.children.map(On)),t}function Bn(e=" ",t=0){return wn(Ln,null,e,t)}function Mn(e,t){let n=0;const{shapeFlag:o}=e;if(null==t)t=null;else if(M(t))n=16;else if("object"==typeof t){if(65&o){const n=t.default;return void(n&&(n._c&&(n._d=!1),Mn(e,n()),n._c&&(n._d=!0)))}{n=32;const o=t._;o||An in t?3===o&&an&&(1===an.slots._?t._=1:(t._=2,e.patchFlag|=1024)):t._ctx=an}}else V(t)?(t={default:t,_ctx:an},n=32):(t=String(t),64&o?(n=16,t=[Bn(t)]):n=8);e.children=t,e.shapeFlag|=n}let $n,zn,Vn=null,Wn="__VUE_INSTANCE_SETTERS__";(zn=ne()[Wn])||(zn=ne()[Wn]=[]),zn.push((e=>Vn=e)),$n=e=>{zn.length>1?zn.forEach((t=>t(e))):zn[0](e)};const qn=e=>{$n(e),e.scope.on()},Gn=()=>{Vn&&Vn.scope.off(),$n(null)};const Qn=/(?:^|[-_])(\w)/g,jn=e=>e.replace(Qn,(e=>e.toUpperCase())).replace(/[-_]/g,"");function Yn(e,t=!0){return V(e)?e.displayName||e.name:e.name||t&&e.__name}function Hn(e,t,n=!1){let o=Yn(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 V(e)&&"__vccOpts"in e}var Jn=fn({name:"qt-view",emits:["clearFocus"],setup(t,n){const o=e();return{clearFocus:()=>{U.callUIFunction(o.value,"clearFocus")},requestFocus:()=>{U.callUIFunction(o.value,"requestFocus")},requestFocusDirectly:()=>{U.callUIFunction(o.value,"requestFocusDirectly")},viewRef:o}}});const Zn={clipChildren:!1,ref:"viewRef"};Jn.render=function(e,a,l,i,c,s){return t(),n("div",Zn,[o(e.$slots,"default")],512)},Jn.__file="src/view/index.vue";var Kn=fn({name:"qt-text"});Kn.render=function(e,n,o,i,c,s){const u=a("text-view");return t(),l(u)},Kn.__file="src/text/index.vue";var eo=fn({name:"qt-image"});const to={src:"",alt:"",clipChildren:!1};eo.render=function(e,o,a,l,i,c){return t(),n("img",to)},eo.__file="src/image/index.vue";var no=fn({name:"qt-column"});const oo={class:"qt-ui-row-css",clipChildren:!1};no.render=function(e,a,l,i,c,s){return t(),n("div",oo,[o(e.$slots,"default")])},no.__scopeId="data-v-734c04b2",no.__file="src/column/index.vue";var ao=fn({name:"qt-row"});const lo={class:"qt-ui-row-css",clipChildren:!1};ao.render=function(e,a,l,i,c,s){return t(),n("div",lo,[o(e.$slots,"default")])},ao.__scopeId="data-v-9c454b58",ao.__file="src/row/index.vue";var io=i({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{focused:a,requestFocus:function(){U.callUIFunction(o.value,"requestFocus",[])},requestFocusDirectly:function(){U.callUIFunction(o.value,"requestFocusDirectly",[])},onFocus:function(e){console.log("--------XXXXXXXXXXXXXXXXX--------------\x3e>>",a.value),a.value=e.isFocused,n.emit("focus",e.isFocused)},onClick:function(e){n.emit("click")}}}});const co=["focusable","enableFocusBorder","focusScale"],so=["gradientBackground"],uo=["gradientBackground"],ro=["gradientBackground"],fo=["src"],po=["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})}))}io.render=function(e,i,p,g,m,I){const v=a("text-view");return t(),n("div",{ref:"buttonRef",clipChildren:!1,focusable:e.focusable,enableFocusBorder:e.focusBorder,focusScale:e.focusScale,onClick:i[0]||(i[0]=(...t)=>e.onClick&&e.onClick(...t)),name:"textButton",eventClick:"",eventFocus:"",onFocus:i[1]||(i[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,so)):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,uo)):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,ro)):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?r((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,fo)),[[d,!e.focused]]):u("v-if",!0),e.focusIcon&&!e.$slots.default?r((t(),n("img",{key:1,style:c(e.focusIconStyle?e.focusIconStyle:e.iconStyle),flexStyle:"${iconStyle}",class:s(["quick-button-icon",e.size?"quick-button-icon--"+e.size:"",{"is-square-icon":e.square}]),focusable:!1,duplicateParentState:!0,src:e.enableFlexStyle?"${"+e.focusIcon+"}":e.focusIcon,showOnState:"focused"},null,14,po)),[[d,e.focused]]):u("v-if",!0)],6)),u(" ------------------------------------------------------------------- "),u(" text "),e.enableFlexStyle?(t(),l(v,{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},f(e.text),7)):u("v-if",!0),o(e.$slots,"default")],46,co)},io.__scopeId="data-v-46a594e4",io.__file="src/button/index.vue";const mo=e=>e.map(vo),Io=e=>{const t=Object.keys(e),n={};return t.forEach((t=>{n[t]=vo(e[t])})),n};function vo(e){return e?"object"!=typeof e?e:Array.isArray(e)?mo(e):Io(e):e}var ho=i({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:()=>[]}},emits:["item-click","scroll","item-unbind","scroll-state-changed","item-bind","item-focused"],setup(t,n){P(),E();const o=e();let a=e(2.5),l=[],i=[],c=[],s=[],u="",r=-1,d=!1,f=-1,m=-1,I=-1,v=-1;p((()=>{t.openPage&&(r=1,d=!1,t.loadMore(r))}));const h=e=>{0==l.length&&(l=vo(e),i=e,a.value<2.2?(T(),t.openPage&&t.pageSize&&s.length>=t.pageSize/t.spanCount?o.value.setListData(s.concat([{type:1002,decoration:{top:15,left:30}}])):o.value.setListData(s)):t.openPage&&t.pageSize&&l.length>=t.pageSize?o.value.setListData(l.concat([{type:1002,decoration:{top:15,left:30}}])):o.value.setListData(l),t.defaultFocus>-1&&(I&&clearTimeout(I),I=setTimeout((()=>{b(t.defaultFocus),S(t.defaultFocus)}),800)));let n={get(e,i,f){if("__ob__"!=i&&"symbol"!=typeof i&&"map"!=i&&"length"!=i&&"constructor"!=i&&"_isVue"!=i&&"valueOf"!=i&&"toString"!=i&&"observeArray"!=i&&"dep"!=i&&"notify"!=i&&"subs"!=i&&"slice"!=i)if(c.push(i),-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(T(),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 l=s[o];if("1003"==l.type)e++,t[0]==e&&(n=o),t[0]+t[1]-1==e&&(a=o);else for(let i=0;i<l.list.length;i++)l.list[i],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?o.value.deleteItem(Number(t[0]),l.length-t[0]):2==t.length?o.value.deleteItem(Number(t[0]),t[1]):t.length>2&&(0==t[1]?a.value>2.29&&y(t[0],t.slice(2)):o.value.updateItemList(t[0],t[1],t.slice(2)));return l.splice(t[0],...t.slice(1)),u="",c=[],Reflect.get(e,i,f)};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(l.length-1),1),l.pop(),u="",c=[],Reflect.get(e,i,f)};if(-1!=c.indexOf("forEach"))return u="forEach",function(n){return e.forEach((e=>{n(e)})),l=[],l=vo(e),a.value<2.2?(T(),t.openPage&&t.pageSize&&s.length>=t.pageSize&&!d?o.value.setListData(s.concat([{type:1002,decoration:{top:15,left:30}}])):o.value.setListData(s)):t.openPage&&t.pageSize&&l.length>=t.pageSize&&!d?o.value.setListData(l.concat([{type:1002,decoration:{top:15,left:30}}])):o.value.setListData(l),u="",c=[],Reflect.get(e,i,f)};if(-1!=c.indexOf("concat"))return u="concat",function(p){if("[object Array]"===Object.prototype.toString.call(p))if(e=e.concat(p),l=l.concat(p),a.value<2.2){v&&clearTimeout(v);let e=s.length,n=s.slice(s.length-1)[0];T();let a=s.slice(e);t.openPage&&!d?t.pageSize||2!=r?0==a.length||"1003"!=n.type&&n.list.length<t.spanCount?(a=s.slice(e-1),v=setTimeout((()=>{o.value.addListDataWithParams(a.concat([{type:1002,decoration:{top:15,left:30}}]),2)}),300)):v=setTimeout((()=>{o.value.addListDataWithParams(a.concat([{type:1002,decoration:{top:15,left:30}}]),1)}),300):v=setTimeout((()=>{o.value.addListData(a.concat([{type:1002,decoration:{top:15,left:30}}]))}),300):o.value.setListData(s)}else v=t.openPage&&!d?t.pageSize||2!=r?setTimeout((()=>{o.value.addListDataWithParams(p.concat([{type:1002,decoration:{top:15,left:30}}]),1)}),300):setTimeout((()=>{o.value.addListData(p.concat([{type:1002,decoration:{top:15,left:30}}]))}),300):setTimeout((()=>{o.value.addListData(p)}),300);else console.log("concat:参数类型必须为数组");return u="",c=[],Reflect.get(e,i,f),new Proxy(e,n)};u=""}const p=Reflect.get(e,i,f);return F(p)&&"__ob__"!=i&&"dep"!=i&&"subs"!=i?h(p):(-1==c.indexOf("push")&&(c=[]),p)},set(e,n,f,p){const g=e[n],m=Reflect.set(e,n,f,p);if((!F(g)&&g!==f||F(g))&&"push"!=u)if(c.push(n),l[c[0]]=i[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]=l[c[0]],o.value.updateItem(Number(n),s[n]));else for(let i=0;i<a.list.length;i++)if(a.list[i],t++,t==e){s[n].list[i]=l[c[0]];let e=s[n].list[i];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]),i[c[0]]);if(n&&"push"==u&&g!==f)c.push(n),l.push(f);else{if("push"==u&&c.length>1)if(a.value<2.2){v&&clearTimeout(v);let e=s.length,n=s.slice(s.length-1)[0];T();let a=s.slice(e);t.openPage&&!d?t.pageSize||2!=r?0==a.length||"1003"!=n.type&&n.list.length<t.spanCount?(a=s.slice(e-1),v=setTimeout((()=>{o.value.addListDataWithParams(a.concat([{type:1002,decoration:{top:15,left:30}}]),2)}),300)):v=setTimeout((()=>{o.value.addListDataWithParams(a.concat([{type:1002,decoration:{top:15,left:30}}]),1)}),300):v=setTimeout((()=>{o.value.addListData(a.concat([{type:1002,decoration:{top:15,left:30}}]))}),300):o.value.setListData(s)}else{let e=l.slice(c[1]);v&&clearTimeout(v),v=t.openPage&&!d?t.pageSize||2!=r?setTimeout((()=>{o.value.addListDataWithParams(e.concat([{type:1002,decoration:{top:15,left:30}}]),1)}),300):setTimeout((()=>{o.value.addListData(e.concat([{type:1002,decoration:{top:15,left:30}}]))}),300):setTimeout((()=>{o.value.addListData(e)}),300)}u="",c=[]}return m}};return new Proxy(e,n)},T=()=>{let e=vo(l);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 l={top:-1,bottom:-1};o.decoration&&(l.top=o.toCompatibleSaveTopVal?o.toCompatibleSaveTopVal:0,l.bottom=o.toCompatibleSaveBottompVal?o.toCompatibleSaveBottompVal:0);const i={type:1,decoration:l,name:"name"+n,list:a.list.slice(e,e+t.spanCount)};n++,s.push(i)}}},F=e=>null!==e&&"object"==typeof e,b=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 l=0;l<a.list.length;l++)a.list[l],t++,t==e&&o.value.scrollToPosition(n)}}else o.value.scrollToPosition(e)},S=e=>{if(a.value<2.2){let t=-1,n=0,a=0;for(let o=0;o<s.length;o++){const l=s[o];if("1003"==l.type)t++;else for(let i=0;i<l.list.length;i++)l.list[i],t++,e==t&&(n=o,a=i)}o.value.dispatchItemFunction(n,"tv_list_inner","requestChildFocus",[a])}else o.value.requestFocus(e)},_=(e,t)=>{if(a.value<2.2){let t=-1,n=0,a=0;for(let o=0;o<s.length;o++){const l=s[o];if("1003"==l.type)t++;else for(let i=0;i<l.list.length;i++)l.list[i],t++,e==t&&(n=o,a=i)}o.value.dispatchItemFunction(n,"tv_list_inner","setSelectChildPosition",[a])}else o.value.setSelectPosition(e,t)},y=(e,t)=>{o.value.addItem(e,t)},U=()=>{o.value.destroy()};return g((()=>{l=[],s=[],i.length=0,d=!1,c=[],r=1,d=!1,u="",U(),f&&clearTimeout(f),v&&clearTimeout(v),m&&clearTimeout(m),I&&clearTimeout(I)})),{tv_list:o,apkVersion:a,init:h,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 l=s[a];if("1003"==l.type)t++;else for(let i=0;i<l.list.length;i++)t++,n==i&&o==a&&(e.position=t)}}n.emit("item-click",e)},onItemBind:e=>{a.value<2.2?d||e.position!=s.length-1-t.preloadNo/t.spanCount||(r++,t.loadMore(r)):d||e.position!=l.length-1-t.preloadNo||(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 l=s[a];if("1003"==l.type)t++;else for(let i=0;i<l.list.length;i++)t++,n==i&&o==a&&(e.position=t)}}n.emit("item-focused",e)},onItemUnbind:e=>{n.emit("item-unbind",e)},onScroll:e=>{n.emit("scroll",e)},onScrollStateChanged:e=>{n.emit("scroll-state-changed",e)},stopPage:e=>{m&&clearTimeout(m),m=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<=l.length&&o.value.deleteItem(l.length,1):r>2&&o.value.deleteItem(l.length,1)}),400),d=!0},scrollToTop:()=>{o.value.scrollToTop()},clearFocus:()=>{o.value.clearFocus()},blockRootFocus:()=>{o.value.blockRootFocus()},unBlockRootFocus:()=>{o.value.unBlockRootFocus()},setDisplay:e=>{o.value.setDisplay(e)},scrollToPosition:b,scrollToIndex:(e,t,n)=>{if(a.value<2.2){let a=-1;for(let l=0;l<s.length;l++){const i=s[l];if("1003"==i.type)a++,a==e&&o.value.scrollToIndex(0,l,t,n);else for(let c=0;c<i.list.length;c++)i.list[c],a++,a==e&&o.value.scrollToIndex(0,l,t,n)}}else o.value.scrollToIndex(0,e,t,n)},setItemFocused:S,scrollToFocused:e=>{b(e),S(e)},setItemSelected:_,scrollToSelected:(e,t)=>{b(e),_(e,t)},updateItemProps:(e,t,n)=>{o.value.updateItemProps(e,t,n)},setInitPosition:e=>{o.value.setInitPosition(e)},setListData:e=>{f&&clearTimeout(f),f=setTimeout((()=>{o.value.setListData(e)}),100)},insertItem:y,clearPostTask:()=>{o.value.clearPostTask()},destroy:U}}});ho.render=function(e,i,s,u,r,d){const f=a("tv-list");return t(),l(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:m((()=>[e.apkVersion<2.2?(t(),n(I,{key:0},[o(e.$slots,"header"),v(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:m((()=>[o(e.$slots,"default")])),_:3},8,["style","blockFocusDirections"]),o(e.$slots,"footer"),o(e.$slots,"loading")],64)):(t(),n(I,{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"])},ho.__file="src/grid-view/index.vue";var To=fn({name:"qt-poster-focus-title",props:{fontSize:{type:Number,default:20}},setup(e,t){}});const Fo={class:"absoluteFocusTitleRoot",delayLoad:"400",flexStyle:"${titleFocusStyle}",autoHeight:"",focusable:!1},bo={class:"absoluteFocusMainBgRoot",duplicateParentState:!0,focusable:!1,showIf:"${title.enable}"};To.render=function(e,o,l,i,c,s){const r=a("text-view");return t(),n("div",Fo,[u(" 浮动标题"),v(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"}),h("div",bo,[u(" 主标题 "),v(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:"${title.style}",text:"${title.text}"}),u(" 副标题 "),v(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}"})])])},To.__scopeId="data-v-703673b8",To.__file="src/poster/qt-poster-focus-title.vue";var So=fn({name:"qt-poster-corner-title",props:{fontSize:{type:Number,default:20}},setup(e,t){}});const _o={class:"cornerRoot",focusable:!1};So.render=function(e,o,l,i,c,s){const u=a("text-view");return t(),n("div",_o,[v(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"])])},So.__scopeId="data-v-4b767ea2",So.__file="src/poster/qt-poster-corner-title.vue";var yo=fn({name:"qt-poster",components:{"qt-poster-corner-title":So,"qt-poster-focus-title":To},props:{requestFirstFocus:{type:Boolean,default:!1},loadDelay:{type:Number,default:500},type:{type:Number,default:10001},templateKeyMap:{type:Object,default:()=>null},isFocusable:{type:Boolean,default:!0},enableFocusBorder:{type:Boolean,default:!0}},setup:(e,t)=>({mainTextShowOnState:["normal","selected"]})});const Uo=["enableFocusBorder"],Po=["showOnState"],Eo={flexStyle:"${floatTitle.style}",class:"qt-ui-poster-title-css",gradientBackground:{colors:["#e5000000","#00000000"],cornerRadii4:[0,0,8,8],orientation:4},duplicateParentState:!0,delayLoad:"500",focusable:!1,showIf:"${floatTitle.enable}"},Lo={flexStyle:"${ripple.style}",class:"qt-ui-poster-ripple-view-root-css",showOnState:"focused",focusable:!1,clipChildren:!1},xo=(e=>(T("data-v-3c4765e9"),e=e(),F(),e))((()=>h("img",{src:"${ripple.src}",class:"qt-ui-ripple-img-css",focusable:!1,duplicateParentState:!0,showIf:"${true}",delayLoad:"800"},null,-1)));yo.render=function(e,n,i,c,s,r){const d=a("qt-poster-focus-title"),f=a("text-view"),p=a("ripple-view"),g=a("qt-poster-corner-title"),I=a("item-frame");return t(),l(I,{type:e.type,layout:"${layout}",flexStyle:"${style}",focusable:e.isFocusable,eventClick:"",eventFocus:"",name:"poster",class:"qt-ui-poster-root-css",itemShowShimmer:"${shimmer.enable}",hideShadow:"${shadow.enable}",shimmerSize:"${size}"},{default:m((()=>[u("封面"),h("img",{class:"qt-ui-poster-img-css",duplicateParentState:!0,postDelay:"300",focusable:!1,enableFocusBorder:e.enableFocusBorder,flexStyle:"${image.style}",src:"${image.src}"},null,8,Uo),u(" 焦点选中时的标题 "),v(d,{focusable:!1,showOnState:"focused"}),h("div",{style:{"flex-direction":"column","background-color":"transparent","z-index":"999"},duplicateParentState:!0,focusable:!1,flexStyle:"${titleStyle}",showOnState:e.mainTextShowOnState},[u(" 浮动标题 "),h("div",Eo,[v(f,{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(" 主标题"),v(f,{duplicateParentState:!0,focusable:!1,textSize:30,ellipsizeMode:2,lines:1,delayLoad:"400",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,Po),h("div",Lo,[v(p,{class:"qt-ui-ripple-view-css",delayLoad:"800",focusable:!1,duplicateParentState:!0,color:"#FF4E46",isShowRipple:"${ripple.enable}",rippleVisible:"invisible"}),xo]),v(g,{focusable:!1,delayLoad:"600",flexStyle:"${corner.style}",style:{"z-index":"1000",position:"absolute"}}),o(e.$slots,"default")])),_:3},8,["type","focusable"])},yo.__scopeId="data-v-3c4765e9",yo.__file="src/poster/index.vue";var Ro=i({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:()=>[]}},setup(t,n){const o=e();let a=e("#f5f5f5"),l=b({normal:"#80ffffff",focused:"#000000",selected:"#F5F5F5"}),i=-1,c=-1;S((()=>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(i),i=setTimeout((()=>{n.emit("tab-select",{position:e})}),300)};return{navList:o,focusColor:a,textColor:l,bgPadding:[10,10],onTabChange:e=>{!0===e.hasFocus&&(n.emit("tab-focus",e),u(e.position))},scrollToPosition:e=>{o.value?.scrollToPosition(e)},scrollToTop:()=>{o.value?.scrollToTop()},init:e=>{s(e.data)}}}});const Ao=["stateTextColor","sateBackgroundPadding"],Co=["stateTextColor","sateBackgroundPadding"];var ko,wo;Ro.render=function(e,n,i,s,u,r){const d=a("text-view"),f=a("qt-list-view");return e.horizontal?(t(),l(f,{key:0,ref:"navList",clipChildren:!1,clipPadding:!1,horizontal:"",class:"qt-ui-nav-bar-root-horizontal",onItemFocused:e.onTabChange},{default:m((()=>[h("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},[v(d,{autoWidth:"",gravity:"center",lines:1,fontSize:44,class:"qt-ui-nav-bar-item-text-css",duplicateParentState:!0,text:"${text}"})],12,Ao),o(e.$slots,"default")])),_:3},8,["onItemFocused"])):(t(),l(f,{key:1,ref:"navList",clipChildren:!1,clipPadding:!1,class:"qt-ui-nav-bar-root-vertical",onItemFocused:e.onTabChange},{default:m((()=>[h("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},[v(d,{autoWidth:"",gravity:"center",lines:1,fontSize:44,class:"qt-ui-nav-bar-item-text-css",duplicateParentState:!0,text:"${text}"})],12,Co),o(e.$slots,"default")])),_:3},8,["onItemFocused"]))},Ro.__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"}(ko||(ko={})),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"}(wo||(wo={}));var Do=fn({name:"card-item",setup(e,t){const n=L();return{onFocus:function(e){n.isLoggable(x.DEBUG)&&n.d("card-item","------onFocus---------\x3e>>>",e),t.emit("focus",e)}}}});Do.render=function(e,n,o,i,c,s){const u=a("es-card-container");return t(),l(u,{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"])},Do.__scopeId="data-v-599898aa",Do.__file="src/waterfall/item/card-item.vue";var No=fn({name:"standard-section",components:{"card-item":Do},props:{enablePlaceholder:{type:Boolean,default:!0},plateData:{type:String,default:""},useDiff:{type:Boolean,default:!0},cachePool:{type:Object,default:{}},sectionType:{type:Number,default:ko.QT_WATERFALL_SECTION_TYPE_FLEX},standItemType:{type:Number,default:wo.QT_WATERFALL_ITEM_TYPE_POSTER},currentPageIndex:{type:Number,default:-1}},setup(e,t){const n=L();return{onFocus:function(e){n.isLoggable(x.DEBUG)&&n.d("card-item","------onFocus---------\x3e>>>",e),t.emit("focus",e)}}}});const Oo=["type"];No.render=function(e,l,i,c,s,r){const d=a("text-view"),f=a("qt-poster"),p=a("card-item"),g=a("tv-flex");return t(),n("div",{class:"standard-section-css",blockFocusDirections:["left","right"],clipChildren:!1,clipPadding:!1,type:e.sectionType,focusable:!1,keyName:"_id",flexStyle:"${style}",gradientBackground:"${style.gradientBackground}",bringFocusChildToFront:!0,useAdvancedFocusSearch:!0},[v(d,{class:"standard-section-title-text-css",delayLoad:"200",postDelay:"300",flexStyle:"${titleStyle}",focusable:!1,textSize:50,text:"${title}"}),v(g,{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",enablePlaceholder:e.enablePlaceholder,focusScrollTarget:"${focusScrollTarget==true}",list:"${itemList}"},{default:m((()=>[u(" poster "),v(f,{"load-delay":500,type:e.standItemType},null,8,["type"]),u(" card "),v(p,{onFocus:e.onFocus},null,8,["onFocus"]),o(e.$slots,"default")])),_:3},8,["cachePool","useDiff","enablePlaceholder"])],8,Oo)},No.__scopeId="data-v-227e921e",No.__file="src/waterfall/section/flex-section.vue";const Bo="list-section";var Mo=fn({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:ko.QT_WATERFALL_SECTION_TYPE_LIST},fetchPendingData:{type:Function,default:null},arrangeType:{type:String,default:"TB"}},setup(e,t){const n=L();return{blockDirections:["left","right"],onItemBind:function(e){n.isLoggable(x.DEBUG)&&n.d(Bo,"----------onItemBind--------------\x3e>>",e)},onItemClick:function(e){n.isLoggable(x.DEBUG)&&n.d(Bo,"----------onItemClick--------------\x3e>>",e)},onItemRecycled:function(e){n.isLoggable(x.DEBUG)&&n.d(Bo,"----------onItemRecycled--------------\x3e>>",e)},onItemFocused:function(e){n.isLoggable(x.DEBUG)&&n.d(Bo,"----------onItemFocused--------------\x3e>>",e)}}}});const $o={class:"qt-ui-section-tab-list-root",focusable:!1,flexStyle:"${style}",gradientBackground:"${style.gradientBackground}",blockFocusDirections:["right"],clipChildren:!1,useAdvancedFocusSearch:!0,bringFocusChildToFront:!0},zo=["type"];Mo.render=function(e,n,i,c,s,u){const r=a("text-view"),d=a("qt-poster"),f=a("tv-list"),p=a("tv-item");return t(),l(p,{type:e.sectionType,clipPadding:!1,clipChildren:!1,ref:"listSection",class:"tab-list-section-root-css",onItemClick:e.onItemClick,onItemBind:e.onItemBind,onItemUnbind:e.onItemRecycled,onItemFocused:e.onItemFocused},{default:m((()=>[h("div",$o,[v(r,{class:"tab-list-section-title-text-css",delayLoad:"200",postDelay:"300",flexStyle:"${titleStyle}",focusable:!1,textSize:50,text:"${title}"}),v(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}",onScrollEnable:!1,setSelectChildPosition:0,enablePlaceholder:e.enablePlaceholder,cachePoolName:"HorizontalList",blockFocusDirections:e.blockDirections},{default:m((()=>[v(d,{type:e.standItemType},null,8,["type"]),h("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:""},[v(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,zo),o(e.$slots,"default")])),_:3},8,["enablePlaceholder","blockFocusDirections"])])])),_:3},8,["type","onItemClick","onItemBind","onItemUnbind","onItemFocused"])},Mo.__scopeId="data-v-6aa2cfd4",Mo.__file="src/waterfall/section/list-section.vue";var Vo=fn({name:"loading-section"});const Wo={focusable:!1,type:-1,class:"loading-section-css",gradientBackground:"${style.gradientBackground}"};Vo.render=function(e,o,l,i,c,s){const u=a("qt-loading-view");return t(),n("div",Wo,[v(u,{class:"loading-section-loading-css"})])},Vo.__scopeId="data-v-48609f24",Vo.__file="src/waterfall/section/loading-section.vue";var qo=fn({name:"end-section",setup:()=>({})});const Go={type:-1001,focusable:!1,flexStyle:"${style}",gradientBackground:"${style.gradientBackground}",class:"qt-waterfall-end-section-css"};qo.render=function(e,o,l,i,c,s){const u=a("text-view");return t(),n("div",Go,[v(u,{focusable:!1,gravity:"center",flexStyle:"${titleStyle}",class:"qt-waterfall-end-section-text-css",fontSize:28,text:"${title}"})])},qo.__scopeId="data-v-70b82c43",qo.__file="src/waterfall/section/end-section.vue";var Qo=fn({props:{plateTitleLeftMargin:{type:Number,default:0},type:{type:Number,default:ko.QT_WATERFALL_SECTION_TYPE_TITLE}},setup:(e,t)=>({})});const jo=["type"];Qo.render=function(e,o,l,i,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,focusable:!1,bringFocusChildToFront:!0,useAdvancedFocusSearch:!0},[v(r,{class:"section-title-text-css",delayLoad:"200",postDelay:"300",style:c({marginLeft:e.plateTitleLeftMargin+"px"}),focusable:!1,textSize:50,text:"${title}"},null,8,["style"])],8,jo)},Qo.__scopeId="data-v-20428d40",Qo.__file="src/waterfall/section/section-title.vue";var Yo=fn({name:"blank-section",setup:()=>({})});const Ho={focusable:!1,type:-1e3,flexStyle:"${style}",gradientBackground:"${style.gradientBackground}",class:"qt-ui-waterfall-blank-section"};Yo.render=function(e,o,a,l,i,c){return t(),n("div",Ho)},Yo.__scopeId="data-v-eeab4d88",Yo.__file="src/waterfall/section/blank-section.vue";var Xo=fn({name:"card-section",setup(e,t){const n=L();return{onFocus:function(e){n.isLoggable(x.DEBUG)&&n.d("card-section","------onFocus---------\x3e>>>",e),t.emit("focus",e)}}}});const Jo={type:1006,class:"qt-ui-waterfall-card-section-css",clipChildren:!1,clipPadding:!1,focusScrollTarget:"${isFocusScrollTarget}",keyName:"_id",flexStyle:"${style}",gradientBackground:"${style.gradientBackground}",bringFocusChildToFront:!0,useAdvancedFocusSearch:!0};Xo.render=function(e,o,l,i,c,s){const u=a("text-view"),r=a("es-card-container");return t(),n("div",Jo,[v(u,{class:"qt-ui-waterfall-card-section-title-css",delayLoad:"200",postDelay:"300",flexStyle:"${titleStyle}",focusable:!1,textSize:50,text:"${title}"}),v(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"])])},Xo.__scopeId="data-v-43a44788",Xo.__file="src/waterfall/section/card-section.vue";var Zo=fn({name:"vue-section",setup:(e,t)=>({onSectionBind:function(){}})});function Ko(e,t){const n=[];if(t&&t.length>0)for(let o=0;o<t.length;o++){let a=ea(e,t[o]);n.push(a)}return n}function ea(e,t){let n=0;return t.itemList.length>0&&t.type==ko.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 l=o?.marginTop??0,i=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,p=0;for(let e=0;e<t.length;e++){const o=t[e];let a=o?.style.width??0,l=o?.style.height??0;const i=o.style.x,c=o.style.y;if(null!=i&&null!=c)o.layout=[i,c,a,l];else{const e=o.decoration,t=e?.left??0,i=e?.top??0,c=e?.right??0,s=e?.bottom??0;d+a+c>=r&&(f+=p+n,p=0,d=0),o.layout||(o.layout=[0,0,a,l]),o.layout[0]=d+t,o.layout[1]=f+i,o.layout[1]+l+s>u&&(u=o.layout[1]+l+s),l+i+s>p&&(p=l+i+s),d+=a+n+t+c}}return u+a+l+i+c+s}(t),t.style.height=n),t}function ta(){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 l=n+o;n+o>a&&(l=a),console.log("----3--------getRangeSectionListItemCount-----------------\x3e>>>");let i=0;for(let o=n;o<l;o++){i+=t(e[o])}return i}function o(){console.log("--------dumpWaterfallData---------\x3e>>>",e)}return{init:function(){},getSectionList:function(){return e},addSectionList:function(a){const l=e.length,i=n(0,l),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:l,sectionCount:a.length,itemIndex:i,itemCount:c}},deleteSection:function(t,a){const l=n(0,t-1),i=n(t,a);return e.splice(t,a),o(),{sectionIndex:t,sectionCount:a,itemIndex:l,itemCount:i}},updateSection:function(a,l){const i=n(0,a-1),c=t(l);return e.splice(a,1,l),o(),{sectionIndex:a,sectionCount:1,itemIndex:i,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 l=e[t],i=l.itemList.length;return l.itemList.push(...n),o(),{sectionIndex:t,sectionCount:1,itemIndex:i,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,l){return e[t].itemList.splice(n,a,...l),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=[]}}}Zo.render=function(e,n,i,c,s,u){const r=a("tv-item");return t(),l(r,{class:"qt-ui-waterfall-vue-section",type:1007,blockFocusDirections:["left","right"],clipChildren:!1,clipPadding:!1,flexStyle:"${style}",singleton:"",onItemBind:e.onSectionBind},{default:m((()=>[o(e.$slots,"default")])),_:3},8,["onItemBind"])},Zo.__scopeId="data-v-f8447724",Zo.__file="src/waterfall/section/vue-section.vue";const na="qt-waterfall";var oa,aa=fn({name:"qt-waterfall",emits:["onScroll","onScrollStateChanged","onItemClick","onItemFocused","onSectionBind","onSectionAttached"],props:{enablePlaceholder:{type:Boolean,default:!0},prevLoadNumber:{type:Number,default:3},backTop:{type:Function,default:()=>{}},isLoadMore:{type:Boolean,default:!0},headBlank:{type:Number,default:90},blockFocusDirections:{type:Array,default:()=>["down"]}},setup(t,n){const o=L(),a={name:"tvList"+Date.now(),size:{20008:10}},l=e();let i;const c=ta();return{waterfallRef:l,init:function(e){i=e},setAutoFocus:function(e,t){l.value?.setAutoFocus(e,t)},getSectionList:function(){return c.getSectionList()},setSectionList:function(e){if(!i)return;o.isLoggable(x.DEBUG)&&o.d(na,"-------1---setSectionList--------------\x3e>>"),c.destroy();const t=c.addSectionList(e);o.isLoggable(x.DEBUG)&&o.d(na,"-------2---setSectionList--------------\x3e>>",t);const n=Ko(i,e);o.isLoggable(x.DEBUG)&&o.d(na,"----------setSectionList-----最终数据---------\x3e>>",n),l.value?.setListData(n)},addSectionList:function(e){if(!i)return;c.addSectionList(e);const t=Ko(i,e);o.isLoggable(x.DEBUG)&&o.d(na,"----------addSectionList-----最终数据---------\x3e>>",t),l.value?.addListData(t)},deleteSection:function(e,t){const n=c.deleteSection(e,t);o.isLoggable(x.DEBUG)&&o.d(na,"----------deleteSection-----最终数据---------\x3e>>",n),l.value?.deleteItem(e,t)},updateSection:function(e,t){c.updateSection(e,t);const n=ea(0,t);o.isLoggable(x.DEBUG)&&o.d(na,"----------updateSection-----最终数据---------\x3e>>sectionIndex:"+e+"updateSection:"+n),l.value?.updateItem(e,n)},updateSectionList:function(e,t,n){const o=[];for(let t=0;t<n.length;t++){const a=n[t];c.updateSection(e+t,a);const l=ea(0,a);l&&o.push(l)}l.value?.updateItemList(e,t,o)},getSection:function(e){return c.getSection(e)},addItemList:function(e,t){c.addItemList(e,t);const n=c.getSection(e);if(n){const t=ea(0,n);l.value?.updateItem(e,t)}},deleteItem:function(e,t,n){c.deleteItem(e,t,n);const o=c.getSection(e);if(o){const t=ea(0,o);l.value?.updateItem(e,t)}},updateItem:function(e,t,n){c.updateItem(e,t,n);const o=c.getSection(e);if(o){const t=ea(0,o);l.value?.updateItem(e,t)}},updateItemList:function(e,t,n,o){c.updateItemList(e,t,n,o);const a=c.getSection(e);if(a){const t=ea(0,a);l.value?.updateItem(e,t)}},getItem:function(e,t){return c.getItem(e,t)},cachePool:a,flexCachePool:{name:"tvFlex",size:{1:50}},onScroll:function(e){e.stopPropagation();let t=e.offsetX,o=e.offsetY;n.emit("onScroll",t,o)},onItemClick:function(e){o.isLoggable(x.DEBUG)&&o.d(na,"----------onItemClick--------------\x3e>>",e,"sectionIndex:"+e.parentPosition+" position:"+e.position+" "),n.emit("onItemClick",e.parentPosition,e.position,e.item)},onItemFocused:function(e){o.isLoggable(x.DEBUG)&&o.d(na,"----------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(x.DEBUG)&&o.d(na,"----------onSectionBind--------------\x3e>>",e);let t=e.pageIndex??0;n.emit("onSectionBind",t,e.position)}},onSectionAttached:function(e){if(e){o.isLoggable(x.DEBUG)&&o.d(na,"----------onSectionAttached--------------\x3e>>",e);let t=e.pageIndex??0;n.emit("onSectionAttached",t,e.position)}},onScrollStateChanged:function(e){let t=e.offsetY,o=e.offsetX,a=e.newState;n.emit("onScrollStateChanged",o,t,a)},resumePostTask:function(){l.value?.pausePostTask()},pausePostTask:function(){l.value?.pausePostTask()},clearPostTask:function(){l.value?.clearPostTask()},destroy:function(){l.value?.destroy()},scrollToTop:function(){l.value?.scrollToTop()}}},components:{"flex-section":No,"list-section":Mo,"section-title":Qo,"loading-section":Vo,"end-section":qo,"blank-section":Yo,"card-section":Xo,"vue-section":Zo}});function la(){const e=new Map,t=new Map;function n(n){const o={index:n,state:oa.QT_TAB_PAGE_STATE_IDLE};e.set(n,o),t.set(n,[])}function o(e){return e.itemList.length}function a(e,t,n){const a=e.length;if(t<0||t>=a)return 0;let l=t+n;t+n>a&&(l=a),console.log("----3--------getRangeSectionListItemCount-----------------\x3e>>>");let i=0;for(let n=t;n<l;n++){i+=o(e[n])}return i}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)},getTabPageData:function(t){return e.get(t)},setPageData:function(t,n){e.set(t,n)},getSectionList:function(e){return t.get(e)??[]},addSectionList:function(n,i){const c=t.get(n)??[],s=c.length,u=a(c,0,s),r=function(e){if(e.length<=0)return 0;let t=0;for(let n=0;n<e.length;n++){t+=o(e[n])}return t}(i);c.push(...i);const d=e.get(n);return d&&(d.state=oa.QT_TAB_PAGE_STATE_IDLE),l(),{pageIndex:n,sectionIndex:s,sectionCount:i.length,itemIndex:u,itemCount:r}},deleteSection:function(e,n,o){const i=t.get(e)??[],c=a(i,0,n-1),s=a(i,n,o);return i.splice(n,o),l(),{pageIndex:e,sectionIndex:n,sectionCount:o,itemIndex:c,itemCount:s}},updateSection:function(e,n,i){const c=t.get(e)??[],s=a(c,0,n-1),u=o(i);return c.splice(n,1,i),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:function(e,n){const o=t.get(e)??[];if(!(n<0||n>=o.length||0==o.length))return o[n]},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()}}}aa.render=function(e,n,i,c,s,r){const d=a("flex-section"),f=a("list-section"),p=a("loading-section"),g=a("end-section"),I=a("blank-section"),h=a("card-section"),T=a("vue-section"),F=a("tv-list");return t(),l(F,{ref:"waterfallRef",class:"qt-waterfall-root-css",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,focusMemory:!1,cachePool:e.cachePool,preload:1,checkScrollOffsetOnStateChanged:!0,makeChildVisibleType:"center",scrollThresholdVertical:50,scrollEventThrottle:16,enableSelectOnFocus:!1,advancedFocusSearchSpan:"1",scrollYLesserReferenceValue:30,scrollYGreaterReferenceValue:30,shakePreCheckNumber:"4",blockFocusDirections:e.blockFocusDirections,onScrollStateChanged:e.onScrollStateChanged},{default:m((()=>[u(" 普通版块"),v(d,{"cache-pool":e.flexCachePool,enablePlaceholder:e.enablePlaceholder,onFocus:e.onItemFocused},{default:m((()=>[o(e.$slots,"item")])),_:3},8,["cache-pool","enablePlaceholder","onFocus"]),u("一行滚动 多级tab"),v(f,{enablePlaceholder:e.enablePlaceholder},{default:m((()=>[o(e.$slots,"list-item")])),_:3},8,["enablePlaceholder"]),u(" loading"),v(p),u(" end "),v(g),u(" blank "),v(I),u(" card "),v(h,{onFocus:e.onItemFocused},null,8,["onFocus"]),u(" vue "),v(T,null,{default:m((()=>[o(e.$slots,"vue-section")])),_:3}),o(e.$slots,"section")])),_:3},8,["onScroll","onItemClick","onItemFocused","onItemBind","onItemAttached","cachePool","blockFocusDirections","onScrollStateChanged"])},aa.__file="src/waterfall/index.vue",function(e){e[e.QT_TAB_PAGE_STATE_IDLE=0]="QT_TAB_PAGE_STATE_IDLE",e[e.QT_TAB_PAGE_STATE_BUSY=1]="QT_TAB_PAGE_STATE_BUSY",e[e.QT_TAB_PAGE_STATE_COMPLETE=2]="QT_TAB_PAGE_STATE_COMPLETE",e[e.QT_TAB_PAGE_STATE_ERROR=3]="QT_TAB_PAGE_STATE_ERROR"}(oa||(oa={}));const ia="qt-tabs";var ca=fn({name:"qt-tabs",emits:["onTabPageLoadData","onTabPageChanged","onTabEvent","onTabPageItemClick","onTabPageItemFocused","onTabPageSectionAttached","onTabPageScroll","onTabPageScrollStateChanged","onTabMoveToTopStart","onTabMoveToTopEnd","onTabMoveToBottomStart","onTabMoveToBottomEnd","onTabChanged","onTabPageScrollToEnd","onTabPageScrollToStart"],props:{preloadNumber:{type:Number,default:3},tabNavBarClass:{type:String,default:""},tabClass:{type:String,default:""},tabsDataStrategy:{type:String,default:"overTime"},tabContentClass:{type:String,default:""},horizontal:{type:Boolean,default:!0},pageTransform:{type:Boolean,default:!0},hideOnSingleTab:{type:Boolean,default:!0},floatNavBar:{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:500},tabContentSwitchDelay:{type:Number,default:300}},setup(t,n){const o=e(),a=e(!0),l=e(1),i=e(!0),c=L(),s=e(),u=la();let r,d=-1;function f(e,t){const n=u.getTabPageData(e);n&&(n.state=t,u.setPageData(e,n))}function p(e,o,a){let l=u.getTabPageData(e);if(l&&l.state===oa.QT_TAB_PAGE_STATE_IDLE){a>=u.getSectionList(e).length-t.preloadNumber-1&&(c.isLoggable(x.DEBUG)&&c.d(ia,"----------loadPageData----加载数加载据--\x3e>>> pageIndex:"+e+" sectionIndex:"+a),n.emit("onTabPageLoadData",e,o),f(e,oa.QT_TAB_PAGE_STATE_BUSY))}else c.isLoggable(x.DEBUG)&&c.d(ia,"----------loadPageData--状态不对--\x3e>>>",e)}function g(e,t){c.isLoggable(x.DEBUG)&&c.d(ia,"----------onWaterfallScroll----\x3e>>> offsetX:"+e+" scrollY:"+t),n.emit("onTabPageScroll",e,t)}function m(e,t,o){c.isLoggable(x.DEBUG)&&c.d(ia,"----------onWaterfallScrollStateChanged----\x3e>>> offsetX:"+e+" scrollY:"+t+" newState:"+o),n.emit("onTabPageScrollStateChanged",e,t,o)}return{tabs:o,ifTabs:a,navBarRef:s,initTab:function(e){let t={defaultIndex:e.defaultIndex,focusIndex:e.defaultFocusIndex,data:e.itemList};u.initTab(e),o.value?.setTabsData(t)},setAutoFocus:function(e,t){o.value?.setAutoFocus(e,t)},initPage:function(e){r=e},setPageSate:f,setPageData:function(e,t){c.isLoggable(x.DEBUG)&&c.d(ia,"----------loadPageData----setPageData--\x3e>>>pageIndex:"+e),u.addSectionList(e,t.data);const n={data:Ko(r,t.data),disableScrollOnFirstScreen:t.disableScrollOnFirstScreen??!1,firstFocusTargetID:t.firstFocusTargetID??"",useDiff:t.useDiff};c.isLoggable(x.DEBUG)&&c.d(ia,"------设置数据----setPageData------\x3e>>> pageIndex:"+e+" data:",n),o.value?.setPageData(e,n)},addPageData:function(e,t,n=0){c.isLoggable(x.DEBUG)&&c.d(ia,"----------loadPageData----addPageData--\x3e>>>pageIndex:"+e),u.addSectionList(e,t.data);const a={data:Ko(r,t.data),disableScrollOnFirstScreen:t.disableScrollOnFirstScreen??!1,firstFocusTargetID:t.firstFocusTargetID??"",useDiff:t.useDiff};c.isLoggable(x.DEBUG)&&c.d(ia,"----设置数据------addPageData------\x3e>>> pageIndex:"+e+" data:",a," deleteCount:"+n),o.value?.addPageData(e,a,n)},updatePageData:function(e,t){u.updateSectionList(e,t.data);const n={data:Ko(r,t.data),disableScrollOnFirstScreen:t.disableScrollOnFirstScreen??!1,firstFocusTargetID:t.firstFocusTargetID??"",useDiff:t.useDiff};o.value?.updatePageData(e,n)},updatePageSection:function(e,t,n){u.updateSection(e,t,n);const a=ea(0,n);o.value?.updateRootNode(e,t,a)},getPageSection:function(e,t){return u.getSection(e,t)},getPageSectionList:function(e){return u.getSectionList(e)},deletePageSection:function(e,t,n){u.deleteSection(e,t,n),o.value?.invokeContentFunction(e,"deleteItemRange",[t,n])},addPageItemList:function(e,t,n){u.addItemList(e,t,n);const a=u.getSection(e,t);if(a){const n=ea(0,a);o.value?.updateRootNode(e,t,n)}},getPageItem:function(e,t,n){return u.getItem(e,t,n)},updatePageItem:function(e,t,n,a){u.updateItem(e,t,n,a),o.value?.updateChildNode(e,t,n,a)},deletePageItem:function(e,t,n,a){u.deleteItem(e,t,n,a);const l=u.getSection(e,t);if(l){const n=ea(0,l);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,l){o.value?.getChildNodeViewState(e,t,n,a,l)},dispatchUIFunctionOnChildNode:function(e,t,n,a,l){o.value?.dispatchUIFunctionOnChildNode(e,t,n,a,l)},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()},rootOpacity:l,isTabHorizontal:i,onTabPageLoadData:function(e){const t=e.pageIndex,n=e.useDiff;c.isLoggable(x.DEBUG)&&c.d(ia,"----------loadPageData----android--\x3e>>>pageIndex:"+t),p(t,n,0)},onTabPageChanged:function(e){const t=e.pageIndex;d=t;const o=e.data;c.isLoggable(x.DEBUG)&&c.d(ia,"----------onTabPageChanged------\x3e>>> pageIndex:"+t+" data:",o),n.emit("onTabPageChanged",t,o)},onTabEvent:function(e){const t=e.params,o=e.eventName,a=e.params.itemPosition,l=e.params.x,i=e.params.y,s=e.params.contentOffset,u=e.params.state;switch(c.isLoggable(x.DEBUG)&&c.d(ia,"----------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":g(l,i);break;case"onScrollStateChanged":m(s.x,s.y,u.newState)}},onWaterfallItemClick:function(e,t,o){c.isLoggable(x.DEBUG)&&c.d(ia,"-----------onWaterfallItemClick---------------\x3e>>> sectionIndex:"+e+" itemIndex:"+t+" item:",o),n.emit("onTabPageItemClick",d,e,t,o)},onWaterfallItemFocused:function(e,t,o,a){c.isLoggable(x.DEBUG)&&c.d(ia,"-----------onWaterfallItemFocused---------------\x3e>>> sectionIndex:"+e+" itemIndex:"+t+" isFocused:"+o+" item:",a),n.emit("onTabPageItemFocused",d,e,t,o,a)},onWaterfallSectionBind:function(e,t){c.isLoggable(x.DEBUG)&&c.d(ia,"-----------onWaterfallSectionBind---------------\x3e>>> pageIndex:"+e+" sectionIndex:"+t),e===d&&(c.isLoggable(x.DEBUG)&&c.d(ia,"----------loadPageData----bind--\x3e>>>pageIndex:"+e),p(e,!1,t))},onWaterfallSectionAttached:function(e,t){c.isLoggable(x.DEBUG)&&c.d(ia,"-----------onWaterfallSectionAttached---------------\x3e>>> pageIndex:"+e+" sectionIndex:"+t),n.emit("onTabPageSectionAttached",e,t)},onWaterfallScroll:g,onWaterfallScrollStateChanged:m,onTabPageScrollToStart:function(e){const t=e.pageIndex;n.emit("onTabPageScrollToStart",t),c.isLoggable(x.DEBUG)&&c.d(ia,"----------onTabPageScrollToStart------\x3e>>> pageIndex:"+t)},onTabPageScrollToEnd:function(e){const t=e.pageIndex;n.emit("onTabPageScrollToEnd",t),c.isLoggable(x.DEBUG)&&c.d(ia,"----------onTabPageScrollToEnd------\x3e>>> pageIndex:"+t)}}}});ca.render=function(e,n,i,c,r,d){const f=a("qt-nav-bar"),p=a("qt-waterfall"),g=a("recycler-view-pager"),I=a("tabs");return e.ifTabs?(t(),l(I,{key:0,ref:"tabs",class:s(["tabs-root-css",e.tabClass]),dataStrategy:e.tabsDataStrategy,hideOnSingleTab:this.hideOnSingleTab,pageSwitchDelay:e.tabContentSwitchDelay,resumeTaskDelay:e.tabContentResumeDelay,suspension:this.floatNavBar,clipChildren:!1,outOfDateTime:3e5,blockFocusDirections:e.tabContentBlockFocusDirections,onScrollToStart:e.onTabPageScrollToStart,onScrollToEnd:e.onTabPageScrollToEnd,onLoadPage:e.onTabPageLoadData,onPageChanged:e.onTabPageChanged,onTabEvent:e.onTabEvent},{default:m((()=>[v(f,{ref:"navBarRef",name:"tabList",focusable:!1,class:s(e.tabNavBarClass),"text-key":"text",clipChldren:!1,horizontal:e.isTabHorizontal},{default:m((()=>[o(e.$slots,"tab-item")])),_:3},8,["class","horizontal"]),v(g,{nextFocusName:e.contentNextFocus,ref:"viewPager",class:s(e.tabContentClass),name:"content",loadingItemType:-1,clipChldren:!1,opacity:e.rootOpacity,focusable:!1,enableTransform:e.pageTransform,triggerTask:e.triggerTask,direction:e.isTabHorizontal?"horizontal":"vertical",blockFocusDirections:e.isTabHorizontal?e.blockViewPager:e.blockViewPagerVertical},{default:m((()=>[v(p,{onOnScrollStateChanged:e.onWaterfallScrollStateChanged,onOnScroll:e.onWaterfallScroll,onOnSectionBind:e.onWaterfallSectionBind,onOnSectionAttached:e.onWaterfallSectionAttached,onOnItemFocused:e.onWaterfallItemFocused,onOnItemClick:e.onWaterfallItemClick},{item:m((()=>[o(e.$slots,"waterfall-item")])),"list-item":m((()=>[o(e.$slots,"waterfall-list-item")])),section:m((()=>[o(e.$slots,"waterfall-section")])),"vue-section":m((()=>[o(e.$slots,"waterfall-vue-section")])),_:3},8,["onOnScrollStateChanged","onOnScroll","onOnSectionBind","onOnSectionAttached","onOnItemFocused","onOnItemClick"])])),_:3},8,["nextFocusName","class","opacity","enableTransform","triggerTask","direction","blockFocusDirections"])])),_:3},8,["dataStrategy","hideOnSingleTab","pageSwitchDelay","resumeTaskDelay","suspension","class","blockFocusDirections","onScrollToStart","onScrollToEnd","onLoadPage","onPageChanged","onTabEvent"])):u("v-if",!0)},ca.__file="src/tab/index.vue";var sa=fn({name:"qt-vue-section",setup:(e,t)=>({onSectionBind:function(){}})});sa.render=function(e,n,i,c,s,u){const r=a("tv-item");return t(),l(r,{class:"qt-ui-waterfall-vue-section",clipChildren:!1,clipPadding:!1,flexStyle:"${style}",singleton:"",onItemBind:e.onSectionBind},{default:m((()=>[o(e.$slots,"default")])),_:3},8,["onItemBind"])},sa.__scopeId="data-v-d02af3c2",sa.__file="src/section/index.vue";var ua=fn({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){let o=e(1);const a=e(),l=e();let i=[],c=-1,s=-1,u=[];let r=-1;let d=-1,f=-1;return{descendantFocusability:o,content_list_view:a,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<i.length;e++){const t=i[e];n.categoryname==t.categoryname&&(n.navIndex=e,a=!0)}a||(n.navIndex||(n.navIndex=i.length),i.push({type:n.type,decoration:{left:50},categoryname:n.categoryname,startIndex:o,isNeedFocus:!0})),u=e})),Gt((()=>{a.value?.setListData(e),l.value?.setListData(i),setTimeout((()=>{c=t.currentFocusIndex,s=e[t.currentFocusIndex].navIndex,a.value?.scrollToFocused(c),l.value?.scrollToSelected(s,!0)}),300)}))},onItemBind:()=>{},onSItemClick:e=>{n.emit("item-click",e)},onFItemClick:e=>{n.emit("item-click",e)},scrollToIndex:(e,t=!0,n=802)=>{a.value?.scrollToIndex(e,t,n)},scrollToFocused:e=>{o.value=1,setTimeout((()=>{a.value?.scrollToFocused(e)}),300)},setItemFocused:e=>{setTimeout((()=>{o.value=1}),300),a.value?.setItemFocused(e)},scrollToSelected:(e,t=!0)=>{a.value?.scrollToSelected(e,t)},setItemSelected:(e,t=!0)=>{a.value?.setItemSelected(e,!0)},onSItemFocused:e=>{clearTimeout(r),r=setTimeout((()=>{if(e.hasFocus){if(c!=e.position){if(c>-1){let e=u[c];e.isPlaying=!1,a.value?.updateItem(c,e)}let t=u[e.position];t.isPlaying=!0,a.value?.updateItem(e.position,t)}c=e.position,s!=e.item.navIndex&&(s=e.item.navIndex,l.value?.scrollToSelected(e.item.navIndex,!0)),n.emit("item-focused",e)}else s=e.item.navIndex}),300)},onFItemFocused:e=>{clearTimeout(d),clearTimeout(f),e.hasFocus&&s!=e.position&&(o.value=2,s=e.position,u[e.item.startIndex].isNeedFocus?(a.value?.scrollToIndex(e.item.startIndex,!0,t.yOffest),f=setTimeout((()=>{a.value?.setItemSelected(e.item.startIndex,!0),d=setTimeout((()=>{o.value=1}),200)}),400)):(a.value?.scrollToIndex(e.item.startIndex+1,!0,t.yOffest),f=setTimeout((()=>{a.value?.setItemSelected(e.item.startIndex+1,!0),d=setTimeout((()=>{o.value=1}),200)}),400)))},updateItem:(e,t)=>{u[e]=t,u.forEach(((e,t)=>{e.mask||(e.mask="http://qcloudcdn.a311.ottcn.com/channelzero_image/web_static/extend_screen/mood/mask.png"),e.icon||(e.icon="http://qcloudcdn.a311.ottcn.com/channelzero_image/web_static/extend_screen/mood/playing.png");for(let t=0;t<i.length;t++){const n=i[t];e.categoryname==n.categoryname&&(e.navIndex=t)}})),a.value?.updateItem(e,u[e])}}}});const ra={focusable:!1,clipChildren:!1},da=["focusScale"],fa=h("img",{class:"coverV",src:"${coverV}",focusable:!1,postDelay:"300"},null,-1),pa=h("img",{src:"${mask}",class:"titMask",focusable:!1,postDelay:"300",showIf:"${isPlaying}"},null,-1),ga={focusable:!1,class:"clv_item_text_box",showIf:"${isPlaying}"},ma={class:"playMark",focusable:!1},Ia=["type"],va=h("div",{class:"line",focusable:!1,showOnState:"selected",duplicateParentState:!0},null,-1),ha=h("div",{duplicateParentState:!0,class:"nav_item_text_focused",showOnState:"focused",focusable:!1,gradientBackground:{colors:["#FF2F7CEB","#FF1163D8"],cornerRadius:40}},null,-1),Ta={class:"nav_item_text",focusable:!1,duplicateParentState:!0};var Fa,ba,Sa,_a,ya,Ua,Pa,Ea;ua.render=function(e,l,i,r,d,f){const p=a("play-mark"),g=a("text-view"),I=a("qt-list-view");return t(),n("div",ra,[u(" listview second nav "),v(I,{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:m((()=>[h("div",{type:10001,name:"clv_item",class:"clv_item",focusable:!0,enableFocusBorder:!0,clipChildren:!1,eventClick:"",eventFocus:"",focusScale:e.focusScale},[fa,pa,h("div",ga,[h("div",ma,[v(p,{style:c([{width:"28px",height:"20px"},{"margin-left":"16px"}]),markColor:"#ffffff",gap:-1,focusable:!1})]),v(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,da),o(e.$slots,"item")])),_:3},8,["class","onItemClick","descendantFocusability","onItemFocused"]),u(" listview first nav "),v(I,{class:s(e.classNavName),ref:"nav_list_view",clipChildren:!1,clipPadding:!1,onItemClick:e.onFItemClick,horizontal:"",blockFocusDirections:["left","right"],onItemFocused:e.onFItemFocused},{default:m((()=>[h("div",{type:e.navType,name:"nav_item",class:"nav_item",focusable:!0,enableFocusBorder:!1,focusScale:"1",eventClick:"",eventFocus:"",clipChildren:!1},[va,ha,h("div",Ta,[v(g,{focusable:!1,ellipsizeMode:2,duplicateParentState:!0,fontSize:44,gravity:"center",lines:1,class:"text_selected",text:"${categoryname}",showOnState:["selected"]}),v(g,{focusable:!1,ellipsizeMode:2,duplicateParentState:!0,fontSize:44,gravity:"center",lines:1,maxLines:1,class:"text",text:"${categoryname}",showOnState:"focused"}),v(g,{focusable:!1,ellipsizeMode:2,duplicateParentState:!0,fontSize:44,gravity:"center",lines:1,class:"text",text:"${categoryname}",showOnState:["normal"]})])],8,Ia),o(e.$slots,"navItem")])),_:3},8,["class","onItemClick","onItemFocused"])])},ua.__file="src/classified-list-view/index.vue",function(e){e.QT_DIRECTION_UP="up",e.QT_DIRECTION_DOWN="down",e.QT_DIRECTION_RIGHT="right",e.QT_DIRECTION_LEFT="left"}(Fa||(Fa={})),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"}(ba||(ba={})),function(e){e[e.QT_NAV_BAR_ITEM_TYPE_TEXT=2e4]="QT_NAV_BAR_ITEM_TYPE_TEXT"}(Sa||(Sa={})),function(e){e[e.QT_TAB_ITEM_TYPE_DEFAULT=2e4]="QT_TAB_ITEM_TYPE_DEFAULT"}(_a||(_a={})),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"}(Ua||(Ua={})),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"}(Pa||(Pa={})),function(e){e.QT_ANIMATION_VALUE_TYPE_INT="ofInt",e.QT_ANIMATION_VALUE_TYPE_FLOAT="ofFloat"}(Ea||(Ea={}));const La=[Jn,Kn,eo,no,ao,io,ho,yo,Ro,aa,ca,ua,sa],xa=t=>{t.component("qt-loading-view",{setup(t,n){const o=e();return()=>_("LoadingViewComponent",{ref:o})}}),function(t){const n=i({props:{loadMore:{type:Function,default:function(){return[1,1]}},openPage:{type:Boolean,default:!1},preloadNo:{type:Number,default:0},defaultFocus:{type:Number,default:-1}},emits:["item-click","scroll","item-focused","item-attached","item-detached","item-bind","item-unbind","load-more","scroll-state-changed","focus-search-failed","scrollYGreaterReference","scrollYLesserReference"],setup(t,n){const o=e();E();let a=[],l=[],i=[],c="",s=-1,u=!1,r=-1,d=-1,f=-1,m=-1;p((()=>{t.openPage&&(s=1,u=!1,t.loadMore(s))}));const I=e=>{0==a.length&&(a=vo(e),v(a,-1),l=e,t.openPage?F(a.concat([{_id:"",type:1002,decoration:{top:18,bottom:18,right:30,left:30}}])):F(a),t.defaultFocus>-1&&(f&&clearTimeout(f),f=setTimeout((()=>{C(t.defaultFocus)}),500)));let n={get(e,o,l){if("__ob__"!=o&&"symbol"!=typeof o&&"map"!=o&&"length"!=o&&"constructor"!=o&&"_isVue"!=o&&"valueOf"!=o&&"toString"!=o&&"observeArray"!=o&&"dep"!=o&&"notify"!=o&&"subs"!=o&&"slice"!=o)if(i.push(o),-1!=i.indexOf("push"))c="push";else{if(-1!=i.indexOf("splice"))return c="splice",function(...t){return e.splice(...t),-1!=i.indexOf("list")?(a[i[0]].list.splice(...t),P(Number(i[0]),a[i[0]])):1==t.length?y(Number(t[0]),a.length-t[0]+1):2==t.length?y(Number(t[0]),t[1]):t.length>2&&(0==t[1]?x(t[0],t.slice(2)):L(t[0],t[1],t.slice(2))),a.splice(t[0],...t.slice(1)),c="",i=[],Reflect.get(e,o,l)};if(-1!=i.indexOf("pop"))return c="pop",function(){return e.pop(),-1!=i.lastIndexOf("list")?(a[i[0]].list.pop(),P(Number(i[0]),a[i[0]])):(y(Number(a.length-1),1),a.pop()),c="",i=[],Reflect.get(e,o,l)};if(-1!=i.indexOf("forEach"))return c="forEach",function(n){return e.forEach((e=>{n(e)})),a=[],a=vo(e),t.openPage?F(a.concat([{_id:"",type:1002,decoration:{top:15,left:30}}])):F(a),c="",i=[],Reflect.get(e,o,l)};if(-1!=i.indexOf("concat"))return c="concat",function(s){return e=e.concat(s),-1!=i.lastIndexOf("list")?(a[i[0]].list=a[i[0]].list.concat(s),P(Number(i[0]),a[i[0]])):(a=a.concat(s),t.openPage&&!u?setTimeout((()=>{S(s.concat([{type:"1002",decoration:{bottom:18,right:30,left:30}}]),1)}),300):b(s)),c="",i=[],Reflect.get(e,o,l),new Proxy(e,n)};c=""}const s=Reflect.get(e,o,l);return h(s)&&"__ob__"!=o&&"dep"!=o&&"subs"!=o?I(s):(-1==i.indexOf("push")&&(i=[]),s)},set(e,n,o,s){const r=e[n];T(e,n);const d=Reflect.set(e,n,o,s);if((!h(r)&&r!==o||h(r))&&"push"!=c)if(i.push(n),-1!=i.lastIndexOf("list")){let e=i.lastIndexOf("list"),t=i.lastIndexOf("list")+2,n={};for(let e=0;e<t;e++){let t=i[e];n=n?n[t]:l[t]}n.name="name"+i[e-1]+i[e+1],P(Number(i[0]),l[i[0]]),a[i[0]].list[i[e+1]]=l[i[0]].list[i[e+1]],a[i[0]].list[i[e+1]].name="name"+i[e-1]+i[e+1]}else a[i[0]]=l[i[0]],a[i[0]].name="name"+i[0],P(Number(i[0]),l[i[0]]);if(n&&"push"==c&&r!==o)-1!=i.lastIndexOf("list")?(i.push(n),a[i[0]].list.push(o)):(i.push(n),a.push(o));else{if("push"==c)if(-1!=i.lastIndexOf("list"))P(Number(i[0]),a[i[0]]);else{let e=a.slice(i[1]);m&&clearTimeout(m),m=t.openPage&&!u?setTimeout((()=>{S(e.concat([{_id:"",type:1002,decoration:{bottom:18,right:30,left:30}}]),1)}),300):setTimeout((()=>{b(e)}),300)}c="",i=[]}return d}};return new Proxy(e,n)},v=(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&&v(o.list,n)}},h=e=>null!==e&&"object"==typeof e,T=(e,t)=>{Object.hasOwnProperty.call(e,t)},F=e=>{r&&clearTimeout(r),r=setTimeout((()=>{U.callUIFunction(o.value,"setListData",e)}),100)},b=e=>{U.callUIFunction(o.value,"addListData",e)},S=(e,t)=>{U.callUIFunction(o.value,"addListDataWithParams",[e,t])},y=(e,t)=>{U.callUIFunction(o.value,"deleteItemRange",[e,t])},P=(e,t)=>{U.callUIFunction(o.value,"updateItem",[e,t])},L=(e,t,n)=>{U.callUIFunction(o.value,"updateItemRange",[e,t,n])},x=(e,t)=>{U.callUIFunction(o.value,"insertItemRange",[e,t])},R=(e,t)=>{U.callUIFunction(o.value,"setSelectChildPosition",[e,t])},A=e=>{U.callUIFunction(o.value,"scrollToPosition",[e])},C=e=>{U.callUIFunction(o.value,"requestChildFocus",[e])};return g((()=>{a=[],l.length=0,i=[],u=!1,s=1,c="",r&&clearTimeout(r),f&&clearTimeout(f),m&&clearTimeout(m),d&&clearTimeout(d)})),n.expose({viewRef:o,init:I,undataItemName:v,hasChanged:(e,t)=>e!==t&&(e==e||t==t),scrollToIndex:(e,t,n)=>{U.callUIFunction(o.value,"scrollToPositionWithOffset",[e,n,t])},updateItem:P,updateItemList:L,hasFocus:e=>{U.callUIFunction(o.value,"hasFocus",(t=>{e(t)}))},updateItemProps:(e,t,n)=>{U.callUIFunction(o.value,"updateItemProps",[t,e,n,!0])},setListData:F,insertItem:x,addListData:b,addListDataWithParams:S,dispatchItemFunction:(e,t,n,a)=>{U.callUIFunction(o.value,"dispatchItemFunction",[e,t,n,a])},deleteItem:y,setBlockFocusDirectionsOnFail:e=>{U.callUIFunction(o.value,"setBlockFocusDirectionsOnFail",[e])},setListDataWithParams:(e,t)=>{U.callUIFunction(o.value,"setListDataWithParams",[e,t])},prepareForRecycle:()=>{U.callUIFunction(o.value,"prepareForRecycle",[])},setDisplay:e=>{U.callUIFunction(o.value,"setDisplay",[e])},scrollToTop:()=>{U.callUIFunction(o.value,"scrollToTop",[])},changeDisplayState:(e,t)=>{U.callUIFunction(o.value,"changeDisplayState",[e,t])},notifySaveInstance:()=>{U.callUIFunction(o.value,"notifySaveInstance",[])},notifyRestoreInstance:()=>{U.callUIFunction(o.value,"notifyRestoreInstance",[])},pausePostTask:()=>{U.callUIFunction(o.value,"pausePostTask",[])},resumePostTask:()=>{U.callUIFunction(o.value,"resumePostTask",[])},getScrollOffset:e=>{U.callUIFunction(o.value,"getScrollOffset",[],e)},scrollToPosition:A,scrollToFocused:e=>{A(e),C(e)},scrollToSelected:(e,t)=>{A(e),R(e,t)},scrollToPositionOffset:(e,t,n,a,l)=>{U.callUIFunction(o.value,"scrollToPositionWithOffset",[t,a,n])},destroy:()=>{U.callUIFunction(o.value,"destroy",[])},startScroll:(e,t,n)=>{U.callUIFunction(o.value,"startScroll",[{focusPosition:e,scrollToPosition:t,scrollOffset:n}])},setItemFocused:C,clearPostTask:()=>{U.callUIFunction(o.value,"clearAllPostTask",[])},clearFocus:()=>{U.callUIFunction(o.value,"clearFocus",[])},setItemSelected:R,blockRootFocus:()=>{U.callUIFunction(o.value,"blockRootFocus",[])},unBlockRootFocus:()=>{U.callUIFunction(o.value,"unBlockRootFocus",[])},setBackgroundColor:e=>{U.callUIFunction(o.value,"setBackgroundColor",[e])},stopPage:()=>{d&&clearTimeout(d),d=setTimeout((()=>{y(a.length,1)}),400),u=!0},setAutoFocus:function(e,t){U.callUIFunction(o.value,"setAutoFocus",[e,t])}}),()=>{const e=n.slots.default&&n.slots.default();return _("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=>{e.position==a.length-1-t.preloadNo&&(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=i({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)=>{U.callUIFunction(o.value,"updateItem",[e,t])},dispatchItemFunction:(e,t,n,a)=>{U.callUIFunction(o.value,"dispatchItemFunction",[e,t,n,a])},updateItemProps:(e,t,n)=>{U.callUIFunction(o.value,"updateItemProps",[t,e,n,!0])},batch:e=>{U.callUIFunction(o.value,"batch",[e])}}),()=>{const e=n.slots.default&&n.slots.default();return _("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=i({name:"WebView",emits:["onCanGoBack","onCanGoForward","onCanGoBackOrForward","onPageStarted","onPageFinished","onLoadResource","onReceivedSslError","onReceivedError","shouldOverrideUrlLoading","onJs2Vue"],setup(t,n){const o=e();y((()=>{a(!0),i(!0),r(!0),s(!0),u(!0),c(!0),g(!0),f(!0),d(!0),p(!0),l(1),m(2)}));const a=e=>{U.callUIFunction(o.value,"setJavaScriptEnabled",[e],(e=>{}))},l=e=>{U.callUIFunction(o.value,"setPluginState",[e],(e=>{}))},i=e=>{U.callUIFunction(o.value,"setJavaScriptCanOpenWindowsAutomatically",[e],(e=>{}))},c=e=>{U.callUIFunction(o.value,"setUseWideViewPort",[e],(e=>{}))},s=e=>{U.callUIFunction(o.value,"setSupportZoom",[e],(e=>{}))},u=e=>{U.callUIFunction(o.value,"setBuiltInZoomControls",[e],(e=>{}))},r=e=>{U.callUIFunction(o.value,"setAllowFileAccess",[e],(e=>{}))},d=e=>{U.callUIFunction(o.value,"setDomStorageEnabled",[e],(e=>{}))},f=e=>{U.callUIFunction(o.value,"setAppCacheEnabled",[e],(e=>{}))},p=e=>{U.callUIFunction(o.value,"setGeolocationEnabled",[e],(e=>{}))},g=e=>{U.callUIFunction(o.value,"setSupportMultipleWindows",[e],(e=>{}))},m=e=>{U.callUIFunction(o.value,"setCacheMode",[e],(e=>{}))};return n.expose({loadUrl:e=>{U.callUIFunction(o.value,"loadUrl",[e],(e=>{}))},evaluateJavascript:e=>{U.callUIFunction(o.value,"evaluateJavascript",[e],(e=>{}))},canGoBack:()=>{U.callUIFunction(o.value,"canGoBack",[],(e=>{n.emit("onCanGoBack",e)}))},goBack:()=>{U.callUIFunction(o.value,"goBack",[],(e=>{}))},canGoForward:()=>{U.callUIFunction(o.value,"canGoForward",[],(e=>{n.emit("onCanGoForward",e)}))},goForward:()=>{U.callUIFunction(o.value,"goForward",[],(e=>{}))},canGoBackOrForward:e=>{U.callUIFunction(o.value,"canGoBackOrForward",[e],(e=>{n.emit("onCanGoBackOrForward",e)}))},goBackOrForward:e=>{U.callUIFunction(o.value,"goBackOrForward",[e],(e=>{}))},onResume:()=>{U.callUIFunction(o.value,"onResume",[],(e=>{}))},onPause:()=>{U.callUIFunction(o.value,"onPause",[],(e=>{}))},pauseTimers:()=>{U.callUIFunction(o.value,"pauseTimers",[],(e=>{}))},resumeTimers:()=>{U.callUIFunction(o.value,"resumeTimers",[],(e=>{}))},destroy:()=>{U.callUIFunction(o.value,"destroy",[],(e=>{}))},setJavaScriptEnabled:a,setPluginState:l,setJavaScriptCanOpenWindowsAutomatically:i,setUseWideViewPort:c,setLoadWithOverviewMode:e=>{U.callUIFunction(o.value,"setLoadWithOverviewMode",[e],(e=>{}))},setSupportZoom:s,setBuiltInZoomControls:u,setDisplayZoomControls:e=>{U.callUIFunction(o.value,"setDisplayZoomControls",[e],(e=>{}))},setAllowFileAccess:r,setDomStorageEnabled:d,setDatabaseEnabled:e=>{U.callUIFunction(o.value,"setDatabaseEnabled",[e],(e=>{}))},setAppCacheEnabled:f,setAppCachePath:e=>{U.callUIFunction(o.value,"setAppCachePath",[e],(e=>{}))},setMediaPlaybackRequiresUserGesture:e=>{U.callUIFunction(o.value,"setMediaPlaybackRequiresUserGesture",[e],(e=>{}))},setStandardFontFamily:e=>{U.callUIFunction(o.value,"setStandardFontFamily",[e],(e=>{}))},setFixedFontFamily:e=>{U.callUIFunction(o.value,"setFixedFontFamily",[e],(e=>{}))},setSansSerifFontFamily:e=>{U.callUIFunction(o.value,"setSansSerifFontFamily",[e],(e=>{}))},setSerifFontFamily:e=>{U.callUIFunction(o.value,"setSerifFontFamily",[e],(e=>{}))},setCursiveFontFamily:e=>{U.callUIFunction(o.value,"setCursiveFontFamily",[e],(e=>{}))},setFantasyFontFamily:e=>{U.callUIFunction(o.value,"setFantasyFontFamily",[e],(e=>{}))},setTextZoom:e=>{U.callUIFunction(o.value,"setTextZoom",[e],(e=>{}))},setMinimumFontSize:e=>{U.callUIFunction(o.value,"setMinimumFontSize",[e],(e=>{}))},setDefaultFontSize:e=>{U.callUIFunction(o.value,"setDefaultFontSize",[e],(e=>{}))},setLayoutAlgorithm:e=>{U.callUIFunction(o.value,"setLayoutAlgorithm",[e],(e=>{}))},setLoadsImagesAutomatically:e=>{U.callUIFunction(o.value,"setLoadsImagesAutomatically",[e],(e=>{}))},setDefaultTextEncodingName:e=>{U.callUIFunction(o.value,"setDefaultTextEncodingName",[e],(e=>{}))},setNeedInitialFocus:e=>{U.callUIFunction(o.value,"setNeedInitialFocus",[e],(e=>{}))},setGeolocationEnabled:p,setBlockNetworkLoads:e=>{U.callUIFunction(o.value,"setBlockNetworkLoads",[e],(e=>{}))},setSupportMultipleWindows:g,setAppCacheMaxSize:e=>{U.callUIFunction(o.value,"setAppCacheMaxSize",[e],(e=>{}))},setRenderPriority:e=>{U.callUIFunction(o.value,"setRenderPriority",[e],(e=>{}))},setCacheMode:m,setAllowContentAccess:e=>{U.callUIFunction(o.value,"setAllowContentAccess",[e],(e=>{}))},setEnableSmoothTransition:e=>{U.callUIFunction(o.value,"setEnableSmoothTransition",[e],(e=>{}))},setSaveFormData:e=>{U.callUIFunction(o.value,"setSaveFormData",[e],(e=>{}))},setSavePassword:e=>{U.callUIFunction(o.value,"setSavePassword",[e],(e=>{}))},setTextSize:e=>{U.callUIFunction(o.value,"setTextSize",[e],(e=>{}))},setDefaultZoom:e=>{U.callUIFunction(o.value,"setDefaultZoom",[e],(e=>{}))},setLightTouchEnabled:e=>{U.callUIFunction(o.value,"setLightTouchEnabled",[e],(e=>{}))},setMinimumLogicalFontSize:e=>{U.callUIFunction(o.value,"setMinimumLogicalFontSize",[e],(e=>{}))},setDefaultFixedFontSize:e=>{U.callUIFunction(o.value,"setDefaultFixedFontSize",[e],(e=>{}))},setBlockNetworkImage:e=>{U.callUIFunction(o.value,"setBlockNetworkImage",[e],(e=>{}))},setAllowUniversalAccessFromFileURLs:e=>{U.callUIFunction(o.value,"setAllowUniversalAccessFromFileURLs",[e],(e=>{}))},setAllowFileAccessFromFileURLs:e=>{U.callUIFunction(o.value,"setAllowFileAccessFromFileURLs",[e],(e=>{}))},setDatabasePath:e=>{U.callUIFunction(o.value,"setDatabasePath",[e],(e=>{}))},setGeolocationDatabasePath:e=>{U.callUIFunction(o.value,"setGeolocationDatabasePath",[e],(e=>{}))},setUserAgentString:e=>{U.callUIFunction(o.value,"setUserAgentString",[e],(e=>{}))},setMixedContentMode:e=>{U.callUIFunction(o.value,"setMixedContentMode",[e],(e=>{}))},setOffscreenPreRaster:e=>{U.callUIFunction(o.value,"setOffscreenPreRaster",[e],(e=>{}))},setSafeBrowsingEnabled:e=>{U.callUIFunction(o.value,"setSafeBrowsingEnabled",[e],(e=>{}))},setForceDark:e=>{U.callUIFunction(o.value,"setForceDark",[e],(e=>{}))},setDisabledActionModeMenuItems:e=>{U.callUIFunction(o.value,"setDisabledActionModeMenuItems",[e],(e=>{}))}}),()=>_("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=i({name:"X5WebView",emits:["onCanGoBack","onCanGoForward","onCanGoBackOrForward","onPageStarted","onPageFinished","onLoadResource","onReceivedSslError","onReceivedError","shouldOverrideUrlLoading","onJs2Vue","onJsRewardCall","onJsFinishGame","onJavascriptReceiveValue"],setup(t,n){const o=e();y((()=>{a(!0),i(!0),r(!0),s(!0),u(!0),c(!0),g(!0),f(!0),d(!0),p(!0),l(1),m(2)}));const a=e=>{U.callUIFunction(o.value,"setJavaScriptEnabled",[e],(e=>{}))},l=e=>{U.callUIFunction(o.value,"setPluginState",[e],(e=>{}))},i=e=>{U.callUIFunction(o.value,"setJavaScriptCanOpenWindowsAutomatically",[e],(e=>{}))},c=e=>{U.callUIFunction(o.value,"setUseWideViewPort",[e],(e=>{}))},s=e=>{U.callUIFunction(o.value,"setSupportZoom",[e],(e=>{}))},u=e=>{U.callUIFunction(o.value,"setBuiltInZoomControls",[e],(e=>{}))},r=e=>{U.callUIFunction(o.value,"setAllowFileAccess",[e],(e=>{}))},d=e=>{U.callUIFunction(o.value,"setDomStorageEnabled",[e],(e=>{}))},f=e=>{U.callUIFunction(o.value,"setAppCacheEnabled",[e],(e=>{}))},p=e=>{U.callUIFunction(o.value,"setGeolocationEnabled",[e],(e=>{}))},g=e=>{U.callUIFunction(o.value,"setSupportMultipleWindows",[e],(e=>{}))},m=e=>{U.callUIFunction(o.value,"setCacheMode",[e],(e=>{}))};return n.expose({loadUrl:e=>{U.callUIFunction(o.value,"loadUrl",[e],(e=>{}))},evaluateJavascript:e=>{U.callUIFunction(o.value,"evaluateJavascript",[e],(e=>{n.emit("onJavascriptReceiveValue",e)}))},canGoBack:()=>{U.callUIFunction(o.value,"canGoBack",[],(e=>{n.emit("onCanGoBack",e)}))},goBack:()=>{U.callUIFunction(o.value,"goBack",[],(e=>{}))},canGoForward:()=>{U.callUIFunction(o.value,"canGoForward",[],(e=>{n.emit("onCanGoForward",e)}))},goForward:()=>{U.callUIFunction(o.value,"goForward",[],(e=>{}))},canGoBackOrForward:e=>{U.callUIFunction(o.value,"canGoBackOrForward",[e],(e=>{n.emit("onCanGoBackOrForward",e)}))},goBackOrForward:e=>{U.callUIFunction(o.value,"goBackOrForward",[e],(e=>{}))},onResume:()=>{U.callUIFunction(o.value,"onResume",[],(e=>{}))},onPause:()=>{U.callUIFunction(o.value,"onPause",[],(e=>{}))},pauseTimers:()=>{U.callUIFunction(o.value,"pauseTimers",[],(e=>{}))},resumeTimers:()=>{U.callUIFunction(o.value,"resumeTimers",[],(e=>{}))},destroy:()=>{U.callUIFunction(o.value,"destroy",[],(e=>{}))},setJavaScriptEnabled:a,setPluginState:l,setJavaScriptCanOpenWindowsAutomatically:i,setUseWideViewPort:c,setLoadWithOverviewMode:e=>{U.callUIFunction(o.value,"setLoadWithOverviewMode",[e],(e=>{}))},setSupportZoom:s,setBuiltInZoomControls:u,setDisplayZoomControls:e=>{U.callUIFunction(o.value,"setDisplayZoomControls",[e],(e=>{}))},setAllowFileAccess:r,setDomStorageEnabled:d,setDatabaseEnabled:e=>{U.callUIFunction(o.value,"setDatabaseEnabled",[e],(e=>{}))},setAppCacheEnabled:f,setAppCachePath:e=>{U.callUIFunction(o.value,"setAppCachePath",[e],(e=>{}))},setMediaPlaybackRequiresUserGesture:e=>{U.callUIFunction(o.value,"setMediaPlaybackRequiresUserGesture",[e],(e=>{}))},setStandardFontFamily:e=>{U.callUIFunction(o.value,"setStandardFontFamily",[e],(e=>{}))},setFixedFontFamily:e=>{U.callUIFunction(o.value,"setFixedFontFamily",[e],(e=>{}))},setSansSerifFontFamily:e=>{U.callUIFunction(o.value,"setSansSerifFontFamily",[e],(e=>{}))},setSerifFontFamily:e=>{U.callUIFunction(o.value,"setSerifFontFamily",[e],(e=>{}))},setCursiveFontFamily:e=>{U.callUIFunction(o.value,"setCursiveFontFamily",[e],(e=>{}))},setFantasyFontFamily:e=>{U.callUIFunction(o.value,"setFantasyFontFamily",[e],(e=>{}))},setTextZoom:e=>{U.callUIFunction(o.value,"setTextZoom",[e],(e=>{}))},setMinimumFontSize:e=>{U.callUIFunction(o.value,"setMinimumFontSize",[e],(e=>{}))},setDefaultFontSize:e=>{U.callUIFunction(o.value,"setDefaultFontSize",[e],(e=>{}))},setLayoutAlgorithm:e=>{U.callUIFunction(o.value,"setLayoutAlgorithm",[e],(e=>{}))},setLoadsImagesAutomatically:e=>{U.callUIFunction(o.value,"setLoadsImagesAutomatically",[e],(e=>{}))},setDefaultTextEncodingName:e=>{U.callUIFunction(o.value,"setDefaultTextEncodingName",[e],(e=>{}))},setNeedInitialFocus:e=>{U.callUIFunction(o.value,"setNeedInitialFocus",[e],(e=>{}))},setGeolocationEnabled:p,setBlockNetworkLoads:e=>{U.callUIFunction(o.value,"setBlockNetworkLoads",[e],(e=>{}))},setSupportMultipleWindows:g,setAppCacheMaxSize:e=>{U.callUIFunction(o.value,"setAppCacheMaxSize",[e],(e=>{}))},setRenderPriority:e=>{U.callUIFunction(o.value,"setRenderPriority",[e],(e=>{}))},setCacheMode:m,setAllowContentAccess:e=>{U.callUIFunction(o.value,"setAllowContentAccess",[e],(e=>{}))},setEnableSmoothTransition:e=>{U.callUIFunction(o.value,"setEnableSmoothTransition",[e],(e=>{}))},setSaveFormData:e=>{U.callUIFunction(o.value,"setSaveFormData",[e],(e=>{}))},setSavePassword:e=>{U.callUIFunction(o.value,"setSavePassword",[e],(e=>{}))},setTextSize:e=>{U.callUIFunction(o.value,"setTextSize",[e],(e=>{}))},setDefaultZoom:e=>{U.callUIFunction(o.value,"setDefaultZoom",[e],(e=>{}))},setLightTouchEnabled:e=>{U.callUIFunction(o.value,"setLightTouchEnabled",[e],(e=>{}))},setMinimumLogicalFontSize:e=>{U.callUIFunction(o.value,"setMinimumLogicalFontSize",[e],(e=>{}))},setDefaultFixedFontSize:e=>{U.callUIFunction(o.value,"setDefaultFixedFontSize",[e],(e=>{}))},setBlockNetworkImage:e=>{U.callUIFunction(o.value,"setBlockNetworkImage",[e],(e=>{}))},setAllowUniversalAccessFromFileURLs:e=>{U.callUIFunction(o.value,"setAllowUniversalAccessFromFileURLs",[e],(e=>{}))},setAllowFileAccessFromFileURLs:e=>{U.callUIFunction(o.value,"setAllowFileAccessFromFileURLs",[e],(e=>{}))},setDatabasePath:e=>{U.callUIFunction(o.value,"setDatabasePath",[e],(e=>{}))},setGeolocationDatabasePath:e=>{U.callUIFunction(o.value,"setGeolocationDatabasePath",[e],(e=>{}))},setUserAgentString:e=>{U.callUIFunction(o.value,"setUserAgentString",[e],(e=>{}))},setMixedContentMode:e=>{U.callUIFunction(o.value,"setMixedContentMode",[e],(e=>{}))},setOffscreenPreRaster:e=>{U.callUIFunction(o.value,"setOffscreenPreRaster",[e],(e=>{}))},setSafeBrowsingEnabled:e=>{U.callUIFunction(o.value,"setSafeBrowsingEnabled",[e],(e=>{}))},setForceDark:e=>{U.callUIFunction(o.value,"setForceDark",[e],(e=>{}))},setDisabledActionModeMenuItems:e=>{U.callUIFunction(o.value,"setDisabledActionModeMenuItems",[e],(e=>{}))},initJavaScriptInterface:()=>{U.callUIFunction(o.value,"initJavaScriptInterface",[],(e=>{}))},removeJavaScriptInterface:()=>{U.callUIFunction(o.value,"removeJavaScriptInterface",[],(e=>{}))}}),()=>_("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()=>_("QrCodeComponent",{ref:o})}})}(t),function(t){const n=i({name:"qt-seek-bar",props:{emitEventDelay:{type:Number,default:100},onProgressChanged:{type:Function,default:null}},emits:["focus","onSeekStart","onSeekStop","onFocusChanged","seek-change"],setup(t,n){const o=e(),a=e(!1),l=e(1),i=e(0),c=e(0),s=e(0),u=e(0);function r(e){1===l.value&&(u.value=e,U.callUIFunction(o.value,"setProgress",[e],(e=>{})))}function d(e){1===l.value&&(s.value=e,U.callUIFunction(o.value,"setMaxProgress",[e],(e=>{})))}return n.expose({viewRef:o,isSeekBarFocused:a,seekBarMode:l,seekCount:i,progressCallBackTime:c,maxProgress:s,progress:u,startSeek:function(e){if(a.value){l.value=2,n.emit("onSeekStart",u.value),i.value+=1;let a=1;i.value>20?a=2:i.value>50?a=4:i.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),U.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(){i.value=0,l.value=1,n.emit("onSeekStop",u.value)},isFocused:function(){return a.value},resetSeekbar:function(){l.value=1,d(0),r(0)},invalidateSeekBar:function(){U.callUIFunction(o.value,"invalidateSeekBar",[],(e=>{}))},setFocusable:function(e){U.callUIFunction(o.value,"setFocusable",[e],(e=>{}))},setClickable:function(e){U.callUIFunction(o.value,"setClickable",[e],(e=>{}))},requestFocus:function(){U.callUIFunction(o.value,"requestFocus",[],(e=>{}))},requestLayout:function(){U.callUIFunction(o.value,"requestLayout",[],(e=>{}))},invalidate:function(){U.callUIFunction(o.value,"invalidate",[],(e=>{}))},setVisible:function(e){U.callUIFunction(o.value,"setVisible",[e],(e=>{}))},setLeftSeekBarVisible:function(e){U.callUIFunction(o.value,"setLeftSeekBarVisible",[e],(e=>{}))},setRightSeekBarVisible:function(e){U.callUIFunction(o.value,"setRightSeekBarVisible",[e],(e=>{}))},setSeekBarMode:function(e){U.callUIFunction(o.value,"setSeekBarMode",[e],(e=>{}))},setProgress:r,setRangeProgress:function(e,t){U.callUIFunction(o.value,"setProgress",[e,t],(e=>{}))},getProgress:function(){U.callUIFunction(o.value,"getProgress",[],(e=>{}))},getLeftProgress:function(){U.callUIFunction(o.value,"getLeftProgress",[],(e=>{}))},getRightProgress:function(){U.callUIFunction(o.value,"getRightProgress",[],(e=>{}))},setRange:function(e,t,n){U.callUIFunction(o.value,"setRange",[e,t,n],(e=>{}))},setGravity:function(e){U.callUIFunction(o.value,"setGravity",[e],(e=>{}))},setProgressWidth:function(e){U.callUIFunction(o.value,"setProgressWidth",[e],(e=>{}))},setProgressHeight:function(e){U.callUIFunction(o.value,"setProgressHeight",[e],(e=>{}))},setProgressRadius:function(e){U.callUIFunction(o.value,"setProgressRadius",[e],(e=>{}))},setProgressColor:function(e){U.callUIFunction(o.value,"setProgressColor",[e],(e=>{}))},setProgressDefaultColor:function(e){U.callUIFunction(o.value,"setProgressDefaultColor",[e],(e=>{}))},setProgressDrawable:function(e){U.callUIFunction(o.value,"setProgressDrawable",[e],(e=>{}))},setProgressDefaultDrawable:function(e){U.callUIFunction(o.value,"setProgressDefaultDrawable",[e],(e=>{}))},setProgressUrl:function(e){U.callUIFunction(o.value,"setProgressUrl",[e],(e=>{}))},setProgressDefaultUrl:function(e){U.callUIFunction(o.value,"setProgressDefaultUrl",[e],(e=>{}))},showIndicator:function(e){U.callUIFunction(o.value,"showIndicator",[e],(e=>{}))},showLeftIndicator:function(e){U.callUIFunction(o.value,"showLeftIndicator",[e],(e=>{}))},showRightIndicator:function(e){U.callUIFunction(o.value,"showRightIndicator",[e],(e=>{}))},setIndicatorShowMode:function(e){U.callUIFunction(o.value,"setIndicatorShowMode",[e],(e=>{}))},setLeftIndicatorShowMode:function(e){U.callUIFunction(o.value,"setLeftIndicatorShowMode",[e],(e=>{}))},setRightIndicatorShowMode:function(e){U.callUIFunction(o.value,"setRightIndicatorShowMode",[e],(e=>{}))},setIndicatorWidth:function(e){U.callUIFunction(o.value,"setIndicatorWidth",[e],(e=>{}))},setLeftIndicatorWidth:function(e){U.callUIFunction(o.value,"setLeftIndicatorWidth",[e],(e=>{}))},setRightIndicatorWidth:function(e){U.callUIFunction(o.value,"setRightIndicatorWidth",[e],(e=>{}))},setIndicatorHeight:function(e){U.callUIFunction(o.value,"setIndicatorHeight",[e],(e=>{}))},setLeftIndicatorHeight:function(e){U.callUIFunction(o.value,"setLeftIndicatorHeight",[e],(e=>{}))},setRightIndicatorHeight:function(e){U.callUIFunction(o.value,"setRightIndicatorHeight",[e],(e=>{}))},setIndicatorTextDecimalFormat:function(e){U.callUIFunction(o.value,"setIndicatorTextDecimalFormat",[e],(e=>{}))},setLeftIndicatorTextDecimalFormat:function(e){U.callUIFunction(o.value,"setLeftIndicatorTextDecimalFormat",[e],(e=>{}))},setRightIndicatorTextDecimalFormat:function(e){U.callUIFunction(o.value,"setRightIndicatorTextDecimalFormat",[e],(e=>{}))},setIndicatorTextStringFormat:function(e){U.callUIFunction(o.value,"setIndicatorTextStringFormat",[e],(e=>{}))},setLeftIndicatorTextStringFormat:function(e){U.callUIFunction(o.value,"setLeftIndicatorTextStringFormat",[e],(e=>{}))},setRightIndicatorTextStringFormat:function(e){U.callUIFunction(o.value,"setRightIndicatorTextStringFormat",[e],(e=>{}))},setIndicatorMargin:function(e){U.callUIFunction(o.value,"setIndicatorMargin",[e],(e=>{}))},setLeftIndicatorMargin:function(e){U.callUIFunction(o.value,"setLeftIndicatorMargin",[e],(e=>{}))},setRightIndicatorMargin:function(e){U.callUIFunction(o.value,"setRightIndicatorMargin",[e],(e=>{}))},setIndicatorPaddingBottom:function(e){U.callUIFunction(o.value,"setIndicatorPaddingBottom",[e],(e=>{}))},setLeftIndicatorPaddingBottom:function(e){U.callUIFunction(o.value,"setLeftIndicatorPaddingBottom",[e],(e=>{}))},setRightIndicatorPaddingBottom:function(e){U.callUIFunction(o.value,"setRightIndicatorPaddingBottom",[e],(e=>{}))},setIndicatorPaddingTop:function(e){U.callUIFunction(o.value,"setIndicatorPaddingTop",[e],(e=>{}))},setLeftIndicatorPaddingTop:function(e){U.callUIFunction(o.value,"setLeftIndicatorPaddingTop",[e],(e=>{}))},setRightIndicatorPaddingTop:function(e){U.callUIFunction(o.value,"setRightIndicatorPaddingTop",[e],(e=>{}))},setIndicatorPaddingLeft:function(e){U.callUIFunction(o.value,"setIndicatorPaddingLeft",[e],(e=>{}))},setLeftIndicatorPaddingLeft:function(e){U.callUIFunction(o.value,"setLeftIndicatorPaddingLeft",[e],(e=>{}))},setRightIndicatorPaddingLeft:function(e){U.callUIFunction(o.value,"setRightIndicatorPaddingLeft",[e],(e=>{}))},setIndicatorPaddingRight:function(e){U.callUIFunction(o.value,"setIndicatorPaddingRight",[e],(e=>{}))},setLeftIndicatorPaddingRight:function(e){U.callUIFunction(o.value,"setLeftIndicatorPaddingRight",[e],(e=>{}))},setRightIndicatorPaddingRight:function(e){U.callUIFunction(o.value,"setRightIndicatorPaddingRight",[e],(e=>{}))},setIndicatorBackgroundColor:function(e){U.callUIFunction(o.value,"setIndicatorBackgroundColor",[e],(e=>{}))},setLeftIndicatorBackgroundColor:function(e){U.callUIFunction(o.value,"setLeftIndicatorBackgroundColor",[e],(e=>{}))},setRightIndicatorBackgroundColor:function(e){U.callUIFunction(o.value,"setRightIndicatorBackgroundColor",[e],(e=>{}))},setIndicatorRadius:function(e){U.callUIFunction(o.value,"setIndicatorRadius",[e],(e=>{}))},setLeftIndicatorRadius:function(e){U.callUIFunction(o.value,"setLeftIndicatorRadius",[e],(e=>{}))},setRightIndicatorRadius:function(e){U.callUIFunction(o.value,"setRightIndicatorRadius",[e],(e=>{}))},setIndicatorTextSize:function(e){U.callUIFunction(o.value,"setIndicatorTextSize",[e],(e=>{}))},setLeftIndicatorTextSize:function(e){U.callUIFunction(o.value,"setLeftIndicatorTextSize",[e],(e=>{}))},setRightIndicatorTextSize:function(e){U.callUIFunction(o.value,"setRightIndicatorTextSize",[e],(e=>{}))},setIndicatorTextColor:function(e){U.callUIFunction(o.value,"setIndicatorTextColor",[e],(e=>{}))},setLeftIndicatorTextColor:function(e){U.callUIFunction(o.value,"setLeftIndicatorTextColor",[e],(e=>{}))},setRightIndicatorTextColor:function(e){U.callUIFunction(o.value,"setRightIndicatorTextColor",[e],(e=>{}))},setIndicatorArrowSize:function(e){U.callUIFunction(o.value,"setIndicatorArrowSize",[e],(e=>{}))},setLeftIndicatorArrowSize:function(e){U.callUIFunction(o.value,"setLeftIndicatorArrowSize",[e],(e=>{}))},setRightIndicatorArrowSize:function(e){U.callUIFunction(o.value,"setRightIndicatorArrowSize",[e],(e=>{}))},setIndicatorDrawable:function(e){U.callUIFunction(o.value,"setIndicatorDrawable",[e],(e=>{}))},setLeftIndicatorDrawable:function(e){U.callUIFunction(o.value,"setLeftIndicatorDrawable",[e],(e=>{}))},setRightIndicatorDrawable:function(e){U.callUIFunction(o.value,"setRightIndicatorDrawable",[e],(e=>{}))},setIndicatorUrl:function(e){U.callUIFunction(o.value,"setIndicatorUrl",[e],(e=>{}))},setLeftIndicatorUrl:function(e){U.callUIFunction(o.value,"setLeftIndicatorUrl",[e],(e=>{}))},setRightIndicatorUrl:function(e){U.callUIFunction(o.value,"setRightIndicatorUrl",[e],(e=>{}))},setThumbWidth:function(e){U.callUIFunction(o.value,"setThumbWidth",[e],(e=>{}))},setLeftThumbWidth:function(e){U.callUIFunction(o.value,"setLeftThumbWidth",[e],(e=>{}))},setRightThumbWidth:function(e){U.callUIFunction(o.value,"setRightThumbWidth",[e],(e=>{}))},setThumbHeight:function(e){U.callUIFunction(o.value,"setThumbHeight",[e],(e=>{}))},setLeftThumbHeight:function(e){U.callUIFunction(o.value,"setLeftThumbHeight",[e],(e=>{}))},setRightThumbHeight:function(e){U.callUIFunction(o.value,"setRightThumbHeight",[e],(e=>{}))},scaleThumb:function(){U.callUIFunction(o.value,"scaleThumb",[],(e=>{}))},scaleLeftThumb:function(){U.callUIFunction(o.value,"scaleLeftThumb",[],(e=>{}))},scaleRightThumb:function(){U.callUIFunction(o.value,"scaleLeftThumb",[],(e=>{}))},resetThumb:function(){U.callUIFunction(o.value,"resetThumb",[],(e=>{}))},resetLeftThumb:function(){U.callUIFunction(o.value,"resetLeftThumb",[],(e=>{}))},resetRightThumb:function(){U.callUIFunction(o.value,"resetRightThumb",[],(e=>{}))},setThumbScaleRatio:function(e){U.callUIFunction(o.value,"setThumbScaleRatio",[e],(e=>{}))},setLeftThumbScaleRatio:function(e){U.callUIFunction(o.value,"setLeftThumbScaleRatio",[e],(e=>{}))},setRightThumbScaleRatio:function(e){U.callUIFunction(o.value,"setRightThumbScaleRatio",[e],(e=>{}))},setThumbActivate:function(e){U.callUIFunction(o.value,"setThumbActivate",[e],(e=>{}))},setLeftThumbActivate:function(e){U.callUIFunction(o.value,"setLeftThumbActivate",[e],(e=>{}))},setRightThumbActivate:function(e){U.callUIFunction(o.value,"setRightThumbActivate",[e],(e=>{}))},setThumbDrawable:function(e){U.callUIFunction(o.value,"setThumbDrawable",[e],(e=>{}))},setLeftThumbDrawable:function(e){U.callUIFunction(o.value,"setLeftThumbDrawable",[e],(e=>{}))},setRightThumbDrawable:function(e){U.callUIFunction(o.value,"setRightThumbDrawable",[e],(e=>{}))},setThumbUrl:function(e){U.callUIFunction(o.value,"setThumbUrl",[e],(e=>{}))},setLeftThumbUrl:function(e){U.callUIFunction(o.value,"setLeftThumbUrl",[e],(e=>{}))},setRightThumbUrl:function(e){U.callUIFunction(o.value,"setRightThumbUrl",[e],(e=>{}))},setThumbInactivatedDrawable:function(e){U.callUIFunction(o.value,"setThumbInactivatedDrawable",[e],(e=>{}))},setLeftThumbInactivatedDrawable:function(e){U.callUIFunction(o.value,"setLeftThumbInactivatedDrawable",[e],(e=>{}))},setRightThumbInactivatedDrawable:function(e){U.callUIFunction(o.value,"setRightThumbInactivatedDrawable",[e],(e=>{}))},setThumbInactivatedUrl:function(e){U.callUIFunction(o.value,"setThumbInactivatedUrl",[e],(e=>{}))},setLeftThumbInactivatedUrl:function(e){U.callUIFunction(o.value,"setLeftThumbInactivatedUrl",[e],(e=>{}))},setRightThumbInactivatedUrl:function(e){U.callUIFunction(o.value,"setRightThumbInactivatedUrl",[e],(e=>{}))},setTickMarkMode:function(e){U.callUIFunction(o.value,"setTickMarkMode",[e],(e=>{}))},setTickMarkGravity:function(e){U.callUIFunction(o.value,"setTickMarkGravity",[e],(e=>{}))},setTickMarkLayoutGravity:function(e){U.callUIFunction(o.value,"setTickMarkLayoutGravity",[e],(e=>{}))},setTickMarkTextArray:function(e){U.callUIFunction(o.value,"setTickMarkTextArray",[e],(e=>{}))},setTickMarkTextMargin:function(e){U.callUIFunction(o.value,"setTickMarkTextMargin",[e],(e=>{}))},setTickMarkTextSize:function(e){U.callUIFunction(o.value,"setTickMarkTextSize",[e],(e=>{}))},setTickMarkTextColor:function(e){U.callUIFunction(o.value,"setTickMarkTextColor",[e],(e=>{}))},setTickMarkInRangeTextColor:function(e){U.callUIFunction(o.value,"setTickMarkInRangeTextColor",[e],(e=>{}))},setSteps:function(e){U.callUIFunction(o.value,"setSteps",[e],(e=>{}))},setStepsWidth:function(e){U.callUIFunction(o.value,"setStepsWidth",[e],(e=>{}))},setStepsHeight:function(e){U.callUIFunction(o.value,"setStepsHeight",[e],(e=>{}))},setStepsRadius:function(e){U.callUIFunction(o.value,"setStepsRadius",[e],(e=>{}))},setStepsColor:function(e){U.callUIFunction(o.value,"setStepsColor",[e],(e=>{}))},setStepsAutoBonding:function(e){U.callUIFunction(o.value,"setStepsAutoBonding",[e],(e=>{}))},setStepsDrawable:function(e){U.callUIFunction(o.value,"setStepsDrawable",[e],(e=>{}))},setStepsUrl:function(e){U.callUIFunction(o.value,"setStepsUrl",[e],(e=>{}))},setSecondProgress:function(e){U.callUIFunction(o.value,"setSecondProgress",[e],(e=>{}))},show:function(e){U.callUIFunction(o.value,"show",[e],(e=>{}))},setMaxProgress:d}),()=>_("TVSeekBarViewComponent",{ref:o,onFocus:e=>{a.value=e.isFocused,n.emit("onFocusChanged",e)},onSeekBarChange:e=>{n.emit("seek-change",e)}})}});t.component("qt-seek-bar",n)}(t),function(t){const n=fn({name:"qt-progress-bar",setup(t,n){const o=e();return n.expose({invalidateSeekBar:function(){U.callUIFunction(o.value,"invalidateSeekBar",[],(e=>{}))},setFocusable:function(e){U.callUIFunction(o.value,"setFocusable",[e],(e=>{}))},setClickable:function(e){U.callUIFunction(o.value,"setClickable",[e],(e=>{}))},requestFocus:function(){U.callUIFunction(o.value,"requestFocus",[],(e=>{}))},requestLayout:function(){U.callUIFunction(o.value,"requestLayout",[],(e=>{}))},invalidate:function(){U.callUIFunction(o.value,"invalidate",[],(e=>{}))},setVisible:function(e){U.callUIFunction(o.value,"setVisible",[e],(e=>{}))},setLeftSeekBarVisible:function(e){U.callUIFunction(o.value,"setLeftSeekBarVisible",[e],(e=>{}))},setRightSeekBarVisible:function(e){U.callUIFunction(o.value,"setRightSeekBarVisible",[e],(e=>{}))},setSeekBarMode:function(e){U.callUIFunction(o.value,"setSeekBarMode",[e],(e=>{}))},setProgress:function(e){U.callUIFunction(o.value,"setProgress",[e],(e=>{}))},setRangeProgress:function(e,t){U.callUIFunction(o.value,"setProgress",[e,t],(e=>{}))},getProgress:function(){U.callUIFunction(o.value,"getProgress",[],(e=>{}))},getLeftProgress:function(){U.callUIFunction(o.value,"getLeftProgress",[],(e=>{}))},getRightProgress:function(){U.callUIFunction(o.value,"getRightProgress",[],(e=>{}))},setRange:function(e,t,n){U.callUIFunction(o.value,"setRange",[e,t,n],(e=>{}))},setGravity:function(e){U.callUIFunction(o.value,"setGravity",[e],(e=>{}))},setProgressWidth:function(e){U.callUIFunction(o.value,"setProgressWidth",[e],(e=>{}))},setProgressHeight:function(e){U.callUIFunction(o.value,"setProgressHeight",[e],(e=>{}))},setProgressRadius:function(e){U.callUIFunction(o.value,"setProgressRadius",[e],(e=>{}))},setProgressColor:function(e){U.callUIFunction(o.value,"setProgressColor",[e],(e=>{}))},setProgressDefaultColor:function(e){U.callUIFunction(o.value,"setProgressDefaultColor",[e],(e=>{}))},setProgressDrawable:function(e){U.callUIFunction(o.value,"setProgressDrawable",[e],(e=>{}))},setProgressDefaultDrawable:function(e){U.callUIFunction(o.value,"setProgressDefaultDrawable",[e],(e=>{}))},setProgressUrl:function(e){U.callUIFunction(o.value,"setProgressUrl",[e],(e=>{}))},setProgressDefaultUrl:function(e){U.callUIFunction(o.value,"setProgressDefaultUrl",[e],(e=>{}))},showIndicator:function(e){U.callUIFunction(o.value,"showIndicator",[e],(e=>{}))},showLeftIndicator:function(e){U.callUIFunction(o.value,"showLeftIndicator",[e],(e=>{}))},showRightIndicator:function(e){U.callUIFunction(o.value,"showRightIndicator",[e],(e=>{}))},setIndicatorShowMode:function(e){U.callUIFunction(o.value,"setIndicatorShowMode",[e],(e=>{}))},setLeftIndicatorShowMode:function(e){U.callUIFunction(o.value,"setLeftIndicatorShowMode",[e],(e=>{}))},setRightIndicatorShowMode:function(e){U.callUIFunction(o.value,"setRightIndicatorShowMode",[e],(e=>{}))},setIndicatorWidth:function(e){U.callUIFunction(o.value,"setIndicatorWidth",[e],(e=>{}))},setLeftIndicatorWidth:function(e){U.callUIFunction(o.value,"setLeftIndicatorWidth",[e],(e=>{}))},setRightIndicatorWidth:function(e){U.callUIFunction(o.value,"setRightIndicatorWidth",[e],(e=>{}))},setIndicatorHeight:function(e){U.callUIFunction(o.value,"setIndicatorHeight",[e],(e=>{}))},setLeftIndicatorHeight:function(e){U.callUIFunction(o.value,"setLeftIndicatorHeight",[e],(e=>{}))},setRightIndicatorHeight:function(e){U.callUIFunction(o.value,"setRightIndicatorHeight",[e],(e=>{}))},setIndicatorTextDecimalFormat:function(e){U.callUIFunction(o.value,"setIndicatorTextDecimalFormat",[e],(e=>{}))},setLeftIndicatorTextDecimalFormat:function(e){U.callUIFunction(o.value,"setLeftIndicatorTextDecimalFormat",[e],(e=>{}))},setRightIndicatorTextDecimalFormat:function(e){U.callUIFunction(o.value,"setRightIndicatorTextDecimalFormat",[e],(e=>{}))},setIndicatorTextStringFormat:function(e){U.callUIFunction(o.value,"setIndicatorTextStringFormat",[e],(e=>{}))},setLeftIndicatorTextStringFormat:function(e){U.callUIFunction(o.value,"setLeftIndicatorTextStringFormat",[e],(e=>{}))},setRightIndicatorTextStringFormat:function(e){U.callUIFunction(o.value,"setRightIndicatorTextStringFormat",[e],(e=>{}))},setIndicatorMargin:function(e){U.callUIFunction(o.value,"setIndicatorMargin",[e],(e=>{}))},setLeftIndicatorMargin:function(e){U.callUIFunction(o.value,"setLeftIndicatorMargin",[e],(e=>{}))},setRightIndicatorMargin:function(e){U.callUIFunction(o.value,"setRightIndicatorMargin",[e],(e=>{}))},setIndicatorPaddingBottom:function(e){U.callUIFunction(o.value,"setIndicatorPaddingBottom",[e],(e=>{}))},setLeftIndicatorPaddingBottom:function(e){U.callUIFunction(o.value,"setLeftIndicatorPaddingBottom",[e],(e=>{}))},setRightIndicatorPaddingBottom:function(e){U.callUIFunction(o.value,"setRightIndicatorPaddingBottom",[e],(e=>{}))},setIndicatorPaddingTop:function(e){U.callUIFunction(o.value,"setIndicatorPaddingTop",[e],(e=>{}))},setLeftIndicatorPaddingTop:function(e){U.callUIFunction(o.value,"setLeftIndicatorPaddingTop",[e],(e=>{}))},setRightIndicatorPaddingTop:function(e){U.callUIFunction(o.value,"setRightIndicatorPaddingTop",[e],(e=>{}))},setIndicatorPaddingLeft:function(e){U.callUIFunction(o.value,"setIndicatorPaddingLeft",[e],(e=>{}))},setLeftIndicatorPaddingLeft:function(e){U.callUIFunction(o.value,"setLeftIndicatorPaddingLeft",[e],(e=>{}))},setRightIndicatorPaddingLeft:function(e){U.callUIFunction(o.value,"setRightIndicatorPaddingLeft",[e],(e=>{}))},setIndicatorPaddingRight:function(e){U.callUIFunction(o.value,"setIndicatorPaddingRight",[e],(e=>{}))},setLeftIndicatorPaddingRight:function(e){U.callUIFunction(o.value,"setLeftIndicatorPaddingRight",[e],(e=>{}))},setRightIndicatorPaddingRight:function(e){U.callUIFunction(o.value,"setRightIndicatorPaddingRight",[e],(e=>{}))},setIndicatorBackgroundColor:function(e){U.callUIFunction(o.value,"setIndicatorBackgroundColor",[e],(e=>{}))},setLeftIndicatorBackgroundColor:function(e){U.callUIFunction(o.value,"setLeftIndicatorBackgroundColor",[e],(e=>{}))},setRightIndicatorBackgroundColor:function(e){U.callUIFunction(o.value,"setRightIndicatorBackgroundColor",[e],(e=>{}))},setIndicatorRadius:function(e){U.callUIFunction(o.value,"setIndicatorRadius",[e],(e=>{}))},setLeftIndicatorRadius:function(e){U.callUIFunction(o.value,"setLeftIndicatorRadius",[e],(e=>{}))},setRightIndicatorRadius:function(e){U.callUIFunction(o.value,"setRightIndicatorRadius",[e],(e=>{}))},setIndicatorTextSize:function(e){U.callUIFunction(o.value,"setIndicatorTextSize",[e],(e=>{}))},setLeftIndicatorTextSize:function(e){U.callUIFunction(o.value,"setLeftIndicatorTextSize",[e],(e=>{}))},setRightIndicatorTextSize:function(e){U.callUIFunction(o.value,"setRightIndicatorTextSize",[e],(e=>{}))},setIndicatorTextColor:function(e){U.callUIFunction(o.value,"setIndicatorTextColor",[e],(e=>{}))},setLeftIndicatorTextColor:function(e){U.callUIFunction(o.value,"setLeftIndicatorTextColor",[e],(e=>{}))},setRightIndicatorTextColor:function(e){U.callUIFunction(o.value,"setRightIndicatorTextColor",[e],(e=>{}))},setIndicatorArrowSize:function(e){U.callUIFunction(o.value,"setIndicatorArrowSize",[e],(e=>{}))},setLeftIndicatorArrowSize:function(e){U.callUIFunction(o.value,"setLeftIndicatorArrowSize",[e],(e=>{}))},setRightIndicatorArrowSize:function(e){U.callUIFunction(o.value,"setRightIndicatorArrowSize",[e],(e=>{}))},setIndicatorDrawable:function(e){U.callUIFunction(o.value,"setIndicatorDrawable",[e],(e=>{}))},setLeftIndicatorDrawable:function(e){U.callUIFunction(o.value,"setLeftIndicatorDrawable",[e],(e=>{}))},setRightIndicatorDrawable:function(e){U.callUIFunction(o.value,"setRightIndicatorDrawable",[e],(e=>{}))},setIndicatorUrl:function(e){U.callUIFunction(o.value,"setIndicatorUrl",[e],(e=>{}))},setLeftIndicatorUrl:function(e){U.callUIFunction(o.value,"setLeftIndicatorUrl",[e],(e=>{}))},setRightIndicatorUrl:function(e){U.callUIFunction(o.value,"setRightIndicatorUrl",[e],(e=>{}))},setThumbWidth:function(e){U.callUIFunction(o.value,"setThumbWidth",[e],(e=>{}))},setLeftThumbWidth:function(e){U.callUIFunction(o.value,"setLeftThumbWidth",[e],(e=>{}))},setRightThumbWidth:function(e){U.callUIFunction(o.value,"setRightThumbWidth",[e],(e=>{}))},setThumbHeight:function(e){U.callUIFunction(o.value,"setThumbHeight",[e],(e=>{}))},setLeftThumbHeight:function(e){U.callUIFunction(o.value,"setLeftThumbHeight",[e],(e=>{}))},setRightThumbHeight:function(e){U.callUIFunction(o.value,"setRightThumbHeight",[e],(e=>{}))},scaleThumb:function(){U.callUIFunction(o.value,"scaleThumb",[],(e=>{}))},scaleLeftThumb:function(){U.callUIFunction(o.value,"scaleLeftThumb",[],(e=>{}))},scaleRightThumb:function(){U.callUIFunction(o.value,"scaleLeftThumb",[],(e=>{}))},resetThumb:function(){U.callUIFunction(o.value,"resetThumb",[],(e=>{}))},resetLeftThumb:function(){U.callUIFunction(o.value,"resetLeftThumb",[],(e=>{}))},resetRightThumb:function(){U.callUIFunction(o.value,"resetRightThumb",[],(e=>{}))},setThumbScaleRatio:function(e){U.callUIFunction(o.value,"setThumbScaleRatio",[e],(e=>{}))},setLeftThumbScaleRatio:function(e){U.callUIFunction(o.value,"setLeftThumbScaleRatio",[e],(e=>{}))},setRightThumbScaleRatio:function(e){U.callUIFunction(o.value,"setRightThumbScaleRatio",[e],(e=>{}))},setThumbActivate:function(e){U.callUIFunction(o.value,"setThumbActivate",[e],(e=>{}))},setLeftThumbActivate:function(e){U.callUIFunction(o.value,"setLeftThumbActivate",[e],(e=>{}))},setRightThumbActivate:function(e){U.callUIFunction(o.value,"setRightThumbActivate",[e],(e=>{}))},setThumbDrawable:function(e){U.callUIFunction(o.value,"setThumbDrawable",[e],(e=>{}))},setLeftThumbDrawable:function(e){U.callUIFunction(o.value,"setLeftThumbDrawable",[e],(e=>{}))},setRightThumbDrawable:function(e){U.callUIFunction(o.value,"setRightThumbDrawable",[e],(e=>{}))},setThumbUrl:function(e){U.callUIFunction(o.value,"setThumbUrl",[e],(e=>{}))},setLeftThumbUrl:function(e){U.callUIFunction(o.value,"setLeftThumbUrl",[e],(e=>{}))},setRightThumbUrl:function(e){U.callUIFunction(o.value,"setRightThumbUrl",[e],(e=>{}))},setThumbInactivatedDrawable:function(e){U.callUIFunction(o.value,"setThumbInactivatedDrawable",[e],(e=>{}))},setLeftThumbInactivatedDrawable:function(e){U.callUIFunction(o.value,"setLeftThumbInactivatedDrawable",[e],(e=>{}))},setRightThumbInactivatedDrawable:function(e){U.callUIFunction(o.value,"setRightThumbInactivatedDrawable",[e],(e=>{}))},setThumbInactivatedUrl:function(e){U.callUIFunction(o.value,"setThumbInactivatedUrl",[e],(e=>{}))},setLeftThumbInactivatedUrl:function(e){U.callUIFunction(o.value,"setLeftThumbInactivatedUrl",[e],(e=>{}))},setRightThumbInactivatedUrl:function(e){U.callUIFunction(o.value,"setRightThumbInactivatedUrl",[e],(e=>{}))},setTickMarkMode:function(e){U.callUIFunction(o.value,"setTickMarkMode",[e],(e=>{}))},setTickMarkGravity:function(e){U.callUIFunction(o.value,"setTickMarkGravity",[e],(e=>{}))},setTickMarkLayoutGravity:function(e){U.callUIFunction(o.value,"setTickMarkLayoutGravity",[e],(e=>{}))},setTickMarkTextArray:function(e){U.callUIFunction(o.value,"setTickMarkTextArray",[e],(e=>{}))},setTickMarkTextMargin:function(e){U.callUIFunction(o.value,"setTickMarkTextMargin",[e],(e=>{}))},setTickMarkTextSize:function(e){U.callUIFunction(o.value,"setTickMarkTextSize",[e],(e=>{}))},setTickMarkTextColor:function(e){U.callUIFunction(o.value,"setTickMarkTextColor",[e],(e=>{}))},setTickMarkInRangeTextColor:function(e){U.callUIFunction(o.value,"setTickMarkInRangeTextColor",[e],(e=>{}))},setSteps:function(e){U.callUIFunction(o.value,"setSteps",[e],(e=>{}))},setStepsWidth:function(e){U.callUIFunction(o.value,"setStepsWidth",[e],(e=>{}))},setStepsHeight:function(e){U.callUIFunction(o.value,"setStepsHeight",[e],(e=>{}))},setStepsRadius:function(e){U.callUIFunction(o.value,"setStepsRadius",[e],(e=>{}))},setStepsColor:function(e){U.callUIFunction(o.value,"setStepsColor",[e],(e=>{}))},setStepsAutoBonding:function(e){U.callUIFunction(o.value,"setStepsAutoBonding",[e],(e=>{}))},setStepsDrawable:function(e){U.callUIFunction(o.value,"setStepsDrawable",[e],(e=>{}))},setStepsUrl:function(e){U.callUIFunction(o.value,"setStepsUrl",[e],(e=>{}))},setSecondProgress:function(e){U.callUIFunction(o.value,"setSecondProgress",[e],(e=>{}))},show:function(e){U.callUIFunction(o.value,"show",[e],(e=>{}))},setMaxProgress:function(e){U.callUIFunction(o.value,"setMaxProgress",[e],(e=>{}))}}),()=>_("TVProgressBarViewComponent",{ref:o,onFocusChange:e=>{n.emit("focus",e)},onSeekBarChange:e=>{n.emit("seek-change",e)}})}});t.component("qt-progress-bar",n)}(t),function(t){const n=i({emits:["onAnimationEnd","onAnimationCancel","onAnimationStart","onAnimationRepeat","onAnimationPause","onAnimationResume","onAnimationUpdate"],setup(t,n){const o=e();return n.expose({setPivotX:function(e){U.callUIFunction(o.value,"setPivotX",[e],(e=>{}))},setPivotY:function(e){U.callUIFunction(o.value,"setPivotY",[e],(e=>{}))},resetPivot:function(){U.callUIFunction(o.value,"resetPivot",[],(e=>{}))},resetAnimators:function(){U.callUIFunction(o.value,"resetAnimators",[],(e=>{}))},animatorSet:function(e,t,n){U.callUIFunction(o.value,"animatorSet",[e,t,n],(e=>{}))},startAnimator:function(e){U.callUIFunction(o.value,"startAnimator",[e],(e=>{}))},startAnimatorDelay:function(e,t){U.callUIFunction(o.value,"startAnimatorDelay",[e,t],(e=>{}))},pauseAnimator:function(e){U.callUIFunction(o.value,"pauseAnimator",[e],(e=>{}))},resumeAnimator:function(e){U.callUIFunction(o.value,"resumeAnimator",[e],(e=>{}))},cancelAnimator:function(e){U.callUIFunction(o.value,"cancelAnimator",[e],(e=>{}))},reverseAnimator:function(e){U.callUIFunction(o.value,"reverseAnimator",[e],(e=>{}))},play:function(e,t){U.callUIFunction(o.value,"play",[e,t],(e=>{}))},playWith:function(e,t){U.callUIFunction(o.value,"with",[e,t],(e=>{}))},playBefore:function(e,t){U.callUIFunction(o.value,"before",[e,t],(e=>{}))},playAfter:function(e,t){U.callUIFunction(o.value,"after",[e,t],(e=>{}))},playAfterDelay:function(e,t){U.callUIFunction(o.value,"afterDelay",[e,t],(e=>{}))},playSequentially1:function(e,t){U.callUIFunction(o.value,"playSequentially1",[e,t],(e=>{}))},playSequentially2:function(e,t,n){U.callUIFunction(o.value,"playSequentially2",[e,t,n],(e=>{}))},playSequentially3:function(e,t,n,a){U.callUIFunction(o.value,"playSequentially3",[e,t,n,a],(e=>{}))},playSequentially4:function(e,t,n,a,l){U.callUIFunction(o.value,"playSequentially4",[e,t,n,a,l],(e=>{}))},playSequentially5:function(e,t,n,a,l,i){U.callUIFunction(o.value,"playSequentially5",[e,t,n,a,l,i],(e=>{}))},playTogether1:function(e,t){U.callUIFunction(o.value,"playTogether1",[e,t],(e=>{}))},playTogether2:function(e,t,n){U.callUIFunction(o.value,"playTogether2",[e,t,n],(e=>{}))},playTogether3:function(e,t,n,a){U.callUIFunction(o.value,"playTogether3",[e,t,n,a],(e=>{}))},playTogether4:function(e,t,n,a,l){U.callUIFunction(o.value,"playTogether4",[e,t,n,a,l],(e=>{}))},playTogether5:function(e,t,n,a,l,i){U.callUIFunction(o.value,"playTogether5",[e,t,n,a,l,i],(e=>{}))},objectAnimator:function(e,t,n,a,l,i,c,s,u){U.callUIFunction(o.value,"objectAnimator",[e,t,n,a,l,i,c,s,u],(e=>{}))},objectAnimator1:function(e,t,n,a,l,i,c,s,u,r){U.callUIFunction(o.value,"objectAnimator1",[e,t,n,a,l,i,c,s,u,r],(e=>{}))},objectAnimator2:function(e,t,n,a,l,i,c,s,u,r,d){U.callUIFunction(o.value,"objectAnimator2",[e,t,n,a,l,i,c,s,u,r,d],(e=>{}))},objectAnimator3:function(e,t,n,a,l,i,c,s,u,r,d,f){U.callUIFunction(o.value,"objectAnimator3",[e,t,n,a,l,i,c,s,u,r,d,f],(e=>{}))},objectAnimator4:function(e,t,n,a,l,i,c,s,u,r,d,f,p){U.callUIFunction(o.value,"objectAnimator4",[e,t,n,a,l,i,c,s,u,r,d,f,p],(e=>{}))},objectAnimator5:function(e,t,n,a,l,i,c,s,u,r,d,f,p,g){U.callUIFunction(o.value,"objectAnimator5",[e,t,n,a,l,i,c,s,u,r,d,f,p,g],(e=>{}))},objectAnimator6:function(e,t,n,a,l,i,c,s,u,r,d,f,p,g,m){U.callUIFunction(o.value,"objectAnimator6",[e,t,n,a,l,i,c,s,u,r,d,f,p,g,m],(e=>{}))},objectAnimator7:function(e,t,n,a,l,i,c,s,u,r,d,f,p,g,m,I){U.callUIFunction(o.value,"objectAnimator7",[e,t,n,a,l,i,c,s,u,r,d,f,p,g,m,I],(e=>{}))},objectAnimator8:function(e,t,n,a,l,i,c,s,u,r,d,f,p,g,m,I,v){U.callUIFunction(o.value,"objectAnimator8",[e,t,n,a,l,i,c,s,u,r,d,f,p,g,m,I,v],(e=>{}))},objectAnimator9:function(e,t,n,a,l,i,c,s,u,r,d,f,p,g,m,I,v,h){U.callUIFunction(o.value,"objectAnimator9",[e,t,n,a,l,i,c,s,u,r,d,f,p,g,m,I,v,h],(e=>{}))},objectAnimator10:function(e,t,n,a,l,i,c,s,u,r,d,f,p,g,m,I,v,h,T){U.callUIFunction(o.value,"objectAnimator10",[e,t,n,a,l,i,c,s,u,r,d,f,p,g,m,I,v,h,T],(e=>{}))}}),()=>{const e=n.slots.default&&n.slots.default();return _("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()=>_("Modal",{ref:o})}})}(t);for(let e in La)t.component(La[e].name,La[e])};export{ya as QTAnimationInterpolatorType,Ua as QTAnimationPropertyName,Pa as QTAnimationRepeatMode,Ea as QTAnimationValueType,Fa as QTDirections,Sa as QTNavBarItemType,ba as QTScrollState,_a as QTTabItemType,oa as QTTabPageState,wo as QTWaterfallItemType,ko as QTWaterfallSectionType,xa as QuickTVUI,go as arrangeChildren4ListView};
@@ -0,0 +1,3 @@
1
+ import { ESApp } from "@extscreen/es3-vue";
2
+ declare function registerQTAnimation(app: ESApp): void;
3
+ export default registerQTAnimation;
@@ -0,0 +1,40 @@
1
+ import { QTAnimationInterpolator, QTAnimationPropertyName, QTAnimationRepeatMode, QTAnimationValueType, QTAnimatorId } from "./types";
2
+ export interface QTIAnimation {
3
+ setPivotX(pivotX: number): any;
4
+ setPivotY(pivotY: number): any;
5
+ resetPivot(): any;
6
+ resetAnimators(): any;
7
+ animatorSet(animatorId: QTAnimatorId, duration: number, listenAnimator: boolean): any;
8
+ startAnimator(animatorId: QTAnimatorId): any;
9
+ startAnimatorDelay(animatorId: QTAnimatorId, delay: number): any;
10
+ pauseAnimator(animatorId: QTAnimatorId): any;
11
+ resumeAnimator(animatorId: QTAnimatorId): any;
12
+ cancelAnimator(animatorId: QTAnimatorId): any;
13
+ reverseAnimator(animatorId: QTAnimatorId): any;
14
+ play(animatorSetId: QTAnimatorId, animatorId: QTAnimatorId): any;
15
+ playWith(animatorSetId: QTAnimatorId, animatorId: QTAnimatorId): any;
16
+ playBefore(animatorSetId: QTAnimatorId, animatorId: QTAnimatorId): any;
17
+ playAfter(animatorSetId: QTAnimatorId, animatorId: QTAnimatorId): any;
18
+ playAfterDelay(animatorSetId: QTAnimatorId, delay: number): any;
19
+ playSequentially1(animatorSetId: QTAnimatorId, animatorId1: QTAnimatorId): any;
20
+ playSequentially2(animatorSetId: QTAnimatorId, animatorId1: QTAnimatorId, animatorId2: QTAnimatorId): any;
21
+ playSequentially3(animatorSetId: QTAnimatorId, animatorId1: QTAnimatorId, animatorId2: QTAnimatorId, animatorId3: QTAnimatorId): any;
22
+ playSequentially4(animatorSetId: QTAnimatorId, animatorId1: QTAnimatorId, animatorId2: QTAnimatorId, animatorId3: QTAnimatorId, animatorId4: QTAnimatorId): any;
23
+ playSequentially5(animatorSetId: QTAnimatorId, animatorId1: QTAnimatorId, animatorId2: QTAnimatorId, animatorId3: QTAnimatorId, animatorId4: QTAnimatorId, animatorId5: QTAnimatorId): any;
24
+ playTogether1(animatorSetId: QTAnimatorId, animatorId1: QTAnimatorId): any;
25
+ playTogether2(animatorSetId: QTAnimatorId, animatorId1: QTAnimatorId, animatorId2: QTAnimatorId): any;
26
+ playTogether3(animatorSetId: QTAnimatorId, animatorId1: QTAnimatorId, animatorId2: QTAnimatorId, animatorId3: QTAnimatorId): any;
27
+ playTogether4(animatorSetId: QTAnimatorId, animatorId1: QTAnimatorId, animatorId2: QTAnimatorId, animatorId3: QTAnimatorId, animatorId4: QTAnimatorId): any;
28
+ playTogether5(animatorSetId: QTAnimatorId, animatorId1: QTAnimatorId, animatorId2: QTAnimatorId, animatorId3: QTAnimatorId, animatorId4: QTAnimatorId, animatorId5: QTAnimatorId): any;
29
+ objectAnimator(id: QTAnimatorId, valueType: QTAnimationValueType, propertyName: QTAnimationPropertyName, duration: number, repeatMode: QTAnimationRepeatMode, repeatCount: number, listenAnimator: boolean, listenAnimatorValue: boolean, interpolator?: QTAnimationInterpolator): any;
30
+ objectAnimator1(id: QTAnimatorId, valueType: QTAnimationValueType, propertyName: QTAnimationPropertyName, value1: number, duration: number, repeatMode: QTAnimationRepeatMode, repeatCount: number, listenAnimator: boolean, listenAnimatorValue: boolean, interpolator?: QTAnimationInterpolator): any;
31
+ objectAnimator2(id: QTAnimatorId, valueType: QTAnimationValueType, propertyName: QTAnimationPropertyName, value1: number, value2: number, duration: number, repeatMode: QTAnimationRepeatMode, repeatCount: number, listenAnimator: boolean, listenAnimatorValue: boolean, interpolator?: QTAnimationInterpolator): any;
32
+ objectAnimator3(id: QTAnimatorId, valueType: QTAnimationValueType, propertyName: QTAnimationPropertyName, value1: number, value2: number, value3: number, duration: number, repeatMode: QTAnimationRepeatMode, repeatCount: number, listenAnimator: boolean, listenAnimatorValue: boolean, interpolator?: QTAnimationInterpolator): any;
33
+ objectAnimator4(id: QTAnimatorId, valueType: QTAnimationValueType, propertyName: QTAnimationPropertyName, value1: number, value2: number, value3: number, value4: number, duration: number, repeatMode: QTAnimationRepeatMode, repeatCount: number, listenAnimator: boolean, listenAnimatorValue: boolean, interpolator?: QTAnimationInterpolator): any;
34
+ objectAnimator5(id: QTAnimatorId, valueType: QTAnimationValueType, propertyName: QTAnimationPropertyName, value1: number, value2: number, value3: number, value4: number, value5: number, duration: number, repeatMode: QTAnimationRepeatMode, repeatCount: number, listenAnimator: boolean, listenAnimatorValue: boolean, interpolator?: QTAnimationInterpolator): any;
35
+ objectAnimator6(id: QTAnimatorId, valueType: QTAnimationValueType, propertyName: QTAnimationPropertyName, value1: number, value2: number, value3: number, value4: number, value5: number, value6: number, duration: number, repeatMode: QTAnimationRepeatMode, repeatCount: number, listenAnimator: boolean, listenAnimatorValue: boolean, interpolator?: QTAnimationInterpolator): any;
36
+ objectAnimator7(id: QTAnimatorId, valueType: QTAnimationValueType, propertyName: QTAnimationPropertyName, value1: number, value2: number, value3: number, value4: number, value5: number, value6: number, value7: number, duration: number, repeatMode: QTAnimationRepeatMode, repeatCount: number, listenAnimator: boolean, listenAnimatorValue: boolean, interpolator?: QTAnimationInterpolator): any;
37
+ objectAnimator8(id: QTAnimatorId, valueType: QTAnimationValueType, propertyName: QTAnimationPropertyName, value1: number, value2: number, value3: number, value4: number, value5: number, value6: number, value7: number, value8: number, duration: number, repeatMode: QTAnimationRepeatMode, repeatCount: number, listenAnimator: boolean, listenAnimatorValue: boolean, interpolator?: QTAnimationInterpolator): any;
38
+ objectAnimator9(id: QTAnimatorId, valueType: QTAnimationValueType, propertyName: QTAnimationPropertyName, value1: number, value2: number, value3: number, value4: number, value5: number, value6: number, value7: number, value8: number, value9: number, duration: number, repeatMode: QTAnimationRepeatMode, repeatCount: number, listenAnimator: boolean, listenAnimatorValue: boolean, interpolator?: QTAnimationInterpolator): any;
39
+ objectAnimator10(id: QTAnimatorId, valueType: QTAnimationValueType, propertyName: QTAnimationPropertyName, value1: number, value2: number, value3: number, value4: number, value5: number, value6: number, value7: number, value8: number, value9: number, value10: number, duration: number, repeatMode: QTAnimationRepeatMode, repeatCount: number, listenAnimator: boolean, listenAnimatorValue: boolean, interpolator?: QTAnimationInterpolator): any;
40
+ }
@@ -0,0 +1,40 @@
1
+ export type QTAnimatorId = string;
2
+ export interface QTAnimationInterpolator {
3
+ type: QTAnimationInterpolatorType;
4
+ }
5
+ export declare enum QTAnimationInterpolatorType {
6
+ QT_ACCELERATE_DECELERATE_INTERPOLATOR = 1,
7
+ QT_ACCELERATE_INTERPOLATOR = 2,
8
+ QT_ANTICIPATE_INTERPOLATOR = 3,
9
+ QT_ANTICIPATE_OVERSHOOT_INTERPOLATOR = 4,
10
+ QT_BOUNCE_INTERPOLATOR = 5,
11
+ QT_CYCLE_INTERPOLATOR = 6,
12
+ QT_DECELERATE_INTERPOLATOR = 7,
13
+ QT_LINEAR_INTERPOLATOR = 8,
14
+ QT_OVERSHOOT_INTERPOLATOR = 9,
15
+ QT_FAST_OUT_LINEAR_IN_INTERPOLATOR = 10,
16
+ QT_FAST_OUT_SLOW_IN_INTERPOLATOR = 11,
17
+ QT_PATH_INTERPOLATOR = 12
18
+ }
19
+ export declare enum QTAnimationPropertyName {
20
+ QT_ANIMATION_PROPERTY_NAME_ALPHA = "alpha",
21
+ QT_ANIMATION_PROPERTY_NAME_ROTATION = "rotation",
22
+ QT_ANIMATION_PROPERTY_NAME_ROTATION_X = "rotationX",
23
+ QT_ANIMATION_PROPERTY_NAME_ROTATION_Y = "rotationY",
24
+ QT_ANIMATION_PROPERTY_NAME_ROTATION_Z = "rotationZ",
25
+ QT_ANIMATION_PROPERTY_NAME_SCALE_X = "scaleX",
26
+ QT_ANIMATION_PROPERTY_NAME_SCALE_Y = "scaleY",
27
+ QT_ANIMATION_PROPERTY_NAME_SCALE_Z = "scaleZ",
28
+ QT_ANIMATION_PROPERTY_NAME_TRANSLATION_X = "translationX",
29
+ QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Y = "translationY",
30
+ QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Z = "translationZ"
31
+ }
32
+ export declare enum QTAnimationRepeatMode {
33
+ QT_ANIMATION_REPEAT_MODE_RESTART = 1,
34
+ QT_ANIMATION_REPEAT_MODE_REVERSE = 2,
35
+ QT_ANIMATION_REPEAT_MODE_INFINITE = -1
36
+ }
37
+ export declare enum QTAnimationValueType {
38
+ QT_ANIMATION_VALUE_TYPE_INT = "ofInt",
39
+ QT_ANIMATION_VALUE_TYPE_FLOAT = "ofFloat"
40
+ }
@@ -0,0 +1,3 @@
1
+ import { ESApp } from "@extscreen/es3-vue";
2
+ declare function registerQTDialog(app: ESApp): void;
3
+ export default registerQTDialog;
@@ -54,3 +54,10 @@ export type { QTClassifiedListView } from './classified-list-view/core/QTClassif
54
54
  export type { QTClassifiedListViewItem } from './classified-list-view/core/QTClassifiedListViewItem';
55
55
  export type { QTClassifiedListViewItemDecoration } from './classified-list-view/core/QTClassifiedListViewItemDecoration';
56
56
  export { arrangeChildren4ListView };
57
+ export type { QTIWebView } from './webview/QTIWebView';
58
+ export type { QTIX5WebView } from './x5webview/QTIX5WebView';
59
+ export type { QTISeekBar } from './seekbar/QTISeekBar';
60
+ export type { QTIProgressBar } from './progressbar/QTIProgressBar';
61
+ export type { QTIAnimation } from './animation/QTIAnimation';
62
+ export { QTAnimationInterpolatorType, QTAnimationPropertyName, QTAnimationRepeatMode, QTAnimationValueType } from './animation/types';
63
+ export type { QTAnimationInterpolator, QTAnimatorId } from './animation/types';
@@ -0,0 +1,132 @@
1
+ import { ESGradient } from "@extscreen/es3-component";
2
+ export interface QTIProgressBar {
3
+ invalidateSeekBar(): any;
4
+ setFocusable(focusable: boolean): any;
5
+ setClickable(clickable: boolean): any;
6
+ requestFocus(): any;
7
+ requestLayout(): any;
8
+ invalidate(): any;
9
+ setVisible(visible: boolean): any;
10
+ setLeftSeekBarVisible(visible: boolean): any;
11
+ setRightSeekBarVisible(visible: boolean): any;
12
+ setSeekBarMode(mode: number): any;
13
+ setProgress(progress: number): any;
14
+ setSecondProgress(progress: number): any;
15
+ show(value: boolean): any;
16
+ setMaxProgress(progress: number): any;
17
+ setRangeProgress(leftValue: number, rightValue: number): any;
18
+ getProgress(): any;
19
+ getLeftProgress(): any;
20
+ getRightProgress(): any;
21
+ setRange(min: number, max: number, minInterval: number): any;
22
+ setGravity(gravity: number): any;
23
+ setProgressWidth(progressWidth: number): any;
24
+ setProgressHeight(progressHeight: number): any;
25
+ setProgressRadius(progressRadius: number): any;
26
+ setProgressColor(progressColor: number): any;
27
+ setProgressDefaultColor(defaultProgressColor: number): any;
28
+ setProgressDrawable(progressDrawable: ESGradient): any;
29
+ setProgressDefaultDrawable(progressDefaultDrawable: ESGradient): any;
30
+ setProgressUrl(progressUrl: string): any;
31
+ setProgressDefaultUrl(progressDefaultUrl: string): any;
32
+ showIndicator(showIndicator: boolean): any;
33
+ showLeftIndicator(showLeftIndicator: boolean): any;
34
+ showRightIndicator(showRightIndicator: boolean): any;
35
+ setIndicatorShowMode(indicatorShowMode: number): any;
36
+ setLeftIndicatorShowMode(indicatorShowMode: number): any;
37
+ setRightIndicatorShowMode(indicatorShowMode: number): any;
38
+ setIndicatorWidth(indicatorWidth: number): any;
39
+ setLeftIndicatorWidth(indicatorWidth: number): any;
40
+ setRightIndicatorWidth(indicatorWidth: number): any;
41
+ setIndicatorHeight(indicatorHeight: number): any;
42
+ setLeftIndicatorHeight(indicatorHeight: number): any;
43
+ setRightIndicatorHeight(indicatorHeight: number): any;
44
+ setIndicatorTextDecimalFormat(formatPattern: string): any;
45
+ setLeftIndicatorTextDecimalFormat(formatPattern: string): any;
46
+ setRightIndicatorTextDecimalFormat(formatPattern: string): any;
47
+ setIndicatorTextStringFormat(formatPattern: string): any;
48
+ setLeftIndicatorTextStringFormat(formatPattern: string): any;
49
+ setRightIndicatorTextStringFormat(formatPattern: string): any;
50
+ setIndicatorMargin(indicatorMargin: number): any;
51
+ setLeftIndicatorMargin(indicatorMargin: number): any;
52
+ setRightIndicatorMargin(indicatorMargin: number): any;
53
+ setIndicatorPaddingBottom(indicatorPaddingBottom: number): any;
54
+ setLeftIndicatorPaddingBottom(indicatorPaddingBottom: number): any;
55
+ setRightIndicatorPaddingBottom(indicatorPaddingBottom: number): any;
56
+ setIndicatorPaddingTop(indicatorPaddingTop: number): any;
57
+ setLeftIndicatorPaddingTop(indicatorPaddingTop: number): any;
58
+ setRightIndicatorPaddingTop(indicatorPaddingTop: number): any;
59
+ setIndicatorPaddingLeft(indicatorPaddingLeft: number): any;
60
+ setLeftIndicatorPaddingLeft(indicatorPaddingLeft: number): any;
61
+ setRightIndicatorPaddingLeft(indicatorPaddingLeft: number): any;
62
+ setIndicatorPaddingRight(indicatorPaddingRight: number): any;
63
+ setLeftIndicatorPaddingRight(indicatorPaddingRight: number): any;
64
+ setRightIndicatorPaddingRight(indicatorPaddingRight: number): any;
65
+ setIndicatorBackgroundColor(indicatorBackgroundColor: number): any;
66
+ setLeftIndicatorBackgroundColor(indicatorBackgroundColor: number): any;
67
+ setRightIndicatorBackgroundColor(indicatorBackgroundColor: number): any;
68
+ setIndicatorRadius(indicatorRadius: number): any;
69
+ setLeftIndicatorRadius(indicatorRadius: number): any;
70
+ setRightIndicatorRadius(indicatorRadius: number): any;
71
+ setIndicatorTextSize(indicatorTextSize: number): any;
72
+ setLeftIndicatorTextSize(indicatorTextSize: number): any;
73
+ setRightIndicatorTextSize(indicatorTextSize: number): any;
74
+ setIndicatorTextColor(indicatorTextColor: number): any;
75
+ setLeftIndicatorTextColor(indicatorTextColor: number): any;
76
+ setRightIndicatorTextColor(indicatorTextColor: number): any;
77
+ setIndicatorArrowSize(indicatorArrowSize: number): any;
78
+ setLeftIndicatorArrowSize(indicatorArrowSize: number): any;
79
+ setRightIndicatorArrowSize(indicatorArrowSize: number): any;
80
+ setIndicatorDrawable(indicatorDrawable: ESGradient): any;
81
+ setLeftIndicatorDrawable(leftIndicatorDrawable: ESGradient): any;
82
+ setRightIndicatorDrawable(rightIndicatorDrawable: ESGradient): any;
83
+ setIndicatorUrl(indicatorUrl: string): any;
84
+ setLeftIndicatorUrl(leftIndicatorUrl: string): any;
85
+ setRightIndicatorUrl(rightIndicatorUrl: string): any;
86
+ setThumbWidth(thumbWidth: number): any;
87
+ setLeftThumbWidth(thumbWidth: number): any;
88
+ setRightThumbWidth(thumbWidth: number): any;
89
+ setThumbHeight(thumbHeight: number): any;
90
+ setLeftThumbHeight(thumbHeight: number): any;
91
+ setRightThumbHeight(thumbHeight: number): any;
92
+ scaleThumb(): any;
93
+ scaleLeftThumb(): any;
94
+ scaleRightThumb(): any;
95
+ resetThumb(): any;
96
+ resetLeftThumb(): any;
97
+ resetRightThumb(): any;
98
+ setThumbScaleRatio(thumbScaleRatio: number): any;
99
+ setLeftThumbScaleRatio(thumbScaleRatio: number): any;
100
+ setRightThumbScaleRatio(thumbScaleRatio: number): any;
101
+ setThumbActivate(activate: boolean): any;
102
+ setLeftThumbActivate(activate: boolean): any;
103
+ setRightThumbActivate(activate: boolean): any;
104
+ setThumbDrawable(drawable: ESGradient): any;
105
+ setLeftThumbDrawable(drawable: ESGradient): any;
106
+ setRightThumbDrawable(drawable: ESGradient): any;
107
+ setThumbUrl(url: string): any;
108
+ setLeftThumbUrl(url: string): any;
109
+ setRightThumbUrl(url: string): any;
110
+ setThumbInactivatedDrawable(drawable: ESGradient): any;
111
+ setLeftThumbInactivatedDrawable(drawable: ESGradient): any;
112
+ setRightThumbInactivatedDrawable(drawable: ESGradient): any;
113
+ setThumbInactivatedUrl(url: string): any;
114
+ setLeftThumbInactivatedUrl(url: string): any;
115
+ setRightThumbInactivatedUrl(url: string): any;
116
+ setTickMarkMode(tickMarkMode: number): any;
117
+ setTickMarkGravity(tickMarkGravity: number): any;
118
+ setTickMarkLayoutGravity(tickMarkLayoutGravity: number): any;
119
+ setTickMarkTextArray(tickMarkTextArray: Array<string>): any;
120
+ setTickMarkTextMargin(tickMarkTextMargin: number): any;
121
+ setTickMarkTextSize(tickMarkTextSize: number): any;
122
+ setTickMarkTextColor(tickMarkTextColor: number): any;
123
+ setTickMarkInRangeTextColor(tickMarkInRangeTextColor: number): any;
124
+ setSteps(steps: number): any;
125
+ setStepsWidth(stepsWidth: number): any;
126
+ setStepsHeight(stepsHeight: number): any;
127
+ setStepsRadius(stepsRadius: number): any;
128
+ setStepsColor(stepsColor: number): any;
129
+ setStepsAutoBonding(stepsAutoBonding: boolean): any;
130
+ setStepsDrawable(drawableArray: Array<ESGradient>): any;
131
+ setStepsUrl(urlArray: Array<string>): any;
132
+ }
@@ -0,0 +1,3 @@
1
+ import { ESApp } from "@extscreen/es3-vue";
2
+ declare function registerQTProgressBarView(app: ESApp): void;
3
+ export default registerQTProgressBarView;
@@ -0,0 +1,3 @@
1
+ import { ESApp } from "@extscreen/es3-vue";
2
+ declare function registerQTQRCodeView(app: ESApp): void;
3
+ export default registerQTQRCodeView;
@@ -0,0 +1,136 @@
1
+ import { ESGradient } from "@extscreen/es3-component";
2
+ export interface QTISeekBar {
3
+ setProgress(p: number): any;
4
+ setMaxProgress(value: number): any;
5
+ resetSeekbar(): any;
6
+ startSeek(forward: any): any;
7
+ stopSeek(): any;
8
+ isFocused(): any;
9
+ invalidateSeekBar(): any;
10
+ setFocusable(focusable: boolean): any;
11
+ setClickable(clickable: boolean): any;
12
+ requestFocus(): any;
13
+ requestLayout(): any;
14
+ invalidate(): any;
15
+ setVisible(visible: boolean): any;
16
+ setLeftSeekBarVisible(visible: boolean): any;
17
+ setRightSeekBarVisible(visible: boolean): any;
18
+ setSeekBarMode(mode: number): any;
19
+ setRangeProgress(leftValue: number, rightValue: number): any;
20
+ getProgress(): any;
21
+ getLeftProgress(): any;
22
+ getRightProgress(): any;
23
+ setRange(min: number, max: number, minInterval: number): any;
24
+ setGravity(gravity: number): any;
25
+ setProgressWidth(progressWidth: number): any;
26
+ setProgressHeight(progressHeight: number): any;
27
+ setProgressRadius(progressRadius: number): any;
28
+ setProgressColor(progressColor: number): any;
29
+ setProgressDefaultColor(defaultProgressColor: number): any;
30
+ setProgressDrawable(progressDrawable: ESGradient): any;
31
+ setProgressDefaultDrawable(progressDefaultDrawable: ESGradient): any;
32
+ setProgressUrl(progressUrl: string): any;
33
+ setProgressDefaultUrl(progressDefaultUrl: string): any;
34
+ showIndicator(showIndicator: boolean): any;
35
+ showLeftIndicator(showLeftIndicator: boolean): any;
36
+ showRightIndicator(showRightIndicator: boolean): any;
37
+ setIndicatorShowMode(indicatorShowMode: number): any;
38
+ setLeftIndicatorShowMode(indicatorShowMode: number): any;
39
+ setRightIndicatorShowMode(indicatorShowMode: number): any;
40
+ setIndicatorWidth(indicatorWidth: number): any;
41
+ setLeftIndicatorWidth(indicatorWidth: number): any;
42
+ setRightIndicatorWidth(indicatorWidth: number): any;
43
+ setIndicatorHeight(indicatorHeight: number): any;
44
+ setLeftIndicatorHeight(indicatorHeight: number): any;
45
+ setRightIndicatorHeight(indicatorHeight: number): any;
46
+ setIndicatorTextDecimalFormat(formatPattern: string): any;
47
+ setLeftIndicatorTextDecimalFormat(formatPattern: string): any;
48
+ setRightIndicatorTextDecimalFormat(formatPattern: string): any;
49
+ setIndicatorTextStringFormat(formatPattern: string): any;
50
+ setLeftIndicatorTextStringFormat(formatPattern: string): any;
51
+ setRightIndicatorTextStringFormat(formatPattern: string): any;
52
+ setIndicatorMargin(indicatorMargin: number): any;
53
+ setLeftIndicatorMargin(indicatorMargin: number): any;
54
+ setRightIndicatorMargin(indicatorMargin: number): any;
55
+ setIndicatorPaddingBottom(indicatorPaddingBottom: number): any;
56
+ setLeftIndicatorPaddingBottom(indicatorPaddingBottom: number): any;
57
+ setRightIndicatorPaddingBottom(indicatorPaddingBottom: number): any;
58
+ setIndicatorPaddingTop(indicatorPaddingTop: number): any;
59
+ setLeftIndicatorPaddingTop(indicatorPaddingTop: number): any;
60
+ setRightIndicatorPaddingTop(indicatorPaddingTop: number): any;
61
+ setIndicatorPaddingLeft(indicatorPaddingLeft: number): any;
62
+ setLeftIndicatorPaddingLeft(indicatorPaddingLeft: number): any;
63
+ setRightIndicatorPaddingLeft(indicatorPaddingLeft: number): any;
64
+ setIndicatorPaddingRight(indicatorPaddingRight: number): any;
65
+ setLeftIndicatorPaddingRight(indicatorPaddingRight: number): any;
66
+ setRightIndicatorPaddingRight(indicatorPaddingRight: number): any;
67
+ setIndicatorBackgroundColor(indicatorBackgroundColor: number): any;
68
+ setLeftIndicatorBackgroundColor(indicatorBackgroundColor: number): any;
69
+ setRightIndicatorBackgroundColor(indicatorBackgroundColor: number): any;
70
+ setIndicatorRadius(indicatorRadius: number): any;
71
+ setLeftIndicatorRadius(indicatorRadius: number): any;
72
+ setRightIndicatorRadius(indicatorRadius: number): any;
73
+ setIndicatorTextSize(indicatorTextSize: number): any;
74
+ setLeftIndicatorTextSize(indicatorTextSize: number): any;
75
+ setRightIndicatorTextSize(indicatorTextSize: number): any;
76
+ setIndicatorTextColor(indicatorTextColor: number): any;
77
+ setLeftIndicatorTextColor(indicatorTextColor: number): any;
78
+ setRightIndicatorTextColor(indicatorTextColor: number): any;
79
+ setIndicatorArrowSize(indicatorArrowSize: number): any;
80
+ setLeftIndicatorArrowSize(indicatorArrowSize: number): any;
81
+ setRightIndicatorArrowSize(indicatorArrowSize: number): any;
82
+ setIndicatorDrawable(indicatorDrawable: ESGradient): any;
83
+ setLeftIndicatorDrawable(leftIndicatorDrawable: ESGradient): any;
84
+ setRightIndicatorDrawable(rightIndicatorDrawable: ESGradient): any;
85
+ setIndicatorUrl(indicatorUrl: string): any;
86
+ setLeftIndicatorUrl(leftIndicatorUrl: string): any;
87
+ setRightIndicatorUrl(rightIndicatorUrl: string): any;
88
+ setThumbWidth(thumbWidth: number): any;
89
+ setLeftThumbWidth(thumbWidth: number): any;
90
+ setRightThumbWidth(thumbWidth: number): any;
91
+ setThumbHeight(thumbHeight: number): any;
92
+ setLeftThumbHeight(thumbHeight: number): any;
93
+ setRightThumbHeight(thumbHeight: number): any;
94
+ scaleThumb(): any;
95
+ scaleLeftThumb(): any;
96
+ scaleRightThumb(): any;
97
+ resetThumb(): any;
98
+ resetLeftThumb(): any;
99
+ resetRightThumb(): any;
100
+ setThumbScaleRatio(thumbScaleRatio: number): any;
101
+ setLeftThumbScaleRatio(thumbScaleRatio: number): any;
102
+ setRightThumbScaleRatio(thumbScaleRatio: number): any;
103
+ setThumbActivate(activate: boolean): any;
104
+ setLeftThumbActivate(activate: boolean): any;
105
+ setRightThumbActivate(activate: boolean): any;
106
+ setThumbDrawable(drawable: ESGradient): any;
107
+ setLeftThumbDrawable(drawable: ESGradient): any;
108
+ setRightThumbDrawable(drawable: ESGradient): any;
109
+ setThumbUrl(url: string): any;
110
+ setLeftThumbUrl(url: string): any;
111
+ setRightThumbUrl(url: string): any;
112
+ setThumbInactivatedDrawable(drawable: ESGradient): any;
113
+ setLeftThumbInactivatedDrawable(drawable: ESGradient): any;
114
+ setRightThumbInactivatedDrawable(drawable: ESGradient): any;
115
+ setThumbInactivatedUrl(url: string): any;
116
+ setLeftThumbInactivatedUrl(url: string): any;
117
+ setRightThumbInactivatedUrl(url: string): any;
118
+ setTickMarkMode(tickMarkMode: number): any;
119
+ setTickMarkGravity(tickMarkGravity: number): any;
120
+ setTickMarkLayoutGravity(tickMarkLayoutGravity: number): any;
121
+ setTickMarkTextArray(tickMarkTextArray: Array<string>): any;
122
+ setTickMarkTextMargin(tickMarkTextMargin: number): any;
123
+ setTickMarkTextSize(tickMarkTextSize: number): any;
124
+ setTickMarkTextColor(tickMarkTextColor: number): any;
125
+ setTickMarkInRangeTextColor(tickMarkInRangeTextColor: number): any;
126
+ setSteps(steps: number): any;
127
+ setStepsWidth(stepsWidth: number): any;
128
+ setStepsHeight(stepsHeight: number): any;
129
+ setStepsRadius(stepsRadius: number): any;
130
+ setStepsColor(stepsColor: number): any;
131
+ setStepsAutoBonding(stepsAutoBonding: boolean): any;
132
+ setStepsDrawable(drawableArray: Array<ESGradient>): any;
133
+ setStepsUrl(urlArray: Array<string>): any;
134
+ setSecondProgress(progress: number): any;
135
+ show(value: boolean): any;
136
+ }
@@ -0,0 +1,3 @@
1
+ import { ESApp } from "@extscreen/es3-vue";
2
+ declare function registerQTSeekBarView(app: ESApp): void;
3
+ export default registerQTSeekBarView;
@@ -0,0 +1,68 @@
1
+ export interface QTIWebView {
2
+ loadUrl(url: string): any;
3
+ evaluateJavascript(value: string): any;
4
+ canGoBack(): any;
5
+ goBack(): any;
6
+ canGoForward(): any;
7
+ goForward(): any;
8
+ canGoBackOrForward(steps: number): any;
9
+ goBackOrForward(steps: number): any;
10
+ onResume(): any;
11
+ onPause(): any;
12
+ pauseTimers(): any;
13
+ resumeTimers(): any;
14
+ destroy(): any;
15
+ setJavaScriptEnabled(value: boolean): any;
16
+ setPluginState(value: number): any;
17
+ setJavaScriptCanOpenWindowsAutomatically(value: boolean): any;
18
+ setUseWideViewPort(value: boolean): any;
19
+ setLoadWithOverviewMode(value: boolean): any;
20
+ setSupportZoom(value: boolean): any;
21
+ setBuiltInZoomControls(value: boolean): any;
22
+ setDisplayZoomControls(value: boolean): any;
23
+ setAllowFileAccess(value: boolean): any;
24
+ setDomStorageEnabled(value: boolean): any;
25
+ setDatabaseEnabled(value: boolean): any;
26
+ setAppCacheEnabled(value: boolean): any;
27
+ setAppCachePath(value: boolean): any;
28
+ setMediaPlaybackRequiresUserGesture(value: boolean): any;
29
+ setStandardFontFamily(value: string): any;
30
+ setFixedFontFamily(value: string): any;
31
+ setSansSerifFontFamily(value: string): any;
32
+ setSerifFontFamily(value: string): any;
33
+ setCursiveFontFamily(value: string): any;
34
+ setFantasyFontFamily(value: string): any;
35
+ setTextZoom(value: number): any;
36
+ setMinimumFontSize(value: number): any;
37
+ setDefaultFontSize(value: number): any;
38
+ setLayoutAlgorithm(value: number): any;
39
+ setLoadsImagesAutomatically(value: boolean): any;
40
+ setDefaultTextEncodingName(value: string): any;
41
+ setNeedInitialFocus(value: boolean): any;
42
+ setGeolocationEnabled(value: boolean): any;
43
+ setBlockNetworkLoads(value: boolean): any;
44
+ setSupportMultipleWindows(value: boolean): any;
45
+ setAppCacheMaxSize(value: number): any;
46
+ setRenderPriority(value: number): any;
47
+ setCacheMode(value: number): any;
48
+ setAllowContentAccess(value: boolean): any;
49
+ setEnableSmoothTransition(value: boolean): any;
50
+ setSaveFormData(value: boolean): any;
51
+ setSavePassword(value: boolean): any;
52
+ setTextSize(value: number): any;
53
+ setDefaultZoom(value: number): any;
54
+ setLightTouchEnabled(value: boolean): any;
55
+ setMinimumLogicalFontSize(value: number): any;
56
+ setDefaultFixedFontSize(value: number): any;
57
+ setBlockNetworkImage(value: boolean): any;
58
+ setAllowUniversalAccessFromFileURLs(value: boolean): any;
59
+ setAllowFileAccessFromFileURLs(value: boolean): any;
60
+ setDatabasePath(value: string): any;
61
+ setGeolocationDatabasePath(value: string): any;
62
+ setUserAgentString(value: string): any;
63
+ setMixedContentMode(value: number): any;
64
+ setOffscreenPreRaster(value: boolean): any;
65
+ setSafeBrowsingEnabled(value: boolean): any;
66
+ setForceDark(value: number): any;
67
+ setDisabledActionModeMenuItems(value: number): any;
68
+ }
@@ -0,0 +1,3 @@
1
+ import { ESApp } from "@extscreen/es3-vue";
2
+ declare function registerQTWebView(app: ESApp): void;
3
+ export default registerQTWebView;
@@ -0,0 +1,70 @@
1
+ export interface QTIX5WebView {
2
+ loadUrl(url: string): any;
3
+ evaluateJavascript(value: string): any;
4
+ canGoBack(): any;
5
+ goBack(): any;
6
+ canGoForward(): any;
7
+ goForward(): any;
8
+ canGoBackOrForward(steps: number): any;
9
+ goBackOrForward(steps: number): any;
10
+ onResume(): any;
11
+ onPause(): any;
12
+ pauseTimers(): any;
13
+ resumeTimers(): any;
14
+ destroy(): any;
15
+ setJavaScriptEnabled(value: boolean): any;
16
+ setPluginState(value: number): any;
17
+ setJavaScriptCanOpenWindowsAutomatically(value: boolean): any;
18
+ setUseWideViewPort(value: boolean): any;
19
+ setLoadWithOverviewMode(value: boolean): any;
20
+ setSupportZoom(value: boolean): any;
21
+ setBuiltInZoomControls(value: boolean): any;
22
+ setDisplayZoomControls(value: boolean): any;
23
+ setAllowFileAccess(value: boolean): any;
24
+ setDomStorageEnabled(value: boolean): any;
25
+ setDatabaseEnabled(value: boolean): any;
26
+ setAppCacheEnabled(value: boolean): any;
27
+ setAppCachePath(value: boolean): any;
28
+ setMediaPlaybackRequiresUserGesture(value: boolean): any;
29
+ setStandardFontFamily(value: string): any;
30
+ setFixedFontFamily(value: string): any;
31
+ setSansSerifFontFamily(value: string): any;
32
+ setSerifFontFamily(value: string): any;
33
+ setCursiveFontFamily(value: string): any;
34
+ setFantasyFontFamily(value: string): any;
35
+ setTextZoom(value: number): any;
36
+ setMinimumFontSize(value: number): any;
37
+ setDefaultFontSize(value: number): any;
38
+ setLayoutAlgorithm(value: number): any;
39
+ setLoadsImagesAutomatically(value: boolean): any;
40
+ setDefaultTextEncodingName(value: string): any;
41
+ setNeedInitialFocus(value: boolean): any;
42
+ setGeolocationEnabled(value: boolean): any;
43
+ setBlockNetworkLoads(value: boolean): any;
44
+ setSupportMultipleWindows(value: boolean): any;
45
+ setAppCacheMaxSize(value: number): any;
46
+ setRenderPriority(value: number): any;
47
+ setCacheMode(value: number): any;
48
+ setAllowContentAccess(value: boolean): any;
49
+ setEnableSmoothTransition(value: boolean): any;
50
+ setSaveFormData(value: boolean): any;
51
+ setSavePassword(value: boolean): any;
52
+ setTextSize(value: number): any;
53
+ setDefaultZoom(value: number): any;
54
+ setLightTouchEnabled(value: boolean): any;
55
+ setMinimumLogicalFontSize(value: number): any;
56
+ setDefaultFixedFontSize(value: number): any;
57
+ setBlockNetworkImage(value: boolean): any;
58
+ setAllowUniversalAccessFromFileURLs(value: boolean): any;
59
+ setAllowFileAccessFromFileURLs(value: boolean): any;
60
+ setDatabasePath(value: string): any;
61
+ setGeolocationDatabasePath(value: string): any;
62
+ setUserAgentString(value: string): any;
63
+ setMixedContentMode(value: number): any;
64
+ setOffscreenPreRaster(value: boolean): any;
65
+ setSafeBrowsingEnabled(value: boolean): any;
66
+ setForceDark(value: number): any;
67
+ setDisabledActionModeMenuItems(value: number): any;
68
+ initJavaScriptInterface(): any;
69
+ removeJavaScriptInterface(): any;
70
+ }
@@ -0,0 +1,3 @@
1
+ import { ESApp } from "@extscreen/es3-vue";
2
+ declare function registerQTX5WebView(app: ESApp): void;
3
+ export default registerQTX5WebView;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quicktvui/quicktvui3",
3
- "version": "0.0.96",
3
+ "version": "1.0.1",
4
4
  "description": "ExtScreen framework",
5
5
  "author": "ExtScreen Team",
6
6
  "homepage": "http://extscreen.com",