/var/www/flurhymez/public/js
NameSizeModeActions
app.js3230790644editdlrm
app.js.LICENSE.txt30470644editdlrm
bootstrap.bundle.min.js832530644editdlrm
bootstrap.min.js619710644editdlrm
jquery.min.js894580644editdlrm
magic_mouse.cdn.min.js70600644editdlrm
magic_mouse.js65010755editdlrm
OverlayScrollbars.min.js532060644editdlrm
popper.min.js209590644editdlrm
web.js548820644editdlrm
Edit: /var/www/flurhymez/public/js/web.js (54882B)
(()=>{var e={69:function(e){e.exports=function(){function e(e,t){for(var n=0;n-1)&&(d=x,a=a.slice(0,y))}a&&(r.push(a),a="",c=!1);var P=v||g,k=d||s;r.push({name:p||o++,prefix:d,delimiter:k,optional:"?"===m||"*"===m,repeat:"+"===m||"*"===m,pattern:P?O(P):"[^"+E(k===s?k:k+s)+"]+?"})}}return(a||i1?e>0?"forward":"back":0===e?"popstate":e>0?"back":"forward"},t(e,[{key:"current",get:function(){return this.h[this.v]}},{key:"state",get:function(){return this.h[this.h.length-1]}},{key:"previous",get:function(){return this.v<1?null:this.h[this.v-1]}},{key:"size",get:function(){return this.h.length}}]),e}()),L=function(e,t){try{var n=function(){if(!t.next.html)return Promise.resolve(e).then((function(e){var n=t.next;if(e){var r=$.toElement(e);n.namespace=$.getNamespace(r),n.container=$.getContainer(r),n.html=e,C.update({ns:n.namespace});var o=$.toDocument(e);document.title=o.title}}))}();return Promise.resolve(n&&n.then?n.then((function(){})):void 0)}catch(e){return Promise.reject(e)}},T=p,I={__proto__:null,update:L,nextTick:function(){return new Promise((function(e){window.requestAnimationFrame(e)}))},pathToRegexp:T},q=function(){return window.location.origin},B=function(e){return void 0===e&&(e=window.location.href),R(e).port},R=function(e){var t,n=e.match(/:\d+/);if(null===n)/^http/.test(e)&&(t=80),/^https/.test(e)&&(t=443);else{var r=n[0].substring(1);t=parseInt(r,10)}var o,i=e.replace(q(),""),a={},s=i.indexOf("#");s>=0&&(o=i.slice(s+1),i=i.slice(0,s));var u=i.indexOf("?");return u>=0&&(a=D(i.slice(u+1)),i=i.slice(0,u)),{hash:o,path:i,port:t,query:a}},D=function(e){return e.split("&").reduce((function(e,t){var n=t.split("=");return e[n[0]]=n[1],e}),{})},N=function(e){return void 0===e&&(e=window.location.href),e.replace(/(\/#.*|\/|#.*)$/,"")},_={__proto__:null,getHref:function(){return window.location.href},getOrigin:q,getPort:B,getPath:function(e){return void 0===e&&(e=window.location.href),R(e).path},parse:R,parseQuery:D,clean:N};function H(e,t,n){return void 0===t&&(t=2e3),new Promise((function(r,o){var i=new XMLHttpRequest;i.onreadystatechange=function(){if(i.readyState===XMLHttpRequest.DONE)if(200===i.status)r(i.responseText);else if(i.status){var t={status:i.status,statusText:i.statusText};n(e,t),o(t)}},i.ontimeout=function(){var r=new Error("Timeout error ["+t+"]");n(e,r),o(r)},i.onerror=function(){var t=new Error("Fetch error");n(e,t),o(t)},i.open("GET",e),i.timeout=t,i.setRequestHeader("Accept","text/html,application/xhtml+xml,application/xml"),i.setRequestHeader("x-barba","yes"),i.send()}))}var F=function(e){return!!e&&("object"==typeof e||"function"==typeof e)&&"function"==typeof e.then};function V(e,t){return void 0===t&&(t={}),function(){for(var n=arguments.length,r=new Array(n),o=0;o1?n-1:0),o=1;o1||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey},K=function(e){var t=e.el;return t.hasAttribute("target")&&"_blank"===t.target},Q=function(e){var t=e.el;return void 0!==t.protocol&&window.location.protocol!==t.protocol||void 0!==t.hostname&&window.location.hostname!==t.hostname},Z=function(e){var t=e.el;return void 0!==t.port&&B()!==B(t.href)},J=function(e){var t=e.el;return t.getAttribute&&"string"==typeof t.getAttribute("download")},ee=function(e){return e.el.hasAttribute(A.prefix+"-"+A.prevent)},te=function(e){return Boolean(e.el.closest("["+A.prefix+"-"+A.prevent+'="all"]'))},ne=function(e){var t=e.href;return N(t)===N()&&B(t)===B()},re=function(e){function t(t){var n;return(n=e.call(this,t)||this).suite=[],n.tests=new Map,n.init(),n}r(t,e);var n=t.prototype;return n.init=function(){this.add("pushState",Y),this.add("exists",G),this.add("newTab",z),this.add("blank",K),this.add("corsDomain",Q),this.add("corsPort",Z),this.add("download",J),this.add("preventSelf",ee),this.add("preventAll",te),this.add("sameUrl",ne,!1)},n.add=function(e,t,n){void 0===n&&(n=!0),this.tests.set(e,t),n&&this.suite.push(e)},n.run=function(e,t,n,r){return this.tests.get(e)({el:t,event:n,href:r})},n.checkLink=function(e,t,n){var r=this;return this.suite.some((function(o){return r.run(o,e,t,n)}))},t}(W),oe=function(e){function t(n,r){var o;void 0===r&&(r="Barba error");for(var i=arguments.length,a=new Array(i>2?i-2:0),s=2;s0&&c.push(a),(u=this.logger).info.apply(u,["Transition found ["+s.join(",")+"]"].concat(c))}else this.logger.info("No transition found ["+s.join(",")+"]");return i},t.update=function(){var e=this;this.all=this.all.map((function(t){return e.T(t)})).sort((function(e,t){return e.priority-t.priority})).reverse().map((function(e){return delete e.priority,e})),this.page=this.all.filter((function(e){return void 0!==e.leave||void 0!==e.enter})),this.once=this.all.filter((function(e){return void 0!==e.once}))},t.R=function(e,t,n,r,o){var i=!0,a=!1,s=e,u=t.name,c=u,f=u,l=u,h=o?s[o]:s,d="to"===o?n.next:n.current;if(o?h&&h[u]:h[u]){switch(t.type){default:var p=Array.isArray(h[c])?h[c]:[h[c]];d[c]&&-1!==p.indexOf(d[c])&&(a=!0),-1===p.indexOf(d[c])&&(i=!1);break;case"object":var v=Array.isArray(h[f])?h[f]:[h[f]];d[f]?(d[f].name&&-1!==v.indexOf(d[f].name)&&(a=!0),-1===v.indexOf(d[f].name)&&(i=!1)):i=!1;break;case"function":h[l](n)?a=!0:i=!1}a&&(o?(r[o]=r[o]||{},r[o][u]=s[o][u]):r[u]=s[u])}return i},t.O=function(e,t,n){var r=0;return(e[t]||e.from&&e.from[t]||e.to&&e.to[t])&&(r+=Math.pow(10,n),e.from&&e.from[t]&&(r+=1),e.to&&e.to[t]&&(r+=2)),r},t.T=function(e){var t=this;e.priority=0;var n=0;return this.A.forEach((function(r,o){n+=t.O(e,r.name,o+1)})),e.priority=n,e},e}(),ae=function(){function e(e){void 0===e&&(e=[]),this.logger=new d("@barba/core"),this.S=!1,this.store=new ie(e)}var n=e.prototype;return n.get=function(e,t){return this.store.resolve(e,t)},n.doOnce=function(e){var t=e.data,n=e.transition;try{var r=function(){o.S=!1},o=this,i=n||{};o.S=!0;var a=u((function(){return Promise.resolve(o.j("beforeOnce",t,i)).then((function(){return Promise.resolve(o.once(t,i)).then((function(){return Promise.resolve(o.j("afterOnce",t,i)).then((function(){}))}))}))}),(function(e){o.S=!1,o.logger.debug("Transition error [before/after/once]"),o.logger.error(e)}));return Promise.resolve(a&&a.then?a.then(r):r())}catch(e){return Promise.reject(e)}},n.doPage=function(e){var t=e.data,n=e.transition,r=e.page,o=e.wrapper;try{var i=function(e){if(a)return e;s.S=!1},a=!1,s=this,c=n||{},f=!0===c.sync||!1;s.S=!0;var l=u((function(){function e(){return Promise.resolve(s.j("before",t,c)).then((function(){var e=!1;function n(n){return e?n:Promise.resolve(s.remove(t)).then((function(){return Promise.resolve(s.j("after",t,c)).then((function(){}))}))}var i=function(){if(f)return u((function(){return Promise.resolve(s.add(t,o)).then((function(){return Promise.resolve(s.j("beforeLeave",t,c)).then((function(){return Promise.resolve(s.j("beforeEnter",t,c)).then((function(){return Promise.resolve(Promise.all([s.leave(t,c),s.enter(t,c)])).then((function(){return Promise.resolve(s.j("afterLeave",t,c)).then((function(){return Promise.resolve(s.j("afterEnter",t,c)).then((function(){}))}))}))}))}))}))}),(function(e){if(s.M(e))throw new oe(e,"Transition error [sync]")}));var n=function(n){return e?n:u((function(){var e=function(){if(!1!==i)return Promise.resolve(s.add(t,o)).then((function(){return Promise.resolve(s.j("beforeEnter",t,c)).then((function(){return Promise.resolve(s.enter(t,c,i)).then((function(){return Promise.resolve(s.j("afterEnter",t,c)).then((function(){}))}))}))}))}();if(e&&e.then)return e.then((function(){}))}),(function(e){if(s.M(e))throw new oe(e,"Transition error [before/after/enter]")}))},i=!1,a=u((function(){return Promise.resolve(s.j("beforeLeave",t,c)).then((function(){return Promise.resolve(Promise.all([s.leave(t,c),L(r,t)]).then((function(e){return e[0]}))).then((function(e){return i=e,Promise.resolve(s.j("afterLeave",t,c)).then((function(){}))}))}))}),(function(e){if(s.M(e))throw new oe(e,"Transition error [before/after/leave]")}));return a&&a.then?a.then(n):n(a)}();return i&&i.then?i.then(n):n(i)}))}var n=function(){if(f)return Promise.resolve(L(r,t)).then((function(){}))}();return n&&n.then?n.then(e):e()}),(function(e){if(s.S=!1,e.name&&"BarbaError"===e.name)throw s.logger.debug(e.label),s.logger.error(e.error),e;throw s.logger.debug("Transition error [page]"),s.logger.error(e),e}));return Promise.resolve(l&&l.then?l.then(i):i(l))}catch(e){return Promise.reject(e)}},n.once=function(e,t){try{return Promise.resolve(U.do("once",e,t)).then((function(){return t.once?V(t.once,t)(e):Promise.resolve()}))}catch(e){return Promise.reject(e)}},n.leave=function(e,t){try{return Promise.resolve(U.do("leave",e,t)).then((function(){return t.leave?V(t.leave,t)(e):Promise.resolve()}))}catch(e){return Promise.reject(e)}},n.enter=function(e,t,n){try{return Promise.resolve(U.do("enter",e,t)).then((function(){return t.enter?V(t.enter,t)(e,n):Promise.resolve()}))}catch(e){return Promise.reject(e)}},n.add=function(e,t){try{return $.addContainer(e.next.container,t),U.do("nextAdded",e),Promise.resolve()}catch(e){return Promise.reject(e)}},n.remove=function(e){try{return $.removeContainer(e.current.container),U.do("currentRemoved",e),Promise.resolve()}catch(e){return Promise.reject(e)}},n.M=function(e){return e.message?!/Timeout error|Fetch error/.test(e.message):!e.status},n.j=function(e,t,n){try{return Promise.resolve(U.do(e,t,n)).then((function(){return n[e]?V(n[e],n)(t):Promise.resolve()}))}catch(e){return Promise.reject(e)}},t(e,[{key:"isRunning",get:function(){return this.S},set:function(e){this.S=e}},{key:"hasOnce",get:function(){return this.store.once.length>0}},{key:"hasSelf",get:function(){return this.store.all.some((function(e){return"self"===e.name}))}},{key:"shouldWait",get:function(){return this.store.all.some((function(e){return e.to&&!e.to.route||e.sync}))}}]),e}(),se=function(){function e(e){var t=this;this.names=["beforeLeave","afterLeave","beforeEnter","afterEnter"],this.byNamespace=new Map,0!==e.length&&(e.forEach((function(e){t.byNamespace.set(e.namespace,e)})),this.names.forEach((function(e){U[e](t.L(e))})))}return e.prototype.L=function(e){var t=this;return function(n){var r=e.match(/enter/i)?n.next:n.current,o=t.byNamespace.get(r.namespace);return o&&o[e]?V(o[e],o)(n):Promise.resolve()}},e}();Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector),Element.prototype.closest||(Element.prototype.closest=function(e){var t=this;do{if(t.matches(e))return t;t=t.parentElement||t.parentNode}while(null!==t&&1===t.nodeType);return null});var ue={container:null,html:"",namespace:"",url:{hash:"",href:"",path:"",port:null,query:{}}};return new(function(){function e(){this.version=f,this.schemaPage=ue,this.Logger=d,this.logger=new d("@barba/core"),this.plugins=[],this.hooks=U,this.dom=$,this.helpers=I,this.history=C,this.request=H,this.url=_}var r=e.prototype;return r.use=function(e,t){var n=this.plugins;n.indexOf(e)>-1?this.logger.warn("Plugin ["+e.name+"] already installed."):"function"==typeof e.install?(e.install(this,t),n.push(e)):this.logger.warn("Plugin ["+e.name+'] has no "install" method.')},r.init=function(e){var t=void 0===e?{}:e,r=t.transitions,o=void 0===r?[]:r,i=t.views,a=void 0===i?[]:i,s=t.schema,u=void 0===s?A:s,c=t.requestError,f=t.timeout,l=void 0===f?2e3:f,h=t.cacheIgnore,p=void 0!==h&&h,v=t.prefetchIgnore,g=void 0!==v&&v,m=t.preventRunning,y=void 0!==m&&m,b=t.prevent,w=void 0===b?null:b,x=t.debug,P=t.logLevel;if(d.setLevel(!0===(void 0!==x&&x)?"debug":void 0===P?"off":P),this.logger.info(this.version),Object.keys(u).forEach((function(e){A[e]&&(A[e]=u[e])})),this.$=c,this.timeout=l,this.cacheIgnore=p,this.prefetchIgnore=g,this.preventRunning=y,this._=this.dom.getWrapper(),!this._)throw new Error("[@barba/core] No Barba wrapper found");this._.setAttribute("aria-live","polite"),this.q();var k=this.data.current;if(!k.container)throw new Error("[@barba/core] No Barba container found");if(this.cache=new X(p),this.prevent=new re(g),this.transitions=new ae(o),this.views=new se(a),null!==w){if("function"!=typeof w)throw new Error("[@barba/core] Prevent should be a function");this.prevent.add("preventCustom",w)}this.history.init(k.url.href,k.namespace),this.B=this.B.bind(this),this.U=this.U.bind(this),this.D=this.D.bind(this),this.F(),this.plugins.forEach((function(e){return e.init()}));var E=this.data;E.trigger="barba",E.next=E.current,E.current=n({},this.schemaPage),this.hooks.do("ready",E),this.once(E),this.q()},r.destroy=function(){this.q(),this.H(),this.history.clear(),this.hooks.clear(),this.plugins=[]},r.force=function(e){window.location.assign(e)},r.go=function(e,t,n){var r;if(void 0===t&&(t="barba"),this.transitions.isRunning)this.force(e);else if(!(r="popstate"===t?this.history.current&&this.url.getPath(this.history.current.url)===this.url.getPath(e):this.prevent.run("sameUrl",null,null,e))||this.transitions.hasSelf)return t=this.history.change(e,t,n),n&&(n.stopPropagation(),n.preventDefault()),this.page(e,t,r)},r.once=function(e){try{var t=this;return Promise.resolve(t.hooks.do("beforeEnter",e)).then((function(){function n(){return Promise.resolve(t.hooks.do("afterEnter",e)).then((function(){}))}var r=function(){if(t.transitions.hasOnce){var n=t.transitions.get(e,{once:!0});return Promise.resolve(t.transitions.doOnce({transition:n,data:e})).then((function(){}))}}();return r&&r.then?r.then(n):n()}))}catch(e){return Promise.reject(e)}},r.page=function(e,t,r){try{var o=function(){var e=i.data;return Promise.resolve(i.hooks.do("page",e)).then((function(){var t=u((function(){var t=i.transitions.get(e,{once:!1,self:r});return Promise.resolve(i.transitions.doPage({data:e,page:a,transition:t,wrapper:i._})).then((function(){i.q()}))}),(function(){0===d.getLevel()&&i.force(e.current.url.href)}));if(t&&t.then)return t.then((function(){}))}))},i=this;i.data.next.url=n({href:e},i.url.parse(e)),i.data.trigger=t;var a=i.cache.has(e)?i.cache.update(e,{action:"click"}).request:i.cache.set(e,i.request(e,i.timeout,i.onRequestError.bind(i,t)),"click").request,s=function(){if(i.transitions.shouldWait)return Promise.resolve(L(a,i.data)).then((function(){}))}();return Promise.resolve(s&&s.then?s.then(o):o())}catch(e){return Promise.reject(e)}},r.onRequestError=function(e){this.transitions.isRunning=!1;for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{"use strict";var e={update:null,begin:null,loopBegin:null,changeBegin:null,change:null,changeComplete:null,loopComplete:null,complete:null,loop:1,direction:"normal",autoplay:!0,timelineOffset:0},t={duration:1e3,delay:0,endDelay:0,easing:"easeOutElastic(1, .5)",round:0},r=["translateX","translateY","translateZ","rotate","rotateX","rotateY","rotateZ","scale","scaleX","scaleY","scaleZ","skew","skewX","skewY","perspective","matrix","matrix3d"],o={CSS:{},springs:{}};function i(e,t,n){return Math.min(Math.max(e,t),n)}function a(e,t){return e.indexOf(t)>-1}function s(e,t){return e.apply(null,t)}var u={arr:function(e){return Array.isArray(e)},obj:function(e){return a(Object.prototype.toString.call(e),"Object")},pth:function(e){return u.obj(e)&&e.hasOwnProperty("totalLength")},svg:function(e){return e instanceof SVGElement},inp:function(e){return e instanceof HTMLInputElement},dom:function(e){return e.nodeType||u.svg(e)},str:function(e){return"string"==typeof e},fnc:function(e){return"function"==typeof e},und:function(e){return void 0===e},nil:function(e){return u.und(e)||null===e},hex:function(e){return/(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)/i.test(e)},rgb:function(e){return/^rgb/.test(e)},hsl:function(e){return/^hsl/.test(e)},col:function(e){return u.hex(e)||u.rgb(e)||u.hsl(e)},key:function(n){return!e.hasOwnProperty(n)&&!t.hasOwnProperty(n)&&"targets"!==n&&"keyframes"!==n}};function c(e){var t=/\(([^)]+)\)/.exec(e);return t?t[1].split(",").map((function(e){return parseFloat(e)})):[]}function f(e,t){var n=c(e),r=i(u.und(n[0])?1:n[0],.1,100),a=i(u.und(n[1])?100:n[1],.1,100),s=i(u.und(n[2])?10:n[2],.1,100),f=i(u.und(n[3])?0:n[3],.1,100),l=Math.sqrt(a/r),h=s/(2*Math.sqrt(a*r)),d=h<1?l*Math.sqrt(1-h*h):0,p=h<1?(h*l-f)/d:-f+l;function v(e){var n=t?t*e/1e3:e;return n=h<1?Math.exp(-n*h*l)*(1*Math.cos(d*n)+p*Math.sin(d*n)):(1+p*n)*Math.exp(-n*l),0===e||1===e?e:1-n}return t?v:function(){var t=o.springs[e];if(t)return t;for(var n=1/6,r=0,i=0;;)if(1===v(r+=n)){if(++i>=16)break}else i=0;var a=r*n*1e3;return o.springs[e]=a,a}}function l(e){return void 0===e&&(e=10),function(t){return Math.ceil(i(t,1e-6,1)*e)*(1/e)}}var h,d,p=function(){var e=.1;function t(e,t){return 1-3*t+3*e}function n(e,t){return 3*t-6*e}function r(e){return 3*e}function o(e,o,i){return((t(o,i)*e+n(o,i))*e+r(o))*e}function i(e,o,i){return 3*t(o,i)*e*e+2*n(o,i)*e+r(o)}return function(t,n,r,a){if(0<=t&&t<=1&&0<=r&&r<=1){var s=new Float32Array(11);if(t!==n||r!==a)for(var u=0;u<11;++u)s[u]=o(u*e,t,r);return function(e){return t===n&&r===a||0===e||1===e?e:o(c(e),n,a)}}function c(n){for(var a=0,u=1;10!==u&&s[u]<=n;++u)a+=e;--u;var c=a+(n-s[u])/(s[u+1]-s[u])*e,f=i(c,t,r);return f>=.001?function(e,t,n,r){for(var a=0;a<4;++a){var s=i(t,n,r);if(0===s)return t;t-=(o(t,n,r)-e)/s}return t}(n,c,t,r):0===f?c:function(e,t,n,r,i){var a,s,u=0;do{(a=o(s=t+(n-t)/2,r,i)-e)>0?n=s:t=s}while(Math.abs(a)>1e-7&&++u<10);return s}(n,a,a+e,t,r)}}}(),v=(h={linear:function(){return function(e){return e}}},d={Sine:function(){return function(e){return 1-Math.cos(e*Math.PI/2)}},Circ:function(){return function(e){return 1-Math.sqrt(1-e*e)}},Back:function(){return function(e){return e*e*(3*e-2)}},Bounce:function(){return function(e){for(var t,n=4;e<((t=Math.pow(2,--n))-1)/11;);return 1/Math.pow(4,3-n)-7.5625*Math.pow((3*t-2)/22-e,2)}},Elastic:function(e,t){void 0===e&&(e=1),void 0===t&&(t=.5);var n=i(e,1,10),r=i(t,.1,2);return function(e){return 0===e||1===e?e:-n*Math.pow(2,10*(e-1))*Math.sin((e-1-r/(2*Math.PI)*Math.asin(1/n))*(2*Math.PI)/r)}}},["Quad","Cubic","Quart","Quint","Expo"].forEach((function(e,t){d[e]=function(){return function(e){return Math.pow(e,t+2)}}})),Object.keys(d).forEach((function(e){var t=d[e];h["easeIn"+e]=t,h["easeOut"+e]=function(e,n){return function(r){return 1-t(e,n)(1-r)}},h["easeInOut"+e]=function(e,n){return function(r){return r<.5?t(e,n)(2*r)/2:1-t(e,n)(-2*r+2)/2}},h["easeOutIn"+e]=function(e,n){return function(r){return r<.5?(1-t(e,n)(1-2*r))/2:(t(e,n)(2*r-1)+1)/2}}})),h);function g(e,t){if(u.fnc(e))return e;var n=e.split("(")[0],r=v[n],o=c(e);switch(n){case"spring":return f(e,t);case"cubicBezier":return s(p,o);case"steps":return s(l,o);default:return s(r,o)}}function m(e){try{return document.querySelectorAll(e)}catch(e){return}}function y(e,t){for(var n=e.length,r=arguments.length>=2?arguments[1]:void 0,o=[],i=0;i1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}if(0==a)t=n=r=s;else{var f=s<.5?s*(1+a):s+a-s*a,l=2*s-f;t=c(l,f,i+1/3),n=c(l,f,i),r=c(l,f,i-1/3)}return"rgba("+255*t+","+255*n+","+255*r+","+u+")"}(e):void 0;var t,n}function S(e){var t=/[+-]?\d*\.?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?(%|px|pt|em|rem|in|cm|mm|ex|ch|pc|vw|vh|vmin|vmax|deg|rad|turn)?$/.exec(e);if(t)return t[1]}function j(e,t){return u.fnc(e)?e(t.target,t.id,t.total):e}function M(e,t){return e.getAttribute(t)}function A(e,t,n){if(x([n,"deg","rad","turn"],S(t)))return t;var r=o.CSS[t+n];if(!u.und(r))return r;var i=document.createElement(e.tagName),a=e.parentNode&&e.parentNode!==document?e.parentNode:document.body;a.appendChild(i),i.style.position="absolute",i.style.width=100+n;var s=100/i.offsetWidth;a.removeChild(i);var c=s*parseFloat(t);return o.CSS[t+n]=c,c}function C(e,t,n){if(t in e.style){var r=t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),o=e.style[t]||getComputedStyle(e).getPropertyValue(r)||"0";return n?A(e,o,n):o}}function L(e,t){return u.dom(e)&&!u.inp(e)&&(!u.nil(M(e,t))||u.svg(e)&&e[t])?"attribute":u.dom(e)&&x(r,t)?"transform":u.dom(e)&&"transform"!==t&&C(e,t)?"css":null!=e[t]?"object":void 0}function T(e){if(u.dom(e)){for(var t,n=e.style.transform||"",r=/(\w+)\(([^)]*)\)/g,o=new Map;t=r.exec(n);)o.set(t[1],t[2]);return o}}function I(e,t,n,r){var o=a(t,"scale")?1:0+function(e){return a(e,"translate")||"perspective"===e?"px":a(e,"rotate")||a(e,"skew")?"deg":void 0}(t),i=T(e).get(t)||o;return n&&(n.transforms.list.set(t,i),n.transforms.last=t),r?A(e,i,r):i}function q(e,t,n,r){switch(L(e,t)){case"transform":return I(e,t,r,n);case"css":return C(e,t,n);case"attribute":return M(e,t);default:return e[t]||0}}function B(e,t){var n=/^(\*=|\+=|-=)/.exec(e);if(!n)return e;var r=S(e)||0,o=parseFloat(t),i=parseFloat(e.replace(n[0],""));switch(n[0][0]){case"+":return o+i+r;case"-":return o-i+r;case"*":return o*i+r}}function R(e,t){if(u.col(e))return O(e);if(/\s/g.test(e))return e;var n=S(e),r=n?e.substr(0,e.length-n.length):e;return t?r+t:r}function D(e,t){return Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2))}function N(e){for(var t,n=e.points,r=0,o=0;o0&&(r+=D(t,i)),t=i}return r}function _(e){if(e.getTotalLength)return e.getTotalLength();switch(e.tagName.toLowerCase()){case"circle":return function(e){return 2*Math.PI*M(e,"r")}(e);case"rect":return function(e){return 2*M(e,"width")+2*M(e,"height")}(e);case"line":return function(e){return D({x:M(e,"x1"),y:M(e,"y1")},{x:M(e,"x2"),y:M(e,"y2")})}(e);case"polyline":return N(e);case"polygon":return function(e){var t=e.points;return N(e)+D(t.getItem(t.numberOfItems-1),t.getItem(0))}(e)}}function H(e,t){var n=t||{},r=n.el||function(e){for(var t=e.parentNode;u.svg(t)&&u.svg(t.parentNode);)t=t.parentNode;return t}(e),o=r.getBoundingClientRect(),i=M(r,"viewBox"),a=o.width,s=o.height,c=n.viewBox||(i?i.split(" "):[0,0,a,s]);return{el:r,viewBox:c,x:c[0]/1,y:c[1]/1,w:a,h:s,vW:c[2],vH:c[3]}}function F(e,t,n){function r(n){void 0===n&&(n=0);var r=t+n>=1?t+n:0;return e.el.getPointAtLength(r)}var o=H(e.el,e.svg),i=r(),a=r(-1),s=r(1),u=n?1:o.w/o.vW,c=n?1:o.h/o.vH;switch(e.property){case"x":return(i.x-o.x)*u;case"y":return(i.y-o.y)*c;case"angle":return 180*Math.atan2(s.y-a.y,s.x-a.x)/Math.PI}}function V(e,t){var n=/[+-]?\d*\.?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?/g,r=R(u.pth(e)?e.totalLength:e,t)+"";return{original:r,numbers:r.match(n)?r.match(n).map(Number):[0],strings:u.str(e)||t?r.split(n):[]}}function U(e){return y(e?b(u.arr(e)?e.map(w):w(e)):[],(function(e,t,n){return n.indexOf(e)===t}))}function W(e){var t=U(e);return t.map((function(e,n){return{target:e,id:n,total:t.length,transforms:{list:T(e)}}}))}function X(e,t){var n=P(t);if(/^spring/.test(n.easing)&&(n.duration=f(n.easing)),u.arr(e)){var r=e.length;2===r&&!u.obj(e[0])?e={value:e}:u.fnc(t.duration)||(n.duration=t.duration/r)}var o=u.arr(e)?e:[e];return o.map((function(e,n){var r=u.obj(e)&&!u.pth(e)?e:{value:e};return u.und(r.delay)&&(r.delay=n?0:t.delay),u.und(r.endDelay)&&(r.endDelay=n===o.length-1?t.endDelay:0),r})).map((function(e){return E(e,n)}))}function Y(e,t){var n=[],r=t.keyframes;for(var o in r&&(t=E(function(e){for(var t=y(b(e.map((function(e){return Object.keys(e)}))),(function(e){return u.key(e)})).reduce((function(e,t){return e.indexOf(t)<0&&e.push(t),e}),[]),n={},r=function(r){var o=t[r];n[o]=e.map((function(e){var t={};for(var n in e)u.key(n)?n==o&&(t.value=e[n]):t[n]=e[n];return t}))},o=0;o0?requestAnimationFrame(t):void 0}return"undefined"!=typeof document&&document.addEventListener("visibilitychange",(function(){re.suspendWhenDocumentHidden&&(ne()?e=cancelAnimationFrame(e):(ee.forEach((function(e){return e._onDocumentVisibility()})),te()))})),function(){e||ne()&&re.suspendWhenDocumentHidden||!(ee.length>0)||(e=requestAnimationFrame(t))}}();function ne(){return!!document&&document.hidden}function re(n){void 0===n&&(n={});var r,o=0,a=0,s=0,u=0,c=null;function f(e){var t=window.Promise&&new Promise((function(e){return c=e}));return e.finished=t,t}var l=function(n){var r=k(e,n),o=k(t,n),i=Y(o,n),a=W(n.targets),s=Q(a,i),u=Z(s,o),c=J;return J++,E(r,{id:c,children:[],animatables:a,animations:s,duration:u.duration,delay:u.delay,endDelay:u.endDelay})}(n);f(l);function h(){var e=l.direction;"alternate"!==e&&(l.direction="normal"!==e?"normal":"reverse"),l.reversed=!l.reversed,r.forEach((function(e){return e.reversed=l.reversed}))}function d(e){return l.reversed?l.duration-e:e}function p(){o=0,a=d(l.currentTime)*(1/re.speed)}function v(e,t){t&&t.seek(e-t.timelineOffset)}function g(e){for(var t=0,n=l.animations,r=n.length;t2||(w=Math.round(w*p)/p)),v.push(w)}var k=d.length;if(k){m=d[0];for(var E=0;E0&&(l.began=!0,m("begin")),!l.loopBegan&&l.currentTime>0&&(l.loopBegan=!0,m("loopBegin")),y<=n&&0!==l.currentTime&&g(0),(y>=p&&l.currentTime!==t||!t)&&g(t),y>n&&y=t&&(a=0,l.remaining&&!0!==l.remaining&&l.remaining--,l.remaining?(o=s,m("loopComplete"),l.loopBegan=!1,"alternate"===l.direction&&h()):(l.paused=!0,l.completed||(l.completed=!0,m("loopComplete"),m("complete"),!l.passThrough&&"Promise"in window&&(c(),f(l)))))}return l.reset=function(){var e=l.direction;l.passThrough=!1,l.currentTime=0,l.progress=0,l.paused=!0,l.began=!1,l.loopBegan=!1,l.changeBegan=!1,l.completed=!1,l.changeCompleted=!1,l.reversePlayback=!1,l.reversed="reverse"===e,l.remaining=l.loop,r=l.children;for(var t=u=r.length;t--;)l.children[t].reset();(l.reversed&&!0!==l.loop||"alternate"===e&&1===l.loop)&&l.remaining++,g(l.reversed?l.duration:0)},l._onDocumentVisibility=p,l.set=function(e,t){return K(e,t),l},l.tick=function(e){s=e,o||(o=s),b((s+(a-o))*re.speed)},l.seek=function(e){b(d(e))},l.pause=function(){l.paused=!0,p()},l.play=function(){l.paused&&(l.completed&&l.reset(),l.paused=!1,ee.push(l),p(),te())},l.reverse=function(){h(),l.completed=!l.reversed,p()},l.restart=function(){l.reset(),l.play()},l.remove=function(e){ie(U(e),l)},l.reset(),l.autoplay&&l.play(),l}function oe(e,t){for(var n=t.length;n--;)x(e,t[n].animatable.target)&&t.splice(n,1)}function ie(e,t){var n=t.animations,r=t.children;oe(e,n);for(var o=r.length;o--;){var i=r[o],a=i.animations;oe(e,a),a.length||i.children.length||r.splice(o,1)}n.length||r.length||t.pause()}re.version="3.2.1",re.speed=1,re.suspendWhenDocumentHidden=!0,re.running=ee,re.remove=function(e){for(var t=U(e),n=ee.length;n--;){ie(t,ee[n])}},re.get=q,re.set=K,re.convertPx=A,re.path=function(e,t){var n=u.str(e)?m(e)[0]:e,r=t||100;return function(e){return{property:e,el:n,svg:H(n),totalLength:_(n)*(r/100)}}},re.setDashoffset=function(e){var t=_(e);return e.setAttribute("stroke-dasharray",t),t},re.stagger=function(e,t){void 0===t&&(t={});var n=t.direction||"normal",r=t.easing?g(t.easing):null,o=t.grid,i=t.axis,a=t.from||0,s="first"===a,c="center"===a,f="last"===a,l=u.arr(e),h=l?parseFloat(e[0]):parseFloat(e),d=l?parseFloat(e[1]):0,p=S(l?e[1]:e)||0,v=t.start||0+(l?h:0),m=[],y=0;return function(e,t,u){if(s&&(a=0),c&&(a=(u-1)/2),f&&(a=u-1),!m.length){for(var g=0;g-1&&ee.splice(i,1);for(var c=0;ce.length)&&(t=e.length);for(var n=0,r=new Array(t);n'),document.body.classList.toggle("dark-theme"),$("#style").attr("href",me)):"light"==ye&&(pe.html(''),document.body.classList.toggle("light-theme"),$("#style").attr("href",ge));var be,we,xe,Pe,ke,Ee,Oe=$("html").attr("dir");function Se(){var e=$(".theme-toggle"),t=window.matchMedia("(prefers-color-scheme: dark)"),n=$("#style").data("light"),r=$("#style").data("dark"),o=localStorage.getItem("theme")?localStorage.getItem("theme"):t.matches?"dark":"light";"dark"==o?e.html(''):"light"==o&&e.html(''),e.on("click",(function(){t.matches?"dark"===($("body").hasClass("dark-theme")?"dark":"light")?a():i():"dark"===($("body").hasClass("dark-theme")?"dark":"light")?a():i()})),window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",(function(e){"dark"===(e.matches?"dark":"light")?i():a()}));var i=function(){$("body").removeClass("light-theme"),$("body").addClass("dark-theme"),$("#style").attr("href",r),e.html(''),localStorage.setItem("theme","dark")},a=function(){$("body").removeClass("dark-theme"),$("body").addClass("light-theme"),$("#style").attr("href",n),e.html(''),localStorage.setItem("theme","light")},s=$(".container").offset().left;"rtl"===Oe?($(".containre-left").css("margin-right",s+"px"),$(".containre-right").css("margin-left",s+"px")):($(".containre-left").css("margin-left",s+"px"),$(".containre-right").css("margin-right",s+"px"));var u=OverlayScrollbars(document.querySelectorAll(".scro"),{overflowBehavior:{x:"hidden",y:"scroll"},callbacks:{onScroll:function(e){e.target.scrollTop>=100?$("header").addClass("fixed-header"):$("header").removeClass("fixed-header")}}});$("a").on("click",(function(e){if(""!==this.hash&&$(this.hash).length&&$("body.home").length){e.preventDefault();var t=this.hash;u.scroll({el:$(t),margin:70},500,"easeInOutSine")}})),$(".navbar-toggler").on("click",(function(){$(".sidenav-back").addClass("show")})),$(".sidenav-back").on("click",(function(){$(".sidenav-back").removeClass("show"),$(".navbar-collapse").removeClass("show")})),$(".navbar-collapse .nav-link").on("click",(function(){$(".sidenav-back").removeClass("show"),$(".navbar-collapse").removeClass("show")})),$(document).on("show.bs.modal",".modal",(function(){$(this).appendTo("body")}));var c=[700,650,600,750,350,500,400],f=[].concat(c,c,c,c,c);$("#worksSlider").find(".works-item").each((function(e,t){$(t).css("height",f[e])}));new Swiper("#worksSlider",{spaceBetween:30,centeredSlides:!0,pagination:{el:".swiper-pagination",clickable:!0},breakpoints:{992:{slidesPerView:4.1},1200:{slidesPerView:6.1}}}),new Swiper("#teamSlider",{slidesPerView:1.3,spaceBetween:30,slidesOffsetBefore:0==s?40:s,slidesOffsetAfter:0==s?40:s,pagination:{el:".swiper-pagination",clickable:!0},breakpoints:{576:{slidesPerView:2.5},992:{slidesPerView:3.9},1200:{slidesPerView:5.9}}}),new Swiper("#testimonialsSlider",{slidesPerView:1,spaceBetween:30,centeredSlides:!0,pagination:{el:".swiper-pagination",clickable:!0},breakpoints:{576:{slidesPerView:1},992:{slidesPerView:2},1200:{slidesPerView:2.1}}}),new Swiper("#partnersSlider",{slidesPerView:1,spaceBetween:30,centeredSlides:!0,pagination:{el:".swiper-pagination",clickable:!0},breakpoints:{576:{slidesPerView:2},992:{slidesPerView:4},1200:{slidesPerView:7}}})}function je(){var e=document.querySelectorAll(".popover-item"),t=(document.querySelectorAll(".popover-content"),{name:"offset",options:{offset:[10,40]}});e.forEach((function(e){var n=$(e).closest(".popover-container").find(".popover-content")[0],r=Popper.createPopper(e,n,{placement:"rtl"===Oe?"left":"right",modifiers:[t]});["mouseenter","focus"].forEach((function(t){e.addEventListener(t,(function(){return function(e,t){t.setAttribute("data-show",""),e.setOptions((function(e){return he(he({},e),{},{modifiers:[].concat(ce(e.modifiers),[{name:"eventListeners",enabled:!0}])})})),e.update()}(r,n)}))})),["mousemove"].forEach((function(t){e.addEventListener(t,(function(e){return function(e,t,n){var r=e.clientX,o=e.clientY;$(n).closest(".popover-container").find(".popover-item")[0].getBoundingClientRect=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return function(){return{width:0,height:0,top:t,right:e,bottom:t,left:e}}}(r,o),t.setOptions((function(e){return he(he({},e),{},{modifiers:[].concat(ce(e.modifiers),[{name:"eventListeners",enabled:!0}])})})),t.update()}(e,r,n)}))})),["mouseleave","blur"].forEach((function(t){e.addEventListener(t,(function(){return function(e,t){t.removeAttribute("data-show"),e.setOptions((function(e){return he(he({},e),{},{modifiers:[].concat(ce(e.modifiers),[{name:"eventListeners",enabled:!1}])})}))}(r,n)}))}))}))}ue().hooks.once((function(e){Se(),$("body").width()>992&&je()})),ue().hooks.beforeEnter((function(e){Se(),$("body").width()>992&&je()})),ue().init({preventRunning:!0,prevent:function(e){var t=e.el;return t.classList&&t.classList.contains("reload")},transitions:[{name:"fade",sync:!0,leave:function(e){return new Promise((function(t){ae({targets:".change-page",duration:500,top:"0",easing:"easeInExpo",endDelay:1e3,begin:function(t){$(".change-page").empty(),$(".change-page").append("

".concat(e.next.namespace,"

")),ae({targets:".change-page h1",duration:400,opacity:"1",top:0,delay:500,easing:"easeOutCubic"})},complete:function(e){ae({targets:".change-page h1",duration:500,opacity:"0",top:"50px",easing:"easeInCubic",complete:function(e){t()}})}})}))},after:function(){return new Promise((function(e){ae({targets:".change-page",duration:500,top:"100%",easing:"easeOutExpo",complete:function(t){e()}})}))}}]}),ae({targets:".loader",duration:2e3,left:"0",endDelay:1e3,easing:"easeOutExpo"}),$(window).on("load",(function(){$(".loader").fadeOut()})),be=window,we=document,xe="script",Pe="ga",be.GoogleAnalyticsObject=Pe,be.ga=be.ga||function(){(be.ga.q=be.ga.q||[]).push(arguments)},be.ga.l=1*new Date,ke=we.createElement(xe),Ee=we.getElementsByTagName(xe)[0],ke.async=1,ke.src="https://www.google-analytics.com/analytics.js",Ee.parentNode.insertBefore(ke,Ee),ga("create","UA-216068938-1","auto"),ue().hooks.after((function(){ga("set","page",window.location.pathname),ga("send","pageview")}))})()})();