PageSourceSearch

https://tripinthedark.ru/themes/walk/assets/index.206d4d79.js

js tripinthedark.ru collected 2026-10-04 12:52:35 UTC 23,027 bytes, 13 lines download raw bytes

1(window.webpackJsonp=window.webpackJsonp||[]).push([[2],{506:function(t,e,i){"use strict";var n=i(2);function s(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,n)}return i}function r(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?s(Object(i),!0).forEach((function(e){a(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):s(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}function a(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}var o={name:"PageBase",extends:i(80).a,computed:r(r(r(r({},Object(n.e)(["labels","texts","isPageLoaded","isMinLoadingTimeUp","commandContexts","isPreloaderDismissed"])),Object(n.c)(["isCommonResourcesLoaded","device","isDesktop","isTablet","isMobile"])),Object(n.e)("interfaceStore",["interfaces"])),Object(n.c)("interfaceStore",["isVisionEnabled","isSoundEnabled"])),methods:r({},Object(n.b)(["addCommandFunc","changeCommandContext","setGlobalMenuLabelVisibility"])),created:function(){this.changeCommandContext(this.commandContexts.global)}},c=i(4),u=Object(c.a)(o,void 0,void 0,!1,null,null,null);u.options.__file="src/js/app/components/PageBase.vue";e.a=u.exports},507:function(t,e,i){"use strict";var n=function(){var t=this.$createElement;return(this._self._c||t)("div",{directives:[{name:"height-fix",rawName:"v-height-fix"}],staticClass:"page",class:["page--"+this.pageName]},[this._t("default")],2)};n._withStripped=!0;var s={name:"PageBaseTpl",props:{pageName:{type:String,default:function(){return this.$route.name}}}},r=i(4),a=Object(r.a)(s,n,[],!1,null,null,null);a.options.__file="src/js/app/components/PageBaseTpl.vue";e.a=a.exports},519:function(t,e,i){"use strict";i.r(e);var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("page-base-tpl",[i("div",{staticClass:"page__content"},[t.currentSvgTemplate?i("div",{staticClass:"svg-over",class:{ended:t.isIntroEnded}},[i(t.currentSvgComponent,{tag:"component",attrs:{svgWidth:t.svgWidth,svgHeight:t.svgHeight,mask:t.mask,isInterfaceHovered:t.isInterfaceHovered,isInterfaceActive:t.isInterfaceActive,onFacePartMouseOver:t.onFacePartMouseOver,onFacePartMouseMove:t.onFacePartMouseMove,onFacePartClick:t.onFacePartClick,isIntroEnded:t.isIntroEnded,isActiveFrame:t.isActiveFrame,whiteCircleRadius:t.whiteCircleRadius},on:{mounted:t.adjustSvgSize}})],1):t._e(),t._v(" "),t.isIntroEnded?i("div",{staticClass:"tooltip-over"},[i("transition",{attrs:{name:"fade",mode:"out-in"}},[t.isMainTooltipVisible?i("div",{key:"main",staticClass:"tooltip tooltip--main"},[i("div",{staticClass:"tooltip__title",domProps:{innerHTML:t._s(t.isDesktop?t.labels.hover_click:t.labels.tap_choose)}}),t._v(" "),i("div",{staticClass:"tooltip__txt",domProps:{innerHTML:t._s(t.labels.hover_on_face)}})]):t._e(),t._v(" "),t._l(t.interfaces,(function(e,n){return t.isTooltipVisible(n)?i("div",{key:n,staticClass:"tooltip",class:["tooltip--"+n]},[i("div",{staticClass:"tooltip__title"},[i("img",{attrs:{src:"/themes/walk/assets/svg/tooltip_"+n+"_"+t.siteLang+".svg",alt:n}})])]):t._e()}))],2)],1):t._e(),t._v(" "),t.isAnyInterfaceActive?i("div",{staticClass:"btn btn--start btn--round btn--round--white",class:{hover:t.isBtnStartHovered,active:t.isBtnStartActive},on:{mouseleave:function(e){t.onBtnStartHover(e)},mouseenter:function(e){t.onBtnStartHover(e)},click:t.onBtnStartClick}},[i("div",{staticClass:"btn__icon-over"},[i("div",{staticClass:"btn__icon"})]),t._v(" "),i("div",{staticClass:"btn__txt-over"},[i("div",{staticClass:"btn__txt",domProps:{innerHTML:t._s(t.labels.start)}})])]):t._e()]),t._v(" "),t.instructions?i("instructions-popup",{attrs:{isOpen:t.isInstructionsPopupOpen,toggleOpen:t.toggleInstructionsPopup,screens:t.instructions}}):t._e()],1)};n._withStripped=!0;
1var s=i(17),r=i(505),a=i(504),o=i(503),c=i(0);
2/*!
3 * VERSION: 0.2.2
4 * DATE: 2018-08-27
5 * UPDATES AND DOCS AT: http://greensock.com
6 *
7 * @license Copyright (c) 2008-2019, GreenSock. All rights reserved.
8 * This work is subject to the terms at http://greensock.com/standard-license or for
9 * Club GreenSock members, the software agreement that was issued with your membership.
10 *
11 * @author: Jack Doyle, [email protected]
12 **/
13c.g._gsDefine("easing.CustomEase",["easing.Ease"],(function(){var t=/(?:(-|-=|\+=)?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/gi,e=/[achlmqstvz]|(-?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/gi,i=/[\+\-]?\d*\.?\d+e[\+\-]?\d+/gi,n=/[cLlsS]/g,s="CustomEase only accepts Cubic Bezier data.",r=function t(e,i,n,s,r,a,o,c,u,l,h){var p,v=(e+n)/2,d=(i+s)/2,f=(n+r)/2,m=(s+a)/2,g=(r+o)/2,b=(a+c)/2,y=(v+f)/2,S=(d+m)/2,x=(f+g)/2,w=(m+b)/2,_=(y+x)/2,k=(S+w)/2,O=o-e,P=c-i,C=Math.abs((n-o)*P-(s-c)*O),I=Math.abs((r-o)*P-(a-c)*O);return l||(l=[{x:e,y:i},{x:o,y:c}],h=1),l.splice(h||l.length-1,0,{x:_,y:k}),(C+I)*(C+I)>u*(O*O+P*P)&&(p=l.length,t(e,i,v,d,y,S,_,k,u,l,h),t(_,k,x,w,g,b,o,c,u,l,h+1+(l.length-p))),l},a=function(t){var e=this.lookup[t*this.l|0]||this.lookup[this.l-1];return e.nx<t&&(e=e.n),e.y+(t-e.x)/e.cx*e.cy},o=function(t,e,i){this._calcEnd=!0,this.id=t,t&&(c.b.map[t]=this),this.getRatio=a,this.setData(e,i)},u=o.prototype=new c.b;return u.constructor=o,u.setData=function(a,o){var c,u,l,h,p,v,d,f,m,g,b=(a=a||"0,0,1,1").match(t),y=1,S=[];if(g=(o=o||{}).precision||1,this.data=a,this.lookup=[],this.points=S,this.fast=g<=1,(n.test(a)||-1!==a.indexOf("M")&&-1===a.indexOf("C"))&&(b=function(t){var n,r,a,o,c,u,l,h,p,v,d,f=(t+"").replace(i,(function(t){var e=+t;return e<1e-4&&e>-1e-4?0:e})).match(e)||[],m=[],g=0,b=0,y=f.length,S=2;for(n=0;n<y;n++)if(p=o,isNaN(f[n])?c=(o=f[n].toUpperCase())!==f[n]:n--,r=+f[n+1],a=+f[n+2],c&&(r+=g,a+=b),n||(l=r,h=a),"M"===o)u&&u.length<8&&(m.length-=1,S=0),g=l=r,b=h=a,u=[r,a],S=2,m.push(u),n+=2,o="L";else if("C"===o)u||(u=[0,0]),u[S++]=r,u[S++]=a,c||(g=b=0),u[S++]=g+1*f[n+3],u[S++]=b+1*f[n+4],u[S++]=g+=1*f[n+5],u[S++]=b+=1*f[n+6],n+=6;else if("S"===o)"C"===p||"S"===p?(v=g-u[S-4],d=b-u[S-3],u[S++]=g+v,u[S++]=b+d):(u[S++]=g,u[S++]=b),u[S++]=r,u[S++]=a,c||(g=b=0),u[S++]=g+=1*f[n+3],u[S++]=b+=1*f[n+4],n+=4;else{if("L"!==o&&"Z"!==o)throw s;"Z"===o&&(r=l,a=h,u.closed=!0),("L"===o||Math.abs(g-r)>.5||Math.abs(b-a)>.5)&&(u[S++]=g+(r-g)/3,u[S++]=b+(a-b)/3,u[S++]=g+2*(r-g)/3,u[S++]=b+2*(a-b)/3,u[S++]=r,u[S++]=a,"L"===o&&(n+=2)),g=r,b=a}return m[0]}(a)),4===(c=b.length))b.unshift(0,0),b.push(1,1),c=8;else if((c-2)%6)throw s;for(0==+b[0]&&1==+b[c-2]||function(t,e,i){i||0===i||(i=Math.max(+t[t.length-1],+t[1]));var n,s=-1*+t[0],r=-i,a=t.length,o=1/(+t[a-2]+s),c=-e||(Math.abs(+t[a-1]-+t[1])<.01*(+t[a-2]-+t[0])?function(t){var e,i=t.length,n=999999999999;for(e=1;e<i;e+=6)+t[e]<n&&(n=+t[e]);return n}(t)+r:+t[a-1]+r);for(c=c?1/c:-o,n=0;n<a;n+=2)t[n]=(+t[n]+s)*o,t[n+1]=(+t[n+1]+r)*c}(b,o.height,o.originY),this.rawBezier=b,h=2;h<c;h+=6)u={x:+b[h-2],y:+b[h-1]},l={x:+b[h+4],y:+b[h+5]},S.push(u,l),r(u.x,u.y,+b[h],+b[h+1],+b[h+2],+b[h+3],l.x,l.y,1/(2e5*g),S,S.length-1);for(c=S.length,h=0;h<c;h++)d=S[h],f=S[h-1]||d,d.x>f.x||f.y!==d.y&&f.x===d.x||d===f?(f.cx=d.x-f.x,f.cy=d.y-f.y,f.n=d,f.nx=d.x,this.fast&&h>1&&Math.abs(f.cy/f.cx-S[h-2].cy/S[h-2].cx)>2&&(this.fast=!1),f.cx<y&&(f.cx?y=f.cx:(f.cx=.001,h===c-1&&(f.x-=.001,y=Math.min(y,.001),this.fast=!1)))):(S.splice(h--,1),c--);if(c=1/y+1|0,this.l=c,p=1/c,v=0,d=S[0],this.fast){for(h=0;h<c;h++)m=h*p,d.nx<m&&(d=S[++v]),u=d.y+(m-d.x)/d.cx*d.cy,this.lookup[h]={x:m,cx:p,y:u,cy:0,nx:9},h&&(this.lookup[h-1].cy=u-this.lookup[h-1].y);this.lookup[c-1].cy=S[S.length-1].y-u}else{for(h=0;h<c;h++)d.nx<h*p&&(d=S[++v]),this.lookup[h]=d;v<S.length-1&&(this.lookup[h-1]=S[S.length-2])}return this._calcEnd=1!==S[S.length-1].y||0!==S[0].y,this},u.getRatio=a,u.getSVGData=function(t){return o.getSVGData(this,t)},o.create=function(t,e,i){return new o(t,e,i)},o.version="0.2.2",o.bezierToPoints=r,o.get=function(t){return c.b.map[t]},o.getSVGData=function(t,e){var i,n,s,r,a,o,u,l,h,p,v=1e3,d=(e=e||{}).width||100,f=e.height||100,m=e.x||0,g=(e.y||0)+f,b=e.path;if(e.invert&&(f=-f,g=0),(t=t.getRatio?t:c.b.map[t]||console.log("No ease found: ",t)).rawBezier){for(i=[],u=t.rawBezier.length,s=0;s<u;s+=2)i.push(((m+t.rawBezier[s]*d)*v|0)/v+","+((g+t.rawBezier[s+1]*-f)*v|0)/v);i[0]="M"+i[0],i[1]="C"+i[1]}else for(i=["M"+m+","+g],r=1/(u=Math.max(5,200*(e.precision||1))),l=5/(u+=2),h=((m+r*d)*v|0)/v,n=((p=((g+t.getRatio(r)*-f)*v|0)/v)-g)/(h-m),s=2;s<u;s++)a=((m+s*r*d)*v|0)/v,o=((g+t.getRatio(s*r)*-f)*v|0)/v,(Math.abs((o-p)/(a-h)-n)>l||s===u-1)&&(i.push(h+","+p),n=(o-p)/(a-h)),h=a,p=o;return b&&("string"==typeof b?document.querySelector(b):b).setAttribute("d",i.join(" ")),i.join(" ")},o}),!0);var u=c.i.CustomEase,l=i(2),h=i(507);function p(t){return(p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function v(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}
13function d(t,e){return(d=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function f(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var i,n=g(t);if(e){var s=g(this).constructor;i=Reflect.construct(n,arguments,s)}else i=n.apply(this,arguments);return m(this,i)}}function m(t,e){if(e&&("object"===p(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function g(t){return(g=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var b=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&d(t,e)}(r,t);var e,i,n,s=f(r);function r(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,r),(e=s.call(this,t)).init(),e}return e=r,(i=[{key:"init",value:function(){this.svgInitialWidth=parseFloat(this.$svg.attr("width").replace("px","")),this.svgInitialHeight=parseFloat(this.$svg.attr("height").replace("px","")),this.$circleMasks=this.findElements("circle",(function(t){return t.search(/circle-mask/i)>-1})),this.maskInitial={cx:parseFloat(this.$circleMasks.attr("cx")),cy:parseFloat(this.$circleMasks.attr("cy")),r:parseFloat(this.$circleMasks.attr("r"))}}},{key:"prepareSvg",value:function(){var t=this,e=this.$svg,i=this.$circleMasks,n=this.findElements("g",(function(t){return t.search(/face-part/i)>-1})),s=this.findElements("circle",(function(t){return t.search(/hover-zone/i)>-1})),r=this.findElements("g",(function(t){return t.search(/block--anim/i)>-1})),a=this.findElements("g",(function(t){return t.search(/block--anim-slide/i)>-1})),o=this.findElements("circle",(function(t){return t.search(/path-35/i)>-1})),c=this.$svg.find("path");return this.removeTitleFromSvg(),this.removeStyleFromSvg(),e.attr("v-bind:width","svgWidth"),e.attr("v-bind:height","svgHeight"),i.each((function(t,e){var i=$(e),n=i.attr("id").split("-").pop();i.removeAttr("cx").removeAttr("cy"),i.attr("v-bind:cx","mask['".concat(n,"'].cx")),i.attr("v-bind:cy","mask['".concat(n,"'].cy"))})),n.each((function(t,e){var i=$(e),n=i.attr("id").split("-"),s=n[n.length-1];i.addClass(n.slice(0,2).join("-")),i.attr("v-bind:class","{ hover: isInterfaceHovered('".concat(s,"'), active: isInterfaceActive('").concat(s,"') }")),i.attr("v-show","isIntroEnded")})),s.each((function(t,e){var i=$(e),n=i.attr("id").split("-").pop();i.attr("v-on:mouseenter","onFacePartMouseOver($event, '".concat(n,"')")),i.attr("v-on:mouseleave","onFacePartMouseOver($event, '".concat(n,"')")),i.attr("v-on:mousemove","onFacePartMouseMove($event, '".concat(n,"')")),i.attr("v-on:click","onFacePartClick($event, '".concat(n,"')"))})),r.each((function(e,i){var n=$(i),s=n.attr("id").split("_"),r=parseFloat(s[s.length-1]),a=s[s.length-2],o=t.findElements("g",(function(t){return t.search(/parent_group/i)>-1}),n),c=t.findElements("g",(function(t){return t.search(/group/i)>-1}),o).children("g").eq(0),u=c.attr("transform"),l=u?u.split(/[\(\)]/)[1].split(", ").map((function(t){return parseFloat(t)})):null;n.addClass(a),n.attr("v-bind:class","{ active: isActiveFrame(".concat(r,") }")),c.addClass("anim-group"),u&&(c.removeAttr("transform"),c.css({transform:"translate(".concat(l[0],"px, ").concat(l[1],"px)")}))})),r.toArray().reduce((function(t,e){var i=$(t),n=$(e),s=+i.attr("id").split("_").slice(-1);return+n.attr("id").split("_").slice(-1)>s?n:i}),r.eq(0)).addClass("block--interface"),a.wrapAll('<transition name="fade"><g class="words-group" v-if="!isIntroEnded"></g></transition>'),c.attr("vector-effect","non-scaling-stroke"),o.attr("v-bind:r","whiteCircleRadius"),$("<div></div>").append(e).html()}}
13])&&v(e.prototype,i),n&&v(e,n),Object.defineProperty(e,"prototype",{writable:!1}),r}(i(20).a),y=i(9),S=i.n(y),x=i(233),w=i(506),_=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("popup-base-tpl",{directives:[{name:"wheel",rawName:"v-wheel"},{name:"swipe",rawName:"v-swipe"}],class:["popup--fullscreen","popup--instructions"],attrs:{isOpen:t.isOpen}},[i("div",{staticClass:"btn btn--close",on:{click:t.toggleOpen}}),t._v(" "),i("div",{staticClass:"popup__content"},[i("transition",{attrs:{name:"fade",mode:"out-in"}},[i("div",{key:t.activeScreen.id,staticClass:"screen",class:["screen--"+t.activeScreen.code]},[i("div",{staticClass:"screen__img"},[i("div",{staticClass:"img-over"},[i("div",{staticClass:"img",style:{"background-image":"url("+t.activeScreen.img+")"}})])]),t._v(" "),i("div",{staticClass:"screen__txt"},[i("div",{staticClass:"screen__txt__content"},[i("div",{staticClass:"title",domProps:{innerHTML:t._s(t.activeScreen.title)}}),t._v(" "),t.activeScreen.desc?i("div",{staticClass:"desc",domProps:{innerHTML:t._s(t.activeScreen.desc)}}):t._e(),t._v(" "),t.activeScreen.notice?i("div",{staticClass:"notice",domProps:{innerHTML:t._s(t.activeScreen.notice)}}):t._e()])])])]),t._v(" "),i("div",{staticClass:"popup__nav"},[i("ul",{staticClass:"nav__items"},t._l(t.screens,(function(e,n){return i("li",{staticClass:"nav__item",class:{active:n===t.activeScreenIndex},on:{click:function(e){t.changeSlide(n)}}})})))])],1)])};_._withStripped=!0;var k={components:{PopupBaseTpl:i(234).a},name:"InstructionsPopup",props:["isOpen","toggleOpen","screens"],data:function(){return{activeScreenIndex:0,wheeling:void 0}},computed:{activeScreen:function(){return this.screens[this.activeScreenIndex]}},methods:{changeSlide:function(t){this.activeScreenIndex=t},goNext:function(){this.activeScreenIndex=Math.min(this.activeScreenIndex+1,this.screens.length-1)},goPrev:function(){this.activeScreenIndex=Math.max(this.activeScreenIndex-1,0)}},directives:{wheel:{inserted:function(t,e,i){var n=$(t),s=i.context;n.on("mousewheel",(function(t){if(t.preventDefault(),!s.wheeling){var e=t.deltaY;e>0&&s.goPrev(),e<0&&s.goNext()}clearTimeout(s.wheeling),s.wheeling=setTimeout((function(){s.wheeling=void 0}),50)}))}},swipe:{inserted:function(t,e,i){var n=i.context;new window.Hammer(t).on("swipeleft",(function(){n.goNext()})).on("swiperight",(function(){n.goPrev()}))}}},watch:{isOpen:function(t){t||(this.activeScreenIndex=0)}}},O=i(4),P=Object(O.a)(k,_,[],!1,null,null,null);function C(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,n)}return i}function I(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?C(Object(i),!0).forEach((function(e){j(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):C(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}function j(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}P.options.__file="src/js/app/components/InstructionsPopup.vue";var M={components:{InstructionsPopup:P.exports,MotionBlurredBlock:x.a,PageBaseTpl:h.a},name:"IndexPage",extends:w.a,data:function(){return{svgWidth:0,svgHeight:0,isBtnStartHovered:!1,isBtnStartActive:!1,startBtnCanvasScale:1,activeFrameNumber:0,animatedFrameNumbers:[],whiteCircleRadius:0,animationConfig:{ru:[[10,10],[2,8],[11],[15,4],[16]],en:[[6,6],[2,4],[7],[14,7],[15]]}}},computed:I(I(I({},Object(l.e)("introStore",["isIntroEnded","currentSvgTemplate","svgAspectRatio","mask","maskInitial","isInstructionsPopupOpen","instructions"])),Object(l.c)("interfaceStore",["isSpeechEnabled","isAnyInterfaceActive","isAnyInterfaceHovered"])),{},{currentSvgComponent:function(){return s.a.component("introSvgComponent",{template:this.currentSvgTemplate,props:["svgWidth","svgHeight","mask","isInterfaceHovered","isInterfaceActive","onFacePartMouseOver","onFacePartMouseMove","onFacePartClick","isIntroEnded","isActiveFrame","whiteCircleRadius"],mounted:function(){this.$emit("mounted")}})},isPageResourcesLoaded:function(){return this.isMinLoadingTimeUp&&this.isCommonResourcesLoaded&&this.currentSvgTemplate},introSvgPath:function(){return"/themes/walk/assets/svg-templates/page_index_".concat(this.device,"_").concat(this.siteLang,".svg")},isMainTooltipVisible:function(){return this.isDesktop?!this.isAnyInterfaceHovered&&!this.isAnyInterfaceActive:!this.isAnyInterfaceActive},whiteCircleRadiusInitial:function(){return this.isDesktop?122.5:this.isTablet?100.5:this.isMobile?97:void 0}}),methods:I(I(I(I(I(I(I({},Object(l.d)("interfaceStore",["set","setInterfaceProp"])),Object(l.d)(["set"])),Object(l.d)({introStoreSet:"introStore/set"})),Object(l.b)("soundStoreGlobal",["playTrack","stopPrevBgTrack"])),Object(l.b)("introStore",["getInstructions","toggleInstructionsPopup"])),Object(l.b)(["toggleRecording"])),{},{isInterfaceHovered:function(t){return this.$store.getters["interfaceStore/isInterfaceHovered"](t)},isInterfaceActive:function(t){return this.$store.getters["interfaceStore/isInterfaceActive"](t)},isTooltipVisible:function(t){return!!this.isDesktop&&(this.isInterfaceHovered(t)&&!this.isInterfaceActive(t))},adjustSvgSize:function(){var t=Math.ceil(this.$window.width()),e=Math.floor(this.$window.height()),i=Math.ceil(t*this.svgAspectRatio);this.svgWidth=t,this.svgHeight=i<=e?i:e},onFacePartMouseOver:function(t,e){if(t.stopPropagation(),!this.isDesktop)return!1;
13"mouseenter"===t.type&&this.setInterfaceProp({interfaceName:e,key:"isHovered",value:!0}),"mouseleave"===t.type&&(this.setInterfaceProp({interfaceName:e,key:"isHovered",value:!1}),this.moveMaskToInitialPosition(e))},onFacePartClick:function(t,e){t&&t.stopPropagation(),"hearing"!==e&&this.playTrack({name:"tapStick"}),this.setInterfaceProp({interfaceName:e,key:"isActive",value:!this.isInterfaceActive(e)}),this.moveMaskToInitialPosition(e)},onFacePartMouseMove:function(t,e){if(!this.isInterfaceActive(e)){$(t.target);var i=window.getOffsetRect(t.target),n=this.maskInitial.r,s=i.left+n,r=i.top+n,a=t.pageX-s,o=t.pageY-r;this.mask[e].cx=n+a/5,this.mask[e].cy=n+o/5}},moveMaskToInitialPosition:function(t){var e=$.extend({},this.maskInitial);r.a.to(this.mask[t],.4,{cx:e.cx,cy:e.cy})},onBtnStartHover:function(t){"mouseenter"===t.type&&(this.isBtnStartHovered=!0),"mouseleave"!==t.type||this.isBtnStartActive||(this.isBtnStartHovered=!1)},onBtnStartClick:function(){var t=this;this.isBtnStartActive=!0,this.playTrack({name:"tapSwoosh"}),setTimeout((function(){t.$router.push(t.resolveHref("story",t.siteLang))}),2e3)},isActiveFrame:function(t){return this.animatedFrameNumbers.indexOf(t)>-1},begin:function(){this.introStoreSet({key:"isIntroEnded",value:!0}),this.set({key:"showLangSwitch",value:!0})},animateIntro:function(){var t=this.animationConfig[this.siteLang],e=new a.a;u.create("customEaseIn","0.57, 0.1, 0.22, 1"),u.create("customEaseOut","0.85, 0.06, 0.64, 1"),e.to(this.$data,2,{activeFrameNumber:t[0][0],ease:o.j.config(t[0][1])}).to(this.$data,2,{activeFrameNumber:t[1][0],ease:o.j.config(t[1][1])}).set(this.$data,{activeFrameNumber:t[2][0]}).to(this.$data,2,{activeFrameNumber:t[3][0],ease:o.j.config(t[3][1])}).to(this.$data,1.6,{whiteCircleRadius:1.2*this.whiteCircleRadiusInitial,ease:"customEaseIn"}).set(this.$data,{activeFrameNumber:t[4][0],delay:1}).call(this.begin).to(this.$data,1,{whiteCircleRadius:0,ease:"customEaseOut"})},initIntroSvg:function(t){var e=new b(t),i=e.svgInitialWidth,n=e.svgInitialHeight,s=e.maskInitial,r={speech:$.extend({},s),vision:$.extend({},s),hearing:$.extend({},s)};this.svgWidth=i,this.svgHeight=n,this.introStoreSet({key:"svgAspectRatio",value:n/i}),this.introStoreSet({key:"maskInitial",value:s}),this.introStoreSet({key:"mask",value:r}),this.introStoreSet({key:"currentSvgTemplate",value:e.prepareSvg()})}}),created:function(){var t=this;this.stopPrevBgTrack(),this.$window=$(window),this.isIntroEnded||(this.set({key:"showLangSwitch",value:!1}),S.a.get(this.introSvgPath).then((function(e){t.initIntroSvg(e.data)}))),this.isDesktop||$.each(this.interfaces,(function(e,i){t.setInterfaceProp({interfaceName:e,key:"isHovered",value:!0})})),this.addCommandFunc({funcName:"onBtnStartClick",func:$.proxy(this.onBtnStartClick,this),context:this.commandContexts.intro}),this.addCommandFunc({funcName:"toggleVision",func:$.proxy(this.onFacePartClick,this,null,"vision"),context:this.commandContexts.intro}),this.addCommandFunc({funcName:"toggleHearing",func:$.proxy(this.onFacePartClick,this,null,"hearing"),context:this.commandContexts.intro}),this.changeCommandContext(this.commandContexts.intro),this.getInstructions()},mounted:function(){var t=this;this.$window.on("resize",(function(){t.adjustSvgSize()}))},watch:{activeFrameNumber:function(t){var e=Math.round(t);this.animatedFrameNumbers.indexOf(e)>-1?this.animatedFrameNumbers=this.animatedFrameNumbers.filter((function(t){return t!==e+1})):this.animatedFrameNumbers.push(e)},isPageResourcesLoaded:function(t){t&&this.set({key:"isPageLoaded",value:!0})},isPreloaderDismissed:function(t){t&&this.animateIntro()},currentSvgTemplate:function(t){},isSpeechEnabled:function(t){t?this.toggleInstructionsPopup():this.toggleRecording(t)},isInstructionsPopupOpen:function(t){t||this.toggleRecording(!0)}}},F=Object(O.a)(M,n,[],!1,null,null,null);F.options.__file="src/js/app/pages/index/index.vue";e.default=F.exports}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.