@quicktvui/quicktvui3 1.0.89 → 1.0.90
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{ref as e,openBlock as t,createElementBlock as n,renderSlot as o,resolveComponent as a,createBlock as i,defineComponent as l,normalizeStyle as c,normalizeClass as s,createCommentVNode as u,toDisplayString as r,watchEffect as d,onBeforeUnmount as f,withCtx as p,Fragment as g,createVNode as I,createElementVNode as m,pushScopeId as T,popScopeId as v,reactive as h,watch as _,onMounted as F,nextTick as S,renderList as b,resolveDynamicComponent as E,h as y}from"vue";import{Native as P}from"@extscreen/es3-vue";import{useESToast as A,useES as R,useESLog as U,ESLogLevel as x}from"@extscreen/es3-core";function L(e,t){const n=Object.create(null),o=e.split(",");for(let e=0;e<o.length;e++)n[o[e]]=!0;return t?e=>!!n[e.toLowerCase()]:e=>!!n[e]}const C="production"!==process.env.NODE_ENV?Object.freeze({}):{};"production"===process.env.NODE_ENV||Object.freeze([]);const D=()=>{},k=/^on[^a-z]/,N=e=>k.test(e),O=Object.assign,w=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},B=Object.prototype.hasOwnProperty,M=(e,t)=>B.call(e,t),$=Array.isArray,V=e=>"[object Map]"===j(e),W=e=>"[object Set]"===j(e),Q=e=>"function"==typeof e,z=e=>"string"==typeof e,G=e=>"symbol"==typeof e,Y=e=>null!==e&&"object"==typeof e,q=e=>(Y(e)||Q(e))&&Q(e.then)&&Q(e.catch),H=Object.prototype.toString,j=e=>H.call(e),K=e=>j(e).slice(8,-1),X=e=>"[object Object]"===j(e),J=e=>z(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,Z=(e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))})((e=>e.charAt(0).toUpperCase()+e.slice(1))),ee=(e,t)=>!Object.is(e,t),te=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})};let ne;const oe=()=>ne||(ne="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{});function ae(e){if($(e)){const t={};for(let n=0;n<e.length;n++){const o=e[n],a=z(o)?se(o):ae(o);if(a)for(const e in a)t[e]=a[e]}return t}if(z(e)||Y(e))return e}const ie=/;(?![^(]*\))/g,le=/:([^]+)/,ce=/\/\*[^]*?\*\//g;function se(e){const t={};return e.replace(ce,"").split(ie).forEach((e=>{if(e){const n=e.split(le);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}function ue(e){let t="";if(z(e))t=e;else if($(e))for(let n=0;n<e.length;n++){const o=ue(e[n]);o&&(t+=o+" ")}else if(Y(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function re(e,...t){console.warn(`[Vue warn] ${e}`,...t)}let de;const fe=e=>{const t=new Set(e);return t.w=0,t.n=0,t},pe=e=>(e.w&Te)>0,ge=e=>(e.n&Te)>0,Ie=new WeakMap;let me=0,Te=1;const ve=30;let he;const _e=Symbol("production"!==process.env.NODE_ENV?"iterate":""),Fe=Symbol("production"!==process.env.NODE_ENV?"Map key iterate":"");class Se{constructor(e,t=null,n){this.fn=e,this.scheduler=t,this.active=!0,this.deps=[],this.parent=void 0,function(e,t=de){t&&t.active&&t.effects.push(e)}(this,n)}run(){if(!this.active)return this.fn();let e=he,t=Ee;for(;e;){if(e===this)return;e=e.parent}try{return this.parent=he,he=this,Ee=!0,Te=1<<++me,me<=ve?(({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=Te})(this):be(this),this.fn()}finally{me<=ve&&(e=>{const{deps:t}=e;if(t.length){let n=0;for(let o=0;o<t.length;o++){const a=t[o];pe(a)&&!ge(a)?a.delete(e):t[n++]=a,a.w&=~Te,a.n&=~Te}t.length=n}})(this),Te=1<<--me,he=this.parent,Ee=t,this.parent=void 0,this.deferStop&&this.stop()}}stop(){he===this?this.deferStop=!0:this.active&&(be(this),this.onStop&&this.onStop(),this.active=!1)}}function be(e){const{deps:t}=e;if(t.length){for(let n=0;n<t.length;n++)t[n].delete(e);t.length=0}}let Ee=!0;const ye=[];function Pe(){ye.push(Ee),Ee=!1}function Ae(){const e=ye.pop();Ee=void 0===e||e}function Re(e,t,n){if(Ee&&he){let o=Ie.get(e);o||Ie.set(e,o=new Map);let a=o.get(n);a||o.set(n,a=fe());!function(e,t){let n=!1;me<=ve?ge(e)||(e.n|=Te,n=!pe(e)):n=!e.has(he);n&&(e.add(he),he.deps.push(e),"production"!==process.env.NODE_ENV&&he.onTrack&&he.onTrack(O({effect:he},t)))}(a,"production"!==process.env.NODE_ENV?{effect:he,target:e,type:t,key:n}:void 0)}}function Ue(e,t,n,o,a,i){const l=Ie.get(e);if(!l)return;let c=[];if("clear"===t)c=[...l.values()];else if("length"===n&&$(e)){const e=Number(o);l.forEach(((t,n)=>{("length"===n||!G(n)&&n>=e)&&c.push(t)}))}else switch(void 0!==n&&c.push(l.get(n)),t){case"add":$(e)?J(n)&&c.push(l.get("length")):(c.push(l.get(_e)),V(e)&&c.push(l.get(Fe)));break;case"delete":$(e)||(c.push(l.get(_e)),V(e)&&c.push(l.get(Fe)));break;case"set":V(e)&&c.push(l.get(_e))}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?xe(c[0],s):xe(c[0]));else{const e=[];for(const t of c)t&&e.push(...t);"production"!==process.env.NODE_ENV?xe(fe(e),s):xe(fe(e))}}function xe(e,t){const n=$(e)?e:[...e];for(const e of n)e.computed&&Le(e,t);for(const e of n)e.computed||Le(e,t)}function Le(e,t){(e!==he||e.allowRecurse)&&("production"!==process.env.NODE_ENV&&e.onTrigger&&e.onTrigger(O({effect:e},t)),e.scheduler?e.scheduler():e.run())}const Ce=L("__proto__,__v_isRef,__isVue"),De=new Set(Object.getOwnPropertyNames(Symbol).filter((e=>"arguments"!==e&&"caller"!==e)).map((e=>Symbol[e])).filter(G)),ke=Ne();function Ne(){const e={};return["includes","indexOf","lastIndexOf"].forEach((t=>{e[t]=function(...e){const n=bt(this);for(let e=0,t=this.length;e<t;e++)Re(n,"get",e+"");const o=n[t](...e);return-1===o||!1===o?n[t](...e.map(bt)):o}})),["push","pop","shift","unshift","splice"].forEach((t=>{e[t]=function(...e){Pe();const n=bt(this)[t].apply(this,e);return Ae(),n}})),e}function Oe(e){const t=bt(this);return Re(t,"has",e),t.hasOwnProperty(e)}class we{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?gt:pt:a?ft:dt).get(e))return e;const i=$(e);if(!o){if(i&&M(ke,t))return Reflect.get(ke,t,n);if("hasOwnProperty"===t)return Oe}const l=Reflect.get(e,t,n);return(G(t)?De.has(t):Ce(t))?l:(o||Re(e,"get",t),a?l:Pt(l)?i&&J(t)?l:l.value:Y(l)?o?mt(l):It(l):l)}}class Be extends we{constructor(e=!1){super(!1,e)}set(e,t,n,o){let a=e[t];if(_t(a)&&Pt(a)&&!Pt(n))return!1;if(!this._shallow&&(Ft(n)||_t(n)||(a=bt(a),n=bt(n)),!$(e)&&Pt(a)&&!Pt(n)))return a.value=n,!0;const i=$(e)&&J(t)?Number(t)<e.length:M(e,t),l=Reflect.set(e,t,n,o);return e===bt(o)&&(i?ee(n,a)&&Ue(e,"set",t,n,a):Ue(e,"add",t,n)),l}deleteProperty(e,t){const n=M(e,t),o=e[t],a=Reflect.deleteProperty(e,t);return a&&n&&Ue(e,"delete",t,void 0,o),a}has(e,t){const n=Reflect.has(e,t);return G(t)&&De.has(t)||Re(e,"has",t),n}ownKeys(e){return Re(e,"iterate",$(e)?"length":_e),Reflect.ownKeys(e)}}class Me extends we{constructor(e=!1){super(!0,e)}set(e,t){return"production"!==process.env.NODE_ENV&&re(`Set operation on key "${String(t)}" failed: target is readonly.`,e),!0}deleteProperty(e,t){return"production"!==process.env.NODE_ENV&&re(`Delete operation on key "${String(t)}" failed: target is readonly.`,e),!0}}const $e=new Be,Ve=new Me,We=new Me(!0),Qe=e=>e,ze=e=>Reflect.getPrototypeOf(e);function Ge(e,t,n=!1,o=!1){const a=bt(e=e.__v_raw),i=bt(t);n||(ee(t,i)&&Re(a,"get",t),Re(a,"get",i));const{has:l}=ze(a),c=o?Qe:n?yt:Et;return l.call(a,t)?c(e.get(t)):l.call(a,i)?c(e.get(i)):void(e!==a&&e.get(t))}function Ye(e,t=!1){const n=this.__v_raw,o=bt(n),a=bt(e);return t||(ee(e,a)&&Re(o,"has",e),Re(o,"has",a)),e===a?n.has(e):n.has(e)||n.has(a)}function qe(e,t=!1){return e=e.__v_raw,!t&&Re(bt(e),"iterate",_e),Reflect.get(e,"size",e)}function He(e){e=bt(e);const t=bt(this);return ze(t).has.call(t,e)||(t.add(e),Ue(t,"add",e,e)),this}function je(e,t){t=bt(t);const n=bt(this),{has:o,get:a}=ze(n);let i=o.call(n,e);i?"production"!==process.env.NODE_ENV&&rt(n,o,e):(e=bt(e),i=o.call(n,e));const l=a.call(n,e);return n.set(e,t),i?ee(t,l)&&Ue(n,"set",e,t,l):Ue(n,"add",e,t),this}function Ke(e){const t=bt(this),{has:n,get:o}=ze(t);let a=n.call(t,e);a?"production"!==process.env.NODE_ENV&&rt(t,n,e):(e=bt(e),a=n.call(t,e));const i=o?o.call(t,e):void 0,l=t.delete(e);return a&&Ue(t,"delete",e,void 0,i),l}function Xe(){const e=bt(this),t=0!==e.size,n="production"!==process.env.NODE_ENV?V(e)?new Map(e):new Set(e):void 0,o=e.clear();return t&&Ue(e,"clear",void 0,void 0,n),o}function Je(e,t){return function(n,o){const a=this,i=a.__v_raw,l=bt(i),c=t?Qe:e?yt:Et;return!e&&Re(l,"iterate",_e),i.forEach(((e,t)=>n.call(o,c(e),c(t),a)))}}function Ze(e,t,n){return function(...o){const a=this.__v_raw,i=bt(a),l=V(i),c="entries"===e||e===Symbol.iterator&&l,s="keys"===e&&l,u=a[e](...o),r=n?Qe:t?yt:Et;return!t&&Re(i,"iterate",s?Fe:_e),{next(){const{value:e,done:t}=u.next();return t?{value:e,done:t}:{value:c?[r(e[0]),r(e[1])]:r(e),done:t}},[Symbol.iterator](){return this}}}}function et(e){return function(...t){if("production"!==process.env.NODE_ENV){const n=t[0]?`on key "${t[0]}" `:"";console.warn(`${Z(e)} operation ${n}failed: target is readonly.`,bt(this))}return"delete"!==e&&this}}function tt(){const e={get(e){return Ge(this,e)},get size(){return qe(this)},has:Ye,add:He,set:je,delete:Ke,clear:Xe,forEach:Je(!1,!1)},t={get(e){return Ge(this,e,!1,!0)},get size(){return qe(this)},has:Ye,add:He,set:je,delete:Ke,clear:Xe,forEach:Je(!1,!0)},n={get(e){return Ge(this,e,!0)},get size(){return qe(this,!0)},has(e){return Ye.call(this,e,!0)},add:et("add"),set:et("set"),delete:et("delete"),clear:et("clear"),forEach:Je(!0,!1)},o={get(e){return Ge(this,e,!0,!0)},get size(){return qe(this,!0)},has(e){return Ye.call(this,e,!0)},add:et("add"),set:et("set"),delete:et("delete"),clear:et("clear"),forEach:Je(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach((a=>{e[a]=Ze(a,!1,!1),n[a]=Ze(a,!0,!1),t[a]=Ze(a,!1,!0),o[a]=Ze(a,!0,!0)})),[e,n,t,o]}const[nt,ot,at,it]=tt();function lt(e,t){const n=t?e?it:at:e?ot:nt;return(t,o,a)=>"__v_isReactive"===o?!e:"__v_isReadonly"===o?e:"__v_raw"===o?t:Reflect.get(M(n,o)&&o in t?n:t,o,a)}const ct={get:lt(!1,!1)},st={get:lt(!0,!1)},ut={get:lt(!0,!0)};function rt(e,t,n){const o=bt(n);if(o!==n&&t.call(e,o)){const t=K(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 dt=new WeakMap,ft=new WeakMap,pt=new WeakMap,gt=new WeakMap;function It(e){return _t(e)?e:vt(e,!1,$e,ct,dt)}function mt(e){return vt(e,!0,Ve,st,pt)}function Tt(e){return vt(e,!0,We,ut,gt)}function vt(e,t,n,o,a){if(!Y(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}}(K(c));var c;if(0===l)return e;const s=new Proxy(e,2===l?o:n);return a.set(e,s),s}function ht(e){return _t(e)?ht(e.__v_raw):!(!e||!e.__v_isReactive)}function _t(e){return!(!e||!e.__v_isReadonly)}function Ft(e){return!(!e||!e.__v_isShallow)}function St(e){return ht(e)||_t(e)}function bt(e){const t=e&&e.__v_raw;return t?bt(t):e}const Et=e=>Y(e)?It(e):e,yt=e=>Y(e)?mt(e):e;function Pt(e){return!(!e||!0!==e.__v_isRef)}const At={get:(e,t,n)=>{return Pt(o=Reflect.get(e,t,n))?o.value:o;var o},set:(e,t,n,o)=>{const a=e[t];return Pt(a)&&!Pt(n)?(a.value=n,!0):Reflect.set(e,t,n,o)}};const Rt=[];function Ut(e,...t){if("production"===process.env.NODE_ENV)return;Pe();const n=Rt.length?Rt[Rt.length-1].component:null,o=n&&n.appContext.config.warnHandler,a=function(){let e=Rt[Rt.length-1];if(!e)return[];const t=[];for(;e;){const n=t[0];n&&n.vnode===e?n.recurseCount++:t.push({vnode:e,recurseCount:0});const o=e.component&&e.component.parent;e=o&&o.vnode}return t}();if(o)Dt(o,n,11,[e+t.join(""),n&&n.proxy,a.map((({vnode:e})=>`at <${Kn(n,e.type)}>`)).join("\n"),a]);else{const n=[`[Vue warn]: ${e}`,...t];a.length&&n.push("\n",...function(e){const t=[];return e.forEach(((e,n)=>{t.push(...0===n?[]:["\n"],...function({vnode:e,recurseCount:t}){const n=t>0?`... (${t} recursive calls)`:"",o=!!e.component&&null==e.component.parent,a=` at <${Kn(e.component,e.type,o)}`,i=">"+n;return e.props?[a,...xt(e.props),i]:[a+i]}(e))})),t}(a)),console.warn(...n)}Ae()}function xt(e){const t=[],n=Object.keys(e);return n.slice(0,3).forEach((n=>{t.push(...Lt(n,e[n]))})),n.length>3&&t.push(" ..."),t}function Lt(e,t,n){return z(t)?(t=JSON.stringify(t),n?t:[`${e}=${t}`]):"number"==typeof t||"boolean"==typeof t||null==t?n?t:[`${e}=${t}`]:Pt(t)?(t=Lt(e,bt(t.value),!0),n?t:[`${e}=Ref<`,t,">"]):Q(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=bt(t),n?t:[`${e}=`,t])}const Ct={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",0:"setup function",1:"render function",2:"watcher getter",3:"watcher callback",4:"watcher cleanup function",5:"native event handler",6:"component event handler",7:"vnode hook",8:"directive hook",9:"transition hook",10:"app errorHandler",11:"app warnHandler",12:"ref function",13:"async component loader",14:"scheduler flush. This is likely a Vue internals bug. Please open an issue at https://new-issue.vuejs.org/?repo=vuejs/core"};function Dt(e,t,n,o){let a;try{a=o?e(...o):e()}catch(e){Nt(e,t,n)}return a}function kt(e,t,n,o){if(Q(e)){const a=Dt(e,t,n,o);return a&&q(a)&&a.catch((e=>{Nt(e,t,n)})),a}const a=[];for(let i=0;i<e.length;i++)a.push(kt(e[i],t,n,o));return a}function Nt(e,t,n,o=!0){const a=t?t.vnode:null;if(t){let o=t.parent;const a=t.proxy,i="production"!==process.env.NODE_ENV?Ct[n]:n;for(;o;){const t=o.ec;if(t)for(let n=0;n<t.length;n++)if(!1===t[n](e,a,i))return;o=o.parent}const l=t.appContext.config.errorHandler;if(l)return void Dt(l,null,10,[e,a,i])}!function(e,t,n,o=!0){if("production"!==process.env.NODE_ENV){const i=Ct[t];if(n&&(a=n,Rt.push(a)),Ut("Unhandled error"+(i?` during execution of ${i}`:"")),n&&Rt.pop(),o)throw e;console.error(e)}else console.error(e);var a}(e,n,a,o)}let Ot=!1,wt=!1;const Bt=[];let Mt=0;const $t=[];let Vt=null,Wt=0;const Qt=Promise.resolve();let zt=null;const Gt=100;function Yt(e){const t=zt||Qt;return e?t.then(this?e.bind(this):e):t}function qt(e){Bt.length&&Bt.includes(e,Ot&&e.allowRecurse?Mt+1:Mt)||(null==e.id?Bt.push(e):Bt.splice(function(e){let t=Mt+1,n=Bt.length;for(;t<n;){const o=t+n>>>1,a=Bt[o],i=Kt(a);i<e||i===e&&a.pre?t=o+1:n=o}return t}(e.id),0,e),Ht())}function Ht(){Ot||wt||(wt=!0,zt=Qt.then(Jt))}function jt(e){$(e)?$t.push(...e):Vt&&Vt.includes(e,e.allowRecurse?Wt+1:Wt)||$t.push(e),Ht()}const Kt=e=>null==e.id?1/0:e.id,Xt=(e,t)=>{const n=Kt(e)-Kt(t);if(0===n){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Jt(e){wt=!1,Ot=!0,"production"!==process.env.NODE_ENV&&(e=e||new Map),Bt.sort(Xt);const t="production"!==process.env.NODE_ENV?t=>Zt(e,t):D;try{for(Mt=0;Mt<Bt.length;Mt++){const e=Bt[Mt];if(e&&!1!==e.active){if("production"!==process.env.NODE_ENV&&t(e))continue;Dt(e,null,14)}}}finally{Mt=0,Bt.length=0,function(e){if($t.length){const t=[...new Set($t)];if($t.length=0,Vt)return void Vt.push(...t);for(Vt=t,"production"!==process.env.NODE_ENV&&(e=e||new Map),Vt.sort(((e,t)=>Kt(e)-Kt(t))),Wt=0;Wt<Vt.length;Wt++)"production"!==process.env.NODE_ENV&&Zt(e,Vt[Wt])||Vt[Wt]();Vt=null,Wt=0}}(e),Ot=!1,zt=null,(Bt.length||$t.length)&&Jt(e)}}function Zt(e,t){if(e.has(t)){const n=e.get(t);if(n>Gt){const e=t.ownerInstance,n=e&&jn(e.type);return Ut(`Maximum recursive updates exceeded${n?` in component <${n}>`:""}. This means you have a reactive effect that is mutating its own dependencies and thus recursively triggering itself. Possible sources include component template, render function, updated hook or watcher source function.`),!0}e.set(t,n+1)}else e.set(t,1)}const en=new Set;"production"!==process.env.NODE_ENV&&(oe().__VUE_HMR_RUNTIME__={createRecord:an((function(e,t){if(tn.has(e))return!1;return tn.set(e,{initialDef:nn(t),instances:new Set}),!0})),rerender:an((function(e,t){const n=tn.get(e);if(!n)return;n.initialDef.render=t,[...n.instances].forEach((e=>{t&&(e.render=t,nn(e.type).render=t),e.renderCache=[],e.update()}))})),reload:an((function(e,t){const n=tn.get(e);if(!n)return;t=nn(t),on(n.initialDef,t);const o=[...n.instances];for(const e of o){const o=nn(e.type);en.has(o)||(o!==n.initialDef&&on(o,t),en.add(o)),e.appContext.propsCache.delete(e.type),e.appContext.emitsCache.delete(e.type),e.appContext.optionsCache.delete(e.type),e.ceReload?(en.add(o),e.ceReload(t.styles),en.delete(o)):e.parent?qt(e.parent.update):e.appContext.reload?e.appContext.reload():"undefined"!=typeof window?window.location.reload():console.warn("[HMR] Root or manually mounted instance modified. Full reload required.")}jt((()=>{for(const e of o)en.delete(nn(e.type))}))}))});const tn=new Map;function nn(e){return Xn(e)?e.__vccOpts:e}function on(e,t){O(e,t);for(const n in e)"__file"===n||n in t||delete e[n]}function an(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 ln=null,cn=null;const sn=Symbol.for("v-ndc");const un={};function rn(e,t,{immediate:n,deep:o,flush:a,onTrack:i,onTrigger:l}=C){var c;"production"===process.env.NODE_ENV||t||(void 0!==n&&Ut('watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.'),void 0!==o&&Ut('watch() "deep" option is only respected when using the watch(source, callback, options?) signature.'));const s=e=>{Ut("Invalid watch source: ",e,"A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types.")},u=de===(null==(c=Qn)?void 0:c.scope)?Qn:null;let r,d,f=!1,p=!1;if(Pt(e)?(r=()=>e.value,f=Ft(e)):ht(e)?(r=()=>e,o=!0):$(e)?(p=!0,f=e.some((e=>ht(e)||Ft(e))),r=()=>e.map((e=>Pt(e)?e.value:ht(e)?fn(e):Q(e)?Dt(e,u,2):void("production"!==process.env.NODE_ENV&&s(e))))):Q(e)?r=t?()=>Dt(e,u,2):()=>{if(!u||!u.isUnmounted)return d&&d(),kt(e,u,3,[g])}:(r=D,"production"!==process.env.NODE_ENV&&s(e)),t&&o){const e=r;r=()=>fn(e())}let g=e=>{d=v.onStop=()=>{Dt(e,u,4)}},I=p?new Array(e.length).fill(un):un;const m=()=>{if(v.active)if(t){const e=v.run();(o||f||(p?e.some(((e,t)=>ee(e,I[t]))):ee(e,I)))&&(d&&d(),kt(t,u,3,[e,I===un?void 0:p&&I[0]===un?[]:I,g]),I=e)}else v.run()};let T;m.allowRecurse=!!t,"sync"===a?T=m:"post"===a?T=()=>An(m,u&&u.suspense):(m.pre=!0,u&&(m.id=u.uid),T=()=>qt(m));const v=new Se(r,T);"production"!==process.env.NODE_ENV&&(v.onTrack=i,v.onTrigger=l),t?n?m():I=v.run():"post"===a?An(v.run.bind(v),u&&u.suspense):v.run();return()=>{v.stop(),u&&u.scope&&w(u.scope.effects,v)}}function dn(e,t,n){const o=this.proxy,a=z(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;Q(t)?i=t:(i=t.handler,n=t);const l=Qn;Gn(this);const c=rn(a,i.bind(o),n);return l?Gn(l):Yn(),c}function fn(e,t){if(!Y(e)||e.__v_skip)return e;if((t=t||new Set).has(e))return e;if(t.add(e),Pt(e))fn(e.value,t);else if($(e))for(let n=0;n<e.length;n++)fn(e[n],t);else if(W(e)||V(e))e.forEach((e=>{fn(e,t)}));else if(X(e))for(const n in e)fn(e[n],t);return e}
|
|
2
|
-
/*! #__NO_SIDE_EFFECTS__ */function pn(e,t){return Q(e)?(()=>O({name:e.name},t,{setup:e}))():e}const gn=e=>e?4&e.vnode.shapeFlag?function(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy((n=e.exposed,te(n,"__v_skip",!0),ht(t=n)?t:new Proxy(t,At)),{get:(t,n)=>n in t?t[n]:n in In?In[n](e):void 0,has:(e,t)=>t in e||t in In}));var t;var n}(e)||e.proxy:gn(e.parent):null,In=O(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>"production"!==process.env.NODE_ENV?Tt(e.props):e.props,$attrs:e=>"production"!==process.env.NODE_ENV?Tt(e.attrs):e.attrs,$slots:e=>"production"!==process.env.NODE_ENV?Tt(e.slots):e.slots,$refs:e=>"production"!==process.env.NODE_ENV?Tt(e.refs):e.refs,$parent:e=>gn(e.parent),$root:e=>gn(e.root),$emit:e=>e.emit,$options:e=>__VUE_OPTIONS_API__?function(e){const t=e.type,{mixins:n,extends:o}=t,{mixins:a,optionsCache:i,config:{optionMergeStrategies:l}}=e.appContext,c=i.get(t);let s;c?s=c:a.length||n||o?(s={},a.length&&a.forEach((e=>_n(s,e,l,!0))),_n(s,t,l)):s=t;Y(t)&&i.set(t,s);return s}(e):e.type,$forceUpdate:e=>e.f||(e.f=()=>qt(e.update)),$nextTick:e=>e.n||(e.n=Yt.bind(e.proxy)),$watch:e=>__VUE_OPTIONS_API__?dn.bind(e):D}),mn=(e,t)=>e!==C&&!e.__isScriptSetup&&M(e,t),Tn={get({_:e},t){const{ctx:n,setupState:o,data:a,props:i,accessCache:l,type:c,appContext:s}=e;if("production"!==process.env.NODE_ENV&&"__isVue"===t)return!0;let u;if("$"!==t[0]){const c=l[t];if(void 0!==c)switch(c){case 1:return o[t];case 2:return a[t];case 4:return n[t];case 3:return i[t]}else{if(mn(o,t))return l[t]=1,o[t];if(a!==C&&M(a,t))return l[t]=2,a[t];if((u=e.propsOptions[0])&&M(u,t))return l[t]=3,i[t];if(n!==C&&M(n,t))return l[t]=4,n[t];__VUE_OPTIONS_API__&&!hn||(l[t]=0)}}const r=In[t];let d,f;return r?("$attrs"===t?(Re(e,"get",t),process.env.NODE_ENV):"production"!==process.env.NODE_ENV&&"$slots"===t&&Re(e,"get",t),r(e)):(d=c.__cssModules)&&(d=d[t])?d:n!==C&&M(n,t)?(l[t]=4,n[t]):(f=s.config.globalProperties,M(f,t)?f[t]:void("production"===process.env.NODE_ENV||!ln||z(t)&&0===t.indexOf("__v")||(a!==C&&(e=>"_"===e||"$"===e)(t[0])&&M(a,t)?Ut(`Property ${JSON.stringify(t)} must be accessed via $data because it starts with a reserved character ("$" or "_") and is not proxied on the render context.`):e===ln&&Ut(`Property ${JSON.stringify(t)} was accessed during render but is not defined on instance.`))))},set({_:e},t,n){const{data:o,setupState:a,ctx:i}=e;return mn(a,t)?(a[t]=n,!0):"production"!==process.env.NODE_ENV&&a.__isScriptSetup&&M(a,t)?(Ut(`Cannot mutate <script setup> binding "${t}" from Options API.`),!1):o!==C&&M(o,t)?(o[t]=n,!0):M(e.props,t)?("production"!==process.env.NODE_ENV&&Ut(`Attempting to mutate prop "${t}". Props are readonly.`),!1):"$"===t[0]&&t.slice(1)in e?("production"!==process.env.NODE_ENV&&Ut(`Attempting to mutate public property "${t}". Properties starting with $ are reserved and readonly.`),!1):("production"!==process.env.NODE_ENV&&t in e.appContext.config.globalProperties?Object.defineProperty(i,t,{enumerable:!0,configurable:!0,value:n}):i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:o,appContext:a,propsOptions:i}},l){let c;return!!n[l]||e!==C&&M(e,l)||mn(t,l)||(c=i[0])&&M(c,l)||M(o,l)||M(In,l)||M(a.config.globalProperties,l)},defineProperty(e,t,n){return null!=n.get?e._.accessCache[t]=0:M(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function vn(e){return $(e)?e.reduce(((e,t)=>(e[t]=null,e)),{}):e}"production"!==process.env.NODE_ENV&&(Tn.ownKeys=e=>(Ut("Avoid app logic that relies on enumerating keys on a component instance. The keys will be empty in production mode to avoid performance overhead."),Reflect.ownKeys(e)));let hn=!0;function _n(e,t,n,o=!1){const{mixins:a,extends:i}=t;i&&_n(e,i,n,!0),a&&a.forEach((t=>_n(e,t,n,!0)));for(const a in t)if(o&&"expose"===a)"production"!==process.env.NODE_ENV&&Ut('"expose" option is ignored when declared in mixins or extends. It should only be declared in the base component itself.');else{const o=Fn[a]||n&&n[a];e[a]=o?o(e[a],t[a]):t[a]}return e}const Fn={data:Sn,props:Pn,emits:Pn,methods:yn,computed:yn,beforeCreate:En,created:En,beforeMount:En,mounted:En,beforeUpdate:En,updated:En,beforeDestroy:En,beforeUnmount:En,destroyed:En,unmounted:En,activated:En,deactivated:En,errorCaptured:En,serverPrefetch:En,components:yn,directives:yn,watch:function(e,t){if(!e)return t;if(!t)return e;const n=O(Object.create(null),e);for(const o in t)n[o]=En(e[o],t[o]);return n},provide:Sn,inject:function(e,t){return yn(bn(e),bn(t))}};function Sn(e,t){return t?e?function(){return O(Q(e)?e.call(this,this):e,Q(t)?t.call(this,this):t)}:t:e}function bn(e){if($(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function En(e,t){return e?[...new Set([].concat(e,t))]:t}function yn(e,t){return e?O(Object.create(null),e,t):t}function Pn(e,t){return e?$(e)&&$(t)?[...new Set([...e,...t])]:O(Object.create(null),vn(e),vn(null!=t?t:{})):t}const An=function(e,t){t&&t.pendingBranch?$(e)?t.effects.push(...e):t.effects.push(e):jt(e)},Rn=Symbol.for("v-fgt"),Un=Symbol.for("v-txt"),xn=Symbol.for("v-cmt");let Ln=null;const Cn="__vInternal",Dn=({key:e})=>null!=e?e:null,kn=({ref:e,ref_key:t,ref_for:n})=>("number"==typeof e&&(e=""+e),null!=e?z(e)||Pt(e)||Q(e)?{i:ln,r:e,k:t,f:!!n}:e:null);const Nn="production"!==process.env.NODE_ENV?(...e)=>On(...e):On;function On(e,t=null,n=null,o=0,a=null,i=!1){if(e&&e!==sn||("production"===process.env.NODE_ENV||e||Ut(`Invalid vnode type when creating vnode: ${e}.`),e=xn),(l=e)&&!0===l.__v_isVNode){const o=wn(e,t,!0);return n&&$n(o,n),!i&&Ln&&(6&o.shapeFlag?Ln[Ln.indexOf(e)]=o:Ln.push(o)),o.patchFlag|=-2,o}var l;if(Xn(e)&&(e=e.__vccOpts),t){t=function(e){return e?St(e)||Cn in e?O({},e):e:null}(t);let{class:e,style:n}=t;e&&!z(e)&&(t.class=ue(e)),Y(n)&&(St(n)&&!$(n)&&(n=O({},n)),t.style=ae(n))}const c=z(e)?1:(e=>e.__isSuspense)(e)?128:(e=>e.__isTeleport)(e)?64:Y(e)?4:Q(e)?2:0;return"production"!==process.env.NODE_ENV&&4&c&&St(e)&&Ut("Vue received a Component which was made a reactive object. This can lead to unnecessary performance overhead, and should be avoided by marking the component with `markRaw` or using `shallowRef` instead of `ref`.","\nComponent that was made reactive: ",e=bt(e)),function(e,t=null,n=null,o=0,a=null,i=(e===Rn?0:1),l=!1,c=!1){const s={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Dn(t),ref:t&&kn(t),scopeId:cn,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:ln};return c?($n(s,n),128&i&&e.normalize(s)):n&&(s.shapeFlag|=z(n)?8:16),"production"!==process.env.NODE_ENV&&s.key!=s.key&&Ut("VNode created with invalid key (NaN). VNode type:",s.type),!l&&Ln&&(s.patchFlag>0||6&i)&&32!==s.patchFlag&&Ln.push(s),s}(e,t,n,o,a,c,i,!0)}function wn(e,t,n=!1){const{props:o,ref:a,patchFlag:i,children:l}=e,c=t?function(...e){const t={};for(let n=0;n<e.length;n++){const o=e[n];for(const e in o)if("class"===e)t.class!==o.class&&(t.class=ue([t.class,o.class]));else if("style"===e)t.style=ae([t.style,o.style]);else if(N(e)){const n=t[e],a=o[e];!a||n===a||$(n)&&n.includes(a)||(t[e]=n?[].concat(n,a):a)}else""!==e&&(t[e]=o[e])}return t}(o||{},t):o;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&Dn(c),ref:t&&t.ref?n&&a?$(a)?a.concat(kn(t)):[a,kn(t)]:kn(t):a,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:"production"!==process.env.NODE_ENV&&-1===i&&$(l)?l.map(Bn):l,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Rn?-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&&wn(e.ssContent),ssFallback:e.ssFallback&&wn(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function Bn(e){const t=wn(e);return $(e.children)&&(t.children=e.children.map(Bn)),t}function Mn(e=" ",t=0){return Nn(Un,null,e,t)}function $n(e,t){let n=0;const{shapeFlag:o}=e;if(null==t)t=null;else if($(t))n=16;else if("object"==typeof t){if(65&o){const n=t.default;return void(n&&(n._c&&(n._d=!1),$n(e,n()),n._c&&(n._d=!0)))}{n=32;const o=t._;o||Cn in t?3===o&&ln&&(1===ln.slots._?t._=1:(t._=2,e.patchFlag|=1024)):t._ctx=ln}}else Q(t)?(t={default:t,_ctx:ln},n=32):(t=String(t),64&o?(n=16,t=[Mn(t)]):n=8);e.children=t,e.shapeFlag|=n}let Vn,Wn,Qn=null,zn="__VUE_INSTANCE_SETTERS__";(Wn=oe()[zn])||(Wn=oe()[zn]=[]),Wn.push((e=>Qn=e)),Vn=e=>{Wn.length>1?Wn.forEach((t=>t(e))):Wn[0](e)};const Gn=e=>{Vn(e),e.scope.on()},Yn=()=>{Qn&&Qn.scope.off(),Vn(null)};const qn=/(?:^|[-_])(\w)/g,Hn=e=>e.replace(qn,(e=>e.toUpperCase())).replace(/[-_]/g,"");function jn(e,t=!0){return Q(e)?e.displayName||e.name:e.name||t&&e.__name}function Kn(e,t,n=!1){let o=jn(t);if(!o&&t.__file){const e=t.__file.match(/([^/\\]+)\.\w+$/);e&&(o=e[1])}if(!o&&e&&e.parent){const n=e=>{for(const n in e)if(e[n]===t)return n};o=n(e.components||e.parent.type.components)||n(e.appContext.components)}return o?Hn(o):n?"App":"Anonymous"}function Xn(e){return Q(e)&&"__vccOpts"in e}var Jn=pn({name:"qt-view",emits:["clearFocus"],setup(t,n){const o=e();return{clearFocus:()=>{P.callUIFunction(o.value,"clearFocus")},requestFocus:()=>{P.callUIFunction(o.value,"requestFocus")},requestFocusDirectly:()=>{P.callUIFunction(o.value,"requestFocusDirectly")},viewRef:o}}});const Zn={clipChildren:!1,ref:"viewRef"};Jn.render=function(e,a,i,l,c,s){return t(),n("div",Zn,[o(e.$slots,"default")],512)},Jn.__file="src/view/index.vue";var eo=pn({name:"qt-text"});eo.render=function(e,n,o,l,c,s){const u=a("text-view");return t(),i(u)},eo.__file="src/text/index.vue";var to=pn({name:"qt-image"});const no={src:"",alt:"",clipChildren:!1};to.render=function(e,o,a,i,l,c){return t(),n("img",no)},to.__file="src/image/index.vue";var oo=pn({name:"qt-column"});const ao={class:"qt-ui-row-css",clipChildren:!1};oo.render=function(e,a,i,l,c,s){return t(),n("div",ao,[o(e.$slots,"default")])},oo.__scopeId="data-v-734c04b2",oo.__file="src/column/index.vue";var io=pn({name:"qt-row"});const lo={class:"qt-ui-row-css",clipChildren:!1};io.render=function(e,a,i,l,c,s){return t(),n("div",lo,[o(e.$slots,"default")])},io.__scopeId="data-v-9c454b58",io.__file="src/row/index.vue";var co=l({name:"qt-button",props:{size:{type:String,default:"default"},itemType:{type:Number,default:2e4},focusBorder:{type:Boolean,default:!1},focusScale:{type:Number,default:1.08},focusable:{type:Boolean,default:!0},enableFlexStyle:{type:Boolean,default:!1},icon:{type:String,default:null},focusIcon:{type:String,default:null},text:{type:String,default:""},gradientFocusBackground:{type:Object,default:()=>{}},gradientSelectedBackground:{type:Object,default:()=>null},gradientBackground:{type:Object,default:()=>null},disabled:Boolean,circle:Boolean,round:Boolean,square:Boolean,buttonStyle:Object,textStyle:Object,iconStyle:Object,focusIconStyle:Object,iconParentStyle:Object},emits:["focus","click"],setup(t,n){const o=e(),a=e(!1);return{focused:a,requestFocus:function(){P.callUIFunction(o.value,"requestFocus",[])},requestFocusDirectly:function(){P.callUIFunction(o.value,"requestFocusDirectly",[])},onFocus:function(e){console.log("--------XXXXXXXXXXXXXXXXX--------------\x3e>>",a.value),a.value=e.isFocused,n.emit("focus",e.isFocused)},onClick:function(e){n.emit("click")}}}});const so=["focusable","enableFocusBorder","focusScale"],uo=["gradientBackground"],ro=["gradientBackground"],fo=["gradientBackground"],po=["src"],go=["src"];function Io(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})}))}co.render=function(e,l,d,f,p,g){const I=a("text-view");return t(),n("div",{ref:"buttonRef",clipChildren:!1,focusable:e.focusable,enableFocusBorder:e.focusBorder,focusScale:e.focusScale,onClick:l[0]||(l[0]=(...t)=>e.onClick&&e.onClick(...t)),name:"textButton",eventClick:"",eventFocus:"",onFocus:l[1]||(l[1]=(...t)=>e.onFocus&&e.onFocus(...t)),style:c(e.buttonStyle),class:s(["quick-button--default",e.size?"quick-button--"+e.size:"",{"is-disabled-button":e.disabled,"is-circle":e.circle,"is-round":e.round,"is-square":e.square}])},[u(" gradient "),e.gradientFocusBackground?(t(),n("div",{key:0,class:"button-gradient-background-css",gradientBackground:e.gradientFocusBackground,focusable:!1,showOnState:"focused"},null,8,uo)):u("v-if",!0),e.gradientSelectedBackground?(t(),n("div",{key:1,class:"button-gradient-background-css",gradientBackground:e.gradientSelectedBackground,focusable:!1,showOnState:"selected"},null,8,ro)):u("v-if",!0),e.gradientBackground?(t(),n("div",{key:2,class:"button-gradient-background-css",gradientBackground:e.gradientBackground,focusable:!1,showOnState:"normal"},null,8,fo)):u("v-if",!0),u(" -----------------------------icon--------------------------------- "),!e.icon&&!e.focusIcon||e.$slots.default?u("v-if",!0):(t(),n("div",{key:3,duplicateParentState:!0,style:c(e.iconParentStyle),flexStyle:"${iconParentStyle}",class:s(["quick-button-icon-parent",e.size?"quick-button-icon--parent"+e.size:""])},[e.icon&&!e.$slots.default?(t(),n("img",{key:0,style:c(e.iconStyle),flexStyle:"${iconStyle}",duplicateParentState:!0,class:s(["quick-button-icon",e.size?"quick-button-icon--"+e.size:"",{"is-square-icon":e.square}]),focusable:!1,src:e.enableFlexStyle?"${"+e.icon+"}":e.icon,showOnState:"normal"},null,14,po)):u("v-if",!0),e.focusIcon&&!e.$slots.default?(t(),n("img",{key:1,style:c(e.focusIconStyle?e.focusIconStyle:e.iconStyle),flexStyle:"${iconStyle}",class:s(["quick-button-icon",e.size?"quick-button-icon--"+e.size:"",{"is-square-icon":e.square}]),focusable:!1,duplicateParentState:!0,src:e.enableFlexStyle?"${"+e.focusIcon+"}":e.focusIcon,showOnState:"focused"},null,14,go)):u("v-if",!0)],6)),u(" ------------------------------------------------------------------- "),u(" text "),e.enableFlexStyle?(t(),i(I,{key:4,style:c(e.textStyle),duplicateParentState:"",class:s([e.size?"quick-button-text--"+e.size:"",{"is-disabled-text":e.disabled,"is-square-text":e.square}]),focusable:!1,text:"${"+e.text+"}",autoWidth:"",autoHeight:""},null,8,["style","class","text"])):e.text&&!e.$slots.default?(t(),n("span",{key:5,style:c(e.textStyle),duplicateParentState:"",class:s([e.size?"quick-button-text--"+e.size:"",{"is-disabled-text":e.disabled,"is-square-text":e.square}]),focusable:!1},r(e.text),7)):u("v-if",!0),o(e.$slots,"default")],46,so)},co.__scopeId="data-v-46a594e4",co.__file="src/button/index.vue";const mo=e=>e.map(vo),To=e=>{const t=Object.keys(e),n={};return t.forEach((t=>{n[t]=vo(e[t])})),n};function vo(e){return e?"object"!=typeof e?e:Array.isArray(e)?mo(e):To(e):e}var ho=l({name:"qt-grid-view",props:{loadMore:{type:Function,default:function(){return[1,1]}},openPage:{type:Boolean,default:!1},spanCount:{type:Number,default:0},pageSize:{type:Number},preloadNo:{type:Number,default:0},defaultFocus:{type:Number,default:-1},areaWidth:{type:Number,default:1200},blockFocusDirections:{type:Array,default:()=>[]}},emits:["item-click","scroll","item-unbind","scroll-state-changed","item-bind","item-focused"],setup(t,n){A(),R();const o=e();let a=e(2.5),i=[],l=[],c=[],s=[],u="",r=-1,p=e(!1),g=-1,I=-1,m=-1,T=-1,v=e(!1);d((()=>{t.openPage&&(r=1,p.value=!1,t.loadMore(r))}));const h=(e,n)=>{n||(U(),i=vo(e),l=e,a.value<2.2?(_(),t.openPage&&t.pageSize&&s.length>=t.pageSize/t.spanCount?o.value.setListDataWithParams(s.concat([{type:1002,decoration:{top:15,left:30}}]),!0,!0):o.value.setListDataWithParams(s,!0,!0)):t.openPage&&t.pageSize&&i.length>=t.pageSize?o.value.setListDataWithParams(i.concat([{type:1002,decoration:{top:15,left:30}}]),!0,!0):o.value.setListDataWithParams(i,!0,!0),t.defaultFocus>-1&&(m&&clearTimeout(m),m=setTimeout((()=>{b(t.defaultFocus),E(t.defaultFocus)}),800)));let d={get(e,n,l){if("__ob__"!=n&&"symbol"!=typeof n&&"map"!=n&&"length"!=n&&"constructor"!=n&&"_isVue"!=n&&"valueOf"!=n&&"toString"!=n&&"observeArray"!=n&&"dep"!=n&&"notify"!=n&&"subs"!=n&&"slice"!=n)if(c.push(n),-1!=c.indexOf("push"))u="push";else{if(-1!=c.indexOf("splice"))return u="splice",function(...t){if(e.splice(...t),a.value<2.2)if(_(),1==t.length||2==t.length)o.value.setListData(s);else if(0==t[1])o.value.setListData(s);else{let e=-1,n=0,a=0;for(let o=0;o<s.length;o++){const i=s[o];if("1003"==i.type)e++,t[0]==e&&(n=o),t[0]+t[1]-1==e&&(a=o);else for(let l=0;l<i.list.length;l++)i.list[l],e++,t[0]==e&&(n=o),t[0]+t[1]-1==e&&(a=o)}o.value.updateItemList(n,a-n+1,s.slice(n,a+1))}else 1==t.length?0==t[0]?o.value.setListData([]):o.value.deleteItem(Number(t[0]),i.length-t[0]):2==t.length?o.value.deleteItem(Number(t[0]),t[1]):t.length>2&&(0==t[1]?a.value>2.29&&P(t[0],t.slice(2)):o.value.updateItemList(t[0],t[1],t.slice(2)));return i.splice(t[0],...t.slice(1)),u="",c=[],Reflect.get(e,n,l)};if(-1!=c.indexOf("pop"))return u="pop",function(){return e.pop(),a.value<2.2?(s[s.length-1].list.length<1&&s.pop(),s[s.length-1].list.pop(),o.value.updateItem(Number(s.length-1),s[s.length-1])):o.value.deleteItem(Number(i.length-1),1),i.pop(),u="",c=[],Reflect.get(e,n,l)};if(-1!=c.indexOf("forEach"))return u="forEach",function(r){return e.forEach((e=>{r(e)})),i=[],i=vo(e),a.value<2.2?(_(),t.openPage&&t.pageSize&&s.length>=t.pageSize&&!p.value?o.value.setListData(s.concat([{type:1002,decoration:{top:15,left:30}}])):o.value.setListData(s)):t.openPage&&t.pageSize&&i.length>=t.pageSize&&!p.value?o.value.setListData(i.concat([{type:1002,decoration:{top:15,left:30}}])):o.value.setListData(i),u="",c=[],Reflect.get(e,n,l)};if(-1!=c.indexOf("concat"))return u="concat",function(f){if("[object Array]"===Object.prototype.toString.call(f))if(e=e.concat(f),i=i.concat(f),a.value<2.2){T&&clearTimeout(T);let e=s.length,n=s.slice(s.length-1)[0];_();let a=s.slice(e);t.openPage&&!p.value?!t.pageSize&&2==r||v.value?T=setTimeout((()=>{o.value.addListData(a.concat([{type:1002,decoration:{top:15,left:30}}])),v.value&&(v.value=!1)}),300):0==a.length||"1003"!=n.type&&n.list.length<t.spanCount?(a=s.slice(e-1),T=setTimeout((()=>{o.value.addListDataWithParams(a.concat([{type:1002,decoration:{top:15,left:30}}]),2)}),300)):T=setTimeout((()=>{o.value.addListDataWithParams(a.concat([{type:1002,decoration:{top:15,left:30}}]),1)}),300):o.value.setListData(s)}else T=t.openPage&&!p.value?!t.pageSize&&2==r||v.value?setTimeout((()=>{o.value.addListData(f.concat([{type:1002,decoration:{top:15,left:30}}])),v.value&&(v.value=!1)}),300):setTimeout((()=>{o.value.addListDataWithParams(f.concat([{type:1002,decoration:{top:15,left:30}}]),1)}),300):setTimeout((()=>{o.value.addListData(f)}),300);else console.log("concat:参数类型必须为数组");return u="",c=[],Reflect.get(e,n,l),new Proxy(e,d)};u=""}const f=Reflect.get(e,n,l);return F(f)&&"__ob__"!=n&&"dep"!=n&&"subs"!=n?h(f,!0):(-1==c.indexOf("push")&&(c=[]),f)},set(e,n,d,f){const g=e[n],I=Reflect.set(e,n,d,f);if((!F(g)&&g!==d||F(g))&&"push"!=u)if(c.push(n),i[c[0]]=l[c[0]],a.value<2.2){let e=c[0],t=-1;for(let n=0;n<s.length;n++){const a=s[n];if("1003"==a.type)t++,t==e&&(s[n]=i[c[0]],o.value.updateItem(Number(n),s[n]));else for(let l=0;l<a.list.length;l++)if(a.list[l],t++,t==e){s[n].list[l]=i[c[0]];let e=s[n].list[l];e.decoration&&(e.decoration.top&&(e.decoration.top=0),e.decoration.bottom&&(e.decoration.bottom=0)),o.value.updateItem(Number(n),s[n])}}}else o.value.updateItem(Number(c[0]),l[c[0]]);if(n&&"push"==u&&g!==d)c.push(n),i.push(d);else{if("push"==u&&c.length>1)if(a.value<2.2){T&&clearTimeout(T);let e=s.length,n=s.slice(s.length-1)[0];_();let a=s.slice(e);t.openPage&&!p.value?!t.pageSize&&2==r||v.value?T=setTimeout((()=>{o.value.addListData(a.concat([{type:1002,decoration:{top:15,left:30}}])),v.value&&(v.value=!1)}),300):0==a.length||"1003"!=n.type&&n.list.length<t.spanCount?(a=s.slice(e-1),T=setTimeout((()=>{o.value.addListDataWithParams(a.concat([{type:1002,decoration:{top:15,left:30}}]),2)}),300)):T=setTimeout((()=>{o.value.addListDataWithParams(a.concat([{type:1002,decoration:{top:15,left:30}}]),1)}),300):o.value.setListData(s)}else{let e=i.slice(c[1]);T&&clearTimeout(T),T=t.openPage&&!p.value?!t.pageSize&&2==r||v.value?setTimeout((()=>{o.value.addListData(e.concat([{type:1002,decoration:{top:15,left:30}}])),v.value&&(v.value=!1)}),300):setTimeout((()=>{o.value.addListDataWithParams(e.concat([{type:1002,decoration:{top:15,left:30}}]),1)}),300):setTimeout((()=>{o.value.addListData(e)}),300)}u="",c=[]}return I}};return new Proxy(e,d)},_=()=>{let e=vo(i);s=[];let n=0,o=[];for(let t=0;t<e.length;t++){let n=e[t];if("1003"==n.type)o.push(n);else if(n.decoration.top&&(n.toCompatibleSaveTopVal=n.decoration.top,n.decoration.top=0),n.decoration.bottom&&(n.toCompatibleSaveBottompVal=n.decoration.bottom,n.decoration.bottom=0),o[o.length-1]&&1==o[o.length-1].type)o[o.length-1].list.push(n);else{let e={type:1,list:[]};e.list.push(n),o.push(e)}}for(let e=0;e<o.length;e++){const a=o[e];if("1003"==a.type)s.push(a);else for(let e=0;e<a.list.length;e+=t.spanCount){const o=a.list[e];let i={top:-1,bottom:-1};o.decoration&&(i.top=o.toCompatibleSaveTopVal?o.toCompatibleSaveTopVal:0,i.bottom=o.toCompatibleSaveBottompVal?o.toCompatibleSaveBottompVal:0);const l={type:1,decoration:i,name:"name"+n,list:a.list.slice(e,e+t.spanCount)};n++,s.push(l)}}},F=e=>null!==e&&"object"==typeof e,S=()=>{I&&clearTimeout(I),I=setTimeout((()=>{a.value<2.2?t.pageSize?t.pageSize/t.spanCount<=s.length&&o.value.deleteItem(s.length,1):r>2&&o.value.deleteItem(s.length,1):t.pageSize?t.pageSize<=i.length&&o.value.deleteItem(i.length,1):r>2&&o.value.deleteItem(i.length,1)}),400),p.value=!0},b=e=>{if(a.value<2.2){let t=-1;for(let n=0;n<s.length;n++){const a=s[n];if("1003"==a.type)t++,t==e&&o.value.scrollToPosition(n);else for(let i=0;i<a.list.length;i++)a.list[i],t++,t==e&&o.value.scrollToPosition(n)}}else o.value.scrollToPosition(e)},E=e=>{if(a.value<2.2){let t=-1,n=0,a=0;for(let o=0;o<s.length;o++){const i=s[o];if("1003"==i.type)t++;else for(let l=0;l<i.list.length;l++)i.list[l],t++,e==t&&(n=o,a=l)}o.value.dispatchItemFunction(n,"tv_list_inner","requestChildFocus",[a])}else o.value.requestFocus(e)},y=(e,t)=>{if(a.value<2.2){let t=-1,n=0,a=0;for(let o=0;o<s.length;o++){const i=s[o];if("1003"==i.type)t++;else for(let l=0;l<i.list.length;l++)i.list[l],t++,e==t&&(n=o,a=l)}o.value.dispatchItemFunction(n,"tv_list_inner","setSelectChildPosition",[a])}else o.value.setSelectPosition(e,t)},P=(e,t)=>{o.value.addItem(e,t)},U=()=>{v.value=!1,i=[],s=[],l.length=0,p.value=!1,c=[],r=1,p.value=!1,u="",g&&clearTimeout(g),T&&clearTimeout(T),I&&clearTimeout(I),m&&clearTimeout(m)};f((()=>{U()}));let x=-1;return{tv_list:o,apkVersion:a,init:h,onItemClick:e=>{if(a.value<2.2){let t=-1,n=e.position,o=e.parentPosition;for(let a=0;a<e.parentPosition+1;a++){const i=s[a];if("1003"==i.type)t++;else for(let l=0;l<i.list.length;l++)t++,n==l&&o==a&&(e.position=t)}}n.emit("item-click",e)},onItemBind:e=>{a.value<2.2?p.value||e.position!=s.length-1-t.preloadNo/t.spanCount||(r++,t.loadMore(r)):p.value||e.position!=i.length-1-t.preloadNo||(r++,t.loadMore(r)),n.emit("item-bind",e)},onItemFocused:e=>{if(a.value<2.2){let t=-1,n=e.position,o=e.parentPosition;for(let a=0;a<e.parentPosition+1;a++){const i=s[a];if("1003"==i.type)t++;else for(let l=0;l<i.list.length;l++)t++,n==l&&o==a&&(e.position=t)}}n.emit("item-focused",e)},restartPage:()=>{clearTimeout(x);let e=0;p.value||(e=420,S()),x=setTimeout((()=>{v.value=!0,r=1,p.value=!1,t.loadMore(r)}),e)},isRestartPage:v,onItemUnbind:e=>{n.emit("item-unbind",e)},onScroll:e=>{n.emit("scroll",e)},onScrollStateChanged:e=>{n.emit("scroll-state-changed",e)},stopPage:S,scrollToTop:()=>{o.value.scrollToTop()},clearFocus:()=>{o.value.clearFocus()},blockRootFocus:()=>{o.value.blockRootFocus()},unBlockRootFocus:()=>{o.value.unBlockRootFocus()},setDisplay:e=>{o.value.setDisplay(e)},scrollToPosition:b,scrollToIndex:(e,t,n)=>{if(a.value<2.2){let a=-1;for(let i=0;i<s.length;i++){const l=s[i];if("1003"==l.type)a++,a==e&&o.value.scrollToIndex(0,i,t,n);else for(let c=0;c<l.list.length;c++)l.list[c],a++,a==e&&o.value.scrollToIndex(0,i,t,n)}}else o.value.scrollToIndex(0,e,t,n)},setItemFocused:E,scrollToFocused:e=>{b(e),E(e)},setItemSelected:y,scrollToSelected:(e,t)=>{b(e),y(e,t)},updateItemProps:(e,t,n)=>{o.value.updateItemProps(e,t,n)},setInitPosition:e=>{o.value.setInitPosition(e)},setListData:e=>{g&&clearTimeout(g),g=setTimeout((()=>{o.value.setListData(e)}),100)},insertItem:P,clearPostTask:()=>{o.value.clearPostTask()},destroy:()=>{o.value.destroy()}}}});ho.render=function(e,l,s,u,r,d){const f=a("tv-list");return t(),i(f,{class:"tv_list",ref:"tv_list",name:"tv_list",spanCount:e.apkVersion<2.2?"":e.spanCount,onItemBind:e.onItemBind,onItemClick:e.onItemClick,onItemFocused:e.onItemFocused,onItemUnbind:e.onItemUnbind,onScroll:e.onScroll,onScrollStateChanged:e.onScrollStateChanged,onSetListData:e.setListData,blockFocusDirections:e.blockFocusDirections},{default:p((()=>[e.apkVersion<2.2?(t(),n(g,{key:0},[o(e.$slots,"header"),I(f,{class:"tv_list_inner",ref:"${name}",list:"${list}",name:"tv_list_inner",type:"1",clipChildren:!1,focusable:!1,horizontal:"",style:c({width:e.areaWidth+"px"}),endHintEnabled:!1,blockFocusDirections:e.blockFocusDirections},{default:p((()=>[o(e.$slots,"default")])),_:3},8,["style","blockFocusDirections"]),o(e.$slots,"footer"),o(e.$slots,"loading")],64)):(t(),n(g,{key:1},[o(e.$slots,"header"),o(e.$slots,"default"),o(e.$slots,"footer"),o(e.$slots,"loading")],64))])),_:3},8,["spanCount","onItemBind","onItemClick","onItemFocused","onItemUnbind","onScroll","onScrollStateChanged","onSetListData","blockFocusDirections"])},ho.__file="src/grid-view/index.vue";var _o=pn({name:"qt-poster-focus-title",props:{fontSize:{type:Number,default:20}},setup(e,t){}});const Fo={class:"absoluteFocusTitleRoot",flexStyle:"${titleFocusStyle}",autoHeight:"",focusable:!1},So={class:"absoluteFocusMainBgRoot",duplicateParentState:!0,focusable:!1,showIf:"${focusTitle.enable}"};_o.render=function(e,o,i,l,c,s){const r=a("text-view");return t(),n("div",Fo,[u(" 浮动标题"),I(r,{duplicateParentState:!0,focusable:!1,fontSize:26,ellipsizeMode:2,lines:1,paddingRect:[16,18,0,0],gradientBackground:"${floatTitle.background}",style:{height:"64px",color:"#ffffff"},flexStyle:"${floatTitle.style}",text:"${floatTitle}",showIf:"${floatTitle.enable}",gravity:"left",postDelay:250}),m("div",So,[u(" 主标题 "),I(r,{duplicateParentState:!0,focusable:!1,fontSize:30,ellipsizeMode:2,autoHeight:"",maxLines:2,gravity:"left",paddingRect:[16,8,12,8],style:{"background-color":"transparent",color:"#000000"},flexStyle:"${focusTitle.style}",text:"${focusTitle.text}"}),u(" 副标题 "),I(r,{duplicateParentState:!0,focusable:!1,fontSize:24,ellipsizeMode:2,lines:1,autoHeight:"",gravity:"left|top",paddingRect:[16,0,0,16],style:{color:"rgba(0,0,0,.4)","background-color":"transparent"},flexStyle:"${subTitle.style}",text:"${subTitle.text}",visibility:"${subTitle}"})])])},_o.__scopeId="data-v-703673b8",_o.__file="src/poster/qt-poster-focus-title.vue";var bo=pn({name:"qt-poster-corner-title",props:{fontSize:{type:Number,default:20}},setup(e,t){}});const Eo={class:"cornerRoot",focusable:!1},yo=(e=>(T("data-v-4b767ea2"),e=e(),v(),e))((()=>m("img",{focusable:!1,flexStyle:"${corner.style}",src:"${corner.src}",showIf:"${corner.enableImg}"},null,-1)));bo.render=function(e,o,i,l,c,s){const u=a("text-view");return t(),n("div",Eo,[I(u,{duplicateParentState:!0,focusable:!1,textSize:e.fontSize,ellipsizeMode:2,lines:1,typeface:"bold",gravity:"center",postDelay:350,style:{color:"white",padding:"4px 8px",height:"36px",margin:"4px"},gradientBackground:"${corner.background}",autoWidth:"",text:"${corner.text}",showIf:"${corner.enable}"},null,8,["textSize"]),yo])},bo.__scopeId="data-v-4b767ea2",bo.__file="src/poster/qt-poster-corner-title.vue";var Po=pn({name:"qt-poster",components:{"qt-poster-corner-title":bo,"qt-poster-focus-title":_o},props:{requestFirstFocus:{type:Boolean,default:!1},loadDelay:{type:Number,default:500},type:{type:Number,default:10001},templateKeyMap:{type:Object,default:()=>null}},setup:(e,t)=>({mainTextShowOnState:["normal","selected"]})});const Ao=e=>(T("data-v-3c4765e9"),e=e(),v(),e),Ro=Ao((()=>m("img",{class:"qt-ui-poster-img-css",duplicateParentState:!0,postDelay:300,focusable:!1,enableFocusBorder:"${focus.border}",flexStyle:"${image.style}",src:"${image.src}"},null,-1))),Uo=["showOnState"],xo={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}"},Lo={flexStyle:"${ripple.style}",class:"qt-ui-poster-ripple-view-root-css",showOnState:"focused",focusable:!1,clipChildren:!1},Co=Ao((()=>m("img",{src:"${ripple.src}",class:"qt-ui-ripple-img-css",focusable:!1,duplicateParentState:!0,showIf:"${true}",delayLoad:800},null,-1)));Po.render=function(e,n,l,c,s,r){const d=a("text-view"),f=a("qt-poster-focus-title"),g=a("ripple-view"),T=a("qt-poster-corner-title"),v=a("item-frame");return t(),i(v,{type:e.type,layout:"${layout}",flexStyle:"${style}",focusScale:"${focus.scale}",focusable:!0,eventClick:"",eventFocus:"",name:"poster",class:"qt-ui-poster-root-css",itemShowShimmer:"${shimmer.enable}",hideShadow:"${shadow.enable}",shimmerSize:"${size}"},{default:p((()=>[u("封面"),Ro,I(d,{class:"qt-ui-poster-score-css",duplicateParentState:!0,focusable:!1,flexStyle:"${score.style}",textSize:"${score.style.fontSize}",ellipsizeMode:2,lines:1,gravity:"center",postDelay:350,autoWidth:"",text:"${score.text}"}),u(" 焦点选中时的标题 "),I(f,{focusable:!1,showOnState:"focused"}),m("div",{style:{"flex-direction":"column","background-color":"transparent","z-index":"999"},duplicateParentState:!0,focusable:!1,flexStyle:"${titleStyle}",showOnState:e.mainTextShowOnState},[u(" 浮动标题 "),m("div",xo,[I(d,{duplicateParentState:!0,focusable:!1,textSize:26,ellipsizeMode:2,enablePostTask:"",postDelay:200,lines:1,gravity:"left",style:{"z-index":"999",height:"50px"},flexStyle:"${floatTitle.style}",text:"${floatTitle.text}"})]),u(" 主标题"),I(d,{duplicateParentState:!0,focusable:!1,textSize:30,ellipsizeMode:2,lines:1,postDelay:200,gravity:"left",paddingRect:[16,8,0,0],gradientBackground:"${title.background}",style:{"z-index":"999",height:"60px"},flexStyle:"${title.style}",text:"${title.text}",showIf:"${title.enable}"})],8,Uo),m("div",Lo,[I(g,{class:"qt-ui-ripple-view-css",delayLoad:800,focusable:!1,duplicateParentState:!0,color:"#FF4E46",isShowRipple:"${ripple.enable}",rippleVisible:"invisible"}),Co]),I(T,{focusable:!1,flexStyle:"${corner.style}",style:{"z-index":"1000",position:"absolute"}}),o(e.$slots,"default")])),_:3},8,["type"])},Po.__scopeId="data-v-3c4765e9",Po.__file="src/poster/index.vue";var Do=l({name:"qt-nav-bar",props:{textKey:{type:String,default:"text"},itemGap:{type:Number,default:0},horizontal:{type:Boolean,default:!0},initSelect:{type:Number,default:0},size:{type:String,default:"medium"},navs:{type:Array,default:()=>[]},tabNavBarClass:{type:String,default:""}},setup(t,n){const o=e();let a=e("#f5f5f5"),i=h({normal:"#80ffffff",focused:"#000000",selected:"#F5F5F5"}),l=-1,c=-1;_((()=>t.navs),(e=>{e.length>0&&s(e)}));const s=e=>{e||(e=[]),e.forEach(((e,n)=>{0!==t.itemGap&&(t.horizontal?e.decoration={right:t.itemGap}:e.decoration={bottom:t.itemGap}),e.type||(e.type=2e4)})),o.value?.setListData(e),clearTimeout(c);let n=t.initSelect;n>-1&&(o.value?.scrollToPosition(n),c=setTimeout((()=>{o.value?.setItemSelected(n,!0),u(n)}),300))},u=e=>{clearTimeout(l),l=setTimeout((()=>{n.emit("tab-select",{position:e})}),300)};return{navList:o,focusColor:a,textColor:i,bgPadding:[10,10],onTabChange:e=>{!0===e.hasFocus&&(n.emit("tab-focus",e),u(e.position))},onTabClick:e=>{n.emit("tab-click",e.item)},scrollToPosition:e=>{o.value?.scrollToPosition(e)},scrollToTop:()=>{o.value?.scrollToTop()},init:e=>{s(e.data)}}}});const ko=["stateTextColor","sateBackgroundPadding"],No=["stateTextColor","sateBackgroundPadding"];var Oo,wo;Do.render=function(e,n,l,s,u,r){const d=a("text-view"),f=a("qt-list-view");return e.horizontal?(t(),i(f,{key:0,ref:"navList",clipChildren:!1,clipPadding:!1,horizontal:"",class:"tabNavBarClass",onItemClick:e.onTabClick,onItemFocused:e.onTabChange},{default:p((()=>[m("div",{class:"qt-ui-nav-bar-item-css",type:2e4,autoWidth:"",focusable:!0,eventFocus:"",flexStyle:"${style}",clipChildren:!1,style:c({focusBackgroundColor:e.focusColor}),stateTextColor:e.textColor,sateBackgroundPadding:e.bgPadding},[I(d,{autoWidth:"",gravity:"center",lines:1,fontSize:44,class:"qt-ui-nav-bar-item-text-css",duplicateParentState:!0,text:"${text}"})],12,ko),o(e.$slots,"default")])),_:3},8,["onItemClick","onItemFocused"])):(t(),i(f,{key:1,ref:"navList",clipChildren:!1,clipPadding:!1,class:"tabNavBarClass",onItemClick:e.onTabClick,onItemFocused:e.onTabChange},{default:p((()=>[m("div",{class:"qt-ui-nav-bar-item-css",type:2e4,flexStyle:"${style}",eventFocus:"",autoWidth:"",focusable:!0,stateTextColor:e.textColor,style:c({focusBackgroundColor:e.focusColor}),sateBackgroundPadding:e.bgPadding,clipChildren:!1},[I(d,{autoWidth:"",gravity:"center",lines:1,fontSize:44,class:"qt-ui-nav-bar-item-text-css",duplicateParentState:!0,text:"${text}"})],12,No),o(e.$slots,"default")])),_:3},8,["onItemClick","onItemFocused"]))},Do.__file="src/nav-bar/index.vue",function(e){e[e.QT_WATERFALL_SECTION_TYPE_LOADING=-1]="QT_WATERFALL_SECTION_TYPE_LOADING",e[e.QT_WATERFALL_SECTION_TYPE_TITLE=1e3]="QT_WATERFALL_SECTION_TYPE_TITLE",e[e.QT_WATERFALL_SECTION_TYPE_FLEX=1002]="QT_WATERFALL_SECTION_TYPE_FLEX",e[e.QT_WATERFALL_SECTION_TYPE_LIST=1003]="QT_WATERFALL_SECTION_TYPE_LIST",e[e.QT_WATERFALL_SECTION_TYPE_TAB=1003]="QT_WATERFALL_SECTION_TYPE_TAB",e[e.QT_WATERFALL_SECTION_TYPE_INDEPENDENT_ITEM=1004]="QT_WATERFALL_SECTION_TYPE_INDEPENDENT_ITEM",e[e.QT_WATERFALL_SECTION_TYPE_TAB_LIST=1005]="QT_WATERFALL_SECTION_TYPE_TAB_LIST",e[e.QT_WATERFALL_SECTION_TYPE_CARD=1006]="QT_WATERFALL_SECTION_TYPE_CARD",e[e.QT_WATERFALL_SECTION_TYPE_VUE=1007]="QT_WATERFALL_SECTION_TYPE_VUE",e[e.QT_WATERFALL_SECTION_TYPE_END=-1001]="QT_WATERFALL_SECTION_TYPE_END",e[e.QT_WATERFALL_SECTION_TYPE_BLANK=-1e3]="QT_WATERFALL_SECTION_TYPE_BLANK"}(Oo||(Oo={})),function(e){e[e.QT_WATERFALL_ITEM_TYPE_POSTER=10001]="QT_WATERFALL_ITEM_TYPE_POSTER",e[e.QT_WATERFALL_ITEM_TYPE_TAB=10002]="QT_WATERFALL_ITEM_TYPE_TAB",e[e.QT_WATERFALL_ITEM_TYPE_CARD=10003]="QT_WATERFALL_ITEM_TYPE_CARD",e[e.QT_WATERFALL_ITEM_TYPE_BLANK=-1e4]="QT_WATERFALL_ITEM_TYPE_BLANK"}(wo||(wo={}));var Bo=pn({name:"card-item",setup(e,t){const n=U();return{onFocus:function(e){n.isLoggable(x.DEBUG)&&n.d("card-item","------onFocus---------\x3e>>>",e),t.emit("focus",e)}}}});Bo.render=function(e,n,o,l,c,s){const u=a("es-card-container");return t(),i(u,{keyName:"_id",clipChildren:!1,clipPadding:!1,autoRecycle:!0,disablePlaceholder:"",layout:"${layout}",flexStyle:"${style}",cardId:"${cardId}",focusScale:"${cardPlaceHolder.focusScale}",focusable:"${cardPlaceHolder.focusable}",showPlaceHolder:"${cardPlaceHolder.enable}",placeHolderRadius:"${cardPlaceHolder.radius}",placeHolderRect:"${cardPlaceHolder.rect}",type:10003,onFocus:e.onFocus,class:"qt-ui-waterfall-card-item"},null,8,["onFocus"])},Bo.__scopeId="data-v-599898aa",Bo.__file="src/waterfall/item/card-item.vue";var Mo=pn({name:"standard-section",components:{"card-item":Bo},props:{enablePlaceholder:{type:Boolean,default:!0},plateData:{type:String,default:""},useDiff:{type:Boolean,default:!0},cachePool:{type:Object,default:{}},sectionType:{type:Number,default:Oo.QT_WATERFALL_SECTION_TYPE_FLEX},standItemType:{type:Number,default:wo.QT_WATERFALL_ITEM_TYPE_POSTER},currentPageIndex:{type:Number,default:-1},itemFocusScale:{type:Number,default:1.1}},setup(e,t){const n=U();return{onFocus:function(e){n.isLoggable(x.DEBUG)&&n.d("card-item","------onFocus---------\x3e>>>",e),t.emit("focus",e)}}}});const $o=["type"],Vo=(e=>(T("data-v-227e921e"),e=e(),v(),e))((()=>m("img",{postDelay:300,flexStyle:"${imgTitleStyle}",focusable:!1,src:"${imgTitle}"},null,-1)));Mo.render=function(e,i,l,c,s,r){const d=a("text-view"),f=a("qt-poster"),g=a("card-item"),m=a("tv-flex");return t(),n("div",{class:"standard-section-css",blockFocusDirections:["left","right"],clipChildren:!1,clipPadding:!1,type:e.sectionType,focusable:!1,focusScrollTarget:"${isFocusScrollTarget==true}",keyName:"_id",flexStyle:"${style}",scrollOverride:"${scrollOverride}",gradientBackground:"${style.gradientBackground}",bringFocusChildToFront:!0,useAdvancedFocusSearch:!0},[I(d,{class:"standard-section-title-text-css",postDelay:300,autoWidth:"",autoHeight:"",flexStyle:"${titleStyle}",focusable:!1,textSize:"${titleStyle.fontSize}",text:"${title}"}),Vo,I(m,{class:"standard-section-css",name:"QUICKTVUI_WARTERFALL_LIST",blockFocusDirections:["left","right"],clipChildren:!1,clipPadding:!1,bringFocusChildToFront:!0,cachePool:e.cachePool,useDiff:e.useDiff,keyName:"_id",enablePlaceholder:e.enablePlaceholder,focusScrollTarget:"${isFocusScrollTarget==true}",list:"${itemList}"},{default:p((()=>[u(" poster "),I(f,{"load-delay":500,type:e.standItemType},null,8,["type"]),u(" card "),I(g,{onFocus:e.onFocus},null,8,["onFocus"]),o(e.$slots,"default")])),_:3},8,["cachePool","useDiff","enablePlaceholder"])],8,$o)},Mo.__scopeId="data-v-227e921e",Mo.__file="src/waterfall/section/flex-section.vue";const Wo="list-section";var Qo=pn({name:"list-section",props:{enablePlaceholder:{type:Boolean,default:!0},isSwitchBgScroll:{type:Boolean,default:!1},standItemType:{type:Number,default:10001},tabItemType:{type:Number,default:10002},sectionType:{type:Number,default:Oo.QT_WATERFALL_SECTION_TYPE_LIST},fetchPendingData:{type:Function,default:null},arrangeType:{type:String,default:"TB"}},setup(e,t){const n=U();return{blockDirections:["left","right"],onItemBind:function(e){n.isLoggable(x.DEBUG)&&n.d(Wo,"----------onItemBind--------------\x3e>>",e)},onItemClick:function(e){n.isLoggable(x.DEBUG)&&n.d(Wo,"----------onItemClick--------------\x3e>>",e)},onItemRecycled:function(e){n.isLoggable(x.DEBUG)&&n.d(Wo,"----------onItemRecycled--------------\x3e>>",e)},onItemFocused:function(e){n.isLoggable(x.DEBUG)&&n.d(Wo,"----------onItemFocused--------------\x3e>>",e)}}}});const zo={class:"qt-ui-section-tab-list-root",focusable:!1,flexStyle:"${style}",gradientBackground:"${style.gradientBackground}",blockFocusDirections:["right"],clipChildren:!1,useAdvancedFocusSearch:!0,bringFocusChildToFront:!0},Go=(e=>(T("data-v-6aa2cfd4"),e=e(),v(),e))((()=>m("img",{postDelay:300,flexStyle:"${imgTitleStyle}",focusable:!1,src:"${imgTitle}"},null,-1))),Yo=["type"];Qo.render=function(e,n,l,c,s,u){const r=a("text-view"),d=a("qt-poster"),f=a("tv-list"),g=a("tv-item");return t(),i(g,{keyName:"_id",type:e.sectionType,clipPadding:!1,clipChildren:!1,ref:"listSection",focusScrollTarget:"${isFocusScrollTarget==true}",class:"tab-list-section-root-css",scrollOverride:"${scrollOverride}",onItemClick:e.onItemClick,onItemBind:e.onItemBind,onItemUnbind:e.onItemRecycled,onItemFocused:e.onItemFocused},{default:p((()=>[m("div",zo,[I(r,{class:"tab-list-section-title-text-css",postDelay:300,autoWidth:"",autoHeight:"",flexStyle:"${titleStyle}",focusable:!1,textSize:"${titleStyle.fontSize}",text:"${title}"}),Go,I(f,{list:"${itemList}",horizontal:"",clipChildren:!1,focusable:!1,class:"tab-list-section-list-css",name:"QUICKTVUI_WARTERFALL_LIST",resetOnDetach:!0,enableKeepFocus:"${enableKeepFocus==true}",endHintEnabled:"${enableEndHit}",onScrollEnable:!1,setSelectChildPosition:0,enablePlaceholder:e.enablePlaceholder,cachePoolName:"HorizontalList",blockFocusDirections:e.blockDirections},{default:p((()=>[I(d,{type:e.standItemType},null,8,["type"]),m("div",{type:e.tabItemType,class:"qt-ui-section-tab-list-item",clipChildren:!1,flexStyle:"${style}",style:{"padding-left":"24px","padding-right":"23px","justify-content":"center",height:"50px"},autoWidth:"",name:"QUICKTVUI_TAB_2",focusable:!0,eventClick:"",eventFocus:""},[I(r,{class:"qt-ui-section-tab-list-item-text",autoWidth:"",flexStyle:"${textStyle}",gravity:"center",fontSize:36,lines:1,focusable:!1,duplicateParentState:!0,style:{height:"50px"},text:"${text}"})],8,Yo),o(e.$slots,"default")])),_:3},8,["enablePlaceholder","blockFocusDirections"])])])),_:3},8,["type","onItemClick","onItemBind","onItemUnbind","onItemFocused"])},Qo.__scopeId="data-v-6aa2cfd4",Qo.__file="src/waterfall/section/list-section.vue";var qo=pn({name:"loading-section"});const Ho={focusable:!1,type:-1,keyName:"_id",class:"loading-section-css",gradientBackground:"${style.gradientBackground}"};qo.render=function(e,o,i,l,c,s){const u=a("qt-loading-view");return t(),n("div",Ho,[I(u,{class:"loading-section-loading-css"})])},qo.__scopeId="data-v-48609f24",qo.__file="src/waterfall/section/loading-section.vue";var jo=pn({name:"end-section",setup:()=>({})});const Ko={keyName:"_id",type:-1001,focusable:!1,flexStyle:"${style}",gradientBackground:"${style.gradientBackground}",class:"qt-waterfall-end-section-css"};jo.render=function(e,o,i,l,c,s){const u=a("text-view");return t(),n("div",Ko,[I(u,{focusable:!1,gravity:"center",flexStyle:"${titleStyle}",class:"qt-waterfall-end-section-text-css",textSize:"${titleStyle.fontSize}",text:"${title}"})])},jo.__scopeId="data-v-70b82c43",jo.__file="src/waterfall/section/end-section.vue";var Xo=pn({props:{plateTitleLeftMargin:{type:Number,default:0},type:{type:Number,default:Oo.QT_WATERFALL_SECTION_TYPE_TITLE}},setup:(e,t)=>({})});const Jo=["type"];Xo.render=function(e,o,i,l,s,u){const r=a("text-view");return t(),n("div",{class:"section-title-css",blockFocusDirections:["left","right"],clipChildren:!1,clipPadding:!1,type:e.type,keyName:"_id",focusable:!1,bringFocusChildToFront:!0,useAdvancedFocusSearch:!0},[I(r,{class:"section-title-text-css",postDelay:300,style:c({marginLeft:e.plateTitleLeftMargin+"px"}),focusable:!1,textSize:"${titleStyle.fontSize}",text:"${title}"},null,8,["style"])],8,Jo)},Xo.__scopeId="data-v-20428d40",Xo.__file="src/waterfall/section/section-title.vue";var Zo=pn({name:"blank-section",setup:()=>({})});const ea={focusable:!1,type:-1e3,keyName:"_id",flexStyle:"${style}",gradientBackground:"${style.gradientBackground}",class:"qt-ui-waterfall-blank-section"};Zo.render=function(e,o,a,i,l,c){return t(),n("div",ea)},Zo.__scopeId="data-v-eeab4d88",Zo.__file="src/waterfall/section/blank-section.vue";var ta=pn({name:"card-section",setup(e,t){const n=U();return{onFocus:function(e){n.isLoggable(x.DEBUG)&&n.d("card-section","------onFocus---------\x3e>>>",e),t.emit("focus",e)}}}});const na={type:1006,class:"qt-ui-waterfall-card-section-css",clipChildren:!1,clipPadding:!1,focusScrollTarget:"${isFocusScrollTarget==true}",keyName:"_id",flexStyle:"${style}",scrollOverride:"${scrollOverride}",gradientBackground:"${style.gradientBackground}",bringFocusChildToFront:!0,useAdvancedFocusSearch:!0};ta.render=function(e,o,i,l,c,s){const u=a("text-view"),r=a("es-card-container");return t(),n("div",na,[I(u,{class:"qt-ui-waterfall-card-section-title-css",postDelay:300,flexStyle:"${titleStyle}",focusable:!1,textSize:"${titleStyle.fontSize}",text:"${title}"}),I(r,{cardId:"${cardId}",onFocus:e.onFocus,clipChildren:!1,clipPadding:!1,autoRecycle:!0,focusScale:"${cardPlaceHolder.focusScale}",focusable:"${cardPlaceHolder.focusable}",showPlaceHolder:"${cardPlaceHolder.enable}",placeHolderRadius:"${cardPlaceHolder.radius}",placeHolderRect:"${cardPlaceHolder.rect}",flexStyle:"${cardStyle}",class:"qt-ui-waterfall-card-section"},null,8,["onFocus"])])},ta.__scopeId="data-v-43a44788",ta.__file="src/waterfall/section/card-section.vue";var oa,aa=pn({name:"vue-section",props:{blockFocusDirections:{type:Array,default:()=>["left","right"]}},setup:(e,t)=>({onSectionBind:function(){}})});function ia(e,t){const n=[];if(t&&t.length>0)for(let o=0;o<t.length;o++){let a=la(e,t[o]);n.push(a)}return n}function la(e,t){let n=0;return t.itemList.length>0&&t.type==Oo.QT_WATERFALL_SECTION_TYPE_FLEX&&(n=function(e){const t=e.itemList,n=e.style?.spacing??0,o=e.titleStyle,a=o?.height??0;const i=o?.marginTop??0,l=o?.marginBottom??0;const c=o?.paddingTop??0,s=o?.paddingBottom??0;let u=e.style.height??0,r=e.style.width??0;e.decoration;let d=0,f=0,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>r&&(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>u&&(u=o.layout[1]+i+s),i+l+s>p&&(p=i+l+s),d+=a+n+t+c}}return u+a+i+l+c+s}(t),t.style.height=n),t}function ca(){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=[]}}}aa.render=function(e,n,l,c,s,u){const r=a("tv-item");return t(),i(r,{class:"qt-ui-waterfall-vue-section",type:1007,keyName:"_id",blockFocusDirections:e.blockFocusDirections,clipChildren:!1,clipPadding:!1,focusScrollTarget:"${isFocusScrollTarget==true}",flexStyle:"${style}",scrollOverride:"${scrollOverride}",singleton:"",onItemBind:e.onSectionBind},{default:p((()=>[o(e.$slots,"default")])),_:3},8,["blockFocusDirections","onItemBind"])},aa.__scopeId="data-v-f8447724",aa.__file="src/waterfall/section/vue-section.vue",function(e){e.QT_WATERFALL_VISIBLE_TYPE_NONE="none",e.QT_WATERFALL_VISIBLE_TYPE_NORMAL="normal",e.QT_WATERFALL_VISIBLE_TYPE_CENTER="center"}(oa||(oa={}));const sa="qt-waterfall";var ua,ra,da=pn({name:"qt-waterfall",emits:["onScroll","onScrollStateChanged","onItemClick","onItemFocused","onSectionBind","onSectionAttached","onSectionDetached"],props:{enablePlaceholder:{type:Boolean,default:!0},blockFocusDirections:{type:Array,default:()=>["down"]},vueSectionBlockFocusDirections:{type:Array,default:()=>["left","right"]}},setup(t,n){const o=U(),a={name:"tvList"+Date.now(),size:{20008:10}},i=e(oa.QT_WATERFALL_VISIBLE_TYPE_CENTER),l=e();let c;const s=ca();return{waterfallRef:l,visibleType:i,init:function(e){c=e,e.visibleType&&(i.value=e.visibleType)},setAutoFocus:function(e,t){l.value?.setAutoFocus(e,t)},getSectionList:function(){return s.getSectionList()},setSectionList:function(e){if(!c)return;o.isLoggable(x.DEBUG)&&o.d(sa,"-------1---setSectionList--------------\x3e>>"),s.destroy();const t=s.addSectionList(e);o.isLoggable(x.DEBUG)&&o.d(sa,"-------2---setSectionList--------------\x3e>>",t);const n=ia(c,e);o.isLoggable(x.DEBUG)&&o.d(sa,"----------setSectionList-----最终数据---------\x3e>>",n),l.value?.setListData(n)},addSectionList:function(e){if(!c)return;s.addSectionList(e);const t=ia(c,e);o.isLoggable(x.DEBUG)&&o.d(sa,"----------addSectionList-----最终数据---------\x3e>>",t),l.value?.addListData(t)},deleteSection:function(e,t){const n=s.deleteSection(e,t);o.isLoggable(x.DEBUG)&&o.d(sa,"----------deleteSection-----最终数据---------\x3e>>",n),l.value?.deleteItem(e,t)},updateSection:function(e,t){s.updateSection(e,t);const n=la(0,t);o.isLoggable(x.DEBUG)&&o.d(sa,"----------updateSection-----最终数据---------\x3e>>sectionIndex:",e,"updateSection:",n),l.value?.updateItem(e,n)},updateSectionList:function(e,t,n){const o=[];for(let t=0;t<n.length;t++){const a=n[t];s.updateSection(e+t,a);const i=la(0,a);i&&o.push(i)}l.value?.updateItemList(e,t,o)},getSection:function(e){return s.getSection(e)},addItemList:function(e,t){s.addItemList(e,t);const n=s.getSection(e);if(n){const t=la(0,n);l.value?.updateItem(e,t)}},deleteItem:function(e,t,n){s.deleteItem(e,t,n);const o=s.getSection(e);if(o){const t=la(0,o);l.value?.updateItem(e,t)}},updateItem:function(e,t,n){s.updateItem(e,t,n);const o=s.getSection(e);if(o){const t=la(0,o);l.value?.updateItem(e,t)}},updateItemList:function(e,t,n,o){s.updateItemList(e,t,n,o);const a=s.getSection(e);if(a){const t=la(0,a);l.value?.updateItem(e,t)}},getItem:function(e,t){return s.getItem(e,t)},cachePool:a,flexCachePool:{name:"tvFlex",size:{1:50}},onScroll:function(e){e.stopPropagation();let t=e.offsetX,o=e.offsetY;n.emit("onScroll",t,o)},onItemClick:function(e){o.isLoggable(x.DEBUG)&&o.d(sa,"----------onItemClick--------------\x3e>>",e,"sectionIndex:"+e.parentPosition+" position:"+e.position+" "),n.emit("onItemClick",e.parentPosition,e.position,e.item)},onItemFocused:function(e){o.isLoggable(x.DEBUG)&&o.d(sa,"----------onItemFocused--------------\x3e>>",e,"sectionIndex:"+e.parentPosition+" position:"+e.position+" isFocused:"+e.isFocused+" "),n.emit("onItemFocused",e.parentPosition,e.position,e.isFocused,e.item)},onSectionBind:function(e){if(e){o.isLoggable(x.DEBUG)&&o.d(sa,"----------onSectionBind--------------\x3e>>",e);let t=e.pageIndex??-1;n.emit("onSectionBind",t,e.position)}},onSectionAttached:function(e){if(e){o.isLoggable(x.DEBUG)&&o.d(sa,"----------onSectionAttached--------------\x3e>>",e);let t=e.pageIndex??0;n.emit("onSectionAttached",t,e.position)}},onSectionDetached:function(e){if(e){o.isLoggable(x.DEBUG)&&o.d(sa,"----------onSectionDetached--------------\x3e>>",e);let t=e.pageIndex??0;n.emit("onSectionDetached",t,e.position)}},onScrollStateChanged:function(e){let t=e.offsetY,o=e.offsetX,a=e.newState,i=e.oldState;n.emit("onScrollStateChanged",o,t,a,i)},resumePostTask:function(){l.value?.pausePostTask()},pausePostTask:function(){l.value?.pausePostTask()},clearPostTask:function(){l.value?.clearPostTask()},destroy:function(){l.value?.destroy()},scrollToTop:function(){l.value?.scrollToTop()},setListData:function(e){l.value?.setListData(e)}}},components:{"flex-section":Mo,"list-section":Qo,"section-title":Xo,"loading-section":qo,"end-section":jo,"blank-section":Zo,"card-section":ta,"vue-section":aa}});function fa(){const e=new Map,t=new Map;function n(n){const o={index:n,state:ua.QT_TAB_PAGE_STATE_INIT,sectionBindIndex:-1};e.set(n,o),t.set(n,[])}function o(e,n){const o=t.get(e)??[];if(!(n<0||n>=o.length||0==o.length))return o[n]}function a(e){return e.itemList.length}function i(e,t,n){const o=e.length;if(t<0||t>=o)return 0;let i=t+n;t+n>o&&(i=o),console.log("----3--------getRangeSectionListItemCount-----------------\x3e>>>");let l=0;for(let n=t;n<i;n++){l+=a(e[n])}return l}function l(){console.log("--------dumpTabWaterfallData---------\x3e>>>",t)}return{initTab:function(e){const t=e.itemList;for(let e=0;e<t.length;e++)n(e)},initTabPageData:n,getTabPageDataState:function(t){return e.get(t)},setPageDataState:function(t,n){e.set(t,n)},setSectionState:function(e,t,n){const a=o(e,t);a&&(a.state=n,a.sectionIndex=t)},getSectionListByState:function(e,n){return(t.get(e)??[]).filter((e=>e.state==n))},getSectionList:function(e){return t.get(e)??[]},addSectionList:function(n,o){const c=t.get(n)??[],s=c.length,u=i(c,0,s),r=function(e){if(e.length<=0)return 0;let t=0;for(let n=0;n<e.length;n++){t+=a(e[n])}return t}(o);c.push(...o);const d=e.get(n);return d&&d.state!=ua.QT_TAB_PAGE_STATE_COMPLETE&&(d.state=ua.QT_TAB_PAGE_STATE_IDLE),l(),{pageIndex:n,sectionIndex:s,sectionCount:o.length,itemIndex:u,itemCount:r}},deleteSection:function(e,n,o){const a=t.get(e)??[],c=i(a,0,n-1),s=i(a,n,o);return a.splice(n,o),l(),{pageIndex:e,sectionIndex:n,sectionCount:o,itemIndex:c,itemCount:s}},updateSection:function(e,n,o){const c=t.get(e)??[],s=i(c,0,n-1),u=a(o);return c.splice(n,1,o),l(),{pageIndex:e,sectionIndex:n,sectionCount:1,itemIndex:s,itemCount:u}},updateSectionList:function(e,n){return t.set(e,n),l(),{pageIndex:e,sectionIndex:0,sectionCount:n.length,itemIndex:-1,itemCount:-1}},getSection:o,addItemList:function(e,n,o){const a=t.get(e)??[],i=a.length;if(n<0||n>=i||o.length<=0)return{pageIndex:e,sectionIndex:-1,sectionCount:0,itemIndex:-1,itemCount:0};const c=a[n],s=c.itemList.length;return c.itemList.push(...o),l(),{pageIndex:e,sectionIndex:n,sectionCount:1,itemIndex:s,itemCount:o.length}},deleteItem:function(e,n,o,a){return(t.get(e)??[])[n].itemList.splice(o,a),l(),{pageIndex:e,sectionIndex:n,sectionCount:1,itemIndex:o,itemCount:a}},updateItem:function(e,n,o,a){return(t.get(e)??[])[n].itemList.splice(o,1,a),l(),{pageIndex:e,sectionIndex:n,sectionCount:1,itemIndex:o,itemCount:1}},updateItemList:function(e,n,o,a,i){return(t.get(e)??[])[n].itemList.splice(o,a,...i),l(),{pageIndex:e,sectionIndex:n,sectionCount:1,itemIndex:o,itemCount:a}},getItem:function(e,n,o){const a=(t.get(e)??[])[n];if(a&&a.itemList.length>0&&o>=0&&o<a.itemList.length){return a.itemList[o]}},destroy:function(){t.clear()}}}da.render=function(e,n,l,c,s,r){const d=a("flex-section"),f=a("list-section"),g=a("loading-section"),m=a("end-section"),T=a("blank-section"),v=a("card-section"),h=a("vue-section"),_=a("tv-list");return t(),i(_,{ref:"waterfallRef",class:"qt-waterfall-root-css",keyName:"_id",clipChildren:!1,clipPadding:!1,listenBoundEvent:!0,negativeKeyTime:"30",postContentDelay:"500",onScroll:e.onScroll,onItemClick:e.onItemClick,onItemFocused:e.onItemFocused,onItemBind:e.onSectionBind,onItemAttached:e.onSectionAttached,onItemDetached:e.onSectionDetached,focusMemory:!1,cachePool:e.cachePool,preload:1,checkScrollOffsetOnStateChanged:!0,makeChildVisibleType:e.visibleType,scrollThresholdVertical:50,scrollEventThrottle:16,enableSelectOnFocus:!1,advancedFocusSearchSpan:"1",scrollYLesserReferenceValue:30,scrollYGreaterReferenceValue:30,shakePreCheckNumber:"4",blockFocusDirections:e.blockFocusDirections,onScrollStateChanged:e.onScrollStateChanged},{default:p((()=>[u(" 普通版块"),I(d,{"cache-pool":e.flexCachePool,enablePlaceholder:e.enablePlaceholder,onFocus:e.onItemFocused},{default:p((()=>[o(e.$slots,"item")])),_:3},8,["cache-pool","enablePlaceholder","onFocus"]),u("一行滚动 多级tab"),I(f,{enablePlaceholder:e.enablePlaceholder},{default:p((()=>[o(e.$slots,"list-item")])),_:3},8,["enablePlaceholder"]),u(" loading"),I(g),u(" end "),I(m),u(" blank "),I(T),u(" card "),I(v,{onFocus:e.onItemFocused},null,8,["onFocus"]),u(" vue "),I(h,{"block-focus-directions":e.vueSectionBlockFocusDirections},{default:p((()=>[o(e.$slots,"vue-section")])),_:3},8,["block-focus-directions"]),o(e.$slots,"section")])),_:3},8,["onScroll","onItemClick","onItemFocused","onItemBind","onItemAttached","onItemDetached","cachePool","makeChildVisibleType","blockFocusDirections","onScrollStateChanged"])},da.__file="src/waterfall/index.vue",function(e){e[e.QT_TAB_PAGE_STATE_INIT=-1]="QT_TAB_PAGE_STATE_INIT",e[e.QT_TAB_PAGE_STATE_IDLE=0]="QT_TAB_PAGE_STATE_IDLE",e[e.QT_TAB_PAGE_STATE_BUSY=1]="QT_TAB_PAGE_STATE_BUSY",e[e.QT_TAB_PAGE_STATE_COMPLETE=2]="QT_TAB_PAGE_STATE_COMPLETE",e[e.QT_TAB_PAGE_STATE_ERROR=3]="QT_TAB_PAGE_STATE_ERROR"}(ua||(ua={})),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"}(ra||(ra={}));const pa="qt-tabs";var ga=pn({name:"qt-tabs",emits:["onTabPageLoadData","onTabPageChanged","onTabEvent","onTabPageItemClick","onTabPageItemFocused","onTabPageSectionAttached","onTabPageScroll","onTabPageScrollStateChanged","onTabMoveToTopStart","onTabMoveToTopEnd","onTabMoveToBottomStart","onTabMoveToBottomEnd","onTabChanged","onTabPageScrollToEnd","onTabPageScrollToStart","onTabClick"],props:{enablePlaceholder:{type:Boolean,default:!0},preloadNumber:{type:Number,default:3},tabNavBarClass:{type:String,default:""},tabClass:{type:String,default:""},tabsDataStrategy:{type:String,default:"overTime"},tabPageClass:{type:String,default:""},horizontal:{type:Boolean,default:!0},pageTransform:{type:Boolean,default:!0},hideOnSingleTab:{type:Boolean,default:!0},floatNavBar:{type:Boolean,default:!0},useNavBarBg:{type:Boolean,default:!0},contentNextFocus:{type:Object,default:()=>({up:"tabList",left:"tabList"})},triggerTask:{type:Array,default:()=>[]},blockViewPager:{type:Array,default:()=>[]},blockViewPagerVertical:{type:Array,default:()=>[]},tabContentBlockFocusDirections:{type:Array,default:()=>["down"]},tabContentResumeDelay:{type:Number,default: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,n){const o=e();e();const a=e(!0),i=e(1),l=U(),c=e(),s=fa();let u,r=[],d=-1,f=-1,p=-1;function g(e,t){const n=s.getTabPageDataState(e);n&&(n.state=t,s.setPageDataState(e,n))}function I(e){l.isLoggable(x.DEBUG)&&l.d(pa,"----设置数据---setPageStateReset->>>>pageIndex:"+e);const t=s.getTabPageDataState(e);t&&(t.state=ua.QT_TAB_PAGE_STATE_INIT,t.sectionBindIndex=-1,s.setPageDataState(e,t));const n=s.getSectionList(e);s.deleteSection(e,0,n.length-1),function(e){if(e<0||e>r.length)return;const t=r[e];t.__pageNo=0}(e)}function m(e){l.isLoggable(x.DEBUG)&&l.d(pa,"----设置数据---setPageStateRecycled->>>>pageIndex:"+e);const t=s.getTabPageDataState(e);t&&(t.sectionBindIndex=0,t.state=ua.QT_TAB_PAGE_STATE_IDLE,s.setPageDataState(e,t));const n=s.getSectionList(e);s.deleteSection(e,1,n.length-1),function(e,t){if(e<0||e>r.length)return;const n=r[e];n.__pageNo=t}(e,1)}function T(e){if(e<0||e>r.length)return 0;const t=r[e];return null==t.__pageNo&&(t.__pageNo=0),t.__pageNo}function v(e){if(e<0||e>r.length)return;const t=r[e];null!=t.__pageNo?t.__pageNo=t.__pageNo+1:t.__pageNo=1}function h(e,o,a){let i=T(e),c=s.getTabPageDataState(e);if(!c||c.state!==ua.QT_TAB_PAGE_STATE_IDLE&&c.state!==ua.QT_TAB_PAGE_STATE_INIT)l.isLoggable(x.DEBUG)&&l.d(pa,"------设置数据----loadPageData--状态不对--\x3e>>>",e);else{const c=s.getSectionList(e);a>=c.length-t.preloadNumber-1?(l.isLoggable(x.DEBUG)&&l.d(pa,"---------设置数据-----加载更多数据-----\x3e>>> pageIndex:"+e+" pageNo:"+i+" sectionIndex:"+a+" sectionListLength:"+c.length),g(e,ua.QT_TAB_PAGE_STATE_BUSY),n.emit("onTabPageLoadData",e,i,o)):l.isLoggable(x.DEBUG)&&l.d(pa,"----设置数据------loadPageData--preloadNumber错误--\x3e>>>",e)}}function _(){clearTimeout(p),p=setTimeout((()=>{const e=s.getSectionListByState(d,ra.QT_LIST_VIEW_ITEM_STATE_ATTACHED);(e?e.length:0)>0&&(e.forEach((e=>{l.isLoggable(x.DEBUG)&&l.d(pa,"----------notifyTabContentSectionAttached------\x3e>>> pageIndex"+d+" sectionIndex:",e.sectionIndex)})),n.emit("onTabPageSectionAttached",d,e))}),100)}function F(e,t){l.isLoggable(x.DEBUG)&&l.d(pa,"----------onWaterfallScroll----\x3e>>> offsetX:"+e+" scrollY:"+t),n.emit("onTabPageScroll",e,t)}function S(e,t,o){l.isLoggable(x.DEBUG)&&l.d(pa,"----------onWaterfallScrollStateChanged----\x3e>>> offsetX:"+e+" scrollY:"+t+" newState:"+o),n.emit("onTabPageScrollStateChanged",e,t,o)}return{tabs:o,ifTabs:a,navBarRef:c,initTab:function(e){let t={defaultIndex:e.defaultIndex,focusIndex:e.defaultFocusIndex,data:e.itemList};r=e.itemList,s.initTab(e),o.value?.setTabsData(t)},setAutoFocus:function(e,t){o.value?.setAutoFocus(e,t)},initPage:function(e){u=e},setPageState:g,setPageData:function(e,t){l.isLoggable(x.DEBUG)&&l.d(pa,"----------loadPageData----setPageData--\x3e>>>pageIndex:"+e),s.addSectionList(e,t.data);const n={data:ia(u,t.data),disableScrollOnFirstScreen:t.disableScrollOnFirstScreen??!1,firstFocusTargetID:t.firstFocusTargetID??"",useDiff:t.useDiff};l.isLoggable(x.DEBUG)&&l.d(pa,"---------设置数据-----setPageData------\x3e>>> pageIndex:"+e+" data:",n),v(e),o.value?.setPageData(e,n)},addPageData:function(e,t,n=0){s.addSectionList(e,t.data);const a={data:ia(u,t.data),disableScrollOnFirstScreen:t.disableScrollOnFirstScreen??!1,firstFocusTargetID:t.firstFocusTargetID??"",useDiff:t.useDiff};try{const t=T(e);0==t?(l.isLoggable(x.DEBUG)&&l.d(pa,"---------设置数据------setPageData---\x3e>>> pageIndex:"+e+" pageNo:"+t+" data:",a," deleteCount:"+n),o.value?.setPageData(e,a)):(l.isLoggable(x.DEBUG)&&l.d(pa,"---------设置数据------addPageData---\x3e>>> pageIndex:"+e+" pageNo:"+t+" data:",a," deleteCount:"+n),o.value?.addPageData(e,a,n))}catch(e){}v(e)},updatePageData:function(e,t){s.updateSectionList(e,t.data);const n={data:ia(u,t.data),disableScrollOnFirstScreen:t.disableScrollOnFirstScreen??!1,firstFocusTargetID:t.firstFocusTargetID??"",useDiff:t.useDiff};o.value?.updatePageData(e,n)},updatePageSection:function(e,t,n){s.updateSection(e,t,n);const a=la(0,n);o.value?.updateRootNode(e,t,a)},getPageSection:function(e,t){return s.getSection(e,t)},getPageSectionList:function(e){return s.getSectionList(e)},deletePageSection:function(e,t,n){s.deleteSection(e,t,n),o.value?.invokeContentFunction(e,"deleteItemRange",[t,n])},addPageItemList:function(e,t,n){s.addItemList(e,t,n);const a=s.getSection(e,t);if(a){const n=la(0,a);o.value?.updateRootNode(e,t,n)}},getPageItem:function(e,t,n){return s.getItem(e,t,n)},updatePageItem:function(e,t,n,a){s.updateItem(e,t,n,a),o.value?.updateChildNode(e,t,n,a)},deletePageItem:function(e,t,n,a){s.deleteItem(e,t,n,a);const i=s.getSection(e,t);if(i){const n=la(0,i);o.value?.updateRootNode(e,t,n)}},blockRootFocus:function(){o.value?.blockRootFocus()},unBlockRootFocus:function(){o.value?.unBlockRootFocus()},focusBackToTop:function(){o.value?.focusBackToTop()},requestNodeFocus:function(e){o.value?.requestNodeFocus(e)},reloadAll:function(e=!0){o.value?.reloadAll(e)},reloadPage:function(e){o.value?.reloadPage(e)},setCurrentPage:function(e){o.value?.setCurrentPage(e)},requestTabFocus:function(e){o.value?.requestTabFocus(e)},invokeContentFunction:function(e,t,n){o.value?.invokeContentFunction(e,t,n)},invokeContentFunctionDirect:function(e,t){o.value?.invokeContentFunctionDirect(e,t)},contentScrollToFocus:function(e){o.value?.contentScrollToFocus(e)},getRootNodeViewState:function(e,t,n){o.value?.getRootNodeViewState(e,t,n)},getChildNodeViewState:function(e,t,n,a,i){o.value?.getChildNodeViewState(e,t,n,a,i)},dispatchUIFunctionOnChildNode:function(e,t,n,a,i){o.value?.dispatchUIFunctionOnChildNode(e,t,n,a,i)},updateItemMatched:function(e="id",t,n){o.value?.updateItemMatched(e,t,n)},updateRootNode:function(e,t,n){o.value?.updateRootNode(e,t,n)},updateChildNode:function(e,t,n,a){o.value?.updateChildNode(e,t,n,a)},destroy:function(){o.value?.destroy()},translationLeft:function(){o.value?.translationLeft()},translationRight:function(){o.value?.translationRight()},rootOpacity:i,onTabPageLoadData:function(e){const t=e.pageIndex,n=e.useDiff;l.isLoggable(x.DEBUG)&&l.d(pa,"----------设置数据----onTabPageLoadData--\x3e>>>pageIndex:"+t),I(t),h(t,n,0)},onTabPageChanged:function(e){const t=e.pageIndex;if(d==t)return;f=d,-1==f&&(f=t),d=t;for(let e=0;e<r.length;e++){const n=s.getTabPageDataState(e);e!=t&&e!=f&&n&&n.state!=ua.QT_TAB_PAGE_STATE_INIT&&m(e)}const o=e.data;n.emit("onTabPageChanged",t,o);const a=s.getTabPageDataState(t);a&&a.sectionBindIndex>=-1&&h(t,!1,a.sectionBindIndex),_()},onTabEvent:function(e){const t=e.params,o=e.eventName,a=e.params.itemPosition,i=e.params.x,c=e.params.y,s=e.params.contentOffset,u=e.params.state;switch(l.isLoggable(x.DEBUG)&&l.d(pa,"----------onTabEvent------\x3e>>> eventName:"+o+" tabIndex:"+a+" params:",t),n.emit("onTabEvent",a,o,t),o){case"onMoveToTopStart":n.emit("onTabMoveToTopStart",a,o,t);break;case"onMoveToTopEnd":n.emit("onTabMoveToTopEnd",a,o,t);break;case"onMoveToBottomStart":n.emit("onTabMoveToBottomStart",a,o,t);break;case"onMoveToBottomEnd":n.emit("onTabMoveToBottomEnd",a,o,t);break;case"onTabChanged":n.emit("onTabChanged",a,o,t);break;case"onScroll":F(i,c);break;case"onScrollStateChanged":S(s.x,s.y,u.newState)}},onWaterfallItemClick:function(e,t,o){l.isLoggable(x.DEBUG)&&l.d(pa,"-----------onWaterfallItemClick---------------\x3e>>> sectionIndex:"+e+" itemIndex:"+t+" item:",o),n.emit("onTabPageItemClick",d,e,t,o)},onWaterfallItemFocused:function(e,t,o,a){l.isLoggable(x.DEBUG)&&l.d(pa,"-----------onWaterfallItemFocused---------------\x3e>>> sectionIndex:"+e+" itemIndex:"+t+" isFocused:"+o+" item:",a),n.emit("onTabPageItemFocused",d,e,t,o,a)},onWaterfallSectionBind:function(e,t){e<0||(l.isLoggable(x.DEBUG)&&l.d(pa,"---------设置数据-----绑定回调----\x3e>>> pageIndex:"+e+" sectionIndex:"+t),function(e,t){const n=s.getTabPageDataState(e);n&&(n.sectionBindIndex=t,s.setPageDataState(e,n))}(e,t),e===d&&(l.isLoggable(x.DEBUG)&&l.d(pa,"----------loadPageData----bind--\x3e>>>pageIndex:"+e),h(e,!1,t)))},onWaterfallSectionAttached:function(e,t){l.isLoggable(x.DEBUG)&&l.d(pa,"-----------onWaterfallSectionAttached---------------\x3e>>> pageIndex:"+e+" sectionIndex:"+t),s.setSectionState(e,t,ra.QT_LIST_VIEW_ITEM_STATE_ATTACHED),e==d&&_()},onWaterfallSectionDetached:function(e,t){l.isLoggable(x.DEBUG)&&l.d(pa,"-----------onWaterfallSectionDetached---------------\x3e>>> pageIndex:"+e+" sectionIndex:"+t),s.setSectionState(e,t,ra.QT_LIST_VIEW_ITEM_STATE_DETACHED)},onWaterfallScroll:F,onWaterfallScrollStateChanged:S,onTabPageScrollToStart:function(e){const t=e.pageIndex;n.emit("onTabPageScrollToStart",t),l.isLoggable(x.DEBUG)&&l.d(pa,"----------onTabPageScrollToStart------\x3e>>> pageIndex:"+t)},onTabPageScrollToEnd:function(e){const t=e.pageIndex;n.emit("onTabPageScrollToEnd",t),l.isLoggable(x.DEBUG)&&l.d(pa,"----------onTabPageScrollToEnd------\x3e>>> pageIndex:"+t)},onTabChange:function(e){},onTabClick:function(e){n.emit("onTabClick",e)},getCurrentPageIndex:function(){return d}}}});ga.render=function(e,n,l,c,r,d){const f=a("qt-nav-bar"),g=a("qt-waterfall"),m=a("recycler-view-pager"),T=a("tabs");return e.ifTabs?(t(),i(T,{key:0,ref:"tabs",class:s(["tabs-root-css",e.tabClass]),dataStrategy:e.tabsDataStrategy,hideOnSingleTab:e.hideOnSingleTab,pageSwitchDelay:e.tabContentSwitchDelay,resumeTaskDelay:e.tabContentResumeDelay,suspension:e.floatNavBar,useSuspensionBg:e.useNavBarBg,clipChildren:!1,outOfDateTime:e.outOfDateTime,blockFocusDirections:e.tabContentBlockFocusDirections,onScrollToStart:e.onTabPageScrollToStart,onScrollToEnd:e.onTabPageScrollToEnd,onLoadPage:e.onTabPageLoadData,onPageChanged:e.onTabPageChanged,onTabEvent:e.onTabEvent},{default:p((()=>[I(f,{ref:"navBarRef",name:"tabList",focusable:!1,class:s(e.tabNavBarClass),"text-key":"text",onTabFocus:e.onTabChange,onTabClick:e.onTabClick,clipChldren:!1,horizontal:e.horizontal},{default:p((()=>[o(e.$slots,"tab-item")])),_:3},8,["class","onTabFocus","onTabClick","horizontal"]),I(m,{nextFocusName:e.contentNextFocus,ref:"viewPager",class:s(e.tabPageClass),name:"content",loadingItemType:-1,clipChldren:!1,opacity:e.rootOpacity,focusable:!1,enableTransform:e.pageTransform,slidingEnable:e.slidingEnable,slidingMode:e.slidingMode,initTranslation:e.initTranslation,rightTranslation:e.rightTranslation,leftTranslation:e.leftTranslation,duration:e.duration,interpolatorType:e.interpolatorType,triggerTask:e.triggerTask,direction:e.horizontal?"horizontal":"vertical",blockFocusDirections:e.horizontal?e.blockViewPager:e.blockViewPagerVertical},{default:p((()=>[I(g,{keyName:"_id",endHintEnabled:e.endHintEnabled,enablePlaceholder:e.enablePlaceholder,onOnScrollStateChanged:e.onWaterfallScrollStateChanged,onOnScroll:e.onWaterfallScroll,onOnSectionBind:e.onWaterfallSectionBind,onOnSectionAttached:e.onWaterfallSectionAttached,onOnSectionDetached:e.onWaterfallSectionDetached,onOnItemFocused:e.onWaterfallItemFocused,onOnItemClick:e.onWaterfallItemClick},{item:p((()=>[o(e.$slots,"waterfall-item")])),"list-item":p((()=>[o(e.$slots,"waterfall-list-item")])),section:p((()=>[o(e.$slots,"waterfall-section")])),"vue-section":p((()=>[o(e.$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","useSuspensionBg","outOfDateTime","class","blockFocusDirections","onScrollToStart","onScrollToEnd","onLoadPage","onPageChanged","onTabEvent"])):u("v-if",!0)},ga.__file="src/tab/index.vue";var Ia=pn({name:"qt-vue-section",setup:(e,t)=>({onSectionBind:function(){}})});Ia.render=function(e,n,l,c,s,u){const r=a("tv-item");return t(),i(r,{class:"qt-ui-waterfall-vue-section",clipChildren:!1,clipPadding:!1,flexStyle:"${style}",singleton:"",onItemBind:e.onSectionBind},{default:p((()=>[o(e.$slots,"default")])),_:3},8,["onItemBind"])},Ia.__scopeId="data-v-d02af3c2",Ia.__file="src/section/index.vue";var ma=pn({name:"qt-classified-list-view",props:{className:{type:String,default:"content_list_view"},classNavName:{type:String,default:"nav_list_view"},currentFocusIndex:{type:Number,default:0},focusScale:{type:Number,default:1.15},navType:{type:Number,default:10001},yOffest:{type:Number,default:802}},emits:["item-click","item-focused"],setup(t,n){let o=e(1);const a=e(),i=e();let l=[],c=-1,s=-1,u=[];let r=-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})),u=e})),Yt((()=>{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(r),r=setTimeout((()=>{if(e.hasFocus){if(c!=e.position){if(c>-1){let e=u[c];e.isPlaying=!1,a.value?.updateItem(c,e)}let t=u[e.position];t.isPlaying=!0,a.value?.updateItem(e.position,t)}c=e.position,s!=e.item.navIndex&&(s=e.item.navIndex,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,u[e.item.startIndex].isNeedFocus?(a.value?.scrollToIndex(e.item.startIndex,!0,t.yOffest),f=setTimeout((()=>{a.value?.setItemSelected(e.item.startIndex,!0),d=setTimeout((()=>{o.value=1}),200)}),400)):(a.value?.scrollToIndex(e.item.startIndex+1,!0,t.yOffest),f=setTimeout((()=>{a.value?.setItemSelected(e.item.startIndex+1,!0),d=setTimeout((()=>{o.value=1}),200)}),400)))},updateItem:(e,t)=>{u[e]=t,u.forEach(((e,t)=>{e.mask||(e.mask="http://qcloudcdn.a311.ottcn.com/channelzero_image/web_static/extend_screen/mood/mask.png"),e.icon||(e.icon="http://qcloudcdn.a311.ottcn.com/channelzero_image/web_static/extend_screen/mood/playing.png");for(let t=0;t<l.length;t++){const n=l[t];e.categoryname==n.categoryname&&(e.navIndex=t)}})),a.value?.updateItem(e,u[e])}}}});const Ta={focusable:!1,clipChildren:!1},va=["focusScale"],ha=m("img",{class:"coverV",src:"${coverV}",focusable:!1,postDelay:300},null,-1),_a=m("img",{src:"${mask}",class:"titMask",focusable:!1,postDelay:300,showIf:"${isPlaying}"},null,-1),Fa={focusable:!1,class:"clv_item_text_box",showIf:"${isPlaying}"},Sa={class:"playMark",focusable:!1},ba=["type"],Ea=m("div",{class:"line",focusable:!1,showOnState:"selected",duplicateParentState:!0},null,-1),ya=m("div",{duplicateParentState:!0,class:"nav_item_text_focused",showOnState:"focused",focusable:!1,gradientBackground:{colors:["#FF2F7CEB","#FF1163D8"],cornerRadius:40}},null,-1),Pa={class:"nav_item_text",focusable:!1,duplicateParentState:!0};ma.render=function(e,i,l,r,d,f){const g=a("play-mark"),T=a("text-view"),v=a("qt-list-view");return t(),n("div",Ta,[u(" listview second nav "),I(v,{class:s(e.className),ref:"content_list_view",clipChildren:!1,clipPadding:!1,onItemClick:e.onSItemClick,horizontal:"",blockFocusDirections:["left","right"],descendantFocusability:e.descendantFocusability,onItemFocused:e.onSItemFocused},{default:p((()=>[m("div",{type:10001,name:"clv_item",class:"clv_item",focusable:!0,enableFocusBorder:!0,clipChildren:!1,eventClick:"",eventFocus:"",focusScale:e.focusScale},[ha,_a,m("div",Fa,[m("div",Sa,[I(g,{style:c([{width:"28px",height:"20px"},{"margin-left":"16px"}]),markColor:"#ffffff",gap:-1,focusable:!1})]),I(T,{focusable:!1,ellipsizeMode:2,fontSize:30,gravity:"centerVertical",lines:1,maxLines:1,class:"clv_item_text",text:"${assetTitle}",paddingRect:[6,0,0,0]})])],8,va),o(e.$slots,"item")])),_:3},8,["class","onItemClick","descendantFocusability","onItemFocused"]),u(" listview first nav "),I(v,{class:s(e.classNavName),ref:"nav_list_view",clipChildren:!1,clipPadding:!1,onItemClick:e.onFItemClick,horizontal:"",blockFocusDirections:["left","right"],onItemFocused:e.onFItemFocused},{default:p((()=>[m("div",{type:e.navType,name:"nav_item",class:"nav_item",focusable:!0,enableFocusBorder:!1,focusScale:"1",eventClick:"",eventFocus:"",clipChildren:!1},[Ea,ya,m("div",Pa,[I(T,{focusable:!1,ellipsizeMode:2,duplicateParentState:!0,fontSize:44,gravity:"center",lines:1,class:"text_selected",text:"${categoryname}",showOnState:["selected"]}),I(T,{focusable:!1,ellipsizeMode:2,duplicateParentState:!0,fontSize:44,gravity:"center",lines:1,maxLines:1,class:"text",text:"${categoryname}",showOnState:"focused"}),I(T,{focusable:!1,ellipsizeMode:2,duplicateParentState:!0,fontSize:44,gravity:"center",lines:1,class:"text",text:"${categoryname}",showOnState:["normal"]})])],8,ba),o(e.$slots,"navItem")])),_:3},8,["class","onItemClick","onItemFocused"])])},ma.__file="src/classified-list-view/index.vue";var Aa=l({name:"media-series-number-item",props:{isVip:{type:Boolean,default:!1}}});const Ra={class:"number-item-container",focusable:!0,focusScale:1},Ua={style:{position:"absolute","flex-direction":"row","justify-content":"center","align-items":"center",width:"160px",height:"80px","background-color":"transparent"},showOnState:"selected",duplicateParentState:!0},xa={class:"media-series-number-item-vip-root",showIf:"${vip.enable}",gradientBackground:{colors:["#FFB67827","#FFDBAF5C"],cornerRadius:4,orientation:6}};Aa.render=function(e,o,i,l,s,u){const r=a("text-view"),d=a("play-mark");return t(),n("div",Ra,[I(r,{duplicateParentState:!0,showOnState:"normal",style:{position:"absolute",width:"160px",height:"80px",color:"rgba(255, 255, 255, .50)"},fontSize:36,gravity:"center",text:"${title}"}),I(r,{duplicateParentState:!0,style:{position:"absolute",width:"160px",height:"80px",color:"rgba(0, 0, 0, 1)"},fontSize:36,gravity:"center",showOnOnlyFocused:"",text:"${title}"}),m("div",Ua,[I(d,{style:{width:"24px",height:"25px"},markColor:e.isVip?"#FFD97C":"#FF4E46"},null,8,["markColor"]),I(r,{duplicateParentState:!0,fontSize:36,gravity:"center",style:c({color:this.isVip?"#FFD97C":"rgba(255, 255, 255, .50)}"}),text:"${title}"},null,8,["style"])]),m("div",xa,[I(r,{duplicateParentState:!0,class:"media-series-number-item-vip-text",fontSize:20,gravity:"center",text:"${vip.text}"})])])},Aa.__scopeId="data-v-4afb8987",Aa.__file="src/series/item/media-series-number-item.vue";var La=l({name:"media-series-text-item",props:{isVip:{type:Boolean,default:!1}}});const Ca={class:"text-item-container",focusable:!0,focusScale:1},Da={class:"text-item-container",showOnState:"selected",style:{position:"absolute","align-items":"center","background-color":"transparent"},duplicateParentState:!0},ka={class:"media-series-text-item-vip-root",showIf:"${vip.enable}",gradientBackground:{colors:["#FFB67827","#FFDBAF5C"],cornerRadius:4,orientation:6}};La.render=function(e,o,i,l,s,u){const r=a("play-mark"),d=a("text-view");return t(),n("div",Ca,[m("div",Da,[I(r,{duplicateParentState:!0,style:{width:"23px",height:"22px","margin-left":"29px","margin-right":"10px"},markColor:this.isVip?"#FFD97C":"#FF4E46"},null,8,["markColor"]),I(d,{duplicateParentState:!0,maxLines:1,ellipsizeMode:2,style:c([{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"])]),I(d,{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}"}),I(d,{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}"}),m("div",ka,[I(d,{duplicateParentState:!0,class:"media-series-text-item-vip-text",fontSize:20,gravity:"center",text:"${vip.text}"})])])},La.__scopeId="data-v-4859f623",La.__file="src/series/item/media-series-text-item.vue";var Na,Oa,wa=l({name:"media-series",props:{customItem:{type:Boolean,default:!1},initParam:{type:Object,default:()=>({})},height:{type:Number,default:230},scrollParam:{type:Object,default:()=>({})},groupParam:{type:Object,default:()=>({})},commonParam:{type:Object,default:()=>({})}},emits:["load-data","item-click","item-focused","group-item-focused"],setup(t,n){const o=e();let a=e(!1);F((()=>{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):Yt((()=>{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 Ba(e,t,n,o){const a=function(e,t,n,o){switch(e){case Na.QT_MEDIA_SERIES_TYPE_LEFT_RIGHT:break;case Na.QT_MEDIA_SERIES_TYPE_NUMBER:return 80;case Na.QT_MEDIA_SERIES_TYPE_TEXT:return 100;case Na.QT_MEDIA_SERIES_TYPE_TOP_DOWN:}return-1}(e);switch(e){case Na.QT_MEDIA_SERIES_TYPE_TOP_DOWN:case Na.QT_MEDIA_SERIES_TYPE_TEXT:return{contentWidth:1740,itemGap:36,initPosition:o.initPosition,contentHeight:a};case Na.QT_MEDIA_SERIES_TYPE_NUMBER:return{contentWidth:1740,itemGap:15.6,initPosition:o.initPosition,contentHeight:a};case Na.QT_MEDIA_SERIES_TYPE_LEFT_RIGHT:return{}}}wa.render=function(e,n,l,s,r,d){const f=a("select-series"),g=a("large-list");return e.customItem?(t(),i(f,{key:0,ref:"selectSeries",clipChildren:!1,scrollParam:e.scrollParam,groupParam:e.groupParam,commonParam:e.commonParam,display:!0,onLoadData:e.onLoadData,onItemClick:e.onItemClick,onItemFocused:e.onItemFocused,onGroupItemFocused:e.onGroupItemFocused,style:c({width:1920,height:e.height})},{default:p((()=>[o(e.$slots,"default")])),_:3},8,["scrollParam","groupParam","commonParam","onLoadData","onItemClick","onItemFocused","onGroupItemFocused","style"])):e.showOld?(t(),i(g,{key:1,ref:"selectSeries",clipChildren:!1,display:!0,initParam:e.initParam,onLoadData:e.onLoadData,onItemClick:e.onItemClick,onItemFocused:e.onItemFocused,onGroupItemFocused:e.onGroupItemFocused,style:c({width:1920,height:e.height})},null,8,["initParam","onLoadData","onItemClick","onItemFocused","onGroupItemFocused","style"])):u("v-if",!0)},wa.__file="src/series/component/media-series.vue",function(e){e.QT_MEDIA_SERIES_TYPE_LEFT_RIGHT="leftRight",e.QT_MEDIA_SERIES_TYPE_TOP_DOWN="topDown",e.QT_MEDIA_SERIES_TYPE_TEXT="text",e.QT_MEDIA_SERIES_TYPE_NUMBER="number"}(Na||(Na={})),function(e){e[e.QT_MEDIA_SERIES_STYLE_TYPE_DEFAULT=0]="QT_MEDIA_SERIES_STYLE_TYPE_DEFAULT",e[e.QT_MEDIA_SERIES_STYLE_TYPE_VIP=1]="QT_MEDIA_SERIES_STYLE_TYPE_VIP"}(Oa||(Oa={}));var Ma,$a,Va,Wa,Qa=l({name:"qt-media-series",components:{"media-series-number-item":Aa,"media-series-text-item":La,"media-series":wa},emits:["load-data","item-click","item-focused","group-item-focused"],setup(t,n){const o=e(),a=e(!1),i=U(),l=e(),c=e(),s=e(),u=e(),r=e(0),d=e(!1),f=e(Na.QT_MEDIA_SERIES_TYPE_NUMBER);let p;return{isVip:d,seriesType:f,params:l,commonParams:c,scrollParams:s,groupParams:u,mediaSeriesRef:o,show:a,height:r,onLoadData:e=>{n.emit("load-data",e)},setInitData:(e,t,n,d)=>{f.value=e,p=d,l.value=function(e,t,n,o){const a=n==Oa.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,n,d),c.value=Ba(e,0,0,d),s.value=function(e,t,n,o){if(e===Na.QT_MEDIA_SERIES_TYPE_NUMBER)return{scrollType:1,pageDisplayCount:10,paddingForPageLeft:0,paddingForPageRight:0}}(e),u.value=function(e,t,n,o){const a={};if(t.enable){switch(e){case Na.QT_MEDIA_SERIES_TYPE_TOP_DOWN:a.groupSize=t.size;case Na.QT_MEDIA_SERIES_TYPE_TEXT:a.groupSize=t.size;case Na.QT_MEDIA_SERIES_TYPE_NUMBER:a.groupSize=t.size}n==Oa.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,n),Na.QT_MEDIA_SERIES_TYPE_LEFT_RIGHT!==e?(r.value=function(e,t,n,o){switch(e){case Na.QT_MEDIA_SERIES_TYPE_LEFT_RIGHT:break;case Na.QT_MEDIA_SERIES_TYPE_NUMBER:return 80+(t.enable?70:0);case Na.QT_MEDIA_SERIES_TYPE_TEXT:return 100+(t.enable?70:0);case Na.QT_MEDIA_SERIES_TYPE_TOP_DOWN:}return-1}(e,t),Yt((()=>{o.value&&o.value?.setInitData(d.totalCount,d.pageSize)})),i.isLoggable(x.DEBUG)&&i.d("MediaSeries","----setInitData----\x3e>>>",r.value)):(r.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,l),l.value.totalCount=d.totalCount,l.value.pageSize=d.pageSize),a.value=!0},setPageData:(e,t)=>{let n=t;f.value==Na.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,p.pageSize,t)),o.value?.setPageData(e,n)},onItemClick:e=>{n.emit("item-click",e)},onItemFocused:e=>{n.emit("item-focused",e)},onGroupItemFocused:e=>{n.emit("group-item-focused",e)},scrollTo:e=>{o.value?.scrollTo(e)},scrollToWithOffset:(e,t)=>{o.value?.scrollToWithOffset(e,t,!1)},requestFocus:e=>{o.value?.requestFocus(e)},setSelected:e=>{o.value?.setSelected(e)},setup:()=>{o.value?.setup()},setGroupSelected:e=>{o.value?.setGroupSelected(e)},release:()=>{o.value?.release(),a.value=!1},blockRootFocus:()=>{o.value&&P.callUIFunction(o.value,"blockRootFocus",[])},unBlockRootFocus:()=>{o.value&&P.callUIFunction(o.value,"unBlockRootFocus",[])}}}});Qa.render=function(e,n,l,c,s,r){const d=a("media-series-number-item"),f=a("media-series-text-item"),g=a("media-series");return e.show?(t(),i(g,{key:0,ref:"mediaSeriesRef",clipChildren:!1,"init-param":e.params,height:e.height,"custom-item":"leftRight"!==e.seriesType,"scroll-param":e.scrollParams,"group-param":e.groupParams,"common-param":e.commonParams,onLoadData:e.onLoadData,onItemClick:e.onItemClick,onItemFocused:e.onItemFocused,onGroupItemFocused:e.onGroupItemFocused},{default:p((()=>["number"===e.seriesType?(t(),i(d,{key:0,"is-vip":e.isVip},null,8,["is-vip"])):"text"===e.seriesType?(t(),i(f,{key:1,"is-vip":e.isVip},null,8,["is-vip"])):"custom"===e.seriesType?o(e.$slots,"default",{key:2}):u("v-if",!0)])),_:3},8,["init-param","height","custom-item","scroll-param","group-param","common-param","onLoadData","onItemClick","onItemFocused","onGroupItemFocused"])):u("v-if",!0)},Qa.__file="src/series/index.vue",function(e){e[e.QT_ACCELERATE_DECELERATE_INTERPOLATOR=1]="QT_ACCELERATE_DECELERATE_INTERPOLATOR",e[e.QT_ACCELERATE_INTERPOLATOR=2]="QT_ACCELERATE_INTERPOLATOR",e[e.QT_ANTICIPATE_INTERPOLATOR=3]="QT_ANTICIPATE_INTERPOLATOR",e[e.QT_ANTICIPATE_OVERSHOOT_INTERPOLATOR=4]="QT_ANTICIPATE_OVERSHOOT_INTERPOLATOR",e[e.QT_BOUNCE_INTERPOLATOR=5]="QT_BOUNCE_INTERPOLATOR",e[e.QT_CYCLE_INTERPOLATOR=6]="QT_CYCLE_INTERPOLATOR",e[e.QT_DECELERATE_INTERPOLATOR=7]="QT_DECELERATE_INTERPOLATOR",e[e.QT_LINEAR_INTERPOLATOR=8]="QT_LINEAR_INTERPOLATOR",e[e.QT_OVERSHOOT_INTERPOLATOR=9]="QT_OVERSHOOT_INTERPOLATOR",e[e.QT_FAST_OUT_LINEAR_IN_INTERPOLATOR=10]="QT_FAST_OUT_LINEAR_IN_INTERPOLATOR",e[e.QT_FAST_OUT_SLOW_IN_INTERPOLATOR=11]="QT_FAST_OUT_SLOW_IN_INTERPOLATOR",e[e.QT_PATH_INTERPOLATOR=12]="QT_PATH_INTERPOLATOR"}(Ma||(Ma={})),function(e){e.QT_ANIMATION_PROPERTY_NAME_ALPHA="alpha",e.QT_ANIMATION_PROPERTY_NAME_ROTATION="rotation",e.QT_ANIMATION_PROPERTY_NAME_ROTATION_X="rotationX",e.QT_ANIMATION_PROPERTY_NAME_ROTATION_Y="rotationY",e.QT_ANIMATION_PROPERTY_NAME_ROTATION_Z="rotationZ",e.QT_ANIMATION_PROPERTY_NAME_SCALE_X="scaleX",e.QT_ANIMATION_PROPERTY_NAME_SCALE_Y="scaleY",e.QT_ANIMATION_PROPERTY_NAME_SCALE_Z="scaleZ",e.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_X="translationX",e.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Y="translationY",e.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Z="translationZ"}($a||($a={})),function(e){e[e.QT_ANIMATION_REPEAT_MODE_RESTART=1]="QT_ANIMATION_REPEAT_MODE_RESTART",e[e.QT_ANIMATION_REPEAT_MODE_REVERSE=2]="QT_ANIMATION_REPEAT_MODE_REVERSE",e[e.QT_ANIMATION_REPEAT_MODE_INFINITE=-1]="QT_ANIMATION_REPEAT_MODE_INFINITE"}(Va||(Va={})),function(e){e.QT_ANIMATION_VALUE_TYPE_INT="ofInt",e.QT_ANIMATION_VALUE_TYPE_FLOAT="ofFloat"}(Wa||(Wa={}));const za="QTCollapse";var Ga,Ya,qa,Ha,ja,Ka,Xa,Ja,Za,ei,ti=pn({name:"qt-collapse",emits:["onCollapseItemExpand"],setup(t,n){const o=U();let a,i,l=n.slots.default&&n.slots.default();const c=e(0),s=e(0);let u=200;const r={};const d={};function f(e){return d[`${e}`]}function p(e,t){const i=a[e],l=i.__y,c=s.value-i.height-l;o.isLoggable(x.DEBUG)&&o.d(za,"-------expandItem-------\x3e>>>",e,c,l);let u=0;for(let n=a.length-1;n>=0;n--){const i=a[n];i.height;const l=i.collapseHeight;n<e&&(u+=l);try{const t=I(n);t&&t.onCollapseItemExpand(n==e)}catch(e){}const s=f(n);s&&(o.isLoggable(x.DEBUG)&&o.d(za,"-------expandItem----translationY---\x3e>>>",i,n,i.__translationY,c+u),g(n+"",i,s,i.__translationY,c+u,t))}try{n.emit("onCollapseItemExpand",e,i)}catch(e){}}function g(e,t,n,o,a,i){n.objectAnimator2(e,Wa.QT_ANIMATION_VALUE_TYPE_FLOAT,$a.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Y,o,a,i,-1,0,!1,!1),n.startAnimator(e),t.__translationY=a}function I(e){return r[`${e}`]}return{collapseItemComponentList:l,initComponentRef:function(e,t,n){e&&(r[`${n}`]=e)},initAnimComponentRef:function(e,t,n){e&&(d[`${n}`]=e)},init:function(e){i=e.defaultIndex??0,a=e.itemList,c.value=e.width,s.value=e.height,u=e.expandDuration??200,i<0&&(i=0),i>=a.length&&(i=a.length-1),function(){if(!a||a.length<=0)return;const e=a.length;let t=0;for(let n=e-1;n>=0;n--){const e=a[n];t+=e.height,e.__y=s.value-t,e.__translationY=0}o.isLoggable(x.DEBUG)&&o.d(za,"----initCollapseItem----\x3e>>>",a)}(),S((()=>{p(i,0)}))},getItem:I,expandItem:function(e){p(e,u)},collapse:function(){const e=a.length,t=a[e-1],n=t.__y,o=s.value-t.height-n;let i=0;for(let t=e-1;t>=0;t--){const e=a[t];i+=e.collapseHeight;try{const e=I(t);e&&e.onCollapseItemExpand(!1)}catch(e){}const n=f(t);n&&g(t+"",e,n,e.__translationY,o+i,0)}},expand:function(){for(let e=a.length-1;e>=0;e--){const t=a[e];try{const t=I(e);t&&t.onCollapseItemExpand(!0)}catch(e){}const n=f(e);n&&g(e+"",t,n,t.__translationY,0,0)}},collapseWidth:c,collapseHeight:s}}});function ni(t){const n=l({props:{loadMore:{type:Function,default:function(){return[1,1]}},openPage:{type:Boolean,default:!1},preloadNo:{type:Number,default:0},defaultFocus:{type:Number,default:-1}},emits:["item-click","scroll","item-focused","item-attached","item-detached","item-bind","item-unbind","load-more","scroll-state-changed","focus-search-failed","scrollYGreaterReference","scrollYLesserReference"],setup(t,n){const o=e();R();let a=[],i=[],l=[],c="",s=-1,u=!1,r=-1,p=-1,g=-1,I=-1;d((()=>{t.openPage&&(s=1,u=!1,t.loadMore(s))}));const m=(e,n)=>{n||(a=vo(e),T(a,-1),i=e,t.openPage?_(a.concat([{_id:"",type:1002,decoration:{top:18,bottom:18,right:30,left:30}}])):_(a),t.defaultFocus>-1&&(g&&clearTimeout(g),g=setTimeout((()=>{C(t.defaultFocus)}),500)));let o={get(e,n,i){if("__ob__"!=n&&"symbol"!=typeof n&&"map"!=n&&"length"!=n&&"constructor"!=n&&"_isVue"!=n&&"valueOf"!=n&&"toString"!=n&&"observeArray"!=n&&"dep"!=n&&"notify"!=n&&"subs"!=n&&"slice"!=n)if(l.push(n),-1!=l.indexOf("push"))c="push";else{if(-1!=l.indexOf("splice"))return c="splice",function(...t){return e.splice(...t),-1!=l.indexOf("list")?(a[l[0]].list.splice(...t),E(Number(l[0]),a[l[0]])):1==t.length?0==t[0]?_([]):b(Number(t[0]),a.length-t[0]+1):2==t.length?b(Number(t[0]),t[1]):t.length>2&&(0==t[1]?U(t[0],t.slice(2)):A(t[0],t[1],t.slice(2))),a.splice(t[0],...t.slice(1)),c="",l=[],Reflect.get(e,n,i)};if(-1!=l.indexOf("pop"))return c="pop",function(){return e.pop(),-1!=l.lastIndexOf("list")?(a[l[0]].list.pop(),E(Number(l[0]),a[l[0]])):(b(Number(a.length-1),1),a.pop()),c="",l=[],Reflect.get(e,n,i)};if(-1!=l.indexOf("forEach"))return c="forEach",function(o){return e.forEach((e=>{o(e)})),a=[],a=vo(e),t.openPage?_(a.concat([{_id:"",type:1002,decoration:{top:15,left:30}}])):_(a),c="",l=[],Reflect.get(e,n,i)};if(-1!=l.indexOf("concat"))return c="concat",function(s){return e=e.concat(s),-1!=l.lastIndexOf("list")?(a[l[0]].list=a[l[0]].list.concat(s),E(Number(l[0]),a[l[0]])):(a=a.concat(s),t.openPage&&!u?setTimeout((()=>{S(s.concat([{type:"1002",decoration:{bottom:18,right:30,left:30}}]),1)}),300):F(s)),c="",l=[],Reflect.get(e,n,i),new Proxy(e,o)};c=""}const s=Reflect.get(e,n,i);return v(s)&&"__ob__"!=n&&"dep"!=n&&"subs"!=n?m(s,!0):(-1==l.indexOf("push")&&(l=[]),s)},set(e,n,o,s){const r=e[n];h(e,n);const d=Reflect.set(e,n,o,s);if((!v(r)&&r!==o||v(r))&&"push"!=c)if(l.push(n),-1!=l.lastIndexOf("list")){let e=l.lastIndexOf("list"),t=l.lastIndexOf("list")+2,n={};for(let e=0;e<t;e++){let t=l[e];n=n?n[t]:i[t]}n.name="name"+l[e-1]+l[e+1],E(Number(l[0]),i[l[0]]),a[l[0]].list[l[e+1]]=i[l[0]].list[l[e+1]],a[l[0]].list[l[e+1]].name="name"+l[e-1]+l[e+1]}else a[l[0]]=i[l[0]],a[l[0]].name="name"+l[0],E(Number(l[0]),i[l[0]]);if(n&&"push"==c&&r!==o)-1!=l.lastIndexOf("list")?(l.push(n),a[l[0]].list.push(o)):(l.push(n),a.push(o));else{if("push"==c)if(-1!=l.lastIndexOf("list"))E(Number(l[0]),a[l[0]]);else{let e=a.slice(l[1]);I&&clearTimeout(I),I=t.openPage&&!u?setTimeout((()=>{S(e.concat([{_id:"",type:1002,decoration:{bottom:18,right:30,left:30}}]),1)}),300):setTimeout((()=>{F(e)}),300)}c="",l=[]}return d}};return new Proxy(e,o)},T=(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&&T(o.list,n)}},v=e=>null!==e&&"object"==typeof e,h=(e,t)=>{Object.hasOwnProperty.call(e,t)},_=e=>{r&&clearTimeout(r),r=setTimeout((()=>{P.callUIFunction(o.value,"setListData",e)}),100)},F=e=>{P.callUIFunction(o.value,"addListData",e)},S=(e,t)=>{P.callUIFunction(o.value,"addListDataWithParams",[e,t])},b=(e,t)=>{P.callUIFunction(o.value,"deleteItemRange",[e,t])},E=(e,t)=>{P.callUIFunction(o.value,"updateItem",[e,t])},A=(e,t,n)=>{P.callUIFunction(o.value,"updateItemRange",[e,t,n])},U=(e,t)=>{P.callUIFunction(o.value,"insertItemRange",[e,t])},x=(e,t)=>{P.callUIFunction(o.value,"setSelectChildPosition",[e,t])},L=e=>{P.callUIFunction(o.value,"scrollToPosition",[e])},C=e=>{P.callUIFunction(o.value,"requestChildFocus",[e])};return f((()=>{a=[],i.length=0,l=[],u=!1,s=1,c="",r&&clearTimeout(r),g&&clearTimeout(g),I&&clearTimeout(I),p&&clearTimeout(p)})),n.expose({viewRef:o,init:m,undataItemName:T,hasChanged:(e,t)=>e!==t&&(e==e||t==t),scrollToIndex:(e,t,n)=>{P.callUIFunction(o.value,"scrollToPositionWithOffset",[e,n,t])},updateItem:E,updateItemList:A,hasFocus:e=>{P.callUIFunction(o.value,"hasFocus",(t=>{e(t)}))},updateItemProps:(e,t,n)=>{P.callUIFunction(o.value,"updateItemProps",[t,e,n,!0])},setListData:_,insertItem:U,addListData:F,addListDataWithParams:S,dispatchItemFunction:(e,t,n,a)=>{P.callUIFunction(o.value,"dispatchItemFunction",[e,t,n,a])},deleteItem:b,setBlockFocusDirectionsOnFail:e=>{P.callUIFunction(o.value,"setBlockFocusDirectionsOnFail",[e])},setListDataWithParams:(e,t)=>{P.callUIFunction(o.value,"setListDataWithParams",[e,t])},prepareForRecycle:()=>{P.callUIFunction(o.value,"prepareForRecycle",[])},setDisplay:e=>{P.callUIFunction(o.value,"setDisplay",[e])},scrollToTop:()=>{P.callUIFunction(o.value,"scrollToTop",[])},changeDisplayState:(e,t)=>{P.callUIFunction(o.value,"changeDisplayState",[e,t])},notifySaveInstance:()=>{P.callUIFunction(o.value,"notifySaveInstance",[])},notifyRestoreInstance:()=>{P.callUIFunction(o.value,"notifyRestoreInstance",[])},pausePostTask:()=>{P.callUIFunction(o.value,"pausePostTask",[])},resumePostTask:()=>{P.callUIFunction(o.value,"resumePostTask",[])},getScrollOffset:e=>{P.callUIFunction(o.value,"getScrollOffset",[],e)},scrollToPosition:L,scrollToFocused:e=>{L(e),C(e)},scrollToSelected:(e,t)=>{L(e),x(e,t)},scrollToPositionOffset:(e,t,n,a,i)=>{P.callUIFunction(o.value,"scrollToPositionWithOffset",[t,a,n])},destroy:()=>{P.callUIFunction(o.value,"destroy",[])},startScroll:(e,t,n)=>{P.callUIFunction(o.value,"startScroll",[{focusPosition:e,scrollToPosition:t,scrollOffset:n}])},setItemFocused:C,clearPostTask:()=>{P.callUIFunction(o.value,"clearAllPostTask",[])},clearFocus:()=>{P.callUIFunction(o.value,"clearFocus",[])},setItemSelected:x,blockRootFocus:()=>{P.callUIFunction(o.value,"blockRootFocus",[])},unBlockRootFocus:()=>{P.callUIFunction(o.value,"unBlockRootFocus",[])},setBackgroundColor:e=>{P.callUIFunction(o.value,"setBackgroundColor",[e])},stopPage:()=>{p&&clearTimeout(p),p=setTimeout((()=>{b(a.length,1)}),400),u=!0},setAutoFocus:function(e,t){P.callUIFunction(o.value,"setAutoFocus",[e,t])}}),()=>{const e=n.slots.default&&n.slots.default();return y("FastListView",{ref:o,onItemClick:e=>{n.emit("item-click",e)},onScroll:e=>{n.emit("scroll",e)},onItemFocused:e=>{n.emit("item-focused",e)},onAttachedToWindow:e=>{n.emit("item-attached",e)},onDetachedFromWindow:e=>{n.emit("item-detached",e)},onBindItem:e=>{e.position==a.length-1-t.preloadNo&&(s++,t.loadMore(s)),n.emit("item-bind",e)},onUnbindItem:e=>{n.emit("item-unbind",e)},onLoadMore:e=>{n.emit("load-more",e)},onScrollStateChanged:e=>{n.emit("scroll-state-changed",e)},onFocusSearchFailed:e=>{n.emit("focus-search-failed",e)},onScrollYGreaterReference:e=>{n.emit("scrollYGreaterReference",e)},onScrollYLesserReference:e=>{n.emit("scrollYLesserReference",e)}},e)}}});t.component("qt-list-view",n)}ti.render=function(e,o,l,s,u,r){const d=a("qt-animation");return t(),n("div",{class:"qt-collapse-root-css",clipChildren:!1,clipPadding:!1,style:c({width:e.collapseWidth,height:e.collapseHeight})},[(t(!0),n(g,null,b(e.collapseItemComponentList,((n,o)=>(t(),i(d,{ref_for:!0,ref:t=>e.initAnimComponentRef(t,n,o),class:"qt-collapse-item-css"},{default:p((()=>[(t(),i(E(n),{key:n.name,class:"qt-collapse-item-css",ref_for:!0,ref:t=>e.initComponentRef(t,n,o)}))])),_:2},1536)))),256))],4)},ti.__scopeId="data-v-4feca809",ti.__file="src/collapse/index.vue",function(e){e.QT_DIRECTION_UP="up",e.QT_DIRECTION_DOWN="down",e.QT_DIRECTION_RIGHT="right",e.QT_DIRECTION_LEFT="left"}(Ga||(Ga={})),function(e){e[e.SCROLL_STATE_IDLE=0]="SCROLL_STATE_IDLE",e[e.SCROLL_STATE_DRAGGING=1]="SCROLL_STATE_DRAGGING",e[e.SCROLL_STATE_SETTLING=2]="SCROLL_STATE_SETTLING"}(Ya||(Ya={})),function(e){e[e.QT_NAV_BAR_ITEM_TYPE_TEXT=2e4]="QT_NAV_BAR_ITEM_TYPE_TEXT"}(qa||(qa={})),function(e){e[e.QT_TAB_ITEM_TYPE_DEFAULT=2e4]="QT_TAB_ITEM_TYPE_DEFAULT"}(Ha||(Ha={})),function(e){e[e.QT_SEEK_BAR_MODE_SINGLE=1]="QT_SEEK_BAR_MODE_SINGLE",e[e.QT_SEEK_BAR_MODE_RANGE=2]="QT_SEEK_BAR_MODE_RANGE"}(ja||(ja={})),function(e){e[e.QT_SEEK_BAR_GRAVITY_TOP=0]="QT_SEEK_BAR_GRAVITY_TOP",e[e.QT_SEEK_BAR_GRAVITY_BOTTOM=1]="QT_SEEK_BAR_GRAVITY_BOTTOM",e[e.QT_SEEK_BAR_GRAVITY_CENTER=2]="QT_SEEK_BAR_GRAVITY_CENTER"}(Ka||(Ka={})),function(e){e[e.QT_SEEK_BAR_INDICATION_MODE_SHOW_WHEN_TOUCH=0]="QT_SEEK_BAR_INDICATION_MODE_SHOW_WHEN_TOUCH",e[e.QT_SEEK_BAR_INDICATION_MODE_ALWAYS_HIDE=1]="QT_SEEK_BAR_INDICATION_MODE_ALWAYS_HIDE",e[e.QT_SEEK_BAR_INDICATION_MODE_ALWAYS_SHOW_AFTER_TOUCH=2]="QT_SEEK_BAR_INDICATION_MODE_ALWAYS_SHOW_AFTER_TOUCH",e[e.QT_SEEK_BAR_INDICATION_MODE_ALWAYS_SHOW=3]="QT_SEEK_BAR_INDICATION_MODE_ALWAYS_SHOW"}(Xa||(Xa={})),function(e){e[e.QT_SEEK_BAR_TICK_MARK_MODE_NUMBER=0]="QT_SEEK_BAR_TICK_MARK_MODE_NUMBER",e[e.QT_SEEK_BAR_TICK_MARK_MODE_OTHER=1]="QT_SEEK_BAR_TICK_MARK_MODE_OTHER"}(Ja||(Ja={})),function(e){e[e.QT_SEEK_BAR_TICK_MARK_GRAVITY_LEFT=0]="QT_SEEK_BAR_TICK_MARK_GRAVITY_LEFT",e[e.QT_SEEK_BAR_TICK_MARK_GRAVITY_CENTER=1]="QT_SEEK_BAR_TICK_MARK_GRAVITY_CENTER",e[e.QT_SEEK_BAR_TICK_MARK_GRAVITY_RIGHT=2]="QT_SEEK_BAR_TICK_MARK_GRAVITY_RIGHT"}(Za||(Za={})),function(e){e[e.QT_SEEK_BAR_TICK_MARK_LAYOUT_GRAVITY_TOP=0]="QT_SEEK_BAR_TICK_MARK_LAYOUT_GRAVITY_TOP",e[e.QT_SEEK_BAR_TICK_MARK_LAYOUT_GRAVITY_BOTTOM=1]="QT_SEEK_BAR_TICK_MARK_LAYOUT_GRAVITY_BOTTOM"}(ei||(ei={}));const oi=[Jn,eo,to,oo,io,co,ho,Po,Do,da,ga,ma,Ia,Qa,ti],ai=t=>{t.component("qt-loading-view",{setup(t,n){const o=e();return()=>y("LoadingViewComponent",{ref:o})}}),ni(t),function(t){const n=l({emits:["item-focused","item-attached","item-detached","item-bind","item-unbind"],setup(t,n){const o=e();return n.expose({viewRef:o,updateItem:(e,t)=>{P.callUIFunction(o.value,"updateItem",[e,t])},dispatchItemFunction:(e,t,n,a)=>{P.callUIFunction(o.value,"dispatchItemFunction",[e,t,n,a])},updateItemProps:(e,t,n)=>{P.callUIFunction(o.value,"updateItemProps",[t,e,n,!0])},batch:e=>{P.callUIFunction(o.value,"batch",[e])}}),()=>{const e=n.slots.default&&n.slots.default();return y("FastListView",{ref:o,onBindItem:e=>{n.emit("item-bind",e)},onItemFocused:e=>{n.emit("item-focused",e)},onAttachedToWindow:e=>{n.emit("item-attached",e)},onDetachedFromWindow:e=>{n.emit("item-detached",e)},onItemRecycled:e=>{n.emit("item-unbind",e)}},e)}}});t.component("qt-list-item",n)}(t),function(t){const n=l({name:"WebView",emits:["onCanGoBack","onCanGoForward","onCanGoBackOrForward","onPageStarted","onPageFinished","onLoadResource","onReceivedSslError","onReceivedError","shouldOverrideUrlLoading","onJs2Vue"],setup(t,n){const o=e();F((()=>{a(!0),l(!0),r(!0),s(!0),u(!0),c(!0),g(!0),f(!0),d(!0),p(!0),i(1),I(2)}));const a=e=>{P.callUIFunction(o.value,"setJavaScriptEnabled",[e],(e=>{}))},i=e=>{P.callUIFunction(o.value,"setPluginState",[e],(e=>{}))},l=e=>{P.callUIFunction(o.value,"setJavaScriptCanOpenWindowsAutomatically",[e],(e=>{}))},c=e=>{P.callUIFunction(o.value,"setUseWideViewPort",[e],(e=>{}))},s=e=>{P.callUIFunction(o.value,"setSupportZoom",[e],(e=>{}))},u=e=>{P.callUIFunction(o.value,"setBuiltInZoomControls",[e],(e=>{}))},r=e=>{P.callUIFunction(o.value,"setAllowFileAccess",[e],(e=>{}))},d=e=>{P.callUIFunction(o.value,"setDomStorageEnabled",[e],(e=>{}))},f=e=>{P.callUIFunction(o.value,"setAppCacheEnabled",[e],(e=>{}))},p=e=>{P.callUIFunction(o.value,"setGeolocationEnabled",[e],(e=>{}))},g=e=>{P.callUIFunction(o.value,"setSupportMultipleWindows",[e],(e=>{}))},I=e=>{P.callUIFunction(o.value,"setCacheMode",[e],(e=>{}))};return n.expose({loadUrl:e=>{P.callUIFunction(o.value,"loadUrl",[e],(e=>{}))},evaluateJavascript:e=>{P.callUIFunction(o.value,"evaluateJavascript",[e],(e=>{}))},canGoBack:()=>{P.callUIFunction(o.value,"canGoBack",[],(e=>{n.emit("onCanGoBack",e)}))},goBack:()=>{P.callUIFunction(o.value,"goBack",[],(e=>{}))},canGoForward:()=>{P.callUIFunction(o.value,"canGoForward",[],(e=>{n.emit("onCanGoForward",e)}))},goForward:()=>{P.callUIFunction(o.value,"goForward",[],(e=>{}))},canGoBackOrForward:e=>{P.callUIFunction(o.value,"canGoBackOrForward",[e],(e=>{n.emit("onCanGoBackOrForward",e)}))},goBackOrForward:e=>{P.callUIFunction(o.value,"goBackOrForward",[e],(e=>{}))},onResume:()=>{P.callUIFunction(o.value,"onResume",[],(e=>{}))},onPause:()=>{P.callUIFunction(o.value,"onPause",[],(e=>{}))},pauseTimers:()=>{P.callUIFunction(o.value,"pauseTimers",[],(e=>{}))},resumeTimers:()=>{P.callUIFunction(o.value,"resumeTimers",[],(e=>{}))},destroy:()=>{P.callUIFunction(o.value,"destroy",[],(e=>{}))},setJavaScriptEnabled:a,setPluginState:i,setJavaScriptCanOpenWindowsAutomatically:l,setUseWideViewPort:c,setLoadWithOverviewMode:e=>{P.callUIFunction(o.value,"setLoadWithOverviewMode",[e],(e=>{}))},setSupportZoom:s,setBuiltInZoomControls:u,setDisplayZoomControls:e=>{P.callUIFunction(o.value,"setDisplayZoomControls",[e],(e=>{}))},setAllowFileAccess:r,setDomStorageEnabled:d,setDatabaseEnabled:e=>{P.callUIFunction(o.value,"setDatabaseEnabled",[e],(e=>{}))},setAppCacheEnabled:f,setAppCachePath:e=>{P.callUIFunction(o.value,"setAppCachePath",[e],(e=>{}))},setMediaPlaybackRequiresUserGesture:e=>{P.callUIFunction(o.value,"setMediaPlaybackRequiresUserGesture",[e],(e=>{}))},setStandardFontFamily:e=>{P.callUIFunction(o.value,"setStandardFontFamily",[e],(e=>{}))},setFixedFontFamily:e=>{P.callUIFunction(o.value,"setFixedFontFamily",[e],(e=>{}))},setSansSerifFontFamily:e=>{P.callUIFunction(o.value,"setSansSerifFontFamily",[e],(e=>{}))},setSerifFontFamily:e=>{P.callUIFunction(o.value,"setSerifFontFamily",[e],(e=>{}))},setCursiveFontFamily:e=>{P.callUIFunction(o.value,"setCursiveFontFamily",[e],(e=>{}))},setFantasyFontFamily:e=>{P.callUIFunction(o.value,"setFantasyFontFamily",[e],(e=>{}))},setTextZoom:e=>{P.callUIFunction(o.value,"setTextZoom",[e],(e=>{}))},setMinimumFontSize:e=>{P.callUIFunction(o.value,"setMinimumFontSize",[e],(e=>{}))},setDefaultFontSize:e=>{P.callUIFunction(o.value,"setDefaultFontSize",[e],(e=>{}))},setLayoutAlgorithm:e=>{P.callUIFunction(o.value,"setLayoutAlgorithm",[e],(e=>{}))},setLoadsImagesAutomatically:e=>{P.callUIFunction(o.value,"setLoadsImagesAutomatically",[e],(e=>{}))},setDefaultTextEncodingName:e=>{P.callUIFunction(o.value,"setDefaultTextEncodingName",[e],(e=>{}))},setNeedInitialFocus:e=>{P.callUIFunction(o.value,"setNeedInitialFocus",[e],(e=>{}))},setGeolocationEnabled:p,setBlockNetworkLoads:e=>{P.callUIFunction(o.value,"setBlockNetworkLoads",[e],(e=>{}))},setSupportMultipleWindows:g,setAppCacheMaxSize:e=>{P.callUIFunction(o.value,"setAppCacheMaxSize",[e],(e=>{}))},setRenderPriority:e=>{P.callUIFunction(o.value,"setRenderPriority",[e],(e=>{}))},setCacheMode:I,setAllowContentAccess:e=>{P.callUIFunction(o.value,"setAllowContentAccess",[e],(e=>{}))},setEnableSmoothTransition:e=>{P.callUIFunction(o.value,"setEnableSmoothTransition",[e],(e=>{}))},setSaveFormData:e=>{P.callUIFunction(o.value,"setSaveFormData",[e],(e=>{}))},setSavePassword:e=>{P.callUIFunction(o.value,"setSavePassword",[e],(e=>{}))},setTextSize:e=>{P.callUIFunction(o.value,"setTextSize",[e],(e=>{}))},setDefaultZoom:e=>{P.callUIFunction(o.value,"setDefaultZoom",[e],(e=>{}))},setLightTouchEnabled:e=>{P.callUIFunction(o.value,"setLightTouchEnabled",[e],(e=>{}))},setMinimumLogicalFontSize:e=>{P.callUIFunction(o.value,"setMinimumLogicalFontSize",[e],(e=>{}))},setDefaultFixedFontSize:e=>{P.callUIFunction(o.value,"setDefaultFixedFontSize",[e],(e=>{}))},setBlockNetworkImage:e=>{P.callUIFunction(o.value,"setBlockNetworkImage",[e],(e=>{}))},setAllowUniversalAccessFromFileURLs:e=>{P.callUIFunction(o.value,"setAllowUniversalAccessFromFileURLs",[e],(e=>{}))},setAllowFileAccessFromFileURLs:e=>{P.callUIFunction(o.value,"setAllowFileAccessFromFileURLs",[e],(e=>{}))},setDatabasePath:e=>{P.callUIFunction(o.value,"setDatabasePath",[e],(e=>{}))},setGeolocationDatabasePath:e=>{P.callUIFunction(o.value,"setGeolocationDatabasePath",[e],(e=>{}))},setUserAgentString:e=>{P.callUIFunction(o.value,"setUserAgentString",[e],(e=>{}))},setMixedContentMode:e=>{P.callUIFunction(o.value,"setMixedContentMode",[e],(e=>{}))},setOffscreenPreRaster:e=>{P.callUIFunction(o.value,"setOffscreenPreRaster",[e],(e=>{}))},setSafeBrowsingEnabled:e=>{P.callUIFunction(o.value,"setSafeBrowsingEnabled",[e],(e=>{}))},setForceDark:e=>{P.callUIFunction(o.value,"setForceDark",[e],(e=>{}))},setDisabledActionModeMenuItems:e=>{P.callUIFunction(o.value,"setDisabledActionModeMenuItems",[e],(e=>{}))}}),()=>y("ESWebViewComponent",{onPageStarted:e=>{let t=e.url;n.emit("onPageStarted",t)},onPageFinished:e=>{let t=e.url;n.emit("onPageFinished",t)},onLoadResource:e=>{let t=e.url;n.emit("onLoadResource",t)},onReceivedSslError:e=>{n.emit("onReceivedSslError",e)},onReceivedError:e=>{let t=e.errorCode,o=e.description,a=e.failingUrl;n.emit("onReceivedError",t,o,a)},onShouldOverrideUrlLoading:e=>{let t=e.url;n.emit("shouldOverrideUrlLoading",t)},onJs2Vue:e=>{let t=e.js2VueValue;n.emit("onJs2Vue",t)},ref:o})}});t.component("qt-web-view",n)}(t),function(t){const n=l({name:"X5WebView",emits:["onCanGoBack","onCanGoForward","onCanGoBackOrForward","onPageStarted","onPageFinished","onLoadResource","onReceivedSslError","onReceivedError","shouldOverrideUrlLoading","onJs2Vue","onJsRewardCall","onJsFinishGame","onJavascriptReceiveValue"],setup(t,n){const o=e();F((()=>{a(!0),l(!0),r(!0),s(!0),u(!0),c(!0),g(!0),f(!0),d(!0),p(!0),i(1),I(2)}));const a=e=>{P.callUIFunction(o.value,"setJavaScriptEnabled",[e],(e=>{}))},i=e=>{P.callUIFunction(o.value,"setPluginState",[e],(e=>{}))},l=e=>{P.callUIFunction(o.value,"setJavaScriptCanOpenWindowsAutomatically",[e],(e=>{}))},c=e=>{P.callUIFunction(o.value,"setUseWideViewPort",[e],(e=>{}))},s=e=>{P.callUIFunction(o.value,"setSupportZoom",[e],(e=>{}))},u=e=>{P.callUIFunction(o.value,"setBuiltInZoomControls",[e],(e=>{}))},r=e=>{P.callUIFunction(o.value,"setAllowFileAccess",[e],(e=>{}))},d=e=>{P.callUIFunction(o.value,"setDomStorageEnabled",[e],(e=>{}))},f=e=>{P.callUIFunction(o.value,"setAppCacheEnabled",[e],(e=>{}))},p=e=>{P.callUIFunction(o.value,"setGeolocationEnabled",[e],(e=>{}))},g=e=>{P.callUIFunction(o.value,"setSupportMultipleWindows",[e],(e=>{}))},I=e=>{P.callUIFunction(o.value,"setCacheMode",[e],(e=>{}))};return n.expose({loadUrl:e=>{P.callUIFunction(o.value,"loadUrl",[e],(e=>{}))},evaluateJavascript:e=>{P.callUIFunction(o.value,"evaluateJavascript",[e],(e=>{n.emit("onJavascriptReceiveValue",e)}))},canGoBack:()=>{P.callUIFunction(o.value,"canGoBack",[],(e=>{n.emit("onCanGoBack",e)}))},goBack:()=>{P.callUIFunction(o.value,"goBack",[],(e=>{}))},canGoForward:()=>{P.callUIFunction(o.value,"canGoForward",[],(e=>{n.emit("onCanGoForward",e)}))},goForward:()=>{P.callUIFunction(o.value,"goForward",[],(e=>{}))},canGoBackOrForward:e=>{P.callUIFunction(o.value,"canGoBackOrForward",[e],(e=>{n.emit("onCanGoBackOrForward",e)}))},goBackOrForward:e=>{P.callUIFunction(o.value,"goBackOrForward",[e],(e=>{}))},onResume:()=>{P.callUIFunction(o.value,"onResume",[],(e=>{}))},onPause:()=>{P.callUIFunction(o.value,"onPause",[],(e=>{}))},pauseTimers:()=>{P.callUIFunction(o.value,"pauseTimers",[],(e=>{}))},resumeTimers:()=>{P.callUIFunction(o.value,"resumeTimers",[],(e=>{}))},destroy:()=>{P.callUIFunction(o.value,"destroy",[],(e=>{}))},setJavaScriptEnabled:a,setPluginState:i,setJavaScriptCanOpenWindowsAutomatically:l,setUseWideViewPort:c,setLoadWithOverviewMode:e=>{P.callUIFunction(o.value,"setLoadWithOverviewMode",[e],(e=>{}))},setSupportZoom:s,setBuiltInZoomControls:u,setDisplayZoomControls:e=>{P.callUIFunction(o.value,"setDisplayZoomControls",[e],(e=>{}))},setAllowFileAccess:r,setDomStorageEnabled:d,setDatabaseEnabled:e=>{P.callUIFunction(o.value,"setDatabaseEnabled",[e],(e=>{}))},setAppCacheEnabled:f,setAppCachePath:e=>{P.callUIFunction(o.value,"setAppCachePath",[e],(e=>{}))},setMediaPlaybackRequiresUserGesture:e=>{P.callUIFunction(o.value,"setMediaPlaybackRequiresUserGesture",[e],(e=>{}))},setStandardFontFamily:e=>{P.callUIFunction(o.value,"setStandardFontFamily",[e],(e=>{}))},setFixedFontFamily:e=>{P.callUIFunction(o.value,"setFixedFontFamily",[e],(e=>{}))},setSansSerifFontFamily:e=>{P.callUIFunction(o.value,"setSansSerifFontFamily",[e],(e=>{}))},setSerifFontFamily:e=>{P.callUIFunction(o.value,"setSerifFontFamily",[e],(e=>{}))},setCursiveFontFamily:e=>{P.callUIFunction(o.value,"setCursiveFontFamily",[e],(e=>{}))},setFantasyFontFamily:e=>{P.callUIFunction(o.value,"setFantasyFontFamily",[e],(e=>{}))},setTextZoom:e=>{P.callUIFunction(o.value,"setTextZoom",[e],(e=>{}))},setMinimumFontSize:e=>{P.callUIFunction(o.value,"setMinimumFontSize",[e],(e=>{}))},setDefaultFontSize:e=>{P.callUIFunction(o.value,"setDefaultFontSize",[e],(e=>{}))},setLayoutAlgorithm:e=>{P.callUIFunction(o.value,"setLayoutAlgorithm",[e],(e=>{}))},setLoadsImagesAutomatically:e=>{P.callUIFunction(o.value,"setLoadsImagesAutomatically",[e],(e=>{}))},setDefaultTextEncodingName:e=>{P.callUIFunction(o.value,"setDefaultTextEncodingName",[e],(e=>{}))},setNeedInitialFocus:e=>{P.callUIFunction(o.value,"setNeedInitialFocus",[e],(e=>{}))},setGeolocationEnabled:p,setBlockNetworkLoads:e=>{P.callUIFunction(o.value,"setBlockNetworkLoads",[e],(e=>{}))},setSupportMultipleWindows:g,setAppCacheMaxSize:e=>{P.callUIFunction(o.value,"setAppCacheMaxSize",[e],(e=>{}))},setRenderPriority:e=>{P.callUIFunction(o.value,"setRenderPriority",[e],(e=>{}))},setCacheMode:I,setAllowContentAccess:e=>{P.callUIFunction(o.value,"setAllowContentAccess",[e],(e=>{}))},setEnableSmoothTransition:e=>{P.callUIFunction(o.value,"setEnableSmoothTransition",[e],(e=>{}))},setSaveFormData:e=>{P.callUIFunction(o.value,"setSaveFormData",[e],(e=>{}))},setSavePassword:e=>{P.callUIFunction(o.value,"setSavePassword",[e],(e=>{}))},setTextSize:e=>{P.callUIFunction(o.value,"setTextSize",[e],(e=>{}))},setDefaultZoom:e=>{P.callUIFunction(o.value,"setDefaultZoom",[e],(e=>{}))},setLightTouchEnabled:e=>{P.callUIFunction(o.value,"setLightTouchEnabled",[e],(e=>{}))},setMinimumLogicalFontSize:e=>{P.callUIFunction(o.value,"setMinimumLogicalFontSize",[e],(e=>{}))},setDefaultFixedFontSize:e=>{P.callUIFunction(o.value,"setDefaultFixedFontSize",[e],(e=>{}))},setBlockNetworkImage:e=>{P.callUIFunction(o.value,"setBlockNetworkImage",[e],(e=>{}))},setAllowUniversalAccessFromFileURLs:e=>{P.callUIFunction(o.value,"setAllowUniversalAccessFromFileURLs",[e],(e=>{}))},setAllowFileAccessFromFileURLs:e=>{P.callUIFunction(o.value,"setAllowFileAccessFromFileURLs",[e],(e=>{}))},setDatabasePath:e=>{P.callUIFunction(o.value,"setDatabasePath",[e],(e=>{}))},setGeolocationDatabasePath:e=>{P.callUIFunction(o.value,"setGeolocationDatabasePath",[e],(e=>{}))},setUserAgentString:e=>{P.callUIFunction(o.value,"setUserAgentString",[e],(e=>{}))},setMixedContentMode:e=>{P.callUIFunction(o.value,"setMixedContentMode",[e],(e=>{}))},setOffscreenPreRaster:e=>{P.callUIFunction(o.value,"setOffscreenPreRaster",[e],(e=>{}))},setSafeBrowsingEnabled:e=>{P.callUIFunction(o.value,"setSafeBrowsingEnabled",[e],(e=>{}))},setForceDark:e=>{P.callUIFunction(o.value,"setForceDark",[e],(e=>{}))},setDisabledActionModeMenuItems:e=>{P.callUIFunction(o.value,"setDisabledActionModeMenuItems",[e],(e=>{}))},initJavaScriptInterface:()=>{P.callUIFunction(o.value,"initJavaScriptInterface",[],(e=>{}))},removeJavaScriptInterface:()=>{P.callUIFunction(o.value,"removeJavaScriptInterface",[],(e=>{}))},initWebViewFocus:(e,t,n)=>{P.callUIFunction(o.value,"initWebViewFocus",[e,t,n],(e=>{}))}}),()=>y("ESX5WebViewComponent",{onPageStarted:e=>{let t=e.url;n.emit("onPageStarted",t)},onPageFinished:e=>{let t=e.url;n.emit("onPageFinished",t)},onLoadResource:e=>{let t=e.url;n.emit("onLoadResource",t)},onReceivedSslError:e=>{n.emit("onReceivedSslError",e)},onReceivedError:e=>{let t=e.errorCode,o=e.description,a=e.failingUrl;n.emit("onReceivedError",t,o,a)},onShouldOverrideUrlLoading:e=>{let t=e.url;n.emit("shouldOverrideUrlLoading",t)},onJs2Vue:e=>{let t=e.js2VueValue;n.emit("onJs2Vue",t)},onJsRewardCall:e=>{let t=e.jsRewardCallValue;n.emit("onJsRewardCall",t)},onJsFinishGame:e=>{let t=e.jsFinishGameValue;n.emit("onJsFinishGame",t)},ref:o})}});t.component("qt-x5web-view",n)}(t),function(t){t.component("qt-qr-code",{setup(t,n){const o=e();return()=>y("QrCodeComponent",{ref:o})}})}(t),function(t){const n=l({name:"qt-seek-bar",props:{emitEventDelay:{type:Number,default:100},onProgressChanged:{type:Function,default:null}},emits:["onSeekStart","onSeekStop","onFocusChanged","onSeekChanged"],setup(t,n){const o=e(),a=e(!1),i=e(1),l=e(0),c=e(0),s=e(0),u=e(0);function r(e){1===i.value&&(u.value=e,P.callUIFunction(o.value,"setProgress",[e],(e=>{})))}function d(e){1===i.value&&(s.value=e,P.callUIFunction(o.value,"setMaxProgress",[e],(e=>{})))}return n.expose({viewRef:o,isSeekBarFocused:a,seekBarMode:i,seekCount:l,progressCallBackTime:c,maxProgress:s,progress:u,startSeek:function(e){if(a.value){i.value=2,n.emit("onSeekStart",u.value),l.value+=1;let a=1;l.value>20?a=2:l.value>50?a=4:l.value>100&&(a=6);let r=s.value,d=Math.floor(.01*r*a);if(u.value=u.value+(e?d:-d),u.value>r?u.value=r:u.value<0&&(u.value=0),P.callUIFunction(o.value,"setProgress",[u.value],(e=>{})),t.onProgressChanged){let e=(new Date).getTime();e-c.value>t.emitEventDelay&&(t.onProgressChanged(u.value),c.value=e)}}},stopSeek:function(){l.value=0,i.value=1,n.emit("onSeekStop",u.value)},isFocused:function(){return a.value},resetSeekbar:function(){i.value=1,d(0),r(0)},invalidateSeekBar:function(){P.callUIFunction(o.value,"invalidateSeekBar",[],(e=>{}))},setFocusable:function(e){P.callUIFunction(o.value,"setFocusable",[e],(e=>{}))},setClickable:function(e){P.callUIFunction(o.value,"setClickable",[e],(e=>{}))},requestFocus:function(){P.callUIFunction(o.value,"requestFocus",[],(e=>{}))},requestLayout:function(){P.callUIFunction(o.value,"requestLayout",[],(e=>{}))},invalidate:function(){P.callUIFunction(o.value,"invalidate",[],(e=>{}))},setVisible:function(e){P.callUIFunction(o.value,"setVisible",[e],(e=>{}))},setLeftSeekBarVisible:function(e){P.callUIFunction(o.value,"setLeftSeekBarVisible",[e],(e=>{}))},setRightSeekBarVisible:function(e){P.callUIFunction(o.value,"setRightSeekBarVisible",[e],(e=>{}))},setSeekBarMode:function(e){P.callUIFunction(o.value,"setSeekBarMode",[e],(e=>{}))},setProgress:r,setRangeProgress:function(e,t){P.callUIFunction(o.value,"setProgress",[e,t],(e=>{}))},getProgress:function(){P.callUIFunction(o.value,"getProgress",[],(e=>{}))},getLeftProgress:function(){P.callUIFunction(o.value,"getLeftProgress",[],(e=>{}))},getRightProgress:function(){P.callUIFunction(o.value,"getRightProgress",[],(e=>{}))},setRange:function(e,t,n){P.callUIFunction(o.value,"setRange",[e,t,n],(e=>{}))},setGravity:function(e){P.callUIFunction(o.value,"setGravity",[e],(e=>{}))},setProgressWidth:function(e){P.callUIFunction(o.value,"setProgressWidth",[e],(e=>{}))},setProgressHeight:function(e){P.callUIFunction(o.value,"setProgressHeight",[e],(e=>{}))},setProgressRadius:function(e){P.callUIFunction(o.value,"setProgressRadius",[e],(e=>{}))},setProgressColor:function(e){P.callUIFunction(o.value,"setProgressColor",[e],(e=>{}))},setProgressDefaultColor:function(e){P.callUIFunction(o.value,"setProgressDefaultColor",[e],(e=>{}))},setProgressDrawable:function(e){P.callUIFunction(o.value,"setProgressDrawable",[e],(e=>{}))},setProgressDefaultDrawable:function(e){P.callUIFunction(o.value,"setProgressDefaultDrawable",[e],(e=>{}))},setProgressUrl:function(e){P.callUIFunction(o.value,"setProgressUrl",[e],(e=>{}))},setProgressDefaultUrl:function(e){P.callUIFunction(o.value,"setProgressDefaultUrl",[e],(e=>{}))},showIndicator:function(e){P.callUIFunction(o.value,"showIndicator",[e],(e=>{}))},showLeftIndicator:function(e){P.callUIFunction(o.value,"showLeftIndicator",[e],(e=>{}))},showRightIndicator:function(e){P.callUIFunction(o.value,"showRightIndicator",[e],(e=>{}))},setIndicatorShowMode:function(e){P.callUIFunction(o.value,"setIndicatorShowMode",[e],(e=>{}))},setLeftIndicatorShowMode:function(e){P.callUIFunction(o.value,"setLeftIndicatorShowMode",[e],(e=>{}))},setRightIndicatorShowMode:function(e){P.callUIFunction(o.value,"setRightIndicatorShowMode",[e],(e=>{}))},setIndicatorWidth:function(e){P.callUIFunction(o.value,"setIndicatorWidth",[e],(e=>{}))},setLeftIndicatorWidth:function(e){P.callUIFunction(o.value,"setLeftIndicatorWidth",[e],(e=>{}))},setRightIndicatorWidth:function(e){P.callUIFunction(o.value,"setRightIndicatorWidth",[e],(e=>{}))},setIndicatorHeight:function(e){P.callUIFunction(o.value,"setIndicatorHeight",[e],(e=>{}))},setLeftIndicatorHeight:function(e){P.callUIFunction(o.value,"setLeftIndicatorHeight",[e],(e=>{}))},setRightIndicatorHeight:function(e){P.callUIFunction(o.value,"setRightIndicatorHeight",[e],(e=>{}))},setIndicatorTextDecimalFormat:function(e){P.callUIFunction(o.value,"setIndicatorTextDecimalFormat",[e],(e=>{}))},setLeftIndicatorTextDecimalFormat:function(e){P.callUIFunction(o.value,"setLeftIndicatorTextDecimalFormat",[e],(e=>{}))},setRightIndicatorTextDecimalFormat:function(e){P.callUIFunction(o.value,"setRightIndicatorTextDecimalFormat",[e],(e=>{}))},setIndicatorTextStringFormat:function(e){P.callUIFunction(o.value,"setIndicatorTextStringFormat",[e],(e=>{}))},setLeftIndicatorTextStringFormat:function(e){P.callUIFunction(o.value,"setLeftIndicatorTextStringFormat",[e],(e=>{}))},setRightIndicatorTextStringFormat:function(e){P.callUIFunction(o.value,"setRightIndicatorTextStringFormat",[e],(e=>{}))},setIndicatorMargin:function(e){P.callUIFunction(o.value,"setIndicatorMargin",[e],(e=>{}))},setLeftIndicatorMargin:function(e){P.callUIFunction(o.value,"setLeftIndicatorMargin",[e],(e=>{}))},setRightIndicatorMargin:function(e){P.callUIFunction(o.value,"setRightIndicatorMargin",[e],(e=>{}))},setIndicatorPaddingBottom:function(e){P.callUIFunction(o.value,"setIndicatorPaddingBottom",[e],(e=>{}))},setLeftIndicatorPaddingBottom:function(e){P.callUIFunction(o.value,"setLeftIndicatorPaddingBottom",[e],(e=>{}))},setRightIndicatorPaddingBottom:function(e){P.callUIFunction(o.value,"setRightIndicatorPaddingBottom",[e],(e=>{}))},setIndicatorPaddingTop:function(e){P.callUIFunction(o.value,"setIndicatorPaddingTop",[e],(e=>{}))},setLeftIndicatorPaddingTop:function(e){P.callUIFunction(o.value,"setLeftIndicatorPaddingTop",[e],(e=>{}))},setRightIndicatorPaddingTop:function(e){P.callUIFunction(o.value,"setRightIndicatorPaddingTop",[e],(e=>{}))},setIndicatorPaddingLeft:function(e){P.callUIFunction(o.value,"setIndicatorPaddingLeft",[e],(e=>{}))},setLeftIndicatorPaddingLeft:function(e){P.callUIFunction(o.value,"setLeftIndicatorPaddingLeft",[e],(e=>{}))},setRightIndicatorPaddingLeft:function(e){P.callUIFunction(o.value,"setRightIndicatorPaddingLeft",[e],(e=>{}))},setIndicatorPaddingRight:function(e){P.callUIFunction(o.value,"setIndicatorPaddingRight",[e],(e=>{}))},setLeftIndicatorPaddingRight:function(e){P.callUIFunction(o.value,"setLeftIndicatorPaddingRight",[e],(e=>{}))},setRightIndicatorPaddingRight:function(e){P.callUIFunction(o.value,"setRightIndicatorPaddingRight",[e],(e=>{}))},setIndicatorBackgroundColor:function(e){P.callUIFunction(o.value,"setIndicatorBackgroundColor",[e],(e=>{}))},setLeftIndicatorBackgroundColor:function(e){P.callUIFunction(o.value,"setLeftIndicatorBackgroundColor",[e],(e=>{}))},setRightIndicatorBackgroundColor:function(e){P.callUIFunction(o.value,"setRightIndicatorBackgroundColor",[e],(e=>{}))},setIndicatorRadius:function(e){P.callUIFunction(o.value,"setIndicatorRadius",[e],(e=>{}))},setLeftIndicatorRadius:function(e){P.callUIFunction(o.value,"setLeftIndicatorRadius",[e],(e=>{}))},setRightIndicatorRadius:function(e){P.callUIFunction(o.value,"setRightIndicatorRadius",[e],(e=>{}))},setIndicatorTextSize:function(e){P.callUIFunction(o.value,"setIndicatorTextSize",[e],(e=>{}))},setLeftIndicatorTextSize:function(e){P.callUIFunction(o.value,"setLeftIndicatorTextSize",[e],(e=>{}))},setRightIndicatorTextSize:function(e){P.callUIFunction(o.value,"setRightIndicatorTextSize",[e],(e=>{}))},setIndicatorTextColor:function(e){P.callUIFunction(o.value,"setIndicatorTextColor",[e],(e=>{}))},setLeftIndicatorTextColor:function(e){P.callUIFunction(o.value,"setLeftIndicatorTextColor",[e],(e=>{}))},setRightIndicatorTextColor:function(e){P.callUIFunction(o.value,"setRightIndicatorTextColor",[e],(e=>{}))},setIndicatorArrowSize:function(e){P.callUIFunction(o.value,"setIndicatorArrowSize",[e],(e=>{}))},setLeftIndicatorArrowSize:function(e){P.callUIFunction(o.value,"setLeftIndicatorArrowSize",[e],(e=>{}))},setRightIndicatorArrowSize:function(e){P.callUIFunction(o.value,"setRightIndicatorArrowSize",[e],(e=>{}))},setIndicatorDrawable:function(e){P.callUIFunction(o.value,"setIndicatorDrawable",[e],(e=>{}))},setLeftIndicatorDrawable:function(e){P.callUIFunction(o.value,"setLeftIndicatorDrawable",[e],(e=>{}))},setRightIndicatorDrawable:function(e){P.callUIFunction(o.value,"setRightIndicatorDrawable",[e],(e=>{}))},setIndicatorUrl:function(e){P.callUIFunction(o.value,"setIndicatorUrl",[e],(e=>{}))},setLeftIndicatorUrl:function(e){P.callUIFunction(o.value,"setLeftIndicatorUrl",[e],(e=>{}))},setRightIndicatorUrl:function(e){P.callUIFunction(o.value,"setRightIndicatorUrl",[e],(e=>{}))},setThumbWidth:function(e){P.callUIFunction(o.value,"setThumbWidth",[e],(e=>{}))},setLeftThumbWidth:function(e){P.callUIFunction(o.value,"setLeftThumbWidth",[e],(e=>{}))},setRightThumbWidth:function(e){P.callUIFunction(o.value,"setRightThumbWidth",[e],(e=>{}))},setThumbHeight:function(e){P.callUIFunction(o.value,"setThumbHeight",[e],(e=>{}))},setLeftThumbHeight:function(e){P.callUIFunction(o.value,"setLeftThumbHeight",[e],(e=>{}))},setRightThumbHeight:function(e){P.callUIFunction(o.value,"setRightThumbHeight",[e],(e=>{}))},scaleThumb:function(){P.callUIFunction(o.value,"scaleThumb",[],(e=>{}))},scaleLeftThumb:function(){P.callUIFunction(o.value,"scaleLeftThumb",[],(e=>{}))},scaleRightThumb:function(){P.callUIFunction(o.value,"scaleLeftThumb",[],(e=>{}))},resetThumb:function(){P.callUIFunction(o.value,"resetThumb",[],(e=>{}))},resetLeftThumb:function(){P.callUIFunction(o.value,"resetLeftThumb",[],(e=>{}))},resetRightThumb:function(){P.callUIFunction(o.value,"resetRightThumb",[],(e=>{}))},setThumbScaleRatio:function(e){P.callUIFunction(o.value,"setThumbScaleRatio",[e],(e=>{}))},setLeftThumbScaleRatio:function(e){P.callUIFunction(o.value,"setLeftThumbScaleRatio",[e],(e=>{}))},setRightThumbScaleRatio:function(e){P.callUIFunction(o.value,"setRightThumbScaleRatio",[e],(e=>{}))},setThumbActivate:function(e){P.callUIFunction(o.value,"setThumbActivate",[e],(e=>{}))},setLeftThumbActivate:function(e){P.callUIFunction(o.value,"setLeftThumbActivate",[e],(e=>{}))},setRightThumbActivate:function(e){P.callUIFunction(o.value,"setRightThumbActivate",[e],(e=>{}))},setThumbDrawable:function(e){P.callUIFunction(o.value,"setThumbDrawable",[e],(e=>{}))},setLeftThumbDrawable:function(e){P.callUIFunction(o.value,"setLeftThumbDrawable",[e],(e=>{}))},setRightThumbDrawable:function(e){P.callUIFunction(o.value,"setRightThumbDrawable",[e],(e=>{}))},setThumbUrl:function(e){P.callUIFunction(o.value,"setThumbUrl",[e],(e=>{}))},setLeftThumbUrl:function(e){P.callUIFunction(o.value,"setLeftThumbUrl",[e],(e=>{}))},setRightThumbUrl:function(e){P.callUIFunction(o.value,"setRightThumbUrl",[e],(e=>{}))},setThumbInactivatedDrawable:function(e){P.callUIFunction(o.value,"setThumbInactivatedDrawable",[e],(e=>{}))},setLeftThumbInactivatedDrawable:function(e){P.callUIFunction(o.value,"setLeftThumbInactivatedDrawable",[e],(e=>{}))},setRightThumbInactivatedDrawable:function(e){P.callUIFunction(o.value,"setRightThumbInactivatedDrawable",[e],(e=>{}))},setThumbInactivatedUrl:function(e){P.callUIFunction(o.value,"setThumbInactivatedUrl",[e],(e=>{}))},setLeftThumbInactivatedUrl:function(e){P.callUIFunction(o.value,"setLeftThumbInactivatedUrl",[e],(e=>{}))},setRightThumbInactivatedUrl:function(e){P.callUIFunction(o.value,"setRightThumbInactivatedUrl",[e],(e=>{}))},setTickMarkMode:function(e){P.callUIFunction(o.value,"setTickMarkMode",[e],(e=>{}))},setTickMarkGravity:function(e){P.callUIFunction(o.value,"setTickMarkGravity",[e],(e=>{}))},setTickMarkLayoutGravity:function(e){P.callUIFunction(o.value,"setTickMarkLayoutGravity",[e],(e=>{}))},setTickMarkTextArray:function(e){P.callUIFunction(o.value,"setTickMarkTextArray",[e],(e=>{}))},setTickMarkTextMargin:function(e){P.callUIFunction(o.value,"setTickMarkTextMargin",[e],(e=>{}))},setTickMarkTextSize:function(e){P.callUIFunction(o.value,"setTickMarkTextSize",[e],(e=>{}))},setTickMarkTextColor:function(e){P.callUIFunction(o.value,"setTickMarkTextColor",[e],(e=>{}))},setTickMarkInRangeTextColor:function(e){P.callUIFunction(o.value,"setTickMarkInRangeTextColor",[e],(e=>{}))},setSteps:function(e){P.callUIFunction(o.value,"setSteps",[e],(e=>{}))},setStepsWidth:function(e){P.callUIFunction(o.value,"setStepsWidth",[e],(e=>{}))},setStepsHeight:function(e){P.callUIFunction(o.value,"setStepsHeight",[e],(e=>{}))},setStepsRadius:function(e){P.callUIFunction(o.value,"setStepsRadius",[e],(e=>{}))},setStepsColor:function(e){P.callUIFunction(o.value,"setStepsColor",[e],(e=>{}))},setStepsAutoBonding:function(e){P.callUIFunction(o.value,"setStepsAutoBonding",[e],(e=>{}))},setStepsDrawable:function(e){P.callUIFunction(o.value,"setStepsDrawable",[e],(e=>{}))},setStepsUrl:function(e){P.callUIFunction(o.value,"setStepsUrl",[e],(e=>{}))},setSecondProgress:function(e){P.callUIFunction(o.value,"setSecondProgress",[e],(e=>{}))},show:function(e){P.callUIFunction(o.value,"show",[e],(e=>{}))},setMaxProgress:d}),()=>y("TVSeekBarViewComponent",{ref:o,onFocus:e=>{a.value=e.isFocused,n.emit("onFocusChanged",e.isFocused)},onSeekBarChange:e=>{n.emit("onSeekChanged",e.progress)}})}});t.component("qt-seek-bar",n)}(t),function(t){const n=pn({name:"qt-progress-bar",emits:["onFocusChanged","onSeekChanged"],setup(t,n){const o=e();return n.expose({invalidateProgressBar:function(){P.callUIFunction(o.value,"invalidateSeekBar",[],(e=>{}))},setFocusable:function(e){P.callUIFunction(o.value,"setFocusable",[e],(e=>{}))},setClickable:function(e){P.callUIFunction(o.value,"setClickable",[e],(e=>{}))},requestFocus:function(){P.callUIFunction(o.value,"requestFocus",[],(e=>{}))},requestLayout:function(){P.callUIFunction(o.value,"requestLayout",[],(e=>{}))},invalidate:function(){P.callUIFunction(o.value,"invalidate",[],(e=>{}))},setVisible:function(e){P.callUIFunction(o.value,"setVisible",[e],(e=>{}))},setLeftSeekBarVisible:function(e){P.callUIFunction(o.value,"setLeftSeekBarVisible",[e],(e=>{}))},setRightSeekBarVisible:function(e){P.callUIFunction(o.value,"setRightSeekBarVisible",[e],(e=>{}))},setSeekBarMode:function(e){P.callUIFunction(o.value,"setSeekBarMode",[e],(e=>{}))},setProgress:function(e){P.callUIFunction(o.value,"setProgress",[e],(e=>{}))},setRangeProgress:function(e,t){P.callUIFunction(o.value,"setProgress",[e,t],(e=>{}))},getProgress:function(){P.callUIFunction(o.value,"getProgress",[],(e=>{}))},getLeftProgress:function(){P.callUIFunction(o.value,"getLeftProgress",[],(e=>{}))},getRightProgress:function(){P.callUIFunction(o.value,"getRightProgress",[],(e=>{}))},setRange:function(e,t,n){P.callUIFunction(o.value,"setRange",[e,t,n],(e=>{}))},setGravity:function(e){P.callUIFunction(o.value,"setGravity",[e],(e=>{}))},setProgressWidth:function(e){P.callUIFunction(o.value,"setProgressWidth",[e],(e=>{}))},setProgressHeight:function(e){P.callUIFunction(o.value,"setProgressHeight",[e],(e=>{}))},setProgressRadius:function(e){P.callUIFunction(o.value,"setProgressRadius",[e],(e=>{}))},setProgressColor:function(e){P.callUIFunction(o.value,"setProgressColor",[e],(e=>{}))},setProgressDefaultColor:function(e){P.callUIFunction(o.value,"setProgressDefaultColor",[e],(e=>{}))},setProgressDrawable:function(e){P.callUIFunction(o.value,"setProgressDrawable",[e],(e=>{}))},setProgressDefaultDrawable:function(e){P.callUIFunction(o.value,"setProgressDefaultDrawable",[e],(e=>{}))},setProgressUrl:function(e){P.callUIFunction(o.value,"setProgressUrl",[e],(e=>{}))},setProgressDefaultUrl:function(e){P.callUIFunction(o.value,"setProgressDefaultUrl",[e],(e=>{}))},showIndicator:function(e){P.callUIFunction(o.value,"showIndicator",[e],(e=>{}))},showLeftIndicator:function(e){P.callUIFunction(o.value,"showLeftIndicator",[e],(e=>{}))},showRightIndicator:function(e){P.callUIFunction(o.value,"showRightIndicator",[e],(e=>{}))},setIndicatorShowMode:function(e){P.callUIFunction(o.value,"setIndicatorShowMode",[e],(e=>{}))},setLeftIndicatorShowMode:function(e){P.callUIFunction(o.value,"setLeftIndicatorShowMode",[e],(e=>{}))},setRightIndicatorShowMode:function(e){P.callUIFunction(o.value,"setRightIndicatorShowMode",[e],(e=>{}))},setIndicatorWidth:function(e){P.callUIFunction(o.value,"setIndicatorWidth",[e],(e=>{}))},setLeftIndicatorWidth:function(e){P.callUIFunction(o.value,"setLeftIndicatorWidth",[e],(e=>{}))},setRightIndicatorWidth:function(e){P.callUIFunction(o.value,"setRightIndicatorWidth",[e],(e=>{}))},setIndicatorHeight:function(e){P.callUIFunction(o.value,"setIndicatorHeight",[e],(e=>{}))},setLeftIndicatorHeight:function(e){P.callUIFunction(o.value,"setLeftIndicatorHeight",[e],(e=>{}))},setRightIndicatorHeight:function(e){P.callUIFunction(o.value,"setRightIndicatorHeight",[e],(e=>{}))},setIndicatorTextDecimalFormat:function(e){P.callUIFunction(o.value,"setIndicatorTextDecimalFormat",[e],(e=>{}))},setLeftIndicatorTextDecimalFormat:function(e){P.callUIFunction(o.value,"setLeftIndicatorTextDecimalFormat",[e],(e=>{}))},setRightIndicatorTextDecimalFormat:function(e){P.callUIFunction(o.value,"setRightIndicatorTextDecimalFormat",[e],(e=>{}))},setIndicatorTextStringFormat:function(e){P.callUIFunction(o.value,"setIndicatorTextStringFormat",[e],(e=>{}))},setLeftIndicatorTextStringFormat:function(e){P.callUIFunction(o.value,"setLeftIndicatorTextStringFormat",[e],(e=>{}))},setRightIndicatorTextStringFormat:function(e){P.callUIFunction(o.value,"setRightIndicatorTextStringFormat",[e],(e=>{}))},setIndicatorMargin:function(e){P.callUIFunction(o.value,"setIndicatorMargin",[e],(e=>{}))},setLeftIndicatorMargin:function(e){P.callUIFunction(o.value,"setLeftIndicatorMargin",[e],(e=>{}))},setRightIndicatorMargin:function(e){P.callUIFunction(o.value,"setRightIndicatorMargin",[e],(e=>{}))},setIndicatorPaddingBottom:function(e){P.callUIFunction(o.value,"setIndicatorPaddingBottom",[e],(e=>{}))},setLeftIndicatorPaddingBottom:function(e){P.callUIFunction(o.value,"setLeftIndicatorPaddingBottom",[e],(e=>{}))},setRightIndicatorPaddingBottom:function(e){P.callUIFunction(o.value,"setRightIndicatorPaddingBottom",[e],(e=>{}))},setIndicatorPaddingTop:function(e){P.callUIFunction(o.value,"setIndicatorPaddingTop",[e],(e=>{}))},setLeftIndicatorPaddingTop:function(e){P.callUIFunction(o.value,"setLeftIndicatorPaddingTop",[e],(e=>{}))},setRightIndicatorPaddingTop:function(e){P.callUIFunction(o.value,"setRightIndicatorPaddingTop",[e],(e=>{}))},setIndicatorPaddingLeft:function(e){P.callUIFunction(o.value,"setIndicatorPaddingLeft",[e],(e=>{}))},setLeftIndicatorPaddingLeft:function(e){P.callUIFunction(o.value,"setLeftIndicatorPaddingLeft",[e],(e=>{}))},setRightIndicatorPaddingLeft:function(e){P.callUIFunction(o.value,"setRightIndicatorPaddingLeft",[e],(e=>{}))},setIndicatorPaddingRight:function(e){P.callUIFunction(o.value,"setIndicatorPaddingRight",[e],(e=>{}))},setLeftIndicatorPaddingRight:function(e){P.callUIFunction(o.value,"setLeftIndicatorPaddingRight",[e],(e=>{}))},setRightIndicatorPaddingRight:function(e){P.callUIFunction(o.value,"setRightIndicatorPaddingRight",[e],(e=>{}))},setIndicatorBackgroundColor:function(e){P.callUIFunction(o.value,"setIndicatorBackgroundColor",[e],(e=>{}))},setLeftIndicatorBackgroundColor:function(e){P.callUIFunction(o.value,"setLeftIndicatorBackgroundColor",[e],(e=>{}))},setRightIndicatorBackgroundColor:function(e){P.callUIFunction(o.value,"setRightIndicatorBackgroundColor",[e],(e=>{}))},setIndicatorRadius:function(e){P.callUIFunction(o.value,"setIndicatorRadius",[e],(e=>{}))},setLeftIndicatorRadius:function(e){P.callUIFunction(o.value,"setLeftIndicatorRadius",[e],(e=>{}))},setRightIndicatorRadius:function(e){P.callUIFunction(o.value,"setRightIndicatorRadius",[e],(e=>{}))},setIndicatorTextSize:function(e){P.callUIFunction(o.value,"setIndicatorTextSize",[e],(e=>{}))},setLeftIndicatorTextSize:function(e){P.callUIFunction(o.value,"setLeftIndicatorTextSize",[e],(e=>{}))},setRightIndicatorTextSize:function(e){P.callUIFunction(o.value,"setRightIndicatorTextSize",[e],(e=>{}))},setIndicatorTextColor:function(e){P.callUIFunction(o.value,"setIndicatorTextColor",[e],(e=>{}))},setLeftIndicatorTextColor:function(e){P.callUIFunction(o.value,"setLeftIndicatorTextColor",[e],(e=>{}))},setRightIndicatorTextColor:function(e){P.callUIFunction(o.value,"setRightIndicatorTextColor",[e],(e=>{}))},setIndicatorArrowSize:function(e){P.callUIFunction(o.value,"setIndicatorArrowSize",[e],(e=>{}))},setLeftIndicatorArrowSize:function(e){P.callUIFunction(o.value,"setLeftIndicatorArrowSize",[e],(e=>{}))},setRightIndicatorArrowSize:function(e){P.callUIFunction(o.value,"setRightIndicatorArrowSize",[e],(e=>{}))},setIndicatorDrawable:function(e){P.callUIFunction(o.value,"setIndicatorDrawable",[e],(e=>{}))},setLeftIndicatorDrawable:function(e){P.callUIFunction(o.value,"setLeftIndicatorDrawable",[e],(e=>{}))},setRightIndicatorDrawable:function(e){P.callUIFunction(o.value,"setRightIndicatorDrawable",[e],(e=>{}))},setIndicatorUrl:function(e){P.callUIFunction(o.value,"setIndicatorUrl",[e],(e=>{}))},setLeftIndicatorUrl:function(e){P.callUIFunction(o.value,"setLeftIndicatorUrl",[e],(e=>{}))},setRightIndicatorUrl:function(e){P.callUIFunction(o.value,"setRightIndicatorUrl",[e],(e=>{}))},setThumbWidth:function(e){P.callUIFunction(o.value,"setThumbWidth",[e],(e=>{}))},setLeftThumbWidth:function(e){P.callUIFunction(o.value,"setLeftThumbWidth",[e],(e=>{}))},setRightThumbWidth:function(e){P.callUIFunction(o.value,"setRightThumbWidth",[e],(e=>{}))},setThumbHeight:function(e){P.callUIFunction(o.value,"setThumbHeight",[e],(e=>{}))},setLeftThumbHeight:function(e){P.callUIFunction(o.value,"setLeftThumbHeight",[e],(e=>{}))},setRightThumbHeight:function(e){P.callUIFunction(o.value,"setRightThumbHeight",[e],(e=>{}))},scaleThumb:function(){P.callUIFunction(o.value,"scaleThumb",[],(e=>{}))},scaleLeftThumb:function(){P.callUIFunction(o.value,"scaleLeftThumb",[],(e=>{}))},scaleRightThumb:function(){P.callUIFunction(o.value,"scaleLeftThumb",[],(e=>{}))},resetThumb:function(){P.callUIFunction(o.value,"resetThumb",[],(e=>{}))},resetLeftThumb:function(){P.callUIFunction(o.value,"resetLeftThumb",[],(e=>{}))},resetRightThumb:function(){P.callUIFunction(o.value,"resetRightThumb",[],(e=>{}))},setThumbScaleRatio:function(e){P.callUIFunction(o.value,"setThumbScaleRatio",[e],(e=>{}))},setLeftThumbScaleRatio:function(e){P.callUIFunction(o.value,"setLeftThumbScaleRatio",[e],(e=>{}))},setRightThumbScaleRatio:function(e){P.callUIFunction(o.value,"setRightThumbScaleRatio",[e],(e=>{}))},setThumbActivate:function(e){P.callUIFunction(o.value,"setThumbActivate",[e],(e=>{}))},setLeftThumbActivate:function(e){P.callUIFunction(o.value,"setLeftThumbActivate",[e],(e=>{}))},setRightThumbActivate:function(e){P.callUIFunction(o.value,"setRightThumbActivate",[e],(e=>{}))},setThumbDrawable:function(e){P.callUIFunction(o.value,"setThumbDrawable",[e],(e=>{}))},setLeftThumbDrawable:function(e){P.callUIFunction(o.value,"setLeftThumbDrawable",[e],(e=>{}))},setRightThumbDrawable:function(e){P.callUIFunction(o.value,"setRightThumbDrawable",[e],(e=>{}))},setThumbUrl:function(e){P.callUIFunction(o.value,"setThumbUrl",[e],(e=>{}))},setLeftThumbUrl:function(e){P.callUIFunction(o.value,"setLeftThumbUrl",[e],(e=>{}))},setRightThumbUrl:function(e){P.callUIFunction(o.value,"setRightThumbUrl",[e],(e=>{}))},setThumbInactivatedDrawable:function(e){P.callUIFunction(o.value,"setThumbInactivatedDrawable",[e],(e=>{}))},setLeftThumbInactivatedDrawable:function(e){P.callUIFunction(o.value,"setLeftThumbInactivatedDrawable",[e],(e=>{}))},setRightThumbInactivatedDrawable:function(e){P.callUIFunction(o.value,"setRightThumbInactivatedDrawable",[e],(e=>{}))},setThumbInactivatedUrl:function(e){P.callUIFunction(o.value,"setThumbInactivatedUrl",[e],(e=>{}))},setLeftThumbInactivatedUrl:function(e){P.callUIFunction(o.value,"setLeftThumbInactivatedUrl",[e],(e=>{}))},setRightThumbInactivatedUrl:function(e){P.callUIFunction(o.value,"setRightThumbInactivatedUrl",[e],(e=>{}))},setTickMarkMode:function(e){P.callUIFunction(o.value,"setTickMarkMode",[e],(e=>{}))},setTickMarkGravity:function(e){P.callUIFunction(o.value,"setTickMarkGravity",[e],(e=>{}))},setTickMarkLayoutGravity:function(e){P.callUIFunction(o.value,"setTickMarkLayoutGravity",[e],(e=>{}))},setTickMarkTextArray:function(e){P.callUIFunction(o.value,"setTickMarkTextArray",[e],(e=>{}))},setTickMarkTextMargin:function(e){P.callUIFunction(o.value,"setTickMarkTextMargin",[e],(e=>{}))},setTickMarkTextSize:function(e){P.callUIFunction(o.value,"setTickMarkTextSize",[e],(e=>{}))},setTickMarkTextColor:function(e){P.callUIFunction(o.value,"setTickMarkTextColor",[e],(e=>{}))},setTickMarkInRangeTextColor:function(e){P.callUIFunction(o.value,"setTickMarkInRangeTextColor",[e],(e=>{}))},setSteps:function(e){P.callUIFunction(o.value,"setSteps",[e],(e=>{}))},setStepsWidth:function(e){P.callUIFunction(o.value,"setStepsWidth",[e],(e=>{}))},setStepsHeight:function(e){P.callUIFunction(o.value,"setStepsHeight",[e],(e=>{}))},setStepsRadius:function(e){P.callUIFunction(o.value,"setStepsRadius",[e],(e=>{}))},setStepsColor:function(e){P.callUIFunction(o.value,"setStepsColor",[e],(e=>{}))},setStepsAutoBonding:function(e){P.callUIFunction(o.value,"setStepsAutoBonding",[e],(e=>{}))},setStepsDrawable:function(e){P.callUIFunction(o.value,"setStepsDrawable",[e],(e=>{}))},setStepsUrl:function(e){P.callUIFunction(o.value,"setStepsUrl",[e],(e=>{}))},setSecondProgress:function(e){P.callUIFunction(o.value,"setSecondProgress",[e],(e=>{}))},show:function(e){P.callUIFunction(o.value,"show",[e],(e=>{}))},setMaxProgress:function(e){P.callUIFunction(o.value,"setMaxProgress",[e],(e=>{}))}}),()=>y("TVProgressBarViewComponent",{ref:o,onFocus:e=>{n.emit("onFocusChanged",e.isFocused)},onSeekBarChange:e=>{n.emit("onSeekChanged",e.progress)}})}});t.component("qt-progress-bar",n)}(t),function(t){const n=l({emits:["onAnimationEnd","onAnimationCancel","onAnimationStart","onAnimationRepeat","onAnimationPause","onAnimationResume","onAnimationUpdate"],setup(t,n){const o=e();return n.expose({setPivotX:function(e){P.callUIFunction(o.value,"setPivotX",[e],(e=>{}))},setPivotY:function(e){P.callUIFunction(o.value,"setPivotY",[e],(e=>{}))},resetPivot:function(){P.callUIFunction(o.value,"resetPivot",[],(e=>{}))},resetAnimators:function(){P.callUIFunction(o.value,"resetAnimators",[],(e=>{}))},animatorSet:function(e,t,n){P.callUIFunction(o.value,"animatorSet",[e,t,n],(e=>{}))},startAnimator:function(e){P.callUIFunction(o.value,"startAnimator",[e],(e=>{}))},startAnimatorDelay:function(e,t){P.callUIFunction(o.value,"startAnimatorDelay",[e,t],(e=>{}))},pauseAnimator:function(e){P.callUIFunction(o.value,"pauseAnimator",[e],(e=>{}))},resumeAnimator:function(e){P.callUIFunction(o.value,"resumeAnimator",[e],(e=>{}))},cancelAnimator:function(e){P.callUIFunction(o.value,"cancelAnimator",[e],(e=>{}))},reverseAnimator:function(e){P.callUIFunction(o.value,"reverseAnimator",[e],(e=>{}))},play:function(e,t){P.callUIFunction(o.value,"play",[e,t],(e=>{}))},playWith:function(e,t){P.callUIFunction(o.value,"with",[e,t],(e=>{}))},playBefore:function(e,t){P.callUIFunction(o.value,"before",[e,t],(e=>{}))},playAfter:function(e,t){P.callUIFunction(o.value,"after",[e,t],(e=>{}))},playAfterDelay:function(e,t){P.callUIFunction(o.value,"afterDelay",[e,t],(e=>{}))},playSequentially1:function(e,t){P.callUIFunction(o.value,"playSequentially1",[e,t],(e=>{}))},playSequentially2:function(e,t,n){P.callUIFunction(o.value,"playSequentially2",[e,t,n],(e=>{}))},playSequentially3:function(e,t,n,a){P.callUIFunction(o.value,"playSequentially3",[e,t,n,a],(e=>{}))},playSequentially4:function(e,t,n,a,i){P.callUIFunction(o.value,"playSequentially4",[e,t,n,a,i],(e=>{}))},playSequentially5:function(e,t,n,a,i,l){P.callUIFunction(o.value,"playSequentially5",[e,t,n,a,i,l],(e=>{}))},playTogether1:function(e,t){P.callUIFunction(o.value,"playTogether1",[e,t],(e=>{}))},playTogether2:function(e,t,n){P.callUIFunction(o.value,"playTogether2",[e,t,n],(e=>{}))},playTogether3:function(e,t,n,a){P.callUIFunction(o.value,"playTogether3",[e,t,n,a],(e=>{}))},playTogether4:function(e,t,n,a,i){P.callUIFunction(o.value,"playTogether4",[e,t,n,a,i],(e=>{}))},playTogether5:function(e,t,n,a,i,l){P.callUIFunction(o.value,"playTogether5",[e,t,n,a,i,l],(e=>{}))},objectAnimator:function(e,t,n,a,i,l,c,s,u){P.callUIFunction(o.value,"objectAnimator",[e,t,n,a,i,l,c,s,u],(e=>{}))},objectAnimator1:function(e,t,n,a,i,l,c,s,u,r){P.callUIFunction(o.value,"objectAnimator1",[e,t,n,a,i,l,c,s,u,r],(e=>{}))},objectAnimator2:function(e,t,n,a,i,l,c,s,u,r,d){P.callUIFunction(o.value,"objectAnimator2",[e,t,n,a,i,l,c,s,u,r,d],(e=>{}))},objectAnimator3:function(e,t,n,a,i,l,c,s,u,r,d,f){P.callUIFunction(o.value,"objectAnimator3",[e,t,n,a,i,l,c,s,u,r,d,f],(e=>{}))},objectAnimator4:function(e,t,n,a,i,l,c,s,u,r,d,f,p){P.callUIFunction(o.value,"objectAnimator4",[e,t,n,a,i,l,c,s,u,r,d,f,p],(e=>{}))},objectAnimator5:function(e,t,n,a,i,l,c,s,u,r,d,f,p,g){P.callUIFunction(o.value,"objectAnimator5",[e,t,n,a,i,l,c,s,u,r,d,f,p,g],(e=>{}))},objectAnimator6:function(e,t,n,a,i,l,c,s,u,r,d,f,p,g,I){P.callUIFunction(o.value,"objectAnimator6",[e,t,n,a,i,l,c,s,u,r,d,f,p,g,I],(e=>{}))},objectAnimator7:function(e,t,n,a,i,l,c,s,u,r,d,f,p,g,I,m){P.callUIFunction(o.value,"objectAnimator7",[e,t,n,a,i,l,c,s,u,r,d,f,p,g,I,m],(e=>{}))},objectAnimator8:function(e,t,n,a,i,l,c,s,u,r,d,f,p,g,I,m,T){P.callUIFunction(o.value,"objectAnimator8",[e,t,n,a,i,l,c,s,u,r,d,f,p,g,I,m,T],(e=>{}))},objectAnimator9:function(e,t,n,a,i,l,c,s,u,r,d,f,p,g,I,m,T,v){P.callUIFunction(o.value,"objectAnimator9",[e,t,n,a,i,l,c,s,u,r,d,f,p,g,I,m,T,v],(e=>{}))},objectAnimator10:function(e,t,n,a,i,l,c,s,u,r,d,f,p,g,I,m,T,v,h){P.callUIFunction(o.value,"objectAnimator10",[e,t,n,a,i,l,c,s,u,r,d,f,p,g,I,m,T,v,h],(e=>{}))}}),()=>{const e=n.slots.default&&n.slots.default();return y("AnimationViewComponent",{ref:o,onAnimationCancel:e=>{let t=e.animationId;n.emit("onAnimationCancel",t)},onAnimationEnd:e=>{let t=e.animationId,o=e.isReverse;n.emit("onAnimationEnd",t,o)},onAnimationRepeat:e=>{let t=e.animationId;n.emit("onAnimationRepeat",t)},onAnimationStart:e=>{let t=e.animationId,o=e.isReverse;n.emit("onAnimationStart",t,o)},onAnimationPause:e=>{let t=e.animationId;n.emit("onAnimationPause",t)},onAnimationResume:e=>{let t=e.animationId;n.emit("onAnimationResume",t)},onAnimationUpdate:e=>{let t=e.animationId,o=e.animatedValue;n.emit("onAnimationUpdate",t,o)}},e)}}});t.component("qt-animation",n)}(t),function(t){t.component("qt-dialog",{setup(t,n){const o=e();return()=>{const e=n.slots.default&&n.slots.default();return y("Modal",{ref:o},e)}}})}(t);for(let e in oi)t.component(oi[e].name,oi[e])};export{Ma as QTAnimationInterpolatorType,$a as QTAnimationPropertyName,Va as QTAnimationRepeatMode,Wa as QTAnimationValueType,Ga as QTDirections,Oa as QTMediaSeriesStyleType,Na as QTMediaSeriesType,qa as QTNavBarItemType,Ya as QTScrollState,Ka as QTSeekBarGravity,Xa as QTSeekBarIndicatorMode,ja as QTSeekBarMode,Za as QTSeekBarTickMarkGravity,ei as QTSeekBarTickMarkLayoutGravity,Ja as QTSeekBarTickMarkMode,Ha as QTTabItemType,ua as QTTabPageState,wo as QTWaterfallItemType,Oo as QTWaterfallSectionType,oa as QTWaterfallVisibleType,ai as QuickTVUI,Io as arrangeChildren4ListView};
|
|
1
|
+
import{ref as e,openBlock as t,createElementBlock as n,renderSlot as o,resolveComponent as a,createBlock as i,defineComponent as l,normalizeStyle as c,normalizeClass as s,createCommentVNode as u,toDisplayString as r,watchEffect as d,onBeforeUnmount as f,withCtx as p,Fragment as g,createVNode as m,createElementVNode as I,pushScopeId as T,popScopeId as v,reactive as h,watch as _,onMounted as F,nextTick as S,renderList as b,resolveDynamicComponent as E,h as y}from"vue";import{Native as P}from"@extscreen/es3-vue";import{useESToast as A,useES as R,useESLog as U,ESLogLevel as x}from"@extscreen/es3-core";function L(e,t){const n=Object.create(null),o=e.split(",");for(let e=0;e<o.length;e++)n[o[e]]=!0;return t?e=>!!n[e.toLowerCase()]:e=>!!n[e]}const C="production"!==process.env.NODE_ENV?Object.freeze({}):{};"production"===process.env.NODE_ENV||Object.freeze([]);const D=()=>{},k=/^on[^a-z]/,N=e=>k.test(e),w=Object.assign,O=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},B=Object.prototype.hasOwnProperty,M=(e,t)=>B.call(e,t),$=Array.isArray,V=e=>"[object Map]"===j(e),W=e=>"[object Set]"===j(e),Q=e=>"function"==typeof e,z=e=>"string"==typeof e,G=e=>"symbol"==typeof e,Y=e=>null!==e&&"object"==typeof e,q=e=>(Y(e)||Q(e))&&Q(e.then)&&Q(e.catch),H=Object.prototype.toString,j=e=>H.call(e),K=e=>j(e).slice(8,-1),X=e=>"[object Object]"===j(e),J=e=>z(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,Z=(e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))})((e=>e.charAt(0).toUpperCase()+e.slice(1))),ee=(e,t)=>!Object.is(e,t),te=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})};let ne;const oe=()=>ne||(ne="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{});function ae(e){if($(e)){const t={};for(let n=0;n<e.length;n++){const o=e[n],a=z(o)?se(o):ae(o);if(a)for(const e in a)t[e]=a[e]}return t}if(z(e)||Y(e))return e}const ie=/;(?![^(]*\))/g,le=/:([^]+)/,ce=/\/\*[^]*?\*\//g;function se(e){const t={};return e.replace(ce,"").split(ie).forEach((e=>{if(e){const n=e.split(le);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}function ue(e){let t="";if(z(e))t=e;else if($(e))for(let n=0;n<e.length;n++){const o=ue(e[n]);o&&(t+=o+" ")}else if(Y(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function re(e,...t){console.warn(`[Vue warn] ${e}`,...t)}let de;const fe=e=>{const t=new Set(e);return t.w=0,t.n=0,t},pe=e=>(e.w&Te)>0,ge=e=>(e.n&Te)>0,me=new WeakMap;let Ie=0,Te=1;const ve=30;let he;const _e=Symbol("production"!==process.env.NODE_ENV?"iterate":""),Fe=Symbol("production"!==process.env.NODE_ENV?"Map key iterate":"");class Se{constructor(e,t=null,n){this.fn=e,this.scheduler=t,this.active=!0,this.deps=[],this.parent=void 0,function(e,t=de){t&&t.active&&t.effects.push(e)}(this,n)}run(){if(!this.active)return this.fn();let e=he,t=Ee;for(;e;){if(e===this)return;e=e.parent}try{return this.parent=he,he=this,Ee=!0,Te=1<<++Ie,Ie<=ve?(({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=Te})(this):be(this),this.fn()}finally{Ie<=ve&&(e=>{const{deps:t}=e;if(t.length){let n=0;for(let o=0;o<t.length;o++){const a=t[o];pe(a)&&!ge(a)?a.delete(e):t[n++]=a,a.w&=~Te,a.n&=~Te}t.length=n}})(this),Te=1<<--Ie,he=this.parent,Ee=t,this.parent=void 0,this.deferStop&&this.stop()}}stop(){he===this?this.deferStop=!0:this.active&&(be(this),this.onStop&&this.onStop(),this.active=!1)}}function be(e){const{deps:t}=e;if(t.length){for(let n=0;n<t.length;n++)t[n].delete(e);t.length=0}}let Ee=!0;const ye=[];function Pe(){ye.push(Ee),Ee=!1}function Ae(){const e=ye.pop();Ee=void 0===e||e}function Re(e,t,n){if(Ee&&he){let o=me.get(e);o||me.set(e,o=new Map);let a=o.get(n);a||o.set(n,a=fe());!function(e,t){let n=!1;Ie<=ve?ge(e)||(e.n|=Te,n=!pe(e)):n=!e.has(he);n&&(e.add(he),he.deps.push(e),"production"!==process.env.NODE_ENV&&he.onTrack&&he.onTrack(w({effect:he},t)))}(a,"production"!==process.env.NODE_ENV?{effect:he,target:e,type:t,key:n}:void 0)}}function Ue(e,t,n,o,a,i){const l=me.get(e);if(!l)return;let c=[];if("clear"===t)c=[...l.values()];else if("length"===n&&$(e)){const e=Number(o);l.forEach(((t,n)=>{("length"===n||!G(n)&&n>=e)&&c.push(t)}))}else switch(void 0!==n&&c.push(l.get(n)),t){case"add":$(e)?J(n)&&c.push(l.get("length")):(c.push(l.get(_e)),V(e)&&c.push(l.get(Fe)));break;case"delete":$(e)||(c.push(l.get(_e)),V(e)&&c.push(l.get(Fe)));break;case"set":V(e)&&c.push(l.get(_e))}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?xe(c[0],s):xe(c[0]));else{const e=[];for(const t of c)t&&e.push(...t);"production"!==process.env.NODE_ENV?xe(fe(e),s):xe(fe(e))}}function xe(e,t){const n=$(e)?e:[...e];for(const e of n)e.computed&&Le(e,t);for(const e of n)e.computed||Le(e,t)}function Le(e,t){(e!==he||e.allowRecurse)&&("production"!==process.env.NODE_ENV&&e.onTrigger&&e.onTrigger(w({effect:e},t)),e.scheduler?e.scheduler():e.run())}const Ce=L("__proto__,__v_isRef,__isVue"),De=new Set(Object.getOwnPropertyNames(Symbol).filter((e=>"arguments"!==e&&"caller"!==e)).map((e=>Symbol[e])).filter(G)),ke=Ne();function Ne(){const e={};return["includes","indexOf","lastIndexOf"].forEach((t=>{e[t]=function(...e){const n=bt(this);for(let e=0,t=this.length;e<t;e++)Re(n,"get",e+"");const o=n[t](...e);return-1===o||!1===o?n[t](...e.map(bt)):o}})),["push","pop","shift","unshift","splice"].forEach((t=>{e[t]=function(...e){Pe();const n=bt(this)[t].apply(this,e);return Ae(),n}})),e}function we(e){const t=bt(this);return Re(t,"has",e),t.hasOwnProperty(e)}class Oe{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?gt:pt:a?ft:dt).get(e))return e;const i=$(e);if(!o){if(i&&M(ke,t))return Reflect.get(ke,t,n);if("hasOwnProperty"===t)return we}const l=Reflect.get(e,t,n);return(G(t)?De.has(t):Ce(t))?l:(o||Re(e,"get",t),a?l:Pt(l)?i&&J(t)?l:l.value:Y(l)?o?It(l):mt(l):l)}}class Be extends Oe{constructor(e=!1){super(!1,e)}set(e,t,n,o){let a=e[t];if(_t(a)&&Pt(a)&&!Pt(n))return!1;if(!this._shallow&&(Ft(n)||_t(n)||(a=bt(a),n=bt(n)),!$(e)&&Pt(a)&&!Pt(n)))return a.value=n,!0;const i=$(e)&&J(t)?Number(t)<e.length:M(e,t),l=Reflect.set(e,t,n,o);return e===bt(o)&&(i?ee(n,a)&&Ue(e,"set",t,n,a):Ue(e,"add",t,n)),l}deleteProperty(e,t){const n=M(e,t),o=e[t],a=Reflect.deleteProperty(e,t);return a&&n&&Ue(e,"delete",t,void 0,o),a}has(e,t){const n=Reflect.has(e,t);return G(t)&&De.has(t)||Re(e,"has",t),n}ownKeys(e){return Re(e,"iterate",$(e)?"length":_e),Reflect.ownKeys(e)}}class Me extends Oe{constructor(e=!1){super(!0,e)}set(e,t){return"production"!==process.env.NODE_ENV&&re(`Set operation on key "${String(t)}" failed: target is readonly.`,e),!0}deleteProperty(e,t){return"production"!==process.env.NODE_ENV&&re(`Delete operation on key "${String(t)}" failed: target is readonly.`,e),!0}}const $e=new Be,Ve=new Me,We=new Me(!0),Qe=e=>e,ze=e=>Reflect.getPrototypeOf(e);function Ge(e,t,n=!1,o=!1){const a=bt(e=e.__v_raw),i=bt(t);n||(ee(t,i)&&Re(a,"get",t),Re(a,"get",i));const{has:l}=ze(a),c=o?Qe:n?yt:Et;return l.call(a,t)?c(e.get(t)):l.call(a,i)?c(e.get(i)):void(e!==a&&e.get(t))}function Ye(e,t=!1){const n=this.__v_raw,o=bt(n),a=bt(e);return t||(ee(e,a)&&Re(o,"has",e),Re(o,"has",a)),e===a?n.has(e):n.has(e)||n.has(a)}function qe(e,t=!1){return e=e.__v_raw,!t&&Re(bt(e),"iterate",_e),Reflect.get(e,"size",e)}function He(e){e=bt(e);const t=bt(this);return ze(t).has.call(t,e)||(t.add(e),Ue(t,"add",e,e)),this}function je(e,t){t=bt(t);const n=bt(this),{has:o,get:a}=ze(n);let i=o.call(n,e);i?"production"!==process.env.NODE_ENV&&rt(n,o,e):(e=bt(e),i=o.call(n,e));const l=a.call(n,e);return n.set(e,t),i?ee(t,l)&&Ue(n,"set",e,t,l):Ue(n,"add",e,t),this}function Ke(e){const t=bt(this),{has:n,get:o}=ze(t);let a=n.call(t,e);a?"production"!==process.env.NODE_ENV&&rt(t,n,e):(e=bt(e),a=n.call(t,e));const i=o?o.call(t,e):void 0,l=t.delete(e);return a&&Ue(t,"delete",e,void 0,i),l}function Xe(){const e=bt(this),t=0!==e.size,n="production"!==process.env.NODE_ENV?V(e)?new Map(e):new Set(e):void 0,o=e.clear();return t&&Ue(e,"clear",void 0,void 0,n),o}function Je(e,t){return function(n,o){const a=this,i=a.__v_raw,l=bt(i),c=t?Qe:e?yt:Et;return!e&&Re(l,"iterate",_e),i.forEach(((e,t)=>n.call(o,c(e),c(t),a)))}}function Ze(e,t,n){return function(...o){const a=this.__v_raw,i=bt(a),l=V(i),c="entries"===e||e===Symbol.iterator&&l,s="keys"===e&&l,u=a[e](...o),r=n?Qe:t?yt:Et;return!t&&Re(i,"iterate",s?Fe:_e),{next(){const{value:e,done:t}=u.next();return t?{value:e,done:t}:{value:c?[r(e[0]),r(e[1])]:r(e),done:t}},[Symbol.iterator](){return this}}}}function et(e){return function(...t){if("production"!==process.env.NODE_ENV){const n=t[0]?`on key "${t[0]}" `:"";console.warn(`${Z(e)} operation ${n}failed: target is readonly.`,bt(this))}return"delete"!==e&&this}}function tt(){const e={get(e){return Ge(this,e)},get size(){return qe(this)},has:Ye,add:He,set:je,delete:Ke,clear:Xe,forEach:Je(!1,!1)},t={get(e){return Ge(this,e,!1,!0)},get size(){return qe(this)},has:Ye,add:He,set:je,delete:Ke,clear:Xe,forEach:Je(!1,!0)},n={get(e){return Ge(this,e,!0)},get size(){return qe(this,!0)},has(e){return Ye.call(this,e,!0)},add:et("add"),set:et("set"),delete:et("delete"),clear:et("clear"),forEach:Je(!0,!1)},o={get(e){return Ge(this,e,!0,!0)},get size(){return qe(this,!0)},has(e){return Ye.call(this,e,!0)},add:et("add"),set:et("set"),delete:et("delete"),clear:et("clear"),forEach:Je(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach((a=>{e[a]=Ze(a,!1,!1),n[a]=Ze(a,!0,!1),t[a]=Ze(a,!1,!0),o[a]=Ze(a,!0,!0)})),[e,n,t,o]}const[nt,ot,at,it]=tt();function lt(e,t){const n=t?e?it:at:e?ot:nt;return(t,o,a)=>"__v_isReactive"===o?!e:"__v_isReadonly"===o?e:"__v_raw"===o?t:Reflect.get(M(n,o)&&o in t?n:t,o,a)}const ct={get:lt(!1,!1)},st={get:lt(!0,!1)},ut={get:lt(!0,!0)};function rt(e,t,n){const o=bt(n);if(o!==n&&t.call(e,o)){const t=K(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 dt=new WeakMap,ft=new WeakMap,pt=new WeakMap,gt=new WeakMap;function mt(e){return _t(e)?e:vt(e,!1,$e,ct,dt)}function It(e){return vt(e,!0,Ve,st,pt)}function Tt(e){return vt(e,!0,We,ut,gt)}function vt(e,t,n,o,a){if(!Y(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}}(K(c));var c;if(0===l)return e;const s=new Proxy(e,2===l?o:n);return a.set(e,s),s}function ht(e){return _t(e)?ht(e.__v_raw):!(!e||!e.__v_isReactive)}function _t(e){return!(!e||!e.__v_isReadonly)}function Ft(e){return!(!e||!e.__v_isShallow)}function St(e){return ht(e)||_t(e)}function bt(e){const t=e&&e.__v_raw;return t?bt(t):e}const Et=e=>Y(e)?mt(e):e,yt=e=>Y(e)?It(e):e;function Pt(e){return!(!e||!0!==e.__v_isRef)}const At={get:(e,t,n)=>{return Pt(o=Reflect.get(e,t,n))?o.value:o;var o},set:(e,t,n,o)=>{const a=e[t];return Pt(a)&&!Pt(n)?(a.value=n,!0):Reflect.set(e,t,n,o)}};const Rt=[];function Ut(e,...t){if("production"===process.env.NODE_ENV)return;Pe();const n=Rt.length?Rt[Rt.length-1].component:null,o=n&&n.appContext.config.warnHandler,a=function(){let e=Rt[Rt.length-1];if(!e)return[];const t=[];for(;e;){const n=t[0];n&&n.vnode===e?n.recurseCount++:t.push({vnode:e,recurseCount:0});const o=e.component&&e.component.parent;e=o&&o.vnode}return t}();if(o)Dt(o,n,11,[e+t.join(""),n&&n.proxy,a.map((({vnode:e})=>`at <${Kn(n,e.type)}>`)).join("\n"),a]);else{const n=[`[Vue warn]: ${e}`,...t];a.length&&n.push("\n",...function(e){const t=[];return e.forEach(((e,n)=>{t.push(...0===n?[]:["\n"],...function({vnode:e,recurseCount:t}){const n=t>0?`... (${t} recursive calls)`:"",o=!!e.component&&null==e.component.parent,a=` at <${Kn(e.component,e.type,o)}`,i=">"+n;return e.props?[a,...xt(e.props),i]:[a+i]}(e))})),t}(a)),console.warn(...n)}Ae()}function xt(e){const t=[],n=Object.keys(e);return n.slice(0,3).forEach((n=>{t.push(...Lt(n,e[n]))})),n.length>3&&t.push(" ..."),t}function Lt(e,t,n){return z(t)?(t=JSON.stringify(t),n?t:[`${e}=${t}`]):"number"==typeof t||"boolean"==typeof t||null==t?n?t:[`${e}=${t}`]:Pt(t)?(t=Lt(e,bt(t.value),!0),n?t:[`${e}=Ref<`,t,">"]):Q(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=bt(t),n?t:[`${e}=`,t])}const Ct={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",0:"setup function",1:"render function",2:"watcher getter",3:"watcher callback",4:"watcher cleanup function",5:"native event handler",6:"component event handler",7:"vnode hook",8:"directive hook",9:"transition hook",10:"app errorHandler",11:"app warnHandler",12:"ref function",13:"async component loader",14:"scheduler flush. This is likely a Vue internals bug. Please open an issue at https://new-issue.vuejs.org/?repo=vuejs/core"};function Dt(e,t,n,o){let a;try{a=o?e(...o):e()}catch(e){Nt(e,t,n)}return a}function kt(e,t,n,o){if(Q(e)){const a=Dt(e,t,n,o);return a&&q(a)&&a.catch((e=>{Nt(e,t,n)})),a}const a=[];for(let i=0;i<e.length;i++)a.push(kt(e[i],t,n,o));return a}function Nt(e,t,n,o=!0){const a=t?t.vnode:null;if(t){let o=t.parent;const a=t.proxy,i="production"!==process.env.NODE_ENV?Ct[n]:n;for(;o;){const t=o.ec;if(t)for(let n=0;n<t.length;n++)if(!1===t[n](e,a,i))return;o=o.parent}const l=t.appContext.config.errorHandler;if(l)return void Dt(l,null,10,[e,a,i])}!function(e,t,n,o=!0){if("production"!==process.env.NODE_ENV){const i=Ct[t];if(n&&(a=n,Rt.push(a)),Ut("Unhandled error"+(i?` during execution of ${i}`:"")),n&&Rt.pop(),o)throw e;console.error(e)}else console.error(e);var a}(e,n,a,o)}let wt=!1,Ot=!1;const Bt=[];let Mt=0;const $t=[];let Vt=null,Wt=0;const Qt=Promise.resolve();let zt=null;const Gt=100;function Yt(e){const t=zt||Qt;return e?t.then(this?e.bind(this):e):t}function qt(e){Bt.length&&Bt.includes(e,wt&&e.allowRecurse?Mt+1:Mt)||(null==e.id?Bt.push(e):Bt.splice(function(e){let t=Mt+1,n=Bt.length;for(;t<n;){const o=t+n>>>1,a=Bt[o],i=Kt(a);i<e||i===e&&a.pre?t=o+1:n=o}return t}(e.id),0,e),Ht())}function Ht(){wt||Ot||(Ot=!0,zt=Qt.then(Jt))}function jt(e){$(e)?$t.push(...e):Vt&&Vt.includes(e,e.allowRecurse?Wt+1:Wt)||$t.push(e),Ht()}const Kt=e=>null==e.id?1/0:e.id,Xt=(e,t)=>{const n=Kt(e)-Kt(t);if(0===n){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Jt(e){Ot=!1,wt=!0,"production"!==process.env.NODE_ENV&&(e=e||new Map),Bt.sort(Xt);const t="production"!==process.env.NODE_ENV?t=>Zt(e,t):D;try{for(Mt=0;Mt<Bt.length;Mt++){const e=Bt[Mt];if(e&&!1!==e.active){if("production"!==process.env.NODE_ENV&&t(e))continue;Dt(e,null,14)}}}finally{Mt=0,Bt.length=0,function(e){if($t.length){const t=[...new Set($t)];if($t.length=0,Vt)return void Vt.push(...t);for(Vt=t,"production"!==process.env.NODE_ENV&&(e=e||new Map),Vt.sort(((e,t)=>Kt(e)-Kt(t))),Wt=0;Wt<Vt.length;Wt++)"production"!==process.env.NODE_ENV&&Zt(e,Vt[Wt])||Vt[Wt]();Vt=null,Wt=0}}(e),wt=!1,zt=null,(Bt.length||$t.length)&&Jt(e)}}function Zt(e,t){if(e.has(t)){const n=e.get(t);if(n>Gt){const e=t.ownerInstance,n=e&&jn(e.type);return Ut(`Maximum recursive updates exceeded${n?` in component <${n}>`:""}. This means you have a reactive effect that is mutating its own dependencies and thus recursively triggering itself. Possible sources include component template, render function, updated hook or watcher source function.`),!0}e.set(t,n+1)}else e.set(t,1)}const en=new Set;"production"!==process.env.NODE_ENV&&(oe().__VUE_HMR_RUNTIME__={createRecord:an((function(e,t){if(tn.has(e))return!1;return tn.set(e,{initialDef:nn(t),instances:new Set}),!0})),rerender:an((function(e,t){const n=tn.get(e);if(!n)return;n.initialDef.render=t,[...n.instances].forEach((e=>{t&&(e.render=t,nn(e.type).render=t),e.renderCache=[],e.update()}))})),reload:an((function(e,t){const n=tn.get(e);if(!n)return;t=nn(t),on(n.initialDef,t);const o=[...n.instances];for(const e of o){const o=nn(e.type);en.has(o)||(o!==n.initialDef&&on(o,t),en.add(o)),e.appContext.propsCache.delete(e.type),e.appContext.emitsCache.delete(e.type),e.appContext.optionsCache.delete(e.type),e.ceReload?(en.add(o),e.ceReload(t.styles),en.delete(o)):e.parent?qt(e.parent.update):e.appContext.reload?e.appContext.reload():"undefined"!=typeof window?window.location.reload():console.warn("[HMR] Root or manually mounted instance modified. Full reload required.")}jt((()=>{for(const e of o)en.delete(nn(e.type))}))}))});const tn=new Map;function nn(e){return Xn(e)?e.__vccOpts:e}function on(e,t){w(e,t);for(const n in e)"__file"===n||n in t||delete e[n]}function an(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 ln=null,cn=null;const sn=Symbol.for("v-ndc");const un={};function rn(e,t,{immediate:n,deep:o,flush:a,onTrack:i,onTrigger:l}=C){var c;"production"===process.env.NODE_ENV||t||(void 0!==n&&Ut('watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.'),void 0!==o&&Ut('watch() "deep" option is only respected when using the watch(source, callback, options?) signature.'));const s=e=>{Ut("Invalid watch source: ",e,"A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types.")},u=de===(null==(c=Qn)?void 0:c.scope)?Qn:null;let r,d,f=!1,p=!1;if(Pt(e)?(r=()=>e.value,f=Ft(e)):ht(e)?(r=()=>e,o=!0):$(e)?(p=!0,f=e.some((e=>ht(e)||Ft(e))),r=()=>e.map((e=>Pt(e)?e.value:ht(e)?fn(e):Q(e)?Dt(e,u,2):void("production"!==process.env.NODE_ENV&&s(e))))):Q(e)?r=t?()=>Dt(e,u,2):()=>{if(!u||!u.isUnmounted)return d&&d(),kt(e,u,3,[g])}:(r=D,"production"!==process.env.NODE_ENV&&s(e)),t&&o){const e=r;r=()=>fn(e())}let g=e=>{d=v.onStop=()=>{Dt(e,u,4)}},m=p?new Array(e.length).fill(un):un;const I=()=>{if(v.active)if(t){const e=v.run();(o||f||(p?e.some(((e,t)=>ee(e,m[t]))):ee(e,m)))&&(d&&d(),kt(t,u,3,[e,m===un?void 0:p&&m[0]===un?[]:m,g]),m=e)}else v.run()};let T;I.allowRecurse=!!t,"sync"===a?T=I:"post"===a?T=()=>An(I,u&&u.suspense):(I.pre=!0,u&&(I.id=u.uid),T=()=>qt(I));const v=new Se(r,T);"production"!==process.env.NODE_ENV&&(v.onTrack=i,v.onTrigger=l),t?n?I():m=v.run():"post"===a?An(v.run.bind(v),u&&u.suspense):v.run();return()=>{v.stop(),u&&u.scope&&O(u.scope.effects,v)}}function dn(e,t,n){const o=this.proxy,a=z(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;Q(t)?i=t:(i=t.handler,n=t);const l=Qn;Gn(this);const c=rn(a,i.bind(o),n);return l?Gn(l):Yn(),c}function fn(e,t){if(!Y(e)||e.__v_skip)return e;if((t=t||new Set).has(e))return e;if(t.add(e),Pt(e))fn(e.value,t);else if($(e))for(let n=0;n<e.length;n++)fn(e[n],t);else if(W(e)||V(e))e.forEach((e=>{fn(e,t)}));else if(X(e))for(const n in e)fn(e[n],t);return e}
|
|
2
|
+
/*! #__NO_SIDE_EFFECTS__ */function pn(e,t){return Q(e)?(()=>w({name:e.name},t,{setup:e}))():e}const gn=e=>e?4&e.vnode.shapeFlag?function(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy((n=e.exposed,te(n,"__v_skip",!0),ht(t=n)?t:new Proxy(t,At)),{get:(t,n)=>n in t?t[n]:n in mn?mn[n](e):void 0,has:(e,t)=>t in e||t in mn}));var t;var n}(e)||e.proxy:gn(e.parent):null,mn=w(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>"production"!==process.env.NODE_ENV?Tt(e.props):e.props,$attrs:e=>"production"!==process.env.NODE_ENV?Tt(e.attrs):e.attrs,$slots:e=>"production"!==process.env.NODE_ENV?Tt(e.slots):e.slots,$refs:e=>"production"!==process.env.NODE_ENV?Tt(e.refs):e.refs,$parent:e=>gn(e.parent),$root:e=>gn(e.root),$emit:e=>e.emit,$options:e=>__VUE_OPTIONS_API__?function(e){const t=e.type,{mixins:n,extends:o}=t,{mixins:a,optionsCache:i,config:{optionMergeStrategies:l}}=e.appContext,c=i.get(t);let s;c?s=c:a.length||n||o?(s={},a.length&&a.forEach((e=>_n(s,e,l,!0))),_n(s,t,l)):s=t;Y(t)&&i.set(t,s);return s}(e):e.type,$forceUpdate:e=>e.f||(e.f=()=>qt(e.update)),$nextTick:e=>e.n||(e.n=Yt.bind(e.proxy)),$watch:e=>__VUE_OPTIONS_API__?dn.bind(e):D}),In=(e,t)=>e!==C&&!e.__isScriptSetup&&M(e,t),Tn={get({_:e},t){const{ctx:n,setupState:o,data:a,props:i,accessCache:l,type:c,appContext:s}=e;if("production"!==process.env.NODE_ENV&&"__isVue"===t)return!0;let u;if("$"!==t[0]){const c=l[t];if(void 0!==c)switch(c){case 1:return o[t];case 2:return a[t];case 4:return n[t];case 3:return i[t]}else{if(In(o,t))return l[t]=1,o[t];if(a!==C&&M(a,t))return l[t]=2,a[t];if((u=e.propsOptions[0])&&M(u,t))return l[t]=3,i[t];if(n!==C&&M(n,t))return l[t]=4,n[t];__VUE_OPTIONS_API__&&!hn||(l[t]=0)}}const r=mn[t];let d,f;return r?("$attrs"===t?(Re(e,"get",t),process.env.NODE_ENV):"production"!==process.env.NODE_ENV&&"$slots"===t&&Re(e,"get",t),r(e)):(d=c.__cssModules)&&(d=d[t])?d:n!==C&&M(n,t)?(l[t]=4,n[t]):(f=s.config.globalProperties,M(f,t)?f[t]:void("production"===process.env.NODE_ENV||!ln||z(t)&&0===t.indexOf("__v")||(a!==C&&(e=>"_"===e||"$"===e)(t[0])&&M(a,t)?Ut(`Property ${JSON.stringify(t)} must be accessed via $data because it starts with a reserved character ("$" or "_") and is not proxied on the render context.`):e===ln&&Ut(`Property ${JSON.stringify(t)} was accessed during render but is not defined on instance.`))))},set({_:e},t,n){const{data:o,setupState:a,ctx:i}=e;return In(a,t)?(a[t]=n,!0):"production"!==process.env.NODE_ENV&&a.__isScriptSetup&&M(a,t)?(Ut(`Cannot mutate <script setup> binding "${t}" from Options API.`),!1):o!==C&&M(o,t)?(o[t]=n,!0):M(e.props,t)?("production"!==process.env.NODE_ENV&&Ut(`Attempting to mutate prop "${t}". Props are readonly.`),!1):"$"===t[0]&&t.slice(1)in e?("production"!==process.env.NODE_ENV&&Ut(`Attempting to mutate public property "${t}". Properties starting with $ are reserved and readonly.`),!1):("production"!==process.env.NODE_ENV&&t in e.appContext.config.globalProperties?Object.defineProperty(i,t,{enumerable:!0,configurable:!0,value:n}):i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:o,appContext:a,propsOptions:i}},l){let c;return!!n[l]||e!==C&&M(e,l)||In(t,l)||(c=i[0])&&M(c,l)||M(o,l)||M(mn,l)||M(a.config.globalProperties,l)},defineProperty(e,t,n){return null!=n.get?e._.accessCache[t]=0:M(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function vn(e){return $(e)?e.reduce(((e,t)=>(e[t]=null,e)),{}):e}"production"!==process.env.NODE_ENV&&(Tn.ownKeys=e=>(Ut("Avoid app logic that relies on enumerating keys on a component instance. The keys will be empty in production mode to avoid performance overhead."),Reflect.ownKeys(e)));let hn=!0;function _n(e,t,n,o=!1){const{mixins:a,extends:i}=t;i&&_n(e,i,n,!0),a&&a.forEach((t=>_n(e,t,n,!0)));for(const a in t)if(o&&"expose"===a)"production"!==process.env.NODE_ENV&&Ut('"expose" option is ignored when declared in mixins or extends. It should only be declared in the base component itself.');else{const o=Fn[a]||n&&n[a];e[a]=o?o(e[a],t[a]):t[a]}return e}const Fn={data:Sn,props:Pn,emits:Pn,methods:yn,computed:yn,beforeCreate:En,created:En,beforeMount:En,mounted:En,beforeUpdate:En,updated:En,beforeDestroy:En,beforeUnmount:En,destroyed:En,unmounted:En,activated:En,deactivated:En,errorCaptured:En,serverPrefetch:En,components:yn,directives:yn,watch:function(e,t){if(!e)return t;if(!t)return e;const n=w(Object.create(null),e);for(const o in t)n[o]=En(e[o],t[o]);return n},provide:Sn,inject:function(e,t){return yn(bn(e),bn(t))}};function Sn(e,t){return t?e?function(){return w(Q(e)?e.call(this,this):e,Q(t)?t.call(this,this):t)}:t:e}function bn(e){if($(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function En(e,t){return e?[...new Set([].concat(e,t))]:t}function yn(e,t){return e?w(Object.create(null),e,t):t}function Pn(e,t){return e?$(e)&&$(t)?[...new Set([...e,...t])]:w(Object.create(null),vn(e),vn(null!=t?t:{})):t}const An=function(e,t){t&&t.pendingBranch?$(e)?t.effects.push(...e):t.effects.push(e):jt(e)},Rn=Symbol.for("v-fgt"),Un=Symbol.for("v-txt"),xn=Symbol.for("v-cmt");let Ln=null;const Cn="__vInternal",Dn=({key:e})=>null!=e?e:null,kn=({ref:e,ref_key:t,ref_for:n})=>("number"==typeof e&&(e=""+e),null!=e?z(e)||Pt(e)||Q(e)?{i:ln,r:e,k:t,f:!!n}:e:null);const Nn="production"!==process.env.NODE_ENV?(...e)=>wn(...e):wn;function wn(e,t=null,n=null,o=0,a=null,i=!1){if(e&&e!==sn||("production"===process.env.NODE_ENV||e||Ut(`Invalid vnode type when creating vnode: ${e}.`),e=xn),(l=e)&&!0===l.__v_isVNode){const o=On(e,t,!0);return n&&$n(o,n),!i&&Ln&&(6&o.shapeFlag?Ln[Ln.indexOf(e)]=o:Ln.push(o)),o.patchFlag|=-2,o}var l;if(Xn(e)&&(e=e.__vccOpts),t){t=function(e){return e?St(e)||Cn in e?w({},e):e:null}(t);let{class:e,style:n}=t;e&&!z(e)&&(t.class=ue(e)),Y(n)&&(St(n)&&!$(n)&&(n=w({},n)),t.style=ae(n))}const c=z(e)?1:(e=>e.__isSuspense)(e)?128:(e=>e.__isTeleport)(e)?64:Y(e)?4:Q(e)?2:0;return"production"!==process.env.NODE_ENV&&4&c&&St(e)&&Ut("Vue received a Component which was made a reactive object. This can lead to unnecessary performance overhead, and should be avoided by marking the component with `markRaw` or using `shallowRef` instead of `ref`.","\nComponent that was made reactive: ",e=bt(e)),function(e,t=null,n=null,o=0,a=null,i=(e===Rn?0:1),l=!1,c=!1){const s={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Dn(t),ref:t&&kn(t),scopeId:cn,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:ln};return c?($n(s,n),128&i&&e.normalize(s)):n&&(s.shapeFlag|=z(n)?8:16),"production"!==process.env.NODE_ENV&&s.key!=s.key&&Ut("VNode created with invalid key (NaN). VNode type:",s.type),!l&&Ln&&(s.patchFlag>0||6&i)&&32!==s.patchFlag&&Ln.push(s),s}(e,t,n,o,a,c,i,!0)}function On(e,t,n=!1){const{props:o,ref:a,patchFlag:i,children:l}=e,c=t?function(...e){const t={};for(let n=0;n<e.length;n++){const o=e[n];for(const e in o)if("class"===e)t.class!==o.class&&(t.class=ue([t.class,o.class]));else if("style"===e)t.style=ae([t.style,o.style]);else if(N(e)){const n=t[e],a=o[e];!a||n===a||$(n)&&n.includes(a)||(t[e]=n?[].concat(n,a):a)}else""!==e&&(t[e]=o[e])}return t}(o||{},t):o;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&Dn(c),ref:t&&t.ref?n&&a?$(a)?a.concat(kn(t)):[a,kn(t)]:kn(t):a,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:"production"!==process.env.NODE_ENV&&-1===i&&$(l)?l.map(Bn):l,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Rn?-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&&On(e.ssContent),ssFallback:e.ssFallback&&On(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function Bn(e){const t=On(e);return $(e.children)&&(t.children=e.children.map(Bn)),t}function Mn(e=" ",t=0){return Nn(Un,null,e,t)}function $n(e,t){let n=0;const{shapeFlag:o}=e;if(null==t)t=null;else if($(t))n=16;else if("object"==typeof t){if(65&o){const n=t.default;return void(n&&(n._c&&(n._d=!1),$n(e,n()),n._c&&(n._d=!0)))}{n=32;const o=t._;o||Cn in t?3===o&&ln&&(1===ln.slots._?t._=1:(t._=2,e.patchFlag|=1024)):t._ctx=ln}}else Q(t)?(t={default:t,_ctx:ln},n=32):(t=String(t),64&o?(n=16,t=[Mn(t)]):n=8);e.children=t,e.shapeFlag|=n}let Vn,Wn,Qn=null,zn="__VUE_INSTANCE_SETTERS__";(Wn=oe()[zn])||(Wn=oe()[zn]=[]),Wn.push((e=>Qn=e)),Vn=e=>{Wn.length>1?Wn.forEach((t=>t(e))):Wn[0](e)};const Gn=e=>{Vn(e),e.scope.on()},Yn=()=>{Qn&&Qn.scope.off(),Vn(null)};const qn=/(?:^|[-_])(\w)/g,Hn=e=>e.replace(qn,(e=>e.toUpperCase())).replace(/[-_]/g,"");function jn(e,t=!0){return Q(e)?e.displayName||e.name:e.name||t&&e.__name}function Kn(e,t,n=!1){let o=jn(t);if(!o&&t.__file){const e=t.__file.match(/([^/\\]+)\.\w+$/);e&&(o=e[1])}if(!o&&e&&e.parent){const n=e=>{for(const n in e)if(e[n]===t)return n};o=n(e.components||e.parent.type.components)||n(e.appContext.components)}return o?Hn(o):n?"App":"Anonymous"}function Xn(e){return Q(e)&&"__vccOpts"in e}var Jn=pn({name:"qt-view",emits:["clearFocus"],setup(t,n){const o=e();return{clearFocus:()=>{P.callUIFunction(o.value,"clearFocus")},requestFocus:()=>{P.callUIFunction(o.value,"requestFocus")},requestFocusDirectly:()=>{P.callUIFunction(o.value,"requestFocusDirectly")},viewRef:o}}});const Zn={clipChildren:!1,ref:"viewRef"};Jn.render=function(e,a,i,l,c,s){return t(),n("div",Zn,[o(e.$slots,"default")],512)},Jn.__file="src/view/index.vue";var eo=pn({name:"qt-text"});eo.render=function(e,n,o,l,c,s){const u=a("text-view");return t(),i(u)},eo.__file="src/text/index.vue";var to=pn({name:"qt-image"});const no={src:"",alt:"",clipChildren:!1};to.render=function(e,o,a,i,l,c){return t(),n("img",no)},to.__file="src/image/index.vue";var oo=pn({name:"qt-column"});const ao={class:"qt-ui-row-css",clipChildren:!1};oo.render=function(e,a,i,l,c,s){return t(),n("div",ao,[o(e.$slots,"default")])},oo.__scopeId="data-v-734c04b2",oo.__file="src/column/index.vue";var io=pn({name:"qt-row"});const lo={class:"qt-ui-row-css",clipChildren:!1};io.render=function(e,a,i,l,c,s){return t(),n("div",lo,[o(e.$slots,"default")])},io.__scopeId="data-v-9c454b58",io.__file="src/row/index.vue";var co=l({name:"qt-button",props:{size:{type:String,default:"default"},itemType:{type:Number,default:2e4},focusBorder:{type:Boolean,default:!1},focusScale:{type:Number,default:1.08},focusable:{type:Boolean,default:!0},enableFlexStyle:{type:Boolean,default:!1},icon:{type:String,default:null},focusIcon:{type:String,default:null},text:{type:String,default:""},gradientFocusBackground:{type:Object,default:()=>{}},gradientSelectedBackground:{type:Object,default:()=>null},gradientBackground:{type:Object,default:()=>null},disabled:Boolean,circle:Boolean,round:Boolean,square:Boolean,buttonStyle:Object,textStyle:Object,iconStyle:Object,focusIconStyle:Object,iconParentStyle:Object},emits:["focus","click"],setup(t,n){const o=e(),a=e(!1);return{focused:a,requestFocus:function(){P.callUIFunction(o.value,"requestFocus",[])},requestFocusDirectly:function(){P.callUIFunction(o.value,"requestFocusDirectly",[])},onFocus:function(e){console.log("--------XXXXXXXXXXXXXXXXX--------------\x3e>>",a.value),a.value=e.isFocused,n.emit("focus",e.isFocused)},onClick:function(e){n.emit("click")}}}});const so=["focusable","enableFocusBorder","focusScale"],uo=["gradientBackground"],ro=["gradientBackground"],fo=["gradientBackground"],po=["src"],go=["src"];function mo(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})}))}co.render=function(e,l,d,f,p,g){const m=a("text-view");return t(),n("div",{ref:"buttonRef",clipChildren:!1,focusable:e.focusable,enableFocusBorder:e.focusBorder,focusScale:e.focusScale,onClick:l[0]||(l[0]=(...t)=>e.onClick&&e.onClick(...t)),name:"textButton",eventClick:"",eventFocus:"",onFocus:l[1]||(l[1]=(...t)=>e.onFocus&&e.onFocus(...t)),style:c(e.buttonStyle),class:s(["quick-button--default",e.size?"quick-button--"+e.size:"",{"is-disabled-button":e.disabled,"is-circle":e.circle,"is-round":e.round,"is-square":e.square}])},[u(" gradient "),e.gradientFocusBackground?(t(),n("div",{key:0,class:"button-gradient-background-css",gradientBackground:e.gradientFocusBackground,focusable:!1,showOnState:"focused"},null,8,uo)):u("v-if",!0),e.gradientSelectedBackground?(t(),n("div",{key:1,class:"button-gradient-background-css",gradientBackground:e.gradientSelectedBackground,focusable:!1,showOnState:"selected"},null,8,ro)):u("v-if",!0),e.gradientBackground?(t(),n("div",{key:2,class:"button-gradient-background-css",gradientBackground:e.gradientBackground,focusable:!1,showOnState:"normal"},null,8,fo)):u("v-if",!0),u(" -----------------------------icon--------------------------------- "),!e.icon&&!e.focusIcon||e.$slots.default?u("v-if",!0):(t(),n("div",{key:3,duplicateParentState:!0,style:c(e.iconParentStyle),flexStyle:"${iconParentStyle}",class:s(["quick-button-icon-parent",e.size?"quick-button-icon--parent"+e.size:""])},[e.icon&&!e.$slots.default?(t(),n("img",{key:0,style:c(e.iconStyle),flexStyle:"${iconStyle}",duplicateParentState:!0,class:s(["quick-button-icon",e.size?"quick-button-icon--"+e.size:"",{"is-square-icon":e.square}]),focusable:!1,src:e.enableFlexStyle?"${"+e.icon+"}":e.icon,showOnState:"normal"},null,14,po)):u("v-if",!0),e.focusIcon&&!e.$slots.default?(t(),n("img",{key:1,style:c(e.focusIconStyle?e.focusIconStyle:e.iconStyle),flexStyle:"${iconStyle}",class:s(["quick-button-icon",e.size?"quick-button-icon--"+e.size:"",{"is-square-icon":e.square}]),focusable:!1,duplicateParentState:!0,src:e.enableFlexStyle?"${"+e.focusIcon+"}":e.focusIcon,showOnState:"focused"},null,14,go)):u("v-if",!0)],6)),u(" ------------------------------------------------------------------- "),u(" text "),e.enableFlexStyle?(t(),i(m,{key:4,style:c(e.textStyle),duplicateParentState:"",class:s([e.size?"quick-button-text--"+e.size:"",{"is-disabled-text":e.disabled,"is-square-text":e.square}]),focusable:!1,text:"${"+e.text+"}",autoWidth:"",autoHeight:""},null,8,["style","class","text"])):e.text&&!e.$slots.default?(t(),n("span",{key:5,style:c(e.textStyle),duplicateParentState:"",class:s([e.size?"quick-button-text--"+e.size:"",{"is-disabled-text":e.disabled,"is-square-text":e.square}]),focusable:!1},r(e.text),7)):u("v-if",!0),o(e.$slots,"default")],46,so)},co.__scopeId="data-v-46a594e4",co.__file="src/button/index.vue";const Io=e=>e.map(vo),To=e=>{const t=Object.keys(e),n={};return t.forEach((t=>{n[t]=vo(e[t])})),n};function vo(e){return e?"object"!=typeof e?e:Array.isArray(e)?Io(e):To(e):e}var ho=l({name:"qt-grid-view",props:{loadMore:{type:Function,default:function(){return[1,1]}},openPage:{type:Boolean,default:!1},spanCount:{type:Number,default:0},pageSize:{type:Number},preloadNo:{type:Number,default:0},defaultFocus:{type:Number,default:-1},areaWidth:{type:Number,default:1200},blockFocusDirections:{type:Array,default:()=>[]}},emits:["item-click","scroll","item-unbind","scroll-state-changed","item-bind","item-focused"],setup(t,n){A(),R();const o=e();let a=e(2.5),i=[],l=[],c=[],s=[],u="",r=-1,p=e(!1),g=-1,m=-1,I=-1,T=-1,v=e(!1);d((()=>{t.openPage&&(r=1,p.value=!1,t.loadMore(r))}));const h=(e,n)=>{n||(U(),i=vo(e),l=e,a.value<2.2?(_(),t.openPage&&t.pageSize&&s.length>=t.pageSize/t.spanCount?o.value.setListDataWithParams(s.concat([{type:1002,decoration:{top:15,left:30}}]),!0,!0):o.value.setListDataWithParams(s,!0,!0)):t.openPage&&t.pageSize&&i.length>=t.pageSize?o.value.setListDataWithParams(i.concat([{type:1002,decoration:{top:15,left:30}}]),!0,!0):o.value.setListDataWithParams(i,!0,!0),t.defaultFocus>-1&&(I&&clearTimeout(I),I=setTimeout((()=>{b(t.defaultFocus),E(t.defaultFocus)}),800)));let d={get(e,n,l){if("__ob__"!=n&&"symbol"!=typeof n&&"map"!=n&&"length"!=n&&"constructor"!=n&&"_isVue"!=n&&"valueOf"!=n&&"toString"!=n&&"observeArray"!=n&&"dep"!=n&&"notify"!=n&&"subs"!=n&&"slice"!=n)if(c.push(n),-1!=c.indexOf("push"))u="push";else{if(-1!=c.indexOf("splice"))return u="splice",function(...t){if(e.splice(...t),a.value<2.2)if(_(),1==t.length||2==t.length)o.value.setListData(s);else if(0==t[1])o.value.setListData(s);else{let e=-1,n=0,a=0;for(let o=0;o<s.length;o++){const i=s[o];if("1003"==i.type)e++,t[0]==e&&(n=o),t[0]+t[1]-1==e&&(a=o);else for(let l=0;l<i.list.length;l++)i.list[l],e++,t[0]==e&&(n=o),t[0]+t[1]-1==e&&(a=o)}o.value.updateItemList(n,a-n+1,s.slice(n,a+1))}else 1==t.length?0==t[0]?o.value.setListData([]):o.value.deleteItem(Number(t[0]),i.length-t[0]):2==t.length?o.value.deleteItem(Number(t[0]),t[1]):t.length>2&&(0==t[1]?a.value>2.29&&P(t[0],t.slice(2)):o.value.updateItemList(t[0],t[1],t.slice(2)));return i.splice(t[0],...t.slice(1)),u="",c=[],Reflect.get(e,n,l)};if(-1!=c.indexOf("pop"))return u="pop",function(){return e.pop(),a.value<2.2?(s[s.length-1].list.length<1&&s.pop(),s[s.length-1].list.pop(),o.value.updateItem(Number(s.length-1),s[s.length-1])):o.value.deleteItem(Number(i.length-1),1),i.pop(),u="",c=[],Reflect.get(e,n,l)};if(-1!=c.indexOf("forEach"))return u="forEach",function(r){return e.forEach((e=>{r(e)})),i=[],i=vo(e),a.value<2.2?(_(),t.openPage&&t.pageSize&&s.length>=t.pageSize&&!p.value?o.value.setListData(s.concat([{type:1002,decoration:{top:15,left:30}}])):o.value.setListData(s)):t.openPage&&t.pageSize&&i.length>=t.pageSize&&!p.value?o.value.setListData(i.concat([{type:1002,decoration:{top:15,left:30}}])):o.value.setListData(i),u="",c=[],Reflect.get(e,n,l)};if(-1!=c.indexOf("concat"))return u="concat",function(f){if("[object Array]"===Object.prototype.toString.call(f))if(e=e.concat(f),i=i.concat(f),a.value<2.2){T&&clearTimeout(T);let e=s.length,n=s.slice(s.length-1)[0];_();let a=s.slice(e);t.openPage&&!p.value?!t.pageSize&&2==r||v.value?T=setTimeout((()=>{o.value.addListData(a.concat([{type:1002,decoration:{top:15,left:30}}])),v.value&&(v.value=!1)}),300):0==a.length||"1003"!=n.type&&n.list.length<t.spanCount?(a=s.slice(e-1),T=setTimeout((()=>{o.value.addListDataWithParams(a.concat([{type:1002,decoration:{top:15,left:30}}]),2)}),300)):T=setTimeout((()=>{o.value.addListDataWithParams(a.concat([{type:1002,decoration:{top:15,left:30}}]),1)}),300):o.value.setListData(s)}else T=t.openPage&&!p.value?!t.pageSize&&2==r||v.value?setTimeout((()=>{o.value.addListData(f.concat([{type:1002,decoration:{top:15,left:30}}])),v.value&&(v.value=!1)}),300):setTimeout((()=>{o.value.addListDataWithParams(f.concat([{type:1002,decoration:{top:15,left:30}}]),1)}),300):setTimeout((()=>{o.value.addListData(f)}),300);else console.log("concat:参数类型必须为数组");return u="",c=[],Reflect.get(e,n,l),new Proxy(e,d)};u=""}const f=Reflect.get(e,n,l);return F(f)&&"__ob__"!=n&&"dep"!=n&&"subs"!=n?h(f,!0):(-1==c.indexOf("push")&&(c=[]),f)},set(e,n,d,f){const g=e[n],m=Reflect.set(e,n,d,f);if((!F(g)&&g!==d||F(g))&&"push"!=u)if(c.push(n),i[c[0]]=l[c[0]],a.value<2.2){let e=c[0],t=-1;for(let n=0;n<s.length;n++){const a=s[n];if("1003"==a.type)t++,t==e&&(s[n]=i[c[0]],o.value.updateItem(Number(n),s[n]));else for(let l=0;l<a.list.length;l++)if(a.list[l],t++,t==e){s[n].list[l]=i[c[0]];let e=s[n].list[l];e.decoration&&(e.decoration.top&&(e.decoration.top=0),e.decoration.bottom&&(e.decoration.bottom=0)),o.value.updateItem(Number(n),s[n])}}}else o.value.updateItem(Number(c[0]),l[c[0]]);if(n&&"push"==u&&g!==d)c.push(n),i.push(d);else{if("push"==u&&c.length>1)if(a.value<2.2){T&&clearTimeout(T);let e=s.length,n=s.slice(s.length-1)[0];_();let a=s.slice(e);t.openPage&&!p.value?!t.pageSize&&2==r||v.value?T=setTimeout((()=>{o.value.addListData(a.concat([{type:1002,decoration:{top:15,left:30}}])),v.value&&(v.value=!1)}),300):0==a.length||"1003"!=n.type&&n.list.length<t.spanCount?(a=s.slice(e-1),T=setTimeout((()=>{o.value.addListDataWithParams(a.concat([{type:1002,decoration:{top:15,left:30}}]),2)}),300)):T=setTimeout((()=>{o.value.addListDataWithParams(a.concat([{type:1002,decoration:{top:15,left:30}}]),1)}),300):o.value.setListData(s)}else{let e=i.slice(c[1]);T&&clearTimeout(T),T=t.openPage&&!p.value?!t.pageSize&&2==r||v.value?setTimeout((()=>{o.value.addListData(e.concat([{type:1002,decoration:{top:15,left:30}}])),v.value&&(v.value=!1)}),300):setTimeout((()=>{o.value.addListDataWithParams(e.concat([{type:1002,decoration:{top:15,left:30}}]),1)}),300):setTimeout((()=>{o.value.addListData(e)}),300)}u="",c=[]}return m}};return new Proxy(e,d)},_=()=>{let e=vo(i);s=[];let n=0,o=[];for(let t=0;t<e.length;t++){let n=e[t];if("1003"==n.type)o.push(n);else if(n.decoration.top&&(n.toCompatibleSaveTopVal=n.decoration.top,n.decoration.top=0),n.decoration.bottom&&(n.toCompatibleSaveBottompVal=n.decoration.bottom,n.decoration.bottom=0),o[o.length-1]&&1==o[o.length-1].type)o[o.length-1].list.push(n);else{let e={type:1,list:[]};e.list.push(n),o.push(e)}}for(let e=0;e<o.length;e++){const a=o[e];if("1003"==a.type)s.push(a);else for(let e=0;e<a.list.length;e+=t.spanCount){const o=a.list[e];let i={top:-1,bottom:-1};o.decoration&&(i.top=o.toCompatibleSaveTopVal?o.toCompatibleSaveTopVal:0,i.bottom=o.toCompatibleSaveBottompVal?o.toCompatibleSaveBottompVal:0);const l={type:1,decoration:i,name:"name"+n,list:a.list.slice(e,e+t.spanCount)};n++,s.push(l)}}},F=e=>null!==e&&"object"==typeof e,S=()=>{m&&clearTimeout(m),m=setTimeout((()=>{a.value<2.2?t.pageSize?t.pageSize/t.spanCount<=s.length&&o.value.deleteItem(s.length,1):r>2&&o.value.deleteItem(s.length,1):t.pageSize?t.pageSize<=i.length&&o.value.deleteItem(i.length,1):r>2&&o.value.deleteItem(i.length,1)}),400),p.value=!0},b=e=>{if(a.value<2.2){let t=-1;for(let n=0;n<s.length;n++){const a=s[n];if("1003"==a.type)t++,t==e&&o.value.scrollToPosition(n);else for(let i=0;i<a.list.length;i++)a.list[i],t++,t==e&&o.value.scrollToPosition(n)}}else o.value.scrollToPosition(e)},E=e=>{if(a.value<2.2){let t=-1,n=0,a=0;for(let o=0;o<s.length;o++){const i=s[o];if("1003"==i.type)t++;else for(let l=0;l<i.list.length;l++)i.list[l],t++,e==t&&(n=o,a=l)}o.value.dispatchItemFunction(n,"tv_list_inner","requestChildFocus",[a])}else o.value.requestFocus(e)},y=(e,t)=>{if(a.value<2.2){let t=-1,n=0,a=0;for(let o=0;o<s.length;o++){const i=s[o];if("1003"==i.type)t++;else for(let l=0;l<i.list.length;l++)i.list[l],t++,e==t&&(n=o,a=l)}o.value.dispatchItemFunction(n,"tv_list_inner","setSelectChildPosition",[a])}else o.value.setSelectPosition(e,t)},P=(e,t)=>{o.value.addItem(e,t)},U=()=>{v.value=!1,i=[],s=[],l.length=0,p.value=!1,c=[],r=1,p.value=!1,u="",g&&clearTimeout(g),T&&clearTimeout(T),m&&clearTimeout(m),I&&clearTimeout(I)};f((()=>{U()}));let x=-1;return{tv_list:o,apkVersion:a,init:h,onItemClick:e=>{if(a.value<2.2){let t=-1,n=e.position,o=e.parentPosition;for(let a=0;a<e.parentPosition+1;a++){const i=s[a];if("1003"==i.type)t++;else for(let l=0;l<i.list.length;l++)t++,n==l&&o==a&&(e.position=t)}}n.emit("item-click",e)},onItemBind:e=>{a.value<2.2?p.value||e.position!=s.length-1-t.preloadNo/t.spanCount||(r++,t.loadMore(r)):p.value||e.position!=i.length-1-t.preloadNo||(r++,t.loadMore(r)),n.emit("item-bind",e)},onItemFocused:e=>{if(a.value<2.2){let t=-1,n=e.position,o=e.parentPosition;for(let a=0;a<e.parentPosition+1;a++){const i=s[a];if("1003"==i.type)t++;else for(let l=0;l<i.list.length;l++)t++,n==l&&o==a&&(e.position=t)}}n.emit("item-focused",e)},restartPage:()=>{clearTimeout(x);let e=0;p.value||(e=420,S()),x=setTimeout((()=>{v.value=!0,r=1,p.value=!1,t.loadMore(r)}),e)},isRestartPage:v,onItemUnbind:e=>{n.emit("item-unbind",e)},onScroll:e=>{n.emit("scroll",e)},onScrollStateChanged:e=>{n.emit("scroll-state-changed",e)},stopPage:S,scrollToTop:()=>{o.value.scrollToTop()},clearFocus:()=>{o.value.clearFocus()},blockRootFocus:()=>{o.value.blockRootFocus()},unBlockRootFocus:()=>{o.value.unBlockRootFocus()},setDisplay:e=>{o.value.setDisplay(e)},scrollToPosition:b,scrollToIndex:(e,t,n)=>{if(a.value<2.2){let a=-1;for(let i=0;i<s.length;i++){const l=s[i];if("1003"==l.type)a++,a==e&&o.value.scrollToIndex(0,i,t,n);else for(let c=0;c<l.list.length;c++)l.list[c],a++,a==e&&o.value.scrollToIndex(0,i,t,n)}}else o.value.scrollToIndex(0,e,t,n)},setItemFocused:E,scrollToFocused:e=>{b(e),E(e)},setItemSelected:y,scrollToSelected:(e,t)=>{b(e),y(e,t)},updateItemProps:(e,t,n)=>{o.value.updateItemProps(e,t,n)},setInitPosition:e=>{o.value.setInitPosition(e)},setListData:e=>{g&&clearTimeout(g),g=setTimeout((()=>{o.value.setListData(e)}),100)},insertItem:P,clearPostTask:()=>{o.value.clearPostTask()},destroy:()=>{o.value.destroy()}}}});ho.render=function(e,l,s,u,r,d){const f=a("tv-list");return t(),i(f,{class:"tv_list",ref:"tv_list",name:"tv_list",spanCount:e.apkVersion<2.2?"":e.spanCount,onItemBind:e.onItemBind,onItemClick:e.onItemClick,onItemFocused:e.onItemFocused,onItemUnbind:e.onItemUnbind,onScroll:e.onScroll,onScrollStateChanged:e.onScrollStateChanged,onSetListData:e.setListData,blockFocusDirections:e.blockFocusDirections},{default:p((()=>[e.apkVersion<2.2?(t(),n(g,{key:0},[o(e.$slots,"header"),m(f,{class:"tv_list_inner",ref:"${name}",list:"${list}",name:"tv_list_inner",type:"1",clipChildren:!1,focusable:!1,horizontal:"",style:c({width:e.areaWidth+"px"}),endHintEnabled:!1,blockFocusDirections:e.blockFocusDirections},{default:p((()=>[o(e.$slots,"default")])),_:3},8,["style","blockFocusDirections"]),o(e.$slots,"footer"),o(e.$slots,"loading")],64)):(t(),n(g,{key:1},[o(e.$slots,"header"),o(e.$slots,"default"),o(e.$slots,"footer"),o(e.$slots,"loading")],64))])),_:3},8,["spanCount","onItemBind","onItemClick","onItemFocused","onItemUnbind","onScroll","onScrollStateChanged","onSetListData","blockFocusDirections"])},ho.__file="src/grid-view/index.vue";var _o=pn({name:"qt-poster-focus-title",props:{fontSize:{type:Number,default:20}},setup(e,t){}});const Fo={class:"absoluteFocusTitleRoot",flexStyle:"${titleFocusStyle}",autoHeight:"",focusable:!1},So={class:"absoluteFocusMainBgRoot",duplicateParentState:!0,focusable:!1,showIf:"${focusTitle.enable}"};_o.render=function(e,o,i,l,c,s){const r=a("text-view");return t(),n("div",Fo,[u(" 浮动标题"),m(r,{duplicateParentState:!0,focusable:!1,fontSize:26,ellipsizeMode:2,lines:1,paddingRect:[16,18,0,0],gradientBackground:"${floatTitle.background}",style:{height:"64px",color:"#ffffff"},flexStyle:"${floatTitle.style}",text:"${floatTitle}",showIf:"${floatTitle.enable}",gravity:"left",postDelay:250}),I("div",So,[u(" 主标题 "),m(r,{duplicateParentState:!0,focusable:!1,fontSize:30,ellipsizeMode:2,autoHeight:"",maxLines:2,gravity:"left",paddingRect:[16,8,12,8],style:{"background-color":"transparent",color:"#000000"},flexStyle:"${focusTitle.style}",text:"${focusTitle.text}"}),u(" 副标题 "),m(r,{duplicateParentState:!0,focusable:!1,fontSize:24,ellipsizeMode:2,lines:1,autoHeight:"",gravity:"left|top",paddingRect:[16,0,0,16],style:{color:"rgba(0,0,0,.4)","background-color":"transparent"},flexStyle:"${subTitle.style}",text:"${subTitle.text}",visibility:"${subTitle}"})])])},_o.__scopeId="data-v-703673b8",_o.__file="src/poster/qt-poster-focus-title.vue";var bo=pn({name:"qt-poster-corner-title",props:{fontSize:{type:Number,default:20}},setup(e,t){}});const Eo={class:"cornerRoot",focusable:!1},yo=(e=>(T("data-v-4b767ea2"),e=e(),v(),e))((()=>I("img",{focusable:!1,flexStyle:"${corner.style}",src:"${corner.src}",showIf:"${corner.enableImg}"},null,-1)));bo.render=function(e,o,i,l,c,s){const u=a("text-view");return t(),n("div",Eo,[m(u,{duplicateParentState:!0,focusable:!1,textSize:e.fontSize,ellipsizeMode:2,lines:1,typeface:"bold",gravity:"center",postDelay:350,style:{color:"white",padding:"4px 8px",height:"36px",margin:"4px"},gradientBackground:"${corner.background}",autoWidth:"",text:"${corner.text}",showIf:"${corner.enable}"},null,8,["textSize"]),yo])},bo.__scopeId="data-v-4b767ea2",bo.__file="src/poster/qt-poster-corner-title.vue";var Po=pn({name:"qt-poster",components:{"qt-poster-corner-title":bo,"qt-poster-focus-title":_o},props:{requestFirstFocus:{type:Boolean,default:!1},loadDelay:{type:Number,default:500},type:{type:Number,default:10001},templateKeyMap:{type:Object,default:()=>null}},setup:(e,t)=>({mainTextShowOnState:["normal","selected"]})});const Ao=e=>(T("data-v-3c4765e9"),e=e(),v(),e),Ro=Ao((()=>I("img",{class:"qt-ui-poster-img-css",duplicateParentState:!0,postDelay:300,focusable:!1,enableFocusBorder:"${focus.border}",flexStyle:"${image.style}",src:"${image.src}"},null,-1))),Uo=["showOnState"],xo={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}"},Lo={flexStyle:"${ripple.style}",class:"qt-ui-poster-ripple-view-root-css",showOnState:"focused",focusable:!1,clipChildren:!1},Co=Ao((()=>I("img",{src:"${ripple.src}",class:"qt-ui-ripple-img-css",focusable:!1,duplicateParentState:!0,showIf:"${true}",delayLoad:800},null,-1)));Po.render=function(e,n,l,c,s,r){const d=a("text-view"),f=a("qt-poster-focus-title"),g=a("ripple-view"),T=a("qt-poster-corner-title"),v=a("item-frame");return t(),i(v,{type:e.type,layout:"${layout}",flexStyle:"${style}",focusScale:"${focus.scale}",focusable:!0,eventClick:"",eventFocus:"",name:"poster",class:"qt-ui-poster-root-css",itemShowShimmer:"${shimmer.enable}",hideShadow:"${shadow.enable}",shimmerSize:"${size}"},{default:p((()=>[u("封面"),Ro,m(d,{class:"qt-ui-poster-score-css",duplicateParentState:!0,focusable:!1,flexStyle:"${score.style}",textSize:"${score.style.fontSize}",ellipsizeMode:2,lines:1,gravity:"center",postDelay:350,autoWidth:"",text:"${score.text}"}),u(" 焦点选中时的标题 "),m(f,{focusable:!1,showOnState:"focused"}),I("div",{style:{"flex-direction":"column","background-color":"transparent","z-index":"999"},duplicateParentState:!0,focusable:!1,flexStyle:"${titleStyle}",showOnState:e.mainTextShowOnState},[u(" 浮动标题 "),I("div",xo,[m(d,{duplicateParentState:!0,focusable:!1,textSize:26,ellipsizeMode:2,enablePostTask:"",postDelay:200,lines:1,gravity:"left",style:{"z-index":"999",height:"50px"},flexStyle:"${floatTitle.style}",text:"${floatTitle.text}"})]),u(" 主标题"),m(d,{duplicateParentState:!0,focusable:!1,textSize:30,ellipsizeMode:2,lines:1,postDelay:200,gravity:"left",paddingRect:[16,8,0,0],gradientBackground:"${title.background}",style:{"z-index":"999",height:"60px"},flexStyle:"${title.style}",text:"${title.text}",showIf:"${title.enable}"})],8,Uo),I("div",Lo,[m(g,{class:"qt-ui-ripple-view-css",delayLoad:800,focusable:!1,duplicateParentState:!0,color:"#FF4E46",isShowRipple:"${ripple.enable}",rippleVisible:"invisible"}),Co]),m(T,{focusable:!1,flexStyle:"${corner.style}",style:{"z-index":"1000",position:"absolute"}}),o(e.$slots,"default")])),_:3},8,["type"])},Po.__scopeId="data-v-3c4765e9",Po.__file="src/poster/index.vue";var Do=l({name:"qt-nav-bar",props:{textKey:{type:String,default:"text"},itemGap:{type:Number,default:0},horizontal:{type:Boolean,default:!0},initSelect:{type:Number,default:0},size:{type:String,default:"medium"},navs:{type:Array,default:()=>[]},tabNavBarClass:{type:String,default:""}},setup(t,n){const o=e();let a=e("#f5f5f5"),i=h({normal:"#80ffffff",focused:"#000000",selected:"#F5F5F5"}),l=-1,c=-1;_((()=>t.navs),(e=>{e.length>0&&s(e)}));const s=e=>{e||(e=[]),e.forEach(((e,n)=>{0!==t.itemGap&&(t.horizontal?e.decoration={right:t.itemGap}:e.decoration={bottom:t.itemGap}),e.type||(e.type=2e4)})),o.value?.setListData(e),clearTimeout(c);let n=t.initSelect;n>-1&&(o.value?.scrollToPosition(n),c=setTimeout((()=>{o.value?.setItemSelected(n,!0),u(n)}),300))},u=e=>{clearTimeout(l),l=setTimeout((()=>{n.emit("tab-select",{position:e})}),300)};return{navList:o,focusColor:a,textColor:i,bgPadding:[10,10],onTabChange:e=>{!0===e.hasFocus&&(n.emit("tab-focus",e),u(e.position))},onTabClick:e=>{n.emit("tab-click",e.item)},scrollToPosition:e=>{o.value?.scrollToPosition(e)},scrollToTop:()=>{o.value?.scrollToTop()},init:e=>{s(e.data)}}}});const ko=["stateTextColor","sateBackgroundPadding"],No=["stateTextColor","sateBackgroundPadding"];var wo,Oo;Do.render=function(e,n,l,s,u,r){const d=a("text-view"),f=a("qt-list-view");return e.horizontal?(t(),i(f,{key:0,ref:"navList",clipChildren:!1,clipPadding:!1,horizontal:"",class:"tabNavBarClass",onItemClick:e.onTabClick,onItemFocused:e.onTabChange},{default:p((()=>[I("div",{class:"qt-ui-nav-bar-item-css",type:2e4,autoWidth:"",focusable:!0,eventFocus:"",flexStyle:"${style}",clipChildren:!1,style:c({focusBackgroundColor:e.focusColor}),stateTextColor:e.textColor,sateBackgroundPadding:e.bgPadding},[m(d,{autoWidth:"",gravity:"center",lines:1,fontSize:44,class:"qt-ui-nav-bar-item-text-css",duplicateParentState:!0,text:"${text}"})],12,ko),o(e.$slots,"default")])),_:3},8,["onItemClick","onItemFocused"])):(t(),i(f,{key:1,ref:"navList",clipChildren:!1,clipPadding:!1,class:"tabNavBarClass",onItemClick:e.onTabClick,onItemFocused:e.onTabChange},{default:p((()=>[I("div",{class:"qt-ui-nav-bar-item-css",type:2e4,flexStyle:"${style}",eventFocus:"",autoWidth:"",focusable:!0,stateTextColor:e.textColor,style:c({focusBackgroundColor:e.focusColor}),sateBackgroundPadding:e.bgPadding,clipChildren:!1},[m(d,{autoWidth:"",gravity:"center",lines:1,fontSize:44,class:"qt-ui-nav-bar-item-text-css",duplicateParentState:!0,text:"${text}"})],12,No),o(e.$slots,"default")])),_:3},8,["onItemClick","onItemFocused"]))},Do.__file="src/nav-bar/index.vue",function(e){e[e.QT_WATERFALL_SECTION_TYPE_LOADING=-1]="QT_WATERFALL_SECTION_TYPE_LOADING",e[e.QT_WATERFALL_SECTION_TYPE_TITLE=1e3]="QT_WATERFALL_SECTION_TYPE_TITLE",e[e.QT_WATERFALL_SECTION_TYPE_FLEX=1002]="QT_WATERFALL_SECTION_TYPE_FLEX",e[e.QT_WATERFALL_SECTION_TYPE_LIST=1003]="QT_WATERFALL_SECTION_TYPE_LIST",e[e.QT_WATERFALL_SECTION_TYPE_TAB=1003]="QT_WATERFALL_SECTION_TYPE_TAB",e[e.QT_WATERFALL_SECTION_TYPE_INDEPENDENT_ITEM=1004]="QT_WATERFALL_SECTION_TYPE_INDEPENDENT_ITEM",e[e.QT_WATERFALL_SECTION_TYPE_TAB_LIST=1005]="QT_WATERFALL_SECTION_TYPE_TAB_LIST",e[e.QT_WATERFALL_SECTION_TYPE_CARD=1006]="QT_WATERFALL_SECTION_TYPE_CARD",e[e.QT_WATERFALL_SECTION_TYPE_VUE=1007]="QT_WATERFALL_SECTION_TYPE_VUE",e[e.QT_WATERFALL_SECTION_TYPE_END=-1001]="QT_WATERFALL_SECTION_TYPE_END",e[e.QT_WATERFALL_SECTION_TYPE_BLANK=-1e3]="QT_WATERFALL_SECTION_TYPE_BLANK"}(wo||(wo={})),function(e){e[e.QT_WATERFALL_ITEM_TYPE_POSTER=10001]="QT_WATERFALL_ITEM_TYPE_POSTER",e[e.QT_WATERFALL_ITEM_TYPE_TAB=10002]="QT_WATERFALL_ITEM_TYPE_TAB",e[e.QT_WATERFALL_ITEM_TYPE_CARD=10003]="QT_WATERFALL_ITEM_TYPE_CARD",e[e.QT_WATERFALL_ITEM_TYPE_BLANK=-1e4]="QT_WATERFALL_ITEM_TYPE_BLANK"}(Oo||(Oo={}));var Bo=pn({name:"card-item",setup(e,t){const n=U();return{onFocus:function(e){n.isLoggable(x.DEBUG)&&n.d("card-item","------onFocus---------\x3e>>>",e),t.emit("focus",e)}}}});Bo.render=function(e,n,o,l,c,s){const u=a("es-card-container");return t(),i(u,{keyName:"_id",clipChildren:!1,clipPadding:!1,autoRecycle:!0,disablePlaceholder:"",layout:"${layout}",flexStyle:"${style}",cardId:"${cardId}",focusScale:"${cardPlaceHolder.focusScale}",focusable:"${cardPlaceHolder.focusable}",showPlaceHolder:"${cardPlaceHolder.enable}",placeHolderRadius:"${cardPlaceHolder.radius}",placeHolderRect:"${cardPlaceHolder.rect}",type:10003,onFocus:e.onFocus,class:"qt-ui-waterfall-card-item"},null,8,["onFocus"])},Bo.__scopeId="data-v-599898aa",Bo.__file="src/waterfall/item/card-item.vue";var Mo=pn({name:"standard-section",components:{"card-item":Bo},props:{enablePlaceholder:{type:Boolean,default:!0},plateData:{type:String,default:""},useDiff:{type:Boolean,default:!0},cachePool:{type:Object,default:{}},sectionType:{type:Number,default:wo.QT_WATERFALL_SECTION_TYPE_FLEX},standItemType:{type:Number,default:Oo.QT_WATERFALL_ITEM_TYPE_POSTER},currentPageIndex:{type:Number,default:-1},itemFocusScale:{type:Number,default:1.1}},setup(e,t){const n=U();return{onFocus:function(e){n.isLoggable(x.DEBUG)&&n.d("card-item","------onFocus---------\x3e>>>",e),t.emit("focus",e)}}}});const $o=["type"],Vo=(e=>(T("data-v-227e921e"),e=e(),v(),e))((()=>I("img",{postDelay:300,flexStyle:"${imgTitleStyle}",focusable:!1,src:"${imgTitle}"},null,-1)));Mo.render=function(e,i,l,c,s,r){const d=a("text-view"),f=a("qt-poster"),g=a("card-item"),I=a("tv-flex");return t(),n("div",{class:"standard-section-css",blockFocusDirections:["left","right"],clipChildren:!1,clipPadding:!1,type:e.sectionType,focusable:!1,focusScrollTarget:"${isFocusScrollTarget==true}",keyName:"_id",flexStyle:"${style}",scrollOverride:"${scrollOverride}",gradientBackground:"${style.gradientBackground}",bringFocusChildToFront:!0,useAdvancedFocusSearch:!0},[m(d,{class:"standard-section-title-text-css",postDelay:300,autoWidth:"",autoHeight:"",flexStyle:"${titleStyle}",focusable:!1,textSize:"${titleStyle.fontSize}",text:"${title}"}),Vo,m(I,{class:"standard-section-css",name:"QUICKTVUI_WARTERFALL_LIST",blockFocusDirections:["left","right"],clipChildren:!1,clipPadding:!1,bringFocusChildToFront:!0,cachePool:e.cachePool,useDiff:e.useDiff,keyName:"_id",enablePlaceholder:e.enablePlaceholder,focusScrollTarget:"${isFocusScrollTarget==true}",list:"${itemList}"},{default:p((()=>[u(" poster "),m(f,{"load-delay":500,type:e.standItemType},null,8,["type"]),u(" card "),m(g,{onFocus:e.onFocus},null,8,["onFocus"]),o(e.$slots,"default")])),_:3},8,["cachePool","useDiff","enablePlaceholder"])],8,$o)},Mo.__scopeId="data-v-227e921e",Mo.__file="src/waterfall/section/flex-section.vue";const Wo="list-section";var Qo=pn({name:"list-section",props:{enablePlaceholder:{type:Boolean,default:!0},isSwitchBgScroll:{type:Boolean,default:!1},standItemType:{type:Number,default:10001},tabItemType:{type:Number,default:10002},sectionType:{type:Number,default:wo.QT_WATERFALL_SECTION_TYPE_LIST},fetchPendingData:{type:Function,default:null},arrangeType:{type:String,default:"TB"}},setup(e,t){const n=U();return{blockDirections:["left","right"],onItemBind:function(e){n.isLoggable(x.DEBUG)&&n.d(Wo,"----------onItemBind--------------\x3e>>",e)},onItemClick:function(e){n.isLoggable(x.DEBUG)&&n.d(Wo,"----------onItemClick--------------\x3e>>",e)},onItemRecycled:function(e){n.isLoggable(x.DEBUG)&&n.d(Wo,"----------onItemRecycled--------------\x3e>>",e)},onItemFocused:function(e){n.isLoggable(x.DEBUG)&&n.d(Wo,"----------onItemFocused--------------\x3e>>",e)}}}});const zo={class:"qt-ui-section-tab-list-root",focusable:!1,flexStyle:"${style}",gradientBackground:"${style.gradientBackground}",blockFocusDirections:["right"],clipChildren:!1,useAdvancedFocusSearch:!0,bringFocusChildToFront:!0},Go=(e=>(T("data-v-6aa2cfd4"),e=e(),v(),e))((()=>I("img",{postDelay:300,flexStyle:"${imgTitleStyle}",focusable:!1,src:"${imgTitle}"},null,-1))),Yo=["type"];Qo.render=function(e,n,l,c,s,u){const r=a("text-view"),d=a("qt-poster"),f=a("tv-list"),g=a("tv-item");return t(),i(g,{keyName:"_id",type:e.sectionType,clipPadding:!1,clipChildren:!1,ref:"listSection",focusScrollTarget:"${isFocusScrollTarget==true}",class:"tab-list-section-root-css",scrollOverride:"${scrollOverride}",onItemClick:e.onItemClick,onItemBind:e.onItemBind,onItemUnbind:e.onItemRecycled,onItemFocused:e.onItemFocused},{default:p((()=>[I("div",zo,[m(r,{class:"tab-list-section-title-text-css",postDelay:300,autoWidth:"",autoHeight:"",flexStyle:"${titleStyle}",focusable:!1,textSize:"${titleStyle.fontSize}",text:"${title}"}),Go,m(f,{list:"${itemList}",horizontal:"",clipChildren:!1,focusable:!1,class:"tab-list-section-list-css",name:"QUICKTVUI_WARTERFALL_LIST",resetOnDetach:!0,enableKeepFocus:"${enableKeepFocus==true}",endHintEnabled:"${enableEndHit}",onScrollEnable:!1,setSelectChildPosition:0,enablePlaceholder:e.enablePlaceholder,cachePoolName:"HorizontalList",blockFocusDirections:e.blockDirections},{default:p((()=>[m(d,{type:e.standItemType},null,8,["type"]),I("div",{type:e.tabItemType,class:"qt-ui-section-tab-list-item",clipChildren:!1,flexStyle:"${style}",style:{"padding-left":"24px","padding-right":"23px","justify-content":"center",height:"50px"},autoWidth:"",name:"QUICKTVUI_TAB_2",focusable:!0,eventClick:"",eventFocus:""},[m(r,{class:"qt-ui-section-tab-list-item-text",autoWidth:"",flexStyle:"${textStyle}",gravity:"center",fontSize:36,lines:1,focusable:!1,duplicateParentState:!0,style:{height:"50px"},text:"${text}"})],8,Yo),o(e.$slots,"default")])),_:3},8,["enablePlaceholder","blockFocusDirections"])])])),_:3},8,["type","onItemClick","onItemBind","onItemUnbind","onItemFocused"])},Qo.__scopeId="data-v-6aa2cfd4",Qo.__file="src/waterfall/section/list-section.vue";var qo=pn({name:"loading-section"});const Ho={focusable:!1,type:-1,keyName:"_id",class:"loading-section-css",gradientBackground:"${style.gradientBackground}"};qo.render=function(e,o,i,l,c,s){const u=a("qt-loading-view");return t(),n("div",Ho,[m(u,{class:"loading-section-loading-css"})])},qo.__scopeId="data-v-48609f24",qo.__file="src/waterfall/section/loading-section.vue";var jo=pn({name:"end-section",setup:()=>({})});const Ko={keyName:"_id",type:-1001,focusable:!1,flexStyle:"${style}",gradientBackground:"${style.gradientBackground}",class:"qt-waterfall-end-section-css"};jo.render=function(e,o,i,l,c,s){const u=a("text-view");return t(),n("div",Ko,[m(u,{focusable:!1,gravity:"center",flexStyle:"${titleStyle}",class:"qt-waterfall-end-section-text-css",textSize:"${titleStyle.fontSize}",text:"${title}"})])},jo.__scopeId="data-v-70b82c43",jo.__file="src/waterfall/section/end-section.vue";var Xo=pn({props:{plateTitleLeftMargin:{type:Number,default:0},type:{type:Number,default:wo.QT_WATERFALL_SECTION_TYPE_TITLE}},setup:(e,t)=>({})});const Jo=["type"];Xo.render=function(e,o,i,l,s,u){const r=a("text-view");return t(),n("div",{class:"section-title-css",blockFocusDirections:["left","right"],clipChildren:!1,clipPadding:!1,type:e.type,keyName:"_id",focusable:!1,bringFocusChildToFront:!0,useAdvancedFocusSearch:!0},[m(r,{class:"section-title-text-css",postDelay:300,style:c({marginLeft:e.plateTitleLeftMargin+"px"}),focusable:!1,textSize:"${titleStyle.fontSize}",text:"${title}"},null,8,["style"])],8,Jo)},Xo.__scopeId="data-v-20428d40",Xo.__file="src/waterfall/section/section-title.vue";var Zo=pn({name:"blank-section",setup:()=>({})});const ea={focusable:!1,type:-1e3,keyName:"_id",flexStyle:"${style}",gradientBackground:"${style.gradientBackground}",class:"qt-ui-waterfall-blank-section"};Zo.render=function(e,o,a,i,l,c){return t(),n("div",ea)},Zo.__scopeId="data-v-eeab4d88",Zo.__file="src/waterfall/section/blank-section.vue";var ta=pn({name:"card-section",setup(e,t){const n=U();return{onFocus:function(e){n.isLoggable(x.DEBUG)&&n.d("card-section","------onFocus---------\x3e>>>",e),t.emit("focus",e)}}}});const na={type:1006,class:"qt-ui-waterfall-card-section-css",clipChildren:!1,clipPadding:!1,focusScrollTarget:"${isFocusScrollTarget==true}",keyName:"_id",flexStyle:"${style}",scrollOverride:"${scrollOverride}",gradientBackground:"${style.gradientBackground}",bringFocusChildToFront:!0,useAdvancedFocusSearch:!0};ta.render=function(e,o,i,l,c,s){const u=a("text-view"),r=a("es-card-container");return t(),n("div",na,[m(u,{class:"qt-ui-waterfall-card-section-title-css",postDelay:300,flexStyle:"${titleStyle}",focusable:!1,textSize:"${titleStyle.fontSize}",text:"${title}"}),m(r,{cardId:"${cardId}",onFocus:e.onFocus,clipChildren:!1,clipPadding:!1,autoRecycle:!0,focusScale:"${cardPlaceHolder.focusScale}",focusable:"${cardPlaceHolder.focusable}",showPlaceHolder:"${cardPlaceHolder.enable}",placeHolderRadius:"${cardPlaceHolder.radius}",placeHolderRect:"${cardPlaceHolder.rect}",flexStyle:"${cardStyle}",class:"qt-ui-waterfall-card-section"},null,8,["onFocus"])])},ta.__scopeId="data-v-43a44788",ta.__file="src/waterfall/section/card-section.vue";var oa,aa=pn({name:"vue-section",props:{blockFocusDirections:{type:Array,default:()=>["left","right"]}},setup:(e,t)=>({onSectionBind:function(){}})});function ia(e,t){const n=[];if(t&&t.length>0)for(let o=0;o<t.length;o++){let a=la(e,t[o]);n.push(a)}return n}function la(e,t){let n=0;return t.itemList.length>0&&t.type==wo.QT_WATERFALL_SECTION_TYPE_FLEX&&(n=function(e){const t=e.itemList,n=e.style?.spacing??0,o=e.titleStyle,a=o?.height??0;const i=o?.marginTop??0,l=o?.marginBottom??0;const c=o?.paddingTop??0,s=o?.paddingBottom??0;let u=e.style.height??0,r=e.style.width??0;e.decoration;let d=0,f=0,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>r&&(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>u&&(u=o.layout[1]+i+s),i+l+s>p&&(p=i+l+s),d+=a+n+t+c}}return u+a+i+l+c+s}(t),t.style.height=n),t}function ca(){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=[]}}}aa.render=function(e,n,l,c,s,u){const r=a("tv-item");return t(),i(r,{class:"qt-ui-waterfall-vue-section",type:1007,keyName:"_id",blockFocusDirections:e.blockFocusDirections,clipChildren:!1,clipPadding:!1,focusScrollTarget:"${isFocusScrollTarget==true}",flexStyle:"${style}",scrollOverride:"${scrollOverride}",singleton:"",onItemBind:e.onSectionBind},{default:p((()=>[o(e.$slots,"default")])),_:3},8,["blockFocusDirections","onItemBind"])},aa.__scopeId="data-v-f8447724",aa.__file="src/waterfall/section/vue-section.vue",function(e){e.QT_WATERFALL_VISIBLE_TYPE_NONE="none",e.QT_WATERFALL_VISIBLE_TYPE_NORMAL="normal",e.QT_WATERFALL_VISIBLE_TYPE_CENTER="center"}(oa||(oa={}));const sa="qt-waterfall";var ua,ra,da=pn({name:"qt-waterfall",emits:["onScroll","onScrollStateChanged","onItemClick","onItemFocused","onSectionBind","onSectionAttached","onSectionDetached"],props:{enablePlaceholder:{type:Boolean,default:!0},blockFocusDirections:{type:Array,default:()=>["down"]},vueSectionBlockFocusDirections:{type:Array,default:()=>["left","right"]}},setup(t,n){const o=U(),a={name:"tvList"+Date.now(),size:{20008:10}},i=e(oa.QT_WATERFALL_VISIBLE_TYPE_CENTER),l=e();let c;const s=ca();return{waterfallRef:l,visibleType:i,init:function(e){c=e,e.visibleType&&(i.value=e.visibleType)},setAutoFocus:function(e,t){l.value?.setAutoFocus(e,t)},getSectionList:function(){return s.getSectionList()},setSectionList:function(e){if(!c)return;o.isLoggable(x.DEBUG)&&o.d(sa,"-------1---setSectionList--------------\x3e>>"),s.destroy();const t=s.addSectionList(e);o.isLoggable(x.DEBUG)&&o.d(sa,"-------2---setSectionList--------------\x3e>>",t);const n=ia(c,e);o.isLoggable(x.DEBUG)&&o.d(sa,"----------setSectionList-----最终数据---------\x3e>>",n),l.value?.setListData(n)},addSectionList:function(e){if(!c)return;s.addSectionList(e);const t=ia(c,e);o.isLoggable(x.DEBUG)&&o.d(sa,"----------addSectionList-----最终数据---------\x3e>>",t),l.value?.addListData(t)},deleteSection:function(e,t){const n=s.deleteSection(e,t);o.isLoggable(x.DEBUG)&&o.d(sa,"----------deleteSection-----最终数据---------\x3e>>",n),l.value?.deleteItem(e,t)},updateSection:function(e,t){s.updateSection(e,t);const n=la(0,t);o.isLoggable(x.DEBUG)&&o.d(sa,"----------updateSection-----最终数据---------\x3e>>sectionIndex:",e,"updateSection:",n),l.value?.updateItem(e,n)},updateSectionList:function(e,t,n){const o=[];for(let t=0;t<n.length;t++){const a=n[t];s.updateSection(e+t,a);const i=la(0,a);i&&o.push(i)}l.value?.updateItemList(e,t,o)},getSection:function(e){return s.getSection(e)},addItemList:function(e,t){s.addItemList(e,t);const n=s.getSection(e);if(n){const t=la(0,n);l.value?.updateItem(e,t)}},deleteItem:function(e,t,n){s.deleteItem(e,t,n);const o=s.getSection(e);if(o){const t=la(0,o);l.value?.updateItem(e,t)}},updateItem:function(e,t,n){s.updateItem(e,t,n);const o=s.getSection(e);if(o){const t=la(0,o);l.value?.updateItem(e,t)}},updateItemList:function(e,t,n,o){s.updateItemList(e,t,n,o);const a=s.getSection(e);if(a){const t=la(0,a);l.value?.updateItem(e,t)}},getItem:function(e,t){return s.getItem(e,t)},cachePool:a,flexCachePool:{name:"tvFlex",size:{1:50}},onScroll:function(e){e.stopPropagation();let t=e.offsetX,o=e.offsetY;n.emit("onScroll",t,o)},onItemClick:function(e){o.isLoggable(x.DEBUG)&&o.d(sa,"----------onItemClick--------------\x3e>>",e,"sectionIndex:"+e.parentPosition+" position:"+e.position+" "),n.emit("onItemClick",e.parentPosition,e.position,e.item)},onItemFocused:function(e){o.isLoggable(x.DEBUG)&&o.d(sa,"----------onItemFocused--------------\x3e>>",e,"sectionIndex:"+e.parentPosition+" position:"+e.position+" isFocused:"+e.isFocused+" "),n.emit("onItemFocused",e.parentPosition,e.position,e.isFocused,e.item)},onSectionBind:function(e){if(e){o.isLoggable(x.DEBUG)&&o.d(sa,"----------onSectionBind--------------\x3e>>",e);let t=e.pageIndex??-1;n.emit("onSectionBind",t,e.position)}},onSectionAttached:function(e){if(e){o.isLoggable(x.DEBUG)&&o.d(sa,"----------onSectionAttached--------------\x3e>>",e);let t=e.pageIndex??0;n.emit("onSectionAttached",t,e.position)}},onSectionDetached:function(e){if(e){o.isLoggable(x.DEBUG)&&o.d(sa,"----------onSectionDetached--------------\x3e>>",e);let t=e.pageIndex??0;n.emit("onSectionDetached",t,e.position)}},onScrollStateChanged:function(e){let t=e.offsetY,o=e.offsetX,a=e.newState,i=e.oldState;n.emit("onScrollStateChanged",o,t,a,i)},resumePostTask:function(){l.value?.pausePostTask()},pausePostTask:function(){l.value?.pausePostTask()},clearPostTask:function(){l.value?.clearPostTask()},destroy:function(){l.value?.destroy()},scrollToTop:function(){l.value?.scrollToTop()},setListData:function(e){l.value?.setListData(e)}}},components:{"flex-section":Mo,"list-section":Qo,"section-title":Xo,"loading-section":qo,"end-section":jo,"blank-section":Zo,"card-section":ta,"vue-section":aa}});function fa(){const e=new Map,t=new Map;function n(n){const o={index:n,state:ua.QT_TAB_PAGE_STATE_INIT,sectionBindIndex:-1};e.set(n,o),t.set(n,[])}function o(e,n){const o=t.get(e)??[];if(!(n<0||n>=o.length||0==o.length))return o[n]}function a(e){return e.itemList.length}function i(e,t,n){const o=e.length;if(t<0||t>=o)return 0;let i=t+n;t+n>o&&(i=o),console.log("----3--------getRangeSectionListItemCount-----------------\x3e>>>");let l=0;for(let n=t;n<i;n++){l+=a(e[n])}return l}function l(){console.log("--------dumpTabWaterfallData---------\x3e>>>",t)}return{initTab:function(e){const t=e.itemList;for(let e=0;e<t.length;e++)n(e)},initTabPageData:n,getTabPageDataState:function(t){return e.get(t)},setPageDataState:function(t,n){e.set(t,n)},setSectionState:function(e,t,n){const a=o(e,t);a&&(a.state=n,a.sectionIndex=t)},getSectionListByState:function(e,n){return(t.get(e)??[]).filter((e=>e.state==n))},getSectionList:function(e){return t.get(e)??[]},addSectionList:function(n,o){const c=t.get(n)??[],s=c.length,u=i(c,0,s),r=function(e){if(e.length<=0)return 0;let t=0;for(let n=0;n<e.length;n++){t+=a(e[n])}return t}(o);c.push(...o);const d=e.get(n);return d&&d.state!=ua.QT_TAB_PAGE_STATE_COMPLETE&&(d.state=ua.QT_TAB_PAGE_STATE_IDLE),l(),{pageIndex:n,sectionIndex:s,sectionCount:o.length,itemIndex:u,itemCount:r}},deleteSection:function(e,n,o){const a=t.get(e)??[],c=i(a,0,n-1),s=i(a,n,o);return a.splice(n,o),l(),{pageIndex:e,sectionIndex:n,sectionCount:o,itemIndex:c,itemCount:s}},updateSection:function(e,n,o){const c=t.get(e)??[],s=i(c,0,n-1),u=a(o);return c.splice(n,1,o),l(),{pageIndex:e,sectionIndex:n,sectionCount:1,itemIndex:s,itemCount:u}},updateSectionList:function(e,n){return t.set(e,n),l(),{pageIndex:e,sectionIndex:0,sectionCount:n.length,itemIndex:-1,itemCount:-1}},getSection:o,addItemList:function(e,n,o){const a=t.get(e)??[],i=a.length;if(n<0||n>=i||o.length<=0)return{pageIndex:e,sectionIndex:-1,sectionCount:0,itemIndex:-1,itemCount:0};const c=a[n],s=c.itemList.length;return c.itemList.push(...o),l(),{pageIndex:e,sectionIndex:n,sectionCount:1,itemIndex:s,itemCount:o.length}},deleteItem:function(e,n,o,a){return(t.get(e)??[])[n].itemList.splice(o,a),l(),{pageIndex:e,sectionIndex:n,sectionCount:1,itemIndex:o,itemCount:a}},updateItem:function(e,n,o,a){return(t.get(e)??[])[n].itemList.splice(o,1,a),l(),{pageIndex:e,sectionIndex:n,sectionCount:1,itemIndex:o,itemCount:1}},updateItemList:function(e,n,o,a,i){return(t.get(e)??[])[n].itemList.splice(o,a,...i),l(),{pageIndex:e,sectionIndex:n,sectionCount:1,itemIndex:o,itemCount:a}},getItem:function(e,n,o){const a=(t.get(e)??[])[n];if(a&&a.itemList.length>0&&o>=0&&o<a.itemList.length){return a.itemList[o]}},destroy:function(){t.clear()}}}da.render=function(e,n,l,c,s,r){const d=a("flex-section"),f=a("list-section"),g=a("loading-section"),I=a("end-section"),T=a("blank-section"),v=a("card-section"),h=a("vue-section"),_=a("tv-list");return t(),i(_,{ref:"waterfallRef",class:"qt-waterfall-root-css",keyName:"_id",clipChildren:!1,clipPadding:!1,listenBoundEvent:!0,negativeKeyTime:"30",postContentDelay:"500",onScroll:e.onScroll,onItemClick:e.onItemClick,onItemFocused:e.onItemFocused,onItemBind:e.onSectionBind,onItemAttached:e.onSectionAttached,onItemDetached:e.onSectionDetached,focusMemory:!1,cachePool:e.cachePool,preload:1,checkScrollOffsetOnStateChanged:!0,makeChildVisibleType:e.visibleType,scrollThresholdVertical:50,scrollEventThrottle:16,enableSelectOnFocus:!1,advancedFocusSearchSpan:"1",scrollYLesserReferenceValue:30,scrollYGreaterReferenceValue:30,shakePreCheckNumber:"4",blockFocusDirections:e.blockFocusDirections,onScrollStateChanged:e.onScrollStateChanged},{default:p((()=>[u(" 普通版块"),m(d,{"cache-pool":e.flexCachePool,enablePlaceholder:e.enablePlaceholder,onFocus:e.onItemFocused},{default:p((()=>[o(e.$slots,"item")])),_:3},8,["cache-pool","enablePlaceholder","onFocus"]),u("一行滚动 多级tab"),m(f,{enablePlaceholder:e.enablePlaceholder},{default:p((()=>[o(e.$slots,"list-item")])),_:3},8,["enablePlaceholder"]),u(" loading"),m(g),u(" end "),m(I),u(" blank "),m(T),u(" card "),m(v,{onFocus:e.onItemFocused},null,8,["onFocus"]),u(" vue "),m(h,{"block-focus-directions":e.vueSectionBlockFocusDirections},{default:p((()=>[o(e.$slots,"vue-section")])),_:3},8,["block-focus-directions"]),o(e.$slots,"section")])),_:3},8,["onScroll","onItemClick","onItemFocused","onItemBind","onItemAttached","onItemDetached","cachePool","makeChildVisibleType","blockFocusDirections","onScrollStateChanged"])},da.__file="src/waterfall/index.vue",function(e){e[e.QT_TAB_PAGE_STATE_INIT=-1]="QT_TAB_PAGE_STATE_INIT",e[e.QT_TAB_PAGE_STATE_IDLE=0]="QT_TAB_PAGE_STATE_IDLE",e[e.QT_TAB_PAGE_STATE_BUSY=1]="QT_TAB_PAGE_STATE_BUSY",e[e.QT_TAB_PAGE_STATE_COMPLETE=2]="QT_TAB_PAGE_STATE_COMPLETE",e[e.QT_TAB_PAGE_STATE_ERROR=3]="QT_TAB_PAGE_STATE_ERROR"}(ua||(ua={})),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"}(ra||(ra={}));const pa="qt-tabs";var ga=pn({name:"qt-tabs",emits:["onTabPageLoadData","onTabPageChanged","onTabEvent","onTabPageItemClick","onTabPageItemFocused","onTabPageSectionAttached","onTabPageScroll","onTabPageScrollStateChanged","onTabMoveToTopStart","onTabMoveToTopEnd","onTabMoveToBottomStart","onTabMoveToBottomEnd","onTabChanged","onTabPageScrollToEnd","onTabPageScrollToStart","onTabClick"],props:{enablePlaceholder:{type:Boolean,default:!0},preloadNumber:{type:Number,default:3},tabNavBarClass:{type:String,default:""},tabClass:{type:String,default:""},tabsDataStrategy:{type:String,default:"overTime"},tabPageClass:{type:String,default:""},horizontal:{type:Boolean,default:!0},pageTransform:{type:Boolean,default:!0},hideOnSingleTab:{type:Boolean,default:!0},floatNavBar:{type:Boolean,default:!0},useNavBarBg:{type:Boolean,default:!0},contentNextFocus:{type:Object,default:()=>({up:"tabList",left:"tabList"})},triggerTask:{type:Array,default:()=>[]},blockViewPager:{type:Array,default:()=>[]},blockViewPagerVertical:{type:Array,default:()=>[]},tabContentBlockFocusDirections:{type:Array,default:()=>["down"]},tabContentResumeDelay:{type:Number,default: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,n){const o=e();e();const a=e(!0),i=e(1),l=U(),c=e(),s=fa();let u,r=[],d=-1,f=-1,p=-1;function g(e,t){const n=s.getTabPageDataState(e);n&&(n.state=t,s.setPageDataState(e,n))}function m(e){l.isLoggable(x.DEBUG)&&l.d(pa,"----设置数据---setPageStateReset->>>>pageIndex:"+e);const t=s.getTabPageDataState(e);t&&(t.state=ua.QT_TAB_PAGE_STATE_INIT,t.sectionBindIndex=-1,s.setPageDataState(e,t));const n=s.getSectionList(e);s.deleteSection(e,0,n.length-1),function(e){if(e<0||e>r.length)return;const t=r[e];t.__pageNo=0}(e)}function I(e){l.isLoggable(x.DEBUG)&&l.d(pa,"----设置数据---setPageStateRecycled->>>>pageIndex:"+e);const t=s.getTabPageDataState(e);t&&(t.sectionBindIndex=0,t.state=ua.QT_TAB_PAGE_STATE_IDLE,s.setPageDataState(e,t));const n=s.getSectionList(e);s.deleteSection(e,1,n.length-1),function(e,t){if(e<0||e>r.length)return;const n=r[e];n.__pageNo=t}(e,1)}function T(e){if(e<0||e>r.length)return 0;const t=r[e];return null==t.__pageNo&&(t.__pageNo=0),t.__pageNo}function v(e){if(e<0||e>r.length)return;const t=r[e];null!=t.__pageNo?t.__pageNo=t.__pageNo+1:t.__pageNo=1}function h(e,o,a){let i=T(e),c=s.getTabPageDataState(e);if(!c||c.state!==ua.QT_TAB_PAGE_STATE_IDLE&&c.state!==ua.QT_TAB_PAGE_STATE_INIT)l.isLoggable(x.DEBUG)&&l.d(pa,"------设置数据----loadPageData--状态不对--\x3e>>>",e);else{const c=s.getSectionList(e);a>=c.length-t.preloadNumber-1?(l.isLoggable(x.DEBUG)&&l.d(pa,"---------设置数据-----加载更多数据-----\x3e>>> pageIndex:"+e+" pageNo:"+i+" sectionIndex:"+a+" sectionListLength:"+c.length),g(e,ua.QT_TAB_PAGE_STATE_BUSY),n.emit("onTabPageLoadData",e,i,o)):l.isLoggable(x.DEBUG)&&l.d(pa,"----设置数据------loadPageData--preloadNumber错误--\x3e>>>",e)}}function _(){clearTimeout(p),p=setTimeout((()=>{const e=s.getSectionListByState(d,ra.QT_LIST_VIEW_ITEM_STATE_ATTACHED);(e?e.length:0)>0&&(e.forEach((e=>{l.isLoggable(x.DEBUG)&&l.d(pa,"----------notifyTabContentSectionAttached------\x3e>>> pageIndex"+d+" sectionIndex:",e.sectionIndex)})),n.emit("onTabPageSectionAttached",d,e))}),100)}function F(e,t){l.isLoggable(x.DEBUG)&&l.d(pa,"----------onWaterfallScroll----\x3e>>> offsetX:"+e+" scrollY:"+t),n.emit("onTabPageScroll",e,t)}function S(e,t,o){l.isLoggable(x.DEBUG)&&l.d(pa,"----------onWaterfallScrollStateChanged----\x3e>>> offsetX:"+e+" scrollY:"+t+" newState:"+o),n.emit("onTabPageScrollStateChanged",e,t,o)}return{tabs:o,ifTabs:a,navBarRef:c,initTab:function(e){let t={defaultIndex:e.defaultIndex,focusIndex:e.defaultFocusIndex,data:e.itemList};r=e.itemList,s.initTab(e),o.value?.setTabsData(t)},setAutoFocus:function(e,t){o.value?.setAutoFocus(e,t)},initPage:function(e){u=e},setPageState:g,setPageData:function(e,t){l.isLoggable(x.DEBUG)&&l.d(pa,"----------loadPageData----setPageData--\x3e>>>pageIndex:"+e),s.addSectionList(e,t.data);const n={data:ia(u,t.data),disableScrollOnFirstScreen:t.disableScrollOnFirstScreen??!1,firstFocusTargetID:t.firstFocusTargetID??"",useDiff:t.useDiff};l.isLoggable(x.DEBUG)&&l.d(pa,"---------设置数据-----setPageData------\x3e>>> pageIndex:"+e+" data:",n),v(e),o.value?.setPageData(e,n)},addPageData:function(e,t,n=0){s.addSectionList(e,t.data);const a={data:ia(u,t.data),disableScrollOnFirstScreen:t.disableScrollOnFirstScreen??!1,firstFocusTargetID:t.firstFocusTargetID??"",useDiff:t.useDiff};try{const t=T(e);0==t?(l.isLoggable(x.DEBUG)&&l.d(pa,"---------设置数据------setPageData---\x3e>>> pageIndex:"+e+" pageNo:"+t+" data:",a," deleteCount:"+n),o.value?.setPageData(e,a)):(l.isLoggable(x.DEBUG)&&l.d(pa,"---------设置数据------addPageData---\x3e>>> pageIndex:"+e+" pageNo:"+t+" data:",a," deleteCount:"+n),o.value?.addPageData(e,a,n))}catch(e){}v(e)},updatePageData:function(e,t){s.updateSectionList(e,t.data);const n={data:ia(u,t.data),disableScrollOnFirstScreen:t.disableScrollOnFirstScreen??!1,firstFocusTargetID:t.firstFocusTargetID??"",useDiff:t.useDiff};o.value?.updatePageData(e,n)},updatePageSection:function(e,t,n){s.updateSection(e,t,n);const a=la(0,n);o.value?.updateRootNode(e,t,a)},getPageSection:function(e,t){return s.getSection(e,t)},getPageSectionList:function(e){return s.getSectionList(e)},deletePageSection:function(e,t,n){s.deleteSection(e,t,n),o.value?.invokeContentFunction(e,"deleteItemRange",[t,n])},addPageItemList:function(e,t,n){s.addItemList(e,t,n);const a=s.getSection(e,t);if(a){const n=la(0,a);o.value?.updateRootNode(e,t,n)}},getPageItem:function(e,t,n){return s.getItem(e,t,n)},updatePageItem:function(e,t,n,a){s.updateItem(e,t,n,a),o.value?.updateChildNode(e,t,n,a)},deletePageItem:function(e,t,n,a){s.deleteItem(e,t,n,a);const i=s.getSection(e,t);if(i){const n=la(0,i);o.value?.updateRootNode(e,t,n)}},blockRootFocus:function(){o.value?.blockRootFocus()},unBlockRootFocus:function(){o.value?.unBlockRootFocus()},focusBackToTop:function(){o.value?.focusBackToTop()},requestNodeFocus:function(e){o.value?.requestNodeFocus(e)},reloadAll:function(e=!0){o.value?.reloadAll(e)},reloadPage:function(e){o.value?.reloadPage(e)},setCurrentPage:function(e){o.value?.setCurrentPage(e)},requestTabFocus:function(e){o.value?.requestTabFocus(e)},invokeContentFunction:function(e,t,n){o.value?.invokeContentFunction(e,t,n)},invokeContentFunctionDirect:function(e,t){o.value?.invokeContentFunctionDirect(e,t)},contentScrollToFocus:function(e){o.value?.contentScrollToFocus(e)},getRootNodeViewState:function(e,t,n){o.value?.getRootNodeViewState(e,t,n)},getChildNodeViewState:function(e,t,n,a,i){o.value?.getChildNodeViewState(e,t,n,a,i)},dispatchUIFunctionOnChildNode:function(e,t,n,a,i){o.value?.dispatchUIFunctionOnChildNode(e,t,n,a,i)},updateItemMatched:function(e="id",t,n){o.value?.updateItemMatched(e,t,n)},updateRootNode:function(e,t,n){o.value?.updateRootNode(e,t,n)},updateChildNode:function(e,t,n,a){o.value?.updateChildNode(e,t,n,a)},destroy:function(){o.value?.destroy()},translationLeft:function(){o.value?.translationLeft()},translationRight:function(){o.value?.translationRight()},rootOpacity:i,onTabPageLoadData:function(e){const t=e.pageIndex,n=e.useDiff;l.isLoggable(x.DEBUG)&&l.d(pa,"----------设置数据----onTabPageLoadData--\x3e>>>pageIndex:"+t),m(t),h(t,n,0)},onTabPageChanged:function(e){const t=e.pageIndex;if(d==t)return;f=d,-1==f&&(f=t),d=t;for(let e=0;e<r.length;e++){const n=s.getTabPageDataState(e);e!=t&&e!=f&&n&&n.state!=ua.QT_TAB_PAGE_STATE_INIT&&I(e)}const o=e.data;n.emit("onTabPageChanged",t,o);const a=s.getTabPageDataState(t);a&&a.sectionBindIndex>=-1&&h(t,!1,a.sectionBindIndex),_()},onTabEvent:function(e){const t=e.params,o=e.eventName,a=e.params.itemPosition,i=e.params.x,c=e.params.y,s=e.params.contentOffset,u=e.params.state;switch(l.isLoggable(x.DEBUG)&&l.d(pa,"----------onTabEvent------\x3e>>> eventName:"+o+" tabIndex:"+a+" params:",t),n.emit("onTabEvent",a,o,t),o){case"onMoveToTopStart":n.emit("onTabMoveToTopStart",a,o,t);break;case"onMoveToTopEnd":n.emit("onTabMoveToTopEnd",a,o,t);break;case"onMoveToBottomStart":n.emit("onTabMoveToBottomStart",a,o,t);break;case"onMoveToBottomEnd":n.emit("onTabMoveToBottomEnd",a,o,t);break;case"onTabChanged":n.emit("onTabChanged",a,o,t);break;case"onScroll":F(i,c);break;case"onScrollStateChanged":S(s.x,s.y,u.newState)}},onWaterfallItemClick:function(e,t,o){l.isLoggable(x.DEBUG)&&l.d(pa,"-----------onWaterfallItemClick---------------\x3e>>> sectionIndex:"+e+" itemIndex:"+t+" item:",o),n.emit("onTabPageItemClick",d,e,t,o)},onWaterfallItemFocused:function(e,t,o,a){l.isLoggable(x.DEBUG)&&l.d(pa,"-----------onWaterfallItemFocused---------------\x3e>>> sectionIndex:"+e+" itemIndex:"+t+" isFocused:"+o+" item:",a),n.emit("onTabPageItemFocused",d,e,t,o,a)},onWaterfallSectionBind:function(e,t){e<0||(l.isLoggable(x.DEBUG)&&l.d(pa,"---------设置数据-----绑定回调----\x3e>>> pageIndex:"+e+" sectionIndex:"+t),function(e,t){const n=s.getTabPageDataState(e);n&&(n.sectionBindIndex=t,s.setPageDataState(e,n))}(e,t),e===d&&(l.isLoggable(x.DEBUG)&&l.d(pa,"----------loadPageData----bind--\x3e>>>pageIndex:"+e),h(e,!1,t)))},onWaterfallSectionAttached:function(e,t){l.isLoggable(x.DEBUG)&&l.d(pa,"-----------onWaterfallSectionAttached---------------\x3e>>> pageIndex:"+e+" sectionIndex:"+t),s.setSectionState(e,t,ra.QT_LIST_VIEW_ITEM_STATE_ATTACHED),e==d&&_()},onWaterfallSectionDetached:function(e,t){l.isLoggable(x.DEBUG)&&l.d(pa,"-----------onWaterfallSectionDetached---------------\x3e>>> pageIndex:"+e+" sectionIndex:"+t),s.setSectionState(e,t,ra.QT_LIST_VIEW_ITEM_STATE_DETACHED)},onWaterfallScroll:F,onWaterfallScrollStateChanged:S,onTabPageScrollToStart:function(e){const t=e.pageIndex;n.emit("onTabPageScrollToStart",t),l.isLoggable(x.DEBUG)&&l.d(pa,"----------onTabPageScrollToStart------\x3e>>> pageIndex:"+t)},onTabPageScrollToEnd:function(e){const t=e.pageIndex;n.emit("onTabPageScrollToEnd",t),l.isLoggable(x.DEBUG)&&l.d(pa,"----------onTabPageScrollToEnd------\x3e>>> pageIndex:"+t)},onTabChange:function(e){},onTabClick:function(e){n.emit("onTabClick",e)},getCurrentPageIndex:function(){return d}}}});ga.render=function(e,n,l,c,r,d){const f=a("qt-nav-bar"),g=a("qt-waterfall"),I=a("recycler-view-pager"),T=a("tabs");return e.ifTabs?(t(),i(T,{key:0,ref:"tabs",class:s(["tabs-root-css",e.tabClass]),dataStrategy:e.tabsDataStrategy,hideOnSingleTab:e.hideOnSingleTab,pageSwitchDelay:e.tabContentSwitchDelay,resumeTaskDelay:e.tabContentResumeDelay,suspension:e.floatNavBar,useSuspensionBg:e.useNavBarBg,clipChildren:!1,outOfDateTime:e.outOfDateTime,blockFocusDirections:e.tabContentBlockFocusDirections,onScrollToStart:e.onTabPageScrollToStart,onScrollToEnd:e.onTabPageScrollToEnd,onLoadPage:e.onTabPageLoadData,onPageChanged:e.onTabPageChanged,onTabEvent:e.onTabEvent},{default:p((()=>[m(f,{ref:"navBarRef",name:"tabList",focusable:!1,class:s(e.tabNavBarClass),"text-key":"text",onTabFocus:e.onTabChange,onTabClick:e.onTabClick,clipChldren:!1,horizontal:e.horizontal},{default:p((()=>[o(e.$slots,"tab-item")])),_:3},8,["class","onTabFocus","onTabClick","horizontal"]),m(I,{nextFocusName:e.contentNextFocus,ref:"viewPager",class:s(e.tabPageClass),name:"content",loadingItemType:-1,clipChldren:!1,opacity:e.rootOpacity,focusable:!1,enableTransform:e.pageTransform,slidingEnable:e.slidingEnable,slidingMode:e.slidingMode,initTranslation:e.initTranslation,rightTranslation:e.rightTranslation,leftTranslation:e.leftTranslation,duration:e.duration,interpolatorType:e.interpolatorType,triggerTask:e.triggerTask,direction:e.horizontal?"horizontal":"vertical",blockFocusDirections:e.horizontal?e.blockViewPager:e.blockViewPagerVertical},{default:p((()=>[m(g,{keyName:"_id",endHintEnabled:e.endHintEnabled,enablePlaceholder:e.enablePlaceholder,onOnScrollStateChanged:e.onWaterfallScrollStateChanged,onOnScroll:e.onWaterfallScroll,onOnSectionBind:e.onWaterfallSectionBind,onOnSectionAttached:e.onWaterfallSectionAttached,onOnSectionDetached:e.onWaterfallSectionDetached,onOnItemFocused:e.onWaterfallItemFocused,onOnItemClick:e.onWaterfallItemClick},{item:p((()=>[o(e.$slots,"waterfall-item")])),"list-item":p((()=>[o(e.$slots,"waterfall-list-item")])),section:p((()=>[o(e.$slots,"waterfall-section")])),"vue-section":p((()=>[o(e.$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","useSuspensionBg","outOfDateTime","class","blockFocusDirections","onScrollToStart","onScrollToEnd","onLoadPage","onPageChanged","onTabEvent"])):u("v-if",!0)},ga.__file="src/tab/index.vue";var ma=pn({name:"qt-vue-section",setup:(e,t)=>({onSectionBind:function(){}})});ma.render=function(e,n,l,c,s,u){const r=a("tv-item");return t(),i(r,{class:"qt-ui-waterfall-vue-section",clipChildren:!1,clipPadding:!1,flexStyle:"${style}",singleton:"",onItemBind:e.onSectionBind},{default:p((()=>[o(e.$slots,"default")])),_:3},8,["onItemBind"])},ma.__scopeId="data-v-d02af3c2",ma.__file="src/section/index.vue";var Ia=pn({name:"qt-classified-list-view",props:{className:{type:String,default:"content_list_view"},classNavName:{type:String,default:"nav_list_view"},currentFocusIndex:{type:Number,default:0},focusScale:{type:Number,default:1.15},navType:{type:Number,default:10001},yOffest:{type:Number,default:802}},emits:["item-click","item-focused"],setup(t,n){let o=e(1);const a=e(),i=e();let l=[],c=-1,s=-1,u=[];let r=-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})),u=e})),Yt((()=>{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(r),r=setTimeout((()=>{if(e.hasFocus){if(c!=e.position){if(c>-1){let e=u[c];e.isPlaying=!1,a.value?.updateItem(c,e)}let t=u[e.position];t.isPlaying=!0,a.value?.updateItem(e.position,t)}c=e.position,s!=e.item.navIndex&&(s=e.item.navIndex,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,u[e.item.startIndex].isNeedFocus?(a.value?.scrollToIndex(e.item.startIndex,!0,t.yOffest),f=setTimeout((()=>{a.value?.setItemSelected(e.item.startIndex,!0),d=setTimeout((()=>{o.value=1}),200)}),400)):(a.value?.scrollToIndex(e.item.startIndex+1,!0,t.yOffest),f=setTimeout((()=>{a.value?.setItemSelected(e.item.startIndex+1,!0),d=setTimeout((()=>{o.value=1}),200)}),400)))},updateItem:(e,t)=>{u[e]=t,u.forEach(((e,t)=>{e.mask||(e.mask="http://qcloudcdn.a311.ottcn.com/channelzero_image/web_static/extend_screen/mood/mask.png"),e.icon||(e.icon="http://qcloudcdn.a311.ottcn.com/channelzero_image/web_static/extend_screen/mood/playing.png");for(let t=0;t<l.length;t++){const n=l[t];e.categoryname==n.categoryname&&(e.navIndex=t)}})),a.value?.updateItem(e,u[e])}}}});const Ta={focusable:!1,clipChildren:!1},va=["focusScale"],ha=I("img",{class:"coverV",src:"${coverV}",focusable:!1,postDelay:300},null,-1),_a=I("img",{src:"${mask}",class:"titMask",focusable:!1,postDelay:300,showIf:"${isPlaying}"},null,-1),Fa={focusable:!1,class:"clv_item_text_box",showIf:"${isPlaying}"},Sa={class:"playMark",focusable:!1},ba=["type"],Ea=I("div",{class:"line",focusable:!1,showOnState:"selected",duplicateParentState:!0},null,-1),ya=I("div",{duplicateParentState:!0,class:"nav_item_text_focused",showOnState:"focused",focusable:!1,gradientBackground:{colors:["#FF2F7CEB","#FF1163D8"],cornerRadius:40}},null,-1),Pa={class:"nav_item_text",focusable:!1,duplicateParentState:!0};Ia.render=function(e,i,l,r,d,f){const g=a("play-mark"),T=a("text-view"),v=a("qt-list-view");return t(),n("div",Ta,[u(" listview second nav "),m(v,{class:s(e.className),ref:"content_list_view",clipChildren:!1,clipPadding:!1,onItemClick:e.onSItemClick,horizontal:"",blockFocusDirections:["left","right"],descendantFocusability:e.descendantFocusability,onItemFocused:e.onSItemFocused},{default:p((()=>[I("div",{type:10001,name:"clv_item",class:"clv_item",focusable:!0,enableFocusBorder:!0,clipChildren:!1,eventClick:"",eventFocus:"",focusScale:e.focusScale},[ha,_a,I("div",Fa,[I("div",Sa,[m(g,{style:c([{width:"28px",height:"20px"},{"margin-left":"16px"}]),markColor:"#ffffff",gap:-1,focusable:!1})]),m(T,{focusable:!1,ellipsizeMode:2,fontSize:30,gravity:"centerVertical",lines:1,maxLines:1,class:"clv_item_text",text:"${assetTitle}",paddingRect:[6,0,0,0]})])],8,va),o(e.$slots,"item")])),_:3},8,["class","onItemClick","descendantFocusability","onItemFocused"]),u(" listview first nav "),m(v,{class:s(e.classNavName),ref:"nav_list_view",clipChildren:!1,clipPadding:!1,onItemClick:e.onFItemClick,horizontal:"",blockFocusDirections:["left","right"],onItemFocused:e.onFItemFocused},{default:p((()=>[I("div",{type:e.navType,name:"nav_item",class:"nav_item",focusable:!0,enableFocusBorder:!1,focusScale:"1",eventClick:"",eventFocus:"",clipChildren:!1},[Ea,ya,I("div",Pa,[m(T,{focusable:!1,ellipsizeMode:2,duplicateParentState:!0,fontSize:44,gravity:"center",lines:1,class:"text_selected",text:"${categoryname}",showOnState:["selected"]}),m(T,{focusable:!1,ellipsizeMode:2,duplicateParentState:!0,fontSize:44,gravity:"center",lines:1,maxLines:1,class:"text",text:"${categoryname}",showOnState:"focused"}),m(T,{focusable:!1,ellipsizeMode:2,duplicateParentState:!0,fontSize:44,gravity:"center",lines:1,class:"text",text:"${categoryname}",showOnState:["normal"]})])],8,ba),o(e.$slots,"navItem")])),_:3},8,["class","onItemClick","onItemFocused"])])},Ia.__file="src/classified-list-view/index.vue";var Aa=l({name:"media-series-number-item",props:{isVip:{type:Boolean,default:!1}}});const Ra={class:"number-item-container",focusable:!0,focusScale:1},Ua={style:{position:"absolute","flex-direction":"row","justify-content":"center","align-items":"center",width:"160px",height:"80px","background-color":"transparent"},showOnState:"selected",duplicateParentState:!0},xa={class:"media-series-number-item-vip-root",showIf:"${vip.enable}",gradientBackground:{colors:["#FFB67827","#FFDBAF5C"],cornerRadius:4,orientation:6}};Aa.render=function(e,o,i,l,s,u){const r=a("text-view"),d=a("play-mark");return t(),n("div",Ra,[m(r,{duplicateParentState:!0,showOnState:"normal",style:{position:"absolute",width:"160px",height:"80px",color:"rgba(255, 255, 255, .50)"},fontSize:36,gravity:"center",text:"${title}"}),m(r,{duplicateParentState:!0,style:{position:"absolute",width:"160px",height:"80px",color:"rgba(0, 0, 0, 1)"},fontSize:36,gravity:"center",showOnOnlyFocused:"",text:"${title}"}),I("div",Ua,[m(d,{style:{width:"24px",height:"25px"},markColor:e.isVip?"#FFD97C":"#FF4E46"},null,8,["markColor"]),m(r,{duplicateParentState:!0,fontSize:36,gravity:"center",style:c({color:this.isVip?"#FFD97C":"rgba(255, 255, 255, .50)}"}),text:"${title}"},null,8,["style"])]),I("div",xa,[m(r,{duplicateParentState:!0,class:"media-series-number-item-vip-text",fontSize:20,gravity:"center",text:"${vip.text}"})])])},Aa.__scopeId="data-v-4afb8987",Aa.__file="src/series/item/media-series-number-item.vue";var La=l({name:"media-series-text-item",props:{isVip:{type:Boolean,default:!1}}});const Ca={class:"text-item-container",focusable:!0,focusScale:1},Da={class:"text-item-container",showOnState:"selected",style:{position:"absolute","align-items":"center","background-color":"transparent"},duplicateParentState:!0},ka={class:"media-series-text-item-vip-root",showIf:"${vip.enable}",gradientBackground:{colors:["#FFB67827","#FFDBAF5C"],cornerRadius:4,orientation:6}};La.render=function(e,o,i,l,s,u){const r=a("play-mark"),d=a("text-view");return t(),n("div",Ca,[I("div",Da,[m(r,{duplicateParentState:!0,style:{width:"23px",height:"22px","margin-left":"29px","margin-right":"10px"},markColor:this.isVip?"#FFD97C":"#FF4E46"},null,8,["markColor"]),m(d,{duplicateParentState:!0,maxLines:1,ellipsizeMode:2,style:c([{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"])]),m(d,{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}"}),m(d,{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}"}),I("div",ka,[m(d,{duplicateParentState:!0,class:"media-series-text-item-vip-text",fontSize:20,gravity:"center",text:"${vip.text}"})])])},La.__scopeId="data-v-4859f623",La.__file="src/series/item/media-series-text-item.vue";var Na,wa,Oa=l({name:"media-series",props:{customItem:{type:Boolean,default:!1},initParam:{type:Object,default:()=>({})},height:{type:Number,default:230},scrollParam:{type:Object,default:()=>({})},groupParam:{type:Object,default:()=>({})},commonParam:{type:Object,default:()=>({})}},emits:["load-data","item-click","item-focused","group-item-focused"],setup(t,n){const o=e();let a=e(!1);F((()=>{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):Yt((()=>{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 Ba(e,t,n,o){const a=function(e,t,n,o){switch(e){case Na.QT_MEDIA_SERIES_TYPE_LEFT_RIGHT:break;case Na.QT_MEDIA_SERIES_TYPE_NUMBER:return 80;case Na.QT_MEDIA_SERIES_TYPE_TEXT:return 100;case Na.QT_MEDIA_SERIES_TYPE_TOP_DOWN:}return-1}(e);switch(e){case Na.QT_MEDIA_SERIES_TYPE_TOP_DOWN:case Na.QT_MEDIA_SERIES_TYPE_TEXT:return{contentWidth:1740,itemGap:36,initPosition:o.initPosition,contentHeight:a};case Na.QT_MEDIA_SERIES_TYPE_NUMBER:return{contentWidth:1740,itemGap:15.6,initPosition:o.initPosition,contentHeight:a};case Na.QT_MEDIA_SERIES_TYPE_LEFT_RIGHT:return{}}}Oa.render=function(e,n,l,s,r,d){const f=a("select-series"),g=a("large-list");return e.customItem?(t(),i(f,{key:0,ref:"selectSeries",clipChildren:!1,scrollParam:e.scrollParam,groupParam:e.groupParam,commonParam:e.commonParam,display:!0,onLoadData:e.onLoadData,onItemClick:e.onItemClick,onItemFocused:e.onItemFocused,onGroupItemFocused:e.onGroupItemFocused,style:c({width:1920,height:e.height})},{default:p((()=>[o(e.$slots,"default")])),_:3},8,["scrollParam","groupParam","commonParam","onLoadData","onItemClick","onItemFocused","onGroupItemFocused","style"])):e.showOld?(t(),i(g,{key:1,ref:"selectSeries",clipChildren:!1,display:!0,initParam:e.initParam,onLoadData:e.onLoadData,onItemClick:e.onItemClick,onItemFocused:e.onItemFocused,onGroupItemFocused:e.onGroupItemFocused,style:c({width:1920,height:e.height})},null,8,["initParam","onLoadData","onItemClick","onItemFocused","onGroupItemFocused","style"])):u("v-if",!0)},Oa.__file="src/series/component/media-series.vue",function(e){e.QT_MEDIA_SERIES_TYPE_LEFT_RIGHT="leftRight",e.QT_MEDIA_SERIES_TYPE_TOP_DOWN="topDown",e.QT_MEDIA_SERIES_TYPE_TEXT="text",e.QT_MEDIA_SERIES_TYPE_NUMBER="number"}(Na||(Na={})),function(e){e[e.QT_MEDIA_SERIES_STYLE_TYPE_DEFAULT=0]="QT_MEDIA_SERIES_STYLE_TYPE_DEFAULT",e[e.QT_MEDIA_SERIES_STYLE_TYPE_VIP=1]="QT_MEDIA_SERIES_STYLE_TYPE_VIP"}(wa||(wa={}));var Ma,$a,Va,Wa,Qa=l({name:"qt-media-series",components:{"media-series-number-item":Aa,"media-series-text-item":La,"media-series":Oa},emits:["load-data","item-click","item-focused","group-item-focused"],setup(t,n){const o=e(),a=e(!1),i=U(),l=e(),c=e(),s=e(),u=e(),r=e(0),d=e(!1),f=e(Na.QT_MEDIA_SERIES_TYPE_NUMBER);let p;return{isVip:d,seriesType:f,params:l,commonParams:c,scrollParams:s,groupParams:u,mediaSeriesRef:o,show:a,height:r,onLoadData:e=>{n.emit("load-data",e)},setInitData:(e,t,n,d)=>{f.value=e,p=d,l.value=function(e,t,n,o){const a=n==wa.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,n,d),c.value=Ba(e,0,0,d),s.value=function(e,t,n,o){if(e===Na.QT_MEDIA_SERIES_TYPE_NUMBER)return{scrollType:1,pageDisplayCount:10,paddingForPageLeft:0,paddingForPageRight:0}}(e),u.value=function(e,t,n,o){const a={};if(t.enable){switch(e){case Na.QT_MEDIA_SERIES_TYPE_TOP_DOWN:a.groupSize=t.size;case Na.QT_MEDIA_SERIES_TYPE_TEXT:a.groupSize=t.size;case Na.QT_MEDIA_SERIES_TYPE_NUMBER:a.groupSize=t.size}n==wa.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,n),Na.QT_MEDIA_SERIES_TYPE_LEFT_RIGHT!==e?(r.value=function(e,t,n,o){switch(e){case Na.QT_MEDIA_SERIES_TYPE_LEFT_RIGHT:break;case Na.QT_MEDIA_SERIES_TYPE_NUMBER:return 80+(t.enable?70:0);case Na.QT_MEDIA_SERIES_TYPE_TEXT:return 100+(t.enable?70:0);case Na.QT_MEDIA_SERIES_TYPE_TOP_DOWN:}return-1}(e,t),Yt((()=>{o.value&&o.value?.setInitData(d.totalCount,d.pageSize)})),i.isLoggable(x.DEBUG)&&i.d("MediaSeries","----setInitData----\x3e>>>",r.value)):(r.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,l),l.value.totalCount=d.totalCount,l.value.pageSize=d.pageSize),a.value=!0},setPageData:(e,t)=>{let n=t;f.value==Na.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,p.pageSize,t)),o.value?.setPageData(e,n)},onItemClick:e=>{n.emit("item-click",e)},onItemFocused:e=>{n.emit("item-focused",e)},onGroupItemFocused:e=>{n.emit("group-item-focused",e)},scrollTo:e=>{o.value?.scrollTo(e)},scrollToWithOffset:(e,t)=>{o.value?.scrollToWithOffset(e,t,!1)},requestFocus:e=>{o.value?.requestFocus(e)},setSelected:e=>{o.value?.setSelected(e)},setup:()=>{o.value?.setup()},setGroupSelected:e=>{o.value?.setGroupSelected(e)},release:()=>{o.value?.release(),a.value=!1},blockRootFocus:()=>{o.value&&P.callUIFunction(o.value,"blockRootFocus",[])},unBlockRootFocus:()=>{o.value&&P.callUIFunction(o.value,"unBlockRootFocus",[])}}}});Qa.render=function(e,n,l,c,s,r){const d=a("media-series-number-item"),f=a("media-series-text-item"),g=a("media-series");return e.show?(t(),i(g,{key:0,ref:"mediaSeriesRef",clipChildren:!1,"init-param":e.params,height:e.height,"custom-item":"leftRight"!==e.seriesType,"scroll-param":e.scrollParams,"group-param":e.groupParams,"common-param":e.commonParams,onLoadData:e.onLoadData,onItemClick:e.onItemClick,onItemFocused:e.onItemFocused,onGroupItemFocused:e.onGroupItemFocused},{default:p((()=>["number"===e.seriesType?(t(),i(d,{key:0,"is-vip":e.isVip},null,8,["is-vip"])):"text"===e.seriesType?(t(),i(f,{key:1,"is-vip":e.isVip},null,8,["is-vip"])):"custom"===e.seriesType?o(e.$slots,"default",{key:2}):u("v-if",!0)])),_:3},8,["init-param","height","custom-item","scroll-param","group-param","common-param","onLoadData","onItemClick","onItemFocused","onGroupItemFocused"])):u("v-if",!0)},Qa.__file="src/series/index.vue",function(e){e[e.QT_ACCELERATE_DECELERATE_INTERPOLATOR=1]="QT_ACCELERATE_DECELERATE_INTERPOLATOR",e[e.QT_ACCELERATE_INTERPOLATOR=2]="QT_ACCELERATE_INTERPOLATOR",e[e.QT_ANTICIPATE_INTERPOLATOR=3]="QT_ANTICIPATE_INTERPOLATOR",e[e.QT_ANTICIPATE_OVERSHOOT_INTERPOLATOR=4]="QT_ANTICIPATE_OVERSHOOT_INTERPOLATOR",e[e.QT_BOUNCE_INTERPOLATOR=5]="QT_BOUNCE_INTERPOLATOR",e[e.QT_CYCLE_INTERPOLATOR=6]="QT_CYCLE_INTERPOLATOR",e[e.QT_DECELERATE_INTERPOLATOR=7]="QT_DECELERATE_INTERPOLATOR",e[e.QT_LINEAR_INTERPOLATOR=8]="QT_LINEAR_INTERPOLATOR",e[e.QT_OVERSHOOT_INTERPOLATOR=9]="QT_OVERSHOOT_INTERPOLATOR",e[e.QT_FAST_OUT_LINEAR_IN_INTERPOLATOR=10]="QT_FAST_OUT_LINEAR_IN_INTERPOLATOR",e[e.QT_FAST_OUT_SLOW_IN_INTERPOLATOR=11]="QT_FAST_OUT_SLOW_IN_INTERPOLATOR",e[e.QT_PATH_INTERPOLATOR=12]="QT_PATH_INTERPOLATOR"}(Ma||(Ma={})),function(e){e.QT_ANIMATION_PROPERTY_NAME_ALPHA="alpha",e.QT_ANIMATION_PROPERTY_NAME_ROTATION="rotation",e.QT_ANIMATION_PROPERTY_NAME_ROTATION_X="rotationX",e.QT_ANIMATION_PROPERTY_NAME_ROTATION_Y="rotationY",e.QT_ANIMATION_PROPERTY_NAME_ROTATION_Z="rotationZ",e.QT_ANIMATION_PROPERTY_NAME_SCALE_X="scaleX",e.QT_ANIMATION_PROPERTY_NAME_SCALE_Y="scaleY",e.QT_ANIMATION_PROPERTY_NAME_SCALE_Z="scaleZ",e.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_X="translationX",e.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Y="translationY",e.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Z="translationZ"}($a||($a={})),function(e){e[e.QT_ANIMATION_REPEAT_MODE_RESTART=1]="QT_ANIMATION_REPEAT_MODE_RESTART",e[e.QT_ANIMATION_REPEAT_MODE_REVERSE=2]="QT_ANIMATION_REPEAT_MODE_REVERSE",e[e.QT_ANIMATION_REPEAT_MODE_INFINITE=-1]="QT_ANIMATION_REPEAT_MODE_INFINITE"}(Va||(Va={})),function(e){e.QT_ANIMATION_VALUE_TYPE_INT="ofInt",e.QT_ANIMATION_VALUE_TYPE_FLOAT="ofFloat"}(Wa||(Wa={}));const za="QTCollapse";var Ga,Ya,qa,Ha,ja,Ka,Xa,Ja,Za,ei,ti=pn({name:"qt-collapse",emits:["onCollapseItemExpand"],setup(t,n){const o=U();let a,i,l=n.slots.default&&n.slots.default();const c=e(0),s=e(0);let u=200;const r={};const d={};function f(e){return d[`${e}`]}function p(e,t){const i=a[e],l=i.__y,c=s.value-i.height-l;o.isLoggable(x.DEBUG)&&o.d(za,"-------expandItem-------\x3e>>>",e,c,l);let u=0;for(let n=a.length-1;n>=0;n--){const i=a[n];i.height;const l=i.collapseHeight;n<e&&(u+=l);try{const t=m(n);t&&t.onCollapseItemExpand(n==e)}catch(e){}const s=f(n);s&&(o.isLoggable(x.DEBUG)&&o.d(za,"-------expandItem----translationY---\x3e>>>",i,n,i.__translationY,c+u),g(n+"",i,s,i.__translationY,c+u,t))}try{n.emit("onCollapseItemExpand",e,i)}catch(e){}}function g(e,t,n,o,a,i){n.objectAnimator2(e,Wa.QT_ANIMATION_VALUE_TYPE_FLOAT,$a.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Y,o,a,i,-1,0,!1,!1),n.startAnimator(e),t.__translationY=a}function m(e){return r[`${e}`]}return{collapseItemComponentList:l,initComponentRef:function(e,t,n){e&&(r[`${n}`]=e)},initAnimComponentRef:function(e,t,n){e&&(d[`${n}`]=e)},init:function(e){i=e.defaultIndex??0,a=e.itemList,c.value=e.width,s.value=e.height,u=e.expandDuration??200,i<0&&(i=0),i>=a.length&&(i=a.length-1),function(){if(!a||a.length<=0)return;const e=a.length;let t=0;for(let n=e-1;n>=0;n--){const e=a[n];t+=e.height,e.__y=s.value-t,e.__translationY=0}o.isLoggable(x.DEBUG)&&o.d(za,"----initCollapseItem----\x3e>>>",a)}(),S((()=>{p(i,0)}))},getItem:m,expandItem:function(e){p(e,u)},collapse:function(){const e=a.length,t=a[e-1],n=t.__y,o=s.value-t.height-n;let i=0;for(let t=e-1;t>=0;t--){const e=a[t];i+=e.collapseHeight;try{const e=m(t);e&&e.onCollapseItemExpand(!1)}catch(e){}const n=f(t);n&&g(t+"",e,n,e.__translationY,o+i,0)}},expand:function(){for(let e=a.length-1;e>=0;e--){const t=a[e];try{const t=m(e);t&&t.onCollapseItemExpand(!0)}catch(e){}const n=f(e);n&&g(e+"",t,n,t.__translationY,0,0)}},collapseWidth:c,collapseHeight:s}}});function ni(t){const n=l({props:{loadMore:{type:Function,default:function(){return[1,1]}},openPage:{type:Boolean,default:!1},preloadNo:{type:Number,default:0},defaultFocus:{type:Number,default:-1}},emits:["item-click","scroll","item-focused","item-attached","item-detached","item-bind","item-unbind","load-more","scroll-state-changed","focus-search-failed","scrollYGreaterReference","scrollYLesserReference"],setup(t,n){const o=e();R();let a=[],i=[],l=[],c="",s=-1,u=!1,r=-1,p=-1,g=-1,m=-1;d((()=>{t.openPage&&(s=1,u=!1,t.loadMore(s))}));const I=(e,n)=>{n||(a=vo(e),T(a,-1),i=e,t.openPage?_(a.concat([{_id:"",type:1002,decoration:{top:18,bottom:18,right:30,left:30}}])):_(a),t.defaultFocus>-1&&(g&&clearTimeout(g),g=setTimeout((()=>{C(t.defaultFocus)}),500)));let o={get(e,n,i){if("__ob__"!=n&&"symbol"!=typeof n&&"map"!=n&&"length"!=n&&"constructor"!=n&&"_isVue"!=n&&"valueOf"!=n&&"toString"!=n&&"observeArray"!=n&&"dep"!=n&&"notify"!=n&&"subs"!=n&&"slice"!=n)if(l.push(n),-1!=l.indexOf("push"))c="push";else{if(-1!=l.indexOf("splice"))return c="splice",function(...t){return e.splice(...t),-1!=l.indexOf("list")?(a[l[0]].list.splice(...t),E(Number(l[0]),a[l[0]])):1==t.length?0==t[0]?_([]):b(Number(t[0]),a.length-t[0]+1):2==t.length?b(Number(t[0]),t[1]):t.length>2&&(0==t[1]?U(t[0],t.slice(2)):A(t[0],t[1],t.slice(2))),a.splice(t[0],...t.slice(1)),c="",l=[],Reflect.get(e,n,i)};if(-1!=l.indexOf("pop"))return c="pop",function(){return e.pop(),-1!=l.lastIndexOf("list")?(a[l[0]].list.pop(),E(Number(l[0]),a[l[0]])):(b(Number(a.length-1),1),a.pop()),c="",l=[],Reflect.get(e,n,i)};if(-1!=l.indexOf("forEach"))return c="forEach",function(o){return e.forEach((e=>{o(e)})),a=[],a=vo(e),t.openPage?_(a.concat([{_id:"",type:1002,decoration:{top:15,left:30}}])):_(a),c="",l=[],Reflect.get(e,n,i)};if(-1!=l.indexOf("concat"))return c="concat",function(s){return e=e.concat(s),-1!=l.lastIndexOf("list")?(a[l[0]].list=a[l[0]].list.concat(s),E(Number(l[0]),a[l[0]])):(a=a.concat(s),t.openPage&&!u?setTimeout((()=>{S(s.concat([{type:"1002",decoration:{bottom:18,right:30,left:30}}]),1)}),300):F(s)),c="",l=[],Reflect.get(e,n,i),new Proxy(e,o)};c=""}const s=Reflect.get(e,n,i);return v(s)&&"__ob__"!=n&&"dep"!=n&&"subs"!=n?I(s,!0):(-1==l.indexOf("push")&&(l=[]),s)},set(e,n,o,s){const r=e[n];h(e,n);const d=Reflect.set(e,n,o,s);if((!v(r)&&r!==o||v(r))&&"push"!=c)if(l.push(n),-1!=l.lastIndexOf("list")){let e=l.lastIndexOf("list"),t=l.lastIndexOf("list")+2,n={};for(let e=0;e<t;e++){let t=l[e];n=n?n[t]:i[t]}n.name="name"+l[e-1]+l[e+1],E(Number(l[0]),i[l[0]]),a[l[0]].list[l[e+1]]=i[l[0]].list[l[e+1]],a[l[0]].list[l[e+1]].name="name"+l[e-1]+l[e+1]}else a[l[0]]=i[l[0]],a[l[0]].name="name"+l[0],E(Number(l[0]),i[l[0]]);if(n&&"push"==c&&r!==o)-1!=l.lastIndexOf("list")?(l.push(n),a[l[0]].list.push(o)):(l.push(n),a.push(o));else{if("push"==c)if(-1!=l.lastIndexOf("list"))E(Number(l[0]),a[l[0]]);else{let e=a.slice(l[1]);m&&clearTimeout(m),m=t.openPage&&!u?setTimeout((()=>{S(e.concat([{_id:"",type:1002,decoration:{bottom:18,right:30,left:30}}]),1)}),300):setTimeout((()=>{F(e)}),300)}c="",l=[]}return d}};return new Proxy(e,o)},T=(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&&T(o.list,n)}},v=e=>null!==e&&"object"==typeof e,h=(e,t)=>{Object.hasOwnProperty.call(e,t)},_=e=>{r&&clearTimeout(r),r=setTimeout((()=>{P.callUIFunction(o.value,"setListData",e)}),100)},F=e=>{P.callUIFunction(o.value,"addListData",e)},S=(e,t)=>{P.callUIFunction(o.value,"addListDataWithParams",[e,t])},b=(e,t)=>{P.callUIFunction(o.value,"deleteItemRange",[e,t])},E=(e,t)=>{P.callUIFunction(o.value,"updateItem",[e,t])},A=(e,t,n)=>{P.callUIFunction(o.value,"updateItemRange",[e,t,n])},U=(e,t)=>{P.callUIFunction(o.value,"insertItemRange",[e,t])},x=(e,t)=>{P.callUIFunction(o.value,"setSelectChildPosition",[e,t])},L=e=>{P.callUIFunction(o.value,"scrollToPosition",[e])},C=e=>{P.callUIFunction(o.value,"requestChildFocus",[e])};return f((()=>{a=[],i.length=0,l=[],u=!1,s=1,c="",r&&clearTimeout(r),g&&clearTimeout(g),m&&clearTimeout(m),p&&clearTimeout(p)})),n.expose({viewRef:o,init:I,undataItemName:T,hasChanged:(e,t)=>e!==t&&(e==e||t==t),scrollToIndex:(e,t,n)=>{P.callUIFunction(o.value,"scrollToPositionWithOffset",[e,n,t])},updateItem:E,updateItemList:A,hasFocus:e=>{P.callUIFunction(o.value,"hasFocus",(t=>{e(t)}))},updateItemProps:(e,t,n)=>{P.callUIFunction(o.value,"updateItemProps",[t,e,n,!0])},setListData:_,insertItem:U,addListData:F,addListDataWithParams:S,dispatchItemFunction:(e,t,n,a)=>{P.callUIFunction(o.value,"dispatchItemFunction",[e,t,n,a])},deleteItem:b,setBlockFocusDirectionsOnFail:e=>{P.callUIFunction(o.value,"setBlockFocusDirectionsOnFail",[e])},setListDataWithParams:(e,t)=>{P.callUIFunction(o.value,"setListDataWithParams",[e,t])},prepareForRecycle:()=>{P.callUIFunction(o.value,"prepareForRecycle",[])},setDisplay:e=>{P.callUIFunction(o.value,"setDisplay",[e])},scrollToTop:()=>{P.callUIFunction(o.value,"scrollToTop",[])},changeDisplayState:(e,t)=>{P.callUIFunction(o.value,"changeDisplayState",[e,t])},notifySaveInstance:()=>{P.callUIFunction(o.value,"notifySaveInstance",[])},notifyRestoreInstance:()=>{P.callUIFunction(o.value,"notifyRestoreInstance",[])},pausePostTask:()=>{P.callUIFunction(o.value,"pausePostTask",[])},resumePostTask:()=>{P.callUIFunction(o.value,"resumePostTask",[])},getScrollOffset:e=>{P.callUIFunction(o.value,"getScrollOffset",[],e)},scrollToPosition:L,scrollToFocused:e=>{L(e),C(e)},scrollToSelected:(e,t)=>{L(e),x(e,t)},scrollToPositionOffset:(e,t,n,a,i)=>{P.callUIFunction(o.value,"scrollToPositionWithOffset",[t,a,n])},destroy:()=>{P.callUIFunction(o.value,"destroy",[])},startScroll:(e,t,n)=>{P.callUIFunction(o.value,"startScroll",[{focusPosition:e,scrollToPosition:t,scrollOffset:n}])},setItemFocused:C,clearPostTask:()=>{P.callUIFunction(o.value,"clearAllPostTask",[])},clearFocus:()=>{P.callUIFunction(o.value,"clearFocus",[])},setItemSelected:x,blockRootFocus:()=>{P.callUIFunction(o.value,"blockRootFocus",[])},unBlockRootFocus:()=>{P.callUIFunction(o.value,"unBlockRootFocus",[])},setBackgroundColor:e=>{P.callUIFunction(o.value,"setBackgroundColor",[e])},stopPage:()=>{p&&clearTimeout(p),p=setTimeout((()=>{b(a.length,1)}),400),u=!0},setAutoFocus:function(e,t){P.callUIFunction(o.value,"setAutoFocus",[e,t])}}),()=>{const e=n.slots.default&&n.slots.default();return y("FastListView",{ref:o,onItemClick:e=>{n.emit("item-click",e)},onScroll:e=>{n.emit("scroll",e)},onItemFocused:e=>{n.emit("item-focused",e)},onAttachedToWindow:e=>{n.emit("item-attached",e)},onDetachedFromWindow:e=>{n.emit("item-detached",e)},onBindItem:e=>{e.position==a.length-1-t.preloadNo&&(s++,t.loadMore(s)),n.emit("item-bind",e)},onUnbindItem:e=>{n.emit("item-unbind",e)},onLoadMore:e=>{n.emit("load-more",e)},onScrollStateChanged:e=>{n.emit("scroll-state-changed",e)},onFocusSearchFailed:e=>{n.emit("focus-search-failed",e)},onScrollYGreaterReference:e=>{n.emit("scrollYGreaterReference",e)},onScrollYLesserReference:e=>{n.emit("scrollYLesserReference",e)}},e)}}});t.component("qt-list-view",n)}ti.render=function(e,o,l,s,u,r){const d=a("qt-animation");return t(),n("div",{class:"qt-collapse-root-css",clipChildren:!1,clipPadding:!1,style:c({width:e.collapseWidth,height:e.collapseHeight})},[(t(!0),n(g,null,b(e.collapseItemComponentList,((n,o)=>(t(),i(d,{ref_for:!0,ref:t=>e.initAnimComponentRef(t,n,o),class:"qt-collapse-item-css"},{default:p((()=>[(t(),i(E(n),{key:n.name,class:"qt-collapse-item-css",ref_for:!0,ref:t=>e.initComponentRef(t,n,o)}))])),_:2},1536)))),256))],4)},ti.__scopeId="data-v-4feca809",ti.__file="src/collapse/index.vue",function(e){e.QT_DIRECTION_UP="up",e.QT_DIRECTION_DOWN="down",e.QT_DIRECTION_RIGHT="right",e.QT_DIRECTION_LEFT="left"}(Ga||(Ga={})),function(e){e[e.SCROLL_STATE_IDLE=0]="SCROLL_STATE_IDLE",e[e.SCROLL_STATE_DRAGGING=1]="SCROLL_STATE_DRAGGING",e[e.SCROLL_STATE_SETTLING=2]="SCROLL_STATE_SETTLING"}(Ya||(Ya={})),function(e){e[e.QT_NAV_BAR_ITEM_TYPE_TEXT=2e4]="QT_NAV_BAR_ITEM_TYPE_TEXT"}(qa||(qa={})),function(e){e[e.QT_TAB_ITEM_TYPE_DEFAULT=2e4]="QT_TAB_ITEM_TYPE_DEFAULT"}(Ha||(Ha={})),function(e){e[e.QT_SEEK_BAR_MODE_SINGLE=1]="QT_SEEK_BAR_MODE_SINGLE",e[e.QT_SEEK_BAR_MODE_RANGE=2]="QT_SEEK_BAR_MODE_RANGE"}(ja||(ja={})),function(e){e[e.QT_SEEK_BAR_GRAVITY_TOP=0]="QT_SEEK_BAR_GRAVITY_TOP",e[e.QT_SEEK_BAR_GRAVITY_BOTTOM=1]="QT_SEEK_BAR_GRAVITY_BOTTOM",e[e.QT_SEEK_BAR_GRAVITY_CENTER=2]="QT_SEEK_BAR_GRAVITY_CENTER"}(Ka||(Ka={})),function(e){e[e.QT_SEEK_BAR_INDICATION_MODE_SHOW_WHEN_TOUCH=0]="QT_SEEK_BAR_INDICATION_MODE_SHOW_WHEN_TOUCH",e[e.QT_SEEK_BAR_INDICATION_MODE_ALWAYS_HIDE=1]="QT_SEEK_BAR_INDICATION_MODE_ALWAYS_HIDE",e[e.QT_SEEK_BAR_INDICATION_MODE_ALWAYS_SHOW_AFTER_TOUCH=2]="QT_SEEK_BAR_INDICATION_MODE_ALWAYS_SHOW_AFTER_TOUCH",e[e.QT_SEEK_BAR_INDICATION_MODE_ALWAYS_SHOW=3]="QT_SEEK_BAR_INDICATION_MODE_ALWAYS_SHOW"}(Xa||(Xa={})),function(e){e[e.QT_SEEK_BAR_TICK_MARK_MODE_NUMBER=0]="QT_SEEK_BAR_TICK_MARK_MODE_NUMBER",e[e.QT_SEEK_BAR_TICK_MARK_MODE_OTHER=1]="QT_SEEK_BAR_TICK_MARK_MODE_OTHER"}(Ja||(Ja={})),function(e){e[e.QT_SEEK_BAR_TICK_MARK_GRAVITY_LEFT=0]="QT_SEEK_BAR_TICK_MARK_GRAVITY_LEFT",e[e.QT_SEEK_BAR_TICK_MARK_GRAVITY_CENTER=1]="QT_SEEK_BAR_TICK_MARK_GRAVITY_CENTER",e[e.QT_SEEK_BAR_TICK_MARK_GRAVITY_RIGHT=2]="QT_SEEK_BAR_TICK_MARK_GRAVITY_RIGHT"}(Za||(Za={})),function(e){e[e.QT_SEEK_BAR_TICK_MARK_LAYOUT_GRAVITY_TOP=0]="QT_SEEK_BAR_TICK_MARK_LAYOUT_GRAVITY_TOP",e[e.QT_SEEK_BAR_TICK_MARK_LAYOUT_GRAVITY_BOTTOM=1]="QT_SEEK_BAR_TICK_MARK_LAYOUT_GRAVITY_BOTTOM"}(ei||(ei={}));const oi=[Jn,eo,to,oo,io,co,ho,Po,Do,da,ga,Ia,ma,Qa,ti],ai=t=>{t.component("qt-loading-view",{setup(t,n){const o=e();return()=>y("LoadingViewComponent",{ref:o})}}),ni(t),function(t){const n=l({emits:["item-focused","item-attached","item-detached","item-bind","item-unbind"],setup(t,n){const o=e();return n.expose({viewRef:o,updateItem:(e,t)=>{P.callUIFunction(o.value,"updateItem",[e,t])},dispatchItemFunction:(e,t,n,a)=>{P.callUIFunction(o.value,"dispatchItemFunction",[e,t,n,a])},updateItemProps:(e,t,n)=>{P.callUIFunction(o.value,"updateItemProps",[t,e,n,!0])},batch:e=>{P.callUIFunction(o.value,"batch",[e])}}),()=>{const e=n.slots.default&&n.slots.default();return y("FastListView",{ref:o,onBindItem:e=>{n.emit("item-bind",e)},onItemFocused:e=>{n.emit("item-focused",e)},onAttachedToWindow:e=>{n.emit("item-attached",e)},onDetachedFromWindow:e=>{n.emit("item-detached",e)},onItemRecycled:e=>{n.emit("item-unbind",e)}},e)}}});t.component("qt-list-item",n)}(t),function(t){const n=l({name:"WebView",emits:["onCanGoBack","onCanGoForward","onCanGoBackOrForward","onPageStarted","onPageFinished","onLoadResource","onReceivedSslError","onReceivedError","shouldOverrideUrlLoading","onJs2Vue"],setup(t,n){const o=e();F((()=>{a(!0),l(!0),r(!0),s(!0),u(!0),c(!0),g(!0),f(!0),d(!0),p(!0),i(1),m(2)}));const a=e=>{P.callUIFunction(o.value,"setJavaScriptEnabled",[e],(e=>{}))},i=e=>{P.callUIFunction(o.value,"setPluginState",[e],(e=>{}))},l=e=>{P.callUIFunction(o.value,"setJavaScriptCanOpenWindowsAutomatically",[e],(e=>{}))},c=e=>{P.callUIFunction(o.value,"setUseWideViewPort",[e],(e=>{}))},s=e=>{P.callUIFunction(o.value,"setSupportZoom",[e],(e=>{}))},u=e=>{P.callUIFunction(o.value,"setBuiltInZoomControls",[e],(e=>{}))},r=e=>{P.callUIFunction(o.value,"setAllowFileAccess",[e],(e=>{}))},d=e=>{P.callUIFunction(o.value,"setDomStorageEnabled",[e],(e=>{}))},f=e=>{P.callUIFunction(o.value,"setAppCacheEnabled",[e],(e=>{}))},p=e=>{P.callUIFunction(o.value,"setGeolocationEnabled",[e],(e=>{}))},g=e=>{P.callUIFunction(o.value,"setSupportMultipleWindows",[e],(e=>{}))},m=e=>{P.callUIFunction(o.value,"setCacheMode",[e],(e=>{}))};return n.expose({loadUrl:e=>{P.callUIFunction(o.value,"loadUrl",[e],(e=>{}))},evaluateJavascript:e=>new Promise(((t,n)=>{P.callUIFunction(o.value,"evaluateJavascript",[e],(e=>{t(e)}))})),canGoBack:()=>{P.callUIFunction(o.value,"canGoBack",[],(e=>{n.emit("onCanGoBack",e)}))},goBack:()=>{P.callUIFunction(o.value,"goBack",[],(e=>{}))},canGoForward:()=>{P.callUIFunction(o.value,"canGoForward",[],(e=>{n.emit("onCanGoForward",e)}))},goForward:()=>{P.callUIFunction(o.value,"goForward",[],(e=>{}))},canGoBackOrForward:e=>{P.callUIFunction(o.value,"canGoBackOrForward",[e],(e=>{n.emit("onCanGoBackOrForward",e)}))},goBackOrForward:e=>{P.callUIFunction(o.value,"goBackOrForward",[e],(e=>{}))},onResume:()=>{P.callUIFunction(o.value,"onResume",[],(e=>{}))},onPause:()=>{P.callUIFunction(o.value,"onPause",[],(e=>{}))},pauseTimers:()=>{P.callUIFunction(o.value,"pauseTimers",[],(e=>{}))},resumeTimers:()=>{P.callUIFunction(o.value,"resumeTimers",[],(e=>{}))},destroy:()=>{P.callUIFunction(o.value,"destroy",[],(e=>{}))},setJavaScriptEnabled:a,setPluginState:i,setJavaScriptCanOpenWindowsAutomatically:l,setUseWideViewPort:c,setLoadWithOverviewMode:e=>{P.callUIFunction(o.value,"setLoadWithOverviewMode",[e],(e=>{}))},setSupportZoom:s,setBuiltInZoomControls:u,setDisplayZoomControls:e=>{P.callUIFunction(o.value,"setDisplayZoomControls",[e],(e=>{}))},setAllowFileAccess:r,setDomStorageEnabled:d,setDatabaseEnabled:e=>{P.callUIFunction(o.value,"setDatabaseEnabled",[e],(e=>{}))},setAppCacheEnabled:f,setAppCachePath:e=>{P.callUIFunction(o.value,"setAppCachePath",[e],(e=>{}))},setMediaPlaybackRequiresUserGesture:e=>{P.callUIFunction(o.value,"setMediaPlaybackRequiresUserGesture",[e],(e=>{}))},setStandardFontFamily:e=>{P.callUIFunction(o.value,"setStandardFontFamily",[e],(e=>{}))},setFixedFontFamily:e=>{P.callUIFunction(o.value,"setFixedFontFamily",[e],(e=>{}))},setSansSerifFontFamily:e=>{P.callUIFunction(o.value,"setSansSerifFontFamily",[e],(e=>{}))},setSerifFontFamily:e=>{P.callUIFunction(o.value,"setSerifFontFamily",[e],(e=>{}))},setCursiveFontFamily:e=>{P.callUIFunction(o.value,"setCursiveFontFamily",[e],(e=>{}))},setFantasyFontFamily:e=>{P.callUIFunction(o.value,"setFantasyFontFamily",[e],(e=>{}))},setTextZoom:e=>{P.callUIFunction(o.value,"setTextZoom",[e],(e=>{}))},setMinimumFontSize:e=>{P.callUIFunction(o.value,"setMinimumFontSize",[e],(e=>{}))},setDefaultFontSize:e=>{P.callUIFunction(o.value,"setDefaultFontSize",[e],(e=>{}))},setLayoutAlgorithm:e=>{P.callUIFunction(o.value,"setLayoutAlgorithm",[e],(e=>{}))},setLoadsImagesAutomatically:e=>{P.callUIFunction(o.value,"setLoadsImagesAutomatically",[e],(e=>{}))},setDefaultTextEncodingName:e=>{P.callUIFunction(o.value,"setDefaultTextEncodingName",[e],(e=>{}))},setNeedInitialFocus:e=>{P.callUIFunction(o.value,"setNeedInitialFocus",[e],(e=>{}))},setGeolocationEnabled:p,setBlockNetworkLoads:e=>{P.callUIFunction(o.value,"setBlockNetworkLoads",[e],(e=>{}))},setSupportMultipleWindows:g,setAppCacheMaxSize:e=>{P.callUIFunction(o.value,"setAppCacheMaxSize",[e],(e=>{}))},setRenderPriority:e=>{P.callUIFunction(o.value,"setRenderPriority",[e],(e=>{}))},setCacheMode:m,setAllowContentAccess:e=>{P.callUIFunction(o.value,"setAllowContentAccess",[e],(e=>{}))},setEnableSmoothTransition:e=>{P.callUIFunction(o.value,"setEnableSmoothTransition",[e],(e=>{}))},setSaveFormData:e=>{P.callUIFunction(o.value,"setSaveFormData",[e],(e=>{}))},setSavePassword:e=>{P.callUIFunction(o.value,"setSavePassword",[e],(e=>{}))},setTextSize:e=>{P.callUIFunction(o.value,"setTextSize",[e],(e=>{}))},setDefaultZoom:e=>{P.callUIFunction(o.value,"setDefaultZoom",[e],(e=>{}))},setLightTouchEnabled:e=>{P.callUIFunction(o.value,"setLightTouchEnabled",[e],(e=>{}))},setMinimumLogicalFontSize:e=>{P.callUIFunction(o.value,"setMinimumLogicalFontSize",[e],(e=>{}))},setDefaultFixedFontSize:e=>{P.callUIFunction(o.value,"setDefaultFixedFontSize",[e],(e=>{}))},setBlockNetworkImage:e=>{P.callUIFunction(o.value,"setBlockNetworkImage",[e],(e=>{}))},setAllowUniversalAccessFromFileURLs:e=>{P.callUIFunction(o.value,"setAllowUniversalAccessFromFileURLs",[e],(e=>{}))},setAllowFileAccessFromFileURLs:e=>{P.callUIFunction(o.value,"setAllowFileAccessFromFileURLs",[e],(e=>{}))},setDatabasePath:e=>{P.callUIFunction(o.value,"setDatabasePath",[e],(e=>{}))},setGeolocationDatabasePath:e=>{P.callUIFunction(o.value,"setGeolocationDatabasePath",[e],(e=>{}))},setUserAgentString:e=>{P.callUIFunction(o.value,"setUserAgentString",[e],(e=>{}))},setMixedContentMode:e=>{P.callUIFunction(o.value,"setMixedContentMode",[e],(e=>{}))},setOffscreenPreRaster:e=>{P.callUIFunction(o.value,"setOffscreenPreRaster",[e],(e=>{}))},setSafeBrowsingEnabled:e=>{P.callUIFunction(o.value,"setSafeBrowsingEnabled",[e],(e=>{}))},setForceDark:e=>{P.callUIFunction(o.value,"setForceDark",[e],(e=>{}))},setDisabledActionModeMenuItems:e=>{P.callUIFunction(o.value,"setDisabledActionModeMenuItems",[e],(e=>{}))}}),()=>y("ESWebViewComponent",{onPageStarted:e=>{let t=e.url;n.emit("onPageStarted",t)},onPageFinished:e=>{let t=e.url;n.emit("onPageFinished",t)},onLoadResource:e=>{let t=e.url;n.emit("onLoadResource",t)},onReceivedSslError:e=>{n.emit("onReceivedSslError",e)},onReceivedError:e=>{let t=e.errorCode,o=e.description,a=e.failingUrl;n.emit("onReceivedError",t,o,a)},onShouldOverrideUrlLoading:e=>{let t=e.url;n.emit("shouldOverrideUrlLoading",t)},onJs2Vue:e=>{let t=e.js2VueValue;n.emit("onJs2Vue",t)},ref:o})}});t.component("qt-web-view",n)}(t),function(t){const n=l({name:"X5WebView",emits:["onCanGoBack","onCanGoForward","onCanGoBackOrForward","onPageStarted","onPageFinished","onLoadResource","onReceivedSslError","onReceivedError","shouldOverrideUrlLoading","onJs2Vue","onJsRewardCall","onJsFinishGame"],setup(t,n){const o=e();F((()=>{a(!0),l(!0),r(!0),s(!0),u(!0),c(!0),g(!0),f(!0),d(!0),p(!0),i(1),m(2)}));const a=e=>{P.callUIFunction(o.value,"setJavaScriptEnabled",[e],(e=>{}))},i=e=>{P.callUIFunction(o.value,"setPluginState",[e],(e=>{}))},l=e=>{P.callUIFunction(o.value,"setJavaScriptCanOpenWindowsAutomatically",[e],(e=>{}))},c=e=>{P.callUIFunction(o.value,"setUseWideViewPort",[e],(e=>{}))},s=e=>{P.callUIFunction(o.value,"setSupportZoom",[e],(e=>{}))},u=e=>{P.callUIFunction(o.value,"setBuiltInZoomControls",[e],(e=>{}))},r=e=>{P.callUIFunction(o.value,"setAllowFileAccess",[e],(e=>{}))},d=e=>{P.callUIFunction(o.value,"setDomStorageEnabled",[e],(e=>{}))},f=e=>{P.callUIFunction(o.value,"setAppCacheEnabled",[e],(e=>{}))},p=e=>{P.callUIFunction(o.value,"setGeolocationEnabled",[e],(e=>{}))},g=e=>{P.callUIFunction(o.value,"setSupportMultipleWindows",[e],(e=>{}))},m=e=>{P.callUIFunction(o.value,"setCacheMode",[e],(e=>{}))};return n.expose({loadUrl:e=>{P.callUIFunction(o.value,"loadUrl",[e],(e=>{}))},evaluateJavascript:e=>new Promise(((t,n)=>{P.callUIFunction(o.value,"evaluateJavascript",[e],(e=>{t(e)}))})),canGoBack:()=>{P.callUIFunction(o.value,"canGoBack",[],(e=>{n.emit("onCanGoBack",e)}))},goBack:()=>{P.callUIFunction(o.value,"goBack",[],(e=>{}))},canGoForward:()=>{P.callUIFunction(o.value,"canGoForward",[],(e=>{n.emit("onCanGoForward",e)}))},goForward:()=>{P.callUIFunction(o.value,"goForward",[],(e=>{}))},canGoBackOrForward:e=>{P.callUIFunction(o.value,"canGoBackOrForward",[e],(e=>{n.emit("onCanGoBackOrForward",e)}))},goBackOrForward:e=>{P.callUIFunction(o.value,"goBackOrForward",[e],(e=>{}))},onResume:()=>{P.callUIFunction(o.value,"onResume",[],(e=>{}))},onPause:()=>{P.callUIFunction(o.value,"onPause",[],(e=>{}))},pauseTimers:()=>{P.callUIFunction(o.value,"pauseTimers",[],(e=>{}))},resumeTimers:()=>{P.callUIFunction(o.value,"resumeTimers",[],(e=>{}))},destroy:()=>{P.callUIFunction(o.value,"destroy",[],(e=>{}))},setJavaScriptEnabled:a,setPluginState:i,setJavaScriptCanOpenWindowsAutomatically:l,setUseWideViewPort:c,setLoadWithOverviewMode:e=>{P.callUIFunction(o.value,"setLoadWithOverviewMode",[e],(e=>{}))},setSupportZoom:s,setBuiltInZoomControls:u,setDisplayZoomControls:e=>{P.callUIFunction(o.value,"setDisplayZoomControls",[e],(e=>{}))},setAllowFileAccess:r,setDomStorageEnabled:d,setDatabaseEnabled:e=>{P.callUIFunction(o.value,"setDatabaseEnabled",[e],(e=>{}))},setAppCacheEnabled:f,setAppCachePath:e=>{P.callUIFunction(o.value,"setAppCachePath",[e],(e=>{}))},setMediaPlaybackRequiresUserGesture:e=>{P.callUIFunction(o.value,"setMediaPlaybackRequiresUserGesture",[e],(e=>{}))},setStandardFontFamily:e=>{P.callUIFunction(o.value,"setStandardFontFamily",[e],(e=>{}))},setFixedFontFamily:e=>{P.callUIFunction(o.value,"setFixedFontFamily",[e],(e=>{}))},setSansSerifFontFamily:e=>{P.callUIFunction(o.value,"setSansSerifFontFamily",[e],(e=>{}))},setSerifFontFamily:e=>{P.callUIFunction(o.value,"setSerifFontFamily",[e],(e=>{}))},setCursiveFontFamily:e=>{P.callUIFunction(o.value,"setCursiveFontFamily",[e],(e=>{}))},setFantasyFontFamily:e=>{P.callUIFunction(o.value,"setFantasyFontFamily",[e],(e=>{}))},setTextZoom:e=>{P.callUIFunction(o.value,"setTextZoom",[e],(e=>{}))},setMinimumFontSize:e=>{P.callUIFunction(o.value,"setMinimumFontSize",[e],(e=>{}))},setDefaultFontSize:e=>{P.callUIFunction(o.value,"setDefaultFontSize",[e],(e=>{}))},setLayoutAlgorithm:e=>{P.callUIFunction(o.value,"setLayoutAlgorithm",[e],(e=>{}))},setLoadsImagesAutomatically:e=>{P.callUIFunction(o.value,"setLoadsImagesAutomatically",[e],(e=>{}))},setDefaultTextEncodingName:e=>{P.callUIFunction(o.value,"setDefaultTextEncodingName",[e],(e=>{}))},setNeedInitialFocus:e=>{P.callUIFunction(o.value,"setNeedInitialFocus",[e],(e=>{}))},setGeolocationEnabled:p,setBlockNetworkLoads:e=>{P.callUIFunction(o.value,"setBlockNetworkLoads",[e],(e=>{}))},setSupportMultipleWindows:g,setAppCacheMaxSize:e=>{P.callUIFunction(o.value,"setAppCacheMaxSize",[e],(e=>{}))},setRenderPriority:e=>{P.callUIFunction(o.value,"setRenderPriority",[e],(e=>{}))},setCacheMode:m,setAllowContentAccess:e=>{P.callUIFunction(o.value,"setAllowContentAccess",[e],(e=>{}))},setEnableSmoothTransition:e=>{P.callUIFunction(o.value,"setEnableSmoothTransition",[e],(e=>{}))},setSaveFormData:e=>{P.callUIFunction(o.value,"setSaveFormData",[e],(e=>{}))},setSavePassword:e=>{P.callUIFunction(o.value,"setSavePassword",[e],(e=>{}))},setTextSize:e=>{P.callUIFunction(o.value,"setTextSize",[e],(e=>{}))},setDefaultZoom:e=>{P.callUIFunction(o.value,"setDefaultZoom",[e],(e=>{}))},setLightTouchEnabled:e=>{P.callUIFunction(o.value,"setLightTouchEnabled",[e],(e=>{}))},setMinimumLogicalFontSize:e=>{P.callUIFunction(o.value,"setMinimumLogicalFontSize",[e],(e=>{}))},setDefaultFixedFontSize:e=>{P.callUIFunction(o.value,"setDefaultFixedFontSize",[e],(e=>{}))},setBlockNetworkImage:e=>{P.callUIFunction(o.value,"setBlockNetworkImage",[e],(e=>{}))},setAllowUniversalAccessFromFileURLs:e=>{P.callUIFunction(o.value,"setAllowUniversalAccessFromFileURLs",[e],(e=>{}))},setAllowFileAccessFromFileURLs:e=>{P.callUIFunction(o.value,"setAllowFileAccessFromFileURLs",[e],(e=>{}))},setDatabasePath:e=>{P.callUIFunction(o.value,"setDatabasePath",[e],(e=>{}))},setGeolocationDatabasePath:e=>{P.callUIFunction(o.value,"setGeolocationDatabasePath",[e],(e=>{}))},setUserAgentString:e=>{P.callUIFunction(o.value,"setUserAgentString",[e],(e=>{}))},setMixedContentMode:e=>{P.callUIFunction(o.value,"setMixedContentMode",[e],(e=>{}))},setOffscreenPreRaster:e=>{P.callUIFunction(o.value,"setOffscreenPreRaster",[e],(e=>{}))},setSafeBrowsingEnabled:e=>{P.callUIFunction(o.value,"setSafeBrowsingEnabled",[e],(e=>{}))},setForceDark:e=>{P.callUIFunction(o.value,"setForceDark",[e],(e=>{}))},setDisabledActionModeMenuItems:e=>{P.callUIFunction(o.value,"setDisabledActionModeMenuItems",[e],(e=>{}))},initJavaScriptInterface:()=>{P.callUIFunction(o.value,"initJavaScriptInterface",[],(e=>{}))},removeJavaScriptInterface:()=>{P.callUIFunction(o.value,"removeJavaScriptInterface",[],(e=>{}))},initWebViewFocus:(e,t,n)=>{P.callUIFunction(o.value,"initWebViewFocus",[e,t,n],(e=>{}))}}),()=>y("ESX5WebViewComponent",{onPageStarted:e=>{let t=e.url;n.emit("onPageStarted",t)},onPageFinished:e=>{let t=e.url;n.emit("onPageFinished",t)},onLoadResource:e=>{let t=e.url;n.emit("onLoadResource",t)},onReceivedSslError:e=>{n.emit("onReceivedSslError",e)},onReceivedError:e=>{let t=e.errorCode,o=e.description,a=e.failingUrl;n.emit("onReceivedError",t,o,a)},onShouldOverrideUrlLoading:e=>{let t=e.url;n.emit("shouldOverrideUrlLoading",t)},onJs2Vue:e=>{let t=e.js2VueValue;n.emit("onJs2Vue",t)},onJsRewardCall:e=>{let t=e.jsRewardCallValue;n.emit("onJsRewardCall",t)},onJsFinishGame:e=>{let t=e.jsFinishGameValue;n.emit("onJsFinishGame",t)},ref:o})}});t.component("qt-x5web-view",n)}(t),function(t){t.component("qt-qr-code",{setup(t,n){const o=e();return()=>y("QrCodeComponent",{ref:o})}})}(t),function(t){const n=l({name:"qt-seek-bar",props:{emitEventDelay:{type:Number,default:100},onProgressChanged:{type:Function,default:null}},emits:["onSeekStart","onSeekStop","onFocusChanged","onSeekChanged"],setup(t,n){const o=e(),a=e(!1),i=e(1),l=e(0),c=e(0),s=e(0),u=e(0);function r(e){1===i.value&&(u.value=e,P.callUIFunction(o.value,"setProgress",[e],(e=>{})))}function d(e){1===i.value&&(s.value=e,P.callUIFunction(o.value,"setMaxProgress",[e],(e=>{})))}return n.expose({viewRef:o,isSeekBarFocused:a,seekBarMode:i,seekCount:l,progressCallBackTime:c,maxProgress:s,progress:u,startSeek:function(e){if(a.value){i.value=2,n.emit("onSeekStart",u.value),l.value+=1;let a=1;l.value>20?a=2:l.value>50?a=4:l.value>100&&(a=6);let r=s.value,d=Math.floor(.01*r*a);if(u.value=u.value+(e?d:-d),u.value>r?u.value=r:u.value<0&&(u.value=0),P.callUIFunction(o.value,"setProgress",[u.value],(e=>{})),t.onProgressChanged){let e=(new Date).getTime();e-c.value>t.emitEventDelay&&(t.onProgressChanged(u.value),c.value=e)}}},stopSeek:function(){l.value=0,i.value=1,n.emit("onSeekStop",u.value)},isFocused:function(){return a.value},resetSeekbar:function(){i.value=1,d(0),r(0)},invalidateSeekBar:function(){P.callUIFunction(o.value,"invalidateSeekBar",[],(e=>{}))},setFocusable:function(e){P.callUIFunction(o.value,"setFocusable",[e],(e=>{}))},setClickable:function(e){P.callUIFunction(o.value,"setClickable",[e],(e=>{}))},requestFocus:function(){P.callUIFunction(o.value,"requestFocus",[],(e=>{}))},requestLayout:function(){P.callUIFunction(o.value,"requestLayout",[],(e=>{}))},invalidate:function(){P.callUIFunction(o.value,"invalidate",[],(e=>{}))},setVisible:function(e){P.callUIFunction(o.value,"setVisible",[e],(e=>{}))},setLeftSeekBarVisible:function(e){P.callUIFunction(o.value,"setLeftSeekBarVisible",[e],(e=>{}))},setRightSeekBarVisible:function(e){P.callUIFunction(o.value,"setRightSeekBarVisible",[e],(e=>{}))},setSeekBarMode:function(e){P.callUIFunction(o.value,"setSeekBarMode",[e],(e=>{}))},setProgress:r,setRangeProgress:function(e,t){P.callUIFunction(o.value,"setProgress",[e,t],(e=>{}))},getProgress:function(){P.callUIFunction(o.value,"getProgress",[],(e=>{}))},getLeftProgress:function(){P.callUIFunction(o.value,"getLeftProgress",[],(e=>{}))},getRightProgress:function(){P.callUIFunction(o.value,"getRightProgress",[],(e=>{}))},setRange:function(e,t,n){P.callUIFunction(o.value,"setRange",[e,t,n],(e=>{}))},setGravity:function(e){P.callUIFunction(o.value,"setGravity",[e],(e=>{}))},setProgressWidth:function(e){P.callUIFunction(o.value,"setProgressWidth",[e],(e=>{}))},setProgressHeight:function(e){P.callUIFunction(o.value,"setProgressHeight",[e],(e=>{}))},setProgressRadius:function(e){P.callUIFunction(o.value,"setProgressRadius",[e],(e=>{}))},setProgressColor:function(e){P.callUIFunction(o.value,"setProgressColor",[e],(e=>{}))},setProgressDefaultColor:function(e){P.callUIFunction(o.value,"setProgressDefaultColor",[e],(e=>{}))},setProgressDrawable:function(e){P.callUIFunction(o.value,"setProgressDrawable",[e],(e=>{}))},setProgressDefaultDrawable:function(e){P.callUIFunction(o.value,"setProgressDefaultDrawable",[e],(e=>{}))},setProgressUrl:function(e){P.callUIFunction(o.value,"setProgressUrl",[e],(e=>{}))},setProgressDefaultUrl:function(e){P.callUIFunction(o.value,"setProgressDefaultUrl",[e],(e=>{}))},showIndicator:function(e){P.callUIFunction(o.value,"showIndicator",[e],(e=>{}))},showLeftIndicator:function(e){P.callUIFunction(o.value,"showLeftIndicator",[e],(e=>{}))},showRightIndicator:function(e){P.callUIFunction(o.value,"showRightIndicator",[e],(e=>{}))},setIndicatorShowMode:function(e){P.callUIFunction(o.value,"setIndicatorShowMode",[e],(e=>{}))},setLeftIndicatorShowMode:function(e){P.callUIFunction(o.value,"setLeftIndicatorShowMode",[e],(e=>{}))},setRightIndicatorShowMode:function(e){P.callUIFunction(o.value,"setRightIndicatorShowMode",[e],(e=>{}))},setIndicatorWidth:function(e){P.callUIFunction(o.value,"setIndicatorWidth",[e],(e=>{}))},setLeftIndicatorWidth:function(e){P.callUIFunction(o.value,"setLeftIndicatorWidth",[e],(e=>{}))},setRightIndicatorWidth:function(e){P.callUIFunction(o.value,"setRightIndicatorWidth",[e],(e=>{}))},setIndicatorHeight:function(e){P.callUIFunction(o.value,"setIndicatorHeight",[e],(e=>{}))},setLeftIndicatorHeight:function(e){P.callUIFunction(o.value,"setLeftIndicatorHeight",[e],(e=>{}))},setRightIndicatorHeight:function(e){P.callUIFunction(o.value,"setRightIndicatorHeight",[e],(e=>{}))},setIndicatorTextDecimalFormat:function(e){P.callUIFunction(o.value,"setIndicatorTextDecimalFormat",[e],(e=>{}))},setLeftIndicatorTextDecimalFormat:function(e){P.callUIFunction(o.value,"setLeftIndicatorTextDecimalFormat",[e],(e=>{}))},setRightIndicatorTextDecimalFormat:function(e){P.callUIFunction(o.value,"setRightIndicatorTextDecimalFormat",[e],(e=>{}))},setIndicatorTextStringFormat:function(e){P.callUIFunction(o.value,"setIndicatorTextStringFormat",[e],(e=>{}))},setLeftIndicatorTextStringFormat:function(e){P.callUIFunction(o.value,"setLeftIndicatorTextStringFormat",[e],(e=>{}))},setRightIndicatorTextStringFormat:function(e){P.callUIFunction(o.value,"setRightIndicatorTextStringFormat",[e],(e=>{}))},setIndicatorMargin:function(e){P.callUIFunction(o.value,"setIndicatorMargin",[e],(e=>{}))},setLeftIndicatorMargin:function(e){P.callUIFunction(o.value,"setLeftIndicatorMargin",[e],(e=>{}))},setRightIndicatorMargin:function(e){P.callUIFunction(o.value,"setRightIndicatorMargin",[e],(e=>{}))},setIndicatorPaddingBottom:function(e){P.callUIFunction(o.value,"setIndicatorPaddingBottom",[e],(e=>{}))},setLeftIndicatorPaddingBottom:function(e){P.callUIFunction(o.value,"setLeftIndicatorPaddingBottom",[e],(e=>{}))},setRightIndicatorPaddingBottom:function(e){P.callUIFunction(o.value,"setRightIndicatorPaddingBottom",[e],(e=>{}))},setIndicatorPaddingTop:function(e){P.callUIFunction(o.value,"setIndicatorPaddingTop",[e],(e=>{}))},setLeftIndicatorPaddingTop:function(e){P.callUIFunction(o.value,"setLeftIndicatorPaddingTop",[e],(e=>{}))},setRightIndicatorPaddingTop:function(e){P.callUIFunction(o.value,"setRightIndicatorPaddingTop",[e],(e=>{}))},setIndicatorPaddingLeft:function(e){P.callUIFunction(o.value,"setIndicatorPaddingLeft",[e],(e=>{}))},setLeftIndicatorPaddingLeft:function(e){P.callUIFunction(o.value,"setLeftIndicatorPaddingLeft",[e],(e=>{}))},setRightIndicatorPaddingLeft:function(e){P.callUIFunction(o.value,"setRightIndicatorPaddingLeft",[e],(e=>{}))},setIndicatorPaddingRight:function(e){P.callUIFunction(o.value,"setIndicatorPaddingRight",[e],(e=>{}))},setLeftIndicatorPaddingRight:function(e){P.callUIFunction(o.value,"setLeftIndicatorPaddingRight",[e],(e=>{}))},setRightIndicatorPaddingRight:function(e){P.callUIFunction(o.value,"setRightIndicatorPaddingRight",[e],(e=>{}))},setIndicatorBackgroundColor:function(e){P.callUIFunction(o.value,"setIndicatorBackgroundColor",[e],(e=>{}))},setLeftIndicatorBackgroundColor:function(e){P.callUIFunction(o.value,"setLeftIndicatorBackgroundColor",[e],(e=>{}))},setRightIndicatorBackgroundColor:function(e){P.callUIFunction(o.value,"setRightIndicatorBackgroundColor",[e],(e=>{}))},setIndicatorRadius:function(e){P.callUIFunction(o.value,"setIndicatorRadius",[e],(e=>{}))},setLeftIndicatorRadius:function(e){P.callUIFunction(o.value,"setLeftIndicatorRadius",[e],(e=>{}))},setRightIndicatorRadius:function(e){P.callUIFunction(o.value,"setRightIndicatorRadius",[e],(e=>{}))},setIndicatorTextSize:function(e){P.callUIFunction(o.value,"setIndicatorTextSize",[e],(e=>{}))},setLeftIndicatorTextSize:function(e){P.callUIFunction(o.value,"setLeftIndicatorTextSize",[e],(e=>{}))},setRightIndicatorTextSize:function(e){P.callUIFunction(o.value,"setRightIndicatorTextSize",[e],(e=>{}))},setIndicatorTextColor:function(e){P.callUIFunction(o.value,"setIndicatorTextColor",[e],(e=>{}))},setLeftIndicatorTextColor:function(e){P.callUIFunction(o.value,"setLeftIndicatorTextColor",[e],(e=>{}))},setRightIndicatorTextColor:function(e){P.callUIFunction(o.value,"setRightIndicatorTextColor",[e],(e=>{}))},setIndicatorArrowSize:function(e){P.callUIFunction(o.value,"setIndicatorArrowSize",[e],(e=>{}))},setLeftIndicatorArrowSize:function(e){P.callUIFunction(o.value,"setLeftIndicatorArrowSize",[e],(e=>{}))},setRightIndicatorArrowSize:function(e){P.callUIFunction(o.value,"setRightIndicatorArrowSize",[e],(e=>{}))},setIndicatorDrawable:function(e){P.callUIFunction(o.value,"setIndicatorDrawable",[e],(e=>{}))},setLeftIndicatorDrawable:function(e){P.callUIFunction(o.value,"setLeftIndicatorDrawable",[e],(e=>{}))},setRightIndicatorDrawable:function(e){P.callUIFunction(o.value,"setRightIndicatorDrawable",[e],(e=>{}))},setIndicatorUrl:function(e){P.callUIFunction(o.value,"setIndicatorUrl",[e],(e=>{}))},setLeftIndicatorUrl:function(e){P.callUIFunction(o.value,"setLeftIndicatorUrl",[e],(e=>{}))},setRightIndicatorUrl:function(e){P.callUIFunction(o.value,"setRightIndicatorUrl",[e],(e=>{}))},setThumbWidth:function(e){P.callUIFunction(o.value,"setThumbWidth",[e],(e=>{}))},setLeftThumbWidth:function(e){P.callUIFunction(o.value,"setLeftThumbWidth",[e],(e=>{}))},setRightThumbWidth:function(e){P.callUIFunction(o.value,"setRightThumbWidth",[e],(e=>{}))},setThumbHeight:function(e){P.callUIFunction(o.value,"setThumbHeight",[e],(e=>{}))},setLeftThumbHeight:function(e){P.callUIFunction(o.value,"setLeftThumbHeight",[e],(e=>{}))},setRightThumbHeight:function(e){P.callUIFunction(o.value,"setRightThumbHeight",[e],(e=>{}))},scaleThumb:function(){P.callUIFunction(o.value,"scaleThumb",[],(e=>{}))},scaleLeftThumb:function(){P.callUIFunction(o.value,"scaleLeftThumb",[],(e=>{}))},scaleRightThumb:function(){P.callUIFunction(o.value,"scaleLeftThumb",[],(e=>{}))},resetThumb:function(){P.callUIFunction(o.value,"resetThumb",[],(e=>{}))},resetLeftThumb:function(){P.callUIFunction(o.value,"resetLeftThumb",[],(e=>{}))},resetRightThumb:function(){P.callUIFunction(o.value,"resetRightThumb",[],(e=>{}))},setThumbScaleRatio:function(e){P.callUIFunction(o.value,"setThumbScaleRatio",[e],(e=>{}))},setLeftThumbScaleRatio:function(e){P.callUIFunction(o.value,"setLeftThumbScaleRatio",[e],(e=>{}))},setRightThumbScaleRatio:function(e){P.callUIFunction(o.value,"setRightThumbScaleRatio",[e],(e=>{}))},setThumbActivate:function(e){P.callUIFunction(o.value,"setThumbActivate",[e],(e=>{}))},setLeftThumbActivate:function(e){P.callUIFunction(o.value,"setLeftThumbActivate",[e],(e=>{}))},setRightThumbActivate:function(e){P.callUIFunction(o.value,"setRightThumbActivate",[e],(e=>{}))},setThumbDrawable:function(e){P.callUIFunction(o.value,"setThumbDrawable",[e],(e=>{}))},setLeftThumbDrawable:function(e){P.callUIFunction(o.value,"setLeftThumbDrawable",[e],(e=>{}))},setRightThumbDrawable:function(e){P.callUIFunction(o.value,"setRightThumbDrawable",[e],(e=>{}))},setThumbUrl:function(e){P.callUIFunction(o.value,"setThumbUrl",[e],(e=>{}))},setLeftThumbUrl:function(e){P.callUIFunction(o.value,"setLeftThumbUrl",[e],(e=>{}))},setRightThumbUrl:function(e){P.callUIFunction(o.value,"setRightThumbUrl",[e],(e=>{}))},setThumbInactivatedDrawable:function(e){P.callUIFunction(o.value,"setThumbInactivatedDrawable",[e],(e=>{}))},setLeftThumbInactivatedDrawable:function(e){P.callUIFunction(o.value,"setLeftThumbInactivatedDrawable",[e],(e=>{}))},setRightThumbInactivatedDrawable:function(e){P.callUIFunction(o.value,"setRightThumbInactivatedDrawable",[e],(e=>{}))},setThumbInactivatedUrl:function(e){P.callUIFunction(o.value,"setThumbInactivatedUrl",[e],(e=>{}))},setLeftThumbInactivatedUrl:function(e){P.callUIFunction(o.value,"setLeftThumbInactivatedUrl",[e],(e=>{}))},setRightThumbInactivatedUrl:function(e){P.callUIFunction(o.value,"setRightThumbInactivatedUrl",[e],(e=>{}))},setTickMarkMode:function(e){P.callUIFunction(o.value,"setTickMarkMode",[e],(e=>{}))},setTickMarkGravity:function(e){P.callUIFunction(o.value,"setTickMarkGravity",[e],(e=>{}))},setTickMarkLayoutGravity:function(e){P.callUIFunction(o.value,"setTickMarkLayoutGravity",[e],(e=>{}))},setTickMarkTextArray:function(e){P.callUIFunction(o.value,"setTickMarkTextArray",[e],(e=>{}))},setTickMarkTextMargin:function(e){P.callUIFunction(o.value,"setTickMarkTextMargin",[e],(e=>{}))},setTickMarkTextSize:function(e){P.callUIFunction(o.value,"setTickMarkTextSize",[e],(e=>{}))},setTickMarkTextColor:function(e){P.callUIFunction(o.value,"setTickMarkTextColor",[e],(e=>{}))},setTickMarkInRangeTextColor:function(e){P.callUIFunction(o.value,"setTickMarkInRangeTextColor",[e],(e=>{}))},setSteps:function(e){P.callUIFunction(o.value,"setSteps",[e],(e=>{}))},setStepsWidth:function(e){P.callUIFunction(o.value,"setStepsWidth",[e],(e=>{}))},setStepsHeight:function(e){P.callUIFunction(o.value,"setStepsHeight",[e],(e=>{}))},setStepsRadius:function(e){P.callUIFunction(o.value,"setStepsRadius",[e],(e=>{}))},setStepsColor:function(e){P.callUIFunction(o.value,"setStepsColor",[e],(e=>{}))},setStepsAutoBonding:function(e){P.callUIFunction(o.value,"setStepsAutoBonding",[e],(e=>{}))},setStepsDrawable:function(e){P.callUIFunction(o.value,"setStepsDrawable",[e],(e=>{}))},setStepsUrl:function(e){P.callUIFunction(o.value,"setStepsUrl",[e],(e=>{}))},setSecondProgress:function(e){P.callUIFunction(o.value,"setSecondProgress",[e],(e=>{}))},show:function(e){P.callUIFunction(o.value,"show",[e],(e=>{}))},setMaxProgress:d}),()=>y("TVSeekBarViewComponent",{ref:o,onFocus:e=>{a.value=e.isFocused,n.emit("onFocusChanged",e.isFocused)},onSeekBarChange:e=>{n.emit("onSeekChanged",e.progress)}})}});t.component("qt-seek-bar",n)}(t),function(t){const n=pn({name:"qt-progress-bar",emits:["onFocusChanged","onSeekChanged"],setup(t,n){const o=e();return n.expose({invalidateProgressBar:function(){P.callUIFunction(o.value,"invalidateSeekBar",[],(e=>{}))},setFocusable:function(e){P.callUIFunction(o.value,"setFocusable",[e],(e=>{}))},setClickable:function(e){P.callUIFunction(o.value,"setClickable",[e],(e=>{}))},requestFocus:function(){P.callUIFunction(o.value,"requestFocus",[],(e=>{}))},requestLayout:function(){P.callUIFunction(o.value,"requestLayout",[],(e=>{}))},invalidate:function(){P.callUIFunction(o.value,"invalidate",[],(e=>{}))},setVisible:function(e){P.callUIFunction(o.value,"setVisible",[e],(e=>{}))},setLeftSeekBarVisible:function(e){P.callUIFunction(o.value,"setLeftSeekBarVisible",[e],(e=>{}))},setRightSeekBarVisible:function(e){P.callUIFunction(o.value,"setRightSeekBarVisible",[e],(e=>{}))},setSeekBarMode:function(e){P.callUIFunction(o.value,"setSeekBarMode",[e],(e=>{}))},setProgress:function(e){P.callUIFunction(o.value,"setProgress",[e],(e=>{}))},setRangeProgress:function(e,t){P.callUIFunction(o.value,"setProgress",[e,t],(e=>{}))},getProgress:function(){P.callUIFunction(o.value,"getProgress",[],(e=>{}))},getLeftProgress:function(){P.callUIFunction(o.value,"getLeftProgress",[],(e=>{}))},getRightProgress:function(){P.callUIFunction(o.value,"getRightProgress",[],(e=>{}))},setRange:function(e,t,n){P.callUIFunction(o.value,"setRange",[e,t,n],(e=>{}))},setGravity:function(e){P.callUIFunction(o.value,"setGravity",[e],(e=>{}))},setProgressWidth:function(e){P.callUIFunction(o.value,"setProgressWidth",[e],(e=>{}))},setProgressHeight:function(e){P.callUIFunction(o.value,"setProgressHeight",[e],(e=>{}))},setProgressRadius:function(e){P.callUIFunction(o.value,"setProgressRadius",[e],(e=>{}))},setProgressColor:function(e){P.callUIFunction(o.value,"setProgressColor",[e],(e=>{}))},setProgressDefaultColor:function(e){P.callUIFunction(o.value,"setProgressDefaultColor",[e],(e=>{}))},setProgressDrawable:function(e){P.callUIFunction(o.value,"setProgressDrawable",[e],(e=>{}))},setProgressDefaultDrawable:function(e){P.callUIFunction(o.value,"setProgressDefaultDrawable",[e],(e=>{}))},setProgressUrl:function(e){P.callUIFunction(o.value,"setProgressUrl",[e],(e=>{}))},setProgressDefaultUrl:function(e){P.callUIFunction(o.value,"setProgressDefaultUrl",[e],(e=>{}))},showIndicator:function(e){P.callUIFunction(o.value,"showIndicator",[e],(e=>{}))},showLeftIndicator:function(e){P.callUIFunction(o.value,"showLeftIndicator",[e],(e=>{}))},showRightIndicator:function(e){P.callUIFunction(o.value,"showRightIndicator",[e],(e=>{}))},setIndicatorShowMode:function(e){P.callUIFunction(o.value,"setIndicatorShowMode",[e],(e=>{}))},setLeftIndicatorShowMode:function(e){P.callUIFunction(o.value,"setLeftIndicatorShowMode",[e],(e=>{}))},setRightIndicatorShowMode:function(e){P.callUIFunction(o.value,"setRightIndicatorShowMode",[e],(e=>{}))},setIndicatorWidth:function(e){P.callUIFunction(o.value,"setIndicatorWidth",[e],(e=>{}))},setLeftIndicatorWidth:function(e){P.callUIFunction(o.value,"setLeftIndicatorWidth",[e],(e=>{}))},setRightIndicatorWidth:function(e){P.callUIFunction(o.value,"setRightIndicatorWidth",[e],(e=>{}))},setIndicatorHeight:function(e){P.callUIFunction(o.value,"setIndicatorHeight",[e],(e=>{}))},setLeftIndicatorHeight:function(e){P.callUIFunction(o.value,"setLeftIndicatorHeight",[e],(e=>{}))},setRightIndicatorHeight:function(e){P.callUIFunction(o.value,"setRightIndicatorHeight",[e],(e=>{}))},setIndicatorTextDecimalFormat:function(e){P.callUIFunction(o.value,"setIndicatorTextDecimalFormat",[e],(e=>{}))},setLeftIndicatorTextDecimalFormat:function(e){P.callUIFunction(o.value,"setLeftIndicatorTextDecimalFormat",[e],(e=>{}))},setRightIndicatorTextDecimalFormat:function(e){P.callUIFunction(o.value,"setRightIndicatorTextDecimalFormat",[e],(e=>{}))},setIndicatorTextStringFormat:function(e){P.callUIFunction(o.value,"setIndicatorTextStringFormat",[e],(e=>{}))},setLeftIndicatorTextStringFormat:function(e){P.callUIFunction(o.value,"setLeftIndicatorTextStringFormat",[e],(e=>{}))},setRightIndicatorTextStringFormat:function(e){P.callUIFunction(o.value,"setRightIndicatorTextStringFormat",[e],(e=>{}))},setIndicatorMargin:function(e){P.callUIFunction(o.value,"setIndicatorMargin",[e],(e=>{}))},setLeftIndicatorMargin:function(e){P.callUIFunction(o.value,"setLeftIndicatorMargin",[e],(e=>{}))},setRightIndicatorMargin:function(e){P.callUIFunction(o.value,"setRightIndicatorMargin",[e],(e=>{}))},setIndicatorPaddingBottom:function(e){P.callUIFunction(o.value,"setIndicatorPaddingBottom",[e],(e=>{}))},setLeftIndicatorPaddingBottom:function(e){P.callUIFunction(o.value,"setLeftIndicatorPaddingBottom",[e],(e=>{}))},setRightIndicatorPaddingBottom:function(e){P.callUIFunction(o.value,"setRightIndicatorPaddingBottom",[e],(e=>{}))},setIndicatorPaddingTop:function(e){P.callUIFunction(o.value,"setIndicatorPaddingTop",[e],(e=>{}))},setLeftIndicatorPaddingTop:function(e){P.callUIFunction(o.value,"setLeftIndicatorPaddingTop",[e],(e=>{}))},setRightIndicatorPaddingTop:function(e){P.callUIFunction(o.value,"setRightIndicatorPaddingTop",[e],(e=>{}))},setIndicatorPaddingLeft:function(e){P.callUIFunction(o.value,"setIndicatorPaddingLeft",[e],(e=>{}))},setLeftIndicatorPaddingLeft:function(e){P.callUIFunction(o.value,"setLeftIndicatorPaddingLeft",[e],(e=>{}))},setRightIndicatorPaddingLeft:function(e){P.callUIFunction(o.value,"setRightIndicatorPaddingLeft",[e],(e=>{}))},setIndicatorPaddingRight:function(e){P.callUIFunction(o.value,"setIndicatorPaddingRight",[e],(e=>{}))},setLeftIndicatorPaddingRight:function(e){P.callUIFunction(o.value,"setLeftIndicatorPaddingRight",[e],(e=>{}))},setRightIndicatorPaddingRight:function(e){P.callUIFunction(o.value,"setRightIndicatorPaddingRight",[e],(e=>{}))},setIndicatorBackgroundColor:function(e){P.callUIFunction(o.value,"setIndicatorBackgroundColor",[e],(e=>{}))},setLeftIndicatorBackgroundColor:function(e){P.callUIFunction(o.value,"setLeftIndicatorBackgroundColor",[e],(e=>{}))},setRightIndicatorBackgroundColor:function(e){P.callUIFunction(o.value,"setRightIndicatorBackgroundColor",[e],(e=>{}))},setIndicatorRadius:function(e){P.callUIFunction(o.value,"setIndicatorRadius",[e],(e=>{}))},setLeftIndicatorRadius:function(e){P.callUIFunction(o.value,"setLeftIndicatorRadius",[e],(e=>{}))},setRightIndicatorRadius:function(e){P.callUIFunction(o.value,"setRightIndicatorRadius",[e],(e=>{}))},setIndicatorTextSize:function(e){P.callUIFunction(o.value,"setIndicatorTextSize",[e],(e=>{}))},setLeftIndicatorTextSize:function(e){P.callUIFunction(o.value,"setLeftIndicatorTextSize",[e],(e=>{}))},setRightIndicatorTextSize:function(e){P.callUIFunction(o.value,"setRightIndicatorTextSize",[e],(e=>{}))},setIndicatorTextColor:function(e){P.callUIFunction(o.value,"setIndicatorTextColor",[e],(e=>{}))},setLeftIndicatorTextColor:function(e){P.callUIFunction(o.value,"setLeftIndicatorTextColor",[e],(e=>{}))},setRightIndicatorTextColor:function(e){P.callUIFunction(o.value,"setRightIndicatorTextColor",[e],(e=>{}))},setIndicatorArrowSize:function(e){P.callUIFunction(o.value,"setIndicatorArrowSize",[e],(e=>{}))},setLeftIndicatorArrowSize:function(e){P.callUIFunction(o.value,"setLeftIndicatorArrowSize",[e],(e=>{}))},setRightIndicatorArrowSize:function(e){P.callUIFunction(o.value,"setRightIndicatorArrowSize",[e],(e=>{}))},setIndicatorDrawable:function(e){P.callUIFunction(o.value,"setIndicatorDrawable",[e],(e=>{}))},setLeftIndicatorDrawable:function(e){P.callUIFunction(o.value,"setLeftIndicatorDrawable",[e],(e=>{}))},setRightIndicatorDrawable:function(e){P.callUIFunction(o.value,"setRightIndicatorDrawable",[e],(e=>{}))},setIndicatorUrl:function(e){P.callUIFunction(o.value,"setIndicatorUrl",[e],(e=>{}))},setLeftIndicatorUrl:function(e){P.callUIFunction(o.value,"setLeftIndicatorUrl",[e],(e=>{}))},setRightIndicatorUrl:function(e){P.callUIFunction(o.value,"setRightIndicatorUrl",[e],(e=>{}))},setThumbWidth:function(e){P.callUIFunction(o.value,"setThumbWidth",[e],(e=>{}))},setLeftThumbWidth:function(e){P.callUIFunction(o.value,"setLeftThumbWidth",[e],(e=>{}))},setRightThumbWidth:function(e){P.callUIFunction(o.value,"setRightThumbWidth",[e],(e=>{}))},setThumbHeight:function(e){P.callUIFunction(o.value,"setThumbHeight",[e],(e=>{}))},setLeftThumbHeight:function(e){P.callUIFunction(o.value,"setLeftThumbHeight",[e],(e=>{}))},setRightThumbHeight:function(e){P.callUIFunction(o.value,"setRightThumbHeight",[e],(e=>{}))},scaleThumb:function(){P.callUIFunction(o.value,"scaleThumb",[],(e=>{}))},scaleLeftThumb:function(){P.callUIFunction(o.value,"scaleLeftThumb",[],(e=>{}))},scaleRightThumb:function(){P.callUIFunction(o.value,"scaleLeftThumb",[],(e=>{}))},resetThumb:function(){P.callUIFunction(o.value,"resetThumb",[],(e=>{}))},resetLeftThumb:function(){P.callUIFunction(o.value,"resetLeftThumb",[],(e=>{}))},resetRightThumb:function(){P.callUIFunction(o.value,"resetRightThumb",[],(e=>{}))},setThumbScaleRatio:function(e){P.callUIFunction(o.value,"setThumbScaleRatio",[e],(e=>{}))},setLeftThumbScaleRatio:function(e){P.callUIFunction(o.value,"setLeftThumbScaleRatio",[e],(e=>{}))},setRightThumbScaleRatio:function(e){P.callUIFunction(o.value,"setRightThumbScaleRatio",[e],(e=>{}))},setThumbActivate:function(e){P.callUIFunction(o.value,"setThumbActivate",[e],(e=>{}))},setLeftThumbActivate:function(e){P.callUIFunction(o.value,"setLeftThumbActivate",[e],(e=>{}))},setRightThumbActivate:function(e){P.callUIFunction(o.value,"setRightThumbActivate",[e],(e=>{}))},setThumbDrawable:function(e){P.callUIFunction(o.value,"setThumbDrawable",[e],(e=>{}))},setLeftThumbDrawable:function(e){P.callUIFunction(o.value,"setLeftThumbDrawable",[e],(e=>{}))},setRightThumbDrawable:function(e){P.callUIFunction(o.value,"setRightThumbDrawable",[e],(e=>{}))},setThumbUrl:function(e){P.callUIFunction(o.value,"setThumbUrl",[e],(e=>{}))},setLeftThumbUrl:function(e){P.callUIFunction(o.value,"setLeftThumbUrl",[e],(e=>{}))},setRightThumbUrl:function(e){P.callUIFunction(o.value,"setRightThumbUrl",[e],(e=>{}))},setThumbInactivatedDrawable:function(e){P.callUIFunction(o.value,"setThumbInactivatedDrawable",[e],(e=>{}))},setLeftThumbInactivatedDrawable:function(e){P.callUIFunction(o.value,"setLeftThumbInactivatedDrawable",[e],(e=>{}))},setRightThumbInactivatedDrawable:function(e){P.callUIFunction(o.value,"setRightThumbInactivatedDrawable",[e],(e=>{}))},setThumbInactivatedUrl:function(e){P.callUIFunction(o.value,"setThumbInactivatedUrl",[e],(e=>{}))},setLeftThumbInactivatedUrl:function(e){P.callUIFunction(o.value,"setLeftThumbInactivatedUrl",[e],(e=>{}))},setRightThumbInactivatedUrl:function(e){P.callUIFunction(o.value,"setRightThumbInactivatedUrl",[e],(e=>{}))},setTickMarkMode:function(e){P.callUIFunction(o.value,"setTickMarkMode",[e],(e=>{}))},setTickMarkGravity:function(e){P.callUIFunction(o.value,"setTickMarkGravity",[e],(e=>{}))},setTickMarkLayoutGravity:function(e){P.callUIFunction(o.value,"setTickMarkLayoutGravity",[e],(e=>{}))},setTickMarkTextArray:function(e){P.callUIFunction(o.value,"setTickMarkTextArray",[e],(e=>{}))},setTickMarkTextMargin:function(e){P.callUIFunction(o.value,"setTickMarkTextMargin",[e],(e=>{}))},setTickMarkTextSize:function(e){P.callUIFunction(o.value,"setTickMarkTextSize",[e],(e=>{}))},setTickMarkTextColor:function(e){P.callUIFunction(o.value,"setTickMarkTextColor",[e],(e=>{}))},setTickMarkInRangeTextColor:function(e){P.callUIFunction(o.value,"setTickMarkInRangeTextColor",[e],(e=>{}))},setSteps:function(e){P.callUIFunction(o.value,"setSteps",[e],(e=>{}))},setStepsWidth:function(e){P.callUIFunction(o.value,"setStepsWidth",[e],(e=>{}))},setStepsHeight:function(e){P.callUIFunction(o.value,"setStepsHeight",[e],(e=>{}))},setStepsRadius:function(e){P.callUIFunction(o.value,"setStepsRadius",[e],(e=>{}))},setStepsColor:function(e){P.callUIFunction(o.value,"setStepsColor",[e],(e=>{}))},setStepsAutoBonding:function(e){P.callUIFunction(o.value,"setStepsAutoBonding",[e],(e=>{}))},setStepsDrawable:function(e){P.callUIFunction(o.value,"setStepsDrawable",[e],(e=>{}))},setStepsUrl:function(e){P.callUIFunction(o.value,"setStepsUrl",[e],(e=>{}))},setSecondProgress:function(e){P.callUIFunction(o.value,"setSecondProgress",[e],(e=>{}))},show:function(e){P.callUIFunction(o.value,"show",[e],(e=>{}))},setMaxProgress:function(e){P.callUIFunction(o.value,"setMaxProgress",[e],(e=>{}))}}),()=>y("TVProgressBarViewComponent",{ref:o,onFocus:e=>{n.emit("onFocusChanged",e.isFocused)},onSeekBarChange:e=>{n.emit("onSeekChanged",e.progress)}})}});t.component("qt-progress-bar",n)}(t),function(t){const n=l({emits:["onAnimationEnd","onAnimationCancel","onAnimationStart","onAnimationRepeat","onAnimationPause","onAnimationResume","onAnimationUpdate"],setup(t,n){const o=e();return n.expose({setPivotX:function(e){P.callUIFunction(o.value,"setPivotX",[e],(e=>{}))},setPivotY:function(e){P.callUIFunction(o.value,"setPivotY",[e],(e=>{}))},resetPivot:function(){P.callUIFunction(o.value,"resetPivot",[],(e=>{}))},resetAnimators:function(){P.callUIFunction(o.value,"resetAnimators",[],(e=>{}))},animatorSet:function(e,t,n){P.callUIFunction(o.value,"animatorSet",[e,t,n],(e=>{}))},startAnimator:function(e){P.callUIFunction(o.value,"startAnimator",[e],(e=>{}))},startAnimatorDelay:function(e,t){P.callUIFunction(o.value,"startAnimatorDelay",[e,t],(e=>{}))},pauseAnimator:function(e){P.callUIFunction(o.value,"pauseAnimator",[e],(e=>{}))},resumeAnimator:function(e){P.callUIFunction(o.value,"resumeAnimator",[e],(e=>{}))},cancelAnimator:function(e){P.callUIFunction(o.value,"cancelAnimator",[e],(e=>{}))},reverseAnimator:function(e){P.callUIFunction(o.value,"reverseAnimator",[e],(e=>{}))},play:function(e,t){P.callUIFunction(o.value,"play",[e,t],(e=>{}))},playWith:function(e,t){P.callUIFunction(o.value,"with",[e,t],(e=>{}))},playBefore:function(e,t){P.callUIFunction(o.value,"before",[e,t],(e=>{}))},playAfter:function(e,t){P.callUIFunction(o.value,"after",[e,t],(e=>{}))},playAfterDelay:function(e,t){P.callUIFunction(o.value,"afterDelay",[e,t],(e=>{}))},playSequentially1:function(e,t){P.callUIFunction(o.value,"playSequentially1",[e,t],(e=>{}))},playSequentially2:function(e,t,n){P.callUIFunction(o.value,"playSequentially2",[e,t,n],(e=>{}))},playSequentially3:function(e,t,n,a){P.callUIFunction(o.value,"playSequentially3",[e,t,n,a],(e=>{}))},playSequentially4:function(e,t,n,a,i){P.callUIFunction(o.value,"playSequentially4",[e,t,n,a,i],(e=>{}))},playSequentially5:function(e,t,n,a,i,l){P.callUIFunction(o.value,"playSequentially5",[e,t,n,a,i,l],(e=>{}))},playTogether1:function(e,t){P.callUIFunction(o.value,"playTogether1",[e,t],(e=>{}))},playTogether2:function(e,t,n){P.callUIFunction(o.value,"playTogether2",[e,t,n],(e=>{}))},playTogether3:function(e,t,n,a){P.callUIFunction(o.value,"playTogether3",[e,t,n,a],(e=>{}))},playTogether4:function(e,t,n,a,i){P.callUIFunction(o.value,"playTogether4",[e,t,n,a,i],(e=>{}))},playTogether5:function(e,t,n,a,i,l){P.callUIFunction(o.value,"playTogether5",[e,t,n,a,i,l],(e=>{}))},objectAnimator:function(e,t,n,a,i,l,c,s,u){P.callUIFunction(o.value,"objectAnimator",[e,t,n,a,i,l,c,s,u],(e=>{}))},objectAnimator1:function(e,t,n,a,i,l,c,s,u,r){P.callUIFunction(o.value,"objectAnimator1",[e,t,n,a,i,l,c,s,u,r],(e=>{}))},objectAnimator2:function(e,t,n,a,i,l,c,s,u,r,d){P.callUIFunction(o.value,"objectAnimator2",[e,t,n,a,i,l,c,s,u,r,d],(e=>{}))},objectAnimator3:function(e,t,n,a,i,l,c,s,u,r,d,f){P.callUIFunction(o.value,"objectAnimator3",[e,t,n,a,i,l,c,s,u,r,d,f],(e=>{}))},objectAnimator4:function(e,t,n,a,i,l,c,s,u,r,d,f,p){P.callUIFunction(o.value,"objectAnimator4",[e,t,n,a,i,l,c,s,u,r,d,f,p],(e=>{}))},objectAnimator5:function(e,t,n,a,i,l,c,s,u,r,d,f,p,g){P.callUIFunction(o.value,"objectAnimator5",[e,t,n,a,i,l,c,s,u,r,d,f,p,g],(e=>{}))},objectAnimator6:function(e,t,n,a,i,l,c,s,u,r,d,f,p,g,m){P.callUIFunction(o.value,"objectAnimator6",[e,t,n,a,i,l,c,s,u,r,d,f,p,g,m],(e=>{}))},objectAnimator7:function(e,t,n,a,i,l,c,s,u,r,d,f,p,g,m,I){P.callUIFunction(o.value,"objectAnimator7",[e,t,n,a,i,l,c,s,u,r,d,f,p,g,m,I],(e=>{}))},objectAnimator8:function(e,t,n,a,i,l,c,s,u,r,d,f,p,g,m,I,T){P.callUIFunction(o.value,"objectAnimator8",[e,t,n,a,i,l,c,s,u,r,d,f,p,g,m,I,T],(e=>{}))},objectAnimator9:function(e,t,n,a,i,l,c,s,u,r,d,f,p,g,m,I,T,v){P.callUIFunction(o.value,"objectAnimator9",[e,t,n,a,i,l,c,s,u,r,d,f,p,g,m,I,T,v],(e=>{}))},objectAnimator10:function(e,t,n,a,i,l,c,s,u,r,d,f,p,g,m,I,T,v,h){P.callUIFunction(o.value,"objectAnimator10",[e,t,n,a,i,l,c,s,u,r,d,f,p,g,m,I,T,v,h],(e=>{}))}}),()=>{const e=n.slots.default&&n.slots.default();return y("AnimationViewComponent",{ref:o,onAnimationCancel:e=>{let t=e.animationId;n.emit("onAnimationCancel",t)},onAnimationEnd:e=>{let t=e.animationId,o=e.isReverse;n.emit("onAnimationEnd",t,o)},onAnimationRepeat:e=>{let t=e.animationId;n.emit("onAnimationRepeat",t)},onAnimationStart:e=>{let t=e.animationId,o=e.isReverse;n.emit("onAnimationStart",t,o)},onAnimationPause:e=>{let t=e.animationId;n.emit("onAnimationPause",t)},onAnimationResume:e=>{let t=e.animationId;n.emit("onAnimationResume",t)},onAnimationUpdate:e=>{let t=e.animationId,o=e.animatedValue;n.emit("onAnimationUpdate",t,o)}},e)}}});t.component("qt-animation",n)}(t),function(t){t.component("qt-dialog",{setup(t,n){const o=e();return()=>{const e=n.slots.default&&n.slots.default();return y("Modal",{ref:o},e)}}})}(t);for(let e in oi)t.component(oi[e].name,oi[e])};export{Ma as QTAnimationInterpolatorType,$a as QTAnimationPropertyName,Va as QTAnimationRepeatMode,Wa as QTAnimationValueType,Ga as QTDirections,wa as QTMediaSeriesStyleType,Na as QTMediaSeriesType,qa as QTNavBarItemType,Ya as QTScrollState,Ka as QTSeekBarGravity,Xa as QTSeekBarIndicatorMode,ja as QTSeekBarMode,Za as QTSeekBarTickMarkGravity,ei as QTSeekBarTickMarkLayoutGravity,Ja as QTSeekBarTickMarkMode,Ha as QTTabItemType,ua as QTTabPageState,Oo as QTWaterfallItemType,wo as QTWaterfallSectionType,oa as QTWaterfallVisibleType,ai as QuickTVUI,mo as arrangeChildren4ListView};
|
|
@@ -1,68 +1,68 @@
|
|
|
1
1
|
export interface QTIWebView {
|
|
2
|
-
loadUrl(url: string):
|
|
3
|
-
evaluateJavascript(value: string):
|
|
4
|
-
canGoBack():
|
|
5
|
-
goBack():
|
|
6
|
-
canGoForward():
|
|
7
|
-
goForward():
|
|
8
|
-
canGoBackOrForward(steps: number):
|
|
9
|
-
goBackOrForward(steps: number):
|
|
10
|
-
onResume():
|
|
11
|
-
onPause():
|
|
12
|
-
pauseTimers():
|
|
13
|
-
resumeTimers():
|
|
14
|
-
destroy():
|
|
15
|
-
setJavaScriptEnabled(value: boolean):
|
|
16
|
-
setPluginState(value: number):
|
|
17
|
-
setJavaScriptCanOpenWindowsAutomatically(value: boolean):
|
|
18
|
-
setUseWideViewPort(value: boolean):
|
|
19
|
-
setLoadWithOverviewMode(value: boolean):
|
|
20
|
-
setSupportZoom(value: boolean):
|
|
21
|
-
setBuiltInZoomControls(value: boolean):
|
|
22
|
-
setDisplayZoomControls(value: boolean):
|
|
23
|
-
setAllowFileAccess(value: boolean):
|
|
24
|
-
setDomStorageEnabled(value: boolean):
|
|
25
|
-
setDatabaseEnabled(value: boolean):
|
|
26
|
-
setAppCacheEnabled(value: boolean):
|
|
27
|
-
setAppCachePath(value: boolean):
|
|
28
|
-
setMediaPlaybackRequiresUserGesture(value: boolean):
|
|
29
|
-
setStandardFontFamily(value: string):
|
|
30
|
-
setFixedFontFamily(value: string):
|
|
31
|
-
setSansSerifFontFamily(value: string):
|
|
32
|
-
setSerifFontFamily(value: string):
|
|
33
|
-
setCursiveFontFamily(value: string):
|
|
34
|
-
setFantasyFontFamily(value: string):
|
|
35
|
-
setTextZoom(value: number):
|
|
36
|
-
setMinimumFontSize(value: number):
|
|
37
|
-
setDefaultFontSize(value: number):
|
|
38
|
-
setLayoutAlgorithm(value: number):
|
|
39
|
-
setLoadsImagesAutomatically(value: boolean):
|
|
40
|
-
setDefaultTextEncodingName(value: string):
|
|
41
|
-
setNeedInitialFocus(value: boolean):
|
|
42
|
-
setGeolocationEnabled(value: boolean):
|
|
43
|
-
setBlockNetworkLoads(value: boolean):
|
|
44
|
-
setSupportMultipleWindows(value: boolean):
|
|
45
|
-
setAppCacheMaxSize(value: number):
|
|
46
|
-
setRenderPriority(value: number):
|
|
47
|
-
setCacheMode(value: number):
|
|
48
|
-
setAllowContentAccess(value: boolean):
|
|
49
|
-
setEnableSmoothTransition(value: boolean):
|
|
50
|
-
setSaveFormData(value: boolean):
|
|
51
|
-
setSavePassword(value: boolean):
|
|
52
|
-
setTextSize(value: number):
|
|
53
|
-
setDefaultZoom(value: number):
|
|
54
|
-
setLightTouchEnabled(value: boolean):
|
|
2
|
+
loadUrl(url: string): void;
|
|
3
|
+
evaluateJavascript(value: string): Promise<string | undefined | null>;
|
|
4
|
+
canGoBack(): void;
|
|
5
|
+
goBack(): void;
|
|
6
|
+
canGoForward(): void;
|
|
7
|
+
goForward(): void;
|
|
8
|
+
canGoBackOrForward(steps: number): void;
|
|
9
|
+
goBackOrForward(steps: number): void;
|
|
10
|
+
onResume(): void;
|
|
11
|
+
onPause(): void;
|
|
12
|
+
pauseTimers(): void;
|
|
13
|
+
resumeTimers(): void;
|
|
14
|
+
destroy(): void;
|
|
15
|
+
setJavaScriptEnabled(value: boolean): void;
|
|
16
|
+
setPluginState(value: number): void;
|
|
17
|
+
setJavaScriptCanOpenWindowsAutomatically(value: boolean): void;
|
|
18
|
+
setUseWideViewPort(value: boolean): void;
|
|
19
|
+
setLoadWithOverviewMode(value: boolean): void;
|
|
20
|
+
setSupportZoom(value: boolean): void;
|
|
21
|
+
setBuiltInZoomControls(value: boolean): void;
|
|
22
|
+
setDisplayZoomControls(value: boolean): void;
|
|
23
|
+
setAllowFileAccess(value: boolean): void;
|
|
24
|
+
setDomStorageEnabled(value: boolean): void;
|
|
25
|
+
setDatabaseEnabled(value: boolean): void;
|
|
26
|
+
setAppCacheEnabled(value: boolean): void;
|
|
27
|
+
setAppCachePath(value: boolean): void;
|
|
28
|
+
setMediaPlaybackRequiresUserGesture(value: boolean): void;
|
|
29
|
+
setStandardFontFamily(value: string): void;
|
|
30
|
+
setFixedFontFamily(value: string): void;
|
|
31
|
+
setSansSerifFontFamily(value: string): void;
|
|
32
|
+
setSerifFontFamily(value: string): void;
|
|
33
|
+
setCursiveFontFamily(value: string): void;
|
|
34
|
+
setFantasyFontFamily(value: string): void;
|
|
35
|
+
setTextZoom(value: number): void;
|
|
36
|
+
setMinimumFontSize(value: number): void;
|
|
37
|
+
setDefaultFontSize(value: number): void;
|
|
38
|
+
setLayoutAlgorithm(value: number): void;
|
|
39
|
+
setLoadsImagesAutomatically(value: boolean): void;
|
|
40
|
+
setDefaultTextEncodingName(value: string): void;
|
|
41
|
+
setNeedInitialFocus(value: boolean): void;
|
|
42
|
+
setGeolocationEnabled(value: boolean): void;
|
|
43
|
+
setBlockNetworkLoads(value: boolean): void;
|
|
44
|
+
setSupportMultipleWindows(value: boolean): void;
|
|
45
|
+
setAppCacheMaxSize(value: number): void;
|
|
46
|
+
setRenderPriority(value: number): void;
|
|
47
|
+
setCacheMode(value: number): void;
|
|
48
|
+
setAllowContentAccess(value: boolean): void;
|
|
49
|
+
setEnableSmoothTransition(value: boolean): void;
|
|
50
|
+
setSaveFormData(value: boolean): void;
|
|
51
|
+
setSavePassword(value: boolean): void;
|
|
52
|
+
setTextSize(value: number): void;
|
|
53
|
+
setDefaultZoom(value: number): void;
|
|
54
|
+
setLightTouchEnabled(value: boolean): void;
|
|
55
55
|
setMinimumLogicalFontSize(value: number): any;
|
|
56
|
-
setDefaultFixedFontSize(value: number):
|
|
57
|
-
setBlockNetworkImage(value: boolean):
|
|
58
|
-
setAllowUniversalAccessFromFileURLs(value: boolean):
|
|
59
|
-
setAllowFileAccessFromFileURLs(value: boolean):
|
|
60
|
-
setDatabasePath(value: string):
|
|
61
|
-
setGeolocationDatabasePath(value: string):
|
|
62
|
-
setUserAgentString(value: string):
|
|
63
|
-
setMixedContentMode(value: number):
|
|
64
|
-
setOffscreenPreRaster(value: boolean):
|
|
65
|
-
setSafeBrowsingEnabled(value: boolean):
|
|
66
|
-
setForceDark(value: number):
|
|
67
|
-
setDisabledActionModeMenuItems(value: number):
|
|
56
|
+
setDefaultFixedFontSize(value: number): void;
|
|
57
|
+
setBlockNetworkImage(value: boolean): void;
|
|
58
|
+
setAllowUniversalAccessFromFileURLs(value: boolean): void;
|
|
59
|
+
setAllowFileAccessFromFileURLs(value: boolean): void;
|
|
60
|
+
setDatabasePath(value: string): void;
|
|
61
|
+
setGeolocationDatabasePath(value: string): void;
|
|
62
|
+
setUserAgentString(value: string): void;
|
|
63
|
+
setMixedContentMode(value: number): void;
|
|
64
|
+
setOffscreenPreRaster(value: boolean): void;
|
|
65
|
+
setSafeBrowsingEnabled(value: boolean): void;
|
|
66
|
+
setForceDark(value: number): void;
|
|
67
|
+
setDisabledActionModeMenuItems(value: number): void;
|
|
68
68
|
}
|
|
@@ -1,71 +1,68 @@
|
|
|
1
1
|
export interface QTIX5WebView {
|
|
2
|
-
loadUrl(url: string):
|
|
3
|
-
evaluateJavascript(value: string):
|
|
4
|
-
canGoBack():
|
|
5
|
-
goBack():
|
|
6
|
-
canGoForward():
|
|
7
|
-
goForward():
|
|
8
|
-
canGoBackOrForward(steps: number):
|
|
9
|
-
goBackOrForward(steps: number):
|
|
10
|
-
onResume():
|
|
11
|
-
onPause():
|
|
12
|
-
pauseTimers():
|
|
13
|
-
resumeTimers():
|
|
14
|
-
destroy():
|
|
15
|
-
setJavaScriptEnabled(value: boolean):
|
|
16
|
-
setPluginState(value: number):
|
|
17
|
-
setJavaScriptCanOpenWindowsAutomatically(value: boolean):
|
|
18
|
-
setUseWideViewPort(value: boolean):
|
|
19
|
-
setLoadWithOverviewMode(value: boolean):
|
|
20
|
-
setSupportZoom(value: boolean):
|
|
21
|
-
setBuiltInZoomControls(value: boolean):
|
|
22
|
-
setDisplayZoomControls(value: boolean):
|
|
23
|
-
setAllowFileAccess(value: boolean):
|
|
24
|
-
setDomStorageEnabled(value: boolean):
|
|
25
|
-
setDatabaseEnabled(value: boolean):
|
|
26
|
-
setAppCacheEnabled(value: boolean):
|
|
27
|
-
setAppCachePath(value: boolean):
|
|
28
|
-
setMediaPlaybackRequiresUserGesture(value: boolean):
|
|
29
|
-
setStandardFontFamily(value: string):
|
|
30
|
-
setFixedFontFamily(value: string):
|
|
31
|
-
setSansSerifFontFamily(value: string):
|
|
32
|
-
setSerifFontFamily(value: string):
|
|
33
|
-
setCursiveFontFamily(value: string):
|
|
34
|
-
setFantasyFontFamily(value: string):
|
|
35
|
-
setTextZoom(value: number):
|
|
36
|
-
setMinimumFontSize(value: number):
|
|
37
|
-
setDefaultFontSize(value: number):
|
|
38
|
-
setLayoutAlgorithm(value: number):
|
|
39
|
-
setLoadsImagesAutomatically(value: boolean):
|
|
40
|
-
setDefaultTextEncodingName(value: string):
|
|
41
|
-
setNeedInitialFocus(value: boolean):
|
|
42
|
-
setGeolocationEnabled(value: boolean):
|
|
43
|
-
setBlockNetworkLoads(value: boolean):
|
|
44
|
-
setSupportMultipleWindows(value: boolean):
|
|
45
|
-
setAppCacheMaxSize(value: number):
|
|
46
|
-
setRenderPriority(value: number):
|
|
47
|
-
setCacheMode(value: number):
|
|
48
|
-
setAllowContentAccess(value: boolean):
|
|
49
|
-
setEnableSmoothTransition(value: boolean):
|
|
50
|
-
setSaveFormData(value: boolean):
|
|
51
|
-
setSavePassword(value: boolean):
|
|
52
|
-
setTextSize(value: number):
|
|
53
|
-
setDefaultZoom(value: number):
|
|
54
|
-
setLightTouchEnabled(value: boolean):
|
|
2
|
+
loadUrl(url: string): void;
|
|
3
|
+
evaluateJavascript(value: string): Promise<string | undefined | null>;
|
|
4
|
+
canGoBack(): void;
|
|
5
|
+
goBack(): void;
|
|
6
|
+
canGoForward(): void;
|
|
7
|
+
goForward(): void;
|
|
8
|
+
canGoBackOrForward(steps: number): void;
|
|
9
|
+
goBackOrForward(steps: number): void;
|
|
10
|
+
onResume(): void;
|
|
11
|
+
onPause(): void;
|
|
12
|
+
pauseTimers(): void;
|
|
13
|
+
resumeTimers(): void;
|
|
14
|
+
destroy(): void;
|
|
15
|
+
setJavaScriptEnabled(value: boolean): void;
|
|
16
|
+
setPluginState(value: number): void;
|
|
17
|
+
setJavaScriptCanOpenWindowsAutomatically(value: boolean): void;
|
|
18
|
+
setUseWideViewPort(value: boolean): void;
|
|
19
|
+
setLoadWithOverviewMode(value: boolean): void;
|
|
20
|
+
setSupportZoom(value: boolean): void;
|
|
21
|
+
setBuiltInZoomControls(value: boolean): void;
|
|
22
|
+
setDisplayZoomControls(value: boolean): void;
|
|
23
|
+
setAllowFileAccess(value: boolean): void;
|
|
24
|
+
setDomStorageEnabled(value: boolean): void;
|
|
25
|
+
setDatabaseEnabled(value: boolean): void;
|
|
26
|
+
setAppCacheEnabled(value: boolean): void;
|
|
27
|
+
setAppCachePath(value: boolean): void;
|
|
28
|
+
setMediaPlaybackRequiresUserGesture(value: boolean): void;
|
|
29
|
+
setStandardFontFamily(value: string): void;
|
|
30
|
+
setFixedFontFamily(value: string): void;
|
|
31
|
+
setSansSerifFontFamily(value: string): void;
|
|
32
|
+
setSerifFontFamily(value: string): void;
|
|
33
|
+
setCursiveFontFamily(value: string): void;
|
|
34
|
+
setFantasyFontFamily(value: string): void;
|
|
35
|
+
setTextZoom(value: number): void;
|
|
36
|
+
setMinimumFontSize(value: number): void;
|
|
37
|
+
setDefaultFontSize(value: number): void;
|
|
38
|
+
setLayoutAlgorithm(value: number): void;
|
|
39
|
+
setLoadsImagesAutomatically(value: boolean): void;
|
|
40
|
+
setDefaultTextEncodingName(value: string): void;
|
|
41
|
+
setNeedInitialFocus(value: boolean): void;
|
|
42
|
+
setGeolocationEnabled(value: boolean): void;
|
|
43
|
+
setBlockNetworkLoads(value: boolean): void;
|
|
44
|
+
setSupportMultipleWindows(value: boolean): void;
|
|
45
|
+
setAppCacheMaxSize(value: number): void;
|
|
46
|
+
setRenderPriority(value: number): void;
|
|
47
|
+
setCacheMode(value: number): void;
|
|
48
|
+
setAllowContentAccess(value: boolean): void;
|
|
49
|
+
setEnableSmoothTransition(value: boolean): void;
|
|
50
|
+
setSaveFormData(value: boolean): void;
|
|
51
|
+
setSavePassword(value: boolean): void;
|
|
52
|
+
setTextSize(value: number): void;
|
|
53
|
+
setDefaultZoom(value: number): void;
|
|
54
|
+
setLightTouchEnabled(value: boolean): void;
|
|
55
55
|
setMinimumLogicalFontSize(value: number): any;
|
|
56
|
-
setDefaultFixedFontSize(value: number):
|
|
57
|
-
setBlockNetworkImage(value: boolean):
|
|
58
|
-
setAllowUniversalAccessFromFileURLs(value: boolean):
|
|
59
|
-
setAllowFileAccessFromFileURLs(value: boolean):
|
|
60
|
-
setDatabasePath(value: string):
|
|
61
|
-
setGeolocationDatabasePath(value: string):
|
|
62
|
-
setUserAgentString(value: string):
|
|
63
|
-
setMixedContentMode(value: number):
|
|
64
|
-
setOffscreenPreRaster(value: boolean):
|
|
65
|
-
setSafeBrowsingEnabled(value: boolean):
|
|
66
|
-
setForceDark(value: number):
|
|
67
|
-
setDisabledActionModeMenuItems(value: number):
|
|
68
|
-
initJavaScriptInterface(): any;
|
|
69
|
-
removeJavaScriptInterface(): any;
|
|
70
|
-
initWebViewFocus(delayTime: number, x: number, y: number): any;
|
|
56
|
+
setDefaultFixedFontSize(value: number): void;
|
|
57
|
+
setBlockNetworkImage(value: boolean): void;
|
|
58
|
+
setAllowUniversalAccessFromFileURLs(value: boolean): void;
|
|
59
|
+
setAllowFileAccessFromFileURLs(value: boolean): void;
|
|
60
|
+
setDatabasePath(value: string): void;
|
|
61
|
+
setGeolocationDatabasePath(value: string): void;
|
|
62
|
+
setUserAgentString(value: string): void;
|
|
63
|
+
setMixedContentMode(value: number): void;
|
|
64
|
+
setOffscreenPreRaster(value: boolean): void;
|
|
65
|
+
setSafeBrowsingEnabled(value: boolean): void;
|
|
66
|
+
setForceDark(value: number): void;
|
|
67
|
+
setDisabledActionModeMenuItems(value: number): void;
|
|
71
68
|
}
|