"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2692],{10320:(e,t,r)=>{function n(){return typeof window>"u"}function i(e){n()||(Array.isArray(window.dataLayer)?window.dataLayer.push({event:"data_event",...window.browserId?{browser_id:window.browserId}:{},...window.sessionId?{session_id:window.browserSessionId}:{},...window.customerId?{customer_id:window.customerId}:{},...e}):console.log("window.dataLayer does not exist"),Array.isArray(window._mtm)?window._mtm.push(e):console.log("window._mtm does not exist"))}function o(e,t){if(n())return void console.log("DataLayer is not initialized, or you are trying to push event on server side.");let r={};try{r=JSON.parse(sessionStorage.getItem("analytics.history")||"{}")}catch(e){console.error(e)}Array.isArray(r[e])||(r[e]=[]);let o=JSON.stringify(t);if(r[e].find(e=>e===o))return void console.log(`Skipping push event, because event ${o} with key "${e}" has been pushed already.`);i(t),r[e].push(o);try{sessionStorage.setItem("analytics.history",JSON.stringify(r))}catch(e){console.error(e)}}function a(){if(n())return void console.warn("Cant initialize tag manager on server side");if("function"!=typeof window._init_mtm?console.warn("Cant init MTM, please check if MTM script exists"):window._init_mtm(),"function"!=typeof window._init_ytm){if("object"==typeof window._wa)return;console.warn("Cant init YTM, please check if YTM script exists")}else window._init_ytm()}r.d(t,{Fj:()=>i,eZ:()=>o,yu:()=>a})},81637:(e,t,r)=>{r.d(t,{VL:()=>C,_b:()=>g,cV:()=>k,oq:()=>L,p2:()=>M,vx:()=>j});let n=/#/g,i=/&/g,o=/\//g,a=/=/g,s=/\+/g,c=/%5e/gi,l=/%60/gi,u=/%7b/gi,f=/%7c/gi,p=/%7d/gi,d=/%20/gi;function h(e){return encodeURI(""+e).replace(f,"|")}function w(e){return h("string"==typeof e?e:JSON.stringify(e)).replace(s,"%2B").replace(d,"+").replace(n,"%23").replace(i,"%26").replace(l,"`").replace(c,"^").replace(o,"%2F")}function y(e){return w(e).replace(a,"%3D")}function m(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function g(e){return Object.keys(e).filter(t=>void 0!==e[t]).map(t=>{var r;return(("number"==typeof(r=e[t])||"boolean"==typeof r)&&(r=String(r)),r)?Array.isArray(r)?r.map(e=>`${y(t)}=${w(e)}`).join("&"):`${y(t)}=${w(r)}`:y(t)}).filter(Boolean).join("&")}let _=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,v=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,b=/^([/\\]\s*){2,}[^/\\]/,A=/\/$|\/\?|\/#/,I=/^\.?\//;function S(e,t={}){return("boolean"==typeof t&&(t={acceptRelative:t}),t.strict)?_.test(e):v.test(e)||!!t.acceptRelative&&b.test(e)}function k(e,t){var r;if(!(r=t)||"/"===r||S(e))return e;let n=function(e="",t){return(!function(e="",t){return e.endsWith("/")}(e)?e:e.slice(0,-1))||"/"}(t);return e.startsWith(n)?e:L(n,e)}function C(e,t){let r=j(e),n={...function(e=""){let t={};for(let r of("?"===e[0]&&(e=e.slice(1)),e.split("&"))){let e=r.match(/([^=]+)=?(.*)/)||[];if(e.length<2)continue;let n=m(e[1].replace(s," "));if("__proto__"===n||"constructor"===n)continue;let i=m((e[2]||"").replace(s," "));void 0===t[n]?t[n]=i:Array.isArray(t[n])?t[n].push(i):t[n]=[t[n],i]}return t}(r.search),...t};return r.search=g(n),N(r)}function L(e,...t){let r=e||"";for(let e of t.filter(e=>e&&"/"!==e))if(r){let t=e.replace(I,"");r=function(e="",t){return e.endsWith("/")?e:e+"/"}(r)+t}else r=e;return r}function M(e,t){if(!t||"#"===t)return e;let r=j(e);return r.hash=""===t?"":"#"+h(t).replace(u,"{").replace(p,"}").replace(c,"^"),N(r)}let $=Symbol.for("ufo:protocolRelative");function j(e="",t){let r=e.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(r){let[,e,t=""]=r;return{protocol:e.toLowerCase(),pathname:t,href:e+t,auth:"",host:"",search:"",hash:""}}if(!S(e,{acceptRelative:!0}))return t?j(t+e):x(e);let[,n="",i,o=""]=e.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[],[,a="",s=""]=o.match(/([^#/?]*)(.*)?/)||[];"file:"===n&&(s=s.replace(/\/(?=[A-Za-z]:)/,""));let{pathname:c,search:l,hash:u}=x(s);return{protocol:n.toLowerCase(),auth:i?i.slice(0,Math.max(0,i.length-1)):"",host:a,pathname:c,search:l,hash:u,[$]:!n}}function x(e=""){let[t="",r="",n=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:r,hash:n}}function N(e){let t=e.pathname||"",r=e.search?(e.search.startsWith("?")?"":"?")+e.search:"",n=e.hash||"",i=e.auth?e.auth+"@":"",o=e.host||"";return(e.protocol||e[$]?(e.protocol||"")+"//":"")+i+o+t+r+n}}}]);