Advertisement
Guest User

Untitled

a guest
Mar 22nd, 2019
135
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. (function(t){function e(e){for(var n,r,o=e[0],c=e[1],l=e[2],d=0,p=[];d<o.length;d++)r=o[d],i[r]&&p.push(i[r][0]),i[r]=0;for(n in c)Object.prototype.hasOwnProperty.call(c,n)&&(t[n]=c[n]);u&&u(e);while(p.length)p.shift()();return a.push.apply(a,l||[]),s()}function s(){for(var t,e=0;e<a.length;e++){for(var s=a[e],n=!0,o=1;o<s.length;o++){var c=s[o];0!==i[c]&&(n=!1)}n&&(a.splice(e--,1),t=r(r.s=s[0]))}return t}var n={},i={app:0},a=[];function r(e){if(n[e])return n[e].exports;var s=n[e]={i:e,l:!1,exports:{}};return t[e].call(s.exports,s,s.exports,r),s.l=!0,s.exports}r.m=t,r.c=n,r.d=function(t,e,s){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:s})},r.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var s=Object.create(null);if(r.r(s),Object.defineProperty(s,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var n in t)r.d(s,n,function(e){return t[e]}.bind(null,n));return s},r.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="/";var o=window["webpackJsonp"]=window["webpackJsonp"]||[],c=o.push.bind(o);o.push=e,o=o.slice();for(var l=0;l<o.length;l++)e(o[l]);var u=c;a.push([0,"chunk-vendors"]),s()})({0:function(t,e,s){t.exports=s("56d7")},"008d":function(t,e){t.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 98.1 197.81"><defs><style>.__2eSFk9X__cls-1{fill:#c96;}.__2eSFk9X__cls-2{fill:#fff;}.__2eSFk9X__cls-3{fill:#fcc;}.__2eSFk9X__cls-4{fill:none;}.__2eSFk9X__cls-4,.__2eSFk9X__cls-5{stroke:#000;}.__2eSFk9X__cls-4,.__2eSFk9X__cls-5,.__2eSFk9X__cls-7{stroke-linecap:round;stroke-linejoin:round;stroke-width:2px;}.__2eSFk9X__cls-6{fill:#999;}.__2eSFk9X__cls-7{fill:#693;stroke:#693;}</style></defs><title>seat-girl</title><g id="Layer_2" data-name="Layer 2"><g id="Layer_1-2" data-name="Layer 1"><rect class="__2eSFk9X__cls-1 " x="23.56" y="165.16" width="18.74" height="20.27"></rect><rect class="__2eSFk9X__cls-1 " x="55.8" y="165.16" width="18.74" height="20.27"></rect><path class="__2eSFk9X__cls-2 " d="M61.42,25.31H36.68A36.78,36.78,0,0,0,0,62V98.35a16.8,16.8,0,0,0,16.81,16.81H81.29A16.81,16.81,0,0,0,98.1,98.35V62A36.79,36.79,0,0,0,61.42,25.31Z"></path><path id="neck" class="__2eSFk9X__cls-3 " d="M36,13V25.53l13,13,13-13V13a13,13,0,0,0-13-13h0A13,13,0,0,0,36,13Z"></path><line class="__2eSFk9X__cls-4 " x1="16.81" y1="51.77" x2="16.81" y2="97.24"></line><line class="__2eSFk9X__cls-4 " x1="81.29" y1="51.77" x2="81.29" y2="115.16"></line><path class="__2eSFk9X__cls-5 " d="M81.08,106.63a11.42,11.42,0,0,0-11.21-9.28h-9.4a11.43,11.43,0,0,0-11.19,9.12h-.46a11.44,11.44,0,0,0-11.2-9.12H28.23A11.44,11.44,0,0,0,17,106.63a5.5,5.5,0,0,0-4.2,5.33v11.31a5.51,5.51,0,0,0,4,5.28v44.11H81.29V128.55a5.51,5.51,0,0,0,4-5.28V112A5.5,5.5,0,0,0,81.08,106.63Z"></path><path class="__2eSFk9X__cls-6 " d="M75.38,179.23H55a5.93,5.93,0,0,0-5.91,5.91,5.93,5.93,0,0,0-5.91-5.91H22.72a5.93,5.93,0,0,0-5.91,5.91v12.67H81.29V185.14A5.93,5.93,0,0,0,75.38,179.23Z"></path><line class="__2eSFk9X__cls-4 " x1="17.82" y1="192.69" x2="49.05" y2="192.69"></line><line class="__2eSFk9X__cls-4 " x1="49.56" y1="192.69" x2="80.78" y2="192.69"></line><path id="hand1" class="__2eSFk9X__cls-3 " d="M74.76,95h7.34a7.6,7.6,0,0,1,7.6,7.6v7.55a5,5,0,0,1-5,5H72.2a5,5,0,0,1-5-5v-7.55a7.6,7.6,0,0,1,7.6-7.6Z"></path><line class="__2eSFk9X__cls-4 " x1="72.89" y1="106.32" x2="72.89" y2="115.16"></line><path id="hand2" class="__2eSFk9X__cls-3 " d="M15.43,95H27.88a5,5,0,0,1,5,5v7.55a7.6,7.6,0,0,1-7.6,7.6H18a7.6,7.6,0,0,1-7.6-7.6V100a5,5,0,0,1,5-5Z" transform="translate(43.32 210.13) rotate(-180)"></path><line class="__2eSFk9X__cls-4 " x1="27.19" y1="106.32" x2="27.19" y2="115.16"></line><path class="__2eSFk9X__cls-4 " d="M40.48,72a10.16,10.16,0,0,1-14.34,0"></path><path class="__2eSFk9X__cls-4 " d="M58.64,72A10.15,10.15,0,0,0,73,72"></path><path class="__2eSFk9X__cls-7 " d="M49.54,38.54l0,0c-.37,0-7.32-.27-11.43,3.84s-3.83,11.46-3.83,11.46,5.83.31,10.09-2.69c.9,5.1,5.22,9,5.22,9s5.39-4.84,5.39-10.82S49.54,38.54,49.54,38.54Z"></path></g></g></svg>'},"0156":function(t,e,s){t.exports=s.p+"img/2.c29889d5.jpg"},"0213":function(t,e,s){var n={"./1.png":"549f","./10.png":"b9a4","./11.png":"8fb9","./2.png":"23d2","./3.png":"4a56","./4.png":"ec30","./5.png":"6e92","./6.png":"53e6","./7.png":"2a9d","./8.png":"f48b","./9.png":"1f2c"};function i(t){var e=a(t);return s(e)}function a(t){var e=n[t];if(!(e+1)){var s=new Error("Cannot find module '"+t+"'");throw s.code="MODULE_NOT_FOUND",s}return e}i.keys=function(){return Object.keys(n)},i.resolve=a,t.exports=i,i.id="0213"},"02c4":function(t,e,s){t.exports=s.p+"img/clubs.9b3eafa5.svg"},"038f":function(t,e,s){"use strict";var n=s("4457"),i=s.n(n);i.a},"03ed":function(t,e){t.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 110 110"><defs><style>.__Oc54sw-__cls-1{fill:#fcc;}.__Oc54sw-__cls-2,.__Oc54sw-__cls-3{fill:none;stroke-linecap:round;stroke-linejoin:round;stroke-width:2px;}.__Oc54sw-__cls-2{stroke:#000;}.__Oc54sw-__cls-3{stroke:#fff;}</style></defs><title>Artboard 50 copy 12</title><path class="__Oc54sw-__cls-1 " d="M14.29 66.56a9 9 0 0 0 9 9h2v-18.03h-2a9 9 0 0 0-9 9.03zm72.39-9.03h-2v18.06h2a9 9 0 0 0 9-9 9 9 0 0 0-9-9.06z"></path><path class="__Oc54sw-__cls-2 " d="M23.32 69.76a3.2 3.2 0 0 1-3.2-3.2 3.2 3.2 0 0 1 3.2-3.2m63.36 6.4a3.2 3.2 0 0 0 3.2-3.2 3.2 3.2 0 0 0-3.2-3.2"></path><path class="__Oc54sw-__cls-3 " d="M88.28 74.07v6.16"></path></svg>'},"056f":function(t,e,s){t.exports=s.p+"img/boss-angry.07403adc.svg"},"05f5":function(t,e,s){t.exports=s.p+"img/cup.4e7bb617.png"},"0605":function(t,e,s){},"069e":function(t,e){t.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 110 110"><title>Artboard 25</title><path d="M43.81 84.24a1 1 0 0 0-1 1v3.76a1 1 0 1 0 2 0v-3.76a1 1 0 0 0-1-1zM49.33 84.24a1 1 0 0 0-1 1v3.76a1 1 0 0 0 2 0v-3.76a1 1 0 0 0-1-1zM54.85 84.24a1 1 0 0 0-1 1v3.76a1 1 0 0 0 2 0v-3.76a1 1 0 0 0-1-1zM60.37 84.24a1 1 0 0 0-1 1v3.76a1 1 0 0 0 2 0v-3.76a1 1 0 0 0-1-1zM65.88 84.24a1 1 0 0 0-1 1v3.76a1 1 0 1 0 2 0v-3.76a1 1 0 0 0-1-1z"></path></svg>'},"06bc":function(t,e,s){t.exports=s.p+"img/Eyebrows_5.abfc5f99.svg"},"073a":function(t,e,s){t.exports=s.p+"img/cup_preview.0c6a99ff.png"},"07df":function(t,e){t.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 110 110"><defs><style>.__3S-uXm___cls-1{fill:#fcc;}.__3S-uXm___cls-2,.__3S-uXm___cls-3{fill:none;stroke-linecap:round;stroke-linejoin:round;stroke-width:2px;}.__3S-uXm___cls-2{stroke:#000;}.__3S-uXm___cls-3{stroke:#fff;}</style></defs><title>Artboard 50 copy 18</title><path class="__3S-uXm___cls-1 " d="M21.16 54.58a12 12 0 0 0-12 12 12 12 0 0 0 12 12h4.1v-24h-4.1zm67.68 0h-4.1v24h4.1a12 12 0 0 0 12-12 12 12 0 0 0-12-12z"></path><path class="__3S-uXm___cls-2 " d="M23.28 70.81a4.25 4.25 0 0 1-4.28-4.25 4.24 4.24 0 0 1 4.25-4.24m63.47 0a4.24 4.24 0 0 1 4.28 4.24 4.25 4.25 0 0 1-4.25 4.25"></path><path class="__3S-uXm___cls-3 " d="M21.16 74.07v8.25m67.68-8.25v8.25"></path></svg>'},"0805":function(t,e,s){var n={"./bag.svg":"e3da","./baloon.svg":"3a31","./board.svg":"8d86","./calendar.svg":"43a0","./clock.svg":"e60c","./cond.svg":"2dca","./cup.svg":"442d","./ficus.svg":"7190","./printer.svg":"be63","./sert.svg":"1cc0","./trash.svg":"8b28"};function i(t){var e=a(t);return s(e)}function a(t){var e=n[t];if(!(e+1)){var s=new Error("Cannot find module '"+t+"'");throw s.code="MODULE_NOT_FOUND",s}return e}i.keys=function(){return Object.keys(n)},i.resolve=a,t.exports=i,i.id="0805"},"08a5":function(t,e,s){"use strict";var n=s("8f28"),i=s.n(n);i.a},"099f":function(t,e,s){},"0a3b":function(t,e,s){t.exports=s.p+"img/Ears_9.7a07c1b9.svg"},"0aa2":function(t,e,s){t.exports=s.p+"img/coleso.69482106.svg"},"0b6f":function(t,e,s){t.exports=s.p+"img/diary_preview.04de7847.png"},"0bba":function(t,e,s){t.exports=s.p+"img/6.75e49d81.svg"},"0bd7":function(t,e,s){t.exports=s.p+"img/send.25e24c5e.svg"},"0cf5":function(t,e){t.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 110 110"><title>Artboard 27</title><path d="M86.88 73.39a1 1 0 0 0-1.12.64l-3.76 10.28a25.15 25.15 0 0 0-19 16.63h-16a25.15 25.15 0 0 0-19-16.63l-3.76-10.31a1 1 0 0 0-1.12-.64 1 1 0 0 0-.82 1v10.51a25 25 0 0 0 25 25h15.41a25 25 0 0 0 25-25v-10.49a1 1 0 0 0-.83-.99z"></path></svg>'},"0d77":function(t,e,s){"use strict";var n=s("caca"),i=s.n(n);i.a},"0d94":function(t,e){t.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 110 110"><defs><style>.__110y5J0__cls-1{fill:#fcc;}.__110y5J0__cls-2{fill:#fff;}.__110y5J0__cls-3{stroke:#000;stroke-linecap:round;stroke-linejoin:round;stroke-width:2px;}</style></defs><title>Artboard 50 copy 8</title><path class="__110y5J0__cls-1 " d="M86.69 42.22a31.72 31.72 0 0 0-31.69-31.67 31.71 31.71 0 0 0-31.72 31.74v34.9a31.72 31.72 0 0 0 31.74 31.68 31.71 31.71 0 0 0 31.7-31.74z"></path><circle class="__110y5J0__cls-2 " cx="69.52" cy="61.88" r="7.59"></circle><circle class="__110y5J0__cls-2 " cx="40.48" cy="61.9" r="7.59"></circle><circle class="__110y5J0__cls-3 " cx="40.48" cy="61.9" r="1.31"></circle><circle class="__110y5J0__cls-3 " cx="69.52" cy="61.88" r="1.31"></circle></svg>'},"0df3":function(t,e){t.exports='<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 65.39 34.91" style="enable-background:new 0 0 65.39 34.91;" xml:space="preserve"><style type="text/css"> .__fSYHE5x__st0{fill:#FFCCCC;} .__fSYHE5x__st1{fill:none;stroke:#000000;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;} </style><g><path class="__fSYHE5x__st0 " d="M9.78,34.91h45.83c5.4,0,9.78-4.38,9.78-9.78V14.74C65.39,6.6,58.79,0,50.65,0L14.74,0C6.6,0,0,6.6,0,14.74 l0,10.39C0,30.53,4.38,34.91,9.78,34.91z"></path><g><line class="__fSYHE5x__st1 " x1="48.39" y1="13.52" x2="48.39" y2="34.91"></line><line class="__fSYHE5x__st1 " x1="32.7" y1="13.52" x2="32.7" y2="34.91"></line><line class="__fSYHE5x__st1 " x1="17.01" y1="13.52" x2="17.01" y2="34.91"></line></g></g></svg>'},"0f21":function(t,e,s){"use strict";var n=s("3115"),i=s.n(n);i.a},"0f97":function(t,e,s){t.exports=s.p+"img/Head_4.9d4d773b.svg"},"10cd":function(t,e,s){t.exports=s.p+"img/sveta.4d13c7a5.png"},"111c":function(t,e,s){t.exports=s.p+"img/Glasses_3.7e312211.svg"},1152:function(t,e,s){"use strict";var n=s("2612"),i=s.n(n);i.a},"140f":function(t,e,s){t.exports=s.p+"img/Mustache_5.ab1bbba0.svg"},"14dd":function(t,e,s){t.exports=s.p+"img/8.f98d7d18.svg"},1542:function(t,e,s){},1622:function(t,e,s){"use strict";var n=s("b1b5"),i=s.n(n);i.a},"175b":function(t,e){t.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 110 110"><title>Artboard 12</title><path d="M55 9.55a32.53 32.53 0 0 0-25.7 12.45 1 1 0 0 0-.21.62v2.42a1 1 0 0 0 .29.71l6.23 6.25a1 1 0 0 0 .71.29 1 1 0 0 0 .68-.29l5.52-5.52 5.55 5.52a1 1 0 0 0 1.41 0l5.52-5.5 5.52 5.5a1 1 0 0 0 .71.29 1 1 0 0 0 .7-.29l5.53-5.52 5.54 5.52a1 1 0 0 0 .7.29 1 1 0 0 0 .71-.29l6.23-6.23a1 1 0 0 0 .29-.71v-2.4a1 1 0 0 0-.23-.66 32.54 32.54 0 0 0-25.7-12.45z"></path></svg>'},"185b":function(t,e,s){t.exports=s.p+"img/Beard_3.f7bda61b.svg"},"196a":function(t,e){t.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 110 110"><defs><style>.__1dI3vh4__cls-1{fill:none;stroke:#000;stroke-linecap:round;stroke-linejoin:round;stroke-width:2px;}</style></defs><title>Artboard 37</title><path class="__1dI3vh4__cls-1 " d="M50.48 92.23h9.04M55.19 61.89l-8.46 14.57 8.46 5.67"></path></svg>'},1982:function(t,e,s){t.exports=s.p+"img/2.02980575.svg"},"1a45":function(t,e,s){t.exports=s.p+"img/terms-of-action.0b1e70a7.svg"},"1cc0":function(t,e,s){t.exports=s.p+"img/sert.9fd1b2f9.svg"},"1cf6":function(t,e){t.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 110 110"><title>Artboard 44</title><path d="M44.2 50.21a1 1 0 0 1-.45-.1 8.59 8.59 0 0 0-6.71 0 1 1 0 1 1-.89-1.79 10.57 10.57 0 0 1 8.5 0 1 1 0 0 1-.45 1.89zM65.63 50.21a1 1 0 0 1-.44-1.89 10.54 10.54 0 0 1 8.49 0 1 1 0 1 1-.89 1.79 8.59 8.59 0 0 0-6.71 0 1 1 0 0 1-.45.1z"></path></svg>'},"1e85":function(t,e,s){},"1f2c":function(t,e,s){t.exports=s.p+"img/9.99b0ed0b.png"},2076:function(t,e){t.exports='<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 741.21 315.1" style="enable-background:new 0 0 741.21 315.1;" xml:space="preserve"><style type="text/css"> .__3bDZVmT__st0{fill:#FFFFFF;} .__3bDZVmT__st1{fill:@green;stroke:@green;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;} .__3bDZVmT__st2{fill:#FFCCCC;} .__3bDZVmT__st3{fill:none;stroke:#000000;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;} .__3bDZVmT__st4{fill:#999999;} .__3bDZVmT__st5{fill:#CC9966;} </style><path class="__3bDZVmT__st0 " d="M465.72,185.08H275.49V110.1c0-36.67,30-66.67,66.67-66.67h56.89c36.67,0,66.67,30,66.67,66.67L465.72,185.08 L465.72,185.08z"></path><polygon class="__3bDZVmT__st1 " points="386.69,188.01 370.6,197.94 354.52,188.01 370.6,78.51 370.6,78.51 "></polygon><path class="__3bDZVmT__st2 " d="M345.38,10.74v38.74L370.6,74.7l25.23-25.23V10.8c0-5.96-4.82-10.79-10.78-10.8L356.2-0.06 C350.23-0.08,345.38,4.76,345.38,10.74z"></path><rect x="362.64" y="81.8" transform="matrix(0.7071 -0.7071 0.7071 0.7071 45.0792 288.3421)" class="__3bDZVmT__st1 " width="15.91" height="15.91"></rect><g><line class="__3bDZVmT__st3 " x1="308.08" y1="100.36" x2="308.08" y2="168.02"></line><line class="__3bDZVmT__st3 " x1="433.13" y1="100.36" x2="433.13" y2="168.02"></line></g><rect x="238.46" y="168.02" class="__3bDZVmT__st4 " width="264.28" height="52.06"></rect><g><polygon class="__3bDZVmT__st4 " points="62.78,20.1 45.7,20.1 45.7,35 0,43.75 0,162.55 45.7,162.55 62.78,162.55 211.59,162.55 211.59,20.1 "></polygon><polygon class="__3bDZVmT__st4 " points="154.1,162.55 108.41,162.55 108.41,43.75 154.1,35 "></polygon><line class="__3bDZVmT__st3 " x1="191.78" y1="20.1" x2="191.78" y2="162.55"></line><g><line class="__3bDZVmT__st3 " x1="178.13" y1="104.84" x2="139.89" y2="104.84"></line><line class="__3bDZVmT__st3 " x1="178.13" y1="115.01" x2="139.89" y2="115.01"></line><line class="__3bDZVmT__st3 " x1="178.13" y1="125.18" x2="139.89" y2="125.18"></line><line class="__3bDZVmT__st3 " x1="178.13" y1="135.35" x2="139.89" y2="135.35"></line><line class="__3bDZVmT__st3 " x1="178.13" y1="145.52" x2="139.89" y2="145.52"></line></g><polygon points="164.04,162.55 51.6,162.55 40.42,178.55 40.42,185.1 175.22,185.1 175.22,178.55 "></polygon><line class="__3bDZVmT__st3 " x1="211.59" y1="162.55" x2="0" y2="162.55"></line><polyline class="__3bDZVmT__st3 " points="0,43.75 129.23,43.75 129.23,162.55 "></polyline><polyline class="__3bDZVmT__st3 " points="45.7,35 178.13,35 178.13,162.55 "></polyline></g><rect y="185.1" class="__3bDZVmT__st5 " width="741.21" height="130"></rect><line class="__3bDZVmT__st3 " x1="741.21" y1="220.08" x2="0" y2="220.08"></line><path d="M455.32,151.73h-11.8c-5.74,0-10.4,4.65-10.4,10.4v5.9h32.59v-5.9C465.72,156.38,461.07,151.73,455.32,151.73z"></path><path d="M297.68,151.73h-11.8c-5.74,0-10.4,4.65-10.4,10.4v5.9h32.59v-5.9C308.08,156.38,303.43,151.73,297.68,151.73z"></path></svg>'},2142:function(t,e,s){t.exports=s.p+"img/clock.5099a33b.svg"},2168:function(t,e,s){t.exports=s.p+"img/close-eye.ad268865.svg"},"22fe":function(t,e){t.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 110 110"><title>Artboard 18</title><path d="M80.92 7.21a4.46 4.46 0 0 0-7.87-2.88l-4.59 5.43v-2.54a4.46 4.46 0 0 0-7.87-2.89l-4.59 5.43v-2.54a4.46 4.46 0 0 0-7.86-2.89l-4.59 5.43v-2.54a4.47 4.47 0 0 0-7.87-2.89 28 28 0 0 0-6.59 17.67 32.37 32.37 0 0 0-6.79 19.91v15.69a1 1 0 0 0 .87 1 1 1 0 0 0 1.1-.75l7.78-31.17a4.41 4.41 0 0 1 4.28-3.34h37.34a4.41 4.41 0 0 1 4.33 3.33l7.78 31.17a1 1 0 0 0 1 .76h.13a1 1 0 0 0 .87-1v-15.69a32.33 32.33 0 0 0-6.87-19.91z"></path></svg>'},"23b5":function(t,e,s){t.exports=s.p+"img/3.ca2eb810.jpg"},"23d2":function(t,e,s){t.exports=s.p+"img/2.0e92c21a.png"},2612:function(t,e,s){},"266a":function(t,e,s){t.exports=s.p+"img/Beard_1.068d5c4a.svg"},2744:function(t,e){t.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 110 110"><title>Artboard 15</title><path d="M93.63 40.78c0-4.22-.79-18.53-9.72-27.45-10.39-10.4-27.61-9.76-28.91-9.7s-18.56-.63-28.91 9.7c-8.93 8.92-9.7 23.22-9.72 27.45v38.68a5.27 5.27 0 0 0 5.26 5.27h1.67a1 1 0 0 0 1-1v-40.49h12.82a25.61 25.61 0 0 0 25.35-22l7.7 14.28a14.69 14.69 0 0 0 13 7.76h2.53v40.45a1 1 0 0 0 1 1h1.67a5.27 5.27 0 0 0 5.26-5.27v-38.68z"></path></svg>'},"288c":function(t,e,s){},"290c":function(t,e){t.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 110 110"><title>Artboard 17</title><path d="M23 39.6a1 1 0 0 0 .53.15 1 1 0 0 0 .54-.16c2-1.26 11.39-15.74 15.64-22.37a13.3 13.3 0 0 0 3.88 7.71c3.38 3.17 8.54 4.27 15.34 3.28 13.07-1.92 26.74 11.12 26.88 11.26a1 1 0 0 0 1.14.17 1 1 0 0 0 .55-1 32.7 32.7 0 0 0-65 0 1 1 0 0 0 .5.96z"></path></svg>'},"2a9a":function(t,e){t.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 110 110"><title>Artboard 2</title><path d="M99.63 72.56c-1-26.68-2.43-67-44.46-67.11h-.17a.48.48 0 0 0-.12 0c-42.08.12-43.55 40.43-44.52 67.11-.18 4.44-.36 8.58-.65 12.12a10.27 10.27 0 0 0 10.23 11.18h3.34a1 1 0 0 0 1-1v-24.86a.57.57 0 0 0 0-.42v-6a1.7 1.7 0 0 0 0-.22 1.55 1.55 0 0 0 0-.21v-20.08a51.36 51.36 0 0 0 20.23-11.66c5.33-5 8.9-10.72 10.48-16.64 1.58 5.92 5.15 11.61 10.47 16.64a51.3 51.3 0 0 0 20.22 11.65v51.790000000000006a1 1 0 0 0 .29.71 1.05 1.05 0 0 0 .71.29h3.32a10.27 10.27 0 0 0 10.23-11.17c-.23-3.54-.44-7.68-.6-12.12z"></path></svg>'},"2a9d":function(t,e,s){t.exports=s.p+"img/7.96e321a6.png"},"2a9f":function(t,e,s){"use strict";var n=s("1e85"),i=s.n(n);i.a},"2bef":function(t,e,s){},"2d68":function(t,e){t.exports='<svg viewBox="0 0 110 110" xmlns="http://www.w3.org/2000/svg"><path d="M86.93 40.47a31.69 31.69 0 0 0-31.73-31.67 31.69 31.69 0 0 0-31.67 31.73v39.46a13.55 13.55 0 0 0 5.47 10.85l18.15 13.57a13.58 13.58 0 0 0 8.12 2.7 13.54 13.54 0 0 0 8.13-2.71l18.14-13.62a13.51 13.51 0 0 0 5.46-10.85z" fill="#fcc"></path><circle cx="69.76" cy="61.88" fill="#fff" r="7.59"></circle><circle cx="40.72" cy="61.9" fill="#fff" r="7.59"></circle><g stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"><circle cx="40.72" cy="61.9" r="1.31"></circle><circle cx="69.76" cy="61.88" r="1.31"></circle></g></svg>'},"2dae":function(t,e,s){t.exports=s.p+"img/Eyebrows_4.71f8b9f3.svg"},"2dca":function(t,e,s){t.exports=s.p+"img/cond.2d905a76.svg"},"2e20":function(t,e){t.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 110 110"><defs><style>.__1-nQtXQ__cls-1{fill:none;stroke:#000;stroke-linecap:round;stroke-linejoin:round;stroke-width:2px;}</style></defs><title>Artboard 47</title><path class="__1-nQtXQ__cls-1 " d="M64.18 72.16a8.12 8.12 0 0 0 5.82 2.39M42.28 72.19a8.74 8.74 0 0 1-6.17 2.56"></path></svg>'},"2f09":function(t,e,s){t.exports=s.p+"img/boss.4e3365f7.svg"},"2f69":function(t,e,s){"use strict";var n=s("74e5"),i=s.n(n);i.a},"2f73":function(t,e){t.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 110 110"><title>Artboard 8</title><path d="M75.7 7.94a14.45 14.45 0 0 0-7.14 1.88 14.46 14.46 0 0 0-13.5-9.12 14.65 14.65 0 0 0-13.52 9.18 14.55 14.55 0 0 0-17.84 22.58 32.89 32.89 0 0 0-1.39 9.47v15.69a1 1 0 0 0 .87 1 1 1 0 0 0 1.1-.76l5.39-21.57a14.49 14.49 0 0 0 4.63.71 14.65 14.65 0 0 0 13.52-9.18 14.49 14.49 0 0 0 14.38.06 14.44 14.44 0 0 0 13.5 9.12 14.3 14.3 0 0 0 4.65-.76l5.39 21.58a1 1 0 0 0 1 .76h.13a1 1 0 0 0 .87-1v-15.65a32.74 32.74 0 0 0-1.4-9.49 14.38 14.38 0 0 0 3.94-9.95 14.56 14.56 0 0 0-14.58-14.55z"></path></svg>'},"2f7d":function(t,e,s){t.exports=s.p+"img/sert.eb547a59.svg"},"2fe3":function(t,e,s){t.exports=s.p+"img/slide2.3ee09085.svg"},"30bb":function(t,e,s){t.exports=s.p+"img/calendar_preview.9ab6d500.png"},3115:function(t,e,s){},3174:function(t,e,s){t.exports=s.p+"img/printer.2dbf4997.svg"},"32c4":function(t,e){t.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 110 110"><title>Artboard 4</title><path d="M79.72 21c-.62-.72-1.27-1.4-1.91-2a1.24 1.24 0 0 0-.23-.17 32.84 32.84 0 0 0-20.21-9h-.25c-.8-.05-1.47-.07-2.18-.07a32.5 32.5 0 0 0-22.71 9.18l-.07.07c-.64.62-1.26 1.29-1.86 2a.86.86 0 0 0-.18.14c-15.22 15.08-21.27 39-20.53 56 .49 11.09 3.77 19.71 9.29 24.29.27.2.27.2 17.05.2a1 1 0 0 0 .94-.66 1 1 0 0 0-.3-1.11c-7.8-6.5-12.27-14.7-12.27-22.52v-19.15l8.29-33.2a24.2 24.2 0 0 0 23.62 18.4h25.79l3.7 14.8v19.15c0 7.82-4.47 16-12.27 22.48a1 1 0 0 0 .64 1.77c16.78 0 16.78 0 17.09-.23 5.48-4.55 8.76-13.17 9.25-24.26.74-17-5.31-40.92-20.53-56a.48.48 0 0 0-.16-.11z"></path></svg>'},3346:function(t,e){t.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 110 110"><title>Artboard 42</title><path d="M47.34 51.21h-9.27a2 2 0 0 1 0-4h9.27a2 2 0 0 1 0 4zM71.93 51.21h-9.27a2 2 0 0 1 0-4h9.27a2 2 0 0 1 0 4z"></path></svg>'},"355d":function(t,e){t.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 110 110"><defs><style>.__3Zq1KZl__cls-1{fill:none;stroke:#000;stroke-linecap:round;stroke-linejoin:round;stroke-width:2px;}</style></defs><title>Artboard 36</title><path class="__3Zq1KZl__cls-1 " d="M54.85 61.89l-14.13 20.24h14.13l-7.05 10.1h9.04"></path></svg>'},3593:function(t,e,s){var n={"./Bags_under_eyes_1.svg":"741e","./Bags_under_eyes_2.svg":"d55c","./Bags_under_eyes_3.svg":"46dc","./Bags_under_eyes_4.svg":"8870","./Beard_1.svg":"266a","./Beard_2.svg":"b187","./Beard_3.svg":"185b","./Beard_5.svg":"f563","./Ears_10.svg":"b9a7","./Ears_2.svg":"a8b6","./Ears_3.svg":"90b9","./Ears_4.svg":"e4e1","./Ears_5.svg":"862f","./Ears_7.svg":"acd5","./Ears_8.svg":"815d","./Ears_9.svg":"0a3b","./Eyebrows_1.svg":"6fac","./Eyebrows_2.svg":"9cf0","./Eyebrows_3.svg":"4483","./Eyebrows_4.svg":"2dae","./Eyebrows_5.svg":"06bc","./Eyebrows_6.svg":"4dbf","./Glasses_1.svg":"b3a0","./Glasses_2.svg":"8fc7","./Glasses_3.svg":"111c","./Glasses_4.svg":"8a25","./Glasses_5.svg":"e646","./Hairstyle_1.svg":"5b49","./Hairstyle_11.svg":"5f20","./Hairstyle_12.svg":"fa6c","./Hairstyle_13.svg":"b573","./Hairstyle_14.svg":"6a24","./Hairstyle_15.svg":"9483","./Hairstyle_16.svg":"4a8b","./Hairstyle_17.svg":"d6a9","./Hairstyle_18.svg":"e467","./Hairstyle_19.svg":"ea94","./Hairstyle_2.svg":"e64b","./Hairstyle_20.svg":"e355","./Hairstyle_4.svg":"6902","./Hairstyle_5.svg":"dee3","./Hairstyle_6.svg":"e153","./Hairstyle_7.svg":"4088","./Hairstyle_8.svg":"8a3b","./Hairstyle_9.svg":"afa1","./Head_1.svg":"5aa0","./Head_2.svg":"541b","./Head_3.svg":"c5ca","./Head_4.svg":"0f97","./Head_5.svg":"f080","./Mustache_1.svg":"76ab","./Mustache_3.svg":"ec90","./Mustache_4.svg":"3afd","./Mustache_5.svg":"140f","./Nose_&_Lips_1.svg":"6329","./Nose_&_Lips_10.svg":"95d8","./Nose_&_Lips_2.svg":"ba0d","./Nose_&_Lips_3.svg":"79c3","./Nose_&_Lips_4.svg":"52f7","./Nose_&_Lips_5.svg":"b15f","./Nose_&_Lips_6.svg":"db74","./Nose_&_Lips_7.svg":"638e","./Nose_&_Lips_8.svg":"4f14","./Nose_&_Lips_9.svg":"bb50"};function i(t){var e=a(t);return s(e)}function a(t){var e=n[t];if(!(e+1)){var s=new Error("Cannot find module '"+t+"'");throw s.code="MODULE_NOT_FOUND",s}return e}i.keys=function(){return Object.keys(n)},i.resolve=a,t.exports=i,i.id="3593"},3686:function(t,e,s){},"36ee":function(t,e,s){t.exports=s.p+"img/slide1.d4a57d5a.svg"},3798:function(t,e,s){},"3a10":function(t,e){t.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 110 110"><defs><style>.__2pW8RN4__cls-1{fill:none;stroke:#000;stroke-linecap:round;stroke-linejoin:round;stroke-width:2px;}</style></defs><title>Artboard 50 copy 4</title><path class="__2pW8RN4__cls-1 " d="M33.84 60.45h13.28a3.36 3.36 0 0 1 3.36 3.36v3.54a4.33 4.33 0 0 1-4.33 4.33h-11.34a4.33 4.33 0 0 1-4.33-4.33v-3.54a3.36 3.36 0 0 1 3.36-3.36zM62.88 60.45h13.28a3.36 3.36 0 0 1 3.36 3.36v3.54a4.33 4.33 0 0 1-4.33 4.33h-11.34a4.33 4.33 0 0 1-4.33-4.33v-3.54a3.36 3.36 0 0 1 3.36-3.36zM50.48 65.6a4.52 4.52 0 0 1 4.52-4.52 4.52 4.52 0 0 1 4.52 4.52"></path></svg>'},"3a31":function(t,e,s){t.exports=s.p+"img/baloon.c21f9a7f.svg"},"3afd":function(t,e,s){t.exports=s.p+"img/Mustache_4.adc29525.svg"},"3dc2":function(t,e){t.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 110 110"><title>Artboard 5</title><path d="M23.17 58.94a1 1 0 0 0 1.1-.75l8.32-33.31a24.19 24.19 0 0 0 23.62 18.39h25.79l3.72 14.92a1 1 0 0 0 1 .76h.13a1 1 0 0 0 .87-1v-15.69a32.44 32.44 0 0 0-9.89-23.43.89.89 0 0 0-.38-.23 32.59 32.59 0 0 0-8.56-5.87 14.49 14.49 0 0 0-28.78.45 33 33 0 0 0-7.92 5.67 32.45 32.45 0 0 0-9.86 23.4v15.75a1 1 0 0 0 .84.94z"></path></svg>'},4036:function(t,e,s){},4088:function(t,e,s){t.exports=s.p+"img/Hairstyle_7.bf2649ec.svg"},"408b":function(t,e,s){"use strict";s("6762"),s("2fdb");var n=s("efdb"),i=(s("ac6a"),s("456d"),s("96cf"),s("c964")),a=(s("cadf"),s("551c"),s("097d"),{1:"info_done",2:"scroll",3:"picture_search",4:"sleep",5:"fikus",6:"buhgalter",7:"chief",8:"kosinka",9:"povisyl",10:"courier",11:"closed"});s.d(e,"a",function(){return r}),s.d(e,"s",function(){return d}),s.d(e,"q",function(){return p}),s.d(e,"l",function(){return h}),s.d(e,"w",function(){return _}),s.d(e,"u",function(){return f}),s.d(e,"i",function(){return v}),s.d(e,"f",function(){return m}),s.d(e,"e",function(){return g}),s.d(e,"v",function(){return b}),s.d(e,"p",function(){return w}),s.d(e,"o",function(){return k}),s.d(e,"d",function(){return x}),s.d(e,"g",function(){return C}),s.d(e,"k",function(){return y}),s.d(e,"n",function(){return S}),s.d(e,"h",function(){return $}),s.d(e,"b",function(){return M}),s.d(e,"m",function(){return z}),s.d(e,"r",function(){return I}),s.d(e,"c",function(){return O}),s.d(e,"t",function(){return P}),s.d(e,"j",function(){return j});var r="https://rabotyaga.rocketbank.ru/api/",o=function(){var t=Object(i["a"])(regeneratorRuntime.mark(function t(e){var s,a,o,c=arguments;return regeneratorRuntime.wrap(function(t){while(1)switch(t.prev=t.next){case 0:return s=c.length>1&&void 0!==c[1]?c[1]:{},a=c.length>2&&void 0!==c[2]?c[2]:"POST",o=r+e,"get"===a.toLowerCase()&&Object.keys(s).length&&(o+=decodeURIComponent("?"+Object.keys(s).map(function(t){return t+"="+s[t]}).join("&"))),t.abrupt("return",fetch(o,Object(n["a"])({},"get"===a.toLowerCase()?{}:{body:JSON.stringify(s)},{headers:{Accept:"application/json","Content-Type":"application/json"},credentials:"include",method:a.toUpperCase()})).then(function(){var t=Object(i["a"])(regeneratorRuntime.mark(function t(e){var s;return regeneratorRuntime.wrap(function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,e.json();case 2:return s=t.sent,t.abrupt("return",Object(n["a"])({},s,{status:e.status}));case 4:case"end":return t.stop()}},t,this)}));return function(e){return t.apply(this,arguments)}}()).then(function(t){if(200!==t.status)throw new Error(t.err);return t}).then(function(t){if(t.err&&!t.additional_data)throw new Error(t.err);return t}).catch(function(t){if(!t.message.includes("Невалидно"))throw new Error(t.message)}));case 5:case"end":return t.stop()}},t,this)}));return function(e){return t.apply(this,arguments)}}(),c=function(t){window.fbq&&window.fbq("track","ViewContent",{content_type:t})},l=function(t){window.gtag&&window.gtag("event",t,{event_category:"button"})},u=function(t){c(t),l(t)},d=function(t,e){return o("auth/phone",{phone:t,key:e})},p=function(t,e){return o("auth/code",{code:t,query:e})},h=function(){localStorage.removeItem("first_name"),localStorage.removeItem("gender"),o("auth/logout",{},"get")},_=function(t){return o("user",{email:t.email,first_name:t.firstName,last_name:t.lastName,patronymic:t.middleName,birthday:t.dob,gender:parseInt(t.gender)},"PATCH")},f=function(t,e){return u("test_done"),o("user/test",{answers:t,custom_answers:e})},v=function(){return o("user",{},"get")},m=function(){return o("user/certificate",{},"get")},g=function(){return o("user/captcha",{},"get")},b=function(t){if([6,7,10,11].includes(t)){var e=a[t];u(e)}return o("quest/".concat(t,"/start"))},w=function(t){return o("quest/".concat(t,"/see"),{},"patch")},k=function(t,e){var s=a[t];return u(s),o("quest/".concat(t),{custom_quest_data:e},"patch")},x=function(t){return o("quest/solitaire/complete/".concat(t))},C=function(t){return o("ficus/".concat(t),{},"get")},y=function(t){return o("ficus/".concat(t),{},"post")},S=function(t){return u("avatar"),o("user/avatar",{avatar_data:t},"post")},$=function(){return o("public/prizes",{},"get")},M=function(){return o("user/fortune",{},"get")},z=function(){return o("user/fortune/roll",{},"get")},I=function(t){return o("user/fortune",t,"post")},O=function(){return o("user/second_prize",{},"get")},P=function(t){return o("user/second_prize",t,"post")},j=function(t){return o("auth/healthcheck",{phone:t},"get")}},4188:function(t,e,s){t.exports=s.p+"img/diary.581b6988.png"},"43a0":function(t,e,s){t.exports=s.p+"img/calendar.5708c8a7.svg"},"442d":function(t,e,s){t.exports=s.p+"img/cup.e8fea78c.svg"},4434:function(t,e,s){t.exports=s.p+"img/boss.5d8082a0.svg"},4457:function(t,e,s){},4483:function(t,e,s){t.exports=s.p+"img/Eyebrows_3.53434a6e.svg"},"46dc":function(t,e,s){t.exports=s.p+"img/Bags_under_eyes_3.88ee28c6.svg"},"4a56":function(t,e,s){t.exports=s.p+"img/3.a968b806.png"},"4a8b":function(t,e,s){t.exports=s.p+"img/Hairstyle_16.20bf5902.svg"},"4c22":function(t,e,s){"use strict";var n=s("8490"),i=s.n(n);i.a},"4c38":function(t,e,s){},"4cfa":function(t,e,s){t.exports=s.p+"img/calendar.98a41bf8.png"},"4d9b":function(t,e,s){"use strict";var n=s("bc06"),i=s.n(n);i.a},"4dbf":function(t,e,s){t.exports=s.p+"img/Eyebrows_6.7cee4250.svg"},"4e47":function(t,e,s){var n={"./bag.svg":"d239","./baloon.svg":"60b0","./board.svg":"ac6c","./calendar.svg":"d48c","./clock.svg":"2142","./cond.svg":"f6ef","./cup.svg":"9772","./printer.svg":"3174","./sert.svg":"2f7d","./trash.svg":"f725"};function i(t){var e=a(t);return s(e)}function a(t){var e=n[t];if(!(e+1)){var s=new Error("Cannot find module '"+t+"'");throw s.code="MODULE_NOT_FOUND",s}return e}i.keys=function(){return Object.keys(n)},i.resolve=a,t.exports=i,i.id="4e47"},"4f14":function(t,e,s){t.exports=s.p+"img/Nose_&_Lips_8.7e3cb14b.svg"},"4f8b":function(t,e,s){t.exports=s.p+"img/1.b0c69f7a.svg"},"502a":function(t,e,s){"use strict";var n=s("bb06"),i=s.n(n);i.a},"52bb":function(t,e,s){},"52f7":function(t,e,s){t.exports=s.p+"img/Nose_&_Lips_4.55b172a5.svg"},"533b":function(t,e){t.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 110 110"><title>Artboard 13</title><path d="M90.17 26.33a10.79 10.79 0 0 0-9.16-5 10.92 10.92 0 0 0-4.25-9.81l-.16-.12a11 11 0 0 0-11.43-1 10.83 10.83 0 0 0-9.91-6.65h-.26a10.9 10.9 0 0 0-10 6.52 10.94 10.94 0 0 0-11.46.86l-.14.1a10.9 10.9 0 0 0-4.32 9.77 10.76 10.76 0 0 0-9.08 4.77l-.14.22a10.91 10.91 0 0 0 17.76 12.64 10.88 10.88 0 0 0 8.62 4.3h.13a11 11 0 0 0 8.63-4.18 10.89 10.89 0 0 0 8.57 4.25h.14a10.92 10.92 0 0 0 8.59-4.21 10.91 10.91 0 0 0 18-12.35zm-43.8 15.6z"></path></svg>'},"53e6":function(t,e,s){t.exports=s.p+"img/6.058df14d.png"},5411:function(t,e,s){"use strict";var n=s("a35e"),i=s.n(n);i.a},"541b":function(t,e,s){t.exports=s.p+"img/Head_2.f61a7e58.svg"},"541d":function(t,e,s){"use strict";var n=s("a423"),i=s.n(n);i.a},"549f":function(t,e,s){t.exports=s.p+"img/1.8399d665.png"},"54e7":function(t,e){t.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 110 110"><title>Artboard 41</title><path d="M47.34 51.21h-13.72a2 2 0 1 1 0-4h13.72a2 2 0 0 1 0 4zM76.38 51.21h-13.72a2 2 0 0 1 0-4h13.72a2 2 0 0 1 0 4z"></path></svg>'},"56ba":function(t,e,s){t.exports=s.p+"img/5.b892f9fa.svg"},"56d7":function(t,e,s){"use strict";s.r(e);s("6762"),s("2fdb"),s("a481"),s("cadf"),s("551c"),s("097d");var n=s("2b0e"),i=s("8c4f"),a=(s("6d93"),function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{attrs:{id:"app"}},[s("RouterView")],1)}),r=[],o=(s("f5df"),s("cd9a"),{name:"app",data:function(){return{device:"desktop"}},created:function(){window.onresize=this.checkDevice},methods:{checkDevice:function(){this.device=window.innerWidth>=960?"desktop":"mobile"}},watch:{$route:function(t,e){if("desktop"!==this.device&&!e.hash.length){if(document.body.scrollTop)return document.body.scrollTop=0;if(document.documentElement.scrollTop)return document.body.scrollTop=0}}}}),c=o,l=(s("7c55"),s("2877")),u=Object(l["a"])(c,a,r,!1,null,null,null);u.options.__file="App.vue";var d=u.exports,p=s("63f8"),h=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:["head-balance","--state-"+t.gameState.toLowerCase()]},[t._m(0),"started"===t.gameState?[t.soundOn?n("img",{staticClass:"page__sound",attrs:{src:s("d0fc")},on:{click:t.pauseSound}}):n("img",{staticClass:"page__sound",attrs:{src:s("7a05")},on:{click:t.playSound}})]:t._e(),n("button",{staticClass:"page__close",attrs:{type:"button"},on:{click:function(e){t.$router.push("/")}}}),n("div",{staticClass:"page__main"},[n("div",{ref:"container",staticClass:"head-balance__container"},[n("div",[t._v(t._s(t.rotation))]),n("div",{directives:[{name:"show",rawName:"v-show",value:"started"!==t.gameState,expression:"gameState !== 'started'"}],staticClass:"page__info"},[n("h1",{directives:[{name:"show",rawName:"v-show",value:"lose"===t.gameState,expression:"gameState === 'lose'"}],staticClass:"page__title"},[t._v("\n          Не спа-а-а-ть!\n        ")]),n("h1",{directives:[{name:"show",rawName:"v-show",value:"win"===t.gameState,expression:"gameState === 'win'"}],staticClass:"page__title"},[t._v("Пронесло")]),n("h1",{directives:[{name:"show",rawName:"v-show",value:"preStart"===t.gameState,expression:"gameState === 'preStart'"}],staticClass:"page__title"},[t._v("Не спать!")]),n("p",{directives:[{name:"show",rawName:"v-show",value:"preStart"===t.gameState,expression:"gameState === 'preStart'"}],staticClass:"head-balance__text"},[t._v("\n          Ваша задача — не уснуть на глазах у босса. Удерживайте баланс головы кнопками слева и справа или стрелками на клавиатуре.\n        ")]),n("p",{directives:[{name:"show",rawName:"v-show",value:"lose"===t.gameState,expression:"gameState === 'lose'"}],staticClass:"head-balance__text"},[t._v("\n          Вы уснули и босс вас спалил, сосредоточьтесь.\n        ")]),n("p",{directives:[{name:"show",rawName:"v-show",value:"win"===t.gameState,expression:"gameState === 'win'"}],staticClass:"head-balance__text"},[t._v("\n          Теперь можно и вздремнуть. Держите кружку кофе.\n        ")]),n("Button",{directives:[{name:"show",rawName:"v-show",value:"preStart"===t.gameState,expression:"gameState === 'preStart'"}],staticClass:"head-balance__start",attrs:{type:"button"},on:{click:t.startGame}},[t._v("\n          Начать\n        ")]),n("Button",{directives:[{name:"show",rawName:"v-show",value:"lose"===t.gameState,expression:"gameState === 'lose'"}],attrs:{type:"button"},on:{click:t.restartGame}},[t._v("\n          Заново\n        ")]),n("Button",{directives:[{name:"show",rawName:"v-show",value:"win"===t.gameState,expression:"gameState === 'win'"}],attrs:{type:"button"},on:{click:function(e){t.$router.push("/")}}},[t._v("\n          Закрыть\n        ")])],1),n("div",{ref:"mainArea",staticClass:"head-balance__inner"},[n("div",{directives:[{name:"show",rawName:"v-show",value:"started"===t.gameState,expression:"gameState === 'started'"}],staticClass:"head-balance__time"},[t._v("\n          "+t._s(t.time)+"\n        ")]),n("div",{directives:[{name:"show",rawName:"v-show",value:"started"===t.gameState,expression:"gameState === 'started'"}],staticClass:"head-balance__indicator"},[n("div",{staticClass:"head-balance__indicator-limit",style:{backgroundColor:t.indicatorColor,width:t.indicatorWidth+"%"}}),n("div",{ref:"indicatorLine",staticClass:"head-balance__indicator-inner"},[n("div",{staticClass:"head-balance__indicator-point",style:{transform:"translateX("+t.indicatorPosition+"px)"}})])]),n("div",{staticClass:"head-balance__table"},[t.user?n("div",{class:["head-balance__table-svg","--color-"+(t.user.avatar_data?t.user.avatar_data.head_color:0)],domProps:{innerHTML:t._s(t.tableSvg)}}):t._e(),n("div",{class:["head-balance__cup",{"is-shown":"win"===t.gameState}]},[n("img",{attrs:{src:t.cupSvg,alt:""}})]),n("div",{staticClass:"head-balance__table-ratio"}),n("div",{staticClass:"head-balance__head"},[n("div",{staticClass:"head-balance__head-wrapper",style:{transform:"rotate("+t.position+"deg)"}},[t.user&&t.user.avatar_data?n("Ava",{attrs:{avaData:t.user.avatar_data,isSleepy:!0,eyelidScale:t.eyelidScale,isEyesClosed:"win"===t.gameState}}):t._e()],1)]),t.user?n("div",{class:["head-balance__hands","--color-"+(t.user.avatar_data?t.user.avatar_data.head_color:0)]},[n("div",{class:["head-balance__hand",{"is-pressed":t.isLeftHandPressed}],domProps:{innerHTML:t._s(t.handSvg)}}),n("div",{class:["head-balance__hand",{"is-pressed":t.isRightHandPressed}],domProps:{innerHTML:t._s(t.handSvg)}})]):t._e()]),n("div",{ref:"boss",class:["head-balance__boss","--step-"+t.bossStep,{"is-moving":"move"===t.bossState}],style:{transform:"translateX("+t.bossPosition+"px)"}},[n("div",{staticClass:"head-balance__boss-wrapper"},[n("div",{staticClass:"head-balance__boss-eyes"}),n("img",{attrs:{src:t.bossSvg,alt:""}}),n("img",{staticClass:"head-balance__boss-mustache",attrs:{src:t.bossMustacheSvg,alt:""}})])])])]),n("div",{staticClass:"head-balance__button"},[n("div",{staticClass:"head-balance__button-ratio"},[n("button",{class:{"is-pressed":t.isLeftHandPressed},on:{mousedown:t.pushLeftClick,touchstart:t.pushLeftClick}},[t._v("\n          Left\n        ")])])]),n("div",{staticClass:"head-balance__button"},[n("div",{staticClass:"head-balance__button-ratio"},[n("button",{class:{"is-pressed":t.isRightHandPressed},on:{mousedown:t.pushRightClick,touchstart:t.pushRightClick}},[t._v("\n          Right\n        ")])])])])],2)},_=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("audio",{attrs:{id:"sound"}},[n("source",{attrs:{src:s("82ad"),type:"audio/mpeg"}})])}],f=(s("ac6a"),s("456d"),s("7514"),s("a881")),v=s.n(f),m=s("2f09"),g=s.n(m),b=s("056f"),w=s.n(b),k=s("97b5"),x=s.n(k),C=s("5956"),y=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"ava"},[n("div",{class:["ava__ava"].concat(t.getColorClasses(t.avaData))},[n("div",{staticClass:"ava__ratio"}),t._l(Object.keys(t.avaLayers),function(e){return n("div",{key:e,class:["ava__svg","--"+e,"--"+e+"-"+t.avaData[e]],domProps:{innerHTML:t._s(t.layers[e][t.avaData[e]].inline)}})}),t.isSleepy?[n("div",{staticClass:"ava__eyelid",style:{transform:"scaleY("+(t.isEyesClosed?2:t.eyelidScale)+")"}}),n("div",{staticClass:"ava__eyelid",style:{transform:"scaleY("+(t.isEyesClosed?2:t.eyelidScale)+")"}}),n("img",{directives:[{name:"show",rawName:"v-show",value:t.isEyesClosed,expression:"isEyesClosed"}],staticClass:"ava__closed-eyes",attrs:{src:s("2168"),alt:""}})]:t._e(),t.blinking?[n("div",{staticClass:"ava__eyelid",style:{transform:"scaleY("+t.blinkScale+")"}}),n("div",{staticClass:"ava__eyelid",style:{transform:"scaleY("+t.blinkScale+")"}})]:t._e()],2)])},S=[],$=(s("fa83"),s("c5f6"),s("35eb")),M=function(t){var e={};return t.keys().forEach(function(s){e[/\.\/(.+)\.svg/gi.exec(s)[1]]=t(s)}),e},z=M(s("84b2")),I=M(s("3593")),O={head:[],hair:[],eyebrows:[],bags:[],nose:[],mustache:[],beard:[],glasses:[],ears:[]};Object.keys(z).forEach(function(t){var e=t.toLowerCase();Object.keys(O).some(function(s){return 0===e.indexOf(s)&&(O[s].push({inline:z[t],src:I[t]}),!0)})});var P=O,j={name:"Ava",props:{avaData:Object,isSleepy:{default:!1,type:Boolean},isEyesClosed:{default:!1,type:Boolean},eyelidScale:{default:0,type:Number},blinking:{type:Boolean,default:!1}},data:function(){return{layers:P,blinkScale:0}},computed:{avaLayers:function(){var t=this,e={};return Object.keys(this.avaData).forEach(function(s){s.includes("color")||null==t.avaData[s]||(e[s]=t.avaData[s])}),e}},mounted:function(){this.blinking&&(this.timeOut=setTimeout(this.blink,this.rnd(3e3,1e4)))},destroyed:function(){this.timeOut&&clearTimeout(this.timeOut),this.tw&&this.tw.stop()},methods:{getColorClasses:function(){var t=this,e=[];return Object.keys(this.avaData).forEach(function(s){s.includes("color")&&e.push("--"+s+"-"+t.avaData[s])}),e},rnd:function(t,e){return Math.floor(Math.random()*(t-e)+e)},blink:function(){var t=this;this.tw&&this.tw.stop(),this.tw=Object($["c"])({from:0,to:1.8,yoyo:1,duration:this.rnd(80,120)}).start({update:function(e){return t.blinkScale=e},complete:function(){clearTimeout(t.timeOut),t.timeOut=setTimeout(t.blink,t.rnd(5e3,3e4))}})}}},B=j,E=(s("1622"),Object(l["a"])(B,y,S,!1,null,null,null));E.options.__file="Ava.vue";var D=E.exports,L=s("408b"),T=-60,R=60,F=[255,255,255],N=[255,66,66],A=25,H=null,q=null,W=null,V=null,X=s("0df3"),U=s("de0e")("./table".concat(0===parseInt(localStorage.getItem("gender"))?"-female":"",".svg")),Y={name:"HeadBalance",props:{useAccelerometer:{default:!1,type:Boolean}},data:function(){return{position:.1,bossPosition:-999,timeLeft:0,isLeftHandPressed:!1,isRightHandPressed:!1,bossState:"move",bossStep:0,bossInfluence:0,gameState:"preStart",bossMustacheSvg:x.a,cupSvg:v.a,rotation:"",questId:4,user:{},handSvg:X,tableSvg:U,lastMove:null,moves:0,soundOn:!0}},components:{Button:C["a"],Ava:D},computed:{bossSvg:function(){return"lose"===this.gameState?w.a:g.a},indicatorWidth:function(){return 100-A*this.bossInfluence},indicatorPosition:function(){return this.$refs.indicatorLine?Math.round((this.position+R)/(2*R)*this.$refs.indicatorLine.offsetWidth):this.position},indicatorColor:function(){var t=Math.abs(this.position)/R,e=F.map(function(e,s){return e+(N[s]-e)*t});return"rgb(".concat(e.map(Math.round).join(","),")")},adjustedMinPosition:function(){return T/100*this.indicatorWidth},adjustedMaxPosition:function(){return R/100*this.indicatorWidth},eyelidScale:function(){return"started"===this.gameState?Math.abs(this.position/this.adjustedMaxPosition):0},time:function(){var t=Math.max(Math.floor(this.timeLeft/1e3/60),0),e=Math.max(Math.round(this.timeLeft/1e3%60),0);return t<10&&(t="0"+t),e<10&&(e="0"+e),"".concat(t,":").concat(e)}},methods:{playSound:function(){var t=document.getElementById("sound");t&&(t.play(),this.soundOn=!0)},stopSound:function(){var t=document.getElementById("sound");t&&(t.pause(),t.currentTime=0,this.soundOn=!1)},pauseSound:function(){var t=document.getElementById("sound");t&&(t.pause(),this.soundOn=!1)},startGame:function(){Object(L["v"])(this.questId),this.startTime=Date.now(),this.animationTime=this.startTime,this.gameState="started",this.headBalanceFrame(),this.moves=0,this.soundOn&&(this.stopSound(),this.playSound())},headBalanceFrame:function(){var t=this;Date.now()-this.startTime>=this.duration&&(this.gameState="win"),"started"===this.gameState&&window.requestAnimationFrame(function(){if("started"===t.gameState){t.updateSpeed();var e=Date.now(),s=t.position,n=.5+Math.abs(s)/R*3;t.speed=s>0?Math.abs(t.speed):-Math.abs(t.speed);var i=(e-t.animationTime)/2e3,a=(e-t.animationTime)/750;s+=t.speed*i*n,s+=t.userForce*t.userForceDirection,s>t.adjustedMaxPosition?(s=t.adjustedMaxPosition,t.gameState="lose"):s<t.adjustedMinPosition?(s=t.adjustedMinPosition,t.gameState="lose"):0===s&&(s=.1),t.position=parseFloat(s.toFixed(1)),0!==t.userForce&&(t.userForce=t.userForce-t.maxUserForce*a,t.userForce<0&&(t.userForce=0)),t.animationTime=e,t.setBossPosition(),t.timeLeft=t.duration-(e-t.startTime),t.headBalanceFrame()}})},pushLeftClick:function(){this.pushLeft(),W=setInterval(this.pushLeft,300)},pushRightClick:function(){this.pushRight(),V=setInterval(this.pushRight,300)},pushLeft:function(){var t=this;"started"===this.gameState&&(this.isLeftHandPressed=!0,clearTimeout(H),H=setTimeout(function(){return t.isLeftHandPressed=!1},100),this.userForce=this.maxUserForce,this.userForceDirection=-1,this.lastMove=new Date,this.moves++)},pushRight:function(){var t=this;"started"===this.gameState&&(this.isRightHandPressed=!0,clearTimeout(q),q=setTimeout(function(){return t.isRightHandPressed=!1},100),this.userForce=this.maxUserForce,this.userForceDirection=1,this.lastMove=new Date,this.moves++)},onKeyDown:function(t){"ArrowLeft"===t.key?(t.preventDefault(),this.pushLeft()):"ArrowRight"===t.key&&(t.preventDefault(),this.pushRight())},updateSpeed:function(){var t=(Date.now()-this.startTime)/this.duration;this.speed=Math.min(30+40*t,70),this.maxUserForce=.04*this.speed},setBossPosition:function(){var t=this.$refs.container.offsetWidth,e=Date.now()-this.startTime,s=e/this.duration*100,n=0,i=Object.keys(this.bossStops).find(function(t){if(s<t)return!0;n=t});if(i){var a=(s-n)/(i-n),r=this.bossStops[i].position-this.bossStops[n].position,o=t/100*(this.bossStops[n].position+r*a).toFixed(2);this.bossStops[i].step&&(this.bossStep=this.bossStops[i].step),this.bossPosition===o?this.bossState="stand":(this.bossState="move","influence"in this.bossStops[n]&&(this.currentBossInfluence=this.bossStops[n].influence),this.bossStops[i].influence&&(this.bossInfluence=this.currentBossInfluence+(this.bossStops[i].influence-this.currentBossInfluence)*a)),this.bossPosition=o}},onMouseUp:function(){clearInterval(W),clearInterval(V)},resetValues:function(){this.speed=50,this.userForce=0,this.maxUserForce=.04*this.speed,this.currentBossInfluence=0,this.position=.1,this.bossInfluence=0},restartGame:function(){this.resetValues(),this.startGame()},onLose:function(){this.bossPosition>.65*this.$refs.mainArea.offsetWidth&&(this.bossPosition=.65*this.$refs.mainArea.offsetWidth)},onWin:function(){this.position>0?this.position=R:this.position=T,new Date-this.lastMove<3757&&this.moves>26.5&&Object(L["o"])(this.questId)},handleOrientation:function(t){t.beta>0?this.pushRight():this.pushLeft()}},beforeMount:function(){var t=this;this.user=this.$root.user;var e=this.$root.$watch("user",function(s){e(),t.user=s})},mounted:function(){var t=this;this.resetValues(),this.duration=6e4,this.userForceDirection=1,this.bossStops={0:{position:-10,influence:0},3:{position:20},30:{position:20,step:1},33:{position:64,influence:.5},66:{position:64,step:2},69:{position:32,influence:1},92:{position:32,step:3},100:{position:110}},this.$watch("gameState",function(e){"lose"===e?t.onLose():"win"===e&&t.onWin()}),this.useAccelerometer&&window.addEventListener("deviceorientation",this.handleOrientation),window.addEventListener("keydown",this.onKeyDown),this.$el.addEventListener("mouseup",this.onMouseUp),this.$el.addEventListener("touchend",this.onMouseUp),this.$el.addEventListener("mouseleave",this.onMouseUp)},beforeDestroy:function(){this.gameState="lose",window.removeEventListener("keydown",this.onKeyDown),window.removeEventListener("deviceorientation",this.handleOrientation),this.$el.removeEventListener("mouseup",this.onMouseUp),this.$el.removeEventListener("touchend",this.onMouseUp),this.$el.removeEventListener("mouseleave",this.onMouseUp),this.stopSound()}},G=Y,Z=(s("fb27"),Object(l["a"])(G,h,_,!1,null,"5e1f4ab2",null));Z.options.__file="HeadBalance.vue";var Q=Z.exports,J=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{class:["solitaire",{"is-initialized":t.isInitialized}]},[s("div",{staticClass:"solitaire__bottom-item --score hidden-on-desktop"},[s("span",[t._v("Ходов")]),t._v(" "+t._s(t.turns.length)+"\n  ")]),s("button",{staticClass:"page__close",attrs:{type:"button"},on:{click:function(e){t.$router.push("home")}}}),s("div",{ref:"mainArea",staticClass:"solitaire__main-area"},[s("div",{staticClass:"solitaire__main-inner",style:{width:t.viewportWidth+"px",paddingLeft:t.gapWidth+"px"}},[s("div",{staticClass:"solitaire__top"},[s("div",{staticClass:"solitaire__initial",style:{width:t.cardWidth+"px",height:1.5*t.cardWidth+"px"}},t._l(t.initialCards,function(e){return s("SolitaireCard",{key:e.suit+e.value,ref:"initial",refInFor:!0,attrs:{isFlipped:!1,value:e.value,suit:e.suit,cardWidth:t.cardWidth}})})),s("SolitairePack",{ref:"pack",style:{width:3*t.cardWidth+2*t.gapWidth+"px"},attrs:{packCardsNumber:t.packCardsNumber,closedCards:t.packClosedCards,openedCards:t.packOpenedCards,cardWidth:t.cardWidth,gapWidth:t.gapWidth}}),s("SolitaireStacks",{ref:"stacks",attrs:{stacks:t.stacks,cardWidth:t.cardWidth,gapWidth:t.gapWidth},on:{stackDrop:t.onStackDrop}})],1),s("div",{staticClass:"solitaire__columns"},t._l(t.columns,function(e,n){return s("SolitaireColumn",{key:n,ref:"columns",refInFor:!0,attrs:{cards:e,cardWidth:t.cardWidth,gapWidth:t.gapWidth,columnIndex:n},on:{columnDrop:t.onColumnDrop}})}))])]),s("div",{staticClass:"solitaire__bottom",style:{width:t.viewportWidth+"px"}},[s("div",{staticClass:"solitaire__bottom-item"},[s("button",{staticClass:"solitaire__restart",on:{click:t.startNewGame}},[t._v("\n        Новая игра\n      ")])]),t._m(0),s("div",{staticClass:"solitaire__bottom-item --score"},[s("span",[t._v("Ходов")]),t._v(" "+t._s(t.turns.length)+"\n    ")])]),t.winPopup?s("div",{staticClass:"win-popup"},[s("div",{staticClass:"overlay"}),s("transition",{attrs:{name:"popup"}},[s("div",{staticClass:"modal"},[s("div",{staticClass:"main"},[s("h1",[t._v("Ура! Всё получилось")]),s("h2",[t._v("Ходов: "+t._s(t.turns.length))]),s("Button",{on:{click:t.saveResult}},[t._v("Продолжить")])],1)])])],1):t._e()])},K=[function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"solitaire__bottom-item"},[s("a",{attrs:{href:"/faq#solitaire",target:"_blank"}},[s("button",{staticClass:"solitaire__undo"},[t._v("Правила")])])])}],tt=(s("96cf"),s("c964")),et=(s("5df3"),s("1c4c"),s("d0ff")),st=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"solitaire-pack"},[s("div",{staticClass:"solitaire-pack__closed",style:{marginRight:t.gapWidth+"px",width:t.cardWidth+"px",height:1.5*t.cardWidth+"px"},on:{mousedown:function(e){t.$root.$emit("packClosedClick")}}},[t.closedCards.length?t._e():s("div",{staticClass:"solitaire-card --empty",style:{width:t.cardWidth+"px",height:1.5*t.cardWidth+"px"}}),t.closedCards.length?s("SolitaireCard",{attrs:{cardWidth:t.cardWidth,location:"closed"}}):t._e()],1),s("div",{ref:"opened",staticClass:"solitaire-pack__opened"},[s("div",{staticClass:"solitaire-card --empty",style:{width:t.cardWidth+"px",height:1.5*t.cardWidth+"px"}}),t.prev?s("SolitaireCard",{staticClass:"solitaire-pack__opened-card solitaire-pack__opened-prev",attrs:{value:t.prev.value,suit:t.prev.suit,isDraggable:!1,cardWidth:t.cardWidth,isFlipped:!0,location:"pack"}}):t._e(),t.shownCards.length?s("div",{staticClass:"solitaire-pack__opened-list"},t._l(t.shownCards,function(e,n){return s("SolitaireCard",{key:e.suit+e.value,staticClass:"solitaire-pack__opened-card",style:{marginRight:-.6*t.cardWidth+"px"},attrs:{value:e.value,suit:e.suit,isDraggable:n===t.shownCards.length-1,cardWidth:t.cardWidth,isFlipped:!0,location:"pack"}})})):t._e()],1)])},nt=[],it=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{class:["solitaire-card",t.suit?"--"+t.suit+"-"+t.value:"",{"is-flipped":t.isComputedFlipped,"is-dragging":t.isDragging,"has-child":!!t.child}],style:{zIndex:t.zIndex,width:t.cardWidth+"px",transform:t.isInitial||t.isSelected||t.isDragging?"translate3d("+t.translateX+"px, "+t.translateY+"px, 0px) "+(t.isSelected||t.isDragging?"scale(1.05,1.05)":""):"none"},on:{mousedown:t.onMouseDown,touchstart:t.onMouseDown}},[s("div",{staticClass:"solitaire-card__ratio"}),s("div",{staticClass:"solitaire-card__inner"},[s("div",{staticClass:"solitaire-card__front",style:{"font-size":t.cardWidth/4+"px"}},[t._v("\n      "+t._s(t.isComputedFlipped?t.displayValue:"")+"\n      "),s("img",{directives:[{name:"show",rawName:"v-show",value:t.isComputedFlipped,expression:"isComputedFlipped"}],attrs:{src:t.suitImage}}),s("div",{directives:[{name:"show",rawName:"v-show",value:t.isComputedFlipped,expression:"isComputedFlipped"}],staticClass:"solitaire-card__suit"},[s("img",{attrs:{src:t.suitImage}})])]),s("div",{staticClass:"solitaire-card__back"}),t.isComputedFlipped&&["column","card"].includes(t.location)?s("div",{staticClass:"solitaire-card__cards"},[t.child&&t.child.value?s("SolitaireCard",{staticClass:"solitaire-card__child",attrs:{isFlipped:!0,value:t.child.value,suit:t.child.suit,isDraggable:!0,childProp:t.child.child,column:t.column,cardWidth:t.cardWidth,location:"card"}}):t._e()],1):t._e()])])},at=[],rt=s("02c4"),ot=s.n(rt),ct=s("6c06"),lt=s.n(ct),ut=s("ee69"),dt=s.n(ut),pt=s("eb85"),ht=s.n(pt),_t={1:"Т",11:"В",12:"Д",13:"К"},ft=350,vt=5,mt=1,gt=500,bt={name:"SolitaireCard",props:{suit:String,value:Number,isFlipped:{type:Boolean,default:!1},location:String,column:Number,isDraggable:{type:Boolean,default:!1},childProp:Object,cardWidth:Number},data:function(){return{isDragging:!1,isSelected:!1,zIndex:mt,translateX:0,translateY:0,childData:null,isPointerEventsBlocked:!1,isInitialFlipped:!1,doubleClickTimer:null,isInitial:!1}},computed:{child:function(){return this.childData||this.childProp},isBlack:function(){return"clubs"===this.suit||"spades"===this.suit},isRed:function(){return!this.isBlack()},suitImage:function(){switch(this.suit){case"clubs":return ot.a;case"diamonds":return lt.a;case"hearts":return dt.a;case"spades":return ht.a}return"hearts"},displayValue:function(){return _t[this.value]||this.value},isComputedFlipped:function(){return this.isInitialFlipped||this.isFlipped}},components:{},methods:{onMouseDown:function(t){var e=this;t.preventDefault(),t.stopPropagation(),"closed"===this.location&&this.$root.$emit("packClosedClick"),this.isDraggable&&(this.isPointerEventsBlocked||(this.isSelected=!0,t.card=this,this.$root.$emit("cardDragStart",t),this.zIndex=vt),null===this.doubleClickTimer?this.doubleClickTimer=setTimeout(function(){e.doubleClickTimer=null},gt):(this.isSelected=!0,t.card=this,this.$root.$emit("cardDragStart",t),this.zIndex=vt,clearTimeout(this.doubleClickTimer),this.doubleClickTimer=null,this.onDoubleClick()))},onDragEnd:function(){var t=this;this.isSelected=!1,this.isDragging=!1,this.translateX=0,this.translateY=0,setTimeout(function(){t.onDragEndCompleted()},ft)},onDragging:function(t,e){this.translateX=t,this.translateY=e,this.isDragging=!0,this.isPointerEventsBlocked=!0},onDragEndCompleted:function(){this.zIndex=mt,this.isPointerEventsBlocked=!1},onDoubleClick:function(){"stack"===this.location||!this.isDraggable||this.child&&this.child.value||this.$root.$emit("cardDoubleClick",this)}}},wt=bt,kt=(s("c42b"),Object(l["a"])(wt,it,at,!1,null,null,null));kt.options.__file="SolitaireCard.vue";var xt=kt.exports,Ct={name:"SolitairePack",props:{closedCards:Array,openedCards:Array,cardWidth:Number,gapWidth:Number,packCardsNumber:Number},computed:{shownCards:function(){return this.openedCards?this.openedCards.slice(Math.max(0,this.openedCards.length-this.packCardsNumber)):[]},prev:function(){return this.openedCards[this.openedCards.length-this.packCardsNumber-1]?this.openedCards[this.openedCards.length-this.packCardsNumber-1]:null}},components:{SolitaireCard:xt}},yt=Ct,St=(s("5763"),Object(l["a"])(yt,st,nt,!1,null,null,null));St.options.__file="SolitairePack.vue";var $t=St.exports,Mt=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"solitaire-column",style:{width:t.cardWidth+"px",minHeight:1.5*t.cardWidth+"px",marginRight:t.gapWidth+"px"},on:{cardDrop:t.onColumnDrop}},[s("div",{staticClass:"solitaire-card --empty",style:{width:t.cardWidth+"px",height:1.5*t.cardWidth+"px"}}),t._l(t.cards,function(e,n){return s("SolitaireCard",{key:e.suit+e.value,staticClass:"solitaire-column__card",style:{marginBottom:1.4*-t.cardWidth+"px"},attrs:{isFlipped:n===t.cards.length-1,value:e.value,suit:e.suit,isDraggable:n===t.cards.length-1,location:"column",column:t.columnIndex,childProp:e.childData,cardWidth:t.cardWidth}})})],2)},zt=[],It={name:"SolitaireColumn",props:{cards:Array,columnIndex:Number,cardWidth:Number,gapWidth:Number},components:{SolitaireCard:xt},methods:{onColumnDrop:function(t){if(t.preventDefault(),t.columnIndex=this.columnIndex,this.$children.length){var e=this.$children[this.$children.length-1];while(e.$children.length)e=e.$children[0];t.columnCard=e}this.$emit("columnDrop",t)}}},Ot=It,Pt=(s("541d"),Object(l["a"])(Ot,Mt,zt,!1,null,"55e3b5ca",null));Pt.options.__file="SolitaireColumn.vue";var jt=Pt.exports,Bt=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"solitaire-stacks"},t._l(t.stacks,function(e,n){return s("div",{key:e+n,ref:"stack"+n,refInFor:!0,staticClass:"solitaire-stacks__stack",style:{width:t.cardWidth+"px",height:1.5*t.cardWidth+"px",marginLeft:t.gapWidth+"px"},on:{cardDrop:function(e){t.onDrop(n,e)}}},[e.length?s("div",t._l(e.slice(e.length-2),function(i,a){return s("SolitaireCard",{key:e+n+i.suit+i.value,attrs:{isFlipped:!0,value:i.value,suit:i.suit,isDraggable:1===e.length||1===a,cardWidth:t.cardWidth,column:n,location:"stack"}})})):t._e(),s("div",{staticClass:"solitaire-card --empty"})])}))},Et=[],Dt={name:"SolitaireStacks",data:function(){return{stackRef:[]}},props:{stacks:Array,cardWidth:Number,gapWidth:Number},computed:{},components:{SolitaireCard:xt},methods:{onDrop:function(t,e){e.stackIndex=t,this.$emit("stackDrop",e)}}},Lt=Dt,Tt=(s("4d9b"),Object(l["a"])(Lt,Bt,Et,!1,null,"61f0e76e",null));Tt.options.__file="SolitaireStacks.vue";var Rt=Tt.exports,Ft=s("cc06"),Nt=function(t){t=t.slice();for(var e=t.length-1;e>0;e--){var s=Math.floor(Math.random()*(e+1)),n=[t[s],t[e]];t[e]=n[0],t[s]=n[1]}return t},At=310,Ht=[],qt=["hearts","diamonds","clubs","spades"],Wt=Object(et["a"])(Array(13).keys()).map(function(t){return t+1}),Vt=200,Xt=7,Ut={name:"Solitaire",components:{Button:C["a"],SolitairePack:$t,SolitaireColumn:jt,SolitaireStacks:Rt,SolitaireCard:xt},data:function(){return{initialCards:[],packClosedCards:[],packOpenedCards:[],columns:[],stacks:[[],[],[],[]],draggingCard:{},cardWidth:Vt,gapWidth:15,isInitialized:!1,packCardsNumber:1,questId:8,turns:[],winPopup:!1}},computed:{viewportWidth:function(){return 7*this.cardWidth+8*this.gapWidth}},mounted:function(){this.startNewGame(),this.throttledResize=Object(Ft["a"])(300,this.onWindowResize),this.$root.$on("cardDragStart",this.onCardDragStart),this.$root.$on("cardDoubleClick",this.onCardDoubleClick),this.$root.$on("packClosedClick",this.onPackClosedClick),this.$el.addEventListener("mousemove",this.onDragOver),this.$el.addEventListener("touchmove",this.onDragOver),this.$el.addEventListener("mouseup",this.onTouchEnd),this.$el.addEventListener("touchend",this.onTouchEnd),this.$el.addEventListener("mouseleave",this.onCardDragEnd),window.addEventListener("resize",this.throttledResize,!1),this.onWindowResize()},beforeDestroy:function(){this.timeouts.forEach(function(t){return clearTimeout(t)}),window.removeEventListener("resize",this.throttledResize),this.$root.$off("cardDragStart",this.onCardDragStart),this.$root.$off("cardDoubleClick",this.onCardDoubleClick),this.$root.$off("packClosedClick",this.onPackClosedClick)},methods:{startNewGame:function(){var t=this;this.timeouts=[],this.initialCards.length||(this.isInitialized=!1,Object(L["v"])(this.questId),Ht=[],qt.forEach(function(t){Wt.forEach(function(e){Ht.push({suit:t,value:e})})}),Ht=Nt(Ht),this.initialCards=Ht.slice(),this.columns=Array.from({length:Xt}).map(function(){return[]}),this.stacks=[[],[],[],[]],this.turns=[],this.packOpenedCards=[],this.packClosedCards=[],this.timeouts.push(setTimeout(function(){t.animateInitial(function(){Ht.splice(Ht.length-28),t.isInitialized=!0,t.initialCards=[],t.packClosedCards=Ht,t.packOpenedCards=[]})},500)))},saveCurrentState:function(){var t=this,e={packClosedCards:this.packClosedCards.slice(),packOpenedCards:this.packOpenedCards.slice(),stacks:[this.stacks[0].slice(),this.stacks[1].slice(),this.stacks[2].slice(),this.stacks[3].slice()],columns:[]};this.columns.forEach(function(s,n){e.columns[n]={cards:s.slice()};var i=t.$refs.columns[n].$children[t.$refs.columns[n].$children.length-1];if(i){var a={value:i.value,suit:i.suit},r=a;while(i.$children[0])r.child={value:i.$children[0].value,suit:i.$children[0].suit},i=i.$children[0],r=r.child;e.columns[n].tree=a}else e.columns[n].tree={}}),this.turns.push(e),Object(L["o"])(this.questId)},applyState:function(t){var e=this;this.packClosedCards=t.packClosedCards,this.packOpenedCards=t.packOpenedCards,this.stacks=t.stacks,t.columns.forEach(function(t,s){e.columns[s]=t.cards,e.$refs.columns[s].$children.length&&(t.tree.child?e.$refs.columns[s].$children[e.$refs.columns[s].$children.length-1].childData=t.tree.child:e.$refs.columns[s].$children[e.$refs.columns[s].$children.length-1].childData=null)})},undo:function(){this.turns.length&&this.applyState(this.turns.pop())},onPackClosedClick:function(){var t=this;if(!this.packClosedCards.length)return this.saveCurrentState(),this.packClosedCards=this.packOpenedCards.reverse(),void(this.packOpenedCards=[]);this.initialCards.length||(this.initialCards=this.packClosedCards.slice(-this.packCardsNumber).reverse(),this.initialCards.forEach(function(e,s){t.timeouts.push(setTimeout(function(){var e=t.$refs.initial[s];if(e.isInitial=!0,e){var n=s*(.4*t.cardWidth);e.isInitialFlipped=!0,t.initialCards.length<t.packCardsNumber&&(n=(t.packCardsNumber-t.initialCards.length)*(.4*t.cardWidth)),t.animateCard(e,t.$refs.pack.$refs.opened,{x:n},function(){t.saveCurrentState(),t.packOpenedCards.push(t.packClosedCards.pop()),t.timeouts.push(setTimeout(function(){t.initialCards=[]},100))})}else t.initialCards=[]},50+100*s))}))},onDragOver:function(t){if(this.draggingCard.card&&!this.draggingCard.isAuto){var e=t.touches?t.touches[0].pageX:t.pageX,s=t.touches?t.touches[0].pageY:t.pageY;this.draggingCard.touchX=e,this.draggingCard.touchY=s,this.draggingCard.card.onDragging(e-this.draggingCard.origin.x,s-this.draggingCard.origin.y)}},onCardDragStart:function(t){this.draggingCard.isAuto||(this.draggingCard.card&&this.draggingCard.card!==t.card&&this.draggingCard.card.onDragEnd(),"column"in t.card&&this.$refs.columns.forEach(function(e,s){return e.$el.style.zIndex=s===t.card.column?"1":"0"}),this.draggingCard.card=t.card,t.touches?this.draggingCard.origin={x:t.touches[0].pageX,y:t.touches[0].pageY}:this.draggingCard.origin={x:t.pageX,y:t.pageY})},onCardDragEnd:function(){this.draggingCard.card&&!this.draggingCard.isAuto&&(this.draggingCard.card.onDragEnd(),this.draggingCard={})},onTouchEnd:function(){var t=this.draggingCard.touchX,e=this.draggingCard.touchY;if(t&&e){var s=this.draggingCard.card.$el.getBoundingClientRect(),n=document.elementFromPoint(s.x+s.width/2,s.y+s.height/2);this.$refs.columns.some(function(t){return!!t.$el.contains(n)&&(t.$el.dispatchEvent(new CustomEvent("cardDrop")),!0)});for(var i=0;i<4;i++)if(this.$refs.stacks.$refs["stack"+i][0].contains(n)){this.$refs.stacks.$refs["stack"+i][0].dispatchEvent(new Event("cardDrop"));break}}this.onCardDragEnd()},onStackDrop:function(t){var e=this.draggingCard.card;e.child&&e.child.value||!this.canDropToStack(t.stackIndex,e)||(this.saveCurrentState(),this.removeCard(e),this.stacks[t.stackIndex].push(e),this.onCardDragEnd(),this.checkWin())},onColumnDrop:function(t){var e=this.draggingCard.card,s=t.columnCard;if(e&&("column"!==e.location||t.columnIndex!==e.column)&&this.canDropToColumn(t.columnIndex,e)){this.saveCurrentState(),this.removeCard(e);var n=this.columns[t.columnIndex],i={value:e.value,suit:e.suit},a=i;while(e.$children[0])a.child={value:e.$children[0].value,suit:e.$children[0].suit},e=e.$children[0],a=a.child;n.length?s.childData=i:n.push({value:this.draggingCard.card.value,suit:this.draggingCard.card.suit,childData:i.child}),this.onCardDragEnd()}},onCardDoubleClick:function(t){var e=this;Array.from({length:4}).some(function(s,n){return!!e.canDropToStack(n,t)&&(e.draggingCard.isAuto=!0,e.animateCard(t,e.$refs.stacks.$refs["stack"+n][0],{},function(){e.onStackDrop({stackIndex:n}),e.draggingCard={}}),!0)})},removeCard:function(t){"column"===t.location?this.columns[t.column].pop():"card"===t.location?t.$parent.childData={}:"pack"===t.location?this.packOpenedCards.pop():"stack"===t.location&&this.stacks[t.column].pop()},canDropToColumn:function(t,e){var s=this.$refs.columns[t],n=s.$children[s.$children.length-1];if(!n&&13===e.value)return!0;if(!n)return!1;while(n.$children.length)n=n.$children[0];return!(n.value-e.value!==1||!(n.isBlack&&!e.isBlack||!n.isBlack&&e.isBlack))},canDropToStack:function(t,e){var s=this.stacks[t];if(!s.length&&1===e.value)return!0;if(s.length){var n=s[s.length-1];return e.value-n.value===1&&e.suit===n.suit}return!1},onWindowResize:function(){var t=window.innerWidth<window.screen.width?window.innerWidth:window.screen.width;t>=768&&(t-=130);var e=window.innerHeight<window.screen.height?window.innerHeight:window.screen.height;t*=.94,this.gapWidth=t<500||e<500?5:15,this.cardWidth=e<t?Math.min(e/7,Vt):Math.min((t-8*this.gapWidth)/7,Vt)},animateCard:function(t,e){var s=this,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=arguments.length>3?arguments[3]:void 0;n.x=n.x||0,n.y=n.y||0,window.requestAnimationFrame(function(){var a=e.getBoundingClientRect(),r=t.$el.getBoundingClientRect();t.zIndex=10,t.translateX=a.x+n.x-r.x,t.translateY=a.y+n.y-r.y,i&&s.timeouts.push(setTimeout(i,At))})},animateInitial:function(t){var e=this,s=0,n=0,i=function(n){for(var i=function(i){(function(s){e.timeouts.push(setTimeout(function(){var a=e.$refs.initial[e.$refs.initial.length-1-s];a.isInitial=!0,a&&(i===n&&(a.isInitialFlipped=!0),e.animateCard(a,e.$refs.columns[i].$el,{y:n*(e.cardWidth/10)},function(){a&&(a.zIndex=n+2,e.columns[i].push({suit:a.suit,value:a.value}),n===Xt-1&&n===i&&e.timeouts.push(setTimeout(t,At)))}))},75*s))})(s),s++},a=n;a<Xt;a++)i(a)};while(n<Xt)i(n),n++},saveResult:function(){var t=Object(tt["a"])(regeneratorRuntime.mark(function t(){return regeneratorRuntime.wrap(function(t){while(1)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,Object(L["d"])(this.questId);case 3:t.next=7;break;case 5:t.prev=5,t.t0=t["catch"](0);case 7:this.$router.push("home");case 8:case"end":return t.stop()}},t,this,[[0,5]])}));function e(){return t.apply(this,arguments)}return e}(),checkWin:function(){var t=Object(tt["a"])(regeneratorRuntime.mark(function t(){var e;return regeneratorRuntime.wrap(function(t){while(1)switch(t.prev=t.next){case 0:e=this.stacks.every(function(t){return t[t.length-1]&&13===t[t.length-1].value}),e&&(this.winPopup=!0);case 2:case"end":return t.stop()}},t,this)}));function e(){return t.apply(this,arguments)}return e}()}},Yt=Ut,Gt=(s("4c22"),Object(l["a"])(Yt,J,K,!1,null,"1d4ee5f1",null));Gt.options.__file="Solitaire.vue";var Zt=Gt.exports,Qt=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{class:["home"]},[s("div",{class:["home__main","--view-"+t.currentView]},[t.user?t._e():s("Loading"),t.user?s("div",{staticClass:"home__main-inner"},[s("div",{staticClass:"home__logo"}),s("div",{staticClass:"home__user"},[s("div",{staticClass:"home__user-avatar",on:{click:t.openUserPopup}},[s("Ava",{attrs:{avaData:t.user.avatar_data,blinking:!0}})],1),s("div",{staticClass:"home__user-info"},[s("div",{staticClass:"home__user-name"},[t._v(t._s(t.user.first_name))]),s("div",{staticClass:"home__user-position"},[t._v(t._s(t.user.career_guidance))])])]),s("div",{staticClass:"home__mobile-switcher"},[s("button",{class:{"is-active":"tasks"===t.currentView},on:{click:function(e){t.switchView("tasks")}}},[t._v("\n          Задания\n        ")]),s("button",{class:{"is-active":"workspace"===t.currentView},on:{click:function(e){t.switchView("workspace")}}},[t._v("\n          Кабинет\n        ")])]),s("div",{staticClass:"home__blocks"},[s("div",{class:["home__block",{"--active":t.user.points>=10}]},[s("div",[t._v("Призовой фонд")]),s("div",{staticClass:"home__block-score"},[t._v("\n            "+t._s(t.user.points>=10?"Вы участвуете":"ещё\n            "+(10-t.user.points)+" "+t.noun(10-t.user.points,"балл","балла","баллов"))+"\n          ")]),s("RouterLink",{attrs:{to:"prizes"}},[t._v("Посмотреть")])],1),s("div",{class:["home__block",{"--active":t.user.points>=30}]},[s("div",[t._v("Колесо фортуны")]),s("div",{staticClass:"home__block-score"},[t._v("\n            "+t._s(t.user.points>=30?"Вы участвуете":"ещё\n            "+(30-t.user.points)+" "+t.noun(30-t.user.points,"балл","балла","баллов"))+"\n          ")]),s("RouterLink",{attrs:{to:"fortune"}},[t._v("Посмотреть")])],1)]),t.user&&t.user.quests?s("TaskList",{staticClass:"home__tasks",attrs:{tasks:t.tasks,points:t.user.points,isClient:t.user&&!!t.getTaskBySlug("beclient")&&!!t.getTaskBySlug("beclient").completed_at},on:{click:t.onTaskClick}}):t._e(),t.user?s("Workspace",{attrs:{user:t.user},on:{itemClick:t.onItemClick,shadowClick:t.onShadowClick}}):t._e()],1):t._e()],1),s("div",{staticClass:"home__footer"},[s("Footer")],1),s("div",{ref:"popup",class:["home__popup",{"is-shown":t.isPopupShown,"is-hidden":t.isPopupHidden}]},[s("div",{staticClass:"home__popup-content"},["gift"===t.popup?s("Gift",{attrs:{task:t.getTaskBySlug("gift"),user:t.user},on:{close:t.onPopupClose}}):t._e(),"vacancy"===t.popup?s("Vacancy",{attrs:{user:t.user},on:{close:t.onPopupClose}}):t._e(),"security"===t.popup?s("Security",{attrs:{user:t.user},on:{close:t.onPopupClose}}):t._e(),"instagram"===t.popup?s("Instagram",{attrs:{user:t.user},on:{close:t.onPopupClose}}):t._e(),"scroll"===t.popup?s("ScrollTask",{attrs:{user:t.user},on:{close:t.onPopupClose}}):t._e(),"courier"===t.popup?s("MeetCourier",{attrs:{user:t.user},on:{close:t.onPopupClose}}):t._e(),"beclient"===t.popup?s("BeClient",{attrs:{user:t.user},on:{close:t.onPopupClose}}):t._e(),"solitaire"===t.popup?s("SolitairePopup",{attrs:{user:t.user},on:{close:t.onPopupClose}}):t._e()],1)]),s("div",{class:["home__item-popup",{"is-shown":t.isItemPopupShown,"is-hidden":t.isItemPopupHidden}]},[s("div",{staticClass:"home__item-overlay",on:{click:function(){t.closeItemPopup(t.itemToSee||t.popupItem)}}}),s("div",{class:["home__item-popup-modal",t.itemToSee||t.popupItem?"--"+(t.itemToSee||t.popupItem).config.slug:""]},[s("button",{staticClass:"page__close",on:{click:function(){t.closeItemPopup(t.itemToSee||t.popupItem)}}}),s("div",{staticClass:"home__item-popup-top"},[s("div",{staticClass:"home__item-popup-top-item",style:{"background-image":t.itemToSee||t.popupItem?"url("+t.items[t.getItemForQuest((t.itemToSee||t.popupItem).quest_id)]+")":""}},[9===(t.itemToSee||t.popupItem||{}).quest_id?s("div",{staticClass:"home__sert"},[s("button",{on:{click:t.downloadSert}},[t._v("Скачать сертификат")])]):t._e()])]),s("div",{staticClass:"home__item-popup-main"},[t.itemToSee?s("h1",{staticClass:"page__title"},[t._v("Победа!")]):t._e(),s("p",{domProps:{innerHTML:t._s(t.winText)}}),s("div",{staticClass:"row"},[s("button",{on:{click:function(){t.closeItemPopup(t.itemToSee||t.popupItem)}}},[t._v("\n            Продолжить\n          ")]),t.itemToSee&&t.itemToSee.config.isRepeatable||t.popupItem&&t.popupItem.config.isRepeatable?s("button",{on:{click:function(e){t.$router.push((t.itemToSee||t.popupItem).config.slug)}}},[t._v("\n            Еще раз\n          ")]):t._e()])])])]),t.isSecondPrizePopupShown?s("SecondPrizePopup",{on:{close:function(e){t.isSecondPrizePopupShown=!1}}}):t._e(),s("div",{class:["home__item-popup home__user-popup",{"is-shown":t.isUserPopupShown,"is-hidden":t.isUserPopupHidden}]},[s("div",{staticClass:"home__item-overlay home__user-overlay",on:{click:t.closeUserPopup}}),s("div",{staticClass:"home__user-popup-inner"},[s("div",{class:["home__item-popup-modal","home__user-popup-modal"]},[s("button",{staticClass:"page__close",on:{click:t.closeUserPopup}}),t.user&&t.user.avatar_data?s("div",{staticClass:"home__user"},[s("div",{staticClass:"home__user-avatar",on:{click:t.openUserPopup}},[s("Ava",{attrs:{avaData:t.user.avatar_data,blinking:!0}})],1),s("div",{staticClass:"home__user-info"},[s("div",{staticClass:"home__user-name"},[t._v(t._s(t.user.first_name))]),s("div",{staticClass:"home__user-position"},[t._v(t._s(t.user.career_guidance))])]),s("Button",{on:{click:t.logout}},[t._v("Выйти")])],1):t._e()])])])],1)},Jt=[],Kt=(s("55dd"),function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("Page",[s("div",{staticClass:"vacancy"},[s("h1",[t._v("Закрыть вакансию")]),s("div",{staticClass:"vacancy__welcome"},[s("p",[t._v("\n        "+t._s(t.user.first_name)+", Вы зарекомендовали себя как компетентный\n        и надежный сотрудник. Прошу Вас найти таких же талантливых\n        и одаренных ребят. Пригласите их в Рокетбанк.\n        За каждого Вы получите 5 баллов, а ваш будущий\n        коллега — 500 рокетрублей.\n      ")]),s("p",[t._v("\n        Чтобы ваши друзья не потерялись, приглашайте\n        их по специальной ссылке:\n      ")]),s("p",[s("a",{class:{"is-copied":t.isCopied}},[t._v(t._s(t.user.invite_url))]),s("Button",{attrs:{type:"button"},on:{click:t.copy}},[t._v(" "+t._s("COPY")+" ")])],1),s("p",[t._v("Удачи, я в Вас верю.")]),s("p",[t._v("\n        С уважением, "),s("br"),t._v("\n        Добропопко Иван Аристархович\n      ")])])])])}),te=[],ee=s("340b"),se=s("9f3f"),ne=s.n(se),ie=s("7a3b"),ae={props:{user:Object},methods:{close:function(){this.$emit("close")},fetchUser:function(){this.$root.$emit("fetchUser")}}},re={name:"Vacancy",mixins:[ae],components:{Button:C["a"],Page:ie["a"]},data:function(){return{startTime:"",isCopied:!1}},methods:{copy:function(){var t=this,e=document.createElement("textarea");e.value=this.user.invite_url||"Тут будет ссылка, но пока её нет",e.setAttribute("readonly",""),e.style.position="absolute",e.style.left="-9999px",document.body.appendChild(e),e.select(),document.execCommand("copy"),document.body.removeChild(e),this.isCopied=!0,setTimeout(function(){t.isCopied=!1},3e3)}},beforeMount:function(){this.startTime=Object(ee["format"])(new Date,"D MMMM YYYY г., HH:mm",{locale:ne.a})}},oe=re,ce=(s("fd70"),Object(l["a"])(oe,Kt,te,!1,null,null,null));ce.options.__file="Vacancy.vue";var le=ce.exports,ue=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("Page",{attrs:{withHead:!t.isStarted}},[s("div",{staticClass:"security"},[t.isStarted?s("div",{staticClass:"security__content"},[s("div",{staticClass:"security__content-head"},[t._v(t._s(t.currentQuestion.question))]),s("div",{staticClass:"security__items"},t._l(t.currentQuestion.pictures,function(e,n){return s("div",{key:n,staticClass:"security__item",class:[{"is-checked":e.isChecked}],on:{click:function(e){t.toggleItem(n)}}},[s("div",{staticClass:"security__item-ratio"}),s("img",{attrs:{src:e.url,alt:""}})])})),s("div",{staticClass:"security__error"},[t._v(t._s(t.error))]),s("div",{staticClass:"security__bottom"},[s("Button",{attrs:{disabled:!t.isValid},on:{click:t.check}},[t._v("Подтвердить")])],1)]):s("div",{staticClass:"security__info"},[s("h1",[t._v("Инфо"),s("span",[t._v("рмационная")]),t._v(" безопасность")]),s("p",[t._v("\n        Наши компьютерщики подготовили для Вас обучающее задание, которое\n        поможет Вам увереннее чувствовать себя в глобальной паутине.\n        Ознакомьтесь с ним и постарайтесь справиться побыстрее:\n        безопасность превыше всего!\n      ")]),s("Button",{on:{click:t.start}},[t._v("Начать")])],1)])])},de=[],pe={name:"Security",mixins:[ae],data:function(){return{questId:1,isStarted:!1,currentIndex:0,questions:[],error:""}},computed:{isValid:function(){return!!this.currentQuestion&&this.currentQuestion.pictures.some(function(t){return t.isChecked})},currentQuestion:function(){return this.questions?this.questions[this.currentIndex]:{}},answers:function(){return this.questions?this.questions.map(function(t){return t.pictures.filter(function(t){return t.isChecked}).map(function(t){return t.url})}):[]}},components:{Page:ie["a"],Button:C["a"]},methods:{check:function(){var t=Object(tt["a"])(regeneratorRuntime.mark(function t(){var e,s;return regeneratorRuntime.wrap(function(t){while(1)switch(t.prev=t.next){case 0:return this.error="",t.prev=1,t.next=4,Object(L["o"])(this.questId,this.answers);case 4:e=t.sent,t.next=11;break;case 7:return t.prev=7,t.t0=t["catch"](1),this.error="Выберите все изображения",t.abrupt("return");case 11:s=e.additional_data,e.completed?(this.fetchUser(),this.$emit("close")):!0===s.answers[this.currentIndex]?(this.error="",this.currentIndex++):this.error="Выберите все изображения";case 13:case"end":return t.stop()}},t,this,[[1,7]])}));function e(){return t.apply(this,arguments)}return e}(),start:function(){var t=Object(tt["a"])(regeneratorRuntime.mark(function t(){return regeneratorRuntime.wrap(function(t){while(1)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,Object(L["v"])(this.questId);case 3:t.next=7;break;case 5:t.prev=5,t.t0=t["catch"](0);case 7:this.isStarted=!0;case 8:case"end":return t.stop()}},t,this,[[0,5]])}));function e(){return t.apply(this,arguments)}return e}(),checkStartedQuest:function(){var t=Object(tt["a"])(regeneratorRuntime.mark(function t(){var e;return regeneratorRuntime.wrap(function(t){while(1)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,Object(L["e"])(this.questId);case 3:e=t.sent,this.questions=e.captcha_quest_data.map(function(t){return t.pictures=t.pictures.map(function(t){return{url:t,isChecked:!1}}),t}),t.next=9;break;case 7:t.prev=7,t.t0=t["catch"](0);case 9:case"end":return t.stop()}},t,this,[[0,7]])}));function e(){return t.apply(this,arguments)}return e}(),toggleItem:function(t){this.error="",this.currentQuestion.pictures[t].isChecked=!this.currentQuestion.pictures[t].isChecked}},beforeMount:function(){this.checkStartedQuest()}},he=pe,_e=(s("896f"),Object(l["a"])(he,ue,de,!1,null,null,null));_e.options.__file="Security.vue";var fe=_e.exports,ve=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"task-list"},[s("div",{staticClass:"task-list__header"},[s("div",{staticClass:"task-list__progress",style:{width:t.progress+"%"}}),s("span",{staticClass:"task-list__header-points"},[t._v("\n      "+t._s(t.points)+" "+t._s(t.pointsText)+"\n      "),s("span",{staticClass:"task-list__header-total"},[t._v("из "+t._s(t.maxPoints))])])]),s("div",{staticClass:"task-list__list"},[s("div",{staticClass:"task-list__sublist"},t._l(t.tasks.filter(function(t){return 0===t.required_points&&!t.client_required}),function(e){return s("div",{key:e.slug},[s("TaskItem",{attrs:{task:e},on:{click:function(s){t.onClick(s,e)}}})],1)})),s("div",{staticClass:"task-list__sublist"},[t.points<10?s("div",{staticClass:"task-list__lock"},[t._v("\n        Наберите 10 баллов, чтобы"),s("br"),t._v("\n        открыть новые задания\n      ")]):t._e(),t._l(t.tasks.filter(function(t){return 10===t.required_points&&!t.client_required}),function(e){return s("div",{key:e.slug},[s("TaskItem",{attrs:{task:e},on:{click:function(s){t.onClick(s,e)}}})],1)}),s("div",{staticClass:"task-list__sublist"},[t.isClient?t._e():s("div",{staticClass:"task-list__lock --client"},[t._v("\n          Выполните «Заглянуть"),s("br"),t._v("\n          в бухгалтерию», чтобы"),s("br"),t._v("\n          открыть новые задания\n        ")]),t._l(t.tasks.filter(function(t){return t.client_required}),function(e){return s("div",{key:e.slug},[s("TaskItem",{attrs:{task:e},on:{click:function(s){t.onClick(s,e)}}})],1)})],2)],2)])])},me=[],ge=s("9610"),be=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:["task-item",{"is-coming":t.task.config&&t.task.config.isComing,"is-completed":t.task.completed_at}],on:{click:function(e){t.$emit("click",e)}}},[n("a",{attrs:{href:"#"}},[t._v(t._s(t.task.quest_name))]),t.task.has_stars?n("div",{staticClass:"task-item__stars"},[n("div",{class:["task-item__star",{"--active":t.task.quest_score>=1}]}),n("div",{class:["task-item__star",{"--active":t.task.quest_score>=2}]}),n("div",{class:["task-item__star",{"--active":t.task.quest_score>=3}]})]):t._e(),t.task.completed_at?n("img",{attrs:{src:s("ea3b"),alt:"Пройдено"}}):n("span",{staticClass:"task-item__points"},[t._v("+"+t._s(t.task.points)+" "+t._s(t.points))])])},we=[],ke={name:"TaskItem",props:{task:Object},data:function(){return{}},computed:{points:function(){return Object(ge["noun"])(this.task.points,"балл","балла","баллов")}},components:{},methods:{},mounted:function(){}},xe=ke,Ce=(s("7ae9"),Object(l["a"])(xe,be,we,!1,null,null,null));Ce.options.__file="TaskItem.vue";var ye=Ce.exports,Se=40,$e={name:"TaskList",props:{tasks:Array,points:{type:Number,default:0},isClient:Boolean},data:function(){return{maxPoints:Se}},computed:{progress:function(){return this.points/Se*100},pointsText:function(){return Object(ge["noun"])(this.points,"балл","балла","баллов")}},components:{TaskItem:ye},methods:{onClick:function(t,e){t.preventDefault(),this.$emit("click",e)}},mounted:function(){}},Me=$e,ze=(s("baa8"),Object(l["a"])(Me,ve,me,!1,null,null,null));ze.options.__file="TaskList.vue";var Ie=ze.exports,Oe=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("Page",[s("h1",[t._v("Мастер скролла")]),s("p",{staticClass:"scroll-task"},[t._v("\n    СРОЧНО!!! Надо активировать нашу ленту, нажав на кнопку\n    «Активировать». Она в самом первом посте. А так как\n    Вы — мастер скролла лент, то это не должно составить\n    особого труда. Удачи :-)\n  ")]),s("Button",{on:{click:t.start}},[t._v("Начать")])],1)},Pe=[],je={name:"ScrollTask",mixins:[ae],data:function(){return{questId:2}},computed:{},components:{Page:ie["a"],Button:C["a"]},methods:{start:function(){var t=Object(tt["a"])(regeneratorRuntime.mark(function t(){return regeneratorRuntime.wrap(function(t){while(1)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,Object(L["v"])(this.questId);case 3:t.sent,t.next=9;break;case 6:t.prev=6,t.t0=t["catch"](0),console.error("start quest "+this.questId+" Error:",t.t0);case 9:this.$router.push("/scroll");case 10:case"end":return t.stop()}},t,this,[[0,6]])}));function e(){return t.apply(this,arguments)}return e}()}},Be=je,Ee=(s("d3d6"),Object(l["a"])(Be,Oe,Pe,!1,null,null,null));Ee.options.__file="ScrollTask.vue";var De=Ee.exports,Le=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("Page",{attrs:{withHead:t.step<0}},[s("div",{staticClass:"instagram"},[s("h1",{class:{"--welcome":t.step<0}},[t._v("Поиск по картинке")]),s("div",{staticClass:"instagram__welcome"},[t.step<0?s("p",[t._v("\n        Предыдущий сотрудник спрятал пароли в постах инстаграма\n        Рокетбанка. У нас остались лишь вспомогательные вопросы. Для\n        того, чтобы выполнить задание: найдите пароли и "),s("a",{attrs:{target:"_blank",href:"https://www.instagram.com/rocketbank/"}},[t._v("подпишитесь на инстаграм Рокетбанка")]),t._v(".\n      ")]):s("p",[t._v("\n        Вот\n        "),s("a",{attrs:{target:"_blank",href:"https://www.instagram.com/rocketbank/"}},[t._v("ссылка на инстаграм Рокетбанка")]),t._v(", не забудь подписаться.\n      ")])]),t._l(t.userQuestions,function(e,n){return s("div",{directives:[{name:"show",rawName:"v-show",value:t.step>=0,expression:"step >= 0"}],key:e.text,ref:"question",refInFor:!0,staticClass:"prof-test__question instagram__question"},[s("span",{domProps:{innerHTML:t._s(e.text)}}),s("div",{class:["instagram__answer",{"is-error":!1===t.results[n],"is-correct":t.results[n]}]},[s("input",{directives:[{name:"model",rawName:"v-model",value:t.answers[n],expression:"answers[i]"}],staticClass:"prof-test__input instagram__input",attrs:{placeholder:"Введите ответ",type:"text",maxlength:"255"},domProps:{value:t.answers[n]},on:{input:[function(e){e.target.composing||t.$set(t.answers,n,e.target.value)},function(){return t.onCustomInput(n)}]}})])])}),s("div",{staticClass:"prof-test__error"},[t._v(t._s(t.error))]),s("div",{class:["prof-test__bottom",{"--welcome":t.step<0}]},[s("Button",{attrs:{type:"submit",disabled:t.step>0&&t.errors.filter(function(t){return t}).length},on:{click:t.submit}},[t._v("\n        "+t._s(t.step<0?"Начать":"Отправить")+"\n      ")])],1)],2)])},Te=[],Re=function(t){switch(t){case 1:return[0,1,2];case 2:return[3,4,5];case 3:return[6,7,8];case 4:return[7,4,1];default:return[6,5,0]}},Fe=[{text:"Какая группа оставила свой след на&nbsp;Стене? Джон Сноу в помощь."},{text:"Кто рассказывал о&nbsp;машинном обучении и&nbsp;хот-догах?"},{text:"Сколько задействовано конфеток М&amp;M&rsquo;s в&nbsp;тайном послании?"},{text:"Продолжите фразу: &laquo;Грязь, балет и ...&raquo;"},{text:"Сколько желтых зонтов в&nbsp;наших постах?"},{text:"Капитан какой команды КВН является нашим клиентом?"},{text:"Сколько перстней у&nbsp;маскота Жары&nbsp;2?"},{text:"Нам пришла открытка из&nbsp;Лас-Вегаса, от&nbsp;нашего клиента. Как его зовут?"},{text:"В&nbsp;одну из&nbsp;зим мы&nbsp;разыгрывали свитера с&nbsp;оленями. Сколько оленей изображено в&nbsp;предновогоднем посте?"}],Ne={name:"ProfTest",components:{Page:ie["a"],Button:C["a"]},mixins:[ae],data:function(){return{questId:3,step:-1,startTime:"",answers:["","",""],error:"",results:[]}},computed:{userQuestions:function(){var t=Re(this.user.custom_quest_type);return[Fe[t[0]],Fe[t[1]],Fe[t[2]]]}},methods:{submit:function(){var t=Object(tt["a"])(regeneratorRuntime.mark(function t(){var e,s;return regeneratorRuntime.wrap(function(t){while(1)switch(t.prev=t.next){case 0:if(!(this.step<0)){t.next=13;break}return t.prev=1,t.next=4,Object(L["v"])(this.questId);case 4:t.sent,t.next=10;break;case 7:t.prev=7,t.t0=t["catch"](1),console.error("start quest "+this.questId+" Error:",t.t0);case 10:this.step++,t.next=29;break;case 13:if(this.results=[],this.error=null,this.validate(),!this.error){t.next=18;break}return t.abrupt("return");case 18:return t.prev=18,e=this.answers.map(function(t){return t.toLowerCase()}),t.next=22,Object(L["o"])(this.questId,e);case 22:s=t.sent,s.additional_data?this.results=s.additional_data.answers:(this.results=[!0,!0,!0],this.fetchUser(),this.$emit("close")),t.next=29;break;case 26:t.prev=26,t.t1=t["catch"](18),console.error("score quest "+this.questId+" Error:",t.t1);case 29:case"end":return t.stop()}},t,this,[[1,7],[18,26]])}));function e(){return t.apply(this,arguments)}return e}(),onCustomInput:function(t){this.results[t]||(this.results[t]=null),this.error&&this.validate()},validate:function(){this.answers.join("")?this.error="":this.error="Напишите что-нибудь"}}},Ae=Ne,He=(s("bebe"),Object(l["a"])(Ae,Le,Te,!1,null,null,null));He.options.__file="Instagram.vue";var qe=He.exports,We=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("Page",[s("div",{staticClass:"meet-courier"},[s("h1",[t._v("Встреча курьера")]),s("p",[t._v(t._s(t.user.first_name)+", СРОЧНОЕ СООБЩЕНИЕ")]),s("p",[t._v("\n      Через 15 часов на вашу почту придет ВАЖНОЕ сообщение,\n      в котором будет содержаться персонально сгенерированная ссылка,\n      действующая ОГРАНИЧЕННЫЙ период времени. Если Вы не перейдете\n      по ней вовремя, то она перестанет действовать, и ваше\n      задание будет считаться проваленным.\n    ")]),s("Button",{on:{click:t.go}},[t._v("Начать")])],1)])},Ve=[],Xe={name:"MeetCourier",mixins:[ae],data:function(){return{questId:10}},methods:{go:function(){Object(L["v"])(this.questId),this.close()}},components:{Page:ie["a"],Button:C["a"]}},Ue=Xe,Ye=(s("cba5"),Object(l["a"])(Ue,We,Ve,!1,null,null,null));Ye.options.__file="MeetCourier.vue";var Ge=Ye.exports,Ze=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:["gift",{"is-not-started":!t.task.started_at,"is-mounted":t.isMounted}]},[n("div",{staticClass:"page__overlay",on:{click:t.close}}),n("div",{staticClass:"gift__sidebar"},[n("div",{staticClass:"page__head"},[t._m(0),t._m(1),n("button",{staticClass:"page__close",on:{click:t.close}})]),n("div",{staticClass:"gift__messages"},[n("div",{staticClass:"gift__today"},[t._v("Today")]),n("div",{staticClass:"gift__message"},[n("div",{staticClass:"gift__message-content"},[t._m(2),t._m(3),n("p",[t._v("Привет, "+t._s(t.user.first_name)+"!")]),n("time",[t._v(t._s(t.time()))])]),n("div",{staticClass:"gift__message-content"},[n("p",[t._v("\n            У нашего шефа скоро день рождения! В честь этого, все\n            скидываются по 200 рублей. Для этого необходимо совершить любую\n            покупку на 200 рублей ровно, по карте Рокетбанка. Оплата через\n            мобильное приложение Рокетбанка не считается :)\n          ")]),n("time",[t._v(t._s(t.time()))])])]),t.task.started_at?n("div",{class:["gift__message --my-message",{"is-mounted":t.isOkShown}]},[n("div",{staticClass:"gift__message-content"},[n("div",{staticClass:"gift__ava"},[n("Ava",{attrs:{avaData:t.user.avatar_data}})],1),n("div",[n("strong",[t._v(t._s(t.user.first_name))])]),n("p",[t._v("Здравствуйте! Понятно!")]),n("time",[t._v(t._s(t.time(!0)))])])]):t._e(),t.task.started_at?n("div",{class:["gift__message --ok-message",{"is-mounted":t.isOkShown}]},[n("div",{staticClass:"gift__message-content"},[t._m(4),t._m(5),n("p",[t._v("Ок, жду.")]),n("time",[t._v(t._s(t.time(!0)))])])]):t._e()]),n("div",{staticClass:"gift__bottom",on:{click:t.start}},[t._v("\n      "+t._s(t.task.started_at?"":"Здравствуйте! Понятно!")+"\n      "),n("img",{attrs:{src:s("0bd7"),alt:""}})])])])},Qe=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"gift__ava"},[n("img",{attrs:{src:s("10cd"),width:"40",height:"40",alt:""}})])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"gift__head-name"},[s("div",[s("strong",[t._v("Светлана Петровна")])]),s("div",{staticClass:"gift__last-seen"},[t._v("Last seen now")])])},function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"gift__ava"},[n("img",{attrs:{src:s("10cd"),width:"40",height:"40",alt:""}})])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",[s("strong",[t._v("Светлана Петровна")])])},function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"gift__ava"},[n("img",{attrs:{src:s("10cd"),width:"40",height:"40",alt:""}})])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",[s("div",[s("strong",[t._v("Светлана Петровна")])])])}],Je={name:"Gift",components:{Ava:D},mixins:[ae],props:{task:{type:Object,default:function(){return{}}}},data:function(){return{date:null,isMounted:!1,isOkShown:!1,questId:7}},computed:{},methods:{close:function(){this.$emit("close")},start:function(){var t=Object(tt["a"])(regeneratorRuntime.mark(function t(){var e=this;return regeneratorRuntime.wrap(function(t){while(1)switch(t.prev=t.next){case 0:if(!this.task.started_at){t.next=2;break}return t.abrupt("return");case 2:return this.task.started_at=new Date,this.$forceUpdate(),setTimeout(function(){e.isOkShown=!0},50),t.prev=5,t.next=8,Object(L["v"])(this.questId);case 8:t.sent,t.next=14;break;case 11:t.prev=11,t.t0=t["catch"](5),console.error("start quest "+this.questId+" Error:",t.t0);case 14:case"end":return t.stop()}},t,this,[[5,11]])}));function e(){return t.apply(this,arguments)}return e}(),time:function(t){var e=new Date;this.task.started_at&&(e=new Date(this.task.started_at));var s=e.getHours(),n=e.getMinutes();return this.task.started_at&&!t&&Math.abs(new Date(this.task.started_at).getTime()-e.getTime())>6e4&&(n-=1),s<10&&(s="0"+s),n<10&&(n="0"+n),"".concat(s,":").concat(n)}},beforeMount:function(){var t=new Date;this.date="".concat(t.getHours(),":").concat(t.getMinutes())},mounted:function(){var t=this;setTimeout(function(){t.isMounted=!0},300),this.task.started_at&&(this.isOkShown=!0)}},Ke=Je,ts=(s("92b6"),Object(l["a"])(Ke,Ze,Qe,!1,null,null,null));ts.options.__file="Gift.vue";var es=ts.exports,ss=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("Page",[s("div",{staticClass:"be-client"},[s("h1",[t._v("Заглянуть в бухгалтерию")]),s("p",[t._v("\n      "+t._s(t.user.first_name)+",\n      "),t.user.client?[t._v("\n        Вы совсем недавно у нас работаете, а карта Рокетбанка\n        у Вас уже есть! Поздравляем! Чего стоим-то? Проходим,\n        не задерживаем очередь!\n      ")]:[t._v("\n        Вы совсем недавно к нам устроились. Время завести зарплатную\n        карту! "),s("a",{attrs:{href:"https://rocketbank.ru/tariffs"}},[t._v("Описание тарифа")]),t._v(".\n      ")]],2),s("Button",{on:{click:t.start}},[t._v("\n      "+t._s(t.user.client?"ЗАВЕРШИТЬ":"Оформить карту"))])],1)])},ns=[],is={name:"BeClient",mixins:[ae],data:function(){return{questId:6}},components:{Page:ie["a"],Button:C["a"]},methods:{start:function(){var t=Object(tt["a"])(regeneratorRuntime.mark(function t(){return regeneratorRuntime.wrap(function(t){while(1)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,Object(L["v"])(this.questId);case 3:t.sent,this.fetchUser(),this.close(),this.user.client||(window.location=this.user.signup_url||"https://rocketbank.ru/welcome/try-now"),t.next=12;break;case 9:t.prev=9,t.t0=t["catch"](0),console.error("start quest "+this.questId+" Error:",t.t0);case 12:case"end":return t.stop()}},t,this,[[0,9]])}));function e(){return t.apply(this,arguments)}return e}()}},as=is,rs=(s("1152"),Object(l["a"])(as,ss,ns,!1,null,null,null));rs.options.__file="BeClient.vue";var os,cs=rs.exports,ls=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"workspace"},[n("div",{staticClass:"workspace__ratio"}),t.user.quests?n("div",[n("img",{staticClass:"workspace__table",attrs:{src:s("b167"),alt:""}}),n("div",{class:["workspace__me","--color-"+(t.user.avatar_data?t.user.avatar_data.head_color:0)]},[t.user&&t.user.avatar_data?n("Ava",{attrs:{avaData:t.user.avatar_data,blinking:!0}}):t._e(),n("div",{staticClass:"workspace__me-svg",domProps:{innerHTML:t._s(t.meImg)}})],1),n("img",{staticClass:"workspace__comp",attrs:{src:t.computers[t.compPictureIndex].img,alt:""}}),n("img",{staticClass:"workspace__ficus",attrs:{src:t.ficusSrc,alt:""}}),n("img",{staticClass:"workspace__chair",attrs:{src:s("902ef"),alt:""}}),t._l(t.shadows,function(e,s){return n("div",{key:s,class:["workspace__item","--"+e.name]},[t.getQuestByName(e.name)&&t.getQuestByName(e.name).completed_at?t._e():n("img",{staticClass:"workspace__shadow",attrs:{src:e.img,alt:""},on:{click:function(s){t.$emit("shadowClick",t.getQuestByName(e.name))}}}),t.getQuestByName(e.name)&&t.getQuestByName(e.name).completed_at?n("img",{staticClass:"workspace__looted",attrs:{src:t.items.find(function(t){return t.name===e.name}).img,alt:""},on:{click:function(s){t.$emit("itemClick",t.getQuestByName(e.name))}}}):t._e()])})],2):t._e()])},us=[],ds=(s("7f7f"),{printer:1,board:2,trash:3,cup:4,ficus:5,calendar:6,baloon:7,cond:8,sert:9,clock:10,bag:11}),ps=s("008d"),hs=s("7506"),_s=function(t){return t.keys().map(function(e){return{name:/\.\/(.+)\.svg/gi.exec(e)[1],img:t(e)}})},fs=_s(s("4e47")),vs=_s(s("0805")),ms=Nt(_s(s("6b81"))),gs=_s(s("aba1")),bs={name:"Workspace",components:{Ava:D},props:{user:Object},data:function(){return{shadows:fs,computers:ms,items:vs,compPictureIndex:0}},computed:{ficusSrc:function(){return gs[Math.min(this.user.ficus_likes,4)].img},meImg:function(){return 0===this.user.gender?ps:hs}},methods:{getQuestById:function(t){return this.user.quests.find(function(e){return e.quest_id==t})},getQuestByName:function(t){return this.getQuestById(ds[t])}},mounted:function(){var t=this;os=setInterval(function(){t.compPictureIndex===ms.length-1?t.compPictureIndex=0:t.compPictureIndex++},3e3)},beforeDestroy:function(){clearInterval(os)}},ws=bs,ks=(s("7379"),Object(l["a"])(ws,ls,us,!1,null,null,null));ks.options.__file="Workspace.vue";var xs=ks.exports,Cs=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("Page",[s("div",{staticClass:"solitaire-popup"},[s("h1",[t._v("Косынка")]),s("p",[t._v(t._s(t.user.first_name)+",")]),s("p",[t._v("\n      У нас новый тест на профпригодность. Уверен,\n      Вы справитесь с ним!\n    ")]),s("Button",{on:{click:t.start}},[t._v("Начать")])],1)])},ys=[],Ss={name:"SolitairePopup",mixins:[ae],components:{Page:ie["a"],Button:C["a"]},data:function(){return{questId:8}},methods:{start:function(){var t=Object(tt["a"])(regeneratorRuntime.mark(function t(){return regeneratorRuntime.wrap(function(t){while(1)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,Object(L["v"])(this.questId);case 3:t.sent,t.next=8;break;case 6:t.prev=6,t.t0=t["catch"](0);case 8:this.$router.push("solitaire");case 9:case"end":return t.stop()}},t,this,[[0,6]])}));function e(){return t.apply(this,arguments)}return e}()},beforeMount:function(){}},$s=Ss,Ms=(s("08a5"),Object(l["a"])($s,Cs,ys,!1,null,null,null));Ms.options.__file="SolitairePopup.vue";var zs=Ms.exports,Is=function(){var t=this,e=t.$createElement;t._self._c;return t._m(0)},Os=[function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"loading"},[s("div",{staticClass:"first"}),s("div",{staticClass:"second"}),s("div",{staticClass:"third"}),s("div",{staticClass:"fourth"}),s("span",[t._v("Идет загрузка...")])])}],Ps={name:"Loading"},js=Ps,Bs=(s("f805"),Object(l["a"])(js,Is,Os,!1,null,null,null));Bs.options.__file="Loading.vue";var Es=Bs.exports,Ds=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("footer",[t._m(0),n("div",{staticClass:"links"},[t._m(1),n("router-link",{attrs:{to:"/faq"}},[n("img",{attrs:{src:s("9dbb")}}),t._v("\n      FAQ\n    ")])],1)])},Ls=[function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("p",[t._v("КИВИ Банк (АО), qiwi.com, лицензия Банка России"),s("br"),t._v("№ 2241 от 22.01.2015 филиал Рокетбанк.")])},function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("a",{attrs:{href:"https://rocketbank.ru/pages/rabotyaga-terms",target:"_blank"}},[n("img",{attrs:{src:s("1a45")}}),t._v("\n      Условия акции\n    ")])}],Ts={name:"Footer"},Rs=Ts,Fs=(s("0d77"),Object(l["a"])(Rs,Ds,Ls,!1,null,"1bd8dcb0",null));Fs.options.__file="Footer.vue";var Ns=Fs.exports,As=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("transition",{attrs:{name:"popup"}},[n("div",{staticClass:"popup"},[n("div",{staticClass:"overlay",on:{click:function(e){t.$emit("close")}}}),n("div",{staticClass:"modal"},[n("button",{staticClass:"close",on:{click:function(e){t.$emit("close")}}}),n("div",{staticClass:"top"},[n("img",{attrs:{src:s("0aa2"),alt:"Колесо"}})]),n("div",{staticClass:"main"},[n("h1",[t._v("Поздравляем!")]),n("p",[t._v("\n          Вы набрали 40 баллов и еще один приз —\n          Ваш!\n        ")]),n("Button",{on:{click:t.take}},[t._v("Получить")])],1)])])])},Hs=[],qs={name:"PrizePopup",components:{Button:C["a"]},methods:{take:function(){this.$router.push("/fortune/second")}}},Ws=qs,Vs=(s("ad5b"),Object(l["a"])(Ws,As,Hs,!1,null,"0dc2ccd4",null));Vs.options.__file="SecondPrizePopup.vue";var Xs=Vs.exports,Us=function(t){var e={};return t.keys().forEach(function(s){e[/\.\/(.+)\.svg/gi.exec(s)[1]]=t(s)}),e},Ys=Us(s("0805")),Gs=function(t){var e=null;return Object.keys(ds).some(function(s){return parseInt(ds[s])===parseInt(t)&&(e=s,!0)}),e},Zs={1:"Поздравляем, вам больше не&nbsp;придется доставать всех просьбой распечатать документы! Вы&nbsp;&mdash; счастливый обладатель личного принтера!",2:"Эта доска переходит из&nbsp;кабинета в&nbsp;кабинет: изначально она кажется очень полезной, но&nbsp;потом на&nbsp;нее никто ничего не&nbsp;крепит. Может, Вам пригодится?",3:"Ведерко вот. Для мусора. Ничего не&nbsp;перепутайте и&nbsp;себя туда не&nbsp;засуньте.",4:"Ничто не&nbsp;бодрит так, как строгий взгляд босса по&nbsp;утрам... Ну&nbsp;если только ароматный кофе из&nbsp;вашей личной чашечки.",5:"Вы&nbsp;что, не&nbsp;знаете, какое излучение от&nbsp;всей этой техники!? Этот фикус Вас хоть как-то от&nbsp;него защитит.",6:"Специально для Вас новая модель календаря: его не&nbsp;нужно переворачивать. Серьёзно. Никогда. Не&nbsp;переворачивайте календарь. Пожалуйста.",7:"День рождения шефа прошёл, а&nbsp;праздничная атмосфера остаётся. Если она вообще была...",8:"В&nbsp;нашем офисе жарко как возле доменной печи: идеи переплавляются в&nbsp;бизнес-процессы! Вот Вам кондиционер, чтобы стало комфортнее.",9:"За&nbsp;особенные успехи в&nbsp;познании инновационных методик и&nbsp;освоении гибкой методологии разработки AGILE торжественно вручаем Вам сертификат!",10:"В&nbsp;армии особо отличившихся бойцов награждают наручными часами. А&nbsp;самые ответственные офисные работники получают настенные.",11:"А&nbsp;Вы&nbsp;становитесь по-настоящему серьезным человеком: уже людей приводите! С&nbsp;таким портфелем&nbsp;Вы станете ещё серьёзней и&nbsp;внушительней!"},Qs=function(t){return Zs[t]},Js={1:{isPopup:!0,slug:"security",isRepeatable:!1},2:{isPopup:!0,slug:"scroll",isRepeatable:!1},3:{isPopup:!0,slug:"instagram",isRepeatable:!1},4:{isPopup:!1,slug:"dontsleep",isRepeatable:!0},5:{isPopup:!1,slug:"ficus",isRepeatable:!1},6:{isPopup:!0,slug:"beclient",isRepeatable:!1},7:{isPopup:!0,slug:"gift",isRepeatable:!1},8:{isPopup:!0,slug:"solitaire",isRepeatable:!0},9:{isPopup:!1,slug:"agile",isRepeatable:!1},10:{isPopup:!0,slug:"courier",isRepeatable:!1},11:{isPopup:!0,slug:"vacancy",isRepeatable:!1}},Ks=function(t){return t.map(function(t){return t.config=Js[t.quest_id],t})},tn=function(t){window.fbq&&window.fbq("track","ViewContent",{content_type:t})},en=function(t){window.gtag&&window.gtag("event",t,{event_category:"button"})},sn=function(t){tn(t),en(t)},nn={name:"Home",props:{},data:function(){return{currentView:"tasks",popup:null,isPopupShown:!1,isPopupHidden:!1,isItemPopupShown:!1,isItemPopupHidden:!1,isUserPopupShown:!1,isUserPopupHidden:!1,isSecondPrizePopupShown:!1,user:null,tasks:[],popupItem:null,items:Ys}},computed:{itemToSee:function(){if(!this.tasks.length)return null;var t=this.tasks.filter(function(t){return 4!==t.quest_id}).find(function(t){return t.completed_at&&!t.seen});return t&&(5===t.quest_id&&sn("fikus"),this.isItemPopupHidden=!1,this.isItemPopupShown=!0),t},winText:function(){return this.itemToSee||this.popupItem?this.getItemText((this.itemToSee||this.popupItem).quest_id):""},points:function(){return this.user?this.user.points:null}},components:{Footer:Ns,Ava:D,SolitairePopup:zs,MeetCourier:Ge,Instagram:qe,ScrollTask:De,TaskList:Ie,Vacancy:le,Security:fe,Gift:es,Workspace:xs,Button:C["a"],BeClient:cs,Loading:Es,SecondPrizePopup:Xs},watch:{points:function(t){this.checkSecondPrize(t)}},methods:{noun:ge["noun"],downloadSert:function(){var t=Object(tt["a"])(regeneratorRuntime.mark(function t(){var e,s;return regeneratorRuntime.wrap(function(t){while(1)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,Object(L["f"])();case 3:e=t.sent,s=new XMLHttpRequest,s.open("GET",e.certificate_link,!0),s.responseType="blob",s.onload=function(){var t=window.URL||window.webkitURL,e=t.createObjectURL,s=e(this.response),n=document.createElement("a");n.href=s,n.download="certificate.png",document.body.appendChild(n),n.click(),document.body.removeChild(n)},s.send(),t.next=14;break;case 11:t.prev=11,t.t0=t["catch"](0),console.error("Certificate link err",t.t0);case 14:case"end":return t.stop()}},t,this,[[0,11]])}));function e(){return t.apply(this,arguments)}return e}(),fetchUser:function(){var t=this,e=this.$root.$watch("user",function(s){e(),s.isNotAuthorized?t.$router.replace("login"):(t.user=s,t.tasks=Ks(s.quests).sort(function(t,e){return t.client_required-e.client_required}).sort(function(t,e){return t.required_points-e.required_points}).sort(function(t,e){return!!t.completed_at-!!e.completed_at}),s.avatar_data?s.career_guidance||t.$router.replace("test"):t.$router.replace("avatar"))});this.$root.$emit("fetchUser")},getItemForQuest:Gs,getItemText:Qs,logout:function(){var t=Object(tt["a"])(regeneratorRuntime.mark(function t(){return regeneratorRuntime.wrap(function(t){while(1)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,Object(L["l"])();case 3:t.next=8;break;case 5:t.prev=5,t.t0=t["catch"](0),console.error("logout error",t.t0);case 8:this.$router.push("login");case 9:case"end":return t.stop()}},t,this,[[0,5]])}));function e(){return t.apply(this,arguments)}return e}(),closeUserPopup:function(){this.isUserPopupHidden=!0,this.isUserPopupShown=!1},openUserPopup:function(){this.isUserPopupShown=!0,this.isUserPopupHidden=!1},onShadowClick:function(t){var e=this;this.user.points<t.required_points||t.client_required&&!this.getTaskBySlug("beclient").completed_at||(t.config.isPopup?(this.popup=null,this.$nextTick(function(){e.popup=t.config.slug,setTimeout(function(){e.isPopupShown=!0},20),e.isPopupHidden=!1})):this.$router.push(t.config.slug))},onItemClick:function(t){this.isItemPopupShown=!0,this.isItemPopupHidden=!1,this.popupItem=t},switchView:function(t){this.currentView=t},onPopupClose:function(){this.isPopupShown=!1,this.isPopupHidden=!0,this.fetchUser()},onTaskClick:function(t){var e=this;t.completed_at?this.onItemClick(t):t.config.isPopup?(this.popup=null,this.$nextTick(function(){e.popup=t.config.slug,setTimeout(function(){e.isPopupShown=!0},20),e.isPopupHidden=!1})):this.$router.push(t.config.slug)},getTaskBySlug:function(t){return this.tasks.find(function(e){return e.config.slug===t})},closeItemPopup:function(){var t=Object(tt["a"])(regeneratorRuntime.mark(function t(e){var s=this;return regeneratorRuntime.wrap(function(t){while(1)switch(t.prev=t.next){case 0:if(this.isItemPopupShown=!1,setTimeout(function(){s.popupItem=null},300),e.seen){t.next=9;break}return t.next=5,Object(L["p"])(e.quest_id);case 5:this.fetchUser(),this.isItemPopupHidden=!0,t.next=10;break;case 9:this.isItemPopupHidden=!0;case 10:case"end":return t.stop()}},t,this)}));function e(e){return t.apply(this,arguments)}return e}(),checkSecondPrize:function(){var t=Object(tt["a"])(regeneratorRuntime.mark(function t(e){var s,n;return regeneratorRuntime.wrap(function(t){while(1)switch(t.prev=t.next){case 0:if(!(e>=40)){t.next=11;break}return t.prev=1,t.next=4,Object(L["c"])();case 4:s=t.sent,n=s.second_prize,n||(this.isSecondPrizePopupShown=!0),t.next=11;break;case 9:t.prev=9,t.t0=t["catch"](1);case 11:case"end":return t.stop()}},t,this,[[1,9]])}));function e(e){return t.apply(this,arguments)}return e}()},beforeMount:function(){this.fetchUser(),this.checkSecondPrize(this.points)}},an=nn,rn=(s("bab0"),Object(l["a"])(an,Qt,Jt,!1,null,null,null));rn.options.__file="Home.vue";var on=rn.exports,cn=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("Page",{attrs:{withHead:!1,withClose:"popup"===t.mode},on:{close:function(e){t.$emit("close")}}},[s("div",{staticClass:"login"},[s("form",{on:{submit:t.onFormSubmit}},[s("h1",[t._v(t._s(t.isCodeShown?"Код из смс":"Номер телефона"))]),s("input",{staticStyle:{visibility:"hidden",position:"absolute","z-index":"-100","pointer-events":"none"},attrs:{type:"password"}}),s("div",{directives:[{name:"show",rawName:"v-show",value:!t.isCodeShown,expression:"!isCodeShown"}],class:["login__input","login__phone",{"--error":!!t.error}]},[s("MaskedInput",{attrs:{autofocus:"",type:"tel",name:"phone",placeholder:"+7 (000) 000-00-00",mask:["+","7","(",/\d/,/\d/,/\d/,")"," ",/\d/,/\d/,/\d/,"-",/\d/,/\d/,"-",/\d/,/\d/],guide:!0,placeholderChar:" "},model:{value:t.phone,callback:function(e){t.phone=e},expression:"phone"}})],1),s("div",{directives:[{name:"show",rawName:"v-show",value:!t.isCodeShown,expression:"!isCodeShown"}],staticClass:"login__captcha"},[s("div",{directives:[{name:"show",rawName:"v-show",value:t.needCaptcha,expression:"needCaptcha"}],ref:"recaptcha",staticClass:"g-recaptcha",attrs:{"data-sitekey":"6LfUo5cUAAAAAPHovxPleH7kr2bsnarfWLIx8BEJ","data-callback":"onReCaptcha"}})]),t.isCodeShown||"popup"===t.mode?s("button",{staticClass:"login__back",attrs:{type:"button"},on:{click:t.back}}):t._e(),s("div",{directives:[{name:"show",rawName:"v-show",value:t.isCodeShown,expression:"isCodeShown"}],class:["login__input","login__code",{"--error":!!t.error}]},[s("MaskedInput",{ref:"codeInput",attrs:{autofocus:"",type:"tel",name:"code",placeholder:"••••",mask:[/\d/,/\d/,/\d/,/\d/],guide:!1,placeholderChar:"•"},model:{value:t.code,callback:function(e){t.code=e},expression:"code"}})],1),s("div",{directives:[{name:"show",rawName:"v-show",value:t.error,expression:"error"}],staticClass:"login__error"},[t._v(t._s(t.error))]),t.isCodeShown?s("div",{staticClass:"login__resend"},[t.secondsBeforeResend>0?s("div",[t._v("\n          Повторно отправить смс можно будет через\n          "+t._s(t.secondsBeforeResend)+" секунд\n        ")]):s("div",[s("button",{attrs:{type:"button"},on:{click:t.resend}},[t._v("Отправить ещё раз")])])]):t._e(),s("Button",{directives:[{name:"show",rawName:"v-show",value:!t.isCodeShown,expression:"!isCodeShown"}],attrs:{type:"submit",disabled:t.isDisabled}},[t._v("Дальше")])],1)])])},ln=[],un=s("ce75"),dn=un["a"],pn=(s("f479"),Object(l["a"])(dn,cn,ln,!1,null,null,null));pn.options.__file="Login.vue";var hn=pn.exports,_n=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("Page",{staticClass:"--prof-test",attrs:{withHead:t.step<0,withClose:!1}},[t.user?t._e():s("Loading"),t.user?s("div",{staticClass:"prof-test"},[s("h1",{class:{"--welcome":t.step<0}},[t._v("\n      "+t._s(t.step>=0?"Тест на выбор профессии":"Добро пожаловать!")+"\n    ")]),s("div",{directives:[{name:"show",rawName:"v-show",value:t.step>=0&&!t.completed,expression:"step >= 0 && !completed"}],staticClass:"prof-test__counter"},[t._v("\n      Вопрос "+t._s(t.step+1)+" из "+t._s(t.questions.length)+"\n    ")]),s("div",{directives:[{name:"show",rawName:"v-show",value:t.step<0,expression:"step < 0"}],staticClass:"prof-test__welcome"},[s("p",[t._v("Доброго времени суток!")]),s("p",[t._v("\n        Мы очень рады, что Вы присоединились к нашей большой\n        семье. Забота о сотрудниках и максимальное раскрытие\n        их потенциала для нас самое главное. Именно поэтому наш кадровик\n        Валентина Моисеевна разработала тест, который поможет узнать, какая\n        из должностей станет для Вас идеальной.\n      ")]),s("p",[t._v("Ну, как говорится, ни пуха, ни пера!")]),s("p",[t._v("\n        С уважением,"),s("br"),t._v("\n        Добропопко Иван Аристархович\n      ")])]),s("div",{directives:[{name:"show",rawName:"v-show",value:t.completed,expression:"completed"}],staticClass:"prof-test__welcome"},[s("p",[t._v("\n        Очень приятно с Вами познакомиться! Признаю честно,\n        Вы показали совсем неординарные результаты в нашем тесте.\n        По ним Ваша идеальная должность —\n        "),s("b",[t._v(" "+t._s(t.careerGuidance))]),t._v(".\n      ")]),s("p",[t._v("Я побежала к девочкам пить чай, всего Вам доброго!")])]),s("div",{directives:[{name:"show",rawName:"v-show",value:t.step>=0&&!t.completed,expression:"step >= 0 && !completed"}],ref:"question",staticClass:"prof-test__question"},[s("span",{domProps:{innerHTML:t._s(t.current.text)}}),t.current.answersCount?t._l(t.current.answers,function(e,n){return s("Checkbox",{key:t.step+"_"+n,class:{fade:t.fadeUnchecked},attrs:{name:t.step+"_"+n},nativeOn:{click:function(e){return t.onCheckboxChange(e)}},model:{value:t.current.model[n],callback:function(e){t.$set(t.current.model,n,e)},expression:"current.model[index]"}},[s("span",{domProps:{innerHTML:t._s(e)}})])}):t._l(t.current.answers,function(e,n){return s("Radio",{key:t.step+"_"+n,attrs:{name:"question"+t.step,value:n.toString()},on:{input:t.onRadioChange},model:{value:t.current.model,callback:function(e){t.$set(t.current,"model",e)},expression:"current.model"}},[s("span",{domProps:{innerHTML:t._s(e)}})])}),t.current.hasCustom?s("Radio",{ref:"customRadio"+t.step,attrs:{name:"question"+t.step,value:"custom"},on:{input:t.onCustomChoose},nativeOn:{click:function(e){return t.onCustomChoose(e)}},model:{value:t.current.model,callback:function(e){t.$set(t.current,"model",e)},expression:"current.model"}},[s("input",{directives:[{name:"model",rawName:"v-model",value:t.current.customAnswer,expression:"current.customAnswer"}],ref:"custom"+t.step,staticClass:"prof-test__input",attrs:{placeholder:"string"===typeof t.current.hasCustom?t.current.hasCustom:"Свой вариант",type:"text",maxlength:"255"},domProps:{value:t.current.customAnswer},on:{input:[function(e){e.target.composing||t.$set(t.current,"customAnswer",e.target.value)},t.onCustomInput],focus:t.onCustomFocus}})]):t._e(),"salary"===t.current.type?s("div",[s("input",{directives:[{name:"model",rawName:"v-model",value:t.current.customAnswer,expression:"current.customAnswer"}],ref:"salary",staticClass:"prof-test__input prof-test__salary",attrs:{type:"text",maxlength:"255"},domProps:{value:t.current.customAnswer},on:{input:[function(e){e.target.composing||t.$set(t.current,"customAnswer",e.target.value)},t.onSalaryInput]}}),s("span",{staticClass:"prof-test__salary-currency"},[t._v("₽")])]):t._e()],2),t.step>=0&&!t.completed?s("div",{staticClass:"prof-test__error"},[t._v("\n      "+t._s(t.error)+"\n    ")]):t._e(),s("div",{class:["prof-test__bottom",{"--welcome":t.step<0}]},[t.completed?s("Button",{class:{wide:t.completed},attrs:{type:"submit"},on:{click:t.showHome}},[t._v("\n        Приступить к работе")]):s("Button",{attrs:{type:"submit",disabled:!!t.error},on:{click:t.nextQuestion}},[t._v("\n        "+t._s(t.step<0?"Начать тест":"Далее")+"\n      ")])],1)]):t._e()],1)},fn=[],vn=(s("4917"),s("6b54"),{name:"ProfTest",components:{Page:ie["a"],Button:C["a"],Loading:Es},data:function(){return{user:{},step:-1,startTime:"",fadeUnchecked:!1,completed:!1,careerGuidance:null,questions:[{text:"Выберите 3&nbsp;ваших ключевых навыка:",answersCount:3,answers:["Уверенный пользователь&nbsp;ПК (MS&nbsp;Word)","Английский со&nbsp;словарем","Стрессоустойчивость","Пунктуальность","Душа компании","Владение конструктором сайтов"]},{text:"Кем Вы&nbsp;себя видите через 5&nbsp;лет?",answers:["На&nbsp;вашем месте","Вашей левой рукой","Каким я&nbsp;был(-а), таким я&nbsp;остался(-ась)"],hasCustom:!0},{text:"Ваше отношение к&nbsp;дресс-коду:",answers:["Дресс-код необходим, т.к. прививает дисциплину и&nbsp;корпоративный дух","Неважно в&nbsp;чем&nbsp;Вы, важно какой&nbsp;Вы специалист","Только шорты, майка и&nbsp;тапочки с&nbsp;подогревом"]},{text:"С&nbsp;каким животным&nbsp;Вы себя ассоциируете?",answers:["Лев","Страус","Черепаха"],hasCustom:!0},{text:"Кошки или собаки?",answers:["Кошки","Собаки"]},{text:"Во&nbsp;время обеда&nbsp;Вы зайдете",answers:["На&nbsp;Facebook","Во&nbsp;ВКонтакте","В&nbsp;Twitter","На&nbsp;YouTube","В&nbsp;Instagram"]},{text:"Как Вы&nbsp;проведете свой пятиминутный перерыв?",answers:["Останусь за&nbsp;рабочим местом, т.к. ценю время акционеров","Пойду к&nbsp;кулеру испить водицы и&nbsp;пообщаться с&nbsp;коллегами","Постою в&nbsp;курилке","Покатаюсь на&nbsp;лифте и&nbsp;сделаю крутое селфи"]},{text:"Ваши ожидания по&nbsp;зарплате",type:"salary"},{text:"Представим, что у&nbsp;Вас корпоратив на&nbsp;необитаемом острове. Вы&nbsp;можете взять с&nbsp;собой ОДИН любой предмет из&nbsp;офиса. Что Вы&nbsp;возьмете?",answers:["Маркер для доски","Маркер ярко-желтого цвета для заметок в документах","Маркер перманентный"],hasCustom:"Свой вариант маркера"},{text:"Чай, кофе?",answers:["Чай, пожалуйста","Спасибо, не&nbsp;откажусь от&nbsp;кофе"]}],error:""}},computed:{current:function(){return this.step>=0?this.questions[this.step]:this.questions[0]}},methods:{nextQuestion:function(){this.step<0?this.step++:(this.validate(),this.error||this.step!==this.questions.length-1?this.error||(this.step+=1):this.onCompleted())},showHome:function(){this.$router.push("/home")},onCompleted:function(){var t=Object(tt["a"])(regeneratorRuntime.mark(function t(){var e,s,n;return regeneratorRuntime.wrap(function(t){while(1)switch(t.prev=t.next){case 0:return e=this.questions.map(function(t){return Array.isArray(t.model)?parseInt(t.model.map(function(t,e){if(null!=t)return parseInt(e)+1}).filter(function(t){return null!=t}).reverse().join("")):"model"in t?"custom"===t.model||""===t.model?0:parseInt(t.model)+1:0}),s=this.questions.filter(function(t){return"customAnswer"in t}).map(function(t){return t.customAnswer.toString()}),t.prev=2,t.next=5,Object(L["u"])(e,s);case 5:n=t.sent,this.careerGuidance=n.career_guidance,this.completed=!0,t.next=13;break;case 10:t.prev=10,t.t0=t["catch"](2),this.error=t.t0.message||"Ошибка запроса";case 13:case"end":return t.stop()}},t,this,[[2,10]])}));function e(){return t.apply(this,arguments)}return e}(),onCustomChoose:function(){this.$refs["custom"+this.step].focus(),this.onRadioChange()},onCustomFocus:function(){this.$refs["customRadio"+this.step].$el.getElementsByTagName("input")[0].click()},onCheckboxChange:function(t){this.error&&this.validate();var e=this.$refs.question.querySelectorAll("input:checked").length;if(e>3)return t.preventDefault();this.fadeUnchecked=3===e},onRadioChange:function(){this.error&&this.validate()},onCustomInput:function(){this.error&&this.validate()},onSalaryInput:function(){this.current.customAnswer=this.current.customAnswer.match(/\d*/gi).filter(function(t){return t})[0],this.error&&this.validate()},validate:function(){if(this.current.answersCount){var t=this.$refs.question.querySelectorAll("input:checked").length;if(t<this.current.answersCount){var e=this.current.answersCount-t,s="Выберите ещё ".concat(e," навык");return e>1&&(s+="a"),void(this.error=s)}}else if(this.current.answers){if(!this.current.model)return void(this.error="Выберите вариант ответа");if("custom"===this.current.model&&!this.current.customAnswer)return void(this.error="Напишите что-нибудь")}else if("salary"===this.current.type&&!this.current.customAnswer)return void(this.error="Напишите что-нибудь");this.error=""}},mounted:function(){this.user||(this.user={}),this.user.first_name||(this.user.first_name=localStorage.getItem("first_name"))},beforeMount:function(){var t=this;this.questions=this.questions.map(function(t){return t.answers&&t.answersCount?t.model=Array.from({length:t.answers.length}):t.answers&&(t.model=""),t.hasCustom&&(t.customAnswer=""),t}),this.startTime=Object(ee["format"])(new Date,"D MMMM YYYY г., HH:mm",{locale:ne.a}),this.user=this.$root.user,this.user||(this.user={}),this.user.first_name||(this.user.first_name=localStorage.getItem("first_name"));var e=this.$root.$watch("user",function(s){e(),t.user=s})}}),mn=vn,gn=(s("ff18"),Object(l["a"])(mn,_n,fn,!1,null,null,null));gn.options.__file="ProfTest.vue";var bn=gn.exports,wn=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("Page",{attrs:{withHead:!1,withClose:!1}},[s("div",{staticClass:"signup"},[s("form",{on:{submit:t.onSubmit}},[s("h1",[t._v("Данные о себе")]),s("div",{staticClass:"signup__row"},[s("div",{staticClass:"signup__field"},[s("Input",{ref:"lastName",attrs:{placeholder:"Фамилия"}})],1)]),s("div",{staticClass:"signup__row"},[s("div",{staticClass:"signup__field"},[s("Input",{ref:"firstName",attrs:{placeholder:"Имя"}})],1),s("div",{staticClass:"signup__field"},[s("Input",{ref:"middleName",attrs:{placeholder:"Отчество"}})],1)]),s("div",{staticClass:"signup__row"},[s("div",{staticClass:"signup__field"},[s("Input",{ref:"dob",attrs:{placeholder:"Дата рождения",mask:[/\d/,/\d/,".",/\d/,/\d/,".",/\d/,/\d/,/\d/,/\d/]}})],1),s("div",{staticClass:"signup__field signup__gender"},[s("Radio",{attrs:{name:"gender",checked:!0,value:"1"},model:{value:t.fields.gender,callback:function(e){t.$set(t.fields,"gender",e)},expression:"fields.gender"}},[t._v("Мужской")]),s("Radio",{attrs:{name:"gender",value:"0"},model:{value:t.fields.gender,callback:function(e){t.$set(t.fields,"gender",e)},expression:"fields.gender"}},[t._v("Женский")])],1)]),s("div",{staticClass:"signup__row"},[s("div",{staticClass:"signup__field"},[s("Input",{ref:"email",attrs:{placeholder:"Электронная почта"}}),s("div",{staticClass:"signup__field-hint"},[t._v("\n            Укажите активную почту. На неё будут приходить задания\n          ")])],1)]),s("div",{staticClass:"signup__error"},[t._v(t._s(t.error))]),s("Button",{attrs:{type:"submit"}},[t._v("Отправить")])],1)])])},kn=[],xn=(s("28a5"),s("d0af")),Cn=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{class:["input",{"--focus":t.isFocused||t.model.length,"--error":t.error}]},[s("div",{staticClass:"input__placeholder"},[t._v(t._s(t.placeholder))]),t.mask?s("MaskedInput",{attrs:{mask:t.mask,guide:!0,placeholderChar:"_"},on:{focus:function(e){t.isFocused=!0},blur:function(e){t.isFocused=!1},input:t.onInput},model:{value:t.model,callback:function(e){t.model=e},expression:"model"}}):s("input",{directives:[{name:"model",rawName:"v-model",value:t.model,expression:"model"}],attrs:{type:"text"},domProps:{value:t.model},on:{focus:function(e){t.isFocused=!0},blur:function(e){t.isFocused=!1},input:[function(e){e.target.composing||(t.model=e.target.value)},t.onInput]}}),s("div",{staticClass:"input__error"},[t._v(t._s(t.error))])],1)},yn=[],Sn=s("4396"),$n=s.n(Sn),Mn={name:"Input",props:{placeholder:String,mask:Array},data:function(){return{isFocused:!1,model:"",error:""}},computed:{},components:{MaskedInput:$n.a},methods:{getValue:function(){return this.model},onInput:function(t){this.$emit("input",t),this.error=""}},mounted:function(){}},zn=Mn,In=(s("502a"),Object(l["a"])(zn,Cn,yn,!1,null,null,null));In.options.__file="Input.vue";var On=In.exports,Pn={name:"Signup",data:function(){return{fields:{firstName:{},lastName:{},middleName:{},dob:{},email:{},gender:"1"},error:""}},components:{Page:ie["a"],Button:C["a"],Input:On},methods:{validate:function(){var t=this;Object.keys(this.fields).forEach(function(e){if(!t.$refs[e]||t.$refs[e].model){if("dob"===e){var s=t.$refs[e].model.replace(/[_]/gi,""),n=s.split("."),i=Object(xn["a"])(n,3),a=i[0],r=i[1],o=i[2],c=(new Date).getFullYear();if(!a||!r||!o||a>31||r>12||o>c||o<c-100)return void(t.$refs[e].error="Введите корректную дату");if(Object(ee["differenceInCalendarYears"])(new Date,new Date(o,r-1,a))<14)return void(t.$refs[e].error="Вам должно быть больше 14 лет")}"email"!==e||/^[\w\.]+@[a-zA-Z_]+?\.[a-zA-Z]{2,}$/gi.test(t.$refs[e].model)||(t.$refs[e].error="Неверный формат электронной почты")}else t.$refs[e].error="Заполните поле"})},onSubmit:function(){var t=Object(tt["a"])(regeneratorRuntime.mark(function t(e){var s,n=this;return regeneratorRuntime.wrap(function(t){while(1)switch(t.prev=t.next){case 0:if(this.error="",e.preventDefault(),this.validate(),!Object.keys(this.fields).every(function(t){return!n.$refs[t]||!n.$refs[t].error})){t.next=17;break}return s={},Object.keys(this.fields).forEach(function(t){return s[t]=n.$refs[t]?n.$refs[t].model:n.fields[t]}),t.prev=6,t.next=9,Object(L["w"])(s);case 9:localStorage.setItem("first_name",s.firstName),localStorage.setItem("gender",s.gender),this.$router.push("/avatar"),t.next=17;break;case 14:t.prev=14,t.t0=t["catch"](6),this.error=t.t0.message||"Неизвестная ошибка";case 17:case"end":return t.stop()}},t,this,[[6,14]])}));function e(e){return t.apply(this,arguments)}return e}()},beforeMount:function(){localStorage.getItem("first_name")&&this.$router.replace("home")}},jn=Pn,Bn=(s("d8b7"),Object(l["a"])(jn,wn,kn,!1,null,null,null));Bn.options.__file="Signup.vue";var En=Bn.exports,Dn=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"scroll-master infinite-loading-container"},[s("div",{staticClass:"scroll-master__head"},[s("div",{staticClass:"scroll-master__logo"}),t._m(0),t.user?s("div",{staticClass:"scroll-master__user"},[s("div",{staticClass:"scroll-master__user-avatar"},[s("Ava",{attrs:{avaData:t.user.avatar_data}})],1),s("div",{staticClass:"scroll-master__user-name"},[t._v(t._s(t.user.first_name))])]):t._e(),s("button",{staticClass:"page__close",on:{click:function(e){t.$router.push("/home")}}})]),s("div",{ref:"posts",staticClass:"scroll-master__posts"},t._l(t.posts,function(t,e){return s("div",{key:t+e,staticClass:"scroll-master__post"},[s("img",{attrs:{src:t}})])})),s("InfiniteScroll",{ref:"infiniteLoading",staticClass:"scroll",attrs:{spinner:"waveDots",distance:100},on:{infinite:t.loadMore}},[s("div",{attrs:{slot:"no-more"},slot:"no-more"},[s("Button",{on:{click:t.activate}},[t._v("Активировать")])],1)])],1)},Ln=[function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"scroll-master__search"},[t._v("\n      Поиск\n      "),s("div",{staticClass:"scroll-master__search-button"})])}],Tn=s("e166"),Rn=s.n(Tn),Fn=function(t){return t.keys().map(t)},Nn=Nt(Fn(s("0213"))),An=Nn.slice(),Hn={name:"ScrollMaster",data:function(){return{user:{},posts:An.splice(0,3),isCompleted:!1,questId:2}},components:{Ava:D,InfiniteScroll:Rn.a,Button:C["a"]},methods:{activate:function(){var t=Object(tt["a"])(regeneratorRuntime.mark(function t(){return regeneratorRuntime.wrap(function(t){while(1)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,Object(L["o"])(this.questId);case 3:t.sent,t.next=10;break;case 6:return t.prev=6,t.t0=t["catch"](0),console.error("score quest "+this.questId+" Error:",t.t0),t.abrupt("return");case 10:this.$router.push("home");case 11:case"end":return t.stop()}},t,this,[[0,6]])}));function e(){return t.apply(this,arguments)}return e}(),loadMore:function(t){var e=this;setTimeout(function(){var s;An.length<3&&(An=An.concat(Nt(Nn))),(s=e.posts).push.apply(s,Object(et["a"])(An.splice(0,3))),e.posts.length>100?(t.complete(),e.isCompleted=!0):t.loaded()},100+400*Math.random())}},beforeMount:function(){var t=this;this.user=this.$root.user;var e=this.$root.$watch("user",function(s){e(),t.user=s})},mounted:function(){}},qn=Hn,Wn=(s("837f"),Object(l["a"])(qn,Dn,Ln,!1,null,null,null));Wn.options.__file="ScrollMaster.vue";var Vn=Wn.exports,Xn=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"agile"},[s("div",{staticClass:"page__main"},[s("button",{staticClass:"page__close",attrs:{type:"button"},on:{click:t.close}}),s("div",{staticClass:"agile__inner"},[s("div",{staticClass:"page__info"},[s("h1",{staticClass:"page__title"},[t._v("Познаем аджайл")]),s("p",[t._v("\n          Добрый день, сегодня мы познакомим Вас с гибкой\n          методологией разработки AGILE.\n        ")]),s("Button",{on:{click:t.start}},[t._v("Изучить")])],1)])]),s("div",{staticClass:"page__footer"},[s("Footer")],1),s("div",{class:["agile__overlay",{"is-shown":t.isOverlayShown}],on:{click:t.close}},[s("Button",{staticClass:"agile__button",on:{click:t.learn}},[t._v("Познать AGILE")])],1)])},Un=[],Yn={name:"Agile",data:function(){return{isOverlayShown:!1,questId:9}},components:{Footer:Ns,Button:C["a"]},methods:{start:function(){var t=Object(tt["a"])(regeneratorRuntime.mark(function t(){return regeneratorRuntime.wrap(function(t){while(1)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,Object(L["v"])(this.questId);case 3:t.sent,t.next=9;break;case 6:t.prev=6,t.t0=t["catch"](0),console.error("start quest "+this.questId+" Error:",t.t0);case 9:this.isOverlayShown=!0;case 10:case"end":return t.stop()}},t,this,[[0,6]])}));function e(){return t.apply(this,arguments)}return e}(),learn:function(){var t=Object(tt["a"])(regeneratorRuntime.mark(function t(){return regeneratorRuntime.wrap(function(t){while(1)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,Object(L["o"])(this.questId);case 3:t.sent,t.next=9;break;case 6:t.prev=6,t.t0=t["catch"](0),console.error("score quest "+this.questId+" Error:",t.t0);case 9:this.$router.push("/home");case 10:case"end":return t.stop()}},t,this,[[0,6]])}));function e(){return t.apply(this,arguments)}return e}(),close:function(){this.isOverlayShown?this.isOverlayShown=!1:this.$router.push("/home")}}},Gn=Yn,Zn=(s("e5ff"),Object(l["a"])(Gn,Xn,Un,!1,null,null,null));Zn.options.__file="Agile.vue";var Qn=Zn.exports,Jn=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"prizes"},[s("div",{staticClass:"page__main"},[s("button",{staticClass:"page__close",attrs:{type:"button"},on:{click:t.close}}),s("div",{staticClass:"prizes__content"},[t.user&&null!=t.user.points?s("div",{class:["prizes__membership",{"--active":t.user.points>=10}]},[t._v("\n        "+t._s(t.user.points>=10?"Вы участвуете":"Для участия\n        наберите ещё\n        "+(10-t.user.points)+" "+t.noun(10-t.user.points,"балл","балла","баллов"))+"\n      ")]):t._e(),s("h1",{staticClass:"page__title"},[t._v("Призовой фонд")]),s("div",{staticClass:"prizes__members"},[s("div",{staticClass:"prizes__text"},[t._v("Количество участников")]),s("div",{staticClass:"prizes__members-blocks"},t._l(t.membersCount,function(e,n){return s("div",{key:n,class:["prizes__members-block",{"--empty":" "===e}]},[t._v("\n            "+t._s(" "===e?0:e)+"\n          ")])}))]),s("div",{staticClass:"prizes__text"},[t._v("\n        Призовой фонд растёт от количества участников: чем\n        их больше, тем больше призовой фонд.\n      ")]),s("div",{staticClass:"prizes__fond"},[s("div",{staticClass:"prizes__text"},[t._v("Призовой фонд")]),s("div",{staticClass:"prizes__fond-tiers"},t._l(t.tiers,function(e){return s("div",{key:e.price,staticClass:"prizes__fond-tier"},[t._v("\n            "+t._s(t.format(e.price,!0))+"\n            "),e.members?s("div",{staticClass:"prizes__fond-tier-members"},[t._v("\n              "+t._s(t.format(e.members))+" участников\n            ")]):s("div",{staticClass:"prizes__fond-tier-members"},[t._v("Сейчас")])])}))]),s("div",{staticClass:"prizes__text"},[t._v("\n        Призовой фонд будет поделен на премии, которые мы разыграем\n        среди участников, набравших минимум 10 баллов.\n      ")]),s("div",{staticClass:"prizes__prizes"},t._l(t.prizes,function(e,n){return s("div",{key:e.price,class:["prizes__prize","--"+(n+1)]},[t._v("\n          "+t._s(t.format(e.price,!0))+"\n          "),s("span",{staticClass:"prizes__prize-x"},[t._v("x"+t._s(e.x))])])}))])]),s("div",{staticClass:"page__footer"},[s("Footer")],1)])},Kn=[],ti=s("782e"),ei=s.n(ti),si=s("bc3a"),ni=s.n(si),ii=s("ef64"),ai=s.n(ii),ri={name:"Prizes",components:{Footer:Ns},data:function(){return{tiers:[],prizes:[],user:{},current_count:0}},computed:{membersCount:function(){var t=Math.round(15e4*Math.random()).toString();return t=this.current_count||this.user&&this.user.current_count?(this.current_count||this.user.current_count).toString():"0",t.length<6&&(t=Array.from({length:6-t.length}).map(function(){return" "}).join("")+t),t}},methods:{initPusher:function(){var t=Object(tt["a"])(regeneratorRuntime.mark(function t(){var e,s,n,i,a=this;return regeneratorRuntime.wrap(function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,ni.a.get("".concat(L["a"],"public/pusher"));case 2:if(e=t.sent,s=e.data,s&&s.key&&s.cluster){t.next=6;break}return t.abrupt("return");case 6:n=new ei.a(s.key,{cluster:s.cluster}),i=n.subscribe("users"),i.bind("user",function(t){a.current_count=t.current_count});case 9:case"end":return t.stop()}},t,this)}));function e(){return t.apply(this,arguments)}return e}(),close:function(){this.$router.push("/")},format:function(t,e){return ai()({suffix:e?" ₽":"",integerSeparator:" "})(t)},noun:ge["noun"]},beforeMount:function(){var t=Object(tt["a"])(regeneratorRuntime.mark(function t(){var e,s,n,i=this;return regeneratorRuntime.wrap(function(t){while(1)switch(t.prev=t.next){case 0:return e=new Date,this.date="".concat(e.getHours(),":").concat(e.getMinutes()),this.user=this.$root.user,s=this.$root.$watch("user",function(t){s(),i.user=t}),this.initPusher(),t.prev=5,t.next=8,Object(L["h"])();case 8:n=t.sent,this.current_count=n.current_count,this.prizes=n.prizes.sort(function(t,e){return e.price-t.price}),this.tiers=n.tiers,t.next=16;break;case 14:t.prev=14,t.t0=t["catch"](5);case 16:case"end":return t.stop()}},t,this,[[5,14]])}));function e(){return t.apply(this,arguments)}return e}()},oi=ri,ci=(s("9aa0"),Object(l["a"])(oi,Jn,Kn,!1,null,null,null));ci.options.__file="Prizes.vue";var li=ci.exports,ui=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"fortune"},[s("div",{staticClass:"page__main"},[s("button",{staticClass:"page__close",attrs:{type:"button"},on:{click:t.close}}),s("div",{staticClass:"fortune__content"},[t.user&&null!=t.user.points?s("div",{class:["prizes__membership",{"--active":t.user.points>=30}],domProps:{innerHTML:t._s(t.label)}}):t._e(),s("h1",{staticClass:"page__title"},[t._v("Колесо фортуны")]),s("p",[t._v("Крутите колесо и выигрывайте гарантированные призы.")]),s("div",{staticClass:"fortune__prizes"},t._l(t.prizes,function(e){return s("div",{key:e.id,staticClass:"fortune__prize",on:{click:function(s){t.select(e.id)}}},[s("span",[t._v(" "+t._s(e.title)+" ")]),s("img",{attrs:{src:e.preview,alt:e.title}})])})),s("div",{staticClass:"row"},[s("Wheel",{staticClass:"king",attrs:{startRoll:t.startRoll},on:{won:t.wonFirstPrize}}),t.userIsAuth&&!t.fortuneOrdered?[t.firstPrize?s("Button",{on:{click:function(e){t.select(t.firstPrize.id)}}},[t._v("Получить приз")]):s("Button",{attrs:{disabled:t.buttonDisable},on:{click:t.roll}},[t._v("Крутить колесо")])]:t._e()],2)])]),t.selectedPrize?s("PrizePopup",{attrs:{image:t.image,description:t.description,color:t.color,title:t.title,wonTitle:t.wonTitle,winner:t.winner,firstPrize:t.firstPrize},on:{close:function(e){t.selectedPrize=null},take:t.takePrize}}):t._e(),t.orderPrize?s("OrderPrize",{key:"first",attrs:{prizes:t.prizes,prize:t.firstPrize,points:t.userPoints,isFirstPrize:!0},on:{close:t.orderedFirstPrize}}):t._e(),t.orderSecondPrize?s("OrderPrize",{key:"second",attrs:{prizes:t.prizes,points:t.userPoints,isFirstPrize:!1},on:{close:function(e){t.orderSecondPrize=!1}}}):t._e(),s("div",{staticClass:"page__footer"},[s("Footer")],1)],1)},di=[],pi=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"popup"},[s("div",{staticClass:"overlay",on:{click:function(e){t.$emit("close")}}}),s("transition",{attrs:{name:"popup"}},[s("div",{staticClass:"modal"},[s("button",{staticClass:"close",on:{click:function(e){t.$emit("close")}}}),s("div",{staticClass:"top",style:{background:t.color}},[s("img",{attrs:{src:t.image,alt:t.title}})]),s("div",{staticClass:"main"},[s("h1",[t._v("\n          "+t._s(t.winner?"Поздравляем! Вы выиграли "+t.wonTitle.toLowerCase():t.title)+"\n        ")]),t.winner?t._e():s("p",{domProps:{innerHTML:t._s(t.description)}}),t.winner?s("Button",{on:{click:function(e){t.$emit("take")}}},[t._v("Получить")]):t._e()],1)])])],1)},hi=[],_i={name:"PrizePopup",components:{Button:C["a"]},props:{image:{type:String,required:!0},description:{type:String,required:!0},color:{type:String,required:!0},title:{type:String,required:!0},winner:{type:Boolean,required:!0},wonTitle:{type:String,required:!0}},computed:{}},fi=_i,vi=(s("9233"),Object(l["a"])(fi,pi,hi,!1,null,"e3fcb304",null));vi.options.__file="PrizePopup.vue";var mi=vi.exports,gi=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"popup"},[s("div",{staticClass:"overlay",on:{click:function(e){t.$emit("close")}}}),s("div",{staticClass:"modal"},[s("div",{staticClass:"header"},[s("button",{staticClass:"close",on:{click:function(e){t.$emit("close")}}})]),1===t.step?s("div",{staticClass:"body"},[s("h1",[t._v("Куда отправить?")]),s("vSelect",{staticClass:"select",attrs:{options:t.prizes,searchable:!1,clearSearchOnSelect:!1,label:"title",noDrop:!!t.isFirstPrize},model:{value:t.selected,callback:function(e){t.selected=e},expression:"selected"}}),s("div",{staticClass:"input",class:{focus:t.isFocused||t.addr.length}},[s("div",{staticClass:"placeholder"},[t._v("Введите адрес")]),s("vue-simple-suggest",{attrs:{list:t.onInputChange,"display-attribute":"value","value-attribute":"value",debounce:300},on:{focus:function(e){t.isFocused=!0},blur:t.onBlur,select:t.onSelect},model:{value:t.addr,callback:function(e){t.addr=e},expression:"addr"}})],1),s("Input",{attrs:{placeholder:"Комментарий"},model:{value:t.comment,callback:function(e){t.comment=e},expression:"comment"}}),s("p",{staticClass:"error"},[t._v(t._s(t.error))]),s("Button",{on:{click:t.send}},[t._v("Отправить")])],1):t._e(),2===t.step?s("div",{staticClass:"body"},[s("h1",[t._v("Спасибо! Заявка на получение приза создана.")]),t.points<40?s("p",[t._v("Хотите еще один приз? Наберите 40 баллов!")]):t._e(),s("Button",{on:{click:function(e){t.$emit("close")}}},[t._v("Вернуться к себе")])],1):t._e()])])},bi=[],wi=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"input",class:{focus:t.isFocused||t.value.length,error:t.error}},[s("div",{staticClass:"placeholder"},[t._v(t._s(t.placeholder))]),s("input",{attrs:{type:"text"},domProps:{value:t.value},on:{focus:function(e){t.isFocused=!0},blur:function(e){t.isFocused=!1},input:t.onInput}}),s("div",{staticClass:"error"},[t._v(t._s(t.error))])])},ki=[],xi={name:"PrizeInput",model:{prop:"value",event:"change"},props:{value:String,placeholder:String,error:String},data:function(){return{isFocused:!1}},computed:{},methods:{onInput:function(t){this.$emit("change",t.target.value)}}},Ci=xi,yi=(s("db62"),Object(l["a"])(Ci,wi,ki,!1,null,null,null));yi.options.__file="Input.vue";var Si=yi.exports,$i=s("4a7a"),Mi=s.n($i),zi=s("5111"),Ii={name:"OrderPrize",props:{prizes:Array,prize:Object,points:Number,isFirstPrize:Boolean},components:{Button:C["a"],Input:Si,vSelect:Mi.a,VueSimpleSuggest:zi["a"]},data:function(){return{addr:"",addrData:null,comment:"",selected:null,step:1,error:null,isFocused:!1,items:[]}},methods:{onSelect:function(t){t&&(this.addr=t.value,this.addrData=t)},onBlur:function(){var t=this.items[0];this.addr=t.value,this.addrData=t,this.isFocused=!1},onInputChange:function(){var t=Object(tt["a"])(regeneratorRuntime.mark(function t(e){var s,n;return regeneratorRuntime.wrap(function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,ni.a.post("".concat(L["a"],"user/dadata/suggestions"),{address:e},{withCredentials:!0});case 2:return s=t.sent,n=s.data,this.items=n.suggestions,t.abrupt("return",n.suggestions);case 6:case"end":return t.stop()}},t,this)}));function e(e){return t.apply(this,arguments)}return e}(),send:function(){var t=Object(tt["a"])(regeneratorRuntime.mark(function t(){var e,s;return regeneratorRuntime.wrap(function(t){while(1)switch(t.prev=t.next){case 0:if(!this.isFirstPrize){t.next=13;break}return t.prev=1,t.next=4,Object(L["r"])({address_string:this.addr,address_object:this.addrData.data,comment:this.comment.slice(0,100)});case 4:e=t.sent,e.ok&&(this.step=2),t.next=11;break;case 8:t.prev=8,t.t0=t["catch"](1),this.error=t.t0.message||"Ошибочка, проверьте данные";case 11:t.next=23;break;case 13:return t.prev=13,t.next=16,Object(L["t"])({second_prize:this.selected.id,address_string:this.addr,address_object:this.addrData.data,comment:this.comment.slice(0,100)});case 16:s=t.sent,s.ok&&(this.step=2),t.next=23;break;case 20:t.prev=20,t.t1=t["catch"](13),this.error=t.t1.message||"Ошибочка, проверьте данные";case 23:case"end":return t.stop()}},t,this,[[1,8],[13,20]])}));function e(){return t.apply(this,arguments)}return e}()},beforeMount:function(){this.selected=this.prize},computed:{}},Oi=Ii,Pi=(s("5c33"),s("2f69"),s("b577"),Object(l["a"])(Oi,gi,bi,!1,null,"17338013",null));Pi.options.__file="OrderPrize.vue";var ji=Pi.exports,Bi=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"wrap"},[n("img",{staticClass:"king",attrs:{src:s("aa34")}}),n("img",{staticClass:"wheel",style:t.style,attrs:{id:"wheel",src:s("681f")}}),n("img",{staticClass:"hand",attrs:{id:"hand",src:s("6082")}})])},Ei=[],Di=(s("04ff"),[{id:1,to:120},{id:2,to:300},{id:3,to:60},{id:4,to:240},{id:5,to:360},{id:6,to:180}]),Li={name:"Wheel",props:{startRoll:Boolean,rollOffset:Number},watch:{startRoll:function(){var t=Object(tt["a"])(regeneratorRuntime.mark(function t(){var e,s,n,i=this;return regeneratorRuntime.wrap(function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,Object(L["m"])();case 2:e=t.sent,this.fortune=e.fortune,this.fortune&&(s=Number.parseInt(3*Math.random()+3),n=Di.find(function(t){return t.id===i.fortune}),this.spinTo(s,360*s+n.to));case 5:case"end":return t.stop()}},t,this)}));function e(){return t.apply(this,arguments)}return e}()},data:function(){return{spining:!1,spinTwin:null,fortune:null}},computed:{style:function(){return void 0!==this.rollOffset?{transform:"rotate(".concat(this.rollOffset,"deg)"),willChange:"transform"}:null}},methods:{spinTo:function(t,e){var s=this,n=Object($["b"])(document.getElementById("wheel"));this.spinTwin=Object($["c"])({from:0,duration:1e4,to:e,ease:$["a"].backOut}).start({update:function(t){n.set("rotate",t)},complete:function(){s.$emit("won",s.fortune)}})}}},Ti=Li,Ri=(s("0f21"),Object(l["a"])(Ti,Bi,Ei,!1,null,"58fd8499",null));Ri.options.__file="Wheel.vue";var Fi=Ri.exports,Ni=[{id:1,title:"Ежедневник",wonTitle:"Ежедневник",image:s("4188"),preview:s("0b6f"),color:"#9dc7ec",description:"Фиксируйте амбициозные задачи и&nbsp;не&nbsp;забывайте: ежедневно перед нами появляются новые, почти невыполнимые вызовы."},{id:2,title:"Значки",wonTitle:"Значки",image:s("e3f5"),preview:s("b4f0"),color:"#f4cdd4",description:"Щемящие сердце наклейки о&nbsp;любви сменились не&nbsp;менее пронзительными значками о&nbsp;работе."},{id:3,title:"Календарь",wonTitle:"Календарь",image:s("4cfa"),preview:s("30bb"),color:"#9dc7ec",description:"Мотивационный календарь-планер на&nbsp;2019-2020 годы позволяет вам фиксировать дни, когда вы&nbsp;проспали, укладывались в&nbsp;дедлайн, получали зарплату и&nbsp;гуляли на&nbsp;вечеринках."},{id:4,title:"Кружка",wonTitle:"Кружку",image:s("05f5"),preview:s("073a"),color:"#f4cdd4",description:"Лучший повод беречь офисную посуду и&nbsp;всегда помнить о&nbsp;чутком управленческом таланте босса."},{id:5,title:"Колода карт",wonTitle:"Колоду карт",image:s("e370"),preview:s("5d32"),color:"#9dc7ec",description:"Тонкий символ подковерных офисных интриг: вершащие судьбы работников короли, чарующие дамы и&nbsp;никчемные шестерки."},{id:6,title:"Носки",wonTitle:"Носки",image:s("67df"),preview:s("cfbb"),color:"#f4cdd4",description:"Один подворот, и&nbsp;все окружающие увидят, что вы&nbsp;идете в&nbsp;ногу с&nbsp;начальником. А&nbsp;приподнятая штанина напомнит вам о&nbsp;самом важном моменте дня."}],Ai={name:"Fortune",data:function(){return{selectedPrize:null,prizes:Ni,winner:!1,orderPrize:!1,isRotating:!1,firstPrize:null,startRoll:!1,orderSecondPrize:null,fortuneOrdered:!1}},computed:{image:function(){return this.selectedPrize?this.selectedPrize.image:null},description:function(){return this.selectedPrize?this.selectedPrize.description:null},color:function(){return this.selectedPrize?this.selectedPrize.color:null},title:function(){return this.selectedPrize?this.selectedPrize.title:null},wonTitle:function(){return this.selectedPrize?this.selectedPrize.wonTitle:null},label:function(){return this.user.points>=30?"Вы участвуете":"Для участия\n          наберите ещё\n          ".concat(30-this.user.points,"&nbsp;").concat(Object(ge["noun"])(30-this.user.points,"балл","балла","баллов"))},user:function(){return this.$root.user||null},userIsAuth:function(){return!!this.user&&!this.user.isNotAuthorized},userPoints:function(){return this.user?this.user.points:null},buttonDisable:function(){return!!this.isRotating||(!!this.firstPrize||(!this.user||this.user.points<30))},secondPrize:function(){return"second"===this.$route.params.secondPrize}},methods:{close:function(){this.$router.push("/")},format:function(t,e){return ai()({suffix:e?" ₽":"",integerSeparator:" "})(t)},select:function(t){this.selectedPrize=this.firstPrize||this.prizes.find(function(e){return e.id===t})},roll:function(){var t=Object(tt["a"])(regeneratorRuntime.mark(function t(){return regeneratorRuntime.wrap(function(t){while(1)switch(t.prev=t.next){case 0:this.isRotating=!0,this.startRoll=!0;case 2:case"end":return t.stop()}},t,this)}));function e(){return t.apply(this,arguments)}return e}(),takePrize:function(){this.firstPrize=this.selectedPrize,this.selectedPrize=null,this.orderPrize=!0},wonFirstPrize:function(t){this.select(t),this.winner=!0,this.isRotating=!1},orderedFirstPrize:function(){this.orderPrize=!1,this.winner=!1,this.firstPrize=null},noun:ge["noun"]},components:{Footer:Ns,Button:C["a"],PrizePopup:mi,OrderPrize:ji,Wheel:Fi},beforeMount:function(){var t=Object(tt["a"])(regeneratorRuntime.mark(function t(){var e,s,n;return regeneratorRuntime.wrap(function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,Object(L["b"])();case 2:e=t.sent,s=e.fortune,n=e.fortune_ordered,this.fortuneOrdered=n,s&&!n&&(this.firstPrize=Ni.find(function(t){return t.id===s}),this.select(s),this.winner=!0),this.secondPrize&&(this.orderSecondPrize=!0);case 8:case"end":return t.stop()}},t,this)}));function e(){return t.apply(this,arguments)}return e}()},Hi=Ai,qi=(s("2a9f"),Object(l["a"])(Hi,ui,di,!1,null,null,null));qi.options.__file="Fortune.vue";var Wi=qi.exports,Vi=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"ficus"},[s("div",{staticClass:"page__main"},[t.$route.params.token?t._e():s("div",{staticClass:"ficus__my"},[s("button",{staticClass:"page__close",attrs:{type:"button"},on:{click:t.close}}),s("div",{staticClass:"ficus__content"},[s("div",{staticClass:"page__info"},[s("h1",{staticClass:"page__title"},[t._v("Вырастить Фикус")]),s("p",[t._v("\n            Это ваш фикус. Поделитесь им с друзьями\n            и коллегами. Как только они польют его хотя бы\n            3 раза, он вырастет и принесет баллы.\n          ")]),s("div",{staticClass:"ficus__buttons"},[s("button",{staticClass:"ficus__button --vk",on:{click:function(e){t.share("vk")}}},[t._v("\n              VK\n            ")]),s("button",{staticClass:"ficus__button --fb",on:{click:function(e){t.share("fb")}}},[t._v("\n              FB\n            ")])])]),s("div",{staticClass:"ficus__ficus"},[t.user&&"ficus_likes"in t.user?s("img",{attrs:{src:t.ficusSrc,alt:""}}):t._e()])])]),t.$route.params.token&&t.ficusOwner?s("div",{staticClass:"ficus__other"},[s("div",{staticClass:"ficus__other-inner"},[s("div",{staticClass:"home__logo"}),s("div",{staticClass:"home__user"},[s("div",{staticClass:"home__user-avatar"},[s("Ava",{attrs:{avaData:t.ficusOwner.avatar_data}})],1),s("div",{staticClass:"home__user-info"},[s("div",{staticClass:"home__user-name"},[t._v(t._s(t.ficusOwner.first_name))]),s("div",{staticClass:"home__user-position"},[t._v("\n              "+t._s(t.ficusOwner.career_guidance)+"\n            ")])])]),s("div",{staticClass:"page__info"},[s("h1",{staticClass:"page__title"},[t._v("\n            "+t._s(t.isCompleted?"Спасибо что полили фикус, а теперь работать!":"Привет!")+"\n          ")]),t.isCompleted?t._e():s("p",[t._v("\n            Вы попали в кабинет "+t._s(t.genetiveName)+", где растет\n            фикус — гордость каждого работяги. Нажмите\n            на кнопку «Полить»: это принесет владельцу\n            дополнительные шансы на выигрыш денежного приза. Хотите\n            премию?\n            "),s("a",{attrs:{href:"https://rabotyaga.rocketbank.ru",target:"_blank"}},[t._v("Присоединяйтесь к Работяге!")])]),t.isCompleted||t.ficusOwner.is_owner?t._e():s("div",{key:"do",staticClass:"button",on:{click:t.complete}},[t._v("\n            Полить\n          ")]),t.isCompleted?s("router-link",{key:"done",staticClass:"button",attrs:{tag:"div",to:"/home"}},[t._v("\n            Вернуться к себе\n          ")]):t._e()],1),t.ficusOwner?s("Workspace",{attrs:{user:t.ficusOwner}}):t._e()],1),Object.keys(t.user).length&&!t.user.isNotAuthorized||t.isLoginShown||!t.isPopupShown?t._e():s("Page",{attrs:{withHead:!1,withClose:!0},on:{close:function(e){t.isPopupShown=!1}}},[s("div",{staticClass:"ficus__who-are-you"},[s("h1",[t._v("Вы участник?")]),s("p",[t._v("\n            Дело в том, что полить фикус "+t._s(t.genetiveName)+" могут только\n            участники конкурса Работяга.\n          ")]),s("div",{staticClass:"ficus__buttons"},[s("Button",{on:{click:function(e){t.isLoginShown=!0}}},[t._v("Я уже участник")]),s("a",{attrs:{target:"_blank",href:"/"}},[t._v("Что за конкурс?")])],1)])]),Object.keys(t.user).length&&!t.user.isNotAuthorized||!t.isLoginShown?t._e():s("div",[s("Login",{attrs:{mode:"popup"},on:{success:t.onLogin,close:t.onLoginClose,back:t.onLoginBack}})],1)],1):t._e()]),s("div",{staticClass:"page__footer"},[s("Footer")],1)])},Xi=[],Ui=s("0aca"),Yi=s.n(Ui),Gi=function(t){return t.keys().map(function(e){return{name:/\.\/(.+)\.svg/gi.exec(e)[1],img:t(e)}})},Zi=Gi(s("aba1")),Qi=function(t){return t.quests=t.completed_quests.map(function(t){return{quest_id:t,completed_at:!0}}),t},Ji=5,Ki={vk:function(t,e,s,n){var i="http://vk.com/share.php?";i+="url="+encodeURIComponent(t),Ki.popup(i)},fb:function(t,e,s,n){var i="https://www.facebook.com/sharer.php?";i+="u="+encodeURIComponent(t),Ki.popup(i)},popup:function(t){Object(L["v"])(Ji),window.open(t,"","toolbar=0,status=0,width=626,height=436")}},ta={name:"Ficus",data:function(){return{user:{},ficusOwner:null,isCompleted:!1,isLoginShown:!1,isPopupShown:!1,questId:Ji}},computed:{ficusSrc:function(){return Zi[Math.min(this.user.ficus_likes,4)].img},genetiveName:function(){return 0===this.ficusOwner.gender?this.ficusOwner.first_name?Yi.a.female.first.genitive(this.ficusOwner.first_name):null:this.ficusOwner.first_name?Yi.a.male.first.genitive(this.ficusOwner.first_name):null}},methods:{close:function(){this.$router.push("/home")},share:function(t){Ki[t]("".concat(location.origin,"/ficus/").concat(this.user.ficus_url),"Полить фикус","https://previews.123rf.com/images/kav777/kav7771602/kav777160200006/53827093-young-ficus-benjamina-kinky-a-potted-plant-isolated-over-white.jpg","Полейте фикус мне, прошу")},complete:function(){var t=Object(tt["a"])(regeneratorRuntime.mark(function t(){return regeneratorRuntime.wrap(function(t){while(1)switch(t.prev=t.next){case 0:if(Object.keys(this.user).length&&!this.user.isNotAuthorized){t.next=3;break}return this.isPopupShown=!0,t.abrupt("return");case 3:return t.prev=3,t.next=6,Object(L["k"])(this.$route.params.token);case 6:t.sent,this.isCompleted=!0,t.next=13;break;case 10:t.prev=10,t.t0=t["catch"](3),this.isCompleted=!0;case 13:case"end":return t.stop()}},t,this,[[3,10]])}));function e(){return t.apply(this,arguments)}return e}(),fetchFicusOwner:function(){var t=Object(tt["a"])(regeneratorRuntime.mark(function t(){var e;return regeneratorRuntime.wrap(function(t){while(1)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,Object(L["g"])(this.$route.params.token);case 3:e=t.sent,this.ficusOwner=Qi(e),e.can_like||e.is_owner||(this.isCompleted=!0),t.next=11;break;case 8:t.prev=8,t.t0=t["catch"](0),console.error("getting ficus owner data error",t.t0);case 11:case"end":return t.stop()}},t,this,[[0,8]])}));function e(){return t.apply(this,arguments)}return e}(),onLoginClose:function(){this.isPopupShown=!1,this.isLoginShown=!1},onLoginBack:function(){this.isPopupShown=!0,this.isLoginShown=!1},onLogin:function(){var t=this,e=this.$root.$watch("user",function(s){e(),t.user=s});this.$root.$emit("fetchUser"),this.fetchFicusOwner()}},components:{Footer:Ns,Ava:D,Button:C["a"],Workspace:xs,Login:hn,Page:ie["a"]},beforeMount:function(){var t=Object(tt["a"])(regeneratorRuntime.mark(function t(){var e,s,n=this;return regeneratorRuntime.wrap(function(t){while(1)switch(t.prev=t.next){case 0:e=new Date,this.date="".concat(e.getHours(),":").concat(e.getMinutes()),this.user=this.$root.user,s=this.$root.$watch("user",function(t){s(),n.user=t}),this.$route.params.token&&this.fetchFicusOwner();case 5:case"end":return t.stop()}},t,this)}));function e(){return t.apply(this,arguments)}return e}()},ea=ta,sa=(s("e7e8"),Object(l["a"])(ea,Vi,Xi,!1,null,null,null));sa.options.__file="Ficus.vue";var na=sa.exports,ia=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"avatar-constructor"},[s("Page",{attrs:{withHead:!1,withClose:!1}},[s("h1",[t._v("Настройка персонажа")]),s("div",{staticClass:"avatar-constructor__top"},[s("button",{on:{click:t.randomize}},[t._v("Рандомно")]),s("Ava",{attrs:{avaData:t.avaData}}),s("button",{on:{click:t.randomize}},[t._v("Рандомно")])],1),s("div",{staticClass:"avatar-constructor__categories"},t._l(Object.keys(t.genderCategories),function(e){return s("div",{key:e,class:["avatar-constructor__category",{"is-active":e===t.currentCategoryName}],on:{click:function(){return t.switchCategory(e)}}},[t._v("\n        "+t._s(t.config.categories[e].name)+"\n      ")])})),null!=t.currentCategory.palette?s("div",{staticClass:"avatar-constructor__palette"},t._l(t.config.palettes[t.currentCategory.palette],function(e,n){return s("div",{class:["avatar-constructor__color",{"is-active":n===t.avaData[t.currentCategoryName+"_color"]-1}],style:{"background-color":e},on:{click:function(){return t.switchColor(n,t.currentCategoryName)}}})})):t._e(),s("div",{class:["avatar-constructor__items","--"+t.currentCategoryName,"--last-row-"+(t.layers[t.currentCategoryName].length+(t.config.categories[t.currentCategoryName].canBeNull?1:0))%4]},[t.config.categories[t.currentCategoryName].canBeNull?s("div",{class:["avatar-constructor__item",{"is-active":null==t.avaData[t.currentCategoryName]}],on:{click:function(){return t.switchItem(null,t.currentCategoryName)}}},[s("Ava",{attrs:{avaData:t.getAvaDataForItem(null)}})],1):t._e(),t._l(t.layers[t.currentCategoryName],function(e,n){return s("div",{class:["avatar-constructor__item",{"is-active":n===t.avaData[t.currentCategoryName]}],on:{click:function(){return t.switchItem(n,t.currentCategoryName)}}},[s("Ava",{attrs:{avaData:t.getAvaDataForItem(n)}})],1)})],2),s("div",{staticClass:"avatar-constructor__bottom"},[s("Button",{on:{click:t.save}},[t._v("Готово")]),s("button",{on:{click:t.reset}},[t._v("Сбросить")])],1)])],1)},aa=[],ra=s("fc11"),oa=s("efdb"),ca={palettes:[["#ffcccc","#fdd5b0","#ecbe9e","#b98a6d","#926b4e","#624a35"],["#efefef","#ffffcc","#cc9966","#996633","#4c3319","#000000","#999999","#669933","#9dc7ec","#ffcb00","#ff6600","#ff6666"]],categories:{head:{name:"Голова",palette:0},ears:{name:"Уши",palette:1},hair:{name:"Прическа",palette:1,canBeNull:!0},eyebrows:{name:"Брови",palette:1},bags:{name:"Мешки"},nose:{name:"Нос и губы"},mustache:{name:"Усы",canBeNull:!0,palette:1,gender:1},beard:{name:"Борода",canBeNull:!0,palette:1,gender:1},glasses:{name:"Очки",canBeNull:!0,palette:1}}},la=ca,ua=0===parseInt(localStorage.getItem("gender"))?{head:2,head_color:1,hair:0,hair_color:6,eyebrows:5,eyebrows_color:6,nose:2,bags:0,ears:4,ears_color:11,beard:null,beard_color:6,mustache:null,mustache_color:6,glasses:null,glasses_color:6}:{head:2,head_color:1,hair:1,hair_color:6,eyebrows:4,eyebrows_color:6,nose:6,bags:1,ears:0,ears_color:11,beard:null,beard_color:6,mustache:null,mustache_color:6,glasses:null,glasses_color:6},da={name:"AvatarConstructor",data:function(){return{avaData:Object(oa["a"])({},ua),currentCategoryName:"head",config:la,layers:P}},computed:{currentCategory:function(){return la.categories[this.currentCategoryName]},genderCategories:function(){var t=this,e={};return Object.keys(this.config.categories).forEach(function(s){var n=t.config.categories[s];"gender"in n&&n.gender!==parseInt(localStorage.getItem("gender"))||(e[s]=n)}),e}},components:{Ava:D,Button:C["a"],Page:ie["a"]},methods:{save:function(){var t=Object(tt["a"])(regeneratorRuntime.mark(function t(){return regeneratorRuntime.wrap(function(t){while(1)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,Object(L["n"])(this.avaData);case 3:this.$router.push("test"),t.next=9;break;case 6:t.prev=6,t.t0=t["catch"](0),console.error("save ava err",t.t0);case 9:case"end":return t.stop()}},t,this,[[0,6]])}));function e(){return t.apply(this,arguments)}return e}(),reset:function(){this.avaData=Object(oa["a"])({},ua)},getAvaDataForItem:function(t){return Object(oa["a"])({},this.avaData,Object(ra["a"])({},this.currentCategoryName,t))},switchItem:function(t){this.avaData[this.currentCategoryName]=t},switchCategory:function(t){this.currentCategoryName=t},switchColor:function(t,e){this.avaData[e+"_color"]=t+1},randomize:function(){var t=this;Object.keys(this.genderCategories).forEach(function(e){"hair"!==e&&la.categories[e].canBeNull&&Math.random()>.5?t.avaData[e]=null:t.avaData[e]=Math.round(Math.random()*(P[e].length-1)),null!=la.categories[e].palette&&(t.avaData[e+"_color"]=1+Math.round(Math.random()*(la.palettes[la.categories[e].palette].length-1)))})}},beforeMount:function(){this.$root.user&&this.$root.user.avatar_data&&this.$router.replace("home")}},pa=da,ha=(s("d1e3"),Object(l["a"])(pa,ia,aa,!1,null,null,null));ha.options.__file="AvatarConstructor.vue";var _a=ha.exports,fa=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{ref:"main",staticClass:"landing",attrs:{id:"main"}},[null===t.isAuthorized?n("Loading"):t._e(),n("div",{staticClass:"page__main"},[n("div",{directives:[{name:"show",rawName:"v-show",value:null!==t.isAuthorized,expression:"isAuthorized !== null"}],staticClass:"landing__content"},[n("div",{staticClass:"landing__rocket-logo"}),n("div",{staticClass:"landing__slides"},[n("div",{ref:"slide-1",staticClass:"landing__slide --slide-1"},[n("div",{staticClass:"landing__info",style:{transform:"translateY(-50%) translateX(-"+t.slides[0].left+"px)"}},[n("img",{attrs:{src:s("9b19"),alt:""}}),n("p",[t._v("\n              99,9% сотрудников — крутые профессионалы, как\n              и Вы. Но есть Работяги — уникумы, которые\n              в рабочее время успевают выполнить десятки сложных дел.\n              И даже немного поработать. Особенно, когда можно получить\n              премию.\n            ")]),n("div",{staticClass:"landing__info-bottom"},[n("Button",{on:{click:t.start}},[t._v("Участвовать")])],1)]),n("img",{staticClass:"landing__img",attrs:{src:s("36ee"),alt:""}})]),n("div",{ref:"slide-2",staticClass:"landing__slide --slide-2"},[n("div",{staticClass:"landing__info",style:{transform:"translateY(-50%) translateX(-"+t.slides[1].left+"px)"}},[n("h1",[t._v("До 5 000 000 ₽")]),n("p",[t._v("\n              Впервые мы разыгрываем деньги. Чем больше участников, тем\n              больше призовой фонд.\n            ")]),n("div",{staticClass:"landing__info-bottom"},[n("Button",{attrs:{white:""},on:{click:function(e){t.$router.push("prizes")}}},[t._v("Подробнее")])],1)]),n("img",{staticClass:"landing__img",attrs:{src:s("2fe3"),alt:""}})]),n("div",{ref:"slide-3",staticClass:"landing__slide --slide-3"},[n("div",{staticClass:"landing__info",style:{transform:"translateY(-50%) translateX(-"+t.slides[2].left+"px)"}},[n("h1",[t._v("Премия ждет усердных")]),t._m(0),n("div",{staticClass:"landing__info-bottom"},[n("Button",{attrs:{white:""},on:{click:function(e){t.$router.push("fortune")}}},[t._v("Подробнее")])],1)]),n("img",{staticClass:"landing__img --mobile",attrs:{src:s("9b1d")}}),n("Wheel",{staticClass:"landing__img --desktop",attrs:{rollOffset:t.scrollLeft/10}})],1),n("div",{ref:"slide-4",staticClass:"landing__slide --slide-4"},[n("div",{staticClass:"landing__info",style:{transform:"translateY(-50%) translateX(-"+t.slides[3].left+"px)"}},[n("h1",[t._v("Самое время взяться за работу")]),n("p",[t._v("Станьте одним из тех, кто заберет премию.")]),n("div",{staticClass:"landing__info-bottom"},[n("Button",{on:{click:t.start}},[t._v("Участвовать")])],1)]),n("img",{staticClass:"landing__img",attrs:{src:s("8a70"),alt:""}}),n("img",{staticClass:"landing__img --portrait",attrs:{src:s("d55b"),alt:""}})]),t._m(1),n("button",{directives:[{name:"show",rawName:"v-show",value:t.currentSlideIndex<t.slides.length-1,expression:"currentSlideIndex < slides.length - 1"}],staticClass:"landing__next",on:{click:t.next}})])])]),n("div",{staticClass:"page__footer"},[n("Footer")],1)],1)},va=[function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("p",[t._v("\n              За каждое пройденное задание Вы получаете баллы. Чем\n              больше баллов, тем выше шансы на выигрыш премии."),s("br"),t._v("\n              Выполнили все задания? Гарантированный приз — ваш.\n            ")])},function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"landing__boss"},[n("img",{attrs:{src:s("4434"),alt:""}})])}],ma=s("f13c"),ga=s.n(ma),ba=s("8114"),wa=s.n(ba),ka=4,xa={container:"#main",easing:"ease-out",offset:0,force:!0,cancelable:!0,x:!0,y:!0},Ca={name:"Landing",components:{Footer:Ns,Button:C["a"],Loading:Es,Wheel:Fi},data:function(){return{isAuthorized:null,scrollLeft:0,slideScrollLeft:0,currentSlideIndex:0,slides:Array.from({length:ka}).map(function(){return{left:0}}),isMobile:wa.a.phone}},methods:{start:function(){this.$router.push("home")},next:function(){this.scrollTo(this.currentSlideIndex+2)},scrollTo:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:500;return ga.a.scrollTo(this.$refs["slide-"+t],e,xa)},onScroll:function(){var t,e=window.innerWidth,s=e/2,n=this.$refs.main.scrollLeft;this.scrollLeft=n,n%e>s?(this.currentSlideIndex=Math.ceil(n/e),t=2*s-n%e,this.slides[this.currentSlideIndex].left=t/2.5):n<s&&(this.currentSlideIndex=0)},onWheel:function(t){0!==t.deltaY&&(t.preventDefault(),this.$refs.main.scrollLeft=this.$refs.main.scrollLeft+t.deltaY+t.deltaX)},checkUser:function(t){t.isNotAuthorized||this.$route.path.includes("landing")||this.$router.push("home"),this.isAuthorized=!!t}},mounted:function(){var t=window.innerWidth,e=t/2;this.slides[0].left=0,this.slides.forEach(function(t,s){s>0&&(t.left=e/2.5)}),wa.a.phone||(this.$refs.main.addEventListener("wheel",this.onWheel),this.$refs.main.addEventListener("scroll",this.onScroll))},beforeMount:function(){var t=this,e=this.$root.$watch("user",function(s){t.checkUser(s),e()});this.$root.user&&this.checkUser(this.$root.user)},beforeDestroy:function(){this.$refs.main.removeEventListener("scroll",this.onScroll,{passive:!0}),this.$refs.main.removeEventListener("wheel",this.onWheel)}},ya=Ca,Sa=(s("038f"),Object(l["a"])(ya,fa,va,!1,null,null,null));Sa.options.__file="Landing.vue";var $a=Sa.exports,Ma=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{attrs:{id:"faq"}},[t.showBack?n("button",{on:{click:t.back}},[n("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24"}},[n("g",{attrs:{stroke:"#000","stroke-linejoin":"round","stroke-width":"4"}},[n("path",{attrs:{d:"M2 2l20 20M2 22L22 2"}})])])]):t._e(),n("h2",[t._v("FAQ")]),n("p",[t._v("\n    99,9% сотрудников — крутые профессионалы, как и вы. Но есть Работяги —\n    уникумы, которые в рабочее время успевают выполнить десятки сложных дел. И\n    даже немного поработать. Особенно, когда можно получить премию.\n  ")]),n("h3",{attrs:{id:"dates"}},[t._v("Сроки")]),n("p",[t._v("С 21 марта по 10 мая. Розыгрыш призового фонда 14 мая.")]),n("h3",{attrs:{id:"prizes"}},[t._v("Что мы разыгрываем")]),n("p",[t._v("\n    Впервые мы разыгрываем деньги — до 5 000 000 рублей. Чем больше\n    участников, тем больше призовой фонд. Начинаем с 500 тыс. рублей и\n    увеличиваем эту сумму с каждым N количеством участников акции.\n  ")]),n("img",{attrs:{src:s("a0c3")}}),n("p",[t._v("\n    Призовой фонд делится на премии размером в 25, 50, 100 и 250 тыс. руб. Чем\n    больше фонд, тем больше таких премий. Следить за фондом можно тут:\n    "),n("router-link",{attrs:{to:"/prizes"}},[t._v("https://rabotyaga.rocketbank.ru/prizes")]),t._v(". Все премии указаны уже за вычетом налога. Премия будет переведена на\n    карту Рокетбанка.\n  ")],1),n("img",{attrs:{src:s("0156")}}),n("p",[t._v("\n    Если в течение 30 календарных дней со дня подведения итогов кто-то из\n    победителей не заберет приз, его премию пожертвуем в один из\n    благотворительных фондов.\n  ")]),n("h3",{attrs:{id:"sure-win"}},[t._v("Гарантированные призы")]),n("p",[t._v("\n    По мере прохождения заданий вы набираете баллы. Как только достигните\n    отметки в 30 баллов, сможете получить гарантированный приз.\n  ")]),n("img",{attrs:{src:s("23b5")}}),n("p",[t._v("\n    Раскрутите колесо фортуны и выиграйте 1 из 6 призов. Если вы наберете 40\n    баллов, мы предложим уже самостоятельно выбрать приз.\n  ")]),n("img",{attrs:{src:s("6d09")}}),n("p",[t._v("\n    Их доставка осуществляется за наш счет в течение 3 месяцев с момента\n    отправки формы для доставки.\n  ")]),n("h3",{attrs:{id:"how"}},[t._v("Что нужно сделать для победы")]),t._m(0),n("h2",{attrs:{id:"quests"}},[t._v("Задания")]),n("p",[t._v("\n    Здесь собрали описания заданий, которые могут вызвать у вас вопросы.\n    Надеемся, с остальными трудностей не возникнет :)\n  ")]),n("h3",{attrs:{id:"search"}},[t._v("Поиск по картинкам")]),t._m(1),n("img",{attrs:{src:s("78b1")}}),n("p",[t._v("\n    Можно писать нам в личных сообщениях в социальных сетях, на почту, в\n    поддержку, звонить на горячую линию, но все будет бесполезным. Ответы мы\n    не подскажем, рассчитывать нужно только на свои силы и внимательность.\n  ")]),n("h3",{attrs:{id:"ficus"}},[t._v("Вырастить фикус")]),n("p",[t._v("\n    Этого малыша нужно регулярно поливать, точнее — 3 раза. Сделать это могут\n    только ваши друзья-участники акции.\n  ")]),n("img",{attrs:{src:s("6a49")}}),n("p",[t._v("Механика следующая:")]),t._m(2),n("p",[t._v("4 балла — ваши!")]),n("h3",{attrs:{id:"card"}},[t._v("Заглянуть в бухгалтерию")]),n("p",[t._v("\n    Суть задания — стать клиентом Рокетбанка. Если уже давно справились с\n    этим, задание будет пройдено автоматически, и 4 балла пополнят вашу\n    копилку. Если вы еще не клиент, закажите карту и устраните этот\n    недостаток.\n  ")]),n("h3",{attrs:{id:"solitaire"}},[t._v("Косынка")]),n("p",[t._v("Тут все просто, если вы умеете раскладывать косынку.")]),n("img",{attrs:{src:s("defb")}}),t._m(3),n("img",{attrs:{src:s("9290")}}),t._m(4),n("img",{attrs:{src:s("c9ad")}}),t._m(5),n("h3",{attrs:{id:"courier"}},[t._v("Встретить курьера")]),n("p",[t._v("\n    После того, как нажмете на кнопку «Встретить курьера», ровно через 15\n    часов на почту придет письмо. У вас будет 10 минут, чтобы успеть к\n    курьеру, пройдя по ссылке из письма. Если не успеете, нужно будет начинать\n    сначала.\n  ")]),n("h3",{attrs:{id:"gift"}},[t._v("На подарок шефу")]),n("p",[t._v("\n    Придется немного потратиться. Совершите картой Рокетбанка любую покупку на\n    200 рублей. Ровно 200, ни копейкой больше, ни копейкой меньше. Понимаем,\n    что непросто, поэтому это задание и есть в списке. Сразу предупредим, что\n    Оплата услуг в приложении или перевод не подойдут. Нужна именно покупка.\n  ")]),n("h3",{attrs:{id:"vacancy"}},[t._v("Закрыть вакансию")]),n("p",[t._v("\n    В вашей новой организации пустует рабочее место. Желающих на него много,\n    но есть возможность привести «своего человека». Пригласите друга в\n    Рокетбанк по специальной ссылке. Друг получит 500 рокетрублей, а вы —\n    пройденное задание и 5 баллов в копилку. Пригласить по этой ссылке можно 3\n    друзей, то есть, набрать 15 баллов.\n  ")]),n("h3",{attrs:{id:"run-away"}},[t._v("Как выйти из своего профиля")]),n("p",[t._v("\n    Нажмите на свой Аватар в левом верхнем углу, а затем — на кнопку «Выйти».\n    Так вы дадите возможность зарегистрироваться в акции или попасть в свой\n    кабинет другому пользователю.\n  ")]),n("img",{attrs:{src:s("d4e2")}})])},za=[function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("p",[t._v("\n    Для начала зарегистрируйтесь в акции. Для этого нужно указать свой номер\n    на стартовой странице и подтвердить участие кодом из смс. "),s("br"),s("br"),t._v("\n    Далее начните зарабатывать баллы. Как только наберете первые 10 баллов,\n    автоматически попадете в список участников, среди которых разыграем\n    главный приз. Каждый последующий балл увеличивает ваши шансы на победу.\n    "),s("br"),s("br"),t._v("\n    Победителей выберем случайным образом и объявим их 14 мая. "),s("br"),s("br"),t._v("\n    В акции могут принимать участие совершеннолетние резиденты РФ.\n  ")])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("p",[t._v("\n    Вам нужно дать ответ на три простых вопроса. Простых, потому что не\n    обязательно знать на них ответ. Его можно найти в нашем Инстаграме:\n    "),s("a",{attrs:{href:"https://www.instagram.com/rocketbank",target:"_blank"}},[t._v("https://www.instagram.com/rocketbank")]),t._v(".\n  ")])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("ul",[s("li",[t._v("поделитесь фикусом в социальных сетях (ВКонтакте или Facebook);")]),s("li",[t._v("друг пройдет по ссылке и нажмет кнопку «Полить»;")]),s("li",[t._v("3 нажатия от друзей, и задания пройдено.")])])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("p",[t._v("\n    Если нет, держите правила: "),s("br"),s("br"),t._v("\n    Цель игры — разложить карты по мастям в порядке от туза до короля в четыре\n    стопки (их иногда называют «домами»). В каждый из четырех домов сначала\n    кладутся тузы, затем двойки, тройки и так далее до короля.\n  ")])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("p",[t._v("\n    Основные события разворачиваются на главном игровом поле. Из 52-карточной\n    колоды первоначально раскладывают 28 карт в семь столбцов, в каждом из\n    которых количество карт равняется номеру столбца (в первом — одна, во\n    втором — 2 и т. д., в последнем, седьмом — 7 карт). Все карты в столбцах\n    закрыты, и только самые верхние карты в каждом столбце кладут открытыми.\n    "),s("br"),s("br"),t._v("\n    Карту можно перекладывать на другую рангом выше, но другого цвета.\n    Например: красная «3» ляжет только на черную «4».\n  ")])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("p",[t._v("\n    — пример собранной стопки в десигне нашего пасьянса "),s("br"),s("br"),t._v("\n    В освободившуюся стопку на главном игровом поле можно положить только\n    короля. Игра заканчивается, когда все карты разложены в дом.\n  ")])}],Ia={name:"Faq",data:function(){return{showBack:!1}},methods:{back:function(){this.$router.go(-1)}},beforeRouteEnter:function(t,e,s){s(function(t){"/"!==e.path&&(t.showBack=!0)})}},Oa=Ia,Pa=(s("67e6"),Object(l["a"])(Oa,Ma,za,!1,null,"212fa790",null));Pa.options.__file="Faq.vue";var ja=Pa.exports,Ba=function(){var t=this,e=t.$createElement,s=t._self._c||e;return t.loaded?s("div",{staticClass:"faces"},[s("div",{staticClass:"inner",style:{width:t.width,height:t.height}},[s("transition-group",{attrs:{name:"fade"}},t._l(t.faces,function(t){return s("div",{key:t.id,staticClass:"face",style:t.style},[s("Ava",{staticClass:"ava",attrs:{avaData:t.ava,blinking:!0}})],1)}))],1),t.count>0?s("div",{staticClass:"count"},[t._v(t._s(t.formattedCount))]):t._e()]):t._e()},Ea=[],Da={name:"Faces",components:{Ava:D},data:function(){return{loaded:!1,width:0,height:0,rows:0,cols:0,count:0,maxCount:0,faces:[]}},computed:{formattedCount:function(){return this.count.toString().replace(/\B(?=(\d{3})+(?!\d))/g," ")}},mounted:function(){var t=Object(tt["a"])(regeneratorRuntime.mark(function t(){var e,s,n,i,a;return regeneratorRuntime.wrap(function(t){while(1)switch(t.prev=t.next){case 0:return e=100,s=100,n=Math.floor(window.innerWidth/e),i=Math.floor(window.innerHeight/s),this.width=n*e+"px",this.height=i*s+"px",this.cols=n,this.rows=i,a=n*i,t.next=11,this.preload(a);case 11:this.maxCount=a,this.loaded=!0,this.initPusher();case 14:case"end":return t.stop()}},t,this)}));function e(){return t.apply(this,arguments)}return e}(),methods:{preload:function(){var t=Object(tt["a"])(regeneratorRuntime.mark(function t(){var e,s,n,i=this,a=arguments;return regeneratorRuntime.wrap(function(t){while(1)switch(t.prev=t.next){case 0:return e=a.length>0&&void 0!==a[0]?a[0]:100,t.next=3,ni.a.get("".concat(L["a"],"public/avatars?count=").concat(e));case 3:if(s=t.sent,n=s.data,n&&n.avatars&&n.avatars.length){t.next=7;break}return t.abrupt("return");case 7:this.count=n.current_count||0,this.faces=n.avatars.filter(function(t){return t}).slice(0,e).map(function(t){var e=t.id;return delete t.id,{ava:t,style:i.faceStyle(),id:e}});case 9:case"end":return t.stop()}},t,this)}));function e(){return t.apply(this,arguments)}return e}(),initPusher:function(){var t=Object(tt["a"])(regeneratorRuntime.mark(function t(){var e,s,n,i,a=this;return regeneratorRuntime.wrap(function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,ni.a.get("".concat(L["a"],"public/pusher"));case 2:if(e=t.sent,s=e.data,s&&s.key&&s.cluster){t.next=6;break}return t.abrupt("return");case 6:n=new ei.a(s.key,{cluster:s.cluster}),i=n.subscribe("users"),i.bind("avatar",function(t){a.count=t.current_count,a.updateAvatar(t.avatar,t.id)});case 9:case"end":return t.stop()}},t,this)}));function e(){return t.apply(this,arguments)}return e}(),updateAvatar:function(t,e){if(t&&e){var s={ava:t,id:e,style:this.faceStyle()};this.faces.length<this.maxCount?this.faces.push(s):this.faces.splice(this.randomCell(),1,s)}},randomCell:function(){var t=this.rnd(2,this.cols-2),e=this.rnd(2,this.rows-2);return t*e},faceStyle:function(){return{transform:"rotate(".concat(this.rnd(-5,5),"deg)")}},rnd:function(t,e){return Math.floor(Math.random()*(e-t)+t)}}},La=Da,Ta=(s("5411"),Object(l["a"])(La,Ba,Ea,!1,null,"09a78570",null));Ta.options.__file="Faces.vue";var Ra=Ta.exports,Fa=s("2b27"),Na=s.n(Fa);n["a"].config.productionTip=!1,n["a"].use(i["a"]),n["a"].component("Checkbox",p["Checkbox"]),n["a"].component("Radio",p["Radio"]);var Aa=new i["a"]({mode:"history",routes:[{path:"/",component:$a},{path:"/home",component:on},{path:"/login",name:"login",component:hn},{path:"/signup",component:En},{path:"/test",component:bn},{path:"/fortune/:secondPrize?",component:Wi},{path:"/prizes",component:li},{path:"/solitaire",component:Zt},{path:"/scroll",component:Vn},{path:"/agile",component:Qn},{path:"/dontsleep",component:Q},{path:"/ficus/:token?",component:na},{path:"/avatar",component:_a},{path:"/landing",component:$a},{path:"/faq",component:ja},{path:"/faces",component:Ra}]});new n["a"]({data:{user:null},created:function(){var t=this;this.$route.query&&this.$route.query.utm_source&&Na.a.set("query",this.$route.query,"1d"),this.$on("fetchUser",function(){Object(L["i"])().then(function(e){if(t.user=e||{},e){e.first_name=localStorage.getItem("first_name"),e.gender=localStorage.getItem("gender");var s=t.$route.path.slice(1);e.quests.map(function(e){var n=e.quest_identifier,i=e.can_start;if(s===n&&!i)return t.$router.replace("/home")})}}).catch(function(e){if(!t.$route.path.includes("ficus/")&&!["/","/fortune","/prizes","/faces","/faq"].includes(t.$route.path)||t.$route.path.includes("ficus")&&!t.$route.params.token)return localStorage.removeItem("first_name"),localStorage.removeItem("gender"),void t.$router.replace({name:"login"});t.user={isNotAuthorized:!0}})}),this.$emit("fetchUser")},router:Aa,render:function(t){return t(d)}}).$mount("#app")},"56ec":function(t,e){t.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 110 110"><title>Artboard 20</title><path d="M46.1 24.56h17.8a1 1 0 0 0 1-1v-21.42a1 1 0 0 0-.76-1 1 1 0 0 0-1.13.5l-2.08 4-2.08-4a1 1 0 0 0-1.77 0l-2.08 4.01-2.08-4a1 1 0 0 0-1.77 0l-2.08 4-2.07-3.98a1 1 0 0 0-1.13-.5 1 1 0 0 0-.76 1v21.39a1 1 0 0 0 .99 1z"></path></svg>'},"56ef":function(t,e){t.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 110 110"><title>Artboard 14</title><path d="M78.41 16.63a41.19 41.19 0 0 0-58.17 0 1 1 0 0 0 0 1.42 41.7 41.7 0 0 0 7.05 5.65 32.61 32.61 0 0 0-4.38 16.35v15.7a1 1 0 0 0 .88 1h.12a1 1 0 0 0 1-.76l7.39-29.59a41.1 41.1 0 0 0 44.9-7.15l9.15 36.75a1 1 0 0 0 1 .76h.13a1 1 0 0 0 .88-1v-15.7a32.48 32.48 0 0 0-9.9-23.43z"></path></svg>'},5763:function(t,e,s){"use strict";var n=s("69c9"),i=s.n(n);i.a},"583d":function(t,e){t.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 110 110"><title>Artboard 23</title><path d="M55 80.94a12.88 12.88 0 0 0-12.89 12.87 1 1 0 0 0 1 1h23.73a1 1 0 0 0 1-1 12.88 12.88 0 0 0-12.84-12.87z"></path></svg>'},5956:function(t,e,s){"use strict";var n=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("button",{class:["button",{"--white":t.white}],attrs:{type:t.type,disabled:t.disabled},on:{click:function(e){t.$emit("click")}}},[t._t("default")],2)},i=[],a={name:"Button",props:{disabled:Boolean,white:Boolean,type:{type:String,default:"button"}},data:function(){return{}},components:{}},r=a,o=(s("e603"),s("2877")),c=Object(o["a"])(r,n,i,!1,null,null,null);c.options.__file="Button.vue";e["a"]=c.exports},"5aa0":function(t,e,s){t.exports=s.p+"img/Head_1.10a9b733.svg"},"5b49":function(t,e,s){t.exports=s.p+"img/Hairstyle_1.99c65b1e.svg"},"5bad":function(t,e,s){},"5bd9":function(t,e){t.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 110 110"><defs><style>.__3zKzLTR__cls-1{fill:none;stroke:#000;stroke-linecap:round;stroke-linejoin:round;stroke-width:2px;}</style></defs><title>Artboard 49</title><path class="__3zKzLTR__cls-1 " d="M65.63 72.8a9.5 9.5 0 0 0 7.61 0M36.59 72.8a9.5 9.5 0 0 0 7.61 0"></path></svg>'},"5c33":function(t,e,s){"use strict";var n=s("888f"),i=s.n(n);i.a},"5d32":function(t,e,s){t.exports=s.p+"img/cards_preview.882b9d21.png"},"5f20":function(t,e,s){t.exports=s.p+"img/Hairstyle_11.6b518798.svg"},"5f9b":function(t,e,s){},6082:function(t,e,s){t.exports=s.p+"img/hand.41cb136e.svg"},"60b0":function(t,e,s){t.exports=s.p+"img/baloon.1f873fc7.svg"},"61e7":function(t,e,s){},6329:function(t,e,s){t.exports=s.p+"img/Nose_&_Lips_1.c16bcc92.svg"},"638e":function(t,e,s){t.exports=s.p+"img/Nose_&_Lips_7.4b8e2665.svg"},"678e":function(t,e,s){t.exports=s.p+"img/4.472e7f25.svg"},"67df":function(t,e,s){t.exports=s.p+"img/socks.c86446e9.png"},"67e6":function(t,e,s){"use strict";var n=s("df90"),i=s.n(n);i.a},"681f":function(t,e,s){t.exports=s.p+"img/wheel.391d2dbe.svg"},"68c4":function(t,e){t.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 110 110"><title>Artboard 46</title><path d="M47.34 50.21h-9.27a1 1 0 0 1 0-2h9.27a1 1 0 0 1 0 2zM71.93 50.21h-9.27a1 1 0 0 1 0-2h9.27a1 1 0 0 1 0 2z"></path></svg>'},6902:function(t,e,s){t.exports=s.p+"img/Hairstyle_4.a3225051.svg"},"69c9":function(t,e,s){},"6a24":function(t,e,s){t.exports=s.p+"img/Hairstyle_14.be248223.svg"},"6a49":function(t,e,s){t.exports=s.p+"img/6.826dbf56.jpg"},"6b81":function(t,e,s){var n={"./1.svg":"969d","./10.svg":"d2d9","./11.svg":"d18a","./2.svg":"1982","./3.svg":"7a90","./4.svg":"678e","./5.svg":"56ba","./6.svg":"0bba","./8.svg":"14dd","./9.svg":"7460"};function i(t){var e=a(t);return s(e)}function a(t){var e=n[t];if(!(e+1)){var s=new Error("Cannot find module '"+t+"'");throw s.code="MODULE_NOT_FOUND",s}return e}i.keys=function(){return Object.keys(n)},i.resolve=a,t.exports=i,i.id="6b81"},"6c06":function(t,e,s){t.exports=s.p+"img/diamonds.09917f98.svg"},"6d09":function(t,e,s){t.exports=s.p+"img/4.fd747b13.jpg"},"6e92":function(t,e,s){t.exports=s.p+"img/5.8cb9c57a.png"},"6fac":function(t,e,s){t.exports=s.p+"img/Eyebrows_1.146fe0cd.svg"},7190:function(t,e,s){t.exports=s.p+"img/ficus.22a3159a.svg"},"71e4":function(t,e,s){},7379:function(t,e,s){"use strict";var n=s("ade3"),i=s.n(n);i.a},"741e":function(t,e,s){t.exports=s.p+"img/Bags_under_eyes_1.89608d5a.svg"},7460:function(t,e,s){t.exports=s.p+"img/9.89be9447.svg"},"74e5":function(t,e,s){},7506:function(t,e){t.exports='<svg viewBox="0 0 98.1 197.81" xmlns="http://www.w3.org/2000/svg"><path d="m23.56 165.16h18.74v20.27h-18.74z" fill="#c96"></path><path d="m55.8 165.16h18.74v20.27h-18.74z" fill="#c96"></path><path d="m75.38 179.23h-20.38a5.93 5.93 0 0 0 -5.91 5.91 5.93 5.93 0 0 0 -5.91-5.91h-20.46a5.93 5.93 0 0 0 -5.91 5.91v12.67h64.48v-12.67a5.93 5.93 0 0 0 -5.91-5.91z" fill="#999"></path><path d="m61.42 25.31h-24.74a36.78 36.78 0 0 0 -36.68 36.69v36.35a16.8 16.8 0 0 0 16.81 16.81h64.48a16.81 16.81 0 0 0 16.81-16.81v-36.35a36.79 36.79 0 0 0 -36.68-36.69z" fill="#fff"></path><path id="neck" d="m36 13v12.53l13 13 13-13v-12.53a13 13 0 0 0 -13-13 13 13 0 0 0 -13 13z" fill="#fcc"></path><g stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"><path d="m50.53 49.03 4.32-4.32-5.8-5.8-5.8 5.8 4.31 4.32-6.8 46.35 8.29 9.51 8.29-9.51z"></path><path d="m16.81 51.77v47.12" fill="none"></path><path d="m81.29 51.77v63.39" fill="none"></path><path d="m81.08 106.63a11.42 11.42 0 0 0 -11.21-9.28h-9.4a11.43 11.43 0 0 0 -11.19 9.12h-.46a11.44 11.44 0 0 0 -11.2-9.12h-9.39a11.44 11.44 0 0 0 -11.23 9.28 5.5 5.5 0 0 0 -4.2 5.33v11.31a5.51 5.51 0 0 0 4 5.28v44.11h64.49v-44.11a5.51 5.51 0 0 0 4-5.28v-11.27a5.5 5.5 0 0 0 -4.21-5.37z"></path><path d="m17.82 192.69h31.23" fill="none"></path><path d="m49.56 192.69h31.22" fill="none"></path></g><path id="hand2" d="m74.76 95h7.34a7.6 7.6 0 0 1 7.6 7.6v7.55a5 5 0 0 1 -5 5h-12.5a5 5 0 0 1 -5-5v-7.55a7.6 7.6 0 0 1 7.56-7.6z" fill="#fcc"></path><path d="m72.89 106.32v8.84" fill="none" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"></path><path id="hand1" d="m12.57 95h12.43a5 5 0 0 1 5 5v7.55a7.6 7.6 0 0 1 -7.6 7.6h-7.28a7.6 7.6 0 0 1 -7.6-7.6v-7.55a5 5 0 0 1 5-5z" fill="#fcc" transform="matrix(-1 0 0 -1 37.58 210.13)"></path><path d="m24.33 106.32v8.84" fill="none" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"></path></svg>'},"76ab":function(t,e,s){t.exports=s.p+"img/Mustache_1.fab2fcad.svg"},"76d8":function(t,e,s){},"78b1":function(t,e,s){t.exports=s.p+"img/5.ae630019.jpg"},"79c3":function(t,e,s){t.exports=s.p+"img/Nose_&_Lips_3.fb78e458.svg"},"7a05":function(t,e,s){t.exports=s.p+"img/sound-off.d9cdd524.svg"},"7a3b":function(t,e,s){"use strict";var n=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"page"},[t.withClose?s("div",{staticClass:"page__head"},[s("button",{staticClass:"page__close",on:{click:t.close}})]):t._e(),s("div",{staticClass:"page__content"},[!t.withHead&&t.withClose?s("button",{staticClass:"page__close --in",on:{click:t.close}}):t._e(),t.withHead?s("div",{staticClass:"page__content-head"},[t.withClose?s("button",{staticClass:"page__close --in",on:{click:t.close}}):t._e(),t._m(0)]):t._e(),t._t("default")],2),s("div",{staticClass:"page__overlay",on:{click:t.close}})])},i=[function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"page__content-head-left"},[s("div",[t._v("От кого: "),s("span",[t._v("boss@rabotyaga.ru")])]),s("div",[t._v("Кому: "),s("span",[t._v("me@rabotyaga.ru")])])])}],a={name:"Page",props:{closeHandler:Function,withHead:{type:Boolean,default:!0},withClose:{type:Boolean,default:!0}},data:function(){return{}},components:{},methods:{close:function(){this.closeHandler&&this.closeHandler(),this.$emit("close"),this.$parent&&this.$parent.$emit("close")}}},r=a,o=(s("90b4"),s("2877")),c=Object(o["a"])(r,n,i,!1,null,null,null);c.options.__file="Page.vue";e["a"]=c.exports},"7a5b":function(t,e){t.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 110 110"><defs><style>.__QbrqIiI__cls-1,.__QbrqIiI__cls-2{fill:none;stroke-linecap:round;stroke-linejoin:round;}.__QbrqIiI__cls-1{stroke:#f99;stroke-width:4px;}.__QbrqIiI__cls-2{stroke:#000;stroke-width:2px;}</style></defs><title>Artboard 34</title><path class="__QbrqIiI__cls-1 " d="M48.31 91.86h13.38"></path><path class="__QbrqIiI__cls-2 " d="M55.65 80.31a4.57 4.57 0 1 1 0-9.13"></path></svg>'},"7a6d":function(t,e){t.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 110 110"><defs><style>.__2Pigc8J__cls-1{fill:none;stroke:#000;stroke-linecap:round;stroke-linejoin:round;stroke-width:2px;}</style></defs><title>Artboard 50 copy 2</title><path class="__2Pigc8J__cls-1 " d="M50.48 62.76a4.52 4.52 0 0 1 4.52-4.52 4.52 4.52 0 0 1 4.52 4.52"></path><path class="__2Pigc8J__cls-1 " d="M82.35 56.29s-1.45 15.71-10 15.71c-13.08 0-12.83-4.48-12.83-10 0-8.4 22.83-5.71 22.83-5.71zM27.65 56.29s1.45 15.71 10 15.71c13.08 0 12.83-4.48 12.83-10 0-8.4-22.83-5.71-22.83-5.71z"></path></svg>'},"7a90":function(t,e,s){t.exports=s.p+"img/3.f985c332.svg"},"7ae9":function(t,e,s){"use strict";var n=s("0605"),i=s.n(n);i.a},"7b0f":function(t,e,s){},"7c55":function(t,e,s){"use strict";var n=s("a58e"),i=s.n(n);i.a},"7faf":function(t,e){t.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 110 110"><defs><style>.__1Mnhj37__cls-1{fill:#fcc;}.__1Mnhj37__cls-2,.__1Mnhj37__cls-3{fill:none;stroke-linecap:round;stroke-linejoin:round;stroke-width:2px;}.__1Mnhj37__cls-2{stroke:#000;}.__1Mnhj37__cls-3{stroke:#fff;}</style></defs><title>Artboard 50 copy 13</title><path class="__1Mnhj37__cls-1 " d="M14.29 66.56a9 9 0 0 0 9 9h2v-18.03h-2a9 9 0 0 0-9 9.03zm72.39-9.03h-2v18.06h2a9 9 0 0 0 9-9 9 9 0 0 0-9-9.06z"></path><path class="__1Mnhj37__cls-2 " d="M23.32 69.76a3.2 3.2 0 0 1-3.2-3.2 3.2 3.2 0 0 1 3.2-3.2m63.36 6.4a3.2 3.2 0 0 0 3.2-3.2 3.2 3.2 0 0 0-3.2-3.2"></path><path class="__1Mnhj37__cls-3 " d="M21.72 74.07v6.16m66.56-6.16v6.16"></path></svg>'},"815d":function(t,e,s){t.exports=s.p+"img/Ears_8.823a6cb7.svg"},"82ad":function(t,e,s){t.exports=s.p+"media/sound.01e4b396.mp3"},"837f":function(t,e,s){"use strict";var n=s("7b0f"),i=s.n(n);i.a},8490:function(t,e,s){},"84b2":function(t,e,s){var n={"./Bags_under_eyes_1.svg":"2e20","./Bags_under_eyes_2.svg":"f155","./Bags_under_eyes_3.svg":"5bd9","./Bags_under_eyes_4.svg":"a32e","./Beard_1.svg":"e579","./Beard_2.svg":"0cf5","./Beard_3.svg":"c040","./Beard_5.svg":"ec63","./Ears_10.svg":"d295","./Ears_2.svg":"03ed","./Ears_3.svg":"7faf","./Ears_4.svg":"c773","./Ears_5.svg":"9614","./Ears_7.svg":"ca50","./Ears_8.svg":"07df","./Ears_9.svg":"ee8c","./Eyebrows_1.svg":"54e7","./Eyebrows_2.svg":"3346","./Eyebrows_3.svg":"f994","./Eyebrows_4.svg":"1cf6","./Eyebrows_5.svg":"a875","./Eyebrows_6.svg":"68c4","./Glasses_1.svg":"7a6d","./Glasses_2.svg":"dd46","./Glasses_3.svg":"3a10","./Glasses_4.svg":"963b","./Glasses_5.svg":"e59b","./Hairstyle_1.svg":"d006","./Hairstyle_11.svg":"b02d","./Hairstyle_12.svg":"175b","./Hairstyle_13.svg":"533b","./Hairstyle_14.svg":"56ef","./Hairstyle_15.svg":"2744","./Hairstyle_16.svg":"a437","./Hairstyle_17.svg":"290c","./Hairstyle_18.svg":"22fe","./Hairstyle_19.svg":"d0a1","./Hairstyle_2.svg":"2a9a","./Hairstyle_20.svg":"56ec","./Hairstyle_4.svg":"32c4","./Hairstyle_5.svg":"3dc2","./Hairstyle_6.svg":"bfea","./Hairstyle_7.svg":"99fa","./Hairstyle_8.svg":"2f73","./Hairstyle_9.svg":"d4df","./Head_1.svg":"e216","./Head_2.svg":"f7cc","./Head_3.svg":"0d94","./Head_4.svg":"c29a","./Head_5.svg":"2d68","./Mustache_1.svg":"8d6b","./Mustache_3.svg":"583d","./Mustache_4.svg":"9c2d","./Mustache_5.svg":"069e","./Nose_&_Lips_1.svg":"c656","./Nose_&_Lips_10.svg":"8cbc","./Nose_&_Lips_2.svg":"c115","./Nose_&_Lips_3.svg":"d7c7","./Nose_&_Lips_4.svg":"7a5b","./Nose_&_Lips_5.svg":"dc19","./Nose_&_Lips_6.svg":"355d","./Nose_&_Lips_7.svg":"196a","./Nose_&_Lips_8.svg":"86c3","./Nose_&_Lips_9.svg":"bb75"};function i(t){var e=a(t);return s(e)}function a(t){var e=n[t];if(!(e+1)){var s=new Error("Cannot find module '"+t+"'");throw s.code="MODULE_NOT_FOUND",s}return e}i.keys=function(){return Object.keys(n)},i.resolve=a,t.exports=i,i.id="84b2"},"862f":function(t,e,s){t.exports=s.p+"img/Ears_5.eb0cae04.svg"},"86c3":function(t,e){t.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 110 110"><defs><style>.__vF2K1z9__cls-1{fill:none;stroke:#000;stroke-linecap:round;stroke-linejoin:round;stroke-width:2px;}</style></defs><title>Artboard 38</title><path class="__vF2K1z9__cls-1 " d="M50.49 92.23h9.04M55 61.89l-6 8.65a7.37 7.37 0 0 0 6 11.59"></path></svg>'},"871a":function(t,e,s){},8870:function(t,e,s){t.exports=s.p+"img/Bags_under_eyes_4.39046489.svg"},"888f":function(t,e,s){},"896f":function(t,e,s){"use strict";var n=s("2bef"),i=s.n(n);i.a},"8a25":function(t,e,s){t.exports=s.p+"img/Glasses_4.e3ca1d1e.svg"},"8a3b":function(t,e,s){t.exports=s.p+"img/Hairstyle_8.f0bb41ea.svg"},"8a70":function(t,e,s){t.exports=s.p+"img/slide4.314c8fef.svg"},"8b28":function(t,e,s){t.exports=s.p+"img/trash.f876b2e1.svg"},"8cbc":function(t,e){t.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 110 110"><defs><style>.__2NI3ln9__cls-1{fill:none;stroke:#000;stroke-linecap:round;stroke-linejoin:round;stroke-width:2px;}</style></defs><title>Artboard 40</title><path class="__2NI3ln9__cls-1 " d="M55.25 82.18a4.57 4.57 0 1 1 0-9.13M50.43 92.23h9.04"></path></svg>'},"8d6b":function(t,e){t.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 110 110"><title>Artboard 21</title><path d="M55 80.94a12.88 12.88 0 0 0-12.87 12.87 1 1 0 0 0 1 1 12.89 12.89 0 0 0 11.87-7.9 12.89 12.89 0 0 0 11.87 7.9 1 1 0 0 0 1-1 12.88 12.88 0 0 0-12.87-12.87z"></path></svg>'},"8d86":function(t,e,s){t.exports=s.p+"img/board.be51b5db.svg"},"8f28":function(t,e,s){},"8fb9":function(t,e,s){t.exports=s.p+"img/11.f9eb71f5.png"},"8fc7":function(t,e,s){t.exports=s.p+"img/Glasses_2.0d3e2b17.svg"},"902ef":function(t,e,s){t.exports=s.p+"img/chair.4befd7fc.svg"},"90b4":function(t,e,s){"use strict";var n=s("5f9b"),i=s.n(n);i.a},"90b9":function(t,e,s){t.exports=s.p+"img/Ears_3.ffd0d703.svg"},9233:function(t,e,s){"use strict";var n=s("3798"),i=s.n(n);i.a},9290:function(t,e,s){t.exports=s.p+"img/8.b7c15d9e.jpg"},"92b6":function(t,e,s){"use strict";var n=s("3686"),i=s.n(n);i.a},9472:function(t,e,s){t.exports=s.p+"img/3.c39bb378.svg"},9483:function(t,e,s){t.exports=s.p+"img/Hairstyle_15.fcf8fe8f.svg"},"95d8":function(t,e,s){t.exports=s.p+"img/Nose_&_Lips_10.38aa8921.svg"},9614:function(t,e){t.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 110 110"><defs><style>.__VijSvnv__cls-1{fill:#fcc;}.__VijSvnv__cls-2{fill:none;stroke:#000;stroke-linecap:round;stroke-linejoin:round;stroke-width:2px;}</style></defs><title>Artboard 50 copy 15</title><path class="__VijSvnv__cls-1 " d="M14.29 66.56a9 9 0 0 0 9 9h2v-18.03h-2a9 9 0 0 0-9 9.03zm72.39-9.03h-2v18.06h2a9 9 0 0 0 9-9 9 9 0 0 0-9-9.06z"></path><path class="__VijSvnv__cls-2 " d="M23.32 69.76a3.2 3.2 0 0 1-3.2-3.2 3.2 3.2 0 0 1 3.2-3.2m63.36 6.4a3.2 3.2 0 0 0 3.2-3.2 3.2 3.2 0 0 0-3.2-3.2"></path></svg>'},"963b":function(t,e){t.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 110 110"><defs><style>.__8LNw3Mo__cls-1{fill:none;stroke:#000;stroke-linecap:round;stroke-linejoin:round;stroke-width:2px;}</style></defs><title>Artboard 50 copy</title><path class="__8LNw3Mo__cls-1 " d="M50.48 63.89a4.52 4.52 0 0 1 4.52-4.52 4.52 4.52 0 0 1 4.52 4.52"></path><circle class="__8LNw3Mo__cls-1 " cx="69.52" cy="63.09" r="10"></circle><circle class="__8LNw3Mo__cls-1 " cx="40.48" cy="63.09" r="10"></circle></svg>'},"969d":function(t,e,s){t.exports=s.p+"img/1.8e4e0c5d.svg"},9772:function(t,e,s){t.exports=s.p+"img/cup.3a08c9ea.svg"},"97b5":function(t,e,s){t.exports=s.p+"img/mustache.8c863870.svg"},9955:function(t,e,s){},"99fa":function(t,e){t.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 110 110"><title>Artboard 7</title><path d="M82.91 6.77a10.54 10.54 0 0 0-10.09 7.6 32.71 32.71 0 0 0-35.54.34 10.51 10.51 0 1 0-11.7 13 32.77 32.77 0 0 0-3.28 14.29v15.7a1 1 0 0 0 .87 1h.13a1 1 0 0 0 1-.76l8.49-34.14a24.38 24.38 0 0 0 23.78 19.2h25.43l3.73 15a1 1 0 0 0 1.1.75 1 1 0 0 0 .87-1v-15.75a32.23 32.23 0 0 0-3.29-14.29 10.51 10.51 0 0 0-1.5-20.91z"></path></svg>'},"9aa0":function(t,e,s){"use strict";var n=s("871a"),i=s.n(n);i.a},"9b19":function(t,e,s){t.exports=s.p+"img/logo.d10a0a06.svg"},"9b1d":function(t,e,s){t.exports=s.p+"img/slide3.9384ffb9.svg"},"9c2d":function(t,e){t.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 110 110"><title>Artboard 24</title><ellipse cx="47.42" cy="89.52" rx="7.11" ry="2.3" transform="translate(-49.41 59.75) rotate(-45)"></ellipse><ellipse cx="62.58" cy="89.52" rx="2.3" ry="7.11" transform="translate(-44.97 70.47) rotate(-45)"></ellipse></svg>'},"9cf0":function(t,e,s){t.exports=s.p+"img/Eyebrows_2.c526dddb.svg"},"9dbb":function(t,e,s){t.exports=s.p+"img/share.ac166cf2.svg"},"9df7":function(t,e){t.exports='<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 741.2 315.1" style="enable-background:new 0 0 741.2 315.1;" xml:space="preserve"><style type="text/css"> .__1gIaswz__st0{fill:#FFFFFF;} .__1gIaswz__st1{fill:#FFCCCC;} .__1gIaswz__st2{fill:none;stroke:#000000;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;} .__1gIaswz__st3{fill:#999999;} .__1gIaswz__st4{fill:#CC9966;} .__1gIaswz__st5{fill:#669933;stroke:#669933;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;} </style><path class="__1gIaswz__st0 " d="M465.7,185.1H275.5v-75c0-36.7,30-66.7,66.7-66.7H399c36.7,0,66.7,30,66.7,66.7L465.7,185.1L465.7,185.1z"></path><path class="__1gIaswz__st1 " d="M345.4,10.7v38.7l25.2,25.2l25.2-25.2V10.8c0-6-4.8-10.8-10.8-10.8l-28.9-0.1C350.2-0.1,345.4,4.8,345.4,10.7z"></path><g><line class="__1gIaswz__st2 " x1="308.1" y1="100.4" x2="308.1" y2="168"></line><line class="__1gIaswz__st2 " x1="433.1" y1="100.4" x2="433.1" y2="168"></line></g><rect x="238.5" y="168" class="__1gIaswz__st3 " width="264.3" height="52.1"></rect><g><polygon class="__1gIaswz__st3 " points="62.8,20.1 45.7,20.1 45.7,35 0,43.7 0,162.6 45.7,162.6 62.8,162.6 211.6,162.6 211.6,20.1 "></polygon><polygon class="__1gIaswz__st3 " points="154.1,162.6 108.4,162.6 108.4,43.7 154.1,35 "></polygon><line class="__1gIaswz__st2 " x1="191.8" y1="20.1" x2="191.8" y2="162.6"></line><g><line class="__1gIaswz__st2 " x1="178.1" y1="104.8" x2="139.9" y2="104.8"></line><line class="__1gIaswz__st2 " x1="178.1" y1="115" x2="139.9" y2="115"></line><line class="__1gIaswz__st2 " x1="178.1" y1="125.2" x2="139.9" y2="125.2"></line><line class="__1gIaswz__st2 " x1="178.1" y1="135.4" x2="139.9" y2="135.4"></line><line class="__1gIaswz__st2 " x1="178.1" y1="145.5" x2="139.9" y2="145.5"></line></g><polygon points="164,162.6 51.6,162.6 40.4,178.6 40.4,185.1 175.2,185.1 175.2,178.6 "></polygon><line class="__1gIaswz__st2 " x1="211.6" y1="162.6" x2="0" y2="162.6"></line><polyline class="__1gIaswz__st2 " points="0,43.7 129.2,43.7 129.2,162.6 "></polyline><polyline class="__1gIaswz__st2 " points="45.7,35 178.1,35 178.1,162.6 "></polyline></g><rect y="185.1" class="__1gIaswz__st4 " width="741.2" height="130"></rect><line class="__1gIaswz__st2 " x1="741.2" y1="220.1" x2="0" y2="220.1"></line><path d="M455.3,151.7h-11.8c-5.7,0-10.4,4.6-10.4,10.4v5.9h32.6v-5.9C465.7,156.4,461.1,151.7,455.3,151.7z"></path><path d="M297.7,151.7h-11.8c-5.7,0-10.4,4.6-10.4,10.4v5.9h32.6v-5.9C308.1,156.4,303.4,151.7,297.7,151.7z"></path><g><path class="__1gIaswz__st2 " d="M317.8,135.7c3.2,3.2,7.6,5.1,12.4,5.1"></path><path class="__1gIaswz__st2 " d="M423.4,135.5c-3.4,3.4-8.1,5.5-13.2,5.5"></path></g><g><path class="__1gIaswz__st5 " d="M370.5,74.8c0,0,0.7,12.6-6.7,20c-7.4,7.4-20,6.7-20,6.7s-0.7-12.6,6.7-20S370.5,74.8,370.5,74.8z"></path><path class="__1gIaswz__st5 " d="M370.5,74.7c0,0,9.4,8.4,9.4,18.9s-9.4,18.9-9.4,18.9s-9.4-8.4-9.4-18.9S370.5,74.7,370.5,74.7z"></path></g></svg>'},a0c3:function(t,e,s){t.exports=s.p+"img/1.126a1b22.jpg"},a32e:function(t,e){t.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 110 110"><defs><style>.__3BBgi3X__cls-1{fill:none;stroke:#000;stroke-linecap:round;stroke-linejoin:round;stroke-width:2px;}</style></defs><title>Artboard 50</title><path class="__3BBgi3X__cls-1 " d="M38.33 74.88h4.3M67.37 74.88h4.3"></path></svg>'},a35e:function(t,e,s){},a423:function(t,e,s){},a437:function(t,e){t.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 110 110"><title>Artboard 16</title><path d="M80.7 22l-.21-.25-.8-1-.37-.41c-.26-.3-.53-.58-.8-.86l-.71-.73-.13-.1a32.62 32.62 0 0 0-45.36 0l-.13.11-.29.3c-.15.14-.29.29-.43.44s-.53.55-.82.87l-.34.39c-.27.32-.54.63-.79 1l-.21.26a.27.27 0 0 0-.07.08 32.39 32.39 0 0 0-6.94 20.16v15.74a1 1 0 0 0 .87 1 1 1 0 0 0 1.1-.75l7.5-30 3.84 3.75a1 1 0 0 0 .71.29 1 1 0 0 0 .68-.29l5.52-5.52 5.55 5.52a1 1 0 0 0 1.41 0l5.52-5.5 5.52 5.5a1 1 0 0 0 .71.29 1 1 0 0 0 .7-.29l5.53-5.52 5.54 5.52a1 1 0 0 0 1.41 0l3.84-3.85 7.5 30a1 1 0 0 0 1 .76h.13a1 1 0 0 0 .87-1v-15.65a32.41 32.41 0 0 0-6.94-20.14z"></path></svg>'},a58e:function(t,e,s){},a5bf:function(t,e,s){},a6a1:function(t,e,s){},a875:function(t,e){t.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 110 110"><title>Artboard 45</title><path d="M47.34 50.21h-13.72a1 1 0 0 1 0-2h13.72a1 1 0 0 1 0 2zM76.38 50.21h-13.72a1 1 0 0 1 0-2h13.72a1 1 0 0 1 0 2z"></path></svg>'},a881:function(t,e,s){t.exports=s.p+"img/cup.c5bdb924.svg"},a8b6:function(t,e,s){t.exports=s.p+"img/Ears_2.dadebbf2.svg"},a976:function(t,e,s){t.exports=s.p+"img/2.6930167f.svg"},aa34:function(t,e,s){t.exports=s.p+"img/king.0c23407c.svg"},aba1:function(t,e,s){var n={"./1.svg":"4f8b","./2.svg":"a976","./3.svg":"9472","./4.svg":"e54b"};function i(t){var e=a(t);return s(e)}function a(t){var e=n[t];if(!(e+1)){var s=new Error("Cannot find module '"+t+"'");throw s.code="MODULE_NOT_FOUND",s}return e}i.keys=function(){return Object.keys(n)},i.resolve=a,t.exports=i,i.id="aba1"},abde:function(t,e,s){},ac6c:function(t,e,s){t.exports=s.p+"img/board.a581e716.svg"},acd5:function(t,e,s){t.exports=s.p+"img/Ears_7.56677a22.svg"},ad5b:function(t,e,s){"use strict";var n=s("e7d5"),i=s.n(n);i.a},ade3:function(t,e,s){},afa1:function(t,e,s){t.exports=s.p+"img/Hairstyle_9.b0f3b13c.svg"},aff3:function(t,e,s){},b02d:function(t,e){t.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 110 110"><title>Artboard 11</title><path d="M55 3.63c-1.29-.06-18.56-.66-28.91 9.7-10.58 10.57-9.73 28.22-9.69 29a1 1 0 0 0 1 1h4.9v13.5a1 1 0 0 0 .88 1 1 1 0 0 0 1.09-.83l3.36-13.74h34a1 1 0 0 0 1-1l.06-20.6 11.37 21.05a1 1 0 0 0 .88.53h7.43l3.36 13.76a1 1 0 0 0 1 .76h.12a1 1 0 0 0 .88-1v-13.52h4.9a1 1 0 0 0 1-1c0-.74.89-18.39-9.69-29-10.42-10.31-27.64-9.67-28.94-9.61z"></path></svg>'},b15f:function(t,e,s){t.exports=s.p+"img/Nose_&_Lips_5.1a8deb4a.svg"},b167:function(t,e,s){t.exports=s.p+"img/table.10dccf71.svg"},b187:function(t,e,s){t.exports=s.p+"img/Beard_2.4405dab0.svg"},b1b5:function(t,e,s){},b3a0:function(t,e,s){t.exports=s.p+"img/Glasses_1.538fafdb.svg"},b4f0:function(t,e,s){t.exports=s.p+"img/pins_preview.5081baaa.png"},b573:function(t,e,s){t.exports=s.p+"img/Hairstyle_13.6b813886.svg"},b577:function(t,e,s){"use strict";var n=s("aff3"),i=s.n(n);i.a},b9a4:function(t,e,s){t.exports=s.p+"img/10.d06ac1b8.png"},b9a7:function(t,e,s){t.exports=s.p+"img/Ears_10.ad547b0b.svg"},ba0d:function(t,e,s){t.exports=s.p+"img/Nose_&_Lips_2.d532054a.svg"},baa8:function(t,e,s){"use strict";var n=s("abde"),i=s.n(n);i.a},bab0:function(t,e,s){"use strict";var n=s("4c38"),i=s.n(n);i.a},bb06:function(t,e,s){},bb50:function(t,e,s){t.exports=s.p+"img/Nose_&_Lips_9.ee91a943.svg"},bb75:function(t,e){t.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 110 110"><defs><style>.__bHBNRmL__cls-1,.__bHBNRmL__cls-2{fill:none;stroke:#000;stroke-linecap:round;stroke-linejoin:round;}.__bHBNRmL__cls-1{stroke-width:2.46px;}.__bHBNRmL__cls-2{stroke-width:2px;}</style></defs><title>Artboard 39</title><path class="__bHBNRmL__cls-1 " d="M55 82.05a7.5 7.5 0 0 1 0-15"></path><path class="__bHBNRmL__cls-2 " d="M50.49 92.23h9.04"></path></svg>'},bc06:function(t,e,s){},be63:function(t,e,s){t.exports=s.p+"img/printer.4bdc181e.svg"},bebe:function(t,e,s){"use strict";var n=s("d90f"),i=s.n(n);i.a},bfea:function(t,e){t.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 110 110"><title>Artboard 6</title><path d="M103.4 46a14.6 14.6 0 0 0-.4-14.82l-.1-.16a14.5 14.5 0 0 0-12.67-6.74 14.63 14.63 0 0 0-5.64-13.54l-.21-.16a14.68 14.68 0 0 0-15.62-1.13 14.51 14.51 0 0 0-13.4-9.28h-.31a14.55 14.55 0 0 0-13.55 9.08 14.63 14.63 0 0 0-15.69 1l-.18.13a14.59 14.59 0 0 0-5.77 13.53 14.55 14.55 0 0 0-12.57 6.35l-.19.29a14.61 14.61 0 0 0 12.29 22.53h.42a15.18 15.18 0 0 0 .05 3.09 14.54 14.54 0 0 0-12.57 6.37l-.19.29a14.61 14.61 0 0 0 17.08 21.72 1 1 0 0 0 .65-1.12 32 32 0 0 1-.52-5.56v-19.59l5.6-22.42a14.25 14.25 0 0 0 4.4.69 14.66 14.66 0 0 0 13.52-9.18 14.56 14.56 0 0 0 14.38.06 14.46 14.46 0 0 0 13.5 9.12 14.25 14.25 0 0 0 4.4-.69l5.6 22.41v19.54a30.94 30.94 0 0 1-.58 6 1 1 0 0 0 .65 1.14 14.59 14.59 0 0 0 17.22-21.49l-.1-.16a14.52 14.52 0 0 0-12.67-6.74 14.4 14.4 0 0 0 .08-3.08h.31a14.61 14.61 0 0 0 12.78-7.48z"></path></svg>'},c040:function(t,e){t.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 110 110"><title>Artboard 28</title><path d="M86.88 73.39a1 1 0 0 0-1.12.64l-3.76 10.28a25.15 25.15 0 0 0-19 16.63h-16a25.15 25.15 0 0 0-19-16.63l-3.76-10.31a1 1 0 0 0-1.12-.64 1 1 0 0 0-.82 1v2.78a32.7 32.7 0 1 0 65.4 0v-2.76a1 1 0 0 0-.82-.99z"></path></svg>'},c115:function(t,e){t.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 110 110"><defs><style>.__3LO91nj__cls-1,.__3LO91nj__cls-2{fill:none;stroke-linecap:round;stroke-linejoin:round;}.__3LO91nj__cls-1{stroke:#f99;stroke-width:4px;}.__3LO91nj__cls-2{stroke:#000;stroke-width:2px;}</style></defs><title>Artboard 32</title><path class="__3LO91nj__cls-1 " d="M48.77 91.86h13.39"></path><path class="__3LO91nj__cls-2 " d="M55.74 68.95l-7.93 11.36h7.93"></path></svg>'},c17d:function(t,e,s){},c29a:function(t,e){t.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 110 110"><defs><style>.__3RgmmFC__cls-1{fill:#fcc;}.__3RgmmFC__cls-2{fill:#fff;}.__3RgmmFC__cls-3{stroke:#000;stroke-linecap:round;stroke-linejoin:round;stroke-width:2px;}</style></defs><title>Artboard 50 copy 9</title><path class="__3RgmmFC__cls-1 " d="M86.69 42.22a31.71 31.71 0 0 0-31.69-31.67 31.71 31.71 0 0 0-31.72 31.74v34.9c0 25.07 28.09 31.68 31.74 31.68s31.7-6.67 31.67-31.74z"></path><circle class="__3RgmmFC__cls-2 " cx="69.52" cy="61.88" r="7.59"></circle><circle class="__3RgmmFC__cls-2 " cx="40.48" cy="61.9" r="7.59"></circle><circle class="__3RgmmFC__cls-3 " cx="40.48" cy="61.9" r="1.31"></circle><circle class="__3RgmmFC__cls-3 " cx="69.52" cy="61.88" r="1.31"></circle></svg>'},c42b:function(t,e,s){"use strict";var n=s("288c"),i=s.n(n);i.a},c5ca:function(t,e,s){t.exports=s.p+"img/Head_3.681b0055.svg"},c656:function(t,e){t.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 110 110"><defs><style>.__1aqb4hE__cls-1,.__1aqb4hE__cls-2{fill:none;stroke-linecap:round;stroke-linejoin:round;}.__1aqb4hE__cls-1{stroke:#f99;stroke-width:4px;}.__1aqb4hE__cls-2{stroke:#000;stroke-width:2px;}</style></defs><title>Artboard 31</title><path class="__1aqb4hE__cls-1 " d="M48.99 91.86h13.38"></path><path class="__1aqb4hE__cls-2 " d="M55.53 60.07l-8.46 14.57 8.46 5.67"></path></svg>'},c773:function(t,e){t.exports='<svg viewBox="0 0 110 110" xmlns="http://www.w3.org/2000/svg"><path d="M14.29 66.56a9 9 0 0 0 9 9h2v-18.03h-2a9 9 0 0 0-9 9.03zM86.68 57.53h-2v18.06h2a9 9 0 0 0 9-9 9 9 0 0 0-9-9.06z" fill="#fcc"></path><path d="M23.32 69.76a3.2 3.2 0 0 1-3.2-3.2 3.2 3.2 0 0 1 3.2-3.2M86.68 69.76a3.2 3.2 0 0 0 3.2-3.2 3.2 3.2 0 0 0-3.2-3.2" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" fill="none"></path><circle cx="20.48" cy="75.59" r="2.95"></circle><circle cx="89.52" cy="75.59" r="2.95"></circle></svg>'},c9ad:function(t,e,s){t.exports=s.p+"img/9.42655816.jpg"},ca50:function(t,e){t.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 110 110"><defs><style>.__3wLuYYJ__cls-1{fill:#fcc;}.__3wLuYYJ__cls-2,.__3wLuYYJ__cls-3{fill:none;stroke-linecap:round;stroke-linejoin:round;stroke-width:2px;}.__3wLuYYJ__cls-2{stroke:#000;}.__3wLuYYJ__cls-3{stroke:#fff;}</style></defs><title>Artboard 50 copy 17</title><path class="__3wLuYYJ__cls-1 " d="M21.16 54.58a12 12 0 0 0-12 12 12 12 0 0 0 12 12h4.1v-24h-4.1zm67.68 0h-4.1v24h4.1a12 12 0 0 0 12-12 12 12 0 0 0-12-12z"></path><path class="__3wLuYYJ__cls-2 " d="M23.28 70.81a4.25 4.25 0 0 1-4.28-4.25 4.24 4.24 0 0 1 4.25-4.24m63.47 0a4.24 4.24 0 0 1 4.28 4.24 4.25 4.25 0 0 1-4.25 4.25"></path><path class="__3wLuYYJ__cls-3 " d="M88.84 74.07v8.25"></path></svg>'},caca:function(t,e,s){},cba5:function(t,e,s){"use strict";var n=s("5bad"),i=s.n(n);i.a},cd9a:function(t,e,s){},ce75:function(t,e,s){"use strict";(function(t){s("96cf");var n,i=s("c964"),a=(s("a481"),s("2b0e")),r=s("7a3b"),o=s("5956"),c=s("408b"),l=s("4396"),u=s.n(l),d=s("2b27"),p=s.n(d);e["a"]={name:"Login",props:{mode:{type:String,default:""}},components:{Page:r["a"],Button:o["a"],MaskedInput:u.a},data:function(){return{phone:"",code:"",isCodeShown:!1,token:"",process:t,error:"",secondsBeforeResend:120,needCaptcha:!1}},computed:{isDisabled:function(){return this.isCodeShown?this.code.replace(/[^\d]/gi,"").length<4:this.phone.replace(/[^\d]/gi,"").length<10}},methods:{onFormSubmit:function(){var t=Object(i["a"])(regeneratorRuntime.mark(function t(e){var s,n,i,r=this;return regeneratorRuntime.wrap(function(t){while(1)switch(t.prev=t.next){case 0:if(e&&e.preventDefault(),this.error="",this.isCodeShown){t.next=8;break}return t.next=5,this.getSmsCode();case 5:this.error||(this.isCodeShown=!0,a["a"].nextTick(function(){r.$refs.codeInput.$el.focus()})),t.next=25;break;case 8:return t.prev=8,n=this.code.replace(/[^\d]/gi,""),i=p.a.get("query")||null,t.next=13,Object(c["q"])(n,i);case 13:if(s=t.sent,s){t.next=16;break}return t.abrupt("return");case 16:s.first_name?(localStorage.setItem("first_name",s.first_name),localStorage.setItem("gender",s.gender)):(localStorage.removeItem("first_name"),localStorage.removeItem("gender")),this.$root.$emit("fetchUser"),"popup"===this.mode?this.$emit("success"):!s.client&&s.register?this.$router.push("signup"):s.register?this.$router.push("avatar"):this.$router.push("home"),t.next=25;break;case 21:t.prev=21,t.t0=t["catch"](8),console.log("Error at send code",t.t0,t.t0.message),this.error=t.t0.message||"Неизвестная ошибка";case 25:case"end":return t.stop()}},t,this,[[8,21]])}));function e(e){return t.apply(this,arguments)}return e}(),onReCaptcha:function(){this.error=""},getSmsCode:function(){var t=Object(i["a"])(regeneratorRuntime.mark(function t(){var e,s,n,i;return regeneratorRuntime.wrap(function(t){while(1)switch(t.prev=t.next){case 0:return i=this.phone.replace(/[^\d]/gi,""),t.prev=1,t.next=4,Object(c["j"])(i);case 4:n=t.sent,t.next=10;break;case 7:return t.prev=7,t.t0=t["catch"](1),t.abrupt("return");case 10:if(n){t.next=12;break}return t.abrupt("return");case 12:if(!n.captcha_required){t.next=20;break}this.needCaptcha=!0;try{e=window.grecaptcha.getResponse()}catch(a){this.error="Ошибка reCaptcha, попробуйте перезагрузить страницу"}if(e){t.next=18;break}throw this.error="Подтвердите, что Вы не робот 🤖",new Error(this.error);case 18:t.next=21;break;case 20:this.needCaptcha=!1;case 21:return t.prev=21,t.next=24,Object(c["s"])(i,e);case 24:s=t.sent,t.next=31;break;case 27:throw t.prev=27,t.t1=t["catch"](21),this.error=t.t1.message||"Неизвестная ошибка",new Error(this.error);case 31:return this.startSmsInterval(),t.abrupt("return",s);case 33:case"end":return t.stop()}},t,this,[[1,7],[21,27]])}));function e(){return t.apply(this,arguments)}return e}(),startSmsInterval:function(){var t=this;this.secondsBeforeResend=120,clearInterval(n),n=setInterval(function(){t.secondsBeforeResend>0?t.secondsBeforeResend-=1:clearInterval(n)},1e3)},resend:function(){this.getSmsCode()},back:function(){this.isCodeShown||this.$emit("back"),this.isCodeShown=!1;try{window.grecaptcha.reset(),window.grecaptcha.render(this.$refs.recaptcha)}catch(t){}}},beforeMount:function(){var t=Object(i["a"])(regeneratorRuntime.mark(function t(){return regeneratorRuntime.wrap(function(t){while(1)switch(t.prev=t.next){case 0:window.onReCaptcha=this.onReCaptcha;case 1:case"end":return t.stop()}},t,this)}));function e(){return t.apply(this,arguments)}return e}(),mounted:function(){var t=this;this.$watch("phone",function(){t.error&&(t.error="")}),this.$watch("code",function(e){t.error&&(t.error="");var s=e.replace(/[^\d]/gi,"");4===s.length&&t.onFormSubmit()});try{window.grecaptcha.render(this.$refs.recaptcha)}catch(e){}},beforeDestroy:function(){clearInterval(n)}}}).call(this,s("4362"))},cf42:function(t,e,s){},cfbb:function(t,e,s){t.exports=s.p+"img/socks_preview.61310a19.png"},d006:function(t,e){t.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 110 110"><title>Artboard 1</title><path d="M16.37 44v46.64a5.65 5.65 0 0 0 5.63 5.64h8.43a1 1 0 0 0 .77-1.64c-4.52-5.43-6.91-11.36-6.91-17.17v-19.06l3.33-13.62h9.49a25.65 25.65 0 0 0 25.35-22l7.53 14a14.87 14.87 0 0 0 12.37 8l3.34 13.62v19.06c0 5.81-2.39 11.74-6.91 17.17a1 1 0 0 0 .77 1.64h8.44a5.65 5.65 0 0 0 5.64-5.64v-46.64a2.28 2.28 0 0 0 0-.26c.06-1.47.58-18.59-9.7-28.87s-27.64-9.75-28.94-9.69-18.56-.66-28.91 9.7c-10.52 10.51-9.73 28.2-9.7 28.86a2.45 2.45 0 0 0-.02.26z"></path></svg>'},d0a1:function(t,e){t.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 110 110"><title>Artboard 19</title><path d="M55 8.55a33.76 33.76 0 0 0-33.7 33.77l1 15.54a1 1 0 0 0 2 0l1-15.6a29.57 29.57 0 0 1 4.61-15.89 7.67 7.67 0 0 1 8-3.44c5.91 1.27 14.57 1.37 17.09 1.37s11.18-.1 17.07-1.37a7.68 7.68 0 0 1 8 3.44 29.72 29.72 0 0 1 4.62 16l1 15.54a1 1 0 0 0 2 0l1-15.6a33.74 33.74 0 0 0-33.69-33.76z"></path></svg>'},d0fc:function(t,e,s){t.exports=s.p+"img/sound-on.d5851b15.svg"},d18a:function(t,e,s){t.exports=s.p+"img/11.16eabd47.svg"},d1e3:function(t,e,s){"use strict";var n=s("4036"),i=s.n(n);i.a},d239:function(t,e,s){t.exports=s.p+"img/bag.96136506.svg"},d295:function(t,e){t.exports='<svg viewBox="0 0 110 110" xmlns="http://www.w3.org/2000/svg"><path d="M21.16 54.58a12 12 0 0 0-12 12 12 12 0 0 0 12 12h4.1v-24zm67.68 0h-4.1v24h4.1a12 12 0 0 0 12-12 12 12 0 0 0-12-12z" fill="#fcc"></path><path d="M23.28 70.81a4.25 4.25 0 0 1-4.28-4.25 4.24 4.24 0 0 1 4.25-4.24m63.47 0a4.24 4.24 0 0 1 4.28 4.24 4.25 4.25 0 0 1-4.25 4.25" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" fill="none"></path></svg>'},d2d9:function(t,e,s){t.exports=s.p+"img/10.b23b2250.svg"},d3d6:function(t,e,s){"use strict";var n=s("61e7"),i=s.n(n);i.a},d48c:function(t,e,s){t.exports=s.p+"img/calendar.5eda68bd.svg"},d4df:function(t,e){t.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 110 110"><title>Artboard 9</title><path d="M84.12 14.88c-10.4-10.4-27.61-9.76-28.91-9.7s-18.56-.65-28.91 9.7-9.73 28.19-9.7 28.86a2.45 2.45 0 0 0 0 .27v46.63a5.65 5.65 0 0 0 5.64 5.64h8.43a1 1 0 0 0 .77-1.64c-4.52-5.43-6.91-11.36-6.91-17.17v-32.68h61.17l.22 32.68c0 5.81-2.4 11.74-6.92 17.17a1 1 0 0 0 .77 1.64h8.43a5.65 5.65 0 0 0 5.64-5.64v-46.64a2.28 2.28 0 0 0 0-.26c.05-1.47.58-18.56-9.72-28.86z"></path></svg>'},d4e2:function(t,e,s){t.exports=s.p+"img/10.7e010676.jpg"},d55b:function(t,e,s){t.exports=s.p+"img/slide41.37749b11.svg"},d55c:function(t,e,s){t.exports=s.p+"img/Bags_under_eyes_2.84d0262f.svg"},d6a9:function(t,e,s){t.exports=s.p+"img/Hairstyle_17.dc3a8a91.svg"},d7c7:function(t,e){t.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 110 110"><defs><style>.__2kRGiCX__cls-1,.__2kRGiCX__cls-2{fill:none;stroke-linecap:round;stroke-linejoin:round;}.__2kRGiCX__cls-1{stroke:#f99;stroke-width:4px;}.__2kRGiCX__cls-2{stroke:#000;stroke-width:2px;}</style></defs><title>Artboard 33</title><path class="__2kRGiCX__cls-1 " d="M48.31 91.86h13.38"></path><path class="__2kRGiCX__cls-2 " d="M54.98 68.3l-5.02 8.65 5.02 3.36"></path></svg>'},d8b7:function(t,e,s){"use strict";var n=s("a6a1"),i=s.n(n);i.a},d90f:function(t,e,s){},db62:function(t,e,s){"use strict";var n=s("c17d"),i=s.n(n);i.a},db74:function(t,e,s){t.exports=s.p+"img/Nose_&_Lips_6.404ec163.svg"},dc19:function(t,e){t.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 110 110"><defs><style>.__1-WVfdo__cls-1,.__1-WVfdo__cls-2{fill:none;stroke-linecap:round;stroke-linejoin:round;}.__1-WVfdo__cls-1{stroke:#f99;stroke-width:4px;}.__1-WVfdo__cls-2{stroke:#000;stroke-width:2px;}</style></defs><title>Artboard 35</title><path class="__1-WVfdo__cls-1 " d="M48.31 91.86h13.38"></path><path class="__1-WVfdo__cls-2 " d="M54.85 60.07l-3.35 5.76a10.87 10.87 0 0 0 3.35 14.48"></path></svg>'},dd46:function(t,e){t.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 110 110"><defs><style>.__MJdKJ06__cls-1{fill:none;stroke:#000;stroke-linecap:round;stroke-linejoin:round;stroke-width:2px;}</style></defs><title>Artboard 50 copy 3</title><path class="__MJdKJ06__cls-1 " d="M50.48 62.47a4.52 4.52 0 0 1 4.52-4.47 4.52 4.52 0 0 1 4.52 4.52"></path><path class="__MJdKJ06__cls-1 " d="M79.52 61.11c0 5.52-1.45 10.56-10 10.56a10 10 0 0 1-10-10c0-8.35 20-8.92 20-.56zM30.48 61.11c0 5.52 1.45 10.56 10 10.56a10 10 0 0 0 10-10c0-8.35-20-8.92-20-.56z"></path></svg>'},de0e:function(t,e,s){var n={"./table-female.svg":"9df7","./table.svg":"2076"};function i(t){var e=a(t);return s(e)}function a(t){var e=n[t];if(!(e+1)){var s=new Error("Cannot find module '"+t+"'");throw s.code="MODULE_NOT_FOUND",s}return e}i.keys=function(){return Object.keys(n)},i.resolve=a,t.exports=i,i.id="de0e"},dee3:function(t,e,s){t.exports=s.p+"img/Hairstyle_5.3aad1b44.svg"},defb:function(t,e,s){t.exports=s.p+"img/7.182096dc.jpg"},df90:function(t,e,s){},e153:function(t,e,s){t.exports=s.p+"img/Hairstyle_6.fcd7d6a1.svg"},e216:function(t,e){t.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 110 110"><defs><style>.__DCchm1c__cls-1{fill:#fcc;}.__DCchm1c__cls-2{fill:#fff;}.__DCchm1c__cls-3{stroke:#000;stroke-linecap:round;stroke-linejoin:round;stroke-width:2px;}</style></defs><title>Artboard 50 copy 6</title><path class="__DCchm1c__cls-1 " d="M86.68 42.22a31.7 31.7 0 1 0-63.4.06v42.61a24 24 0 0 0 24 24h15.41a24 24 0 0 0 24-24z"></path><circle class="__DCchm1c__cls-2 " cx="69.52" cy="61.88" r="7.59"></circle><circle class="__DCchm1c__cls-2 " cx="40.48" cy="61.9" r="7.59"></circle><circle class="__DCchm1c__cls-3 " cx="40.48" cy="61.9" r="1.31"></circle><circle class="__DCchm1c__cls-3 " cx="69.52" cy="61.88" r="1.31"></circle></svg>'},e355:function(t,e,s){t.exports=s.p+"img/Hairstyle_20.429fb676.svg"},e370:function(t,e,s){t.exports=s.p+"img/cards.3c4d69bf.png"},e3da:function(t,e,s){t.exports=s.p+"img/bag.25e18d8a.svg"},e3f5:function(t,e,s){t.exports=s.p+"img/pins.2efa3364.png"},e467:function(t,e,s){t.exports=s.p+"img/Hairstyle_18.9fd6fb02.svg"},e4e1:function(t,e,s){t.exports=s.p+"img/Ears_4.989e543d.svg"},e54b:function(t,e,s){t.exports=s.p+"img/4.9ed1868c.svg"},e579:function(t,e){t.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 110 110"><title>Artboard 26</title><path d="M67.05 92.94a2 2 0 0 0-2 2 9.87 9.87 0 1 1-19.73 0 2 2 0 0 0-4 0 13.87 13.87 0 1 0 27.73 0 2 2 0 0 0-2-2z"></path></svg>'},e59b:function(t,e){t.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 110 110"><defs><style>.__3tPWnzo__cls-1{fill:none;}.__3tPWnzo__cls-1,.__3tPWnzo__cls-2{stroke:#000;stroke-linecap:round;stroke-linejoin:round;stroke-width:2px;}</style></defs><title>Artboard 50 copy 5</title><path class="__3tPWnzo__cls-1 " d="M23.32 78.66l56.46-56.46"></path><circle class="__3tPWnzo__cls-2 " cx="40.25" cy="61.8" r="7.59"></circle></svg>'},e5ff:function(t,e,s){"use strict";var n=s("099f"),i=s.n(n);i.a},e603:function(t,e,s){"use strict";var n=s("76d8"),i=s.n(n);i.a},e60c:function(t,e,s){t.exports=s.p+"img/clock.71bd889d.svg"},e646:function(t,e,s){t.exports=s.p+"img/Glasses_5.2d451aba.svg"},e64b:function(t,e,s){t.exports=s.p+"img/Hairstyle_2.52860f8f.svg"},e7d5:function(t,e,s){},e7e8:function(t,e,s){"use strict";var n=s("1542"),i=s.n(n);i.a},ea3b:function(t,e,s){t.exports=s.p+"img/completed.e93ec925.svg"},ea94:function(t,e,s){t.exports=s.p+"img/Hairstyle_19.336aac83.svg"},eb85:function(t,e,s){t.exports=s.p+"img/spades.b8e7e94b.svg"},ec30:function(t,e,s){t.exports=s.p+"img/4.4c2e6602.png"},ec63:function(t,e){t.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 110 110"><title>Artboard 30</title><path d="M86.88 76a1 1 0 0 0-1.12.64l-3.76 10.3a25.14 25.14 0 0 0-16.95 12.06 15.74 15.74 0 0 0-2.05 7.9v1.41a1.7 1.7 0 0 0 2.21 1.61c10.69-3.52 22.5-8.63 22.5-30.13v-2.79a1 1 0 0 0-.83-1zM28 86.94l-3.76-10.28a1 1 0 0 0-1.12-.66 1 1 0 0 0-.82 1v2.79c0 21.5 11.81 26.61 22.5 30.13a1.7 1.7 0 0 0 2.2-1.61v-1.41a15.74 15.74 0 0 0-2-7.9 25.17 25.17 0 0 0-17-12.06z"></path></svg>'},ec90:function(t,e,s){t.exports=s.p+"img/Mustache_3.86ad702a.svg"},ee69:function(t,e,s){t.exports=s.p+"img/hearts.7c386560.svg"},ee8c:function(t,e){t.exports='<svg viewBox="0 0 110 110" xmlns="http://www.w3.org/2000/svg"><path d="M21.16 54.58a12 12 0 0 0-12 12 12 12 0 0 0 12 12h4.1v-24zM88.84 54.58h-4.1v24h4.1a12 12 0 0 0 12-12 12 12 0 0 0-12-12z" fill="#fcc"></path><path d="M23.28 70.81a4.25 4.25 0 0 1-4.28-4.25 4.24 4.24 0 0 1 4.25-4.24M86.72 62.32a4.24 4.24 0 0 1 4.28 4.24 4.25 4.25 0 0 1-4.25 4.25" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" fill="none"></path><circle cx="19.63" cy="78.19" r="2.95"></circle><circle cx="90.37" cy="78.19" r="2.95"></circle></svg>'},f080:function(t,e,s){t.exports=s.p+"img/Head_5.05ef51ac.svg"},f155:function(t,e){t.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 110 110"><defs><style>.__1gOhMgb__cls-1{fill:none;stroke:#000;stroke-linecap:round;stroke-linejoin:round;stroke-width:2px;}</style></defs><title>Artboard 48</title><path class="__1gOhMgb__cls-1 " d="M66 71.38a13.64 13.64 0 0 0 9.71 4M44.05 71.38a13.64 13.64 0 0 1-9.71 4"></path></svg>'},f479:function(t,e,s){"use strict";var n=s("9955"),i=s.n(n);i.a},f48b:function(t,e,s){t.exports=s.p+"img/8.4e12777f.png"},f563:function(t,e,s){t.exports=s.p+"img/Beard_5.b9311221.svg"},f6ef:function(t,e,s){t.exports=s.p+"img/cond.f91b7083.svg"},f725:function(t,e,s){t.exports=s.p+"img/trash.2ca66aec.svg"},f7cc:function(t,e){t.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 110 110"><defs><style>.__1esMXh5__cls-1{fill:#fcc;}.__1esMXh5__cls-2{fill:#fff;}.__1esMXh5__cls-3{stroke:#000;stroke-linecap:round;stroke-linejoin:round;stroke-width:2px;}</style></defs><title>Artboard 50 copy 7</title><path class="__1esMXh5__cls-1 " d="M86.88 40.47a31.71 31.71 0 0 0-31.74-31.67 31.69 31.69 0 0 0-31.67 31.73v35.24a25.55 25.55 0 0 0 8 18.57l10 9.46a12.11 12.11 0 0 0 8.33 3.31h10.76a12.14 12.14 0 0 0 8.34-3.32l10-9.5a25.58 25.58 0 0 0 8-18.58z"></path><circle class="__1esMXh5__cls-2 " cx="69.71" cy="61.88" r="7.59"></circle><circle class="__1esMXh5__cls-2 " cx="40.67" cy="61.9" r="7.59"></circle><circle class="__1esMXh5__cls-3 " cx="40.67" cy="61.9" r="1.31"></circle><circle class="__1esMXh5__cls-3 " cx="69.71" cy="61.88" r="1.31"></circle></svg>'},f805:function(t,e,s){"use strict";var n=s("71e4"),i=s.n(n);i.a},f994:function(t,e){t.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 110 110"><title>Artboard 43</title><path d="M47.17 50.21a1 1 0 0 1-.7-.29 8.49 8.49 0 0 0-12 0 1 1 0 1 1-1.41-1.41 10.48 10.48 0 0 1 14.8 0 1 1 0 0 1 0 1.41 1 1 0 0 1-.69.29zM76.21 50.21a1 1 0 0 1-.7-.29 8.49 8.49 0 0 0-12 0 1 1 0 0 1-1.41-1.41 10.48 10.48 0 0 1 14.8 0 1 1 0 0 1 0 1.41 1 1 0 0 1-.69.29z"></path></svg>'},fa6c:function(t,e,s){t.exports=s.p+"img/Hairstyle_12.e99853e7.svg"},fb27:function(t,e,s){"use strict";var n=s("cf42"),i=s.n(n);i.a},fd70:function(t,e,s){"use strict";var n=s("52bb"),i=s.n(n);i.a},ff18:function(t,e,s){"use strict";var n=s("a5bf"),i=s.n(n);i.a}});
  2. //# sourceMappingURL=app.1b429669.js.map
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement