Your IP : 3.144.47.172


Current Path : /home/bitrix/ext_www/coffe.land/local/templates/Nespresso/
Upload File :
Current File : //home/bitrix/ext_www/coffe.land/local/templates/Nespresso/template_js.js

var kameleoonURL = "https://ea0vheu5ao.kameleoon.eu";
var kameleoonStartLoadTime = new Date().getTime();
var kameleoonLoadingTimeout = 1000;
var kameleoonProcessMessageEvent = function (event) {
    if (kameleoonURL == event.origin) {
        window.removeEventListener("message", kameleoonProcessMessageEvent);
        window.kameleoonExternalIFrameLoaded = true;
        eval(event.data);
        Kameleoon.Analyst.load();
    }
};
if (window.addEventListener) {
    window.addEventListener("message", kameleoonProcessMessageEvent, false);
}
if (!document.getElementById("kameleoonLoadingStyleSheet") && !window.kameleoonDisplayPageTimeOut) {
    var kameleoonS = document.getElementsByTagName("script")[0];
    var kameleoonCc = "* { visibility: hidden !important; background-image: none !important; }";
    var kameleoonStn = document.createElement("style");
    kameleoonStn.type = "text/css";
    kameleoonStn.id = "kameleoonLoadingStyleSheet";
    if (kameleoonStn.styleSheet) {
        kameleoonStn.styleSheet.cssText = kameleoonCc;
    } else {
        kameleoonStn.appendChild(document.createTextNode(kameleoonCc));
    }
    kameleoonS.parentNode.insertBefore(kameleoonStn, kameleoonS);
    window.kameleoonDisplayPage = function () {
        if (kameleoonStn.parentNode) {
            kameleoonStn.parentNode.removeChild(kameleoonStn);
        }
    };
    window.setTimeout(function () {
    }, 25);
    window.kameleoonDisplayPageTimeOut = window.setTimeout(window.kameleoonDisplayPage, kameleoonLoadingTimeout);
}
var iframeNode = document.createElement("iframe");
iframeNode.src = kameleoonURL;
iframeNode.id = "kameleoonExternalIframe";
iframeNode.style = "float: left !important; opacity: 0.0 !important; width: 0px !important; height: 0px !important;";
document.head.appendChild(iframeNode);

var dtmEnabled = true;

function eventRegister() {
    "use strict";
    jQuery(document).on("click", "#" + config.focusPushBlock.join(", #") + " .jsProdPopin", function () {
        var t = jQuery(this), e = t.parent(), n = e[0].id, r = {},
            a = jQuery("#product-popin").data("popinOrigin", n);
        if (a.data("popinOrigin", n), r = t.children('.view-product').data("popin-data")) try {
            jQuery("#product-template").tmpl(r).appendTo("#product-popin")
        } catch (e) {
            _Lbt.log(e)
        }
        try {
            a.dialog("open")
        } catch (t) {
            a.dialog({
                autoOpen: !0,
                modal: !0,
                resizable: !1,
                closeOnEscape: !0,
                clickOutside: !0,
                dialogClass: "ui-popin",
                width: 214,
                effect: "fade",
                duration: 800,
                close: function () {
                    var t = jQuery(this).data("popinOrigin"), e = document.getElementById(t);
                    jQuery(e).find(".jsProdPopin").trigger("onmouseout").trigger("blur"), a.trigger("popinClosed")
                }
            })
        }
        return !1
    })
}

function keepDialogOpen(t) {
    "use strict";
    void 0 !== t.stopPropagation ? t.stopPropagation() : t.cancelBubble = !0
}

!function (t) {
    Nespresso.addToCarFromBox = function () {
        $j(document).on("click", ".add-to-cart-placeholder", function () {
            $j(this).siblings(".qty-box").slideToggle("fast"), QuantitySelector.build($j(this)), $j(document).on("click", ".add-to-cart-buttons", function (t) {
                t.stopPropagation()
            }), $j("#product-popin").on("click", function (e) {
                $j(e.target).parents("div.add-to-cart-buttons").length || t(".qty-box").slideUp("fast")
            })
        })
    }, setTimeout(function () {
        $j(".slideshow .slider-item:not(.cycle-sentinel)").length <= 1 && $j(".slideshow-container .slideshow-pager").hide()
    }, 500)
}(jQuery), jQuery(document).ready(function () {
    "use strict";
    config.focusPushBlock = config.focusPushBlock || [], config.focusPushBlock.push("block-8816715498556"), config.capsulesThirdLineQuantities = "100,150,200,250,300", eventRegister(), $j("#nespresso-club .slider-benifites .item").size() > 6 && $j("#nespresso-club .slider-benifites").cycle({
        slides: "> div",
        pagerTemplate: '<span class="pager-box"></span>',
        speed: 600,
        pauseOnHover: !0,
        swipe: !0,
        fx: "carousel",
        carouselVisible: 5
    })
}), jQuery(document).ready(function () {
    $j("button.add-to-cart").click(function (t) {
        t.stopPropagation()
    }), function (t) {
        "use strict";
        t.widget("ui.dialog", t.ui.dialog, {
            options: {closeText: ""}, open: function () {
                var e = t(this.options.clickOutsideTrigger), n = this;
                this.options.clickOutside && t(document).on("click.ui.dialogClickOutside" + n.eventNamespace, function (r) {
                    0 === t(r.target).closest(e).length && 0 === t(r.target).closest(t(n.uiDialog)).length && (n.close(), t("#product-popin").empty(), t("#header .trigger").removeClass("dialogOpened"))
                }), this._super()
            }, close: function () {
                var e = this;
                t(document).off("click.ui.dialogClickOutside" + e.eventNamespace), t("#product-popin").empty(), this._super()
            }
        })
    }(jQuery)
});
var dataArrange = {};
if (dataArrange.forEach = function (t, e) {
        for (var n in t) t.hasOwnProperty(n) && e(t[n], n)
    }, dataArrange.normalizeInt = function (t) {
        var e = ~~Number(t);
        return (String(e) === t || e === t) && e > 0 ? e : 0
    }, dataArrange.toFloat = function (t) {
        var e = parseFloat(t);
        return e > 0 ? e : 0
    }, dataArrange.copyObject = function (t) {
        return JSON.parse(JSON.stringify(t))
    }, dataArrange.arrToObj = function (t, e) {
        var n, r, a = {};
        for (e = void 0 !== e ? e : "id", n = 0; n < t.length; n++) r = t[n], a[r[e]] = r;
        return a
    }, dataArrange.objToArr = function (t) {
        var e = [];
        return dataArrange.forEach(t, function (t) {
            e.push(t)
        }), e
    }, dataArrange.enrichArr = function (t, e) {
        var n, r;
        for (n = 0; n < t.length; n++) r = t[n], r.details = e[r.id];
        return t
    }, dataArrange.replaceArr = function (t, e) {
        var n, r, a = [];
        for (r = 0; r < t.length; r++) n = t[r], e[n] && a.push(e[n]);
        return a
    }, dataArrange.objToString = function (t) {
        return dataArrange.objToArr(t).join(", ")
    }, dataArrange.objToArrTexts = function (t) {
        var e = [];
        return dataArrange.forEach(t, function (t, n) {
            "string" == typeof t && "" !== t && "id" !== n ? e.push(t) : t && "object" == typeof t && t.label && e.push(t.label)
        }), e
    }, dataArrange.objObjToObjArrTexts = function (t) {
        var e = {};
        return dataArrange.forEach(t, function (t, n) {
            e[n] = dataArrange.objToArrTexts(t)
        }), e
    }, dataArrange.arrTextsToStr = function (t) {
        return t.join(", ")
    }, dataArrange.inArray = function (t, e) {
        return t.filter(function (t) {
            return t === e
        }).length > 0
    }, dataArrange.arrayFindById = function (t, e, n) {
        return void 0 === n && (n = "id"), t.filter(function (t) {
            return t[n] === e
        })[0] || !1
    }, dataArrange.arrayFindIndex = function (t, e) {
        var n = t.filter(function (t) {
            return t.id === e
        });
        return n.length ? t.indexOf(n[0]) : -1
    }, dataArrange.arrayUnique = function (t) {
        for (var e = [], n = 0; n < t.length; n++) -1 === e.indexOf(t[n]) && e.push(t[n]);
        return e
    }, dataArrange.objectPickFirstItemWithTrueField = function (t, e) {
        var n, r;
        for (n in t) if (t.hasOwnProperty(n) && (r = t[n], r[e])) return r;
        return null
    }, dataArrange.arrayInArray = function (t, e, n) {
        return void 0 === n && (n = "id"), t.filter(function (t) {
            return e.indexOf(t[n]) >= 0
        })
    }, dataArrange.extend = function (t, e) {
        return dataArrange.forEach(e, function (e, n) {
            t[n] = e
        }), t
    }, dataArrange.messageFilter = function () {
        if (!arguments[0] || !arguments[0].replace) return arguments[0];
        var t = arguments[0], e = Array.prototype.slice.call(arguments, 1);
        return t.replace(/{([0-9]*)}/g, function (t, n) {
            var r = e[n];
            return void 0 === r || null === r ? "" : r
        })
    }, "undefined" != typeof module && module.exports && (module.exports = dataArrange), "undefined" != typeof require) var dataArrange = require("../js-helpers/dataArrange");
!function (t) {
    var e = function () {
        var t = (jQuery("#header-wrapper"), jQuery(".top-container").length ? jQuery(".top-container") : jQuery(".main-container"));
        if (Modernizr.mq("screen and (min-width: " + (bp.large + 1) + "px)")) {
            jQuery(window).scrollTop() > t.offset().top ? jQuery(".page").css("background-position-y", "24px") : jQuery(".page").css("background-position-y", "204px")
        } else jQuery(".page").css("background-position-y", "204px")
    };
    jQuery(window).scroll(function () {
        e()
    }), jQuery(window).resize(function () {
        e()
    })
}(jQuery), jQuery(document).ready(function () {
    $j(".slideshow").children(".slider-item").length <= 0 && $j(".slideshow-pager").hide()
}), function (t) {
    function e(e, n, r, a) {
        var i = {
            data: a || (n ? n.data : {}),
            _wrap: n ? n._wrap : null,
            tmpl: null,
            parent: n || null,
            nodes: [],
            calls: c,
            nest: p,
            wrap: s,
            html: d,
            update: f
        };
        return e && t.extend(i, e, {
            nodes: [],
            parent: n
        }), r && (i.tmpl = r, i._ctnt = i._ctnt || i.tmpl(t, i), i.key = ++A, (b.length ? $ : j)[A] = i), i
    }

    function n(e, a, i) {
        var o, u = i ? t.map(i, function (t) {
            return "string" == typeof t ? e.key ? t.replace(/(<\w+)(?=[\s>])(?![^>]*_tmplitem)([^>]*)/g, "$1 " + y + '="' + e.key + '" $2') : t : n(t, e, t._ctnt)
        }) : e;
        return a ? u : (u = u.join(""), u.replace(/^\s*([^<\s][^<]*)?(<[\w\W]+>)([^>]*[^>\s])?\s*$/, function (e, n, a, i) {
            o = t(a).get(), l(o), n && (o = r(n).concat(o)), i && (o = o.concat(r(i)))
        }), o || r(u))
    }

    function r(e) {
        var n = document.createElement("div");
        return n.innerHTML = e, t.makeArray(n.childNodes)
    }

    function a(e) {
        return new Function("jQuery", "$item", "var $=jQuery,call,_=[],$data=$item.data;with($data){_.push('" + t.trim(e).replace(/([\\'])/g, "\\$1").replace(/[\r\t\n]/g, " ").replace(/\$\{([^\}]*)\}/g, "{{= $1}}").replace(/\{\{(\/?)(\w+|.)(?:\(((?:[^\}]|\}(?!\}))*?)?\))?(?:\s+(.*?)?)?(\(((?:[^\}]|\}(?!\}))*?)\))?\s*\}\}/g, function (e, n, r, a, i, u, l) {
            var c, p, s, d = t.tmpl.tag[r];
            if (!d) throw"Template command not found: " + r;
            return c = d._default || [], u && !/\w$/.test(i) && (i += u, u = ""), i ? (i = o(i), l = l ? "," + o(l) + ")" : u ? ")" : "", p = u ? i.indexOf(".") > -1 ? i + u : "(" + i + ").call($item" + l : i, s = u ? p : "(typeof(" + i + ")==='function'?(" + i + ").call($item):(" + i + "))") : s = p = c.$1 || "null", a = o(a), "');" + d[n ? "close" : "open"].split("$notnull_1").join(i ? "typeof(" + i + ")!=='undefined' && (" + i + ")!=null" : "true").split("$1a").join(s).split("$1").join(p).split("$2").join(a ? a.replace(/\s*([^\(]+)\s*(\((.*?)\))?/g, function (t, e, n, r) {
                return r = r ? "," + r + ")" : n ? ")" : "", r ? "(" + e + ").call($item" + r : t
            }) : c.$2 || "") + "_.push('"
        }) + "');}return _;")
    }

    function i(e, r) {
        e._wrap = n(e, !0, t.isArray(r) ? r : [h.test(r) ? r : t(r).html()]).join("")
    }

    function o(t) {
        return t ? t.replace(/\\'/g, "'").replace(/\\\\/g, "\\") : null
    }

    function u(t) {
        var e = document.createElement("div");
        return e.appendChild(t.cloneNode(!0)), e.innerHTML
    }

    function l(n) {
        function r(n) {
            function r(t) {
                t += c, o = p[t] = p[t] || e(o, j[o.parent.key + c] || o.parent, null, !0)
            }

            var a, i, o, u, l = n;
            if (u = n.getAttribute(y)) {
                for (; l.parentNode && 1 === (l = l.parentNode).nodeType && !(a = l.getAttribute(y));) ;
                a !== u && (l = l.parentNode ? 11 === l.nodeType ? 0 : l.getAttribute(y) || 0 : 0, (o = j[u]) || (o = $[u], o = e(o, j[l] || $[l], null, !0), o.key = ++A, j[A] = o), k && r(u)), n.removeAttribute(y)
            } else k && (o = t.data(n, "tmplItem")) && (r(o.key), j[o.key] = o, l = t.data(n.parentNode, "tmplItem"), l = l ? l.key : 0);
            if (o) {
                for (i = o; i && i.key != l;) i.nodes.push(n), i = i.parent;
                delete o._ctnt, delete o._wrap, t.data(n, "tmplItem", o)
            }
        }

        var a, i, o, u, l, c = "_" + k, p = {};
        for (o = 0, u = n.length; o < u; o++) if (1 === (a = n[o]).nodeType) {
            for (i = a.getElementsByTagName("*"), l = i.length - 1; l >= 0; l--) r(i[l]);
            r(a)
        }
    }

    function c(t, e, n, r) {
        if (!t) return b.pop();
        b.push({_: t, tmpl: e, item: this, data: n, options: r})
    }

    function p(e, n, r) {
        return t.tmpl(t.template(e), n, r, this)
    }

    function s(e, n) {
        var r = e.options || {};
        return r.wrapped = n, t.tmpl(t.template(e.tmpl), e.data, r, e.item)
    }

    function d(e, n) {
        var r = this._wrap;
        return t.map(t(t.isArray(r) ? r.join("") : r).filter(e || "*"), function (t) {
            return n ? t.innerText || t.textContent : t.outerHTML || u(t)
        })
    }

    function f() {
        var e = this.nodes;
        t.tmpl(null, null, null, this).insertBefore(e[0]), t(e).remove()
    }

    var m, g = t.fn.domManip, y = "_tmplitem", h = /^[^<]*(<[\w\W]+>)[^>]*$|\{\{\! /, j = {}, $ = {},
        v = {key: 0, data: {}}, A = 0, k = 0, b = [];
    t.each({
        appendTo: "append",
        prependTo: "prepend",
        insertBefore: "before",
        insertAfter: "after",
        replaceAll: "replaceWith"
    }, function (e, n) {
        t.fn[e] = function (r) {
            var a, i, o, u, l = [], c = t(r), p = 1 === this.length && this[0].parentNode;
            if (m = j || {}, p && 11 === p.nodeType && 1 === p.childNodes.length && 1 === c.length) c[n](this[0]), l = this; else {
                for (i = 0, o = c.length; i < o; i++) k = i, a = (i > 0 ? this.clone(!0) : this).get(), t.fn[n].apply(t(c[i]), a), l = l.concat(a);
                k = 0, l = this.pushStack(l, e, c.selector)
            }
            return u = m, m = null, t.tmpl.complete(u), l
        }
    }), t.fn.extend({
        tmpl: function (e, n, r) {
            return t.tmpl(this[0], e, n, r)
        }, tmplItem: function () {
            return t.tmplItem(this[0])
        }, template: function (e) {
            return t.template(e, this[0])
        }, domManip: function (e, n, r) {
            if (e[0] && e[0].nodeType) {
                for (var a, i = t.makeArray(arguments), o = e.length, u = 0; u < o && !(a = t.data(e[u++], "tmplItem"));) ;
                o > 1 && (i[0] = [t.makeArray(e)]), a && k && (i[2] = function (e) {
                    t.tmpl.afterManip(this, e, r)
                }), g.apply(this, i)
            } else g.apply(this, arguments);
            return k = 0, !m && t.tmpl.complete(j), this
        }
    }), t.extend({
        tmpl: function (r, a, o, u) {
            var l, c = !u;
            if (c) u = v, r = t.template[r] || t.template(null, r), $ = {}; else if (!r) return r = u.tmpl, j[u.key] = u, u.nodes = [], u.wrapped && i(u, u.wrapped), t(n(u, null, u.tmpl(t, u)));
            return r ? ("function" == typeof a && (a = a.call(u || {})), o && o.wrapped && i(o, o.wrapped), l = t.isArray(a) ? t.map(a, function (t) {
                return t ? e(o, u, r, t) : null
            }) : [e(o, u, r, a)], c ? t(n(u, null, l)) : l) : []
        }, tmplItem: function (e) {
            var n;
            for (e instanceof t && (e = e[0]); e && 1 === e.nodeType && !(n = t.data(e, "tmplItem")) && (e = e.parentNode);) ;
            return n || v
        }, template: function (e, n) {
            return n ? ("string" == typeof n ? n = a(n) : n instanceof t && (n = n[0] || {}), n.nodeType && (n = t.data(n, "tmpl") || t.data(n, "tmpl", a(n.innerHTML))), "string" == typeof e ? t.template[e] = n : n) : e ? "string" != typeof e ? t.template(null, e) : t.template[e] || t.template(null, h.test(e) ? e : t(e)) : null
        }, encode: function (t) {
            return ("" + t).split("<").join("&lt;").split(">").join("&gt;").split('"').join("&#34;").split("'").join("&#39;")
        }
    }), t.extend(t.tmpl, {
        tag: {
            tmpl: {
                _default: {$2: "null"},
                open: "if($notnull_1){_=_.concat($item.nest($1,$2));}"
            },
            wrap: {
                _default: {$2: "null"},
                open: "$item.calls(_,$1,$2);_=[];",
                close: "call=$item.calls();_=call._.concat($item.wrap(call,_));"
            },
            each: {
                _default: {$2: "$index, $value"},
                open: "if($notnull_1){$.each($1a,function($2){with(this){",
                close: "}});}"
            },
            if: {open: "if(($notnull_1) && $1a){", close: "}"},
            else: {_default: {$1: "true"}, open: "}else if(($notnull_1) && $1a){"},
            html: {open: "if($notnull_1){_.push($1a);}"},
            "=": {_default: {$1: "$data"}, open: "if($notnull_1){_.push($.encode($1a));}"},
            "!": {open: ""}
        }, complete: function () {
            j = {}
        }, afterManip: function (e, n, r) {
            var a = 11 === n.nodeType ? t.makeArray(n.childNodes) : 1 === n.nodeType ? [n] : [];
            r.call(e, n), l(a), k++
        }
    })
}(jQuery), jQuery(document).ready(function () {
    QuantitySelector = function (t) {
        "use strict";
        var e = "quantity-selector", n = jQuery("#" + e), r = 5, a = null, i = {};
        i.build = function (t, e) {
            var n = {
                max: t.attr("data-max") || 9999,
                min: t.attr("data-min") || 0,
                step: t.attr("data-step") || 1,
                useCustomThirdLine: t.attr("data-use-custom-third-line"),
                customThirdLine: t.attr("data-custom-third-line") || !1,
                orientation: t.attr("data-orientation")
            };
            i.update(n), i.setFormKey(), i.AjaxAddToCart()
        }, i.setFormKey = function () {
            return $j(document).find("#product-popin #form_key").val($j("input[name=form_key]").val()), !1
        }, i.update = function (t) {
            var a = t.min || 1, i = t.max || 15, o = t.step || 1, u = t.dialogTitle || "",
                l = "Click to remove {0} from your cart", c = "Add {0}", p = $j("#" + e + "-options"),
                s = $j("#" + e).siblings(".ui-dialog-titlebar").find(".ui-dialog-title"), d = (i - a + 1) / o,
                f = "", m = "", g = Math.min(d, 15), y = 0, h = 0, j = !1, $ = 1, v = Math.ceil(g / r),
                A = g + $;
            for (r = A < r ? A : r, u && s.text(u), t.customThirdLine ? j = t.customThirdLine.split(",") : "" !== config.capsulesThirdLineQuantities && "true" === t.useCustomThirdLine && (j = config.capsulesThirdLineQuantities.split(",")), $; $ < A; $++) m = "", 0 === y && (m = "qty-row-first"), ($ - 1) % r == 0 && (h = 0, m += m ? " " : "", m += "qty-col-first"), y === v - 1 && (m += m ? " " : "", m += "qty-row-last"), $ % r == 0 && (m += m ? " " : "", m += "qty-col-last"), A > 10 && 2 === y && j ? (f += "<li " + (m ? 'class="' + m + '"' : "") + ">", j[h] && (f += '<button class="quantity-selection" data-quantity="' + j[h] + '">', f += '<span class="visually-hidden">', f += dataArrange.messageFilter(c, j[h]), f += "</span>", f += '<span aria-hidden="true">' + j[h] + "</span>", f += "</button>"), f += "</li>") : $ < A ? (f += "<li " + (m ? 'class="' + m + '"' : "") + ">", f += '<button class="quantity-selection" data-quantity="' + $ * o + '">', $ * o == 0 ? (f += '<span class="visually-hidden">', f += dataArrange.messageFilter(l, n.productName), f += "</span>", f += '<span  aria-hidden="true">' + $ * o + "</span>") : (f += '<span class="visually-hidden">', f += dataArrange.messageFilter(c, $ * o), f += "</span>", f += '<span  aria-hidden="true">' + $ * o + "</span>"), f += "</optionsutton>", f += "</li>") : f += "<li " + (m ? 'class="' + m + '"' : "") + "></li>", $ % r == r - 5 && y++, h++;
            p.html(f), $j(document).find("#product-popin .qty-box .qty-table").html($j("#quantity-selector").html())
        }, i.AjaxAddToCart = function (t) {
            return $j(document).find(".products-block").AjaxAddToCart({
                formSelector: ".add-to-cart-form",
                trackDTM: "1",
                trackDDM: "1"
            }), !1
        };
        var o = {};
        return o.clickOnQuantity = function () {
            var t = $j(this), e = t.attr("data-quantity");
            return t.parents(".qty-box").find("[id^=qty]").val(e).change(), t.parents(".qty-box").find(".btn-cart").trigger("click"), $j("#product-popin").dialog("close"), !1
        }, o.clickOnOk = function () {
            var t = $j("#qty-id"), e = parseInt(t.val(), 10);
            return isNaN(e) || "" === e ? (t.val(""), !1) : (t.parents(".qty-box").find(".btn-cart").trigger("click"), $j("#product-popin").dialog("close"), !1)
        }, o.typedInQuantityInput = function (t) {
            var e = t.keyCode || t.which;
            if (e === $j.ui.keyCode.ENTER && o.clickOnOk(), "keypress" === t.type) return e === $j.ui.keyCode.UP || e === $j.ui.keyCode.DOWN || e === $j.ui.keyCode.LEFT || e === $j.ui.keyCode.RIGHT || e === $j.ui.keyCode.SPACE || e === $j.ui.keyCode.BACKSPACE || e === $j.ui.keyCode.TAB || e >= 48 && e <= 57
        }, n.length && $j(document).on("click", ".quantity-selection", o.clickOnQuantity).on("keypress", "#qty-id", o.typedInQuantityInput), {
            setCurrentTrigger: function (t) {
                a = t
            }, build: i.build, update: i.update, AjaxAddToCart: i.AjaxAddToCart, setFormKey: i.setFormKey
        }
    }(jQuery)
});

etCurrencyManagerJsConfig = {
    "precision": 0,
    "position": 16,
    "display": 2,
    "symbol": "&#8381;",
    "zerotext": "",
    "excludecheckout": "1",
    "cutzerodecimal": 0,
    "cutzerodecimal_suffix": ",-",
    "min_decimal_count": "2"
};
try {
    extendProductConfigformatPrice();
} catch (e) {
}

//<![CDATA[
optionalZipCountries = ["HK", "IE", "MO", "PA"];
//]]>

var Translator = new Translate({
    "Please select an option.": "\u0412\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u0432\u0430\u0440\u0438\u0430\u043d\u0442",
    "This is a required field.": "\u042d\u0442\u043e \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0435 \u043f\u043e\u043b\u0435",
    "Please use numbers only in this field. Please avoid spaces or other characters such as dots or commas.": "\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 \u0442\u043e\u043b\u044c\u043a\u043e \u0446\u0438\u0444\u0440\u044b",
    "Please use letters only (a-z or A-Z) in this field.": "\u041f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 \u0434\u043b\u044f \u0437\u0430\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u0434\u0430\u043d\u043d\u043e\u0433\u043e \u043f\u043e\u043b\u044f \u0442\u043e\u043b\u044c\u043a\u043e \u0431\u0443\u043a\u0432\u044b (\u0430-\u044f \u0438\u043b\u0438 \u0410-\u042f).",
    "Please use only letters (a-z or A-Z) or numbers (0-9) only in this field. No spaces or other characters are allowed.": "\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435\u0441\u0442\u0440\u043e\u0447\u043d\u044b\u0435 \u0438\/\u0438\u043b\u0438 \u043f\u0440\u043e\u043f\u0438\u0441\u043d\u044b\u0435 \u0431\u0443\u043a\u0432\u044b \u0438\u043b\u0438 \u0446\u0438\u0444\u0440\u044b",
    "Please enter a valid date.": "\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u0443\u044e \u0434\u0430\u0442\u0443.",
    "Please enter a valid email address. For example johndoe@domain.com.": "\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u044b\u0439 \u0430\u0434\u0440\u0435\u0441 \u044d\u043b\u0435\u043a\u0442\u0440\u043e\u043d\u043d\u043e\u0439 \u043f\u043e\u0447\u0442\u044b.",
    "Please make sure your passwords match.": "\u0423\u0431\u0435\u0434\u0438\u0442\u0435\u0441\u044c, \u0447\u0442\u043e \u043f\u0430\u0440\u043e\u043b\u0438 \u0441\u043e\u0432\u043f\u0430\u0434\u0430\u044e\u0442",
    "Please enter a valid URL. Protocol is required (http:\/\/, https:\/\/ or ftp:\/\/)": "\u041f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u0432\u0432\u0435\u0434\u0438\u0442\u0435 \u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u044b\u0439 URL. \u0422\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u0443\u043a\u0430\u0437\u0430\u0442\u044c \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b (http:\/\/, https:\/\/ \u0438\u043b\u0438 ftp:\/\/).",
    "Please select one of the options.": "\u041f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u0432\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u043e\u0434\u0438\u043d \u0438\u0437 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u043e\u0432",
    "Credit card number does not match credit card type.": "\u041d\u043e\u043c\u0435\u0440 \u0431\u0430\u043d\u043a\u043e\u0432\u0441\u043a\u043e\u0439 \u043a\u0430\u0440\u0442\u044b \u043d\u0435 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u0435\u0442 \u0442\u0438\u043f\u0443 \u0431\u0430\u043d\u043a\u043e\u0432\u0441\u043a\u043e\u0439 \u043a\u0430\u0440\u0442\u044b.",
    "Incorrect credit card expiration date.": "\u041d\u0435\u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u0430\u044f \u0434\u0430\u0442\u0430 \u0438\u0441\u0442\u0435\u0447\u0435\u043d\u0438\u044f \u0441\u0440\u043e\u043a\u0430 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f \u0431\u0430\u043d\u043a\u043e\u0432\u0441\u043a\u043e\u0439 \u043a\u0430\u0440\u0442\u044b.",
    "Please enter a valid credit card verification number.": "\u041f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u0443\u043a\u0430\u0436\u0438\u0442\u0435 \u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u044b\u0439 \u043f\u0440\u043e\u0432\u0435\u0440\u043e\u0447\u043d\u044b\u0439 \u043a\u043e\u0434 \u0431\u0430\u043d\u043a\u043e\u0432\u0441\u043a\u043e\u0439 \u043a\u0430\u0440\u0442\u044b (CVV\/CVC).",
    "Please enter issue number or start date for switch\/solo card type.": "\u041f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u0443\u043a\u0430\u0436\u0438\u0442\u0435 \u0434\u0430\u0442\u0443 \u0432\u044b\u043f\u0443\u0441\u043a\u0430 \u0431\u0430\u043d\u043a\u043e\u0432\u0441\u043a\u043e\u0439 \u043a\u0430\u0440\u0442\u044b.",
    "Please wait, loading...": "\u041f\u043e\u0434\u043e\u0436\u0434\u0438\u0442\u0435, \u043f\u043e\u0436-\u0442\u0430 \u0438\u0434\u0435\u0442 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0430",
    "Complete": "\u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d, \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d",
    "Add Products By SKU": "\u0414\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u043f\u0440\u043e\u0434\u0443\u043a\u0442\u044b \u043f\u043e \u0430\u0440\u0442\u0438\u043a\u0443\u043b\u0443.",
    "Your order cannot be completed at this time as there is no payment methods available for it.": "\u0412\u0430\u0448 \u0437\u0430\u043a\u0430\u0437 \u043d\u0435 \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u0440\u0430\u0437\u043c\u0435\u0449\u0435\u043d, \u0442\u0430\u043a \u043a\u0430\u043a \u043d\u0430 \u0434\u0430\u043d\u043d\u044b\u0439 \u043c\u043e\u043c\u0435\u043d\u0442 \u0434\u043b\u044f \u043d\u0435\u0433\u043e \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u044e\u0442 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u0435 \u0441\u043f\u043e\u0441\u043e\u0431\u044b \u043e\u043f\u043b\u0430\u0442\u044b.",
    "Add to Cart": "\u0414\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0432 \u043a\u043e\u0440\u0437\u0438\u043d\u0443",
    "In Stock": "\u0422\u043e\u0432\u0430\u0440 \u0435\u0441\u0442\u044c \u0432 \u043d\u0430\u043b\u0438\u0447\u0438\u0438",
    "Out of Stock": "\u0422\u043e\u0432\u0430\u0440\u0430 \u043d\u0435\u0442 \u0432 \u043d\u0430\u043b\u0438\u0447\u0438\u0438",
    "Wishlist Name": "\u0418\u043c\u044f \u0438\u0437\u0431\u0440\u0430\u043d\u043d\u043e\u0433\u043e",
    "Save": "\u0421\u043e\u0445\u0440\u0430\u043d\u0438\u0442\u044c",
    "Cancel": "\u041e\u0442\u043c\u0435\u043d\u0430",
    "Make This Wishlist Public": "\u0421\u0434\u0435\u043b\u0430\u0442\u044c \u044d\u0442\u043e\u0442 \u043b\u0438\u0441\u0442 \u043f\u043e\u0436\u0435\u043b\u0430\u043d\u0439 \u043e\u0431\u0449\u0435\u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u043c",
    "Error happened during wishlist creation. Try again later": "\u041e\u0448\u0438\u0431\u043a\u0430 \u043f\u0440\u043e\u0438\u0437\u043e\u0448\u043b\u0430 \u0432\u043e \u0432\u0440\u0435\u043c\u044f \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u043b\u0438\u0441\u0442\u0430 \u043f\u043e\u0436\u0435\u043b\u043d\u0430\u0438\u0439. \u041f\u043e\u0432\u0442\u043e\u0440\u0438\u0442\u0435 \u043f\u043e\u043f\u044b\u0442\u043a\u0443 \u043f\u043e\u0437\u0436\u0435",
    "Create New Wishlist": "\u0421\u043e\u0437\u0434\u0430\u0432\u0430\u0442\u044c \u041d\u043e\u0432\u044b\u0439 \u043b\u0438\u0441\u0442 \u043f\u043e\u0436\u0435\u043b\u0430\u043d\u0438\u0439",
    "Edit Wishlist": "\u0420\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043b\u0438\u0441\u0442 \u043f\u043e\u0436\u0435\u043b\u0430\u043d\u0438\u0439",
    "Select items to move": "\u0412\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u044b \u0434\u043b\u044f \u043f\u0435\u0440\u0435\u043d\u043e\u0441\u0430",
    "Select items to copy": "\u0412\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u044b \u0434\u043b\u044f \u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f",
    "Add to:": "\u0414\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0432:",
    "Add to Wishlist": "\u0414\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0432 \u0441\u043f\u0438\u0441\u043e\u043a",
    "Weak": "\u0421\u043b\u0430\u0431\u044b\u0439",
    "Medium": "\u0421\u0440\u0435\u0434\u043d\u0438\u0439",
    "Strong": "\u0421\u0438\u043b\u044c\u043d\u044b\u0439",
    "Very Strong": "\u041e\u0447\u0435\u043d\u044c \u0441\u0438\u043b\u044c\u043d\u044b\u0439",
    "Contact": "\u041a\u043e\u043d\u0442\u0430\u043a\u0442\u044b"
});
//]]>