!function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=30)}([function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0});var r=n(14),i={config:{card:{type:"debit_card",id:"CS0200-CB88"},dadata:"ffa4a15a5cb1e410351aa4b7dcf91288e9ed2d0d",trackjs:{token:"3cc6bca84d654b04bd2936bc0d0ed291",application:"dc-latest_final"},yandexMapKey:"05c2040a-e32a-4fa2-838f-0e915f3fa888",endpoint:{smsCode:"https://oapi.raiffeisen.ru/api/sms-auth/public/v1.0/phone/code/sms",smsVerify:"https://oapi.raiffeisen.ru/api/sms-auth/public/v1.0/phone/verify",form:"https://oapi.raiffeisen.ru/api/forms/public/v1.0/forms/debit-card-single-field/66/answers",snapshotsSave:"https://oapi.raiffeisen.ru/api/forms/public/v1.0/forms/debit-card-single-field/66/snapshots",snapshotsRestore:"https://oapi.raiffeisen.ru/api/forms/public/v1.0/forms/debit-card-single-field/66/snapshots",client:"https://oapi.raiffeisen.ru/api/ntb/public/v1.0/client",dates:"https://oapi.raiffeisen.ru/api/courier-delivery/public/v1.0/dates",trackCPeople:"https://raiffeisen.cpeople.ru/api/",dictionary:{delivery_type:"https://www.raiffeisen.ru/promo/form/dictionary/delivery_type.json",city_delivery:"https://www.raiffeisen.ru/promo/form/dictionary/city_delivery.json",branch_delivery:"https://www.raiffeisen.ru/promo/form/dictionary/branch_delivery.json",branch:"https://www.raiffeisen.ru/promo/form/dictionary/branch.json",country:"https://www.raiffeisen.ru/promo/form/dictionary/country_iso_alpha2.json"}},prefix:"ccform-",env:"prod"},dictionary:{},mobile:"ontouchstart"in window||window.DocumentTouch&&document instanceof DocumentTouch,debug:window.location.search.indexOf("debug")>=0,W:e(window),D:e(document),H:e("html"),B:e("body"),currentDate:new Date,props:{},flags:{withSnapshot:!1,isSnapshotActive:!0,isTestNumber:!1,exists:!1},clientID:null,fieldOM:null,sid:null,promocode:"",snapshotToken:(0,r.uuidv4)(),yandexMapState:{isShow:!1,isBranchPick:!1},formVersion:"dc-2.0_fieldom",formName:"dc-2.0_fieldom"};t.default=i}).call(this,n(1))},function(e,t,n){var r; /*! * jQuery JavaScript Library v3.6.0 * https://jquery.com/ * * Includes Sizzle.js * https://sizzlejs.com/ * * Copyright OpenJS Foundation and other contributors * Released under the MIT license * https://jquery.org/license * * Date: 2021-03-02T17:08Z */!function(t,n){"use strict";"object"==typeof e.exports?e.exports=t.document?n(t,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return n(e)}:n(t)}("undefined"!=typeof window?window:this,(function(n,i){"use strict";var o=[],s=Object.getPrototypeOf,a=o.slice,l=o.flat?function(e){return o.flat.call(e)}:function(e){return o.concat.apply([],e)},c=o.push,u=o.indexOf,d={},f=d.toString,h=d.hasOwnProperty,p=h.toString,m=p.call(Object),g={},v=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},y=function(e){return null!=e&&e===e.window},_=n.document,b={type:!0,src:!0,nonce:!0,noModule:!0};function w(e,t,n){var r,i,o=(n=n||_).createElement("script");if(o.text=e,t)for(r in b)(i=t[r]||t.getAttribute&&t.getAttribute(r))&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function x(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?d[f.call(e)]||"object":typeof e}var C=function(e,t){return new C.fn.init(e,t)};function k(e){var t=!!e&&"length"in e&&e.length,n=x(e);return!v(e)&&!y(e)&&("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)}C.fn=C.prototype={jquery:"3.6.0",constructor:C,length:0,toArray:function(){return a.call(this)},get:function(e){return null==e?a.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=C.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return C.each(this,e)},map:function(e){return this.pushStack(C.map(this,(function(t,n){return e.call(t,n,t)})))},slice:function(){return this.pushStack(a.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(C.grep(this,(function(e,t){return(t+1)%2})))},odd:function(){return this.pushStack(C.grep(this,(function(e,t){return t%2})))},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:c,sort:o.sort,splice:o.splice},C.extend=C.fn.extend=function(){var e,t,n,r,i,o,s=arguments[0]||{},a=1,l=arguments.length,c=!1;for("boolean"==typeof s&&(c=s,s=arguments[a]||{},a++),"object"==typeof s||v(s)||(s={}),a===l&&(s=this,a--);a<l;a++)if(null!=(e=arguments[a]))for(t in e)r=e[t],"__proto__"!==t&&s!==r&&(c&&r&&(C.isPlainObject(r)||(i=Array.isArray(r)))?(n=s[t],o=i&&!Array.isArray(n)?[]:i||C.isPlainObject(n)?n:{},i=!1,s[t]=C.extend(c,o,r)):void 0!==r&&(s[t]=r));return s},C.extend({expando:"jQuery"+("3.6.0"+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,n;return!(!e||"[object Object]"!==f.call(e))&&(!(t=s(e))||"function"==typeof(n=h.call(t,"constructor")&&t.constructor)&&p.call(n)===m)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t,n){w(e,{nonce:t&&t.nonce},n)},each:function(e,t){var n,r=0;if(k(e))for(n=e.length;r<n&&!1!==t.call(e[r],r,e[r]);r++);else for(r in e)if(!1===t.call(e[r],r,e[r]))break;return e},makeArray:function(e,t){var n=t||[];return null!=e&&(k(Object(e))?C.merge(n,"string"==typeof e?[e]:e):c.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:u.call(t,e,n)},merge:function(e,t){for(var n=+t.length,r=0,i=e.length;r<n;r++)e[i++]=t[r];return e.length=i,e},grep:function(e,t,n){for(var r=[],i=0,o=e.length,s=!n;i<o;i++)!t(e[i],i)!==s&&r.push(e[i]);return r},map:function(e,t,n){var r,i,o=0,s=[];if(k(e))for(r=e.length;o<r;o++)null!=(i=t(e[o],o,n))&&s.push(i);else for(o in e)null!=(i=t(e[o],o,n))&&s.push(i);return l(s)},guid:1,support:g}),"function"==typeof Symbol&&(C.fn[Symbol.iterator]=o[Symbol.iterator]),C.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),(function(e,t){d["[object "+t+"]"]=t.toLowerCase()}));var S= /*! * Sizzle CSS Selector Engine v2.3.6 * https://sizzlejs.com/ * * Copyright JS Foundation and other contributors * Released under the MIT license * https://js.foundation/ * * Date: 2021-02-16 */ function(e){var t,n,r,i,o,s,a,l,c,u,d,f,h,p,m,g,v,y,_,b="sizzle"+1*new Date,w=e.document,x=0,C=0,k=le(),S=le(),D=le(),E=le(),T=function(e,t){return e===t&&(d=!0),0},O={}.hasOwnProperty,M=[],j=M.pop,A=M.push,P=M.push,L=M.slice,R=function(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1},I="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",N="[\\x20\\t\\r\\n\\f]",H="(?:\\\\[\\da-fA-F]{1,6}"+N+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",$="\\["+N+"*("+H+")(?:"+N+"*([*^$|!~]?=)"+N+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+H+"))|)"+N+"*\\]",F=":("+H+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+$+")*)|.*)\\)|)",V=new RegExp(N+"+","g"),q=new RegExp("^"+N+"+|((?:^|[^\\\\])(?:\\\\.)*)"+N+"+$","g"),B=new RegExp("^"+N+"*,"+N+"*"),U=new RegExp("^"+N+"*([>+~]|"+N+")"+N+"*"),Y=new RegExp(N+"|>"),z=new RegExp(F),W=new RegExp("^"+H+"$"),Z={ID:new RegExp("^#("+H+")"),CLASS:new RegExp("^\\.("+H+")"),TAG:new RegExp("^("+H+"|[*])"),ATTR:new RegExp("^"+$),PSEUDO:new RegExp("^"+F),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+N+"*(even|odd|(([+-]|)(\\d*)n|)"+N+"*(?:([+-]|)"+N+"*(\\d+)|))"+N+"*\\)|)","i"),bool:new RegExp("^(?:"+I+")$","i"),needsContext:new RegExp("^"+N+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+N+"*((?:-\\d)?\\d*)"+N+"*\\)|)(?=[^-]|$)","i")},G=/HTML$/i,X=/^(?:input|select|textarea|button)$/i,J=/^h\d$/i,Q=/^[^{]+\{\s*\[native \w/,K=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\[\\da-fA-F]{1,6}"+N+"?|\\\\([^\\r\\n\\f])","g"),ne=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},re=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ie=function(e,t){return t?"\0"===e?"˜":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},oe=function(){f()},se=be((function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()}),{dir:"parentNode",next:"legend"});try{P.apply(M=L.call(w.childNodes),w.childNodes),M[w.childNodes.length].nodeType}catch(e){P={apply:M.length?function(e,t){A.apply(e,L.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}function ae(e,t,r,i){var o,a,c,u,d,p,v,y=t&&t.ownerDocument,w=t?t.nodeType:9;if(r=r||[],"string"!=typeof e||!e||1!==w&&9!==w&&11!==w)return r;if(!i&&(f(t),t=t||h,m)){if(11!==w&&(d=K.exec(e)))if(o=d[1]){if(9===w){if(!(c=t.getElementById(o)))return r;if(c.id===o)return r.push(c),r}else if(y&&(c=y.getElementById(o))&&_(t,c)&&c.id===o)return r.push(c),r}else{if(d[2])return P.apply(r,t.getElementsByTagName(e)),r;if((o=d[3])&&n.getElementsByClassName&&t.getElementsByClassName)return P.apply(r,t.getElementsByClassName(o)),r}if(n.qsa&&!E[e+" "]&&(!g||!g.test(e))&&(1!==w||"object"!==t.nodeName.toLowerCase())){if(v=e,y=t,1===w&&(Y.test(e)||U.test(e))){for((y=ee.test(e)&&ve(t.parentNode)||t)===t&&n.scope||((u=t.getAttribute("id"))?u=u.replace(re,ie):t.setAttribute("id",u=b)),a=(p=s(e)).length;a--;)p[a]=(u?"#"+u:":scope")+" "+_e(p[a]);v=p.join(",")}try{return P.apply(r,y.querySelectorAll(v)),r}catch(t){E(e,!0)}finally{u===b&&t.removeAttribute("id")}}}return l(e.replace(q,"$1"),t,r,i)}function le(){var e=[];return function t(n,i){return e.push(n+" ")>r.cacheLength&&delete t[e.shift()],t[n+" "]=i}}function ce(e){return e[b]=!0,e}function ue(e){var t=h.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function de(e,t){for(var n=e.split("|"),i=n.length;i--;)r.attrHandle[n[i]]=t}function fe(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function he(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function pe(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function me(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&se(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function ge(e){return ce((function(t){return t=+t,ce((function(n,r){for(var i,o=e([],n.length,t),s=o.length;s--;)n[i=o[s]]&&(n[i]=!(r[i]=n[i]))}))}))}function ve(e){return e&&void 0!==e.getElementsByTagName&&e}for(t in n=ae.support={},o=ae.isXML=function(e){var t=e&&e.namespaceURI,n=e&&(e.ownerDocument||e).documentElement;return!G.test(t||n&&n.nodeName||"HTML")},f=ae.setDocument=function(e){var t,i,s=e?e.ownerDocument||e:w;return s!=h&&9===s.nodeType&&s.documentElement?(p=(h=s).documentElement,m=!o(h),w!=h&&(i=h.defaultView)&&i.top!==i&&(i.addEventListener?i.addEventListener("unload",oe,!1):i.attachEvent&&i.attachEvent("onunload",oe)),n.scope=ue((function(e){return p.appendChild(e).appendChild(h.createElement("div")),void 0!==e.querySelectorAll&&!e.querySelectorAll(":scope fieldset div").length})),n.attributes=ue((function(e){return e.className="i",!e.getAttribute("className")})),n.getElementsByTagName=ue((function(e){return e.appendChild(h.createComment("")),!e.getElementsByTagName("*").length})),n.getElementsByClassName=Q.test(h.getElementsByClassName),n.getById=ue((function(e){return p.appendChild(e).id=b,!h.getElementsByName||!h.getElementsByName(b).length})),n.getById?(r.filter.ID=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}},r.find.ID=function(e,t){if(void 0!==t.getElementById&&m){var n=t.getElementById(e);return n?[n]:[]}}):(r.filter.ID=function(e){var t=e.replace(te,ne);return function(e){var n=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},r.find.ID=function(e,t){if(void 0!==t.getElementById&&m){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];for(i=t.getElementsByName(e),r=0;o=i[r++];)if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),r.find.TAG=n.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):n.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){for(;n=o[i++];)1===n.nodeType&&r.push(n);return r}return o},r.find.CLASS=n.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&m)return t.getElementsByClassName(e)},v=[],g=[],(n.qsa=Q.test(h.querySelectorAll))&&(ue((function(e){var t;p.appendChild(e).innerHTML="<a id='"+b+"'></a><select id='"+b+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&g.push("[*^$]="+N+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||g.push("\\["+N+"*(?:value|"+I+")"),e.querySelectorAll("[id~="+b+"-]").length||g.push("~="),(t=h.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||g.push("\\["+N+"*name"+N+"*="+N+"*(?:''|\"\")"),e.querySelectorAll(":checked").length||g.push(":checked"),e.querySelectorAll("a#"+b+"+*").length||g.push(".#.+[+~]"),e.querySelectorAll("\\\f"),g.push("[\\r\\n\\f]")})),ue((function(e){e.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var t=h.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&g.push("name"+N+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&g.push(":enabled",":disabled"),p.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&g.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),g.push(",.*:")}))),(n.matchesSelector=Q.test(y=p.matches||p.webkitMatchesSelector||p.mozMatchesSelector||p.oMatchesSelector||p.msMatchesSelector))&&ue((function(e){n.disconnectedMatch=y.call(e,"*"),y.call(e,"[s!='']:x"),v.push("!=",F)})),g=g.length&&new RegExp(g.join("|")),v=v.length&&new RegExp(v.join("|")),t=Q.test(p.compareDocumentPosition),_=t||Q.test(p.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},T=t?function(e,t){if(e===t)return d=!0,0;var r=!e.compareDocumentPosition-!t.compareDocumentPosition;return r||(1&(r=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!n.sortDetached&&t.compareDocumentPosition(e)===r?e==h||e.ownerDocument==w&&_(w,e)?-1:t==h||t.ownerDocument==w&&_(w,t)?1:u?R(u,e)-R(u,t):0:4&r?-1:1)}:function(e,t){if(e===t)return d=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,s=[e],a=[t];if(!i||!o)return e==h?-1:t==h?1:i?-1:o?1:u?R(u,e)-R(u,t):0;if(i===o)return fe(e,t);for(n=e;n=n.parentNode;)s.unshift(n);for(n=t;n=n.parentNode;)a.unshift(n);for(;s[r]===a[r];)r++;return r?fe(s[r],a[r]):s[r]==w?-1:a[r]==w?1:0},h):h},ae.matches=function(e,t){return ae(e,null,null,t)},ae.matchesSelector=function(e,t){if(f(e),n.matchesSelector&&m&&!E[t+" "]&&(!v||!v.test(t))&&(!g||!g.test(t)))try{var r=y.call(e,t);if(r||n.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(e){E(t,!0)}return ae(t,h,null,[e]).length>0},ae.contains=function(e,t){return(e.ownerDocument||e)!=h&&f(e),_(e,t)},ae.attr=function(e,t){(e.ownerDocument||e)!=h&&f(e);var i=r.attrHandle[t.toLowerCase()],o=i&&O.call(r.attrHandle,t.toLowerCase())?i(e,t,!m):void 0;return void 0!==o?o:n.attributes||!m?e.getAttribute(t):(o=e.getAttributeNode(t))&&o.specified?o.value:null},ae.escape=function(e){return(e+"").replace(re,ie)},ae.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},ae.uniqueSort=function(e){var t,r=[],i=0,o=0;if(d=!n.detectDuplicates,u=!n.sortStable&&e.slice(0),e.sort(T),d){for(;t=e[o++];)t===e[o]&&(i=r.push(o));for(;i--;)e.splice(r[i],1)}return u=null,e},i=ae.getText=function(e){var t,n="",r=0,o=e.nodeType;if(o){if(1===o||9===o||11===o){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=i(e)}else if(3===o||4===o)return e.nodeValue}else for(;t=e[r++];)n+=i(t);return n},(r=ae.selectors={cacheLength:50,createPseudo:ce,match:Z,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||ae.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&ae.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return Z.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&z.test(n)&&(t=s(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,ne).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=k[e+" "];return t||(t=new RegExp("(^|"+N+")"+e+"("+N+"|$)"))&&k(e,(function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")}))},ATTR:function(e,t,n){return function(r){var i=ae.attr(r,e);return null==i?"!="===t:!t||(i+="","="===t?i===n:"!="===t?i!==n:"^="===t?n&&0===i.indexOf(n):"*="===t?n&&i.indexOf(n)>-1:"$="===t?n&&i.slice(-n.length)===n:"~="===t?(" "+i.replace(V," ")+" ").indexOf(n)>-1:"|="===t&&(i===n||i.slice(0,n.length+1)===n+"-"))}},CHILD:function(e,t,n,r,i){var o="nth"!==e.slice(0,3),s="last"!==e.slice(-4),a="of-type"===t;return 1===r&&0===i?function(e){return!!e.parentNode}:function(t,n,l){var c,u,d,f,h,p,m=o!==s?"nextSibling":"previousSibling",g=t.parentNode,v=a&&t.nodeName.toLowerCase(),y=!l&&!a,_=!1;if(g){if(o){for(;m;){for(f=t;f=f[m];)if(a?f.nodeName.toLowerCase()===v:1===f.nodeType)return!1;p=m="only"===e&&!p&&"nextSibling"}return!0}if(p=[s?g.firstChild:g.lastChild],s&&y){for(_=(h=(c=(u=(d=(f=g)[b]||(f[b]={}))[f.uniqueID]||(d[f.uniqueID]={}))[e]||[])[0]===x&&c[1])&&c[2],f=h&&g.childNodes[h];f=++h&&f&&f[m]||(_=h=0)||p.pop();)if(1===f.nodeType&&++_&&f===t){u[e]=[x,h,_];break}}else if(y&&(_=h=(c=(u=(d=(f=t)[b]||(f[b]={}))[f.uniqueID]||(d[f.uniqueID]={}))[e]||[])[0]===x&&c[1]),!1===_)for(;(f=++h&&f&&f[m]||(_=h=0)||p.pop())&&((a?f.nodeName.toLowerCase()!==v:1!==f.nodeType)||!++_||(y&&((u=(d=f[b]||(f[b]={}))[f.uniqueID]||(d[f.uniqueID]={}))[e]=[x,_]),f!==t)););return(_-=i)===r||_%r==0&&_/r>=0}}},PSEUDO:function(e,t){var n,i=r.pseudos[e]||r.setFilters[e.toLowerCase()]||ae.error("unsupported pseudo: "+e);return i[b]?i(t):i.length>1?(n=[e,e,"",t],r.setFilters.hasOwnProperty(e.toLowerCase())?ce((function(e,n){for(var r,o=i(e,t),s=o.length;s--;)e[r=R(e,o[s])]=!(n[r]=o[s])})):function(e){return i(e,0,n)}):i}},pseudos:{not:ce((function(e){var t=[],n=[],r=a(e.replace(q,"$1"));return r[b]?ce((function(e,t,n,i){for(var o,s=r(e,null,i,[]),a=e.length;a--;)(o=s[a])&&(e[a]=!(t[a]=o))})):function(e,i,o){return t[0]=e,r(t,null,o,n),t[0]=null,!n.pop()}})),has:ce((function(e){return function(t){return ae(e,t).length>0}})),contains:ce((function(e){return e=e.replace(te,ne),function(t){return(t.textContent||i(t)).indexOf(e)>-1}})),lang:ce((function(e){return W.test(e||"")||ae.error("unsupported lang: "+e),e=e.replace(te,ne).toLowerCase(),function(t){var n;do{if(n=m?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}})),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===p},focus:function(e){return e===h.activeElement&&(!h.hasFocus||h.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:me(!1),disabled:me(!0),checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!r.pseudos.empty(e)},header:function(e){return J.test(e.nodeName)},input:function(e){return X.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:ge((function(){return[0]})),last:ge((function(e,t){return[t-1]})),eq:ge((function(e,t,n){return[n<0?n+t:n]})),even:ge((function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e})),odd:ge((function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e})),lt:ge((function(e,t,n){for(var r=n<0?n+t:n>t?t:n;--r>=0;)e.push(r);return e})),gt:ge((function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e}))}}).pseudos.nth=r.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})r.pseudos[t]=he(t);for(t in{submit:!0,reset:!0})r.pseudos[t]=pe(t);function ye(){}function _e(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function be(e,t,n){var r=t.dir,i=t.next,o=i||r,s=n&&"parentNode"===o,a=C++;return t.first?function(t,n,i){for(;t=t[r];)if(1===t.nodeType||s)return e(t,n,i);return!1}:function(t,n,l){var c,u,d,f=[x,a];if(l){for(;t=t[r];)if((1===t.nodeType||s)&&e(t,n,l))return!0}else for(;t=t[r];)if(1===t.nodeType||s)if(u=(d=t[b]||(t[b]={}))[t.uniqueID]||(d[t.uniqueID]={}),i&&i===t.nodeName.toLowerCase())t=t[r]||t;else{if((c=u[o])&&c[0]===x&&c[1]===a)return f[2]=c[2];if(u[o]=f,f[2]=e(t,n,l))return!0}return!1}}function we(e){return e.length>1?function(t,n,r){for(var i=e.length;i--;)if(!e[i](t,n,r))return!1;return!0}:e[0]}function xe(e,t,n,r,i){for(var o,s=[],a=0,l=e.length,c=null!=t;a<l;a++)(o=e[a])&&(n&&!n(o,r,i)||(s.push(o),c&&t.push(a)));return s}function Ce(e,t,n,r,i,o){return r&&!r[b]&&(r=Ce(r)),i&&!i[b]&&(i=Ce(i,o)),ce((function(o,s,a,l){var c,u,d,f=[],h=[],p=s.length,m=o||function(e,t,n){for(var r=0,i=t.length;r<i;r++)ae(e,t[r],n);return n}(t||"*",a.nodeType?[a]:a,[]),g=!e||!o&&t?m:xe(m,f,e,a,l),v=n?i||(o?e:p||r)?[]:s:g;if(n&&n(g,v,a,l),r)for(c=xe(v,h),r(c,[],a,l),u=c.length;u--;)(d=c[u])&&(v[h[u]]=!(g[h[u]]=d));if(o){if(i||e){if(i){for(c=[],u=v.length;u--;)(d=v[u])&&c.push(g[u]=d);i(null,v=[],c,l)}for(u=v.length;u--;)(d=v[u])&&(c=i?R(o,d):f[u])>-1&&(o[c]=!(s[c]=d))}}else v=xe(v===s?v.splice(p,v.length):v),i?i(null,s,v,l):P.apply(s,v)}))}function ke(e){for(var t,n,i,o=e.length,s=r.relative[e[0].type],a=s||r.relative[" "],l=s?1:0,u=be((function(e){return e===t}),a,!0),d=be((function(e){return R(t,e)>-1}),a,!0),f=[function(e,n,r){var i=!s&&(r||n!==c)||((t=n).nodeType?u(e,n,r):d(e,n,r));return t=null,i}];l<o;l++)if(n=r.relative[e[l].type])f=[be(we(f),n)];else{if((n=r.filter[e[l].type].apply(null,e[l].matches))[b]){for(i=++l;i<o&&!r.relative[e[i].type];i++);return Ce(l>1&&we(f),l>1&&_e(e.slice(0,l-1).concat({value:" "===e[l-2].type?"*":""})).replace(q,"$1"),n,l<i&&ke(e.slice(l,i)),i<o&&ke(e=e.slice(i)),i<o&&_e(e))}f.push(n)}return we(f)}return ye.prototype=r.filters=r.pseudos,r.setFilters=new ye,s=ae.tokenize=function(e,t){var n,i,o,s,a,l,c,u=S[e+" "];if(u)return t?0:u.slice(0);for(a=e,l=[],c=r.preFilter;a;){for(s in n&&!(i=B.exec(a))||(i&&(a=a.slice(i[0].length)||a),l.push(o=[])),n=!1,(i=U.exec(a))&&(n=i.shift(),o.push({value:n,type:i[0].replace(q," ")}),a=a.slice(n.length)),r.filter)!(i=Z[s].exec(a))||c[s]&&!(i=c[s](i))||(n=i.shift(),o.push({value:n,type:s,matches:i}),a=a.slice(n.length));if(!n)break}return t?a.length:a?ae.error(e):S(e,l).slice(0)},a=ae.compile=function(e,t){var n,i=[],o=[],a=D[e+" "];if(!a){for(t||(t=s(e)),n=t.length;n--;)(a=ke(t[n]))[b]?i.push(a):o.push(a);(a=D(e,function(e,t){var n=t.length>0,i=e.length>0,o=function(o,s,a,l,u){var d,p,g,v=0,y="0",_=o&&[],b=[],w=c,C=o||i&&r.find.TAG("*",u),k=x+=null==w?1:Math.random()||.1,S=C.length;for(u&&(c=s==h||s||u);y!==S&&null!=(d=C[y]);y++){if(i&&d){for(p=0,s||d.ownerDocument==h||(f(d),a=!m);g=e[p++];)if(g(d,s||h,a)){l.push(d);break}u&&(x=k)}n&&((d=!g&&d)&&v--,o&&_.push(d))}if(v+=y,n&&y!==v){for(p=0;g=t[p++];)g(_,b,s,a);if(o){if(v>0)for(;y--;)_[y]||b[y]||(b[y]=j.call(l));b=xe(b)}P.apply(l,b),u&&!o&&b.length>0&&v+t.length>1&&ae.uniqueSort(l)}return u&&(x=k,c=w),_};return n?ce(o):o}(o,i))).selector=e}return a},l=ae.select=function(e,t,n,i){var o,l,c,u,d,f="function"==typeof e&&e,h=!i&&s(e=f.selector||e);if(n=n||[],1===h.length){if((l=h[0]=h[0].slice(0)).length>2&&"ID"===(c=l[0]).type&&9===t.nodeType&&m&&r.relative[l[1].type]){if(!(t=(r.find.ID(c.matches[0].replace(te,ne),t)||[])[0]))return n;f&&(t=t.parentNode),e=e.slice(l.shift().value.length)}for(o=Z.needsContext.test(e)?0:l.length;o--&&(c=l[o],!r.relative[u=c.type]);)if((d=r.find[u])&&(i=d(c.matches[0].replace(te,ne),ee.test(l[0].type)&&ve(t.parentNode)||t))){if(l.splice(o,1),!(e=i.length&&_e(l)))return P.apply(n,i),n;break}}return(f||a(e,h))(i,t,!m,n,!t||ee.test(e)&&ve(t.parentNode)||t),n},n.sortStable=b.split("").sort(T).join("")===b,n.detectDuplicates=!!d,f(),n.sortDetached=ue((function(e){return 1&e.compareDocumentPosition(h.createElement("fieldset"))})),ue((function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")}))||de("type|href|height|width",(function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)})),n.attributes&&ue((function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")}))||de("value",(function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue})),ue((function(e){return null==e.getAttribute("disabled")}))||de(I,(function(e,t,n){var r;if(!n)return!0===e[t]?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null})),ae}(n);C.find=S,C.expr=S.selectors,C.expr[":"]=C.expr.pseudos,C.uniqueSort=C.unique=S.uniqueSort,C.text=S.getText,C.isXMLDoc=S.isXML,C.contains=S.contains,C.escapeSelector=S.escape;var D=function(e,t,n){for(var r=[],i=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(i&&C(e).is(n))break;r.push(e)}return r},E=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},T=C.expr.match.needsContext;function O(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}var M=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function j(e,t,n){return v(t)?C.grep(e,(function(e,r){return!!t.call(e,r,e)!==n})):t.nodeType?C.grep(e,(function(e){return e===t!==n})):"string"!=typeof t?C.grep(e,(function(e){return u.call(t,e)>-1!==n})):C.filter(t,e,n)}C.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?C.find.matchesSelector(r,e)?[r]:[]:C.find.matches(e,C.grep(t,(function(e){return 1===e.nodeType})))},C.fn.extend({find:function(e){var t,n,r=this.length,i=this;if("string"!=typeof e)return this.pushStack(C(e).filter((function(){for(t=0;t<r;t++)if(C.contains(i[t],this))return!0})));for(n=this.pushStack([]),t=0;t<r;t++)C.find(e,i[t],n);return r>1?C.uniqueSort(n):n},filter:function(e){return this.pushStack(j(this,e||[],!1))},not:function(e){return this.pushStack(j(this,e||[],!0))},is:function(e){return!!j(this,"string"==typeof e&&T.test(e)?C(e):e||[],!1).length}});var A,P=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(C.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||A,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:P.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof C?t[0]:t,C.merge(this,C.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:_,!0)),M.test(r[1])&&C.isPlainObject(t))for(r in t)v(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=_.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):v(e)?void 0!==n.ready?n.ready(e):e(C):C.makeArray(e,this)}).prototype=C.fn,A=C(_);var L=/^(?:parents|prev(?:Until|All))/,R={children:!0,contents:!0,next:!0,prev:!0};function I(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}C.fn.extend({has:function(e){var t=C(e,this),n=t.length;return this.filter((function(){for(var e=0;e<n;e++)if(C.contains(this,t[e]))return!0}))},closest:function(e,t){var n,r=0,i=this.length,o=[],s="string"!=typeof e&&C(e);if(!T.test(e))for(;r<i;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(s?s.index(n)>-1:1===n.nodeType&&C.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(o.length>1?C.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?u.call(C(e),this[0]):u.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(C.uniqueSort(C.merge(this.get(),C(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),C.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return D(e,"parentNode")},parentsUntil:function(e,t,n){return D(e,"parentNode",n)},next:function(e){return I(e,"nextSibling")},prev:function(e){return I(e,"previousSibling")},nextAll:function(e){return D(e,"nextSibling")},prevAll:function(e){return D(e,"previousSibling")},nextUntil:function(e,t,n){return D(e,"nextSibling",n)},prevUntil:function(e,t,n){return D(e,"previousSibling",n)},siblings:function(e){return E((e.parentNode||{}).firstChild,e)},children:function(e){return E(e.firstChild)},contents:function(e){return null!=e.contentDocument&&s(e.contentDocument)?e.contentDocument:(O(e,"template")&&(e=e.content||e),C.merge([],e.childNodes))}},(function(e,t){C.fn[e]=function(n,r){var i=C.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(i=C.filter(r,i)),this.length>1&&(R[e]||C.uniqueSort(i),L.test(e)&&i.reverse()),this.pushStack(i)}}));var N=/[^\x20\t\r\n\f]+/g;function H(e){return e}function $(e){throw e}function F(e,t,n,r){var i;try{e&&v(i=e.promise)?i.call(e).done(t).fail(n):e&&v(i=e.then)?i.call(e,t,n):t.apply(void 0,[e].slice(r))}catch(e){n.apply(void 0,[e])}}C.Callbacks=function(e){e="string"==typeof e?function(e){var t={};return C.each(e.match(N)||[],(function(e,n){t[n]=!0})),t}(e):C.extend({},e);var t,n,r,i,o=[],s=[],a=-1,l=function(){for(i=i||e.once,r=t=!0;s.length;a=-1)for(n=s.shift();++a<o.length;)!1===o[a].apply(n[0],n[1])&&e.stopOnFalse&&(a=o.length,n=!1);e.memory||(n=!1),t=!1,i&&(o=n?[]:"")},c={add:function(){return o&&(n&&!t&&(a=o.length-1,s.push(n)),function t(n){C.each(n,(function(n,r){v(r)?e.unique&&c.has(r)||o.push(r):r&&r.length&&"string"!==x(r)&&t(r)}))}(arguments),n&&!t&&l()),this},remove:function(){return C.each(arguments,(function(e,t){for(var n;(n=C.inArray(t,o,n))>-1;)o.splice(n,1),n<=a&&a--})),this},has:function(e){return e?C.inArray(e,o)>-1:o.length>0},empty:function(){return o&&(o=[]),this},disable:function(){return i=s=[],o=n="",this},disabled:function(){return!o},lock:function(){return i=s=[],n||t||(o=n=""),this},locked:function(){return!!i},fireWith:function(e,n){return i||(n=[e,(n=n||[]).slice?n.slice():n],s.push(n),t||l()),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!r}};return c},C.extend({Deferred:function(e){var t=[["notify","progress",C.Callbacks("memory"),C.Callbacks("memory"),2],["resolve","done",C.Callbacks("once memory"),C.Callbacks("once memory"),0,"resolved"],["reject","fail",C.Callbacks("once memory"),C.Callbacks("once memory"),1,"rejected"]],r="pending",i={state:function(){return r},always:function(){return o.done(arguments).fail(arguments),this},catch:function(e){return i.then(null,e)},pipe:function(){var e=arguments;return C.Deferred((function(n){C.each(t,(function(t,r){var i=v(e[r[4]])&&e[r[4]];o[r[1]]((function(){var e=i&&i.apply(this,arguments);e&&v(e.promise)?e.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[r[0]+"With"](this,i?[e]:arguments)}))})),e=null})).promise()},then:function(e,r,i){var o=0;function s(e,t,r,i){return function(){var a=this,l=arguments,c=function(){var n,c;if(!(e<o)){if((n=r.apply(a,l))===t.promise())throw new TypeError("Thenable self-resolution");c=n&&("object"==typeof n||"function"==typeof n)&&n.then,v(c)?i?c.call(n,s(o,t,H,i),s(o,t,$,i)):(o++,c.call(n,s(o,t,H,i),s(o,t,$,i),s(o,t,H,t.notifyWith))):(r!==H&&(a=void 0,l=[n]),(i||t.resolveWith)(a,l))}},u=i?c:function(){try{c()}catch(n){C.Deferred.exceptionHook&&C.Deferred.exceptionHook(n,u.stackTrace),e+1>=o&&(r!==$&&(a=void 0,l=[n]),t.rejectWith(a,l))}};e?u():(C.Deferred.getStackHook&&(u.stackTrace=C.Deferred.getStackHook()),n.setTimeout(u))}}return C.Deferred((function(n){t[0][3].add(s(0,n,v(i)?i:H,n.notifyWith)),t[1][3].add(s(0,n,v(e)?e:H)),t[2][3].add(s(0,n,v(r)?r:$))})).promise()},promise:function(e){return null!=e?C.extend(e,i):i}},o={};return C.each(t,(function(e,n){var s=n[2],a=n[5];i[n[1]]=s.add,a&&s.add((function(){r=a}),t[3-e][2].disable,t[3-e][3].disable,t[0][2].lock,t[0][3].lock),s.add(n[3].fire),o[n[0]]=function(){return o[n[0]+"With"](this===o?void 0:this,arguments),this},o[n[0]+"With"]=s.fireWith})),i.promise(o),e&&e.call(o,o),o},when:function(e){var t=arguments.length,n=t,r=Array(n),i=a.call(arguments),o=C.Deferred(),s=function(e){return function(n){r[e]=this,i[e]=arguments.length>1?a.call(arguments):n,--t||o.resolveWith(r,i)}};if(t<=1&&(F(e,o.done(s(n)).resolve,o.reject,!t),"pending"===o.state()||v(i[n]&&i[n].then)))return o.then();for(;n--;)F(i[n],s(n),o.reject);return o.promise()}});var V=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;C.Deferred.exceptionHook=function(e,t){n.console&&n.console.warn&&e&&V.test(e.name)&&n.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},C.readyException=function(e){n.setTimeout((function(){throw e}))};var q=C.Deferred();function B(){_.removeEventListener("DOMContentLoaded",B),n.removeEventListener("load",B),C.ready()}C.fn.ready=function(e){return q.then(e).catch((function(e){C.readyException(e)})),this},C.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--C.readyWait:C.isReady)||(C.isReady=!0,!0!==e&&--C.readyWait>0||q.resolveWith(_,[C]))}}),C.ready.then=q.then,"complete"===_.readyState||"loading"!==_.readyState&&!_.documentElement.doScroll?n.setTimeout(C.ready):(_.addEventListener("DOMContentLoaded",B),n.addEventListener("load",B));var U=function(e,t,n,r,i,o,s){var a=0,l=e.length,c=null==n;if("object"===x(n))for(a in i=!0,n)U(e,t,a,n[a],!0,o,s);else if(void 0!==r&&(i=!0,v(r)||(s=!0),c&&(s?(t.call(e,r),t=null):(c=t,t=function(e,t,n){return c.call(C(e),n)})),t))for(;a<l;a++)t(e[a],n,s?r:r.call(e[a],a,t(e[a],n)));return i?e:c?t.call(e):l?t(e[0],n):o},Y=/^-ms-/,z=/-([a-z])/g;function W(e,t){return t.toUpperCase()}function Z(e){return e.replace(Y,"ms-").replace(z,W)}var G=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};function X(){this.expando=C.expando+X.uid++}X.uid=1,X.prototype={cache:function(e){var t=e[this.expando];return t||(t={},G(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var r,i=this.cache(e);if("string"==typeof t)i[Z(t)]=n;else for(r in t)i[Z(r)]=t[r];return i},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][Z(t)]},access:function(e,t,n){return void 0===t||t&&"string"==typeof t&&void 0===n?this.get(e,t):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,r=e[this.expando];if(void 0!==r){if(void 0!==t){n=(t=Array.isArray(t)?t.map(Z):(t=Z(t))in r?[t]:t.match(N)||[]).length;for(;n--;)delete r[t[n]]}(void 0===t||C.isEmptyObject(r))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!C.isEmptyObject(t)}};var J=new X,Q=new X,K=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,ee=/[A-Z]/g;function te(e,t,n){var r;if(void 0===n&&1===e.nodeType)if(r="data-"+t.replace(ee,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(r))){try{n=function(e){return"true"===e||"false"!==e&&("null"===e?null:e===+e+""?+e:K.test(e)?JSON.parse(e):e)}(n)}catch(e){}Q.set(e,t,n)}else n=void 0;return n}C.extend({hasData:function(e){return Q.hasData(e)||J.hasData(e)},data:function(e,t,n){return Q.access(e,t,n)},removeData:function(e,t){Q.remove(e,t)},_data:function(e,t,n){return J.access(e,t,n)},_removeData:function(e,t){J.remove(e,t)}}),C.fn.extend({data:function(e,t){var n,r,i,o=this[0],s=o&&o.attributes;if(void 0===e){if(this.length&&(i=Q.get(o),1===o.nodeType&&!J.get(o,"hasDataAttrs"))){for(n=s.length;n--;)s[n]&&0===(r=s[n].name).indexOf("data-")&&(r=Z(r.slice(5)),te(o,r,i[r]));J.set(o,"hasDataAttrs",!0)}return i}return"object"==typeof e?this.each((function(){Q.set(this,e)})):U(this,(function(t){var n;if(o&&void 0===t)return void 0!==(n=Q.get(o,e))?n:void 0!==(n=te(o,e))?n:void 0;this.each((function(){Q.set(this,e,t)}))}),null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each((function(){Q.remove(this,e)}))}}),C.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=J.get(e,t),n&&(!r||Array.isArray(n)?r=J.access(e,t,C.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=C.queue(e,t),r=n.length,i=n.shift(),o=C._queueHooks(e,t);"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,(function(){C.dequeue(e,t)}),o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return J.get(e,n)||J.access(e,n,{empty:C.Callbacks("once memory").add((function(){J.remove(e,[t+"queue",n])}))})}}),C.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length<n?C.queue(this[0],e):void 0===t?this:this.each((function(){var n=C.queue(this,e,t);C._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&C.dequeue(this,e)}))},dequeue:function(e){return this.each((function(){C.dequeue(this,e)}))},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,i=C.Deferred(),o=this,s=this.length,a=function(){--r||i.resolveWith(o,[o])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";s--;)(n=J.get(o[s],e+"queueHooks"))&&n.empty&&(r++,n.empty.add(a));return a(),i.promise(t)}});var ne=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,re=new RegExp("^(?:([+-])=|)("+ne+")([a-z%]*)$","i"),ie=["Top","Right","Bottom","Left"],oe=_.documentElement,se=function(e){return C.contains(e.ownerDocument,e)},ae={composed:!0};oe.getRootNode&&(se=function(e){return C.contains(e.ownerDocument,e)||e.getRootNode(ae)===e.ownerDocument});var le=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&se(e)&&"none"===C.css(e,"display")};function ce(e,t,n,r){var i,o,s=20,a=r?function(){return r.cur()}:function(){return C.css(e,t,"")},l=a(),c=n&&n[3]||(C.cssNumber[t]?"":"px"),u=e.nodeType&&(C.cssNumber[t]||"px"!==c&&+l)&&re.exec(C.css(e,t));if(u&&u[3]!==c){for(l/=2,c=c||u[3],u=+l||1;s--;)C.style(e,t,u+c),(1-o)*(1-(o=a()/l||.5))<=0&&(s=0),u/=o;u*=2,C.style(e,t,u+c),n=n||[]}return n&&(u=+u||+l||0,i=n[1]?u+(n[1]+1)*n[2]:+n[2],r&&(r.unit=c,r.start=u,r.end=i)),i}var ue={};function de(e){var t,n=e.ownerDocument,r=e.nodeName,i=ue[r];return i||(t=n.body.appendChild(n.createElement(r)),i=C.css(t,"display"),t.parentNode.removeChild(t),"none"===i&&(i="block"),ue[r]=i,i)}function fe(e,t){for(var n,r,i=[],o=0,s=e.length;o<s;o++)(r=e[o]).style&&(n=r.style.display,t?("none"===n&&(i[o]=J.get(r,"display")||null,i[o]||(r.style.display="")),""===r.style.display&&le(r)&&(i[o]=de(r))):"none"!==n&&(i[o]="none",J.set(r,"display",n)));for(o=0;o<s;o++)null!=i[o]&&(e[o].style.display=i[o]);return e}C.fn.extend({show:function(){return fe(this,!0)},hide:function(){return fe(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each((function(){le(this)?C(this).show():C(this).hide()}))}});var he,pe,me=/^(?:checkbox|radio)$/i,ge=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,ve=/^$|^module$|\/(?:java|ecma)script/i;he=_.createDocumentFragment().appendChild(_.createElement("div")),(pe=_.createElement("input")).setAttribute("type","radio"),pe.setAttribute("checked","checked"),pe.setAttribute("name","t"),he.appendChild(pe),g.checkClone=he.cloneNode(!0).cloneNode(!0).lastChild.checked,he.innerHTML="<textarea>x</textarea>",g.noCloneChecked=!!he.cloneNode(!0).lastChild.defaultValue,he.innerHTML="<option></option>",g.option=!!he.lastChild;var ye={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function _e(e,t){var n;return n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&O(e,t)?C.merge([e],n):n}function be(e,t){for(var n=0,r=e.length;n<r;n++)J.set(e[n],"globalEval",!t||J.get(t[n],"globalEval"))}ye.tbody=ye.tfoot=ye.colgroup=ye.caption=ye.thead,ye.th=ye.td,g.option||(ye.optgroup=ye.option=[1,"<select multiple='multiple'>","</select>"]);var we=/<|&#?\w+;/;function xe(e,t,n,r,i){for(var o,s,a,l,c,u,d=t.createDocumentFragment(),f=[],h=0,p=e.length;h<p;h++)if((o=e[h])||0===o)if("object"===x(o))C.merge(f,o.nodeType?[o]:o);else if(we.test(o)){for(s=s||d.appendChild(t.createElement("div")),a=(ge.exec(o)||["",""])[1].toLowerCase(),l=ye[a]||ye._default,s.innerHTML=l[1]+C.htmlPrefilter(o)+l[2],u=l[0];u--;)s=s.lastChild;C.merge(f,s.childNodes),(s=d.firstChild).textContent=""}else f.push(t.createTextNode(o));for(d.textContent="",h=0;o=f[h++];)if(r&&C.inArray(o,r)>-1)i&&i.push(o);else if(c=se(o),s=_e(d.appendChild(o),"script"),c&&be(s),n)for(u=0;o=s[u++];)ve.test(o.type||"")&&n.push(o);return d}var Ce=/^([^.]*)(?:\.(.+)|)/;function ke(){return!0}function Se(){return!1}function De(e,t){return e===function(){try{return _.activeElement}catch(e){}}()==("focus"===t)}function Ee(e,t,n,r,i,o){var s,a;if("object"==typeof t){for(a in"string"!=typeof n&&(r=r||n,n=void 0),t)Ee(e,a,n,r,t[a],o);return e}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=Se;else if(!i)return e;return 1===o&&(s=i,(i=function(e){return C().off(e),s.apply(this,arguments)}).guid=s.guid||(s.guid=C.guid++)),e.each((function(){C.event.add(this,t,i,r,n)}))}function Te(e,t,n){n?(J.set(e,t,!1),C.event.add(e,t,{namespace:!1,handler:function(e){var r,i,o=J.get(this,t);if(1&e.isTrigger&&this[t]){if(o.length)(C.event.special[t]||{}).delegateType&&e.stopPropagation();else if(o=a.call(arguments),J.set(this,t,o),r=n(this,t),this[t](),o!==(i=J.get(this,t))||r?J.set(this,t,!1):i={},o!==i)return e.stopImmediatePropagation(),e.preventDefault(),i&&i.value}else o.length&&(J.set(this,t,{value:C.event.trigger(C.extend(o[0],C.Event.prototype),o.slice(1),this)}),e.stopImmediatePropagation())}})):void 0===J.get(e,t)&&C.event.add(e,t,ke)}C.event={global:{},add:function(e,t,n,r,i){var o,s,a,l,c,u,d,f,h,p,m,g=J.get(e);if(G(e))for(n.handler&&(n=(o=n).handler,i=o.selector),i&&C.find.matchesSelector(oe,i),n.guid||(n.guid=C.guid++),(l=g.events)||(l=g.events=Object.create(null)),(s=g.handle)||(s=g.handle=function(t){return void 0!==C&&C.event.triggered!==t.type?C.event.dispatch.apply(e,arguments):void 0}),c=(t=(t||"").match(N)||[""]).length;c--;)h=m=(a=Ce.exec(t[c])||[])[1],p=(a[2]||"").split(".").sort(),h&&(d=C.event.special[h]||{},h=(i?d.delegateType:d.bindType)||h,d=C.event.special[h]||{},u=C.extend({type:h,origType:m,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&C.expr.match.needsContext.test(i),namespace:p.join(".")},o),(f=l[h])||((f=l[h]=[]).delegateCount=0,d.setup&&!1!==d.setup.call(e,r,p,s)||e.addEventListener&&e.addEventListener(h,s)),d.add&&(d.add.call(e,u),u.handler.guid||(u.handler.guid=n.guid)),i?f.splice(f.delegateCount++,0,u):f.push(u),C.event.global[h]=!0)},remove:function(e,t,n,r,i){var o,s,a,l,c,u,d,f,h,p,m,g=J.hasData(e)&&J.get(e);if(g&&(l=g.events)){for(c=(t=(t||"").match(N)||[""]).length;c--;)if(h=m=(a=Ce.exec(t[c])||[])[1],p=(a[2]||"").split(".").sort(),h){for(d=C.event.special[h]||{},f=l[h=(r?d.delegateType:d.bindType)||h]||[],a=a[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),s=o=f.length;o--;)u=f[o],!i&&m!==u.origType||n&&n.guid!==u.guid||a&&!a.test(u.namespace)||r&&r!==u.selector&&("**"!==r||!u.selector)||(f.splice(o,1),u.selector&&f.delegateCount--,d.remove&&d.remove.call(e,u));s&&!f.length&&(d.teardown&&!1!==d.teardown.call(e,p,g.handle)||C.removeEvent(e,h,g.handle),delete l[h])}else for(h in l)C.event.remove(e,h+t[c],n,r,!0);C.isEmptyObject(l)&&J.remove(e,"handle events")}},dispatch:function(e){var t,n,r,i,o,s,a=new Array(arguments.length),l=C.event.fix(e),c=(J.get(this,"events")||Object.create(null))[l.type]||[],u=C.event.special[l.type]||{};for(a[0]=l,t=1;t<arguments.length;t++)a[t]=arguments[t];if(l.delegateTarget=this,!u.preDispatch||!1!==u.preDispatch.call(this,l)){for(s=C.event.handlers.call(this,l,c),t=0;(i=s[t++])&&!l.isPropagationStopped();)for(l.currentTarget=i.elem,n=0;(o=i.handlers[n++])&&!l.isImmediatePropagationStopped();)l.rnamespace&&!1!==o.namespace&&!l.rnamespace.test(o.namespace)||(l.handleObj=o,l.data=o.data,void 0!==(r=((C.event.special[o.origType]||{}).handle||o.handler).apply(i.elem,a))&&!1===(l.result=r)&&(l.preventDefault(),l.stopPropagation()));return u.postDispatch&&u.postDispatch.call(this,l),l.result}},handlers:function(e,t){var n,r,i,o,s,a=[],l=t.delegateCount,c=e.target;if(l&&c.nodeType&&!("click"===e.type&&e.button>=1))for(;c!==this;c=c.parentNode||this)if(1===c.nodeType&&("click"!==e.type||!0!==c.disabled)){for(o=[],s={},n=0;n<l;n++)void 0===s[i=(r=t[n]).selector+" "]&&(s[i]=r.needsContext?C(i,this).index(c)>-1:C.find(i,this,null,[c]).length),s[i]&&o.push(r);o.length&&a.push({elem:c,handlers:o})}return c=this,l<t.length&&a.push({elem:c,handlers:t.slice(l)}),a},addProp:function(e,t){Object.defineProperty(C.Event.prototype,e,{enumerable:!0,configurable:!0,get:v(t)?function(){if(this.originalEvent)return t(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[e]},set:function(t){Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:t})}})},fix:function(e){return e[C.expando]?e:new C.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return me.test(t.type)&&t.click&&O(t,"input")&&Te(t,"click",ke),!1},trigger:function(e){var t=this||e;return me.test(t.type)&&t.click&&O(t,"input")&&Te(t,"click"),!0},_default:function(e){var t=e.target;return me.test(t.type)&&t.click&&O(t,"input")&&J.get(t,"click")||O(t,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},C.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},C.Event=function(e,t){if(!(this instanceof C.Event))return new C.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?ke:Se,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&C.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[C.expando]=!0},C.Event.prototype={constructor:C.Event,isDefaultPrevented:Se,isPropagationStopped:Se,isImmediatePropagationStopped:Se,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=ke,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=ke,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=ke,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},C.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},C.event.addProp),C.each({focus:"focusin",blur:"focusout"},(function(e,t){C.event.special[e]={setup:function(){return Te(this,e,De),!1},trigger:function(){return Te(this,e),!0},_default:function(){return!0},delegateType:t}})),C.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},(function(e,t){C.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=this,i=e.relatedTarget,o=e.handleObj;return i&&(i===r||C.contains(r,i))||(e.type=o.origType,n=o.handler.apply(this,arguments),e.type=t),n}}})),C.fn.extend({on:function(e,t,n,r){return Ee(this,e,t,n,r)},one:function(e,t,n,r){return Ee(this,e,t,n,r,1)},off:function(e,t,n){var r,i;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,C(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof e){for(i in e)this.off(i,t,e[i]);return this}return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=Se),this.each((function(){C.event.remove(this,e,n,t)}))}});var Oe=/<script|<style|<link/i,Me=/checked\s*(?:[^=]|=\s*.checked.)/i,je=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function Ae(e,t){return O(e,"table")&&O(11!==t.nodeType?t:t.firstChild,"tr")&&C(e).children("tbody")[0]||e}function Pe(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Le(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Re(e,t){var n,r,i,o,s,a;if(1===t.nodeType){if(J.hasData(e)&&(a=J.get(e).events))for(i in J.remove(t,"handle events"),a)for(n=0,r=a[i].length;n<r;n++)C.event.add(t,i,a[i][n]);Q.hasData(e)&&(o=Q.access(e),s=C.extend({},o),Q.set(t,s))}}function Ie(e,t){var n=t.nodeName.toLowerCase();"input"===n&&me.test(e.type)?t.checked=e.checked:"input"!==n&&"textarea"!==n||(t.defaultValue=e.defaultValue)}function Ne(e,t,n,r){t=l(t);var i,o,s,a,c,u,d=0,f=e.length,h=f-1,p=t[0],m=v(p);if(m||f>1&&"string"==typeof p&&!g.checkClone&&Me.test(p))return e.each((function(i){var o=e.eq(i);m&&(t[0]=p.call(this,i,o.html())),Ne(o,t,n,r)}));if(f&&(o=(i=xe(t,e[0].ownerDocument,!1,e,r)).firstChild,1===i.childNodes.length&&(i=o),o||r)){for(a=(s=C.map(_e(i,"script"),Pe)).length;d<f;d++)c=i,d!==h&&(c=C.clone(c,!0,!0),a&&C.merge(s,_e(c,"script"))),n.call(e[d],c,d);if(a)for(u=s[s.length-1].ownerDocument,C.map(s,Le),d=0;d<a;d++)c=s[d],ve.test(c.type||"")&&!J.access(c,"globalEval")&&C.contains(u,c)&&(c.src&&"module"!==(c.type||"").toLowerCase()?C._evalUrl&&!c.noModule&&C._evalUrl(c.src,{nonce:c.nonce||c.getAttribute("nonce")},u):w(c.textContent.replace(je,""),c,u))}return e}function He(e,t,n){for(var r,i=t?C.filter(t,e):e,o=0;null!=(r=i[o]);o++)n||1!==r.nodeType||C.cleanData(_e(r)),r.parentNode&&(n&&se(r)&&be(_e(r,"script")),r.parentNode.removeChild(r));return e}C.extend({htmlPrefilter:function(e){return e},clone:function(e,t,n){var r,i,o,s,a=e.cloneNode(!0),l=se(e);if(!(g.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||C.isXMLDoc(e)))for(s=_e(a),r=0,i=(o=_e(e)).length;r<i;r++)Ie(o[r],s[r]);if(t)if(n)for(o=o||_e(e),s=s||_e(a),r=0,i=o.length;r<i;r++)Re(o[r],s[r]);else Re(e,a);return(s=_e(a,"script")).length>0&&be(s,!l&&_e(e,"script")),a},cleanData:function(e){for(var t,n,r,i=C.event.special,o=0;void 0!==(n=e[o]);o++)if(G(n)){if(t=n[J.expando]){if(t.events)for(r in t.events)i[r]?C.event.remove(n,r):C.removeEvent(n,r,t.handle);n[J.expando]=void 0}n[Q.expando]&&(n[Q.expando]=void 0)}}}),C.fn.extend({detach:function(e){return He(this,e,!0)},remove:function(e){return He(this,e)},text:function(e){return U(this,(function(e){return void 0===e?C.text(this):this.empty().each((function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)}))}),null,e,arguments.length)},append:function(){return Ne(this,arguments,(function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Ae(this,e).appendChild(e)}))},prepend:function(){return Ne(this,arguments,(function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Ae(this,e);t.insertBefore(e,t.firstChild)}}))},before:function(){return Ne(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this)}))},after:function(){return Ne(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)}))},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(C.cleanData(_e(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map((function(){return C.clone(this,e,t)}))},html:function(e){return U(this,(function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!Oe.test(e)&&!ye[(ge.exec(e)||["",""])[1].toLowerCase()]){e=C.htmlPrefilter(e);try{for(;n<r;n++)1===(t=this[n]||{}).nodeType&&(C.cleanData(_e(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)}),null,e,arguments.length)},replaceWith:function(){var e=[];return Ne(this,arguments,(function(t){var n=this.parentNode;C.inArray(this,e)<0&&(C.cleanData(_e(this)),n&&n.replaceChild(t,this))}),e)}}),C.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},(function(e,t){C.fn[e]=function(e){for(var n,r=[],i=C(e),o=i.length-1,s=0;s<=o;s++)n=s===o?this:this.clone(!0),C(i[s])[t](n),c.apply(r,n.get());return this.pushStack(r)}}));var $e=new RegExp("^("+ne+")(?!px)[a-z%]+$","i"),Fe=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=n),t.getComputedStyle(e)},Ve=function(e,t,n){var r,i,o={};for(i in t)o[i]=e.style[i],e.style[i]=t[i];for(i in r=n.call(e),t)e.style[i]=o[i];return r},qe=new RegExp(ie.join("|"),"i");function Be(e,t,n){var r,i,o,s,a=e.style;return(n=n||Fe(e))&&(""!==(s=n.getPropertyValue(t)||n[t])||se(e)||(s=C.style(e,t)),!g.pixelBoxStyles()&&$e.test(s)&&qe.test(t)&&(r=a.width,i=a.minWidth,o=a.maxWidth,a.minWidth=a.maxWidth=a.width=s,s=n.width,a.width=r,a.minWidth=i,a.maxWidth=o)),void 0!==s?s+"":s}function Ue(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}!function(){function e(){if(u){c.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",u.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",oe.appendChild(c).appendChild(u);var e=n.getComputedStyle(u);r="1%"!==e.top,l=12===t(e.marginLeft),u.style.right="60%",s=36===t(e.right),i=36===t(e.width),u.style.position="absolute",o=12===t(u.offsetWidth/3),oe.removeChild(c),u=null}}function t(e){return Math.round(parseFloat(e))}var r,i,o,s,a,l,c=_.createElement("div"),u=_.createElement("div");u.style&&(u.style.backgroundClip="content-box",u.cloneNode(!0).style.backgroundClip="",g.clearCloneStyle="content-box"===u.style.backgroundClip,C.extend(g,{boxSizingReliable:function(){return e(),i},pixelBoxStyles:function(){return e(),s},pixelPosition:function(){return e(),r},reliableMarginLeft:function(){return e(),l},scrollboxSize:function(){return e(),o},reliableTrDimensions:function(){var e,t,r,i;return null==a&&(e=_.createElement("table"),t=_.createElement("tr"),r=_.createElement("div"),e.style.cssText="position:absolute;left:-11111px;border-collapse:separate",t.style.cssText="border:1px solid",t.style.height="1px",r.style.height="9px",r.style.display="block",oe.appendChild(e).appendChild(t).appendChild(r),i=n.getComputedStyle(t),a=parseInt(i.height,10)+parseInt(i.borderTopWidth,10)+parseInt(i.borderBottomWidth,10)===t.offsetHeight,oe.removeChild(e)),a}}))}();var Ye=["Webkit","Moz","ms"],ze=_.createElement("div").style,We={};function Ze(e){var t=C.cssProps[e]||We[e];return t||(e in ze?e:We[e]=function(e){for(var t=e[0].toUpperCase()+e.slice(1),n=Ye.length;n--;)if((e=Ye[n]+t)in ze)return e}(e)||e)}var Ge=/^(none|table(?!-c[ea]).+)/,Xe=/^--/,Je={position:"absolute",visibility:"hidden",display:"block"},Qe={letterSpacing:"0",fontWeight:"400"};function Ke(e,t,n){var r=re.exec(t);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):t}function et(e,t,n,r,i,o){var s="width"===t?1:0,a=0,l=0;if(n===(r?"border":"content"))return 0;for(;s<4;s+=2)"margin"===n&&(l+=C.css(e,n+ie[s],!0,i)),r?("content"===n&&(l-=C.css(e,"padding"+ie[s],!0,i)),"margin"!==n&&(l-=C.css(e,"border"+ie[s]+"Width",!0,i))):(l+=C.css(e,"padding"+ie[s],!0,i),"padding"!==n?l+=C.css(e,"border"+ie[s]+"Width",!0,i):a+=C.css(e,"border"+ie[s]+"Width",!0,i));return!r&&o>=0&&(l+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-o-l-a-.5))||0),l}function tt(e,t,n){var r=Fe(e),i=(!g.boxSizingReliable()||n)&&"border-box"===C.css(e,"boxSizing",!1,r),o=i,s=Be(e,t,r),a="offset"+t[0].toUpperCase()+t.slice(1);if($e.test(s)){if(!n)return s;s="auto"}return(!g.boxSizingReliable()&&i||!g.reliableTrDimensions()&&O(e,"tr")||"auto"===s||!parseFloat(s)&&"inline"===C.css(e,"display",!1,r))&&e.getClientRects().length&&(i="border-box"===C.css(e,"boxSizing",!1,r),(o=a in e)&&(s=e[a])),(s=parseFloat(s)||0)+et(e,t,n||(i?"border":"content"),o,r,s)+"px"}function nt(e,t,n,r,i){return new nt.prototype.init(e,t,n,r,i)}C.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Be(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,o,s,a=Z(t),l=Xe.test(t),c=e.style;if(l||(t=Ze(a)),s=C.cssHooks[t]||C.cssHooks[a],void 0===n)return s&&"get"in s&&void 0!==(i=s.get(e,!1,r))?i:c[t];"string"===(o=typeof n)&&(i=re.exec(n))&&i[1]&&(n=ce(e,t,i),o="number"),null!=n&&n==n&&("number"!==o||l||(n+=i&&i[3]||(C.cssNumber[a]?"":"px")),g.clearCloneStyle||""!==n||0!==t.indexOf("background")||(c[t]="inherit"),s&&"set"in s&&void 0===(n=s.set(e,n,r))||(l?c.setProperty(t,n):c[t]=n))}},css:function(e,t,n,r){var i,o,s,a=Z(t);return Xe.test(t)||(t=Ze(a)),(s=C.cssHooks[t]||C.cssHooks[a])&&"get"in s&&(i=s.get(e,!0,n)),void 0===i&&(i=Be(e,t,r)),"normal"===i&&t in Qe&&(i=Qe[t]),""===n||n?(o=parseFloat(i),!0===n||isFinite(o)?o||0:i):i}}),C.each(["height","width"],(function(e,t){C.cssHooks[t]={get:function(e,n,r){if(n)return!Ge.test(C.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?tt(e,t,r):Ve(e,Je,(function(){return tt(e,t,r)}))},set:function(e,n,r){var i,o=Fe(e),s=!g.scrollboxSize()&&"absolute"===o.position,a=(s||r)&&"border-box"===C.css(e,"boxSizing",!1,o),l=r?et(e,t,r,a,o):0;return a&&s&&(l-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(o[t])-et(e,t,"border",!1,o)-.5)),l&&(i=re.exec(n))&&"px"!==(i[3]||"px")&&(e.style[t]=n,n=C.css(e,t)),Ke(0,n,l)}}})),C.cssHooks.marginLeft=Ue(g.reliableMarginLeft,(function(e,t){if(t)return(parseFloat(Be(e,"marginLeft"))||e.getBoundingClientRect().left-Ve(e,{marginLeft:0},(function(){return e.getBoundingClientRect().left})))+"px"})),C.each({margin:"",padding:"",border:"Width"},(function(e,t){C.cssHooks[e+t]={expand:function(n){for(var r=0,i={},o="string"==typeof n?n.split(" "):[n];r<4;r++)i[e+ie[r]+t]=o[r]||o[r-2]||o[0];return i}},"margin"!==e&&(C.cssHooks[e+t].set=Ke)})),C.fn.extend({css:function(e,t){return U(this,(function(e,t,n){var r,i,o={},s=0;if(Array.isArray(t)){for(r=Fe(e),i=t.length;s<i;s++)o[t[s]]=C.css(e,t[s],!1,r);return o}return void 0!==n?C.style(e,t,n):C.css(e,t)}),e,t,arguments.length>1)}}),C.Tween=nt,nt.prototype={constructor:nt,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||C.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(C.cssNumber[n]?"":"px")},cur:function(){var e=nt.propHooks[this.prop];return e&&e.get?e.get(this):nt.propHooks._default.get(this)},run:function(e){var t,n=nt.propHooks[this.prop];return this.options.duration?this.pos=t=C.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):nt.propHooks._default.set(this),this}},nt.prototype.init.prototype=nt.prototype,nt.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=C.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){C.fx.step[e.prop]?C.fx.step[e.prop](e):1!==e.elem.nodeType||!C.cssHooks[e.prop]&&null==e.elem.style[Ze(e.prop)]?e.elem[e.prop]=e.now:C.style(e.elem,e.prop,e.now+e.unit)}}},nt.propHooks.scrollTop=nt.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},C.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},C.fx=nt.prototype.init,C.fx.step={};var rt,it,ot=/^(?:toggle|show|hide)$/,st=/queueHooks$/;function at(){it&&(!1===_.hidden&&n.requestAnimationFrame?n.requestAnimationFrame(at):n.setTimeout(at,C.fx.interval),C.fx.tick())}function lt(){return n.setTimeout((function(){rt=void 0})),rt=Date.now()}function ct(e,t){var n,r=0,i={height:e};for(t=t?1:0;r<4;r+=2-t)i["margin"+(n=ie[r])]=i["padding"+n]=e;return t&&(i.opacity=i.width=e),i}function ut(e,t,n){for(var r,i=(dt.tweeners[t]||[]).concat(dt.tweeners["*"]),o=0,s=i.length;o<s;o++)if(r=i[o].call(n,t,e))return r}function dt(e,t,n){var r,i,o=0,s=dt.prefilters.length,a=C.Deferred().always((function(){delete l.elem})),l=function(){if(i)return!1;for(var t=rt||lt(),n=Math.max(0,c.startTime+c.duration-t),r=1-(n/c.duration||0),o=0,s=c.tweens.length;o<s;o++)c.tweens[o].run(r);return a.notifyWith(e,[c,r,n]),r<1&&s?n:(s||a.notifyWith(e,[c,1,0]),a.resolveWith(e,[c]),!1)},c=a.promise({elem:e,props:C.extend({},t),opts:C.extend(!0,{specialEasing:{},easing:C.easing._default},n),originalProperties:t,originalOptions:n,startTime:rt||lt(),duration:n.duration,tweens:[],createTween:function(t,n){var r=C.Tween(e,c.opts,t,n,c.opts.specialEasing[t]||c.opts.easing);return c.tweens.push(r),r},stop:function(t){var n=0,r=t?c.tweens.length:0;if(i)return this;for(i=!0;n<r;n++)c.tweens[n].run(1);return t?(a.notifyWith(e,[c,1,0]),a.resolveWith(e,[c,t])):a.rejectWith(e,[c,t]),this}}),u=c.props;for(!function(e,t){var n,r,i,o,s;for(n in e)if(i=t[r=Z(n)],o=e[n],Array.isArray(o)&&(i=o[1],o=e[n]=o[0]),n!==r&&(e[r]=o,delete e[n]),(s=C.cssHooks[r])&&"expand"in s)for(n in o=s.expand(o),delete e[r],o)n in e||(e[n]=o[n],t[n]=i);else t[r]=i}(u,c.opts.specialEasing);o<s;o++)if(r=dt.prefilters[o].call(c,e,u,c.opts))return v(r.stop)&&(C._queueHooks(c.elem,c.opts.queue).stop=r.stop.bind(r)),r;return C.map(u,ut,c),v(c.opts.start)&&c.opts.start.call(e,c),c.progress(c.opts.progress).done(c.opts.done,c.opts.complete).fail(c.opts.fail).always(c.opts.always),C.fx.timer(C.extend(l,{elem:e,anim:c,queue:c.opts.queue})),c}C.Animation=C.extend(dt,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return ce(n.elem,e,re.exec(t),n),n}]},tweener:function(e,t){v(e)?(t=e,e=["*"]):e=e.match(N);for(var n,r=0,i=e.length;r<i;r++)n=e[r],dt.tweeners[n]=dt.tweeners[n]||[],dt.tweeners[n].unshift(t)},prefilters:[function(e,t,n){var r,i,o,s,a,l,c,u,d="width"in t||"height"in t,f=this,h={},p=e.style,m=e.nodeType&&le(e),g=J.get(e,"fxshow");for(r in n.queue||(null==(s=C._queueHooks(e,"fx")).unqueued&&(s.unqueued=0,a=s.empty.fire,s.empty.fire=function(){s.unqueued||a()}),s.unqueued++,f.always((function(){f.always((function(){s.unqueued--,C.queue(e,"fx").length||s.empty.fire()}))}))),t)if(i=t[r],ot.test(i)){if(delete t[r],o=o||"toggle"===i,i===(m?"hide":"show")){if("show"!==i||!g||void 0===g[r])continue;m=!0}h[r]=g&&g[r]||C.style(e,r)}if((l=!C.isEmptyObject(t))||!C.isEmptyObject(h))for(r in d&&1===e.nodeType&&(n.overflow=[p.overflow,p.overflowX,p.overflowY],null==(c=g&&g.display)&&(c=J.get(e,"display")),"none"===(u=C.css(e,"display"))&&(c?u=c:(fe([e],!0),c=e.style.display||c,u=C.css(e,"display"),fe([e]))),("inline"===u||"inline-block"===u&&null!=c)&&"none"===C.css(e,"float")&&(l||(f.done((function(){p.display=c})),null==c&&(u=p.display,c="none"===u?"":u)),p.display="inline-block")),n.overflow&&(p.overflow="hidden",f.always((function(){p.overflow=n.overflow[0],p.overflowX=n.overflow[1],p.overflowY=n.overflow[2]}))),l=!1,h)l||(g?"hidden"in g&&(m=g.hidden):g=J.access(e,"fxshow",{display:c}),o&&(g.hidden=!m),m&&fe([e],!0),f.done((function(){for(r in m||fe([e]),J.remove(e,"fxshow"),h)C.style(e,r,h[r])}))),l=ut(m?g[r]:0,r,f),r in g||(g[r]=l.start,m&&(l.end=l.start,l.start=0))}],prefilter:function(e,t){t?dt.prefilters.unshift(e):dt.prefilters.push(e)}}),C.speed=function(e,t,n){var r=e&&"object"==typeof e?C.extend({},e):{complete:n||!n&&t||v(e)&&e,duration:e,easing:n&&t||t&&!v(t)&&t};return C.fx.off?r.duration=0:"number"!=typeof r.duration&&(r.duration in C.fx.speeds?r.duration=C.fx.speeds[r.duration]:r.duration=C.fx.speeds._default),null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){v(r.old)&&r.old.call(this),r.queue&&C.dequeue(this,r.queue)},r},C.fn.extend({fadeTo:function(e,t,n,r){return this.filter(le).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var i=C.isEmptyObject(e),o=C.speed(t,n,r),s=function(){var t=dt(this,C.extend({},e),o);(i||J.get(this,"finish"))&&t.stop(!0)};return s.finish=s,i||!1===o.queue?this.each(s):this.queue(o.queue,s)},stop:function(e,t,n){var r=function(e){var t=e.stop;delete e.stop,t(n)};return"string"!=typeof e&&(n=t,t=e,e=void 0),t&&this.queue(e||"fx",[]),this.each((function(){var t=!0,i=null!=e&&e+"queueHooks",o=C.timers,s=J.get(this);if(i)s[i]&&s[i].stop&&r(s[i]);else for(i in s)s[i]&&s[i].stop&&st.test(i)&&r(s[i]);for(i=o.length;i--;)o[i].elem!==this||null!=e&&o[i].queue!==e||(o[i].anim.stop(n),t=!1,o.splice(i,1));!t&&n||C.dequeue(this,e)}))},finish:function(e){return!1!==e&&(e=e||"fx"),this.each((function(){var t,n=J.get(this),r=n[e+"queue"],i=n[e+"queueHooks"],o=C.timers,s=r?r.length:0;for(n.finish=!0,C.queue(this,e,[]),i&&i.stop&&i.stop.call(this,!0),t=o.length;t--;)o[t].elem===this&&o[t].queue===e&&(o[t].anim.stop(!0),o.splice(t,1));for(t=0;t<s;t++)r[t]&&r[t].finish&&r[t].finish.call(this);delete n.finish}))}}),C.each(["toggle","show","hide"],(function(e,t){var n=C.fn[t];C.fn[t]=function(e,r,i){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(ct(t,!0),e,r,i)}})),C.each({slideDown:ct("show"),slideUp:ct("hide"),slideToggle:ct("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},(function(e,t){C.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}})),C.timers=[],C.fx.tick=function(){var e,t=0,n=C.timers;for(rt=Date.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||C.fx.stop(),rt=void 0},C.fx.timer=function(e){C.timers.push(e),C.fx.start()},C.fx.interval=13,C.fx.start=function(){it||(it=!0,at())},C.fx.stop=function(){it=null},C.fx.speeds={slow:600,fast:200,_default:400},C.fn.delay=function(e,t){return e=C.fx&&C.fx.speeds[e]||e,t=t||"fx",this.queue(t,(function(t,r){var i=n.setTimeout(t,e);r.stop=function(){n.clearTimeout(i)}}))},function(){var e=_.createElement("input"),t=_.createElement("select").appendChild(_.createElement("option"));e.type="checkbox",g.checkOn=""!==e.value,g.optSelected=t.selected,(e=_.createElement("input")).value="t",e.type="radio",g.radioValue="t"===e.value}();var ft,ht=C.expr.attrHandle;C.fn.extend({attr:function(e,t){return U(this,C.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each((function(){C.removeAttr(this,e)}))}}),C.extend({attr:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return void 0===e.getAttribute?C.prop(e,t,n):(1===o&&C.isXMLDoc(e)||(i=C.attrHooks[t.toLowerCase()]||(C.expr.match.bool.test(t)?ft:void 0)),void 0!==n?null===n?void C.removeAttr(e,t):i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:(e.setAttribute(t,n+""),n):i&&"get"in i&&null!==(r=i.get(e,t))?r:null==(r=C.find.attr(e,t))?void 0:r)},attrHooks:{type:{set:function(e,t){if(!g.radioValue&&"radio"===t&&O(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r=0,i=t&&t.match(N);if(i&&1===e.nodeType)for(;n=i[r++];)e.removeAttribute(n)}}),ft={set:function(e,t,n){return!1===t?C.removeAttr(e,n):e.setAttribute(n,n),n}},C.each(C.expr.match.bool.source.match(/\w+/g),(function(e,t){var n=ht[t]||C.find.attr;ht[t]=function(e,t,r){var i,o,s=t.toLowerCase();return r||(o=ht[s],ht[s]=i,i=null!=n(e,t,r)?s:null,ht[s]=o),i}}));var pt=/^(?:input|select|textarea|button)$/i,mt=/^(?:a|area)$/i;function gt(e){return(e.match(N)||[]).join(" ")}function vt(e){return e.getAttribute&&e.getAttribute("class")||""}function yt(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(N)||[]}C.fn.extend({prop:function(e,t){return U(this,C.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each((function(){delete this[C.propFix[e]||e]}))}}),C.extend({prop:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&C.isXMLDoc(e)||(t=C.propFix[t]||t,i=C.propHooks[t]),void 0!==n?i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:e[t]=n:i&&"get"in i&&null!==(r=i.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=C.find.attr(e,"tabindex");return t?parseInt(t,10):pt.test(e.nodeName)||mt.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),g.optSelected||(C.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),C.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],(function(){C.propFix[this.toLowerCase()]=this})),C.fn.extend({addClass:function(e){var t,n,r,i,o,s,a,l=0;if(v(e))return this.each((function(t){C(this).addClass(e.call(this,t,vt(this)))}));if((t=yt(e)).length)for(;n=this[l++];)if(i=vt(n),r=1===n.nodeType&&" "+gt(i)+" "){for(s=0;o=t[s++];)r.indexOf(" "+o+" ")<0&&(r+=o+" ");i!==(a=gt(r))&&n.setAttribute("class",a)}return this},removeClass:function(e){var t,n,r,i,o,s,a,l=0;if(v(e))return this.each((function(t){C(this).removeClass(e.call(this,t,vt(this)))}));if(!arguments.length)return this.attr("class","");if((t=yt(e)).length)for(;n=this[l++];)if(i=vt(n),r=1===n.nodeType&&" "+gt(i)+" "){for(s=0;o=t[s++];)for(;r.indexOf(" "+o+" ")>-1;)r=r.replace(" "+o+" "," ");i!==(a=gt(r))&&n.setAttribute("class",a)}return this},toggleClass:function(e,t){var n=typeof e,r="string"===n||Array.isArray(e);return"boolean"==typeof t&&r?t?this.addClass(e):this.removeClass(e):v(e)?this.each((function(n){C(this).toggleClass(e.call(this,n,vt(this),t),t)})):this.each((function(){var t,i,o,s;if(r)for(i=0,o=C(this),s=yt(e);t=s[i++];)o.hasClass(t)?o.removeClass(t):o.addClass(t);else void 0!==e&&"boolean"!==n||((t=vt(this))&&J.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||!1===e?"":J.get(this,"__className__")||""))}))},hasClass:function(e){var t,n,r=0;for(t=" "+e+" ";n=this[r++];)if(1===n.nodeType&&(" "+gt(vt(n))+" ").indexOf(t)>-1)return!0;return!1}});var _t=/\r/g;C.fn.extend({val:function(e){var t,n,r,i=this[0];return arguments.length?(r=v(e),this.each((function(n){var i;1===this.nodeType&&(null==(i=r?e.call(this,n,C(this).val()):e)?i="":"number"==typeof i?i+="":Array.isArray(i)&&(i=C.map(i,(function(e){return null==e?"":e+""}))),(t=C.valHooks[this.type]||C.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,i,"value")||(this.value=i))}))):i?(t=C.valHooks[i.type]||C.valHooks[i.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(i,"value"))?n:"string"==typeof(n=i.value)?n.replace(_t,""):null==n?"":n:void 0}}),C.extend({valHooks:{option:{get:function(e){var t=C.find.attr(e,"value");return null!=t?t:gt(C.text(e))}},select:{get:function(e){var t,n,r,i=e.options,o=e.selectedIndex,s="select-one"===e.type,a=s?null:[],l=s?o+1:i.length;for(r=o<0?l:s?o:0;r<l;r++)if(((n=i[r]).selected||r===o)&&!n.disabled&&(!n.parentNode.disabled||!O(n.parentNode,"optgroup"))){if(t=C(n).val(),s)return t;a.push(t)}return a},set:function(e,t){for(var n,r,i=e.options,o=C.makeArray(t),s=i.length;s--;)((r=i[s]).selected=C.inArray(C.valHooks.option.get(r),o)>-1)&&(n=!0);return n||(e.selectedIndex=-1),o}}}}),C.each(["radio","checkbox"],(function(){C.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=C.inArray(C(e).val(),t)>-1}},g.checkOn||(C.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})})),g.focusin="onfocusin"in n;var bt=/^(?:focusinfocus|focusoutblur)$/,wt=function(e){e.stopPropagation()};C.extend(C.event,{trigger:function(e,t,r,i){var o,s,a,l,c,u,d,f,p=[r||_],m=h.call(e,"type")?e.type:e,g=h.call(e,"namespace")?e.namespace.split("."):[];if(s=f=a=r=r||_,3!==r.nodeType&&8!==r.nodeType&&!bt.test(m+C.event.triggered)&&(m.indexOf(".")>-1&&(g=m.split("."),m=g.shift(),g.sort()),c=m.indexOf(":")<0&&"on"+m,(e=e[C.expando]?e:new C.Event(m,"object"==typeof e&&e)).isTrigger=i?2:3,e.namespace=g.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+g.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=r),t=null==t?[e]:C.makeArray(t,[e]),d=C.event.special[m]||{},i||!d.trigger||!1!==d.trigger.apply(r,t))){if(!i&&!d.noBubble&&!y(r)){for(l=d.delegateType||m,bt.test(l+m)||(s=s.parentNode);s;s=s.parentNode)p.push(s),a=s;a===(r.ownerDocument||_)&&p.push(a.defaultView||a.parentWindow||n)}for(o=0;(s=p[o++])&&!e.isPropagationStopped();)f=s,e.type=o>1?l:d.bindType||m,(u=(J.get(s,"events")||Object.create(null))[e.type]&&J.get(s,"handle"))&&u.apply(s,t),(u=c&&s[c])&&u.apply&&G(s)&&(e.result=u.apply(s,t),!1===e.result&&e.preventDefault());return e.type=m,i||e.isDefaultPrevented()||d._default&&!1!==d._default.apply(p.pop(),t)||!G(r)||c&&v(r[m])&&!y(r)&&((a=r[c])&&(r[c]=null),C.event.triggered=m,e.isPropagationStopped()&&f.addEventListener(m,wt),r[m](),e.isPropagationStopped()&&f.removeEventListener(m,wt),C.event.triggered=void 0,a&&(r[c]=a)),e.result}},simulate:function(e,t,n){var r=C.extend(new C.Event,n,{type:e,isSimulated:!0});C.event.trigger(r,null,t)}}),C.fn.extend({trigger:function(e,t){return this.each((function(){C.event.trigger(e,t,this)}))},triggerHandler:function(e,t){var n=this[0];if(n)return C.event.trigger(e,t,n,!0)}}),g.focusin||C.each({focus:"focusin",blur:"focusout"},(function(e,t){var n=function(e){C.event.simulate(t,e.target,C.event.fix(e))};C.event.special[t]={setup:function(){var r=this.ownerDocument||this.document||this,i=J.access(r,t);i||r.addEventListener(e,n,!0),J.access(r,t,(i||0)+1)},teardown:function(){var r=this.ownerDocument||this.document||this,i=J.access(r,t)-1;i?J.access(r,t,i):(r.removeEventListener(e,n,!0),J.remove(r,t))}}}));var xt=n.location,Ct={guid:Date.now()},kt=/\?/;C.parseXML=function(e){var t,r;if(!e||"string"!=typeof e)return null;try{t=(new n.DOMParser).parseFromString(e,"text/xml")}catch(e){}return r=t&&t.getElementsByTagName("parsererror")[0],t&&!r||C.error("Invalid XML: "+(r?C.map(r.childNodes,(function(e){return e.textContent})).join("\n"):e)),t};var St=/\[\]$/,Dt=/\r?\n/g,Et=/^(?:submit|button|image|reset|file)$/i,Tt=/^(?:input|select|textarea|keygen)/i;function Ot(e,t,n,r){var i;if(Array.isArray(t))C.each(t,(function(t,i){n||St.test(e)?r(e,i):Ot(e+"["+("object"==typeof i&&null!=i?t:"")+"]",i,n,r)}));else if(n||"object"!==x(t))r(e,t);else for(i in t)Ot(e+"["+i+"]",t[i],n,r)}C.param=function(e,t){var n,r=[],i=function(e,t){var n=v(t)?t():t;r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!C.isPlainObject(e))C.each(e,(function(){i(this.name,this.value)}));else for(n in e)Ot(n,e[n],t,i);return r.join("&")},C.fn.extend({serialize:function(){return C.param(this.serializeArray())},serializeArray:function(){return this.map((function(){var e=C.prop(this,"elements");return e?C.makeArray(e):this})).filter((function(){var e=this.type;return this.name&&!C(this).is(":disabled")&&Tt.test(this.nodeName)&&!Et.test(e)&&(this.checked||!me.test(e))})).map((function(e,t){var n=C(this).val();return null==n?null:Array.isArray(n)?C.map(n,(function(e){return{name:t.name,value:e.replace(Dt,"\r\n")}})):{name:t.name,value:n.replace(Dt,"\r\n")}})).get()}});var Mt=/%20/g,jt=/#.*$/,At=/([?&])_=[^&]*/,Pt=/^(.*?):[ \t]*([^\r\n]*)$/gm,Lt=/^(?:GET|HEAD)$/,Rt=/^\/\//,It={},Nt={},Ht="*/".concat("*"),$t=_.createElement("a");function Ft(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,i=0,o=t.toLowerCase().match(N)||[];if(v(n))for(;r=o[i++];)"+"===r[0]?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function Vt(e,t,n,r){var i={},o=e===Nt;function s(a){var l;return i[a]=!0,C.each(e[a]||[],(function(e,a){var c=a(t,n,r);return"string"!=typeof c||o||i[c]?o?!(l=c):void 0:(t.dataTypes.unshift(c),s(c),!1)})),l}return s(t.dataTypes[0])||!i["*"]&&s("*")}function qt(e,t){var n,r,i=C.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((i[n]?e:r||(r={}))[n]=t[n]);return r&&C.extend(!0,e,r),e}$t.href=xt.href,C.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:xt.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(xt.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Ht,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":C.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?qt(qt(e,C.ajaxSettings),t):qt(C.ajaxSettings,e)},ajaxPrefilter:Ft(It),ajaxTransport:Ft(Nt),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var r,i,o,s,a,l,c,u,d,f,h=C.ajaxSetup({},t),p=h.context||h,m=h.context&&(p.nodeType||p.jquery)?C(p):C.event,g=C.Deferred(),v=C.Callbacks("once memory"),y=h.statusCode||{},b={},w={},x="canceled",k={readyState:0,getResponseHeader:function(e){var t;if(c){if(!s)for(s={};t=Pt.exec(o);)s[t[1].toLowerCase()+" "]=(s[t[1].toLowerCase()+" "]||[]).concat(t[2]);t=s[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return c?o:null},setRequestHeader:function(e,t){return null==c&&(e=w[e.toLowerCase()]=w[e.toLowerCase()]||e,b[e]=t),this},overrideMimeType:function(e){return null==c&&(h.mimeType=e),this},statusCode:function(e){var t;if(e)if(c)k.always(e[k.status]);else for(t in e)y[t]=[y[t],e[t]];return this},abort:function(e){var t=e||x;return r&&r.abort(t),S(0,t),this}};if(g.promise(k),h.url=((e||h.url||xt.href)+"").replace(Rt,xt.protocol+"//"),h.type=t.method||t.type||h.method||h.type,h.dataTypes=(h.dataType||"*").toLowerCase().match(N)||[""],null==h.crossDomain){l=_.createElement("a");try{l.href=h.url,l.href=l.href,h.crossDomain=$t.protocol+"//"+$t.host!=l.protocol+"//"+l.host}catch(e){h.crossDomain=!0}}if(h.data&&h.processData&&"string"!=typeof h.data&&(h.data=C.param(h.data,h.traditional)),Vt(It,h,t,k),c)return k;for(d in(u=C.event&&h.global)&&0==C.active++&&C.event.trigger("ajaxStart"),h.type=h.type.toUpperCase(),h.hasContent=!Lt.test(h.type),i=h.url.replace(jt,""),h.hasContent?h.data&&h.processData&&0===(h.contentType||"").indexOf("application/x-www-form-urlencoded")&&(h.data=h.data.replace(Mt,"+")):(f=h.url.slice(i.length),h.data&&(h.processData||"string"==typeof h.data)&&(i+=(kt.test(i)?"&":"?")+h.data,delete h.data),!1===h.cache&&(i=i.replace(At,"$1"),f=(kt.test(i)?"&":"?")+"_="+Ct.guid+++f),h.url=i+f),h.ifModified&&(C.lastModified[i]&&k.setRequestHeader("If-Modified-Since",C.lastModified[i]),C.etag[i]&&k.setRequestHeader("If-None-Match",C.etag[i])),(h.data&&h.hasContent&&!1!==h.contentType||t.contentType)&&k.setRequestHeader("Content-Type",h.contentType),k.setRequestHeader("Accept",h.dataTypes[0]&&h.accepts[h.dataTypes[0]]?h.accepts[h.dataTypes[0]]+("*"!==h.dataTypes[0]?", "+Ht+"; q=0.01":""):h.accepts["*"]),h.headers)k.setRequestHeader(d,h.headers[d]);if(h.beforeSend&&(!1===h.beforeSend.call(p,k,h)||c))return k.abort();if(x="abort",v.add(h.complete),k.done(h.success),k.fail(h.error),r=Vt(Nt,h,t,k)){if(k.readyState=1,u&&m.trigger("ajaxSend",[k,h]),c)return k;h.async&&h.timeout>0&&(a=n.setTimeout((function(){k.abort("timeout")}),h.timeout));try{c=!1,r.send(b,S)}catch(e){if(c)throw e;S(-1,e)}}else S(-1,"No Transport");function S(e,t,s,l){var d,f,_,b,w,x=t;c||(c=!0,a&&n.clearTimeout(a),r=void 0,o=l||"",k.readyState=e>0?4:0,d=e>=200&&e<300||304===e,s&&(b=function(e,t,n){for(var r,i,o,s,a=e.contents,l=e.dataTypes;"*"===l[0];)l.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(i in a)if(a[i]&&a[i].test(r)){l.unshift(i);break}if(l[0]in n)o=l[0];else{for(i in n){if(!l[0]||e.converters[i+" "+l[0]]){o=i;break}s||(s=i)}o=o||s}if(o)return o!==l[0]&&l.unshift(o),n[o]}(h,k,s)),!d&&C.inArray("script",h.dataTypes)>-1&&C.inArray("json",h.dataTypes)<0&&(h.converters["text script"]=function(){}),b=function(e,t,n,r){var i,o,s,a,l,c={},u=e.dataTypes.slice();if(u[1])for(s in e.converters)c[s.toLowerCase()]=e.converters[s];for(o=u.shift();o;)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!l&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=o,o=u.shift())if("*"===o)o=l;else if("*"!==l&&l!==o){if(!(s=c[l+" "+o]||c["* "+o]))for(i in c)if((a=i.split(" "))[1]===o&&(s=c[l+" "+a[0]]||c["* "+a[0]])){!0===s?s=c[i]:!0!==c[i]&&(o=a[0],u.unshift(a[1]));break}if(!0!==s)if(s&&e.throws)t=s(t);else try{t=s(t)}catch(e){return{state:"parsererror",error:s?e:"No conversion from "+l+" to "+o}}}return{state:"success",data:t}}(h,b,k,d),d?(h.ifModified&&((w=k.getResponseHeader("Last-Modified"))&&(C.lastModified[i]=w),(w=k.getResponseHeader("etag"))&&(C.etag[i]=w)),204===e||"HEAD"===h.type?x="nocontent":304===e?x="notmodified":(x=b.state,f=b.data,d=!(_=b.error))):(_=x,!e&&x||(x="error",e<0&&(e=0))),k.status=e,k.statusText=(t||x)+"",d?g.resolveWith(p,[f,x,k]):g.rejectWith(p,[k,x,_]),k.statusCode(y),y=void 0,u&&m.trigger(d?"ajaxSuccess":"ajaxError",[k,h,d?f:_]),v.fireWith(p,[k,x]),u&&(m.trigger("ajaxComplete",[k,h]),--C.active||C.event.trigger("ajaxStop")))}return k},getJSON:function(e,t,n){return C.get(e,t,n,"json")},getScript:function(e,t){return C.get(e,void 0,t,"script")}}),C.each(["get","post"],(function(e,t){C[t]=function(e,n,r,i){return v(n)&&(i=i||r,r=n,n=void 0),C.ajax(C.extend({url:e,type:t,dataType:i,data:n,success:r},C.isPlainObject(e)&&e))}})),C.ajaxPrefilter((function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")})),C._evalUrl=function(e,t,n){return C.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){C.globalEval(e,t,n)}})},C.fn.extend({wrapAll:function(e){var t;return this[0]&&(v(e)&&(e=e.call(this[0])),t=C(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map((function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e})).append(this)),this},wrapInner:function(e){return v(e)?this.each((function(t){C(this).wrapInner(e.call(this,t))})):this.each((function(){var t=C(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)}))},wrap:function(e){var t=v(e);return this.each((function(n){C(this).wrapAll(t?e.call(this,n):e)}))},unwrap:function(e){return this.parent(e).not("body").each((function(){C(this).replaceWith(this.childNodes)})),this}}),C.expr.pseudos.hidden=function(e){return!C.expr.pseudos.visible(e)},C.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},C.ajaxSettings.xhr=function(){try{return new n.XMLHttpRequest}catch(e){}};var Bt={0:200,1223:204},Ut=C.ajaxSettings.xhr();g.cors=!!Ut&&"withCredentials"in Ut,g.ajax=Ut=!!Ut,C.ajaxTransport((function(e){var t,r;if(g.cors||Ut&&!e.crossDomain)return{send:function(i,o){var s,a=e.xhr();if(a.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(s in e.xhrFields)a[s]=e.xhrFields[s];for(s in e.mimeType&&a.overrideMimeType&&a.overrideMimeType(e.mimeType),e.crossDomain||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest"),i)a.setRequestHeader(s,i[s]);t=function(e){return function(){t&&(t=r=a.onload=a.onerror=a.onabort=a.ontimeout=a.onreadystatechange=null,"abort"===e?a.abort():"error"===e?"number"!=typeof a.status?o(0,"error"):o(a.status,a.statusText):o(Bt[a.status]||a.status,a.statusText,"text"!==(a.responseType||"text")||"string"!=typeof a.responseText?{binary:a.response}:{text:a.responseText},a.getAllResponseHeaders()))}},a.onload=t(),r=a.onerror=a.ontimeout=t("error"),void 0!==a.onabort?a.onabort=r:a.onreadystatechange=function(){4===a.readyState&&n.setTimeout((function(){t&&r()}))},t=t("abort");try{a.send(e.hasContent&&e.data||null)}catch(e){if(t)throw e}},abort:function(){t&&t()}}})),C.ajaxPrefilter((function(e){e.crossDomain&&(e.contents.script=!1)})),C.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return C.globalEval(e),e}}}),C.ajaxPrefilter("script",(function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")})),C.ajaxTransport("script",(function(e){var t,n;if(e.crossDomain||e.scriptAttrs)return{send:function(r,i){t=C("<script>").attr(e.scriptAttrs||{}).prop({charset:e.scriptCharset,src:e.url}).on("load error",n=function(e){t.remove(),n=null,e&&i("error"===e.type?404:200,e.type)}),_.head.appendChild(t[0])},abort:function(){n&&n()}}}));var Yt,zt=[],Wt=/(=)\?(?=&|$)|\?\?/;C.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=zt.pop()||C.expando+"_"+Ct.guid++;return this[e]=!0,e}}),C.ajaxPrefilter("json jsonp",(function(e,t,r){var i,o,s,a=!1!==e.jsonp&&(Wt.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Wt.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return i=e.jsonpCallback=v(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Wt,"$1"+i):!1!==e.jsonp&&(e.url+=(kt.test(e.url)?"&":"?")+e.jsonp+"="+i),e.converters["script json"]=function(){return s||C.error(i+" was not called"),s[0]},e.dataTypes[0]="json",o=n[i],n[i]=function(){s=arguments},r.always((function(){void 0===o?C(n).removeProp(i):n[i]=o,e[i]&&(e.jsonpCallback=t.jsonpCallback,zt.push(i)),s&&v(o)&&o(s[0]),s=o=void 0})),"script"})),g.createHTMLDocument=((Yt=_.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===Yt.childNodes.length),C.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(g.createHTMLDocument?((r=(t=_.implementation.createHTMLDocument("")).createElement("base")).href=_.location.href,t.head.appendChild(r)):t=_),o=!n&&[],(i=M.exec(e))?[t.createElement(i[1])]:(i=xe([e],t,o),o&&o.length&&C(o).remove(),C.merge([],i.childNodes)));var r,i,o},C.fn.load=function(e,t,n){var r,i,o,s=this,a=e.indexOf(" ");return a>-1&&(r=gt(e.slice(a)),e=e.slice(0,a)),v(t)?(n=t,t=void 0):t&&"object"==typeof t&&(i="POST"),s.length>0&&C.ajax({url:e,type:i||"GET",dataType:"html",data:t}).done((function(e){o=arguments,s.html(r?C("<div>").append(C.parseHTML(e)).find(r):e)})).always(n&&function(e,t){s.each((function(){n.apply(this,o||[e.responseText,t,e])}))}),this},C.expr.pseudos.animated=function(e){return C.grep(C.timers,(function(t){return e===t.elem})).length},C.offset={setOffset:function(e,t,n){var r,i,o,s,a,l,c=C.css(e,"position"),u=C(e),d={};"static"===c&&(e.style.position="relative"),a=u.offset(),o=C.css(e,"top"),l=C.css(e,"left"),("absolute"===c||"fixed"===c)&&(o+l).indexOf("auto")>-1?(s=(r=u.position()).top,i=r.left):(s=parseFloat(o)||0,i=parseFloat(l)||0),v(t)&&(t=t.call(e,n,C.extend({},a))),null!=t.top&&(d.top=t.top-a.top+s),null!=t.left&&(d.left=t.left-a.left+i),"using"in t?t.using.call(e,d):u.css(d)}},C.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each((function(t){C.offset.setOffset(this,e,t)}));var t,n,r=this[0];return r?r.getClientRects().length?(t=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:t.top+n.pageYOffset,left:t.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===C.css(r,"position"))t=r.getBoundingClientRect();else{for(t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;e&&(e===n.body||e===n.documentElement)&&"static"===C.css(e,"position");)e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=C(e).offset()).top+=C.css(e,"borderTopWidth",!0),i.left+=C.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-C.css(r,"marginTop",!0),left:t.left-i.left-C.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map((function(){for(var e=this.offsetParent;e&&"static"===C.css(e,"position");)e=e.offsetParent;return e||oe}))}}),C.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},(function(e,t){var n="pageYOffset"===t;C.fn[e]=function(r){return U(this,(function(e,r,i){var o;if(y(e)?o=e:9===e.nodeType&&(o=e.defaultView),void 0===i)return o?o[t]:e[r];o?o.scrollTo(n?o.pageXOffset:i,n?i:o.pageYOffset):e[r]=i}),e,r,arguments.length)}})),C.each(["top","left"],(function(e,t){C.cssHooks[t]=Ue(g.pixelPosition,(function(e,n){if(n)return n=Be(e,t),$e.test(n)?C(e).position()[t]+"px":n}))})),C.each({Height:"height",Width:"width"},(function(e,t){C.each({padding:"inner"+e,content:t,"":"outer"+e},(function(n,r){C.fn[r]=function(i,o){var s=arguments.length&&(n||"boolean"!=typeof i),a=n||(!0===i||!0===o?"margin":"border");return U(this,(function(t,n,i){var o;return y(t)?0===r.indexOf("outer")?t["inner"+e]:t.document.documentElement["client"+e]:9===t.nodeType?(o=t.documentElement,Math.max(t.body["scroll"+e],o["scroll"+e],t.body["offset"+e],o["offset"+e],o["client"+e])):void 0===i?C.css(t,n,a):C.style(t,n,i,a)}),t,s?i:void 0,s)}}))})),C.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],(function(e,t){C.fn[t]=function(e){return this.on(t,e)}})),C.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),C.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),(function(e,t){C.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}));var Zt=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;C.proxy=function(e,t){var n,r,i;if("string"==typeof t&&(n=e[t],t=e,e=n),v(e))return r=a.call(arguments,2),(i=function(){return e.apply(t||this,r.concat(a.call(arguments)))}).guid=e.guid=e.guid||C.guid++,i},C.holdReady=function(e){e?C.readyWait++:C.ready(!0)},C.isArray=Array.isArray,C.parseJSON=JSON.parse,C.nodeName=O,C.isFunction=v,C.isWindow=y,C.camelCase=Z,C.type=x,C.now=Date.now,C.isNumeric=function(e){var t=C.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},C.trim=function(e){return null==e?"":(e+"").replace(Zt,"")},void 0===(r=function(){return C}.apply(t,[]))||(e.exports=r);var Gt=n.jQuery,Xt=n.$;return C.noConflict=function(e){return n.$===C&&(n.$=Xt),e&&n.jQuery===C&&(n.jQuery=Gt),C},void 0===i&&(n.jQuery=n.$=C),C}))},function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.getDayOfWeek=t.getUTM=t.getUrlParam=t.getWeekDay=t.unrender=t.render=t.createElement=t.parseFullName=t.addFakeSdekDeliveryBranch=t.getTYpageLink=t.convertToRUFormatDeliveryDate=t.getDate=t.addPromoCodeToAnswer=t.getPromocodeValue=t.removeFIOFromUserData=t.getRequestError=t.getNearestError=t.deliveryFormatedData=t.removePDFromUserData=t.MD5=t.isEmptyObj=t.capitaliseFirstLetters=void 0;var r=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var s,a=e[Symbol.iterator]();!(r=(s=a.next()).done)&&(n.push(s.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{!r&&a.return&&a.return()}finally{if(i)throw o}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.debounce=function(e,t,n){var r=void 0;return function(){var i=this,o=arguments,s=function(){r=null,n||e.apply(i,o)},a=n&&!r;clearTimeout(r),r=setTimeout(s,t),a&&e.apply(i,o)}},t.throttle=function(e,t){var n=void 0;function r(t,r){requestAnimationFrame((function(){e.apply(t,r),n=0}))}return function(){n||(n=setTimeout(r,t,this,arguments))}},t.getUrlVars=p,t.getUrlVar=function(e){return p()[e]},t.scrollTopForce=function(){"scrollRestoration"in history&&(history.scrollRestoration="manual")},t.getCookie=function(e){var t=document.cookie.match(new RegExp("(?:^|; )"+e.replace(/([\.$?*|{}\(\)\[\]\\\/\+^])/g,"\\$1")+"=([^;]*)"));return t?decodeURIComponent(t[1]):void 0},t.getParameterByName=function(e){e=e.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]");var t=new RegExp("[\\?&]"+e+"=([^&#]*)").exec(location.search);return null===t?"":decodeURIComponent(t[1].replace(/\+/g," "))},t.isVisible=function(e){var t=e.getBoundingClientRect(),n=t.top,r=t.bottom,i=window.innerHeight||document.documentElement.clientHeight;return(n>0||r>0)&&n<i},t.setCookie=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};(n=i({path:"/"},n)).expires.toUTCString&&(n.expires=n.expires.toUTCString());var r=encodeURIComponent(e)+"="+encodeURIComponent(t);for(var o in n){r+="; "+o;var s=n[o];!0!==s&&(r+="="+s)}document.cookie=r},t.numberDivide=function(e){return e?e.toString().replace(/(\d)(?=(\d{3})+([^\d]|$))/g,"$1 "):e},t.declOfNum=function(e,t){return t[e%100>4&&e%100<20?2:[2,0,1,1,1,2][e%10<5?e%10:5]]},t.getYoutubeId=function(e){var t="";t=void 0!==(e=e.replace(/(>|<)/gi,"").split(/(vi\/|v=|\/v\/|youtu\.be\/|\/embed\/)/))[2]?(t=e[2].split(/[^0-9a-z_\-]/i))[0]:e;return t},t.getVimeoId=function(e){return e.match(/(videos|video|channels|\.com)\/([\d]+)/)[2]},t.validDate=function(e){var t=e.split(".");t[1]-=1;var n=new Date(t[2],t[1],t[0]);return n.getFullYear()==t[2]&&n.getMonth()==t[1]&&n.getDate()==t[0]},t.getDateFromDDMMYYYY=m,t.dateShift=function(e,t,n){return e=new Date(e),"y"===n?e.setFullYear(e.getFullYear()+t):"m"===n?e.setMonth(e.getMonth()+t):"d"===n&&e.setDate(e.getDate()+t),e},t.calculateAge=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=new Date(e),i=new Date(t),o=Math.abs(r.getFullYear()-i.getFullYear()),s=n?r.getMonth()-i.getMonth():i.getMonth()-r.getMonth(),a=n?i.getDate()>r.getDate():r.getDate()>i.getDate();(s<0||0===s&&a)&&--o;return Math.abs(o)},t.diffDateDays=function(e,t){var n=new Date(m(e)),r=new Date(m(t)).getTime()-n.getTime();return Math[r>0?"floor":"ceil"](r/864e5)},t.getDateToDDMMYYYY=function(e){return(e.getDate()<10?"0"+e.getDate():e.getDate())+"."+(e.getMonth()<9?"0"+(e.getMonth()+1):e.getMonth()+1)+"."+e.getFullYear()},t.getDateByDuration=function(e,t){return t=t||"P0Y",(0,s.end)((0,s.parse)(t),e)},t.formatPrice=function(e){return e.toString().replace(/(\d)(?=(\d\d\d)+([^\d]|$))/g,"$1 ")},t.plural=function(e,t){return t[e%100>4&&e%100<20?2:[2,0,1,1,1,2][e%10<5?e%10:5]]},t.transliterate=function(e){return e.replace(/\u0401/g,"YO").replace(/\u0419/g,"I").replace(/\u0426/g,"TS").replace(/\u0423/g,"U").replace(/\u041A/g,"K").replace(/\u0415/g,"E").replace(/\u041D/g,"N").replace(/\u0413/g,"G").replace(/\u0428/g,"SH").replace(/\u0429/g,"SCH").replace(/\u0417/g,"Z").replace(/\u0425/g,"H").replace(/\u042A/g,"").replace(/\u0451/g,"yo").replace(/\u0439/g,"i").replace(/\u0446/g,"ts").replace(/\u0443/g,"u").replace(/\u043A/g,"k").replace(/\u0435/g,"e").replace(/\u043D/g,"n").replace(/\u0433/g,"g").replace(/\u0448/g,"sh").replace(/\u0449/g,"sch").replace(/\u0437/g,"z").replace(/\u0445/g,"h").replace(/\u044A/g,"'").replace(/\u0424/g,"F").replace(/\u042B/g,"I").replace(/\u0412/g,"V").replace(/\u0410/g,"a").replace(/\u041F/g,"P").replace(/\u0420/g,"R").replace(/\u041E/g,"O").replace(/\u041B/g,"L").replace(/\u0414/g,"D").replace(/\u0416/g,"ZH").replace(/\u042D/g,"E").replace(/\u0444/g,"f").replace(/\u044B/g,"i").replace(/\u0432/g,"v").replace(/\u0430/g,"a").replace(/\u043F/g,"p").replace(/\u0440/g,"r").replace(/\u043E/g,"o").replace(/\u043B/g,"l").replace(/\u0434/g,"d").replace(/\u0436/g,"zh").replace(/\u044D/g,"e").replace(/\u042F/g,"Ya").replace(/\u0427/g,"CH").replace(/\u0421/g,"S").replace(/\u041C/g,"M").replace(/\u0418/g,"I").replace(/\u0422/g,"T").replace(/\u042C/g,"'").replace(/\u0411/g,"B").replace(/\u042E/g,"YU").replace(/\u044F/g,"ya").replace(/\u0447/g,"ch").replace(/\u0441/g,"s").replace(/\u043C/g,"m").replace(/\u0438/g,"i").replace(/\u0442/g,"t").replace(/\u044C/g,"'").replace(/\u0431/g,"b").replace(/\u044E/g,"yu")};var o,s=n(54),a=n(0),l=(o=a)&&o.__esModule?o:{default:o};n(5);var c="SURNAME",u="NAME",d="PATRONYMIC",f=!1,h={FORM:"."+l.default.config.prefix+"form"};document.querySelector(h.FORM);function p(){for(var e=window.location.href.slice(window.location.href.indexOf("?")+1).split("&"),t=[],n=void 0,r=0;r<e.length;r++)n=e[r].split("="),t.push(n[0]),t[n[0]]=n[1];return t}function m(e){var t=e.split(".");return t[1]-=1,new Date(t[2],t[1],t[0])}t.capitaliseFirstLetters=function(e){var t=e;return e.split(" ")[e.split(" ").length-1][0]&&(t=e.split(/\s+/).map((function(e){if(e[0])return e[0].toUpperCase()+e.substring(1)})).join(" ")),t},t.isEmptyObj=function(e){var t=!0;for(var n in e)t=!1;return t};var g=function(e){return e.split(" ").filter((function(e,t){return t>1})).join(" ")};function v(e,t,n,r,i,o){return x(function(e,t){return e<<t|e>>>32-t}(x(x(t,e),x(r,o)),i),n)}function y(e,t,n,r,i,o,s){return v(t&n|~t&r,e,t,i,o,s)}function _(e,t,n,r,i,o,s){return v(t&r|n&~r,e,t,i,o,s)}function b(e,t,n,r,i,o,s){return v(t^n^r,e,t,i,o,s)}function w(e,t,n,r,i,o,s){return v(n^(t|~r),e,t,i,o,s)}function x(e,t){var n=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(n>>16)<<16|65535&n}var C=function(){var e={source:"(direct)",medium:"(none)",campaign:"(none)",term:"(none)",content:"(none)"};if(l.default.sbjs&&l.default.sbjs.current){var t=JSON.parse(JSON.stringify(l.default.sbjs.current));for(var n in t)t.hasOwnProperty(n)&&("|cnt"!==n&&"| cnt"!==n||(t.cnt=t[n]));e={source:t.src||"(direct)",medium:t.mdm||"(none)",campaign:t.cmp||"(none)",term:t.trm||"(none)",content:t.cnt||"(none)"}}return e},k=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:":",n=e.includes(t)&&e.split(t),r=n.length?{type:n[0],value:n[1]}:null;return r},S=function(e){return"Çàïîëíåíî "+e+" ñèìâîëîâ"};t.MD5=function(e){return function(e){for(var t,n="0123456789ABCDEF",r="",i=0;i<e.length;i++)t=e.charCodeAt(i),r+=n.charAt(t>>>4&15)+n.charAt(15&t);return r}(function(e){for(var t="",n=0;n<32*e.length;n+=8)t+=String.fromCharCode(e[n>>5]>>>n%32&255);return t}(function(e,t){e[t>>5]|=128<<t%32,e[14+(t+64>>>9<<4)]=t;for(var n=1732584193,r=-271733879,i=-1732584194,o=271733878,s=0;s<e.length;s+=16){var a=n,l=r,c=i,u=o;r=w(r=w(r=w(r=w(r=b(r=b(r=b(r=b(r=_(r=_(r=_(r=_(r=y(r=y(r=y(r=y(r,i=y(i,o=y(o,n=y(n,r,i,o,e[s+0],7,-680876936),r,i,e[s+1],12,-389564586),n,r,e[s+2],17,606105819),o,n,e[s+3],22,-1044525330),i=y(i,o=y(o,n=y(n,r,i,o,e[s+4],7,-176418897),r,i,e[s+5],12,1200080426),n,r,e[s+6],17,-1473231341),o,n,e[s+7],22,-45705983),i=y(i,o=y(o,n=y(n,r,i,o,e[s+8],7,1770035416),r,i,e[s+9],12,-1958414417),n,r,e[s+10],17,-42063),o,n,e[s+11],22,-1990404162),i=y(i,o=y(o,n=y(n,r,i,o,e[s+12],7,1804603682),r,i,e[s+13],12,-40341101),n,r,e[s+14],17,-1502002290),o,n,e[s+15],22,1236535329),i=_(i,o=_(o,n=_(n,r,i,o,e[s+1],5,-165796510),r,i,e[s+6],9,-1069501632),n,r,e[s+11],14,643717713),o,n,e[s+0],20,-373897302),i=_(i,o=_(o,n=_(n,r,i,o,e[s+5],5,-701558691),r,i,e[s+10],9,38016083),n,r,e[s+15],14,-660478335),o,n,e[s+4],20,-405537848),i=_(i,o=_(o,n=_(n,r,i,o,e[s+9],5,568446438),r,i,e[s+14],9,-1019803690),n,r,e[s+3],14,-187363961),o,n,e[s+8],20,1163531501),i=_(i,o=_(o,n=_(n,r,i,o,e[s+13],5,-1444681467),r,i,e[s+2],9,-51403784),n,r,e[s+7],14,1735328473),o,n,e[s+12],20,-1926607734),i=b(i,o=b(o,n=b(n,r,i,o,e[s+5],4,-378558),r,i,e[s+8],11,-2022574463),n,r,e[s+11],16,1839030562),o,n,e[s+14],23,-35309556),i=b(i,o=b(o,n=b(n,r,i,o,e[s+1],4,-1530992060),r,i,e[s+4],11,1272893353),n,r,e[s+7],16,-155497632),o,n,e[s+10],23,-1094730640),i=b(i,o=b(o,n=b(n,r,i,o,e[s+13],4,681279174),r,i,e[s+0],11,-358537222),n,r,e[s+3],16,-722521979),o,n,e[s+6],23,76029189),i=b(i,o=b(o,n=b(n,r,i,o,e[s+9],4,-640364487),r,i,e[s+12],11,-421815835),n,r,e[s+15],16,530742520),o,n,e[s+2],23,-995338651),i=w(i,o=w(o,n=w(n,r,i,o,e[s+0],6,-198630844),r,i,e[s+7],10,1126891415),n,r,e[s+14],15,-1416354905),o,n,e[s+5],21,-57434055),i=w(i,o=w(o,n=w(n,r,i,o,e[s+12],6,1700485571),r,i,e[s+3],10,-1894986606),n,r,e[s+10],15,-1051523),o,n,e[s+1],21,-2054922799),i=w(i,o=w(o,n=w(n,r,i,o,e[s+8],6,1873313359),r,i,e[s+15],10,-30611744),n,r,e[s+6],15,-1560198380),o,n,e[s+13],21,1309151649),i=w(i,o=w(o,n=w(n,r,i,o,e[s+4],6,-145523070),r,i,e[s+11],10,-1120210379),n,r,e[s+2],15,718787259),o,n,e[s+9],21,-343485551),n=x(n,a),r=x(r,l),i=x(i,c),o=x(o,u)}return Array(n,r,i,o)}(function(e){for(var t=Array(e.length>>2),n=0;n<t.length;n++)t[n]=0;for(n=0;n<8*e.length;n+=8)t[n>>5]|=(255&e.charCodeAt(n/8))<<n%32;return t}(e),8*e.length))).toLowerCase()},t.removePDFromUserData=function(e){var t=e.request.answer.root;for(var n in t)if(t.hasOwnProperty(n))switch(n){case"name":t[n].name=S(t[n].name?t[n].name.length:0),t[n].patronymic=S(t[n].patronymic?t[n].patronymic.length:0),t[n].surname=S(t[n].surname?t[n].surname.length:0);break;case"passportIssueDate":t.ntb.exists||(t[n]=S(t[n]?t[n].length:0));break;case"passportIssuer":t.ntb.exists||(t[n].issuer=S(t[n]?t[n].issuer.length:0),t[n].issuerCode=S(t[n]?t[n].issuerCode.length:0));break;case"passportSeriesNumber":t.ntb.exists||(t[n].number=S(t[n]?t[n].number.length:0),t[n].series=S(t[n]?t[n].series.length:0))}return e},t.deliveryFormatedData=function(e){var t=l.default.config.prefix,n=document.querySelector("."+t+"form");return{delivery:{address:{kladr:e.suggestions[0].data.kladr_id||null,region:e.suggestions[0].data.region_type_full+" "+e.suggestions[0].data.region||null,city:e.suggestions[0].data.city?"ãîðîä "+e.suggestions[0].data.city:null,street:e.suggestions[0].data.street||null,house:e.suggestions[0].data.house||null,housing:e.suggestions[0].data.block||null,address:e.suggestions[0].value||null}},phone:{phone:n.querySelector('[name="mobilePhone"]').value.replace(/[^\d]/g,""),token:l.default.token},cardType:l.default.config.card.id}},t.getNearestError=function(){var e=l.default.config.env,t=!1;if("dev"===e||"test"===e){var n=new URL(window.location);if(n.searchParams.has("nearestError"))return t=n.searchParams.get("nearestError")}return t},t.getRequestError=function(){var e=l.default.config.env,t=!1;if("dev"===e||"test"===e){var n=new URL(window.location);if(n.searchParams.has("requestError"))return t=n.searchParams.get("requestError")}return t},t.removeFIOFromUserData=function(e){var t=e;for(var n in t)if(t.hasOwnProperty(n))switch(n){case"firstName":case"lastName":case"middleName":t[n]=S(t[n]?t[n].length:0)}return e},t.getPromocodeValue=function(){var e=function(e){if(!e)return null;var t=e.includes("|")&&e.split("|")||e;return Array.isArray(t)?t.map((function(e){return k(e)})):k(t)?[k(t)]:null}(C().content),t=e&&e.length?e.find((function(e){return"promo"===(e&&e.type)})):null;return(t?t.value:null)||l.default.promocode||null},t.addPromoCodeToAnswer=function(e){var t=l.default.promocode;return"(none)"===e?"promo:"+t:e+"|promo:"+t},t.getDate=function(){return"26.03.2021"},t.convertToRUFormatDeliveryDate=function(e){return e=(e=e.replace("/",".").replace("/",".")).split(".")[1]+"."+e.split(".")[0]+"."+e.split(".")[2]},t.getTYpageLink=function(){return new URL(window.location).searchParams.has("TYPageLink")?l.default.props.TYPageLink:l.default.props.TYPageLink?l.default.props.TYPageLink:"https://rzb.ru/7sGdxT"},t.addFakeSdekDeliveryBranch=function(e){if(!f&&!l.default.flags.exists){!function(e){e.data.dictionary.records.forEach((function(e){"550"===e.relations.default.keys[0][0]&&(e.data.address=e.data.address.replace(e.data.address,e.data.address+" (Îòäåëåíèå Ðàéôôàéçåíáàíêà)"))}))}(e);e.data.dictionary.records.push({key:"9999",label:"595, äîïîëíèòåëüíûé îôèñ «Íàãîðíûé»",relations:{default:{dictionaries:["city_delivery"],keys:[["550"]]}},data:{address:"ã. Íèæíèé Íîâãîðîä, óë. Ðîäèîíîâà, äîì 18 (Ïóíêò âûäà÷è ÑÄÝÊ)",code:"595"}}),f=!0}return e},t.parseFullName=function(t,n){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=null,o=r?"previousName":"name";switch(n){case c:i=t.selection?t.selection.data.surname:e('[name="'+o+'"]').val().split(" ")[0];break;case u:i=t.selection?t.selection.data.name:e('[name="'+o+'"]').val().split(" ")[1];break;case d:i=""===(i=t.selection?t.selection.data.patronymic:g(e('[name="'+o+'"]').val()))?null:i}return i},t.createElement=function(e){var t=document.createElement("div");return t.innerHTML=e,t.firstChild},t.render=function(e,t){e.append(t)},t.unrender=function(e){e&&e.remove()},t.getWeekDay=function(e){e=e.split(".").reverse()[1]+"."+e.split(".").reverse()[2]+"."+e.split(".").reverse()[0];return["ÂÑ","ÏÍ","ÂÒ","ÑÐ","×Ò","ÏÒ","ÑÁ"][new Date(e).getDay()]},t.getUrlParam=function(e,t){var n=new RegExp("[?&]"+e+"=([^&#]*)").exec(t);return null==n?"(none)":decodeURI(n[1])||0},t.getUTM=C,t.getDayOfWeek=function(e){var t=e.split("."),n=r(t,3),i=n[0],o=n[1],s=n[2];return e+" "+["ÂÑ","ÏÍ","ÂÒ","ÑÐ","×Ò","ÏÒ","ÑÁ"][new Date(parseInt(s),parseInt(o)-1,parseInt(i)).getDay()]}}).call(this,n(1))},function(e,t,n){"use strict";var r=n(17),i=Object.prototype.toString;function o(e){return"[object Array]"===i.call(e)}function s(e){return void 0===e}function a(e){return null!==e&&"object"==typeof e}function l(e){return"[object Function]"===i.call(e)}function c(e,t){if(null!=e)if("object"!=typeof e&&(e=[e]),o(e))for(var n=0,r=e.length;n<r;n++)t.call(null,e[n],n,e);else for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.call(null,e[i],i,e)}e.exports={isArray:o,isArrayBuffer:function(e){return"[object ArrayBuffer]"===i.call(e)},isBuffer:function(e){return null!==e&&!s(e)&&null!==e.constructor&&!s(e.constructor)&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)},isFormData:function(e){return"undefined"!=typeof FormData&&e instanceof FormData},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&e.buffer instanceof ArrayBuffer},isString:function(e){return"string"==typeof e},isNumber:function(e){return"number"==typeof e},isObject:a,isUndefined:s,isDate:function(e){return"[object Date]"===i.call(e)},isFile:function(e){return"[object File]"===i.call(e)},isBlob:function(e){return"[object Blob]"===i.call(e)},isFunction:l,isStream:function(e){return a(e)&&l(e.pipe)},isURLSearchParams:function(e){return"undefined"!=typeof URLSearchParams&&e instanceof URLSearchParams},isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!=typeof window&&"undefined"!=typeof document)},forEach:c,merge:function e(){var t={};function n(n,r){"object"==typeof t[r]&&"object"==typeof n?t[r]=e(t[r],n):t[r]=n}for(var r=0,i=arguments.length;r<i;r++)c(arguments[r],n);return t},deepMerge:function e(){var t={};function n(n,r){"object"==typeof t[r]&&"object"==typeof n?t[r]=e(t[r],n):t[r]="object"==typeof n?e({},n):n}for(var r=0,i=arguments.length;r<i;r++)c(arguments[r],n);return t},extend:function(e,t,n){return c(t,(function(t,i){e[i]=n&&"function"==typeof t?r(t,n):t})),e},trim:function(e){return e.replace(/^\s*/,"").replace(/\s*$/,"")}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=n(2);var o=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._element=null}return r(e,[{key:"getElement",value:function(){return this._element||(this._element=(0,i.createElement)(this.getTemplate())),this._element}},{key:"removeElement",value:function(){return this._element=null}},{key:"getTemplate",value:function(){throw Error("Abstract method not implemented")}}]),e}();t.default=o},function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.suggestCityDadata=t.trackClient=t.trackPostAnswers=t.trackSendOk=t.trackPostCourierSchedule=t.trackGetCourierSchedule=t.postCourierSchedule=t.getCourierSchedule=t.trackUTM=t.trackAnswerPhone=t.trackValidPhone=t.checkSendingRequest=t.trackUser=t.trackDadataError=t.trackDadata=t.trackOpen=t.trackSMSFaiL=t.trackSMSSucces=void 0;var r,i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=n(0),s=(r=o)&&r.__esModule?r:{default:r},a=n(2);var l=s.default.config.endpoint.trackCPeople,c=(0,a.getCookie)("_ga")?(0,a.getCookie)("_ga").split(".").slice(-2).join("."):null,u={GET_COURIER_SCHEDULE:"https://oapi.raiffeisen.ru/api/fieldom/gateway/nearest",SEND_COURIER_SCHEDULE:"https://oapi.raiffeisen.ru/api/fieldom/gateway/request",CHECK_SENDING_REQUEST:"https://oapi.raiffeisen.ru/api/forms/public/v1.0/forms/debit-card-single-field/64/rate-limits/check?phone=",TRACK_GET_COURIER_SCHEDULE:l+"fieldom/track/nearest",TRACK_POST_COURIER_SCHEDULE:l+"fieldom/track/request",TRACK_POST_SEND_OK:l+"send_ok/track",TRACK_POST_ANSWERS:l+"answers/track",TRACK_UTM:l+"utm/track",TRACK_POST_PHONE_VALID:l+"phone/track/valid/",TRACK_POST_PHONE_ANSWERS:l+"phone/track/application/",TRACK_USER:l+"track/google/id",TRACK_OPEN:l+"track/actions/form/opened",TRACK_DADATA:l+"track/dadata/results",TRACK_DADATA_ERROR:l+"track/dadata/error",TRACK_CLIENT:l+"client/track"},d="POST",f="GET",h={timeout:5e3,dataType:"json",contentType:"application/json",processData:!1,xhrFields:{withCredentials:!0}};t.trackSMSSucces=function(t){return e.ajax(i({url:s.default.config.endpoint.trackCPeople+"track/sms/success?step=1&phone="+encodeURIComponent(t),data:JSON.stringify({form_name:s.default.formName}),type:d},h))},t.trackSMSFaiL=function(t,n,r){return e.ajax(i({url:s.default.config.endpoint.trackCPeople+"track/sms/fail?step=1&phone="+encodeURIComponent(t)+"&status="+encodeURIComponent(n)+"&detail="+encodeURIComponent(r),data:JSON.stringify({form_name:s.default.formName}),type:d},h))},t.trackOpen=function(){return e.ajax(i({url:u.TRACK_OPEN,type:d,data:JSON.stringify({form_name:s.default.formName,formVersion:s.default.formVersion,token:c})},h))},t.trackDadata=function(t){return e.ajax(i({url:u.TRACK_DADATA,type:d,data:JSON.stringify(i({},t,{form_name:s.default.formName,formVersion:s.default.formVersion}))},h))},t.trackDadataError=function(t){return e.ajax(i({url:u.TRACK_DADATA_ERROR,type:d,data:JSON.stringify(i({},t,{form_name:s.default.formName,formVersion:s.default.formVersion}))},h))},t.trackUser=function(t){return e.ajax(i({url:u.TRACK_USER,type:d,data:JSON.stringify(i({},t,{form_name:s.default.formName,formVersion:s.default.formVersion,id:c}))},h))},t.checkSendingRequest=function(t){return e.ajax(i({url:""+u.CHECK_SENDING_REQUEST+t,type:f},h,{timeout:5e3}))},t.trackValidPhone=function(t){return e.ajax(i({url:u.TRACK_POST_PHONE_VALID+(0,a.MD5)(t),type:d,data:JSON.stringify({form_name:s.default.formName,formVersion:s.default.formVersion,token:c})},h))},t.trackAnswerPhone=function(t){return e.ajax(i({url:u.TRACK_POST_PHONE_ANSWERS+(0,a.MD5)(t),type:d,data:JSON.stringify({form_name:s.default.formName,formVersion:s.default.formVersion,token:c})},h))},t.trackUTM=function(t){return e.ajax(i({url:u.TRACK_UTM,type:d,data:JSON.stringify(i({},t,{form_name:s.default.formName,formVersion:s.default.formVersion}))},h))},t.getCourierSchedule=function(t){var n=t.externalSystemId,r=t.cardType,i=t.phone,o=t.token,a=t.kladr,l=t.region,c=t.city,d=t.street,h=t.house,p=t.block,m=t.address;return e.ajax({type:f,url:u.GET_COURIER_SCHEDULE+"?ExternalSystemId="+(n||"")+"&ProductId="+(r?r+"-"+(s.default.props.payment||"VISA")+"-"+(s.default.props.currency||"RUB"):"")+"&phoneNumber="+i+"&token="+encodeURIComponent(o)+"&Address.KladrCode="+(a||"")+"&Address.Region="+(l?encodeURI(l):"")+"&Address.City="+(c?encodeURI(c):"")+"&Address.Street="+(d?encodeURI(d):"")+"&Address.House="+(h?encodeURI(h):"")+"&Address.Block="+(p?encodeURI(p):"")+"&Address.FullAddress="+(m?encodeURI(m):""),timeout:1e4})},t.postCourierSchedule=function(t){return e.ajax(i({url:u.SEND_COURIER_SCHEDULE,type:d,data:t},h,{timeout:1e4}))},t.trackGetCourierSchedule=function(t){return e.ajax(i({url:u.TRACK_GET_COURIER_SCHEDULE,type:d,data:JSON.stringify(i({},JSON.parse(t),{form_name:s.default.formName}))},h))},t.trackPostCourierSchedule=function(t){return e.ajax(i({url:u.TRACK_POST_COURIER_SCHEDULE,type:d,data:JSON.stringify(i({},JSON.parse(t),{form_name:s.default.formName}))},h))},t.trackSendOk=function(t){return s.default.debug&&console.log("fieldom:api -> trackSendOk(data) -> data:",t),e.ajax(i({url:u.TRACK_POST_SEND_OK,type:d,data:JSON.stringify(i({},t,{form_name:s.default.formName,formVersion:s.default.formVersion}))},h))},t.trackPostAnswers=function(t){return e.ajax(i({url:u.TRACK_POST_ANSWERS,type:d,data:JSON.stringify((0,a.removePDFromUserData)(i({},t,{form_name:s.default.formName,formVersion:s.default.formVersion})))},h))},t.trackClient=function(t){return e.ajax(i({url:u.TRACK_CLIENT,type:d,data:JSON.stringify(i({},t,{form_name:s.default.formName,formVersion:s.default.formVersion}))},h))},t.suggestCityDadata=function(t){var n={query:t,count:10},r={type:"POST",contentType:"application/json",headers:{Authorization:"Token "+s.default.config.dadata},timeout:5e3,data:JSON.stringify(n)};return e.ajax("https://suggestions.dadata.ru/suggestions/api/4_1/rs/suggest/address",r)}}).call(this,n(1))},function(e,t,n){"use strict";n.r(t),n.d(t,"TrackJS",(function(){return r})); //! TrackJS JavaScript error monitoring agent. //! COPYRIGHT (c) 2020 ALL RIGHTS RESERVED //! See License at https://trackjs.com/terms/ var r=function(e,t,n){var r=function(e,t){this.config=e,this.onError=t,e.enabled&&this.watch()};r.prototype={watch:function(){h.forEach(["EventTarget","Node","XMLHttpRequest"],(function(t){h.has(e,t+".prototype.addEventListener")&&h.hasOwn(e[t].prototype,"addEventListener")&&this.wrapEventTarget(e[t].prototype)}),this),this.wrapTimer("setTimeout"),this.wrapTimer("setInterval")},wrap:function(e){function t(){try{return e.apply(this,arguments)}catch(e){throw i.onError("catch",e,{bindTime:n,bindStack:r}),h.wrapError(e)}}var n,r,i=this;try{if(!h.isFunction(e)||h.hasOwn(e,"__trackjs__"))return e;if(h.hasOwn(e,"__trackjs_state__"))return e.__trackjs_state__}catch(t){return e}if(i.config.bindStack)try{throw Error()}catch(e){r=e.stack,n=h.isoNow()}for(var o in e)h.hasOwn(e,o)&&(t[o]=e[o]);return t.prototype=e.prototype,t.__trackjs__=!0,e.__trackjs_state__=t},wrapEventTarget:function(e){var t=this;h.has(e,"addEventListener.call")&&h.has(e,"removeEventListener.call")&&(h.patch(e,"addEventListener",(function(e){return function(n,r,i,o){try{h.has(r,"handleEvent")&&(r.handleEvent=t.wrap(r.handleEvent))}catch(e){}return e.call(this,n,t.wrap(r),i,o)}})),h.patch(e,"removeEventListener",(function(e){return function(t,n,r,i){try{n=n&&(n.__trackjs_state__||n)}catch(e){}return e.call(this,t,n,r,i)}})))},wrapTimer:function(t){var n=this;h.patch(e,t,(function(e){return function(t,r){var i=Array.prototype.slice.call(arguments),o=i[0];return h.isFunction(o)&&(i[0]=n.wrap(o)),h.has(e,"apply")?e.apply(this,i):e(i[0],i[1])}}))}};var i=function(e){this.initCurrent(e)||console.warn("[TrackJS] invalid config")};i.prototype={current:{},initOnly:{application:!0,cookie:!0,enabled:!0,token:!0,callback:{enabled:!0},console:{enabled:!0},navigation:{enabled:!0},network:{enabled:!0,fetch:!0},visitor:{enabled:!0},window:{enabled:!0,promise:!0}},defaults:{application:"",cookie:!1,dedupe:!0,dependencies:!0,enabled:!0,errorURL:"https://capture.trackjs.com/capture",errorNoSSLURL:"http://capture.trackjs.com/capture",faultURL:"https://usage.trackjs.com/fault.gif",onError:function(){return!0},serialize:function(e){function t(e){var t="<"+e.tagName.toLowerCase();e=e.attributes||[];for(var n=0;n<e.length;n++)t+=" "+e[n].name+'="'+e[n].value+'"';return t+">"}if(""===e)return"Empty String";if(e===n)return"undefined";if(h.isString(e)||h.isNumber(e)||h.isBoolean(e)||h.isFunction(e))return""+e;if(h.isElement(e))return t(e);if("symbol"==typeof e)return Symbol.prototype.toString.call(e);var r;try{r=JSON.stringify(e,(function(e,r){return r===n?"undefined":h.isNumber(r)&&isNaN(r)?"NaN":h.isError(r)?{name:r.name,message:r.message,stack:r.stack}:h.isElement(r)?t(r):r}))}catch(t){for(var i in r="",e)e.hasOwnProperty(i)&&(r+=',"'+i+'":"'+e[i]+'"');r=r?"{"+r.replace(",","")+"}":"Unserializable Object"}return r.replace(/"undefined"/g,"undefined").replace(/"NaN"/g,"NaN")},sessionId:"",token:"",userId:"",version:"",callback:{enabled:!0,bindStack:!1},console:{enabled:!0,display:!0,error:!0,warn:!1,watch:["log","debug","info","warn","error"]},navigation:{enabled:!0},network:{enabled:!0,error:!0,fetch:!0},visitor:{enabled:!0},usageURL:"https://usage.trackjs.com/usage.gif",window:{enabled:!0,promise:!0}},initCurrent:function(e){return this.removeEmpty(e),this.validate(e,this.defaults,"[TrackJS] config",{})?(this.current=h.defaultsDeep({},e,this.defaults),!0):(this.current=h.defaultsDeep({},this.defaults),!1)},setCurrent:function(e){return!!this.validate(e,this.defaults,"[TrackJS] config",this.initOnly)&&(this.current=h.defaultsDeep({},e,this.current),!0)},removeEmpty:function(e){for(var t in e)e.hasOwnProperty(t)&&e[t]===n&&delete e[t]},validate:function(e,t,n,r){var i=!0;for(var o in n=n||"",r=r||{},e)if(e.hasOwnProperty(o))if(t.hasOwnProperty(o)){var s=typeof t[o];s!==typeof e[o]?(console.warn(n+"."+o+": property must be type "+s+"."),i=!1):"[object Array]"!==Object.prototype.toString.call(e[o])||this.validateArray(e[o],t[o],n+"."+o)?"[object Object]"===Object.prototype.toString.call(e[o])?i=this.validate(e[o],t[o],n+"."+o,r[o]):r.hasOwnProperty(o)&&(console.warn(n+"."+o+": property cannot be set after load."),i=!1):i=!1}else console.warn(n+"."+o+": property not supported."),i=!1;return i},validateArray:function(e,t,n){var r=!0;n=n||"";for(var i=0;i<e.length;i++)h.contains(t,e[i])||(console.warn(n+"["+i+"]: invalid value: "+e[i]+"."),r=!1);return r}};var o=function(e,t,n,r,i,o,s){this.util=e,this.log=t,this.onError=n,this.onFault=r,this.serialize=i,s.enabled&&(o.console=this.wrapConsoleObject(o.console,s))};o.prototype={wrapConsoleObject:function(e,t){var n,r=(e=e||{}).log||function(){},i=this;for(n=0;n<t.watch.length;n++)!function(n){var o=e[n]||r;e[n]=function(){try{var e=Array.prototype.slice.call(arguments);if(i.log.add("c",{timestamp:i.util.isoNow(),severity:n,message:i.serialize(1===e.length?e[0]:e)}),t[n])if(h.isError(e[0])&&1===e.length)i.onError("console",e[0]);else try{throw Error(i.serialize(1===e.length?e[0]:e))}catch(e){i.onError("console",e)}t.display&&(i.util.hasFunction(o,"apply")?o.apply(this,e):o(e[0]))}catch(e){i.onFault(e)}}}(t.watch[n]);return e},report:function(){return this.log.all("c")}};var s=function(e,t,n,r,i){this.config=e,this.util=t,this.log=n,this.window=r,this.document=i,this.correlationId=this.token=null,this.initialize()};s.prototype={initialize:function(){this.token=this.getCustomerToken(),this.correlationId=this.getCorrelationId()},getCustomerToken:function(){if(this.config.current.token)return this.config.current.token;var e=this.document.getElementsByTagName("script");return e[e.length-1].getAttribute("data-token")},getCorrelationId:function(){var e;if(!this.config.current.cookie)return this.util.uuid();try{(e=this.document.cookie.replace(/(?:(?:^|.*;\s*)TrackJS\s*\=\s*([^;]*).*$)|^.*$/,"$1"))||(e=this.util.uuid(),this.document.cookie="TrackJS="+e+"; expires=Fri, 31 Dec 9999 23:59:59 GMT; path=/")}catch(t){e=this.util.uuid()}return e},report:function(){return{application:this.config.current.application,correlationId:this.correlationId,sessionId:this.config.current.sessionId,token:this.token,userId:this.config.current.userId,version:this.config.current.version}}};var a=function(e){this.config=e,this.loadedOn=(new Date).getTime(),this.originalUrl=h.getLocation(),this.referrer=t.referrer};a.prototype={discoverDependencies:function(){var t={TrackJS:"3.7.4"};for(var n in e.jQuery&&e.jQuery.fn&&e.jQuery.fn.jquery&&(t.jQuery=e.jQuery.fn.jquery),e.jQuery&&e.jQuery.ui&&e.jQuery.ui.version&&(t.jQueryUI=e.jQuery.ui.version),e.angular&&e.angular.version&&e.angular.version.full&&(t.angular=e.angular.version.full),e)if("_trackJs"!==n&&"_trackJS"!==n&&"_trackjs"!==n&&"webkitStorageInfo"!==n&&"webkitIndexedDB"!==n&&"top"!==n&&"parent"!==n&&"frameElement"!==n)try{if(e[n]){var r=e[n].version||e[n].Version||e[n].VERSION;"string"==typeof r&&(t[n]=r)}}catch(e){}return t.TrackJS&&t.trackJs&&delete t.trackJs,t},report:function(){return{age:(new Date).getTime()-this.loadedOn,dependencies:this.config.current.dependencies?this.discoverDependencies():{trackJs:"3.7.4"},originalUrl:this.originalUrl,referrer:this.referrer,userAgent:e.navigator.userAgent,viewportHeight:e.document.documentElement.clientHeight,viewportWidth:e.document.documentElement.clientWidth}}};var l=function(e){this.util=e,this.appender=[],this.maxLength=30};l.prototype={all:function(e){var t,n,r=[];for(n=0;n<this.appender.length;n++)(t=this.appender[n])&&t.category===e&&r.push(t.value);return r},clear:function(){this.appender.length=0},truncate:function(){this.appender.length>this.maxLength&&(this.appender=this.appender.slice(Math.max(this.appender.length-this.maxLength,0)))},add:function(e,t){var n=this.util.uuid();return this.appender.push({key:n,category:e,value:t}),this.truncate(),n},get:function(e,t){var n,r;for(r=0;r<this.appender.length;r++)if((n=this.appender[r]).category===e&&n.key===t)return n.value;return!1}};var c=function(e){var t={};return{addMetadata:function(e,n){t[e]=n},removeMetadata:function(e){delete t[e]},report:function(){var n,r=[];for(n in t)t.hasOwnProperty(n)&&r.push({key:n,value:e(t[n])});return r},store:t}},u=function(e,t){this.log=e,this.options=t,t.enabled&&this.watch()};u.prototype={isCompatible:function(t){return t=t||e,!h.has(t,"chrome.app.runtime")&&h.has(t,"addEventListener")&&h.has(t,"history.pushState")},record:function(e,t,n){this.log.add("h",{type:e,from:h.truncate(t,250),to:h.truncate(n,250),on:h.isoNow()})},report:function(){return this.log.all("h")},watch:function(){if(this.isCompatible()){var t=this,n=h.getLocationURL().relative;e.addEventListener("popstate",(function(){var e=h.getLocationURL().relative;t.record("popState",n,e),n=e}),!0),h.forEach(["pushState","replaceState"],(function(e){h.patch(history,e,(function(r){return function(){n=h.getLocationURL().relative;var i=r.apply(this,arguments),o=h.getLocationURL().relative;return t.record(e,n,o),n=o,i}}))}))}}};var d=function(e,t,n,r,i,o){this.util=e,this.log=t,this.onError=n,this.onFault=r,this.window=i,this.options=o,o.enabled&&this.initialize(i)};d.prototype={initialize:function(e){e.XMLHttpRequest&&this.util.hasFunction(e.XMLHttpRequest.prototype.open,"apply")&&this.watchNetworkObject(e.XMLHttpRequest),e.XDomainRequest&&this.util.hasFunction(e.XDomainRequest.prototype.open,"apply")&&this.watchNetworkObject(e.XDomainRequest),this.options.fetch&&h.isWrappableFunction(e.fetch)&&this.watchFetch()},watchFetch:function(){var t=this.log,n=this.options,r=this.onError;h.patch(e,"fetch",(function(i){return function(o,s){var a;try{throw Error()}catch(e){a=e.stack}var l=o instanceof Request?o.url:o,c=o instanceof Request?o.method:(s||{}).method||"GET",u=i.apply(e,arguments);return u.__trackjs_state__=t.add("n",{type:"fetch",startedOn:h.isoNow(),method:c,url:h.truncate(l,2e3)}),u.then((function(e){var i=t.get("n",u.__trackjs_state__);if(i){h.defaults(i,{completedOn:h.isoNow(),statusCode:e.status,statusText:e.statusText});var o=e.headers.get("trackjs-correlation-id");o&&(i.requestCorrelationId=o),n.error&&400<=e.status&&((i=Error(i.statusCode+" "+i.statusText+": "+i.method+" "+i.url)).stack=a,r("ajax",i))}return e})).catch((function(e){e=e||{};var i=t.get("n",u.__trackjs_state__);throw i&&(h.defaults(i,{completedOn:h.isoNow(),statusCode:0,statusText:e.toString()}),n.error&&(r("ajax",{name:e.name,message:(e.message||"Failed")+": "+i.method+" "+i.url,stack:e.stack||a}),e.__trackjs_state__=!0)),e}))}}))},watchNetworkObject:function(e){var t=this,n=e.prototype.open,r=e.prototype.send;return e.prototype.open=function(e,t){var r=(t||"").toString();return 0>r.indexOf("localhost:0")&&(this._trackJs={method:e,url:r}),n.apply(this,arguments)},e.prototype.send=function(){try{if(!this._trackJs)return r.apply(this,arguments);this._trackJs.logId=t.log.add("n",{type:"xhr",startedOn:t.util.isoNow(),method:this._trackJs.method,url:h.truncate(this._trackJs.url,2e3)}),t.listenForNetworkComplete(this)}catch(e){t.onFault(e)}return r.apply(this,arguments)},e},listenForNetworkComplete:function(e){var t=this;t.window.ProgressEvent&&e.addEventListener&&e.addEventListener("readystatechange",(function(){4===e.readyState&&t.finalizeNetworkEvent(e)}),!0),e.addEventListener?e.addEventListener("load",(function(){t.finalizeNetworkEvent(e),t.checkNetworkFault(e)}),!0):setTimeout((function(){try{var n=e.onload;e.onload=function(){t.finalizeNetworkEvent(e),t.checkNetworkFault(e),"function"==typeof n&&t.util.hasFunction(n,"apply")&&n.apply(e,arguments)};var r=e.onerror;e.onerror=function(){t.finalizeNetworkEvent(e),t.checkNetworkFault(e),"function"==typeof oldOnError&&r.apply(e,arguments)}}catch(e){t.onFault(e)}}),0)},finalizeNetworkEvent:function(e){if(e._trackJs){var t=this.log.get("n",e._trackJs.logId);t&&(t.completedOn=this.util.isoNow(),e.getAllResponseHeaders&&e.getResponseHeader&&0<=(e.getAllResponseHeaders()||"").toLowerCase().indexOf("trackjs-correlation-id")&&(t.requestCorrelationId=e.getResponseHeader("trackjs-correlation-id")),t.statusCode=1223==e.status?204:e.status,t.statusText=1223==e.status?"No Content":e.statusText)}},checkNetworkFault:function(e){if(this.options.error&&400<=e.status&&1223!=e.status){var t=e._trackJs||{};this.onError("ajax",e.status+" "+e.statusText+": "+t.method+" "+t.url)}},report:function(){return this.log.all("n")}};var f=function(t,n){this.util=t,this.config=n,this.disabled=!1,this.throttleStats={attemptCount:0,throttledCount:0,lastAttempt:(new Date).getTime()},e.JSON&&e.JSON.stringify||(this.disabled=!0)};f.prototype={errorEndpoint:function(t){var n=this.config.current.errorURL;return this.util.testCrossdomainXhr()||-1!==e.location.protocol.indexOf("https")||(n=this.config.current.errorNoSSLURL),n+"?token="+t+"&v=3.7.4"},usageEndpoint:function(e){return this.appendObjectAsQuery(e,this.config.current.usageURL)},trackerFaultEndpoint:function(e){return this.appendObjectAsQuery(e,this.config.current.faultURL)},appendObjectAsQuery:function(e,t){for(var n in t+="?",e)e.hasOwnProperty(n)&&(t+=encodeURIComponent(n)+"="+encodeURIComponent(e[n])+"&");return t},getCORSRequest:function(t,n){var r;return this.util.testCrossdomainXhr()?((r=new e.XMLHttpRequest).open(t,n),r.setRequestHeader("Content-Type","text/plain")):void 0!==e.XDomainRequest?(r=new e.XDomainRequest).open(t,n):r=null,r},sendTrackerFault:function(e){this.throttle(e)||(t.createElement("img").src=this.trackerFaultEndpoint(e))},sendUsage:function(e){t.createElement("img").src=this.usageEndpoint(e)},sendError:function(t,r){var i=this;if(!this.disabled&&!this.throttle(t))try{var o=this.getCORSRequest("POST",this.errorEndpoint(r));o.onreadystatechange=function(){4!==o.readyState||h.contains([200,202],o.status)||(i.disabled=!0)},o._trackJs=n,o.send(e.JSON.stringify(t))}catch(e){throw this.disabled=!0,e}},throttle:function(e){var t=(new Date).getTime();if(this.throttleStats.attemptCount++,this.throttleStats.lastAttempt+1e3>=t){if(this.throttleStats.lastAttempt=t,10<this.throttleStats.attemptCount)return this.throttleStats.throttledCount++,!0}else e.throttled=this.throttleStats.throttledCount,this.throttleStats.attemptCount=0,this.throttleStats.lastAttempt=t,this.throttleStats.throttledCount=0;return!1}};var h=function(){function r(e,t,o,s){return o=o||!1,s=s||0,h.forEach(t,(function(t){h.forEach(h.keys(t),(function(a){null===t[a]||t[a]===n?e[a]=t[a]:o&&10>s&&"[object Object]"===i(t[a])?(e[a]=e[a]||{},r(e[a],[t[a]],o,s+1)):e.hasOwnProperty(a)||(e[a]=t[a])}))})),e}function i(e){return Object.prototype.toString.call(e)}return{addEventListenerSafe:function(e,t,n,r){e.addEventListener?e.addEventListener(t,n,r):e.attachEvent&&e.attachEvent("on"+t,n)},afterDocumentLoad:function(e){var n=!1;"complete"===t.readyState?h.defer(e):(h.addEventListenerSafe(t,"readystatechange",(function(){"complete"!==t.readyState||n||(h.defer(e),n=!0)})),setTimeout((function(){n||(h.defer(e),n=!0)}),1e4))},bind:function(e,t){return function(){return e.apply(t,Array.prototype.slice.call(arguments))}},contains:function(e,t){return 0<=e.indexOf(t)},defaults:function(e){return r(e,Array.prototype.slice.call(arguments,1),!1)},defaultsDeep:function(e){return r(e,Array.prototype.slice.call(arguments,1),!0)},defer:function(e,t){setTimeout((function(){e.apply(t)}))},forEach:function(e,t,n){if(h.isArray(e)){if(e.forEach)return e.forEach(t,n);for(var r=0;r<e.length;)t.call(n,e[r],r,e),r++}},getLocation:function(){return e.location.toString().replace(/ /g,"%20")},getLocationURL:function(){return h.parseURL(h.getLocation())},has:function(e,t){try{for(var n=t.split("."),r=e,i=0;i<n.length;i++){if(!r[n[i]])return!1;r=r[n[i]]}return!0}catch(e){return!1}},hasFunction:function(e,t){try{return!!e[t]}catch(e){return!1}},hasOwn:function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},isArray:function(e){return"[object Array]"===i(e)},isBoolean:function(e){return"boolean"==typeof e||h.isObject(e)&&"[object Boolean]"===i(e)},isBrowserIE:function(t){var n=(t=t||e.navigator.userAgent).match(/Trident\/([\d.]+)/);return n&&"7.0"===n[1]?11:!!(t=t.match(/MSIE ([\d.]+)/))&&parseInt(t[1],10)},isBrowserSupported:function(){var e=this.isBrowserIE();return!e||8<=e},isError:function(e){if(!h.isObject(e))return!1;var t=i(e);return"[object Error]"===t||"[object DOMException]"===t||h.isString(e.name)&&h.isString(e.message)},isElement:function(e){return h.isObject(e)&&1===e.nodeType},isFunction:function(e){return!(!e||"function"!=typeof e)},isNumber:function(e){return"number"==typeof e||h.isObject(e)&&"[object Number]"===i(e)},isObject:function(e){return!(!e||"object"!=typeof e)},isString:function(e){return"string"==typeof e||!h.isArray(e)&&h.isObject(e)&&"[object String]"===i(e)},isWrappableFunction:function(e){return this.isFunction(e)&&this.hasFunction(e,"apply")},isoNow:function(){var e=new Date;return e.toISOString?e.toISOString():e.getUTCFullYear()+"-"+this.pad(e.getUTCMonth()+1)+"-"+this.pad(e.getUTCDate())+"T"+this.pad(e.getUTCHours())+":"+this.pad(e.getUTCMinutes())+":"+this.pad(e.getUTCSeconds())+"."+String((e.getUTCMilliseconds()/1e3).toFixed(3)).slice(2,5)+"Z"},keys:function(e){if(!h.isObject(e))return[];var t,n=[];for(t in e)e.hasOwnProperty(t)&&n.push(t);return n},noop:function(){},pad:function(e){return 1===(e=String(e)).length&&(e="0"+e),e},parseURL:function(e){var t=e.match(/^(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);return t?((t={protocol:t[2],host:t[4],path:t[5],query:t[6],hash:t[8]}).origin=(t.protocol||"")+"://"+(t.host||""),t.relative=(t.path||"")+(t.query||"")+(t.hash||""),t.href=e,t):{}},patch:function(e,t,n){e[t]=n(e[t]||h.noop)},testCrossdomainXhr:function(){return"withCredentials"in new XMLHttpRequest},truncate:function(e,t){if((e=""+e).length<=t)return e;var n=e.length-t;return e.substr(0,t)+"...{"+n+"}"},tryGet:function(e,t){try{return e[t]}catch(e){}},uuid:function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(e){var t=16*Math.random()|0;return("x"==e?t:3&t|8).toString(16)}))},wrapError:function(e){var t=e||Object.prototype.toString.call(e);if(t&&t.innerError)return e;var n=Error("TrackJS Caught: "+(t.message||t));return n.description="TrackJS Caught: "+t.description,n.file=t.file,n.line=t.line||t.lineNumber,n.column=t.column||t.columnNumber,n.stack=t.stack,n.innerError=e,n}}}(),p=function(e,t,n,r,i,o){this.util=e,this.log=t,this.onError=n,this.onFault=r,this.options=o,this.document=i,o.enabled&&this.initialize(i)};p.prototype={initialize:function(e){var t=this.util.bind(this.onDocumentClicked,this),n=this.util.bind(this.onInputChanged,this);e.addEventListener?(e.addEventListener("click",t,!0),e.addEventListener("blur",n,!0)):e.attachEvent&&(e.attachEvent("onclick",t),e.attachEvent("onfocusout",n))},onDocumentClicked:function(e){try{var t=this.getElementFromEvent(e);t&&t.tagName&&(this.isDescribedElement(t,"a")||this.isDescribedElement(t,"button")||this.isDescribedElement(t,"input",["button","submit"])?this.writeVisitorEvent(t,"click"):this.isDescribedElement(t,"input",["checkbox","radio"])&&this.writeVisitorEvent(t,"input",t.value,t.checked))}catch(e){this.onFault(e)}},onInputChanged:function(e){try{var t=this.getElementFromEvent(e);t&&t.tagName&&(this.isDescribedElement(t,"textarea")?this.writeVisitorEvent(t,"input",t.value):this.isDescribedElement(t,"select")&&t.options&&t.options.length?this.onSelectInputChanged(t):this.isDescribedElement(t,"input")&&!this.isDescribedElement(t,"input",["button","submit","hidden","checkbox","radio"])&&this.writeVisitorEvent(t,"input",t.value))}catch(e){this.onFault(e)}},onSelectInputChanged:function(e){if(e.multiple)for(var t=0;t<e.options.length;t++)e.options[t].selected&&this.writeVisitorEvent(e,"input",e.options[t].value);else 0<=e.selectedIndex&&e.options[e.selectedIndex]&&this.writeVisitorEvent(e,"input",e.options[e.selectedIndex].value)},writeVisitorEvent:function(e,t,r,i){"password"===this.getElementType(e)&&(r=n);var o=this.getElementAttributes(e);e.innerText&&(o.__trackjs_element_text=this.util.truncate(e.innerText,500)),this.log.add("v",{timestamp:this.util.isoNow(),action:t,element:{tag:e.tagName.toLowerCase(),attributes:o,value:this.getMetaValue(r,i)}})},getElementFromEvent:function(e){return e.target||t.elementFromPoint(e.clientX,e.clientY)},isDescribedElement:function(e,t,n){if(e.tagName.toLowerCase()!==t.toLowerCase())return!1;if(!n)return!0;for(e=this.getElementType(e),t=0;t<n.length;t++)if(n[t]===e)return!0;return!1},getElementType:function(e){return(e.getAttribute("type")||"").toLowerCase()},getElementAttributes:function(e){for(var t={},n=Math.min(e.attributes.length,10),r=0;r<n;r++){var i=e.attributes[r];h.contains(["data-value","value"],i.name.toLowerCase())||(t[i.name]=h.truncate(i.value,100))}return t},getMetaValue:function(e,t){return e===n?n:{length:e.length,pattern:this.matchInputPattern(e),checked:t}},matchInputPattern:function(e){return""===e?"empty":/^[a-z0-9!#$%&'*+=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$/.test(e)?"email":/^(0?[1-9]|[12][0-9]|3[01])[\/\-](0?[1-9]|1[012])[\/\-]\d{4}$/.test(e)||/^(\d{4}[\/\-](0?[1-9]|1[012])[\/\-]0?[1-9]|[12][0-9]|3[01])$/.test(e)?"date":/^(?:(?:\+?1\s*(?:[.-]\s*)?)?(?:\(\s*([2-9]1[02-9]|[2-9][02-8]1|[2-9][02-8][02-9])\s*\)|([2-9]1[02-9]|[2-9][02-8]1|[2-9][02-8][02-9]))\s*(?:[.-]\s*)?)?([2-9]1[02-9]|[2-9][02-9]1|[2-9][02-9]{2})\s*(?:[.-]\s*)?([0-9]{4})(?:\s*(?:#|x\.?|ext\.?|extension)\s*(\d+))?$/.test(e)?"usphone":/^\s*$/.test(e)?"whitespace":/^\d*$/.test(e)?"numeric":/^[a-zA-Z]*$/.test(e)?"alpha":/^[a-zA-Z0-9]*$/.test(e)?"alphanumeric":"characters"},report:function(){return this.log.all("v")}};var m=function(e,t,n,r,i){this.onError=e,this.onFault=t,this.serialize=n,i.enabled&&this.watchWindowErrors(r),i.promise&&this.watchPromiseErrors(r)};m.prototype={watchPromiseErrors:function(e){var t=this;e.addEventListener?e.addEventListener("unhandledrejection",(function(e){if((e=(e=e||{}).detail?h.tryGet(e.detail,"reason"):h.tryGet(e,"reason"))!==n&&!e.__trackjs_state__){if(!h.isError(e))try{throw Error(t.serialize(e))}catch(t){e=t}t.onError("promise",e)}})):e.onunhandledrejection=function(e){t.onError("promise",e)}},watchWindowErrors:function(e){var t=this;h.patch(e,"onerror",(function(e){return function(n,r,i,o,s){try{(s=s||{}).message=s.message||t.serialize(n),s.name=s.name||"Error",s.line=s.line||parseInt(i,10)||null,s.column=s.column||parseInt(o,10)||null,"[object Event]"!==Object.prototype.toString.call(n)||r?s.file=s.file||t.serialize(r):s.file=(n.target||{}).src,t.onError("window",s)}catch(e){t.onFault(e)}e.apply(this,arguments)}}))}};var g,v,y=function(){this.hasInstalled=!1,this.hasEnabled=!0,this.window=e,this.document=t,this.util=h,this.install=h.bind(this.install,this),this.onError=h.bind(this.onError,this),this.onFault=h.bind(this.onFault,this),this.serialize=h.bind(this.serialize,this),this.log=new l(h),this.metadata=new c(this.serialize);var n=e&&(e._trackJs||e._trackJS||e._trackjs);n&&this.install(n)};return y.prototype={install:function(e){try{if(void 0===t)return this.warn("monitoring disabled in node"),!1;if(!h.has(e,"token"))return this.warn("missing token"),!1;if(this.hasInstalled)return this.warn("already installed"),!1;if(this.config=new i(e),this.transmitter=new f(this.util,this.config),this.environment=new a(this.config),this.customer=new s(this.config,this.util,this.log,this.window,this.document),!this.config.current.enabled)return this.hasEnabled=!1;if(this.windowConsoleWatcher=new o(this.util,this.log,this.onError,this.onFault,this.serialize,this.window,this.config.current.console),!this.util.isBrowserSupported())return!1;this.callbackWatcher=new r(this.config.current.callback,this.onError,this.onFault),this.visitorWatcher=new p(this.util,this.log,this.onError,this.onFault,this.document,this.config.current.visitor),this.navigationWatcher=new u(this.log,this.config.current.navigation),this.networkWatcher=new d(this.util,this.log,this.onError,this.onFault,this.window,this.config.current.network),this.windowWatcher=new m(this.onError,this.onFault,this.serialize,this.window,this.config.current.window);var n=this;return h.afterDocumentLoad((function(){n.transmitter.sendUsage({token:n.customer.token,correlationId:n.customer.correlationId,application:n.config.current.application,x:n.util.uuid()})})),this.hasInstalled=!0}catch(e){return this.onFault(e),!1}},pub:function(){var e=this,t={addMetadata:this.metadata.addMetadata,attempt:function(t,n){try{var r=Array.prototype.slice.call(arguments,2);return t.apply(n||this,r)}catch(t){throw e.onError("catch",t),h.wrapError(t)}},configure:function(t){return!e.hasInstalled&&e.hasEnabled?(e.warn("agent must be installed"),!1):e.config.setCurrent(t)},hash:"beb0369dbac9bcfc0d410a7c5ebc1b67044f4937",isInstalled:function(){return e.hasInstalled},install:this.install,removeMetadata:this.metadata.removeMetadata,track:function(t){if(!e.hasInstalled&&e.hasEnabled)e.warn("agent must be installed");else{var n=h.isError(t)?t.message:e.serialize(t);if(!(t=t||{}).stack)try{throw Error(n)}catch(e){t=e}e.onError("direct",t)}},version:"3.7.4",watch:function(t,n){return function(){try{var r=Array.prototype.slice.call(arguments,0);return t.apply(n||this,r)}catch(t){throw e.onError("catch",t),h.wrapError(t)}}},watchAll:function(e){var t,n=Array.prototype.slice.call(arguments,1);for(t in e)"function"!=typeof e[t]||h.contains(n,t)||(e[t]=this.watch(e[t],e));return e}};return new o(h,e.log,e.onError,e.onFault,e.serialize,t,i.prototype.defaults.console),t},onError:(v=!1,function(t,n,r){if(this.hasInstalled&&this.hasEnabled&&h.isBrowserSupported())try{if(r=r||{bindStack:null,bindTime:null,force:!1},n&&h.isError(n)||(n={name:"Error",message:this.serialize(n,r.force)}),-1===n.message.indexOf("TrackJS Caught"))if(v&&-1!==n.message.indexOf("Script error"))v=!1;else{var i=h.defaultsDeep({},{agentPlatform:"browser",bindStack:r.bindStack,bindTime:r.bindTime,column:n.column||n.columnNumber,console:this.windowConsoleWatcher.report(),customer:this.customer.report(),entry:t,environment:this.environment.report(),file:n.file||n.fileName,line:n.line||n.lineNumber,message:n.message,metadata:this.metadata.report(),nav:this.navigationWatcher.report(),network:this.networkWatcher.report(),url:(e.location||"").toString(),stack:n.stack,timestamp:this.util.isoNow(),visitor:this.visitorWatcher.report(),version:"3.7.4"});if(!r.force)try{if(!this.config.current.onError(i,n))return}catch(e){i.console.push({timestamp:this.util.isoNow(),severity:"error",message:e.message});var o=this;setTimeout((function(){o.onError("catch",e,{force:!0})}),0)}if(this.config.current.dedupe){var s=(i.message+i.stack).substr(0,1e4);if(s===g)return;g=s}!function(){function e(){var e=0;return h.forEach(i.console,(function(t){e+=(t.message||"").length})),8e4<=e}for(var t=0;e()&&t<i.console.length;)i.console[t].message=h.truncate(i.console[t].message,1e3),t++}(),this.log.clear(),setTimeout((function(){v=!1})),v=!0,this.transmitter.sendError(i,this.customer.token)}}catch(e){this.onFault(e)}}),onFault:function(e){var t=this.transmitter||new f;e=e||{},e={token:this.customer.token,file:e.file||e.fileName,msg:e.message||"unknown",stack:(e.stack||"unknown").substr(0,1e3),url:this.window.location,v:"3.7.4",h:"beb0369dbac9bcfc0d410a7c5ebc1b67044f4937",x:this.util.uuid()},t.sendTrackerFault(e)},serialize:function(e,t){if(this.hasInstalled&&this.config.current.serialize&&!t)try{return this.config.current.serialize(e)}catch(e){this.onError("catch",e,{force:!0})}return i.prototype.defaults.serialize(e)},warn:function(t){h.has(e,"console.warn")&&e.console.warn("TrackJS: "+t)}},(new y).pub()}("undefined"==typeof window?void 0:window,"undefined"==typeof document?void 0:document)},function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=l(n(0)),s=l(n(56)),a=n(5);function l(e){return e&&e.__esModule?e:{default:e}}var c=new(function(){function t(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),this.PREFIX=o.default.config.prefix,this.$form=e("."+this.PREFIX+"js-form"),this._exists=void 0,this._dormant=void 0,this.Delivery=new s.default,this.bind()}return i(t,[{key:"bind",value:function(){var t=this;e('[name="name"],[name="birthday"],[name="mobilePhone"]').on("change",(function(){t.reset()}))}},{key:"reset",value:function(){this._exists=void 0,this._dormant=void 0}},{key:"get",value:function(t){var n=this,i=e('[name="name"]',this.$form),s=i.suggestions(),l={name:s.selection?s.selection.data.name:i.val().split(" ")[1],surname:s.selection?s.selection.data.surname:i.val().split(" ")[0],patronymic:s.selection?s.selection.data.patronymic:i.val().split(" ")[2],birthDate:e('[name="birthday"]',this.$form).val().split(".").reverse().join("-"),phone:e('[name="mobilePhone"]',this.$form).val().replace(/[^\d]/g,"")};e.ajax({url:o.default.config.endpoint.client,type:"GET",dataType:"json",data:r({},l),complete:function(e){(0,a.trackClient)(r({response:e.responseJSON},l,{url:this.url}))},success:function(r){1==r.success?(o.default.debug&&console.log(r.data),n._exists=!(!r.data||null==r.data.exists)&&r.data.exists,n._dormant=!(!r.data||null==r.data.dormant)&&r.data.dormant,"72222222222"==e('[name="mobilePhone"]',n.$form).val().replace(/[^0-9]/g,"")&&(n._exists=!0),e('[name="permanentAddress"],[name="gender"],[name="passportSeriaNumber"]',n.$form).closest("[data-step]").trigger("step:"+(n._exists?"":"un")+"skipped").toggleClass("_validation-disabled",n._exists),e('[data-dict="city_delivery"]',n.$form).trigger("render:dict"),n._exists&&n._dormant?(o.default.clientID=r.data.clientId,o.default.flags.exists=n._exists,o.default.deliveryDates=!1,n.Delivery.enable("dsa"),n.Delivery.enable("branch"),e("[data-ntb-hidden]",n.$form).show(),e("[data-ntb-visible]",n.$form).hide(),e("[data-ntb-visible-dormant]",n.$form).show(),e('[name="passportSeriaNumber"]',n.$form).closest("[data-position]").removeClass("_error")):n._exists?(o.default.clientID=r.data.clientId,o.default.flags.exists=n._exists,n.Delivery.enable("branch"),n.Delivery.disable("dsa"),e("[data-ntb-hidden]",n.$form).hide(),e("[data-ntb-visible]",n.$form).show(),e("[data-ntb-visible-dormant]",n.$form).hide(),e('[name="passportSeriaNumber"]',n.$form).closest("[data-position]").removeClass("_error")):(o.default.clientID=null,o.default.flags.exists=n._exists,o.default.deliveryDates=!1,n.Delivery.enable("dsa"),n.Delivery.enable("branch"),e("[data-ntb-hidden]",n.$form).show(),e("[data-ntb-visible]",n.$form).hide(),e("[data-ntb-visible-dormant]",n.$form).hide()),"function"==typeof t&&t(n._exists),n.$form.trigger("client:checked")):0==r.success&&(n._exists=!1,e('[name="permanentAddress"]',n.$form).closest("[data-step]").trigger("step:unskipped").removeClass("_validation-disabled"),e('[data-dict="city_delivery"]',n.$form).trigger("render:dict"),"function"==typeof t&&t(n._exists))},error:function(r){console.log(r),n._exists=!1,e('[name="permanentAddress"]',n.$form).closest("[data-step]").trigger("step:unskipped").removeClass("_validation-disabled"),e('[data-dict="city_delivery"]',n.$form).trigger("render:dict"),e("[data-ntb-visible]",n.$form).hide(),e("[data-ntb-visible-dormant]",n.$form).hide(),"function"==typeof t&&t(n._exists)}})}},{key:"exists",get:function(){return this._exists}},{key:"dormant",get:function(){return this._dormant}}]),t}());t.default=c}).call(this,n(1))},function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=c(n(0)),s=c(n(7)),a=n(2),l=n(14);function c(e){return e&&e.__esModule?e:{default:e}}var u="SURNAME",d="NAME",f="PATRONYMIC",h="9999",p="sdek",m=function(){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),this.PREFIX=o.default.config.prefix,this.$form=e}return i(t,[{key:"$get",value:function(t){return e(t,this.$form)}},{key:"$getDadata",value:function(e,t){var n=this.$get(e).suggestions().selection;return n?t.split(".").reduce((function(e,t){return e[t]?e[t]:""}),n):""}},{key:"data",get:function(){var t=this.$get.bind(this),n=this.$getDadata.bind(this),i=null;i=t('[name="branch"]').val()===h?p:t('[name="deliveryType"]:checked').val();var c=void 0;i===p&&(c=t('[name="city_branch"]').val()),"branch"==i&&(c=t('[name="city_'+i+'"]').val()),"dsa"==i&&e('[name="delivery_to"]:checked',this.$form).each((function(n,r){var i=e(r).data("tabs-toggler"),o=t('[data-tab-checked="'+i+'"]'),s=e('[name="city_dsa"]',o);c=s.length?s.val():e("input",o).data("city")}));var m=(0,a.getCookie)("_ga")?(0,a.getCookie)("_ga").split(".").slice(-2).join("."):null,g=t('[name="name"]').suggestions();o.default.debug&&(console.log("ÍÎÂÎÅ ÏÎËÅ REGION"),console.log(""+(n('[name="permanentAddress"]',"data.region_type_full")+" "+n('[name="permanentAddress"]',"data.region")||null)),console.log("ÍÎÂÎÅ ÏÎËÅ CITY"),console.log(""+(n('[name="permanentAddress"]',"data.city")?"ãîðîä "+n('[name="permanentAddress"]',"data.city"):null)));var v={token:o.default.snapshotToken,auth:{phone:t('[name="mobilePhone"]').val().replace(/[^\d]/g,""),token:o.default.token},answer:{root:{phone:{phone:t('[name="mobilePhone"]').val().replace(/[^\d]/g,""),token:o.default.token},name:{hasNotPatronymic:!Boolean((0,a.parseFullName)(g,f)),surname:(0,a.parseFullName)(g,u)||null,name:(0,a.parseFullName)(g,d)||null,patronymic:(0,a.parseFullName)(g,f)||"",gender:t('[name="gender"]:checked').val()||null},email:t('[name="email"]').val()||null,passportIssueDate:s.default.exists||!t('[name="passportSeriaNumber"]').val()?null:t('[name="passportIssueDate"]').val().split(".").reverse().join("-")||null,passportIssuer:s.default.exists||!t('[name="passportSeriaNumber"]').val()?null:{issuer:t('[name="passportIssuePlace"]').val()||null,issuerCode:t('[name="passportIssueByCode"]').val()||null},passportSeriesNumber:s.default.exists||!t('[name="passportSeriaNumber"]').val()?null:{number:t('[name="passportSeriaNumber"]').val().split("-")[1]||null,series:t('[name="passportSeriaNumber"]').val().split("-")[0]||null},birthDate:t('[name="birthday"]').val().split(".").reverse().join("-")||null,country:s.default.exists?null:"RU",birthplace:s.default.exists?null:t('[name="birthPlace"]').val()||null,registrationAddress:s.default.exists||!n('[name="permanentAddress"]',"value")?null:{address:n('[name="permanentAddress"]',"value")||null,country:n('[name="permanentAddress"]',"data.country")||null,region:n('[name="permanentAddress"]',"data.region")?n('[name="permanentAddress"]',"data.region_type_full")+" "+n('[name="permanentAddress"]',"data.region"):null,regionName:n('[name="permanentAddress"]',"data.region")||null,regionType:n('[name="permanentAddress"]',"data.region_type")||null,city:n('[name="permanentAddress"]',"data.city")?n('[name="permanentAddress"]',"data.city_type_full")+" "+n('[name="permanentAddress"]',"data.city"):null,cityName:n('[name="permanentAddress"]',"data.city")||null,cityType:n('[name="permanentAddress"]',"data.city_type")||null,locality:n('[name="permanentAddress"]',"data.settlement_type_full")?n('[name="permanentAddress"]',"data.settlement_type_full")+" "+n('[name="permanentAddress"]',"data.settlement"):null,settlement:n('[name="permanentAddress"]',"data.settlement")||null,settlementType:n('[name="permanentAddress"]',"data.settlement_type")||null,street:n('[name="permanentAddress"]',"data.street_with_type")||null,streetName:n('[name="permanentAddress"]',"data.street")||null,streetType:n('[name="permanentAddress"]',"data.street_type")||null,house:n('[name="permanentAddress"]',"data.house")||null,houseType:n('[name="permanentAddress"]',"data.house_type")||null,housing:n('[name="permanentAddress"]',"data.block")?n('[name="permanentAddress"]',"data.block_type")+" "+n('[name="permanentAddress"]',"data.block"):null,blockType:n('[name="permanentAddress"]',"data.block_type")||null,building:n('[name="permanentAddress"]',"data.block")||null,buildingType:n('[name="permanentAddress"]',"data.block_type")||null,apartment:n('[name="permanentAddress"]',"data.flat")||null,appartmentType:n('[name="permanentAddress"]',"data.flat_type")||null,postcode:n('[name="permanentAddress"]',"data.postal_code")||null,kladr:n('[name="permanentAddress"]',"data.kladr_id")||n('[name="permanentAddress"]',"data.street_kladr_id")||n('[name="permanentAddress"]',"data.city_kladr_id")||n('[name="permanentAddress"]',"data.region_kladr_id")||null,fiasCode:n('[name="permanentAddress"]',"data.fias_code")||null,area:n('[name="permanentAddress"]',"data.area")||null,districtType:n('[name="permanentAddress"]',"data.area_type")||null},registrationAddressIsActual:!0,actualAddress:null,cardType:o.default.config.card.id,googleId:m||null,utm:(0,a.getUTM)(),delivery:!s.default.dormant&&s.default.exists?null:{city:c||null,type:i||null,branch:"branch"==i?t('[name="branch"]').val():null,address:"dsa"==i&&n('[name="deliveryAddress"]',"value")?{address:n('[name="deliveryAddress"]',"value")||null,country:n('[name="deliveryAddress"]',"data.country")||null,region:n('[name="deliveryAddress"]',"data.region_type_full")+" "+n('[name="deliveryAddress"]',"data.region")||null,city:n('[name="deliveryAddress"]',"data.city")?"ãîðîä "+n('[name="deliveryAddress"]',"data.city"):null,locality:n('[name="deliveryAddress"]',"data.settlement_with_type")||null,street:n('[name="deliveryAddress"]',"data.street")||null,house:n('[name="deliveryAddress"]',"data.house")||null,housing:n('[name="deliveryAddress"]',"data.block")||null,building:null,apartment:n('[name="deliveryAddress"]',"data.flat")||null,postcode:n('[name="deliveryAddress"]',"data.postal_code")||null,kladr:n('[name="deliveryAddress"]',"data.kladr_id")||null,fiasCode:n('[name="deliveryAddress"]',"data.fias_code")||null,area:n('[name="deliveryAddress"]',"data.area")||null}:null},deliveryExist:!s.default.dormant&&s.default.exists?{city:c||null,type:i||null,branch:"branch"==i?t('[name="branch"]').val():null,address:"dsa"==i&&n('[name="deliveryAddress"]',"value")?{address:n('[name="deliveryAddress"]',"value")||null,country:n('[name="deliveryAddress"]',"data.country")||null,region:n('[name="deliveryAddress"]',"data.region_type_full")+" "+n('[name="deliveryAddress"]',"data.region")||null,city:n('[name="deliveryAddress"]',"data.city")?"ãîðîä "+n('[name="deliveryAddress"]',"data.city"):null,locality:n('[name="deliveryAddress"]',"data.settlement_with_type")||null,street:n('[name="deliveryAddress"]',"data.street")||null,house:n('[name="deliveryAddress"]',"data.house")||null,housing:n('[name="deliveryAddress"]',"data.block")||null,building:null,apartment:n('[name="deliveryAddress"]',"data.flat")||null,postcode:n('[name="deliveryAddress"]',"data.postal_code")||null,kladr:n('[name="deliveryAddress"]',"data.kladr_id")||null,fiasCode:n('[name="deliveryAddress"]',"data.fias_code")||null,area:n('[name="deliveryAddress"]',"data.area")||null}:null}:null,agree:!0,ntb:{clientId:o.default.clientID,exists:null!=s.default.exists&&s.default.exists,dormant:null!=s.default.dormant&&s.default.dormant},badField:null,citizenship:"643",taxable:null,parent:(0,a.getParameterByName)("root.parent")||(o.default.props&&o.default.props.parent?o.default.props.parent:null),sid:o.default.sid,promocode:(0,a.getPromocodeValue)(),paymentSystem:o.default.props.payment||"VISA",currency:o.default.props.currency||"RUB"}}};if(i===p&&(v.answer.root.sdek="0"),o.default.fieldOM&&"branch"!==i)v.answer.root.fieldom=r({},o.default.fieldOM);else{var y=(0,l.uuidv4)();v.answer.root.fieldom={sid:y},v.answer.root.sid=y,o.default.deliveryImpossible&&(v.answer.root.fieldom.fieldom=o.default.deliveryImpossible)}return v}}]),t}();t.default=m}).call(this,n(1))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.toggleTab=t.getWeekDay=t.unrender=t.render=t.createElement=void 0;var r,i=n(0),o=(r=i)&&r.__esModule?r:{default:r};t.createElement=function(e){var t=document.createElement("div");return t.innerHTML=e,t.firstChild},t.render=function(e,t){e.append(t)},t.unrender=function(e){e&&e.remove()},t.getWeekDay=function(e){e=e.split(".").reverse()[1]+"."+e.split(".").reverse()[2]+"."+e.split(".").reverse()[0];return["ÂÑ","ÏÍ","ÂÒ","ÑÐ","×Ò","ÏÒ","ÑÁ"][new Date(e).getDay()]},t.toggleTab=function(e){e.forEach((function(e){var t=e.querySelectorAll("[data-tab]"),n=e.querySelectorAll("[data-tabcontent]"),r=o.default.config.prefix+"form-tab__item--active";t.forEach((function(i){i.addEventListener("click",(function(i){t.forEach((function(e){return e.classList.remove(r)}));var s=i.target;s.classList.add(r);var a=""+s.getAttribute("data-target");n.forEach((function(e){return e.classList.add("visually-hidden")})),e.querySelector("#"+o.default.config.prefix+a).classList.remove("visually-hidden")}))}))}))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(33);Object.defineProperty(t,"ForTest",{enumerable:!0,get:function(){return u(r).default}});var i=n(34);Object.defineProperty(t,"TrackJS",{enumerable:!0,get:function(){return u(i).default}});var o=n(35);Object.defineProperty(t,"Polifill",{enumerable:!0,get:function(){return u(o).default}});var s=n(36);Object.defineProperty(t,"Dictionaries",{enumerable:!0,get:function(){return u(s).default}});var a=n(26);Object.defineProperty(t,"Form",{enumerable:!0,get:function(){return u(a).default}});var l=n(94);Object.defineProperty(t,"Popup",{enumerable:!0,get:function(){return u(l).default}});var c=n(95);function u(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"Miror",{enumerable:!0,get:function(){return u(c).default}})},function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=s(n(0)),o=s(n(8));function s(e){return e&&e.__esModule?e:{default:e}}var a=i.default.config.prefix,l="SUCCESS",c="FAIL",u="success",d="failed",f=document.querySelector("."+a+"form"),h=f.querySelector('[name="deliveryDates"]'),p=f.querySelector('[name="deliveryTimes"]'),m=function(){function t(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t)}return r(t,null,[{key:"parseDeliveryDates",value:function(e){return e.response}},{key:"parseDeliveryDateStatus",value:function(e){var t=null;switch(e.status.toLowerCase()){case u:t=l;break;case d:t=c}return t}},{key:"parseDeliveryDateMessage",value:function(e){return e.message}},{key:"parseDeliveryDate",value:function(e){return e.date}},{key:"parseGetCourierScheduleRequest",value:function(e){var t=e.cardType,n=e.phone,r=e.delivery.address||{kladr:null,region:null,city:null,street:null,house:null,housing:null,address:null},i=r.kladr,o=r.region,s=r.city,a=r.street,l=r.house,c=r.housing;return{kladr:i,region:o,city:s,street:a,house:l,address:r.address,cardType:t,externalSystemId:"2",phone:n.phone,token:n.token,block:c}}},{key:"parseUserData",value:function(t){return new o.default(e(t)).data.answer.root}},{key:"parseTrackPostFieldomData",value:function(e){return JSON.stringify(e)}},{key:"parsePostFieldOMData",value:function(e){var t=e.cardType,n=e.name,r=e.phone,o=e.delivery,s=e.courierId,a=e.sid,l=o.address,c=l.kladr,u=l.region,d=l.city,f=l.street,m=l.house,g=l.housing,v=l.address;return JSON.stringify({externalSystemId:"2",externalSystemDeliveryRequestId:a,clientType:"Retail",courierId:s,lastName:n.surname,firstName:n.name,middleName:n.patronymic,phoneNumber:"+"+r.phone,token:r.token,productId:t+"-"+(i.default.props.payment||"VISA")+"-"+(i.default.props.currency||"RUB"),address:{KladrCode:c,Region:u,area:null,City:d,Street:f,House:m,block:"",Flat:g,FullAddress:v},deliveryDate:h.value,timeWindowId:p.value})}},{key:"parseDeliveryResponsePostData",value:function(e){return e.response?e.response[0]:null}},{key:"parseBranchesWithSchedule",value:function(e){return e.branch.data[0]}},{key:"parseDeliveryBranches",value:function(e){return e.branch_delivery.data.dictionary.records}}]),t}();t.default=m}).call(this,n(1))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=(m(n(61)),m(n(0))),o=n(62),s=m(n(63)),a=m(n(64)),l=m(n(65)),c=m(n(66)),u=m(n(67)),d=m(n(68)),f=m(n(69)),h=m(n(4)),p=n(2);function m(e){return e&&e.__esModule?e:{default:e}}(0,p.getTYpageLink)();var g="HIDE",v="SHOW",y={hide:{THX_PAGE:i.default.config.prefix+"form__hide-element",DELIVERY_BLOCK:["_validation-disabled","_tab-hidden"]},show:{THX_PAGE:i.default.config.prefix+"form__show-element"}},_=function(e){function t(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var e=function(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}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return e._thxPageContainer=document.querySelector("."+i.default.config.prefix+"js-form-success"),e._radioBlockListContainer=document.querySelector("."+i.default.config.prefix+"radio-block-main"),e._successBlockContainer=document.querySelector("."+i.default.config.prefix+"js-form-success"),e._btnForward=null,e._copyBtn=null,e._copySubTitle=null,e._smallRadioButtons=null,e._radioBlockList=null,e._isTextCopied=!1,e._IsLinkPageShowed=!1,e._isAnotherDateRender=!1,e._radioData=o.quizRadioBatonContent,e._pages=[],e._maxElements=4,e._prefix=i.default.config.prefix,e._currentID=i.default.config.card.id,e._IDofNewMarkup="CS0200-CB88",e._thxPage=(new s.default).getElement(),e._linkThxPage=(new f.default).getElement(),e._radioBlockListElement=(new l.default).getElement(),e._radioSmallBlockListElement=(new c.default).getElement(),e}return function(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)}(t,e),r(t,[{key:"_pageHandlers",value:function(){var e=this;this._smallRadioButtons=document.querySelectorAll("."+i.default.config.prefix+"radio-block__item-input"),this._btnForward=document.querySelector("."+i.default.config.prefix+"footer-navigation__btn-forward"),this._smallRadioButtons.forEach((function(n){return n.addEventListener("click",(function(){e._pages.forEach((function(t){return e._pageSwitcher(t,g)})),e._pageSwitcher(e._pages[1],v),t.pushEvent(t.eventObject({eventCategory:"Interaction: Interview",eventLabel:"Choice of answer",eventSubSection:"Average transfer on other card",eventContent:"Question 1 of 1",eventContext:"How much per month do you usually transfer to other cards?",eventContextMessage:n.value})),e._IsLinkPageShowed||(t.pushEvent(t.eventObject({eventCategory:"Interaction: Recommendational link",eventLabel:"Visibility",eventSubSection:"Transfer to relatives more than 100,000 rubles a month without commission"})),e._IsLinkPageShowed=!0)}))}))}},{key:"_renderPages",value:function(){var e=this;(0,p.render)(this._thxPageContainer,this._radioSmallBlockListElement),this._radioData.forEach((function(t){return e._renderRadioSmallBlockItem(t)})),(0,p.render)(this._thxPageContainer,this._thxPage),this._pages=Array.from(this._successBlockContainer.children),this._pages.forEach((function(t){return e._pageSwitcher(t,g)})),this._pageSwitcher(this._pages[1],v),this._pageHandlers(),t.pushEvent(t.eventObject({eventCategory:"Interaction: Interview",eventLabel:"Visibility",eventSubSection:"Average transfer on other card",eventContent:"Question 1 of 1",eventContext:"How much per month do you usually transfer to other cards?"}))}},{key:"renderThxPage",value:function(e){this._currentID===this._IDofNewMarkup?this._renderPages():(0,p.render)(this._thxPageContainer,new a.default(e).getElement())}},{key:"renderRadioBlockList",value:function(e){this._maxElements=e,(0,p.render)(this._radioBlockListContainer,this._radioBlockListElement)}},{key:"_renderRadioSmallBlockItem",value:function(e){this._radioBlockList=document.querySelector("."+i.default.config.prefix+"radio-block__list-small-block"),this._radioBlockList.childNodes.length>=this._maxElements&&(this._radioBlockList.innerHTML=""),(0,p.render)(this._radioBlockList,new d.default(e).getElement())}},{key:"renderRadioBlockItem",value:function(e){this._radioBlockList=document.querySelector("."+this._prefix+"radio-block__list"),this._radioBlockList.childNodes.length>=this._maxElements&&(this._radioBlockList.innerHTML="",this._isAnotherDateRender=!1),!e.dayLabel&&this._isAnotherDateRender||(e.dayLabel||(this._isAnotherDateRender=!0),(0,p.render)(this._radioBlockList,new u.default(e).getElement()))}},{key:"_pageSwitcher",value:function(e,t){switch(t){case g:e.classList.add(y.hide.THX_PAGE),e.classList.remove(y.show.THX_PAGE);break;case v:e.classList.add(y.show.THX_PAGE),e.classList.remove(y.hide.THX_PAGE)}}}],[{key:"parseCity",value:function(e){var n=[],r=null,o=null;if(e.suggestions()&&e.suggestions().selection){var s=e.suggestions().selection.data.city,a=e.suggestions().selection.data.city,l=i.default.dictionary.city_delivery.data.dictionary.records;r=(n=s?l.filter((function(e){return e.label=e.label.replace(" (Ìîñêîâñêàÿ îáë.)",""),e.label===a})):t.parseRegion(e,l)).length>0?n[0].key:(n=t.parseRegion(e,l)).length>0?n[0].key:null}else o="error: null, "+(r=170);var c=!!e.suggestions()&&(e.suggestions().selection.data.city||e.suggestions().selection.data.region),u=c===(n.length>0?n[0].label:"")?n[0].label:c+", Ìîñêâà";return o=r?"success: "+c+"_"+u:"error: "+c+"_"+u+", Ìîñêâà",r=r||170,t.pushEvent(t.eventObject({event:"GAevent",eventCategory:"Interaction: Form",eventAction:"cityDelivery_autofill",eventLabel:o})),r}},{key:"parseRegion",value:function(e,t){var n=e.suggestions().selection.data.region;return t.filter((function(e){return e.label.replace(/( Ðåñïóáëèêà| îáëàñòü| êðàé)/g,"")===n}))}},{key:"pushEvent",value:function(e){window.dataLayer.push(e)}},{key:"eventObject",value:function(e){return Object.assign({event:"RBRU-DM",eventCategory:"Interaction: Form",eventAction:"Interaction: Users clickability",eventLabel:"",eventSection:"Main",eventSubSection:"",eventPositionSubSection:"",eventPositionElement:"",eventProduct:"DC",eventContent:"Form",eventContext:"",eventContextMessage:"",eventError:"",eventSuccess:"",eventVendor:"Creative people",eventFormVersion:"v1"},e)}}]),t}(h.default);t.default=_},function(e,t,n){var r,i,o; /*! autosize 4.0.2 license: MIT http://www.jacklmoore.com/autosize */i=[e,t],void 0===(o="function"==typeof(r=function(e,t){"use strict";var n,r,i="function"==typeof Map?new Map:(n=[],r=[],{has:function(e){return n.indexOf(e)>-1},get:function(e){return r[n.indexOf(e)]},set:function(e,t){-1===n.indexOf(e)&&(n.push(e),r.push(t))},delete:function(e){var t=n.indexOf(e);t>-1&&(n.splice(t,1),r.splice(t,1))}}),o=function(e){return new Event(e,{bubbles:!0})};try{new Event("test")}catch(e){o=function(e){var t=document.createEvent("Event");return t.initEvent(e,!0,!1),t}}function s(e){if(e&&e.nodeName&&"TEXTAREA"===e.nodeName&&!i.has(e)){var t,n=null,r=null,s=null,a=function(){e.clientWidth!==r&&d()},l=function(t){window.removeEventListener("resize",a,!1),e.removeEventListener("input",d,!1),e.removeEventListener("keyup",d,!1),e.removeEventListener("autosize:destroy",l,!1),e.removeEventListener("autosize:update",d,!1),Object.keys(t).forEach((function(n){e.style[n]=t[n]})),i.delete(e)}.bind(e,{height:e.style.height,resize:e.style.resize,overflowY:e.style.overflowY,overflowX:e.style.overflowX,wordWrap:e.style.wordWrap});e.addEventListener("autosize:destroy",l,!1),"onpropertychange"in e&&"oninput"in e&&e.addEventListener("keyup",d,!1),window.addEventListener("resize",a,!1),e.addEventListener("input",d,!1),e.addEventListener("autosize:update",d,!1),e.style.overflowX="hidden",e.style.wordWrap="break-word",i.set(e,{destroy:l,update:d}),"vertical"===(t=window.getComputedStyle(e,null)).resize?e.style.resize="none":"both"===t.resize&&(e.style.resize="horizontal"),n="content-box"===t.boxSizing?-(parseFloat(t.paddingTop)+parseFloat(t.paddingBottom)):parseFloat(t.borderTopWidth)+parseFloat(t.borderBottomWidth),isNaN(n)&&(n=0),d()}function c(t){var n=e.style.width;e.style.width="0px",e.offsetWidth,e.style.width=n,e.style.overflowY=t}function u(){if(0!==e.scrollHeight){var t=function(e){for(var t=[];e&&e.parentNode&&e.parentNode instanceof Element;)e.parentNode.scrollTop&&t.push({node:e.parentNode,scrollTop:e.parentNode.scrollTop}),e=e.parentNode;return t}(e),i=document.documentElement&&document.documentElement.scrollTop;e.style.height="",e.style.height=e.scrollHeight+n+"px",r=e.clientWidth,t.forEach((function(e){e.node.scrollTop=e.scrollTop})),i&&(document.documentElement.scrollTop=i)}}function d(){u();var t=Math.round(parseFloat(e.style.height)),n=window.getComputedStyle(e,null),r="content-box"===n.boxSizing?Math.round(parseFloat(n.height)):e.offsetHeight;if(r<t?"hidden"===n.overflowY&&(c("scroll"),u(),r="content-box"===n.boxSizing?Math.round(parseFloat(window.getComputedStyle(e,null).height)):e.offsetHeight):"hidden"!==n.overflowY&&(c("hidden"),u(),r="content-box"===n.boxSizing?Math.round(parseFloat(window.getComputedStyle(e,null).height)):e.offsetHeight),s!==r){s=r;var i=o("autosize:resized");try{e.dispatchEvent(i)}catch(e){}}}}function a(e){var t=i.get(e);t&&t.destroy()}function l(e){var t=i.get(e);t&&t.update()}var c=null;"undefined"==typeof window||"function"!=typeof window.getComputedStyle?((c=function(e){return e}).destroy=function(e){return e},c.update=function(e){return e}):((c=function(e,t){return e&&Array.prototype.forEach.call(e.length?e:[e],(function(e){return s(e)})),e}).destroy=function(e){return e&&Array.prototype.forEach.call(e.length?e:[e],a),e},c.update=function(e){return e&&Array.prototype.forEach.call(e.length?e:[e],l),e}),t.default=c,e.exports=t.default})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.uuidv4=function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(e){var t=16*Math.random()|0;return("x"==e?t:3&t|8).toString(16)}))}},function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.promocodeElementContainer=function(){a||e(document).ready((function(){"organic"!==sbjs.get.current.typ&&"(none)"!==sbjs.get.current.typ&&"referral"!==sbjs.get.current.typ||f()}))},t.promocodeElementContainerPromo=function(){(l||c||"true"===o.default.props.sbjsTest)&&e(document).ready((function(){f()}))},t.promocodeElementContainerSendOK=function(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";e(document).ready((function(){if((/(DEBIT|DEBET)_CARD_(FULL|SHORT)_FORM/.test(t)||"true"===o.default.props.sbjsTest)&&document.getElementById("promocode-element-container")){window._iPromoBannerObj=function(e){this.htmlElementId="promocode-element-container",this.params=e,this.lS=function(e){var t=document.head||document.getElementsByTagName("head")[0]||document.documentElement,n=document.createElement("script");n.async="async",n.src=e,t.insertBefore(n,t.firstChild)},this.gc=function(){return document.getElementById(this.htmlElementId)},this.start=function(){var e=[];for(var t in this.params)"string"==typeof t&&e.push(t+"="+encodeURIComponent(this.params[t]));e.push("method=main"),e.push("jsc=iPromoCpnObj"),this.lS(("https:"==document.location.protocol?"https://":"http://")+"get4click.ru/wrapper.php?"+e.join("&"))}},window.iPromoCpnObj=null;var e={_shopId:"1040",_bannerId:"2891",_orderId:n,_usedPromoCode:r};window.iPromoCpnObj=new _iPromoBannerObj(e),window.iPromoCpnObj.start()}}))},t.promocodeElementContainerStatad=function(){e(document).ready((function(){var e=document.createElement("script");e.async=!0,e.src="https://statad.ru/tracker.js?d=raiffeisen.ru",document.body.appendChild(e)}))},t.floctoryScript=function(){u&&e(document).ready((function(){if("organic"!==sbjs.get.current.typ&&"(none)"!==sbjs.get.current.typ&&"referral"!==sbjs.get.current.typ){var e=document.createElement("script");e.async=!0,e.src="https://api.flocktory.com/v2/loader.js?site_id=3203",document.body.appendChild(e)}}));"true"===o.default.props.sbjsTest&&e(document).ready((function(){var e=document.createElement("script");e.async=!0,e.src="https://api.flocktory.com/v2/loader.js?site_id=3203",document.body.appendChild(e)}))},t.floctorySpendOKDiv=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";if(/(DEBIT|DEBET)_CARD_(FULL|SHORT)_FORM/.test(e)&&u&&"organic"!==sbjs.get.current.typ&&"(none)"!==sbjs.get.current.typ&&"referral"!==sbjs.get.current.typ){var n=document.createElement("div"),r='<div class="i-flocktory" data-fl-action="exchange" data-fl-spot='+d("device")+" data-fl-user-email="+t+' width="0" height="0"></div>';n.innerHTML=r,document.body.appendChild(n)}if("true"===o.default.props.sbjsTest){var i=document.createElement("div"),s='<div class="i-flocktory" data-fl-action="exchange" data-fl-spot='+d("device")+" data-fl-user-email="+t+' width="0" height="0"></div>';i.innerHTML=s,document.body.appendChild(i)}},t.floctorySpendOKScript=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";/(DEBIT|DEBET)_CARD_(FULL|SHORT)_FORM/.test(e)&&u&&"organic"!==sbjs.get.current.typ&&"(none)"!==sbjs.get.current.typ&&"referral"!==sbjs.get.current.typ&&(window.flocktory=window.flocktory||[],window.flocktory.push(["postcheckout",{user:{email:t},order:{id:t,price:0},spot:d("device")}]));"true"===o.default.props.sbjsTest&&(window.flocktory=window.flocktory||[],window.flocktory.push(["postcheckout",{user:{email:t},order:{id:t,price:0},spot:d("device")}]))};var r,i=n(0),o=(r=i)&&r.__esModule?r:{default:r};var s=window.location.href,a=/\/promo\//.test(s),l=/\/promo\/cashback_card\/mgm1000\/4th_quarter\//.test(s),c=/\/promo\/vsesrazu-dc\/mob\//.test(s),u=/\/promo\/(active\/dc\/cashback\/all-aud\/classic\/all-reg(\/($|\?)|\/promocode\/($|\?))|(3|5)00\/($|\?))/.test(s);function d(e){var t=document.cookie.match("(^|;) ?"+e+"=([^;]*)(;|$)");return t?unescape(t[2]):null}function f(){var e="";document.querySelector(".r-form-root")?e=document.querySelector(".r-form-root"):document.querySelector("#ccform-form")&&(e=document.querySelector("#ccform-form"));var t=document.createElement("div");t.setAttribute("id","promocode-element-container"),e.appendChild(t)}}).call(this,n(1))},function(e,t,n){e.exports=n(37)},function(e,t,n){"use strict";e.exports=function(e,t){return function(){for(var n=new Array(arguments.length),r=0;r<n.length;r++)n[r]=arguments[r];return e.apply(t,n)}}},function(e,t,n){"use strict";var r=n(3);function i(e){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,n){if(!t)return e;var o;if(n)o=n(t);else if(r.isURLSearchParams(t))o=t.toString();else{var s=[];r.forEach(t,(function(e,t){null!=e&&(r.isArray(e)?t+="[]":e=[e],r.forEach(e,(function(e){r.isDate(e)?e=e.toISOString():r.isObject(e)&&(e=JSON.stringify(e)),s.push(i(t)+"="+i(e))})))})),o=s.join("&")}if(o){var a=e.indexOf("#");-1!==a&&(e=e.slice(0,a)),e+=(-1===e.indexOf("?")?"?":"&")+o}return e}},function(e,t,n){"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},function(e,t,n){"use strict";(function(t){var r=n(3),i=n(43),o={"Content-Type":"application/x-www-form-urlencoded"};function s(e,t){!r.isUndefined(e)&&r.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var a,l={adapter:("undefined"!=typeof XMLHttpRequest?a=n(21):void 0!==t&&"[object process]"===Object.prototype.toString.call(t)&&(a=n(21)),a),transformRequest:[function(e,t){return i(t,"Accept"),i(t,"Content-Type"),r.isFormData(e)||r.isArrayBuffer(e)||r.isBuffer(e)||r.isStream(e)||r.isFile(e)||r.isBlob(e)?e:r.isArrayBufferView(e)?e.buffer:r.isURLSearchParams(e)?(s(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):r.isObject(e)?(s(t,"application/json;charset=utf-8"),JSON.stringify(e)):e}],transformResponse:[function(e){if("string"==typeof e)try{e=JSON.parse(e)}catch(e){}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,validateStatus:function(e){return e>=200&&e<300}};l.headers={common:{Accept:"application/json, text/plain, */*"}},r.forEach(["delete","get","head"],(function(e){l.headers[e]={}})),r.forEach(["post","put","patch"],(function(e){l.headers[e]=r.merge(o)})),e.exports=l}).call(this,n(42))},function(e,t,n){"use strict";var r=n(3),i=n(44),o=n(18),s=n(46),a=n(49),l=n(50),c=n(22);e.exports=function(e){return new Promise((function(t,u){var d=e.data,f=e.headers;r.isFormData(d)&&delete f["Content-Type"];var h=new XMLHttpRequest;if(e.auth){var p=e.auth.username||"",m=e.auth.password||"";f.Authorization="Basic "+btoa(p+":"+m)}var g=s(e.baseURL,e.url);if(h.open(e.method.toUpperCase(),o(g,e.params,e.paramsSerializer),!0),h.timeout=e.timeout,h.onreadystatechange=function(){if(h&&4===h.readyState&&(0!==h.status||h.responseURL&&0===h.responseURL.indexOf("file:"))){var n="getAllResponseHeaders"in h?a(h.getAllResponseHeaders()):null,r={data:e.responseType&&"text"!==e.responseType?h.response:h.responseText,status:h.status,statusText:h.statusText,headers:n,config:e,request:h};i(t,u,r),h=null}},h.onabort=function(){h&&(u(c("Request aborted",e,"ECONNABORTED",h)),h=null)},h.onerror=function(){u(c("Network Error",e,null,h)),h=null},h.ontimeout=function(){var t="timeout of "+e.timeout+"ms exceeded";e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),u(c(t,e,"ECONNABORTED",h)),h=null},r.isStandardBrowserEnv()){var v=n(51),y=(e.withCredentials||l(g))&&e.xsrfCookieName?v.read(e.xsrfCookieName):void 0;y&&(f[e.xsrfHeaderName]=y)}if("setRequestHeader"in h&&r.forEach(f,(function(e,t){void 0===d&&"content-type"===t.toLowerCase()?delete f[t]:h.setRequestHeader(t,e)})),r.isUndefined(e.withCredentials)||(h.withCredentials=!!e.withCredentials),e.responseType)try{h.responseType=e.responseType}catch(t){if("json"!==e.responseType)throw t}"function"==typeof e.onDownloadProgress&&h.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&h.upload&&h.upload.addEventListener("progress",e.onUploadProgress),e.cancelToken&&e.cancelToken.promise.then((function(e){h&&(h.abort(),u(e),h=null)})),void 0===d&&(d=null),h.send(d)}))}},function(e,t,n){"use strict";var r=n(45);e.exports=function(e,t,n,i,o){var s=new Error(e);return r(s,t,n,i,o)}},function(e,t,n){"use strict";var r=n(3);e.exports=function(e,t){t=t||{};var n={},i=["url","method","params","data"],o=["headers","auth","proxy"],s=["baseURL","url","transformRequest","transformResponse","paramsSerializer","timeout","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","maxContentLength","validateStatus","maxRedirects","httpAgent","httpsAgent","cancelToken","socketPath"];r.forEach(i,(function(e){void 0!==t[e]&&(n[e]=t[e])})),r.forEach(o,(function(i){r.isObject(t[i])?n[i]=r.deepMerge(e[i],t[i]):void 0!==t[i]?n[i]=t[i]:r.isObject(e[i])?n[i]=r.deepMerge(e[i]):void 0!==e[i]&&(n[i]=e[i])})),r.forEach(s,(function(r){void 0!==t[r]?n[r]=t[r]:void 0!==e[r]&&(n[r]=e[r])}));var a=i.concat(o).concat(s),l=Object.keys(t).filter((function(e){return-1===a.indexOf(e)}));return r.forEach(l,(function(r){void 0!==t[r]?n[r]=t[r]:void 0!==e[r]&&(n[r]=e[r])})),n}},function(e,t,n){"use strict";function r(e){this.message=e}r.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},r.prototype.__CANCEL__=!0,e.exports=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LoadingState=t.Loading=void 0;var r,i=n(0),o=(r=i)&&r.__esModule?r:{default:r},s=n(6);var a={ON:"ON",OFF:"OFF",ERROR:"ERROR"},l="_loading",c="_loading-error",u={FORM:o.default.form,SPINNER:document.querySelector("."+o.default.config.prefix+"loading-spinner")};window.addEventListener("scroll",(function(){var e=u.FORM.getBoundingClientRect(),t=window.innerHeight,n=0;e.top>0&&e.top<t?(n=(t-e.top-(e.bottom<t?t-e.bottom:0))/2,u.SPINNER.style.top=(n<200?200:n)+"px"):e.bottom<t&&e.bottom>0?(n=(e.bottom-(e.top>0?t-e.top:0))/2,u.SPINNER.style.top=e.height-(n<200?200:n)+"px"):e.top<0&&e.bottom>t&&(u.SPINNER.style.top=t/2-e.top+"px")})),t.Loading=function(e){switch(e){case a.ON:u.FORM.classList.add(l);break;case a.OFF:u.FORM.classList.remove(l);break;case a.ERROR:u.FORM.classList.remove(l),u.FORM.classList.add(c),s.TrackJS.track("Ïîëüçîâàòåëþ áûë ïîêàçàí ïîïàï ñ îøèáêîé – LoadingState.ERROR")}},t.LoadingState=a},function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.snapshotProgress=void 0;var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=D(n(0)),o=D(n(55)),s=D(n(70)),a=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(71)),l=D(n(89)),c=D(n(90)),u=D(n(28)),d=n(2),f=D(n(8)),h=D(n(7)),p=n(29),m=D(n(91)),g=D(n(92)),v=D(n(13)),y=n(6),_=n(25),b=D(n(12)),w=n(2),x=D(n(27)),C=n(5),k=D(n(93)),S=n(9);function D(e){return e&&e.__esModule?e:{default:e}}var E=(new k.default).getElement(),T=document.querySelector("."+i.default.config.prefix+"form"),O=new m.default,M=new x.default;O.init();var j=document.querySelector("."+i.default.config.prefix+"branch"),A=function(){function t(n){if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),this.PREFIX=i.default.config.prefix,this.$form=e(n),this._isErrorTrack=!1,!this.$form.length)return[];this.selector={filled:"_filled",focus:"_focus",valid:"_valid",error:"_error",control:"."+this.PREFIX+"js-form-control",field:"."+this.PREFIX+"js-form-control-field",submit:'[type="submit"]'},this.$btn=this.$form.find(this.selector.submit),this.$items=e(this.selector.control,this.$form),this.Validate=new l.default(this.$form[0]),this.Mapping=new f.default(this.$form[0]),this.render(),this.bind(),this.bindSubmit(),this.bindChangePhone(),this.disableAutoFill(),this.disableIEautocomplete()}return r(t,[{key:"render",value:function(){var t=this;i.default.debug&&console.log("Form render"),i.default.debug&&console.log("Card type: "+i.default.config.card.type),this.Steps=new o.default(this.$form[0]),this.Tabs=new s.default(this.$form[0]),e("[placeholder]",this.$form).each((function(){["birthday","passportIssueDate","companyDate"].indexOf(this.name)>=0&&new g.default(this)})),(0,C.trackUser)({token:i.default.snapshotToken}),(0,C.trackOpen)(),this.$items.each((function(e,n){t.renderControls(n)})),this.$form.on("steps:next:click",(function(n,r){if(i.default.debug&&console.log("steps:next:click"),i.default.flags.exists&&!t._isErrorTrack){var o=T.querySelector("[name=deliveryAddress]");o&&o.addEventListener("change",(function(){y.TrackJS.track({message:"Ñóùåñòâóþùåìó ïîëüçîâàòåëþ îòîáðàçèëàñü äîñòàâêà êóðüåðîì",flags:{withSnapshot:i.default.flags.withSnapshot},data:JSON.stringify(t.Mapping.data)})})),t._isErrorTrack=!0}var s,a=e(t.Steps.$steps[t.Steps.nextStepId()-1]),l=[].slice.call(a.find("[data-dict]")).map((function(t){return e(t).data("dict")}));if((l=l.filter((function(e,t,n){return n.indexOf(e)==t}))).indexOf("city_delivery")>=0&&l.push("delivery_type"),e(r.step).find(t.selector.field).each((function(e,n){t.Validate.validate(n)})),s=e(r.step).find(t.selector.control).hasClass(t.selector.error),i.default.debug&&console.log("errors",s),s){r.reject();var c=e(r.step).find(t.selector.control).filter("._error").eq(0);(!(0,d.isVisible)(c[0])||c.offset().top-window.pageYOffset<100)&&e("html, body").animate({scrollTop:c.offset().top-150},500),c.find(t.selector.field)[0].focus()}else l.reduce((function(e,t){return i.default.dictionary[t]&&e}),!0)?e('[name="citizenship"]',t.$form).is(":not(:checked)")?(t.$form.addClass("_nonrf"),t.$form.trigger("form:nonrf")):e(n.target).is('[type="submit"]')?t.stepPromise={resolve:r.resolve,reject:r.reject}:e('[name="name"]',t.Steps.$step).length&&null==h.default.exists?h.default.get((function(){r.resolve()})):r.resolve():(i.default.debug&&console.log("çàãðóçêà ñïðàâî÷íèêîâ ñëåäóþùåãî øàãà"),(0,_.Loading)(_.LoadingState.ON),t.$form.on("dictionary:ready.nextstep",(function(){l.reduce((function(e,t){return i.default.dictionary[t]&&e}),!0)&&(r.resolve(),(0,_.Loading)(_.LoadingState.OFF),t.$form.off("dictionary:ready.nextstep"))})))})),this.DataLayer=new c.default({form:this.$form[0],Steps:this.Steps}),this._checkIsReturning(),this.$form.on("keydown",(function(t){13==t.which&&"BUTTON"==t.target.nodeName||("A"==t.target.nodeName||e(t.target).is("[tabindex]:not(input)")?(13==t.which&&(e(t.target).is("[href]")||e(t.target).click()),32==t.which&&(t.preventDefault(),e(t.target).click())):13==t.which&&t.preventDefault())})),this.Steps.$steps.on("steps:opened",(function(n){t.Steps.step>1&&setTimeout((function(){e(n.target).find("."+t.PREFIX+"js-form-control-field").eq(0).each((function(t,n){e(n).val()||"SELECT"==n.nodeName||e(n).focus()}))}),500)})),"android"==i.default.platform&&e("[pattern]").each((function(){"\\d*"==e(this).attr("pattern")&&e(this).attr("type","tel")})),e("."+i.default.config.prefix+"js-form-tooltip").each((function(){new u.default(this)}))}},{key:"renderControls",value:function(t){var n=e(t),r=e(this.selector.field,n);if(r.is("input"))switch(r.attr("type")){case"checkbox":new a.Checkbox(t);break;case"radio":new a.Radio(t);break;case"file":break;default:["name"].indexOf(r.attr("name"))>=0?new a.TextFio(t):r.is('[name="mobilePhoneConfirmation"]')?new a.TextSmsCode(t):new a.Text(t)}r.is("textarea")&&(n.is("."+this.PREFIX+"form-control--input")?["name"].indexOf(r.attr("name"))>=0?(0,v.default)(new a.TextFio(t).field):(0,v.default)(new a.Text(t).field):new a.Textarea(t)),r.is("select")&&new a.Select(t)}},{key:"bind",value:function(){var t=this;e('[name="name"]',this.$form).each((function(n,r){e(r).on("change blur",(function(){var n=e('[name="gender"]',t.$form).closest("."+t.PREFIX+"gender-wrap-js");e(r).suggestions().selection?("MALE"===e(r).suggestions().selection.data.gender&&(e('[name="gender"]',t.$form).filter('[value="M"]').prop("checked",!0).change(),e('[name="birthday"]',t.$form).focus()),"FEMALE"===e(r).suggestions().selection.data.gender&&(e('[name="gender"]',t.$form).filter('[value="F"]').prop("checked",!0).change(),e('[name="birthday"]',t.$form).focus()),"UNKNOWN"===e(r).suggestions().selection.data.gender&&(n.removeClass("hidden"),e('[name="gender"]',t.$form).filter('[value="M"]').focus())):(n.removeClass("hidden"),e('[name="gender"]',t.$form).filter('[value="M"]').focus())}))})),e('[name="city_branch"]',this.$form).on("change change:silent",(function(n){var r=e('[name="branch"]',t.$form),o=r.closest(t.selector.control);r.empty(),i.default.dictionary.branch_delivery.data.dictionary.records.forEach((function(t){t.relations.default.keys.filter((function(t){return t.indexOf(e(n.target).val())>=0})).length&&r.append(new Option(t.data.address,t.key))})),r.find("option").length>1?(r.val(null).closest(t.selector.control).removeClass(t.selector.filled),r.data("snapshot-branch")&&(r.val(r.data("snapshot-branch")).trigger("change.select2").closest(t.selector.control).addClass("_filled"),r.data("snapshot-branch",null))):r.find("option").length&&(o.addClass(t.selector.filled),"change:silent"!=n.type&&r.trigger("autovalue"),r.trigger("validate"))})),this.Steps.$steps.on("steps:opened",(function(n){if(e('[name="delivery_to"]',n.target).length){var r=e("."+t.PREFIX+"js-form-control-tabs",t.$form),o=e('[name="delivery_to"]',t.$form),s=e('[name="city_dsa"]',t.$form);if(e('[name="deliveryHome"], [name="deliveryCurrentAddress"]',t.$form).each((function(n,r){var o=e('[name="permanentAddress"]',t.$form),a=e('[data-tabs-toggler="'+e(r).closest("[data-tab-checked]").data("tab-checked")+'"]',t.$form),l=o.val()&&o.suggestions().selection?o.suggestions().selection.data.city:null,c=o.val()&&o.suggestions().selection?o.suggestions().selection.data.region:null;s.find("option").each((function(t,n){var o=e(n).text().replace(/( Ðåñïóáëèêà| îáëàñòü| êðàé)/g,"");o!=l&&o!=c||(e(r).data("city",e(n).attr("value")),i.default.debug&&console.log(o,l,e(r).closest("[data-tab-checked]").data("tab-checked")))})),a.parent().addClass("delivery-tabs-hide"),e(r).closest("[data-tab-checked]").hide()})),o.filter(":checked").parent().is(".delivery-tabs-hide"))o.parent().not(".delivery-tabs-hide").eq(0).find("input").prop("checked",!0);r[o.parent().not(".delivery-tabs-hide").length>1?"show":"hide"](),r.toggleClass(t.PREFIX+"form-control--tabs-left",o.parent().not(".delivery-tabs-hide").length<4),o.each((function(e,n){t.Tabs.updateTab(n)})),t.Tabs.updateTabsPin(r)}var a=e('[name="permanentAddress"]',t.$form).suggestions().selection,l=e('[name="city_branch"]',n.target),c=e('[name="branch"]',n.target),u=e('[name="city_dsa"]',n.target),d=e('[name="deliveryType"]:checked',n.target);if(l.trigger("change:silent"),l.length&&a){var f=!1;a.data.city&&l.find("option").each((function(n,r){e(r).text()==a.data.city&&(l.val(r.value).trigger("change:silent").trigger("change.select2"),l.closest("."+t.PREFIX+"form-control").addClass(t.selector.filled),f=!0)})),a.data.region&&!f&&l.find("option").each((function(n,r){e(r).text().replace(/( Ðåñïóáëèêà| îáëàñòü| êðàé)/g,"")==a.data.region&&(l.val(r.value).trigger("change:silent").trigger("change.select2"),l.closest("."+t.PREFIX+"form-control").addClass(t.selector.filled),f=!0)}))}u.length&&u.val(),l.length&&l.val()&&l.val()!=l.data("previousValue")&&(l.data("previousValue",l.val()),"branch"==d.val()&&l.trigger("autovalue")),u.length&&u.val()&&u.val()!=u.data("previousValue")&&(u.data("previousValue",u.val()),"dsa"==d.val()&&u.trigger("autovalue")),c.length&&c.val()&&c.val()!=c.data("previousValue")&&(c.data("previousValue",c.val()),"branch"==d.val()&&c.trigger("autovalue")),Array.from(t.Steps.$steps).forEach((function(e,t){e.classList.contains("__active")&&5===t&&M.init()}))})),this.$form.on("autovalue",(function(t){var n=e(t.target);"passportIssuePlace"==n.data("context")&&(v.default.destroy(n[0]),n[0].style.height=n[0].scrollHeight+"px",setTimeout((function(){return(0,v.default)(n[0])}),1))})),this.$form.on("field:error",(function(e){return O.calculate(e.target,"-")})),this.$form.on("field:valid",(function(t){"spouseIncome"===e(t.target).attr("name")||"spousePhone"===e(t.target).attr("name")||"spouseCompany"===e(t.target).attr("name")?(e('[name="spouseIncome"]')[0].value.length>0&&!e('[name="spouseIncome"]').parent().parent().hasClass("_error")?O.calculate(e('[name="spouseIncome"]')[0],"+"):O.calculate(e('[name="spouseIncome"]')[0],"-"),e('[name="spousePhone"]')[0].value.length>0&&!e('[name="spousePhone"]').parent().parent().hasClass("_error")?O.calculate(e('[name="spousePhone"]')[0],"+"):O.calculate(e('[name="spousePhone"]')[0],"-"),e('[name="spouseCompany"]')[0].value.length>0&&!e('[name="spouseCompany"]').parent().parent().hasClass("_error")?O.calculate(e('[name="spouseCompany"]')[0],"+"):O.calculate(e('[name="spouseCompany"]')[0],"-")):O.calculate(t.target,"+"),i.default.flags.isSnapshotActive="CS0200-AD01"!==i.default.config.card.id,i.default.token&&i.default.flags.isSnapshotActive&&(0,p.SnapshottingDataDebounce)(p.SnapshotMode.SAVE)})),this.$form.on("change",(function(t){var n=e(t.target);(i.default.token&&("checkbox"==n.attr("type")||"radio"==n.attr("type"))||n.is("select"))&&("materialStatus"!==n.attr("name")||e('[data-tab-checked="materialStatus[319]"]').hasClass("_tab-hidden")?(O.calculate(e('[name="spouseIncome"]')[0],"+"),setTimeout((function(){O.calculate(e('[name="spousePhone"]')[0],"+"),setTimeout((function(){return O.calculate(e('[name="spouseCompany"]')[0],"+")}),200)}),200)):(O.calculate(e('[name="spouseIncome"]')[0],"-"),setTimeout((function(){O.calculate(e('[name="spousePhone"]')[0],"-"),setTimeout((function(){return O.calculate(e('[name="spouseCompany"]')[0],"-")}),200)}),200)),i.default.flags.isSnapshotActive="CS0200-AD01"!==i.default.config.card.id,n[0].getAttribute("name")!==i.default.config.prefix+"radio-month-sum"&&i.default.flags.isSnapshotActive&&(0,p.SnapshottingDataDebounce)(p.SnapshotMode.SAVE))}))}},{key:"bindSubmit",value:function(){var e=this;this.$form.on("submit",(function(t){t.preventDefault(),i.default.debug&&console.log("submit"),e.Validate.validateAll();var n=e.$form.find("._error");if(i.default.debug&&console.log(n.length+" submit errors"),n.length)return(0,S.render)(j,E),void(e.stepPromise&&e.stepPromise.reject());e.$btn.attr("disabled",!0),e.Steps.processing=!0,e.sendForm()}))}},{key:"sendForm",value:function(){var t=this,n=JSON.stringify(this.Mapping.data);i.default.debug&&console.log(JSON.parse(n)),i.default.debug&&console.log(n),e.ajax({url:i.default.config.endpoint.form,dataType:"json",contentType:"application/json",processData:!1,data:n,type:"POST",xhrFields:{withCredentials:!0},success:function(r){if(r.success){t.Steps.processing=!1,i.default.flags.isSnapshotActive=!1,t.$form.removeClass("_error").addClass("_success");var o=e("."+i.default.config.prefix+'js-form-control-field[name="name"]').val().split(" ")[1]+" "+e("."+i.default.config.prefix+'js-form-control-field[name="name"]').val().split(" ")[2];"branch"===e('[name="deliveryType"]:checked',t.$form).val()&&(i.default.fieldOM=null),(new b.default).renderThxPage(o),t.$btn.removeAttr("disabled"),t.$form.trigger("form:success",[r,JSON.parse(n)]),(0,C.trackPostAnswers)({url:window.location.href,request:JSON.parse(n),response:r,code:200}).done((function(){}));var s=e('[name="mobilePhone"]',t.$form).val().replace(/[^\d]/g,"");if((0,C.trackAnswerPhone)(s),t.stepPromise&&t.stepPromise.resolve(),i.default.sbjs&&i.default.sbjs.current){var a=i.default.sbjs.current,l=a.src,c=a.mdm,u=a.cmp,d=a.trm,f=a.cnt;l&&c&&u&&d&&f||(0,C.trackUTM)({sbjs:i.default.sbjs.current,url:window.location.href}).done((function(){}))}localStorage.removeItem("isReturningForm")}else{t.Steps.processing=!1,y.TrackJS.track({releaseDate:(0,w.getDate)(),response:r,flags:{withSnapshot:i.default.flags.withSnapshot},data:n}),t.$form.removeClass("_success").addClass("_error");var h="";if(r.data.errors)for(var p in r.data.errors)h+=('Ïîëå "'+p.replace("root.","")+'" — '+r.data.errors[p][0].toLowerCase().replace("ïîëå","")+"<br>").replace(" "," ");else h="Too many request from one phone number."===r.error.message?"Ñëèøêîì ìíîãî çàïðîñîâ ñ îäíîãî íîìåðà. Ïîæàëóéñòà, îáðàòèòåñü â ïîääåðæêó: <a href='tel:88007001717'>8 800 700 17 17</a>":r.error.message;t.$btn.removeAttr("disabled"),i.default.debug&&console.log(r.error.code?"Êîä îøèáêè "+r.error.code+": "+r.error.message:"Íåèçâåñòíàÿ îøèáêà."),t.$form.trigger("popup:open",{name:"error",content:h}),(0,C.trackPostAnswers)({url:window.location.href,request:JSON.parse(n),response:r,code:r.error.code}).done((function(){})),t.stepPromise&&t.stepPromise.reject()}},error:function(e,r){var o="timeout"===r?"TIME_OUT":"500",s=e.responseJSON;t.Steps.processing=!1,y.TrackJS.track({releaseDate:(0,w.getDate)(),error:e,flags:{withSnapshot:i.default.flags.withSnapshot},data:n}),t.$form.removeClass("_success").addClass("_error"),i.default.debug&&console.log("Îøèáêà îòïðàâêè ôîðìû"),t.$btn.removeAttr("disabled"),t.$form.trigger("popup:open",{name:"error",content:"Îøèáêà îòïðàâêè ôîðìû"}),(0,C.trackPostAnswers)({url:window.location.href,request:JSON.parse(n),response:s,code:o}).done((function(){})),t.stepPromise&&t.stepPromise.reject()}})}},{key:"bindChangePhone",value:function(){var t=this;e("."+this.PREFIX+'js-form-popup[data-name="editPhone"]').each((function(n,r){e("."+t.PREFIX+"js-form-change-phone",r).on("click",(function(n){n.preventDefault(),e(r).find(t.selector.field).each((function(e,n){t.Validate.validate(n)})),e(r).find("._error").length||(e('[name="mobilePhone"]',t.$form).val(e('[name="changeToMobilePhone"]',r).val()).change(),e(n.currentTarget).trigger("popup:close"),t.$form.trigger("sms:send"))})),e(r).on("popup:opened",(function(){e('[name="changeToMobilePhone"]').focus()})),e(r).on("popup:closed",(function(){e(r).find(t.selector.field).val("").closest(t.selector.control).removeClass(t.selector.filled).removeClass(t.selector.valid).removeClass(t.selector.error)}))}))}},{key:"resetForm",value:function(){this.$form[0].reset(),this.$form.find(this.selector.control).removeClass(this.selector.filled).removeClass(this.selector.valid).removeClass(this.selector.error),this.$btn.removeAttr("disabled"),this.$form.trigger("form:reset")}},{key:"_checkIsReturning",value:function(){"true"===localStorage.getItem("isReturningForm")&&e("[data-returning]",this.$form).addClass("active")}},{key:"disableAutoFill",value:function(){this.$form.find('[type="text"], [type="email"], [type="tel"]').attr("autocomplete","off"),this.$form.find('[type="password"]').attr("autocomplete","new-password"),this.$form.find('[name="mobilePhoneConfirmation"]').attr("autocomplete","one-time-code")}},{key:"disableIEautocomplete",value:function(){(i.default.ie||i.default.edge)&&(window.onbeforeunload=function(){e('form[autocomplete="off"]').each((function(){this.reset()}))})}}]),t}();e("."+i.default.config.prefix+"js-form").each((function(){new A(this)})),t.snapshotProgress=O}).call(this,n(1))},function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=n(96),s=d(n(0)),a=d(n(11)),l=n(5),c=n(2),u=d(n(12));function d(e){return e&&e.__esModule?e:{default:e}}var f=s.default.config.prefix,h="_error",p="_filled",m="_valid",g="VALID",v="INVALID",y="SUCCESS",_="FAIL",b={FAIL:"500",OK:"200",TIME_OUT:"TIME_OUT"},w="Other",x="Äðóãîå âðåìÿ",C="Other",k=function(e){return{timeError:"Ìû âðåìåííî íå ìîæåì ïîêàçàòü âàì äîñòóïíûå äàòû äîñòàâêè. Ïîæàëóéñòà, îòïðàâüòå çàÿâêó, íàæàâ êíîïêó «Îòïðàâèòü», è íàø îïåðàòîð óòî÷íèò óäîáíîå äëÿ âàñ âðåìÿ",serviceError:'Íåáîëüøèå ñëîæíîñòè ñ ñåðâèñîì äîñòàâêè. Ïîæàëóéñòà, îáíîâèòå ñòðàíèöó (ââåäåííûå âàìè äàííûå ñîõðàíÿòñÿ è ïîäñòàâÿòñÿ â çàÿâêó). Èëè èçìåíèòå ñïîñîá ïîëó÷åíèÿ íà "Çàáðàòü ñàìîñòîÿòåëüíî"',addressError:'Ê ñîæàëåíèþ, ìû ïîêà íå äîñòàâëÿåì êàðòû ïî ýòîìó àäðåñó. Èçìåíèòå ñïîñîá ïîëó÷åíèÿ íà "Çàáðàòü ñàìîñòîÿòåëüíî" è âûáåðèòå ãîðîä, â êîòîðûé ñìîæåòå ïðèåõàòü çà êàðòîé',addressNearestError:e?"Ê ñîæàëåíèþ, ìû ïîêà íå äîñòàâëÿåì êàðòû ïî ýòîìó àäðåñó. Âûáåðèòå ýòè àäðåñà: "+e+'. Èëè èçìåíèòå ñïîñîá ïîëó÷åíèÿ íà "Çàáðàòü ñàìîñòîÿòåëüíî"':'Ê ñîæàëåíèþ, ìû ïîêà íå äîñòàâëÿåì êàðòû ïî ýòîìó àäðåñó. Èçìåíèòå ñïîñîá ïîëó÷åíèÿ íà "Çàáðàòü ñàìîñòîÿòåëüíî" è âûáåðèòå áëèæàéøèé ê âàì ãîðîä',busyError:"Ê ñîæàëåíèþ, â ýòî âðåìÿ âñå íàøè êóðüåðû çàíÿòû. Ïîæàëóéñòà, ïîïðîáóéòå âûáðàòü äðóãóþ äàòó",dayError:"Êàæåòñÿ, âû óêàçàëè äåíü, êîòîðûé óæå ïðîøåë. Ïîæàëóéñòà, âûáåðèòå äðóãóþ äàòó",serviceSmallError:'Íåáîëüøèå ñëîæíîñòè ñ ñåðâèñîì äîñòàâêè. Ïîæàëóéñòà, èçìåíèòå ñïîñîá ïîëó÷åíèÿ íà "Çàáðàòü ñàìîñòîÿòåëüíî"',highDemand:'Äîñòàâëÿåì äîëüøå îáû÷íîãî èç-çà âûñîêîãî ñïðîñà. Âûáåðèòå "Çàáðàòü ñàìîñòîÿòåëüíî" è ïîëó÷èòå êàðòó â ëþáîì óäîáíîì îòäåëåíèè'}},S=function(){function t(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),this._form=document.querySelector("."+f+"form"),this._deliveryDatesControl=this._form.querySelector('[name="deliveryDates"]'),this._deliveryTimesControl=this._form.querySelector('[name="deliveryTimes"]'),this._deliveryCityControl=this._form.querySelector('[name="city_dsa"]'),this._branchDeliveryAddressControl=this._form.querySelector('[name="deliveryAddress"]'),this._controlLoader=this._form.querySelector("."+f+"form-control__loader"),this._submitButton=this._form.querySelector("."+f+"submit-btn"),this._deliveryTypeDsa=this._form.querySelector('[name="deliveryType"][value="dsa"]'),this._deliveryDates=null,this._fieldOM={sid:(0,o.v4)()},this._branchDeliveryAddressControlValue="",this._isBranchDeliveryAddressControlNotChangeFromTrigger=!0,this._isSetFrizeDeliveryDateControlState=!1,this._request=null,this._isDsaOpened=!1}return i(t,[{key:"init",value:function(){var t=this;s.default.deliveryDates?(this._deliveryDates=s.default.deliveryDates,this._isBranchDeliveryAddressControlNotChangeFromTrigger=!0):this._disabledControl(this._deliveryDatesControl);var n=e('[name="deliveryType"]:checked',this._form).val();(this._disabledControl(this._deliveryTimesControl),this._onSelectDeliveryDates(),this._onSelectDeliveryTimes(),this._request=null,this._branchDeliveryAddressControl.addEventListener("blur",this._onBlurDeliveryBranchAddress.bind(this)),this._deliveryTypeDsa.addEventListener("click",this._onSelectDsa.bind(this)),this._isDsaOpened=!1,""!==this._branchDeliveryAddressControl.value&&this._branchDeliveryAddressControl.parentNode.parentNode.classList.contains("_valid")&&!s.default.deliveryDates&&"dsa"===n&&setTimeout((function(){t._isDsaOpened=!0,t._getFieldOM()}),500),this._branchDeliveryAddressControlValue=this._branchDeliveryAddressControl.value,s.default.deliveryDates)&&e(this._deliveryCityControl).val(u.default.parseCity(e(this._branchDeliveryAddressControl))).trigger("change")}},{key:"_getFieldOM",value:function(){var e=this;this._disabledControl(this._branchDeliveryAddressControl),this._disabledControl(this._submitButton),this._changeControlLabel(this._deliveryDatesControl,"Ïîäáèðàåì óäîáíûå äàòû..."),(0,l.suggestCityDadata)(this._branchDeliveryAddressControl.value).done((function(t){var n=(0,c.deliveryFormatedData)(t),i=n.delivery,o=n.phone,u=n.cardType,d=a.default.parseGetCourierScheduleRequest({delivery:i,phone:o,cardType:u});(0,l.getCourierSchedule)(d).done((function(t){e._handleGetResponse(b.OK,t,a.default.parseDeliveryDateStatus(t),a.default.parseDeliveryDateMessage(t),a.default.parseDeliveryDates(t),i.address.city),(0,l.trackGetCourierSchedule)(a.default.parseTrackPostFieldomData(r({url:window.location.href,request:d},t,{formVersion:s.default.formVersion,code:t.code||b.OK}))).done((function(){}))})).fail((function(t,n){var i=b["timeout"===n?"TIME_OUT":"FAIL"],o=t.responseJSON;e._handleGetResponse(i),(0,l.trackGetCourierSchedule)(a.default.parseTrackPostFieldomData(r({url:window.location.href,request:d},o,{code:i}))).done((function(){}))}))})).fail((function(t,n){var r=b["timeout"===n?"TIME_OUT":"FAIL"];e._handleGetResponse(r),(0,l.trackDadataError)({token:s.default.snapshotToken,value:e._branchDeliveryAddressControl.value,error:t.responseJSON})}))}},{key:"_postFieldOM",value:function(e){var t=this;if(this._disabledControl(this._submitButton),!this._isSetFrizeDeliveryDateControlState){this._disabledControl(this._deliveryDatesControl,!0),this._disabledControl(this._deliveryTimesControl,!0),this._disabledControl(this._branchDeliveryAddressControl);var n=a.default.parsePostFieldOMData(r({},a.default.parseUserData(this._form),this._fieldOM.sid));if(n===this._request)return;this._request=n,(0,l.postCourierSchedule)(a.default.parsePostFieldOMData(r({},a.default.parseUserData(this._form),this._fieldOM.sid))).done((function(i){e&&t._unDisabledControl(t._submitButton),t._handlePostResponse(b.OK,i,a.default.parseDeliveryDateStatus(i),a.default.parseDeliveryDateMessage(i),a.default.parseDeliveryResponsePostData(i)),(0,l.trackPostCourierSchedule)(a.default.parseTrackPostFieldomData(r({url:window.location.href,request:(0,c.removeFIOFromUserData)(JSON.parse(n)),formVersion:s.default.formVersion},i,{code:i.code||b.OK}))).done((function(){}))})).fail((function(i,o){var u=b["timeout"===o?"TIME_OUT":"FAIL"],d=i.responseJSON;t._handlePostResponse(u),e&&t._unDisabledControl(t._submitButton),(0,l.trackPostCourierSchedule)(a.default.parseTrackPostFieldomData(r({url:window.location.href,formVersion:s.default.formVersion,request:(0,c.removeFIOFromUserData)(JSON.parse(n))},d,{code:u}))).done((function(){}))}))}}},{key:"_getDeliveryZones",value:function(e){var t=e.match("äîñòàâêè");if(t){var n=t.index,r=t[0].length;return e.substr(n+r+1).replace(".","")}return null}},{key:"_getFieldomErrorMessage",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"200",n=arguments[1],r=arguments[2];if("170"===e("[name=city_dsa]").val()&&[200,202,205,206].includes(+t))return setTimeout((function(){e("[data-step=6] [data-context=next]").attr("disabled",!0)}),300),k().highDemand;switch(t){case"101":case"102":case"103":case"104":case"105":case"108":case"109":case"111":case"112":case"113":case"117":case"200":case"202":case"205":case"300":case"301":case"302":case"303":case"306":case"307":case"308":case"310":case"311":return k().timeError;case"201":case"203":return k(this._getDeliveryZones(n)).addressNearestError;case"114":return k().busyError;case"206":return k().serviceSmallError;case"204":case"207":case"208":return this.pushEvent(this.eventObject({eventContext:r})),k().addressError;case"304":return k().busyError;case"305":return k().dayError;case"106":case"107":case"110":case"115":case"116":case"309":return k().serviceError;default:return n}}},{key:"_errorHandler",value:function(e,t,n){switch(e){case"101":case"102":case"103":case"104":case"105":case"108":case"109":case"111":case"112":case"113":case"117":case"200":case"202":case"205":case"300":case"301":case"302":case"303":case"306":case"307":case"308":case"310":case"311":this._renderErrorMessage(this._getFieldomErrorMessage(e,t)),this._frizeFieldOM(),this._fieldOM.bookingDateDelivery=!1,this._fieldOM.fieldomDeliveryDate=this._deliveryDatesControl.value,this._fieldOM.fieldomDeliveryTime=this._deliveryTimesControl.value,delete this._fieldOM.deliveryRequestId,this._unDisabledControl(this._submitButton);break;case"114":case"206":case"304":case"305":this._renderErrorMessage(this._getFieldomErrorMessage(e,t)),this._hideLoader(this._controlLoader),this._disabledControl(this._submitButton),this._unDisabledControl(this._deliveryDatesControl),this._unDisabledControl(this._deliveryTimesControl);break;case"106":case"107":case"110":case"115":case"116":case"201":case"203":case"204":case"207":case"208":case"309":this._renderErrorMessage(this._getFieldomErrorMessage(e,t,n)),this._removeDeliveryDatesOptions(),this._removeDeliveryTimesOptions(),this._hideLoader(this._controlLoader),this._disabledControl(this._submitButton);break;default:this._renderErrorMessage(this._getFieldomErrorMessage(e,t)),this._removeDeliveryDatesOptions(),this._removeDeliveryTimesOptions(),this._hideLoader(this._controlLoader),this._disabledControl(this._submitButton)}}},{key:"_deliveryImpossible",value:function(e){switch(e){case"201":case"204":case"206":case"207":s.default.deliveryImpossible="Delivery impossible";break;default:delete s.default.deliveryImpossible}}},{key:"_handlerError",value:function(){this._frizeFieldOM(),this._fieldOM={},this._fieldOM.fieldomDeliveryDate=this._deliveryDatesControl.value,this._fieldOM.fieldomDeliveryTime=this._deliveryTimesControl.value,this._fieldOM.bookingDateDelivery=!1,this._fieldOM.sid=(0,o.v4)()}},{key:"_handleGetResponse",value:function(e,t,n,r,i){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:null;switch(e){case b.OK:if(this._changeControlLabel(this._deliveryDatesControl,"Äàòà äîñòàâêè"),this._changeControlLabel(this._deliveryTimesControl,"Âðåìÿ äîñòàâêè"),y!==n||(0,c.getNearestError)()){if(_===n||(0,c.getNearestError)()){var a=null;o&&(a=(0,c.transliterate)(o));var l=(0,c.getNearestError)()||t.code;this._deliveryImpossible(l.toString()),this._errorHandler(l.toString(),r,a)}}else this._deliveryDates=i,this._removeDeliveryDatesOptions(),this._createSuccessOptions(),this._createDeliveryDatesOptions(),this._checkControlForInvalid(this._deliveryDatesControl)&&this._validationControl(g,this._deliveryDatesControl),this._unDisabledControl(this._deliveryDatesControl);break;case b.TIME_OUT:this._handlerError();break;case b.FAIL:this._handlerError(),this._changeControlLabel(this._deliveryDatesControl,"Óòî÷íèò îïåðàòîð"),this._changeControlLabel(this._deliveryTimesControl,"Óòî÷íèò îïåðàòîð")}s.default.sid=this._fieldOM.sid,s.default.fieldOM=this._fieldOM,this._unDisabledControl(this._branchDeliveryAddressControl),"0"!==this._deliveryDatesControl.value&&this._unDisabledControl(this._submitButton)}},{key:"_handlePostResponse",value:function(e,t,n,r){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null;(0,c.convertToRUFormatDeliveryDate)(this._deliveryDatesControl.value);switch(e){case b.OK:if(y!==n||(0,c.getRequestError)()){if(_===n||(0,c.getRequestError)()){var o=(0,c.getRequestError)()||t.code;this._deliveryImpossible(o.toString()),this._errorHandler(o.toString(),r)}}else{var a=i.deliveryRequestId,l=i.deliveryDate,u=i.timeWindowName;l!==w?(this._fieldOM.fieldomDeliveryDate=(0,c.convertToRUFormatDeliveryDate)(l),this._fieldOM.fieldomDeliveryTime=u,this._fieldOM.deliveryRequestId=a,this._fieldOM.bookingDateDelivery=!0):(delete this._fieldOM.bookingDateDelivery,delete this._fieldOM.deliveryRequestId),delete s.default.deliveryImpossible,s.default.sid=this._fieldOM.sid,this._unDisabledControl(this._deliveryDatesControl),this._unDisabledControl(this._deliveryTimesControl)}break;case b.TIME_OUT:this._frizeFieldOM(),this._fieldOM.bookingDateDelivery=!1,this._fieldOM.fieldomDeliveryDate=this._deliveryDatesControl.value,this._fieldOM.fieldomDeliveryTime=this._deliveryTimesControl.value,delete this._fieldOM.deliveryRequestId;break;case b.FAIL:this._frizeFieldOM(),this._fieldOM.fieldomDeliveryDate=this._deliveryDatesControl.value,this._fieldOM.fieldomDeliveryTime=this._deliveryTimesControl.value,this._fieldOM.bookingDateDelivery=!1,delete this._fieldOM.deliveryRequestId}s.default.fieldOM=this._fieldOM,this._unDisabledControl(this._branchDeliveryAddressControl)}},{key:"_getDeliveryTimes",value:function(e){var t=this._deliveryDates&&this._deliveryDates.find((function(t){return t.date===e}))||null;if(t){var n=t.timeWindow;this._removeDeliveryTimesOptions(),this._createDeliveryTimesOptions(n),this._unDisabledControl(this._deliveryTimesControl)}else this._disabledControl(this._deliveryTimesControl)}},{key:"_onSelectDeliveryDates",value:function(){var t=this,n=e(this._deliveryDatesControl);n.on("change.select2",(function(){t._isBranchDeliveryAddressControlNotChangeFromTrigger&&(t._deliveryDatesControl.value!==w?(t._checkControlForInvalid(t._deliveryDatesControl)&&t._validationControl(g,t._deliveryDatesControl),"0"!==t._deliveryDatesControl.value&&t._resetFieldOM()):(delete t._fieldOM.bookingDateDelivery,delete t._fieldOM.deliveryRequestId),t._disabledControl(t._submitButton),t._getDeliveryTimes(n.val()))}))}},{key:"_onSelectDeliveryTimes",value:function(){var t=this,n=e(this._deliveryTimesControl);n.on("change.select2",(function(){t._deliveryTimesControl.value!==C?(t._checkControlForInvalid(t._deliveryTimesControl)&&t._validationControl(g,t._deliveryTimesControl),t._resetFieldOM(),t._postFieldOM(!0)):t._fieldOM.fieldomDeliveryTime=C,"Other"===t._deliveryTimesControl.value&&e(t._form).trigger("delivery:change:time:empty",x)})),n.on("select2:opening",(function(){setTimeout((function(){t._removeDeliveryDatesDefaultSuccessOptions()}),1)}))}},{key:"_onSelectDsa",value:function(){var e=this;""!==this._branchDeliveryAddressControl.value&&this._branchDeliveryAddressControl.parentNode.parentNode.classList.contains("_valid")&&!1===this._isDsaOpened&&setTimeout((function(){e._isDsaOpened=!0,e._getFieldOM()}),500)}},{key:"_onBlurDeliveryBranchAddress",value:function(t){var n=this,r=e(this._deliveryDatesControl),i=e(this._deliveryCityControl),o=t.target.value.trim();if(this._branchDeliveryAddressControlValue!==o){var a=0;this._disabledControl(this._deliveryDatesControl),this._disabledControl(this._deliveryTimesControl);var l=setInterval((function(){if(e(n._branchDeliveryAddressControl).closest("[data-position]").hasClass("_complete")&&e(n._branchDeliveryAddressControl).closest("[data-position]").hasClass("_valid")){if(clearInterval(l),"CS0200-AD01"===s.default.config.card.id&&"deliveryAddress"===e(t.target).attr("name")){var o=u.default.parseCity(e(t.target));if(t.target.value&&o&&!["170","102"].includes(o))return e(n._branchDeliveryAddressControl).trigger("field:error","Ê ñîæàëåíèþ, ìû ïîêà íå äîñòàâëÿåì êàðòû «ÌÈл ïî ýòîìó àäðåñó. Èçìåíèòå ñïîñîá ïîëó÷åíèÿ íà «Çàáðàòü ñàìîñòîÿòåëüíî» è âûáåðèòå áëèæàéøèé ê âàì ãîðîä"),i.val(o).trigger("change"),r.val(null),void n._disabledControl(n._deliveryDatesControl);n._unDisabledControl(n._deliveryDatesControl)}n._changeControlLabel(n._deliveryDatesControl,"Ïîäáèðàåì óäîáíûå äàòû..."),n._disabledControl(n._deliveryDatesControl,!0),n._isBranchDeliveryAddressControlNotChangeFromTrigger=!1,r.val(null).trigger("change"),n._isBranchDeliveryAddressControlNotChangeFromTrigger=!0,n._checkControlForValid(n._branchDeliveryAddressControl)?(n._isSetFrizeDeliveryDateControlState=!1,n._getFieldOM()):(n._removeDeliveryDatesOptions(),n._removeDeliveryTimesOptions()),n._resetFieldOM(),i.val(u.default.parseCity(e(t.target))).trigger("change")}else e(n._branchDeliveryAddressControl).closest("[data-position]").hasClass("_complete")&&e(n._branchDeliveryAddressControl).closest("[data-position]").hasClass("_error")?clearInterval(l):50===a?clearInterval(l):a+=1}),100);this._branchDeliveryAddressControlValue=o}}},{key:"_renderErrorMessage",value:function(t){e(this._form).trigger("popup:open",{name:"error",content:t})}},{key:"_createSuccessOptions",value:function(){this._changeControlValue(this._deliveryDatesControl,"Íàæìèòå çäåñü è âûáåðèòå óäîáíóþ äàòó",{id:0,isSelected:!0,isDefaultSelected:!0},!0,!0)}},{key:"_createErrorOptions",value:function(){this._changeControlValue(this._deliveryDatesControl,"Óòî÷íèò îïåðàòîð",{id:"Óòî÷íèò îïåðàòîð",isSelected:!0,isDefaultSelected:!0},!0),this._changeControlValue(this._deliveryTimesControl,"Óòî÷íèò îïåðàòîð",{id:"Óòî÷íèò îïåðàòîð",isSelected:!0,isDefaultSelected:!0},!0)}},{key:"_createDeliveryDatesOptions",value:function(){var e=this;this._deliveryDates.forEach((function(t){var n=a.default.parseDeliveryDate(t),r=(0,c.convertToRUFormatDeliveryDate)(n);return e._deliveryDatesControl.append(new Option((0,c.getDayOfWeek)(r),n))}))}},{key:"_removeDeliveryDatesDefaultSuccessOptions",value:function(){var e=Array.from(this._deliveryDatesControl.children).find((function(e){return"0"===e.value}));e&&e.remove()}},{key:"_removeDeliveryDatesOptions",value:function(){Array.from(this._deliveryDatesControl.children).forEach((function(e,t){0!==t&&e.remove()}))}},{key:"_createDeliveryTimesOptions",value:function(e){var t=this;e.reduce((function(e,t){var n=parseInt(t.name.match(/\d+/g).join(""));return e.push({id:t.id,name:t.name,parsedTime:n}),e}),[]).sort((function(e,t){return e.parsedTime-t.parsedTime})).forEach((function(e){return t._deliveryTimesControl.append(new Option(e.name,Number(e.id)))}))}},{key:"_removeDeliveryTimesOptions",value:function(){Array.from(this._deliveryTimesControl.children).forEach((function(e,t){0!==t&&e.remove()}))}},{key:"_hideLoader",value:function(e){e.classList.contains("visually-hidden")||e.classList.add("visually-hidden")}},{key:"_showLoader",value:function(e){e.classList.remove("visually-hidden")}},{key:"_changeControlLabel",value:function(t,n){var r=e(t).closest("."+f+"form-control").find("."+f+"form-control__label");r.text(n||r.text())}},{key:"_changeControlValue",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=arguments[2],i=r.id,o=void 0===i?0:i,s=r.isSelected,a=void 0!==s&&s,l=r.isDefaultSelected,c=void 0!==l&&l,u=arguments.length>3&&void 0!==arguments[3]&&arguments[3],d=arguments.length>4&&void 0!==arguments[4]&&arguments[4];t&&(e(t).append(new Option(n,o,a,c)),u&&e(t).trigger("change"),d&&e(t).select2("focus"))}},{key:"_disabledControl",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];t&&this._showLoader(this._controlLoader),e.setAttribute("disabled","true")}},{key:"_unDisabledControl",value:function(e){this._hideLoader(this._controlLoader),e.removeAttribute("disabled")}},{key:"_resetFieldOM",value:function(){this._fieldOM.fieldomDeliveryDate=null,this._fieldOM.fieldomDeliveryTime=null,this._fieldOM.bookingDateDelivery=null,this._fieldOM.deliveryRequestId=null}},{key:"_checkControlForValid",value:function(e){return[m,p].every((function(t){return e.parentNode.parentNode.classList.contains(t)}))}},{key:"_checkControlForInvalid",value:function(e){return e.parentNode.parentNode.classList.contains(h)}},{key:"_frizeFieldOM",value:function(){this._unDisabledControl(this._deliveryDatesControl),this._unDisabledControl(this._deliveryTimesControl),this._isSetFrizeDeliveryDateControlState=!0,this._removeDeliveryDatesOptions(),this._createErrorOptions(),e(this._deliveryDatesControl).val("Óòî÷íèò îïåðàòîð").trigger("change"),e(this._deliveryTimesControl).val("Óòî÷íèò îïåðàòîð").trigger("change"),this._disabledControl(this._deliveryDatesControl),this._disabledControl(this._deliveryTimesControl)}},{key:"_validationControl",value:function(e,t){switch(e){case g:t.parentNode.parentNode.classList.add(p,m),t.parentNode.parentNode.classList.remove(h);break;case v:t.parentNode.parentNode.classList.remove(p,m),t.parentNode.parentNode.classList.add(h)}}},{key:"pushEvent",value:function(e){window.dataLayer.push(e)}},{key:"eventObject",value:function(e){return Object.assign({event:"RBRU-DM",eventCategory:"Interaction: Form",eventAction:"Interaction: Step 6 of 7",eventLabel:"DeliveryFieldomError",eventSection:"Main",eventSubSection:"",eventPositionSubSection:"",eventPositionElement:"7",eventProduct:"DC",eventContent:"Form",eventContext:"",eventContextMessage:"",eventError:"",eventSuccess:"",eventVendor:"Creative people",eventFormVersion:"current"},e)}}]),t}();t.default=S}).call(this,n(1))},function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0});var r,i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=n(0),s=(r=o)&&r.__esModule?r:{default:r};var a=function(){function t(n){if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),this.PREFIX=s.default.config.prefix,this.$form=e("."+this.PREFIX+"js-form"),this.$root=e(n),this.text=this.$root.data("tooltip-text"),!this.$root.length)return[];this.render(),this.bind()}return i(t,[{key:"render",value:function(){s.default.debug&&console.log("Tooltip render"),this.$popup=e('<div class="'+this.PREFIX+'form-tooltip__popup" data-tooltip-text="'+this.text+'"></div>'),this.$root.append(this.$popup),this.setShift(),this.$root[0].rendered=!0}},{key:"bind",value:function(){var e=this;this.$root.on("click",(function(t){t.preventDefault(),e.setShift()})),s.default.W.on("resized",(function(){e.setShift()}))}},{key:"setShift",value:function(){var e=this.$popup.outerWidth(),t=(s.default.mobile,16),n=parseInt(this.$root.offset().left)+30+e-window.innerWidth;n>0?this.$popup.css("transform","translateX("+parseInt(-n-t)+"px)"):this.$popup.css("transform","")}}]),t}();t.default=a}).call(this,n(1))},function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.SnapshotMode=t.SnapshottingDataDebounce=t.SnapshottingData=void 0;var r=c(n(0)),i=n(83),o=c(n(84)),s=n(2),a=n(26),l=n(88);function c(e){return e&&e.__esModule?e:{default:e}}var u={SAVE:"SAVE",RESTORE:"RESTORE"},d="checkbox",f="radio",h={FORM:"."+r.default.config.prefix+"form",CONTROL:"."+r.default.config.prefix+"form-control"},p=document.querySelector(h.FORM),m=!1,g=["permanentAddress","workAddress"],v=function(t,n,c){var v=Array.from(e('[data-step="1"] .'+r.default.config.prefix+"form-control__field"));switch(t){case u.SAVE:if(m&&r.default.flags.isSnapshotActive)break;localStorage.getItem("isReturningForm")||localStorage.setItem("isReturningForm","true");var y={phone:{phone:e('[name="mobilePhone"]').val().replace(/[^\d]/g,""),token:r.default.token},token:r.default.snapshotToken};y.state=o.default.postData(),y.state.meta={pageUrl:(0,l.getUtmPromoUrl)(),progress:a.snapshotProgress.getProgress()},y.state.root.isDeliveryMethodPick=!document.querySelector("."+r.default.config.prefix+"form-button--show-btn"),i.api.post(i.ApiUrl.SAVE_DATA,y).then((function(e){})).catch((function(e){throw e}));break;case u.RESTORE:m=!0,i.api.get(i.ApiUrl.RESTORE_DATA+"?token="+r.default.snapshotToken+"&phone="+c+"&auth_token="+encodeURIComponent(n)).then((function(t){try{t.data.exists&&function(){var n=o.default.getData(t.data.state.root);r.default.debug&&console.log("Adapter",n),r.default.flags.withSnapshot=!0;var i=function(t){if("promocode"===t.toLowerCase()&&"true"!==r.default.props.isPromoSnapOff&&(window.dataLayer.push({event:"RBRU-DM",eventCategory:"Interaction: Form",eventAction:"Interaction: Step 3 of "+(e("."+r.default.config.prefix+"js-step").length+1),eventLabel:"Auto value",eventSection:"Main",eventSubSection:"",eventPositionSubSection:"",eventPositionElement:"2",eventProduct:"DC",eventContent:"Form",eventContext:"promoCode",eventContextMessage:n[t],eventError:"",eventSuccess:"",eventVendor:"Creative people",eventFormVersion:"v1"}),r.default.promocode=n[t.toLowerCase()]),"gender"===t.toLowerCase()){var i=document.querySelector("."+r.default.config.prefix+"gender-wrap-js");!n.gender&&i&&i.classList.remove("hidden")}if(null!=n[t]&&!v.some((function(e){return e.name===t}))&&"deliveryAddress"!==t){var o=p.querySelector('[name="'+t+'"]'),a=p.querySelector('select[name="'+t+'"]');if("isDeliveryMethodPick"===t&&n[t]){var l=document.querySelector("."+r.default.config.prefix+"form-group--delivery-controls"),c=document.querySelector("."+r.default.config.prefix+"form-control--show-btn");l.classList.remove("visually-hidden"),(0,s.unrender)(c)}if(o)switch(o.type){case f:var u=p.querySelector('input[name="'+t+'"][value="'+n[t]+'"]');if(u){if(r.default.flags.exists&&"deliveryType"==t)break;u.checked=!0,"confirmationDocument"!=t&&"confirmationDocumentZp"!=t||1!=n[t]||e('[data-tabs-toggler="confirmationOther"]').click()}break;case d:n[t]&&(o.checked=!0);break;default:if(g.some((function(e){return e===t}))&&e(o).suggestions().fixData(),"deliveryAddress"==t){var m=[].slice.call(e('[name="permanentAddress"]',p)).filter((function(e){return n[t]==e.value}));m.length?e('[name="delivery_to"]',p).filter('[data-tabs-toggler="'+e('[data-miror-value="'+m[0].name+'"]',p).attr("name")+'"]').prop("checked",!0):(o.value=n[t],e(o).closest(h.CONTROL).addClass("_filled _valid"),e(o).suggestions().fixData(),e('[name="delivery_to"]',p).filter('[data-tabs-toggler="deliveryAddress"]').prop("checked",!0))}else(0===n[t]||n[t])&&(o.value=n[t],o.parentNode.parentNode.classList.add("_filled","_valid")),e(o).filter("[data-phone],[data-currency]").trigger("input"),e(o).suggestions()&&"passportIssueByCode"!=o.getAttribute("name")&&(e(o).suggestions().fixData(),o.restoredFixData=!0);e(o).is("[data-miror-src]")&&e(o).trigger("miror:change")}a&&("branch"==t?e(a).data("snapshot-branch",n[t]):e('select[name="'+t+'"]',p).val(""+n[t]).trigger("change.select2").closest(h.CONTROL).addClass("_filled"))}};for(var a in n)i(a)}(),e('[name="gender"]:checked',p).trigger("gender:render"),e(p).trigger("tabs:render")}catch(e){console.log(e)}a.snapshotProgress.restore(),setTimeout((function(){m=!1}),300)}))}},y=(0,s.debounce)((function(e){v(e)}),100);t.SnapshottingData=v,t.SnapshottingDataDebounce=function(e){y(e)},t.SnapshotMode=u}).call(this,n(1))},function(e,t,n){e.exports=n(31)},function(e,t,n){"use strict";var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=l(n(0)),o=n(9),s=n(15),a=l(n(32));function l(e){return e&&e.__esModule?e:{default:e}}var c=document.getElementById(i.default.config.prefix+"form");c.classList.add(i.default.config.prefix+"loading");try{i.default.props=JSON.parse(c.getAttribute("data-props"))||{},i.default.props.id&&(i.default.config.card.id=i.default.props.id)}catch(e){i.default.debug&&console.log(e)}i.default.props.payment="MASTERCARD";var u=document.querySelector('[src*="bundle.js"]').src;n.p=u.split("/").slice(0,-1).join("/")+"/",c.innerHTML=a.default,i.default.form=c.querySelector("."+i.default.config.prefix+"js-form"),i.default.mobile||i.default.form.classList.add("_desktop");var d,f,h,p=[{device:"android",platform:/Android/},{device:"iphone",platform:/iPhone/},{device:"ipad",platform:/iPad/},{device:"symbian",platform:/Symbian/},{device:"windows-phone",platform:/Windows Phone/},{device:"tablet-os",platform:/Tablet OS/},{device:"linux",platform:/Linux/},{device:"windows",platform:/Windows NT/},{device:"macintosh",platform:/Macintosh/}],m=navigator.userAgent;i.default.platform=function(){for(var e in p)if(p[e].platform.test(m))return p[e].device;return m}(),c.querySelector("."+i.default.config.prefix+"js-form").classList.add("_"+i.default.platform),d="https://www.raiffeisen.ru/common/js/sourcebuster.min.js",f=function(){Promise.resolve().then(function(e){(function(e){n(10),c.classList.remove(i.default.config.prefix+"loading"),window.$=e;var t={domain:{host:"raiffeisen.ru",isolate:!1},callback:function(e){i.default.sbjs=e,(0,s.promocodeElementContainer)(),(0,s.promocodeElementContainerPromo)(),(0,s.promocodeElementContainerStatad)(),(0,s.floctoryScript)()}};sbjs.init(r({},t)),window.dataLayer.push({event:"GApagespeed",eventCategory:"Performance Metrics",eventAction:"formLoad",eventLabel:i.default.formVersion,eventValue:Math.round(performance.now())})}).call(this,n(1))}.bind(null,n)).catch(n.oe)},(h=document.createElement("script")).async=!0,h.setAttribute("crossorigin","anonymous"),h.src=d,h.onerror=function(){console.log("Îøèáêà çàãðóçêè ñêðèïòà "+d),f()},h.onload=f,document.body.appendChild(h),(0,o.toggleTab)([document.querySelector("."+i.default.config.prefix+"form-group-map-container")])},function(e,t,n){"use strict";n.r(t),t.default='\x3c!-- FORM --\x3e\r\n<div class="ccform-form-wrap ccform-js-form-wrap">\r\n <form class="ccform-form ccform-js-form" novalidate>\r\n <div class="ccform-form-inner">\r\n <div class="ccform-form-content ccform-js-form-content">\r\n <div class="ccform-steps ccform-js-steps" data-steps="1">\r\n <div class="ccform-steps__header">\r\n <div class="ccform-steps-nav ccform-js-steps-nav">\r\n <a class="ccform-steps-nav__prev ccform-js-steps-nav-prev" data-context="back" tabindex="0" data-position-from="back"><svg class="sym-arrow">\r\n <use xlink:href="#sym-arrow"></use>\r\n </svg>Íàçàä</a>\r\n <div class="ccform-steps-nav__text">\r\n <span data-step-visible="1">Ââåäèòå íîìåð òåëåôîíà</span>\r\n <span data-step-visible="2">Ïîäòâåðäèòå íîìåð òåëåôîíà</span>\r\n <span data-step-visible="3">Çàïîëíèòå êîíòàêòíûå äàííûå<br class="hidden-desktop"></span>\r\n <span data-step-visible="4"><span data-miror-text="name"></span>, óêàæèòå ïàñïîðòíûå äàííûå<br class="hidden-desktop"></span>\r\n <span data-step-visible="5"><span data-miror-text="name"></span>, çàïîëíèòå èíôîðìàöèþ<br class="hidden-desktop"></span>\r\n <span data-step-visible="6"><span data-miror-text="name"></span>, âûáåðèòå <span class="hidden-mobile">óäîáíûé</span> ñïîñîá<br>ïîëó÷åíèÿ êàðòû</span>\r\n <span class="ccform-steps-nav__step ccform-js-steps-nav-step" data-pattern=" (øàã $1 èç $2)" data-step-hidden="2"></span>\r\n </div>\r\n <div class="ccform-steps-nav__bullets ccform-js-steps-nav-bullets"></div>\r\n <div class="ccform-steps-nav__pin ccform-js-steps-progress-pin"></div>\r\n </div>\r\n \x3c!--//= ../elements/progressbar.html--\x3e\r\n </div>\x3c!-- /.ccform-steps__header --\x3e\r\n <div class="ccform-steps__list">\r\n <div class="ccform-step ccform-js-step __active" data-step="1">\r\n <div class="ccform-form-container">\r\n <div class="ccform-form-group ccform-form-group--alerts ccform-form-group--alerts-first no-btm-mrg" data-returning>\r\n <div class="ccform-form-alert no-btm-mrg">\r\n <svg class="ccform-form-alert__icon">\r\n <use xlink:href="#sym-alert-exist-card"></use>\r\n </svg>\r\n <div class="ccform-form-alert__text">Âû óæå íà÷èíàëè çàïîëíÿòü ýòó ôîðìó. Ââåäåííûå äàííûå ñîõðàíèëèñü, âû óâèäèòå èõ íà ñëåäóþùèõ øàãàõ</div>\r\n </div>\r\n </div>\r\n <div class="ccform-form-group">\r\n <div class="ccform-form-control ccform-js-form-control ccform-form-control--input ccform-form-control--half ccform-form-control--center" data-position>\r\n <label>\r\n <input class="ccform-form-control__field ccform-js-form-control-field" type="tel" name="mobilePhone" value="" data-phone data-required data-validate="phone" placeholder="+7 (923) 111-11-11" data-miror-src="phone" data-context="mobilePhone">\r\n <span class="ccform-form-control__label">Ìîáèëüíûé òåëåôîí</span>\r\n </label>\r\n </div>\r\n </div>\r\n <div class="ccform-form-footer">\r\n <div class="ccform-form-footer__left">\r\n <div class="ccform-form-agree">Íàæèìàÿ êíîïêó «Äàëåå», ÿ ñîãëàøàþñü <a href="" data-popup="policy" data-context="processingPDnRead" data-position="policy">ñ óñëîâèÿìè ïîäà÷è îíëàéí-çàÿâêè</a></div>\r\n </div>\r\n <div class="ccform-form-footer__right">\r\n <button class="ccform-form-button ccform-form-button--arrow-right ccform-js-step-next" type="button" data-context="next" data-position>Äàëåå<svg class="sym-arrow">\r\n <use xlink:href="#sym-arrow"></use>\r\n </svg></button>\r\n </div>\r\n </div>\r\n </div>\x3c!-- /.ccform-form-container --\x3e\r\n </div>\x3c!-- /.ccform-step --\x3e\r\n <div class="ccform-step ccform-js-step __unlisted" data-step="2">\r\n <div data-position="back"></div>\r\n <div class="ccform-form-container">\r\n <div class="ccform-form-sms">\r\n <div class="ccform-form-group__label">Êîä ïîäòâåðæäåíèÿ îòïðàâëåí âàì íà íîìåð:</div>\r\n <div class="ccform-form-sms__phone">\r\n <span class="ccform-form-sms__phone-number" data-miror-text="phone"></span>\r\n <a class="ccform-form-sms__phone-btn" data-popup="editPhone" data-context="changeMobilePhone" tabindex="0" data-position="changeMobilePhone">Èçìåíèòü</a>\r\n </div>\r\n <div class="ccform-form-control ccform-js-form-control ccform-form-control--input" data-position>\r\n <label>\r\n <input class="ccform-form-control__field ccform-js-form-control-field" type="text" name="mobilePhoneConfirmation" pattern="\\d*" maxlength="4" data-required data-validate="smsCode" data-context="codeSMS" id="single-factor-code-text-field">\r\n <span class="ccform-form-control__label">Êîä ïîäòâåðæäåíèÿ</span>\r\n </label>\r\n </div>\r\n <div class="ccform-form-sms__actions">\r\n <a class="ccform-form-sms__phone-btn ccform-js-form-sms-resend" data-context="sendCodeSMSAgain" tabindex="0" data-position="sendCodeSMSAgain">Îòïðàâèòü êîä ïîâòîðíî</a>\r\n <a class="ccform-form-sms__phone-btn" data-popup="resendHelp" data-context="sendCodeSMSHelp" tabindex="0" data-position="sendCodeSMSHelp">Íå ïðèõîäèò êîä?</a>\r\n </div>\r\n \x3c!--<div class="ccform-form-sms__footer">\r\n <button class="ccform-form-button ccform-js-step-next hidden-desktop2 hidden-mobile2" type="submit" data-position>Ïîäòâåðäèòü íîìåð</button>\r\n <div class="ccform-form-footer__left hidden-desktop2">\r\n <a class="ccform-form-button ccform-form-button--arrow-left ccform-js-step-prev" data-context="back" tabindex="0" data-position><svg class="sym-arrow"><use xlink:href="#sym-arrow"></use></svg>Íàçàä</a>\r\n </div>\r\n </div>--\x3e\r\n </div>\r\n <div class="ccform-form-footer">\r\n <div class="ccform-form-footer__left">\r\n <a class="ccform-form-button ccform-form-button--arrow-left ccform-js-step-prev" data-context="back" tabindex="0" data-position><svg class="sym-arrow">\r\n <use xlink:href="#sym-arrow"></use>\r\n </svg>Íàçàä</a>\r\n </div>\r\n <div class="ccform-form-footer__right">\r\n <button class="ccform-form-button ccform-form-button--arrow-right ccform-js-step-next hidden" type="button" data-context="next" data-position>Äàëåå<svg class="sym-arrow">\r\n <use xlink:href="#sym-arrow"></use>\r\n </svg></button>\r\n </div>\r\n </div>\r\n </div>\x3c!-- /.ccform-form-container --\x3e\r\n </div>\x3c!-- /.ccform-step --\x3e\r\n <div class="ccform-step ccform-js-step" data-step="3">\r\n <div class="ccform-form-container">\r\n <div class="ccform-form-group">\r\n <div class="ccform-form-control ccform-js-form-control ccform-form-control--input" data-position>\r\n <label>\r\n <textarea class="ccform-form-control__field ccform-js-form-control-field" type="text" name="name" value="" data-required data-validate="name" data-miror-src="name" data-dadata="fio" data-context="FullName"></textarea>\r\n <span class="ccform-form-control__label">Ôàìèëèÿ, èìÿ è îò÷åñòâî</span>\r\n </label>\r\n <span class="ccform-form-control__info">Íàïðèìåð: Ñìèðíîâ Àíäðåé Èâàíîâè÷</span>\r\n </div>\r\n <div class="ccform-form-control ccform-js-form-control ccform-form-control--radio-inline ccform-gender-wrap-js hidden" data-position>\r\n <div class="ccform-form-group__label">Ïîë</div>\r\n <label>\r\n <input class="ccform-form-control__field ccform-js-form-control-field" type="radio" name="gender" value="M" data-required="Óêàæèòå ïîë" data-context="gender">\r\n <span class="ccform-form-control__label">Ìóæñêîé</span>\r\n </label>\r\n <label>\r\n <input class="ccform-form-control__field ccform-js-form-control-field" type="radio" name="gender" value="F" data-required="Óêàæèòå ïîë" data-context="gender">\r\n <span class="ccform-form-control__label">Æåíñêèé</span>\r\n </label>\r\n </div>\r\n <div class="ccform-form-control ccform-js-form-control ccform-form-control--half ccform-form-control--input" data-position>\r\n <label>\r\n <input class="ccform-form-control__field ccform-js-form-control-field" type="text" name="birthday" value="" placeholder="ÄÄ.ÌÌ.ÃÃÃÃ" pattern="\\d*" data-required data-date="dd.mm.yyyy" data-validate="birthDate" data-context="birthday">\r\n <span class="ccform-form-control__label">Äàòà ðîæäåíèÿ</span>\r\n </label>\r\n </div>\r\n <div class="ccform-form-control ccform-js-form-control ccform-form-control--half ccform-form-control--input" data-position>\r\n <label>\r\n <input class="ccform-form-control__field ccform-js-form-control-field" type="email" name="email" value="" data-required data-validate="email" placeholder="email@domain.ru" data-dadata="email" data-context="email">\r\n <span class="ccform-form-control__label">Ýëåêòðîííàÿ ïî÷òà</span>\r\n </label>\r\n </div>\r\n <div class="ccform-form-control ccform-js-form-control ccform-form-control--checkbox" data-position>\r\n <label>\r\n <input class="ccform-form-control__field ccform-js-form-control-field" type="checkbox" name="citizenship" data-context="citizenship" checked>\r\n <span class="ccform-form-control__label">ß èìåþ ãðàæäàíñòâî ÐÔ</span>\r\n </label>\r\n </div>\r\n </div>\r\n <div class="ccform-form-footer">\r\n <div class="ccform-form-footer__left">\r\n <a class="ccform-form-button ccform-form-button--arrow-left ccform-js-step-prev" data-context="back" tabindex="0" data-position><svg class="sym-arrow">\r\n <use xlink:href="#sym-arrow"></use>\r\n </svg>Íàçàä</a>\r\n </div>\r\n <div class="ccform-form-footer__right">\r\n <button class="ccform-form-button ccform-form-button--arrow-right ccform-js-step-next" type="button" data-context="next" data-position>Äàëåå<svg class="sym-arrow">\r\n <use xlink:href="#sym-arrow"></use>\r\n </svg></button>\r\n </div>\r\n </div>\r\n </div>\x3c!-- /.ccform-form-container --\x3e\r\n </div>\x3c!-- /.ccform-step --\x3e\r\n <div class="ccform-step ccform-js-step" data-step="4">\r\n <div data-position="back"></div>\r\n <div class="ccform-form-container">\r\n <div class="ccform-form-group">\r\n <div class="ccform-form-group__label">Ïàñïîðòíûå äàííûå</div>\r\n <div class="ccform-form-control ccform-js-form-control ccform-form-control--half ccform-form-control--input" data-position>\r\n <label>\r\n <input class="ccform-form-control__field ccform-js-form-control-field" type="text" name="passportSeriaNumber" placeholder="1234-123456" pattern="\\d*" data-required data-masked="0000-000000" data-validate="passportSeriesNumber" data-context="passportSeriaNumber">\r\n <span class="ccform-form-control__label">Ñåðèÿ è íîìåð ïàñïîðòà</span>\r\n </label>\r\n </div>\r\n <div class="ccform-form-control ccform-js-form-control ccform-form-control--half ccform-form-control--input" data-position>\r\n <label>\r\n <input class="ccform-form-control__field ccform-js-form-control-field" type="text" name="passportIssueByCode" placeholder="123-456" pattern="\\d*" data-required data-masked="000-000" data-validate="passportCode" data-dadata="fms" data-context="passportIssueByCode">\r\n <span class="ccform-form-control__label">Êîä ïîäðàçäåëåíèÿ</span>\r\n </label>\r\n </div>\r\n <div class="ccform-form-control ccform-js-form-control ccform-form-control--half ccform-form-control--input" data-position>\r\n <label>\r\n <input class="ccform-form-control__field ccform-js-form-control-field" type="text" name="passportIssueDate" placeholder="ÄÄ.ÌÌ.ÃÃÃÃ" pattern="\\d*" data-required="Óêàæèòå äàòó âûäà÷è ïàñïîðòà" data-date="dd.mm.yyyy" data-validate="passportIssueDate" data-context="passportIssueDate">\r\n <span class="ccform-form-control__label">Äàòà âûäà÷è</span>\r\n </label>\r\n </div>\r\n <div class="ccform-form-control ccform-js-form-control ccform-form-control--half ccform-form-control--select hidden-mobile" data-position>\r\n <label>\r\n <select class="ccform-form-control__field ccform-js-form-control-field" name="birthCountry" data-required data-dict="country" data-context="birthCountry"></select>\r\n <svg class="sym-arrow">\r\n <use xlink:href="#sym-arrow"></use>\r\n </svg>\r\n <span class="ccform-form-control__label">Ñòðàíà ðîæäåíèÿ</span>\r\n </label>\r\n </div>\r\n <div class="ccform-form-control ccform-js-form-control ccform-form-control--input" data-position>\r\n <label>\r\n <textarea class="ccform-form-control__field ccform-js-form-control-field" type="text" name="passportIssuePlace" data-required data-validate="passportIssuePlace" data-context="passportIssuePlace"></textarea>\r\n <span class="ccform-form-control__label">Êåì âûäàí</span>\r\n </label>\r\n <span class="ccform-form-control__info">Óêàæèòå êàê â ïàñïîðòå</span>\r\n </div>\r\n </div>\r\n <div class="ccform-form-footer">\r\n <div class="ccform-form-footer__left">\r\n <a class="ccform-form-button ccform-form-button--arrow-left ccform-js-step-prev" data-context="back" tabindex="0" data-position><svg class="sym-arrow">\r\n <use xlink:href="#sym-arrow"></use>\r\n </svg>Íàçàä</a>\r\n </div>\r\n <div class="ccform-form-footer__right">\r\n <button class="ccform-form-button ccform-form-button--arrow-right ccform-js-step-next" type="button" data-context="next" data-position>Äàëåå<svg class="sym-arrow">\r\n <use xlink:href="#sym-arrow"></use>\r\n </svg></button>\r\n </div>\r\n </div>\r\n </div>\x3c!-- /.ccform-form-container --\x3e\r\n </div>\x3c!-- /.ccform-step --\x3e\r\n <div class="ccform-step ccform-js-step" data-step="5">\r\n <div data-position="back"></div>\r\n <div class="ccform-form-container">\r\n <div class="ccform-form-group">\r\n <div class="ccform-form-control ccform-js-form-control ccform-form-control--half ccform-form-control--select hidden-desktop" data-position>\r\n <label>\r\n <select class="ccform-form-control__field ccform-js-form-control-field" name="birthCountry" data-required data-dict="country" data-context="birthCountry"></select>\r\n <svg class="sym-arrow">\r\n <use xlink:href="#sym-arrow"></use>\r\n </svg>\r\n <span class="ccform-form-control__label">Ñòðàíà ðîæäåíèÿ</span>\r\n </label>\r\n </div>\r\n <div class="ccform-form-control ccform-js-form-control ccform-form-control--input" data-position>\r\n <label>\r\n <textarea class="ccform-form-control__field ccform-js-form-control-field" type="text" name="birthPlace" placeholder="ã. Ìîñêâà" data-required data-validate="birthPlace" data-context="birthPlace"></textarea>\r\n <span class="ccform-form-control__label">Ìåñòî ðîæäåíèÿ</span>\r\n </label>\r\n </div>\r\n <div class="ccform-form-control ccform-js-form-control ccform-form-control--input" data-position>\r\n <label>\r\n <textarea class="ccform-form-control__field ccform-js-form-control-field" type="text" name="permanentAddress" value="" data-required="Ââåäèòå àäðåñ ðåãèñòðàöèè" data-validate="addressHouse" data-dadata="address" data-miror-src="permanentAddress" data-context="permanentAddress"></textarea>\r\n <span class="ccform-form-control__label">Àäðåñ ðåãèñòðàöèè</span>\r\n <span class="ccform-form-control__info">Íàïðèìåð: Ëèïåöê, óë Îêòÿáðüñêàÿ, ä 1, êâ 2</span>\r\n </label>\r\n </div>\r\n <div class="ccform-form-control ccform-js-form-control ccform-form-control--radio-inline" data-position>\r\n <div class="ccform-form-group__label">Âû <a href="" data-popup="taxableRead" data-context="taxableRead" data-position="taxableRead">íàëîãîïëàòåëüùèê</a> ÐÔ?</div>\r\n <label>\r\n <input class="ccform-form-control__field ccform-js-form-control-field" type="radio" name="taxable" value="YES" data-required data-validate="taxable" data-context="taxResidency" checked>\r\n <span class="ccform-form-control__label">Òîëüêî ÐÔ</span>\r\n </label>\r\n <label>\r\n <input class="ccform-form-control__field ccform-js-form-control-field" type="radio" name="taxable" value="NO" data-required data-validate="taxable" data-context="taxResidency">\r\n <span class="ccform-form-control__label">Èíîé ñòðàíû èëè ÐÔ è èíîé ñòðàíû</span>\r\n </label>\r\n </div>\r\n </div>\r\n <div class="ccform-form-footer">\r\n <div class="ccform-form-footer__left">\r\n <a class="ccform-form-button ccform-form-button--arrow-left ccform-js-step-prev" data-context="back" tabindex="0" data-position><svg class="sym-arrow">\r\n <use xlink:href="#sym-arrow"></use>\r\n </svg>Íàçàä</a>\r\n </div>\r\n <div class="ccform-form-footer__right">\r\n <button class="ccform-form-button ccform-form-button--arrow-right ccform-js-step-next" type="button" data-context="next" data-position>Äàëåå<svg class="sym-arrow">\r\n <use xlink:href="#sym-arrow"></use>\r\n </svg></button>\r\n </div>\r\n </div>\r\n </div>\x3c!-- /.ccform-form-container --\x3e\r\n </div>\x3c!-- /.ccform-step --\x3e\r\n <div class="ccform-step ccform-js-step" data-step="6">\r\n <div data-position="back"></div>\r\n <div class="ccform-form-container">\r\n <div class="ccform-form-group ccform-form-group--alerts" data-ntb-visible="">\r\n <div class="ccform-form-alert">\r\n <svg class="ccform-form-alert__icon">\r\n <use xlink:href="#sym-alert-exist-card"></use>\r\n </svg>\r\n <div class="ccform-form-alert__text">Îêàçûâàåòñÿ, ìû çíàêîìû! Ýòî çíà÷èò, ÷òî âàì íå íóæíî çàïîëíÿòü ñâîè ïàñïîðòíûå äàííûå. Îñòàëîñü òîëüêî âûáðàòü îòäåëåíèå, â êîòîðîì âû ïîëó÷èòå êàðòó</div>\r\n </div>\r\n </div>\r\n <div class="ccform-form-group ccform-form-group--alerts" data-ntb-visible-dormant="">\r\n <div class="ccform-form-alert">\r\n <svg class="ccform-form-alert__icon">\r\n <use xlink:href="#sym-alert-exist-card"></use>\r\n </svg>\r\n <div class="ccform-form-alert__text">Îêàçûâàåòñÿ, ìû çíàêîìû! Ýòî çíà÷èò, ÷òî âàì íå íóæíî çàïîëíÿòü ñâîè ïàñïîðòíûå äàííûå. Îñòàëîñü òîëüêî âûáðàòü ñïîñîá äîñòàâêè</div>\r\n </div>\r\n </div>\r\n <div class="ccform-form-group ccform-form-group--delivery-controls">\r\n <div class="ccform-form-control ccform-js-form-control ccform-form-control--radio-inline ccform-form-control--radio-inline-mobile" data-position>\r\n <label>\r\n <input class="ccform-form-control__field ccform-js-form-control-field" type="radio" name="deliveryType" value="dsa" data-tabs-toggler="delivery_courier" data-context="deliveryType" checked>\r\n <span class="ccform-form-control__label">Áåñïëàòíàÿ äîñòàâêà</span>\r\n </label>\r\n <label>\r\n <input class="ccform-form-control__field ccform-js-form-control-field" type="radio" name="deliveryType" value="branch" data-tabs-toggler="delivery_office" data-context="deliveryType">\r\n <span class="ccform-form-control__label">Çàáðàòü ñàìîñòîÿòåëüíî</span>\r\n </label>\r\n </div>\r\n </div>\r\n <div data-tab-checked="delivery_office">\r\n <div class="ccform-form-group">\r\n <div class="ccform-form__map-select ccform-form-control ccform-js-form-control ccform-form-control--select" data-position>\r\n <label>\r\n <select class="ccform-form-control__field ccform-js-form-control-field" name="city_branch" data-required data-dict="city_delivery" data-context="deliveryCity">\r\n <option></option>\r\n </select>\r\n <svg class="sym-arrow">\r\n <use xlink:href="#sym-arrow"></use>\r\n </svg>\r\n <span class="ccform-form-control__label">Ãîðîä îáðàùåíèÿ</span>\r\n </label>\r\n </div>\r\n <div class="ccform-form-group ccform-form-group-map-container">\r\n <div class="ccform-form-group__label">Âûáåðèòå îòäåëåíèå</div>\r\n <div class="ccform-form-tab">\r\n <button class="ccform-form-tab__item ccform-form-tab__item--map ccform-form-tab__item--active" data-tab data-target="content-map" type="button">Íà êàðòå</button>\r\n <button class="ccform-form-tab__item" data-tab data-target="content-list" type="button">Ñïèñêîì</button>\r\n </div>\r\n <div class="ccform-form-tab__content">\r\n <div class="ccform-form-tab__item-content" id="ccform-content-map" data-tabcontent>\r\n <div class="ccform-form-tab__map-wrap">\r\n <div class="ccform-form-map" id="ccform-form-map"></div>\r\n <div class="ccform-branch"></div>\r\n </div>\r\n </div>\r\n <div class="ccform-form-tab__item-content visually-hidden" id="ccform-content-list" data-tabcontent>\r\n <div class="ccform-form-control ccform-js-form-control ccform-form-control--select" data-position>\r\n <label>\r\n <select class="ccform-form-control__field ccform-js-form-control-field" name="branch" data-required="Âûáåðèòå îòäåëåíèå" data-dict="branch_delivery" data-context="deliveryBranch">\r\n <option></option>\r\n </select>\r\n <svg class="sym-arrow">\r\n <use xlink:href="#sym-arrow"></use>\r\n </svg>\r\n <span class="ccform-form-control__label">Îòäåëåíèå</span>\r\n </label>\r\n <div class="ccform-branch ccform-branch--second"></div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n <div data-tab-checked="delivery_courier">\r\n <div class="ccform-form-group">\r\n <div class="ccform-form-group__label">Êóäà âàì äîñòàâèòü êàðòó?</div>\r\n <div class="ccform-form-control ccform-js-form-control ccform-form-control--tabs ccform-js-form-control-tabs" data-position>\r\n <label>\r\n <input class="ccform-form-control__field ccform-js-form-control-field" type="radio" name="delivery_to" value="deliveryHome" data-tabs-toggler="deliveryHome" data-context="deliveryDestination">\r\n <span class="ccform-form-control__label">Äîìîé</span>\r\n <svg class="ccform-form-control__icon">\r\n <use xlink:href="#sym-delivery-home"></use>\r\n </svg>\r\n </label>\r\n <label>\r\n <input class="ccform-form-control__field ccform-js-form-control-field" type="radio" name="delivery_to" value="deliveryCurrentAddress" data-tabs-toggler="deliveryCurrentAddress" data-context="deliveryDestination">\r\n <span class="ccform-form-control__label">Ïî àäðåñó ðåãèñòðàöèè</span>\r\n <svg class="ccform-form-control__icon">\r\n <use xlink:href="#sym-delivery-address"></use>\r\n </svg>\r\n </label>\r\n <label>\r\n <input class="ccform-form-control__field ccform-js-form-control-field" type="radio" name="delivery_to" value="deliveryAddress" data-tabs-toggler="deliveryAddress" data-context="deliveryDestination" checked>\r\n <span class="ccform-form-control__label">Äðóãîé àäðåñ</span>\r\n <svg class="ccform-form-control__icon">\r\n <use xlink:href="#sym-delivery-other"></use>\r\n </svg>\r\n </label>\r\n <div class="ccform-form-control__pin ccform-js-form-control-pin"></div>\r\n </div>\r\n <div class="ccform-form-w100">\r\n <div class="ccform-form-control ccform-js-form-control ccform-form-control--input" data-tab-checked="deliveryHome">\r\n <label>\r\n <input class="ccform-form-control__field ccform-js-form-control-field" type="text" name="deliveryHome" value="" data-required readonly data-context="deliveryDestinationAddress">\r\n <span class="ccform-form-control__label">Àäðåñ äîñòàâêè</span>\r\n </label>\r\n <span class="ccform-form-control__info">Íàïðèìåð: Ëèïåöê, óë Îêòÿáðüñêàÿ, ä 1, êâ 2</span>\r\n </div>\r\n <div class="ccform-form-control ccform-js-form-control ccform-form-control--input" data-tab-checked="deliveryCurrentAddress">\r\n <label>\r\n <input class="ccform-form-control__field ccform-js-form-control-field" type="text" name="deliveryCurrentAddress" value="" data-required readonly data-miror-value="permanentAddress" data-context="deliveryDestinationAddress">\r\n <span class="ccform-form-control__label">Àäðåñ äîñòàâêè</span>\r\n <span class="ccform-form-control__info">Íàïðèìåð: Ëèïåöê, óë Îêòÿáðüñêàÿ, ä 1, êâ 2</span>\r\n </label>\r\n </div>\r\n <div class="ccform-form-w100" data-tab-checked="deliveryAddress">\r\n <div class="visually-hidden ccform-form-control ccform-js-form-control ccform-form-control--select" data-position>\r\n <label>\r\n <select class="ccform-form-control__field ccform-js-form-control-field" name="city_dsa" data-required data-dict="city_delivery" data-context="deliveryCity">\r\n <option></option>\r\n </select>\r\n <svg class="sym-arrow">\r\n <use xlink:href="#sym-arrow"></use>\r\n </svg>\r\n <span class="ccform-form-control__label">Ãîðîä äîñòàâêè</span>\r\n </label>\r\n </div>\r\n <div class="ccform-form-control ccform-js-form-control ccform-form-control--input _clear" data-position>\r\n <label>\r\n <textarea class="ccform-form-control__field ccform-js-form-control-field" type="text" name="deliveryAddress" value="" data-required="Ââåäèòå àäðåñ äîñòàâêè" data-validate="addressHouse" data-dadata="address" data-context="deliveryDestinationAddress"></textarea>\r\n <span class="ccform-form-control__label">Àäðåñ äîñòàâêè</span>\r\n <span class="ccform-form-control__clear">\r\n </span>\r\n </label>\r\n <span class="ccform-form-control__info">Íàïðèìåð: Ëèïåöê, óë Îêòÿáðüñêàÿ, ä 1, êâ 2</span>\r\n </div>\r\n <div class="ccform-form-control ccform-js-form-control ccform-form-control--select ccform-form-control__delivery-dates-js" data-position>\r\n <label>\r\n <select class="ccform-form-control__field ccform-js-form-control-field" name="deliveryDates" data-required>\r\n <option></option>\r\n </select>\r\n <svg class="visually-hidden ccform-form-control__loader" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" style="margin:auto;background:#fff;display:block;" width="30px" height="30px" viewBox="0 0 100 100" preserveAspectRatio="xMidYMid">\r\n <circle cx="50" cy="50" fill="none" stroke="#b2a9a9" stroke-width="10" r="35" stroke-dasharray="164.93361431346415 56.97787143782138">\r\n <animateTransform attributeName="transform" type="rotate" repeatCount="indefinite" dur="1s" values="0 50 50;360 50 50" keyTimes="0;1"></animateTransform>\r\n </circle>\r\n </svg>\r\n <span class="ccform-form-control__label">Äàòû äîñòàâêè</span>\r\n </label>\r\n </div>\r\n <div class="ccform-form-control ccform-js-form-control ccform-form-control--select ccform-form-control__delivery-dates-js" data-position>\r\n <label>\r\n <select class="ccform-form-control__field ccform-js-form-control-field" name="deliveryTimes" data-required>\r\n <option></option>\r\n </select>\r\n <svg class="visually-hidden ccform-form-control__loader" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" style="margin:auto;background:#fff;display:block;" width="30px" height="30px" viewBox="0 0 100 100" preserveAspectRatio="xMidYMid">\r\n <circle cx="50" cy="50" fill="none" stroke="#b2a9a9" stroke-width="10" r="35" stroke-dasharray="164.93361431346415 56.97787143782138">\r\n <animateTransform attributeName="transform" type="rotate" repeatCount="indefinite" dur="1s" values="0 50 50;360 50 50" keyTimes="0;1"></animateTransform>\r\n </circle>\r\n </svg>\r\n <span class="ccform-form-control__label">Âðåìÿ äîñòàâêè</span>\r\n </label>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n <div class="ccform-form-footer">\r\n <div class="ccform-form-footer__left">\r\n <a class="ccform-form-button ccform-form-button--arrow-left ccform-js-step-prev" data-context="back" tabindex="0" data-position><svg class="sym-arrow">\r\n <use xlink:href="#sym-arrow"></use>\r\n </svg>Íàçàä</a>\r\n </div>\r\n <div class="ccform-form-footer__right">\r\n <button class="ccform-form-button ccform-form-button--arrow-right ccform-js-step-next ccform-submit-btn" type="submit" data-context="next" data-position>Îòïðàâèòü<svg class="sym-arrow">\r\n <use xlink:href="#sym-arrow"></use>\r\n </svg></button>\r\n </div>\r\n </div>\r\n </div>\x3c!-- /.ccform-form-container --\x3e\r\n </div>\x3c!-- /.ccform-step --\x3e\r\n </div>\x3c!-- /.ccform-steps__list --\x3e\r\n </div>\x3c!-- /.ccform-steps --\x3e\r\n <div class="ccform-loading-spinner">\r\n <div></div>\r\n <div></div>\r\n <div></div>\r\n <div></div>\r\n <div></div>\r\n <div></div>\r\n <div></div>\r\n <div></div>\r\n <div></div>\r\n <div></div>\r\n <div></div>\r\n <div></div>\r\n </div>\r\n </div>\x3c!-- /.ccform-form-content --\x3e\r\n <div class="ccform-form-success ccform-js-form-success">\r\n </div>\x3c!-- /.ccform-form-success --\x3e\r\n <div class="ccform-form-nonrf ccform-js-form-nonrf">\r\n <div class="ccform-form-nonrf-inner">\r\n <div class="ccform-form-nonrf__icon"></div>\r\n <div class="ccform-form-nonrf__person"> Ïîæàëóéñòà, îáðàòèòåñü â îòäåëåíèå </div>\r\n <div class="ccform-form-nonrf__text">\r\n <p> Âû óêàçàëè, ÷òî íå èìååòå ãðàæäàíñòâà ÐÔ. <br>\r\n Ýòî çíà÷èò, ÷òî çàêàçàòü êàðòó âû ñìîæåòå òîëüêî â îòäåëåíèè\r\n </p>\r\n </div>\r\n <a href="https://www.raiffeisen.ru/offices/?active_tab=tab-1" class="ccform-form-button"><span class="hidden-mobile">Íàéòè áëèæàéøåå îòäåëåíèå</span><span class="hidden-desktop">Íàéòè áëèæàéøåå îòäåëåíèå</span></a>\r\n </div>\r\n </div>\x3c!-- /.ccform-form-success --\x3e\r\n <div class="ccform-form-loaderror ccform-js-form-loaderror">\r\n <div class="ccform-form-success-inner">\r\n <div class="ccform-form-success__text">\r\n <p class="result-wait-text">Ïðîñòèòå, íåáîëüøàÿ çàìèíêà — ñëèøêîì ìíîãî ëþäåé íà÷àëè çàïîëíÿòü ôîðìó â îäèí ìîìåíò</p>\r\n <p class="result-wait-text">Ìû çíàåì, êàê âñ¸ èñïðàâèòü: îáíîâèòå ñòðàíèöó, ïîäòâåðäèòå íîìåð òåëåôîíà è ïðîäîëæèòå çàïîëíåíèå ñ ìåñòà, ãäå îñòàíîâèëèñü</p>\r\n <a href="" class="ccform-form-button" data-context="pageReload" data-position>Îáíîâèòü ñòðàíèöó</a>\r\n <div class="result"></div>\r\n </div>\r\n </div>\r\n </div>\x3c!-- /.ccform-form-loaderror --\x3e\r\n </div>\x3c!-- /.ccform-form-inner --\x3e\r\n <div class="ccform-form-popup ccform-js-form-popup" data-name="editPhone">\r\n <div class="ccform-form-popup-inner">\r\n <div class="ccform-form-popup__close ccform-js-form-popup-close" data-context="changeMobilePhoneCancel" tabindex="0" data-position-from="changeMobilePhone">\r\n <svg>\r\n <use xlink:href="#sym-cross"></use>\r\n </svg>\r\n </div>\r\n <div class="ccform-form-popup__header"> Ââåäèòå íîâûé íîìåð òåëåôîíà </div>\r\n <div class="ccform-form-popup__container">\r\n <div class="ccform-form-popup__content ccform-js-form-popup-content">\r\n <div class="ccform-form-control ccform-js-form-control ccform-form-control--input" data-position-from="changeMobilePhone">\r\n <label>\r\n <input class="ccform-form-control__field ccform-js-form-control-field" type="tel" name="changeToMobilePhone" data-phone data-required data-validate="phone" placeholder="+7 (923) 111-11-11" data-context="changeMobilePhoneNew">\r\n <span class="ccform-form-control__label">Íîìåð òåëåôîíà</span>\r\n </label>\r\n </div>\r\n </div>\r\n </div>\r\n <div class="ccform-form-popup__footer">\r\n <a class="ccform-form-button ccform-form-button--link ccform-js-form-popup-close" data-context="changeMobilePhoneCancel" tabindex="0" data-position-from="changeMobilePhone">Îòìåíèòü</a>\r\n <button class="ccform-form-button ccform-js-form-change-phone" type="button" data-context="changeMobilePhoneConfirm" data-position-from="changeMobilePhone">Èçìåíèòü</button>\r\n </div>\r\n </div>\r\n </div>\x3c!-- /.ccform-form-popup --\x3e\r\n <div class="ccform-form-popup ccform-js-form-popup" data-name="resendHelp">\r\n <div class="ccform-form-popup-inner">\r\n <div class="ccform-form-popup__close ccform-js-form-popup-close" tabindex="0" data-position-from="sendCodeSMSHelp"><svg>\r\n <use xlink:href="#sym-cross"></use>\r\n </svg></div>\r\n <div class="ccform-form-popup__header"><svg class="sym-info">\r\n <use xlink:href="#sym-info"></use>\r\n </svg>Íå ïðèõîäèò êîä? </div>\r\n <div class="ccform-form-popup__container">\r\n <div class="ccform-form-popup__content ccform-text ccform-js-form-popup-content">\r\n <ol>\r\n <li> Ìîæåò áûòü â óêàçàííûé âûøå íîìåð çàòåñàëàñü îøèáêà? Ïðîâåðüòå, ïîæàëóéñòà, åãî åùå ðàç. </li>\r\n <li> Ïðîáëåìû ìîãóò áûòü ñî ñòîðîíû âàøåãî ñîòîâîãî îïåðàòîðà. Îáðàòèòåñü â èõ ñëóæáó ïîääåðæêè. </li>\r\n </ol>\r\n <p> Åñëè âû âñå ïðîâåðèëè, íî êîä ïîäòâåðæäåíèÿ ïî-ïðåæíåìó íå ïðèõîäèò — ïîçâîíèòå íàì ïî áåñïëàòíîìó íîìåðó <b><a href="tel:88007005626" data-position-from="sendCodeSMSHelp">8 800 700-56-26</a></b> è ìû âàì ïîìîæåì. </p>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\x3c!-- /.ccform-form-popup --\x3e\r\n <div class="ccform-form-popup ccform-js-form-popup" data-name="resendSMS">\r\n <div class="ccform-form-popup-inner">\r\n <div class="ccform-form-popup__close ccform-js-form-popup-close" tabindex="0" data-position-from="sendCodeSMSAgain"><svg>\r\n <use xlink:href="#sym-cross"></use>\r\n </svg></div>\r\n <div class="ccform-form-popup__header"><svg class="sym-info">\r\n <use xlink:href="#sym-info"></use>\r\n </svg>Îòïðàâèòü êîä ïîâòîðíî</div>\r\n <div class="ccform-form-popup__content">\r\n <div class="ccform-form-popup__container ccform-text">\r\n <p> Íîâûé êîä îòïðàâëåí </p>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\x3c!-- /.ccform-form-popup --\x3e\r\n <div class="ccform-form-popup ccform-js-form-popup" data-name="error">\r\n <div class="ccform-form-popup-inner">\r\n <div class="ccform-form-popup__close ccform-js-form-popup-close" tabindex="0"><svg>\r\n <use xlink:href="#sym-cross"></use>\r\n </svg></div>\r\n <div class="ccform-form-popup__header"><svg class="sym-info">\r\n <use xlink:href="#sym-info"></use>\r\n </svg>Îøèáêà</div>\r\n <div class="ccform-form-popup__container">\r\n <div class="ccform-form-popup__content ccform-text ccform-js-form-popup-content">\r\n <p class="ccform-js-form-popup-error"></p>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\x3c!-- /.ccform-form-popup --\x3e\r\n <div class="ccform-form-popup ccform-form-popup--wide ccform-js-form-popup" data-name="policy">\r\n <div class="ccform-form-popup-inner">\r\n <div class="ccform-form-popup__close ccform-js-form-popup-close" data-context="processingPDnClose" tabindex="0" data-position-from="policy">\r\n <svg>\r\n <use xlink:href="#sym-cross"></use>\r\n </svg>\r\n </div>\r\n <div class="ccform-form-popup__header"> Óñëîâèÿ ïîäà÷è îíëàéí-çàÿâêè </div>\r\n <div class="ccform-form-popup__container">\r\n <div class="ccform-form-popup__content ccform-text ccform-text--compact ccform-js-form-popup-content">\r\n <div class="ccform-text__title-big">Ñîãëàñèå íà îáðàáîòêó ïåðñîíàëüíûõ äàííûõ</div>\r\n <p> Ñîãëàñèå íà îáðàáîòêó ïåðñîíàëüíûõ äàííûõ ïðåäîñòàâëÿåòñÿ â îáúåìå, îïðåäåëåííîì â Îáùèõ óñëîâèÿõ îáñëóæèâàíèÿ ñ÷åòîâ, âêëàäîâ è ïîòðåáèòåëüñêèõ êðåäèòîâ ãðàæäàí ÀÎ «Ðàéôôàéçåíáàíê», ðàçìåùåííûõ íà ñòðàíèöå ñàéòà Áàíêà https://www.raiffeisen.ru/tariffs/ è ÿâëÿþùèõñÿ íåîòúåìëåìîé ÷àñòüþ íàñòîÿùåãî çàÿâëåíèÿ (àíêåòû, ñîãëàøåíèÿ äîãîâîðà) íà ïîëó÷åíèå ïðîäóêòà/óñëóãè Áàíêà. </p>\r\n <p> ß äàþ ñâîå ñîãëàñèå íà îáðàáîòêó ÀÎ «Ðàéôôàéçåíáàíê» (äàëåå Áàíê), 129090, ã. Ìîñêâà, óë. Òðîèöêàÿ, ä. 17, ñòð.1 (âêëþ÷àÿ ïîëó÷åíèå îò ìåíÿ è/èëè îò ëþáûõ òðåòüèõ ëèö) ìîèõ ïåðñîíàëüíûõ äàííûõ è/èëè ðåçóëüòàòîâ îáðàáîòêè ìîèõ ïåðñîíàëüíûõ äàííûõ è ïîäòâåðæäàþ, ÷òî, äàâàÿ òàêîå ñîãëàñèå, ÿ äåéñòâóþ äîáðîâîëüíî è â ñâîåì èíòåðåñå. </p>\r\n <p> Ñîãëàñèå äàåòñÿ ìíîé äëÿ öåëåé çàêëþ÷åíèÿ ñ Áàíêîì ëþáûõ äîãîâîðîâ è èõ äàëüíåéøåãî èñïîëíåíèÿ, îêàçàíèÿ Áàíêîì óñëóã, ó÷àñòèÿ â ïðîâîäèìûõ Áàíêîì àêöèÿõ, îïðîñàõ, èññëåäîâàíèÿõ (âêëþ÷àÿ, íî íå îãðàíè÷èâàÿñü ïðîâåäåíèåì îïðîñîâ, èññëåäîâàíèé ïîñðåäñòâîì ýëåêòðîííîé, òåëåôîííîé è ñîòîâîé ñâÿçè), ïðèíÿòèÿ ðåøåíèé èëè ñîâåðøåíèÿ èíûõ äåéñòâèé, ïîðîæäàþùèõ þðèäè÷åñêèå ïîñëåäñòâèÿ â îòíîøåíèè ìåíÿ èëè äðóãèõ ëèö, ïðåäîñòàâëåíèÿ ìíå èíôîðìàöèè îá îêàçûâàåìûõ Áàíêîì óñëóãàõ, ïðåäîñòàâëåíèÿ Áàíêîì êîíñóëüòàöèîííûõ óñëóã, â òîì ÷èñëå â öåëÿõ çàêëþ÷åíèÿ ìíîé â äàëüíåéøåì äîãîâîðîâ/ñîãëàøåíèé ñ èíûìè ëèöàìè, è ðàñïðîñòðàíÿåòñÿ íà ñëåäóþùóþ èíôîðìàöèþ: ôàìèëèÿ, èìÿ, îò÷åñòâî, ãîä, ìåñÿö, äàòà è ìåñòî ðîæäåíèÿ, àäðåñ, ðåêâèçèòû äîêóìåíòà, óäîñòîâåðÿþùåãî ëè÷íîñòü, ñåìåéíîå, ñîöèàëüíîå, èìóùåñòâåííîå ïîëîæåíèå, îáðàçîâàíèå, ïðîôåññèÿ, äîõîäû, ñâåäåíèÿ îá èñïîëíèòåëüíîì ïðîèçâîäñòâå â îòíîøåíèè ìåíÿ è ëþáóþ èíóþ èíôîðìàöèþ, îòíîñÿùóþñÿ ê ìîåé ëè÷íîñòè è èìåþùóþñÿ â ðàñïîðÿæåíèè òðåòüèõ ëèö (äàëåå — «Ïåðñîíàëüíûå äàííûå»). </p>\r\n <p> Îáðàáîòêà ìîèõ Ïåðñîíàëüíûõ äàííûõ îñóùåñòâëÿåòñÿ Áàíêîì â îáúåìå, êîòîðûé íåîáõîäèì äëÿ äîñòèæåíèÿ êàæäîé èç âûøåïåðå÷èñëåííûõ öåëåé. ß ïîäòâåðæäàþ, ÷òî äàííîå ñîãëàñèå äåéñòâóåò â òå÷åíèå ñðîêîâ õðàíåíèÿ äîêóìåíòîâ è ñâåäåíèé, ñîäåðæàùèõ ïåðñîíàëüíûå äàííûå, óñòàíîâëåííûõ äåéñòâóþùèì çàêîíîäàòåëüñòâîì ÐÔ è äîãîâîðàìè, çàêëþ÷åííûìè ñî ìíîé. </p>\r\n <p> ß óâåäîìëåí î òîì, ÷òî âïðàâå îòîçâàòü ñâîå ñîãëàñèå ïóòåì íàïðàâëåíèÿ ñîîòâåòñòâóþùåãî ïèñüìåííîãî óâåäîìëåíèÿ Áàíêó íå ìåíåå ÷åì çà 3 (òðè) ìåñÿöà äî ìîìåíòà îòçûâà ñîãëàñèÿ.  ñëó÷àå îòçûâà ìíîé ñîãëàñèÿ íà îáðàáîòêó Ïåðñîíàëüíûõ äàííûõ, Áàíê âïðàâå íå ïðåêðàùàòü îáðàáîòêó ìîèõ Ïåðñîíàëüíûõ äàííûõ è íå óíè÷òîæèòü èõ â ñëó÷àÿõ, ïðåäóñìîòðåííûõ çàêîíîäàòåëüñòâîì ÐÔ, â òîì ÷èñëå, åñëè ñðîêè õðàíåíèÿ Ïåðñîíàëüíûõ äàííûõ íå èñòåêëè. </p>\r\n <p> Íàñòîÿùåå ñîãëàñèå ïðåäîñòàâëÿåòñÿ íà îñóùåñòâëåíèå ëþáûõ äåéñòâèé èëè ñîâîêóïíîñòè äåéñòâèé ñ èñïîëüçîâàíèåì ñðåäñòâ àâòîìàòèçàöèè èëè áåç èñïîëüçîâàíèÿ òàêèõ ñðåäñòâ â îòíîøåíèè Ïåðñîíàëüíûõ äàííûõ, êîòîðûå íåîáõîäèìû èëè æåëàåìû äëÿ äîñòèæåíèÿ êàæäîé èç óêàçàííûõ âûøå öåëåé, âêëþ÷àÿ, áåç îãðàíè÷åíèÿ: ñáîð, çàïèñü, ñèñòåìàòèçàöèþ, íàêîïëåíèå, õðàíåíèå, óòî÷íåíèå (îáíîâëåíèå, èçìåíåíèå), èçâëå÷åíèå, èñïîëüçîâàíèå, ïåðåäà÷ó (ðàñïðîñòðàíåíèå, ïðåäîñòàâëåíèå, äîñòóï), îáåçëè÷èâàíèå, áëîêèðîâàíèå, óäàëåíèå, óíè÷òîæåíèå, òðàíñãðàíè÷íóþ ïåðåäà÷ó Ïåðñîíàëüíûõ äàííûõ, ïîëó÷åíèå ìîåãî èçîáðàæåíèÿ ïóòåì ôîòîãðàôèðîâàíèÿ, à òàêæå îñóùåñòâëåíèå ëþáûõ èíûõ äåéñòâèé ñ ìîèìè Ïåðñîíàëüíûìè äàííûìè ñ ó÷åòîì äåéñòâóþùåãî çàêîíîäàòåëüñòâà. </p>\r\n <p> Îáðàáîòêà Ïåðñîíàëüíûõ äàííûõ îñóùåñòâëÿåòñÿ Áàíêîì ñ ïðèìåíåíèåì ñëåäóþùèõ îñíîâíûõ ñïîñîáîâ (íî, íå îãðàíè÷èâàÿñü èìè): õðàíåíèå, çàïèñü íà ýëåêòðîííûå íîñèòåëè è èõ õðàíåíèå, ñîñòàâëåíèå ïåðå÷íåé, ìàðêèðîâêà. ß ïðèçíàþ è ïîäòâåðæäàþ, ÷òî â ñëó÷àå íåîáõîäèìîñòè Áàíê èìååò ïðàâî ïîðó÷èòü îáðàáîòêó Ïåðñîíàëüíûõ äàííûõ, à òàêæå ïåðåäàòü ìîè Ïåðñîíàëüíûå äàííûå äëÿ äîñòèæåíèÿ óêàçàííûõ âûøå öåëåé, äëÿ öåëåé àðõèâíîãî õðàíåíèÿ, äëÿ öåëåé âçûñêàíèÿ çàäîëæåííîñòè òðåòüåìó ëèöó (â òîì ÷èñëå ÀÎ «Ñòðàõîâàÿ êîìïàíèÿ ÌåòËàéô», 127015, ã. Ìîñêâà, óë. Áóòûðñêàÿ, ä.76, ñòð.1, ÎÎÎ «Òåëåêîíòàêò», 142191, ã. Ìîñêâà, Îðëèêîâ ïåð., äîì 3 êîðïóñ «Â», ÎÎÎ "ÑÊ "Ðàéôôàéçåí Ëàéô«,115230, ã. Ìîñêâà, 1-é Íàãàòèíñêèé ïðîåçä, ä.10, ñòð.1, ÀÎ «Ëèáåðòè Ñòðàõîâàíèå», 196084, ã. Ñàíêò-Ïåòåðáóðã, Ìîñêîâñêèé ïð. ä. 79À, ëèò. À, ÑÏÀÎ «ÐÅÑÎ-Ãàðàíòèÿ», 117105, ã. Ìîñêâà, Íàãîðíûé ïðîåçä, ä. 6, ÎÎÎ «ÎÑà Ðåêîðäç Ìåíåäæìåíò», 127083, Ðîññèÿ, Ìîñêâà, óë. 8 Ìàðòà, ä.14, ñòð. 1, ÀÎ «Èíòà÷ Ñòðàõîâàíèå», 127018, ã. Ìîñêâà, óë. Ñóùåâñêèé Âàë, ä. 18, ÎÀÎ «ÀëüôàÑòðàõîâàíèå», 115162, Ìîñêâà, óë. Øàáîëîâêà, ä. 31, ñòð. Á, ÎÎÎ "Ãðóïïà Ðåíåññàíñ Ñòðàõîâàíèå«,115114, Ìîñêâà, Äåðáåíåâñêàÿ íàá., 7 ñòð. 22, ÎÎÎ ÑÊ «ÂÒÁ Ñòðàõîâàíèå» 101000, ã. Ìîñêâà, ×èñòîïðóäíûé áóëüâàð, ä. 8, ñòð. 1, ÀÎ «ÅРÒóðèñòè÷åñêîå Ñòðàõîâàíèå» 119049, Ìîñêâà, 4-é Äîáðûíèíñêèé ïåð, ä. 8 îôèñ Ñ 14-01, ÎÎÎ «Ìåäëýéáë» (AP Companies) 117152, ã Ìîñêâà, Çàãîðîäíîå øîññå, ä.1, êîðï. 1, ÎÎÎ «Ôèëáåðò», 198095 ã. Ñàíêò-Ïåòåðáóðã, óë. Ìàðøàëà Ãîâîðîâà, ä. 35 ê. 5 ëèò. Æ, ÎÎÎ «Ýâåðåñò», 109147, ã. Ìîñêâà, óë. Ìàðêñèñòñêàÿ, ä. 34 ê. 8 ïîì. 2, ÀÎ «Ôèíàíñîâîå àãåíòñòâî ïî ñáîðó ïëàòåæåé», 109044, ã. Ìîñêâà, óë. Êðóòèöêèé Âàë, ä. 14, ÎÎÎ «Áþðî êðåäèòíîé áåçîïàñíîñòè «Ðóññêîëëåêòîð», 129515, ã. Ìîñêâà, óë. Àêàäåìèêà Êîðîëåâà, ä. 13, ñòð. 1, ÀÎ «Ñåêâîéÿ êðåäèò êîíñîëèäåéøí», 127473, ã. Ìîñêâà, óë. Êðàñíîïðîëåòàðñêàÿ, ä. 16, ñòð. 2, ÎÎÎ «Ñòîëè÷íîå ÀÂÄ», 107564, ã. Ìîñêâà, óë. Êðàñíîáîãàòûðñêàÿ, ä. 2 ñòð.2 ïîì. 5, ÎÎÎ «Êðåäèòýêñïðåññ ôèíàíñ», 127055, ã. Ìîñêâà, óë. Áóòûðñêèé âàë, ä. 68/70 ñòð.1, ÎÎÎ «Ì.Á.À. Ôèíàíñû», 115191 , ã. Ìîñêâà, ïåð. Á. Ñòàðîäàíèëîâñêèé, ä. 2 ñòð.7 ýòàæ 3, ÎÎÎ «Àãåíòñòâî ñóäåáíîãî âçûñêàíèÿ», 194100, ã. Ñàíêò-Ïåòåðáóðã, ïðîñï. Ëåñíîé, ä. 63 ëèòåð À, ÎÎÎ «Òðåéä ýíä Øîïïåð Ìàðêåòèíã», 119334, Ìîñêâà, óë. Âàâèëîâà, ä.3, ÇÀÎ «Ïðàéì êëóá» ãîðîä Ìîñêâà, Ðîùèíñêàÿ 2-ÿ óëèöà, 4, Raiffeisen Bank International AG, 1030, Austria, Vienna, Am Stadtpark 9, ÎÎÎ «Àáè», 127273, ã. Ìîñêâà, óë. Îòðàäíàÿ, äîì 2Á, ñòðîåíèå 6, îôèñ 12, Kofax Schweiz AG, 6343, Switzerland, Rotkreuz, Grundstrasse 14, ÎÎÎ «ÔÐÅÉÒ ÊÎÐÏÎÐÅÉÒ» 123060, ã. Ìîñêâà, óë. Áåðçàðèíà, ä. 36, ñòð. 1, ÎÎÎ «ÂÑ-Ýêñïðåññ» 125080, ã. Ìîñêâà, Âîëîêîëàìñêîå ø., ä. 2, êîìíàòà ¹ 1, 1â, 1ã â ïîìåùåíèè I íà 23-ì ýòàæå, ÀÎ «ÔÐÅÉÒ ËÈÍÊ» 123995, Ìîñêâà, ïðîñïåêò Ìàðøàëà Æóêîâà ä. 4, ÎÎÎ «ÁèýÑÏîñò» 109428, Ìîñêâà, Ðÿçàíñêèé ïð-ò, ä.8À, ñòð. 20, ÎÎÎ «Ïðèìîêîëëåêò», 117420, ã. Ìîñêâà, óë. Ïðîôñîþçíàÿ, 57, ÎÎÎ «ÀêòèâÁèçíåññÊîëëåêøí», 117036, Ìîñêâà, óë. Äìèòðèÿ Óëüÿíîâà, ä. 7À, ÎÎÎ «Íàöèîíàëüíàÿ ñëóæáà âçûñêàíèÿ» 108811, ã. Ìîñêâà, Êèåâñêîå øîññå, 22-é êì (ï. Ìîñêîâñêèé), äîìîâëàäåíèå 6, ñòðîåíèå 1, ÎÎÎ «ÌÁÊÈ» 125130, ã. Ìîñêâà, óë. Ïðèîðîâà, ä.30, ÎÎÎ «Ìýéë.Ðó» 125167, ã. Ìîñêâà, Ëåíèíãðàäñêèé ïðîñïåêò, ä. 39, ñòð. 79, ÏÀÎ «ÌåãàÔîí» ã. Ìîñêâà, Êàäàøåâñêàÿ íàáåðåæíàÿ, ä.30, ÎÎÎ «ÖÐÒ», 196084, Ñ.- Ïåòåðáóðã, óë. Êðàñóöêîãî, ä. 4, ëèòåðà «À», ÎÎÎ «Ôèíäîñòàâêà», 109028, Ìàëûé Èâàíîâñêèé ïåðåóëîê, ä. 6/2, 3 ýòàæ, ÎÎÎ «Èìïàêòî Ìàðêåòèíã Ñåðâèñåç», 107113, ã. Ìîñêâà, óë. Ñîêîëüíè÷åñêèé Âàë, ä. 2À, ýòàæ 1 ïîìåùåíèå ¹ 116, ÏÀÎ «Ìîáèëüíûå ÒåëåÑèñòåìû», 109147, ã. Ìîñêâà, óë. Ìàðêñèñòñêàÿ, ä.4., ÏÀÎ «ÂûìïåëÊîì», 127083, ã. Ìîñêâà, óë. 8 Ìàðòà, ä. 10, ñòð. 14, à òàêæå èíûì íåêðåäèòíûì è íåáàíêîâñêèì îðãàíèçàöèÿì), à ðàâíî êàê ïðè ïðèâëå÷åíèè òðåòüèõ ëèö ê îêàçàíèþ óñëóã, ïåðåäà÷è Áàíêîì ïðèíàäëåæàùèõ åìó ôóíêöèé è ïîëíîìî÷èé èíîìó ëèöó (óñòóïêå, â òîì ÷èñëå äëÿ ðàññìîòðåíèÿ âîçìîæíîñòè óñòóïêè è ïðèíÿòèþ ðåøåíèÿ îá óñòóïêå, çàëîãó, ïðèíàäëåæàùèõ Áàíêó ïðàâ è äð.). Áàíê âïðàâå â íåîáõîäèìîì îáúåìå ðàñêðûâàòü äëÿ ñîâåðøåíèÿ âûøåóêàçàííûõ äåéñòâèé èíôîðìàöèþ îáî ìíå ëè÷íî (âêëþ÷àÿ Ïåðñîíàëüíûå äàííûå) òàêèì òðåòüèì ëèöàì, èõ àãåíòàì è èíûì óïîëíîìî÷åííûì èìè ëèöàì, à òàêæå ïðåäñòàâëÿòü òàêèì ëèöàì ñîîòâåòñòâóþùèå äîêóìåíòû, ñîäåðæàùèå òàêóþ èíôîðìàöèþ ñ ñîáëþäåíèåì òðåáîâàíèé çàêîíîäàòåëüñòâà. Òàêæå ÿ ïðèçíàþ è ïîäòâåðæäàþ, ÷òî íàñòîÿùåå ñîãëàñèå ñ÷èòàåòñÿ äàííûì ìíîé ëþáûì òðåòüèì ëèöàì, óêàçàííûì âûøå, ñ ó÷åòîì ñîîòâåòñòâóþùèõ èçìåíåíèé, è ëþáûå òàêèå òðåòüè ëèöà èìåþò ïðàâî íà îáðàáîòêó ìîèõ Ïåðñîíàëüíûõ äàííûõ (êàê ïåðåäàííûõ Áàíêîì, òàê è èìåþùèõñÿ â ðàñïîðÿæåíèè ñîîòâåòñòâóþùèõ òðåòüèõ ëèö), à òàêæå íà ïîëó÷åíèå Áàíêîì îò òðåòüèõ ëèö ðåçóëüòàòîâ îáðàáîòêè òàêèõ äàííûõ íà îñíîâàíèè íàñòîÿùåãî ñîãëàñèÿ. </p>\r\n <p>  êà÷åñòâå îòêàçà îò îãðàíè÷åíèé íà ñîõðàíåíèå áàíêîâñêîé òàéíû, ñîãëàøàþñü íà ïðåäîñòàâëåíèå Áàíêîì ñâåäåíèé, ïðåäóñìîòðåííûõ â ñîãëàñèè íà îáðàáîòêó ïåðñîíàëüíûõ äàííûõ, òðåòüèì ëèöàì, óêàçàííûì â ñîîòâåòñòâóþùåì ñîãëàñèè íà îáðàáîòêó ïåðñîíàëüíûõ äàííûõ.  ñëó÷àå çàêëþ÷åíèÿ ìåæäó ìíîé è ÎÎÎ «ÑÊ «Ðàéôôàéçåí Ëàéô» äîãîâîðà ñòðàõîâàíèÿ ïðè èçìåíåíèè ìîèõ ïåðñîíàëüíûõ äàííûõ äàþ ñâîå ñîãëàñèå Áàíêó ïåðåäàâàòü âûøåóêàçàííûå èçìåíåííûå ïåðñîíàëüíûå äàííûå ÎÎÎ "ÑÊ "Ðàéôôàéçåí Ëàéô. </p>\r\n <p> Òàêæå íàñòîÿùèì ÿ âûðàæàþ ñâîå ñîãëàñèå Áàíêó, à òàêæå ëèöó, äåéñòâóþùåìó îò åãî èìåíè è (èëè) â åãî èíòåðåñàõ, ïðè îñóùåñòâëåíèè äåéñòâèé, íàïðàâëåííûõ íà âîçâðàò ïðîñðî÷åííîé çàäîëæåííîñòè: <br>\r\n - íà âçàèìîäåéñòâèå ñ ëþáûìè òðåòüèìè ëèöàìè, êàê òî ÷ëåíû ìîåé ñåìüè,\r\n ìîè ðîäñòâåííèêè, èíûå ïðîæèâàþùèå ñî ìíîé ëèöà, ìîè ñîñåäè è ëþáûå äðóãèå ôèçè÷åñêèå ëèöà; <br>\r\n - íà ïåðåäà÷ó (ñîîáùåíèå) òðåòüèì ëèöàì (äåëàòü äîñòóïíûìè äëÿ òðåòüèõ ëèö) ìîèõ\r\n Ïåðñîíàëüíûõ äàííûõ, ñâåäåíèé îáî ìíå, ìîåé ïðîñðî÷åííîé çàäîëæåííîñòè è åå âçûñêàíèè.\r\n </p>\r\n <p> ß äàþ ñîãëàñèå íà ïîëó÷åíèå Áàíêîì êðåäèòíîãî îò÷åòà îáî ìíå èç áþðî êðåäèòíûõ èñòîðèé (äàëåå – Ñîãëàñèå) äëÿ ïðåäëîæåíèÿ ìíå óñëóã Áàíêà. Ñîãëàñèå äåéñòâóåò â òå÷åíèå ñðîêà, îïðåäåëåííîãî ÔÇ îò 30.12.2004 ¹218-ÔÇ «Î êðåäèòíûõ èñòîðèÿõ». Ïî èñòå÷åíèè ýòîãî ñðîêà Ñîãëàñèå ñ÷èòàåòñÿ äàííûì íà óêàçàííûé âûøå ñðîê íà ïðåæíèõ óñëîâèÿõ. Òàêîé æå ïîðÿäîê ïðèìåíÿåòñÿ â äàëüíåéøåì äî ïîëó÷åíèÿ Áàíêîì óâåäîìëåíèÿ î ìîåì îòêàçå îò âîçîáíîâëåíèÿ Ñîãëàñèÿ íà î÷åðåäíîé ñðîê. </p>\r\n <p> ß, îôîðìèâøèé çàÿâêó íà ïîëó÷åíèå äåáåòîâîé êàðòû (äàëåå – çàÿâêà) â ÀÎ «Ðàéôôàéçåíáàíê» (äàëåå – Áàíê), äàííûå êîòîðîãî óêàçàíû â çàÿâêå, ñîãëàñåí íà ïîëó÷åíèå îò Áàíêà ðåêëàìíî-èíôîðìàöèîííûõ ðàññûëîê/ ìàòåðèàëîâ î ïðîäóêòàõ/ñåðâèñàõ/óñëóãàõ Áàíêà, íàïðàâëåííûõ ìíå ïîñðåäñòâîì ñìñ-ñîîáùåíèé, ãîëîñîâûõ ñîîáùåíèé, ïóø-óâåäîìëåíèé, çâîíêîâ íà íîìåð ìîáèëüíîãî òåëåôîíà, à òàêæå ïèñåì íà àäðåñ ýëåêòðîííîé ïî÷òû, ïðåäîñòàâëåííûå ìíîé â Áàíê ïðè îôîðìëåíèè çàÿâêè. Óâåäîìëåí, ÷òî ìîå ñîãëàñèå íà ïîëó÷åíèå ðåêëàìû (äàëåå – ñîãëàñèå) äåéñòâóåò äî ìîìåíòà åãî îòçûâà. Ïðîèíôîðìèðîâàí, ÷òî âïðàâå â ëþáîå âðåìÿ îòîçâàòü ñâîå ñîãëàñèå ïóòåì ïîäà÷è ïèñüìåííîãî çàÿâëåíèÿ â îòäåëåíèè Áàíêà, ëèáî ïðè îáðàùåíèè â èíôîðìàöèîííûé öåíòð Áàíêà/÷àò. </p>\r\n <p> ß óâåäîìëåí, ÷òî ìîãó îòîçâàòü ñâîå ñîãëàñèå â ëþáîå âðåìÿ (â òîì ÷èñëå, ïîñëå ïðåêðàùåíèÿ îáñëóæèâàíèÿ â Áàíêå) ïóòåì ïîäà÷è â Ïîäðàçäåëåíèå Áàíêà ïèñüìåííîãî çàÿâëåíèÿ, ëèáî ïóòåì îáðàùåíèÿ â Èíôîðìàöèîííûé öåíòð Áàíêà. </p>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\x3c!-- /.ccform-form-popup --\x3e\r\n <div class="ccform-form-popup ccform-js-form-popup" data-name="taxableRead">\r\n <div class="ccform-form-popup-inner">\r\n <div class="ccform-form-popup__close ccform-js-form-popup-close" tabindex="0" data-position-from="taxableRead"><svg>\r\n <use xlink:href="#sym-cross"></use>\r\n </svg></div>\r\n <div class="ccform-form-popup__header"><svg class="sym-info">\r\n <use xlink:href="#sym-info"></use>\r\n </svg>Íàëîãîïëàòåëüùèê</div>\r\n <div class="ccform-form-popup__container">\r\n <div class="ccform-form-popup__content ccform-text ccform-js-form-popup-content">\r\n <p> Íàëîãîïëàòåëüùèê (íàëîãîâûé ðåçèäåíò) — ëþáîå ëèöî, êîòîðîå ïî çàêîíîäàòåëüñòâó ãîñóäàðñòâà ïîäëåæèò â íåì íàëîãîîáëîæåíèþ íà îñíîâå ñâîåãî ìåñòîæèòåëüñòâà, ñâîåãî ïîñòîÿííîãî ìåñòîïðåáûâàíèÿ, ëèáî èíîãî êðèòåðèÿ, óñòàíîâëåííîãî â êàæäîì êîíêðåòíîì ãîñóäàðñòâå. Åñëè âû ÿâëÿåòåñü íàëîãîïëàòåëüùèêîì èíîé ñòðàíû (òåððèòîðèè), âêëþ÷àÿ ÑØÀ, ëèáî ÿâëÿåòåñü îäíîâðåìåííî íàëîãîïëàòåëüùèêîì Ðîññèéñêîé Ôåäåðàöèè è èíîé ñòðàíû (òåððèòîðèè), âêëþ÷àÿ ÑØÀ, òî äëÿ ïîäà÷è çàÿâêè íà îôîðìëåíèå êàðòû Âàì íåîáõîäèìî îáðàòèòüñÿ â ëþáîå îòäåëåíèå ÀÎ «Ðàéôôàéçåíáàíê» (äàëåå — «Áàíê»). </p>\r\n <p> Êàê ôèíàíñîâîå ó÷ðåæäåíèå, Áàíê íå îêàçûâàåò êîíñóëüòàöèîííûõ óñëóã ïî âîïðîñàì íàëîãîîáëîæåíèÿ. Åñëè Êëèåíò õî÷åò óçíàòü ÿâëÿåòñÿ ëè îí íàëîãîâûì ðåçèäåíòîì êàêîé-ëèáî ñòðàíû, Êëèåíòó íåîáõîäèìî îáðàòèòüñÿ ê ñâîåìó íàëîãîâîìó êîíñóëüòàíòó, ëèáî îçíàêîìèòüñÿ ñ èíôîðìàöèåé î íàëîãîâîì ðåçèäåíòñòâå äëÿ ðàçëè÷íûõ ñòðàí íà ïîðòàëå Îðãàíèçàöèè ýêîíîìè÷åñêîãî ñîòðóäíè÷åñòâà è ðàçâèòèÿ ïî àäðåñó <a href="https://www.oecd.org/tax/automatic-exchange/crs-implementation-and-assistance/" target="_blank" data-position-from="taxableRead">https://www.oecd.org/tax/automatic-exchange/crs-implementation-and-assistance/</a>\r\n </p>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\x3c!-- /.ccform-form-popup --\x3e\r\n </form>\x3c!-- /.ccform-form-inner --\x3e\r\n <div style="display: none;">\r\n <svg xmlns="http://www.w3.org/2000/svg">\r\n <symbol id="sym-alert-exist-card" viewBox="0 0 40 38">\r\n <path fill-rule="evenodd" clip-rule="evenodd" d="M30 14.1407C30 12.1346 28.9974 10.2612 27.3282 9.14839L27.0113 8.93714C26.0947 8.32605 25.0177 7.99996 23.916 7.99996C22.4358 7.99996 21.0332 8.5869 20 9.60471C18.9668 8.5869 17.5642 7.99996 16.084 7.99996C14.9823 7.99996 13.9053 8.32605 12.9887 8.93714L12.6718 9.14839C11.0026 10.2612 10 12.1346 10 14.1407V14.1849C10 15.9151 10.7469 17.561 12.049 18.7003L18.683 24.5051C19.437 25.1649 20.563 25.1649 21.317 24.5051L27.951 18.7003C29.2531 17.561 30 15.9151 30 14.1849V14.1407ZM25.1094 12.4766C25.6658 12.8475 26 13.472 26 14.1407V14.1849C26 14.7616 25.751 15.3103 25.317 15.69L20 20.3424L14.683 15.69C14.249 15.3103 14 14.7616 14 14.1849V14.1407C14 13.472 14.3342 12.8475 14.8906 12.4766L15.2075 12.2653C15.467 12.0923 15.772 12 16.084 12C16.6123 12 17.1057 12.264 17.3987 12.7036L18.3359 14.1094C18.7068 14.6658 19.3313 15 20 15C20.6687 15 21.2932 14.6658 21.6641 14.1094L22.6013 12.7036C22.8943 12.264 23.3877 12 23.916 12C24.228 12 24.533 12.0923 24.7925 12.2653L25.1094 12.4766Z" />\r\n <path fill-rule="evenodd" clip-rule="evenodd" d="M2 0C1.46957 0 0.960859 0.210714 0.585786 0.585786C0.210714 0.960859 0 1.46957 0 2V30C0 30.5304 0.210714 31.0391 0.585787 31.4142C0.96086 31.7893 1.46957 32 2 32H8L8 36C8 36.6932 8.3589 37.3369 8.94854 37.7013C9.53817 38.0657 10.2744 38.0988 10.8944 37.7889L22.4721 32L38 32C38.5304 32 39.0391 31.7893 39.4142 31.4142C39.7893 31.0391 40 30.5304 40 30L40 2C40 0.895431 39.1046 0 38 0H2ZM4 28L4 4L36 4L36 28H22C21.6895 28 21.3833 28.0723 21.1056 28.2111L12 32.7639L12 30C12 29.4696 11.7893 28.9609 11.4142 28.5858C11.0391 28.2107 10.5304 28 10 28L4 28Z" />\r\n </symbol>\r\n <symbol id="sym-apple-store" viewBox="0 0 148 48">\r\n <rect width="147.429" height="48" rx="8" fill="white" />\r\n <path d="M36.512 23.3103C36.4799 20.3523 38.9234 18.9054 39.0521 18.8411C37.6695 16.8155 35.5153 16.5261 34.7436 16.5261C32.9431 16.3332 31.1747 17.6193 30.2745 17.6193C29.342 17.6193 27.9273 16.5583 26.384 16.5904C24.4227 16.6226 22.59 17.7479 21.5612 19.5163C19.4713 23.1174 21.0467 28.4225 23.0402 31.3484C24.0369 32.7631 25.1944 34.3707 26.7377 34.3064C28.2167 34.2421 28.7954 33.3418 30.596 33.3418C32.3965 33.3418 32.9109 34.3064 34.4543 34.2743C36.0619 34.2421 37.0586 32.8274 38.0232 31.4127C39.1807 29.7729 39.6308 28.1653 39.6629 28.0688C39.6308 28.0367 36.5442 26.8792 36.512 23.3103Z" fill="#2B2D33" />\r\n <path d="M33.5862 14.5972C34.39 13.6005 34.9366 12.2179 34.7758 10.8354C33.6183 10.8997 32.1715 11.6392 31.3355 12.6359C30.596 13.504 29.9208 14.9187 30.1137 16.2691C31.3998 16.3656 32.7502 15.5939 33.5862 14.5972Z" fill="#2B2D33" />\r\n <path d="M90.2363 32.7631C88.5 32.7631 87.2139 31.895 87.0532 30.5767V30.5446H85.0276C85.1884 32.956 87.1818 34.4993 90.1398 34.4993C93.3229 34.4993 95.3164 32.9238 95.3164 30.4159C95.3164 28.4547 94.1589 27.3615 91.4259 26.7184L89.9469 26.3648C88.2107 25.9468 87.5033 25.368 87.5033 24.4356C87.5033 23.246 88.5965 22.4422 90.2041 22.4422C91.8117 22.4422 92.9049 23.246 93.0335 24.5964H94.9948C94.9305 22.2814 93.0014 20.7059 90.172 20.7059C87.3426 20.7059 85.317 22.2814 85.317 24.5964C85.317 26.4612 86.4744 27.6187 88.918 28.1974L90.6543 28.6154C92.3905 29.0334 93.13 29.6764 93.13 30.7053C93.13 31.895 91.9082 32.7631 90.2363 32.7631Z" fill="#2B2D33" />\r\n <path fill-rule="evenodd" clip-rule="evenodd" d="M50.2708 30.6731H55.383L56.6048 34.2741H58.7912L53.9683 20.8987H51.7176L46.8948 34.2741H49.049L50.2708 30.6731ZM54.8686 29.0011H50.8174L52.8108 23.1494H52.8751L54.8686 29.0011Z" fill="#2B2D33" />\r\n <path fill-rule="evenodd" clip-rule="evenodd" d="M65.1573 34.4028C67.6331 34.4028 69.2407 32.4415 69.2407 29.4192C69.2407 26.3969 67.6009 24.4356 65.1573 24.4356C63.7748 24.4356 62.5851 25.1108 62.0386 26.1718H62.0064V24.5642H60.0773V37.5216H62.0707V32.6987H62.1029C62.6494 33.7919 63.7748 34.4028 65.1573 34.4028ZM64.6107 26.1396C66.1541 26.1396 67.1829 27.4579 67.1829 29.4192C67.1829 31.4126 66.1541 32.6987 64.6107 32.6987C63.0674 32.6987 62.0386 31.3805 62.0386 29.4192C62.0386 27.4579 63.0674 26.1396 64.6107 26.1396Z" fill="#2B2D33" />\r\n <path fill-rule="evenodd" clip-rule="evenodd" d="M79.9796 29.4192C79.9796 32.4415 78.372 34.4028 75.8962 34.4028C74.5137 34.4028 73.3883 33.7919 72.8418 32.6987H72.7775V37.5216H70.784V24.5642H72.7131V26.1718H72.7453C73.2919 25.1108 74.4815 24.4356 75.8641 24.4356C78.3398 24.4356 79.9796 26.3969 79.9796 29.4192ZM77.9218 29.4192C77.9218 27.4579 76.893 26.1396 75.3496 26.1396C73.8063 26.1396 72.7775 27.4579 72.7775 29.4192C72.7775 31.3805 73.8063 32.6987 75.3496 32.6987C76.893 32.6987 77.9218 31.4126 77.9218 29.4192Z" fill="#2B2D33" />\r\n <path d="M99.5926 22.2492V24.5642H101.457V26.1396H99.5926V31.5091C99.5926 32.345 99.9784 32.7309 100.782 32.7309C100.888 32.7309 101.034 32.7211 101.164 32.7124C101.271 32.7052 101.367 32.6987 101.425 32.6987V34.2742C101.2 34.3385 100.75 34.3706 100.3 34.3706C98.3387 34.3706 97.567 33.6311 97.567 31.7341V26.1396H96.1523V24.5642H97.567V22.2492H99.5926Z" fill="#2B2D33" />\r\n <path fill-rule="evenodd" clip-rule="evenodd" d="M107.148 24.4356C104.319 24.4356 102.518 26.3647 102.518 29.4192C102.518 32.5058 104.319 34.4028 107.148 34.4028C109.978 34.4028 111.778 32.5058 111.778 29.4192C111.778 26.3647 109.978 24.4356 107.148 24.4356ZM107.148 26.0753C108.756 26.0753 109.721 27.3293 109.721 29.4192C109.721 31.5412 108.756 32.763 107.148 32.763C105.541 32.763 104.576 31.5412 104.576 29.4192C104.576 27.3293 105.541 26.0753 107.148 26.0753Z" fill="#2B2D33" />\r\n <path d="M115.315 24.5644V26.2363H115.347C115.669 25.1431 116.537 24.4679 117.694 24.4679C117.984 24.4679 118.209 24.5001 118.369 24.5322V26.3971C118.209 26.3328 117.855 26.2685 117.469 26.2685C116.183 26.2685 115.379 27.1366 115.379 28.5191V34.3066H113.386V24.5644H115.315Z" fill="#2B2D33" />\r\n <path fill-rule="evenodd" clip-rule="evenodd" d="M123.418 34.435C125.636 34.435 127.372 33.2132 127.629 31.4448H125.732C125.475 32.3129 124.607 32.8273 123.482 32.8273C121.906 32.8273 120.845 31.7342 120.845 30.0622V29.9336H127.726V29.2584C127.726 26.3004 126.022 24.4356 123.321 24.4356C120.588 24.4356 118.82 26.429 118.82 29.4835C118.82 32.538 120.588 34.435 123.418 34.435ZM125.765 28.5189H120.877C120.974 27.0399 121.971 26.0432 123.385 26.0432C124.768 26.0432 125.732 27.0399 125.765 28.5189Z" fill="#2B2D33" />\r\n <path d="M50.2711 13.5683C50.9785 13.5683 51.4929 13.1503 51.4929 12.5394C51.4929 11.9607 51.0428 11.5748 50.3033 11.5748C49.5638 11.5748 49.0493 11.9607 49.0172 12.5716H48.0205C48.0848 11.4141 48.9529 10.7067 50.3033 10.7067C51.5572 10.7067 52.4575 11.4141 52.4575 12.443C52.4575 13.1503 51.9752 13.7612 51.3 13.922V13.9863C52.136 14.0827 52.7147 14.6293 52.7147 15.5296C52.7147 16.6228 51.6858 17.4266 50.3033 17.4266C48.9207 17.4266 47.9562 16.6549 47.8918 15.5296H48.8564C48.9207 16.1405 49.4673 16.5263 50.3033 16.5263C51.1392 16.5263 51.6858 16.0762 51.6858 15.4653C51.6858 14.8222 51.1714 14.4364 50.2711 14.4364H49.3709V13.5683H50.2711Z" fill="#2B2D33" />\r\n <path d="M53.8079 15.9154C53.8079 15.0473 54.4509 14.5329 55.6084 14.4686L56.9266 14.4043V13.9863C56.9266 13.4718 56.6051 13.1825 55.9299 13.1825C55.3833 13.1825 55.0297 13.3754 54.9332 13.7291H54.0008C54.0972 12.8931 54.8689 12.3465 55.9942 12.3465C57.216 12.3465 57.8912 12.9574 57.8912 13.9863V17.298H56.9588V16.6228H56.8945C56.6051 17.1051 56.0907 17.3944 55.4476 17.3944C54.4831 17.3623 53.8079 16.8157 53.8079 15.9154ZM56.9266 15.4974V15.1116L55.737 15.1759C55.0618 15.2081 54.7724 15.4331 54.7724 15.8833C54.7724 16.3334 55.1583 16.5585 55.6727 16.5585C56.3801 16.5585 56.9266 16.1083 56.9266 15.4974Z" fill="#2B2D33" />\r\n <path d="M60.4312 13.2469V17.2981H59.4666V12.4431H62.6497V13.2469H60.4312Z" fill="#2B2D33" />\r\n <path d="M68.4694 14.8543C68.4694 16.3976 67.6977 17.3622 66.4759 17.3622C65.8007 17.3622 65.222 17.0728 64.9969 16.5584H64.9326V18.9055H63.968V12.4428H64.9004V13.2467H64.9647C65.2541 12.7001 65.8329 12.3785 66.4759 12.3785C67.6655 12.3464 68.4694 13.311 68.4694 14.8543ZM67.4726 14.8543C67.4726 13.8254 66.9903 13.2145 66.1865 13.2145C65.3827 13.2145 64.8683 13.8576 64.8683 14.8543C64.8683 15.851 65.3827 16.494 66.1865 16.494C66.9903 16.494 67.4726 15.8832 67.4726 14.8543Z" fill="#2B2D33" />\r\n <path d="M69.7233 19.0343V18.1983C69.7876 18.1983 69.9484 18.2305 70.0448 18.2305C70.495 18.2305 70.7522 18.0376 70.913 17.5553L70.9773 17.3302L69.241 12.4431H70.2699L71.4917 16.3013H71.556L72.7778 12.4431H73.8067L72.0061 17.491C71.5882 18.6806 71.138 19.0343 70.1413 19.0343C70.0448 19.0343 69.8198 19.0343 69.7233 19.0343Z" fill="#2B2D33" />\r\n <path d="M74.5461 15.9154H75.5107C75.6072 16.3334 75.993 16.5585 76.5717 16.5585C77.2148 16.5585 77.6006 16.2691 77.6006 15.8511C77.6006 15.3688 77.2469 15.1759 76.5717 15.1759H75.8322V14.4364H76.5396C77.1183 14.4364 77.4077 14.2114 77.4077 13.7934C77.4077 13.4397 77.1183 13.1503 76.5396 13.1503C75.993 13.1503 75.6072 13.3754 75.5429 13.7612H74.6104C74.7069 12.8931 75.4143 12.3465 76.5074 12.3465C77.6649 12.3465 78.308 12.861 78.308 13.6969C78.308 14.1792 77.9864 14.565 77.5363 14.6936V14.7579C78.1794 14.9187 78.4687 15.3045 78.4687 15.8511C78.4687 16.7835 77.6971 17.3944 76.4753 17.3944C75.4786 17.3623 74.6426 16.88 74.5461 15.9154Z" fill="#2B2D33" />\r\n <path d="M79.9156 17.2981V12.4431H80.848V15.7869H80.9123L83.1308 12.4431H84.0632V17.2981H83.1308V13.9221H83.0665L80.8158 17.2659H79.9156V17.2981Z" fill="#2B2D33" />\r\n <path d="M89.3363 13.2469H87.8251V17.2981H86.8605V13.2469H85.3172V12.4431H89.3363V13.2469Z" fill="#2B2D33" />\r\n <path d="M94.4806 15.9797C94.2555 16.8478 93.4839 17.3944 92.3907 17.3944C91.0081 17.3944 90.14 16.4299 90.14 14.8866C90.14 13.3432 91.0081 12.3465 92.3907 12.3465C93.7411 12.3465 94.5449 13.2789 94.5449 14.7901V15.1116H91.1368V15.1759C91.1689 16.0119 91.6512 16.5585 92.4228 16.5585C93.0016 16.5585 93.3874 16.3334 93.5803 15.9797H94.4806ZM91.1368 14.4043H93.5803C93.5482 13.6326 93.098 13.1503 92.3907 13.1503C91.6833 13.1503 91.1689 13.6648 91.1368 14.4043Z" fill="#2B2D33" />\r\n <path d="M98.564 12.4431H100.75C101.683 12.4431 102.262 12.9253 102.262 13.6648C102.262 14.1471 101.908 14.5973 101.458 14.6937V14.758C102.101 14.8223 102.487 15.2725 102.487 15.8834C102.487 16.7193 101.844 17.2659 100.783 17.2659H98.564V12.4431ZM99.4964 13.1826V14.4365H100.429C101.008 14.4365 101.297 14.2114 101.297 13.7935C101.297 13.4076 101.072 13.1826 100.557 13.1826H99.4964ZM99.4964 15.1439V16.5586H100.622C101.2 16.5586 101.49 16.3013 101.49 15.8512C101.49 15.3689 101.136 15.1439 100.493 15.1439H99.4964Z" fill="#2B2D33" />\r\n </symbol>\r\n <symbol id="sym-arrow" viewBox="0 0 8 15">\r\n <path d="M1.98965 7.5L8 1.21815L6.83449 0L0.241385 6.89092C-0.0804615 7.22731 -0.0804615 7.77269 0.241385 8.10908L6.83449 15L8 13.7818L1.98965 7.5Z" />\r\n </symbol>\r\n <symbol id="sym-cross" viewBox="0 0 18 18">\r\n <path d="M9 10.4618L1.46179 18L0 16.5382L7.53821 9L0 1.46179L1.46179 0L9 7.53821L16.5382 0L18 1.46179L10.4618 9L18 16.5382L16.5382 18L9 10.4618Z" />\r\n </symbol>\r\n <symbol id="sym-delivery-address" viewBox="0 0 16 20">\r\n <path d="M2.5 2H16V0H2.5C1.83696 0 1.20107 0.263392 0.732233 0.732233C0.263392 1.20107 0 1.83696 0 2.5V20H14C14.5304 20 15.0391 19.7893 15.4142 19.4142C15.7893 19.0391 16 18.5304 16 18V3H2.5C2.36739 3 2.24021 2.94732 2.14645 2.85355C2.05268 2.75979 2 2.63261 2 2.5C2 2.36739 2.05268 2.24021 2.14645 2.14645C2.24021 2.05268 2.36739 2 2.5 2ZM2.5 5H14V18H2V4.948C2.1645 4.98209 2.33201 4.99951 2.5 5Z" />\r\n <path d="M5.99 15H6.643L8 16L9.361 15H10.01C10.2714 15 10.5303 14.9485 10.7718 14.8484C11.0133 14.7484 11.2327 14.6017 11.4175 14.4168C11.6023 14.2319 11.7489 14.0124 11.8488 13.7708C11.9488 13.5293 12.0001 13.2704 12 13.009V7H4V13.01C4 13.5378 4.20966 14.0439 4.58286 14.4171C4.95605 14.7903 5.46222 15 5.99 15ZM6 9H10L10.007 13H6.764L6 13.009V9Z" />\r\n </symbol>\r\n <symbol id="sym-delivery-home" viewBox="0 0 20 20">\r\n <path d="M10 0L0 9.7972V11.1825H1.414L10 2.77065L18.586 11.1825H20V9.7972L10 0Z" />\r\n <path d="M15 11.1825V18.0406H13V11.1825H7V18.0406H5V11.1825H3V20H8.958C8.96897 20 8.9795 19.9958 8.98735 19.9883C8.9952 19.9808 8.99974 19.9706 9 19.9598V13.142H11V19.9598C11.0003 19.9706 11.0048 19.9808 11.0126 19.9883C11.0205 19.9958 11.031 20 11.042 20H17V11.1825H15Z" />\r\n </symbol>\r\n <symbol id="sym-delivery-other" viewBox="0 0 20 20">\r\n <path d="M6.50757 20H18.0654V17.9925H8.51484L6.50757 20Z" />\r\n <path d="M19.4133 2.18625L17.8135 0.586255C17.6277 0.40039 17.4071 0.252953 17.1643 0.152363C16.9214 0.051773 16.6612 0 16.3984 0C16.1356 0 15.8753 0.051773 15.6325 0.152363C15.3897 0.252953 15.1691 0.40039 14.9833 0.586255L0 15.5684V20H4.43005L19.4143 5.01686C19.6001 4.83093 19.7474 4.61023 19.8479 4.36736C19.9484 4.12449 20.0001 3.86419 20 3.60135C19.9999 3.3385 19.948 3.07824 19.8474 2.83544C19.7467 2.59264 19.5992 2.37204 19.4133 2.18625ZM3.59904 17.9925H2.00727V16.3995L12.6167 5.79076L14.2085 7.38373L3.59904 17.9925ZM15.4861 6.10493L13.8943 4.51297L16.3984 2.00959L17.9902 3.60155L15.4861 6.10493Z" />\r\n </symbol>\r\n <symbol id="sym-delivery-work" viewBox="0 0 20 18">\r\n <path d="M18.441 4H1.559C1.14553 4 0.74899 4.16425 0.45662 4.45662C0.164251 4.74899 0 5.14553 0 5.559V16.441C0 16.8545 0.164251 17.251 0.45662 17.5434C0.74899 17.8357 1.14553 18 1.559 18H18.012C18.5392 17.9997 19.0447 17.7902 19.4174 17.4174C19.7902 17.0447 19.9997 16.5392 20 16.012V5.559C20 5.14553 19.8357 4.74899 19.5434 4.45662C19.251 4.16425 18.8545 4 18.441 4ZM17.969 6L18 6.031V9H2V6H17.969ZM2 16V11H18V16H2Z" />\r\n <path d="M8 2H12V3H14V2.042C14 1.50043 13.7849 0.981037 13.4019 0.598088C13.019 0.215139 12.4996 0 11.958 0H8.042C7.50043 0 6.98104 0.215139 6.59809 0.598088C6.21514 0.981037 6 1.50043 6 2.042V3H8V2Z" />\r\n <path d="M12 12H8V14H12V12Z" />\r\n </symbol>\r\n <symbol id="sym-google-play" viewBox="0 0 147 48">\r\n <rect x="0.427734" width="146.286" height="48" rx="8" fill="white" />\r\n <mask id="path-2-inside-1" fill="white">\r\n <path d="M73.6458 25.3038C71.4595 25.3038 69.6911 26.9435 69.6911 29.2264C69.6911 31.477 71.4595 33.1489 73.6458 33.1489C75.8322 33.1489 77.6006 31.477 77.6006 29.2264C77.6006 26.9435 75.8322 25.3038 73.6458 25.3038ZM73.6458 31.6056C72.4562 31.6056 71.4273 30.6089 71.4273 29.2264C71.4273 27.8117 72.4562 26.8471 73.6458 26.8471C74.8355 26.8471 75.8643 27.8117 75.8643 29.2264C75.8643 30.6411 74.8355 31.6056 73.6458 31.6056ZM65.029 25.3038C62.8426 25.3038 61.0742 26.9435 61.0742 29.2264C61.0742 31.477 62.8426 33.1489 65.029 33.1489C67.2153 33.1489 68.9837 31.477 68.9837 29.2264C68.9837 26.9435 67.2153 25.3038 65.029 25.3038ZM65.029 31.6056C63.8393 31.6056 62.8105 30.6089 62.8105 29.2264C62.8105 27.8117 63.8393 26.8471 65.029 26.8471C66.2186 26.8471 67.2475 27.8117 67.2475 29.2264C67.2475 30.6411 66.2186 31.6056 65.029 31.6056ZM54.7724 26.4934V28.1653H58.7593C58.6307 29.0977 58.3413 29.8051 57.859 30.2552C57.2803 30.8661 56.38 31.5092 54.7724 31.5092C52.3288 31.5092 50.3997 29.5157 50.3997 27.0721C50.3997 24.6286 52.3288 22.6351 54.7724 22.6351C56.0906 22.6351 57.0552 23.1496 57.7947 23.8248L58.9843 22.6351C57.9876 21.6705 56.6694 20.9632 54.8045 20.9632C51.4285 20.9632 48.5991 23.6961 48.5991 27.0721C48.5991 30.4481 51.4285 33.1811 54.8045 33.1811C56.6372 33.1811 57.9876 32.5702 59.0808 31.477C60.174 30.3838 60.5277 28.8405 60.5277 27.5866C60.5277 27.2008 60.4955 26.8471 60.4312 26.5577H54.7724V26.4934ZM96.6991 27.8117C96.3776 26.9435 95.3808 25.3038 93.3231 25.3038C91.2975 25.3038 89.6256 26.9114 89.6256 29.2264C89.6256 31.4449 91.2975 33.1489 93.516 33.1489C95.3165 33.1489 96.3776 32.0558 96.7955 31.4127L95.4451 30.5125C94.995 31.1555 94.3841 31.6056 93.516 31.6056C92.6479 31.6056 92.0048 31.1877 91.619 30.416L96.892 28.2296L96.6991 27.8117ZM91.3296 29.0977C91.2975 27.5866 92.5193 26.8149 93.3874 26.8149C94.0626 26.8149 94.6413 27.1686 94.8342 27.6509L91.3296 29.0977ZM87.0534 32.9239H88.7896V21.349H87.0534V32.9239ZM84.224 26.1719H84.1597C83.7738 25.7217 83.0343 25.3038 82.1019 25.3038C80.1406 25.3038 78.3401 27.04 78.3401 29.2585C78.3401 31.477 80.1406 33.1811 82.1019 33.1811C83.0343 33.1811 83.7738 32.7631 84.1597 32.2808H84.224V32.8596C84.224 34.3707 83.4202 35.1746 82.1341 35.1746C81.073 35.1746 80.43 34.4029 80.1406 33.7598L78.6294 34.3707C79.0474 35.3996 80.2049 36.6857 82.1019 36.6857C84.1275 36.6857 85.8316 35.4961 85.8316 32.6024V25.5288H84.1918V26.1719H84.224ZM82.2305 31.6056C81.0409 31.6056 80.0442 30.6089 80.0442 29.2264C80.0442 27.8438 81.0409 26.8149 82.2305 26.8149C83.4201 26.8149 84.3204 27.8438 84.3204 29.2264C84.3204 30.6089 83.4201 31.6056 82.2305 31.6056ZM104.801 21.349H100.654V32.9239H102.39V28.5512H104.801C106.731 28.5512 108.595 27.1686 108.595 24.9501C108.595 22.7637 106.698 21.349 104.801 21.349ZM104.834 26.9435H102.39V22.9888H104.834C106.12 22.9888 106.859 24.0498 106.859 24.9822C106.859 25.8504 106.12 26.9435 104.834 26.9435ZM115.508 25.2716C114.254 25.2716 112.968 25.8182 112.422 27.04L113.965 27.683C114.286 27.04 114.897 26.8471 115.54 26.8471C116.441 26.8471 117.341 27.3937 117.341 28.3261V28.4547C117.019 28.2618 116.344 28.0046 115.54 28.0046C113.901 28.0046 112.197 28.9048 112.197 30.6089C112.197 32.1522 113.547 33.1489 115.058 33.1489C116.216 33.1489 116.859 32.6345 117.244 32.0236H117.309V32.9239H118.981V28.4869C119.013 26.4291 117.47 25.2716 115.508 25.2716ZM115.283 31.6056C114.704 31.6056 113.933 31.3163 113.933 30.6089C113.933 29.7086 114.929 29.3871 115.765 29.3871C116.537 29.3871 116.891 29.5479 117.341 29.7729C117.212 30.8661 116.28 31.6056 115.283 31.6056ZM125.09 25.5288L123.096 30.5446H123.032L120.974 25.5288H119.109L122.196 32.5381L120.428 36.4285H122.228L126.987 25.5288H125.09ZM109.528 32.9239H111.264V21.349H109.528V32.9239Z" />\r\n </mask>\r\n <path d="M73.6458 25.3038C71.4595 25.3038 69.6911 26.9435 69.6911 29.2264C69.6911 31.477 71.4595 33.1489 73.6458 33.1489C75.8322 33.1489 77.6006 31.477 77.6006 29.2264C77.6006 26.9435 75.8322 25.3038 73.6458 25.3038ZM73.6458 31.6056C72.4562 31.6056 71.4273 30.6089 71.4273 29.2264C71.4273 27.8117 72.4562 26.8471 73.6458 26.8471C74.8355 26.8471 75.8643 27.8117 75.8643 29.2264C75.8643 30.6411 74.8355 31.6056 73.6458 31.6056ZM65.029 25.3038C62.8426 25.3038 61.0742 26.9435 61.0742 29.2264C61.0742 31.477 62.8426 33.1489 65.029 33.1489C67.2153 33.1489 68.9837 31.477 68.9837 29.2264C68.9837 26.9435 67.2153 25.3038 65.029 25.3038ZM65.029 31.6056C63.8393 31.6056 62.8105 30.6089 62.8105 29.2264C62.8105 27.8117 63.8393 26.8471 65.029 26.8471C66.2186 26.8471 67.2475 27.8117 67.2475 29.2264C67.2475 30.6411 66.2186 31.6056 65.029 31.6056ZM54.7724 26.4934V28.1653H58.7593C58.6307 29.0977 58.3413 29.8051 57.859 30.2552C57.2803 30.8661 56.38 31.5092 54.7724 31.5092C52.3288 31.5092 50.3997 29.5157 50.3997 27.0721C50.3997 24.6286 52.3288 22.6351 54.7724 22.6351C56.0906 22.6351 57.0552 23.1496 57.7947 23.8248L58.9843 22.6351C57.9876 21.6705 56.6694 20.9632 54.8045 20.9632C51.4285 20.9632 48.5991 23.6961 48.5991 27.0721C48.5991 30.4481 51.4285 33.1811 54.8045 33.1811C56.6372 33.1811 57.9876 32.5702 59.0808 31.477C60.174 30.3838 60.5277 28.8405 60.5277 27.5866C60.5277 27.2008 60.4955 26.8471 60.4312 26.5577H54.7724V26.4934ZM96.6991 27.8117C96.3776 26.9435 95.3808 25.3038 93.3231 25.3038C91.2975 25.3038 89.6256 26.9114 89.6256 29.2264C89.6256 31.4449 91.2975 33.1489 93.516 33.1489C95.3165 33.1489 96.3776 32.0558 96.7955 31.4127L95.4451 30.5125C94.995 31.1555 94.3841 31.6056 93.516 31.6056C92.6479 31.6056 92.0048 31.1877 91.619 30.416L96.892 28.2296L96.6991 27.8117ZM91.3296 29.0977C91.2975 27.5866 92.5193 26.8149 93.3874 26.8149C94.0626 26.8149 94.6413 27.1686 94.8342 27.6509L91.3296 29.0977ZM87.0534 32.9239H88.7896V21.349H87.0534V32.9239ZM84.224 26.1719H84.1597C83.7738 25.7217 83.0343 25.3038 82.1019 25.3038C80.1406 25.3038 78.3401 27.04 78.3401 29.2585C78.3401 31.477 80.1406 33.1811 82.1019 33.1811C83.0343 33.1811 83.7738 32.7631 84.1597 32.2808H84.224V32.8596C84.224 34.3707 83.4202 35.1746 82.1341 35.1746C81.073 35.1746 80.43 34.4029 80.1406 33.7598L78.6294 34.3707C79.0474 35.3996 80.2049 36.6857 82.1019 36.6857C84.1275 36.6857 85.8316 35.4961 85.8316 32.6024V25.5288H84.1918V26.1719H84.224ZM82.2305 31.6056C81.0409 31.6056 80.0442 30.6089 80.0442 29.2264C80.0442 27.8438 81.0409 26.8149 82.2305 26.8149C83.4201 26.8149 84.3204 27.8438 84.3204 29.2264C84.3204 30.6089 83.4201 31.6056 82.2305 31.6056ZM104.801 21.349H100.654V32.9239H102.39V28.5512H104.801C106.731 28.5512 108.595 27.1686 108.595 24.9501C108.595 22.7637 106.698 21.349 104.801 21.349ZM104.834 26.9435H102.39V22.9888H104.834C106.12 22.9888 106.859 24.0498 106.859 24.9822C106.859 25.8504 106.12 26.9435 104.834 26.9435ZM115.508 25.2716C114.254 25.2716 112.968 25.8182 112.422 27.04L113.965 27.683C114.286 27.04 114.897 26.8471 115.54 26.8471C116.441 26.8471 117.341 27.3937 117.341 28.3261V28.4547C117.019 28.2618 116.344 28.0046 115.54 28.0046C113.901 28.0046 112.197 28.9048 112.197 30.6089C112.197 32.1522 113.547 33.1489 115.058 33.1489C116.216 33.1489 116.859 32.6345 117.244 32.0236H117.309V32.9239H118.981V28.4869C119.013 26.4291 117.47 25.2716 115.508 25.2716ZM115.283 31.6056C114.704 31.6056 113.933 31.3163 113.933 30.6089C113.933 29.7086 114.929 29.3871 115.765 29.3871C116.537 29.3871 116.891 29.5479 117.341 29.7729C117.212 30.8661 116.28 31.6056 115.283 31.6056ZM125.09 25.5288L123.096 30.5446H123.032L120.974 25.5288H119.109L122.196 32.5381L120.428 36.4285H122.228L126.987 25.5288H125.09ZM109.528 32.9239H111.264V21.349H109.528V32.9239Z" fill="#2B2D33" stroke="#2B2D33" stroke-width="2" mask="url(#path-2-inside-1)" />\r\n <path d="M49.5663 18.3901H48.8911V16.5252H49.4377C49.92 16.1072 50.1451 15.3999 50.1451 14.4032V11.6702H53.8426V16.5252H54.4535V18.3901H53.7783V17.2004H49.5663V18.3901ZM50.8524 14.4032C50.8524 15.2713 50.6916 15.9786 50.338 16.5252H53.1352V12.3454H50.8524V14.4032Z" fill="#2B2D33" />\r\n <path d="M60.0158 16.4939C59.4692 17.0405 58.794 17.3298 57.9902 17.3298C57.1864 17.3298 56.5112 17.0405 55.9646 16.4939C55.418 15.9473 55.1608 15.2399 55.1608 14.4361C55.1608 13.6323 55.418 12.925 55.9646 12.3784C56.5112 11.8318 57.1864 11.5424 57.9902 11.5424C58.794 11.5424 59.4692 11.8318 60.0158 12.3784C60.5624 12.9571 60.8518 13.6323 60.8518 14.4361C60.8518 15.2399 60.5624 15.9151 60.0158 16.4939ZM56.479 16.0116C56.897 16.4296 57.3793 16.6225 57.9902 16.6225C58.5689 16.6225 59.0834 16.4296 59.5014 16.0116C59.9193 15.5936 60.1123 15.0792 60.1123 14.404C60.1123 13.7288 59.9193 13.2143 59.5014 12.7964C59.0834 12.3784 58.6011 12.1855 57.9902 12.1855C57.4115 12.1855 56.897 12.3784 56.479 12.7964C56.0611 13.2143 55.8681 13.7288 55.8681 14.404C55.8681 15.0792 56.0611 15.5936 56.479 16.0116Z" fill="#2B2D33" />\r\n <path d="M64.4207 17.3298C63.6169 17.3298 62.9095 17.0405 62.363 16.4939C61.8164 15.9473 61.527 15.2399 61.527 14.4361C61.527 13.6323 61.8164 12.925 62.363 12.3784C62.9095 11.8318 63.5847 11.5424 64.4207 11.5424C65.2567 11.5424 65.9319 11.8318 66.4463 12.4427L65.964 12.925C65.5782 12.4427 65.0638 12.2176 64.4207 12.2176C63.8098 12.2176 63.2954 12.4105 62.8774 12.8285C62.4594 13.2465 62.2665 13.7609 62.2665 14.4361C62.2665 15.1113 62.4594 15.6258 62.8774 16.0438C63.2954 16.4617 63.8098 16.6546 64.4207 16.6546C65.0959 16.6546 65.6425 16.3974 66.1248 15.8508L66.6071 16.3331C66.3499 16.6225 66.0283 16.8797 65.6425 17.0726C65.2888 17.2334 64.8708 17.3298 64.4207 17.3298Z" fill="#2B2D33" />\r\n <path d="M68.8256 17.2013V12.3462H67.2823V11.671H71.1084V12.3462H69.5651V17.2013H68.8256Z" fill="#2B2D33" />\r\n <path d="M75.9634 11.639L73.8735 16.3332C73.5841 17.0084 73.1661 17.3299 72.5874 17.3299C72.4266 17.3299 72.2337 17.2978 72.0408 17.2013L72.2337 16.5583C72.3623 16.6226 72.4909 16.6547 72.6196 16.6547C72.7803 16.6547 72.9089 16.6226 73.0054 16.5583C73.1018 16.494 73.1661 16.3654 73.2626 16.2046L73.4234 15.7545L71.5585 11.639H72.3945L73.777 14.822H73.8092L75.1596 11.639H75.9634Z" fill="#2B2D33" />\r\n <path d="M76.7672 17.2013V11.639H80.7863V17.2013H80.0789V12.3463H77.4746V17.2013H76.7672Z" fill="#2B2D33" />\r\n <path d="M82.0723 17.2013V11.639H82.7797V14.0182H85.5448V11.639H86.2521V17.2013H85.5448V14.6934H82.7797V17.2013H82.0723Z" fill="#2B2D33" />\r\n <path d="M92.0717 16.4939C91.5252 17.0405 90.85 17.3298 90.0461 17.3298C89.2423 17.3298 88.5671 17.0405 88.0205 16.4939C87.4739 15.9473 87.2167 15.2399 87.2167 14.4361C87.2167 13.6323 87.4739 12.925 88.0205 12.3784C88.5671 11.8318 89.2423 11.5424 90.0461 11.5424C90.85 11.5424 91.5252 11.8318 92.0717 12.3784C92.6183 12.9571 92.9077 13.6323 92.9077 14.4361C92.8756 15.2399 92.6183 15.9151 92.0717 16.4939ZM88.535 16.0116C88.953 16.4296 89.4352 16.6225 90.0461 16.6225C90.6249 16.6225 91.1393 16.4296 91.5573 16.0116C91.9753 15.5936 92.1682 15.0792 92.1682 14.404C92.1682 13.7288 91.9753 13.2143 91.5573 12.7964C91.1393 12.3784 90.657 12.1855 90.0461 12.1855C89.4674 12.1855 88.953 12.3784 88.535 12.7964C88.117 13.2143 87.9241 13.7288 87.9241 14.404C87.9241 15.0792 88.117 15.5936 88.535 16.0116Z" fill="#2B2D33" />\r\n <path d="M95.8014 17.2013V11.639H97.7949C98.245 11.639 98.5987 11.7676 98.9202 12.0569C99.2417 12.3463 99.4025 12.7 99.4025 13.1501C99.4025 13.4073 99.3382 13.6324 99.2096 13.8575C99.081 14.0504 98.888 14.2111 98.663 14.3076V14.3398C98.9523 14.4362 99.1774 14.597 99.3382 14.822C99.4989 15.0471 99.5954 15.3043 99.5954 15.6259C99.5954 16.076 99.4346 16.4618 99.0809 16.7512C98.7594 17.0406 98.3414 17.2013 97.8913 17.2013H95.8014ZM96.5088 14.0182H97.7949C98.0521 14.0182 98.2771 13.9218 98.4379 13.761C98.5987 13.5681 98.6951 13.3752 98.6951 13.1823C98.6951 12.9572 98.6308 12.7643 98.4701 12.6035C98.3093 12.4428 98.1164 12.3463 97.8592 12.3463H96.5409V14.0182H96.5088ZM96.5088 16.5261H97.9556C98.245 16.5261 98.4379 16.4297 98.6308 16.2367C98.7916 16.0438 98.888 15.8509 98.888 15.5937C98.888 15.3686 98.7916 15.1436 98.6308 14.9828C98.4701 14.7899 98.2128 14.6934 97.9556 14.6934H96.5409V16.5261H96.5088Z" fill="#2B2D33" />\r\n <path d="M49.5663 18.3901H48.8911V16.5252H49.4377C49.92 16.1072 50.1451 15.3999 50.1451 14.4032V11.6702H53.8426V16.5252H54.4535V18.3901H53.7783V17.2004H49.5663V18.3901ZM50.8524 14.4032C50.8524 15.2713 50.6916 15.9786 50.338 16.5252H53.1352V12.3454H50.8524V14.4032Z" stroke="#2B2D33" stroke-width="0.2" stroke-miterlimit="10" />\r\n <path d="M60.0158 16.4939C59.4692 17.0405 58.794 17.3298 57.9902 17.3298C57.1864 17.3298 56.5112 17.0405 55.9646 16.4939C55.418 15.9473 55.1608 15.2399 55.1608 14.4361C55.1608 13.6323 55.418 12.925 55.9646 12.3784C56.5112 11.8318 57.1864 11.5424 57.9902 11.5424C58.794 11.5424 59.4692 11.8318 60.0158 12.3784C60.5624 12.9571 60.8518 13.6323 60.8518 14.4361C60.8518 15.2399 60.5624 15.9151 60.0158 16.4939ZM56.479 16.0116C56.897 16.4296 57.3793 16.6225 57.9902 16.6225C58.5689 16.6225 59.0834 16.4296 59.5014 16.0116C59.9193 15.5936 60.1123 15.0792 60.1123 14.404C60.1123 13.7288 59.9193 13.2143 59.5014 12.7964C59.0834 12.3784 58.6011 12.1855 57.9902 12.1855C57.4115 12.1855 56.897 12.3784 56.479 12.7964C56.0611 13.2143 55.8681 13.7288 55.8681 14.404C55.8681 15.0792 56.0611 15.5936 56.479 16.0116Z" stroke="#2B2D33" stroke-width="0.2" stroke-miterlimit="10" />\r\n <path d="M64.4207 17.3298C63.6169 17.3298 62.9095 17.0405 62.363 16.4939C61.8164 15.9473 61.527 15.2399 61.527 14.4361C61.527 13.6323 61.8164 12.925 62.363 12.3784C62.9095 11.8318 63.5847 11.5424 64.4207 11.5424C65.2567 11.5424 65.9319 11.8318 66.4463 12.4427L65.964 12.925C65.5782 12.4427 65.0638 12.2176 64.4207 12.2176C63.8098 12.2176 63.2954 12.4105 62.8774 12.8285C62.4594 13.2465 62.2665 13.7609 62.2665 14.4361C62.2665 15.1113 62.4594 15.6258 62.8774 16.0438C63.2954 16.4617 63.8098 16.6546 64.4207 16.6546C65.0959 16.6546 65.6425 16.3974 66.1248 15.8508L66.6071 16.3331C66.3499 16.6225 66.0283 16.8797 65.6425 17.0726C65.2888 17.2334 64.8708 17.3298 64.4207 17.3298Z" stroke="#2B2D33" stroke-width="0.2" stroke-miterlimit="10" />\r\n <path d="M68.8256 17.2013V12.3462H67.2823V11.671H71.1084V12.3462H69.5651V17.2013H68.8256Z" stroke="#2B2D33" stroke-width="0.2" stroke-miterlimit="10" />\r\n <path d="M75.9634 11.639L73.8735 16.3332C73.5841 17.0084 73.1661 17.3299 72.5874 17.3299C72.4266 17.3299 72.2337 17.2978 72.0408 17.2013L72.2337 16.5583C72.3623 16.6226 72.4909 16.6547 72.6196 16.6547C72.7803 16.6547 72.9089 16.6226 73.0054 16.5583C73.1018 16.494 73.1661 16.3654 73.2626 16.2046L73.4234 15.7545L71.5585 11.639H72.3945L73.777 14.822H73.8092L75.1596 11.639H75.9634Z" stroke="#2B2D33" stroke-width="0.2" stroke-miterlimit="10" />\r\n <path d="M76.7672 17.2013V11.639H80.7863V17.2013H80.0789V12.3463H77.4746V17.2013H76.7672Z" stroke="#2B2D33" stroke-width="0.2" stroke-miterlimit="10" />\r\n <path d="M82.0723 17.2013V11.639H82.7797V14.0182H85.5448V11.639H86.2521V17.2013H85.5448V14.6934H82.7797V17.2013H82.0723Z" stroke="#2B2D33" stroke-width="0.2" stroke-miterlimit="10" />\r\n <path d="M92.0717 16.4939C91.5252 17.0405 90.85 17.3298 90.0461 17.3298C89.2423 17.3298 88.5671 17.0405 88.0205 16.4939C87.4739 15.9473 87.2167 15.2399 87.2167 14.4361C87.2167 13.6323 87.4739 12.925 88.0205 12.3784C88.5671 11.8318 89.2423 11.5424 90.0461 11.5424C90.85 11.5424 91.5252 11.8318 92.0717 12.3784C92.6183 12.9571 92.9077 13.6323 92.9077 14.4361C92.8756 15.2399 92.6183 15.9151 92.0717 16.4939ZM88.535 16.0116C88.953 16.4296 89.4352 16.6225 90.0461 16.6225C90.6249 16.6225 91.1393 16.4296 91.5573 16.0116C91.9753 15.5936 92.1682 15.0792 92.1682 14.404C92.1682 13.7288 91.9753 13.2143 91.5573 12.7964C91.1393 12.3784 90.657 12.1855 90.0461 12.1855C89.4674 12.1855 88.953 12.3784 88.535 12.7964C88.117 13.2143 87.9241 13.7288 87.9241 14.404C87.9241 15.0792 88.117 15.5936 88.535 16.0116Z" stroke="#2B2D33" stroke-width="0.2" stroke-miterlimit="10" />\r\n <path d="M95.8014 17.2013V11.639H97.7949C98.245 11.639 98.5987 11.7676 98.9202 12.0569C99.2417 12.3463 99.4025 12.7 99.4025 13.1501C99.4025 13.4073 99.3382 13.6324 99.2096 13.8575C99.081 14.0504 98.888 14.2111 98.663 14.3076V14.3398C98.9523 14.4362 99.1774 14.597 99.3382 14.822C99.4989 15.0471 99.5954 15.3043 99.5954 15.6259C99.5954 16.076 99.4346 16.4618 99.0809 16.7512C98.7594 17.0406 98.3414 17.2013 97.8913 17.2013H95.8014ZM96.5088 14.0182H97.7949C98.0521 14.0182 98.2771 13.9218 98.4379 13.761C98.5987 13.5681 98.6951 13.3752 98.6951 13.1823C98.6951 12.9572 98.6308 12.7643 98.4701 12.6035C98.3093 12.4428 98.1164 12.3463 97.8592 12.3463H96.5409V14.0182H96.5088ZM96.5088 16.5261H97.9556C98.245 16.5261 98.4379 16.4297 98.6308 16.2367C98.7916 16.0438 98.888 15.8509 98.888 15.5937C98.888 15.3686 98.7916 15.1436 98.6308 14.9828C98.4701 14.7899 98.2128 14.6934 97.9556 14.6934H96.5409V16.5261H96.5088Z" stroke="#2B2D33" stroke-width="0.2" stroke-miterlimit="10" />\r\n <path d="M19.9511 12.5623C19.8944 12.7636 19.8557 12.9808 19.8557 13.2288V33.6318C19.8557 33.8761 19.8944 34.0909 19.9489 34.29L31.267 23.4413L19.9511 12.5623Z" fill="#2B2D33" />\r\n <path d="M35.6838 19.207L22.4691 11.7699C21.9423 11.4457 21.4236 11.3636 20.9854 11.4766L32.3513 22.403L35.6838 19.207Z" fill="#2B2D33" />\r\n <path d="M40.5561 21.9492L37.029 19.964L33.4162 23.4262L37.096 26.9653L40.5277 25.0585C42.2029 24.0927 41.5919 22.538 40.5561 21.9492Z" fill="#2B2D33" />\r\n <path d="M20.9519 35.3711C21.3968 35.497 21.9281 35.4217 22.4684 35.0891L35.7234 27.726L32.3305 24.4643L20.9519 35.3711Z" fill="#2B2D33" />\r\n </symbol>\r\n <symbol id="sym-info" viewBox="0 0 20 20">\r\n <path d="M9 13V10H8V8H10C10.5523 8 11 8.44772 11 9V13H13V15H7V13H9ZM10 7C9.17157 7 8.5 6.32843 8.5 5.5C8.5 4.67157 9.17157 4 10 4C10.8284 4 11.5 4.67157 11.5 5.5C11.5 6.32843 10.8284 7 10 7ZM10 18C14.4183 18 18 14.4183 18 10C18 5.58172 14.4183 2 10 2C5.58172 2 2 5.58172 2 10C2 14.4183 5.58172 18 10 18ZM10 20C4.47715 20 0 15.5228 0 10C0 4.47715 4.47715 0 10 0C15.5228 0 20 4.47715 20 10C20 15.5228 15.5228 20 10 20Z" />\r\n </symbol>\r\n <symbol id="sym-ok" viewBox="0 0 70 70">\r\n <path d="M46.6667 0H23.3333C10.4467 0 0 10.4467 0 23.3333V46.6667C0 59.5533 10.4467 70 23.3333 70H46.6667C59.5533 70 70 59.5533 70 46.6667V23.3333C70 10.4467 59.5533 0 46.6667 0Z" fill="#FEE600" />\r\n <path d="M34.9999 42.966L58.3333 19.6326V16.3333H55.0339L34.9999 36.3673L26.6326 28H23.3333V31.2993L34.9999 42.966Z" fill="#2B2D33" />\r\n <path d="M53.0599 29.5283C53.6144 31.2997 53.9022 33.1438 53.9139 35C53.9272 39.2883 52.4873 43.4547 49.8289 46.8197C47.1705 50.1847 43.4505 52.5499 39.2755 53.5294C35.1005 54.509 30.7167 54.0453 26.8391 52.2138C22.9615 50.3823 19.8187 47.2912 17.9232 43.4444C16.0277 39.5977 15.4914 35.2222 16.4017 31.0316C17.312 26.8409 19.6151 23.0822 22.9356 20.3684C26.2561 17.6547 30.3981 16.1459 34.6861 16.0881C38.9741 16.0303 43.1552 17.427 46.5476 20.0503L49.6859 16.912C45.2545 13.3116 39.6599 11.455 33.9551 11.6916C28.2503 11.9283 22.8287 14.2419 18.7107 18.197C14.5927 22.1521 12.0623 27.476 11.5957 33.1666C11.1291 38.8572 12.7585 44.5222 16.1772 49.0952C19.5959 53.6683 24.5682 56.8342 30.1583 57.997C35.7483 59.1598 41.5706 58.2393 46.5294 55.4088C51.4882 52.5784 55.2414 48.0331 57.0827 42.6284C58.9241 37.2238 58.7265 31.3325 56.5273 26.0633L53.0599 29.5283Z" fill="#2B2D33" />\r\n </symbol>\r\n <symbol id="sym-qr_thx-page" viewBox="0 0 100 100">\r\n <title>qr_thx-page</title>\r\n <path d="M10,2.5A7.5,7.5,0,0,0,2.5,10V23.75H0V10A10,10,0,0,1,10,0H23.75V2.5Z" style="fill:#fee600" />\r\n <path d="M23.75,97.5H10A7.5,7.5,0,0,1,2.5,90V76.25H0V90a10,10,0,0,0,10,10H23.75Z" style="fill:#fee600" />\r\n <path d="M76.25,100H90a10,10,0,0,0,10-10V76.25H97.5V90A7.5,7.5,0,0,1,90,97.5H76.25Z" style="fill:#fee600" />\r\n <path d="M76.25,2.5V0H90a10,10,0,0,1,10,10V23.75H97.5V10A7.5,7.5,0,0,0,90,2.5Z" style="fill:#fee600" />\r\n <rect x="10" y="10" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="10" y="12.76" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="10" y="15.51" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="10" y="18.27" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="10" y="21.03" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="10" y="23.79" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="10" y="26.55" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="10" y="32.07" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="10" y="37.59" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="10" y="48.62" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="10" y="54.14" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="10" y="56.9" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="10" y="62.41" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="10" y="70.69" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="10" y="73.45" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="10" y="76.21" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="10" y="78.97" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="10" y="81.73" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="10" y="84.49" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="10" y="87.24" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="12.76" y="10" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="12.76" y="26.55" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="12.76" y="32.07" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="12.76" y="43.1" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="12.76" y="45.86" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="12.76" y="54.14" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="12.76" y="59.66" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="12.76" y="65.17" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="12.76" y="70.69" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="12.76" y="87.24" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="15.51" y="10" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="15.51" y="15.51" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="15.51" y="18.27" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="15.51" y="21.03" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="15.51" y="26.55" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="15.51" y="32.07" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="15.51" y="34.83" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="15.51" y="37.59" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="15.51" y="45.86" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="15.51" y="48.62" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="15.51" y="54.14" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="15.51" y="56.9" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="15.51" y="59.66" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="15.51" y="62.41" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="15.51" y="65.17" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="15.51" y="70.69" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="15.51" y="76.21" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="15.51" y="78.97" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="15.51" y="81.73" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="15.51" y="87.24" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="18.27" y="10" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="18.27" y="15.51" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="18.27" y="18.27" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="18.27" y="21.03" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="18.27" y="26.55" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="18.27" y="34.83" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="18.27" y="37.59" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="18.27" y="40.34" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="18.27" y="43.1" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="18.27" y="45.86" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="18.27" y="48.62" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="18.27" y="51.38" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="18.27" y="54.14" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="18.27" y="62.41" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="18.27" y="65.17" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="18.27" y="70.69" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="18.27" y="76.21" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="18.27" y="78.97" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="18.27" y="81.73" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="18.27" y="87.24" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="21.03" y="10" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="21.03" y="15.51" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="21.03" y="18.27" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="21.03" y="21.03" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="21.03" y="26.55" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="21.03" y="32.07" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="21.03" y="34.83" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="21.03" y="40.34" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="21.03" y="51.38" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="21.03" y="54.14" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="21.03" y="59.66" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="21.03" y="70.69" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="21.03" y="76.21" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="21.03" y="78.97" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="21.03" y="81.73" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="21.03" y="87.24" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="23.79" y="10" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="23.79" y="26.55" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="23.79" y="32.07" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="23.79" y="34.83" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="23.79" y="43.1" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="23.79" y="45.86" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="23.79" y="48.62" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="23.79" y="54.14" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="23.79" y="56.9" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="23.79" y="59.66" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="23.79" y="62.41" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="23.79" y="70.69" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="23.79" y="87.24" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="26.55" y="10" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="26.55" y="12.76" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="26.55" y="15.51" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="26.55" y="18.27" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="26.55" y="21.03" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="26.55" y="23.79" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="26.55" y="26.55" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="26.55" y="32.07" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="26.55" y="37.59" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="26.55" y="43.1" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="26.55" y="48.62" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="26.55" y="54.14" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="26.55" y="59.66" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="26.55" y="65.17" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="26.55" y="70.69" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="26.55" y="73.45" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="26.55" y="76.21" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="26.55" y="78.97" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="26.55" y="81.73" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="26.55" y="84.49" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="26.55" y="87.24" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="29.31" y="32.07" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="29.31" y="43.1" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="29.31" y="54.14" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="29.31" y="59.66" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="29.31" y="62.41" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="32.07" y="15.51" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="32.07" y="26.55" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="32.07" y="29.31" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="32.07" y="32.07" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="32.07" y="34.83" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="32.07" y="40.34" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="32.07" y="48.62" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="32.07" y="51.38" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="32.07" y="56.9" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="32.07" y="59.66" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="32.07" y="65.17" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="32.07" y="67.93" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="32.07" y="70.69" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="32.07" y="73.45" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="32.07" y="76.21" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="32.07" y="81.73" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="32.07" y="84.49" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="32.07" y="87.24" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="34.83" y="10" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="34.83" y="15.51" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="34.83" y="18.27" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="34.83" y="23.79" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="34.83" y="29.31" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="34.83" y="37.59" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="34.83" y="45.86" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="34.83" y="48.62" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="34.83" y="54.14" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="34.83" y="62.41" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="34.83" y="65.17" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="34.83" y="67.93" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="34.83" y="70.69" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="34.83" y="73.45" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="34.83" y="81.73" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="34.83" y="84.49" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="37.59" y="12.76" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="37.59" y="15.51" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="37.59" y="18.27" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="37.59" y="21.03" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="37.59" y="26.55" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="37.59" y="29.31" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="37.59" y="32.07" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="37.59" y="34.83" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="37.59" y="48.62" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="37.59" y="51.38" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="37.59" y="56.9" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="37.59" y="59.66" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="37.59" y="62.41" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="37.59" y="65.17" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="37.59" y="73.45" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="37.59" y="76.21" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="37.59" y="81.73" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="37.59" y="84.49" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="37.59" y="87.24" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="40.34" y="12.76" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="40.34" y="18.27" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="40.34" y="32.07" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="40.34" y="34.83" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="40.34" y="40.34" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="40.34" y="45.86" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="40.34" y="48.62" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="40.34" y="54.14" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="40.34" y="56.9" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="40.34" y="62.41" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="40.34" y="67.93" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="40.34" y="70.69" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="40.34" y="76.21" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="40.34" y="78.97" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="40.34" y="84.49" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="43.1" y="10" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="43.1" y="12.76" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="43.1" y="15.51" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="43.1" y="26.55" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="43.1" y="29.31" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="43.1" y="43.1" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="43.1" y="45.86" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="43.1" y="48.62" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="43.1" y="51.38" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="43.1" y="65.17" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="43.1" y="67.93" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="43.1" y="70.69" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="43.1" y="73.45" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="43.1" y="87.24" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="45.86" y="23.79" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="45.86" y="29.31" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="45.86" y="32.07" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="45.86" y="37.59" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="45.86" y="40.34" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="45.86" y="43.1" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="45.86" y="45.86" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="45.86" y="48.62" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="45.86" y="51.38" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="45.86" y="54.14" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="45.86" y="56.9" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="45.86" y="62.41" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="45.86" y="65.17" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="45.86" y="70.69" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="45.86" y="73.45" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="45.86" y="81.73" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="48.62" y="18.27" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="48.62" y="23.79" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="48.62" y="26.55" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="48.62" y="40.34" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="48.62" y="45.86" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="48.62" y="48.62" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="48.62" y="62.41" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="48.62" y="65.17" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="48.62" y="73.45" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="48.62" y="76.21" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="51.38" y="10" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="51.38" y="12.76" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="51.38" y="15.51" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="51.38" y="21.03" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="51.38" y="23.79" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="51.38" y="29.31" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="51.38" y="54.14" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="51.38" y="62.41" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="51.38" y="73.45" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="51.38" y="76.21" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="51.38" y="84.49" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="51.38" y="87.24" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="54.14" y="12.76" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="54.14" y="21.03" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="54.14" y="26.55" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="54.14" y="29.31" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="54.14" y="34.83" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="54.14" y="37.59" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="54.14" y="45.86" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="54.14" y="51.38" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="54.14" y="54.14" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="54.14" y="56.9" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="54.14" y="59.66" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="54.14" y="67.93" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="54.14" y="73.45" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="54.14" y="76.21" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="54.14" y="78.97" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="54.14" y="87.24" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="56.9" y="23.79" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="56.9" y="29.31" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="56.9" y="32.07" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="56.9" y="37.59" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="56.9" y="40.34" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="56.9" y="43.1" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="56.9" y="48.62" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="56.9" y="51.38" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="56.9" y="54.14" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="56.9" y="56.9" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="56.9" y="59.66" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="56.9" y="62.41" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="56.9" y="65.17" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="56.9" y="67.93" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="56.9" y="73.45" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="56.9" y="76.21" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="56.9" y="81.73" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="56.9" y="84.49" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="56.9" y="87.24" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="59.66" y="18.27" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="59.66" y="21.03" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="59.66" y="23.79" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="59.66" y="26.55" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="59.66" y="29.31" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="59.66" y="43.1" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="59.66" y="56.9" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="59.66" y="59.66" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="59.66" y="67.93" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="59.66" y="73.45" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="59.66" y="76.21" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="59.66" y="84.49" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="62.41" y="10" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="62.41" y="12.76" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="62.41" y="21.03" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="62.41" y="23.79" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="62.41" y="29.31" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="62.41" y="62.41" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="62.41" y="65.17" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="62.41" y="67.93" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="62.41" y="70.69" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="62.41" y="84.49" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="62.41" y="87.24" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="65.17" y="12.76" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="65.17" y="15.51" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="65.17" y="23.79" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="65.17" y="26.55" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="65.17" y="29.31" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="65.17" y="32.07" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="65.17" y="34.83" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="65.17" y="37.59" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="65.17" y="40.34" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="65.17" y="43.1" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="65.17" y="45.86" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="65.17" y="48.62" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="65.17" y="51.38" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="65.17" y="54.14" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="65.17" y="56.9" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="65.17" y="65.17" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="65.17" y="67.93" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="65.17" y="70.69" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="65.17" y="73.45" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="65.17" y="76.21" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="65.17" y="81.73" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="65.17" y="84.49" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="65.17" y="87.24" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="67.93" y="32.07" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="67.93" y="34.83" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="67.93" y="37.59" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="67.93" y="40.34" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="67.93" y="43.1" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="67.93" y="45.86" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="67.93" y="48.62" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="67.93" y="56.9" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="67.93" y="59.66" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="67.93" y="62.41" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="67.93" y="65.17" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="67.93" y="76.21" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="67.93" y="81.73" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="67.93" y="84.49" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="70.69" y="10" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="70.69" y="12.76" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="70.69" y="15.51" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="70.69" y="18.27" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="70.69" y="21.03" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="70.69" y="23.79" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="70.69" y="26.55" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="70.69" y="32.07" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="70.69" y="34.83" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="70.69" y="40.34" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="70.69" y="43.1" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="70.69" y="45.86" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="70.69" y="48.62" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="70.69" y="54.14" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="70.69" y="56.9" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="70.69" y="62.41" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="70.69" y="65.17" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="70.69" y="70.69" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="70.69" y="76.21" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="73.45" y="10" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="73.45" y="26.55" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="73.45" y="37.59" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="73.45" y="40.34" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="73.45" y="65.17" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="73.45" y="76.21" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="73.45" y="78.97" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="73.45" y="81.73" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="73.45" y="87.24" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="76.21" y="10" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="76.21" y="15.51" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="76.21" y="18.27" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="76.21" y="21.03" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="76.21" y="26.55" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="76.21" y="37.59" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="76.21" y="40.34" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="76.21" y="48.62" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="76.21" y="51.38" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="76.21" y="62.41" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="76.21" y="65.17" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="76.21" y="67.93" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="76.21" y="70.69" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="76.21" y="73.45" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="76.21" y="76.21" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="76.21" y="78.97" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="76.21" y="81.73" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="76.21" y="84.49" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="78.97" y="10" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="78.97" y="15.51" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="78.97" y="18.27" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="78.97" y="21.03" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="78.97" y="26.55" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="78.97" y="34.83" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="78.97" y="43.1" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="78.97" y="45.86" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="78.97" y="48.62" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="78.97" y="51.38" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="78.97" y="54.14" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="78.97" y="56.9" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="78.97" y="62.41" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="78.97" y="70.69" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="78.97" y="73.45" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="78.97" y="81.73" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="81.73" y="10" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="81.73" y="15.51" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="81.73" y="18.27" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="81.73" y="21.03" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="81.73" y="26.55" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="81.73" y="32.07" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="81.73" y="37.59" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="81.73" y="56.9" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="81.73" y="67.93" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="81.73" y="78.97" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="84.49" y="10" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="84.49" y="26.55" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="84.49" y="37.59" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="84.49" y="40.34" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="84.49" y="43.1" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="84.49" y="48.62" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="84.49" y="51.38" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="84.49" y="54.14" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="84.49" y="59.66" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="84.49" y="62.41" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="84.49" y="67.93" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="84.49" y="70.69" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="84.49" y="73.45" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="84.49" y="78.97" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="84.49" y="84.49" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="84.49" y="87.24" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="87.24" y="10" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="87.24" y="12.76" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="87.24" y="15.51" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="87.24" y="18.27" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="87.24" y="21.03" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="87.24" y="23.79" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="87.24" y="26.55" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="87.24" y="34.83" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="87.24" y="37.59" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="87.24" y="43.1" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="87.24" y="45.86" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="87.24" y="48.62" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="87.24" y="54.14" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="87.24" y="56.9" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="87.24" y="59.66" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="87.24" y="67.93" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="87.24" y="70.69" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="87.24" y="73.45" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="87.24" y="78.97" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="87.24" y="81.73" width="2.76" height="2.76" style="fill:#fff" />\r\n <rect x="87.24" y="87.24" width="2.76" height="2.76" style="fill:#fff" />\r\n </symbol>\r\n </svg>\r\n </div>\r\n</div>\x3c!-- /.ccform-form --\x3e'},function(e,t,n){"use strict";var r,i=n(0),o=(r=i)&&r.__esModule?r:{default:r};var s=o.default.config.env;if("dev"===s||"test"===s){var a={ID:"id",PARENT:"parent",EXISTS:"exists",TY_PAGE_LINK:"TYPageLink",IS_PROMO_SNAP_OFF:"isPromoSnapOff",SEND_OK_TYPE:"sendOkType",SBJS_TEST:"sbjsTest",PAYMENT_SYSTEM:"paymentSystem"},l=new URL(window.location);if(l.searchParams.has(a.SBJS_TEST)){var c=l.searchParams.get(a.SBJS_TEST);o.default.props.sbjsTest=c}if(l.searchParams.has(a.ID)){var u=l.searchParams.get(a.ID);o.default.config.card.id=u}if(l.searchParams.has(a.SEND_OK_TYPE)){var d=l.searchParams.get(a.SEND_OK_TYPE);o.default.props["send-ok-type"]=d}if(l.searchParams.has(a.TY_PAGE_LINK)){var f=l.searchParams.get(a.TY_PAGE_LINK);o.default.props.TYPageLink=f}if(l.searchParams.has(a.IS_PROMO_SNAP_OFF)){var h=l.searchParams.get(a.IS_PROMO_SNAP_OFF);o.default.props.isPromoSnapOff=h}if(l.searchParams.has(a.PARENT)){var p=l.searchParams.get(a.PARENT);o.default.props.parent=p}if(l.searchParams.has(a.PAYMENT_SYSTEM)){var m=l.searchParams.get(a.PAYMENT_SYSTEM);o.default.props.payment=m}if(l.searchParams.has(a.EXISTS)){var g=l.searchParams.get(a.EXISTS);o.default.flags.exists="true"===g}}},function(e,t,n){"use strict";var r,i=n(6),o=n(0);var s=((r=o)&&r.__esModule?r:{default:r}).default.config.trackjs,a=s.token,l=s.application;l&&i.TrackJS.install({token:a,application:l})},function(e,t,n){"use strict";Promise.allSettled||(Promise.allSettled=function(e){return Promise.all(e.map((function(e){return Promise.resolve(e).then((function(e){return{status:"fulfilled",value:e}}),(function(e){return{status:"rejected",reason:e}}))})))})},function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=c(n(0)),o=c(n(16)),s=n(6),a=n(25),l=n(2);function c(e){return e&&e.__esModule?e:{default:e}}var u=o.default.create({timeout:15e3}),d=new(function(){function t(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),this.form=i.default.form,this.dictionaries=i.default.config.endpoint.dictionary,this.reloadDictionary={},this.reloadAbort=!1,this.loadDictionaries(this.dictionaries)}return r(t,[{key:"loadDictionaries",value:function(e){var t=this;Object.keys(e).map((function(e){t.load(e)}))}},{key:"load",value:function(t){var n=this;return u.get(this.dictionaries[t].split("?")[0]+"?count="+(this.reloadDictionary[t]&&this.reloadDictionary[t].count)).then((function(r){[200===r.status,!!r.data,!!r.data.success].indexOf(!1)<0?(i.default.debug&&console.log("dictionary load ok ",t),i.default.dictionary[t]=r.data,(0,l.isEmptyObj)(n.reloadDictionary)||s.TrackJS.track({event:"Ñïðàâî÷íèê óñïåøíî çàãðóçèëñÿ ïîñëå äîçàïðîñà"}),delete n.reloadDictionary[t],e(n.form).trigger("dictionary:ready",t)):n.reload(t)})).catch((function(e){console.log(e),n.reload(t)}))}},{key:"reload",value:function(t){var n=this;this.reloadAbort||(s.TrackJS.track({event:"Ñðàáîòàë äîçàïðîñ"}),i.default.debug&&console.log("dictionary load error ",t),this.reloadDictionary[t]=this.reloadDictionary[t]||{url:this.dictionaries[t],count:0},this.reloadDictionary[t].count++<3?setTimeout((function(){n.load(t)}),3e3):(this.reloadAbort=!0,i.default.debug&&console.log("Íå óäàëîñü çàãðóçèòü âñå ñïðàâî÷íèêè"),(0,a.Loading)(a.LoadingState.ERROR),e("html, body").animate({scrollTop:e(this.form).offset().top-150},500)))}}]),t}());t.default=d}).call(this,n(1))},function(e,t,n){"use strict";var r=n(3),i=n(17),o=n(38),s=n(23);function a(e){var t=new o(e),n=i(o.prototype.request,t);return r.extend(n,o.prototype,t),r.extend(n,t),n}var l=a(n(20));l.Axios=o,l.create=function(e){return a(s(l.defaults,e))},l.Cancel=n(24),l.CancelToken=n(52),l.isCancel=n(19),l.all=function(e){return Promise.all(e)},l.spread=n(53),e.exports=l,e.exports.default=l},function(e,t,n){"use strict";var r=n(3),i=n(18),o=n(39),s=n(40),a=n(23);function l(e){this.defaults=e,this.interceptors={request:new o,response:new o}}l.prototype.request=function(e){"string"==typeof e?(e=arguments[1]||{}).url=arguments[0]:e=e||{},(e=a(this.defaults,e)).method?e.method=e.method.toLowerCase():this.defaults.method?e.method=this.defaults.method.toLowerCase():e.method="get";var t=[s,void 0],n=Promise.resolve(e);for(this.interceptors.request.forEach((function(e){t.unshift(e.fulfilled,e.rejected)})),this.interceptors.response.forEach((function(e){t.push(e.fulfilled,e.rejected)}));t.length;)n=n.then(t.shift(),t.shift());return n},l.prototype.getUri=function(e){return e=a(this.defaults,e),i(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},r.forEach(["delete","get","head","options"],(function(e){l.prototype[e]=function(t,n){return this.request(r.merge(n||{},{method:e,url:t}))}})),r.forEach(["post","put","patch"],(function(e){l.prototype[e]=function(t,n,i){return this.request(r.merge(i||{},{method:e,url:t,data:n}))}})),e.exports=l},function(e,t,n){"use strict";var r=n(3);function i(){this.handlers=[]}i.prototype.use=function(e,t){return this.handlers.push({fulfilled:e,rejected:t}),this.handlers.length-1},i.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},i.prototype.forEach=function(e){r.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=i},function(e,t,n){"use strict";var r=n(3),i=n(41),o=n(19),s=n(20);function a(e){e.cancelToken&&e.cancelToken.throwIfRequested()}e.exports=function(e){return a(e),e.headers=e.headers||{},e.data=i(e.data,e.headers,e.transformRequest),e.headers=r.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),r.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]})),(e.adapter||s.adapter)(e).then((function(t){return a(e),t.data=i(t.data,t.headers,e.transformResponse),t}),(function(t){return o(t)||(a(e),t&&t.response&&(t.response.data=i(t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},function(e,t,n){"use strict";var r=n(3);e.exports=function(e,t,n){return r.forEach(n,(function(n){e=n(e,t)})),e}},function(e,t){var n,r,i=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function s(){throw new Error("clearTimeout has not been defined")}function a(e){if(n===setTimeout)return setTimeout(e,0);if((n===o||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:o}catch(e){n=o}try{r="function"==typeof clearTimeout?clearTimeout:s}catch(e){r=s}}();var l,c=[],u=!1,d=-1;function f(){u&&l&&(u=!1,l.length?c=l.concat(c):d=-1,c.length&&h())}function h(){if(!u){var e=a(f);u=!0;for(var t=c.length;t;){for(l=c,c=[];++d<t;)l&&l[d].run();d=-1,t=c.length}l=null,u=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===s||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function p(e,t){this.fun=e,this.array=t}function m(){}i.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];c.push(new p(e,t)),1!==c.length||u||a(h)},p.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=m,i.addListener=m,i.once=m,i.off=m,i.removeListener=m,i.removeAllListeners=m,i.emit=m,i.prependListener=m,i.prependOnceListener=m,i.listeners=function(e){return[]},i.binding=function(e){throw new Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(e){throw new Error("process.chdir is not supported")},i.umask=function(){return 0}},function(e,t,n){"use strict";var r=n(3);e.exports=function(e,t){r.forEach(e,(function(n,r){r!==t&&r.toUpperCase()===t.toUpperCase()&&(e[t]=n,delete e[r])}))}},function(e,t,n){"use strict";var r=n(22);e.exports=function(e,t,n){var i=n.config.validateStatus;!i||i(n.status)?e(n):t(r("Request failed with status code "+n.status,n.config,null,n.request,n))}},function(e,t,n){"use strict";e.exports=function(e,t,n,r,i){return e.config=t,n&&(e.code=n),e.request=r,e.response=i,e.isAxiosError=!0,e.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}},e}},function(e,t,n){"use strict";var r=n(47),i=n(48);e.exports=function(e,t){return e&&!r(t)?i(e,t):t}},function(e,t,n){"use strict";e.exports=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},function(e,t,n){"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},function(e,t,n){"use strict";var r=n(3),i=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,n,o,s={};return e?(r.forEach(e.split("\n"),(function(e){if(o=e.indexOf(":"),t=r.trim(e.substr(0,o)).toLowerCase(),n=r.trim(e.substr(o+1)),t){if(s[t]&&i.indexOf(t)>=0)return;s[t]="set-cookie"===t?(s[t]?s[t]:[]).concat([n]):s[t]?s[t]+", "+n:n}})),s):s}},function(e,t,n){"use strict";var r=n(3);e.exports=r.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function i(e){var r=e;return t&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return e=i(window.location.href),function(t){var n=r.isString(t)?i(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function(){return!0}},function(e,t,n){"use strict";var r=n(3);e.exports=r.isStandardBrowserEnv()?{write:function(e,t,n,i,o,s){var a=[];a.push(e+"="+encodeURIComponent(t)),r.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),r.isString(i)&&a.push("path="+i),r.isString(o)&&a.push("domain="+o),!0===s&&a.push("secure"),document.cookie=a.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},function(e,t,n){"use strict";var r=n(24);function i(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var n=this;e((function(e){n.reason||(n.reason=new r(e),t(n.reason))}))}i.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},i.source=function(){var e;return{token:new i((function(t){e=t})),cancel:e}},e.exports=i},function(e,t,n){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=["weeks","years","months","days","hours","minutes","seconds"],i=t.pattern=new RegExp("P(?:(\\d+(?:[\\.,]\\d+)?W)|(\\d+(?:[\\.,]\\d+)?Y)?(\\d+(?:[\\.,]\\d+)?M)?(\\d+(?:[\\.,]\\d+)?D)?(?:T(\\d+(?:[\\.,]\\d+)?H)?(\\d+(?:[\\.,]\\d+)?M)?(\\d+(?:[\\.,]\\d+)?S)?)?)"),o=t.parse=function(e){return e.match(i).slice(1).reduce((function(e,t,n){return e[r[n]]=parseFloat(t)||0,e}),{})},s=t.end=function(e,t){var n=t?t.getTime():Date.now(),r=new Date(n);return r.setFullYear(r.getFullYear()+e.years),r.setMonth(r.getMonth()+e.months),r.setDate(r.getDate()+e.days),r.setHours(r.getHours()+e.hours),r.setMinutes(r.getMinutes()+e.minutes),r.setMilliseconds(r.getMilliseconds()+1e3*e.seconds),r.setDate(r.getDate()+7*e.weeks),r},a=t.toSeconds=function(e,t){var n=t?t.getTime():Date.now(),r=new Date(n);return(s(e,r).getTime()-r.getTime())/1e3};t.default={end:s,toSeconds:a,pattern:i,parse:o}},function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=d(n(0)),s=d(n(7)),a=n(5),l=d(n(57)),c=n(2),u=d(n(11));function d(e){return e&&e.__esModule?e:{default:e}}var f=new(d(n(27)).default),h=function(){function t(n){if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),this.PREFIX=o.default.config.prefix,this.$form=e(n),this.$root=e("."+this.PREFIX+"js-steps",this.$form),this.processing=!1,this._isYandexMapInit=!1,!this.$root.length)return[];this.$nav=e("."+this.PREFIX+"js-steps-nav",this.$root),this.$navStep=e("."+this.PREFIX+"js-steps-nav-step",this.$root),this.$navBullets=e("."+this.PREFIX+"js-steps-nav-bullets",this.$root),this.$navPrev=e("."+this.PREFIX+"js-steps-nav-prev",this.$root),this.$progress=e("."+this.PREFIX+"js-steps-progress-pin",this.$root),this.$steps=e("."+this.PREFIX+"js-step",this.$root),this.$phone=e('[name="mobilePhone"]',this.$form),this.vars={root:{top:this.$root.offset().top,height:this.$root.height()}},this.step=this.$root.data("steps")||1,this.$root.attr("data-steps",this.step),this.render(),this.bind(),this.rendered=!0}return i(t,[{key:"render",value:function(){o.default.debug&&console.log("Steps render"),this.renderBullets(),this.updateNav(),this.setStep(this.step,0)}},{key:"bind",value:function(){var t=this;this.$navPrev.on("click",(function(n){t.processing||(e(n.target).trigger("steps:back:success"),t.prevStep())})),this.$navPrev.on("keydown",(function(n){if(13==n.which||32==n.which){if(t.processing)return;e(n.target).trigger("steps:back:success"),t.prevStep(),n.preventDefault()}})),this.$root.on("click","."+this.PREFIX+"js-step-next",this.nextClick.bind(this)),this.$root.on("click","."+this.PREFIX+"js-step-prev",(function(n){t.processing||(e(n.target).trigger("steps:back:success"),n.preventDefault(),t.prevStep())})),o.default.W.on("resized",(function(){t.updateVars()})),o.default.W.on("scroll",(function(e){e.preventDefault()})),e('[name="'+this.$nav.data("person-src")+'"]',this.$form).on("change",(function(n){e("[data-person]",t.$nav).attr("data-person",e(n.target).val())})),this.$steps.on("step:skipped",this.stepSkipped.bind(this)),this.$steps.on("step:unskipped",this.stepUnskipped.bind(this))}},{key:"updateNavPosition",value:function(){var e=o.default.W.scrollTop(),t=window.innerHeight;if(this.vars.root.top<e&&this.vars.root.height>t){var n=this.vars.root.top+this.vars.root.height-t+200;n<e?(this.$root.removeClass("_fixed").addClass("_bottom"),this.$nav.css("top",n-this.vars.root.top)):(this.$root.addClass("_fixed").removeClass("_bottom"),this.$nav.css("top",""))}else this.$root.removeClass("_fixed _bottom"),this.$nav.css("top","");this.vars.root.top<e-45&&this.vars.root.height>t?this.$root.addClass("_fixed--short"):this.$root.removeClass("_fixed--short")}},{key:"updateVars",value:function(){this.vars.root.top=this.$root.offset().top,this.vars.root.height=this.$root.height()}},{key:"renderBullets",value:function(){var t=this;Array.from(this.$steps).forEach((function(n){e(n).hasClass("__unlisted")?t.$navBullets.append('<i class="hidden"></i>'):t.$navBullets.append("<i></i>")}))}},{key:"updateNav",value:function(){var e=this.$steps.filter(":not(.__unlisted)").length,t=this.$steps.filter(".__unlisted").map((function(e,t){return parseInt(t.dataset.step,10)})).toArray(),n=parseInt(this.step,10);t.push(n),t.sort((function(e,t){return e-t}));var r=t.indexOf(n);r&&(n-=r);var i=this.$navStep.data("pattern").split("$1").join(n).split("$2").join(e);this.$navStep.html(i),2!==this.step&&this.$navBullets.find("i").removeClass("__active").eq(this.step-1).addClass("__active")}},{key:"updateProgress",value:function(){this.$progress.css("left",this.$progress.siblings().filter('[data-step-visible="'+this.step+'"]').data("progress")-100+"%")}},{key:"setStep",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:500;this.processing=!0,this.step=e,this.scrollToTop(),this.$steps.filter(".__active").css("opacity",0),setTimeout((function(){t.$root.attr("data-steps",t.step),t.step<=t.$steps.length&&(t.$steps.filter(".__active").css("opacity",""),t.$steps.removeClass("__active"),t.$step.addClass("__active"),t.updateNav(),t.updateVars(),setTimeout((function(){t.updateProgress()}),300),t.processing=!1,6!==t.step||t._isYandexMapInit||setTimeout((function(){(new l.default).init(),t._isYandexMapInit=!0}),500)),t.step>t.$steps.length?(o.default.debug&&console.log("===========( Step "+t.step+" )==========="),t.$form.trigger("steps:end")):(o.default.debug&&console.log("===========( Step "+t.step+" )==========="),t.$step.trigger("steps:opened"))}),n)}},{key:"prevStep",value:function(){var e=this.step>1?this.step-1:1,t=this.$step.prevUntil(":not(.__skipped)").length;this.setStep(e-t)}},{key:"nextStep",value:function(t){var n=this,i=this.step<this.$steps.length+1?this.step+1:this.$steps.length+1,l=void 0,d=e(t);if(2===this.step?(this.$steps.each((function(t){t>1&&e(this).removeClass("__skipped")})),l=0):l=this.$step.nextUntil(":not(.__skipped)").length,1!==this.step){3===this.step&&s.default.get();var h=e('[name="permanentAddress"]',this.$form).val(),p=e('[name="deliveryAddress"]',this.$form);if(5===this.step&&0===p.val().length||p.val().length>0&&h===p.val()&&5===this.step)return d.attr("disabled",!0),void(0,a.suggestCityDadata)(h).done((function(e){var t=(0,c.deliveryFormatedData)(e),s=t.delivery,m=t.phone,g=t.cardType,v=u.default.parseGetCourierScheduleRequest({delivery:s,phone:m,cardType:g});(0,a.getCourierSchedule)(v).done((function(e){"SUCCESS"===u.default.parseDeliveryDateStatus(e)?(o.default.deliveryDates=u.default.parseDeliveryDates(e),p.val(h).suggestions().fixData(),p.closest("[data-position]").addClass("_valid").addClass("_filled"),f._handleGetResponse("200",e,u.default.parseDeliveryDateStatus(e),u.default.parseDeliveryDateMessage(e),u.default.parseDeliveryDates(e)),n.setStep(i+l),d.attr("disabled",!1),(0,a.trackGetCourierSchedule)(u.default.parseTrackPostFieldomData(r({url:window.location.href,request:v},e,{formVersion:o.default.formVersion,code:"200"}))).done((function(){}))):(o.default.deliveryDates=!1,n.setStep(i+l),d.attr("disabled",!1))})).fail((function(){o.default.deliveryDates=!1,n.setStep(i+l),d.attr("disabled",!1)}))})).fail((function(e){(0,a.trackDadataError)({token:o.default.snapshotToken,value:h,error:e.responseJSON}),o.default.deliveryDates=!1,n.setStep(i+l),d.attr("disabled",!1)}));o.default.deliveryDates=!1,this.setStep(i+l)}else{var m=this.$phone.val().replace(/[^\d]/g,"");(0,a.checkSendingRequest)(m).done((function(e){e.data.limitReached?(n.$form.trigger("popup:open",{name:"error",content:"Ñ ýòîãî íîìåðà òåëåôîíà çàÿâêà óæå çàðåãèñòðèðîâàíà. Åñëè âû âûáðàëè äîñòàâêó, íî ïëàíû èçìåíèëèñü, âû ìîæåòå <a id='registredChangeDelivery' href='https://www.raiffeisen.ru/promo/delivery/' target='_blank'>ïåðåíåñòè èëè îòìåíèòü âñòðå÷ó</a>. Ïî äðóãèì âîïðîñàì, ïîæàëóéñòà, ñâÿæèòåñü ñî ñïåöèàëèñòîì áàíêà: <a href='tel:88007001717'>8 800 700 17 17</a>"}),d.attr("disabled",!0)):n.setStep(i+l)})).fail((function(){n.setStep(i+l)}))}}},{key:"nextStepId",value:function(){return(this.step<this.$steps.length+1?this.step+1:this.$steps.length+1)+this.$step.nextUntil(":not(.__skipped)").length}},{key:"nextClick",value:function(t){var n=this;if(!this.processing){var r=e(t.target);new Promise((function(e,t){var i=n.$step[0];r.trigger("steps:next:click",{step:i,resolve:e,reject:t}).filter(':not([type="submit"])').attr("disabled",!0)})).then((function(){o.default.debug&&console.log("next success"),r.trigger("steps:next:success").filter(':not([type="submit"])').attr("disabled",!1),n.nextStep(t.target)}),(function(){o.default.debug&&console.log("next fail"),r.trigger("steps:next:fail").filter(':not([type="submit"])').attr("disabled",!1),n.processing=!1}))}}},{key:"scrollToTop",value:function(t){this.rendered&&e("html, body").animate({scrollTop:this.$root.offset().top},t||500)}},{key:"stepSkipped",value:function(t){e(t.target).addClass("__skipped")}},{key:"stepUnskipped",value:function(t){e(t.target).removeClass("__skipped")}},{key:"$step",get:function(){return this.$steps.filter('[data-step="'+this.step+'"]')}}]),t}();t.default=h}).call(this,n(1))},function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0});var r,i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=n(0),s=(r=o)&&r.__esModule?r:{default:r};var a=function(){function t(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),this.PREFIX=s.default.config.prefix,this.form=s.default.form,this.$deliveryTogglers=e('[name="deliveryType"]',this.form),this.$showBtn=e("."+this.PREFIX+"form-control--show-btn",this.form)}return i(t,[{key:"enable",value:function(e){this.$deliveryTogglers.filter('[value="'+e+'"]').eq(0).closest("."+s.default.config.prefix+"js-form-control").removeClass("_disabled hidden")}},{key:"disable",value:function(e){var t=this.$deliveryTogglers.filter('[value="'+e+'"]').eq(0);t.is(":checked")&&this.$deliveryTogglers.filter(':not([value="'+e+'"])').eq(0).prop("checked",!0).trigger("change:silent"),t.closest("."+s.default.config.prefix+"js-form-control").addClass("_disabled hidden"),this.$showBtn.addClass("hidden")}}]),t}();t.default=a}).call(this,n(1))},function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=c(n(58)),o=c(n(0)),s=n(9),a=c(n(59)),l=n(60);function c(e){return e&&e.__esModule?e:{default:e}}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var d="https://geocode-maps.yandex.ru/1.x/?apikey="+o.default.config.yandexMapKey+"&format=json&geocode=",f=0,h=1,p=function(){function t(){u(this,t),this._mapContainer=o.default.config.prefix+"form-map",this._tabMapItem=document.querySelector("."+o.default.config.prefix+"form-tab__item--map"),this._isBranchChecked=document.querySelector("."+o.default.config.prefix+'form-control__field[value="branch"]').checked,this._branchItem=document.querySelector("."+o.default.config.prefix+'form-control__field[value="branch"]'),this._branchAddressContainer=document.querySelectorAll("."+o.default.config.prefix+"branch"),this._defaultZoom=4,this._yandexMapConfig={center:[55.72920320483546,50.666038312500014],zoom:this._defaultZoom,controls:[],suppressMapOpenBlock:!0,hasBalloon:!1,hasHint:!1},this._clustererConfig={preset:"islands#invertedVioletClusterIcons",groupByCoordinates:!1,clusterDisableClickZoom:!0,clusterHideIconOnBalloonOpen:!1,geoObjectHideIconOnBalloonOpen:!1},this._iconShape={type:"Circle",coordinates:[0,0],radius:25},this._zoomControl={options:{float:"right",position:{bottom:"30px",right:"5px"}}},this._getPointOptions={iconLayout:"default#image",iconImageHref:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEgAAABgCAYAAAC+EjQcAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAhjSURBVHgB7ZxNbFRVFMf/9xVFhWpRI9IWmdJE0QUfCS5kwxSjW9pEdyUWV5RNSyKyIWmbsFFZgAvKSkro0oR2CwnUjSxqQstGNGkY7AeWSGhSQGk68zznzryZNzPve+6dT37JZL7evI//nHPuvefc+wTKiHkPLXgFeyGwByY9m/Re0DN/ZyJWsPkKPRJCpJ9puxnafhb/YUZ0yM/KgoBmzAeIp1KIGwYOkghxqGGGTnyKzn5SbKNnjWgRiC0l9TIG6d8foLct0EuChL9srGGMLCsBxSgViKwlRk9DdMJ9qAB03DESakSlUEoEkhbzEoaFIS2m4qgUqmSBkkvkSmQ10O9KYeEAP0wx6jJKILJAGXe6pDDw6mJCPMeJqNYUSSBzAXtNA1fpZQy1QUKk0CPaqasQEgMhWV9AH4lzE7UjDhOjc75Nf+xXCEkogZKLGKb+zCVUX7wJBIk0xtcQ5jeBXYx3TEFvCHWAmcKJpnacC7JtIIHYrTKWUzdQTOqjmOTbwvkKxK0VtVS3UaNu5YqJFWGiyy9we8agjDgckOtLHEaghVtiOYD2wC9Ic8yJoX6JmRu9Q4erQCY35xUaU5WZbvMvdLt96RiDbK4VQyPA8WgNHU55JkcLSiUxiEYRhxEykTfg/FUBGeu5hwaExmwdhWM2Jwuqi85gFCjJV3TteRbUyNZjQVa0xR6LCi2oYa0nS0EsyrOg1JK0nhgUMT3bjBu3WvDH3Kto3bqGQwdW5KPUfU5efwtLyy/jg85/0dvzEG1bn0MZ1KIZbdhivc0KZC5Sf0DIHI8Srlzdiu8vthd9zgJ9e2wh9EUtLm/E6bM78Nud5qLvjh95gP7eJahCJGkIsj1dLcm5mIHDUISbOMyNX1vw9cn35QUHZfXpBgyOdDqKw1y4so2O+Q5UkTJyeaOsQBScu6EAvvBROmEv2D3CiMTb3iU39WJ0vDWU6F6QW2W1kAJxcQ+KBqQszurTJt/tgop0+mzMVxxm9UmT7x8TGB7Izqdz7ZYFHYQC+GI5gAbFTyQWJ8z+eNsgf04gNqQ1sQSKQwHTs5sRFjeRLlxpDSWOxcS18L9xwqrWGJk3e6EADqJRmlwW6eatN7LvWazxCEG3edM6dSlegxIymhhcwoHChNhPP/yJ3u5lx+9aSbz9u1eLPj/82T/0m4fZ9yzyqf75ou34c97Wid6eZfw8+ru6YjrHoSXsMOhFDIo4801CdghP9S/QhTxy3ObHoTns2vks77PpO68XxY7Fv/NdjsVh8Xn/hbBop6hvJY99bB7KEIgb5GR7oAEWy8lamjcnZQ/YjhWHLJE4/oyO57dI+3c/cRTn0CeP6Vj3c/vflIRCYhyDYtCEk7W4cZdix8Bwp6M4buzqfIYzJ+9DF6mUZoHYWtgtWCQOoGxVXkxTkPcTp/vzR9LdLJdTbDF5UB2wZYNp6q1YsEjnh+fkaycXCQvvg4WR+9YoToaYwSpBM3xRdnHYNcLSvHnddX8aaTF0W5ATnKIIM/pmd+IRe9khbTgGVaQoyBfs1MoVUo5Y44pIC1QRuLVyS1/YMeksTf2TcV2piECT198O3JSHTY2ohgUq26RshhNmnBkMQyVFMjIz2csCdwY5hREFFmlwZKe6dEYwEgY5eOh5e1FgcezDCSe4M+mVDQiyD8Uk2MUS0Ay7xgDllP3E4daKH34iRbXCsFDTMMOD1QQ0wuLwv84u4oYlzi4axFo9ZS+R0nEsBu0IFmgdv0ATYcWxCCISZxu/u7gdWkliVnYwqGD4GIo7jFHFscO//aL/I0/XVF0Ts5EwWtEh+0HUkk1AIVYdqxRxGMuSvHrRXBPjko9qaAg2xc/pjuJ6aesZ7LA4fnWsIOJY8MD2/NCc5zY6RDKa0kZjCcRNvZL+0MS1N5WJY/HxnlXfXBKLFKUK4gjPOHsXk/wy7WId9AEwBgUcoZG6WxYxijgWnOP2E2lcUfnZRC7k5MZiybRiKrCyiHZKEceCRXILyNzi+bliUAwT563XhdNfeOJmHArgUvCXxz+UrZkKcewUxhyvikcEZqj12me9yRvNCyPY+oUg2PPRKsVh7E27YnG4Rc/ToCjRonoSlU54ysunB1ZUpl9l38f+QfEs1/R6sLpauBIUsp6+wiWcjqm6WrIihRRZD+OYURQpjKDB4AXAjp+7/UBli1YDOFoP45qTFsnGsSJhyqUXjrgLlJ7lOYU6h29CINrcO8me9ZS6XW1ow2l9hh3Psg81eYnCjlM9Qa41LHxuOBCoIkcBm61IyTS9KsI1MNsJVDikgH0CdQa5VleQ7YIJRAGbTK1uXC2Ia2W3RUB4dbC5UbpaDLVNINeyCFybl0m1FHpQ4wR1LYtQkxd4ET7f1gE1ShjXyv4GEajRYcgUuVYo62EiTX+hvtFRlKFkrZAEudZRRCD6HajmETebpCVVPfSHxqnTG6mCHHkClWz6zXD34qkEMu5si15eL3luW5XHowmKOyW1vCVPwSPf5hNIoPrguFNyi6tkdmQVjvpXSJx9QsF9FJVM4pSj/irqH4l1HBWK7sapbJYrdSLHqiFoy6D8nrrZKsonICcXSSgR/nZ8KiArPkd/lFJL1jJDuyL5I5NKxm25krEqtEwkzwwIEygfCbGmZyCtRyAe+YuyicTNeZfo0HMsrYsgMvd81XkXPU7BdEW5R2tQtK7V4BOndK22HJJsztv1ToTXvphFjtlS0UbSnvsFBlU2526UZbWP6j6S7Ou05maB6aSsC7HMRQyZojShpDht5SuLl32lWikilVsceUxUgCgiVUIceVxUiDAiVUoceWxUkCDjNpGefaG8FawZWCQau5lOD7KyhpwrWQS7m4M4L+7paMcu0gtxXJCBu8rE+R/5L4pACeZI/QAAAABJRU5ErkJggg==",iconImageSize:[36,48],iconImageOffset:[-1,-50]},this._coords=[],this._branchesAddresses=[],this._branches=o.default.dictionary.branch.data[0],this._deliveryBranches=o.default.dictionary.branch_delivery.data.dictionary.records,this._isRerender=!0,this._mapBranch=null,this._zoomControlTemplate=l.zoomControlTemplate,this._isChangeFromBaloon=!1}return r(t,[{key:"_getCityID",value:function(){return document.querySelector('select[name="city_branch"]').value}},{key:"_getCoords",value:function(t,n){var r=this,i=t.address,o=t.id,s=t.code,a=this._branches.filter((function(e){return parseInt(e.code,10)===parseInt(s,10)}));if(a&&a[0].latitude&&a[0].longitude){if(this._coords.push({coords:[parseFloat(a[0].latitude),parseFloat(a[0].longitude)],id:o}),this._coords.length===this._branchesAddresses.length)return n()}else e.ajax({url:""+d+encodeURIComponent(i),dataType:"json",type:"GET",success:function(e){var t=e.response.GeoObjectCollection.featureMember[0].GeoObject.Point.pos;if(r._coords.push({coords:[parseFloat(t.split(" ")[1]),parseFloat(t.split(" ")[0])],id:o}),r._coords.length===r._branchesAddresses.length)return n()},error:function(e){throw e}})}},{key:"_handlePickBaloon",value:function(t){this._isChangeFromBaloon=!0;var n=e('select[name="branch"]'),r=e('select[name="city_branch"]'),i=t.relations.default.keys[0][0],o=this._formattedTimeElements(t.data.code);this._renderAddress(t.data.address,o),n.val(""+t.key).trigger("change"),""!==r.val()&&r.val()===i||(this._isRerender=!1,r.val(""+i).trigger("change"),this._isRerender=!0),this._isChangeFromBaloon=!1}},{key:"_formattedTimeElements",value:function(e){return"Âðåìÿ ðàáîòû: "+this._branches.find((function(t){return parseInt(t.code,10)===parseInt(e,10)})).work_hours}},{key:"_setDefaultZoom",value:function(e){switch(!0){case e>=133:this._defaultZoom=4;break;default:this._defaultZoom=10}}},{key:"_filteredAddresses",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(){};setTimeout((function(){switch(e._branchesAddresses=e._deliveryBranches.filter((function(t){return t.relations.default.keys[0][0]===e._getCityID()})),e._branchesAddresses.length){case f:e._branchesAddresses=e._deliveryBranches;break;case h:e._handlePickBaloon(e._branchesAddresses[0])}e._branchesAddresses.forEach((function(n){return e._getCoords({address:n.data.address,id:n.key,code:n.data.code},t)}))}),1e3)}},{key:"_renderAddress",value:function(t,n){var r=this;this._unrenderAddress(),e(this._branchAddressContainer).each((function(e){r._mapBranch=new a.default(t,n),(0,s.render)(r._branchAddressContainer[e],r._mapBranch.getElement())}))}},{key:"_unrenderAddress",value:function(){var t=this;this._mapBranch&&((0,s.unrender)(this._mapBranch.removeElement()),this._isChangeFromBaloon&&e('select[name="branch"]').val("").trigger("change"),o.default.yandexMapState.isBranchPick=!1),e(this._branchAddressContainer).each((function(e){t._branchAddressContainer[e].innerHTML=""}))}},{key:"_yMapLoad",value:function(){var t=this;this._filteredAddresses((function(){i.default.load("https://api-maps.yandex.ru/2.1/?lang=ru_RU").then((function(n){var i=t._iconShape,s=i.type,a=i.coordinates,l=i.radius,c=new(function(){function e(){u(this,e)}return r(e,[{key:"createCluster",value:function(){return n.templateLayoutFactory.createClass('<div class="'+o.default.config.prefix+'form-map__cluster">{{ properties.geoObjects.length }}</div>')}},{key:"createIconShape",value:function(){return{type:s,coordinates:a,radius:l}}}]),e}()),d=t._yandexMapConfig,f=d.center,h=d.zoom,p=d.controls,m=d.suppressMapOpenBlock,g=d.hasBalloon,v=d.hasHint,y=t._zoomControl.options,_=t._clustererConfig,b=_.preset,w=_.groupByCoordinates,x=_.clusterDisableClickZoom,C=_.clusterHideIconOnBalloonOpen,k=_.geoObjectHideIconOnBalloonOpen,S=t._getPointOptions,D=S.iconLayout,E=S.iconImageHref,T=S.iconImageSize,O=S.iconImageOffset,M=new n.Map(t._mapContainer,{center:f,zoom:h,controls:p},{suppressMapOpenBlock:m,hasBalloon:g,hasHint:v}),j=n.templateLayoutFactory.createClass(t._zoomControlTemplate,{build:function(){j.superclass.build.call(this),this.zoomInCallback=n.util.bind(this.zoomIn,this),this.zoomOutCallback=n.util.bind(this.zoomOut,this),e("#"+o.default.config.prefix+"zoom-in").bind("click",this.zoomInCallback),e("#"+o.default.config.prefix+"zoom-out").bind("click",this.zoomOutCallback)},clear:function(){e("#"+o.default.config.prefix+"zoom-in").unbind("click",this.zoomInCallback),e("#"+o.default.config.prefix+"zoom-out").unbind("click",this.zoomOutCallback),j.superclass.clear.call(this)},zoomIn:function(){var e=this.getData().control.getMap();e.setZoom(e.getZoom()+1,{checkZoomRange:!0})},zoomOut:function(){var e=this.getData().control.getMap();e.setZoom(e.getZoom()-1,{checkZoomRange:!0})}});y.layout=j,M.controls.add(new n.control.ZoomControl({options:y}));var A=new n.Clusterer({preset:b,groupByCoordinates:w,clusterDisableClickZoom:x,clusterHideIconOnBalloonOpen:C,geoObjectHideIconOnBalloonOpen:k,clusterIconLayout:c.createCluster(),clusterIconShape:c.createIconShape()}),P=[],L=function(){t._coords.forEach((function(e,r){var i=e.coords,o=e.id;"9999"===o&&(i=[56.321685,44.045053]),P[r]=new n.Placemark(i,{},{iconLayout:D,iconImageHref:E,iconImageSize:T,iconImageOffset:O});var s=t._branchesAddresses.find((function(e){return e.key===o}));return P[r].events.add("click",(function(){return t._handlePickBaloon(s)})),P[r]}))};t._setDefaultZoom(t._coords.length),L(),A.options.set({clusterDisableClickZoom:!1}),A.add(P),M.geoObjects.add(A),M.setBounds(A.getBounds(),{checkZoomRange:!0}),e('select[name="city_branch"]').on("change.select2",(function(){if(t._isRerender){t._coords=[],t._unrenderAddress();t._filteredAddresses((function(){A.removeAll(),P=[],L(),A.add(P),M.setBounds(A.getBounds(),{checkZoomRange:!0})}))}})),e('select[name="branch"]').on("change",(function(n){if(!t._isChangeFromBaloon){var r=e(n.target).val(),i=o.default.dictionary.branch_delivery.data.dictionary.records.filter((function(e){return e.key===r})),s=i[0].data.address,a=i[0].data.code,l=t._formattedTimeElements(a);t._renderAddress(s,l)}})),t._isBranchChecked?M.setZoom(t._defaultZoom):t._branchItem.addEventListener("change",(function(){return M.setZoom(t._defaultZoom)})),t._tabMapItem.addEventListener("click",(function(){return M.setZoom(t._defaultZoom)}))}))}))}},{key:"init",value:function(){this._yMapLoad()}}]),t}();t.default=p}).call(this,n(1))},function(e,t,n){"use strict";n.r(t);var r={load:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"//api-maps.yandex.ru/2.1/?lang=en_RU",t=function(){var t=e.match(/[\\?&]ns=([^&#]*)/);return null===t?"":decodeURIComponent(t[1].replace(/\+/g," "))};return this.promise||(this.promise=new Promise((function(t,n){var r=document.createElement("script");r.onload=t,r.onerror=n,r.type="text/javascript",r.src=e,document.body.appendChild(r)})).then((function(){var e=t();return e&&"ymaps"!==e&&(0,eval)("var ymaps = ".concat(e,";")),new Promise((function(e){return ymaps.ready(e)}))}))),this.promise}};t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=n(4);function s(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}var l=function(e){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;s(this,t);var r=a(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return r._address=e,r._time=n,r}return function(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)}(t,e),i(t,[{key:"getTemplate",value:function(){return"<div>\n "+(this._address?'<div class="prefix-branch__address">'+this._address+"</div>":"")+"\n "+(this._time?'<div class="prefix-branch__time" style="font-family:\'ALS Hauss Mac\'">'+this._time+"</div>":"")+"\n </div>"}}]),t}(((r=o)&&r.__esModule?r:{default:r}).default);t.default=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.zoomControlTemplate=void 0;var r,i=n(0),o=(r=i)&&r.__esModule?r:{default:r};var s='<div class="'+o.default.config.prefix+'form-map__navigation">\n <button class="'+o.default.config.prefix+'form-map__navigation-btn" type="button" id="'+o.default.config.prefix+'zoom-in">\n <svg width="12" height="12" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg">\n <path fill-rule="evenodd" clip-rule="evenodd" d="M7 1C7 0.447715 6.55228 0 6 0C5.44772 0 5 0.447715 5 1V5H1C0.447715 5 0 5.44772 0 6C0 6.55228 0.447715 7 1 7H5V11C5 11.5523 5.44771 12 6 12C6.55228 12 7 11.5523 7 11V7H11C11.5523 7 12 6.55228 12 6C12 5.44772 11.5523 5 11 5H7V1Z" fill="#707070"/>\n </svg>\n </button>\n <button class="'+o.default.config.prefix+'form-map__navigation-btn" type="button" id="'+o.default.config.prefix+'zoom-out">\n <svg width="12" height="2" viewBox="0 0 12 2" fill="none" xmlns="http://www.w3.org/2000/svg">\n <rect width="12" height="2" rx="1" fill="#707070"/>\n </svg>\n </button>\n </div>';t.zoomControlTemplate=s},function(e,t){e.exports=function(e){if(navigator.clipboard)return navigator.clipboard.writeText(e).catch((function(e){throw void 0!==e?e:new DOMException("The request is not allowed","NotAllowedError")}));var t=document.createElement("span");t.textContent=e,t.style.whiteSpace="pre",document.body.appendChild(t);var n=window.getSelection(),r=window.document.createRange();n.removeAllRanges(),r.selectNode(t),n.addRange(r);var i=!1;try{i=window.document.execCommand("copy")}catch(e){console.log("error",e)}return n.removeAllRanges(),window.document.body.removeChild(t),i?Promise.resolve():Promise.reject(new DOMException("The request is not allowed","NotAllowedError"))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.quizRadioBatonContent=void 0;var r=i(n(0));i(n(11));function i(e){return e&&e.__esModule?e:{default:e}}var o=[{label:"äî 5 000 ₽",value:"do 5 000",dayLabel:"",name:r.default.config.prefix+"radio-month-sum",isChecked:!1},{label:"îò 5 000 ₽ äî 25 000 ₽",value:"ot 5 000 do 25 000",dayLabel:"",name:r.default.config.prefix+"radio-month-sum",isChecked:!1},{label:"îò 25 000 ₽ äî 100 000 ₽",value:"ot 25 000 do 100 000",dayLabel:"",name:r.default.config.prefix+"radio-month-sum",isChecked:!1},{label:"áîëüøå 100 000 ₽",value:"bolshe 100 000",dayLabel:"",name:r.default.config.prefix+"radio-month-sum",isChecked:!1}];t.quizRadioBatonContent=o},function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=o(n(0));function o(e){return e&&e.__esModule?e:{default:e}}var s=function(t){function n(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n);var t=function(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}(this,(n.__proto__||Object.getPrototypeOf(n)).call(this));return t._prefix=i.default.config.prefix,t._isWebApp=!i.default.props.hideMobileAppPromo,t._isFiledomOK=i.default.fieldOM&&"error"!==i.default.fieldOM.fieldom,t._img=i.default.mobile?"https://www.raiffeisen.ru/promo/form/img/Phone%201.png":"https://www.raiffeisen.ru/promo/form/img/Phone%202.png",t._deliveryType=e('[name="deliveryType"]:checked').val(),t}return function(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)}(n,t),r(n,[{key:"_renderAppBlock",value:function(){return'<div class="'+this._prefix+'thx-page__app">\n <div class="'+this._prefix+'thx-page__app-container">\n <div class="'+this._prefix+'thx-page__title-block">\n <div class="'+this._prefix+'thx-page__title">Óñòàíîâèòå ïðèëîæåíèå ñåé÷àñ</div>\n <div class="'+this._prefix+'thx-page__sub-title">Îòñëåæèâàéòå íà÷èñëåíèå êýøáýêà ïî êàðòå è ïîëüçóéòåñü óñëóãàìè áàíêà îíëàéí</div>\n </div>\n <div class="'+this._prefix+'thx-page__app-wrap">\n <div class="'+this._prefix+'thx-page__qr-wrap">\n <svg class="'+this._prefix+'thx-page__qr-icon" width="80" height="80">\n <use xlink:href="#sym-qr_thx-page"></use>\n </svg>\n <div class="'+this._prefix+'thx-page__qr-text">Íàâåäèòå êàìåðó ñìàðòôîíà íà QR-êîä è ïåðåéäèòå ïî ññûëêå äëÿ óñòàíîâêè ïðèëîæåíèÿ</div>\n </div>\n <ul class="'+this._prefix+'thx-page__app-list">\n <li class="'+this._prefix+'thx-page__app-item">\n <a class="'+this._prefix+'thx-page__app-link" target="_blank" href="https://apps.apple.com/ru/app/%D1%80%D0%B0%D0%B9%D1%84%D1%84%D0%B0%D0%B9%D0%B7%D0%B5%D0%BD-%D0%BE%D0%BD%D0%BB%D0%B0%D0%B9%D0%BD-%D0%B1%D0%B0%D0%BD%D0%BA-%D1%80%D0%BE%D1%81%D1%81%D0%B8%D1%8F/id557857165">\n <svg class="'+this._prefix+'thx-page__app-icon" width="147" height="48">\n <use xlink:href="#sym-apple-store"></use>\n </svg>\n </a>\n </li>\n <li class="'+this._prefix+'thx-page__app-item">\n <a class="'+this._prefix+'thx-page__app-link" target="_blank" href="https://play.google.com/store/apps/details?id=ru.raiffeisennews&hl=ru">\n <svg class="'+this._prefix+'thx-page__app-icon" width="147" height="48" viewBox="0 0 147 48" fill="none" xmlns="http://www.w3.org/2000/svg">\n <rect x="0.427734" width="146.286" height="48" rx="8" fill="white"/>\n <mask id="path-2-inside-1" fill="white">\n <path d="M73.6458 25.3038C71.4595 25.3038 69.6911 26.9435 69.6911 29.2264C69.6911 31.477 71.4595 33.1489 73.6458 33.1489C75.8322 33.1489 77.6006 31.477 77.6006 29.2264C77.6006 26.9435 75.8322 25.3038 73.6458 25.3038ZM73.6458 31.6056C72.4562 31.6056 71.4273 30.6089 71.4273 29.2264C71.4273 27.8117 72.4562 26.8471 73.6458 26.8471C74.8355 26.8471 75.8643 27.8117 75.8643 29.2264C75.8643 30.6411 74.8355 31.6056 73.6458 31.6056ZM65.029 25.3038C62.8426 25.3038 61.0742 26.9435 61.0742 29.2264C61.0742 31.477 62.8426 33.1489 65.029 33.1489C67.2153 33.1489 68.9837 31.477 68.9837 29.2264C68.9837 26.9435 67.2153 25.3038 65.029 25.3038ZM65.029 31.6056C63.8393 31.6056 62.8105 30.6089 62.8105 29.2264C62.8105 27.8117 63.8393 26.8471 65.029 26.8471C66.2186 26.8471 67.2475 27.8117 67.2475 29.2264C67.2475 30.6411 66.2186 31.6056 65.029 31.6056ZM54.7724 26.4934V28.1653H58.7593C58.6307 29.0977 58.3413 29.8051 57.859 30.2552C57.2803 30.8661 56.38 31.5092 54.7724 31.5092C52.3288 31.5092 50.3997 29.5157 50.3997 27.0721C50.3997 24.6286 52.3288 22.6351 54.7724 22.6351C56.0906 22.6351 57.0552 23.1496 57.7947 23.8248L58.9843 22.6351C57.9876 21.6705 56.6694 20.9632 54.8045 20.9632C51.4285 20.9632 48.5991 23.6961 48.5991 27.0721C48.5991 30.4481 51.4285 33.1811 54.8045 33.1811C56.6372 33.1811 57.9876 32.5702 59.0808 31.477C60.174 30.3838 60.5277 28.8405 60.5277 27.5866C60.5277 27.2008 60.4955 26.8471 60.4312 26.5577H54.7724V26.4934ZM96.6991 27.8117C96.3776 26.9435 95.3808 25.3038 93.3231 25.3038C91.2975 25.3038 89.6256 26.9114 89.6256 29.2264C89.6256 31.4449 91.2975 33.1489 93.516 33.1489C95.3165 33.1489 96.3776 32.0558 96.7955 31.4127L95.4451 30.5125C94.995 31.1555 94.3841 31.6056 93.516 31.6056C92.6479 31.6056 92.0048 31.1877 91.619 30.416L96.892 28.2296L96.6991 27.8117ZM91.3296 29.0977C91.2975 27.5866 92.5193 26.8149 93.3874 26.8149C94.0626 26.8149 94.6413 27.1686 94.8342 27.6509L91.3296 29.0977ZM87.0534 32.9239H88.7896V21.349H87.0534V32.9239ZM84.224 26.1719H84.1597C83.7738 25.7217 83.0343 25.3038 82.1019 25.3038C80.1406 25.3038 78.3401 27.04 78.3401 29.2585C78.3401 31.477 80.1406 33.1811 82.1019 33.1811C83.0343 33.1811 83.7738 32.7631 84.1597 32.2808H84.224V32.8596C84.224 34.3707 83.4202 35.1746 82.1341 35.1746C81.073 35.1746 80.43 34.4029 80.1406 33.7598L78.6294 34.3707C79.0474 35.3996 80.2049 36.6857 82.1019 36.6857C84.1275 36.6857 85.8316 35.4961 85.8316 32.6024V25.5288H84.1918V26.1719H84.224ZM82.2305 31.6056C81.0409 31.6056 80.0442 30.6089 80.0442 29.2264C80.0442 27.8438 81.0409 26.8149 82.2305 26.8149C83.4201 26.8149 84.3204 27.8438 84.3204 29.2264C84.3204 30.6089 83.4201 31.6056 82.2305 31.6056ZM104.801 21.349H100.654V32.9239H102.39V28.5512H104.801C106.731 28.5512 108.595 27.1686 108.595 24.9501C108.595 22.7637 106.698 21.349 104.801 21.349ZM104.834 26.9435H102.39V22.9888H104.834C106.12 22.9888 106.859 24.0498 106.859 24.9822C106.859 25.8504 106.12 26.9435 104.834 26.9435ZM115.508 25.2716C114.254 25.2716 112.968 25.8182 112.422 27.04L113.965 27.683C114.286 27.04 114.897 26.8471 115.54 26.8471C116.441 26.8471 117.341 27.3937 117.341 28.3261V28.4547C117.019 28.2618 116.344 28.0046 115.54 28.0046C113.901 28.0046 112.197 28.9048 112.197 30.6089C112.197 32.1522 113.547 33.1489 115.058 33.1489C116.216 33.1489 116.859 32.6345 117.244 32.0236H117.309V32.9239H118.981V28.4869C119.013 26.4291 117.47 25.2716 115.508 25.2716ZM115.283 31.6056C114.704 31.6056 113.933 31.3163 113.933 30.6089C113.933 29.7086 114.929 29.3871 115.765 29.3871C116.537 29.3871 116.891 29.5479 117.341 29.7729C117.212 30.8661 116.28 31.6056 115.283 31.6056ZM125.09 25.5288L123.096 30.5446H123.032L120.974 25.5288H119.109L122.196 32.5381L120.428 36.4285H122.228L126.987 25.5288H125.09ZM109.528 32.9239H111.264V21.349H109.528V32.9239Z"/>\n </mask>\n <path d="M73.6458 25.3038C71.4595 25.3038 69.6911 26.9435 69.6911 29.2264C69.6911 31.477 71.4595 33.1489 73.6458 33.1489C75.8322 33.1489 77.6006 31.477 77.6006 29.2264C77.6006 26.9435 75.8322 25.3038 73.6458 25.3038ZM73.6458 31.6056C72.4562 31.6056 71.4273 30.6089 71.4273 29.2264C71.4273 27.8117 72.4562 26.8471 73.6458 26.8471C74.8355 26.8471 75.8643 27.8117 75.8643 29.2264C75.8643 30.6411 74.8355 31.6056 73.6458 31.6056ZM65.029 25.3038C62.8426 25.3038 61.0742 26.9435 61.0742 29.2264C61.0742 31.477 62.8426 33.1489 65.029 33.1489C67.2153 33.1489 68.9837 31.477 68.9837 29.2264C68.9837 26.9435 67.2153 25.3038 65.029 25.3038ZM65.029 31.6056C63.8393 31.6056 62.8105 30.6089 62.8105 29.2264C62.8105 27.8117 63.8393 26.8471 65.029 26.8471C66.2186 26.8471 67.2475 27.8117 67.2475 29.2264C67.2475 30.6411 66.2186 31.6056 65.029 31.6056ZM54.7724 26.4934V28.1653H58.7593C58.6307 29.0977 58.3413 29.8051 57.859 30.2552C57.2803 30.8661 56.38 31.5092 54.7724 31.5092C52.3288 31.5092 50.3997 29.5157 50.3997 27.0721C50.3997 24.6286 52.3288 22.6351 54.7724 22.6351C56.0906 22.6351 57.0552 23.1496 57.7947 23.8248L58.9843 22.6351C57.9876 21.6705 56.6694 20.9632 54.8045 20.9632C51.4285 20.9632 48.5991 23.6961 48.5991 27.0721C48.5991 30.4481 51.4285 33.1811 54.8045 33.1811C56.6372 33.1811 57.9876 32.5702 59.0808 31.477C60.174 30.3838 60.5277 28.8405 60.5277 27.5866C60.5277 27.2008 60.4955 26.8471 60.4312 26.5577H54.7724V26.4934ZM96.6991 27.8117C96.3776 26.9435 95.3808 25.3038 93.3231 25.3038C91.2975 25.3038 89.6256 26.9114 89.6256 29.2264C89.6256 31.4449 91.2975 33.1489 93.516 33.1489C95.3165 33.1489 96.3776 32.0558 96.7955 31.4127L95.4451 30.5125C94.995 31.1555 94.3841 31.6056 93.516 31.6056C92.6479 31.6056 92.0048 31.1877 91.619 30.416L96.892 28.2296L96.6991 27.8117ZM91.3296 29.0977C91.2975 27.5866 92.5193 26.8149 93.3874 26.8149C94.0626 26.8149 94.6413 27.1686 94.8342 27.6509L91.3296 29.0977ZM87.0534 32.9239H88.7896V21.349H87.0534V32.9239ZM84.224 26.1719H84.1597C83.7738 25.7217 83.0343 25.3038 82.1019 25.3038C80.1406 25.3038 78.3401 27.04 78.3401 29.2585C78.3401 31.477 80.1406 33.1811 82.1019 33.1811C83.0343 33.1811 83.7738 32.7631 84.1597 32.2808H84.224V32.8596C84.224 34.3707 83.4202 35.1746 82.1341 35.1746C81.073 35.1746 80.43 34.4029 80.1406 33.7598L78.6294 34.3707C79.0474 35.3996 80.2049 36.6857 82.1019 36.6857C84.1275 36.6857 85.8316 35.4961 85.8316 32.6024V25.5288H84.1918V26.1719H84.224ZM82.2305 31.6056C81.0409 31.6056 80.0442 30.6089 80.0442 29.2264C80.0442 27.8438 81.0409 26.8149 82.2305 26.8149C83.4201 26.8149 84.3204 27.8438 84.3204 29.2264C84.3204 30.6089 83.4201 31.6056 82.2305 31.6056ZM104.801 21.349H100.654V32.9239H102.39V28.5512H104.801C106.731 28.5512 108.595 27.1686 108.595 24.9501C108.595 22.7637 106.698 21.349 104.801 21.349ZM104.834 26.9435H102.39V22.9888H104.834C106.12 22.9888 106.859 24.0498 106.859 24.9822C106.859 25.8504 106.12 26.9435 104.834 26.9435ZM115.508 25.2716C114.254 25.2716 112.968 25.8182 112.422 27.04L113.965 27.683C114.286 27.04 114.897 26.8471 115.54 26.8471C116.441 26.8471 117.341 27.3937 117.341 28.3261V28.4547C117.019 28.2618 116.344 28.0046 115.54 28.0046C113.901 28.0046 112.197 28.9048 112.197 30.6089C112.197 32.1522 113.547 33.1489 115.058 33.1489C116.216 33.1489 116.859 32.6345 117.244 32.0236H117.309V32.9239H118.981V28.4869C119.013 26.4291 117.47 25.2716 115.508 25.2716ZM115.283 31.6056C114.704 31.6056 113.933 31.3163 113.933 30.6089C113.933 29.7086 114.929 29.3871 115.765 29.3871C116.537 29.3871 116.891 29.5479 117.341 29.7729C117.212 30.8661 116.28 31.6056 115.283 31.6056ZM125.09 25.5288L123.096 30.5446H123.032L120.974 25.5288H119.109L122.196 32.5381L120.428 36.4285H122.228L126.987 25.5288H125.09ZM109.528 32.9239H111.264V21.349H109.528V32.9239Z" fill="#2B2D33" stroke="#2B2D33" stroke-width="2" mask="url(#path-2-inside-1)"/>\n <path d="M49.5663 18.3901H48.8911V16.5252H49.4377C49.92 16.1072 50.1451 15.3999 50.1451 14.4032V11.6702H53.8426V16.5252H54.4535V18.3901H53.7783V17.2004H49.5663V18.3901ZM50.8524 14.4032C50.8524 15.2713 50.6916 15.9786 50.338 16.5252H53.1352V12.3454H50.8524V14.4032Z" fill="#2B2D33"/>\n <path d="M60.0158 16.4939C59.4692 17.0405 58.794 17.3298 57.9902 17.3298C57.1864 17.3298 56.5112 17.0405 55.9646 16.4939C55.418 15.9473 55.1608 15.2399 55.1608 14.4361C55.1608 13.6323 55.418 12.925 55.9646 12.3784C56.5112 11.8318 57.1864 11.5424 57.9902 11.5424C58.794 11.5424 59.4692 11.8318 60.0158 12.3784C60.5624 12.9571 60.8518 13.6323 60.8518 14.4361C60.8518 15.2399 60.5624 15.9151 60.0158 16.4939ZM56.479 16.0116C56.897 16.4296 57.3793 16.6225 57.9902 16.6225C58.5689 16.6225 59.0834 16.4296 59.5014 16.0116C59.9193 15.5936 60.1123 15.0792 60.1123 14.404C60.1123 13.7288 59.9193 13.2143 59.5014 12.7964C59.0834 12.3784 58.6011 12.1855 57.9902 12.1855C57.4115 12.1855 56.897 12.3784 56.479 12.7964C56.0611 13.2143 55.8681 13.7288 55.8681 14.404C55.8681 15.0792 56.0611 15.5936 56.479 16.0116Z" fill="#2B2D33"/>\n <path d="M64.4207 17.3298C63.6169 17.3298 62.9095 17.0405 62.363 16.4939C61.8164 15.9473 61.527 15.2399 61.527 14.4361C61.527 13.6323 61.8164 12.925 62.363 12.3784C62.9095 11.8318 63.5847 11.5424 64.4207 11.5424C65.2567 11.5424 65.9319 11.8318 66.4463 12.4427L65.964 12.925C65.5782 12.4427 65.0638 12.2176 64.4207 12.2176C63.8098 12.2176 63.2954 12.4105 62.8774 12.8285C62.4594 13.2465 62.2665 13.7609 62.2665 14.4361C62.2665 15.1113 62.4594 15.6258 62.8774 16.0438C63.2954 16.4617 63.8098 16.6546 64.4207 16.6546C65.0959 16.6546 65.6425 16.3974 66.1248 15.8508L66.6071 16.3331C66.3499 16.6225 66.0283 16.8797 65.6425 17.0726C65.2888 17.2334 64.8708 17.3298 64.4207 17.3298Z" fill="#2B2D33"/>\n <path d="M68.8256 17.2013V12.3462H67.2823V11.671H71.1084V12.3462H69.5651V17.2013H68.8256Z" fill="#2B2D33"/>\n <path d="M75.9634 11.639L73.8735 16.3332C73.5841 17.0084 73.1661 17.3299 72.5874 17.3299C72.4266 17.3299 72.2337 17.2978 72.0408 17.2013L72.2337 16.5583C72.3623 16.6226 72.4909 16.6547 72.6196 16.6547C72.7803 16.6547 72.9089 16.6226 73.0054 16.5583C73.1018 16.494 73.1661 16.3654 73.2626 16.2046L73.4234 15.7545L71.5585 11.639H72.3945L73.777 14.822H73.8092L75.1596 11.639H75.9634Z" fill="#2B2D33"/>\n <path d="M76.7672 17.2013V11.639H80.7863V17.2013H80.0789V12.3463H77.4746V17.2013H76.7672Z" fill="#2B2D33"/>\n <path d="M82.0723 17.2013V11.639H82.7797V14.0182H85.5448V11.639H86.2521V17.2013H85.5448V14.6934H82.7797V17.2013H82.0723Z" fill="#2B2D33"/>\n <path d="M92.0717 16.4939C91.5252 17.0405 90.85 17.3298 90.0461 17.3298C89.2423 17.3298 88.5671 17.0405 88.0205 16.4939C87.4739 15.9473 87.2167 15.2399 87.2167 14.4361C87.2167 13.6323 87.4739 12.925 88.0205 12.3784C88.5671 11.8318 89.2423 11.5424 90.0461 11.5424C90.85 11.5424 91.5252 11.8318 92.0717 12.3784C92.6183 12.9571 92.9077 13.6323 92.9077 14.4361C92.8756 15.2399 92.6183 15.9151 92.0717 16.4939ZM88.535 16.0116C88.953 16.4296 89.4352 16.6225 90.0461 16.6225C90.6249 16.6225 91.1393 16.4296 91.5573 16.0116C91.9753 15.5936 92.1682 15.0792 92.1682 14.404C92.1682 13.7288 91.9753 13.2143 91.5573 12.7964C91.1393 12.3784 90.657 12.1855 90.0461 12.1855C89.4674 12.1855 88.953 12.3784 88.535 12.7964C88.117 13.2143 87.9241 13.7288 87.9241 14.404C87.9241 15.0792 88.117 15.5936 88.535 16.0116Z" fill="#2B2D33"/>\n <path d="M95.8014 17.2013V11.639H97.7949C98.245 11.639 98.5987 11.7676 98.9202 12.0569C99.2417 12.3463 99.4025 12.7 99.4025 13.1501C99.4025 13.4073 99.3382 13.6324 99.2096 13.8575C99.081 14.0504 98.888 14.2111 98.663 14.3076V14.3398C98.9523 14.4362 99.1774 14.597 99.3382 14.822C99.4989 15.0471 99.5954 15.3043 99.5954 15.6259C99.5954 16.076 99.4346 16.4618 99.0809 16.7512C98.7594 17.0406 98.3414 17.2013 97.8913 17.2013H95.8014ZM96.5088 14.0182H97.7949C98.0521 14.0182 98.2771 13.9218 98.4379 13.761C98.5987 13.5681 98.6951 13.3752 98.6951 13.1823C98.6951 12.9572 98.6308 12.7643 98.4701 12.6035C98.3093 12.4428 98.1164 12.3463 97.8592 12.3463H96.5409V14.0182H96.5088ZM96.5088 16.5261H97.9556C98.245 16.5261 98.4379 16.4297 98.6308 16.2367C98.7916 16.0438 98.888 15.8509 98.888 15.5937C98.888 15.3686 98.7916 15.1436 98.6308 14.9828C98.4701 14.7899 98.2128 14.6934 97.9556 14.6934H96.5409V16.5261H96.5088Z" fill="#2B2D33"/>\n <path d="M49.5663 18.3901H48.8911V16.5252H49.4377C49.92 16.1072 50.1451 15.3999 50.1451 14.4032V11.6702H53.8426V16.5252H54.4535V18.3901H53.7783V17.2004H49.5663V18.3901ZM50.8524 14.4032C50.8524 15.2713 50.6916 15.9786 50.338 16.5252H53.1352V12.3454H50.8524V14.4032Z" stroke="#2B2D33" stroke-width="0.2" stroke-miterlimit="10"/>\n <path d="M60.0158 16.4939C59.4692 17.0405 58.794 17.3298 57.9902 17.3298C57.1864 17.3298 56.5112 17.0405 55.9646 16.4939C55.418 15.9473 55.1608 15.2399 55.1608 14.4361C55.1608 13.6323 55.418 12.925 55.9646 12.3784C56.5112 11.8318 57.1864 11.5424 57.9902 11.5424C58.794 11.5424 59.4692 11.8318 60.0158 12.3784C60.5624 12.9571 60.8518 13.6323 60.8518 14.4361C60.8518 15.2399 60.5624 15.9151 60.0158 16.4939ZM56.479 16.0116C56.897 16.4296 57.3793 16.6225 57.9902 16.6225C58.5689 16.6225 59.0834 16.4296 59.5014 16.0116C59.9193 15.5936 60.1123 15.0792 60.1123 14.404C60.1123 13.7288 59.9193 13.2143 59.5014 12.7964C59.0834 12.3784 58.6011 12.1855 57.9902 12.1855C57.4115 12.1855 56.897 12.3784 56.479 12.7964C56.0611 13.2143 55.8681 13.7288 55.8681 14.404C55.8681 15.0792 56.0611 15.5936 56.479 16.0116Z" stroke="#2B2D33" stroke-width="0.2" stroke-miterlimit="10"/>\n <path d="M64.4207 17.3298C63.6169 17.3298 62.9095 17.0405 62.363 16.4939C61.8164 15.9473 61.527 15.2399 61.527 14.4361C61.527 13.6323 61.8164 12.925 62.363 12.3784C62.9095 11.8318 63.5847 11.5424 64.4207 11.5424C65.2567 11.5424 65.9319 11.8318 66.4463 12.4427L65.964 12.925C65.5782 12.4427 65.0638 12.2176 64.4207 12.2176C63.8098 12.2176 63.2954 12.4105 62.8774 12.8285C62.4594 13.2465 62.2665 13.7609 62.2665 14.4361C62.2665 15.1113 62.4594 15.6258 62.8774 16.0438C63.2954 16.4617 63.8098 16.6546 64.4207 16.6546C65.0959 16.6546 65.6425 16.3974 66.1248 15.8508L66.6071 16.3331C66.3499 16.6225 66.0283 16.8797 65.6425 17.0726C65.2888 17.2334 64.8708 17.3298 64.4207 17.3298Z" stroke="#2B2D33" stroke-width="0.2" stroke-miterlimit="10"/>\n <path d="M68.8256 17.2013V12.3462H67.2823V11.671H71.1084V12.3462H69.5651V17.2013H68.8256Z" stroke="#2B2D33" stroke-width="0.2" stroke-miterlimit="10"/>\n <path d="M75.9634 11.639L73.8735 16.3332C73.5841 17.0084 73.1661 17.3299 72.5874 17.3299C72.4266 17.3299 72.2337 17.2978 72.0408 17.2013L72.2337 16.5583C72.3623 16.6226 72.4909 16.6547 72.6196 16.6547C72.7803 16.6547 72.9089 16.6226 73.0054 16.5583C73.1018 16.494 73.1661 16.3654 73.2626 16.2046L73.4234 15.7545L71.5585 11.639H72.3945L73.777 14.822H73.8092L75.1596 11.639H75.9634Z" stroke="#2B2D33" stroke-width="0.2" stroke-miterlimit="10"/>\n <path d="M76.7672 17.2013V11.639H80.7863V17.2013H80.0789V12.3463H77.4746V17.2013H76.7672Z" stroke="#2B2D33" stroke-width="0.2" stroke-miterlimit="10"/>\n <path d="M82.0723 17.2013V11.639H82.7797V14.0182H85.5448V11.639H86.2521V17.2013H85.5448V14.6934H82.7797V17.2013H82.0723Z" stroke="#2B2D33" stroke-width="0.2" stroke-miterlimit="10"/>\n <path d="M92.0717 16.4939C91.5252 17.0405 90.85 17.3298 90.0461 17.3298C89.2423 17.3298 88.5671 17.0405 88.0205 16.4939C87.4739 15.9473 87.2167 15.2399 87.2167 14.4361C87.2167 13.6323 87.4739 12.925 88.0205 12.3784C88.5671 11.8318 89.2423 11.5424 90.0461 11.5424C90.85 11.5424 91.5252 11.8318 92.0717 12.3784C92.6183 12.9571 92.9077 13.6323 92.9077 14.4361C92.8756 15.2399 92.6183 15.9151 92.0717 16.4939ZM88.535 16.0116C88.953 16.4296 89.4352 16.6225 90.0461 16.6225C90.6249 16.6225 91.1393 16.4296 91.5573 16.0116C91.9753 15.5936 92.1682 15.0792 92.1682 14.404C92.1682 13.7288 91.9753 13.2143 91.5573 12.7964C91.1393 12.3784 90.657 12.1855 90.0461 12.1855C89.4674 12.1855 88.953 12.3784 88.535 12.7964C88.117 13.2143 87.9241 13.7288 87.9241 14.404C87.9241 15.0792 88.117 15.5936 88.535 16.0116Z" stroke="#2B2D33" stroke-width="0.2" stroke-miterlimit="10"/>\n <path d="M95.8014 17.2013V11.639H97.7949C98.245 11.639 98.5987 11.7676 98.9202 12.0569C99.2417 12.3463 99.4025 12.7 99.4025 13.1501C99.4025 13.4073 99.3382 13.6324 99.2096 13.8575C99.081 14.0504 98.888 14.2111 98.663 14.3076V14.3398C98.9523 14.4362 99.1774 14.597 99.3382 14.822C99.4989 15.0471 99.5954 15.3043 99.5954 15.6259C99.5954 16.076 99.4346 16.4618 99.0809 16.7512C98.7594 17.0406 98.3414 17.2013 97.8913 17.2013H95.8014ZM96.5088 14.0182H97.7949C98.0521 14.0182 98.2771 13.9218 98.4379 13.761C98.5987 13.5681 98.6951 13.3752 98.6951 13.1823C98.6951 12.9572 98.6308 12.7643 98.4701 12.6035C98.3093 12.4428 98.1164 12.3463 97.8592 12.3463H96.5409V14.0182H96.5088ZM96.5088 16.5261H97.9556C98.245 16.5261 98.4379 16.4297 98.6308 16.2367C98.7916 16.0438 98.888 15.8509 98.888 15.5937C98.888 15.3686 98.7916 15.1436 98.6308 14.9828C98.4701 14.7899 98.2128 14.6934 97.9556 14.6934H96.5409V16.5261H96.5088Z" stroke="#2B2D33" stroke-width="0.2" stroke-miterlimit="10"/>\n <path d="M19.9511 12.5623C19.8944 12.7636 19.8557 12.9808 19.8557 13.2288V33.6318C19.8557 33.8761 19.8944 34.0909 19.9489 34.29L31.267 23.4413L19.9511 12.5623Z" fill="#2B2D33"/>\n <path d="M35.6838 19.207L22.4691 11.7699C21.9423 11.4457 21.4236 11.3636 20.9854 11.4766L32.3513 22.403L35.6838 19.207Z" fill="#2B2D33"/>\n <path d="M40.5561 21.9492L37.029 19.964L33.4162 23.4262L37.096 26.9653L40.5277 25.0585C42.2029 24.0927 41.5919 22.538 40.5561 21.9492Z" fill="#2B2D33"/>\n <path d="M20.9519 35.3711C21.3968 35.497 21.9281 35.4217 22.4684 35.0891L35.7234 27.726L32.3305 24.4643L20.9519 35.3711Z" fill="#2B2D33"/>\n </svg>\n </a>\n </li>\n </ul>\n <img class="'+this._prefix+'thx-page__img" width="221" height="182" src="'+this._img+'" alt="">\n </div>\n </div>\n </div>'}},{key:"getTemplate",value:function(){return'<div class="'+this._prefix+'thx-page">\n <div class="'+this._prefix+'thx-page__container">\n <div class="'+this._prefix+'thx-page__row">\n <svg class="'+this._prefix+'thx-page__icon">\n <use xlink:href="#sym-ok"></use>\n </svg>\n </div>\n <div class="'+this._prefix+"thx-page__row "+this._prefix+'thx-page__row--last">\n <div class="'+this._prefix+'thx-page__title-block">\n <div class="'+this._prefix+'thx-page__title">\n '+("dsa"===this._deliveryType?"Çàÿâêà ïåðåäàíà â ñëóæáó äîñòàâêè":"Êàðòà ãîòîâà")+'\n </div>\n <div class="'+this._prefix+'thx-page__sub-title" style="max-width: 650px;">\n '+("dsa"===this._deliveryType?'Ïîæàëóéñòà, ðàññêàæèòå, ïî÷åìó âû ðåøèëè ñòàòü êëèåíòîì Ðàéôôàéçåí Áàíêà èìåííî ñåé÷àñ? Íàïèøèòå ñâîé îòâåò, ïåðåéäÿ <a href="https://ru.research.net/r/F258V6B">ïî ýòîé ññûëêå</a>.\n <br/>\n Êîíñóëüòàíò ñâÿæåòñÿ ñ âàìè è óòî÷íèò äåòàëè. Åñëè ïëàíû èçìåíÿòñÿ,\n <a id="changeDelivery" href="https://www.raiffeisen.ru/promo/delivery/" target=\'_blank\'>ïåðåíåñèòå âñòðå÷ó</a>\n <br/>\n Ñìñ îá àêòèâàöèè êàðòû ïðèäåò â òå÷åíèå ñóòîê ïîñëå âñòðå÷è ñ êîíñóëüòàíòîì.\n <br/>\n Ïîñëå ýòîãî âû ñìîæåòå âîéòè â ïðèëîæåíèå è íà÷àòü ïîëüçîâàòüñÿ êàðòîé.':'Ïîæàëóéñòà, ðàññêàæèòå, ïî÷åìó âû ðåøèëè ñòàòü êëèåíòîì Ðàéôôàéçåí Áàíêà èìåííî ñåé÷àñ? Íàïèøèòå ñâîé îòâåò, ïåðåéäÿ <a href="https://ru.research.net/r/F258V6B">ïî ýòîé ññûëêå</a>.\n <br/>\n Çàáðàòü ìîæíî â ëþáîì îòäåëåíèè áàíêà — äàæå åñëè â çàÿâêå óêàçàëè äðóãîé àäðåñ. ×òîáû ïîëó÷èòü êàðòó, ïîíàäîáèòñÿ ïàñïîðò.\n <br/>\n Ñìñ îá àêòèâàöèè êàðòû ïðèäåò â òå÷åíèå ñóòîê ïîñëå åå ïîëó÷åíèÿ.\n <br/>\n Ïîñëå ýòîãî âû ñìîæåòå âîéòè â ïðèëîæåíèå è íà÷àòü ïîëüçîâàòüñÿ êàðòîé.')+"\n </div>\n </div>\n </div>\n "+(this._isWebApp?this._renderAppBlock():"")+"\n </div>\n </div>"}}]),n}(o(n(4)).default);t.default=s}).call(this,n(1))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=o(n(0));function o(e){return e&&e.__esModule?e:{default:e}}var s=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(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}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return n._prefix=i.default.config.prefix,n._name=e||"",n}return function(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)}(t,e),r(t,[{key:"getTemplate",value:function(){return'<div class="'+this._prefix+'success-inner">\n <div class="'+this._prefix+'form-success__icon"></div>\n <div class="'+this._prefix+'form-success__person">\n <span data-miror-text="name">'+this._name+'</span>,<br>\n âàøà çàÿâêà ïðèíÿòà.\n </div>\n <div class="'+this._prefix+'form-success__text">\n <p>\n Íàø ïðåäñòàâèòåëü ñêîðî âàì ïîçâîíèò.\n </p>\n </div>\n <a href="https://skidki.raiffeisen.ru/" class="'+this._prefix+'form-button">\n <span class="hidden-mobile">Ïîñìîòðåòü ñêèäêè äëÿ êëèåíòîâ Ðàéôôàéçåíáàíêà</span>\n <span class="hidden-desktop">Ñêèäêè ïî êàðòå</span>\n </a>\n </div>'}}]),t}(o(n(4)).default);t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=o(n(0));function o(e){return e&&e.__esModule?e:{default:e}}var s=function(e){function t(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var e=function(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}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return e._prefix=i.default.config.prefix,e}return function(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)}(t,e),r(t,[{key:"getTemplate",value:function(){return'<div class="'+this._prefix+'radio-block__list"></div>'}}]),t}(o(n(4)).default);t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=o(n(0));function o(e){return e&&e.__esModule?e:{default:e}}var s=function(e){function t(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var e=function(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}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return e._prefix=i.default.config.prefix,e}return function(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)}(t,e),r(t,[{key:"getTemplate",value:function(){return'<div class="'+this._prefix+"radio-block__list "+this._prefix+'radio-block__list-small-wrap">\n <div class="'+this._prefix+"radio-block__title "+this._prefix+'radio-block__small-block-title">Êàêóþ ñóììó â ìåñÿö âû îáû÷íî ïåðåâîäèòå íà äðóãèå êàðòû?</div>\n <div class="'+this._prefix+'radio-block__list-small-block"></div>\n </div>'}}]),t}(o(n(4)).default);t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=o(n(0));function o(e){return e&&e.__esModule?e:{default:e}}var s=function(e){function t(e){var n=e.label,r=e.value,o=e.dayLabel,s=e.name,a=e.isChecked;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var l=function(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}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return l._prefix=i.default.config.prefix,l._name=s,l._label=n,l._value=r,l._dayLabel=o,l._isChecked=a,l}return function(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)}(t,e),r(t,[{key:"getTemplate",value:function(){return'<label>\n <input data-no-search data-required data-context="deliveryDates" class="visually-hidden" type="radio" name="'+this._name+'" '+(this._isChecked?"checked":"")+' value="'+this._value+'">\n <div class="'+this._prefix+"radio-block__item "+(this._dayLabel?"":this._prefix+"radio-block__item--empty")+'">\n <svg class="'+this._prefix+'radio-block__icon" width="18" height="13" viewBox="0 0 18 13" fill="none" xmlns="http://www.w3.org/2000/svg">\n <path d="M16.5722 0L18 1.43313L6.47594 13L0 6.5L1.42782 5.06687L6.47594 10.1337L16.5722 0Z" fill="#2B2D33"/>\n </svg>\n '+(this._dayLabel?this._label:"Óòî÷íèòü ïîçæå")+"\n "+(this._dayLabel?'<span class="'+this._prefix+'radio-block__day-label">'+this._dayLabel+"</span>":"")+"\n </div>\n </label>"}}]),t}(o(n(4)).default);t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=o(n(0));function o(e){return e&&e.__esModule?e:{default:e}}var s=function(e){function t(e){var n=e.label,r=e.value,o=e.name,s=e.isChecked;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var a=function(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}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return a._prefix=i.default.config.prefix,a._name=o,a._label=n,a._value=r,a._isChecked=s,a}return function(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)}(t,e),r(t,[{key:"getTemplate",value:function(){return'<label>\n <input class="visually-hidden '+this._prefix+'radio-block__item-input" type="radio" name="'+this._name+'" '+(this._isChecked?"checked":"")+' value="'+this._value+'" data-position>\n <div class="'+(i.default.mobile?this._prefix+"--fix-padding":"")+" "+this._prefix+"radio-block__item "+this._prefix+'radio-block__item--small">\n '+this._label+"\n </div>\n </label>"}}]),t}(o(n(4)).default);t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=s(n(0)),o=s(n(4));n(2);function s(e){return e&&e.__esModule?e:{default:e}}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(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}var c=function(e){function t(){return a(this,t),l(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(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)}(t,e),r(t,[{key:"getTemplate",value:function(){return'<div class="'+i.default.config.prefix+'link-block">\n <div class="'+i.default.config.prefix+'link-block__wrap">\n <div class="'+i.default.config.prefix+'link-block__title">Ïðèãëàøàéòå äðóçåé â áàíê è ïîëó÷àéòå ïî 1 000 ₽</div>\n <div class="'+i.default.config.prefix+'link-block__sub-title">Àêòèâèðóéòå êàðòó è ïîëó÷èòå ðåôåðàëüíóþ ññûëêó â ïðèëîæåíèè Ðàéôôàéçåíáàíêà</div>\n <div class="'+i.default.config.prefix+'form-footer">\n <div class="'+i.default.config.prefix+"form-footer__right "+i.default.config.prefix+'form__btn--next">\n <button class="'+i.default.config.prefix+"footer-navigation__btn-forward "+i.default.config.prefix+"form-button "+i.default.config.prefix+"form-button--arrow-right "+i.default.config.prefix+'js-step-next" type="button" data-position>\n Äàëåå\n <svg class="sym-arrow">\n <use xlink:href="#sym-arrow"></use>\n </svg>\n </button>\n </div>\n </div>\n </div>\n </div>'}}]),t}(o.default);t.default=c},function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=s(n(0)),o=s(n(13));function s(e){return e&&e.__esModule?e:{default:e}}var a=function(){function t(n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),this.PREFIX=i.default.config.prefix,this.$form=e(n),this.$togglersOffice=e("[data-tabs-toggler = delivery_office]",this.$form)[0],this.$togglers=e("[data-tabs-toggler]",this.$form),this.$checkedTabs=e("[data-tab-checked]",this.$form),this.$uncheckedTabs=e("[data-tab-unchecked]",this.$form),this.validationDisabled="_validation-disabled",this.$tabs=e("."+this.PREFIX+"js-form-control-tabs",this.$form),this.$submitButton=e("."+this.PREFIX+"submit-btn",this.$form)[0],this.$submitButtonDisabled=!1,this.render(),this.bind()}return r(t,[{key:"addToggler",value:function(t){var n=this,r=e(t);this.$togglers=this.$togglers.add(r),this.updateTab(t),r.is('[type="checkbox"]')?r.on("change change:silent",(function(e){n.updateTab(e.target)})):r.is('[type="radio"]')?r.on("change change:silent",(function(){e('[type="radio"][name="'+r.attr("name")+'"]',n.$form).each((function(e,t){n.updateTab(t)}))})):r.on("click",(function(){r.data("tabs-checked",!r.data("tabs-checked")),n.updateTab(r[0])}))}},{key:"render",value:function(){var e=this;i.default.debug&&console.log("Tabs render"),this.$togglers.each((function(t,n){e.updateTab(n)})).data("rendered",!0)}},{key:"bind",value:function(){var t=this;this.$togglers.each((function(n,r){var i=e(r);i.is('[type="checkbox"]')?i.on("change change:silent",(function(e){t.updateTab(e.target)})):i.is('[type="radio"]')?i.on("change change:silent",(function(){e('[type="radio"][name="'+i.attr("name")+'"]',t.$form).each((function(e,n){t.updateTab(n)}))})):i.on("click",(function(){i.data("tabs-checked",!i.data("tabs-checked")),t.updateTab(i[0])}))})),this.$tabs.each((function(n,r){var i=e("[data-tabs-toggler]",r);i.is('[type="radio"]')&&i.on("change",(function(){t.updateTabsPin(r)})),t.updateTabsPin(r)})),this.$form.on("tabs:toggler:init",(function(n){var r=n.target;e(r).data("rendered")||t.addToggler(r)})),this.$form.on("tabs:render",(function(){t.render()}))}},{key:"updateTabsPin",value:function(t){var n=e("."+this.PREFIX+"js-form-control-pin",t),r=e("[data-tabs-toggler]",t).filter(":checked").parent();n.css({left:r[0].offsetLeft,width:r.width()})}},{key:"updateTab",value:function(t){var n=this,r=this.checkFieldState(t),i=e(t).data("tabs-toggler");e(this.$togglersOffice).prop("checked")?(e(this.$submitButton).prop("disabled")&&(this.$submitButtonDisabled=!0),this.unDisabledControl(this.$submitButton)):this.$submitButtonDisabled&&(this.$submitButtonDisabled=!1,this.disabledControl(this.$submitButton)),e("[data-tab-checked]",this.$form).filter('[data-tab-checked="'+i+'"]')[r?"removeClass":"addClass"](this.validationDisabled)[r?"removeClass":"addClass"]("_tab-hidden").filter(":visible").find("."+this.PREFIX+"js-form-control-tabs").each((function(e,t){return n.updateTabsPin(t)})),e("[data-tab-unchecked]",this.$form).filter('[data-tab-unchecked="'+i+'"]')[r?"addClass":"removeClass"](this.validationDisabled)[r?"addClass":"removeClass"]("_tab-hidden").filter(":visible").find("."+this.PREFIX+"js-form-control-tabs").each((function(e,t){return n.updateTabsPin(t)})),requestAnimationFrame((function(){e("[data-tab-checked],[data-tab-unchecked]",n.$form).filter("."+n.validationDisabled).removeClass("_error").find("._error").removeClass("_error"),o.default.update(n.$form[0].querySelectorAll("."+n.PREFIX+"form-control--input textarea"))}))}},{key:"checkFieldState",value:function(t){var n=e(t);return n.is('[type="checkbox"],[type="radio"]')?n.prop("checked"):1==n.data("tabs-checked")}},{key:"unDisabledControl",value:function(e){e.removeAttribute("disabled")}},{key:"disabledControl",value:function(e){e.setAttribute("disabled","true")}}]),t}();t.default=a}).call(this,n(1))},function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.Radio=t.Checkbox=t.Select=t.Textarea=t.TextSmsCode=t.TextFio=t.Text=void 0;var r=function e(t,n,r){null===t&&(t=Function.prototype);var i=Object.getOwnPropertyDescriptor(t,n);if(void 0===i){var o=Object.getPrototypeOf(t);return null===o?void 0:e(o,n,r)}if("value"in i)return i.value;var s=i.get;return void 0!==s?s.call(r):void 0},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();n(72),n(73),n(74),n(75),n(76),n(77),n(79),n(80);var o=h(n(0)),s=h(n(81)),a=h(n(28)),l=n(2),c=h(n(7)),u=(n(82),n(29)),d=n(6),f=n(5);function h(e){return e&&e.__esModule?e:{default:e}}function p(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 m(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 g(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var v=function(){function t(e){g(this,t),this.PREFIX=o.default.config.prefix,this.control=e,this.field=this.control.querySelector("."+this.PREFIX+"js-form-control-field"),this.form=this.control.closest("."+this.PREFIX+"js-form"),this.selector={filled:"_filled",focus:"_focus",valid:"_valid",hiddenMobileClass:"hidden-mobile",hiddenDesktopClass:"hidden-desktop",validationDisabledClass:"_validation-disabled",error:"_error",errorWrap:this.PREFIX+"form-control__error",errorClear:this.PREFIX+"form-control__error-clear",errorText:this.PREFIX+"form-control__error-text",clear:this.PREFIX+"form-control__clear",label:this.PREFIX+"form-control__label",control:this.PREFIX+"js-form-control",field:this.PREFIX+"js-form-control-field"},this.render(),this.bind()}return i(t,[{key:"render",value:function(){}},{key:"bind",value:function(){var t=this;e(this.control).on("field:valid",(function(n){e(n.currentTarget).removeClass(t.selector.error).addClass(t.selector.valid).find("."+t.selector.errorWrap).remove()})).on("field:error",(function(n,r){e(n.currentTarget).addClass(t.selector.error).removeClass(t.selector.valid);var i=e(n.currentTarget).find("."+t.selector.errorText);i.length?i.html(r):e(n.currentTarget).append('<span class="'+t.selector.errorWrap+'"><span class="'+t.selector.errorText+'">'+r+'</span><span class="'+t.selector.errorClear+'"></span></span>')})).on("field:clear",(function(n){e(n.currentTarget).removeClass(t.selector.error).removeClass(t.selector.valid).find("."+t.selector.errorWrap).remove()})).on("click","."+this.selector.errorClear,(function(){t.clearVal()})).on("click","."+this.selector.clear,(function(){t.clearVal()})),(e(this.control).hasClass(this.selector.hiddenMobileClass)&&o.default.mobile||e(this.control).hasClass(this.selector.hiddenDesktopClass)&&!o.default.mobile)&&e(this.control).addClass(this.selector.validationDisabledClass)}},{key:"clearVal",value:function(){}}]),t}(),y=t.Text=function(t){function n(e){return g(this,n),p(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,e))}return m(n,t),i(n,[{key:"render",value:function(){r(n.prototype.__proto__||Object.getPrototypeOf(n.prototype),"render",this).call(this);var t=e(this.field),i=void 0;if("fms"==t.data("dadata")){var o=e('[name="passportIssuePlace"]',this.form);i={formatResult:function(e,t,n){return n.value=n.data.code,n.data.code+" — "+n.data.name},onSelect:function(t){e(this).change().trigger("dadata:change"),t.data.name!=o.val()&&o.val(t.data.name).change().trigger("autovalue")},onSelectNothing:function(){o.val("").change()}}}if(t.data("dadata")&&(this.dadata=new s.default({control:this.control,field:this.field,type:t.data("dadata"),options:i})),t.is("[readonly]")&&e(this.control).addClass("_readonly"),t.is("[data-phone]")&&t.mask("+x (000) 000-00-00",{placeholder:"",translation:{x:{pattern:/[7-8*]/,fallback:7},y:{pattern:/[0-79*]/}},onChange:function(e,n,r,i){var o="+x (000) 000-00-00";"+"==e[0]&&"8"==e[1]&&(o=e.length>2?"+y (000) 000-00-00":"+7 (y00) 000-00-00"),t.mask(o,i)},onKeyPress:function(e,n,r,i){t.mask("+x (000) 000-00-00",i)}}),t.is("[data-currency]")){var a=document.createElement("div");a.innerHTML="₽";var l=a.innerHTML;e(a).remove();var c={placeholder:"",reverse:!0,onKeyPress:function(e,t,n){isNaN(parseInt(n[0].value))&&(n[0].value="")}};t.mask("## #00 000 "+l,c),t.on("focus",(function(){setTimeout((function(){var e=t[0].selectionStart;t[0].selectionStart=t[0].selectionEnd=e-(t[0].value.slice(0,e).split(" ").length-1),t.mask("0#")}),100)})).on("blur",(function(){setTimeout((function(){t.mask("## #00 000 "+l,c)}),100)}))}t.is("[data-date]")&&("dd.mm.yyyy"==t.data("date")&&t.mask("00.00.0000"),"mm.yyyy"==t.data("date")&&t.mask("00.0000",i)),t.is("[data-masked]")&&t.mask(t.data("masked")+"")}},{key:"bind",value:function(){var t=this;r(n.prototype.__proto__||Object.getPrototypeOf(n.prototype),"bind",this).call(this);var i=e(this.control),o=e(this.field);o.on("focus",(function(e){i.addClass(t.selector.focus),o.trigger("field:focus",e.originalEvent)})),o.on("input",(function(){i.removeClass("_complete"),i.removeClass(t.selector.error),o.trigger("field:input")})),o.on("blur",(function(){i.removeClass(t.selector.focus),o.trigger("field:blur")})),o.on("change",(function(){o.val()||o.trigger("field:empty"),o.trigger("field:change")})),o.on("change input",(function(n){i.toggleClass(t.selector.filled,!!e(n.target).val().length)})),o.val()&&(i.addClass(this.selector.filled),o.trigger("validate"))}},{key:"clearVal",value:function(){e(this.field).val("").change().focus(),e(this.control).removeClass(this.selector.filled+" "+this.selector.error)}}]),n}(v);t.TextFio=function(t){function n(e){return g(this,n),p(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,e))}return m(n,t),i(n,[{key:"bind",value:function(){r(n.prototype.__proto__||Object.getPrototypeOf(n.prototype),"bind",this).call(this),e(this.field).on("input",(function(e){return e.target.value=(0,l.capitaliseFirstLetters)(e.target.value)}))}}]),n}(y),t.TextSmsCode=function(t){function n(e){return g(this,n),p(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,e))}return m(n,t),i(n,[{key:"render",value:function(){var t=this;r(n.prototype.__proto__||Object.getPrototypeOf(n.prototype),"render",this).call(this),this.$step=e(this.field).closest("[data-step]"),this.$phone=e('[name="mobilePhone"]',this.form),this.$smsResend=e("."+this.PREFIX+"js-form-sms-resend"),this.smsResendText=this.$smsResend.text(),e(this.field).mask("0000",{placeholder:"",onComplete:function(n){if(("71111111111"===t.phone||"72222222222"===t.phone)&&"1111"===n)return o.default.debug&&console.log("Òåñòîâûé êîä 1111"),void t.smsVerify({success:!0,error:{code:0,message:""},meta:{token:"YD5j3gq0eyQI8xJQ/Dpx7Cas"},data:{token:"YD5j3gq0eyQI8xJQ/Dpx7Cas"}});t.xhrSmsVerify&&4!=t.xhrSmsVerify.readystate&&t.xhrSmsVerify.abort();var r=JSON.stringify({phone:t.phone,code:n});t.xhrSmsVerify=e.ajax({url:o.default.config.endpoint.smsVerify,type:"dev"==o.default.config.env?"GET":"POST",dataType:"json",contentType:"application/json;charset=UTF-8",data:r,success:e.proxy(t.smsVerify,t),error:function(e){fetch(o.default.config.endpoint.trackCPeople+"track/sms/fail?step=2&phone="+encodeURIComponent(t.phone)+"&status="+encodeURIComponent(e.status)+"&detail="+encodeURIComponent(e.statusText))}}).done((function(){(0,f.trackValidPhone)(t.phone)}))}})}},{key:"bind",value:function(){var t=this;r(n.prototype.__proto__||Object.getPrototypeOf(n.prototype),"bind",this).call(this),e(this.form).on("steps:opened",(function(n){e(n.target).is(".__active")&&e(n.target).find("."+t.PREFIX+"js-form-sms-resend").length&&(o.default.token||t.sendSMS())})),this.$smsResend.on("click",(function(n){n.preventDefault(),t.$smsResend.is("._disabled")||(e(t.field).val(""),e(t.control).removeClass("_valid _invalid _filled _error"),t.sendSMS(!0))})),e(this.form).on("sms:send",(function(){e(t.field).val(""),e(t.control).removeClass("_valid _invalid _filled _error"),t.sendSMS(!0)})),this.$phone.on("change",(function(){o.default.token=void 0,t.$step.trigger("step:unskipped"),e(t.field).val("").trigger("field:clear")})),this.$phone.on("input",(function(){t.$phone.closest("."+t.PREFIX+"js-step").find("."+t.PREFIX+"js-step-next").attr("disabled",!1)}))}},{key:"sendSMS",value:function(t){var n=this;if(this.$smsResend.addClass("_disabled"),"71111111111"===this.phone||"72222222222"===this.phone)return o.default.debug&&console.log("Òåñòîâûé íîìåð 71111111111 èëè 72222222222"),o.default.flags.isTestNumber=!0,void this.smsCode(t,{success:!0,error:{code:0,message:""},meta:[],data:[]});this.xhrSmsCode&&4!=this.xhrSmsCode.readystate&&this.xhrSmsCode.abort(),this.xhrSmsCode=e.ajax({url:o.default.config.endpoint.smsCode,type:"POST",dataType:"json",contentType:"application/json",processData:!1,xhrFields:{withCredentials:!0},data:JSON.stringify({number:this.phone}),success:e.proxy(this.smsCode,this,t),error:function(e){fetch(o.default.config.endpoint.trackCPeople+"track/sms/fail?step=1&phone="+encodeURIComponent(n.phone)+"&status="+encodeURIComponent(e.status)+"&detail="+encodeURIComponent(e.statusText))}})}},{key:"smsCode",value:function(t,n){n.success?(o.default.debug&&console.log("SMS ñ êîäîì îòïðàâëåí íà âàø íîìåð"),t&&e(this.form).trigger("popup:open",{name:"resendSMS"}),this.resendLoked=!1,(0,f.trackSMSSucces)(this.phone)):(o.default.debug&&console.log(n.error.code?"Êîä îøèáêè "+n.error.code+": "+n.error.message:"Íåèçâåñòíàÿ îøèáêà"),e(this.form).trigger("popup:open",{name:"error",content:n.error.message}),(0,f.trackSMSFaiL)(this.phone,n.error.code,n.error.message)),this.resendLock()}},{key:"resendLock",value:function(){var e=this;if(!this.resendLoked){var t=this.smsResendText,n=30;clearInterval(this.smsResendInterval),this.$smsResend.text(t+" ("+n--+")"),this.smsResendInterval=setInterval((function(){e.$smsResend.text(t+" ("+n--+")"),-1==n&&(clearInterval(e.smsResendInterval),e.$smsResend.text(t),e.$smsResend.removeClass("_disabled"),e.resendLoked=!1)}),1e3),this.resendLoked=!0}}},{key:"smsVerify",value:function(t){t.success?(o.default.debug&&console.log("Âåðèôèêàöèÿ òåëåôîíà óñïåøíà"),localStorage.getItem("isReturningForm")||localStorage.setItem("isReturningForm","true"),o.default.token=t.data.token,o.default.flags.isSnapshotActive="CS0200-AD01"!==o.default.config.card.id,o.default.flags.isSnapshotActive&&(0,u.SnapshottingData)(u.SnapshotMode.RESTORE,t.data.token,this.phone),e(this.field).trigger("blur"),this.$step.trigger("step:skipped"),e("."+this.PREFIX+"js-step-next",this.$step).click(),fetch(o.default.config.endpoint.trackCPeople+"track/sms/success?step=1&phone="+encodeURIComponent(this.phone)),e.ajax({url:o.default.config.endpoint.trackCPeople+"track/actions/form/sent_code_phone",type:"POST",data:JSON.stringify({form_name:o.default.formName,token:t.data.token}),dataType:"json",contentType:"application/json",processData:!1,xhrFields:{withCredentials:!0}})):(o.default.token=void 0,this.$step.trigger("step:unskipped"),o.default.debug&&console.log(t.error.code?"Êîä îøèáêè "+t.error.code+": "+t.error.message:"Íåèçâåñòíàÿ îøèáêà"),e(this.form).trigger("popup:open",{name:"error",content:t.error.message}),d.TrackJS.track({errorType:"SMS ERROR",message:t.error.message,code:t.error.code,response:t}),fetch(o.default.config.endpoint.trackCPeople+"track/sms/fail?step=2&phone="+encodeURIComponent(this.phone)+"&status="+encodeURIComponent(t.error.code)+"&detail="+encodeURIComponent(t.error.message)))}},{key:"phone",get:function(){return this.$phone.val().replace(/[^0-9]/g,"")}}]),n}(y),t.Textarea=function(t){function n(e){return g(this,n),p(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,e))}return m(n,t),i(n,[{key:"render",value:function(){var t=this;r(n.prototype.__proto__||Object.getPrototypeOf(n.prototype),"render",this).call(this);var i=e(this.control),o=e(this.field);o.data("dadata")&&(this.dadata=new s.default({control:this.control,field:this.field,type:o.data("dadata"),options:void 0})),o.on("focus",(function(){i.addClass(t.selector.focus),o.trigger("field:focus")})),o.on("blur",(function(){i.removeClass(t.selector.focus),o.trigger("field:blur")})),o.on("change",(function(){o.val()||o.trigger("field:empty"),o.trigger("field:change")})),o.on("change keyup",(function(n){i.toggleClass(t.selector.filled,!!e(n.target).val().length)})),o.val()&&(i.addClass(this.selector.filled),o.trigger("validate"))}}]),n}(v),t.Select=function(t){function n(e){return g(this,n),p(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,e))}return m(n,t),i(n,[{key:"render",value:function(){var t=this;r(n.prototype.__proto__||Object.getPrototypeOf(n.prototype),"render",this).call(this),this.multiple=this.field.multiple;var i=e(this.form),s=e(this.field),a=e(this.control),l=this.multiple;if(this.checkFilled(),s.on("change",(function(){s.trigger("field:change")})),s.on("click",(function(){s.trigger("field:click")})),s.data("years-range")){var u=s.data("years-range").split("-")[0],d=s.data("years-range").split("-")[1],f=(new Date).getFullYear();if(1*(u="now"==u?f:u)<=1*(d="now"==d?f:d))for(var h=u;h<=d;h++)s.append('<option value="'+h+'">'+h+"</option>");else for(var p=u;p>=d;p--)s.append('<option value="'+p+'">'+p+"</option>")}var m={dropdownParent:a,placeholder:s.data("placeholder")||s.find('option[value=""]').text(),minimumResultsForSearch:s.is("[data-no-search]")?1/0:8,templateSelection:l?this.formatSelectionMultiple:this.formatSelectionSingle,closeOnSelect:!l,width:"100%",language:"ru",theme:"custom"},g=["18630","9214","11852","9211","9212"];s.is('[name="branch"]')&&(m.sorter=function(e){var t,n;if(e.some((function(e){return"8930"===e.id}))){var r=[],i=null;return e.map((function(e){"8930"===e.id?i=e:r.push(e)})),r.sort((function(e,t){return e.text<t.text?-1:e.text>t.text?1:0})),r.push(i),r}if(t=g,n=e[0].id,t.some((function(e){return e===n}))){var o=e,s=[];return g.map((function(e){o.map((function(t){e===t.id&&s.push(t)}))})),s}return e.sort((function(e,t){return e.text<t.text?-1:e.text>t.text?1:0}))}),s.is('[name="city_branch"]')&&(m.language={language:"ru",noResults:function(){return c.default.exists?"Çäåñü íåò íàøèõ îòäåëåíèé. Âûáåðèòå èç ñïèñêà ãîðîä, â êîòîðûé ñìîæåòå ïðèåõàòü çà êàðòîé":"Çäåñü íåò íàøèõ îòäåëåíèé. Âûáåðèòå èç ñïèñêà ãîðîä, â êîòîðûé ñìîæåòå ïðèåõàòü çà êàðòîé. Èëè çàêàæèòå äîñòàâêó, åñëè îíà äîñòóïíà"}}),s.is('[name="city_dsa"]')&&(m.language={language:"ru",noResults:function(){return" âàø ãîðîä ïîêà íåò äîñòàâêè. Âûáåðèòå äîñòàâêó â îòäåëåíèå áëèæàéøåãî ê âàì ãîðîäà"}}),this.select2=s.select2(m),this.select2.on("select2:open",(function(){requestAnimationFrame((function(){o.default.H.find(".select2-results__options").addClass("scrollbar-inner").scrollbar({ignoreMobile:!0})}));var n=e(t.control).find(".select2-search__field");s.is('[name="birthCountry"]')&&n.prop("placeholder","Íà÷íèòå ââîäèòü ñòðàíó"),s.is('[name="city_dsa"], [name="city_branch"]')&&n.prop("placeholder","Íà÷íèòå ââîäèòü ãîðîä")}));var v=this.select2.parent().find(".select2-search__field");v.on("focus click",(function(){e(this).blur()})),this.select2.on("select2:opening",(function(){var t=this;e(this).is("[data-no-search]")&&v.blur().prop("disabled",!0),"city_branch"===e(this).attr("name")&&setTimeout((function(){var n=e(t).parent().next().find('input[type="search"]');n&&(n.attr("autocomplete","chrome-off"),n.blur(),n.focus())}),100)})),this.select2.on("select2:closing",(function(){e(this).is("[data-no-search]")&&requestAnimationFrame((function(){v.blur().prop("disabled",!1)}))})),this.select2.on("select2:close",(function(){e(this.control).find(".select2-search__field").prop("placeholder","")})),this.select2.on("select2:select",(function(e){l&&t.renderSelectionMultiple(a,s,e.target.selectedOptions.length)})),this.select2.on("select2:unselect",(function(e){l&&e.target.selectedOptions.length&&t.renderSelectionMultiple(a,s,e.target.selectedOptions.length)})),this.select2.closest("label").each((function(t,n){e(n).on("click",(function(e){e.preventDefault()}))})),s.data("dict")&&(this.dict=s.data("dict"),i.on("dictionary:ready",(function(e,n){t.dict==n&&t.renderDict()})))}},{key:"bind",value:function(){var t=this;r(n.prototype.__proto__||Object.getPrototypeOf(n.prototype),"bind",this).call(this);var i=e(this.field),o=e(this.control),s=i.is("[multiple]");i.on("change change:silent",(function(e){s?o.toggleClass(t.selector.filled,!!e.target.selectedOptions.length):o.toggleClass(t.selector.filled,!!e.target.value)})),i.on("render:dict",(function(){t.dict&&t.renderDict()}))}},{key:"renderDict",value:function(){var t=this,n=e(this.form),r=e(this.field);r.find("option[value]").remove(),"city_delivery"==this.dict?new Promise((function(n){o.default.dictionary.delivery_type?n():e(t.form).on("dictionary:ready",(function(e,t){"delivery_type"==t&&n()}))})).then((function(){var e=void 0,n=o.default.config.card.type;"city_branch"==r[0].name&&(e=o.default.dictionary.delivery_type.data.dictionary.records.filter((function(e){return"branch"==e.key}))[0].relations[n+(c.default.exists?"_exists":"")].keys.filter((function(e){return e[1]==o.default.config.card.id})).map((function(e){return e[0]}))),"city_dsa"==r[0].name&&(e=o.default.dictionary.delivery_type.data.dictionary.records.filter((function(e){return"dsa"==e.key}))[0].relations[n].keys.filter((function(e){return e[1]==o.default.config.card.id})).map((function(e){return e[0]})));var i=o.default.dictionary[t.dict].data.dictionary.records.filter((function(t){return e.indexOf(t.key)>=0}));(i=i.sort((function(e,t){return"Ìîñêâà"==e.label?-2:"Ìîñêâà"==t.label?2:"Ñàíêò-Ïåòåðáóðã"==e.label?-1:"Ñàíêò-Ïåòåðáóðã"==t.label?1:0}))).forEach((function(e){e.relations[n].keys.filter((function(e){return e.indexOf(o.default.config.card.id)>=0})).length&&r.append(new Option(e.label,e.key))})),t.checkFilled()})):"branch_delivery"==this.dict?o.default.dictionary[this.dict].data.dictionary.records.forEach((function(t){t.relations.default.keys.filter((function(t){return t.indexOf(e('[name="city_branch"]',n).val())>=0})).length&&r.append(new Option(t.data.address,t.key))})):(o.default.dictionary[this.dict].data.dictionary.records.forEach((function(e){r.append(new Option(e.label,e.key))})),"country"==this.dict?r.find('[value="RU"]').attr("selected",!0):"city"==this.dict&&r.find('[value="170"]').attr("selected",!0),this.checkFilled())}},{key:"bind",value:function(){var t=this;r(n.prototype.__proto__||Object.getPrototypeOf(n.prototype),"bind",this).call(this);var i=e(this.field),o=e(this.control),s=i.is("[multiple]");i.on("change",(function(e){s?o.toggleClass(t.selector.filled,!!e.target.selectedOptions.length):o.toggleClass(t.selector.filled,!!e.target.value)}))}},{key:"checkFilled",value:function(){this.multiple?e(this.control).toggleClass(this.selector.filled,!!this.field.selectedOptions.length):e(this.control).toggleClass(this.selector.filled,!!this.field.value)}},{key:"formatSelectionMultiple",value:function(t){return t.id?e("<b>"+t.text+"</b>"):t.text}},{key:"formatSelectionSingle",value:function(t){if(!t.id)return t.text;var n=e("<span>"+t.text+"</span>");return n.css("opacity",0),requestAnimationFrame((function(){n.css("opacity","")})),n}},{key:"renderSelectionMultiple",value:function(t,n,r){var i=e(".select2-selection__rendered",t);r>2?(t.addClass("__shortcut"),i.prepend('<span class="select2-selection-shortcut">'+n.data("shortcut")+" "+r+"</span>")):t.removeClass("__shortcut"),i.prepend('<span class="select2-selection-label">'+n.data("placeholder")+"</span>")}}]),n}(v),t.Checkbox=function(t){function n(e){return g(this,n),p(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,e))}return m(n,t),i(n,[{key:"render",value:function(){r(n.prototype.__proto__||Object.getPrototypeOf(n.prototype),"render",this).call(this);var t=e(this.control),i=e(this.field);t.toggleClass(this.selector.filled,i.is(":checked"))}},{key:"bind",value:function(){var t=this;r(n.prototype.__proto__||Object.getPrototypeOf(n.prototype),"bind",this).call(this);var i=e(this.control),o=e(this.field);o.on("change",(function(n){i.toggleClass(t.selector.filled,e(n.target).is(":checked")),o.trigger("field:change")}))}}]),n}(v),t.Radio=function(t){function n(e){return g(this,n),p(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,e))}return m(n,t),i(n,[{key:"render",value:function(){var t=this;r(n.prototype.__proto__||Object.getPrototypeOf(n.prototype),"render",this).call(this);var i=e(this.control),s=e(this.field);if(i.toggleClass(this.selector.filled,i.is(":checked")),s.data("dict")){var l=s.data("dict"),c=s.data("tabs-toggler"),u=s.closest("label")[0].outerHTML;s.parent().remove(),e(this.form).on("dictionary:ready",(function(n,r){l==r&&o.default.dictionary[l].data.dictionary.records.forEach((function(n){var r=e(u),s=r.find('[data-value="'+n.key+'"]').length?r.find('[data-value="'+n.key+'"]')[0].outerHTML:"";r.find("."+t.selector.field).val(n.key),r.find("."+t.selector.label).text(n.label[0].toUpperCase()+n.label.slice(1)).append(s),c&&r.find("."+t.selector.field).attr("data-tabs-toggler",c+"["+n.key+"]"),i.append(r),r.find("."+o.default.config.prefix+"js-form-tooltip").each((function(){this.rendered||new a.default(this)})),r.find("[data-tabs-toggler]").trigger("tabs:toggler:init")}))}))}}},{key:"bind",value:function(){var t=this;r(n.prototype.__proto__||Object.getPrototypeOf(n.prototype),"bind",this).call(this);var i=e(this.control),o=e(this.field);i.on("change","."+this.selector.field,(function(n){e('input[name="'+n.currentTarget.name+'"]',t.form).each((function(r,i){e(i).closest("."+t.selector.control).toggleClass(t.selector.filled,e(n.target).is(":checked"))})),o.trigger("field:change")}))}}]),n}(v)}).call(this,n(1))},function(e,t,n){"use strict";(function(r){var i,o,s="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}; /*! jQuery Migrate v3.3.2 | (c) OpenJS Foundation and other contributors | jquery.org/license */ void 0===r.migrateMute&&(r.migrateMute=!0),i=[n(1)],void 0===(o=function(e){return function(e,t){function n(t){return 0<=function(e,t){for(var n=/^(\d+)\.(\d+)\.(\d+)/,r=n.exec(e)||[],i=n.exec(t)||[],o=1;o<=3;o++){if(+i[o]<+r[o])return 1;if(+r[o]<+i[o])return-1}return 0}(e.fn.jquery,t)}e.migrateVersion="3.3.2",t.console&&t.console.log&&(e&&n("3.0.0")||t.console.log("JQMIGRATE: jQuery 3.0.0+ REQUIRED"),e.migrateWarnings&&t.console.log("JQMIGRATE: Migrate plugin loaded multiple times"),t.console.log("JQMIGRATE: Migrate is installed"+(e.migrateMute?"":" with logging active")+", version "+e.migrateVersion));var r={};function i(n){var i=t.console;e.migrateDeduplicateWarnings&&r[n]||(r[n]=!0,e.migrateWarnings.push(n),i&&i.warn&&!e.migrateMute&&(i.warn("JQMIGRATE: "+n),e.migrateTrace&&i.trace&&i.trace()))}function o(e,t,n,r){Object.defineProperty(e,t,{configurable:!0,enumerable:!0,get:function(){return i(r),n},set:function(e){i(r),n=e}})}function a(e,t,n,r){e[t]=function(){return i(r),n.apply(this,arguments)}}e.migrateDeduplicateWarnings=!0,e.migrateWarnings=[],void 0===e.migrateTrace&&(e.migrateTrace=!0),e.migrateReset=function(){r={},e.migrateWarnings.length=0},"BackCompat"===t.document.compatMode&&i("jQuery is not compatible with Quirks Mode");var l,c,u,d={},f=e.fn.init,h=e.find,p=/\[(\s*[-\w]+\s*)([~|^$*]?=)\s*([-\w#]*?#[-\w#]*)\s*\]/,m=/\[(\s*[-\w]+\s*)([~|^$*]?=)\s*([-\w#]*?#[-\w#]*)\s*\]/g,g=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;for(l in e.fn.init=function(e){var t=Array.prototype.slice.call(arguments);return"string"==typeof e&&"#"===e&&(i("jQuery( '#' ) is not a valid selector"),t[0]=[]),f.apply(this,t)},e.fn.init.prototype=e.fn,e.find=function(e){var n=Array.prototype.slice.call(arguments);if("string"==typeof e&&p.test(e))try{t.document.querySelector(e)}catch(r){e=e.replace(m,(function(e,t,n,r){return"["+t+n+'"'+r+'"]'}));try{t.document.querySelector(e),i("Attribute selector with '#' must be quoted: "+n[0]),n[0]=e}catch(e){i("Attribute selector with '#' was not fixed: "+n[0])}}return h.apply(this,n)},h)Object.prototype.hasOwnProperty.call(h,l)&&(e.find[l]=h[l]);a(e.fn,"size",(function(){return this.length}),"jQuery.fn.size() is deprecated and removed; use the .length property"),a(e,"parseJSON",(function(){return JSON.parse.apply(null,arguments)}),"jQuery.parseJSON is deprecated; use JSON.parse"),a(e,"holdReady",e.holdReady,"jQuery.holdReady is deprecated"),a(e,"unique",e.uniqueSort,"jQuery.unique is deprecated; use jQuery.uniqueSort"),o(e.expr,"filters",e.expr.pseudos,"jQuery.expr.filters is deprecated; use jQuery.expr.pseudos"),o(e.expr,":",e.expr.pseudos,"jQuery.expr[':'] is deprecated; use jQuery.expr.pseudos"),n("3.1.1")&&a(e,"trim",(function(e){return null==e?"":(e+"").replace(g,"")}),"jQuery.trim is deprecated; use String.prototype.trim"),n("3.2.0")&&(a(e,"nodeName",(function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}),"jQuery.nodeName is deprecated"),a(e,"isArray",Array.isArray,"jQuery.isArray is deprecated; use Array.isArray")),n("3.3.0")&&(a(e,"isNumeric",(function(e){var t=void 0===e?"undefined":s(e);return("number"==t||"string"==t)&&!isNaN(e-parseFloat(e))}),"jQuery.isNumeric() is deprecated"),e.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),(function(e,t){d["[object "+t+"]"]=t.toLowerCase()})),a(e,"type",(function(e){return null==e?e+"":"object"==(void 0===e?"undefined":s(e))||"function"==typeof e?d[Object.prototype.toString.call(e)]||"object":void 0===e?"undefined":s(e)}),"jQuery.type is deprecated"),a(e,"isFunction",(function(e){return"function"==typeof e}),"jQuery.isFunction() is deprecated"),a(e,"isWindow",(function(e){return null!=e&&e===e.window}),"jQuery.isWindow() is deprecated")),e.ajax&&(c=e.ajax,u=/(=)\?(?=&|$)|\?\?/,e.ajax=function(){var e=c.apply(this,arguments);return e.promise&&(a(e,"success",e.done,"jQXHR.success is deprecated and removed"),a(e,"error",e.fail,"jQXHR.error is deprecated and removed"),a(e,"complete",e.always,"jQXHR.complete is deprecated and removed")),e},n("4.0.0")||e.ajaxPrefilter("+json",(function(e){!1!==e.jsonp&&(u.test(e.url)||"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&u.test(e.data))&&i("JSON-to-JSONP auto-promotion is deprecated")})));var v=e.fn.removeAttr,y=e.fn.toggleClass,_=/\S+/g;function b(e){return e.replace(/-([a-z])/g,(function(e,t){return t.toUpperCase()}))}e.fn.removeAttr=function(t){var n=this;return e.each(t.match(_),(function(t,r){e.expr.match.bool.test(r)&&(i("jQuery.fn.removeAttr no longer sets boolean properties: "+r),n.prop(r,!1))})),v.apply(this,arguments)};var w,x=!(e.fn.toggleClass=function(t){return void 0!==t&&"boolean"!=typeof t?y.apply(this,arguments):(i("jQuery.fn.toggleClass( boolean ) is deprecated"),this.each((function(){var n=this.getAttribute&&this.getAttribute("class")||"";n&&e.data(this,"__className__",n),this.setAttribute&&this.setAttribute("class",!n&&!1!==t&&e.data(this,"__className__")||"")})))}),C=/^[a-z]/,k=/^(?:Border(?:Top|Right|Bottom|Left)?(?:Width|)|(?:Margin|Padding)?(?:Top|Right|Bottom|Left)?|(?:Min|Max)?(?:Width|Height))$/;e.swap&&e.each(["height","width","reliableMarginRight"],(function(t,n){var r=e.cssHooks[n]&&e.cssHooks[n].get;r&&(e.cssHooks[n].get=function(){var e;return x=!0,e=r.apply(this,arguments),x=!1,e})})),e.swap=function(e,t,n,r){var o,s,a={};for(s in x||i("jQuery.swap() is undocumented and deprecated"),t)a[s]=e.style[s],e.style[s]=t[s];for(s in o=n.apply(e,r||[]),t)e.style[s]=a[s];return o},n("3.4.0")&&"undefined"!=typeof Proxy&&(e.cssProps=new Proxy(e.cssProps||{},{set:function(){return i("JQMIGRATE: jQuery.cssProps is deprecated"),Reflect.set.apply(this,arguments)}})),e.cssNumber||(e.cssNumber={}),w=e.fn.css,e.fn.css=function(t,n){var r,o,a=this;return t&&"object"==(void 0===t?"undefined":s(t))&&!Array.isArray(t)?(e.each(t,(function(t,n){e.fn.css.call(a,t,n)})),this):("number"==typeof n&&(o=r=b(t),C.test(o)&&k.test(o[0].toUpperCase()+o.slice(1))||e.cssNumber[r]||i('Number-typed values are deprecated for jQuery.fn.css( "'+t+'", value )')),w.apply(this,arguments))};var S,D,E,T,O=e.data;e.data=function(t,n,r){var o,a,l;if(n&&"object"==(void 0===n?"undefined":s(n))&&2===arguments.length){for(l in o=e.hasData(t)&&O.call(this,t),a={},n)l!==b(l)?(i("jQuery.data() always sets/gets camelCased names: "+l),o[l]=n[l]):a[l]=n[l];return O.call(this,t,a),n}return n&&"string"==typeof n&&n!==b(n)&&(o=e.hasData(t)&&O.call(this,t))&&n in o?(i("jQuery.data() always sets/gets camelCased names: "+n),2<arguments.length&&(o[n]=r),o[n]):O.apply(this,arguments)},e.fx&&(E=e.Tween.prototype.run,T=function(e){return e},e.Tween.prototype.run=function(){1<e.easing[this.easing].length&&(i("'jQuery.easing."+this.easing.toString()+"' should use only one argument"),e.easing[this.easing]=T),E.apply(this,arguments)},S=e.fx.interval||13,D="jQuery.fx.interval is deprecated",t.requestAnimationFrame&&Object.defineProperty(e.fx,"interval",{configurable:!0,enumerable:!0,get:function(){return t.document.hidden||i(D),S},set:function(e){i(D),S=e}}));var M=e.fn.load,j=e.event.add,A=e.event.fix;function P(e){var n=t.document.implementation.createHTMLDocument("");return n.body.innerHTML=e,n.body&&n.body.innerHTML}function L(e){var t=e.replace(R,"<$1></$2>");t!==e&&P(e)!==P(t)&&i("HTML tags must be properly nested and closed: "+e)}e.event.props=[],e.event.fixHooks={},o(e.event.props,"concat",e.event.props.concat,"jQuery.event.props.concat() is deprecated and removed"),e.event.fix=function(t){var n,r=t.type,o=this.fixHooks[r],s=e.event.props;if(s.length)for(i("jQuery.event.props are deprecated and removed: "+s.join());s.length;)e.event.addProp(s.pop());if(o&&!o._migrated_&&(o._migrated_=!0,i("jQuery.event.fixHooks are deprecated and removed: "+r),(s=o.props)&&s.length))for(;s.length;)e.event.addProp(s.pop());return n=A.call(this,t),o&&o.filter?o.filter(n,t):n},e.event.add=function(e,n){return e===t&&"load"===n&&"complete"===t.document.readyState&&i("jQuery(window).on('load'...) called after load event occurred"),j.apply(this,arguments)},e.each(["load","unload","error"],(function(t,n){e.fn[n]=function(){var e=Array.prototype.slice.call(arguments,0);return"load"===n&&"string"==typeof e[0]?M.apply(this,e):(i("jQuery.fn."+n+"() is deprecated"),e.splice(0,0,n),arguments.length?this.on.apply(this,e):(this.triggerHandler.apply(this,e),this))}})),e.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),(function(t,n){e.fn[n]=function(e,t){return i("jQuery.fn."+n+"() event shorthand is deprecated"),0<arguments.length?this.on(n,null,e,t):this.trigger(n)}})),e((function(){e(t.document).triggerHandler("ready")})),e.event.special.ready={setup:function(){this===t.document&&i("'ready' event is deprecated")}},e.fn.extend({bind:function(e,t,n){return i("jQuery.fn.bind() is deprecated"),this.on(e,null,t,n)},unbind:function(e,t){return i("jQuery.fn.unbind() is deprecated"),this.off(e,null,t)},delegate:function(e,t,n,r){return i("jQuery.fn.delegate() is deprecated"),this.on(t,e,n,r)},undelegate:function(e,t,n){return i("jQuery.fn.undelegate() is deprecated"),1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return i("jQuery.fn.hover() is deprecated"),this.on("mouseenter",e).on("mouseleave",t||e)}});var R=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi,I=e.htmlPrefilter;e.UNSAFE_restoreLegacyHtmlPrefilter=function(){e.htmlPrefilter=function(e){return L(e),e.replace(R,"<$1></$2>")}},e.htmlPrefilter=function(e){return L(e),I(e)};var N,H=e.fn.offset;e.fn.offset=function(){var e=this[0];return!e||e.nodeType&&e.getBoundingClientRect?H.apply(this,arguments):(i("jQuery.fn.offset() requires a valid DOM element"),arguments.length?this:void 0)},e.ajax&&(N=e.param,e.param=function(t,n){var r=e.ajaxSettings&&e.ajaxSettings.traditional;return void 0===n&&r&&(i("jQuery.param() no longer uses jQuery.ajaxSettings.traditional"),n=r),N.call(this,t,n)});var $,F,V=e.fn.andSelf||e.fn.addBack;return e.fn.andSelf=function(){return i("jQuery.fn.andSelf() is deprecated and removed, use jQuery.fn.addBack()"),V.apply(this,arguments)},e.Deferred&&($=e.Deferred,F=[["resolve","done",e.Callbacks("once memory"),e.Callbacks("once memory"),"resolved"],["reject","fail",e.Callbacks("once memory"),e.Callbacks("once memory"),"rejected"],["notify","progress",e.Callbacks("memory"),e.Callbacks("memory")]],e.Deferred=function(t){var n=$(),r=n.promise();return n.pipe=r.pipe=function(){var t=arguments;return i("deferred.pipe() is deprecated"),e.Deferred((function(i){e.each(F,(function(e,o){var s="function"==typeof t[e]&&t[e];n[o[1]]((function(){var e=s&&s.apply(this,arguments);e&&"function"==typeof e.promise?e.promise().done(i.resolve).fail(i.reject).progress(i.notify):i[o[0]+"With"](this===r?i.promise():this,s?[e]:arguments)}))})),t=null})).promise()},t&&t.call(n,n),n},e.Deferred.exceptionHook=$.exceptionHook),e}(e,window)}.apply(t,i))||(e.exports=o)}).call(this,n(1))},function(e,t,n){"use strict";(function(r){var i,o,s,a="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};o=[n(1)],void 0===(s="function"==typeof(i=function(n){var i=function(){if(n&&n.fn&&n.fn.select2&&n.fn.select2.amd)var i=n.fn.select2.amd;return function(){ /** * @license almond 0.3.3 Copyright jQuery Foundation and other contributors. * Released under MIT license, http://github.com/requirejs/almond/LICENSE */ var e,t,n;i&&i.requirejs||(i?t=i:i={},function(r){var i,o,s,l,c={},u={},d={},f={},h=Object.prototype.hasOwnProperty,p=[].slice,m=/\.js$/;function g(e,t){return h.call(e,t)}function v(e,t){var n,r,i,o,s,a,l,c,u,f,h,p=t&&t.split("/"),g=d.map,v=g&&g["*"]||{};if(e){for(s=(e=e.split("/")).length-1,d.nodeIdCompat&&m.test(e[s])&&(e[s]=e[s].replace(m,"")),"."===e[0].charAt(0)&&p&&(e=p.slice(0,p.length-1).concat(e)),u=0;u<e.length;u++)if("."===(h=e[u]))e.splice(u,1),u-=1;else if(".."===h){if(0===u||1===u&&".."===e[2]||".."===e[u-1])continue;u>0&&(e.splice(u-1,2),u-=2)}e=e.join("/")}if((p||v)&&g){for(u=(n=e.split("/")).length;u>0;u-=1){if(r=n.slice(0,u).join("/"),p)for(f=p.length;f>0;f-=1)if((i=g[p.slice(0,f).join("/")])&&(i=i[r])){o=i,a=u;break}if(o)break;!l&&v&&v[r]&&(l=v[r],c=u)}!o&&l&&(o=l,a=c),o&&(n.splice(0,a,o),e=n.join("/"))}return e}function y(e,t){return function(){var n=p.call(arguments,0);return"string"!=typeof n[0]&&1===n.length&&n.push(null),o.apply(void 0,n.concat([e,t]))}}function _(e){return function(t){c[e]=t}}function b(e){if(g(u,e)){var t=u[e];delete u[e],f[e]=!0,i.apply(void 0,t)}if(!g(c,e)&&!g(f,e))throw new Error("No "+e);return c[e]}function w(e){var t,n=e?e.indexOf("!"):-1;return n>-1&&(t=e.substring(0,n),e=e.substring(n+1,e.length)),[t,e]}function x(e){return e?w(e):[]}function C(e){return function(){return d&&d.config&&d.config[e]||{}}}s=function(e,t){var n,r,i=w(e),o=i[0],s=t[1];return e=i[1],o&&(n=b(o=v(o,s))),o?e=n&&n.normalize?n.normalize(e,(r=s,function(e){return v(e,r)})):v(e,s):(o=(i=w(e=v(e,s)))[0],e=i[1],o&&(n=b(o))),{f:o?o+"!"+e:e,n:e,pr:o,p:n}},l={require:function(e){return y(e)},exports:function(e){var t=c[e];return void 0!==t?t:c[e]={}},module:function(e){return{id:e,uri:"",exports:c[e],config:C(e)}}},i=function(e,t,n,r){var i,o,d,h,p,m,v,w=[],C=void 0===n?"undefined":a(n);if(m=x(r=r||e),"undefined"===C||"function"===C){for(t=!t.length&&n.length?["require","exports","module"]:t,p=0;p<t.length;p+=1)if("require"===(o=(h=s(t[p],m)).f))w[p]=l.require(e);else if("exports"===o)w[p]=l.exports(e),v=!0;else if("module"===o)i=w[p]=l.module(e);else if(g(c,o)||g(u,o)||g(f,o))w[p]=b(o);else{if(!h.p)throw new Error(e+" missing "+o);h.p.load(h.n,y(r,!0),_(o),{}),w[p]=c[o]}d=n?n.apply(c[e],w):void 0,e&&(i&&void 0!==i.exports&&i.exports!==c[e]?c[e]=i.exports:void 0===d&&v||(c[e]=d))}else e&&(c[e]=n)},e=t=o=function(e,t,n,r,a){if("string"==typeof e)return l[e]?l[e](t):b(s(e,x(t)).f);if(!e.splice){if((d=e).deps&&o(d.deps,d.callback),!t)return;t.splice?(e=t,t=n,n=null):e=void 0}return t=t||function(){},"function"==typeof n&&(n=r,r=a),r?i(void 0,e,t,n):setTimeout((function(){i(void 0,e,t,n)}),4),o},o.config=function(e){return o(e)},e._defined=c,(n=function(e,t,n){if("string"!=typeof e)throw new Error("See almond README: incorrect module build, no module name");t.splice||(n=t,t=[]),g(c,e)||g(u,e)||(u[e]=[e,t,n])}).amd={jQuery:!0}}(),i.requirejs=e,i.require=t,i.define=n)}(),i.define("almond",(function(){})),i.define("jquery",[],(function(){var e=n||r;return null==e&&console&&console.error&&console.error("Select2: An instance of jQuery or a jQuery-compatible library was not found. Make sure that you are including jQuery before Select2 on your web page."),e})),i.define("select2/utils",["jquery"],(function(e){var t={};function n(e){var t=e.prototype,n=[];for(var r in t)"function"==typeof t[r]&&"constructor"!==r&&n.push(r);return n}t.Extend=function(e,t){var n={}.hasOwnProperty;function r(){this.constructor=e}for(var i in t)n.call(t,i)&&(e[i]=t[i]);return r.prototype=t.prototype,e.prototype=new r,e.__super__=t.prototype,e},t.Decorate=function(e,t){var r=n(t),i=n(e);function o(){var n=Array.prototype.unshift,r=t.prototype.constructor.length,i=e.prototype.constructor;r>0&&(n.call(arguments,e.prototype.constructor),i=t.prototype.constructor),i.apply(this,arguments)}t.displayName=e.displayName,o.prototype=new function(){this.constructor=o};for(var s=0;s<i.length;s++){var a=i[s];o.prototype[a]=e.prototype[a]}for(var l=function(e){var n=function(){};e in o.prototype&&(n=o.prototype[e]);var r=t.prototype[e];return function(){var e=Array.prototype.unshift;return e.call(arguments,n),r.apply(this,arguments)}},c=0;c<r.length;c++){var u=r[c];o.prototype[u]=l(u)}return o};var r=function(){this.listeners={}};r.prototype.on=function(e,t){this.listeners=this.listeners||{},e in this.listeners?this.listeners[e].push(t):this.listeners[e]=[t]},r.prototype.trigger=function(e){var t=Array.prototype.slice,n=t.call(arguments,1);this.listeners=this.listeners||{},null==n&&(n=[]),0===n.length&&n.push({}),n[0]._type=e,e in this.listeners&&this.invoke(this.listeners[e],t.call(arguments,1)),"*"in this.listeners&&this.invoke(this.listeners["*"],arguments)},r.prototype.invoke=function(e,t){for(var n=0,r=e.length;n<r;n++)e[n].apply(this,t)},t.Observable=r,t.generateChars=function(e){for(var t="",n=0;n<e;n++)t+=Math.floor(36*Math.random()).toString(36);return t},t.bind=function(e,t){return function(){e.apply(t,arguments)}},t._convertData=function(e){for(var t in e){var n=t.split("-"),r=e;if(1!==n.length){for(var i=0;i<n.length;i++){var o=n[i];(o=o.substring(0,1).toLowerCase()+o.substring(1))in r||(r[o]={}),i==n.length-1&&(r[o]=e[t]),r=r[o]}delete e[t]}}return e},t.hasScroll=function(t,n){var r=e(n),i=n.style.overflowX,o=n.style.overflowY;return(i!==o||"hidden"!==o&&"visible"!==o)&&("scroll"===i||"scroll"===o||r.innerHeight()<n.scrollHeight||r.innerWidth()<n.scrollWidth)},t.escapeMarkup=function(e){var t={"\\":"\","&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};return"string"!=typeof e?e:String(e).replace(/[&<>"'\/\\]/g,(function(e){return t[e]}))},t.appendMany=function(t,n){if("1.7"===e.fn.jquery.substr(0,3)){var r=e();e.map(n,(function(e){r=r.add(e)})),n=r}t.append(n)},t.__cache={};var i=0;return t.GetUniqueElementId=function(e){var t=e.getAttribute("data-select2-id");return null==t&&(e.id?(t=e.id,e.setAttribute("data-select2-id",t)):(e.setAttribute("data-select2-id",++i),t=i.toString())),t},t.StoreData=function(e,n,r){var i=t.GetUniqueElementId(e);t.__cache[i]||(t.__cache[i]={}),t.__cache[i][n]=r},t.GetData=function(n,r){var i=t.GetUniqueElementId(n);return r?t.__cache[i]&&null!=t.__cache[i][r]?t.__cache[i][r]:e(n).data(r):t.__cache[i]},t.RemoveData=function(e){var n=t.GetUniqueElementId(e);null!=t.__cache[n]&&delete t.__cache[n],e.removeAttribute("data-select2-id")},t})),i.define("select2/results",["jquery","./utils"],(function(e,t){function n(e,t,r){this.$element=e,this.data=r,this.options=t,n.__super__.constructor.call(this)}return t.Extend(n,t.Observable),n.prototype.render=function(){var t=e('<ul class="select2-results__options" role="listbox"></ul>');return this.options.get("multiple")&&t.attr("aria-multiselectable","true"),this.$results=t,t},n.prototype.clear=function(){this.$results.empty()},n.prototype.displayMessage=function(t){var n=this.options.get("escapeMarkup");this.clear(),this.hideLoading();var r=e('<li role="alert" aria-live="assertive" class="select2-results__option"></li>'),i=this.options.get("translations").get(t.message);r.append(n(i(t.args))),r[0].className+=" select2-results__message",this.$results.append(r)},n.prototype.hideMessages=function(){this.$results.find(".select2-results__message").remove()},n.prototype.append=function(e){this.hideLoading();var t=[];if(null!=e.results&&0!==e.results.length){e.results=this.sort(e.results);for(var n=0;n<e.results.length;n++){var r=e.results[n],i=this.option(r);t.push(i)}this.$results.append(t)}else 0===this.$results.children().length&&this.trigger("results:message",{message:"noResults"})},n.prototype.position=function(e,t){t.find(".select2-results").append(e)},n.prototype.sort=function(e){return this.options.get("sorter")(e)},n.prototype.highlightFirstItem=function(){var e=this.$results.find(".select2-results__option[aria-selected]"),t=e.filter("[aria-selected=true]");t.length>0?t.first().trigger("mouseenter"):e.first().trigger("mouseenter"),this.ensureHighlightVisible()},n.prototype.setClasses=function(){var n=this;this.data.current((function(r){var i=e.map(r,(function(e){return e.id.toString()}));n.$results.find(".select2-results__option[aria-selected]").each((function(){var n=e(this),r=t.GetData(this,"data"),o=""+r.id;null!=r.element&&r.element.selected||null==r.element&&e.inArray(o,i)>-1?n.attr("aria-selected","true"):n.attr("aria-selected","false")}))}))},n.prototype.showLoading=function(e){this.hideLoading();var t={disabled:!0,loading:!0,text:this.options.get("translations").get("searching")(e)},n=this.option(t);n.className+=" loading-results",this.$results.prepend(n)},n.prototype.hideLoading=function(){this.$results.find(".loading-results").remove()},n.prototype.option=function(n){var r=document.createElement("li");r.className="select2-results__option";var i={role:"option","aria-selected":"false"},o=window.Element.prototype.matches||window.Element.prototype.msMatchesSelector||window.Element.prototype.webkitMatchesSelector;for(var s in(null!=n.element&&o.call(n.element,":disabled")||null==n.element&&n.disabled)&&(delete i["aria-selected"],i["aria-disabled"]="true"),null==n.id&&delete i["aria-selected"],null!=n._resultId&&(r.id=n._resultId),n.title&&(r.title=n.title),n.children&&(i.role="group",i["aria-label"]=n.text,delete i["aria-selected"]),i){var a=i[s];r.setAttribute(s,a)}if(n.children){var l=e(r),c=document.createElement("strong");c.className="select2-results__group",e(c),this.template(n,c);for(var u=[],d=0;d<n.children.length;d++){var f=n.children[d],h=this.option(f);u.push(h)}var p=e("<ul></ul>",{class:"select2-results__options select2-results__options--nested"});p.append(u),l.append(c),l.append(p)}else this.template(n,r);return t.StoreData(r,"data",n),r},n.prototype.bind=function(n,r){var i=this,o=n.id+"-results";this.$results.attr("id",o),n.on("results:all",(function(e){i.clear(),i.append(e.data),n.isOpen()&&(i.setClasses(),i.highlightFirstItem())})),n.on("results:append",(function(e){i.append(e.data),n.isOpen()&&i.setClasses()})),n.on("query",(function(e){i.hideMessages(),i.showLoading(e)})),n.on("select",(function(){n.isOpen()&&(i.setClasses(),i.options.get("scrollAfterSelect")&&i.highlightFirstItem())})),n.on("unselect",(function(){n.isOpen()&&(i.setClasses(),i.options.get("scrollAfterSelect")&&i.highlightFirstItem())})),n.on("open",(function(){i.$results.attr("aria-expanded","true"),i.$results.attr("aria-hidden","false"),i.setClasses(),i.ensureHighlightVisible()})),n.on("close",(function(){i.$results.attr("aria-expanded","false"),i.$results.attr("aria-hidden","true"),i.$results.removeAttr("aria-activedescendant")})),n.on("results:toggle",(function(){var e=i.getHighlightedResults();0!==e.length&&e.trigger("mouseup")})),n.on("results:select",(function(){var e=i.getHighlightedResults();if(0!==e.length){var n=t.GetData(e[0],"data");"true"==e.attr("aria-selected")?i.trigger("close",{}):i.trigger("select",{data:n})}})),n.on("results:previous",(function(){var e=i.getHighlightedResults(),t=i.$results.find("[aria-selected]"),n=t.index(e);if(!(n<=0)){var r=n-1;0===e.length&&(r=0);var o=t.eq(r);o.trigger("mouseenter");var s=i.$results.offset().top,a=o.offset().top,l=i.$results.scrollTop()+(a-s);0===r?i.$results.scrollTop(0):a-s<0&&i.$results.scrollTop(l)}})),n.on("results:next",(function(){var e=i.getHighlightedResults(),t=i.$results.find("[aria-selected]"),n=t.index(e)+1;if(!(n>=t.length)){var r=t.eq(n);r.trigger("mouseenter");var o=i.$results.offset().top+i.$results.outerHeight(!1),s=r.offset().top+r.outerHeight(!1),a=i.$results.scrollTop()+s-o;0===n?i.$results.scrollTop(0):s>o&&i.$results.scrollTop(a)}})),n.on("results:focus",(function(e){e.element.addClass("select2-results__option--highlighted")})),n.on("results:message",(function(e){i.displayMessage(e)})),e.fn.mousewheel&&this.$results.on("mousewheel",(function(e){var t=i.$results.scrollTop(),n=i.$results.get(0).scrollHeight-t+e.deltaY,r=e.deltaY>0&&t-e.deltaY<=0,o=e.deltaY<0&&n<=i.$results.height();r?(i.$results.scrollTop(0),e.preventDefault(),e.stopPropagation()):o&&(i.$results.scrollTop(i.$results.get(0).scrollHeight-i.$results.height()),e.preventDefault(),e.stopPropagation())})),this.$results.on("mouseup",".select2-results__option[aria-selected]",(function(n){var r=e(this),o=t.GetData(this,"data");"true"!==r.attr("aria-selected")?i.trigger("select",{originalEvent:n,data:o}):i.options.get("multiple")?i.trigger("unselect",{originalEvent:n,data:o}):i.trigger("close",{})})),this.$results.on("mouseenter",".select2-results__option[aria-selected]",(function(n){var r=t.GetData(this,"data");i.getHighlightedResults().removeClass("select2-results__option--highlighted"),i.trigger("results:focus",{data:r,element:e(this)})}))},n.prototype.getHighlightedResults=function(){return this.$results.find(".select2-results__option--highlighted")},n.prototype.destroy=function(){this.$results.remove()},n.prototype.ensureHighlightVisible=function(){var e=this.getHighlightedResults();if(0!==e.length){var t=this.$results.find("[aria-selected]").index(e),n=this.$results.offset().top,r=e.offset().top,i=this.$results.scrollTop()+(r-n),o=r-n;i-=2*e.outerHeight(!1),t<=2?this.$results.scrollTop(0):(o>this.$results.outerHeight()||o<0)&&this.$results.scrollTop(i)}},n.prototype.template=function(t,n){var r=this.options.get("templateResult"),i=this.options.get("escapeMarkup"),o=r(t,n);null==o?n.style.display="none":"string"==typeof o?n.innerHTML=i(o):e(n).append(o)},n})),i.define("select2/keys",[],(function(){return{BACKSPACE:8,TAB:9,ENTER:13,SHIFT:16,CTRL:17,ALT:18,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46}})),i.define("select2/selection/base",["jquery","../utils","../keys"],(function(e,t,n){function r(e,t){this.$element=e,this.options=t,r.__super__.constructor.call(this)}return t.Extend(r,t.Observable),r.prototype.render=function(){var n=e('<span class="select2-selection" role="combobox" aria-haspopup="true" aria-expanded="false"></span>');return this._tabindex=0,null!=t.GetData(this.$element[0],"old-tabindex")?this._tabindex=t.GetData(this.$element[0],"old-tabindex"):null!=this.$element.attr("tabindex")&&(this._tabindex=this.$element.attr("tabindex")),n.attr("title",this.$element.attr("title")),n.attr("tabindex",this._tabindex),n.attr("aria-disabled","false"),this.$selection=n,n},r.prototype.bind=function(e,t){var r=this,i=e.id+"-results";this.container=e,this.$selection.on("focus",(function(e){r.trigger("focus",e)})),this.$selection.on("blur",(function(e){r._handleBlur(e)})),this.$selection.on("keydown",(function(e){r.trigger("keypress",e),e.which===n.SPACE&&e.preventDefault()})),e.on("results:focus",(function(e){r.$selection.attr("aria-activedescendant",e.data._resultId)})),e.on("selection:update",(function(e){r.update(e.data)})),e.on("open",(function(){r.$selection.attr("aria-expanded","true"),r.$selection.attr("aria-owns",i),r._attachCloseHandler(e)})),e.on("close",(function(){r.$selection.attr("aria-expanded","false"),r.$selection.removeAttr("aria-activedescendant"),r.$selection.removeAttr("aria-owns"),r.$selection.trigger("focus"),r._detachCloseHandler(e)})),e.on("enable",(function(){r.$selection.attr("tabindex",r._tabindex),r.$selection.attr("aria-disabled","false")})),e.on("disable",(function(){r.$selection.attr("tabindex","-1"),r.$selection.attr("aria-disabled","true")}))},r.prototype._handleBlur=function(t){var n=this;window.setTimeout((function(){document.activeElement==n.$selection[0]||e.contains(n.$selection[0],document.activeElement)||n.trigger("blur",t)}),1)},r.prototype._attachCloseHandler=function(n){e(document.body).on("mousedown.select2."+n.id,(function(n){var r=e(n.target).closest(".select2");e(".select2.select2-container--open").each((function(){this!=r[0]&&t.GetData(this,"element").select2("close")}))}))},r.prototype._detachCloseHandler=function(t){e(document.body).off("mousedown.select2."+t.id)},r.prototype.position=function(e,t){t.find(".selection").append(e)},r.prototype.destroy=function(){this._detachCloseHandler(this.container)},r.prototype.update=function(e){throw new Error("The `update` method must be defined in child classes.")},r})),i.define("select2/selection/single",["jquery","./base","../utils","../keys"],(function(e,t,n,r){function i(){i.__super__.constructor.apply(this,arguments)}return n.Extend(i,t),i.prototype.render=function(){var e=i.__super__.render.call(this);return e.addClass("select2-selection--single"),e.html('<span class="select2-selection__rendered"></span><span class="select2-selection__arrow" role="presentation"><b role="presentation"></b></span>'),e},i.prototype.bind=function(e,t){var n=this;i.__super__.bind.apply(this,arguments);var r=e.id+"-container";this.$selection.find(".select2-selection__rendered").attr("id",r).attr("role","textbox").attr("aria-readonly","true"),this.$selection.attr("aria-labelledby",r),this.$selection.on("mousedown",(function(e){1===e.which&&n.trigger("toggle",{originalEvent:e})})),this.$selection.on("focus",(function(e){})),this.$selection.on("blur",(function(e){})),e.on("focus",(function(t){e.isOpen()||n.$selection.trigger("focus")}))},i.prototype.clear=function(){var e=this.$selection.find(".select2-selection__rendered");e.empty(),e.removeAttr("title")},i.prototype.display=function(e,t){var n=this.options.get("templateSelection");return this.options.get("escapeMarkup")(n(e,t))},i.prototype.selectionContainer=function(){return e("<span></span>")},i.prototype.update=function(e){if(0!==e.length){var t=e[0],n=this.$selection.find(".select2-selection__rendered"),r=this.display(t,n);n.empty().append(r);var i=t.title||t.text;i?n.attr("title",i):n.removeAttr("title")}else this.clear()},i})),i.define("select2/selection/multiple",["jquery","./base","../utils"],(function(e,t,n){function r(e,t){r.__super__.constructor.apply(this,arguments)}return n.Extend(r,t),r.prototype.render=function(){var e=r.__super__.render.call(this);return e.addClass("select2-selection--multiple"),e.html('<ul class="select2-selection__rendered"></ul>'),e},r.prototype.bind=function(t,i){var o=this;r.__super__.bind.apply(this,arguments),this.$selection.on("click",(function(e){o.trigger("toggle",{originalEvent:e})})),this.$selection.on("click",".select2-selection__choice__remove",(function(t){if(!o.options.get("disabled")){var r=e(this).parent(),i=n.GetData(r[0],"data");o.trigger("unselect",{originalEvent:t,data:i})}}))},r.prototype.clear=function(){var e=this.$selection.find(".select2-selection__rendered");e.empty(),e.removeAttr("title")},r.prototype.display=function(e,t){var n=this.options.get("templateSelection");return this.options.get("escapeMarkup")(n(e,t))},r.prototype.selectionContainer=function(){return e('<li class="select2-selection__choice"><span class="select2-selection__choice__remove" role="presentation">×</span></li>')},r.prototype.update=function(e){if(this.clear(),0!==e.length){for(var t=[],r=0;r<e.length;r++){var i=e[r],o=this.selectionContainer(),s=this.display(i,o);o.append(s);var a=i.title||i.text;a&&o.attr("title",a),n.StoreData(o[0],"data",i),t.push(o)}var l=this.$selection.find(".select2-selection__rendered");n.appendMany(l,t)}},r})),i.define("select2/selection/placeholder",["../utils"],(function(e){function t(e,t,n){this.placeholder=this.normalizePlaceholder(n.get("placeholder")),e.call(this,t,n)}return t.prototype.normalizePlaceholder=function(e,t){return"string"==typeof t&&(t={id:"",text:t}),t},t.prototype.createPlaceholder=function(e,t){var n=this.selectionContainer();return n.html(this.display(t)),n.addClass("select2-selection__placeholder").removeClass("select2-selection__choice"),n},t.prototype.update=function(e,t){var n=1==t.length&&t[0].id!=this.placeholder.id;if(t.length>1||n)return e.call(this,t);this.clear();var r=this.createPlaceholder(this.placeholder);this.$selection.find(".select2-selection__rendered").append(r)},t})),i.define("select2/selection/allowClear",["jquery","../keys","../utils"],(function(e,t,n){function r(){}return r.prototype.bind=function(e,t,n){var r=this;e.call(this,t,n),null==this.placeholder&&this.options.get("debug")&&window.console&&console.error&&console.error("Select2: The `allowClear` option should be used in combination with the `placeholder` option."),this.$selection.on("mousedown",".select2-selection__clear",(function(e){r._handleClear(e)})),t.on("keypress",(function(e){r._handleKeyboardClear(e,t)}))},r.prototype._handleClear=function(e,t){if(!this.options.get("disabled")){var r=this.$selection.find(".select2-selection__clear");if(0!==r.length){t.stopPropagation();var i=n.GetData(r[0],"data"),o=this.$element.val();this.$element.val(this.placeholder.id);var s={data:i};if(this.trigger("clear",s),s.prevented)this.$element.val(o);else{for(var a=0;a<i.length;a++)if(s={data:i[a]},this.trigger("unselect",s),s.prevented)return void this.$element.val(o);this.$element.trigger("change"),this.trigger("toggle",{})}}}},r.prototype._handleKeyboardClear=function(e,n,r){r.isOpen()||n.which!=t.DELETE&&n.which!=t.BACKSPACE||this._handleClear(n)},r.prototype.update=function(t,r){if(t.call(this,r),!(this.$selection.find(".select2-selection__placeholder").length>0||0===r.length)){var i=this.options.get("translations").get("removeAllItems"),o=e('<span class="select2-selection__clear" title="'+i()+'">×</span>');n.StoreData(o[0],"data",r),this.$selection.find(".select2-selection__rendered").prepend(o)}},r})),i.define("select2/selection/search",["jquery","../utils","../keys"],(function(e,t,n){function r(e,t,n){e.call(this,t,n)}return r.prototype.render=function(t){var n=e('<li class="select2-search select2-search--inline"><input class="select2-search__field" type="search" tabindex="-1" autocomplete="off" autocorrect="off" autocapitalize="none" spellcheck="false" role="searchbox" aria-autocomplete="list" /></li>');this.$searchContainer=n,this.$search=n.find("input");var r=t.call(this);return this._transferTabIndex(),r},r.prototype.bind=function(e,r,i){var o=this,s=r.id+"-results";e.call(this,r,i),r.on("open",(function(){o.$search.attr("aria-controls",s),o.$search.trigger("focus")})),r.on("close",(function(){o.$search.val(""),o.$search.removeAttr("aria-controls"),o.$search.removeAttr("aria-activedescendant"),o.$search.trigger("focus")})),r.on("enable",(function(){o.$search.prop("disabled",!1),o._transferTabIndex()})),r.on("disable",(function(){o.$search.prop("disabled",!0)})),r.on("focus",(function(e){o.$search.trigger("focus")})),r.on("results:focus",(function(e){e.data._resultId?o.$search.attr("aria-activedescendant",e.data._resultId):o.$search.removeAttr("aria-activedescendant")})),this.$selection.on("focusin",".select2-search--inline",(function(e){o.trigger("focus",e)})),this.$selection.on("focusout",".select2-search--inline",(function(e){o._handleBlur(e)})),this.$selection.on("keydown",".select2-search--inline",(function(e){if(e.stopPropagation(),o.trigger("keypress",e),o._keyUpPrevented=e.isDefaultPrevented(),e.which===n.BACKSPACE&&""===o.$search.val()){var r=o.$searchContainer.prev(".select2-selection__choice");if(r.length>0){var i=t.GetData(r[0],"data");o.searchRemoveChoice(i),e.preventDefault()}}})),this.$selection.on("click",".select2-search--inline",(function(e){o.$search.val()&&e.stopPropagation()}));var a=document.documentMode,l=a&&a<=11;this.$selection.on("input.searchcheck",".select2-search--inline",(function(e){l?o.$selection.off("input.search input.searchcheck"):o.$selection.off("keyup.search")})),this.$selection.on("keyup.search input.search",".select2-search--inline",(function(e){if(l&&"input"===e.type)o.$selection.off("input.search input.searchcheck");else{var t=e.which;t!=n.SHIFT&&t!=n.CTRL&&t!=n.ALT&&t!=n.TAB&&o.handleSearch(e)}}))},r.prototype._transferTabIndex=function(e){this.$search.attr("tabindex",this.$selection.attr("tabindex")),this.$selection.attr("tabindex","-1")},r.prototype.createPlaceholder=function(e,t){this.$search.attr("placeholder",t.text)},r.prototype.update=function(e,t){var n=this.$search[0]==document.activeElement;this.$search.attr("placeholder",""),e.call(this,t),this.$selection.find(".select2-selection__rendered").append(this.$searchContainer),this.resizeSearch(),n&&this.$search.trigger("focus")},r.prototype.handleSearch=function(){if(this.resizeSearch(),!this._keyUpPrevented){var e=this.$search.val();this.trigger("query",{term:e})}this._keyUpPrevented=!1},r.prototype.searchRemoveChoice=function(e,t){this.trigger("unselect",{data:t}),this.$search.val(t.text),this.handleSearch()},r.prototype.resizeSearch=function(){this.$search.css("width","25px");var e="";e=""!==this.$search.attr("placeholder")?this.$selection.find(".select2-selection__rendered").width():.75*(this.$search.val().length+1)+"em",this.$search.css("width",e)},r})),i.define("select2/selection/eventRelay",["jquery"],(function(e){function t(){}return t.prototype.bind=function(t,n,r){var i=this,o=["open","opening","close","closing","select","selecting","unselect","unselecting","clear","clearing"],s=["opening","closing","selecting","unselecting","clearing"];t.call(this,n,r),n.on("*",(function(t,n){if(-1!==e.inArray(t,o)){n=n||{};var r=e.Event("select2:"+t,{params:n});i.$element.trigger(r),-1!==e.inArray(t,s)&&(n.prevented=r.isDefaultPrevented())}}))},t})),i.define("select2/translation",["jquery","require"],(function(e,t){function n(e){this.dict=e||{}}return n.prototype.all=function(){return this.dict},n.prototype.get=function(e){return this.dict[e]},n.prototype.extend=function(t){this.dict=e.extend({},t.all(),this.dict)},n._cache={},n.loadPath=function(e){if(!(e in n._cache)){var r=t(e);n._cache[e]=r}return new n(n._cache[e])},n})),i.define("select2/diacritics",[],(function(){return{}})),i.define("select2/data/base",["../utils"],(function(e){function t(e,n){t.__super__.constructor.call(this)}return e.Extend(t,e.Observable),t.prototype.current=function(e){throw new Error("The `current` method must be defined in child classes.")},t.prototype.query=function(e,t){throw new Error("The `query` method must be defined in child classes.")},t.prototype.bind=function(e,t){},t.prototype.destroy=function(){},t.prototype.generateResultId=function(t,n){var r=t.id+"-result-";return r+=e.generateChars(4),null!=n.id?r+="-"+n.id.toString():r+="-"+e.generateChars(4),r},t})),i.define("select2/data/select",["./base","../utils","jquery"],(function(e,t,n){function r(e,t){this.$element=e,this.options=t,r.__super__.constructor.call(this)}return t.Extend(r,e),r.prototype.current=function(e){var t=[],r=this;this.$element.find(":selected").each((function(){var e=n(this),i=r.item(e);t.push(i)})),e(t)},r.prototype.select=function(e){var t=this;if(e.selected=!0,n(e.element).is("option"))return e.element.selected=!0,void this.$element.trigger("change");if(this.$element.prop("multiple"))this.current((function(r){var i=[];(e=[e]).push.apply(e,r);for(var o=0;o<e.length;o++){var s=e[o].id;-1===n.inArray(s,i)&&i.push(s)}t.$element.val(i),t.$element.trigger("change")}));else{var r=e.id;this.$element.val(r),this.$element.trigger("change")}},r.prototype.unselect=function(e){var t=this;if(this.$element.prop("multiple")){if(e.selected=!1,n(e.element).is("option"))return e.element.selected=!1,void this.$element.trigger("change");this.current((function(r){for(var i=[],o=0;o<r.length;o++){var s=r[o].id;s!==e.id&&-1===n.inArray(s,i)&&i.push(s)}t.$element.val(i),t.$element.trigger("change")}))}},r.prototype.bind=function(e,t){var n=this;this.container=e,e.on("select",(function(e){n.select(e.data)})),e.on("unselect",(function(e){n.unselect(e.data)}))},r.prototype.destroy=function(){this.$element.find("*").each((function(){t.RemoveData(this)}))},r.prototype.query=function(e,t){var r=[],i=this;this.$element.children().each((function(){var t=n(this);if(t.is("option")||t.is("optgroup")){var o=i.item(t),s=i.matches(e,o);null!==s&&r.push(s)}})),t({results:r})},r.prototype.addOptions=function(e){t.appendMany(this.$element,e)},r.prototype.option=function(e){var r;e.children?(r=document.createElement("optgroup")).label=e.text:void 0!==(r=document.createElement("option")).textContent?r.textContent=e.text:r.innerText=e.text,void 0!==e.id&&(r.value=e.id),e.disabled&&(r.disabled=!0),e.selected&&(r.selected=!0),e.title&&(r.title=e.title);var i=n(r),o=this._normalizeItem(e);return o.element=r,t.StoreData(r,"data",o),i},r.prototype.item=function(e){var r={};if(null!=(r=t.GetData(e[0],"data")))return r;if(e.is("option"))r={id:e.val(),text:e.text(),disabled:e.prop("disabled"),selected:e.prop("selected"),title:e.prop("title")};else if(e.is("optgroup")){r={text:e.prop("label"),children:[],title:e.prop("title")};for(var i=e.children("option"),o=[],s=0;s<i.length;s++){var a=n(i[s]),l=this.item(a);o.push(l)}r.children=o}return(r=this._normalizeItem(r)).element=e[0],t.StoreData(e[0],"data",r),r},r.prototype._normalizeItem=function(e){return e!==Object(e)&&(e={id:e,text:e}),null!=(e=n.extend({},{text:""},e)).id&&(e.id=e.id.toString()),null!=e.text&&(e.text=e.text.toString()),null==e._resultId&&e.id&&null!=this.container&&(e._resultId=this.generateResultId(this.container,e)),n.extend({},{selected:!1,disabled:!1},e)},r.prototype.matches=function(e,t){return this.options.get("matcher")(e,t)},r})),i.define("select2/data/array",["./select","../utils","jquery"],(function(e,t,n){function r(e,t){this._dataToConvert=t.get("data")||[],r.__super__.constructor.call(this,e,t)}return t.Extend(r,e),r.prototype.bind=function(e,t){r.__super__.bind.call(this,e,t),this.addOptions(this.convertToOptions(this._dataToConvert))},r.prototype.select=function(e){var t=this.$element.find("option").filter((function(t,n){return n.value==e.id.toString()}));0===t.length&&(t=this.option(e),this.addOptions(t)),r.__super__.select.call(this,e)},r.prototype.convertToOptions=function(e){var r=this,i=this.$element.find("option"),o=i.map((function(){return r.item(n(this)).id})).get(),s=[];function a(e){return function(){return n(this).val()==e.id}}for(var l=0;l<e.length;l++){var c=this._normalizeItem(e[l]);if(n.inArray(c.id,o)>=0){var u=i.filter(a(c)),d=this.item(u),f=n.extend(!0,{},c,d),h=this.option(f);u.replaceWith(h)}else{var p=this.option(c);if(c.children){var m=this.convertToOptions(c.children);t.appendMany(p,m)}s.push(p)}}return s},r})),i.define("select2/data/ajax",["./array","../utils","jquery"],(function(e,t,n){function r(e,t){this.ajaxOptions=this._applyDefaults(t.get("ajax")),null!=this.ajaxOptions.processResults&&(this.processResults=this.ajaxOptions.processResults),r.__super__.constructor.call(this,e,t)}return t.Extend(r,e),r.prototype._applyDefaults=function(e){var t={data:function(e){return n.extend({},e,{q:e.term})},transport:function(e,t,r){var i=n.ajax(e);return i.then(t),i.fail(r),i}};return n.extend({},t,e,!0)},r.prototype.processResults=function(e){return e},r.prototype.query=function(e,t){var r=this;null!=this._request&&(n.isFunction(this._request.abort)&&this._request.abort(),this._request=null);var i=n.extend({type:"GET"},this.ajaxOptions);function o(){var o=i.transport(i,(function(i){var o=r.processResults(i,e);r.options.get("debug")&&window.console&&console.error&&(o&&o.results&&n.isArray(o.results)||console.error("Select2: The AJAX results did not return an array in the `results` key of the response.")),t(o)}),(function(){"status"in o&&(0===o.status||"0"===o.status)||r.trigger("results:message",{message:"errorLoading"})}));r._request=o}"function"==typeof i.url&&(i.url=i.url.call(this.$element,e)),"function"==typeof i.data&&(i.data=i.data.call(this.$element,e)),this.ajaxOptions.delay&&null!=e.term?(this._queryTimeout&&window.clearTimeout(this._queryTimeout),this._queryTimeout=window.setTimeout(o,this.ajaxOptions.delay)):o()},r})),i.define("select2/data/tags",["jquery"],(function(e){function t(t,n,r){var i=r.get("tags"),o=r.get("createTag");void 0!==o&&(this.createTag=o);var s=r.get("insertTag");if(void 0!==s&&(this.insertTag=s),t.call(this,n,r),e.isArray(i))for(var a=0;a<i.length;a++){var l=i[a],c=this._normalizeItem(l),u=this.option(c);this.$element.append(u)}}return t.prototype.query=function(e,t,n){var r=this;this._removeOldTags(),null!=t.term&&null==t.page?e.call(this,t,(function e(i,o){for(var s=i.results,a=0;a<s.length;a++){var l=s[a],c=null!=l.children&&!e({results:l.children},!0);if((l.text||"").toUpperCase()===(t.term||"").toUpperCase()||c)return!o&&(i.data=s,void n(i))}if(o)return!0;var u=r.createTag(t);if(null!=u){var d=r.option(u);d.attr("data-select2-tag",!0),r.addOptions([d]),r.insertTag(s,u)}i.results=s,n(i)})):e.call(this,t,n)},t.prototype.createTag=function(t,n){var r=e.trim(n.term);return""===r?null:{id:r,text:r}},t.prototype.insertTag=function(e,t,n){t.unshift(n)},t.prototype._removeOldTags=function(t){this.$element.find("option[data-select2-tag]").each((function(){this.selected||e(this).remove()}))},t})),i.define("select2/data/tokenizer",["jquery"],(function(e){function t(e,t,n){var r=n.get("tokenizer");void 0!==r&&(this.tokenizer=r),e.call(this,t,n)}return t.prototype.bind=function(e,t,n){e.call(this,t,n),this.$search=t.dropdown.$search||t.selection.$search||n.find(".select2-search__field")},t.prototype.query=function(t,n,r){var i=this;n.term=n.term||"";var o=this.tokenizer(n,this.options,(function(t){var n=i._normalizeItem(t);if(!i.$element.find("option").filter((function(){return e(this).val()===n.id})).length){var r=i.option(n);r.attr("data-select2-tag",!0),i._removeOldTags(),i.addOptions([r])}!function(e){i.trigger("select",{data:e})}(n)}));o.term!==n.term&&(this.$search.length&&(this.$search.val(o.term),this.$search.trigger("focus")),n.term=o.term),t.call(this,n,r)},t.prototype.tokenizer=function(t,n,r,i){for(var o=r.get("tokenSeparators")||[],s=n.term,a=0,l=this.createTag||function(e){return{id:e.term,text:e.term}};a<s.length;){var c=s[a];if(-1!==e.inArray(c,o)){var u=s.substr(0,a),d=l(e.extend({},n,{term:u}));null!=d?(i(d),s=s.substr(a+1)||"",a=0):a++}else a++}return{term:s}},t})),i.define("select2/data/minimumInputLength",[],(function(){function e(e,t,n){this.minimumInputLength=n.get("minimumInputLength"),e.call(this,t,n)}return e.prototype.query=function(e,t,n){t.term=t.term||"",t.term.length<this.minimumInputLength?this.trigger("results:message",{message:"inputTooShort",args:{minimum:this.minimumInputLength,input:t.term,params:t}}):e.call(this,t,n)},e})),i.define("select2/data/maximumInputLength",[],(function(){function e(e,t,n){this.maximumInputLength=n.get("maximumInputLength"),e.call(this,t,n)}return e.prototype.query=function(e,t,n){t.term=t.term||"",this.maximumInputLength>0&&t.term.length>this.maximumInputLength?this.trigger("results:message",{message:"inputTooLong",args:{maximum:this.maximumInputLength,input:t.term,params:t}}):e.call(this,t,n)},e})),i.define("select2/data/maximumSelectionLength",[],(function(){function e(e,t,n){this.maximumSelectionLength=n.get("maximumSelectionLength"),e.call(this,t,n)}return e.prototype.bind=function(e,t,n){var r=this;e.call(this,t,n),t.on("select",(function(){r._checkIfMaximumSelected()}))},e.prototype.query=function(e,t,n){var r=this;this._checkIfMaximumSelected((function(){e.call(r,t,n)}))},e.prototype._checkIfMaximumSelected=function(e,t){var n=this;this.current((function(e){var r=null!=e?e.length:0;n.maximumSelectionLength>0&&r>=n.maximumSelectionLength?n.trigger("results:message",{message:"maximumSelected",args:{maximum:n.maximumSelectionLength}}):t&&t()}))},e})),i.define("select2/dropdown",["jquery","./utils"],(function(e,t){function n(e,t){this.$element=e,this.options=t,n.__super__.constructor.call(this)}return t.Extend(n,t.Observable),n.prototype.render=function(){var t=e('<span class="select2-dropdown"><span class="select2-results"></span></span>');return t.attr("dir",this.options.get("dir")),this.$dropdown=t,t},n.prototype.bind=function(){},n.prototype.position=function(e,t){},n.prototype.destroy=function(){this.$dropdown.remove()},n})),i.define("select2/dropdown/search",["jquery","../utils"],(function(e,t){function n(){}return n.prototype.render=function(t){var n=t.call(this),r=e('<span class="select2-search select2-search--dropdown"><input class="select2-search__field" type="search" tabindex="-1" autocomplete="off" autocorrect="off" autocapitalize="none" spellcheck="false" role="searchbox" aria-autocomplete="list" /></span>');return this.$searchContainer=r,this.$search=r.find("input"),n.prepend(r),n},n.prototype.bind=function(t,n,r){var i=this,o=n.id+"-results";t.call(this,n,r),this.$search.on("keydown",(function(e){i.trigger("keypress",e),i._keyUpPrevented=e.isDefaultPrevented()})),this.$search.on("input",(function(t){e(this).off("keyup")})),this.$search.on("keyup input",(function(e){i.handleSearch(e)})),n.on("open",(function(){i.$search.attr("tabindex",0),i.$search.attr("aria-controls",o),i.$search.trigger("focus"),window.setTimeout((function(){i.$search.trigger("focus")}),0)})),n.on("close",(function(){i.$search.attr("tabindex",-1),i.$search.removeAttr("aria-controls"),i.$search.removeAttr("aria-activedescendant"),i.$search.val(""),i.$search.trigger("blur")})),n.on("focus",(function(){n.isOpen()||i.$search.trigger("focus")})),n.on("results:all",(function(e){null!=e.query.term&&""!==e.query.term||(i.showSearch(e)?i.$searchContainer.removeClass("select2-search--hide"):i.$searchContainer.addClass("select2-search--hide"))})),n.on("results:focus",(function(e){e.data._resultId?i.$search.attr("aria-activedescendant",e.data._resultId):i.$search.removeAttr("aria-activedescendant")}))},n.prototype.handleSearch=function(e){if(!this._keyUpPrevented){var t=this.$search.val();this.trigger("query",{term:t})}this._keyUpPrevented=!1},n.prototype.showSearch=function(e,t){return!0},n})),i.define("select2/dropdown/hidePlaceholder",[],(function(){function e(e,t,n,r){this.placeholder=this.normalizePlaceholder(n.get("placeholder")),e.call(this,t,n,r)}return e.prototype.append=function(e,t){t.results=this.removePlaceholder(t.results),e.call(this,t)},e.prototype.normalizePlaceholder=function(e,t){return"string"==typeof t&&(t={id:"",text:t}),t},e.prototype.removePlaceholder=function(e,t){for(var n=t.slice(0),r=t.length-1;r>=0;r--){var i=t[r];this.placeholder.id===i.id&&n.splice(r,1)}return n},e})),i.define("select2/dropdown/infiniteScroll",["jquery"],(function(e){function t(e,t,n,r){this.lastParams={},e.call(this,t,n,r),this.$loadingMore=this.createLoadingMore(),this.loading=!1}return t.prototype.append=function(e,t){this.$loadingMore.remove(),this.loading=!1,e.call(this,t),this.showLoadingMore(t)&&(this.$results.append(this.$loadingMore),this.loadMoreIfNeeded())},t.prototype.bind=function(e,t,n){var r=this;e.call(this,t,n),t.on("query",(function(e){r.lastParams=e,r.loading=!0})),t.on("query:append",(function(e){r.lastParams=e,r.loading=!0})),this.$results.on("scroll",this.loadMoreIfNeeded.bind(this))},t.prototype.loadMoreIfNeeded=function(){var t=e.contains(document.documentElement,this.$loadingMore[0]);!this.loading&&t&&this.$results.offset().top+this.$results.outerHeight(!1)+50>=this.$loadingMore.offset().top+this.$loadingMore.outerHeight(!1)&&this.loadMore()},t.prototype.loadMore=function(){this.loading=!0;var t=e.extend({},{page:1},this.lastParams);t.page++,this.trigger("query:append",t)},t.prototype.showLoadingMore=function(e,t){return t.pagination&&t.pagination.more},t.prototype.createLoadingMore=function(){var t=e('<li class="select2-results__option select2-results__option--load-more"role="option" aria-disabled="true"></li>'),n=this.options.get("translations").get("loadingMore");return t.html(n(this.lastParams)),t},t})),i.define("select2/dropdown/attachBody",["jquery","../utils"],(function(e,t){function n(t,n,r){this.$dropdownParent=e(r.get("dropdownParent")||document.body),t.call(this,n,r)}return n.prototype.bind=function(e,t,n){var r=this;e.call(this,t,n),t.on("open",(function(){r._showDropdown(),r._attachPositioningHandler(t),r._bindContainerResultHandlers(t)})),t.on("close",(function(){r._hideDropdown(),r._detachPositioningHandler(t)})),this.$dropdownContainer.on("mousedown",(function(e){e.stopPropagation()}))},n.prototype.destroy=function(e){e.call(this),this.$dropdownContainer.remove()},n.prototype.position=function(e,t,n){t.attr("class",n.attr("class")),t.removeClass("select2"),t.addClass("select2-container--open"),t.css({position:"absolute",top:-999999}),this.$container=n},n.prototype.render=function(t){var n=e("<span></span>"),r=t.call(this);return n.append(r),this.$dropdownContainer=n,n},n.prototype._hideDropdown=function(e){this.$dropdownContainer.detach()},n.prototype._bindContainerResultHandlers=function(e,t){if(!this._containerResultsHandlersBound){var n=this;t.on("results:all",(function(){n._positionDropdown(),n._resizeDropdown()})),t.on("results:append",(function(){n._positionDropdown(),n._resizeDropdown()})),t.on("results:message",(function(){n._positionDropdown(),n._resizeDropdown()})),t.on("select",(function(){n._positionDropdown(),n._resizeDropdown()})),t.on("unselect",(function(){n._positionDropdown(),n._resizeDropdown()})),this._containerResultsHandlersBound=!0}},n.prototype._attachPositioningHandler=function(n,r){var i=this,o="scroll.select2."+r.id,s="resize.select2."+r.id,a="orientationchange.select2."+r.id,l=this.$container.parents().filter(t.hasScroll);l.each((function(){t.StoreData(this,"select2-scroll-position",{x:e(this).scrollLeft(),y:e(this).scrollTop()})})),l.on(o,(function(n){var r=t.GetData(this,"select2-scroll-position");e(this).scrollTop(r.y)})),e(window).on(o+" "+s+" "+a,(function(e){i._positionDropdown(),i._resizeDropdown()}))},n.prototype._detachPositioningHandler=function(n,r){var i="scroll.select2."+r.id,o="resize.select2."+r.id,s="orientationchange.select2."+r.id;this.$container.parents().filter(t.hasScroll).off(i),e(window).off(i+" "+o+" "+s)},n.prototype._positionDropdown=function(){var t=e(window),n=this.$dropdown.hasClass("select2-dropdown--above"),r=this.$dropdown.hasClass("select2-dropdown--below"),i=null,o=this.$container.offset();o.bottom=o.top+this.$container.outerHeight(!1);var s={height:this.$container.outerHeight(!1)};s.top=o.top,s.bottom=o.top+s.height;var a=this.$dropdown.outerHeight(!1),l=t.scrollTop(),c=t.scrollTop()+t.height(),u=l<o.top-a,d=c>o.bottom+a,f={left:o.left,top:s.bottom},h=this.$dropdownParent;"static"===h.css("position")&&(h=h.offsetParent());var p={top:0,left:0};e.contains(document.body,h[0])&&(p=h.offset()),f.top-=p.top,f.left-=p.left,n||r||(i="below"),d||!u||n?!u&&d&&n&&(i="below"):i="above",("above"==i||n&&"below"!==i)&&(f.top=s.top-p.top-a),null!=i&&(this.$dropdown.removeClass("select2-dropdown--below select2-dropdown--above").addClass("select2-dropdown--"+i),this.$container.removeClass("select2-container--below select2-container--above").addClass("select2-container--"+i)),this.$dropdownContainer.css(f)},n.prototype._resizeDropdown=function(){var e={width:this.$container.outerWidth(!1)+"px"};this.options.get("dropdownAutoWidth")&&(e.minWidth=e.width,e.position="relative",e.width="auto"),this.$dropdown.css(e)},n.prototype._showDropdown=function(e){this.$dropdownContainer.appendTo(this.$dropdownParent),this._positionDropdown(),this._resizeDropdown()},n})),i.define("select2/dropdown/minimumResultsForSearch",[],(function(){function e(e,t,n,r){this.minimumResultsForSearch=n.get("minimumResultsForSearch"),this.minimumResultsForSearch<0&&(this.minimumResultsForSearch=1/0),e.call(this,t,n,r)}return e.prototype.showSearch=function(e,t){return!(function e(t){for(var n=0,r=0;r<t.length;r++){var i=t[r];i.children?n+=e(i.children):n++}return n}(t.data.results)<this.minimumResultsForSearch)&&e.call(this,t)},e})),i.define("select2/dropdown/selectOnClose",["../utils"],(function(e){function t(){}return t.prototype.bind=function(e,t,n){var r=this;e.call(this,t,n),t.on("close",(function(e){r._handleSelectOnClose(e)}))},t.prototype._handleSelectOnClose=function(t,n){if(n&&null!=n.originalSelect2Event){var r=n.originalSelect2Event;if("select"===r._type||"unselect"===r._type)return}var i=this.getHighlightedResults();if(!(i.length<1)){var o=e.GetData(i[0],"data");null!=o.element&&o.element.selected||null==o.element&&o.selected||this.trigger("select",{data:o})}},t})),i.define("select2/dropdown/closeOnSelect",[],(function(){function e(){}return e.prototype.bind=function(e,t,n){var r=this;e.call(this,t,n),t.on("select",(function(e){r._selectTriggered(e)})),t.on("unselect",(function(e){r._selectTriggered(e)}))},e.prototype._selectTriggered=function(e,t){var n=t.originalEvent;n&&(n.ctrlKey||n.metaKey)||this.trigger("close",{originalEvent:n,originalSelect2Event:t})},e})),i.define("select2/i18n/en",[],(function(){return{errorLoading:function(){return"The results could not be loaded."},inputTooLong:function(e){var t=e.input.length-e.maximum,n="Please delete "+t+" character";return 1!=t&&(n+="s"),n},inputTooShort:function(e){return"Please enter "+(e.minimum-e.input.length)+" or more characters"},loadingMore:function(){return"Loading more results…"},maximumSelected:function(e){var t="You can only select "+e.maximum+" item";return 1!=e.maximum&&(t+="s"),t},noResults:function(){return"No results found"},searching:function(){return"Searching…"},removeAllItems:function(){return"Remove all items"}}})),i.define("select2/defaults",["jquery","require","./results","./selection/single","./selection/multiple","./selection/placeholder","./selection/allowClear","./selection/search","./selection/eventRelay","./utils","./translation","./diacritics","./data/select","./data/array","./data/ajax","./data/tags","./data/tokenizer","./data/minimumInputLength","./data/maximumInputLength","./data/maximumSelectionLength","./dropdown","./dropdown/search","./dropdown/hidePlaceholder","./dropdown/infiniteScroll","./dropdown/attachBody","./dropdown/minimumResultsForSearch","./dropdown/selectOnClose","./dropdown/closeOnSelect","./i18n/en"],(function(e,t,n,r,i,o,s,a,l,c,u,d,f,h,p,m,g,v,y,_,b,w,x,C,k,S,D,E,T){function O(){this.reset()}return O.prototype.apply=function(u){if(null==(u=e.extend(!0,{},this.defaults,u)).dataAdapter){if(null!=u.ajax?u.dataAdapter=p:null!=u.data?u.dataAdapter=h:u.dataAdapter=f,u.minimumInputLength>0&&(u.dataAdapter=c.Decorate(u.dataAdapter,v)),u.maximumInputLength>0&&(u.dataAdapter=c.Decorate(u.dataAdapter,y)),u.maximumSelectionLength>0&&(u.dataAdapter=c.Decorate(u.dataAdapter,_)),u.tags&&(u.dataAdapter=c.Decorate(u.dataAdapter,m)),null==u.tokenSeparators&&null==u.tokenizer||(u.dataAdapter=c.Decorate(u.dataAdapter,g)),null!=u.query){var d=t(u.amdBase+"compat/query");u.dataAdapter=c.Decorate(u.dataAdapter,d)}if(null!=u.initSelection){var T=t(u.amdBase+"compat/initSelection");u.dataAdapter=c.Decorate(u.dataAdapter,T)}}if(null==u.resultsAdapter&&(u.resultsAdapter=n,null!=u.ajax&&(u.resultsAdapter=c.Decorate(u.resultsAdapter,C)),null!=u.placeholder&&(u.resultsAdapter=c.Decorate(u.resultsAdapter,x)),u.selectOnClose&&(u.resultsAdapter=c.Decorate(u.resultsAdapter,D))),null==u.dropdownAdapter){if(u.multiple)u.dropdownAdapter=b;else{var O=c.Decorate(b,w);u.dropdownAdapter=O}if(0!==u.minimumResultsForSearch&&(u.dropdownAdapter=c.Decorate(u.dropdownAdapter,S)),u.closeOnSelect&&(u.dropdownAdapter=c.Decorate(u.dropdownAdapter,E)),null!=u.dropdownCssClass||null!=u.dropdownCss||null!=u.adaptDropdownCssClass){var M=t(u.amdBase+"compat/dropdownCss");u.dropdownAdapter=c.Decorate(u.dropdownAdapter,M)}u.dropdownAdapter=c.Decorate(u.dropdownAdapter,k)}if(null==u.selectionAdapter){if(u.multiple?u.selectionAdapter=i:u.selectionAdapter=r,null!=u.placeholder&&(u.selectionAdapter=c.Decorate(u.selectionAdapter,o)),u.allowClear&&(u.selectionAdapter=c.Decorate(u.selectionAdapter,s)),u.multiple&&(u.selectionAdapter=c.Decorate(u.selectionAdapter,a)),null!=u.containerCssClass||null!=u.containerCss||null!=u.adaptContainerCssClass){var j=t(u.amdBase+"compat/containerCss");u.selectionAdapter=c.Decorate(u.selectionAdapter,j)}u.selectionAdapter=c.Decorate(u.selectionAdapter,l)}u.language=this._resolveLanguage(u.language),u.language.push("en");for(var A=[],P=0;P<u.language.length;P++){var L=u.language[P];-1===A.indexOf(L)&&A.push(L)}return u.language=A,u.translations=this._processTranslations(u.language,u.debug),u},O.prototype.reset=function(){function t(e){return e.replace(/[^\u0000-\u007E]/g,(function(e){return d[e]||e}))}this.defaults={amdBase:"./",amdLanguageBase:"./i18n/",closeOnSelect:!0,debug:!1,dropdownAutoWidth:!1,escapeMarkup:c.escapeMarkup,language:{},matcher:function n(r,i){if(""===e.trim(r.term))return i;if(i.children&&i.children.length>0){for(var o=e.extend(!0,{},i),s=i.children.length-1;s>=0;s--)null==n(r,i.children[s])&&o.children.splice(s,1);return o.children.length>0?o:n(r,o)}var a=t(i.text).toUpperCase(),l=t(r.term).toUpperCase();return a.indexOf(l)>-1?i:null},minimumInputLength:0,maximumInputLength:0,maximumSelectionLength:0,minimumResultsForSearch:0,selectOnClose:!1,scrollAfterSelect:!1,sorter:function(e){return e},templateResult:function(e){return e.text},templateSelection:function(e){return e.text},theme:"default",width:"resolve"}},O.prototype.applyFromElement=function(e,t){var n=e.language,r=this.defaults.language,i=t.prop("lang"),o=t.closest("[lang]").prop("lang"),s=Array.prototype.concat.call(this._resolveLanguage(i),this._resolveLanguage(n),this._resolveLanguage(r),this._resolveLanguage(o));return e.language=s,e},O.prototype._resolveLanguage=function(t){if(!t)return[];if(e.isEmptyObject(t))return[];if(e.isPlainObject(t))return[t];var n;n=e.isArray(t)?t:[t];for(var r=[],i=0;i<n.length;i++)if(r.push(n[i]),"string"==typeof n[i]&&n[i].indexOf("-")>0){var o=n[i].split("-")[0];r.push(o)}return r},O.prototype._processTranslations=function(t,n){for(var r=new u,i=0;i<t.length;i++){var o=new u,s=t[i];if("string"==typeof s)try{o=u.loadPath(s)}catch(e){try{s=this.defaults.amdLanguageBase+s,o=u.loadPath(s)}catch(e){n&&window.console&&console.warn&&console.warn('Select2: The language file for "'+s+'" could not be automatically loaded. A fallback will be used instead.')}}else o=e.isPlainObject(s)?new u(s):s;r.extend(o)}return r},O.prototype.set=function(t,n){var r={};r[e.camelCase(t)]=n;var i=c._convertData(r);e.extend(!0,this.defaults,i)},new O})),i.define("select2/options",["require","jquery","./defaults","./utils"],(function(e,t,n,r){function i(t,i){if(this.options=t,null!=i&&this.fromElement(i),null!=i&&(this.options=n.applyFromElement(this.options,i)),this.options=n.apply(this.options),i&&i.is("input")){var o=e(this.get("amdBase")+"compat/inputData");this.options.dataAdapter=r.Decorate(this.options.dataAdapter,o)}}return i.prototype.fromElement=function(e){var n=["select2"];null==this.options.multiple&&(this.options.multiple=e.prop("multiple")),null==this.options.disabled&&(this.options.disabled=e.prop("disabled")),null==this.options.dir&&(e.prop("dir")?this.options.dir=e.prop("dir"):e.closest("[dir]").prop("dir")?this.options.dir=e.closest("[dir]").prop("dir"):this.options.dir="ltr"),e.prop("disabled",this.options.disabled),e.prop("multiple",this.options.multiple),r.GetData(e[0],"select2Tags")&&(this.options.debug&&window.console&&console.warn&&console.warn('Select2: The `data-select2-tags` attribute has been changed to use the `data-data` and `data-tags="true"` attributes and will be removed in future versions of Select2.'),r.StoreData(e[0],"data",r.GetData(e[0],"select2Tags")),r.StoreData(e[0],"tags",!0)),r.GetData(e[0],"ajaxUrl")&&(this.options.debug&&window.console&&console.warn&&console.warn("Select2: The `data-ajax-url` attribute has been changed to `data-ajax--url` and support for the old attribute will be removed in future versions of Select2."),e.attr("ajax--url",r.GetData(e[0],"ajaxUrl")),r.StoreData(e[0],"ajax-Url",r.GetData(e[0],"ajaxUrl")));var i={};function o(e,t){return t.toUpperCase()}for(var s=0;s<e[0].attributes.length;s++){var a=e[0].attributes[s].name;if("data-"==a.substr(0,"data-".length)){var l=a.substring("data-".length),c=r.GetData(e[0],l);i[l.replace(/-([a-z])/g,o)]=c}}t.fn.jquery&&"1."==t.fn.jquery.substr(0,2)&&e[0].dataset&&(i=t.extend(!0,{},e[0].dataset,i));var u=t.extend(!0,{},r.GetData(e[0]),i);for(var d in u=r._convertData(u))t.inArray(d,n)>-1||(t.isPlainObject(this.options[d])?t.extend(this.options[d],u[d]):this.options[d]=u[d]);return this},i.prototype.get=function(e){return this.options[e]},i.prototype.set=function(e,t){this.options[e]=t},i})),i.define("select2/core",["jquery","./options","./utils","./keys"],(function(e,t,n,r){var i=function e(r,i){null!=n.GetData(r[0],"select2")&&n.GetData(r[0],"select2").destroy(),this.$element=r,this.id=this._generateId(r),i=i||{},this.options=new t(i,r),e.__super__.constructor.call(this);var o=r.attr("tabindex")||0;n.StoreData(r[0],"old-tabindex",o),r.attr("tabindex","-1");var s=this.options.get("dataAdapter");this.dataAdapter=new s(r,this.options);var a=this.render();this._placeContainer(a);var l=this.options.get("selectionAdapter");this.selection=new l(r,this.options),this.$selection=this.selection.render(),this.selection.position(this.$selection,a);var c=this.options.get("dropdownAdapter");this.dropdown=new c(r,this.options),this.$dropdown=this.dropdown.render(),this.dropdown.position(this.$dropdown,a);var u=this.options.get("resultsAdapter");this.results=new u(r,this.options,this.dataAdapter),this.$results=this.results.render(),this.results.position(this.$results,this.$dropdown);var d=this;this._bindAdapters(),this._registerDomEvents(),this._registerDataEvents(),this._registerSelectionEvents(),this._registerDropdownEvents(),this._registerResultsEvents(),this._registerEvents(),this.dataAdapter.current((function(e){d.trigger("selection:update",{data:e})})),r.addClass("select2-hidden-accessible"),r.attr("aria-hidden","true"),this._syncAttributes(),n.StoreData(r[0],"select2",this),r.data("select2",this)};return n.Extend(i,n.Observable),i.prototype._generateId=function(e){return"select2-"+(null!=e.attr("id")?e.attr("id"):null!=e.attr("name")?e.attr("name")+"-"+n.generateChars(2):n.generateChars(4)).replace(/(:|\.|\[|\]|,)/g,"")},i.prototype._placeContainer=function(e){e.insertAfter(this.$element);var t=this._resolveWidth(this.$element,this.options.get("width"));null!=t&&e.css("width",t)},i.prototype._resolveWidth=function(e,t){var n=/^width:(([-+]?([0-9]*\.)?[0-9]+)(px|em|ex|%|in|cm|mm|pt|pc))/i;if("resolve"==t){var r=this._resolveWidth(e,"style");return null!=r?r:this._resolveWidth(e,"element")}if("element"==t){var i=e.outerWidth(!1);return i<=0?"auto":i+"px"}if("style"==t){var o=e.attr("style");if("string"!=typeof o)return null;for(var s=o.split(";"),a=0,l=s.length;a<l;a+=1){var c=s[a].replace(/\s/g,"").match(n);if(null!==c&&c.length>=1)return c[1]}return null}return"computedstyle"==t?window.getComputedStyle(e[0]).width:t},i.prototype._bindAdapters=function(){this.dataAdapter.bind(this,this.$container),this.selection.bind(this,this.$container),this.dropdown.bind(this,this.$container),this.results.bind(this,this.$container)},i.prototype._registerDomEvents=function(){var t=this;this.$element.on("change.select2",(function(){t.dataAdapter.current((function(e){t.trigger("selection:update",{data:e})}))})),this.$element.on("focus.select2",(function(e){t.trigger("focus",e)})),this._syncA=n.bind(this._syncAttributes,this),this._syncS=n.bind(this._syncSubtree,this),this.$element[0].attachEvent&&this.$element[0].attachEvent("onpropertychange",this._syncA);var r=window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver;null!=r?(this._observer=new r((function(n){e.each(n,t._syncA),e.each(n,t._syncS)})),this._observer.observe(this.$element[0],{attributes:!0,childList:!0,subtree:!1})):this.$element[0].addEventListener&&(this.$element[0].addEventListener("DOMAttrModified",t._syncA,!1),this.$element[0].addEventListener("DOMNodeInserted",t._syncS,!1),this.$element[0].addEventListener("DOMNodeRemoved",t._syncS,!1))},i.prototype._registerDataEvents=function(){var e=this;this.dataAdapter.on("*",(function(t,n){e.trigger(t,n)}))},i.prototype._registerSelectionEvents=function(){var t=this,n=["toggle","focus"];this.selection.on("toggle",(function(){t.toggleDropdown()})),this.selection.on("focus",(function(e){t.focus(e)})),this.selection.on("*",(function(r,i){-1===e.inArray(r,n)&&t.trigger(r,i)}))},i.prototype._registerDropdownEvents=function(){var e=this;this.dropdown.on("*",(function(t,n){e.trigger(t,n)}))},i.prototype._registerResultsEvents=function(){var e=this;this.results.on("*",(function(t,n){e.trigger(t,n)}))},i.prototype._registerEvents=function(){var e=this;this.on("open",(function(){e.$container.addClass("select2-container--open")})),this.on("close",(function(){e.$container.removeClass("select2-container--open")})),this.on("enable",(function(){e.$container.removeClass("select2-container--disabled")})),this.on("disable",(function(){e.$container.addClass("select2-container--disabled")})),this.on("blur",(function(){e.$container.removeClass("select2-container--focus")})),this.on("query",(function(t){e.isOpen()||e.trigger("open",{}),this.dataAdapter.query(t,(function(n){e.trigger("results:all",{data:n,query:t})}))})),this.on("query:append",(function(t){this.dataAdapter.query(t,(function(n){e.trigger("results:append",{data:n,query:t})}))})),this.on("keypress",(function(t){var n=t.which;e.isOpen()?n===r.ESC||n===r.TAB||n===r.UP&&t.altKey?(e.close(),t.preventDefault()):n===r.ENTER?(e.trigger("results:select",{}),t.preventDefault()):n===r.SPACE&&t.ctrlKey?(e.trigger("results:toggle",{}),t.preventDefault()):n===r.UP?(e.trigger("results:previous",{}),t.preventDefault()):n===r.DOWN&&(e.trigger("results:next",{}),t.preventDefault()):(n===r.ENTER||n===r.SPACE||n===r.DOWN&&t.altKey)&&(e.open(),t.preventDefault())}))},i.prototype._syncAttributes=function(){this.options.set("disabled",this.$element.prop("disabled")),this.options.get("disabled")?(this.isOpen()&&this.close(),this.trigger("disable",{})):this.trigger("enable",{})},i.prototype._syncSubtree=function(e,t){var n=!1,r=this;if(!e||!e.target||"OPTION"===e.target.nodeName||"OPTGROUP"===e.target.nodeName){if(t)if(t.addedNodes&&t.addedNodes.length>0)for(var i=0;i<t.addedNodes.length;i++)t.addedNodes[i].selected&&(n=!0);else t.removedNodes&&t.removedNodes.length>0&&(n=!0);else n=!0;n&&this.dataAdapter.current((function(e){r.trigger("selection:update",{data:e})}))}},i.prototype.trigger=function(e,t){var n=i.__super__.trigger,r={open:"opening",close:"closing",select:"selecting",unselect:"unselecting",clear:"clearing"};if(void 0===t&&(t={}),e in r){var o=r[e],s={prevented:!1,name:e,args:t};if(n.call(this,o,s),s.prevented)return void(t.prevented=!0)}n.call(this,e,t)},i.prototype.toggleDropdown=function(){this.options.get("disabled")||(this.isOpen()?this.close():this.open())},i.prototype.open=function(){this.isOpen()||this.trigger("query",{})},i.prototype.close=function(){this.isOpen()&&this.trigger("close",{})},i.prototype.isOpen=function(){return this.$container.hasClass("select2-container--open")},i.prototype.hasFocus=function(){return this.$container.hasClass("select2-container--focus")},i.prototype.focus=function(e){this.hasFocus()||(this.$container.addClass("select2-container--focus"),this.trigger("focus",{}))},i.prototype.enable=function(e){this.options.get("debug")&&window.console&&console.warn&&console.warn('Select2: The `select2("enable")` method has been deprecated and will be removed in later Select2 versions. Use $element.prop("disabled") instead.'),null!=e&&0!==e.length||(e=[!0]);var t=!e[0];this.$element.prop("disabled",t)},i.prototype.data=function(){this.options.get("debug")&&arguments.length>0&&window.console&&console.warn&&console.warn('Select2: Data can no longer be set using `select2("data")`. You should consider setting the value instead using `$element.val()`.');var e=[];return this.dataAdapter.current((function(t){e=t})),e},i.prototype.val=function(t){if(this.options.get("debug")&&window.console&&console.warn&&console.warn('Select2: The `select2("val")` method has been deprecated and will be removed in later Select2 versions. Use $element.val() instead.'),null==t||0===t.length)return this.$element.val();var n=t[0];e.isArray(n)&&(n=e.map(n,(function(e){return e.toString()}))),this.$element.val(n).trigger("change")},i.prototype.destroy=function(){this.$container.remove(),this.$element[0].detachEvent&&this.$element[0].detachEvent("onpropertychange",this._syncA),null!=this._observer?(this._observer.disconnect(),this._observer=null):this.$element[0].removeEventListener&&(this.$element[0].removeEventListener("DOMAttrModified",this._syncA,!1),this.$element[0].removeEventListener("DOMNodeInserted",this._syncS,!1),this.$element[0].removeEventListener("DOMNodeRemoved",this._syncS,!1)),this._syncA=null,this._syncS=null,this.$element.off(".select2"),this.$element.attr("tabindex",n.GetData(this.$element[0],"old-tabindex")),this.$element.removeClass("select2-hidden-accessible"),this.$element.attr("aria-hidden","false"),n.RemoveData(this.$element[0]),this.$element.removeData("select2"),this.dataAdapter.destroy(),this.selection.destroy(),this.dropdown.destroy(),this.results.destroy(),this.dataAdapter=null,this.selection=null,this.dropdown=null,this.results=null},i.prototype.render=function(){var t=e('<span class="select2 select2-container"><span class="selection"></span><span class="dropdown-wrapper" aria-hidden="true"></span></span>');return t.attr("dir",this.options.get("dir")),this.$container=t,this.$container.addClass("select2-container--"+this.options.get("theme")),n.StoreData(t[0],"element",this.$element),t},i})),i.define("select2/compat/utils",["jquery"],(function(e){return{syncCssClasses:function(t,n,r){var i,o,s=[];(i=e.trim(t.attr("class")))&&e((i=""+i).split(/\s+/)).each((function(){0===this.indexOf("select2-")&&s.push(this)})),(i=e.trim(n.attr("class")))&&e((i=""+i).split(/\s+/)).each((function(){0!==this.indexOf("select2-")&&null!=(o=r(this))&&s.push(o)})),t.attr("class",s.join(" "))}}})),i.define("select2/compat/containerCss",["jquery","./utils"],(function(e,t){function n(e){return null}function r(){}return r.prototype.render=function(r){var i=r.call(this),o=this.options.get("containerCssClass")||"";e.isFunction(o)&&(o=o(this.$element));var s=this.options.get("adaptContainerCssClass");if(s=s||n,-1!==o.indexOf(":all:")){o=o.replace(":all:","");var a=s;s=function(e){var t=a(e);return null!=t?t+" "+e:e}}var l=this.options.get("containerCss")||{};return e.isFunction(l)&&(l=l(this.$element)),t.syncCssClasses(i,this.$element,s),i.css(l),i.addClass(o),i},r})),i.define("select2/compat/dropdownCss",["jquery","./utils"],(function(e,t){function n(e){return null}function r(){}return r.prototype.render=function(r){var i=r.call(this),o=this.options.get("dropdownCssClass")||"";e.isFunction(o)&&(o=o(this.$element));var s=this.options.get("adaptDropdownCssClass");if(s=s||n,-1!==o.indexOf(":all:")){o=o.replace(":all:","");var a=s;s=function(e){var t=a(e);return null!=t?t+" "+e:e}}var l=this.options.get("dropdownCss")||{};return e.isFunction(l)&&(l=l(this.$element)),t.syncCssClasses(i,this.$element,s),i.css(l),i.addClass(o),i},r})),i.define("select2/compat/initSelection",["jquery"],(function(e){function t(e,t,n){n.get("debug")&&window.console&&console.warn&&console.warn("Select2: The `initSelection` option has been deprecated in favor of a custom data adapter that overrides the `current` method. This method is now called multiple times instead of a single time when the instance is initialized. Support will be removed for the `initSelection` option in future versions of Select2"),this.initSelection=n.get("initSelection"),this._isInitialized=!1,e.call(this,t,n)}return t.prototype.current=function(t,n){var r=this;this._isInitialized?t.call(this,n):this.initSelection.call(null,this.$element,(function(t){r._isInitialized=!0,e.isArray(t)||(t=[t]),n(t)}))},t})),i.define("select2/compat/inputData",["jquery","../utils"],(function(e,t){function n(e,t,n){this._currentData=[],this._valueSeparator=n.get("valueSeparator")||",","hidden"===t.prop("type")&&n.get("debug")&&console&&console.warn&&console.warn("Select2: Using a hidden input with Select2 is no longer supported and may stop working in the future. It is recommended to use a `<select>` element instead."),e.call(this,t,n)}return n.prototype.current=function(t,n){function r(t,n){var i=[];return t.selected||-1!==e.inArray(t.id,n)?(t.selected=!0,i.push(t)):t.selected=!1,t.children&&i.push.apply(i,r(t.children,n)),i}for(var i=[],o=0;o<this._currentData.length;o++){var s=this._currentData[o];i.push.apply(i,r(s,this.$element.val().split(this._valueSeparator)))}n(i)},n.prototype.select=function(t,n){if(this.options.get("multiple")){var r=this.$element.val();r+=this._valueSeparator+n.id,this.$element.val(r),this.$element.trigger("change")}else this.current((function(t){e.map(t,(function(e){e.selected=!1}))})),this.$element.val(n.id),this.$element.trigger("change")},n.prototype.unselect=function(e,t){var n=this;t.selected=!1,this.current((function(e){for(var r=[],i=0;i<e.length;i++){var o=e[i];t.id!=o.id&&r.push(o.id)}n.$element.val(r.join(n._valueSeparator)),n.$element.trigger("change")}))},n.prototype.query=function(e,t,n){for(var r=[],i=0;i<this._currentData.length;i++){var o=this._currentData[i],s=this.matches(t,o);null!==s&&r.push(s)}n({results:r})},n.prototype.addOptions=function(n,r){var i=e.map(r,(function(e){return t.GetData(e[0],"data")}));this._currentData.push.apply(this._currentData,i)},n})),i.define("select2/compat/matcher",["jquery"],(function(e){return function(t){return function(n,r){var i=e.extend(!0,{},r);if(null==n.term||""===e.trim(n.term))return i;if(r.children){for(var o=r.children.length-1;o>=0;o--){var s=r.children[o];t(n.term,s.text,s)||i.children.splice(o,1)}if(i.children.length>0)return i}return t(n.term,r.text,r)?i:null}}})),i.define("select2/compat/query",[],(function(){function e(e,t,n){n.get("debug")&&window.console&&console.warn&&console.warn("Select2: The `query` option has been deprecated in favor of a custom data adapter that overrides the `query` method. Support will be removed for the `query` option in future versions of Select2."),e.call(this,t,n)}return e.prototype.query=function(e,t,n){t.callback=n,this.options.get("query").call(null,t)},e})),i.define("select2/dropdown/attachContainer",[],(function(){function e(e,t,n){e.call(this,t,n)}return e.prototype.position=function(e,t,n){n.find(".dropdown-wrapper").append(t),t.addClass("select2-dropdown--below"),n.addClass("select2-container--below")},e})),i.define("select2/dropdown/stopPropagation",[],(function(){function e(){}return e.prototype.bind=function(e,t,n){e.call(this,t,n),this.$dropdown.on(["blur","change","click","dblclick","focus","focusin","focusout","input","keydown","keyup","keypress","mousedown","mouseenter","mouseleave","mousemove","mouseover","mouseup","search","touchend","touchstart"].join(" "),(function(e){e.stopPropagation()}))},e})),i.define("select2/selection/stopPropagation",[],(function(){function e(){}return e.prototype.bind=function(e,t,n){e.call(this,t,n),this.$selection.on(["blur","change","click","dblclick","focus","focusin","focusout","input","keydown","keyup","keypress","mousedown","mouseenter","mouseleave","mousemove","mouseover","mouseup","search","touchend","touchstart"].join(" "),(function(e){e.stopPropagation()}))},e})), /*! * jQuery Mousewheel 3.1.13 * * Copyright jQuery Foundation and other contributors * Released under the MIT license * http://jquery.org/license */ function(r){"function"==typeof i.define&&i.define.amd?i.define("jquery-mousewheel",["jquery"],r):"object"===a(t)?e.exports=r:r(n)}((function(e){var t,n,r=["wheel","mousewheel","DOMMouseScroll","MozMousePixelScroll"],i="onwheel"in document||document.documentMode>=9?["wheel"]:["mousewheel","DomMouseScroll","MozMousePixelScroll"],o=Array.prototype.slice;if(e.event.fixHooks)for(var s=r.length;s;)e.event.fixHooks[r[--s]]=e.event.mouseHooks;var a=e.event.special.mousewheel={version:"3.1.12",setup:function(){if(this.addEventListener)for(var t=i.length;t;)this.addEventListener(i[--t],l,!1);else this.onmousewheel=l;e.data(this,"mousewheel-line-height",a.getLineHeight(this)),e.data(this,"mousewheel-page-height",a.getPageHeight(this))},teardown:function(){if(this.removeEventListener)for(var t=i.length;t;)this.removeEventListener(i[--t],l,!1);else this.onmousewheel=null;e.removeData(this,"mousewheel-line-height"),e.removeData(this,"mousewheel-page-height")},getLineHeight:function(t){var n=e(t),r=n["offsetParent"in e.fn?"offsetParent":"parent"]();return r.length||(r=e("body")),parseInt(r.css("fontSize"),10)||parseInt(n.css("fontSize"),10)||16},getPageHeight:function(t){return e(t).height()},settings:{adjustOldDeltas:!0,normalizeOffset:!0}};function l(r){var i=r||window.event,s=o.call(arguments,1),l=0,d=0,f=0,h=0,p=0,m=0;if((r=e.event.fix(i)).type="mousewheel","detail"in i&&(f=-1*i.detail),"wheelDelta"in i&&(f=i.wheelDelta),"wheelDeltaY"in i&&(f=i.wheelDeltaY),"wheelDeltaX"in i&&(d=-1*i.wheelDeltaX),"axis"in i&&i.axis===i.HORIZONTAL_AXIS&&(d=-1*f,f=0),l=0===f?d:f,"deltaY"in i&&(l=f=-1*i.deltaY),"deltaX"in i&&(d=i.deltaX,0===f&&(l=-1*d)),0!==f||0!==d){if(1===i.deltaMode){var g=e.data(this,"mousewheel-line-height");l*=g,f*=g,d*=g}else if(2===i.deltaMode){var v=e.data(this,"mousewheel-page-height");l*=v,f*=v,d*=v}if(h=Math.max(Math.abs(f),Math.abs(d)),(!n||h<n)&&(n=h,u(i,h)&&(n/=40)),u(i,h)&&(l/=40,d/=40,f/=40),l=Math[l>=1?"floor":"ceil"](l/n),d=Math[d>=1?"floor":"ceil"](d/n),f=Math[f>=1?"floor":"ceil"](f/n),a.settings.normalizeOffset&&this.getBoundingClientRect){var y=this.getBoundingClientRect();p=r.clientX-y.left,m=r.clientY-y.top}return r.deltaX=d,r.deltaY=f,r.deltaFactor=n,r.offsetX=p,r.offsetY=m,r.deltaMode=0,s.unshift(r,l,d,f),t&&clearTimeout(t),t=setTimeout(c,200),(e.event.dispatch||e.event.handle).apply(this,s)}}function c(){n=null}function u(e,t){return a.settings.adjustOldDeltas&&"mousewheel"===e.type&&t%120==0}e.fn.extend({mousewheel:function(e){return e?this.bind("mousewheel",e):this.trigger("mousewheel")},unmousewheel:function(e){return this.unbind("mousewheel",e)}})})),i.define("jquery.select2",["jquery","jquery-mousewheel","./select2/core","./select2/defaults","./select2/utils"],(function(e,t,n,r,i){if(null==e.fn.select2){var o=["open","close","destroy"];e.fn.select2=function(t){if("object"===(void 0===(t=t||{})?"undefined":a(t)))return this.each((function(){var r=e.extend(!0,{},t);new n(e(this),r)})),this;if("string"==typeof t){var r,s=Array.prototype.slice.call(arguments,1);return this.each((function(){var e=i.GetData(this,"select2");null==e&&window.console&&console.error&&console.error("The select2('"+t+"') method was called on an element that is not using Select2."),r=e[t].apply(e,s)})),e.inArray(t,o)>-1?this:r}throw new Error("Invalid arguments for Select2: "+t)}}return null==e.fn.select2.defaults&&(e.fn.select2.defaults=r),n})),{define:i.define,require:i.require}}(),o=i.require("jquery.select2");return n.fn.select2.amd=i,o})?i.apply(t,o):i)||(e.exports=s)}).call(this,n(1))},function(e,t,n){"use strict";(function(e){ /*! Select2 4.0.11 | https://github.com/select2/select2/blob/master/LICENSE.md */ !function(){if(e&&e.fn&&e.fn.select2&&e.fn.select2.amd)var t=e.fn.select2.amd;t.define("select2/i18n/ru",[],(function(){function e(e,t,n,r){return e%10<5&&e%10>0&&e%100<5||e%100>20?e%10>1?n:t:r}return{errorLoading:function(){return"Íåâîçìîæíî çàãðóçèòü ðåçóëüòàòû"},inputTooLong:function(t){var n=t.input.length-t.maximum,r="Ïîæàëóéñòà, ââåäèòå íà "+n+" ñèìâîë";return(r+=e(n,"","a","îâ"))+" ìåíüøå"},inputTooShort:function(t){var n=t.minimum-t.input.length;return"Ïîæàëóéñòà, ââåäèòå åù¸ õîòÿ áû "+n+" ñèìâîë"+e(n,"","a","îâ")},loadingMore:function(){return"Çàãðóçêà äàííûõ…"},maximumSelected:function(t){return"Âû ìîæåòå âûáðàòü íå áîëåå "+t.maximum+" ýëåìåíò"+e(t.maximum,"","a","îâ")},noResults:function(){return"Ñîâïàäåíèé íå íàéäåíî"},searching:function(){return"Ïîèñê…"},removeAllItems:function(){return"Óäàëèòü âñå ýëåìåíòû"}}})),t.define,t.require}()}).call(this,n(1))},function(e,t,n){"use strict";var r,i,o;i=[n(1)],void 0===(o="function"==typeof(r=function(e){var t={data:{index:0,name:"scrollbar"},macosx:/mac/i.test(navigator.platform),mobile:/android|webos|iphone|ipad|ipod|blackberry/i.test(navigator.userAgent),overlay:null,scroll:null,scrolls:[],webkit:/webkit/i.test(navigator.userAgent)&&!/edge\/\d+/i.test(navigator.userAgent)};t.scrolls.add=function(e){this.remove(e).push(e)},t.scrolls.remove=function(t){for(;e.inArray(t,this)>=0;)this.splice(e.inArray(t,this),1);return this};var n={autoScrollSize:!0,autoUpdate:!0,debug:!1,disableBodyScroll:!1,duration:200,ignoreMobile:!1,ignoreOverlay:!1,scrollStep:30,showArrows:!1,stepScrolling:!0,scrollx:null,scrolly:null,onDestroy:null,onInit:null,onScroll:null,onUpdate:null},r=function(r){var i;t.scroll||(t.overlay=!((i=l(!0)).height||i.width),t.scroll=l(),a(),e(window).resize((function(){var e=!1;if(t.scroll&&(t.scroll.height||t.scroll.width)){var n=l();n.height===t.scroll.height&&n.width===t.scroll.width||(t.scroll=n,e=!0)}a(e)}))),this.container=r,this.namespace=".scrollbar_"+t.data.index++,this.options=e.extend({},n,window.jQueryScrollbarOptions||{}),this.scrollTo=null,this.scrollx={},this.scrolly={},r.data(t.data.name,this),t.scrolls.add(this)};r.prototype={destroy:function(){if(this.wrapper){this.container.removeData(t.data.name),t.scrolls.remove(this);var n=this.container.scrollLeft(),r=this.container.scrollTop();this.container.insertBefore(this.wrapper).css({height:"",margin:"","max-height":""}).removeClass("scroll-content scroll-scrollx_visible scroll-scrolly_visible").off(this.namespace).scrollLeft(n).scrollTop(r),this.scrollx.scroll.removeClass("scroll-scrollx_visible").find("div").andSelf().off(this.namespace),this.scrolly.scroll.removeClass("scroll-scrolly_visible").find("div").andSelf().off(this.namespace),this.wrapper.remove(),e(document).add("body").off(this.namespace),e.isFunction(this.options.onDestroy)&&this.options.onDestroy.apply(this,[this.container])}},init:function(n){var r=this,i=this.container,o=this.containerWrapper||i,s=this.namespace,a=e.extend(this.options,n||{}),l={x:this.scrollx,y:this.scrolly},u=this.wrapper,d={scrollLeft:i.scrollLeft(),scrollTop:i.scrollTop()};if(t.mobile&&a.ignoreMobile||t.overlay&&a.ignoreOverlay||t.macosx&&!t.webkit)return!1;if(u)o.css({height:"auto","margin-bottom":-1*t.scroll.height+"px","margin-right":-1*t.scroll.width+"px","max-height":""});else{if(this.wrapper=u=e("<div>").addClass("scroll-wrapper").addClass(i.attr("class")).css("position","absolute"==i.css("position")?"absolute":"relative").insertBefore(i).append(i),i.is("textarea")&&(this.containerWrapper=o=e("<div>").insertBefore(i).append(i),u.addClass("scroll-textarea")),o.addClass("scroll-content").css({height:"auto","margin-bottom":-1*t.scroll.height+"px","margin-right":-1*t.scroll.width+"px","max-height":""}),i.on("scroll"+s,(function(t){e.isFunction(a.onScroll)&&a.onScroll.call(r,{maxScroll:l.y.maxScrollOffset,scroll:i.scrollTop(),size:l.y.size,visible:l.y.visible},{maxScroll:l.x.maxScrollOffset,scroll:i.scrollLeft(),size:l.x.size,visible:l.x.visible}),l.x.isVisible&&l.x.scroll.bar.css("left",i.scrollLeft()*l.x.kx+"px"),l.y.isVisible&&l.y.scroll.bar.css("top",i.scrollTop()*l.y.kx+"px")})),u.on("scroll"+s,(function(){u.scrollTop(0).scrollLeft(0)})),a.disableBodyScroll){var f=function(e){c(e)?l.y.isVisible&&l.y.mousewheel(e):l.x.isVisible&&l.x.mousewheel(e)};u.on("MozMousePixelScroll"+s,f),u.on("mousewheel"+s,f),t.mobile&&u.on("touchstart"+s,(function(t){var n=t.originalEvent.touches&&t.originalEvent.touches[0]||t,r=n.pageX,o=n.pageY,a=i.scrollLeft(),l=i.scrollTop();e(document).on("touchmove"+s,(function(e){var t=e.originalEvent.targetTouches&&e.originalEvent.targetTouches[0]||e;i.scrollLeft(a+r-t.pageX),i.scrollTop(l+o-t.pageY),e.preventDefault()})),e(document).on("touchend"+s,(function(){e(document).off(s)}))}))}e.isFunction(a.onInit)&&a.onInit.apply(this,[i])}e.each(l,(function(t,n){var o=null,u=1,d="x"===t?"scrollLeft":"scrollTop",f=a.scrollStep,h=function(){var e=i[d]();i[d](e+f),1==u&&e+f>=p&&(e=i[d]()),-1==u&&e+f<=p&&(e=i[d]()),i[d]()==e&&o&&o()},p=0;n.scroll||(n.scroll=r._getScroll(a["scroll"+t]).addClass("scroll-"+t),a.showArrows&&n.scroll.addClass("scroll-element_arrows_visible"),n.mousewheel=function(e){if(!n.isVisible||"x"===t&&c(e))return!0;if("y"===t&&!c(e))return l.x.mousewheel(e),!0;var o=-1*e.originalEvent.wheelDelta||e.originalEvent.detail,s=n.size-n.visible-n.offset;return(o>0&&p<s||o<0&&p>0)&&((p+=o)<0&&(p=0),p>s&&(p=s),r.scrollTo=r.scrollTo||{},r.scrollTo[d]=p,setTimeout((function(){r.scrollTo&&(i.stop().animate(r.scrollTo,240,"linear",(function(){p=i[d]()})),r.scrollTo=null)}),1)),e.preventDefault(),!1},n.scroll.on("MozMousePixelScroll"+s,n.mousewheel).on("mousewheel"+s,n.mousewheel).on("mouseenter"+s,(function(){p=i[d]()})),n.scroll.find(".scroll-arrow, .scroll-element_track").on("mousedown"+s,(function(s){if(1!=s.which)return!0;u=1;var l={eventOffset:s["x"===t?"pageX":"pageY"],maxScrollValue:n.size-n.visible-n.offset,scrollbarOffset:n.scroll.bar.offset()["x"===t?"left":"top"],scrollbarSize:n.scroll.bar["x"===t?"outerWidth":"outerHeight"]()},c=0,m=0;return e(this).hasClass("scroll-arrow")?(u=e(this).hasClass("scroll-arrow_more")?1:-1,f=a.scrollStep*u,p=u>0?l.maxScrollValue:0):(u=l.eventOffset>l.scrollbarOffset+l.scrollbarSize?1:l.eventOffset<l.scrollbarOffset?-1:0,f=Math.round(.75*n.visible)*u,p=l.eventOffset-l.scrollbarOffset-(a.stepScrolling?1==u?l.scrollbarSize:0:Math.round(l.scrollbarSize/2)),p=i[d]()+p/n.kx),r.scrollTo=r.scrollTo||{},r.scrollTo[d]=a.stepScrolling?i[d]()+f:p,a.stepScrolling&&(o=function(){p=i[d](),clearInterval(m),clearTimeout(c),c=0,m=0},c=setTimeout((function(){m=setInterval(h,40)}),a.duration+100)),setTimeout((function(){r.scrollTo&&(i.animate(r.scrollTo,a.duration),r.scrollTo=null)}),1),r._handleMouseDown(o,s)})),n.scroll.bar.on("mousedown"+s,(function(o){if(1!=o.which)return!0;var a=o["x"===t?"pageX":"pageY"],l=i[d]();return n.scroll.addClass("scroll-draggable"),e(document).on("mousemove"+s,(function(e){var r=parseInt((e["x"===t?"pageX":"pageY"]-a)/n.kx,10);i[d](l+r)})),r._handleMouseDown((function(){n.scroll.removeClass("scroll-draggable"),p=i[d]()}),o)})))})),e.each(l,(function(e,t){var n="scroll-scroll"+e+"_visible",r="x"==e?l.y:l.x;t.scroll.removeClass(n),r.scroll.removeClass(n),o.removeClass(n)})),e.each(l,(function(t,n){e.extend(n,"x"==t?{offset:parseInt(i.css("left"),10)||0,size:i.prop("scrollWidth"),visible:u.width()}:{offset:parseInt(i.css("top"),10)||0,size:i.prop("scrollHeight"),visible:u.height()})})),this._updateScroll("x",this.scrollx),this._updateScroll("y",this.scrolly),e.isFunction(a.onUpdate)&&a.onUpdate.apply(this,[i]),e.each(l,(function(e,t){var n="x"===e?"left":"top",r="x"===e?"outerWidth":"outerHeight",o="x"===e?"width":"height",s=parseInt(i.css(n),10)||0,l=t.size,c=t.visible+s,u=t.scroll.size[r]()+(parseInt(t.scroll.size.css(n),10)||0);a.autoScrollSize&&(t.scrollbarSize=parseInt(u*c/l,10),t.scroll.bar.css(o,t.scrollbarSize+"px")),t.scrollbarSize=t.scroll.bar[r](),t.kx=(u-t.scrollbarSize)/(l-c)||1,t.maxScrollOffset=l-c})),i.scrollLeft(d.scrollLeft).scrollTop(d.scrollTop).trigger("scroll")},_getScroll:function(t){var n={advanced:['<div class="scroll-element">','<div class="scroll-element_corner"></div>','<div class="scroll-arrow scroll-arrow_less"></div>','<div class="scroll-arrow scroll-arrow_more"></div>','<div class="scroll-element_outer">','<div class="scroll-element_size"></div>','<div class="scroll-element_inner-wrapper">','<div class="scroll-element_inner scroll-element_track">','<div class="scroll-element_inner-bottom"></div>',"</div>","</div>",'<div class="scroll-bar">','<div class="scroll-bar_body">','<div class="scroll-bar_body-inner"></div>',"</div>",'<div class="scroll-bar_bottom"></div>','<div class="scroll-bar_center"></div>',"</div>","</div>","</div>"].join(""),simple:['<div class="scroll-element">','<div class="scroll-element_outer">','<div class="scroll-element_size"></div>','<div class="scroll-element_track"></div>','<div class="scroll-bar"></div>',"</div>","</div>"].join("")};return n[t]&&(t=n[t]),t||(t=n.simple),t="string"==typeof t?e(t).appendTo(this.wrapper):e(t),e.extend(t,{bar:t.find(".scroll-bar"),size:t.find(".scroll-element_size"),track:t.find(".scroll-element_track")}),t},_handleMouseDown:function(t,n){var r=this.namespace;return e(document).on("blur"+r,(function(){e(document).add("body").off(r),t&&t()})),e(document).on("dragstart"+r,(function(e){return e.preventDefault(),!1})),e(document).on("mouseup"+r,(function(){e(document).add("body").off(r),t&&t()})),e("body").on("selectstart"+r,(function(e){return e.preventDefault(),!1})),n&&n.preventDefault(),!1},_updateScroll:function(n,r){var i=this.container,o=this.containerWrapper||i,s="scroll-scroll"+n+"_visible",a="x"===n?this.scrolly:this.scrollx,l=parseInt(this.container.css("x"===n?"left":"top"),10)||0,c=this.wrapper,u=r.size,d=r.visible+l;r.isVisible=u-d>1,r.isVisible?(r.scroll.addClass(s),a.scroll.addClass(s),o.addClass(s)):(r.scroll.removeClass(s),a.scroll.removeClass(s),o.removeClass(s)),"y"===n&&(i.is("textarea")||u<d?o.css({height:d+t.scroll.height+"px","max-height":"none"}):o.css({"max-height":d+t.scroll.height+"px"})),r.size==i.prop("scrollWidth")&&a.size==i.prop("scrollHeight")&&r.visible==c.width()&&a.visible==c.height()&&r.offset==(parseInt(i.css("left"),10)||0)&&a.offset==(parseInt(i.css("top"),10)||0)||(e.extend(this.scrollx,{offset:parseInt(i.css("left"),10)||0,size:i.prop("scrollWidth"),visible:c.width()}),e.extend(this.scrolly,{offset:parseInt(i.css("top"),10)||0,size:this.container.prop("scrollHeight"),visible:c.height()}),this._updateScroll("x"===n?"y":"x",a))}};var i=r;e.fn.scrollbar=function(n,r){return"string"!=typeof n&&(r=n,n="init"),void 0===r&&(r=[]),e.isArray(r)||(r=[r]),this.not("body, .scroll-wrapper").each((function(){var o=e(this),s=o.data(t.data.name);(s||"init"===n)&&(s||(s=new i(o)),s[n]&&s[n].apply(s,r))})),this},e.fn.scrollbar.options=n;var o,s,a=(o=0,function(e){var n,r,i,s,l,c,u;for(n=0;n<t.scrolls.length;n++)r=(s=t.scrolls[n]).container,i=s.options,l=s.wrapper,c=s.scrollx,u=s.scrolly,(e||i.autoUpdate&&l&&l.is(":visible")&&(r.prop("scrollWidth")!=c.size||r.prop("scrollHeight")!=u.size||l.width()!=c.visible||l.height()!=u.visible))&&(s.init(),i.debug&&window.console&&console.log({scrollHeight:r.prop("scrollHeight")+":"+s.scrolly.size,scrollWidth:r.prop("scrollWidth")+":"+s.scrollx.size,visibleHeight:l.height()+":"+s.scrolly.visible,visibleWidth:l.width()+":"+s.scrollx.visible},!0));clearTimeout(o),o=setTimeout(a,300)});function l(n){if(t.webkit&&!n)return{height:0,width:0};if(!t.data.outer){var r={border:"none","box-sizing":"content-box",height:"200px",margin:"0",padding:"0",width:"200px"};t.data.inner=e("<div>").css(e.extend({},r)),t.data.outer=e("<div>").css(e.extend({left:"-1000px",overflow:"scroll",position:"absolute",top:"-1000px"},r)).append(t.data.inner).appendTo("body")}return t.data.outer.scrollLeft(1e3).scrollTop(1e3),{height:Math.ceil(t.data.outer.offset().top-t.data.inner.offset().top||0),width:Math.ceil(t.data.outer.offset().left-t.data.inner.offset().left||0)}}function c(e){var t=e.originalEvent;return!(t.axis&&t.axis===t.HORIZONTAL_AXIS||t.wheelDeltaX)}window.angular&&(s=window.angular).module("jQueryScrollbar",[]).provider("jQueryScrollbar",(function(){var e=n;return{setOptions:function(t){s.extend(e,t)},$get:function(){return{options:s.copy(e)}}}})).directive("jqueryScrollbar",["jQueryScrollbar","$parse",function(e,t){return{restrict:"AC",link:function(n,r,i){var o=t(i.jqueryScrollbar)(n);r.scrollbar(o||e.options).on("$destroy",(function(){r.scrollbar("destroy")}))}}}])})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){"use strict";var r,i,o,s="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};!function(a,l){"object"==s(t)&&void 0!==e?l(n(1)):(i=[n(1)],void 0===(o="function"==typeof(r=l)?r.apply(t,i):r)||(e.exports=o))}(0,(function(e){function t(e,t){return function(n,r){var i,o=[];return t(r)&&(i=k.splitTokens(k.split(n,e)),u.each(r,(function(t,r){var s=t.value;if(k.stringEncloses(n,s))return!1;var a=k.splitTokens(k.split(s,e));0===u.minus(i,a).length&&o.push(r)}))),1===o.length?o[0]:-1}}function n(e,t){var n=/<strong>/;return n.test(t)&&!n.test(e)?t:e}function r(e,t,r,i,o){return n(this.highlightMatches(e,r,i,o),this.highlightMatches(t,r,i,o))}function i(e){this.urlSuffix=e.toLowerCase(),this.noSuggestionsHint="Íåèçâåñòíîå çíà÷åíèå",this.matchers=[H.matchByNormalizedQuery(),H.matchByWords()]}function o(t,n){var r=this;r.element=t,r.el=e(t),r.suggestions=[],r.badQueries=[],r.selectedIndex=-1,r.currentValue=r.element.value,r.intervalId=0,r.cachedResponse={},r.enrichmentCache={},r.currentRequest=null,r.inputPhase=e.Deferred(),r.fetchPhase=e.Deferred(),r.enrichPhase=e.Deferred(),r.onChangeTimeout=null,r.triggering={},r.$wrapper=null,r.options=e.extend({},I,n),r.classes=_,r.disabled=!1,r.selection=null,r.$viewport=e(window),r.$body=e(document.body),r.type=null,r.status={},r.setupElement(),r.initializer=e.Deferred(),r.el.is(":visible")?r.initializer.resolve():r.deferInitialization(),r.initializer.done(e.proxy(r.initialize,r))}function a(){R.each(G,(function(e){e.abort()})),G={}}function l(e){this.plan=e.status.plan,this.isMobile=e.isMobile;var t=e.getContainer();this.element=me.selectByClass(_.promo,t)}e=e&&e.hasOwnProperty("default")?e.default:e;var c={isArray:function(e){return Array.isArray(e)},isFunction:function(e){return"[object Function]"===Object.prototype.toString.call(e)},isEmptyObject:function(e){return 0===Object.keys(e).length&&e.constructor===Object},isPlainObject:function(e){return!(void 0===e||"object"!=(void 0===e?"undefined":s(e))||null===e||e.nodeType||e===e.window||e.constructor&&!Object.prototype.hasOwnProperty.call(e.constructor.prototype,"isPrototypeOf"))}},u={compact:function(e){return e.filter((function(e){return!!e}))},each:function(e,t){Array.isArray(e)?e.some((function(e,n){return!1===t(e,n)})):Object.keys(e).some((function(n){var r=e[n];return!1===t(r,n)}))},intersect:function(e,t){return Array.isArray(e)&&Array.isArray(t)?e.filter((function(e){return-1!==t.indexOf(e)})):[]},minus:function(e,t){return t&&0!==t.length?e.filter((function(e){return-1===t.indexOf(e)})):e},makeArray:function(e){return c.isArray(e)?Array.prototype.slice.call(e):[e]},minusWithPartialMatching:function(e,t){return t&&0!==t.length?e.filter((function(e){return!t.some((function(t){return 0===t.indexOf(e)}))})):e},slice:function(e,t){return Array.prototype.slice.call(e,t)}},d={delay:function(e,t){return setTimeout(e,t||0)}},f={areSame:function e(t,n){var r=!0;return(void 0===t?"undefined":s(t))==(void 0===n?"undefined":s(n))&&("object"==(void 0===t?"undefined":s(t))&&null!=t&&null!=n?(u.each(t,(function(t,i){return r=e(t,n[i])})),r):t===n)},assign:function(e,t){if("function"==typeof Object.assign)return Object.assign.apply(null,arguments);if(null==e)throw new TypeError("Cannot convert undefined or null to object");for(var n=Object(e),r=1;r<arguments.length;r++){var i=arguments[r];if(null!=i)for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(n[o]=i[o])}return n},clone:function(e){return JSON.parse(JSON.stringify(e))},compact:function(e){var t=f.clone(e);return u.each(t,(function(e,n){null!=e&&""!==e||delete t[n]})),t},fieldsAreNotEmpty:function(e,t){if(!c.isPlainObject(e))return!1;var n=!0;return u.each(t,(function(t,r){return n=!!e[t]})),n},getDeepValue:function e(t,n){var r=n.split("."),i=r.shift();return t&&(r.length?e(t[i],r.join(".")):t[i])},indexObjectsById:function(e,t,n){var r={};return u.each(e,(function(e,i){var o=e[t],s={};n&&(s[n]=i),r[o]=f.assign(s,e)})),r}},h=13,p=27,m=9,g=32,v=38,y=40,_={hint:"suggestions-hint",mobile:"suggestions-mobile",nowrap:"suggestions-nowrap",promo:"suggestions-promo",promo_desktop:"suggestions-promo-desktop",selected:"suggestions-selected",suggestion:"suggestions-suggestion",subtext:"suggestions-subtext",subtext_inline:"suggestions-subtext suggestions-subtext_inline",subtext_delimiter:"suggestions-subtext-delimiter",subtext_label:"suggestions-subtext suggestions-subtext_label",removeConstraint:"suggestions-remove",value:"suggestions-value"},b=".suggestions",w="\\s\"'~\\*\\.,:\\|\\[\\]\\(\\)\\{\\}<>¹",x=new RegExp("["+w+"]+","g"),C=new RegExp("[\\-\\+\\\\\\?!@#$%^&]+","g"),k={escapeHtml:function(e){return e&&u.each({"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"},(function(t,n){e=e.replace(new RegExp(n,"g"),t)})),e},escapeRegExChars:function(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")},formatToken:function(e){return e&&e.toLowerCase().replace(/[¸¨]/g,"å")},getWordExtractorRegExp:function(){return new RegExp("([^"+w+"]*)(["+w+"]*)","g")},normalize:function(e,t){return k.split(e,t).join(" ")},padEnd:function(e,t,n){return String.prototype.padEnd?e.padEnd(t,n):(t>>=0,n=String(void 0!==n?n:" "),e.length>t?String(e):((t-=e.length)>n.length&&(n+=n.repeat(t/n.length)),String(e)+n.slice(0,t)))},split:function(e,t){var n=e.toLowerCase().replace("¸","å").replace(/(\d+)([à-ÿ]{2,})/g,"$1 $2").replace(/([à-ÿ]+)(\d+)/g,"$1 $2"),r=u.compact(n.split(x));if(!r.length)return[];var i=r.pop(),o=u.minus(r,t);return o.push(i),o},splitTokens:function(e){var t=[];return u.each(e,(function(e,n){var r=e.split(C);t=t.concat(u.compact(r))})),t},stringEncloses:function(e,t){return e.length>t.length&&-1!==e.toLowerCase().indexOf(t.toLowerCase())},tokenize:function(e,t){var n=u.compact(k.formatToken(e).split(x)),r=u.minus(n,t),i=u.minus(n,r);return k.withSubTokens(r.concat(i))},withSubTokens:function(e){var t=[];return u.each(e,(function(e,n){var r=e.split(C);t.push(e),r.length>1&&(t=t.concat(u.compact(r)))})),t}},S=function(){return e.Deferred()},D=function(t){return e.ajax(t)},E=function(){return e.extend.apply(null,arguments)},T=function(t){return t instanceof e},O=function(t){return e.param(t)},M=function(t,n){return e.proxy(t,n)},j=function(t){return e(t)},A=function(){return e.support.cors},P={getDefaultType:function(){return A()?"POST":"GET"},getDefaultContentType:function(){return A()?"application/json":"application/x-www-form-urlencoded"},fixURLProtocol:function(e){return A()?e:e.replace(/^https?:/,location.protocol)},addUrlParams:function(e,t){return e+(/\?/.test(e)?"&":"?")+O(t)},serialize:function(e){return A()?JSON.stringify(e,(function(e,t){return null===t?void 0:t})):(e=f.compact(e),O(e,!0))}},L=function(){var e=0;return function(t){return(t||"")+ ++e}}(),R={escapeRegExChars:k.escapeRegExChars,escapeHtml:k.escapeHtml,formatToken:k.formatToken,normalize:k.normalize,reWordExtractor:k.getWordExtractorRegExp,stringEncloses:k.stringEncloses,addUrlParams:P.addUrlParams,getDefaultContentType:P.getDefaultContentType,getDefaultType:P.getDefaultType,fixURLProtocol:P.fixURLProtocol,serialize:P.serialize,arrayMinus:u.minus,arrayMinusWithPartialMatching:u.minusWithPartialMatching,arraysIntersection:u.intersect,compact:u.compact,each:u.each,makeArray:u.makeArray,slice:u.slice,delay:d.delay,areSame:f.areSame,compactObject:f.compact,getDeepValue:f.getDeepValue,fieldsNotEmpty:f.fieldsAreNotEmpty,indexBy:f.indexObjectsById,isArray:c.isArray,isEmptyObject:c.isEmptyObject,isFunction:c.isFunction,isPlainObject:c.isPlainObject,uniqueId:L},I={autoSelectFirst:!1,serviceUrl:"https://suggestions.dadata.ru/suggestions/api/4_1/rs",url:null,onSearchStart:e.noop,onSearchComplete:e.noop,onSearchError:e.noop,onSuggestionsFetch:null,onSelect:null,onSelectNothing:null,onInvalidateSelection:null,minChars:1,deferRequestBy:100,enrichmentEnabled:!0,params:{},paramName:"query",timeout:3e3,formatResult:null,formatSelected:null,noCache:!1,containerClass:"suggestions-suggestions",tabDisabled:!1,triggerSelectOnSpace:!1,triggerSelectOnEnter:!0,triggerSelectOnBlur:!0,preventBadQueries:!1,hint:"Âûáåðèòå âàðèàíò èëè ïðîäîëæèòå ââîä",noSuggestionsHint:null,type:null,requestMode:"suggest",count:5,$helpers:null,headers:null,scrollOnFocus:!0,mobileWidth:980,initializeInterval:100},N=function(e){if(0===e.length)return!1;if(1===e.length)return!0;var t=e[0].value;return 0===e.filter((function(e){return 0!==e.value.indexOf(t)})).length},H={matchByNormalizedQuery:function(e){return function(t,n){var r=k.normalize(t,e),i=[];return u.each(n,(function(n,o){var s=n.value.toLowerCase();return!k.stringEncloses(t,s)&&!(s.indexOf(r)>0)&&void(r===k.normalize(s,e)&&i.push(o))})),1===i.length?i[0]:-1}},matchByWords:function(e){return t(e,N)},matchByWordsAddress:function(e){return t(e,N)},matchByFields:function(e){return function(t,n){var r=k.splitTokens(k.split(t)),i=[];return 1===n.length&&(e&&u.each(e,(function(e,t){var r=f.getDeepValue(n[0],t),o=r&&k.splitTokens(k.split(r,e));o&&o.length&&(i=i.concat(o))})),0===u.minusWithPartialMatching(r,i).length)?0:-1}}},$=["àî","àîáë","äîì","ðåñï","à/ÿ","ààë","àâòîäîðîãà","àëëåÿ","àðáàí","àóë","á-ð","áåðåã","áóãîð","âàë","âë","âîëîñòü","âúåçä","âûñåë","ã","ãîðîäîê","ãñê","ä","äâëä","äíï","äîð","äï","æ/ä_áóäêà","æ/ä_êàçàðì","æ/ä_îï","æ/ä_ïëàòô","æ/ä_ïîñò","æ/ä_ðçä","æ/ä_ñò","æèëçîíà","æèëðàéîí","æò","çàåçä","çàèìêà","çîíà","ê","êàçàðìà","êàíàë","êâ","êâ-ë","êì","êîëüöî","êîìí","êîðäîí","êîñà","êï","êðàé","ëèíèÿ","ëïõ","ì","ìàññèâ","ìåñòíîñòü","ìêð","ìîñò","í/ï","íàá","íï","îáë","îêðóã","îñòðîâ","îô","ï","ï/î","ï/ð","ï/ñò","ïàðê","ïãò","ïåð","ïåðååçä","ïë","ïë-êà","ïëàòô","ïîãîñò","ïîëóñòàíîê","ïî÷èíîê","ïð-êò","ïðîåçä","ïðîìçîíà","ïðîñåê","ïðîñåêà","ïðîñåëîê","ïðîòîê","ïðîòîêà","ïðîóëîê","ð-í","ðçä","ðîññèÿ","ðï","ðÿäû","ñ","ñ/à","ñ/ìî","ñ/î","ñ/ï","ñ/ñ","ñàä","ñêâåð","ñë","ñíò","ñïóñê","ñò","ñò-öà","ñòð","òåð","òðàêò","òóï","ó","óë","ó÷-ê","ô/õ","ôåðìà","õ","ø","áóëüâàð","âëàäåíèå","âûñåëêè","ãàðàæíî-ñòðîèòåëüíûé","ãîðîä","äåðåâíÿ","äîìîâëàäåíèå","äîðîãà","êâàðòàë","êèëîìåòð","êîìíàòà","êîðïóñ","ëèòåð","ëåñïðîìõîç","ìåñòå÷êî","ìèêðîðàéîí","íàáåðåæíàÿ","îáëàñòü","ïåðåóëîê","ïëàòôîðìà","ïëîùàäêà","ïëîùàäü","ïîñåëåíèå","ïîñåëîê","ïðîñïåêò","ðàçúåçä","ðàéîí","ðåñïóáëèêà","ñåëî","ñåëüñîâåò","ñëîáîäà","ñîîðóæåíèå","ñòàíèöà","ñòàíöèÿ","ñòðîåíèå","òåððèòîðèÿ","òóïèê","óëèöà","óëóñ","ó÷àñòîê","õóòîð","øîññå"],F=[{id:"kladr_id",fields:["kladr_id"],forBounds:!1,forLocations:!0},{id:"postal_code",fields:["postal_code"],forBounds:!1,forLocations:!0},{id:"country_iso_code",fields:["country_iso_code"],forBounds:!1,forLocations:!0},{id:"country",fields:["country"],forBounds:!0,forLocations:!0,kladrFormat:{digits:0,zeros:13},fiasType:"country_iso_code"},{id:"region_fias_id",fields:["region_fias_id"],forBounds:!1,forLocations:!0},{id:"region_type_full",fields:["region_type_full"],forBounds:!1,forLocations:!0,kladrFormat:{digits:2,zeros:11},fiasType:"region_fias_id"},{id:"region",fields:["region","region_type","region_type_full","region_with_type"],forBounds:!0,forLocations:!0,kladrFormat:{digits:2,zeros:11},fiasType:"region_fias_id"},{id:"area_fias_id",fields:["area_fias_id"],forBounds:!1,forLocations:!0},{id:"area_type_full",fields:["area_type_full"],forBounds:!1,forLocations:!0,kladrFormat:{digits:5,zeros:8},fiasType:"area_fias_id"},{id:"area",fields:["area","area_type","area_type_full","area_with_type"],forBounds:!0,forLocations:!0,kladrFormat:{digits:5,zeros:8},fiasType:"area_fias_id"},{id:"city_fias_id",fields:["city_fias_id"],forBounds:!1,forLocations:!0},{id:"city_type_full",fields:["city_type_full"],forBounds:!1,forLocations:!0,kladrFormat:{digits:8,zeros:5},fiasType:"city_fias_id"},{id:"city",fields:["city","city_type","city_type_full","city_with_type"],forBounds:!0,forLocations:!0,kladrFormat:{digits:8,zeros:5},fiasType:"city_fias_id"},{id:"city_district_fias_id",fields:["city_district_fias_id"],forBounds:!1,forLocations:!0},{id:"city_district_type_full",fields:["city_district_type_full"],forBounds:!1,forLocations:!0,kladrFormat:{digits:11,zeros:2},fiasType:"city_district_fias_id"},{id:"city_district",fields:["city_district","city_district_type","city_district_type_full","city_district_with_type"],forBounds:!0,forLocations:!0,kladrFormat:{digits:11,zeros:2},fiasType:"city_district_fias_id"},{id:"settlement_fias_id",fields:["settlement_fias_id"],forBounds:!1,forLocations:!0},{id:"settlement_type_full",fields:["settlement_type_full"],forBounds:!1,forLocations:!0,kladrFormat:{digits:11,zeros:2},fiasType:"settlement_fias_id"},{id:"settlement",fields:["settlement","settlement_type","settlement_type_full","settlement_with_type"],forBounds:!0,forLocations:!0,kladrFormat:{digits:11,zeros:2},fiasType:"settlement_fias_id"},{id:"street_fias_id",fields:["street_fias_id"],forBounds:!1,forLocations:!0},{id:"street_type_full",fields:["street_type_full"],forBounds:!1,forLocations:!0,kladrFormat:{digits:15,zeros:2},fiasType:"street_fias_id"},{id:"street",fields:["street","street_type","street_type_full","street_with_type"],forBounds:!0,forLocations:!0,kladrFormat:{digits:15,zeros:2},fiasType:"street_fias_id"},{id:"house",fields:["house","house_type","house_type_full","block","block_type"],forBounds:!0,forLocations:!1,kladrFormat:{digits:19}}],V={urlSuffix:"address",noSuggestionsHint:"Íåèçâåñòíûé àäðåñ",matchers:[H.matchByNormalizedQuery($),H.matchByWordsAddress($)],dataComponents:F,dataComponentsById:f.indexObjectsById(F,"id","index"),unformattableTokens:$,enrichmentEnabled:!0,enrichmentMethod:"suggest",enrichmentParams:{count:1,locations:null,locations_boost:null,from_bound:null,to_bound:null},getEnrichmentQuery:function(e){return e.unrestricted_value},geoEnabled:!0,isDataComplete:function(e){var t=[this.bounds.to||"flat"],n=e.data;return!c.isPlainObject(n)||f.fieldsAreNotEmpty(n,t)},composeValue:function(e,t){var n=e.country,r=e.region_with_type||u.compact([e.region,e.region_type]).join(" ")||e.region_type_full,i=e.area_with_type||u.compact([e.area_type,e.area]).join(" ")||e.area_type_full,o=e.city_with_type||u.compact([e.city_type,e.city]).join(" ")||e.city_type_full,s=e.settlement_with_type||u.compact([e.settlement_type,e.settlement]).join(" ")||e.settlement_type_full,a=e.city_district_with_type||u.compact([e.city_district_type,e.city_district]).join(" ")||e.city_district_type_full,l=e.street_with_type||u.compact([e.street_type,e.street]).join(" ")||e.street_type_full,c=u.compact([e.house_type,e.house,e.block_type,e.block]).join(" "),d=u.compact([e.flat_type,e.flat]).join(" "),f=e.postal_box&&"à/ÿ "+e.postal_box;return r===o&&(r=""),t&&t.saveCityDistrict||(t&&t.excludeCityDistrict?a="":a&&!e.city_district_fias_id&&(a="")),u.compact([n,r,i,o,a,s,l,c,d,f]).join(", ")},formatResult:function(){var e=[],t=!1;return F.forEach((function(n){t&&e.push(n.id),"city_district"===n.id&&(t=!0)})),function(t,n,r,i){var o,s,a,l=this,u=r.data&&r.data.city_district_with_type,d=i&&i.unformattableTokens,f=r.data&&r.data.history_values;return f&&f.length>0&&(o=k.tokenize(n,d),s=this.type.findUnusedTokens(o,t),(a=this.type.getFormattedHistoryValues(s,f))&&(t+=a)),t=l.highlightMatches(t,n,r,i),t=l.wrapFormattedValue(t,r),u&&(!l.bounds.own.length||l.bounds.own.indexOf("street")>=0)&&!c.isEmptyObject(l.copyDataComponents(r.data,e))&&(t+='<div class="'+l.classes.subtext+'">'+l.highlightMatches(u,n,r)+"</div>"),t}}(),findUnusedTokens:function(e,t){return e.filter((function(e){return-1===t.indexOf(e)}))},getFormattedHistoryValues:function(e,t){var n=[],r="";return t.forEach((function(t){u.each(e,(function(e){if(t.toLowerCase().indexOf(e)>=0)return n.push(t),!1}))})),n.length>0&&(r=" (áûâø. "+n.join(", ")+")"),r},getSuggestionValue:function(e,t){var n=null;return t.hasSameValues?n=e.options.restrict_value?this.getValueWithinConstraints(e,t.suggestion):e.bounds.own.length?this.getValueWithinBounds(e,t.suggestion):t.suggestion.unrestricted_value:t.hasBeenEnriched&&e.options.restrict_value&&(n=this.getValueWithinConstraints(e,t.suggestion,{excludeCityDistrict:!0})),n},getValueWithinConstraints:function(e,t,n){return this.composeValue(e.getUnrestrictedData(t.data),n)},getValueWithinBounds:function(e,t,n){var r=e.copyDataComponents(t.data,e.bounds.own.concat(["city_district_fias_id"]));return this.composeValue(r,n)}},q={urlSuffix:"fio",noSuggestionsHint:!1,matchers:[H.matchByNormalizedQuery(),H.matchByWords()],fieldNames:{surname:"ôàìèëèÿ",name:"èìÿ",patronymic:"îò÷åñòâî"},isDataComplete:function(e){var t,n=this.options.params,r=e.data;return c.isFunction(n)&&(n=n.call(this.element,e.value)),n&&n.parts?t=n.parts.map((function(e){return e.toLowerCase()})):(t=["surname","name"],function(e,t){var n=e.data&&e.data[t];return n&&new RegExp("^"+k.escapeRegExChars(n)+"(["+w+"]|$)","i").test(e.value)}(e,"surname")&&t.push("patronymic")),f.fieldsAreNotEmpty(r,t)},composeValue:function(e){return u.compact([e.surname,e.name,e.patronymic]).join(" ")}},B={LEGAL:[2,2,5,1],INDIVIDUAL:[2,2,6,2]},U={NAME:q,ADDRESS:V,PARTY:{urlSuffix:"party",noSuggestionsHint:"Íåèçâåñòíàÿ îðãàíèçàöèÿ",matchers:[H.matchByFields({value:null,"data.address.value":$,"data.inn":null,"data.ogrn":null})],dataComponents:F,enrichmentEnabled:!0,enrichmentMethod:"findById",enrichmentParams:{count:1,locations_boost:null},getEnrichmentQuery:function(e){return e.data.hid},geoEnabled:!0,formatResult:function(e,t,i,o){var s=this,a=n(s.type.formatResultInn.call(s,i,t),s.highlightMatches(f.getDeepValue(i.data,"ogrn"),t,i)),l=s.highlightMatches(f.getDeepValue(i.data,"management.name"),t,i),c=f.getDeepValue(i.data,"address.value")||"";return s.isMobile&&((o||(o={})).maxLength=50),e=r.call(s,e,f.getDeepValue(i.data,"name.latin"),t,i,o),e=s.wrapFormattedValue(e,i),c&&(c=c.replace(/^(\d{6}?\s+|Ðîññèÿ,\s+)/i,""),c=s.isMobile?c.replace(new RegExp("^([^"+w+"]+["+w+"]+[^"+w+"]+).*"),"$1"):s.highlightMatches(c,t,i,{unformattableTokens:$})),(a||c||l)&&(e+='<div class="'+s.classes.subtext+'"><span class="'+s.classes.subtext_inline+'">'+(a||"")+"</span>"+(n(c,l)||"")+"</div>"),e},formatResultInn:function(e,t){var n,r,i=e.data&&e.data.inn,o=B[e.data&&e.data.type],s=/\d/;if(i)return r=this.highlightMatches(i,t,e),o&&(r=r.split(""),n=o.map((function(e){for(var t,n="";e&&(t=r.shift());)n+=t,s.test(t)&&e--;return n})),r=n.join('<span class="'+this.classes.subtext_delimiter+'"></span>')+r.join("")),r}},EMAIL:{urlSuffix:"email",noSuggestionsHint:!1,matchers:[H.matchByNormalizedQuery()],isQueryRequestable:function(e){return this.options.suggest_local||e.indexOf("@")>=0}},BANK:{urlSuffix:"bank",noSuggestionsHint:"Íåèçâåñòíûé áàíê",matchers:[H.matchByFields({value:null,"data.bic":null,"data.swift":null})],dataComponents:F,geoEnabled:!0,formatResult:function(e,t,n,r){var i=this,o=i.highlightMatches(f.getDeepValue(n.data,"bic"),t,n),s=f.getDeepValue(n.data,"address.value")||"";return e=i.highlightMatches(e,t,n,r),e=i.wrapFormattedValue(e,n),s&&(s=s.replace(/^\d{6}( ÐÎÑÑÈß)?, /i,""),s=i.isMobile?s.replace(new RegExp("^([^"+w+"]+["+w+"]+[^"+w+"]+).*"),"$1"):i.highlightMatches(s,t,n,{unformattableTokens:$})),(o||s)&&(e+='<div class="'+i.classes.subtext+'"><span class="'+i.classes.subtext_inline+'">'+o+"</span>"+s+"</div>"),e},formatSelected:function(e){return f.getDeepValue(e,"data.name.payment")||null}},get:function(e){return U.hasOwnProperty(e)?U[e]:new i(e)}};E(I,{suggest_local:!0});var Y={chains:{},on:function(e,t){return this.get(e).push(t),this},get:function(e){var t=this.chains;return t[e]||(t[e]=[])}},z={suggest:{defaultParams:{type:R.getDefaultType(),dataType:"json",contentType:R.getDefaultContentType()},addTypeInUrl:!0},"iplocate/address":{defaultParams:{type:"GET",dataType:"json"},addTypeInUrl:!1},status:{defaultParams:{type:"GET",dataType:"json"},addTypeInUrl:!0},findById:{defaultParams:{type:R.getDefaultType(),dataType:"json",contentType:R.getDefaultContentType()},addTypeInUrl:!0}},W={suggest:{method:"suggest",userSelect:!0,updateValue:!0,enrichmentEnabled:!0},findById:{method:"findById",userSelect:!1,updateValue:!1,enrichmentEnabled:!1}};o.prototype={initialize:function(){var e=this;e.uniqueId=R.uniqueId("i"),e.createWrapper(),e.notify("initialize"),e.setOptions(),e.fixPosition()},deferInitialization:function(){var e,t=this,n="mouseover focus keydown",r=function(){t.initializer.resolve(),t.enable()};t.initializer.always((function(){t.el.off(n,r),clearInterval(e)})),t.disabled=!0,t.el.on(n,r),e=setInterval((function(){t.el.is(":visible")&&r()}),t.options.initializeInterval)},isInitialized:function(){return"resolved"===this.initializer.state()},dispose:function(){var e=this;e.initializer.reject(),e.notify("dispose"),e.el.removeData("suggestions").removeClass("suggestions-input"),e.removeWrapper(),e.el.trigger("suggestions-dispose")},notify:function(t){var n=this,r=R.slice(arguments,1);return e.map(Y.get(t),(function(e){return e.apply(n,r)}))},createWrapper:function(){var t=this;t.$wrapper=e('<div class="suggestions-wrapper"/>'),t.el.after(t.$wrapper),t.$wrapper.on("mousedown"+b,e.proxy(t.onMousedown,t))},removeWrapper:function(){var t=this;t.$wrapper&&t.$wrapper.remove(),e(t.options.$helpers).off(b)},onMousedown:function(t){var n=this;t.preventDefault(),n.cancelBlur=!0,R.delay((function(){delete n.cancelBlur})),0==e(t.target).closest(".ui-menu-item").length&&R.delay((function(){e(document).one("mousedown",(function(t){var r=n.el.add(n.$wrapper).add(n.options.$helpers);n.options.floating&&(r=r.add(n.$container)),(r=r.filter((function(){return this===t.target||e.contains(this,t.target)}))).length||n.hide()}))}))},scrollToTop:function(){var t=this.options.scrollOnFocus;!0===t&&(t=this.el),t instanceof e&&t.length>0&&e("body,html").animate({scrollTop:t.offset().top},"fast")},setOptions:function(t){var n=this;e.extend(n.options,t),n.type=U.get(n.options.type),e.each({requestMode:W},(function(t,r){if(n[t]=r[n.options[t]],!n[t])throw n.disable(),"`"+t+"` option is incorrect! Must be one of: "+e.map(r,(function(e,t){return'"'+t+'"'})).join(", ")})),e(n.options.$helpers).off(b).on("mousedown"+b,e.proxy(n.onMousedown,n)),n.isInitialized()&&n.notify("setOptions")},fixPosition:function(t){var n,r,i=this,o={};i.isMobile=i.$viewport.width()<=i.options.mobileWidth,i.isInitialized()&&(!t||"scroll"!=t.type||i.options.floating||i.isMobile)&&(i.$container.appendTo(i.options.floating?i.$body:i.$wrapper),i.notify("resetPosition"),i.el.css("paddingLeft",""),i.el.css("paddingRight",""),o.paddingLeft=parseFloat(i.el.css("paddingLeft")),o.paddingRight=parseFloat(i.el.css("paddingRight")),e.extend(o,i.el.offset()),o.borderTop="none"==i.el.css("border-top-style")?0:parseFloat(i.el.css("border-top-width")),o.borderLeft="none"==i.el.css("border-left-style")?0:parseFloat(i.el.css("border-left-width")),o.innerHeight=i.el.innerHeight(),o.innerWidth=i.el.innerWidth(),o.outerHeight=i.el.outerHeight(),o.componentsLeft=0,o.componentsRight=0,n=i.$wrapper.offset(),r={top:o.top-n.top,left:o.left-n.left},i.notify("fixPosition",r,o),o.componentsLeft>o.paddingLeft&&i.el.css("paddingLeft",o.componentsLeft+"px"),o.componentsRight>o.paddingRight&&i.el.css("paddingRight",o.componentsRight+"px"))},clearCache:function(){this.cachedResponse={},this.enrichmentCache={},this.badQueries=[]},clear:function(){var e=this,t=e.selection;e.isInitialized()&&(e.clearCache(),e.currentValue="",e.selection=null,e.hide(),e.suggestions=[],e.el.val(""),e.el.trigger("suggestions-clear"),e.notify("clear"),e.trigger("InvalidateSelection",t))},disable:function(){var e=this;e.disabled=!0,e.abortRequest(),e.visible&&e.hide()},enable:function(){this.disabled=!1},isUnavailable:function(){return this.disabled},update:function(){var e=this,t=e.el.val();e.isInitialized()&&(e.currentValue=t,e.isQueryRequestable(t)?e.updateSuggestions(t):e.hide())},setSuggestion:function(t){var n,r,i=this;e.isPlainObject(t)&&e.isPlainObject(t.data)&&(t=e.extend(!0,{},t),i.isUnavailable()&&i.initializer&&"pending"===i.initializer.state()&&(i.initializer.resolve(),i.enable()),i.bounds.own.length&&(i.checkValueBounds(t),n=i.copyDataComponents(t.data,i.bounds.all),t.data.kladr_id&&(n.kladr_id=i.getBoundedKladrId(t.data.kladr_id,i.bounds.all)),t.data=n),i.selection=t,i.suggestions=[t],r=i.getSuggestionValue(t)||"",i.currentValue=r,i.el.val(r),i.abortRequest(),i.el.trigger("suggestions-set"))},fixData:function(){var t=this,n=t.extendedCurrentValue(),r=t.el.val(),i=e.Deferred();i.done((function(e){t.selectSuggestion(e,0,r,{hasBeenEnriched:!0}),t.el.trigger("suggestions-fixdata",e)})).fail((function(){t.selection=null,t.el.trigger("suggestions-fixdata")})),t.isQueryRequestable(n)?(t.currentValue=n,t.getSuggestions(n,{count:1,from_bound:null,to_bound:null}).done((function(e){var t=e[0];t?i.resolve(t):i.reject()})).fail((function(){i.reject()}))):i.reject()},extendedCurrentValue:function(){var t=this.getParentInstance(),n=t&&t.extendedCurrentValue(),r=e.trim(this.el.val());return R.compact([n,r]).join(" ")},getAjaxParams:function(t,n){var r=this,i=e.trim(r.options.token),s=e.trim(r.options.partner),a=r.options.serviceUrl,l=r.options.url,c=z[t],u=e.extend({timeout:r.options.timeout},c.defaultParams),d={};return l?a=l:(/\/$/.test(a)||(a+="/"),a+=t,c.addTypeInUrl&&(a+="/"+r.type.urlSuffix)),a=R.fixURLProtocol(a),e.support.cors?(i&&(d.Authorization="Token "+i),s&&(d["X-Partner"]=s),d["X-Version"]=o.version,u.headers||(u.headers={}),u.xhrFields||(u.xhrFields={}),e.extend(u.headers,r.options.headers,d),u.xhrFields.withCredentials=!1):(i&&(d.token=i),s&&(d.partner=s),d.version=o.version,a=R.addUrlParams(a,d)),u.url=a,e.extend(u,n)},isQueryRequestable:function(e){var t,n=this;return(t=e.length>=n.options.minChars)&&n.type.isQueryRequestable&&(t=n.type.isQueryRequestable.call(n,e)),t},constructRequestParams:function(t,n){var r=this,i=r.options,o=e.isFunction(i.params)?i.params.call(r.element,t):e.extend({},i.params);return r.type.constructRequestParams&&e.extend(o,r.type.constructRequestParams.call(r)),e.each(r.notify("requestParams"),(function(t,n){e.extend(o,n)})),o[i.paramName]=t,e.isNumeric(i.count)&&i.count>0&&(o.count=i.count),e.extend(o,n)},updateSuggestions:function(e){var t=this;t.fetchPhase=t.getSuggestions(e).done((function(n){t.assignSuggestions(n,e)}))},getSuggestions:function(t,n,r){var i,o=this,s=o.options,a=r&&r.noCallbacks,l=r&&r.useEnrichmentCache,c=r&&r.method||o.requestMode.method,u=o.constructRequestParams(t,n),d=e.param(u||{}),f=e.Deferred();return(i=o.cachedResponse[d])&&e.isArray(i.suggestions)?f.resolve(i.suggestions):o.isBadQuery(t)?f.reject():a||!1!==s.onSearchStart.call(o.element,u)?o.doGetSuggestions(u,c).done((function(e){o.processResponse(e)&&t==o.currentValue?(s.noCache||(l?o.enrichmentCache[t]=e.suggestions[0]:(o.enrichResponse(e,t),o.cachedResponse[d]=e,s.preventBadQueries&&0===e.suggestions.length&&o.badQueries.push(t))),f.resolve(e.suggestions)):f.reject(),a||s.onSearchComplete.call(o.element,t,e.suggestions)})).fail((function(e,n,r){f.reject(),a||"abort"===n||s.onSearchError.call(o.element,t,e,n,r)})):f.reject(),f},doGetSuggestions:function(t,n){var r=this,i=e.ajax(r.getAjaxParams(n,{data:R.serialize(t)}));return r.abortRequest(),r.currentRequest=i,r.notify("request"),i.always((function(){r.currentRequest=null,r.notify("request")})),i},isBadQuery:function(t){if(!this.options.preventBadQueries)return!1;var n=!1;return e.each(this.badQueries,(function(e,r){return!(n=0===t.indexOf(r))})),n},abortRequest:function(){this.currentRequest&&this.currentRequest.abort()},processResponse:function(t){var n,r=this;return!(!t||!e.isArray(t.suggestions)||(r.verifySuggestionsFormat(t.suggestions),r.setUnrestrictedValues(t.suggestions),e.isFunction(r.options.onSuggestionsFetch)&&(n=r.options.onSuggestionsFetch.call(r.element,t.suggestions),e.isArray(n)&&(t.suggestions=n)),0))},verifySuggestionsFormat:function(t){"string"==typeof t[0]&&e.each(t,(function(e,n){t[e]={value:n,data:null}}))},getSuggestionValue:function(t,n){var r,i=this,o=i.options.formatSelected||i.type.formatSelected,s=n&&n.hasSameValues,a=n&&n.hasBeenEnriched,l=null;return e.isFunction(o)&&(r=o.call(i,t)),"string"!=typeof r&&(r=t.value,i.type.getSuggestionValue&&null!==(l=i.type.getSuggestionValue(i,{suggestion:t,hasSameValues:s,hasBeenEnriched:a}))&&(r=l)),r},hasSameValues:function(t){var n=!1;return e.each(this.suggestions,(function(e,r){if(r.value===t.value&&r!==t)return n=!0,!1})),n},assignSuggestions:function(e,t){this.suggestions=e,this.notify("assignSuggestions",t)},shouldRestrictValues:function(){var e=this;return e.options.restrict_value&&e.constraints&&1==Object.keys(e.constraints).length},setUnrestrictedValues:function(t){var n=this.shouldRestrictValues(),r=this.getFirstConstraintLabel();e.each(t,(function(e,t){t.unrestricted_value||(t.unrestricted_value=n?r+", "+t.value:t.value)}))},areSuggestionsSame:function(e,t){return e&&t&&e.value===t.value&&R.areSame(e.data,t.data)},getNoSuggestionsHint:function(){var e=this;return!1!==e.options.noSuggestionsHint&&(e.options.noSuggestionsHint||e.type.noSuggestionsHint)}};var Z={setupElement:function(){this.el.attr("autocomplete","off").attr("autocorrect","off").attr("autocapitalize","off").attr("spellcheck","false").addClass("suggestions-input").css("box-sizing","border-box")},bindElementEvents:function(){var t=this;t.el.on("keydown"+b,e.proxy(t.onElementKeyDown,t)),t.el.on(["keyup"+b,"cut"+b,"paste"+b,"input"+b].join(" "),e.proxy(t.onElementKeyUp,t)),t.el.on("blur"+b,e.proxy(t.onElementBlur,t)),t.el.on("focus"+b,e.proxy(t.onElementFocus,t))},unbindElementEvents:function(){this.el.off(b)},onElementBlur:function(){var e=this;e.cancelBlur?e.cancelBlur=!1:(e.options.triggerSelectOnBlur?e.isUnavailable()||e.selectCurrentValue({noSpace:!0}).always((function(){e.hide()})):e.hide(),e.fetchPhase.abort&&e.fetchPhase.abort())},onElementFocus:function(){var t=this;t.cancelFocus||R.delay(e.proxy(t.completeOnFocus,t)),t.cancelFocus=!1},onElementKeyDown:function(e){var t=this;if(!t.isUnavailable())if(t.visible){switch(e.which){case p:t.el.val(t.currentValue),t.hide(),t.abortRequest();break;case m:if(!1===t.options.tabDisabled)return;break;case h:t.options.triggerSelectOnEnter&&t.selectCurrentValue();break;case g:return void(t.options.triggerSelectOnSpace&&t.isCursorAtEnd()&&(e.preventDefault(),t.selectCurrentValue({continueSelecting:!0,dontEnrich:!0}).fail((function(){t.currentValue+=" ",t.el.val(t.currentValue),t.proceedChangedValue()}))));case v:t.moveUp();break;case y:t.moveDown();break;default:return}e.stopImmediatePropagation(),e.preventDefault()}else switch(e.which){case y:t.suggest();break;case h:t.options.triggerSelectOnEnter&&t.triggerOnSelectNothing()}},onElementKeyUp:function(e){var t=this;if(!t.isUnavailable()){switch(e.which){case v:case y:case h:return}clearTimeout(t.onChangeTimeout),t.inputPhase.reject(),t.currentValue!==t.el.val()&&t.proceedChangedValue()}},proceedChangedValue:function(){var t=this;t.abortRequest(),t.inputPhase=e.Deferred().done(e.proxy(t.onValueChange,t)),t.options.deferRequestBy>0?t.onChangeTimeout=R.delay((function(){t.inputPhase.resolve()}),t.options.deferRequestBy):t.inputPhase.resolve()},onValueChange:function(){var e,t=this;t.selection&&(e=t.selection,t.selection=null,t.trigger("InvalidateSelection",e)),t.selectedIndex=-1,t.update(),t.notify("valueChange")},completeOnFocus:function(){var e=this;e.isUnavailable()||e.isElementFocused()&&(e.fixPosition(),e.update(),e.isMobile&&(e.setCursorAtEnd(),e.scrollToTop()))},isElementFocused:function(){return document.activeElement===this.element},isElementDisabled:function(){return Boolean(this.element.getAttribute("disabled")||this.element.getAttribute("readonly"))},isCursorAtEnd:function(){var e,t,n=this.el.val().length;try{if("number"==typeof(e=this.element.selectionStart))return e===n}catch(e){}return!document.selection||((t=document.selection.createRange()).moveStart("character",-n),n===t.text.length)},setCursorAtEnd:function(){var e=this.element;try{e.selectionEnd=e.selectionStart=e.value.length,e.scrollLeft=e.scrollWidth}catch(t){e.value=e.value}}};e.extend(o.prototype,Z),Y.on("initialize",Z.bindElementEvents).on("dispose",Z.unbindElementEvents);var G={};a();var X={checkStatus:function(){function e(e){R.isFunction(t.options.onSearchError)&&t.options.onSearchError.call(t.element,null,i,"error",e)}var t=this,n=t.options.token&&t.options.token.trim()||"",r=t.options.type+n,i=G[r];i||(i=G[r]=D(t.getAjaxParams("status"))),i.done((function(n,r,i){if(n.search){var o=i.getResponseHeader("X-Plan");n.plan=o,E(t.status,n)}else e("Service Unavailable")})).fail((function(){e(i.statusText)}))}};o.resetTokens=a,E(o.prototype,X),Y.on("setOptions",X.checkStatus);var J,Q=!0,K={checkLocation:function(){var t=this,n=t.options.geoLocation;t.type.geoEnabled&&n&&(t.geoLocation=e.Deferred(),e.isPlainObject(n)||e.isArray(n)?t.geoLocation.resolve(n):(J||(J=e.ajax(t.getAjaxParams("iplocate/address"))),J.done((function(e){var n=e&&e.location&&e.location.data;n&&n.kladr_id?t.geoLocation.resolve({kladr_id:n.kladr_id}):t.geoLocation.reject()})).fail((function(){t.geoLocation.reject()}))))},getGeoLocation:function(){return this.geoLocation},constructParams:function(){var t=this,n={};return t.geoLocation&&e.isFunction(t.geoLocation.promise)&&"resolved"==t.geoLocation.state()&&t.geoLocation.done((function(t){n.locations_boost=e.makeArray(t)})),n}};"GET"!=R.getDefaultType()&&(e.extend(I,{geoLocation:Q}),e.extend(o,{resetLocation:function(){J=null,I.geoLocation=Q}}),e.extend(o.prototype,{getGeoLocation:K.getGeoLocation}),Y.on("setOptions",K.checkLocation).on("requestParams",K.constructParams));var ee={enrichSuggestion:function(t,n){var r=this,i=e.Deferred();if(!r.options.enrichmentEnabled||!r.type.enrichmentEnabled||!r.requestMode.enrichmentEnabled||n&&n.dontEnrich)return i.resolve(t);if(t.data&&null!=t.data.qc)return i.resolve(t);r.disableDropdown();var o=r.type.getEnrichmentQuery(t),s=r.type.enrichmentParams,a={noCallbacks:!0,useEnrichmentCache:!0,method:r.type.enrichmentMethod};return r.currentValue=o,r.enrichPhase=r.getSuggestions(o,s,a).always((function(){r.enableDropdown()})).done((function(e){var n=e&&e[0];i.resolve(n||t,!!n)})).fail((function(){i.resolve(t)})),i},enrichResponse:function(t,n){var r=this.enrichmentCache[n];r&&e.each(t.suggestions,(function(e,i){if(i.value===n)return t.suggestions[e]=r,!1}))}};e.extend(o.prototype,ee);var te={createContainer:function(){var t=this,n="."+t.classes.suggestion,r=t.options,i=e("<div/>").addClass(r.containerClass).css({position:"absolute",display:"none"});t.$container=i,i.on("click"+b,n,e.proxy(t.onSuggestionClick,t))},getContainer:function(){return this.$container.get(0)},removeContainer:function(){this.options.floating&&this.$container.remove()},setContainerOptions:function(){var t=this;t.$container.off("mousedown.suggestions"),t.options.floating&&t.$container.on("mousedown.suggestions",e.proxy(t.onMousedown,t))},onSuggestionClick:function(t){var n,r=this,i=e(t.target);if(!r.dropdownDisabled){for(r.cancelFocus=!0,r.el.focus();i.length&&!(n=i.attr("data-index"));)i=i.closest("."+r.classes.suggestion);n&&!isNaN(n)&&r.select(+n)}},setDropdownPosition:function(e,t){var n,r=this,i=r.$viewport.scrollLeft();r.isMobile?(n=r.options.floating?{left:i+"px",top:t.top+t.outerHeight+"px"}:{left:e.left-t.left+i+"px",top:e.top+t.outerHeight+"px"}).width=r.$viewport.width()+"px":(n=r.options.floating?{left:t.left+"px",top:t.top+t.borderTop+t.innerHeight+"px"}:{left:e.left+"px",top:e.top+t.borderTop+t.innerHeight+"px"},R.delay((function(){var e=r.options.width;"auto"===e&&(e=r.el.outerWidth()),r.$container.outerWidth(e)}))),r.$container.toggleClass(r.classes.mobile,r.isMobile).css(n),r.containerItemsPadding=t.left+t.borderLeft+t.paddingLeft-i},setItemsPositions:function(){var e=this;e.getSuggestionsItems().css("paddingLeft",e.isMobile?e.containerItemsPadding+"px":"")},getSuggestionsItems:function(){return this.$container.children("."+this.classes.suggestion)},toggleDropdownEnabling:function(e){this.dropdownDisabled=!e,this.$container.attr("disabled",!e)},disableDropdown:function(){this.toggleDropdownEnabling(!1)},enableDropdown:function(){this.toggleDropdownEnabling(!0)},hasSuggestionsToChoose:function(){var t=this;return t.suggestions.length>1||1===t.suggestions.length&&(!t.selection||e.trim(t.suggestions[0].value)!==e.trim(t.selection.value))},suggest:function(){var t=this,n=t.options,r=[];if(t.requestMode.userSelect){if(t.hasSuggestionsToChoose())!t.isMobile&&n.hint&&t.suggestions.length&&r.push('<div class="'+t.classes.hint+'">'+n.hint+"</div>"),t.selectedIndex=-1,t.suggestions.forEach((function(e,n){e==t.selection&&(t.selectedIndex=n),t.buildSuggestionHtml(e,n,r)}));else{if(t.suggestions.length)return void t.hide();var i=t.getNoSuggestionsHint();if(!i)return void t.hide();r.push('<div class="'+t.classes.hint+'">'+i+"</div>")}r.push('<div class="'+_.promo+'"></div>'),r.push("</div>"),t.$container.html(r.join("")),n.autoSelectFirst&&-1===t.selectedIndex&&(t.selectedIndex=0),-1!==t.selectedIndex&&t.getSuggestionsItems().eq(t.selectedIndex).addClass(t.classes.selected),e.isFunction(n.beforeRender)&&n.beforeRender.call(t.element,t.$container),t.$container.show(),t.visible=!0,t.fixPosition(),t.setItemsPositions()}},buildSuggestionHtml:function(e,t,n){n.push('<div class="'+this.classes.suggestion+'" data-index="'+t+'">');var r=this.options.formatResult||this.type.formatResult||this.formatResult;n.push(r.call(this,e.value,this.currentValue,e,{unformattableTokens:this.type.unformattableTokens}));var i=this.makeSuggestionLabel(this.suggestions,e);i&&n.push('<span class="'+this.classes.subtext_label+'">'+R.escapeHtml(i)+"</span>"),n.push("</div>")},wrapFormattedValue:function(e,t){var n=R.getDeepValue(t.data,"state.status");return'<span class="'+this.classes.value+'"'+(n?' data-suggestion-status="'+n+'"':"")+">"+e+"</span>"},formatResult:function(e,t,n,r){return e=this.highlightMatches(e,t,n,r),this.wrapFormattedValue(e,n)},highlightMatches:function(t,n,r,i){var o,s,a,l,c,u,d=[],f=i&&i.unformattableTokens,h=i&&i.maxLength,p=R.reWordExtractor();if(!t)return"";for(o=k.tokenize(n,f),s=e.map(o,(function(e){return new RegExp("^((.*)([\\-\\+\\\\\\?!@#$%^&]+))?("+R.escapeRegExChars(e)+")([^\\-\\+\\\\\\?!@#$%^&]*[\\-\\+\\\\\\?!@#$%^&]*)","i")}));(a=p.exec(t))&&a[0];)l=a[1],d.push({text:l,hasUpperCase:l.toLowerCase()!==l,formatted:R.formatToken(l),matchable:!0}),a[2]&&d.push({text:a[2]});for(c=0;c<d.length;c++)!(u=d[c]).matchable||u.matched||-1!==e.inArray(u.formatted,f)&&!u.hasUpperCase||e.each(s,(function(e,t){var n,r=t.exec(u.formatted),i=c+1;if(r)return(r={before:r[1]||"",beforeText:r[2]||"",beforeDelimiter:r[3]||"",text:r[4]||"",after:r[5]||""}).before&&(d.splice(c,0,{text:u.text.substr(0,r.beforeText.length),formatted:r.beforeText,matchable:!0},{text:r.beforeDelimiter}),i+=2,n=r.before.length,u.text=u.text.substr(n),u.formatted=u.formatted.substr(n),c--),n=r.text.length+r.after.length,u.formatted.length>n&&(d.splice(i,0,{text:u.text.substr(n),formatted:u.formatted.substr(n),matchable:!0}),u.text=u.text.substr(0,n),u.formatted=u.formatted.substr(0,n)),r.after&&(n=r.text.length,d.splice(i,0,{text:u.text.substr(n),formatted:u.formatted.substr(n)}),u.text=u.text.substr(0,n),u.formatted=u.formatted.substr(0,n)),u.matched=!0,!1}));if(h){for(c=0;c<d.length&&h>=0;c++)(h-=(u=d[c]).text.length)<0&&(u.text=u.text.substr(0,u.text.length+h)+"...");d.length=c}return function(t,n){var r=t.split(", ");return 1===r.length?t:e.map(r,(function(e){return'<span class="'+n+'">'+e+"</span>"})).join(", ")}(function(t){return e.map(t,(function(e){var t=R.escapeHtml(e.text);return t&&e.matched&&(t="<strong>"+t+"</strong>"),t})).join("")}(d),this.classes.nowrap)},makeSuggestionLabel:function(t,n){var r,i,o=this.type.fieldNames,s={},a=R.reWordExtractor(),l=[];if(o&&function(t,n){var r=!1;return e.each(t,(function(e,t){if(r=t.value==n.value&&t!=n)return!1})),r}(t,n)&&n.data&&(e.each(o,(function(e){var t=n.data[e];t&&(s[e]=R.formatToken(t))})),!e.isEmptyObject(s))){for(;(r=a.exec(R.formatToken(n.value)))&&(i=r[1]);)e.each(s,(function(e,t){if(t==i)return l.push(o[e]),delete s[e],!1}));if(l.length)return l.join(", ")}},hide:function(){var e=this;e.visible=!1,e.selectedIndex=-1,e.$container.hide().empty()},activate:function(e){var t,n,r=this,i=r.classes.selected;return!r.dropdownDisabled&&((n=r.getSuggestionsItems()).removeClass(i),r.selectedIndex=e,-1!==r.selectedIndex&&n.length>r.selectedIndex)?((t=n.eq(r.selectedIndex)).addClass(i),t):null},deactivate:function(e){var t=this;t.dropdownDisabled||(t.selectedIndex=-1,t.getSuggestionsItems().removeClass(t.classes.selected),e&&t.el.val(t.currentValue))},moveUp:function(){var e=this;if(!e.dropdownDisabled)return-1===e.selectedIndex?void(e.suggestions.length&&e.adjustScroll(e.suggestions.length-1)):0===e.selectedIndex?void e.deactivate(!0):void e.adjustScroll(e.selectedIndex-1)},moveDown:function(){var e=this;if(!e.dropdownDisabled)return e.selectedIndex===e.suggestions.length-1?void e.deactivate(!0):void e.adjustScroll(e.selectedIndex+1)},adjustScroll:function(e){var t,n,r,i=this,o=i.activate(e),s=i.$container.scrollTop();o&&o.length&&((t=o.position().top)<0?i.$container.scrollTop(s+t):(n=t+o.outerHeight())>(r=i.$container.innerHeight())&&i.$container.scrollTop(s-r+n),i.el.val(i.suggestions[e].value))}};e.extend(I,{width:"auto",floating:!1}),e.extend(o.prototype,te),Y.on("initialize",te.createContainer).on("dispose",te.removeContainer).on("setOptions",te.setContainerOptions).on("fixPosition",te.setDropdownPosition).on("fixPosition",te.setItemsPositions).on("assignSuggestions",te.suggest);var ne={NONE:"none",SPINNER:"spinner",CLEAR:"clear"},re=function(e){var t=j('<span class="suggestions-addon"/>');this.owner=e,this.$el=t,this.type=ne.NONE,this.visible=!1,this.initialPadding=null,t.on("click",M(this,"onClick"))};re.prototype={checkType:function(){var e=this.owner.options.addon,t=!1;u.each(ne,(function(n,r){if(t=n==e)return!1})),t||(e=this.owner.isMobile?ne.CLEAR:ne.SPINNER),e!=this.type&&(this.type=e,this.$el.attr("data-addon-type",e),this.toggle(!0))},isEnabled:function(){return!this.owner.isElementDisabled()},toggle:function(e){var t;switch(this.type){case ne.CLEAR:t=!!this.owner.currentValue;break;case ne.SPINNER:t=!!this.owner.currentRequest;break;default:t=!1}this.isEnabled()||(t=!1),t!=this.visible&&(this.visible=t,t?this.show(e):this.hide(e))},show:function(e){var t=this,n={opacity:1};e?(this.$el.show().css(n),this.showBackground(!0)):this.$el.stop(!0,!0).delay(50).queue((function(){t.$el.show(),t.showBackground(),t.$el.dequeue()})).animate(n,"fast")},hide:function(e){var t=this,n={opacity:0};e&&this.$el.hide().css(n),this.$el.stop(!0).animate(n,{duration:"fast",complete:function(){t.$el.hide(),t.hideBackground()}})},fixPosition:function(e,t){var n=t.innerHeight;this.checkType(),this.$el.css({left:e.left+t.borderLeft+t.innerWidth-n+"px",top:e.top+t.borderTop+"px",height:n,width:n}),this.initialPadding=t.paddingRight,this.width=n,this.visible&&(t.componentsRight+=n)},showBackground:function(e){var t=this.owner.el,n={paddingRight:this.width};this.width>this.initialPadding&&(this.stopBackground(),e?t.css(n):t.animate(n,{duration:"fast",queue:"addon"}).dequeue("addon"))},hideBackground:function(e){var t=this.owner.el,n={paddingRight:this.initialPadding};this.width>this.initialPadding&&(this.stopBackground(!0),e?t.css(n):t.delay(1e3,"addon").animate(n,{duration:"fast",queue:"addon"}).dequeue("addon"))},stopBackground:function(e){this.owner.el.stop("addon",!0,e)},onClick:function(e){this.isEnabled()&&this.type==ne.CLEAR&&this.owner.clear()}};var ie=function(){var e=new re(this);this.$wrapper.append(e.$el),this.addon=e},oe=function(e,t){this.addon.fixPosition(e,t)},se=function(){this.addon.checkType()},ae=function(){this.addon.toggle()},le=function(){this.addon.stopBackground()};E(I,{addon:null}),Y.on("initialize",ie).on("setOptions",se).on("fixPosition",oe).on("clear",ae).on("valueChange",ae).on("request",ae).on("resetPosition",le);var ce=["country_iso_code","region_fias_id","area_fias_id","city_fias_id","city_district_fias_id","settlement_fias_id","street_fias_id"],ue=function(e,t){var n,r,i=this,o={};i.instance=t,i.fields={},i.specificity=-1,c.isPlainObject(e)&&t.type.dataComponents&&u.each(t.type.dataComponents,(function(t,n){var r=t.id;t.forLocations&&e[r]&&(i.fields[r]=e[r],i.specificity=n)})),n=Object.keys(i.fields),(r=u.intersect(n,ce)).length?(u.each(r,(function(e,t){o[e]=i.fields[e]})),i.fields=o,i.specificity=i.getFiasSpecificity(r)):i.fields.kladr_id&&(i.fields={kladr_id:i.fields.kladr_id},i.significantKladr=function(e){var t=e.replace(/^(\d{2})(\d*?)(0+)$/g,"$1$2"),n=t.length,r=-1;return n<=2?r=2:n>2&&n<=5?r=5:n>5&&n<=8?r=8:n>8&&n<=11?r=11:n>11&&n<=15?r=15:n>15&&(r=19),k.padEnd(t,r,"0")}(i.fields.kladr_id),i.specificity=i.getKladrSpecificity(i.significantKladr))};E(ue.prototype,{getLabel:function(){return this.instance.type.composeValue(this.fields,{saveCityDistrict:!0})},getFields:function(){return this.fields},isValid:function(){return!c.isEmptyObject(this.fields)},getKladrSpecificity:function(e){var t=-1,n=e.length;return u.each(this.instance.type.dataComponents,(function(e,r){e.kladrFormat&&n===e.kladrFormat.digits&&(t=r)})),t},getFiasSpecificity:function(e){var t=-1;return u.each(this.instance.type.dataComponents,(function(n,r){n.fiasType&&e.indexOf(n.fiasType)>-1&&t<r&&(t=r)})),t},containsData:function(e){var t=!0;return this.fields.kladr_id?!!e.kladr_id&&0===e.kladr_id.indexOf(this.significantKladr):(u.each(this.fields,(function(n,r){return t=!!e[r]&&e[r].toLowerCase()===n.toLowerCase()})),t)}}),o.ConstraintLocation=ue;var de=function(e,t){this.id=L("c"),this.deletable=!!e.deletable,this.instance=t;var n=u.makeArray(e&&(e.locations||e.restrictions));this.locations=n.map((function(e){return new ue(e,t)})),this.locations=this.locations.filter((function(e){return e.isValid()})),this.label=e.label,null==this.label&&t.type.composeValue&&(this.label=this.locations.map((function(e){return e.getLabel()})).join(", ")),this.label&&this.isValid()&&(this.$el=j(document.createElement("li")).append(j(document.createElement("span")).text(this.label)).attr("data-constraint-id",this.id),this.deletable&&this.$el.append(j(document.createElement("span")).addClass(t.classes.removeConstraint)))};E(de.prototype,{isValid:function(){return this.locations.length>0},getFields:function(){return this.locations.map((function(e){return e.getFields()}))}});var fe={createConstraints:function(){var e=this;e.constraints={},e.$constraints=j('<ul class="suggestions-constraints"/>'),e.$wrapper.append(e.$constraints),e.$constraints.on("click","."+e.classes.removeConstraint,M(e.onConstraintRemoveClick,e))},setConstraintsPosition:function(e,t){var n=this;n.$constraints.css({left:e.left+t.borderLeft+t.paddingLeft+"px",top:e.top+t.borderTop+Math.round((t.innerHeight-n.$constraints.height())/2)+"px"}),t.componentsLeft+=n.$constraints.outerWidth(!0)+t.paddingLeft},onConstraintRemoveClick:function(e){var t=this,n=j(e.target).closest("li"),r=n.attr("data-constraint-id");delete t.constraints[r],t.update(),n.fadeOut("fast",(function(){t.removeConstraint(r)}))},setupConstraints:function(){var e,t=this,n=t.options.constraints;n?T(n)||"string"==typeof n||"number"==typeof n.nodeType?(e=j(n)).is(t.constraints)||(t.unbindFromParent(),e.is(t.el)||(t.constraints=e,t.bindToParent())):(t._constraintsUpdating=!0,u.each(t.constraints,(function(e,n){t.removeConstraint(n)})),u.each(u.makeArray(n),(function(e,n){t.addConstraint(e)})),t._constraintsUpdating=!1,t.fixPosition()):t.unbindFromParent()},filteredLocation:function(e){var t=[],n={};if(u.each(this.type.dataComponents,(function(){this.forLocations&&t.push(this.id)})),c.isPlainObject(e)&&u.each(e,(function(e,r){e&&t.indexOf(r)>=0&&(n[r]=e)})),!c.isEmptyObject(n))return n.kladr_id?{kladr_id:n.kladr_id}:n},addConstraint:function(e){var t=this;(e=new de(e,t)).isValid()&&(t.constraints[e.id]=e,e.$el&&(t.$constraints.append(e.$el),t._constraintsUpdating||t.fixPosition()))},removeConstraint:function(e){var t=this;delete t.constraints[e],t.$constraints.children('[data-constraint-id="'+e+'"]').remove(),t._constraintsUpdating||t.fixPosition()},constructConstraintsParams:function(){for(var e,t,n=this,r=[],i=n.constraints,o={};T(i)&&(e=i.suggestions())&&!(t=f.getDeepValue(e,"selection.data"));)i=e.constraints;return T(i)?(t=new ue(t,e).getFields())&&(n.bounds.own.indexOf("city")>-1&&delete t.city_fias_id,o.locations=[t],o.restrict_value=!0):i&&(u.each(i,(function(e,t){r=r.concat(e.getFields())})),r.length&&(o.locations=r,o.restrict_value=n.options.restrict_value)),o},getFirstConstraintLabel:function(){var e=this,t=c.isPlainObject(e.constraints)&&Object.keys(e.constraints)[0];return t?e.constraints[t].label:""},bindToParent:function(){var e=this;e.constraints.on(["suggestions-select."+e.uniqueId,"suggestions-invalidateselection."+e.uniqueId,"suggestions-clear."+e.uniqueId].join(" "),M(e.onParentSelectionChanged,e)).on("suggestions-dispose."+e.uniqueId,M(e.onParentDispose,e))},unbindFromParent:function(){var e=this.constraints;T(e)&&e.off("."+this.uniqueId)},onParentSelectionChanged:function(e,t,n){("suggestions-select"!==e.type||n)&&this.clear()},onParentDispose:function(e){this.unbindFromParent()},getParentInstance:function(){return T(this.constraints)&&this.constraints.suggestions()},shareWithParent:function(e){var t=this.getParentInstance();t&&t.type===this.type&&!function(e,t){var n=t.selection,r=n&&n.data&&t.bounds;return r&&u.each(t.bounds.all,(function(t,i){return r=n.data[t]===e.data[t]})),r}(e,t)&&(t.shareWithParent(e),t.setSuggestion(e))},getUnrestrictedData:function(e){var t=this,n=[],r={},i=-1;return u.each(t.constraints,(function(t,n){u.each(t.locations,(function(t,n){t.containsData(e)&&t.specificity>i&&(i=t.specificity)}))})),i>=0?(e.region_kladr_id&&e.region_kladr_id===e.city_kladr_id&&n.push.apply(n,t.type.dataComponentsById.city.fields),u.each(t.type.dataComponents.slice(0,i+1),(function(e,t){n.push.apply(n,e.fields)})),u.each(e,(function(e,t){-1===n.indexOf(t)&&(r[t]=e)}))):r=e,r}};E(I,{constraints:null,restrict_value:!1}),E(o.prototype,fe),"GET"!=P.getDefaultType()&&Y.on("initialize",fe.createConstraints).on("setOptions",fe.setupConstraints).on("fixPosition",fe.setConstraintsPosition).on("requestParams",fe.constructConstraintsParams).on("dispose",fe.unbindFromParent);var he={proceedQuery:function(e){var t=this;e.length>=t.options.minChars?t.updateSuggestions(e):t.hide()},selectCurrentValue:function(e){var t=this,n=S();return t.inputPhase.resolve(),t.fetchPhase.done((function(){var r;t.selection&&!t.visible?n.reject():(r=t.findSuggestionIndex(),t.select(r,e),-1===r?n.reject():n.resolve(r))})).fail((function(){n.reject()})),n},selectFoundSuggestion:function(){this.requestMode.userSelect||this.select(0)},findSuggestionIndex:function(){var e,t=this,n=t.selectedIndex;return-1===n&&(e=t.el.val().trim())&&t.type.matchers.some((function(r){return-1!==(n=r(e,t.suggestions))})),n},select:function(e,t){var n,r=this,i=r.suggestions[e],o=t&&t.continueSelecting,s=r.currentValue;if(!r.triggering.Select){if(!i)return o||r.selection||r.triggerOnSelectNothing(),void r.onSelectComplete(o);n=r.hasSameValues(i),r.enrichSuggestion(i,t).done((function(i,o){var a=E({hasBeenEnriched:o,hasSameValues:n},t);r.selectSuggestion(i,e,s,a)}))}},selectSuggestion:function(e,t,n,r){var i=this,o=r.continueSelecting,s=!i.type.isDataComplete||i.type.isDataComplete.call(i,e),a=i.selection;i.triggering.Select||(i.type.alwaysContinueSelecting&&(o=!0),s&&(o=!1),r.hasBeenEnriched&&i.suggestions[t]&&(i.suggestions[t].data=e.data),i.requestMode.updateValue&&(i.checkValueBounds(e),i.currentValue=i.getSuggestionValue(e,r),!i.currentValue||r.noSpace||s||(i.currentValue+=" "),i.el.val(i.currentValue)),i.currentValue?(i.selection=e,i.areSuggestionsSame(e,a)||i.trigger("Select",e,i.currentValue!=n),i.requestMode.userSelect&&i.onSelectComplete(o)):(i.selection=null,i.triggerOnSelectNothing()),i.shareWithParent(e))},onSelectComplete:function(e){var t=this;e?(t.selectedIndex=-1,t.updateSuggestions(t.currentValue)):t.hide()},triggerOnSelectNothing:function(){var e=this;e.triggering.SelectNothing||e.trigger("SelectNothing",e.currentValue)},trigger:function(e){var t=this,n=R.slice(arguments,1),r=t.options["on"+e];t.triggering[e]=!0,R.isFunction(r)&&r.apply(t.element,n),t.el.trigger.call(t.el,"suggestions-"+e.toLowerCase(),n),t.triggering[e]=!1}};E(o.prototype,he),Y.on("assignSuggestions",he.selectFoundSuggestion);var pe={setupBounds:function(){this.bounds={from:null,to:null}},setBoundsOptions:function(){var t,n,r=this,i=[],o=e.trim(r.options.bounds).split("-"),s=o[0],a=o[o.length-1],l=[],c=[];r.type.dataComponents&&e.each(r.type.dataComponents,(function(){this.forBounds&&i.push(this.id)})),-1===e.inArray(s,i)&&(s=null),-1!==(n=e.inArray(a,i))&&n!==i.length-1||(a=null),(s||a)&&(t=!s,e.each(i,(function(e,n){if(n==s&&(t=!0),c.push(n),t&&l.push(n),n==a)return!1}))),r.bounds.from=s,r.bounds.to=a,r.bounds.all=c,r.bounds.own=l},constructBoundsParams:function(){var e=this,t={};return e.bounds.from&&(t.from_bound={value:e.bounds.from}),e.bounds.to&&(t.to_bound={value:e.bounds.to}),t},checkValueBounds:function(e){var t,n=this;if(n.bounds.own.length&&n.type.composeValue){var r=n.bounds.own.slice(0);1===r.length&&"city_district"===r[0]&&r.push("city_district_fias_id"),t=n.copyDataComponents(e.data,r),e.value=n.type.composeValue(t)}},copyDataComponents:function(t,n){var r={},i=this.type.dataComponentsById;return i&&e.each(n,(function(n,o){e.each(i[o].fields,(function(e,n){null!=t[n]&&(r[n]=t[n])}))})),r},getBoundedKladrId:function(t,n){var r,i=n[n.length-1];return e.each(this.type.dataComponents,(function(e,t){if(t.id===i)return r=t.kladrFormat,!1})),t.substr(0,r.digits)+new Array((r.zeros||0)+1).join("0")}};e.extend(I,{bounds:null}),e.extend(o.prototype,pe),Y.on("initialize",pe.setupBounds).on("setOptions",pe.setBoundsOptions).on("requestParams",pe.constructBoundsParams);var me={selectByClass:function(e,t){var n="."+e;return t?t.querySelector(n):document.querySelector(n)},addClass:function(e,t){var n=e.className.split(" ");-1===n.indexOf(t)&&n.push(t),e.className=n.join(" ")},setStyle:function(e,t,n){e.style[t]=n},listenTo:function(e,t,n,r){e.addEventListener(t,r,!1),n&&(eventsByNamespace[n]||(eventsByNamespace[n]=[]),eventsByNamespace[n].push({eventName:t,element:e,callback:r}))},stopListeningNamespace:function(e){var t=eventsByNamespace[e];t&&t.forEach((function(e){e.element.removeEventListener(e.eventName,e.callback,!1)}))}};l.prototype.show=function(){"FREE"===this.plan&&this.element&&(this.setStyles(),this.setHtml())},l.prototype.setStyles=function(){this.element.style.display="block",this.isMobile||this.element.classList.add(_.promo_desktop)},l.prototype.setHtml=function(){this.element.innerHTML='<a target="_blank" href="https://dadata.ru/suggestions/?utm_source=dadata&utm_medium=module&utm_campaign=suggestions-jquery"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 167.55 38.92"><defs><style>.cls-1{fill:#cdcccc;}.cls-2{fill:#ef4741;}.cls-3{fill:#fff;}</style></defs><title>dadata-logo</title><path class="cls-1" d="M192.61,153.07H196v-3.15h-3.39Zm9.55-14.46v-2.45h-3v16.91h3.14V142.2a4.39,4.39,0,0,1,4.23-3.7h1.75v-2.69h-1.54C203.75,135.81,202.35,137.76,202.16,138.61Zm20.2-2.45v11.3a5,5,0,0,1-4.65,3.66,7.19,7.19,0,0,1-2-.23,2,2,0,0,1-1.12-.6,2.38,2.38,0,0,1-.44-.86,4.38,4.38,0,0,1-.1-1V136.16h-3.14v12.4a4.83,4.83,0,0,0,1.26,3.65q1.26,1.21,4.61,1.21c3.38,0,4.62-.91,5.56-2.34v2h3.14V136.16Z" transform="translate(-57.96 -122.27)"/><rect class="cls-2" width="131.91" height="38.92" rx="3" ry="3"/><path class="cls-3" d="M119.34,130.39h-9.18v22.68h10.23c3.84,0,10.18-.35,10.18-6.88v-8.91C130.56,130.74,123.18,130.39,119.34,130.39Zm5.77,15.2c0,3.27-2.38,3.6-5.09,3.6h-4.41V134.27H119c2.71,0,6.14.33,6.14,3.6Zm-48-15.2H68v22.68H78.18c3.84,0,10.18-.35,10.18-6.88v-8.91C88.36,130.74,81,130.39,77.14,130.39Zm5.77,15.2c0,3.27-2.38,3.6-5.09,3.6H73.41V134.27h3.36c2.71,0,6.14.33,6.14,3.6Zm74-14.32h-5.1V148a6.28,6.28,0,0,0,.4,2.36,4,4,0,0,0,1,1.54,4.56,4.56,0,0,0,1.57.88,8.16,8.16,0,0,0,1.85.42q.89.08,2.08.09a24.23,24.23,0,0,0,2.83-.17v-2.87h-1.82a3.08,3.08,0,0,1-2.31-.61,3.79,3.79,0,0,1-.52-2.36V139h4.65v-3.14h-4.65Zm21,5.68q-1.82-1.14-6.5-1.13h-5.92v.25l.73,2.9h5.19a5,5,0,0,1,2.5.5,2.37,2.37,0,0,1,.72,2v1.15H168.9q-3,0-4.12,1.17T163.62,148c0,2.21.37,3.14,1.12,3.84s2.2,1.22,4.48,1.22h7.06c1.76,0,3.45-.83,3.45-2.82v-8.81Q179.73,138.08,177.91,136.94Zm-3.29,13.3h-3.35a4.27,4.27,0,0,1-2.22-.35q-.44-.35-.44-2t.42-2.06a3.55,3.55,0,0,1,2.1-.38h3.49Zm-27.5-13.3q-1.82-1.14-6.5-1.13h-5.92v.25l.73,2.9h5.19a5,5,0,0,1,2.5.5,2.38,2.38,0,0,1,.72,2v1.15h-5.73q-3,0-4.12,1.17T132.84,148c0,2.21.37,3.14,1.12,3.84s2.2,1.22,4.48,1.22h7.06c1.77,0,3.45-.83,3.45-2.82v-8.81Q148.94,138.08,147.13,136.94Zm-3.28,13.3h-3.35a4.27,4.27,0,0,1-2.22-.35q-.44-.35-.44-2t.42-2.06a3.55,3.55,0,0,1,2.1-.38h3.49Zm-38.92-13.3q-1.82-1.14-6.5-1.13H92.5v.25l.73,2.9h5.19a5,5,0,0,1,2.5.5,2.38,2.38,0,0,1,.72,2v1.15H95.91q-3,0-4.12,1.17T90.63,148c0,2.21.37,3.14,1.12,3.84s2.2,1.22,4.48,1.22h7.06c1.77,0,3.45-.83,3.45-2.82v-8.81Q106.74,138.08,104.92,136.94Zm-3.28,13.3H98.29a4.27,4.27,0,0,1-2.22-.35q-.44-.35-.44-2t.42-2.06a3.55,3.55,0,0,1,2.1-.38h3.49Z" transform="translate(-57.96 -122.27)"/></svg></a>'},Y.on("assignSuggestions",(function(){new l(this).show()})),o.defaultOptions=I,o.version="19.8.0",e.Suggestions=o,e.fn.suggestions=function(t,n){return 0===arguments.length?this.first().data("suggestions"):this.each((function(){var r=e(this),i=r.data("suggestions");"string"==typeof t?i&&"function"==typeof i[t]&&i[t](n):(i&&i.dispose&&i.dispose(),i=new o(this,t),r.data("suggestions",i))}))}}))},function(e,t,n){"use strict";(function(r){var i,o,s,a="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},l={scope:{},findInternal:function(e,t,n){e instanceof String&&(e=String(e));for(var r=e.length,i=0;i<r;i++){var o=e[i];if(t.call(n,o,i,e))return{i:i,v:o}}return{i:-1,v:void 0}}};l.defineProperty="function"==typeof Object.defineProperties?Object.defineProperty:function(e,t,n){if(n.get||n.set)throw new TypeError("ES3 does not support getters and setters.");e!=Array.prototype&&e!=Object.prototype&&(e[t]=n.value)},l.getGlobal=function(e){return"undefined"!=typeof window&&window===e?e:void 0!==r&&null!=r?r:e},l.global=l.getGlobal(void 0),l.polyfill=function(e,t,n,r){if(t){for(n=l.global,e=e.split("."),r=0;r<e.length-1;r++){var i=e[r];i in n||(n[i]={}),n=n[i]}(t=t(r=n[e=e[e.length-1]]))!=r&&null!=t&&l.defineProperty(n,e,{configurable:!0,writable:!0,value:t})}},l.polyfill("Array.prototype.find",(function(e){return e||function(e,t){return l.findInternal(this,e,t).v}}),"es6-impl","es3"),window.jQuery,window.Zepto,o=[n(1)],void 0===(s="function"==typeof(i=function(e){var t=function(t,n,r){var i={invalid:[],getCaret:function(){try{var e,n=0,r=t.get(0),o=document.selection,s=r.selectionStart;return o&&-1===navigator.appVersion.indexOf("MSIE 10")?((e=o.createRange()).moveStart("character",-i.val().length),n=e.text.length):(s||"0"===s)&&(n=s),n}catch(e){}},setCaret:function(e){try{if(t.is(":focus")){var n,r=t.get(0);r.setSelectionRange?r.setSelectionRange(e,e):((n=r.createTextRange()).collapse(!0),n.moveEnd("character",e),n.moveStart("character",e),n.select())}}catch(e){}},events:function(){t.on("keydown.mask",(function(e){t.data("mask-keycode",e.keyCode||e.which),t.data("mask-previus-value",t.val()),t.data("mask-previus-caret-pos",i.getCaret()),i.maskDigitPosMapOld=i.maskDigitPosMap})).on(e.jMaskGlobals.useInput?"input.mask":"keyup.mask",i.behaviour).on("paste.mask drop.mask",(function(){setTimeout((function(){t.keydown().keyup()}),100)})).on("change.mask",(function(){t.data("changed",!0)})).on("blur.mask",(function(){a===i.val()||t.data("changed")||t.trigger("change"),t.data("changed",!1)})).on("blur.mask",(function(){a=i.val()})).on("focus.mask",(function(t){!0===r.selectOnFocus&&e(t.target).select()})).on("focusout.mask",(function(){r.clearIfNotMatch&&!o.test(i.val())&&i.val("")}))},getRegexMask:function(){for(var e,t,r,i,o=[],a=0;a<n.length;a++)(e=s.translation[n.charAt(a)])?(t=e.pattern.toString().replace(/.{1}$|^.{1}/g,""),r=e.optional,(e=e.recursive)?(o.push(n.charAt(a)),i={digit:n.charAt(a),pattern:t}):o.push(r||e?t+"?":t)):o.push(n.charAt(a).replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"));return o=o.join(""),i&&(o=o.replace(new RegExp("("+i.digit+"(.*"+i.digit+")?)"),"($1)?").replace(new RegExp(i.digit,"g"),i.pattern)),new RegExp(o)},destroyEvents:function(){t.off("input keydown keyup paste drop blur focusout ".split(" ").join(".mask "))},val:function(e){var n=t.is("input")?"val":"text";return 0<arguments.length?(t[n]()!==e&&t[n](e),n=t):n=t[n](),n},calculateCaretPosition:function(){var e=t.data("mask-previus-value")||"",n=i.getMasked(),r=i.getCaret();if(e!==n){var o,s=t.data("mask-previus-caret-pos")||0,a=(n=n.length,e.length),l=e=0,c=0,u=0;for(o=r;o<n&&i.maskDigitPosMap[o];o++)l++;for(o=r-1;0<=o&&i.maskDigitPosMap[o];o--)e++;for(o=r-1;0<=o;o--)i.maskDigitPosMap[o]&&c++;for(o=s-1;0<=o;o--)i.maskDigitPosMapOld[o]&&u++;r>a?r=10*n:s>=r&&s!==a?i.maskDigitPosMapOld[r]||(s=r,r=r-(u-c)-e,i.maskDigitPosMap[r]&&(r=s)):r>s&&(r=r+(c-u)+l)}return r},behaviour:function(n){n=n||window.event,i.invalid=[];var r=t.data("mask-keycode");if(-1===e.inArray(r,s.byPassKeys)){r=i.getMasked();var o=i.getCaret();return setTimeout((function(){i.setCaret(i.calculateCaretPosition())}),10),i.val(r),i.setCaret(o),i.callbacks(n)}},getMasked:function(e,t){var o,a,l,c=[],u=void 0===t?i.val():t+"",d=0,f=n.length,h=0,p=u.length,m=1,g="push",v=-1,y=0,_=[];for(r.reverse?(g="unshift",m=-1,o=0,d=f-1,h=p-1,a=function(){return-1<d&&-1<h}):(o=f-1,a=function(){return d<f&&h<p});a();){var b=n.charAt(d),w=u.charAt(h),x=s.translation[b];x?(w.match(x.pattern)?(c[g](w),x.recursive&&(-1===v?v=d:d===o&&(d=v-m),o===v&&(d-=m)),d+=m):w===l?(y--,l=void 0):x.optional?(d+=m,h-=m):x.fallback?(c[g](x.fallback),d+=m,h-=m):i.invalid.push({p:h,v:w,e:x.pattern}),h+=m):(e||c[g](b),w===b?(_.push(h),h+=m):(l=b,_.push(h+y),y++),d+=m)}return u=n.charAt(o),f!==p+1||s.translation[u]||c.push(u),c=c.join(""),i.mapMaskdigitPositions(c,_,p),c},mapMaskdigitPositions:function(e,t,n){for(e=r.reverse?e.length-n:0,i.maskDigitPosMap={},n=0;n<t.length;n++)i.maskDigitPosMap[t[n]+e]=1},callbacks:function(e){var o=i.val(),s=o!==a,l=[o,e,t,r],c=function(e,t,n){"function"==typeof r[e]&&t&&r[e].apply(this,n)};c("onChange",!0===s,l),c("onKeyPress",!0===s,l),c("onComplete",o.length===n.length,l),c("onInvalid",0<i.invalid.length,[o,e,t,i.invalid,r])}};t=e(t);var o,s=this,a=i.val();n="function"==typeof n?n(i.val(),void 0,t,r):n,s.mask=n,s.options=r,s.remove=function(){var e=i.getCaret();return i.destroyEvents(),i.val(s.getCleanVal()),i.setCaret(e),t},s.getCleanVal=function(){return i.getMasked(!0)},s.getMaskedVal=function(e){return i.getMasked(!1,e)},s.init=function(a){if(a=a||!1,r=r||{},s.clearIfNotMatch=e.jMaskGlobals.clearIfNotMatch,s.byPassKeys=e.jMaskGlobals.byPassKeys,s.translation=e.extend({},e.jMaskGlobals.translation,r.translation),s=e.extend(!0,{},s,r),o=i.getRegexMask(),a)i.events(),i.val(i.getMasked());else{r.placeholder&&t.attr("placeholder",r.placeholder),t.data("mask")&&t.attr("autocomplete","off"),a=0;for(var l=!0;a<n.length;a++){var c=s.translation[n.charAt(a)];if(c&&c.recursive){l=!1;break}}l&&t.attr("maxlength",n.length),i.destroyEvents(),i.events(),a=i.getCaret(),i.val(i.getMasked()),i.setCaret(a)}},s.init(!t.is("input"))};e.maskWatchers={};var n=function(){var n=e(this),i={},o=n.attr("data-mask");if(n.attr("data-mask-reverse")&&(i.reverse=!0),n.attr("data-mask-clearifnotmatch")&&(i.clearIfNotMatch=!0),"true"===n.attr("data-mask-selectonfocus")&&(i.selectOnFocus=!0),r(n,o,i))return n.data("mask",new t(this,o,i))},r=function(t,n,r){r=r||{};var i=e(t).data("mask"),o=JSON.stringify;t=e(t).val()||e(t).text();try{return"function"==typeof n&&(n=n(t)),"object"!==(void 0===i?"undefined":a(i))||o(i.options)!==o(r)||i.mask!==n}catch(e){}},i=function(e){var t,n=document.createElement("div");return(t=(e="on"+e)in n)||(n.setAttribute(e,"return;"),t="function"==typeof n[e]),t};e.fn.mask=function(n,i){i=i||{};var o=this.selector,s=(a=e.jMaskGlobals).watchInterval,a=i.watchInputs||a.watchInputs,l=function(){if(r(this,n,i))return e(this).data("mask",new t(this,n,i))};return e(this).each(l),o&&""!==o&&a&&(clearInterval(e.maskWatchers[o]),e.maskWatchers[o]=setInterval((function(){e(document).find(o).each(l)}),s)),this},e.fn.masked=function(e){return this.data("mask").getMaskedVal(e)},e.fn.unmask=function(){return clearInterval(e.maskWatchers[this.selector]),delete e.maskWatchers[this.selector],this.each((function(){var t=e(this).data("mask");t&&t.remove().removeData("mask")}))},e.fn.cleanVal=function(){return this.data("mask").getCleanVal()},e.applyDataMask=function(t){((t=t||e.jMaskGlobals.maskElements)instanceof e?t:e(t)).filter(e.jMaskGlobals.dataMaskAttr).each(n)},i={maskElements:"input,td,span,div",dataMaskAttr:"*[data-mask]",dataMask:!0,watchInterval:300,watchInputs:!0,useInput:!/Chrome\/[2-4][0-9]|SamsungBrowser/.test(window.navigator.userAgent)&&i("input"),watchDataMask:!1,byPassKeys:[9,16,17,18,36,37,38,39,40,91],translation:{0:{pattern:/\d/},9:{pattern:/\d/,optional:!0},"#":{pattern:/\d/,recursive:!0},A:{pattern:/[a-zA-Z0-9]/},S:{pattern:/[a-zA-Z]/}}},e.jMaskGlobals=e.jMaskGlobals||{},(i=e.jMaskGlobals=e.extend(!0,{},i,e.jMaskGlobals)).dataMask&&e.applyDataMask(),setInterval((function(){e.jMaskGlobals.watchDataMask&&e.applyDataMask()}),i.watchInterval)})?i.apply(t,o):i)||(e.exports=s)}).call(this,n(78))},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){"use strict";var r,i,o; /*! jQuery UI - v1.12.1 - 2020-02-11 * http://jqueryui.com * Includes: widget.js, keycode.js, widgets/mouse.js, widgets/slider.js * Copyright jQuery Foundation and other contributors; Licensed MIT */i=[n(1)],void 0===(o="function"==typeof(r=function(e){e.ui=e.ui||{},e.ui.version="1.12.1";var t=0,n=Array.prototype.slice;e.cleanData=function(t){return function(n){var r,i,o;for(o=0;null!=(i=n[o]);o++)try{(r=e._data(i,"events"))&&r.remove&&e(i).triggerHandler("remove")}catch(e){}t(n)}}(e.cleanData),e.widget=function(t,n,r){var i,o,s,a={},l=t.split(".")[0],c=l+"-"+(t=t.split(".")[1]);return r||(r=n,n=e.Widget),e.isArray(r)&&(r=e.extend.apply(null,[{}].concat(r))),e.expr[":"][c.toLowerCase()]=function(t){return!!e.data(t,c)},e[l]=e[l]||{},i=e[l][t],o=e[l][t]=function(e,t){return this._createWidget?void(arguments.length&&this._createWidget(e,t)):new o(e,t)},e.extend(o,i,{version:r.version,_proto:e.extend({},r),_childConstructors:[]}),(s=new n).options=e.widget.extend({},s.options),e.each(r,(function(t,r){return e.isFunction(r)?void(a[t]=function(){function e(){return n.prototype[t].apply(this,arguments)}function i(e){return n.prototype[t].apply(this,e)}return function(){var t,n=this._super,o=this._superApply;return this._super=e,this._superApply=i,t=r.apply(this,arguments),this._super=n,this._superApply=o,t}}()):void(a[t]=r)})),o.prototype=e.widget.extend(s,{widgetEventPrefix:i&&s.widgetEventPrefix||t},a,{constructor:o,namespace:l,widgetName:t,widgetFullName:c}),i?(e.each(i._childConstructors,(function(t,n){var r=n.prototype;e.widget(r.namespace+"."+r.widgetName,o,n._proto)})),delete i._childConstructors):n._childConstructors.push(o),e.widget.bridge(t,o),o},e.widget.extend=function(t){for(var r,i,o=n.call(arguments,1),s=0,a=o.length;a>s;s++)for(r in o[s])i=o[s][r],o[s].hasOwnProperty(r)&&void 0!==i&&(t[r]=e.isPlainObject(i)?e.isPlainObject(t[r])?e.widget.extend({},t[r],i):e.widget.extend({},i):i);return t},e.widget.bridge=function(t,r){var i=r.prototype.widgetFullName||t;e.fn[t]=function(o){var s="string"==typeof o,a=n.call(arguments,1),l=this;return s?this.length||"instance"!==o?this.each((function(){var n,r=e.data(this,i);return"instance"===o?(l=r,!1):r?e.isFunction(r[o])&&"_"!==o.charAt(0)?(n=r[o].apply(r,a))!==r&&void 0!==n?(l=n&&n.jquery?l.pushStack(n.get()):n,!1):void 0:e.error("no such method '"+o+"' for "+t+" widget instance"):e.error("cannot call methods on "+t+" prior to initialization; attempted to call method '"+o+"'")})):l=void 0:(a.length&&(o=e.widget.extend.apply(null,[o].concat(a))),this.each((function(){var t=e.data(this,i);t?(t.option(o||{}),t._init&&t._init()):e.data(this,i,new r(o,this))}))),l}},e.Widget=function(){},e.Widget._childConstructors=[],e.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"<div>",options:{classes:{},disabled:!1,create:null},_createWidget:function(n,r){r=e(r||this.defaultElement||this)[0],this.element=e(r),this.uuid=t++,this.eventNamespace="."+this.widgetName+this.uuid,this.bindings=e(),this.hoverable=e(),this.focusable=e(),this.classesElementLookup={},r!==this&&(e.data(r,this.widgetFullName,this),this._on(!0,this.element,{remove:function(e){e.target===r&&this.destroy()}}),this.document=e(r.style?r.ownerDocument:r.document||r),this.window=e(this.document[0].defaultView||this.document[0].parentWindow)),this.options=e.widget.extend({},this.options,this._getCreateOptions(),n),this._create(),this.options.disabled&&this._setOptionDisabled(this.options.disabled),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:function(){return{}},_getCreateEventData:e.noop,_create:e.noop,_init:e.noop,destroy:function(){var t=this;this._destroy(),e.each(this.classesElementLookup,(function(e,n){t._removeClass(n,e)})),this.element.off(this.eventNamespace).removeData(this.widgetFullName),this.widget().off(this.eventNamespace).removeAttr("aria-disabled"),this.bindings.off(this.eventNamespace)},_destroy:e.noop,widget:function(){return this.element},option:function(t,n){var r,i,o,s=t;if(0===arguments.length)return e.widget.extend({},this.options);if("string"==typeof t)if(s={},r=t.split("."),t=r.shift(),r.length){for(i=s[t]=e.widget.extend({},this.options[t]),o=0;r.length-1>o;o++)i[r[o]]=i[r[o]]||{},i=i[r[o]];if(t=r.pop(),1===arguments.length)return void 0===i[t]?null:i[t];i[t]=n}else{if(1===arguments.length)return void 0===this.options[t]?null:this.options[t];s[t]=n}return this._setOptions(s),this},_setOptions:function(e){var t;for(t in e)this._setOption(t,e[t]);return this},_setOption:function(e,t){return"classes"===e&&this._setOptionClasses(t),this.options[e]=t,"disabled"===e&&this._setOptionDisabled(t),this},_setOptionClasses:function(t){var n,r,i;for(n in t)i=this.classesElementLookup[n],t[n]!==this.options.classes[n]&&i&&i.length&&(r=e(i.get()),this._removeClass(i,n),r.addClass(this._classes({element:r,keys:n,classes:t,add:!0})))},_setOptionDisabled:function(e){this._toggleClass(this.widget(),this.widgetFullName+"-disabled",null,!!e),e&&(this._removeClass(this.hoverable,null,"ui-state-hover"),this._removeClass(this.focusable,null,"ui-state-focus"))},enable:function(){return this._setOptions({disabled:!1})},disable:function(){return this._setOptions({disabled:!0})},_classes:function(t){function n(n,o){var s,a;for(a=0;n.length>a;a++)s=i.classesElementLookup[n[a]]||e(),s=t.add?e(e.unique(s.get().concat(t.element.get()))):e(s.not(t.element).get()),i.classesElementLookup[n[a]]=s,r.push(n[a]),o&&t.classes[n[a]]&&r.push(t.classes[n[a]])}var r=[],i=this;return t=e.extend({element:this.element,classes:this.options.classes||{}},t),this._on(t.element,{remove:"_untrackClassesElement"}),t.keys&&n(t.keys.match(/\S+/g)||[],!0),t.extra&&n(t.extra.match(/\S+/g)||[]),r.join(" ")},_untrackClassesElement:function(t){var n=this;e.each(n.classesElementLookup,(function(r,i){-1!==e.inArray(t.target,i)&&(n.classesElementLookup[r]=e(i.not(t.target).get()))}))},_removeClass:function(e,t,n){return this._toggleClass(e,t,n,!1)},_addClass:function(e,t,n){return this._toggleClass(e,t,n,!0)},_toggleClass:function(e,t,n,r){r="boolean"==typeof r?r:n;var i="string"==typeof e||null===e,o={extra:i?t:n,keys:i?e:t,element:i?this.element:e,add:r};return o.element.toggleClass(this._classes(o),r),this},_on:function(t,n,r){var i,o=this;"boolean"!=typeof t&&(r=n,n=t,t=!1),r?(n=i=e(n),this.bindings=this.bindings.add(n)):(r=n,n=this.element,i=this.widget()),e.each(r,(function(r,s){function a(){return t||!0!==o.options.disabled&&!e(this).hasClass("ui-state-disabled")?("string"==typeof s?o[s]:s).apply(o,arguments):void 0}"string"!=typeof s&&(a.guid=s.guid=s.guid||a.guid||e.guid++);var l=r.match(/^([\w:-]*)\s*(.*)$/),c=l[1]+o.eventNamespace,u=l[2];u?i.on(c,u,a):n.on(c,a)}))},_off:function(t,n){n=(n||"").split(" ").join(this.eventNamespace+" ")+this.eventNamespace,t.off(n).off(n),this.bindings=e(this.bindings.not(t).get()),this.focusable=e(this.focusable.not(t).get()),this.hoverable=e(this.hoverable.not(t).get())},_delay:function(e,t){var n=this;return setTimeout((function(){return("string"==typeof e?n[e]:e).apply(n,arguments)}),t||0)},_hoverable:function(t){this.hoverable=this.hoverable.add(t),this._on(t,{mouseenter:function(t){this._addClass(e(t.currentTarget),null,"ui-state-hover")},mouseleave:function(t){this._removeClass(e(t.currentTarget),null,"ui-state-hover")}})},_focusable:function(t){this.focusable=this.focusable.add(t),this._on(t,{focusin:function(t){this._addClass(e(t.currentTarget),null,"ui-state-focus")},focusout:function(t){this._removeClass(e(t.currentTarget),null,"ui-state-focus")}})},_trigger:function(t,n,r){var i,o,s=this.options[t];if(r=r||{},(n=e.Event(n)).type=(t===this.widgetEventPrefix?t:this.widgetEventPrefix+t).toLowerCase(),n.target=this.element[0],o=n.originalEvent)for(i in o)i in n||(n[i]=o[i]);return this.element.trigger(n,r),!(e.isFunction(s)&&!1===s.apply(this.element[0],[n].concat(r))||n.isDefaultPrevented())}},e.each({show:"fadeIn",hide:"fadeOut"},(function(t,n){e.Widget.prototype["_"+t]=function(r,i,o){"string"==typeof i&&(i={effect:i});var s,a=i?!0===i||"number"==typeof i?n:i.effect||n:t;"number"==typeof(i=i||{})&&(i={duration:i}),s=!e.isEmptyObject(i),i.complete=o,i.delay&&r.delay(i.delay),s&&e.effects&&e.effects.effect[a]?r[t](i):a!==t&&r[a]?r[a](i.duration,i.easing,o):r.queue((function(n){e(this)[t](),o&&o.call(r[0]),n()}))}})),e.widget,e.ui.keyCode={BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SPACE:32,TAB:9,UP:38},e.ui.ie=!!/msie [\w.]+/.exec(navigator.userAgent.toLowerCase());var r=!1;e(document).on("mouseup",(function(){r=!1})),e.widget("ui.mouse",{version:"1.12.1",options:{cancel:"input, textarea, button, select, option",distance:1,delay:0},_mouseInit:function(){var t=this;this.element.on("mousedown."+this.widgetName,(function(e){return t._mouseDown(e)})).on("click."+this.widgetName,(function(n){return!0===e.data(n.target,t.widgetName+".preventClickEvent")?(e.removeData(n.target,t.widgetName+".preventClickEvent"),n.stopImmediatePropagation(),!1):void 0})),this.started=!1},_mouseDestroy:function(){this.element.off("."+this.widgetName),this._mouseMoveDelegate&&this.document.off("mousemove."+this.widgetName,this._mouseMoveDelegate).off("mouseup."+this.widgetName,this._mouseUpDelegate)},_mouseDown:function(t){if(!r){this._mouseMoved=!1,this._mouseStarted&&this._mouseUp(t),this._mouseDownEvent=t;var n=this,i=1===t.which,o=!("string"!=typeof this.options.cancel||!t.target.nodeName)&&e(t.target).closest(this.options.cancel).length;return!(i&&!o&&this._mouseCapture(t)&&(this.mouseDelayMet=!this.options.delay,this.mouseDelayMet||(this._mouseDelayTimer=setTimeout((function(){n.mouseDelayMet=!0}),this.options.delay)),this._mouseDistanceMet(t)&&this._mouseDelayMet(t)&&(this._mouseStarted=!1!==this._mouseStart(t),!this._mouseStarted)?(t.preventDefault(),0):(!0===e.data(t.target,this.widgetName+".preventClickEvent")&&e.removeData(t.target,this.widgetName+".preventClickEvent"),this._mouseMoveDelegate=function(e){return n._mouseMove(e)},this._mouseUpDelegate=function(e){return n._mouseUp(e)},this.document.on("mousemove."+this.widgetName,this._mouseMoveDelegate).on("mouseup."+this.widgetName,this._mouseUpDelegate),t.preventDefault(),r=!0,0)))}},_mouseMove:function(t){if(this._mouseMoved){if(e.ui.ie&&(!document.documentMode||9>document.documentMode)&&!t.button)return this._mouseUp(t);if(!t.which)if(t.originalEvent.altKey||t.originalEvent.ctrlKey||t.originalEvent.metaKey||t.originalEvent.shiftKey)this.ignoreMissingWhich=!0;else if(!this.ignoreMissingWhich)return this._mouseUp(t)}return(t.which||t.button)&&(this._mouseMoved=!0),this._mouseStarted?(this._mouseDrag(t),t.preventDefault()):(this._mouseDistanceMet(t)&&this._mouseDelayMet(t)&&(this._mouseStarted=!1!==this._mouseStart(this._mouseDownEvent,t),this._mouseStarted?this._mouseDrag(t):this._mouseUp(t)),!this._mouseStarted)},_mouseUp:function(t){this.document.off("mousemove."+this.widgetName,this._mouseMoveDelegate).off("mouseup."+this.widgetName,this._mouseUpDelegate),this._mouseStarted&&(this._mouseStarted=!1,t.target===this._mouseDownEvent.target&&e.data(t.target,this.widgetName+".preventClickEvent",!0),this._mouseStop(t)),this._mouseDelayTimer&&(clearTimeout(this._mouseDelayTimer),delete this._mouseDelayTimer),this.ignoreMissingWhich=!1,r=!1,t.preventDefault()},_mouseDistanceMet:function(e){return Math.max(Math.abs(this._mouseDownEvent.pageX-e.pageX),Math.abs(this._mouseDownEvent.pageY-e.pageY))>=this.options.distance},_mouseDelayMet:function(){return this.mouseDelayMet},_mouseStart:function(){},_mouseDrag:function(){},_mouseStop:function(){},_mouseCapture:function(){return!0}}),e.widget("ui.slider",e.ui.mouse,{version:"1.12.1",widgetEventPrefix:"slide",options:{animate:!1,classes:{"ui-slider":"ui-corner-all","ui-slider-handle":"ui-corner-all","ui-slider-range":"ui-corner-all ui-widget-header"},distance:0,max:100,min:0,orientation:"horizontal",range:!1,step:1,value:0,values:null,change:null,slide:null,start:null,stop:null},numPages:5,_create:function(){this._keySliding=!1,this._mouseSliding=!1,this._animateOff=!0,this._handleIndex=null,this._detectOrientation(),this._mouseInit(),this._calculateNewMax(),this._addClass("ui-slider ui-slider-"+this.orientation,"ui-widget ui-widget-content"),this._refresh(),this._animateOff=!1},_refresh:function(){this._createRange(),this._createHandles(),this._setupEvents(),this._refreshValue()},_createHandles:function(){var t,n,r=this.options,i=this.element.find(".ui-slider-handle"),o=[];for(n=r.values&&r.values.length||1,i.length>n&&(i.slice(n).remove(),i=i.slice(0,n)),t=i.length;n>t;t++)o.push("<span tabindex='0'></span>");this.handles=i.add(e(o.join("")).appendTo(this.element)),this._addClass(this.handles,"ui-slider-handle","ui-state-default"),this.handle=this.handles.eq(0),this.handles.each((function(t){e(this).data("ui-slider-handle-index",t).attr("tabIndex",0)}))},_createRange:function(){var t=this.options;t.range?(!0===t.range&&(t.values?t.values.length&&2!==t.values.length?t.values=[t.values[0],t.values[0]]:e.isArray(t.values)&&(t.values=t.values.slice(0)):t.values=[this._valueMin(),this._valueMin()]),this.range&&this.range.length?(this._removeClass(this.range,"ui-slider-range-min ui-slider-range-max"),this.range.css({left:"",bottom:""})):(this.range=e("<div>").appendTo(this.element),this._addClass(this.range,"ui-slider-range")),("min"===t.range||"max"===t.range)&&this._addClass(this.range,"ui-slider-range-"+t.range)):(this.range&&this.range.remove(),this.range=null)},_setupEvents:function(){this._off(this.handles),this._on(this.handles,this._handleEvents),this._hoverable(this.handles),this._focusable(this.handles)},_destroy:function(){this.handles.remove(),this.range&&this.range.remove(),this._mouseDestroy()},_mouseCapture:function(t){var n,r,i,o,s,a,l,c=this,u=this.options;return!u.disabled&&(this.elementSize={width:this.element.outerWidth(),height:this.element.outerHeight()},this.elementOffset=this.element.offset(),n={x:t.pageX,y:t.pageY},r=this._normValueFromMouse(n),i=this._valueMax()-this._valueMin()+1,this.handles.each((function(t){var n=Math.abs(r-c.values(t));(i>n||i===n&&(t===c._lastChangedValue||c.values(t)===u.min))&&(i=n,o=e(this),s=t)})),!1!==this._start(t,s)&&(this._mouseSliding=!0,this._handleIndex=s,this._addClass(o,null,"ui-state-active"),o.trigger("focus"),a=o.offset(),l=!e(t.target).parents().addBack().is(".ui-slider-handle"),this._clickOffset=l?{left:0,top:0}:{left:t.pageX-a.left-o.width()/2,top:t.pageY-a.top-o.height()/2-(parseInt(o.css("borderTopWidth"),10)||0)-(parseInt(o.css("borderBottomWidth"),10)||0)+(parseInt(o.css("marginTop"),10)||0)},this.handles.hasClass("ui-state-hover")||this._slide(t,s,r),this._animateOff=!0,!0))},_mouseStart:function(){return!0},_mouseDrag:function(e){var t={x:e.pageX,y:e.pageY},n=this._normValueFromMouse(t);return this._slide(e,this._handleIndex,n),!1},_mouseStop:function(e){return this._removeClass(this.handles,null,"ui-state-active"),this._mouseSliding=!1,this._stop(e,this._handleIndex),this._change(e,this._handleIndex),this._handleIndex=null,this._clickOffset=null,this._animateOff=!1,!1},_detectOrientation:function(){this.orientation="vertical"===this.options.orientation?"vertical":"horizontal"},_normValueFromMouse:function(e){var t,n,r,i,o;return"horizontal"===this.orientation?(t=this.elementSize.width,n=e.x-this.elementOffset.left-(this._clickOffset?this._clickOffset.left:0)):(t=this.elementSize.height,n=e.y-this.elementOffset.top-(this._clickOffset?this._clickOffset.top:0)),(r=n/t)>1&&(r=1),0>r&&(r=0),"vertical"===this.orientation&&(r=1-r),i=this._valueMax()-this._valueMin(),o=this._valueMin()+r*i,this._trimAlignValue(o)},_uiHash:function(e,t,n){var r={handle:this.handles[e],handleIndex:e,value:void 0!==t?t:this.value()};return this._hasMultipleValues()&&(r.value=void 0!==t?t:this.values(e),r.values=n||this.values()),r},_hasMultipleValues:function(){return this.options.values&&this.options.values.length},_start:function(e,t){return this._trigger("start",e,this._uiHash(t))},_slide:function(e,t,n){var r,i=this.value(),o=this.values();this._hasMultipleValues()&&(r=this.values(t?0:1),i=this.values(t),2===this.options.values.length&&!0===this.options.range&&(n=0===t?Math.min(r,n):Math.max(r,n)),o[t]=n),n!==i&&!1!==this._trigger("slide",e,this._uiHash(t,n,o))&&(this._hasMultipleValues()?this.values(t,n):this.value(n))},_stop:function(e,t){this._trigger("stop",e,this._uiHash(t))},_change:function(e,t){this._keySliding||this._mouseSliding||(this._lastChangedValue=t,this._trigger("change",e,this._uiHash(t)))},value:function(e){return arguments.length?(this.options.value=this._trimAlignValue(e),this._refreshValue(),void this._change(null,0)):this._value()},values:function(t,n){var r,i,o;if(arguments.length>1)return this.options.values[t]=this._trimAlignValue(n),this._refreshValue(),void this._change(null,t);if(!arguments.length)return this._values();if(!e.isArray(arguments[0]))return this._hasMultipleValues()?this._values(t):this.value();for(r=this.options.values,i=arguments[0],o=0;r.length>o;o+=1)r[o]=this._trimAlignValue(i[o]),this._change(null,o);this._refreshValue()},_setOption:function(t,n){var r,i=0;switch("range"===t&&!0===this.options.range&&("min"===n?(this.options.value=this._values(0),this.options.values=null):"max"===n&&(this.options.value=this._values(this.options.values.length-1),this.options.values=null)),e.isArray(this.options.values)&&(i=this.options.values.length),this._super(t,n),t){case"orientation":this._detectOrientation(),this._removeClass("ui-slider-horizontal ui-slider-vertical")._addClass("ui-slider-"+this.orientation),this._refreshValue(),this.options.range&&this._refreshRange(n),this.handles.css("horizontal"===n?"bottom":"left","");break;case"value":this._animateOff=!0,this._refreshValue(),this._change(null,0),this._animateOff=!1;break;case"values":for(this._animateOff=!0,this._refreshValue(),r=i-1;r>=0;r--)this._change(null,r);this._animateOff=!1;break;case"step":case"min":case"max":this._animateOff=!0,this._calculateNewMax(),this._refreshValue(),this._animateOff=!1;break;case"range":this._animateOff=!0,this._refresh(),this._animateOff=!1}},_setOptionDisabled:function(e){this._super(e),this._toggleClass(null,"ui-state-disabled",!!e)},_value:function(){var e=this.options.value;return this._trimAlignValue(e)},_values:function(e){var t,n,r;if(arguments.length)return t=this.options.values[e],this._trimAlignValue(t);if(this._hasMultipleValues()){for(n=this.options.values.slice(),r=0;n.length>r;r+=1)n[r]=this._trimAlignValue(n[r]);return n}return[]},_trimAlignValue:function(e){if(this._valueMin()>=e)return this._valueMin();if(e>=this._valueMax())return this._valueMax();var t=this.options.step>0?this.options.step:1,n=(e-this._valueMin())%t,r=e-n;return 2*Math.abs(n)>=t&&(r+=n>0?t:-t),parseFloat(r.toFixed(5))},_calculateNewMax:function(){var e=this.options.max,t=this._valueMin(),n=this.options.step;(e=Math.round((e-t)/n)*n+t)>this.options.max&&(e-=n),this.max=parseFloat(e.toFixed(this._precision()))},_precision:function(){var e=this._precisionOf(this.options.step);return null!==this.options.min&&(e=Math.max(e,this._precisionOf(this.options.min))),e},_precisionOf:function(e){var t=""+e,n=t.indexOf(".");return-1===n?0:t.length-n-1},_valueMin:function(){return this.options.min},_valueMax:function(){return this.max},_refreshRange:function(e){"vertical"===e&&this.range.css({width:"",left:""}),"horizontal"===e&&this.range.css({height:"",bottom:""})},_refreshValue:function(){var t,n,r,i,o,s=this.options.range,a=this.options,l=this,c=!this._animateOff&&a.animate,u={};this._hasMultipleValues()?this.handles.each((function(r){n=(l.values(r)-l._valueMin())/(l._valueMax()-l._valueMin())*100,u["horizontal"===l.orientation?"left":"bottom"]=n+"%",e(this).stop(1,1)[c?"animate":"css"](u,a.animate),!0===l.options.range&&("horizontal"===l.orientation?(0===r&&l.range.stop(1,1)[c?"animate":"css"]({left:n+"%"},a.animate),1===r&&l.range[c?"animate":"css"]({width:n-t+"%"},{queue:!1,duration:a.animate})):(0===r&&l.range.stop(1,1)[c?"animate":"css"]({bottom:n+"%"},a.animate),1===r&&l.range[c?"animate":"css"]({height:n-t+"%"},{queue:!1,duration:a.animate}))),t=n})):(r=this.value(),i=this._valueMin(),o=this._valueMax(),n=o!==i?(r-i)/(o-i)*100:0,u["horizontal"===this.orientation?"left":"bottom"]=n+"%",this.handle.stop(1,1)[c?"animate":"css"](u,a.animate),"min"===s&&"horizontal"===this.orientation&&this.range.stop(1,1)[c?"animate":"css"]({width:n+"%"},a.animate),"max"===s&&"horizontal"===this.orientation&&this.range.stop(1,1)[c?"animate":"css"]({width:100-n+"%"},a.animate),"min"===s&&"vertical"===this.orientation&&this.range.stop(1,1)[c?"animate":"css"]({height:n+"%"},a.animate),"max"===s&&"vertical"===this.orientation&&this.range.stop(1,1)[c?"animate":"css"]({height:100-n+"%"},a.animate))},_handleEvents:{keydown:function(t){var n,r,i,o=e(t.target).data("ui-slider-handle-index");switch(t.keyCode){case e.ui.keyCode.HOME:case e.ui.keyCode.END:case e.ui.keyCode.PAGE_UP:case e.ui.keyCode.PAGE_DOWN:case e.ui.keyCode.UP:case e.ui.keyCode.RIGHT:case e.ui.keyCode.DOWN:case e.ui.keyCode.LEFT:if(t.preventDefault(),!this._keySliding&&(this._keySliding=!0,this._addClass(e(t.target),null,"ui-state-active"),!1===this._start(t,o)))return}switch(i=this.options.step,n=r=this._hasMultipleValues()?this.values(o):this.value(),t.keyCode){case e.ui.keyCode.HOME:r=this._valueMin();break;case e.ui.keyCode.END:r=this._valueMax();break;case e.ui.keyCode.PAGE_UP:r=this._trimAlignValue(n+(this._valueMax()-this._valueMin())/this.numPages);break;case e.ui.keyCode.PAGE_DOWN:r=this._trimAlignValue(n-(this._valueMax()-this._valueMin())/this.numPages);break;case e.ui.keyCode.UP:case e.ui.keyCode.RIGHT:if(n===this._valueMax())return;r=this._trimAlignValue(n+i);break;case e.ui.keyCode.DOWN:case e.ui.keyCode.LEFT:if(n===this._valueMin())return;r=this._trimAlignValue(n-i)}this._slide(t,o,r)},keyup:function(t){var n=e(t.target).data("ui-slider-handle-index");this._keySliding&&(this._keySliding=!1,this._stop(t,n),this._change(t,n),this._removeClass(e(t.target),null,"ui-state-active"))}}})})?r.apply(t,i):r)||(e.exports=o)},function(e,t,n){"use strict";(function(e){ /*! * jQuery UI Touch Punch 0.2.3 * * Copyright 2011–2014, Dave Furfero * Dual licensed under the MIT or GPL Version 2 licenses. * * Depends: * jquery.ui.widget.js * jquery.ui.mouse.js */ !function(e){function t(e,t){if(!(e.originalEvent.touches.length>1)){e.preventDefault();var n=e.originalEvent.changedTouches[0],r=document.createEvent("MouseEvents");r.initMouseEvent(t,!0,!0,window,1,n.screenX,n.screenY,n.clientX,n.clientY,!1,!1,!1,!1,0,null),e.target.dispatchEvent(r)}}if(e.support.touch="ontouchend"in document,e.support.touch){var n,r=e.ui.mouse.prototype,i=r._mouseInit,o=r._mouseDestroy;r._touchStart=function(e){!n&&this._mouseCapture(e.originalEvent.changedTouches[0])&&(n=!0,this._touchMoved=!1,t(e,"mouseover"),t(e,"mousemove"),t(e,"mousedown"))},r._touchMove=function(e){n&&(this._touchMoved=!0,t(e,"mousemove"))},r._touchEnd=function(e){n&&(t(e,"mouseup"),t(e,"mouseout"),this._touchMoved||t(e,"click"),n=!1)},r._mouseInit=function(){var t=this;t.element.bind({touchstart:e.proxy(t,"_touchStart"),touchmove:e.proxy(t,"_touchMove"),touchend:e.proxy(t,"_touchEnd")}),i.call(t)},r._mouseDestroy=function(){var t=this;t.element.unbind({touchstart:e.proxy(t,"_touchStart"),touchmove:e.proxy(t,"_touchMove"),touchend:e.proxy(t,"_touchEnd")}),o.call(t)}}}(e)}).call(this,n(1))},function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=l(n(0)),o=l(n(13)),s=n(2),a=n(5);function l(e){return e&&e.__esModule?e:{default:e}}var c=function(){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),this.PREFIX=i.default.config.prefix,this.options=e.options||{},this.control=e.control,this.field=e.field,this.type=e.type,this.types={fio:"NAME",address:"ADDRESS",party:"PARTY",email:"EMAIL",bank:"BANK",fms:"fms_unit"},this.render()}return r(t,[{key:"render",value:function(){var t=this;i.default.debug&&console.log("Dadata render"),"fio"==e(this.field).data("dadata")&&(this.options.triggerSelectOnEnter=!1,e(this.field).on("keydown",(function(n){if(13==n.which){var r=t.suggestions.suggestions[t.suggestions.selectedIndex];r&&r.data.name&&r.data.surname&&r.data.patronymic?(t.suggestions.setSuggestion(r),t.suggestions.hide(),t.field.value=t.field.value.trim()):t.field.value&&t.field.value.split(" ").length<3&&(t.field.value=t.field.value.trim()+" ",t.suggestions.update()),e(n.target).trigger("dadata:change")}}))),"address"==e(this.field).data("dadata")&&(this.options.triggerSelectOnEnter=!1,e(this.field).on("keydown",(function(n){if(13==n.which){var r=t.suggestions.suggestions[t.suggestions.selectedIndex];r&&r.data.house?(t.suggestions.setSuggestion(r),t.suggestions.hide(),t.field.value=t.field.value.trim()):t.field.value&&(t.field.value=t.field.value.trim()+" ",t.suggestions.update()),e(n.target).trigger("dadata:change")}}))),"email"===e(this.field).data("dadata")&&(this.options.suggest_local=!1);var n=0,r=0,l=(0,s.debounce)((function(){(0,a.trackDadata)({token:i.default.snapshotToken,found:n,not_found:r}),n=0,r=0}),2e3);this.suggestions=e(this.field).suggestions(Object.assign({token:i.default.config.dadata,type:this.types[this.type],addon:"none",count:6,hint:"",mobileWidth:300,geoLocation:!1,noSuggestionsHint:!1,onSelect:function(){this.restoredFixData||(e(this).trigger("dadata:change"),e(this).trigger("dadata:change:validate")),this.restoredFixData=!1},onSelectNothing:function(){e(this).trigger("dadata:nochange:validate")},onSearchComplete:function(e,t){t.length?n+=1:r+=1,l()},onSearchError:function(e,t){(0,a.trackDadataError)({token:i.default.snapshotToken,value:e,error:t.responseJSON})}},this.options)).suggestions(),"name"!==e(this.field).attr("name")&&"permanentAddress"!==e(this.field).attr("name")&&"previousName"!==e(this.field).attr("name")&&"companyName"!==e(this.field).attr("name")&&"workAddress"!==e(this.field).attr("name")&&"spouseCompany"!==e(this.field).attr("name")&&"deliveryAddress"!==e(this.field).attr("name")||(this.suggestions.options.formatSelected=function(){return o.default.destroy(e(t.field)[0]),e(t.field)[0].style.height=e(t.field)[0].scrollHeight+"px",setTimeout((function(){return(0,o.default)(e(t.field)[0])}),1)})}}]),t}();t.default=c}).call(this,n(1))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.setLocalstorage=function(e,t){return localStorage.setItem(e,t)},t.getLocalstorage=function(e){return localStorage.getItem(e)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ApiUrl=t.api=void 0;var r=o(n(0)),i=o(n(16));function o(e){return e&&e.__esModule?e:{default:e}}var s={SAVE_DATA:r.default.config.endpoint.snapshotsSave,RESTORE_DATA:r.default.config.endpoint.snapshotsRestore},a=i.default.create({timeout:5e4,withCredentials:!0});t.api=a,t.ApiUrl=s},function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=l(n(0)),o=l(n(8)),s=l(n(85)),a=n(2);function l(e){return e&&e.__esModule?e:{default:e}}var c=function(){function t(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t)}return r(t,null,[{key:"postData",value:function(){var t=new o.default(e("."+i.default.config.prefix+"form")[0]).data.answer;return t.root.utm.content=(0,a.getUTM)().content,t.root.promocode=(0,a.getPromocodeValue)(),t}},{key:"getData",value:function(e){return{name:e.name.surname+" "+e.name.name+" "+e.name.patronymic,promocode:e.promocode,email:e.email,permanentAddress:e.registrationAddress&&e.registrationAddress.address,permanentAddressEqualsCurrentAddress:e.registrationAddressIsActual,birthday:e.birthDate&&(0,s.default)(e.birthDate).isValid()&&(0,s.default)(e.birthDate).format("DD.MM.YYYY"),passportSeriaNumber:e.passportSeriesNumber&&e.passportSeriesNumber.series&&e.passportSeriesNumber.number&&e.passportSeriesNumber.series+"-"+e.passportSeriesNumber.number,passportIssueByCode:e.passportIssuer&&e.passportIssuer.issuerCode,passportIssueDate:e.passportIssueDate&&(0,s.default)(e.passportIssueDate).isValid()&&(0,s.default)(e.passportIssueDate).format("DD.MM.YYYY"),passportIssuePlace:e.passportIssuer&&e.passportIssuer.issuer,birthCountry:e.country,birthPlace:e.birthplace,gender:e.name&&e.name.gender,materialStatus:e.family,isRaiffeisenClient:e.card,deliveryType:e.delivery&&e.delivery.type,city_branch:e.delivery&&e.delivery.city,city_dsa:e.delivery&&e.delivery.city,branch:e.delivery&&e.delivery.branch,deliveryAddress:e.delivery&&e.delivery.address&&e.delivery.address.address,courierDeliverySchedule:e.courierDeliverySchedule,isDeliveryMethodPick:e.isDeliveryMethodPick}}}]),t}();t.default=c}).call(this,n(1))},function(e,t,n){(function(e){e.exports=function(){"use strict";var t,r;function i(){return t.apply(null,arguments)}function o(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function s(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function a(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function l(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(a(e,t))return!1;return!0}function c(e){return void 0===e}function u(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function d(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function f(e,t){var n,r=[];for(n=0;n<e.length;++n)r.push(t(e[n],n));return r}function h(e,t){for(var n in t)a(t,n)&&(e[n]=t[n]);return a(t,"toString")&&(e.toString=t.toString),a(t,"valueOf")&&(e.valueOf=t.valueOf),e}function p(e,t,n,r){return St(e,t,n,r,!0).utc()}function m(e){return null==e._pf&&(e._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}),e._pf}function g(e){if(null==e._isValid){var t=m(e),n=r.call(t.parsedDateParts,(function(e){return null!=e})),i=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&n);if(e._strict&&(i=i&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return i;e._isValid=i}return e._isValid}function v(e){var t=p(NaN);return null!=e?h(m(t),e):m(t).userInvalidated=!0,t}r=Array.prototype.some?Array.prototype.some:function(e){var t,n=Object(this),r=n.length>>>0;for(t=0;t<r;t++)if(t in n&&e.call(this,n[t],t,n))return!0;return!1};var y=i.momentProperties=[],_=!1;function b(e,t){var n,r,i;if(c(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),c(t._i)||(e._i=t._i),c(t._f)||(e._f=t._f),c(t._l)||(e._l=t._l),c(t._strict)||(e._strict=t._strict),c(t._tzm)||(e._tzm=t._tzm),c(t._isUTC)||(e._isUTC=t._isUTC),c(t._offset)||(e._offset=t._offset),c(t._pf)||(e._pf=m(t)),c(t._locale)||(e._locale=t._locale),y.length>0)for(n=0;n<y.length;n++)c(i=t[r=y[n]])||(e[r]=i);return e}function w(e){b(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===_&&(_=!0,i.updateOffset(this),_=!1)}function x(e){return e instanceof w||null!=e&&null!=e._isAMomentObject}function C(e){!1===i.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function k(e,t){var n=!0;return h((function(){if(null!=i.deprecationHandler&&i.deprecationHandler(null,e),n){var r,o,s,l=[];for(o=0;o<arguments.length;o++){if(r="","object"==typeof arguments[o]){for(s in r+="\n["+o+"] ",arguments[0])a(arguments[0],s)&&(r+=s+": "+arguments[0][s]+", ");r=r.slice(0,-2)}else r=arguments[o];l.push(r)}C(e+"\nArguments: "+Array.prototype.slice.call(l).join("")+"\n"+(new Error).stack),n=!1}return t.apply(this,arguments)}),t)}var S,D={};function E(e,t){null!=i.deprecationHandler&&i.deprecationHandler(e,t),D[e]||(C(t),D[e]=!0)}function T(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function O(e,t){var n,r=h({},e);for(n in t)a(t,n)&&(s(e[n])&&s(t[n])?(r[n]={},h(r[n],e[n]),h(r[n],t[n])):null!=t[n]?r[n]=t[n]:delete r[n]);for(n in e)a(e,n)&&!a(t,n)&&s(e[n])&&(r[n]=h({},r[n]));return r}function M(e){null!=e&&this.set(e)}function j(e,t,n){var r=""+Math.abs(e),i=t-r.length;return(e>=0?n?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+r}i.suppressDeprecationWarnings=!1,i.deprecationHandler=null,S=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)a(e,t)&&n.push(t);return n};var A=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,P=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,L={},R={};function I(e,t,n,r){var i=r;"string"==typeof r&&(i=function(){return this[r]()}),e&&(R[e]=i),t&&(R[t[0]]=function(){return j(i.apply(this,arguments),t[1],t[2])}),n&&(R[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function N(e,t){return e.isValid()?(t=H(t,e.localeData()),L[t]=L[t]||function(e){var t,n,r,i=e.match(A);for(t=0,n=i.length;t<n;t++)R[i[t]]?i[t]=R[i[t]]:i[t]=(r=i[t]).match(/\[[\s\S]/)?r.replace(/^\[|\]$/g,""):r.replace(/\\/g,"");return function(t){var r,o="";for(r=0;r<n;r++)o+=T(i[r])?i[r].call(t,e):i[r];return o}}(t),L[t](e)):e.localeData().invalidDate()}function H(e,t){var n=5;function r(e){return t.longDateFormat(e)||e}for(P.lastIndex=0;n>=0&&P.test(e);)e=e.replace(P,r),P.lastIndex=0,n-=1;return e}var $={};function F(e,t){var n=e.toLowerCase();$[n]=$[n+"s"]=$[t]=e}function V(e){return"string"==typeof e?$[e]||$[e.toLowerCase()]:void 0}function q(e){var t,n,r={};for(n in e)a(e,n)&&(t=V(n))&&(r[t]=e[n]);return r}var B={};function U(e,t){B[e]=t}function Y(e){return e%4==0&&e%100!=0||e%400==0}function z(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function W(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=z(t)),n}function Z(e,t){return function(n){return null!=n?(X(this,e,n),i.updateOffset(this,t),this):G(this,e)}}function G(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function X(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&Y(e.year())&&1===e.month()&&29===e.date()?(n=W(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),xe(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}var J,Q=/\d/,K=/\d\d/,ee=/\d{3}/,te=/\d{4}/,ne=/[+-]?\d{6}/,re=/\d\d?/,ie=/\d\d\d\d?/,oe=/\d\d\d\d\d\d?/,se=/\d{1,3}/,ae=/\d{1,4}/,le=/[+-]?\d{1,6}/,ce=/\d+/,ue=/[+-]?\d+/,de=/Z|[+-]\d\d:?\d\d/gi,fe=/Z|[+-]\d\d(?::?\d\d)?/gi,he=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;function pe(e,t,n){J[e]=T(t)?t:function(e,r){return e&&n?n:t}}function me(e,t){return a(J,e)?J[e](t._strict,t._locale):new RegExp(ge(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(e,t,n,r,i){return t||n||r||i}))))}function ge(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}J={};var ve,ye={};function _e(e,t){var n,r=t;for("string"==typeof e&&(e=[e]),u(t)&&(r=function(e,n){n[t]=W(e)}),n=0;n<e.length;n++)ye[e[n]]=r}function be(e,t){_e(e,(function(e,n,r,i){r._w=r._w||{},t(e,r._w,r,i)}))}function we(e,t,n){null!=t&&a(ye,e)&&ye[e](t,n._a,n,e)}function xe(e,t){if(isNaN(e)||isNaN(t))return NaN;var n,r=(t%(n=12)+n)%n;return e+=(t-r)/12,1===r?Y(e)?29:28:31-r%7%2}ve=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1},I("M",["MM",2],"Mo",(function(){return this.month()+1})),I("MMM",0,0,(function(e){return this.localeData().monthsShort(this,e)})),I("MMMM",0,0,(function(e){return this.localeData().months(this,e)})),F("month","M"),U("month",8),pe("M",re),pe("MM",re,K),pe("MMM",(function(e,t){return t.monthsShortRegex(e)})),pe("MMMM",(function(e,t){return t.monthsRegex(e)})),_e(["M","MM"],(function(e,t){t[1]=W(e)-1})),_e(["MMM","MMMM"],(function(e,t,n,r){var i=n._locale.monthsParse(e,r,n._strict);null!=i?t[1]=i:m(n).invalidMonth=e}));var Ce="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ke="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Se=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,De=he,Ee=he;function Te(e,t,n){var r,i,o,s=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)o=p([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(o,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(o,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(i=ve.call(this._shortMonthsParse,s))?i:null:-1!==(i=ve.call(this._longMonthsParse,s))?i:null:"MMM"===t?-1!==(i=ve.call(this._shortMonthsParse,s))?i:-1!==(i=ve.call(this._longMonthsParse,s))?i:null:-1!==(i=ve.call(this._longMonthsParse,s))?i:-1!==(i=ve.call(this._shortMonthsParse,s))?i:null}function Oe(e,t){var n;if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=W(t);else if(!u(t=e.localeData().monthsParse(t)))return e;return n=Math.min(e.date(),xe(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e}function Me(e){return null!=e?(Oe(this,e),i.updateOffset(this,!0),this):G(this,"Month")}function je(){function e(e,t){return t.length-e.length}var t,n,r=[],i=[],o=[];for(t=0;t<12;t++)n=p([2e3,t]),r.push(this.monthsShort(n,"")),i.push(this.months(n,"")),o.push(this.months(n,"")),o.push(this.monthsShort(n,""));for(r.sort(e),i.sort(e),o.sort(e),t=0;t<12;t++)r[t]=ge(r[t]),i[t]=ge(i[t]);for(t=0;t<24;t++)o[t]=ge(o[t]);this._monthsRegex=new RegExp("^("+o.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+r.join("|")+")","i")}function Ae(e){return Y(e)?366:365}I("Y",0,0,(function(){var e=this.year();return e<=9999?j(e,4):"+"+e})),I(0,["YY",2],0,(function(){return this.year()%100})),I(0,["YYYY",4],0,"year"),I(0,["YYYYY",5],0,"year"),I(0,["YYYYYY",6,!0],0,"year"),F("year","y"),U("year",1),pe("Y",ue),pe("YY",re,K),pe("YYYY",ae,te),pe("YYYYY",le,ne),pe("YYYYYY",le,ne),_e(["YYYYY","YYYYYY"],0),_e("YYYY",(function(e,t){t[0]=2===e.length?i.parseTwoDigitYear(e):W(e)})),_e("YY",(function(e,t){t[0]=i.parseTwoDigitYear(e)})),_e("Y",(function(e,t){t[0]=parseInt(e,10)})),i.parseTwoDigitYear=function(e){return W(e)+(W(e)>68?1900:2e3)};var Pe=Z("FullYear",!0);function Le(e,t,n,r,i,o,s){var a;return e<100&&e>=0?(a=new Date(e+400,t,n,r,i,o,s),isFinite(a.getFullYear())&&a.setFullYear(e)):a=new Date(e,t,n,r,i,o,s),a}function Re(e){var t,n;return e<100&&e>=0?((n=Array.prototype.slice.call(arguments))[0]=e+400,t=new Date(Date.UTC.apply(null,n)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function Ie(e,t,n){var r=7+t-n;return-(7+Re(e,0,r).getUTCDay()-t)%7+r-1}function Ne(e,t,n,r,i){var o,s,a=1+7*(t-1)+(7+n-r)%7+Ie(e,r,i);return a<=0?s=Ae(o=e-1)+a:a>Ae(e)?(o=e+1,s=a-Ae(e)):(o=e,s=a),{year:o,dayOfYear:s}}function He(e,t,n){var r,i,o=Ie(e.year(),t,n),s=Math.floor((e.dayOfYear()-o-1)/7)+1;return s<1?r=s+$e(i=e.year()-1,t,n):s>$e(e.year(),t,n)?(r=s-$e(e.year(),t,n),i=e.year()+1):(i=e.year(),r=s),{week:r,year:i}}function $e(e,t,n){var r=Ie(e,t,n),i=Ie(e+1,t,n);return(Ae(e)-r+i)/7}function Fe(e,t){return e.slice(t,7).concat(e.slice(0,t))}I("w",["ww",2],"wo","week"),I("W",["WW",2],"Wo","isoWeek"),F("week","w"),F("isoWeek","W"),U("week",5),U("isoWeek",5),pe("w",re),pe("ww",re,K),pe("W",re),pe("WW",re,K),be(["w","ww","W","WW"],(function(e,t,n,r){t[r.substr(0,1)]=W(e)})),I("d",0,"do","day"),I("dd",0,0,(function(e){return this.localeData().weekdaysMin(this,e)})),I("ddd",0,0,(function(e){return this.localeData().weekdaysShort(this,e)})),I("dddd",0,0,(function(e){return this.localeData().weekdays(this,e)})),I("e",0,0,"weekday"),I("E",0,0,"isoWeekday"),F("day","d"),F("weekday","e"),F("isoWeekday","E"),U("day",11),U("weekday",11),U("isoWeekday",11),pe("d",re),pe("e",re),pe("E",re),pe("dd",(function(e,t){return t.weekdaysMinRegex(e)})),pe("ddd",(function(e,t){return t.weekdaysShortRegex(e)})),pe("dddd",(function(e,t){return t.weekdaysRegex(e)})),be(["dd","ddd","dddd"],(function(e,t,n,r){var i=n._locale.weekdaysParse(e,r,n._strict);null!=i?t.d=i:m(n).invalidWeekday=e})),be(["d","e","E"],(function(e,t,n,r){t[r]=W(e)}));var Ve="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),qe="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Be="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Ue=he,Ye=he,ze=he;function We(e,t,n){var r,i,o,s=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)o=p([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(o,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(i=ve.call(this._weekdaysParse,s))?i:null:"ddd"===t?-1!==(i=ve.call(this._shortWeekdaysParse,s))?i:null:-1!==(i=ve.call(this._minWeekdaysParse,s))?i:null:"dddd"===t?-1!==(i=ve.call(this._weekdaysParse,s))?i:-1!==(i=ve.call(this._shortWeekdaysParse,s))?i:-1!==(i=ve.call(this._minWeekdaysParse,s))?i:null:"ddd"===t?-1!==(i=ve.call(this._shortWeekdaysParse,s))?i:-1!==(i=ve.call(this._weekdaysParse,s))?i:-1!==(i=ve.call(this._minWeekdaysParse,s))?i:null:-1!==(i=ve.call(this._minWeekdaysParse,s))?i:-1!==(i=ve.call(this._weekdaysParse,s))?i:-1!==(i=ve.call(this._shortWeekdaysParse,s))?i:null}function Ze(){function e(e,t){return t.length-e.length}var t,n,r,i,o,s=[],a=[],l=[],c=[];for(t=0;t<7;t++)n=p([2e3,1]).day(t),r=ge(this.weekdaysMin(n,"")),i=ge(this.weekdaysShort(n,"")),o=ge(this.weekdays(n,"")),s.push(r),a.push(i),l.push(o),c.push(r),c.push(i),c.push(o);s.sort(e),a.sort(e),l.sort(e),c.sort(e),this._weekdaysRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+s.join("|")+")","i")}function Ge(){return this.hours()%12||12}function Xe(e,t){I(e,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)}))}function Je(e,t){return t._meridiemParse}I("H",["HH",2],0,"hour"),I("h",["hh",2],0,Ge),I("k",["kk",2],0,(function(){return this.hours()||24})),I("hmm",0,0,(function(){return""+Ge.apply(this)+j(this.minutes(),2)})),I("hmmss",0,0,(function(){return""+Ge.apply(this)+j(this.minutes(),2)+j(this.seconds(),2)})),I("Hmm",0,0,(function(){return""+this.hours()+j(this.minutes(),2)})),I("Hmmss",0,0,(function(){return""+this.hours()+j(this.minutes(),2)+j(this.seconds(),2)})),Xe("a",!0),Xe("A",!1),F("hour","h"),U("hour",13),pe("a",Je),pe("A",Je),pe("H",re),pe("h",re),pe("k",re),pe("HH",re,K),pe("hh",re,K),pe("kk",re,K),pe("hmm",ie),pe("hmmss",oe),pe("Hmm",ie),pe("Hmmss",oe),_e(["H","HH"],3),_e(["k","kk"],(function(e,t,n){var r=W(e);t[3]=24===r?0:r})),_e(["a","A"],(function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e})),_e(["h","hh"],(function(e,t,n){t[3]=W(e),m(n).bigHour=!0})),_e("hmm",(function(e,t,n){var r=e.length-2;t[3]=W(e.substr(0,r)),t[4]=W(e.substr(r)),m(n).bigHour=!0})),_e("hmmss",(function(e,t,n){var r=e.length-4,i=e.length-2;t[3]=W(e.substr(0,r)),t[4]=W(e.substr(r,2)),t[5]=W(e.substr(i)),m(n).bigHour=!0})),_e("Hmm",(function(e,t,n){var r=e.length-2;t[3]=W(e.substr(0,r)),t[4]=W(e.substr(r))})),_e("Hmmss",(function(e,t,n){var r=e.length-4,i=e.length-2;t[3]=W(e.substr(0,r)),t[4]=W(e.substr(r,2)),t[5]=W(e.substr(i))}));var Qe,Ke=Z("Hours",!0),et={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:Ce,monthsShort:ke,week:{dow:0,doy:6},weekdays:Ve,weekdaysMin:Be,weekdaysShort:qe,meridiemParse:/[ap]\.?m?\.?/i},tt={},nt={};function rt(e,t){var n,r=Math.min(e.length,t.length);for(n=0;n<r;n+=1)if(e[n]!==t[n])return n;return r}function it(e){return e?e.toLowerCase().replace("_","-"):e}function ot(t){var r=null;if(void 0===tt[t]&&void 0!==e&&e&&e.exports)try{r=Qe._abbr,n(87)("./"+t),st(r)}catch(e){tt[t]=null}return tt[t]}function st(e,t){var n;return e&&((n=c(t)?lt(e):at(e,t))?Qe=n:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),Qe._abbr}function at(e,t){if(null!==t){var n,r=et;if(t.abbr=e,null!=tt[e])E("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),r=tt[e]._config;else if(null!=t.parentLocale)if(null!=tt[t.parentLocale])r=tt[t.parentLocale]._config;else{if(null==(n=ot(t.parentLocale)))return nt[t.parentLocale]||(nt[t.parentLocale]=[]),nt[t.parentLocale].push({name:e,config:t}),null;r=n._config}return tt[e]=new M(O(r,t)),nt[e]&&nt[e].forEach((function(e){at(e.name,e.config)})),st(e),tt[e]}return delete tt[e],null}function lt(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return Qe;if(!o(e)){if(t=ot(e))return t;e=[e]}return function(e){for(var t,n,r,i,o=0;o<e.length;){for(t=(i=it(e[o]).split("-")).length,n=(n=it(e[o+1]))?n.split("-"):null;t>0;){if(r=ot(i.slice(0,t).join("-")))return r;if(n&&n.length>=t&&rt(i,n)>=t-1)break;t--}o++}return Qe}(e)}function ct(e){var t,n=e._a;return n&&-2===m(e).overflow&&(t=n[1]<0||n[1]>11?1:n[2]<1||n[2]>xe(n[0],n[1])?2:n[3]<0||n[3]>24||24===n[3]&&(0!==n[4]||0!==n[5]||0!==n[6])?3:n[4]<0||n[4]>59?4:n[5]<0||n[5]>59?5:n[6]<0||n[6]>999?6:-1,m(e)._overflowDayOfYear&&(t<0||t>2)&&(t=2),m(e)._overflowWeeks&&-1===t&&(t=7),m(e)._overflowWeekday&&-1===t&&(t=8),m(e).overflow=t),e}var ut=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,dt=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,ft=/Z|[+-]\d\d(?::?\d\d)?/,ht=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],pt=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],mt=/^\/?Date\((-?\d+)/i,gt=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,vt={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function yt(e){var t,n,r,i,o,s,a=e._i,l=ut.exec(a)||dt.exec(a);if(l){for(m(e).iso=!0,t=0,n=ht.length;t<n;t++)if(ht[t][1].exec(l[1])){i=ht[t][0],r=!1!==ht[t][2];break}if(null==i)return void(e._isValid=!1);if(l[3]){for(t=0,n=pt.length;t<n;t++)if(pt[t][1].exec(l[3])){o=(l[2]||" ")+pt[t][0];break}if(null==o)return void(e._isValid=!1)}if(!r&&null!=o)return void(e._isValid=!1);if(l[4]){if(!ft.exec(l[4]))return void(e._isValid=!1);s="Z"}e._f=i+(o||"")+(s||""),Ct(e)}else e._isValid=!1}function _t(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function bt(e){var t,n,r,i,o,s,a,l,c=gt.exec(e._i.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));if(c){if(n=c[4],r=c[3],i=c[2],o=c[5],s=c[6],a=c[7],l=[_t(n),ke.indexOf(r),parseInt(i,10),parseInt(o,10),parseInt(s,10)],a&&l.push(parseInt(a,10)),t=l,!function(e,t,n){return!e||qe.indexOf(e)===new Date(t[0],t[1],t[2]).getDay()||(m(n).weekdayMismatch=!0,n._isValid=!1,!1)}(c[1],t,e))return;e._a=t,e._tzm=function(e,t,n){if(e)return vt[e];if(t)return 0;var r=parseInt(n,10),i=r%100;return(r-i)/100*60+i}(c[8],c[9],c[10]),e._d=Re.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),m(e).rfc2822=!0}else e._isValid=!1}function wt(e,t,n){return null!=e?e:null!=t?t:n}function xt(e){var t,n,r,o,s,a=[];if(!e._d){for(r=function(e){var t=new Date(i.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}(e),e._w&&null==e._a[2]&&null==e._a[1]&&function(e){var t,n,r,i,o,s,a,l,c;null!=(t=e._w).GG||null!=t.W||null!=t.E?(o=1,s=4,n=wt(t.GG,e._a[0],He(Dt(),1,4).year),r=wt(t.W,1),((i=wt(t.E,1))<1||i>7)&&(l=!0)):(o=e._locale._week.dow,s=e._locale._week.doy,c=He(Dt(),o,s),n=wt(t.gg,e._a[0],c.year),r=wt(t.w,c.week),null!=t.d?((i=t.d)<0||i>6)&&(l=!0):null!=t.e?(i=t.e+o,(t.e<0||t.e>6)&&(l=!0)):i=o),r<1||r>$e(n,o,s)?m(e)._overflowWeeks=!0:null!=l?m(e)._overflowWeekday=!0:(a=Ne(n,r,i,o,s),e._a[0]=a.year,e._dayOfYear=a.dayOfYear)}(e),null!=e._dayOfYear&&(s=wt(e._a[0],r[0]),(e._dayOfYear>Ae(s)||0===e._dayOfYear)&&(m(e)._overflowDayOfYear=!0),n=Re(s,0,e._dayOfYear),e._a[1]=n.getUTCMonth(),e._a[2]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=a[t]=r[t];for(;t<7;t++)e._a[t]=a[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[3]&&0===e._a[4]&&0===e._a[5]&&0===e._a[6]&&(e._nextDay=!0,e._a[3]=0),e._d=(e._useUTC?Re:Le).apply(null,a),o=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[3]=24),e._w&&void 0!==e._w.d&&e._w.d!==o&&(m(e).weekdayMismatch=!0)}}function Ct(e){if(e._f!==i.ISO_8601)if(e._f!==i.RFC_2822){e._a=[],m(e).empty=!0;var t,n,r,o,s,a,l=""+e._i,c=l.length,u=0;for(r=H(e._f,e._locale).match(A)||[],t=0;t<r.length;t++)o=r[t],(n=(l.match(me(o,e))||[])[0])&&((s=l.substr(0,l.indexOf(n))).length>0&&m(e).unusedInput.push(s),l=l.slice(l.indexOf(n)+n.length),u+=n.length),R[o]?(n?m(e).empty=!1:m(e).unusedTokens.push(o),we(o,n,e)):e._strict&&!n&&m(e).unusedTokens.push(o);m(e).charsLeftOver=c-u,l.length>0&&m(e).unusedInput.push(l),e._a[3]<=12&&!0===m(e).bigHour&&e._a[3]>0&&(m(e).bigHour=void 0),m(e).parsedDateParts=e._a.slice(0),m(e).meridiem=e._meridiem,e._a[3]=function(e,t,n){var r;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?((r=e.isPM(n))&&t<12&&(t+=12),r||12!==t||(t=0),t):t}(e._locale,e._a[3],e._meridiem),null!==(a=m(e).era)&&(e._a[0]=e._locale.erasConvertYear(a,e._a[0])),xt(e),ct(e)}else bt(e);else yt(e)}function kt(e){var t=e._i,n=e._f;return e._locale=e._locale||lt(e._l),null===t||void 0===n&&""===t?v({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),x(t)?new w(ct(t)):(d(t)?e._d=t:o(n)?function(e){var t,n,r,i,o,s,a=!1;if(0===e._f.length)return m(e).invalidFormat=!0,void(e._d=new Date(NaN));for(i=0;i<e._f.length;i++)o=0,s=!1,t=b({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[i],Ct(t),g(t)&&(s=!0),o+=m(t).charsLeftOver,o+=10*m(t).unusedTokens.length,m(t).score=o,a?o<r&&(r=o,n=t):(null==r||o<r||s)&&(r=o,n=t,s&&(a=!0));h(e,n||t)}(e):n?Ct(e):function(e){var t=e._i;c(t)?e._d=new Date(i.now()):d(t)?e._d=new Date(t.valueOf()):"string"==typeof t?function(e){var t=mt.exec(e._i);null===t?(yt(e),!1===e._isValid&&(delete e._isValid,bt(e),!1===e._isValid&&(delete e._isValid,e._strict?e._isValid=!1:i.createFromInputFallback(e)))):e._d=new Date(+t[1])}(e):o(t)?(e._a=f(t.slice(0),(function(e){return parseInt(e,10)})),xt(e)):s(t)?function(e){if(!e._d){var t=q(e._i),n=void 0===t.day?t.date:t.day;e._a=f([t.year,t.month,n,t.hour,t.minute,t.second,t.millisecond],(function(e){return e&&parseInt(e,10)})),xt(e)}}(e):u(t)?e._d=new Date(t):i.createFromInputFallback(e)}(e),g(e)||(e._d=null),e))}function St(e,t,n,r,i){var a,c={};return!0!==t&&!1!==t||(r=t,t=void 0),!0!==n&&!1!==n||(r=n,n=void 0),(s(e)&&l(e)||o(e)&&0===e.length)&&(e=void 0),c._isAMomentObject=!0,c._useUTC=c._isUTC=i,c._l=n,c._i=e,c._f=t,c._strict=r,(a=new w(ct(kt(c))))._nextDay&&(a.add(1,"d"),a._nextDay=void 0),a}function Dt(e,t,n,r){return St(e,t,n,r,!1)}i.createFromInputFallback=k("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",(function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))})),i.ISO_8601=function(){},i.RFC_2822=function(){};var Et=k("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=Dt.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:v()})),Tt=k("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=Dt.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:v()}));function Ot(e,t){var n,r;if(1===t.length&&o(t[0])&&(t=t[0]),!t.length)return Dt();for(n=t[0],r=1;r<t.length;++r)t[r].isValid()&&!t[r][e](n)||(n=t[r]);return n}var Mt=["year","quarter","month","week","day","hour","minute","second","millisecond"];function jt(e){var t=q(e),n=t.year||0,r=t.quarter||0,i=t.month||0,o=t.week||t.isoWeek||0,s=t.day||0,l=t.hour||0,c=t.minute||0,u=t.second||0,d=t.millisecond||0;this._isValid=function(e){var t,n,r=!1;for(t in e)if(a(e,t)&&(-1===ve.call(Mt,t)||null!=e[t]&&isNaN(e[t])))return!1;for(n=0;n<Mt.length;++n)if(e[Mt[n]]){if(r)return!1;parseFloat(e[Mt[n]])!==W(e[Mt[n]])&&(r=!0)}return!0}(t),this._milliseconds=+d+1e3*u+6e4*c+1e3*l*60*60,this._days=+s+7*o,this._months=+i+3*r+12*n,this._data={},this._locale=lt(),this._bubble()}function At(e){return e instanceof jt}function Pt(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function Lt(e,t){I(e,0,0,(function(){var e=this.utcOffset(),n="+";return e<0&&(e=-e,n="-"),n+j(~~(e/60),2)+t+j(~~e%60,2)}))}Lt("Z",":"),Lt("ZZ",""),pe("Z",fe),pe("ZZ",fe),_e(["Z","ZZ"],(function(e,t,n){n._useUTC=!0,n._tzm=It(fe,e)}));var Rt=/([\+\-]|\d\d)/gi;function It(e,t){var n,r,i=(t||"").match(e);return null===i?null:0===(r=60*(n=((i[i.length-1]||[])+"").match(Rt)||["-",0,0])[1]+W(n[2]))?0:"+"===n[0]?r:-r}function Nt(e,t){var n,r;return t._isUTC?(n=t.clone(),r=(x(e)||d(e)?e.valueOf():Dt(e).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+r),i.updateOffset(n,!1),n):Dt(e).local()}function Ht(e){return-Math.round(e._d.getTimezoneOffset())}function $t(){return!!this.isValid()&&this._isUTC&&0===this._offset}i.updateOffset=function(){};var Ft=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Vt=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function qt(e,t){var n,r,i,o,s,l,c=e,d=null;return At(e)?c={ms:e._milliseconds,d:e._days,M:e._months}:u(e)||!isNaN(+e)?(c={},t?c[t]=+e:c.milliseconds=+e):(d=Ft.exec(e))?(n="-"===d[1]?-1:1,c={y:0,d:W(d[2])*n,h:W(d[3])*n,m:W(d[4])*n,s:W(d[5])*n,ms:W(Pt(1e3*d[6]))*n}):(d=Vt.exec(e))?(n="-"===d[1]?-1:1,c={y:Bt(d[2],n),M:Bt(d[3],n),w:Bt(d[4],n),d:Bt(d[5],n),h:Bt(d[6],n),m:Bt(d[7],n),s:Bt(d[8],n)}):null==c?c={}:"object"==typeof c&&("from"in c||"to"in c)&&(o=Dt(c.from),s=Dt(c.to),i=o.isValid()&&s.isValid()?(s=Nt(s,o),o.isBefore(s)?l=Ut(o,s):((l=Ut(s,o)).milliseconds=-l.milliseconds,l.months=-l.months),l):{milliseconds:0,months:0},(c={}).ms=i.milliseconds,c.M=i.months),r=new jt(c),At(e)&&a(e,"_locale")&&(r._locale=e._locale),At(e)&&a(e,"_isValid")&&(r._isValid=e._isValid),r}function Bt(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function Ut(e,t){var n={};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function Yt(e,t){return function(n,r){var i;return null===r||isNaN(+r)||(E(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),i=n,n=r,r=i),zt(this,qt(n,r),e),this}}function zt(e,t,n,r){var o=t._milliseconds,s=Pt(t._days),a=Pt(t._months);e.isValid()&&(r=null==r||r,a&&Oe(e,G(e,"Month")+a*n),s&&X(e,"Date",G(e,"Date")+s*n),o&&e._d.setTime(e._d.valueOf()+o*n),r&&i.updateOffset(e,s||a))}qt.fn=jt.prototype,qt.invalid=function(){return qt(NaN)};var Wt=Yt(1,"add"),Zt=Yt(-1,"subtract");function Gt(e){return"string"==typeof e||e instanceof String}function Xt(e){return x(e)||d(e)||Gt(e)||u(e)||function(e){var t=o(e),n=!1;return t&&(n=0===e.filter((function(t){return!u(t)&&Gt(e)})).length),t&&n}(e)||function(e){var t,n,r=s(e)&&!l(e),i=!1,o=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"];for(t=0;t<o.length;t+=1)n=o[t],i=i||a(e,n);return r&&i}(e)||null==e}function Jt(e){var t,n=s(e)&&!l(e),r=!1,i=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(t=0;t<i.length;t+=1)r=r||a(e,i[t]);return n&&r}function Qt(e,t){if(e.date()<t.date())return-Qt(t,e);var n=12*(t.year()-e.year())+(t.month()-e.month()),r=e.clone().add(n,"months");return-(n+(t-r<0?(t-r)/(r-e.clone().add(n-1,"months")):(t-r)/(e.clone().add(n+1,"months")-r)))||0}function Kt(e){var t;return void 0===e?this._locale._abbr:(null!=(t=lt(e))&&(this._locale=t),this)}i.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",i.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var en=k("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",(function(e){return void 0===e?this.localeData():this.locale(e)}));function tn(){return this._locale}function nn(e,t){return(e%t+t)%t}function rn(e,t,n){return e<100&&e>=0?new Date(e+400,t,n)-126227808e5:new Date(e,t,n).valueOf()}function on(e,t,n){return e<100&&e>=0?Date.UTC(e+400,t,n)-126227808e5:Date.UTC(e,t,n)}function sn(e,t){return t.erasAbbrRegex(e)}function an(){var e,t,n=[],r=[],i=[],o=[],s=this.eras();for(e=0,t=s.length;e<t;++e)r.push(ge(s[e].name)),n.push(ge(s[e].abbr)),i.push(ge(s[e].narrow)),o.push(ge(s[e].name)),o.push(ge(s[e].abbr)),o.push(ge(s[e].narrow));this._erasRegex=new RegExp("^("+o.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+r.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+n.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+i.join("|")+")","i")}function ln(e,t){I(0,[e,e.length],0,t)}function cn(e,t,n,r,i){var o;return null==e?He(this,r,i).year:(t>(o=$e(e,r,i))&&(t=o),un.call(this,e,t,n,r,i))}function un(e,t,n,r,i){var o=Ne(e,t,n,r,i),s=Re(o.year,0,o.dayOfYear);return this.year(s.getUTCFullYear()),this.month(s.getUTCMonth()),this.date(s.getUTCDate()),this}I("N",0,0,"eraAbbr"),I("NN",0,0,"eraAbbr"),I("NNN",0,0,"eraAbbr"),I("NNNN",0,0,"eraName"),I("NNNNN",0,0,"eraNarrow"),I("y",["y",1],"yo","eraYear"),I("y",["yy",2],0,"eraYear"),I("y",["yyy",3],0,"eraYear"),I("y",["yyyy",4],0,"eraYear"),pe("N",sn),pe("NN",sn),pe("NNN",sn),pe("NNNN",(function(e,t){return t.erasNameRegex(e)})),pe("NNNNN",(function(e,t){return t.erasNarrowRegex(e)})),_e(["N","NN","NNN","NNNN","NNNNN"],(function(e,t,n,r){var i=n._locale.erasParse(e,r,n._strict);i?m(n).era=i:m(n).invalidEra=e})),pe("y",ce),pe("yy",ce),pe("yyy",ce),pe("yyyy",ce),pe("yo",(function(e,t){return t._eraYearOrdinalRegex||ce})),_e(["y","yy","yyy","yyyy"],0),_e(["yo"],(function(e,t,n,r){var i;n._locale._eraYearOrdinalRegex&&(i=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[0]=n._locale.eraYearOrdinalParse(e,i):t[0]=parseInt(e,10)})),I(0,["gg",2],0,(function(){return this.weekYear()%100})),I(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),ln("gggg","weekYear"),ln("ggggg","weekYear"),ln("GGGG","isoWeekYear"),ln("GGGGG","isoWeekYear"),F("weekYear","gg"),F("isoWeekYear","GG"),U("weekYear",1),U("isoWeekYear",1),pe("G",ue),pe("g",ue),pe("GG",re,K),pe("gg",re,K),pe("GGGG",ae,te),pe("gggg",ae,te),pe("GGGGG",le,ne),pe("ggggg",le,ne),be(["gggg","ggggg","GGGG","GGGGG"],(function(e,t,n,r){t[r.substr(0,2)]=W(e)})),be(["gg","GG"],(function(e,t,n,r){t[r]=i.parseTwoDigitYear(e)})),I("Q",0,"Qo","quarter"),F("quarter","Q"),U("quarter",7),pe("Q",Q),_e("Q",(function(e,t){t[1]=3*(W(e)-1)})),I("D",["DD",2],"Do","date"),F("date","D"),U("date",9),pe("D",re),pe("DD",re,K),pe("Do",(function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient})),_e(["D","DD"],2),_e("Do",(function(e,t){t[2]=W(e.match(re)[0])}));var dn=Z("Date",!0);I("DDD",["DDDD",3],"DDDo","dayOfYear"),F("dayOfYear","DDD"),U("dayOfYear",4),pe("DDD",se),pe("DDDD",ee),_e(["DDD","DDDD"],(function(e,t,n){n._dayOfYear=W(e)})),I("m",["mm",2],0,"minute"),F("minute","m"),U("minute",14),pe("m",re),pe("mm",re,K),_e(["m","mm"],4);var fn=Z("Minutes",!1);I("s",["ss",2],0,"second"),F("second","s"),U("second",15),pe("s",re),pe("ss",re,K),_e(["s","ss"],5);var hn,pn,mn=Z("Seconds",!1);for(I("S",0,0,(function(){return~~(this.millisecond()/100)})),I(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),I(0,["SSS",3],0,"millisecond"),I(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),I(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),I(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),I(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),I(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),I(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),F("millisecond","ms"),U("millisecond",16),pe("S",se,Q),pe("SS",se,K),pe("SSS",se,ee),hn="SSSS";hn.length<=9;hn+="S")pe(hn,ce);function gn(e,t){t[6]=W(1e3*("0."+e))}for(hn="S";hn.length<=9;hn+="S")_e(hn,gn);pn=Z("Milliseconds",!1),I("z",0,0,"zoneAbbr"),I("zz",0,0,"zoneName");var vn=w.prototype;function yn(e){return e}vn.add=Wt,vn.calendar=function(e,t){1===arguments.length&&(Xt(arguments[0])?(e=arguments[0],t=void 0):Jt(arguments[0])&&(t=arguments[0],e=void 0));var n=e||Dt(),r=Nt(n,this).startOf("day"),o=i.calendarFormat(this,r)||"sameElse",s=t&&(T(t[o])?t[o].call(this,n):t[o]);return this.format(s||this.localeData().calendar(o,this,Dt(n)))},vn.clone=function(){return new w(this)},vn.diff=function(e,t,n){var r,i,o;if(!this.isValid())return NaN;if(!(r=Nt(e,this)).isValid())return NaN;switch(i=6e4*(r.utcOffset()-this.utcOffset()),t=V(t)){case"year":o=Qt(this,r)/12;break;case"month":o=Qt(this,r);break;case"quarter":o=Qt(this,r)/3;break;case"second":o=(this-r)/1e3;break;case"minute":o=(this-r)/6e4;break;case"hour":o=(this-r)/36e5;break;case"day":o=(this-r-i)/864e5;break;case"week":o=(this-r-i)/6048e5;break;default:o=this-r}return n?o:z(o)},vn.endOf=function(e){var t,n;if(void 0===(e=V(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?on:rn,e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=36e5-nn(t+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":t=this._d.valueOf(),t+=6e4-nn(t,6e4)-1;break;case"second":t=this._d.valueOf(),t+=1e3-nn(t,1e3)-1}return this._d.setTime(t),i.updateOffset(this,!0),this},vn.format=function(e){e||(e=this.isUtc()?i.defaultFormatUtc:i.defaultFormat);var t=N(this,e);return this.localeData().postformat(t)},vn.from=function(e,t){return this.isValid()&&(x(e)&&e.isValid()||Dt(e).isValid())?qt({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},vn.fromNow=function(e){return this.from(Dt(),e)},vn.to=function(e,t){return this.isValid()&&(x(e)&&e.isValid()||Dt(e).isValid())?qt({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},vn.toNow=function(e){return this.to(Dt(),e)},vn.get=function(e){return T(this[e=V(e)])?this[e]():this},vn.invalidAt=function(){return m(this).overflow},vn.isAfter=function(e,t){var n=x(e)?e:Dt(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=V(t)||"millisecond")?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf())},vn.isBefore=function(e,t){var n=x(e)?e:Dt(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=V(t)||"millisecond")?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf())},vn.isBetween=function(e,t,n,r){var i=x(e)?e:Dt(e),o=x(t)?t:Dt(t);return!!(this.isValid()&&i.isValid()&&o.isValid())&&(("("===(r=r||"()")[0]?this.isAfter(i,n):!this.isBefore(i,n))&&(")"===r[1]?this.isBefore(o,n):!this.isAfter(o,n)))},vn.isSame=function(e,t){var n,r=x(e)?e:Dt(e);return!(!this.isValid()||!r.isValid())&&("millisecond"===(t=V(t)||"millisecond")?this.valueOf()===r.valueOf():(n=r.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf()))},vn.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},vn.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},vn.isValid=function(){return g(this)},vn.lang=en,vn.locale=Kt,vn.localeData=tn,vn.max=Tt,vn.min=Et,vn.parsingFlags=function(){return h({},m(this))},vn.set=function(e,t){if("object"==typeof e){var n,r=function(e){var t,n=[];for(t in e)a(e,t)&&n.push({unit:t,priority:B[t]});return n.sort((function(e,t){return e.priority-t.priority})),n}(e=q(e));for(n=0;n<r.length;n++)this[r[n].unit](e[r[n].unit])}else if(T(this[e=V(e)]))return this[e](t);return this},vn.startOf=function(e){var t,n;if(void 0===(e=V(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?on:rn,e){case"year":t=n(this.year(),0,1);break;case"quarter":t=n(this.year(),this.month()-this.month()%3,1);break;case"month":t=n(this.year(),this.month(),1);break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=n(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=nn(t+(this._isUTC?0:6e4*this.utcOffset()),36e5);break;case"minute":t=this._d.valueOf(),t-=nn(t,6e4);break;case"second":t=this._d.valueOf(),t-=nn(t,1e3)}return this._d.setTime(t),i.updateOffset(this,!0),this},vn.subtract=Zt,vn.toArray=function(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]},vn.toObject=function(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}},vn.toDate=function(){return new Date(this.valueOf())},vn.toISOString=function(e){if(!this.isValid())return null;var t=!0!==e,n=t?this.clone().utc():this;return n.year()<0||n.year()>9999?N(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):T(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",N(n,"Z")):N(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},vn.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t,n,r="moment",i="";return this.isLocal()||(r=0===this.utcOffset()?"moment.utc":"moment.parseZone",i="Z"),e="["+r+'("]',t=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",n=i+'[")]',this.format(e+t+"-MM-DD[T]HH:mm:ss.SSS"+n)},"undefined"!=typeof Symbol&&null!=Symbol.for&&(vn[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),vn.toJSON=function(){return this.isValid()?this.toISOString():null},vn.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},vn.unix=function(){return Math.floor(this.valueOf()/1e3)},vn.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},vn.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},vn.eraName=function(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e){if(n=this.startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until)return r[e].name;if(r[e].until<=n&&n<=r[e].since)return r[e].name}return""},vn.eraNarrow=function(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e){if(n=this.startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until)return r[e].narrow;if(r[e].until<=n&&n<=r[e].since)return r[e].narrow}return""},vn.eraAbbr=function(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e){if(n=this.startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until)return r[e].abbr;if(r[e].until<=n&&n<=r[e].since)return r[e].abbr}return""},vn.eraYear=function(){var e,t,n,r,o=this.localeData().eras();for(e=0,t=o.length;e<t;++e)if(n=o[e].since<=o[e].until?1:-1,r=this.startOf("day").valueOf(),o[e].since<=r&&r<=o[e].until||o[e].until<=r&&r<=o[e].since)return(this.year()-i(o[e].since).year())*n+o[e].offset;return this.year()},vn.year=Pe,vn.isLeapYear=function(){return Y(this.year())},vn.weekYear=function(e){return cn.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},vn.isoWeekYear=function(e){return cn.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},vn.quarter=vn.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},vn.month=Me,vn.daysInMonth=function(){return xe(this.year(),this.month())},vn.week=vn.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},vn.isoWeek=vn.isoWeeks=function(e){var t=He(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},vn.weeksInYear=function(){var e=this.localeData()._week;return $e(this.year(),e.dow,e.doy)},vn.weeksInWeekYear=function(){var e=this.localeData()._week;return $e(this.weekYear(),e.dow,e.doy)},vn.isoWeeksInYear=function(){return $e(this.year(),1,4)},vn.isoWeeksInISOWeekYear=function(){return $e(this.isoWeekYear(),1,4)},vn.date=dn,vn.day=vn.days=function(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=function(e,t){return"string"!=typeof e?e:isNaN(e)?"number"==typeof(e=t.weekdaysParse(e))?e:null:parseInt(e,10)}(e,this.localeData()),this.add(e-t,"d")):t},vn.weekday=function(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")},vn.isoWeekday=function(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=function(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7},vn.dayOfYear=function(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")},vn.hour=vn.hours=Ke,vn.minute=vn.minutes=fn,vn.second=vn.seconds=mn,vn.millisecond=vn.milliseconds=pn,vn.utcOffset=function(e,t,n){var r,o=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"==typeof e){if(null===(e=It(fe,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(r=Ht(this)),this._offset=e,this._isUTC=!0,null!=r&&this.add(r,"m"),o!==e&&(!t||this._changeInProgress?zt(this,qt(e-o,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,i.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?o:Ht(this)},vn.utc=function(e){return this.utcOffset(0,e)},vn.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Ht(this),"m")),this},vn.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=It(de,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this},vn.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?Dt(e).utcOffset():0,(this.utcOffset()-e)%60==0)},vn.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},vn.isLocal=function(){return!!this.isValid()&&!this._isUTC},vn.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},vn.isUtc=$t,vn.isUTC=$t,vn.zoneAbbr=function(){return this._isUTC?"UTC":""},vn.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},vn.dates=k("dates accessor is deprecated. Use date instead.",dn),vn.months=k("months accessor is deprecated. Use month instead",Me),vn.years=k("years accessor is deprecated. Use year instead",Pe),vn.zone=k("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",(function(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()})),vn.isDSTShifted=k("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",(function(){if(!c(this._isDSTShifted))return this._isDSTShifted;var e,t={};return b(t,this),(t=kt(t))._a?(e=t._isUTC?p(t._a):Dt(t._a),this._isDSTShifted=this.isValid()&&function(e,t,n){var r,i=Math.min(e.length,t.length),o=Math.abs(e.length-t.length),s=0;for(r=0;r<i;r++)(n&&e[r]!==t[r]||!n&&W(e[r])!==W(t[r]))&&s++;return s+o}(t._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}));var _n=M.prototype;function bn(e,t,n,r){var i=lt(),o=p().set(r,t);return i[n](o,e)}function wn(e,t,n){if(u(e)&&(t=e,e=void 0),e=e||"",null!=t)return bn(e,t,n,"month");var r,i=[];for(r=0;r<12;r++)i[r]=bn(e,r,n,"month");return i}function xn(e,t,n,r){"boolean"==typeof e?(u(t)&&(n=t,t=void 0),t=t||""):(n=t=e,e=!1,u(t)&&(n=t,t=void 0),t=t||"");var i,o=lt(),s=e?o._week.dow:0,a=[];if(null!=n)return bn(t,(n+s)%7,r,"day");for(i=0;i<7;i++)a[i]=bn(t,(i+s)%7,r,"day");return a}_n.calendar=function(e,t,n){var r=this._calendar[e]||this._calendar.sameElse;return T(r)?r.call(t,n):r},_n.longDateFormat=function(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(A).map((function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e})).join(""),this._longDateFormat[e])},_n.invalidDate=function(){return this._invalidDate},_n.ordinal=function(e){return this._ordinal.replace("%d",e)},_n.preparse=yn,_n.postformat=yn,_n.relativeTime=function(e,t,n,r){var i=this._relativeTime[n];return T(i)?i(e,t,n,r):i.replace(/%d/i,e)},_n.pastFuture=function(e,t){var n=this._relativeTime[e>0?"future":"past"];return T(n)?n(t):n.replace(/%s/i,t)},_n.set=function(e){var t,n;for(n in e)a(e,n)&&(T(t=e[n])?this[n]=t:this["_"+n]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},_n.eras=function(e,t){var n,r,o,s=this._eras||lt("en")._eras;for(n=0,r=s.length;n<r;++n){switch(typeof s[n].since){case"string":o=i(s[n].since).startOf("day"),s[n].since=o.valueOf()}switch(typeof s[n].until){case"undefined":s[n].until=1/0;break;case"string":o=i(s[n].until).startOf("day").valueOf(),s[n].until=o.valueOf()}}return s},_n.erasParse=function(e,t,n){var r,i,o,s,a,l=this.eras();for(e=e.toUpperCase(),r=0,i=l.length;r<i;++r)if(o=l[r].name.toUpperCase(),s=l[r].abbr.toUpperCase(),a=l[r].narrow.toUpperCase(),n)switch(t){case"N":case"NN":case"NNN":if(s===e)return l[r];break;case"NNNN":if(o===e)return l[r];break;case"NNNNN":if(a===e)return l[r]}else if([o,s,a].indexOf(e)>=0)return l[r]},_n.erasConvertYear=function(e,t){var n=e.since<=e.until?1:-1;return void 0===t?i(e.since).year():i(e.since).year()+(t-e.offset)*n},_n.erasAbbrRegex=function(e){return a(this,"_erasAbbrRegex")||an.call(this),e?this._erasAbbrRegex:this._erasRegex},_n.erasNameRegex=function(e){return a(this,"_erasNameRegex")||an.call(this),e?this._erasNameRegex:this._erasRegex},_n.erasNarrowRegex=function(e){return a(this,"_erasNarrowRegex")||an.call(this),e?this._erasNarrowRegex:this._erasRegex},_n.months=function(e,t){return e?o(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||Se).test(t)?"format":"standalone"][e.month()]:o(this._months)?this._months:this._months.standalone},_n.monthsShort=function(e,t){return e?o(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[Se.test(t)?"format":"standalone"][e.month()]:o(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},_n.monthsParse=function(e,t,n){var r,i,o;if(this._monthsParseExact)return Te.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(i=p([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),n||this._monthsParse[r]||(o="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[r]=new RegExp(o.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[r].test(e))return r;if(n&&"MMM"===t&&this._shortMonthsParse[r].test(e))return r;if(!n&&this._monthsParse[r].test(e))return r}},_n.monthsRegex=function(e){return this._monthsParseExact?(a(this,"_monthsRegex")||je.call(this),e?this._monthsStrictRegex:this._monthsRegex):(a(this,"_monthsRegex")||(this._monthsRegex=Ee),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},_n.monthsShortRegex=function(e){return this._monthsParseExact?(a(this,"_monthsRegex")||je.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(a(this,"_monthsShortRegex")||(this._monthsShortRegex=De),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},_n.week=function(e){return He(e,this._week.dow,this._week.doy).week},_n.firstDayOfYear=function(){return this._week.doy},_n.firstDayOfWeek=function(){return this._week.dow},_n.weekdays=function(e,t){var n=o(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?Fe(n,this._week.dow):e?n[e.day()]:n},_n.weekdaysMin=function(e){return!0===e?Fe(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},_n.weekdaysShort=function(e){return!0===e?Fe(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},_n.weekdaysParse=function(e,t,n){var r,i,o;if(this._weekdaysParseExact)return We.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(i=p([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(i,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(i,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(i,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(o="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[r]=new RegExp(o.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[r].test(e))return r;if(n&&"ddd"===t&&this._shortWeekdaysParse[r].test(e))return r;if(n&&"dd"===t&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}},_n.weekdaysRegex=function(e){return this._weekdaysParseExact?(a(this,"_weekdaysRegex")||Ze.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(a(this,"_weekdaysRegex")||(this._weekdaysRegex=Ue),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},_n.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(a(this,"_weekdaysRegex")||Ze.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(a(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Ye),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},_n.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(a(this,"_weekdaysRegex")||Ze.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(a(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=ze),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},_n.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},_n.meridiem=function(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"},st("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===W(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),i.lang=k("moment.lang is deprecated. Use moment.locale instead.",st),i.langData=k("moment.langData is deprecated. Use moment.localeData instead.",lt);var Cn=Math.abs;function kn(e,t,n,r){var i=qt(t,n);return e._milliseconds+=r*i._milliseconds,e._days+=r*i._days,e._months+=r*i._months,e._bubble()}function Sn(e){return e<0?Math.floor(e):Math.ceil(e)}function Dn(e){return 4800*e/146097}function En(e){return 146097*e/4800}function Tn(e){return function(){return this.as(e)}}var On=Tn("ms"),Mn=Tn("s"),jn=Tn("m"),An=Tn("h"),Pn=Tn("d"),Ln=Tn("w"),Rn=Tn("M"),In=Tn("Q"),Nn=Tn("y");function Hn(e){return function(){return this.isValid()?this._data[e]:NaN}}var $n=Hn("milliseconds"),Fn=Hn("seconds"),Vn=Hn("minutes"),qn=Hn("hours"),Bn=Hn("days"),Un=Hn("months"),Yn=Hn("years"),zn=Math.round,Wn={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Zn(e,t,n,r,i){return i.relativeTime(t||1,!!n,e,r)}var Gn=Math.abs;function Xn(e){return(e>0)-(e<0)||+e}function Jn(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,r,i,o,s,a,l=Gn(this._milliseconds)/1e3,c=Gn(this._days),u=Gn(this._months),d=this.asSeconds();return d?(e=z(l/60),t=z(e/60),l%=60,e%=60,n=z(u/12),u%=12,r=l?l.toFixed(3).replace(/\.?0+$/,""):"",i=d<0?"-":"",o=Xn(this._months)!==Xn(d)?"-":"",s=Xn(this._days)!==Xn(d)?"-":"",a=Xn(this._milliseconds)!==Xn(d)?"-":"",i+"P"+(n?o+n+"Y":"")+(u?o+u+"M":"")+(c?s+c+"D":"")+(t||e||l?"T":"")+(t?a+t+"H":"")+(e?a+e+"M":"")+(l?a+r+"S":"")):"P0D"}var Qn=jt.prototype;return Qn.isValid=function(){return this._isValid},Qn.abs=function(){var e=this._data;return this._milliseconds=Cn(this._milliseconds),this._days=Cn(this._days),this._months=Cn(this._months),e.milliseconds=Cn(e.milliseconds),e.seconds=Cn(e.seconds),e.minutes=Cn(e.minutes),e.hours=Cn(e.hours),e.months=Cn(e.months),e.years=Cn(e.years),this},Qn.add=function(e,t){return kn(this,e,t,1)},Qn.subtract=function(e,t){return kn(this,e,t,-1)},Qn.as=function(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if("month"===(e=V(e))||"quarter"===e||"year"===e)switch(t=this._days+r/864e5,n=this._months+Dn(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(En(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return 24*t+r/36e5;case"minute":return 1440*t+r/6e4;case"second":return 86400*t+r/1e3;case"millisecond":return Math.floor(864e5*t)+r;default:throw new Error("Unknown unit "+e)}},Qn.asMilliseconds=On,Qn.asSeconds=Mn,Qn.asMinutes=jn,Qn.asHours=An,Qn.asDays=Pn,Qn.asWeeks=Ln,Qn.asMonths=Rn,Qn.asQuarters=In,Qn.asYears=Nn,Qn.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*W(this._months/12):NaN},Qn._bubble=function(){var e,t,n,r,i,o=this._milliseconds,s=this._days,a=this._months,l=this._data;return o>=0&&s>=0&&a>=0||o<=0&&s<=0&&a<=0||(o+=864e5*Sn(En(a)+s),s=0,a=0),l.milliseconds=o%1e3,e=z(o/1e3),l.seconds=e%60,t=z(e/60),l.minutes=t%60,n=z(t/60),l.hours=n%24,s+=z(n/24),i=z(Dn(s)),a+=i,s-=Sn(En(i)),r=z(a/12),a%=12,l.days=s,l.months=a,l.years=r,this},Qn.clone=function(){return qt(this)},Qn.get=function(e){return e=V(e),this.isValid()?this[e+"s"]():NaN},Qn.milliseconds=$n,Qn.seconds=Fn,Qn.minutes=Vn,Qn.hours=qn,Qn.days=Bn,Qn.weeks=function(){return z(this.days()/7)},Qn.months=Un,Qn.years=Yn,Qn.humanize=function(e,t){if(!this.isValid())return this.localeData().invalidDate();var n,r,i=!1,o=Wn;return"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(i=e),"object"==typeof t&&(o=Object.assign({},Wn,t),null!=t.s&&null==t.ss&&(o.ss=t.s-1)),n=this.localeData(),r=function(e,t,n,r){var i=qt(e).abs(),o=zn(i.as("s")),s=zn(i.as("m")),a=zn(i.as("h")),l=zn(i.as("d")),c=zn(i.as("M")),u=zn(i.as("w")),d=zn(i.as("y")),f=o<=n.ss&&["s",o]||o<n.s&&["ss",o]||s<=1&&["m"]||s<n.m&&["mm",s]||a<=1&&["h"]||a<n.h&&["hh",a]||l<=1&&["d"]||l<n.d&&["dd",l];return null!=n.w&&(f=f||u<=1&&["w"]||u<n.w&&["ww",u]),(f=f||c<=1&&["M"]||c<n.M&&["MM",c]||d<=1&&["y"]||["yy",d])[2]=t,f[3]=+e>0,f[4]=r,Zn.apply(null,f)}(this,!i,o,n),i&&(r=n.pastFuture(+this,r)),n.postformat(r)},Qn.toISOString=Jn,Qn.toString=Jn,Qn.toJSON=Jn,Qn.locale=Kt,Qn.localeData=tn,Qn.toIsoString=k("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Jn),Qn.lang=en,I("X",0,0,"unix"),I("x",0,0,"valueOf"),pe("x",ue),pe("X",/[+-]?\d+(\.\d{1,3})?/),_e("X",(function(e,t,n){n._d=new Date(1e3*parseFloat(e))})),_e("x",(function(e,t,n){n._d=new Date(W(e))})), //! moment.js i.version="2.27.0",t=Dt,i.fn=vn,i.min=function(){var e=[].slice.call(arguments,0);return Ot("isBefore",e)},i.max=function(){var e=[].slice.call(arguments,0);return Ot("isAfter",e)},i.now=function(){return Date.now?Date.now():+new Date},i.utc=p,i.unix=function(e){return Dt(1e3*e)},i.months=function(e,t){return wn(e,t,"months")},i.isDate=d,i.locale=st,i.invalid=v,i.duration=qt,i.isMoment=x,i.weekdays=function(e,t,n){return xn(e,t,n,"weekdays")},i.parseZone=function(){return Dt.apply(null,arguments).parseZone()},i.localeData=lt,i.isDuration=At,i.monthsShort=function(e,t){return wn(e,t,"monthsShort")},i.weekdaysMin=function(e,t,n){return xn(e,t,n,"weekdaysMin")},i.defineLocale=at,i.updateLocale=function(e,t){if(null!=t){var n,r,i=et;null!=tt[e]&&null!=tt[e].parentLocale?tt[e].set(O(tt[e]._config,t)):(null!=(r=ot(e))&&(i=r._config),t=O(i,t),null==r&&(t.abbr=e),(n=new M(t)).parentLocale=tt[e],tt[e]=n),st(e)}else null!=tt[e]&&(null!=tt[e].parentLocale?(tt[e]=tt[e].parentLocale,e===st()&&st(e)):null!=tt[e]&&delete tt[e]);return tt[e]},i.locales=function(){return S(tt)},i.weekdaysShort=function(e,t,n){return xn(e,t,n,"weekdaysShort")},i.normalizeUnits=V,i.relativeTimeRounding=function(e){return void 0===e?zn:"function"==typeof e&&(zn=e,!0)},i.relativeTimeThreshold=function(e,t){return void 0!==Wn[e]&&(void 0===t?Wn[e]:(Wn[e]=t,"s"===e&&(Wn.ss=t-1),!0))},i.calendarFormat=function(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"},i.prototype=vn,i.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},i}()}).call(this,n(86)(e))},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t){function n(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}n.keys=function(){return[]},n.resolve=n,e.exports=n,n.id=87},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getUtmPromoUrl=t.getUtmPromo=void 0;var r,i=n(2),o=n(0),s=(r=o)&&r.__esModule?r:{default:r};var a={FORM:"."+s.default.config.prefix+"form"},l=document.querySelector(a.FORM),c=t.getUtmPromo=function(){var e=l.querySelector('[name="promoCode"]');return e&&e.value||s.default.promocode||null};t.getUtmPromoUrl=function(){var e=(0,i.getPromocodeValue)(),t=c(),n=window.location.href;return(0,i.getParameterByName)("utm_content")?(0,i.getParameterByName)("utm_content").includes("promo")?e!==t&&(n=s.default.flags.withSnapshot?window.location.href.replace("promo:"+t,"promo:"+e):window.location.href.replace("promo:"+e,"promo:"+t)):n=-1===window.location.href.search(/\|/)?window.location.href+"|promo:"+t:window.location.href+"promo:"+t:n=-1===window.location.href.search(/\?/)?window.location.href+"?utm_content=promo:"+t:window.location.href+"&utm_content=promo:"+t,n}},function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=a(n(0)),o=n(2),s=a(n(12));function a(e){return e&&e.__esModule?e:{default:e}}var l=document.querySelector("."+i.default.config.prefix+"form"),c=function(){function t(n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),this.form=e(n),this.inputs=this.form.find("input, select, textarea"),this._branchDeliveryAddressControl=n.querySelector('[name="deliveryAddress"]'),this.submitBtn=this.form.find("[data-submit]"),this.selector={valid:"_valid",error:"_error"},this.bind(),this.handleChange()}return r(t,[{key:"bind",value:function(){var e=this;this.inputs.on("validate",(function(t){e.validate(t.currentTarget)}))}},{key:"handleChange",value:function(){var t=this;this.form.on("change blur","input, select, textarea",(function(n){var r=e(n.target);i.default.debug&&console.log("event -",n.handleObj.origType,"- "+n.currentTarget.name),t.validate(r),r.removeClass("_notvalidated"),t.calculateErrors()}))}},{key:"validate",value:function(t){var n=this,r=e(t);if(!r.closest("._validation-disabled").length)if(r.is("[data-validate]")){var o=!1;r.data("validate").split(",").forEach((function(e){i.default.debug&&console.log("validate "+e),e=e.charAt(0).toUpperCase()+e.slice(1),n["validate"+e]&&!o?o=n["validate"+e](r):r.is("[data-required]")&&(o=n.validateRequired(r))}))}else r.is("[data-required]")&&this.validateRequired(r)}},{key:"validateName",value:function(e){if(!this.checkRequired(e,"Ââåäèòå ôàìèëèþ, èìÿ è îò÷åñòâî ÷åðåç ïðîáåë")){var t=e.suggestions();l.querySelector('[name="'+e.attr("name")+'"]').value=e.val().trim();var n=e.val();setTimeout((function(){if(!(n.split(" ").length<2))return n.split(" ").every((function(e){return/^([à-ÿ¸]+([-][à-ÿ¸]+)*)$/i.test(e)&&/^[à-ÿ¸\-]{1,50}$/i.test(e)}))?!t.selection||t.selection.data.surname&&t.selection.data.name?(e.trigger("field:valid"),!1):(e.trigger("field:error","Ââåäèòå ôàìèëèþ"),!0):(e.trigger("field:error","Ââåäèòå ôàìèëèþ, èìÿ è îò÷åñòâî ðóññêèìè áóêâàìè ÷åðåç ïðîáåë"),!0);e.trigger("field:error","Ââåäèòå ôàìèëèþ, èìÿ è îò÷åñòâî ÷åðåç ïðîáåë")}),100)}}},{key:"validatePhone",value:function(e){if(!this.checkRequired(e,"Ââåäèòå ïîëíûé íîìåð òåëåôîíà")){var t=e.val();return t&&!/^\+7 \(\d{3}\) \d{3}-\d{2}-\d{2}$/i.test(t)?(e.trigger("field:error","Ââåäèòå ïîëíûé íîìåð òåëåôîíà"),!0):(t?e.trigger("field:valid"):e.trigger("field:clear"),!1)}}},{key:"validateSmsCode",value:function(e){if(!this.checkRequired(e,"Ââåäèòå êîä ïîäòâåðæäåíèÿ")){var t=e.val();return/^\d{4}$/i.test(t)&&i.default.token?(e.trigger("field:valid"),!1):(e.trigger("field:error","Óêàæèòå êîððåêòíûé êîä èç SMS"),!0)}}},{key:"validateBirthPlace",value:function(e){if(!this.checkRequired(e,"Óêàæèòå ìåñòî ðîæäåíèÿ")){var t=e.val();return t&&t.length<=100?/^[à-ÿ¸0-9\s.,\-]+$/i.test(t)?(e.trigger("field:valid"),!1):(e.trigger("field:error","Óêàæèòå êîððåêòíîå ìåñòî ðîæäåíèÿ"),!0):(e.trigger("field:error","Ïðåâûøåíî ìàêñèìàëüíîå êîëè÷åñòâî ñèìâîëîâ (100)"),!0)}}},{key:"validatePassportIssuePlace",value:function(e){if(!this.checkRequired(e,"Óêàæèòå êåì âûäàí ïàñïîðò")){var t=e.val();return t?t.length>150?(e.trigger("field:error","Ïðåâûøåíî ìàêñèìàëüíîå êîëè÷åñòâî ñèìâîëîâ (150)"),!0):/^[\t-\r -"'-\),-;\?A-Z\\a-z\xA0\u017F\u0401\u0410-\u044F\u0451\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u2116\u212A\u3000\uFEFF]{1,150}$/i.test(t)?(e.trigger("field:valid"),!1):(e.trigger("field:error","Ìîæíî èñïîëüçîâàòü òîëüêî ðóññêèå è ëàòèíñêèå áóêâû, à òàêæå -(),.:?!¹\\'\""),!0):void 0}}},{key:"validateEmail",value:function(e){if(!this.checkRequired(e,"Óêàæèòå email")){var t=e.val();return/^[a-z0-9](\.?[a-z0-9_-]){0,}@[a-z0-9-]+\.([a-z]{1,6}\.)?[a-z]{2,6}$/i.test(t)&&t.length<=75?(e.trigger("field:valid"),!1):(e.trigger("field:error","Ââåäåí íåêîððåêòíûé email"),!0)}}},{key:"validateAddressHouse",value:function(t){var n=this;if(!this.checkRequired(t,"Ââåäèòå àäðåñ")){var r=t.val();if(!t.data("dadata"))return t.trigger("field:valid"),!1;var o=t.suggestions();if(!(r&&r.length<=400))return t.closest("[data-position]").addClass("_complete"),t.trigger("field:error","Ïðåâûøåíî ìàêñèìàëüíîå êîëè÷åñòâî ñèìâîëîâ â àäðåñå (400)"),!0;if(o.selection&&o.selection.data.house){if("CS0200-AD01"===i.default.config.card.id&&"deliveryAddress"===t.attr("name")){var a=s.default.parseCity(e(this._branchDeliveryAddressControl));if(r&&a&&!["170","102"].includes(a))return t.closest("[data-position]").addClass("_complete"),void e(this._branchDeliveryAddressControl).trigger("field:error","Ê ñîæàëåíèþ, ìû ïîêà íå äîñòàâëÿåì êàðòû «ÌÈл ïî ýòîìó àäðåñó. Èçìåíèòå ñïîñîá ïîëó÷åíèÿ íà «Çàáðàòü ñàìîñòîÿòåëüíî» è âûáåðèòå áëèæàéøèé ê âàì ãîðîä")}t.closest("[data-position]").addClass("_complete"),t.trigger("field:valid")}else o.selection?(t.closest("[data-position]").addClass("_complete"),t.trigger("field:error","Ââåäèòå ïîëíûé àäðåñ")):t.trigger("field:error","Ââåäèòå ïîëíûé àäðåñ");t.off("dadata:change:validate dadata:nochange:validate"),t.one("dadata:change:validate",(function(){if(t.off("dadata:change:validate dadata:nochange:validate"),!n.checkRequired(t,"Ââåäèòå àäðåñ")){var e=t.val(),r=t.suggestions();return e&&e.length<=400?r.selection&&r.selection.data.house?(t.closest("[data-position]").addClass("_complete"),t.trigger("field:valid"),!1):(t.closest("[data-position]").addClass("_complete"),t.trigger("field:error","Ââåäèòå ïîëíûé àäðåñ"),!0):(t.closest("[data-position]").addClass("_complete"),t.trigger("field:error","Ïðåâûøåíî ìàêñèìàëüíîå êîëè÷åñòâî ñèìâîëîâ â àäðåñå (400)"),!0)}})),t.one("dadata:nochange:validate",(function(){if(t.off("dadata:change:validate dadata:nochange:validate"),!n.checkRequired(t,"Ââåäèòå àäðåñ")){var e=t.val(),r=t.suggestions();return e&&e.length<=400?r.selection&&r.selection.data.house?(t.closest("[data-position]").addClass("_complete"),t.trigger("field:valid"),!1):r.selection?(t.trigger("field:error","Ââåäèòå ïîëíûé àäðåñ"),!0):(t.closest("[data-position]").addClass("_complete"),t.trigger("field:error","Âûáåðèòå âàðèàíò èç âûïàäàþùåãî ñïèñêà. Àäðåñ íå íàéäåí? Óáåäèòåñü, ÷òî óêàçàëè ãîðîä, óëèöó è äîì"),!0):(t.closest("[data-position]").addClass("_complete"),t.trigger("field:error","Ïðåâûøåíî ìàêñèìàëüíîå êîëè÷åñòâî ñèìâîëîâ â àäðåñå (400)"),!0)}}))}}},{key:"validateCompanyName",value:function(e){if(!this.checkRequired(e,"Óêàæèòå íàçâàíèå èëè ÈÍÍ êîìïàíèè")){var t=e.val();if(t&&t.length<=400){if(e.data("dadata")){var n=e.suggestions();return(n.selection||n.suggestions.length)&&n.selection&&n.selection.data.inn?(e.trigger("field:valid"),!1):(e.trigger("field:error","Êîìïàíèÿ íå íàéäåíà. Ïîæàëóéñòà, âîñïîëüçóéòåñü ïîäñêàçêàìè"),!0)}return e.trigger("field:valid"),!1}return t&&t.length>400?(e.trigger("field:error","Ïðåâûøåíî ìàêñèìàëüíîå êîëè÷åñòâî ñèìâîëîâ â íàçâàíèè êîìïàíèè (400)"),!0):(t?e.trigger("field:valid"):e.trigger("field:clear"),!1)}}},{key:"validateBirthDate",value:function(e){if(!this.checkRequired(e,"Óêàæèòå äàòó ðîæäåíèÿ")){var t=e.val();if(/^\d{2}.\d{2}.\d{4}$/i.test(t)&&(0,o.validDate)(t)){var n=new Date(i.default.currentDate.getFullYear(),i.default.currentDate.getMonth(),i.default.currentDate.getDate());return(0,o.getDateFromDDMMYYYY)(t)<=(0,o.dateShift)(n,-110,"y")?(e.trigger("field:error","Âû äîëæíû áûòü ìëàäøå 110 ëåò, ÷òîáû ïîëó÷èòü äåáåòîâóþ êàðòó"),!0):(0,o.getDateFromDDMMYYYY)(t)>(0,o.dateShift)(n,-18,"y")?(e.trigger("field:error","Âû äîëæíû áûòü ñòàðøå 18 ëåò, ÷òîáû ïîëó÷èòü äåáåòîâóþ êàðòó"),!0):(e.trigger("field:valid"),!1)}return e.trigger("field:error","Óêàæèòå êîððåêòíóþ äàòó ðîæäåíèÿ"),!0}}},{key:"validatePassportIssueDate",value:function(e){if(!this.checkRequired(e,"Óêàæèòå äàòó âûäà÷è ïàñïîðòà")){(new Date).setHours(0,0,0,0);var t=e.val();(0,o.getDateFromDDMMYYYY)(t);if(/^\d{2}.\d{2}.\d{4}$/i.test(t)&&(0,o.validDate)(t)){var n=this.form.find('input[name="birthday"]').val(),r=(0,o.calculateAge)(new Date,(0,o.getDateFromDDMMYYYY)(n),!0),i=(0,o.calculateAge)((0,o.getDateFromDDMMYYYY)(n),(0,o.getDateFromDDMMYYYY)(t));if((0,o.validDate)(n)){if((0,o.getDateFromDDMMYYYY)(t)<=(0,o.dateShift)((0,o.getDateFromDDMMYYYY)(n),14,"y"))return e.trigger("field:error","Ñ ìîìåíòà äàòû ðîæäåíèÿ äîëæíî ïðîéòè áîëåå 14 ëåò"),!0;if((0,o.getDateFromDDMMYYYY)((0,o.getDateToDDMMYYYY)(new Date)).getTime()<(0,o.getDateFromDDMMYYYY)(t).getTime())return e.trigger("field:error","Èñòåê ñðîê äåéñòâèÿ äîêóìåíòà èëè äàííûå ââåäåíû íåâåðíî"),!0;if(r>=20&&r<45&&i<20)return e.trigger("field:error","Èñòåê ñðîê äåéñòâèÿ äîêóìåíòà èëè äàííûå ââåäåíû íåâåðíî"),!0;if(r>=45&&i<45)return e.trigger("field:error","Èñòåê ñðîê äåéñòâèÿ äîêóìåíòà èëè äàííûå ââåäåíû íåâåðíî"),!0}return e.trigger("field:valid"),!1}return e.trigger("field:error","Óêàæèòå êîððåêòíóþ äàòó âûäà÷è ïàñïîðòà"),!0}}},{key:"validatePassportSeriesNumber",value:function(e){if(!this.checkRequired(e,"Ââåäèòå ñåðèþ è íîìåð ïàñïîðòà")){var t=e.val();return/^\d{4}-\d{6}$/i.test(t)?(e.trigger("field:valid"),!1):(e.trigger("field:error","Ñåðèÿ è íîìåð ïàñïîðòà óêàçûâàþòñÿ â ôîðìàòå 0000-000000"),!0)}}},{key:"validatePassportCode",value:function(e){if(!this.checkRequired(e,"Óêàæèòå êîä ïîäðàçäåëåíèÿ")){var t=e.val();return/^\d{3}-\d{3}$/i.test(t)?(e.trigger("field:valid"),!1):(e.trigger("field:error","Êîä ïîäðàçäåëåíèÿ óêàçûâàåòñÿ â ôîðìàòå 000-000"),!0)}}},{key:"validateTaxable",value:function(t){if(!this.checkRequired(t))return"NO"==e('input[name="'+t[0].name+'"]:checked',this.form).val()?(t.trigger("field:error",'Äëÿ îôîðìëåíèÿ êàðòû îáðàòèòåñü â îòäåëåíèå Áàíêà. <a href="https://www.raiffeisen.ru/offices/?active_tab=tab-1" target="_blank">Ïîñìîòðåòü ñïèñîê îòäåëåíèé</a>.'),!0):(t.trigger("field:valid"),!1)}},{key:"validateAll",value:function(){var e=this;this.inputs.each((function(t,n){e.validate(n)}))}},{key:"validateRequired",value:function(t,n){var r=!1;return n=t.data("required")||n||"Ïîëå îáÿçàòåëüíî",t.is(":checkbox[data-required]")?r=!t.is(":checked"):t.is(":radio[data-required]")?r=!e('input[name="'+t[0].name+'"]:checked',this.form).length:t.is("[data-required]")&&(r=!e.trim(t.val())),r?t.trigger("field:error",n):t.trigger("field:valid"),r}},{key:"checkRequired",value:function(t,n){var r=!1;return t.is("[data-required]")&&(n=t.data("required")||n||"Ïîëå îáÿçàòåëüíî",(r=t.is(":checkbox")?!t.is(":checked"):t.is(":radio")?!e('input[name="'+t[0].name+'"]:checked',this.form).length:!e.trim(t.val()))&&t.trigger("field:error",n)),r}},{key:"clearError",value:function(e){e.removeClass("_error").parent().find("[data-label]").text("")}},{key:"calculateErrors",value:function(){this.form.find("._error, ._notvalidated").length>0?this.submitBtn.attr("disabled",!0):this.submitBtn.removeAttr("disabled")}}]),t}();t.default=c}).call(this,n(1))},function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0});var r=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var s,a=e[Symbol.iterator]();!(r=(s=a.next()).done)&&(n.push(s.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{!r&&a.return&&a.return()}finally{if(i)throw o}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=n(2),s=n(5),a=f(n(0)),l=f(n(7)),c=f(n(8)),u=n(15),d=n(2);function f(e){return e&&e.__esModule?e:{default:e}}var h=function(){function t(n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),this.PREFIX=a.default.config.prefix,this.$form=e(n.form),this.Steps=n.Steps,this.selector={item:"."+this.PREFIX+"js-form-control",field:"."+this.PREFIX+"js-form-control-field",error:"."+this.PREFIX+"form-control__error",popup:"."+this.PREFIX+"js-form-popup"},window.dataLayer=window.dataLayer||[],this.init()}return i(t,[{key:"init",value:function(){var t=this;if(a.default.debug&&console.log("DataLayer init"),this.Steps.$steps){this.$form.on("steps:end",(function(){var n=e("."+t.PREFIX+"js-form-success");n.one("isVisible",(function(){t.pushEvent(t.eventObject({eventLabel:"Visibility",eventContent:"TYP",eventError:!1,eventSuccess:!0}))})),(0,o.isVisible)(t.$form[0])&&n.trigger("isVisible")}));var n=(0,o.debounce)((function(){(0,o.isVisible)(t.$form[0])&&(t.Steps.$step.trigger("isVisible"),t.$form.filter("._success").find("."+t.PREFIX+"js-form-success").trigger("isVisible"))}),100);a.default.W.on("scroll",(function(){n()})),this.Steps.$steps.on("steps:opened",(function(n){e(n.target).one("isVisible",e.proxy(t.onStepVisible,t)),(0,o.isVisible)(t.$form[0])&&e(n.target).trigger("isVisible")})),this.Steps.$steps.one("steps:opened",(function(t){var n=t.target;e("[data-context]",n).each((function(t,n){var r=e(n),i=r.data("context");r.is('[type="radio"]')?r.is(":checked")&&r.trigger("autovalue"):r.is('[type="checkbox"]')?r.trigger("autovalue"):r.is("input, textarea")?n.value&&r.trigger("autovalue"):r.is("select")&&n.value&&"deliveryCity"!=i&&r.trigger("autovalue")}))})),this.$form.on("form:success",(function(){(0,o.isVisible)(t.$form[0])&&t.$form.find("."+t.PREFIX+"js-form-success").trigger("isVisible")})),this.$form.on("client:checked",(function(){3===t.Steps.step&&t.pushEvent(t.eventObject({eventLabel:"Check visitor",eventContext:"Check NTB tag",eventContextMessage:l.default.exists&&l.default.dormant?"dormant":l.default.exists&&!l.default.dormant?"exist":"ntb"}))}))}var r=!1;this.$form.on("field:focus",(function(n,i){var o=e(n.target).data("context");o&&i&&(r||t.pushEvent(t.eventObject({eventLabel:"Focus field",eventContext:o},n.target)),r=!0,setTimeout((function(){r=!1}),200))}));var i=!1;this.$form.on("field:blur",(function(n){var r=e(n.target),s=r.data("context"),a="";if(s){if("birthday"==s&&(a=t.getError(n.target)?"":e(n.target).val().split(".").reverse().join(".")),"birthPlace"==s&&(a=t.getError(n.target)?"":t.cleanTranslit(r.val())),"deliveryDestinationAddress"==s){var l=r.val().split(", ä ");a=t.getError(n.target)?"":t.cleanTranslit(l.length>1?l.slice(0,-1).join(""):l.join(""))}i||t.pushEvent(t.eventObject({eventLabel:"UnFocus field",eventContext:s,eventContextMessage:a,eventError:(0,o.transliterate)(t.getError(n.target))||!1,eventSuccess:!t.getError(n.target)},n.target)),i=!0,setTimeout((function(){i=!1}),200)}})),this.$form.on("dadata:change",(function(n){var r=e(n.target),i=r.data("context");i&&r.closest(t.Steps.$step).length&&t.pushEvent(t.eventObject({eventLabel:"Choice value selector",eventContext:i},n.target))})),this.$form.on("autovalue",(function(n){var r=e(n.target),i=r.data("context");if(i&&r.closest(t.Steps.$step).length&&!r.closest("._validation-disabled").length&&!r.closest(".delivery-tabs-hide").length){var o=r.is('[type="radio"]:checked'),s=r.is('[type="checkbox"]'),a=r.is("input")&&!o&&!s&&!!r.val(),l=r.is("textarea")&&!!r.val(),c=r.is("select")&&!!r.val();if(o){var u=t.cleanTranslit(r.parent().find("."+t.PREFIX+"form-control__label").text());if("deliveryDestination"==i)return void t.pushEvent(t.eventObject({eventLabel:"Auto value",eventContext:i,eventContextMessage:u},n.target));"deliveryDates"==i&&(u=t.cleanTranslit(e('[name="deliveryDates"]:checked',t.$form).val())),t.pushEvent(t.eventObject({eventLabel:"Auto checkbox",eventContext:i,eventContextMessage:u},n.target))}if(s){var d=r.val()+"("+(r.prop("checked")?"on":"off")+")";"citizenship"==i&&(d="YES("+(r.is(":checked")?"on":"off")+")"),t.pushEvent(t.eventObject({eventLabel:"Auto checkbox",eventContext:i,eventContextMessage:d},n.target))}if(a||l){var f=t.cleanTranslit(r.val());if(["permanentAddress","passportSeriaNumber","passportIssueDate","passportIssueByCode","passportIssuePlace"].indexOf(i)>=0&&(f=""),"creditTimePurpose"==i&&(f=t.cleanTranslit(r.siblings("."+t.PREFIX+"js-form-control-range-formatter").text())),"deliveryDestinationAddress"==i){var h=r.val().split(", ä ");f=t.cleanTranslit(h.length>1?h.slice(0,-1).join(""):h.join(""))}t.pushEvent(t.eventObject({eventLabel:"Auto value",eventContext:i,eventContextMessage:f},n.target))}if(c){var p=t.cleanTranslit(r.find('option[value="'+r.val()+'"]').text());if("deliveryBranch"==i){var m=r.find('option[value="'+r.val()+'"]').text(),g=m.split(", ä.").length>1?m.split(", ä."):m.split(" ä.").length>1?m.split(" ä."):m.split(", äîì");p=t.cleanTranslit(g.length>1?g.slice(0,-1).join(""):g.join(""))}t.pushEvent(t.eventObject({eventLabel:"Auto value",eventContext:i,eventContextMessage:p},n.target))}}})),this.$form.on("field:empty",(function(n){var r=e(n.target),i=r.data("context");i&&t.Steps.step==r.closest("[data-step]").data("step")&&t.pushEvent(t.eventObject({eventLabel:"Full delete",eventContext:i},n.target))})),this.$form.on("field:click select2:open","select",(function(n){var r=e(n.target).data("context");r&&t.pushEvent(t.eventObject({eventLabel:"Click selector",eventContext:r},n.target))})),this.$form.on("change","select",(function(n){var r=e(n.target),i=r.data("context"),o="";if(i&&r.closest(t.Steps.$step).length){if(["birthCountry","deliveryCity"].indexOf(i)>=0&&(o=t.cleanTranslit(e(n.target).find('option[value="'+e(n.target).val()+'"]').text())),"deliveryBranch"==i){var s=e(n.target).find('option[value="'+e(n.target).val()+'"]').text(),a=s.split(", ä.").length>1?s.split(", ä."):s.split(" ä.").length>1?s.split(" ä."):s.split(", äîì");o=t.cleanTranslit(a.length>1?a.slice(0,-1).join(""):a.join(""))}t.pushEvent(t.eventObject({eventLabel:"Choice value selector",eventContext:i,eventContextMessage:o},n.target))}})),this.$form.on("click",'a:not([data-context="back"])',(function(n){var r=e(n.target).data("context")||t.cleanTranslit(e(n.target).text());r&&(n.target.classList.contains(a.default.config.prefix+"footer-navigation__btn-back")?t.pushEvent(t.eventObject({eventCategory:"Interaction: Recommendational link",eventAction:"Interaction: Users clickability",eventLabel:"Click button",eventSubSection:"Transfer to relatives more than 100,000 rubles a month without commission",eventPositionElement:"",eventContent:"CTA button",eventContext:"back"},n.target)):"registredChangeDelivery"===n.target.id||"changeDelivery"===n.target.id?t.pushEvent(t.eventObject({eventLabel:"Click link",eventContext:"Esli plany izmenyatsya, perenesite vstrechu"},n.target)):t.pushEvent(t.eventObject({eventLabel:"Click link",eventContext:r},n.target)))})),e(this.selector.popup,this.$form).on("popup:close",(function(n){if(e(n.target).hasClass(t.PREFIX+"form-popup__close")){var r=e(n.target).data("context")||"Close";if(!r)return;t.pushEvent(t.eventObject({eventLabel:"Click icon",eventContext:r},n.target))}})),e(this.selector.popup,this.$form).on("click","button",(function(n){var r=e(n.target).data("context");r&&("changeMobilePhoneConfirm"==r?e('[data-name="editPhone"]',t.$form).find("._error").length?t.pushEvent(t.eventObject({eventLabel:"Click button",eventContext:r,eventError:"changeToMobilePhone",eventSuccess:!1},n.target)):t.pushEvent(t.eventObject({eventLabel:"Click button",eventContext:r,eventError:!1,eventSuccess:!0},n.target)):t.pushEvent(t.eventObject({eventLabel:"Click button",eventContext:r},n.target)))})),this.$form.on("steps:next:success",(function(n){var r=e(n.target).data("context");r&&t.pushEvent(t.eventObject({eventLabel:"Click button",eventContext:r,eventError:!1,eventSuccess:!0},n.target))})),this.$form.on("click","."+a.default.config.prefix+"footer-navigation__btn-forward",(function(e){e.target.classList.contains(a.default.config.prefix+"footer-navigation__btn-forward")&&t.pushEvent(t.eventObject({eventCategory:"Interaction: Recommendational link",eventAction:"Interaction: Users clickability",eventLabel:"Click button",eventSubSection:"Transfer to relatives more than 100,000 rubles a month without commission",eventPositionElement:"",eventContent:"CTA button",eventContext:"next"},e.target))})),this.$form.on("steps:next:fail",(function(n){var r=e(n.target).is('[type="submit"]')?t.$form.find("._error"):t.Steps.$step.find("._error"),i=[],s=[],a=e(n.target).data("context");a&&(r.each((function(n,r){i.push(e(r).find("[data-context]").eq(0).attr("data-context")),s.push((0,o.transliterate)(e(r).find(t.selector.error).text()))})),t.pushEvent(t.eventObject({eventLabel:"Click button",eventContext:a,eventError:i.join(","),eventSuccess:!1},n.target)))})),this.$form.on("steps:back:success",(function(n){var r=e(n.target).data("context");r&&t.pushEvent(t.eventObject({eventLabel:"Click link",eventContext:r},n.target))})),this.$form.on("click","."+this.PREFIX+"js-form-success a",(function(n){var r=e(n.target).data("context");r&&t.pushEvent(t.eventObject({eventLabel:"Click button",eventContent:"TYP",eventContext:r},n.target))})),this.$form.on("click",'[type="checkbox"], [type="radio"]',(function(n){var r=e(n.target),i=r.data("context"),o=void 0;if(i){if(r.is('[type="checkbox"]')&&(o=r.val()+"("+(r.prop("checked")?"on":"off")+")","citizenship"==i&&(o="YES("+(r.is(":checked")?"on":"off")+")")),r.is('[type="radio"]')&&(o=t.cleanTranslit(r.parent().find("."+t.PREFIX+"form-control__label").text()),["deliveryDestination","deliveryCurrentAddress","deliveryPermanentAddress"].indexOf(i)>=0&&setTimeout((function(){e('[name="deliveryHome"],[name="deliveryCurrentAddress"]',this.$form).filter(":visible").trigger("autovalue")}),40),"deliveryType"==i&&"dsa"==r.val()&&setTimeout((function(){e('[name="delivery_to"]',this.$form).filter(":checked").trigger("autovalue"),e('[name="deliveryHome"],[name="deliveryCurrentAddress"]',this.$form).filter(":visible").trigger("autovalue"),e('[name="deliveryDates"]:checked',this.$form)&&e('[name="deliveryDates"]:checked',this.$form).trigger("autovalue")}),40),"deliveryDates"==i))return o=t.cleanTranslit(e('[name="deliveryDates"]:checked',t.$form).val()),void t.pushEvent(t.eventObject({eventLabel:"Click checkbox",eventContext:i,eventContextMessage:o},n.target));t.pushEvent(t.eventObject({eventLabel:"Click checkbox",eventContext:i,eventContextMessage:o},n.target))}}));try{this.$form.on("form:send_ok:fail",(function(t,n){a.default.debug&&console.log("DataLayer -> form:send_ok:fail -> response",n),(0,s.trackSendOk)({phone:e('[name="mobilePhone"]').val().replace(/[^\d]/g,"")}).done((function(){}))}))}catch(t){(0,s.trackSendOk)({phone:e('[name="mobilePhone"]').val().replace(/[^\d]/g,"")}).done((function(){}))}this.$form.on("form:success",(function(n,r,i){if(a.default.deliveryDates){var o=e('[name="permanentAddress"]',t.$form).val(),l=e('[name="deliveryAddress"]',t.$form).val();t.pushEvent(t.eventObject({eventLabel:"RegAndDeliveryAdressCheck",eventContext:o===l,eventFormVersion:"test_delivery_equal_reg"},n.target))}if(a.default.debug&&console.log("DataLayer -> form:sucesss -> response",r),r.success)try{var f=a.default.props["send-ok-type"]||"DEBIT_CARD_FULL_FORM",h=t.sbjsGetSource()+"_order:"+r.data.payload.answerId;t.sendSuccessEvent(i,h);var p=(0,d.getPromocodeValue)()||"";(0,u.promocodeElementContainerSendOK)(f,h,p),(0,u.floctorySpendOKDiv)(f,r.data.payload.answerId),(0,u.floctorySpendOKScript)(f,r.data.payload.answerId)}catch(n){(0,s.trackSendOk)({phone:e('[name="mobilePhone"]').val().replace(/[^\d]/g,"")}).done((function(){}))}else{var m=JSON.stringify(new c.default(t.$form[0]).data);(0,s.trackPostAnswers)({url:window.location.href,request:JSON.parse(m),response:r,code:r.error.code}).done((function(){}))}}));try{this.$form.on("form:nonrf",(function(){dataLayer.push({event:"GAevent",eventCategory:"send_ok",eventAction:a.default.props["send-ok-type"]||"DEBIT_CARD_FULL_FORM",eventLabel:t.sbjsGetSource()+"_order:"+response.data.payload.answerId})}))}catch(t){(0,s.trackSendOk)({phone:e('[name="mobilePhone"]').val().replace(/[^\d]/g,"")}).done((function(){}))}}},{key:"sendSuccessEvent",value:function(t,n){var i=e('[name="cardPurpose"]',this.$form).filter('[value="digit"]').is(":checked"),o=t.answer.root.fieldom.fieldomDeliveryDate,s=t.answer.root.delivery.address?t.answer.root.delivery.address.city:null;if(o){var c=o.split(".");o=c[2]?""+c[2]+c[1]+c[0]:"none"}else o="none";if(!s)try{s=e('option[value="'+e('[name="city_branch"]').val()+'"]').eq(0).text()}catch(e){s=t.answer.root.delivery.city}s=this.cleanTranslit(s.replace("ãîðîä ",""));var u={clientType:l.default.exists&&l.default.dormant?"dormant":l.default.exists&&!l.default.dormant?"exist":"ntb",cardType:i?"virtual":"plastic",paymentSystem:a.default.props.payment,deliveryType:"branch"===t.answer.root.delivery.type?"branch":"courier",deliveryCity:s,deliveryDates:o,deliveryHours:t.answer.root.fieldom.fieldomDeliveryTime||"none",promocode:t.answer.root.promocode||"none"},d={event:"GAevent",eventCategory:"send_ok",eventAction:"DEBIT_CARD_FULL_FORM",eventLabel:n};d.eventContext=Object.entries(u).reduce((function(e,t,n,i){var o=r(t,2);return e+(o[0]+": ")+o[1]+(n<i.length-1?"|":"")}),""),dataLayer.push(d)}},{key:"onStepVisible",value:function(t){var n=t.target,r=e("."+this.PREFIX+"steps-progress");this.pushEvent(this.eventObject({eventLabel:"Visibility"})),r.length&&this.pushEvent(this.eventObject({eventLabel:"Auto value",eventContext:"probability",eventContextMessage:this.cleanTranslit(r.find('[data-step-visible="'+e(n).attr("data-step")+'"] .hidden-mobile').text())},r[0]))}},{key:"cleanTranslit",value:function(e){return(0,o.transliterate)(e.trim().replace(/\s+/g," "))}},{key:"getError",value:function(t){var n=e(t).closest(this.selector.item);return n.is("._error")?n.find(this.selector.error).text():""}},{key:"eventObject",value:function(e,t){return Object.assign({event:"RBRU-DM",eventCategory:"Interaction: Form",eventAction:"Interaction: Step "+this.Steps.step+" of "+(this.Steps.$steps.length+1),eventLabel:"",eventSection:"Main",eventSubSection:"",eventPositionSubSection:"",eventPositionElement:this.positionElement(t),eventProduct:"DC",eventContent:"Form",eventContext:"",eventContextMessage:"",eventError:"",eventSuccess:"",eventVendor:"Creative people",eventFormVersion:"v1"},e)}},{key:"positionElement",value:function(t){var n="",r=e(t);return r.length&&(r.closest("[data-position-from]").length?n=this.positionElementInStep(this.Steps.$step.find('[data-position="'+r.closest("[data-position-from]").data("position-from")+'"]')):r.closest("[data-position]").length&&(n=this.positionElementInStep(t))),n}},{key:"positionElementInStep",value:function(t){return e(t).closest("."+this.PREFIX+"js-step").find("[data-position]").index(e(t).closest("[data-position]"))+1}},{key:"pushEvent",value:function(e){window.dataLayer.push(e)}},{key:"sbjsGetSource",value:function(){try{return a.default.sbjs.current.src||""}catch(t){(0,s.trackSendOk)({phone:e('[name="mobilePhone"]').val().replace(/[^\d]/g,"")}).done((function(){}))}}},{key:"sbjsGetOrder",value:function(){var e=new Date,t=e.getMonth()+1,n=e.getDate(),r=e.getFullYear().toString()+(t>9?t.toString():"0"+t.toString())+(n>9?n.toString():"0"+n.toString());if("undefined"!=typeof Uint32Array){var i=new Uint32Array(1);return r+window.crypto.getRandomValues(i)[0]}return r}}]),t}();t.default=h}).call(this,n(1))},function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0});var r,i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=n(0),s=(r=o)&&r.__esModule?r:{default:r};var a={"-":-1,"+":1},l=0,c=100,u=95,d=function(){function t(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),this._formData=new FormData(e("."+s.default.config.prefix+"form")[0]),this._progressBarStore={},this._state=!0,this._progress=l,this._fields=0,this._fieldPrice=null,this._exclusionFields=["deliveryCurrentAddress","deliveryHome","previousName","spouseCompany","spousePhone","spouseIncome","childrenCount","permanentAddress","branch","deliveryAddress","deliveryWork","mobilePhoneConfirmation","creditTimePurpose","city_dsa","city_branch","changeToMobilePhone"],this._fieldsForCouting=0}return i(t,[{key:"_countFieldPrice",value:function(){var e=this,t=function(t){e._progressBarStore.hasOwnProperty(t)&&(e._fields++,e._exclusionFields.some((function(e){return t===e}))||e._fieldsForCouting++)};for(var n in this._progressBarStore)t(n);this._fieldPrice=(c-this._progress)/this._fieldsForCouting}},{key:"init",value:function(){var t=this,n=!0,r=!1,i=void 0;try{for(var o,s=function(){var n=o.value[0];"radio"===e('[name="'+n+'"]')[0].type||"checkbox"===e('[name="'+n+'"]')[0].type||t._exclusionFields.some((function(e){return e===n}))||(t._progressBarStore[n]="previousName"===n||"spouseIncome"===n||"spousePhone"===n||"spouseCompany"===n)},a=this._formData.entries()[Symbol.iterator]();!(n=(o=a.next()).done);n=!0)s()}catch(e){r=!0,i=e}finally{try{!n&&a.return&&a.return()}finally{if(r)throw i}}this._countFieldPrice()}},{key:"getProgress",value:function(){return Math.floor(this._progress)}},{key:"restore",value:function(){var t=this,n=!0,r=!1,i=void 0;try{for(var o,s=function(){var n=o.value[0],r=e('[name="'+n+'"]');"radio"===r[0].type||"checkbox"===r[0].type||"select-one"===r[0].type||"spouseIncome"===n||"spousePhone"===n||"spouseCompany"===n||t._exclusionFields.some((function(e){return e===n}))?"select-one"===r[0].type&&r.parent().parent().hasClass("_filled")&&(t._state=!0,t.calculate(r[0],"+")):r.parent().parent().hasClass("_valid")&&(t._state=!0,t.calculate(r[0],"+")),"spouseIncome"!==n&&"spousePhone"!==n&&"spouseCompany"!==n||(e('[name="spouseIncome"]')[0].value.length>0&&!e('[name="spouseIncome"]').parent().parent().hasClass("_error")&&(t._state=!0,t.calculate(e('[name="spouseIncome"]')[0],"+")),e('[name="spousePhone"]')[0].value.length>0&&!e('[name="spousePhone"]').parent().parent().hasClass("_error")&&(t._state=!0,t.calculate(e('[name="spousePhone"]')[0],"+")),e('[name="spouseCompany"]')[0].value.length>0&&!e('[name="spouseCompany"]').parent().parent().hasClass("_error")&&(t._state=!0,t.calculate(e('[name="spouseCompany"]')[0],"+")))},a=this._formData.entries()[Symbol.iterator]();!(n=(o=a.next()).done);n=!0)s()}catch(e){r=!0,i=e}finally{try{!n&&a.return&&a.return()}finally{if(r)throw i}}this._state=!0}},{key:"calculate",value:function(e,t){var n=this;if(this._state&&e){var r=e.getAttribute("name");if("radio"!==e.type&&"checkbox"!==e.type&&!this._exclusionFields.some((function(e){return e===r}))){var i=this._progressBarStore[r];void 0!==i&&(i&&"-"===t||!i&&"+"===t)&&(this._progressBarStore[r]=!i,this._state=!1,this._progress+=this._fieldPrice*a[t],this._progress+this._fieldPrice>=u&&(this._progress=c),setTimeout((function(){n._state=!0}),100))}}}}]),t}();t.default=d}).call(this,n(1))},function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0});var r,i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=n(0),s=(r=o)&&r.__esModule?r:{default:r};var a=function(){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),this.PREFIX=s.default.config.prefix,this.form=s.default.form,this.field=e,this.render()}return i(t,[{key:"render",value:function(){s.default.debug&&console.log("Placeholder render");var t=e(this.field),n=t.attr("placeholder"),r=e('<div class="'+s.default.config.prefix+'placeholder"><span></span><span>'+n+"</span></div>"),i=r.children().eq(0),o=r.children().eq(1);if("email"==this.field.type){var a=n.split("@")[0],l=n.split("@")[1].split(".")[0],c=n.split(".")[1];t.parent().prepend(r),t.on("input change keydown dadata:change autovalue",(function(e){requestAnimationFrame((function(){var t=e.target.value,r=[].slice.call(n),s=[].slice.call(l),u=[].slice.call(c);/@/.test(t)?/@.*\./.test(t)?t.split(".")[1].length<=c.length?(u.splice(0,t.split(".")[1].length),i.text(t),o.text(u.join(""))):(i.text(t),o.text("")):t.split("@")[1].length<l.length?(s.splice(0,t.split("@")[1].length),i.text(t),o.text(s.join("")+"."+c)):(i.text(t),o.text("."+c)):t.length<a.length?(r.splice(0,t.length),i.text(t),o.text(r.join(""))):(i.text(t),o.text("@"+l+"."+c))}))}))}else t.is("input")&&(t.parent().prepend(r),t.on("input change autovalue",(function(e){requestAnimationFrame((function(){var t=e.target.value,r=[].slice.call(n);r.splice(0,t.length),i.text(t+""),o.text(r.join(""))}))})))}}]),t}();t.default=a}).call(this,n(1))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=s(n(4)),o=s(n(0));function s(e){return e&&e.__esModule?e:{default:e}}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(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}var c=function(e){function t(){return a(this,t),l(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(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)}(t,e),r(t,[{key:"getTemplate",value:function(){return'<span class="'+o.default.config.prefix+'form-control__error-text">Âûáåðèòå îòäåëåíèå</span>'}}]),t}(i.default);t.default=c},function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0});var r,i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=n(0),s=(r=o)&&r.__esModule?r:{default:r};var a=function(){function t(n){if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),this.PREFIX=s.default.config.prefix,this.$form=e("."+this.PREFIX+"js-form"),this.$root=e(n),this.name=this.$root.data("name"),this.openedClass=this.PREFIX+"form-popup--opened",this.closeClass=this.PREFIX+"js-form-popup-close",this.contentClass=this.PREFIX+"js-form-popup-content",this.validationDisabledClass="_validation-disabled",this.isOpen=!1,!this.$root.length)return[];this.render(),this.bind()}return i(t,[{key:"render",value:function(){s.default.debug&&console.log("Popup render"),this.$root.addClass(this.validationDisabledClass)}},{key:"bind",value:function(){var t=this;this.$form.on("click",'[data-popup="'+this.name+'"]',(function(e){e.preventDefault(),t.open()})),this.$root.on("click","."+this.closeClass,(function(t){e(t.currentTarget).trigger("popup:close")})),this.$root.on("popup:close",(function(){t.close()})),this.$form.on("popup:open",(function(n,r){r.name==t.name&&(r.content&&e("."+t.contentClass,t.$root).html(r.content),t.open())}))}},{key:"open",value:function(){var e=this;this.isOpen=!0,this.$root.addClass(this.openedClass).removeClass(this.validationDisabledClass),setTimeout((function(){e.$root.trigger("popup:opened")}),300)}},{key:"close",value:function(){var e=this;this.isOpen=!1,this.$root.removeClass(this.openedClass).addClass(this.validationDisabledClass),setTimeout((function(){e.$root.trigger("popup:closed")}),300)}}]),t}();t.default=a,e("."+s.default.config.prefix+"js-form-popup").each((function(){new a(this)}))}).call(this,n(1))},function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0});var r,i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=n(0),s=(r=o)&&r.__esModule?r:{default:r};var a=function(){function t(n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),this.PREFIX=s.default.config.prefix,this.root=n,this.$src=e("[data-miror-src]",this.root),this.render()}return i(t,[{key:"render",value:function(){var t=this;s.default.debug&&console.log("Miror render"),this.$src.each((function(n,r){var i=e(r).data("miror-src"),o=e('[data-miror-text="'+i+'"]',t.root),s=e('[data-miror-value="'+i+'"]',t.root),a=e(r).val();a&&(o.html(t.conditions(i,a)),s.val(t.conditions(i,a)).change(),s.is("[readonly]")&&s.closest("."+t.PREFIX+"js-form-control").toggleClass("_valid",!!s.val())),e(r).on("change dadata:change miror:change",(function(n){var r=e(n.target).val();"name"===e(n.target).data("miror-src")?setTimeout((function(){o.html(t.conditions(e(n.target).data("miror-src"),r)),s.val(t.conditions(e(n.target).data("miror-src"),r)).change()}),1e3):(o.html(t.conditions(e(n.target).data("miror-src"),r)),s.val(t.conditions(e(n.target).data("miror-src"),r)).change()),s.is("[readonly]")&&s.closest("."+t.PREFIX+"js-form-control").toggleClass("_valid",!!s.val())}))}))}},{key:"conditions",value:function(t,n){if("name"==t){var r=e('[data-miror-src="'+t+'"]',this.root).suggestions(),i=!!r.suggestions.length&&r.suggestions[0].data.name;n=r&&r.selection?r.selection.data.name||"":r&&i?i||"":n.split(" ")[n.split(" ").length-2],n=Array.isArray(n)?n.join(" "):n}return n}}]),t}();t.default=a,e("."+s.default.config.prefix+"js-form-wrap").each((function(){new a(this)}))}).call(this,n(1))},function(e,t,n){"use strict";var r;n.r(t);var i=new Uint8Array(16);function o(){if(!r&&!(r="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto)))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return r(i)}var s=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;for(var a=function(e){return"string"==typeof e&&s.test(e)},l=[],c=0;c<256;++c)l.push((c+256).toString(16).substr(1));var u,d,f=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=(l[e[t+0]]+l[e[t+1]]+l[e[t+2]]+l[e[t+3]]+"-"+l[e[t+4]]+l[e[t+5]]+"-"+l[e[t+6]]+l[e[t+7]]+"-"+l[e[t+8]]+l[e[t+9]]+"-"+l[e[t+10]]+l[e[t+11]]+l[e[t+12]]+l[e[t+13]]+l[e[t+14]]+l[e[t+15]]).toLowerCase();if(!a(n))throw TypeError("Stringified UUID is invalid");return n},h=0,p=0;var m=function(e,t,n){var r=t&&n||0,i=t||new Array(16),s=(e=e||{}).node||u,a=void 0!==e.clockseq?e.clockseq:d;if(null==s||null==a){var l=e.random||(e.rng||o)();null==s&&(s=u=[1|l[0],l[1],l[2],l[3],l[4],l[5]]),null==a&&(a=d=16383&(l[6]<<8|l[7]))}var c=void 0!==e.msecs?e.msecs:Date.now(),m=void 0!==e.nsecs?e.nsecs:p+1,g=c-h+(m-p)/1e4;if(g<0&&void 0===e.clockseq&&(a=a+1&16383),(g<0||c>h)&&void 0===e.nsecs&&(m=0),m>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");h=c,p=m,d=a;var v=(1e4*(268435455&(c+=122192928e5))+m)%4294967296;i[r++]=v>>>24&255,i[r++]=v>>>16&255,i[r++]=v>>>8&255,i[r++]=255&v;var y=c/4294967296*1e4&268435455;i[r++]=y>>>8&255,i[r++]=255&y,i[r++]=y>>>24&15|16,i[r++]=y>>>16&255,i[r++]=a>>>8|128,i[r++]=255&a;for(var _=0;_<6;++_)i[r+_]=s[_];return t||f(i)};var g=function(e){if(!a(e))throw TypeError("Invalid UUID");var t,n=new Uint8Array(16);return n[0]=(t=parseInt(e.slice(0,8),16))>>>24,n[1]=t>>>16&255,n[2]=t>>>8&255,n[3]=255&t,n[4]=(t=parseInt(e.slice(9,13),16))>>>8,n[5]=255&t,n[6]=(t=parseInt(e.slice(14,18),16))>>>8,n[7]=255&t,n[8]=(t=parseInt(e.slice(19,23),16))>>>8,n[9]=255&t,n[10]=(t=parseInt(e.slice(24,36),16))/1099511627776&255,n[11]=t/4294967296&255,n[12]=t>>>24&255,n[13]=t>>>16&255,n[14]=t>>>8&255,n[15]=255&t,n};var v=function(e,t,n){function r(e,r,i,o){if("string"==typeof e&&(e=function(e){e=unescape(encodeURIComponent(e));for(var t=[],n=0;n<e.length;++n)t.push(e.charCodeAt(n));return t}(e)),"string"==typeof r&&(r=g(r)),16!==r.length)throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");var s=new Uint8Array(16+e.length);if(s.set(r),s.set(e,r.length),(s=n(s))[6]=15&s[6]|t,s[8]=63&s[8]|128,i){o=o||0;for(var a=0;a<16;++a)i[o+a]=s[a];return i}return f(s)}try{r.name=e}catch(e){}return r.DNS="6ba7b810-9dad-11d1-80b4-00c04fd430c8",r.URL="6ba7b811-9dad-11d1-80b4-00c04fd430c8",r};function y(e){return 14+(e+64>>>9<<4)+1}function _(e,t){var n=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(n>>16)<<16|65535&n}function b(e,t,n,r,i,o){return _((s=_(_(t,e),_(r,o)))<<(a=i)|s>>>32-a,n);var s,a}function w(e,t,n,r,i,o,s){return b(t&n|~t&r,e,t,i,o,s)}function x(e,t,n,r,i,o,s){return b(t&r|n&~r,e,t,i,o,s)}function C(e,t,n,r,i,o,s){return b(t^n^r,e,t,i,o,s)}function k(e,t,n,r,i,o,s){return b(n^(t|~r),e,t,i,o,s)}var S=v("v3",48,(function(e){if("string"==typeof e){var t=unescape(encodeURIComponent(e));e=new Uint8Array(t.length);for(var n=0;n<t.length;++n)e[n]=t.charCodeAt(n)}return function(e){for(var t=[],n=32*e.length,r=0;r<n;r+=8){var i=e[r>>5]>>>r%32&255,o=parseInt("0123456789abcdef".charAt(i>>>4&15)+"0123456789abcdef".charAt(15&i),16);t.push(o)}return t}(function(e,t){e[t>>5]|=128<<t%32,e[y(t)-1]=t;for(var n=1732584193,r=-271733879,i=-1732584194,o=271733878,s=0;s<e.length;s+=16){var a=n,l=r,c=i,u=o;n=w(n,r,i,o,e[s],7,-680876936),o=w(o,n,r,i,e[s+1],12,-389564586),i=w(i,o,n,r,e[s+2],17,606105819),r=w(r,i,o,n,e[s+3],22,-1044525330),n=w(n,r,i,o,e[s+4],7,-176418897),o=w(o,n,r,i,e[s+5],12,1200080426),i=w(i,o,n,r,e[s+6],17,-1473231341),r=w(r,i,o,n,e[s+7],22,-45705983),n=w(n,r,i,o,e[s+8],7,1770035416),o=w(o,n,r,i,e[s+9],12,-1958414417),i=w(i,o,n,r,e[s+10],17,-42063),r=w(r,i,o,n,e[s+11],22,-1990404162),n=w(n,r,i,o,e[s+12],7,1804603682),o=w(o,n,r,i,e[s+13],12,-40341101),i=w(i,o,n,r,e[s+14],17,-1502002290),r=w(r,i,o,n,e[s+15],22,1236535329),n=x(n,r,i,o,e[s+1],5,-165796510),o=x(o,n,r,i,e[s+6],9,-1069501632),i=x(i,o,n,r,e[s+11],14,643717713),r=x(r,i,o,n,e[s],20,-373897302),n=x(n,r,i,o,e[s+5],5,-701558691),o=x(o,n,r,i,e[s+10],9,38016083),i=x(i,o,n,r,e[s+15],14,-660478335),r=x(r,i,o,n,e[s+4],20,-405537848),n=x(n,r,i,o,e[s+9],5,568446438),o=x(o,n,r,i,e[s+14],9,-1019803690),i=x(i,o,n,r,e[s+3],14,-187363961),r=x(r,i,o,n,e[s+8],20,1163531501),n=x(n,r,i,o,e[s+13],5,-1444681467),o=x(o,n,r,i,e[s+2],9,-51403784),i=x(i,o,n,r,e[s+7],14,1735328473),r=x(r,i,o,n,e[s+12],20,-1926607734),n=C(n,r,i,o,e[s+5],4,-378558),o=C(o,n,r,i,e[s+8],11,-2022574463),i=C(i,o,n,r,e[s+11],16,1839030562),r=C(r,i,o,n,e[s+14],23,-35309556),n=C(n,r,i,o,e[s+1],4,-1530992060),o=C(o,n,r,i,e[s+4],11,1272893353),i=C(i,o,n,r,e[s+7],16,-155497632),r=C(r,i,o,n,e[s+10],23,-1094730640),n=C(n,r,i,o,e[s+13],4,681279174),o=C(o,n,r,i,e[s],11,-358537222),i=C(i,o,n,r,e[s+3],16,-722521979),r=C(r,i,o,n,e[s+6],23,76029189),n=C(n,r,i,o,e[s+9],4,-640364487),o=C(o,n,r,i,e[s+12],11,-421815835),i=C(i,o,n,r,e[s+15],16,530742520),r=C(r,i,o,n,e[s+2],23,-995338651),n=k(n,r,i,o,e[s],6,-198630844),o=k(o,n,r,i,e[s+7],10,1126891415),i=k(i,o,n,r,e[s+14],15,-1416354905),r=k(r,i,o,n,e[s+5],21,-57434055),n=k(n,r,i,o,e[s+12],6,1700485571),o=k(o,n,r,i,e[s+3],10,-1894986606),i=k(i,o,n,r,e[s+10],15,-1051523),r=k(r,i,o,n,e[s+1],21,-2054922799),n=k(n,r,i,o,e[s+8],6,1873313359),o=k(o,n,r,i,e[s+15],10,-30611744),i=k(i,o,n,r,e[s+6],15,-1560198380),r=k(r,i,o,n,e[s+13],21,1309151649),n=k(n,r,i,o,e[s+4],6,-145523070),o=k(o,n,r,i,e[s+11],10,-1120210379),i=k(i,o,n,r,e[s+2],15,718787259),r=k(r,i,o,n,e[s+9],21,-343485551),n=_(n,a),r=_(r,l),i=_(i,c),o=_(o,u)}return[n,r,i,o]}(function(e){if(0===e.length)return[];for(var t=8*e.length,n=new Uint32Array(y(t)),r=0;r<t;r+=8)n[r>>5]|=(255&e[r/8])<<r%32;return n}(e),8*e.length))}));var D=function(e,t,n){var r=(e=e||{}).random||(e.rng||o)();if(r[6]=15&r[6]|64,r[8]=63&r[8]|128,t){n=n||0;for(var i=0;i<16;++i)t[n+i]=r[i];return t}return f(r)};function E(e,t,n,r){switch(e){case 0:return t&n^~t&r;case 1:return t^n^r;case 2:return t&n^t&r^n&r;case 3:return t^n^r}}function T(e,t){return e<<t|e>>>32-t}var O=v("v5",80,(function(e){var t=[1518500249,1859775393,2400959708,3395469782],n=[1732584193,4023233417,2562383102,271733878,3285377520];if("string"==typeof e){var r=unescape(encodeURIComponent(e));e=[];for(var i=0;i<r.length;++i)e.push(r.charCodeAt(i))}else Array.isArray(e)||(e=Array.prototype.slice.call(e));e.push(128);for(var o=e.length/4+2,s=Math.ceil(o/16),a=new Array(s),l=0;l<s;++l){for(var c=new Uint32Array(16),u=0;u<16;++u)c[u]=e[64*l+4*u]<<24|e[64*l+4*u+1]<<16|e[64*l+4*u+2]<<8|e[64*l+4*u+3];a[l]=c}a[s-1][14]=8*(e.length-1)/Math.pow(2,32),a[s-1][14]=Math.floor(a[s-1][14]),a[s-1][15]=8*(e.length-1)&4294967295;for(var d=0;d<s;++d){for(var f=new Uint32Array(80),h=0;h<16;++h)f[h]=a[d][h];for(var p=16;p<80;++p)f[p]=T(f[p-3]^f[p-8]^f[p-14]^f[p-16],1);for(var m=n[0],g=n[1],v=n[2],y=n[3],_=n[4],b=0;b<80;++b){var w=Math.floor(b/20),x=T(m,5)+E(w,g,v,y)+_+t[w]+f[b]>>>0;_=y,y=v,v=T(g,30)>>>0,g=m,m=x}n[0]=n[0]+m>>>0,n[1]=n[1]+g>>>0,n[2]=n[2]+v>>>0,n[3]=n[3]+y>>>0,n[4]=n[4]+_>>>0}return[n[0]>>24&255,n[0]>>16&255,n[0]>>8&255,255&n[0],n[1]>>24&255,n[1]>>16&255,n[1]>>8&255,255&n[1],n[2]>>24&255,n[2]>>16&255,n[2]>>8&255,255&n[2],n[3]>>24&255,n[3]>>16&255,n[3]>>8&255,255&n[3],n[4]>>24&255,n[4]>>16&255,n[4]>>8&255,255&n[4]]}));var M=function(e){if(!a(e))throw TypeError("Invalid UUID");return parseInt(e.substr(14,1),16)};n.d(t,"v1",(function(){return m})),n.d(t,"v3",(function(){return S})),n.d(t,"v4",(function(){return D})),n.d(t,"v5",(function(){return O})),n.d(t,"NIL",(function(){return"00000000-0000-0000-0000-000000000000"})),n.d(t,"version",(function(){return M})),n.d(t,"validate",(function(){return a})),n.d(t,"stringify",(function(){return f})),n.d(t,"parse",(function(){return g}))}]);