PageSourceSearch

https://www.asiacell.com/_nuxt/connect-mifi.feb6c912.js

js asiacell.com collected 2026-10-02 03:05:24 UTC 5,284 bytes, 1 lines download raw bytes

1import{_ as x,f as b,d as v}from"./entry.a8a1e645.js";import{r as D,c as n,b as t,t as a,d as u,w as m,O as A,o as c,q as _,f,v as y}from"./swiper-vue.dcfea109.js";const w={name:"connectToMifi",layout:"action-layout-facility",components:{},data(){return{isPairSuccessed:!1,isAuthenticated:!1,payload:{iccid:"",msisdn:"",replacement:!1,dataline:""},pageData:{copies:{line1:"Thank you for using Asiacell internet line",line2:"To get best internet experience, we recommend to connect your internet number to your mobile phone number to manage your data line easily",line3:"Please follow below steps",line4:"Download Asiacell Application",line5:"You have successfully paired to your dataline"},form:{line1:"Enter personal phone number",line2:"077XXXXXXX",line3:"ICCID (last 4 digits)",line4:"XXXX",line5:"Connect",line6:"Cancel",line7:"Enter data line number"},link:{link1:"https://apps.apple.com/us/app/asiacell/id1037701735",link2:"https://play.google.com/store/apps/details?id=com.asiacell.asiacellodp&hl=en&gl=US",link3:"https://appgallery.huawei.com/#/app/C100932907"}}}},mounted(){localStorage.getItem("user")==null?this.isAuthenticated=!1:(this.isAuthenticated=!0,this.payload.msisdn=JSON.parse(localStorage.getItem("user")).username)},methods:{onAuthenticated(o){o.success&&(this.isAuthenticated=!0,this.payload.msisdn=o.username)},submitPair(){const{$myAxios:o}=b();v();const{locale:s,t:p}=s,h=localStorage.getItem("deviceId");let d={headers:{Authorization:"Bearer "+localStorage.getItem("authToken"),DeviceID:h}};o.post(`/v1/data-line?lang=${s.value}`,this.payload,d).then(i=>{i.data.success?(this.$toast.success(i.data.message),this.isConfirmed=!0,this.isPairSuccessed=!0):this.$toast.error(i.data.message)})}},async fetch(){const{$myAxios:o}=b(),s=v(),{locale:p,t:h}=p,{data:e}=await o.get("/v1/pageData?uri="+s.path+"&lang="+p.value);e.data.pageData&&Object.keys(e.data.pageData).length>0&&(this.pageData=e.data.pageData)}},S={class:"container"},C={key:0,class:"success-screen w-100 mb-5 d-flex flex-column align-items-center",style:{"margin-top":"120px"}},I={class:"type-1 text-center mt-4"},X={href:"http://my-auth.asiacell.com/api/dynamicapi/checkmeinv1?type=auto",class:"mt-3 btn btn-primary w-auto"},P={key:1},V={class:"type-1 text-center mt-4"},j={class:"type-3 text-center w-mobile mt-2"},M={class:"type-2 text-center mt-4"},N={class:"form-group"},O={key:1},T=["placeholder"],U={class:"form-text text-muted"},q={class:"form-group"},B=["placeholder"],E={class:"form-text text-muted"},G={class:"form-group"},R=["placeholder"],z={class:"form-text text-muted"},J={class:"button-actions justify-content-center"},K=["disabled"],L={type:"button",class:"btn btn-light w-100"},Q={class:"type-2 text-center"},Y={class:"button-actions justify-content-center mt-3"},F=["href"],H=["src"],W=["href"],Z=["src"],$=["href"],ee=["src"];function te(o,s,p,h,e,d){const i=D("ValidationProvider"),k=D("ValidationObserver");return c(),n("div",S,[e.isPairSuccessed?(c(),n("div",C,[t("div",I,a(e.pageData.copies.line5),1),t("a",X,a(o.$t("QUICK_LOGIN")),1)])):(c(),n("div",P,[t("div",V,a(e.pageData.copies.line1),1),t("div",j,a(e.pageData.copies.line2),1),t("div",M,a(e.pageData.copies.line3),1),t("form",{class:"check-form",onSubmit:s[4]||(s[4]=A((...g)=>d.submitPair&&d.submitPair(...g),["prevent"]))},[u(k,null,{default:m(({invalid:g})=>[u(i,{rules:"required|msisdn"},{default:m(({errors:r})=>[t("div",N,[e.isAuthenticated?_("",!0):(c(),n("button",{key:0,type:"button",onClick:s[0]||(s[0]=l=>o.$refs.loginAndRegisterModal.openModal()),class:"btn btn-primary w-sm-100"},a(e.pageData.form.line1),1)),e.isAuthenticated?(c(),n("label",O,a(e.pageData.form.line1),1)):_("",!0),e.isAuthenticated?f((c(),n("input",{key:2,type:"text",class:"form-control",readonly:!0,placeholder:e.pageData.form.line2,"onUpdate:modelValue":s[1]||(s[1]=l=>e.payload.msisdn=l)},null,8,T)),[[y,e.payload.msisdn]]):_("",!0),t("small",U,a(o.$t(r[0])),1)])]),_:1}),u(i,{rules:"required|msisdn"},{default:m(({errors:r})=>[t("div",q,[t("label",null,a(e.pageData.form.line7),1),f(t("input",{type:"text",class:"form-control",placeholder:e.pageData.form.line2,"onUpdate:modelValue":s[2]||(s[2]=l=>e.payload.dataline=l)},null,8,B),[[y,e.payload.dataline]]),t("small",E,a(o.$t(r[0])),1)])]),_:1}),u(i,{rules:"required|min:4|max:4"},{default:m(({errors:r})=>[t("div",G,[t("label",null,a(e.pageData.form.line3),1),f(t("input",{type:"text",class:"form-control",placeholder:e.pageData.form.line4,"onUpdate:modelValue":s[3]||(s[3]=l=>e.payload.iccid=l)},null,8,R),[[y,e.payload.iccid]]),t("small",z,a(o.$t(r[0])),1)])]),_:1}),t("div",J,[t("button",{type:"submit",disabled:g||!e.isAuthenticated,class:"btn btn-primary w-sm-100"},a(e.pageData.form.line5),9,K),t("button",L,a(e.pageData.form.line6),1)])]),_:1})],32),t("div",Q,a(e.pageData.copies.line4),1),t("div",Y,[t("a",{href:e.pageData.link.link1,target:"_blank"},[t("img",{src:"/img/icon/app-store.jpg",alt:"Asiacell App Store"},null,8,H)],8,F),t("a",{href:e.pageData.link.link2,target:"_blank"},[t("img",{src:"/img/icon/app-play-store.jpg",alt:"Asiacell Play Store"},null,8,Z)],8,W),t("a",{href:e.pageData.link.link3,target:"_blank"},[t("img",{src:"/img/icon/app-gallery.jpg",alt:"Asiacell App Gallery"},null,8,ee)],8,$)])]))])}const oe=x(w,[["render",te]]);export{oe as default};

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.