@quicktvui/quicktvui3 1.0.69 → 1.0.70
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
|
-
"use strict";var e=require("vue"),t=require("@extscreen/es3-vue"),n=require("@extscreen/es3-core");function o(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 i=()=>{},l=/^on[^a-z]/,c=e=>l.test(e),s=Object.assign,r=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},u=Object.prototype.hasOwnProperty,d=(e,t)=>u.call(e,t),f=Array.isArray,p=e=>"[object Map]"===F(e),v=e=>"[object Set]"===F(e),m=e=>"function"==typeof e,g=e=>"string"==typeof e,I=e=>"symbol"==typeof e,T=e=>null!==e&&"object"==typeof e,h=e=>(T(e)||m(e))&&m(e.then)&&m(e.catch),S=Object.prototype.toString,F=e=>S.call(e),_=e=>F(e).slice(8,-1),N=e=>"[object Object]"===F(e),b=e=>g(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,y=(e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))})((e=>e.charAt(0).toUpperCase()+e.slice(1))),E=(e,t)=>!Object.is(e,t),x=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})};let P;const L=()=>P||(P="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{});function C(e){if(f(e)){const t={};for(let n=0;n<e.length;n++){const o=e[n],a=g(o)?A(o):C(o);if(a)for(const e in a)t[e]=a[e]}return t}if(g(e)||T(e))return e}const U=/;(?![^(]*\))/g,k=/:([^]+)/,R=/\/\*[^]*?\*\//g;function A(e){const t={};return e.replace(R,"").split(U).forEach((e=>{if(e){const n=e.split(k);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}function D(e){let t="";if(g(e))t=e;else if(f(e))for(let n=0;n<e.length;n++){const o=D(e[n]);o&&(t+=o+" ")}else if(T(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function w(e,...t){console.warn(`[Vue warn] ${e}`,...t)}let B;const O=e=>{const t=new Set(e);return t.w=0,t.n=0,t},M=e=>(e.w&z)>0,V=e=>(e.n&z)>0,Q=new WeakMap;let $=0,z=1;const W=30;let G;const q=Symbol("production"!==process.env.NODE_ENV?"iterate":""),Y=Symbol("production"!==process.env.NODE_ENV?"Map key iterate":"");class H{constructor(e,t=null,n){this.fn=e,this.scheduler=t,this.active=!0,this.deps=[],this.parent=void 0,function(e,t=B){t&&t.active&&t.effects.push(e)}(this,n)}run(){if(!this.active)return this.fn();let e=G,t=X;for(;e;){if(e===this)return;e=e.parent}try{return this.parent=G,G=this,X=!0,z=1<<++$,$<=W?(({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=z})(this):j(this),this.fn()}finally{$<=W&&(e=>{const{deps:t}=e;if(t.length){let n=0;for(let o=0;o<t.length;o++){const a=t[o];M(a)&&!V(a)?a.delete(e):t[n++]=a,a.w&=~z,a.n&=~z}t.length=n}})(this),z=1<<--$,G=this.parent,X=t,this.parent=void 0,this.deferStop&&this.stop()}}stop(){G===this?this.deferStop=!0:this.active&&(j(this),this.onStop&&this.onStop(),this.active=!1)}}function j(e){const{deps:t}=e;if(t.length){for(let n=0;n<t.length;n++)t[n].delete(e);t.length=0}}let X=!0;const J=[];function Z(){J.push(X),X=!1}function K(){const e=J.pop();X=void 0===e||e}function ee(e,t,n){if(X&&G){let o=Q.get(e);o||Q.set(e,o=new Map);let a=o.get(n);a||o.set(n,a=O());!function(e,t){let n=!1;$<=W?V(e)||(e.n|=z,n=!M(e)):n=!e.has(G);n&&(e.add(G),G.deps.push(e),"production"!==process.env.NODE_ENV&&G.onTrack&&G.onTrack(s({effect:G},t)))}(a,"production"!==process.env.NODE_ENV?{effect:G,target:e,type:t,key:n}:void 0)}}function te(e,t,n,o,a,i){const l=Q.get(e);if(!l)return;let c=[];if("clear"===t)c=[...l.values()];else if("length"===n&&f(e)){const e=Number(o);l.forEach(((t,n)=>{("length"===n||!I(n)&&n>=e)&&c.push(t)}))}else switch(void 0!==n&&c.push(l.get(n)),t){case"add":f(e)?b(n)&&c.push(l.get("length")):(c.push(l.get(q)),p(e)&&c.push(l.get(Y)));break;case"delete":f(e)||(c.push(l.get(q)),p(e)&&c.push(l.get(Y)));break;case"set":p(e)&&c.push(l.get(q))}const s="production"!==process.env.NODE_ENV?{target:e,type:t,key:n,newValue:o,oldValue:a,oldTarget:i}:void 0;if(1===c.length)c[0]&&("production"!==process.env.NODE_ENV?ne(c[0],s):ne(c[0]));else{const e=[];for(const t of c)t&&e.push(...t);"production"!==process.env.NODE_ENV?ne(O(e),s):ne(O(e))}}function ne(e,t){const n=f(e)?e:[...e];for(const e of n)e.computed&&oe(e,t);for(const e of n)e.computed||oe(e,t)}function oe(e,t){(e!==G||e.allowRecurse)&&("production"!==process.env.NODE_ENV&&e.onTrigger&&e.onTrigger(s({effect:e},t)),e.scheduler?e.scheduler():e.run())}const ae=o("__proto__,__v_isRef,__isVue"),ie=new Set(Object.getOwnPropertyNames(Symbol).filter((e=>"arguments"!==e&&"caller"!==e)).map((e=>Symbol[e])).filter(I)),le=ce();function ce(){const e={};return["includes","indexOf","lastIndexOf"].forEach((t=>{e[t]=function(...e){const n=je(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(je)):o}})),["push","pop","shift","unshift","splice"].forEach((t=>{e[t]=function(...e){Z();const n=je(this)[t].apply(this,e);return K(),n}})),e}function se(e){const t=je(this);return ee(t,"has",e),t.hasOwnProperty(e)}class re{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?Ve:Me:a?Oe:Be).get(e))return e;const i=f(e);if(!o){if(i&&d(le,t))return Reflect.get(le,t,n);if("hasOwnProperty"===t)return se}const l=Reflect.get(e,t,n);return(I(t)?ie.has(t):ae(t))?l:(o||ee(e,"get",t),a?l:Ze(l)?i&&b(t)?l:l.value:T(l)?o?$e(l):Qe(l):l)}}class ue extends re{constructor(e=!1){super(!1,e)}set(e,t,n,o){let a=e[t];if(qe(a)&&Ze(a)&&!Ze(n))return!1;if(!this._shallow&&(Ye(n)||qe(n)||(a=je(a),n=je(n)),!f(e)&&Ze(a)&&!Ze(n)))return a.value=n,!0;const i=f(e)&&b(t)?Number(t)<e.length:d(e,t),l=Reflect.set(e,t,n,o);return e===je(o)&&(i?E(n,a)&&te(e,"set",t,n,a):te(e,"add",t,n)),l}deleteProperty(e,t){const n=d(e,t),o=e[t],a=Reflect.deleteProperty(e,t);return a&&n&&te(e,"delete",t,void 0,o),a}has(e,t){const n=Reflect.has(e,t);return I(t)&&ie.has(t)||ee(e,"has",t),n}ownKeys(e){return ee(e,"iterate",f(e)?"length":q),Reflect.ownKeys(e)}}class de extends re{constructor(e=!1){super(!0,e)}set(e,t){return"production"!==process.env.NODE_ENV&&w(`Set operation on key "${String(t)}" failed: target is readonly.`,e),!0}deleteProperty(e,t){return"production"!==process.env.NODE_ENV&&w(`Delete operation on key "${String(t)}" failed: target is readonly.`,e),!0}}const fe=new ue,pe=new de,ve=new de(!0),me=e=>e,ge=e=>Reflect.getPrototypeOf(e);function Ie(e,t,n=!1,o=!1){const a=je(e=e.__v_raw),i=je(t);n||(E(t,i)&&ee(a,"get",t),ee(a,"get",i));const{has:l}=ge(a),c=o?me:n?Je:Xe;return l.call(a,t)?c(e.get(t)):l.call(a,i)?c(e.get(i)):void(e!==a&&e.get(t))}function Te(e,t=!1){const n=this.__v_raw,o=je(n),a=je(e);return t||(E(e,a)&&ee(o,"has",e),ee(o,"has",a)),e===a?n.has(e):n.has(e)||n.has(a)}function he(e,t=!1){return e=e.__v_raw,!t&&ee(je(e),"iterate",q),Reflect.get(e,"size",e)}function Se(e){e=je(e);const t=je(this);return ge(t).has.call(t,e)||(t.add(e),te(t,"add",e,e)),this}function Fe(e,t){t=je(t);const n=je(this),{has:o,get:a}=ge(n);let i=o.call(n,e);i?"production"!==process.env.NODE_ENV&&we(n,o,e):(e=je(e),i=o.call(n,e));const l=a.call(n,e);return n.set(e,t),i?E(t,l)&&te(n,"set",e,t,l):te(n,"add",e,t),this}function _e(e){const t=je(this),{has:n,get:o}=ge(t);let a=n.call(t,e);a?"production"!==process.env.NODE_ENV&&we(t,n,e):(e=je(e),a=n.call(t,e));const i=o?o.call(t,e):void 0,l=t.delete(e);return a&&te(t,"delete",e,void 0,i),l}function Ne(){const e=je(this),t=0!==e.size,n="production"!==process.env.NODE_ENV?p(e)?new Map(e):new Set(e):void 0,o=e.clear();return t&&te(e,"clear",void 0,void 0,n),o}function be(e,t){return function(n,o){const a=this,i=a.__v_raw,l=je(i),c=t?me:e?Je:Xe;return!e&&ee(l,"iterate",q),i.forEach(((e,t)=>n.call(o,c(e),c(t),a)))}}function ye(e,t,n){return function(...o){const a=this.__v_raw,i=je(a),l=p(i),c="entries"===e||e===Symbol.iterator&&l,s="keys"===e&&l,r=a[e](...o),u=n?me:t?Je:Xe;return!t&&ee(i,"iterate",s?Y:q),{next(){const{value:e,done:t}=r.next();return t?{value:e,done:t}:{value:c?[u(e[0]),u(e[1])]:u(e),done:t}},[Symbol.iterator](){return this}}}}function Ee(e){return function(...t){if("production"!==process.env.NODE_ENV){const n=t[0]?`on key "${t[0]}" `:"";console.warn(`${y(e)} operation ${n}failed: target is readonly.`,je(this))}return"delete"!==e&&this}}function xe(){const e={get(e){return Ie(this,e)},get size(){return he(this)},has:Te,add:Se,set:Fe,delete:_e,clear:Ne,forEach:be(!1,!1)},t={get(e){return Ie(this,e,!1,!0)},get size(){return he(this)},has:Te,add:Se,set:Fe,delete:_e,clear:Ne,forEach:be(!1,!0)},n={get(e){return Ie(this,e,!0)},get size(){return he(this,!0)},has(e){return Te.call(this,e,!0)},add:Ee("add"),set:Ee("set"),delete:Ee("delete"),clear:Ee("clear"),forEach:be(!0,!1)},o={get(e){return Ie(this,e,!0,!0)},get size(){return he(this,!0)},has(e){return Te.call(this,e,!0)},add:Ee("add"),set:Ee("set"),delete:Ee("delete"),clear:Ee("clear"),forEach:be(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach((a=>{e[a]=ye(a,!1,!1),n[a]=ye(a,!0,!1),t[a]=ye(a,!1,!0),o[a]=ye(a,!0,!0)})),[e,n,t,o]}const[Pe,Le,Ce,Ue]=xe();function ke(e,t){const n=t?e?Ue:Ce:e?Le:Pe;return(t,o,a)=>"__v_isReactive"===o?!e:"__v_isReadonly"===o?e:"__v_raw"===o?t:Reflect.get(d(n,o)&&o in t?n:t,o,a)}const Re={get:ke(!1,!1)},Ae={get:ke(!0,!1)},De={get:ke(!0,!0)};function we(e,t,n){const o=je(n);if(o!==n&&t.call(e,o)){const t=_(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 Be=new WeakMap,Oe=new WeakMap,Me=new WeakMap,Ve=new WeakMap;function Qe(e){return qe(e)?e:We(e,!1,fe,Re,Be)}function $e(e){return We(e,!0,pe,Ae,Me)}function ze(e){return We(e,!0,ve,De,Ve)}function We(e,t,n,o,a){if(!T(e))return"production"!==process.env.NODE_ENV&&console.warn(`value cannot be made reactive: ${String(e)}`),e;if(e.__v_raw&&(!t||!e.__v_isReactive))return e;const i=a.get(e);if(i)return i;const l=(c=e).__v_skip||!Object.isExtensible(c)?0:function(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}(_(c));var c;if(0===l)return e;const s=new Proxy(e,2===l?o:n);return a.set(e,s),s}function Ge(e){return qe(e)?Ge(e.__v_raw):!(!e||!e.__v_isReactive)}function qe(e){return!(!e||!e.__v_isReadonly)}function Ye(e){return!(!e||!e.__v_isShallow)}function He(e){return Ge(e)||qe(e)}function je(e){const t=e&&e.__v_raw;return t?je(t):e}const Xe=e=>T(e)?Qe(e):e,Je=e=>T(e)?$e(e):e;function Ze(e){return!(!e||!0!==e.__v_isRef)}const Ke={get:(e,t,n)=>{return Ze(o=Reflect.get(e,t,n))?o.value:o;var o},set:(e,t,n,o)=>{const a=e[t];return Ze(a)&&!Ze(n)?(a.value=n,!0):Reflect.set(e,t,n,o)}};const et=[];function tt(e,...t){if("production"===process.env.NODE_ENV)return;Z();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)it(o,n,11,[e+t.join(""),n&&n.proxy,a.map((({vnode:e})=>`at <${_n(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 <${_n(e.component,e.type,o)}`,i=">"+n;return e.props?[a,...nt(e.props),i]:[a+i]}(e))})),t}(a)),console.warn(...n)}K()}function nt(e){const t=[],n=Object.keys(e);return n.slice(0,3).forEach((n=>{t.push(...ot(n,e[n]))})),n.length>3&&t.push(" ..."),t}function ot(e,t,n){return g(t)?(t=JSON.stringify(t),n?t:[`${e}=${t}`]):"number"==typeof t||"boolean"==typeof t||null==t?n?t:[`${e}=${t}`]:Ze(t)?(t=ot(e,je(t.value),!0),n?t:[`${e}=Ref<`,t,">"]):m(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=je(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 it(e,t,n,o){let a;try{a=o?e(...o):e()}catch(e){ct(e,t,n)}return a}function lt(e,t,n,o){if(m(e)){const a=it(e,t,n,o);return a&&h(a)&&a.catch((e=>{ct(e,t,n)})),a}const a=[];for(let i=0;i<e.length;i++)a.push(lt(e[i],t,n,o));return a}function ct(e,t,n,o=!0){const a=t?t.vnode:null;if(t){let o=t.parent;const a=t.proxy,i="production"!==process.env.NODE_ENV?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,i))return;o=o.parent}const l=t.appContext.config.errorHandler;if(l)return void it(l,null,10,[e,a,i])}!function(e,t,n,o=!0){if("production"!==process.env.NODE_ENV){const i=at[t];if(n&&(a=n,et.push(a)),tt("Unhandled error"+(i?` during execution of ${i}`:"")),n&&et.pop(),o)throw e;console.error(e)}else console.error(e);var a}(e,n,a,o)}let st=!1,rt=!1;const ut=[];let dt=0;const ft=[];let pt=null,vt=0;const mt=Promise.resolve();let gt=null;const It=100;function Tt(e){const t=gt||mt;return e?t.then(this?e.bind(this):e):t}function ht(e){ut.length&&ut.includes(e,st&&e.allowRecurse?dt+1:dt)||(null==e.id?ut.push(e):ut.splice(function(e){let t=dt+1,n=ut.length;for(;t<n;){const o=t+n>>>1,a=ut[o],i=_t(a);i<e||i===e&&a.pre?t=o+1:n=o}return t}(e.id),0,e),St())}function St(){st||rt||(rt=!0,gt=mt.then(bt))}function Ft(e){f(e)?ft.push(...e):pt&&pt.includes(e,e.allowRecurse?vt+1:vt)||ft.push(e),St()}const _t=e=>null==e.id?1/0:e.id,Nt=(e,t)=>{const n=_t(e)-_t(t);if(0===n){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function bt(e){rt=!1,st=!0,"production"!==process.env.NODE_ENV&&(e=e||new Map),ut.sort(Nt);const t="production"!==process.env.NODE_ENV?t=>yt(e,t):i;try{for(dt=0;dt<ut.length;dt++){const e=ut[dt];if(e&&!1!==e.active){if("production"!==process.env.NODE_ENV&&t(e))continue;it(e,null,14)}}}finally{dt=0,ut.length=0,function(e){if(ft.length){const t=[...new Set(ft)];if(ft.length=0,pt)return void pt.push(...t);for(pt=t,"production"!==process.env.NODE_ENV&&(e=e||new Map),pt.sort(((e,t)=>_t(e)-_t(t))),vt=0;vt<pt.length;vt++)"production"!==process.env.NODE_ENV&&yt(e,pt[vt])||pt[vt]();pt=null,vt=0}}(e),st=!1,gt=null,(ut.length||ft.length)&&bt(e)}}function yt(e,t){if(e.has(t)){const n=e.get(t);if(n>It){const e=t.ownerInstance,n=e&&Fn(e.type);return tt(`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 Et=new Set;"production"!==process.env.NODE_ENV&&(L().__VUE_HMR_RUNTIME__={createRecord:Ct((function(e,t){if(xt.has(e))return!1;return xt.set(e,{initialDef:Pt(t),instances:new Set}),!0})),rerender:Ct((function(e,t){const n=xt.get(e);if(!n)return;n.initialDef.render=t,[...n.instances].forEach((e=>{t&&(e.render=t,Pt(e.type).render=t),e.renderCache=[],e.update()}))})),reload:Ct((function(e,t){const n=xt.get(e);if(!n)return;t=Pt(t),Lt(n.initialDef,t);const o=[...n.instances];for(const e of o){const o=Pt(e.type);Et.has(o)||(o!==n.initialDef&&Lt(o,t),Et.add(o)),e.appContext.propsCache.delete(e.type),e.appContext.emitsCache.delete(e.type),e.appContext.optionsCache.delete(e.type),e.ceReload?(Et.add(o),e.ceReload(t.styles),Et.delete(o)):e.parent?ht(e.parent.update):e.appContext.reload?e.appContext.reload():"undefined"!=typeof window?window.location.reload():console.warn("[HMR] Root or manually mounted instance modified. Full reload required.")}Ft((()=>{for(const e of o)Et.delete(Pt(e.type))}))}))});const xt=new Map;function Pt(e){return Nn(e)?e.__vccOpts:e}function Lt(e,t){s(e,t);for(const n in e)"__file"===n||n in t||delete e[n]}function Ct(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 Ut=null,kt=null;const Rt=Symbol.for("v-ndc");const At={};function Dt(e,t,{immediate:n,deep:o,flush:l,onTrack:c,onTrigger:s}=a){var u;"production"===process.env.NODE_ENV||t||(void 0!==n&&tt('watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.'),void 0!==o&&tt('watch() "deep" option is only respected when using the watch(source, callback, options?) signature.'));const d=e=>{tt("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.")},p=B===(null==(u=mn)?void 0:u.scope)?mn:null;let v,g,I=!1,T=!1;if(Ze(e)?(v=()=>e.value,I=Ye(e)):Ge(e)?(v=()=>e,o=!0):f(e)?(T=!0,I=e.some((e=>Ge(e)||Ye(e))),v=()=>e.map((e=>Ze(e)?e.value:Ge(e)?Bt(e):m(e)?it(e,p,2):void("production"!==process.env.NODE_ENV&&d(e))))):m(e)?v=t?()=>it(e,p,2):()=>{if(!p||!p.isUnmounted)return g&&g(),lt(e,p,3,[h])}:(v=i,"production"!==process.env.NODE_ENV&&d(e)),t&&o){const e=v;v=()=>Bt(e())}let h=e=>{g=N.onStop=()=>{it(e,p,4)}},S=T?new Array(e.length).fill(At):At;const F=()=>{if(N.active)if(t){const e=N.run();(o||I||(T?e.some(((e,t)=>E(e,S[t]))):E(e,S)))&&(g&&g(),lt(t,p,3,[e,S===At?void 0:T&&S[0]===At?[]:S,h]),S=e)}else N.run()};let _;F.allowRecurse=!!t,"sync"===l?_=F:"post"===l?_=()=>Zt(F,p&&p.suspense):(F.pre=!0,p&&(F.id=p.uid),_=()=>ht(F));const N=new H(v,_);"production"!==process.env.NODE_ENV&&(N.onTrack=c,N.onTrigger=s),t?n?F():S=N.run():"post"===l?Zt(N.run.bind(N),p&&p.suspense):N.run();return()=>{N.stop(),p&&p.scope&&r(p.scope.effects,N)}}function wt(e,t,n){const o=this.proxy,a=g(e)?e.includes(".")?function(e,t){const n=t.split(".");return()=>{let t=e;for(let e=0;e<n.length&&t;e++)t=t[n[e]];return t}}(o,e):()=>o[e]:e.bind(o,o);let i;m(t)?i=t:(i=t.handler,n=t);const l=mn;In(this);const c=Dt(a,i.bind(o),n);return l?In(l):Tn(),c}function Bt(e,t){if(!T(e)||e.__v_skip)return e;if((t=t||new Set).has(e))return e;if(t.add(e),Ze(e))Bt(e.value,t);else if(f(e))for(let n=0;n<e.length;n++)Bt(e[n],t);else if(v(e)||p(e))e.forEach((e=>{Bt(e,t)}));else if(N(e))for(const n in e)Bt(e[n],t);return e}
|
|
2
|
-
/*! #__NO_SIDE_EFFECTS__ */function Ot(e,t){return m(e)?(()=>s({name:e.name},t,{setup:e}))():e}const Mt=e=>e?4&e.vnode.shapeFlag?function(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy((n=e.exposed,x(n,"__v_skip",!0),Ge(t=n)?t:new Proxy(t,Ke)),{get:(t,n)=>n in t?t[n]:n in Vt?Vt[n](e):void 0,has:(e,t)=>t in e||t in Vt}));var t;var n}(e)||e.proxy:Mt(e.parent):null,Vt=s(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>"production"!==process.env.NODE_ENV?ze(e.props):e.props,$attrs:e=>"production"!==process.env.NODE_ENV?ze(e.attrs):e.attrs,$slots:e=>"production"!==process.env.NODE_ENV?ze(e.slots):e.slots,$refs:e=>"production"!==process.env.NODE_ENV?ze(e.refs):e.refs,$parent:e=>Mt(e.parent),$root:e=>Mt(e.root),$emit:e=>e.emit,$options:e=>__VUE_OPTIONS_API__?function(e){const t=e.type,{mixins:n,extends:o}=t,{mixins:a,optionsCache:i,config:{optionMergeStrategies:l}}=e.appContext,c=i.get(t);let s;c?s=c:a.length||n||o?(s={},a.length&&a.forEach((e=>Gt(s,e,l,!0))),Gt(s,t,l)):s=t;T(t)&&i.set(t,s);return s}(e):e.type,$forceUpdate:e=>e.f||(e.f=()=>ht(e.update)),$nextTick:e=>e.n||(e.n=Tt.bind(e.proxy)),$watch:e=>__VUE_OPTIONS_API__?wt.bind(e):i}),Qt=(e,t)=>e!==a&&!e.__isScriptSetup&&d(e,t),$t={get({_:e},t){const{ctx:n,setupState:o,data:i,props:l,accessCache:c,type:s,appContext:r}=e;if("production"!==process.env.NODE_ENV&&"__isVue"===t)return!0;let u;if("$"!==t[0]){const s=c[t];if(void 0!==s)switch(s){case 1:return o[t];case 2:return i[t];case 4:return n[t];case 3:return l[t]}else{if(Qt(o,t))return c[t]=1,o[t];if(i!==a&&d(i,t))return c[t]=2,i[t];if((u=e.propsOptions[0])&&d(u,t))return c[t]=3,l[t];if(n!==a&&d(n,t))return c[t]=4,n[t];__VUE_OPTIONS_API__&&!Wt||(c[t]=0)}}const f=Vt[t];let p,v;return f?("$attrs"===t?(ee(e,"get",t),process.env.NODE_ENV):"production"!==process.env.NODE_ENV&&"$slots"===t&&ee(e,"get",t),f(e)):(p=s.__cssModules)&&(p=p[t])?p:n!==a&&d(n,t)?(c[t]=4,n[t]):(v=r.config.globalProperties,d(v,t)?v[t]:void("production"===process.env.NODE_ENV||!Ut||g(t)&&0===t.indexOf("__v")||(i!==a&&(e=>"_"===e||"$"===e)(t[0])&&d(i,t)?tt(`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===Ut&&tt(`Property ${JSON.stringify(t)} was accessed during render but is not defined on instance.`))))},set({_:e},t,n){const{data:o,setupState:i,ctx:l}=e;return Qt(i,t)?(i[t]=n,!0):"production"!==process.env.NODE_ENV&&i.__isScriptSetup&&d(i,t)?(tt(`Cannot mutate <script setup> binding "${t}" from Options API.`),!1):o!==a&&d(o,t)?(o[t]=n,!0):d(e.props,t)?("production"!==process.env.NODE_ENV&&tt(`Attempting to mutate prop "${t}". Props are readonly.`),!1):"$"===t[0]&&t.slice(1)in e?("production"!==process.env.NODE_ENV&&tt(`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:i,propsOptions:l}},c){let s;return!!n[c]||e!==a&&d(e,c)||Qt(t,c)||(s=l[0])&&d(s,c)||d(o,c)||d(Vt,c)||d(i.config.globalProperties,c)},defineProperty(e,t,n){return null!=n.get?e._.accessCache[t]=0:d(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function zt(e){return f(e)?e.reduce(((e,t)=>(e[t]=null,e)),{}):e}"production"!==process.env.NODE_ENV&&($t.ownKeys=e=>(tt("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 Wt=!0;function Gt(e,t,n,o=!1){const{mixins:a,extends:i}=t;i&&Gt(e,i,n,!0),a&&a.forEach((t=>Gt(e,t,n,!0)));for(const a in t)if(o&&"expose"===a)"production"!==process.env.NODE_ENV&&tt('"expose" option is ignored when declared in mixins or extends. It should only be declared in the base component itself.');else{const o=qt[a]||n&&n[a];e[a]=o?o(e[a],t[a]):t[a]}return e}const qt={data:Yt,props:Jt,emits:Jt,methods:Xt,computed:Xt,beforeCreate:jt,created:jt,beforeMount:jt,mounted:jt,beforeUpdate:jt,updated:jt,beforeDestroy:jt,beforeUnmount:jt,destroyed:jt,unmounted:jt,activated:jt,deactivated:jt,errorCaptured:jt,serverPrefetch:jt,components:Xt,directives:Xt,watch:function(e,t){if(!e)return t;if(!t)return e;const n=s(Object.create(null),e);for(const o in t)n[o]=jt(e[o],t[o]);return n},provide:Yt,inject:function(e,t){return Xt(Ht(e),Ht(t))}};function Yt(e,t){return t?e?function(){return s(m(e)?e.call(this,this):e,m(t)?t.call(this,this):t)}:t:e}function Ht(e){if(f(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function jt(e,t){return e?[...new Set([].concat(e,t))]:t}function Xt(e,t){return e?s(Object.create(null),e,t):t}function Jt(e,t){return e?f(e)&&f(t)?[...new Set([...e,...t])]:s(Object.create(null),zt(e),zt(null!=t?t:{})):t}const Zt=function(e,t){t&&t.pendingBranch?f(e)?t.effects.push(...e):t.effects.push(e):Ft(e)},Kt=Symbol.for("v-fgt"),en=Symbol.for("v-txt"),tn=Symbol.for("v-cmt");let nn=null;const on="__vInternal",an=({key:e})=>null!=e?e:null,ln=({ref:e,ref_key:t,ref_for:n})=>("number"==typeof e&&(e=""+e),null!=e?g(e)||Ze(e)||m(e)?{i:Ut,r:e,k:t,f:!!n}:e:null);const cn="production"!==process.env.NODE_ENV?(...e)=>sn(...e):sn;function sn(e,t=null,n=null,o=0,a=null,i=!1){if(e&&e!==Rt||("production"===process.env.NODE_ENV||e||tt(`Invalid vnode type when creating vnode: ${e}.`),e=tn),(l=e)&&!0===l.__v_isVNode){const o=rn(e,t,!0);return n&&fn(o,n),!i&&nn&&(6&o.shapeFlag?nn[nn.indexOf(e)]=o:nn.push(o)),o.patchFlag|=-2,o}var l;if(Nn(e)&&(e=e.__vccOpts),t){t=function(e){return e?He(e)||on in e?s({},e):e:null}(t);let{class:e,style:n}=t;e&&!g(e)&&(t.class=D(e)),T(n)&&(He(n)&&!f(n)&&(n=s({},n)),t.style=C(n))}const c=g(e)?1:(e=>e.__isSuspense)(e)?128:(e=>e.__isTeleport)(e)?64:T(e)?4:m(e)?2:0;return"production"!==process.env.NODE_ENV&&4&c&&He(e)&&tt("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=je(e)),function(e,t=null,n=null,o=0,a=null,i=(e===Kt?0:1),l=!1,c=!1){const s={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&an(t),ref:t&&ln(t),scopeId:kt,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:o,dynamicProps:a,dynamicChildren:null,appContext:null,ctx:Ut};return c?(fn(s,n),128&i&&e.normalize(s)):n&&(s.shapeFlag|=g(n)?8:16),"production"!==process.env.NODE_ENV&&s.key!=s.key&&tt("VNode created with invalid key (NaN). VNode type:",s.type),!l&&nn&&(s.patchFlag>0||6&i)&&32!==s.patchFlag&&nn.push(s),s}(e,t,n,o,a,c,i,!0)}function rn(e,t,n=!1){const{props:o,ref:a,patchFlag:i,children:l}=e,s=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=D([t.class,o.class]));else if("style"===e)t.style=C([t.style,o.style]);else if(c(e)){const n=t[e],a=o[e];!a||n===a||f(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:s,key:s&&an(s),ref:t&&t.ref?n&&a?f(a)?a.concat(ln(t)):[a,ln(t)]:ln(t):a,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:"production"!==process.env.NODE_ENV&&-1===i&&f(l)?l.map(un):l,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Kt?-1===i?16:16|i:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&rn(e.ssContent),ssFallback:e.ssFallback&&rn(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function un(e){const t=rn(e);return f(e.children)&&(t.children=e.children.map(un)),t}function dn(e=" ",t=0){return cn(en,null,e,t)}function fn(e,t){let n=0;const{shapeFlag:o}=e;if(null==t)t=null;else if(f(t))n=16;else if("object"==typeof t){if(65&o){const n=t.default;return void(n&&(n._c&&(n._d=!1),fn(e,n()),n._c&&(n._d=!0)))}{n=32;const o=t._;o||on in t?3===o&&Ut&&(1===Ut.slots._?t._=1:(t._=2,e.patchFlag|=1024)):t._ctx=Ut}}else m(t)?(t={default:t,_ctx:Ut},n=32):(t=String(t),64&o?(n=16,t=[dn(t)]):n=8);e.children=t,e.shapeFlag|=n}let pn,vn,mn=null,gn="__VUE_INSTANCE_SETTERS__";(vn=L()[gn])||(vn=L()[gn]=[]),vn.push((e=>mn=e)),pn=e=>{vn.length>1?vn.forEach((t=>t(e))):vn[0](e)};const In=e=>{pn(e),e.scope.on()},Tn=()=>{mn&&mn.scope.off(),pn(null)};const hn=/(?:^|[-_])(\w)/g,Sn=e=>e.replace(hn,(e=>e.toUpperCase())).replace(/[-_]/g,"");function Fn(e,t=!0){return m(e)?e.displayName||e.name:e.name||t&&e.__name}function _n(e,t,n=!1){let o=Fn(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?Sn(o):n?"App":"Anonymous"}function Nn(e){return m(e)&&"__vccOpts"in e}var bn=Ot({name:"qt-view",emits:["clearFocus"],setup(n,o){const a=e.ref();return{clearFocus:()=>{t.Native.callUIFunction(a.value,"clearFocus")},requestFocus:()=>{t.Native.callUIFunction(a.value,"requestFocus")},requestFocusDirectly:()=>{t.Native.callUIFunction(a.value,"requestFocusDirectly")},viewRef:a}}});const yn={clipChildren:!1,ref:"viewRef"};bn.render=function(t,n,o,a,i,l){return e.openBlock(),e.createElementBlock("div",yn,[e.renderSlot(t.$slots,"default")],512)},bn.__file="src/view/index.vue";var En=Ot({name:"qt-text"});En.render=function(t,n,o,a,i,l){const c=e.resolveComponent("text-view");return e.openBlock(),e.createBlock(c)},En.__file="src/text/index.vue";var xn=Ot({name:"qt-image"});const Pn={src:"",alt:"",clipChildren:!1};xn.render=function(t,n,o,a,i,l){return e.openBlock(),e.createElementBlock("img",Pn)},xn.__file="src/image/index.vue";var Ln=Ot({name:"qt-column"});const Cn={class:"qt-ui-row-css",clipChildren:!1};Ln.render=function(t,n,o,a,i,l){return e.openBlock(),e.createElementBlock("div",Cn,[e.renderSlot(t.$slots,"default")])},Ln.__scopeId="data-v-734c04b2",Ln.__file="src/column/index.vue";var Un=Ot({name:"qt-row"});const kn={class:"qt-ui-row-css",clipChildren:!1};Un.render=function(t,n,o,a,i,l){return e.openBlock(),e.createElementBlock("div",kn,[e.renderSlot(t.$slots,"default")])},Un.__scopeId="data-v-9c454b58",Un.__file="src/row/index.vue";var Rn=e.defineComponent({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(n,o){const a=e.ref(),i=e.ref(!1);return{focused:i,requestFocus:function(){t.Native.callUIFunction(a.value,"requestFocus",[])},requestFocusDirectly:function(){t.Native.callUIFunction(a.value,"requestFocusDirectly",[])},onFocus:function(e){console.log("--------XXXXXXXXXXXXXXXXX--------------\x3e>>",i.value),i.value=e.isFocused,o.emit("focus",e.isFocused)},onClick:function(e){o.emit("click")}}}});const An=["focusable","enableFocusBorder","focusScale"],Dn=["gradientBackground"],wn=["gradientBackground"],Bn=["gradientBackground"],On=["src"],Mn=["src"];Rn.render=function(t,n,o,a,i,l){const c=e.resolveComponent("text-view");return e.openBlock(),e.createElementBlock("div",{ref:"buttonRef",clipChildren:!1,focusable:t.focusable,enableFocusBorder:t.focusBorder,focusScale:t.focusScale,onClick:n[0]||(n[0]=(...e)=>t.onClick&&t.onClick(...e)),name:"textButton",eventClick:"",eventFocus:"",onFocus:n[1]||(n[1]=(...e)=>t.onFocus&&t.onFocus(...e)),style:e.normalizeStyle(t.buttonStyle),class:e.normalizeClass(["quick-button--default",t.size?"quick-button--"+t.size:"",{"is-disabled-button":t.disabled,"is-circle":t.circle,"is-round":t.round,"is-square":t.square}])},[e.createCommentVNode(" gradient "),t.gradientFocusBackground?(e.openBlock(),e.createElementBlock("div",{key:0,class:"button-gradient-background-css",gradientBackground:t.gradientFocusBackground,focusable:!1,showOnState:"focused"},null,8,Dn)):e.createCommentVNode("v-if",!0),t.gradientSelectedBackground?(e.openBlock(),e.createElementBlock("div",{key:1,class:"button-gradient-background-css",gradientBackground:t.gradientSelectedBackground,focusable:!1,showOnState:"selected"},null,8,wn)):e.createCommentVNode("v-if",!0),t.gradientBackground?(e.openBlock(),e.createElementBlock("div",{key:2,class:"button-gradient-background-css",gradientBackground:t.gradientBackground,focusable:!1,showOnState:"normal"},null,8,Bn)):e.createCommentVNode("v-if",!0),e.createCommentVNode(" -----------------------------icon--------------------------------- "),!t.icon&&!t.focusIcon||t.$slots.default?e.createCommentVNode("v-if",!0):(e.openBlock(),e.createElementBlock("div",{key:3,duplicateParentState:!0,style:e.normalizeStyle(t.iconParentStyle),flexStyle:"${iconParentStyle}",class:e.normalizeClass(["quick-button-icon-parent",t.size?"quick-button-icon--parent"+t.size:""])},[t.icon&&!t.$slots.default?(e.openBlock(),e.createElementBlock("img",{key:0,style:e.normalizeStyle(t.iconStyle),flexStyle:"${iconStyle}",duplicateParentState:!0,class:e.normalizeClass(["quick-button-icon",t.size?"quick-button-icon--"+t.size:"",{"is-square-icon":t.square}]),focusable:!1,src:t.enableFlexStyle?"${"+t.icon+"}":t.icon,showOnState:"normal"},null,14,On)):e.createCommentVNode("v-if",!0),t.focusIcon&&!t.$slots.default?(e.openBlock(),e.createElementBlock("img",{key:1,style:e.normalizeStyle(t.focusIconStyle?t.focusIconStyle:t.iconStyle),flexStyle:"${iconStyle}",class:e.normalizeClass(["quick-button-icon",t.size?"quick-button-icon--"+t.size:"",{"is-square-icon":t.square}]),focusable:!1,duplicateParentState:!0,src:t.enableFlexStyle?"${"+t.focusIcon+"}":t.focusIcon,showOnState:"focused"},null,14,Mn)):e.createCommentVNode("v-if",!0)],6)),e.createCommentVNode(" ------------------------------------------------------------------- "),e.createCommentVNode(" text "),t.enableFlexStyle?(e.openBlock(),e.createBlock(c,{key:4,style:e.normalizeStyle(t.textStyle),duplicateParentState:"",class:e.normalizeClass([t.size?"quick-button-text--"+t.size:"",{"is-disabled-text":t.disabled,"is-square-text":t.square}]),focusable:!1,text:"${"+t.text+"}",autoWidth:"",autoHeight:""},null,8,["style","class","text"])):t.text&&!t.$slots.default?(e.openBlock(),e.createElementBlock("span",{key:5,style:e.normalizeStyle(t.textStyle),duplicateParentState:"",class:e.normalizeClass([t.size?"quick-button-text--"+t.size:"",{"is-disabled-text":t.disabled,"is-square-text":t.square}]),focusable:!1},e.toDisplayString(t.text),7)):e.createCommentVNode("v-if",!0),e.renderSlot(t.$slots,"default")],46,An)},Rn.__scopeId="data-v-46a594e4",Rn.__file="src/button/index.vue";const Vn=e=>e.map($n),Qn=e=>{const t=Object.keys(e),n={};return t.forEach((t=>{n[t]=$n(e[t])})),n};function $n(e){return e?"object"!=typeof e?e:Array.isArray(e)?Vn(e):Qn(e):e}var zn=e.defineComponent({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,o){n.useESToast(),n.useES();const a=e.ref();let i=e.ref(2.5),l=[],c=[],s=[],r=[],u="",d=-1,f=!1,p=-1,v=-1,m=-1,g=-1;e.watchEffect((()=>{t.openPage&&(d=1,f=!1,t.loadMore(d))}));const I=e=>{0==l.length&&(l=$n(e),c=e,i.value<2.2?(T(),t.openPage&&t.pageSize&&r.length>=t.pageSize/t.spanCount?a.value.setListDataWithParams(r.concat([{type:1002,decoration:{top:15,left:30}}]),!0,!0):a.value.setListDataWithParams(r,!0,!0)):t.openPage&&t.pageSize&&l.length>=t.pageSize?a.value.setListDataWithParams(l.concat([{type:1002,decoration:{top:15,left:30}}]),!0,!0):a.value.setListDataWithParams(l,!0,!0),t.defaultFocus>-1&&(m&&clearTimeout(m),m=setTimeout((()=>{S(t.defaultFocus),F(t.defaultFocus)}),800)));let n={get(e,o,c){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"))u="push";else{if(-1!=s.indexOf("splice"))return u="splice",function(...t){if(e.splice(...t),i.value<2.2)if(T(),1==t.length||2==t.length)a.value.setListData(r);else if(0==t[1])a.value.setListData(r);else{let e=-1,n=0,o=0;for(let a=0;a<r.length;a++){const i=r[a];if("1003"==i.type)e++,t[0]==e&&(n=a),t[0]+t[1]-1==e&&(o=a);else for(let l=0;l<i.list.length;l++)i.list[l],e++,t[0]==e&&(n=a),t[0]+t[1]-1==e&&(o=a)}a.value.updateItemList(n,o-n+1,r.slice(n,o+1))}else 1==t.length?a.value.deleteItem(Number(t[0]),l.length-t[0]):2==t.length?a.value.deleteItem(Number(t[0]),t[1]):t.length>2&&(0==t[1]?i.value>2.29&&N(t[0],t.slice(2)):a.value.updateItemList(t[0],t[1],t.slice(2)));return l.splice(t[0],...t.slice(1)),u="",s=[],Reflect.get(e,o,c)};if(-1!=s.indexOf("pop"))return u="pop",function(){return e.pop(),i.value<2.2?(r[r.length-1].list.length<1&&r.pop(),r[r.length-1].list.pop(),a.value.updateItem(Number(r.length-1),r[r.length-1])):a.value.deleteItem(Number(l.length-1),1),l.pop(),u="",s=[],Reflect.get(e,o,c)};if(-1!=s.indexOf("forEach"))return u="forEach",function(n){return e.forEach((e=>{n(e)})),l=[],l=$n(e),i.value<2.2?(T(),t.openPage&&t.pageSize&&r.length>=t.pageSize&&!f?a.value.setListData(r.concat([{type:1002,decoration:{top:15,left:30}}])):a.value.setListData(r)):t.openPage&&t.pageSize&&l.length>=t.pageSize&&!f?a.value.setListData(l.concat([{type:1002,decoration:{top:15,left:30}}])):a.value.setListData(l),u="",s=[],Reflect.get(e,o,c)};if(-1!=s.indexOf("concat"))return u="concat",function(p){if("[object Array]"===Object.prototype.toString.call(p))if(e=e.concat(p),l=l.concat(p),i.value<2.2){g&&clearTimeout(g);let e=r.length,n=r.slice(r.length-1)[0];T();let o=r.slice(e);t.openPage&&!f?t.pageSize||2!=d?0==o.length||"1003"!=n.type&&n.list.length<t.spanCount?(o=r.slice(e-1),g=setTimeout((()=>{a.value.addListDataWithParams(o.concat([{type:1002,decoration:{top:15,left:30}}]),2)}),300)):g=setTimeout((()=>{a.value.addListDataWithParams(o.concat([{type:1002,decoration:{top:15,left:30}}]),1)}),300):g=setTimeout((()=>{a.value.addListData(o.concat([{type:1002,decoration:{top:15,left:30}}]))}),300):a.value.setListData(r)}else g=t.openPage&&!f?t.pageSize||2!=d?setTimeout((()=>{a.value.addListDataWithParams(p.concat([{type:1002,decoration:{top:15,left:30}}]),1)}),300):setTimeout((()=>{a.value.addListData(p.concat([{type:1002,decoration:{top:15,left:30}}]))}),300):setTimeout((()=>{a.value.addListData(p)}),300);else console.log("concat:参数类型必须为数组");return u="",s=[],Reflect.get(e,o,c),new Proxy(e,n)};u=""}const p=Reflect.get(e,o,c);return h(p)&&"__ob__"!=o&&"dep"!=o&&"subs"!=o?I(p):(-1==s.indexOf("push")&&(s=[]),p)},set(e,n,o,p){const v=e[n],m=Reflect.set(e,n,o,p);if((!h(v)&&v!==o||h(v))&&"push"!=u)if(s.push(n),l[s[0]]=c[s[0]],i.value<2.2){let e=s[0],t=-1;for(let n=0;n<r.length;n++){const o=r[n];if("1003"==o.type)t++,t==e&&(r[n]=l[s[0]],a.value.updateItem(Number(n),r[n]));else for(let i=0;i<o.list.length;i++)if(o.list[i],t++,t==e){r[n].list[i]=l[s[0]];let e=r[n].list[i];e.decoration&&(e.decoration.top&&(e.decoration.top=0),e.decoration.bottom&&(e.decoration.bottom=0)),a.value.updateItem(Number(n),r[n])}}}else a.value.updateItem(Number(s[0]),c[s[0]]);if(n&&"push"==u&&v!==o)s.push(n),l.push(o);else{if("push"==u&&s.length>1)if(i.value<2.2){g&&clearTimeout(g);let e=r.length,n=r.slice(r.length-1)[0];T();let o=r.slice(e);t.openPage&&!f?t.pageSize||2!=d?0==o.length||"1003"!=n.type&&n.list.length<t.spanCount?(o=r.slice(e-1),g=setTimeout((()=>{a.value.addListDataWithParams(o.concat([{type:1002,decoration:{top:15,left:30}}]),2)}),300)):g=setTimeout((()=>{a.value.addListDataWithParams(o.concat([{type:1002,decoration:{top:15,left:30}}]),1)}),300):g=setTimeout((()=>{a.value.addListData(o.concat([{type:1002,decoration:{top:15,left:30}}]))}),300):a.value.setListData(r)}else{let e=l.slice(s[1]);g&&clearTimeout(g),g=t.openPage&&!f?t.pageSize||2!=d?setTimeout((()=>{a.value.addListDataWithParams(e.concat([{type:1002,decoration:{top:15,left:30}}]),1)}),300):setTimeout((()=>{a.value.addListData(e.concat([{type:1002,decoration:{top:15,left:30}}]))}),300):setTimeout((()=>{a.value.addListData(e)}),300)}u="",s=[]}return m}};return new Proxy(e,n)},T=()=>{let e=$n(l);r=[];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)r.push(a);else for(let e=0;e<a.list.length;e+=t.spanCount){const o=a.list[e];let i={top:-1,bottom:-1};o.decoration&&(i.top=o.toCompatibleSaveTopVal?o.toCompatibleSaveTopVal:0,i.bottom=o.toCompatibleSaveBottompVal?o.toCompatibleSaveBottompVal:0);const l={type:1,decoration:i,name:"name"+n,list:a.list.slice(e,e+t.spanCount)};n++,r.push(l)}}},h=e=>null!==e&&"object"==typeof e,S=e=>{if(i.value<2.2){let t=-1;for(let n=0;n<r.length;n++){const o=r[n];if("1003"==o.type)t++,t==e&&a.value.scrollToPosition(n);else for(let i=0;i<o.list.length;i++)o.list[i],t++,t==e&&a.value.scrollToPosition(n)}}else a.value.scrollToPosition(e)},F=e=>{if(i.value<2.2){let t=-1,n=0,o=0;for(let a=0;a<r.length;a++){const i=r[a];if("1003"==i.type)t++;else for(let l=0;l<i.list.length;l++)i.list[l],t++,e==t&&(n=a,o=l)}a.value.dispatchItemFunction(n,"tv_list_inner","requestChildFocus",[o])}else a.value.requestFocus(e)},_=(e,t)=>{if(i.value<2.2){let t=-1,n=0,o=0;for(let a=0;a<r.length;a++){const i=r[a];if("1003"==i.type)t++;else for(let l=0;l<i.list.length;l++)i.list[l],t++,e==t&&(n=a,o=l)}a.value.dispatchItemFunction(n,"tv_list_inner","setSelectChildPosition",[o])}else a.value.setSelectPosition(e,t)},N=(e,t)=>{a.value.addItem(e,t)},b=()=>{a.value.destroy()};return e.onBeforeUnmount((()=>{l=[],r=[],c.length=0,f=!1,s=[],d=1,f=!1,u="",b(),p&&clearTimeout(p),g&&clearTimeout(g),v&&clearTimeout(v),m&&clearTimeout(m)})),{tv_list:a,apkVersion:i,init:I,onItemClick:e=>{if(i.value<2.2){let t=-1,n=e.position,o=e.parentPosition;for(let a=0;a<e.parentPosition+1;a++){const i=r[a];if("1003"==i.type)t++;else for(let l=0;l<i.list.length;l++)t++,n==l&&o==a&&(e.position=t)}}o.emit("item-click",e)},onItemBind:e=>{i.value<2.2?f||e.position!=r.length-1-t.preloadNo/t.spanCount||(d++,t.loadMore(d)):f||e.position!=l.length-1-t.preloadNo||(d++,t.loadMore(d)),o.emit("item-bind",e)},onItemFocused:e=>{if(i.value<2.2){let t=-1,n=e.position,o=e.parentPosition;for(let a=0;a<e.parentPosition+1;a++){const i=r[a];if("1003"==i.type)t++;else for(let l=0;l<i.list.length;l++)t++,n==l&&o==a&&(e.position=t)}}o.emit("item-focused",e)},reset:(e=1)=>{l=[],r=[],s=[],u="",p&&clearTimeout(p),g&&clearTimeout(g),v&&clearTimeout(v),m&&clearTimeout(m),t.openPage&&(f=!1,t.loadMore(e))},onItemUnbind:e=>{o.emit("item-unbind",e)},onScroll:e=>{o.emit("scroll",e)},onScrollStateChanged:e=>{o.emit("scroll-state-changed",e)},stopPage:e=>{v&&clearTimeout(v),v=setTimeout((()=>{i.value<2.2?t.pageSize?t.pageSize/t.spanCount<=r.length&&a.value.deleteItem(r.length,1):d>2&&a.value.deleteItem(r.length,1):t.pageSize?t.pageSize<=l.length&&a.value.deleteItem(l.length,1):d>2&&a.value.deleteItem(l.length,1)}),400),f=!0},scrollToTop:()=>{a.value.scrollToTop()},clearFocus:()=>{a.value.clearFocus()},blockRootFocus:()=>{a.value.blockRootFocus()},unBlockRootFocus:()=>{a.value.unBlockRootFocus()},setDisplay:e=>{a.value.setDisplay(e)},scrollToPosition:S,scrollToIndex:(e,t,n)=>{if(i.value<2.2){let o=-1;for(let i=0;i<r.length;i++){const l=r[i];if("1003"==l.type)o++,o==e&&a.value.scrollToIndex(0,i,t,n);else for(let c=0;c<l.list.length;c++)l.list[c],o++,o==e&&a.value.scrollToIndex(0,i,t,n)}}else a.value.scrollToIndex(0,e,t,n)},setItemFocused:F,scrollToFocused:e=>{S(e),F(e)},setItemSelected:_,scrollToSelected:(e,t)=>{S(e),_(e,t)},updateItemProps:(e,t,n)=>{a.value.updateItemProps(e,t,n)},setInitPosition:e=>{a.value.setInitPosition(e)},setListData:e=>{p&&clearTimeout(p),p=setTimeout((()=>{a.value.setListData(e)}),100)},insertItem:N,clearPostTask:()=>{a.value.clearPostTask()},destroy:b}}});zn.render=function(t,n,o,a,i,l){const c=e.resolveComponent("tv-list");return e.openBlock(),e.createBlock(c,{class:"tv_list",ref:"tv_list",name:"tv_list",spanCount:t.apkVersion<2.2?"":t.spanCount,onItemBind:t.onItemBind,onItemClick:t.onItemClick,onItemFocused:t.onItemFocused,onItemUnbind:t.onItemUnbind,onScroll:t.onScroll,onScrollStateChanged:t.onScrollStateChanged,onSetListData:t.setListData,blockFocusDirections:t.blockFocusDirections},{default:e.withCtx((()=>[t.apkVersion<2.2?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.renderSlot(t.$slots,"header"),e.createVNode(c,{class:"tv_list_inner",ref:"${name}",list:"${list}",name:"tv_list_inner",type:"1",clipChildren:!1,focusable:!1,horizontal:"",style:e.normalizeStyle({width:t.areaWidth+"px"}),endHintEnabled:!1,blockFocusDirections:t.blockFocusDirections},{default:e.withCtx((()=>[e.renderSlot(t.$slots,"default")])),_:3},8,["style","blockFocusDirections"]),e.renderSlot(t.$slots,"footer"),e.renderSlot(t.$slots,"loading")],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.renderSlot(t.$slots,"header"),e.renderSlot(t.$slots,"default"),e.renderSlot(t.$slots,"footer"),e.renderSlot(t.$slots,"loading")],64))])),_:3},8,["spanCount","onItemBind","onItemClick","onItemFocused","onItemUnbind","onScroll","onScrollStateChanged","onSetListData","blockFocusDirections"])},zn.__file="src/grid-view/index.vue";var Wn=Ot({name:"qt-poster-focus-title",props:{fontSize:{type:Number,default:20}},setup(e,t){}});const Gn={class:"absoluteFocusTitleRoot",flexStyle:"${titleFocusStyle}",autoHeight:"",focusable:!1},qn={class:"absoluteFocusMainBgRoot",duplicateParentState:!0,focusable:!1,showIf:"${focusTitle.enable}"};Wn.render=function(t,n,o,a,i,l){const c=e.resolveComponent("text-view");return e.openBlock(),e.createElementBlock("div",Gn,[e.createCommentVNode(" 浮动标题"),e.createVNode(c,{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}),e.createElementVNode("div",qn,[e.createCommentVNode(" 主标题 "),e.createVNode(c,{duplicateParentState:!0,focusable:!1,fontSize:30,ellipsizeMode:2,autoHeight:"",maxLines:2,gravity:"left",paddingRect:[16,8,12,8],style:{"background-color":"transparent",color:"#000000"},flexStyle:"${focusTitle.style}",text:"${focusTitle.text}"}),e.createCommentVNode(" 副标题 "),e.createVNode(c,{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}"})])])},Wn.__scopeId="data-v-703673b8",Wn.__file="src/poster/qt-poster-focus-title.vue";var Yn=Ot({name:"qt-poster-corner-title",props:{fontSize:{type:Number,default:20}},setup(e,t){}});const Hn={class:"cornerRoot",focusable:!1};Yn.render=function(t,n,o,a,i,l){const c=e.resolveComponent("text-view");return e.openBlock(),e.createElementBlock("div",Hn,[e.createVNode(c,{duplicateParentState:!0,focusable:!1,textSize:t.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"])])},Yn.__scopeId="data-v-4b767ea2",Yn.__file="src/poster/qt-poster-corner-title.vue";var jn=Ot({name:"qt-poster",components:{"qt-poster-corner-title":Yn,"qt-poster-focus-title":Wn},props:{requestFirstFocus:{type:Boolean,default:!1},loadDelay:{type:Number,default:500},type:{type:Number,default:10001},focusScale:{type:Number,default:1.1},templateKeyMap:{type:Object,default:()=>null}},setup:(e,t)=>({mainTextShowOnState:["normal","selected"]})});const Xn=t=>(e.pushScopeId("data-v-3c4765e9"),t=t(),e.popScopeId(),t),Jn=Xn((()=>e.createElementVNode("img",{class:"qt-ui-poster-img-css",duplicateParentState:!0,postDelay:300,focusable:!1,enableFocusBorder:"${focus.border}",flexStyle:"${image.style}",src:"${image.src}"},null,-1))),Zn=["showOnState"],Kn={flexStyle:"${floatTitle.style}",class:"qt-ui-poster-title-css",gradientBackground:{colors:["#e5000000","#00000000"],cornerRadii4:[0,0,8,8],orientation:4},duplicateParentState:!0,focusable:!1,showIf:"${floatTitle.enable}"},eo={flexStyle:"${ripple.style}",class:"qt-ui-poster-ripple-view-root-css",showOnState:"focused",focusable:!1,clipChildren:!1},to=Xn((()=>e.createElementVNode("img",{src:"${ripple.src}",class:"qt-ui-ripple-img-css",focusable:!1,duplicateParentState:!0,showIf:"${true}",delayLoad:800},null,-1)));jn.render=function(t,n,o,a,i,l){const c=e.resolveComponent("text-view"),s=e.resolveComponent("qt-poster-focus-title"),r=e.resolveComponent("ripple-view"),u=e.resolveComponent("qt-poster-corner-title"),d=e.resolveComponent("item-frame");return e.openBlock(),e.createBlock(d,{type:t.type,layout:"${layout}",flexStyle:"${style}",focusable:!0,eventClick:"",eventFocus:"",name:"poster",class:"qt-ui-poster-root-css",itemShowShimmer:"${shimmer.enable}",hideShadow:"${shadow.enable}",shimmerSize:"${size}"},{default:e.withCtx((()=>[e.createCommentVNode("封面"),Jn,e.createVNode(c,{class:"qt-ui-poster-score-css",duplicateParentState:!0,focusable:!1,flexStyle:"${score.style}",textSize:"${score.style.fontSize}",ellipsizeMode:2,lines:1,gravity:"center",postDelay:350,autoWidth:"",text:"${score.text}"}),e.createCommentVNode(" 焦点选中时的标题 "),e.createVNode(s,{focusable:!1,showOnState:"focused"}),e.createElementVNode("div",{style:{"flex-direction":"column","background-color":"transparent","z-index":"999"},duplicateParentState:!0,focusable:!1,flexStyle:"${titleStyle}",showOnState:t.mainTextShowOnState},[e.createCommentVNode(" 浮动标题 "),e.createElementVNode("div",Kn,[e.createVNode(c,{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}"})]),e.createCommentVNode(" 主标题"),e.createVNode(c,{duplicateParentState:!0,focusable:!1,textSize:30,ellipsizeMode:2,lines:1,postDelay:200,gravity:"left",paddingRect:[16,8,0,0],gradientBackground:"${title.background}",style:{"z-index":"999",height:"60px"},flexStyle:"${title.style}",text:"${title.text}",showIf:"${title.enable}"})],8,Zn),e.createElementVNode("div",eo,[e.createVNode(r,{class:"qt-ui-ripple-view-css",delayLoad:800,focusable:!1,duplicateParentState:!0,color:"#FF4E46",isShowRipple:"${ripple.enable}",rippleVisible:"invisible"}),to]),e.createVNode(u,{focusable:!1,flexStyle:"${corner.style}",style:{"z-index":"1000",position:"absolute"}}),e.renderSlot(t.$slots,"default")])),_:3},8,["type"])},jn.__scopeId="data-v-3c4765e9",jn.__file="src/poster/index.vue";var no=e.defineComponent({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.ref();let a=e.ref("#f5f5f5"),i=e.reactive({normal:"#80ffffff",focused:"#000000",selected:"#F5F5F5"}),l=-1,c=-1;e.watch((()=>t.navs),(e=>{e.length>0&&s(e)}));const s=e=>{e||(e=[]),e.forEach(((e,n)=>{0!==t.itemGap&&(t.horizontal?e.decoration={right:t.itemGap}:e.decoration={bottom:t.itemGap}),e.type||(e.type=2e4)})),o.value?.setListData(e),clearTimeout(c);let n=t.initSelect;n>-1&&(o.value?.scrollToPosition(n),c=setTimeout((()=>{o.value?.setItemSelected(n,!0),r(n)}),300))},r=e=>{clearTimeout(l),l=setTimeout((()=>{n.emit("tab-select",{position:e})}),300)};return{navList:o,focusColor:a,textColor:i,bgPadding:[10,10],onTabChange:e=>{!0===e.hasFocus&&(n.emit("tab-focus",e),r(e.position))},onTabClick:e=>{n.emit("tab-click",e.item)},scrollToPosition:e=>{o.value?.scrollToPosition(e)},scrollToTop:()=>{o.value?.scrollToTop()},init:e=>{s(e.data)}}}});const oo=["stateTextColor","sateBackgroundPadding"],ao=["stateTextColor","sateBackgroundPadding"];var io,lo;no.render=function(t,n,o,a,i,l){const c=e.resolveComponent("text-view"),s=e.resolveComponent("qt-list-view");return t.horizontal?(e.openBlock(),e.createBlock(s,{key:0,ref:"navList",clipChildren:!1,clipPadding:!1,horizontal:"",class:"qt-ui-nav-bar-root-horizontal",onItemClick:t.onTabClick,onItemFocused:t.onTabChange},{default:e.withCtx((()=>[e.createElementVNode("div",{class:"qt-ui-nav-bar-item-css",type:2e4,autoWidth:"",focusable:!0,eventFocus:"",flexStyle:"${style}",clipChildren:!1,style:e.normalizeStyle({focusBackgroundColor:t.focusColor}),stateTextColor:t.textColor,sateBackgroundPadding:t.bgPadding},[e.createVNode(c,{autoWidth:"",gravity:"center",lines:1,fontSize:44,class:"qt-ui-nav-bar-item-text-css",duplicateParentState:!0,text:"${text}"})],12,oo),e.renderSlot(t.$slots,"default")])),_:3},8,["onItemClick","onItemFocused"])):(e.openBlock(),e.createBlock(s,{key:1,ref:"navList",clipChildren:!1,clipPadding:!1,class:"qt-ui-nav-bar-root-vertical",onItemClick:t.onTabClick,onItemFocused:t.onTabChange},{default:e.withCtx((()=>[e.createElementVNode("div",{class:"qt-ui-nav-bar-item-css",type:2e4,flexStyle:"${style}",eventFocus:"",autoWidth:"",focusable:!0,stateTextColor:t.textColor,style:e.normalizeStyle({focusBackgroundColor:t.focusColor}),sateBackgroundPadding:t.bgPadding,clipChildren:!1},[e.createVNode(c,{autoWidth:"",gravity:"center",lines:1,fontSize:44,class:"qt-ui-nav-bar-item-text-css",duplicateParentState:!0,text:"${text}"})],12,ao),e.renderSlot(t.$slots,"default")])),_:3},8,["onItemClick","onItemFocused"]))},no.__file="src/nav-bar/index.vue",exports.QTWaterfallSectionType=void 0,(io=exports.QTWaterfallSectionType||(exports.QTWaterfallSectionType={}))[io.QT_WATERFALL_SECTION_TYPE_LOADING=-1]="QT_WATERFALL_SECTION_TYPE_LOADING",io[io.QT_WATERFALL_SECTION_TYPE_TITLE=1e3]="QT_WATERFALL_SECTION_TYPE_TITLE",io[io.QT_WATERFALL_SECTION_TYPE_FLEX=1002]="QT_WATERFALL_SECTION_TYPE_FLEX",io[io.QT_WATERFALL_SECTION_TYPE_LIST=1003]="QT_WATERFALL_SECTION_TYPE_LIST",io[io.QT_WATERFALL_SECTION_TYPE_TAB=1003]="QT_WATERFALL_SECTION_TYPE_TAB",io[io.QT_WATERFALL_SECTION_TYPE_INDEPENDENT_ITEM=1004]="QT_WATERFALL_SECTION_TYPE_INDEPENDENT_ITEM",io[io.QT_WATERFALL_SECTION_TYPE_TAB_LIST=1005]="QT_WATERFALL_SECTION_TYPE_TAB_LIST",io[io.QT_WATERFALL_SECTION_TYPE_CARD=1006]="QT_WATERFALL_SECTION_TYPE_CARD",io[io.QT_WATERFALL_SECTION_TYPE_VUE=1007]="QT_WATERFALL_SECTION_TYPE_VUE",io[io.QT_WATERFALL_SECTION_TYPE_END=-1001]="QT_WATERFALL_SECTION_TYPE_END",io[io.QT_WATERFALL_SECTION_TYPE_BLANK=-1e3]="QT_WATERFALL_SECTION_TYPE_BLANK",exports.QTWaterfallItemType=void 0,(lo=exports.QTWaterfallItemType||(exports.QTWaterfallItemType={}))[lo.QT_WATERFALL_ITEM_TYPE_POSTER=10001]="QT_WATERFALL_ITEM_TYPE_POSTER",lo[lo.QT_WATERFALL_ITEM_TYPE_TAB=10002]="QT_WATERFALL_ITEM_TYPE_TAB",lo[lo.QT_WATERFALL_ITEM_TYPE_CARD=10003]="QT_WATERFALL_ITEM_TYPE_CARD",lo[lo.QT_WATERFALL_ITEM_TYPE_BLANK=-1e4]="QT_WATERFALL_ITEM_TYPE_BLANK";var co=Ot({name:"card-item",setup(e,t){const o=n.useESLog();return{onFocus:function(e){o.isLoggable(n.ESLogLevel.DEBUG)&&o.d("card-item","------onFocus---------\x3e>>>",e),t.emit("focus",e)}}}});co.render=function(t,n,o,a,i,l){const c=e.resolveComponent("es-card-container");return e.openBlock(),e.createBlock(c,{keyName:"_id",clipChildren:!1,clipPadding:!1,autoRecycle:!0,disablePlaceholder:"",layout:"${layout}",flexStyle:"${style}",cardId:"${cardId}",focusScale:"${cardPlaceHolder.focusScale}",focusable:"${cardPlaceHolder.focusable}",showPlaceHolder:"${cardPlaceHolder.enable}",placeHolderRadius:"${cardPlaceHolder.radius}",placeHolderRect:"${cardPlaceHolder.rect}",type:10003,onFocus:t.onFocus,class:"qt-ui-waterfall-card-item"},null,8,["onFocus"])},co.__scopeId="data-v-599898aa",co.__file="src/waterfall/item/card-item.vue";var so=Ot({name:"standard-section",components:{"card-item":co},props:{enablePlaceholder:{type:Boolean,default:!0},plateData:{type:String,default:""},useDiff:{type:Boolean,default:!1},cachePool:{type:Object,default:{}},sectionType:{type:Number,default:exports.QTWaterfallSectionType.QT_WATERFALL_SECTION_TYPE_FLEX},standItemType:{type:Number,default:exports.QTWaterfallItemType.QT_WATERFALL_ITEM_TYPE_POSTER},currentPageIndex:{type:Number,default:-1},itemFocusScale:{type:Number,default:1.1}},setup(e,t){const o=n.useESLog();return{onFocus:function(e){o.isLoggable(n.ESLogLevel.DEBUG)&&o.d("card-item","------onFocus---------\x3e>>>",e),t.emit("focus",e)}}}});const ro=["type"],uo=(t=>(e.pushScopeId("data-v-227e921e"),t=t(),e.popScopeId(),t))((()=>e.createElementVNode("img",{postDelay:300,flexStyle:"${imgTitleStyle}",focusable:!1,src:"${imgTitle}"},null,-1)));so.render=function(t,n,o,a,i,l){const c=e.resolveComponent("text-view"),s=e.resolveComponent("qt-poster"),r=e.resolveComponent("card-item"),u=e.resolveComponent("tv-flex");return e.openBlock(),e.createElementBlock("div",{class:"standard-section-css",blockFocusDirections:["left","right"],clipChildren:!1,clipPadding:!1,type:t.sectionType,focusable:!1,keyName:"_id",flexStyle:"${style}",gradientBackground:"${style.gradientBackground}",bringFocusChildToFront:!0,useAdvancedFocusSearch:!0},[e.createVNode(c,{class:"standard-section-title-text-css",postDelay:300,flexStyle:"${titleStyle}",focusable:!1,textSize:"${titleStyle.fontSize}",text:"${title}"}),uo,e.createVNode(u,{class:"standard-section-css",name:"QUICKTVUI_WARTERFALL_LIST",blockFocusDirections:["left","right"],clipChildren:!1,clipPadding:!1,bringFocusChildToFront:!0,cachePool:t.cachePool,useDiff:t.useDiff,keyName:"_id",enablePlaceholder:t.enablePlaceholder,focusScrollTarget:"${focusScrollTarget==true}",list:"${itemList}"},{default:e.withCtx((()=>[e.createCommentVNode(" poster "),e.createVNode(s,{"load-delay":500,type:t.standItemType},null,8,["type"]),e.createCommentVNode(" card "),e.createVNode(r,{onFocus:t.onFocus},null,8,["onFocus"]),e.renderSlot(t.$slots,"default")])),_:3},8,["cachePool","useDiff","enablePlaceholder"])],8,ro)},so.__scopeId="data-v-227e921e",so.__file="src/waterfall/section/flex-section.vue";const fo="list-section";var po=Ot({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:exports.QTWaterfallSectionType.QT_WATERFALL_SECTION_TYPE_LIST},fetchPendingData:{type:Function,default:null},arrangeType:{type:String,default:"TB"}},setup(e,t){const o=n.useESLog();return{blockDirections:["left","right"],onItemBind:function(e){o.isLoggable(n.ESLogLevel.DEBUG)&&o.d(fo,"----------onItemBind--------------\x3e>>",e)},onItemClick:function(e){o.isLoggable(n.ESLogLevel.DEBUG)&&o.d(fo,"----------onItemClick--------------\x3e>>",e)},onItemRecycled:function(e){o.isLoggable(n.ESLogLevel.DEBUG)&&o.d(fo,"----------onItemRecycled--------------\x3e>>",e)},onItemFocused:function(e){o.isLoggable(n.ESLogLevel.DEBUG)&&o.d(fo,"----------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},mo=(t=>(e.pushScopeId("data-v-6aa2cfd4"),t=t(),e.popScopeId(),t))((()=>e.createElementVNode("img",{postDelay:300,flexStyle:"${imgTitleStyle}",focusable:!1,src:"${imgTitle}"},null,-1))),go=["type"];po.render=function(t,n,o,a,i,l){const c=e.resolveComponent("text-view"),s=e.resolveComponent("qt-poster"),r=e.resolveComponent("tv-list"),u=e.resolveComponent("tv-item");return e.openBlock(),e.createBlock(u,{keyName:"_id",type:t.sectionType,clipPadding:!1,clipChildren:!1,ref:"listSection",class:"tab-list-section-root-css",onItemClick:t.onItemClick,onItemBind:t.onItemBind,onItemUnbind:t.onItemRecycled,onItemFocused:t.onItemFocused},{default:e.withCtx((()=>[e.createElementVNode("div",vo,[e.createVNode(c,{class:"tab-list-section-title-text-css",postDelay:300,flexStyle:"${titleStyle}",focusable:!1,textSize:"${titleStyle.fontSize}",text:"${title}"}),mo,e.createVNode(r,{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:t.enablePlaceholder,cachePoolName:"HorizontalList",blockFocusDirections:t.blockDirections},{default:e.withCtx((()=>[e.createVNode(s,{type:t.standItemType},null,8,["type"]),e.createElementVNode("div",{type:t.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:""},[e.createVNode(c,{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,go),e.renderSlot(t.$slots,"default")])),_:3},8,["enablePlaceholder","blockFocusDirections"])])])),_:3},8,["type","onItemClick","onItemBind","onItemUnbind","onItemFocused"])},po.__scopeId="data-v-6aa2cfd4",po.__file="src/waterfall/section/list-section.vue";var Io=Ot({name:"loading-section"});const To={focusable:!1,type:-1,keyName:"_id",class:"loading-section-css",gradientBackground:"${style.gradientBackground}"};Io.render=function(t,n,o,a,i,l){const c=e.resolveComponent("qt-loading-view");return e.openBlock(),e.createElementBlock("div",To,[e.createVNode(c,{class:"loading-section-loading-css"})])},Io.__scopeId="data-v-48609f24",Io.__file="src/waterfall/section/loading-section.vue";var ho=Ot({name:"end-section",setup:()=>({})});const So={keyName:"_id",type:-1001,focusable:!1,flexStyle:"${style}",gradientBackground:"${style.gradientBackground}",class:"qt-waterfall-end-section-css"};ho.render=function(t,n,o,a,i,l){const c=e.resolveComponent("text-view");return e.openBlock(),e.createElementBlock("div",So,[e.createVNode(c,{focusable:!1,gravity:"center",flexStyle:"${titleStyle}",class:"qt-waterfall-end-section-text-css",textSize:"${titleStyle.fontSize}",text:"${title}"})])},ho.__scopeId="data-v-70b82c43",ho.__file="src/waterfall/section/end-section.vue";var Fo=Ot({props:{plateTitleLeftMargin:{type:Number,default:0},type:{type:Number,default:exports.QTWaterfallSectionType.QT_WATERFALL_SECTION_TYPE_TITLE}},setup:(e,t)=>({})});const _o=["type"];Fo.render=function(t,n,o,a,i,l){const c=e.resolveComponent("text-view");return e.openBlock(),e.createElementBlock("div",{class:"section-title-css",blockFocusDirections:["left","right"],clipChildren:!1,clipPadding:!1,type:t.type,keyName:"_id",focusable:!1,bringFocusChildToFront:!0,useAdvancedFocusSearch:!0},[e.createVNode(c,{class:"section-title-text-css",postDelay:300,style:e.normalizeStyle({marginLeft:t.plateTitleLeftMargin+"px"}),focusable:!1,textSize:"${titleStyle.fontSize}",text:"${title}"},null,8,["style"])],8,_o)},Fo.__scopeId="data-v-20428d40",Fo.__file="src/waterfall/section/section-title.vue";var No=Ot({name:"blank-section",setup:()=>({})});const bo={focusable:!1,type:-1e3,keyName:"_id",flexStyle:"${style}",gradientBackground:"${style.gradientBackground}",class:"qt-ui-waterfall-blank-section"};No.render=function(t,n,o,a,i,l){return e.openBlock(),e.createElementBlock("div",bo)},No.__scopeId="data-v-eeab4d88",No.__file="src/waterfall/section/blank-section.vue";var yo=Ot({name:"card-section",setup(e,t){const o=n.useESLog();return{onFocus:function(e){o.isLoggable(n.ESLogLevel.DEBUG)&&o.d("card-section","------onFocus---------\x3e>>>",e),t.emit("focus",e)}}}});const Eo={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};yo.render=function(t,n,o,a,i,l){const c=e.resolveComponent("text-view"),s=e.resolveComponent("es-card-container");return e.openBlock(),e.createElementBlock("div",Eo,[e.createVNode(c,{class:"qt-ui-waterfall-card-section-title-css",postDelay:300,flexStyle:"${titleStyle}",focusable:!1,textSize:"${titleStyle.fontSize}",text:"${title}"}),e.createVNode(s,{cardId:"${cardId}",onFocus:t.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"])])},yo.__scopeId="data-v-43a44788",yo.__file="src/waterfall/section/card-section.vue";var xo,Po=Ot({name:"vue-section",props:{blockFocusDirections:{type:Array,default:()=>["left","right"]}},setup:(e,t)=>({onSectionBind:function(){}})});function Lo(e,t){const n=[];if(t&&t.length>0)for(let o=0;o<t.length;o++){let a=Co(e,t[o]);n.push(a)}return n}function Co(e,t){let n=0;return t.itemList.length>0&&t.type==exports.QTWaterfallSectionType.QT_WATERFALL_SECTION_TYPE_FLEX&&(n=function(e){const t=e.itemList,n=e.style?.spacing??0,o=e.titleStyle,a=o?.height??0;const i=o?.marginTop??0,l=o?.marginBottom??0;const c=o?.paddingTop??0,s=o?.paddingBottom??0;let r=e.style.height??0,u=e.style.width??0;e.decoration;let d=0,f=0,p=0;for(let e=0;e<t.length;e++){const o=t[e];let a=o?.style.width??0,i=o?.style.height??0;const l=o.style.x,c=o.style.y;if(null!=l&&null!=c)o.layout=[l,c,a,i];else{const e=o.decoration,t=e?.left??0,l=e?.top??0,c=e?.right??0,s=e?.bottom??0;d+a+c>u&&(f+=p+n,p=0,d=0),o.layout||(o.layout=[0,0,a,i]),o.layout[0]=d+t,o.layout[1]=f+l,o.layout[1]+i+s>r&&(r=o.layout[1]+i+s),i+l+s>p&&(p=i+l+s),d+=a+n+t+c}}return r+a+i+l+c+s}(t),t.style.height=n),t}function Uo(){let e=[];function t(e){return e.itemList.length}function n(n,o){console.log("----1--------getRangeSectionListItemCount-----------------\x3e>>>");const a=e.length;if(n<0||n>=a)return 0;console.log("----2--------getRangeSectionListItemCount-----------------\x3e>>>");let i=n+o;n+o>a&&(i=a),console.log("----3--------getRangeSectionListItemCount-----------------\x3e>>>");let l=0;for(let o=n;o<i;o++){l+=t(e[o])}return l}function o(){console.log("--------dumpWaterfallData---------\x3e>>>",e)}return{init:function(){},getSectionList:function(){return e},addSectionList:function(a){const i=e.length,l=n(0,i),c=function(e){if(e.length<=0)return 0;let n=0;for(let o=0;o<e.length;o++){n+=t(e[o])}return n}(a);return e.push(...a),o(),{sectionIndex:i,sectionCount:a.length,itemIndex:l,itemCount:c}},deleteSection:function(t,a){const i=n(0,t-1),l=n(t,a);return e.splice(t,a),o(),{sectionIndex:t,sectionCount:a,itemIndex:i,itemCount:l}},updateSection:function(a,i){const l=n(0,a-1),c=t(i);return e.splice(a,1,i),o(),{sectionIndex:a,sectionCount:1,itemIndex:l,itemCount:c}},getSection:function(t){if(!(t<0||t>=e.length||0==e.length))return e[t]},addItemList:function(t,n){const a=e.length;if(t<0||t>=a||n.length<=0)return{sectionIndex:-1,sectionCount:0,itemIndex:-1,itemCount:0};const i=e[t],l=i.itemList.length;return i.itemList.push(...n),o(),{sectionIndex:t,sectionCount:1,itemIndex:l,itemCount:n.length}},deleteItem:function(t,n,a){return e[t].itemList.splice(n,a),o(),{sectionIndex:t,sectionCount:1,itemIndex:n,itemCount:a}},updateItem:function(t,n,a){return e[t].itemList.splice(n,1,a),o(),{sectionIndex:t,sectionCount:1,itemIndex:n,itemCount:1}},updateItemList:function(t,n,a,i){return e[t].itemList.splice(n,a,...i),o(),{sectionIndex:t,sectionCount:1,itemIndex:n,itemCount:a}},getItem:function(t,n){const o=e[t];if(o&&o.itemList.length>0&&n>=0&&n<o.itemList.length){return o.itemList[n]}},destroy:function(){e=[]}}}Po.render=function(t,n,o,a,i,l){const c=e.resolveComponent("tv-item");return e.openBlock(),e.createBlock(c,{class:"qt-ui-waterfall-vue-section",type:1007,keyName:"_id",blockFocusDirections:t.blockFocusDirections,clipChildren:!1,clipPadding:!1,flexStyle:"${style}",singleton:"",onItemBind:t.onSectionBind},{default:e.withCtx((()=>[e.renderSlot(t.$slots,"default")])),_:3},8,["blockFocusDirections","onItemBind"])},Po.__scopeId="data-v-f8447724",Po.__file="src/waterfall/section/vue-section.vue",exports.QTWaterfallVisibleType=void 0,(xo=exports.QTWaterfallVisibleType||(exports.QTWaterfallVisibleType={})).QT_WATERFALL_VISIBLE_TYPE_NONE="none",xo.QT_WATERFALL_VISIBLE_TYPE_NORMAL="normal",xo.QT_WATERFALL_VISIBLE_TYPE_CENTER="center";const ko="qt-waterfall";var Ro,Ao,Do=Ot({name:"qt-waterfall",emits:["onScroll","onScrollStateChanged","onItemClick","onItemFocused","onSectionBind","onSectionAttached","onSectionDetached"],props:{enablePlaceholder:{type:Boolean,default:!0},blockFocusDirections:{type:Array,default:()=>["down"]},vueSectionBlockFocusDirections:{type:Array,default:()=>["left","right"]}},setup(t,o){const a=n.useESLog(),i={name:"tvList"+Date.now(),size:{20008:10}},l=e.ref(exports.QTWaterfallVisibleType.QT_WATERFALL_VISIBLE_TYPE_CENTER),c=e.ref();let s;const r=Uo();return{waterfallRef:c,visibleType:l,init:function(e){s=e,e.visibleType&&(l.value=e.visibleType)},setAutoFocus:function(e,t){c.value?.setAutoFocus(e,t)},getSectionList:function(){return r.getSectionList()},setSectionList:function(e){if(!s)return;a.isLoggable(n.ESLogLevel.DEBUG)&&a.d(ko,"-------1---setSectionList--------------\x3e>>"),r.destroy();const t=r.addSectionList(e);a.isLoggable(n.ESLogLevel.DEBUG)&&a.d(ko,"-------2---setSectionList--------------\x3e>>",t);const o=Lo(s,e);a.isLoggable(n.ESLogLevel.DEBUG)&&a.d(ko,"----------setSectionList-----最终数据---------\x3e>>",o),c.value?.setListData(o)},addSectionList:function(e){if(!s)return;r.addSectionList(e);const t=Lo(s,e);a.isLoggable(n.ESLogLevel.DEBUG)&&a.d(ko,"----------addSectionList-----最终数据---------\x3e>>",t),c.value?.addListData(t)},deleteSection:function(e,t){const o=r.deleteSection(e,t);a.isLoggable(n.ESLogLevel.DEBUG)&&a.d(ko,"----------deleteSection-----最终数据---------\x3e>>",o),c.value?.deleteItem(e,t)},updateSection:function(e,t){r.updateSection(e,t);const o=Co(0,t);a.isLoggable(n.ESLogLevel.DEBUG)&&a.d(ko,"----------updateSection-----最终数据---------\x3e>>sectionIndex:",e,"updateSection:",o),c.value?.updateItem(e,o)},updateSectionList:function(e,t,n){const o=[];for(let t=0;t<n.length;t++){const a=n[t];r.updateSection(e+t,a);const i=Co(0,a);i&&o.push(i)}c.value?.updateItemList(e,t,o)},getSection:function(e){return r.getSection(e)},addItemList:function(e,t){r.addItemList(e,t);const n=r.getSection(e);if(n){const t=Co(0,n);c.value?.updateItem(e,t)}},deleteItem:function(e,t,n){r.deleteItem(e,t,n);const o=r.getSection(e);if(o){const t=Co(0,o);c.value?.updateItem(e,t)}},updateItem:function(e,t,n){r.updateItem(e,t,n);const o=r.getSection(e);if(o){const t=Co(0,o);c.value?.updateItem(e,t)}},updateItemList:function(e,t,n,o){r.updateItemList(e,t,n,o);const a=r.getSection(e);if(a){const t=Co(0,a);c.value?.updateItem(e,t)}},getItem:function(e,t){return r.getItem(e,t)},cachePool:i,flexCachePool:{name:"tvFlex",size:{1:50}},onScroll:function(e){e.stopPropagation();let t=e.offsetX,n=e.offsetY;o.emit("onScroll",t,n)},onItemClick:function(e){a.isLoggable(n.ESLogLevel.DEBUG)&&a.d(ko,"----------onItemClick--------------\x3e>>",e,"sectionIndex:"+e.parentPosition+" position:"+e.position+" "),o.emit("onItemClick",e.parentPosition,e.position,e.item)},onItemFocused:function(e){a.isLoggable(n.ESLogLevel.DEBUG)&&a.d(ko,"----------onItemFocused--------------\x3e>>",e,"sectionIndex:"+e.parentPosition+" position:"+e.position+" isFocused:"+e.isFocused+" "),o.emit("onItemFocused",e.parentPosition,e.position,e.isFocused,e.item)},onSectionBind:function(e){if(e){a.isLoggable(n.ESLogLevel.DEBUG)&&a.d(ko,"----------onSectionBind--------------\x3e>>",e);let t=e.pageIndex??0;o.emit("onSectionBind",t,e.position)}},onSectionAttached:function(e){if(e){a.isLoggable(n.ESLogLevel.DEBUG)&&a.d(ko,"----------onSectionAttached--------------\x3e>>",e);let t=e.pageIndex??0;o.emit("onSectionAttached",t,e.position)}},onSectionDetached:function(e){if(e){a.isLoggable(n.ESLogLevel.DEBUG)&&a.d(ko,"----------onSectionDetached--------------\x3e>>",e);let t=e.pageIndex??0;o.emit("onSectionDetached",t,e.position)}},onScrollStateChanged:function(e){let t=e.offsetY,n=e.offsetX,a=e.newState;o.emit("onScrollStateChanged",n,t,a)},resumePostTask:function(){c.value?.pausePostTask()},pausePostTask:function(){c.value?.pausePostTask()},clearPostTask:function(){c.value?.clearPostTask()},destroy:function(){c.value?.destroy()},scrollToTop:function(){c.value?.scrollToTop()},setListData:function(e){c.value?.setListData(e)}}},components:{"flex-section":so,"list-section":po,"section-title":Fo,"loading-section":Io,"end-section":ho,"blank-section":No,"card-section":yo,"vue-section":Po}});function wo(){const e=new Map,t=new Map;function n(n){const o={index:n,state:exports.QTTabPageState.QT_TAB_PAGE_STATE_IDLE};e.set(n,o),t.set(n,[])}function o(e,n){const o=t.get(e)??[];if(!(n<0||n>=o.length||0==o.length))return o[n]}function a(e){return e.itemList.length}function i(e,t,n){const o=e.length;if(t<0||t>=o)return 0;let i=t+n;t+n>o&&(i=o),console.log("----3--------getRangeSectionListItemCount-----------------\x3e>>>");let l=0;for(let n=t;n<i;n++){l+=a(e[n])}return l}function l(){console.log("--------dumpTabWaterfallData---------\x3e>>>",t)}return{initTab:function(e){const t=e.itemList;for(let e=0;e<t.length;e++)n(e)},getTabPageData:function(t){return e.get(t)},setPageData:function(t,n){e.set(t,n)},setSectionState:function(e,t,n){const a=o(e,t);a&&(a.state=n,a.sectionIndex=t)},getSectionListByState:function(e,n){return(t.get(e)??[]).filter((e=>e.state==n))},getSectionList:function(e){return t.get(e)??[]},addSectionList:function(n,o){const c=t.get(n)??[],s=c.length,r=i(c,0,s),u=function(e){if(e.length<=0)return 0;let t=0;for(let n=0;n<e.length;n++){t+=a(e[n])}return t}(o);c.push(...o);const d=e.get(n);return d&&(d.state=exports.QTTabPageState.QT_TAB_PAGE_STATE_IDLE),l(),{pageIndex:n,sectionIndex:s,sectionCount:o.length,itemIndex:r,itemCount:u}},deleteSection:function(e,n,o){const a=t.get(e)??[],c=i(a,0,n-1),s=i(a,n,o);return a.splice(n,o),l(),{pageIndex:e,sectionIndex:n,sectionCount:o,itemIndex:c,itemCount:s}},updateSection:function(e,n,o){const c=t.get(e)??[],s=i(c,0,n-1),r=a(o);return c.splice(n,1,o),l(),{pageIndex:e,sectionIndex:n,sectionCount:1,itemIndex:s,itemCount:r}},updateSectionList:function(e,n){return t.set(e,n),l(),{pageIndex:e,sectionIndex:0,sectionCount:n.length,itemIndex:-1,itemCount:-1}},getSection:o,addItemList:function(e,n,o){const a=t.get(e)??[],i=a.length;if(n<0||n>=i||o.length<=0)return{pageIndex:e,sectionIndex:-1,sectionCount:0,itemIndex:-1,itemCount:0};const c=a[n],s=c.itemList.length;return c.itemList.push(...o),l(),{pageIndex:e,sectionIndex:n,sectionCount:1,itemIndex:s,itemCount:o.length}},deleteItem:function(e,n,o,a){return(t.get(e)??[])[n].itemList.splice(o,a),l(),{pageIndex:e,sectionIndex:n,sectionCount:1,itemIndex:o,itemCount:a}},updateItem:function(e,n,o,a){return(t.get(e)??[])[n].itemList.splice(o,1,a),l(),{pageIndex:e,sectionIndex:n,sectionCount:1,itemIndex:o,itemCount:1}},updateItemList:function(e,n,o,a,i){return(t.get(e)??[])[n].itemList.splice(o,a,...i),l(),{pageIndex:e,sectionIndex:n,sectionCount:1,itemIndex:o,itemCount:a}},getItem:function(e,n,o){const a=(t.get(e)??[])[n];if(a&&a.itemList.length>0&&o>=0&&o<a.itemList.length){return a.itemList[o]}},destroy:function(){t.clear()}}}Do.render=function(t,n,o,a,i,l){const c=e.resolveComponent("flex-section"),s=e.resolveComponent("list-section"),r=e.resolveComponent("loading-section"),u=e.resolveComponent("end-section"),d=e.resolveComponent("blank-section"),f=e.resolveComponent("card-section"),p=e.resolveComponent("vue-section"),v=e.resolveComponent("tv-list");return e.openBlock(),e.createBlock(v,{ref:"waterfallRef",class:"qt-waterfall-root-css",keyName:"_id",clipChildren:!1,clipPadding:!1,listenBoundEvent:!0,negativeKeyTime:"30",postContentDelay:"500",onScroll:t.onScroll,onItemClick:t.onItemClick,onItemFocused:t.onItemFocused,onItemBind:t.onSectionBind,onItemAttached:t.onSectionAttached,onItemDetached:t.onSectionDetached,focusMemory:!1,cachePool:t.cachePool,preload:1,checkScrollOffsetOnStateChanged:!0,makeChildVisibleType:t.visibleType,scrollThresholdVertical:50,scrollEventThrottle:16,enableSelectOnFocus:!1,advancedFocusSearchSpan:"1",scrollYLesserReferenceValue:30,scrollYGreaterReferenceValue:30,shakePreCheckNumber:"4",blockFocusDirections:t.blockFocusDirections,onScrollStateChanged:t.onScrollStateChanged},{default:e.withCtx((()=>[e.createCommentVNode(" 普通版块"),e.createVNode(c,{"cache-pool":t.flexCachePool,enablePlaceholder:t.enablePlaceholder,onFocus:t.onItemFocused},{default:e.withCtx((()=>[e.renderSlot(t.$slots,"item")])),_:3},8,["cache-pool","enablePlaceholder","onFocus"]),e.createCommentVNode("一行滚动 多级tab"),e.createVNode(s,{enablePlaceholder:t.enablePlaceholder},{default:e.withCtx((()=>[e.renderSlot(t.$slots,"list-item")])),_:3},8,["enablePlaceholder"]),e.createCommentVNode(" loading"),e.createVNode(r),e.createCommentVNode(" end "),e.createVNode(u),e.createCommentVNode(" blank "),e.createVNode(d),e.createCommentVNode(" card "),e.createVNode(f,{onFocus:t.onItemFocused},null,8,["onFocus"]),e.createCommentVNode(" vue "),e.createVNode(p,{"block-focus-directions":t.vueSectionBlockFocusDirections},{default:e.withCtx((()=>[e.renderSlot(t.$slots,"vue-section")])),_:3},8,["block-focus-directions"]),e.renderSlot(t.$slots,"section")])),_:3},8,["onScroll","onItemClick","onItemFocused","onItemBind","onItemAttached","onItemDetached","cachePool","makeChildVisibleType","blockFocusDirections","onScrollStateChanged"])},Do.__file="src/waterfall/index.vue",exports.QTTabPageState=void 0,(Ro=exports.QTTabPageState||(exports.QTTabPageState={}))[Ro.QT_TAB_PAGE_STATE_IDLE=0]="QT_TAB_PAGE_STATE_IDLE",Ro[Ro.QT_TAB_PAGE_STATE_BUSY=1]="QT_TAB_PAGE_STATE_BUSY",Ro[Ro.QT_TAB_PAGE_STATE_COMPLETE=2]="QT_TAB_PAGE_STATE_COMPLETE",Ro[Ro.QT_TAB_PAGE_STATE_ERROR=3]="QT_TAB_PAGE_STATE_ERROR",function(e){e[e.QT_LIST_VIEW_ITEM_STATE_DEFAULT=0]="QT_LIST_VIEW_ITEM_STATE_DEFAULT",e[e.QT_LIST_VIEW_ITEM_STATE_ATTACHED=1]="QT_LIST_VIEW_ITEM_STATE_ATTACHED",e[e.QT_LIST_VIEW_ITEM_STATE_BIND=2]="QT_LIST_VIEW_ITEM_STATE_BIND",e[e.QT_LIST_VIEW_ITEM_STATE_UNBIND=3]="QT_LIST_VIEW_ITEM_STATE_UNBIND",e[e.QT_LIST_VIEW_ITEM_STATE_DETACHED=4]="QT_LIST_VIEW_ITEM_STATE_DETACHED"}(Ao||(Ao={}));const Bo="qt-tabs";var Oo=Ot({name:"qt-tabs",emits:["onTabPageLoadData","onTabPageChanged","onTabEvent","onTabPageItemClick","onTabPageItemFocused","onTabPageSectionAttached","onTabPageScroll","onTabPageScrollStateChanged","onTabMoveToTopStart","onTabMoveToTopEnd","onTabMoveToBottomStart","onTabMoveToBottomEnd","onTabChanged","onTabPageScrollToEnd","onTabPageScrollToStart","onTabClick"],props:{enablePlaceholder:{type:Boolean,default:!0},preloadNumber:{type:Number,default:3},tabNavBarClass:{type:String,default:""},tabClass:{type:String,default:""},tabsDataStrategy:{type:String,default:"overTime"},tabPageClass:{type:String,default:""},horizontal:{type:Boolean,default:!0},pageTransform:{type:Boolean,default:!0},hideOnSingleTab:{type:Boolean,default:!0},floatNavBar:{type:Boolean,default:!0},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},slidingEnable:{type:Boolean,default:!1},slidingMode:{type:String,default:""},initTranslation:{type:Number,default:0},rightTranslation:{type:Number,default:0},leftTranslation:{type:Number,default:0},duration:{type:Number,default:1e3},interpolatorType:{type:Number,default:1},endHintEnabled:{type:Boolean,default:!0},outOfDateTime:{type:Number,default:3e5}},setup(t,o){const a=e.ref();e.ref();const i=e.ref(!0),l=e.ref(1),c=n.useESLog(),s=e.ref(),r=wo();let u,d=-1,f=-1;function p(e,t){const n=r.getTabPageData(e);n&&(n.state=t,r.setPageData(e,n))}function v(e,a,i){let l=r.getTabPageData(e);if(l&&l.state===exports.QTTabPageState.QT_TAB_PAGE_STATE_IDLE){i>=r.getSectionList(e).length-t.preloadNumber-1&&(c.isLoggable(n.ESLogLevel.DEBUG)&&c.d(Bo,"----------loadPageData----加载数加载据--\x3e>>> pageIndex:"+e+" sectionIndex:"+i),o.emit("onTabPageLoadData",e,a),p(e,exports.QTTabPageState.QT_TAB_PAGE_STATE_BUSY))}else c.isLoggable(n.ESLogLevel.DEBUG)&&c.d(Bo,"----------loadPageData--状态不对--\x3e>>>",e)}function m(){clearTimeout(f),f=setTimeout((()=>{const e=r.getSectionListByState(d,Ao.QT_LIST_VIEW_ITEM_STATE_ATTACHED);(e?e.length:0)>0&&(e.forEach((e=>{c.isLoggable(n.ESLogLevel.DEBUG)&&c.d(Bo,"----------notifyTabContentSectionAttached------\x3e>>> pageIndex"+d+" sectionIndex:",e.sectionIndex)})),o.emit("onTabPageSectionAttached",d,e))}),100)}function g(e,t){c.isLoggable(n.ESLogLevel.DEBUG)&&c.d(Bo,"----------onWaterfallScroll----\x3e>>> offsetX:"+e+" scrollY:"+t),o.emit("onTabPageScroll",e,t)}function I(e,t,a){c.isLoggable(n.ESLogLevel.DEBUG)&&c.d(Bo,"----------onWaterfallScrollStateChanged----\x3e>>> offsetX:"+e+" scrollY:"+t+" newState:"+a),o.emit("onTabPageScrollStateChanged",e,t,a)}return{tabs:a,ifTabs:i,navBarRef:s,initTab:function(e){let t={defaultIndex:e.defaultIndex,focusIndex:e.defaultFocusIndex,data:e.itemList};r.initTab(e),a.value?.setTabsData(t)},setAutoFocus:function(e,t){a.value?.setAutoFocus(e,t)},initPage:function(e){u=e},setPageState:p,setPageData:function(e,t){c.isLoggable(n.ESLogLevel.DEBUG)&&c.d(Bo,"----------loadPageData----setPageData--\x3e>>>pageIndex:"+e),r.addSectionList(e,t.data);const o={data:Lo(u,t.data),disableScrollOnFirstScreen:t.disableScrollOnFirstScreen??!1,firstFocusTargetID:t.firstFocusTargetID??"",useDiff:t.useDiff};c.isLoggable(n.ESLogLevel.DEBUG)&&c.d(Bo,"------设置数据----setPageData------\x3e>>> pageIndex:"+e+" data:",o),a.value?.setPageData(e,o)},addPageData:function(e,t,o=0){c.isLoggable(n.ESLogLevel.DEBUG)&&c.d(Bo,"----------loadPageData----addPageData--\x3e>>>pageIndex:"+e),r.addSectionList(e,t.data);const i={data:Lo(u,t.data),disableScrollOnFirstScreen:t.disableScrollOnFirstScreen??!1,firstFocusTargetID:t.firstFocusTargetID??"",useDiff:t.useDiff};c.isLoggable(n.ESLogLevel.DEBUG)&&c.d(Bo,"----设置数据------addPageData------\x3e>>> pageIndex:"+e+" data:",i," deleteCount:"+o),a.value?.addPageData(e,i,o)},updatePageData:function(e,t){r.updateSectionList(e,t.data);const n={data:Lo(u,t.data),disableScrollOnFirstScreen:t.disableScrollOnFirstScreen??!1,firstFocusTargetID:t.firstFocusTargetID??"",useDiff:t.useDiff};a.value?.updatePageData(e,n)},updatePageSection:function(e,t,n){r.updateSection(e,t,n);const o=Co(0,n);a.value?.updateRootNode(e,t,o)},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),a.value?.invokeContentFunction(e,"deleteItemRange",[t,n])},addPageItemList:function(e,t,n){r.addItemList(e,t,n);const o=r.getSection(e,t);if(o){const n=Co(0,o);a.value?.updateRootNode(e,t,n)}},getPageItem:function(e,t,n){return r.getItem(e,t,n)},updatePageItem:function(e,t,n,o){r.updateItem(e,t,n,o),a.value?.updateChildNode(e,t,n,o)},deletePageItem:function(e,t,n,o){r.deleteItem(e,t,n,o);const i=r.getSection(e,t);if(i){const n=Co(0,i);a.value?.updateRootNode(e,t,n)}},blockRootFocus:function(){a.value?.blockRootFocus()},unBlockRootFocus:function(){a.value?.unBlockRootFocus()},focusBackToTop:function(){a.value?.focusBackToTop()},requestNodeFocus:function(e){a.value?.requestNodeFocus(e)},reloadAll:function(e=!0){a.value?.reloadAll(e)},reloadPage:function(e){a.value?.reloadPage(e)},setCurrentPage:function(e){a.value?.setCurrentPage(e)},requestTabFocus:function(e){a.value?.requestTabFocus(e)},invokeContentFunction:function(e,t,n){a.value?.invokeContentFunction(e,t,n)},invokeContentFunctionDirect:function(e,t){a.value?.invokeContentFunctionDirect(e,t)},contentScrollToFocus:function(e){a.value?.contentScrollToFocus(e)},getRootNodeViewState:function(e,t,n){a.value?.getRootNodeViewState(e,t,n)},getChildNodeViewState:function(e,t,n,o,i){a.value?.getChildNodeViewState(e,t,n,o,i)},dispatchUIFunctionOnChildNode:function(e,t,n,o,i){a.value?.dispatchUIFunctionOnChildNode(e,t,n,o,i)},updateItemMatched:function(e="id",t,n){a.value?.updateItemMatched(e,t,n)},updateRootNode:function(e,t,n){a.value?.updateRootNode(e,t,n)},updateChildNode:function(e,t,n,o){a.value?.updateChildNode(e,t,n,o)},destroy:function(){a.value?.destroy()},translationLeft:function(){a.value?.translationLeft()},translationRight:function(){a.value?.translationRight()},rootOpacity:l,onTabPageLoadData:function(e){const t=e.pageIndex,o=e.useDiff;c.isLoggable(n.ESLogLevel.DEBUG)&&c.d(Bo,"----------loadPageData----android--\x3e>>>pageIndex:"+t),v(t,o,0)},onTabPageChanged:function(e){const t=e.pageIndex;if(d==t)return void(c.isLoggable(n.ESLogLevel.DEBUG)&&c.d(Bo,"----------onTabPageChanged---重复发送page-changed事件---\x3e>>> pageIndex:"+t));d=t;const a=e.data;c.isLoggable(n.ESLogLevel.DEBUG)&&c.d(Bo,"----------onTabPageChanged------\x3e>>> pageIndex:"+t+" data:",a),o.emit("onTabPageChanged",t,a),m()},onTabEvent:function(e){const t=e.params,a=e.eventName,i=d,l=e.params.x,s=e.params.y,r=e.params.contentOffset,u=e.params.state;switch(c.isLoggable(n.ESLogLevel.DEBUG)&&c.d(Bo,"----------onTabEvent------\x3e>>> eventName:"+a+" tabIndex:"+i+" params:",t),o.emit("onTabEvent",i,a,t),a){case"onMoveToTopStart":o.emit("onTabMoveToTopStart",i,a,t);break;case"onMoveToTopEnd":o.emit("onTabMoveToTopEnd",i,a,t);break;case"onMoveToBottomStart":o.emit("onTabMoveToBottomStart",i,a,t);break;case"onMoveToBottomEnd":o.emit("onTabMoveToBottomEnd",i,a,t);break;case"onTabChanged":o.emit("onTabChanged",i,a,t);break;case"onScroll":g(l,s);break;case"onScrollStateChanged":I(r.x,r.y,u.newState)}},onWaterfallItemClick:function(e,t,a){c.isLoggable(n.ESLogLevel.DEBUG)&&c.d(Bo,"-----------onWaterfallItemClick---------------\x3e>>> sectionIndex:"+e+" itemIndex:"+t+" item:",a),o.emit("onTabPageItemClick",d,e,t,a)},onWaterfallItemFocused:function(e,t,a,i){c.isLoggable(n.ESLogLevel.DEBUG)&&c.d(Bo,"-----------onWaterfallItemFocused---------------\x3e>>> sectionIndex:"+e+" itemIndex:"+t+" isFocused:"+a+" item:",i),o.emit("onTabPageItemFocused",d,e,t,a,i)},onWaterfallSectionBind:function(e,t){c.isLoggable(n.ESLogLevel.DEBUG)&&c.d(Bo,"-----------onWaterfallSectionBind---------------\x3e>>> pageIndex:"+e+" sectionIndex:"+t),e===d&&(c.isLoggable(n.ESLogLevel.DEBUG)&&c.d(Bo,"----------loadPageData----bind--\x3e>>>pageIndex:"+e),v(e,!1,t))},onWaterfallSectionAttached:function(e,t){c.isLoggable(n.ESLogLevel.DEBUG)&&c.d(Bo,"-----------onWaterfallSectionAttached---------------\x3e>>> pageIndex:"+e+" sectionIndex:"+t),r.setSectionState(e,t,Ao.QT_LIST_VIEW_ITEM_STATE_ATTACHED),e==d&&m()},onWaterfallSectionDetached:function(e,t){c.isLoggable(n.ESLogLevel.DEBUG)&&c.d(Bo,"-----------onWaterfallSectionDetached---------------\x3e>>> pageIndex:"+e+" sectionIndex:"+t),r.setSectionState(e,t,Ao.QT_LIST_VIEW_ITEM_STATE_DETACHED)},onWaterfallScroll:g,onWaterfallScrollStateChanged:I,onTabPageScrollToStart:function(e){const t=e.pageIndex;o.emit("onTabPageScrollToStart",t),c.isLoggable(n.ESLogLevel.DEBUG)&&c.d(Bo,"----------onTabPageScrollToStart------\x3e>>> pageIndex:"+t)},onTabPageScrollToEnd:function(e){const t=e.pageIndex;o.emit("onTabPageScrollToEnd",t),c.isLoggable(n.ESLogLevel.DEBUG)&&c.d(Bo,"----------onTabPageScrollToEnd------\x3e>>> pageIndex:"+t)},onTabChange:function(e){},onTabClick:function(e){o.emit("onTabClick",e)}}}});Oo.render=function(t,n,o,a,i,l){const c=e.resolveComponent("qt-nav-bar"),s=e.resolveComponent("qt-waterfall"),r=e.resolveComponent("recycler-view-pager"),u=e.resolveComponent("tabs");return t.ifTabs?(e.openBlock(),e.createBlock(u,{key:0,ref:"tabs",class:e.normalizeClass(["tabs-root-css",t.tabClass]),dataStrategy:t.tabsDataStrategy,hideOnSingleTab:t.hideOnSingleTab,pageSwitchDelay:t.tabContentSwitchDelay,resumeTaskDelay:t.tabContentResumeDelay,suspension:t.floatNavBar,clipChildren:!1,outOfDateTime:t.outOfDateTime,blockFocusDirections:t.tabContentBlockFocusDirections,onScrollToStart:t.onTabPageScrollToStart,onScrollToEnd:t.onTabPageScrollToEnd,onLoadPage:t.onTabPageLoadData,onPageChanged:t.onTabPageChanged,onTabEvent:t.onTabEvent},{default:e.withCtx((()=>[e.createVNode(c,{ref:"navBarRef",name:"tabList",focusable:!1,class:e.normalizeClass(t.tabNavBarClass),"text-key":"text",onTabFocus:t.onTabChange,onTabClick:t.onTabClick,clipChldren:!1,horizontal:t.horizontal},{default:e.withCtx((()=>[e.renderSlot(t.$slots,"tab-item")])),_:3},8,["class","onTabFocus","onTabClick","horizontal"]),e.createVNode(r,{nextFocusName:t.contentNextFocus,ref:"viewPager",class:e.normalizeClass(t.tabPageClass),name:"content",loadingItemType:-1,clipChldren:!1,opacity:t.rootOpacity,focusable:!1,enableTransform:t.pageTransform,slidingEnable:t.slidingEnable,slidingMode:t.slidingMode,initTranslation:t.initTranslation,rightTranslation:t.rightTranslation,leftTranslation:t.leftTranslation,duration:t.duration,interpolatorType:t.interpolatorType,triggerTask:t.triggerTask,direction:t.horizontal?"horizontal":"vertical",blockFocusDirections:t.horizontal?t.blockViewPager:t.blockViewPagerVertical},{default:e.withCtx((()=>[e.createVNode(s,{keyName:"_id",endHintEnabled:t.endHintEnabled,enablePlaceholder:t.enablePlaceholder,onOnScrollStateChanged:t.onWaterfallScrollStateChanged,onOnScroll:t.onWaterfallScroll,onOnSectionBind:t.onWaterfallSectionBind,onOnSectionAttached:t.onWaterfallSectionAttached,onOnSectionDetached:t.onWaterfallSectionDetached,onOnItemFocused:t.onWaterfallItemFocused,onOnItemClick:t.onWaterfallItemClick},{item:e.withCtx((()=>[e.renderSlot(t.$slots,"waterfall-item")])),"list-item":e.withCtx((()=>[e.renderSlot(t.$slots,"waterfall-list-item")])),section:e.withCtx((()=>[e.renderSlot(t.$slots,"waterfall-section")])),"vue-section":e.withCtx((()=>[e.renderSlot(t.$slots,"waterfall-vue-section")])),_:3},8,["endHintEnabled","enablePlaceholder","onOnScrollStateChanged","onOnScroll","onOnSectionBind","onOnSectionAttached","onOnSectionDetached","onOnItemFocused","onOnItemClick"])])),_:3},8,["nextFocusName","class","opacity","enableTransform","slidingEnable","slidingMode","initTranslation","rightTranslation","leftTranslation","duration","interpolatorType","triggerTask","direction","blockFocusDirections"])])),_:3},8,["dataStrategy","hideOnSingleTab","pageSwitchDelay","resumeTaskDelay","suspension","outOfDateTime","class","blockFocusDirections","onScrollToStart","onScrollToEnd","onLoadPage","onPageChanged","onTabEvent"])):e.createCommentVNode("v-if",!0)},Oo.__file="src/tab/index.vue";var Mo=Ot({name:"qt-vue-section",setup:(e,t)=>({onSectionBind:function(){}})});Mo.render=function(t,n,o,a,i,l){const c=e.resolveComponent("tv-item");return e.openBlock(),e.createBlock(c,{class:"qt-ui-waterfall-vue-section",clipChildren:!1,clipPadding:!1,flexStyle:"${style}",singleton:"",onItemBind:t.onSectionBind},{default:e.withCtx((()=>[e.renderSlot(t.$slots,"default")])),_:3},8,["onItemBind"])},Mo.__scopeId="data-v-d02af3c2",Mo.__file="src/section/index.vue";var Vo=Ot({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.ref(1);const a=e.ref(),i=e.ref();let l=[],c=-1,s=-1,r=[];let u=-1;let d=-1,f=-1;return{descendantFocusability:o,content_list_view:a,nav_list_view:i,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<l.length;e++){const t=l[e];n.categoryname==t.categoryname&&(n.navIndex=e,a=!0)}a||(n.navIndex||(n.navIndex=l.length),l.push({type:n.type,decoration:{left:50},categoryname:n.categoryname,startIndex:o,isNeedFocus:!0})),r=e})),Tt((()=>{a.value?.setListData(e),i.value?.setListData(l),setTimeout((()=>{c=t.currentFocusIndex,s=e[t.currentFocusIndex].navIndex,a.value?.scrollToFocused(c),i.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(u),u=setTimeout((()=>{if(e.hasFocus){if(c!=e.position){if(c>-1){let e=r[c];e.isPlaying=!1,a.value?.updateItem(c,e)}let t=r[e.position];t.isPlaying=!0,a.value?.updateItem(e.position,t)}c=e.position,s!=e.item.navIndex&&(s=e.item.navIndex,i.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,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<l.length;t++){const n=l[t];e.categoryname==n.categoryname&&(e.navIndex=t)}})),a.value?.updateItem(e,r[e])}}}});const Qo={focusable:!1,clipChildren:!1},$o=["focusScale"],zo=e.createElementVNode("img",{class:"coverV",src:"${coverV}",focusable:!1,postDelay:300},null,-1),Wo=e.createElementVNode("img",{src:"${mask}",class:"titMask",focusable:!1,postDelay:300,showIf:"${isPlaying}"},null,-1),Go={focusable:!1,class:"clv_item_text_box",showIf:"${isPlaying}"},qo={class:"playMark",focusable:!1},Yo=["type"],Ho=e.createElementVNode("div",{class:"line",focusable:!1,showOnState:"selected",duplicateParentState:!0},null,-1),jo=e.createElementVNode("div",{duplicateParentState:!0,class:"nav_item_text_focused",showOnState:"focused",focusable:!1,gradientBackground:{colors:["#FF2F7CEB","#FF1163D8"],cornerRadius:40}},null,-1),Xo={class:"nav_item_text",focusable:!1,duplicateParentState:!0};Vo.render=function(t,n,o,a,i,l){const c=e.resolveComponent("play-mark"),s=e.resolveComponent("text-view"),r=e.resolveComponent("qt-list-view");return e.openBlock(),e.createElementBlock("div",Qo,[e.createCommentVNode(" listview second nav "),e.createVNode(r,{class:e.normalizeClass(t.className),ref:"content_list_view",clipChildren:!1,clipPadding:!1,onItemClick:t.onSItemClick,horizontal:"",blockFocusDirections:["left","right"],descendantFocusability:t.descendantFocusability,onItemFocused:t.onSItemFocused},{default:e.withCtx((()=>[e.createElementVNode("div",{type:10001,name:"clv_item",class:"clv_item",focusable:!0,enableFocusBorder:!0,clipChildren:!1,eventClick:"",eventFocus:"",focusScale:t.focusScale},[zo,Wo,e.createElementVNode("div",Go,[e.createElementVNode("div",qo,[e.createVNode(c,{style:e.normalizeStyle([{width:"28px",height:"20px"},{"margin-left":"16px"}]),markColor:"#ffffff",gap:-1,focusable:!1})]),e.createVNode(s,{focusable:!1,ellipsizeMode:2,fontSize:30,gravity:"centerVertical",lines:1,maxLines:1,class:"clv_item_text",text:"${assetTitle}",paddingRect:[6,0,0,0]})])],8,$o),e.renderSlot(t.$slots,"item")])),_:3},8,["class","onItemClick","descendantFocusability","onItemFocused"]),e.createCommentVNode(" listview first nav "),e.createVNode(r,{class:e.normalizeClass(t.classNavName),ref:"nav_list_view",clipChildren:!1,clipPadding:!1,onItemClick:t.onFItemClick,horizontal:"",blockFocusDirections:["left","right"],onItemFocused:t.onFItemFocused},{default:e.withCtx((()=>[e.createElementVNode("div",{type:t.navType,name:"nav_item",class:"nav_item",focusable:!0,enableFocusBorder:!1,focusScale:"1",eventClick:"",eventFocus:"",clipChildren:!1},[Ho,jo,e.createElementVNode("div",Xo,[e.createVNode(s,{focusable:!1,ellipsizeMode:2,duplicateParentState:!0,fontSize:44,gravity:"center",lines:1,class:"text_selected",text:"${categoryname}",showOnState:["selected"]}),e.createVNode(s,{focusable:!1,ellipsizeMode:2,duplicateParentState:!0,fontSize:44,gravity:"center",lines:1,maxLines:1,class:"text",text:"${categoryname}",showOnState:"focused"}),e.createVNode(s,{focusable:!1,ellipsizeMode:2,duplicateParentState:!0,fontSize:44,gravity:"center",lines:1,class:"text",text:"${categoryname}",showOnState:["normal"]})])],8,Yo),e.renderSlot(t.$slots,"navItem")])),_:3},8,["class","onItemClick","onItemFocused"])])},Vo.__file="src/classified-list-view/index.vue";var Jo=e.defineComponent({name:"media-series-number-item",props:{isVip:{type:Boolean,default:!1}}});const Zo={class:"number-item-container",focusable:!0,focusScale:1},Ko={style:{position:"absolute","flex-direction":"row","justify-content":"center","align-items":"center",width:"160px",height:"80px","background-color":"transparent"},showOnState:"selected",duplicateParentState:!0},ea={class:"media-series-number-item-vip-root",showIf:"${vip.enable}",gradientBackground:{colors:["#FFB67827","#FFDBAF5C"],cornerRadius:4,orientation:6}};Jo.render=function(t,n,o,a,i,l){const c=e.resolveComponent("text-view"),s=e.resolveComponent("play-mark");return e.openBlock(),e.createElementBlock("div",Zo,[e.createVNode(c,{duplicateParentState:!0,showOnState:"normal",style:{position:"absolute",width:"160px",height:"80px",color:"rgba(255, 255, 255, .50)"},fontSize:36,gravity:"center",text:"${title}"}),e.createVNode(c,{duplicateParentState:!0,style:{position:"absolute",width:"160px",height:"80px",color:"rgba(0, 0, 0, 1)"},fontSize:36,gravity:"center",showOnOnlyFocused:"",text:"${title}"}),e.createElementVNode("div",Ko,[e.createVNode(s,{style:{width:"24px",height:"25px"},markColor:t.isVip?"#FFD97C":"#FF4E46"},null,8,["markColor"]),e.createVNode(c,{duplicateParentState:!0,fontSize:36,gravity:"center",style:e.normalizeStyle({color:this.isVip?"#FFD97C":"rgba(255, 255, 255, .50)}"}),text:"${title}"},null,8,["style"])]),e.createElementVNode("div",ea,[e.createVNode(c,{duplicateParentState:!0,class:"media-series-number-item-vip-text",fontSize:20,gravity:"center",text:"${vip.text}"})])])},Jo.__scopeId="data-v-4afb8987",Jo.__file="src/series/item/media-series-number-item.vue";var ta=e.defineComponent({name:"media-series-text-item",props:{isVip:{type:Boolean,default:!1}}});const na={class:"text-item-container",focusable:!0,focusScale:1},oa={class:"text-item-container",showOnState:"selected",style:{position:"absolute","align-items":"center","background-color":"transparent"},duplicateParentState:!0},aa={class:"media-series-text-item-vip-root",showIf:"${vip.enable}",gradientBackground:{colors:["#FFB67827","#FFDBAF5C"],cornerRadius:4,orientation:6}};ta.render=function(t,n,o,a,i,l){const c=e.resolveComponent("play-mark"),s=e.resolveComponent("text-view");return e.openBlock(),e.createElementBlock("div",na,[e.createElementVNode("div",oa,[e.createVNode(c,{duplicateParentState:!0,style:{width:"23px",height:"22px","margin-left":"29px","margin-right":"10px"},markColor:this.isVip?"#FFD97C":"#FF4E46"},null,8,["markColor"]),e.createVNode(s,{duplicateParentState:!0,maxLines:1,ellipsizeMode:2,style:e.normalizeStyle([{color:this.isVip?"#FFD97C":"rgba(255, 255, 255, .50)}"},{"focus-color":"rgba(0, 0, 0, 1)"}]),fontSize:30,class:"text-item-text",gravity:"centerVertical",text:"${title}"},null,8,["style"])]),e.createVNode(s,{duplicateParentState:!0,maxLines:1,ellipsizeMode:2,showOnOnlyFocused:"",fontSize:30,class:"text-item-text",gravity:"centerVertical",style:{position:"absolute",width:"420px","margin-left":"35px",color:"rgba(0, 0, 0, 1)"},text:"${title}"}),e.createVNode(s,{duplicateParentState:!0,maxLines:1,ellipsizeMode:2,showOnState:"normal",fontSize:30,class:"text-item-text",gravity:"centerVertical",style:{position:"absolute",width:"420px","margin-left":"35px",color:"rgba(255, 255, 255, .50)"},text:"${title}"}),e.createElementVNode("div",aa,[e.createVNode(s,{duplicateParentState:!0,class:"media-series-text-item-vip-text",fontSize:20,gravity:"center",text:"${vip.text}"})])])},ta.__scopeId="data-v-4859f623",ta.__file="src/series/item/media-series-text-item.vue";var ia,la,ca=e.defineComponent({name:"media-series",props:{customItem:{type:Boolean,default:!1},initParam:{type:Object,default:()=>({})},height:{type:Number,default:230},scrollParam:{type:Object,default:()=>({})},groupParam:{type:Object,default:()=>({})},commonParam:{type:Object,default:()=>({})}},emits:["load-data","item-click","item-focused","group-item-focused"],setup(t,n){const o=e.ref();let a=e.ref(!1);e.onMounted((()=>{a.value=!t.customItem}));return{selectSeries:o,showOld:a,onLoadData:e=>{n.emit("load-data",e)},setPageData:(e,t)=>{o.value?.setPageData(e,t)},setInitData:(e,t)=>{o.value?o.value?.setInitData(e,t):Tt((()=>{o.value&&o.value?.setInitData(e,t)}))},onItemClick:e=>{n.emit("item-click",e)},onItemFocused:e=>{n.emit("item-focused",e)},onGroupItemFocused:e=>{n.emit("group-item-focused",e)},scrollTo:e=>{o.value?.scrollTo(e)},scrollToWithOffset:(e,t,n)=>{o.value?.scrollToWithOffset(e,t,n)},requestFocus:e=>{o.value?.requestFocus(e)},setSelected:e=>{o.value?.setSelected(e)},setup:()=>{o.value?.setup()},setGroupSelected:e=>{o.value?.setGroupSelected(e)},release:()=>{o.value?.release()}}}});function sa(e,t,n,o){const a=function(e,t,n,o){switch(e){case exports.QTMediaSeriesType.QT_MEDIA_SERIES_TYPE_LEFT_RIGHT:break;case exports.QTMediaSeriesType.QT_MEDIA_SERIES_TYPE_NUMBER:return 80;case exports.QTMediaSeriesType.QT_MEDIA_SERIES_TYPE_TEXT:return 100;case exports.QTMediaSeriesType.QT_MEDIA_SERIES_TYPE_TOP_DOWN:}return-1}(e);switch(e){case exports.QTMediaSeriesType.QT_MEDIA_SERIES_TYPE_TOP_DOWN:case exports.QTMediaSeriesType.QT_MEDIA_SERIES_TYPE_TEXT:return{contentWidth:1740,itemGap:36,initPosition:o.initPosition,contentHeight:a};case exports.QTMediaSeriesType.QT_MEDIA_SERIES_TYPE_NUMBER:return{contentWidth:1740,itemGap:15.6,initPosition:o.initPosition,contentHeight:a};case exports.QTMediaSeriesType.QT_MEDIA_SERIES_TYPE_LEFT_RIGHT:return{}}}ca.render=function(t,n,o,a,i,l){const c=e.resolveComponent("select-series"),s=e.resolveComponent("large-list");return t.customItem?(e.openBlock(),e.createBlock(c,{key:0,ref:"selectSeries",clipChildren:!1,scrollParam:t.scrollParam,groupParam:t.groupParam,commonParam:t.commonParam,display:!0,onLoadData:t.onLoadData,onItemClick:t.onItemClick,onItemFocused:t.onItemFocused,onGroupItemFocused:t.onGroupItemFocused,style:e.normalizeStyle({width:1920,height:t.height})},{default:e.withCtx((()=>[e.renderSlot(t.$slots,"default")])),_:3},8,["scrollParam","groupParam","commonParam","onLoadData","onItemClick","onItemFocused","onGroupItemFocused","style"])):t.showOld?(e.openBlock(),e.createBlock(s,{key:1,ref:"selectSeries",clipChildren:!1,display:!0,initParam:t.initParam,onLoadData:t.onLoadData,onItemClick:t.onItemClick,onItemFocused:t.onItemFocused,onGroupItemFocused:t.onGroupItemFocused,style:e.normalizeStyle({width:1920,height:t.height})},null,8,["initParam","onLoadData","onItemClick","onItemFocused","onGroupItemFocused","style"])):e.createCommentVNode("v-if",!0)},ca.__file="src/series/component/media-series.vue",exports.QTMediaSeriesType=void 0,(ia=exports.QTMediaSeriesType||(exports.QTMediaSeriesType={})).QT_MEDIA_SERIES_TYPE_LEFT_RIGHT="leftRight",ia.QT_MEDIA_SERIES_TYPE_TOP_DOWN="topDown",ia.QT_MEDIA_SERIES_TYPE_TEXT="text",ia.QT_MEDIA_SERIES_TYPE_NUMBER="number",exports.QTMediaSeriesStyleType=void 0,(la=exports.QTMediaSeriesStyleType||(exports.QTMediaSeriesStyleType={}))[la.QT_MEDIA_SERIES_STYLE_TYPE_DEFAULT=0]="QT_MEDIA_SERIES_STYLE_TYPE_DEFAULT",la[la.QT_MEDIA_SERIES_STYLE_TYPE_VIP=1]="QT_MEDIA_SERIES_STYLE_TYPE_VIP";var ra,ua,da,fa,pa=e.defineComponent({name:"qt-media-series",components:{"media-series-number-item":Jo,"media-series-text-item":ta,"media-series":ca},emits:["load-data","item-click","item-focused","group-item-focused"],setup(o,a){const i=e.ref(),l=e.ref(!1),c=n.useESLog(),s=e.ref(),r=e.ref(),u=e.ref(),d=e.ref(),f=e.ref(0),p=e.ref(!1),v=e.ref(exports.QTMediaSeriesType.QT_MEDIA_SERIES_TYPE_NUMBER);let m;return{isVip:p,seriesType:v,params:s,commonParams:r,scrollParams:u,groupParams:d,mediaSeriesRef:i,show:l,height:f,onLoadData:e=>{a.emit("load-data",e)},setInitData:(e,t,o,a)=>{v.value=e,m=a,s.value=function(e,t,n,o){const a=n==exports.QTMediaSeriesStyleType.QT_MEDIA_SERIES_STYLE_TYPE_VIP;let i={initPosition:o.initPosition,contentWidth:1740,contentHeight:160,itemGap:36,enableGroup:t.enable,groupSize:t.size,groupHeight:46,groupTopMargin:24,group:null,template:null};return i.template={titleSize:28,floatTitleSize:20,isFree:!a,type:"leftRight",width:560,height:160,focusScale:1.1},i.template.extra={imgWidth:268,imgHeight:160,textColor:{normal:"#80FFFFFF",focused:a?"#FFD97C":"#ffffffff",selected:a?"#FFD97C":"#ffffffff"},cornerBgColor:{orientation:"LEFT_RIGHT",cornerRadius:[4,4,4,4],color:["#B67827","#DBAF5C"]}},i.group={itemWidth:85,itemHeight:46,itemGap:50,textSize:30,textColor:{normal:"#80FFFFFF",focused:a?"#603314":"#000000",selected:a?"#FFD97C":"#F5F5F5"},focusBackground:{orientation:"LEFT_RIGHT",cornerRadius:[40,40,40,40],color:[a?"#FFE398":"#F5F5F5",a?"#EEB364":"#F5F5F5"],padding:[34,6]},mark:{color:a?"#FFD97C":"#FFFFFF"}},i}(0,t,o,a),r.value=sa(e,0,0,a),u.value=function(e,t,n,o){if(e===exports.QTMediaSeriesType.QT_MEDIA_SERIES_TYPE_NUMBER)return{scrollType:1,pageDisplayCount:10,paddingForPageLeft:0,paddingForPageRight:0}}(e),d.value=function(e,t,n,o){const a={};if(t.enable){switch(e){case exports.QTMediaSeriesType.QT_MEDIA_SERIES_TYPE_TOP_DOWN:a.groupSize=t.size;case exports.QTMediaSeriesType.QT_MEDIA_SERIES_TYPE_TEXT:a.groupSize=t.size;case exports.QTMediaSeriesType.QT_MEDIA_SERIES_TYPE_NUMBER:a.groupSize=t.size}n==exports.QTMediaSeriesStyleType.QT_MEDIA_SERIES_STYLE_TYPE_VIP&&(a.textColor={normal:"#80FFFFFF",focused:"#603314",selected:"#FFD97C"},a.focusBackground={orientation:"LEFT_RIGHT",cornerRadius:[40,40,40,40],color:["#FFE398","#EEB364"],padding:[34,6]},a.mark={color:"#FFD97C"})}return a}(e,t,o),exports.QTMediaSeriesType.QT_MEDIA_SERIES_TYPE_LEFT_RIGHT!==e?(f.value=function(e,t,n,o){switch(e){case exports.QTMediaSeriesType.QT_MEDIA_SERIES_TYPE_LEFT_RIGHT:break;case exports.QTMediaSeriesType.QT_MEDIA_SERIES_TYPE_NUMBER:return 80+(t.enable?70:0);case exports.QTMediaSeriesType.QT_MEDIA_SERIES_TYPE_TEXT:return 100+(t.enable?70:0);case exports.QTMediaSeriesType.QT_MEDIA_SERIES_TYPE_TOP_DOWN:}return-1}(e,t),Tt((()=>{i.value&&i.value?.setInitData(a.totalCount,a.pageSize)})),c.isLoggable(n.ESLogLevel.DEBUG)&&c.d("MediaSeries","----setInitData----\x3e>>>",f.value)):(f.value=function(e,t,n,o,a){return t.enable?a.value.template.height+a.value.groupHeight+a.value.groupTopMargin:a.value.template.height}(0,t,0,0,s),s.value.totalCount=a.totalCount,s.value.pageSize=a.pageSize),l.value=!0},setPageData:(e,t)=>{let n=t;v.value==exports.QTMediaSeriesType.QT_MEDIA_SERIES_TYPE_NUMBER&&(n=function(e,t,n){const o=[];return n.length>0&&n.forEach(((n,a)=>{let i=e*t+a+1,l=i>9?""+i:"0"+i;o.push({id:n.id,title:l,vip:n.vip})})),o}(e,m.pageSize,t)),i.value?.setPageData(e,n)},onItemClick:e=>{a.emit("item-click",e)},onItemFocused:e=>{a.emit("item-focused",e)},onGroupItemFocused:e=>{a.emit("group-item-focused",e)},scrollTo:e=>{i.value?.scrollTo(e)},scrollToWithOffset:(e,t)=>{i.value?.scrollToWithOffset(e,t,!1)},requestFocus:e=>{i.value?.requestFocus(e)},setSelected:e=>{i.value?.setSelected(e)},setup:()=>{i.value?.setup()},setGroupSelected:e=>{i.value?.setGroupSelected(e)},release:()=>{i.value?.release(),l.value=!1},blockRootFocus:()=>{i.value&&t.Native.callUIFunction(i.value,"blockRootFocus",[])},unBlockRootFocus:()=>{i.value&&t.Native.callUIFunction(i.value,"unBlockRootFocus",[])}}}});pa.render=function(t,n,o,a,i,l){const c=e.resolveComponent("media-series-number-item"),s=e.resolveComponent("media-series-text-item"),r=e.resolveComponent("media-series");return t.show?(e.openBlock(),e.createBlock(r,{key:0,ref:"mediaSeriesRef",clipChildren:!1,"init-param":t.params,height:t.height,"custom-item":"leftRight"!==t.seriesType,"scroll-param":t.scrollParams,"group-param":t.groupParams,"common-param":t.commonParams,onLoadData:t.onLoadData,onItemClick:t.onItemClick,onItemFocused:t.onItemFocused,onGroupItemFocused:t.onGroupItemFocused},{default:e.withCtx((()=>["number"===t.seriesType?(e.openBlock(),e.createBlock(c,{key:0,"is-vip":t.isVip},null,8,["is-vip"])):"text"===t.seriesType?(e.openBlock(),e.createBlock(s,{key:1,"is-vip":t.isVip},null,8,["is-vip"])):"custom"===t.seriesType?e.renderSlot(t.$slots,"default",{key:2}):e.createCommentVNode("v-if",!0)])),_:3},8,["init-param","height","custom-item","scroll-param","group-param","common-param","onLoadData","onItemClick","onItemFocused","onGroupItemFocused"])):e.createCommentVNode("v-if",!0)},pa.__file="src/series/index.vue",exports.QTAnimationInterpolatorType=void 0,(ra=exports.QTAnimationInterpolatorType||(exports.QTAnimationInterpolatorType={}))[ra.QT_ACCELERATE_DECELERATE_INTERPOLATOR=1]="QT_ACCELERATE_DECELERATE_INTERPOLATOR",ra[ra.QT_ACCELERATE_INTERPOLATOR=2]="QT_ACCELERATE_INTERPOLATOR",ra[ra.QT_ANTICIPATE_INTERPOLATOR=3]="QT_ANTICIPATE_INTERPOLATOR",ra[ra.QT_ANTICIPATE_OVERSHOOT_INTERPOLATOR=4]="QT_ANTICIPATE_OVERSHOOT_INTERPOLATOR",ra[ra.QT_BOUNCE_INTERPOLATOR=5]="QT_BOUNCE_INTERPOLATOR",ra[ra.QT_CYCLE_INTERPOLATOR=6]="QT_CYCLE_INTERPOLATOR",ra[ra.QT_DECELERATE_INTERPOLATOR=7]="QT_DECELERATE_INTERPOLATOR",ra[ra.QT_LINEAR_INTERPOLATOR=8]="QT_LINEAR_INTERPOLATOR",ra[ra.QT_OVERSHOOT_INTERPOLATOR=9]="QT_OVERSHOOT_INTERPOLATOR",ra[ra.QT_FAST_OUT_LINEAR_IN_INTERPOLATOR=10]="QT_FAST_OUT_LINEAR_IN_INTERPOLATOR",ra[ra.QT_FAST_OUT_SLOW_IN_INTERPOLATOR=11]="QT_FAST_OUT_SLOW_IN_INTERPOLATOR",ra[ra.QT_PATH_INTERPOLATOR=12]="QT_PATH_INTERPOLATOR",exports.QTAnimationPropertyName=void 0,(ua=exports.QTAnimationPropertyName||(exports.QTAnimationPropertyName={})).QT_ANIMATION_PROPERTY_NAME_ALPHA="alpha",ua.QT_ANIMATION_PROPERTY_NAME_ROTATION="rotation",ua.QT_ANIMATION_PROPERTY_NAME_ROTATION_X="rotationX",ua.QT_ANIMATION_PROPERTY_NAME_ROTATION_Y="rotationY",ua.QT_ANIMATION_PROPERTY_NAME_ROTATION_Z="rotationZ",ua.QT_ANIMATION_PROPERTY_NAME_SCALE_X="scaleX",ua.QT_ANIMATION_PROPERTY_NAME_SCALE_Y="scaleY",ua.QT_ANIMATION_PROPERTY_NAME_SCALE_Z="scaleZ",ua.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_X="translationX",ua.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Y="translationY",ua.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Z="translationZ",exports.QTAnimationRepeatMode=void 0,(da=exports.QTAnimationRepeatMode||(exports.QTAnimationRepeatMode={}))[da.QT_ANIMATION_REPEAT_MODE_RESTART=1]="QT_ANIMATION_REPEAT_MODE_RESTART",da[da.QT_ANIMATION_REPEAT_MODE_REVERSE=2]="QT_ANIMATION_REPEAT_MODE_REVERSE",da[da.QT_ANIMATION_REPEAT_MODE_INFINITE=-1]="QT_ANIMATION_REPEAT_MODE_INFINITE",exports.QTAnimationValueType=void 0,(fa=exports.QTAnimationValueType||(exports.QTAnimationValueType={})).QT_ANIMATION_VALUE_TYPE_INT="ofInt",fa.QT_ANIMATION_VALUE_TYPE_FLOAT="ofFloat";const va="QTCollapse";var ma,ga,Ia,Ta,ha=Ot({name:"qt-collapse",emits:["onCollapseItemExpand"],setup(t,o){const a=n.useESLog();let i,l,c=o.slots.default&&o.slots.default();const s=e.ref(0),r=e.ref(0);let u=200;const d={};const f={};function p(e){return f[`${e}`]}function v(e,t){const l=i[e],c=l.__y,s=r.value-l.height-c;a.isLoggable(n.ESLogLevel.DEBUG)&&a.d(va,"-------expandItem-------\x3e>>>",e,s,c);let u=0;for(let o=i.length-1;o>=0;o--){const l=i[o];l.height;const c=l.collapseHeight;o<e&&(u+=c);try{const t=g(o);t&&t.onCollapseItemExpand(o==e)}catch(e){}const r=p(o);r&&(a.isLoggable(n.ESLogLevel.DEBUG)&&a.d(va,"-------expandItem----translationY---\x3e>>>",l,o,l.__translationY,s+u),m(o+"",l,r,l.__translationY,s+u,t))}try{o.emit("onCollapseItemExpand",e,l)}catch(e){}}function m(e,t,n,o,a,i){n.objectAnimator2(e,exports.QTAnimationValueType.QT_ANIMATION_VALUE_TYPE_FLOAT,exports.QTAnimationPropertyName.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Y,o,a,i,-1,0,!1,!1),n.startAnimator(e),t.__translationY=a}function g(e){return d[`${e}`]}return{collapseItemComponentList:c,initComponentRef:function(e,t,n){e&&(d[`${n}`]=e)},initAnimComponentRef:function(e,t,n){e&&(f[`${n}`]=e)},init:function(t){l=t.defaultIndex??0,i=t.itemList,s.value=t.width,r.value=t.height,u=t.expandDuration??200,l<0&&(l=0),l>=i.length&&(l=i.length-1),function(){if(!i||i.length<=0)return;const e=i.length;let t=0;for(let n=e-1;n>=0;n--){const e=i[n];t+=e.height,e.__y=r.value-t,e.__translationY=0}a.isLoggable(n.ESLogLevel.DEBUG)&&a.d(va,"----initCollapseItem----\x3e>>>",i)}(),e.nextTick((()=>{v(l,0)}))},getItem:g,expandItem:function(e){v(e,u)},collapse:function(){const e=i.length,t=i[e-1],n=t.__y,o=r.value-t.height-n;let a=0;for(let t=e-1;t>=0;t--){const e=i[t];a+=e.collapseHeight;try{const e=g(t);e&&e.onCollapseItemExpand(!1)}catch(e){}const n=p(t);n&&m(t+"",e,n,e.__translationY,o+a,0)}},expand:function(){for(let e=i.length-1;e>=0;e--){const t=i[e];try{const t=g(e);t&&t.onCollapseItemExpand(!0)}catch(e){}const n=p(e);n&&m(e+"",t,n,t.__translationY,0,0)}},collapseWidth:s,collapseHeight:r}}});ha.render=function(t,n,o,a,i,l){const c=e.resolveComponent("qt-animation");return e.openBlock(),e.createElementBlock("div",{class:"qt-collapse-root-css",clipChildren:!1,clipPadding:!1,style:e.normalizeStyle({width:t.collapseWidth,height:t.collapseHeight})},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.collapseItemComponentList,((n,o)=>(e.openBlock(),e.createBlock(c,{ref_for:!0,ref:e=>t.initAnimComponentRef(e,n,o),class:"qt-collapse-item-css"},{default:e.withCtx((()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(n),{key:n.name,class:"qt-collapse-item-css",ref_for:!0,ref:e=>t.initComponentRef(e,n,o)}))])),_:2},1536)))),256))],4)},ha.__scopeId="data-v-4feca809",ha.__file="src/collapse/index.vue",exports.QTDirections=void 0,(ma=exports.QTDirections||(exports.QTDirections={})).QT_DIRECTION_UP="up",ma.QT_DIRECTION_DOWN="down",ma.QT_DIRECTION_RIGHT="right",ma.QT_DIRECTION_LEFT="left",exports.QTScrollState=void 0,(ga=exports.QTScrollState||(exports.QTScrollState={}))[ga.SCROLL_STATE_IDLE=0]="SCROLL_STATE_IDLE",ga[ga.SCROLL_STATE_DRAGGING=1]="SCROLL_STATE_DRAGGING",ga[ga.SCROLL_STATE_SETTLING=2]="SCROLL_STATE_SETTLING",exports.QTNavBarItemType=void 0,(Ia=exports.QTNavBarItemType||(exports.QTNavBarItemType={}))[Ia.QT_NAV_BAR_ITEM_TYPE_TEXT=2e4]="QT_NAV_BAR_ITEM_TYPE_TEXT",exports.QTTabItemType=void 0,(Ta=exports.QTTabItemType||(exports.QTTabItemType={}))[Ta.QT_TAB_ITEM_TYPE_DEFAULT=2e4]="QT_TAB_ITEM_TYPE_DEFAULT";const Sa=[bn,En,xn,Ln,Un,Rn,zn,jn,no,Do,Oo,Vo,Mo,pa,ha];exports.QuickTVUI=o=>{o.component("qt-loading-view",{setup(t,n){const o=e.ref();return()=>e.h("LoadingViewComponent",{ref:o})}}),function(o){const a=e.defineComponent({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(o,a){const i=e.ref();n.useES();let l=[],c=[],s=[],r="",u=-1,d=!1,f=-1,p=-1,v=-1,m=-1;e.watchEffect((()=>{o.openPage&&(u=1,d=!1,o.loadMore(u))}));const g=e=>{0==l.length&&(l=$n(e),I(l,-1),c=e,o.openPage?S(l.concat([{_id:"",type:1002,decoration:{top:18,bottom:18,right:30,left:30}}])):S(l),o.defaultFocus>-1&&(v&&clearTimeout(v),v=setTimeout((()=>{L(o.defaultFocus)}),500)));let t={get(e,n,a){if("__ob__"!=n&&"symbol"!=typeof n&&"map"!=n&&"length"!=n&&"constructor"!=n&&"_isVue"!=n&&"valueOf"!=n&&"toString"!=n&&"observeArray"!=n&&"dep"!=n&&"notify"!=n&&"subs"!=n&&"slice"!=n)if(s.push(n),-1!=s.indexOf("push"))r="push";else{if(-1!=s.indexOf("splice"))return r="splice",function(...t){return e.splice(...t),-1!=s.indexOf("list")?(l[s[0]].list.splice(...t),b(Number(s[0]),l[s[0]])):1==t.length?N(Number(t[0]),l.length-t[0]+1):2==t.length?N(Number(t[0]),t[1]):t.length>2&&(0==t[1]?E(t[0],t.slice(2)):y(t[0],t[1],t.slice(2))),l.splice(t[0],...t.slice(1)),r="",s=[],Reflect.get(e,n,a)};if(-1!=s.indexOf("pop"))return r="pop",function(){return e.pop(),-1!=s.lastIndexOf("list")?(l[s[0]].list.pop(),b(Number(s[0]),l[s[0]])):(N(Number(l.length-1),1),l.pop()),r="",s=[],Reflect.get(e,n,a)};if(-1!=s.indexOf("forEach"))return r="forEach",function(t){return e.forEach((e=>{t(e)})),l=[],l=$n(e),o.openPage?S(l.concat([{_id:"",type:1002,decoration:{top:15,left:30}}])):S(l),r="",s=[],Reflect.get(e,n,a)};if(-1!=s.indexOf("concat"))return r="concat",function(i){return e=e.concat(i),-1!=s.lastIndexOf("list")?(l[s[0]].list=l[s[0]].list.concat(i),b(Number(s[0]),l[s[0]])):(l=l.concat(i),o.openPage&&!d?setTimeout((()=>{_(i.concat([{type:"1002",decoration:{bottom:18,right:30,left:30}}]),1)}),300):F(i)),r="",s=[],Reflect.get(e,n,a),new Proxy(e,t)};r=""}const i=Reflect.get(e,n,a);return T(i)&&"__ob__"!=n&&"dep"!=n&&"subs"!=n?g(i):(-1==s.indexOf("push")&&(s=[]),i)},set(e,t,n,a){const i=e[t];h(e,t);const u=Reflect.set(e,t,n,a);if((!T(i)&&i!==n||T(i))&&"push"!=r)if(s.push(t),-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]:c[t]}n.name="name"+s[e-1]+s[e+1],b(Number(s[0]),c[s[0]]),l[s[0]].list[s[e+1]]=c[s[0]].list[s[e+1]],l[s[0]].list[s[e+1]].name="name"+s[e-1]+s[e+1]}else l[s[0]]=c[s[0]],l[s[0]].name="name"+s[0],b(Number(s[0]),c[s[0]]);if(t&&"push"==r&&i!==n)-1!=s.lastIndexOf("list")?(s.push(t),l[s[0]].list.push(n)):(s.push(t),l.push(n));else{if("push"==r)if(-1!=s.lastIndexOf("list"))b(Number(s[0]),l[s[0]]);else{let e=l.slice(s[1]);m&&clearTimeout(m),m=o.openPage&&!d?setTimeout((()=>{_(e.concat([{_id:"",type:1002,decoration:{bottom:18,right:30,left:30}}]),1)}),300):setTimeout((()=>{F(e)}),300)}r="",s=[]}return u}};return new Proxy(e,t)},I=(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&&I(o.list,n)}},T=e=>null!==e&&"object"==typeof e,h=(e,t)=>{Object.hasOwnProperty.call(e,t)},S=e=>{f&&clearTimeout(f),f=setTimeout((()=>{t.Native.callUIFunction(i.value,"setListData",e)}),100)},F=e=>{t.Native.callUIFunction(i.value,"addListData",e)},_=(e,n)=>{t.Native.callUIFunction(i.value,"addListDataWithParams",[e,n])},N=(e,n)=>{t.Native.callUIFunction(i.value,"deleteItemRange",[e,n])},b=(e,n)=>{t.Native.callUIFunction(i.value,"updateItem",[e,n])},y=(e,n,o)=>{t.Native.callUIFunction(i.value,"updateItemRange",[e,n,o])},E=(e,n)=>{t.Native.callUIFunction(i.value,"insertItemRange",[e,n])},x=(e,n)=>{t.Native.callUIFunction(i.value,"setSelectChildPosition",[e,n])},P=e=>{t.Native.callUIFunction(i.value,"scrollToPosition",[e])},L=e=>{t.Native.callUIFunction(i.value,"requestChildFocus",[e])};return e.onBeforeUnmount((()=>{l=[],c.length=0,s=[],d=!1,u=1,r="",f&&clearTimeout(f),v&&clearTimeout(v),m&&clearTimeout(m),p&&clearTimeout(p)})),a.expose({viewRef:i,init:g,undataItemName:I,hasChanged:(e,t)=>e!==t&&(e==e||t==t),scrollToIndex:(e,n,o)=>{t.Native.callUIFunction(i.value,"scrollToPositionWithOffset",[e,o,n])},updateItem:b,updateItemList:y,hasFocus:e=>{t.Native.callUIFunction(i.value,"hasFocus",(t=>{e(t)}))},updateItemProps:(e,n,o)=>{t.Native.callUIFunction(i.value,"updateItemProps",[n,e,o,!0])},setListData:S,insertItem:E,addListData:F,addListDataWithParams:_,dispatchItemFunction:(e,n,o,a)=>{t.Native.callUIFunction(i.value,"dispatchItemFunction",[e,n,o,a])},deleteItem:N,setBlockFocusDirectionsOnFail:e=>{t.Native.callUIFunction(i.value,"setBlockFocusDirectionsOnFail",[e])},setListDataWithParams:(e,n)=>{t.Native.callUIFunction(i.value,"setListDataWithParams",[e,n])},prepareForRecycle:()=>{t.Native.callUIFunction(i.value,"prepareForRecycle",[])},setDisplay:e=>{t.Native.callUIFunction(i.value,"setDisplay",[e])},scrollToTop:()=>{t.Native.callUIFunction(i.value,"scrollToTop",[])},changeDisplayState:(e,n)=>{t.Native.callUIFunction(i.value,"changeDisplayState",[e,n])},notifySaveInstance:()=>{t.Native.callUIFunction(i.value,"notifySaveInstance",[])},notifyRestoreInstance:()=>{t.Native.callUIFunction(i.value,"notifyRestoreInstance",[])},pausePostTask:()=>{t.Native.callUIFunction(i.value,"pausePostTask",[])},resumePostTask:()=>{t.Native.callUIFunction(i.value,"resumePostTask",[])},getScrollOffset:e=>{t.Native.callUIFunction(i.value,"getScrollOffset",[],e)},scrollToPosition:P,scrollToFocused:e=>{P(e),L(e)},scrollToSelected:(e,t)=>{P(e),x(e,t)},scrollToPositionOffset:(e,n,o,a,l)=>{t.Native.callUIFunction(i.value,"scrollToPositionWithOffset",[n,a,o])},destroy:()=>{t.Native.callUIFunction(i.value,"destroy",[])},startScroll:(e,n,o)=>{t.Native.callUIFunction(i.value,"startScroll",[{focusPosition:e,scrollToPosition:n,scrollOffset:o}])},setItemFocused:L,clearPostTask:()=>{t.Native.callUIFunction(i.value,"clearAllPostTask",[])},clearFocus:()=>{t.Native.callUIFunction(i.value,"clearFocus",[])},setItemSelected:x,blockRootFocus:()=>{t.Native.callUIFunction(i.value,"blockRootFocus",[])},unBlockRootFocus:()=>{t.Native.callUIFunction(i.value,"unBlockRootFocus",[])},setBackgroundColor:e=>{t.Native.callUIFunction(i.value,"setBackgroundColor",[e])},stopPage:()=>{p&&clearTimeout(p),p=setTimeout((()=>{N(l.length,1)}),400),d=!0},setAutoFocus:function(e,n){t.Native.callUIFunction(i.value,"setAutoFocus",[e,n])}}),()=>{const t=a.slots.default&&a.slots.default();return e.h("FastListView",{ref:i,onItemClick:e=>{a.emit("item-click",e)},onScroll:e=>{a.emit("scroll",e)},onItemFocused:e=>{a.emit("item-focused",e)},onAttachedToWindow:e=>{a.emit("item-attached",e)},onDetachedFromWindow:e=>{a.emit("item-detached",e)},onBindItem:e=>{e.position==l.length-1-o.preloadNo&&(u++,o.loadMore(u)),a.emit("item-bind",e)},onUnbindItem:e=>{a.emit("item-unbind",e)},onLoadMore:e=>{a.emit("load-more",e)},onScrollStateChanged:e=>{a.emit("scroll-state-changed",e)},onFocusSearchFailed:e=>{a.emit("focus-search-failed",e)},onScrollYGreaterReference:e=>{a.emit("scrollYGreaterReference",e)},onScrollYLesserReference:e=>{a.emit("scrollYLesserReference",e)}},t)}}});o.component("qt-list-view",a)}(o),function(n){const o=e.defineComponent({emits:["item-focused","item-attached","item-detached","item-bind","item-unbind"],setup(n,o){const a=e.ref();return o.expose({viewRef:a,updateItem:(e,n)=>{t.Native.callUIFunction(a.value,"updateItem",[e,n])},dispatchItemFunction:(e,n,o,i)=>{t.Native.callUIFunction(a.value,"dispatchItemFunction",[e,n,o,i])},updateItemProps:(e,n,o)=>{t.Native.callUIFunction(a.value,"updateItemProps",[n,e,o,!0])},batch:e=>{t.Native.callUIFunction(a.value,"batch",[e])}}),()=>{const t=o.slots.default&&o.slots.default();return e.h("FastListView",{ref:a,onBindItem:e=>{o.emit("item-bind",e)},onItemFocused:e=>{o.emit("item-focused",e)},onAttachedToWindow:e=>{o.emit("item-attached",e)},onDetachedFromWindow:e=>{o.emit("item-detached",e)},onItemRecycled:e=>{o.emit("item-unbind",e)}},t)}}});n.component("qt-list-item",o)}(o),function(n){const o=e.defineComponent({name:"WebView",emits:["onCanGoBack","onCanGoForward","onCanGoBackOrForward","onPageStarted","onPageFinished","onLoadResource","onReceivedSslError","onReceivedError","shouldOverrideUrlLoading","onJs2Vue"],setup(n,o){const a=e.ref();e.onMounted((()=>{i(!0),c(!0),d(!0),r(!0),u(!0),s(!0),m(!0),p(!0),f(!0),v(!0),l(1),g(2)}));const i=e=>{t.Native.callUIFunction(a.value,"setJavaScriptEnabled",[e],(e=>{}))},l=e=>{t.Native.callUIFunction(a.value,"setPluginState",[e],(e=>{}))},c=e=>{t.Native.callUIFunction(a.value,"setJavaScriptCanOpenWindowsAutomatically",[e],(e=>{}))},s=e=>{t.Native.callUIFunction(a.value,"setUseWideViewPort",[e],(e=>{}))},r=e=>{t.Native.callUIFunction(a.value,"setSupportZoom",[e],(e=>{}))},u=e=>{t.Native.callUIFunction(a.value,"setBuiltInZoomControls",[e],(e=>{}))},d=e=>{t.Native.callUIFunction(a.value,"setAllowFileAccess",[e],(e=>{}))},f=e=>{t.Native.callUIFunction(a.value,"setDomStorageEnabled",[e],(e=>{}))},p=e=>{t.Native.callUIFunction(a.value,"setAppCacheEnabled",[e],(e=>{}))},v=e=>{t.Native.callUIFunction(a.value,"setGeolocationEnabled",[e],(e=>{}))},m=e=>{t.Native.callUIFunction(a.value,"setSupportMultipleWindows",[e],(e=>{}))},g=e=>{t.Native.callUIFunction(a.value,"setCacheMode",[e],(e=>{}))};return o.expose({loadUrl:e=>{t.Native.callUIFunction(a.value,"loadUrl",[e],(e=>{}))},evaluateJavascript:e=>{t.Native.callUIFunction(a.value,"evaluateJavascript",[e],(e=>{}))},canGoBack:()=>{t.Native.callUIFunction(a.value,"canGoBack",[],(e=>{o.emit("onCanGoBack",e)}))},goBack:()=>{t.Native.callUIFunction(a.value,"goBack",[],(e=>{}))},canGoForward:()=>{t.Native.callUIFunction(a.value,"canGoForward",[],(e=>{o.emit("onCanGoForward",e)}))},goForward:()=>{t.Native.callUIFunction(a.value,"goForward",[],(e=>{}))},canGoBackOrForward:e=>{t.Native.callUIFunction(a.value,"canGoBackOrForward",[e],(e=>{o.emit("onCanGoBackOrForward",e)}))},goBackOrForward:e=>{t.Native.callUIFunction(a.value,"goBackOrForward",[e],(e=>{}))},onResume:()=>{t.Native.callUIFunction(a.value,"onResume",[],(e=>{}))},onPause:()=>{t.Native.callUIFunction(a.value,"onPause",[],(e=>{}))},pauseTimers:()=>{t.Native.callUIFunction(a.value,"pauseTimers",[],(e=>{}))},resumeTimers:()=>{t.Native.callUIFunction(a.value,"resumeTimers",[],(e=>{}))},destroy:()=>{t.Native.callUIFunction(a.value,"destroy",[],(e=>{}))},setJavaScriptEnabled:i,setPluginState:l,setJavaScriptCanOpenWindowsAutomatically:c,setUseWideViewPort:s,setLoadWithOverviewMode:e=>{t.Native.callUIFunction(a.value,"setLoadWithOverviewMode",[e],(e=>{}))},setSupportZoom:r,setBuiltInZoomControls:u,setDisplayZoomControls:e=>{t.Native.callUIFunction(a.value,"setDisplayZoomControls",[e],(e=>{}))},setAllowFileAccess:d,setDomStorageEnabled:f,setDatabaseEnabled:e=>{t.Native.callUIFunction(a.value,"setDatabaseEnabled",[e],(e=>{}))},setAppCacheEnabled:p,setAppCachePath:e=>{t.Native.callUIFunction(a.value,"setAppCachePath",[e],(e=>{}))},setMediaPlaybackRequiresUserGesture:e=>{t.Native.callUIFunction(a.value,"setMediaPlaybackRequiresUserGesture",[e],(e=>{}))},setStandardFontFamily:e=>{t.Native.callUIFunction(a.value,"setStandardFontFamily",[e],(e=>{}))},setFixedFontFamily:e=>{t.Native.callUIFunction(a.value,"setFixedFontFamily",[e],(e=>{}))},setSansSerifFontFamily:e=>{t.Native.callUIFunction(a.value,"setSansSerifFontFamily",[e],(e=>{}))},setSerifFontFamily:e=>{t.Native.callUIFunction(a.value,"setSerifFontFamily",[e],(e=>{}))},setCursiveFontFamily:e=>{t.Native.callUIFunction(a.value,"setCursiveFontFamily",[e],(e=>{}))},setFantasyFontFamily:e=>{t.Native.callUIFunction(a.value,"setFantasyFontFamily",[e],(e=>{}))},setTextZoom:e=>{t.Native.callUIFunction(a.value,"setTextZoom",[e],(e=>{}))},setMinimumFontSize:e=>{t.Native.callUIFunction(a.value,"setMinimumFontSize",[e],(e=>{}))},setDefaultFontSize:e=>{t.Native.callUIFunction(a.value,"setDefaultFontSize",[e],(e=>{}))},setLayoutAlgorithm:e=>{t.Native.callUIFunction(a.value,"setLayoutAlgorithm",[e],(e=>{}))},setLoadsImagesAutomatically:e=>{t.Native.callUIFunction(a.value,"setLoadsImagesAutomatically",[e],(e=>{}))},setDefaultTextEncodingName:e=>{t.Native.callUIFunction(a.value,"setDefaultTextEncodingName",[e],(e=>{}))},setNeedInitialFocus:e=>{t.Native.callUIFunction(a.value,"setNeedInitialFocus",[e],(e=>{}))},setGeolocationEnabled:v,setBlockNetworkLoads:e=>{t.Native.callUIFunction(a.value,"setBlockNetworkLoads",[e],(e=>{}))},setSupportMultipleWindows:m,setAppCacheMaxSize:e=>{t.Native.callUIFunction(a.value,"setAppCacheMaxSize",[e],(e=>{}))},setRenderPriority:e=>{t.Native.callUIFunction(a.value,"setRenderPriority",[e],(e=>{}))},setCacheMode:g,setAllowContentAccess:e=>{t.Native.callUIFunction(a.value,"setAllowContentAccess",[e],(e=>{}))},setEnableSmoothTransition:e=>{t.Native.callUIFunction(a.value,"setEnableSmoothTransition",[e],(e=>{}))},setSaveFormData:e=>{t.Native.callUIFunction(a.value,"setSaveFormData",[e],(e=>{}))},setSavePassword:e=>{t.Native.callUIFunction(a.value,"setSavePassword",[e],(e=>{}))},setTextSize:e=>{t.Native.callUIFunction(a.value,"setTextSize",[e],(e=>{}))},setDefaultZoom:e=>{t.Native.callUIFunction(a.value,"setDefaultZoom",[e],(e=>{}))},setLightTouchEnabled:e=>{t.Native.callUIFunction(a.value,"setLightTouchEnabled",[e],(e=>{}))},setMinimumLogicalFontSize:e=>{t.Native.callUIFunction(a.value,"setMinimumLogicalFontSize",[e],(e=>{}))},setDefaultFixedFontSize:e=>{t.Native.callUIFunction(a.value,"setDefaultFixedFontSize",[e],(e=>{}))},setBlockNetworkImage:e=>{t.Native.callUIFunction(a.value,"setBlockNetworkImage",[e],(e=>{}))},setAllowUniversalAccessFromFileURLs:e=>{t.Native.callUIFunction(a.value,"setAllowUniversalAccessFromFileURLs",[e],(e=>{}))},setAllowFileAccessFromFileURLs:e=>{t.Native.callUIFunction(a.value,"setAllowFileAccessFromFileURLs",[e],(e=>{}))},setDatabasePath:e=>{t.Native.callUIFunction(a.value,"setDatabasePath",[e],(e=>{}))},setGeolocationDatabasePath:e=>{t.Native.callUIFunction(a.value,"setGeolocationDatabasePath",[e],(e=>{}))},setUserAgentString:e=>{t.Native.callUIFunction(a.value,"setUserAgentString",[e],(e=>{}))},setMixedContentMode:e=>{t.Native.callUIFunction(a.value,"setMixedContentMode",[e],(e=>{}))},setOffscreenPreRaster:e=>{t.Native.callUIFunction(a.value,"setOffscreenPreRaster",[e],(e=>{}))},setSafeBrowsingEnabled:e=>{t.Native.callUIFunction(a.value,"setSafeBrowsingEnabled",[e],(e=>{}))},setForceDark:e=>{t.Native.callUIFunction(a.value,"setForceDark",[e],(e=>{}))},setDisabledActionModeMenuItems:e=>{t.Native.callUIFunction(a.value,"setDisabledActionModeMenuItems",[e],(e=>{}))}}),()=>e.h("ESWebViewComponent",{onPageStarted:e=>{let t=e.url;o.emit("onPageStarted",t)},onPageFinished:e=>{let t=e.url;o.emit("onPageFinished",t)},onLoadResource:e=>{let t=e.url;o.emit("onLoadResource",t)},onReceivedSslError:e=>{o.emit("onReceivedSslError",e)},onReceivedError:e=>{let t=e.errorCode,n=e.description,a=e.failingUrl;o.emit("onReceivedError",t,n,a)},onShouldOverrideUrlLoading:e=>{let t=e.url;o.emit("shouldOverrideUrlLoading",t)},onJs2Vue:e=>{let t=e.js2VueValue;o.emit("onJs2Vue",t)},ref:a})}});n.component("qt-web-view",o)}(o),function(n){const o=e.defineComponent({name:"X5WebView",emits:["onCanGoBack","onCanGoForward","onCanGoBackOrForward","onPageStarted","onPageFinished","onLoadResource","onReceivedSslError","onReceivedError","shouldOverrideUrlLoading","onJs2Vue","onJsRewardCall","onJsFinishGame","onJavascriptReceiveValue"],setup(n,o){const a=e.ref();e.onMounted((()=>{i(!0),c(!0),d(!0),r(!0),u(!0),s(!0),m(!0),p(!0),f(!0),v(!0),l(1),g(2)}));const i=e=>{t.Native.callUIFunction(a.value,"setJavaScriptEnabled",[e],(e=>{}))},l=e=>{t.Native.callUIFunction(a.value,"setPluginState",[e],(e=>{}))},c=e=>{t.Native.callUIFunction(a.value,"setJavaScriptCanOpenWindowsAutomatically",[e],(e=>{}))},s=e=>{t.Native.callUIFunction(a.value,"setUseWideViewPort",[e],(e=>{}))},r=e=>{t.Native.callUIFunction(a.value,"setSupportZoom",[e],(e=>{}))},u=e=>{t.Native.callUIFunction(a.value,"setBuiltInZoomControls",[e],(e=>{}))},d=e=>{t.Native.callUIFunction(a.value,"setAllowFileAccess",[e],(e=>{}))},f=e=>{t.Native.callUIFunction(a.value,"setDomStorageEnabled",[e],(e=>{}))},p=e=>{t.Native.callUIFunction(a.value,"setAppCacheEnabled",[e],(e=>{}))},v=e=>{t.Native.callUIFunction(a.value,"setGeolocationEnabled",[e],(e=>{}))},m=e=>{t.Native.callUIFunction(a.value,"setSupportMultipleWindows",[e],(e=>{}))},g=e=>{t.Native.callUIFunction(a.value,"setCacheMode",[e],(e=>{}))};return o.expose({loadUrl:e=>{t.Native.callUIFunction(a.value,"loadUrl",[e],(e=>{}))},evaluateJavascript:e=>{t.Native.callUIFunction(a.value,"evaluateJavascript",[e],(e=>{o.emit("onJavascriptReceiveValue",e)}))},canGoBack:()=>{t.Native.callUIFunction(a.value,"canGoBack",[],(e=>{o.emit("onCanGoBack",e)}))},goBack:()=>{t.Native.callUIFunction(a.value,"goBack",[],(e=>{}))},canGoForward:()=>{t.Native.callUIFunction(a.value,"canGoForward",[],(e=>{o.emit("onCanGoForward",e)}))},goForward:()=>{t.Native.callUIFunction(a.value,"goForward",[],(e=>{}))},canGoBackOrForward:e=>{t.Native.callUIFunction(a.value,"canGoBackOrForward",[e],(e=>{o.emit("onCanGoBackOrForward",e)}))},goBackOrForward:e=>{t.Native.callUIFunction(a.value,"goBackOrForward",[e],(e=>{}))},onResume:()=>{t.Native.callUIFunction(a.value,"onResume",[],(e=>{}))},onPause:()=>{t.Native.callUIFunction(a.value,"onPause",[],(e=>{}))},pauseTimers:()=>{t.Native.callUIFunction(a.value,"pauseTimers",[],(e=>{}))},resumeTimers:()=>{t.Native.callUIFunction(a.value,"resumeTimers",[],(e=>{}))},destroy:()=>{t.Native.callUIFunction(a.value,"destroy",[],(e=>{}))},setJavaScriptEnabled:i,setPluginState:l,setJavaScriptCanOpenWindowsAutomatically:c,setUseWideViewPort:s,setLoadWithOverviewMode:e=>{t.Native.callUIFunction(a.value,"setLoadWithOverviewMode",[e],(e=>{}))},setSupportZoom:r,setBuiltInZoomControls:u,setDisplayZoomControls:e=>{t.Native.callUIFunction(a.value,"setDisplayZoomControls",[e],(e=>{}))},setAllowFileAccess:d,setDomStorageEnabled:f,setDatabaseEnabled:e=>{t.Native.callUIFunction(a.value,"setDatabaseEnabled",[e],(e=>{}))},setAppCacheEnabled:p,setAppCachePath:e=>{t.Native.callUIFunction(a.value,"setAppCachePath",[e],(e=>{}))},setMediaPlaybackRequiresUserGesture:e=>{t.Native.callUIFunction(a.value,"setMediaPlaybackRequiresUserGesture",[e],(e=>{}))},setStandardFontFamily:e=>{t.Native.callUIFunction(a.value,"setStandardFontFamily",[e],(e=>{}))},setFixedFontFamily:e=>{t.Native.callUIFunction(a.value,"setFixedFontFamily",[e],(e=>{}))},setSansSerifFontFamily:e=>{t.Native.callUIFunction(a.value,"setSansSerifFontFamily",[e],(e=>{}))},setSerifFontFamily:e=>{t.Native.callUIFunction(a.value,"setSerifFontFamily",[e],(e=>{}))},setCursiveFontFamily:e=>{t.Native.callUIFunction(a.value,"setCursiveFontFamily",[e],(e=>{}))},setFantasyFontFamily:e=>{t.Native.callUIFunction(a.value,"setFantasyFontFamily",[e],(e=>{}))},setTextZoom:e=>{t.Native.callUIFunction(a.value,"setTextZoom",[e],(e=>{}))},setMinimumFontSize:e=>{t.Native.callUIFunction(a.value,"setMinimumFontSize",[e],(e=>{}))},setDefaultFontSize:e=>{t.Native.callUIFunction(a.value,"setDefaultFontSize",[e],(e=>{}))},setLayoutAlgorithm:e=>{t.Native.callUIFunction(a.value,"setLayoutAlgorithm",[e],(e=>{}))},setLoadsImagesAutomatically:e=>{t.Native.callUIFunction(a.value,"setLoadsImagesAutomatically",[e],(e=>{}))},setDefaultTextEncodingName:e=>{t.Native.callUIFunction(a.value,"setDefaultTextEncodingName",[e],(e=>{}))},setNeedInitialFocus:e=>{t.Native.callUIFunction(a.value,"setNeedInitialFocus",[e],(e=>{}))},setGeolocationEnabled:v,setBlockNetworkLoads:e=>{t.Native.callUIFunction(a.value,"setBlockNetworkLoads",[e],(e=>{}))},setSupportMultipleWindows:m,setAppCacheMaxSize:e=>{t.Native.callUIFunction(a.value,"setAppCacheMaxSize",[e],(e=>{}))},setRenderPriority:e=>{t.Native.callUIFunction(a.value,"setRenderPriority",[e],(e=>{}))},setCacheMode:g,setAllowContentAccess:e=>{t.Native.callUIFunction(a.value,"setAllowContentAccess",[e],(e=>{}))},setEnableSmoothTransition:e=>{t.Native.callUIFunction(a.value,"setEnableSmoothTransition",[e],(e=>{}))},setSaveFormData:e=>{t.Native.callUIFunction(a.value,"setSaveFormData",[e],(e=>{}))},setSavePassword:e=>{t.Native.callUIFunction(a.value,"setSavePassword",[e],(e=>{}))},setTextSize:e=>{t.Native.callUIFunction(a.value,"setTextSize",[e],(e=>{}))},setDefaultZoom:e=>{t.Native.callUIFunction(a.value,"setDefaultZoom",[e],(e=>{}))},setLightTouchEnabled:e=>{t.Native.callUIFunction(a.value,"setLightTouchEnabled",[e],(e=>{}))},setMinimumLogicalFontSize:e=>{t.Native.callUIFunction(a.value,"setMinimumLogicalFontSize",[e],(e=>{}))},setDefaultFixedFontSize:e=>{t.Native.callUIFunction(a.value,"setDefaultFixedFontSize",[e],(e=>{}))},setBlockNetworkImage:e=>{t.Native.callUIFunction(a.value,"setBlockNetworkImage",[e],(e=>{}))},setAllowUniversalAccessFromFileURLs:e=>{t.Native.callUIFunction(a.value,"setAllowUniversalAccessFromFileURLs",[e],(e=>{}))},setAllowFileAccessFromFileURLs:e=>{t.Native.callUIFunction(a.value,"setAllowFileAccessFromFileURLs",[e],(e=>{}))},setDatabasePath:e=>{t.Native.callUIFunction(a.value,"setDatabasePath",[e],(e=>{}))},setGeolocationDatabasePath:e=>{t.Native.callUIFunction(a.value,"setGeolocationDatabasePath",[e],(e=>{}))},setUserAgentString:e=>{t.Native.callUIFunction(a.value,"setUserAgentString",[e],(e=>{}))},setMixedContentMode:e=>{t.Native.callUIFunction(a.value,"setMixedContentMode",[e],(e=>{}))},setOffscreenPreRaster:e=>{t.Native.callUIFunction(a.value,"setOffscreenPreRaster",[e],(e=>{}))},setSafeBrowsingEnabled:e=>{t.Native.callUIFunction(a.value,"setSafeBrowsingEnabled",[e],(e=>{}))},setForceDark:e=>{t.Native.callUIFunction(a.value,"setForceDark",[e],(e=>{}))},setDisabledActionModeMenuItems:e=>{t.Native.callUIFunction(a.value,"setDisabledActionModeMenuItems",[e],(e=>{}))},initJavaScriptInterface:()=>{t.Native.callUIFunction(a.value,"initJavaScriptInterface",[],(e=>{}))},removeJavaScriptInterface:()=>{t.Native.callUIFunction(a.value,"removeJavaScriptInterface",[],(e=>{}))},initWebViewFocus:(e,n,o)=>{t.Native.callUIFunction(a.value,"initWebViewFocus",[e,n,o],(e=>{}))}}),()=>e.h("ESX5WebViewComponent",{onPageStarted:e=>{let t=e.url;o.emit("onPageStarted",t)},onPageFinished:e=>{let t=e.url;o.emit("onPageFinished",t)},onLoadResource:e=>{let t=e.url;o.emit("onLoadResource",t)},onReceivedSslError:e=>{o.emit("onReceivedSslError",e)},onReceivedError:e=>{let t=e.errorCode,n=e.description,a=e.failingUrl;o.emit("onReceivedError",t,n,a)},onShouldOverrideUrlLoading:e=>{let t=e.url;o.emit("shouldOverrideUrlLoading",t)},onJs2Vue:e=>{let t=e.js2VueValue;o.emit("onJs2Vue",t)},onJsRewardCall:e=>{let t=e.jsRewardCallValue;o.emit("onJsRewardCall",t)},onJsFinishGame:e=>{let t=e.jsFinishGameValue;o.emit("onJsFinishGame",t)},ref:a})}});n.component("qt-x5web-view",o)}(o),function(t){t.component("qt-qr-code",{setup(t,n){const o=e.ref();return()=>e.h("QrCodeComponent",{ref:o})}})}(o),function(n){const o=e.defineComponent({name:"qt-seek-bar",props:{emitEventDelay:{type:Number,default:100},onProgressChanged:{type:Function,default:null}},emits:["focus","onSeekStart","onSeekStop","onFocusChanged","seek-change"],setup(n,o){const a=e.ref(),i=e.ref(!1),l=e.ref(1),c=e.ref(0),s=e.ref(0),r=e.ref(0),u=e.ref(0);function d(e){1===l.value&&(u.value=e,t.Native.callUIFunction(a.value,"setProgress",[e],(e=>{})))}function f(e){1===l.value&&(r.value=e,t.Native.callUIFunction(a.value,"setMaxProgress",[e],(e=>{})))}return o.expose({viewRef:a,isSeekBarFocused:i,seekBarMode:l,seekCount:c,progressCallBackTime:s,maxProgress:r,progress:u,startSeek:function(e){if(i.value){l.value=2,o.emit("onSeekStart",u.value),c.value+=1;let i=1;c.value>20?i=2:c.value>50?i=4:c.value>100&&(i=6);let d=r.value,f=Math.floor(.01*d*i);if(u.value=u.value+(e?f:-f),u.value>d?u.value=d:u.value<0&&(u.value=0),t.Native.callUIFunction(a.value,"setProgress",[u.value],(e=>{})),n.onProgressChanged){let e=(new Date).getTime();e-s.value>n.emitEventDelay&&(n.onProgressChanged(u.value),s.value=e)}}},stopSeek:function(){c.value=0,l.value=1,o.emit("onSeekStop",u.value)},isFocused:function(){return i.value},resetSeekbar:function(){l.value=1,f(0),d(0)},invalidateSeekBar:function(){t.Native.callUIFunction(a.value,"invalidateSeekBar",[],(e=>{}))},setFocusable:function(e){t.Native.callUIFunction(a.value,"setFocusable",[e],(e=>{}))},setClickable:function(e){t.Native.callUIFunction(a.value,"setClickable",[e],(e=>{}))},requestFocus:function(){t.Native.callUIFunction(a.value,"requestFocus",[],(e=>{}))},requestLayout:function(){t.Native.callUIFunction(a.value,"requestLayout",[],(e=>{}))},invalidate:function(){t.Native.callUIFunction(a.value,"invalidate",[],(e=>{}))},setVisible:function(e){t.Native.callUIFunction(a.value,"setVisible",[e],(e=>{}))},setLeftSeekBarVisible:function(e){t.Native.callUIFunction(a.value,"setLeftSeekBarVisible",[e],(e=>{}))},setRightSeekBarVisible:function(e){t.Native.callUIFunction(a.value,"setRightSeekBarVisible",[e],(e=>{}))},setSeekBarMode:function(e){t.Native.callUIFunction(a.value,"setSeekBarMode",[e],(e=>{}))},setProgress:d,setRangeProgress:function(e,n){t.Native.callUIFunction(a.value,"setProgress",[e,n],(e=>{}))},getProgress:function(){t.Native.callUIFunction(a.value,"getProgress",[],(e=>{}))},getLeftProgress:function(){t.Native.callUIFunction(a.value,"getLeftProgress",[],(e=>{}))},getRightProgress:function(){t.Native.callUIFunction(a.value,"getRightProgress",[],(e=>{}))},setRange:function(e,n,o){t.Native.callUIFunction(a.value,"setRange",[e,n,o],(e=>{}))},setGravity:function(e){t.Native.callUIFunction(a.value,"setGravity",[e],(e=>{}))},setProgressWidth:function(e){t.Native.callUIFunction(a.value,"setProgressWidth",[e],(e=>{}))},setProgressHeight:function(e){t.Native.callUIFunction(a.value,"setProgressHeight",[e],(e=>{}))},setProgressRadius:function(e){t.Native.callUIFunction(a.value,"setProgressRadius",[e],(e=>{}))},setProgressColor:function(e){t.Native.callUIFunction(a.value,"setProgressColor",[e],(e=>{}))},setProgressDefaultColor:function(e){t.Native.callUIFunction(a.value,"setProgressDefaultColor",[e],(e=>{}))},setProgressDrawable:function(e){t.Native.callUIFunction(a.value,"setProgressDrawable",[e],(e=>{}))},setProgressDefaultDrawable:function(e){t.Native.callUIFunction(a.value,"setProgressDefaultDrawable",[e],(e=>{}))},setProgressUrl:function(e){t.Native.callUIFunction(a.value,"setProgressUrl",[e],(e=>{}))},setProgressDefaultUrl:function(e){t.Native.callUIFunction(a.value,"setProgressDefaultUrl",[e],(e=>{}))},showIndicator:function(e){t.Native.callUIFunction(a.value,"showIndicator",[e],(e=>{}))},showLeftIndicator:function(e){t.Native.callUIFunction(a.value,"showLeftIndicator",[e],(e=>{}))},showRightIndicator:function(e){t.Native.callUIFunction(a.value,"showRightIndicator",[e],(e=>{}))},setIndicatorShowMode:function(e){t.Native.callUIFunction(a.value,"setIndicatorShowMode",[e],(e=>{}))},setLeftIndicatorShowMode:function(e){t.Native.callUIFunction(a.value,"setLeftIndicatorShowMode",[e],(e=>{}))},setRightIndicatorShowMode:function(e){t.Native.callUIFunction(a.value,"setRightIndicatorShowMode",[e],(e=>{}))},setIndicatorWidth:function(e){t.Native.callUIFunction(a.value,"setIndicatorWidth",[e],(e=>{}))},setLeftIndicatorWidth:function(e){t.Native.callUIFunction(a.value,"setLeftIndicatorWidth",[e],(e=>{}))},setRightIndicatorWidth:function(e){t.Native.callUIFunction(a.value,"setRightIndicatorWidth",[e],(e=>{}))},setIndicatorHeight:function(e){t.Native.callUIFunction(a.value,"setIndicatorHeight",[e],(e=>{}))},setLeftIndicatorHeight:function(e){t.Native.callUIFunction(a.value,"setLeftIndicatorHeight",[e],(e=>{}))},setRightIndicatorHeight:function(e){t.Native.callUIFunction(a.value,"setRightIndicatorHeight",[e],(e=>{}))},setIndicatorTextDecimalFormat:function(e){t.Native.callUIFunction(a.value,"setIndicatorTextDecimalFormat",[e],(e=>{}))},setLeftIndicatorTextDecimalFormat:function(e){t.Native.callUIFunction(a.value,"setLeftIndicatorTextDecimalFormat",[e],(e=>{}))},setRightIndicatorTextDecimalFormat:function(e){t.Native.callUIFunction(a.value,"setRightIndicatorTextDecimalFormat",[e],(e=>{}))},setIndicatorTextStringFormat:function(e){t.Native.callUIFunction(a.value,"setIndicatorTextStringFormat",[e],(e=>{}))},setLeftIndicatorTextStringFormat:function(e){t.Native.callUIFunction(a.value,"setLeftIndicatorTextStringFormat",[e],(e=>{}))},setRightIndicatorTextStringFormat:function(e){t.Native.callUIFunction(a.value,"setRightIndicatorTextStringFormat",[e],(e=>{}))},setIndicatorMargin:function(e){t.Native.callUIFunction(a.value,"setIndicatorMargin",[e],(e=>{}))},setLeftIndicatorMargin:function(e){t.Native.callUIFunction(a.value,"setLeftIndicatorMargin",[e],(e=>{}))},setRightIndicatorMargin:function(e){t.Native.callUIFunction(a.value,"setRightIndicatorMargin",[e],(e=>{}))},setIndicatorPaddingBottom:function(e){t.Native.callUIFunction(a.value,"setIndicatorPaddingBottom",[e],(e=>{}))},setLeftIndicatorPaddingBottom:function(e){t.Native.callUIFunction(a.value,"setLeftIndicatorPaddingBottom",[e],(e=>{}))},setRightIndicatorPaddingBottom:function(e){t.Native.callUIFunction(a.value,"setRightIndicatorPaddingBottom",[e],(e=>{}))},setIndicatorPaddingTop:function(e){t.Native.callUIFunction(a.value,"setIndicatorPaddingTop",[e],(e=>{}))},setLeftIndicatorPaddingTop:function(e){t.Native.callUIFunction(a.value,"setLeftIndicatorPaddingTop",[e],(e=>{}))},setRightIndicatorPaddingTop:function(e){t.Native.callUIFunction(a.value,"setRightIndicatorPaddingTop",[e],(e=>{}))},setIndicatorPaddingLeft:function(e){t.Native.callUIFunction(a.value,"setIndicatorPaddingLeft",[e],(e=>{}))},setLeftIndicatorPaddingLeft:function(e){t.Native.callUIFunction(a.value,"setLeftIndicatorPaddingLeft",[e],(e=>{}))},setRightIndicatorPaddingLeft:function(e){t.Native.callUIFunction(a.value,"setRightIndicatorPaddingLeft",[e],(e=>{}))},setIndicatorPaddingRight:function(e){t.Native.callUIFunction(a.value,"setIndicatorPaddingRight",[e],(e=>{}))},setLeftIndicatorPaddingRight:function(e){t.Native.callUIFunction(a.value,"setLeftIndicatorPaddingRight",[e],(e=>{}))},setRightIndicatorPaddingRight:function(e){t.Native.callUIFunction(a.value,"setRightIndicatorPaddingRight",[e],(e=>{}))},setIndicatorBackgroundColor:function(e){t.Native.callUIFunction(a.value,"setIndicatorBackgroundColor",[e],(e=>{}))},setLeftIndicatorBackgroundColor:function(e){t.Native.callUIFunction(a.value,"setLeftIndicatorBackgroundColor",[e],(e=>{}))},setRightIndicatorBackgroundColor:function(e){t.Native.callUIFunction(a.value,"setRightIndicatorBackgroundColor",[e],(e=>{}))},setIndicatorRadius:function(e){t.Native.callUIFunction(a.value,"setIndicatorRadius",[e],(e=>{}))},setLeftIndicatorRadius:function(e){t.Native.callUIFunction(a.value,"setLeftIndicatorRadius",[e],(e=>{}))},setRightIndicatorRadius:function(e){t.Native.callUIFunction(a.value,"setRightIndicatorRadius",[e],(e=>{}))},setIndicatorTextSize:function(e){t.Native.callUIFunction(a.value,"setIndicatorTextSize",[e],(e=>{}))},setLeftIndicatorTextSize:function(e){t.Native.callUIFunction(a.value,"setLeftIndicatorTextSize",[e],(e=>{}))},setRightIndicatorTextSize:function(e){t.Native.callUIFunction(a.value,"setRightIndicatorTextSize",[e],(e=>{}))},setIndicatorTextColor:function(e){t.Native.callUIFunction(a.value,"setIndicatorTextColor",[e],(e=>{}))},setLeftIndicatorTextColor:function(e){t.Native.callUIFunction(a.value,"setLeftIndicatorTextColor",[e],(e=>{}))},setRightIndicatorTextColor:function(e){t.Native.callUIFunction(a.value,"setRightIndicatorTextColor",[e],(e=>{}))},setIndicatorArrowSize:function(e){t.Native.callUIFunction(a.value,"setIndicatorArrowSize",[e],(e=>{}))},setLeftIndicatorArrowSize:function(e){t.Native.callUIFunction(a.value,"setLeftIndicatorArrowSize",[e],(e=>{}))},setRightIndicatorArrowSize:function(e){t.Native.callUIFunction(a.value,"setRightIndicatorArrowSize",[e],(e=>{}))},setIndicatorDrawable:function(e){t.Native.callUIFunction(a.value,"setIndicatorDrawable",[e],(e=>{}))},setLeftIndicatorDrawable:function(e){t.Native.callUIFunction(a.value,"setLeftIndicatorDrawable",[e],(e=>{}))},setRightIndicatorDrawable:function(e){t.Native.callUIFunction(a.value,"setRightIndicatorDrawable",[e],(e=>{}))},setIndicatorUrl:function(e){t.Native.callUIFunction(a.value,"setIndicatorUrl",[e],(e=>{}))},setLeftIndicatorUrl:function(e){t.Native.callUIFunction(a.value,"setLeftIndicatorUrl",[e],(e=>{}))},setRightIndicatorUrl:function(e){t.Native.callUIFunction(a.value,"setRightIndicatorUrl",[e],(e=>{}))},setThumbWidth:function(e){t.Native.callUIFunction(a.value,"setThumbWidth",[e],(e=>{}))},setLeftThumbWidth:function(e){t.Native.callUIFunction(a.value,"setLeftThumbWidth",[e],(e=>{}))},setRightThumbWidth:function(e){t.Native.callUIFunction(a.value,"setRightThumbWidth",[e],(e=>{}))},setThumbHeight:function(e){t.Native.callUIFunction(a.value,"setThumbHeight",[e],(e=>{}))},setLeftThumbHeight:function(e){t.Native.callUIFunction(a.value,"setLeftThumbHeight",[e],(e=>{}))},setRightThumbHeight:function(e){t.Native.callUIFunction(a.value,"setRightThumbHeight",[e],(e=>{}))},scaleThumb:function(){t.Native.callUIFunction(a.value,"scaleThumb",[],(e=>{}))},scaleLeftThumb:function(){t.Native.callUIFunction(a.value,"scaleLeftThumb",[],(e=>{}))},scaleRightThumb:function(){t.Native.callUIFunction(a.value,"scaleLeftThumb",[],(e=>{}))},resetThumb:function(){t.Native.callUIFunction(a.value,"resetThumb",[],(e=>{}))},resetLeftThumb:function(){t.Native.callUIFunction(a.value,"resetLeftThumb",[],(e=>{}))},resetRightThumb:function(){t.Native.callUIFunction(a.value,"resetRightThumb",[],(e=>{}))},setThumbScaleRatio:function(e){t.Native.callUIFunction(a.value,"setThumbScaleRatio",[e],(e=>{}))},setLeftThumbScaleRatio:function(e){t.Native.callUIFunction(a.value,"setLeftThumbScaleRatio",[e],(e=>{}))},setRightThumbScaleRatio:function(e){t.Native.callUIFunction(a.value,"setRightThumbScaleRatio",[e],(e=>{}))},setThumbActivate:function(e){t.Native.callUIFunction(a.value,"setThumbActivate",[e],(e=>{}))},setLeftThumbActivate:function(e){t.Native.callUIFunction(a.value,"setLeftThumbActivate",[e],(e=>{}))},setRightThumbActivate:function(e){t.Native.callUIFunction(a.value,"setRightThumbActivate",[e],(e=>{}))},setThumbDrawable:function(e){t.Native.callUIFunction(a.value,"setThumbDrawable",[e],(e=>{}))},setLeftThumbDrawable:function(e){t.Native.callUIFunction(a.value,"setLeftThumbDrawable",[e],(e=>{}))},setRightThumbDrawable:function(e){t.Native.callUIFunction(a.value,"setRightThumbDrawable",[e],(e=>{}))},setThumbUrl:function(e){t.Native.callUIFunction(a.value,"setThumbUrl",[e],(e=>{}))},setLeftThumbUrl:function(e){t.Native.callUIFunction(a.value,"setLeftThumbUrl",[e],(e=>{}))},setRightThumbUrl:function(e){t.Native.callUIFunction(a.value,"setRightThumbUrl",[e],(e=>{}))},setThumbInactivatedDrawable:function(e){t.Native.callUIFunction(a.value,"setThumbInactivatedDrawable",[e],(e=>{}))},setLeftThumbInactivatedDrawable:function(e){t.Native.callUIFunction(a.value,"setLeftThumbInactivatedDrawable",[e],(e=>{}))},setRightThumbInactivatedDrawable:function(e){t.Native.callUIFunction(a.value,"setRightThumbInactivatedDrawable",[e],(e=>{}))},setThumbInactivatedUrl:function(e){t.Native.callUIFunction(a.value,"setThumbInactivatedUrl",[e],(e=>{}))},setLeftThumbInactivatedUrl:function(e){t.Native.callUIFunction(a.value,"setLeftThumbInactivatedUrl",[e],(e=>{}))},setRightThumbInactivatedUrl:function(e){t.Native.callUIFunction(a.value,"setRightThumbInactivatedUrl",[e],(e=>{}))},setTickMarkMode:function(e){t.Native.callUIFunction(a.value,"setTickMarkMode",[e],(e=>{}))},setTickMarkGravity:function(e){t.Native.callUIFunction(a.value,"setTickMarkGravity",[e],(e=>{}))},setTickMarkLayoutGravity:function(e){t.Native.callUIFunction(a.value,"setTickMarkLayoutGravity",[e],(e=>{}))},setTickMarkTextArray:function(e){t.Native.callUIFunction(a.value,"setTickMarkTextArray",[e],(e=>{}))},setTickMarkTextMargin:function(e){t.Native.callUIFunction(a.value,"setTickMarkTextMargin",[e],(e=>{}))},setTickMarkTextSize:function(e){t.Native.callUIFunction(a.value,"setTickMarkTextSize",[e],(e=>{}))},setTickMarkTextColor:function(e){t.Native.callUIFunction(a.value,"setTickMarkTextColor",[e],(e=>{}))},setTickMarkInRangeTextColor:function(e){t.Native.callUIFunction(a.value,"setTickMarkInRangeTextColor",[e],(e=>{}))},setSteps:function(e){t.Native.callUIFunction(a.value,"setSteps",[e],(e=>{}))},setStepsWidth:function(e){t.Native.callUIFunction(a.value,"setStepsWidth",[e],(e=>{}))},setStepsHeight:function(e){t.Native.callUIFunction(a.value,"setStepsHeight",[e],(e=>{}))},setStepsRadius:function(e){t.Native.callUIFunction(a.value,"setStepsRadius",[e],(e=>{}))},setStepsColor:function(e){t.Native.callUIFunction(a.value,"setStepsColor",[e],(e=>{}))},setStepsAutoBonding:function(e){t.Native.callUIFunction(a.value,"setStepsAutoBonding",[e],(e=>{}))},setStepsDrawable:function(e){t.Native.callUIFunction(a.value,"setStepsDrawable",[e],(e=>{}))},setStepsUrl:function(e){t.Native.callUIFunction(a.value,"setStepsUrl",[e],(e=>{}))},setSecondProgress:function(e){t.Native.callUIFunction(a.value,"setSecondProgress",[e],(e=>{}))},show:function(e){t.Native.callUIFunction(a.value,"show",[e],(e=>{}))},setMaxProgress:f}),()=>e.h("TVSeekBarViewComponent",{ref:a,onFocus:e=>{i.value=e.isFocused,o.emit("onFocusChanged",e)},onSeekBarChange:e=>{o.emit("seek-change",e)}})}});n.component("qt-seek-bar",o)}(o),function(n){const o=Ot({name:"qt-progress-bar",setup(n,o){const a=e.ref();return o.expose({invalidateSeekBar:function(){t.Native.callUIFunction(a.value,"invalidateSeekBar",[],(e=>{}))},setFocusable:function(e){t.Native.callUIFunction(a.value,"setFocusable",[e],(e=>{}))},setClickable:function(e){t.Native.callUIFunction(a.value,"setClickable",[e],(e=>{}))},requestFocus:function(){t.Native.callUIFunction(a.value,"requestFocus",[],(e=>{}))},requestLayout:function(){t.Native.callUIFunction(a.value,"requestLayout",[],(e=>{}))},invalidate:function(){t.Native.callUIFunction(a.value,"invalidate",[],(e=>{}))},setVisible:function(e){t.Native.callUIFunction(a.value,"setVisible",[e],(e=>{}))},setLeftSeekBarVisible:function(e){t.Native.callUIFunction(a.value,"setLeftSeekBarVisible",[e],(e=>{}))},setRightSeekBarVisible:function(e){t.Native.callUIFunction(a.value,"setRightSeekBarVisible",[e],(e=>{}))},setSeekBarMode:function(e){t.Native.callUIFunction(a.value,"setSeekBarMode",[e],(e=>{}))},setProgress:function(e){t.Native.callUIFunction(a.value,"setProgress",[e],(e=>{}))},setRangeProgress:function(e,n){t.Native.callUIFunction(a.value,"setProgress",[e,n],(e=>{}))},getProgress:function(){t.Native.callUIFunction(a.value,"getProgress",[],(e=>{}))},getLeftProgress:function(){t.Native.callUIFunction(a.value,"getLeftProgress",[],(e=>{}))},getRightProgress:function(){t.Native.callUIFunction(a.value,"getRightProgress",[],(e=>{}))},setRange:function(e,n,o){t.Native.callUIFunction(a.value,"setRange",[e,n,o],(e=>{}))},setGravity:function(e){t.Native.callUIFunction(a.value,"setGravity",[e],(e=>{}))},setProgressWidth:function(e){t.Native.callUIFunction(a.value,"setProgressWidth",[e],(e=>{}))},setProgressHeight:function(e){t.Native.callUIFunction(a.value,"setProgressHeight",[e],(e=>{}))},setProgressRadius:function(e){t.Native.callUIFunction(a.value,"setProgressRadius",[e],(e=>{}))},setProgressColor:function(e){t.Native.callUIFunction(a.value,"setProgressColor",[e],(e=>{}))},setProgressDefaultColor:function(e){t.Native.callUIFunction(a.value,"setProgressDefaultColor",[e],(e=>{}))},setProgressDrawable:function(e){t.Native.callUIFunction(a.value,"setProgressDrawable",[e],(e=>{}))},setProgressDefaultDrawable:function(e){t.Native.callUIFunction(a.value,"setProgressDefaultDrawable",[e],(e=>{}))},setProgressUrl:function(e){t.Native.callUIFunction(a.value,"setProgressUrl",[e],(e=>{}))},setProgressDefaultUrl:function(e){t.Native.callUIFunction(a.value,"setProgressDefaultUrl",[e],(e=>{}))},showIndicator:function(e){t.Native.callUIFunction(a.value,"showIndicator",[e],(e=>{}))},showLeftIndicator:function(e){t.Native.callUIFunction(a.value,"showLeftIndicator",[e],(e=>{}))},showRightIndicator:function(e){t.Native.callUIFunction(a.value,"showRightIndicator",[e],(e=>{}))},setIndicatorShowMode:function(e){t.Native.callUIFunction(a.value,"setIndicatorShowMode",[e],(e=>{}))},setLeftIndicatorShowMode:function(e){t.Native.callUIFunction(a.value,"setLeftIndicatorShowMode",[e],(e=>{}))},setRightIndicatorShowMode:function(e){t.Native.callUIFunction(a.value,"setRightIndicatorShowMode",[e],(e=>{}))},setIndicatorWidth:function(e){t.Native.callUIFunction(a.value,"setIndicatorWidth",[e],(e=>{}))},setLeftIndicatorWidth:function(e){t.Native.callUIFunction(a.value,"setLeftIndicatorWidth",[e],(e=>{}))},setRightIndicatorWidth:function(e){t.Native.callUIFunction(a.value,"setRightIndicatorWidth",[e],(e=>{}))},setIndicatorHeight:function(e){t.Native.callUIFunction(a.value,"setIndicatorHeight",[e],(e=>{}))},setLeftIndicatorHeight:function(e){t.Native.callUIFunction(a.value,"setLeftIndicatorHeight",[e],(e=>{}))},setRightIndicatorHeight:function(e){t.Native.callUIFunction(a.value,"setRightIndicatorHeight",[e],(e=>{}))},setIndicatorTextDecimalFormat:function(e){t.Native.callUIFunction(a.value,"setIndicatorTextDecimalFormat",[e],(e=>{}))},setLeftIndicatorTextDecimalFormat:function(e){t.Native.callUIFunction(a.value,"setLeftIndicatorTextDecimalFormat",[e],(e=>{}))},setRightIndicatorTextDecimalFormat:function(e){t.Native.callUIFunction(a.value,"setRightIndicatorTextDecimalFormat",[e],(e=>{}))},setIndicatorTextStringFormat:function(e){t.Native.callUIFunction(a.value,"setIndicatorTextStringFormat",[e],(e=>{}))},setLeftIndicatorTextStringFormat:function(e){t.Native.callUIFunction(a.value,"setLeftIndicatorTextStringFormat",[e],(e=>{}))},setRightIndicatorTextStringFormat:function(e){t.Native.callUIFunction(a.value,"setRightIndicatorTextStringFormat",[e],(e=>{}))},setIndicatorMargin:function(e){t.Native.callUIFunction(a.value,"setIndicatorMargin",[e],(e=>{}))},setLeftIndicatorMargin:function(e){t.Native.callUIFunction(a.value,"setLeftIndicatorMargin",[e],(e=>{}))},setRightIndicatorMargin:function(e){t.Native.callUIFunction(a.value,"setRightIndicatorMargin",[e],(e=>{}))},setIndicatorPaddingBottom:function(e){t.Native.callUIFunction(a.value,"setIndicatorPaddingBottom",[e],(e=>{}))},setLeftIndicatorPaddingBottom:function(e){t.Native.callUIFunction(a.value,"setLeftIndicatorPaddingBottom",[e],(e=>{}))},setRightIndicatorPaddingBottom:function(e){t.Native.callUIFunction(a.value,"setRightIndicatorPaddingBottom",[e],(e=>{}))},setIndicatorPaddingTop:function(e){t.Native.callUIFunction(a.value,"setIndicatorPaddingTop",[e],(e=>{}))},setLeftIndicatorPaddingTop:function(e){t.Native.callUIFunction(a.value,"setLeftIndicatorPaddingTop",[e],(e=>{}))},setRightIndicatorPaddingTop:function(e){t.Native.callUIFunction(a.value,"setRightIndicatorPaddingTop",[e],(e=>{}))},setIndicatorPaddingLeft:function(e){t.Native.callUIFunction(a.value,"setIndicatorPaddingLeft",[e],(e=>{}))},setLeftIndicatorPaddingLeft:function(e){t.Native.callUIFunction(a.value,"setLeftIndicatorPaddingLeft",[e],(e=>{}))},setRightIndicatorPaddingLeft:function(e){t.Native.callUIFunction(a.value,"setRightIndicatorPaddingLeft",[e],(e=>{}))},setIndicatorPaddingRight:function(e){t.Native.callUIFunction(a.value,"setIndicatorPaddingRight",[e],(e=>{}))},setLeftIndicatorPaddingRight:function(e){t.Native.callUIFunction(a.value,"setLeftIndicatorPaddingRight",[e],(e=>{}))},setRightIndicatorPaddingRight:function(e){t.Native.callUIFunction(a.value,"setRightIndicatorPaddingRight",[e],(e=>{}))},setIndicatorBackgroundColor:function(e){t.Native.callUIFunction(a.value,"setIndicatorBackgroundColor",[e],(e=>{}))},setLeftIndicatorBackgroundColor:function(e){t.Native.callUIFunction(a.value,"setLeftIndicatorBackgroundColor",[e],(e=>{}))},setRightIndicatorBackgroundColor:function(e){t.Native.callUIFunction(a.value,"setRightIndicatorBackgroundColor",[e],(e=>{}))},setIndicatorRadius:function(e){t.Native.callUIFunction(a.value,"setIndicatorRadius",[e],(e=>{}))},setLeftIndicatorRadius:function(e){t.Native.callUIFunction(a.value,"setLeftIndicatorRadius",[e],(e=>{}))},setRightIndicatorRadius:function(e){t.Native.callUIFunction(a.value,"setRightIndicatorRadius",[e],(e=>{}))},setIndicatorTextSize:function(e){t.Native.callUIFunction(a.value,"setIndicatorTextSize",[e],(e=>{}))},setLeftIndicatorTextSize:function(e){t.Native.callUIFunction(a.value,"setLeftIndicatorTextSize",[e],(e=>{}))},setRightIndicatorTextSize:function(e){t.Native.callUIFunction(a.value,"setRightIndicatorTextSize",[e],(e=>{}))},setIndicatorTextColor:function(e){t.Native.callUIFunction(a.value,"setIndicatorTextColor",[e],(e=>{}))},setLeftIndicatorTextColor:function(e){t.Native.callUIFunction(a.value,"setLeftIndicatorTextColor",[e],(e=>{}))},setRightIndicatorTextColor:function(e){t.Native.callUIFunction(a.value,"setRightIndicatorTextColor",[e],(e=>{}))},setIndicatorArrowSize:function(e){t.Native.callUIFunction(a.value,"setIndicatorArrowSize",[e],(e=>{}))},setLeftIndicatorArrowSize:function(e){t.Native.callUIFunction(a.value,"setLeftIndicatorArrowSize",[e],(e=>{}))},setRightIndicatorArrowSize:function(e){t.Native.callUIFunction(a.value,"setRightIndicatorArrowSize",[e],(e=>{}))},setIndicatorDrawable:function(e){t.Native.callUIFunction(a.value,"setIndicatorDrawable",[e],(e=>{}))},setLeftIndicatorDrawable:function(e){t.Native.callUIFunction(a.value,"setLeftIndicatorDrawable",[e],(e=>{}))},setRightIndicatorDrawable:function(e){t.Native.callUIFunction(a.value,"setRightIndicatorDrawable",[e],(e=>{}))},setIndicatorUrl:function(e){t.Native.callUIFunction(a.value,"setIndicatorUrl",[e],(e=>{}))},setLeftIndicatorUrl:function(e){t.Native.callUIFunction(a.value,"setLeftIndicatorUrl",[e],(e=>{}))},setRightIndicatorUrl:function(e){t.Native.callUIFunction(a.value,"setRightIndicatorUrl",[e],(e=>{}))},setThumbWidth:function(e){t.Native.callUIFunction(a.value,"setThumbWidth",[e],(e=>{}))},setLeftThumbWidth:function(e){t.Native.callUIFunction(a.value,"setLeftThumbWidth",[e],(e=>{}))},setRightThumbWidth:function(e){t.Native.callUIFunction(a.value,"setRightThumbWidth",[e],(e=>{}))},setThumbHeight:function(e){t.Native.callUIFunction(a.value,"setThumbHeight",[e],(e=>{}))},setLeftThumbHeight:function(e){t.Native.callUIFunction(a.value,"setLeftThumbHeight",[e],(e=>{}))},setRightThumbHeight:function(e){t.Native.callUIFunction(a.value,"setRightThumbHeight",[e],(e=>{}))},scaleThumb:function(){t.Native.callUIFunction(a.value,"scaleThumb",[],(e=>{}))},scaleLeftThumb:function(){t.Native.callUIFunction(a.value,"scaleLeftThumb",[],(e=>{}))},scaleRightThumb:function(){t.Native.callUIFunction(a.value,"scaleLeftThumb",[],(e=>{}))},resetThumb:function(){t.Native.callUIFunction(a.value,"resetThumb",[],(e=>{}))},resetLeftThumb:function(){t.Native.callUIFunction(a.value,"resetLeftThumb",[],(e=>{}))},resetRightThumb:function(){t.Native.callUIFunction(a.value,"resetRightThumb",[],(e=>{}))},setThumbScaleRatio:function(e){t.Native.callUIFunction(a.value,"setThumbScaleRatio",[e],(e=>{}))},setLeftThumbScaleRatio:function(e){t.Native.callUIFunction(a.value,"setLeftThumbScaleRatio",[e],(e=>{}))},setRightThumbScaleRatio:function(e){t.Native.callUIFunction(a.value,"setRightThumbScaleRatio",[e],(e=>{}))},setThumbActivate:function(e){t.Native.callUIFunction(a.value,"setThumbActivate",[e],(e=>{}))},setLeftThumbActivate:function(e){t.Native.callUIFunction(a.value,"setLeftThumbActivate",[e],(e=>{}))},setRightThumbActivate:function(e){t.Native.callUIFunction(a.value,"setRightThumbActivate",[e],(e=>{}))},setThumbDrawable:function(e){t.Native.callUIFunction(a.value,"setThumbDrawable",[e],(e=>{}))},setLeftThumbDrawable:function(e){t.Native.callUIFunction(a.value,"setLeftThumbDrawable",[e],(e=>{}))},setRightThumbDrawable:function(e){t.Native.callUIFunction(a.value,"setRightThumbDrawable",[e],(e=>{}))},setThumbUrl:function(e){t.Native.callUIFunction(a.value,"setThumbUrl",[e],(e=>{}))},setLeftThumbUrl:function(e){t.Native.callUIFunction(a.value,"setLeftThumbUrl",[e],(e=>{}))},setRightThumbUrl:function(e){t.Native.callUIFunction(a.value,"setRightThumbUrl",[e],(e=>{}))},setThumbInactivatedDrawable:function(e){t.Native.callUIFunction(a.value,"setThumbInactivatedDrawable",[e],(e=>{}))},setLeftThumbInactivatedDrawable:function(e){t.Native.callUIFunction(a.value,"setLeftThumbInactivatedDrawable",[e],(e=>{}))},setRightThumbInactivatedDrawable:function(e){t.Native.callUIFunction(a.value,"setRightThumbInactivatedDrawable",[e],(e=>{}))},setThumbInactivatedUrl:function(e){t.Native.callUIFunction(a.value,"setThumbInactivatedUrl",[e],(e=>{}))},setLeftThumbInactivatedUrl:function(e){t.Native.callUIFunction(a.value,"setLeftThumbInactivatedUrl",[e],(e=>{}))},setRightThumbInactivatedUrl:function(e){t.Native.callUIFunction(a.value,"setRightThumbInactivatedUrl",[e],(e=>{}))},setTickMarkMode:function(e){t.Native.callUIFunction(a.value,"setTickMarkMode",[e],(e=>{}))},setTickMarkGravity:function(e){t.Native.callUIFunction(a.value,"setTickMarkGravity",[e],(e=>{}))},setTickMarkLayoutGravity:function(e){t.Native.callUIFunction(a.value,"setTickMarkLayoutGravity",[e],(e=>{}))},setTickMarkTextArray:function(e){t.Native.callUIFunction(a.value,"setTickMarkTextArray",[e],(e=>{}))},setTickMarkTextMargin:function(e){t.Native.callUIFunction(a.value,"setTickMarkTextMargin",[e],(e=>{}))},setTickMarkTextSize:function(e){t.Native.callUIFunction(a.value,"setTickMarkTextSize",[e],(e=>{}))},setTickMarkTextColor:function(e){t.Native.callUIFunction(a.value,"setTickMarkTextColor",[e],(e=>{}))},setTickMarkInRangeTextColor:function(e){t.Native.callUIFunction(a.value,"setTickMarkInRangeTextColor",[e],(e=>{}))},setSteps:function(e){t.Native.callUIFunction(a.value,"setSteps",[e],(e=>{}))},setStepsWidth:function(e){t.Native.callUIFunction(a.value,"setStepsWidth",[e],(e=>{}))},setStepsHeight:function(e){t.Native.callUIFunction(a.value,"setStepsHeight",[e],(e=>{}))},setStepsRadius:function(e){t.Native.callUIFunction(a.value,"setStepsRadius",[e],(e=>{}))},setStepsColor:function(e){t.Native.callUIFunction(a.value,"setStepsColor",[e],(e=>{}))},setStepsAutoBonding:function(e){t.Native.callUIFunction(a.value,"setStepsAutoBonding",[e],(e=>{}))},setStepsDrawable:function(e){t.Native.callUIFunction(a.value,"setStepsDrawable",[e],(e=>{}))},setStepsUrl:function(e){t.Native.callUIFunction(a.value,"setStepsUrl",[e],(e=>{}))},setSecondProgress:function(e){t.Native.callUIFunction(a.value,"setSecondProgress",[e],(e=>{}))},show:function(e){t.Native.callUIFunction(a.value,"show",[e],(e=>{}))},setMaxProgress:function(e){t.Native.callUIFunction(a.value,"setMaxProgress",[e],(e=>{}))}}),()=>e.h("TVProgressBarViewComponent",{ref:a,onFocusChange:e=>{o.emit("focus",e)},onSeekBarChange:e=>{o.emit("seek-change",e)}})}});n.component("qt-progress-bar",o)}(o),function(n){const o=e.defineComponent({emits:["onAnimationEnd","onAnimationCancel","onAnimationStart","onAnimationRepeat","onAnimationPause","onAnimationResume","onAnimationUpdate"],setup(n,o){const a=e.ref();return o.expose({setPivotX:function(e){t.Native.callUIFunction(a.value,"setPivotX",[e],(e=>{}))},setPivotY:function(e){t.Native.callUIFunction(a.value,"setPivotY",[e],(e=>{}))},resetPivot:function(){t.Native.callUIFunction(a.value,"resetPivot",[],(e=>{}))},resetAnimators:function(){t.Native.callUIFunction(a.value,"resetAnimators",[],(e=>{}))},animatorSet:function(e,n,o){t.Native.callUIFunction(a.value,"animatorSet",[e,n,o],(e=>{}))},startAnimator:function(e){t.Native.callUIFunction(a.value,"startAnimator",[e],(e=>{}))},startAnimatorDelay:function(e,n){t.Native.callUIFunction(a.value,"startAnimatorDelay",[e,n],(e=>{}))},pauseAnimator:function(e){t.Native.callUIFunction(a.value,"pauseAnimator",[e],(e=>{}))},resumeAnimator:function(e){t.Native.callUIFunction(a.value,"resumeAnimator",[e],(e=>{}))},cancelAnimator:function(e){t.Native.callUIFunction(a.value,"cancelAnimator",[e],(e=>{}))},reverseAnimator:function(e){t.Native.callUIFunction(a.value,"reverseAnimator",[e],(e=>{}))},play:function(e,n){t.Native.callUIFunction(a.value,"play",[e,n],(e=>{}))},playWith:function(e,n){t.Native.callUIFunction(a.value,"with",[e,n],(e=>{}))},playBefore:function(e,n){t.Native.callUIFunction(a.value,"before",[e,n],(e=>{}))},playAfter:function(e,n){t.Native.callUIFunction(a.value,"after",[e,n],(e=>{}))},playAfterDelay:function(e,n){t.Native.callUIFunction(a.value,"afterDelay",[e,n],(e=>{}))},playSequentially1:function(e,n){t.Native.callUIFunction(a.value,"playSequentially1",[e,n],(e=>{}))},playSequentially2:function(e,n,o){t.Native.callUIFunction(a.value,"playSequentially2",[e,n,o],(e=>{}))},playSequentially3:function(e,n,o,i){t.Native.callUIFunction(a.value,"playSequentially3",[e,n,o,i],(e=>{}))},playSequentially4:function(e,n,o,i,l){t.Native.callUIFunction(a.value,"playSequentially4",[e,n,o,i,l],(e=>{}))},playSequentially5:function(e,n,o,i,l,c){t.Native.callUIFunction(a.value,"playSequentially5",[e,n,o,i,l,c],(e=>{}))},playTogether1:function(e,n){t.Native.callUIFunction(a.value,"playTogether1",[e,n],(e=>{}))},playTogether2:function(e,n,o){t.Native.callUIFunction(a.value,"playTogether2",[e,n,o],(e=>{}))},playTogether3:function(e,n,o,i){t.Native.callUIFunction(a.value,"playTogether3",[e,n,o,i],(e=>{}))},playTogether4:function(e,n,o,i,l){t.Native.callUIFunction(a.value,"playTogether4",[e,n,o,i,l],(e=>{}))},playTogether5:function(e,n,o,i,l,c){t.Native.callUIFunction(a.value,"playTogether5",[e,n,o,i,l,c],(e=>{}))},objectAnimator:function(e,n,o,i,l,c,s,r,u){t.Native.callUIFunction(a.value,"objectAnimator",[e,n,o,i,l,c,s,r,u],(e=>{}))},objectAnimator1:function(e,n,o,i,l,c,s,r,u,d){t.Native.callUIFunction(a.value,"objectAnimator1",[e,n,o,i,l,c,s,r,u,d],(e=>{}))},objectAnimator2:function(e,n,o,i,l,c,s,r,u,d,f){t.Native.callUIFunction(a.value,"objectAnimator2",[e,n,o,i,l,c,s,r,u,d,f],(e=>{}))},objectAnimator3:function(e,n,o,i,l,c,s,r,u,d,f,p){t.Native.callUIFunction(a.value,"objectAnimator3",[e,n,o,i,l,c,s,r,u,d,f,p],(e=>{}))},objectAnimator4:function(e,n,o,i,l,c,s,r,u,d,f,p,v){t.Native.callUIFunction(a.value,"objectAnimator4",[e,n,o,i,l,c,s,r,u,d,f,p,v],(e=>{}))},objectAnimator5:function(e,n,o,i,l,c,s,r,u,d,f,p,v,m){t.Native.callUIFunction(a.value,"objectAnimator5",[e,n,o,i,l,c,s,r,u,d,f,p,v,m],(e=>{}))},objectAnimator6:function(e,n,o,i,l,c,s,r,u,d,f,p,v,m,g){t.Native.callUIFunction(a.value,"objectAnimator6",[e,n,o,i,l,c,s,r,u,d,f,p,v,m,g],(e=>{}))},objectAnimator7:function(e,n,o,i,l,c,s,r,u,d,f,p,v,m,g,I){t.Native.callUIFunction(a.value,"objectAnimator7",[e,n,o,i,l,c,s,r,u,d,f,p,v,m,g,I],(e=>{}))},objectAnimator8:function(e,n,o,i,l,c,s,r,u,d,f,p,v,m,g,I,T){t.Native.callUIFunction(a.value,"objectAnimator8",[e,n,o,i,l,c,s,r,u,d,f,p,v,m,g,I,T],(e=>{}))},objectAnimator9:function(e,n,o,i,l,c,s,r,u,d,f,p,v,m,g,I,T,h){t.Native.callUIFunction(a.value,"objectAnimator9",[e,n,o,i,l,c,s,r,u,d,f,p,v,m,g,I,T,h],(e=>{}))},objectAnimator10:function(e,n,o,i,l,c,s,r,u,d,f,p,v,m,g,I,T,h,S){t.Native.callUIFunction(a.value,"objectAnimator10",[e,n,o,i,l,c,s,r,u,d,f,p,v,m,g,I,T,h,S],(e=>{}))}}),()=>{const t=o.slots.default&&o.slots.default();return e.h("AnimationViewComponent",{ref:a,onAnimationCancel:e=>{let t=e.animationId;o.emit("onAnimationCancel",t)},onAnimationEnd:e=>{let t=e.animationId,n=e.isReverse;o.emit("onAnimationEnd",t,n)},onAnimationRepeat:e=>{let t=e.animationId;o.emit("onAnimationRepeat",t)},onAnimationStart:e=>{let t=e.animationId,n=e.isReverse;o.emit("onAnimationStart",t,n)},onAnimationPause:e=>{let t=e.animationId;o.emit("onAnimationPause",t)},onAnimationResume:e=>{let t=e.animationId;o.emit("onAnimationResume",t)},onAnimationUpdate:e=>{let t=e.animationId,n=e.animatedValue;o.emit("onAnimationUpdate",t,n)}},t)}}});n.component("qt-animation",o)}(o),function(t){t.component("qt-dialog",{setup(t,n){const o=e.ref();return()=>e.h("Modal",{ref:o})}})}(o);for(let e in Sa)o.component(Sa[e].name,Sa[e])},exports.arrangeChildren4ListView=function(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})}))};
|
|
1
|
+
"use strict";var e=require("vue"),t=require("@extscreen/es3-vue"),n=require("@extscreen/es3-core");function o(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 i=()=>{},l=/^on[^a-z]/,c=e=>l.test(e),s=Object.assign,r=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},u=Object.prototype.hasOwnProperty,d=(e,t)=>u.call(e,t),f=Array.isArray,v=e=>"[object Map]"===F(e),p=e=>"[object Set]"===F(e),m=e=>"function"==typeof e,g=e=>"string"==typeof e,I=e=>"symbol"==typeof e,T=e=>null!==e&&"object"==typeof e,h=e=>(T(e)||m(e))&&m(e.then)&&m(e.catch),S=Object.prototype.toString,F=e=>S.call(e),_=e=>F(e).slice(8,-1),N=e=>"[object Object]"===F(e),b=e=>g(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,y=(e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))})((e=>e.charAt(0).toUpperCase()+e.slice(1))),E=(e,t)=>!Object.is(e,t),x=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})};let P;const L=()=>P||(P="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{});function C(e){if(f(e)){const t={};for(let n=0;n<e.length;n++){const o=e[n],a=g(o)?A(o):C(o);if(a)for(const e in a)t[e]=a[e]}return t}if(g(e)||T(e))return e}const U=/;(?![^(]*\))/g,k=/:([^]+)/,R=/\/\*[^]*?\*\//g;function A(e){const t={};return e.replace(R,"").split(U).forEach((e=>{if(e){const n=e.split(k);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}function D(e){let t="";if(g(e))t=e;else if(f(e))for(let n=0;n<e.length;n++){const o=D(e[n]);o&&(t+=o+" ")}else if(T(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function w(e,...t){console.warn(`[Vue warn] ${e}`,...t)}let B;const O=e=>{const t=new Set(e);return t.w=0,t.n=0,t},M=e=>(e.w&z)>0,V=e=>(e.n&z)>0,Q=new WeakMap;let $=0,z=1;const W=30;let G;const q=Symbol("production"!==process.env.NODE_ENV?"iterate":""),Y=Symbol("production"!==process.env.NODE_ENV?"Map key iterate":"");class H{constructor(e,t=null,n){this.fn=e,this.scheduler=t,this.active=!0,this.deps=[],this.parent=void 0,function(e,t=B){t&&t.active&&t.effects.push(e)}(this,n)}run(){if(!this.active)return this.fn();let e=G,t=X;for(;e;){if(e===this)return;e=e.parent}try{return this.parent=G,G=this,X=!0,z=1<<++$,$<=W?(({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=z})(this):j(this),this.fn()}finally{$<=W&&(e=>{const{deps:t}=e;if(t.length){let n=0;for(let o=0;o<t.length;o++){const a=t[o];M(a)&&!V(a)?a.delete(e):t[n++]=a,a.w&=~z,a.n&=~z}t.length=n}})(this),z=1<<--$,G=this.parent,X=t,this.parent=void 0,this.deferStop&&this.stop()}}stop(){G===this?this.deferStop=!0:this.active&&(j(this),this.onStop&&this.onStop(),this.active=!1)}}function j(e){const{deps:t}=e;if(t.length){for(let n=0;n<t.length;n++)t[n].delete(e);t.length=0}}let X=!0;const J=[];function Z(){J.push(X),X=!1}function K(){const e=J.pop();X=void 0===e||e}function ee(e,t,n){if(X&&G){let o=Q.get(e);o||Q.set(e,o=new Map);let a=o.get(n);a||o.set(n,a=O());!function(e,t){let n=!1;$<=W?V(e)||(e.n|=z,n=!M(e)):n=!e.has(G);n&&(e.add(G),G.deps.push(e),"production"!==process.env.NODE_ENV&&G.onTrack&&G.onTrack(s({effect:G},t)))}(a,"production"!==process.env.NODE_ENV?{effect:G,target:e,type:t,key:n}:void 0)}}function te(e,t,n,o,a,i){const l=Q.get(e);if(!l)return;let c=[];if("clear"===t)c=[...l.values()];else if("length"===n&&f(e)){const e=Number(o);l.forEach(((t,n)=>{("length"===n||!I(n)&&n>=e)&&c.push(t)}))}else switch(void 0!==n&&c.push(l.get(n)),t){case"add":f(e)?b(n)&&c.push(l.get("length")):(c.push(l.get(q)),v(e)&&c.push(l.get(Y)));break;case"delete":f(e)||(c.push(l.get(q)),v(e)&&c.push(l.get(Y)));break;case"set":v(e)&&c.push(l.get(q))}const s="production"!==process.env.NODE_ENV?{target:e,type:t,key:n,newValue:o,oldValue:a,oldTarget:i}:void 0;if(1===c.length)c[0]&&("production"!==process.env.NODE_ENV?ne(c[0],s):ne(c[0]));else{const e=[];for(const t of c)t&&e.push(...t);"production"!==process.env.NODE_ENV?ne(O(e),s):ne(O(e))}}function ne(e,t){const n=f(e)?e:[...e];for(const e of n)e.computed&&oe(e,t);for(const e of n)e.computed||oe(e,t)}function oe(e,t){(e!==G||e.allowRecurse)&&("production"!==process.env.NODE_ENV&&e.onTrigger&&e.onTrigger(s({effect:e},t)),e.scheduler?e.scheduler():e.run())}const ae=o("__proto__,__v_isRef,__isVue"),ie=new Set(Object.getOwnPropertyNames(Symbol).filter((e=>"arguments"!==e&&"caller"!==e)).map((e=>Symbol[e])).filter(I)),le=ce();function ce(){const e={};return["includes","indexOf","lastIndexOf"].forEach((t=>{e[t]=function(...e){const n=je(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(je)):o}})),["push","pop","shift","unshift","splice"].forEach((t=>{e[t]=function(...e){Z();const n=je(this)[t].apply(this,e);return K(),n}})),e}function se(e){const t=je(this);return ee(t,"has",e),t.hasOwnProperty(e)}class re{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?Ve:Me:a?Oe:Be).get(e))return e;const i=f(e);if(!o){if(i&&d(le,t))return Reflect.get(le,t,n);if("hasOwnProperty"===t)return se}const l=Reflect.get(e,t,n);return(I(t)?ie.has(t):ae(t))?l:(o||ee(e,"get",t),a?l:Ze(l)?i&&b(t)?l:l.value:T(l)?o?$e(l):Qe(l):l)}}class ue extends re{constructor(e=!1){super(!1,e)}set(e,t,n,o){let a=e[t];if(qe(a)&&Ze(a)&&!Ze(n))return!1;if(!this._shallow&&(Ye(n)||qe(n)||(a=je(a),n=je(n)),!f(e)&&Ze(a)&&!Ze(n)))return a.value=n,!0;const i=f(e)&&b(t)?Number(t)<e.length:d(e,t),l=Reflect.set(e,t,n,o);return e===je(o)&&(i?E(n,a)&&te(e,"set",t,n,a):te(e,"add",t,n)),l}deleteProperty(e,t){const n=d(e,t),o=e[t],a=Reflect.deleteProperty(e,t);return a&&n&&te(e,"delete",t,void 0,o),a}has(e,t){const n=Reflect.has(e,t);return I(t)&&ie.has(t)||ee(e,"has",t),n}ownKeys(e){return ee(e,"iterate",f(e)?"length":q),Reflect.ownKeys(e)}}class de extends re{constructor(e=!1){super(!0,e)}set(e,t){return"production"!==process.env.NODE_ENV&&w(`Set operation on key "${String(t)}" failed: target is readonly.`,e),!0}deleteProperty(e,t){return"production"!==process.env.NODE_ENV&&w(`Delete operation on key "${String(t)}" failed: target is readonly.`,e),!0}}const fe=new ue,ve=new de,pe=new de(!0),me=e=>e,ge=e=>Reflect.getPrototypeOf(e);function Ie(e,t,n=!1,o=!1){const a=je(e=e.__v_raw),i=je(t);n||(E(t,i)&&ee(a,"get",t),ee(a,"get",i));const{has:l}=ge(a),c=o?me:n?Je:Xe;return l.call(a,t)?c(e.get(t)):l.call(a,i)?c(e.get(i)):void(e!==a&&e.get(t))}function Te(e,t=!1){const n=this.__v_raw,o=je(n),a=je(e);return t||(E(e,a)&&ee(o,"has",e),ee(o,"has",a)),e===a?n.has(e):n.has(e)||n.has(a)}function he(e,t=!1){return e=e.__v_raw,!t&&ee(je(e),"iterate",q),Reflect.get(e,"size",e)}function Se(e){e=je(e);const t=je(this);return ge(t).has.call(t,e)||(t.add(e),te(t,"add",e,e)),this}function Fe(e,t){t=je(t);const n=je(this),{has:o,get:a}=ge(n);let i=o.call(n,e);i?"production"!==process.env.NODE_ENV&&we(n,o,e):(e=je(e),i=o.call(n,e));const l=a.call(n,e);return n.set(e,t),i?E(t,l)&&te(n,"set",e,t,l):te(n,"add",e,t),this}function _e(e){const t=je(this),{has:n,get:o}=ge(t);let a=n.call(t,e);a?"production"!==process.env.NODE_ENV&&we(t,n,e):(e=je(e),a=n.call(t,e));const i=o?o.call(t,e):void 0,l=t.delete(e);return a&&te(t,"delete",e,void 0,i),l}function Ne(){const e=je(this),t=0!==e.size,n="production"!==process.env.NODE_ENV?v(e)?new Map(e):new Set(e):void 0,o=e.clear();return t&&te(e,"clear",void 0,void 0,n),o}function be(e,t){return function(n,o){const a=this,i=a.__v_raw,l=je(i),c=t?me:e?Je:Xe;return!e&&ee(l,"iterate",q),i.forEach(((e,t)=>n.call(o,c(e),c(t),a)))}}function ye(e,t,n){return function(...o){const a=this.__v_raw,i=je(a),l=v(i),c="entries"===e||e===Symbol.iterator&&l,s="keys"===e&&l,r=a[e](...o),u=n?me:t?Je:Xe;return!t&&ee(i,"iterate",s?Y:q),{next(){const{value:e,done:t}=r.next();return t?{value:e,done:t}:{value:c?[u(e[0]),u(e[1])]:u(e),done:t}},[Symbol.iterator](){return this}}}}function Ee(e){return function(...t){if("production"!==process.env.NODE_ENV){const n=t[0]?`on key "${t[0]}" `:"";console.warn(`${y(e)} operation ${n}failed: target is readonly.`,je(this))}return"delete"!==e&&this}}function xe(){const e={get(e){return Ie(this,e)},get size(){return he(this)},has:Te,add:Se,set:Fe,delete:_e,clear:Ne,forEach:be(!1,!1)},t={get(e){return Ie(this,e,!1,!0)},get size(){return he(this)},has:Te,add:Se,set:Fe,delete:_e,clear:Ne,forEach:be(!1,!0)},n={get(e){return Ie(this,e,!0)},get size(){return he(this,!0)},has(e){return Te.call(this,e,!0)},add:Ee("add"),set:Ee("set"),delete:Ee("delete"),clear:Ee("clear"),forEach:be(!0,!1)},o={get(e){return Ie(this,e,!0,!0)},get size(){return he(this,!0)},has(e){return Te.call(this,e,!0)},add:Ee("add"),set:Ee("set"),delete:Ee("delete"),clear:Ee("clear"),forEach:be(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach((a=>{e[a]=ye(a,!1,!1),n[a]=ye(a,!0,!1),t[a]=ye(a,!1,!0),o[a]=ye(a,!0,!0)})),[e,n,t,o]}const[Pe,Le,Ce,Ue]=xe();function ke(e,t){const n=t?e?Ue:Ce:e?Le:Pe;return(t,o,a)=>"__v_isReactive"===o?!e:"__v_isReadonly"===o?e:"__v_raw"===o?t:Reflect.get(d(n,o)&&o in t?n:t,o,a)}const Re={get:ke(!1,!1)},Ae={get:ke(!0,!1)},De={get:ke(!0,!0)};function we(e,t,n){const o=je(n);if(o!==n&&t.call(e,o)){const t=_(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 Be=new WeakMap,Oe=new WeakMap,Me=new WeakMap,Ve=new WeakMap;function Qe(e){return qe(e)?e:We(e,!1,fe,Re,Be)}function $e(e){return We(e,!0,ve,Ae,Me)}function ze(e){return We(e,!0,pe,De,Ve)}function We(e,t,n,o,a){if(!T(e))return"production"!==process.env.NODE_ENV&&console.warn(`value cannot be made reactive: ${String(e)}`),e;if(e.__v_raw&&(!t||!e.__v_isReactive))return e;const i=a.get(e);if(i)return i;const l=(c=e).__v_skip||!Object.isExtensible(c)?0:function(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}(_(c));var c;if(0===l)return e;const s=new Proxy(e,2===l?o:n);return a.set(e,s),s}function Ge(e){return qe(e)?Ge(e.__v_raw):!(!e||!e.__v_isReactive)}function qe(e){return!(!e||!e.__v_isReadonly)}function Ye(e){return!(!e||!e.__v_isShallow)}function He(e){return Ge(e)||qe(e)}function je(e){const t=e&&e.__v_raw;return t?je(t):e}const Xe=e=>T(e)?Qe(e):e,Je=e=>T(e)?$e(e):e;function Ze(e){return!(!e||!0!==e.__v_isRef)}const Ke={get:(e,t,n)=>{return Ze(o=Reflect.get(e,t,n))?o.value:o;var o},set:(e,t,n,o)=>{const a=e[t];return Ze(a)&&!Ze(n)?(a.value=n,!0):Reflect.set(e,t,n,o)}};const et=[];function tt(e,...t){if("production"===process.env.NODE_ENV)return;Z();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)it(o,n,11,[e+t.join(""),n&&n.proxy,a.map((({vnode:e})=>`at <${_n(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 <${_n(e.component,e.type,o)}`,i=">"+n;return e.props?[a,...nt(e.props),i]:[a+i]}(e))})),t}(a)),console.warn(...n)}K()}function nt(e){const t=[],n=Object.keys(e);return n.slice(0,3).forEach((n=>{t.push(...ot(n,e[n]))})),n.length>3&&t.push(" ..."),t}function ot(e,t,n){return g(t)?(t=JSON.stringify(t),n?t:[`${e}=${t}`]):"number"==typeof t||"boolean"==typeof t||null==t?n?t:[`${e}=${t}`]:Ze(t)?(t=ot(e,je(t.value),!0),n?t:[`${e}=Ref<`,t,">"]):m(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=je(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 it(e,t,n,o){let a;try{a=o?e(...o):e()}catch(e){ct(e,t,n)}return a}function lt(e,t,n,o){if(m(e)){const a=it(e,t,n,o);return a&&h(a)&&a.catch((e=>{ct(e,t,n)})),a}const a=[];for(let i=0;i<e.length;i++)a.push(lt(e[i],t,n,o));return a}function ct(e,t,n,o=!0){const a=t?t.vnode:null;if(t){let o=t.parent;const a=t.proxy,i="production"!==process.env.NODE_ENV?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,i))return;o=o.parent}const l=t.appContext.config.errorHandler;if(l)return void it(l,null,10,[e,a,i])}!function(e,t,n,o=!0){if("production"!==process.env.NODE_ENV){const i=at[t];if(n&&(a=n,et.push(a)),tt("Unhandled error"+(i?` during execution of ${i}`:"")),n&&et.pop(),o)throw e;console.error(e)}else console.error(e);var a}(e,n,a,o)}let st=!1,rt=!1;const ut=[];let dt=0;const ft=[];let vt=null,pt=0;const mt=Promise.resolve();let gt=null;const It=100;function Tt(e){const t=gt||mt;return e?t.then(this?e.bind(this):e):t}function ht(e){ut.length&&ut.includes(e,st&&e.allowRecurse?dt+1:dt)||(null==e.id?ut.push(e):ut.splice(function(e){let t=dt+1,n=ut.length;for(;t<n;){const o=t+n>>>1,a=ut[o],i=_t(a);i<e||i===e&&a.pre?t=o+1:n=o}return t}(e.id),0,e),St())}function St(){st||rt||(rt=!0,gt=mt.then(bt))}function Ft(e){f(e)?ft.push(...e):vt&&vt.includes(e,e.allowRecurse?pt+1:pt)||ft.push(e),St()}const _t=e=>null==e.id?1/0:e.id,Nt=(e,t)=>{const n=_t(e)-_t(t);if(0===n){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function bt(e){rt=!1,st=!0,"production"!==process.env.NODE_ENV&&(e=e||new Map),ut.sort(Nt);const t="production"!==process.env.NODE_ENV?t=>yt(e,t):i;try{for(dt=0;dt<ut.length;dt++){const e=ut[dt];if(e&&!1!==e.active){if("production"!==process.env.NODE_ENV&&t(e))continue;it(e,null,14)}}}finally{dt=0,ut.length=0,function(e){if(ft.length){const t=[...new Set(ft)];if(ft.length=0,vt)return void vt.push(...t);for(vt=t,"production"!==process.env.NODE_ENV&&(e=e||new Map),vt.sort(((e,t)=>_t(e)-_t(t))),pt=0;pt<vt.length;pt++)"production"!==process.env.NODE_ENV&&yt(e,vt[pt])||vt[pt]();vt=null,pt=0}}(e),st=!1,gt=null,(ut.length||ft.length)&&bt(e)}}function yt(e,t){if(e.has(t)){const n=e.get(t);if(n>It){const e=t.ownerInstance,n=e&&Fn(e.type);return tt(`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 Et=new Set;"production"!==process.env.NODE_ENV&&(L().__VUE_HMR_RUNTIME__={createRecord:Ct((function(e,t){if(xt.has(e))return!1;return xt.set(e,{initialDef:Pt(t),instances:new Set}),!0})),rerender:Ct((function(e,t){const n=xt.get(e);if(!n)return;n.initialDef.render=t,[...n.instances].forEach((e=>{t&&(e.render=t,Pt(e.type).render=t),e.renderCache=[],e.update()}))})),reload:Ct((function(e,t){const n=xt.get(e);if(!n)return;t=Pt(t),Lt(n.initialDef,t);const o=[...n.instances];for(const e of o){const o=Pt(e.type);Et.has(o)||(o!==n.initialDef&&Lt(o,t),Et.add(o)),e.appContext.propsCache.delete(e.type),e.appContext.emitsCache.delete(e.type),e.appContext.optionsCache.delete(e.type),e.ceReload?(Et.add(o),e.ceReload(t.styles),Et.delete(o)):e.parent?ht(e.parent.update):e.appContext.reload?e.appContext.reload():"undefined"!=typeof window?window.location.reload():console.warn("[HMR] Root or manually mounted instance modified. Full reload required.")}Ft((()=>{for(const e of o)Et.delete(Pt(e.type))}))}))});const xt=new Map;function Pt(e){return Nn(e)?e.__vccOpts:e}function Lt(e,t){s(e,t);for(const n in e)"__file"===n||n in t||delete e[n]}function Ct(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 Ut=null,kt=null;const Rt=Symbol.for("v-ndc");const At={};function Dt(e,t,{immediate:n,deep:o,flush:l,onTrack:c,onTrigger:s}=a){var u;"production"===process.env.NODE_ENV||t||(void 0!==n&&tt('watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.'),void 0!==o&&tt('watch() "deep" option is only respected when using the watch(source, callback, options?) signature.'));const d=e=>{tt("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.")},v=B===(null==(u=mn)?void 0:u.scope)?mn:null;let p,g,I=!1,T=!1;if(Ze(e)?(p=()=>e.value,I=Ye(e)):Ge(e)?(p=()=>e,o=!0):f(e)?(T=!0,I=e.some((e=>Ge(e)||Ye(e))),p=()=>e.map((e=>Ze(e)?e.value:Ge(e)?Bt(e):m(e)?it(e,v,2):void("production"!==process.env.NODE_ENV&&d(e))))):m(e)?p=t?()=>it(e,v,2):()=>{if(!v||!v.isUnmounted)return g&&g(),lt(e,v,3,[h])}:(p=i,"production"!==process.env.NODE_ENV&&d(e)),t&&o){const e=p;p=()=>Bt(e())}let h=e=>{g=N.onStop=()=>{it(e,v,4)}},S=T?new Array(e.length).fill(At):At;const F=()=>{if(N.active)if(t){const e=N.run();(o||I||(T?e.some(((e,t)=>E(e,S[t]))):E(e,S)))&&(g&&g(),lt(t,v,3,[e,S===At?void 0:T&&S[0]===At?[]:S,h]),S=e)}else N.run()};let _;F.allowRecurse=!!t,"sync"===l?_=F:"post"===l?_=()=>Zt(F,v&&v.suspense):(F.pre=!0,v&&(F.id=v.uid),_=()=>ht(F));const N=new H(p,_);"production"!==process.env.NODE_ENV&&(N.onTrack=c,N.onTrigger=s),t?n?F():S=N.run():"post"===l?Zt(N.run.bind(N),v&&v.suspense):N.run();return()=>{N.stop(),v&&v.scope&&r(v.scope.effects,N)}}function wt(e,t,n){const o=this.proxy,a=g(e)?e.includes(".")?function(e,t){const n=t.split(".");return()=>{let t=e;for(let e=0;e<n.length&&t;e++)t=t[n[e]];return t}}(o,e):()=>o[e]:e.bind(o,o);let i;m(t)?i=t:(i=t.handler,n=t);const l=mn;In(this);const c=Dt(a,i.bind(o),n);return l?In(l):Tn(),c}function Bt(e,t){if(!T(e)||e.__v_skip)return e;if((t=t||new Set).has(e))return e;if(t.add(e),Ze(e))Bt(e.value,t);else if(f(e))for(let n=0;n<e.length;n++)Bt(e[n],t);else if(p(e)||v(e))e.forEach((e=>{Bt(e,t)}));else if(N(e))for(const n in e)Bt(e[n],t);return e}
|
|
2
|
+
/*! #__NO_SIDE_EFFECTS__ */function Ot(e,t){return m(e)?(()=>s({name:e.name},t,{setup:e}))():e}const Mt=e=>e?4&e.vnode.shapeFlag?function(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy((n=e.exposed,x(n,"__v_skip",!0),Ge(t=n)?t:new Proxy(t,Ke)),{get:(t,n)=>n in t?t[n]:n in Vt?Vt[n](e):void 0,has:(e,t)=>t in e||t in Vt}));var t;var n}(e)||e.proxy:Mt(e.parent):null,Vt=s(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>"production"!==process.env.NODE_ENV?ze(e.props):e.props,$attrs:e=>"production"!==process.env.NODE_ENV?ze(e.attrs):e.attrs,$slots:e=>"production"!==process.env.NODE_ENV?ze(e.slots):e.slots,$refs:e=>"production"!==process.env.NODE_ENV?ze(e.refs):e.refs,$parent:e=>Mt(e.parent),$root:e=>Mt(e.root),$emit:e=>e.emit,$options:e=>__VUE_OPTIONS_API__?function(e){const t=e.type,{mixins:n,extends:o}=t,{mixins:a,optionsCache:i,config:{optionMergeStrategies:l}}=e.appContext,c=i.get(t);let s;c?s=c:a.length||n||o?(s={},a.length&&a.forEach((e=>Gt(s,e,l,!0))),Gt(s,t,l)):s=t;T(t)&&i.set(t,s);return s}(e):e.type,$forceUpdate:e=>e.f||(e.f=()=>ht(e.update)),$nextTick:e=>e.n||(e.n=Tt.bind(e.proxy)),$watch:e=>__VUE_OPTIONS_API__?wt.bind(e):i}),Qt=(e,t)=>e!==a&&!e.__isScriptSetup&&d(e,t),$t={get({_:e},t){const{ctx:n,setupState:o,data:i,props:l,accessCache:c,type:s,appContext:r}=e;if("production"!==process.env.NODE_ENV&&"__isVue"===t)return!0;let u;if("$"!==t[0]){const s=c[t];if(void 0!==s)switch(s){case 1:return o[t];case 2:return i[t];case 4:return n[t];case 3:return l[t]}else{if(Qt(o,t))return c[t]=1,o[t];if(i!==a&&d(i,t))return c[t]=2,i[t];if((u=e.propsOptions[0])&&d(u,t))return c[t]=3,l[t];if(n!==a&&d(n,t))return c[t]=4,n[t];__VUE_OPTIONS_API__&&!Wt||(c[t]=0)}}const f=Vt[t];let v,p;return f?("$attrs"===t?(ee(e,"get",t),process.env.NODE_ENV):"production"!==process.env.NODE_ENV&&"$slots"===t&&ee(e,"get",t),f(e)):(v=s.__cssModules)&&(v=v[t])?v:n!==a&&d(n,t)?(c[t]=4,n[t]):(p=r.config.globalProperties,d(p,t)?p[t]:void("production"===process.env.NODE_ENV||!Ut||g(t)&&0===t.indexOf("__v")||(i!==a&&(e=>"_"===e||"$"===e)(t[0])&&d(i,t)?tt(`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===Ut&&tt(`Property ${JSON.stringify(t)} was accessed during render but is not defined on instance.`))))},set({_:e},t,n){const{data:o,setupState:i,ctx:l}=e;return Qt(i,t)?(i[t]=n,!0):"production"!==process.env.NODE_ENV&&i.__isScriptSetup&&d(i,t)?(tt(`Cannot mutate <script setup> binding "${t}" from Options API.`),!1):o!==a&&d(o,t)?(o[t]=n,!0):d(e.props,t)?("production"!==process.env.NODE_ENV&&tt(`Attempting to mutate prop "${t}". Props are readonly.`),!1):"$"===t[0]&&t.slice(1)in e?("production"!==process.env.NODE_ENV&&tt(`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:i,propsOptions:l}},c){let s;return!!n[c]||e!==a&&d(e,c)||Qt(t,c)||(s=l[0])&&d(s,c)||d(o,c)||d(Vt,c)||d(i.config.globalProperties,c)},defineProperty(e,t,n){return null!=n.get?e._.accessCache[t]=0:d(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function zt(e){return f(e)?e.reduce(((e,t)=>(e[t]=null,e)),{}):e}"production"!==process.env.NODE_ENV&&($t.ownKeys=e=>(tt("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 Wt=!0;function Gt(e,t,n,o=!1){const{mixins:a,extends:i}=t;i&&Gt(e,i,n,!0),a&&a.forEach((t=>Gt(e,t,n,!0)));for(const a in t)if(o&&"expose"===a)"production"!==process.env.NODE_ENV&&tt('"expose" option is ignored when declared in mixins or extends. It should only be declared in the base component itself.');else{const o=qt[a]||n&&n[a];e[a]=o?o(e[a],t[a]):t[a]}return e}const qt={data:Yt,props:Jt,emits:Jt,methods:Xt,computed:Xt,beforeCreate:jt,created:jt,beforeMount:jt,mounted:jt,beforeUpdate:jt,updated:jt,beforeDestroy:jt,beforeUnmount:jt,destroyed:jt,unmounted:jt,activated:jt,deactivated:jt,errorCaptured:jt,serverPrefetch:jt,components:Xt,directives:Xt,watch:function(e,t){if(!e)return t;if(!t)return e;const n=s(Object.create(null),e);for(const o in t)n[o]=jt(e[o],t[o]);return n},provide:Yt,inject:function(e,t){return Xt(Ht(e),Ht(t))}};function Yt(e,t){return t?e?function(){return s(m(e)?e.call(this,this):e,m(t)?t.call(this,this):t)}:t:e}function Ht(e){if(f(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function jt(e,t){return e?[...new Set([].concat(e,t))]:t}function Xt(e,t){return e?s(Object.create(null),e,t):t}function Jt(e,t){return e?f(e)&&f(t)?[...new Set([...e,...t])]:s(Object.create(null),zt(e),zt(null!=t?t:{})):t}const Zt=function(e,t){t&&t.pendingBranch?f(e)?t.effects.push(...e):t.effects.push(e):Ft(e)},Kt=Symbol.for("v-fgt"),en=Symbol.for("v-txt"),tn=Symbol.for("v-cmt");let nn=null;const on="__vInternal",an=({key:e})=>null!=e?e:null,ln=({ref:e,ref_key:t,ref_for:n})=>("number"==typeof e&&(e=""+e),null!=e?g(e)||Ze(e)||m(e)?{i:Ut,r:e,k:t,f:!!n}:e:null);const cn="production"!==process.env.NODE_ENV?(...e)=>sn(...e):sn;function sn(e,t=null,n=null,o=0,a=null,i=!1){if(e&&e!==Rt||("production"===process.env.NODE_ENV||e||tt(`Invalid vnode type when creating vnode: ${e}.`),e=tn),(l=e)&&!0===l.__v_isVNode){const o=rn(e,t,!0);return n&&fn(o,n),!i&&nn&&(6&o.shapeFlag?nn[nn.indexOf(e)]=o:nn.push(o)),o.patchFlag|=-2,o}var l;if(Nn(e)&&(e=e.__vccOpts),t){t=function(e){return e?He(e)||on in e?s({},e):e:null}(t);let{class:e,style:n}=t;e&&!g(e)&&(t.class=D(e)),T(n)&&(He(n)&&!f(n)&&(n=s({},n)),t.style=C(n))}const c=g(e)?1:(e=>e.__isSuspense)(e)?128:(e=>e.__isTeleport)(e)?64:T(e)?4:m(e)?2:0;return"production"!==process.env.NODE_ENV&&4&c&&He(e)&&tt("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=je(e)),function(e,t=null,n=null,o=0,a=null,i=(e===Kt?0:1),l=!1,c=!1){const s={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&an(t),ref:t&&ln(t),scopeId:kt,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:o,dynamicProps:a,dynamicChildren:null,appContext:null,ctx:Ut};return c?(fn(s,n),128&i&&e.normalize(s)):n&&(s.shapeFlag|=g(n)?8:16),"production"!==process.env.NODE_ENV&&s.key!=s.key&&tt("VNode created with invalid key (NaN). VNode type:",s.type),!l&&nn&&(s.patchFlag>0||6&i)&&32!==s.patchFlag&&nn.push(s),s}(e,t,n,o,a,c,i,!0)}function rn(e,t,n=!1){const{props:o,ref:a,patchFlag:i,children:l}=e,s=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=D([t.class,o.class]));else if("style"===e)t.style=C([t.style,o.style]);else if(c(e)){const n=t[e],a=o[e];!a||n===a||f(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:s,key:s&&an(s),ref:t&&t.ref?n&&a?f(a)?a.concat(ln(t)):[a,ln(t)]:ln(t):a,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:"production"!==process.env.NODE_ENV&&-1===i&&f(l)?l.map(un):l,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Kt?-1===i?16:16|i:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&rn(e.ssContent),ssFallback:e.ssFallback&&rn(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function un(e){const t=rn(e);return f(e.children)&&(t.children=e.children.map(un)),t}function dn(e=" ",t=0){return cn(en,null,e,t)}function fn(e,t){let n=0;const{shapeFlag:o}=e;if(null==t)t=null;else if(f(t))n=16;else if("object"==typeof t){if(65&o){const n=t.default;return void(n&&(n._c&&(n._d=!1),fn(e,n()),n._c&&(n._d=!0)))}{n=32;const o=t._;o||on in t?3===o&&Ut&&(1===Ut.slots._?t._=1:(t._=2,e.patchFlag|=1024)):t._ctx=Ut}}else m(t)?(t={default:t,_ctx:Ut},n=32):(t=String(t),64&o?(n=16,t=[dn(t)]):n=8);e.children=t,e.shapeFlag|=n}let vn,pn,mn=null,gn="__VUE_INSTANCE_SETTERS__";(pn=L()[gn])||(pn=L()[gn]=[]),pn.push((e=>mn=e)),vn=e=>{pn.length>1?pn.forEach((t=>t(e))):pn[0](e)};const In=e=>{vn(e),e.scope.on()},Tn=()=>{mn&&mn.scope.off(),vn(null)};const hn=/(?:^|[-_])(\w)/g,Sn=e=>e.replace(hn,(e=>e.toUpperCase())).replace(/[-_]/g,"");function Fn(e,t=!0){return m(e)?e.displayName||e.name:e.name||t&&e.__name}function _n(e,t,n=!1){let o=Fn(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?Sn(o):n?"App":"Anonymous"}function Nn(e){return m(e)&&"__vccOpts"in e}var bn=Ot({name:"qt-view",emits:["clearFocus"],setup(n,o){const a=e.ref();return{clearFocus:()=>{t.Native.callUIFunction(a.value,"clearFocus")},requestFocus:()=>{t.Native.callUIFunction(a.value,"requestFocus")},requestFocusDirectly:()=>{t.Native.callUIFunction(a.value,"requestFocusDirectly")},viewRef:a}}});const yn={clipChildren:!1,ref:"viewRef"};bn.render=function(t,n,o,a,i,l){return e.openBlock(),e.createElementBlock("div",yn,[e.renderSlot(t.$slots,"default")],512)},bn.__file="src/view/index.vue";var En=Ot({name:"qt-text"});En.render=function(t,n,o,a,i,l){const c=e.resolveComponent("text-view");return e.openBlock(),e.createBlock(c)},En.__file="src/text/index.vue";var xn=Ot({name:"qt-image"});const Pn={src:"",alt:"",clipChildren:!1};xn.render=function(t,n,o,a,i,l){return e.openBlock(),e.createElementBlock("img",Pn)},xn.__file="src/image/index.vue";var Ln=Ot({name:"qt-column"});const Cn={class:"qt-ui-row-css",clipChildren:!1};Ln.render=function(t,n,o,a,i,l){return e.openBlock(),e.createElementBlock("div",Cn,[e.renderSlot(t.$slots,"default")])},Ln.__scopeId="data-v-734c04b2",Ln.__file="src/column/index.vue";var Un=Ot({name:"qt-row"});const kn={class:"qt-ui-row-css",clipChildren:!1};Un.render=function(t,n,o,a,i,l){return e.openBlock(),e.createElementBlock("div",kn,[e.renderSlot(t.$slots,"default")])},Un.__scopeId="data-v-9c454b58",Un.__file="src/row/index.vue";var Rn=e.defineComponent({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(n,o){const a=e.ref(),i=e.ref(!1);return{focused:i,requestFocus:function(){t.Native.callUIFunction(a.value,"requestFocus",[])},requestFocusDirectly:function(){t.Native.callUIFunction(a.value,"requestFocusDirectly",[])},onFocus:function(e){console.log("--------XXXXXXXXXXXXXXXXX--------------\x3e>>",i.value),i.value=e.isFocused,o.emit("focus",e.isFocused)},onClick:function(e){o.emit("click")}}}});const An=["focusable","enableFocusBorder","focusScale"],Dn=["gradientBackground"],wn=["gradientBackground"],Bn=["gradientBackground"],On=["src"],Mn=["src"];Rn.render=function(t,n,o,a,i,l){const c=e.resolveComponent("text-view");return e.openBlock(),e.createElementBlock("div",{ref:"buttonRef",clipChildren:!1,focusable:t.focusable,enableFocusBorder:t.focusBorder,focusScale:t.focusScale,onClick:n[0]||(n[0]=(...e)=>t.onClick&&t.onClick(...e)),name:"textButton",eventClick:"",eventFocus:"",onFocus:n[1]||(n[1]=(...e)=>t.onFocus&&t.onFocus(...e)),style:e.normalizeStyle(t.buttonStyle),class:e.normalizeClass(["quick-button--default",t.size?"quick-button--"+t.size:"",{"is-disabled-button":t.disabled,"is-circle":t.circle,"is-round":t.round,"is-square":t.square}])},[e.createCommentVNode(" gradient "),t.gradientFocusBackground?(e.openBlock(),e.createElementBlock("div",{key:0,class:"button-gradient-background-css",gradientBackground:t.gradientFocusBackground,focusable:!1,showOnState:"focused"},null,8,Dn)):e.createCommentVNode("v-if",!0),t.gradientSelectedBackground?(e.openBlock(),e.createElementBlock("div",{key:1,class:"button-gradient-background-css",gradientBackground:t.gradientSelectedBackground,focusable:!1,showOnState:"selected"},null,8,wn)):e.createCommentVNode("v-if",!0),t.gradientBackground?(e.openBlock(),e.createElementBlock("div",{key:2,class:"button-gradient-background-css",gradientBackground:t.gradientBackground,focusable:!1,showOnState:"normal"},null,8,Bn)):e.createCommentVNode("v-if",!0),e.createCommentVNode(" -----------------------------icon--------------------------------- "),!t.icon&&!t.focusIcon||t.$slots.default?e.createCommentVNode("v-if",!0):(e.openBlock(),e.createElementBlock("div",{key:3,duplicateParentState:!0,style:e.normalizeStyle(t.iconParentStyle),flexStyle:"${iconParentStyle}",class:e.normalizeClass(["quick-button-icon-parent",t.size?"quick-button-icon--parent"+t.size:""])},[t.icon&&!t.$slots.default?(e.openBlock(),e.createElementBlock("img",{key:0,style:e.normalizeStyle(t.iconStyle),flexStyle:"${iconStyle}",duplicateParentState:!0,class:e.normalizeClass(["quick-button-icon",t.size?"quick-button-icon--"+t.size:"",{"is-square-icon":t.square}]),focusable:!1,src:t.enableFlexStyle?"${"+t.icon+"}":t.icon,showOnState:"normal"},null,14,On)):e.createCommentVNode("v-if",!0),t.focusIcon&&!t.$slots.default?(e.openBlock(),e.createElementBlock("img",{key:1,style:e.normalizeStyle(t.focusIconStyle?t.focusIconStyle:t.iconStyle),flexStyle:"${iconStyle}",class:e.normalizeClass(["quick-button-icon",t.size?"quick-button-icon--"+t.size:"",{"is-square-icon":t.square}]),focusable:!1,duplicateParentState:!0,src:t.enableFlexStyle?"${"+t.focusIcon+"}":t.focusIcon,showOnState:"focused"},null,14,Mn)):e.createCommentVNode("v-if",!0)],6)),e.createCommentVNode(" ------------------------------------------------------------------- "),e.createCommentVNode(" text "),t.enableFlexStyle?(e.openBlock(),e.createBlock(c,{key:4,style:e.normalizeStyle(t.textStyle),duplicateParentState:"",class:e.normalizeClass([t.size?"quick-button-text--"+t.size:"",{"is-disabled-text":t.disabled,"is-square-text":t.square}]),focusable:!1,text:"${"+t.text+"}",autoWidth:"",autoHeight:""},null,8,["style","class","text"])):t.text&&!t.$slots.default?(e.openBlock(),e.createElementBlock("span",{key:5,style:e.normalizeStyle(t.textStyle),duplicateParentState:"",class:e.normalizeClass([t.size?"quick-button-text--"+t.size:"",{"is-disabled-text":t.disabled,"is-square-text":t.square}]),focusable:!1},e.toDisplayString(t.text),7)):e.createCommentVNode("v-if",!0),e.renderSlot(t.$slots,"default")],46,An)},Rn.__scopeId="data-v-46a594e4",Rn.__file="src/button/index.vue";const Vn=e=>e.map($n),Qn=e=>{const t=Object.keys(e),n={};return t.forEach((t=>{n[t]=$n(e[t])})),n};function $n(e){return e?"object"!=typeof e?e:Array.isArray(e)?Vn(e):Qn(e):e}var zn=e.defineComponent({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,o){n.useESToast(),n.useES();const a=e.ref();let i=e.ref(2.5),l=[],c=[],s=[],r=[],u="",d=-1,f=!1,v=-1,p=-1,m=-1,g=-1,I=e.ref(!1);e.watchEffect((()=>{t.openPage&&(d=1,f=!1,t.loadMore(d))}));const T=e=>{0==l.length&&(l=$n(e),c=e,i.value<2.2?(h(),t.openPage&&t.pageSize&&r.length>=t.pageSize/t.spanCount?a.value.setListDataWithParams(r.concat([{type:1002,decoration:{top:15,left:30}}]),!0,!0):a.value.setListDataWithParams(r,!0,!0)):t.openPage&&t.pageSize&&l.length>=t.pageSize?a.value.setListDataWithParams(l.concat([{type:1002,decoration:{top:15,left:30}}]),!0,!0):a.value.setListDataWithParams(l,!0,!0),t.defaultFocus>-1&&(m&&clearTimeout(m),m=setTimeout((()=>{F(t.defaultFocus),_(t.defaultFocus)}),800)));let n={get(e,o,c){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"))u="push";else{if(-1!=s.indexOf("splice"))return u="splice",function(...t){if(e.splice(...t),i.value<2.2)if(h(),1==t.length||2==t.length)a.value.setListData(r);else if(0==t[1])a.value.setListData(r);else{let e=-1,n=0,o=0;for(let a=0;a<r.length;a++){const i=r[a];if("1003"==i.type)e++,t[0]==e&&(n=a),t[0]+t[1]-1==e&&(o=a);else for(let l=0;l<i.list.length;l++)i.list[l],e++,t[0]==e&&(n=a),t[0]+t[1]-1==e&&(o=a)}a.value.updateItemList(n,o-n+1,r.slice(n,o+1))}else 1==t.length?a.value.deleteItem(Number(t[0]),l.length-t[0]):2==t.length?a.value.deleteItem(Number(t[0]),t[1]):t.length>2&&(0==t[1]?i.value>2.29&&b(t[0],t.slice(2)):a.value.updateItemList(t[0],t[1],t.slice(2)));return l.splice(t[0],...t.slice(1)),u="",s=[],Reflect.get(e,o,c)};if(-1!=s.indexOf("pop"))return u="pop",function(){return e.pop(),i.value<2.2?(r[r.length-1].list.length<1&&r.pop(),r[r.length-1].list.pop(),a.value.updateItem(Number(r.length-1),r[r.length-1])):a.value.deleteItem(Number(l.length-1),1),l.pop(),u="",s=[],Reflect.get(e,o,c)};if(-1!=s.indexOf("forEach"))return u="forEach",function(n){return e.forEach((e=>{n(e)})),l=[],l=$n(e),i.value<2.2?(h(),t.openPage&&t.pageSize&&r.length>=t.pageSize&&!f?a.value.setListData(r.concat([{type:1002,decoration:{top:15,left:30}}])):a.value.setListData(r)):t.openPage&&t.pageSize&&l.length>=t.pageSize&&!f?a.value.setListData(l.concat([{type:1002,decoration:{top:15,left:30}}])):a.value.setListData(l),u="",s=[],Reflect.get(e,o,c)};if(-1!=s.indexOf("concat"))return u="concat",function(v){if("[object Array]"===Object.prototype.toString.call(v))if(e=e.concat(v),l=l.concat(v),i.value<2.2){g&&clearTimeout(g);let e=r.length,n=r.slice(r.length-1)[0];h();let o=r.slice(e);t.openPage&&!f?!t.pageSize&&2==d||I.value?g=setTimeout((()=>{a.value.addListData(o.concat([{type:1002,decoration:{top:15,left:30}}])),I.value&&(I.value=!1)}),300):0==o.length||"1003"!=n.type&&n.list.length<t.spanCount?(o=r.slice(e-1),g=setTimeout((()=>{a.value.addListDataWithParams(o.concat([{type:1002,decoration:{top:15,left:30}}]),2)}),300)):g=setTimeout((()=>{a.value.addListDataWithParams(o.concat([{type:1002,decoration:{top:15,left:30}}]),1)}),300):a.value.setListData(r)}else g=t.openPage&&!f?!t.pageSize&&2==d||I.value?setTimeout((()=>{a.value.addListData(v.concat([{type:1002,decoration:{top:15,left:30}}])),I.value&&(I.value=!1)}),300):setTimeout((()=>{a.value.addListDataWithParams(v.concat([{type:1002,decoration:{top:15,left:30}}]),1)}),300):setTimeout((()=>{a.value.addListData(v)}),300);else console.log("concat:参数类型必须为数组");return u="",s=[],Reflect.get(e,o,c),new Proxy(e,n)};u=""}const v=Reflect.get(e,o,c);return S(v)&&"__ob__"!=o&&"dep"!=o&&"subs"!=o?T(v):(-1==s.indexOf("push")&&(s=[]),v)},set(e,n,o,v){const p=e[n],m=Reflect.set(e,n,o,v);if((!S(p)&&p!==o||S(p))&&"push"!=u)if(s.push(n),l[s[0]]=c[s[0]],i.value<2.2){let e=s[0],t=-1;for(let n=0;n<r.length;n++){const o=r[n];if("1003"==o.type)t++,t==e&&(r[n]=l[s[0]],a.value.updateItem(Number(n),r[n]));else for(let i=0;i<o.list.length;i++)if(o.list[i],t++,t==e){r[n].list[i]=l[s[0]];let e=r[n].list[i];e.decoration&&(e.decoration.top&&(e.decoration.top=0),e.decoration.bottom&&(e.decoration.bottom=0)),a.value.updateItem(Number(n),r[n])}}}else a.value.updateItem(Number(s[0]),c[s[0]]);if(n&&"push"==u&&p!==o)s.push(n),l.push(o);else{if("push"==u&&s.length>1)if(i.value<2.2){g&&clearTimeout(g);let e=r.length,n=r.slice(r.length-1)[0];h();let o=r.slice(e);t.openPage&&!f?!t.pageSize&&2==d||I.value?g=setTimeout((()=>{a.value.addListData(o.concat([{type:1002,decoration:{top:15,left:30}}])),I.value&&(I.value=!1)}),300):0==o.length||"1003"!=n.type&&n.list.length<t.spanCount?(o=r.slice(e-1),g=setTimeout((()=>{a.value.addListDataWithParams(o.concat([{type:1002,decoration:{top:15,left:30}}]),2)}),300)):g=setTimeout((()=>{a.value.addListDataWithParams(o.concat([{type:1002,decoration:{top:15,left:30}}]),1)}),300):a.value.setListData(r)}else{let e=l.slice(s[1]);g&&clearTimeout(g),g=t.openPage&&!f?!t.pageSize&&2==d||I.value?setTimeout((()=>{a.value.addListData(e.concat([{type:1002,decoration:{top:15,left:30}}])),I.value&&(I.value=!1)}),300):setTimeout((()=>{a.value.addListDataWithParams(e.concat([{type:1002,decoration:{top:15,left:30}}]),1)}),300):setTimeout((()=>{a.value.addListData(e)}),300)}u="",s=[]}return m}};return new Proxy(e,n)},h=()=>{let e=$n(l);r=[];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)r.push(a);else for(let e=0;e<a.list.length;e+=t.spanCount){const o=a.list[e];let i={top:-1,bottom:-1};o.decoration&&(i.top=o.toCompatibleSaveTopVal?o.toCompatibleSaveTopVal:0,i.bottom=o.toCompatibleSaveBottompVal?o.toCompatibleSaveBottompVal:0);const l={type:1,decoration:i,name:"name"+n,list:a.list.slice(e,e+t.spanCount)};n++,r.push(l)}}},S=e=>null!==e&&"object"==typeof e,F=e=>{if(i.value<2.2){let t=-1;for(let n=0;n<r.length;n++){const o=r[n];if("1003"==o.type)t++,t==e&&a.value.scrollToPosition(n);else for(let i=0;i<o.list.length;i++)o.list[i],t++,t==e&&a.value.scrollToPosition(n)}}else a.value.scrollToPosition(e)},_=e=>{if(i.value<2.2){let t=-1,n=0,o=0;for(let a=0;a<r.length;a++){const i=r[a];if("1003"==i.type)t++;else for(let l=0;l<i.list.length;l++)i.list[l],t++,e==t&&(n=a,o=l)}a.value.dispatchItemFunction(n,"tv_list_inner","requestChildFocus",[o])}else a.value.requestFocus(e)},N=(e,t)=>{if(i.value<2.2){let t=-1,n=0,o=0;for(let a=0;a<r.length;a++){const i=r[a];if("1003"==i.type)t++;else for(let l=0;l<i.list.length;l++)i.list[l],t++,e==t&&(n=a,o=l)}a.value.dispatchItemFunction(n,"tv_list_inner","setSelectChildPosition",[o])}else a.value.setSelectPosition(e,t)},b=(e,t)=>{a.value.addItem(e,t)},y=()=>{a.value.destroy()};e.onBeforeUnmount((()=>{I.value=!1,l=[],r=[],c.length=0,f=!1,s=[],d=1,f=!1,u="",y(),v&&clearTimeout(v),g&&clearTimeout(g),p&&clearTimeout(p),m&&clearTimeout(m)}));return{tv_list:a,apkVersion:i,init:T,onItemClick:e=>{if(i.value<2.2){let t=-1,n=e.position,o=e.parentPosition;for(let a=0;a<e.parentPosition+1;a++){const i=r[a];if("1003"==i.type)t++;else for(let l=0;l<i.list.length;l++)t++,n==l&&o==a&&(e.position=t)}}o.emit("item-click",e)},onItemBind:e=>{i.value<2.2?f||e.position!=r.length-1-t.preloadNo/t.spanCount||(d++,t.loadMore(d)):f||e.position!=l.length-1-t.preloadNo||(d++,t.loadMore(d)),o.emit("item-bind",e)},onItemFocused:e=>{if(i.value<2.2){let t=-1,n=e.position,o=e.parentPosition;for(let a=0;a<e.parentPosition+1;a++){const i=r[a];if("1003"==i.type)t++;else for(let l=0;l<i.list.length;l++)t++,n==l&&o==a&&(e.position=t)}}o.emit("item-focused",e)},reset:(e=1)=>{l=[],r=[],s=[],u="",I.value=!1,v&&clearTimeout(v),g&&clearTimeout(g),p&&clearTimeout(p),m&&clearTimeout(m),t.openPage&&(f=!1,t.loadMore(e))},restartPage:()=>{I.value=!0,d=1,f=!1,t.loadMore(d)},isRestartPage:I,onItemUnbind:e=>{o.emit("item-unbind",e)},onScroll:e=>{o.emit("scroll",e)},onScrollStateChanged:e=>{o.emit("scroll-state-changed",e)},stopPage:e=>{p&&clearTimeout(p),p=setTimeout((()=>{i.value<2.2?t.pageSize?t.pageSize/t.spanCount<=r.length&&a.value.deleteItem(r.length,1):d>2&&a.value.deleteItem(r.length,1):t.pageSize?t.pageSize<=l.length&&a.value.deleteItem(l.length,1):d>2&&a.value.deleteItem(l.length,1)}),400),f=!0},scrollToTop:()=>{a.value.scrollToTop()},clearFocus:()=>{a.value.clearFocus()},blockRootFocus:()=>{a.value.blockRootFocus()},unBlockRootFocus:()=>{a.value.unBlockRootFocus()},setDisplay:e=>{a.value.setDisplay(e)},scrollToPosition:F,scrollToIndex:(e,t,n)=>{if(i.value<2.2){let o=-1;for(let i=0;i<r.length;i++){const l=r[i];if("1003"==l.type)o++,o==e&&a.value.scrollToIndex(0,i,t,n);else for(let c=0;c<l.list.length;c++)l.list[c],o++,o==e&&a.value.scrollToIndex(0,i,t,n)}}else a.value.scrollToIndex(0,e,t,n)},setItemFocused:_,scrollToFocused:e=>{F(e),_(e)},setItemSelected:N,scrollToSelected:(e,t)=>{F(e),N(e,t)},updateItemProps:(e,t,n)=>{a.value.updateItemProps(e,t,n)},setInitPosition:e=>{a.value.setInitPosition(e)},setListData:e=>{v&&clearTimeout(v),v=setTimeout((()=>{a.value.setListData(e)}),100)},insertItem:b,clearPostTask:()=>{a.value.clearPostTask()},destroy:y}}});zn.render=function(t,n,o,a,i,l){const c=e.resolveComponent("tv-list");return e.openBlock(),e.createBlock(c,{class:"tv_list",ref:"tv_list",name:"tv_list",spanCount:t.apkVersion<2.2?"":t.spanCount,onItemBind:t.onItemBind,onItemClick:t.onItemClick,onItemFocused:t.onItemFocused,onItemUnbind:t.onItemUnbind,onScroll:t.onScroll,onScrollStateChanged:t.onScrollStateChanged,onSetListData:t.setListData,blockFocusDirections:t.blockFocusDirections},{default:e.withCtx((()=>[t.apkVersion<2.2?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.renderSlot(t.$slots,"header"),e.createVNode(c,{class:"tv_list_inner",ref:"${name}",list:"${list}",name:"tv_list_inner",type:"1",clipChildren:!1,focusable:!1,horizontal:"",style:e.normalizeStyle({width:t.areaWidth+"px"}),endHintEnabled:!1,blockFocusDirections:t.blockFocusDirections},{default:e.withCtx((()=>[e.renderSlot(t.$slots,"default")])),_:3},8,["style","blockFocusDirections"]),e.renderSlot(t.$slots,"footer"),e.renderSlot(t.$slots,"loading")],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.renderSlot(t.$slots,"header"),e.renderSlot(t.$slots,"default"),e.renderSlot(t.$slots,"footer"),e.renderSlot(t.$slots,"loading")],64))])),_:3},8,["spanCount","onItemBind","onItemClick","onItemFocused","onItemUnbind","onScroll","onScrollStateChanged","onSetListData","blockFocusDirections"])},zn.__file="src/grid-view/index.vue";var Wn=Ot({name:"qt-poster-focus-title",props:{fontSize:{type:Number,default:20}},setup(e,t){}});const Gn={class:"absoluteFocusTitleRoot",flexStyle:"${titleFocusStyle}",autoHeight:"",focusable:!1},qn={class:"absoluteFocusMainBgRoot",duplicateParentState:!0,focusable:!1,showIf:"${focusTitle.enable}"};Wn.render=function(t,n,o,a,i,l){const c=e.resolveComponent("text-view");return e.openBlock(),e.createElementBlock("div",Gn,[e.createCommentVNode(" 浮动标题"),e.createVNode(c,{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}),e.createElementVNode("div",qn,[e.createCommentVNode(" 主标题 "),e.createVNode(c,{duplicateParentState:!0,focusable:!1,fontSize:30,ellipsizeMode:2,autoHeight:"",maxLines:2,gravity:"left",paddingRect:[16,8,12,8],style:{"background-color":"transparent",color:"#000000"},flexStyle:"${focusTitle.style}",text:"${focusTitle.text}"}),e.createCommentVNode(" 副标题 "),e.createVNode(c,{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}"})])])},Wn.__scopeId="data-v-703673b8",Wn.__file="src/poster/qt-poster-focus-title.vue";var Yn=Ot({name:"qt-poster-corner-title",props:{fontSize:{type:Number,default:20}},setup(e,t){}});const Hn={class:"cornerRoot",focusable:!1};Yn.render=function(t,n,o,a,i,l){const c=e.resolveComponent("text-view");return e.openBlock(),e.createElementBlock("div",Hn,[e.createVNode(c,{duplicateParentState:!0,focusable:!1,textSize:t.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"])])},Yn.__scopeId="data-v-4b767ea2",Yn.__file="src/poster/qt-poster-corner-title.vue";var jn=Ot({name:"qt-poster",components:{"qt-poster-corner-title":Yn,"qt-poster-focus-title":Wn},props:{requestFirstFocus:{type:Boolean,default:!1},loadDelay:{type:Number,default:500},type:{type:Number,default:10001},focusScale:{type:Number,default:1.1},templateKeyMap:{type:Object,default:()=>null}},setup:(e,t)=>({mainTextShowOnState:["normal","selected"]})});const Xn=t=>(e.pushScopeId("data-v-3c4765e9"),t=t(),e.popScopeId(),t),Jn=Xn((()=>e.createElementVNode("img",{class:"qt-ui-poster-img-css",duplicateParentState:!0,postDelay:300,focusable:!1,enableFocusBorder:"${focus.border}",flexStyle:"${image.style}",src:"${image.src}"},null,-1))),Zn=["showOnState"],Kn={flexStyle:"${floatTitle.style}",class:"qt-ui-poster-title-css",gradientBackground:{colors:["#e5000000","#00000000"],cornerRadii4:[0,0,8,8],orientation:4},duplicateParentState:!0,focusable:!1,showIf:"${floatTitle.enable}"},eo={flexStyle:"${ripple.style}",class:"qt-ui-poster-ripple-view-root-css",showOnState:"focused",focusable:!1,clipChildren:!1},to=Xn((()=>e.createElementVNode("img",{src:"${ripple.src}",class:"qt-ui-ripple-img-css",focusable:!1,duplicateParentState:!0,showIf:"${true}",delayLoad:800},null,-1)));jn.render=function(t,n,o,a,i,l){const c=e.resolveComponent("text-view"),s=e.resolveComponent("qt-poster-focus-title"),r=e.resolveComponent("ripple-view"),u=e.resolveComponent("qt-poster-corner-title"),d=e.resolveComponent("item-frame");return e.openBlock(),e.createBlock(d,{type:t.type,layout:"${layout}",flexStyle:"${style}",focusable:!0,eventClick:"",eventFocus:"",name:"poster",class:"qt-ui-poster-root-css",itemShowShimmer:"${shimmer.enable}",hideShadow:"${shadow.enable}",shimmerSize:"${size}"},{default:e.withCtx((()=>[e.createCommentVNode("封面"),Jn,e.createVNode(c,{class:"qt-ui-poster-score-css",duplicateParentState:!0,focusable:!1,flexStyle:"${score.style}",textSize:"${score.style.fontSize}",ellipsizeMode:2,lines:1,gravity:"center",postDelay:350,autoWidth:"",text:"${score.text}"}),e.createCommentVNode(" 焦点选中时的标题 "),e.createVNode(s,{focusable:!1,showOnState:"focused"}),e.createElementVNode("div",{style:{"flex-direction":"column","background-color":"transparent","z-index":"999"},duplicateParentState:!0,focusable:!1,flexStyle:"${titleStyle}",showOnState:t.mainTextShowOnState},[e.createCommentVNode(" 浮动标题 "),e.createElementVNode("div",Kn,[e.createVNode(c,{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}"})]),e.createCommentVNode(" 主标题"),e.createVNode(c,{duplicateParentState:!0,focusable:!1,textSize:30,ellipsizeMode:2,lines:1,postDelay:200,gravity:"left",paddingRect:[16,8,0,0],gradientBackground:"${title.background}",style:{"z-index":"999",height:"60px"},flexStyle:"${title.style}",text:"${title.text}",showIf:"${title.enable}"})],8,Zn),e.createElementVNode("div",eo,[e.createVNode(r,{class:"qt-ui-ripple-view-css",delayLoad:800,focusable:!1,duplicateParentState:!0,color:"#FF4E46",isShowRipple:"${ripple.enable}",rippleVisible:"invisible"}),to]),e.createVNode(u,{focusable:!1,flexStyle:"${corner.style}",style:{"z-index":"1000",position:"absolute"}}),e.renderSlot(t.$slots,"default")])),_:3},8,["type"])},jn.__scopeId="data-v-3c4765e9",jn.__file="src/poster/index.vue";var no=e.defineComponent({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.ref();let a=e.ref("#f5f5f5"),i=e.reactive({normal:"#80ffffff",focused:"#000000",selected:"#F5F5F5"}),l=-1,c=-1;e.watch((()=>t.navs),(e=>{e.length>0&&s(e)}));const s=e=>{e||(e=[]),e.forEach(((e,n)=>{0!==t.itemGap&&(t.horizontal?e.decoration={right:t.itemGap}:e.decoration={bottom:t.itemGap}),e.type||(e.type=2e4)})),o.value?.setListData(e),clearTimeout(c);let n=t.initSelect;n>-1&&(o.value?.scrollToPosition(n),c=setTimeout((()=>{o.value?.setItemSelected(n,!0),r(n)}),300))},r=e=>{clearTimeout(l),l=setTimeout((()=>{n.emit("tab-select",{position:e})}),300)};return{navList:o,focusColor:a,textColor:i,bgPadding:[10,10],onTabChange:e=>{!0===e.hasFocus&&(n.emit("tab-focus",e),r(e.position))},onTabClick:e=>{n.emit("tab-click",e.item)},scrollToPosition:e=>{o.value?.scrollToPosition(e)},scrollToTop:()=>{o.value?.scrollToTop()},init:e=>{s(e.data)}}}});const oo=["stateTextColor","sateBackgroundPadding"],ao=["stateTextColor","sateBackgroundPadding"];var io,lo;no.render=function(t,n,o,a,i,l){const c=e.resolveComponent("text-view"),s=e.resolveComponent("qt-list-view");return t.horizontal?(e.openBlock(),e.createBlock(s,{key:0,ref:"navList",clipChildren:!1,clipPadding:!1,horizontal:"",class:"qt-ui-nav-bar-root-horizontal",onItemClick:t.onTabClick,onItemFocused:t.onTabChange},{default:e.withCtx((()=>[e.createElementVNode("div",{class:"qt-ui-nav-bar-item-css",type:2e4,autoWidth:"",focusable:!0,eventFocus:"",flexStyle:"${style}",clipChildren:!1,style:e.normalizeStyle({focusBackgroundColor:t.focusColor}),stateTextColor:t.textColor,sateBackgroundPadding:t.bgPadding},[e.createVNode(c,{autoWidth:"",gravity:"center",lines:1,fontSize:44,class:"qt-ui-nav-bar-item-text-css",duplicateParentState:!0,text:"${text}"})],12,oo),e.renderSlot(t.$slots,"default")])),_:3},8,["onItemClick","onItemFocused"])):(e.openBlock(),e.createBlock(s,{key:1,ref:"navList",clipChildren:!1,clipPadding:!1,class:"qt-ui-nav-bar-root-vertical",onItemClick:t.onTabClick,onItemFocused:t.onTabChange},{default:e.withCtx((()=>[e.createElementVNode("div",{class:"qt-ui-nav-bar-item-css",type:2e4,flexStyle:"${style}",eventFocus:"",autoWidth:"",focusable:!0,stateTextColor:t.textColor,style:e.normalizeStyle({focusBackgroundColor:t.focusColor}),sateBackgroundPadding:t.bgPadding,clipChildren:!1},[e.createVNode(c,{autoWidth:"",gravity:"center",lines:1,fontSize:44,class:"qt-ui-nav-bar-item-text-css",duplicateParentState:!0,text:"${text}"})],12,ao),e.renderSlot(t.$slots,"default")])),_:3},8,["onItemClick","onItemFocused"]))},no.__file="src/nav-bar/index.vue",exports.QTWaterfallSectionType=void 0,(io=exports.QTWaterfallSectionType||(exports.QTWaterfallSectionType={}))[io.QT_WATERFALL_SECTION_TYPE_LOADING=-1]="QT_WATERFALL_SECTION_TYPE_LOADING",io[io.QT_WATERFALL_SECTION_TYPE_TITLE=1e3]="QT_WATERFALL_SECTION_TYPE_TITLE",io[io.QT_WATERFALL_SECTION_TYPE_FLEX=1002]="QT_WATERFALL_SECTION_TYPE_FLEX",io[io.QT_WATERFALL_SECTION_TYPE_LIST=1003]="QT_WATERFALL_SECTION_TYPE_LIST",io[io.QT_WATERFALL_SECTION_TYPE_TAB=1003]="QT_WATERFALL_SECTION_TYPE_TAB",io[io.QT_WATERFALL_SECTION_TYPE_INDEPENDENT_ITEM=1004]="QT_WATERFALL_SECTION_TYPE_INDEPENDENT_ITEM",io[io.QT_WATERFALL_SECTION_TYPE_TAB_LIST=1005]="QT_WATERFALL_SECTION_TYPE_TAB_LIST",io[io.QT_WATERFALL_SECTION_TYPE_CARD=1006]="QT_WATERFALL_SECTION_TYPE_CARD",io[io.QT_WATERFALL_SECTION_TYPE_VUE=1007]="QT_WATERFALL_SECTION_TYPE_VUE",io[io.QT_WATERFALL_SECTION_TYPE_END=-1001]="QT_WATERFALL_SECTION_TYPE_END",io[io.QT_WATERFALL_SECTION_TYPE_BLANK=-1e3]="QT_WATERFALL_SECTION_TYPE_BLANK",exports.QTWaterfallItemType=void 0,(lo=exports.QTWaterfallItemType||(exports.QTWaterfallItemType={}))[lo.QT_WATERFALL_ITEM_TYPE_POSTER=10001]="QT_WATERFALL_ITEM_TYPE_POSTER",lo[lo.QT_WATERFALL_ITEM_TYPE_TAB=10002]="QT_WATERFALL_ITEM_TYPE_TAB",lo[lo.QT_WATERFALL_ITEM_TYPE_CARD=10003]="QT_WATERFALL_ITEM_TYPE_CARD",lo[lo.QT_WATERFALL_ITEM_TYPE_BLANK=-1e4]="QT_WATERFALL_ITEM_TYPE_BLANK";var co=Ot({name:"card-item",setup(e,t){const o=n.useESLog();return{onFocus:function(e){o.isLoggable(n.ESLogLevel.DEBUG)&&o.d("card-item","------onFocus---------\x3e>>>",e),t.emit("focus",e)}}}});co.render=function(t,n,o,a,i,l){const c=e.resolveComponent("es-card-container");return e.openBlock(),e.createBlock(c,{keyName:"_id",clipChildren:!1,clipPadding:!1,autoRecycle:!0,disablePlaceholder:"",layout:"${layout}",flexStyle:"${style}",cardId:"${cardId}",focusScale:"${cardPlaceHolder.focusScale}",focusable:"${cardPlaceHolder.focusable}",showPlaceHolder:"${cardPlaceHolder.enable}",placeHolderRadius:"${cardPlaceHolder.radius}",placeHolderRect:"${cardPlaceHolder.rect}",type:10003,onFocus:t.onFocus,class:"qt-ui-waterfall-card-item"},null,8,["onFocus"])},co.__scopeId="data-v-599898aa",co.__file="src/waterfall/item/card-item.vue";var so=Ot({name:"standard-section",components:{"card-item":co},props:{enablePlaceholder:{type:Boolean,default:!0},plateData:{type:String,default:""},useDiff:{type:Boolean,default:!1},cachePool:{type:Object,default:{}},sectionType:{type:Number,default:exports.QTWaterfallSectionType.QT_WATERFALL_SECTION_TYPE_FLEX},standItemType:{type:Number,default:exports.QTWaterfallItemType.QT_WATERFALL_ITEM_TYPE_POSTER},currentPageIndex:{type:Number,default:-1},itemFocusScale:{type:Number,default:1.1}},setup(e,t){const o=n.useESLog();return{onFocus:function(e){o.isLoggable(n.ESLogLevel.DEBUG)&&o.d("card-item","------onFocus---------\x3e>>>",e),t.emit("focus",e)}}}});const ro=["type"],uo=(t=>(e.pushScopeId("data-v-227e921e"),t=t(),e.popScopeId(),t))((()=>e.createElementVNode("img",{postDelay:300,flexStyle:"${imgTitleStyle}",focusable:!1,src:"${imgTitle}"},null,-1)));so.render=function(t,n,o,a,i,l){const c=e.resolveComponent("text-view"),s=e.resolveComponent("qt-poster"),r=e.resolveComponent("card-item"),u=e.resolveComponent("tv-flex");return e.openBlock(),e.createElementBlock("div",{class:"standard-section-css",blockFocusDirections:["left","right"],clipChildren:!1,clipPadding:!1,type:t.sectionType,focusable:!1,keyName:"_id",flexStyle:"${style}",gradientBackground:"${style.gradientBackground}",bringFocusChildToFront:!0,useAdvancedFocusSearch:!0},[e.createVNode(c,{class:"standard-section-title-text-css",postDelay:300,flexStyle:"${titleStyle}",focusable:!1,textSize:"${titleStyle.fontSize}",text:"${title}"}),uo,e.createVNode(u,{class:"standard-section-css",name:"QUICKTVUI_WARTERFALL_LIST",blockFocusDirections:["left","right"],clipChildren:!1,clipPadding:!1,bringFocusChildToFront:!0,cachePool:t.cachePool,useDiff:t.useDiff,keyName:"_id",enablePlaceholder:t.enablePlaceholder,focusScrollTarget:"${focusScrollTarget==true}",list:"${itemList}"},{default:e.withCtx((()=>[e.createCommentVNode(" poster "),e.createVNode(s,{"load-delay":500,type:t.standItemType},null,8,["type"]),e.createCommentVNode(" card "),e.createVNode(r,{onFocus:t.onFocus},null,8,["onFocus"]),e.renderSlot(t.$slots,"default")])),_:3},8,["cachePool","useDiff","enablePlaceholder"])],8,ro)},so.__scopeId="data-v-227e921e",so.__file="src/waterfall/section/flex-section.vue";const fo="list-section";var vo=Ot({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:exports.QTWaterfallSectionType.QT_WATERFALL_SECTION_TYPE_LIST},fetchPendingData:{type:Function,default:null},arrangeType:{type:String,default:"TB"}},setup(e,t){const o=n.useESLog();return{blockDirections:["left","right"],onItemBind:function(e){o.isLoggable(n.ESLogLevel.DEBUG)&&o.d(fo,"----------onItemBind--------------\x3e>>",e)},onItemClick:function(e){o.isLoggable(n.ESLogLevel.DEBUG)&&o.d(fo,"----------onItemClick--------------\x3e>>",e)},onItemRecycled:function(e){o.isLoggable(n.ESLogLevel.DEBUG)&&o.d(fo,"----------onItemRecycled--------------\x3e>>",e)},onItemFocused:function(e){o.isLoggable(n.ESLogLevel.DEBUG)&&o.d(fo,"----------onItemFocused--------------\x3e>>",e)}}}});const po={class:"qt-ui-section-tab-list-root",focusable:!1,flexStyle:"${style}",gradientBackground:"${style.gradientBackground}",blockFocusDirections:["right"],clipChildren:!1,useAdvancedFocusSearch:!0,bringFocusChildToFront:!0},mo=(t=>(e.pushScopeId("data-v-6aa2cfd4"),t=t(),e.popScopeId(),t))((()=>e.createElementVNode("img",{postDelay:300,flexStyle:"${imgTitleStyle}",focusable:!1,src:"${imgTitle}"},null,-1))),go=["type"];vo.render=function(t,n,o,a,i,l){const c=e.resolveComponent("text-view"),s=e.resolveComponent("qt-poster"),r=e.resolveComponent("tv-list"),u=e.resolveComponent("tv-item");return e.openBlock(),e.createBlock(u,{keyName:"_id",type:t.sectionType,clipPadding:!1,clipChildren:!1,ref:"listSection",class:"tab-list-section-root-css",onItemClick:t.onItemClick,onItemBind:t.onItemBind,onItemUnbind:t.onItemRecycled,onItemFocused:t.onItemFocused},{default:e.withCtx((()=>[e.createElementVNode("div",po,[e.createVNode(c,{class:"tab-list-section-title-text-css",postDelay:300,flexStyle:"${titleStyle}",focusable:!1,textSize:"${titleStyle.fontSize}",text:"${title}"}),mo,e.createVNode(r,{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:t.enablePlaceholder,cachePoolName:"HorizontalList",blockFocusDirections:t.blockDirections},{default:e.withCtx((()=>[e.createVNode(s,{type:t.standItemType},null,8,["type"]),e.createElementVNode("div",{type:t.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:""},[e.createVNode(c,{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,go),e.renderSlot(t.$slots,"default")])),_:3},8,["enablePlaceholder","blockFocusDirections"])])])),_:3},8,["type","onItemClick","onItemBind","onItemUnbind","onItemFocused"])},vo.__scopeId="data-v-6aa2cfd4",vo.__file="src/waterfall/section/list-section.vue";var Io=Ot({name:"loading-section"});const To={focusable:!1,type:-1,keyName:"_id",class:"loading-section-css",gradientBackground:"${style.gradientBackground}"};Io.render=function(t,n,o,a,i,l){const c=e.resolveComponent("qt-loading-view");return e.openBlock(),e.createElementBlock("div",To,[e.createVNode(c,{class:"loading-section-loading-css"})])},Io.__scopeId="data-v-48609f24",Io.__file="src/waterfall/section/loading-section.vue";var ho=Ot({name:"end-section",setup:()=>({})});const So={keyName:"_id",type:-1001,focusable:!1,flexStyle:"${style}",gradientBackground:"${style.gradientBackground}",class:"qt-waterfall-end-section-css"};ho.render=function(t,n,o,a,i,l){const c=e.resolveComponent("text-view");return e.openBlock(),e.createElementBlock("div",So,[e.createVNode(c,{focusable:!1,gravity:"center",flexStyle:"${titleStyle}",class:"qt-waterfall-end-section-text-css",textSize:"${titleStyle.fontSize}",text:"${title}"})])},ho.__scopeId="data-v-70b82c43",ho.__file="src/waterfall/section/end-section.vue";var Fo=Ot({props:{plateTitleLeftMargin:{type:Number,default:0},type:{type:Number,default:exports.QTWaterfallSectionType.QT_WATERFALL_SECTION_TYPE_TITLE}},setup:(e,t)=>({})});const _o=["type"];Fo.render=function(t,n,o,a,i,l){const c=e.resolveComponent("text-view");return e.openBlock(),e.createElementBlock("div",{class:"section-title-css",blockFocusDirections:["left","right"],clipChildren:!1,clipPadding:!1,type:t.type,keyName:"_id",focusable:!1,bringFocusChildToFront:!0,useAdvancedFocusSearch:!0},[e.createVNode(c,{class:"section-title-text-css",postDelay:300,style:e.normalizeStyle({marginLeft:t.plateTitleLeftMargin+"px"}),focusable:!1,textSize:"${titleStyle.fontSize}",text:"${title}"},null,8,["style"])],8,_o)},Fo.__scopeId="data-v-20428d40",Fo.__file="src/waterfall/section/section-title.vue";var No=Ot({name:"blank-section",setup:()=>({})});const bo={focusable:!1,type:-1e3,keyName:"_id",flexStyle:"${style}",gradientBackground:"${style.gradientBackground}",class:"qt-ui-waterfall-blank-section"};No.render=function(t,n,o,a,i,l){return e.openBlock(),e.createElementBlock("div",bo)},No.__scopeId="data-v-eeab4d88",No.__file="src/waterfall/section/blank-section.vue";var yo=Ot({name:"card-section",setup(e,t){const o=n.useESLog();return{onFocus:function(e){o.isLoggable(n.ESLogLevel.DEBUG)&&o.d("card-section","------onFocus---------\x3e>>>",e),t.emit("focus",e)}}}});const Eo={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};yo.render=function(t,n,o,a,i,l){const c=e.resolveComponent("text-view"),s=e.resolveComponent("es-card-container");return e.openBlock(),e.createElementBlock("div",Eo,[e.createVNode(c,{class:"qt-ui-waterfall-card-section-title-css",postDelay:300,flexStyle:"${titleStyle}",focusable:!1,textSize:"${titleStyle.fontSize}",text:"${title}"}),e.createVNode(s,{cardId:"${cardId}",onFocus:t.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"])])},yo.__scopeId="data-v-43a44788",yo.__file="src/waterfall/section/card-section.vue";var xo,Po=Ot({name:"vue-section",props:{blockFocusDirections:{type:Array,default:()=>["left","right"]}},setup:(e,t)=>({onSectionBind:function(){}})});function Lo(e,t){const n=[];if(t&&t.length>0)for(let o=0;o<t.length;o++){let a=Co(e,t[o]);n.push(a)}return n}function Co(e,t){let n=0;return t.itemList.length>0&&t.type==exports.QTWaterfallSectionType.QT_WATERFALL_SECTION_TYPE_FLEX&&(n=function(e){const t=e.itemList,n=e.style?.spacing??0,o=e.titleStyle,a=o?.height??0;const i=o?.marginTop??0,l=o?.marginBottom??0;const c=o?.paddingTop??0,s=o?.paddingBottom??0;let r=e.style.height??0,u=e.style.width??0;e.decoration;let d=0,f=0,v=0;for(let e=0;e<t.length;e++){const o=t[e];let a=o?.style.width??0,i=o?.style.height??0;const l=o.style.x,c=o.style.y;if(null!=l&&null!=c)o.layout=[l,c,a,i];else{const e=o.decoration,t=e?.left??0,l=e?.top??0,c=e?.right??0,s=e?.bottom??0;d+a+c>u&&(f+=v+n,v=0,d=0),o.layout||(o.layout=[0,0,a,i]),o.layout[0]=d+t,o.layout[1]=f+l,o.layout[1]+i+s>r&&(r=o.layout[1]+i+s),i+l+s>v&&(v=i+l+s),d+=a+n+t+c}}return r+a+i+l+c+s}(t),t.style.height=n),t}function Uo(){let e=[];function t(e){return e.itemList.length}function n(n,o){console.log("----1--------getRangeSectionListItemCount-----------------\x3e>>>");const a=e.length;if(n<0||n>=a)return 0;console.log("----2--------getRangeSectionListItemCount-----------------\x3e>>>");let i=n+o;n+o>a&&(i=a),console.log("----3--------getRangeSectionListItemCount-----------------\x3e>>>");let l=0;for(let o=n;o<i;o++){l+=t(e[o])}return l}function o(){console.log("--------dumpWaterfallData---------\x3e>>>",e)}return{init:function(){},getSectionList:function(){return e},addSectionList:function(a){const i=e.length,l=n(0,i),c=function(e){if(e.length<=0)return 0;let n=0;for(let o=0;o<e.length;o++){n+=t(e[o])}return n}(a);return e.push(...a),o(),{sectionIndex:i,sectionCount:a.length,itemIndex:l,itemCount:c}},deleteSection:function(t,a){const i=n(0,t-1),l=n(t,a);return e.splice(t,a),o(),{sectionIndex:t,sectionCount:a,itemIndex:i,itemCount:l}},updateSection:function(a,i){const l=n(0,a-1),c=t(i);return e.splice(a,1,i),o(),{sectionIndex:a,sectionCount:1,itemIndex:l,itemCount:c}},getSection:function(t){if(!(t<0||t>=e.length||0==e.length))return e[t]},addItemList:function(t,n){const a=e.length;if(t<0||t>=a||n.length<=0)return{sectionIndex:-1,sectionCount:0,itemIndex:-1,itemCount:0};const i=e[t],l=i.itemList.length;return i.itemList.push(...n),o(),{sectionIndex:t,sectionCount:1,itemIndex:l,itemCount:n.length}},deleteItem:function(t,n,a){return e[t].itemList.splice(n,a),o(),{sectionIndex:t,sectionCount:1,itemIndex:n,itemCount:a}},updateItem:function(t,n,a){return e[t].itemList.splice(n,1,a),o(),{sectionIndex:t,sectionCount:1,itemIndex:n,itemCount:1}},updateItemList:function(t,n,a,i){return e[t].itemList.splice(n,a,...i),o(),{sectionIndex:t,sectionCount:1,itemIndex:n,itemCount:a}},getItem:function(t,n){const o=e[t];if(o&&o.itemList.length>0&&n>=0&&n<o.itemList.length){return o.itemList[n]}},destroy:function(){e=[]}}}Po.render=function(t,n,o,a,i,l){const c=e.resolveComponent("tv-item");return e.openBlock(),e.createBlock(c,{class:"qt-ui-waterfall-vue-section",type:1007,keyName:"_id",blockFocusDirections:t.blockFocusDirections,clipChildren:!1,clipPadding:!1,flexStyle:"${style}",singleton:"",onItemBind:t.onSectionBind},{default:e.withCtx((()=>[e.renderSlot(t.$slots,"default")])),_:3},8,["blockFocusDirections","onItemBind"])},Po.__scopeId="data-v-f8447724",Po.__file="src/waterfall/section/vue-section.vue",exports.QTWaterfallVisibleType=void 0,(xo=exports.QTWaterfallVisibleType||(exports.QTWaterfallVisibleType={})).QT_WATERFALL_VISIBLE_TYPE_NONE="none",xo.QT_WATERFALL_VISIBLE_TYPE_NORMAL="normal",xo.QT_WATERFALL_VISIBLE_TYPE_CENTER="center";const ko="qt-waterfall";var Ro,Ao,Do=Ot({name:"qt-waterfall",emits:["onScroll","onScrollStateChanged","onItemClick","onItemFocused","onSectionBind","onSectionAttached","onSectionDetached"],props:{enablePlaceholder:{type:Boolean,default:!0},blockFocusDirections:{type:Array,default:()=>["down"]},vueSectionBlockFocusDirections:{type:Array,default:()=>["left","right"]}},setup(t,o){const a=n.useESLog(),i={name:"tvList"+Date.now(),size:{20008:10}},l=e.ref(exports.QTWaterfallVisibleType.QT_WATERFALL_VISIBLE_TYPE_CENTER),c=e.ref();let s;const r=Uo();return{waterfallRef:c,visibleType:l,init:function(e){s=e,e.visibleType&&(l.value=e.visibleType)},setAutoFocus:function(e,t){c.value?.setAutoFocus(e,t)},getSectionList:function(){return r.getSectionList()},setSectionList:function(e){if(!s)return;a.isLoggable(n.ESLogLevel.DEBUG)&&a.d(ko,"-------1---setSectionList--------------\x3e>>"),r.destroy();const t=r.addSectionList(e);a.isLoggable(n.ESLogLevel.DEBUG)&&a.d(ko,"-------2---setSectionList--------------\x3e>>",t);const o=Lo(s,e);a.isLoggable(n.ESLogLevel.DEBUG)&&a.d(ko,"----------setSectionList-----最终数据---------\x3e>>",o),c.value?.setListData(o)},addSectionList:function(e){if(!s)return;r.addSectionList(e);const t=Lo(s,e);a.isLoggable(n.ESLogLevel.DEBUG)&&a.d(ko,"----------addSectionList-----最终数据---------\x3e>>",t),c.value?.addListData(t)},deleteSection:function(e,t){const o=r.deleteSection(e,t);a.isLoggable(n.ESLogLevel.DEBUG)&&a.d(ko,"----------deleteSection-----最终数据---------\x3e>>",o),c.value?.deleteItem(e,t)},updateSection:function(e,t){r.updateSection(e,t);const o=Co(0,t);a.isLoggable(n.ESLogLevel.DEBUG)&&a.d(ko,"----------updateSection-----最终数据---------\x3e>>sectionIndex:",e,"updateSection:",o),c.value?.updateItem(e,o)},updateSectionList:function(e,t,n){const o=[];for(let t=0;t<n.length;t++){const a=n[t];r.updateSection(e+t,a);const i=Co(0,a);i&&o.push(i)}c.value?.updateItemList(e,t,o)},getSection:function(e){return r.getSection(e)},addItemList:function(e,t){r.addItemList(e,t);const n=r.getSection(e);if(n){const t=Co(0,n);c.value?.updateItem(e,t)}},deleteItem:function(e,t,n){r.deleteItem(e,t,n);const o=r.getSection(e);if(o){const t=Co(0,o);c.value?.updateItem(e,t)}},updateItem:function(e,t,n){r.updateItem(e,t,n);const o=r.getSection(e);if(o){const t=Co(0,o);c.value?.updateItem(e,t)}},updateItemList:function(e,t,n,o){r.updateItemList(e,t,n,o);const a=r.getSection(e);if(a){const t=Co(0,a);c.value?.updateItem(e,t)}},getItem:function(e,t){return r.getItem(e,t)},cachePool:i,flexCachePool:{name:"tvFlex",size:{1:50}},onScroll:function(e){e.stopPropagation();let t=e.offsetX,n=e.offsetY;o.emit("onScroll",t,n)},onItemClick:function(e){a.isLoggable(n.ESLogLevel.DEBUG)&&a.d(ko,"----------onItemClick--------------\x3e>>",e,"sectionIndex:"+e.parentPosition+" position:"+e.position+" "),o.emit("onItemClick",e.parentPosition,e.position,e.item)},onItemFocused:function(e){a.isLoggable(n.ESLogLevel.DEBUG)&&a.d(ko,"----------onItemFocused--------------\x3e>>",e,"sectionIndex:"+e.parentPosition+" position:"+e.position+" isFocused:"+e.isFocused+" "),o.emit("onItemFocused",e.parentPosition,e.position,e.isFocused,e.item)},onSectionBind:function(e){if(e){a.isLoggable(n.ESLogLevel.DEBUG)&&a.d(ko,"----------onSectionBind--------------\x3e>>",e);let t=e.pageIndex??0;o.emit("onSectionBind",t,e.position)}},onSectionAttached:function(e){if(e){a.isLoggable(n.ESLogLevel.DEBUG)&&a.d(ko,"----------onSectionAttached--------------\x3e>>",e);let t=e.pageIndex??0;o.emit("onSectionAttached",t,e.position)}},onSectionDetached:function(e){if(e){a.isLoggable(n.ESLogLevel.DEBUG)&&a.d(ko,"----------onSectionDetached--------------\x3e>>",e);let t=e.pageIndex??0;o.emit("onSectionDetached",t,e.position)}},onScrollStateChanged:function(e){let t=e.offsetY,n=e.offsetX,a=e.newState;o.emit("onScrollStateChanged",n,t,a)},resumePostTask:function(){c.value?.pausePostTask()},pausePostTask:function(){c.value?.pausePostTask()},clearPostTask:function(){c.value?.clearPostTask()},destroy:function(){c.value?.destroy()},scrollToTop:function(){c.value?.scrollToTop()},setListData:function(e){c.value?.setListData(e)}}},components:{"flex-section":so,"list-section":vo,"section-title":Fo,"loading-section":Io,"end-section":ho,"blank-section":No,"card-section":yo,"vue-section":Po}});function wo(){const e=new Map,t=new Map;function n(n){const o={index:n,state:exports.QTTabPageState.QT_TAB_PAGE_STATE_IDLE};e.set(n,o),t.set(n,[])}function o(e,n){const o=t.get(e)??[];if(!(n<0||n>=o.length||0==o.length))return o[n]}function a(e){return e.itemList.length}function i(e,t,n){const o=e.length;if(t<0||t>=o)return 0;let i=t+n;t+n>o&&(i=o),console.log("----3--------getRangeSectionListItemCount-----------------\x3e>>>");let l=0;for(let n=t;n<i;n++){l+=a(e[n])}return l}function l(){console.log("--------dumpTabWaterfallData---------\x3e>>>",t)}return{initTab:function(e){const t=e.itemList;for(let e=0;e<t.length;e++)n(e)},getTabPageData:function(t){return e.get(t)},setPageData:function(t,n){e.set(t,n)},setSectionState:function(e,t,n){const a=o(e,t);a&&(a.state=n,a.sectionIndex=t)},getSectionListByState:function(e,n){return(t.get(e)??[]).filter((e=>e.state==n))},getSectionList:function(e){return t.get(e)??[]},addSectionList:function(n,o){const c=t.get(n)??[],s=c.length,r=i(c,0,s),u=function(e){if(e.length<=0)return 0;let t=0;for(let n=0;n<e.length;n++){t+=a(e[n])}return t}(o);c.push(...o);const d=e.get(n);return d&&(d.state=exports.QTTabPageState.QT_TAB_PAGE_STATE_IDLE),l(),{pageIndex:n,sectionIndex:s,sectionCount:o.length,itemIndex:r,itemCount:u}},deleteSection:function(e,n,o){const a=t.get(e)??[],c=i(a,0,n-1),s=i(a,n,o);return a.splice(n,o),l(),{pageIndex:e,sectionIndex:n,sectionCount:o,itemIndex:c,itemCount:s}},updateSection:function(e,n,o){const c=t.get(e)??[],s=i(c,0,n-1),r=a(o);return c.splice(n,1,o),l(),{pageIndex:e,sectionIndex:n,sectionCount:1,itemIndex:s,itemCount:r}},updateSectionList:function(e,n){return t.set(e,n),l(),{pageIndex:e,sectionIndex:0,sectionCount:n.length,itemIndex:-1,itemCount:-1}},getSection:o,addItemList:function(e,n,o){const a=t.get(e)??[],i=a.length;if(n<0||n>=i||o.length<=0)return{pageIndex:e,sectionIndex:-1,sectionCount:0,itemIndex:-1,itemCount:0};const c=a[n],s=c.itemList.length;return c.itemList.push(...o),l(),{pageIndex:e,sectionIndex:n,sectionCount:1,itemIndex:s,itemCount:o.length}},deleteItem:function(e,n,o,a){return(t.get(e)??[])[n].itemList.splice(o,a),l(),{pageIndex:e,sectionIndex:n,sectionCount:1,itemIndex:o,itemCount:a}},updateItem:function(e,n,o,a){return(t.get(e)??[])[n].itemList.splice(o,1,a),l(),{pageIndex:e,sectionIndex:n,sectionCount:1,itemIndex:o,itemCount:1}},updateItemList:function(e,n,o,a,i){return(t.get(e)??[])[n].itemList.splice(o,a,...i),l(),{pageIndex:e,sectionIndex:n,sectionCount:1,itemIndex:o,itemCount:a}},getItem:function(e,n,o){const a=(t.get(e)??[])[n];if(a&&a.itemList.length>0&&o>=0&&o<a.itemList.length){return a.itemList[o]}},destroy:function(){t.clear()}}}Do.render=function(t,n,o,a,i,l){const c=e.resolveComponent("flex-section"),s=e.resolveComponent("list-section"),r=e.resolveComponent("loading-section"),u=e.resolveComponent("end-section"),d=e.resolveComponent("blank-section"),f=e.resolveComponent("card-section"),v=e.resolveComponent("vue-section"),p=e.resolveComponent("tv-list");return e.openBlock(),e.createBlock(p,{ref:"waterfallRef",class:"qt-waterfall-root-css",keyName:"_id",clipChildren:!1,clipPadding:!1,listenBoundEvent:!0,negativeKeyTime:"30",postContentDelay:"500",onScroll:t.onScroll,onItemClick:t.onItemClick,onItemFocused:t.onItemFocused,onItemBind:t.onSectionBind,onItemAttached:t.onSectionAttached,onItemDetached:t.onSectionDetached,focusMemory:!1,cachePool:t.cachePool,preload:1,checkScrollOffsetOnStateChanged:!0,makeChildVisibleType:t.visibleType,scrollThresholdVertical:50,scrollEventThrottle:16,enableSelectOnFocus:!1,advancedFocusSearchSpan:"1",scrollYLesserReferenceValue:30,scrollYGreaterReferenceValue:30,shakePreCheckNumber:"4",blockFocusDirections:t.blockFocusDirections,onScrollStateChanged:t.onScrollStateChanged},{default:e.withCtx((()=>[e.createCommentVNode(" 普通版块"),e.createVNode(c,{"cache-pool":t.flexCachePool,enablePlaceholder:t.enablePlaceholder,onFocus:t.onItemFocused},{default:e.withCtx((()=>[e.renderSlot(t.$slots,"item")])),_:3},8,["cache-pool","enablePlaceholder","onFocus"]),e.createCommentVNode("一行滚动 多级tab"),e.createVNode(s,{enablePlaceholder:t.enablePlaceholder},{default:e.withCtx((()=>[e.renderSlot(t.$slots,"list-item")])),_:3},8,["enablePlaceholder"]),e.createCommentVNode(" loading"),e.createVNode(r),e.createCommentVNode(" end "),e.createVNode(u),e.createCommentVNode(" blank "),e.createVNode(d),e.createCommentVNode(" card "),e.createVNode(f,{onFocus:t.onItemFocused},null,8,["onFocus"]),e.createCommentVNode(" vue "),e.createVNode(v,{"block-focus-directions":t.vueSectionBlockFocusDirections},{default:e.withCtx((()=>[e.renderSlot(t.$slots,"vue-section")])),_:3},8,["block-focus-directions"]),e.renderSlot(t.$slots,"section")])),_:3},8,["onScroll","onItemClick","onItemFocused","onItemBind","onItemAttached","onItemDetached","cachePool","makeChildVisibleType","blockFocusDirections","onScrollStateChanged"])},Do.__file="src/waterfall/index.vue",exports.QTTabPageState=void 0,(Ro=exports.QTTabPageState||(exports.QTTabPageState={}))[Ro.QT_TAB_PAGE_STATE_IDLE=0]="QT_TAB_PAGE_STATE_IDLE",Ro[Ro.QT_TAB_PAGE_STATE_BUSY=1]="QT_TAB_PAGE_STATE_BUSY",Ro[Ro.QT_TAB_PAGE_STATE_COMPLETE=2]="QT_TAB_PAGE_STATE_COMPLETE",Ro[Ro.QT_TAB_PAGE_STATE_ERROR=3]="QT_TAB_PAGE_STATE_ERROR",function(e){e[e.QT_LIST_VIEW_ITEM_STATE_DEFAULT=0]="QT_LIST_VIEW_ITEM_STATE_DEFAULT",e[e.QT_LIST_VIEW_ITEM_STATE_ATTACHED=1]="QT_LIST_VIEW_ITEM_STATE_ATTACHED",e[e.QT_LIST_VIEW_ITEM_STATE_BIND=2]="QT_LIST_VIEW_ITEM_STATE_BIND",e[e.QT_LIST_VIEW_ITEM_STATE_UNBIND=3]="QT_LIST_VIEW_ITEM_STATE_UNBIND",e[e.QT_LIST_VIEW_ITEM_STATE_DETACHED=4]="QT_LIST_VIEW_ITEM_STATE_DETACHED"}(Ao||(Ao={}));const Bo="qt-tabs";var Oo=Ot({name:"qt-tabs",emits:["onTabPageLoadData","onTabPageChanged","onTabEvent","onTabPageItemClick","onTabPageItemFocused","onTabPageSectionAttached","onTabPageScroll","onTabPageScrollStateChanged","onTabMoveToTopStart","onTabMoveToTopEnd","onTabMoveToBottomStart","onTabMoveToBottomEnd","onTabChanged","onTabPageScrollToEnd","onTabPageScrollToStart","onTabClick"],props:{enablePlaceholder:{type:Boolean,default:!0},preloadNumber:{type:Number,default:3},tabNavBarClass:{type:String,default:""},tabClass:{type:String,default:""},tabsDataStrategy:{type:String,default:"overTime"},tabPageClass:{type:String,default:""},horizontal:{type:Boolean,default:!0},pageTransform:{type:Boolean,default:!0},hideOnSingleTab:{type:Boolean,default:!0},floatNavBar:{type:Boolean,default:!0},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},slidingEnable:{type:Boolean,default:!1},slidingMode:{type:String,default:""},initTranslation:{type:Number,default:0},rightTranslation:{type:Number,default:0},leftTranslation:{type:Number,default:0},duration:{type:Number,default:1e3},interpolatorType:{type:Number,default:1},endHintEnabled:{type:Boolean,default:!0},outOfDateTime:{type:Number,default:3e5}},setup(t,o){const a=e.ref();e.ref();const i=e.ref(!0),l=e.ref(1),c=n.useESLog(),s=e.ref(),r=wo();let u,d=-1,f=-1;function v(e,t){const n=r.getTabPageData(e);n&&(n.state=t,r.setPageData(e,n))}function p(e,a,i){let l=r.getTabPageData(e);if(l&&l.state===exports.QTTabPageState.QT_TAB_PAGE_STATE_IDLE){i>=r.getSectionList(e).length-t.preloadNumber-1&&(c.isLoggable(n.ESLogLevel.DEBUG)&&c.d(Bo,"----------loadPageData----加载数加载据--\x3e>>> pageIndex:"+e+" sectionIndex:"+i),o.emit("onTabPageLoadData",e,a),v(e,exports.QTTabPageState.QT_TAB_PAGE_STATE_BUSY))}else c.isLoggable(n.ESLogLevel.DEBUG)&&c.d(Bo,"----------loadPageData--状态不对--\x3e>>>",e)}function m(){clearTimeout(f),f=setTimeout((()=>{const e=r.getSectionListByState(d,Ao.QT_LIST_VIEW_ITEM_STATE_ATTACHED);(e?e.length:0)>0&&(e.forEach((e=>{c.isLoggable(n.ESLogLevel.DEBUG)&&c.d(Bo,"----------notifyTabContentSectionAttached------\x3e>>> pageIndex"+d+" sectionIndex:",e.sectionIndex)})),o.emit("onTabPageSectionAttached",d,e))}),100)}function g(e,t){c.isLoggable(n.ESLogLevel.DEBUG)&&c.d(Bo,"----------onWaterfallScroll----\x3e>>> offsetX:"+e+" scrollY:"+t),o.emit("onTabPageScroll",e,t)}function I(e,t,a){c.isLoggable(n.ESLogLevel.DEBUG)&&c.d(Bo,"----------onWaterfallScrollStateChanged----\x3e>>> offsetX:"+e+" scrollY:"+t+" newState:"+a),o.emit("onTabPageScrollStateChanged",e,t,a)}return{tabs:a,ifTabs:i,navBarRef:s,initTab:function(e){let t={defaultIndex:e.defaultIndex,focusIndex:e.defaultFocusIndex,data:e.itemList};r.initTab(e),a.value?.setTabsData(t)},setAutoFocus:function(e,t){a.value?.setAutoFocus(e,t)},initPage:function(e){u=e},setPageState:v,setPageData:function(e,t){c.isLoggable(n.ESLogLevel.DEBUG)&&c.d(Bo,"----------loadPageData----setPageData--\x3e>>>pageIndex:"+e),r.addSectionList(e,t.data);const o={data:Lo(u,t.data),disableScrollOnFirstScreen:t.disableScrollOnFirstScreen??!1,firstFocusTargetID:t.firstFocusTargetID??"",useDiff:t.useDiff};c.isLoggable(n.ESLogLevel.DEBUG)&&c.d(Bo,"------设置数据----setPageData------\x3e>>> pageIndex:"+e+" data:",o),a.value?.setPageData(e,o)},addPageData:function(e,t,o=0){c.isLoggable(n.ESLogLevel.DEBUG)&&c.d(Bo,"----------loadPageData----addPageData--\x3e>>>pageIndex:"+e),r.addSectionList(e,t.data);const i={data:Lo(u,t.data),disableScrollOnFirstScreen:t.disableScrollOnFirstScreen??!1,firstFocusTargetID:t.firstFocusTargetID??"",useDiff:t.useDiff};c.isLoggable(n.ESLogLevel.DEBUG)&&c.d(Bo,"----设置数据------addPageData------\x3e>>> pageIndex:"+e+" data:",i," deleteCount:"+o),a.value?.addPageData(e,i,o)},updatePageData:function(e,t){r.updateSectionList(e,t.data);const n={data:Lo(u,t.data),disableScrollOnFirstScreen:t.disableScrollOnFirstScreen??!1,firstFocusTargetID:t.firstFocusTargetID??"",useDiff:t.useDiff};a.value?.updatePageData(e,n)},updatePageSection:function(e,t,n){r.updateSection(e,t,n);const o=Co(0,n);a.value?.updateRootNode(e,t,o)},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),a.value?.invokeContentFunction(e,"deleteItemRange",[t,n])},addPageItemList:function(e,t,n){r.addItemList(e,t,n);const o=r.getSection(e,t);if(o){const n=Co(0,o);a.value?.updateRootNode(e,t,n)}},getPageItem:function(e,t,n){return r.getItem(e,t,n)},updatePageItem:function(e,t,n,o){r.updateItem(e,t,n,o),a.value?.updateChildNode(e,t,n,o)},deletePageItem:function(e,t,n,o){r.deleteItem(e,t,n,o);const i=r.getSection(e,t);if(i){const n=Co(0,i);a.value?.updateRootNode(e,t,n)}},blockRootFocus:function(){a.value?.blockRootFocus()},unBlockRootFocus:function(){a.value?.unBlockRootFocus()},focusBackToTop:function(){a.value?.focusBackToTop()},requestNodeFocus:function(e){a.value?.requestNodeFocus(e)},reloadAll:function(e=!0){a.value?.reloadAll(e)},reloadPage:function(e){a.value?.reloadPage(e)},setCurrentPage:function(e){a.value?.setCurrentPage(e)},requestTabFocus:function(e){a.value?.requestTabFocus(e)},invokeContentFunction:function(e,t,n){a.value?.invokeContentFunction(e,t,n)},invokeContentFunctionDirect:function(e,t){a.value?.invokeContentFunctionDirect(e,t)},contentScrollToFocus:function(e){a.value?.contentScrollToFocus(e)},getRootNodeViewState:function(e,t,n){a.value?.getRootNodeViewState(e,t,n)},getChildNodeViewState:function(e,t,n,o,i){a.value?.getChildNodeViewState(e,t,n,o,i)},dispatchUIFunctionOnChildNode:function(e,t,n,o,i){a.value?.dispatchUIFunctionOnChildNode(e,t,n,o,i)},updateItemMatched:function(e="id",t,n){a.value?.updateItemMatched(e,t,n)},updateRootNode:function(e,t,n){a.value?.updateRootNode(e,t,n)},updateChildNode:function(e,t,n,o){a.value?.updateChildNode(e,t,n,o)},destroy:function(){a.value?.destroy()},translationLeft:function(){a.value?.translationLeft()},translationRight:function(){a.value?.translationRight()},rootOpacity:l,onTabPageLoadData:function(e){const t=e.pageIndex,o=e.useDiff;c.isLoggable(n.ESLogLevel.DEBUG)&&c.d(Bo,"----------loadPageData----android--\x3e>>>pageIndex:"+t),p(t,o,0)},onTabPageChanged:function(e){const t=e.pageIndex;if(d==t)return void(c.isLoggable(n.ESLogLevel.DEBUG)&&c.d(Bo,"----------onTabPageChanged---重复发送page-changed事件---\x3e>>> pageIndex:"+t));d=t;const a=e.data;c.isLoggable(n.ESLogLevel.DEBUG)&&c.d(Bo,"----------onTabPageChanged------\x3e>>> pageIndex:"+t+" data:",a),o.emit("onTabPageChanged",t,a),m()},onTabEvent:function(e){const t=e.params,a=e.eventName,i=d,l=e.params.x,s=e.params.y,r=e.params.contentOffset,u=e.params.state;switch(c.isLoggable(n.ESLogLevel.DEBUG)&&c.d(Bo,"----------onTabEvent------\x3e>>> eventName:"+a+" tabIndex:"+i+" params:",t),o.emit("onTabEvent",i,a,t),a){case"onMoveToTopStart":o.emit("onTabMoveToTopStart",i,a,t);break;case"onMoveToTopEnd":o.emit("onTabMoveToTopEnd",i,a,t);break;case"onMoveToBottomStart":o.emit("onTabMoveToBottomStart",i,a,t);break;case"onMoveToBottomEnd":o.emit("onTabMoveToBottomEnd",i,a,t);break;case"onTabChanged":o.emit("onTabChanged",i,a,t);break;case"onScroll":g(l,s);break;case"onScrollStateChanged":I(r.x,r.y,u.newState)}},onWaterfallItemClick:function(e,t,a){c.isLoggable(n.ESLogLevel.DEBUG)&&c.d(Bo,"-----------onWaterfallItemClick---------------\x3e>>> sectionIndex:"+e+" itemIndex:"+t+" item:",a),o.emit("onTabPageItemClick",d,e,t,a)},onWaterfallItemFocused:function(e,t,a,i){c.isLoggable(n.ESLogLevel.DEBUG)&&c.d(Bo,"-----------onWaterfallItemFocused---------------\x3e>>> sectionIndex:"+e+" itemIndex:"+t+" isFocused:"+a+" item:",i),o.emit("onTabPageItemFocused",d,e,t,a,i)},onWaterfallSectionBind:function(e,t){c.isLoggable(n.ESLogLevel.DEBUG)&&c.d(Bo,"-----------onWaterfallSectionBind---------------\x3e>>> pageIndex:"+e+" sectionIndex:"+t),e===d&&(c.isLoggable(n.ESLogLevel.DEBUG)&&c.d(Bo,"----------loadPageData----bind--\x3e>>>pageIndex:"+e),p(e,!1,t))},onWaterfallSectionAttached:function(e,t){c.isLoggable(n.ESLogLevel.DEBUG)&&c.d(Bo,"-----------onWaterfallSectionAttached---------------\x3e>>> pageIndex:"+e+" sectionIndex:"+t),r.setSectionState(e,t,Ao.QT_LIST_VIEW_ITEM_STATE_ATTACHED),e==d&&m()},onWaterfallSectionDetached:function(e,t){c.isLoggable(n.ESLogLevel.DEBUG)&&c.d(Bo,"-----------onWaterfallSectionDetached---------------\x3e>>> pageIndex:"+e+" sectionIndex:"+t),r.setSectionState(e,t,Ao.QT_LIST_VIEW_ITEM_STATE_DETACHED)},onWaterfallScroll:g,onWaterfallScrollStateChanged:I,onTabPageScrollToStart:function(e){const t=e.pageIndex;o.emit("onTabPageScrollToStart",t),c.isLoggable(n.ESLogLevel.DEBUG)&&c.d(Bo,"----------onTabPageScrollToStart------\x3e>>> pageIndex:"+t)},onTabPageScrollToEnd:function(e){const t=e.pageIndex;o.emit("onTabPageScrollToEnd",t),c.isLoggable(n.ESLogLevel.DEBUG)&&c.d(Bo,"----------onTabPageScrollToEnd------\x3e>>> pageIndex:"+t)},onTabChange:function(e){},onTabClick:function(e){o.emit("onTabClick",e)}}}});Oo.render=function(t,n,o,a,i,l){const c=e.resolveComponent("qt-nav-bar"),s=e.resolveComponent("qt-waterfall"),r=e.resolveComponent("recycler-view-pager"),u=e.resolveComponent("tabs");return t.ifTabs?(e.openBlock(),e.createBlock(u,{key:0,ref:"tabs",class:e.normalizeClass(["tabs-root-css",t.tabClass]),dataStrategy:t.tabsDataStrategy,hideOnSingleTab:t.hideOnSingleTab,pageSwitchDelay:t.tabContentSwitchDelay,resumeTaskDelay:t.tabContentResumeDelay,suspension:t.floatNavBar,clipChildren:!1,outOfDateTime:t.outOfDateTime,blockFocusDirections:t.tabContentBlockFocusDirections,onScrollToStart:t.onTabPageScrollToStart,onScrollToEnd:t.onTabPageScrollToEnd,onLoadPage:t.onTabPageLoadData,onPageChanged:t.onTabPageChanged,onTabEvent:t.onTabEvent},{default:e.withCtx((()=>[e.createVNode(c,{ref:"navBarRef",name:"tabList",focusable:!1,class:e.normalizeClass(t.tabNavBarClass),"text-key":"text",onTabFocus:t.onTabChange,onTabClick:t.onTabClick,clipChldren:!1,horizontal:t.horizontal},{default:e.withCtx((()=>[e.renderSlot(t.$slots,"tab-item")])),_:3},8,["class","onTabFocus","onTabClick","horizontal"]),e.createVNode(r,{nextFocusName:t.contentNextFocus,ref:"viewPager",class:e.normalizeClass(t.tabPageClass),name:"content",loadingItemType:-1,clipChldren:!1,opacity:t.rootOpacity,focusable:!1,enableTransform:t.pageTransform,slidingEnable:t.slidingEnable,slidingMode:t.slidingMode,initTranslation:t.initTranslation,rightTranslation:t.rightTranslation,leftTranslation:t.leftTranslation,duration:t.duration,interpolatorType:t.interpolatorType,triggerTask:t.triggerTask,direction:t.horizontal?"horizontal":"vertical",blockFocusDirections:t.horizontal?t.blockViewPager:t.blockViewPagerVertical},{default:e.withCtx((()=>[e.createVNode(s,{keyName:"_id",endHintEnabled:t.endHintEnabled,enablePlaceholder:t.enablePlaceholder,onOnScrollStateChanged:t.onWaterfallScrollStateChanged,onOnScroll:t.onWaterfallScroll,onOnSectionBind:t.onWaterfallSectionBind,onOnSectionAttached:t.onWaterfallSectionAttached,onOnSectionDetached:t.onWaterfallSectionDetached,onOnItemFocused:t.onWaterfallItemFocused,onOnItemClick:t.onWaterfallItemClick},{item:e.withCtx((()=>[e.renderSlot(t.$slots,"waterfall-item")])),"list-item":e.withCtx((()=>[e.renderSlot(t.$slots,"waterfall-list-item")])),section:e.withCtx((()=>[e.renderSlot(t.$slots,"waterfall-section")])),"vue-section":e.withCtx((()=>[e.renderSlot(t.$slots,"waterfall-vue-section")])),_:3},8,["endHintEnabled","enablePlaceholder","onOnScrollStateChanged","onOnScroll","onOnSectionBind","onOnSectionAttached","onOnSectionDetached","onOnItemFocused","onOnItemClick"])])),_:3},8,["nextFocusName","class","opacity","enableTransform","slidingEnable","slidingMode","initTranslation","rightTranslation","leftTranslation","duration","interpolatorType","triggerTask","direction","blockFocusDirections"])])),_:3},8,["dataStrategy","hideOnSingleTab","pageSwitchDelay","resumeTaskDelay","suspension","outOfDateTime","class","blockFocusDirections","onScrollToStart","onScrollToEnd","onLoadPage","onPageChanged","onTabEvent"])):e.createCommentVNode("v-if",!0)},Oo.__file="src/tab/index.vue";var Mo=Ot({name:"qt-vue-section",setup:(e,t)=>({onSectionBind:function(){}})});Mo.render=function(t,n,o,a,i,l){const c=e.resolveComponent("tv-item");return e.openBlock(),e.createBlock(c,{class:"qt-ui-waterfall-vue-section",clipChildren:!1,clipPadding:!1,flexStyle:"${style}",singleton:"",onItemBind:t.onSectionBind},{default:e.withCtx((()=>[e.renderSlot(t.$slots,"default")])),_:3},8,["onItemBind"])},Mo.__scopeId="data-v-d02af3c2",Mo.__file="src/section/index.vue";var Vo=Ot({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.ref(1);const a=e.ref(),i=e.ref();let l=[],c=-1,s=-1,r=[];let u=-1;let d=-1,f=-1;return{descendantFocusability:o,content_list_view:a,nav_list_view:i,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<l.length;e++){const t=l[e];n.categoryname==t.categoryname&&(n.navIndex=e,a=!0)}a||(n.navIndex||(n.navIndex=l.length),l.push({type:n.type,decoration:{left:50},categoryname:n.categoryname,startIndex:o,isNeedFocus:!0})),r=e})),Tt((()=>{a.value?.setListData(e),i.value?.setListData(l),setTimeout((()=>{c=t.currentFocusIndex,s=e[t.currentFocusIndex].navIndex,a.value?.scrollToFocused(c),i.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(u),u=setTimeout((()=>{if(e.hasFocus){if(c!=e.position){if(c>-1){let e=r[c];e.isPlaying=!1,a.value?.updateItem(c,e)}let t=r[e.position];t.isPlaying=!0,a.value?.updateItem(e.position,t)}c=e.position,s!=e.item.navIndex&&(s=e.item.navIndex,i.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,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<l.length;t++){const n=l[t];e.categoryname==n.categoryname&&(e.navIndex=t)}})),a.value?.updateItem(e,r[e])}}}});const Qo={focusable:!1,clipChildren:!1},$o=["focusScale"],zo=e.createElementVNode("img",{class:"coverV",src:"${coverV}",focusable:!1,postDelay:300},null,-1),Wo=e.createElementVNode("img",{src:"${mask}",class:"titMask",focusable:!1,postDelay:300,showIf:"${isPlaying}"},null,-1),Go={focusable:!1,class:"clv_item_text_box",showIf:"${isPlaying}"},qo={class:"playMark",focusable:!1},Yo=["type"],Ho=e.createElementVNode("div",{class:"line",focusable:!1,showOnState:"selected",duplicateParentState:!0},null,-1),jo=e.createElementVNode("div",{duplicateParentState:!0,class:"nav_item_text_focused",showOnState:"focused",focusable:!1,gradientBackground:{colors:["#FF2F7CEB","#FF1163D8"],cornerRadius:40}},null,-1),Xo={class:"nav_item_text",focusable:!1,duplicateParentState:!0};Vo.render=function(t,n,o,a,i,l){const c=e.resolveComponent("play-mark"),s=e.resolveComponent("text-view"),r=e.resolveComponent("qt-list-view");return e.openBlock(),e.createElementBlock("div",Qo,[e.createCommentVNode(" listview second nav "),e.createVNode(r,{class:e.normalizeClass(t.className),ref:"content_list_view",clipChildren:!1,clipPadding:!1,onItemClick:t.onSItemClick,horizontal:"",blockFocusDirections:["left","right"],descendantFocusability:t.descendantFocusability,onItemFocused:t.onSItemFocused},{default:e.withCtx((()=>[e.createElementVNode("div",{type:10001,name:"clv_item",class:"clv_item",focusable:!0,enableFocusBorder:!0,clipChildren:!1,eventClick:"",eventFocus:"",focusScale:t.focusScale},[zo,Wo,e.createElementVNode("div",Go,[e.createElementVNode("div",qo,[e.createVNode(c,{style:e.normalizeStyle([{width:"28px",height:"20px"},{"margin-left":"16px"}]),markColor:"#ffffff",gap:-1,focusable:!1})]),e.createVNode(s,{focusable:!1,ellipsizeMode:2,fontSize:30,gravity:"centerVertical",lines:1,maxLines:1,class:"clv_item_text",text:"${assetTitle}",paddingRect:[6,0,0,0]})])],8,$o),e.renderSlot(t.$slots,"item")])),_:3},8,["class","onItemClick","descendantFocusability","onItemFocused"]),e.createCommentVNode(" listview first nav "),e.createVNode(r,{class:e.normalizeClass(t.classNavName),ref:"nav_list_view",clipChildren:!1,clipPadding:!1,onItemClick:t.onFItemClick,horizontal:"",blockFocusDirections:["left","right"],onItemFocused:t.onFItemFocused},{default:e.withCtx((()=>[e.createElementVNode("div",{type:t.navType,name:"nav_item",class:"nav_item",focusable:!0,enableFocusBorder:!1,focusScale:"1",eventClick:"",eventFocus:"",clipChildren:!1},[Ho,jo,e.createElementVNode("div",Xo,[e.createVNode(s,{focusable:!1,ellipsizeMode:2,duplicateParentState:!0,fontSize:44,gravity:"center",lines:1,class:"text_selected",text:"${categoryname}",showOnState:["selected"]}),e.createVNode(s,{focusable:!1,ellipsizeMode:2,duplicateParentState:!0,fontSize:44,gravity:"center",lines:1,maxLines:1,class:"text",text:"${categoryname}",showOnState:"focused"}),e.createVNode(s,{focusable:!1,ellipsizeMode:2,duplicateParentState:!0,fontSize:44,gravity:"center",lines:1,class:"text",text:"${categoryname}",showOnState:["normal"]})])],8,Yo),e.renderSlot(t.$slots,"navItem")])),_:3},8,["class","onItemClick","onItemFocused"])])},Vo.__file="src/classified-list-view/index.vue";var Jo=e.defineComponent({name:"media-series-number-item",props:{isVip:{type:Boolean,default:!1}}});const Zo={class:"number-item-container",focusable:!0,focusScale:1},Ko={style:{position:"absolute","flex-direction":"row","justify-content":"center","align-items":"center",width:"160px",height:"80px","background-color":"transparent"},showOnState:"selected",duplicateParentState:!0},ea={class:"media-series-number-item-vip-root",showIf:"${vip.enable}",gradientBackground:{colors:["#FFB67827","#FFDBAF5C"],cornerRadius:4,orientation:6}};Jo.render=function(t,n,o,a,i,l){const c=e.resolveComponent("text-view"),s=e.resolveComponent("play-mark");return e.openBlock(),e.createElementBlock("div",Zo,[e.createVNode(c,{duplicateParentState:!0,showOnState:"normal",style:{position:"absolute",width:"160px",height:"80px",color:"rgba(255, 255, 255, .50)"},fontSize:36,gravity:"center",text:"${title}"}),e.createVNode(c,{duplicateParentState:!0,style:{position:"absolute",width:"160px",height:"80px",color:"rgba(0, 0, 0, 1)"},fontSize:36,gravity:"center",showOnOnlyFocused:"",text:"${title}"}),e.createElementVNode("div",Ko,[e.createVNode(s,{style:{width:"24px",height:"25px"},markColor:t.isVip?"#FFD97C":"#FF4E46"},null,8,["markColor"]),e.createVNode(c,{duplicateParentState:!0,fontSize:36,gravity:"center",style:e.normalizeStyle({color:this.isVip?"#FFD97C":"rgba(255, 255, 255, .50)}"}),text:"${title}"},null,8,["style"])]),e.createElementVNode("div",ea,[e.createVNode(c,{duplicateParentState:!0,class:"media-series-number-item-vip-text",fontSize:20,gravity:"center",text:"${vip.text}"})])])},Jo.__scopeId="data-v-4afb8987",Jo.__file="src/series/item/media-series-number-item.vue";var ta=e.defineComponent({name:"media-series-text-item",props:{isVip:{type:Boolean,default:!1}}});const na={class:"text-item-container",focusable:!0,focusScale:1},oa={class:"text-item-container",showOnState:"selected",style:{position:"absolute","align-items":"center","background-color":"transparent"},duplicateParentState:!0},aa={class:"media-series-text-item-vip-root",showIf:"${vip.enable}",gradientBackground:{colors:["#FFB67827","#FFDBAF5C"],cornerRadius:4,orientation:6}};ta.render=function(t,n,o,a,i,l){const c=e.resolveComponent("play-mark"),s=e.resolveComponent("text-view");return e.openBlock(),e.createElementBlock("div",na,[e.createElementVNode("div",oa,[e.createVNode(c,{duplicateParentState:!0,style:{width:"23px",height:"22px","margin-left":"29px","margin-right":"10px"},markColor:this.isVip?"#FFD97C":"#FF4E46"},null,8,["markColor"]),e.createVNode(s,{duplicateParentState:!0,maxLines:1,ellipsizeMode:2,style:e.normalizeStyle([{color:this.isVip?"#FFD97C":"rgba(255, 255, 255, .50)}"},{"focus-color":"rgba(0, 0, 0, 1)"}]),fontSize:30,class:"text-item-text",gravity:"centerVertical",text:"${title}"},null,8,["style"])]),e.createVNode(s,{duplicateParentState:!0,maxLines:1,ellipsizeMode:2,showOnOnlyFocused:"",fontSize:30,class:"text-item-text",gravity:"centerVertical",style:{position:"absolute",width:"420px","margin-left":"35px",color:"rgba(0, 0, 0, 1)"},text:"${title}"}),e.createVNode(s,{duplicateParentState:!0,maxLines:1,ellipsizeMode:2,showOnState:"normal",fontSize:30,class:"text-item-text",gravity:"centerVertical",style:{position:"absolute",width:"420px","margin-left":"35px",color:"rgba(255, 255, 255, .50)"},text:"${title}"}),e.createElementVNode("div",aa,[e.createVNode(s,{duplicateParentState:!0,class:"media-series-text-item-vip-text",fontSize:20,gravity:"center",text:"${vip.text}"})])])},ta.__scopeId="data-v-4859f623",ta.__file="src/series/item/media-series-text-item.vue";var ia,la,ca=e.defineComponent({name:"media-series",props:{customItem:{type:Boolean,default:!1},initParam:{type:Object,default:()=>({})},height:{type:Number,default:230},scrollParam:{type:Object,default:()=>({})},groupParam:{type:Object,default:()=>({})},commonParam:{type:Object,default:()=>({})}},emits:["load-data","item-click","item-focused","group-item-focused"],setup(t,n){const o=e.ref();let a=e.ref(!1);e.onMounted((()=>{a.value=!t.customItem}));return{selectSeries:o,showOld:a,onLoadData:e=>{n.emit("load-data",e)},setPageData:(e,t)=>{o.value?.setPageData(e,t)},setInitData:(e,t)=>{o.value?o.value?.setInitData(e,t):Tt((()=>{o.value&&o.value?.setInitData(e,t)}))},onItemClick:e=>{n.emit("item-click",e)},onItemFocused:e=>{n.emit("item-focused",e)},onGroupItemFocused:e=>{n.emit("group-item-focused",e)},scrollTo:e=>{o.value?.scrollTo(e)},scrollToWithOffset:(e,t,n)=>{o.value?.scrollToWithOffset(e,t,n)},requestFocus:e=>{o.value?.requestFocus(e)},setSelected:e=>{o.value?.setSelected(e)},setup:()=>{o.value?.setup()},setGroupSelected:e=>{o.value?.setGroupSelected(e)},release:()=>{o.value?.release()}}}});function sa(e,t,n,o){const a=function(e,t,n,o){switch(e){case exports.QTMediaSeriesType.QT_MEDIA_SERIES_TYPE_LEFT_RIGHT:break;case exports.QTMediaSeriesType.QT_MEDIA_SERIES_TYPE_NUMBER:return 80;case exports.QTMediaSeriesType.QT_MEDIA_SERIES_TYPE_TEXT:return 100;case exports.QTMediaSeriesType.QT_MEDIA_SERIES_TYPE_TOP_DOWN:}return-1}(e);switch(e){case exports.QTMediaSeriesType.QT_MEDIA_SERIES_TYPE_TOP_DOWN:case exports.QTMediaSeriesType.QT_MEDIA_SERIES_TYPE_TEXT:return{contentWidth:1740,itemGap:36,initPosition:o.initPosition,contentHeight:a};case exports.QTMediaSeriesType.QT_MEDIA_SERIES_TYPE_NUMBER:return{contentWidth:1740,itemGap:15.6,initPosition:o.initPosition,contentHeight:a};case exports.QTMediaSeriesType.QT_MEDIA_SERIES_TYPE_LEFT_RIGHT:return{}}}ca.render=function(t,n,o,a,i,l){const c=e.resolveComponent("select-series"),s=e.resolveComponent("large-list");return t.customItem?(e.openBlock(),e.createBlock(c,{key:0,ref:"selectSeries",clipChildren:!1,scrollParam:t.scrollParam,groupParam:t.groupParam,commonParam:t.commonParam,display:!0,onLoadData:t.onLoadData,onItemClick:t.onItemClick,onItemFocused:t.onItemFocused,onGroupItemFocused:t.onGroupItemFocused,style:e.normalizeStyle({width:1920,height:t.height})},{default:e.withCtx((()=>[e.renderSlot(t.$slots,"default")])),_:3},8,["scrollParam","groupParam","commonParam","onLoadData","onItemClick","onItemFocused","onGroupItemFocused","style"])):t.showOld?(e.openBlock(),e.createBlock(s,{key:1,ref:"selectSeries",clipChildren:!1,display:!0,initParam:t.initParam,onLoadData:t.onLoadData,onItemClick:t.onItemClick,onItemFocused:t.onItemFocused,onGroupItemFocused:t.onGroupItemFocused,style:e.normalizeStyle({width:1920,height:t.height})},null,8,["initParam","onLoadData","onItemClick","onItemFocused","onGroupItemFocused","style"])):e.createCommentVNode("v-if",!0)},ca.__file="src/series/component/media-series.vue",exports.QTMediaSeriesType=void 0,(ia=exports.QTMediaSeriesType||(exports.QTMediaSeriesType={})).QT_MEDIA_SERIES_TYPE_LEFT_RIGHT="leftRight",ia.QT_MEDIA_SERIES_TYPE_TOP_DOWN="topDown",ia.QT_MEDIA_SERIES_TYPE_TEXT="text",ia.QT_MEDIA_SERIES_TYPE_NUMBER="number",exports.QTMediaSeriesStyleType=void 0,(la=exports.QTMediaSeriesStyleType||(exports.QTMediaSeriesStyleType={}))[la.QT_MEDIA_SERIES_STYLE_TYPE_DEFAULT=0]="QT_MEDIA_SERIES_STYLE_TYPE_DEFAULT",la[la.QT_MEDIA_SERIES_STYLE_TYPE_VIP=1]="QT_MEDIA_SERIES_STYLE_TYPE_VIP";var ra,ua,da,fa,va=e.defineComponent({name:"qt-media-series",components:{"media-series-number-item":Jo,"media-series-text-item":ta,"media-series":ca},emits:["load-data","item-click","item-focused","group-item-focused"],setup(o,a){const i=e.ref(),l=e.ref(!1),c=n.useESLog(),s=e.ref(),r=e.ref(),u=e.ref(),d=e.ref(),f=e.ref(0),v=e.ref(!1),p=e.ref(exports.QTMediaSeriesType.QT_MEDIA_SERIES_TYPE_NUMBER);let m;return{isVip:v,seriesType:p,params:s,commonParams:r,scrollParams:u,groupParams:d,mediaSeriesRef:i,show:l,height:f,onLoadData:e=>{a.emit("load-data",e)},setInitData:(e,t,o,a)=>{p.value=e,m=a,s.value=function(e,t,n,o){const a=n==exports.QTMediaSeriesStyleType.QT_MEDIA_SERIES_STYLE_TYPE_VIP;let i={initPosition:o.initPosition,contentWidth:1740,contentHeight:160,itemGap:36,enableGroup:t.enable,groupSize:t.size,groupHeight:46,groupTopMargin:24,group:null,template:null};return i.template={titleSize:28,floatTitleSize:20,isFree:!a,type:"leftRight",width:560,height:160,focusScale:1.1},i.template.extra={imgWidth:268,imgHeight:160,textColor:{normal:"#80FFFFFF",focused:a?"#FFD97C":"#ffffffff",selected:a?"#FFD97C":"#ffffffff"},cornerBgColor:{orientation:"LEFT_RIGHT",cornerRadius:[4,4,4,4],color:["#B67827","#DBAF5C"]}},i.group={itemWidth:85,itemHeight:46,itemGap:50,textSize:30,textColor:{normal:"#80FFFFFF",focused:a?"#603314":"#000000",selected:a?"#FFD97C":"#F5F5F5"},focusBackground:{orientation:"LEFT_RIGHT",cornerRadius:[40,40,40,40],color:[a?"#FFE398":"#F5F5F5",a?"#EEB364":"#F5F5F5"],padding:[34,6]},mark:{color:a?"#FFD97C":"#FFFFFF"}},i}(0,t,o,a),r.value=sa(e,0,0,a),u.value=function(e,t,n,o){if(e===exports.QTMediaSeriesType.QT_MEDIA_SERIES_TYPE_NUMBER)return{scrollType:1,pageDisplayCount:10,paddingForPageLeft:0,paddingForPageRight:0}}(e),d.value=function(e,t,n,o){const a={};if(t.enable){switch(e){case exports.QTMediaSeriesType.QT_MEDIA_SERIES_TYPE_TOP_DOWN:a.groupSize=t.size;case exports.QTMediaSeriesType.QT_MEDIA_SERIES_TYPE_TEXT:a.groupSize=t.size;case exports.QTMediaSeriesType.QT_MEDIA_SERIES_TYPE_NUMBER:a.groupSize=t.size}n==exports.QTMediaSeriesStyleType.QT_MEDIA_SERIES_STYLE_TYPE_VIP&&(a.textColor={normal:"#80FFFFFF",focused:"#603314",selected:"#FFD97C"},a.focusBackground={orientation:"LEFT_RIGHT",cornerRadius:[40,40,40,40],color:["#FFE398","#EEB364"],padding:[34,6]},a.mark={color:"#FFD97C"})}return a}(e,t,o),exports.QTMediaSeriesType.QT_MEDIA_SERIES_TYPE_LEFT_RIGHT!==e?(f.value=function(e,t,n,o){switch(e){case exports.QTMediaSeriesType.QT_MEDIA_SERIES_TYPE_LEFT_RIGHT:break;case exports.QTMediaSeriesType.QT_MEDIA_SERIES_TYPE_NUMBER:return 80+(t.enable?70:0);case exports.QTMediaSeriesType.QT_MEDIA_SERIES_TYPE_TEXT:return 100+(t.enable?70:0);case exports.QTMediaSeriesType.QT_MEDIA_SERIES_TYPE_TOP_DOWN:}return-1}(e,t),Tt((()=>{i.value&&i.value?.setInitData(a.totalCount,a.pageSize)})),c.isLoggable(n.ESLogLevel.DEBUG)&&c.d("MediaSeries","----setInitData----\x3e>>>",f.value)):(f.value=function(e,t,n,o,a){return t.enable?a.value.template.height+a.value.groupHeight+a.value.groupTopMargin:a.value.template.height}(0,t,0,0,s),s.value.totalCount=a.totalCount,s.value.pageSize=a.pageSize),l.value=!0},setPageData:(e,t)=>{let n=t;p.value==exports.QTMediaSeriesType.QT_MEDIA_SERIES_TYPE_NUMBER&&(n=function(e,t,n){const o=[];return n.length>0&&n.forEach(((n,a)=>{let i=e*t+a+1,l=i>9?""+i:"0"+i;o.push({id:n.id,title:l,vip:n.vip})})),o}(e,m.pageSize,t)),i.value?.setPageData(e,n)},onItemClick:e=>{a.emit("item-click",e)},onItemFocused:e=>{a.emit("item-focused",e)},onGroupItemFocused:e=>{a.emit("group-item-focused",e)},scrollTo:e=>{i.value?.scrollTo(e)},scrollToWithOffset:(e,t)=>{i.value?.scrollToWithOffset(e,t,!1)},requestFocus:e=>{i.value?.requestFocus(e)},setSelected:e=>{i.value?.setSelected(e)},setup:()=>{i.value?.setup()},setGroupSelected:e=>{i.value?.setGroupSelected(e)},release:()=>{i.value?.release(),l.value=!1},blockRootFocus:()=>{i.value&&t.Native.callUIFunction(i.value,"blockRootFocus",[])},unBlockRootFocus:()=>{i.value&&t.Native.callUIFunction(i.value,"unBlockRootFocus",[])}}}});va.render=function(t,n,o,a,i,l){const c=e.resolveComponent("media-series-number-item"),s=e.resolveComponent("media-series-text-item"),r=e.resolveComponent("media-series");return t.show?(e.openBlock(),e.createBlock(r,{key:0,ref:"mediaSeriesRef",clipChildren:!1,"init-param":t.params,height:t.height,"custom-item":"leftRight"!==t.seriesType,"scroll-param":t.scrollParams,"group-param":t.groupParams,"common-param":t.commonParams,onLoadData:t.onLoadData,onItemClick:t.onItemClick,onItemFocused:t.onItemFocused,onGroupItemFocused:t.onGroupItemFocused},{default:e.withCtx((()=>["number"===t.seriesType?(e.openBlock(),e.createBlock(c,{key:0,"is-vip":t.isVip},null,8,["is-vip"])):"text"===t.seriesType?(e.openBlock(),e.createBlock(s,{key:1,"is-vip":t.isVip},null,8,["is-vip"])):"custom"===t.seriesType?e.renderSlot(t.$slots,"default",{key:2}):e.createCommentVNode("v-if",!0)])),_:3},8,["init-param","height","custom-item","scroll-param","group-param","common-param","onLoadData","onItemClick","onItemFocused","onGroupItemFocused"])):e.createCommentVNode("v-if",!0)},va.__file="src/series/index.vue",exports.QTAnimationInterpolatorType=void 0,(ra=exports.QTAnimationInterpolatorType||(exports.QTAnimationInterpolatorType={}))[ra.QT_ACCELERATE_DECELERATE_INTERPOLATOR=1]="QT_ACCELERATE_DECELERATE_INTERPOLATOR",ra[ra.QT_ACCELERATE_INTERPOLATOR=2]="QT_ACCELERATE_INTERPOLATOR",ra[ra.QT_ANTICIPATE_INTERPOLATOR=3]="QT_ANTICIPATE_INTERPOLATOR",ra[ra.QT_ANTICIPATE_OVERSHOOT_INTERPOLATOR=4]="QT_ANTICIPATE_OVERSHOOT_INTERPOLATOR",ra[ra.QT_BOUNCE_INTERPOLATOR=5]="QT_BOUNCE_INTERPOLATOR",ra[ra.QT_CYCLE_INTERPOLATOR=6]="QT_CYCLE_INTERPOLATOR",ra[ra.QT_DECELERATE_INTERPOLATOR=7]="QT_DECELERATE_INTERPOLATOR",ra[ra.QT_LINEAR_INTERPOLATOR=8]="QT_LINEAR_INTERPOLATOR",ra[ra.QT_OVERSHOOT_INTERPOLATOR=9]="QT_OVERSHOOT_INTERPOLATOR",ra[ra.QT_FAST_OUT_LINEAR_IN_INTERPOLATOR=10]="QT_FAST_OUT_LINEAR_IN_INTERPOLATOR",ra[ra.QT_FAST_OUT_SLOW_IN_INTERPOLATOR=11]="QT_FAST_OUT_SLOW_IN_INTERPOLATOR",ra[ra.QT_PATH_INTERPOLATOR=12]="QT_PATH_INTERPOLATOR",exports.QTAnimationPropertyName=void 0,(ua=exports.QTAnimationPropertyName||(exports.QTAnimationPropertyName={})).QT_ANIMATION_PROPERTY_NAME_ALPHA="alpha",ua.QT_ANIMATION_PROPERTY_NAME_ROTATION="rotation",ua.QT_ANIMATION_PROPERTY_NAME_ROTATION_X="rotationX",ua.QT_ANIMATION_PROPERTY_NAME_ROTATION_Y="rotationY",ua.QT_ANIMATION_PROPERTY_NAME_ROTATION_Z="rotationZ",ua.QT_ANIMATION_PROPERTY_NAME_SCALE_X="scaleX",ua.QT_ANIMATION_PROPERTY_NAME_SCALE_Y="scaleY",ua.QT_ANIMATION_PROPERTY_NAME_SCALE_Z="scaleZ",ua.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_X="translationX",ua.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Y="translationY",ua.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Z="translationZ",exports.QTAnimationRepeatMode=void 0,(da=exports.QTAnimationRepeatMode||(exports.QTAnimationRepeatMode={}))[da.QT_ANIMATION_REPEAT_MODE_RESTART=1]="QT_ANIMATION_REPEAT_MODE_RESTART",da[da.QT_ANIMATION_REPEAT_MODE_REVERSE=2]="QT_ANIMATION_REPEAT_MODE_REVERSE",da[da.QT_ANIMATION_REPEAT_MODE_INFINITE=-1]="QT_ANIMATION_REPEAT_MODE_INFINITE",exports.QTAnimationValueType=void 0,(fa=exports.QTAnimationValueType||(exports.QTAnimationValueType={})).QT_ANIMATION_VALUE_TYPE_INT="ofInt",fa.QT_ANIMATION_VALUE_TYPE_FLOAT="ofFloat";const pa="QTCollapse";var ma,ga,Ia,Ta,ha=Ot({name:"qt-collapse",emits:["onCollapseItemExpand"],setup(t,o){const a=n.useESLog();let i,l,c=o.slots.default&&o.slots.default();const s=e.ref(0),r=e.ref(0);let u=200;const d={};const f={};function v(e){return f[`${e}`]}function p(e,t){const l=i[e],c=l.__y,s=r.value-l.height-c;a.isLoggable(n.ESLogLevel.DEBUG)&&a.d(pa,"-------expandItem-------\x3e>>>",e,s,c);let u=0;for(let o=i.length-1;o>=0;o--){const l=i[o];l.height;const c=l.collapseHeight;o<e&&(u+=c);try{const t=g(o);t&&t.onCollapseItemExpand(o==e)}catch(e){}const r=v(o);r&&(a.isLoggable(n.ESLogLevel.DEBUG)&&a.d(pa,"-------expandItem----translationY---\x3e>>>",l,o,l.__translationY,s+u),m(o+"",l,r,l.__translationY,s+u,t))}try{o.emit("onCollapseItemExpand",e,l)}catch(e){}}function m(e,t,n,o,a,i){n.objectAnimator2(e,exports.QTAnimationValueType.QT_ANIMATION_VALUE_TYPE_FLOAT,exports.QTAnimationPropertyName.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Y,o,a,i,-1,0,!1,!1),n.startAnimator(e),t.__translationY=a}function g(e){return d[`${e}`]}return{collapseItemComponentList:c,initComponentRef:function(e,t,n){e&&(d[`${n}`]=e)},initAnimComponentRef:function(e,t,n){e&&(f[`${n}`]=e)},init:function(t){l=t.defaultIndex??0,i=t.itemList,s.value=t.width,r.value=t.height,u=t.expandDuration??200,l<0&&(l=0),l>=i.length&&(l=i.length-1),function(){if(!i||i.length<=0)return;const e=i.length;let t=0;for(let n=e-1;n>=0;n--){const e=i[n];t+=e.height,e.__y=r.value-t,e.__translationY=0}a.isLoggable(n.ESLogLevel.DEBUG)&&a.d(pa,"----initCollapseItem----\x3e>>>",i)}(),e.nextTick((()=>{p(l,0)}))},getItem:g,expandItem:function(e){p(e,u)},collapse:function(){const e=i.length,t=i[e-1],n=t.__y,o=r.value-t.height-n;let a=0;for(let t=e-1;t>=0;t--){const e=i[t];a+=e.collapseHeight;try{const e=g(t);e&&e.onCollapseItemExpand(!1)}catch(e){}const n=v(t);n&&m(t+"",e,n,e.__translationY,o+a,0)}},expand:function(){for(let e=i.length-1;e>=0;e--){const t=i[e];try{const t=g(e);t&&t.onCollapseItemExpand(!0)}catch(e){}const n=v(e);n&&m(e+"",t,n,t.__translationY,0,0)}},collapseWidth:s,collapseHeight:r}}});ha.render=function(t,n,o,a,i,l){const c=e.resolveComponent("qt-animation");return e.openBlock(),e.createElementBlock("div",{class:"qt-collapse-root-css",clipChildren:!1,clipPadding:!1,style:e.normalizeStyle({width:t.collapseWidth,height:t.collapseHeight})},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.collapseItemComponentList,((n,o)=>(e.openBlock(),e.createBlock(c,{ref_for:!0,ref:e=>t.initAnimComponentRef(e,n,o),class:"qt-collapse-item-css"},{default:e.withCtx((()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(n),{key:n.name,class:"qt-collapse-item-css",ref_for:!0,ref:e=>t.initComponentRef(e,n,o)}))])),_:2},1536)))),256))],4)},ha.__scopeId="data-v-4feca809",ha.__file="src/collapse/index.vue",exports.QTDirections=void 0,(ma=exports.QTDirections||(exports.QTDirections={})).QT_DIRECTION_UP="up",ma.QT_DIRECTION_DOWN="down",ma.QT_DIRECTION_RIGHT="right",ma.QT_DIRECTION_LEFT="left",exports.QTScrollState=void 0,(ga=exports.QTScrollState||(exports.QTScrollState={}))[ga.SCROLL_STATE_IDLE=0]="SCROLL_STATE_IDLE",ga[ga.SCROLL_STATE_DRAGGING=1]="SCROLL_STATE_DRAGGING",ga[ga.SCROLL_STATE_SETTLING=2]="SCROLL_STATE_SETTLING",exports.QTNavBarItemType=void 0,(Ia=exports.QTNavBarItemType||(exports.QTNavBarItemType={}))[Ia.QT_NAV_BAR_ITEM_TYPE_TEXT=2e4]="QT_NAV_BAR_ITEM_TYPE_TEXT",exports.QTTabItemType=void 0,(Ta=exports.QTTabItemType||(exports.QTTabItemType={}))[Ta.QT_TAB_ITEM_TYPE_DEFAULT=2e4]="QT_TAB_ITEM_TYPE_DEFAULT";const Sa=[bn,En,xn,Ln,Un,Rn,zn,jn,no,Do,Oo,Vo,Mo,va,ha];exports.QuickTVUI=o=>{o.component("qt-loading-view",{setup(t,n){const o=e.ref();return()=>e.h("LoadingViewComponent",{ref:o})}}),function(o){const a=e.defineComponent({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(o,a){const i=e.ref();n.useES();let l=[],c=[],s=[],r="",u=-1,d=!1,f=-1,v=-1,p=-1,m=-1;e.watchEffect((()=>{o.openPage&&(u=1,d=!1,o.loadMore(u))}));const g=e=>{0==l.length&&(l=$n(e),I(l,-1),c=e,o.openPage?S(l.concat([{_id:"",type:1002,decoration:{top:18,bottom:18,right:30,left:30}}])):S(l),o.defaultFocus>-1&&(p&&clearTimeout(p),p=setTimeout((()=>{L(o.defaultFocus)}),500)));let t={get(e,n,a){if("__ob__"!=n&&"symbol"!=typeof n&&"map"!=n&&"length"!=n&&"constructor"!=n&&"_isVue"!=n&&"valueOf"!=n&&"toString"!=n&&"observeArray"!=n&&"dep"!=n&&"notify"!=n&&"subs"!=n&&"slice"!=n)if(s.push(n),-1!=s.indexOf("push"))r="push";else{if(-1!=s.indexOf("splice"))return r="splice",function(...t){return e.splice(...t),-1!=s.indexOf("list")?(l[s[0]].list.splice(...t),b(Number(s[0]),l[s[0]])):1==t.length?N(Number(t[0]),l.length-t[0]+1):2==t.length?N(Number(t[0]),t[1]):t.length>2&&(0==t[1]?E(t[0],t.slice(2)):y(t[0],t[1],t.slice(2))),l.splice(t[0],...t.slice(1)),r="",s=[],Reflect.get(e,n,a)};if(-1!=s.indexOf("pop"))return r="pop",function(){return e.pop(),-1!=s.lastIndexOf("list")?(l[s[0]].list.pop(),b(Number(s[0]),l[s[0]])):(N(Number(l.length-1),1),l.pop()),r="",s=[],Reflect.get(e,n,a)};if(-1!=s.indexOf("forEach"))return r="forEach",function(t){return e.forEach((e=>{t(e)})),l=[],l=$n(e),o.openPage?S(l.concat([{_id:"",type:1002,decoration:{top:15,left:30}}])):S(l),r="",s=[],Reflect.get(e,n,a)};if(-1!=s.indexOf("concat"))return r="concat",function(i){return e=e.concat(i),-1!=s.lastIndexOf("list")?(l[s[0]].list=l[s[0]].list.concat(i),b(Number(s[0]),l[s[0]])):(l=l.concat(i),o.openPage&&!d?setTimeout((()=>{_(i.concat([{type:"1002",decoration:{bottom:18,right:30,left:30}}]),1)}),300):F(i)),r="",s=[],Reflect.get(e,n,a),new Proxy(e,t)};r=""}const i=Reflect.get(e,n,a);return T(i)&&"__ob__"!=n&&"dep"!=n&&"subs"!=n?g(i):(-1==s.indexOf("push")&&(s=[]),i)},set(e,t,n,a){const i=e[t];h(e,t);const u=Reflect.set(e,t,n,a);if((!T(i)&&i!==n||T(i))&&"push"!=r)if(s.push(t),-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]:c[t]}n.name="name"+s[e-1]+s[e+1],b(Number(s[0]),c[s[0]]),l[s[0]].list[s[e+1]]=c[s[0]].list[s[e+1]],l[s[0]].list[s[e+1]].name="name"+s[e-1]+s[e+1]}else l[s[0]]=c[s[0]],l[s[0]].name="name"+s[0],b(Number(s[0]),c[s[0]]);if(t&&"push"==r&&i!==n)-1!=s.lastIndexOf("list")?(s.push(t),l[s[0]].list.push(n)):(s.push(t),l.push(n));else{if("push"==r)if(-1!=s.lastIndexOf("list"))b(Number(s[0]),l[s[0]]);else{let e=l.slice(s[1]);m&&clearTimeout(m),m=o.openPage&&!d?setTimeout((()=>{_(e.concat([{_id:"",type:1002,decoration:{bottom:18,right:30,left:30}}]),1)}),300):setTimeout((()=>{F(e)}),300)}r="",s=[]}return u}};return new Proxy(e,t)},I=(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&&I(o.list,n)}},T=e=>null!==e&&"object"==typeof e,h=(e,t)=>{Object.hasOwnProperty.call(e,t)},S=e=>{f&&clearTimeout(f),f=setTimeout((()=>{t.Native.callUIFunction(i.value,"setListData",e)}),100)},F=e=>{t.Native.callUIFunction(i.value,"addListData",e)},_=(e,n)=>{t.Native.callUIFunction(i.value,"addListDataWithParams",[e,n])},N=(e,n)=>{t.Native.callUIFunction(i.value,"deleteItemRange",[e,n])},b=(e,n)=>{t.Native.callUIFunction(i.value,"updateItem",[e,n])},y=(e,n,o)=>{t.Native.callUIFunction(i.value,"updateItemRange",[e,n,o])},E=(e,n)=>{t.Native.callUIFunction(i.value,"insertItemRange",[e,n])},x=(e,n)=>{t.Native.callUIFunction(i.value,"setSelectChildPosition",[e,n])},P=e=>{t.Native.callUIFunction(i.value,"scrollToPosition",[e])},L=e=>{t.Native.callUIFunction(i.value,"requestChildFocus",[e])};return e.onBeforeUnmount((()=>{l=[],c.length=0,s=[],d=!1,u=1,r="",f&&clearTimeout(f),p&&clearTimeout(p),m&&clearTimeout(m),v&&clearTimeout(v)})),a.expose({viewRef:i,init:g,undataItemName:I,hasChanged:(e,t)=>e!==t&&(e==e||t==t),scrollToIndex:(e,n,o)=>{t.Native.callUIFunction(i.value,"scrollToPositionWithOffset",[e,o,n])},updateItem:b,updateItemList:y,hasFocus:e=>{t.Native.callUIFunction(i.value,"hasFocus",(t=>{e(t)}))},updateItemProps:(e,n,o)=>{t.Native.callUIFunction(i.value,"updateItemProps",[n,e,o,!0])},setListData:S,insertItem:E,addListData:F,addListDataWithParams:_,dispatchItemFunction:(e,n,o,a)=>{t.Native.callUIFunction(i.value,"dispatchItemFunction",[e,n,o,a])},deleteItem:N,setBlockFocusDirectionsOnFail:e=>{t.Native.callUIFunction(i.value,"setBlockFocusDirectionsOnFail",[e])},setListDataWithParams:(e,n)=>{t.Native.callUIFunction(i.value,"setListDataWithParams",[e,n])},prepareForRecycle:()=>{t.Native.callUIFunction(i.value,"prepareForRecycle",[])},setDisplay:e=>{t.Native.callUIFunction(i.value,"setDisplay",[e])},scrollToTop:()=>{t.Native.callUIFunction(i.value,"scrollToTop",[])},changeDisplayState:(e,n)=>{t.Native.callUIFunction(i.value,"changeDisplayState",[e,n])},notifySaveInstance:()=>{t.Native.callUIFunction(i.value,"notifySaveInstance",[])},notifyRestoreInstance:()=>{t.Native.callUIFunction(i.value,"notifyRestoreInstance",[])},pausePostTask:()=>{t.Native.callUIFunction(i.value,"pausePostTask",[])},resumePostTask:()=>{t.Native.callUIFunction(i.value,"resumePostTask",[])},getScrollOffset:e=>{t.Native.callUIFunction(i.value,"getScrollOffset",[],e)},scrollToPosition:P,scrollToFocused:e=>{P(e),L(e)},scrollToSelected:(e,t)=>{P(e),x(e,t)},scrollToPositionOffset:(e,n,o,a,l)=>{t.Native.callUIFunction(i.value,"scrollToPositionWithOffset",[n,a,o])},destroy:()=>{t.Native.callUIFunction(i.value,"destroy",[])},startScroll:(e,n,o)=>{t.Native.callUIFunction(i.value,"startScroll",[{focusPosition:e,scrollToPosition:n,scrollOffset:o}])},setItemFocused:L,clearPostTask:()=>{t.Native.callUIFunction(i.value,"clearAllPostTask",[])},clearFocus:()=>{t.Native.callUIFunction(i.value,"clearFocus",[])},setItemSelected:x,blockRootFocus:()=>{t.Native.callUIFunction(i.value,"blockRootFocus",[])},unBlockRootFocus:()=>{t.Native.callUIFunction(i.value,"unBlockRootFocus",[])},setBackgroundColor:e=>{t.Native.callUIFunction(i.value,"setBackgroundColor",[e])},stopPage:()=>{v&&clearTimeout(v),v=setTimeout((()=>{N(l.length,1)}),400),d=!0},setAutoFocus:function(e,n){t.Native.callUIFunction(i.value,"setAutoFocus",[e,n])}}),()=>{const t=a.slots.default&&a.slots.default();return e.h("FastListView",{ref:i,onItemClick:e=>{a.emit("item-click",e)},onScroll:e=>{a.emit("scroll",e)},onItemFocused:e=>{a.emit("item-focused",e)},onAttachedToWindow:e=>{a.emit("item-attached",e)},onDetachedFromWindow:e=>{a.emit("item-detached",e)},onBindItem:e=>{e.position==l.length-1-o.preloadNo&&(u++,o.loadMore(u)),a.emit("item-bind",e)},onUnbindItem:e=>{a.emit("item-unbind",e)},onLoadMore:e=>{a.emit("load-more",e)},onScrollStateChanged:e=>{a.emit("scroll-state-changed",e)},onFocusSearchFailed:e=>{a.emit("focus-search-failed",e)},onScrollYGreaterReference:e=>{a.emit("scrollYGreaterReference",e)},onScrollYLesserReference:e=>{a.emit("scrollYLesserReference",e)}},t)}}});o.component("qt-list-view",a)}(o),function(n){const o=e.defineComponent({emits:["item-focused","item-attached","item-detached","item-bind","item-unbind"],setup(n,o){const a=e.ref();return o.expose({viewRef:a,updateItem:(e,n)=>{t.Native.callUIFunction(a.value,"updateItem",[e,n])},dispatchItemFunction:(e,n,o,i)=>{t.Native.callUIFunction(a.value,"dispatchItemFunction",[e,n,o,i])},updateItemProps:(e,n,o)=>{t.Native.callUIFunction(a.value,"updateItemProps",[n,e,o,!0])},batch:e=>{t.Native.callUIFunction(a.value,"batch",[e])}}),()=>{const t=o.slots.default&&o.slots.default();return e.h("FastListView",{ref:a,onBindItem:e=>{o.emit("item-bind",e)},onItemFocused:e=>{o.emit("item-focused",e)},onAttachedToWindow:e=>{o.emit("item-attached",e)},onDetachedFromWindow:e=>{o.emit("item-detached",e)},onItemRecycled:e=>{o.emit("item-unbind",e)}},t)}}});n.component("qt-list-item",o)}(o),function(n){const o=e.defineComponent({name:"WebView",emits:["onCanGoBack","onCanGoForward","onCanGoBackOrForward","onPageStarted","onPageFinished","onLoadResource","onReceivedSslError","onReceivedError","shouldOverrideUrlLoading","onJs2Vue"],setup(n,o){const a=e.ref();e.onMounted((()=>{i(!0),c(!0),d(!0),r(!0),u(!0),s(!0),m(!0),v(!0),f(!0),p(!0),l(1),g(2)}));const i=e=>{t.Native.callUIFunction(a.value,"setJavaScriptEnabled",[e],(e=>{}))},l=e=>{t.Native.callUIFunction(a.value,"setPluginState",[e],(e=>{}))},c=e=>{t.Native.callUIFunction(a.value,"setJavaScriptCanOpenWindowsAutomatically",[e],(e=>{}))},s=e=>{t.Native.callUIFunction(a.value,"setUseWideViewPort",[e],(e=>{}))},r=e=>{t.Native.callUIFunction(a.value,"setSupportZoom",[e],(e=>{}))},u=e=>{t.Native.callUIFunction(a.value,"setBuiltInZoomControls",[e],(e=>{}))},d=e=>{t.Native.callUIFunction(a.value,"setAllowFileAccess",[e],(e=>{}))},f=e=>{t.Native.callUIFunction(a.value,"setDomStorageEnabled",[e],(e=>{}))},v=e=>{t.Native.callUIFunction(a.value,"setAppCacheEnabled",[e],(e=>{}))},p=e=>{t.Native.callUIFunction(a.value,"setGeolocationEnabled",[e],(e=>{}))},m=e=>{t.Native.callUIFunction(a.value,"setSupportMultipleWindows",[e],(e=>{}))},g=e=>{t.Native.callUIFunction(a.value,"setCacheMode",[e],(e=>{}))};return o.expose({loadUrl:e=>{t.Native.callUIFunction(a.value,"loadUrl",[e],(e=>{}))},evaluateJavascript:e=>{t.Native.callUIFunction(a.value,"evaluateJavascript",[e],(e=>{}))},canGoBack:()=>{t.Native.callUIFunction(a.value,"canGoBack",[],(e=>{o.emit("onCanGoBack",e)}))},goBack:()=>{t.Native.callUIFunction(a.value,"goBack",[],(e=>{}))},canGoForward:()=>{t.Native.callUIFunction(a.value,"canGoForward",[],(e=>{o.emit("onCanGoForward",e)}))},goForward:()=>{t.Native.callUIFunction(a.value,"goForward",[],(e=>{}))},canGoBackOrForward:e=>{t.Native.callUIFunction(a.value,"canGoBackOrForward",[e],(e=>{o.emit("onCanGoBackOrForward",e)}))},goBackOrForward:e=>{t.Native.callUIFunction(a.value,"goBackOrForward",[e],(e=>{}))},onResume:()=>{t.Native.callUIFunction(a.value,"onResume",[],(e=>{}))},onPause:()=>{t.Native.callUIFunction(a.value,"onPause",[],(e=>{}))},pauseTimers:()=>{t.Native.callUIFunction(a.value,"pauseTimers",[],(e=>{}))},resumeTimers:()=>{t.Native.callUIFunction(a.value,"resumeTimers",[],(e=>{}))},destroy:()=>{t.Native.callUIFunction(a.value,"destroy",[],(e=>{}))},setJavaScriptEnabled:i,setPluginState:l,setJavaScriptCanOpenWindowsAutomatically:c,setUseWideViewPort:s,setLoadWithOverviewMode:e=>{t.Native.callUIFunction(a.value,"setLoadWithOverviewMode",[e],(e=>{}))},setSupportZoom:r,setBuiltInZoomControls:u,setDisplayZoomControls:e=>{t.Native.callUIFunction(a.value,"setDisplayZoomControls",[e],(e=>{}))},setAllowFileAccess:d,setDomStorageEnabled:f,setDatabaseEnabled:e=>{t.Native.callUIFunction(a.value,"setDatabaseEnabled",[e],(e=>{}))},setAppCacheEnabled:v,setAppCachePath:e=>{t.Native.callUIFunction(a.value,"setAppCachePath",[e],(e=>{}))},setMediaPlaybackRequiresUserGesture:e=>{t.Native.callUIFunction(a.value,"setMediaPlaybackRequiresUserGesture",[e],(e=>{}))},setStandardFontFamily:e=>{t.Native.callUIFunction(a.value,"setStandardFontFamily",[e],(e=>{}))},setFixedFontFamily:e=>{t.Native.callUIFunction(a.value,"setFixedFontFamily",[e],(e=>{}))},setSansSerifFontFamily:e=>{t.Native.callUIFunction(a.value,"setSansSerifFontFamily",[e],(e=>{}))},setSerifFontFamily:e=>{t.Native.callUIFunction(a.value,"setSerifFontFamily",[e],(e=>{}))},setCursiveFontFamily:e=>{t.Native.callUIFunction(a.value,"setCursiveFontFamily",[e],(e=>{}))},setFantasyFontFamily:e=>{t.Native.callUIFunction(a.value,"setFantasyFontFamily",[e],(e=>{}))},setTextZoom:e=>{t.Native.callUIFunction(a.value,"setTextZoom",[e],(e=>{}))},setMinimumFontSize:e=>{t.Native.callUIFunction(a.value,"setMinimumFontSize",[e],(e=>{}))},setDefaultFontSize:e=>{t.Native.callUIFunction(a.value,"setDefaultFontSize",[e],(e=>{}))},setLayoutAlgorithm:e=>{t.Native.callUIFunction(a.value,"setLayoutAlgorithm",[e],(e=>{}))},setLoadsImagesAutomatically:e=>{t.Native.callUIFunction(a.value,"setLoadsImagesAutomatically",[e],(e=>{}))},setDefaultTextEncodingName:e=>{t.Native.callUIFunction(a.value,"setDefaultTextEncodingName",[e],(e=>{}))},setNeedInitialFocus:e=>{t.Native.callUIFunction(a.value,"setNeedInitialFocus",[e],(e=>{}))},setGeolocationEnabled:p,setBlockNetworkLoads:e=>{t.Native.callUIFunction(a.value,"setBlockNetworkLoads",[e],(e=>{}))},setSupportMultipleWindows:m,setAppCacheMaxSize:e=>{t.Native.callUIFunction(a.value,"setAppCacheMaxSize",[e],(e=>{}))},setRenderPriority:e=>{t.Native.callUIFunction(a.value,"setRenderPriority",[e],(e=>{}))},setCacheMode:g,setAllowContentAccess:e=>{t.Native.callUIFunction(a.value,"setAllowContentAccess",[e],(e=>{}))},setEnableSmoothTransition:e=>{t.Native.callUIFunction(a.value,"setEnableSmoothTransition",[e],(e=>{}))},setSaveFormData:e=>{t.Native.callUIFunction(a.value,"setSaveFormData",[e],(e=>{}))},setSavePassword:e=>{t.Native.callUIFunction(a.value,"setSavePassword",[e],(e=>{}))},setTextSize:e=>{t.Native.callUIFunction(a.value,"setTextSize",[e],(e=>{}))},setDefaultZoom:e=>{t.Native.callUIFunction(a.value,"setDefaultZoom",[e],(e=>{}))},setLightTouchEnabled:e=>{t.Native.callUIFunction(a.value,"setLightTouchEnabled",[e],(e=>{}))},setMinimumLogicalFontSize:e=>{t.Native.callUIFunction(a.value,"setMinimumLogicalFontSize",[e],(e=>{}))},setDefaultFixedFontSize:e=>{t.Native.callUIFunction(a.value,"setDefaultFixedFontSize",[e],(e=>{}))},setBlockNetworkImage:e=>{t.Native.callUIFunction(a.value,"setBlockNetworkImage",[e],(e=>{}))},setAllowUniversalAccessFromFileURLs:e=>{t.Native.callUIFunction(a.value,"setAllowUniversalAccessFromFileURLs",[e],(e=>{}))},setAllowFileAccessFromFileURLs:e=>{t.Native.callUIFunction(a.value,"setAllowFileAccessFromFileURLs",[e],(e=>{}))},setDatabasePath:e=>{t.Native.callUIFunction(a.value,"setDatabasePath",[e],(e=>{}))},setGeolocationDatabasePath:e=>{t.Native.callUIFunction(a.value,"setGeolocationDatabasePath",[e],(e=>{}))},setUserAgentString:e=>{t.Native.callUIFunction(a.value,"setUserAgentString",[e],(e=>{}))},setMixedContentMode:e=>{t.Native.callUIFunction(a.value,"setMixedContentMode",[e],(e=>{}))},setOffscreenPreRaster:e=>{t.Native.callUIFunction(a.value,"setOffscreenPreRaster",[e],(e=>{}))},setSafeBrowsingEnabled:e=>{t.Native.callUIFunction(a.value,"setSafeBrowsingEnabled",[e],(e=>{}))},setForceDark:e=>{t.Native.callUIFunction(a.value,"setForceDark",[e],(e=>{}))},setDisabledActionModeMenuItems:e=>{t.Native.callUIFunction(a.value,"setDisabledActionModeMenuItems",[e],(e=>{}))}}),()=>e.h("ESWebViewComponent",{onPageStarted:e=>{let t=e.url;o.emit("onPageStarted",t)},onPageFinished:e=>{let t=e.url;o.emit("onPageFinished",t)},onLoadResource:e=>{let t=e.url;o.emit("onLoadResource",t)},onReceivedSslError:e=>{o.emit("onReceivedSslError",e)},onReceivedError:e=>{let t=e.errorCode,n=e.description,a=e.failingUrl;o.emit("onReceivedError",t,n,a)},onShouldOverrideUrlLoading:e=>{let t=e.url;o.emit("shouldOverrideUrlLoading",t)},onJs2Vue:e=>{let t=e.js2VueValue;o.emit("onJs2Vue",t)},ref:a})}});n.component("qt-web-view",o)}(o),function(n){const o=e.defineComponent({name:"X5WebView",emits:["onCanGoBack","onCanGoForward","onCanGoBackOrForward","onPageStarted","onPageFinished","onLoadResource","onReceivedSslError","onReceivedError","shouldOverrideUrlLoading","onJs2Vue","onJsRewardCall","onJsFinishGame","onJavascriptReceiveValue"],setup(n,o){const a=e.ref();e.onMounted((()=>{i(!0),c(!0),d(!0),r(!0),u(!0),s(!0),m(!0),v(!0),f(!0),p(!0),l(1),g(2)}));const i=e=>{t.Native.callUIFunction(a.value,"setJavaScriptEnabled",[e],(e=>{}))},l=e=>{t.Native.callUIFunction(a.value,"setPluginState",[e],(e=>{}))},c=e=>{t.Native.callUIFunction(a.value,"setJavaScriptCanOpenWindowsAutomatically",[e],(e=>{}))},s=e=>{t.Native.callUIFunction(a.value,"setUseWideViewPort",[e],(e=>{}))},r=e=>{t.Native.callUIFunction(a.value,"setSupportZoom",[e],(e=>{}))},u=e=>{t.Native.callUIFunction(a.value,"setBuiltInZoomControls",[e],(e=>{}))},d=e=>{t.Native.callUIFunction(a.value,"setAllowFileAccess",[e],(e=>{}))},f=e=>{t.Native.callUIFunction(a.value,"setDomStorageEnabled",[e],(e=>{}))},v=e=>{t.Native.callUIFunction(a.value,"setAppCacheEnabled",[e],(e=>{}))},p=e=>{t.Native.callUIFunction(a.value,"setGeolocationEnabled",[e],(e=>{}))},m=e=>{t.Native.callUIFunction(a.value,"setSupportMultipleWindows",[e],(e=>{}))},g=e=>{t.Native.callUIFunction(a.value,"setCacheMode",[e],(e=>{}))};return o.expose({loadUrl:e=>{t.Native.callUIFunction(a.value,"loadUrl",[e],(e=>{}))},evaluateJavascript:e=>{t.Native.callUIFunction(a.value,"evaluateJavascript",[e],(e=>{o.emit("onJavascriptReceiveValue",e)}))},canGoBack:()=>{t.Native.callUIFunction(a.value,"canGoBack",[],(e=>{o.emit("onCanGoBack",e)}))},goBack:()=>{t.Native.callUIFunction(a.value,"goBack",[],(e=>{}))},canGoForward:()=>{t.Native.callUIFunction(a.value,"canGoForward",[],(e=>{o.emit("onCanGoForward",e)}))},goForward:()=>{t.Native.callUIFunction(a.value,"goForward",[],(e=>{}))},canGoBackOrForward:e=>{t.Native.callUIFunction(a.value,"canGoBackOrForward",[e],(e=>{o.emit("onCanGoBackOrForward",e)}))},goBackOrForward:e=>{t.Native.callUIFunction(a.value,"goBackOrForward",[e],(e=>{}))},onResume:()=>{t.Native.callUIFunction(a.value,"onResume",[],(e=>{}))},onPause:()=>{t.Native.callUIFunction(a.value,"onPause",[],(e=>{}))},pauseTimers:()=>{t.Native.callUIFunction(a.value,"pauseTimers",[],(e=>{}))},resumeTimers:()=>{t.Native.callUIFunction(a.value,"resumeTimers",[],(e=>{}))},destroy:()=>{t.Native.callUIFunction(a.value,"destroy",[],(e=>{}))},setJavaScriptEnabled:i,setPluginState:l,setJavaScriptCanOpenWindowsAutomatically:c,setUseWideViewPort:s,setLoadWithOverviewMode:e=>{t.Native.callUIFunction(a.value,"setLoadWithOverviewMode",[e],(e=>{}))},setSupportZoom:r,setBuiltInZoomControls:u,setDisplayZoomControls:e=>{t.Native.callUIFunction(a.value,"setDisplayZoomControls",[e],(e=>{}))},setAllowFileAccess:d,setDomStorageEnabled:f,setDatabaseEnabled:e=>{t.Native.callUIFunction(a.value,"setDatabaseEnabled",[e],(e=>{}))},setAppCacheEnabled:v,setAppCachePath:e=>{t.Native.callUIFunction(a.value,"setAppCachePath",[e],(e=>{}))},setMediaPlaybackRequiresUserGesture:e=>{t.Native.callUIFunction(a.value,"setMediaPlaybackRequiresUserGesture",[e],(e=>{}))},setStandardFontFamily:e=>{t.Native.callUIFunction(a.value,"setStandardFontFamily",[e],(e=>{}))},setFixedFontFamily:e=>{t.Native.callUIFunction(a.value,"setFixedFontFamily",[e],(e=>{}))},setSansSerifFontFamily:e=>{t.Native.callUIFunction(a.value,"setSansSerifFontFamily",[e],(e=>{}))},setSerifFontFamily:e=>{t.Native.callUIFunction(a.value,"setSerifFontFamily",[e],(e=>{}))},setCursiveFontFamily:e=>{t.Native.callUIFunction(a.value,"setCursiveFontFamily",[e],(e=>{}))},setFantasyFontFamily:e=>{t.Native.callUIFunction(a.value,"setFantasyFontFamily",[e],(e=>{}))},setTextZoom:e=>{t.Native.callUIFunction(a.value,"setTextZoom",[e],(e=>{}))},setMinimumFontSize:e=>{t.Native.callUIFunction(a.value,"setMinimumFontSize",[e],(e=>{}))},setDefaultFontSize:e=>{t.Native.callUIFunction(a.value,"setDefaultFontSize",[e],(e=>{}))},setLayoutAlgorithm:e=>{t.Native.callUIFunction(a.value,"setLayoutAlgorithm",[e],(e=>{}))},setLoadsImagesAutomatically:e=>{t.Native.callUIFunction(a.value,"setLoadsImagesAutomatically",[e],(e=>{}))},setDefaultTextEncodingName:e=>{t.Native.callUIFunction(a.value,"setDefaultTextEncodingName",[e],(e=>{}))},setNeedInitialFocus:e=>{t.Native.callUIFunction(a.value,"setNeedInitialFocus",[e],(e=>{}))},setGeolocationEnabled:p,setBlockNetworkLoads:e=>{t.Native.callUIFunction(a.value,"setBlockNetworkLoads",[e],(e=>{}))},setSupportMultipleWindows:m,setAppCacheMaxSize:e=>{t.Native.callUIFunction(a.value,"setAppCacheMaxSize",[e],(e=>{}))},setRenderPriority:e=>{t.Native.callUIFunction(a.value,"setRenderPriority",[e],(e=>{}))},setCacheMode:g,setAllowContentAccess:e=>{t.Native.callUIFunction(a.value,"setAllowContentAccess",[e],(e=>{}))},setEnableSmoothTransition:e=>{t.Native.callUIFunction(a.value,"setEnableSmoothTransition",[e],(e=>{}))},setSaveFormData:e=>{t.Native.callUIFunction(a.value,"setSaveFormData",[e],(e=>{}))},setSavePassword:e=>{t.Native.callUIFunction(a.value,"setSavePassword",[e],(e=>{}))},setTextSize:e=>{t.Native.callUIFunction(a.value,"setTextSize",[e],(e=>{}))},setDefaultZoom:e=>{t.Native.callUIFunction(a.value,"setDefaultZoom",[e],(e=>{}))},setLightTouchEnabled:e=>{t.Native.callUIFunction(a.value,"setLightTouchEnabled",[e],(e=>{}))},setMinimumLogicalFontSize:e=>{t.Native.callUIFunction(a.value,"setMinimumLogicalFontSize",[e],(e=>{}))},setDefaultFixedFontSize:e=>{t.Native.callUIFunction(a.value,"setDefaultFixedFontSize",[e],(e=>{}))},setBlockNetworkImage:e=>{t.Native.callUIFunction(a.value,"setBlockNetworkImage",[e],(e=>{}))},setAllowUniversalAccessFromFileURLs:e=>{t.Native.callUIFunction(a.value,"setAllowUniversalAccessFromFileURLs",[e],(e=>{}))},setAllowFileAccessFromFileURLs:e=>{t.Native.callUIFunction(a.value,"setAllowFileAccessFromFileURLs",[e],(e=>{}))},setDatabasePath:e=>{t.Native.callUIFunction(a.value,"setDatabasePath",[e],(e=>{}))},setGeolocationDatabasePath:e=>{t.Native.callUIFunction(a.value,"setGeolocationDatabasePath",[e],(e=>{}))},setUserAgentString:e=>{t.Native.callUIFunction(a.value,"setUserAgentString",[e],(e=>{}))},setMixedContentMode:e=>{t.Native.callUIFunction(a.value,"setMixedContentMode",[e],(e=>{}))},setOffscreenPreRaster:e=>{t.Native.callUIFunction(a.value,"setOffscreenPreRaster",[e],(e=>{}))},setSafeBrowsingEnabled:e=>{t.Native.callUIFunction(a.value,"setSafeBrowsingEnabled",[e],(e=>{}))},setForceDark:e=>{t.Native.callUIFunction(a.value,"setForceDark",[e],(e=>{}))},setDisabledActionModeMenuItems:e=>{t.Native.callUIFunction(a.value,"setDisabledActionModeMenuItems",[e],(e=>{}))},initJavaScriptInterface:()=>{t.Native.callUIFunction(a.value,"initJavaScriptInterface",[],(e=>{}))},removeJavaScriptInterface:()=>{t.Native.callUIFunction(a.value,"removeJavaScriptInterface",[],(e=>{}))},initWebViewFocus:(e,n,o)=>{t.Native.callUIFunction(a.value,"initWebViewFocus",[e,n,o],(e=>{}))}}),()=>e.h("ESX5WebViewComponent",{onPageStarted:e=>{let t=e.url;o.emit("onPageStarted",t)},onPageFinished:e=>{let t=e.url;o.emit("onPageFinished",t)},onLoadResource:e=>{let t=e.url;o.emit("onLoadResource",t)},onReceivedSslError:e=>{o.emit("onReceivedSslError",e)},onReceivedError:e=>{let t=e.errorCode,n=e.description,a=e.failingUrl;o.emit("onReceivedError",t,n,a)},onShouldOverrideUrlLoading:e=>{let t=e.url;o.emit("shouldOverrideUrlLoading",t)},onJs2Vue:e=>{let t=e.js2VueValue;o.emit("onJs2Vue",t)},onJsRewardCall:e=>{let t=e.jsRewardCallValue;o.emit("onJsRewardCall",t)},onJsFinishGame:e=>{let t=e.jsFinishGameValue;o.emit("onJsFinishGame",t)},ref:a})}});n.component("qt-x5web-view",o)}(o),function(t){t.component("qt-qr-code",{setup(t,n){const o=e.ref();return()=>e.h("QrCodeComponent",{ref:o})}})}(o),function(n){const o=e.defineComponent({name:"qt-seek-bar",props:{emitEventDelay:{type:Number,default:100},onProgressChanged:{type:Function,default:null}},emits:["focus","onSeekStart","onSeekStop","onFocusChanged","seek-change"],setup(n,o){const a=e.ref(),i=e.ref(!1),l=e.ref(1),c=e.ref(0),s=e.ref(0),r=e.ref(0),u=e.ref(0);function d(e){1===l.value&&(u.value=e,t.Native.callUIFunction(a.value,"setProgress",[e],(e=>{})))}function f(e){1===l.value&&(r.value=e,t.Native.callUIFunction(a.value,"setMaxProgress",[e],(e=>{})))}return o.expose({viewRef:a,isSeekBarFocused:i,seekBarMode:l,seekCount:c,progressCallBackTime:s,maxProgress:r,progress:u,startSeek:function(e){if(i.value){l.value=2,o.emit("onSeekStart",u.value),c.value+=1;let i=1;c.value>20?i=2:c.value>50?i=4:c.value>100&&(i=6);let d=r.value,f=Math.floor(.01*d*i);if(u.value=u.value+(e?f:-f),u.value>d?u.value=d:u.value<0&&(u.value=0),t.Native.callUIFunction(a.value,"setProgress",[u.value],(e=>{})),n.onProgressChanged){let e=(new Date).getTime();e-s.value>n.emitEventDelay&&(n.onProgressChanged(u.value),s.value=e)}}},stopSeek:function(){c.value=0,l.value=1,o.emit("onSeekStop",u.value)},isFocused:function(){return i.value},resetSeekbar:function(){l.value=1,f(0),d(0)},invalidateSeekBar:function(){t.Native.callUIFunction(a.value,"invalidateSeekBar",[],(e=>{}))},setFocusable:function(e){t.Native.callUIFunction(a.value,"setFocusable",[e],(e=>{}))},setClickable:function(e){t.Native.callUIFunction(a.value,"setClickable",[e],(e=>{}))},requestFocus:function(){t.Native.callUIFunction(a.value,"requestFocus",[],(e=>{}))},requestLayout:function(){t.Native.callUIFunction(a.value,"requestLayout",[],(e=>{}))},invalidate:function(){t.Native.callUIFunction(a.value,"invalidate",[],(e=>{}))},setVisible:function(e){t.Native.callUIFunction(a.value,"setVisible",[e],(e=>{}))},setLeftSeekBarVisible:function(e){t.Native.callUIFunction(a.value,"setLeftSeekBarVisible",[e],(e=>{}))},setRightSeekBarVisible:function(e){t.Native.callUIFunction(a.value,"setRightSeekBarVisible",[e],(e=>{}))},setSeekBarMode:function(e){t.Native.callUIFunction(a.value,"setSeekBarMode",[e],(e=>{}))},setProgress:d,setRangeProgress:function(e,n){t.Native.callUIFunction(a.value,"setProgress",[e,n],(e=>{}))},getProgress:function(){t.Native.callUIFunction(a.value,"getProgress",[],(e=>{}))},getLeftProgress:function(){t.Native.callUIFunction(a.value,"getLeftProgress",[],(e=>{}))},getRightProgress:function(){t.Native.callUIFunction(a.value,"getRightProgress",[],(e=>{}))},setRange:function(e,n,o){t.Native.callUIFunction(a.value,"setRange",[e,n,o],(e=>{}))},setGravity:function(e){t.Native.callUIFunction(a.value,"setGravity",[e],(e=>{}))},setProgressWidth:function(e){t.Native.callUIFunction(a.value,"setProgressWidth",[e],(e=>{}))},setProgressHeight:function(e){t.Native.callUIFunction(a.value,"setProgressHeight",[e],(e=>{}))},setProgressRadius:function(e){t.Native.callUIFunction(a.value,"setProgressRadius",[e],(e=>{}))},setProgressColor:function(e){t.Native.callUIFunction(a.value,"setProgressColor",[e],(e=>{}))},setProgressDefaultColor:function(e){t.Native.callUIFunction(a.value,"setProgressDefaultColor",[e],(e=>{}))},setProgressDrawable:function(e){t.Native.callUIFunction(a.value,"setProgressDrawable",[e],(e=>{}))},setProgressDefaultDrawable:function(e){t.Native.callUIFunction(a.value,"setProgressDefaultDrawable",[e],(e=>{}))},setProgressUrl:function(e){t.Native.callUIFunction(a.value,"setProgressUrl",[e],(e=>{}))},setProgressDefaultUrl:function(e){t.Native.callUIFunction(a.value,"setProgressDefaultUrl",[e],(e=>{}))},showIndicator:function(e){t.Native.callUIFunction(a.value,"showIndicator",[e],(e=>{}))},showLeftIndicator:function(e){t.Native.callUIFunction(a.value,"showLeftIndicator",[e],(e=>{}))},showRightIndicator:function(e){t.Native.callUIFunction(a.value,"showRightIndicator",[e],(e=>{}))},setIndicatorShowMode:function(e){t.Native.callUIFunction(a.value,"setIndicatorShowMode",[e],(e=>{}))},setLeftIndicatorShowMode:function(e){t.Native.callUIFunction(a.value,"setLeftIndicatorShowMode",[e],(e=>{}))},setRightIndicatorShowMode:function(e){t.Native.callUIFunction(a.value,"setRightIndicatorShowMode",[e],(e=>{}))},setIndicatorWidth:function(e){t.Native.callUIFunction(a.value,"setIndicatorWidth",[e],(e=>{}))},setLeftIndicatorWidth:function(e){t.Native.callUIFunction(a.value,"setLeftIndicatorWidth",[e],(e=>{}))},setRightIndicatorWidth:function(e){t.Native.callUIFunction(a.value,"setRightIndicatorWidth",[e],(e=>{}))},setIndicatorHeight:function(e){t.Native.callUIFunction(a.value,"setIndicatorHeight",[e],(e=>{}))},setLeftIndicatorHeight:function(e){t.Native.callUIFunction(a.value,"setLeftIndicatorHeight",[e],(e=>{}))},setRightIndicatorHeight:function(e){t.Native.callUIFunction(a.value,"setRightIndicatorHeight",[e],(e=>{}))},setIndicatorTextDecimalFormat:function(e){t.Native.callUIFunction(a.value,"setIndicatorTextDecimalFormat",[e],(e=>{}))},setLeftIndicatorTextDecimalFormat:function(e){t.Native.callUIFunction(a.value,"setLeftIndicatorTextDecimalFormat",[e],(e=>{}))},setRightIndicatorTextDecimalFormat:function(e){t.Native.callUIFunction(a.value,"setRightIndicatorTextDecimalFormat",[e],(e=>{}))},setIndicatorTextStringFormat:function(e){t.Native.callUIFunction(a.value,"setIndicatorTextStringFormat",[e],(e=>{}))},setLeftIndicatorTextStringFormat:function(e){t.Native.callUIFunction(a.value,"setLeftIndicatorTextStringFormat",[e],(e=>{}))},setRightIndicatorTextStringFormat:function(e){t.Native.callUIFunction(a.value,"setRightIndicatorTextStringFormat",[e],(e=>{}))},setIndicatorMargin:function(e){t.Native.callUIFunction(a.value,"setIndicatorMargin",[e],(e=>{}))},setLeftIndicatorMargin:function(e){t.Native.callUIFunction(a.value,"setLeftIndicatorMargin",[e],(e=>{}))},setRightIndicatorMargin:function(e){t.Native.callUIFunction(a.value,"setRightIndicatorMargin",[e],(e=>{}))},setIndicatorPaddingBottom:function(e){t.Native.callUIFunction(a.value,"setIndicatorPaddingBottom",[e],(e=>{}))},setLeftIndicatorPaddingBottom:function(e){t.Native.callUIFunction(a.value,"setLeftIndicatorPaddingBottom",[e],(e=>{}))},setRightIndicatorPaddingBottom:function(e){t.Native.callUIFunction(a.value,"setRightIndicatorPaddingBottom",[e],(e=>{}))},setIndicatorPaddingTop:function(e){t.Native.callUIFunction(a.value,"setIndicatorPaddingTop",[e],(e=>{}))},setLeftIndicatorPaddingTop:function(e){t.Native.callUIFunction(a.value,"setLeftIndicatorPaddingTop",[e],(e=>{}))},setRightIndicatorPaddingTop:function(e){t.Native.callUIFunction(a.value,"setRightIndicatorPaddingTop",[e],(e=>{}))},setIndicatorPaddingLeft:function(e){t.Native.callUIFunction(a.value,"setIndicatorPaddingLeft",[e],(e=>{}))},setLeftIndicatorPaddingLeft:function(e){t.Native.callUIFunction(a.value,"setLeftIndicatorPaddingLeft",[e],(e=>{}))},setRightIndicatorPaddingLeft:function(e){t.Native.callUIFunction(a.value,"setRightIndicatorPaddingLeft",[e],(e=>{}))},setIndicatorPaddingRight:function(e){t.Native.callUIFunction(a.value,"setIndicatorPaddingRight",[e],(e=>{}))},setLeftIndicatorPaddingRight:function(e){t.Native.callUIFunction(a.value,"setLeftIndicatorPaddingRight",[e],(e=>{}))},setRightIndicatorPaddingRight:function(e){t.Native.callUIFunction(a.value,"setRightIndicatorPaddingRight",[e],(e=>{}))},setIndicatorBackgroundColor:function(e){t.Native.callUIFunction(a.value,"setIndicatorBackgroundColor",[e],(e=>{}))},setLeftIndicatorBackgroundColor:function(e){t.Native.callUIFunction(a.value,"setLeftIndicatorBackgroundColor",[e],(e=>{}))},setRightIndicatorBackgroundColor:function(e){t.Native.callUIFunction(a.value,"setRightIndicatorBackgroundColor",[e],(e=>{}))},setIndicatorRadius:function(e){t.Native.callUIFunction(a.value,"setIndicatorRadius",[e],(e=>{}))},setLeftIndicatorRadius:function(e){t.Native.callUIFunction(a.value,"setLeftIndicatorRadius",[e],(e=>{}))},setRightIndicatorRadius:function(e){t.Native.callUIFunction(a.value,"setRightIndicatorRadius",[e],(e=>{}))},setIndicatorTextSize:function(e){t.Native.callUIFunction(a.value,"setIndicatorTextSize",[e],(e=>{}))},setLeftIndicatorTextSize:function(e){t.Native.callUIFunction(a.value,"setLeftIndicatorTextSize",[e],(e=>{}))},setRightIndicatorTextSize:function(e){t.Native.callUIFunction(a.value,"setRightIndicatorTextSize",[e],(e=>{}))},setIndicatorTextColor:function(e){t.Native.callUIFunction(a.value,"setIndicatorTextColor",[e],(e=>{}))},setLeftIndicatorTextColor:function(e){t.Native.callUIFunction(a.value,"setLeftIndicatorTextColor",[e],(e=>{}))},setRightIndicatorTextColor:function(e){t.Native.callUIFunction(a.value,"setRightIndicatorTextColor",[e],(e=>{}))},setIndicatorArrowSize:function(e){t.Native.callUIFunction(a.value,"setIndicatorArrowSize",[e],(e=>{}))},setLeftIndicatorArrowSize:function(e){t.Native.callUIFunction(a.value,"setLeftIndicatorArrowSize",[e],(e=>{}))},setRightIndicatorArrowSize:function(e){t.Native.callUIFunction(a.value,"setRightIndicatorArrowSize",[e],(e=>{}))},setIndicatorDrawable:function(e){t.Native.callUIFunction(a.value,"setIndicatorDrawable",[e],(e=>{}))},setLeftIndicatorDrawable:function(e){t.Native.callUIFunction(a.value,"setLeftIndicatorDrawable",[e],(e=>{}))},setRightIndicatorDrawable:function(e){t.Native.callUIFunction(a.value,"setRightIndicatorDrawable",[e],(e=>{}))},setIndicatorUrl:function(e){t.Native.callUIFunction(a.value,"setIndicatorUrl",[e],(e=>{}))},setLeftIndicatorUrl:function(e){t.Native.callUIFunction(a.value,"setLeftIndicatorUrl",[e],(e=>{}))},setRightIndicatorUrl:function(e){t.Native.callUIFunction(a.value,"setRightIndicatorUrl",[e],(e=>{}))},setThumbWidth:function(e){t.Native.callUIFunction(a.value,"setThumbWidth",[e],(e=>{}))},setLeftThumbWidth:function(e){t.Native.callUIFunction(a.value,"setLeftThumbWidth",[e],(e=>{}))},setRightThumbWidth:function(e){t.Native.callUIFunction(a.value,"setRightThumbWidth",[e],(e=>{}))},setThumbHeight:function(e){t.Native.callUIFunction(a.value,"setThumbHeight",[e],(e=>{}))},setLeftThumbHeight:function(e){t.Native.callUIFunction(a.value,"setLeftThumbHeight",[e],(e=>{}))},setRightThumbHeight:function(e){t.Native.callUIFunction(a.value,"setRightThumbHeight",[e],(e=>{}))},scaleThumb:function(){t.Native.callUIFunction(a.value,"scaleThumb",[],(e=>{}))},scaleLeftThumb:function(){t.Native.callUIFunction(a.value,"scaleLeftThumb",[],(e=>{}))},scaleRightThumb:function(){t.Native.callUIFunction(a.value,"scaleLeftThumb",[],(e=>{}))},resetThumb:function(){t.Native.callUIFunction(a.value,"resetThumb",[],(e=>{}))},resetLeftThumb:function(){t.Native.callUIFunction(a.value,"resetLeftThumb",[],(e=>{}))},resetRightThumb:function(){t.Native.callUIFunction(a.value,"resetRightThumb",[],(e=>{}))},setThumbScaleRatio:function(e){t.Native.callUIFunction(a.value,"setThumbScaleRatio",[e],(e=>{}))},setLeftThumbScaleRatio:function(e){t.Native.callUIFunction(a.value,"setLeftThumbScaleRatio",[e],(e=>{}))},setRightThumbScaleRatio:function(e){t.Native.callUIFunction(a.value,"setRightThumbScaleRatio",[e],(e=>{}))},setThumbActivate:function(e){t.Native.callUIFunction(a.value,"setThumbActivate",[e],(e=>{}))},setLeftThumbActivate:function(e){t.Native.callUIFunction(a.value,"setLeftThumbActivate",[e],(e=>{}))},setRightThumbActivate:function(e){t.Native.callUIFunction(a.value,"setRightThumbActivate",[e],(e=>{}))},setThumbDrawable:function(e){t.Native.callUIFunction(a.value,"setThumbDrawable",[e],(e=>{}))},setLeftThumbDrawable:function(e){t.Native.callUIFunction(a.value,"setLeftThumbDrawable",[e],(e=>{}))},setRightThumbDrawable:function(e){t.Native.callUIFunction(a.value,"setRightThumbDrawable",[e],(e=>{}))},setThumbUrl:function(e){t.Native.callUIFunction(a.value,"setThumbUrl",[e],(e=>{}))},setLeftThumbUrl:function(e){t.Native.callUIFunction(a.value,"setLeftThumbUrl",[e],(e=>{}))},setRightThumbUrl:function(e){t.Native.callUIFunction(a.value,"setRightThumbUrl",[e],(e=>{}))},setThumbInactivatedDrawable:function(e){t.Native.callUIFunction(a.value,"setThumbInactivatedDrawable",[e],(e=>{}))},setLeftThumbInactivatedDrawable:function(e){t.Native.callUIFunction(a.value,"setLeftThumbInactivatedDrawable",[e],(e=>{}))},setRightThumbInactivatedDrawable:function(e){t.Native.callUIFunction(a.value,"setRightThumbInactivatedDrawable",[e],(e=>{}))},setThumbInactivatedUrl:function(e){t.Native.callUIFunction(a.value,"setThumbInactivatedUrl",[e],(e=>{}))},setLeftThumbInactivatedUrl:function(e){t.Native.callUIFunction(a.value,"setLeftThumbInactivatedUrl",[e],(e=>{}))},setRightThumbInactivatedUrl:function(e){t.Native.callUIFunction(a.value,"setRightThumbInactivatedUrl",[e],(e=>{}))},setTickMarkMode:function(e){t.Native.callUIFunction(a.value,"setTickMarkMode",[e],(e=>{}))},setTickMarkGravity:function(e){t.Native.callUIFunction(a.value,"setTickMarkGravity",[e],(e=>{}))},setTickMarkLayoutGravity:function(e){t.Native.callUIFunction(a.value,"setTickMarkLayoutGravity",[e],(e=>{}))},setTickMarkTextArray:function(e){t.Native.callUIFunction(a.value,"setTickMarkTextArray",[e],(e=>{}))},setTickMarkTextMargin:function(e){t.Native.callUIFunction(a.value,"setTickMarkTextMargin",[e],(e=>{}))},setTickMarkTextSize:function(e){t.Native.callUIFunction(a.value,"setTickMarkTextSize",[e],(e=>{}))},setTickMarkTextColor:function(e){t.Native.callUIFunction(a.value,"setTickMarkTextColor",[e],(e=>{}))},setTickMarkInRangeTextColor:function(e){t.Native.callUIFunction(a.value,"setTickMarkInRangeTextColor",[e],(e=>{}))},setSteps:function(e){t.Native.callUIFunction(a.value,"setSteps",[e],(e=>{}))},setStepsWidth:function(e){t.Native.callUIFunction(a.value,"setStepsWidth",[e],(e=>{}))},setStepsHeight:function(e){t.Native.callUIFunction(a.value,"setStepsHeight",[e],(e=>{}))},setStepsRadius:function(e){t.Native.callUIFunction(a.value,"setStepsRadius",[e],(e=>{}))},setStepsColor:function(e){t.Native.callUIFunction(a.value,"setStepsColor",[e],(e=>{}))},setStepsAutoBonding:function(e){t.Native.callUIFunction(a.value,"setStepsAutoBonding",[e],(e=>{}))},setStepsDrawable:function(e){t.Native.callUIFunction(a.value,"setStepsDrawable",[e],(e=>{}))},setStepsUrl:function(e){t.Native.callUIFunction(a.value,"setStepsUrl",[e],(e=>{}))},setSecondProgress:function(e){t.Native.callUIFunction(a.value,"setSecondProgress",[e],(e=>{}))},show:function(e){t.Native.callUIFunction(a.value,"show",[e],(e=>{}))},setMaxProgress:f}),()=>e.h("TVSeekBarViewComponent",{ref:a,onFocus:e=>{i.value=e.isFocused,o.emit("onFocusChanged",e)},onSeekBarChange:e=>{o.emit("seek-change",e)}})}});n.component("qt-seek-bar",o)}(o),function(n){const o=Ot({name:"qt-progress-bar",setup(n,o){const a=e.ref();return o.expose({invalidateSeekBar:function(){t.Native.callUIFunction(a.value,"invalidateSeekBar",[],(e=>{}))},setFocusable:function(e){t.Native.callUIFunction(a.value,"setFocusable",[e],(e=>{}))},setClickable:function(e){t.Native.callUIFunction(a.value,"setClickable",[e],(e=>{}))},requestFocus:function(){t.Native.callUIFunction(a.value,"requestFocus",[],(e=>{}))},requestLayout:function(){t.Native.callUIFunction(a.value,"requestLayout",[],(e=>{}))},invalidate:function(){t.Native.callUIFunction(a.value,"invalidate",[],(e=>{}))},setVisible:function(e){t.Native.callUIFunction(a.value,"setVisible",[e],(e=>{}))},setLeftSeekBarVisible:function(e){t.Native.callUIFunction(a.value,"setLeftSeekBarVisible",[e],(e=>{}))},setRightSeekBarVisible:function(e){t.Native.callUIFunction(a.value,"setRightSeekBarVisible",[e],(e=>{}))},setSeekBarMode:function(e){t.Native.callUIFunction(a.value,"setSeekBarMode",[e],(e=>{}))},setProgress:function(e){t.Native.callUIFunction(a.value,"setProgress",[e],(e=>{}))},setRangeProgress:function(e,n){t.Native.callUIFunction(a.value,"setProgress",[e,n],(e=>{}))},getProgress:function(){t.Native.callUIFunction(a.value,"getProgress",[],(e=>{}))},getLeftProgress:function(){t.Native.callUIFunction(a.value,"getLeftProgress",[],(e=>{}))},getRightProgress:function(){t.Native.callUIFunction(a.value,"getRightProgress",[],(e=>{}))},setRange:function(e,n,o){t.Native.callUIFunction(a.value,"setRange",[e,n,o],(e=>{}))},setGravity:function(e){t.Native.callUIFunction(a.value,"setGravity",[e],(e=>{}))},setProgressWidth:function(e){t.Native.callUIFunction(a.value,"setProgressWidth",[e],(e=>{}))},setProgressHeight:function(e){t.Native.callUIFunction(a.value,"setProgressHeight",[e],(e=>{}))},setProgressRadius:function(e){t.Native.callUIFunction(a.value,"setProgressRadius",[e],(e=>{}))},setProgressColor:function(e){t.Native.callUIFunction(a.value,"setProgressColor",[e],(e=>{}))},setProgressDefaultColor:function(e){t.Native.callUIFunction(a.value,"setProgressDefaultColor",[e],(e=>{}))},setProgressDrawable:function(e){t.Native.callUIFunction(a.value,"setProgressDrawable",[e],(e=>{}))},setProgressDefaultDrawable:function(e){t.Native.callUIFunction(a.value,"setProgressDefaultDrawable",[e],(e=>{}))},setProgressUrl:function(e){t.Native.callUIFunction(a.value,"setProgressUrl",[e],(e=>{}))},setProgressDefaultUrl:function(e){t.Native.callUIFunction(a.value,"setProgressDefaultUrl",[e],(e=>{}))},showIndicator:function(e){t.Native.callUIFunction(a.value,"showIndicator",[e],(e=>{}))},showLeftIndicator:function(e){t.Native.callUIFunction(a.value,"showLeftIndicator",[e],(e=>{}))},showRightIndicator:function(e){t.Native.callUIFunction(a.value,"showRightIndicator",[e],(e=>{}))},setIndicatorShowMode:function(e){t.Native.callUIFunction(a.value,"setIndicatorShowMode",[e],(e=>{}))},setLeftIndicatorShowMode:function(e){t.Native.callUIFunction(a.value,"setLeftIndicatorShowMode",[e],(e=>{}))},setRightIndicatorShowMode:function(e){t.Native.callUIFunction(a.value,"setRightIndicatorShowMode",[e],(e=>{}))},setIndicatorWidth:function(e){t.Native.callUIFunction(a.value,"setIndicatorWidth",[e],(e=>{}))},setLeftIndicatorWidth:function(e){t.Native.callUIFunction(a.value,"setLeftIndicatorWidth",[e],(e=>{}))},setRightIndicatorWidth:function(e){t.Native.callUIFunction(a.value,"setRightIndicatorWidth",[e],(e=>{}))},setIndicatorHeight:function(e){t.Native.callUIFunction(a.value,"setIndicatorHeight",[e],(e=>{}))},setLeftIndicatorHeight:function(e){t.Native.callUIFunction(a.value,"setLeftIndicatorHeight",[e],(e=>{}))},setRightIndicatorHeight:function(e){t.Native.callUIFunction(a.value,"setRightIndicatorHeight",[e],(e=>{}))},setIndicatorTextDecimalFormat:function(e){t.Native.callUIFunction(a.value,"setIndicatorTextDecimalFormat",[e],(e=>{}))},setLeftIndicatorTextDecimalFormat:function(e){t.Native.callUIFunction(a.value,"setLeftIndicatorTextDecimalFormat",[e],(e=>{}))},setRightIndicatorTextDecimalFormat:function(e){t.Native.callUIFunction(a.value,"setRightIndicatorTextDecimalFormat",[e],(e=>{}))},setIndicatorTextStringFormat:function(e){t.Native.callUIFunction(a.value,"setIndicatorTextStringFormat",[e],(e=>{}))},setLeftIndicatorTextStringFormat:function(e){t.Native.callUIFunction(a.value,"setLeftIndicatorTextStringFormat",[e],(e=>{}))},setRightIndicatorTextStringFormat:function(e){t.Native.callUIFunction(a.value,"setRightIndicatorTextStringFormat",[e],(e=>{}))},setIndicatorMargin:function(e){t.Native.callUIFunction(a.value,"setIndicatorMargin",[e],(e=>{}))},setLeftIndicatorMargin:function(e){t.Native.callUIFunction(a.value,"setLeftIndicatorMargin",[e],(e=>{}))},setRightIndicatorMargin:function(e){t.Native.callUIFunction(a.value,"setRightIndicatorMargin",[e],(e=>{}))},setIndicatorPaddingBottom:function(e){t.Native.callUIFunction(a.value,"setIndicatorPaddingBottom",[e],(e=>{}))},setLeftIndicatorPaddingBottom:function(e){t.Native.callUIFunction(a.value,"setLeftIndicatorPaddingBottom",[e],(e=>{}))},setRightIndicatorPaddingBottom:function(e){t.Native.callUIFunction(a.value,"setRightIndicatorPaddingBottom",[e],(e=>{}))},setIndicatorPaddingTop:function(e){t.Native.callUIFunction(a.value,"setIndicatorPaddingTop",[e],(e=>{}))},setLeftIndicatorPaddingTop:function(e){t.Native.callUIFunction(a.value,"setLeftIndicatorPaddingTop",[e],(e=>{}))},setRightIndicatorPaddingTop:function(e){t.Native.callUIFunction(a.value,"setRightIndicatorPaddingTop",[e],(e=>{}))},setIndicatorPaddingLeft:function(e){t.Native.callUIFunction(a.value,"setIndicatorPaddingLeft",[e],(e=>{}))},setLeftIndicatorPaddingLeft:function(e){t.Native.callUIFunction(a.value,"setLeftIndicatorPaddingLeft",[e],(e=>{}))},setRightIndicatorPaddingLeft:function(e){t.Native.callUIFunction(a.value,"setRightIndicatorPaddingLeft",[e],(e=>{}))},setIndicatorPaddingRight:function(e){t.Native.callUIFunction(a.value,"setIndicatorPaddingRight",[e],(e=>{}))},setLeftIndicatorPaddingRight:function(e){t.Native.callUIFunction(a.value,"setLeftIndicatorPaddingRight",[e],(e=>{}))},setRightIndicatorPaddingRight:function(e){t.Native.callUIFunction(a.value,"setRightIndicatorPaddingRight",[e],(e=>{}))},setIndicatorBackgroundColor:function(e){t.Native.callUIFunction(a.value,"setIndicatorBackgroundColor",[e],(e=>{}))},setLeftIndicatorBackgroundColor:function(e){t.Native.callUIFunction(a.value,"setLeftIndicatorBackgroundColor",[e],(e=>{}))},setRightIndicatorBackgroundColor:function(e){t.Native.callUIFunction(a.value,"setRightIndicatorBackgroundColor",[e],(e=>{}))},setIndicatorRadius:function(e){t.Native.callUIFunction(a.value,"setIndicatorRadius",[e],(e=>{}))},setLeftIndicatorRadius:function(e){t.Native.callUIFunction(a.value,"setLeftIndicatorRadius",[e],(e=>{}))},setRightIndicatorRadius:function(e){t.Native.callUIFunction(a.value,"setRightIndicatorRadius",[e],(e=>{}))},setIndicatorTextSize:function(e){t.Native.callUIFunction(a.value,"setIndicatorTextSize",[e],(e=>{}))},setLeftIndicatorTextSize:function(e){t.Native.callUIFunction(a.value,"setLeftIndicatorTextSize",[e],(e=>{}))},setRightIndicatorTextSize:function(e){t.Native.callUIFunction(a.value,"setRightIndicatorTextSize",[e],(e=>{}))},setIndicatorTextColor:function(e){t.Native.callUIFunction(a.value,"setIndicatorTextColor",[e],(e=>{}))},setLeftIndicatorTextColor:function(e){t.Native.callUIFunction(a.value,"setLeftIndicatorTextColor",[e],(e=>{}))},setRightIndicatorTextColor:function(e){t.Native.callUIFunction(a.value,"setRightIndicatorTextColor",[e],(e=>{}))},setIndicatorArrowSize:function(e){t.Native.callUIFunction(a.value,"setIndicatorArrowSize",[e],(e=>{}))},setLeftIndicatorArrowSize:function(e){t.Native.callUIFunction(a.value,"setLeftIndicatorArrowSize",[e],(e=>{}))},setRightIndicatorArrowSize:function(e){t.Native.callUIFunction(a.value,"setRightIndicatorArrowSize",[e],(e=>{}))},setIndicatorDrawable:function(e){t.Native.callUIFunction(a.value,"setIndicatorDrawable",[e],(e=>{}))},setLeftIndicatorDrawable:function(e){t.Native.callUIFunction(a.value,"setLeftIndicatorDrawable",[e],(e=>{}))},setRightIndicatorDrawable:function(e){t.Native.callUIFunction(a.value,"setRightIndicatorDrawable",[e],(e=>{}))},setIndicatorUrl:function(e){t.Native.callUIFunction(a.value,"setIndicatorUrl",[e],(e=>{}))},setLeftIndicatorUrl:function(e){t.Native.callUIFunction(a.value,"setLeftIndicatorUrl",[e],(e=>{}))},setRightIndicatorUrl:function(e){t.Native.callUIFunction(a.value,"setRightIndicatorUrl",[e],(e=>{}))},setThumbWidth:function(e){t.Native.callUIFunction(a.value,"setThumbWidth",[e],(e=>{}))},setLeftThumbWidth:function(e){t.Native.callUIFunction(a.value,"setLeftThumbWidth",[e],(e=>{}))},setRightThumbWidth:function(e){t.Native.callUIFunction(a.value,"setRightThumbWidth",[e],(e=>{}))},setThumbHeight:function(e){t.Native.callUIFunction(a.value,"setThumbHeight",[e],(e=>{}))},setLeftThumbHeight:function(e){t.Native.callUIFunction(a.value,"setLeftThumbHeight",[e],(e=>{}))},setRightThumbHeight:function(e){t.Native.callUIFunction(a.value,"setRightThumbHeight",[e],(e=>{}))},scaleThumb:function(){t.Native.callUIFunction(a.value,"scaleThumb",[],(e=>{}))},scaleLeftThumb:function(){t.Native.callUIFunction(a.value,"scaleLeftThumb",[],(e=>{}))},scaleRightThumb:function(){t.Native.callUIFunction(a.value,"scaleLeftThumb",[],(e=>{}))},resetThumb:function(){t.Native.callUIFunction(a.value,"resetThumb",[],(e=>{}))},resetLeftThumb:function(){t.Native.callUIFunction(a.value,"resetLeftThumb",[],(e=>{}))},resetRightThumb:function(){t.Native.callUIFunction(a.value,"resetRightThumb",[],(e=>{}))},setThumbScaleRatio:function(e){t.Native.callUIFunction(a.value,"setThumbScaleRatio",[e],(e=>{}))},setLeftThumbScaleRatio:function(e){t.Native.callUIFunction(a.value,"setLeftThumbScaleRatio",[e],(e=>{}))},setRightThumbScaleRatio:function(e){t.Native.callUIFunction(a.value,"setRightThumbScaleRatio",[e],(e=>{}))},setThumbActivate:function(e){t.Native.callUIFunction(a.value,"setThumbActivate",[e],(e=>{}))},setLeftThumbActivate:function(e){t.Native.callUIFunction(a.value,"setLeftThumbActivate",[e],(e=>{}))},setRightThumbActivate:function(e){t.Native.callUIFunction(a.value,"setRightThumbActivate",[e],(e=>{}))},setThumbDrawable:function(e){t.Native.callUIFunction(a.value,"setThumbDrawable",[e],(e=>{}))},setLeftThumbDrawable:function(e){t.Native.callUIFunction(a.value,"setLeftThumbDrawable",[e],(e=>{}))},setRightThumbDrawable:function(e){t.Native.callUIFunction(a.value,"setRightThumbDrawable",[e],(e=>{}))},setThumbUrl:function(e){t.Native.callUIFunction(a.value,"setThumbUrl",[e],(e=>{}))},setLeftThumbUrl:function(e){t.Native.callUIFunction(a.value,"setLeftThumbUrl",[e],(e=>{}))},setRightThumbUrl:function(e){t.Native.callUIFunction(a.value,"setRightThumbUrl",[e],(e=>{}))},setThumbInactivatedDrawable:function(e){t.Native.callUIFunction(a.value,"setThumbInactivatedDrawable",[e],(e=>{}))},setLeftThumbInactivatedDrawable:function(e){t.Native.callUIFunction(a.value,"setLeftThumbInactivatedDrawable",[e],(e=>{}))},setRightThumbInactivatedDrawable:function(e){t.Native.callUIFunction(a.value,"setRightThumbInactivatedDrawable",[e],(e=>{}))},setThumbInactivatedUrl:function(e){t.Native.callUIFunction(a.value,"setThumbInactivatedUrl",[e],(e=>{}))},setLeftThumbInactivatedUrl:function(e){t.Native.callUIFunction(a.value,"setLeftThumbInactivatedUrl",[e],(e=>{}))},setRightThumbInactivatedUrl:function(e){t.Native.callUIFunction(a.value,"setRightThumbInactivatedUrl",[e],(e=>{}))},setTickMarkMode:function(e){t.Native.callUIFunction(a.value,"setTickMarkMode",[e],(e=>{}))},setTickMarkGravity:function(e){t.Native.callUIFunction(a.value,"setTickMarkGravity",[e],(e=>{}))},setTickMarkLayoutGravity:function(e){t.Native.callUIFunction(a.value,"setTickMarkLayoutGravity",[e],(e=>{}))},setTickMarkTextArray:function(e){t.Native.callUIFunction(a.value,"setTickMarkTextArray",[e],(e=>{}))},setTickMarkTextMargin:function(e){t.Native.callUIFunction(a.value,"setTickMarkTextMargin",[e],(e=>{}))},setTickMarkTextSize:function(e){t.Native.callUIFunction(a.value,"setTickMarkTextSize",[e],(e=>{}))},setTickMarkTextColor:function(e){t.Native.callUIFunction(a.value,"setTickMarkTextColor",[e],(e=>{}))},setTickMarkInRangeTextColor:function(e){t.Native.callUIFunction(a.value,"setTickMarkInRangeTextColor",[e],(e=>{}))},setSteps:function(e){t.Native.callUIFunction(a.value,"setSteps",[e],(e=>{}))},setStepsWidth:function(e){t.Native.callUIFunction(a.value,"setStepsWidth",[e],(e=>{}))},setStepsHeight:function(e){t.Native.callUIFunction(a.value,"setStepsHeight",[e],(e=>{}))},setStepsRadius:function(e){t.Native.callUIFunction(a.value,"setStepsRadius",[e],(e=>{}))},setStepsColor:function(e){t.Native.callUIFunction(a.value,"setStepsColor",[e],(e=>{}))},setStepsAutoBonding:function(e){t.Native.callUIFunction(a.value,"setStepsAutoBonding",[e],(e=>{}))},setStepsDrawable:function(e){t.Native.callUIFunction(a.value,"setStepsDrawable",[e],(e=>{}))},setStepsUrl:function(e){t.Native.callUIFunction(a.value,"setStepsUrl",[e],(e=>{}))},setSecondProgress:function(e){t.Native.callUIFunction(a.value,"setSecondProgress",[e],(e=>{}))},show:function(e){t.Native.callUIFunction(a.value,"show",[e],(e=>{}))},setMaxProgress:function(e){t.Native.callUIFunction(a.value,"setMaxProgress",[e],(e=>{}))}}),()=>e.h("TVProgressBarViewComponent",{ref:a,onFocusChange:e=>{o.emit("focus",e)},onSeekBarChange:e=>{o.emit("seek-change",e)}})}});n.component("qt-progress-bar",o)}(o),function(n){const o=e.defineComponent({emits:["onAnimationEnd","onAnimationCancel","onAnimationStart","onAnimationRepeat","onAnimationPause","onAnimationResume","onAnimationUpdate"],setup(n,o){const a=e.ref();return o.expose({setPivotX:function(e){t.Native.callUIFunction(a.value,"setPivotX",[e],(e=>{}))},setPivotY:function(e){t.Native.callUIFunction(a.value,"setPivotY",[e],(e=>{}))},resetPivot:function(){t.Native.callUIFunction(a.value,"resetPivot",[],(e=>{}))},resetAnimators:function(){t.Native.callUIFunction(a.value,"resetAnimators",[],(e=>{}))},animatorSet:function(e,n,o){t.Native.callUIFunction(a.value,"animatorSet",[e,n,o],(e=>{}))},startAnimator:function(e){t.Native.callUIFunction(a.value,"startAnimator",[e],(e=>{}))},startAnimatorDelay:function(e,n){t.Native.callUIFunction(a.value,"startAnimatorDelay",[e,n],(e=>{}))},pauseAnimator:function(e){t.Native.callUIFunction(a.value,"pauseAnimator",[e],(e=>{}))},resumeAnimator:function(e){t.Native.callUIFunction(a.value,"resumeAnimator",[e],(e=>{}))},cancelAnimator:function(e){t.Native.callUIFunction(a.value,"cancelAnimator",[e],(e=>{}))},reverseAnimator:function(e){t.Native.callUIFunction(a.value,"reverseAnimator",[e],(e=>{}))},play:function(e,n){t.Native.callUIFunction(a.value,"play",[e,n],(e=>{}))},playWith:function(e,n){t.Native.callUIFunction(a.value,"with",[e,n],(e=>{}))},playBefore:function(e,n){t.Native.callUIFunction(a.value,"before",[e,n],(e=>{}))},playAfter:function(e,n){t.Native.callUIFunction(a.value,"after",[e,n],(e=>{}))},playAfterDelay:function(e,n){t.Native.callUIFunction(a.value,"afterDelay",[e,n],(e=>{}))},playSequentially1:function(e,n){t.Native.callUIFunction(a.value,"playSequentially1",[e,n],(e=>{}))},playSequentially2:function(e,n,o){t.Native.callUIFunction(a.value,"playSequentially2",[e,n,o],(e=>{}))},playSequentially3:function(e,n,o,i){t.Native.callUIFunction(a.value,"playSequentially3",[e,n,o,i],(e=>{}))},playSequentially4:function(e,n,o,i,l){t.Native.callUIFunction(a.value,"playSequentially4",[e,n,o,i,l],(e=>{}))},playSequentially5:function(e,n,o,i,l,c){t.Native.callUIFunction(a.value,"playSequentially5",[e,n,o,i,l,c],(e=>{}))},playTogether1:function(e,n){t.Native.callUIFunction(a.value,"playTogether1",[e,n],(e=>{}))},playTogether2:function(e,n,o){t.Native.callUIFunction(a.value,"playTogether2",[e,n,o],(e=>{}))},playTogether3:function(e,n,o,i){t.Native.callUIFunction(a.value,"playTogether3",[e,n,o,i],(e=>{}))},playTogether4:function(e,n,o,i,l){t.Native.callUIFunction(a.value,"playTogether4",[e,n,o,i,l],(e=>{}))},playTogether5:function(e,n,o,i,l,c){t.Native.callUIFunction(a.value,"playTogether5",[e,n,o,i,l,c],(e=>{}))},objectAnimator:function(e,n,o,i,l,c,s,r,u){t.Native.callUIFunction(a.value,"objectAnimator",[e,n,o,i,l,c,s,r,u],(e=>{}))},objectAnimator1:function(e,n,o,i,l,c,s,r,u,d){t.Native.callUIFunction(a.value,"objectAnimator1",[e,n,o,i,l,c,s,r,u,d],(e=>{}))},objectAnimator2:function(e,n,o,i,l,c,s,r,u,d,f){t.Native.callUIFunction(a.value,"objectAnimator2",[e,n,o,i,l,c,s,r,u,d,f],(e=>{}))},objectAnimator3:function(e,n,o,i,l,c,s,r,u,d,f,v){t.Native.callUIFunction(a.value,"objectAnimator3",[e,n,o,i,l,c,s,r,u,d,f,v],(e=>{}))},objectAnimator4:function(e,n,o,i,l,c,s,r,u,d,f,v,p){t.Native.callUIFunction(a.value,"objectAnimator4",[e,n,o,i,l,c,s,r,u,d,f,v,p],(e=>{}))},objectAnimator5:function(e,n,o,i,l,c,s,r,u,d,f,v,p,m){t.Native.callUIFunction(a.value,"objectAnimator5",[e,n,o,i,l,c,s,r,u,d,f,v,p,m],(e=>{}))},objectAnimator6:function(e,n,o,i,l,c,s,r,u,d,f,v,p,m,g){t.Native.callUIFunction(a.value,"objectAnimator6",[e,n,o,i,l,c,s,r,u,d,f,v,p,m,g],(e=>{}))},objectAnimator7:function(e,n,o,i,l,c,s,r,u,d,f,v,p,m,g,I){t.Native.callUIFunction(a.value,"objectAnimator7",[e,n,o,i,l,c,s,r,u,d,f,v,p,m,g,I],(e=>{}))},objectAnimator8:function(e,n,o,i,l,c,s,r,u,d,f,v,p,m,g,I,T){t.Native.callUIFunction(a.value,"objectAnimator8",[e,n,o,i,l,c,s,r,u,d,f,v,p,m,g,I,T],(e=>{}))},objectAnimator9:function(e,n,o,i,l,c,s,r,u,d,f,v,p,m,g,I,T,h){t.Native.callUIFunction(a.value,"objectAnimator9",[e,n,o,i,l,c,s,r,u,d,f,v,p,m,g,I,T,h],(e=>{}))},objectAnimator10:function(e,n,o,i,l,c,s,r,u,d,f,v,p,m,g,I,T,h,S){t.Native.callUIFunction(a.value,"objectAnimator10",[e,n,o,i,l,c,s,r,u,d,f,v,p,m,g,I,T,h,S],(e=>{}))}}),()=>{const t=o.slots.default&&o.slots.default();return e.h("AnimationViewComponent",{ref:a,onAnimationCancel:e=>{let t=e.animationId;o.emit("onAnimationCancel",t)},onAnimationEnd:e=>{let t=e.animationId,n=e.isReverse;o.emit("onAnimationEnd",t,n)},onAnimationRepeat:e=>{let t=e.animationId;o.emit("onAnimationRepeat",t)},onAnimationStart:e=>{let t=e.animationId,n=e.isReverse;o.emit("onAnimationStart",t,n)},onAnimationPause:e=>{let t=e.animationId;o.emit("onAnimationPause",t)},onAnimationResume:e=>{let t=e.animationId;o.emit("onAnimationResume",t)},onAnimationUpdate:e=>{let t=e.animationId,n=e.animatedValue;o.emit("onAnimationUpdate",t,n)}},t)}}});n.component("qt-animation",o)}(o),function(t){t.component("qt-dialog",{setup(t,n){const o=e.ref();return()=>e.h("Modal",{ref:o})}})}(o);for(let e in Sa)o.component(Sa[e].name,Sa[e])},exports.arrangeChildren4ListView=function(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})}))};
|
|
@@ -39,6 +39,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
39
39
|
onItemBind: (e: any) => void;
|
|
40
40
|
onItemFocused: (e: any) => void;
|
|
41
41
|
reset: (pageNo?: number) => void;
|
|
42
|
+
restartPage: () => void;
|
|
43
|
+
isRestartPage: import("vue").Ref<boolean>;
|
|
42
44
|
onItemUnbind: (e: any) => void;
|
|
43
45
|
onScroll: (e: any) => void;
|
|
44
46
|
onScrollStateChanged: (e: any) => void;
|