PageSourceSearch

https://qqole888.com/chunk-X2LXCUUC.js

js qqole888.com collected 2026-10-10 00:09:29 UTC 8,761 bytes, 1 lines download raw bytes

1import{a as oe}from"./chunk-AAEX34ES.js";import{b as ne}from"./chunk-CU33J6KS.js";import"./chunk-IGHRE3IS.js";import"./chunk-5RZL4S4H.js";import"./chunk-FFTXNXI6.js";import"./chunk-MFY6GL67.js";import"./chunk-FD55Q7R4.js";import"./chunk-WH22GQDU.js";import{a as pe}from"./chunk-VCUXWNTA.js";import{b as re}from"./chunk-KNN255RW.js";import{a as ae}from"./chunk-L6PFBMCK.js";import"./chunk-5LWFT2LT.js";import"./chunk-ERQPZXVV.js";import"./chunk-X67MKRJK.js";import{a as H}from"./chunk-IPIW3WPU.js";import"./chunk-7RS7W2IG.js";import"./chunk-WQGKT4QG.js";import"./chunk-EJMX6GXD.js";import{i as te,j as ie}from"./chunk-LBFZVMBI.js";import"./chunk-SQXH55RY.js";import"./chunk-FZLMV5FP.js";import{A as X,O as ee,x as Q}from"./chunk-2RZNBXEW.js";import{k as J,l as j,m as z,n as K,o as G,p as Y,q as W,r as Z}from"./chunk-WUS6VI32.js";import{i as V,j as F,k as L,p as A,q as R,r as U,sa as q}from"./chunk-LKIBVTZY.js";import{b as B}from"./chunk-IXSVJUWF.js";import"./chunk-VXMZGT4Q.js";import{$ as E,A as g,B as f,Da as a,Ia as s,Ja as l,Ka as d,La as O,Ma as k,Oa as x,Ra as C,Sa as m,aa as y,bb as b,cb as T,db as $,ga as r,ha as v,nb as N,p as w,pb as M,sb as h,tb as S,xa as _}from"./chunk-LZGEQQYD.js";import{_b as D}from"./chunk-BW2TMJN6.js";import"./chunk-RNQ7BUHW.js";var me=e=>({show:e}),le=e=>({active:e});function se(e,p){if(e&1){let i=x();s(0,"li",8)(1,"a",9),C("click",function(){let o=g(i).$implicit,n=m();return f(n.proType=o)}),b(2),h(3,"translate"),l()()}if(e&2){let i=p.$implicit,t=m();a("ngClass",M(4,le,t.proType===i)),r(2),$("",S(3,2,"promotionPage."+i)," ")}}function ce(e,p){if(e&1&&(s(0,"span",21),b(1),h(2,"translate"),l()),e&2){let i=m(2).$implicit,t=m(2);a("ngClass",t.tagClass(i)),r(),T(S(2,2,"promotionPage."+i.promoteType))}}function _e(e,p){if(e&1){let i=x();s(0,"img",22),C("error",function(){g(i);let o=m(2).index,n=m(2);return f(n.onImgError(o))}),l()}if(e&2){let i=m(2).$implicit;a("src",i.fallbackImgUrl,y)}}function de(e,p){e&1&&d(0,"span",23)}function ge(e,p){e&1&&(s(0,"span",24),d(1,"i",25),l())}function fe(e,p){e&1&&(s(0,"span",26),b(1),h(2,"translate"),l()),e&2&&(r(),T(S(2,1,"promotionPage.moreInfo")))}function ue(e,p){if(e&1){let i=x();s(0,"div",13)(1,"a",9),C("click",function(){g(i);let o=m(),n=o.$implicit,P=o.index,u=m(2);return f(u.openPopup(n,P))}),_(2,ce,3,4,"span",14),s(3,"div",15)(4,"img",16),C("load",function(){g(i);let o=m().index,n=m(2);return f(n.onImgLoad(o))})("error",function(){g(i);let o=m().index,n=m(2);return f(n.OnImgFallBack(o))}),l()(),_(5,_e,1,1,"img",17)(6,de,1,0,"span",18)(7,ge,2,0,"span",19)(8,fe,3,3,"span",20),l()()}if(e&2){let i=m().$implicit,t=m(2);a("@loadFadeIn",void 0),r(2),a("ngIf",!t.globalData.isMobileStyle),r(2),a("src",i.imgUrl,y),r(),a("ngIf",i.loadImgStatus==="fallback"),r(),a("ngIf",i.loadImgStatus===null),r(),a("ngIf",i.loadImgStatus==="error"),r(),a("ngIf",!t.globalData.isMobileStyle)}}function ve(e,p){if(e&1&&(O(0),_(1,ue,9,7,"div",12),k()),e&2){let i=p.$implicit,t=m(2);r(),a("ngIf",t.proType===i.promoteType||t.proType==="ALL")}}function Ce(e,p){if(e&1&&(s(0,"div",10),_(1,ve,2,1,"ng-container",11),l()),e&2){let i=m();r(),a("ngForOf",i.promotionData)("ngForTrackBy",i.trackByImgUrl)}}function Ie(e,p){if(e&1&&(s(0,"div",35)(1,"span",21),b(2),h(3,"translate"),l()()),e&2){let i=m(2);r(),a("ngClass",i.tagClass(i.openedPromotion)),r(),T(S(3,2,"promotionPage."+i.openedPromotion.promoteType))}}function xe(e,p){if(e&1){let i=x();O(0),s(1,"button",27),C("click",function(){g(i);let o=m();return f(o.openedPromotion=null)}),d(2,"i",28),l(),s(3,"div",29)(4,"div",30),d(5,"img",31),l(),s(6,"div",32)(7,"div",1),_(8,Ie,4,4,"div",33),d(9,"div",34),h(10,"safeHtml"),l()()(),k()}if(e&2){let i=m();r(5),a("src",i.openedPromotion.imgUrl,y),r(3),a("ngIf",!i.globalData.isMobileStyle),r(),a("innerHTML",S(10,3,i.openedPromotion.promoteContent),E)}}function he(e,p){if(e&1){let i=x();s(0,"div",36),C("click",function(){g(i);let o=m();return f(o.openPopup())}),l()}}function Se(e,p){e&1&&d(0,"app-seo-footer")}function Pe(e,p){e&1&&d(0,"app-footer")}function be(e,p){e&1&&d(0,"app-bottom-menu")}var ze=(()=>{let p=class p{constructor(t,o,n,P,u,I){this.globalData=t,this.httpService=o,this.cmsService=n,this.langService=P,this.promotionCacheService=u,this.appConfigService=I,this.proMenu=["ALL","SPECIAL","MEMBER"],this.promotionData=[],this.isComponentAlive=!0,this.resourceAssetPrefix=this.appConfigService.getConfig("resourceAssetPrefix"),this.resourceAssetSharedPrefix=this.appConfigService.getConfig("resourceAssetSharedPrefix"),this.resourceInfoPrefix=this.appConfigService.getConfig("resourceInfoPrefix"),this.cmsService.initPageCMS()}ngOnInit(){this.initSubscription(),this.proType="ALL"}promotionUrl(t,o){let n="";switch(t){case"EN-US":n="".concat(o,"/").concat(Y);break;case"ID-ID":n="".concat(o,"/").concat(j);break;case"ZH-CN":n="".concat(o,"/").concat(J);break;case"VI-VN":n="".concat(o,"/").concat(W);break;case"TH-TH":n="".concat(o,"/").concat(G);break;case"EN-MY":n="".concat(o,"/").concat(K);break;case"KO-KR":n="".concat(o,"/").concat(z);break}return n}trackByImgUrl(t,o){return o.imgUrl}initSubscription(){this.globalData.loginSub$.pipe(D(()=>!!this.isComponentAlive)).subscribe(()=>{}),this.newLoadIndex()}newLoadIndex(){this.globalData.loading=!0;let t=this.langService.language.toUpperCase(),o=this.promotionUrl(t,this.resourceInfoPrefix),n="".concat(this.resourceAssetPrefix,"/")+(this.globalData.isMobileStyle?"mobile":"web")+"/".concat(Z),P="".concat(this.resourceAssetSharedPrefix,"/mobile/images/promotion");this.promotionCacheService.getJsonData({name:"promotion",url:o}).subscribe(u=>{this.promotionData=u.reduce((I,c)=>(c.lang===t&&this.globalData.handlePlatformIsShow(c.supportClient)&&c.promoteImg&&(c.loadImgStatus=null,c.imgUrl="".concat(n,"/").concat(c.promoteImg),c.fallbackImgUrl="".concat(P,"/").concat(c.promoteImg),I.push(c)),I),[]),this.promotionData.sort((I,c)=>I.index-c.index),this.globalData.loading=!1},u=>{console.log(u),this.globalData.loading=!1})}openPopup(t,o){this.openedPromotion=t,this.isOpenProIndex=o}onImgLoad(t){this.promotionData[t].loadImgStatus="success"}OnImgFallBack(t){this.globalData.isMobileStyle?this.promotionData[t].loadImgStatus="fallback":this.onImgError(t)}onImgError(t){this.promotionData[t].loadImgStatus="error"}tagClass(t){return t.promoteType==="MEMBER"?"member":"special"}ngOnDestroy(){this.openedPromotion=null,this.isComponentAlive=!1}loadingState(t){return this.promotionData[t].loadImgStatus?"lazy":"eager"}};
1p.\u0275fac=function(o){return new(o||p)(v(q),v(Q),v(ee),v(L),v(X),v(B))},p.\u0275cmp=w({type:p,selectors:[["app-promotion"]],standalone:!0,features:[N],decls:14,vars:13,consts:[[1,"app"],[1,"container"],[1,"sub-nav","rwd"],[3,"ngClass",4,"ngFor","ngForOf"],["class","promotion-block",4,"ngIf"],[1,"promotion-popup",3,"ngClass"],[4,"ngIf"],["class","mask popup",3,"click",4,"ngIf"],[3,"ngClass"],[3,"click"],[1,"promotion-block"],[4,"ngFor","ngForOf","ngForTrackBy"],["class","item","style","min-height: fit-content",4,"ngIf"],[1,"item",2,"min-height","fit-content"],["class","promotion-tag",3,"ngClass",4,"ngIf"],[2,"width","100%"],["fetchpriority","high","alt","promotionImg",2,"display","block",3,"load","error","src"],["fetchpriority","high","alt","promotionImg",3,"src","error",4,"ngIf"],["class","loading-img",4,"ngIf"],["class","default-img",4,"ngIf"],["class","info",4,"ngIf"],[1,"promotion-tag",3,"ngClass"],["fetchpriority","high","alt","promotionImg",3,"error","src"],[1,"loading-img"],[1,"default-img"],[1,"icon-img_default"],[1,"info"],[1,"popup-close-btn",3,"click"],[1,"icon-Close"],[1,"wrap"],[1,"popup-banner"],["fetchpriority","high","alt","promotionImg",2,"display","block",3,"src"],[1,"block"],["class","promotion-info",4,"ngIf"],["removeHost","",3,"innerHTML"],[1,"promotion-info"],[1,"mask","popup",3,"click"]],template:function(o,n){o&1&&(s(0,"div",0),d(1,"app-nav"),s(2,"main")(3,"div",1)(4,"div",2)(5,"ul"),_(6,se,4,6,"li",3),l()(),_(7,Ce,2,2,"div",4),s(8,"div",5),_(9,xe,11,5,"ng-container",6),l(),_(10,he,1,0,"div",7)(11,Se,1,0,"app-seo-footer",6),l()(),_(12,Pe,1,0,"app-footer",6)(13,be,1,0,"app-bottom-menu",6),l()),o&2&&(r(3),a("@loadFadeIn",void 0),r(),a("@loadFadeIn",void 0),r(2),a("ngForOf",n.proMenu),r(),a("ngIf",n.promotionData.length>0),r(),a("ngClass",M(11,me,n.openedPromotion))("@loadSlideIn",void 0),r(),a("ngIf",n.openedPromotion),r(),a("ngIf",n.openedPromotion),r(),a("ngIf",n.cmsService.seoSetting&&!n.globalData.loading),r(),a("ngIf",!n.globalData.isMobileStyle&&!n.globalData.loading),r(),a("ngIf",n.globalData.isMobileStyle))},dependencies:[ne,R,A,U,pe,ae,re,oe,F,V,H],styles:[".hide[_ngcontent-%COMP%]{visibility:hidden}.show[_ngcontent-%COMP%]{z-index:6}"],data:{animation:[ie,te]}});let e=p;return e})();export{ze as PromotionComponent};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.