From 0a18140feec95eb9201cb086df7d47e2401a7dab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=94=D0=BC=D0=B8=D1=82=D1=80=D0=B8=D0=B9=20=D0=A2=D0=B8=D0?= =?UTF-8?q?=BF=D0=B8=D0=BA=D0=B8=D0=BD?= Date: Mon, 26 Jun 2023 03:31:58 +0300 Subject: [PATCH] =?UTF-8?q?=D0=98=D0=BD=D1=82=D0=B5=D0=B3=D1=80=D0=B0=D1=86=D0?= =?UTF-8?q?=B8=D1=8F=20=D0=B2=D0=B5=D1=80=D1=81=D1=82=D0=BA=D0=B8=20=D0=BD=D0?= =?UTF-8?q?=B0=20=D0=91=D0=B8=D1=82=D1=80=D0=B8=D0=BA=D1=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .section.php | 9 + about/.section.php | 10 +- about/index.php | 1 + contacts/.section.php | 11 +- .../news.detail/article/component_epilog.php | 6 + .../bitrix/news.detail/article/template.php | 2 +- .../news.detail/article/component_epilog.php | 7 + .../bitrix/news.detail/article/result_modifier.php | 8 + .../articles/bitrix/news.detail/article/script.js | 2 + .../articles/bitrix/news.detail/article/style.css | 3242 ++++++++++++++++++++ .../bitrix/news.detail/article/template.php | 100 + local/templates/main/header.php | 8 +- partners/.section.php | 10 +- partners/index.php | 1 + requisites/.section.php | 10 +- requisites/index.php | 1 + services/index.php | 8 +- 17 files changed, 3411 insertions(+), 25 deletions(-) create mode 100644 .section.php create mode 100644 local/templates/main/components/bitrix/news.detail/article/component_epilog.php create mode 100644 local/templates/main/components/bitrix/news/articles/bitrix/news.detail/article/component_epilog.php create mode 100644 local/templates/main/components/bitrix/news/articles/bitrix/news.detail/article/result_modifier.php create mode 100644 local/templates/main/components/bitrix/news/articles/bitrix/news.detail/article/script.js create mode 100644 local/templates/main/components/bitrix/news/articles/bitrix/news.detail/article/style.css create mode 100644 local/templates/main/components/bitrix/news/articles/bitrix/news.detail/article/template.php diff --git a/.section.php b/.section.php new file mode 100644 index 0000000..9733c18 --- /dev/null +++ b/.section.php @@ -0,0 +1,9 @@ + "Внедряем технологии в сфере информационной безопасности → Защищаем ИТ-инфракструтуру → Заменяем и обслуживаем импортное оборудование и ПО → Повышение производительности ЦОД → Диагностика, регламентные работы, ремонт, настройка инженерных систем", + "keywords" => "IT-решения, интегратор, автоматизация, сопровождение", + "robots" => "index, follow", + "image" => "/images/badges/main.jpg", + ]; +?> \ No newline at end of file diff --git a/about/.section.php b/about/.section.php index 85d9664..d776ec5 100644 --- a/about/.section.php +++ b/about/.section.php @@ -1,6 +1,8 @@ "Подробная информация о компании ИМБА ИТ.", + "keywords" => "IT-решения, интегратор, автоматизация, сопровождение", + "image" => "/images/badges/main.jpg", + ]; ?> \ No newline at end of file diff --git a/about/index.php b/about/index.php index 00b0b55..e9d9cbd 100644 --- a/about/index.php +++ b/about/index.php @@ -1,5 +1,6 @@ SetPageProperty("title", "О компании ИМБА ИТ"); $APPLICATION->SetTitle("О компании"); ?>
diff --git a/contacts/.section.php b/contacts/.section.php index 7c345e4..0ee1113 100644 --- a/contacts/.section.php +++ b/contacts/.section.php @@ -1,6 +1,9 @@ "Контакты компании по внедрению ИТ-систем ИМБА ИТ: заказать аудит инфраструктуры, телефон +7 (495) 969 39 77", + "description" => "Системный интегратор Москва и Санкт-Петербург → Заказать разработку ПО, компания ИМБА ИТ → Фирмы по безопаности ИТ-инфраструктуры: контакты, телефон, почта, адрес", + "keywords" => "контакты, ИМБА ИТ", + "image" => "/images/badges/contacts.jpg", + ]; ?> \ No newline at end of file diff --git a/local/templates/main/components/bitrix/news.detail/article/component_epilog.php b/local/templates/main/components/bitrix/news.detail/article/component_epilog.php new file mode 100644 index 0000000..20c98e5 --- /dev/null +++ b/local/templates/main/components/bitrix/news.detail/article/component_epilog.php @@ -0,0 +1,6 @@ +SetPageProperty("image", $ogImageUrl); + } \ No newline at end of file diff --git a/local/templates/main/components/bitrix/news.detail/article/template.php b/local/templates/main/components/bitrix/news.detail/article/template.php index 3cb77a5..900e400 100644 --- a/local/templates/main/components/bitrix/news.detail/article/template.php +++ b/local/templates/main/components/bitrix/news.detail/article/template.php @@ -12,7 +12,7 @@ /** @var CBitrixComponent $component */ $this->setFrameMode(true); ?> - +
diff --git a/local/templates/main/components/bitrix/news/articles/bitrix/news.detail/article/component_epilog.php b/local/templates/main/components/bitrix/news/articles/bitrix/news.detail/article/component_epilog.php new file mode 100644 index 0000000..f117158 --- /dev/null +++ b/local/templates/main/components/bitrix/news/articles/bitrix/news.detail/article/component_epilog.php @@ -0,0 +1,7 @@ +SetPageProperty("image", $ogImageUrl); + } \ No newline at end of file diff --git a/local/templates/main/components/bitrix/news/articles/bitrix/news.detail/article/result_modifier.php b/local/templates/main/components/bitrix/news/articles/bitrix/news.detail/article/result_modifier.php new file mode 100644 index 0000000..d4541ca --- /dev/null +++ b/local/templates/main/components/bitrix/news/articles/bitrix/news.detail/article/result_modifier.php @@ -0,0 +1,8 @@ +__component; // объект компонента + if (is_object($cp)) + $cp->SetResultCacheKeys(array('PREVIEW_PICTURE')); \ No newline at end of file diff --git a/local/templates/main/components/bitrix/news/articles/bitrix/news.detail/article/script.js b/local/templates/main/components/bitrix/news/articles/bitrix/news.detail/article/script.js new file mode 100644 index 0000000..d9c189d --- /dev/null +++ b/local/templates/main/components/bitrix/news/articles/bitrix/news.detail/article/script.js @@ -0,0 +1,2 @@ +/*! For license information please see ibImba.js.LICENSE.txt */ +(()=>{"use strict";const t={scroll(){document.body.style.overflow=""},unscroll(){document.body.style.overflow="hidden"}};class e{constructor(t){this._popup=t,this.openPopup=this.openPopup.bind(this),this.closePopup=this.closePopup.bind(this),this._setEscHandler=this._setEscHandler.bind(this),this.setEventListeners=this.setEventListeners.bind(this)}openPopup(e){e&&(this._subject=e),this._popup.classList.add("popup-form_visible"),document.body.style.overflow="hidden",t.unscroll(),document.addEventListener("keydown",this._setEscHandler)}closePopup(){this._popup.classList.remove("popup-form_visible"),t.scroll(),document.removeEventListener("keydown",this._setEscHandler)}_setEscHandler(t){"Escape"===t.key&&this.closePopup()}setEventListeners(){this._popup.addEventListener("mousedown",(t=>{(t.target.classList.contains("popup-form_visible")||t.target.closest(".popup-form__close"))&&this.closePopup()}))}}class r extends e{constructor(t,e){super(t),this._form=t.querySelector(".form"),this._onSubmit=e,this._inputList=this._form.querySelectorAll(".form__item"),this._popupButton=this._form.querySelector(".form__btn"),this._inputValues={},this._hiddenInput=this._form.querySelector(".form__fields_input-hidden")}openPopup(t){super.openPopup(t),this._hiddenInput.value=this._subject,console.log(this._hiddenInput.value)}closePopup(){this._form.reset(),super.closePopup()}_getInputValues(){return this._inputList.forEach((t=>{this._inputValues[t.name]=t.value})),this._inputValues}setEventListeners(){super.setEventListeners(),this._form.addEventListener("submit",(t=>{t.preventDefault()}))}}const i={WRAPPER:document.querySelector(".wrapper"),CANVAS:document.querySelector(".canvas")},n=.003,o=20,s=0,a=0,l=o,c={MIN:-180,MAX:180},u={MIN:-90,MAX:90},h="#202020",f="#FBFBFB",p="#A42E2C",g="#670E0E",d="#511112",m="#340D0F",_={rotation:0,time:0,ctx:void 0,dots:[],background:f,KKK:0,WIDTH:0,HEIGHT:0,colorFill:p,colorStroke:g};try{T(),requestAnimationFrame(T),function(){for(let t=0;t<500;t++)_.dots.push(w())}(),function(){const t=i.CANVAS.getContext("2d");t.fillRect(0,0,i.CANVAS.width,i.CANVAS.height),_.ctx=t}(),x(),x()}catch(t){}function v(t){t?(_.background=f,_.colorFill=d,_.colorStroke=m):(_.background=h,_.colorFill=p,_.colorStroke=g)}function y(t){const e=o/t.z,r=_.WIDTH/2,i=_.HEIGHT/2,n=_.KKK*e*t.x+r,s=-_.KKK*e*t.y+i;t.xDisplay=n,t.yDisplay=s,_.ctx.beginPath(),_.ctx.ellipse(n,s,2,2,0,0,2*Math.PI),_.ctx.fill()}function b(t){t.links.forEach((e=>{_.ctx.beginPath(),_.ctx.moveTo(t.xDisplay,t.yDisplay),_.ctx.lineTo(e.xDisplay,e.yDisplay),_.ctx.stroke()}))}function x(){T(),_.time++,_.dots.forEach((t=>{t.a=t.a+t.da,t.b=t.b+t.db,function(t){t.x=s+1*Math.sin(-_.rotation-_.time/1e3+t.a)*Math.cos(t.b),t.y=a+1*Math.sin(t.b),t.z=l-1*Math.cos(t.b)*Math.cos(-_.rotation-_.time/1e3+t.a)}(t)})),_.dots.sort(((t,e)=>e.z-t.z)),_.dots.forEach((t=>{t.links=[],_.dots.forEach((e=>{var r,i;r=t,i=e,Math.sqrt(Math.pow(r.x-i.x,2)+Math.pow(r.y-i.y,2)+Math.pow(r.z-i.z,2))<.15&&t.links.push(e)}))})),_.ctx.fillStyle=_.background,_.ctx.fillRect(0,0,_.WIDTH,_.HEIGHT),_.ctx.fillStyle=_.colorFill,_.ctx.strokeStyle=_.colorStroke,_.dots.forEach(b),_.dots.forEach(y),requestAnimationFrame(x)}function w(...t){return t.length>0?{a:t[0],b:t[1],da:0,db:0,xDisplay:0,yDisplay:0,links:[]}:{a:(c.MAX-c.MIN)*Math.random()+c.MIN,b:(u.MAX-u.MIN)*Math.random()+u.MIN,da:n*Math.random()-.0015,db:n*Math.random()-.0015,links:[]}}function T(){const t=i.CANVAS.clientWidth,e=i.CANVAS.clientHeight,r=Math.min(t,e);_.KKK=r/3,_.WIDTH=t,_.HEIGHT=e,i.CANVAS.width=t,i.CANVAS.height=e}const k=document.querySelectorAll(".js_toggle_input");function C(){document.body.classList.add("light-mode"),v(!0),console.log("светлая тема")}function E(){document.body.classList.remove("light-mode"),v(!1),console.log("тёмная тема")}function A(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function M(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}var S,O,P,D,R,B,I,L,W,z,F,N,q,Y,X,V={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},H={duration:.5,overwrite:!1,delay:0},U=1e8,G=1e-8,j=2*Math.PI,K=j/4,Q=0,Z=Math.sqrt,$=Math.cos,J=Math.sin,tt=function(t){return"string"==typeof t},et=function(t){return"function"==typeof t},rt=function(t){return"number"==typeof t},it=function(t){return void 0===t},nt=function(t){return"object"==typeof t},ot=function(t){return!1!==t},st=function(){return"undefined"!=typeof window},at=function(t){return et(t)||tt(t)},lt="function"==typeof ArrayBuffer&&ArrayBuffer.isView||function(){},ct=Array.isArray,ut=/(?:-?\.?\d|\.)+/gi,ht=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,ft=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,pt=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,gt=/[+-]=-?[.\d]+/,dt=/[^,'"\[\]\s]+/gi,mt=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,_t={},vt={},yt=function(t){return(vt=jt(t,_t))&&jr},bt=function(t,e){return console.warn("Invalid property",t,"set to",e,"Missing plugin? gsap.registerPlugin()")},xt=function(t,e){return!e&&console.warn(t)},wt=function(t,e){return t&&(_t[t]=e)&&vt&&(vt[t]=e)||_t},Tt=function(){return 0},kt={suppressEvents:!0,isStart:!0,kill:!1},Ct={suppressEvents:!0,kill:!1},Et={suppressEvents:!0},At={},Mt=[],St={},Ot={},Pt={},Dt=30,Rt=[],Bt="",It=function(t){var e,r,i=t[0];if(nt(i)||et(i)||(t=[t]),!(e=(i._gsap||{}).harness)){for(r=Rt.length;r--&&!Rt[r].targetTest(i););e=Rt[r]}for(r=t.length;r--;)t[r]&&(t[r]._gsap||(t[r]._gsap=new lr(t[r],e)))||t.splice(r,1);return t},Lt=function(t){return t._gsap||It(Ce(t))[0]._gsap},Wt=function(t,e,r){return(r=t[e])&&et(r)?t[e]():it(r)&&t.getAttribute&&t.getAttribute(e)||r},zt=function(t,e){return(t=t.split(",")).forEach(e)||t},Ft=function(t){return Math.round(1e5*t)/1e5||0},Nt=function(t){return Math.round(1e7*t)/1e7||0},qt=function(t,e){var r=e.charAt(0),i=parseFloat(e.substr(2));return t=parseFloat(t),"+"===r?t+i:"-"===r?t-i:"*"===r?t*i:t/i},Yt=function(t,e){for(var r=e.length,i=0;t.indexOf(e[i])<0&&++io;)s=s._prev;return s?(e._next=s._next,s._next=e):(e._next=t[r],t[r]=e),e._next?e._next._prev=e:t[i]=e,e._prev=s,e.parent=e._dp=t,e},Jt=function(t,e,r,i){void 0===r&&(r="_first"),void 0===i&&(i="_last");var n=e._prev,o=e._next;n?n._next=o:t[r]===e&&(t[r]=o),o?o._prev=n:t[i]===e&&(t[i]=n),e._next=e._prev=e.parent=null},te=function(t,e){t.parent&&(!e||t.parent.autoRemoveChildren)&&t.parent.remove&&t.parent.remove(t),t._act=0},ee=function(t,e){if(t&&(!e||e._end>t._dur||e._start<0))for(var r=t;r;)r._dirty=1,r=r.parent;return t},re=function(t,e,r,i){return t._startAt&&(O?t._startAt.revert(Ct):t.vars.immediateRender&&!t.vars.autoRevert||t._startAt.render(e,!0,i))},ie=function t(e){return!e||e._ts&&t(e.parent)},ne=function(t){return t._repeat?oe(t._tTime,t=t.duration()+t._rDelay)*t:0},oe=function(t,e){var r=Math.floor(t/=e);return t&&r===t?r-1:r},se=function(t,e){return(t-e._start)*e._ts+(e._ts>=0?0:e._dirty?e.totalDuration():e._tDur)},ae=function(t){return t._end=Nt(t._start+(t._tDur/Math.abs(t._ts||t._rts||G)||0))},le=function(t,e){var r=t._dp;return r&&r.smoothChildTiming&&t._ts&&(t._start=Nt(r._time-(t._ts>0?e/t._ts:((t._dirty?t.totalDuration():t._tDur)-e)/-t._ts)),ae(t),r._dirty||ee(r,t)),t},ce=function(t,e){var r;if((e._time||e._initted&&!e._dur)&&(r=se(t.rawTime(),e),(!e._dur||xe(0,e.totalDuration(),r)-e._tTime>G)&&e.render(r,!0)),ee(t,e)._dp&&t._initted&&t._time>=t._dur&&t._ts){if(t._dur=0&&r.totalTime(r._tTime),r=r._dp;t._zTime=-1e-8}},ue=function(t,e,r,i){return e.parent&&te(e),e._start=Nt((rt(r)?r:r||t!==D?ve(t,r,e):t._time)+e._delay),e._end=Nt(e._start+(e.totalDuration()/Math.abs(e.timeScale())||0)),$t(t,e,"_first","_last",t._sort?"_start":0),ge(e)||(t._recent=e),i||ce(t,e),t._ts<0&&le(t,t._tTime),t},he=function(t,e){return(_t.ScrollTrigger||bt("scrollTrigger",e))&&_t.ScrollTrigger.create(e,t)},fe=function(t,e,r,i,n){return mr(t,e,n),t._initted?!r&&t._pt&&!O&&(t._dur&&!1!==t.vars.lazy||!t._dur&&t.vars.lazy)&&W!==Ke.frame?(Mt.push(t),t._lazy=[n,i],1):void 0:1},pe=function t(e){var r=e.parent;return r&&r._ts&&r._initted&&!r._lock&&(r.rawTime()<0||t(r))},ge=function(t){var e=t.data;return"isFromStart"===e||"isStart"===e},de=function(t,e,r,i){var n=t._repeat,o=Nt(e)||0,s=t._tTime/t._tDur;return s&&!i&&(t._time*=o/t._dur),t._dur=o,t._tDur=n?n<0?1e10:Nt(o*(n+1)+t._rDelay*n):o,s>0&&!i&&le(t,t._tTime=t._tDur*s),t.parent&&ae(t),r||ee(t.parent,t),t},me=function(t){return t instanceof ur?ee(t):de(t,t._dur)},_e={_start:0,endTime:Tt,totalDuration:Tt},ve=function t(e,r,i){var n,o,s,a=e.labels,l=e._recent||_e,c=e.duration()>=U?l.endTime(!1):e._dur;return tt(r)&&(isNaN(r)||r in a)?(o=r.charAt(0),s="%"===r.substr(-1),n=r.indexOf("="),"<"===o||">"===o?(n>=0&&(r=r.replace(/=/,"")),("<"===o?l._start:l.endTime(l._repeat>=0))+(parseFloat(r.substr(1))||0)*(s?(n<0?l:i).totalDuration()/100:1)):n<0?(r in a||(a[r]=c),a[r]):(o=parseFloat(r.charAt(n-1)+r.substr(n+1)),s&&i&&(o=o/100*(ct(i)?i[0]:i).totalDuration()),n>1?t(e,r.substr(0,n-1),i)+o:c+o)):null==r?c:+r},ye=function(t,e,r){var i,n,o=rt(e[1]),s=(o?2:1)+(t<2?0:1),a=e[s];if(o&&(a.duration=e[1]),a.parent=r,t){for(i=a,n=r;n&&!("immediateRender"in i);)i=n.vars.defaults||{},n=ot(n.vars.inherit)&&n.parent;a.immediateRender=ot(i.immediateRender),t<2?a.runBackwards=1:a.startAt=e[s-1]}return new xr(e[0],a,e[s+1])},be=function(t,e){return t||0===t?e(t):e},xe=function(t,e,r){return re?e:r},we=function(t,e){return tt(t)&&(e=mt.exec(t))?e[1]:""},Te=[].slice,ke=function(t,e){return t&&nt(t)&&"length"in t&&(!e&&!t.length||t.length-1 in t&&nt(t[0]))&&!t.nodeType&&t!==R},Ce=function(t,e,r){return P&&!e&&P.selector?P.selector(t):!tt(t)||r||!B&&Qe()?ct(t)?function(t,e,r){return void 0===r&&(r=[]),t.forEach((function(t){var i;return tt(t)&&!e||ke(t,1)?(i=r).push.apply(i,Ce(t)):r.push(t)}))||r}(t,r):ke(t)?Te.call(t,0):t?[t]:[]:Te.call((e||I).querySelectorAll(t),0)},Ee=function(t){return t=Ce(t)[0]||xt("Invalid scope")||{},function(e){var r=t.current||t.nativeElement||t;return Ce(e,r.querySelectorAll?r:r===t?xt("Invalid scope")||I.createElement("div"):t)}},Ae=function(t){return t.sort((function(){return.5-Math.random()}))},Me=function(t){if(et(t))return t;var e=nt(t)?t:{each:t},r=ir(e.ease),i=e.from||0,n=parseFloat(e.base)||0,o={},s=i>0&&i<1,a=isNaN(i)||s,l=e.axis,c=i,u=i;return tt(i)?c=u={center:.5,edges:.5,end:1}[i]||0:!s&&a&&(c=i[0],u=i[1]),function(t,s,h){var f,p,g,d,m,_,v,y,b,x=(h||e).length,w=o[x];if(!w){if(!(b="auto"===e.grid?0:(e.grid||[1,U])[1])){for(v=-U;v<(v=h[b++].getBoundingClientRect().left)&&bv&&(v=m),mx?x-1:l?"y"===l?x/b:b:Math.max(b,x/b))||0)*("edges"===i?-1:1),w.b=x<0?n-x:n,w.u=we(e.amount||e.each)||0,r=r&&x<0?er(r):r}return x=(w[t]-w.min)/w.max||0,Nt(w.b+(r?r(x):x)*w.v)+w.u}},Se=function(t){var e=Math.pow(10,((t+"").split(".")[1]||"").length);return function(r){var i=Nt(Math.round(parseFloat(r)/t)*t*e);return(i-i%1)/e+(rt(r)?0:we(r))}},Oe=function(t,e){var r,i,n=ct(t);return!n&&nt(t)&&(r=n=t.radius||U,t.values?(t=Ce(t.values),(i=!rt(t[0]))&&(r*=r)):t=Se(t.increment)),be(e,n?et(t)?function(e){return i=t(e),Math.abs(i-e)<=r?i:e}:function(e){for(var n,o,s=parseFloat(i?e.x:e),a=parseFloat(i?e.y:0),l=U,c=0,u=t.length;u--;)(n=i?(n=t[u].x-s)*n+(o=t[u].y-a)*o:Math.abs(t[u]-s))(n=Math.abs(n))&&(o=i,a=n);return o},Le=function(t,e,r){var i,n,o,s=t.vars,a=s[e],l=P,c=t._ctx;if(a)return i=s[e+"Params"],n=s.callbackScope||t,r&&Mt.length&&Xt(),c&&(P=c),o=i?a.apply(n,i):a.call(n),P=l,o},We=function(t){return te(t),t.scrollTrigger&&t.scrollTrigger.kill(!!O),t.progress()<1&&Le(t,"onInterrupt"),t},ze=[],Fe=function(t){if(st()&&t){var e=(t=!t.name&&t.default||t).name,r=et(t),i=e&&!r&&t.init?function(){this._props=[]}:t,n={init:Tt,render:Or,add:gr,kill:Dr,modifier:Pr,rawVars:0},o={targetTest:0,get:0,getSetter:Er,aliases:{},register:0};if(Qe(),t!==i){if(Ot[e])return;Gt(i,Gt(Qt(t,n),o)),jt(i.prototype,jt(n,Qt(t,o))),Ot[i.prop=e]=i,t.targetTest&&(Rt.push(i),At[e]=1),e=("css"===e?"CSS":e.charAt(0).toUpperCase()+e.substr(1))+"Plugin"}wt(e,i),t.register&&t.register(jr,i,Ir)}else t&&ze.push(t)},Ne=255,qe={aqua:[0,Ne,Ne],lime:[0,Ne,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,Ne],navy:[0,0,128],white:[Ne,Ne,Ne],olive:[128,128,0],yellow:[Ne,Ne,0],orange:[Ne,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[Ne,0,0],pink:[Ne,192,203],cyan:[0,Ne,Ne],transparent:[Ne,Ne,Ne,0]},Ye=function(t,e,r){return(6*(t+=t<0?1:t>1?-1:0)<1?e+(r-e)*t*6:t<.5?r:3*t<2?e+(r-e)*(2/3-t)*6:e)*Ne+.5|0},Xe=function(t,e,r){var i,n,o,s,a,l,c,u,h,f,p=t?rt(t)?[t>>16,t>>8&Ne,t&Ne]:0:qe.black;if(!p){if(","===t.substr(-1)&&(t=t.substr(0,t.length-1)),qe[t])p=qe[t];else if("#"===t.charAt(0)){if(t.length<6&&(i=t.charAt(1),n=t.charAt(2),o=t.charAt(3),t="#"+i+i+n+n+o+o+(5===t.length?t.charAt(4)+t.charAt(4):"")),9===t.length)return[(p=parseInt(t.substr(1,6),16))>>16,p>>8&Ne,p&Ne,parseInt(t.substr(7),16)/255];p=[(t=parseInt(t.substr(1),16))>>16,t>>8&Ne,t&Ne]}else if("hsl"===t.substr(0,3))if(p=f=t.match(ut),e){if(~t.indexOf("="))return p=t.match(ht),r&&p.length<4&&(p[3]=1),p}else s=+p[0]%360/360,a=+p[1]/100,i=2*(l=+p[2]/100)-(n=l<=.5?l*(a+1):l+a-l*a),p.length>3&&(p[3]*=1),p[0]=Ye(s+1/3,i,n),p[1]=Ye(s,i,n),p[2]=Ye(s-1/3,i,n);else p=t.match(ut)||qe.transparent;p=p.map(Number)}return e&&!f&&(i=p[0]/Ne,n=p[1]/Ne,o=p[2]/Ne,l=((c=Math.max(i,n,o))+(u=Math.min(i,n,o)))/2,c===u?s=a=0:(h=c-u,a=l>.5?h/(2-c-u):h/(c+u),s=c===i?(n-o)/h+(na&&(c+=y-l),((d=(_=(u+=y)-c)-f)>0||b)&&(v=++i.frame,n=_-1e3*i.time,i.time=_/=1e3,f+=d+(d>=h?4:h-d),m=1),b||(t=e(r)),m)for(o=0;o=e&&o--},_listeners:p}}(),Qe=function(){return!F&&Ke.wake()},Ze={},$e=/^[\d.\-M][\d.\-,\s]/,Je=/["']/g,tr=function(t){for(var e,r,i,n={},o=t.substr(1,t.length-3).split(":"),s=o[0],a=1,l=o.length;a1&&s.config?s.config.apply(null,~t.indexOf("{")?[tr(o[1])]:(e=t,r=e.indexOf("(")+1,i=e.indexOf(")"),n=e.indexOf("(",r),e.substring(r,~n&&n=1?r:1,o=(i||(e?.3:.45))/(r<1?r:1),s=o/j*(Math.asin(1/n)||0),a=function(t){return 1===t?1:n*Math.pow(2,-10*t)*J((t-s)*o)+1},l="out"===e?a:"in"===e?function(t){return 1-a(1-t)}:or(a);return o=j/o,l.config=function(r,i){return t(e,r,i)},l},ar=function t(e,r){void 0===r&&(r=1.70158);var i=function(t){return t?--t*t*((r+1)*t+r)+1:0},n="out"===e?i:"in"===e?function(t){return 1-i(1-t)}:or(i);return n.config=function(r){return t(e,r)},n};zt("Linear,Quad,Cubic,Quart,Quint,Strong",(function(t,e){var r=e<5?e+1:e;nr(t+",Power"+(r-1),e?function(t){return Math.pow(t,r)}:function(t){return t},(function(t){return 1-Math.pow(1-t,r)}),(function(t){return t<.5?Math.pow(2*t,r)/2:1-Math.pow(2*(1-t),r)/2}))})),Ze.Linear.easeNone=Ze.none=Ze.Linear.easeIn,nr("Elastic",sr("in"),sr("out"),sr()),N=7.5625,Y=1/(q=2.75),nr("Bounce",(function(t){return 1-X(1-t)}),X=function(t){return t0?t+(t+this._rDelay)*this._repeat:t):this.totalDuration()&&this._dur},e.totalDuration=function(t){return arguments.length?(this._dirty=0,de(this,this._repeat<0?t:(t-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},e.totalTime=function(t,e){if(Qe(),!arguments.length)return this._tTime;var r=this._dp;if(r&&r.smoothChildTiming&&this._ts){for(le(this,t),!r._dp||r.parent||ce(r,this);r&&r.parent;)r.parent._time!==r._start+(r._ts>=0?r._tTime/r._ts:(r.totalDuration()-r._tTime)/-r._ts)&&r.totalTime(r._tTime,!0),r=r.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&t0||!this._tDur&&!t)&&ue(this._dp,this,this._start-this._delay)}return(this._tTime!==t||!this._dur&&!e||this._initted&&Math.abs(this._zTime)===G||!t&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=t),Vt(this,t,e)),this},e.time=function(t,e){return arguments.length?this.totalTime(Math.min(this.totalDuration(),t+ne(this))%(this._dur+this._rDelay)||(t?this._dur:0),e):this._time},e.totalProgress=function(t,e){return arguments.length?this.totalTime(this.totalDuration()*t,e):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.ratio},e.progress=function(t,e){return arguments.length?this.totalTime(this.duration()*(!this._yoyo||1&this.iteration()?t:1-t)+ne(this),e):this.duration()?Math.min(1,this._time/this._dur):this.ratio},e.iteration=function(t,e){var r=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(t-1)*r,e):this._repeat?oe(this._tTime,r)+1:1},e.timeScale=function(t){if(!arguments.length)return-1e-8===this._rts?0:this._rts;if(this._rts===t)return this;var e=this.parent&&this._ts?se(this.parent._time,this):this._tTime;return this._rts=+t||0,this._ts=this._ps||-1e-8===t?0:this._rts,this.totalTime(xe(-Math.abs(this._delay),this._tDur,e),!0),ae(this),function(t){for(var e=t.parent;e&&e.parent;)e._dirty=1,e.totalDuration(),e=e.parent;return t}(this)},e.paused=function(t){return arguments.length?(this._ps!==t&&(this._ps=t,t?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(Qe(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,1===this.progress()&&Math.abs(this._zTime)!==G&&(this._tTime-=G)))),this):this._ps},e.startTime=function(t){if(arguments.length){this._start=t;var e=this.parent||this._dp;return e&&(e._sort||!this.parent)&&ue(e,this,t-this._delay),this}return this._start},e.endTime=function(t){return this._start+(ot(t)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},e.rawTime=function(t){var e=this.parent||this._dp;return e?t&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?se(e.rawTime(t),this):this._tTime:this._tTime},e.revert=function(t){void 0===t&&(t=Et);var e=O;return O=t,(this._initted||this._startAt)&&(this.timeline&&this.timeline.revert(t),this.totalTime(-.01,t.suppressEvents)),"nested"!==this.data&&!1!==t.kill&&this.kill(),O=e,this},e.globalTime=function(t){for(var e=this,r=arguments.length?t:e.rawTime();e;)r=e._start+r/(e._ts||1),e=e._dp;return!this.parent&&this._sat?this._sat.vars.immediateRender?-1:this._sat.globalTime(t):r},e.repeat=function(t){return arguments.length?(this._repeat=t===1/0?-2:t,me(this)):-2===this._repeat?1/0:this._repeat},e.repeatDelay=function(t){if(arguments.length){var e=this._time;return this._rDelay=t,me(this),e?this.time(e):this}return this._rDelay},e.yoyo=function(t){return arguments.length?(this._yoyo=t,this):this._yoyo},e.seek=function(t,e){return this.totalTime(ve(this,t),ot(e))},e.restart=function(t,e){return this.play().totalTime(t?-this._delay:0,ot(e))},e.play=function(t,e){return null!=t&&this.seek(t,e),this.reversed(!1).paused(!1)},e.reverse=function(t,e){return null!=t&&this.seek(t||this.totalDuration(),e),this.reversed(!0).paused(!1)},e.pause=function(t,e){return null!=t&&this.seek(t,e),this.paused(!0)},e.resume=function(){return this.paused(!1)},e.reversed=function(t){return arguments.length?(!!t!==this.reversed()&&this.timeScale(-this._rts||(t?-1e-8:0)),this):this._rts<0},e.invalidate=function(){return this._initted=this._act=0,this._zTime=-1e-8,this},e.isActive=function(){var t,e=this.parent||this._dp,r=this._start;return!(e&&!(this._ts&&this._initted&&e.isActive()&&(t=e.rawTime(!0))>=r&&t1?(e?(i[t]=e,r&&(i[t+"Params"]=r),"onUpdate"===t&&(this._onUpdate=e)):delete i[t],this):i[t]},e.then=function(t){var e=this;return new Promise((function(r){var i=et(t)?t:Ut,n=function(){var t=e.then;e.then=null,et(i)&&(i=i(e))&&(i.then||i===e)&&(e.then=t),r(i),e.then=t};e._initted&&1===e.totalProgress()&&e._ts>=0||!e._tTime&&e._ts<0?n():e._prom=n}))},e.kill=function(){We(this)},t}();Gt(cr.prototype,{_time:0,_start:0,_end:0,_tTime:0,_tDur:0,_dirty:0,_repeat:0,_yoyo:!1,parent:null,_initted:!1,_rDelay:0,_ts:1,_dp:0,ratio:0,_zTime:-1e-8,_prom:0,_ps:!1,_rts:1});var ur=function(t){function e(e,r){var i;return void 0===e&&(e={}),(i=t.call(this,e)||this).labels={},i.smoothChildTiming=!!e.smoothChildTiming,i.autoRemoveChildren=!!e.autoRemoveChildren,i._sort=ot(e.sortChildren),D&&ue(e.parent||D,A(i),r),e.reversed&&i.reverse(),e.paused&&i.paused(!0),e.scrollTrigger&&he(A(i),e.scrollTrigger),i}M(e,t);var r=e.prototype;return r.to=function(t,e,r){return ye(0,arguments,this),this},r.from=function(t,e,r){return ye(1,arguments,this),this},r.fromTo=function(t,e,r,i){return ye(2,arguments,this),this},r.set=function(t,e,r){return e.duration=0,e.parent=this,Zt(e).repeatDelay||(e.repeat=0),e.immediateRender=!!e.immediateRender,new xr(t,e,ve(this,r),1),this},r.call=function(t,e,r){return ue(this,xr.delayedCall(0,t,e),r)},r.staggerTo=function(t,e,r,i,n,o,s){return r.duration=e,r.stagger=r.stagger||i,r.onComplete=o,r.onCompleteParams=s,r.parent=this,new xr(t,r,ve(this,n)),this},r.staggerFrom=function(t,e,r,i,n,o,s){return r.runBackwards=1,Zt(r).immediateRender=ot(r.immediateRender),this.staggerTo(t,e,r,i,n,o,s)},r.staggerFromTo=function(t,e,r,i,n,o,s,a){return i.startAt=r,Zt(i).immediateRender=ot(i.immediateRender),this.staggerTo(t,e,i,n,o,s,a)},r.render=function(t,e,r){var i,n,o,s,a,l,c,u,h,f,p,g,d=this._time,m=this._dirty?this.totalDuration():this._tDur,_=this._dur,v=t<=0?0:Nt(t),y=this._zTime<0!=t<0&&(this._initted||!_);if(this!==D&&v>m&&t>=0&&(v=m),v!==this._tTime||r||y){if(d!==this._time&&_&&(v+=this._time-d,t+=this._time-d),i=v,h=this._start,l=!(u=this._ts),y&&(_||(d=this._zTime),(t||!e)&&(this._zTime=t)),this._repeat){if(p=this._yoyo,a=_+this._rDelay,this._repeat<-1&&t<0)return this.totalTime(100*a+t,e,r);if(i=Nt(v%a),v===m?(s=this._repeat,i=_):((s=~~(v/a))&&s===v/a&&(i=_,s--),i>_&&(i=_)),f=oe(this._tTime,a),!d&&this._tTime&&f!==s&&this._tTime-f*a-this._dur<=0&&(f=s),p&&1&s&&(i=_-i,g=1),s!==f&&!this._lock){var b=p&&1&f,x=b===(p&&1&s);if(se)for(i=t._first;i&&i._start<=r;){if("isPause"===i.data&&i._start>e)return i;i=i._next}else for(i=t._last;i&&i._start>=r;){if("isPause"===i.data&&i._start=d&&t>=0)for(n=this._first;n;){if(o=n._next,(n._act||i>=n._start)&&n._ts&&c!==n){if(n.parent!==this)return this.render(t,e,r);if(n.render(n._ts>0?(i-n._start)*n._ts:(n._dirty?n.totalDuration():n._tDur)+(i-n._start)*n._ts,e,r),i!==this._time||!this._ts&&!l){c=0,o&&(v+=this._zTime=-1e-8);break}}n=o}else{n=this._last;for(var w=t<0?t:i;n;){if(o=n._prev,(n._act||w<=n._end)&&n._ts&&c!==n){if(n.parent!==this)return this.render(t,e,r);if(n.render(n._ts>0?(w-n._start)*n._ts:(n._dirty?n.totalDuration():n._tDur)+(w-n._start)*n._ts,e,r||O&&(n._initted||n._startAt)),i!==this._time||!this._ts&&!l){c=0,o&&(v+=this._zTime=w?-1e-8:G);break}}n=o}}if(c&&!e&&(this.pause(),c.render(i>=d?0:-1e-8)._zTime=i>=d?1:-1,this._ts))return this._start=h,ae(this),this.render(t,e,r);this._onUpdate&&!e&&Le(this,"onUpdate",!0),(v===m&&this._tTime>=this.totalDuration()||!v&&d)&&(h!==this._start&&Math.abs(u)===Math.abs(this._ts)||this._lock||((t||!_)&&(v===m&&this._ts>0||!v&&this._ts<0)&&te(this,1),e||t<0&&!d||!v&&!d&&m||(Le(this,v===m&&t>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(v0)&&this._prom())))}return this},r.add=function(t,e){var r=this;if(rt(e)||(e=ve(this,e,t)),!(t instanceof cr)){if(ct(t))return t.forEach((function(t){return r.add(t,e)})),this;if(tt(t))return this.addLabel(t,e);if(!et(t))return this;t=xr.delayedCall(0,t)}return this!==t?ue(this,t,e):this},r.getChildren=function(t,e,r,i){void 0===t&&(t=!0),void 0===e&&(e=!0),void 0===r&&(r=!0),void 0===i&&(i=-U);for(var n=[],o=this._first;o;)o._start>=i&&(o instanceof xr?e&&n.push(o):(r&&n.push(o),t&&n.push.apply(n,o.getChildren(!0,e,r)))),o=o._next;return n},r.getById=function(t){for(var e=this.getChildren(1,1,1),r=e.length;r--;)if(e[r].vars.id===t)return e[r]},r.remove=function(t){return tt(t)?this.removeLabel(t):et(t)?this.killTweensOf(t):(Jt(this,t),t===this._recent&&(this._recent=this._last),ee(this))},r.totalTime=function(e,r){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=Nt(Ke.time-(this._ts>0?e/this._ts:(this.totalDuration()-e)/-this._ts))),t.prototype.totalTime.call(this,e,r),this._forcing=0,this):this._tTime},r.addLabel=function(t,e){return this.labels[t]=ve(this,e),this},r.removeLabel=function(t){return delete this.labels[t],this},r.addPause=function(t,e,r){var i=xr.delayedCall(0,e||Tt,r);return i.data="isPause",this._hasPause=1,ue(this,i,ve(this,t))},r.removePause=function(t){var e=this._first;for(t=ve(this,t);e;)e._start===t&&"isPause"===e.data&&te(e),e=e._next},r.killTweensOf=function(t,e,r){for(var i=this.getTweensOf(t,r),n=i.length;n--;)hr!==i[n]&&i[n].kill(t,e);return this},r.getTweensOf=function(t,e){for(var r,i=[],n=Ce(t),o=this._first,s=rt(e);o;)o instanceof xr?Yt(o._targets,n)&&(s?(!hr||o._initted&&o._ts)&&o.globalTime(0)<=e&&o.globalTime(o.totalDuration())>e:!e||o.isActive())&&i.push(o):(r=o.getTweensOf(n,e)).length&&i.push.apply(i,r),o=o._next;return i},r.tweenTo=function(t,e){e=e||{};var r,i=this,n=ve(i,t),o=e,s=o.startAt,a=o.onStart,l=o.onStartParams,c=o.immediateRender,u=xr.to(i,Gt({ease:e.ease||"none",lazy:!1,immediateRender:!1,time:n,overwrite:"auto",duration:e.duration||Math.abs((n-(s&&"time"in s?s.time:i._time))/i.timeScale())||G,onStart:function(){if(i.pause(),!r){var t=e.duration||Math.abs((n-(s&&"time"in s?s.time:i._time))/i.timeScale());u._dur!==t&&de(u,t,0,1).render(u._time,!0,!0),r=1}a&&a.apply(u,l||[])}},e));return c?u.render(0):u},r.tweenFromTo=function(t,e,r){return this.tweenTo(e,Gt({startAt:{time:ve(this,t)}},r))},r.recent=function(){return this._recent},r.nextLabel=function(t){return void 0===t&&(t=this._time),Ie(this,ve(this,t))},r.previousLabel=function(t){return void 0===t&&(t=this._time),Ie(this,ve(this,t),1)},r.currentLabel=function(t){return arguments.length?this.seek(t,!0):this.previousLabel(this._time+G)},r.shiftChildren=function(t,e,r){void 0===r&&(r=0);for(var i,n=this._first,o=this.labels;n;)n._start>=r&&(n._start+=t,n._end+=t),n=n._next;if(e)for(i in o)o[i]>=r&&(o[i]+=t);return ee(this)},r.invalidate=function(e){var r=this._first;for(this._lock=0;r;)r.invalidate(e),r=r._next;return t.prototype.invalidate.call(this,e)},r.clear=function(t){void 0===t&&(t=!0);for(var e,r=this._first;r;)e=r._next,this.remove(r),r=e;return this._dp&&(this._time=this._tTime=this._pTime=0),t&&(this.labels={}),ee(this)},r.totalDuration=function(t){var e,r,i,n=0,o=this,s=o._last,a=U;if(arguments.length)return o.timeScale((o._repeat<0?o.duration():o.totalDuration())/(o.reversed()?-t:t));if(o._dirty){for(i=o.parent;s;)e=s._prev,s._dirty&&s.totalDuration(),(r=s._start)>a&&o._sort&&s._ts&&!o._lock?(o._lock=1,ue(o,s,r-s._delay,1)._lock=0):a=r,r<0&&s._ts&&(n-=r,(!i&&!o._dp||i&&i.smoothChildTiming)&&(o._start+=r/o._ts,o._time-=r,o._tTime-=r),o.shiftChildren(-r,!1,-Infinity),a=0),s._end>n&&s._ts&&(n=s._end),s=e;de(o,o===D&&o._time>n?o._time:n,1,1),o._dirty=0}return o._tDur},e.updateRoot=function(t){if(D._ts&&(Vt(D,se(t,D)),W=Ke.frame),Ke.frame>=Dt){Dt+=V.autoSleep||120;var e=D._first;if((!e||!e._ts)&&V.autoSleep&&Ke._listeners.length<2){for(;e&&!e._ts;)e=e._next;e||Ke.sleep()}}},e}(cr);Gt(ur.prototype,{_lock:0,_hasPause:0,_forcing:0});var hr,fr,pr=function(t,e,r,i,n,o,s){var a,l,c,u,h,f,p,g,d=new Ir(this._pt,t,e,0,1,Sr,null,n),m=0,_=0;for(d.b=r,d.e=i,r+="",(p=~(i+="").indexOf("random("))&&(i=Re(i)),o&&(o(g=[r,i],t,e),r=g[0],i=g[1]),l=r.match(pt)||[];a=pt.exec(i);)u=a[0],h=i.substring(m,a.index),c?c=(c+1)%5:"rgba("===h.substr(-5)&&(c=1),u!==l[_++]&&(f=parseFloat(l[_-1])||0,d._pt={_next:d._pt,p:h||1===_?h:",",s:f,c:"="===u.charAt(1)?qt(f,u)-f:parseFloat(u)-f,m:c&&c<4?Math.round:0},m=pt.lastIndex);return d.c=m")})),s.duration();else{for(u in l={},b)"ease"===u||"easeEach"===u||_r(u,b[u],l,b.easeEach);for(u in l)for(E=l[u].sort((function(t,e){return t.t-e.t})),P=0,a=0;ap-G&&!d?p:tg&&(i=g)),(l=this._yoyo&&1&o)&&(h=this._yEase,i=g-i),a=oe(this._tTime,s),i===f&&!r&&this._initted)return this._tTime=m,this;o!==a&&(u&&this._yEase&&rr(u,l),!this.vars.repeatRefresh||l||this._lock||(this._lock=r=1,this.render(Nt(s*o),!0).invalidate()._lock=0))}if(!this._initted){if(fe(this,d?t:i,r,e,m))return this._tTime=0,this;if(f!==this._time)return this;if(g!==this._dur)return this.render(t,e,r)}if(this._tTime=m,this._time=i,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=c=(h||this._ease)(i/g),this._from&&(this.ratio=c=1-c),i&&!f&&!e&&!o&&(Le(this,"onStart"),this._tTime!==m))return this;for(n=this._pt;n;)n.r(c,n.d),n=n._next;u&&u.render(t<0?t:!i&&l?-1e-8:u._dur*u._ease(i/this._dur),e,r)||this._startAt&&(this._zTime=t),this._onUpdate&&!e&&(d&&re(this,t,0,r),Le(this,"onUpdate")),this._repeat&&o!==a&&this.vars.onRepeat&&!e&&this.parent&&Le(this,"onRepeat"),m!==this._tDur&&m||this._tTime!==m||(d&&!this._onUpdate&&re(this,t,0,!0),(t||!g)&&(m===this._tDur&&this._ts>0||!m&&this._ts<0)&&te(this,1),e||d&&!f||!(m||f||l)||(Le(this,m===p?"onComplete":"onReverseComplete",!0),this._prom&&!(m0)&&this._prom()))}}else!function(t,e,r,i){var n,o,s,a=t.ratio,l=e<0||!e&&(!t._start&&pe(t)&&(t._initted||!ge(t))||(t._ts<0||t._dp._ts<0)&&!ge(t))?0:1,c=t._rDelay,u=0;if(c&&t._repeat&&(u=xe(0,t._tDur,e),o=oe(u,c),t._yoyo&&1&o&&(l=1-l),o!==oe(t._tTime,c)&&(a=1-l,t.vars.repeatRefresh&&t._initted&&t.invalidate())),l!==a||O||i||t._zTime===G||!e&&t._zTime){if(!t._initted&&fe(t,e,i,r,u))return;for(s=t._zTime,t._zTime=e||(r?G:0),r||(r=e&&!s),t.ratio=l,t._from&&(l=1-l),t._time=0,t._tTime=u,n=t._pt;n;)n.r(l,n.d),n=n._next;e<0&&re(t,e,0,!0),t._onUpdate&&!r&&Le(t,"onUpdate"),u&&t._repeat&&!r&&t.parent&&Le(t,"onRepeat"),(e>=t._tDur||e<0)&&t.ratio===l&&(l&&te(t,1),r||O||(Le(t,l?"onComplete":"onReverseComplete",!0),t._prom&&t._prom()))}else t._zTime||(t._zTime=e)}(this,t,e,r);return this},r.targets=function(){return this._targets},r.invalidate=function(e){return(!e||!this.vars.runBackwards)&&(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(e),t.prototype.invalidate.call(this,e)},r.resetTo=function(t,e,r,i){F||Ke.wake(),this._ts||this.play();var n=Math.min(this._dur,(this._dp._time-this._start)*this._ts);return this._initted||mr(this,n),function(t,e,r,i,n,o,s){var a,l,c,u,h=(t._pt&&t._ptCache||(t._ptCache={}))[e];if(!h)for(h=t._ptCache[e]=[],c=t._ptLookup,u=t._targets.length;u--;){if((a=c[u][e])&&a.d&&a.d._pt)for(a=a.d._pt;a&&a.p!==e&&a.fp!==e;)a=a._next;if(!a)return fr=1,t.vars[e]="+=0",mr(t,s),fr=0,1;h.push(a)}for(u=h.length;u--;)(a=(l=h[u])._pt||l).s=!i&&0!==i||n?a.s+(i||0)+o*a.c:i,a.c=r-a.s,l.e&&(l.e=Ft(r)+we(l.e)),l.b&&(l.b=a.s+we(l.b))}(this,t,e,r,i,this._ease(n/this._dur),n)?this.resetTo(t,e,r,i):(le(this,0),this.parent||$t(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},r.kill=function(t,e){if(void 0===e&&(e="all"),!(t||e&&"all"!==e))return this._lazy=this._pt=0,this.parent?We(this):this;if(this.timeline){var r=this.timeline.totalDuration();return this.timeline.killTweensOf(t,e,hr&&!0!==hr.vars.overwrite)._first||We(this),this.parent&&r!==this.timeline.totalDuration()&&de(this,this._dur*this.timeline._tDur/r,0,1),this}var i,n,o,s,a,l,c,u=this._targets,h=t?Ce(t):u,f=this._ptLookup,p=this._pt;if((!e||"all"===e)&&function(t,e){for(var r=t.length,i=r===e.length;i&&r--&&t[r]===e[r];);return r<0}(u,h))return"all"===e&&(this._pt=0),We(this);for(i=this._op=this._op||[],"all"!==e&&(tt(e)&&(a={},zt(e,(function(t){return a[t]=1})),e=a),e=function(t,e){var r,i,n,o,s=t[0]?Lt(t[0]).harness:0,a=s&&s.aliases;if(!a)return e;for(i in r=jt({},e),a)if(i in r)for(n=(o=a[i].split(",")).length;n--;)r[o[n]]=r[i];return r}(u,e)),c=u.length;c--;)if(~h.indexOf(u[c]))for(a in n=f[c],"all"===e?(i[c]=e,s=n,o={}):(o=i[c]=i[c]||{},s=e),s)(l=n&&n[a])&&("kill"in l.d&&!0!==l.d.kill(a)||Jt(this,l,"_pt"),delete n[a]),"all"!==o&&(o[a]=1);return this._initted&&!this._pt&&p&&We(this),this},e.to=function(t,r){return new e(t,r,arguments[2])},e.from=function(t,e){return ye(1,arguments)},e.delayedCall=function(t,r,i,n){return new e(r,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:t,onComplete:r,onReverseComplete:r,onCompleteParams:i,onReverseCompleteParams:i,callbackScope:n})},e.fromTo=function(t,e,r){return ye(2,arguments)},e.set=function(t,r){return r.duration=0,r.repeatDelay||(r.repeat=0),new e(t,r)},e.killTweensOf=function(t,e,r){return D.killTweensOf(t,e,r)},e}(cr);Gt(xr.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0}),zt("staggerTo,staggerFrom,staggerFromTo",(function(t){xr[t]=function(){var e=new ur,r=Te.call(arguments,0);return r.splice("staggerFromTo"===t?5:4,0,0),e[t].apply(e,r)}}));var wr=function(t,e,r){return t[e]=r},Tr=function(t,e,r){return t[e](r)},kr=function(t,e,r,i){return t[e](i.fp,r)},Cr=function(t,e,r){return t.setAttribute(e,r)},Er=function(t,e){return et(t[e])?Tr:it(t[e])&&t.setAttribute?Cr:wr},Ar=function(t,e){return e.set(e.t,e.p,Math.round(1e6*(e.s+e.c*t))/1e6,e)},Mr=function(t,e){return e.set(e.t,e.p,!!(e.s+e.c*t),e)},Sr=function(t,e){var r=e._pt,i="";if(!t&&e.b)i=e.b;else if(1===t&&e.e)i=e.e;else{for(;r;)i=r.p+(r.m?r.m(r.s+r.c*t):Math.round(1e4*(r.s+r.c*t))/1e4)+i,r=r._next;i+=e.c}e.set(e.t,e.p,i,e)},Or=function(t,e){for(var r=e._pt;r;)r.r(t,r.d),r=r._next},Pr=function(t,e,r,i){for(var n,o=this._pt;o;)n=o._next,o.p===i&&o.modifier(t,e,r),o=n},Dr=function(t){for(var e,r,i=this._pt;i;)r=i._next,i.p===t&&!i.op||i.op===t?Jt(this,i,"_pt"):i.dep||(e=1),i=r;return!e},Rr=function(t,e,r,i){i.mSet(t,e,i.m.call(i.tween,r,i.mt),i)},Br=function(t){for(var e,r,i,n,o=t._pt;o;){for(e=o._next,r=i;r&&r.pr>o.pr;)r=r._next;(o._prev=r?r._prev:n)?o._prev._next=o:i=o,(o._next=r)?r._prev=o:n=o,o=e}t._pt=i},Ir=function(){function t(t,e,r,i,n,o,s,a,l){this.t=e,this.s=i,this.c=n,this.p=r,this.r=o||Ar,this.d=s||this,this.set=a||wr,this.pr=l||0,this._next=t,t&&(t._prev=this)}return t.prototype.modifier=function(t,e,r){this.mSet=this.mSet||this.set,this.set=Rr,this.m=t,this.mt=r,this.tween=e},t}();zt(Bt+"parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger",(function(t){return At[t]=1})),_t.TweenMax=_t.TweenLite=xr,_t.TimelineLite=_t.TimelineMax=ur,D=new ur({sortChildren:!1,defaults:H,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0}),V.stringFilter=je;var Lr=[],Wr={},zr=[],Fr=0,Nr=0,qr=function(t){return(Wr[t]||zr).map((function(t){return t()}))},Yr=function(){var t=Date.now(),e=[];t-Fr>2&&(qr("matchMediaInit"),Lr.forEach((function(t){var r,i,n,o,s=t.queries,a=t.conditions;for(i in s)(r=R.matchMedia(s[i]).matches)&&(n=1),r!==a[i]&&(a[i]=r,o=1);o&&(t.revert(),n&&e.push(t))})),qr("matchMediaRevert"),e.forEach((function(t){return t.onMatch(t)})),Fr=t,qr("matchMedia"))},Xr=function(){function t(t,e){this.selector=e&&Ee(e),this.data=[],this._r=[],this.isReverted=!1,this.id=Nr++,t&&this.add(t)}var e=t.prototype;return e.add=function(t,e,r){et(t)&&(r=e,e=t,t=et);var i=this,n=function(){var t,n=P,o=i.selector;return n&&n!==i&&n.data.push(i),r&&(i.selector=Ee(r)),P=i,t=e.apply(i,arguments),et(t)&&i._r.push(t),P=n,i.selector=o,i.isReverted=!1,t};return i.last=n,t===et?n(i):t?i[t]=n:n},e.ignore=function(t){var e=P;P=null,t(this),P=e},e.getTweens=function(){var e=[];return this.data.forEach((function(r){return r instanceof t?e.push.apply(e,r.getTweens()):r instanceof xr&&!(r.parent&&"nested"===r.parent.data)&&e.push(r)})),e},e.clear=function(){this._r.length=this.data.length=0},e.kill=function(t,e){var r=this;if(t){var i=this.getTweens();this.data.forEach((function(t){"isFlip"===t.data&&(t.revert(),t.getChildren(!0,!0,!1).forEach((function(t){return i.splice(i.indexOf(t),1)})))})),i.map((function(t){return{g:t.globalTime(0),t}})).sort((function(t,e){return e.g-t.g||-1})).forEach((function(e){return e.t.revert(t)})),this.data.forEach((function(e){return e instanceof ur?"nested"!==e.data&&e.kill():!(e instanceof xr)&&e.revert&&e.revert(t)})),this._r.forEach((function(e){return e(t,r)})),this.isReverted=!0}else this.data.forEach((function(t){return t.kill&&t.kill()}));if(this.clear(),e)for(var n=Lr.length;n--;)Lr[n].id===this.id&&Lr.splice(n,1)},e.revert=function(t){this.kill(t||{})},t}(),Vr=function(){function t(t){this.contexts=[],this.scope=t}var e=t.prototype;return e.add=function(t,e,r){nt(t)||(t={matches:t});var i,n,o,s=new Xr(0,r||this.scope),a=s.conditions={};for(n in P&&!s.selector&&(s.selector=P.selector),this.contexts.push(s),e=s.add("onMatch",e),s.queries=t,t)"all"===n?o=1:(i=R.matchMedia(t[n]))&&(Lr.indexOf(s)<0&&Lr.push(s),(a[n]=i.matches)&&(o=1),i.addListener?i.addListener(Yr):i.addEventListener("change",Yr));return o&&e(s),this},e.revert=function(t){this.kill(t||{})},e.kill=function(t){this.contexts.forEach((function(e){return e.kill(t,!0)}))},t}(),Hr={registerPlugin:function(){for(var t=arguments.length,e=new Array(t),r=0;r1){var i=t.map((function(t){return jr.quickSetter(t,e,r)})),n=i.length;return function(t){for(var e=n;e--;)i[e](t)}}t=t[0]||{};var o=Ot[e],s=Lt(t),a=s.harness&&(s.harness.aliases||{})[e]||e,l=o?function(e){var i=new o;z._pt=0,i.init(t,r?e+r:e,z,0,[t]),i.render(1,i),z._pt&&Or(1,z)}:s.set(t,a);return o?l:function(e){return l(t,a,r?e+r:e,s,1)}},quickTo:function(t,e,r){var i,n=jr.to(t,jt(((i={})[e]="+=0.1",i.paused=!0,i),r||{})),o=function(t,r,i){return n.resetTo(e,t,r,i)};return o.tween=n,o},isTweening:function(t){return D.getTweensOf(t,!0).length>0},defaults:function(t){return t&&t.ease&&(t.ease=ir(t.ease,H.ease)),Kt(H,t||{})},config:function(t){return Kt(V,t||{})},registerEffect:function(t){var e=t.name,r=t.effect,i=t.plugins,n=t.defaults,o=t.extendTimeline;(i||"").split(",").forEach((function(t){return t&&!Ot[t]&&!_t[t]&&xt(e+" effect requires "+t+" plugin.")})),Pt[e]=function(t,e,i){return r(Ce(t),Gt(e||{},n),i)},o&&(ur.prototype[e]=function(t,r,i){return this.add(Pt[e](t,nt(r)?r:(i=r)&&{},this),i)})},registerEase:function(t,e){Ze[t]=ir(e)},parseEase:function(t,e){return arguments.length?ir(t,e):Ze},getById:function(t){return D.getById(t)},exportRoot:function(t,e){void 0===t&&(t={});var r,i,n=new ur(t);for(n.smoothChildTiming=ot(t.smoothChildTiming),D.remove(n),n._dp=0,n._time=n._tTime=D._time,r=D._first;r;)i=r._next,!e&&!r._dur&&r instanceof xr&&r.vars.onComplete===r._targets[0]||ue(n,r,r._start-r._delay),r=i;return ue(D,n,0),n},context:function(t,e){return t?new Xr(t,e):P},matchMedia:function(t){return new Vr(t)},matchMediaRefresh:function(){return Lr.forEach((function(t){var e,r,i=t.conditions;for(r in i)i[r]&&(i[r]=!1,e=1);e&&t.revert()}))||Yr()},addEventListener:function(t,e){var r=Wr[t]||(Wr[t]=[]);~r.indexOf(e)||r.push(e)},removeEventListener:function(t,e){var r=Wr[t],i=r&&r.indexOf(e);i>=0&&r.splice(i,1)},utils:{wrap:function t(e,r,i){var n=r-e;return ct(e)?De(e,t(0,e.length),r):be(i,(function(t){return(n+(t-e)%n)%n+e}))},wrapYoyo:function t(e,r,i){var n=r-e,o=2*n;return ct(e)?De(e,t(0,e.length-1),r):be(i,(function(t){return e+((t=(o+(t-e)%o)%o||0)>n?o-t:t)}))},distribute:Me,random:Pe,snap:Oe,normalize:function(t,e,r){return Be(t,e,0,1,r)},getUnit:we,clamp:function(t,e,r){return be(r,(function(r){return xe(t,e,r)}))},splitColor:Xe,toArray:Ce,selector:Ee,mapRange:Be,pipe:function(){for(var t=arguments.length,e=new Array(t),r=0;r=0)return;n._gsap.svg&&(this.svgo=n.getAttribute("data-svg-origin"),this.props.push(ki,r,"")),e=Ti}(o||r)&&this.props.push(e,r,o[e])},Ei=function(t){t.translate&&(t.removeProperty("translate"),t.removeProperty("scale"),t.removeProperty("rotate"))},Ai=function(){var t,e,r=this.props,i=this.target,n=i.style,o=i._gsap;for(t=0;t=0?Pi[n]:"")+t},Ri=function(){"undefined"!=typeof window&&window.document&&(Kr=window,Qr=Kr.document,Zr=Qr.documentElement,Jr=Si("div")||{style:{}},Si("div"),Ti=Di(Ti),ki=Ti+"Origin",Jr.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",ri=!!Di("perspective"),ei=jr.core.reverting,$r=1)},Bi=function t(e){var r,i=Si("svg",this.ownerSVGElement&&this.ownerSVGElement.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),n=this.parentNode,o=this.nextSibling,s=this.style.cssText;if(Zr.appendChild(i),i.appendChild(this),this.style.display="block",e)try{r=this.getBBox(),this._gsapBBox=this.getBBox,this.getBBox=t}catch(t){}else this._gsapBBox&&(r=this._gsapBBox());return n&&(o?n.insertBefore(this,o):n.appendChild(this)),Zr.removeChild(i),this.style.cssText=s,r},Ii=function(t,e){for(var r=e.length;r--;)if(t.hasAttribute(e[r]))return t.getAttribute(e[r])},Li=function(t){var e;try{e=t.getBBox()}catch(r){e=Bi.call(t,!0)}return e&&(e.width||e.height)||t.getBBox===Bi||(e=Bi.call(t,!0)),!e||e.width||e.x||e.y?e:{x:+Ii(t,["x","cx","x1"])||0,y:+Ii(t,["y","cy","y1"])||0,width:0,height:0}},Wi=function(t){return!(!t.getCTM||t.parentNode&&!t.ownerSVGElement||!Li(t))},zi=function(t,e){if(e){var r=t.style;e in ii&&e!==ki&&(e=Ti),r.removeProperty?("ms"!==e.substr(0,2)&&"webkit"!==e.substr(0,6)||(e="-"+e),r.removeProperty(e.replace(ai,"-$1").toLowerCase())):r.removeAttribute(e)}},Fi=function(t,e,r,i,n,o){var s=new Ir(t._pt,e,r,0,1,o?mi:di);return t._pt=s,s.b=i,s.e=n,t._props.push(r),s},Ni={deg:1,rad:1,turn:1},qi={grid:1,flex:1},Yi=function t(e,r,i,n){var o,s,a,l,c=parseFloat(i)||0,u=(i+"").trim().substr((c+"").length)||"px",h=Jr.style,f=li.test(r),p="svg"===e.tagName.toLowerCase(),g=(p?"client":"offset")+(f?"Width":"Height"),d=100,m="px"===n,_="%"===n;return n===u||!c||Ni[n]||Ni[u]?c:("px"!==u&&!m&&(c=t(e,r,i,"px")),l=e.getCTM&&Wi(e),!_&&"%"!==u||!ii[r]&&!~r.indexOf("adius")?(h[f?"width":"height"]=d+(m?u:n),s=~r.indexOf("adius")||"em"===n&&e.appendChild&&!p?e:e.parentNode,l&&(s=(e.ownerSVGElement||{}).parentNode),s&&s!==Qr&&s.appendChild||(s=Qr.body),(a=s._gsap)&&_&&a.width&&f&&a.time===Ke.time&&!a.uncache?Ft(c/a.width*d):((_||"%"===u)&&!qi[Oi(s,"display")]&&(h.position=Oi(e,"position")),s===e&&(h.position="static"),s.appendChild(Jr),o=Jr[g],s.removeChild(Jr),h.position="absolute",f&&_&&((a=Lt(s)).time=Ke.time,a.width=s[g]),Ft(m?o*c/d:o&&c?d/o*c:0))):(o=l?e.getBBox()[f?"width":"height"]:e[g],Ft(_?c/o*d:c/100*o)))},Xi=function(t,e,r,i){var n;return $r||Ri(),e in ui&&"transform"!==e&&~(e=ui[e]).indexOf(",")&&(e=e.split(",")[0]),ii[e]&&"transform"!==e?(n=tn(t,i),n="transformOrigin"!==e?n[e]:n.svg?n.origin:en(Oi(t,ki))+" "+n.zOrigin+"px"):(!(n=t.style[e])||"auto"===n||i||~(n+"").indexOf("calc("))&&(n=Gi[e]&&Gi[e](t,e,r)||Oi(t,e)||Wt(t,e)||("opacity"===e?1:0)),r&&!~(n+"").trim().indexOf(" ")?Yi(t,e,n,r)+r:n},Vi=function(t,e,r,i){if(!r||"none"===r){var n=Di(e,t,1),o=n&&Oi(t,n,1);o&&o!==r?(e=n,r=o):"borderColor"===e&&(r=Oi(t,"borderTopColor"))}var s,a,l,c,u,h,f,p,g,d,m,_=new Ir(this._pt,t.style,e,0,1,Sr),v=0,y=0;if(_.b=r,_.e=i,r+="","auto"==(i+="")&&(t.style[e]=i,i=Oi(t,e)||i,t.style[e]=r),je(s=[r,i]),i=s[1],l=(r=s[0]).match(ft)||[],(i.match(ft)||[]).length){for(;a=ft.exec(i);)f=a[0],g=i.substring(v,a.index),u?u=(u+1)%5:"rgba("!==g.substr(-5)&&"hsla("!==g.substr(-5)||(u=1),f!==(h=l[y++]||"")&&(c=parseFloat(h)||0,m=h.substr((c+"").length),"="===f.charAt(1)&&(f=qt(c,f)+m),p=parseFloat(f),d=f.substr((p+"").length),v=ft.lastIndex-d.length,d||(d=d||V.units[e]||m,v===i.length&&(i+=d,_.e+=d)),m!==d&&(c=Yi(t,e,h,d)||0),_._pt={_next:_._pt,p:g||1===y?g:",",s:c,c:p-c,m:u&&u<4||"zIndex"===e?Math.round:0});_.c=v-1;)r=a[n],ii[r]&&(i=1,r="transformOrigin"===r?ki:Ti),zi(o,r);i&&(zi(o,Ti),l&&(l.svg&&o.removeAttribute("transform"),tn(o,1),l.uncache=1,Ei(s)))}},Gi={clearProps:function(t,e,r,i,n){if("isFromStart"!==n.data){var o=t._pt=new Ir(t._pt,e,r,0,0,Ui);return o.u=i,o.pr=-10,o.tween=n,t._props.push(r),1}}},ji=[1,0,0,1,0,0],Ki={},Qi=function(t){return"matrix(1, 0, 0, 1, 0, 0)"===t||"none"===t||!t},Zi=function(t){var e=Oi(t,Ti);return Qi(e)?ji:e.substr(7).match(ht).map(Ft)},$i=function(t,e){var r,i,n,o,s=t._gsap||Lt(t),a=t.style,l=Zi(t);return s.svg&&t.getAttribute("transform")?"1,0,0,1,0,0"===(l=[(n=t.transform.baseVal.consolidate().matrix).a,n.b,n.c,n.d,n.e,n.f]).join(",")?ji:l:(l!==ji||t.offsetParent||t===Zr||s.svg||(n=a.display,a.display="block",(r=t.parentNode)&&t.offsetParent||(o=1,i=t.nextElementSibling,Zr.appendChild(t)),l=Zi(t),n?a.display=n:zi(t,"display"),o&&(i?r.insertBefore(t,i):r?r.appendChild(t):Zr.removeChild(t))),e&&l.length>6?[l[0],l[1],l[4],l[5],l[12],l[13]]:l)},Ji=function(t,e,r,i,n,o){var s,a,l,c=t._gsap,u=n||$i(t,!0),h=c.xOrigin||0,f=c.yOrigin||0,p=c.xOffset||0,g=c.yOffset||0,d=u[0],m=u[1],_=u[2],v=u[3],y=u[4],b=u[5],x=e.split(" "),w=parseFloat(x[0])||0,T=parseFloat(x[1])||0;r?u!==ji&&(a=d*v-m*_)&&(l=w*(-m/a)+T*(d/a)-(d*b-m*y)/a,w=w*(v/a)+T*(-_/a)+(_*b-v*y)/a,T=l):(w=(s=Li(t)).x+(~x[0].indexOf("%")?w/100*s.width:w),T=s.y+(~(x[1]||x[0]).indexOf("%")?T/100*s.height:T)),i||!1!==i&&c.smooth?(y=w-h,b=T-f,c.xOffset=p+(y*d+b*_)-y,c.yOffset=g+(y*m+b*v)-b):c.xOffset=c.yOffset=0,c.xOrigin=w,c.yOrigin=T,c.smooth=!!i,c.origin=e,c.originIsAbsolute=!!r,t.style[ki]="0px 0px",o&&(Fi(o,c,"xOrigin",h,w),Fi(o,c,"yOrigin",f,T),Fi(o,c,"xOffset",p,c.xOffset),Fi(o,c,"yOffset",g,c.yOffset)),t.setAttribute("data-svg-origin",w+" "+T)},tn=function(t,e){var r=t._gsap||new lr(t);if("x"in r&&!e&&!r.uncache)return r;var i,n,o,s,a,l,c,u,h,f,p,g,d,m,_,v,y,b,x,w,T,k,C,E,A,M,S,O,P,D,R,B,I=t.style,L=r.scaleX<0,W="px",z="deg",F=getComputedStyle(t),N=Oi(t,ki)||"0";return i=n=o=l=c=u=h=f=p=0,s=a=1,r.svg=!(!t.getCTM||!Wi(t)),F.translate&&("none"===F.translate&&"none"===F.scale&&"none"===F.rotate||(I[Ti]=("none"!==F.translate?"translate3d("+(F.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+("none"!==F.rotate?"rotate("+F.rotate+") ":"")+("none"!==F.scale?"scale("+F.scale.split(" ").join(",")+") ":"")+("none"!==F[Ti]?F[Ti]:"")),I.scale=I.rotate=I.translate="none"),m=$i(t,r.svg),r.svg&&(r.uncache?(A=t.getBBox(),N=r.xOrigin-A.x+"px "+(r.yOrigin-A.y)+"px",E=""):E=!e&&t.getAttribute("data-svg-origin"),Ji(t,E||N,!!E||r.originIsAbsolute,!1!==r.smooth,m)),g=r.xOrigin||0,d=r.yOrigin||0,m!==ji&&(b=m[0],x=m[1],w=m[2],T=m[3],i=k=m[4],n=C=m[5],6===m.length?(s=Math.sqrt(b*b+x*x),a=Math.sqrt(T*T+w*w),l=b||x?si(x,b)*ni:0,(h=w||T?si(w,T)*ni+l:0)&&(a*=Math.abs(Math.cos(h*oi))),r.svg&&(i-=g-(g*b+d*w),n-=d-(g*x+d*T))):(B=m[6],D=m[7],S=m[8],O=m[9],P=m[10],R=m[11],i=m[12],n=m[13],o=m[14],c=(_=si(B,P))*ni,_&&(E=k*(v=Math.cos(-_))+S*(y=Math.sin(-_)),A=C*v+O*y,M=B*v+P*y,S=k*-y+S*v,O=C*-y+O*v,P=B*-y+P*v,R=D*-y+R*v,k=E,C=A,B=M),u=(_=si(-w,P))*ni,_&&(v=Math.cos(-_),R=T*(y=Math.sin(-_))+R*v,b=E=b*v-S*y,x=A=x*v-O*y,w=M=w*v-P*y),l=(_=si(x,b))*ni,_&&(E=b*(v=Math.cos(_))+x*(y=Math.sin(_)),A=k*v+C*y,x=x*v-b*y,C=C*v-k*y,b=E,k=A),c&&Math.abs(c)+Math.abs(l)>359.9&&(c=l=0,u=180-u),s=Ft(Math.sqrt(b*b+x*x+w*w)),a=Ft(Math.sqrt(C*C+B*B)),_=si(k,C),h=Math.abs(_)>2e-4?_*ni:0,p=R?1/(R<0?-R:R):0),r.svg&&(E=t.getAttribute("transform"),r.forceCSS=t.setAttribute("transform","")||!Qi(Oi(t,Ti)),E&&t.setAttribute("transform",E))),Math.abs(h)>90&&Math.abs(h)<270&&(L?(s*=-1,h+=l<=0?180:-180,l+=l<=0?180:-180):(a*=-1,h+=h<=0?180:-180)),e=e||r.uncache,r.x=i-((r.xPercent=i&&(!e&&r.xPercent||(Math.round(t.offsetWidth/2)===Math.round(-i)?-50:0)))?t.offsetWidth*r.xPercent/100:0)+W,r.y=n-((r.yPercent=n&&(!e&&r.yPercent||(Math.round(t.offsetHeight/2)===Math.round(-n)?-50:0)))?t.offsetHeight*r.yPercent/100:0)+W,r.z=o+W,r.scaleX=Ft(s),r.scaleY=Ft(a),r.rotation=Ft(l)+z,r.rotationX=Ft(c)+z,r.rotationY=Ft(u)+z,r.skewX=h+z,r.skewY=f+z,r.transformPerspective=p+W,(r.zOrigin=parseFloat(N.split(" ")[2])||0)&&(I[ki]=en(N)),r.xOffset=r.yOffset=0,r.force3D=V.force3D,r.renderTransform=r.svg?cn:ri?ln:nn,r.uncache=0,r},en=function(t){return(t=t.split(" "))[0]+" "+t[1]},rn=function(t,e,r){var i=we(e);return Ft(parseFloat(e)+parseFloat(Yi(t,"x",r+"px",i)))+i},nn=function(t,e){e.z="0px",e.rotationY=e.rotationX="0deg",e.force3D=0,ln(t,e)},on="0deg",sn="0px",an=") ",ln=function(t,e){var r=e||this,i=r.xPercent,n=r.yPercent,o=r.x,s=r.y,a=r.z,l=r.rotation,c=r.rotationY,u=r.rotationX,h=r.skewX,f=r.skewY,p=r.scaleX,g=r.scaleY,d=r.transformPerspective,m=r.force3D,_=r.target,v=r.zOrigin,y="",b="auto"===m&&t&&1!==t||!0===m;if(v&&(u!==on||c!==on)){var x,w=parseFloat(c)*oi,T=Math.sin(w),k=Math.cos(w);w=parseFloat(u)*oi,x=Math.cos(w),o=rn(_,o,T*x*-v),s=rn(_,s,-Math.sin(w)*-v),a=rn(_,a,k*x*-v+v)}d!==sn&&(y+="perspective("+d+an),(i||n)&&(y+="translate("+i+"%, "+n+"%) "),(b||o!==sn||s!==sn||a!==sn)&&(y+=a!==sn||b?"translate3d("+o+", "+s+", "+a+") ":"translate("+o+", "+s+an),l!==on&&(y+="rotate("+l+an),c!==on&&(y+="rotateY("+c+an),u!==on&&(y+="rotateX("+u+an),h===on&&f===on||(y+="skew("+h+", "+f+an),1===p&&1===g||(y+="scale("+p+", "+g+an),_.style[Ti]=y||"translate(0, 0)"},cn=function(t,e){var r,i,n,o,s,a=e||this,l=a.xPercent,c=a.yPercent,u=a.x,h=a.y,f=a.rotation,p=a.skewX,g=a.skewY,d=a.scaleX,m=a.scaleY,_=a.target,v=a.xOrigin,y=a.yOrigin,b=a.xOffset,x=a.yOffset,w=a.forceCSS,T=parseFloat(u),k=parseFloat(h);f=parseFloat(f),p=parseFloat(p),(g=parseFloat(g))&&(p+=g=parseFloat(g),f+=g),f||p?(f*=oi,p*=oi,r=Math.cos(f)*d,i=Math.sin(f)*d,n=Math.sin(f-p)*-m,o=Math.cos(f-p)*m,p&&(g*=oi,s=Math.tan(p-g),n*=s=Math.sqrt(1+s*s),o*=s,g&&(s=Math.tan(g),r*=s=Math.sqrt(1+s*s),i*=s)),r=Ft(r),i=Ft(i),n=Ft(n),o=Ft(o)):(r=d,o=m,i=n=0),(T&&!~(u+"").indexOf("px")||k&&!~(h+"").indexOf("px"))&&(T=Yi(_,"x",u,"px"),k=Yi(_,"y",h,"px")),(v||y||b||x)&&(T=Ft(T+v-(v*r+y*n)+b),k=Ft(k+y-(v*i+y*o)+x)),(l||c)&&(s=_.getBBox(),T=Ft(T+l/100*s.width),k=Ft(k+c/100*s.height)),s="matrix("+r+","+i+","+n+","+o+","+T+","+k+")",_.setAttribute("transform",s),w&&(_.style[Ti]=s)},un=function(t,e,r,i,n){var o,s,a=360,l=tt(n),c=parseFloat(n)*(l&&~n.indexOf("rad")?ni:1)-i,u=i+c+"deg";return l&&("short"===(o=n.split("_")[1])&&(c%=a)!=c%180&&(c+=c<0?a:-360),"cw"===o&&c<0?c=(c+36e9)%a-~~(c/a)*a:"ccw"===o&&c>0&&(c=(c-36e9)%a-~~(c/a)*a)),t._pt=s=new Ir(t._pt,e,r,i,c,fi),s.e=u,s.u="deg",t._props.push(r),s},hn=function(t,e){for(var r in e)t[r]=e[r];return t},fn=function(t,e,r){var i,n,o,s,a,l,c,u=hn({},r._gsap),h=r.style;for(n in u.svg?(o=r.getAttribute("transform"),r.setAttribute("transform",""),h[Ti]=e,i=tn(r,1),zi(r,Ti),r.setAttribute("transform",o)):(o=getComputedStyle(r)[Ti],h[Ti]=e,i=tn(r,1),h[Ti]=o),ii)(o=u[n])!==(s=i[n])&&"perspective,force3D,transformOrigin,svgOrigin".indexOf(n)<0&&(a=we(o)!==(c=we(s))?Yi(r,n,o,c):parseFloat(o),l=parseFloat(s),t._pt=new Ir(t._pt,i,n,a,l-a,hi),t._pt.u=c||0,t._props.push(n));hn(i,u)};zt("padding,margin,Width,Radius",(function(t,e){var r="Top",i="Right",n="Bottom",o="Left",s=(e<3?[r,i,n,o]:[r+o,r+i,n+i,n+o]).map((function(r){return e<2?t+r:"border"+r+t}));Gi[e>1?"border"+t:t]=function(t,e,r,i,n){var o,a;if(arguments.length<4)return o=s.map((function(e){return Xi(t,e,r)})),5===(a=o.join(" ")).split(o[0]).length?o[0]:a;o=(i+"").split(" "),a={},s.forEach((function(t,e){return a[t]=o[e]=o[e]||o[(e-1)/2|0]})),t.init(e,a,n)}}));var pn,gn,dn={name:"css",register:Ri,targetTest:function(t){return t.style&&t.nodeType},init:function(t,e,r,i,n){var o,s,a,l,c,u,h,f,p,g,d,m,_,v,y,b,x,w,T,k,C=this._props,E=t.style,A=r.vars.startAt;for(h in $r||Ri(),this.styles=this.styles||Mi(t),b=this.styles.props,this.tween=r,e)if("autoRound"!==h&&(s=e[h],!Ot[h]||!dr(h,e,r,i,t,n)))if(c=typeof s,u=Gi[h],"function"===c&&(c=typeof(s=s.call(r,i,t,n))),"string"===c&&~s.indexOf("random(")&&(s=Re(s)),u)u(this,t,h,s,r)&&(y=1);else if("--"===h.substr(0,2))o=(getComputedStyle(t).getPropertyValue(h)+"").trim(),s+="",Ue.lastIndex=0,Ue.test(o)||(f=we(o),p=we(s)),p?f!==p&&(o=Yi(t,h,o,p)+p):f&&(s+=f),this.add(E,"setProperty",o,s,i,n,0,0,h),C.push(h),b.push(h,0,E[h]);else if("undefined"!==c){if(A&&h in A?(o="function"==typeof A[h]?A[h].call(r,i,t,n):A[h],tt(o)&&~o.indexOf("random(")&&(o=Re(o)),we(o+"")||(o+=V.units[h]||we(Xi(t,h))||""),"="===(o+"").charAt(1)&&(o=Xi(t,h))):o=Xi(t,h),l=parseFloat(o),(g="string"===c&&"="===s.charAt(1)&&s.substr(0,2))&&(s=s.substr(2)),a=parseFloat(s),h in ui&&("autoAlpha"===h&&(1===l&&"hidden"===Xi(t,"visibility")&&a&&(l=0),b.push("visibility",0,E.visibility),Fi(this,E,"visibility",l?"inherit":"hidden",a?"inherit":"hidden",!a)),"scale"!==h&&"transform"!==h&&~(h=ui[h]).indexOf(",")&&(h=h.split(",")[0])),d=h in ii)if(this.styles.save(h),m||((_=t._gsap).renderTransform&&!e.parseTransform||tn(t,e.parseTransform),v=!1!==e.smoothOrigin&&_.smooth,(m=this._pt=new Ir(this._pt,E,Ti,0,1,_.renderTransform,_,0,-1)).dep=1),"scale"===h)this._pt=new Ir(this._pt,_,"scaleY",_.scaleY,(g?qt(_.scaleY,g+a):a)-_.scaleY||0,hi),this._pt.u=0,C.push("scaleY",h),h+="X";else{if("transformOrigin"===h){b.push(ki,0,E[ki]),w=void 0,T=void 0,k=void 0,T=(w=(x=s).split(" "))[0],k=w[1]||"50%","top"!==T&&"bottom"!==T&&"left"!==k&&"right"!==k||(x=T,T=k,k=x),w[0]=Hi[T]||T,w[1]=Hi[k]||k,s=w.join(" "),_.svg?Ji(t,s,0,v,0,this):((p=parseFloat(s.split(" ")[2])||0)!==_.zOrigin&&Fi(this,_,"zOrigin",_.zOrigin,p),Fi(this,E,h,en(o),en(s)));continue}if("svgOrigin"===h){Ji(t,s,1,v,0,this);continue}if(h in Ki){un(this,_,h,l,g?qt(l,g+s):s);continue}if("smoothOrigin"===h){Fi(this,_,"smooth",_.smooth,s);continue}if("force3D"===h){_[h]=s;continue}if("transform"===h){fn(this,s,t);continue}}else h in E||(h=Di(h)||h);if(d||(a||0===a)&&(l||0===l)&&!ci.test(s)&&h in E)a||(a=0),(f=(o+"").substr((l+"").length))!==(p=we(s)||(h in V.units?V.units[h]:f))&&(l=Yi(t,h,o,p)),this._pt=new Ir(this._pt,d?_:E,h,l,(g?qt(l,g+a):a)-l,d||"px"!==p&&"zIndex"!==h||!1===e.autoRound?hi:gi),this._pt.u=p||0,f!==p&&"%"!==p&&(this._pt.b=o,this._pt.r=pi);else if(h in E)Vi.call(this,t,h,o,g?g+s:s);else if(h in t)this.add(t,h,o||t[h],g?g+s:s,i,n);else if("parseTransform"!==h){bt(h,s);continue}d||(h in E?b.push(h,0,E[h]):b.push(h,1,o||t[h])),C.push(h)}y&&Br(this)},render:function(t,e){if(e.tween._time||!ei())for(var r=e._pt;r;)r.r(t,r.d),r=r._next;else e.styles.revert()},get:Xi,aliases:ui,getSetter:function(t,e,r){var i=ui[e];return i&&i.indexOf(",")<0&&(e=i),e in ii&&e!==ki&&(t._gsap.x||Xi(t,"x"))?r&&ti===r?"scale"===e?bi:yi:(ti=r||{})&&("scale"===e?xi:wi):t.style&&!it(t.style[e])?_i:~e.indexOf("-")?vi:Er(t,e)},core:{_removeProperty:zi,_getMatrix:$i}};jr.utils.checkPrefix=Di,jr.core.getStyleSaver=Mi,gn=zt("x,y,z,scale,scaleX,scaleY,xPercent,yPercent"+","+(pn="rotation,rotationX,rotationY,skewX,skewY")+",transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective",(function(t){ii[t]=1})),zt(pn,(function(t){V.units[t]="deg",Ki[t]=1})),ui[gn[13]]="x,y,z,scale,scaleX,scaleY,xPercent,yPercent,"+pn,zt("0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY",(function(t){var e=t.split(":");ui[e[1]]=gn[e[0]]})),zt("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",(function(t){V.units[t]="px"})),jr.registerPlugin(dn);var mn=jr.registerPlugin(dn)||jr;function _n(t,e){for(var r=0;ra?(n=i,i=t,s=o,o=l):r?i+=t:i=n+(t-n)/(l-s)*(o-s)};return{update:c,reset:function(){n=i=r?0:i,s=o=0},getVelocity:function(t){var e=s,a=n,u=Ln();return(t||0===t)&&t!==i&&c(t),o===s||u-s>l?0:(i+(r?a:-a))/((r?u:o)-e)*1e3}}},Zn=function(t,e){return e&&!t._gsapAllow&&t.preventDefault(),t.changedTouches?t.changedTouches[0]:t},$n=function(t){var e=Math.max.apply(Math,t),r=Math.min.apply(Math,t);return Math.abs(e)>=Math.abs(r)?e:r},Jn=function(){(En=vn.core.globals().ScrollTrigger)&&En.core&&function(){var t=En.core,e=t.bridge||{},r=t._scrollers,i=t._proxies;r.push.apply(r,Bn),i.push.apply(i,In),Bn=r,In=i,Wn=function(t,r){return e[t](r)}}()},to=function(t){return(vn=t||Pn())&&"undefined"!=typeof document&&document.body&&(bn=window,xn=document,wn=xn.documentElement,Tn=xn.body,An=[bn,xn,wn,Tn],vn.utils.clamp,On=vn.core.context||function(){},Cn="onpointerenter"in Tn?"pointer":"mouse",kn=eo.isTouch=bn.matchMedia&&bn.matchMedia("(hover: none), (pointer: coarse)").matches?1:"ontouchstart"in bn||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0?2:0,Sn=eo.eventTypes=("ontouchstart"in wn?"touchstart,touchmove,touchcancel,touchend":"onpointerdown"in wn?"pointerdown,pointermove,pointercancel,pointerup":"mousedown,mousemove,mouseup,mouseup").split(","),setTimeout((function(){return Dn=0}),500),Jn(),yn=1),yn};Un.op=Gn,Bn.cache=0;var eo=function(){function t(t){this.init(t)}var e,r;return t.prototype.init=function(t){yn||to(vn)||console.warn("Please gsap.registerPlugin(Observer)"),En||Jn();var e=t.tolerance,r=t.dragMinimum,i=t.type,n=t.target,o=t.lineHeight,s=t.debounce,a=t.preventDefault,l=t.onStop,c=t.onStopDelay,u=t.ignore,h=t.wheelSpeed,f=t.event,p=t.onDragStart,g=t.onDragEnd,d=t.onDrag,m=t.onPress,_=t.onRelease,v=t.onRight,y=t.onLeft,b=t.onUp,x=t.onDown,w=t.onChangeX,T=t.onChangeY,k=t.onChange,C=t.onToggleX,E=t.onToggleY,A=t.onHover,M=t.onHoverEnd,S=t.onMove,O=t.ignoreCheck,P=t.isNormalizer,D=t.onGestureStart,R=t.onGestureEnd,B=t.onWheel,I=t.onEnable,L=t.onDisable,W=t.onClick,z=t.scrollSpeed,F=t.capture,N=t.allowClicks,q=t.lockAxis,Y=t.onLockAxis;this.target=n=jn(n)||wn,this.vars=t,u&&(u=vn.utils.toArray(u)),e=e||1e-9,r=r||0,h=h||1,z=z||1,i=i||"wheel,touch,pointer",s=!1!==s,o||(o=parseFloat(bn.getComputedStyle(Tn).lineHeight)||22);var X,V,H,U,G,j,K,Q=this,Z=0,$=0,J=Kn(n,Un),tt=Kn(n,Gn),et=J(),rt=tt(),it=~i.indexOf("touch")&&!~i.indexOf("pointer")&&"pointerdown"===Sn[0],nt=Fn(n),ot=n.ownerDocument||xn,st=[0,0,0],at=[0,0,0],lt=0,ct=function(){return lt=Ln()},ut=function(t,e){return(Q.event=t)&&u&&~u.indexOf(t.target)||e&&it&&"touch"!==t.pointerType||O&&O(t,e)},ht=function(){var t=Q.deltaX=$n(st),r=Q.deltaY=$n(at),i=Math.abs(t)>=e,n=Math.abs(r)>=e;k&&(i||n)&&k(Q,t,r,st,at),i&&(v&&Q.deltaX>0&&v(Q),y&&Q.deltaX<0&&y(Q),w&&w(Q),C&&Q.deltaX<0!=Z<0&&C(Q),Z=Q.deltaX,st[0]=st[1]=st[2]=0),n&&(x&&Q.deltaY>0&&x(Q),b&&Q.deltaY<0&&b(Q),T&&T(Q),E&&Q.deltaY<0!=$<0&&E(Q),$=Q.deltaY,at[0]=at[1]=at[2]=0),(U||H)&&(S&&S(Q),H&&(d(Q),H=!1),U=!1),j&&!(j=!1)&&Y&&Y(Q),G&&(B(Q),G=!1),X=0},ft=function(t,e,r){st[r]+=t,at[r]+=e,Q._vx.update(t),Q._vy.update(e),s?X||(X=requestAnimationFrame(ht)):ht()},pt=function(t,e){q&&!K&&(Q.axis=K=Math.abs(t)>Math.abs(e)?"x":"y",j=!0),"y"!==K&&(st[2]+=t,Q._vx.update(t,!0)),"x"!==K&&(at[2]+=e,Q._vy.update(e,!0)),s?X||(X=requestAnimationFrame(ht)):ht()},gt=function(t){if(!ut(t,1)){var e=(t=Zn(t,a)).clientX,i=t.clientY,n=e-Q.x,o=i-Q.y,s=Q.isDragging;Q.x=e,Q.y=i,(s||Math.abs(Q.startX-e)>=r||Math.abs(Q.startY-i)>=r)&&(d&&(H=!0),s||(Q.isDragging=!0),pt(n,o),s||p&&p(Q))}},dt=Q.onPress=function(t){ut(t,1)||t&&t.button||(Q.axis=K=null,V.pause(),Q.isPressed=!0,t=Zn(t),Z=$=0,Q.startX=Q.x=t.clientX,Q.startY=Q.y=t.clientY,Q._vx.reset(),Q._vy.reset(),Nn(P?n:ot,Sn[1],gt,a,!0),Q.deltaX=Q.deltaY=0,m&&m(Q))},mt=Q.onRelease=function(t){if(!ut(t,1)){qn(P?n:ot,Sn[1],gt,!0);var e=!isNaN(Q.y-Q.startY),r=Q.isDragging&&(Math.abs(Q.x-Q.startX)>3||Math.abs(Q.y-Q.startY)>3),i=Zn(t);!r&&e&&(Q._vx.reset(),Q._vy.reset(),a&&N&&vn.delayedCall(.08,(function(){if(Ln()-lt>300&&!t.defaultPrevented)if(t.target.click)t.target.click();else if(ot.createEvent){var e=ot.createEvent("MouseEvents");e.initMouseEvent("click",!0,!0,bn,1,i.screenX,i.screenY,i.clientX,i.clientY,!1,!1,!1,!1,0,null),t.target.dispatchEvent(e)}}))),Q.isDragging=Q.isGesturing=Q.isPressed=!1,l&&!P&&V.restart(!0),g&&r&&g(Q),_&&_(Q,r)}},_t=function(t){return t.touches&&t.touches.length>1&&(Q.isGesturing=!0)&&D(t,Q.isDragging)},vt=function(){return(Q.isGesturing=!1)||R(Q)},yt=function(t){if(!ut(t)){var e=J(),r=tt();ft((e-et)*z,(r-rt)*z,1),et=e,rt=r,l&&V.restart(!0)}},bt=function(t){if(!ut(t)){t=Zn(t,a),B&&(G=!0);var e=(1===t.deltaMode?o:2===t.deltaMode?bn.innerHeight:1)*h;ft(t.deltaX*e,t.deltaY*e,0),l&&!P&&V.restart(!0)}},xt=function(t){if(!ut(t)){var e=t.clientX,r=t.clientY,i=e-Q.x,n=r-Q.y;Q.x=e,Q.y=r,U=!0,(i||n)&&pt(i,n)}},wt=function(t){Q.event=t,A(Q)},Tt=function(t){Q.event=t,M(Q)},kt=function(t){return ut(t)||Zn(t,a)&&W(Q)};V=Q._dc=vn.delayedCall(c||.25,(function(){Q._vx.reset(),Q._vy.reset(),V.pause(),l&&l(Q)})).pause(),Q.deltaX=Q.deltaY=0,Q._vx=Qn(0,50,!0),Q._vy=Qn(0,50,!0),Q.scrollX=J,Q.scrollY=tt,Q.isDragging=Q.isGesturing=Q.isPressed=!1,On(this),Q.enable=function(t){return Q.isEnabled||(Nn(nt?ot:n,"scroll",Vn),i.indexOf("scroll")>=0&&Nn(nt?ot:n,"scroll",yt,a,F),i.indexOf("wheel")>=0&&Nn(n,"wheel",bt,a,F),(i.indexOf("touch")>=0&&kn||i.indexOf("pointer")>=0)&&(Nn(n,Sn[0],dt,a,F),Nn(ot,Sn[2],mt),Nn(ot,Sn[3],mt),N&&Nn(n,"click",ct,!1,!0),W&&Nn(n,"click",kt),D&&Nn(ot,"gesturestart",_t),R&&Nn(ot,"gestureend",vt),A&&Nn(n,Cn+"enter",wt),M&&Nn(n,Cn+"leave",Tt),S&&Nn(n,Cn+"move",xt)),Q.isEnabled=!0,t&&t.type&&dt(t),I&&I(Q)),Q},Q.disable=function(){Q.isEnabled&&(Rn.filter((function(t){return t!==Q&&Fn(t.target)})).length||qn(nt?ot:n,"scroll",Vn),Q.isPressed&&(Q._vx.reset(),Q._vy.reset(),qn(P?n:ot,Sn[1],gt,!0)),qn(nt?ot:n,"scroll",yt,F),qn(n,"wheel",bt,F),qn(n,Sn[0],dt,F),qn(ot,Sn[2],mt),qn(ot,Sn[3],mt),qn(n,"click",ct,!0),qn(n,"click",kt),qn(ot,"gesturestart",_t),qn(ot,"gestureend",vt),qn(n,Cn+"enter",wt),qn(n,Cn+"leave",Tt),qn(n,Cn+"move",xt),Q.isEnabled=Q.isPressed=Q.isDragging=!1,L&&L(Q))},Q.kill=Q.revert=function(){Q.disable();var t=Rn.indexOf(Q);t>=0&&Rn.splice(t,1),Mn===Q&&(Mn=0)},Rn.push(Q),P&&Fn(n)&&(Mn=Q),Q.enable(f)},e=t,(r=[{key:"velocityX",get:function(){return this._vx.getVelocity()}},{key:"velocityY",get:function(){return this._vy.getVelocity()}}])&&_n(e.prototype,r),t}();eo.version="3.12.1",eo.create=function(t){return new eo(t)},eo.register=to,eo.getAll=function(){return Rn.slice()},eo.getById=function(t){return Rn.filter((function(e){return e.vars.id===t}))[0]},Pn()&&vn.registerPlugin(eo);var ro,io,no,oo,so,ao,lo,co,uo,ho,fo,po,go,mo,_o,vo,yo,bo,xo,wo,To,ko,Co,Eo,Ao,Mo,So,Oo,Po,Do,Ro,Bo,Io,Lo,Wo=1,zo=Date.now,Fo=zo(),No=0,qo=0,Yo=function(t,e,r){var i=es(t)&&("clamp("===t.substr(0,6)||t.indexOf("max")>-1);return r["_"+e+"Clamp"]=i,i?t.substr(6,t.length-7):t},Xo=function(t,e){return!e||es(t)&&"clamp("===t.substr(0,6)?t:"clamp("+t+")"},Vo=function t(){return qo&&requestAnimationFrame(t)},Ho=function(){return mo=1},Uo=function(){return mo=0},Go=function(t){return t},jo=function(t){return Math.round(1e5*t)/1e5||0},Ko=function(){return"undefined"!=typeof window},Qo=function(){return ro||Ko()&&(ro=window.gsap)&&ro.registerPlugin&&ro},Zo=function(t){return!!~lo.indexOf(t)},$o=function(t){return zn(t,"getBoundingClientRect")||(Zo(t)?function(){return ca.width=no.innerWidth,ca.height=no.innerHeight,ca}:function(){return ks(t)})},Jo=function(t,e){var r=e.s,i=e.d2,n=e.d,o=e.a;return Math.max(0,(r="scroll"+i)&&(o=zn(t,r))?o()-$o(t)()[n]:Zo(t)?(so[r]||ao[r])-(no["inner"+i]||so["client"+i]||ao["client"+i]):t[r]-t["offset"+i])},ts=function(t,e){for(var r=0;r0){for(t-=n,o=0;o=t)return r[o];return r[o-1]}for(o=r.length,t+=n;o--;)if(r[o]<=t)return r[o];return r[0]}:function(r,i,n){void 0===n&&(n=.001);var o=e(r);return!i||Math.abs(o-r)r&&(i*=e/100),t=t.substr(0,r-1)),t=i+(t in Bs?Bs[t]*e:~t.indexOf("%")?parseFloat(t)*e/100:parseFloat(t)||0)}return t},Ls=function(t,e,r,i,n,o,s,a){var l=n.startColor,c=n.endColor,u=n.fontSize,h=n.indent,f=n.fontWeight,p=oo.createElement("div"),g=Zo(r)||"fixed"===zn(r,"pinType"),d=-1!==t.indexOf("scroller"),m=g?ao:r,_=-1!==t.indexOf("start"),v=_?l:c,y="border-color:"+v+";font-size:"+u+";color:"+v+";font-weight:"+f+";pointer-events:none;white-space:nowrap;font-family:sans-serif,Arial;z-index:1000;padding:4px 8px;border-width:0;border-style:solid;";return y+="position:"+((d||a)&&g?"fixed;":"absolute;"),(d||a||!g)&&(y+=(i===Gn?cs:us)+":"+(o+parseFloat(h))+"px;"),s&&(y+="box-sizing:border-box;text-align:left;width:"+s.offsetWidth+"px;"),p._isStart=_,p.setAttribute("class","gsap-marker-"+t+(e?" marker-"+e:"")),p.style.cssText=y,p.innerText=e||0===e?t+"-"+e:t,m.children[0]?m.insertBefore(p,m.children[0]):m.appendChild(p),p._offset=p["offset"+i.op.d2],Ws(p,0,i,_),p},Ws=function(t,e,r,i){var n={display:"block"},o=r[i?"os2":"p2"],s=r[i?"p2":"os2"];t._isFlipped=i,n[r.a+"Percent"]=i?-100:0,n[r.a]=i?"1px":0,n["border"+o+ys]=1,n["border"+s+ys]=0,n[r.p]=e+"px",ro.set(t,n)},zs=[],Fs={},Ns=function(){return zo()-No>34&&(Ro||(Ro=requestAnimationFrame(ra)))},qs=function(){(!Co||!Co.isPressed||Co.startX>ao.clientWidth)&&(Bn.cache++,Co?Ro||(Ro=requestAnimationFrame(ra)):ra(),No||Gs("scrollStart"),No=zo())},Ys=function(){Mo=no.innerWidth,Ao=no.innerHeight},Xs=function(){Bn.cache++,!go&&!ko&&!oo.fullscreenElement&&!oo.webkitFullscreenElement&&(!Eo||Mo!==no.innerWidth||Math.abs(no.innerHeight-Ao)>.25*no.innerHeight)&&co.restart(!0)},Vs={},Hs=[],Us=function t(){return Os(ma,"scrollEnd",t)||Js(!0)},Gs=function(t){return Vs[t]&&Vs[t].map((function(t){return t()}))||Hs},js=[],Ks=function(t){for(var e=0;ee)&&t.setPositions(t.start,Math.max(t.start+1,e),!0)})),r.forEach((function(t){return t&&t.render&&t.render(-1)})),Bn.forEach((function(t){rs(t)&&(t.smooth&&requestAnimationFrame((function(){return t.target.style.scrollBehavior="smooth"})),t.rec&&t(t.rec))})),Zs(Po,1),co.pause(),$s++,Bo=2,ra(2),zs.forEach((function(t){return rs(t.vars.onRefresh)&&t.vars.onRefresh(t)})),Bo=ma.isRefreshing=!1,Gs("refresh")}else Ss(ma,"scrollEnd",Us)},ta=0,ea=1,ra=function(t){if(!Bo||2===t){ma.isUpdating=!0,Lo&&Lo.update(0);var e=zs.length,r=zo(),i=r-Fo>=50,n=e&&zs[0].scroll();if(ea=ta>n?-1:1,Bo||(ta=n),i&&(No&&!mo&&r-No>200&&(No=0,Gs("scrollEnd")),fo=Fo,Fo=r),ea<0){for(vo=e;vo-- >0;)zs[vo]&&zs[vo].update(0,i);ea=1}else for(vo=0;vo20),r-=r-b}if(p&&(a[p]=t||-.001,t<0&&(t=0)),o){var T=t+r,k=o._isStart;g="scroll"+i.d2,Ws(o,T,i,k&&T>20||!k&&(u?Math.max(ao[g],so[g]):o.parentNode[g])<=T+1),u&&(l=ks(s),u&&(o.style[i.op.p]=l[i.op.p]-i.op.m-o._offset+xs))}return f&&m&&(g=ks(m),f.seek(h),d=ks(m),f._caScrollDist=g[i.p]-d[i.p],t=t/f._caScrollDist*h),f&&f.seek(_),f?t:Math.round(t)},ha=/(webkit|moz|length|cssText|inset)/i,fa=function(t,e,r,i){if(t.parentNode!==e){var n,o,s=t.style;if(e===ao){for(n in t._stOrig=s.cssText,o=ws(t))+n||ha.test(n)||!o[n]||"string"!=typeof s[n]||"0"===n||(s[n]=o[n]);s.top=r,s.left=i}else s.cssText=t._stOrig;ro.core.getCache(t).uncache=1,e.appendChild(t)}},pa=function(t,e,r){var i=e,n=i;return function(e){var o=Math.round(t());return o!==i&&o!==n&&Math.abs(o-i)>3&&Math.abs(o-n)>3&&(e=o,r&&r()),n=i,i=e,e}},ga=function(t,e,r){var i={};i[e.p]="+="+r,ro.set(t,i)},da=function(t,e){var r=Kn(t,e),i="_scroll"+e.p2,n=function e(n,o,s,a,l){var c=e.tween,u=o.onComplete,h={};s=s||r();var f=pa(r,s,(function(){c.kill(),e.tween=0}));return l=a&&l||0,a=a||n-s,c&&c.kill(),o[i]=n,o.modifiers=h,h[i]=function(){return f(s+a*c.ratio+l*c.ratio*c.ratio)},o.onUpdate=function(){Bn.cache++,ra()},o.onComplete=function(){e.tween=0,u&&u.call(c)},c=e.tween=ro.to(t,o)};return t[i]=r,r.wheelHandler=function(){return n.tween&&n.tween.kill()&&(n.tween=0)},Ss(t,"wheel",r.wheelHandler),ma.isTouch&&Ss(t,"touchmove",r.wheelHandler),n},ma=function(){function t(e,r){io||t.register(ro)||console.warn("Please gsap.registerPlugin(ScrollTrigger)"),Oo(this),this.init(e,r)}return t.prototype.init=function(e,r){if(this.progress=this.start=0,this.vars&&this.kill(!0,!0),qo){var i,n,o,s,a,l,c,u,h,f,p,g,d,m,_,v,y,b,x,w,T,k,C,E,A,M,S,O,P,D,R,B,I,L,W,z,F,N,q,Y,X,V,H=e=Ts(es(e)||is(e)||e.nodeType?{trigger:e}:e,Rs),U=H.onUpdate,G=H.toggleClass,j=H.id,K=H.onToggle,Q=H.onRefresh,Z=H.scrub,$=H.trigger,J=H.pin,tt=H.pinSpacing,et=H.invalidateOnRefresh,rt=H.anticipatePin,it=H.onScrubComplete,nt=H.onSnapComplete,ot=H.once,st=H.snap,at=H.pinReparent,lt=H.pinSpacer,ct=H.containerAnimation,ut=H.fastScrollEnd,ht=H.preventOverlaps,ft=e.horizontal||e.containerAnimation&&!1!==e.horizontal?Un:Gn,pt=!Z&&0!==Z,gt=jn(e.scroller||no),dt=ro.core.getCache(gt),mt=Zo(gt),_t="fixed"===("pinType"in e?e.pinType:zn(gt,"pinType")||mt&&"fixed"),vt=[e.onEnter,e.onLeave,e.onEnterBack,e.onLeaveBack],yt=pt&&e.toggleActions.split(" "),bt="markers"in e?e.markers:Rs.markers,xt=mt?0:parseFloat(ws(gt)["border"+ft.p2+ys])||0,wt=this,Tt=e.onRefreshInit&&function(){return e.onRefreshInit(wt)},kt=function(t,e,r){var i=r.d,n=r.d2,o=r.a;return(o=zn(t,"getBoundingClientRect"))?function(){return o()[i]}:function(){return(e?no["inner"+n]:t["client"+n])||0}}(gt,mt,ft),Ct=function(t,e){return!e||~In.indexOf(t)?$o(t):function(){return ca}}(gt,mt),Et=0,At=0,Mt=0,St=Kn(gt,ft);if(wt._startClamp=wt._endClamp=!1,wt._dir=ft,rt*=45,wt.scroller=gt,wt.scroll=ct?ct.time.bind(ct):St,s=St(),wt.vars=e,r=r||e.animation,"refreshPriority"in e&&(wo=1,-9999===e.refreshPriority&&(Lo=wt)),dt.tweenScroll=dt.tweenScroll||{top:da(gt,Gn),left:da(gt,Un)},wt.tweenTo=i=dt.tweenScroll[ft.p],wt.scrubDuration=function(t){(I=is(t)&&t)?B?B.duration(t):B=ro.to(r,{ease:"expo",totalProgress:"+=0",duration:I,paused:!0,onComplete:function(){return it&&it(wt)}}):(B&&B.progress(1).kill(),B=0)},r&&(r.vars.lazy=!1,r._initted&&!wt.isReverted||!1!==r.vars.immediateRender&&!1!==e.immediateRender&&r.duration()&&r.render(0,!0,!0),wt.animation=r.pause(),r.scrollTrigger=wt,wt.scrubDuration(Z),D=0,j||(j=r.vars.id)),st&&(ns(st)&&!st.push||(st={snapTo:st}),"scrollBehavior"in ao.style&&ro.set(mt?[ao,so]:gt,{scrollBehavior:"auto"}),Bn.forEach((function(t){return rs(t)&&t.target===(mt?oo.scrollingElement||so:gt)&&(t.smooth=!1)})),o=rs(st.snapTo)?st.snapTo:"labels"===st.snapTo?function(t){return function(e){return ro.utils.snap(Es(t),e)}}(r):"labelsDirectional"===st.snapTo?(Y=r,function(t,e){return As(Es(Y))(t,e.direction)}):!1!==st.directional?function(t,e){return As(st.snapTo)(t,zo()-At<500?0:e.direction)}:ro.utils.snap(st.snapTo),L=st.duration||{min:.1,max:2},L=ns(L)?ho(L.min,L.max):ho(L,L),W=ro.delayedCall(st.delay||I/2||.1,(function(){var t=St(),e=zo()-At<500,n=i.tween;if(!(e||Math.abs(wt.getVelocity())<10)||n||mo||Et===t)wt.isActive&&Et!==t&&W.restart(!0);else{var s=(t-l)/m,a=r&&!pt?r.totalProgress():s,u=e?0:(a-R)/(zo()-fo)*1e3||0,h=ro.utils.clamp(-s,1-s,as(u/2)*u/.185),f=s+(!1===st.inertia?0:h),p=ho(0,1,o(f,wt)),g=Math.round(l+p*m),d=st,_=d.onStart,v=d.onInterrupt,y=d.onComplete;if(t<=c&&t>=l&&g!==t){if(n&&!n._initted&&n.data<=as(g-t))return;!1===st.inertia&&(h=p-s),i(g,{duration:L(as(.185*Math.max(as(f-a),as(p-a))/u/.05||0)),ease:st.ease||"power3",data:as(g-t),onInterrupt:function(){return W.restart(!0)&&v&&v(wt)},onComplete:function(){wt.update(),Et=St(),D=R=r&&!pt?r.totalProgress():wt.progress,nt&&nt(wt),y&&y(wt)}},t,h*m,g-t-h*m),_&&_(wt,i.tween)}}})).pause()),j&&(Fs[j]=wt),(q=($=wt.trigger=jn($||!0!==J&&J))&&$._gsap&&$._gsap.stRevert)&&(q=q(wt)),J=!0===J?$:jn(J),es(G)&&(G={targets:$,className:G}),J&&(!1===tt||tt===vs||(tt=!(!tt&&J.parentNode&&J.parentNode.style&&"flex"===ws(J.parentNode).display)&&_s),wt.pin=J,(n=ro.core.getCache(J)).spacer?_=n.pinState:(lt&&((lt=jn(lt))&&!lt.nodeType&&(lt=lt.current||lt.nativeElement),n.spacerIsNative=!!lt,lt&&(n.spacerState=la(lt))),n.spacer=b=lt||oo.createElement("div"),b.classList.add("pin-spacer"),j&&b.classList.add("pin-spacer-"+j),n.pinState=_=la(J)),!1!==e.force3D&&ro.set(J,{force3D:!0}),wt.spacer=b=n.spacer,P=ws(J),E=P[tt+ft.os2],w=ro.getProperty(J),T=ro.quickSetter(J,ft.a,xs),oa(J,b,P),y=la(J)),bt){g=ns(bt)?Ts(bt,Ds):Ds,f=Ls("scroller-start",j,gt,ft,g,0),p=Ls("scroller-end",j,gt,ft,g,0,f),x=f["offset"+ft.op.d2];var Ot=jn(zn(gt,"content")||gt);u=this.markerStart=Ls("start",j,Ot,ft,g,x,0,ct),h=this.markerEnd=Ls("end",j,Ot,ft,g,x,0,ct),ct&&(N=ro.quickSetter([u,h],ft.a,xs)),_t||In.length&&!0===zn(gt,"fixedMarkers")||(V=ws(X=mt?ao:gt).position,X.style.position="absolute"===V||"fixed"===V?V:"relative",ro.set([f,p],{force3D:!0}),M=ro.quickSetter(f,ft.a,xs),O=ro.quickSetter(p,ft.a,xs))}if(ct){var Pt=ct.vars.onUpdate,Dt=ct.vars.onUpdateParams;ct.eventCallback("onUpdate",(function(){wt.update(0,0,1),Pt&&Pt.apply(ct,Dt||[])}))}if(wt.previous=function(){return zs[zs.indexOf(wt)-1]},wt.next=function(){return zs[zs.indexOf(wt)+1]},wt.revert=function(t,e){if(!e)return wt.kill(!0);var i=!1!==t||!wt.enabled,n=go;i!==wt.isReverted&&(i&&(z=Math.max(St(),wt.scroll.rec||0),Mt=wt.progress,F=r&&r.progress()),u&&[u,h,f,p].forEach((function(t){return t.style.display=i?"none":"block"})),i&&(go=wt,wt.update(i)),!J||at&&wt.isActive||(i?function(t,e,r){aa(r);var i=t._gsap;if(i.spacerIsNative)aa(i.spacerState);else if(t._gsap.swappedIn){var n=e.parentNode;n&&(n.insertBefore(t,e),n.removeChild(e))}t._gsap.swappedIn=!1}(J,b,_):oa(J,b,ws(J),A)),i||wt.update(i),go=n,wt.isReverted=i)},wt.refresh=function(n,o,g,x){if(!go&&wt.enabled||o)if(J&&n&&No)Ss(t,"scrollEnd",Us);else{!Bo&&Tt&&Tt(wt),go=wt,i.tween&&(i.tween.kill(),i.tween=0),B&&B.pause(),et&&r&&r.revert({kill:!1}).invalidate(),wt.isReverted||wt.revert(!0,!0),wt._subPinOffset=!1;var T,E,M,O,P,D,R,I,L,N,q,Y,X,V=kt(),H=Ct(),U=ct?ct.duration():Jo(gt,ft),G=m<=.01,j=0,K=x||0,Z=ns(g)?g.end:e.end,rt=e.endTrigger||$,it=ns(g)?g.start:e.start||(0!==e.start&&$?J?"0 0":"0 100%":0),nt=wt.pinnedContainer=e.pinnedContainer&&jn(e.pinnedContainer,wt),ot=$&&Math.max(0,zs.indexOf(wt))||0,st=ot;for(bt&&ns(g)&&(Y=ro.getProperty(f,ft.p),X=ro.getProperty(p,ft.p));st--;)(D=zs[st]).end||D.refresh(0,1)||(go=wt),!(R=D.pin)||R!==$&&R!==J&&R!==nt||D.isReverted||(N||(N=[]),N.unshift(D),D.revert(!0,!0)),D!==zs[st]&&(ot--,st--);for(rs(it)&&(it=it(wt)),it=Yo(it,"start",wt),l=ua(it,$,V,ft,St(),u,f,wt,H,xt,_t,U,ct,wt._startClamp&&"_startClamp")||(J?-.001:0),rs(Z)&&(Z=Z(wt)),es(Z)&&!Z.indexOf("+=")&&(~Z.indexOf(" ")?Z=(es(it)?it.split(" ")[0]:"")+Z:(j=Is(Z.substr(2),V),Z=es(it)?it:(ct?ro.utils.mapRange(0,ct.duration(),ct.scrollTrigger.start,ct.scrollTrigger.end,l):l)+j,rt=$)),Z=Yo(Z,"end",wt),c=Math.max(l,ua(Z||(rt?"100% 0":U),rt,V,ft,St()+j,h,p,wt,H,xt,_t,U,ct,wt._endClamp&&"_endClamp"))||-.001,j=0,st=ot;st--;)(R=(D=zs[st]).pin)&&D.start-D._pinPush<=l&&!ct&&D.end>0&&(T=D.end-(wt._startClamp?Math.max(0,D.start):D.start),(R===$&&D.start-D._pinPush1&&(q={style:q=(mt?oo.scrollingElement||so:gt).style,value:q["overflow"+ft.a.toUpperCase()]},mt&&"scroll"!==ws(ao)["overflow"+ft.a.toUpperCase()]&&(q.style["overflow"+ft.a.toUpperCase()]="scroll")),oa(J,b,T),y=la(J),E=ks(J,!0),I=_t&&Kn(gt,O?Un:Gn)(),tt&&((A=[tt+ft.os2,m+K+xs]).t=b,(st=tt===_s?Cs(J,ft)+m+K:0)&&A.push(ft.d,st+xs),aa(A),nt&&zs.forEach((function(t){t.pin===nt&&!1!==t.vars.pinSpacing&&(t._subPinOffset=!0)})),_t&&St(z)),_t&&((P={top:E.top+(O?M-l:I)+xs,left:E.left+(O?I:M-l)+xs,boxSizing:"border-box",position:"fixed"})[hs]=P["max"+ys]=Math.ceil(E.width)+xs,P[fs]=P["max"+bs]=Math.ceil(E.height)+xs,P[vs]=P[vs+ds]=P[vs+ps]=P[vs+ms]=P[vs+gs]="0",P[_s]=T[_s],P[_s+ds]=T[_s+ds],P[_s+ps]=T[_s+ps],P[_s+ms]=T[_s+ms],P[_s+gs]=T[_s+gs],v=function(t,e,r){for(var i,n=[],o=t.length,s=r?8:0;s1,_t&&S&&v.splice(v.length-2,2),r.render(0,!0,!0),L||r.invalidate(!0),r.parent||r.totalTime(r.totalTime()),To(0)):C=m,q&&(q.value?q.style["overflow"+ft.a.toUpperCase()]=q.value:q.style.removeProperty("overflow-"+ft.a));else if($&&St()&&!ct)for(E=$.parentNode;E&&E!==ao;)E._pinOffset&&(l-=E._pinOffset,c-=E._pinOffset),E=E.parentNode;N&&N.forEach((function(t){return t.revert(!1,!0)})),wt.start=l,wt.end=c,s=a=Bo?z:St(),ct||Bo||(s0?zs.slice(0,e).reverse():zs.slice(e+1);return(es(t)?r.filter((function(e){return e.vars.preventOverlaps===t})):r).filter((function(t){return wt.direction>0?t.end<=l:t.start>=c}))},wt.update=function(t,e,n){if(!ct||n||t){var o,u,h,p,g,d,_,x=!0===Bo?z:wt.scroll(),w=t?0:(x-l)/m,A=w<0?0:w>1?1:w||0,P=wt.progress;if(e&&(a=s,s=ct?St():x,st&&(R=D,D=r&&!pt?r.totalProgress():A)),rt&&!A&&J&&!go&&!Wo&&No&&lP?1:-1,wt.progress=A,p&&!go&&(u=A&&!P?0:1===A?1:1===P?2:3,pt&&(h=!g&&"none"!==yt[u+1]&&yt[u+1]||yt[u],_=r&&("complete"===h||"reset"===h||h in r))),ht&&(g||_)&&(_||Z||!r)&&(rs(ht)?ht(wt):wt.getTrailing(ht).forEach((function(t){return t.endAnimation()}))),pt||(!B||go||Wo?r&&r.totalProgress(A,!(!go||!At&&!t)):(B._dp._time-B._start!==B._time&&B.render(B._dp._time-B._start),B.resetTo?B.resetTo("totalProgress",A,r._tTime/r._tDur):(B.vars.totalProgress=A,B.invalidate().restart()))),J)if(t&&tt&&(b.style[tt+ft.os2]=E),_t){if(p){if(d=!t&&A>P&&c+1>x&&x+1>=Jo(gt,ft),at)if(t||!o&&!d)fa(J,b);else{var I=ks(J,!0),L=x-l;fa(J,ao,I.top+(ft===Gn?L:0)+xs,I.left+(ft===Gn?0:L)+xs)}aa(o||d?v:y),S&&A<1&&o||T(k+(1!==A||d?0:C))}}else T(jo(k+C*A));st&&!i.tween&&!go&&!Wo&&W.restart(!0),G&&(g||ot&&A&&(A<1||!Do))&&uo(G.targets).forEach((function(t){return t.classList[o||ot?"add":"remove"](G.className)})),U&&!pt&&!t&&U(wt),p&&!go?(pt&&(_&&("complete"===h?r.pause().totalProgress(1):"reset"===h?r.restart(!0).pause():"restart"===h?r.restart(!0):r[h]()),U&&U(wt)),!g&&Do||(K&&g&&ss(wt,K),vt[u]&&ss(wt,vt[u]),ot&&(1===A?wt.kill(!1,1):vt[u]=0),g||vt[u=1===A?1:3]&&ss(wt,vt[u])),ut&&!o&&Math.abs(wt.getVelocity())>(is(ut)?ut:2500)&&(os(wt.callbackAnimation),B?B.progress(1):os(r,"reverse"===h?1:!A,1))):pt&&U&&!go&&U(wt)}if(O){var F=ct?x/ct.duration()*(ct._caScrollDist||0):x;M(F+(f._isFlipped?1:0)),O(F)}N&&N(-x/ct.duration()*(ct._caScrollDist||0))}},wt.enable=function(e,r){wt.enabled||(wt.enabled=!0,Ss(gt,"resize",Xs),Ss(mt?oo:gt,"scroll",qs),Tt&&Ss(t,"refreshInit",Tt),!1!==e&&(wt.progress=Mt=0,s=a=Et=St()),!1!==r&&wt.refresh())},wt.getTween=function(t){return t&&i?i.tween:B},wt.setPositions=function(t,e,r,i){if(ct){var n=ct.scrollTrigger,o=ct.duration(),s=n.end-n.start;t=n.start+s*t/o,e=n.start+s*e/o}wt.refresh(!1,!1,{start:Xo(t,r&&!!wt._startClamp),end:Xo(e,r&&!!wt._endClamp)},i),wt.update()},wt.adjustPinSpacing=function(t){if(A&&t){var e=A.indexOf(ft.d)+1;A[e]=parseFloat(A[e])+t+xs,A[1]=parseFloat(A[1])+t+xs,aa(A)}},wt.disable=function(e,r){if(wt.enabled&&(!1!==e&&wt.revert(!0,!0),wt.enabled=wt.isActive=!1,r||B&&B.pause(),z=0,n&&(n.uncache=1),Tt&&Os(t,"refreshInit",Tt),W&&(W.pause(),i.tween&&i.tween.kill()&&(i.tween=0)),!mt)){for(var o=zs.length;o--;)if(zs[o].scroller===gt&&zs[o]!==wt)return;Os(gt,"resize",Xs),Os(gt,"scroll",qs)}},wt.kill=function(t,i){wt.disable(t,i),B&&!i&&B.kill(),j&&delete Fs[j];var o=zs.indexOf(wt);o>=0&&zs.splice(o,1),o===vo&&ea>0&&vo--,o=0,zs.forEach((function(t){return t.scroller===wt.scroller&&(o=1)})),o||Bo||(wt.scroll.rec=0),r&&(r.scrollTrigger=null,t&&r.revert({kill:!1}),i||r.kill()),u&&[u,h,f,p].forEach((function(t){return t.parentNode&&t.parentNode.removeChild(t)})),Lo===wt&&(Lo=0),J&&(n&&(n.uncache=1),o=0,zs.forEach((function(t){return t.pin===J&&o++})),o||(n.spacer=0)),e.onKill&&e.onKill(wt)},zs.push(wt),wt.enable(!1,!1),q&&q(wt),r&&r.add&&!m){var Rt=wt.update;wt.update=function(){wt.update=Rt,l||c||wt.refresh()},ro.delayedCall(.01,wt.update),m=.01,l=c=0}else wt.refresh();J&&function(){if(Io!==$s){var t=Io=$s;requestAnimationFrame((function(){return t===$s&&Js(!0)}))}}()}else this.update=this.refresh=this.kill=Go},t.register=function(e){return io||(ro=e||Qo(),Ko()&&window.document&&t.enable(),io=qo),io},t.defaults=function(t){if(t)for(var e in t)Rs[e]=t[e];return Rs},t.disable=function(t,e){qo=0,zs.forEach((function(r){return r[e?"kill":"disable"](t)})),Os(no,"wheel",qs),Os(oo,"scroll",qs),clearInterval(po),Os(oo,"touchcancel",Go),Os(ao,"touchstart",Go),Ms(Os,oo,"pointerdown,touchstart,mousedown",Ho),Ms(Os,oo,"pointerup,touchend,mouseup",Uo),co.kill(),ts(Os);for(var r=0;r0&&i.left+n0&&i.top+n=0&&js.splice(e,5),js.push(t,t.style.cssText,t.getBBox&&t.getAttribute("transform"),ro.core.getCache(t),Oo())}})):js},ma.revert=function(t,e){return Qs(!t,e)},ma.create=function(t,e){return new ma(t,e)},ma.refresh=function(t){return t?Xs():(io||ma.register())&&Js(!0)},ma.update=function(t){return++Bn.cache&&ra(!0===t?2:0)},ma.clearScrollMemory=Zs,ma.maxScroll=function(t,e){return Jo(t,e?Un:Gn)},ma.getScrollFunc=function(t,e){return Kn(jn(t),e?Un:Gn)},ma.getById=function(t){return Fs[t]},ma.getAll=function(){return zs.filter((function(t){return"ScrollSmoother"!==t.vars.id}))},ma.isScrolling=function(){return!!No},ma.snapDirectional=As,ma.addEventListener=function(t,e){var r=Vs[t]||(Vs[t]=[]);~r.indexOf(e)||r.push(e)},ma.removeEventListener=function(t,e){var r=Vs[t],i=r&&r.indexOf(e);i>=0&&r.splice(i,1)},ma.batch=function(t,e){var r,i=[],n={},o=e.interval||.016,s=e.batchMax||1e9,a=function(t,e){var r=[],i=[],n=ro.delayedCall(o,(function(){e(r,i),r=[],i=[]})).pause();return function(t){r.length||n.restart(!0),r.push(t.trigger),i.push(t),s<=r.length&&n.progress(1)}};for(r in e)n[r]="on"===r.substr(0,2)&&rs(e[r])&&"onRefreshInit"!==r?a(0,e[r]):e[r];return rs(s)&&(s=s(),Ss(ma,"refresh",(function(){return s=e.batchMax()}))),uo(t).forEach((function(t){var e={};for(r in n)e[r]=n[r];e.trigger=t,i.push(ma.create(e))})),i};var _a,va=function(t,e,r,i){return e>i?t(i):e<0&&t(0),r>i?(i-e)/(r-e):r<0?e/(e-r):1},ya=function t(e,r){!0===r?e.style.removeProperty("touch-action"):e.style.touchAction=!0===r?"auto":r?"pan-"+r+(eo.isTouch?" pinch-zoom":""):"none",e===so&&t(ao,r)},ba={auto:1,scroll:1},xa=function(t){var e,r=t.event,i=t.target,n=t.axis,o=(r.changedTouches?r.changedTouches[0]:r).target,s=o._gsap||ro.core.getCache(o),a=zo();if(!s._isScrollT||a-s._isScrollT>2e3){for(;o&&o!==ao&&(o.scrollHeight<=o.clientHeight&&o.scrollWidth<=o.clientWidth||!ba[(e=ws(o)).overflowY]&&!ba[e.overflowX]);)o=o.parentNode;s._isScroll=o&&o!==i&&!Zo(o)&&(ba[(e=ws(o)).overflowY]||ba[e.overflowX]),s._isScrollT=a}(s._isScroll||"x"===n)&&(r.stopPropagation(),r._gsapAllow=!0)},wa=function(t,e,r,i){return eo.create({target:t,capture:!0,debounce:!1,lockAxis:!0,type:e,onWheel:i=i&&xa,onPress:i,onDrag:i,onScroll:i,onEnable:function(){return r&&Ss(oo,eo.eventTypes[0],ka,!1,!0)},onDisable:function(){return Os(oo,eo.eventTypes[0],ka,!0)}})},Ta=/(input|label|select|textarea)/i,ka=function(t){var e=Ta.test(t.target.tagName);(e||_a)&&(t._gsapAllow=!0,_a=e)};ma.sort=function(t){return zs.sort(t||function(t,e){return-1e6*(t.vars.refreshPriority||0)+t.start-(e.start+-1e6*(e.vars.refreshPriority||0))})},ma.observe=function(t){return new eo(t)},ma.normalizeScroll=function(t){if(void 0===t)return Co;if(!0===t&&Co)return Co.enable();if(!1===t)return Co&&Co.kill();var e=t instanceof eo?t:function(t){ns(t)||(t={}),t.preventDefault=t.isNormalizer=t.allowClicks=!0,t.type||(t.type="wheel,touch"),t.debounce=!!t.debounce,t.id=t.id||"normalizer";var e,r,i,n,o,s,a,l,c=t,u=c.normalizeScrollX,h=c.momentum,f=c.allowNestedScroll,p=c.onRelease,g=jn(t.target)||so,d=ro.core.globals().ScrollSmoother,m=d&&d.get(),_=So&&(t.content&&jn(t.content)||m&&!1!==t.content&&!m.smooth()&&m.content()),v=Kn(g,Gn),y=Kn(g,Un),b=1,x=(eo.isTouch&&no.visualViewport?no.visualViewport.scale*no.visualViewport.width:no.outerWidth)/no.innerWidth,w=0,T=rs(h)?function(){return h(e)}:function(){return h||2.8},k=wa(g,t.type,!0,f),C=function(){return n=!1},E=Go,A=Go,M=function(){r=Jo(g,Gn),A=ho(So?1:0,r),u&&(E=ho(0,Jo(g,Un))),i=$s},S=function(){_._gsap.y=jo(parseFloat(_._gsap.y)+v.offset)+"px",_.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+parseFloat(_._gsap.y)+", 0, 1)",v.offset=v.cacheID=0},O=function(){M(),o.isActive()&&o.vars.scrollY>r&&(v()>r?o.progress(1)&&v(r):o.resetTo("scrollY",r))};return _&&ro.set(_,{y:"+=0"}),t.ignoreCheck=function(t){return So&&"touchmove"===t.type&&function(){if(n){requestAnimationFrame(C);var t=jo(e.deltaY/2),r=A(v.v-t);if(_&&r!==v.v+v.offset){v.offset=r-v.v;var i=jo((parseFloat(_&&_._gsap.y)||0)-v.offset);_.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+i+", 0, 1)",_._gsap.y=i+"px",v.cacheID=Bn.cache,ra()}return!0}v.offset&&S(),n=!0}()||b>1.05&&"touchstart"!==t.type||e.isGesturing||t.touches&&t.touches.length>1},t.onPress=function(){n=!1;var t=b;b=jo((no.visualViewport&&no.visualViewport.scale||1)/x),o.pause(),t!==b&&ya(g,b>1.01||!u&&"x"),s=y(),a=v(),M(),i=$s},t.onRelease=t.onGestureStart=function(t,e){if(v.offset&&S(),e){Bn.cache++;var i,n,s=T();u&&(n=(i=y())+.05*s*-t.velocityX/.227,s*=va(y,i,n,Jo(g,Un)),o.vars.scrollX=E(n)),n=(i=v())+.05*s*-t.velocityY/.227,s*=va(v,i,n,Jo(g,Gn)),o.vars.scrollY=A(n),o.invalidate().duration(s).play(.01),(So&&o.vars.scrollY>=r||i>=r-1)&&ro.to({},{onUpdate:O,duration:s})}else l.restart(!0);p&&p(t)},t.onWheel=function(){o._ts&&o.pause(),zo()-w>1e3&&(i=0,w=zo())},t.onChange=function(t,e,r,n,o){if($s!==i&&M(),e&&u&&y(E(n[2]===e?s+(t.startX-t.x):y()+e-n[1])),r){v.offset&&S();var l=o[2]===r,c=l?a+t.startY-t.y:v()+r-o[1],h=A(c);l&&c!==h&&(a+=h-c),v(h)}(r||e)&&ra()},t.onEnable=function(){ya(g,!u&&"x"),ma.addEventListener("refresh",O),Ss(no,"resize",O),v.smooth&&(v.target.style.scrollBehavior="auto",v.smooth=y.smooth=!1),k.enable()},t.onDisable=function(){ya(g,!0),Os(no,"resize",O),ma.removeEventListener("refresh",O),k.kill()},t.lockAxis=!1!==t.lockAxis,(e=new eo(t)).iOS=So,So&&!v()&&v(1),So&&ro.ticker.add(Go),l=e._dc,o=ro.to(e,{ease:"power4",paused:!0,scrollX:u?"+=0.1":"+=0",scrollY:"+=0.1",modifiers:{scrollY:pa(v,v(),(function(){return o.pause()}))},onUpdate:ra,onComplete:l.vars.onComplete}),e}(t);return Co&&Co.target===e.target&&Co.kill(),Zo(e.target)&&(Co=e),e},ma.core={_getVelocityProp:Qn,_inputObserver:wa,_scrollers:Bn,_proxies:In,bridge:{ss:function(){No||Gs("scrollStart"),No=zo()},ref:function(){return go}}},Qo()&&ro.registerPlugin(ma);const Ca={IMG:document.querySelector(".cover-security__img"),WRAPPER:document.querySelector(".wrapper"),TARGET:document.querySelector(".services-security__info")},Ea=Ca.IMG.getBoundingClientRect().left,Aa=document.documentElement.clientWidth/2-450+31-8,Ma=Ca.IMG.getBoundingClientRect().top,Sa=Ca.TARGET.getBoundingClientRect().top;function Oa(t,e){const r=getComputedStyle(e);t.addEventListener("click",(()=>{"none"===r.display?(e.classList.remove("our-solutions__card-more-info_unvisible"),t.textContent="Скрыть информацию"):(e.classList.add("our-solutions__card-more-info_unvisible"),t.textContent="Показать больше")}))}console.log(Ea,Aa),mn.registerPlugin(ma);const Pa=[{imgWhite:"/images/clients/white/logo1.svg",imgColor:"/images/clients/color/logo1.svg",imgBlack:"/images/clients/black/logo1.svg",imgColorWhite:"/images/clients/color-white/logo1.svg"},{imgWhite:"/images/clients/white/logo2.svg",imgColor:"/images/clients/color/logo2.svg",imgBlack:"/images/clients/black/logo2.svg",imgColorWhite:"/images/clients/color-white/logo2.svg"},{imgWhite:"/images/clients/white/logo3.svg",imgColor:"/images/clients/color/logo3.svg",imgBlack:"/images/clients/black/logo3.svg",imgColorWhite:"/images/clients/color-white/logo3.svg"},{imgWhite:"/images/clients/white/logo4.svg",imgColor:"/images/clients/color/logo4.svg",imgBlack:"/images/clients/black/logo4.svg",imgColorWhite:"/images/clients/color-white/logo4.svg"},{imgWhite:"/images/clients/white/logo5.png",imgColor:"/images/clients/color/logo5.png",imgBlack:"/images/clients/black/logo5.png",imgColorWhite:"/images/clients/color-white/logo5.png"},{imgWhite:"/images/clients/white/logo6.svg",imgColor:"/images/clients/color/logo6.svg",imgBlack:"/images/clients/black/logo6.svg",imgColorWhite:"/images/clients/color-white/logo6.svg"},{imgWhite:"/images/clients/white/logo7.svg",imgColor:"/images/clients/color/logo7.svg",imgBlack:"/images/clients/black/logo7.svg",imgColorWhite:"/images/clients/color-white/logo7.svg"},{imgWhite:"/images/clients/white/logo8.png",imgColor:"/images/clients/color/logo8.png",imgBlack:"/images/clients/black/logo8.png",imgColorWhite:"/images/clients/color-white/logo8.png"},{imgWhite:"/images/clients/white/logo9.png",imgColor:"/images/clients/color/logo9.png",imgBlack:"/images/clients/black/logo9.png",imgColorWhite:"/images/clients/color-white/logo9.png"},{imgWhite:"/images/clients/white/logo10.png",imgColor:"/images/clients/color/logo10.png",imgBlack:"/images/clients/black/logo10.png",imgColorWhite:"/images/clients/color-white/logo10.png"},{imgWhite:"/images/clients/white/logo11.png",imgColor:"/images/clients/color/logo11.png",imgBlack:"/images/clients/black/logo11.png",imgColorWhite:"/images/clients/color-white/logo11.png"},{imgWhite:"/images/clients/white/logo12.png",imgColor:"/images/clients/color/logo12.png",imgBlack:"/images/clients/black/logo12.png",imgColorWhite:"/images/clients/color-white/logo12.png"},{imgWhite:"/images/clients/white/logo13.png",imgColor:"/images/clients/color/logo13.png",imgBlack:"/images/clients/black/logo13.png",imgColorWhite:"/images/clients/color-white/logo13.png"},{imgWhite:"/images/clients/white/logo14.png",imgColor:"/images/clients/color/logo14.png",imgBlack:"/images/clients/black/logo14.png",imgColorWhite:"/images/clients/color-white/logo14.png"},{imgWhite:"/images/clients/white/logo15.png",imgColor:"/images/clients/color/logo15.png",imgBlack:"/images/clients/black/logo15.png",imgColorWhite:"/images/clients/color-white/logo15.png"},{imgWhite:"/images/clients/white/logo16.png",imgColor:"/images/clients/color/logo16.png",imgBlack:"/images/clients/black/logo16.png",imgColorWhite:"/images/clients/color-white/logo16.png"},{imgWhite:"/images/clients/white/logo17.png",imgColor:"/images/clients/color/logo17.png",imgBlack:"/images/clients/black/logo17.png",imgColorWhite:"/images/clients/color-white/logo17.png"}];function Da(t,...e){const r=document.createElement("img");return r.src=t,r.classList.add(...e),r}function Ra(...t){const e=document.createElement("div");return e.classList.add(...t),e}const Ba=document.querySelector(".tab-clients");const Ia=[{imgWhite:"/images/partners/big-logo/white/logo1.png",imgColor:"/images/partners/big-logo/color/logo1.png",imgBlack:"/images/partners/big-logo/black/logo1.png",imgColorWhite:"/images/partners/big-logo/color-white/logo1.png",subtitle:"",name:"Код безопасности",text:"Российский разработчик программных и аппаратных средств, обеспечивающих полную защиту ИТ-инфраструктуры: конечных станций и серверов, периметра сети, современных виртуальных инфраструктур и мобильных устройств."},{imgWhite:"/images/partners/big-logo/white/logo2.svg",imgColor:"/images/partners/big-logo/color/logo2.svg",imgBlack:"/images/partners/big-logo/black/logo2.svg",imgColorWhite:"/images/partners/big-logo/color-white/logo2.svg",subtitle:"Авторизованный партнер",name:"Positive technologies",text:"Российский разработчик решений для информационной безопасности."},{imgWhite:"/images/partners/big-logo/white/logo3.png",imgColor:"/images/partners/big-logo/color/logo3.png",imgBlack:"/images/partners/big-logo/black/logo3.png",imgColorWhite:"/images/partners/big-logo/color-white/logo3.png",subtitle:"Registered Partner",name:"Лаборатория Касперского",text:"Российский разработчик и производитель систем защиты от компьютерных вирусов, спама, хакерских атак и прочих киберугроз."},{imgWhite:"/images/partners/big-logo/white/logo4.png",imgColor:"/images/partners/big-logo/color/logo4.png",imgBlack:"/images/partners/big-logo/black/logo4.png",imgColorWhite:"/images/partners/big-logo/color-white/logo4.png",subtitle:"Partner",name:"Check Point",text:"Израильский разработчик решений по кибербезопасности."},{imgWhite:"/images/partners/big-logo/white/logo5.svg",imgColor:"/images/partners/big-logo/color/logo5.svg",imgBlack:"/images/partners/big-logo/black/logo5.svg",imgColorWhite:"/images/partners/big-logo/color-white/logo5.svg",subtitle:"Bronze",name:"UserGate",text:"Российский разработчик программного обеспечения и микроэлектроники в сфере информационной безопасности."},{imgWhite:"/images/partners/big-logo/white/logo6.png",imgColor:"/images/partners/big-logo/color/logo6.png",imgBlack:"/images/partners/big-logo/black/logo6.png",imgColorWhite:"/images/partners/big-logo/color-white/logo6.png",subtitle:"",name:"Ruseim",text:"Российский производитель, занимающийся созданием решений в области мониторинга и управления событиями информационной безопасности на основе анализа данных в реальном времени."},{imgWhite:"/images/partners/big-logo/white/logo9.png",imgColor:"/images/partners/big-logo/color/logo9.png",imgBlack:"/images/partners/big-logo/black/logo9.png",imgColorWhite:"/images/partners/big-logo/color-white/logo9.png",subtitle:"Авторизованный партнер",name:"Аэродиск",text:"Российский производитель инновационных решений в области хранения данных и виртуализации (системы хранения данных, гиперконвергентная система и программное обеспечение)."},{imgWhite:"/images/partners/big-logo/white/logo10.png",imgColor:"/images/partners/big-logo/color/logo10.png",imgBlack:"/images/partners/big-logo/black/logo10.png",imgColorWhite:"/images/partners/big-logo/color-white/logo10.png",subtitle:"Авторизованный партнер",name:"Звезда",text:"Российский разработчик и производитель вычислительного радиоэлектронного оборудования и ПО (вычислительные серверы, программно-определяемые системы хранения данных, автоматизированные рабочие места и тонкие клиенты). телекоммуникационное оборудование)"},{imgWhite:"/images/partners/big-logo/white/logo12.png",imgColor:"/images/partners/big-logo/color/logo12.png",imgBlack:"/images/partners/big-logo/black/logo12.png",imgColorWhite:"/images/partners/big-logo/color-white/logo12.png",subtitle:"Авторизованный партнер",name:"Р7-Офис",text:"Российский разработчик офисного программного обеспечения."},{imgWhite:"/images/partners/big-logo/white/logo14.svg",imgColor:"/images/partners/big-logo/color/logo14.svg",imgBlack:"/images/partners/big-logo/black/logo14.svg",imgColorWhite:"/images/partners/big-logo/color-white/logo14.svg",subtitle:"Торговый партнер",name:"CommuniGate Systems",text:"Российский разработчик программного обеспечения в области интегрированных коммуникаций."},{imgWhite:"/images/partners/big-logo/white/logo15.svg",imgColor:"/images/partners/big-logo/color/logo15.svg",imgBlack:"/images/partners/big-logo/black/logo15.svg",imgColorWhite:"/images/partners/big-logo/color-white/logo15.svg",subtitle:"Реселлер",name:"ROSA",text:"Российский разработчик системного ПО (настольные и серверные операционные системы, системы разворачивания облачных и инфраструктурных сервисов)."},{imgWhite:"/images/partners/big-logo/white/logo16.svg",imgColor:"/images/partners/big-logo/color/logo16.svg",imgBlack:"/images/partners/big-logo/black/logo16.svg",imgColorWhite:"/images/partners/big-logo/color-white/logo16.svg",subtitle:"Авторизованный партнер",name:"Yadro",text:"Российский производитель высокотехнологичного оборудования (серверы, системы хранения данных, инфраструктурные решения)."}],La=document.querySelector(".tab-partner");const Wa={TAB_ROW:".tabs",TAB_BUTTON:".tab-partners__item",TAB_CONTENT:".tab-partners__section",SECTION:".tab-partners",TAB_BTN_ACTIVE:".tab-partners__item_active",TAB_CONTENT_ACTIVE:".tab-partners__section_active"},za={TAB_BTN_ACTIVE:"tab-partners__item_active",TAB_CONTENT_ACTIVE:"tab-partners__section_active"};class Fa{constructor(t,e){this._selectors=t,this._classes=e}initTabs(){this._getElements(),this._setAttributes(),this._setListeners(),this._showByIndex(0)}_getElements(){this._section=document.querySelector(this._selectors.SECTION),this._tabRow=this._section.querySelector(this._selectors.TAB_ROW),this._headers=this._tabRow.querySelectorAll(this._selectors.TAB_BUTTON),this._contents=this._tabRow.querySelectorAll(this._selectors.TAB_CONTENT),this._activeTab=this._tabRow.querySelector(this._selectors.TAB_BTN_ACTIVE),this._activeTabContent=this._tabRow.querySelector(this._selectors.TAB_CONTENT_ACTIVE)}_setAttributes(){this._headers.forEach(((t,e)=>{t.dataset.index=e,t.setAttribute("role","tab"),this._contents[e].setAttribute("role","tab-content"),this._contents[e].dataset.index=e}))}_setListeners(){this._tabRow.addEventListener("click",(t=>{const e=t.target.closest(this._selectors.TAB_BUTTON);e&&(t.preventDefault(),this._setActiveTab(e))}))}_setActiveTab(t){t!==this._activeTab&&(this._toggleClass(!1),this._activeTab=t,this._activeTabContent=this._contents[t.dataset.index],this._toggleClass(!0))}setActiveTab(t){const e=this._headers[t];this._setActiveTab(e)}_toggleClass(t){this._activeTab&&this._activeTab.classList.toggle(this._classes.TAB_BTN_ACTIVE,t),this._activeTabContent&&this._activeTabContent.classList.toggle(this._classes.TAB_CONTENT_ACTIVE,t)}_showByIndex(t){this._setActiveTab(this._headers[t])}}!function(){try{const t=new Fa(Wa,za);t.initTabs();"1"===new URL(window.location.href).searchParams.get("tab")&&t.setActiveTab(1),createHero()}catch(t){}"dark"===localStorage.getItem("theme")?(k.forEach((t=>{t.checked=!1})),E()):(k.forEach((t=>{t.checked=!0})),C()),k.forEach((t=>{t.addEventListener("change",(()=>{t.checked?(k.forEach((t=>{t.checked=!0})),localStorage.setItem("theme","light"),C()):(k.forEach((t=>{t.checked=!1})),localStorage.setItem("theme","dark"),E())}))})),function(){try{const e=document.querySelector(".js_header_btn"),r=document.querySelector(".js_menu"),i=document.querySelector(".js_menu_overlay"),n=document.querySelector(".js_menu_exit");r.style.display="",e.addEventListener("click",(()=>{i.classList.add("active"),r.classList.add("active-half"),n.classList.add("active"),t.unscroll()})),n.addEventListener("click",(()=>{o()})),i.addEventListener("click",(()=>{o()}));const o=()=>{i.classList.remove("active"),r.classList.remove("active-half","active-full"),n.classList.remove("active"),t.scroll()}}catch(t){}}(),function(){try{const t=document.querySelector("#popupform"),e=new r(t,(()=>{e.closePopup()}));e.setEventListeners(),document.querySelectorAll(".popup-form-open").forEach((t=>{t.addEventListener("click",(t=>{const r=t.target.dataset.subject;e.openPopup(r)}))}))}catch(t){console.log(t)}}(),document.querySelector(".about-security-fact__number")&&document.querySelectorAll(".about-security-fact__number span").forEach((t=>{let e=t.getBoundingClientRect().top,r=+t.dataset.num;const i={value:0};window.addEventListener("scroll",(function n(){window.pageYOffset>e-window.innerHeight&&(this.removeEventListener("scroll",n),mn.to(i,{value:r,duration:1,onUpdate:()=>{t.textContent=function(t){let e;const r=t+"";return e=-1!=r.indexOf(",")?new Intl.NumberFormat("ru-RU").format(r.replace(",",".")).replace(".",","):new Intl.NumberFormat("ru-RU").format(r).replace(",","."),e}(Math.round(i.value))}}))}))})),function(){const t=document.querySelector(".our-solutions__more-btn");t.addEventListener("click",(()=>{document.querySelectorAll(".our-solutions__card_unvisible").forEach((e=>{e.classList.remove("our-solutions__card_unvisible"),t.style.display="none"}))}))}(),function(){const t=document.querySelector(".cases__more-btn");t.addEventListener("click",(()=>{document.querySelectorAll(".cases__card_unvisible").forEach((e=>{e.classList.remove("cases__card_unvisible"),t.style.display="none"}))}))}(),function(){const t=document.querySelectorAll(".our-solutions__card-btn"),e=document.querySelectorAll(".our-solutions__card-more-info_unvisible");for(let r=0;r{const r=function(t,e){const r=Ra("tab-clients__img-box","logo-img-box"),i=Da(t.imgWhite,"tab-clients__img-white","logo-img-box__grey-light"),n=Da(t.imgBlack,"tab-clients__img-black","logo-img-box__grey-dark"),o=Da(t.imgColor,"tab-clients__img-color","logo-img-box__color-light"),s=Da(t.imgColorWhite,"tab-clients__img-color-white","logo-img-box__color-dark");return r.append(i),r.append(n),r.append(o),r.append(s),e||r.classList.add("logo_unvisible"),r}(t,e<8);Ba.append(r)}));const t=document.querySelector(".tab-clients__btn");t.addEventListener("click",(()=>{document.querySelectorAll(".logo_unvisible").forEach((e=>{e.classList.remove("logo_unvisible"),t.style.display="none"}))}))}(),Ia.forEach(((t,e)=>{if(e<8){const e=function(t,e){const r=Ra("tab-partner__img-box","logo-img-box"),i=Da(t.imgWhite,"tab-partner__img-white","logo-img-box__grey-light"),n=Da(t.imgBlack,"tab-partner__img-black","logo-img-box__grey-dark"),o=Da(t.imgColor,"tab-partner__img-color","logo-img-box__color-light"),s=Da(t.imgColorWhite,"tab-partner__img-color-white","logo-img-box__color-dark");return r.append(i),r.append(n),r.append(o),r.append(s),r}(t);La.append(e)}})),mn.matchMedia().add("(min-width: 1200px)",(()=>{const t=mn.timeline({scrollTrigger:{trigger:Ca.WRAPPER,pin:Ca.IMG,start:"top top",end:"+="+(Sa-Ma-600),scrub:!0},onComplete:()=>{e.play()}});mn.set(Ca.IMG,{transformOrigin:"left center"}),t.fromTo(Ca.IMG,{x:0,scale:1,rotate:0,y:0},{x:Aa-Ea,scale:408/848,rotate:90,y:170,duration:1,ease:"power1.easeInOut"});const e=mn.timeline({ease:"power1.easeOut"});e.fromTo(".services-security",{opacity:1,duration:1}),window.tl=e,e.pause(),e.progress(1e-6)}))}()})(); \ No newline at end of file diff --git a/local/templates/main/components/bitrix/news/articles/bitrix/news.detail/article/style.css b/local/templates/main/components/bitrix/news/articles/bitrix/news.detail/article/style.css new file mode 100644 index 0000000..7c939d5 --- /dev/null +++ b/local/templates/main/components/bitrix/news/articles/bitrix/news.detail/article/style.css @@ -0,0 +1,3242 @@ +@charset "UTF-8"; +/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */ +/* Document + ========================================================================== */ +/** + * 1. Correct the line height in all browsers. + * 2. Prevent adjustments of font size after orientation changes in iOS. + */ +/* NORMALIZATION */ +/** + * Render the `main` element consistently in IE. + */ +main { + display: block; +} + +h1 { + font-size: 2em; +} + +/* Grouping content + ========================================================================== */ +/** + * 1. Add the correct box sizing in Firefox. + * 2. Show the overflow in Edge and IE. + */ +hr { + box-sizing: content-box; /* 1 */ + height: 0; /* 1 */ + overflow: visible; /* 2 */ +} + +/** + * 1. Correct the inheritance and scaling of font size in all browsers. + * 2. Correct the odd `em` font sizing in all browsers. + */ +pre { + font-family: monospace, monospace; /* 1 */ + font-size: 1em; /* 2 */ +} + +/* Text-level semantics + ========================================================================== */ +/** + * Remove the gray background on active links in IE 10. + */ +a { + background-color: transparent; +} + +/** + * 1. Remove the bottom border in Chrome 57- + * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari. + */ +abbr[title] { + border-bottom: none; /* 1 */ + text-decoration: underline; /* 2 */ + text-decoration: underline dotted; /* 2 */ +} + +/** + * Add the correct font weight in Chrome, Edge, and Safari. + */ +b, +strong { + font-weight: bolder; +} + +/** + * 1. Correct the inheritance and scaling of font size in all browsers. + * 2. Correct the odd `em` font sizing in all browsers. + */ +code, +kbd, +samp { + font-family: monospace, monospace; /* 1 */ + font-size: 1em; /* 2 */ +} + +/** + * Add the correct font size in all browsers. + */ +small { + font-size: 80%; +} + +/** + * Prevent `sub` and `sup` elements from affecting the line height in + * all browsers. + */ +sub, +sup { + font-size: 75%; + line-height: 0; + position: relative; + vertical-align: baseline; +} + +sub { + bottom: -0.25em; +} + +sup { + top: -0.5em; +} + +/* Embedded content + ========================================================================== */ +/** + * Remove the border on images inside links in IE 10. + */ +img { + border-style: none; +} + +/* Forms + ========================================================================== */ +/** + * 1. Change the font styles in all browsers. + * 2. Remove the margin in Firefox and Safari. + */ +button, +input, +optgroup, +select, +textarea { + font: inherit; /* 1 */ + margin: 0; /* 2 */ +} + +/** + * Show the overflow in IE. + * 1. Show the overflow in Edge. + */ +button, +input { + /* 1 */ + overflow: visible; +} + +/** + * Remove the inheritance of text transform in Edge, Firefox, and IE. + * 1. Remove the inheritance of text transform in Firefox. + */ +button, +select { + /* 1 */ + text-transform: none; +} + +/** + * Correct the inability to style clickable types in iOS and Safari. + */ +button, +[type=button], +[type=reset], +[type=submit] { + -webkit-appearance: button; +} + +/** + * Remove the inner border and padding in Firefox. + */ +button::-moz-focus-inner, +[type=button]::-moz-focus-inner, +[type=reset]::-moz-focus-inner, +[type=submit]::-moz-focus-inner { + border-style: none; + padding: 0; +} + +/** + * Restore the focus styles unset by the previous rule. + */ +button:-moz-focusring, +[type=button]:-moz-focusring, +[type=reset]:-moz-focusring, +[type=submit]:-moz-focusring { + outline: 1px dotted ButtonText; +} + +/** + * Correct the padding in Firefox. + */ +fieldset { + padding: 0.35em 0.75em 0.625em; +} + +/** + * 1. Correct the text wrapping in Edge and IE. + * 2. Correct the color inheritance from `fieldset` elements in IE. + * 3. Remove the padding so developers are not caught out when they zero out + * `fieldset` elements in all browsers. + */ +legend { + box-sizing: border-box; /* 1 */ + color: inherit; /* 2 */ + display: table; /* 1 */ + max-width: 100%; /* 1 */ + padding: 0; /* 3 */ + white-space: normal; /* 1 */ +} + +/** + * Add the correct vertical alignment in Chrome, Firefox, and Opera. + */ +progress { + vertical-align: baseline; +} + +/** + * Remove the default vertical scrollbar in IE 10+. + */ +textarea { + overflow: auto; +} + +/** + * 1. Add the correct box sizing in IE 10. + * 2. Remove the padding in IE 10. + */ +[type=checkbox], +[type=radio] { + box-sizing: border-box; /* 1 */ + padding: 0; /* 2 */ +} + +/** + * Correct the cursor style of increment and decrement buttons in Chrome. + */ +[type=number]::-webkit-inner-spin-button, +[type=number]::-webkit-outer-spin-button { + height: auto; +} + +/** + * 1. Correct the odd appearance in Chrome and Safari. + * 2. Correct the outline style in Safari. + */ +[type=search] { + -webkit-appearance: textfield; /* 1 */ + outline-offset: -2px; /* 2 */ +} + +/** + * Remove the inner padding in Chrome and Safari on macOS. + */ +[type=search]::-webkit-search-decoration { + -webkit-appearance: none; +} + +/** + * 1. Correct the inability to style clickable types in iOS and Safari. + * 2. Change font properties to `inherit` in Safari. + */ +::-webkit-file-upload-button { + -webkit-appearance: button; /* 1 */ + font: inherit; /* 2 */ +} + +/* Interactive + ========================================================================== */ +/* + * Add the correct display in Edge, IE 10+, and Firefox. + */ +details { + display: block; +} + +/* + * Add the correct display in all browsers. + */ +summary { + display: list-item; +} + +/* Misc + ========================================================================== */ +/** + * Add the correct display in IE 10+. + */ +template { + display: none; +} + +/** + * Add the correct display in IE 10. + */ +[hidden] { + display: none; +} + +/* CSS-ZERO-RULES */ +/* Box sizing rules */ +*, +*::before, +*::after { + box-sizing: border-box; +} + +/* Remove default margin */ +body, +h1, +h2, +h3, +h4, +p { + margin: 0; +} + +/* Set core body defaults */ +.body { + min-width: 320px; + scroll-behavior: smooth; + text-rendering: optimizeSpeed; + /* text-rendering: optimizeLegibility; */ + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; + -webkit-text-size-adjust: 100%; + -ms-text-size-adjust: 100%; + -moz-text-size-adjust: 100%; +} + +/* A elements that don't have a class get default styles */ +a:not([class]) { + text-decoration-skip-ink: auto; +} + +/* Make images easier to work with */ +img { + max-width: 100%; + display: block; +} + +.red-line { + margin-top: 48px; + width: 80px; + height: 2px; + background-color: #F05555; +} +@media screen and (max-width: 960px) { + .red-line { + margin-top: 32px; + } +} +@media screen and (max-width: 640px) { + .red-line { + margin-top: 24px; + } +} + +.black-background { + background-color: #171717; +} +.light-mode .black-background { + background-color: #FBFBFB; +} + +@font-face { + font-family: "Montserrat"; + src: url("/fonts/Montserrat-Light.woff2") format("woff2"), url("/fonts/Montserrat-Light.woff") format("woff"); + font-weight: 300; + font-style: normal; + font-display: swap; +} +@font-face { + font-family: "Montserrat"; + src: url("/fonts/Montserrat-Regular.woff2") format("woff2"), url("/fonts/Montserrat-Regular.woff") format("woff"); + font-weight: 400; + font-style: normal; + font-display: swap; +} +@font-face { + font-family: "Montserrat"; + src: url("/fonts/Montserrat-Medium.woff2") format("woff2"), url("/fonts/Montserrat-Medium.woff") format("woff"); + font-weight: 500; + font-style: normal; + font-display: swap; +} +@font-face { + font-family: "Montserrat"; + src: url("/fonts/Montserrat-SemiBold.woff2") format("woff2"), url("/fonts/Montserrat-SemiBold.woff") format("woff"); + font-weight: 600; + font-style: normal; + font-display: swap; +} +@font-face { + font-family: "Raleway"; + src: url("/fonts/Raleway-Regular.woff2") format("woff2"), url("/fonts/Raleway-Regular.woff") format("woff"); + font-weight: 400; + font-style: normal; + font-display: swap; +} +@font-face { + font-family: "Raleway"; + src: url("/fonts/Raleway-Medium.woff2") format("woff2"), url("/fonts/Raleway-Medium.woff") format("woff"); + font-weight: 500; + font-style: normal; + font-display: swap; +} +@font-face { + font-family: "Raleway"; + src: url("/fonts/Raleway-SemiBold.woff2") format("woff2"), url("/fonts/Raleway-SemiBold.woff") format("woff"); + font-weight: 600; + font-style: normal; + font-display: swap; +} +.button, .number, .lead-title, .h5, .h4, .h3, .h2, .h1 { + font-family: "Montserrat", Arial, Helvetica, sans-serif; + font-weight: 500; + color: #ECECEC; +} + +.cases__card-items li, .fact, .text-s, .text, .lead-text { + font-family: "Raleway", Arial, Helvetica, sans-serif; + color: #ADADAD; +} + +.h1 { + font-size: 64px; + line-height: 1.1; +} +@media screen and (max-width: 1200px) { + .h1 { + font-size: 54px; + } +} +@media screen and (max-width: 640px) { + .h1 { + font-size: 34px; + } +} +.light-mode .h1 { + color: #020202; +} + +.h2 { + font-size: 62px; + line-height: 1.2; +} +@media screen and (max-width: 1200px) { + .h2 { + font-size: 42px; + } +} +@media screen and (max-width: 640px) { + .h2 { + font-size: 28px; + } +} +.light-mode .h2 { + color: #020202; +} + +.h3 { + font-size: 34px; + line-height: 1.3; + font-weight: 400; +} +@media screen and (max-width: 1200px) { + .h3 { + font-size: 24px; + } +} +@media screen and (max-width: 640px) { + .h3 { + font-size: 20px; + } +} +.light-mode .h3 { + color: #242424; +} + +.h4 { + font-size: 30px; + line-height: 1.3; + font-weight: 400; +} +@media screen and (max-width: 640px) { + .h4 { + font-size: 20px; + line-height: 1.4; + } +} +.light-mode .h4 { + color: #242424; +} + +.h5 { + font-size: 24px; + line-height: 1.3; + font-weight: 400; +} +@media screen and (max-width: 1200px) { + .h5 { + font-size: 20px; + } +} +.light-mode .h5 { + color: #242424; +} + +.lead-title { + font-size: 40px; + line-height: 1.3; + font-weight: 400; +} +@media screen and (max-width: 1200px) { + .lead-title { + font-size: 30px; + } +} +@media screen and (max-width: 640px) { + .lead-title { + font-size: 24px; + } +} +.light-mode .lead-title { + color: #242424; +} + +.number { + color: #F05555; + font-size: 80px; + font-weight: 400; + line-height: 1.1; +} +@media screen and (max-width: 1200px) { + .number { + font-size: 60px; + } +} +@media screen and (max-width: 640px) { + .number { + font-size: 60px; + } +} + +.lead-text { + font-size: 20px; + line-height: 1.6; +} +@media screen and (max-width: 1200px) { + .lead-text { + font-size: 20px; + } +} +@media screen and (max-width: 640px) { + .lead-text { + font-size: 18px; + } +} +.light-mode .lead-text { + color: #020202; +} + +.text { + font-size: 16px; + line-height: 1.6; +} +@media screen and (max-width: 1200px) { + .text { + font-size: 16px; + } +} +@media screen and (max-width: 640px) { + .text { + font-size: 16px; + } +} +.light-mode .text { + color: #242424; +} + +.text-s { + font-size: 14px; + line-height: 1.6; +} +@media screen and (max-width: 1200px) { + .text-s { + font-size: 14px; + } +} +@media screen and (max-width: 640px) { + .text-s { + font-size: 14px; + } +} +.light-mode .text-s { + color: #020202; +} + +.fact { + font-size: 14px; + line-height: 1.55; + text-transform: uppercase; +} +@media screen and (max-width: 1200px) { + .fact { + font-size: 14px; + } +} +@media screen and (max-width: 640px) { + .fact { + font-size: 12px; + } +} +.light-mode .fact { + color: #242424; +} + +.red-line { + margin-top: 48px; + width: 80px; + height: 2px; + background-color: #F05555; +} +@media screen and (max-width: 960px) { + .red-line { + margin-top: 32px; + } +} +@media screen and (max-width: 640px) { + .red-line { + margin-top: 24px; + } +} + +.black-background { + background-color: #171717; +} +.light-mode .black-background { + background-color: #FBFBFB; +} + +html { + scrollbar-color: #ccc transparent; + scrollbar-width: thin; +} + +::-webkit-scrollbar { + width: 8px; + background-color: transparent; +} + +::-webkit-scrollbar-thumb { + background-color: rgba(204, 204, 204, 0.5); + border-radius: 8px; +} + +::-webkit-scrollbar-thumb:hover { + background-color: #cccccc; +} + +*, +*::before, +*::after { + box-sizing: border-box; + -webkit-tap-highlight-color: rgba(0, 0, 0, 0); +} + +a { + display: inline-block; + color: inherit; + text-decoration: none; +} + +h1, +h2, +h3, +h4, +h5, +h6, +p, +ul, +ol, +li { + margin: 0; + padding: 0; +} + +li { + list-style: none; +} + +.wrapper { + overflow-x: hidden; + overflow-y: hidden; + background-color: #202020; +} + +body { + min-width: 320px; + font-family: "Raleway", sans-serif; + color: #000; + font-size: 16px; + font-weight: 400; + background-color: #202020; + overflow-x: hidden; +} + +img { + display: block; +} + +button { + border: none; + background-color: transparent; + padding: 0; + cursor: pointer; +} + +input, +textarea { + outline: transparent; + font-family: "Montserrat", sans-serif; +} +input::placeholder, +textarea::placeholder { + transition: 0.3s; +} +input:focus::placeholder, +textarea:focus::placeholder { + opacity: 0; +} + +span.error { + position: relative; + display: block; + color: #f05555; + font-size: 14px; + line-height: 24px; + padding-left: 29px; + margin-top: 8px; +} +span.error::before { + content: ""; + position: absolute; + top: 0; + left: -3px; + width: 24px; + height: 24px; + background-repeat: no-repeat; + background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 21C16.9706 21 21 16.9706 21 12C21 7.02944 16.9706 3 12 3C7.02944 3 3 7.02944 3 12C3 16.9706 7.02944 21 12 21Z' stroke='%23F05555' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M12 7.5L12 12.75' stroke='%23F05555' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M12 17.0625C12.5178 17.0625 12.9375 16.6428 12.9375 16.125C12.9375 15.6072 12.5178 15.1875 12 15.1875C11.4822 15.1875 11.0625 15.6072 11.0625 16.125C11.0625 16.6428 11.4822 17.0625 12 17.0625Z' fill='%23F05555'/%3E%3C/svg%3E%0A"); +} + +.title { + font-family: "Montserrat", sans-serif; + color: #ECECEC; + font-size: 28px; + line-height: 120%; + font-weight: 500; +} +@media (min-width: 769px) { + .title { + font-size: 42px; + } +} +@media (min-width: 1240px) { + .title { + font-size: 62px; + } +} +.title span { + color: #F05555; +} + +.descr { + position: relative; + color: #ECECEC; + font-size: 18px; + line-height: 160%; + padding-top: 24px; +} +@media (min-width: 769px) { + .descr { + font-size: 20px; + padding-top: 32px; + } +} +.descr::before { + content: ""; + position: absolute; + top: 0; + left: 0; + width: 56px; + height: 2px; + background-color: #F05555; +} +@media (min-width: 769px) { + .descr::before { + width: 60px; + } +} +@media (min-width: 120px) { + .descr::before { + width: 80px; + } +} + +.light-mode { + background-color: #fbfbfb; +} +.light-mode .header__btn svg { + stroke: #020202; +} +.light-mode .offers__item, +.light-mode .card { + background-color: #ececec; +} +.light-mode .card__links a:nth-child(1) { + color: #020202; +} +.light-mode .card__links a:nth-child(1):hover { + color: #808080; +} +.light-mode .card__icon img:nth-child(1) { + display: none; +} +.light-mode .card__icon img:nth-child(2) { + display: block; +} +.light-mode .toggle span, +.light-mode .menu__link, +.light-mode .header__menu a, +.light-mode .menu__contacts a, +.light-mode .menu__sub-link, +.light-mode .title, +.light-mode .form__title, +.light-mode .about__subtitle, +.light-mode .about__item-descr, +.light-mode .about__bullet, +.light-mode .item-product__title, +.light-mode .item-product__lists li, +.light-mode .card__title, +.light-mode .success__title, +.light-mode .feedback__success-title, +.light-mode .page-404__title, +.light-mode .offers__item-title, +.light-mode .item-projects__title, +.light-mode .item-projects__descr, +.light-mode .footer__col-title, +.light-mode .footer__list a, +.light-mode .footer__contacts a { + color: #020202; +} +.light-mode .item-projects__lines { + border-top: 1px solid #f05555; +} +.light-mode .item-projects__line { + border-bottom: 1px solid #f05555; +} +.light-mode .descr, +.light-mode .about__descr p, +.light-mode .item-product__descr, +.light-mode .card__text, +.light-mode .tooltip__text-wrap p, +.light-mode .success__text, +.light-mode .feedback__success-text, +.light-mode .page-404__text, +.light-mode .offers__item-descr, +.light-mode .item-projects__line-title, +.light-mode .item-projects__line-text, +.light-mode .footer__copy-text, +.light-mode .footer__copy-link, +.light-mode .checkbox input + span { + color: #242424; +} +.light-mode .btn.btn--tr { + color: #020202; + border-color: #020202; +} +.light-mode .btn.btn--tr:hover { + color: #020202; +} +.light-mode .tooltip__text { + box-shadow: 0 0 10px rgba(0, 0, 0, 0.35); + background-color: #fbfbfb; +} +.light-mode .header, +.light-mode .menu, +.light-mode .feedback__wrap, +.light-mode .success, +.light-mode .page-404, +.light-mode .projects, +.light-mode .footer { + background-color: #fbfbfb; +} +.light-mode .form__fields input, .light-mode .form__fields textarea { + background-color: #ececec; +} +.light-mode .checkbox input + span::before { + border-color: #020202; +} +.light-mode .header__logo img:nth-child(1), +.light-mode .footer__logo img:nth-child(1) { + display: none; +} +.light-mode .header__logo img:nth-child(2), +.light-mode .footer__logo img:nth-child(2) { + display: block; +} +.light-mode .footer__copy { + border-color: #171717; +} +.light-mode .page-404 img:nth-child(1), +.light-mode .success img:nth-child(1) { + display: none; +} +.light-mode .page-404 img:nth-child(2) { + display: block; +} +@media (min-width: 769px) { + .light-mode .success img:nth-child(2) { + display: block; + } +} +.light-mode .card__icon-1 span::before, +.light-mode .card__icon-2::before, +.light-mode .card__icon-3::before { + background-color: #F05555; +} +.light-mode .page-404__img::before, +.light-mode .page-404__img span::before { + background-color: #F05555; +} +.light-mode .products__img img:nth-child(1) { + display: none; +} +.light-mode .products__img img:nth-child(2) { + display: block; +} + +.nav { + min-height: 100vh; + display: flex; + justify-content: center; + align-items: center; + font-size: 16px; + line-height: 115%; + padding: 20px; + counter-reset: my-counter; +} +@media (min-width: 640px) { + .nav { + font-size: 20px; + } +} +.nav li { + margin: 5px; +} +.nav a { + color: #f05555; + position: relative; + padding-left: 20px; +} +.nav a::before { + content: counter(my-counter); + counter-increment: my-counter; + position: absolute; + top: 0; + left: 0; +} + +.animate__fadeIn { + animation-fill-mode: both; + animation-duration: 2s; + animation-name: fadeIn; +} + +@keyframes fadeIn { + from { + opacity: 0; + } + to { + opacity: 1; + } +} +.container { + margin: 0 auto; + padding: 100px 6px; + max-width: 1288px; +} +@media screen and (max-width: 1200px) { + .container { + max-width: 960px; + padding: 80px 16px; + margin: 0 auto; + } +} +@media screen and (max-width: 960px) { + .container { + max-width: 736px; + } +} +@media screen and (max-width: 640px) { + .container { + max-width: 480px; + padding: 60px 12px; + } +} +@media screen and (max-width: 480px) { + .container { + max-width: 320px; + } +} + +/* + Примеры использования ==================================== + + Красная кнопка + + + Кнопка с обводкой + + + Кнопка в виде ссылки + + + Кнопка со стрелкой (стрелка через афтер-класс сделана!!) + + +*/ +.button { + text-decoration: none; + display: flex; + justify-content: center; + align-items: center; + width: fit-content; + padding: 24px 71px; + font-size: 15px; + line-height: 1.2; + text-transform: uppercase; + border: none; + cursor: pointer; + text-transform: uppercase; +} +.button_style_red { + background-color: #F05555; + color: #202020; + transition: background-color, 0.3s ease; + border-radius: 50px; + font-weight: 600; + border: 3px solid #F05555; +} +.button_style_red:hover { + background-color: transparent; + color: #ECECEC; + box-shadow: 0px 4px 8px rgba(240, 85, 85, 0.35); +} +.light-mode .button_style_red:hover { + color: #020202; +} +.light-mode .button_style_red { + color: #FBFBFB; +} +.button_style_outlined { + background-color: transparent; + outline: 1px solid #F05555; + box-sizing: border-box; + color: #ECECEC; + transition: border-color, 0.3s ease; + border-radius: 50px; + font-weight: 600; +} +.button_style_outlined:hover { + outline: 3px solid #F05555; + box-shadow: 0px 4px 8px rgba(240, 85, 85, 0.35); +} +.light-mode .button_style_outlined { + color: #020202; +} +.button_style_link { + background-color: transparent; + justify-content: flex-start; + align-items: flex-start; + text-align: left; + color: #F05555; + transition: color, 0.3s ease; + font-size: 14px; + letter-spacing: 0.06em; +} +.button_style_link:hover { + color: #F05555; +} +.button_style_arrow { + color: #F05555; + text-transform: uppercase; + display: flex; + column-gap: 8px; + align-items: center; + font-size: 14px; + font-weight: 600; + text-align: left; + justify-content: flex-start; + letter-spacing: 0.06em; +} +.button_style_arrow::after { + content: url("/images/arrow.svg"); + display: block; + transition: transform 0.3s ease; +} +.button_style_arrow:hover::after { + transform: translate(4px); +} +.button.disabled, .button:disabled { + background-color: #883B3B; + border-color: #883B3B; + pointer-events: none; +} +.button.disabled:hover, .button:disabled:hover { + color: #020202; + box-shadow: none; +} + +.btn-animate { + animation: btn-animate 0.5s linear infinite; + background-size: 30px 30px; + background-color: #F05555; + background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.5) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.5) 50%, rgba(255, 255, 255, 0.5) 75%, transparent 75%, transparent); +} +.btn-animate:hover { + color: #020202; + background-color: #F05555; + background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.5) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.5) 50%, rgba(255, 255, 255, 0.5) 75%, transparent 75%, transparent); + box-shadow: none; +} + +@keyframes btn-animate { + from { + background-position: 0 0; + } + to { + background-position: 60px 30px; + } +} +.toggle { + width: 296px; + display: inline-flex; + align-items: center; + justify-content: space-between; + cursor: pointer; +} +@media (min-width: 769px) { + .toggle { + width: auto; + } +} +.toggle input { + position: absolute; + width: 1px; + height: 1px; + overflow: hidden; + clip: rect(0 0 0 0); +} +.toggle input:checked ~ span:nth-child(2)::before { + z-index: 2; +} +.toggle input:checked ~ span:nth-child(3) { + display: none; +} +.toggle input:checked ~ span:nth-child(4) { + display: block; +} +.toggle span { + font-family: "Montserrat", sans-serif; + color: #ECECEC; + font-size: 18px; + line-height: 120%; + font-weight: 500; + text-transform: uppercase; +} +.toggle span:nth-child(4) { + display: none; +} +.toggle span:nth-child(2) { + order: 1; + position: relative; + display: inline-flex; + width: 70px; + height: 40px; +} +.toggle span:nth-child(2)::before, .toggle span:nth-child(2)::after { + content: ""; + position: absolute; + width: 40px; + height: 40px; + border-radius: 50%; + border: 1px solid #F05555; +} +.toggle span:nth-child(2)::before { + left: 0; + background-color: #ECECEC; +} +.toggle span:nth-child(2)::after { + right: 0; + z-index: 1; + background-color: #020202; +} +.toggle.header__toggle { + display: none; +} +@media (min-width: 769px) { + .toggle.header__toggle { + display: inline-block; + } +} + +.link-hover { + position: relative; + cursor: pointer; + text-decoration: none; /* Убираем подчеркивание */ +} +.link-hover:after { + content: ""; + display: block; + position: absolute; + right: 0; + bottom: -3px; + width: 0; + height: 2px; /* Высота линии */ + background-color: #F05555; /* Цвет подчеркивания при исчезании линии*/ + transition: width 0.5s; /* Время эффекта */ +} +.link-hover:hover:after { + content: ""; + width: 100%; + display: block; + position: absolute; + left: 0; + bottom: -3px; + height: 2px; /* Высота линии */ + background-color: #F05555; /* Цвет подчеркивания при появлении линии*/ + transition: width 0.5s; /* Время эффекта */ +} + +.fade-in { + opacity: 0; + transform: scaleY(1%); + transition: scaleY, opacity 0.5s ease-out; +} +.fade-in_visible { + opacity: 1; + transform: scaleY(100%); +} + +.burger { + position: fixed; + z-index: 20; + top: 0; + right: 0; + width: 600px; + height: 100%; + padding: 78px 0 0 32px; + background-color: #171717; + transition: 0.5s; + display: flex; + flex-direction: column; + justify-content: center; + transform: translate(100%); +} +@media screen and (max-width: 1200px) { + .burger { + padding: 140px 0 0 36px; + } +} +@media screen and (max-width: 640px) { + .burger { + width: 100%; + } +} +@media screen and (max-width: 480px) { + .burger { + padding: 60px 12px 0 12px; + } +} +.light-mode .burger { + background-color: #FBFBFB; +} +.burger.active-half { + transform: translate(0); +} +.burger.active-full { + transform: translate(0); +} +.burger__overlay { + position: fixed; + z-index: 10; + top: 0; + left: 0; + width: 100%; + height: 100%; + background: rgba(23, 23, 23, 0.9); + opacity: 0; + visibility: hidden; + transition: 0.5s; +} +.burger__overlay.active { + opacity: 1; + visibility: visible; +} +.light-mode .burger__overlay { + background: rgba(236, 236, 236, 0.8); +} +.burger__exit { + position: fixed; + top: 0; + left: 0; + z-index: 30; + width: 80px; + height: 80px; + opacity: 0; + visibility: hidden; + transition: 0.3s; + width: 52px; + height: 52px; +} +.burger__exit.active { + opacity: 1; + visibility: visible; +} +.burger__container { + display: flex; + max-height: 100%; + height: auto; + margin: 0 -10px; +} +@media screen and (max-width: 960px) { + .burger__container { + height: 100%; + } +} +.burger__col { + display: flex; + flex-direction: column; + align-items: flex-start; + height: 100%; + overflow-y: auto; + width: 100%; + padding: 0 10px 80px; +} +@media screen and (max-width: 960px) { + .burger__col { + padding-bottom: 70px; + } +} +.burger__list { + display: flex; + flex-direction: column; + row-gap: 32px; + margin-bottom: 120px; +} +@media screen and (max-width: 640px) { + .burger__list { + margin-bottom: 80px; + row-gap: 24px; + } +} +.burger__link { + transition: color 0.3s; + text-transform: uppercase; +} +.burger__link:hover { + color: #F05555; +} +.burger__contacts { + display: flex; + flex-direction: column; + row-gap: 16px; + margin-bottom: 80px; +} +@media screen and (max-width: 640px) { + .burger__contacts { + margin-bottom: 64px; + } +} +.burger__toggle { + display: none; +} +@media screen and (max-width: 960px) { + .burger__toggle { + display: block; + margin-top: 48px; + } +} + +.sub-header { + height: 100px; +} +@media screen and (max-width: 640px) { + .sub-header { + height: 80px; + } +} + +.header { + position: fixed; + top: 0; + left: 0; + z-index: 20; + width: 100%; + background-color: #202020; + margin: 0 auto; + padding: 0 6px; +} +.header__container { + padding: 0 6px; +} +.header__inner { + display: flex; + align-items: center; + height: 100px; +} +@media screen and (max-width: 640px) { + .header__inner { + height: 80px; + } +} +.header__logo { + margin-right: 70px; +} +.header__logo img { + max-width: 260px; +} +@media screen and (max-width: 640px) { + .header__logo img { + max-width: 145px; + } +} +.header__logo img:nth-child(2) { + display: none; +} +.header-menu { + display: block; +} +.header-menu__list { + display: flex; + align-items: center; + column-gap: 40px; +} +@media screen and (max-width: 1200px) { + .header-menu__list { + display: none; + } +} +.header-menu__link { + font-family: "Montserrat", sans-serif; + font-weight: 500; + font-size: 14px; + line-height: 160%; + color: #ECECEC; + text-transform: uppercase; +} +.light-mode .header-menu__link { + color: #020202; +} +.header-menu__button { + padding: 17px 29px; +} +@media screen and (max-width: 1200px) { + .header-menu__button { + display: none; + } +} +.header__control { + display: flex; + align-items: center; + margin-left: auto; + column-gap: 32px; +} +.header__btn { + display: flex; + align-items: center; + justify-content: center; + width: 78px; + height: 40px; +} +.header__btn svg { + stroke: #ECECEC; +} +.header__toggle { + display: block; +} +@media screen and (max-width: 960px) { + .header__toggle { + display: none; + } +} + +.cover-security { + position: relative; +} +@media screen and (max-width: 960px) { + .cover-security { + height: initial; + } +} +.cover-security__container { + display: flex; + flex-direction: column; + row-gap: 100px; +} +@media screen and (max-width: 960px) { + .cover-security__container { + row-gap: 234px; + } +} +@media screen and (max-width: 640px) { + .cover-security__container { + row-gap: 64px; + } +} +.cover-security__title { + max-width: 846px; +} +.cover-security__title span { + color: #F05555; +} +.cover-security__btn { + padding: 24px 40px; + margin-top: 48px; +} +.cover-security__line { + margin-top: 32px; +} +.cover-security__cards { + display: grid; + grid-template-columns: repeat(3, 1fr); + gap: 48px 32px; + max-width: 958px; +} +@media screen and (max-width: 960px) { + .cover-security__cards { + gap: 32px; + grid-template-columns: repeat(2, 1fr); + max-width: 100%; + } +} +@media screen and (max-width: 480px) { + .cover-security__cards { + grid-template-columns: 1fr; + } +} +.cover-security__card { + display: flex; + flex-direction: column; + row-gap: 24px; +} +@media screen and (max-width: 960px) { + .cover-security__card { + row-gap: 16px; + } +} +.cover-security__card-line { + background-color: #F05555; + width: 100%; + height: 2px; +} +.cover-security__img { + position: absolute; + right: 76px; + top: 62px; + width: 848px; +} +@media screen and (max-width: 1200px) { + .cover-security__img { + top: 0; + right: 0; + margin: 0 auto; + } +} +@media screen and (max-width: 640px) { + .cover-security__img { + width: 100%; + } +} +@media screen and (max-width: 480px) { + .cover-security__img { + width: 269px; + right: 50px; + } +} +.cover-security__img_color { + display: block; +} +.light-mode .cover-security__img_color { + display: none; +} +.cover-security__img_black { + display: none; +} +.light-mode .cover-security__img_black { + display: block; +} + +.services-security__title { + margin-bottom: 100px; +} +@media screen and (max-width: 1200px) { + .services-security__title { + margin-bottom: 64px; + } +} +@media screen and (max-width: 640px) { + .services-security__title { + margin-bottom: 40px; + } +} +.services-security__title span { + color: #F05555; +} +.services-security__info { + margin-left: 440px; +} +@media screen and (max-width: 1200px) { + .services-security__info { + margin-left: 0; + } +} +.services-security__info-text { + display: flex; + flex-direction: column; + row-gap: 40px; +} +@media screen and (max-width: 1200px) { + .services-security__info-text { + row-gap: 32px; + } +} +.services-security__info-lines { + margin-top: 0; +} +.services-security__cards { + display: grid; + grid-template-columns: repeat(2, 1fr); + margin-top: 40px; + gap: 32px; +} +@media screen and (max-width: 1200px) { + .services-security__cards { + row-gap: 24px; + } +} +@media screen and (max-width: 640px) { + .services-security__cards { + grid-template-columns: 1fr; + } +} +.services-security__card { + display: flex; + column-gap: 20px; + align-items: center; +} +@media screen and (max-width: 480px) { + .services-security__card-img { + width: 40px; + } +} + +.decisions__title span { + color: #F05555; +} +.decisions__info { + margin-top: 40px; + margin-bottom: 60px; + max-width: 809px; +} +.decisions__info-lines { + margin-top: 0; + margin-bottom: 40px; +} +.decisions__cards { + display: flex; + flex-direction: column; + row-gap: 32px; +} +@media screen and (max-width: 640px) { + .decisions__cards { + row-gap: 20px; + } +} +.decisions__card { + padding: 60px 40px; + background-color: #171717; +} +.light-mode .decisions__card { + background-color: #ECECEC; +} +@media screen and (max-width: 640px) { + .decisions__card { + padding: 20px; + } +} +.decisions__card-info { + display: grid; + column-gap: 40px; + grid-template-columns: 80px 1fr 1fr; + align-items: center; + margin-bottom: 80px; +} +@media screen and (max-width: 1200px) { + .decisions__card-info { + grid-template-columns: 1fr; + } +} +@media screen and (max-width: 1200px) { + .decisions__card-title { + margin-top: 40px; + margin-bottom: 24px; + } +} +@media screen and (max-width: 640px) { + .decisions__card-title { + margin-top: 32px; + } +} +.decisions__card-btns { + display: flex; + margin-left: 120px; + column-gap: 64px; +} +@media screen and (max-width: 1200px) { + .decisions__card-btns { + margin-left: 0; + } +} +@media screen and (max-width: 640px) { + .decisions__card-btns { + flex-direction: column; + row-gap: 32px; + } +} +.decisions__card-btn { + padding: 0; +} +.decisions__card-btn_black { + color: #ECECEC; +} +.decisions__card-btn_black:hover { + color: #F05555; +} +.light-mode .decisions__card-btn_black { + color: #020202; +} +.decisions__card-btn_black:hover { + color: #F05555; +} +.decisions__card-img_white { + display: none; +} +.light-mode .decisions__card-img_white { + display: block; +} +.decisions__card-img_black { + display: block; +} +.light-mode .decisions__card-img_black { + display: none; +} + +.solutions__container { + padding: 100px 6px; +} +@media screen and (max-width: 1200px) { + .solutions__container { + padding: 80px 16px; + margin: 0 auto; + } +} +@media screen and (max-width: 640px) { + .solutions__container { + padding: 48px 12px; + } +} +.solutions__line { + width: 100%; + height: 1px; + background-color: #F05555; + margin-bottom: 40px; +} +@media screen and (max-width: 1200px) { + .solutions__line { + margin-bottom: 24px; + } +} +@media screen and (max-width: 640px) { + .solutions__line { + margin-bottom: 16px; + } +} +.solutions__content { + display: flex; + justify-content: space-between; + align-items: center; +} +@media screen and (max-width: 1200px) { + .solutions__content { + flex-direction: column; + row-gap: 40px; + align-items: flex-start; + } +} +.solutions__title { + max-width: 753px; +} +.solutions__title span { + color: #F05555; +} +.solutions__btn { + padding: 24px 40px; +} +@media screen and (max-width: 480px) { + .solutions__btn { + padding: 24px 28px; + } +} +.solutions__btn:hover { + padding: 24px 40px; +} +@media screen and (max-width: 480px) { + .solutions__btn:hover { + padding: 22px 26px; + } +} + +.import-security__title { + margin-bottom: 100px; +} +@media screen and (max-width: 960px) { + .import-security__title { + margin-bottom: 64px; + } +} +@media screen and (max-width: 640px) { + .import-security__title { + margin-bottom: 40px; + } +} +.import-security__title span { + color: #F05555; +} +.import-security__info { + display: flex; + align-items: flex-start; + column-gap: 142px; +} +@media screen and (max-width: 960px) { + .import-security__info { + flex-direction: column; + } +} +@media screen and (max-width: 960px) { + .import-security__info-img { + width: 184px; + margin-bottom: 64px; + display: none; + } +} +.import-security__info-img_color { + display: block; +} +.light-mode .import-security__info-img_color { + display: none; +} +.import-security__info-img_black { + display: none; +} +.light-mode .import-security__info-img_black { + display: block; +} +.import-security__info-cards { + display: flex; + flex-direction: column; + row-gap: 60px; + max-width: 715px; +} +@media screen and (max-width: 1200px) { + .import-security__info-cards { + row-gap: 64px; + } +} +@media screen and (max-width: 640px) { + .import-security__info-cards { + row-gap: 40px; + } +} +.import-security__card-line { + margin-top: 0; + margin-bottom: 40px; +} +@media screen and (max-width: 1200px) { + .import-security__card-line { + margin-bottom: 24px; + } +} +.import-security__card-description { + margin-top: 24px; + margin-bottom: 32px; +} +@media screen and (max-width: 1200px) { + .import-security__card-description { + margin-top: 16px; + margin-bottom: 24px; + } +} +@media screen and (max-width: 640px) { + .import-security__card-description { + margin-top: 8px; + } +} +.import-security__btn { + display: flex; + column-gap: 12px; + align-items: center; +} +.import-security__btn-text { + padding: 0; + color: #ECECEC; + font-family: "Montserrat", Arial, Helvetica, sans-serif; + font-size: 14px; + font-weight: 400; + line-height: 1.55; + letter-spacing: 0; +} +@media screen and (max-width: 640px) { + .import-security__btn-text { + font-size: 12px; + } +} +.light-mode .import-security__btn-text { + color: #020202; +} +.import-security__btn-text:hover { + color: #F05555; +} +.import-security__btn-img_white { + display: none; +} +.light-mode .import-security__btn-img_white { + display: block; +} +.import-security__btn-img_black { + display: block; +} +.light-mode .import-security__btn-img_black { + display: none; +} + +.support-security__title { + margin-bottom: 100px; +} +@media screen and (max-width: 960px) { + .support-security__title { + margin-bottom: 64px; + } +} +@media screen and (max-width: 640px) { + .support-security__title { + margin-bottom: 40px; + } +} +.support-security__info { + display: flex; + align-items: flex-start; + column-gap: 142px; +} +@media screen and (max-width: 960px) { + .support-security__info { + flex-direction: column; + } +} +@media screen and (max-width: 960px) { + .support-security__info-img { + width: 184px; + margin-bottom: 64px; + display: none; + } +} +.support-security__info-img_color { + display: block; +} +.light-mode .support-security__info-img_color { + display: none; +} +.support-security__info-img_black { + display: none; +} +.light-mode .support-security__info-img_black { + display: block; +} +.support-security__info-cards { + display: flex; + flex-direction: column; + row-gap: 40px; + max-width: 848px; +} +@media screen and (max-width: 1200px) { + .support-security__info-cards { + row-gap: 32px; + } +} +@media screen and (max-width: 640px) { + .support-security__info-cards { + row-gap: 24px; + } +} +.support-security__info-line { + margin-top: 0; + margin-bottom: 40px; +} +@media screen and (max-width: 1200px) { + .support-security__info-line { + margin-bottom: 32px; + } +} +.support-security__info-cards { + margin-top: 40px; +} +.support-security__info-text { + margin-bottom: 32px; + max-width: 748px; +} +@media screen and (max-width: 1200px) { + .support-security__info-text { + margin-bottom: 40px; + } +} +.support-security__info-btn { + padding: 24px 40px; +} +@media screen and (max-width: 480px) { + .support-security__info-btn { + padding: 24px 28px; + } +} +.support-security__info-btn:hover { + padding: 24px 40px; +} +@media screen and (max-width: 480px) { + .support-security__info-btn:hover { + padding: 24px 28px; + } +} +.support-security__card-line { + height: 1px; + background-color: rgba(236, 236, 236, 0.1019607843); + margin-bottom: 32px; +} +.light-mode .support-security__card-line { + background-color: rgba(240, 85, 85, 0.3019607843); +} +.support-security__card-title { + max-width: 748px; +} +.support-security__card-text { + margin: 16px 0; + max-width: 748px; +} +@media screen and (max-width: 1200px) { + .support-security__card-text { + margin: 16px 0 32px 0; + } +} +@media screen and (max-width: 640px) { + .support-security__card-text { + margin: 16px 0 24px 0; + } +} +.support-security__card-btn { + padding: 0; +} + +.our-solutions__title { + margin-bottom: 60px; +} +@media screen and (max-width: 1200px) { + .our-solutions__title { + margin-bottom: 64px; + } +} +@media screen and (max-width: 640px) { + .our-solutions__title { + margin-bottom: 40px; + } +} +.our-solutions__info { + max-width: 848px; +} +.our-solutions__info-lines { + margin-top: 0; +} +.our-solutions__info-description { + margin: 40px 0; +} +@media screen and (max-width: 1200px) { + .our-solutions__info-description { + margin: 32px 0; + } +} +.our-solutions__info-btn { + padding: 24px 40px; +} +.our-solutions__cards { + display: flex; + flex-direction: column; + row-gap: 40px; + margin-top: 80px; +} +@media screen and (max-width: 1200px) { + .our-solutions__cards { + row-gap: 32px; + margin-top: 64px; + } +} +@media screen and (max-width: 640px) { + .our-solutions__cards { + margin-top: 40px; + } +} +.our-solutions__card_unvisible { + display: none; +} +.our-solutions__card-line { + width: 100%; + height: 1px; + background-color: rgba(236, 236, 236, 0.1019607843); +} +.light-mode .our-solutions__card-line { + background-color: rgba(240, 85, 85, 0.3019607843); +} +.our-solutions__card-info { + margin-top: 24px; + display: grid; + grid-template-columns: 408px 1fr; + column-gap: 32px; +} +@media screen and (max-width: 960px) { + .our-solutions__card-info { + grid-template-columns: 1fr; + row-gap: 24px; + } +} +.our-solutions__card-description { + margin-bottom: 32px; +} +@media screen and (max-width: 1200px) { + .our-solutions__card-description { + margin-bottom: 24px; + } +} +.our-solutions__card-more-info .lead-text { + color: #ECECEC; + margin-bottom: 12px; +} +.light-mode .our-solutions__card-more-info .lead-text { + color: #020202; +} +.our-solutions__card-more-info ul { + margin-bottom: 24px; +} +.our-solutions__card-more-info li { + display: flex; + column-gap: 16px; + margin-top: 4px; +} +.our-solutions__card-more-info_unvisible { + display: none; +} +.our-solutions__card-more-marker { + height: 8px; + width: 8px; + background-color: #F05555; + border-radius: 50%; + margin-top: 10px; + flex-shrink: 0; +} +.our-solutions__card-more-text { + margin-bottom: 40px; +} +.our-solutions__card-btn { + padding: 0; + color: #ECECEC; + letter-spacing: 0; +} +.light-mode .our-solutions__card-btn { + color: #020202; +} +.our-solutions__more-btn { + padding: 24px 40px; + margin: 60px auto 0; +} +@media screen and (max-width: 480px) { + .our-solutions__more-btn { + padding: 24px 28px; + } +} +.our-solutions__more-btn:hover { + padding: 24px 40px; +} +@media screen and (max-width: 480px) { + .our-solutions__more-btn:hover { + padding: 24px 28px; + } +} +.our-solutions__line { + margin-top: 40px; +} +@media screen and (max-width: 1200px) { + .our-solutions__line { + margin-top: 32px; + } +} + +.cases__title { + margin-bottom: 104px; +} +@media screen and (max-width: 1200px) { + .cases__title { + margin-bottom: 64px; + } +} +@media screen and (max-width: 640px) { + .cases__title { + margin-bottom: 40px; + } +} +.cases__cards { + display: flex; + flex-direction: column; + row-gap: 40px; +} +@media screen and (max-width: 1200px) { + .cases__cards { + row-gap: 32px; + } +} +.cases__card_unvisible { + display: none; +} +.cases__card-line { + width: 100%; + height: 1px; + background-color: rgba(240, 85, 85, 0.3019607843); +} +.cases__card-line_type-one { + margin: 32px 0; +} +.cases__card-info { + margin-top: 24px; + display: grid; + grid-template-columns: 408px 1fr; + column-gap: 32px; +} +@media screen and (max-width: 960px) { + .cases__card-info { + grid-template-columns: 1fr; + row-gap: 32px; + } +} +.cases__card-basic { + display: flex; + flex-direction: column; + row-gap: 60px; +} +@media screen and (max-width: 960px) { + .cases__card-basic { + flex-direction: unset; + column-gap: 32px; + align-items: center; + } +} +@media screen and (max-width: 640px) { + .cases__card-basic { + flex-direction: column; + row-gap: 24px; + align-items: flex-start; + } +} +@media screen and (max-width: 960px) { + .cases__card-basic-box { + width: 336px; + flex-shrink: 0; + } +} +@media screen and (max-width: 640px) { + .cases__card-basic-box { + width: 100%; + flex-shrink: 1; + } +} +.cases__card-basic-title { + color: #F05555; +} +.light-mode .cases__card-basic-title { + color: #F05555; +} +.cases__card-basic-text-box { + display: flex; + column-gap: 12px; + margin-top: 24px; +} +@media screen and (max-width: 960px) { + .cases__card-basic-text-box { + margin-top: 16px; + } +} +@media screen and (max-width: 640px) { + .cases__card-basic-text-box { + margin-top: 8px; + } +} +.cases__card-basic-marker { + height: 4px; + width: 4px; + background-color: #F05555; + border-radius: 50%; + margin-top: 10px; + flex-shrink: 0; +} +.cases__card-basic-text { + color: #ECECEC; +} +.light-mode .cases__card-basic-text { + color: #020202; +} +.cases__card-items { + margin-top: 60px; + max-width: 788px; + color: #707070; +} +@media screen and (max-width: 960px) { + .cases__card-items { + margin-top: 32px; + } +} +.cases__card-items li { + display: flex; + column-gap: 16px; + margin-top: 8px; + font-size: 16; + line-height: 1.6; + text-transform: none; +} +@media screen and (max-width: 1200px) { + .cases__card-items li { + font-size: 16px; + } +} +@media screen and (max-width: 640px) { + .cases__card-items li { + font-size: 16px; + } +} +.light-mode .cases__card-items li { + color: #242424; +} +.cases__card-items li:nth-child(1) { + margin-top: 24px; +} +.cases__card-title-text { + margin-top: 24px; + color: #ECECEC; +} +.light-mode .cases__card-title-text { + color: #020202; +} +.cases__more-btn { + padding: 24px 40px; + margin: 60px auto 0; +} +@media screen and (max-width: 480px) { + .cases__more-btn { + padding: 24px 28px; + } +} +.cases__more-btn:hover { + padding: 24px 40px; +} +@media screen and (max-width: 480px) { + .cases__more-btn:hover { + padding: 24px 28px; + } +} + +.about-security { + position: relative; + z-index: 1; +} +.about-security__container { + position: relative; +} +.about-security__title { + margin-bottom: 104px; + font-size: 60px; +} +@media screen and (max-width: 1200px) { + .about-security__title { + margin-bottom: 64px; + font-size: 42px; + } +} +@media screen and (max-width: 640px) { + .about-security__title { + font-size: 28px; + } +} +.about-security__title span { + color: #F05555; +} +.about-security-info { + margin-left: 440px; +} +@media screen and (max-width: 1200px) { + .about-security-info { + margin-left: 0; + } +} +.about-security-info__lines { + margin-top: 0; + margin-bottom: 32px; +} +.about-security-info__facts { + display: grid; + grid-template-columns: repeat(2, 1fr); + gap: 64px 32px; +} +@media screen and (max-width: 640px) { + .about-security-info__facts { + grid-template-columns: 1fr; + } +} +.about-security-fact__text { + color: #ECECEC; + margin-top: 8px; +} +.about-security__img { + width: 738px; + position: absolute; + z-index: -1; + top: 60px; + left: -440px; +} +@media screen and (max-width: 1200px) { + .about-security__img { + display: none; + } +} +.about-security__img_color { + display: block; +} +.light-mode .about-security__img_color { + display: none; +} +.about-security__img_black { + display: none; +} +.light-mode .about-security__img_black { + display: block; +} + +.licenses-partners__container { + display: grid; + grid-template-columns: 408px 1fr; + column-gap: 32px; +} +@media screen and (max-width: 960px) { + .licenses-partners__container { + grid-template-columns: 1fr; + } +} +.licenses-partners__lines { + margin-top: 0; +} +.licenses-partners__content { + display: grid; + grid-template-columns: repeat(2, 1fr); + margin-top: 26px; + row-gap: 80px; +} +.licenses-partners__content-one { + grid-column: 1/3; +} +@media screen and (max-width: 480px) { + .licenses-partners__content-one { + grid-column: 1; + } +} +@media screen and (max-width: 960px) { + .licenses-partners__content { + margin-top: 64px; + } +} +@media screen and (max-width: 640px) { + .licenses-partners__content { + margin-top: 40px; + grid-template-columns: 1fr; + } +} +.licenses-partners__logo { + display: flex; + column-gap: 16px; + margin-top: 32px; + align-items: center; +} + +.tab-clients { + display: grid; + grid-template-columns: repeat(4, 1fr); +} +@media screen and (max-width: 640px) { + .tab-clients { + grid-template-columns: repeat(2, 1fr); + } +} +.tab-clients__img-box { + position: relative; + width: 100%; +} +.tab-clients__img-white { + width: 100%; + transition: all 0.3s ease 0s; +} +.tab-clients__img-black { + width: 100%; + transition: all 0.3s ease 0s; +} +.tab-clients__img-color { + width: 100%; + position: absolute; + top: 0; + left: 0; + transition: all 0.3s ease 0s; +} +.tab-clients__img-color-white { + position: absolute; + top: 0; + left: 0; + width: 100%; + transition: all 0.3s ease 0s; +} +.tab-clients__btn { + color: #ECECEC; + margin: 0 auto; +} +.light-mode .tab-clients__btn { + color: #020202; +} +.tab-clients__btn:hover { + color: #ADADAD; +} +.light-mode .tab-clients__btn:hover { + color: #808080; +} + +.logo_unvisible { + display: none; +} + +.logo-img-box__color-light { + display: block; + opacity: 0; +} +.light-mode .logo-img-box__color-light { + display: none; +} +.logo-img-box:hover .logo-img-box__color-light { + opacity: 1; +} +.logo-img-box__grey-light { + display: block; + opacity: 1; +} +.light-mode .logo-img-box__grey-light { + display: none; +} +.logo-img-box:hover .logo-img-box__grey-light { + opacity: 0; +} +.logo-img-box__grey-dark { + display: none; + opacity: 1; +} +.light-mode .logo-img-box__grey-dark { + display: block; +} +.logo-img-box:hover .logo-img-box__grey-dark { + opacity: 0; +} +.logo-img-box__color-dark { + display: none; + opacity: 0; +} +.light-mode .logo-img-box__color-dark { + display: block; +} +.logo-img-box:hover .logo-img-box__color-dark { + opacity: 1; +} + +.tab-partner { + display: grid; + grid-template-columns: repeat(4, 1fr); +} +@media screen and (max-width: 640px) { + .tab-partner { + grid-template-columns: repeat(2, 1fr); + } +} +.tab-partner__img-box { + position: relative; + width: 100%; +} +.tab-partner__img-white { + width: 100%; + transition: all 0.3s ease 0s; +} +.tab-partner__img-black { + width: 100%; + transition: all 0.3s ease 0s; +} +.tab-partner__img-color { + width: 100%; + position: absolute; + top: 0; + left: 0; + transition: all 0.3s ease 0s; +} +.tab-partner__img-color-white { + position: absolute; + top: 0; + left: 0; + width: 100%; + transition: all 0.3s ease 0s; +} +.tab-partner__btn { + color: #ECECEC; + margin: 0 auto; +} +.light-mode .tab-partner__btn { + color: #020202; +} +.tab-partner__btn:hover { + color: #ADADAD; +} +.light-mode .tab-partner__btn:hover { + color: #808080; +} + +.logo_unvisible { + display: none; +} + +.tab-partners__list { + display: grid; + grid-template-columns: repeat(2, 1fr); + margin-bottom: 80px; +} +@media screen and (max-width: 1200px) { + .tab-partners__list { + margin-bottom: 64px; + } +} +@media screen and (max-width: 640px) { + .tab-partners__list { + margin-bottom: 40px; + } +} +.tab-partners__item { + border-bottom: 1px solid #F05555; + opacity: 30%; + color: #ADADAD; +} +.tab-partners__item_active { + color: #ECECEC; + opacity: 100%; +} +.tab-partners__link { + cursor: pointer; + background-color: transparent; + width: 100%; + text-align: left; + padding-bottom: 24px; + border: none; +} +@media screen and (max-width: 640px) { + .tab-partners { + padding-bottom: 8px; + } +} +.tab-partners__section { + display: none; +} +.tab-partners__section_active { + display: block; +} + +.checkbox { + display: inline-block; + cursor: pointer; +} +.checkbox input { + position: absolute; + width: 1px; + height: 1px; + overflow: hidden; + clip: rect(0 0 0 0); +} +.checkbox input:checked + span::after { + opacity: 1; +} +.checkbox input:focus + span::before { + border-color: #484848; +} +.checkbox input.error + span::before { + border-color: #F05555; +} +.checkbox input + span { + position: relative; + display: inline-block; + font-family: "Montserrat", sans-serif; + color: #ADADAD; + font-size: 12px; + line-height: 16px; + padding-left: 28px; +} +.checkbox input + span::before { + content: ""; + position: absolute; + top: 0; + left: 0; + width: 16px; + height: 16px; + border: 1px solid #ADADAD; + transition: 0.3s; +} +.checkbox input + span::after { + content: ""; + position: absolute; + top: 4px; + left: 3px; + width: 11px; + height: 8px; + background-repeat: no-repeat; + background-image: url("data:image/svg+xml,%3Csvg width='11' height='8' viewBox='0 0 11 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 4L4 7L10 1' stroke='%23F05555' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); + opacity: 0; + transition: 0.3s; +} +.checkbox input + span a { + display: inline; + text-decoration-line: underline; +} + +.form { + margin-top: 24px; +} +.form__fields { + margin: 0; + padding: 0; + border: none; + width: 100%; + display: flex; + flex-direction: column; +} +.form__fields label { + display: flex; + flex-direction: column; + margin-bottom: 16px; +} +.form__fields label:last-of-type { + margin-bottom: 0; +} +.form__fields_input { + display: block; + height: 48px; + width: 100%; + font-size: 14px; + line-height: 16px; + font-weight: 500; + color: #ECECEC; + padding: 16px 8px; + background-color: #242424; + border: 1px solid transparent; + transition: border-color 0.3s, color 0.3s; +} +.form__fields_input::placeholder { + color: #ADADAD; +} +.form__fields_input:focus { + border-color: #484848; +} +.form__fields_input.error { + border-color: #F05555; + color: #F05555; +} +.light-mode .form__fields_input { + color: #242424; +} +.form__fields_comment { + height: fit-content; +} +.form__fields span { + display: block; +} +.form span { + display: block; +} +.form__btn { + display: block; + padding: 21px 27px; + margin-top: 40px; +} +@media (min-width: 769px) { + .form__btn { + padding: 21px 41px; + } +} +@media (min-width: 1240px) { + .form__btn { + padding: 21px 68px; + } +} + +.popup-form { + display: flex; + align-items: center; + justify-content: center; + position: fixed; + top: 0; + left: 0; + z-index: 999999; + width: 100%; + height: 100%; + background-color: rgba(32, 32, 32, 0.5); + transition: visibility, opacity 0.3s ease; + visibility: hidden; + opacity: 0; +} +@media screen and (max-width: 960px) { + .popup-form { + padding: 0 16px; + } +} +.popup-form_visible { + visibility: visible; + opacity: 1; +} +.popup-form__container { + background-color: #1b1b1b; + padding: 80px; + position: relative; + min-width: 320px; + max-width: 568px; + width: 100%; +} +@media screen and (max-width: 640px) { + .popup-form__container { + padding: 64px 40px; + } +} +@media screen and (max-width: 480px) { + .popup-form__container { + padding: 64px 12px; + } +} +.light-mode .popup-form__container { + background-color: #FBFBFB; +} +.popup-form__close { + position: absolute; + top: 16px; + right: 16px; +} +@media screen and (max-width: 640px) { + .popup-form__close { + top: 8px; + right: 8px; + } +} +.popup-form__title { + color: #ECECEC; +} + +.success { + position: fixed; + top: 0; + left: 0; + z-index: 100; + width: 100%; + background-color: #202020; + opacity: 0; + visibility: hidden; + transition: 1s; +} +.success.active { + opacity: 1; + visibility: visible; +} +@media (min-width: 769px) { + .success.active img { + animation: success-animation 60s infinite linear; + } +} +.success img { + display: none; +} +@media (min-width: 769px) { + .success img { + display: block; + position: absolute; + right: 0; + top: 50%; + transform: translateY(-50%); + width: 72%; + } +} +.success img:nth-child(2) { + display: none; +} +.success__wrap { + position: relative; + display: flex; + flex-direction: column; + justify-content: center; + align-items: flex-start; + max-width: 410px; + height: 100vh; + padding: 30px 0; +} +.success__subtitle { + color: #F05555; + font-size: 28px; + line-height: 155%; + font-weight: 400; + text-transform: uppercase; + margin-bottom: 16px; +} +@media (min-width: 769px) { + .success__subtitle { + margin-bottom: 32px; + } +} +.success__title { + font-family: "Montserrat", sans-serif; + font-size: 32px; + line-height: 120%; + font-weight: 500; + color: #ECECEC; + margin-bottom: 24px; +} +@media (min-width: 769px) { + .success__title { + font-size: 62px; + margin-bottom: 40px; + } +} +.success__text { + color: #ADADAD; + font-size: 16px; + line-height: 156%; + margin-bottom: 40px; +} +@media (min-width: 769px) { + .success__text { + font-size: 18px; + } +} +.success__btn { + width: 100%; + padding: 23px 10px; +} +@media (min-width: 769px) { + .success__btn { + width: auto; + padding: 23px 39px; + } +} + +@keyframes success-animation { + 0% { + transform: translateY(-50%) rotate(0); + } + 100% { + transform: translateY(-50%) rotate(360deg); + } +} +.feedback { + position: fixed; + z-index: 50; + top: 0; + left: 0; + width: 100%; + height: 100%; + display: flex; + justify-content: center; + align-items: center; + background-color: rgba(32, 32, 32, 0.5); + opacity: 0; + visibility: hidden; + transition: 0.4s; +} +.feedback.active { + opacity: 1; + visibility: visible; +} +.feedback__wrap { + position: relative; + width: 100%; + padding: 64px 12px; + background-color: #1B1B1B; + overflow-y: auto; + max-height: 100%; + height: 100%; +} +@media (min-width: 769px) { + .feedback__wrap { + width: 568px; + height: auto; + padding: 80px; + } +} +.feedback__exit { + position: absolute; + top: 0; + right: 0; + width: 40px; + height: 40px; +} +@media (min-width: 769px) { + .feedback__exit { + width: 60px; + height: 60px; + } +} +.feedback__success-subtitle { + color: #F05555; + font-size: 12px; + line-height: 155%; + font-weight: 400; + text-transform: uppercase; + margin-bottom: 24px; +} +@media (min-width: 769px) { + .feedback__success-subtitle { + font-size: 14px; + } +} +.feedback__success-title { + font-family: "Montserrat", sans-serif; + color: #ECECEC; + font-size: 20px; + line-height: 130%; + font-weight: 400; + margin-bottom: 24px; +} +@media (min-width: 769px) { + .feedback__success-title { + font-size: 34px; + margin-bottom: 16px; + } +} +.feedback__success-text { + color: #ADADAD; + font-size: 16px; + line-height: 160%; + margin-bottom: 24px; +} +.feedback__success-btn { + padding: 21px 35px; +} +@media (min-width: 769px) { + .feedback__success-btn { + padding: 21px 41px; + } +} + +.footer__container { + padding: 80px 6px; +} +.footer__logo { + margin-bottom: 32px; +} +.footer__logo img { + max-width: 300px; +} +@media screen and (max-width: 640px) { + .footer__logo img { + max-width: 136px; + } +} +.footer__logo img:nth-child(2) { + display: none; +} +.footer__box { + display: flex; + justify-content: space-between; +} +@media screen and (max-width: 1200px) { + .footer__box { + flex-direction: column; + row-gap: 64px; + margin-bottom: 64px; + } +} +@media screen and (max-width: 640px) { + .footer__box { + row-gap: 40px; + } +} +.footer__content { + display: flex; + column-gap: 32px; + margin-bottom: 40px; +} +@media screen and (max-width: 1200px) { + .footer__content { + margin-bottom: 0; + column-gap: 52px; + } +} +@media screen and (max-width: 640px) { + .footer__content { + flex-direction: column; + row-gap: 40px; + margin-bottom: 0; + } +} +.footer__content-cta { + max-width: 408px; +} +.footer__title { + color: #ECECEC; + margin-bottom: 40px; +} +@media screen and (max-width: 640px) { + .footer__title { + margin-bottom: 24px; + } +} +.footer-menu { + padding-top: 77px; + display: flex; + flex-direction: column; + row-gap: 32px; +} +@media screen and (max-width: 1200px) { + .footer-menu { + padding-top: 0; + } +} +@media screen and (max-width: 640px) { + .footer-menu { + row-gap: 16px; + } +} +.footer-menu__title { + text-transform: uppercase; + color: #ECECEC; +} +.footer-menu__list { + display: flex; + flex-direction: column; + row-gap: 16px; +} +@media screen and (max-width: 640px) { + .footer-menu__list { + row-gap: 8px; + } +} +.footer-menu__contact-link { + transition: color 0.3s; +} +.footer-menu__contact-link:hover { + color: #ADADAD; +} +.light-mode .footer-menu__contact-link:hover { + color: #ADADAD; +} +.footer-menu__contact-social { + transition: opacity 0.3s; + position: relative; + width: 40px; + height: 40px; +} +.footer-menu__contact-social:hover { + opacity: 0.6; +} +.footer-menu__contact-address { + max-width: 300px; +} +.light-mode .footer-menu__contact-icon { + display: none; +} +.footer-menu__contact-icon_black { + position: absolute; + top: 0; + left: 0; + display: none; +} +.light-mode .footer-menu__contact-icon_black { + display: block; +} +.footer__contacts { + display: flex; + flex-direction: column; + row-gap: 16px; + padding-top: 74px; + margin-bottom: 40px; +} +@media screen and (max-width: 1200px) { + .footer__contacts { + padding-top: 0; + margin-bottom: 0; + } +} +.footer__copy-line { + width: 100%; + height: 1px; + background-color: #ADADAD; + margin-bottom: 24px; +} +.light-mode .footer__copy-line { + background-color: rgba(240, 85, 85, 0.3019607843); +} +.footer__copy-box { + display: flex; + justify-content: space-between; +} +@media screen and (max-width: 640px) { + .footer__copy-box { + flex-direction: column; + row-gap: 8px; + } +} +.footer__link { + width: 298px; +} +.footer__link span { + border-bottom: 1px solid #ADADAD; +} +.light-mode .footer__link span { + border-bottom: 1px solid #242424; +} \ No newline at end of file diff --git a/local/templates/main/components/bitrix/news/articles/bitrix/news.detail/article/template.php b/local/templates/main/components/bitrix/news/articles/bitrix/news.detail/article/template.php new file mode 100644 index 0000000..900e400 --- /dev/null +++ b/local/templates/main/components/bitrix/news/articles/bitrix/news.detail/article/template.php @@ -0,0 +1,100 @@ +setFrameMode(true); +?> + +
+
+
+ " alt=""/> + " alt=""/> +
+
+
+

+ +

+
+ +
+
    + +
  • +
    +
    +
  • + +
+
+
+
+
+

+
+ +
+
+
+
+ +
+
+

Страница не заполнена

+
+
+ + +
+

+ +
+
+ + + +
+ +
+ + + +
+ +
+ + + +
+ +
+ + + +
+ +
+ + + +
+ +
+ + + +
+ +
+ \ No newline at end of file diff --git a/local/templates/main/header.php b/local/templates/main/header.php index 218c08c..94d70d7 100644 --- a/local/templates/main/header.php +++ b/local/templates/main/header.php @@ -40,11 +40,11 @@ endswitch; ShowHead() ?> + content="ShowTitle();?>"> - - + content="ShowProperty('description');?>"> + + addCss(SITE_TEMPLATE_PATH . '/css/' . $css); ?> diff --git a/partners/.section.php b/partners/.section.php index 34fe0fc..bd8e03f 100644 --- a/partners/.section.php +++ b/partners/.section.php @@ -1,6 +1,8 @@ "Производители систем хранения и&nbsp;защиты данных и&nbsp;ПО &rarr; Облачные сервера &rarr; Сетевое оборудование и&nbsp;системы мониторинга для систем управления ИТ &rarr; Защита операционных систем и&nbsp;платформ виртуализации &rarr;Телекоммуникационное ИТ-оборудование для операторов связи", + "keywords" => "IT-компания, партнеры, лицензии, бизнес", + "image" => "/images/badges/partners.jpg", + ]; ?> \ No newline at end of file diff --git a/partners/index.php b/partners/index.php index 4a0e8a2..4dfb8e5 100644 --- a/partners/index.php +++ b/partners/index.php @@ -1,5 +1,6 @@ SetPageProperty("title", "Крупные российкие и зарубежные партнёры системного интегратора ИМБА ИТ"); $APPLICATION->SetTitle("Партнеры"); global $arrFilter; ?> diff --git a/requisites/.section.php b/requisites/.section.php index 34fe0fc..e451d16 100644 --- a/requisites/.section.php +++ b/requisites/.section.php @@ -1,6 +1,8 @@ "Официальные реквизиты компании ООО &laquo;Инжиниринг Групп&raquo;&nbsp;&mdash; ЕГРЮЛ &rarr; Коды статистики &rarr; Банковский счёт", + "keywords" => "реквизиты, информация, ИМБА", + "image" => "/images/badges/requisites.jpg", + ]; ?> \ No newline at end of file diff --git a/requisites/index.php b/requisites/index.php index d605978..85eb9d9 100644 --- a/requisites/index.php +++ b/requisites/index.php @@ -1,5 +1,6 @@ SetPageProperty("title", "Реквизиты компании и банковского счёта ИМБА ИТ / IMBA IT"); $APPLICATION->SetTitle("Реквизиты"); ?>
diff --git a/services/index.php b/services/index.php index 6f49033..c0554eb 100644 --- a/services/index.php +++ b/services/index.php @@ -4,7 +4,7 @@ ?> IncludeComponent("bitrix:news", "articles", [ "IBLOCK_TYPE" => "news", - "IBLOCK_ID" => IBID_SERVICES, + "IBLOCK_ID" => "1", "TEMPLATE_THEME" => "site", "NEWS_COUNT" => "10", "USE_SEARCH" => "N", @@ -56,12 +56,12 @@ "BROWSER_TITLE" => "-", "DETAIL_ACTIVE_DATE_FORMAT" => "d.m.Y", "DETAIL_FIELD_CODE" => [ - 0 => "", + 0 => "PREVIEW_PICTURE", 1 => "", ], "DETAIL_PROPERTY_CODE" => [ - 0 => "", - 1 => "", + 0 => "FULL_NAME", + 1 => "DETAIL_IMAGE", ], "DETAIL_DISPLAY_TOP_PAGER" => "N", "DETAIL_DISPLAY_BOTTOM_PAGER" => "Y", -- 1.7.10.4