(()=>{var e,t,n={9554:function(e){e.exports=function(){"use strict";var e=function(){return e.get.apply(e,arguments)},t=e.utils={isArray:Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)},isPlainObject:function(e){return!!e&&"[object Object]"===Object.prototype.toString.call(e)},toArray:function(e){return Array.prototype.slice.call(e)},getKeys:Object.keys||function(e){var t=[],n="";for(n in e)e.hasOwnProperty(n)&&t.push(n);return t},encode:function(e){return String(e).replace(/[,;"\\=\s%]/g,(function(e){return encodeURIComponent(e)}))},decode:function(e){return decodeURIComponent(e)},retrieve:function(e,t){return null==e?t:e}};return e.defaults={},e.expiresMultiplier=86400,e.set=function(e,n,r){if(t.isPlainObject(e))for(var o in e)e.hasOwnProperty(o)&&this.set(o,e[o],n);else{var i=void 0!==(r=t.isPlainObject(r)?r:{expires:r}).expires?r.expires:this.defaults.expires||"",s=typeof i;"string"===s&&""!==i?i=new Date(i):"number"===s&&(i=new Date(+new Date+1e3*this.expiresMultiplier*i)),""!==i&&"toUTCString"in i&&(i=";expires="+i.toUTCString());var a=r.path||this.defaults.path;a=a?";path="+a:"";var c=r.domain||this.defaults.domain;c=c?";domain="+c:"";var l=r.secure||this.defaults.secure?";secure":"";!1===r.secure&&(l="");var u=r.sameSite||this.defaults.sameSite;u=u?";SameSite="+u:"",null===r.sameSite&&(u=""),document.cookie=t.encode(e)+"="+t.encode(n)+i+a+c+l+u}return this},e.setDefault=function(n,r,o){if(t.isPlainObject(n)){for(var i in n)void 0===this.get(i)&&this.set(i,n[i],r);return e}if(void 0===this.get(n))return this.set.apply(this,arguments)},e.remove=function(e){for(var n=0,r=(e=t.isArray(e)?e:t.toArray(arguments)).length;n{"use strict";var r=n(9985),o=n(3691),i=TypeError;e.exports=function(e){if(r(e))return e;throw new i(o(e)+" is not a function")}},5027:(e,t,n)=>{"use strict";var r=n(8999),o=String,i=TypeError;e.exports=function(e){if(r(e))return e;throw new i(o(e)+" is not an object")}},4328:(e,t,n)=>{"use strict";var r=n(5290),o=n(7578),i=n(6310),s=function(e){return function(t,n,s){var a,c=r(t),l=i(c),u=o(s,l);if(e&&n!=n){for(;l>u;)if((a=c[u++])!=a)return!0}else for(;l>u;u++)if((e||u in c)&&c[u]===n)return e||u||0;return!e&&-1}};e.exports={includes:s(!0),indexOf:s(!1)}},5649:(e,t,n)=>{"use strict";var r=n(7697),o=n(2297),i=TypeError,s=Object.getOwnPropertyDescriptor,a=r&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(e){return e instanceof TypeError}}();e.exports=a?function(e,t){if(o(e)&&!s(e,"length").writable)throw new i("Cannot set read only .length");return e.length=t}:function(e,t){return e.length=t}},6648:(e,t,n)=>{"use strict";var r=n(8844),o=r({}.toString),i=r("".slice);e.exports=function(e){return i(o(e),8,-1)}},8758:(e,t,n)=>{"use strict";var r=n(6812),o=n(9152),i=n(2474),s=n(2560);e.exports=function(e,t,n){for(var a=o(t),c=s.f,l=i.f,u=0;u{"use strict";var r=n(7697),o=n(2560),i=n(5684);e.exports=r?function(e,t,n){return o.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},5684:e=>{"use strict";e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},1880:(e,t,n)=>{"use strict";var r=n(9985),o=n(2560),i=n(8702),s=n(5014);e.exports=function(e,t,n,a){a||(a={});var c=a.enumerable,l=void 0!==a.name?a.name:t;if(r(n)&&i(n,l,a),a.global)c?e[t]=n:s(t,n);else{try{a.unsafe?e[t]&&(c=!0):delete e[t]}catch(e){}c?e[t]=n:o.f(e,t,{value:n,enumerable:!1,configurable:!a.nonConfigurable,writable:!a.nonWritable})}return e}},5014:(e,t,n)=>{"use strict";var r=n(9037),o=Object.defineProperty;e.exports=function(e,t){try{o(r,e,{value:t,configurable:!0,writable:!0})}catch(n){r[e]=t}return t}},7697:(e,t,n)=>{"use strict";var r=n(3689);e.exports=!r((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},2659:e=>{"use strict";var t="object"==typeof document&&document.all,n=void 0===t&&void 0!==t;e.exports={all:t,IS_HTMLDDA:n}},6420:(e,t,n)=>{"use strict";var r=n(9037),o=n(8999),i=r.document,s=o(i)&&o(i.createElement);e.exports=function(e){return s?i.createElement(e):{}}},5565:e=>{"use strict";var t=TypeError;e.exports=function(e){if(e>9007199254740991)throw t("Maximum allowed index exceeded");return e}},71:e=>{"use strict";e.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},3615:(e,t,n)=>{"use strict";var r,o,i=n(9037),s=n(71),a=i.process,c=i.Deno,l=a&&a.versions||c&&c.version,u=l&&l.v8;u&&(o=(r=u.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!o&&s&&(!(r=s.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=s.match(/Chrome\/(\d+)/))&&(o=+r[1]),e.exports=o},2739:e=>{"use strict";e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},9989:(e,t,n)=>{"use strict";var r=n(9037),o=n(2474).f,i=n(5773),s=n(1880),a=n(5014),c=n(8758),l=n(5266);e.exports=function(e,t){var n,u,d,p,f,h=e.target,m=e.global,v=e.stat;if(n=m?r:v?r[h]||a(h,{}):(r[h]||{}).prototype)for(u in t){if(p=t[u],d=e.dontCallGetSet?(f=o(n,u))&&f.value:n[u],!l(m?u:h+(v?".":"#")+u,e.forced)&&void 0!==d){if(typeof p==typeof d)continue;c(p,d)}(e.sham||d&&d.sham)&&i(p,"sham",!0),s(n,u,p,e)}}},3689:e=>{"use strict";e.exports=function(e){try{return!!e()}catch(e){return!0}}},7215:(e,t,n)=>{"use strict";var r=n(3689);e.exports=!r((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},2615:(e,t,n)=>{"use strict";var r=n(7215),o=Function.prototype.call;e.exports=r?o.bind(o):function(){return o.apply(o,arguments)}},1236:(e,t,n)=>{"use strict";var r=n(7697),o=n(6812),i=Function.prototype,s=r&&Object.getOwnPropertyDescriptor,a=o(i,"name"),c=a&&"something"===function(){}.name,l=a&&(!r||r&&s(i,"name").configurable);e.exports={EXISTS:a,PROPER:c,CONFIGURABLE:l}},8844:(e,t,n)=>{"use strict";var r=n(7215),o=Function.prototype,i=o.call,s=r&&o.bind.bind(i,i);e.exports=r?s:function(e){return function(){return i.apply(e,arguments)}}},6058:(e,t,n)=>{"use strict";var r=n(9037),o=n(9985);e.exports=function(e,t){return arguments.length<2?(n=r[e],o(n)?n:void 0):r[e]&&r[e][t];var n}},4849:(e,t,n)=>{"use strict";var r=n(509),o=n(981);e.exports=function(e,t){var n=e[t];return o(n)?void 0:r(n)}},9037:function(e,t,n){"use strict";var r=function(e){return e&&e.Math===Math&&e};e.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof n.g&&n.g)||r("object"==typeof this&&this)||function(){return this}()||Function("return this")()},6812:(e,t,n)=>{"use strict";var r=n(8844),o=n(690),i=r({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return i(o(e),t)}},7248:e=>{"use strict";e.exports={}},8506:(e,t,n)=>{"use strict";var r=n(7697),o=n(3689),i=n(6420);e.exports=!r&&!o((function(){return 7!==Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},4413:(e,t,n)=>{"use strict";var r=n(8844),o=n(3689),i=n(6648),s=Object,a=r("".split);e.exports=o((function(){return!s("z").propertyIsEnumerable(0)}))?function(e){return"String"===i(e)?a(e,""):s(e)}:s},6738:(e,t,n)=>{"use strict";var r=n(8844),o=n(9985),i=n(4091),s=r(Function.toString);o(i.inspectSource)||(i.inspectSource=function(e){return s(e)}),e.exports=i.inspectSource},618:(e,t,n)=>{"use strict";var r,o,i,s=n(9834),a=n(9037),c=n(8999),l=n(5773),u=n(6812),d=n(4091),p=n(2713),f=n(7248),h="Object already initialized",m=a.TypeError,v=a.WeakMap;if(s||d.state){var y=d.state||(d.state=new v);y.get=y.get,y.has=y.has,y.set=y.set,r=function(e,t){if(y.has(e))throw new m(h);return t.facade=e,y.set(e,t),t},o=function(e){return y.get(e)||{}},i=function(e){return y.has(e)}}else{var g=p("state");f[g]=!0,r=function(e,t){if(u(e,g))throw new m(h);return t.facade=e,l(e,g,t),t},o=function(e){return u(e,g)?e[g]:{}},i=function(e){return u(e,g)}}e.exports={set:r,get:o,has:i,enforce:function(e){return i(e)?o(e):r(e,{})},getterFor:function(e){return function(t){var n;if(!c(t)||(n=o(t)).type!==e)throw new m("Incompatible receiver, "+e+" required");return n}}}},2297:(e,t,n)=>{"use strict";var r=n(6648);e.exports=Array.isArray||function(e){return"Array"===r(e)}},9985:(e,t,n)=>{"use strict";var r=n(2659),o=r.all;e.exports=r.IS_HTMLDDA?function(e){return"function"==typeof e||e===o}:function(e){return"function"==typeof e}},5266:(e,t,n)=>{"use strict";var r=n(3689),o=n(9985),i=/#|\.prototype\./,s=function(e,t){var n=c[a(e)];return n===u||n!==l&&(o(t)?r(t):!!t)},a=s.normalize=function(e){return String(e).replace(i,".").toLowerCase()},c=s.data={},l=s.NATIVE="N",u=s.POLYFILL="P";e.exports=s},981:e=>{"use strict";e.exports=function(e){return null==e}},8999:(e,t,n)=>{"use strict";var r=n(9985),o=n(2659),i=o.all;e.exports=o.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:r(e)||e===i}:function(e){return"object"==typeof e?null!==e:r(e)}},3931:e=>{"use strict";e.exports=!1},734:(e,t,n)=>{"use strict";var r=n(6058),o=n(9985),i=n(3622),s=n(9525),a=Object;e.exports=s?function(e){return"symbol"==typeof e}:function(e){var t=r("Symbol");return o(t)&&i(t.prototype,a(e))}},6310:(e,t,n)=>{"use strict";var r=n(3126);e.exports=function(e){return r(e.length)}},8702:(e,t,n)=>{"use strict";var r=n(8844),o=n(3689),i=n(9985),s=n(6812),a=n(7697),c=n(1236).CONFIGURABLE,l=n(6738),u=n(618),d=u.enforce,p=u.get,f=String,h=Object.defineProperty,m=r("".slice),v=r("".replace),y=r([].join),g=a&&!o((function(){return 8!==h((function(){}),"length",{value:8}).length})),b=String(String).split("String"),L=e.exports=function(e,t,n){"Symbol("===m(f(t),0,7)&&(t="["+v(f(t),/^Symbol\(([^)]*)\)/,"$1")+"]"),n&&n.getter&&(t="get "+t),n&&n.setter&&(t="set "+t),(!s(e,"name")||c&&e.name!==t)&&(a?h(e,"name",{value:t,configurable:!0}):e.name=t),g&&n&&s(n,"arity")&&e.length!==n.arity&&h(e,"length",{value:n.arity});try{n&&s(n,"constructor")&&n.constructor?a&&h(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var r=d(e);return s(r,"source")||(r.source=y(b,"string"==typeof t?t:"")),e};Function.prototype.toString=L((function(){return i(this)&&p(this).source||l(this)}),"toString")},8828:e=>{"use strict";var t=Math.ceil,n=Math.floor;e.exports=Math.trunc||function(e){var r=+e;return(r>0?n:t)(r)}},2560:(e,t,n)=>{"use strict";var r=n(7697),o=n(8506),i=n(5648),s=n(5027),a=n(8360),c=TypeError,l=Object.defineProperty,u=Object.getOwnPropertyDescriptor,d="enumerable",p="configurable",f="writable";t.f=r?i?function(e,t,n){if(s(e),t=a(t),s(n),"function"==typeof e&&"prototype"===t&&"value"in n&&f in n&&!n[f]){var r=u(e,t);r&&r[f]&&(e[t]=n.value,n={configurable:p in n?n[p]:r[p],enumerable:d in n?n[d]:r[d],writable:!1})}return l(e,t,n)}:l:function(e,t,n){if(s(e),t=a(t),s(n),o)try{return l(e,t,n)}catch(e){}if("get"in n||"set"in n)throw new c("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},2474:(e,t,n)=>{"use strict";var r=n(7697),o=n(2615),i=n(9556),s=n(5684),a=n(5290),c=n(8360),l=n(6812),u=n(8506),d=Object.getOwnPropertyDescriptor;t.f=r?d:function(e,t){if(e=a(e),t=c(t),u)try{return d(e,t)}catch(e){}if(l(e,t))return s(!o(i.f,e,t),e[t])}},2741:(e,t,n)=>{"use strict";var r=n(4948),o=n(2739).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},7518:(e,t)=>{"use strict";t.f=Object.getOwnPropertySymbols},3622:(e,t,n)=>{"use strict";var r=n(8844);e.exports=r({}.isPrototypeOf)},4948:(e,t,n)=>{"use strict";var r=n(8844),o=n(6812),i=n(5290),s=n(4328).indexOf,a=n(7248),c=r([].push);e.exports=function(e,t){var n,r=i(e),l=0,u=[];for(n in r)!o(a,n)&&o(r,n)&&c(u,n);for(;t.length>l;)o(r,n=t[l++])&&(~s(u,n)||c(u,n));return u}},9556:(e,t)=>{"use strict";var n={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,o=r&&!n.call({1:2},1);t.f=o?function(e){var t=r(this,e);return!!t&&t.enumerable}:n},5899:(e,t,n)=>{"use strict";var r=n(2615),o=n(9985),i=n(8999),s=TypeError;e.exports=function(e,t){var n,a;if("string"===t&&o(n=e.toString)&&!i(a=r(n,e)))return a;if(o(n=e.valueOf)&&!i(a=r(n,e)))return a;if("string"!==t&&o(n=e.toString)&&!i(a=r(n,e)))return a;throw new s("Can't convert object to primitive value")}},9152:(e,t,n)=>{"use strict";var r=n(6058),o=n(8844),i=n(2741),s=n(7518),a=n(5027),c=o([].concat);e.exports=r("Reflect","ownKeys")||function(e){var t=i.f(a(e)),n=s.f;return n?c(t,n(e)):t}},4684:(e,t,n)=>{"use strict";var r=n(981),o=TypeError;e.exports=function(e){if(r(e))throw new o("Can't call method on "+e);return e}},2713:(e,t,n)=>{"use strict";var r=n(3430),o=n(4630),i=r("keys");e.exports=function(e){return i[e]||(i[e]=o(e))}},4091:(e,t,n)=>{"use strict";var r=n(9037),o=n(5014),i="__core-js_shared__",s=r[i]||o(i,{});e.exports=s},3430:(e,t,n)=>{"use strict";var r=n(3931),o=n(4091);(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.34.0",mode:r?"pure":"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.34.0/LICENSE",source:"https://github.com/zloirock/core-js"})},146:(e,t,n)=>{"use strict";var r=n(3615),o=n(3689),i=n(9037).String;e.exports=!!Object.getOwnPropertySymbols&&!o((function(){var e=Symbol("symbol detection");return!i(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},7578:(e,t,n)=>{"use strict";var r=n(8700),o=Math.max,i=Math.min;e.exports=function(e,t){var n=r(e);return n<0?o(n+t,0):i(n,t)}},5290:(e,t,n)=>{"use strict";var r=n(4413),o=n(4684);e.exports=function(e){return r(o(e))}},8700:(e,t,n)=>{"use strict";var r=n(8828);e.exports=function(e){var t=+e;return t!=t||0===t?0:r(t)}},3126:(e,t,n)=>{"use strict";var r=n(8700),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},690:(e,t,n)=>{"use strict";var r=n(4684),o=Object;e.exports=function(e){return o(r(e))}},8732:(e,t,n)=>{"use strict";var r=n(2615),o=n(8999),i=n(734),s=n(4849),a=n(5899),c=n(4201),l=TypeError,u=c("toPrimitive");e.exports=function(e,t){if(!o(e)||i(e))return e;var n,c=s(e,u);if(c){if(void 0===t&&(t="default"),n=r(c,e,t),!o(n)||i(n))return n;throw new l("Can't convert object to primitive value")}return void 0===t&&(t="number"),a(e,t)}},8360:(e,t,n)=>{"use strict";var r=n(8732),o=n(734);e.exports=function(e){var t=r(e,"string");return o(t)?t:t+""}},3691:e=>{"use strict";var t=String;e.exports=function(e){try{return t(e)}catch(e){return"Object"}}},4630:(e,t,n)=>{"use strict";var r=n(8844),o=0,i=Math.random(),s=r(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+s(++o+i,36)}},9525:(e,t,n)=>{"use strict";var r=n(146);e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},5648:(e,t,n)=>{"use strict";var r=n(7697),o=n(3689);e.exports=r&&o((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},9834:(e,t,n)=>{"use strict";var r=n(9037),o=n(9985),i=r.WeakMap;e.exports=o(i)&&/native code/.test(String(i))},4201:(e,t,n)=>{"use strict";var r=n(9037),o=n(3430),i=n(6812),s=n(4630),a=n(146),c=n(9525),l=r.Symbol,u=o("wks"),d=c?l.for||l:l&&l.withoutSetter||s;e.exports=function(e){return i(u,e)||(u[e]=a&&i(l,e)?l[e]:d("Symbol."+e)),u[e]}},560:(e,t,n)=>{"use strict";var r=n(9989),o=n(690),i=n(6310),s=n(5649),a=n(5565);r({target:"Array",proto:!0,arity:1,forced:n(3689)((function(){return 4294967297!==[].push.call({length:4294967296},1)}))||!function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(e){return e instanceof TypeError}}()},{push:function(e){var t=o(this),n=i(t),r=arguments.length;a(n+r);for(var c=0;c{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},o.d=(e,t)=>{for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.f={},o.e=e=>Promise.all(Object.keys(o.f).reduce(((t,n)=>(o.f[n](e,t),t)),[])),o.u=e=>e+".js?"+{659:"fa17ff",839:"8ea4f5"}[e],o.miniCssF=e=>{},o.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),e={},t="ramotion-website:",o.l=(n,r,i,s)=>{if(e[n])e[n].push(r);else{var a,c;if(void 0!==i)for(var l=document.getElementsByTagName("script"),u=0;u{a.onerror=a.onload=null,clearTimeout(f);var o=e[n];if(delete e[n],a.parentNode&&a.parentNode.removeChild(a),o&&o.forEach((e=>e(r))),t)return t(r)},f=setTimeout(p.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=p.bind(null,a.onerror),a.onload=p.bind(null,a.onload),c&&document.head.appendChild(a)}},o.p="/",(()=>{var e={179:0};o.f.j=(t,n)=>{var r=o.o(e,t)?e[t]:void 0;if(0!==r)if(r)n.push(r[2]);else{var i=new Promise(((n,o)=>r=e[t]=[n,o]));n.push(r[2]=i);var s=o.p+o.u(t),a=new Error;o.l(s,(n=>{if(o.o(e,t)&&(0!==(r=e[t])&&(e[t]=void 0),r)){var i=n&&("load"===n.type?"missing":n.type),s=n&&n.target&&n.target.src;a.message="Loading chunk "+t+" failed.\n("+i+": "+s+")",a.name="ChunkLoadError",a.type=i,a.request=s,r[1](a)}}),"chunk-"+t,t)}};var t=(t,n)=>{var r,i,s=n[0],a=n[1],c=n[2],l=0;if(s.some((t=>0!==e[t]))){for(r in a)o.o(a,r)&&(o.m[r]=a[r]);if(c)c(o)}for(t&&t(n);l{"use strict";o(560);function e(e,t){if("string"==typeof t)try{t=JSON.parse(t)}catch(e){}if("object"==typeof t){const n=Object.keys(t||[]).map(Number).filter(Boolean).sort(((t,n)=>(t=Math.abs(2*e-t))>(n=Math.abs(2*e-n))?1:tfunction(e){let{top:t,bottom:n}=e.getBoundingClientRect();return Math.min(window.innerHeight-t,n)}(t)>e)).reduce(((e,t)=>{if(e.length){const n=e[e.length-1];n&&!n.contains(t)&&e.push(t)}else e.push(t);return e}),[]).filter((e=>!e.classList.contains("is-in-viewport")));return o.forEach((e=>e.classList.add("viewport-process"))),{page:r,nodes:o}}const a=function(){const e=document.createElement("div"),t={MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(let n in t)if(void 0!==e.style[n])return t[n];return!1}();var c=o(9554),l=o.n(c);const u=3456e4,d=l().get("source");async function p(){let e=document.referrer?new URL(document.referrer):null;!function(e){!e.utm_source||d&&d===e.utm_source||l().set("source",e.utm_source,{path:"/",expires:u}),e.utm_medium&&l().set("medium",e.utm_medium,{path:"/",expires:u}),e.utm_campaign&&l().set("campaign",e.utm_campaign,{path:"/",expires:u}),e.utm_internal_source&&l().set("internal_source",e.utm_internal_source,{path:"/",expires:u})}(function(e){return e?(/^[?#]/.test(e)?e.slice(1):e).split("&").reduce((function(e,t){var r=n(t.split("="),2),o=r[0],i=r[1];return e[o]=i?decodeURIComponent(i.replace(/\+/g," ")):"",e}),{}):{}}(location.search)),function(e){if(e&&e.host!==location.host){l().set("source",e.hostname.replace(/^www\./,""),{path:"/",expires:u}),l().set("medium","referral",{path:"/",expires:u});const t=e.pathname.split("/").filter((e=>e)).pop();t&&l().set("campaign",t,{path:"/",expires:u})}}(e);let t=l().get("fuid");if(!t){const e=function(e,t){for(t=e="";e++<36;t+=51*e&52?(15^e?8^Math.random()*(20^e?16:4):4).toString(16):"-");return t}();l().set("fuid",e,{path:"/",expires:u})}window.CE_READY=function(){window.CE2.set(1,t)}}function f(e){return/^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/.test(e)}window.onload=()=>{!function(){const e=i(),t="ontouchstart"in window||navigator.maxTouchPoints?"is-touch":"no-touch";e.classList.add(t)}(),p()};let h={data:{},saveData:function(){try{localStorage.sendMailData=JSON.stringify(h.data)}catch(e){}let e=document.querySelector("#contact .submit_form");null!==e&&(this.isValidProperties("firstName","lastName","jobTitle","email")?e.removeAttribute("disabled"):e.setAttribute("disabled","true"))},validator:{get firstName(){return!!(""+(h.data.firstName||"")).length},get lastName(){return!!(""+(h.data.lastName||"")).length},get jobTitle(){return!!(""+(h.data.jobTitle||"")).length},get email(){return f(h.data.email)}},isValidProperties:function(){return!Array.prototype.slice.call(arguments).filter((function(e){return h.validator.hasOwnProperty(e)&&!h.validator[e]})).length}};const m=function(){let e=document.getElementById("contact"),t=document.querySelector("form"),n=t?.id,r=t?.name;if(null===e||null==t)return;e.classList.remove("is-sending"),e.classList.remove("is-sended"),e.classList.remove("is-completed"),e.classList.remove("is-failed");const o=e.querySelector("#form_first-name"),i=e.querySelector("#form_last-name"),s=e.querySelector("#form_job-title"),a=e.querySelector("#form_email"),c=e.querySelector("#form_how-find-us"),l=e.querySelector("textarea");try{h.data=Object.assign(h.data,JSON.parse(localStorage.sendMailData))}catch(e){}function u(e,t){function n(){h.data[t]=function(e){let t=e.toLowerCase().split(" ");for(let e=0;e{e.setAttribute("disabled","true")})),!h.isValidProperties("firstName","lastName","email"))return i.forEach((e=>{e.removeAttribute("disabled")})),void o.classList.remove("is-sending");let s=new FormData;Object.keys(h.data).forEach((function(e){s.append(e,h.data[e])})),["fuid","gaid","source","campaign","conversion_page","internal_source"].forEach((t=>{const n=e.querySelector(`input[id=${t}]`);null!==n&&s.append(t,n.value)})),function(e,t,n){return e.append("form-name",n),fetch("/",{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:new URLSearchParams(e).toString()}).catch((e=>(console.error(e),null)))}(s,0,r).then((function(e){if(!e||200!==e.status)throw e;dataLayer&&dataLayer.push({event:"form_submit",eventModel:{form_id:n,form_name:r,form_destination:window.location.href,form_length:13,event_callback:"Function"},eventCallback:"Function"}),o.classList.remove("is-sending"),o.classList.remove("is-sended");const t=o.querySelector(".tFirstName");if(null!==t){const e=h.data.firstName;t.innerText=e?`, ${e}`:""}window.scrollTo({top:0,left:0,behavior:"smooth"}),document.querySelector("header").removeAttribute("style"),o.classList.remove("is-sended"),o.classList.add("is-complete"),setTimeout((function(){[...o.querySelectorAll("textarea, input:not([type=checkbox]):not([type=radio])")].forEach((function(e){e.value="",e.removeAttribute("disabled")})),[...o.querySelectorAll("input[type=checkbox], input[type=radio]")].forEach((function(e){this.checked=!1,this.removeAttribute("disabled")})),h.data={},h.saveData();let e=window.location.origin+"/thank-you?contact-us/";window.location.href=e}),1500)})).catch((function(e){var t;console.error(e),(t=o).classList.remove("is-sending"),t.classList.add("is-failed-state"),t.classList.add("is-failed")}))}u(o,"firstName"),u(i,"lastName"),u(s,"jobTitle"),u(a,"email"),u(c,"howFindUs"),l&&l.removeAttribute("style"),h.saveData(),t.addEventListener("submit",(e=>{e.preventDefault()}));const p=[...document.querySelectorAll(".submit_form")];p.length&&p.forEach((e=>{e.addEventListener("click",d)}))};function v(){this.classList.add("is-loaded")}const y=function(){(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).map((e=>e.querySelector("img:not(.is-loaded)"))).filter(Boolean).forEach((e=>{e&&e.hasAttribute("data-src")&&(e.setAttribute("src",e.getAttribute("data-src")),e.removeAttribute("data-src"),e.complete?(v.call(e),v.call(e.parentNode)):e.addEventListener("load",(()=>{v.call(e),v.call(e.parentNode)}),!1))}))};function g(e,t){let n=this;n.name=e,n.finalHandler=t,n.chain=[],n.stopped=n.paused=!0,n.__step=null,n.__nextStepIndex=0,n.__transitionEnd=function(e){!n.__step||n.__step.node!==e.target||r(n.__step.handler)&&!n.__step.handler.call(n.__step.node,e)||(n.__step.node.classList.remove("transition-chain-state"),n.__step.node.removeAttribute("data-transition-chain"),n.next())}}Object.assign(g.prototype,{next:function(){if(this.stopped||this.paused)return;if(this.__nextStepIndex===this.chain.length)return this.__step&&r(this.finalHandler)&&this.finalHandler.call(this.__step.node),void this.stop();let e=this.chain[this.__nextStepIndex++];var t;t=e,"[object Object]"!==Object.prototype.toString.call(t)&&(e={node:e}),e=Object.assign({},e),r(e.node)&&(e.node=e.node()),e.node?(e.node.setAttribute("data-transition-chain",this.name),e.node.classList.add("transition-chain-state"),this.__step=e):this.next()},run:function(){return this.stop().play()},play:function(){return this.stopped&&document.addEventListener(a,this.__transitionEnd),this.stopped=this.paused=!1,this.next(),this},stop:function(){return this.stopped||(document.removeEventListener(a,this.__transitionEnd),this.stopped=!0,this.__step=null,this.__nextStepIndex=0),this},pause:function(){return this.paused=!0,this}});const b=g,L=i();function w(e,t){let n={remove:t?"icon-burger":"icon-close",add:t?"icon-close":"icon-burger"},r=document.querySelector(e+" ."+n.remove);null!==r&&(r.classList.remove(n.remove),r.classList.add(n.add))}function S(){return document.querySelector(".page-view:not(.leave) header")}function E(){const e=S();if(!e)return;void 0===e.data&&(e.data={});let n=e.offsetHeight,r=Math.max(0,t()),o=window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight;if(void 0===e.data.lastScrollTop&&(e.data.lastScrollTop=r),void 0===e.data.position){if(e.data.position=0,!r)return;e.classList.add("bg-showed")}if(e.classList[r?"remove":"add"]("top-of-page"),r||(e.classList.remove("bg-showed"),e.removeAttribute("style")),e.classList.contains("animated"))return;let i=r-e.data.lastScrollTop;e.data.position=Math.min(Math.max(-n,e.data.position-i+(o-(e.data.lastWndHeight||o))),0),i<0&&e.data.position+i===-n&&(e.classList.add("animated"),e.classList.add("bg-showed"),e.data.position=0),e.data.lastScrollTop=r,e.data.lastWndHeight=o,r&&(e.style.transform="translateY("+e.data.position+"px)")}const x={prev:null,current:null,loading:!1,firstPath:location.pathname,hasHistory:window.History&&window.history instanceof History&&r(history.pushState),scripts:[],cache:{},handlers:[function(e){let t=(new DOMParser).parseFromString(e.body,"text/html");t&&[...t.querySelectorAll("script[src]")].filter(x.filterScript).forEach((e=>e.remove()))},function(e){if(e.isRoot)return;let t=(new DOMParser).parseFromString(e.body,"text/html");function n(e,t,n){const r=document.querySelector(e);r&&r.setAttribute(t,n||"")}document.title=e.title,n("meta[name=description]","content",e.description),n("link[rel=canonical]","href",e.canonical),n('meta[property="og:title"]',"content",e.ogTitle),n('meta[property="og:url"]',"content",e.ogUrl),function(e,t){const n=document.querySelector(e);n&&(n.textContent=t||"")}('script[type="application/ld+json"]',e.schema);let r=t.body.cloneNode(!0).children,o=Array.prototype.slice.call(r).filter((function(e){return e&&e.classList.contains("page-view")}))[0];o&&(o.data||(o.data={}),o.data.wheelHandler=function(){setTimeout((function(){o.classList.remove("enter")}),100)},o.data.wheelHandler(),document.body.append(o))}],linkCache:{},filterScript:function(e){const t=~x.scripts.indexOf(e.src);return t||x.scripts.push(e.src),t},toJSON:function(e,t){let n=t.replace(/&/g,"&"),r=/<(title)[^>]*>(.*?)<\/\1>/.exec(n),o=//.exec(n),i=//.exec(n),s=//)[1].split("<\/script>")[0],u=n.split(/]*>/)[1].split("")[0],d=/]*class="([^"]*)"/.exec(n);const p=e=>e?e[1]:"";return{path:e,title:r?r[2]:"",description:p(o),canonical:p(i),ogTitle:p(s),ogDescription:p(a),ogUrl:p(c),schema:l,spline://.test(n),bodyClass:d?d[1]:"",body:u}},get:async function(e){let t=this.cache[e];if(!t){try{t=await fetch(e).then((e=>e.text())).then((t=>x.toJSON(e,t))).then((e=>Object.assign({},e)))}catch(e){return console.error(e),e.responseText}return this.cache[e]=t,t}return t&&t.path?new Promise((function(e){e(t)})):t},handle:function(e,t){if(x.prev=x.current,this.handlers.forEach((function(n){n(e,t)})),e.spline){const e=document.createElement("script");e.defer=!0,e.type="module",e.src="https://unpkg.com/@splinetool/viewer/build/spline-viewer.js",document.body.appendChild(e)}e.bodyClass&&(document.body.className=e.bodyClass),x.current=e},go:function(e,n){let o=this;if(o.loading)return;o.loading=!0;if(!(document.querySelectorAll(".page-view").length>1))return x.firstPath=null,x.hasHistory&&("scrollRestoration"in history&&(history.scrollRestoration="manual"),history.pushState(null,"",e)),this.get(e).then((function(e){let i=document.querySelector(".page-view");i?(i.data||(i.data={}),i.data["scroll-position"]=t(),i.classList.add("leave"),x.handle(e,i),r(n)&&n(e),o.loading=!1):o.loading=!1})).catch((function(e){o.loading=!1,console.error(e)}));o.loading=!1}},A=x;function q(){return window.innerWidth>1024}function O(e,t){e.classList.contains(".card")||(e=e.closest(".card"));const n=e.querySelector("video");function r(){t&&(n.pause(),n.currentTime=0)}if(null!==n){let e=n.play();void 0!==e?e.then((function(){r()})).catch((function(e){console.error(e)})):r()}}function _(t){const n=t.querySelector("video");if(null!==n&&t.classList.contains("intersected")){const r=n.getAttribute("data-src"),o=e(n.offsetWidth,JSON.parse(r));n.setAttribute("src",o),n.removeAttribute("data-src"),n.oncanplay=n.oncanplaythrough=function(){n.readyState===n.HAVE_ENOUGH_DATA&&n.classList.add("loaded")},t.addEventListener("mouseover",(()=>{O(n)}),!1),t.addEventListener("mouseout",(()=>{O(n,!0)}),!1)}}function T(e,t){return Array.prototype.slice.call(document.querySelectorAll(e)).map((function(e){return e.closest(t)})).filter(Boolean)}function j(){let e=T("video[data-src]",".card");if(!e.length)return;let t=new IntersectionObserver((function(e,t){e.forEach((function(e){var n;e.intersectionRatio&&((n=e.target).classList.add("intersected"),q()&&_(n),t.unobserve(e.target))}))}));e.forEach((function(e){t.observe(e)}))}function k(){if(q()){let e=T("video[data-src]",".card");if(!e.length)return;e.forEach((function(e){_(e)}))}}let P=new b("page-leave",(function(){this.remove()}));P.chain=[{node:function(){const e=document.querySelector(".page-view.leave");if(e){const t=e.querySelector(".page-view-inner");t&&(t.style.transform="translateY(-"+e.data["scroll-position"]+"px)"),window.scrollTo(0,0)}return e},handler:function(e){return"opacity"===e.propertyName}}];const C=P;function N(){const e=document.querySelector(".logos");if(e){const i=document.querySelectorAll(".logos .item"),s=document.querySelectorAll(".logos .client"),a=document.querySelector(".custom-cursor"),c=Array.from(i),l=5,u=[];for(let b=0;b{e.classList.toggle("active")})),setTimeout((()=>{d++,d===u[0].length+u.length-1?(d=0,setTimeout((()=>{p=!1,y()}),v)):(p=!1,y())}),m)}const g=new IntersectionObserver((t=>{t.forEach((t=>{t.isIntersecting&&!h&&(i.forEach((e=>{e.classList.add("animated")})),setTimeout((()=>{h=!0,y(),g.unobserve(e)}),1e3))}))}),{threshold:.5});g.observe(e),e.addEventListener("mouseenter",(()=>{f=!0})),e.addEventListener("mouseleave",(()=>{f=!1,!p&&h&&setTimeout((()=>{y()}),v)})),i.forEach((t=>{t.addEventListener("mouseenter",(()=>{e.classList.add("hovered"),t.classList.add("hovered")})),t.addEventListener("mouseleave",(()=>{e.classList.remove("hovered"),t.classList.remove("hovered")}))})),s.forEach((e=>{e.addEventListener("mouseenter",(()=>{"a"===e.tagName.toLowerCase()&&a.classList.add("visible")})),e.addEventListener("mouseleave",(()=>{a.classList.remove("visible")}))}))}const t=document.querySelector(".reel"),n=t.querySelector(".button");t.addEventListener("mousemove",(e=>{const r=t.getBoundingClientRect(),o=e.clientX-r.left-75,i=e.clientY-r.top-30;n.style.left=`${o}px`,n.style.top=`${i}px`})),t.addEventListener("mouseenter",(()=>{n.classList.add("visible")})),t.addEventListener("mouseleave",(()=>{n.classList.remove("visible")}));const r=document.querySelector(".logos"),o=document.querySelector(".custom-cursor");r.addEventListener("mousemove",(e=>{const t=r.getBoundingClientRect(),n=e.clientX-t.left-32,i=e.clientY-t.top-32;o.style.left=`${n}px`,o.style.top=`${i}px`}));(()=>{const e=document.querySelector(".services-block"),t=document.querySelector(".animation-container");if(!e||!t)return;if(/Mobi|Android/i.test(navigator.userAgent)){const n=e.querySelectorAll(".not-provide"),r=e.querySelectorAll(".provide");n.forEach((e=>{e.classList.add("animated")})),r.forEach((e=>{e.classList.add("scaled","animated")})),t.classList.add("animated")}else{let n=lottie.loadAnimation({container:t,renderer:"svg",loop:!1,autoplay:!1,path:"./lottie/circles.json"});const r=e.querySelectorAll(".not-provide"),o=e.querySelectorAll(".provide");let i=!1;const s=()=>{r.forEach((e=>{setTimeout((()=>{e.classList.add("animated")}),3e3)})),o.forEach(((e,t)=>{setTimeout((()=>{e.classList.add("scaled"),setTimeout((()=>e.classList.add("animated")),1e3)}),2200+100*t)})),setTimeout((()=>{t.classList.add("animated"),n.play()}),2e3)},a=new IntersectionObserver((t=>{t.forEach((t=>{t.isIntersecting&&!i&&(i=!0,s(),a.unobserve(e))}))}),{root:null,threshold:.5});a.observe(e)}})();(()=>{const e=()=>/Mobi|Android/i.test(navigator.userAgent);e()||document.querySelectorAll(".service.provide .asset video").forEach((e=>{const t=e.getAttribute("data-src");if(t){const n=document.createElement("source");n.src=t,n.type="video/mp4",e.appendChild(n)}})),document.querySelectorAll(".service.provide").forEach((t=>{const n=t.querySelector(".video1"),r=t.querySelector(".video2");n&&(t.addEventListener("mouseenter",(()=>{e()||n.play().catch((e=>console.error("Error playing video:",e)))})),t.addEventListener("mouseleave",(()=>{e()||(n.pause(),n.currentTime=0,r&&(r.pause(),r.currentTime=0))}))),r&&(r.addEventListener("mouseenter",(()=>{e()||(n&&n.pause(),r.play().catch((e=>console.error("Error playing video:",e))))})),r.addEventListener("mouseleave",(()=>{!e()&&t.matches(":hover")&&n&&n.play().catch((e=>console.error("Error playing video:",e))),r.pause()})))}))})()}function I(){function e(e,t){let n,r,o=0,i=function(){let s=+new Date,a=o-s;if(a<60){if(n&&n.run(1),n=e.shift(),!n)return void("function"==typeof t&&t());r=1e3*n.time,o=s+r,n.run(0)}else{let e=a/r;e=1-Math.pow(e,3),n.run(e)}requestAnimationFrame(i)};i()}function t(e){return[...e.children].reduce(((e,t)=>e+=t.offsetHeight),0)}class n{constructor(e){this.wrapper=e,this.li=[],this.activeLi=0}expand(n){if(null!==n){let r=t(n.lastElementChild);n.classList.add("opened"),e([{time:.3,node:n.lastElementChild,start:0,end:r,run:function(e){this.node.style.height=e*(this.end-this.start)+this.start+"px"}}],(()=>{let e=n.getBoundingClientRect().top;(e<0||window.innerWidth<768)&&window.scrollBy({top:Math.ceil(e-93),left:0,behavior:"smooth"})}))}}collapse(n){if(null!==n&&0!==n.lastElementChild.offsetHeight){let r=t(n.lastElementChild);n.classList.remove("opened"),e([{time:.3,node:n.lastElementChild,start:r,end:0,run:function(e){this.node.style.height=e*(this.end-this.start)+this.start+"px"}}])}}updateItems(e){let t=this.activeLi;a(e),this.li.forEach(((n,r)=>{r!==e?this.collapse(n):n.classList.contains("opened")?(n.classList.remove("opened"),this.collapse(n)):(this.expand(n,r>t),this.activeLi=r)}))}clickLiEvent(e){e.preventDefault();const t=e.target;if(t){const e=t.closest("li");if(!e)return;const n=Number(e.getAttribute("data-index"));this.updateItems(n),c(n)}}init(){this.li=[...this.wrapper.children].filter((e=>"LI"===e.tagName))||[],this.li.forEach(((e,t)=>{e.setAttribute("data-index",t),0!==t&&this.collapse(e);const n=e.querySelector(".collapse-control");n&&n.addEventListener("click",this.clickLiEvent.bind(this),!1)})),window.addEventListener("resize",function(){const e=this.li[this.activeLi];e&&e.classList.contains("opened")&&e.lastElementChild.removeAttribute("style")}.bind(this))}}let r,o,i=[],s=0;function a(e){r.forEach(((t,n)=>{const r=t.querySelector(".logo"),o=t.querySelector(".logo-lottie"),s=t.querySelector("blockquote"),a=t.querySelector(".author");n===e?(t.style.display="block",r&&r.classList.add("animate-logo"),o&&i[n]&&i[n].goToAndPlay(0),s&&s.classList.add("animate-blockquote"),a&&a.classList.add("animate-author")):(t.style.display="none",r&&r.classList.remove("animate-logo"),s&&s.classList.remove("animate-blockquote"),a&&a.classList.remove("animate-author"))}));const t=document.querySelector(".current");t&&(t.textContent=e+1)}function c(e){s=e,a(s),function(e,t){0!==e.length&&(e.forEach((e=>e.classList.remove("opened"))),e[t].classList.add("opened"))}(o,s)}const l=document.querySelectorAll(".section-collapse"),u=document.querySelectorAll(".testimonials-slider");l.length&&[...l].forEach((e=>{new n(e).init()})),u.length&&u.forEach((function(e){var t;t=e,i.forEach((e=>e.destroy())),i=[],t.querySelectorAll(".logo-lottie").forEach((e=>{let t=lottie.loadAnimation({container:e,renderer:"svg",loop:!1,autoplay:!1,path:e.dataset.lottie});i.push(t)}));const n=e.querySelector(".prev"),l=e.querySelector(".next"),u=e.querySelector(".all");r=e.querySelectorAll(".testimonials-item"),o=document.querySelectorAll(".capability .section-collapse > li"),u&&(u.textContent=r.length),a(s),n&&n.addEventListener("click",(()=>{s=(s-1+r.length)%r.length,c(s)})),l&&l.addEventListener("click",(()=>{s=(s+1)%r.length,c(s)})),new IntersectionObserver(((e,t)=>{e.forEach((e=>{e.isIntersecting&&i.length>0&&(i[0].goToAndPlay(0),t.unobserve(e.target))}))}),{root:null,rootMargin:"0px",threshold:.1}).observe(e)}))}function M(){function e(e,t,n){e.forEach(((e,r)=>{const o=e.querySelector(".logo"),i=e.querySelector(".logo-lottie"),s=e.querySelector("blockquote"),a=e.querySelector(".author");r===n?(e.style.display="block",o&&o.classList.add("animate-logo"),i&&t[r]&&(i.style.opacity="1",t[r].goToAndPlay(0)),s&&s.classList.add("animate-blockquote"),a&&a.classList.add("animate-author")):(e.style.display="none",o&&o.classList.remove("animate-logo"),s&&s.classList.remove("animate-blockquote"),a&&a.classList.remove("animate-author"))}));const r=document.querySelector(".current");r&&(r.textContent=n+1)}document.querySelectorAll(".testimonials-slider").forEach((function(t){let n=[],r=0;const o=t.querySelector(".prev"),i=t.querySelector(".next"),s=t.querySelector(".all"),a=t.querySelectorAll(".testimonials-item");s&&(s.textContent=a.length),new IntersectionObserver(((s,c)=>{s.forEach((s=>{s.isIntersecting&&(n=function(e){let t=[];return e.querySelectorAll(".logo-lottie").forEach((e=>{let n=lottie.loadAnimation({container:e,renderer:"svg",loop:!1,autoplay:!1,path:e.dataset.lottie});n.addEventListener("DOMLoaded",(()=>{n.goToAndStop(0,!0)})),t.push(n)})),t}(t),setTimeout((()=>{e(a,n,r)}),100),o&&o.addEventListener("click",(()=>{r=(r-1+a.length)%a.length,e(a,n,r)})),i&&i.addEventListener("click",(()=>{r=(r+1)%a.length,e(a,n,r)})),c.unobserve(s.target))}))}),{root:null,rootMargin:"0px",threshold:.1}).observe(t)}))}var D;window.dataLayer=window.dataLayer||[],function(){let e=document.querySelector("header");if(!e)return;e.data={},e.data.position=0;const t=function(){let e=document.querySelector(".navigation"),t=document.querySelectorAll(".secondary-nav"),n=document.querySelectorAll(".secondary-nav .cols"),r={},o={},i=[];return e&&(e.classList.add("is-visible"),i=s(0,e,["ul li","p"]).nodes,r=new b("open-navigation",(function(){i.forEach((e=>{e.classList.remove("is-hidden"),e.classList.remove("is-complete")}))})),r.chain=[{node:function(){let t=window,n=document.querySelector(".page-view"),r=t.scrollY;n.data||(n.data={}),n.data["scroll-top"]=r;let o=n.querySelector(".page-view-inner");return o&&(o.style.transform="translateY(-"+r+"px)"),t.scrollTo(0,0),L&&(L.classList.add("views-hidden"),L.classList.add("navigation-opened")),e.classList.add("is-visible"),setTimeout((()=>{e.classList.add("is-opened")}),100),e},handler:function(e){return"opacity"===e.propertyName}}].concat(i.map((function(e,t,n){return{node:e,handler:function(e){let r=t===n.length-1?"opacity":"visibility",o=e.propertyName===r;return o&&this.classList.add("is-complete"),o}}}))),e.classList.remove("is-visible"),o=new b("close-navigation",(function(){let e=window,t=document.querySelector(".page-view");null!==L&&L.classList.remove("views-hidden");const n=t.querySelector(".page-view-inner");n&&n.removeAttribute("style"),e.scrollTo(0,t.data["scroll-top"]),this.classList.remove("is-visible")})),o.chain=[function(){return r.stop(),L&&L.classList.remove("navigation-opened"),e.classList.remove("is-opened"),e.classList.remove("is-subnav"),n.forEach((e=>{e.classList.remove("is-visible")})),e}],t.forEach((t=>{t.querySelector(".cols"),t.addEventListener("click",(()=>{e.classList.add("is-subnav")}))}))),{navigationNodes:i,openNavigation:r,closeNavigation:o}}();window.addEventListener("scroll",E,!1),document.addEventListener("click",(e=>{const n=".open-navigation",r=e.target;if((r.closest(n)||r.classList.contains(n))&&(e.preventDefault(),w("header",!0),w(".navigation",!0),t.navigationNodes.forEach((e=>{e.removeAttribute("data-transition-chain"),e.classList.remove("is-complete"),e.classList.remove("transition-chain-state"),e.classList.add("is-hidden")})),t.openNavigation.run()),"A"===r.tagName&&r.closest(".navigation")||r.closest(".navigation button.close")){e&&e.target&&e.target.href&&r.origin!==location.origin||(w("header",!1),w(".navigation",!1)),t.closeNavigation.run()}if("A"===r.tagName&&r.closest(".navigation")||r.closest(".navigation button.back")){document.querySelector(".navigation").classList.remove("is-subnav")}}),!1)}(),document.addEventListener("click",(function(e){let t=e.target;const n="A"===t.tagName&&t.getAttribute("href")?t:t.closest("a[href]");if(!(!n||n.target||e.metaKey||e.ctrlKey||function(e){return e&&0===e.pathname.indexOf("/blog")}(n)||(e.preventDefault(),location.href&&location.origin+location.pathname===n.href)))return location.origin!==n.origin?(n.getAttribute("rel")||n.setAttribute("rel","nofollow noopener"),open(n,"_blank")):void A.go(n.pathname+n.search)}),!1),window.addEventListener("popstate",(function(){location.pathname!==A.firstPath&&(location.href=location.href)})),A.handlers.push((function(){const e=S();e&&(e.data||(e.data={},e.data.position=0),e.addEventListener(a,(t=>{t.stopPropagation(),e.classList.contains("animated")&&e.classList.remove("animated")})))})),A.handlers.push((function(){document.querySelectorAll(".has-subnav").forEach((e=>{e.addEventListener("mouseenter",(()=>{document.body.classList.add("subnav-open")})),e.addEventListener("mouseleave",(()=>{document.body.classList.remove("subnav-open")})),e.addEventListener("touchstart",(()=>{document.body.classList.add("subnav-open")})),e.addEventListener("touchend",(()=>{document.body.classList.remove("subnav-open")}))})),window.addEventListener("beforeunload",(()=>{document.body.classList.remove("subnav-open")}))})),A.handlers.push((async function(e){e?.path&&await async function(e){let t=document.querySelector("input[id=fuid]"),n=document.querySelector("input[id=gaid]"),r=document.querySelector("input[id=source]"),i=document.querySelector("input[id=campaign]"),s=document.querySelector("input[id=conversion_page]"),a=document.querySelector("input[id=internal_source]");const{default:c}=await Promise.all([o.e(659),o.e(839)]).then(o.bind(o,8839));[t,n,r,i,s,a].filter(Boolean).forEach((function(e){null!==e&&("source"===e.name?e.value=`${c(l().get("source")||"direct")}/${c(l().get("medium")||"none")}`:"conversion_page"===e.name?document.referrer&&(e.value=c(new URL(document.referrer).pathname||"not set")):"gaid"===e.name?e.value=c(l().get("_ga")||""):e.value=c(l().get(e.id)||""))}))}(e.path)})),A.handlers.push((function(){"/"===location.pathname&&N()})),A.handlers.push((function(){if(location.pathname.startsWith("/work")){const e=document.querySelectorAll("#filters h2"),t=document.querySelectorAll(".card"),n=new URLSearchParams(window.location.search).get("filter");function r(e){const t=e.target.closest("h2");i(t),s(),o(t.dataset.filter)}function o(e){let t=new URL(window.location.href);t.searchParams.set("filter",e),history.replaceState({},"",t)}function i(t){e.forEach((e=>{e.classList.remove("active")})),t.classList.add("active")}function s(){const n=[];e.forEach((e=>{e.classList.contains("active")&&n.push(e.dataset.filter)}));let r=1;t.forEach((e=>{const t=e.getAttribute("data-category");if(t){const o=t.split(" ");0===n.length||n.some((e=>o.includes(e)))?(e.style.display="block",e.dataset.gridIndex=`${r}`,r++):(e.style.display="none",e.dataset.gridIndex="")}}))}e.forEach((e=>{e.addEventListener("click",r);e.dataset.filter===n&&(i(e),s())})),s(),e.forEach((e=>{const t=e.querySelector(".button-overlay");e.addEventListener("mouseleave",(()=>{t.classList.add("slide-out")})),e.addEventListener("transitionend",(()=>{e.matches(":hover")||t.classList.remove("slide-out")}))}))}})),A.handlers.push((function(){if(location.pathname.startsWith("/about")){const e=document.querySelector(".filter-wrapper");if(!e)return;const t=e.querySelectorAll(".filter-btns h2"),n=e.querySelectorAll(".filter-tabs .tab");function r(e){t.forEach(((t,n)=>{n===e?t.classList.add("active"):t.classList.remove("active")})),n.forEach(((t,n)=>{n===e?t.classList.add("active"):t.classList.remove("active")}))}t.forEach((e=>{e.addEventListener("click",(function(){r(parseInt(this.getAttribute("data-index")))}))})),I()}else{const o=document.querySelectorAll(".section-collapse"),i=document.querySelectorAll(".testimonials-slider");o.length&&function(){function e(e,t){let n,r,o=0,i=function(){let s=+new Date,a=o-s;if(a<60){if(n&&n.run(1),n=e.shift(),!n)return void("function"==typeof t&&t());r=1e3*n.time,o=s+r,n.run(0)}else{let e=a/r;e=1-Math.pow(e,3),n.run(e)}requestAnimationFrame(i)};i()}function t(e){return[...e.children].reduce(((e,t)=>e+t.offsetHeight),0)}class n{constructor(e){this.wrapper=e,this.li=[],this.activeLi=0}expand(n){if(null!==n){let r=t(n.lastElementChild);n.classList.add("opened"),e([{time:.3,node:n.lastElementChild,start:0,end:r,run:function(e){this.node.style.height=e*(this.end-this.start)+this.start+"px"}}],(()=>{let e=n.getBoundingClientRect().top;(e<0||window.innerWidth<768)&&window.scrollBy({top:Math.ceil(e-93),left:0,behavior:"smooth"})}))}}collapse(n){if(null!==n&&0!==n.lastElementChild.offsetHeight){let r=t(n.lastElementChild);n.classList.remove("opened"),e([{time:.3,node:n.lastElementChild,start:r,end:0,run:function(e){this.node.style.height=e*(this.end-this.start)+this.start+"px"}}])}}updateItems(e){let t=this.activeLi;this.li.forEach(((n,r)=>{r!==e?this.collapse(n):n.classList.contains("opened")?(n.classList.remove("opened"),this.collapse(n)):(this.expand(n,r>t),this.activeLi=r)}))}clickLiEvent(e){e.preventDefault();const t=e.target;if(t){const e=t.closest("li");if(!e)return;const n=e.getAttribute("data-index");this.updateItems(Number(n))}}init(){this.li=[...this.wrapper.children].filter((e=>"LI"===e.tagName))||[],this.li.forEach(((e,t)=>{e.setAttribute("data-index",t),0!==t&&this.collapse(e);const n=e.querySelector(".collapse-control");n&&n.addEventListener("click",this.clickLiEvent.bind(this),!1)})),window.addEventListener("resize",function(){const e=this.li[this.activeLi];e&&e.classList.contains("opened")&&e.lastElementChild.removeAttribute("style")}.bind(this))}}const r=document.querySelectorAll(".section-collapse");r.length&&[...r].forEach((e=>{new n(e).init()}))}(),i.length&&M()}})),A.handlers.push((function(){let e=document.querySelector(".page-view:not(.leave)");e&&e.querySelector(".work-block")&&window.addEventListener("resize",k),j()})),window.addEventListener("scroll",(function(){if(null!==document.querySelector(".page-view.leave"))return;const e=s(-150).nodes;e.forEach((e=>{e.classList.add("is-in-viewport"),setTimeout((()=>{requestAnimationFrame((()=>{e.classList.add("page-enter-complete")}))}),100)})),y(e)}),!1),A.handlers.push((function(){let e=s(20);if(!e||!e.page)return;e.page.classList.add("transition-chain");let t=e.page,n=new b("page-enter",(function(){t.classList.remove("transition-chain"),e.nodes.forEach((e=>{e.classList.remove("page-enter-complete"),e.classList.remove("viewport-process")}))}));y(e.nodes),n.chain=e.nodes.map((function(e,t,n){return{node:e,handler:function(e){let r=e.propertyName===(t===n.length-1?"opacity":"visibility");return r&&(this.classList.add("page-enter-complete"),this.classList.add("is-in-viewport")),r}}})),setTimeout((()=>{requestAnimationFrame((()=>{n.run()}))}),10),A.current&&C.run()})),A.handlers.push((function(){document.querySelectorAll(".contact-us").forEach((e=>{const t=e.querySelector(".default-text"),n=e.querySelector(".hover-text"),r=t.offsetWidth,o=n.offsetWidth,i=Math.max(r,o);e.style.width=`${i}px`,n.classList.add("counted");let s=!1,a=null;const c=function(e,t){let n;return function(){for(var r=arguments.length,o=new Array(r),i=0;i{clearTimeout(n),e(...o)}),t)}}((()=>{e.matches(":hover")||requestAnimationFrame((()=>{e.classList.remove("slide-out"),s=!1}))}),50);e.addEventListener("mouseenter",(()=>{clearTimeout(a),s&&e.classList.remove("slide-out"),s=!1})),e.addEventListener("mouseleave",(()=>{s||(s=!0,requestAnimationFrame((()=>{e.classList.add("slide-out")}))),a=setTimeout(c,300)})),e.addEventListener("transitionend",(e=>{"transform"===e.propertyName&&c()}))}))})),A.handlers.push((function(){const e=document.querySelectorAll(".stats .item strong");if(e){const t=50,n=new IntersectionObserver((e=>{e.forEach(((e,r)=>{e.isIntersecting&&(setTimeout((()=>{e.target.classList.add("animated")}),r*t),n.unobserve(e.target))}))}));e.forEach((e=>{n.observe(e)}))}})),A.handlers.push((function(){const e=document.querySelector(".awards");if(e){document.querySelectorAll(".awards .item").forEach((t=>{t.addEventListener("mouseenter",(()=>{e.classList.add("hovered"),t.classList.add("hovered")})),t.addEventListener("mouseleave",(()=>{e.classList.remove("hovered"),t.classList.remove("hovered")}))}))}})),A.handlers.push((function(){function t(t){return{true:function(){const n=t.getAttribute("data-src");if(n){const r=e(window.innerWidth||1440,JSON.parse(n));t.setAttribute("src",r),t.removeAttribute("data-src")}t.paused&&requestAnimationFrame((()=>{t.play()}))},false:function(){t.played&&requestAnimationFrame((()=>{t.pause()}))}}}document.querySelectorAll(".page-view:not(.leave) article .video:not(.paused) video").forEach((e=>{var n,r;n=e,r=t,new IntersectionObserver((function(e){e.forEach((e=>{r(e.target)[e.isIntersecting]()}))}),{root:null,rootMargin:"0px",threshold:[0,1]}).observe(n)}))})),A.handlers.push((function(){function e(e){const t=e.target,n=t&&t.closest(".video");n&&n.classList.add("loaded")}"ontouchstart"in window||navigator.maxTouchPoints,document.querySelectorAll(".page-view:not(.leave) article video").forEach((t=>{t.addEventListener("loadeddata",e,!1),t.addEventListener("click",(function(e){t[t.paused?"play":"pause"](),function(e){const t=e.target,n=t&&t.closest(".video");t.played.length&&!document.hidden&&n&&(n.classList.remove("played"),n.classList.remove("paused"),setTimeout((()=>{requestAnimationFrame((()=>{n.classList.add(t.paused?"paused":"played")}))}),10))}(e)}),!1)}))})),document.addEventListener("visibilitychange",(function(){document.querySelectorAll(".page-view:not(.leave) article .video:not(.paused) video").forEach((e=>{e[document.hidden?"pause":"play"]()}))}),!1),A.handlers.push(m),D=A.toJSON(location.pathname,document.documentElement.outerHTML),A.cache[D.path]=D,A.handle(Object.assign({isRoot:!0},D))})()})(); //# sourceMappingURL=main.js.map?d6f1a0 document.addEventListener('DOMContentLoaded', () => { const filterButtons = document.querySelectorAll('#filters h2'); const portfolioItems = document.querySelectorAll('.card'); // Function to shuffle an array (Fisher-Yates shuffle algorithm) function shuffleArray(array) { for (let i = array.length - 1; i > 0; i--) { const j = Math.floor(Math.random() * (i + 1)); [array[i], array[j]] = [array[j], array[i]]; } return array; } filterButtons.forEach(button => { button.addEventListener('click', () => { // Remove 'active' class from all buttons filterButtons.forEach(btn => btn.classList.remove('active')); // Add 'active' class to the clicked button button.classList.add('active'); const category = button.getAttribute('data-filter'); // Convert NodeList to an array and shuffle it const itemsArray = Array.from(portfolioItems); const shuffledItems = shuffleArray(itemsArray); // Loop through each shuffled portfolio item shuffledItems.forEach(item => { const itemCategories = item.getAttribute('data-category').split(' '); // Show item if it matches the category if (itemCategories.includes(category) || category === 'featured') { item.style.display = ''; // Show the item } else { item.style.display = 'none'; // Hide the item } }); }); }); // Simulate click on the first filter button to load default items if (filterButtons.length > 0) { filterButtons[0].click(); } // Collapsible Navigation Menu document.querySelectorAll('.nav-item.has-subnav > span').forEach(function(item) { item.addEventListener('click', function() { const subNav = this.nextElementSibling; if (subNav) { // Check if subNav exists subNav.style.display = subNav.style.display === 'none' || subNav.style.display === '' ? 'block' : 'none'; } }); }); });