PageSourceSearch

https://www.genb2b.com/_nuxt/09508f2.js

js genb2b.com collected 2026-10-04 19:55:20 UTC 25,120 bytes, 1 lines download raw bytes

1(window.webpackJsonp=window.webpackJsonp||[]).push([[290,133,137,138,139,183,267],{1093:function(t,e,r){"use strict";r.r(e);r(31),r(35),r(34),r(18),r(44),r(27),r(45);var n=r(14),o=r(17),c=(r(53),r(654)),l=r(750),d=r(278),f=r(775);function m(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(object);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,r)}return e}function v(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?m(Object(source),!0).forEach((function(e){Object(o.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):m(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}var O={components:{LoginForm:l.default,OtpForm:c.default},props:{rememberAccount:{type:Boolean,default:!1}},data:function(){return{isLoading:!1,loginType:f.a.OTP,user:{verified:!1,userId:"",password:"",Ticket:"",phone:"",email:""}}},computed:v({},Object(d.a)(["rememberAccount"])),methods:{pwdUnchanged:function(t){this.$emit("pwdUnchanged",t)},reset:function(){this.isLoading=!1;var t=this.user;t.verified=!1,t.userId="",t.password="",t.Ticket=""},getUserInfo:function(){var t=this;return Object(n.a)(regeneratorRuntime.mark((function e(){var r,n,o,c,l,d,f,m;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.user,n=r.userId,o=r.Ticket,e.next=3,t.$axios.post("Member/GetUserInfo",{userId:n,Ticket:o,dontLogin:!0}).then((function(t){return t.data}));case 3:if(c=e.sent,l=c.otp,d=c.userInfo,1===l.status){e.next=23;break}f="",e.t0=l.status,e.next=0===e.t0?11:3===e.t0?13:2===e.t0||4===e.t0?15:5===e.t0?17:19;break;case 11:return f="沒有OTP登入權限,請向負責人申請並完成OTP綁定。",e.abrupt("break",19);case 13:return f="負責人資料已變更,需重新簽約及綁定通訊裝置。",e.abrupt("break",19);case 15:return f="您尚未申請OTP,請前往綁定設備。",e.abrupt("break",19);case 17:return f="您已解除OTP綁定,請重新申請。",e.abrupt("break",19);case 19:t.$alert({text:f}),t.isLoading=!1,e.next=27;break;case 23:(m=t.user).phone=d.phone,m.email=d.email,m.verified=!0;case 27:case"end":return e.stop()}}),e)})))()},otpSuccess:function(t){var e=this,r=(t.status,t.loginType),n=t.Ticket,o=this.user,c=o.userId;this.$store.dispatch("user/login",{Ticket:n,userId:c,userType:r}).then((function(){return e.$emit("afterLogin",v({},o))}))},preLogin:function(t){var e=this;return Object(n.a)(regeneratorRuntime.mark((function r(){var n;return regeneratorRuntime.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return e.isLoading=!0,(n=e.user).userId=t.userId,n.password=t.password,n.Ticket=t.Ticket,r.next=7,e.getUserInfo();case 7:e.isLoading=!1;case 8:case"end":return r.stop()}}),r)})))()}}},h=r(11),component=Object(h.a)(O,(function(){var t=this,e=t._self._c;return e("div",[t.user.verified?e("OtpForm",{staticClass:"mt-4",attrs:{"verify-api":"Login/Otp","verify-api-data":t.user,phone:t.user.phone,email:t.user.email,user:t.user,"dont-redirect":"","otp-type":"mobile"},on:{success:t.otpSuccess,cancel:t.reset}}):e("LoginForm",{attrs:{hint:"請輸入帳號及密碼","password-max-length":"20","remember-account":t.rememberAccountInner,"login-type":t.loginType,"is-loading":t.isLoading,"submit-button-text":"下一步"},on:{"update:rememberAccount":function(e){t.rememberAccountInner=e},"update:remember-account":function(e){t.rememberAccountInner=e},"update:isLoading":function(e){t.isLoading=e},"update:is-loading":function(e){t.isLoading=e},login:t.preLogin,pwdUnchanged:t.pwdUnchanged},scopedSlots:t._u([{key:"footer",fn:function(){return[e("div",{staticClass:"text-center text-mb-14"},[t._v("\n        還沒有綁定OTP設備?"),e("a",{staticClass:"text-warning font-weight-bold",attrs:{href:"https://www.genb2b.com/member/news/a2fcc0aa-5684-449f-bf50-d4647e20cb80",target:"_blank"}},[t._v("查詢如何申請")]),t._v(" "),e("div",{staticClass:"mt-3"},[e("NuxtLink",{staticClass:"text-warning font-weight-bold",attrs:{to:"/signup"}},[t._v("註冊經銷商帳號>")])],1)])]},proxy:!0}])})],1)}),[],!1,null,null,null);e.default=component.exports;installComponents(component,{OtpForm:r(654).default,LoginForm:r(750).default})}
1,1176:function(t,e,r){"use strict";r.r(e);r(31),r(35),r(34),r(18),r(44),r(27),r(45);var n=r(14),o=r(17),c=(r(53),r(70)),l=r(628),d=r(741),f=r(655),m=r(689),v=r(639),O=r(651),h=r(693),w=r(881),y=r(536);function x(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(object);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,r)}return e}function P(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?x(Object(source),!0).forEach((function(e){Object(o.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):x(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}var j=["","","舊密碼錯誤","","新密碼不可與舊密碼相同"],L={components:{BButton:c.a,BForm:l.a,LoginFormWrapper:m.default,LoginFormHint:d.default,LoginFormTitle:f.default,InputPassword:v.default,TextPasswordHints:O.default,OtpVerifyWithModal:h.default},mixins:[y.c],props:{user:{type:Object,default:function(){return{userId:"",password:"",Ticket:""}}}},data:function(){return{password:"",passwordConfirm:"",useOldPassword:!1,isOtpFormModalOpen:!1,email:"",phone:""}},head:{title:"密碼變更提醒"},computed:{oldPassword:function(){var t;return null===(t=this.user)||void 0===t?void 0:t.password},apiData:function(){var t=this.oldPassword,e=this.user;return{userId:e.userId,Ticket:e.Ticket,oldPassword:t,password:this.useOldPassword?t:this.password,IsCheckLength:!0,dontLogin:!0}},otpFormSettings:function(){return{verifyApi:"Login/ChangePassword",verifyApiData:this.apiData,user:this.user,email:this.email,phone:this.phone,placeholder:"請輸入6位數簡訊驗證碼"}}},validations:function(){var t=this;return{password:P(P({},Object(y.f)()),{},{notSameOldPassword:function(e){return e!==t.oldPassword}}),passwordConfirm:Object(y.g)()}},methods:{getUserInfo:function(){var t=this;return Object(n.a)(regeneratorRuntime.mark((function e(){var r,n,o,c,data,l;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.user,n=r.userId,o=r.Ticket,e.next=3,t.$axios.post("Member/GetUserInfo",{userId:n,Ticket:o,dontLogin:!0});case 3:c=e.sent,data=c.data,l=data.userInfo,t.phone=l.phone,t.email=l.email;case 8:case"end":return e.stop()}}),e)})))()},verifyPassword:function(){var t=this;return Object(n.a)(regeneratorRuntime.mark((function e(){var r,n,o,c,l,d,f;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.$nuxt.$loading.start(),r=t.user,n=r.userId,o=r.Ticket,e.prev=2,c=t.$axios,l=t.oldPassword,d=t.password,e.next=6,Object(w.a)({$axios:c,body:{userId:n,Ticket:o,verifyType:"ChangePassword",oldPassword:l,password:d}});case 6:(f=e.sent)?t.$alert({text:f}):t.startOtp(),e.next=13;break;case 10:e.prev=10,e.t0=e.catch(2),t.$alert({text:e.t0});case 13:t.$nuxt.$loading.finish();case 14:case"end":return e.stop()}}),e,null,[[2,10]])})))()},startOtp:function(){var t=this;return Object(n.a)(regeneratorRuntime.mark((function e(){var r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.useOldPassword){e.next=6;break}if((r=t.$v).$touch(),!r.$anyError){e.next=6;break}return e.abrupt("return");case 6:return e.next=8,t.getUserInfo();case 8:t.isOtpFormModalOpen=!0;case 9:case"end":return e.stop()}}),e)})))()},afterUpdate:function(data){var t=this;return Object(n.a)(regeneratorRuntime.mark((function e(){var r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=t.$alert,t.isOtpFormModalOpen=!1,1!==data.status){e.next=10;break}return e.next=5,r({text:"修改成功,請重新登入"});case 5:return e.next=7,t.$store.dispatch("user/logout");case 7:window.location.reload(),e.next=11;break;case 10:r({text:j[data.status]||"新密碼格式錯誤"});case 11:case"end":return e.stop()}}),e)})))()}}},A=r(11),component=Object(A.a)(L,(function(){var t=this,e=t._self._c;return e("OtpVerifyWithModal",{attrs:{"otp-form-settings":t.otpFormSettings,title:"簡訊驗證"},on:{success:t.afterUpdate,verifyApiError:t.afterUpdate},model:{value:t.isOtpFormModalOpen,callback:function(e){t.isOtpFormModalOpen=e},expression:"isOtpFormModalOpen"}},[e("LoginFormWrapper",[e("LoginFormTitle",{staticClass:"w-100",attrs:{active:""}},[t._v("為了您的帳戶安全 請確認密碼設定")]),t._v(" "),e("LoginFormHint",[t._v("您的帳號已經超過 6\n      個月未變更密碼,為了保障您的帳戶安全,建議您定期更新密碼以避免風險。")]),t._v(" "),e("BForm",{attrs:{novalidate:""},on:{submit:function(e){return e.preventDefault(),t.verifyPassword.apply(null,arguments)}}},[e("InputPassword",{attrs:{$v:t.$v.password,placeholder:"請輸入新密碼",icon:"",disabled:t.useOldPassword},model:{value:t.$v.password.$model,callback:function(e){t.$set(t.$v.password,"$model",e)},expression:"$v.password.$model"}}),t._v(" "),e("InputPassword",{attrs:{$v:t.$v.passwordConfirm,placeholder:"請再次輸入新密碼",icon:"",disabled:t.useOldPassword},model:{value:t.$v.passwordConfirm.$model,callback:function(e){t.$set(t.$v.passwordConfirm,"$model",e)},expression:"$v.passwordConfirm.$model"}}),t._v(" "),e("TextPasswordHints",{staticClass:"text-gray-500 mab-16"}),t._v(" "),e("BButton",{attrs:{type:"submit",block:""}},[t._v("確認")])],1)],1)],1)}),[],!1,null,null,null);e.default=component.exports;installComponents(component,{LoginFormTitle:r(655).default,LoginFormHint:r(741).default,InputPassword:r(639).default,TextPasswordHints:r(651).default,LoginFormWrapper:r(689).default,OtpVerifyWithModal:r(693).default})},1339:function(t,e,r){"use strict";r.r(e);var n=r(14),o=r(17),c=(r(53),r(18),r(51),r(54),r(31),r(35),r(34),r(44),r(27),r(45),r(22)),l=r(655),d=r(689),f=r(910),m=r(911),v=r(1093),O=r(912),h=r(560),w=r(775);function y(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(object);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,r)}return e}var x={components:{LoginFormWrapper:d.default,LoginFormTitle:l.default,LoginFormTitleWrapper:f.default,LoginFormNormal:m.default,LoginFormOtp:v.default,OtpModalAfterLogin:O.default,LoginFormChangePassword:function(){return Promise.resolve().then(r.bind(null,1176))}},data:function(){return{type:w.a.OTP,LOGIN_TYPE:w.a,rememberAccount:!1,isPwdUnchanged:!1,user:{userId:"",password:"",Ticket:""}}},head:{title:"登入"},computed:function(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};
1i%2?y(Object(source),!0).forEach((function(e){Object(o.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):y(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}({isNormal:function(){return this.type===w.a.GENERAL},isOTP:function(){return this.type===w.a.OTP}},Object(c.b)({isLoginOtp:"user/isOtp"})),methods:{pwdUnchanged:function(t){var e=t.userId,r=t.password,n=t.Ticket;if(e&&r&&n){var o=this.user;o.userId=e,o.password=r,o.Ticket=n,this.isPwdUnchanged=!0}},redirect:function(t){var e=this;return Object(n.a)(regeneratorRuntime.mark((function r(){var n,o,c;return regeneratorRuntime.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(o=t.otpStatus,e.isLoginOtp){r.next=10;break}if(0!==o){r.next=7;break}return r.next=5,e.$alert({text:"需 OTP 登入才能購物與結帳。請先由公司負責人開啟 OTP 權限,再重新登入完成綁定。"});case 5:r.next=10;break;case 7:if(1!==o){r.next=10;break}return r.next=10,e.$alert({text:"需 OTP 登入才能購物與結帳,請使用OTP登入。"});case 10:c=(null===(n=e.$route.query)||void 0===n?void 0:n.redirect)||"/",e.$router.push({path:c});case 12:case"end":return r.stop()}}),r)})))()},afterLogin:function(t){var e=this,r=t.userId,n=this.type,o=this.rememberAccount,c=this.$store,l=c.state.user.userDetail.userInfo,d=l.userName,f=l.company;Object(h.n)({userId:r,userName:d,companyId:f.companyId}),o&&localStorage.setItem("".concat(w.a[n],"_remeber"),r),c.dispatch("actionsByIdentity").then((function(){e.$refs.OtpModalAfterLogin.openIfNeed()}))}}},P=x,j=r(11),component=Object(j.a)(P,(function(){var t=this,e=t._self._c;return t.isPwdUnchanged?e("LoginFormChangePassword",{attrs:{user:t.user}}):e("LoginFormWrapper",[e("LoginFormTitleWrapper",[e("LoginFormTitle",{staticClass:"cursor-pointer",attrs:{active:t.isOTP},on:{click:function(e){t.type=t.LOGIN_TYPE.OTP}}},[t._v("OTP登入")]),t._v(" "),e("LoginFormTitle",{staticClass:"cursor-pointer",attrs:{active:t.isNormal},on:{click:function(e){t.type=t.LOGIN_TYPE.GENERAL}}},[t._v("一般登入")])],1),t._v(" "),t.isNormal?e("LoginFormNormal",{attrs:{"remember-account":t.rememberAccount},on:{"update:rememberAccount":function(e){t.rememberAccount=e},"update:remember-account":function(e){t.rememberAccount=e},pwdUnchanged:t.pwdUnchanged,afterLogin:t.afterLogin}}):t._e(),t._v(" "),t.isOTP?e("LoginFormOtp",{attrs:{"remember-account":t.rememberAccount},on:{"update:rememberAccount":function(e){t.rememberAccount=e},"update:remember-account":function(e){t.rememberAccount=e},pwdUnchanged:t.pwdUnchanged,afterLogin:t.afterLogin}}):t._e(),t._v(" "),e("OtpModalAfterLogin",{ref:"OtpModalAfterLogin",on:{cancel:t.redirect}})],1)}),[],!1,null,null,null);e.default=component.exports;installComponents(component,{LoginFormChangePassword:r(1176).default,LoginFormTitle:r(655).default,LoginFormTitleWrapper:r(910).default,LoginFormNormal:r(911).default,LoginFormOtp:r(1093).default,OtpModalAfterLogin:r(912).default,LoginFormWrapper:r(689).default})},601:function(t,e,r){"use strict";r.d(e,"a",(function(){return f}));var n=r(7),o=r(8),c=r(0),l=r(553),d=Object(c.d)(l.c,o.D),f=Object(n.c)({name:o.D,mixins:[l.b],inject:{getBvGroup:{from:"getBvRadioGroup",default:function(){return function(){return null}}}},props:d,computed:{bvGroup:function(){return this.getBvGroup()}}})},603:function(t,e,r){t.exports={wrapper:"wrapper_f5wYU",container:"container_a-rlv"}},651:function(t,e,r){"use strict";r.r(e);var n={},o=r(11),component=Object(o.a)(n,(function(){this._self._c;return this._m(0)}),[function(){var t=this,e=t._self._c;return e("div",{staticClass:"text-14 text-lg-16"},[e("div",[t._v("※密碼長度至少為 7-20 個字元")]),t._v(" "),e("div",[t._v("※密碼需同時符合下列三項條件:")]),t._v(" "),e("ol",[e("li",[t._v("大寫英文字母")]),t._v(" "),e("li",[t._v("小寫英文字母")]),t._v(" "),e("li",[t._v("數字(0到9)")])])])}],!1,null,null,null);e.default=component.exports},655:function(t,e,r){"use strict";r.r(e);var n={props:{active:{type:Boolean,defaul:!1}},computed:{activeClass:function(){return this.active?["border-primary","font-weight-bold"]:["text-gray-500"]}}},o=r(11),component=Object(o.a)(n,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"text-center px-1 px-lg-3 py-2 border-bottom text-14 text-lg-20",class:t.activeClass,staticStyle:{width:"100%"},on:{click:function(e){return t.$emit("click")}}},[e("div",{staticClass:"px-1 px-lg-0"},[t._t("default")],2)])}),[],!1,null,null,null);e.default=component.exports},681:function(t,e,r){t.exports={}},689:function(t,e,r){"use strict";r.r(e);r(31),r(35),r(34),r(18),r(44),r(27),r(45);var n=r(17),o=r(22),c=r(514),l=r(515),col=r(512);function d(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(object);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,r)}return e}function f(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};
1i%2?d(Object(source),!0).forEach((function(e){Object(n.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):d(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}var m={components:{BContainer:c.a,BRow:l.a,BCol:col.a},computed:f(f({},Object(o.d)({ads:function(t){return t.adsIndex}})),{},{ad:function(){var t=this.ads["(LBN)Login Bottom Notice"];return t&&t.texts.length?t.texts[0]:null}})},v=r(773),O=(r(774),r(11));var component=Object(O.a)(m,(function(){var t=this,e=t._self._c;return e("BContainer",{class:t.$style.container,attrs:{tag:"main",fluid:"lg"}},[e("BRow",{staticClass:"w-100",attrs:{"align-h":"center","align-v":"center",tag:"section"}},[e("BCol",{staticClass:"py-5 d-flex align-items-center justify-content-center flex-column",attrs:{tag:"article",col:""}},[e("div",{staticClass:"p-3 p-lg-4 shadow-sm border rounded",class:t.$style.wrapper},[e("div",{staticClass:"p-1 p-lg-0"},[t._t("default")],2)]),t._v(" "),t.ad?e("div",{staticClass:"d-flex border border-orange rounded bg-ff7c3140 pax-12 pay-8 mat-16",class:t.$style.wrapper},[e("img",{staticStyle:{"object-fit":"contain"},attrs:{src:r(772),width:"24"}}),t._v(" "),e("div",{staticClass:"ad-text d-flex align-items-center flex-grow-1 text-mb-14 font-weight-bold"},[t._v(t._s(t.ad.text))]),t._v(" "),e("div",{staticClass:"d-flex align-items-center"},[t.ad?e("a",{staticClass:"text-white text-center text-14 bg-orange text-14 text-lg-16 px-lg-3 px-12 pay-8 rounded-pill",staticStyle:{"min-width":"64px",height:"fit-content"},attrs:{href:t.ad.href,target:t.ad.target}},[t._v("前往\n          ")]):t._e()])]):t._e()])],1)],1)}),[],!1,(function(t){this.$style=v.default.locals||v.default}),"4794c4ee",null);e.default=component.exports},772:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAZCAYAAAArK+5dAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAJvSURBVHgBnVRbktJQED0d0Cpr5iOuwMwKvKzAsIJxB8OsYODPx4wyBVPln+MKxBVYs4LBDUBcgbgDrPJLkfb0TZBAgCR21SXkpvv063QDNUUvXawvXFRVP0AN0b4LAbnHA7ytalPLASVETSk40K4L9aV7jv8Qb7tVvmIGx4jRkM+sdaEM0k9mED1HA9cFcAM+kimaPHmbgqLVecE6Aw6qPblJblEWuYE3aCOIIHIug8lobwaMco6mtvl3DA2iDaBXrqOv3dRKUfAi+LENXlsIPtLLlvL5saqNVFVMeyL93E1bhsm4zK4STfXKdT24IG1yGlulWSh1oG/cGVTee/AGox4kI4J/4KfYelJm70vkFQPJ1TVNn/eO91NqzQne8jRFxrQ/8g3Kl596IrckxsqSfWKzz9IXzNIMHiLh7xd/BHdoYpaB32fg7RW4j8qYpmpZhJyb7mbIwWyNJXc7m7zB6wPN1KuWZcG5YXbv1gHkJTgIbrw+xBT1DQ85vXtpG+wFV+mVDU3m3E5sa/ygg82yyLXcTEpXhJdmRltj2q4g/Dcb/SMP7jz4cNJHiZBJEX7ZYsQzgnfSy+LuavrfEnAfwLEtPx4hICTGgrW3/NWHmdFUbM1vOmDtDJCGMmLN+/8AHzE64QnwlIZ0TsAV5xTfqf8Jy2VCio+Nwj4jYL4dnKTN8et5jKV+JcgpjaO1Bo0Udv+Ez4ghneRnokyCPBP4dsET+rXgI5Ueh+xEhtPYO4ePcY4akrLImLDksegG08c2uelnvcBvdLjsuIvklBdJfi1Ukb3r2m/QPPVWy65GeQ468E6scQtjF+ZVdv8u+QuvtQ2tRLqw9gAAAABJRU5ErkJggg=="},773:function(t,e,r){"use strict";var n=r(603),o=r.n(n);r.d(e,"default",(function(){return o.a}))},774:function(t,e,r){"use strict";r(681)},775:function(t,e,r){"use strict";e.a={GENERAL:"GENERAL",PKI:"PKI",OTP:"OTP"}},881:function(t,e,r){"use strict";r.d(e,"a",(function(){return c}));var n=r(14),o=(r(53),["系統錯誤","","舊密碼錯誤","新密碼格式錯誤","新密碼不可與舊密碼相同","此頁面已過期"]),c=function(){var t=Object(n.a)(regeneratorRuntime.mark((function t(e){var r,body,n,data;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=e.$axios,body=e.body,t.next=3,r.post("Login/CheckPassword",body);case 3:return n=t.sent,data=n.data,t.abrupt("return",o[data.status]);case 6:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()},910:function(t,e,r){"use strict";r.r(e);var n={},o=r(11),component=Object(o.a)(n,(function(){return(0,this._self._c)("div",{staticClass:"d-flex flex-row"},[this._t("default")],2)}),[],!1,null,null,null);e.default=component.exports},911:function(t,e,r){"use strict";r.r(e);r(31),r(35),r(34),r(18),r(44),r(27),r(45);var n=r(14),o=r(17),c=(r(53),r(750)),l=r(278),d=r(775);function f(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(object);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,r)}return e}function m(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};
1i%2?f(Object(source),!0).forEach((function(e){Object(o.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):f(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}var v={components:{LoginForm:c.default},props:{rememberAccount:{type:Boolean,default:!1}},data:function(){return{isLoading:!1,loginType:d.a.GENERAL}},computed:m({},Object(l.a)(["rememberAccount"])),methods:{pwdUnchanged:function(t){this.$emit("pwdUnchanged",t)},login:function(t){var e=this;return Object(n.a)(regeneratorRuntime.mark((function r(){return regeneratorRuntime.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return e.isLoading=!0,r.next=3,e.$store.dispatch("user/login",t);case 3:e.$emit("afterLogin",m({},t)),e.isLoading=!1;case 5:case"end":return r.stop()}}),r)})))()}}},O=r(11),component=Object(O.a)(v,(function(){var t=this,e=t._self._c;return e("LoginForm",{attrs:{hint:"請輸入帳號及密碼","password-max-length":"20","remember-account":t.rememberAccountInner,"login-type":t.loginType,"is-loading":t.isLoading},on:{"update:rememberAccount":function(e){t.rememberAccountInner=e},"update:remember-account":function(e){t.rememberAccountInner=e},"update:isLoading":function(e){t.isLoading=e},"update:is-loading":function(e){t.isLoading=e},login:t.login,pwdUnchanged:t.pwdUnchanged},scopedSlots:t._u([{key:"footer",fn:function(){return[e("div",{staticClass:"text-center text-mb-14"},[t._v("\n      還沒有帳號?"),e("NuxtLink",{staticClass:"text-warning font-weight-bold",attrs:{to:"/signup"}},[t._v("立即註冊!")])],1)]},proxy:!0}])})}),[],!1,null,null,null);e.default=component.exports;installComponents(component,{LoginForm:r(750).default})},912:function(t,e,r){"use strict";r.r(e);r(31),r(35),r(34),r(18),r(44),r(27),r(45);var n=r(14),o=r(17),c=(r(53),r(22));function l(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(object);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,r)}return e}var d={components:{ModalAlert:r(56).default},data:function(){return{open:!1}},computed:function(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?l(Object(source),!0).forEach((function(e){Object(o.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):l(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}({},Object(c.d)({otpStatus:function(t){var e,r;return null===(e=t.user.userDetail)||void 0===e||null===(r=e.otp)||void 0===r?void 0:r.status},otpMessage:function(t){var e,r;return null===(e=t.user.userDetail)||void 0===e||null===(r=e.otp)||void 0===r?void 0:r.message},isBoss:function(t){var e;return null===(e=t.user.userDetail)||void 0===e?void 0:e.isBoss}})),methods:{cancel:function(){var t=this.otpStatus;this.$emit("cancel",{otpStatus:t})},openIfNeed:function(){var t=this.otpStatus;2===t||3===t||4===t||5===t?this.open=!0:this.cancel()},modalOk:function(){switch(this.otpStatus){case 2:case 3:this.isBoss?this.goOtpContract():this.cancel();break;case 4:case 5:this.$router.push("/member/account/bindOtp")}},goOtpContract:function(){var t=this;return Object(n.a)(regeneratorRuntime.mark((function e(){var r,data,n,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.$axios.post("Account/GetContractList",{isOtp:!0});case 2:if(r=e.sent,data=r.data,!((n=data.contractList)&&n.length>0)){e.next=10;break}o=n[0].contractId,t.$router.push({path:"/member/account/contract/".concat(o),query:{type:"sign"}}),e.next=13;break;case 10:return e.next=12,t.$alert({text:"找不到OTP合約"});case 12:t.cancel();case 13:case"end":return e.stop()}}),e)})))()}}},f=d,m=r(11),component=Object(m.a)(f,(function(){var t=this,e=t._self._c;return e("ModalAlert",{attrs:{"body-class":"p-4","footer-class":"text-center mb-4","ok-class":"w-auto mx-auto","ok-text":t.isBoss?"前往申請":"確認"},on:{ok:t.modalOk},scopedSlots:t._u([{key:"body",fn:function(){return[e("div",{staticClass:"mb-3"},[t._v("敬愛的會員您好:")]),t._v(" "),e("div",[t._v(t._s(t.otpMessage))])]},proxy:!0}]),model:{value:t.open,callback:function(e){t.open=e},expression:"open"}})}),[],!1,null,null,null);e.default=component.exports;installComponents(component,{ModalAlert:r(56).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.