@quicktvui/quicktvui3 1.1.38 → 1.1.39

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.css CHANGED
@@ -320,6 +320,7 @@
320
320
  flex-direction: column;
321
321
  align-items: flex-start;
322
322
  justify-content: flex-start;
323
+ position: absolute;
323
324
  }
324
325
  .standard-section-title-text-css[data-v-227e921e] {
325
326
  /*width: 1920px;*/
package/dist/index.js CHANGED
@@ -1,20 +1,20 @@
1
1
  import{ref as e,openBlock as t,createElementBlock as n,renderSlot as o,resolveComponent as a,createBlock as i,defineComponent as l,normalizeStyle as c,normalizeClass as s,createCommentVNode as r,toDisplayString as u,nextTick as d,isReactive as f,toRaw as g,onMounted as p,onUnmounted as _,watchEffect as T,onBeforeUnmount as I,withCtx as m,createVNode as h,createElementVNode as v,pushScopeId as S,popScopeId as F,reactive as E,watch as b,Fragment as y,renderList as A,resolveDynamicComponent as R,h as P}from"vue";import{Native as N}from"@extscreen/es3-vue";import{useESLog as L,ESLogLevel as U,useESDevice as C,useESDisplay as x,useES as D,ESVersion as O}from"@extscreen/es3-core";
2
2
  /**
3
- * @vue/shared v3.4.25
3
+ * @vue/shared v3.4.22
4
4
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
5
5
  * @license MIT
6
6
  **/
7
7
  /*! #__NO_SIDE_EFFECTS__ */
8
- function k(e,t){const n=new Set(e.split(","));return t?e=>n.has(e.toLowerCase()):e=>n.has(e)}const w="production"!==process.env.NODE_ENV?Object.freeze({}):{};"production"===process.env.NODE_ENV||Object.freeze([]);const B=()=>{},M=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Q=Object.assign,$=Object.prototype.hasOwnProperty,G=(e,t)=>$.call(e,t),V=Array.isArray,q=e=>"[object Map]"===Z(e),Y=e=>"[object Set]"===Z(e),W=e=>"function"==typeof e,z=e=>"string"==typeof e,H=e=>"symbol"==typeof e,j=e=>null!==e&&"object"==typeof e,K=e=>(j(e)||W(e))&&W(e.then)&&W(e.catch),X=Object.prototype.toString,Z=e=>X.call(e),J=e=>Z(e).slice(8,-1),ee=e=>"[object Object]"===Z(e),te=e=>z(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,ne=(e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))})((e=>e.charAt(0).toUpperCase()+e.slice(1))),oe=(e,t)=>!Object.is(e,t),ae=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})};let ie;const le=()=>ie||(ie="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{});function ce(e){if(V(e)){const t={};for(let n=0;n<e.length;n++){const o=e[n],a=z(o)?de(o):ce(o);if(a)for(const e in a)t[e]=a[e]}return t}if(z(e)||j(e))return e}const se=/;(?![^(]*\))/g,re=/:([^]+)/,ue=/\/\*[^]*?\*\//g;function de(e){const t={};return e.replace(ue,"").split(se).forEach((e=>{if(e){const n=e.split(re);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}function fe(e){let t="";if(z(e))t=e;else if(V(e))for(let n=0;n<e.length;n++){const o=fe(e[n]);o&&(t+=o+" ")}else if(j(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}
8
+ function k(e,t){const n=new Set(e.split(","));return t?e=>n.has(e.toLowerCase()):e=>n.has(e)}const w="production"!==process.env.NODE_ENV?Object.freeze({}):{};"production"===process.env.NODE_ENV||Object.freeze([]);const B=()=>{},M=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),$=Object.assign,Q=Object.prototype.hasOwnProperty,G=(e,t)=>Q.call(e,t),V=Array.isArray,q=e=>"[object Map]"===Z(e),Y=e=>"[object Set]"===Z(e),W=e=>"function"==typeof e,z=e=>"string"==typeof e,H=e=>"symbol"==typeof e,j=e=>null!==e&&"object"==typeof e,K=e=>(j(e)||W(e))&&W(e.then)&&W(e.catch),X=Object.prototype.toString,Z=e=>X.call(e),J=e=>Z(e).slice(8,-1),ee=e=>"[object Object]"===Z(e),te=e=>z(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,ne=(e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))})((e=>e.charAt(0).toUpperCase()+e.slice(1))),oe=(e,t)=>!Object.is(e,t),ae=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})};let ie;const le=()=>ie||(ie="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{});function ce(e){if(V(e)){const t={};for(let n=0;n<e.length;n++){const o=e[n],a=z(o)?de(o):ce(o);if(a)for(const e in a)t[e]=a[e]}return t}if(z(e)||j(e))return e}const se=/;(?![^(]*\))/g,re=/:([^]+)/,ue=/\/\*[^]*?\*\//g;function de(e){const t={};return e.replace(ue,"").split(se).forEach((e=>{if(e){const n=e.split(re);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}function fe(e){let t="";if(z(e))t=e;else if(V(e))for(let n=0;n<e.length;n++){const o=fe(e[n]);o&&(t+=o+" ")}else if(j(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}
9
9
  /**
10
- * @vue/reactivity v3.4.25
10
+ * @vue/reactivity v3.4.22
11
11
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
12
12
  * @license MIT
13
- **/function ge(e,...t){console.warn(`[Vue warn] ${e}`,...t)}let pe;class _e{constructor(e,t,n,o){this.fn=e,this.trigger=t,this.scheduler=n,this.active=!0,this.deps=[],this._dirtyLevel=4,this._trackId=0,this._runnings=0,this._shouldSchedule=!1,this._depsLength=0,function(e,t){t&&t.active&&t.effects.push(e)}(this,o)}get dirty(){if(2===this._dirtyLevel||3===this._dirtyLevel){this._dirtyLevel=1,Fe();for(let e=0;e<this._depsLength;e++){const t=this.deps[e];if(t.computed&&(t.computed.value,this._dirtyLevel>=4))break}1===this._dirtyLevel&&(this._dirtyLevel=0),Ee()}return this._dirtyLevel>=4}set dirty(e){this._dirtyLevel=e?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let e=he,t=pe;try{return he=!0,pe=this,this._runnings++,Te(this),this.fn()}finally{Ie(this),this._runnings--,pe=t,he=e}}stop(){var e;this.active&&(Te(this),Ie(this),null==(e=this.onStop)||e.call(this),this.active=!1)}}function Te(e){e._trackId++,e._depsLength=0}function Ie(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t<e.deps.length;t++)me(e.deps[t],e);e.deps.length=e._depsLength}}function me(e,t){const n=e.get(t);void 0!==n&&t._trackId!==n&&(e.delete(t),0===e.size&&e.cleanup())}let he=!0,ve=0;const Se=[];function Fe(){Se.push(he),he=!1}function Ee(){const e=Se.pop();he=void 0===e||e}function be(){ve++}function ye(){for(ve--;!ve&&Ae.length;)Ae.shift()()}const Ae=[];function Re(e,t,n){var o;be();for(const a of e.keys()){let i;a._dirtyLevel<t&&(null!=i?i:i=e.get(a)===a._trackId)&&(a._shouldSchedule||(a._shouldSchedule=0===a._dirtyLevel),a._dirtyLevel=t),a._shouldSchedule&&(null!=i?i:i=e.get(a)===a._trackId)&&("production"!==process.env.NODE_ENV&&(null==(o=a.onTrigger)||o.call(a,Q({effect:a},n))),a.trigger(),a._runnings&&!a.allowRecurse||2===a._dirtyLevel||(a._shouldSchedule=!1,a.scheduler&&Ae.push(a.scheduler)))}ye()}const Pe=(e,t)=>{const n=new Map;return n.cleanup=e,n.computed=t,n},Ne=new WeakMap,Le=Symbol("production"!==process.env.NODE_ENV?"iterate":""),Ue=Symbol("production"!==process.env.NODE_ENV?"Map key iterate":"");function Ce(e,t,n){if(he&&pe){let o=Ne.get(e);o||Ne.set(e,o=new Map);let a=o.get(n);a||o.set(n,a=Pe((()=>o.delete(n)))),function(e,t,n){var o;if(t.get(e)!==e._trackId){t.set(e,e._trackId);const a=e.deps[e._depsLength];a!==t?(a&&me(a,e),e.deps[e._depsLength++]=t):e._depsLength++,"production"!==process.env.NODE_ENV&&(null==(o=e.onTrack)||o.call(e,Q({effect:e},n)))}}(pe,a,"production"!==process.env.NODE_ENV?{target:e,type:t,key:n}:void 0)}}function xe(e,t,n,o,a,i){const l=Ne.get(e);if(!l)return;let c=[];if("clear"===t)c=[...l.values()];else if("length"===n&&V(e)){const e=Number(o);l.forEach(((t,n)=>{("length"===n||!H(n)&&n>=e)&&c.push(t)}))}else switch(void 0!==n&&c.push(l.get(n)),t){case"add":V(e)?te(n)&&c.push(l.get("length")):(c.push(l.get(Le)),q(e)&&c.push(l.get(Ue)));break;case"delete":V(e)||(c.push(l.get(Le)),q(e)&&c.push(l.get(Ue)));break;case"set":q(e)&&c.push(l.get(Le))}be();for(const l of c)l&&Re(l,4,"production"!==process.env.NODE_ENV?{target:e,type:t,key:n,newValue:o,oldValue:a,oldTarget:i}:void 0);ye()}const De=k("__proto__,__v_isRef,__isVue"),Oe=new Set(Object.getOwnPropertyNames(Symbol).filter((e=>"arguments"!==e&&"caller"!==e)).map((e=>Symbol[e])).filter(H)),ke=we();function we(){const e={};return["includes","indexOf","lastIndexOf"].forEach((t=>{e[t]=function(...e){const n=yt(this);for(let e=0,t=this.length;e<t;e++)Ce(n,"get",e+"");const o=n[t](...e);return-1===o||!1===o?n[t](...e.map(yt)):o}})),["push","pop","shift","unshift","splice"].forEach((t=>{e[t]=function(...e){Fe(),be();const n=yt(this)[t].apply(this,e);return ye(),Ee(),n}})),e}function Be(e){H(e)||(e=String(e));const t=yt(this);return Ce(t,"has",e),t.hasOwnProperty(e)}class Me{constructor(e=!1,t=!1){this._isReadonly=e,this._isShallow=t}get(e,t,n){const o=this._isReadonly,a=this._isShallow;if("__v_isReactive"===t)return!o;if("__v_isReadonly"===t)return o;if("__v_isShallow"===t)return a;if("__v_raw"===t)return n===(o?a?Tt:_t:a?pt:gt).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n)?e:void 0;const i=V(e);if(!o){if(i&&G(ke,t))return Reflect.get(ke,t,n);if("hasOwnProperty"===t)return Be}const l=Reflect.get(e,t,n);return(H(t)?Oe.has(t):De(t))?l:(o||Ce(e,"get",t),a?l:Pt(l)?i&&te(t)?l:l.value:j(l)?o?mt(l):It(l):l)}}class Qe extends Me{constructor(e=!1){super(!1,e)}set(e,t,n,o){let a=e[t];if(!this._isShallow){const t=Ft(a);if(Et(n)||Ft(n)||(a=yt(a),n=yt(n)),!V(e)&&Pt(a)&&!Pt(n))return!t&&(a.value=n,!0)}const i=V(e)&&te(t)?Number(t)<e.length:G(e,t),l=Reflect.set(e,t,n,o);return e===yt(o)&&(i?oe(n,a)&&xe(e,"set",t,n,a):xe(e,"add",t,n)),l}deleteProperty(e,t){const n=G(e,t),o=e[t],a=Reflect.deleteProperty(e,t);return a&&n&&xe(e,"delete",t,void 0,o),a}has(e,t){const n=Reflect.has(e,t);return H(t)&&Oe.has(t)||Ce(e,"has",t),n}ownKeys(e){return Ce(e,"iterate",V(e)?"length":Le),Reflect.ownKeys(e)}}class $e extends Me{constructor(e=!1){super(!0,e)}set(e,t){return"production"!==process.env.NODE_ENV&&ge(`Set operation on key "${String(t)}" failed: target is readonly.`,e),!0}deleteProperty(e,t){return"production"!==process.env.NODE_ENV&&ge(`Delete operation on key "${String(t)}" failed: target is readonly.`,e),!0}}const Ge=new Qe,Ve=new $e,qe=new $e(!0),Ye=e=>e,We=e=>Reflect.getPrototypeOf(e);function ze(e,t,n=!1,o=!1){const a=yt(e=e.__v_raw),i=yt(t);n||(oe(t,i)&&Ce(a,"get",t),Ce(a,"get",i));const{has:l}=We(a),c=o?Ye:n?Rt:At;return l.call(a,t)?c(e.get(t)):l.call(a,i)?c(e.get(i)):void(e!==a&&e.get(t))}function He(e,t=!1){const n=this.__v_raw,o=yt(n),a=yt(e);return t||(oe(e,a)&&Ce(o,"has",e),Ce(o,"has",a)),e===a?n.has(e):n.has(e)||n.has(a)}function je(e,t=!1){return e=e.__v_raw,!t&&Ce(yt(e),"iterate",Le),Reflect.get(e,"size",e)}function Ke(e){e=yt(e);const t=yt(this);return We(t).has.call(t,e)||(t.add(e),xe(t,"add",e,e)),this}function Xe(e,t){t=yt(t);const n=yt(this),{has:o,get:a}=We(n);let i=o.call(n,e);i?"production"!==process.env.NODE_ENV&&ft(n,o,e):(e=yt(e),i=o.call(n,e));const l=a.call(n,e);return n.set(e,t),i?oe(t,l)&&xe(n,"set",e,t,l):xe(n,"add",e,t),this}function Ze(e){const t=yt(this),{has:n,get:o}=We(t);let a=n.call(t,e);a?"production"!==process.env.NODE_ENV&&ft(t,n,e):(e=yt(e),a=n.call(t,e));const i=o?o.call(t,e):void 0,l=t.delete(e);return a&&xe(t,"delete",e,void 0,i),l}function Je(){const e=yt(this),t=0!==e.size,n="production"!==process.env.NODE_ENV?q(e)?new Map(e):new Set(e):void 0,o=e.clear();return t&&xe(e,"clear",void 0,void 0,n),o}function et(e,t){return function(n,o){const a=this,i=a.__v_raw,l=yt(i),c=t?Ye:e?Rt:At;return!e&&Ce(l,"iterate",Le),i.forEach(((e,t)=>n.call(o,c(e),c(t),a)))}}function tt(e,t,n){return function(...o){const a=this.__v_raw,i=yt(a),l=q(i),c="entries"===e||e===Symbol.iterator&&l,s="keys"===e&&l,r=a[e](...o),u=n?Ye:t?Rt:At;return!t&&Ce(i,"iterate",s?Ue:Le),{next(){const{value:e,done:t}=r.next();return t?{value:e,done:t}:{value:c?[u(e[0]),u(e[1])]:u(e),done:t}},[Symbol.iterator](){return this}}}}function nt(e){return function(...t){if("production"!==process.env.NODE_ENV){const n=t[0]?`on key "${t[0]}" `:"";ge(`${ne(e)} operation ${n}failed: target is readonly.`,yt(this))}return"delete"!==e&&("clear"===e?void 0:this)}}function ot(){const e={get(e){return ze(this,e)},get size(){return je(this)},has:He,add:Ke,set:Xe,delete:Ze,clear:Je,forEach:et(!1,!1)},t={get(e){return ze(this,e,!1,!0)},get size(){return je(this)},has:He,add:Ke,set:Xe,delete:Ze,clear:Je,forEach:et(!1,!0)},n={get(e){return ze(this,e,!0)},get size(){return je(this,!0)},has(e){return He.call(this,e,!0)},add:nt("add"),set:nt("set"),delete:nt("delete"),clear:nt("clear"),forEach:et(!0,!1)},o={get(e){return ze(this,e,!0,!0)},get size(){return je(this,!0)},has(e){return He.call(this,e,!0)},add:nt("add"),set:nt("set"),delete:nt("delete"),clear:nt("clear"),forEach:et(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach((a=>{e[a]=tt(a,!1,!1),n[a]=tt(a,!0,!1),t[a]=tt(a,!1,!0),o[a]=tt(a,!0,!0)})),[e,n,t,o]}const[at,it,lt,ct]=ot();function st(e,t){const n=t?e?ct:lt:e?it:at;return(t,o,a)=>"__v_isReactive"===o?!e:"__v_isReadonly"===o?e:"__v_raw"===o?t:Reflect.get(G(n,o)&&o in t?n:t,o,a)}const rt={get:st(!1,!1)},ut={get:st(!0,!1)},dt={get:st(!0,!0)};function ft(e,t,n){const o=yt(n);if(o!==n&&t.call(e,o)){const t=J(e);ge(`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 gt=new WeakMap,pt=new WeakMap,_t=new WeakMap,Tt=new WeakMap;function It(e){return Ft(e)?e:vt(e,!1,Ge,rt,gt)}function mt(e){return vt(e,!0,Ve,ut,_t)}function ht(e){return vt(e,!0,qe,dt,Tt)}function vt(e,t,n,o,a){if(!j(e))return"production"!==process.env.NODE_ENV&&ge(`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}}(J(c));var c;if(0===l)return e;const s=new Proxy(e,2===l?o:n);return a.set(e,s),s}function St(e){return Ft(e)?St(e.__v_raw):!(!e||!e.__v_isReactive)}function Ft(e){return!(!e||!e.__v_isReadonly)}function Et(e){return!(!e||!e.__v_isShallow)}function bt(e){return!!e&&!!e.__v_raw}function yt(e){const t=e&&e.__v_raw;return t?yt(t):e}const At=e=>j(e)?It(e):e,Rt=e=>j(e)?mt(e):e;function Pt(e){return!(!e||!0!==e.__v_isRef)}const Nt={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)}};
13
+ **/function ge(e,...t){console.warn(`[Vue warn] ${e}`,...t)}let pe;class _e{constructor(e,t,n,o){this.fn=e,this.trigger=t,this.scheduler=n,this.active=!0,this.deps=[],this._dirtyLevel=4,this._trackId=0,this._runnings=0,this._shouldSchedule=!1,this._depsLength=0,function(e,t){t&&t.active&&t.effects.push(e)}(this,o)}get dirty(){if(2===this._dirtyLevel||3===this._dirtyLevel){this._dirtyLevel=1,Fe();for(let e=0;e<this._depsLength;e++){const t=this.deps[e];if(t.computed&&(t.computed.value,this._dirtyLevel>=4))break}1===this._dirtyLevel&&(this._dirtyLevel=0),Ee()}return this._dirtyLevel>=4}set dirty(e){this._dirtyLevel=e?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let e=he,t=pe;try{return he=!0,pe=this,this._runnings++,Te(this),this.fn()}finally{Ie(this),this._runnings--,pe=t,he=e}}stop(){var e;this.active&&(Te(this),Ie(this),null==(e=this.onStop)||e.call(this),this.active=!1)}}function Te(e){e._trackId++,e._depsLength=0}function Ie(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t<e.deps.length;t++)me(e.deps[t],e);e.deps.length=e._depsLength}}function me(e,t){const n=e.get(t);void 0!==n&&t._trackId!==n&&(e.delete(t),0===e.size&&e.cleanup())}let he=!0,ve=0;const Se=[];function Fe(){Se.push(he),he=!1}function Ee(){const e=Se.pop();he=void 0===e||e}function be(){ve++}function ye(){for(ve--;!ve&&Ae.length;)Ae.shift()()}const Ae=[];function Re(e,t,n){var o;be();for(const a of e.keys()){let i;a._dirtyLevel<t&&(null!=i?i:i=e.get(a)===a._trackId)&&(a._shouldSchedule||(a._shouldSchedule=0===a._dirtyLevel),a._dirtyLevel=t),a._shouldSchedule&&(null!=i?i:i=e.get(a)===a._trackId)&&("production"!==process.env.NODE_ENV&&(null==(o=a.onTrigger)||o.call(a,$({effect:a},n))),a.trigger(),a._runnings&&!a.allowRecurse||2===a._dirtyLevel||(a._shouldSchedule=!1,a.scheduler&&Ae.push(a.scheduler)))}ye()}const Pe=(e,t)=>{const n=new Map;return n.cleanup=e,n.computed=t,n},Ne=new WeakMap,Le=Symbol("production"!==process.env.NODE_ENV?"iterate":""),Ue=Symbol("production"!==process.env.NODE_ENV?"Map key iterate":"");function Ce(e,t,n){if(he&&pe){let o=Ne.get(e);o||Ne.set(e,o=new Map);let a=o.get(n);a||o.set(n,a=Pe((()=>o.delete(n)))),function(e,t,n){var o;if(t.get(e)!==e._trackId){t.set(e,e._trackId);const a=e.deps[e._depsLength];a!==t?(a&&me(a,e),e.deps[e._depsLength++]=t):e._depsLength++,"production"!==process.env.NODE_ENV&&(null==(o=e.onTrack)||o.call(e,$({effect:e},n)))}}(pe,a,"production"!==process.env.NODE_ENV?{target:e,type:t,key:n}:void 0)}}function xe(e,t,n,o,a,i){const l=Ne.get(e);if(!l)return;let c=[];if("clear"===t)c=[...l.values()];else if("length"===n&&V(e)){const e=Number(o);l.forEach(((t,n)=>{("length"===n||!H(n)&&n>=e)&&c.push(t)}))}else switch(void 0!==n&&c.push(l.get(n)),t){case"add":V(e)?te(n)&&c.push(l.get("length")):(c.push(l.get(Le)),q(e)&&c.push(l.get(Ue)));break;case"delete":V(e)||(c.push(l.get(Le)),q(e)&&c.push(l.get(Ue)));break;case"set":q(e)&&c.push(l.get(Le))}be();for(const l of c)l&&Re(l,4,"production"!==process.env.NODE_ENV?{target:e,type:t,key:n,newValue:o,oldValue:a,oldTarget:i}:void 0);ye()}const De=k("__proto__,__v_isRef,__isVue"),Oe=new Set(Object.getOwnPropertyNames(Symbol).filter((e=>"arguments"!==e&&"caller"!==e)).map((e=>Symbol[e])).filter(H)),ke=we();function we(){const e={};return["includes","indexOf","lastIndexOf"].forEach((t=>{e[t]=function(...e){const n=yt(this);for(let e=0,t=this.length;e<t;e++)Ce(n,"get",e+"");const o=n[t](...e);return-1===o||!1===o?n[t](...e.map(yt)):o}})),["push","pop","shift","unshift","splice"].forEach((t=>{e[t]=function(...e){Fe(),be();const n=yt(this)[t].apply(this,e);return ye(),Ee(),n}})),e}function Be(e){H(e)||(e=String(e));const t=yt(this);return Ce(t,"has",e),t.hasOwnProperty(e)}class Me{constructor(e=!1,t=!1){this._isReadonly=e,this._isShallow=t}get(e,t,n){const o=this._isReadonly,a=this._isShallow;if("__v_isReactive"===t)return!o;if("__v_isReadonly"===t)return o;if("__v_isShallow"===t)return a;if("__v_raw"===t)return n===(o?a?Tt:_t:a?pt:gt).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n)?e:void 0;const i=V(e);if(!o){if(i&&G(ke,t))return Reflect.get(ke,t,n);if("hasOwnProperty"===t)return Be}const l=Reflect.get(e,t,n);return(H(t)?Oe.has(t):De(t))?l:(o||Ce(e,"get",t),a?l:Pt(l)?i&&te(t)?l:l.value:j(l)?o?mt(l):It(l):l)}}class $e extends Me{constructor(e=!1){super(!1,e)}set(e,t,n,o){let a=e[t];if(!this._isShallow){const t=Ft(a);if(Et(n)||Ft(n)||(a=yt(a),n=yt(n)),!V(e)&&Pt(a)&&!Pt(n))return!t&&(a.value=n,!0)}const i=V(e)&&te(t)?Number(t)<e.length:G(e,t),l=Reflect.set(e,t,n,o);return e===yt(o)&&(i?oe(n,a)&&xe(e,"set",t,n,a):xe(e,"add",t,n)),l}deleteProperty(e,t){const n=G(e,t),o=e[t],a=Reflect.deleteProperty(e,t);return a&&n&&xe(e,"delete",t,void 0,o),a}has(e,t){const n=Reflect.has(e,t);return H(t)&&Oe.has(t)||Ce(e,"has",t),n}ownKeys(e){return Ce(e,"iterate",V(e)?"length":Le),Reflect.ownKeys(e)}}class Qe extends Me{constructor(e=!1){super(!0,e)}set(e,t){return"production"!==process.env.NODE_ENV&&ge(`Set operation on key "${String(t)}" failed: target is readonly.`,e),!0}deleteProperty(e,t){return"production"!==process.env.NODE_ENV&&ge(`Delete operation on key "${String(t)}" failed: target is readonly.`,e),!0}}const Ge=new $e,Ve=new Qe,qe=new Qe(!0),Ye=e=>e,We=e=>Reflect.getPrototypeOf(e);function ze(e,t,n=!1,o=!1){const a=yt(e=e.__v_raw),i=yt(t);n||(oe(t,i)&&Ce(a,"get",t),Ce(a,"get",i));const{has:l}=We(a),c=o?Ye:n?Rt:At;return l.call(a,t)?c(e.get(t)):l.call(a,i)?c(e.get(i)):void(e!==a&&e.get(t))}function He(e,t=!1){const n=this.__v_raw,o=yt(n),a=yt(e);return t||(oe(e,a)&&Ce(o,"has",e),Ce(o,"has",a)),e===a?n.has(e):n.has(e)||n.has(a)}function je(e,t=!1){return e=e.__v_raw,!t&&Ce(yt(e),"iterate",Le),Reflect.get(e,"size",e)}function Ke(e){e=yt(e);const t=yt(this);return We(t).has.call(t,e)||(t.add(e),xe(t,"add",e,e)),this}function Xe(e,t){t=yt(t);const n=yt(this),{has:o,get:a}=We(n);let i=o.call(n,e);i?"production"!==process.env.NODE_ENV&&ft(n,o,e):(e=yt(e),i=o.call(n,e));const l=a.call(n,e);return n.set(e,t),i?oe(t,l)&&xe(n,"set",e,t,l):xe(n,"add",e,t),this}function Ze(e){const t=yt(this),{has:n,get:o}=We(t);let a=n.call(t,e);a?"production"!==process.env.NODE_ENV&&ft(t,n,e):(e=yt(e),a=n.call(t,e));const i=o?o.call(t,e):void 0,l=t.delete(e);return a&&xe(t,"delete",e,void 0,i),l}function Je(){const e=yt(this),t=0!==e.size,n="production"!==process.env.NODE_ENV?q(e)?new Map(e):new Set(e):void 0,o=e.clear();return t&&xe(e,"clear",void 0,void 0,n),o}function et(e,t){return function(n,o){const a=this,i=a.__v_raw,l=yt(i),c=t?Ye:e?Rt:At;return!e&&Ce(l,"iterate",Le),i.forEach(((e,t)=>n.call(o,c(e),c(t),a)))}}function tt(e,t,n){return function(...o){const a=this.__v_raw,i=yt(a),l=q(i),c="entries"===e||e===Symbol.iterator&&l,s="keys"===e&&l,r=a[e](...o),u=n?Ye:t?Rt:At;return!t&&Ce(i,"iterate",s?Ue:Le),{next(){const{value:e,done:t}=r.next();return t?{value:e,done:t}:{value:c?[u(e[0]),u(e[1])]:u(e),done:t}},[Symbol.iterator](){return this}}}}function nt(e){return function(...t){if("production"!==process.env.NODE_ENV){const n=t[0]?`on key "${t[0]}" `:"";ge(`${ne(e)} operation ${n}failed: target is readonly.`,yt(this))}return"delete"!==e&&("clear"===e?void 0:this)}}function ot(){const e={get(e){return ze(this,e)},get size(){return je(this)},has:He,add:Ke,set:Xe,delete:Ze,clear:Je,forEach:et(!1,!1)},t={get(e){return ze(this,e,!1,!0)},get size(){return je(this)},has:He,add:Ke,set:Xe,delete:Ze,clear:Je,forEach:et(!1,!0)},n={get(e){return ze(this,e,!0)},get size(){return je(this,!0)},has(e){return He.call(this,e,!0)},add:nt("add"),set:nt("set"),delete:nt("delete"),clear:nt("clear"),forEach:et(!0,!1)},o={get(e){return ze(this,e,!0,!0)},get size(){return je(this,!0)},has(e){return He.call(this,e,!0)},add:nt("add"),set:nt("set"),delete:nt("delete"),clear:nt("clear"),forEach:et(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach((a=>{e[a]=tt(a,!1,!1),n[a]=tt(a,!0,!1),t[a]=tt(a,!1,!0),o[a]=tt(a,!0,!0)})),[e,n,t,o]}const[at,it,lt,ct]=ot();function st(e,t){const n=t?e?ct:lt:e?it:at;return(t,o,a)=>"__v_isReactive"===o?!e:"__v_isReadonly"===o?e:"__v_raw"===o?t:Reflect.get(G(n,o)&&o in t?n:t,o,a)}const rt={get:st(!1,!1)},ut={get:st(!0,!1)},dt={get:st(!0,!0)};function ft(e,t,n){const o=yt(n);if(o!==n&&t.call(e,o)){const t=J(e);ge(`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 gt=new WeakMap,pt=new WeakMap,_t=new WeakMap,Tt=new WeakMap;function It(e){return Ft(e)?e:vt(e,!1,Ge,rt,gt)}function mt(e){return vt(e,!0,Ve,ut,_t)}function ht(e){return vt(e,!0,qe,dt,Tt)}function vt(e,t,n,o,a){if(!j(e))return"production"!==process.env.NODE_ENV&&ge(`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}}(J(c));var c;if(0===l)return e;const s=new Proxy(e,2===l?o:n);return a.set(e,s),s}function St(e){return Ft(e)?St(e.__v_raw):!(!e||!e.__v_isReactive)}function Ft(e){return!(!e||!e.__v_isReadonly)}function Et(e){return!(!e||!e.__v_isShallow)}function bt(e){return!!e&&!!e.__v_raw}function yt(e){const t=e&&e.__v_raw;return t?yt(t):e}const At=e=>j(e)?It(e):e,Rt=e=>j(e)?mt(e):e;function Pt(e){return!(!e||!0!==e.__v_isRef)}const Nt={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)}};
14
14
  /**
15
- * @vue/runtime-core v3.4.25
15
+ * @vue/runtime-core v3.4.22
16
16
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
17
17
  * @license MIT
18
18
  **/
19
- const Lt=[];function Ut(e,...t){Fe();const n=Lt.length?Lt[Lt.length-1].component:null,o=n&&n.appContext.config.warnHandler,a=function(){let e=Lt[Lt.length-1];if(!e)return[];const t=[];for(;e;){const n=t[0];n&&n.vnode===e?n.recurseCount++:t.push({vnode:e,recurseCount:0});const o=e.component&&e.component.parent;e=o&&o.vnode}return t}();if(o)Ot(o,n,11,[e+t.map((e=>{var t,n;return null!=(n=null==(t=e.toString)?void 0:t.call(e))?n:JSON.stringify(e)})).join(""),n&&n.proxy,a.map((({vnode:e})=>`at <${Jn(n,e.type)}>`)).join("\n"),a]);else{const n=[`[Vue warn]: ${e}`,...t];a.length&&n.push("\n",...function(e){const t=[];return e.forEach(((e,n)=>{t.push(...0===n?[]:["\n"],...function({vnode:e,recurseCount:t}){const n=t>0?`... (${t} recursive calls)`:"",o=!!e.component&&null==e.component.parent,a=` at <${Jn(e.component,e.type,o)}`,i=">"+n;return e.props?[a,...Ct(e.props),i]:[a+i]}(e))})),t}(a)),console.warn(...n)}Ee()}function Ct(e){const t=[],n=Object.keys(e);return n.slice(0,3).forEach((n=>{t.push(...xt(n,e[n]))})),n.length>3&&t.push(" ..."),t}function xt(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=xt(e,yt(t.value),!0),n?t:[`${e}=Ref<`,t,">"]):W(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=yt(t),n?t:[`${e}=`,t])}const Dt={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",0:"setup function",1:"render function",2:"watcher getter",3:"watcher callback",4:"watcher cleanup function",5:"native event handler",6:"component event handler",7:"vnode hook",8:"directive hook",9:"transition hook",10:"app errorHandler",11:"app warnHandler",12:"ref function",13:"async component loader",14:"scheduler flush. This is likely a Vue internals bug. Please open an issue at https://github.com/vuejs/core ."};function Ot(e,t,n,o){try{return o?e(...o):e()}catch(e){wt(e,t,n)}}function kt(e,t,n,o){if(W(e)){const a=Ot(e,t,n,o);return a&&K(a)&&a.catch((e=>{wt(e,t,n)})),a}if(V(e)){const a=[];for(let i=0;i<e.length;i++)a.push(kt(e[i],t,n,o));return a}"production"!==process.env.NODE_ENV&&Ut("Invalid value type passed to callWithAsyncErrorHandling(): "+typeof e)}function wt(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?Dt[n]:`https://vuejs.org/error-reference/#runtime-${n}`;for(;o;){const t=o.ec;if(t)for(let n=0;n<t.length;n++)if(!1===t[n](e,a,i))return;o=o.parent}const l=t.appContext.config.errorHandler;if(l)return Fe(),Ot(l,null,10,[e,a,i]),void Ee()}!function(e,t,n,o=!0){if("production"!==process.env.NODE_ENV){const i=Dt[t];if(n&&(a=n,Lt.push(a)),Ut("Unhandled error"+(i?` during execution of ${i}`:"")),n&&Lt.pop(),o)throw e;console.error(e)}else console.error(e);var a}(e,n,a,o)}let Bt=!1,Mt=!1;const Qt=[];let $t=0;const Gt=[];let Vt=null,qt=0;const Yt=Promise.resolve();let Wt=null;const zt=100;function Ht(e){const t=Wt||Yt;return e?t.then(this?e.bind(this):e):t}function jt(e){Qt.length&&Qt.includes(e,Bt&&e.allowRecurse?$t+1:$t)||(null==e.id?Qt.push(e):Qt.splice(function(e){let t=$t+1,n=Qt.length;for(;t<n;){const o=t+n>>>1,a=Qt[o],i=Zt(a);i<e||i===e&&a.pre?t=o+1:n=o}return t}(e.id),0,e),Kt())}function Kt(){Bt||Mt||(Mt=!0,Wt=Yt.then(en))}function Xt(e){V(e)?Gt.push(...e):Vt&&Vt.includes(e,e.allowRecurse?qt+1:qt)||Gt.push(e),Kt()}const Zt=e=>null==e.id?1/0:e.id,Jt=(e,t)=>{const n=Zt(e)-Zt(t);if(0===n){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function en(e){Mt=!1,Bt=!0,"production"!==process.env.NODE_ENV&&(e=e||new Map),Qt.sort(Jt);const t="production"!==process.env.NODE_ENV?t=>tn(e,t):B;try{for($t=0;$t<Qt.length;$t++){const e=Qt[$t];if(e&&!1!==e.active){if("production"!==process.env.NODE_ENV&&t(e))continue;Ot(e,null,14)}}}finally{$t=0,Qt.length=0,function(e){if(Gt.length){const t=[...new Set(Gt)].sort(((e,t)=>Zt(e)-Zt(t)));if(Gt.length=0,Vt)return void Vt.push(...t);for(Vt=t,"production"!==process.env.NODE_ENV&&(e=e||new Map),qt=0;qt<Vt.length;qt++)"production"!==process.env.NODE_ENV&&tn(e,Vt[qt])||Vt[qt]();Vt=null,qt=0}}(e),Bt=!1,Wt=null,(Qt.length||Gt.length)&&en(e)}}function tn(e,t){if(e.has(t)){const n=e.get(t);if(n>zt){const e=t.ownerInstance,n=e&&Zn(e.type);return wt(`Maximum recursive updates exceeded${n?` in component <${n}>`:""}. This means you have a reactive effect that is mutating its own dependencies and thus recursively triggering itself. Possible sources include component template, render function, updated hook or watcher source function.`,null,10),!0}e.set(t,n+1)}else e.set(t,1)}const nn=new Set;"production"!==process.env.NODE_ENV&&(le().__VUE_HMR_RUNTIME__={createRecord:cn((function(e,t){if(on.has(e))return!1;return on.set(e,{initialDef:an(t),instances:new Set}),!0})),rerender:cn((function(e,t){const n=on.get(e);if(!n)return;n.initialDef.render=t,[...n.instances].forEach((e=>{t&&(e.render=t,an(e.type).render=t),e.renderCache=[],e.effect.dirty=!0,e.update()}))})),reload:cn((function(e,t){const n=on.get(e);if(!n)return;t=an(t),ln(n.initialDef,t);const o=[...n.instances];for(const e of o){const o=an(e.type);nn.has(o)||(o!==n.initialDef&&ln(o,t),nn.add(o)),e.appContext.propsCache.delete(e.type),e.appContext.emitsCache.delete(e.type),e.appContext.optionsCache.delete(e.type),e.ceReload?(nn.add(o),e.ceReload(t.styles),nn.delete(o)):e.parent?(e.parent.effect.dirty=!0,jt(e.parent.update)):e.appContext.reload?e.appContext.reload():"undefined"!=typeof window?window.location.reload():console.warn("[HMR] Root or manually mounted instance modified. Full reload required.")}Xt((()=>{for(const e of o)nn.delete(an(e.type))}))}))});const on=new Map;function an(e){return eo(e)?e.__vccOpts:e}function ln(e,t){Q(e,t);for(const n in e)"__file"===n||n in t||delete e[n]}function cn(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 sn=null,rn=null;const un=Symbol.for("v-ndc");const dn=Symbol.for("v-scx"),fn=()=>{{const e=function(e,t,n=!1){const o=zn||sn;if(o||Ln){const a=o?null==o.parent?o.vnode.appContext&&o.vnode.appContext.provides:o.parent.provides:Ln._context.provides;if(a&&e in a)return a[e];if(arguments.length>1)return n&&W(t)?t.call(o&&o.proxy):t;"production"!==process.env.NODE_ENV&&Ut(`injection "${String(e)}" not found.`)}else"production"!==process.env.NODE_ENV&&Ut("inject() can only be used inside setup() or functional components.")}(dn);return e||"production"!==process.env.NODE_ENV&&Ut("Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build."),e}},gn={};function pn(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;W(t)?i=t:(i=t.handler,n=t);const l=Hn(this),c=function(e,t,{immediate:n,deep:o,flush:a,once:i,onTrack:l,onTrigger:c}=w){if(t&&i){const e=t;t=(...t)=>{e(...t),S()}}"production"!==process.env.NODE_ENV&&void 0!==o&&"number"==typeof o&&Ut('watch() "deep" option with number value will be used as watch depth in future versions. Please use a boolean instead to avoid potential breakage.'),"production"===process.env.NODE_ENV||t||(void 0!==n&&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.'),void 0!==i&&Ut('watch() "once" 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.")},r=zn,u=e=>!0===o?e:_n(e,!1===o?1:void 0);let d,f,g=!1,p=!1;if(Pt(e)?(d=()=>e.value,g=Et(e)):St(e)?(d=()=>u(e),g=!0):V(e)?(p=!0,g=e.some((e=>St(e)||Et(e))),d=()=>e.map((e=>Pt(e)?e.value:St(e)?u(e):W(e)?Ot(e,r,2):void("production"!==process.env.NODE_ENV&&s(e))))):W(e)?d=t?()=>Ot(e,r,2):()=>(f&&f(),kt(e,r,3,[T])):(d=B,"production"!==process.env.NODE_ENV&&s(e)),t&&o){const e=d;d=()=>_n(e())}let _,T=e=>{f=v.onStop=()=>{Ot(e,r,4),f=v.onStop=void 0}};if(jn){if(T=B,t?n&&kt(t,r,3,[d(),p?[]:void 0,T]):d(),"sync"!==a)return B;{const e=fn();_=e.__watcherHandles||(e.__watcherHandles=[])}}let I=p?new Array(e.length).fill(gn):gn;const m=()=>{if(v.active&&v.dirty)if(t){const e=v.run();(o||g||(p?e.some(((e,t)=>oe(e,I[t]))):oe(e,I)))&&(f&&f(),kt(t,r,3,[e,I===gn?void 0:p&&I[0]===gn?[]:I,T]),I=e)}else v.run()};let h;m.allowRecurse=!!t,"sync"===a?h=m:"post"===a?h=()=>xn(m,r&&r.suspense):(m.pre=!0,r&&(m.id=r.uid),h=()=>jt(m));const v=new _e(d,B,h),S=()=>{v.stop()};return"production"!==process.env.NODE_ENV&&(v.onTrack=l,v.onTrigger=c),t?n?m():I=v.run():"post"===a?xn(v.run.bind(v),r&&r.suspense):v.run(),_&&_.push(S),S}(a,i.bind(o),n);return l(),c}function _n(e,t,n=0,o){if(!j(e)||e.__v_skip)return e;if(t&&t>0){if(n>=t)return e;n++}if((o=o||new Set).has(e))return e;if(o.add(e),Pt(e))_n(e.value,t,n,o);else if(V(e))for(let a=0;a<e.length;a++)_n(e[a],t,n,o);else if(Y(e)||q(e))e.forEach((e=>{_n(e,t,n,o)}));else if(ee(e))for(const a in e)_n(e[a],t,n,o);return e}
20
- /*! #__NO_SIDE_EFFECTS__ */function Tn(e,t){return W(e)?(()=>Q({name:e.name},t,{setup:e}))():e}const In=e=>e?4&e.vnode.shapeFlag?function(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy((n=e.exposed,Object.isExtensible(n)&&ae(n,"__v_skip",!0),St(t=n)?t:new Proxy(t,Nt)),{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:In(e.parent):null,mn=Q(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>"production"!==process.env.NODE_ENV?ht(e.props):e.props,$attrs:e=>"production"!==process.env.NODE_ENV?ht(e.attrs):e.attrs,$slots:e=>"production"!==process.env.NODE_ENV?ht(e.slots):e.slots,$refs:e=>"production"!==process.env.NODE_ENV?ht(e.refs):e.refs,$parent:e=>In(e.parent),$root:e=>In(e.root),$emit:e=>e.emit,$options:e=>__VUE_OPTIONS_API__?function(e){const t=e.type,{mixins:n,extends:o}=t,{mixins:a,optionsCache:i,config:{optionMergeStrategies:l}}=e.appContext,c=i.get(t);let s;c?s=c:a.length||n||o?(s={},a.length&&a.forEach((e=>En(s,e,l,!0))),En(s,t,l)):s=t;j(t)&&i.set(t,s);return s}(e):e.type,$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,jt(e.update)}),$nextTick:e=>e.n||(e.n=Ht.bind(e.proxy)),$watch:e=>__VUE_OPTIONS_API__?pn.bind(e):B}),hn=(e,t)=>e!==w&&!e.__isScriptSetup&&G(e,t),vn={get({_:e},t){if("__v_skip"===t)return!0;const{ctx:n,setupState:o,data:a,props:i,accessCache:l,type:c,appContext:s}=e;if("production"!==process.env.NODE_ENV&&"__isVue"===t)return!0;let r;if("$"!==t[0]){const c=l[t];if(void 0!==c)switch(c){case 1:return o[t];case 2:return a[t];case 4:return n[t];case 3:return i[t]}else{if(hn(o,t))return l[t]=1,o[t];if(a!==w&&G(a,t))return l[t]=2,a[t];if((r=e.propsOptions[0])&&G(r,t))return l[t]=3,i[t];if(n!==w&&G(n,t))return l[t]=4,n[t];__VUE_OPTIONS_API__&&!Fn||(l[t]=0)}}const u=mn[t];let d,f;return u?("$attrs"===t?(Ce(e.attrs,"get",""),process.env.NODE_ENV):"production"!==process.env.NODE_ENV&&"$slots"===t&&Ce(e,"get",t),u(e)):(d=c.__cssModules)&&(d=d[t])?d:n!==w&&G(n,t)?(l[t]=4,n[t]):(f=s.config.globalProperties,G(f,t)?f[t]:void("production"===process.env.NODE_ENV||!sn||z(t)&&0===t.indexOf("__v")||(a!==w&&(e=>"_"===e||"$"===e)(t[0])&&G(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===sn&&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 hn(a,t)?(a[t]=n,!0):"production"!==process.env.NODE_ENV&&a.__isScriptSetup&&G(a,t)?(Ut(`Cannot mutate <script setup> binding "${t}" from Options API.`),!1):o!==w&&G(o,t)?(o[t]=n,!0):G(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!==w&&G(e,l)||hn(t,l)||(c=i[0])&&G(c,l)||G(o,l)||G(mn,l)||G(a.config.globalProperties,l)},defineProperty(e,t,n){return null!=n.get?e._.accessCache[t]=0:G(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Sn(e){return V(e)?e.reduce(((e,t)=>(e[t]=null,e)),{}):e}"production"!==process.env.NODE_ENV&&(vn.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 Fn=!0;function En(e,t,n,o=!1){const{mixins:a,extends:i}=t;i&&En(e,i,n,!0),a&&a.forEach((t=>En(e,t,n,!0)));for(const a in t)if(o&&"expose"===a)"production"!==process.env.NODE_ENV&&Ut('"expose" option is ignored when declared in mixins or extends. It should only be declared in the base component itself.');else{const o=bn[a]||n&&n[a];e[a]=o?o(e[a],t[a]):t[a]}return e}const bn={data:yn,props:Nn,emits:Nn,methods:Pn,computed:Pn,beforeCreate:Rn,created:Rn,beforeMount:Rn,mounted:Rn,beforeUpdate:Rn,updated:Rn,beforeDestroy:Rn,beforeUnmount:Rn,destroyed:Rn,unmounted:Rn,activated:Rn,deactivated:Rn,errorCaptured:Rn,serverPrefetch:Rn,components:Pn,directives:Pn,watch:function(e,t){if(!e)return t;if(!t)return e;const n=Q(Object.create(null),e);for(const o in t)n[o]=Rn(e[o],t[o]);return n},provide:yn,inject:function(e,t){return Pn(An(e),An(t))}};function yn(e,t){return t?e?function(){return Q(W(e)?e.call(this,this):e,W(t)?t.call(this,this):t)}:t:e}function An(e){if(V(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Rn(e,t){return e?[...new Set([].concat(e,t))]:t}function Pn(e,t){return e?Q(Object.create(null),e,t):t}function Nn(e,t){return e?V(e)&&V(t)?[...new Set([...e,...t])]:Q(Object.create(null),Sn(e),Sn(null!=t?t:{})):t}let Ln=null;const Un={},Cn=e=>Object.getPrototypeOf(e)===Un,xn=function(e,t){t&&t.pendingBranch?V(e)?t.effects.push(...e):t.effects.push(e):Xt(e)},Dn=Symbol.for("v-fgt"),On=Symbol.for("v-txt"),kn=Symbol.for("v-cmt");let wn=null;const Bn=({key:e})=>null!=e?e:null,Mn=({ref:e,ref_key:t,ref_for:n})=>("number"==typeof e&&(e=""+e),null!=e?z(e)||Pt(e)||W(e)?{i:sn,r:e,k:t,f:!!n}:e:null);const Qn="production"!==process.env.NODE_ENV?(...e)=>$n(...e):$n;function $n(e,t=null,n=null,o=0,a=null,i=!1){if(e&&e!==un||("production"===process.env.NODE_ENV||e||Ut(`Invalid vnode type when creating vnode: ${e}.`),e=kn),(l=e)&&!0===l.__v_isVNode){const o=Gn(e,t,!0);return n&&Yn(o,n),!i&&wn&&(6&o.shapeFlag?wn[wn.indexOf(e)]=o:wn.push(o)),o.patchFlag|=-2,o}var l;if(eo(e)&&(e=e.__vccOpts),t){t=function(e){return e?bt(e)||Cn(e)?Q({},e):e:null}(t);let{class:e,style:n}=t;e&&!z(e)&&(t.class=fe(e)),j(n)&&(bt(n)&&!V(n)&&(n=Q({},n)),t.style=ce(n))}const c=z(e)?1:(e=>e.__isSuspense)(e)?128:(e=>e.__isTeleport)(e)?64:j(e)?4:W(e)?2:0;return"production"!==process.env.NODE_ENV&&4&c&&bt(e)&&Ut("Vue received a Component that was made a reactive object. This can lead to unnecessary performance overhead and should be avoided by marking the component with `markRaw` or using `shallowRef` instead of `ref`.","\nComponent that was made reactive: ",e=yt(e)),function(e,t=null,n=null,o=0,a=null,i=(e===Dn?0:1),l=!1,c=!1){const s={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Bn(t),ref:t&&Mn(t),scopeId:rn,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:o,dynamicProps:a,dynamicChildren:null,appContext:null,ctx:sn};return c?(Yn(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&&wn&&(s.patchFlag>0||6&i)&&32!==s.patchFlag&&wn.push(s),s}(e,t,n,o,a,c,i,!0)}function Gn(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=fe([t.class,o.class]));else if("style"===e)t.style=ce([t.style,o.style]);else if(M(e)){const n=t[e],a=o[e];!a||n===a||V(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&&Bn(c),ref:t&&t.ref?n&&a?V(a)?a.concat(Mn(t)):[a,Mn(t)]:Mn(t):a,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:"production"!==process.env.NODE_ENV&&-1===i&&V(l)?l.map(Vn):l,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Dn?-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&&Gn(e.ssContent),ssFallback:e.ssFallback&&Gn(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function Vn(e){const t=Gn(e);return V(e.children)&&(t.children=e.children.map(Vn)),t}function qn(e=" ",t=0){return Qn(On,null,e,t)}function Yn(e,t){let n=0;const{shapeFlag:o}=e;if(null==t)t=null;else if(V(t))n=16;else if("object"==typeof t){if(65&o){const n=t.default;return void(n&&(n._c&&(n._d=!1),Yn(e,n()),n._c&&(n._d=!0)))}{n=32;const o=t._;o||Cn(t)?3===o&&sn&&(1===sn.slots._?t._=1:(t._=2,e.patchFlag|=1024)):t._ctx=sn}}else W(t)?(t={default:t,_ctx:sn},n=32):(t=String(t),64&o?(n=16,t=[qn(t)]):n=8);e.children=t,e.shapeFlag|=n}let Wn,zn=null;{const e=le(),t=(t,n)=>{let o;return(o=e[t])||(o=e[t]=[]),o.push(n),e=>{o.length>1?o.forEach((t=>t(e))):o[0](e)}};Wn=t("__VUE_INSTANCE_SETTERS__",(e=>zn=e)),t("__VUE_SSR_SETTERS__",(e=>jn=e))}const Hn=e=>{const t=zn;return Wn(e),e.scope.on(),()=>{e.scope.off(),Wn(t)}};let jn=!1;process.env.NODE_ENV;const Kn=/(?:^|[-_])(\w)/g,Xn=e=>e.replace(Kn,(e=>e.toUpperCase())).replace(/[-_]/g,"");function Zn(e,t=!0){return W(e)?e.displayName||e.name:e.name||t&&e.__name}function Jn(e,t,n=!1){let o=Zn(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?Xn(o):n?"App":"Anonymous"}function eo(e){return W(e)&&"__vccOpts"in e}function to(e){return{dispatchFunctionBySid:(t,n,o)=>{e.value&&N.callUIFunction(e.value,"dispatchFunctionBySid",[t,n,o])},requestFocus:()=>{e.value&&N.callUIFunction(e.value,"requestFocus")},clearFocus:()=>{e.value&&N.callUIFunction(e.value,"clearFocus")},requestFocusDirectly:()=>{e.value&&N.callUIFunction(e.value,"requestFocusDirectly")},setVisibility:t=>{e.value&&N.callUIFunction(e.value,"changeVisibility",[t])}}}process.env.NODE_ENV,process.env.NODE_ENV,process.env.NODE_ENV;var no=Tn({name:"qt-view",emits:["clearFocus"],setup(t,n){const o=e();return{viewRef:o,...to(o)}}});const oo={clipChildren:!1,ref:"viewRef"};no.render=function(e,a,i,l,c,s){return t(),n("div",oo,[o(e.$slots,"default")],512)},no.__file="src/view/index.vue";var ao=Tn({name:"qt-text",setup(t,n){const o=e();return{viewRef:o,...to(o)}}});ao.render=function(e,n,o,l,c,s){const r=a("text-view");return t(),i(r,{ref:"viewRef"},null,512)},ao.__file="src/text/index.vue";var io=Tn({name:"qt-image",setup(t,n){const o=e();return{viewRef:o,...to(o)}}});const lo={src:"",alt:"",clipChildren:!1,ref:"viewRef"};io.render=function(e,o,a,i,l,c){return t(),n("img",lo,null,512)},io.__file="src/image/index.vue";var co=Tn({name:"qt-column",setup(t,n){const o=e();return{viewRef:o,...to(o)}}});const so={class:"qt-ui-row-css",clipChildren:!1,ref:"viewRef"};co.render=function(e,a,i,l,c,s){return t(),n("div",so,[o(e.$slots,"default")],512)},co.__scopeId="data-v-734c04b2",co.__file="src/column/index.vue";var ro=Tn({name:"qt-row",setup(t,n){const o=e();return{viewRef:o,...to(o)}}});const uo={class:"qt-ui-row-css",clipChildren:!1,ref:"viewRef"};ro.render=function(e,a,i,l,c,s){return t(),n("div",uo,[o(e.$slots,"default")],512)},ro.__scopeId="data-v-9c454b58",ro.__file="src/row/index.vue";var fo=l({name:"qt-button",props:{size:{type:String,default:"default"},itemType:{type:Number,default:2e4},focusBorder:{type:Boolean,default:!1},focusScale:{type:Number,default:1.08},focusable:{type:Boolean,default:!0},enableFlexStyle:{type:Boolean,default:!1},icon:{type:String,default:null},focusIcon:{type:String,default:null},text:{type:String,default:""},gradientFocusBackground:{type:Object,default:()=>{}},gradientSelectedBackground:{type:Object,default:()=>null},gradientBackground:{type:Object,default:()=>null},disabled:Boolean,circle:Boolean,round:Boolean,square:Boolean,buttonStyle:Object,textStyle:Object,iconStyle:Object,focusIconStyle:Object,iconParentStyle:Object},emits:["focus","click"],setup(t,n){const o=e(),a=e(!1);return{buttonRef:o,focused:a,onFocus:function(e){a.value=e.isFocused,n.emit("focus",e.isFocused)},onClick:function(e){n.emit("click")},...to(o)}}});const go=["focusable","enableFocusBorder","focusScale"],po=["gradientBackground"],_o=["gradientBackground"],To=["gradientBackground"],Io=["src"],mo=["src"];fo.render=function(e,l,d,f,g,p){const _=a("text-view");return t(),n("div",{ref:"buttonRef",clipChildren:!1,focusable:e.focusable,enableFocusBorder:e.focusBorder,focusScale:e.focusScale,onClick:l[0]||(l[0]=(...t)=>e.onClick&&e.onClick(...t)),name:"textButton",eventClick:"",eventFocus:"",onFocus:l[1]||(l[1]=(...t)=>e.onFocus&&e.onFocus(...t)),style:c(e.buttonStyle),class:s(["quick-button--default",e.size?"quick-button--"+e.size:"",{"is-disabled-button":e.disabled,"is-circle":e.circle,"is-round":e.round,"is-square":e.square}])},[r(" gradient "),e.gradientFocusBackground?(t(),n("div",{key:0,class:"button-gradient-background-css",gradientBackground:e.gradientFocusBackground,focusable:!1,showOnState:"focused"},null,8,po)):r("v-if",!0),e.gradientSelectedBackground?(t(),n("div",{key:1,class:"button-gradient-background-css",gradientBackground:e.gradientSelectedBackground,focusable:!1,showOnState:"selected"},null,8,_o)):r("v-if",!0),e.gradientBackground?(t(),n("div",{key:2,class:"button-gradient-background-css",gradientBackground:e.gradientBackground,focusable:!1,showOnState:"normal"},null,8,To)):r("v-if",!0),r(" -----------------------------icon--------------------------------- "),!e.icon&&!e.focusIcon||e.$slots.default?r("v-if",!0):(t(),n("div",{key:3,duplicateParentState:!0,style:c(e.iconParentStyle),flexStyle:"${iconParentStyle}",class:s(["quick-button-icon-parent",e.size?"quick-button-icon--parent"+e.size:""])},[e.icon&&!e.$slots.default?(t(),n("img",{key:0,style:c(e.iconStyle),flexStyle:"${iconStyle}",duplicateParentState:!0,class:s(["quick-button-icon",e.size?"quick-button-icon--"+e.size:"",{"is-square-icon":e.square}]),focusable:!1,src:e.enableFlexStyle?"${"+e.icon+"}":e.icon,showOnState:"normal"},null,14,Io)):r("v-if",!0),e.focusIcon&&!e.$slots.default?(t(),n("img",{key:1,style:c(e.focusIconStyle?e.focusIconStyle:e.iconStyle),flexStyle:"${iconStyle}",class:s(["quick-button-icon",e.size?"quick-button-icon--"+e.size:"",{"is-square-icon":e.square}]),focusable:!1,duplicateParentState:!0,src:e.enableFlexStyle?"${"+e.focusIcon+"}":e.focusIcon,showOnState:"focused"},null,14,mo)):r("v-if",!0)],6)),r(" ------------------------------------------------------------------- "),r(" text "),e.enableFlexStyle?(t(),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},u(e.text),7)):r("v-if",!0),o(e.$slots,"default")],46,go)},fo.__scopeId="data-v-46a594e4",fo.__file="src/button/index.vue";let ho,vo=[];class So{fn;scheduler;active=!0;deeps=[];constructor(e,t){this.fn=e,this.scheduler=t}run(){if(!this.active)return this.fn();if(!vo.includes(this))try{return vo.push(ho=this),this.fn()}finally{vo.pop(),ho=vo[vo.length-1]}}stop(){this.active&&(!function(e){const{deeps:t}=e;for(const n of t)n.delete(e)}(this),this.active=!1)}}function Fo(){return void 0!==ho}const Eo=new WeakMap;function bo(e){e&&Eo.delete(e)}function yo(e,t){if(!Fo()||null==e)return;let n=Eo.get(e);if(n||Eo.set(e,n=new Map),null!=t){let e=n.get(t);e||n.set(t,e=new Set),Ao(e)}}function Ao(e){e.has(ho)||(e.add(ho),ho.deeps.push(e))}function Ro(e,t,n,o,a){let i=Eo.get(e);if(!i)return;let l=[];if(null!=t){let e=i.get(t);e||(e=i.get("__ls_watchAll")),e&&l.push(e)}let c=[];for(const e of l)c.push(...e);Po(c,e,t,n,o,a)}function Po(e,t,n,o,a,i){for(const l of e)if(l!==ho){if(l.scheduler)return l.scheduler(t,n,o,a,i);l.run(t,n,o,a,i)}}class No{start;end;deleteCount;datas=new Map;names=new Map;dataArr;updateCount=0;rootUpdateCount=0;deth=-1;constructor(e,t,n=-1){this.start=e,this.end=t,this.deleteCount=n}resetData(){this.start=-1,this.end=-1,this.deleteCount=1,this.datas.size&&(this.datas=new Map)}}const Lo={set:"set",qtSet:"__qt_set",push:"push",splice:"splice",pop:"pop",concat:"concat",unknownSet:"__qt_unknownSet",currentType:"__qt_currentType",expectCangeNum:"__qt_expectCangeNum",isInit:"__qt_is_init",shift:"shift",unshift:"unshift",newDatas:"__qt_new_datas"},Uo=(e=1,t)=>{const n=new Map;return t.forEach(((t,o)=>{let a=o;Array.isArray(o)&&e>0&&(a=o.slice(0,e).join()),n.set(a,t)})),n},Co=e=>{const t=new Map;let n=-1;return e.datas.forEach(((o,a)=>{const i=Array.isArray(a)?Number(a[0]):Number(a);console.log(i,"--_start");let l=t.get(n);if(l&&i>=l.start&&i<=l.end+1)l.updateCount++,i!=l.end&&l.rootUpdateCount++,l.end=i,l.datas.set(a,o);else{const c=1;l=new No(i,i),l.updateCount=c,l.rootUpdateCount=c,l.datas.set(a,o),l.deth=e.deth,n=i,t.set(n,l)}e.names.get(a)&&l.names.set(a,e.names.get(a))})),t};const xo=new class{targetFlags=new WeakMap;targetMaps=new WeakMap;getFlag(e){let t=this.targetFlags.get(e);return t||this.targetFlags.set(e,t=new Map),t}getTargetType(e,t){return this.getType(e)?.get(t)}getType(e){return this.targetMaps.get(e)}setType(e,t,n){let o=this.targetMaps.get(e);o||this.targetMaps.set(e,o=new Map),o.set(t,n),this.getFlag(e).set(Lo.currentType,t)}deleteType(e,t){if("object"!=typeof e)return;let n=this.targetMaps.get(e);this.targetFlags.delete(e),n&&(t?n.delete(t):this.targetMaps.delete(e))}changeTypeData(e,t,n){if(this.getFlag(e).get(Lo.currentType)===Lo.pop)return!1;const o=this.getType(e);let a=!1;o&&!isNaN(Number(t))&&o.forEach(((e,o)=>{Number(t)>=e.start&&Number(t)<=e.end&&(e.datas.set(t,n),a=!0)}));let i=this.getFlag(e).get(Lo.expectCangeNum);return i&&i>0?(this.getFlag(e).set(Lo.expectCangeNum,--i),!0):a}changeOfsetType(e,t,n,o,a=1){let i=this.getTargetType(e,Lo.qtSet);if(i){const e=Array.isArray(t)?Number(t[0]):Number(t);i.datas.has(t)||(e!==i.end&&i.rootUpdateCount++,i.updateCount+=1),i.datas.set(t,n),e>=i.end?i.end=e:e<i.start&&(i.start=e),a!=i.deth&&(i.deth=-1)}else{const o=Array.isArray(t)?Number(t[0]):Number(t);i=new No(o,o),i.datas.set(t,n),i.updateCount=1,i.rootUpdateCount=1,i.deth=a,this.setType(e,Lo.qtSet,i)}if(o){const e=i.names.get(t);e?e.add(o):i.names.set(t,new Set([o]))}}recordNewData(e,t){const n=this.getFlag(e);let o=n.get(Lo.newDatas);o||n.set(Lo.newDatas,o=new WeakSet),t.forEach((e=>{o.add(e)}))}checkIsNewData(e,t){let n=this.getFlag(e).get(Lo.newDatas);return!!n&&n.has(t)}};class Do extends Array{shift(){if(this.__v_raw.length){const e=0,t=0,n=1,o=xo.getTargetType(this.__v_raw,Lo.shift);if(o)o.deleteCount+=n;else{const o=new No(e,t,n);xo.setType(this.__v_raw,Lo.shift,o),xo.getFlag(this.__v_raw).set(Lo.expectCangeNum,this.__v_raw.length)}}return super.shift()}unshift(...e){if(e.length){let t=0,n=e.length-1,o=xo.getTargetType(this.__v_raw,Lo.unshift);o||(o=new No(t,n),xo.setType(this.__v_raw,Lo.unshift,o),xo.getFlag(this.__v_raw).set(Lo.expectCangeNum,this.__v_raw.length+e.length))}return xo.recordNewData(this.__v_raw,e),super.unshift(...e)}push(...e){if(e.length){const t=this.__v_raw.length,n=t+e.length-1,o=xo.getTargetType(this.__v_raw,Lo.push);if(o)o.end+=e.length;else{const e=new No(t,n);xo.setType(this.__v_raw,Lo.push,e)}}return super.push(...e)}splice(e,t,...n){e<0&&(e=0),void 0===t&&this.__v_raw.length&&(t=this.__v_raw.length-e),(e>=this.__v_raw.length||t<0)&&(t=0);let o=e;o=n&&n.length?e+n.length-1:-1;let a=xo.getTargetType(this.__v_raw,Lo.splice);return a||(a=new No(e,o,t),xo.setType(this.__v_raw,Lo.splice,a),xo.getFlag(this.__v_raw).set(Lo.expectCangeNum,this.__v_raw.length+n.length-t-e)),super.splice(e,t,...n)}pop(){if(this.__v_raw.length){const e=this.__v_raw.length-1,t=e,n=1,o=xo.getTargetType(this.__v_raw,Lo.pop);if(o)o.start-=1,o.deleteCount+=n;else{const o=new No(e,t,n);xo.setType(this.__v_raw,Lo.pop,o)}}return super.pop()}concat(e){if(e.length){const t=this.__v_raw.length,n=t+e.length-1;let o=xo.getTargetType(this.__v_raw,Lo.concat);o?o.end+=e.length:(o=new No(t,n),o.dataArr=e,xo.setType(this.__v_raw,Lo.concat,o))}return super.concat(...e)}}const Oo=(e,t)=>{return o=t,(null===(n=e)||null===o||void 0===n||void 0===o?n===o:n&&o?n.constructor.name===o.constructor.name:typeof n==typeof o)&&("object"==typeof e?((e,t)=>e.__qt_key_&&t.__qt_key_?e.__qt_key_===t.__qt_key_:JSON.stringify(e)===JSON.stringify(t))(e,t):e==t);var n,o},ko=(e,t)=>{let n=!1;return e.__qt_key_&&t.__qt_key_&&(n=e.__qt_key_===t.__qt_key_),n&&e.__qt_change_num_&&t.__qt_change_num_&&(n=t.__qt_change_num_>e.__qt_change_num_),n},wo=(e,t,n)=>{const o=new No(-1,-1),a=new No(-1,-1),i=new No(-1,-1);for(let o=0;o<e.length;o++){const i=e[o];t.find((e=>Oo(i,e)))?a.deleteCount>0&&(n.delete(a.start,a.deleteCount),a.resetData()):-1===a.start?(a.start=o,a.deleteCount=1):a.deleteCount++}a.deleteCount>0&&n.delete(a.start,a.deleteCount);let l=-1;for(let a=0;a<t.length;a++){const c=t[a],s=e.find(((e,t)=>!!(Oo(e,c)&&t>l)&&(l=t,!0)));if(s){i.datas.size&&(n.insert(i.start,Array.from(i.datas.values())),i.resetData());ko(s,c)&&(-1===o.start?(o.start=a,o.updateCount=1,o.rootUpdateCount=1,o.end=o.start+o.updateCount):a>o.start&&a<=o.end?(o.updateCount++,o.end++,o.rootUpdateCount++):(n.update(o.start,o,e),o.resetData(),o.start=a,o.updateCount=1,o.rootUpdateCount=1,o.end=o.start+o.updateCount),o.datas.set(a,c))}else-1===i.start&&(i.start=a),i.datas.set(a,c),o.datas.size&&(n.update(o.start,o,e),o.resetData())}o.datas.size&&n.update(o.start,o,e),i.datas.size&&n.add(Array.from(i.datas.values()))},Bo=e=>e+(Date.now()+1e6*Math.random()),Mo=(e,t=!0)=>{if(j(e)){const n=V(e)?[]:{};for(const o in e)if(Object.prototype.hasOwnProperty.call(e,o)){const a=e[o];j(a)?(V(a)||(a.__qt_key_||(a.__qt_key_=Bo(o)),a.__qt_change_num_||(a.__qt_change_num_=1)),n[o]=Mo(a,t)):n[o]=a}return n}return e};function Qo(e,t){if(!e||!j(e))return;let n=e.__v_raw,o=Mo(n),a=!1;const i=e=>{a||(a=!0,d((()=>{a=!1,e()})))},l=new So((()=>{yo(n,"__ls_watchAll")}),((e,a,c,s,r)=>{const u="__ls_reset_ref_value"===s?c:e,d=xo.getFlag(e).get(Lo.currentType);"__ls_reset_ref_value"===s&&t.resetValue?.(c),"__ls_reset_ref_value"!==s||d===Lo.concat&&o&&o.length?o&&o.length||!u?d!==Lo.splice||e&&e.length?i((()=>{const a="__ls_reset_ref_value"===s?c:e,i=xo.getType(e);i&&1===i.size?i.forEach(((e,n)=>{if(n!==Lo.push&&n!==Lo.concat||t.add(e.dataArr||Array.from(e.datas.values())),n===Lo.pop&&t.delete(e.start,e.deleteCount),n===Lo.qtSet)if(e.end-e.start+1==e.rootUpdateCount)t.update(e.start,e,o);else{Co(e).forEach(((e,n)=>{t.update(e.start,e,o)}))}n===Lo.splice&&(e.deleteCount&&t.delete(e.start,e.deleteCount),e.datas.size&&t.insert(e.start,Array.from(e.datas.values()))),n===Lo.unshift&&t.insert(e.start,Array.from(e.datas.values())),n===Lo.shift&&t.delete(e.start,e.deleteCount)})):wo(o,a,t),xo.deleteType(o),xo.deleteType(e),xo.deleteType(n),xo.deleteType(a),o=Mo(n)})):(t.clear(),n=e,xo.deleteType(o),xo.deleteType(e),xo.deleteType(n),xo.deleteType(u),o=Mo(n)):i((()=>{t.init(Mo(u,!1)),n=u,xo.deleteType(o),xo.deleteType(e),xo.deleteType(n),xo.deleteType(u),o=Mo(n)})):(c&&c.length?t.init(Mo(c,!1)):t.clear(),n=c,xo.deleteType(o),xo.deleteType(e),xo.deleteType(n),xo.deleteType(u),o=Mo(n)),"__ls_reset_ref_value"===s&&(bo(n),n=c,l.run())}));return l.run(),{stop(){bo(n),l.stop()}}}const $o=new WeakMap,Go=(e,t,n)=>{if(!j(e))return;if(n>=t.length-1)return e;n<0&&(n=0);const o=t.length-1-n;let a=e;for(let e=1;e<=o;e++){if(a=a[t[e]],!j(a))break}return a},Vo=(e,t=[],n=1)=>({get(o,a,i){if("__qt_root"===a)return e;if("__qt_path"===a)return t;if("__qt_arr_deth"===a)return n;if("__v_isReactive"===a)return!0;if("__ls_watchAll"===a||"__v_raw"===a)return o;yo(o,a);const l=Reflect.get(o,a,i);if(j(l)){return qo(l,e,[...t,a],V(l)?n+1:n)}return l},set(e,t,n,o){let a=e[t];f(n)&&(n=g(n)),j(n)&&!V(n)&&"string"==typeof t&&(n.__qt_key_||(j(a)?xo.checkIsNewData(e,n)?n.__qt_key_=Bo(t):n.__qt_key_=a.__qt_key_||Bo(t):n.__qt_key_=Bo(t)),n.__qt_change_num_||(j(a)?n.__qt_change_num_=a.__qt_change_num_||1:n.__qt_change_num_=1));const i=Reflect.set(e,t,n,o);try{if(((e,t)=>"string"==typeof t?!t.startsWith("__qt_"):e.hasOwnProperty(t))(e,t)&&a!=n){j(n)&&n.__qt_change_num_&&n.__qt_change_num_++;const i=o.__qt_root,l=o.__qt_path;if(l&&l.length&&!f(n)){const n=l[0],c=i[n];j(c)&&c.__qt_change_num_&&c.__qt_change_num_++;const s=Array.isArray(e)&&"length"===t?"":t;xo.changeOfsetType(i,l,c,s,o.__qt_arr_deth),Ro(i,n,c,Lo.set,a)}else if(Array.isArray(e)&&!isNaN(Number(t))){xo.changeTypeData(e,t,n)||xo.changeOfsetType(e,t,n),Ro(e,t,n,Lo.set,a)}else Ro(e,t,n,Lo.set,a)}}catch(e){}return i}});function qo(e,t,n,o=1){return j(e)?e.__v_isReactive?e:(Array.isArray(e)&&(e.__proto__=new Do),t||(t=e),new Proxy(e,Vo(t,n,o))):e}function Yo(e,t,n){return j(e)?function(e,t,n){const o=$o.get(e);if(o)return o;const a=qo(e,t,n);return $o.set(e,a),a}(e,t,n):e}class Wo{dep=new Set;__v_isRef=!0;_value;_rawValue;constructor(e=[]){this._rawValue=Mo(e),this._value=Yo(this._rawValue)}get value(){return Fo()&&Ao(this.dep||(this.dep=new Set)),this._value}set value(e){(e=Mo(e))!==this._rawValue&&(this._value=Yo(e),Ro(this._rawValue,"__ls_watchAll",e,"__ls_reset_ref_value",this._rawValue),Po(this.dep,this._rawValue,void 0,e,"",this._rawValue),this._rawValue=e)}}function zo(e){return function(e){return new Wo(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,default:0},preloadNo:{type:Number,default:0},defaultFocus:{type:Number,default:-1},areaWidth:{type:Number,default:1200},blockFocusDirections:{type:Array,default:()=>[]},loadingDecoration:{type:Object,default:()=>({top:15,left:30})},listData:{type:Array,required:!1}},emits:["item-click","scroll","item-unbind","scroll-state-changed","item-bind","item-focused"],setup(t,n){const o=e();let a=e(2.5),i=zo(),l=0,c=!1,s=e(!1),r=[],u=null,d=!1,f=!0;const m=()=>t.listData||i.value,h=e=>{t.defaultFocus>-1&&e.length&&t.defaultFocus<e.length&&f&&(clearTimeout(u),u=setTimeout((()=>{D(t.defaultFocus)}),300+10*e.length))};p((()=>{m().length&&o.value&&!d&&!r.length&&(r=m(),o.value.setListDataWithParams(g(m()),!0,!0),h(r))})),_((()=>{i.value.splice(0)}));let v=0;const S=[{_id:"",type:1002,decoration:t.loadingDecoration}],F=()=>{t.openPage&&0===v&&r.length>=t.pageSize&&!c&&(o.value.addListData(S),v=r.length)},E=(e=!1)=>{v>0&&(e?o.value.updateItem(v,{text:"",type:1003,decoration:{}}):(o.value.deleteItem(v,1),v=0))};let b=null;const y=(e=!1)=>{c=!0,b=setTimeout((()=>{c=!0,E(e)}),20)},A=()=>{c=!1,l=0},R=()=>{!c&&t.loadMore&&(t.listData?r.length>t.pageSize&&(l++,t.loadMore(l)):(l++,t.loadMore(l)))},P=Qo(m(),{resetValue(e){r=e,d=!0},init(e){o.value&&(o.value.setListDataWithParams(e.concat(t.openPage&&r.length>=t.pageSize&&!c?(v=r.length,S):[]),!0,!0),A(),t.listData&&(l=1),h(e))},add(e){o.value.addListData(e),E(),F()},update(e,t){Uo(1,t.datas).forEach(((e,t)=>{const n=Array.isArray(t)?Number(t[0]):Number(t);o.value.updateItem(n,e)}))},insert(e,t){o.value.addItem(e,t),E(),F()},delete(e,t){o.value.deleteItem(e,t),v>0&&(v=r.length)},clear(){o.value.setListDataWithParams([],!0,!0),v=0}}),{requestFocus:N,requestFocusDirectly:L,setVisibility:U}=to(o);T((()=>{t.openPage&&!t.listData&&(A(),R())}));const C=e=>{o.value.scrollToPosition(e)},x=e=>{o.value.requestFocus(e)},D=e=>{C(e),x(e)},O=(e,t)=>{o.value.setSelectPosition(e,t)};I((()=>{P?.stop(),A(),s.value=!1,c=!1,clearTimeout(u),clearTimeout(b)}));let k=-1;return{tv_list:o,init:(e,n)=>t.listData?[]:e?(f=!n,i.value=e,i.value):i.value,onItemClick:e=>{n.emit("item-click",e)},onItemBind:e=>{if(t.openPage&&!c&&r.length>=t.pageSize){let n=t.preloadNo;(n<0||n>=r.length)&&(n=0),e.position==r.length-1-n&&R()}n.emit("item-bind",e)},onItemFocused:e=>{n.emit("item-focused",e)},restartPage:()=>{if(!t.listData){clearTimeout(k);let e=0;c||(e=420,y()),k=setTimeout((()=>{s.value=!0,l=1,c=!1,t.loadMore(l)}),e)}},isRestartPage:s,onItemUnbind:e=>{n.emit("item-unbind",e)},onScroll:e=>{n.emit("scroll",e)},onScrollStateChanged:e=>{n.emit("scroll-state-changed",e)},stopPage:y,scrollToTop:()=>{o.value.scrollToTop()},clearFocus:()=>{o.value.clearFocus()},blockRootFocus:()=>{o.value.blockRootFocus()},unBlockRootFocus:()=>{o.value.unBlockRootFocus()},setDisplay:e=>{o.value.setDisplay(e)},scrollToPosition:C,scrollToIndex:(e,t,n)=>{o.value.scrollToPositionOffset(0,e,t,n)},setItemFocused:x,scrollToFocused:D,setItemSelected:O,scrollToSelected:(e,t)=>{C(e),O(e,t)},setInitPosition:e=>{o.value.setInitPosition(e)},setListData:e=>{o.value.setListData(e)},clearPostTask:()=>{o.value.clearPostTask()},destroy:()=>{o.value.destroy()},requestFocus:N,requestFocusDirectly:L,setVisibility:U,apkVersion:a,updateItemProps:(e,t,n)=>{o.value.updateItemProps(e,t,n)},insertItem:(e,t)=>{o.value.addItem(e,t)}}}});Ho.render=function(e,n,l,c,s,r){const u=a("tv-list");return t(),i(u,{class:"tv_list",ref:"tv_list",name:"tv_list",spanCount:e.spanCount,onItemBind:e.onItemBind,onItemClick:e.onItemClick,onItemFocused:e.onItemFocused,onItemUnbind:e.onItemUnbind,onScroll:e.onScroll,onScrollStateChanged:e.onScrollStateChanged,onSetListData:e.setListData,blockFocusDirections:e.blockFocusDirections},{default:m((()=>[o(e.$slots,"header"),o(e.$slots,"default"),o(e.$slots,"footer"),o(e.$slots,"loading")])),_:3},8,["spanCount","onItemBind","onItemClick","onItemFocused","onItemUnbind","onScroll","onScrollStateChanged","onSetListData","blockFocusDirections"])},Ho.__file="src/grid-view/index.vue";var jo=Tn({name:"qt-poster-focus-title",props:{fontSize:{type:Number,default:20},borderRadius:{type:Number,default:8},bgColor:{type:Object,default:()=>({colors:["#ffffff","#ffffff"],cornerRadii4:[0,0,8,8]})},titleColor:{type:String,default:"#000000"},subTitleColor:{type:String,default:"rgba(0,0,0,.4)"}},setup(e,t){}});const Ko={class:"absoluteFocusTitleRoot",flexStyle:"${titleFocusStyle}",autoHeight:"",focusable:!1},Xo=["gradientBackground"];jo.render=function(e,o,i,l,s,u){const d=a("text-view");return t(),n("div",Ko,[r(" 浮动标题"),h(d,{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.text}",showIf:"${floatTitle.enable}",gravity:"left",postDelay:250}),v("div",{class:"absoluteFocusMainBgRoot",style:c({borderBottomLeftRadius:`${e.borderRadius}px`,borderBottomRightRadius:`${e.borderRadius}px`}),duplicateParentState:!0,focusable:!1,gradientBackground:e.bgColor,showIf:"${focusTitle.enable}"},[r(" 主标题 "),h(d,{duplicateParentState:!0,focusable:!1,fontSize:30,ellipsizeMode:2,autoHeight:"",maxLines:2,gravity:"left",paddingRect:[16,8,12,8],style:c({backgroundColor:"transparent",color:`${e.titleColor}`}),flexStyle:"${focusTitle.style}",text:"${focusTitle.text}"},null,8,["style"]),r(" 副标题 "),h(d,{duplicateParentState:!0,focusable:!1,fontSize:24,ellipsizeMode:2,lines:1,autoHeight:"",gravity:"left|top",paddingRect:[16,0,0,16],style:c({color:`${e.subTitleColor}`,backgroundColor:"transparent"}),flexStyle:"${subTitle.style}",text:"${subTitle.text}",visibility:"${subTitle}"},null,8,["style"])],12,Xo)])},jo.__scopeId="data-v-703673b8",jo.__file="src/poster/qt-poster-focus-title.vue";var Zo=Tn({name:"qt-poster-corner-title",props:{fontSize:{type:Number,default:20},mode:{type:String,default:"right"}},setup(e,t){}});const Jo=(e=>(S("data-v-4b767ea2"),e=e(),F(),e))((()=>v("img",{focusable:!1,class:"poster_corner_img",flexStyle:"${corner.styleImg}",src:"${corner.src}",showIf:"${corner.enableImg}"},null,-1)));Zo.render=function(e,o,i,l,c,r){const u=a("text-view");return t(),n("div",{class:s(["cornerRoot",["cornerRoot_"+e.mode]]),focusable:!1},[h(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==true}"},null,8,["textSize"]),Jo],2)},Zo.__scopeId="data-v-4b767ea2",Zo.__file="src/poster/qt-poster-corner-title.vue";var ea=Tn({name:"qt-poster",components:{"qt-poster-corner-title":Zo,"qt-poster-focus-title":jo},props:{requestFirstFocus:{type:Boolean,default:!1},loadDelay:{type:Number,default:500},type:{type:Number,default:10001},templateKeyMap:{type:Object,default:()=>null},borderRadius:{type:Number,default:8},rippleColor:{type:String,default:"#FF4E46"},focusBgColor:{type:Object,required:!1},focusTitleColor:{type:String,required:!1},focusSubTitleColor:{type:String,required:!1},floatTitleBgColor:{type:Array,default:()=>["#e5000000","#00000000"]}},setup(t,n){const o=e();return{mainTextShowOnState:["normal","selected"],viewRef:o,...to(o)}}});const ta=["showOnState"],na=["gradientBackground"],oa={flexStyle:"${ripple.style}",class:"qt-ui-poster-ripple-view-root-css",showOnState:"focused",focusable:!1,clipChildren:!1},aa=v("img",{src:"${ripple.src}",class:"qt-ui-ripple-img-css",focusable:!1,duplicateParentState:!0,showIf:"${ripple.enable==true}",delayLoad:800},null,-1);ea.render=function(e,n,l,s,u,d){const f=a("text-view"),g=a("qt-poster-focus-title"),p=a("ripple-view"),_=a("qt-poster-corner-title"),T=a("item-frame");return t(),i(T,{ref:"viewRef",type:e.type,layout:"${layout}",flexStyle:"${style}",focusScale:"${focus.scale}",focusable:!0,eventClick:"",eventFocus:"",name:"poster",class:"qt-ui-poster-root-css",itemShowShimmer:"${shimmer.enable}",hideShadow:"${shadow.enable}",shimmerSize:"${size}"},{default:m((()=>[r("封面"),v("img",{class:"qt-ui-poster-img-css",duplicateParentState:!0,postDelay:300,enableFade:"",focusable:!1,enableFocusBorder:"${focus.border}",flexStyle:"${image.style}",style:c({borderRadius:`${e.borderRadius}px`}),src:"${image.src}"},null,4),h(f,{class:"qt-ui-poster-score-css",duplicateParentState:!0,focusable:!1,flexStyle:"${score.style}",textSize:"${score.style.fontSize}",ellipsizeMode:2,lines:1,gravity:"center",postDelay:350,autoWidth:"",text:"${score.text}"}),r(" 焦点选中时的标题 "),h(g,{focusable:!1,"border-radius":e.borderRadius,showOnState:"focused",bgColor:e.focusBgColor,titleColor:e.focusTitleColor,subTitleColor:e.focusSubTitleColor},null,8,["border-radius","bgColor","titleColor","subTitleColor"]),v("div",{style:{"flex-direction":"column","background-color":"transparent","z-index":"999"},duplicateParentState:!0,focusable:!1,flexStyle:"${titleStyle}",showOnState:e.mainTextShowOnState},[r(" 浮动标题 "),v("div",{flexStyle:"${floatTitle.style}",class:"qt-ui-poster-title-css",gradientBackground:{colors:e.floatTitleBgColor,cornerRadii4:[0,0,e.borderRadius,e.borderRadius],orientation:4},duplicateParentState:!0,focusable:!1,showIf:"${floatTitle.enable}"},[h(f,{duplicateParentState:!0,focusable:!1,textSize:26,ellipsizeMode:2,enablePostTask:"",postDelay:200,lines:1,gravity:"left",style:{"z-index":"999",height:"50px"},flexStyle:"${floatTitle.style}",text:"${floatTitle.text}"})],8,na),r(" 主标题"),h(f,{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,ta),v("div",oa,[h(p,{class:"qt-ui-ripple-view-css",delayLoad:800,focusable:!1,duplicateParentState:!0,color:e.rippleColor,isShowRipple:"${ripple.enable}",rippleVisible:"invisible"},null,8,["color"]),aa]),h(_,{showIf:"${corner.showCornerRight==true}",focusable:!1,flexStyle:"${corner.style}"}),h(_,{showIf:"${corner.showCornerLeft==true}",focusable:!1,flexStyle:"${corner.style}",mode:"left"}),o(e.$slots,"default")])),_:3},8,["type"])},ea.__file="src/poster/index.vue";var ia=l({name:"qt-nav-bar",props:{textKey:{type:String,default:"text"},itemGap:{type:Number,default:0},horizontal:{type:Boolean,default:!0},initSelect:{type:Number,default:0},size:{type:String,default:"medium"},navs:{type:Array,default:()=>[]},tabNavBarClass:{type:String,default:""},horizontalFadingEdgeEnabled:{type:Boolean,default:!1},verticalFadingEdgeEnabled:{type:Boolean,default:!1},fadingEdgeLength:{type:Number,default:0},tabEnable:{type:Boolean,default:!0}},setup(t,n){const o=e();let a=e("#f5f5f5"),i=E({normal:"#80ffffff",focused:"#000000",selected:"#F5F5F5"}),l=-1,c=-1;b((()=>t.navs),(e=>{e.length>0&&s(e)}));const s=e=>{e||(e=[]),e.forEach(((e,n)=>{0!==t.itemGap&&(t.horizontal?e.decoration={right:t.itemGap}:e.decoration={bottom:t.itemGap}),e.type||(e.type=2e4)})),o.value?.setListData(e),clearTimeout(c);let n=t.initSelect;n>-1&&(o.value?.scrollToPosition(n),c=setTimeout((()=>{o.value?.setItemSelected(n,!0),r(n)}),300))},r=e=>{clearTimeout(l),l=setTimeout((()=>{n.emit("tab-select",{position:e})}),300)};return{navList:o,focusColor:a,textColor:i,bgPadding:[10,10],onTabChange:e=>{!0===e.hasFocus&&(n.emit("tab-focus",e),r(e.position))},onTabClick:e=>{n.emit("tab-click",e.item)},scrollToPosition:e=>{o.value?.scrollToPosition(e)},scrollToTop:()=>{o.value?.scrollToTop()},init:e=>{s(e.data)},...to(o)}}});const la=["stateTextColor","sateBackgroundPadding"];var ca,sa;ia.render=function(e,l,c,u,d,f){const g=a("text-view"),p=a("qt-list-view");return t(),i(p,{ref:"navList",clipChildren:!1,clipPadding:!1,horizontalFadingEdgeEnabled:!!e.horizontal&&e.horizontalFadingEdgeEnabled,verticalFadingEdgeEnabled:!e.horizontal&&e.verticalFadingEdgeEnabled,fadingEdgeLength:e.fadingEdgeLength,horizontal:!!e.horizontal||void 0,class:s(e.tabNavBarClass),onItemClick:e.onTabClick,onItemFocused:e.onTabChange},{default:m((()=>[e.tabEnable?(t(),n("div",{key:0,class:"qt-ui-nav-bar-item-css",type:2e4,autoWidth:"",focusable:!0,eventFocus:"",flexStyle:"${style}",clipChildren:!1,stateTextColor:e.textColor,sateBackgroundPadding:e.bgPadding},[h(g,{autoWidth:"",gravity:"center",lines:1,fontSize:44,class:"qt-ui-nav-bar-item-text-css",duplicateParentState:!0,text:"${text}"})],8,la)):r("v-if",!0),o(e.$slots,"default")])),_:3},8,["horizontalFadingEdgeEnabled","verticalFadingEdgeEnabled","fadingEdgeLength","horizontal","class","onItemClick","onItemFocused"])},ia.__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",e[e.QT_WATERFALL_SECTION_TYPE_PLUGIN=1008]="QT_WATERFALL_SECTION_TYPE_PLUGIN"}(ca||(ca={})),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",e[e.QT_WATERFALL_ITEM_TYPE_PLUGIN=10004]="QT_WATERFALL_ITEM_TYPE_PLUGIN"}(sa||(sa={}));var ra=Tn({name:"card-item",setup(e,t){const n=L();return{onFocus:function(e){n.isLoggable(U.DEBUG)&&n.d("card-item","------onFocus---------\x3e>>>",e),t.emit("focus",e)}}}});ra.render=function(e,n,o,l,c,s){const r=a("es-card-container");return t(),i(r,{keyName:"_id",clipChildren:!1,clipPadding:!1,autoRecycle:!0,disablePlaceholder:"",layout:"${layout}",flexStyle:"${style}",cardId:"${cardId}",focusScale:"${cardPlaceHolder.focusScale}",focusable:"${cardPlaceHolder.focusable}",showPlaceHolder:"${cardPlaceHolder.enable}",placeHolderRadius:"${cardPlaceHolder.radius}",placeHolderRect:"${cardPlaceHolder.rect}",type:10003,onFocus:e.onFocus,class:"qt-ui-waterfall-card-item"},null,8,["onFocus"])},ra.__scopeId="data-v-599898aa",ra.__file="src/waterfall/item/card-item.vue";var ua=Tn({name:"qt-plugin-item",emits:["focus"],setup(t,n){const o=e();return{viewRef:o,...to(o),onFocus:function(e){n.emit("focus",e)}}}});ua.render=function(e,n,o,l,c,s){const r=a("qt-plugin-view");return t(),i(r,{ref:"viewRef",type:10004,clipChildren:!1,clipPadding:!1,layout:"${layout}",flexStyle:"${style}",focusable:!0,pluginKey:"${pluginKey}",eventClick:"",eventFocus:"",name:"qt-plugin-item",onFocus:e.onFocus,focusScale:"1.1",enableFocusBorder:!0,class:"qt-ui-plugin-item-root-css"},null,8,["onFocus"])},ua.__file="src/waterfall/item/plugin-item.vue";var da=Tn({name:"standard-section",emits:["focus"],components:{"card-item":ra,"qt-plugin-item":ua},props:{enablePlaceholder:{type:Boolean,default:!0},plateData:{type:String,default:""},useDiff:{type:Boolean,default:!0},cachePool:{type:Object,default:{}},sectionType:{type:Number,default:ca.QT_WATERFALL_SECTION_TYPE_FLEX},standItemType:{type:Number,default:sa.QT_WATERFALL_ITEM_TYPE_POSTER},currentPageIndex:{type:Number,default:-1},itemFocusScale:{type:Number,default:1.1},flexSection:{type:Object,default:()=>({qtPosterEnable:!0,qtPluginItemEnable:!0,cardItemEnable:!0})}},setup(e,t){const n=L();return{onFocus:function(e){n.isLoggable(U.DEBUG)&&n.d("QTFlexSection","------onFocus---------\x3e>>>",e),t.emit("focus",e)}}}});const fa=["type"],ga=(e=>(S("data-v-227e921e"),e=e(),F(),e))((()=>v("img",{postDelay:300,flexStyle:"${imgTitleStyle}",focusable:!1,src:"${imgTitle}"},null,-1)));da.render=function(e,l,c,s,u,d){const f=a("text-view"),g=a("qt-poster"),p=a("qt-plugin-item"),_=a("card-item"),T=a("tv-flex");return t(),n("div",{class:"standard-section-css",blockFocusDirections:["left","right"],clipChildren:!1,clipPadding:!1,type:e.sectionType,focusable:!1,focusScrollTarget:"${isFocusScrollTarget==true}",keyName:"_id",flexStyle:"${style}",scrollOverride:"${scrollOverride}",gradientBackground:"${style.gradientBackground}",bringFocusChildToFront:!0,useAdvancedFocusSearch:!0},[h(f,{class:"standard-section-title-text-css",postDelay:300,autoWidth:"",autoHeight:"",typeface:"${titleTypeface}",lines:1,flexStyle:"${titleStyle}",focusable:!1,textSize:"${titleStyle.fontSize}",text:"${title}"}),ga,h(T,{class:"standard-section-css",name:"QUICKTVUI_WARTERFALL_LIST",blockFocusDirections:["left","right"],clipChildren:!1,clipPadding:!1,bringFocusChildToFront:!0,cachePool:e.cachePool,useDiff:e.useDiff,keyName:"_id",sid:"${listSID}",enablePlaceholder:e.enablePlaceholder,focusScrollTarget:"${isFocusScrollTarget==true}",enableFirstFocusAtStart:"${enableFirstFocusAtStart}",firstFocusChild:"${firstFocusChild}",list:"${itemList}"},{default:m((()=>[r(" poster "),e.flexSection.qtPosterEnable?(t(),i(g,{key:0,"load-delay":500,type:e.standItemType},null,8,["type"])):r("v-if",!0),r(" plugin "),e.flexSection.qtPluginItemEnable?(t(),i(p,{key:1})):r("v-if",!0),r(" card "),e.flexSection.cardItemEnable?(t(),i(_,{key:2,onFocus:e.onFocus},null,8,["onFocus"])):r("v-if",!0),o(e.$slots,"default")])),_:3},8,["cachePool","useDiff","enablePlaceholder"])],8,fa)},da.__scopeId="data-v-227e921e",da.__file="src/waterfall/section/flex-section.vue";const pa="list-section";var _a=Tn({name:"list-section",props:{enablePlaceholder:{type:Boolean,default:!0},isSwitchBgScroll:{type:Boolean,default:!1},standItemType:{type:Number,default:10001},tabItemType:{type:Number,default:10002},sectionType:{type:Number,default:ca.QT_WATERFALL_SECTION_TYPE_LIST},fetchPendingData:{type:Function,default:null},arrangeType:{type:String,default:"TB"},cachePool:{type:Object,default:{}},listSection:{type:Object,default:()=>({qtPosterEnable:!0})}},setup(e,t){const n=L();return{blockDirections:["left","right"],onItemBind:function(e){n.isLoggable(U.DEBUG)&&n.d(pa,"----------onItemBind--------------\x3e>>",e)},onItemClick:function(e){n.isLoggable(U.DEBUG)&&n.d(pa,"----------onItemClick--------------\x3e>>",e)},onItemRecycled:function(e){n.isLoggable(U.DEBUG)&&n.d(pa,"----------onItemRecycled--------------\x3e>>",e)},onItemFocused:function(e){n.isLoggable(U.DEBUG)&&n.d(pa,"----------onItemFocused--------------\x3e>>",e)}}}});const Ta={class:"qt-ui-section-tab-list-root",focusable:!1,flexStyle:"${style}",gradientBackground:"${style.gradientBackground}",blockFocusDirections:["right"],clipChildren:!1,useAdvancedFocusSearch:!0,bringFocusChildToFront:!0},Ia=(e=>(S("data-v-6aa2cfd4"),e=e(),F(),e))((()=>v("img",{postDelay:300,flexStyle:"${imgTitleStyle}",focusable:!1,src:"${imgTitle}"},null,-1))),ma=["type"];_a.render=function(e,l,c,s,u,d){const f=a("text-view"),g=a("qt-poster"),p=a("tv-list"),_=a("tv-item");return t(),i(_,{keyName:"_id",type:e.sectionType,clipPadding:!1,clipChildren:!1,ref:"listSection",focusScrollTarget:"${isFocusScrollTarget==true}",class:"tab-list-section-root-css",scrollOverride:"${scrollOverride}",onItemClick:e.onItemClick,onItemBind:e.onItemBind,onItemUnbind:e.onItemRecycled,onItemFocused:e.onItemFocused},{default:m((()=>[v("div",Ta,[h(f,{class:"tab-list-section-title-text-css",postDelay:300,autoWidth:"",autoHeight:"",flexStyle:"${titleStyle}",typeface:"${titleTypeface}",focusable:!1,textSize:"${titleStyle.fontSize}",text:"${title}"}),Ia,h(p,{list:"${itemList}",horizontal:"",clipChildren:!1,focusable:!1,class:"tab-list-section-list-css",name:"QUICKTVUI_WARTERFALL_LIST",resetOnDetach:!0,enableKeepFocus:"${enableKeepFocus==true}",endHintEnabled:"${enableEndHit}",useDiff:"${enableDiff}",enableFirstFocusAtStart:"${enableFirstFocusAtStart}",firstFocusChild:"${firstFocusChild}",sid:"${listSID}",cachePool:e.cachePool,onScrollEnable:!1,setSelectChildPosition:0,enablePlaceholder:e.enablePlaceholder,blockFocusDirections:e.blockDirections},{default:m((()=>[e.listSection.qtPosterEnable?(t(),i(g,{key:0,type:e.standItemType},null,8,["type"])):r("v-if",!0),e.listSection.qtPosterEnable?(t(),n("div",{key:1,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:""},[h(f,{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,ma)):r("v-if",!0),o(e.$slots,"default")])),_:3},8,["cachePool","enablePlaceholder","blockFocusDirections"])])])),_:3},8,["type","onItemClick","onItemBind","onItemUnbind","onItemFocused"])},_a.__scopeId="data-v-6aa2cfd4",_a.__file="src/waterfall/section/list-section.vue";var ha=Tn({name:"loading-section"});const va={focusable:!1,type:-1,keyName:"_id",class:"loading-section-css",gradientBackground:"${style.gradientBackground}"};ha.render=function(e,o,i,l,c,s){const r=a("qt-loading-view");return t(),n("div",va,[h(r,{class:"loading-section-loading-css"})])},ha.__scopeId="data-v-48609f24",ha.__file="src/waterfall/section/loading-section.vue";var Sa=Tn({name:"end-section",setup:()=>({})});const Fa={keyName:"_id",type:-1001,focusable:!1,flexStyle:"${style}",gradientBackground:"${style.gradientBackground}",class:"qt-waterfall-end-section-css"};Sa.render=function(e,o,i,l,c,s){const r=a("text-view");return t(),n("div",Fa,[h(r,{focusable:!1,gravity:"center",flexStyle:"${titleStyle}",class:"qt-waterfall-end-section-text-css",typeface:"${titleTypeface}",textSize:"${titleStyle.fontSize}",text:"${title}"})])},Sa.__scopeId="data-v-70b82c43",Sa.__file="src/waterfall/section/end-section.vue";var Ea=Tn({props:{plateTitleLeftMargin:{type:Number,default:0},type:{type:Number,default:ca.QT_WATERFALL_SECTION_TYPE_TITLE}},setup:(e,t)=>({})});const ba=["type"];Ea.render=function(e,o,i,l,s,r){const u=a("text-view");return t(),n("div",{class:"section-title-css",blockFocusDirections:["left","right"],clipChildren:!1,clipPadding:!1,type:e.type,keyName:"_id",focusable:!1,bringFocusChildToFront:!0,useAdvancedFocusSearch:!0},[h(u,{class:"section-title-text-css",postDelay:300,style:c({marginLeft:e.plateTitleLeftMargin+"px"}),typeface:"${titleTypeface}",focusable:!1,textSize:"${titleStyle.fontSize}",text:"${title}"},null,8,["style"])],8,ba)},Ea.__scopeId="data-v-20428d40",Ea.__file="src/waterfall/section/section-title.vue";var ya=Tn({name:"blank-section",setup:()=>({})});const Aa={focusable:!1,type:-1e3,keyName:"_id",flexStyle:"${style}",gradientBackground:"${style.gradientBackground}",class:"qt-ui-waterfall-blank-section"};ya.render=function(e,o,a,i,l,c){return t(),n("div",Aa)},ya.__scopeId="data-v-eeab4d88",ya.__file="src/waterfall/section/blank-section.vue";var Ra=Tn({name:"card-section",setup(e,t){const n=L();return{onFocus:function(e){n.isLoggable(U.DEBUG)&&n.d("card-section","------onFocus---------\x3e>>>",e),t.emit("focus",e)}}}});const Pa={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};Ra.render=function(e,o,i,l,c,s){const r=a("text-view"),u=a("es-card-container");return t(),n("div",Pa,[h(r,{class:"qt-ui-waterfall-card-section-title-css",postDelay:300,flexStyle:"${titleStyle}",typeface:"${titleTypeface}",focusable:!1,textSize:"${titleStyle.fontSize}",text:"${title}"}),h(u,{cardId:"${cardId}",onFocus:e.onFocus,clipChildren:!1,clipPadding:!1,autoRecycle:!0,focusScale:"${cardPlaceHolder.focusScale}",focusable:"${cardPlaceHolder.focusable}",showPlaceHolder:"${cardPlaceHolder.enable}",placeHolderRadius:"${cardPlaceHolder.radius}",placeHolderRect:"${cardPlaceHolder.rect}",flexStyle:"${cardStyle}",class:"qt-ui-waterfall-card-section"},null,8,["onFocus"])])},Ra.__scopeId="data-v-43a44788",Ra.__file="src/waterfall/section/card-section.vue";var Na=Tn({name:"vue-section",props:{blockFocusDirections:{type:Array,default:()=>["left","right"]}},setup:(e,t)=>({onSectionBind:function(){}})});Na.render=function(e,n,l,c,s,r){const u=a("tv-item");return t(),i(u,{class:"qt-ui-waterfall-vue-section",type:1007,keyName:"_id",blockFocusDirections:e.blockFocusDirections,clipChildren:!1,clipPadding:!1,focusScrollTarget:"${isFocusScrollTarget==true}",flexStyle:"${style}",scrollOverride:"${scrollOverride}",singleton:"",onItemBind:e.onSectionBind},{default:m((()=>[o(e.$slots,"default")])),_:3},8,["blockFocusDirections","onItemBind"])},Na.__scopeId="data-v-f8447724",Na.__file="src/waterfall/section/vue-section.vue";var La=Tn({name:"qt-plugin-section",emits:["focus"],props:{pluginKey:{type:String,default:""}},setup:(e,t)=>(L(),{onFocus:function(e){t.emit("focus",e)}})});const Ua={type:1008,class:"qt-ui-plugin-section-root-css",clipChildren:!1,clipPadding:!1,focusable:!0,focusScale:"1.1",focusScrollTarget:"${isFocusScrollTarget==true}",keyName:"_id",flexStyle:"${style}",scrollOverride:"${scrollOverride}",gradientBackground:"${style.gradientBackground}",bringFocusChildToFront:!0,useAdvancedFocusSearch:!0};function Ca(e,t,n=!1){const o=[];if(t&&t.length>0)for(let a=0;a<t.length;a++){let i=xa(e,t[a],n);o.push(i)}return o}function xa(e,t,n=!1){let o=0;if(t.itemList.length>0&&t.type==ca.QT_WATERFALL_SECTION_TYPE_FLEX?(o=function(e,t=!1){const n=e.itemList,o=e.style?.spacing??0,a=e.titleStyle,i=a?.height??0;const l=a?.marginTop??0,c=a?.marginBottom??0;const s=a?.paddingTop??0,r=a?.paddingBottom??0;let u=t?0:e.style.height??0,d=e.style.width??0;e.decoration;let f=0,g=0,p=0;for(let e=0;e<n.length;e++){const t=n[e];let a=t?.style.width??0,i=t?.style.height??0;const l=t.style.x,c=t.style.y;if(null!=l&&null!=c)t.layout=[l,c,a,i];else{const e=t.decoration,n=e?.left??0,l=e?.top??0,c=e?.right??0,s=e?.bottom??0;f+a+c>d&&(g+=p+o,p=0,f=0),t.layout||(t.layout=[0,0,a,i]),t._apiLayout||(t.layout[0]=f+n,t.layout[1]=g+l),t.layout[1]+i+s>u&&(u=t.layout[1]+i+s),i+l+s>p&&(p=i+l+s),f+=a+o+n+c}}return u+i+l+c+s+r}(t,n),t.style.height=o):t.type==ca.QT_WATERFALL_SECTION_TYPE_PLUGIN&&(t.titleStyle&&t.titleStyle.width&&t.titleStyle.height?t.pluginStyle={width:t.style.width,height:(t.style?.height??0)-(t.titleStyle.height??0)-(t.titleStyle.marginBottom??0)}:t.pluginStyle=t.style),n&&0===t.itemList.length){const e=t.titleStyle?.height??0,n=t.titleStyle?.marginTop??0,o=t.titleStyle?.marginBottom??0,a=t.titleStyle?.paddingTop??0,i=t.titleStyle?.paddingBottom??0;t.style.height=(t.style.minHeight||0)+e+n+o+a+i}return t}function Da(){let e=[];function t(e){return e.itemList.length}function n(n,o){console.log("----1--------getRangeSectionListItemCount-----------------\x3e>>>");const a=e.length;if(n<0||n>=a)return 0;console.log("----2--------getRangeSectionListItemCount-----------------\x3e>>>");let i=n+o;n+o>a&&(i=a),console.log("----3--------getRangeSectionListItemCount-----------------\x3e>>>");let l=0;for(let o=n;o<i;o++){l+=t(e[o])}return l}function o(){console.log("--------dumpWaterfallData---------\x3e>>>",e)}return{init:function(){},getSectionList:function(){return e},addSectionList:function(a){const i=e.length,l=n(0,i),c=function(e){if(e.length<=0)return 0;let n=0;for(let o=0;o<e.length;o++){n+=t(e[o])}return n}(a);return e.push(...a),o(),{sectionIndex:i,sectionCount:a.length,itemIndex:l,itemCount:c}},deleteSection:function(t,a){const i=n(0,t-1),l=n(t,a);return e.splice(t,a),o(),{sectionIndex:t,sectionCount:a,itemIndex:i,itemCount:l}},updateSection:function(a,i){const l=n(0,a-1),c=t(i);return e.splice(a,1,i),o(),{sectionIndex:a,sectionCount:1,itemIndex:l,itemCount:c}},getSection:function(t){if(!(t<0||t>=e.length||0==e.length))return e[t]},addItemList:function(t,n){const a=e.length;if(t<0||t>=a||n.length<=0)return{sectionIndex:-1,sectionCount:0,itemIndex:-1,itemCount:0};const i=e[t],l=i.itemList.length;return i.itemList.push(...n),o(),{sectionIndex:t,sectionCount:1,itemIndex:l,itemCount:n.length}},deleteItem:function(t,n,a){return e[t].itemList.splice(n,a),o(),{sectionIndex:t,sectionCount:1,itemIndex:n,itemCount:a}},updateItem:function(t,n,a){return e[t].itemList.splice(n,1,a),o(),{sectionIndex:t,sectionCount:1,itemIndex:n,itemCount:1}},updateItemList:function(t,n,a,i){return e[t].itemList.splice(n,a,...i),o(),{sectionIndex:t,sectionCount:1,itemIndex:n,itemCount:a}},getItem:function(t,n){const o=e[t];if(o&&o.itemList.length>0&&n>=0&&n<o.itemList.length){return o.itemList[n]}},destroy:function(){e=[]}}}var Oa;La.render=function(e,o,i,l,c,s){const r=a("text-view"),u=a("qt-plugin-view");return t(),n("div",Ua,[h(r,{class:"qt-ui-plugin-section-title-text-css",postDelay:300,autoWidth:"",autoHeight:"",typeface:"${titleTypeface}",flexStyle:"${titleStyle}",focusable:!1,textSize:"${titleStyle.fontSize}",text:"${title}"}),h(u,{class:"qt-ui-plugin-section-css",clipChildren:!1,clipPadding:!1,eventClick:"",eventFocus:"",sid:"${_id}",pluginKey:"${pluginKey}",flexStyle:"${pluginStyle}"})])},La.__scopeId="data-v-ca3d65aa",La.__file="src/waterfall/section/plugin-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 ka="qt-waterfall";var wa,Ba,Ma=Tn({name:"qt-waterfall",emits:["onScroll","onScrollStateChanged","onItemClick","onItemFocused","onSectionBind","onSectionAttached","onSectionDetached","onScrollYGreaterReference","onScrollYLesserReference","onPluginLoadSuccess","onPluginLoadError"],props:{enablePlaceholder:{type:Boolean,default:!0},blockFocusDirections:{type:Array,default:()=>["down"]},vueSectionBlockFocusDirections:{type:Array,default:()=>["left","right"]},customPool:{type:Object,default:()=>{}},customItemPool:{type:Object,default:()=>{}},scrollYLesserReferenceValue:{type:Number,default:0},scrollYGreaterReferenceValue:{type:Number,default:0},listData:{type:Array,required:!1},pStype:{type:Object,default:()=>({})},qtTabSectionEnable:{type:Object,default:()=>({flexSectionEnable:!0,flexSection:{qtPosterEnable:!0,qtPluginItemEnable:!0,cardItemEnable:!0},listSectionEnable:!0,listSection:{qtPosterEnable:!0},loadingSectionEnable:!0,endSectionEnable:!0,blankSectionEnable:!0,cardSectionEnable:!0,pluginSectionEnable:!0,vueSectionEnable:!0,itemStoreEnable:!1})},tvItemListName:{type:String,required:!1}},setup(t,n){const o=L();const a={...{name:"Waterfall"+Date.now(),size:{20008:10}},...t.customPool},i={...{name:"waterfallItems"+Date.now(),size:{1:30}},...t.customItemPool},l=e(Oa.QT_WATERFALL_VISIBLE_TYPE_CENTER),c=e();let s;const r=Da();function u(e){s=e,e.visibleType&&(l.value=e.visibleType)}const d=Qo(t.listData,{resetValue(e){u(t.pStype)},init(e){const t=Ca(s,e,!0);c.value?.setListData(t)},add(e){const t=Ca(s,e,!0);c.value?.addListData(t)},update(e,t){const n=Uo(1,t.datas),o=Ca(s,Array.from(n.values()),!0);c.value?.updateItemList(e,n.size,o)},insert(e,t){const n=Ca(s,t,!0);c.value?.addItem(e,n)},delete(e,t){c.value?.deleteItem(e,t)},clear(){c.value?.setListData([])}});return I((()=>{d?.stop()})),{waterfallRef:c,visibleType:l,init:u,setAutoFocus:function(e,t){c.value?.setAutoFocus(e,t)},getSectionList:function(){return r.getSectionList()},setSectionList:function(e){if(!s)return;o.isLoggable(U.DEBUG)&&o.d(ka,"-------1---setSectionList--------------\x3e>>"),r.destroy();const t=r.addSectionList(e);o.isLoggable(U.DEBUG)&&o.d(ka,"-------2---setSectionList--------------\x3e>>",t);const n=Ca(s,e);o.isLoggable(U.DEBUG)&&o.d(ka,"----------setSectionList-----最终数据---------\x3e>>",n),c.value?.setListData(n)},addSectionList:function(e){if(!s)return;r.addSectionList(e);const t=Ca(s,e);o.isLoggable(U.DEBUG)&&o.d(ka,"----------addSectionList-----最终数据---------\x3e>>",t),c.value?.addListData(t)},deleteSection:function(e,t){const n=r.deleteSection(e,t);o.isLoggable(U.DEBUG)&&o.d(ka,"----------deleteSection-----最终数据---------\x3e>>",n),c.value?.deleteItem(e,t)},updateSection:function(e,t){r.updateSection(e,t);const n=xa(0,t);o.isLoggable(U.DEBUG)&&o.d(ka,"----------updateSection-----最终数据---------\x3e>>sectionIndex:",e,"updateSection:",n),c.value?.updateItem(e,n)},updateSectionList:function(e,t,n){const o=[];for(let t=0;t<n.length;t++){const a=n[t];r.updateSection(e+t,a);const i=xa(0,a);i&&o.push(i)}c.value?.updateItemList(e,t,o)},getSection:function(e){return r.getSection(e)},addItemList:function(e,t){r.addItemList(e,t);const n=r.getSection(e);if(n){const t=xa(0,n);c.value?.updateItem(e,t)}},deleteItem:function(e,t,n){r.deleteItem(e,t,n);const o=r.getSection(e);if(o){const t=xa(0,o);c.value?.updateItem(e,t)}},updateItem:function(e,t,n){r.updateItem(e,t,n);const o=r.getSection(e);if(o){const t=xa(0,o);c.value?.updateItem(e,t)}},updateItemList:function(e,t,n,o){r.updateItemList(e,t,n,o);const a=r.getSection(e);if(a){const t=xa(0,a);c.value?.updateItem(e,t)}},getItem:function(e,t){return r.getItem(e,t)},cachePool:a,itemsPool:i,onScroll:function(e){e.stopPropagation();let t=e.offsetX,o=e.offsetY;n.emit("onScroll",t,o)},onItemClick:function(e){o.isLoggable(U.DEBUG)&&o.d(ka,"----------onItemClick--------------\x3e>>",e,"sectionIndex:"+e.parentPosition+" position:"+e.position+" "),n.emit("onItemClick",e.parentPosition,e.position,e.item,e)},onItemFocused:function(e){o.isLoggable(U.DEBUG)&&o.d(ka,"----------onItemFocused--------------\x3e>>",e,"sectionIndex:"+e.parentPosition+" position:"+e.position+" isFocused:"+e.isFocused+" "),n.emit("onItemFocused",e.parentPosition,e.position,e.isFocused,e.item,e)},onSectionBind:function(e){if(e){o.isLoggable(U.DEBUG)&&o.d(ka,"----------onSectionBind--------------\x3e>>",e);let t=e.pageIndex??-1;n.emit("onSectionBind",t,e.position)}},onSectionAttached:function(e){if(e){o.isLoggable(U.DEBUG)&&o.d(ka,"----------onSectionAttached--------------\x3e>>",e);let t=e.pageIndex??0;n.emit("onSectionAttached",t,e.position)}},onSectionDetached:function(e){if(e){o.isLoggable(U.DEBUG)&&o.d(ka,"----------onSectionDetached--------------\x3e>>",e);let t=e.pageIndex??0;n.emit("onSectionDetached",t,e.position)}},onScrollStateChanged:function(e){let t=e.offsetY,o=e.offsetX,a=e.newState,i=e.oldState;n.emit("onScrollStateChanged",o,t,a,i)},resumePostTask:function(){c.value?.pausePostTask()},pausePostTask:function(){c.value?.pausePostTask()},clearPostTask:function(){c.value?.clearPostTask()},destroy:function(){c.value?.destroy()},scrollToTop:function(){c.value?.scrollToTop()},setListData:function(e){c.value?.setListData(e)},onScrollYGreaterReference:function(){n.emit("onScrollYGreaterReference")},onScrollYLesserReference:function(){n.emit("onScrollYLesserReference")},onPluginLoadSuccess:function(e){n.emit("onPluginLoadSuccess",e)},onPluginLoadError:function(e){n.emit("onPluginLoadError",e)},...to(c)}},components:{"flex-section":da,"list-section":_a,"section-title":Ea,"loading-section":ha,"end-section":Sa,"blank-section":ya,"card-section":Ra,"vue-section":Na,"plugin-section":La}});Ma.render=function(e,n,l,c,s,u){const d=a("flex-section"),f=a("item-store"),g=a("list-section"),p=a("loading-section"),_=a("end-section"),T=a("blank-section"),I=a("card-section"),h=a("plugin-section"),v=a("vue-section"),S=a("tv-list");return t(),i(S,{ref:"waterfallRef",class:"qt-waterfall-root-css",keyName:"_id",list:"${"+e.tvItemListName+"}",clipChildren:!1,clipPadding:!1,listenBoundEvent:!0,negativeKeyTime:"30",postContentDelay:"500",onScroll:e.onScroll,onItemClick:e.onItemClick,onItemFocused:e.onItemFocused,onItemBind:e.onSectionBind,onItemAttached:e.onSectionAttached,onItemDetached:e.onSectionDetached,focusMemory:!1,cachePool:e.cachePool,preload:1,checkScrollOffsetOnStateChanged:!0,makeChildVisibleType:e.visibleType,scrollThresholdVertical:50,scrollEventThrottle:16,enableSelectOnFocus:!1,advancedFocusSearchSpan:"1",scrollYLesserReferenceValue:e.scrollYLesserReferenceValue,scrollYGreaterReferenceValue:e.scrollYGreaterReferenceValue,onScrollYGreaterReference:e.onScrollYGreaterReference,onScrollYLesserReference:e.onScrollYLesserReference,shakePreCheckNumber:"4",onOnPluginLoadSuccess:e.onPluginLoadSuccess,onOnPluginLoadError:e.onPluginLoadError,blockFocusDirections:e.blockFocusDirections,onScrollStateChanged:e.onScrollStateChanged},{default:m((()=>[r(" 普通版块"),e.qtTabSectionEnable.flexSectionEnable?(t(),i(d,{key:0,"cache-pool":e.itemsPool,enablePlaceholder:e.enablePlaceholder,"flex-section":e.qtTabSectionEnable.flexSection,onFocus:e.onItemFocused},{default:m((()=>[o(e.$slots,"item")])),_:3},8,["cache-pool","enablePlaceholder","flex-section","onFocus"])):r("v-if",!0),e.qtTabSectionEnable.itemStoreEnable?(t(),i(f,{key:1},{default:m((()=>[o(e.$slots,"shared-item")])),_:3})):r("v-if",!0),r("一行滚动 多级tab"),e.qtTabSectionEnable.listSectionEnable?(t(),i(g,{key:2,"cache-pool":e.itemsPool,"list-section":e.qtTabSectionEnable.listSection,enablePlaceholder:e.enablePlaceholder},{default:m((()=>[o(e.$slots,"list-item")])),_:3},8,["cache-pool","list-section","enablePlaceholder"])):r("v-if",!0),r(" loading"),e.qtTabSectionEnable.loadingSectionEnable?(t(),i(p,{key:3})):r("v-if",!0),r(" end "),e.qtTabSectionEnable.endSectionEnable?(t(),i(_,{key:4})):r("v-if",!0),r(" blank "),e.qtTabSectionEnable.blankSectionEnable?(t(),i(T,{key:5})):r("v-if",!0),r(" card "),e.qtTabSectionEnable.cardSectionEnable?(t(),i(I,{key:6,onFocus:e.onItemFocused},null,8,["onFocus"])):r("v-if",!0),r(" plugin "),e.qtTabSectionEnable.pluginSectionEnable?(t(),i(h,{key:7})):r("v-if",!0),r(" vue "),e.qtTabSectionEnable.vueSectionEnable?(t(),i(v,{key:8,"block-focus-directions":e.vueSectionBlockFocusDirections},{default:m((()=>[o(e.$slots,"vue-section")])),_:3},8,["block-focus-directions"])):r("v-if",!0),o(e.$slots,"section")])),_:3},8,["list","onScroll","onItemClick","onItemFocused","onItemBind","onItemAttached","onItemDetached","cachePool","makeChildVisibleType","scrollYLesserReferenceValue","scrollYGreaterReferenceValue","onScrollYGreaterReference","onScrollYLesserReference","onOnPluginLoadSuccess","onOnPluginLoadError","blockFocusDirections","onScrollStateChanged"])},Ma.__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"}(wa||(wa={})),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"}(Ba||(Ba={}));const Qa="qt-tabs";var $a=Tn({name:"qt-tabs",emits:["onTabPageLoadData","onTabPageChanged","onTabEvent","onTabPageItemClick","onTabPageItemFocused","onTabPageSectionAttached","onTabPageScroll","onTabPageScrollStateChanged","onTabMoveToTopStart","onTabMoveToTopEnd","onTabMoveToBottomStart","onTabMoveToBottomEnd","onTabChanged","onTabPageScrollToEnd","onTabPageScrollToStart","onTabClick","onPluginLoadSuccess","onPluginLoadError"],props:{enablePlaceholder:{type:Boolean,default:!0},preloadNumber:{type:Number,default:3},tabNavBarClass:{type:String,default:""},tabNavBarSid:{type:String,default:""},tabClass:{type:String,default:""},tabsDataStrategy:{type:String,default:"overTime"},tabPageClass:{type:String,default:""},horizontal:{type:Boolean,default:!0},pageTransform:{type:Boolean,default:!0},hideOnSingleTab:{type:Boolean,default:!0},floatNavBar:{type:Boolean,default:!0},useNavBarBg:{type:Boolean,default:!0},contentNextFocus:{type:Object,default:()=>({up:"tabList",left:"tabList"})},triggerTask:{type:Array,default:()=>[]},blockViewPager:{type:Array,default:()=>[]},blockViewPagerVertical:{type:Array,default:()=>[]},tabContentBlockFocusDirections:{type:Array,default:()=>["down"]},tabContentResumeDelay:{type:Number,default:300},tabContentSwitchDelay:{type:Number,default:0},slidingEnable:{type:Boolean,default:!1},slidingMode:{type:String,default:""},initTranslation:{type:Number,default:0},rightTranslation:{type:Number,default:0},leftTranslation:{type:Number,default:0},duration:{type:Number,default:1e3},interpolatorType:{type:Number,default:1},endHintEnabled:{type:Boolean,default:!0},outOfDateTime:{type:Number,default:3e5},customPool:{type:Object,default:()=>{}},customItemPool:{type:Object,default:()=>{}},navBarNextFocusName:{type:Object,default:()=>({down:"content"})},horizontalFadingEdgeEnabled:{type:Boolean,default:!1},verticalFadingEdgeEnabled:{type:Boolean,default:!1},fadingEdgeLength:{type:Number,default:0},qtTabSectionEnable:{type:Object,default:()=>({tabEnable:!0,flexSectionEnable:!0,flexSection:{qtPosterEnable:!0,qtPluginItemEnable:!0,cardItemEnable:!0},listSectionEnable:!0,listSection:{qtPosterEnable:!0},loadingSectionEnable:!0,endSectionEnable:!0,blankSectionEnable:!0,cardSectionEnable:!0,pluginSectionEnable:!0,vueSectionEnable:!0,itemStoreEnable:!1})}},setup(t,n){const o=e();e();const a=e(!0),i=e(1),l=L();C();const c=e(),s=function(){const e=new Map,t=new Map;function n(n){const o={index:n,state:wa.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){if(e.length<=0)return 0;let t=0;for(let n=0;n<e.length;n++)t+=a(e[n]);return t}function l(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 c(){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,a=0){let s=t.get(n)??[];a>0&&(s=s.slice(0,s.length-a),t.set(n,s));const r=s.length,u=l(s,0,r),d=i(o);s.push(...o);const f=e.get(n);return f&&f.state!=wa.QT_TAB_PAGE_STATE_COMPLETE&&(f.state=wa.QT_TAB_PAGE_STATE_IDLE),c(),{pageIndex:n,sectionIndex:r,sectionCount:o.length,itemIndex:u,itemCount:d}},insertSectionList:function(n,o,a){const s=t.get(n)??[],r=s.length,u=l(s,0,r),d=i(a);s.splice(o,0,...a);const f=e.get(n);return f&&f.state!=wa.QT_TAB_PAGE_STATE_COMPLETE&&(f.state=wa.QT_TAB_PAGE_STATE_IDLE),c(),{pageIndex:n,sectionIndex:r,sectionCount:a.length,itemIndex:u,itemCount:d}},deleteSection:function(e,n,o){const a=t.get(e)??[],i=l(a,0,n-1),s=l(a,n,o);return a.splice(n,o),c(),{pageIndex:e,sectionIndex:n,sectionCount:o,itemIndex:i,itemCount:s}},updateSection:function(e,n,o){const i=t.get(e)??[],s=l(i,0,n-1),r=a(o);return i.splice(n,1,o),c(),{pageIndex:e,sectionIndex:n,sectionCount:1,itemIndex:s,itemCount:r}},updateSectionList:function(e,n){return t.set(e,n),c(),{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 l=a[n],s=l.itemList.length;return l.itemList.push(...o),c(),{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),c(),{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),c(),{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),c(),{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()}}}();let r,u=[],d=-1,f=-1,g=-1;function p(e,t){const n=s.getTabPageDataState(e);n&&(n.state=t,s.setPageDataState(e,n))}function _(e){l.isLoggable(U.DEBUG)&&l.d(Qa,"----设置数据---setPageStateReset->>>>pageIndex:"+e);const t=s.getTabPageDataState(e);t&&(t.state=wa.QT_TAB_PAGE_STATE_INIT,t.sectionBindIndex=-1,s.setPageDataState(e,t));const n=s.getSectionList(e);s.deleteSection(e,0,n.length-1),function(e){if(e<0||e>u.length)return;const t=u[e];t.__pageNo=0}(e)}function T(e){l.isLoggable(U.DEBUG)&&l.d(Qa,"----设置数据---setPageStateRecycled---START--\x3e>>pageIndex:"+e);const t=s.getTabPageDataState(e);t&&(t.sectionBindIndex=0,t.state=wa.QT_TAB_PAGE_STATE_IDLE,s.setPageDataState(e,t));const n=s.getSectionList(e);s.deleteSection(e,1,n.length-1),l.isLoggable(U.DEBUG)&&l.d(Qa,"----设置数据---setPageStateRecycled---END---\x3e>pageIndex:"+e);I(e)>0&&function(e,t){l.isLoggable(U.DEBUG)&&l.d(Qa,"---------设置数据----setTabPageDataNo--START---\x3e>>> pageIndex:"+e+" pageNum:"+t);if(e<0||e>u.length)return;const n=u[e];n.__pageNo=t,l.isLoggable(U.DEBUG)&&l.d(Qa,"---------设置数据----setTabPageDataNo---END---\x3e>>> pageIndex:"+e+" pageNo:"+n.__pageNo)}(e,1)}function I(e){if(e<0||e>u.length)return 0;const t=u[e];return null==t.__pageNo&&(t.__pageNo=0),l.isLoggable(U.DEBUG)&&l.d(Qa,"---------设置数据----getTabPageDataNo---\x3e>>> pageIndex:"+e+" pageNo:"+t.__pageNo),t.__pageNo}function m(e){if(e<0||e>u.length)return;const t=u[e];if(null==t.__pageNo)return t.__pageNo=1,void(l.isLoggable(U.DEBUG)&&l.d(Qa,"---------设置数据----increaseTabPageDataNo---\x3e>>> pageIndex:"+e+" pageNo:1"));t.__pageNo=t.__pageNo+1,l.isLoggable(U.DEBUG)&&l.d(Qa,"---------设置数据----increaseTabPageDataNo---\x3e>>> pageIndex:"+e+" pageNo:"+t.__pageNo)}function h(e,o,a){let i=I(e),c=s.getTabPageDataState(e);if(!c||c.state!==wa.QT_TAB_PAGE_STATE_IDLE&&c.state!==wa.QT_TAB_PAGE_STATE_INIT)l.isLoggable(U.DEBUG)&&l.d(Qa,"------设置数据----loadPageData--状态不对--\x3e>>>",e);else{const c=s.getSectionList(e);a>=c.length-t.preloadNumber-1?(l.isLoggable(U.DEBUG)&&l.d(Qa,"---------设置数据-----加载更多数据-----\x3e>>> pageIndex:"+e+" pageNo:"+i+" sectionIndex:"+a+" sectionListLength:"+c.length),p(e,wa.QT_TAB_PAGE_STATE_BUSY),n.emit("onTabPageLoadData",e,i,o)):l.isLoggable(U.DEBUG)&&l.d(Qa,"----设置数据------loadPageData--preloadNumber错误--\x3e>>>",e)}}function v(){clearTimeout(g),g=setTimeout((()=>{const e=s.getSectionListByState(d,Ba.QT_LIST_VIEW_ITEM_STATE_ATTACHED);(e?e.length:0)>0&&(e.forEach((e=>{l.isLoggable(U.DEBUG)&&l.d(Qa,"----------notifyTabContentSectionAttached------\x3e>>> pageIndex"+d+" sectionIndex:",e.sectionIndex)})),n.emit("onTabPageSectionAttached",d,e))}),100)}function S(e,t){l.isLoggable(U.DEBUG)&&l.d(Qa,"----------onWaterfallScroll----\x3e>>> offsetX:"+e+" scrollY:"+t),n.emit("onTabPageScroll",e,t)}function F(e,t,o){l.isLoggable(U.DEBUG)&&l.d(Qa,"----------onWaterfallScrollStateChanged----\x3e>>> offsetX:"+e+" scrollY:"+t+" newState:"+o),n.emit("onTabPageScrollStateChanged",e,t,o)}return{tabs:o,ifTabs:a,navBarRef:c,initTab:function(e){let t={defaultIndex:e.defaultIndex,focusIndex:e.defaultFocusIndex,data:e.itemList};u=e.itemList,s.initTab(e),o.value?.setTabsData(t)},setAutoFocus:function(e,t){o.value?.setAutoFocus(e,t)},initPage:function(e){r=e},setPageState:p,setPageData:function(e,t){l.isLoggable(U.DEBUG)&&l.d(Qa,"----------loadPageData----setPageData--\x3e>>>pageIndex:"+e),s.addSectionList(e,t.data,0);const n={data:Ca(r,t.data),disableScrollOnFirstScreen:t.disableScrollOnFirstScreen??!1,firstFocusTargetID:t.firstFocusTargetID??"",useDiff:t.useDiff,bindingPlayer:t.bindingPlayer};l.isLoggable(U.DEBUG)&&l.d(Qa,"---------设置数据-----setPageData------\x3e>>> pageIndex:"+e+" data:",n),m(e),o.value?.setPageData(e,n)},addPageData:function(e,t,n=0){s.addSectionList(e,t.data,n);const a={data:Ca(r,t.data),disableScrollOnFirstScreen:t.disableScrollOnFirstScreen??!1,firstFocusTargetID:t.firstFocusTargetID??"",useDiff:t.useDiff};try{const t=I(e);0==t?(l.isLoggable(U.DEBUG)&&l.d(Qa,"---------设置数据------setPageData---\x3e>>> pageIndex:"+e+" pageNo:"+t+" data:",a," deleteCount:"+n),o.value?.setPageData(e,a)):(l.isLoggable(U.DEBUG)&&l.d(Qa,"---------设置数据------addPageData---\x3e>>> pageIndex:"+e+" pageNo:"+t+" data:",a," deleteCount:"+n),o.value?.addPageData(e,a,n))}catch(e){}m(e)},updatePageData:function(e,t){s.updateSectionList(e,t.data);const n={data:Ca(r,t.data),disableScrollOnFirstScreen:t.disableScrollOnFirstScreen??!1,firstFocusTargetID:t.firstFocusTargetID??"",useDiff:t.useDiff};o.value?.updatePageData(e,n)},updatePageSection:function(e,t,n){s.updateSection(e,t,n);const a=xa(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=xa(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=xa(0,i);o.value?.updateRootNode(e,t,n)}},blockRootFocus:function(){o.value?.blockRootFocus()},unBlockRootFocus:function(){o.value?.unBlockRootFocus()},focusBackToTop:function(){o.value?.focusBackToTop()},requestNodeFocus:function(e){o.value?.requestNodeFocus(e)},reloadAll:function(e=!0){o.value?.reloadAll(e)},reloadPage:function(e){o.value?.reloadPage(e)},setCurrentPage:function(e){o.value?.setCurrentPage(e)},requestTabFocus:function(e){o.value?.requestTabFocus(e)},invokeContentFunction:function(e,t,n){o.value?.invokeContentFunction(e,t,n)},invokeContentFunctionDirect:function(e,t){o.value?.invokeContentFunctionDirect(e,t)},contentScrollToFocus:function(e){o.value?.contentScrollToFocus(e)},getRootNodeViewState:function(e,t,n){o.value?.getRootNodeViewState(e,t,n)},getChildNodeViewState:function(e,t,n,a,i){o.value?.getChildNodeViewState(e,t,n,a,i)},dispatchUIFunctionOnChildNode:function(e,t,n,a,i){o.value?.dispatchUIFunctionOnChildNode(e,t,n,a,i)},updateItemMatched:function(e="id",t,n){o.value?.updateItemMatched(e,t,n)},updateRootNode:function(e,t,n){o.value?.updateRootNode(e,t,n)},updateChildNode:function(e,t,n,a){o.value?.updateChildNode(e,t,n,a)},destroy:function(){o.value?.destroy()},cancelAll:function(){o.value?.cancelAll()},translationLeft:function(){o.value?.translationLeft()},translationRight:function(){o.value?.translationRight()},rootOpacity:i,onTabPageLoadData:function(e){const t=e.pageIndex,n=e.useDiff;l.isLoggable(U.DEBUG)&&l.d(Qa,"----------设置数据----onTabPageLoadData---加载数据开始----\x3e>>>pageIndex:"+t),_(t),h(t,n,0),l.isLoggable(U.DEBUG)&&l.d(Qa,"----------设置数据----onTabPageLoadData---加载数据结束----\x3e>>>pageIndex:"+t)},onTabPageChanged:function(e){const t=e.pageIndex;if(l.isLoggable(U.DEBUG)&&l.d(Qa,"------设置数据----onTabPageChanged---TAB切换开始--\x3e>>>pageIndex:",t),d==t)return;d=t,l.isLoggable(U.DEBUG)&&l.d(Qa,"------设置数据----onTabPageChanged---TAB重置开始--\x3e>>>pageIndex:",t);for(let e=0;e<u.length;e++){const n=s.getTabPageDataState(e);l.isLoggable(U.DEBUG)&&l.d(Qa,"------设置数据--调用setPageStateRecycled--START->>>> index:"+e+" lastTabPageIndex:"+f+" pageIndex:"+t+" pageState:",n),e!=t&&(e!=f||e==f&&t-f>1)&&n&&n.state!=wa.QT_TAB_PAGE_STATE_INIT&&(l.isLoggable(U.DEBUG)&&l.d(Qa,"------设置数据--调用setPageStateRecycled--END->>>> index:"+e+" lastTabPageIndex:"+f+" pageIndex:"+t+" pageState:",n),T(e))}l.isLoggable(U.DEBUG)&&l.d(Qa,"------设置数据----onTabPageChanged---TAB重置结束--\x3e>>>pageIndex:",t);const o=e.data;n.emit("onTabPageChanged",t,o);const a=s.getTabPageDataState(t);a&&a.sectionBindIndex>=-1&&h(t,!1,a.sectionBindIndex),v(),f=t,l.isLoggable(U.DEBUG)&&l.d(Qa,"------设置数据----onTabPageChanged---TAB切换结束--\x3e>>>pageIndex:",t)},onTabEvent:function(e){const t=e.params,o=e.eventName,a=e.params.itemPosition,i=e.params.x,c=e.params.y,s=e.params.contentOffset,r=e.params.state;switch(l.isLoggable(U.DEBUG)&&l.d(Qa,"----------onTabEvent------\x3e>>> eventName:"+o+" tabIndex:"+a+" params:",t),n.emit("onTabEvent",a,o,t),o){case"onMoveToTopStart":n.emit("onTabMoveToTopStart",a,o,t);break;case"onMoveToTopEnd":n.emit("onTabMoveToTopEnd",a,o,t);break;case"onMoveToBottomStart":n.emit("onTabMoveToBottomStart",a,o,t);break;case"onMoveToBottomEnd":n.emit("onTabMoveToBottomEnd",a,o,t);break;case"onTabChanged":n.emit("onTabChanged",a,o,t);break;case"onScroll":S(i,c);break;case"onScrollStateChanged":F(s.x,s.y,r.newState)}},onWaterfallItemClick:function(e,t,o,a){l.isLoggable(U.DEBUG)&&l.d(Qa,"-----------onWaterfallItemClick---------------\x3e>>> sectionIndex:"+e+" itemIndex:"+t+" item:",o),n.emit("onTabPageItemClick",d,e,t,o,a)},onWaterfallItemFocused:function(e,t,o,a){l.isLoggable(U.DEBUG)&&l.d(Qa,"-----------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(U.DEBUG)&&l.d(Qa,"---------设置数据-----绑定回调----\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(U.DEBUG)&&l.d(Qa,"----------loadPageData----bind--\x3e>>>pageIndex:"+e),h(e,!1,t)))},onWaterfallSectionAttached:function(e,t){l.isLoggable(U.DEBUG)&&l.d(Qa,"-----------onWaterfallSectionAttached---------------\x3e>>> pageIndex:"+e+" sectionIndex:"+t),s.setSectionState(e,t,Ba.QT_LIST_VIEW_ITEM_STATE_ATTACHED),e==d&&v()},onWaterfallSectionDetached:function(e,t){l.isLoggable(U.DEBUG)&&l.d(Qa,"-----------onWaterfallSectionDetached---------------\x3e>>> pageIndex:"+e+" sectionIndex:"+t),s.setSectionState(e,t,Ba.QT_LIST_VIEW_ITEM_STATE_DETACHED)},onWaterfallScroll:S,onWaterfallScrollStateChanged:F,onTabPageScrollToStart:function(e){const t=e.pageIndex;n.emit("onTabPageScrollToStart",t),l.isLoggable(U.DEBUG)&&l.d(Qa,"----------onTabPageScrollToStart------\x3e>>> pageIndex:"+t)},onTabPageScrollToEnd:function(e){const t=e.pageIndex;n.emit("onTabPageScrollToEnd",t),l.isLoggable(U.DEBUG)&&l.d(Qa,"----------onTabPageScrollToEnd------\x3e>>> pageIndex:"+t)},onTabChange:function(e){},onTabClick:function(e){n.emit("onTabClick",e)},getCurrentPageIndex:function(){return d},getCurrentTabIndex:function(){return o.value?o.value.getCurrentPage():Promise.resolve(-1)},insertPageData(e,t,n){s.insertSectionList(e,t,n);const a=Ca(r,n);o.value?.insertPageData(e,t,a)},onPluginLoadSuccess:function(e){n.emit("onPluginLoadSuccess",e)},onPluginLoadError:function(e){n.emit("onPluginLoadError",e)},getDataManager:()=>s,...to(o)}}});$a.render=function(e,n,l,c,u,d){const f=a("qt-nav-bar"),g=a("qt-waterfall"),p=a("recycler-view-pager"),_=a("tabs");return e.ifTabs?(t(),i(_,{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:m((()=>[h(f,{ref:"navBarRef",name:"tabList",focusable:!1,class:s(e.tabNavBarClass),sid:e.tabNavBarSid,tabEnable:e.qtTabSectionEnable.tabEnable,"text-key":"text",nextFocusName:e.navBarNextFocusName,horizontalFadingEdgeEnabled:e.horizontalFadingEdgeEnabled,verticalFadingEdgeEnabled:e.verticalFadingEdgeEnabled,fadingEdgeLength:e.fadingEdgeLength,onTabFocus:e.onTabChange,onTabClick:e.onTabClick,clipChldren:!1,horizontal:e.horizontal},{default:m((()=>[o(e.$slots,"tab-item")])),_:3},8,["class","sid","tabEnable","nextFocusName","horizontalFadingEdgeEnabled","verticalFadingEdgeEnabled","fadingEdgeLength","onTabFocus","onTabClick","horizontal"]),h(p,{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"},{default:m((()=>[h(g,{keyName:"_id",endHintEnabled:e.endHintEnabled,enablePlaceholder:e.enablePlaceholder,onOnScrollStateChanged:e.onWaterfallScrollStateChanged,onOnScroll:e.onWaterfallScroll,"custom-pool":e.customPool,sid:"${sid}","custom-item-pool":e.customItemPool,blockFocusDirections:e.horizontal?e.blockViewPager:e.blockViewPagerVertical,"qt-tab-section-enable":e.qtTabSectionEnable,onOnSectionBind:e.onWaterfallSectionBind,onOnSectionAttached:e.onWaterfallSectionAttached,onOnSectionDetached:e.onWaterfallSectionDetached,onOnItemFocused:e.onWaterfallItemFocused,onOnItemClick:e.onWaterfallItemClick,onOnPluginLoadSuccess:e.onPluginLoadSuccess,onOnPluginLoadError:e.onPluginLoadError},{item:m((()=>[o(e.$slots,"waterfall-item")])),"shared-item":m((()=>[o(e.$slots,"waterfall-shared-item")])),"list-item":m((()=>[o(e.$slots,"waterfall-list-item")])),section:m((()=>[o(e.$slots,"waterfall-section")])),"vue-section":m((()=>[o(e.$slots,"waterfall-vue-section")])),_:3},8,["endHintEnabled","enablePlaceholder","onOnScrollStateChanged","onOnScroll","custom-pool","custom-item-pool","blockFocusDirections","qt-tab-section-enable","onOnSectionBind","onOnSectionAttached","onOnSectionDetached","onOnItemFocused","onOnItemClick","onOnPluginLoadSuccess","onOnPluginLoadError"])])),_:3},8,["nextFocusName","class","opacity","enableTransform","slidingEnable","slidingMode","initTranslation","rightTranslation","leftTranslation","duration","interpolatorType","triggerTask","direction"])])),_:3},8,["dataStrategy","hideOnSingleTab","pageSwitchDelay","resumeTaskDelay","suspension","useSuspensionBg","outOfDateTime","class","blockFocusDirections","onScrollToStart","onScrollToEnd","onLoadPage","onPageChanged","onTabEvent"])):r("v-if",!0)},$a.__file="src/tab/index.vue";var Ga=Tn({name:"qt-vue-section",setup(t,n){const o=e();return{onSectionBind:function(){},viewRef:o,...to(o)}}});Ga.render=function(e,n,l,c,s,r){const u=a("tv-item");return t(),i(u,{ref:"viewRef",class:"qt-ui-waterfall-vue-section",clipChildren:!1,clipPadding:!1,flexStyle:"${style}",singleton:"",onItemBind:e.onSectionBind},{default:m((()=>[o(e.$slots,"default")])),_:3},8,["onItemBind"])},Ga.__scopeId="data-v-d02af3c2",Ga.__file="src/section/index.vue";var Va=Tn({name:"qt-classified-list-view",props:{className:{type:String,default:"content_list_view"},classNavName:{type:String,default:"nav_list_view"},currentFocusIndex:{type:Number,default:0},focusScale:{type:Number,default:1.15},navType:{type:Number,default:10001},yOffest:{type:Number,default:802}},emits:["item-click","item-focused"],setup(t,n){const o=e();let a=e(1);const i=e(),l=e();let c=[],s=-1,r=-1,u=[];let d=-1;let f=-1,g=-1;return{descendantFocusability:a,content_list_view:i,nav_list_view:l,init:e=>{e.forEach(((n,o)=>{n.isPlaying=!1,t.currentFocusIndex==o&&(n.isPlaying=!0);let a=!1;for(let e=0;e<c.length;e++){const t=c[e];n.categoryname==t.categoryname&&(n.navIndex=e,a=!0)}a||(n.navIndex||(n.navIndex=c.length),c.push({type:n.type,decoration:{left:50},categoryname:n.categoryname,startIndex:o,isNeedFocus:!0})),u=e})),Ht((()=>{c[c.length-1].decoration.right=50,i.value?.setListData(e),l.value?.setListData(c),setTimeout((()=>{s=t.currentFocusIndex,r=e[t.currentFocusIndex].navIndex,i.value?.scrollToFocused(s),l.value?.scrollToSelected(r,!0)}),300)}))},onItemBind:()=>{},onSItemClick:e=>{n.emit("item-click",e)},onFItemClick:e=>{n.emit("item-click",e)},scrollToIndex:(e,t=!0,n=802)=>{i.value?.scrollToIndex(e,t,n)},scrollToFocused:e=>{a.value=1,setTimeout((()=>{i.value?.scrollToFocused(e)}),300)},setItemFocused:e=>{setTimeout((()=>{a.value=1}),300),i.value?.setItemFocused(e)},scrollToSelected:(e,t=!0)=>{i.value?.scrollToSelected(e,t)},setItemSelected:(e,t=!0)=>{i.value?.setItemSelected(e,!0)},onSItemFocused:e=>{clearTimeout(d),d=setTimeout((()=>{if(e.hasFocus){if(s!=e.position){if(s>-1){let e=u[s];e.isPlaying=!1,i.value?.updateItem(s,e)}let t=u[e.position];t.isPlaying=!0,i.value?.updateItem(e.position,t)}s=e.position,r!=e.item.navIndex&&(r=e.item.navIndex,l.value?.scrollToSelected(e.item.navIndex,!0)),n.emit("item-focused",e)}else r=e.item.navIndex}),300)},onFItemFocused:e=>{"0"==e.position&&i.value?.setItemSelected(1,!0),clearTimeout(f),clearTimeout(g),e.hasFocus&&r!=e.position&&(a.value=2,r=e.position,u[e.item.startIndex].isNeedFocus?(i.value?.scrollToIndex(e.item.startIndex,!1,t.yOffest),g=setTimeout((()=>{i.value?.setItemSelected(e.item.startIndex,!0),f=setTimeout((()=>{a.value=1}),200)}),400)):(i.value?.scrollToIndex(e.item.startIndex+1,!1,t.yOffest),g=setTimeout((()=>{i.value?.setItemSelected(e.item.startIndex+1,!0),f=setTimeout((()=>{a.value=1}),200)}),400)))},updateItem:(e,t)=>{u[e]=t,u.forEach(((e,t)=>{for(let t=0;t<c.length;t++){const n=c[t];e.categoryname==n.categoryname&&(e.navIndex=t)}})),i.value?.updateItem(e,u[e])},viewRef:o,...to(o)}}});const qa={focusable:!1,clipChildren:!1,ref:"viewRef"},Ya=["focusScale"],Wa=v("img",{class:"coverV",src:"${coverV}",focusable:!1,postDelay:300},null,-1),za=v("div",{class:"titMask",focusable:!1,showIf:"${isPlaying}",gradientBackground:{colors:["#00000000","#FF000000"],cornerRadii4:[0,0,8,8]}},null,-1),Ha={focusable:!1,class:"clv_item_text_box",showIf:"${isPlaying}"},ja={class:"playMark",focusable:!1},Ka=["type"],Xa=v("div",{class:"line",focusable:!1,showOnState:"selected",duplicateParentState:!0},null,-1),Za=v("div",{duplicateParentState:!0,class:"nav_item_text_focused",showOnState:"focused",focusable:!1,gradientBackground:{colors:["#FF2F7CEB","#FF1163D8"],cornerRadius:40}},null,-1),Ja={class:"nav_item_text",focusable:!1,duplicateParentState:!0};Va.render=function(e,i,l,u,d,f){const g=a("play-mark"),p=a("text-view"),_=a("qt-list-view");return t(),n("div",qa,[h(_,{class:s(e.className),ref:"content_list_view",clipChildren:!1,clipPadding:!1,onItemClick:e.onSItemClick,horizontal:"",blockFocusDirections:["left","right"],descendantFocusability:e.descendantFocusability,name:"content_list_view",onItemFocused:e.onSItemFocused},{default:m((()=>[v("div",{type:10001,name:"clv_item",class:"clv_item",focusable:!0,enableFocusBorder:!0,clipChildren:!1,eventClick:"",eventFocus:"",focusScale:e.focusScale},[Wa,za,v("div",Ha,[v("div",ja,[h(g,{style:c([{width:"28px",height:"20px"},{"margin-left":"16px"}]),markColor:"#ffffff",gap:-1,focusable:!1})]),h(p,{focusable:!1,ellipsizeMode:2,fontSize:30,gravity:"centerVertical",lines:1,maxLines:1,class:"clv_item_text",text:"${assetTitle}",paddingRect:[6,0,0,0]})])],8,Ya),o(e.$slots,"item")])),_:3},8,["class","onItemClick","descendantFocusability","onItemFocused"]),r(" listview first nav "),h(_,{class:s(e.classNavName),ref:"nav_list_view",clipChildren:!1,clipPadding:!1,onItemClick:e.onFItemClick,nextFocusName:{up:"content_list_view"},horizontal:"",blockFocusDirections:["left","right"],onItemFocused:e.onFItemFocused},{default:m((()=>[v("div",{type:e.navType,name:"nav_item",class:"nav_item",focusable:!0,enableFocusBorder:!1,focusScale:"1",eventClick:"",eventFocus:"",clipChildren:!1},[Xa,Za,v("div",Ja,[h(p,{focusable:!1,ellipsizeMode:2,duplicateParentState:!0,fontSize:44,gravity:"center",lines:1,class:"text_selected",text:"${categoryname}",showOnState:["selected"]}),h(p,{focusable:!1,ellipsizeMode:2,duplicateParentState:!0,fontSize:44,gravity:"center",lines:1,maxLines:1,class:"text",text:"${categoryname}",showOnState:"focused"}),h(p,{focusable:!1,ellipsizeMode:2,duplicateParentState:!0,fontSize:44,gravity:"center",lines:1,class:"text",text:"${categoryname}",showOnState:["normal"]})])],8,Ka),o(e.$slots,"navItem")])),_:3},8,["class","onItemClick","onItemFocused"])],512)},Va.__file="src/classified-list-view/index.vue";var ei=l({name:"media-series-number-item",props:{isVip:{type:Boolean,default:!1},gradientBackground:{type:Object,default:()=>({colors:["#1AFFFFFF","#1AFFFFFF"],orientation:6,cornerRadius:8})},gradientFocusBackground:{type:Object,default:()=>({colors:["#FFFFFF","#FFFFFF"],orientation:6,cornerRadius:8})},iconGradientBackground:{type:Object,default:()=>({colors:["#FFB67827","#FFDBAF5C"],cornerRadius:4,orientation:6})},markColor:{type:String,default:"#FF4E46"},markVipColor:{type:String,default:"#FFD97C"},textColors:{type:Object,default:()=>({color:"rgba(255, 255, 255, .50)",focusColor:"rgba(0, 0, 0, 1)",selectColor:"rgba(255, 255, 255, .50)"})},textVipColors:{type:Object,default:()=>({color:"#FFD97C",focusColor:"#B67827",selectColor:"#B67827"})}}});const ti=["gradientBackground"],ni=["gradientBackground"],oi={class:"number-item-text-root-css",duplicateParentState:!0},ai={style:{position:"absolute","flex-direction":"row","justify-content":"center","align-items":"center",width:"160px",height:"80px","background-color":"transparent"},showOnState:"selected",duplicateParentState:!0},ii=["gradientBackground"];ei.render=function(e,o,i,l,s,u){const d=a("play-mark"),f=a("text-view");return t(),n("div",{class:"number-item-container",focusable:!0,focusScale:1,gradientBackground:e.gradientBackground},[v("div",{class:"number-item-container-bg-focus",duplicateParentState:!0,showOnState:"focused",focusable:!1,gradientBackground:e.gradientFocusBackground},null,8,ni),r(" 文字"),v("div",oi,[v("div",ai,[h(d,{duplicateParentState:!0,flexStyle:"${normalMarkStyle}",style:{width:"24px",height:"25px",position:"absolute",left:"20px"},markColor:e.markColor},null,8,["markColor"]),h(d,{duplicateParentState:!0,flexStyle:"${vipMarkStyle}",style:{width:"24px",height:"25px",position:"absolute",left:"20px"},markColor:e.markVipColor},null,8,["markColor"])]),h(f,{duplicateParentState:!0,fontSize:36,gravity:"center",autoWidth:"",lines:1,flexStyle:"${normalTitleStyle}",class:"number-item-text-css",style:c({color:e.textColors.color,focusColor:e.textColors.focusColor,selectColor:e.textColors.selectColor}),text:"${title}"},null,8,["style"]),h(f,{duplicateParentState:!0,fontSize:36,gravity:"center",flexStyle:"${vipTitleStyle}",autoWidth:"",class:"number-item-text-vip-css",style:c({color:e.textVipColors.color,focusColor:e.textVipColors.focusColor,selectColor:e.textVipColors.selectColor}),lines:1,text:"${title}"},null,8,["style"])]),r(" vip角标 "),v("div",{class:"media-series-number-item-vip-root",showIf:"${vip.enable==true}",gradientBackground:e.iconGradientBackground},[h(f,{duplicateParentState:!0,class:"media-series-number-item-vip-text",fontSize:20,gravity:"center",text:"${vip.text}"})],8,ii)],8,ti)},ei.__scopeId="data-v-4afb8987",ei.__file="src/series/item/media-series-number-item.vue";var li=l({name:"media-series-text-item",props:{isVip:{type:Boolean,default:!1},gradientBackground:{type:Object,default:()=>({colors:["#1AFFFFFF","#1AFFFFFF"],orientation:6,cornerRadius:8})},gradientFocusBackground:{type:Object,default:()=>({colors:["#FFFFFF","#FFFFFF"],orientation:6,cornerRadius:8})},iconGradientBackground:{type:Object,default:()=>({colors:["#FFB67827","#FFDBAF5C"],cornerRadius:4,orientation:6})},markColor:{type:String,default:"#FF4E46"},markVipColor:{type:String,default:"#FFD97C"},textColors:{type:Object,default:()=>({color:"rgba(255, 255, 255, .50)",focusColor:"rgba(0, 0, 0, 1)",selectColor:"rgba(255, 255, 255, .50)"})},textVipColors:{type:Object,default:()=>({color:"#FFD97C",focusColor:"#B67827",selectColor:"#B67827"})},itemWidth:{type:Number,default:490},itemHeight:{type:Number,default:100}}});const ci=["gradientBackground"],si=["gradientBackground"],ri=["gradientBackground"];li.render=function(e,o,i,l,s,r){const u=a("play-mark"),d=a("text-view");return t(),n("div",{class:"text-item-container",focusable:!0,focusScale:1,style:c({width:`${e.itemWidth}px`,height:`${e.itemHeight}px`}),gradientBackground:e.gradientBackground},[v("div",{class:"text-item-container-bg-focus",style:c({width:`${e.itemWidth}px`,height:`${e.itemHeight}px`}),duplicateParentState:!0,showOnState:"focused",focusable:!1,gradientBackground:e.gradientFocusBackground},null,12,si),v("div",{class:"text-item-container-css",style:c([{width:`${e.itemWidth}px`,height:`${e.itemHeight}px`},{position:"absolute","align-items":"center","background-color":"transparent"}]),duplicateParentState:!0},[v("div",{style:c({position:"absolute",flexDirection:"row",justifyContent:"center",alignItems:"center",width:`${e.itemWidth}px`,height:`${e.itemHeight}px`,backgroundColor:"transparent"}),showOnState:"selected",duplicateParentState:!0},[h(u,{duplicateParentState:!0,flexStyle:"${normalMarkStyle}",style:{width:"24px",height:"25px",position:"absolute",left:"20px","margin-right":"10px"},markColor:e.markColor},null,8,["markColor"]),h(u,{duplicateParentState:!0,flexStyle:"${vipMarkStyle}",style:{width:"24px",height:"25px",position:"absolute",left:"20px","margin-right":"10px"},markColor:e.markVipColor},null,8,["markColor"])],4),h(d,{duplicateParentState:!0,maxLines:1,ellipsizeMode:3,flexStyle:"${normalTitleStyle}",fontSize:30,class:"text-item-text",gravity:"centerVertical",style:c({color:e.textColors.color,focusColor:e.textColors.focusColor,selectColor:e.textColors.selectColor}),text:"${title}"},null,8,["style"]),h(d,{duplicateParentState:!0,maxLines:1,ellipsizeMode:3,flexStyle:"${vipTitleStyle}",fontSize:30,class:"text-item-text-vip",gravity:"centerVertical",style:c({color:e.textVipColors.color,focusColor:e.textVipColors.focusColor,selectColor:e.textVipColors.selectColor}),text:"${title}"},null,8,["style"])],4),v("div",{class:"media-series-text-item-vip-root",showIf:"${vip.enable==true}",gradientBackground:e.iconGradientBackground},[h(d,{duplicateParentState:!0,class:"media-series-text-item-vip-text",fontSize:20,gravity:"center",text:"${vip.text}"})],8,ri)],12,ci)},li.__scopeId="data-v-4859f623",li.__file="src/series/item/media-series-text-item.vue";var ui,di,fi=l({name:"media-series",props:{customItem:{type:Boolean,default:!1},initParam:{type:Object,default:()=>({})},height:{type:Number,default:230},scrollParam:{type:Object,default:()=>({})},groupParam:{type:Object,default:()=>({})},commonParam:{type:Object,default:()=>({})}},emits:["load-data","item-click","item-focused","group-item-focused"],setup(t,n){const o=e();let a=e(!1);const i=L();p((()=>{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):Ht((()=>{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=>{Ht((()=>{i.isLoggable(U.DEBUG)&&i.d("media-series","--------setSelected-------\x3e>>>",e),o.value?.setSelected(e)}))},setup:()=>{o.value?.setup()},setGroupSelected:e=>{o.value?.setGroupSelected(e)},release:()=>{o.value?.release()}}}});function gi(e,t,n,o){const a=function(e,t,n,o){switch(e){case ui.QT_MEDIA_SERIES_TYPE_LEFT_RIGHT:break;case ui.QT_MEDIA_SERIES_TYPE_NUMBER:return o.dataStyle?.itemHeight??80;case ui.QT_MEDIA_SERIES_TYPE_TEXT:return o.dataStyle?.itemHeight??100;case ui.QT_MEDIA_SERIES_TYPE_TOP_DOWN:}return-1}(e,0,0,o);switch(e){case ui.QT_MEDIA_SERIES_TYPE_TOP_DOWN:case ui.QT_MEDIA_SERIES_TYPE_TEXT:return{contentWidth:1740,itemGap:o?.dataStyle?.itemGap??36,initPosition:o.initPosition,contentHeight:a};case ui.QT_MEDIA_SERIES_TYPE_NUMBER:return{contentWidth:1740,itemGap:o?.dataStyle?.itemGap??15.6,initPosition:o.initPosition,contentHeight:a};case ui.QT_MEDIA_SERIES_TYPE_LEFT_RIGHT:return{}}}fi.render=function(e,n,l,s,u,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:m((()=>[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"])):r("v-if",!0)},fi.__file="src/series/component/media-series.vue",function(e){e.QT_MEDIA_SERIES_TYPE_LEFT_RIGHT="leftRight",e.QT_MEDIA_SERIES_TYPE_TOP_DOWN="topDown",e.QT_MEDIA_SERIES_TYPE_TEXT="text",e.QT_MEDIA_SERIES_TYPE_NUMBER="number",e.QT_MEDIA_SERIES_TYPE_CUSTOM="custom"}(ui||(ui={})),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"}(di||(di={}));var pi,_i,Ti,Ii,mi=l({name:"qt-media-series",components:{"media-series-number-item":ei,"media-series-text-item":li,"media-series":fi},emits:["load-data","item-click","item-focused","group-item-focused"],props:{itemHeight:{type:Number,default:0},gradientBackground:{type:Object,default:()=>({colors:["#1AFFFFFF","#1AFFFFFF"],orientation:6,cornerRadius:8})},gradientFocusBackground:{type:Object,default:()=>({colors:["#FFFFFF","#FFFFFF"],orientation:6,cornerRadius:8})},iconGradientBackground:{type:Object,default:()=>({colors:["#FFB67827","#FFDBAF5C"],cornerRadius:4,orientation:6})},markColor:{type:String,default:"#FF4E46"},markVipColor:{type:String,default:"#FFD97C"},textColors:{type:Object,default:()=>({color:"rgba(255, 255, 255, .5)",focusColor:"rgba(0, 0, 0, 1)",selectColor:"rgba(255, 255, 255, .5)"})},textVipColors:{type:Object,default:()=>({color:"#FFD97C",focusColor:"#B67827",selectColor:"#B67827"})},itemDivWidth:{type:Number,default:490},itemDivHeight:{type:Number,default:100}},setup(t,n){const o=e(),{clearFocus:a,requestFocusDirectly:i,setVisibility:l}=to(o),c=e(!1),s=L(),r=e(),u=e(),d=e(),f=e(),g=e(0),p=e(!1),_=e(ui.QT_MEDIA_SERIES_TYPE_NUMBER);let T;return{isVip:p,seriesType:_,params:r,commonParams:u,scrollParams:d,groupParams:f,mediaSeriesRef:o,show:c,height:g,onLoadData:e=>{n.emit("load-data",e)},setInitData:(e,n,a,i)=>{_.value=e,T=i,ui.QT_MEDIA_SERIES_TYPE_LEFT_RIGHT!==e?(u.value=gi(e,0,0,i),d.value=function(e,t,n,o){if(e===ui.QT_MEDIA_SERIES_TYPE_NUMBER)return{scrollType:1,pageDisplayCount:10,paddingForPageLeft:0,paddingForPageRight:0}}(e),f.value=function(e,t,n,o){const a={};if(t.enable){switch(e){case ui.QT_MEDIA_SERIES_TYPE_NUMBER:a.groupSize=10;break;case ui.QT_MEDIA_SERIES_TYPE_TEXT:a.groupSize=3;break;default:a.groupSize=t.size}const o=t.groupStyle;o&&(o.groupMarginLeft&&(a.groupMarginLeft=o.groupMarginLeft),o.itemWidth&&(a.itemWidth=o.itemWidth),o.itemHeight&&(a.itemHeight=o.itemHeight),o.itemGap&&(a.itemGap=o.itemGap),o.mark&&(a.mark=o.mark)),n==di.QT_MEDIA_SERIES_STYLE_TYPE_VIP?(a.textColor=o?.textVipColor??{normal:"#80FFFFFF",focused:"#603314",selected:"#FFD97C"},a.focusBackground=o?.focusVipBackground??{orientation:"LEFT_RIGHT",cornerRadius:[40,40,40,40],color:["#FFE398","#EEB364"],padding:[34,6]},a.mark=o?.mark??{color:"#FFD97C"}):o&&(o.textColor&&(a.textColor=o.textColor),o.focusBackground&&(a.focusBackground=o.focusBackground),o.background&&(a.background=o.background))}return a}(e,n,a),ui.QT_MEDIA_SERIES_TYPE_CUSTOM==e?g.value=t.itemHeight+(n.enable?70:0):g.value=function(e,t,n,o){switch(e){case ui.QT_MEDIA_SERIES_TYPE_LEFT_RIGHT:break;case ui.QT_MEDIA_SERIES_TYPE_NUMBER:return 80+(t.enable?70:0);case ui.QT_MEDIA_SERIES_TYPE_TEXT:return 100+(t.enable?70:0);case ui.QT_MEDIA_SERIES_TYPE_TOP_DOWN:}return-1}(e,n),Ht((()=>{o.value&&o.value?.setInitData(i.totalCount,i.pageSize)})),s.isLoggable(U.DEBUG)&&s.d("MediaSeries","----setInitData----\x3e>>>",g.value)):(r.value=function(e,t,n,o){const a=n==di.QT_MEDIA_SERIES_STYLE_TYPE_VIP;let i={initPosition:o.initPosition,contentWidth:1740,contentHeight:160,itemGap:36,enableGroup:t.enable,groupSize:t.size,groupHeight:46,groupTopMargin:24,group:null,template:null};return i.template={titleSize:28,floatTitleSize:20,isFree:!a,type:"leftRight",width:560,height:160,focusScale:1.1},i.template.extra={imgWidth:268,imgHeight:160,textColor:{normal:"#80FFFFFF",focused:a?"#FFD97C":"#ffffffff",selected:a?"#FFD97C":"#ffffffff"},cornerBgColor:{orientation:"LEFT_RIGHT",cornerRadius:[4,4,4,4],color:["#B67827","#DBAF5C"]}},i.group={itemWidth:85,itemHeight:46,itemGap:50,textSize:30,textColor:{normal:"#80FFFFFF",focused:a?"#603314":"#000000",selected:a?"#FFD97C":"#F5F5F5"},focusBackground:{orientation:"LEFT_RIGHT",cornerRadius:[40,40,40,40],color:[a?"#FFE398":"#F5F5F5",a?"#EEB364":"#F5F5F5"],padding:[34,6]},mark:{color:a?"#FFD97C":"#FFFFFF"}},i}(0,n,a,i),g.value=function(e,t,n,o,a){return t.enable?a.value.template.height+a.value.groupHeight+a.value.groupTopMargin:a.value.template.height}(0,n,0,0,r),r.value.totalCount=i.totalCount,r.value.pageSize=i.pageSize),c.value=!0},setPageData:(e,t)=>{let n=t;_.value==ui.QT_MEDIA_SERIES_TYPE_NUMBER?n=function(e,t,n){const o=[];if(n.length>0){const a={width:160,height:80},i={width:0,height:0},l={width:24,height:25};n.forEach(((n,c)=>{let s=e*t+c+1,r=s>9?""+s:"0"+s;const u={id:n.id,title:r,vip:n.vip};n.vip&&n.vip.enable?(u.vipTitleStyle=a,u.vipMarkStyle=l,u.normalTitleStyle=i,u.normalMarkStyle=i):(u.vipTitleStyle=i,u.vipMarkStyle=i,u.normalTitleStyle=a,u.normalMarkStyle=l),o.push(u)}))}return o}(e,T.pageSize,t):_.value==ui.QT_MEDIA_SERIES_TYPE_TEXT?n=function(e,t,n){if(n.length>0){const e={width:373,height:100},t={width:0,height:0},o={width:24,height:25};n.forEach(((n,a)=>{n.vip&&n.vip.enable?(n.vipTitleStyle=n?.vipTitleStyle??e,n.vipMarkStyle=n?.vipMarkStyle??o,n.normalTitleStyle=t,n.normalMarkStyle=t):(n.vipTitleStyle=t,n.vipMarkStyle=t,n.normalTitleStyle=n?.normalTitleStyle??e,n.normalMarkStyle=n?.normalMarkStyle??o)}))}return n}(0,T.pageSize,t):(_.value==ui.QT_MEDIA_SERIES_TYPE_LEFT_RIGHT||_.value==ui.QT_MEDIA_SERIES_TYPE_TOP_DOWN)&&(n=function(e,t,n){return n}(0,T.pageSize,t)),o.value?.setPageData(e,n)},onItemClick:e=>{n.emit("item-click",e)},onItemFocused:e=>{n.emit("item-focused",e)},onGroupItemFocused:e=>{n.emit("group-item-focused",e)},scrollTo:e=>{o.value?.scrollTo(e)},scrollToWithOffset:(e,t)=>{o.value?.scrollToWithOffset(e,t,!1)},requestFocus:e=>{o.value?.requestFocus(e)},setSelected:e=>{o.value?.setSelected(e)},setup:()=>{o.value?.setup()},setGroupSelected:e=>{o.value?.setGroupSelected(e)},release:()=>{o.value?.release(),c.value=!1},blockRootFocus:()=>{o.value&&N.callUIFunction(o.value,"blockRootFocus",[])},unBlockRootFocus:()=>{o.value&&N.callUIFunction(o.value,"unBlockRootFocus",[])},clearFocus:a,requestFocusDirectly:i,setVisibility:l}}});mi.render=function(e,n,l,c,s,u){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:m((()=>["number"===e.seriesType?(t(),i(d,{key:0,"is-vip":e.isVip,"gradient-background":e.gradientBackground,"gradient-focus-background":e.gradientFocusBackground,"mark-color":e.markColor,"mark-vip-color":e.markVipColor,"icon-gradient-background":e.iconGradientBackground,"text-colors":e.textColors,"text-vip-colors":e.textVipColors},null,8,["is-vip","gradient-background","gradient-focus-background","mark-color","mark-vip-color","icon-gradient-background","text-colors","text-vip-colors"])):"text"===e.seriesType?(t(),i(f,{key:1,"is-vip":e.isVip,"gradient-background":e.gradientBackground,"gradient-focus-background":e.gradientFocusBackground,"mark-color":e.markColor,"mark-vip-color":e.markVipColor,"icon-gradient-background":e.iconGradientBackground,"item-height":e.itemDivHeight,"item-width":e.itemDivWidth,"text-colors":e.textColors,"text-vip-colors":e.textVipColors},null,8,["is-vip","gradient-background","gradient-focus-background","mark-color","mark-vip-color","icon-gradient-background","item-height","item-width","text-colors","text-vip-colors"])):"custom"===e.seriesType?o(e.$slots,"default",{key:2}):r("v-if",!0)])),_:3},8,["init-param","height","custom-item","scroll-param","group-param","common-param","onLoadData","onItemClick","onItemFocused","onGroupItemFocused"])):r("v-if",!0)},mi.__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"}(pi||(pi={})),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"}(_i||(_i={})),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"}(Ti||(Ti={})),function(e){e.QT_ANIMATION_VALUE_TYPE_INT="ofInt",e.QT_ANIMATION_VALUE_TYPE_FLOAT="ofFloat"}(Ii||(Ii={}));const hi="QTCollapse";var vi,Si,Fi,Ei,bi,yi,Ai,Ri,Pi,Ni,Li,Ui,Ci,xi,Di,Oi,ki=Tn({name:"qt-collapse",emits:["onCollapseItemExpand"],setup(t,n){const o=L(),a=e();let i,l,c=e();const s=e(0),r=e(0);let u=200;const f={};const g={};function p(e){return g[`${e}`]}function _(e,t){const a=i[e],l=a.__y,c=r.value-a.height-l;o.isLoggable(U.DEBUG)&&o.d(hi,"-------expandItem-------\x3e>>>",e,c,l);let s=0;for(let n=i.length-1;n>=0;n--){const a=i[n];a.height;const l=a.collapseHeight;n<e&&(s+=l);try{const t=I(n);t&&t.onCollapseItemExpand(n==e)}catch(e){}const r=p(n);r&&(o.isLoggable(U.DEBUG)&&o.d(hi,"-------expandItem----translationY---\x3e>>>",a,n,a.__translationY,c+s),T(n+"",a,r,a.__translationY,c+s,t))}try{n.emit("onCollapseItemExpand",e,a)}catch(e){}}function T(e,t,n,o,a,i){n.objectAnimator2(e,Ii.QT_ANIMATION_VALUE_TYPE_FLOAT,_i.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Y,o,a,i,-1,0,!1,!1),n.startAnimator(e),t.__translationY=a}function I(e){return f[`${e}`]}return{collapseItemComponentList:c,initComponentRef:function(e,t,n){e&&(f[`${n}`]=e)},initAnimComponentRef:function(e,t,n){e&&(g[`${n}`]=e)},init:function(e){c.value=n.slots.default&&n.slots.default(),l=e.defaultIndex??0,i=e.itemList,s.value=e.width,r.value=e.height,u=e.expandDuration??200,l<0&&(l=0),l>=i.length&&(l=i.length-1),function(){if(!i||i.length<=0)return;const e=i.length;let t=0;for(let n=e-1;n>=0;n--){const e=i[n];t+=e.height,e.__y=r.value-t,e.__translationY=0}o.isLoggable(U.DEBUG)&&o.d(hi,"----initCollapseItem----\x3e>>>",i)}(),d((()=>{_(l,0)}))},getItem:I,expandItem:function(e){_(e,u)},collapse:function(){const e=i.length,t=i[e-1],n=t.__y,o=r.value-t.height-n;let a=0;for(let t=e-1;t>=0;t--){const e=i[t];a+=e.collapseHeight;try{const e=I(t);e&&e.onCollapseItemExpand(!1)}catch(e){}const n=p(t);n&&T(t+"",e,n,e.__translationY,o+a,0)}},expand:function(){for(let e=i.length-1;e>=0;e--){const t=i[e];try{const t=I(e);t&&t.onCollapseItemExpand(!0)}catch(e){}const n=p(e);n&&T(e+"",t,n,t.__translationY,0,0)}},collapseWidth:s,collapseHeight:r,viewRef:a,...to(a)}}});function wi(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})}))}function Bi(t){const n=l({props:{loadMore:{type:Function,default:function(){return[1,1]}},openPage:{type:Boolean,default:!1},preloadNo:{type:Number,default:0},defaultFocus:{type:Number,default:-1},loadingDecoration:{type:Object,default:()=>({bottom:18,right:30,left:30})},listData:{type:Array,required:!1}},emits:["item-click","scroll","item-focused","item-attached","item-detached","item-bind","item-unbind","load-more","scroll-state-changed","focus-search-failed","scrollYGreaterReference","scrollYLesserReference"],setup(t,n){const o=e();let a=0,i=!1,l=zo(),c=[],s=null,r=!1,u=!0;const d=()=>t.listData||l.value,f=e=>{t.defaultFocus>-1&&e.length&&t.defaultFocus<e.length&&u&&(clearTimeout(s),s=setTimeout((()=>{L(t.defaultFocus)}),300+10*e.length))};p((()=>{d().length&&o.value&&!r&&!c.length&&(c=d(),N.callUIFunction(o.value,"setListData",g(d())),f(c))})),_((()=>{l.value.splice(0)}));let m=0;const h=[{_id:"",type:1002,decoration:t.loadingDecoration}],v=()=>{t.openPage&&0===m&&c.length>0&&!i&&(N.callUIFunction(o.value,"addListData",h),m=c.length)},S=(e=!1)=>{m>0&&(e?N.callUIFunction(o.value,"updateItem",[m,{text:"",type:1003,decoration:{}}]):(N.callUIFunction(o.value,"deleteItemRange",[m,1]),m=0))};let F=null;const E=()=>{i=!1,a=0},b=()=>{!i&&t.loadMore&&(t.listData?c.length>0&&(a++,t.loadMore(a)):(a++,t.loadMore(a)))};T((()=>{t.openPage&&!t.listData&&(E(),b())}));const y=Qo(d(),{resetValue(e){c=e,r=!0},init(e){o.value&&(N.callUIFunction(o.value,"setListData",e.concat(t.openPage&&c.length>0&&!i?(m=c.length,h):[])),E(),t.listData&&(a=1),f(e))},add(e){N.callUIFunction(o.value,"addListData",e),S(),v()},update(e,t){Uo(1,t.datas).forEach(((e,t)=>{const n=Array.isArray(t)?Number(t[0]):Number(t);N.callUIFunction(o.value,"updateItem",[n,e])}))},insert(e,t){N.callUIFunction(o.value,"insertItemRange",[e,t]),S(),v()},delete(e,t){N.callUIFunction(o.value,"deleteItemRange",[e,t]),m>0&&(m=c.length)},clear(){N.callUIFunction(o.value,"setListData",[]),m=0}}),A=(e,t)=>{N.callUIFunction(o.value,"setSelectChildPosition",[e,t])},R=e=>{N.callUIFunction(o.value,"scrollToPosition",[e])},L=e=>{R(e),U(e)},U=e=>{N.callUIFunction(o.value,"requestChildFocus",[e])};I((()=>{y?.stop(),E(),clearTimeout(s),clearTimeout(F)}));const C=(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&&C(o.list,n)}};return n.expose({viewRef:o,init:(e,n)=>t.listData?[]:e?(u=!n,l.value=e,l.value):l.value,scrollToIndex:(e,t,n)=>{N.callUIFunction(o.value,"scrollToPositionWithOffset",[e,n,t])},hasFocus:e=>{N.callUIFunction(o.value,"hasFocus",(t=>{e(t)}))},dispatchItemFunction:(e,t,n,a)=>{N.callUIFunction(o.value,"dispatchItemFunction",[e,t,n,a])},setBlockFocusDirectionsOnFail:e=>{N.callUIFunction(o.value,"setBlockFocusDirectionsOnFail",[e])},prepareForRecycle:()=>{N.callUIFunction(o.value,"prepareForRecycle",[])},setDisplay:e=>{N.callUIFunction(o.value,"setDisplay",[e])},scrollToTop:()=>{N.callUIFunction(o.value,"scrollToTop",[])},changeDisplayState:(e,t)=>{N.callUIFunction(o.value,"changeDisplayState",[e,t])},notifySaveInstance:()=>{N.callUIFunction(o.value,"notifySaveInstance",[])},notifyRestoreInstance:()=>{N.callUIFunction(o.value,"notifyRestoreInstance",[])},pausePostTask:()=>{N.callUIFunction(o.value,"pausePostTask",[])},resumePostTask:()=>{N.callUIFunction(o.value,"resumePostTask",[])},getScrollOffset:e=>{N.callUIFunction(o.value,"getScrollOffset",[],e)},scrollToPosition:R,scrollToFocused:L,scrollToSelected:(e,t)=>{R(e),A(e,t)},scrollToPositionOffset:(e,t,n,a,i)=>{N.callUIFunction(o.value,"scrollToPositionWithOffset",[t,a,n])},destroy:()=>{N.callUIFunction(o.value,"destroy",[])},startScroll:(e,t,n)=>{N.callUIFunction(o.value,"startScroll",[{focusPosition:e,scrollToPosition:t,scrollOffset:n}])},setItemFocused:U,clearPostTask:()=>{N.callUIFunction(o.value,"clearAllPostTask",[])},setItemSelected:A,blockRootFocus:()=>{N.callUIFunction(o.value,"blockRootFocus",[])},unBlockRootFocus:()=>{N.callUIFunction(o.value,"unBlockRootFocus",[])},setBackgroundColor:e=>{N.callUIFunction(o.value,"setBackgroundColor",[e])},stopPage:(e=!1)=>{i=!0,F=setTimeout((()=>{i=!0,S(e)}),20)},setAutoFocus:function(e,t){N.callUIFunction(o.value,"setAutoFocus",[e,t])},setListData(e){N.callUIFunction(o.value,"setListData",e)},updateItemName:C,hasChanged:(e,t)=>e!==t&&(e==e||t==t),updateItem:(e,t)=>{N.callUIFunction(o.value,"updateItem",[e,t])},updateItemList:(e,t,n)=>{N.callUIFunction(o.value,"updateItemRange",[e,t,n])},updateItemProps:(e,t,n)=>{N.callUIFunction(o.value,"updateItemProps",[t,e,n,!0])},insertItem:(e,t)=>{N.callUIFunction(o.value,"insertItemRange",[e,t])},addListData:e=>{N.callUIFunction(o.value,"addListData",e)},addListDataWithParams:(e,t)=>{N.callUIFunction(o.value,"addListDataWithParams",[e,t])},deleteItem:(e,t)=>{N.callUIFunction(o.value,"deleteItemRange",[e,t])},setListDataWithParams:(e,t)=>{N.callUIFunction(o.value,"setListDataWithParams",[e,t])},...to(o)}),()=>{const e=n.slots.default&&n.slots.default();return P("FastListView",{ref:o,onItemClick:e=>{n.emit("item-click",e)},onScroll:e=>{n.emit("scroll",e)},onItemFocused:e=>{n.emit("item-focused",e)},onAttachedToWindow:e=>{n.emit("item-attached",e)},onDetachedFromWindow:e=>{n.emit("item-detached",e)},onBindItem:e=>{if(t.openPage&&!i){let n=t.preloadNo;(n<0||n>=c.length)&&(n=0),e.position==c.length-1-n&&b()}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)}ki.render=function(e,o,l,s,r,u){const d=a("qt-animation");return t(),n("div",{class:"qt-collapse-root-css",ref:"viewRef",clipChildren:!1,clipPadding:!1,style:c({width:e.collapseWidth,height:e.collapseHeight})},[(t(!0),n(y,null,A(e.collapseItemComponentList,((n,o)=>(t(),i(d,{ref_for:!0,ref:t=>e.initAnimComponentRef(t,n,o),class:"qt-collapse-item-css"},{default:m((()=>[(t(),i(R(n),{key:n.name,class:"qt-collapse-item-css",ref_for:!0,ref:t=>e.initComponentRef(t,n,o)}))])),_:2},1536)))),256))],4)},ki.__scopeId="data-v-4feca809",ki.__file="src/collapse/index.vue",function(e){e.VISIBLE="visible",e.INVISIBLE="invisible",e.GONE="gone"}(vi||(vi={})),function(e){e.QT_DIRECTION_UP="up",e.QT_DIRECTION_DOWN="down",e.QT_DIRECTION_RIGHT="right",e.QT_DIRECTION_LEFT="left"}(Si||(Si={})),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"}(Fi||(Fi={})),function(e){e[e.QT_NAV_BAR_ITEM_TYPE_TEXT=2e4]="QT_NAV_BAR_ITEM_TYPE_TEXT"}(Ei||(Ei={})),function(e){e[e.QT_TAB_ITEM_TYPE_DEFAULT=2e4]="QT_TAB_ITEM_TYPE_DEFAULT"}(bi||(bi={})),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"}(yi||(yi={})),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"}(Ai||(Ai={})),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"}(Ri||(Ri={})),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"}(Pi||(Pi={})),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"}(Ni||(Ni={})),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"}(Li||(Li={})),function(e){e[e.QT_LOTTIE_REPEAT_MODE_RESTART=1]="QT_LOTTIE_REPEAT_MODE_RESTART",e[e.QT_LOTTIE_REPEAT_MODE_REVERSE=2]="QT_LOTTIE_REPEAT_MODE_REVERSE",e[e.QT_LOTTIE_REPEAT_MODE_INFINITE=-1]="QT_LOTTIE_REPEAT_MODE_INFINITE"}(Ui||(Ui={})),function(e){e[e.QT_LOTTIE_ASYNC_UPDATE_AUTOMATIC=0]="QT_LOTTIE_ASYNC_UPDATE_AUTOMATIC",e[e.QT_LOTTIE_ASYNC_UPDATE_ENABLED=1]="QT_LOTTIE_ASYNC_UPDATE_ENABLED",e[e.QT_LOTTIE_ASYNC_UPDATE_DISABLED=2]="QT_LOTTIE_ASYNC_UPDATE_DISABLED"}(Ci||(Ci={})),function(e){e[e.QT_GRADIENT_ORIENTATION_TOP_BOTTOM=0]="QT_GRADIENT_ORIENTATION_TOP_BOTTOM",e[e.QT_GRADIENT_ORIENTATION_TR_BL=1]="QT_GRADIENT_ORIENTATION_TR_BL",e[e.QT_GRADIENT_ORIENTATION_RIGHT_LEFT=2]="QT_GRADIENT_ORIENTATION_RIGHT_LEFT",e[e.QT_GRADIENT_ORIENTATION_BR_TL=3]="QT_GRADIENT_ORIENTATION_BR_TL",e[e.QT_GRADIENT_ORIENTATION_BOTTOM_TOP=4]="QT_GRADIENT_ORIENTATION_BOTTOM_TOP",e[e.QT_GRADIENT_ORIENTATION_BL_TR=5]="QT_GRADIENT_ORIENTATION_BL_TR",e[e.QT_GRADIENT_ORIENTATION_LEFT_RIGHT=6]="QT_GRADIENT_ORIENTATION_LEFT_RIGHT",e[e.QT_GRADIENT_ORIENTATION_TL_BR=7]="QT_GRADIENT_ORIENTATION_TL_BR"}(xi||(xi={})),function(e){e[e.QT_GRADIENT_SHAPE_RECTANGLE=0]="QT_GRADIENT_SHAPE_RECTANGLE",e[e.QT_GRADIENT_SHAPE_OVAL=1]="QT_GRADIENT_SHAPE_OVAL",e[e.QT_GRADIENT_SHAPE_LINE=2]="QT_GRADIENT_SHAPE_LINE",e[e.QT_GRADIENT_SHAPE_RING=3]="QT_GRADIENT_SHAPE_RING"}(Di||(Di={})),function(e){e[e.QT_GRADIENT_TYPE_LINEAR_GRADIENT=0]="QT_GRADIENT_TYPE_LINEAR_GRADIENT",e[e.QT_GRADIENT_TYPE_RADIAL_GRADIENT=1]="QT_GRADIENT_TYPE_RADIAL_GRADIENT",e[e.QT_GRADIENT_TYPE_SWEEP_GRADIENT=2]="QT_GRADIENT_TYPE_SWEEP_GRADIENT"}(Oi||(Oi={}));const Mi={callUIModule(e,t,n){N.callNative("UIManagerModule","callUIFunction",e,t,n)},callUIModuleAsync:async(e,t,n,o=1e3)=>new Promise((a=>{let i=setTimeout((()=>{a(!1)}),o);N.callNative("UIManagerModule","callUIFunctionWithPromise",e,t,n,(e=>{clearTimeout(i),a(e)}))})),call(e,t,n){N.callNative("ExtendModule","callUIFunction",e,t,n)},callAsync:async(e,t,n,o=1e3)=>new Promise((a=>{let i=setTimeout((()=>{a(!1)}),o);N.callNative("ExtendModule","callUIFunctionWithPromise",e,t,n,(e=>{clearTimeout(i),a(e)}))})),tvCall(e,t,n,o){N.callNative("ExtendModule","callUIFunction",e,n,[t,...o])},tvCallAsync:(e,t,n,o,a=1e3)=>new Promise((i=>{let l=setTimeout((()=>{i(!1)}),a);N.callNative("ExtendModule","callUIFunctionWithPromise",e,n,[t,...o],(e=>{clearTimeout(l),i(e)}))})),updateChild(e,t,n){this.tvCall(e,t,"searchReplaceItem",[n])},updateBySid(e,t){this.tvCall("",e,"searchReplaceItem",[t])}},Qi=[no,ao,io,co,ro,fo,Ho,ea,ia,Ma,$a,Va,Ga,mi,ki],$i=t=>{t.component("qt-loading-view",{setup(t,n){const o=e();return n.expose({viewRef:o,...to(o)}),()=>P("LoadingViewComponent",{ref:o})}}),Bi(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)=>{N.callUIFunction(o.value,"updateItem",[e,t])},dispatchItemFunction:(e,t,n,a)=>{N.callUIFunction(o.value,"dispatchItemFunction",[e,t,n,a])},updateItemProps:(e,t,n)=>{N.callUIFunction(o.value,"updateItemProps",[t,e,n,!0])},batch:e=>{N.callUIFunction(o.value,"batch",[e])},...to(o)}),()=>{const e=n.slots.default&&n.slots.default();return P("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();p((()=>{a(!0),l(!0),u(!0),s(!0),r(!0),c(!0),_(!0),f(!0),d(!0),g(!0),i(1),T(2)}));const a=e=>{N.callUIFunction(o.value,"setJavaScriptEnabled",[e],(e=>{}))},i=e=>{N.callUIFunction(o.value,"setPluginState",[e],(e=>{}))},l=e=>{N.callUIFunction(o.value,"setJavaScriptCanOpenWindowsAutomatically",[e],(e=>{}))},c=e=>{N.callUIFunction(o.value,"setUseWideViewPort",[e],(e=>{}))},s=e=>{N.callUIFunction(o.value,"setSupportZoom",[e],(e=>{}))},r=e=>{N.callUIFunction(o.value,"setBuiltInZoomControls",[e],(e=>{}))},u=e=>{N.callUIFunction(o.value,"setAllowFileAccess",[e],(e=>{}))},d=e=>{N.callUIFunction(o.value,"setDomStorageEnabled",[e],(e=>{}))},f=e=>{N.callUIFunction(o.value,"setAppCacheEnabled",[e],(e=>{}))},g=e=>{N.callUIFunction(o.value,"setGeolocationEnabled",[e],(e=>{}))},_=e=>{N.callUIFunction(o.value,"setSupportMultipleWindows",[e],(e=>{}))},T=e=>{N.callUIFunction(o.value,"setCacheMode",[e],(e=>{}))};return n.expose({loadUrl:e=>{N.callUIFunction(o.value,"loadUrl",[e],(e=>{}))},evaluateJavascript:e=>new Promise(((t,n)=>{N.callUIFunction(o.value,"evaluateJavascript",[e],(e=>{t(e)}))})),canGoBack:()=>{N.callUIFunction(o.value,"canGoBack",[],(e=>{n.emit("onCanGoBack",e)}))},goBack:()=>{N.callUIFunction(o.value,"goBack",[],(e=>{}))},canGoForward:()=>{N.callUIFunction(o.value,"canGoForward",[],(e=>{n.emit("onCanGoForward",e)}))},goForward:()=>{N.callUIFunction(o.value,"goForward",[],(e=>{}))},canGoBackOrForward:e=>{N.callUIFunction(o.value,"canGoBackOrForward",[e],(e=>{n.emit("onCanGoBackOrForward",e)}))},goBackOrForward:e=>{N.callUIFunction(o.value,"goBackOrForward",[e],(e=>{}))},onResume:()=>{N.callUIFunction(o.value,"onResume",[],(e=>{}))},onPause:()=>{N.callUIFunction(o.value,"onPause",[],(e=>{}))},pauseTimers:()=>{N.callUIFunction(o.value,"pauseTimers",[],(e=>{}))},resumeTimers:()=>{N.callUIFunction(o.value,"resumeTimers",[],(e=>{}))},destroy:()=>{N.callUIFunction(o.value,"destroy",[],(e=>{}))},setJavaScriptEnabled:a,setPluginState:i,setJavaScriptCanOpenWindowsAutomatically:l,setUseWideViewPort:c,setLoadWithOverviewMode:e=>{N.callUIFunction(o.value,"setLoadWithOverviewMode",[e],(e=>{}))},setSupportZoom:s,setBuiltInZoomControls:r,setDisplayZoomControls:e=>{N.callUIFunction(o.value,"setDisplayZoomControls",[e],(e=>{}))},setAllowFileAccess:u,setDomStorageEnabled:d,setDatabaseEnabled:e=>{N.callUIFunction(o.value,"setDatabaseEnabled",[e],(e=>{}))},setAppCacheEnabled:f,setAppCachePath:e=>{N.callUIFunction(o.value,"setAppCachePath",[e],(e=>{}))},setMediaPlaybackRequiresUserGesture:e=>{N.callUIFunction(o.value,"setMediaPlaybackRequiresUserGesture",[e],(e=>{}))},setStandardFontFamily:e=>{N.callUIFunction(o.value,"setStandardFontFamily",[e],(e=>{}))},setFixedFontFamily:e=>{N.callUIFunction(o.value,"setFixedFontFamily",[e],(e=>{}))},setSansSerifFontFamily:e=>{N.callUIFunction(o.value,"setSansSerifFontFamily",[e],(e=>{}))},setSerifFontFamily:e=>{N.callUIFunction(o.value,"setSerifFontFamily",[e],(e=>{}))},setCursiveFontFamily:e=>{N.callUIFunction(o.value,"setCursiveFontFamily",[e],(e=>{}))},setFantasyFontFamily:e=>{N.callUIFunction(o.value,"setFantasyFontFamily",[e],(e=>{}))},setTextZoom:e=>{N.callUIFunction(o.value,"setTextZoom",[e],(e=>{}))},setMinimumFontSize:e=>{N.callUIFunction(o.value,"setMinimumFontSize",[e],(e=>{}))},setDefaultFontSize:e=>{N.callUIFunction(o.value,"setDefaultFontSize",[e],(e=>{}))},setLayoutAlgorithm:e=>{N.callUIFunction(o.value,"setLayoutAlgorithm",[e],(e=>{}))},setLoadsImagesAutomatically:e=>{N.callUIFunction(o.value,"setLoadsImagesAutomatically",[e],(e=>{}))},setDefaultTextEncodingName:e=>{N.callUIFunction(o.value,"setDefaultTextEncodingName",[e],(e=>{}))},setNeedInitialFocus:e=>{N.callUIFunction(o.value,"setNeedInitialFocus",[e],(e=>{}))},setGeolocationEnabled:g,setBlockNetworkLoads:e=>{N.callUIFunction(o.value,"setBlockNetworkLoads",[e],(e=>{}))},setSupportMultipleWindows:_,setAppCacheMaxSize:e=>{N.callUIFunction(o.value,"setAppCacheMaxSize",[e],(e=>{}))},setRenderPriority:e=>{N.callUIFunction(o.value,"setRenderPriority",[e],(e=>{}))},setCacheMode:T,setAllowContentAccess:e=>{N.callUIFunction(o.value,"setAllowContentAccess",[e],(e=>{}))},setEnableSmoothTransition:e=>{N.callUIFunction(o.value,"setEnableSmoothTransition",[e],(e=>{}))},setSaveFormData:e=>{N.callUIFunction(o.value,"setSaveFormData",[e],(e=>{}))},setSavePassword:e=>{N.callUIFunction(o.value,"setSavePassword",[e],(e=>{}))},setTextSize:e=>{N.callUIFunction(o.value,"setTextSize",[e],(e=>{}))},setDefaultZoom:e=>{N.callUIFunction(o.value,"setDefaultZoom",[e],(e=>{}))},setLightTouchEnabled:e=>{N.callUIFunction(o.value,"setLightTouchEnabled",[e],(e=>{}))},setMinimumLogicalFontSize:e=>{N.callUIFunction(o.value,"setMinimumLogicalFontSize",[e],(e=>{}))},setDefaultFixedFontSize:e=>{N.callUIFunction(o.value,"setDefaultFixedFontSize",[e],(e=>{}))},setBlockNetworkImage:e=>{N.callUIFunction(o.value,"setBlockNetworkImage",[e],(e=>{}))},setAllowUniversalAccessFromFileURLs:e=>{N.callUIFunction(o.value,"setAllowUniversalAccessFromFileURLs",[e],(e=>{}))},setAllowFileAccessFromFileURLs:e=>{N.callUIFunction(o.value,"setAllowFileAccessFromFileURLs",[e],(e=>{}))},setDatabasePath:e=>{N.callUIFunction(o.value,"setDatabasePath",[e],(e=>{}))},setGeolocationDatabasePath:e=>{N.callUIFunction(o.value,"setGeolocationDatabasePath",[e],(e=>{}))},setUserAgentString:e=>{N.callUIFunction(o.value,"setUserAgentString",[e],(e=>{}))},setMixedContentMode:e=>{N.callUIFunction(o.value,"setMixedContentMode",[e],(e=>{}))},setOffscreenPreRaster:e=>{N.callUIFunction(o.value,"setOffscreenPreRaster",[e],(e=>{}))},setSafeBrowsingEnabled:e=>{N.callUIFunction(o.value,"setSafeBrowsingEnabled",[e],(e=>{}))},setForceDark:e=>{N.callUIFunction(o.value,"setForceDark",[e],(e=>{}))},setDisabledActionModeMenuItems:e=>{N.callUIFunction(o.value,"setDisabledActionModeMenuItems",[e],(e=>{}))},...to(o)}),()=>P("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();p((()=>{a(!0),l(!0),u(!0),s(!0),r(!0),c(!0),_(!0),f(!0),d(!0),g(!0),i(1),T(2)}));const a=e=>{N.callUIFunction(o.value,"setJavaScriptEnabled",[e],(e=>{}))},i=e=>{N.callUIFunction(o.value,"setPluginState",[e],(e=>{}))},l=e=>{N.callUIFunction(o.value,"setJavaScriptCanOpenWindowsAutomatically",[e],(e=>{}))},c=e=>{N.callUIFunction(o.value,"setUseWideViewPort",[e],(e=>{}))},s=e=>{N.callUIFunction(o.value,"setSupportZoom",[e],(e=>{}))},r=e=>{N.callUIFunction(o.value,"setBuiltInZoomControls",[e],(e=>{}))},u=e=>{N.callUIFunction(o.value,"setAllowFileAccess",[e],(e=>{}))},d=e=>{N.callUIFunction(o.value,"setDomStorageEnabled",[e],(e=>{}))},f=e=>{N.callUIFunction(o.value,"setAppCacheEnabled",[e],(e=>{}))},g=e=>{N.callUIFunction(o.value,"setGeolocationEnabled",[e],(e=>{}))},_=e=>{N.callUIFunction(o.value,"setSupportMultipleWindows",[e],(e=>{}))},T=e=>{N.callUIFunction(o.value,"setCacheMode",[e],(e=>{}))};return n.expose({loadUrl:e=>{N.callUIFunction(o.value,"loadUrl",[e],(e=>{}))},evaluateJavascript:e=>new Promise(((t,n)=>{N.callUIFunction(o.value,"evaluateJavascript",[e],(e=>{t(e)}))})),canGoBack:()=>{N.callUIFunction(o.value,"canGoBack",[],(e=>{n.emit("onCanGoBack",e)}))},goBack:()=>{N.callUIFunction(o.value,"goBack",[],(e=>{}))},canGoForward:()=>{N.callUIFunction(o.value,"canGoForward",[],(e=>{n.emit("onCanGoForward",e)}))},goForward:()=>{N.callUIFunction(o.value,"goForward",[],(e=>{}))},canGoBackOrForward:e=>{N.callUIFunction(o.value,"canGoBackOrForward",[e],(e=>{n.emit("onCanGoBackOrForward",e)}))},goBackOrForward:e=>{N.callUIFunction(o.value,"goBackOrForward",[e],(e=>{}))},onResume:()=>{N.callUIFunction(o.value,"onResume",[],(e=>{}))},onPause:()=>{N.callUIFunction(o.value,"onPause",[],(e=>{}))},pauseTimers:()=>{N.callUIFunction(o.value,"pauseTimers",[],(e=>{}))},resumeTimers:()=>{N.callUIFunction(o.value,"resumeTimers",[],(e=>{}))},destroy:()=>{N.callUIFunction(o.value,"destroy",[],(e=>{}))},setJavaScriptEnabled:a,setPluginState:i,setJavaScriptCanOpenWindowsAutomatically:l,setUseWideViewPort:c,setLoadWithOverviewMode:e=>{N.callUIFunction(o.value,"setLoadWithOverviewMode",[e],(e=>{}))},setSupportZoom:s,setBuiltInZoomControls:r,setDisplayZoomControls:e=>{N.callUIFunction(o.value,"setDisplayZoomControls",[e],(e=>{}))},setAllowFileAccess:u,setDomStorageEnabled:d,setDatabaseEnabled:e=>{N.callUIFunction(o.value,"setDatabaseEnabled",[e],(e=>{}))},setAppCacheEnabled:f,setAppCachePath:e=>{N.callUIFunction(o.value,"setAppCachePath",[e],(e=>{}))},setMediaPlaybackRequiresUserGesture:e=>{N.callUIFunction(o.value,"setMediaPlaybackRequiresUserGesture",[e],(e=>{}))},setStandardFontFamily:e=>{N.callUIFunction(o.value,"setStandardFontFamily",[e],(e=>{}))},setFixedFontFamily:e=>{N.callUIFunction(o.value,"setFixedFontFamily",[e],(e=>{}))},setSansSerifFontFamily:e=>{N.callUIFunction(o.value,"setSansSerifFontFamily",[e],(e=>{}))},setSerifFontFamily:e=>{N.callUIFunction(o.value,"setSerifFontFamily",[e],(e=>{}))},setCursiveFontFamily:e=>{N.callUIFunction(o.value,"setCursiveFontFamily",[e],(e=>{}))},setFantasyFontFamily:e=>{N.callUIFunction(o.value,"setFantasyFontFamily",[e],(e=>{}))},setTextZoom:e=>{N.callUIFunction(o.value,"setTextZoom",[e],(e=>{}))},setMinimumFontSize:e=>{N.callUIFunction(o.value,"setMinimumFontSize",[e],(e=>{}))},setDefaultFontSize:e=>{N.callUIFunction(o.value,"setDefaultFontSize",[e],(e=>{}))},setLayoutAlgorithm:e=>{N.callUIFunction(o.value,"setLayoutAlgorithm",[e],(e=>{}))},setLoadsImagesAutomatically:e=>{N.callUIFunction(o.value,"setLoadsImagesAutomatically",[e],(e=>{}))},setDefaultTextEncodingName:e=>{N.callUIFunction(o.value,"setDefaultTextEncodingName",[e],(e=>{}))},setNeedInitialFocus:e=>{N.callUIFunction(o.value,"setNeedInitialFocus",[e],(e=>{}))},setGeolocationEnabled:g,setBlockNetworkLoads:e=>{N.callUIFunction(o.value,"setBlockNetworkLoads",[e],(e=>{}))},setSupportMultipleWindows:_,setAppCacheMaxSize:e=>{N.callUIFunction(o.value,"setAppCacheMaxSize",[e],(e=>{}))},setRenderPriority:e=>{N.callUIFunction(o.value,"setRenderPriority",[e],(e=>{}))},setCacheMode:T,setAllowContentAccess:e=>{N.callUIFunction(o.value,"setAllowContentAccess",[e],(e=>{}))},setEnableSmoothTransition:e=>{N.callUIFunction(o.value,"setEnableSmoothTransition",[e],(e=>{}))},setSaveFormData:e=>{N.callUIFunction(o.value,"setSaveFormData",[e],(e=>{}))},setSavePassword:e=>{N.callUIFunction(o.value,"setSavePassword",[e],(e=>{}))},setTextSize:e=>{N.callUIFunction(o.value,"setTextSize",[e],(e=>{}))},setDefaultZoom:e=>{N.callUIFunction(o.value,"setDefaultZoom",[e],(e=>{}))},setLightTouchEnabled:e=>{N.callUIFunction(o.value,"setLightTouchEnabled",[e],(e=>{}))},setMinimumLogicalFontSize:e=>{N.callUIFunction(o.value,"setMinimumLogicalFontSize",[e],(e=>{}))},setDefaultFixedFontSize:e=>{N.callUIFunction(o.value,"setDefaultFixedFontSize",[e],(e=>{}))},setBlockNetworkImage:e=>{N.callUIFunction(o.value,"setBlockNetworkImage",[e],(e=>{}))},setAllowUniversalAccessFromFileURLs:e=>{N.callUIFunction(o.value,"setAllowUniversalAccessFromFileURLs",[e],(e=>{}))},setAllowFileAccessFromFileURLs:e=>{N.callUIFunction(o.value,"setAllowFileAccessFromFileURLs",[e],(e=>{}))},setDatabasePath:e=>{N.callUIFunction(o.value,"setDatabasePath",[e],(e=>{}))},setGeolocationDatabasePath:e=>{N.callUIFunction(o.value,"setGeolocationDatabasePath",[e],(e=>{}))},setUserAgentString:e=>{N.callUIFunction(o.value,"setUserAgentString",[e],(e=>{}))},setMixedContentMode:e=>{N.callUIFunction(o.value,"setMixedContentMode",[e],(e=>{}))},setOffscreenPreRaster:e=>{N.callUIFunction(o.value,"setOffscreenPreRaster",[e],(e=>{}))},setSafeBrowsingEnabled:e=>{N.callUIFunction(o.value,"setSafeBrowsingEnabled",[e],(e=>{}))},setForceDark:e=>{N.callUIFunction(o.value,"setForceDark",[e],(e=>{}))},setDisabledActionModeMenuItems:e=>{N.callUIFunction(o.value,"setDisabledActionModeMenuItems",[e],(e=>{}))},initJavaScriptInterface:()=>{N.callUIFunction(o.value,"initJavaScriptInterface",[],(e=>{}))},removeJavaScriptInterface:()=>{N.callUIFunction(o.value,"removeJavaScriptInterface",[],(e=>{}))},initWebViewFocus:(e,t,n)=>{N.callUIFunction(o.value,"initWebViewFocus",[e,t,n],(e=>{}))},...to(o)}),()=>P("ESX5WebViewComponent",{onPageStarted:e=>{let t=e.url;n.emit("onPageStarted",t)},onPageFinished:e=>{let t=e.url;n.emit("onPageFinished",t)},onLoadResource:e=>{let t=e.url;n.emit("onLoadResource",t)},onReceivedSslError:e=>{n.emit("onReceivedSslError",e)},onReceivedError:e=>{let t=e.errorCode,o=e.description,a=e.failingUrl;n.emit("onReceivedError",t,o,a)},onShouldOverrideUrlLoading:e=>{let t=e.url;n.emit("shouldOverrideUrlLoading",t)},onJs2Vue:e=>{let t=e.js2VueValue;n.emit("onJs2Vue",t)},onJsRewardCall:e=>{let t=e.jsRewardCallValue;n.emit("onJsRewardCall",t)},onJsFinishGame:e=>{let t=e.jsFinishGameValue;n.emit("onJsFinishGame",t)},ref:o})}});t.component("qt-x5web-view",n)}(t),function(t){t.component("qt-qr-code",{setup(t,n){const o=e();return n.expose({viewRef:o,...to(o)}),()=>P("QrCodeComponent",{ref:o})}})}(t),function(t){const n=l({name:"qt-seek-bar",props:{emitEventDelay:{type:Number,default:100},onProgressChanged:{type:Function,default:null}},emits:["onSeekStart","onSeekStop","onFocusChanged","onSeekChanged"],setup(t,n){const o=e(),a=e(!1),i=e(1),l=e(0),c=e(0),s=e(0),r=e(0);function u(e){1===i.value&&(r.value=e,N.callUIFunction(o.value,"setProgress",[e],(e=>{})))}function d(e){1===i.value&&(s.value=e,N.callUIFunction(o.value,"setMaxProgress",[e],(e=>{})))}return n.expose({viewRef:o,isSeekBarFocused:a,seekBarMode:i,seekCount:l,progressCallBackTime:c,maxProgress:s,progress:r,startSeek:function(e){if(a.value){i.value=2,n.emit("onSeekStart",r.value),l.value+=1;let a=1;l.value>20?a=2:l.value>50?a=4:l.value>100&&(a=6);let u=s.value,d=Math.floor(.01*u*a);if(r.value=r.value+(e?d:-d),r.value>u?r.value=u:r.value<0&&(r.value=0),N.callUIFunction(o.value,"setProgress",[r.value],(e=>{})),t.onProgressChanged){let e=(new Date).getTime();e-c.value>t.emitEventDelay&&(t.onProgressChanged(r.value),c.value=e)}}},stopSeek:function(){l.value=0,2==i.value&&n.emit("onSeekStop",r.value),i.value=1},isFocused:function(){return a.value},resetSeekbar:function(){i.value=1,d(0),u(0)},invalidateSeekBar:function(){N.callUIFunction(o.value,"invalidateSeekBar",[],(e=>{}))},setFocusable:function(e){N.callUIFunction(o.value,"setFocusable",[e],(e=>{}))},setClickable:function(e){N.callUIFunction(o.value,"setClickable",[e],(e=>{}))},requestLayout:function(){N.callUIFunction(o.value,"requestLayout",[],(e=>{}))},invalidate:function(){N.callUIFunction(o.value,"invalidate",[],(e=>{}))},setVisible:function(e){N.callUIFunction(o.value,"setVisible",[e],(e=>{}))},setLeftSeekBarVisible:function(e){N.callUIFunction(o.value,"setLeftSeekBarVisible",[e],(e=>{}))},setRightSeekBarVisible:function(e){N.callUIFunction(o.value,"setRightSeekBarVisible",[e],(e=>{}))},setSeekBarMode:function(e){N.callUIFunction(o.value,"setSeekBarMode",[e],(e=>{}))},setProgress:u,setRangeProgress:function(e,t){N.callUIFunction(o.value,"setProgress",[e,t],(e=>{}))},getProgress:function(){N.callUIFunction(o.value,"getProgress",[],(e=>{}))},getLeftProgress:function(){N.callUIFunction(o.value,"getLeftProgress",[],(e=>{}))},getRightProgress:function(){N.callUIFunction(o.value,"getRightProgress",[],(e=>{}))},setRange:function(e,t,n){N.callUIFunction(o.value,"setRange",[e,t,n],(e=>{}))},setGravity:function(e){N.callUIFunction(o.value,"setGravity",[e],(e=>{}))},setProgressWidth:function(e){N.callUIFunction(o.value,"setProgressWidth",[e],(e=>{}))},setProgressHeight:function(e){N.callUIFunction(o.value,"setProgressHeight",[e],(e=>{}))},setProgressRadius:function(e){N.callUIFunction(o.value,"setProgressRadius",[e],(e=>{}))},setProgressColor:function(e){N.callUIFunction(o.value,"setProgressColor",[e],(e=>{}))},setProgressDefaultColor:function(e){N.callUIFunction(o.value,"setProgressDefaultColor",[e],(e=>{}))},setProgressDrawable:function(e){N.callUIFunction(o.value,"setProgressDrawable",[e],(e=>{}))},setProgressDefaultDrawable:function(e){N.callUIFunction(o.value,"setProgressDefaultDrawable",[e],(e=>{}))},setProgressUrl:function(e){N.callUIFunction(o.value,"setProgressUrl",[e],(e=>{}))},setProgressDefaultUrl:function(e){N.callUIFunction(o.value,"setProgressDefaultUrl",[e],(e=>{}))},showIndicator:function(e){N.callUIFunction(o.value,"showIndicator",[e],(e=>{}))},showLeftIndicator:function(e){N.callUIFunction(o.value,"showLeftIndicator",[e],(e=>{}))},showRightIndicator:function(e){N.callUIFunction(o.value,"showRightIndicator",[e],(e=>{}))},setIndicatorShowMode:function(e){N.callUIFunction(o.value,"setIndicatorShowMode",[e],(e=>{}))},setLeftIndicatorShowMode:function(e){N.callUIFunction(o.value,"setLeftIndicatorShowMode",[e],(e=>{}))},setRightIndicatorShowMode:function(e){N.callUIFunction(o.value,"setRightIndicatorShowMode",[e],(e=>{}))},setIndicatorWidth:function(e){N.callUIFunction(o.value,"setIndicatorWidth",[e],(e=>{}))},setLeftIndicatorWidth:function(e){N.callUIFunction(o.value,"setLeftIndicatorWidth",[e],(e=>{}))},setRightIndicatorWidth:function(e){N.callUIFunction(o.value,"setRightIndicatorWidth",[e],(e=>{}))},setIndicatorHeight:function(e){N.callUIFunction(o.value,"setIndicatorHeight",[e],(e=>{}))},setLeftIndicatorHeight:function(e){N.callUIFunction(o.value,"setLeftIndicatorHeight",[e],(e=>{}))},setRightIndicatorHeight:function(e){N.callUIFunction(o.value,"setRightIndicatorHeight",[e],(e=>{}))},setIndicatorTextDecimalFormat:function(e){N.callUIFunction(o.value,"setIndicatorTextDecimalFormat",[e],(e=>{}))},setLeftIndicatorTextDecimalFormat:function(e){N.callUIFunction(o.value,"setLeftIndicatorTextDecimalFormat",[e],(e=>{}))},setRightIndicatorTextDecimalFormat:function(e){N.callUIFunction(o.value,"setRightIndicatorTextDecimalFormat",[e],(e=>{}))},setIndicatorTextStringFormat:function(e){N.callUIFunction(o.value,"setIndicatorTextStringFormat",[e],(e=>{}))},setLeftIndicatorTextStringFormat:function(e){N.callUIFunction(o.value,"setLeftIndicatorTextStringFormat",[e],(e=>{}))},setRightIndicatorTextStringFormat:function(e){N.callUIFunction(o.value,"setRightIndicatorTextStringFormat",[e],(e=>{}))},setIndicatorMargin:function(e){N.callUIFunction(o.value,"setIndicatorMargin",[e],(e=>{}))},setLeftIndicatorMargin:function(e){N.callUIFunction(o.value,"setLeftIndicatorMargin",[e],(e=>{}))},setRightIndicatorMargin:function(e){N.callUIFunction(o.value,"setRightIndicatorMargin",[e],(e=>{}))},setIndicatorPaddingBottom:function(e){N.callUIFunction(o.value,"setIndicatorPaddingBottom",[e],(e=>{}))},setLeftIndicatorPaddingBottom:function(e){N.callUIFunction(o.value,"setLeftIndicatorPaddingBottom",[e],(e=>{}))},setRightIndicatorPaddingBottom:function(e){N.callUIFunction(o.value,"setRightIndicatorPaddingBottom",[e],(e=>{}))},setIndicatorPaddingTop:function(e){N.callUIFunction(o.value,"setIndicatorPaddingTop",[e],(e=>{}))},setLeftIndicatorPaddingTop:function(e){N.callUIFunction(o.value,"setLeftIndicatorPaddingTop",[e],(e=>{}))},setRightIndicatorPaddingTop:function(e){N.callUIFunction(o.value,"setRightIndicatorPaddingTop",[e],(e=>{}))},setIndicatorPaddingLeft:function(e){N.callUIFunction(o.value,"setIndicatorPaddingLeft",[e],(e=>{}))},setLeftIndicatorPaddingLeft:function(e){N.callUIFunction(o.value,"setLeftIndicatorPaddingLeft",[e],(e=>{}))},setRightIndicatorPaddingLeft:function(e){N.callUIFunction(o.value,"setRightIndicatorPaddingLeft",[e],(e=>{}))},setIndicatorPaddingRight:function(e){N.callUIFunction(o.value,"setIndicatorPaddingRight",[e],(e=>{}))},setLeftIndicatorPaddingRight:function(e){N.callUIFunction(o.value,"setLeftIndicatorPaddingRight",[e],(e=>{}))},setRightIndicatorPaddingRight:function(e){N.callUIFunction(o.value,"setRightIndicatorPaddingRight",[e],(e=>{}))},setIndicatorBackgroundColor:function(e){N.callUIFunction(o.value,"setIndicatorBackgroundColor",[e],(e=>{}))},setLeftIndicatorBackgroundColor:function(e){N.callUIFunction(o.value,"setLeftIndicatorBackgroundColor",[e],(e=>{}))},setRightIndicatorBackgroundColor:function(e){N.callUIFunction(o.value,"setRightIndicatorBackgroundColor",[e],(e=>{}))},setIndicatorRadius:function(e){N.callUIFunction(o.value,"setIndicatorRadius",[e],(e=>{}))},setLeftIndicatorRadius:function(e){N.callUIFunction(o.value,"setLeftIndicatorRadius",[e],(e=>{}))},setRightIndicatorRadius:function(e){N.callUIFunction(o.value,"setRightIndicatorRadius",[e],(e=>{}))},setIndicatorTextSize:function(e){N.callUIFunction(o.value,"setIndicatorTextSize",[e],(e=>{}))},setLeftIndicatorTextSize:function(e){N.callUIFunction(o.value,"setLeftIndicatorTextSize",[e],(e=>{}))},setRightIndicatorTextSize:function(e){N.callUIFunction(o.value,"setRightIndicatorTextSize",[e],(e=>{}))},setIndicatorTextColor:function(e){N.callUIFunction(o.value,"setIndicatorTextColor",[e],(e=>{}))},setLeftIndicatorTextColor:function(e){N.callUIFunction(o.value,"setLeftIndicatorTextColor",[e],(e=>{}))},setRightIndicatorTextColor:function(e){N.callUIFunction(o.value,"setRightIndicatorTextColor",[e],(e=>{}))},setIndicatorArrowSize:function(e){N.callUIFunction(o.value,"setIndicatorArrowSize",[e],(e=>{}))},setLeftIndicatorArrowSize:function(e){N.callUIFunction(o.value,"setLeftIndicatorArrowSize",[e],(e=>{}))},setRightIndicatorArrowSize:function(e){N.callUIFunction(o.value,"setRightIndicatorArrowSize",[e],(e=>{}))},setIndicatorDrawable:function(e){N.callUIFunction(o.value,"setIndicatorDrawable",[e],(e=>{}))},setLeftIndicatorDrawable:function(e){N.callUIFunction(o.value,"setLeftIndicatorDrawable",[e],(e=>{}))},setRightIndicatorDrawable:function(e){N.callUIFunction(o.value,"setRightIndicatorDrawable",[e],(e=>{}))},setIndicatorUrl:function(e){N.callUIFunction(o.value,"setIndicatorUrl",[e],(e=>{}))},setLeftIndicatorUrl:function(e){N.callUIFunction(o.value,"setLeftIndicatorUrl",[e],(e=>{}))},setRightIndicatorUrl:function(e){N.callUIFunction(o.value,"setRightIndicatorUrl",[e],(e=>{}))},setThumbWidth:function(e){N.callUIFunction(o.value,"setThumbWidth",[e],(e=>{}))},setLeftThumbWidth:function(e){N.callUIFunction(o.value,"setLeftThumbWidth",[e],(e=>{}))},setRightThumbWidth:function(e){N.callUIFunction(o.value,"setRightThumbWidth",[e],(e=>{}))},setThumbHeight:function(e){N.callUIFunction(o.value,"setThumbHeight",[e],(e=>{}))},setLeftThumbHeight:function(e){N.callUIFunction(o.value,"setLeftThumbHeight",[e],(e=>{}))},setRightThumbHeight:function(e){N.callUIFunction(o.value,"setRightThumbHeight",[e],(e=>{}))},scaleThumb:function(){N.callUIFunction(o.value,"scaleThumb",[],(e=>{}))},scaleLeftThumb:function(){N.callUIFunction(o.value,"scaleLeftThumb",[],(e=>{}))},scaleRightThumb:function(){N.callUIFunction(o.value,"scaleLeftThumb",[],(e=>{}))},resetThumb:function(){N.callUIFunction(o.value,"resetThumb",[],(e=>{}))},resetLeftThumb:function(){N.callUIFunction(o.value,"resetLeftThumb",[],(e=>{}))},resetRightThumb:function(){N.callUIFunction(o.value,"resetRightThumb",[],(e=>{}))},setThumbScaleRatio:function(e){N.callUIFunction(o.value,"setThumbScaleRatio",[e],(e=>{}))},setLeftThumbScaleRatio:function(e){N.callUIFunction(o.value,"setLeftThumbScaleRatio",[e],(e=>{}))},setRightThumbScaleRatio:function(e){N.callUIFunction(o.value,"setRightThumbScaleRatio",[e],(e=>{}))},setThumbActivate:function(e){N.callUIFunction(o.value,"setThumbActivate",[e],(e=>{}))},setLeftThumbActivate:function(e){N.callUIFunction(o.value,"setLeftThumbActivate",[e],(e=>{}))},setRightThumbActivate:function(e){N.callUIFunction(o.value,"setRightThumbActivate",[e],(e=>{}))},setThumbDrawable:function(e){N.callUIFunction(o.value,"setThumbDrawable",[e],(e=>{}))},setLeftThumbDrawable:function(e){N.callUIFunction(o.value,"setLeftThumbDrawable",[e],(e=>{}))},setRightThumbDrawable:function(e){N.callUIFunction(o.value,"setRightThumbDrawable",[e],(e=>{}))},setThumbUrl:function(e){N.callUIFunction(o.value,"setThumbUrl",[e],(e=>{}))},setLeftThumbUrl:function(e){N.callUIFunction(o.value,"setLeftThumbUrl",[e],(e=>{}))},setRightThumbUrl:function(e){N.callUIFunction(o.value,"setRightThumbUrl",[e],(e=>{}))},setThumbInactivatedDrawable:function(e){N.callUIFunction(o.value,"setThumbInactivatedDrawable",[e],(e=>{}))},setLeftThumbInactivatedDrawable:function(e){N.callUIFunction(o.value,"setLeftThumbInactivatedDrawable",[e],(e=>{}))},setRightThumbInactivatedDrawable:function(e){N.callUIFunction(o.value,"setRightThumbInactivatedDrawable",[e],(e=>{}))},setThumbInactivatedUrl:function(e){N.callUIFunction(o.value,"setThumbInactivatedUrl",[e],(e=>{}))},setLeftThumbInactivatedUrl:function(e){N.callUIFunction(o.value,"setLeftThumbInactivatedUrl",[e],(e=>{}))},setRightThumbInactivatedUrl:function(e){N.callUIFunction(o.value,"setRightThumbInactivatedUrl",[e],(e=>{}))},setTickMarkMode:function(e){N.callUIFunction(o.value,"setTickMarkMode",[e],(e=>{}))},setTickMarkGravity:function(e){N.callUIFunction(o.value,"setTickMarkGravity",[e],(e=>{}))},setTickMarkLayoutGravity:function(e){N.callUIFunction(o.value,"setTickMarkLayoutGravity",[e],(e=>{}))},setTickMarkTextArray:function(e){N.callUIFunction(o.value,"setTickMarkTextArray",[e],(e=>{}))},setTickMarkTextMargin:function(e){N.callUIFunction(o.value,"setTickMarkTextMargin",[e],(e=>{}))},setTickMarkTextSize:function(e){N.callUIFunction(o.value,"setTickMarkTextSize",[e],(e=>{}))},setTickMarkTextColor:function(e){N.callUIFunction(o.value,"setTickMarkTextColor",[e],(e=>{}))},setTickMarkInRangeTextColor:function(e){N.callUIFunction(o.value,"setTickMarkInRangeTextColor",[e],(e=>{}))},setSteps:function(e){N.callUIFunction(o.value,"setSteps",[e],(e=>{}))},setStepsWidth:function(e){N.callUIFunction(o.value,"setStepsWidth",[e],(e=>{}))},setStepsHeight:function(e){N.callUIFunction(o.value,"setStepsHeight",[e],(e=>{}))},setStepsRadius:function(e){N.callUIFunction(o.value,"setStepsRadius",[e],(e=>{}))},setStepsColor:function(e){N.callUIFunction(o.value,"setStepsColor",[e],(e=>{}))},setStepsAutoBonding:function(e){N.callUIFunction(o.value,"setStepsAutoBonding",[e],(e=>{}))},setStepsDrawable:function(e){N.callUIFunction(o.value,"setStepsDrawable",[e],(e=>{}))},setStepsUrl:function(e){N.callUIFunction(o.value,"setStepsUrl",[e],(e=>{}))},setSecondProgress:function(e){N.callUIFunction(o.value,"setSecondProgress",[e],(e=>{}))},show:function(e){N.callUIFunction(o.value,"show",[e],(e=>{}))},setMaxProgress:d,...to(o)}),()=>P("TVSeekBarViewComponent",{ref:o,onFocus:e=>{a.value=e.isFocused,n.emit("onFocusChanged",e.isFocused)},onSeekBarChange:e=>{n.emit("onSeekChanged",e.progress)}})}});t.component("qt-seek-bar",n)}(t),function(t){const n=Tn({name:"qt-progress-bar",emits:["onFocusChanged","onSeekChanged"],setup(t,n){const o=e();return n.expose({viewRef:o,invalidateProgressBar:function(){N.callUIFunction(o.value,"invalidateSeekBar",[],(e=>{}))},setFocusable:function(e){N.callUIFunction(o.value,"setFocusable",[e],(e=>{}))},setClickable:function(e){N.callUIFunction(o.value,"setClickable",[e],(e=>{}))},requestLayout:function(){N.callUIFunction(o.value,"requestLayout",[],(e=>{}))},invalidate:function(){N.callUIFunction(o.value,"invalidate",[],(e=>{}))},setVisible:function(e){N.callUIFunction(o.value,"setVisible",[e],(e=>{}))},setLeftSeekBarVisible:function(e){N.callUIFunction(o.value,"setLeftSeekBarVisible",[e],(e=>{}))},setRightSeekBarVisible:function(e){N.callUIFunction(o.value,"setRightSeekBarVisible",[e],(e=>{}))},setSeekBarMode:function(e){N.callUIFunction(o.value,"setSeekBarMode",[e],(e=>{}))},setProgress:function(e){N.callUIFunction(o.value,"setProgress",[e],(e=>{}))},setRangeProgress:function(e,t){N.callUIFunction(o.value,"setProgress",[e,t],(e=>{}))},getProgress:function(){N.callUIFunction(o.value,"getProgress",[],(e=>{}))},getLeftProgress:function(){N.callUIFunction(o.value,"getLeftProgress",[],(e=>{}))},getRightProgress:function(){N.callUIFunction(o.value,"getRightProgress",[],(e=>{}))},setRange:function(e,t,n){N.callUIFunction(o.value,"setRange",[e,t,n],(e=>{}))},setGravity:function(e){N.callUIFunction(o.value,"setGravity",[e],(e=>{}))},setProgressWidth:function(e){N.callUIFunction(o.value,"setProgressWidth",[e],(e=>{}))},setProgressHeight:function(e){N.callUIFunction(o.value,"setProgressHeight",[e],(e=>{}))},setProgressRadius:function(e){N.callUIFunction(o.value,"setProgressRadius",[e],(e=>{}))},setProgressColor:function(e){N.callUIFunction(o.value,"setProgressColor",[e],(e=>{}))},setProgressDefaultColor:function(e){N.callUIFunction(o.value,"setProgressDefaultColor",[e],(e=>{}))},setProgressDrawable:function(e){N.callUIFunction(o.value,"setProgressDrawable",[e],(e=>{}))},setProgressDefaultDrawable:function(e){N.callUIFunction(o.value,"setProgressDefaultDrawable",[e],(e=>{}))},setProgressUrl:function(e){N.callUIFunction(o.value,"setProgressUrl",[e],(e=>{}))},setProgressDefaultUrl:function(e){N.callUIFunction(o.value,"setProgressDefaultUrl",[e],(e=>{}))},showIndicator:function(e){N.callUIFunction(o.value,"showIndicator",[e],(e=>{}))},showLeftIndicator:function(e){N.callUIFunction(o.value,"showLeftIndicator",[e],(e=>{}))},showRightIndicator:function(e){N.callUIFunction(o.value,"showRightIndicator",[e],(e=>{}))},setIndicatorShowMode:function(e){N.callUIFunction(o.value,"setIndicatorShowMode",[e],(e=>{}))},setLeftIndicatorShowMode:function(e){N.callUIFunction(o.value,"setLeftIndicatorShowMode",[e],(e=>{}))},setRightIndicatorShowMode:function(e){N.callUIFunction(o.value,"setRightIndicatorShowMode",[e],(e=>{}))},setIndicatorWidth:function(e){N.callUIFunction(o.value,"setIndicatorWidth",[e],(e=>{}))},setLeftIndicatorWidth:function(e){N.callUIFunction(o.value,"setLeftIndicatorWidth",[e],(e=>{}))},setRightIndicatorWidth:function(e){N.callUIFunction(o.value,"setRightIndicatorWidth",[e],(e=>{}))},setIndicatorHeight:function(e){N.callUIFunction(o.value,"setIndicatorHeight",[e],(e=>{}))},setLeftIndicatorHeight:function(e){N.callUIFunction(o.value,"setLeftIndicatorHeight",[e],(e=>{}))},setRightIndicatorHeight:function(e){N.callUIFunction(o.value,"setRightIndicatorHeight",[e],(e=>{}))},setIndicatorTextDecimalFormat:function(e){N.callUIFunction(o.value,"setIndicatorTextDecimalFormat",[e],(e=>{}))},setLeftIndicatorTextDecimalFormat:function(e){N.callUIFunction(o.value,"setLeftIndicatorTextDecimalFormat",[e],(e=>{}))},setRightIndicatorTextDecimalFormat:function(e){N.callUIFunction(o.value,"setRightIndicatorTextDecimalFormat",[e],(e=>{}))},setIndicatorTextStringFormat:function(e){N.callUIFunction(o.value,"setIndicatorTextStringFormat",[e],(e=>{}))},setLeftIndicatorTextStringFormat:function(e){N.callUIFunction(o.value,"setLeftIndicatorTextStringFormat",[e],(e=>{}))},setRightIndicatorTextStringFormat:function(e){N.callUIFunction(o.value,"setRightIndicatorTextStringFormat",[e],(e=>{}))},setIndicatorMargin:function(e){N.callUIFunction(o.value,"setIndicatorMargin",[e],(e=>{}))},setLeftIndicatorMargin:function(e){N.callUIFunction(o.value,"setLeftIndicatorMargin",[e],(e=>{}))},setRightIndicatorMargin:function(e){N.callUIFunction(o.value,"setRightIndicatorMargin",[e],(e=>{}))},setIndicatorPaddingBottom:function(e){N.callUIFunction(o.value,"setIndicatorPaddingBottom",[e],(e=>{}))},setLeftIndicatorPaddingBottom:function(e){N.callUIFunction(o.value,"setLeftIndicatorPaddingBottom",[e],(e=>{}))},setRightIndicatorPaddingBottom:function(e){N.callUIFunction(o.value,"setRightIndicatorPaddingBottom",[e],(e=>{}))},setIndicatorPaddingTop:function(e){N.callUIFunction(o.value,"setIndicatorPaddingTop",[e],(e=>{}))},setLeftIndicatorPaddingTop:function(e){N.callUIFunction(o.value,"setLeftIndicatorPaddingTop",[e],(e=>{}))},setRightIndicatorPaddingTop:function(e){N.callUIFunction(o.value,"setRightIndicatorPaddingTop",[e],(e=>{}))},setIndicatorPaddingLeft:function(e){N.callUIFunction(o.value,"setIndicatorPaddingLeft",[e],(e=>{}))},setLeftIndicatorPaddingLeft:function(e){N.callUIFunction(o.value,"setLeftIndicatorPaddingLeft",[e],(e=>{}))},setRightIndicatorPaddingLeft:function(e){N.callUIFunction(o.value,"setRightIndicatorPaddingLeft",[e],(e=>{}))},setIndicatorPaddingRight:function(e){N.callUIFunction(o.value,"setIndicatorPaddingRight",[e],(e=>{}))},setLeftIndicatorPaddingRight:function(e){N.callUIFunction(o.value,"setLeftIndicatorPaddingRight",[e],(e=>{}))},setRightIndicatorPaddingRight:function(e){N.callUIFunction(o.value,"setRightIndicatorPaddingRight",[e],(e=>{}))},setIndicatorBackgroundColor:function(e){N.callUIFunction(o.value,"setIndicatorBackgroundColor",[e],(e=>{}))},setLeftIndicatorBackgroundColor:function(e){N.callUIFunction(o.value,"setLeftIndicatorBackgroundColor",[e],(e=>{}))},setRightIndicatorBackgroundColor:function(e){N.callUIFunction(o.value,"setRightIndicatorBackgroundColor",[e],(e=>{}))},setIndicatorRadius:function(e){N.callUIFunction(o.value,"setIndicatorRadius",[e],(e=>{}))},setLeftIndicatorRadius:function(e){N.callUIFunction(o.value,"setLeftIndicatorRadius",[e],(e=>{}))},setRightIndicatorRadius:function(e){N.callUIFunction(o.value,"setRightIndicatorRadius",[e],(e=>{}))},setIndicatorTextSize:function(e){N.callUIFunction(o.value,"setIndicatorTextSize",[e],(e=>{}))},setLeftIndicatorTextSize:function(e){N.callUIFunction(o.value,"setLeftIndicatorTextSize",[e],(e=>{}))},setRightIndicatorTextSize:function(e){N.callUIFunction(o.value,"setRightIndicatorTextSize",[e],(e=>{}))},setIndicatorTextColor:function(e){N.callUIFunction(o.value,"setIndicatorTextColor",[e],(e=>{}))},setLeftIndicatorTextColor:function(e){N.callUIFunction(o.value,"setLeftIndicatorTextColor",[e],(e=>{}))},setRightIndicatorTextColor:function(e){N.callUIFunction(o.value,"setRightIndicatorTextColor",[e],(e=>{}))},setIndicatorArrowSize:function(e){N.callUIFunction(o.value,"setIndicatorArrowSize",[e],(e=>{}))},setLeftIndicatorArrowSize:function(e){N.callUIFunction(o.value,"setLeftIndicatorArrowSize",[e],(e=>{}))},setRightIndicatorArrowSize:function(e){N.callUIFunction(o.value,"setRightIndicatorArrowSize",[e],(e=>{}))},setIndicatorDrawable:function(e){N.callUIFunction(o.value,"setIndicatorDrawable",[e],(e=>{}))},setLeftIndicatorDrawable:function(e){N.callUIFunction(o.value,"setLeftIndicatorDrawable",[e],(e=>{}))},setRightIndicatorDrawable:function(e){N.callUIFunction(o.value,"setRightIndicatorDrawable",[e],(e=>{}))},setIndicatorUrl:function(e){N.callUIFunction(o.value,"setIndicatorUrl",[e],(e=>{}))},setLeftIndicatorUrl:function(e){N.callUIFunction(o.value,"setLeftIndicatorUrl",[e],(e=>{}))},setRightIndicatorUrl:function(e){N.callUIFunction(o.value,"setRightIndicatorUrl",[e],(e=>{}))},setThumbWidth:function(e){N.callUIFunction(o.value,"setThumbWidth",[e],(e=>{}))},setLeftThumbWidth:function(e){N.callUIFunction(o.value,"setLeftThumbWidth",[e],(e=>{}))},setRightThumbWidth:function(e){N.callUIFunction(o.value,"setRightThumbWidth",[e],(e=>{}))},setThumbHeight:function(e){N.callUIFunction(o.value,"setThumbHeight",[e],(e=>{}))},setLeftThumbHeight:function(e){N.callUIFunction(o.value,"setLeftThumbHeight",[e],(e=>{}))},setRightThumbHeight:function(e){N.callUIFunction(o.value,"setRightThumbHeight",[e],(e=>{}))},scaleThumb:function(){N.callUIFunction(o.value,"scaleThumb",[],(e=>{}))},scaleLeftThumb:function(){N.callUIFunction(o.value,"scaleLeftThumb",[],(e=>{}))},scaleRightThumb:function(){N.callUIFunction(o.value,"scaleLeftThumb",[],(e=>{}))},resetThumb:function(){N.callUIFunction(o.value,"resetThumb",[],(e=>{}))},resetLeftThumb:function(){N.callUIFunction(o.value,"resetLeftThumb",[],(e=>{}))},resetRightThumb:function(){N.callUIFunction(o.value,"resetRightThumb",[],(e=>{}))},setThumbScaleRatio:function(e){N.callUIFunction(o.value,"setThumbScaleRatio",[e],(e=>{}))},setLeftThumbScaleRatio:function(e){N.callUIFunction(o.value,"setLeftThumbScaleRatio",[e],(e=>{}))},setRightThumbScaleRatio:function(e){N.callUIFunction(o.value,"setRightThumbScaleRatio",[e],(e=>{}))},setThumbActivate:function(e){N.callUIFunction(o.value,"setThumbActivate",[e],(e=>{}))},setLeftThumbActivate:function(e){N.callUIFunction(o.value,"setLeftThumbActivate",[e],(e=>{}))},setRightThumbActivate:function(e){N.callUIFunction(o.value,"setRightThumbActivate",[e],(e=>{}))},setThumbDrawable:function(e){N.callUIFunction(o.value,"setThumbDrawable",[e],(e=>{}))},setLeftThumbDrawable:function(e){N.callUIFunction(o.value,"setLeftThumbDrawable",[e],(e=>{}))},setRightThumbDrawable:function(e){N.callUIFunction(o.value,"setRightThumbDrawable",[e],(e=>{}))},setThumbUrl:function(e){N.callUIFunction(o.value,"setThumbUrl",[e],(e=>{}))},setLeftThumbUrl:function(e){N.callUIFunction(o.value,"setLeftThumbUrl",[e],(e=>{}))},setRightThumbUrl:function(e){N.callUIFunction(o.value,"setRightThumbUrl",[e],(e=>{}))},setThumbInactivatedDrawable:function(e){N.callUIFunction(o.value,"setThumbInactivatedDrawable",[e],(e=>{}))},setLeftThumbInactivatedDrawable:function(e){N.callUIFunction(o.value,"setLeftThumbInactivatedDrawable",[e],(e=>{}))},setRightThumbInactivatedDrawable:function(e){N.callUIFunction(o.value,"setRightThumbInactivatedDrawable",[e],(e=>{}))},setThumbInactivatedUrl:function(e){N.callUIFunction(o.value,"setThumbInactivatedUrl",[e],(e=>{}))},setLeftThumbInactivatedUrl:function(e){N.callUIFunction(o.value,"setLeftThumbInactivatedUrl",[e],(e=>{}))},setRightThumbInactivatedUrl:function(e){N.callUIFunction(o.value,"setRightThumbInactivatedUrl",[e],(e=>{}))},setTickMarkMode:function(e){N.callUIFunction(o.value,"setTickMarkMode",[e],(e=>{}))},setTickMarkGravity:function(e){N.callUIFunction(o.value,"setTickMarkGravity",[e],(e=>{}))},setTickMarkLayoutGravity:function(e){N.callUIFunction(o.value,"setTickMarkLayoutGravity",[e],(e=>{}))},setTickMarkTextArray:function(e){N.callUIFunction(o.value,"setTickMarkTextArray",[e],(e=>{}))},setTickMarkTextMargin:function(e){N.callUIFunction(o.value,"setTickMarkTextMargin",[e],(e=>{}))},setTickMarkTextSize:function(e){N.callUIFunction(o.value,"setTickMarkTextSize",[e],(e=>{}))},setTickMarkTextColor:function(e){N.callUIFunction(o.value,"setTickMarkTextColor",[e],(e=>{}))},setTickMarkInRangeTextColor:function(e){N.callUIFunction(o.value,"setTickMarkInRangeTextColor",[e],(e=>{}))},setSteps:function(e){N.callUIFunction(o.value,"setSteps",[e],(e=>{}))},setStepsWidth:function(e){N.callUIFunction(o.value,"setStepsWidth",[e],(e=>{}))},setStepsHeight:function(e){N.callUIFunction(o.value,"setStepsHeight",[e],(e=>{}))},setStepsRadius:function(e){N.callUIFunction(o.value,"setStepsRadius",[e],(e=>{}))},setStepsColor:function(e){N.callUIFunction(o.value,"setStepsColor",[e],(e=>{}))},setStepsAutoBonding:function(e){N.callUIFunction(o.value,"setStepsAutoBonding",[e],(e=>{}))},setStepsDrawable:function(e){N.callUIFunction(o.value,"setStepsDrawable",[e],(e=>{}))},setStepsUrl:function(e){N.callUIFunction(o.value,"setStepsUrl",[e],(e=>{}))},setSecondProgress:function(e){N.callUIFunction(o.value,"setSecondProgress",[e],(e=>{}))},show:function(e){N.callUIFunction(o.value,"show",[e],(e=>{}))},setMaxProgress:function(e){N.callUIFunction(o.value,"setMaxProgress",[e],(e=>{}))},...to(o)}),()=>P("TVProgressBarViewComponent",{ref:o,onFocus:e=>{n.emit("onFocusChanged",e.isFocused)},onSeekBarChange:e=>{n.emit("onSeekChanged",e.progress)}})}});t.component("qt-progress-bar",n)}(t),function(t){const n=l({emits:["onAnimationEnd","onAnimationCancel","onAnimationStart","onAnimationRepeat","onAnimationPause","onAnimationResume","onAnimationUpdate"],setup(t,n){const o=e(),a=x().getDisplayScale();return n.expose({setPivotX:function(e){N.callUIFunction(o.value,"setPivotX",[e],(e=>{}))},setPivotY:function(e){N.callUIFunction(o.value,"setPivotY",[e],(e=>{}))},resetPivot:function(){N.callUIFunction(o.value,"resetPivot",[],(e=>{}))},resetAnimators:function(){N.callUIFunction(o.value,"resetAnimators",[],(e=>{}))},animatorSet:function(e,t,n){N.callUIFunction(o.value,"animatorSet",[e,t,n],(e=>{}))},startAnimator:function(e){N.callUIFunction(o.value,"startAnimator",[e],(e=>{}))},startAnimatorDelay:function(e,t){N.callUIFunction(o.value,"startAnimatorDelay",[e,t],(e=>{}))},pauseAnimator:function(e){N.callUIFunction(o.value,"pauseAnimator",[e],(e=>{}))},resumeAnimator:function(e){N.callUIFunction(o.value,"resumeAnimator",[e],(e=>{}))},cancelAnimator:function(e){N.callUIFunction(o.value,"cancelAnimator",[e],(e=>{}))},reverseAnimator:function(e){N.callUIFunction(o.value,"reverseAnimator",[e],(e=>{}))},play:function(e,t){N.callUIFunction(o.value,"play",[e,t],(e=>{}))},playWith:function(e,t){N.callUIFunction(o.value,"with",[e,t],(e=>{}))},playBefore:function(e,t){N.callUIFunction(o.value,"before",[e,t],(e=>{}))},playAfter:function(e,t){N.callUIFunction(o.value,"after",[e,t],(e=>{}))},playAfterDelay:function(e,t){N.callUIFunction(o.value,"afterDelay",[e,t],(e=>{}))},playSequentially1:function(e,t){N.callUIFunction(o.value,"playSequentially1",[e,t],(e=>{}))},playSequentially2:function(e,t,n){N.callUIFunction(o.value,"playSequentially2",[e,t,n],(e=>{}))},playSequentially3:function(e,t,n,a){N.callUIFunction(o.value,"playSequentially3",[e,t,n,a],(e=>{}))},playSequentially4:function(e,t,n,a,i){N.callUIFunction(o.value,"playSequentially4",[e,t,n,a,i],(e=>{}))},playSequentially5:function(e,t,n,a,i,l){N.callUIFunction(o.value,"playSequentially5",[e,t,n,a,i,l],(e=>{}))},playTogether1:function(e,t){N.callUIFunction(o.value,"playTogether1",[e,t],(e=>{}))},playTogether2:function(e,t,n){N.callUIFunction(o.value,"playTogether2",[e,t,n],(e=>{}))},playTogether3:function(e,t,n,a){N.callUIFunction(o.value,"playTogether3",[e,t,n,a],(e=>{}))},playTogether4:function(e,t,n,a,i){N.callUIFunction(o.value,"playTogether4",[e,t,n,a,i],(e=>{}))},playTogether5:function(e,t,n,a,i,l){N.callUIFunction(o.value,"playTogether5",[e,t,n,a,i,l],(e=>{}))},objectAnimator:function(e,t,n,a,i,l,c,s,r){N.callUIFunction(o.value,"objectAnimator",[e,t,n,a,i,l,c,s,r],(e=>{}))},objectAnimator1:function(e,t,n,i,l,c,s,r,u,d){n!=_i.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_X&&n!=_i.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Y&&n!=_i.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Z||(i*=a),N.callUIFunction(o.value,"objectAnimator1",[e,t,n,i,l,c,s,r,u,d],(e=>{}))},objectAnimator2:function(e,t,n,i,l,c,s,r,u,d,f){n!=_i.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_X&&n!=_i.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Y&&n!=_i.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Z||(i*=a,l*=a),N.callUIFunction(o.value,"objectAnimator2",[e,t,n,i,l,c,s,r,u,d,f],(e=>{}))},objectAnimator3:function(e,t,n,i,l,c,s,r,u,d,f,g){n!=_i.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_X&&n!=_i.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Y&&n!=_i.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Z||(i*=a,l*=a,c*=a),N.callUIFunction(o.value,"objectAnimator3",[e,t,n,i,l,c,s,r,u,d,f,g],(e=>{}))},objectAnimator4:function(e,t,n,i,l,c,s,r,u,d,f,g,p){n!=_i.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_X&&n!=_i.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Y&&n!=_i.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Z||(i*=a,l*=a,c*=a,s*=a),N.callUIFunction(o.value,"objectAnimator4",[e,t,n,i,l,c,s,r,u,d,f,g,p],(e=>{}))},objectAnimator5:function(e,t,n,i,l,c,s,r,u,d,f,g,p,_){n!=_i.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_X&&n!=_i.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Y&&n!=_i.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Z||(i*=a,l*=a,c*=a,s*=a,r*=a),N.callUIFunction(o.value,"objectAnimator5",[e,t,n,i,l,c,s,r,u,d,f,g,p,_],(e=>{}))},objectAnimator6:function(e,t,n,i,l,c,s,r,u,d,f,g,p,_,T){n!=_i.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_X&&n!=_i.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Y&&n!=_i.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Z||(i*=a,l*=a,c*=a,s*=a,r*=a,u*=a),N.callUIFunction(o.value,"objectAnimator6",[e,t,n,i,l,c,s,r,u,d,f,g,p,_,T],(e=>{}))},objectAnimator7:function(e,t,n,i,l,c,s,r,u,d,f,g,p,_,T,I){n!=_i.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_X&&n!=_i.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Y&&n!=_i.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Z||(i*=a,l*=a,c*=a,s*=a,r*=a,u*=a,d*=a),N.callUIFunction(o.value,"objectAnimator7",[e,t,n,i,l,c,s,r,u,d,f,g,p,_,T,I],(e=>{}))},objectAnimator8:function(e,t,n,i,l,c,s,r,u,d,f,g,p,_,T,I,m){n!=_i.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_X&&n!=_i.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Y&&n!=_i.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Z||(i*=a,l*=a,c*=a,s*=a,r*=a,u*=a,d*=a,f*=a),N.callUIFunction(o.value,"objectAnimator8",[e,t,n,i,l,c,s,r,u,d,f,g,p,_,T,I,m],(e=>{}))},objectAnimator9:function(e,t,n,i,l,c,s,r,u,d,f,g,p,_,T,I,m,h){n!=_i.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_X&&n!=_i.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Y&&n!=_i.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Z||(i*=a,l*=a,c*=a,s*=a,r*=a,u*=a,d*=a,f*=a,g*=a),N.callUIFunction(o.value,"objectAnimator9",[e,t,n,i,l,c,s,r,u,d,f,g,p,_,T,I,m,h],(e=>{}))},objectAnimator10:function(e,t,n,i,l,c,s,r,u,d,f,g,p,_,T,I,m,h,v){n!=_i.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_X&&n!=_i.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Y&&n!=_i.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Z||(i*=a,l*=a,c*=a,s*=a,r*=a,u*=a,d*=a,f*=a,g*=a,p*=a),N.callUIFunction(o.value,"objectAnimator10",[e,t,n,i,l,c,s,r,u,d,f,g,p,_,T,I,m,h,v],(e=>{}))},...to(o)}),()=>{const e=n.slots.default&&n.slots.default();return P("AnimationViewComponent",{ref:o,onAnimationCancel:e=>{let t=e.animationId;n.emit("onAnimationCancel",t)},onAnimationEnd:e=>{let t=e.animationId,o=e.isReverse;n.emit("onAnimationEnd",t,o)},onAnimationRepeat:e=>{let t=e.animationId;n.emit("onAnimationRepeat",t)},onAnimationStart:e=>{let t=e.animationId,o=e.isReverse;n.emit("onAnimationStart",t,o)},onAnimationPause:e=>{let t=e.animationId;n.emit("onAnimationPause",t)},onAnimationResume:e=>{let t=e.animationId;n.emit("onAnimationResume",t)},onAnimationUpdate:e=>{let t=e.animationId,o=e.animatedValue;n.emit("onAnimationUpdate",t,o)}},e)}}});t.component("qt-animation",n)}(t),function(t){t.component("qt-dialog",{setup(t,n){const o=e();return n.expose({viewRef:o,...to(o)}),()=>{const e=n.slots.default&&n.slots.default();return P("Modal",{ref:o},e)}}})}(t),function(t){const n=l({setup(t,n){const o=e();return n.expose({viewRef:o,scrollTo:function(e,t){N.callUIFunction(o.value,"scrollTo",[e,t])},scrollToWithOptions:function(e,t,n){N.callUIFunction(o.value,"scrollToWithOptions",[{x:e,y:t,duration:n}])},...to(o)}),()=>{const e=n.slots.default&&n.slots.default();return P("ScrollView",{ref:o},e)}}});t.component("qt-scroll-view",n)}(t),function(t){t.component("qt-lottie-view",{emits:["animation-event"],setup(t,n){const o=e();return n.expose({loadRaw:e=>{N.callUIFunction(o.value,"lottie_rawRes",[e])},loadFile:e=>{N.callUIFunction(o.value,"lottie_localRes",[e])},loadUrl:e=>{N.callUIFunction(o.value,"lottie_url",[e])},loadCacheUrl:(e,t)=>{N.callUIFunction(o.value,"lottie_cache_url",[e,t])},setFallbackResource:e=>{N.callUIFunction(o.value,"lottie_fallbackRes",[e])},setAutoPlay:e=>{N.callUIFunction(o.value,"lottie_autoPlay",[e])},setLottieLoop:e=>{N.callUIFunction(o.value,"lottie_loop",[e])},setRepeatMode:e=>{N.callUIFunction(o.value,"lottie_repeatMode",[e])},setRepeatCount:e=>{N.callUIFunction(o.value,"lottie_repeatCount",[e])},setSpeed:e=>{N.callUIFunction(o.value,"lottie_speed",[e])},setClipToCompositionBounds:e=>{N.callUIFunction(o.value,"lottie_clipToCompositionBounds",[e])},setDefaultFontFileExtension:e=>{N.callUIFunction(o.value,"lottie_defaultFontFileExtension",[e])},setImageAssetsFolder:e=>{N.callUIFunction(o.value,"lottie_imageAssetsFolder",[e])},setProgress:e=>{N.callUIFunction(o.value,"lottie_progress",[e])},enableMergePathsForKitKatAndAbove:e=>{N.callUIFunction(o.value,"lottie_enableMergePathsForKitKatAndAbove",[e])},setColorFilter:e=>{N.callUIFunction(o.value,"lottie_colorFilter",[e])},setRenderMode:e=>{N.callUIFunction(o.value,"lottie_renderMode",[e])},setAsyncUpdate:e=>{N.callUIFunction(o.value,"lottie_asyncUpdates",[e])},playAnimation:()=>{N.callUIFunction(o.value,"playAnimation",[])},setIgnoreDisabledSystemAnimations:e=>{N.callUIFunction(o.value,"lottie_ignoreDisabledSystemAnimations",[e])},setUseCompositionFrameRate:e=>{N.callUIFunction(o.value,"lottie_useCompositionFrameRate",[e])},resumeAnimation:()=>{N.callUIFunction(o.value,"resumeAnimation",[])},pauseAnimation:()=>{N.callUIFunction(o.value,"pauseAnimation",[])},cancelAnimation:()=>{N.callUIFunction(o.value,"cancelAnimation",[])},cacheComposition:e=>{N.callUIFunction(o.value,"cacheComposition",[e])},removeAllListener:()=>{N.callUIFunction(o.value,"removeAllListener",[])},...to(o)}),()=>{const e=n.slots.default&&n.slots.default();return P("ESLottieViewComponent",{ref:o,onAnimationEvent:e=>{n.emit("animation-event",e)}},e)}}})}(t),function(t){const n=l({setup(t,n){const o=e();return n.expose({setPackageName:function(e){N.callUIFunction(o.value,"setPackageName",[e],(e=>{}))},setRoundingRadius:function(e){N.callUIFunction(o.value,"setRoundingRadius",[e],(e=>{}))}}),()=>P("ESAppIconViewComponent",{ref:o})}});t.component("qt-app-icon",n)}(t),function(t){const n=l({emits:["onPluginLoadSuccess","onPluginLoadError"],setup(t,n){const o=e(),a=D().getESSDKVersionCode()>=O.ES_SDK_VERSION_29?"ESPluginViewComponent":"div";return n.expose({dispatchFunction:(e,t)=>new Promise((n=>{N.callUIFunction(o.value,e,t,(e=>{n(e)}))}))}),()=>P(a,{ref:o,onPluginLoadSuccess:e=>{n.emit("onPluginLoadSuccess",{sid:e.sid})},onPluginLoadError:e=>{n.emit("onPluginLoadError",{sid:e.sid,errorCode:e.errorCode,errorMessage:e.errorMessage})}})}});t.component("qt-plugin-view",n)}(t);for(let e in Qi)t.component(Qi[e].name,Qi[e])};export{pi as QTAnimationInterpolatorType,_i as QTAnimationPropertyName,Ti as QTAnimationRepeatMode,Ii as QTAnimationValueType,Si as QTDirections,xi as QTGradientOrientation,Di as QTGradientShape,Oi as QTGradientType,vi as QTIViewVisibility,Ci as QTLottieAsyncUpdates,Ui as QTLottieRepeatMode,di as QTMediaSeriesStyleType,ui as QTMediaSeriesType,Ei as QTNavBarItemType,Fi as QTScrollState,Ai as QTSeekBarGravity,Ri as QTSeekBarIndicatorMode,yi as QTSeekBarMode,Ni as QTSeekBarTickMarkGravity,Li as QTSeekBarTickMarkLayoutGravity,Pi as QTSeekBarTickMarkMode,bi as QTTabItemType,wa as QTTabPageState,sa as QTWaterfallItemType,ca as QTWaterfallSectionType,Oa as QTWaterfallVisibleType,$i as QuickTVUI,Mi as VirtualView,wi as arrangeChildren4ListView,Go as qtGetParent,zo as qtRef,Qo as qtWatchAll};
19
+ const Lt=[];function Ut(e,...t){Fe();const n=Lt.length?Lt[Lt.length-1].component:null,o=n&&n.appContext.config.warnHandler,a=function(){let e=Lt[Lt.length-1];if(!e)return[];const t=[];for(;e;){const n=t[0];n&&n.vnode===e?n.recurseCount++:t.push({vnode:e,recurseCount:0});const o=e.component&&e.component.parent;e=o&&o.vnode}return t}();if(o)Ot(o,n,11,[e+t.map((e=>{var t,n;return null!=(n=null==(t=e.toString)?void 0:t.call(e))?n:JSON.stringify(e)})).join(""),n&&n.proxy,a.map((({vnode:e})=>`at <${Zn(n,e.type)}>`)).join("\n"),a]);else{const n=[`[Vue warn]: ${e}`,...t];a.length&&n.push("\n",...function(e){const t=[];return e.forEach(((e,n)=>{t.push(...0===n?[]:["\n"],...function({vnode:e,recurseCount:t}){const n=t>0?`... (${t} recursive calls)`:"",o=!!e.component&&null==e.component.parent,a=` at <${Zn(e.component,e.type,o)}`,i=">"+n;return e.props?[a,...Ct(e.props),i]:[a+i]}(e))})),t}(a)),console.warn(...n)}Ee()}function Ct(e){const t=[],n=Object.keys(e);return n.slice(0,3).forEach((n=>{t.push(...xt(n,e[n]))})),n.length>3&&t.push(" ..."),t}function xt(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=xt(e,yt(t.value),!0),n?t:[`${e}=Ref<`,t,">"]):W(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=yt(t),n?t:[`${e}=`,t])}const Dt={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",0:"setup function",1:"render function",2:"watcher getter",3:"watcher callback",4:"watcher cleanup function",5:"native event handler",6:"component event handler",7:"vnode hook",8:"directive hook",9:"transition hook",10:"app errorHandler",11:"app warnHandler",12:"ref function",13:"async component loader",14:"scheduler flush. This is likely a Vue internals bug. Please open an issue at https://github.com/vuejs/core ."};function Ot(e,t,n,o){try{return o?e(...o):e()}catch(e){wt(e,t,n)}}function kt(e,t,n,o){if(W(e)){const a=Ot(e,t,n,o);return a&&K(a)&&a.catch((e=>{wt(e,t,n)})),a}if(V(e)){const a=[];for(let i=0;i<e.length;i++)a.push(kt(e[i],t,n,o));return a}"production"!==process.env.NODE_ENV&&Ut("Invalid value type passed to callWithAsyncErrorHandling(): "+typeof e)}function wt(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?Dt[n]:`https://vuejs.org/error-reference/#runtime-${n}`;for(;o;){const t=o.ec;if(t)for(let n=0;n<t.length;n++)if(!1===t[n](e,a,i))return;o=o.parent}const l=t.appContext.config.errorHandler;if(l)return Fe(),Ot(l,null,10,[e,a,i]),void Ee()}!function(e,t,n,o=!0){if("production"!==process.env.NODE_ENV){const i=Dt[t];if(n&&(a=n,Lt.push(a)),Ut("Unhandled error"+(i?` during execution of ${i}`:"")),n&&Lt.pop(),o)throw e;console.error(e)}else console.error(e);var a}(e,n,a,o)}let Bt=!1,Mt=!1;const $t=[];let Qt=0;const Gt=[];let Vt=null,qt=0;const Yt=Promise.resolve();let Wt=null;const zt=100;function Ht(e){const t=Wt||Yt;return e?t.then(this?e.bind(this):e):t}function jt(e){$t.length&&$t.includes(e,Bt&&e.allowRecurse?Qt+1:Qt)||(null==e.id?$t.push(e):$t.splice(function(e){let t=Qt+1,n=$t.length;for(;t<n;){const o=t+n>>>1,a=$t[o],i=Zt(a);i<e||i===e&&a.pre?t=o+1:n=o}return t}(e.id),0,e),Kt())}function Kt(){Bt||Mt||(Mt=!0,Wt=Yt.then(en))}function Xt(e){V(e)?Gt.push(...e):Vt&&Vt.includes(e,e.allowRecurse?qt+1:qt)||Gt.push(e),Kt()}const Zt=e=>null==e.id?1/0:e.id,Jt=(e,t)=>{const n=Zt(e)-Zt(t);if(0===n){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function en(e){Mt=!1,Bt=!0,"production"!==process.env.NODE_ENV&&(e=e||new Map),$t.sort(Jt);const t="production"!==process.env.NODE_ENV?t=>tn(e,t):B;try{for(Qt=0;Qt<$t.length;Qt++){const e=$t[Qt];if(e&&!1!==e.active){if("production"!==process.env.NODE_ENV&&t(e))continue;Ot(e,null,14)}}}finally{Qt=0,$t.length=0,function(e){if(Gt.length){const t=[...new Set(Gt)].sort(((e,t)=>Zt(e)-Zt(t)));if(Gt.length=0,Vt)return void Vt.push(...t);for(Vt=t,"production"!==process.env.NODE_ENV&&(e=e||new Map),qt=0;qt<Vt.length;qt++)"production"!==process.env.NODE_ENV&&tn(e,Vt[qt])||Vt[qt]();Vt=null,qt=0}}(e),Bt=!1,Wt=null,($t.length||Gt.length)&&en(e)}}function tn(e,t){if(e.has(t)){const n=e.get(t);if(n>zt){const e=t.ownerInstance,n=e&&Xn(e.type);return wt(`Maximum recursive updates exceeded${n?` in component <${n}>`:""}. This means you have a reactive effect that is mutating its own dependencies and thus recursively triggering itself. Possible sources include component template, render function, updated hook or watcher source function.`,null,10),!0}e.set(t,n+1)}else e.set(t,1)}const nn=new Set;"production"!==process.env.NODE_ENV&&(le().__VUE_HMR_RUNTIME__={createRecord:cn((function(e,t){if(on.has(e))return!1;return on.set(e,{initialDef:an(t),instances:new Set}),!0})),rerender:cn((function(e,t){const n=on.get(e);if(!n)return;n.initialDef.render=t,[...n.instances].forEach((e=>{t&&(e.render=t,an(e.type).render=t),e.renderCache=[],e.effect.dirty=!0,e.update()}))})),reload:cn((function(e,t){const n=on.get(e);if(!n)return;t=an(t),ln(n.initialDef,t);const o=[...n.instances];for(const e of o){const o=an(e.type);nn.has(o)||(o!==n.initialDef&&ln(o,t),nn.add(o)),e.appContext.propsCache.delete(e.type),e.appContext.emitsCache.delete(e.type),e.appContext.optionsCache.delete(e.type),e.ceReload?(nn.add(o),e.ceReload(t.styles),nn.delete(o)):e.parent?(e.parent.effect.dirty=!0,jt(e.parent.update)):e.appContext.reload?e.appContext.reload():"undefined"!=typeof window?window.location.reload():console.warn("[HMR] Root or manually mounted instance modified. Full reload required.")}Xt((()=>{for(const e of o)nn.delete(an(e.type))}))}))});const on=new Map;function an(e){return Jn(e)?e.__vccOpts:e}function ln(e,t){$(e,t);for(const n in e)"__file"===n||n in t||delete e[n]}function cn(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 sn=null,rn=null;const un=Symbol.for("v-ndc");const dn=Symbol.for("v-scx"),fn=()=>{{const e=function(e,t,n=!1){const o=Wn||sn;if(o||Ln){const a=o?null==o.parent?o.vnode.appContext&&o.vnode.appContext.provides:o.parent.provides:Ln._context.provides;if(a&&e in a)return a[e];if(arguments.length>1)return n&&W(t)?t.call(o&&o.proxy):t;"production"!==process.env.NODE_ENV&&Ut(`injection "${String(e)}" not found.`)}else"production"!==process.env.NODE_ENV&&Ut("inject() can only be used inside setup() or functional components.")}(dn);return e||"production"!==process.env.NODE_ENV&&Ut("Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build."),e}},gn={};function pn(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;W(t)?i=t:(i=t.handler,n=t);const l=zn(this),c=function(e,t,{immediate:n,deep:o,flush:a,once:i,onTrack:l,onTrigger:c}=w){if(t&&i){const e=t;t=(...t)=>{e(...t),S()}}"production"!==process.env.NODE_ENV&&void 0!==o&&"number"==typeof o&&Ut('watch() "deep" option with number value will be used as watch depth in future versions. Please use a boolean instead to avoid potential breakage.'),"production"===process.env.NODE_ENV||t||(void 0!==n&&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.'),void 0!==i&&Ut('watch() "once" 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.")},r=Wn,u=e=>!0===o?e:_n(e,!1===o?1:void 0);let d,f,g=!1,p=!1;if(Pt(e)?(d=()=>e.value,g=Et(e)):St(e)?(d=()=>u(e),g=!0):V(e)?(p=!0,g=e.some((e=>St(e)||Et(e))),d=()=>e.map((e=>Pt(e)?e.value:St(e)?u(e):W(e)?Ot(e,r,2):void("production"!==process.env.NODE_ENV&&s(e))))):W(e)?d=t?()=>Ot(e,r,2):()=>(f&&f(),kt(e,r,3,[T])):(d=B,"production"!==process.env.NODE_ENV&&s(e)),t&&o){const e=d;d=()=>_n(e())}let _,T=e=>{f=v.onStop=()=>{Ot(e,r,4),f=v.onStop=void 0}};if(Hn){if(T=B,t?n&&kt(t,r,3,[d(),p?[]:void 0,T]):d(),"sync"!==a)return B;{const e=fn();_=e.__watcherHandles||(e.__watcherHandles=[])}}let I=p?new Array(e.length).fill(gn):gn;const m=()=>{if(v.active&&v.dirty)if(t){const e=v.run();(o||g||(p?e.some(((e,t)=>oe(e,I[t]))):oe(e,I)))&&(f&&f(),kt(t,r,3,[e,I===gn?void 0:p&&I[0]===gn?[]:I,T]),I=e)}else v.run()};let h;m.allowRecurse=!!t,"sync"===a?h=m:"post"===a?h=()=>Cn(m,r&&r.suspense):(m.pre=!0,r&&(m.id=r.uid),h=()=>jt(m));const v=new _e(d,B,h),S=()=>{v.stop()};return"production"!==process.env.NODE_ENV&&(v.onTrack=l,v.onTrigger=c),t?n?m():I=v.run():"post"===a?Cn(v.run.bind(v),r&&r.suspense):v.run(),_&&_.push(S),S}(a,i.bind(o),n);return l(),c}function _n(e,t,n=0,o){if(!j(e)||e.__v_skip)return e;if(t&&t>0){if(n>=t)return e;n++}if((o=o||new Set).has(e))return e;if(o.add(e),Pt(e))_n(e.value,t,n,o);else if(V(e))for(let a=0;a<e.length;a++)_n(e[a],t,n,o);else if(Y(e)||q(e))e.forEach((e=>{_n(e,t,n,o)}));else if(ee(e))for(const a in e)_n(e[a],t,n,o);return e}
20
+ /*! #__NO_SIDE_EFFECTS__ */function Tn(e,t){return W(e)?(()=>$({name:e.name},t,{setup:e}))():e}const In=e=>e?4&e.vnode.shapeFlag?function(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy((n=e.exposed,Object.isExtensible(n)&&ae(n,"__v_skip",!0),St(t=n)?t:new Proxy(t,Nt)),{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:In(e.parent):null,mn=$(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>"production"!==process.env.NODE_ENV?ht(e.props):e.props,$attrs:e=>"production"!==process.env.NODE_ENV?ht(e.attrs):e.attrs,$slots:e=>"production"!==process.env.NODE_ENV?ht(e.slots):e.slots,$refs:e=>"production"!==process.env.NODE_ENV?ht(e.refs):e.refs,$parent:e=>In(e.parent),$root:e=>In(e.root),$emit:e=>e.emit,$options:e=>__VUE_OPTIONS_API__?function(e){const t=e.type,{mixins:n,extends:o}=t,{mixins:a,optionsCache:i,config:{optionMergeStrategies:l}}=e.appContext,c=i.get(t);let s;c?s=c:a.length||n||o?(s={},a.length&&a.forEach((e=>En(s,e,l,!0))),En(s,t,l)):s=t;j(t)&&i.set(t,s);return s}(e):e.type,$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,jt(e.update)}),$nextTick:e=>e.n||(e.n=Ht.bind(e.proxy)),$watch:e=>__VUE_OPTIONS_API__?pn.bind(e):B}),hn=(e,t)=>e!==w&&!e.__isScriptSetup&&G(e,t),vn={get({_:e},t){if("__v_skip"===t)return!0;const{ctx:n,setupState:o,data:a,props:i,accessCache:l,type:c,appContext:s}=e;if("production"!==process.env.NODE_ENV&&"__isVue"===t)return!0;let r;if("$"!==t[0]){const c=l[t];if(void 0!==c)switch(c){case 1:return o[t];case 2:return a[t];case 4:return n[t];case 3:return i[t]}else{if(hn(o,t))return l[t]=1,o[t];if(a!==w&&G(a,t))return l[t]=2,a[t];if((r=e.propsOptions[0])&&G(r,t))return l[t]=3,i[t];if(n!==w&&G(n,t))return l[t]=4,n[t];__VUE_OPTIONS_API__&&!Fn||(l[t]=0)}}const u=mn[t];let d,f;return u?("$attrs"===t?(Ce(e,"get",t),process.env.NODE_ENV):"production"!==process.env.NODE_ENV&&"$slots"===t&&Ce(e,"get",t),u(e)):(d=c.__cssModules)&&(d=d[t])?d:n!==w&&G(n,t)?(l[t]=4,n[t]):(f=s.config.globalProperties,G(f,t)?f[t]:void("production"===process.env.NODE_ENV||!sn||z(t)&&0===t.indexOf("__v")||(a!==w&&(e=>"_"===e||"$"===e)(t[0])&&G(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===sn&&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 hn(a,t)?(a[t]=n,!0):"production"!==process.env.NODE_ENV&&a.__isScriptSetup&&G(a,t)?(Ut(`Cannot mutate <script setup> binding "${t}" from Options API.`),!1):o!==w&&G(o,t)?(o[t]=n,!0):G(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!==w&&G(e,l)||hn(t,l)||(c=i[0])&&G(c,l)||G(o,l)||G(mn,l)||G(a.config.globalProperties,l)},defineProperty(e,t,n){return null!=n.get?e._.accessCache[t]=0:G(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Sn(e){return V(e)?e.reduce(((e,t)=>(e[t]=null,e)),{}):e}"production"!==process.env.NODE_ENV&&(vn.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 Fn=!0;function En(e,t,n,o=!1){const{mixins:a,extends:i}=t;i&&En(e,i,n,!0),a&&a.forEach((t=>En(e,t,n,!0)));for(const a in t)if(o&&"expose"===a)"production"!==process.env.NODE_ENV&&Ut('"expose" option is ignored when declared in mixins or extends. It should only be declared in the base component itself.');else{const o=bn[a]||n&&n[a];e[a]=o?o(e[a],t[a]):t[a]}return e}const bn={data:yn,props:Nn,emits:Nn,methods:Pn,computed:Pn,beforeCreate:Rn,created:Rn,beforeMount:Rn,mounted:Rn,beforeUpdate:Rn,updated:Rn,beforeDestroy:Rn,beforeUnmount:Rn,destroyed:Rn,unmounted:Rn,activated:Rn,deactivated:Rn,errorCaptured:Rn,serverPrefetch:Rn,components:Pn,directives:Pn,watch:function(e,t){if(!e)return t;if(!t)return e;const n=$(Object.create(null),e);for(const o in t)n[o]=Rn(e[o],t[o]);return n},provide:yn,inject:function(e,t){return Pn(An(e),An(t))}};function yn(e,t){return t?e?function(){return $(W(e)?e.call(this,this):e,W(t)?t.call(this,this):t)}:t:e}function An(e){if(V(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Rn(e,t){return e?[...new Set([].concat(e,t))]:t}function Pn(e,t){return e?$(Object.create(null),e,t):t}function Nn(e,t){return e?V(e)&&V(t)?[...new Set([...e,...t])]:$(Object.create(null),Sn(e),Sn(null!=t?t:{})):t}let Ln=null;const Un={},Cn=function(e,t){t&&t.pendingBranch?V(e)?t.effects.push(...e):t.effects.push(e):Xt(e)},xn=Symbol.for("v-fgt"),Dn=Symbol.for("v-txt"),On=Symbol.for("v-cmt");let kn=null;const wn=({key:e})=>null!=e?e:null,Bn=({ref:e,ref_key:t,ref_for:n})=>("number"==typeof e&&(e=""+e),null!=e?z(e)||Pt(e)||W(e)?{i:sn,r:e,k:t,f:!!n}:e:null);const Mn="production"!==process.env.NODE_ENV?(...e)=>$n(...e):$n;function $n(e,t=null,n=null,o=0,a=null,i=!1){if(e&&e!==un||("production"===process.env.NODE_ENV||e||Ut(`Invalid vnode type when creating vnode: ${e}.`),e=On),(l=e)&&!0===l.__v_isVNode){const o=Qn(e,t,!0);return n&&qn(o,n),!i&&kn&&(6&o.shapeFlag?kn[kn.indexOf(e)]=o:kn.push(o)),o.patchFlag|=-2,o}var l;if(Jn(e)&&(e=e.__vccOpts),t){t=function(e){return e?bt(e)||Object.getPrototypeOf(e)===Un?$({},e):e:null}(t);let{class:e,style:n}=t;e&&!z(e)&&(t.class=fe(e)),j(n)&&(bt(n)&&!V(n)&&(n=$({},n)),t.style=ce(n))}const c=z(e)?1:(e=>e.__isSuspense)(e)?128:(e=>e.__isTeleport)(e)?64:j(e)?4:W(e)?2:0;return"production"!==process.env.NODE_ENV&&4&c&&bt(e)&&Ut("Vue received a Component that was made a reactive object. This can lead to unnecessary performance overhead and should be avoided by marking the component with `markRaw` or using `shallowRef` instead of `ref`.","\nComponent that was made reactive: ",e=yt(e)),function(e,t=null,n=null,o=0,a=null,i=(e===xn?0:1),l=!1,c=!1){const s={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&wn(t),ref:t&&Bn(t),scopeId:rn,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:o,dynamicProps:a,dynamicChildren:null,appContext:null,ctx:sn};return c?(qn(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&&kn&&(s.patchFlag>0||6&i)&&32!==s.patchFlag&&kn.push(s),s}(e,t,n,o,a,c,i,!0)}function Qn(e,t,n=!1){const{props:o,ref:a,patchFlag:i,children:l}=e,c=t?function(...e){const t={};for(let n=0;n<e.length;n++){const o=e[n];for(const e in o)if("class"===e)t.class!==o.class&&(t.class=fe([t.class,o.class]));else if("style"===e)t.style=ce([t.style,o.style]);else if(M(e)){const n=t[e],a=o[e];!a||n===a||V(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&&wn(c),ref:t&&t.ref?n&&a?V(a)?a.concat(Bn(t)):[a,Bn(t)]:Bn(t):a,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:"production"!==process.env.NODE_ENV&&-1===i&&V(l)?l.map(Gn):l,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==xn?-1===i?16:16|i:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Qn(e.ssContent),ssFallback:e.ssFallback&&Qn(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function Gn(e){const t=Qn(e);return V(e.children)&&(t.children=e.children.map(Gn)),t}function Vn(e=" ",t=0){return Mn(Dn,null,e,t)}function qn(e,t){let n=0;const{shapeFlag:o}=e;if(null==t)t=null;else if(V(t))n=16;else if("object"==typeof t){if(65&o){const n=t.default;return void(n&&(n._c&&(n._d=!1),qn(e,n()),n._c&&(n._d=!0)))}{n=32;const o=t._;o?3===o&&sn&&(1===sn.slots._?t._=1:(t._=2,e.patchFlag|=1024)):t._ctx=sn}}else W(t)?(t={default:t,_ctx:sn},n=32):(t=String(t),64&o?(n=16,t=[Vn(t)]):n=8);e.children=t,e.shapeFlag|=n}let Yn,Wn=null;{const e=le(),t=(t,n)=>{let o;return(o=e[t])||(o=e[t]=[]),o.push(n),e=>{o.length>1?o.forEach((t=>t(e))):o[0](e)}};Yn=t("__VUE_INSTANCE_SETTERS__",(e=>Wn=e)),t("__VUE_SSR_SETTERS__",(e=>Hn=e))}const zn=e=>{const t=Wn;return Yn(e),e.scope.on(),()=>{e.scope.off(),Yn(t)}};let Hn=!1;process.env.NODE_ENV;const jn=/(?:^|[-_])(\w)/g,Kn=e=>e.replace(jn,(e=>e.toUpperCase())).replace(/[-_]/g,"");function Xn(e,t=!0){return W(e)?e.displayName||e.name:e.name||t&&e.__name}function Zn(e,t,n=!1){let o=Xn(t);if(!o&&t.__file){const e=t.__file.match(/([^/\\]+)\.\w+$/);e&&(o=e[1])}if(!o&&e&&e.parent){const n=e=>{for(const n in e)if(e[n]===t)return n};o=n(e.components||e.parent.type.components)||n(e.appContext.components)}return o?Kn(o):n?"App":"Anonymous"}function Jn(e){return W(e)&&"__vccOpts"in e}function eo(e){return{dispatchFunctionBySid:(t,n,o)=>{e.value&&N.callUIFunction(e.value,"dispatchFunctionBySid",[t,n,o])},requestFocus:()=>{e.value&&N.callUIFunction(e.value,"requestFocus")},clearFocus:()=>{e.value&&N.callUIFunction(e.value,"clearFocus")},requestFocusDirectly:()=>{e.value&&N.callUIFunction(e.value,"requestFocusDirectly")},setVisibility:t=>{e.value&&N.callUIFunction(e.value,"changeVisibility",[t])}}}process.env.NODE_ENV,process.env.NODE_ENV,process.env.NODE_ENV;var to=Tn({name:"qt-view",emits:["clearFocus"],setup(t,n){const o=e();return{viewRef:o,...eo(o)}}});const no={clipChildren:!1,ref:"viewRef"};to.render=function(e,a,i,l,c,s){return t(),n("div",no,[o(e.$slots,"default")],512)},to.__file="src/view/index.vue";var oo=Tn({name:"qt-text",setup(t,n){const o=e();return{viewRef:o,...eo(o)}}});oo.render=function(e,n,o,l,c,s){const r=a("text-view");return t(),i(r,{ref:"viewRef"},null,512)},oo.__file="src/text/index.vue";var ao=Tn({name:"qt-image",setup(t,n){const o=e();return{viewRef:o,...eo(o)}}});const io={src:"",alt:"",clipChildren:!1,ref:"viewRef"};ao.render=function(e,o,a,i,l,c){return t(),n("img",io,null,512)},ao.__file="src/image/index.vue";var lo=Tn({name:"qt-column",setup(t,n){const o=e();return{viewRef:o,...eo(o)}}});const co={class:"qt-ui-row-css",clipChildren:!1,ref:"viewRef"};lo.render=function(e,a,i,l,c,s){return t(),n("div",co,[o(e.$slots,"default")],512)},lo.__scopeId="data-v-734c04b2",lo.__file="src/column/index.vue";var so=Tn({name:"qt-row",setup(t,n){const o=e();return{viewRef:o,...eo(o)}}});const ro={class:"qt-ui-row-css",clipChildren:!1,ref:"viewRef"};so.render=function(e,a,i,l,c,s){return t(),n("div",ro,[o(e.$slots,"default")],512)},so.__scopeId="data-v-9c454b58",so.__file="src/row/index.vue";var uo=l({name:"qt-button",props:{size:{type:String,default:"default"},itemType:{type:Number,default:2e4},focusBorder:{type:Boolean,default:!1},focusScale:{type:Number,default:1.08},focusable:{type:Boolean,default:!0},enableFlexStyle:{type:Boolean,default:!1},icon:{type:String,default:null},focusIcon:{type:String,default:null},text:{type:String,default:""},gradientFocusBackground:{type:Object,default:()=>{}},gradientSelectedBackground:{type:Object,default:()=>null},gradientBackground:{type:Object,default:()=>null},disabled:Boolean,circle:Boolean,round:Boolean,square:Boolean,buttonStyle:Object,textStyle:Object,iconStyle:Object,focusIconStyle:Object,iconParentStyle:Object},emits:["focus","click"],setup(t,n){const o=e(),a=e(!1);return{buttonRef:o,focused:a,onFocus:function(e){a.value=e.isFocused,n.emit("focus",e.isFocused)},onClick:function(e){n.emit("click")},...eo(o)}}});const fo=["focusable","enableFocusBorder","focusScale"],go=["gradientBackground"],po=["gradientBackground"],_o=["gradientBackground"],To=["src"],Io=["src"];uo.render=function(e,l,d,f,g,p){const _=a("text-view");return t(),n("div",{ref:"buttonRef",clipChildren:!1,focusable:e.focusable,enableFocusBorder:e.focusBorder,focusScale:e.focusScale,onClick:l[0]||(l[0]=(...t)=>e.onClick&&e.onClick(...t)),name:"textButton",eventClick:"",eventFocus:"",onFocus:l[1]||(l[1]=(...t)=>e.onFocus&&e.onFocus(...t)),style:c(e.buttonStyle),class:s(["quick-button--default",e.size?"quick-button--"+e.size:"",{"is-disabled-button":e.disabled,"is-circle":e.circle,"is-round":e.round,"is-square":e.square}])},[r(" gradient "),e.gradientFocusBackground?(t(),n("div",{key:0,class:"button-gradient-background-css",gradientBackground:e.gradientFocusBackground,focusable:!1,showOnState:"focused"},null,8,go)):r("v-if",!0),e.gradientSelectedBackground?(t(),n("div",{key:1,class:"button-gradient-background-css",gradientBackground:e.gradientSelectedBackground,focusable:!1,showOnState:"selected"},null,8,po)):r("v-if",!0),e.gradientBackground?(t(),n("div",{key:2,class:"button-gradient-background-css",gradientBackground:e.gradientBackground,focusable:!1,showOnState:"normal"},null,8,_o)):r("v-if",!0),r(" -----------------------------icon--------------------------------- "),!e.icon&&!e.focusIcon||e.$slots.default?r("v-if",!0):(t(),n("div",{key:3,duplicateParentState:!0,style:c(e.iconParentStyle),flexStyle:"${iconParentStyle}",class:s(["quick-button-icon-parent",e.size?"quick-button-icon--parent"+e.size:""])},[e.icon&&!e.$slots.default?(t(),n("img",{key:0,style:c(e.iconStyle),flexStyle:"${iconStyle}",duplicateParentState:!0,class:s(["quick-button-icon",e.size?"quick-button-icon--"+e.size:"",{"is-square-icon":e.square}]),focusable:!1,src:e.enableFlexStyle?"${"+e.icon+"}":e.icon,showOnState:"normal"},null,14,To)):r("v-if",!0),e.focusIcon&&!e.$slots.default?(t(),n("img",{key:1,style:c(e.focusIconStyle?e.focusIconStyle:e.iconStyle),flexStyle:"${iconStyle}",class:s(["quick-button-icon",e.size?"quick-button-icon--"+e.size:"",{"is-square-icon":e.square}]),focusable:!1,duplicateParentState:!0,src:e.enableFlexStyle?"${"+e.focusIcon+"}":e.focusIcon,showOnState:"focused"},null,14,Io)):r("v-if",!0)],6)),r(" ------------------------------------------------------------------- "),r(" text "),e.enableFlexStyle?(t(),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},u(e.text),7)):r("v-if",!0),o(e.$slots,"default")],46,fo)},uo.__scopeId="data-v-46a594e4",uo.__file="src/button/index.vue";let mo,ho=[];class vo{fn;scheduler;active=!0;deeps=[];constructor(e,t){this.fn=e,this.scheduler=t}run(){if(!this.active)return this.fn();if(!ho.includes(this))try{return ho.push(mo=this),this.fn()}finally{ho.pop(),mo=ho[ho.length-1]}}stop(){this.active&&(!function(e){const{deeps:t}=e;for(const n of t)n.delete(e)}(this),this.active=!1)}}function So(){return void 0!==mo}const Fo=new WeakMap;function Eo(e){e&&Fo.delete(e)}function bo(e,t){if(!So()||null==e)return;let n=Fo.get(e);if(n||Fo.set(e,n=new Map),null!=t){let e=n.get(t);e||n.set(t,e=new Set),yo(e)}}function yo(e){e.has(mo)||(e.add(mo),mo.deeps.push(e))}function Ao(e,t,n,o,a){let i=Fo.get(e);if(!i)return;let l=[];if(null!=t){let e=i.get(t);e||(e=i.get("__ls_watchAll")),e&&l.push(e)}let c=[];for(const e of l)c.push(...e);Ro(c,e,t,n,o,a)}function Ro(e,t,n,o,a,i){for(const l of e)if(l!==mo){if(l.scheduler)return l.scheduler(t,n,o,a,i);l.run(t,n,o,a,i)}}class Po{start;end;deleteCount;datas=new Map;names=new Map;dataArr;updateCount=0;rootUpdateCount=0;deth=-1;constructor(e,t,n=-1){this.start=e,this.end=t,this.deleteCount=n}resetData(){this.start=-1,this.end=-1,this.deleteCount=1,this.datas.size&&(this.datas=new Map)}}const No={set:"set",qtSet:"__qt_set",push:"push",splice:"splice",pop:"pop",concat:"concat",unknownSet:"__qt_unknownSet",currentType:"__qt_currentType",expectCangeNum:"__qt_expectCangeNum",isInit:"__qt_is_init",shift:"shift",unshift:"unshift",newDatas:"__qt_new_datas"},Lo=(e=1,t)=>{const n=new Map;return t.forEach(((t,o)=>{let a=o;Array.isArray(o)&&e>0&&(a=o.slice(0,e).join()),n.set(a,t)})),n},Uo=e=>{const t=new Map;let n=-1;return e.datas.forEach(((o,a)=>{const i=Array.isArray(a)?Number(a[0]):Number(a);console.log(i,"--_start");let l=t.get(n);if(l&&i>=l.start&&i<=l.end+1)l.updateCount++,i!=l.end&&l.rootUpdateCount++,l.end=i,l.datas.set(a,o);else{const c=1;l=new Po(i,i),l.updateCount=c,l.rootUpdateCount=c,l.datas.set(a,o),l.deth=e.deth,n=i,t.set(n,l)}e.names.get(a)&&l.names.set(a,e.names.get(a))})),t};const Co=new class{targetFlags=new WeakMap;targetMaps=new WeakMap;getFlag(e){let t=this.targetFlags.get(e);return t||this.targetFlags.set(e,t=new Map),t}getTargetType(e,t){return this.getType(e)?.get(t)}getType(e){return this.targetMaps.get(e)}setType(e,t,n){let o=this.targetMaps.get(e);o||this.targetMaps.set(e,o=new Map),o.set(t,n),this.getFlag(e).set(No.currentType,t)}deleteType(e,t){if("object"!=typeof e)return;let n=this.targetMaps.get(e);this.targetFlags.delete(e),n&&(t?n.delete(t):this.targetMaps.delete(e))}changeTypeData(e,t,n){if(this.getFlag(e).get(No.currentType)===No.pop)return!1;const o=this.getType(e);let a=!1;o&&!isNaN(Number(t))&&o.forEach(((e,o)=>{Number(t)>=e.start&&Number(t)<=e.end&&(e.datas.set(t,n),a=!0)}));let i=this.getFlag(e).get(No.expectCangeNum);return i&&i>0?(this.getFlag(e).set(No.expectCangeNum,--i),!0):a}changeOfsetType(e,t,n,o,a=1){let i=this.getTargetType(e,No.qtSet);if(i){const e=Array.isArray(t)?Number(t[0]):Number(t);i.datas.has(t)||(e!==i.end&&i.rootUpdateCount++,i.updateCount+=1),i.datas.set(t,n),e>=i.end?i.end=e:e<i.start&&(i.start=e),a!=i.deth&&(i.deth=-1)}else{const o=Array.isArray(t)?Number(t[0]):Number(t);i=new Po(o,o),i.datas.set(t,n),i.updateCount=1,i.rootUpdateCount=1,i.deth=a,this.setType(e,No.qtSet,i)}if(o){const e=i.names.get(t);e?e.add(o):i.names.set(t,new Set([o]))}}recordNewData(e,t){const n=this.getFlag(e);let o=n.get(No.newDatas);o||n.set(No.newDatas,o=new WeakSet),t.forEach((e=>{o.add(e)}))}checkIsNewData(e,t){let n=this.getFlag(e).get(No.newDatas);return!!n&&n.has(t)}};class xo extends Array{shift(){if(this.__v_raw.length){const e=0,t=0,n=1,o=Co.getTargetType(this.__v_raw,No.shift);if(o)o.deleteCount+=n;else{const o=new Po(e,t,n);Co.setType(this.__v_raw,No.shift,o),Co.getFlag(this.__v_raw).set(No.expectCangeNum,this.__v_raw.length)}}return super.shift()}unshift(...e){if(e.length){let t=0,n=e.length-1,o=Co.getTargetType(this.__v_raw,No.unshift);o||(o=new Po(t,n),Co.setType(this.__v_raw,No.unshift,o),Co.getFlag(this.__v_raw).set(No.expectCangeNum,this.__v_raw.length+e.length))}return Co.recordNewData(this.__v_raw,e),super.unshift(...e)}push(...e){if(e.length){const t=this.__v_raw.length,n=t+e.length-1,o=Co.getTargetType(this.__v_raw,No.push);if(o)o.end+=e.length;else{const e=new Po(t,n);Co.setType(this.__v_raw,No.push,e)}}return super.push(...e)}splice(e,t,...n){e<0&&(e=0),void 0===t&&this.__v_raw.length&&(t=this.__v_raw.length-e),(e>=this.__v_raw.length||t<0)&&(t=0);let o=e;o=n&&n.length?e+n.length-1:-1;let a=Co.getTargetType(this.__v_raw,No.splice);return a||(a=new Po(e,o,t),Co.setType(this.__v_raw,No.splice,a),Co.getFlag(this.__v_raw).set(No.expectCangeNum,this.__v_raw.length+n.length-t-e)),super.splice(e,t,...n)}pop(){if(this.__v_raw.length){const e=this.__v_raw.length-1,t=e,n=1,o=Co.getTargetType(this.__v_raw,No.pop);if(o)o.start-=1,o.deleteCount+=n;else{const o=new Po(e,t,n);Co.setType(this.__v_raw,No.pop,o)}}return super.pop()}concat(e){if(e.length){const t=this.__v_raw.length,n=t+e.length-1;let o=Co.getTargetType(this.__v_raw,No.concat);o?o.end+=e.length:(o=new Po(t,n),o.dataArr=e,Co.setType(this.__v_raw,No.concat,o))}return super.concat(...e)}}const Do=(e,t)=>{return o=t,(null===(n=e)||null===o||void 0===n||void 0===o?n===o:n&&o?n.constructor.name===o.constructor.name:typeof n==typeof o)&&("object"==typeof e?((e,t)=>e.__qt_key_&&t.__qt_key_?e.__qt_key_===t.__qt_key_:JSON.stringify(e)===JSON.stringify(t))(e,t):e==t);var n,o},Oo=(e,t)=>{let n=!1;return e.__qt_key_&&t.__qt_key_&&(n=e.__qt_key_===t.__qt_key_),n&&e.__qt_change_num_&&t.__qt_change_num_&&(n=t.__qt_change_num_>e.__qt_change_num_),n},ko=(e,t,n)=>{const o=new Po(-1,-1),a=new Po(-1,-1),i=new Po(-1,-1);for(let o=0;o<e.length;o++){const i=e[o];t.find((e=>Do(i,e)))?a.deleteCount>0&&(n.delete(a.start,a.deleteCount),a.resetData()):-1===a.start?(a.start=o,a.deleteCount=1):a.deleteCount++}a.deleteCount>0&&n.delete(a.start,a.deleteCount);let l=-1;for(let a=0;a<t.length;a++){const c=t[a],s=e.find(((e,t)=>!!(Do(e,c)&&t>l)&&(l=t,!0)));if(s){i.datas.size&&(n.insert(i.start,Array.from(i.datas.values())),i.resetData());Oo(s,c)&&(-1===o.start?(o.start=a,o.updateCount=1,o.rootUpdateCount=1,o.end=o.start+o.updateCount):a>o.start&&a<=o.end?(o.updateCount++,o.end++,o.rootUpdateCount++):(n.update(o.start,o,e),o.resetData(),o.start=a,o.updateCount=1,o.rootUpdateCount=1,o.end=o.start+o.updateCount),o.datas.set(a,c))}else-1===i.start&&(i.start=a),i.datas.set(a,c),o.datas.size&&(n.update(o.start,o,e),o.resetData())}o.datas.size&&n.update(o.start,o,e),i.datas.size&&n.add(Array.from(i.datas.values()))},wo=e=>e+(Date.now()+1e6*Math.random()),Bo=(e,t=!0)=>{if(j(e)){const n=V(e)?[]:{};for(const o in e)if(Object.prototype.hasOwnProperty.call(e,o)){const a=e[o];j(a)?(V(a)||(a.__qt_key_||(a.__qt_key_=wo(o)),a.__qt_change_num_||(a.__qt_change_num_=1)),n[o]=Bo(a,t)):n[o]=a}return n}return e};function Mo(e,t){if(!e||!j(e))return;let n=e.__v_raw,o=Bo(n),a=!1;const i=e=>{a||(a=!0,d((()=>{a=!1,e()})))},l=new vo((()=>{bo(n,"__ls_watchAll")}),((e,a,c,s,r)=>{const u="__ls_reset_ref_value"===s?c:e,d=Co.getFlag(e).get(No.currentType);"__ls_reset_ref_value"===s&&t.resetValue?.(c),"__ls_reset_ref_value"!==s||d===No.concat&&o&&o.length?o&&o.length||!u?d!==No.splice||e&&e.length?i((()=>{const a="__ls_reset_ref_value"===s?c:e,i=Co.getType(e);i&&1===i.size?i.forEach(((e,n)=>{if(n!==No.push&&n!==No.concat||t.add(e.dataArr||Array.from(e.datas.values())),n===No.pop&&t.delete(e.start,e.deleteCount),n===No.qtSet)if(e.end-e.start+1==e.rootUpdateCount)t.update(e.start,e,o);else{Uo(e).forEach(((e,n)=>{t.update(e.start,e,o)}))}n===No.splice&&(e.deleteCount&&t.delete(e.start,e.deleteCount),e.datas.size&&t.insert(e.start,Array.from(e.datas.values()))),n===No.unshift&&t.insert(e.start,Array.from(e.datas.values())),n===No.shift&&t.delete(e.start,e.deleteCount)})):ko(o,a,t),Co.deleteType(o),Co.deleteType(e),Co.deleteType(n),Co.deleteType(a),o=Bo(n)})):(t.clear(),n=e,Co.deleteType(o),Co.deleteType(e),Co.deleteType(n),Co.deleteType(u),o=Bo(n)):i((()=>{t.init(Bo(u,!1)),n=u,Co.deleteType(o),Co.deleteType(e),Co.deleteType(n),Co.deleteType(u),o=Bo(n)})):(c&&c.length?t.init(Bo(c,!1)):t.clear(),n=c,Co.deleteType(o),Co.deleteType(e),Co.deleteType(n),Co.deleteType(u),o=Bo(n)),"__ls_reset_ref_value"===s&&(Eo(n),n=c,l.run())}));return l.run(),{stop(){Eo(n),l.stop()}}}const $o=new WeakMap,Qo=(e,t,n)=>{if(!j(e))return;if(n>=t.length-1)return e;n<0&&(n=0);const o=t.length-1-n;let a=e;for(let e=1;e<=o;e++){if(a=a[t[e]],!j(a))break}return a},Go=(e,t=[],n=1)=>({get(o,a,i){if("__qt_root"===a)return e;if("__qt_path"===a)return t;if("__qt_arr_deth"===a)return n;if("__v_isReactive"===a)return!0;if("__ls_watchAll"===a||"__v_raw"===a)return o;bo(o,a);const l=Reflect.get(o,a,i);if(j(l)){return Vo(l,e,[...t,a],V(l)?n+1:n)}return l},set(e,t,n,o){let a=e[t];f(n)&&(n=g(n)),j(n)&&!V(n)&&"string"==typeof t&&(n.__qt_key_||(j(a)?Co.checkIsNewData(e,n)?n.__qt_key_=wo(t):n.__qt_key_=a.__qt_key_||wo(t):n.__qt_key_=wo(t)),n.__qt_change_num_||(j(a)?n.__qt_change_num_=a.__qt_change_num_||1:n.__qt_change_num_=1));const i=Reflect.set(e,t,n,o);try{if(((e,t)=>"string"==typeof t?!t.startsWith("__qt_"):e.hasOwnProperty(t))(e,t)&&a!=n){j(n)&&n.__qt_change_num_&&n.__qt_change_num_++;const i=o.__qt_root,l=o.__qt_path;if(l&&l.length&&!f(n)){const n=l[0],c=i[n];j(c)&&c.__qt_change_num_&&c.__qt_change_num_++;const s=Array.isArray(e)&&"length"===t?"":t;Co.changeOfsetType(i,l,c,s,o.__qt_arr_deth),Ao(i,n,c,No.set,a)}else if(Array.isArray(e)&&!isNaN(Number(t))){Co.changeTypeData(e,t,n)||Co.changeOfsetType(e,t,n),Ao(e,t,n,No.set,a)}else Ao(e,t,n,No.set,a)}}catch(e){}return i}});function Vo(e,t,n,o=1){return j(e)?e.__v_isReactive?e:(Array.isArray(e)&&(e.__proto__=new xo),t||(t=e),new Proxy(e,Go(t,n,o))):e}function qo(e,t,n){return j(e)?function(e,t,n){const o=$o.get(e);if(o)return o;const a=Vo(e,t,n);return $o.set(e,a),a}(e,t,n):e}class Yo{dep=new Set;__v_isRef=!0;_value;_rawValue;constructor(e=[]){this._rawValue=Bo(e),this._value=qo(this._rawValue)}get value(){return So()&&yo(this.dep||(this.dep=new Set)),this._value}set value(e){(e=Bo(e))!==this._rawValue&&(this._value=qo(e),Ao(this._rawValue,"__ls_watchAll",e,"__ls_reset_ref_value",this._rawValue),Ro(this.dep,this._rawValue,void 0,e,"",this._rawValue),this._rawValue=e)}}function Wo(e){return function(e){return new Yo(e)}(e)}var zo=l({name:"qt-grid-view",props:{loadMore:{type:Function,default:function(){return[1,1]}},openPage:{type:Boolean,default:!1},spanCount:{type:Number,default:0},pageSize:{type:Number,default:0},preloadNo:{type:Number,default:0},defaultFocus:{type:Number,default:-1},areaWidth:{type:Number,default:1200},blockFocusDirections:{type:Array,default:()=>[]},loadingDecoration:{type:Object,default:()=>({top:15,left:30})},listData:{type:Array,required:!1}},emits:["item-click","scroll","item-unbind","scroll-state-changed","item-bind","item-focused"],setup(t,n){const o=e();let a=e(2.5),i=Wo(),l=0,c=!1,s=e(!1),r=[],u=null,d=!1,f=!0;const m=()=>t.listData||i.value,h=e=>{t.defaultFocus>-1&&e.length&&t.defaultFocus<e.length&&f&&(clearTimeout(u),u=setTimeout((()=>{D(t.defaultFocus)}),300+10*e.length))};p((()=>{m().length&&o.value&&!d&&!r.length&&(r=m(),o.value.setListDataWithParams(g(m()),!0,!0),h(r))})),_((()=>{i.value.splice(0)}));let v=0;const S=[{_id:"",type:1002,decoration:t.loadingDecoration}],F=()=>{t.openPage&&0===v&&r.length>=t.pageSize&&!c&&(o.value.addListData(S),v=r.length)},E=(e=!1)=>{v>0&&(e?o.value.updateItem(v,{text:"",type:1003,decoration:{}}):(o.value.deleteItem(v,1),v=0))};let b=null;const y=(e=!1)=>{c=!0,b=setTimeout((()=>{c=!0,E(e)}),20)},A=()=>{c=!1,l=0},R=()=>{!c&&t.loadMore&&(t.listData?r.length>t.pageSize&&(l++,t.loadMore(l)):(l++,t.loadMore(l)))},P=Mo(m(),{resetValue(e){r=e,d=!0},init(e){o.value&&(o.value.setListDataWithParams(e.concat(t.openPage&&r.length>=t.pageSize&&!c?(v=r.length,S):[]),!0,!0),A(),t.listData&&(l=1),h(e))},add(e){o.value.addListData(e),E(),F()},update(e,t){Lo(1,t.datas).forEach(((e,t)=>{const n=Array.isArray(t)?Number(t[0]):Number(t);o.value.updateItem(n,e)}))},insert(e,t){o.value.addItem(e,t),E(),F()},delete(e,t){o.value.deleteItem(e,t),v>0&&(v=r.length)},clear(){o.value.setListDataWithParams([],!0,!0),v=0}}),{requestFocus:N,requestFocusDirectly:L,setVisibility:U}=eo(o);T((()=>{t.openPage&&!t.listData&&(A(),R())}));const C=e=>{o.value.scrollToPosition(e)},x=e=>{o.value.requestFocus(e)},D=e=>{C(e),x(e)},O=(e,t)=>{o.value.setSelectPosition(e,t)};I((()=>{P?.stop(),A(),s.value=!1,c=!1,clearTimeout(u),clearTimeout(b)}));let k=-1;return{tv_list:o,init:(e,n)=>t.listData?[]:e?(f=!n,i.value=e,i.value):i.value,onItemClick:e=>{n.emit("item-click",e)},onItemBind:e=>{if(t.openPage&&!c&&r.length>=t.pageSize){let n=t.preloadNo;(n<0||n>=r.length)&&(n=0),e.position==r.length-1-n&&R()}n.emit("item-bind",e)},onItemFocused:e=>{n.emit("item-focused",e)},restartPage:()=>{if(!t.listData){clearTimeout(k);let e=0;c||(e=420,y()),k=setTimeout((()=>{s.value=!0,l=1,c=!1,t.loadMore(l)}),e)}},isRestartPage:s,onItemUnbind:e=>{n.emit("item-unbind",e)},onScroll:e=>{n.emit("scroll",e)},onScrollStateChanged:e=>{n.emit("scroll-state-changed",e)},stopPage:y,scrollToTop:()=>{o.value.scrollToTop()},clearFocus:()=>{o.value.clearFocus()},blockRootFocus:()=>{o.value.blockRootFocus()},unBlockRootFocus:()=>{o.value.unBlockRootFocus()},setDisplay:e=>{o.value.setDisplay(e)},scrollToPosition:C,scrollToIndex:(e,t,n)=>{o.value.scrollToPositionOffset(0,e,t,n)},setItemFocused:x,scrollToFocused:D,setItemSelected:O,scrollToSelected:(e,t)=>{C(e),O(e,t)},setInitPosition:e=>{o.value.setInitPosition(e)},setListData:e=>{o.value.setListData(e)},clearPostTask:()=>{o.value.clearPostTask()},destroy:()=>{o.value.destroy()},requestFocus:N,requestFocusDirectly:L,setVisibility:U,apkVersion:a,updateItemProps:(e,t,n)=>{o.value.updateItemProps(e,t,n)},insertItem:(e,t)=>{o.value.addItem(e,t)}}}});zo.render=function(e,n,l,c,s,r){const u=a("tv-list");return t(),i(u,{class:"tv_list",ref:"tv_list",name:"tv_list",spanCount:e.spanCount,onItemBind:e.onItemBind,onItemClick:e.onItemClick,onItemFocused:e.onItemFocused,onItemUnbind:e.onItemUnbind,onScroll:e.onScroll,onScrollStateChanged:e.onScrollStateChanged,onSetListData:e.setListData,blockFocusDirections:e.blockFocusDirections},{default:m((()=>[o(e.$slots,"header"),o(e.$slots,"default"),o(e.$slots,"footer"),o(e.$slots,"loading")])),_:3},8,["spanCount","onItemBind","onItemClick","onItemFocused","onItemUnbind","onScroll","onScrollStateChanged","onSetListData","blockFocusDirections"])},zo.__file="src/grid-view/index.vue";var Ho=Tn({name:"qt-poster-focus-title",props:{fontSize:{type:Number,default:20},borderRadius:{type:Number,default:8},bgColor:{type:Object,default:()=>({colors:["#ffffff","#ffffff"],cornerRadii4:[0,0,8,8]})},titleColor:{type:String,default:"#000000"},subTitleColor:{type:String,default:"rgba(0,0,0,.4)"}},setup(e,t){}});const jo={class:"absoluteFocusTitleRoot",flexStyle:"${titleFocusStyle}",autoHeight:"",focusable:!1},Ko=["gradientBackground"];Ho.render=function(e,o,i,l,s,u){const d=a("text-view");return t(),n("div",jo,[r(" 浮动标题"),h(d,{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.text}",showIf:"${floatTitle.enable}",gravity:"left",postDelay:250}),v("div",{class:"absoluteFocusMainBgRoot",style:c({borderBottomLeftRadius:`${e.borderRadius}px`,borderBottomRightRadius:`${e.borderRadius}px`}),duplicateParentState:!0,focusable:!1,gradientBackground:e.bgColor,showIf:"${focusTitle.enable}"},[r(" 主标题 "),h(d,{duplicateParentState:!0,focusable:!1,fontSize:30,ellipsizeMode:2,autoHeight:"",maxLines:2,gravity:"left",paddingRect:[16,8,12,8],style:c({backgroundColor:"transparent",color:`${e.titleColor}`}),flexStyle:"${focusTitle.style}",text:"${focusTitle.text}"},null,8,["style"]),r(" 副标题 "),h(d,{duplicateParentState:!0,focusable:!1,fontSize:24,ellipsizeMode:2,lines:1,autoHeight:"",gravity:"left|top",paddingRect:[16,0,0,16],style:c({color:`${e.subTitleColor}`,backgroundColor:"transparent"}),flexStyle:"${subTitle.style}",text:"${subTitle.text}",visibility:"${subTitle}"},null,8,["style"])],12,Ko)])},Ho.__scopeId="data-v-703673b8",Ho.__file="src/poster/qt-poster-focus-title.vue";var Xo=Tn({name:"qt-poster-corner-title",props:{fontSize:{type:Number,default:20},mode:{type:String,default:"right"}},setup(e,t){}});const Zo=(e=>(S("data-v-4b767ea2"),e=e(),F(),e))((()=>v("img",{focusable:!1,class:"poster_corner_img",flexStyle:"${corner.styleImg}",src:"${corner.src}",showIf:"${corner.enableImg}"},null,-1)));Xo.render=function(e,o,i,l,c,r){const u=a("text-view");return t(),n("div",{class:s(["cornerRoot",["cornerRoot_"+e.mode]]),focusable:!1},[h(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==true}"},null,8,["textSize"]),Zo],2)},Xo.__scopeId="data-v-4b767ea2",Xo.__file="src/poster/qt-poster-corner-title.vue";var Jo=Tn({name:"qt-poster",components:{"qt-poster-corner-title":Xo,"qt-poster-focus-title":Ho},props:{requestFirstFocus:{type:Boolean,default:!1},loadDelay:{type:Number,default:500},type:{type:Number,default:10001},templateKeyMap:{type:Object,default:()=>null},borderRadius:{type:Number,default:8},rippleColor:{type:String,default:"#FF4E46"},focusBgColor:{type:Object,required:!1},focusTitleColor:{type:String,required:!1},focusSubTitleColor:{type:String,required:!1},floatTitleBgColor:{type:Array,default:()=>["#e5000000","#00000000"]}},setup(t,n){const o=e();return{mainTextShowOnState:["normal","selected"],viewRef:o,...eo(o)}}});const ea=["showOnState"],ta=["gradientBackground"],na={flexStyle:"${ripple.style}",class:"qt-ui-poster-ripple-view-root-css",showOnState:"focused",focusable:!1,clipChildren:!1},oa=v("img",{src:"${ripple.src}",class:"qt-ui-ripple-img-css",focusable:!1,duplicateParentState:!0,showIf:"${ripple.enable==true}",delayLoad:800},null,-1);Jo.render=function(e,n,l,s,u,d){const f=a("text-view"),g=a("qt-poster-focus-title"),p=a("ripple-view"),_=a("qt-poster-corner-title"),T=a("item-frame");return t(),i(T,{ref:"viewRef",type:e.type,layout:"${layout}",flexStyle:"${style}",focusScale:"${focus.scale}",focusable:!0,eventClick:"",eventFocus:"",name:"poster",class:"qt-ui-poster-root-css",itemShowShimmer:"${shimmer.enable}",hideShadow:"${shadow.enable}",shimmerSize:"${size}"},{default:m((()=>[r("封面"),v("img",{class:"qt-ui-poster-img-css",duplicateParentState:!0,postDelay:300,enableFade:"",focusable:!1,enableFocusBorder:"${focus.border}",flexStyle:"${image.style}",style:c({borderRadius:`${e.borderRadius}px`}),src:"${image.src}"},null,4),h(f,{class:"qt-ui-poster-score-css",duplicateParentState:!0,focusable:!1,flexStyle:"${score.style}",textSize:"${score.style.fontSize}",ellipsizeMode:2,lines:1,gravity:"center",postDelay:350,autoWidth:"",text:"${score.text}"}),r(" 焦点选中时的标题 "),h(g,{focusable:!1,"border-radius":e.borderRadius,showOnState:"focused",bgColor:e.focusBgColor,titleColor:e.focusTitleColor,subTitleColor:e.focusSubTitleColor},null,8,["border-radius","bgColor","titleColor","subTitleColor"]),v("div",{style:{"flex-direction":"column","background-color":"transparent","z-index":"999"},duplicateParentState:!0,focusable:!1,flexStyle:"${titleStyle}",showOnState:e.mainTextShowOnState},[r(" 浮动标题 "),v("div",{flexStyle:"${floatTitle.style}",class:"qt-ui-poster-title-css",gradientBackground:{colors:e.floatTitleBgColor,cornerRadii4:[0,0,e.borderRadius,e.borderRadius],orientation:4},duplicateParentState:!0,focusable:!1,showIf:"${floatTitle.enable}"},[h(f,{duplicateParentState:!0,focusable:!1,textSize:26,ellipsizeMode:2,enablePostTask:"",postDelay:200,lines:1,gravity:"left",style:{"z-index":"999",height:"50px"},flexStyle:"${floatTitle.style}",text:"${floatTitle.text}"})],8,ta),r(" 主标题"),h(f,{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,ea),v("div",na,[h(p,{class:"qt-ui-ripple-view-css",delayLoad:800,focusable:!1,duplicateParentState:!0,color:e.rippleColor,isShowRipple:"${ripple.enable}",rippleVisible:"invisible"},null,8,["color"]),oa]),h(_,{showIf:"${corner.showCornerRight==true}",focusable:!1,flexStyle:"${corner.style}"}),h(_,{showIf:"${corner.showCornerLeft==true}",focusable:!1,flexStyle:"${corner.style}",mode:"left"}),o(e.$slots,"default")])),_:3},8,["type"])},Jo.__file="src/poster/index.vue";var aa=l({name:"qt-nav-bar",props:{textKey:{type:String,default:"text"},itemGap:{type:Number,default:0},horizontal:{type:Boolean,default:!0},initSelect:{type:Number,default:0},size:{type:String,default:"medium"},navs:{type:Array,default:()=>[]},tabNavBarClass:{type:String,default:""},horizontalFadingEdgeEnabled:{type:Boolean,default:!1},verticalFadingEdgeEnabled:{type:Boolean,default:!1},fadingEdgeLength:{type:Number,default:0},tabEnable:{type:Boolean,default:!0}},setup(t,n){const o=e();let a=e("#f5f5f5"),i=E({normal:"#80ffffff",focused:"#000000",selected:"#F5F5F5"}),l=-1,c=-1;b((()=>t.navs),(e=>{e.length>0&&s(e)}));const s=e=>{e||(e=[]),e.forEach(((e,n)=>{0!==t.itemGap&&(t.horizontal?e.decoration={right:t.itemGap}:e.decoration={bottom:t.itemGap}),e.type||(e.type=2e4)})),o.value?.setListData(e),clearTimeout(c);let n=t.initSelect;n>-1&&(o.value?.scrollToPosition(n),c=setTimeout((()=>{o.value?.setItemSelected(n,!0),r(n)}),300))},r=e=>{clearTimeout(l),l=setTimeout((()=>{n.emit("tab-select",{position:e})}),300)};return{navList:o,focusColor:a,textColor:i,bgPadding:[10,10],onTabChange:e=>{!0===e.hasFocus&&(n.emit("tab-focus",e),r(e.position))},onTabClick:e=>{n.emit("tab-click",e.item)},scrollToPosition:e=>{o.value?.scrollToPosition(e)},scrollToTop:()=>{o.value?.scrollToTop()},init:e=>{s(e.data)},...eo(o)}}});const ia=["stateTextColor","sateBackgroundPadding"];var la,ca;aa.render=function(e,l,c,u,d,f){const g=a("text-view"),p=a("qt-list-view");return t(),i(p,{ref:"navList",clipChildren:!1,clipPadding:!1,horizontalFadingEdgeEnabled:!!e.horizontal&&e.horizontalFadingEdgeEnabled,verticalFadingEdgeEnabled:!e.horizontal&&e.verticalFadingEdgeEnabled,fadingEdgeLength:e.fadingEdgeLength,horizontal:!!e.horizontal||void 0,class:s(e.tabNavBarClass),onItemClick:e.onTabClick,onItemFocused:e.onTabChange},{default:m((()=>[e.tabEnable?(t(),n("div",{key:0,class:"qt-ui-nav-bar-item-css",type:2e4,autoWidth:"",focusable:!0,eventFocus:"",flexStyle:"${style}",clipChildren:!1,stateTextColor:e.textColor,sateBackgroundPadding:e.bgPadding},[h(g,{autoWidth:"",gravity:"center",lines:1,fontSize:44,class:"qt-ui-nav-bar-item-text-css",duplicateParentState:!0,text:"${text}"})],8,ia)):r("v-if",!0),o(e.$slots,"default")])),_:3},8,["horizontalFadingEdgeEnabled","verticalFadingEdgeEnabled","fadingEdgeLength","horizontal","class","onItemClick","onItemFocused"])},aa.__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",e[e.QT_WATERFALL_SECTION_TYPE_PLUGIN=1008]="QT_WATERFALL_SECTION_TYPE_PLUGIN"}(la||(la={})),function(e){e[e.QT_WATERFALL_ITEM_TYPE_POSTER=10001]="QT_WATERFALL_ITEM_TYPE_POSTER",e[e.QT_WATERFALL_ITEM_TYPE_TAB=10002]="QT_WATERFALL_ITEM_TYPE_TAB",e[e.QT_WATERFALL_ITEM_TYPE_CARD=10003]="QT_WATERFALL_ITEM_TYPE_CARD",e[e.QT_WATERFALL_ITEM_TYPE_BLANK=-1e4]="QT_WATERFALL_ITEM_TYPE_BLANK",e[e.QT_WATERFALL_ITEM_TYPE_PLUGIN=10004]="QT_WATERFALL_ITEM_TYPE_PLUGIN"}(ca||(ca={}));var sa=Tn({name:"card-item",setup(e,t){const n=L();return{onFocus:function(e){n.isLoggable(U.DEBUG)&&n.d("card-item","------onFocus---------\x3e>>>",e),t.emit("focus",e)}}}});sa.render=function(e,n,o,l,c,s){const r=a("es-card-container");return t(),i(r,{keyName:"_id",clipChildren:!1,clipPadding:!1,autoRecycle:!0,disablePlaceholder:"",layout:"${layout}",flexStyle:"${style}",cardId:"${cardId}",focusScale:"${cardPlaceHolder.focusScale}",focusable:"${cardPlaceHolder.focusable}",showPlaceHolder:"${cardPlaceHolder.enable}",placeHolderRadius:"${cardPlaceHolder.radius}",placeHolderRect:"${cardPlaceHolder.rect}",type:10003,onFocus:e.onFocus,class:"qt-ui-waterfall-card-item"},null,8,["onFocus"])},sa.__scopeId="data-v-599898aa",sa.__file="src/waterfall/item/card-item.vue";var ra=Tn({name:"qt-plugin-item",emits:["focus"],setup(t,n){const o=e();return{viewRef:o,...eo(o),onFocus:function(e){n.emit("focus",e)}}}});ra.render=function(e,n,o,l,c,s){const r=a("qt-plugin-view");return t(),i(r,{ref:"viewRef",type:10004,clipChildren:!1,clipPadding:!1,layout:"${layout}",flexStyle:"${style}",focusable:!0,pluginKey:"${pluginKey}",eventClick:"",eventFocus:"",name:"qt-plugin-item",onFocus:e.onFocus,focusScale:"1.1",enableFocusBorder:!0,class:"qt-ui-plugin-item-root-css"},null,8,["onFocus"])},ra.__file="src/waterfall/item/plugin-item.vue";var ua=Tn({name:"standard-section",emits:["focus"],components:{"card-item":sa,"qt-plugin-item":ra},props:{enablePlaceholder:{type:Boolean,default:!0},plateData:{type:String,default:""},useDiff:{type:Boolean,default:!0},cachePool:{type:Object,default:{}},sectionType:{type:Number,default:la.QT_WATERFALL_SECTION_TYPE_FLEX},standItemType:{type:Number,default:ca.QT_WATERFALL_ITEM_TYPE_POSTER},currentPageIndex:{type:Number,default:-1},itemFocusScale:{type:Number,default:1.1},flexSection:{type:Object,default:()=>({qtPosterEnable:!0,qtPluginItemEnable:!0,cardItemEnable:!0})}},setup(e,t){const n=L();return{onFocus:function(e){n.isLoggable(U.DEBUG)&&n.d("QTFlexSection","------onFocus---------\x3e>>>",e),t.emit("focus",e)}}}});const da=["type"],fa=(e=>(S("data-v-227e921e"),e=e(),F(),e))((()=>v("img",{postDelay:300,flexStyle:"${imgTitleStyle}",focusable:!1,src:"${imgTitle}"},null,-1)));ua.render=function(e,l,c,s,u,d){const f=a("text-view"),g=a("qt-poster"),p=a("qt-plugin-item"),_=a("card-item"),T=a("tv-flex");return t(),n("div",{class:"standard-section-css",blockFocusDirections:["left","right"],clipChildren:!1,clipPadding:!1,type:e.sectionType,focusable:!1,focusScrollTarget:"${isFocusScrollTarget==true}",keyName:"_id",flexStyle:"${style}",scrollOverride:"${scrollOverride}",gradientBackground:"${style.gradientBackground}",bringFocusChildToFront:!0,useAdvancedFocusSearch:!0},[h(f,{class:"standard-section-title-text-css",postDelay:300,autoWidth:"",autoHeight:"",typeface:"${titleTypeface}",lines:1,flexStyle:"${titleStyle}",focusable:!1,textSize:"${titleStyle.fontSize}",text:"${title}"}),fa,h(T,{class:"standard-section-css",name:"QUICKTVUI_WARTERFALL_LIST",blockFocusDirections:["left","right"],clipChildren:!1,clipPadding:!1,bringFocusChildToFront:!0,cachePool:e.cachePool,useDiff:e.useDiff,keyName:"_id",sid:"${listSID}",flexStyle:"${contentStyle}",layout:"${contentLayout}",enablePlaceholder:e.enablePlaceholder,focusScrollTarget:"${isFocusScrollTarget==true}",enableFirstFocusAtStart:"${enableFirstFocusAtStart}",firstFocusChild:"${firstFocusChild}",list:"${itemList}"},{default:m((()=>[r(" poster "),e.flexSection.qtPosterEnable?(t(),i(g,{key:0,"load-delay":500,type:e.standItemType},null,8,["type"])):r("v-if",!0),r(" plugin "),e.flexSection.qtPluginItemEnable?(t(),i(p,{key:1})):r("v-if",!0),r(" card "),e.flexSection.cardItemEnable?(t(),i(_,{key:2,onFocus:e.onFocus},null,8,["onFocus"])):r("v-if",!0),o(e.$slots,"default")])),_:3},8,["cachePool","useDiff","enablePlaceholder"])],8,da)},ua.__scopeId="data-v-227e921e",ua.__file="src/waterfall/section/flex-section.vue";const ga="list-section";var pa=Tn({name:"list-section",props:{enablePlaceholder:{type:Boolean,default:!0},isSwitchBgScroll:{type:Boolean,default:!1},standItemType:{type:Number,default:10001},tabItemType:{type:Number,default:10002},sectionType:{type:Number,default:la.QT_WATERFALL_SECTION_TYPE_LIST},fetchPendingData:{type:Function,default:null},arrangeType:{type:String,default:"TB"},cachePool:{type:Object,default:{}},listSection:{type:Object,default:()=>({qtPosterEnable:!0})}},setup(e,t){const n=L();return{blockDirections:["left","right"],onItemBind:function(e){n.isLoggable(U.DEBUG)&&n.d(ga,"----------onItemBind--------------\x3e>>",e)},onItemClick:function(e){n.isLoggable(U.DEBUG)&&n.d(ga,"----------onItemClick--------------\x3e>>",e)},onItemRecycled:function(e){n.isLoggable(U.DEBUG)&&n.d(ga,"----------onItemRecycled--------------\x3e>>",e)},onItemFocused:function(e){n.isLoggable(U.DEBUG)&&n.d(ga,"----------onItemFocused--------------\x3e>>",e)}}}});const _a={class:"qt-ui-section-tab-list-root",focusable:!1,flexStyle:"${style}",gradientBackground:"${style.gradientBackground}",blockFocusDirections:["right"],clipChildren:!1,useAdvancedFocusSearch:!0,bringFocusChildToFront:!0},Ta=(e=>(S("data-v-6aa2cfd4"),e=e(),F(),e))((()=>v("img",{postDelay:300,flexStyle:"${imgTitleStyle}",focusable:!1,src:"${imgTitle}"},null,-1))),Ia=["type"];pa.render=function(e,l,c,s,u,d){const f=a("text-view"),g=a("qt-poster"),p=a("tv-list"),_=a("tv-item");return t(),i(_,{keyName:"_id",type:e.sectionType,clipPadding:!1,clipChildren:!1,ref:"listSection",focusScrollTarget:"${isFocusScrollTarget==true}",class:"tab-list-section-root-css",scrollOverride:"${scrollOverride}",onItemClick:e.onItemClick,onItemBind:e.onItemBind,onItemUnbind:e.onItemRecycled,onItemFocused:e.onItemFocused},{default:m((()=>[v("div",_a,[h(f,{class:"tab-list-section-title-text-css",postDelay:300,autoWidth:"",autoHeight:"",flexStyle:"${titleStyle}",typeface:"${titleTypeface}",focusable:!1,textSize:"${titleStyle.fontSize}",text:"${title}"}),Ta,h(p,{list:"${itemList}",horizontal:"",clipChildren:!1,focusable:!1,class:"tab-list-section-list-css",name:"QUICKTVUI_WARTERFALL_LIST",resetOnDetach:!0,enableKeepFocus:"${enableKeepFocus==true}",endHintEnabled:"${enableEndHit}",useDiff:"${enableDiff}",enableFirstFocusAtStart:"${enableFirstFocusAtStart}",firstFocusChild:"${firstFocusChild}",sid:"${listSID}",cachePool:e.cachePool,onScrollEnable:!1,setSelectChildPosition:0,enablePlaceholder:e.enablePlaceholder,blockFocusDirections:e.blockDirections},{default:m((()=>[e.listSection.qtPosterEnable?(t(),i(g,{key:0,type:e.standItemType},null,8,["type"])):r("v-if",!0),e.listSection.qtPosterEnable?(t(),n("div",{key:1,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:""},[h(f,{class:"qt-ui-section-tab-list-item-text",autoWidth:"",flexStyle:"${textStyle}",gravity:"center",fontSize:36,lines:1,focusable:!1,duplicateParentState:!0,style:{height:"50px"},text:"${text}"})],8,Ia)):r("v-if",!0),o(e.$slots,"default")])),_:3},8,["cachePool","enablePlaceholder","blockFocusDirections"])])])),_:3},8,["type","onItemClick","onItemBind","onItemUnbind","onItemFocused"])},pa.__scopeId="data-v-6aa2cfd4",pa.__file="src/waterfall/section/list-section.vue";var ma=Tn({name:"loading-section"});const ha={focusable:!1,type:-1,keyName:"_id",class:"loading-section-css",gradientBackground:"${style.gradientBackground}"};ma.render=function(e,o,i,l,c,s){const r=a("qt-loading-view");return t(),n("div",ha,[h(r,{class:"loading-section-loading-css"})])},ma.__scopeId="data-v-48609f24",ma.__file="src/waterfall/section/loading-section.vue";var va=Tn({name:"end-section",setup:()=>({})});const Sa={keyName:"_id",type:-1001,focusable:!1,flexStyle:"${style}",gradientBackground:"${style.gradientBackground}",class:"qt-waterfall-end-section-css"};va.render=function(e,o,i,l,c,s){const r=a("text-view");return t(),n("div",Sa,[h(r,{focusable:!1,gravity:"center",flexStyle:"${titleStyle}",class:"qt-waterfall-end-section-text-css",typeface:"${titleTypeface}",textSize:"${titleStyle.fontSize}",text:"${title}"})])},va.__scopeId="data-v-70b82c43",va.__file="src/waterfall/section/end-section.vue";var Fa=Tn({props:{plateTitleLeftMargin:{type:Number,default:0},type:{type:Number,default:la.QT_WATERFALL_SECTION_TYPE_TITLE}},setup:(e,t)=>({})});const Ea=["type"];Fa.render=function(e,o,i,l,s,r){const u=a("text-view");return t(),n("div",{class:"section-title-css",blockFocusDirections:["left","right"],clipChildren:!1,clipPadding:!1,type:e.type,keyName:"_id",focusable:!1,bringFocusChildToFront:!0,useAdvancedFocusSearch:!0},[h(u,{class:"section-title-text-css",postDelay:300,style:c({marginLeft:e.plateTitleLeftMargin+"px"}),typeface:"${titleTypeface}",focusable:!1,textSize:"${titleStyle.fontSize}",text:"${title}"},null,8,["style"])],8,Ea)},Fa.__scopeId="data-v-20428d40",Fa.__file="src/waterfall/section/section-title.vue";var ba=Tn({name:"blank-section",setup:()=>({})});const ya={focusable:!1,type:-1e3,keyName:"_id",flexStyle:"${style}",gradientBackground:"${style.gradientBackground}",class:"qt-ui-waterfall-blank-section"};ba.render=function(e,o,a,i,l,c){return t(),n("div",ya)},ba.__scopeId="data-v-eeab4d88",ba.__file="src/waterfall/section/blank-section.vue";var Aa=Tn({name:"card-section",setup(e,t){const n=L();return{onFocus:function(e){n.isLoggable(U.DEBUG)&&n.d("card-section","------onFocus---------\x3e>>>",e),t.emit("focus",e)}}}});const Ra={type:1006,class:"qt-ui-waterfall-card-section-css",clipChildren:!1,clipPadding:!1,focusScrollTarget:"${isFocusScrollTarget==true}",keyName:"_id",flexStyle:"${style}",scrollOverride:"${scrollOverride}",gradientBackground:"${style.gradientBackground}",bringFocusChildToFront:!0,useAdvancedFocusSearch:!0};Aa.render=function(e,o,i,l,c,s){const r=a("text-view"),u=a("es-card-container");return t(),n("div",Ra,[h(r,{class:"qt-ui-waterfall-card-section-title-css",postDelay:300,flexStyle:"${titleStyle}",typeface:"${titleTypeface}",focusable:!1,textSize:"${titleStyle.fontSize}",text:"${title}"}),h(u,{cardId:"${cardId}",onFocus:e.onFocus,clipChildren:!1,clipPadding:!1,autoRecycle:!0,focusScale:"${cardPlaceHolder.focusScale}",focusable:"${cardPlaceHolder.focusable}",showPlaceHolder:"${cardPlaceHolder.enable}",placeHolderRadius:"${cardPlaceHolder.radius}",placeHolderRect:"${cardPlaceHolder.rect}",flexStyle:"${cardStyle}",class:"qt-ui-waterfall-card-section"},null,8,["onFocus"])])},Aa.__scopeId="data-v-43a44788",Aa.__file="src/waterfall/section/card-section.vue";var Pa=Tn({name:"vue-section",props:{blockFocusDirections:{type:Array,default:()=>["left","right"]}},setup:(e,t)=>({onSectionBind:function(){}})});Pa.render=function(e,n,l,c,s,r){const u=a("tv-item");return t(),i(u,{class:"qt-ui-waterfall-vue-section",type:1007,keyName:"_id",blockFocusDirections:e.blockFocusDirections,clipChildren:!1,clipPadding:!1,focusScrollTarget:"${isFocusScrollTarget==true}",flexStyle:"${style}",scrollOverride:"${scrollOverride}",singleton:"",onItemBind:e.onSectionBind},{default:m((()=>[o(e.$slots,"default")])),_:3},8,["blockFocusDirections","onItemBind"])},Pa.__scopeId="data-v-f8447724",Pa.__file="src/waterfall/section/vue-section.vue";var Na=Tn({name:"qt-plugin-section",emits:["focus"],props:{pluginKey:{type:String,default:""}},setup:(e,t)=>(L(),{onFocus:function(e){t.emit("focus",e)}})});const La={type:1008,class:"qt-ui-plugin-section-root-css",clipChildren:!1,clipPadding:!1,focusable:!0,focusScale:"1.1",focusScrollTarget:"${isFocusScrollTarget==true}",keyName:"_id",flexStyle:"${style}",scrollOverride:"${scrollOverride}",gradientBackground:"${style.gradientBackground}",bringFocusChildToFront:!0,useAdvancedFocusSearch:!0};function Ua(e,t,n=!1){const o=[];if(t&&t.length>0)for(let a=0;a<t.length;a++){let i=Ca(e,t[a],n);o.push(i)}return o}function Ca(e,t,n=!1){let o=0;t.itemList.length>0&&t.type==la.QT_WATERFALL_SECTION_TYPE_FLEX?(o=function(e,t=!1){const n=e.itemList,o=e.style?.spacing??0,a=e.titleStyle,i=a?.height??0;const l=a?.marginTop??0,c=a?.marginBottom??0;const s=a?.paddingTop??0,r=a?.paddingBottom??0;let u=t?0:e.style.height??0,d=e.style.width??0;e.decoration;let f=0,g=0,p=0;for(let e=0;e<n.length;e++){const t=n[e];let a=t?.style.width??0,i=t?.style.height??0;const l=t.style.x,c=t.style.y;if(null!=l&&null!=c)t.layout=[l,c,a,i];else{const e=t.decoration,n=e?.left??0,l=e?.top??0,c=e?.right??0,s=e?.bottom??0;f+a+c>d&&(g+=p+o,p=0,f=0),t.layout||(t.layout=[0,0,a,i]),t._apiLayout||(t.layout[0]=f+n,t.layout[1]=g+l),t.layout[1]+i+s>u&&(u=t.layout[1]+i+s),i+l+s>p&&(p=i+l+s),f+=a+o+n+c}}return u+i+l+c+s+r}(t,n),t.style.height=o):t.type==la.QT_WATERFALL_SECTION_TYPE_PLUGIN&&(t.titleStyle&&t.titleStyle.width&&t.titleStyle.height?t.pluginStyle={width:t.style.width,height:(t.style?.height??0)-(t.titleStyle.height??0)-(t.titleStyle.marginBottom??0)}:t.pluginStyle=t.style);const a=t.titleStyle?.height??0,i=t.titleStyle?.marginTop??0,l=t.titleStyle?.marginBottom??0,c=t.titleStyle?.paddingTop??0,s=t.titleStyle?.paddingBottom??0;n&&0===t.itemList.length&&(t.style.height=(t.style.minHeight||0)+a+i+l+c+s);const r=a+i+l+c+s,u=t.style.height?t.style.height-r:0;return t.contentStyle||(t.contentStyle={width:t.style.width,height:u}),t.contentLayout=[0,r,t.contentStyle.width,t.contentStyle.height],t}function xa(){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=[]}}}var Da;Na.render=function(e,o,i,l,c,s){const r=a("text-view"),u=a("qt-plugin-view");return t(),n("div",La,[h(r,{class:"qt-ui-plugin-section-title-text-css",postDelay:300,autoWidth:"",autoHeight:"",typeface:"${titleTypeface}",flexStyle:"${titleStyle}",focusable:!1,textSize:"${titleStyle.fontSize}",text:"${title}"}),h(u,{class:"qt-ui-plugin-section-css",clipChildren:!1,clipPadding:!1,eventClick:"",eventFocus:"",sid:"${_id}",pluginKey:"${pluginKey}",flexStyle:"${pluginStyle}"})])},Na.__scopeId="data-v-ca3d65aa",Na.__file="src/waterfall/section/plugin-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"}(Da||(Da={}));const Oa="qt-waterfall";var ka,wa,Ba=Tn({name:"qt-waterfall",emits:["onScroll","onScrollStateChanged","onItemClick","onItemFocused","onSectionBind","onSectionAttached","onSectionDetached","onScrollYGreaterReference","onScrollYLesserReference","onPluginLoadSuccess","onPluginLoadError"],props:{enablePlaceholder:{type:Boolean,default:!0},blockFocusDirections:{type:Array,default:()=>["down"]},vueSectionBlockFocusDirections:{type:Array,default:()=>["left","right"]},customPool:{type:Object,default:()=>{}},customItemPool:{type:Object,default:()=>{}},scrollYLesserReferenceValue:{type:Number,default:0},scrollYGreaterReferenceValue:{type:Number,default:0},listData:{type:Array,required:!1},pStype:{type:Object,default:()=>({})},qtTabSectionEnable:{type:Object,default:()=>({flexSectionEnable:!0,flexSection:{qtPosterEnable:!0,qtPluginItemEnable:!0,cardItemEnable:!0},listSectionEnable:!0,listSection:{qtPosterEnable:!0},loadingSectionEnable:!0,endSectionEnable:!0,blankSectionEnable:!0,cardSectionEnable:!0,pluginSectionEnable:!0,vueSectionEnable:!0,itemStoreEnable:!1})},tvItemListName:{type:String,required:!1}},setup(t,n){const o=L();const a={...{name:"Waterfall"+Date.now(),size:{20008:10}},...t.customPool},i={...{name:"waterfallItems"+Date.now(),size:{1:30}},...t.customItemPool},l=e(Da.QT_WATERFALL_VISIBLE_TYPE_CENTER),c=e();let s;const r=xa();function u(e){s=e,e.visibleType&&(l.value=e.visibleType)}const d=Mo(t.listData,{resetValue(e){u(t.pStype)},init(e){const t=Ua(s,e,!0);c.value?.setListData(t)},add(e){const t=Ua(s,e,!0);c.value?.addListData(t)},update(e,t){const n=Lo(1,t.datas),o=Ua(s,Array.from(n.values()),!0);c.value?.updateItemList(e,n.size,o)},insert(e,t){const n=Ua(s,t,!0);c.value?.addItem(e,n)},delete(e,t){c.value?.deleteItem(e,t)},clear(){c.value?.setListData([])}});return I((()=>{d?.stop()})),{waterfallRef:c,visibleType:l,init:u,setAutoFocus:function(e,t){c.value?.setAutoFocus(e,t)},getSectionList:function(){return r.getSectionList()},setSectionList:function(e){if(!s)return;o.isLoggable(U.DEBUG)&&o.d(Oa,"-------1---setSectionList--------------\x3e>>"),r.destroy();const t=r.addSectionList(e);o.isLoggable(U.DEBUG)&&o.d(Oa,"-------2---setSectionList--------------\x3e>>",t);const n=Ua(s,e);o.isLoggable(U.DEBUG)&&o.d(Oa,"----------setSectionList-----最终数据---------\x3e>>",n),c.value?.setListData(n)},addSectionList:function(e){if(!s)return;r.addSectionList(e);const t=Ua(s,e);o.isLoggable(U.DEBUG)&&o.d(Oa,"----------addSectionList-----最终数据---------\x3e>>",t),c.value?.addListData(t)},deleteSection:function(e,t){const n=r.deleteSection(e,t);o.isLoggable(U.DEBUG)&&o.d(Oa,"----------deleteSection-----最终数据---------\x3e>>",n),c.value?.deleteItem(e,t)},updateSection:function(e,t){r.updateSection(e,t);const n=Ca(0,t);o.isLoggable(U.DEBUG)&&o.d(Oa,"----------updateSection-----最终数据---------\x3e>>sectionIndex:",e,"updateSection:",n),c.value?.updateItem(e,n)},updateSectionList:function(e,t,n){const o=[];for(let t=0;t<n.length;t++){const a=n[t];r.updateSection(e+t,a);const i=Ca(0,a);i&&o.push(i)}c.value?.updateItemList(e,t,o)},getSection:function(e){return r.getSection(e)},addItemList:function(e,t){r.addItemList(e,t);const n=r.getSection(e);if(n){const t=Ca(0,n);c.value?.updateItem(e,t)}},deleteItem:function(e,t,n){r.deleteItem(e,t,n);const o=r.getSection(e);if(o){const t=Ca(0,o);c.value?.updateItem(e,t)}},updateItem:function(e,t,n){r.updateItem(e,t,n);const o=r.getSection(e);if(o){const t=Ca(0,o);c.value?.updateItem(e,t)}},updateItemList:function(e,t,n,o){r.updateItemList(e,t,n,o);const a=r.getSection(e);if(a){const t=Ca(0,a);c.value?.updateItem(e,t)}},getItem:function(e,t){return r.getItem(e,t)},cachePool:a,itemsPool:i,onScroll:function(e){e.stopPropagation();let t=e.offsetX,o=e.offsetY;n.emit("onScroll",t,o)},onItemClick:function(e){o.isLoggable(U.DEBUG)&&o.d(Oa,"----------onItemClick--------------\x3e>>",e,"sectionIndex:"+e.parentPosition+" position:"+e.position+" "),n.emit("onItemClick",e.parentPosition,e.position,e.item,e)},onItemFocused:function(e){o.isLoggable(U.DEBUG)&&o.d(Oa,"----------onItemFocused--------------\x3e>>",e,"sectionIndex:"+e.parentPosition+" position:"+e.position+" isFocused:"+e.isFocused+" "),n.emit("onItemFocused",e.parentPosition,e.position,e.isFocused,e.item,e)},onSectionBind:function(e){if(e){o.isLoggable(U.DEBUG)&&o.d(Oa,"----------onSectionBind--------------\x3e>>",e);let t=e.pageIndex??-1;n.emit("onSectionBind",t,e.position)}},onSectionAttached:function(e){if(e){o.isLoggable(U.DEBUG)&&o.d(Oa,"----------onSectionAttached--------------\x3e>>",e);let t=e.pageIndex??0;n.emit("onSectionAttached",t,e.position)}},onSectionDetached:function(e){if(e){o.isLoggable(U.DEBUG)&&o.d(Oa,"----------onSectionDetached--------------\x3e>>",e);let t=e.pageIndex??0;n.emit("onSectionDetached",t,e.position)}},onScrollStateChanged:function(e){let t=e.offsetY,o=e.offsetX,a=e.newState,i=e.oldState;n.emit("onScrollStateChanged",o,t,a,i)},resumePostTask:function(){c.value?.pausePostTask()},pausePostTask:function(){c.value?.pausePostTask()},clearPostTask:function(){c.value?.clearPostTask()},destroy:function(){c.value?.destroy()},scrollToTop:function(){c.value?.scrollToTop()},setListData:function(e){c.value?.setListData(e)},onScrollYGreaterReference:function(){n.emit("onScrollYGreaterReference")},onScrollYLesserReference:function(){n.emit("onScrollYLesserReference")},onPluginLoadSuccess:function(e){n.emit("onPluginLoadSuccess",e)},onPluginLoadError:function(e){n.emit("onPluginLoadError",e)},...eo(c)}},components:{"flex-section":ua,"list-section":pa,"section-title":Fa,"loading-section":ma,"end-section":va,"blank-section":ba,"card-section":Aa,"vue-section":Pa,"plugin-section":Na}});Ba.render=function(e,n,l,c,s,u){const d=a("flex-section"),f=a("item-store"),g=a("list-section"),p=a("loading-section"),_=a("end-section"),T=a("blank-section"),I=a("card-section"),h=a("plugin-section"),v=a("vue-section"),S=a("tv-list");return t(),i(S,{ref:"waterfallRef",class:"qt-waterfall-root-css",keyName:"_id",list:"${"+e.tvItemListName+"}",clipChildren:!1,clipPadding:!1,listenBoundEvent:!0,negativeKeyTime:"30",postContentDelay:"500",onScroll:e.onScroll,onItemClick:e.onItemClick,onItemFocused:e.onItemFocused,onItemBind:e.onSectionBind,onItemAttached:e.onSectionAttached,onItemDetached:e.onSectionDetached,focusMemory:!1,cachePool:e.cachePool,preload:1,checkScrollOffsetOnStateChanged:!0,makeChildVisibleType:e.visibleType,scrollThresholdVertical:50,scrollEventThrottle:16,enableSelectOnFocus:!1,advancedFocusSearchSpan:"1",scrollYLesserReferenceValue:e.scrollYLesserReferenceValue,scrollYGreaterReferenceValue:e.scrollYGreaterReferenceValue,onScrollYGreaterReference:e.onScrollYGreaterReference,onScrollYLesserReference:e.onScrollYLesserReference,shakePreCheckNumber:"4",onOnPluginLoadSuccess:e.onPluginLoadSuccess,onOnPluginLoadError:e.onPluginLoadError,blockFocusDirections:e.blockFocusDirections,onScrollStateChanged:e.onScrollStateChanged},{default:m((()=>[r(" 普通版块"),e.qtTabSectionEnable.flexSectionEnable?(t(),i(d,{key:0,"cache-pool":e.itemsPool,enablePlaceholder:e.enablePlaceholder,"flex-section":e.qtTabSectionEnable.flexSection,onFocus:e.onItemFocused},{default:m((()=>[o(e.$slots,"item")])),_:3},8,["cache-pool","enablePlaceholder","flex-section","onFocus"])):r("v-if",!0),e.qtTabSectionEnable.itemStoreEnable?(t(),i(f,{key:1},{default:m((()=>[o(e.$slots,"shared-item")])),_:3})):r("v-if",!0),r("一行滚动 多级tab"),e.qtTabSectionEnable.listSectionEnable?(t(),i(g,{key:2,"cache-pool":e.itemsPool,"list-section":e.qtTabSectionEnable.listSection,enablePlaceholder:e.enablePlaceholder},{default:m((()=>[o(e.$slots,"list-item")])),_:3},8,["cache-pool","list-section","enablePlaceholder"])):r("v-if",!0),r(" loading"),e.qtTabSectionEnable.loadingSectionEnable?(t(),i(p,{key:3})):r("v-if",!0),r(" end "),e.qtTabSectionEnable.endSectionEnable?(t(),i(_,{key:4})):r("v-if",!0),r(" blank "),e.qtTabSectionEnable.blankSectionEnable?(t(),i(T,{key:5})):r("v-if",!0),r(" card "),e.qtTabSectionEnable.cardSectionEnable?(t(),i(I,{key:6,onFocus:e.onItemFocused},null,8,["onFocus"])):r("v-if",!0),r(" plugin "),e.qtTabSectionEnable.pluginSectionEnable?(t(),i(h,{key:7})):r("v-if",!0),r(" vue "),e.qtTabSectionEnable.vueSectionEnable?(t(),i(v,{key:8,"block-focus-directions":e.vueSectionBlockFocusDirections},{default:m((()=>[o(e.$slots,"vue-section")])),_:3},8,["block-focus-directions"])):r("v-if",!0),o(e.$slots,"section")])),_:3},8,["list","onScroll","onItemClick","onItemFocused","onItemBind","onItemAttached","onItemDetached","cachePool","makeChildVisibleType","scrollYLesserReferenceValue","scrollYGreaterReferenceValue","onScrollYGreaterReference","onScrollYLesserReference","onOnPluginLoadSuccess","onOnPluginLoadError","blockFocusDirections","onScrollStateChanged"])},Ba.__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"}(ka||(ka={})),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"}(wa||(wa={}));const Ma="qt-tabs";var $a=Tn({name:"qt-tabs",emits:["onTabPageLoadData","onTabPageChanged","onTabEvent","onTabPageItemClick","onTabPageItemFocused","onTabPageSectionAttached","onTabPageScroll","onTabPageScrollStateChanged","onTabMoveToTopStart","onTabMoveToTopEnd","onTabMoveToBottomStart","onTabMoveToBottomEnd","onTabChanged","onTabPageScrollToEnd","onTabPageScrollToStart","onTabClick","onPluginLoadSuccess","onPluginLoadError"],props:{enablePlaceholder:{type:Boolean,default:!0},preloadNumber:{type:Number,default:3},tabNavBarClass:{type:String,default:""},tabNavBarSid:{type:String,default:""},tabClass:{type:String,default:""},tabsDataStrategy:{type:String,default:"overTime"},tabPageClass:{type:String,default:""},horizontal:{type:Boolean,default:!0},pageTransform:{type:Boolean,default:!0},hideOnSingleTab:{type:Boolean,default:!0},floatNavBar:{type:Boolean,default:!0},useNavBarBg:{type:Boolean,default:!0},contentNextFocus:{type:Object,default:()=>({up:"tabList",left:"tabList"})},triggerTask:{type:Array,default:()=>[]},blockViewPager:{type:Array,default:()=>[]},blockViewPagerVertical:{type:Array,default:()=>[]},tabContentBlockFocusDirections:{type:Array,default:()=>["down"]},tabContentResumeDelay:{type:Number,default:300},tabContentSwitchDelay:{type:Number,default:0},slidingEnable:{type:Boolean,default:!1},slidingMode:{type:String,default:""},initTranslation:{type:Number,default:0},rightTranslation:{type:Number,default:0},leftTranslation:{type:Number,default:0},duration:{type:Number,default:1e3},interpolatorType:{type:Number,default:1},endHintEnabled:{type:Boolean,default:!0},outOfDateTime:{type:Number,default:3e5},customPool:{type:Object,default:()=>{}},customItemPool:{type:Object,default:()=>{}},navBarNextFocusName:{type:Object,default:()=>({down:"content"})},horizontalFadingEdgeEnabled:{type:Boolean,default:!1},verticalFadingEdgeEnabled:{type:Boolean,default:!1},fadingEdgeLength:{type:Number,default:0},qtTabSectionEnable:{type:Object,default:()=>({tabEnable:!0,flexSectionEnable:!0,flexSection:{qtPosterEnable:!0,qtPluginItemEnable:!0,cardItemEnable:!0},listSectionEnable:!0,listSection:{qtPosterEnable:!0},loadingSectionEnable:!0,endSectionEnable:!0,blankSectionEnable:!0,cardSectionEnable:!0,pluginSectionEnable:!0,vueSectionEnable:!0,itemStoreEnable:!1})}},setup(t,n){const o=e();e();const a=e(!0),i=e(1),l=L();C();const c=e(),s=function(){const e=new Map,t=new Map;function n(n){const o={index:n,state:ka.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){if(e.length<=0)return 0;let t=0;for(let n=0;n<e.length;n++)t+=a(e[n]);return t}function l(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 c(){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,a=0){let s=t.get(n)??[];a>0&&(s=s.slice(0,s.length-a),t.set(n,s));const r=s.length,u=l(s,0,r),d=i(o);s.push(...o);const f=e.get(n);return f&&f.state!=ka.QT_TAB_PAGE_STATE_COMPLETE&&(f.state=ka.QT_TAB_PAGE_STATE_IDLE),c(),{pageIndex:n,sectionIndex:r,sectionCount:o.length,itemIndex:u,itemCount:d}},insertSectionList:function(n,o,a){const s=t.get(n)??[],r=s.length,u=l(s,0,r),d=i(a);s.splice(o,0,...a);const f=e.get(n);return f&&f.state!=ka.QT_TAB_PAGE_STATE_COMPLETE&&(f.state=ka.QT_TAB_PAGE_STATE_IDLE),c(),{pageIndex:n,sectionIndex:r,sectionCount:a.length,itemIndex:u,itemCount:d}},deleteSection:function(e,n,o){const a=t.get(e)??[],i=l(a,0,n-1),s=l(a,n,o);return a.splice(n,o),c(),{pageIndex:e,sectionIndex:n,sectionCount:o,itemIndex:i,itemCount:s}},updateSection:function(e,n,o){const i=t.get(e)??[],s=l(i,0,n-1),r=a(o);return i.splice(n,1,o),c(),{pageIndex:e,sectionIndex:n,sectionCount:1,itemIndex:s,itemCount:r}},updateSectionList:function(e,n){return t.set(e,n),c(),{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 l=a[n],s=l.itemList.length;return l.itemList.push(...o),c(),{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),c(),{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),c(),{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),c(),{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()}}}();let r,u=[],d=-1,f=-1,g=-1;function p(e,t){const n=s.getTabPageDataState(e);n&&(n.state=t,s.setPageDataState(e,n))}function _(e){l.isLoggable(U.DEBUG)&&l.d(Ma,"----设置数据---setPageStateReset->>>>pageIndex:"+e);const t=s.getTabPageDataState(e);t&&(t.state=ka.QT_TAB_PAGE_STATE_INIT,t.sectionBindIndex=-1,s.setPageDataState(e,t));const n=s.getSectionList(e);s.deleteSection(e,0,n.length-1),function(e){if(e<0||e>u.length)return;const t=u[e];t.__pageNo=0}(e)}function T(e){l.isLoggable(U.DEBUG)&&l.d(Ma,"----设置数据---setPageStateRecycled---START--\x3e>>pageIndex:"+e);const t=s.getTabPageDataState(e);t&&(t.sectionBindIndex=0,t.state=ka.QT_TAB_PAGE_STATE_IDLE,s.setPageDataState(e,t));const n=s.getSectionList(e);s.deleteSection(e,1,n.length-1),l.isLoggable(U.DEBUG)&&l.d(Ma,"----设置数据---setPageStateRecycled---END---\x3e>pageIndex:"+e);I(e)>0&&function(e,t){l.isLoggable(U.DEBUG)&&l.d(Ma,"---------设置数据----setTabPageDataNo--START---\x3e>>> pageIndex:"+e+" pageNum:"+t);if(e<0||e>u.length)return;const n=u[e];n.__pageNo=t,l.isLoggable(U.DEBUG)&&l.d(Ma,"---------设置数据----setTabPageDataNo---END---\x3e>>> pageIndex:"+e+" pageNo:"+n.__pageNo)}(e,1)}function I(e){if(e<0||e>u.length)return 0;const t=u[e];return null==t.__pageNo&&(t.__pageNo=0),l.isLoggable(U.DEBUG)&&l.d(Ma,"---------设置数据----getTabPageDataNo---\x3e>>> pageIndex:"+e+" pageNo:"+t.__pageNo),t.__pageNo}function m(e){if(e<0||e>u.length)return;const t=u[e];if(null==t.__pageNo)return t.__pageNo=1,void(l.isLoggable(U.DEBUG)&&l.d(Ma,"---------设置数据----increaseTabPageDataNo---\x3e>>> pageIndex:"+e+" pageNo:1"));t.__pageNo=t.__pageNo+1,l.isLoggable(U.DEBUG)&&l.d(Ma,"---------设置数据----increaseTabPageDataNo---\x3e>>> pageIndex:"+e+" pageNo:"+t.__pageNo)}function h(e,o,a){let i=I(e),c=s.getTabPageDataState(e);if(!c||c.state!==ka.QT_TAB_PAGE_STATE_IDLE&&c.state!==ka.QT_TAB_PAGE_STATE_INIT)l.isLoggable(U.DEBUG)&&l.d(Ma,"------设置数据----loadPageData--状态不对--\x3e>>>",e);else{const c=s.getSectionList(e);a>=c.length-t.preloadNumber-1?(l.isLoggable(U.DEBUG)&&l.d(Ma,"---------设置数据-----加载更多数据-----\x3e>>> pageIndex:"+e+" pageNo:"+i+" sectionIndex:"+a+" sectionListLength:"+c.length),p(e,ka.QT_TAB_PAGE_STATE_BUSY),n.emit("onTabPageLoadData",e,i,o)):l.isLoggable(U.DEBUG)&&l.d(Ma,"----设置数据------loadPageData--preloadNumber错误--\x3e>>>",e)}}function v(){clearTimeout(g),g=setTimeout((()=>{const e=s.getSectionListByState(d,wa.QT_LIST_VIEW_ITEM_STATE_ATTACHED);(e?e.length:0)>0&&(e.forEach((e=>{l.isLoggable(U.DEBUG)&&l.d(Ma,"----------notifyTabContentSectionAttached------\x3e>>> pageIndex"+d+" sectionIndex:",e.sectionIndex)})),n.emit("onTabPageSectionAttached",d,e))}),100)}function S(e,t){l.isLoggable(U.DEBUG)&&l.d(Ma,"----------onWaterfallScroll----\x3e>>> offsetX:"+e+" scrollY:"+t),n.emit("onTabPageScroll",e,t)}function F(e,t,o){l.isLoggable(U.DEBUG)&&l.d(Ma,"----------onWaterfallScrollStateChanged----\x3e>>> offsetX:"+e+" scrollY:"+t+" newState:"+o),n.emit("onTabPageScrollStateChanged",e,t,o)}return{tabs:o,ifTabs:a,navBarRef:c,initTab:function(e){let t={defaultIndex:e.defaultIndex,focusIndex:e.defaultFocusIndex,data:e.itemList};u=e.itemList,s.initTab(e),o.value?.setTabsData(t)},setAutoFocus:function(e,t){o.value?.setAutoFocus(e,t)},initPage:function(e){r=e},setPageState:p,setPageData:function(e,t){l.isLoggable(U.DEBUG)&&l.d(Ma,"----------loadPageData----setPageData--\x3e>>>pageIndex:"+e),s.addSectionList(e,t.data,0);const n={data:Ua(r,t.data),disableScrollOnFirstScreen:t.disableScrollOnFirstScreen??!1,firstFocusTargetID:t.firstFocusTargetID??"",useDiff:t.useDiff,bindingPlayer:t.bindingPlayer};l.isLoggable(U.DEBUG)&&l.d(Ma,"---------设置数据-----setPageData------\x3e>>> pageIndex:"+e+" data:",n),m(e),o.value?.setPageData(e,n)},addPageData:function(e,t,n=0){s.addSectionList(e,t.data,n);const a={data:Ua(r,t.data),disableScrollOnFirstScreen:t.disableScrollOnFirstScreen??!1,firstFocusTargetID:t.firstFocusTargetID??"",useDiff:t.useDiff};try{const t=I(e);0==t?(l.isLoggable(U.DEBUG)&&l.d(Ma,"---------设置数据------setPageData---\x3e>>> pageIndex:"+e+" pageNo:"+t+" data:",a," deleteCount:"+n),o.value?.setPageData(e,a)):(l.isLoggable(U.DEBUG)&&l.d(Ma,"---------设置数据------addPageData---\x3e>>> pageIndex:"+e+" pageNo:"+t+" data:",a," deleteCount:"+n),o.value?.addPageData(e,a,n))}catch(e){}m(e)},updatePageData:function(e,t){s.updateSectionList(e,t.data);const n={data:Ua(r,t.data),disableScrollOnFirstScreen:t.disableScrollOnFirstScreen??!1,firstFocusTargetID:t.firstFocusTargetID??"",useDiff:t.useDiff};o.value?.updatePageData(e,n)},updatePageSection:function(e,t,n){s.updateSection(e,t,n);const a=Ca(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=Ca(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=Ca(0,i);o.value?.updateRootNode(e,t,n)}},blockRootFocus:function(){o.value?.blockRootFocus()},unBlockRootFocus:function(){o.value?.unBlockRootFocus()},focusBackToTop:function(){o.value?.focusBackToTop()},requestNodeFocus:function(e){o.value?.requestNodeFocus(e)},reloadAll:function(e=!0){o.value?.reloadAll(e)},reloadPage:function(e){o.value?.reloadPage(e)},setCurrentPage:function(e){o.value?.setCurrentPage(e)},requestTabFocus:function(e){o.value?.requestTabFocus(e)},invokeContentFunction:function(e,t,n){o.value?.invokeContentFunction(e,t,n)},invokeContentFunctionDirect:function(e,t){o.value?.invokeContentFunctionDirect(e,t)},contentScrollToFocus:function(e){o.value?.contentScrollToFocus(e)},getRootNodeViewState:function(e,t,n){o.value?.getRootNodeViewState(e,t,n)},getChildNodeViewState:function(e,t,n,a,i){o.value?.getChildNodeViewState(e,t,n,a,i)},dispatchUIFunctionOnChildNode:function(e,t,n,a,i){o.value?.dispatchUIFunctionOnChildNode(e,t,n,a,i)},updateItemMatched:function(e="id",t,n){o.value?.updateItemMatched(e,t,n)},updateRootNode:function(e,t,n){o.value?.updateRootNode(e,t,n)},updateChildNode:function(e,t,n,a){o.value?.updateChildNode(e,t,n,a)},destroy:function(){o.value?.destroy()},cancelAll:function(){o.value?.cancelAll()},translationLeft:function(){o.value?.translationLeft()},translationRight:function(){o.value?.translationRight()},rootOpacity:i,onTabPageLoadData:function(e){const t=e.pageIndex,n=e.useDiff;l.isLoggable(U.DEBUG)&&l.d(Ma,"----------设置数据----onTabPageLoadData---加载数据开始----\x3e>>>pageIndex:"+t),_(t),h(t,n,0),l.isLoggable(U.DEBUG)&&l.d(Ma,"----------设置数据----onTabPageLoadData---加载数据结束----\x3e>>>pageIndex:"+t)},onTabPageChanged:function(e){const t=e.pageIndex;if(l.isLoggable(U.DEBUG)&&l.d(Ma,"------设置数据----onTabPageChanged---TAB切换开始--\x3e>>>pageIndex:",t),d==t)return;d=t,l.isLoggable(U.DEBUG)&&l.d(Ma,"------设置数据----onTabPageChanged---TAB重置开始--\x3e>>>pageIndex:",t);for(let e=0;e<u.length;e++){const n=s.getTabPageDataState(e);l.isLoggable(U.DEBUG)&&l.d(Ma,"------设置数据--调用setPageStateRecycled--START->>>> index:"+e+" lastTabPageIndex:"+f+" pageIndex:"+t+" pageState:",n),e!=t&&(e!=f||e==f&&t-f>1)&&n&&n.state!=ka.QT_TAB_PAGE_STATE_INIT&&(l.isLoggable(U.DEBUG)&&l.d(Ma,"------设置数据--调用setPageStateRecycled--END->>>> index:"+e+" lastTabPageIndex:"+f+" pageIndex:"+t+" pageState:",n),T(e))}l.isLoggable(U.DEBUG)&&l.d(Ma,"------设置数据----onTabPageChanged---TAB重置结束--\x3e>>>pageIndex:",t);const o=e.data;n.emit("onTabPageChanged",t,o);const a=s.getTabPageDataState(t);a&&a.sectionBindIndex>=-1&&h(t,!1,a.sectionBindIndex),v(),f=t,l.isLoggable(U.DEBUG)&&l.d(Ma,"------设置数据----onTabPageChanged---TAB切换结束--\x3e>>>pageIndex:",t)},onTabEvent:function(e){const t=e.params,o=e.eventName,a=e.params.itemPosition,i=e.params.x,c=e.params.y,s=e.params.contentOffset,r=e.params.state;switch(l.isLoggable(U.DEBUG)&&l.d(Ma,"----------onTabEvent------\x3e>>> eventName:"+o+" tabIndex:"+a+" params:",t),n.emit("onTabEvent",a,o,t),o){case"onMoveToTopStart":n.emit("onTabMoveToTopStart",a,o,t);break;case"onMoveToTopEnd":n.emit("onTabMoveToTopEnd",a,o,t);break;case"onMoveToBottomStart":n.emit("onTabMoveToBottomStart",a,o,t);break;case"onMoveToBottomEnd":n.emit("onTabMoveToBottomEnd",a,o,t);break;case"onTabChanged":n.emit("onTabChanged",a,o,t);break;case"onScroll":S(i,c);break;case"onScrollStateChanged":F(s.x,s.y,r.newState)}},onWaterfallItemClick:function(e,t,o,a){l.isLoggable(U.DEBUG)&&l.d(Ma,"-----------onWaterfallItemClick---------------\x3e>>> sectionIndex:"+e+" itemIndex:"+t+" item:",o),n.emit("onTabPageItemClick",d,e,t,o,a)},onWaterfallItemFocused:function(e,t,o,a){l.isLoggable(U.DEBUG)&&l.d(Ma,"-----------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(U.DEBUG)&&l.d(Ma,"---------设置数据-----绑定回调----\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(U.DEBUG)&&l.d(Ma,"----------loadPageData----bind--\x3e>>>pageIndex:"+e),h(e,!1,t)))},onWaterfallSectionAttached:function(e,t){l.isLoggable(U.DEBUG)&&l.d(Ma,"-----------onWaterfallSectionAttached---------------\x3e>>> pageIndex:"+e+" sectionIndex:"+t),s.setSectionState(e,t,wa.QT_LIST_VIEW_ITEM_STATE_ATTACHED),e==d&&v()},onWaterfallSectionDetached:function(e,t){l.isLoggable(U.DEBUG)&&l.d(Ma,"-----------onWaterfallSectionDetached---------------\x3e>>> pageIndex:"+e+" sectionIndex:"+t),s.setSectionState(e,t,wa.QT_LIST_VIEW_ITEM_STATE_DETACHED)},onWaterfallScroll:S,onWaterfallScrollStateChanged:F,onTabPageScrollToStart:function(e){const t=e.pageIndex;n.emit("onTabPageScrollToStart",t),l.isLoggable(U.DEBUG)&&l.d(Ma,"----------onTabPageScrollToStart------\x3e>>> pageIndex:"+t)},onTabPageScrollToEnd:function(e){const t=e.pageIndex;n.emit("onTabPageScrollToEnd",t),l.isLoggable(U.DEBUG)&&l.d(Ma,"----------onTabPageScrollToEnd------\x3e>>> pageIndex:"+t)},onTabChange:function(e){},onTabClick:function(e){n.emit("onTabClick",e)},getCurrentPageIndex:function(){return d},getCurrentTabIndex:function(){return o.value?o.value.getCurrentPage():Promise.resolve(-1)},insertPageData(e,t,n){s.insertSectionList(e,t,n);const a=Ua(r,n);o.value?.insertPageData(e,t,a)},onPluginLoadSuccess:function(e){n.emit("onPluginLoadSuccess",e)},onPluginLoadError:function(e){n.emit("onPluginLoadError",e)},getDataManager:()=>s,...eo(o)}}});$a.render=function(e,n,l,c,u,d){const f=a("qt-nav-bar"),g=a("qt-waterfall"),p=a("recycler-view-pager"),_=a("tabs");return e.ifTabs?(t(),i(_,{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:m((()=>[h(f,{ref:"navBarRef",name:"tabList",focusable:!1,class:s(e.tabNavBarClass),sid:e.tabNavBarSid,tabEnable:e.qtTabSectionEnable.tabEnable,"text-key":"text",nextFocusName:e.navBarNextFocusName,horizontalFadingEdgeEnabled:e.horizontalFadingEdgeEnabled,verticalFadingEdgeEnabled:e.verticalFadingEdgeEnabled,fadingEdgeLength:e.fadingEdgeLength,onTabFocus:e.onTabChange,onTabClick:e.onTabClick,clipChldren:!1,horizontal:e.horizontal},{default:m((()=>[o(e.$slots,"tab-item")])),_:3},8,["class","sid","tabEnable","nextFocusName","horizontalFadingEdgeEnabled","verticalFadingEdgeEnabled","fadingEdgeLength","onTabFocus","onTabClick","horizontal"]),h(p,{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"},{default:m((()=>[h(g,{keyName:"_id",endHintEnabled:e.endHintEnabled,enablePlaceholder:e.enablePlaceholder,onOnScrollStateChanged:e.onWaterfallScrollStateChanged,onOnScroll:e.onWaterfallScroll,"custom-pool":e.customPool,sid:"${sid}","custom-item-pool":e.customItemPool,blockFocusDirections:e.horizontal?e.blockViewPager:e.blockViewPagerVertical,"qt-tab-section-enable":e.qtTabSectionEnable,onOnSectionBind:e.onWaterfallSectionBind,onOnSectionAttached:e.onWaterfallSectionAttached,onOnSectionDetached:e.onWaterfallSectionDetached,onOnItemFocused:e.onWaterfallItemFocused,onOnItemClick:e.onWaterfallItemClick,onOnPluginLoadSuccess:e.onPluginLoadSuccess,onOnPluginLoadError:e.onPluginLoadError},{item:m((()=>[o(e.$slots,"waterfall-item")])),"shared-item":m((()=>[o(e.$slots,"waterfall-shared-item")])),"list-item":m((()=>[o(e.$slots,"waterfall-list-item")])),section:m((()=>[o(e.$slots,"waterfall-section")])),"vue-section":m((()=>[o(e.$slots,"waterfall-vue-section")])),_:3},8,["endHintEnabled","enablePlaceholder","onOnScrollStateChanged","onOnScroll","custom-pool","custom-item-pool","blockFocusDirections","qt-tab-section-enable","onOnSectionBind","onOnSectionAttached","onOnSectionDetached","onOnItemFocused","onOnItemClick","onOnPluginLoadSuccess","onOnPluginLoadError"])])),_:3},8,["nextFocusName","class","opacity","enableTransform","slidingEnable","slidingMode","initTranslation","rightTranslation","leftTranslation","duration","interpolatorType","triggerTask","direction"])])),_:3},8,["dataStrategy","hideOnSingleTab","pageSwitchDelay","resumeTaskDelay","suspension","useSuspensionBg","outOfDateTime","class","blockFocusDirections","onScrollToStart","onScrollToEnd","onLoadPage","onPageChanged","onTabEvent"])):r("v-if",!0)},$a.__file="src/tab/index.vue";var Qa=Tn({name:"qt-vue-section",setup(t,n){const o=e();return{onSectionBind:function(){},viewRef:o,...eo(o)}}});Qa.render=function(e,n,l,c,s,r){const u=a("tv-item");return t(),i(u,{ref:"viewRef",class:"qt-ui-waterfall-vue-section",clipChildren:!1,clipPadding:!1,flexStyle:"${style}",singleton:"",onItemBind:e.onSectionBind},{default:m((()=>[o(e.$slots,"default")])),_:3},8,["onItemBind"])},Qa.__scopeId="data-v-d02af3c2",Qa.__file="src/section/index.vue";var Ga=Tn({name:"qt-classified-list-view",props:{className:{type:String,default:"content_list_view"},classNavName:{type:String,default:"nav_list_view"},currentFocusIndex:{type:Number,default:0},focusScale:{type:Number,default:1.15},navType:{type:Number,default:10001},yOffest:{type:Number,default:802}},emits:["item-click","item-focused"],setup(t,n){const o=e();let a=e(1);const i=e(),l=e();let c=[],s=-1,r=-1,u=[];let d=-1;let f=-1,g=-1;return{descendantFocusability:a,content_list_view:i,nav_list_view:l,init:e=>{e.forEach(((n,o)=>{n.isPlaying=!1,t.currentFocusIndex==o&&(n.isPlaying=!0);let a=!1;for(let e=0;e<c.length;e++){const t=c[e];n.categoryname==t.categoryname&&(n.navIndex=e,a=!0)}a||(n.navIndex||(n.navIndex=c.length),c.push({type:n.type,decoration:{left:50},categoryname:n.categoryname,startIndex:o,isNeedFocus:!0})),u=e})),Ht((()=>{c[c.length-1].decoration.right=50,i.value?.setListData(e),l.value?.setListData(c),setTimeout((()=>{s=t.currentFocusIndex,r=e[t.currentFocusIndex].navIndex,i.value?.scrollToFocused(s),l.value?.scrollToSelected(r,!0)}),300)}))},onItemBind:()=>{},onSItemClick:e=>{n.emit("item-click",e)},onFItemClick:e=>{n.emit("item-click",e)},scrollToIndex:(e,t=!0,n=802)=>{i.value?.scrollToIndex(e,t,n)},scrollToFocused:e=>{a.value=1,setTimeout((()=>{i.value?.scrollToFocused(e)}),300)},setItemFocused:e=>{setTimeout((()=>{a.value=1}),300),i.value?.setItemFocused(e)},scrollToSelected:(e,t=!0)=>{i.value?.scrollToSelected(e,t)},setItemSelected:(e,t=!0)=>{i.value?.setItemSelected(e,!0)},onSItemFocused:e=>{clearTimeout(d),d=setTimeout((()=>{if(e.hasFocus){if(s!=e.position){if(s>-1){let e=u[s];e.isPlaying=!1,i.value?.updateItem(s,e)}let t=u[e.position];t.isPlaying=!0,i.value?.updateItem(e.position,t)}s=e.position,r!=e.item.navIndex&&(r=e.item.navIndex,l.value?.scrollToSelected(e.item.navIndex,!0)),n.emit("item-focused",e)}else r=e.item.navIndex}),300)},onFItemFocused:e=>{"0"==e.position&&i.value?.setItemSelected(1,!0),clearTimeout(f),clearTimeout(g),e.hasFocus&&r!=e.position&&(a.value=2,r=e.position,u[e.item.startIndex].isNeedFocus?(i.value?.scrollToIndex(e.item.startIndex,!1,t.yOffest),g=setTimeout((()=>{i.value?.setItemSelected(e.item.startIndex,!0),f=setTimeout((()=>{a.value=1}),200)}),400)):(i.value?.scrollToIndex(e.item.startIndex+1,!1,t.yOffest),g=setTimeout((()=>{i.value?.setItemSelected(e.item.startIndex+1,!0),f=setTimeout((()=>{a.value=1}),200)}),400)))},updateItem:(e,t)=>{u[e]=t,u.forEach(((e,t)=>{for(let t=0;t<c.length;t++){const n=c[t];e.categoryname==n.categoryname&&(e.navIndex=t)}})),i.value?.updateItem(e,u[e])},viewRef:o,...eo(o)}}});const Va={focusable:!1,clipChildren:!1,ref:"viewRef"},qa=["focusScale"],Ya=v("img",{class:"coverV",src:"${coverV}",focusable:!1,postDelay:300},null,-1),Wa=v("div",{class:"titMask",focusable:!1,showIf:"${isPlaying}",gradientBackground:{colors:["#00000000","#FF000000"],cornerRadii4:[0,0,8,8]}},null,-1),za={focusable:!1,class:"clv_item_text_box",showIf:"${isPlaying}"},Ha={class:"playMark",focusable:!1},ja=["type"],Ka=v("div",{class:"line",focusable:!1,showOnState:"selected",duplicateParentState:!0},null,-1),Xa=v("div",{duplicateParentState:!0,class:"nav_item_text_focused",showOnState:"focused",focusable:!1,gradientBackground:{colors:["#FF2F7CEB","#FF1163D8"],cornerRadius:40}},null,-1),Za={class:"nav_item_text",focusable:!1,duplicateParentState:!0};Ga.render=function(e,i,l,u,d,f){const g=a("play-mark"),p=a("text-view"),_=a("qt-list-view");return t(),n("div",Va,[h(_,{class:s(e.className),ref:"content_list_view",clipChildren:!1,clipPadding:!1,onItemClick:e.onSItemClick,horizontal:"",blockFocusDirections:["left","right"],descendantFocusability:e.descendantFocusability,name:"content_list_view",onItemFocused:e.onSItemFocused},{default:m((()=>[v("div",{type:10001,name:"clv_item",class:"clv_item",focusable:!0,enableFocusBorder:!0,clipChildren:!1,eventClick:"",eventFocus:"",focusScale:e.focusScale},[Ya,Wa,v("div",za,[v("div",Ha,[h(g,{style:c([{width:"28px",height:"20px"},{"margin-left":"16px"}]),markColor:"#ffffff",gap:-1,focusable:!1})]),h(p,{focusable:!1,ellipsizeMode:2,fontSize:30,gravity:"centerVertical",lines:1,maxLines:1,class:"clv_item_text",text:"${assetTitle}",paddingRect:[6,0,0,0]})])],8,qa),o(e.$slots,"item")])),_:3},8,["class","onItemClick","descendantFocusability","onItemFocused"]),r(" listview first nav "),h(_,{class:s(e.classNavName),ref:"nav_list_view",clipChildren:!1,clipPadding:!1,onItemClick:e.onFItemClick,nextFocusName:{up:"content_list_view"},horizontal:"",blockFocusDirections:["left","right"],onItemFocused:e.onFItemFocused},{default:m((()=>[v("div",{type:e.navType,name:"nav_item",class:"nav_item",focusable:!0,enableFocusBorder:!1,focusScale:"1",eventClick:"",eventFocus:"",clipChildren:!1},[Ka,Xa,v("div",Za,[h(p,{focusable:!1,ellipsizeMode:2,duplicateParentState:!0,fontSize:44,gravity:"center",lines:1,class:"text_selected",text:"${categoryname}",showOnState:["selected"]}),h(p,{focusable:!1,ellipsizeMode:2,duplicateParentState:!0,fontSize:44,gravity:"center",lines:1,maxLines:1,class:"text",text:"${categoryname}",showOnState:"focused"}),h(p,{focusable:!1,ellipsizeMode:2,duplicateParentState:!0,fontSize:44,gravity:"center",lines:1,class:"text",text:"${categoryname}",showOnState:["normal"]})])],8,ja),o(e.$slots,"navItem")])),_:3},8,["class","onItemClick","onItemFocused"])],512)},Ga.__file="src/classified-list-view/index.vue";var Ja=l({name:"media-series-number-item",props:{isVip:{type:Boolean,default:!1},gradientBackground:{type:Object,default:()=>({colors:["#1AFFFFFF","#1AFFFFFF"],orientation:6,cornerRadius:8})},gradientFocusBackground:{type:Object,default:()=>({colors:["#FFFFFF","#FFFFFF"],orientation:6,cornerRadius:8})},iconGradientBackground:{type:Object,default:()=>({colors:["#FFB67827","#FFDBAF5C"],cornerRadius:4,orientation:6})},markColor:{type:String,default:"#FF4E46"},markVipColor:{type:String,default:"#FFD97C"},textColors:{type:Object,default:()=>({color:"rgba(255, 255, 255, .50)",focusColor:"rgba(0, 0, 0, 1)",selectColor:"rgba(255, 255, 255, .50)"})},textVipColors:{type:Object,default:()=>({color:"#FFD97C",focusColor:"#B67827",selectColor:"#B67827"})}}});const ei=["gradientBackground"],ti=["gradientBackground"],ni={class:"number-item-text-root-css",duplicateParentState:!0},oi={style:{position:"absolute","flex-direction":"row","justify-content":"center","align-items":"center",width:"160px",height:"80px","background-color":"transparent"},showOnState:"selected",duplicateParentState:!0},ai=["gradientBackground"];Ja.render=function(e,o,i,l,s,u){const d=a("play-mark"),f=a("text-view");return t(),n("div",{class:"number-item-container",focusable:!0,focusScale:1,gradientBackground:e.gradientBackground},[v("div",{class:"number-item-container-bg-focus",duplicateParentState:!0,showOnState:"focused",focusable:!1,gradientBackground:e.gradientFocusBackground},null,8,ti),r(" 文字"),v("div",ni,[v("div",oi,[h(d,{duplicateParentState:!0,flexStyle:"${normalMarkStyle}",style:{width:"24px",height:"25px",position:"absolute",left:"20px"},markColor:e.markColor},null,8,["markColor"]),h(d,{duplicateParentState:!0,flexStyle:"${vipMarkStyle}",style:{width:"24px",height:"25px",position:"absolute",left:"20px"},markColor:e.markVipColor},null,8,["markColor"])]),h(f,{duplicateParentState:!0,fontSize:36,gravity:"center",autoWidth:"",lines:1,flexStyle:"${normalTitleStyle}",class:"number-item-text-css",style:c({color:e.textColors.color,focusColor:e.textColors.focusColor,selectColor:e.textColors.selectColor}),text:"${title}"},null,8,["style"]),h(f,{duplicateParentState:!0,fontSize:36,gravity:"center",flexStyle:"${vipTitleStyle}",autoWidth:"",class:"number-item-text-vip-css",style:c({color:e.textVipColors.color,focusColor:e.textVipColors.focusColor,selectColor:e.textVipColors.selectColor}),lines:1,text:"${title}"},null,8,["style"])]),r(" vip角标 "),v("div",{class:"media-series-number-item-vip-root",showIf:"${vip.enable==true}",gradientBackground:e.iconGradientBackground},[h(f,{duplicateParentState:!0,class:"media-series-number-item-vip-text",fontSize:20,gravity:"center",text:"${vip.text}"})],8,ai)],8,ei)},Ja.__scopeId="data-v-4afb8987",Ja.__file="src/series/item/media-series-number-item.vue";var ii=l({name:"media-series-text-item",props:{isVip:{type:Boolean,default:!1},gradientBackground:{type:Object,default:()=>({colors:["#1AFFFFFF","#1AFFFFFF"],orientation:6,cornerRadius:8})},gradientFocusBackground:{type:Object,default:()=>({colors:["#FFFFFF","#FFFFFF"],orientation:6,cornerRadius:8})},iconGradientBackground:{type:Object,default:()=>({colors:["#FFB67827","#FFDBAF5C"],cornerRadius:4,orientation:6})},markColor:{type:String,default:"#FF4E46"},markVipColor:{type:String,default:"#FFD97C"},textColors:{type:Object,default:()=>({color:"rgba(255, 255, 255, .50)",focusColor:"rgba(0, 0, 0, 1)",selectColor:"rgba(255, 255, 255, .50)"})},textVipColors:{type:Object,default:()=>({color:"#FFD97C",focusColor:"#B67827",selectColor:"#B67827"})},itemWidth:{type:Number,default:490},itemHeight:{type:Number,default:100}}});const li=["gradientBackground"],ci=["gradientBackground"],si=["gradientBackground"];ii.render=function(e,o,i,l,s,r){const u=a("play-mark"),d=a("text-view");return t(),n("div",{class:"text-item-container",focusable:!0,focusScale:1,style:c({width:`${e.itemWidth}px`,height:`${e.itemHeight}px`}),gradientBackground:e.gradientBackground},[v("div",{class:"text-item-container-bg-focus",style:c({width:`${e.itemWidth}px`,height:`${e.itemHeight}px`}),duplicateParentState:!0,showOnState:"focused",focusable:!1,gradientBackground:e.gradientFocusBackground},null,12,ci),v("div",{class:"text-item-container-css",style:c([{width:`${e.itemWidth}px`,height:`${e.itemHeight}px`},{position:"absolute","align-items":"center","background-color":"transparent"}]),duplicateParentState:!0},[v("div",{style:c({position:"absolute",flexDirection:"row",justifyContent:"center",alignItems:"center",width:`${e.itemWidth}px`,height:`${e.itemHeight}px`,backgroundColor:"transparent"}),showOnState:"selected",duplicateParentState:!0},[h(u,{duplicateParentState:!0,flexStyle:"${normalMarkStyle}",style:{width:"24px",height:"25px",position:"absolute",left:"20px","margin-right":"10px"},markColor:e.markColor},null,8,["markColor"]),h(u,{duplicateParentState:!0,flexStyle:"${vipMarkStyle}",style:{width:"24px",height:"25px",position:"absolute",left:"20px","margin-right":"10px"},markColor:e.markVipColor},null,8,["markColor"])],4),h(d,{duplicateParentState:!0,maxLines:1,ellipsizeMode:3,flexStyle:"${normalTitleStyle}",fontSize:30,class:"text-item-text",gravity:"centerVertical",style:c({color:e.textColors.color,focusColor:e.textColors.focusColor,selectColor:e.textColors.selectColor}),text:"${title}"},null,8,["style"]),h(d,{duplicateParentState:!0,maxLines:1,ellipsizeMode:3,flexStyle:"${vipTitleStyle}",fontSize:30,class:"text-item-text-vip",gravity:"centerVertical",style:c({color:e.textVipColors.color,focusColor:e.textVipColors.focusColor,selectColor:e.textVipColors.selectColor}),text:"${title}"},null,8,["style"])],4),v("div",{class:"media-series-text-item-vip-root",showIf:"${vip.enable==true}",gradientBackground:e.iconGradientBackground},[h(d,{duplicateParentState:!0,class:"media-series-text-item-vip-text",fontSize:20,gravity:"center",text:"${vip.text}"})],8,si)],12,li)},ii.__scopeId="data-v-4859f623",ii.__file="src/series/item/media-series-text-item.vue";var ri,ui,di=l({name:"media-series",props:{customItem:{type:Boolean,default:!1},initParam:{type:Object,default:()=>({})},height:{type:Number,default:230},scrollParam:{type:Object,default:()=>({})},groupParam:{type:Object,default:()=>({})},commonParam:{type:Object,default:()=>({})}},emits:["load-data","item-click","item-focused","group-item-focused"],setup(t,n){const o=e();let a=e(!1);const i=L();p((()=>{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):Ht((()=>{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=>{Ht((()=>{i.isLoggable(U.DEBUG)&&i.d("media-series","--------setSelected-------\x3e>>>",e),o.value?.setSelected(e)}))},setup:()=>{o.value?.setup()},setGroupSelected:e=>{o.value?.setGroupSelected(e)},release:()=>{o.value?.release()}}}});function fi(e,t,n,o){const a=function(e,t,n,o){switch(e){case ri.QT_MEDIA_SERIES_TYPE_LEFT_RIGHT:break;case ri.QT_MEDIA_SERIES_TYPE_NUMBER:return o.dataStyle?.itemHeight??80;case ri.QT_MEDIA_SERIES_TYPE_TEXT:return o.dataStyle?.itemHeight??100;case ri.QT_MEDIA_SERIES_TYPE_TOP_DOWN:}return-1}(e,0,0,o);switch(e){case ri.QT_MEDIA_SERIES_TYPE_TOP_DOWN:case ri.QT_MEDIA_SERIES_TYPE_TEXT:return{contentWidth:1740,itemGap:o?.dataStyle?.itemGap??36,initPosition:o.initPosition,contentHeight:a};case ri.QT_MEDIA_SERIES_TYPE_NUMBER:return{contentWidth:1740,itemGap:o?.dataStyle?.itemGap??15.6,initPosition:o.initPosition,contentHeight:a};case ri.QT_MEDIA_SERIES_TYPE_LEFT_RIGHT:return{}}}di.render=function(e,n,l,s,u,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:m((()=>[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"])):r("v-if",!0)},di.__file="src/series/component/media-series.vue",function(e){e.QT_MEDIA_SERIES_TYPE_LEFT_RIGHT="leftRight",e.QT_MEDIA_SERIES_TYPE_TOP_DOWN="topDown",e.QT_MEDIA_SERIES_TYPE_TEXT="text",e.QT_MEDIA_SERIES_TYPE_NUMBER="number",e.QT_MEDIA_SERIES_TYPE_CUSTOM="custom"}(ri||(ri={})),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"}(ui||(ui={}));var gi,pi,_i,Ti,Ii=l({name:"qt-media-series",components:{"media-series-number-item":Ja,"media-series-text-item":ii,"media-series":di},emits:["load-data","item-click","item-focused","group-item-focused"],props:{itemHeight:{type:Number,default:0},gradientBackground:{type:Object,default:()=>({colors:["#1AFFFFFF","#1AFFFFFF"],orientation:6,cornerRadius:8})},gradientFocusBackground:{type:Object,default:()=>({colors:["#FFFFFF","#FFFFFF"],orientation:6,cornerRadius:8})},iconGradientBackground:{type:Object,default:()=>({colors:["#FFB67827","#FFDBAF5C"],cornerRadius:4,orientation:6})},markColor:{type:String,default:"#FF4E46"},markVipColor:{type:String,default:"#FFD97C"},textColors:{type:Object,default:()=>({color:"rgba(255, 255, 255, .5)",focusColor:"rgba(0, 0, 0, 1)",selectColor:"rgba(255, 255, 255, .5)"})},textVipColors:{type:Object,default:()=>({color:"#FFD97C",focusColor:"#B67827",selectColor:"#B67827"})},itemDivWidth:{type:Number,default:490},itemDivHeight:{type:Number,default:100}},setup(t,n){const o=e(),{clearFocus:a,requestFocusDirectly:i,setVisibility:l}=eo(o),c=e(!1),s=L(),r=e(),u=e(),d=e(),f=e(),g=e(0),p=e(!1),_=e(ri.QT_MEDIA_SERIES_TYPE_NUMBER);let T;return{isVip:p,seriesType:_,params:r,commonParams:u,scrollParams:d,groupParams:f,mediaSeriesRef:o,show:c,height:g,onLoadData:e=>{n.emit("load-data",e)},setInitData:(e,n,a,i)=>{_.value=e,T=i,ri.QT_MEDIA_SERIES_TYPE_LEFT_RIGHT!==e?(u.value=fi(e,0,0,i),d.value=function(e,t,n,o){if(e===ri.QT_MEDIA_SERIES_TYPE_NUMBER)return{scrollType:1,pageDisplayCount:10,paddingForPageLeft:0,paddingForPageRight:0}}(e),f.value=function(e,t,n,o){const a={};if(t.enable){switch(e){case ri.QT_MEDIA_SERIES_TYPE_NUMBER:a.groupSize=10;break;case ri.QT_MEDIA_SERIES_TYPE_TEXT:a.groupSize=3;break;default:a.groupSize=t.size}const o=t.groupStyle;o&&(o.groupMarginLeft&&(a.groupMarginLeft=o.groupMarginLeft),o.itemWidth&&(a.itemWidth=o.itemWidth),o.itemHeight&&(a.itemHeight=o.itemHeight),o.itemGap&&(a.itemGap=o.itemGap),o.mark&&(a.mark=o.mark)),n==ui.QT_MEDIA_SERIES_STYLE_TYPE_VIP?(a.textColor=o?.textVipColor??{normal:"#80FFFFFF",focused:"#603314",selected:"#FFD97C"},a.focusBackground=o?.focusVipBackground??{orientation:"LEFT_RIGHT",cornerRadius:[40,40,40,40],color:["#FFE398","#EEB364"],padding:[34,6]},a.mark=o?.mark??{color:"#FFD97C"}):o&&(o.textColor&&(a.textColor=o.textColor),o.focusBackground&&(a.focusBackground=o.focusBackground),o.background&&(a.background=o.background))}return a}(e,n,a),ri.QT_MEDIA_SERIES_TYPE_CUSTOM==e?g.value=t.itemHeight+(n.enable?70:0):g.value=function(e,t,n,o){switch(e){case ri.QT_MEDIA_SERIES_TYPE_LEFT_RIGHT:break;case ri.QT_MEDIA_SERIES_TYPE_NUMBER:return 80+(t.enable?70:0);case ri.QT_MEDIA_SERIES_TYPE_TEXT:return 100+(t.enable?70:0);case ri.QT_MEDIA_SERIES_TYPE_TOP_DOWN:}return-1}(e,n),Ht((()=>{o.value&&o.value?.setInitData(i.totalCount,i.pageSize)})),s.isLoggable(U.DEBUG)&&s.d("MediaSeries","----setInitData----\x3e>>>",g.value)):(r.value=function(e,t,n,o){const a=n==ui.QT_MEDIA_SERIES_STYLE_TYPE_VIP;let i={initPosition:o.initPosition,contentWidth:1740,contentHeight:160,itemGap:36,enableGroup:t.enable,groupSize:t.size,groupHeight:46,groupTopMargin:24,group:null,template:null};return i.template={titleSize:28,floatTitleSize:20,isFree:!a,type:"leftRight",width:560,height:160,focusScale:1.1},i.template.extra={imgWidth:268,imgHeight:160,textColor:{normal:"#80FFFFFF",focused:a?"#FFD97C":"#ffffffff",selected:a?"#FFD97C":"#ffffffff"},cornerBgColor:{orientation:"LEFT_RIGHT",cornerRadius:[4,4,4,4],color:["#B67827","#DBAF5C"]}},i.group={itemWidth:85,itemHeight:46,itemGap:50,textSize:30,textColor:{normal:"#80FFFFFF",focused:a?"#603314":"#000000",selected:a?"#FFD97C":"#F5F5F5"},focusBackground:{orientation:"LEFT_RIGHT",cornerRadius:[40,40,40,40],color:[a?"#FFE398":"#F5F5F5",a?"#EEB364":"#F5F5F5"],padding:[34,6]},mark:{color:a?"#FFD97C":"#FFFFFF"}},i}(0,n,a,i),g.value=function(e,t,n,o,a){return t.enable?a.value.template.height+a.value.groupHeight+a.value.groupTopMargin:a.value.template.height}(0,n,0,0,r),r.value.totalCount=i.totalCount,r.value.pageSize=i.pageSize),c.value=!0},setPageData:(e,t)=>{let n=t;_.value==ri.QT_MEDIA_SERIES_TYPE_NUMBER?n=function(e,t,n){const o=[];if(n.length>0){const a={width:160,height:80},i={width:0,height:0},l={width:24,height:25};n.forEach(((n,c)=>{let s=e*t+c+1,r=s>9?""+s:"0"+s;const u={id:n.id,title:r,vip:n.vip};n.vip&&n.vip.enable?(u.vipTitleStyle=a,u.vipMarkStyle=l,u.normalTitleStyle=i,u.normalMarkStyle=i):(u.vipTitleStyle=i,u.vipMarkStyle=i,u.normalTitleStyle=a,u.normalMarkStyle=l),o.push(u)}))}return o}(e,T.pageSize,t):_.value==ri.QT_MEDIA_SERIES_TYPE_TEXT?n=function(e,t,n){if(n.length>0){const e={width:373,height:100},t={width:0,height:0},o={width:24,height:25};n.forEach(((n,a)=>{n.vip&&n.vip.enable?(n.vipTitleStyle=n?.vipTitleStyle??e,n.vipMarkStyle=n?.vipMarkStyle??o,n.normalTitleStyle=t,n.normalMarkStyle=t):(n.vipTitleStyle=t,n.vipMarkStyle=t,n.normalTitleStyle=n?.normalTitleStyle??e,n.normalMarkStyle=n?.normalMarkStyle??o)}))}return n}(0,T.pageSize,t):(_.value==ri.QT_MEDIA_SERIES_TYPE_LEFT_RIGHT||_.value==ri.QT_MEDIA_SERIES_TYPE_TOP_DOWN)&&(n=function(e,t,n){return n}(0,T.pageSize,t)),o.value?.setPageData(e,n)},onItemClick:e=>{n.emit("item-click",e)},onItemFocused:e=>{n.emit("item-focused",e)},onGroupItemFocused:e=>{n.emit("group-item-focused",e)},scrollTo:e=>{o.value?.scrollTo(e)},scrollToWithOffset:(e,t)=>{o.value?.scrollToWithOffset(e,t,!1)},requestFocus:e=>{o.value?.requestFocus(e)},setSelected:e=>{o.value?.setSelected(e)},setup:()=>{o.value?.setup()},setGroupSelected:e=>{o.value?.setGroupSelected(e)},release:()=>{o.value?.release(),c.value=!1},blockRootFocus:()=>{o.value&&N.callUIFunction(o.value,"blockRootFocus",[])},unBlockRootFocus:()=>{o.value&&N.callUIFunction(o.value,"unBlockRootFocus",[])},clearFocus:a,requestFocusDirectly:i,setVisibility:l}}});Ii.render=function(e,n,l,c,s,u){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:m((()=>["number"===e.seriesType?(t(),i(d,{key:0,"is-vip":e.isVip,"gradient-background":e.gradientBackground,"gradient-focus-background":e.gradientFocusBackground,"mark-color":e.markColor,"mark-vip-color":e.markVipColor,"icon-gradient-background":e.iconGradientBackground,"text-colors":e.textColors,"text-vip-colors":e.textVipColors},null,8,["is-vip","gradient-background","gradient-focus-background","mark-color","mark-vip-color","icon-gradient-background","text-colors","text-vip-colors"])):"text"===e.seriesType?(t(),i(f,{key:1,"is-vip":e.isVip,"gradient-background":e.gradientBackground,"gradient-focus-background":e.gradientFocusBackground,"mark-color":e.markColor,"mark-vip-color":e.markVipColor,"icon-gradient-background":e.iconGradientBackground,"item-height":e.itemDivHeight,"item-width":e.itemDivWidth,"text-colors":e.textColors,"text-vip-colors":e.textVipColors},null,8,["is-vip","gradient-background","gradient-focus-background","mark-color","mark-vip-color","icon-gradient-background","item-height","item-width","text-colors","text-vip-colors"])):"custom"===e.seriesType?o(e.$slots,"default",{key:2}):r("v-if",!0)])),_:3},8,["init-param","height","custom-item","scroll-param","group-param","common-param","onLoadData","onItemClick","onItemFocused","onGroupItemFocused"])):r("v-if",!0)},Ii.__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"}(gi||(gi={})),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"}(pi||(pi={})),function(e){e[e.QT_ANIMATION_REPEAT_MODE_RESTART=1]="QT_ANIMATION_REPEAT_MODE_RESTART",e[e.QT_ANIMATION_REPEAT_MODE_REVERSE=2]="QT_ANIMATION_REPEAT_MODE_REVERSE",e[e.QT_ANIMATION_REPEAT_MODE_INFINITE=-1]="QT_ANIMATION_REPEAT_MODE_INFINITE"}(_i||(_i={})),function(e){e.QT_ANIMATION_VALUE_TYPE_INT="ofInt",e.QT_ANIMATION_VALUE_TYPE_FLOAT="ofFloat"}(Ti||(Ti={}));const mi="QTCollapse";var hi,vi,Si,Fi,Ei,bi,yi,Ai,Ri,Pi,Ni,Li,Ui,Ci,xi,Di,Oi=Tn({name:"qt-collapse",emits:["onCollapseItemExpand"],setup(t,n){const o=L(),a=e();let i,l,c=e();const s=e(0),r=e(0);let u=200;const f={};const g={};function p(e){return g[`${e}`]}function _(e,t){const a=i[e],l=a.__y,c=r.value-a.height-l;o.isLoggable(U.DEBUG)&&o.d(mi,"-------expandItem-------\x3e>>>",e,c,l);let s=0;for(let n=i.length-1;n>=0;n--){const a=i[n];a.height;const l=a.collapseHeight;n<e&&(s+=l);try{const t=I(n);t&&t.onCollapseItemExpand(n==e)}catch(e){}const r=p(n);r&&(o.isLoggable(U.DEBUG)&&o.d(mi,"-------expandItem----translationY---\x3e>>>",a,n,a.__translationY,c+s),T(n+"",a,r,a.__translationY,c+s,t))}try{n.emit("onCollapseItemExpand",e,a)}catch(e){}}function T(e,t,n,o,a,i){n.objectAnimator2(e,Ti.QT_ANIMATION_VALUE_TYPE_FLOAT,pi.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Y,o,a,i,-1,0,!1,!1),n.startAnimator(e),t.__translationY=a}function I(e){return f[`${e}`]}return{collapseItemComponentList:c,initComponentRef:function(e,t,n){e&&(f[`${n}`]=e)},initAnimComponentRef:function(e,t,n){e&&(g[`${n}`]=e)},init:function(e){c.value=n.slots.default&&n.slots.default(),l=e.defaultIndex??0,i=e.itemList,s.value=e.width,r.value=e.height,u=e.expandDuration??200,l<0&&(l=0),l>=i.length&&(l=i.length-1),function(){if(!i||i.length<=0)return;const e=i.length;let t=0;for(let n=e-1;n>=0;n--){const e=i[n];t+=e.height,e.__y=r.value-t,e.__translationY=0}o.isLoggable(U.DEBUG)&&o.d(mi,"----initCollapseItem----\x3e>>>",i)}(),d((()=>{_(l,0)}))},getItem:I,expandItem:function(e){_(e,u)},collapse:function(){const e=i.length,t=i[e-1],n=t.__y,o=r.value-t.height-n;let a=0;for(let t=e-1;t>=0;t--){const e=i[t];a+=e.collapseHeight;try{const e=I(t);e&&e.onCollapseItemExpand(!1)}catch(e){}const n=p(t);n&&T(t+"",e,n,e.__translationY,o+a,0)}},expand:function(){for(let e=i.length-1;e>=0;e--){const t=i[e];try{const t=I(e);t&&t.onCollapseItemExpand(!0)}catch(e){}const n=p(e);n&&T(e+"",t,n,t.__translationY,0,0)}},collapseWidth:s,collapseHeight:r,viewRef:a,...eo(a)}}});function ki(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})}))}function wi(t){const n=l({props:{loadMore:{type:Function,default:function(){return[1,1]}},openPage:{type:Boolean,default:!1},preloadNo:{type:Number,default:0},defaultFocus:{type:Number,default:-1},loadingDecoration:{type:Object,default:()=>({bottom:18,right:30,left:30})},listData:{type:Array,required:!1}},emits:["item-click","scroll","item-focused","item-attached","item-detached","item-bind","item-unbind","load-more","scroll-state-changed","focus-search-failed","scrollYGreaterReference","scrollYLesserReference"],setup(t,n){const o=e();let a=0,i=!1,l=Wo(),c=[],s=null,r=!1,u=!0;const d=()=>t.listData||l.value,f=e=>{t.defaultFocus>-1&&e.length&&t.defaultFocus<e.length&&u&&(clearTimeout(s),s=setTimeout((()=>{L(t.defaultFocus)}),300+10*e.length))};p((()=>{d().length&&o.value&&!r&&!c.length&&(c=d(),N.callUIFunction(o.value,"setListData",g(d())),f(c))})),_((()=>{l.value.splice(0)}));let m=0;const h=[{_id:"",type:1002,decoration:t.loadingDecoration}],v=()=>{t.openPage&&0===m&&c.length>0&&!i&&(N.callUIFunction(o.value,"addListData",h),m=c.length)},S=(e=!1)=>{m>0&&(e?N.callUIFunction(o.value,"updateItem",[m,{text:"",type:1003,decoration:{}}]):(N.callUIFunction(o.value,"deleteItemRange",[m,1]),m=0))};let F=null;const E=()=>{i=!1,a=0},b=()=>{!i&&t.loadMore&&(t.listData?c.length>0&&(a++,t.loadMore(a)):(a++,t.loadMore(a)))};T((()=>{t.openPage&&!t.listData&&(E(),b())}));const y=Mo(d(),{resetValue(e){c=e,r=!0},init(e){o.value&&(N.callUIFunction(o.value,"setListData",e.concat(t.openPage&&c.length>0&&!i?(m=c.length,h):[])),E(),t.listData&&(a=1),f(e))},add(e){N.callUIFunction(o.value,"addListData",e),S(),v()},update(e,t){Lo(1,t.datas).forEach(((e,t)=>{const n=Array.isArray(t)?Number(t[0]):Number(t);N.callUIFunction(o.value,"updateItem",[n,e])}))},insert(e,t){N.callUIFunction(o.value,"insertItemRange",[e,t]),S(),v()},delete(e,t){N.callUIFunction(o.value,"deleteItemRange",[e,t]),m>0&&(m=c.length)},clear(){N.callUIFunction(o.value,"setListData",[]),m=0}}),A=(e,t)=>{N.callUIFunction(o.value,"setSelectChildPosition",[e,t])},R=e=>{N.callUIFunction(o.value,"scrollToPosition",[e])},L=e=>{R(e),U(e)},U=e=>{N.callUIFunction(o.value,"requestChildFocus",[e])};I((()=>{y?.stop(),E(),clearTimeout(s),clearTimeout(F)}));const C=(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&&C(o.list,n)}};return n.expose({viewRef:o,init:(e,n)=>t.listData?[]:e?(u=!n,l.value=e,l.value):l.value,scrollToIndex:(e,t,n)=>{N.callUIFunction(o.value,"scrollToPositionWithOffset",[e,n,t])},hasFocus:e=>{N.callUIFunction(o.value,"hasFocus",(t=>{e(t)}))},dispatchItemFunction:(e,t,n,a)=>{N.callUIFunction(o.value,"dispatchItemFunction",[e,t,n,a])},setBlockFocusDirectionsOnFail:e=>{N.callUIFunction(o.value,"setBlockFocusDirectionsOnFail",[e])},prepareForRecycle:()=>{N.callUIFunction(o.value,"prepareForRecycle",[])},setDisplay:e=>{N.callUIFunction(o.value,"setDisplay",[e])},scrollToTop:()=>{N.callUIFunction(o.value,"scrollToTop",[])},changeDisplayState:(e,t)=>{N.callUIFunction(o.value,"changeDisplayState",[e,t])},notifySaveInstance:()=>{N.callUIFunction(o.value,"notifySaveInstance",[])},notifyRestoreInstance:()=>{N.callUIFunction(o.value,"notifyRestoreInstance",[])},pausePostTask:()=>{N.callUIFunction(o.value,"pausePostTask",[])},resumePostTask:()=>{N.callUIFunction(o.value,"resumePostTask",[])},getScrollOffset:e=>{N.callUIFunction(o.value,"getScrollOffset",[],e)},scrollToPosition:R,scrollToFocused:L,scrollToSelected:(e,t)=>{R(e),A(e,t)},scrollToPositionOffset:(e,t,n,a,i)=>{N.callUIFunction(o.value,"scrollToPositionWithOffset",[t,a,n])},destroy:()=>{N.callUIFunction(o.value,"destroy",[])},startScroll:(e,t,n)=>{N.callUIFunction(o.value,"startScroll",[{focusPosition:e,scrollToPosition:t,scrollOffset:n}])},setItemFocused:U,clearPostTask:()=>{N.callUIFunction(o.value,"clearAllPostTask",[])},setItemSelected:A,blockRootFocus:()=>{N.callUIFunction(o.value,"blockRootFocus",[])},unBlockRootFocus:()=>{N.callUIFunction(o.value,"unBlockRootFocus",[])},setBackgroundColor:e=>{N.callUIFunction(o.value,"setBackgroundColor",[e])},stopPage:(e=!1)=>{i=!0,F=setTimeout((()=>{i=!0,S(e)}),20)},setAutoFocus:function(e,t){N.callUIFunction(o.value,"setAutoFocus",[e,t])},setListData(e){N.callUIFunction(o.value,"setListData",e)},updateItemName:C,hasChanged:(e,t)=>e!==t&&(e==e||t==t),updateItem:(e,t)=>{N.callUIFunction(o.value,"updateItem",[e,t])},updateItemList:(e,t,n)=>{N.callUIFunction(o.value,"updateItemRange",[e,t,n])},updateItemProps:(e,t,n)=>{N.callUIFunction(o.value,"updateItemProps",[t,e,n,!0])},insertItem:(e,t)=>{N.callUIFunction(o.value,"insertItemRange",[e,t])},addListData:e=>{N.callUIFunction(o.value,"addListData",e)},addListDataWithParams:(e,t)=>{N.callUIFunction(o.value,"addListDataWithParams",[e,t])},deleteItem:(e,t)=>{N.callUIFunction(o.value,"deleteItemRange",[e,t])},setListDataWithParams:(e,t)=>{N.callUIFunction(o.value,"setListDataWithParams",[e,t])},...eo(o)}),()=>{const e=n.slots.default&&n.slots.default();return P("FastListView",{ref:o,onItemClick:e=>{n.emit("item-click",e)},onScroll:e=>{n.emit("scroll",e)},onItemFocused:e=>{n.emit("item-focused",e)},onAttachedToWindow:e=>{n.emit("item-attached",e)},onDetachedFromWindow:e=>{n.emit("item-detached",e)},onBindItem:e=>{if(t.openPage&&!i){let n=t.preloadNo;(n<0||n>=c.length)&&(n=0),e.position==c.length-1-n&&b()}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)}Oi.render=function(e,o,l,s,r,u){const d=a("qt-animation");return t(),n("div",{class:"qt-collapse-root-css",ref:"viewRef",clipChildren:!1,clipPadding:!1,style:c({width:e.collapseWidth,height:e.collapseHeight})},[(t(!0),n(y,null,A(e.collapseItemComponentList,((n,o)=>(t(),i(d,{ref_for:!0,ref:t=>e.initAnimComponentRef(t,n,o),class:"qt-collapse-item-css"},{default:m((()=>[(t(),i(R(n),{key:n.name,class:"qt-collapse-item-css",ref_for:!0,ref:t=>e.initComponentRef(t,n,o)}))])),_:2},1536)))),256))],4)},Oi.__scopeId="data-v-4feca809",Oi.__file="src/collapse/index.vue",function(e){e.VISIBLE="visible",e.INVISIBLE="invisible",e.GONE="gone"}(hi||(hi={})),function(e){e.QT_DIRECTION_UP="up",e.QT_DIRECTION_DOWN="down",e.QT_DIRECTION_RIGHT="right",e.QT_DIRECTION_LEFT="left"}(vi||(vi={})),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"}(Si||(Si={})),function(e){e[e.QT_NAV_BAR_ITEM_TYPE_TEXT=2e4]="QT_NAV_BAR_ITEM_TYPE_TEXT"}(Fi||(Fi={})),function(e){e[e.QT_TAB_ITEM_TYPE_DEFAULT=2e4]="QT_TAB_ITEM_TYPE_DEFAULT"}(Ei||(Ei={})),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"}(bi||(bi={})),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"}(yi||(yi={})),function(e){e[e.QT_SEEK_BAR_INDICATION_MODE_SHOW_WHEN_TOUCH=0]="QT_SEEK_BAR_INDICATION_MODE_SHOW_WHEN_TOUCH",e[e.QT_SEEK_BAR_INDICATION_MODE_ALWAYS_HIDE=1]="QT_SEEK_BAR_INDICATION_MODE_ALWAYS_HIDE",e[e.QT_SEEK_BAR_INDICATION_MODE_ALWAYS_SHOW_AFTER_TOUCH=2]="QT_SEEK_BAR_INDICATION_MODE_ALWAYS_SHOW_AFTER_TOUCH",e[e.QT_SEEK_BAR_INDICATION_MODE_ALWAYS_SHOW=3]="QT_SEEK_BAR_INDICATION_MODE_ALWAYS_SHOW"}(Ai||(Ai={})),function(e){e[e.QT_SEEK_BAR_TICK_MARK_MODE_NUMBER=0]="QT_SEEK_BAR_TICK_MARK_MODE_NUMBER",e[e.QT_SEEK_BAR_TICK_MARK_MODE_OTHER=1]="QT_SEEK_BAR_TICK_MARK_MODE_OTHER"}(Ri||(Ri={})),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"}(Pi||(Pi={})),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"}(Ni||(Ni={})),function(e){e[e.QT_LOTTIE_REPEAT_MODE_RESTART=1]="QT_LOTTIE_REPEAT_MODE_RESTART",e[e.QT_LOTTIE_REPEAT_MODE_REVERSE=2]="QT_LOTTIE_REPEAT_MODE_REVERSE",e[e.QT_LOTTIE_REPEAT_MODE_INFINITE=-1]="QT_LOTTIE_REPEAT_MODE_INFINITE"}(Li||(Li={})),function(e){e[e.QT_LOTTIE_ASYNC_UPDATE_AUTOMATIC=0]="QT_LOTTIE_ASYNC_UPDATE_AUTOMATIC",e[e.QT_LOTTIE_ASYNC_UPDATE_ENABLED=1]="QT_LOTTIE_ASYNC_UPDATE_ENABLED",e[e.QT_LOTTIE_ASYNC_UPDATE_DISABLED=2]="QT_LOTTIE_ASYNC_UPDATE_DISABLED"}(Ui||(Ui={})),function(e){e[e.QT_GRADIENT_ORIENTATION_TOP_BOTTOM=0]="QT_GRADIENT_ORIENTATION_TOP_BOTTOM",e[e.QT_GRADIENT_ORIENTATION_TR_BL=1]="QT_GRADIENT_ORIENTATION_TR_BL",e[e.QT_GRADIENT_ORIENTATION_RIGHT_LEFT=2]="QT_GRADIENT_ORIENTATION_RIGHT_LEFT",e[e.QT_GRADIENT_ORIENTATION_BR_TL=3]="QT_GRADIENT_ORIENTATION_BR_TL",e[e.QT_GRADIENT_ORIENTATION_BOTTOM_TOP=4]="QT_GRADIENT_ORIENTATION_BOTTOM_TOP",e[e.QT_GRADIENT_ORIENTATION_BL_TR=5]="QT_GRADIENT_ORIENTATION_BL_TR",e[e.QT_GRADIENT_ORIENTATION_LEFT_RIGHT=6]="QT_GRADIENT_ORIENTATION_LEFT_RIGHT",e[e.QT_GRADIENT_ORIENTATION_TL_BR=7]="QT_GRADIENT_ORIENTATION_TL_BR"}(Ci||(Ci={})),function(e){e[e.QT_GRADIENT_SHAPE_RECTANGLE=0]="QT_GRADIENT_SHAPE_RECTANGLE",e[e.QT_GRADIENT_SHAPE_OVAL=1]="QT_GRADIENT_SHAPE_OVAL",e[e.QT_GRADIENT_SHAPE_LINE=2]="QT_GRADIENT_SHAPE_LINE",e[e.QT_GRADIENT_SHAPE_RING=3]="QT_GRADIENT_SHAPE_RING"}(xi||(xi={})),function(e){e[e.QT_GRADIENT_TYPE_LINEAR_GRADIENT=0]="QT_GRADIENT_TYPE_LINEAR_GRADIENT",e[e.QT_GRADIENT_TYPE_RADIAL_GRADIENT=1]="QT_GRADIENT_TYPE_RADIAL_GRADIENT",e[e.QT_GRADIENT_TYPE_SWEEP_GRADIENT=2]="QT_GRADIENT_TYPE_SWEEP_GRADIENT"}(Di||(Di={}));const Bi={callUIModule(e,t,n){N.callNative("UIManagerModule","callUIFunction",e,t,n)},callUIModuleAsync:async(e,t,n,o=1e3)=>new Promise((a=>{let i=setTimeout((()=>{a(!1)}),o);N.callNative("UIManagerModule","callUIFunctionWithPromise",e,t,n,(e=>{clearTimeout(i),a(e)}))})),call(e,t,n){N.callNative("ExtendModule","callUIFunction",e,t,n)},callAsync:async(e,t,n,o=1e3)=>new Promise((a=>{let i=setTimeout((()=>{a(!1)}),o);N.callNative("ExtendModule","callUIFunctionWithPromise",e,t,n,(e=>{clearTimeout(i),a(e)}))})),tvCall(e,t,n,o){N.callNative("ExtendModule","callUIFunction",e,n,[t,...o])},tvCallAsync:(e,t,n,o,a=1e3)=>new Promise((i=>{let l=setTimeout((()=>{i(!1)}),a);N.callNative("ExtendModule","callUIFunctionWithPromise",e,n,[t,...o],(e=>{clearTimeout(l),i(e)}))})),updateChild(e,t,n){this.tvCall(e,t,"searchReplaceItem",[n])},updateBySid(e,t){this.tvCall("",e,"searchReplaceItem",[t])}},Mi=[to,oo,ao,lo,so,uo,zo,Jo,aa,Ba,$a,Ga,Qa,Ii,Oi],$i=t=>{t.component("qt-loading-view",{setup(t,n){const o=e();return n.expose({viewRef:o,...eo(o)}),()=>P("LoadingViewComponent",{ref:o})}}),wi(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)=>{N.callUIFunction(o.value,"updateItem",[e,t])},dispatchItemFunction:(e,t,n,a)=>{N.callUIFunction(o.value,"dispatchItemFunction",[e,t,n,a])},updateItemProps:(e,t,n)=>{N.callUIFunction(o.value,"updateItemProps",[t,e,n,!0])},batch:e=>{N.callUIFunction(o.value,"batch",[e])},...eo(o)}),()=>{const e=n.slots.default&&n.slots.default();return P("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();p((()=>{a(!0),l(!0),u(!0),s(!0),r(!0),c(!0),_(!0),f(!0),d(!0),g(!0),i(1),T(2)}));const a=e=>{N.callUIFunction(o.value,"setJavaScriptEnabled",[e],(e=>{}))},i=e=>{N.callUIFunction(o.value,"setPluginState",[e],(e=>{}))},l=e=>{N.callUIFunction(o.value,"setJavaScriptCanOpenWindowsAutomatically",[e],(e=>{}))},c=e=>{N.callUIFunction(o.value,"setUseWideViewPort",[e],(e=>{}))},s=e=>{N.callUIFunction(o.value,"setSupportZoom",[e],(e=>{}))},r=e=>{N.callUIFunction(o.value,"setBuiltInZoomControls",[e],(e=>{}))},u=e=>{N.callUIFunction(o.value,"setAllowFileAccess",[e],(e=>{}))},d=e=>{N.callUIFunction(o.value,"setDomStorageEnabled",[e],(e=>{}))},f=e=>{N.callUIFunction(o.value,"setAppCacheEnabled",[e],(e=>{}))},g=e=>{N.callUIFunction(o.value,"setGeolocationEnabled",[e],(e=>{}))},_=e=>{N.callUIFunction(o.value,"setSupportMultipleWindows",[e],(e=>{}))},T=e=>{N.callUIFunction(o.value,"setCacheMode",[e],(e=>{}))};return n.expose({loadUrl:e=>{N.callUIFunction(o.value,"loadUrl",[e],(e=>{}))},evaluateJavascript:e=>new Promise(((t,n)=>{N.callUIFunction(o.value,"evaluateJavascript",[e],(e=>{t(e)}))})),canGoBack:()=>{N.callUIFunction(o.value,"canGoBack",[],(e=>{n.emit("onCanGoBack",e)}))},goBack:()=>{N.callUIFunction(o.value,"goBack",[],(e=>{}))},canGoForward:()=>{N.callUIFunction(o.value,"canGoForward",[],(e=>{n.emit("onCanGoForward",e)}))},goForward:()=>{N.callUIFunction(o.value,"goForward",[],(e=>{}))},canGoBackOrForward:e=>{N.callUIFunction(o.value,"canGoBackOrForward",[e],(e=>{n.emit("onCanGoBackOrForward",e)}))},goBackOrForward:e=>{N.callUIFunction(o.value,"goBackOrForward",[e],(e=>{}))},onResume:()=>{N.callUIFunction(o.value,"onResume",[],(e=>{}))},onPause:()=>{N.callUIFunction(o.value,"onPause",[],(e=>{}))},pauseTimers:()=>{N.callUIFunction(o.value,"pauseTimers",[],(e=>{}))},resumeTimers:()=>{N.callUIFunction(o.value,"resumeTimers",[],(e=>{}))},destroy:()=>{N.callUIFunction(o.value,"destroy",[],(e=>{}))},setJavaScriptEnabled:a,setPluginState:i,setJavaScriptCanOpenWindowsAutomatically:l,setUseWideViewPort:c,setLoadWithOverviewMode:e=>{N.callUIFunction(o.value,"setLoadWithOverviewMode",[e],(e=>{}))},setSupportZoom:s,setBuiltInZoomControls:r,setDisplayZoomControls:e=>{N.callUIFunction(o.value,"setDisplayZoomControls",[e],(e=>{}))},setAllowFileAccess:u,setDomStorageEnabled:d,setDatabaseEnabled:e=>{N.callUIFunction(o.value,"setDatabaseEnabled",[e],(e=>{}))},setAppCacheEnabled:f,setAppCachePath:e=>{N.callUIFunction(o.value,"setAppCachePath",[e],(e=>{}))},setMediaPlaybackRequiresUserGesture:e=>{N.callUIFunction(o.value,"setMediaPlaybackRequiresUserGesture",[e],(e=>{}))},setStandardFontFamily:e=>{N.callUIFunction(o.value,"setStandardFontFamily",[e],(e=>{}))},setFixedFontFamily:e=>{N.callUIFunction(o.value,"setFixedFontFamily",[e],(e=>{}))},setSansSerifFontFamily:e=>{N.callUIFunction(o.value,"setSansSerifFontFamily",[e],(e=>{}))},setSerifFontFamily:e=>{N.callUIFunction(o.value,"setSerifFontFamily",[e],(e=>{}))},setCursiveFontFamily:e=>{N.callUIFunction(o.value,"setCursiveFontFamily",[e],(e=>{}))},setFantasyFontFamily:e=>{N.callUIFunction(o.value,"setFantasyFontFamily",[e],(e=>{}))},setTextZoom:e=>{N.callUIFunction(o.value,"setTextZoom",[e],(e=>{}))},setMinimumFontSize:e=>{N.callUIFunction(o.value,"setMinimumFontSize",[e],(e=>{}))},setDefaultFontSize:e=>{N.callUIFunction(o.value,"setDefaultFontSize",[e],(e=>{}))},setLayoutAlgorithm:e=>{N.callUIFunction(o.value,"setLayoutAlgorithm",[e],(e=>{}))},setLoadsImagesAutomatically:e=>{N.callUIFunction(o.value,"setLoadsImagesAutomatically",[e],(e=>{}))},setDefaultTextEncodingName:e=>{N.callUIFunction(o.value,"setDefaultTextEncodingName",[e],(e=>{}))},setNeedInitialFocus:e=>{N.callUIFunction(o.value,"setNeedInitialFocus",[e],(e=>{}))},setGeolocationEnabled:g,setBlockNetworkLoads:e=>{N.callUIFunction(o.value,"setBlockNetworkLoads",[e],(e=>{}))},setSupportMultipleWindows:_,setAppCacheMaxSize:e=>{N.callUIFunction(o.value,"setAppCacheMaxSize",[e],(e=>{}))},setRenderPriority:e=>{N.callUIFunction(o.value,"setRenderPriority",[e],(e=>{}))},setCacheMode:T,setAllowContentAccess:e=>{N.callUIFunction(o.value,"setAllowContentAccess",[e],(e=>{}))},setEnableSmoothTransition:e=>{N.callUIFunction(o.value,"setEnableSmoothTransition",[e],(e=>{}))},setSaveFormData:e=>{N.callUIFunction(o.value,"setSaveFormData",[e],(e=>{}))},setSavePassword:e=>{N.callUIFunction(o.value,"setSavePassword",[e],(e=>{}))},setTextSize:e=>{N.callUIFunction(o.value,"setTextSize",[e],(e=>{}))},setDefaultZoom:e=>{N.callUIFunction(o.value,"setDefaultZoom",[e],(e=>{}))},setLightTouchEnabled:e=>{N.callUIFunction(o.value,"setLightTouchEnabled",[e],(e=>{}))},setMinimumLogicalFontSize:e=>{N.callUIFunction(o.value,"setMinimumLogicalFontSize",[e],(e=>{}))},setDefaultFixedFontSize:e=>{N.callUIFunction(o.value,"setDefaultFixedFontSize",[e],(e=>{}))},setBlockNetworkImage:e=>{N.callUIFunction(o.value,"setBlockNetworkImage",[e],(e=>{}))},setAllowUniversalAccessFromFileURLs:e=>{N.callUIFunction(o.value,"setAllowUniversalAccessFromFileURLs",[e],(e=>{}))},setAllowFileAccessFromFileURLs:e=>{N.callUIFunction(o.value,"setAllowFileAccessFromFileURLs",[e],(e=>{}))},setDatabasePath:e=>{N.callUIFunction(o.value,"setDatabasePath",[e],(e=>{}))},setGeolocationDatabasePath:e=>{N.callUIFunction(o.value,"setGeolocationDatabasePath",[e],(e=>{}))},setUserAgentString:e=>{N.callUIFunction(o.value,"setUserAgentString",[e],(e=>{}))},setMixedContentMode:e=>{N.callUIFunction(o.value,"setMixedContentMode",[e],(e=>{}))},setOffscreenPreRaster:e=>{N.callUIFunction(o.value,"setOffscreenPreRaster",[e],(e=>{}))},setSafeBrowsingEnabled:e=>{N.callUIFunction(o.value,"setSafeBrowsingEnabled",[e],(e=>{}))},setForceDark:e=>{N.callUIFunction(o.value,"setForceDark",[e],(e=>{}))},setDisabledActionModeMenuItems:e=>{N.callUIFunction(o.value,"setDisabledActionModeMenuItems",[e],(e=>{}))},...eo(o)}),()=>P("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();p((()=>{a(!0),l(!0),u(!0),s(!0),r(!0),c(!0),_(!0),f(!0),d(!0),g(!0),i(1),T(2)}));const a=e=>{N.callUIFunction(o.value,"setJavaScriptEnabled",[e],(e=>{}))},i=e=>{N.callUIFunction(o.value,"setPluginState",[e],(e=>{}))},l=e=>{N.callUIFunction(o.value,"setJavaScriptCanOpenWindowsAutomatically",[e],(e=>{}))},c=e=>{N.callUIFunction(o.value,"setUseWideViewPort",[e],(e=>{}))},s=e=>{N.callUIFunction(o.value,"setSupportZoom",[e],(e=>{}))},r=e=>{N.callUIFunction(o.value,"setBuiltInZoomControls",[e],(e=>{}))},u=e=>{N.callUIFunction(o.value,"setAllowFileAccess",[e],(e=>{}))},d=e=>{N.callUIFunction(o.value,"setDomStorageEnabled",[e],(e=>{}))},f=e=>{N.callUIFunction(o.value,"setAppCacheEnabled",[e],(e=>{}))},g=e=>{N.callUIFunction(o.value,"setGeolocationEnabled",[e],(e=>{}))},_=e=>{N.callUIFunction(o.value,"setSupportMultipleWindows",[e],(e=>{}))},T=e=>{N.callUIFunction(o.value,"setCacheMode",[e],(e=>{}))};return n.expose({loadUrl:e=>{N.callUIFunction(o.value,"loadUrl",[e],(e=>{}))},evaluateJavascript:e=>new Promise(((t,n)=>{N.callUIFunction(o.value,"evaluateJavascript",[e],(e=>{t(e)}))})),canGoBack:()=>{N.callUIFunction(o.value,"canGoBack",[],(e=>{n.emit("onCanGoBack",e)}))},goBack:()=>{N.callUIFunction(o.value,"goBack",[],(e=>{}))},canGoForward:()=>{N.callUIFunction(o.value,"canGoForward",[],(e=>{n.emit("onCanGoForward",e)}))},goForward:()=>{N.callUIFunction(o.value,"goForward",[],(e=>{}))},canGoBackOrForward:e=>{N.callUIFunction(o.value,"canGoBackOrForward",[e],(e=>{n.emit("onCanGoBackOrForward",e)}))},goBackOrForward:e=>{N.callUIFunction(o.value,"goBackOrForward",[e],(e=>{}))},onResume:()=>{N.callUIFunction(o.value,"onResume",[],(e=>{}))},onPause:()=>{N.callUIFunction(o.value,"onPause",[],(e=>{}))},pauseTimers:()=>{N.callUIFunction(o.value,"pauseTimers",[],(e=>{}))},resumeTimers:()=>{N.callUIFunction(o.value,"resumeTimers",[],(e=>{}))},destroy:()=>{N.callUIFunction(o.value,"destroy",[],(e=>{}))},setJavaScriptEnabled:a,setPluginState:i,setJavaScriptCanOpenWindowsAutomatically:l,setUseWideViewPort:c,setLoadWithOverviewMode:e=>{N.callUIFunction(o.value,"setLoadWithOverviewMode",[e],(e=>{}))},setSupportZoom:s,setBuiltInZoomControls:r,setDisplayZoomControls:e=>{N.callUIFunction(o.value,"setDisplayZoomControls",[e],(e=>{}))},setAllowFileAccess:u,setDomStorageEnabled:d,setDatabaseEnabled:e=>{N.callUIFunction(o.value,"setDatabaseEnabled",[e],(e=>{}))},setAppCacheEnabled:f,setAppCachePath:e=>{N.callUIFunction(o.value,"setAppCachePath",[e],(e=>{}))},setMediaPlaybackRequiresUserGesture:e=>{N.callUIFunction(o.value,"setMediaPlaybackRequiresUserGesture",[e],(e=>{}))},setStandardFontFamily:e=>{N.callUIFunction(o.value,"setStandardFontFamily",[e],(e=>{}))},setFixedFontFamily:e=>{N.callUIFunction(o.value,"setFixedFontFamily",[e],(e=>{}))},setSansSerifFontFamily:e=>{N.callUIFunction(o.value,"setSansSerifFontFamily",[e],(e=>{}))},setSerifFontFamily:e=>{N.callUIFunction(o.value,"setSerifFontFamily",[e],(e=>{}))},setCursiveFontFamily:e=>{N.callUIFunction(o.value,"setCursiveFontFamily",[e],(e=>{}))},setFantasyFontFamily:e=>{N.callUIFunction(o.value,"setFantasyFontFamily",[e],(e=>{}))},setTextZoom:e=>{N.callUIFunction(o.value,"setTextZoom",[e],(e=>{}))},setMinimumFontSize:e=>{N.callUIFunction(o.value,"setMinimumFontSize",[e],(e=>{}))},setDefaultFontSize:e=>{N.callUIFunction(o.value,"setDefaultFontSize",[e],(e=>{}))},setLayoutAlgorithm:e=>{N.callUIFunction(o.value,"setLayoutAlgorithm",[e],(e=>{}))},setLoadsImagesAutomatically:e=>{N.callUIFunction(o.value,"setLoadsImagesAutomatically",[e],(e=>{}))},setDefaultTextEncodingName:e=>{N.callUIFunction(o.value,"setDefaultTextEncodingName",[e],(e=>{}))},setNeedInitialFocus:e=>{N.callUIFunction(o.value,"setNeedInitialFocus",[e],(e=>{}))},setGeolocationEnabled:g,setBlockNetworkLoads:e=>{N.callUIFunction(o.value,"setBlockNetworkLoads",[e],(e=>{}))},setSupportMultipleWindows:_,setAppCacheMaxSize:e=>{N.callUIFunction(o.value,"setAppCacheMaxSize",[e],(e=>{}))},setRenderPriority:e=>{N.callUIFunction(o.value,"setRenderPriority",[e],(e=>{}))},setCacheMode:T,setAllowContentAccess:e=>{N.callUIFunction(o.value,"setAllowContentAccess",[e],(e=>{}))},setEnableSmoothTransition:e=>{N.callUIFunction(o.value,"setEnableSmoothTransition",[e],(e=>{}))},setSaveFormData:e=>{N.callUIFunction(o.value,"setSaveFormData",[e],(e=>{}))},setSavePassword:e=>{N.callUIFunction(o.value,"setSavePassword",[e],(e=>{}))},setTextSize:e=>{N.callUIFunction(o.value,"setTextSize",[e],(e=>{}))},setDefaultZoom:e=>{N.callUIFunction(o.value,"setDefaultZoom",[e],(e=>{}))},setLightTouchEnabled:e=>{N.callUIFunction(o.value,"setLightTouchEnabled",[e],(e=>{}))},setMinimumLogicalFontSize:e=>{N.callUIFunction(o.value,"setMinimumLogicalFontSize",[e],(e=>{}))},setDefaultFixedFontSize:e=>{N.callUIFunction(o.value,"setDefaultFixedFontSize",[e],(e=>{}))},setBlockNetworkImage:e=>{N.callUIFunction(o.value,"setBlockNetworkImage",[e],(e=>{}))},setAllowUniversalAccessFromFileURLs:e=>{N.callUIFunction(o.value,"setAllowUniversalAccessFromFileURLs",[e],(e=>{}))},setAllowFileAccessFromFileURLs:e=>{N.callUIFunction(o.value,"setAllowFileAccessFromFileURLs",[e],(e=>{}))},setDatabasePath:e=>{N.callUIFunction(o.value,"setDatabasePath",[e],(e=>{}))},setGeolocationDatabasePath:e=>{N.callUIFunction(o.value,"setGeolocationDatabasePath",[e],(e=>{}))},setUserAgentString:e=>{N.callUIFunction(o.value,"setUserAgentString",[e],(e=>{}))},setMixedContentMode:e=>{N.callUIFunction(o.value,"setMixedContentMode",[e],(e=>{}))},setOffscreenPreRaster:e=>{N.callUIFunction(o.value,"setOffscreenPreRaster",[e],(e=>{}))},setSafeBrowsingEnabled:e=>{N.callUIFunction(o.value,"setSafeBrowsingEnabled",[e],(e=>{}))},setForceDark:e=>{N.callUIFunction(o.value,"setForceDark",[e],(e=>{}))},setDisabledActionModeMenuItems:e=>{N.callUIFunction(o.value,"setDisabledActionModeMenuItems",[e],(e=>{}))},initJavaScriptInterface:()=>{N.callUIFunction(o.value,"initJavaScriptInterface",[],(e=>{}))},removeJavaScriptInterface:()=>{N.callUIFunction(o.value,"removeJavaScriptInterface",[],(e=>{}))},initWebViewFocus:(e,t,n)=>{N.callUIFunction(o.value,"initWebViewFocus",[e,t,n],(e=>{}))},...eo(o)}),()=>P("ESX5WebViewComponent",{onPageStarted:e=>{let t=e.url;n.emit("onPageStarted",t)},onPageFinished:e=>{let t=e.url;n.emit("onPageFinished",t)},onLoadResource:e=>{let t=e.url;n.emit("onLoadResource",t)},onReceivedSslError:e=>{n.emit("onReceivedSslError",e)},onReceivedError:e=>{let t=e.errorCode,o=e.description,a=e.failingUrl;n.emit("onReceivedError",t,o,a)},onShouldOverrideUrlLoading:e=>{let t=e.url;n.emit("shouldOverrideUrlLoading",t)},onJs2Vue:e=>{let t=e.js2VueValue;n.emit("onJs2Vue",t)},onJsRewardCall:e=>{let t=e.jsRewardCallValue;n.emit("onJsRewardCall",t)},onJsFinishGame:e=>{let t=e.jsFinishGameValue;n.emit("onJsFinishGame",t)},ref:o})}});t.component("qt-x5web-view",n)}(t),function(t){t.component("qt-qr-code",{setup(t,n){const o=e();return n.expose({viewRef:o,...eo(o)}),()=>P("QrCodeComponent",{ref:o})}})}(t),function(t){const n=l({name:"qt-seek-bar",props:{emitEventDelay:{type:Number,default:100},onProgressChanged:{type:Function,default:null}},emits:["onSeekStart","onSeekStop","onFocusChanged","onSeekChanged"],setup(t,n){const o=e(),a=e(!1),i=e(1),l=e(0),c=e(0),s=e(0),r=e(0);function u(e){1===i.value&&(r.value=e,N.callUIFunction(o.value,"setProgress",[e],(e=>{})))}function d(e){1===i.value&&(s.value=e,N.callUIFunction(o.value,"setMaxProgress",[e],(e=>{})))}return n.expose({viewRef:o,isSeekBarFocused:a,seekBarMode:i,seekCount:l,progressCallBackTime:c,maxProgress:s,progress:r,startSeek:function(e){if(a.value){i.value=2,n.emit("onSeekStart",r.value),l.value+=1;let a=1;l.value>20?a=2:l.value>50?a=4:l.value>100&&(a=6);let u=s.value,d=Math.floor(.01*u*a);if(r.value=r.value+(e?d:-d),r.value>u?r.value=u:r.value<0&&(r.value=0),N.callUIFunction(o.value,"setProgress",[r.value],(e=>{})),t.onProgressChanged){let e=(new Date).getTime();e-c.value>t.emitEventDelay&&(t.onProgressChanged(r.value),c.value=e)}}},stopSeek:function(){l.value=0,2==i.value&&n.emit("onSeekStop",r.value),i.value=1},isFocused:function(){return a.value},resetSeekbar:function(){i.value=1,d(0),u(0)},invalidateSeekBar:function(){N.callUIFunction(o.value,"invalidateSeekBar",[],(e=>{}))},setFocusable:function(e){N.callUIFunction(o.value,"setFocusable",[e],(e=>{}))},setClickable:function(e){N.callUIFunction(o.value,"setClickable",[e],(e=>{}))},requestLayout:function(){N.callUIFunction(o.value,"requestLayout",[],(e=>{}))},invalidate:function(){N.callUIFunction(o.value,"invalidate",[],(e=>{}))},setVisible:function(e){N.callUIFunction(o.value,"setVisible",[e],(e=>{}))},setLeftSeekBarVisible:function(e){N.callUIFunction(o.value,"setLeftSeekBarVisible",[e],(e=>{}))},setRightSeekBarVisible:function(e){N.callUIFunction(o.value,"setRightSeekBarVisible",[e],(e=>{}))},setSeekBarMode:function(e){N.callUIFunction(o.value,"setSeekBarMode",[e],(e=>{}))},setProgress:u,setRangeProgress:function(e,t){N.callUIFunction(o.value,"setProgress",[e,t],(e=>{}))},getProgress:function(){N.callUIFunction(o.value,"getProgress",[],(e=>{}))},getLeftProgress:function(){N.callUIFunction(o.value,"getLeftProgress",[],(e=>{}))},getRightProgress:function(){N.callUIFunction(o.value,"getRightProgress",[],(e=>{}))},setRange:function(e,t,n){N.callUIFunction(o.value,"setRange",[e,t,n],(e=>{}))},setGravity:function(e){N.callUIFunction(o.value,"setGravity",[e],(e=>{}))},setProgressWidth:function(e){N.callUIFunction(o.value,"setProgressWidth",[e],(e=>{}))},setProgressHeight:function(e){N.callUIFunction(o.value,"setProgressHeight",[e],(e=>{}))},setProgressRadius:function(e){N.callUIFunction(o.value,"setProgressRadius",[e],(e=>{}))},setProgressColor:function(e){N.callUIFunction(o.value,"setProgressColor",[e],(e=>{}))},setProgressDefaultColor:function(e){N.callUIFunction(o.value,"setProgressDefaultColor",[e],(e=>{}))},setProgressDrawable:function(e){N.callUIFunction(o.value,"setProgressDrawable",[e],(e=>{}))},setProgressDefaultDrawable:function(e){N.callUIFunction(o.value,"setProgressDefaultDrawable",[e],(e=>{}))},setProgressUrl:function(e){N.callUIFunction(o.value,"setProgressUrl",[e],(e=>{}))},setProgressDefaultUrl:function(e){N.callUIFunction(o.value,"setProgressDefaultUrl",[e],(e=>{}))},showIndicator:function(e){N.callUIFunction(o.value,"showIndicator",[e],(e=>{}))},showLeftIndicator:function(e){N.callUIFunction(o.value,"showLeftIndicator",[e],(e=>{}))},showRightIndicator:function(e){N.callUIFunction(o.value,"showRightIndicator",[e],(e=>{}))},setIndicatorShowMode:function(e){N.callUIFunction(o.value,"setIndicatorShowMode",[e],(e=>{}))},setLeftIndicatorShowMode:function(e){N.callUIFunction(o.value,"setLeftIndicatorShowMode",[e],(e=>{}))},setRightIndicatorShowMode:function(e){N.callUIFunction(o.value,"setRightIndicatorShowMode",[e],(e=>{}))},setIndicatorWidth:function(e){N.callUIFunction(o.value,"setIndicatorWidth",[e],(e=>{}))},setLeftIndicatorWidth:function(e){N.callUIFunction(o.value,"setLeftIndicatorWidth",[e],(e=>{}))},setRightIndicatorWidth:function(e){N.callUIFunction(o.value,"setRightIndicatorWidth",[e],(e=>{}))},setIndicatorHeight:function(e){N.callUIFunction(o.value,"setIndicatorHeight",[e],(e=>{}))},setLeftIndicatorHeight:function(e){N.callUIFunction(o.value,"setLeftIndicatorHeight",[e],(e=>{}))},setRightIndicatorHeight:function(e){N.callUIFunction(o.value,"setRightIndicatorHeight",[e],(e=>{}))},setIndicatorTextDecimalFormat:function(e){N.callUIFunction(o.value,"setIndicatorTextDecimalFormat",[e],(e=>{}))},setLeftIndicatorTextDecimalFormat:function(e){N.callUIFunction(o.value,"setLeftIndicatorTextDecimalFormat",[e],(e=>{}))},setRightIndicatorTextDecimalFormat:function(e){N.callUIFunction(o.value,"setRightIndicatorTextDecimalFormat",[e],(e=>{}))},setIndicatorTextStringFormat:function(e){N.callUIFunction(o.value,"setIndicatorTextStringFormat",[e],(e=>{}))},setLeftIndicatorTextStringFormat:function(e){N.callUIFunction(o.value,"setLeftIndicatorTextStringFormat",[e],(e=>{}))},setRightIndicatorTextStringFormat:function(e){N.callUIFunction(o.value,"setRightIndicatorTextStringFormat",[e],(e=>{}))},setIndicatorMargin:function(e){N.callUIFunction(o.value,"setIndicatorMargin",[e],(e=>{}))},setLeftIndicatorMargin:function(e){N.callUIFunction(o.value,"setLeftIndicatorMargin",[e],(e=>{}))},setRightIndicatorMargin:function(e){N.callUIFunction(o.value,"setRightIndicatorMargin",[e],(e=>{}))},setIndicatorPaddingBottom:function(e){N.callUIFunction(o.value,"setIndicatorPaddingBottom",[e],(e=>{}))},setLeftIndicatorPaddingBottom:function(e){N.callUIFunction(o.value,"setLeftIndicatorPaddingBottom",[e],(e=>{}))},setRightIndicatorPaddingBottom:function(e){N.callUIFunction(o.value,"setRightIndicatorPaddingBottom",[e],(e=>{}))},setIndicatorPaddingTop:function(e){N.callUIFunction(o.value,"setIndicatorPaddingTop",[e],(e=>{}))},setLeftIndicatorPaddingTop:function(e){N.callUIFunction(o.value,"setLeftIndicatorPaddingTop",[e],(e=>{}))},setRightIndicatorPaddingTop:function(e){N.callUIFunction(o.value,"setRightIndicatorPaddingTop",[e],(e=>{}))},setIndicatorPaddingLeft:function(e){N.callUIFunction(o.value,"setIndicatorPaddingLeft",[e],(e=>{}))},setLeftIndicatorPaddingLeft:function(e){N.callUIFunction(o.value,"setLeftIndicatorPaddingLeft",[e],(e=>{}))},setRightIndicatorPaddingLeft:function(e){N.callUIFunction(o.value,"setRightIndicatorPaddingLeft",[e],(e=>{}))},setIndicatorPaddingRight:function(e){N.callUIFunction(o.value,"setIndicatorPaddingRight",[e],(e=>{}))},setLeftIndicatorPaddingRight:function(e){N.callUIFunction(o.value,"setLeftIndicatorPaddingRight",[e],(e=>{}))},setRightIndicatorPaddingRight:function(e){N.callUIFunction(o.value,"setRightIndicatorPaddingRight",[e],(e=>{}))},setIndicatorBackgroundColor:function(e){N.callUIFunction(o.value,"setIndicatorBackgroundColor",[e],(e=>{}))},setLeftIndicatorBackgroundColor:function(e){N.callUIFunction(o.value,"setLeftIndicatorBackgroundColor",[e],(e=>{}))},setRightIndicatorBackgroundColor:function(e){N.callUIFunction(o.value,"setRightIndicatorBackgroundColor",[e],(e=>{}))},setIndicatorRadius:function(e){N.callUIFunction(o.value,"setIndicatorRadius",[e],(e=>{}))},setLeftIndicatorRadius:function(e){N.callUIFunction(o.value,"setLeftIndicatorRadius",[e],(e=>{}))},setRightIndicatorRadius:function(e){N.callUIFunction(o.value,"setRightIndicatorRadius",[e],(e=>{}))},setIndicatorTextSize:function(e){N.callUIFunction(o.value,"setIndicatorTextSize",[e],(e=>{}))},setLeftIndicatorTextSize:function(e){N.callUIFunction(o.value,"setLeftIndicatorTextSize",[e],(e=>{}))},setRightIndicatorTextSize:function(e){N.callUIFunction(o.value,"setRightIndicatorTextSize",[e],(e=>{}))},setIndicatorTextColor:function(e){N.callUIFunction(o.value,"setIndicatorTextColor",[e],(e=>{}))},setLeftIndicatorTextColor:function(e){N.callUIFunction(o.value,"setLeftIndicatorTextColor",[e],(e=>{}))},setRightIndicatorTextColor:function(e){N.callUIFunction(o.value,"setRightIndicatorTextColor",[e],(e=>{}))},setIndicatorArrowSize:function(e){N.callUIFunction(o.value,"setIndicatorArrowSize",[e],(e=>{}))},setLeftIndicatorArrowSize:function(e){N.callUIFunction(o.value,"setLeftIndicatorArrowSize",[e],(e=>{}))},setRightIndicatorArrowSize:function(e){N.callUIFunction(o.value,"setRightIndicatorArrowSize",[e],(e=>{}))},setIndicatorDrawable:function(e){N.callUIFunction(o.value,"setIndicatorDrawable",[e],(e=>{}))},setLeftIndicatorDrawable:function(e){N.callUIFunction(o.value,"setLeftIndicatorDrawable",[e],(e=>{}))},setRightIndicatorDrawable:function(e){N.callUIFunction(o.value,"setRightIndicatorDrawable",[e],(e=>{}))},setIndicatorUrl:function(e){N.callUIFunction(o.value,"setIndicatorUrl",[e],(e=>{}))},setLeftIndicatorUrl:function(e){N.callUIFunction(o.value,"setLeftIndicatorUrl",[e],(e=>{}))},setRightIndicatorUrl:function(e){N.callUIFunction(o.value,"setRightIndicatorUrl",[e],(e=>{}))},setThumbWidth:function(e){N.callUIFunction(o.value,"setThumbWidth",[e],(e=>{}))},setLeftThumbWidth:function(e){N.callUIFunction(o.value,"setLeftThumbWidth",[e],(e=>{}))},setRightThumbWidth:function(e){N.callUIFunction(o.value,"setRightThumbWidth",[e],(e=>{}))},setThumbHeight:function(e){N.callUIFunction(o.value,"setThumbHeight",[e],(e=>{}))},setLeftThumbHeight:function(e){N.callUIFunction(o.value,"setLeftThumbHeight",[e],(e=>{}))},setRightThumbHeight:function(e){N.callUIFunction(o.value,"setRightThumbHeight",[e],(e=>{}))},scaleThumb:function(){N.callUIFunction(o.value,"scaleThumb",[],(e=>{}))},scaleLeftThumb:function(){N.callUIFunction(o.value,"scaleLeftThumb",[],(e=>{}))},scaleRightThumb:function(){N.callUIFunction(o.value,"scaleLeftThumb",[],(e=>{}))},resetThumb:function(){N.callUIFunction(o.value,"resetThumb",[],(e=>{}))},resetLeftThumb:function(){N.callUIFunction(o.value,"resetLeftThumb",[],(e=>{}))},resetRightThumb:function(){N.callUIFunction(o.value,"resetRightThumb",[],(e=>{}))},setThumbScaleRatio:function(e){N.callUIFunction(o.value,"setThumbScaleRatio",[e],(e=>{}))},setLeftThumbScaleRatio:function(e){N.callUIFunction(o.value,"setLeftThumbScaleRatio",[e],(e=>{}))},setRightThumbScaleRatio:function(e){N.callUIFunction(o.value,"setRightThumbScaleRatio",[e],(e=>{}))},setThumbActivate:function(e){N.callUIFunction(o.value,"setThumbActivate",[e],(e=>{}))},setLeftThumbActivate:function(e){N.callUIFunction(o.value,"setLeftThumbActivate",[e],(e=>{}))},setRightThumbActivate:function(e){N.callUIFunction(o.value,"setRightThumbActivate",[e],(e=>{}))},setThumbDrawable:function(e){N.callUIFunction(o.value,"setThumbDrawable",[e],(e=>{}))},setLeftThumbDrawable:function(e){N.callUIFunction(o.value,"setLeftThumbDrawable",[e],(e=>{}))},setRightThumbDrawable:function(e){N.callUIFunction(o.value,"setRightThumbDrawable",[e],(e=>{}))},setThumbUrl:function(e){N.callUIFunction(o.value,"setThumbUrl",[e],(e=>{}))},setLeftThumbUrl:function(e){N.callUIFunction(o.value,"setLeftThumbUrl",[e],(e=>{}))},setRightThumbUrl:function(e){N.callUIFunction(o.value,"setRightThumbUrl",[e],(e=>{}))},setThumbInactivatedDrawable:function(e){N.callUIFunction(o.value,"setThumbInactivatedDrawable",[e],(e=>{}))},setLeftThumbInactivatedDrawable:function(e){N.callUIFunction(o.value,"setLeftThumbInactivatedDrawable",[e],(e=>{}))},setRightThumbInactivatedDrawable:function(e){N.callUIFunction(o.value,"setRightThumbInactivatedDrawable",[e],(e=>{}))},setThumbInactivatedUrl:function(e){N.callUIFunction(o.value,"setThumbInactivatedUrl",[e],(e=>{}))},setLeftThumbInactivatedUrl:function(e){N.callUIFunction(o.value,"setLeftThumbInactivatedUrl",[e],(e=>{}))},setRightThumbInactivatedUrl:function(e){N.callUIFunction(o.value,"setRightThumbInactivatedUrl",[e],(e=>{}))},setTickMarkMode:function(e){N.callUIFunction(o.value,"setTickMarkMode",[e],(e=>{}))},setTickMarkGravity:function(e){N.callUIFunction(o.value,"setTickMarkGravity",[e],(e=>{}))},setTickMarkLayoutGravity:function(e){N.callUIFunction(o.value,"setTickMarkLayoutGravity",[e],(e=>{}))},setTickMarkTextArray:function(e){N.callUIFunction(o.value,"setTickMarkTextArray",[e],(e=>{}))},setTickMarkTextMargin:function(e){N.callUIFunction(o.value,"setTickMarkTextMargin",[e],(e=>{}))},setTickMarkTextSize:function(e){N.callUIFunction(o.value,"setTickMarkTextSize",[e],(e=>{}))},setTickMarkTextColor:function(e){N.callUIFunction(o.value,"setTickMarkTextColor",[e],(e=>{}))},setTickMarkInRangeTextColor:function(e){N.callUIFunction(o.value,"setTickMarkInRangeTextColor",[e],(e=>{}))},setSteps:function(e){N.callUIFunction(o.value,"setSteps",[e],(e=>{}))},setStepsWidth:function(e){N.callUIFunction(o.value,"setStepsWidth",[e],(e=>{}))},setStepsHeight:function(e){N.callUIFunction(o.value,"setStepsHeight",[e],(e=>{}))},setStepsRadius:function(e){N.callUIFunction(o.value,"setStepsRadius",[e],(e=>{}))},setStepsColor:function(e){N.callUIFunction(o.value,"setStepsColor",[e],(e=>{}))},setStepsAutoBonding:function(e){N.callUIFunction(o.value,"setStepsAutoBonding",[e],(e=>{}))},setStepsDrawable:function(e){N.callUIFunction(o.value,"setStepsDrawable",[e],(e=>{}))},setStepsUrl:function(e){N.callUIFunction(o.value,"setStepsUrl",[e],(e=>{}))},setSecondProgress:function(e){N.callUIFunction(o.value,"setSecondProgress",[e],(e=>{}))},show:function(e){N.callUIFunction(o.value,"show",[e],(e=>{}))},setMaxProgress:d,...eo(o)}),()=>P("TVSeekBarViewComponent",{ref:o,onFocus:e=>{a.value=e.isFocused,n.emit("onFocusChanged",e.isFocused)},onSeekBarChange:e=>{n.emit("onSeekChanged",e.progress)}})}});t.component("qt-seek-bar",n)}(t),function(t){const n=Tn({name:"qt-progress-bar",emits:["onFocusChanged","onSeekChanged"],setup(t,n){const o=e();return n.expose({viewRef:o,invalidateProgressBar:function(){N.callUIFunction(o.value,"invalidateSeekBar",[],(e=>{}))},setFocusable:function(e){N.callUIFunction(o.value,"setFocusable",[e],(e=>{}))},setClickable:function(e){N.callUIFunction(o.value,"setClickable",[e],(e=>{}))},requestLayout:function(){N.callUIFunction(o.value,"requestLayout",[],(e=>{}))},invalidate:function(){N.callUIFunction(o.value,"invalidate",[],(e=>{}))},setVisible:function(e){N.callUIFunction(o.value,"setVisible",[e],(e=>{}))},setLeftSeekBarVisible:function(e){N.callUIFunction(o.value,"setLeftSeekBarVisible",[e],(e=>{}))},setRightSeekBarVisible:function(e){N.callUIFunction(o.value,"setRightSeekBarVisible",[e],(e=>{}))},setSeekBarMode:function(e){N.callUIFunction(o.value,"setSeekBarMode",[e],(e=>{}))},setProgress:function(e){N.callUIFunction(o.value,"setProgress",[e],(e=>{}))},setRangeProgress:function(e,t){N.callUIFunction(o.value,"setProgress",[e,t],(e=>{}))},getProgress:function(){N.callUIFunction(o.value,"getProgress",[],(e=>{}))},getLeftProgress:function(){N.callUIFunction(o.value,"getLeftProgress",[],(e=>{}))},getRightProgress:function(){N.callUIFunction(o.value,"getRightProgress",[],(e=>{}))},setRange:function(e,t,n){N.callUIFunction(o.value,"setRange",[e,t,n],(e=>{}))},setGravity:function(e){N.callUIFunction(o.value,"setGravity",[e],(e=>{}))},setProgressWidth:function(e){N.callUIFunction(o.value,"setProgressWidth",[e],(e=>{}))},setProgressHeight:function(e){N.callUIFunction(o.value,"setProgressHeight",[e],(e=>{}))},setProgressRadius:function(e){N.callUIFunction(o.value,"setProgressRadius",[e],(e=>{}))},setProgressColor:function(e){N.callUIFunction(o.value,"setProgressColor",[e],(e=>{}))},setProgressDefaultColor:function(e){N.callUIFunction(o.value,"setProgressDefaultColor",[e],(e=>{}))},setProgressDrawable:function(e){N.callUIFunction(o.value,"setProgressDrawable",[e],(e=>{}))},setProgressDefaultDrawable:function(e){N.callUIFunction(o.value,"setProgressDefaultDrawable",[e],(e=>{}))},setProgressUrl:function(e){N.callUIFunction(o.value,"setProgressUrl",[e],(e=>{}))},setProgressDefaultUrl:function(e){N.callUIFunction(o.value,"setProgressDefaultUrl",[e],(e=>{}))},showIndicator:function(e){N.callUIFunction(o.value,"showIndicator",[e],(e=>{}))},showLeftIndicator:function(e){N.callUIFunction(o.value,"showLeftIndicator",[e],(e=>{}))},showRightIndicator:function(e){N.callUIFunction(o.value,"showRightIndicator",[e],(e=>{}))},setIndicatorShowMode:function(e){N.callUIFunction(o.value,"setIndicatorShowMode",[e],(e=>{}))},setLeftIndicatorShowMode:function(e){N.callUIFunction(o.value,"setLeftIndicatorShowMode",[e],(e=>{}))},setRightIndicatorShowMode:function(e){N.callUIFunction(o.value,"setRightIndicatorShowMode",[e],(e=>{}))},setIndicatorWidth:function(e){N.callUIFunction(o.value,"setIndicatorWidth",[e],(e=>{}))},setLeftIndicatorWidth:function(e){N.callUIFunction(o.value,"setLeftIndicatorWidth",[e],(e=>{}))},setRightIndicatorWidth:function(e){N.callUIFunction(o.value,"setRightIndicatorWidth",[e],(e=>{}))},setIndicatorHeight:function(e){N.callUIFunction(o.value,"setIndicatorHeight",[e],(e=>{}))},setLeftIndicatorHeight:function(e){N.callUIFunction(o.value,"setLeftIndicatorHeight",[e],(e=>{}))},setRightIndicatorHeight:function(e){N.callUIFunction(o.value,"setRightIndicatorHeight",[e],(e=>{}))},setIndicatorTextDecimalFormat:function(e){N.callUIFunction(o.value,"setIndicatorTextDecimalFormat",[e],(e=>{}))},setLeftIndicatorTextDecimalFormat:function(e){N.callUIFunction(o.value,"setLeftIndicatorTextDecimalFormat",[e],(e=>{}))},setRightIndicatorTextDecimalFormat:function(e){N.callUIFunction(o.value,"setRightIndicatorTextDecimalFormat",[e],(e=>{}))},setIndicatorTextStringFormat:function(e){N.callUIFunction(o.value,"setIndicatorTextStringFormat",[e],(e=>{}))},setLeftIndicatorTextStringFormat:function(e){N.callUIFunction(o.value,"setLeftIndicatorTextStringFormat",[e],(e=>{}))},setRightIndicatorTextStringFormat:function(e){N.callUIFunction(o.value,"setRightIndicatorTextStringFormat",[e],(e=>{}))},setIndicatorMargin:function(e){N.callUIFunction(o.value,"setIndicatorMargin",[e],(e=>{}))},setLeftIndicatorMargin:function(e){N.callUIFunction(o.value,"setLeftIndicatorMargin",[e],(e=>{}))},setRightIndicatorMargin:function(e){N.callUIFunction(o.value,"setRightIndicatorMargin",[e],(e=>{}))},setIndicatorPaddingBottom:function(e){N.callUIFunction(o.value,"setIndicatorPaddingBottom",[e],(e=>{}))},setLeftIndicatorPaddingBottom:function(e){N.callUIFunction(o.value,"setLeftIndicatorPaddingBottom",[e],(e=>{}))},setRightIndicatorPaddingBottom:function(e){N.callUIFunction(o.value,"setRightIndicatorPaddingBottom",[e],(e=>{}))},setIndicatorPaddingTop:function(e){N.callUIFunction(o.value,"setIndicatorPaddingTop",[e],(e=>{}))},setLeftIndicatorPaddingTop:function(e){N.callUIFunction(o.value,"setLeftIndicatorPaddingTop",[e],(e=>{}))},setRightIndicatorPaddingTop:function(e){N.callUIFunction(o.value,"setRightIndicatorPaddingTop",[e],(e=>{}))},setIndicatorPaddingLeft:function(e){N.callUIFunction(o.value,"setIndicatorPaddingLeft",[e],(e=>{}))},setLeftIndicatorPaddingLeft:function(e){N.callUIFunction(o.value,"setLeftIndicatorPaddingLeft",[e],(e=>{}))},setRightIndicatorPaddingLeft:function(e){N.callUIFunction(o.value,"setRightIndicatorPaddingLeft",[e],(e=>{}))},setIndicatorPaddingRight:function(e){N.callUIFunction(o.value,"setIndicatorPaddingRight",[e],(e=>{}))},setLeftIndicatorPaddingRight:function(e){N.callUIFunction(o.value,"setLeftIndicatorPaddingRight",[e],(e=>{}))},setRightIndicatorPaddingRight:function(e){N.callUIFunction(o.value,"setRightIndicatorPaddingRight",[e],(e=>{}))},setIndicatorBackgroundColor:function(e){N.callUIFunction(o.value,"setIndicatorBackgroundColor",[e],(e=>{}))},setLeftIndicatorBackgroundColor:function(e){N.callUIFunction(o.value,"setLeftIndicatorBackgroundColor",[e],(e=>{}))},setRightIndicatorBackgroundColor:function(e){N.callUIFunction(o.value,"setRightIndicatorBackgroundColor",[e],(e=>{}))},setIndicatorRadius:function(e){N.callUIFunction(o.value,"setIndicatorRadius",[e],(e=>{}))},setLeftIndicatorRadius:function(e){N.callUIFunction(o.value,"setLeftIndicatorRadius",[e],(e=>{}))},setRightIndicatorRadius:function(e){N.callUIFunction(o.value,"setRightIndicatorRadius",[e],(e=>{}))},setIndicatorTextSize:function(e){N.callUIFunction(o.value,"setIndicatorTextSize",[e],(e=>{}))},setLeftIndicatorTextSize:function(e){N.callUIFunction(o.value,"setLeftIndicatorTextSize",[e],(e=>{}))},setRightIndicatorTextSize:function(e){N.callUIFunction(o.value,"setRightIndicatorTextSize",[e],(e=>{}))},setIndicatorTextColor:function(e){N.callUIFunction(o.value,"setIndicatorTextColor",[e],(e=>{}))},setLeftIndicatorTextColor:function(e){N.callUIFunction(o.value,"setLeftIndicatorTextColor",[e],(e=>{}))},setRightIndicatorTextColor:function(e){N.callUIFunction(o.value,"setRightIndicatorTextColor",[e],(e=>{}))},setIndicatorArrowSize:function(e){N.callUIFunction(o.value,"setIndicatorArrowSize",[e],(e=>{}))},setLeftIndicatorArrowSize:function(e){N.callUIFunction(o.value,"setLeftIndicatorArrowSize",[e],(e=>{}))},setRightIndicatorArrowSize:function(e){N.callUIFunction(o.value,"setRightIndicatorArrowSize",[e],(e=>{}))},setIndicatorDrawable:function(e){N.callUIFunction(o.value,"setIndicatorDrawable",[e],(e=>{}))},setLeftIndicatorDrawable:function(e){N.callUIFunction(o.value,"setLeftIndicatorDrawable",[e],(e=>{}))},setRightIndicatorDrawable:function(e){N.callUIFunction(o.value,"setRightIndicatorDrawable",[e],(e=>{}))},setIndicatorUrl:function(e){N.callUIFunction(o.value,"setIndicatorUrl",[e],(e=>{}))},setLeftIndicatorUrl:function(e){N.callUIFunction(o.value,"setLeftIndicatorUrl",[e],(e=>{}))},setRightIndicatorUrl:function(e){N.callUIFunction(o.value,"setRightIndicatorUrl",[e],(e=>{}))},setThumbWidth:function(e){N.callUIFunction(o.value,"setThumbWidth",[e],(e=>{}))},setLeftThumbWidth:function(e){N.callUIFunction(o.value,"setLeftThumbWidth",[e],(e=>{}))},setRightThumbWidth:function(e){N.callUIFunction(o.value,"setRightThumbWidth",[e],(e=>{}))},setThumbHeight:function(e){N.callUIFunction(o.value,"setThumbHeight",[e],(e=>{}))},setLeftThumbHeight:function(e){N.callUIFunction(o.value,"setLeftThumbHeight",[e],(e=>{}))},setRightThumbHeight:function(e){N.callUIFunction(o.value,"setRightThumbHeight",[e],(e=>{}))},scaleThumb:function(){N.callUIFunction(o.value,"scaleThumb",[],(e=>{}))},scaleLeftThumb:function(){N.callUIFunction(o.value,"scaleLeftThumb",[],(e=>{}))},scaleRightThumb:function(){N.callUIFunction(o.value,"scaleLeftThumb",[],(e=>{}))},resetThumb:function(){N.callUIFunction(o.value,"resetThumb",[],(e=>{}))},resetLeftThumb:function(){N.callUIFunction(o.value,"resetLeftThumb",[],(e=>{}))},resetRightThumb:function(){N.callUIFunction(o.value,"resetRightThumb",[],(e=>{}))},setThumbScaleRatio:function(e){N.callUIFunction(o.value,"setThumbScaleRatio",[e],(e=>{}))},setLeftThumbScaleRatio:function(e){N.callUIFunction(o.value,"setLeftThumbScaleRatio",[e],(e=>{}))},setRightThumbScaleRatio:function(e){N.callUIFunction(o.value,"setRightThumbScaleRatio",[e],(e=>{}))},setThumbActivate:function(e){N.callUIFunction(o.value,"setThumbActivate",[e],(e=>{}))},setLeftThumbActivate:function(e){N.callUIFunction(o.value,"setLeftThumbActivate",[e],(e=>{}))},setRightThumbActivate:function(e){N.callUIFunction(o.value,"setRightThumbActivate",[e],(e=>{}))},setThumbDrawable:function(e){N.callUIFunction(o.value,"setThumbDrawable",[e],(e=>{}))},setLeftThumbDrawable:function(e){N.callUIFunction(o.value,"setLeftThumbDrawable",[e],(e=>{}))},setRightThumbDrawable:function(e){N.callUIFunction(o.value,"setRightThumbDrawable",[e],(e=>{}))},setThumbUrl:function(e){N.callUIFunction(o.value,"setThumbUrl",[e],(e=>{}))},setLeftThumbUrl:function(e){N.callUIFunction(o.value,"setLeftThumbUrl",[e],(e=>{}))},setRightThumbUrl:function(e){N.callUIFunction(o.value,"setRightThumbUrl",[e],(e=>{}))},setThumbInactivatedDrawable:function(e){N.callUIFunction(o.value,"setThumbInactivatedDrawable",[e],(e=>{}))},setLeftThumbInactivatedDrawable:function(e){N.callUIFunction(o.value,"setLeftThumbInactivatedDrawable",[e],(e=>{}))},setRightThumbInactivatedDrawable:function(e){N.callUIFunction(o.value,"setRightThumbInactivatedDrawable",[e],(e=>{}))},setThumbInactivatedUrl:function(e){N.callUIFunction(o.value,"setThumbInactivatedUrl",[e],(e=>{}))},setLeftThumbInactivatedUrl:function(e){N.callUIFunction(o.value,"setLeftThumbInactivatedUrl",[e],(e=>{}))},setRightThumbInactivatedUrl:function(e){N.callUIFunction(o.value,"setRightThumbInactivatedUrl",[e],(e=>{}))},setTickMarkMode:function(e){N.callUIFunction(o.value,"setTickMarkMode",[e],(e=>{}))},setTickMarkGravity:function(e){N.callUIFunction(o.value,"setTickMarkGravity",[e],(e=>{}))},setTickMarkLayoutGravity:function(e){N.callUIFunction(o.value,"setTickMarkLayoutGravity",[e],(e=>{}))},setTickMarkTextArray:function(e){N.callUIFunction(o.value,"setTickMarkTextArray",[e],(e=>{}))},setTickMarkTextMargin:function(e){N.callUIFunction(o.value,"setTickMarkTextMargin",[e],(e=>{}))},setTickMarkTextSize:function(e){N.callUIFunction(o.value,"setTickMarkTextSize",[e],(e=>{}))},setTickMarkTextColor:function(e){N.callUIFunction(o.value,"setTickMarkTextColor",[e],(e=>{}))},setTickMarkInRangeTextColor:function(e){N.callUIFunction(o.value,"setTickMarkInRangeTextColor",[e],(e=>{}))},setSteps:function(e){N.callUIFunction(o.value,"setSteps",[e],(e=>{}))},setStepsWidth:function(e){N.callUIFunction(o.value,"setStepsWidth",[e],(e=>{}))},setStepsHeight:function(e){N.callUIFunction(o.value,"setStepsHeight",[e],(e=>{}))},setStepsRadius:function(e){N.callUIFunction(o.value,"setStepsRadius",[e],(e=>{}))},setStepsColor:function(e){N.callUIFunction(o.value,"setStepsColor",[e],(e=>{}))},setStepsAutoBonding:function(e){N.callUIFunction(o.value,"setStepsAutoBonding",[e],(e=>{}))},setStepsDrawable:function(e){N.callUIFunction(o.value,"setStepsDrawable",[e],(e=>{}))},setStepsUrl:function(e){N.callUIFunction(o.value,"setStepsUrl",[e],(e=>{}))},setSecondProgress:function(e){N.callUIFunction(o.value,"setSecondProgress",[e],(e=>{}))},show:function(e){N.callUIFunction(o.value,"show",[e],(e=>{}))},setMaxProgress:function(e){N.callUIFunction(o.value,"setMaxProgress",[e],(e=>{}))},...eo(o)}),()=>P("TVProgressBarViewComponent",{ref:o,onFocus:e=>{n.emit("onFocusChanged",e.isFocused)},onSeekBarChange:e=>{n.emit("onSeekChanged",e.progress)}})}});t.component("qt-progress-bar",n)}(t),function(t){const n=l({emits:["onAnimationEnd","onAnimationCancel","onAnimationStart","onAnimationRepeat","onAnimationPause","onAnimationResume","onAnimationUpdate"],setup(t,n){const o=e(),a=x().getDisplayScale();return n.expose({setPivotX:function(e){N.callUIFunction(o.value,"setPivotX",[e],(e=>{}))},setPivotY:function(e){N.callUIFunction(o.value,"setPivotY",[e],(e=>{}))},resetPivot:function(){N.callUIFunction(o.value,"resetPivot",[],(e=>{}))},resetAnimators:function(){N.callUIFunction(o.value,"resetAnimators",[],(e=>{}))},animatorSet:function(e,t,n){N.callUIFunction(o.value,"animatorSet",[e,t,n],(e=>{}))},startAnimator:function(e){N.callUIFunction(o.value,"startAnimator",[e],(e=>{}))},startAnimatorDelay:function(e,t){N.callUIFunction(o.value,"startAnimatorDelay",[e,t],(e=>{}))},pauseAnimator:function(e){N.callUIFunction(o.value,"pauseAnimator",[e],(e=>{}))},resumeAnimator:function(e){N.callUIFunction(o.value,"resumeAnimator",[e],(e=>{}))},cancelAnimator:function(e){N.callUIFunction(o.value,"cancelAnimator",[e],(e=>{}))},reverseAnimator:function(e){N.callUIFunction(o.value,"reverseAnimator",[e],(e=>{}))},play:function(e,t){N.callUIFunction(o.value,"play",[e,t],(e=>{}))},playWith:function(e,t){N.callUIFunction(o.value,"with",[e,t],(e=>{}))},playBefore:function(e,t){N.callUIFunction(o.value,"before",[e,t],(e=>{}))},playAfter:function(e,t){N.callUIFunction(o.value,"after",[e,t],(e=>{}))},playAfterDelay:function(e,t){N.callUIFunction(o.value,"afterDelay",[e,t],(e=>{}))},playSequentially1:function(e,t){N.callUIFunction(o.value,"playSequentially1",[e,t],(e=>{}))},playSequentially2:function(e,t,n){N.callUIFunction(o.value,"playSequentially2",[e,t,n],(e=>{}))},playSequentially3:function(e,t,n,a){N.callUIFunction(o.value,"playSequentially3",[e,t,n,a],(e=>{}))},playSequentially4:function(e,t,n,a,i){N.callUIFunction(o.value,"playSequentially4",[e,t,n,a,i],(e=>{}))},playSequentially5:function(e,t,n,a,i,l){N.callUIFunction(o.value,"playSequentially5",[e,t,n,a,i,l],(e=>{}))},playTogether1:function(e,t){N.callUIFunction(o.value,"playTogether1",[e,t],(e=>{}))},playTogether2:function(e,t,n){N.callUIFunction(o.value,"playTogether2",[e,t,n],(e=>{}))},playTogether3:function(e,t,n,a){N.callUIFunction(o.value,"playTogether3",[e,t,n,a],(e=>{}))},playTogether4:function(e,t,n,a,i){N.callUIFunction(o.value,"playTogether4",[e,t,n,a,i],(e=>{}))},playTogether5:function(e,t,n,a,i,l){N.callUIFunction(o.value,"playTogether5",[e,t,n,a,i,l],(e=>{}))},objectAnimator:function(e,t,n,a,i,l,c,s,r){N.callUIFunction(o.value,"objectAnimator",[e,t,n,a,i,l,c,s,r],(e=>{}))},objectAnimator1:function(e,t,n,i,l,c,s,r,u,d){n!=pi.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_X&&n!=pi.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Y&&n!=pi.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Z||(i*=a),N.callUIFunction(o.value,"objectAnimator1",[e,t,n,i,l,c,s,r,u,d],(e=>{}))},objectAnimator2:function(e,t,n,i,l,c,s,r,u,d,f){n!=pi.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_X&&n!=pi.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Y&&n!=pi.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Z||(i*=a,l*=a),N.callUIFunction(o.value,"objectAnimator2",[e,t,n,i,l,c,s,r,u,d,f],(e=>{}))},objectAnimator3:function(e,t,n,i,l,c,s,r,u,d,f,g){n!=pi.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_X&&n!=pi.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Y&&n!=pi.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Z||(i*=a,l*=a,c*=a),N.callUIFunction(o.value,"objectAnimator3",[e,t,n,i,l,c,s,r,u,d,f,g],(e=>{}))},objectAnimator4:function(e,t,n,i,l,c,s,r,u,d,f,g,p){n!=pi.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_X&&n!=pi.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Y&&n!=pi.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Z||(i*=a,l*=a,c*=a,s*=a),N.callUIFunction(o.value,"objectAnimator4",[e,t,n,i,l,c,s,r,u,d,f,g,p],(e=>{}))},objectAnimator5:function(e,t,n,i,l,c,s,r,u,d,f,g,p,_){n!=pi.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_X&&n!=pi.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Y&&n!=pi.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Z||(i*=a,l*=a,c*=a,s*=a,r*=a),N.callUIFunction(o.value,"objectAnimator5",[e,t,n,i,l,c,s,r,u,d,f,g,p,_],(e=>{}))},objectAnimator6:function(e,t,n,i,l,c,s,r,u,d,f,g,p,_,T){n!=pi.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_X&&n!=pi.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Y&&n!=pi.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Z||(i*=a,l*=a,c*=a,s*=a,r*=a,u*=a),N.callUIFunction(o.value,"objectAnimator6",[e,t,n,i,l,c,s,r,u,d,f,g,p,_,T],(e=>{}))},objectAnimator7:function(e,t,n,i,l,c,s,r,u,d,f,g,p,_,T,I){n!=pi.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_X&&n!=pi.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Y&&n!=pi.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Z||(i*=a,l*=a,c*=a,s*=a,r*=a,u*=a,d*=a),N.callUIFunction(o.value,"objectAnimator7",[e,t,n,i,l,c,s,r,u,d,f,g,p,_,T,I],(e=>{}))},objectAnimator8:function(e,t,n,i,l,c,s,r,u,d,f,g,p,_,T,I,m){n!=pi.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_X&&n!=pi.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Y&&n!=pi.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Z||(i*=a,l*=a,c*=a,s*=a,r*=a,u*=a,d*=a,f*=a),N.callUIFunction(o.value,"objectAnimator8",[e,t,n,i,l,c,s,r,u,d,f,g,p,_,T,I,m],(e=>{}))},objectAnimator9:function(e,t,n,i,l,c,s,r,u,d,f,g,p,_,T,I,m,h){n!=pi.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_X&&n!=pi.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Y&&n!=pi.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Z||(i*=a,l*=a,c*=a,s*=a,r*=a,u*=a,d*=a,f*=a,g*=a),N.callUIFunction(o.value,"objectAnimator9",[e,t,n,i,l,c,s,r,u,d,f,g,p,_,T,I,m,h],(e=>{}))},objectAnimator10:function(e,t,n,i,l,c,s,r,u,d,f,g,p,_,T,I,m,h,v){n!=pi.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_X&&n!=pi.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Y&&n!=pi.QT_ANIMATION_PROPERTY_NAME_TRANSLATION_Z||(i*=a,l*=a,c*=a,s*=a,r*=a,u*=a,d*=a,f*=a,g*=a,p*=a),N.callUIFunction(o.value,"objectAnimator10",[e,t,n,i,l,c,s,r,u,d,f,g,p,_,T,I,m,h,v],(e=>{}))},...eo(o)}),()=>{const e=n.slots.default&&n.slots.default();return P("AnimationViewComponent",{ref:o,onAnimationCancel:e=>{let t=e.animationId;n.emit("onAnimationCancel",t)},onAnimationEnd:e=>{let t=e.animationId,o=e.isReverse;n.emit("onAnimationEnd",t,o)},onAnimationRepeat:e=>{let t=e.animationId;n.emit("onAnimationRepeat",t)},onAnimationStart:e=>{let t=e.animationId,o=e.isReverse;n.emit("onAnimationStart",t,o)},onAnimationPause:e=>{let t=e.animationId;n.emit("onAnimationPause",t)},onAnimationResume:e=>{let t=e.animationId;n.emit("onAnimationResume",t)},onAnimationUpdate:e=>{let t=e.animationId,o=e.animatedValue;n.emit("onAnimationUpdate",t,o)}},e)}}});t.component("qt-animation",n)}(t),function(t){t.component("qt-dialog",{setup(t,n){const o=e();return n.expose({viewRef:o,...eo(o)}),()=>{const e=n.slots.default&&n.slots.default();return P("Modal",{ref:o},e)}}})}(t),function(t){const n=l({setup(t,n){const o=e();return n.expose({viewRef:o,scrollTo:function(e,t){N.callUIFunction(o.value,"scrollTo",[e,t])},scrollToWithOptions:function(e,t,n){N.callUIFunction(o.value,"scrollToWithOptions",[{x:e,y:t,duration:n}])},...eo(o)}),()=>{const e=n.slots.default&&n.slots.default();return P("ScrollView",{ref:o},e)}}});t.component("qt-scroll-view",n)}(t),function(t){t.component("qt-lottie-view",{emits:["animation-event"],setup(t,n){const o=e();return n.expose({loadRaw:e=>{N.callUIFunction(o.value,"lottie_rawRes",[e])},loadFile:e=>{N.callUIFunction(o.value,"lottie_localRes",[e])},loadUrl:e=>{N.callUIFunction(o.value,"lottie_url",[e])},loadCacheUrl:(e,t)=>{N.callUIFunction(o.value,"lottie_cache_url",[e,t])},setFallbackResource:e=>{N.callUIFunction(o.value,"lottie_fallbackRes",[e])},setAutoPlay:e=>{N.callUIFunction(o.value,"lottie_autoPlay",[e])},setLottieLoop:e=>{N.callUIFunction(o.value,"lottie_loop",[e])},setRepeatMode:e=>{N.callUIFunction(o.value,"lottie_repeatMode",[e])},setRepeatCount:e=>{N.callUIFunction(o.value,"lottie_repeatCount",[e])},setSpeed:e=>{N.callUIFunction(o.value,"lottie_speed",[e])},setClipToCompositionBounds:e=>{N.callUIFunction(o.value,"lottie_clipToCompositionBounds",[e])},setDefaultFontFileExtension:e=>{N.callUIFunction(o.value,"lottie_defaultFontFileExtension",[e])},setImageAssetsFolder:e=>{N.callUIFunction(o.value,"lottie_imageAssetsFolder",[e])},setProgress:e=>{N.callUIFunction(o.value,"lottie_progress",[e])},enableMergePathsForKitKatAndAbove:e=>{N.callUIFunction(o.value,"lottie_enableMergePathsForKitKatAndAbove",[e])},setColorFilter:e=>{N.callUIFunction(o.value,"lottie_colorFilter",[e])},setRenderMode:e=>{N.callUIFunction(o.value,"lottie_renderMode",[e])},setAsyncUpdate:e=>{N.callUIFunction(o.value,"lottie_asyncUpdates",[e])},playAnimation:()=>{N.callUIFunction(o.value,"playAnimation",[])},setIgnoreDisabledSystemAnimations:e=>{N.callUIFunction(o.value,"lottie_ignoreDisabledSystemAnimations",[e])},setUseCompositionFrameRate:e=>{N.callUIFunction(o.value,"lottie_useCompositionFrameRate",[e])},resumeAnimation:()=>{N.callUIFunction(o.value,"resumeAnimation",[])},pauseAnimation:()=>{N.callUIFunction(o.value,"pauseAnimation",[])},cancelAnimation:()=>{N.callUIFunction(o.value,"cancelAnimation",[])},cacheComposition:e=>{N.callUIFunction(o.value,"cacheComposition",[e])},removeAllListener:()=>{N.callUIFunction(o.value,"removeAllListener",[])},...eo(o)}),()=>{const e=n.slots.default&&n.slots.default();return P("ESLottieViewComponent",{ref:o,onAnimationEvent:e=>{n.emit("animation-event",e)}},e)}}})}(t),function(t){const n=l({setup(t,n){const o=e();return n.expose({setPackageName:function(e){N.callUIFunction(o.value,"setPackageName",[e],(e=>{}))},setRoundingRadius:function(e){N.callUIFunction(o.value,"setRoundingRadius",[e],(e=>{}))}}),()=>P("ESAppIconViewComponent",{ref:o})}});t.component("qt-app-icon",n)}(t),function(t){const n=l({emits:["onPluginLoadSuccess","onPluginLoadError"],setup(t,n){const o=e(),a=D().getESSDKVersionCode()>=O.ES_SDK_VERSION_29?"ESPluginViewComponent":"div";return n.expose({dispatchFunction:(e,t)=>new Promise((n=>{N.callUIFunction(o.value,e,t,(e=>{n(e)}))}))}),()=>P(a,{ref:o,onPluginLoadSuccess:e=>{n.emit("onPluginLoadSuccess",{sid:e.sid})},onPluginLoadError:e=>{n.emit("onPluginLoadError",{sid:e.sid,errorCode:e.errorCode,errorMessage:e.errorMessage})}})}});t.component("qt-plugin-view",n)}(t);for(let e in Mi)t.component(Mi[e].name,Mi[e])};export{gi as QTAnimationInterpolatorType,pi as QTAnimationPropertyName,_i as QTAnimationRepeatMode,Ti as QTAnimationValueType,vi as QTDirections,Ci as QTGradientOrientation,xi as QTGradientShape,Di as QTGradientType,hi as QTIViewVisibility,Ui as QTLottieAsyncUpdates,Li as QTLottieRepeatMode,ui as QTMediaSeriesStyleType,ri as QTMediaSeriesType,Fi as QTNavBarItemType,Si as QTScrollState,yi as QTSeekBarGravity,Ai as QTSeekBarIndicatorMode,bi as QTSeekBarMode,Pi as QTSeekBarTickMarkGravity,Ni as QTSeekBarTickMarkLayoutGravity,Ri as QTSeekBarTickMarkMode,Ei as QTTabItemType,ka as QTTabPageState,ca as QTWaterfallItemType,la as QTWaterfallSectionType,Da as QTWaterfallVisibleType,$i as QuickTVUI,Bi as VirtualView,ki as arrangeChildren4ListView,Qo as qtGetParent,Wo as qtRef,Mo as qtWatchAll};
@@ -8,6 +8,7 @@ export interface QTWaterfallSection extends QTListViewItem {
8
8
  titleStyle?: QTWaterfallFlexStyle & QTFlexStyleText;
9
9
  itemList: Array<QTWaterfallItem>;
10
10
  style: QTWaterfallFlexStyle;
11
+ contentStyle?: QTWaterfallFlexStyle;
11
12
  placeholder?: QTWaterfallPlaceholder;
12
13
  [prop: string]: any;
13
14
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quicktvui/quicktvui3",
3
- "version": "1.1.38",
3
+ "version": "1.1.39",
4
4
  "description": "ExtScreen framework",
5
5
  "author": "ExtScreen Team",
6
6
  "homepage": "http://extscreen.com",