1(self["webpackChunkplatform_gw"]=self["webpackChunkplatform_gw"]||[]).push([[484],{6173:function(t,e,a){var s,i;function n(){return n=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var a=arguments[e];for(var s in a)Object.prototype.hasOwnProperty.call(a,s)&&(t[s]=a[s])}return t},n.apply(this,arguments)}function o(t){return o="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(t)}(function(n,r){"object"===o(e)?t.exports=r():(s=r,i="function"===typeof s?s.call(e,a,e,t):s,void 0===i||(t.exports=i))})(0,function(){"use strict";var t="undefined"!==typeof window,e=t&&!("onscroll"in window)||"undefined"!==typeof navigator&&/(gle|ing|ro)bot|crawl|spider/i.test(navigator.userAgent),a=t&&"IntersectionObserver"in window,s=t&&"classList"in document.createElement("p"),i={elements_selector:"img",container:e||t?document:null,threshold:300,thresholds:null,data_src:"src",data_srcset:"srcset",data_sizes:"sizes",data_bg:"bg",data_poster:"poster",class_loading:"loading",class_loaded:"loaded",class_error:"error",load_delay:0,auto_unobserve:!0,callback_enter:null,callback_exit:null,callback_reveal:null,callback_loaded:null,callback_error:null,callback_finish:null,use_native:!1},o=function(t){return n({},i,t)},r=function(t,e){var a,s="LazyLoad::Initialized",i=new t(e);try{a=new CustomEvent(s,{detail:{instance:i}})}catch(n){a=document.createEvent("CustomEvent"),a.initCustomEvent(s,!1,!1,{instance:i})}window.dispatchEvent(a)};function l(t,e){if(e)if(e.length)for(var a,s=0;a=e[s];s+=1)r(t,a);else r(t,e)}var c="data-",u="was-processed",h="ll-timeout",d="true",p=function(t,e){return t.getAttribute(c+e)},m=function(t,e,a){var s=c+e;null!==a?t.setAttribute(s,a):t.removeAttribute(s)},f=function(t){return m(t,u,null)},_=function(t){return m(t,u,d)},g=function(t){return p(t,u)===d},v=function(t,e){return m(t,h,e)},b=function(t){return p(t,h)},y=function(t){return t.filter(function(t){return!g(t)})},w=function(t,e){return t.filter(function(t){return t!==e})},I=function(t,e,a,s){t&&(void 0===s?void 0===a?t(e):t(e,a):t(e,a,s))},C=function(t,e){t.loadingCount+=e,0===t._elements.length&&0===t.loadingCount&&I(t._settings.callback_finish,t)},k=function(t){for(var e,a=[],s=0;e=t.children[s];s+=1)"SOURCE"===e.tagName&&a.push(e);return a},L=function(t,e,a){a&&t.setAttribute(e,a)},x=function(t,e){L(t,"sizes",p(t,e.data_sizes)),L(t,"srcset",p(t,e.data_srcset)),L(t,"src",p(t,e.data_src))},$=function(t,e){var a=t.parentNode;if(a&&"PICTURE"===a.tagName){var s=k(a);s.forEach(function(t){x(t,e)})}x(t,e)},T=function(t,e){L(t,"src",p(t,e.data_src))},D=function(t,e){var a=k(t);a.forEach(function(t){L(t,"src",p(t,e.data_src))}),L(t,"poster",p(t,e.data_poster)),L(t,"src",p(t,e.data_src)),t.load()},E=function(t,e){var a=p(t,e.data_src),s=p(t,e.data_bg);a&&(t.style.backgroundImage='url("'.concat(a,'")')),s&&(t.style.backgroundImage=s)},S={IMG:$,IFRAME:T,VIDEO:D},O=function(t,e){var a=e._settings,s=t.tagName,i=S[s];if(i)return i(t,a),C(e,1),void(e._elements=w(e._elements,t));E(t,a)},A=function(t,e){s?t.classList.add(e):t.className+=(t.className?" ":"")+e},G=function(t,e){s?t.classList.remove(e):t.className=t.className.replace(new RegExp("(^|\\s+)"+e+"(\\s+|$)")," ").replace(/^\s+/,"").replace(/\s+$/,"")},M="load",q="loadeddata",B="error",z=function(t,e,a){t.addEventListener(e,a)},H=function(t,e,a){t.removeEventListener(e,a)},N=function(t,e,a){z(t,M,e),z(t,q,e),z(t,B,a)},P=function(t,e,a){H(t,M,e),H(t,q,e),H(t,B,a)},F=function(t,e,a){var s=a._settings,i=e?s.class_loaded:s.class_error,n=e?s.callback_loaded:s.callback_error,o=t.target;G(o,s.class_loading),A(o,i),I(n,o,a),C(a,-1)},V=function(t,e){var a=function a(i){F(i,!0,e),P(t,a,s)},s=function s(i){F(i,!1,e),P(t,a,s)};N(t,a,s)},K=["IMG","IFRAME","VIDEO"],R=function(t,e,a){var s=a._settings;I(s.callback_enter,t,e,a),s.load_delay?W(t,a):j(t,a)},j=function(t,e){var a=e._observer;J(t,e),a&&e._settings.auto_unobserve&&a.unobserve(t)},U=function(t,e,a){var s=a._settings;I(s.callback_exit,t,e,a),s.load_delay&&Q(t)},Q=function(t){var e=b(t);e&&(clearTimeout(e),v(t,null))},W=function(t,e){var a=e._settings.load_delay,s=b(t);s||(s=setTimeout(function(){j(t,e),Q(t)},a),v(t,s))},J=function(t,e,a){var s=e._settings;!a&&g(t)||(K.indexOf(t.tagName)>-1&&(V(t,e),A(t,s.class_loading)),O(t,e),_(t),I(s.callback_reveal,t,e),I(s.callback_set,t,e))},X=function(t){return t.isIntersecting||t.intersectionRatio>0},Y=function(t){return{root:t.container===document?null:t.container,rootMargin:t.thresholds||t.threshold+"px"}},Z=function(t){return!!a&&(t._observer=new IntersectionObserver(function(e){e.forEach(function(e){return X(e)?R(e.target,e,t):U(e.target,e,t)})},Y(t._settings)),!0)},tt=["IMG","IFRAME"],et=function(t){return t.use_native&&"loading"in HTMLImageElement.prototype}
1,at=function(t){t._elements.forEach(function(e){-1!==tt.indexOf(e.tagName)&&(e.setAttribute("loading","lazy"),J(e,t))})},st=function(t){return Array.prototype.slice.call(t)},it=function(t){return t.container.querySelectorAll(t.elements_selector)},nt=function(t,e){return y(st(t||it(e)))},ot=function(t){var e=t._settings,a=e.container.querySelectorAll("."+e.class_error);a.forEach(function(t){G(t,e.class_error),f(t)}),t.update()},rt=function(e){t&&window.addEventListener("online",function(t){ot(e)})},lt=function(t,e){this._settings=o(t),this.loadingCount=0,Z(this),this.update(e),rt(this)};return lt.prototype={update:function(t){var a=this,s=this._settings;this._elements=nt(t,s),!e&&this._observer?(et(s)&&(at(this),this._elements=nt(t,s)),this._elements.forEach(function(t){a._observer.observe(t)})):this.loadAll()},destroy:function(){var t=this;this._observer&&(this._elements.forEach(function(e){t._observer.unobserve(e)}),this._observer=null),this._elements=null,this._settings=null},load:function(t,e){J(t,this,e)},loadAll:function(){var t=this;this._elements.forEach(function(e){j(e,t)})}},t&&l(lt,window.lazyLoadOptions),lt})},8619:function(t,e,a){"use strict";a.d(e,{A:function(){return c}});var s=function(){var t=this,e=t.$createElement,s=t._self._c||e;return t.scrollTopHigth>100?s("div",{staticClass:"goTop",on:{click:t.goTop}},[s("img",{attrs:{src:a(2072),alt:""}})]):t._e()},i=[],n={name:"goTop",data(){return{showBtn:!1,scrollTopHigth:0}},methods:{goTop(){const t=document.documentElement.scrollTop||document.body.scrollTop;this.scrollAnimation(t,0)},scrollAnimation(t,e){let a=e-t,s=t;setTimeout(()=>{const i=Math.ceil(a/10);s+=i,window.scrollTo(s,t),a>10||a<-10?this.scrollAnimation(s,e):window.scrollTo(s,e)},1)},listenerFunctions(){document.addEventListener("scroll",this.handleScroll,!0)},handleScroll(){let t=document.body.scrollTop||document.documentElement.scrollTop;this.scrollTopHigth=t},throttle(t,e=1e3){let a;return function(){if(null!=a)return;let s=this,i=arguments;t.apply(s,i),a=setTimeout(()=>{a=null},e)}}},beforeDestroy(){document.removeEventListener("scroll",this.listenerFunctions)},created(){},mounted(){this.listenerFunctions()}},o=n,r=a(6188),l=(0,r.A)(o,s,i,!1,null,"1247b3d0",null),c=l.exports},4530:function(t,e,a){"use strict";a.r(e),a.d(e,{default:function(){return O}});var s=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("main",[s("div",{staticClass:"container pt_108",style:"padding-top:0.5rem;"},["games"===t.pType?s("div",[s("div",{staticClass:"bui-head"},[t._v(" "+t._s(t.$lang.service.choseGame)+" ")]),s("div",{staticClass:"bui-con"},t._l(t.gameList,function(e){return s("div",{key:e.game_base_id,staticClass:"bui-box",on:{click:function(a){return t.selectGame(e)}}},[s("img",{staticClass:"box-bg",attrs:{src:e.game_logo}})])}),0),0!=t.gameList.length||t.btnBusy?t._e():s("div",{staticClass:"empty-data"},[t._v(" "+t._s(t.$lang.service.emptyData)+" ")]),t.have_more?s("div",{staticClass:"show_more",on:{click:t.getMoreGames}},[t._v(" "+t._s(t.$lang.service.lookMore)+" "),t._m(0)]):t._e(),t.btnBusy?s("div",{staticClass:"data-loading"},[t._m(1)]):t._e()]):t._e(),"questions"===t.pType?s("div",[s("div",{staticClass:"bui-head"},[t._v(" "+t._s(t.$lang.service.userChoseGame)+"ï¼"+t._s(t.seletedGame.game_name)+" "),s("span",{staticClass:"re-select",on:{click:t.reSelectGame}},[t._v(t._s(t.$lang.service.anewChoseGame))])]),s("div",{staticClass:"filter_list"},[s("div",{staticClass:"filter_btn",class:{on:0==t.filter},attrs:{gaData:"2201001"},on:{click:function(e){return t.filterType(0)}}},[t._v(" "+t._s(t.$lang.service.all)+" ")]),s("div",{staticClass:"filter_btn",class:{on:50==t.filter},attrs:{"ga-data":"2202001"},on:{click:function(e){return t.filterType(50)}}},[t._v(" "+t._s(t.$lang.service.game)+" ")]),s("div",{staticClass:"filter_btn",class:{on:20==t.filter},attrs:{"ga-data":"2203001"},on:{click:function(e){return t.filterType(20)}}},[t._v(" "+t._s(t.$lang.service.myCard)+" ")]),s("div",{staticClass:"filter_btn",class:{on:30==t.filter},attrs:{"ga-data":"2204001"},on:{click:function(e){return t.filterType(30)}}},[t._v(" "+t._s(t.$lang.service.login)+" ")]),s("div",{staticClass:"filter_btn",class:{on:10==t.filter},attrs:{"ga-data":"2205001"},on:{click:function(e){return t.filterType(10)}}},[t._v(" "+t._s(t.$lang.service.account)+" ")]),s("div",{staticClass:"filter_btn",class:{on:70==t.filter},attrs:{"ga-data":"2206001"},on:{click:function(e){return t.filterType(70)}}},[t._v(" "+t._s(t.$lang.service.other)+" ")])]),s("search",{ref:"searchInput",staticClass:"search-item",attrs:{searchOptions:t.pageOptions,searchType:t.filter,selGame:t.seletedGame,dataFunc:t.propFunc,datas:t.qaList},on:{searchValChanged:t.changeList}}),t._l(t.qaList,function(t,e){return s("qaItem",{key:e+(new Date).getTime(),ref:"qItem",refInFor:!0,attrs:{itemData:t}})}),t.no_more?t._e():s("div",{staticClass:"show_more"},[t.btnBusy?t._e():s("div",{on:{click:t.getMoreQue}},[t._v(" "+t._s(t.$lang.service.lookMore)+" "),t._m(2)]),t.btnBusy?s("img",{staticClass:"loading_icon",attrs:{src:a(874)}}):t._e()])],2):t._e()]),t.isSelectGamePop?s("selectgameModal",{attrs:{formData:t.formData},on:{closeModal:t.closeModal,nextStep:t.nextStep}}):t._e(),s("goTop")],1)},i=[function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("span",{staticClass:"icon"},[s("img",{attrs:{src:a(9759),alt:""}})])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"loading-wrap"},[s("img",{staticClass:"loading_icon",attrs:{src:a(874)}})])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("span",{staticClass:"icon"},[s("img",{attrs:{src:a(9759),alt:""}})])}],n=(a(5038),a(4323),a(1570),a(8049),a(7443),a(6048),a(8626),a(6173)),o=a.n(n),r=a(8619),l=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"search-box"},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.inputVal,expression:"inputVal"}],staticClass:"main-input",attrs:{type:"text",placeholder:t.$lang.service.searchProblems},domProps:{value:t.inputVal},on:{keydown:function(e){return t.enterKey(e)}
1,focus:t.inputFocus,input:[function(e){e.target.composing||(t.inputVal=e.target.value)},function(e){return t.inputChange(e.target.value)}]}}),a("svg",{staticClass:"search-icon",staticStyle:{"enable-background":"new 0 0 12 12"},attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:"0 0 12 12","xml:space":"preserve"},on:{click:t.emitData}},[a("path",{staticClass:"st0",attrs:{d:"M11.7,10.4L9.1,7.8C9.7,7,10,6,10,5c0-2.8-2.2-5-5-5S0,2.2,0,5s2.2,5,5,5c1,0,2-0.3,2.8-0.9l2.6,2.6\n\tc0.4,0.4,1,0.4,1.4,0C12.1,11.3,12.1,10.7,11.7,10.4z M5,8C3.3,8,2,6.7,2,5s1.3-3,3-3s3,1.3,3,3S6.7,8,5,8z"}})]),a("transition",{attrs:{name:"fade"}},[t.showPopover&&t.outputData&&t.outputData.length>0&&t.inputVal?a("div",{ref:"options",staticClass:"k-popover"},[a("div",{staticClass:"scroll-wrap",attrs:{id:"scroll-wrap"}},[a("ul",{staticClass:"k-ul",attrs:{id:"k-ul"}},t._l(t.outputData,function(e){return a("li",{key:e.id,class:{on:e.index===t.selectedItem.index},on:{click:function(a){return t.selectOption(e)}}},[t._v(" "+t._s(e.question_title)+" ")])}),0)])]):t._e()])],1)},c=[];function u(t,e,a){var s,i,n,o,r,l=function(){var c=(new Date).getTime()-o;c<e&&c>0?s=setTimeout(l,e-c):(s=null,a||(r=t.apply(n,i),s||(n=i=null)))};return function(){n=this,i=arguments,o=(new Date).getTime();var c=a&&!s;return s||(s=setTimeout(l,e)),c&&(r=t.apply(n,i),n=i=null),r}}var h={name:"search",props:["dataFunc","selGame","searchType","searchOptions"],data(){return{inputVal:"",showPopover:!1,selectedItem:{id:0},outputData:[],entered:!1,fetching:!0}},methods:{inputFocus(){this.inputVal&&(this.showPopover=!0,this.computStyle())},inputChange:u(function(t){this.filterData(t)},400),filterData(t){var e=this;this.fetching=!0,this.outputData=[];var a=this.searchType;0===a&&(a=""),this.dataFunc(this.selGame.game_base_id,a,this.searchOptions.index,this.searchOptions.size,t).then(a=>{e.outputData=a.data.data.result,t?(e.showPopover=!0,e.computStyle()):e.showPopover=!1,e.entered&&e.emitData(),e.entered=!1,e.fetching=!1})},enterKey(t){13===t.keyCode?(this.emitData(),this.fetching&&(this.entered=!0)):this.fetching=!0},emitData(){this.$emit("searchValChanged",this.outputData,this.inputVal)},selectOption(t){this.inputVal=t.question_title,this.showPopover=!1,this.$emit("searchValChanged",[t])},computStyle(){this.$nextTick(function(){var t=document.getElementById("scroll-wrap"),e=document.getElementById("k-ul");t&&e&&(t.style.marginRight=e.offsetWidth-t.offsetWidth+"px",t.style.marginBottom=e.offsetWidth-t.offsetWidth+"px")})},resetInput(){this.inputVal=""}},created(){},mounted(){var t=this;document.onclick=function(e){var a=e.target.parentNode&&e.target.parentNode.className||"";"string"===typeof a&&"k-ul"!==a&&"scroll-wrap"!==a&&"k-popover"!==a&&-1===a.indexOf("search-box")&&(t.showPopover=!1)}},watch:{datas:function(t){t&&(this.searchItems=t)}}},d=h,p=a(6188),m=(0,p.A)(d,l,c,!1,null,"355f29cd",null),f=m.exports,_=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"qaItem"},[s("h3",{staticClass:"qaTitle",domProps:{textContent:t._s(t.itemData.question_title)}}),s("hr"),s("div",{ref:"cbox",staticClass:"qaContent",style:{height:t.height}},[s("div",{ref:"cbody",staticClass:"content_body",domProps:{innerHTML:t._s(t.itemData.question_content)}})]),t.showBtn?s("div",{staticClass:"show_more",on:{click:t.showMore}},[t._v(" "+t._s(t.limited?t.$lang.service.unfoldMore:t.$lang.service.packUp)+" "),s("img",{class:{reverse:!t.limited},attrs:{src:a(9759)}})]):t._e()])},g=[],v={name:"qaItem",props:["itemData"],data(){return{limited:!0,showBtn:!1,fullHeight:"",height:".64rem"}},methods:{showMore(){this.updateBox(),this.limited=!this.limited,this.limited?this.height=".64rem":this.height=this.fullHeight},updateBox(){if(this.$refs.cbox&&this.$refs.cbody){let t=this.$refs.cbox.offsetHeight,e=this.$refs.cbody.offsetHeight;t<e&&(this.showBtn=!0),this.fullHeight=.64/t*e+"rem"}},getAllimgs(){var t=this,e=this.$refs.cbody.getElementsByTagName("img"),a=function(){var t=!0;for(let a=0;a<e.length;a++)e[a].loaded||(t=!1);return t};for(let s=0;s<e.length;s++)e[s].loaded=!1,e[s].addEventListener("load",function(){e[s].loaded=!0,a()&&t.updateBox()})}},created(){},mounted(){this.getAllimgs(),this.$nextTick(()=>{this.updateBox()})}},b=v,y=(0,p.A)(b,_,g,!1,null,"129db7fe",null),w=y.exports,I=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"pop"},[a("div",{staticClass:"pop-container"},[a("div",{staticClass:"pop-container-title"},[t._m(0),a("div",{staticClass:"pop-close",on:{click:t.closeModal}})]),a("div",{staticClass:"pop-container-content"},[a("el-form",{ref:"ruleForm",staticClass:"selectGame",attrs:{model:t.formData,rules:t.rules}},[a("el-form-item",{attrs:{prop:"game_base_id"}},[a("el-select",{staticStyle:{width:"240px"},attrs:{placeholder:"è«å
鏿鿲"},on:{change:t.selectGame},model:{value:t.formData.game_base_id,callback:function(e){t.$set(t.formData,"game_base_id",e)},expression:"formData.game_base_id"}},[t._l(t.gameList,function(t,e){return[a("el-option",{key:e,attrs:{label:t.game_name,value:t.game_base_id}})]})],2)],1)],1)],1),a("div",{staticClass:"pop-container-action",on:{click:t.nextStep}},[t._v(" ä¸ä¸æ¥ ")])])])},C=[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"title-wrap"},[a("div",{staticClass:"title-icon"}),a("span",{staticClass:"title-text"},[t._v("客æ")])])}];a(7835);var k={data(){return{gameList:[],rules:{game_base_id:[{required:!0,message:"è«å
鏿鿲"}]}}},props:{formData:{type:Object,default:()=>({})}},methods:{commonGameList(){this.$apis.service.commonGameList().then(t=>{0==t.data.code&&t.data.data&&(this.gameList=t.data.data)})},closeModal(){this.$emit("closeModal")},selectGame(t){const e=this.gameList.filter(e=>Number(t)===e.game_base_id);e&&e.length&&(this.formData.type=7===e[0].account_domain?2:1)},nextStep(){this.$refs["ruleForm"].validate(t=>{t&&this.$emit("nextStep")})}},created(){this.commonGameList()}},L=k,x=(0,p.A)(L,I,C,!1,null,"72a1110e",null),$=x.exports,T=a(49
10),D={name:"index",data(){return{gameList:[],pageInfo:"",gameListData:[],filter:0,qaList:[],pType:"games",seletedGame:null,pageOptions:{index:1,size:10,query:""},no_more:!1,have_more:!1,gameOptions:{index:1,size:10},propFunc:this.$apis.service.commonQuestionList,docScrollTop:0,btnBusy:!1,isSelectGamePop:!1,formData:{game_base_id:"",type:1,url:""},aiList:{tag:"",show_conversation_moment:"",conversation_intent:"",always_show_human_support_button_in_bot_page:"",ai_help_app_key:"KOMOEHK_app_1b60701e56ba484983dd6fd670e60df9",ai_help_app_id:"KomoeHK_platform_bac809d8-efa8-43f9-8df6-6c8a93feb9c8"},lang:"en",aihelpGameId:"",loginInfo:{}}},computed:{...(0,T.L8)(["userInfo","globalLang"])},components:{qaItem:w,goTop:r.A,search:f,selectgameModal:$},methods:{getMoreGames(){this.gameList=this.gameList.concat(this.gameListData.slice(this.gameOptions.index*this.gameOptions.size,(this.gameOptions.index+1)*this.gameOptions.size)),(this.gameOptions.index+2)*this.gameOptions.size>this.gameListData.length&&(this.have_more=!1),this.gameOptions.index++},changeList(t,e,a){this.docScrollTop=0;var s=this;s.qaList=[],t&&t.length===this.pageOptions.size?this.no_more=!1:this.no_more=!0,"selectedSingle"===a&&(this.no_more=!0),e&&(this.pageOptions.query=e),"getData"===t?s.fetchData(s.seletedGame):(this.qaList=t,this.$nextTick(()=>{new(o())({elements_selector:".lazy",callback_load:()=>{s.$emit("loadedImg"),s.$refs["qItem"].forEach(t=>{t.updateBox()})}})}))},reSelectGame(){this.pType="games",this.filter=0,this.docScrollTop=0,this.$refs["searchInput"].resetInput(),this.no_more=!1,this.pageOptions.index=1,this.pageOptions.query=""},getAihelpInfo(){this.$apis.service.setServeInfo(this.aihelpGameId,"komoe"===this.$area?3:"komoe-sea"===this.$area?105:"").then(t=>{this.$toast.clear(),0===t.data.code?(this.aiList.tag=t.data.data.tag,this.aiList.show_conversation_moment=t.data.data.show_conversation_moment,this.aiList.conversation_intent=t.data.data.conversation_intent,this.aiList.always_show_human_support_button_in_bot_page=t.data.data.always_show_human_support_button_in_bot_page,this.aiList.ai_help_app_key=t.data.data.ai_help_app_key,this.aiList.ai_help_app_id=t.data.data.ai_help_app_id,this.setAihelp()):(this.aiList.tag="",this.aiList.show_conversation_moment=1,this.aiList.conversation_intent=1,this.aiList.always_show_human_support_button_in_bot_page=!1,this.aiList.ai_help_app_key="KOMOEHK_app_1b60701e56ba484983dd6fd670e60df9",this.aiList.ai_help_app_id="KomoeHK_platform_bac809d8-efa8-43f9-8df6-6c8a93feb9c8",this.setAihelp())})},setAihelp(){const t=this;(function(){var e={userName:t.loginInfo.nickName||t.loginInfo.nick_name,userId:t.loginInfo.mid.toString(),userTags:t.aiList.tag,customData:{key1:"value1",key2:"value2"}},a={showConversationMoment:1===t.aiList.show_conversation_moment?2:2===t.aiList.show_conversation_moment?1:t.aiList.show_conversation_moment,conversationIntent:t.aiList.conversation_intent,alwaysShowHumanSupportButtonInBotPage:t.aiList.always_show_human_support_button_in_bot_page,welcomeMessage:""},s={appKey:t.aiList.ai_help_app_key,domain:"komoehk.aihelp.net",appId:t.aiList.ai_help_app_id,appName:"",language:t.setLanguage(t.globalLang),supportMode:"showAllFAQSections",supportConfig:a,userConfig:e,entranceId:"E001"};AIHelpSupport.initialize(s),AIHelpSupport.registerAsyncEventListener("initialization",function(){let t=document.getElementById("AIHelpSupportBox");const e="AIHelpH5Overseas";t.className.includes(e)||(t.className+=` ${e}`),AIHelpSupport.show(s.entranceId)})})()},setLanguage(t){const e=new Map([["cn","zh_CN"],["zh","zh_TW"],["en","en"],["th","th"],["vi","vi"],["ko","kr"]]);return e.get(t)||"en"},getLoginInfo(){this.$apis.header.getUserInfo(this.$utils.token("joy_jct")).then(t=>{0===t.data.code?this.loginInfo=t.data.data:this.loginInfo={}})},selectGame(t){this.$toast.loading({duration:2e4,message:this.$lang.h5page.footernav.text4,overlay:!0,forbidClick:!0}),this.loginInfo&&this.loginInfo.mid?(this.aihelpGameId=t.game_base_id,document.getElementById("AIHelpSupportBox")&&AIHelpSupport.close(),this.getAihelpInfo()):(this.$toast.clear(),this.formData.url="/service/h5",this.formData.type=7===t.account_domain?2:1,this.goLogin(this.formData.type))},getMoreQue(){this.docScrollTop=document.documentElement.scrollTop,this.pageOptions.index++,this.fetchData(this.seletedGame,"more")},fetchData(t,e){if(!this.btnBusy){var a=this,s=this.filter;0===s&&(s=""),this.btnBusy=!0,this.$apis.service.commonQuestionList(t.game_base_id,s,this.pageOptions.index,this.pageOptions.size,this.pageOptions.query).then(s=>{if(e||(a.qaList=[]),this.btnBusy=!1,s.data.data&&s.data.data.result)if(s.data.data.result.length>0){var i=s.data.data.result;
1i.forEach(t=>{t.question_content.replace("<img",'<img class="lazy"').replace(" src="," data-src=")}),a.qaList=e&&"more"===e?a.qaList.concat(i):i,i.length<a.pageOptions.size&&(a.no_more=!0),e&&"select"===e&&window.scrollTo(0,0),a.pType="questions",a.seletedGame=t,a.$nextTick(()=>{new(o())({elements_selector:".lazy",callback_load:()=>{a.$emit("loadedImg"),a.$refs["qItem"].forEach(t=>{t.updateBox()})}}),e&&"more"===e&&a.intervalCheck(a.docScrollTop)})}else a.no_more=!0})}},intervalCheck(t){window.scrollTo(0,t),setTimeout(()=>{document.documentElement.scrollTop!==t&&this.intervalCheck(t)},100)},filterType(t){this.filter=t,this.no_more=!1,this.pageOptions.index=1,this.pageOptions.query="",this.docScrollTop=0,this.$refs["searchInput"].resetInput(),this.fetchData(this.seletedGame)},goTo(t){this.formData.url=t,this.userInfo&&this.userInfo.mid?this.nextStep():this.isSelectGamePop=!0},closeModal(){this.isSelectGamePop=!1,this.formData.url="",this.formData.game_base_id=""},nextStep(){this.userInfo&&this.userInfo.mid?this.$router.push({path:this.formData.url,query:this.formData.game_base_id}):this.goLogin(this.formData.type)},changeTab(t){this.formData.url=t,this.userInfo&&this.userInfo.mid?this.nextStep():this.isSelectGamePop=!0},goLogin(t){let e;const a=this.formData.game_base_id?encodeURIComponent(`${location.origin}/global${this.formData.url}?game_base_id=${this.formData.game_base_id}`):encodeURIComponent(`${location.origin}/global${this.formData.url}`);e=2===t?`https://${this.$siteConfig.passportDomain}/login/?type=both&redirect=${a}`:`https://${this.$siteConfig.passportDomain}/login/?redirect=${a}`,window.location.href=e}},created(){this.pageInfo=this.$route.name,this.$apis.service.commonGameList().then(t=>{0==t.data.code&&t.data.data&&(this.gameListData=t.data.data,t.data.data.length>this.gameOptions.size?(this.have_more=!0,this.gameList=this.gameListData.slice(0,this.gameOptions.size)):this.gameList=this.gameListData)}),this.getLoginInfo()},beforeDestroy(){document.getElementById("AIHelpSupportBox")&&AIHelpSupport.close()},mounted(){}},E=D,S=(0,p.A)(E,s,i,!1,null,"71628793",null),O=S.exports},9759:function(t,e,a){"use strict";t.exports=a.p+"img/arrow_down_circle.53c52915.svg"},874:function(t,e,a){"use strict";t.exports=a.p+"img/loading.d834250d.svg"},2072:function(t,e,a){"use strict";t.exports=a.p+"img/totop_arrow.6c5ece3d.svg"},8049:function(t,e,a){"use strict";
vendor: 535 bytes, line 1
1var s=a(4889),i=a(5612),n=a(9661),o=a(3326),r=a(9326),l=a(3703),c=a(3160),u=a(9114),h=a(2408),d=a(4239),p=a(8550),m=!u&&!d("filter",function(){}),f=!u&&!m&&p("filter",TypeError),_=u||m||f,g=l(function(){var t,e,a,s=this.iterator,n=this.predicate,r=this.next;while(1){if(t=o(i(r,s)),e=this.done=!!t.done,e)return;if(a=t.value,c(s,n,[a,this.counter++],!0))return a}});s({target:"Iterator",proto:!0,real:!0,forced:_},{filter:function(t){o(this);try{n(t)}catch(e){h(this,"throw",e)}return f?i(f,this,t):new g(r(this),{predicate:t})}})}}]);
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.