1! function(a){"function" == typeof define && define.amd ? define(["jquery"],a) :a("object" == typeof exports ? require("jquery") :jQuery)}(function(a){var b,c = navigator.userAgent,d = /iphone/i.test(c),e = /chrome/i.test(c),f = /android/i.test(c);a.mask ={definitions:{9:"[0-9]",a:"[A-Za-z]","*":"[A-Za-z0-9]"},autoclear:!0,dataName:"rawMaskFn",placeholder:"_"},a.fn.extend({caret:function(a,b){var c;if (0 !== this.length && !this.is(":hidden")) return "number" == typeof a ? (b = "number" == typeof b ? b :a,this.each(function(){this.setSelectionRange ? this.setSelectionRange(a,b) :this.createTextRange && (c = this.createTextRange(),c.collapse(!0),c.moveEnd("character",b),c.moveStart("character",a),c.select())})) :(this[0].setSelectionRange ? (a = this[0].selectionStart,b = this[0].selectionEnd) :document.selection && document.selection.createRange && (c = document.selection.createRange(),a = 0 - c.duplicate().moveStart("character",-1e5),b = a + c.text.length),{begin:a,end:b})},unmask:function(){return this.trigger("unmask")},mask:function(c,g){var h,i,j,k,l,m,n,o;if (!c && this.length > 0){h = a(this[0]);var p = h.data(a.mask.dataName);return p ? p() :void 0}return g = a.extend({autoclear:a.mask.autoclear,placeholder:a.mask.placeholder,completed:null},g),i = a.mask.definitions,j = [],k = n = c.length,l = null,a.each(c.split(""),function(a,b){"?" == b ? (n--,k = a) :i[b] ? (j.push(new RegExp(i[b])),null === l && (l = j.length - 1),k > a && (m = j.length - 1)) :j.push(null)}),this.trigger("unmask").each(function(){function h(){if (g.completed){for (var a = l;m >= a;a++)if (j[a] && C[a] === p(a)) return;g.completed.call(B)}}function p(a){return g.placeholder.charAt(a < g.placeholder.length ? a :0)}function q(a){for (;++a < n && !j[a];);return a}function r(a){for (;--a >= 0 && !j[a];);return a}function s(a,b){var c,d;if (!(0 > a)){for (c = a,d = q(b);n > c;c++)if (j[c]){if (!(n > d && j[c].test(C[d]))) break;C[c] = C[d],C[d] = p(d),d = q(d)}z(),B.caret(Math.max(l,a))}}function t(a){var b,c,d,e;for (b = a,c = p(a);n > b;b++)if (j[b]){if (d = q(b),e = C[b],C[b] = c,!(n > d && j[d].test(e))) break;c = e}}function u(){var a = B.val(),b = B.caret();if (o && o.length && o.length > a.length){for (A(!0);b.begin > 0 && !j[b.begin - 1];) b.begin--;if (0 === b.begin)for (;b.begin < l && !j[b.begin];) b.begin++;B.caret(b.begin,b.begin)}else{for (A(!0);b.begin < n && !j[b.begin];) b.begin++;B.caret(b.begin,b.begin)}h()}function v(){A(),B.val() != E && B.change()}function w(a){if (!B.prop("readonly")){var b,c,e,f = a.which || a.keyCode;o = B.val(),8 === f || 46 === f || d && 127 === f ? (b = B.caret(),c = b.begin,e = b.end,e - c === 0 && (c = 46 !== f ? r(c) :e = q(c - 1),e = 46 === f ? q(e) :e),y(c,e),s(c,e - 1),a.preventDefault()) :13 === f ? v.call(this,a) :27 === f && (B.val(E),B.caret(0,A()),a.preventDefault())}}function x(b){if (!B.prop("readonly")){var c,d,e,g = b.which || b.keyCode,i = B.caret();if (!(b.ctrlKey || b.altKey || b.metaKey || 32 > g) && g && 13 !== g){if (i.end - i.begin !== 0 && (y(i.begin,i.end),s(i.begin,i.end - 1)),c = q(i.begin - 1),n > c && (d = String.fromCharCode(g),j[c].test(d))){if (t(c),C[c] = d,z(),e = q(c),f){var k = function(){a.proxy(a.fn.caret,B,e)()};setTimeout(k,0)}else B.caret(e);i.begin <= m && h()}b.preventDefault()}}}function y(a,b){var c;for (c = a;b > c && n > c;c++) j[c] && (C[c] = p(c))}function z(){B.val(C.join(""))}function A(a){var b,c,d,e = B.val(),f = -1;for (b = 0,d = 0;n > b;b++)if (j[b]){for (C[b] = p(b);d++ < e.length;)if (c = e.charAt(d - 1),j[b].test(c)){C[b] = c,f = b;break}if (d > e.length){y(b + 1,n);break}}else C[b] === e.charAt(d) && d++,k > b && (f = b);return a ? z() :k > f + 1 ? g.autoclear || C.join("") === D ? (B.val() && B.val(""),y(0,n)) :z() :(z(),B.val(B.val().substring(0,f + 1))),k ? b :l}var B = a(this),C = a.map(c.split(""),function(a,b){return "?" != a ? i[a] ? p(b) :a :void 0}),D = C.join(""),E = B.val();B.data(a.mask.dataName,function(){return a.map(C,function(a,b){return j[b] && a != p(b) ? a :null}).join("")}),B.one("unmask",function(){B.off(".mask").removeData(a.mask.dataName)}).on("focus.mask",function(){if (!B.prop("readonly")){clearTimeout(b);var a;E = B.val(),a = A(),b = setTimeout(function(){B.get(0) === document.activeElement && (z(),a == c.replace("?","").length ? B.caret(0,a) :B.caret(a))},10)}}).on("blur.mask",v).on("keydown.mask",w).on("keypress.mask",x).on("input.mask paste.mask",function(){B.prop("readonly") || setTimeout(function(){var a = A(!0);B.caret(a),h()},0)}),e && f && B.off("input.mask").on("input.mask",u),A()})}})});! function(e){if ("object" == typeof exports && "undefined" != typeof module) module.exports = e();else if ("function" == typeof define && define.amd) define([],e);else{var t;t = "undefined" != typeof window ? window :"undefined" != typeof global ? global :"undefined" != typeof self ? self :this,t.ClipboardQuiz = e()}}(function(){var e,t,n;return function e(t,n,i){function o(a,c){if (!n[a]){if (!t[a]){var l = "function" == typeof require && require;if (!c && l) return l(a,!0);if (r) return r(a,!0);var s = new Error("Cannot find module '" + a + "'");throw s.code = "MODULE_NOT_FOUND",s}var u = n[a] ={exports:{}};t[a][0].call(u.exports,function(e){var n = t[a][1][e];return o(n ? n :e)},u,u.exports,e,t,n,i)}return n[a].exports}for (var r = "function" == typeof require && require,a = 0;a < i.length;a++) o(i[a]);return o}({1:[function(e,t,n){function i(e,t){for (;e && e.nodeType !== o;){if (e.matches(t)) return e;e = e.parentNode}}var o = 9;if (Element && !Element.prototype.matches){var r = Element.prototype;r.matches = r.matchesSelector || r.mozMatchesSelector || r.msMatchesSelector || r.oMatchesSelector || r.webkitMatchesSelector}t.exports = i},{}],2:[function(e,t,n){function i(e,t,n,i,r){var a = o.apply(this,arguments);return e.addEventListener(n,a,r),{destroy:function(){e.removeEventListener(n,a,r)}}}function o(e,t,n,i){return function(n){n.delegateTarget = r(n.target,t),n.delegateTarget && i.call(e,n)}}
vendor: 6,971 bytes, line 1
1var r = e("./closest");t.exports = i},{"./closest":1}],3:[function(e,t,n){n.node = function(e){return void 0 !== e && e instanceof HTMLElement && 1 === e.nodeType},n.nodeList = function(e){var t = Object.prototype.toString.call(e);return void 0 !== e && ("[object NodeList]" === t || "[object HTMLCollection]" === t) && "length" in e && (0 === e.length || n.node(e[0]))},n.string = function(e){return "string" == typeof e || e instanceof String},n.fn = function(e){var t = Object.prototype.toString.call(e);return "[object Function]" === t}},{}],4:[function(e,t,n){function i(e,t,n){if (!e && !t && !n) throw new Error("Missing required arguments");if (!c.string(t)) throw new TypeError("Second argument must be a String");if (!c.fn(n)) throw new TypeError("Third argument must be a Function");if (c.node(e)) return o(e,t,n);if (c.nodeList(e)) return r(e,t,n);if (c.string(e)) return a(e,t,n);throw new TypeError("First argument must be a String,HTMLElement,HTMLCollection,or NodeList")}function o(e,t,n){return e.addEventListener(t,n),{destroy:function(){e.removeEventListener(t,n)}}}function r(e,t,n){return Array.prototype.forEach.call(e,function(e){e.addEventListener(t,n)}),{destroy:function(){Array.prototype.forEach.call(e,function(e){e.removeEventListener(t,n)})}}}function a(e,t,n){return l(document.body,e,t,n)}var c = e("./is"),l = e("delegate");t.exports = i},{"./is":3,delegate:2}],5:[function(e,t,n){function i(e){var t;if ("SELECT" === e.nodeName) e.focus(),t = e.value;else if ("INPUT" === e.nodeName || "TEXTAREA" === e.nodeName) e.focus(),e.setSelectionRange(0,e.value.length),t = e.value;else{e.hasAttribute("contenteditable") && e.focus();var n = window.getSelection(),i = document.createRange();i.selectNodeContents(e),n.removeAllRanges(),n.addRange(i),t = n.toString()}return t}t.exports = i},{}],6:[function(e,t,n){function i(){}i.prototype ={on:function(e,t,n){var i = this.e || (this.e ={});return (i[e] || (i[e] = [])).push({fn:t,ctx:n}),this},once:function(e,t,n){function i(){o.off(e,i),t.apply(n,arguments)}var o = this;return i._ = t,this.on(e,i,n)},emit:function(e){var t = [].slice.call(arguments,1),n = ((this.e || (this.e ={}))[e] || []).slice(),i = 0,o = n.length;for (i;i < o;i++) n[i].fn.apply(n[i].ctx,t);return this},off:function(e,t){var n = this.e || (this.e ={}),i = n[e],o = [];if (i && t)for (var r = 0,a = i.length;r < a;r++) i[r].fn !== t && i[r].fn._ !== t && o.push(i[r]);return o.length ? n[e] = o :delete n[e],this}},t.exports = i},{}],7:[function(t,n,i){! function(o,r){if ("function" == typeof e && e.amd) e(["module","select"],r);else if ("undefined" != typeof i) r(n,t("select"));else{var a ={exports:{}};r(a,o.select),o.clipboardAction = a.exports}}(this,function(e,t){"use strict";function n(e){return e && e.__esModule ? e :{default:e}}function i(e,t){if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function")}var o = n(t),r = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(e){return typeof e}:function(e){return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" :typeof e},a = function(){function e(e,t){for (var n = 0;n < t.length;n++){var i = t[n];i.enumerable = i.enumerable || !1,i.configurable = !0,"value" in i && (i.writable = !0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n && e(t.prototype,n),i && e(t,i),t}}(),c = function(){function e(t){i(this,e),this.resolveOptions(t),this.initSelection()}return a(e,[{key:"resolveOptions",value:function e(){var t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] :{};this.action = t.action,this.emitter = t.emitter,this.target = t.target,this.text = t.text,this.trigger = t.trigger,this.selectedText = ""}},{key:"initSelection",value:function e(){this.text ? this.selectFake() :this.target && this.selectTarget()}},{key:"selectFake",value:function e(){var t = this,n = "rtl" == document.documentElement.getAttribute("dir");this.removeFake(),this.fakeHandlerCallback = function(){return t.removeFake()},this.fakeHandler = document.body.addEventListener("click",this.fakeHandlerCallback) || !0,this.fakeElem = document.createElement("textarea"),this.fakeElem.style.fontSize = "12pt",this.fakeElem.style.border = "0",this.fakeElem.style.padding = "0",this.fakeElem.style.margin = "0",this.fakeElem.style.position = "absolute",this.fakeElem.style[n ? "right" :"left"] = "-9999px";var i = window.pageYOffset || document.documentElement.scrollTop;this.fakeElem.addEventListener("focus",window.scrollTo(0,i)),this.fakeElem.style.top = i + "px",this.fakeElem.setAttribute("readonly",""),this.fakeElem.value = this.text,document.body.appendChild(this.fakeElem),this.selectedText = (0,o.default)(this.fakeElem),this.copyText()}},{key:"removeFake",value:function e(){this.fakeHandler && (document.body.removeEventListener("click",this.fakeHandlerCallback),this.fakeHandler = null,this.fakeHandlerCallback = null),this.fakeElem && (document.body.removeChild(this.fakeElem),this.fakeElem = null)}},{key:"selectTarget",value:function e(){this.selectedText = (0,o.default)(this.target),this.copyText()}},{key:"copyText",value:function e(){var t = void 0;try{t = document.execCommand(this.action)}catch (e){t = !1}this.handleResult(t)}},{key:"handleResult",value:function e(t){this.emitter.emit(t ? "success" :"error",{action:this.action,text:this.selectedText,trigger:this.trigger,clearSelection:this.clearSelection.bind(this)})}},{key:"clearSelection",value:function e(){this.target && this.target.blur(),window.getSelection().removeAllRanges()}},{key:"destroy",value:function e(){this.removeFake()}},{key:"action",set:function e(){var t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] :"copy";if (this._action = t,"copy" !== this._action && "cut" !== this._action) throw new Error('Invalid "action" value,use either "copy" or "cut"')},get:function e(){return this._action}},{key:"target",set:function e(t){if (void 0 !== t){if (!t || "object" !== ("undefined" == typeof t ? "undefined" :r(t)) || 1 !== t.nodeType) throw new Error('Invalid "target" value,use a valid Element');if ("copy" === this.action && t.hasAttribute("disabled")) throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if ("cut" === this.action && (t.hasAttribute("readonly") || t.hasAttribute("disabled"))) throw new Error('Invalid "target" attribute. You can\'t cut text from elements with "readonly" or "disabled" attributes');this._target = t}},get:function e(){return this._target}}]),e}();e.exports = c})},{select:5}],8:[function(t,n,i){! function(o,r){if ("function" == typeof e && e.amd) e(["module","./clipboard-action","tiny-emitter","good-listener"],r);else if ("undefined" != typeof i) r(n,t("./clipboard-action"),t("tiny-emitter"),t("good-listener"));else{var a ={exports:{}};r(a,o.clipboardAction,o.tinyEmitter,o.goodListener),o.clipboardQuiz = a.exports}}(this,function(e,t,n,i){"use strict";
1function o(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 a(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 c(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)}function l(e,t){var n = "data-clipboard-" + e;if (t.hasAttribute(n)) return t.getAttribute(n)}var s = o(t),u = o(n),f = o(i),d = function(){function e(e,t){for (var n = 0;n < t.length;n++){var i = t[n];i.enumerable = i.enumerable || !1,i.configurable = !0,"value" in i && (i.writable = !0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n && e(t.prototype,n),i && e(t,i),t}}(),h = function(e){function t(e,n){r(this,t);var i = a(this,(t.__proto__ || Object.getPrototypeOf(t)).call(this));return i.resolveOptions(n),i.listenClick(e),i}return c(t,e),d(t,[{key:"resolveOptions",value:function e(){var t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] :{};this.action = "function" == typeof t.action ? t.action :this.defaultAction,this.target = "function" == typeof t.target ? t.target :this.defaultTarget,this.text = "function" == typeof t.text ? t.text :this.defaultText}},{key:"listenClick",value:function e(t){var n = this;this.listener = (0,f.default)(t,"click",function(e){return n.onClick(e)})}},{key:"onClick",value:function e(t){var n = t.delegateTarget || t.currentTarget;this.clipboardAction && (this.clipboardAction = null),this.clipboardAction = new s.default({action:this.action(n),target:this.target(n),text:this.text(n),trigger:n,emitter:this})}},{key:"defaultAction",value:function e(t){return l("action",t)}},{key:"defaultTarget",value:function e(t){var n = l("target",t);if (n) return document.querySelector(n)}},{key:"defaultText",value:function e(t){return l("text",t)}},{key:"destroy",value:function e(){this.listener.destroy(),this.clipboardAction && (this.clipboardAction.destroy(),this.clipboardAction = null)}}]),t}(u.default);e.exports = h})},{"./clipboard-action":7,"good-listener":4,"tiny-emitter":6}]},{},[8])(8)});function openQuizSetPanel(){jQuery("div.wqec-setting.main-set").addClass("wqec-open");size_set_main();setTimeout(function(){jQuery("div.wqec-setting.main-set").addClass("wqec-on")},100);jQuery("body").addClass("wqec-on-menu");jQuery("div.wqec-shadow-menu").addClass("wqec-active")}jQuery(document).on("click","div.wqec-btn",function(){if (jQuery(".ajax-settings").length > 0){jQuery("div.wqec-xLoader").addClass("wqec-active");$.post('/bitrix/tools/concept.quiz/js/set_panel.php',{show:"Y"},function(html){jQuery(".ajax-settings").html(html);jQuery(".ajax-settings").removeClass("ajax-settings");openQuizSetPanel();jQuery("div.wqec-xLoader").removeClass("wqec-active")})}else{openQuizSetPanel()}});function scrollToTopQuiz(e,i,t){jQuery(t).parents(i).animate({scrollTop:e},300)}function wqecResizeVideo(){var e = jQuery(window).height(),i = 505;jQuery(window).width() < 767 && (i = 300),e > i ? jQuery("div.wqec-modal.wqec-active div.wqec-dialog").addClass("wqec-absolute") :jQuery("div.wqec-modal.wqec-active div.wqec-dialog").removeClass("wqec-absolute")}function wqecResizeAgModal(){jQuery("div.wqec-agreement.wqec-active div.wqec-dialog").height() < jQuery(window).height() ? jQuery("div.wqec-agreement.wqec-active div.wqec-dialog").addClass("wqec-absolute") :jQuery("div.wqec-agreement.wqec-active div.wqec-dialog").removeClass("wqec-absolute")}function wqecPercent(e){e.find("div.weqc-tab-percent").css("right",e.find("div.wqec-perc-info").outerWidth() + "px")}function openWiz(e,i){"call" == i && (jQuery('div.wqec-big-wrap[data-wqec-section-id="' + e + '"]').remove(),jQuery("div.wqec-xLoader").addClass("wqec-active"),jQuery.post("/bitrix/tools/concept.quiz/js/component.php",{wqecSectionCode:e},function(i){if(i.length>
10){jQuery(".call-wqec[data-wqec-section-id=" + e + "]").addClass("open-wqec").removeClass("call-wqec"),jQuery("div.wqec-xLoader").removeClass("wqec-active"),jQuery("div.areaForWqec").append('<div class="wqec-big-wrap" data-wqec-section-id="' + e + '"></div>'),jQuery('div.wqec-big-wrap[data-wqec-section-id="' + e + '"]').html(i),jQuery('div.wqec-big-wrap[data-wqec-section-id="' + e + '"]').find("div.wqec").attr("data-wqec-id",e);var t = jQuery("div.wqec[data-wqec-id='" + e + "']");jQuery("body").addClass("wqec-on"),jQuery("div.wqec-shadow").addClass("wqec-active"),setTimeout(function(){t.find("form.wqec-form input.cwiz-url").val(decodeURIComponent(location.href)),t.addClass("wqec-active"),wqecPercent(t),jQuery("div.wqec").hasClass("wizard-quest-edition-concept") && (setTimeout(function(){t.find("div.wqec-left-side").addClass("wqec-ready")},1e3),setTimeout(function(){t.find("div.wqec-right-side").addClass("wqec-ready")},1500),setTimeout(function(){t.find("div.wqec-vertical-side").addClass("wqec-ready")},2e3),setTimeout(function(){t.find("div.wqec-content").addClass("wqec-ready"),t.find("a.wqec-mainclose").addClass("wqec-ready")},2700),setTimeout(function(){var e = t.find(".quiz-head-part").height();jQuery(window).width() <= 991 && (e = t.find(".wqec-left-side").outerHeight() + e),t.find(".quiz-body-part").css("top",e + "px"),t.find(".quiz-body-part").find(".inner-quiz-body-part").css("padding-bottom",t.find(".wqec-footer").height() + 30 + "px")},200))},500),cur_pos = $(document).scrollTop(),device.ios() && $("body").addClass("modal-ios")}else{jQuery("div.wqec-xLoader").removeClass("wqec-active")}})),"quiz_block" == i && (e = e.replace("cquiz_",""),jQuery.post("/bitrix/tools/concept.quiz/js/component.php",{wqecSectionCode:e,type:"quiz_block"},function(i){if(i.length>0)jQuery("div.areaBlockquiz#cquiz_" + e).html(i),wqecPercent(jQuery("div.areaBlockquiz#cquiz_" + e)),jQuery("div.areaBlockquiz#cquiz_" + e).find("form.wqec-form input.cwiz-url").val(decodeURIComponent(location.href))})),"open" == i && (jQuery("div.wqec[data-wqec-id='" + e + "']").addClass("wqec-active"),jQuery("body").addClass("wqec-on"),jQuery("div.wqec-shadow").addClass("wqec-active"),cur_pos = $(document).scrollTop(),device.ios() && $("body").addClass("modal-ios"))}function QdelPrm(Url,Prm){var a = Url.split('?');var re = new RegExp('(\\?|&)' + Prm + '=[^&]+','g');Url = ('?' + a[1]).replace(re,'');Url = Url.replace(/^&|\?/,'');var dlm = (Url == '') ? '' :'?';return a[0] + dlm + Url};function popupWindow(e,i,t,a){var c = screen.width / 2 - t / 2,n = screen.height / 2 - a / 2;return window.open(e,i,"toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,copyhistory=no,width=" + t + ",height=" + a + ",top=" + n + ",left=" + c)}(function(){var e,i,t,a,c,n,s,o;window.device ={},i = window.document.documentElement,o = window.navigator.userAgent.toLowerCase(),device.ios = function(){return device.iphone() || device.ipod() || device.ipad()},device.iphone = function(){return t("iphone")},device.ipod = function(){return t("ipod")},device.ipad = function(){return t("ipad")},device.android = function(){return t("android")},device.androidPhone = function(){return device.android() && t("mobile")},device.androidTablet = function(){return device.android() && !t("mobile")},device.blackberry = function(){return t("blackberry") || t("bb10") || t("rim")},device.blackberryPhone = function(){return device.blackberry() && !t("tablet")},device.blackberryTablet = function(){return device.blackberry() && t("tablet")},device.windows = function(){return t("windows")},device.windowsPhone = function(){return device.windows() && t("phone")},device.windowsTablet = function(){return device.windows() && t("touch")},device.fxos = function(){return t("(mobile;rv:") || t("(tablet;rv:")},device.fxosPhone = function(){return device.fxos() && t("mobile")},device.fxosTablet = function(){return device.fxos() && t("tablet")},device.mobile = function(){return device.androidPhone() || device.iphone() || device.ipod() || device.windowsPhone() || device.blackberryPhone() || device.fxosPhone()},device.tablet = function(){return device.ipad() || device.androidTablet() || device.blackberryTablet() || device.windowsTablet() || device.fxosTablet()},device.portrait = function(){return 90 !== Math.abs(window.orientation)},device.landscape = function(){return 90 === Math.abs(window.orientation)},t = function(e){return -1 !== o.indexOf(e)},c = function(e){var t;return t = new RegExp(e,"i"),i.className.match(t)},e = function(e){return c(e) ? void 0 :i.className += " " + e},s = function(e){return c(e) ? i.className = i.className.replace(e,"") :void 0},device.ios() ? device.ipad() ? e("ios ipad tablet") :device.iphone() ? e("ios iphone mobile") :device.ipod() && e("ios ipod mobile") :device.android() ? device.androidTablet() ? e("android tablet") :e("android mobile") :device.blackberry() ? device.blackberryTablet() ? e("blackberry tablet") :e("blackberry mobile") :device.windows() ? device.windowsTablet() ? e("windows tablet") :device.windowsPhone() ? e("windows mobile") :e("desktop") :device.fxos() ? device.fxosTablet() ? e("fxos tablet") :e("fxos mobile") :e("desktop"),a = function(){return device.landscape() ? (s("portrait"),e("landscape")) :(s("landscape"),e("portrait"))},n = "onorientationchange" in window ? "orientationchange" :"resize",window.addEventListener ? window.addEventListener(n,a,!1) :window.attachEvent ? window.attachEvent(n,a) :window[n] = a,a()}).call(this),cur_pos = 0,jQuery(document).on("click","form.wqec-form input[type='file']",function(){var e = jQuery(this),i = e.parent(),t = i.find("span.area-file"),a = !!(window.File && window.FileReader && window.FileList && window.Blob);e.change(function(){var c;(c = a && e[0].files[0] ? e[0].files[0].name :e.val().replace("C:\\fakepath\\","")).length && (t.is(":visible") ? (t.text(c),t.removeClass("file-none"),t.closest(".load-file").removeClass("has-error")) :i.text(c))}).change()}),jQuery(document).ready(function(){var urlquiz = QdelPrm(window.location.href,"quiz");cur_pos = $(document).scrollTop();var e = window.location.toString(),i = /(quiz=)([0-9]*)/.exec(e);i && openWiz(i[2],"call");if($('.cpt-quiz-admin-mode').length>0)$("body").append("<div class=\"ajax-settings\"></div><div class=\"wqec-setting-btn\"><div class=\"wqec-btn\"><span>"+$('.cpt-quiz-admin-mode').val()+"</span></div></div>");jQuery("body").append('<input type="hidden" name="wqec-url" value="' + urlquiz + '"><div class="areaForWqec"></div><div class="wqec-shadow"></div><div class="wqec-shadow-menu"></div><div class="wqec-modal" id="wqec-video"><div class="wqec-dialog"><a class="wqec-video-close"></a><div id="wqec-player"></div></div></div><div class="wqec-xLoader"><div class="google-spin-wrapper"><div class="google-spin"></div></div></div><input type="hidden" class="cquiz-input-1" name="cquiz-input-1" value=""><input type="hidden" class="cquiz-input-2" name="cquiz-input-2" value=""><input type="hidden" class="cquiz-input-3" name="cquiz-input-3" value="">');var t = new ClipboardQuiz("a.wqec-copy");t.on("success",function(e){var i;e.clearSelection(),console.log(e),i = e.trigger,$(i).parents(".quiz_copy_parent").find(".quiz_copy_complited").addClass("wqec-active"),setTimeout(function(){$(i).parents(".quiz_copy_parent").find(".quiz_copy_complited").removeClass("wqec-active")},3e3)}),t.on("error",function(e){})}),jQuery(document).ready(function(){jQuery("div").is(".areaBlockquiz") > 0 && jQuery(".areaBlockquiz").each(function(e){openWiz($(this).attr("id"),"quiz_block")})}),jQuery(document).on("click",".wqec-share",function(){var e = jQuery(this).attr("data-wqec-name"),i = window.location.href,t = jQuery('input[name~="wqec-url"]').val(),a = jQuery(this).parents("div.wqec").attr("data-wqec-id"),c = "",n = "",s = "";n = t.split("#");if(n.length>1){t = n[0]}if(jQuery(this).parents("div.areaBlockquiz").hasClass("quiz_block")){t += "#cquiz_" + a}else{c = t.split("?");if(c.length>1){t+="&quiz=" + a}else{t+="?quiz=" + a}}"vk" == e && (s = "http://vk.com/share.php?url=" + encodeURIComponent(t),void 0 !== jQuery(this).attr("data-wqec-title") && (s += "&title=" + encodeURIComponent(jQuery(this).attr("data-wqec-title"))),void 0 !== jQuery(this).attr("data-wqec-image") && (s += "&image=" + jQuery(this).attr("data-wqec-image"))),"tw" == e && (s = "https://twitter.com/share?url=" + encodeURIComponent(t),void 0 !== jQuery(this).attr("data-wqec-title") && (s += "&title=" + jQuery(this).attr("data-wqec-title"))),"fb" == e && (s = "https://www.facebook.com/sharer/sharer.php?u=" + encodeURIComponent(t),void 0 !== jQuery(this).attr("data-wqec-image") && (s += "&picture=" + jQuery(this).attr("data-wqec-image"))),"ok" == e && (s = "https://connect.ok.ru/offer?url=" + encodeURIComponent(t)),"gp" == e && (s = "https://plus.google.com/share?url=" + encodeURIComponent(t)),popupWindow(s,"",626,500)}
1),jQuery(document).on("click",".call-wqec",function(){openWiz(jQuery(this).attr("data-wqec-section-id"),"call")}),jQuery(document).on("click",".call-wqec-menu",function(){openWiz(jQuery(this).attr("data-wqec-section-id"),"call")}),jQuery(document).on("click",".open-wqec",function(){openWiz(jQuery(this).attr("data-wqec-section-id"),"open")}),jQuery(window).resize(function(){wqecResizeVideo(),wqecResizeAgModal()});function cquiz_goals(iblock_id,quiz_id,type,res_id){$.post("/bitrix/tools/concept.quiz/js/yacount.php",{iblock_id:iblock_id,quiz_id:quiz_id,type:type,res_id:res_id},function(e){setTimeout(function(){jQuery("body").append(e)},1e3)})}var chooseOn = !1;function cquiz_step(e,i,c){var n = ".wqec-right-side",s = 0;var th = e;if (jQuery(window).width() <= 991 && !e.parents("div.areaBlockquiz").hasClass("quiz_block") && e.parents("div.wqec").hasClass("wizard-quest-edition-concept") && (s = e.parents(".wqec-content-wrap").offset().top - e.parents("div.wqec-right-side-static-part").offset().top,n = ".wizard-quest-edition-concept"),e.hasClass("wqec-first") && cquiz_goals(e.parents("form.wqec-form").find("input[name='cwizIblockId']").val(),e.parents("form.wqec-form").find("input[name='cwizSectionId']").val(),"begin",""),c.find("div.wqec-vertical-side-inner").hasClass("wqec-tab-num")) c.find("div.wqec-tab").removeClass("wqec-active"),prevVar = parseInt(e.attr("data-step")) - 1,c.find("div.wqec-tab[data-step='" + prevVar + "']").addClass("wqec-complited itwas"),c.find("div.wqec-tab[data-step='" + prevVar + "'].itwas").addClass("wqec-complited"),c.find("div.wqec-tab[data-step='" + e.attr("data-step") + "']").removeClass("wqec-complited"),c.find("div.wqec-tab[data-step='" + e.attr("data-step") + "']").addClass("wqec-active");else{var o = c.find("input.wqec-one-percent-step").val(),r = c.find("input.totalWqecStepPercent").val();o = parseFloat(o),r = parseFloat(r),e.hasClass("wqec-next") && (r += o),e.hasClass("wqec-prev") && (r -= o),r <= 100 && (c.find("input.totalWqecStepPercent").val(r),c.find("div.wqec-tab-per").width(r + "%")),wqecPercent(c)}(e.hasClass("stepEnd") || (c.find("span.wqec-per-in-count").removeClass("wqec-active"),c.find("span.wqec-per-in-count[data-step='" + e.attr("data-step") + "']").addClass("wqec-active")),c.find("div.wqec-content-wrap").removeClass("wqec-active"),c.find("div.wqec-content-wrap[data-step='" + e.attr("data-step") + "']").addClass("wqec-active"),e.parents("div.areaBlockquiz").hasClass("quiz_block") || (e.parents("div.wqec").hasClass("wizard-quest-edition-concept2") ? scrollToTopQuiz(0,".wqec",e) :scrollToTopQuiz(s,n,e)),e.parents("div.areaBlockquiz").hasClass("quiz_block")) && scrollToTopQuiz(c.offset().top - 100,"html:not(:animated),body:not(:animated)",e);jQuery("div").is(".wrap-cquiz-cur-result"),e.hasClass("stepEnd") && (c.find("span.wqec-per-count").hide(),c.find("span.wqec-finish").removeClass("wqec-hide"),c.find("div.wqec-tab-result[data-step='stepEnd']").addClass("wqec-active"),setTimeout(function(){wqecPercent(c)},200),jQuery("div.wqec-xLoader").addClass("wqec-active"),c.hasClass("wizard-quest-edition-concept2") && c.hide(),c.find("div.wqec-content-wrap[data-step='stepEnd']").addClass("wqec-active").html(),jQuery.ajax({type:"POST",url:"/bitrix/tools/concept.quiz/js/result.php",data:i.serialize(),success:function(e){jQuery("div.wqec-xLoader").removeClass("wqec-active"),c.hasClass("wizard-quest-edition-concept2") && c.show(),c.find("div.wqec-content-wrap[data-step='stepEnd']").html(e),c.find("div.wqec-restart").removeClass("wqec-hide"),setTimeout(function(){cquiz_goals(th.parents("form.wqec-form").find("input[name='cwizIblockId']").val(),th.parents("form.wqec-form").find("input[name='cwizSectionId']").val(),"result",i.find("input.cwiz-res-id").val())},500),"send_res" == c.find("input.send_res").val() && jQuery.ajax({url:"/",type:"post",success:function(e){}})}}),c.find("div.wqec-quests").removeClass("wqec-active"))}function size_set_main(){var e = jQuery(window).height(),i = jQuery(".wqec-setting.main-set .wqec-head-wrap").outerHeight() + jQuery(".wqec-setting.main-set .wqec-setting-content").outerHeight() + jQuery(".wqec-setting.main-set .foot-wrap").outerHeight();e > i ? jQuery(".wqec-setting.main-set .wqec-inner").css({"min-height":e + "px"}) :jQuery(".wqec-setting.main-set .wqec-inner").css({"min-height":i + "px"})}jQuery(document).on("click","form.wqec-calc input.wqec-check",function(){chooseOn = !1;var e = jQuery(this),i = e.parents("form.wqec-calc"),t = jQuery(this).parents("div.wqec-content-wrap").find("div.wqec-button-wrap"),a = ".wqec-right-side";if (jQuery(window).width() <= 991 && !jQuery(this).parents("div.areaBlockquiz").hasClass("quiz_block") && (a = ".wizard-quest-edition-concept"),jQuery(this).parents("div.wqec").hasClass("wizard-quest-edition-concept2")) var c = t.offset().top - jQuery(this).parents(".wizard-quest-edition-concept-inner").offset().top - 5;else c = t.offset().top - jQuery(this).parents("div.wqec-right-side-static-part").offset().top;if (jQuery(this).parents("div.wqec-type").hasClass("wqec-check")){var n = !1;jQuery(this).parents("div.wqec-type").find('input[type="checkbox"]').each(function(e,i){jQuery(this).prop("checked") ? (n = !0,jQuery(this).parents("div.wizard-quest-edition-concept2") && jQuery(this).parents("div.wqec-element").addClass("wqec-active").removeClass("wqec-noactive")) :jQuery(this).parents("div.wizard-quest-edition-concept2") && jQuery(this).parents("div.wqec-element").removeClass("wqec-active").addClass("wqec-noactive")}),n ? (t.removeClass("wqec-hide-relative"),chooseOn = !0) :"" != jQuery(this).parents("div.wqec-elements").find("input.wqec-text").val() && void 0 !== jQuery(this).parents("div.wqec-elements").find("input.wqec-text").val() ? (jQuery(this).parents(".wqec-content-wrap").hasClass("one_click_on") || jQuery(this).parents("div.areaBlockquiz").hasClass("quiz_block") || (jQuery(this).parents("div.wqec").hasClass("wizard-quest-edition-concept2") ? scrollToTopQuiz(c,".wqec",jQuery(this)) :scrollToTopQuiz(c,a,jQuery(this))),t.removeClass("wqec-hide-relative"),jQuery(this).parents("div.wizard-quest-edition-concept2") && jQuery(this).parents("div.wqec-elements").find("div.wqec-element").removeClass("wqec-active").removeClass("wqec-noactive")) :(t.addClass("wqec-hide-relative"),chooseOn = !1,jQuery(this).parents("div.wizard-quest-edition-concept2") && jQuery(this).parents("div.wqec-elements").find("div.wqec-element").removeClass("wqec-active").removeClass("wqec-noactive"))}else jQuery(this).parents("div.wqec-elements").find("div.wqec-element").removeClass("wqec-active").addClass("wqec-noactive"),jQuery(this).parents("div.wqec-element").addClass("wqec-active").removeClass("wqec-noactive"),t.removeClass("wqec-hide-relative"),chooseOn = !0,jQuery(this).parents(".wqec-content-wrap").hasClass("one_click_on") || (jQuery(this).parents("div.areaBlockquiz").hasClass("quiz_block") || (jQuery(this).parents("div.wqec").hasClass("wizard-quest-edition-concept2") ? scrollToTopQuiz(c,".wqec",jQuery(this)) :scrollToTopQuiz(c,a,jQuery(this))),jQuery(this).parents("div.areaBlockquiz").hasClass("quiz_block") && jQuery(window).width() <= 991 && !jQuery(this).parents(".wqec-content-wrap").hasClass("one_click_on") && scrollToTopQuiz(c = jQuery(this).parents(".wqec-content-wrap").find(".wqec-button-wrap").offset().top - 150,"html:not(:animated),body:not(:animated)",jQuery(this)));e.parents(".wqec-admin-on").hasClass("show-points") && jQuery.ajax({type:"POST",url:"/bitrix/tools/concept.quiz/js/total_count.php",data:i.serialize(),success:function(i){e.parents("div.wqec").find(".area-for-total").html(i)}})}),jQuery(document).on("click",".wqec-prev-next",function(){chooseOn = !1;var e = jQuery(this),i = jQuery(this).parents("form.wqec-calc"),c = jQuery(this).parents("div.wqec.wqec-active");e.parents("div.areaBlockquiz").hasClass("quiz_block") && (c = jQuery(this).parents("div.areaBlockquiz")),cquiz_step(e,i,c),e.parents(".wqec-admin-on").hasClass("show-points") && jQuery.ajax({type:"POST",url:"/bitrix/tools/concept.quiz/js/total_count.php",data:i.serialize(),success:function(e){c.find(".area-for-total").html(e)}})}),jQuery(document).on("change",".one_click_on label.quiz_wrap_element",function(){chooseOn = !1;var e = jQuery(this).parents(".one_click_on").find(".wqec-next"),i = jQuery(this).parents("form.wqec-calc"),c = jQuery(this).parents(".one_click_on").find(".wqec-next").parents("div.wqec.wqec-active");e.parents("div.areaBlockquiz").hasClass("quiz_block") && (c = jQuery(this).parents(".one_click_on").find(".wqec-next").parents("div.areaBlockquiz")),cquiz_step(e,i,c),e.parents(".wqec-admin-on").hasClass("show-points") && jQuery.ajax({type:"POST",url:"/bitrix/tools/concept.quiz/js/total_count.php",data:i.serialize(),success:function(e){c.find(".area-for-total").html(e)}})}),jQuery(document).on("click","div.wqec-restart",function(){var e = jQuery(this).parents("div.wqec");e.find(".wqec-complited").removeClass("wqec-complited"),e.find(".wqec-active").removeClass("wqec-active"),e.find("form.wqec-calc").trigger("reset"),e.find("div.wqec-button-wrap").addClass("wqec-hide-relative"),e.find(".wqec-first").addClass("wqec-active"),e.find("li.wqec-first").addClass("wqec-active"),e.find("input.totalWqecStepPercent").val(0),e.find("div.wqec-tab-per").width(0),e.find("div.wqec-quests").addClass("wqec-active"),e.find("div.wqec-element").removeClass("wqec-active").removeClass("wqec-noactive"),e.find("input.wqec-in-focus-anim").parent().removeClass("wqec-in-focus"),jQuery(this).addClass("wqec-hide")}),jQuery(document).on("click","a.wqec-agree",function(){jQuery("div.wqec-modal[data-agreemodal='" + jQuery(this).attr("data-agreemodal") + "']").addClass("wqec-active"),jQuery(this).hasClass("from-air") && (jQuery("div.wqec-modal[data-agreemodal='" + jQuery(this).attr("data-agreemodal") + "']").find("a.wqec-close").addClass("from-air"),jQuery("body").addClass("wqec-on")),jQuery("div.wqec-agree-shadow").addClass("wqec-active");wqecResizeAgModal();jQuery(this).parents('div.block').css("z-index","9999999")}),jQuery(document).on("click","a.wqec-close",function(){jQuery(this).parents("div.wqec-modal").removeClass("wqec-active"),jQuery("div.wqec-agree-shadow").removeClass("wqec-active"),jQuery(this).hasClass("from-air") && (jQuery(this).removeClass("from-air"),jQuery("body").removeClass("wqec-on"));jQuery(this).parents('div.block').css("z-index","auto")}),jQuery(document).on("focus","form.wqec-form input.input-text",function(){jQuery(this).parent().removeClass("has-error")}
1),jQuery("input.input-text","form.wqec-form").focus(function(){jQuery(this).parent().removeClass("has-error")}),jQuery(document).on("click","form.wqec-form input[type='checkbox']",function(){jQuery(this).parents("div.wrap-agree").removeClass("has-error")}),jQuery(document).on("focus","input.wqec-in-focus-anim",function(){"" == jQuery(this).val() && jQuery(this).parent().addClass("wqec-in-focus")}),jQuery(document).on("blur","input.wqec-in-focus-anim",function(){"" == jQuery(this).val() && jQuery(this).parent().removeClass("wqec-in-focus")}),jQuery(document).on("keyup","input.wqec-text",function(){void 0 !== jQuery(this).val() && (jQuery(this).val().length > 0 || 1 == chooseOn ? jQuery(this).parents("div.wqec-content-wrap").find("div.wqec-button-wrap").removeClass("wqec-hide-relative") :jQuery(this).parents("div.wqec-content-wrap").find("div.wqec-button-wrap").addClass("wqec-hide-relative"))}),jQuery(document).on("click","form.form input[type='checkbox']",function(){jQuery(this).parents("div.wrap-agree").removeClass("has-error")}),jQuery(document).on("submit","form.wqec-form",function(){var e = jQuery(this);var th = jQuery(this);e.find("table.wqec-wrap-act").css({height:e.find("table.wqec-wrap-act").outerHeight() + "px"});var i = new FormData(e.get(0));i.append("wqec-send","Y");i.append("cquiz-input-1",jQuery("input.cquiz-input-1").val());i.append("cquiz-input-2",jQuery("input.cquiz-input-2").val());i.append("cquiz-input-3",jQuery("input.cquiz-input-3").val());var t = jQuery("input.wqec-name",e),a = jQuery("input.wqec-phone",e),c = jQuery("input.wqec-email",e),n = jQuery("button.wqec-form-submit",e),s = jQuery("input#agreecheck",e),o = jQuery("div.wqec-questions",e),r = jQuery("div.wqec-load",e),d = jQuery("div.wqec-thank",e),u = jQuery("button[type='submit']",e).attr("data-link"),w = jQuery("input[type='file']",e),q = 0;return void 0 !== s.val() && (s.prop("checked") || (s.parents("div.wrap-agree").addClass("has-error"),q = 1)),void 0 !== w.val() && w.hasClass("require") && w.parents("div.wqec-input").find(".area-file").hasClass("file-none") && (w.parents(".load-file").addClass("has-error"),q = 1),void 0 !== t.val() && t.hasClass("require") && t.val().length < 1 && (t.parent("div.wqec-input").addClass("has-error"),q = 1),void 0 !== c.val() && (c.hasClass("require") || c.val().length > 0) && (/^([A-Za-z0-9_\-\.])+\@([A-Za-z0-9_\-\.])+\.([A-Za-z]{2,4})$/.test(c.val()) || (c.parent("div.wqec-input").addClass("has-error"),q = 1)),void 0 !== a.val() && a.hasClass("require") && a.val().length <= 0 && (a.parent("div.wqec-input").addClass("has-error"),q = 1),0 == q && (n.removeClass("wqec-active"),r.addClass("wqec-active"),setTimeout(function(){jQuery.ajax({url:"/bitrix/tools/concept.quiz/js/form.php",type:"post",contentType:!1,processData:!1,data:i,dataType:"json",success:function(i){"N" == i.OK && (n.addClass("wqec-active"),r.removeClass("wqec-active")),"Y" == i.OK && (o.removeClass("wqec-active"),d.addClass("wqec-active"),jQuery.ajax({url:"/",type:"post",success:function(e){}}),void 0 !== u && u.length > 0 && setTimeout(function(){location.href = u},2e3),setTimeout(function(){cquiz_goals(th.find("input[name='cwizIblockId']").val(),th.find("input[name='cwizSectionId']").val(),"send",th.find("input.cwiz-res-id").val())},500))}})},1e3)),!1}),jQuery(document).on("click","a.wqec-link-video",function(){btn = jQuery(this),jQuery("div#wqec-video").addClass("wqec-active"),jQuery("div.wqec-xLoader").addClass("wqec-active"),jQuery("div.wqec-shadow").addClass("wqec-double"),jQuery.post("/bitrix/tools/concept.quiz/js/videoIframe.php",{wqecVideoCode:jQuery(this).attr("data-wqec-video")},function(e){jQuery("div#wqec-player").html(e),jQuery("div.wqec-xLoader").removeClass("wqec-active"),btn.parents("div.areaBlockquiz").hasClass("quiz_block") && (jQuery("div.wqec-shadow").addClass("wqec-block-quiz-on"),jQuery("body").addClass("wqec-block-quiz-on")),setTimeout(function(){wqecResizeVideo()},500)})}),jQuery(document).on("click","a.wqec-mainclose",function(){jQuery(this).parents("div.wqec-big-wrap").find('.wqec-content-wrap[data-step="stepEnd"]').hasClass("wqec-active") && (jQuery('.open-wqec[data-wqec-section-id="' + jQuery(this).parents("div.wqec").attr("data-wqec-id") + '"]').removeClass("open-wqec").addClass("call-wqe
1c"),jQuery(this).parents("div.wqec-big-wrap").remove()),jQuery(this).parents("div.wqec").removeClass("wqec-active"),jQuery("body").removeClass("wqec-on"),jQuery("div.wqec-shadow").removeClass("wqec-active"),device.ios() && (window.scrollTo(0,cur_pos),$("body").removeClass("modal-ios"))}),jQuery(document).on("click","a.wqec-video-close",function(){jQuery("div.wqec-shadow").removeClass("wqec-double"),jQuery("div#wqec-video").removeClass("wqec-active"),jQuery("div#wqec-video").find("iframe").remove(),jQuery("div.wqec-shadow.wqec-block-quiz-on").removeClass("wqec-block-quiz-on"),jQuery("body").removeClass("wqec-block-quiz-on")}),jQuery(document).on("click","a.wqec-show-inputs",function(){var e = jQuery(this).parents("form.wqec-form"),i = jQuery("input.wqec-name",e),t = jQuery("input.wqec-phone",e),a = jQuery("input.wqec-email",e),c = 0;void 0 !== i.val() && i.hasClass("require") && !i.parent().hasClass("wqec-hide") && i.val().length < 1 && (i.parent("div.wqec-input").addClass("has-error"),c = 1),void 0 !== a.val() && !a.parent().hasClass("wqec-hide") && (a.hasClass("require") || a.val().length > 0) && (/^([A-Za-z0-9_\-\.])+\@([A-Za-z0-9_\-\.])+\.([A-Za-z]{2,4})$/.test(a.val()) || (a.parent("div.wqec-input").addClass("has-error"),c = 1)),void 0 !== t.val() && t.hasClass("require") && !t.parent().hasClass("wqec-hide") && t.val().length <= 0 && (t.parent("div.wqec-input").addClass("has-error"),c = 1),0 == c && (jQuery(this).parent().hide(),jQuery(this).parents("form.wqec-form").find("div.wqec-input.wqec-hide").removeClass("wqec-hide"),jQuery(this).parents("form.wqec-form").find("div.wrap-btn-submit.wqec-hide").removeClass("wqec-hide"))}),jQuery(document).ready(function(){size_set_main()}),jQuery(window).resize(function(){size_set_main()}),jQuery(document).on("click","a[data-button='main-close-list']",function(){var e = jQuery(this);e.closest(".wqec-setting").removeClass("wqec-on"),jQuery("div.wqec-shadow-menu").removeClass("wqec-active"),jQuery("body").removeClass("wqec-on-menu"),setTimeout(function(){e.closest(".wqec-setting").removeClass("wqec-open")},1e3)}),jQuery(document).on("click",".list-name",function(){var e = jQuery(this).parents(".wqec-parent");e.hasClass("wqec-active") ? jQuery("div.wqec-options-wrap",e).slideUp(200,function(){e.removeClass("wqec-active")}) :(jQuery(this).parents(".wqec-list").find("li").removeClass("wqec-active"),jQuery("div.wqec-options-wrap").slideUp(200),jQuery("div.wqec-options-wrap",e).slideDown(200,function(){e.addClass("wqec-active")}))}),jQuery(document).on("click",".wqec-choose-list",function(){jQuery(this).parents(".wqec-select-wrap").addClass("wqec-open")}),jQuery(document).on("click",".wqec-ar-down",function(){jQuery(this).parents(".wqec-select-wrap").addClass("wqec-open")}),jQuery(document).on("click",".wqec-select-wrap .wqec-name",function(){jQuery(this).parents(".wqec-select-wrap").find(".wqec-choose-list").removeClass("wqec-first").addClass("bold").text(jQuery(this).text()),jQuery(this).parents(".wqec-select-wrap").removeClass("wqec-open")});
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.