Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 1: ! function(e) {
- function t(a) {
- if (n[a]) return n[a].exports;
- var r = n[a] = {
- i: a,
- l: !1,
- exports: {}
- };
- return e[a].call(r.exports, r, r.exports, t), r.l = !0, r.exports
- }
- var n = {};
- return t.m = e, t.c = n, t.i = function(e) {
- return e
- }, t.d = function(e, t, n) {
- Object.defineProperty(e, t, {
- configurable: !1,
- enumerable: !0,
- get: n
- })
- }, t.n = function(e) {
- var n = e && e.__esModule ? function() {
- return e["default"]
- } : function() {
- return e
- };
- return t.d(n, "a", n), n
- }, t.o = function(e, t) {
- return Object.prototype.hasOwnProperty.call(e, t)
- }, t.p = "", t(t.s = 11)
- }([function(e, t) {
- "use strict";
- function n(e, t) {
- if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function")
- }
- Object.defineProperty(t, "__esModule", {
- value: !0
- });
- var a = function() {
- function e(e, t) {
- for (var n = 0; n < t.length; n++) {
- var a = t[n];
- a.enumerable = a.enumerable || !1, a.configurable = !0, "value" in a && (a.writable = !0), Object.defineProperty(e, a.key, a)
- }
- }
- return function(t, n, a) {
- return n && e(t.prototype, n), a && e(t, a), t
- }
- }(),
- r = function() {
- function e() {
- n(this, e), this.exceptionSite = "/activate/pwd"
- }
- return a(e, [{
- key: "handle",
- value: function() {
- this.ieES6Fix(), this.checkPartnerExceptions() && this.checkCustomerExceptions() && $("#login-modal").modal()
- }
- }, {
- key: "checkPartnerExceptions",
- value: function() {
- return !(this.urlEndsWith("partner") || this.urlWithLabeled("partner") || this.urlStartsWith("/partner/mcode") || this.urlWithLabeled("partner", "/mcode", !0) || this.urlStartsWith(this.exceptionSite))
- }
- }, {
- key: "checkCustomerExceptions",
- value: function() {
- return !this.urlWithLabeled("customer", this.exceptionSite, !0) && !this.urlStartsWith("/customer" + this.exceptionSite)
- }
- }, {
- key: "ieES6Fix",
- value: function() {
- String.prototype.endsWith || (String.prototype.endsWith = function(e) {
- return this.indexOf(e, this.length - e.length) !== -1
- }), String.prototype.startsWith || (String.prototype.startsWith = function(e, t) {
- return t = t || 0, this.indexOf(e, t) === t
- })
- }
- }, {
- key: "urlStartsWith",
- value: function(e) {
- return location.pathname.toLowerCase().startsWith(e)
- }
- }, {
- key: "urlEndsWith",
- value: function(e) {
- return location.pathname.toLowerCase().endsWith("/" + e + "/") || location.pathname.toLowerCase().endsWith("/" + e)
- }
- }, {
- key: "urlWithLabeled",
- value: function(e) {
- var t = this,
- n = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : "",
- a = arguments.length > 2 && void 0 !== arguments[2] && arguments[2];
- for (var r in app.whiteLabels) {
- var o = e + r + n,
- i = a ? t.urlStartsWith("/" + o) : t.urlEndsWith(o);
- if (i) return i
- }
- return !1
- }
- }], [{
- key: "enable",
- value: function() {
- (new e).handle()
- }
- }]), e
- }();
- t["default"] = r
- }, function(e, t, n) {
- "use strict";
- function a(e) {
- return e && e.__esModule ? e : {
- "default": e
- }
- }
- function r(e, t) {
- if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function")
- }
- Object.defineProperty(t, "__esModule", {
- value: !0
- });
- var o = function() {
- function e(e, t) {
- for (var n = 0; n < t.length; n++) {
- var a = t[n];
- a.enumerable = a.enumerable || !1, a.configurable = !0, "value" in a && (a.writable = !0), Object.defineProperty(e, a.key, a)
- }
- }
- return function(t, n, a) {
- return n && e(t.prototype, n), a && e(t, a), t
- }
- }(),
- i = n(5),
- l = a(i),
- s = n(7),
- u = a(s),
- c = function() {
- function e() {
- r(this, e), this.handle()
- }
- return o(e, [{
- key: "handle",
- value: function() {
- this.listenForMasterCodeInput()
- }
- }, {
- key: "listenForMasterCodeInput",
- value: function() {
- var e = this;
- $(".yv__form").validator().on("valid.bs.validator", function(t) {
- var n = $("#inputKey").val() || $("#partnerSelect").val();
- $("#inputKey")[0] !== t.relatedTarget && $("#partnerSelect")[0] !== t.relatedTarget || $.get("https://" + location.host + "/partner/services/apexrest/validators?mastercode=" + n, function(t) {
- return e.startFillTacContentJob(JSON.parse(t))
- })
- })
- }
- }, {
- key: "deligateJobs",
- value: function(e) {
- var t = JSON.parse(e);
- return this.shouldBeRedirected(t) ? this.startRedirectJob(t) : void this.startFillTacContentJob(t)
- }
- }, {
- key: "startRedirectJob",
- value: function(e) {
- u["default"].enable(e)
- }
- }, {
- key: "startFillTacContentJob",
- value: function(e) {
- l["default"].enable(e)
- }
- }, {
- key: "shouldBeRedirected",
- value: function(e) {
- return e.labeled && window.location.pathname.indexOf(e.account) == -1 && this.isNotLabeledYouvestorCase(e)
- }
- }, {
- key: "isNotLabeledYouvestorCase",
- value: function(e) {
- return "youvestor" !== e.account || "youvestor" === e.account && !window.location.pathname.endsWith("/partner/") && !window.location.pathname.startsWith("/partner/mcode")
- }
- }], [{
- key: "enable",
- value: function() {
- return new e
- }
- }]), e
- }();
- t["default"] = c
- }, function(e, t, n) {
- "use strict";
- function a(e) {
- return e && e.__esModule ? e : {
- "default": e
- }
- }
- function r(e, t) {
- if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function")
- }
- function o(e, t) {
- if (!e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
- return !t || "object" != typeof t && "function" != typeof t ? e : t
- }
- function i(e, t) {
- if ("function" != typeof t && null !== t) throw new TypeError("Super expression must either be null or a function, not " + typeof t);
- e.prototype = Object.create(t && t.prototype, {
- constructor: {
- value: e,
- enumerable: !1,
- writable: !0,
- configurable: !0
- }
- }), t && (Object.setPrototypeOf ? Object.setPrototypeOf(e, t) : e.__proto__ = t)
- }
- Object.defineProperty(t, "__esModule", {
- value: !0
- });
- var l = function() {
- function e(e, t) {
- for (var n = 0; n < t.length; n++) {
- var a = t[n];
- a.enumerable = a.enumerable || !1, a.configurable = !0, "value" in a && (a.writable = !0), Object.defineProperty(e, a.key, a)
- }
- }
- return function(t, n, a) {
- return n && e(t.prototype, n), a && e(t, a), t
- }
- }(),
- s = n(9),
- u = a(s),
- c = n(4),
- f = a(c),
- d = n(6),
- p = a(d),
- h = n(8),
- v = a(h),
- b = n(3),
- m = a(b),
- y = function(e) {
- function t(e) {
- return r(this, t), o(this, (t.__proto__ || Object.getPrototypeOf(t)).call(this, e))
- }
- return i(t, e), l(t, [{
- key: "setUp",
- value: function() {
- f["default"].enable(), p["default"].enable(this.portalType), m["default"].start(), v["default"].listen(this.portalType)
- }
- }], [{
- key: "make",
- value: function(e) {
- return new t(e)
- }
- }]), t
- }(u["default"]);
- t["default"] = y
- }, function(e, t) {
- "use strict";
- function n(e, t) {
- if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function")
- }
- Object.defineProperty(t, "__esModule", {
- value: !0
- });
- var a = function() {
- function e(e, t) {
- for (var n = 0; n < t.length; n++) {
- var a = t[n];
- a.enumerable = a.enumerable || !1, a.configurable = !0, "value" in a && (a.writable = !0), Object.defineProperty(e, a.key, a)
- }
- }
- return function(t, n, a) {
- return n && e(t.prototype, n), a && e(t, a), t
- }
- }(),
- r = function() {
- function e() {
- n(this, e), this.enableReset()
- }
- return a(e, [{
- key: "enableReset",
- value: function() {
- this.enableResetWithClick(), this.enableResetWithEnter()
- }
- }, {
- key: "enableResetWithClick",
- value: function() {
- var e = this;
- $("#yv-partner-password-reset").click(function() {
- var t = {};
- t.email = $("#inputForgotPasswordEmail_modal").val(), t.type = "customer", PortalLoginController.resetPassword(JSON.stringify(t), e.resetCallback)
- })
- }
- }, {
- key: "enableResetWithEnter",
- value: function() {
- $("input[id$=inputForgotPasswordEmail_modal]").keypress(function(e) {
- 13 === e.keyCode && (e.preventDefault(), $("#yv-partner-password-reset").trigger("click"))
- })
- }
- }, {
- key: "resetCallback",
- value: function(e, t) {
- 200 != t.statusCode && Rollbar.error("yv reset affiliate password error", t), $("#forgot-password-modal").modal("hide"), "success" === e ? $("#forgot-password-succeed-modal").modal() : $("#forgot-password-error-modal").modal()
- }
- }], [{
- key: "start",
- value: function() {
- return new e
- }
- }]), e
- }();
- t["default"] = r
- }, function(e, t) {
- "use strict";
- function n(e, t) {
- if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function")
- }
- Object.defineProperty(t, "__esModule", {
- value: !0
- });
- var a = function() {
- function e(e, t) {
- for (var n = 0; n < t.length; n++) {
- var a = t[n];
- a.enumerable = a.enumerable || !1, a.configurable = !0, "value" in a && (a.writable = !0), Object.defineProperty(e, a.key, a)
- }
- }
- return function(t, n, a) {
- return n && e(t.prototype, n), a && e(t, a), t
- }
- }(),
- r = function() {
- function e() {
- n(this, e), this.handle()
- }
- return a(e, [{
- key: "handle",
- value: function() {
- for (var e = window.location.href, t = "", n = e, a = !0; a;) t = unescape(n), n = unescape(t), n == t && (a = !1);
- e != t && (window.location.href = app.link.replaceParamConcatSign(t, "label", "&"))
- }
- }], [{
- key: "enable",
- value: function() {
- return new e
- }
- }]), e
- }();
- t["default"] = r
- }, function(e, t, n) {
- "use strict";
- function a(e) {
- return e && e.__esModule ? e : {
- "default": e
- }
- }
- function r(e, t) {
- if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function")
- }
- Object.defineProperty(t, "__esModule", {
- value: !0
- });
- var o = function() {
- function e(e, t) {
- for (var n = 0; n < t.length; n++) {
- var a = t[n];
- a.enumerable = a.enumerable || !1, a.configurable = !0, "value" in a && (a.writable = !0), Object.defineProperty(e, a.key, a)
- }
- }
- return function(t, n, a) {
- return n && e(t.prototype, n), a && e(t, a), t
- }
- }(),
- i = n(10),
- l = a(i),
- s = function() {
- function e(t) {
- r(this, e), this.data = t, this.handle()
- }
- return o(e, [{
- key: "handle",
- value: function() {
- this.fillContent()
- }
- }, {
- key: "fillContent",
- value: function() {
- var e = new l["default"],
- t = e.template(this.data.servicefee, this.data.basepoints, this.data.sharepartner, this.data.conditions, this.data.compensationFraction, this.data.customerFee, this.data.exampleAmount);
- $("#tac-template").html(t), window.location.pathname.indexOf("mcode") !== -1 && $(".yv-inputKey-group").hide(), this.enableTacModal()
- }
- }, {
- key: "enableTacModal",
- value: function() {
- $("#inputTaC").removeAttr("disabled"), $(".yv-tac-link").attr("data-toggle", "modal")
- }
- }], [{
- key: "enable",
- value: function(t) {
- return new e(t)
- }
- }]), e
- }();
- t["default"] = s
- }, function(e, t) {
- "use strict";
- function n(e, t) {
- if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function")
- }
- Object.defineProperty(t, "__esModule", {
- value: !0
- });
- var a = function() {
- function e(e, t) {
- for (var n = 0; n < t.length; n++) {
- var a = t[n];
- a.enumerable = a.enumerable || !1, a.configurable = !0, "value" in a && (a.writable = !0), Object.defineProperty(e, a.key, a)
- }
- }
- return function(t, n, a) {
- return n && e(t.prototype, n), a && e(t, a), t
- }
- }(),
- r = function() {
- function e(t) {
- n(this, e), this.portalType = t, this.handle()
- }
- return a(e, [{
- key: "handle",
- value: function(e) {
- this.startLoginManagement()
- }
- }, {
- key: "startLoginManagement",
- value: function() {
- this.enableLoginActions()
- }
- }, {
- key: "enableLoginActions",
- value: function() {
- this.enableLoginWithClick(), this.enableLoginWithEnter(), this.preventStandardFormSubmit()
- }
- }, {
- key: "enableLoginWithClick",
- value: function() {
- this.portalType;
- $("a[id$=yv-partner-login]").on("click", function() {
- $("#login-loading").removeClass("hidden"), $(this).addClass("hidden");
- var e = this;
- setTimeout(function() {
- $("#login-loading").addClass("hidden"), $(e).removeClass("hidden")
- }, 2e3)
- })
- }
- }, {
- key: "enableLoginWithEnter",
- value: function() {
- $("input[id$=inputPassword_modal]").keypress(function(e) {
- app.common.isEnter(e) && (e.preventDefault(), $("a[id$=yv-partner-login]").trigger("click"))
- })
- }
- }, {
- key: "preventStandardFormSubmit",
- value: function() {
- $("input[id$=inputEmail_modal]").keypress(function(e) {
- app.common.isEnter(e) && e.preventDefault()
- })
- }
- }], [{
- key: "enable",
- value: function(t) {
- return new e(t)
- }
- }]), e
- }();
- t["default"] = r
- }, function(e, t) {
- "use strict";
- function n(e, t) {
- if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function")
- }
- Object.defineProperty(t, "__esModule", {
- value: !0
- });
- var a = function() {
- function e(e, t) {
- for (var n = 0; n < t.length; n++) {
- var a = t[n];
- a.enumerable = a.enumerable || !1, a.configurable = !0, "value" in a && (a.writable = !0), Object.defineProperty(e, a.key, a)
- }
- }
- return function(t, n, a) {
- return n && e(t.prototype, n), a && e(t, a), t
- }
- }(),
- r = function() {
- function e(t) {
- n(this, e), this.data = t, this.handle()
- }
- return a(e, [{
- key: "handle",
- value: function() {
- this.startRedirect()
- }
- }, {
- key: "startRedirect",
- value: function() {
- return "youvestor" === this.data.account ? window.location.pathname = "/partner/mcode/" + this.data.mcode : window.location.pathname = "/partner/" + this.data.account + "/mcode/" + this.data.mcode
- }
- }], [{
- key: "enable",
- value: function(t) {
- return new e(t)
- }
- }]), e
- }();
- t["default"] = r
- }, function(e, t) {
- "use strict";
- function n(e, t) {
- if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function")
- }
- Object.defineProperty(t, "__esModule", {
- value: !0
- });
- var a = function() {
- function e(e, t) {
- for (var n = 0; n < t.length; n++) {
- var a = t[n];
- a.enumerable = a.enumerable || !1, a.configurable = !0, "value" in a && (a.writable = !0), Object.defineProperty(e, a.key, a)
- }
- }
- return function(t, n, a) {
- return n && e(t.prototype, n), a && e(t, a), t
- }
- }(),
- r = function() {
- function e(t) {
- n(this, e), this.portalType = t, this.handle()
- }
- return a(e, [{
- key: "handle",
- value: function() {
- this.listenToPaths()
- }
- }, {
- key: "listenToPaths",
- value: function() {
- this.enableActivatePassword(), this.prefillLoginForm()
- }
- }, {
- key: "enableActivatePassword",
- value: function() {
- location.pathname.startsWith("/" + this.portalType + "/activate/PWD") && app.common.adjustSize(".yv__register")
- }
- }, {
- key: "prefillLoginForm",
- value: function() {
- var e = app.link.getParam("user");
- e && ($("[id$=inputEmail_modal]").val(e), setTimeout(function() {
- $("[id$=inputPassword_modal]").focus()
- }, 500))
- }
- }], [{
- key: "listen",
- value: function(t) {
- return new e(t)
- }
- }]), e
- }();
- t["default"] = r
- }, function(e, t) {
- "use strict";
- function n(e, t) {
- if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function")
- }
- Object.defineProperty(t, "__esModule", {
- value: !0
- });
- var a = function r(e) {
- n(this, r), this.portalType = e, this.setUp()
- };
- t["default"] = a
- }, function(e, t) {
- "use strict";
- function n(e, t) {
- if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function")
- }
- Object.defineProperty(t, "__esModule", {
- value: !0
- });
- var a = function() {
- function e(e, t) {
- for (var n = 0; n < t.length; n++) {
- var a = t[n];
- a.enumerable = a.enumerable || !1, a.configurable = !0, "value" in a && (a.writable = !0), Object.defineProperty(e, a.key, a)
- }
- }
- return function(t, n, a) {
- return n && e(t.prototype, n), a && e(t, a), t
- }
- }(),
- r = function() {
- function e() {
- n(this, e)
- }
- return a(e, [{
- key: "template",
- value: function(e, t, n, a, r, o, i) {
- var l = this;
- return "<h5><strong>(1) Partizipation an der Lizenzvergütung</strong></h5>\n <p>Der Kunde zahlt " + this.format(o, 2) + "% inkl. MwSt. p.a. auf sein Depotvolumen als Lizenzgebühr. Der Tippgeber erhält hieraus einen Anteil von " + this.format(e, 2) + "% inkl. MwSt. (entspricht " + t + " Basispunkten) als Vergütung für den erfolgreichen Nachweis.</p>\n\n <p>Beispiel: youvestor erhält " + i + ",- € als Lizenzgebühr. Der Anteil des Tippgebers beträgt " + n + ",- €.</p>\n\n <h5><strong>(2) Vergütung seitens der depotführenden Stelle</strong></h5>\n <p>youvestor gibt " + this.format(r, 2) + '% der Depotvergütung inkl. MwSt., die seitens der depotführenden Stelle an die youvestor AG gezahlt wird, weiter.</p>\n <h5><strong>(1) Gesamtvergütung Tippgeber</strong></h5>\n <p>Die nachfolgende Tabelle stellt die Zusammensetzung der Gesamtvergütung des Tippgebers beispielhaft dar. Die Vergütungssätze der depotführenden Stelle für die einzelnen Lösungen stellen eine Momentaufnahme dar. Sie können in Zukunft von diesen abweichen.</p>\n <table class="tmp-yv-tac-table">\n <tr>\n <th><strong>Volumen der<br />nachgewiesenen<br />Kunden</strong></th>\n <th><strong>Lösung</strong></th>\n <th colspan="2"><strong>Anteil Tippgeber<br />Lizenzgebühr<br />inkl. MwSt. p. a.</strong></th>\n <th colspan="2"><strong>Anteil Tippgeber inkl. MwSt. p.a. aus Vergütung seitens der depotführenden Stelle*</strong></th>\n <th colspan="2"><strong>Gesamtvergütung Tippgeber<br />inkl. MwSt. p.a.</strong></th>\n </tr>\n\n ' + a.map(function(e) {
- return l.getCondition(e)
- }).join("") + "\n </table>"
- }
- }, {
- key: "getCondition",
- value: function(e) {
- return '<tr>\n\t <td><span class="yv-tac-volume">' + this.format(e.volume1) + " EUR</td>\n\t <td>" + e.name + '</td>\n\t <td><span class="yv-servicefee">' + this.format(e.serviceFee1, 2) + ' %</td>\n\t <td><span class="yv-servicefeevolume">' + this.format(e.volume2) + ' EUR</td>\n\t <td><span class="yv-depotfee">' + this.format(e.serviceFee2 / 100, 2) + ' %</td>\n\t <td><span class="yv-depotfeevolume">' + this.format(e.volume3) + ' EUR</td>\n\t <td><span class="yv-feesum">' + this.format(e.serviceFee3 / 100, 2) + ' %</td>\n\t <td><span class="yv-volumesum">' + this.format(e.volume4) + " EUR</td>\n\t </tr>"
- }
- }, {
- key: "format",
- value: function(e) {
- var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : 0;
- return app.format.number(Number(e.toFixed(t)))
- }
- }]), e
- }();
- t["default"] = r
- }, function(e, t, n) {
- "use strict";
- function a(e) {
- return e && e.__esModule ? e : {
- "default": e
- }
- }
- var r = n(2),
- o = a(r),
- i = n(0),
- l = a(i),
- s = n(1),
- u = a(s);
- o["default"].make("partner"), u["default"].enable(), l["default"].enable(), $(function() {
- var e = app.link.labelAll(),
- t = {};
- t.info = {}, t.saveCallback = function(t, n) {
- if (200 != n.statusCode) app.scroll.to(), Rollbar.error("yv create affiliate error", n.email);
- else {
- var a = "" != e ? e + "/" : "";
- location.href = "https://" + location.host + "/partner/" + a + "portal_registration_partner_confirmation"
- }
- }, t.save = function() {
- $("#loading-modal").modal(), PortalLoginController.createAffiliate(JSON.stringify(t.info), t.saveCallback)
- }, t.setNewPassword = function() {
- var e = {};
- e.activationCode = location.pathname.split("/activate/")[1], e.password = $("#inputPassword").val(), t.info = e, PasswordChangeController.setNewPassword(JSON.stringify(t.info), t.setNewPasswordCallback)
- }, t.setNewPasswordCallback = function(e, t) {
- 200 != t.statusCode && Rollbar.error("yv reset affiliate password error", t), e = $("<div/>").html(e).text();
- var n = JSON.parse(e),
- e = n.result,
- a = n.userdata;
- if (e === !0) window.location.href = a;
- else if ("PasswordAlreadyUsed" === e) $("#password-already-used-modal").modal();
- else {
- if ("activationCodeExpired" === e) return void $("#activation-code-error-modal").modal();
- $("#set-new-password-error-modal").modal()
- }
- }, t.resetPasswordCallback = function(e, t) {
- 200 != t.statusCode && Rollbar.error("yv reset affiliate password error", t), $("#forgot-password-modal").modal("hide"), "success" === e ? $("#forgot-password-succeed-modal").modal() : $("#forgot-password-error-modal").modal()
- }, $("#inputTaC").click(function() {
- function e(e) {
- return 10 > e ? "0" + e : e + ""
- }
- var n = new Date,
- a = [
- [e(n.getDate()), e(n.getMonth() + 1), n.getFullYear()].join("."), [e(n.getHours()), e(n.getMinutes())].join(":")
- ].join(" ");
- t.setTaCAcceptedTime(a)
- }), t.setTaCAcceptedTime = function(e) {
- t.tacAccepted = e
- }, $("#sendFormSetPassword").click(function(e) {
- e.preventDefault(), $(this).hasClass("disabled") ? $(".yv__passwordChange__form").validator("validate") : t.setNewPassword()
- }), $(".yv__form").validator().on("invalid.bs.validator", function(e) {
- $("#inputKey")[0] === e.relatedTarget && ($(".yv-inputKey-group").show(), $(".yv-tac-link").removeAttr("data-toggle"), $("#inputTaC").attr("disabled", "disabled").attr("checked", !1))
- }), $("#sendForm").click(function(e) {
- if (e.preventDefault(), $(this).hasClass("disabled")) $(".yv__form").validator("validate");
- else {
- var n = {};
- n.salutation = $("#inputSalutation").val(), n.lastname = $("#inputLastname").val(), n.firstname = $("#inputFirstname").val(), n.street = $("#inputStreet").val(), n.postcode = $("#inputPostcode").val(), n.city = $("#inputCity").val(), n.email = $("#inputEmail").val(), n.clientCode = $("#inputKey").val() || $("#partnerSelect").val(), n.password = $("#inputPassword").val(), n.tele = $("#inputPhone").val(), n.registerNumber = $("#inputRegisterNum").val(), n.tacAcceptedTime = t.tacAccepted, t.info = n, t.save()
- }
- }), $("#yv-affiliate-agb-confirm").click(function() {
- $("#inputTaC").is(":checked") || $("#inputTaC").trigger("click")
- });
- var n = location.pathname.toLowerCase();
- if (n.startsWith("/partner/mcode") || n.startsWith("/partner/" + app.label.toLowerCase() + "/mcode")) {
- var a = location.pathname.split("/mcode/")[1];
- $("#inputKey").val(a), $("#partnerSelect").val(a), $("#inputKey").trigger("input"), $("#partnerSelect").trigger("input"), $("#partnerSelect").attr("disabled", !0)
- }
- })
- }]);
Advertisement
Add Comment
Please, Sign In to add comment