1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7177],{14585:(e,o,t)=>{"use strict";let n;t.d(o,{m5:()=>i});var r=t(52078),l=t(64663);let s={apiKey:"AIzaSyBKXAz5-DU0ROKE4iA0ru7tPXuyJ6jb390",authDomain:"topii-282522.firebaseapp.com",databaseURL:"https://topii-282522.firebaseio.com",projectId:"topii-282522",storageBucket:"topii-282522.firebasestorage.app",messagingSenderId:"690313886220",appId:"1:690313886220:web:8cbbc1ece85672783e8c29",measurementId:"G-7X0BQ5E08F"},a=null,i=async()=>(!a&&await (0,l.TT)()&&(a=(0,l.P5)((n||(n=0===(0,r.Dk)().length?(0,r.Wp)(s):(0,r.Dk)()[0]),n))),a)},23494:(e,o,t)=>{Promise.resolve().then(t.t.bind(t,41402,23)),Promise.resolve().then(t.t.bind(t,82790,23)),Promise.resolve().then(t.t.bind(t,16394,23)),Promise.resolve().then(t.bind(t,88475)),Promise.resolve().then(t.bind(t,85173)),Promise.resolve().then(t.bind(t,81313)),Promise.resolve().then(t.bind(t,46638)),Promise.resolve().then(t.bind(t,34753)),Promise.resolve().then(t.bind(t,97210))},34753:(e,o,t)=>{"use strict";t.d(o,{GrowthBookProvider:()=>i});var n=t(95155),r=t(16635),l=t(12115),s=t(58010),a=t(42376);function i(e){let{children:o}=e;return((0,l.useEffect)(()=>{if(s.growthbook){let e,o={deviceId:((e=localStorage.getItem("topii_device_id"))||(e="device_".concat(Date.now(),"_").concat(Math.random().toString(36).substr(2,9)),localStorage.setItem("topii_device_id",e)),e)};s.growthbook.setAttributes(o);let t=s.growthbook.subscribe(()=>{a.v.refresh()});return()=>{t(),s.growthbook&&s.growthbook.destroy()}}},[]),s.growthbook)?(0,n.jsx)(r.iX,{growthbook:s.growthbook,children:o}):(0,n.jsx)(n.Fragment,{children:o})}},42376:(e,o,t)=>{"use strict";t.d(o,{v:()=>u});var n=t(95704);let r={log:console.log,info:console.info,warn:console.warn,debug:console.debug,error:console.error,table:console.table,group:console.group,groupCollapsed:console.groupCollapsed,groupEnd:console.groupEnd},l=()=>{};function s(){"true"!==(n.env.NEXT_PUBLIC_DEBUG_MODE||n.env.EXT_PUBLIC_DEBUG_MODE)&&(console.log=l,console.info=l,console.warn=l,console.debug=l,console.error=l,console.table=l,console.group=l,console.groupCollapsed=l,console.groupEnd=l)}function a(){console.log=r.log,console.info=r.info,console.warn=r.warn,console.debug=r.debug,console.error=r.error,console.table=r.table,console.group=r.group,console.groupCollapsed=r.groupCollapsed,console.groupEnd=r.groupEnd}var i=t(95704);
1class c{isDebugEnabled(){let e=i.env.NEXT_PUBLIC_DEBUG_MODE||i.env.EXT_PUBLIC_DEBUG_MODE;try{{let{getFeature:e}=t(58010),o=e("debug_mode",null);if(null!==o)return o}}catch(e){}return"true"===new URLSearchParams(window.location.search).get("debug")?(localStorage.setItem("topii_debug_mode","true"),!0):"true"===localStorage.getItem("topii_debug_mode")||"true"===e}getLogLevel(){return"error"}shouldLog(e){return!!this.config.enabled&&this.levels[e]>=this.levels[this.config.level]}formatMessage(e,o){for(var t=arguments.length,n=Array(t>2?t-2:0),r=2;r<t;r++)n[r-2]=arguments[r];let l=[];if(this.config.showTimestamp){let e=new Date().toISOString();l.push("[".concat(e,"]"))}if(this.config.showPrefix){let o="[TOPii:".concat(e.toUpperCase(),"]");l.push(o)}return l.push(o),n.length>0&&l.push(...n),l}debug(e){for(var o=arguments.length,t=Array(o>1?o-1:0),n=1;n<o;n++)t[n-1]=arguments[n];this.shouldLog("debug")&&r.log(...this.formatMessage("debug",e,...t))}info(e){for(var o=arguments.length,t=Array(o>1?o-1:0),n=1;n<o;n++)t[n-1]=arguments[n];this.shouldLog("info")&&r.info(...this.formatMessage("info",e,...t))}warn(e){for(var o=arguments.length,t=Array(o>1?o-1:0),n=1;n<o;n++)t[n-1]=arguments[n];this.shouldLog("warn")&&r.warn(...this.formatMessage("warn",e,...t))}error(e){for(var o=arguments.length,t=Array(o>1?o-1:0),n=1;n<o;n++)t[n-1]=arguments[n];this.shouldLog("error")&&r.error(...this.formatMessage("error",e,...t))}group(e){let o=arguments.length>1&&void 0!==arguments[1]&&arguments[1];this.config.enabled&&(o?r.groupCollapsed(e):r.group(e))}groupEnd(){this.config.enabled&&r.groupEnd()}table(e){this.config.enabled&&r.table(e)}enable(){this.config.enabled=!0,localStorage.setItem("topii_debug_mode","true"),a(),r.info("\uD83D\uDD27 Modo debug activado")}disable(){this.config.enabled=!1,localStorage.removeItem("topii_debug_mode"),r.info("\uD83D\uDD07 Modo debug desactivado"),s()}isEnabled(){return this.config.enabled}setLevel(e){this.config.level=e,this.info("Nivel de log cambiado a: ".concat(e))}getConfig(){return{...this.config}}refresh(){let e=this.config.enabled;this.config.enabled=this.isDebugEnabled(),e!==this.config.enabled&&(this.config.enabled?(a(),r.info("\uD83D\uDD27 Modo debug activado por GrowthBook")):(r.info("\uD83D\uDD07 Modo debug desactivado por GrowthBook"),s()))}constructor(){this.levels={debug:0,info:1,warn:2,error:3},this.config={enabled:this.isDebugEnabled(),level:this.getLogLevel(),showTimestamp:!0,showPrefix:!0},s(),this.config.enabled&&a()}}let u=new c},46638:(e,o,t)=>{"use strict";t.d(o,{DisableConsole:()=>r});var n=t(12115);function r(){return(0,n.useEffect)(()=>{{let e=()=>{};console.log=e,console.info=e,console.debug=e,console.trace=e,console.table=e,console.dir=e,console.dirxml=e,console.group=e,console.groupCollapsed=e,console.groupEnd=e,console.time=e,console.timeEnd=e,console.timeLog=e,console.count=e,console.countReset=e,console.assert=e,console.profile=e,console.profileEnd=e,console.clear=e,console.error=e,console.warn=e,setInterval(()=>{let o=window.outerWidth-window.innerWidth>160,t=window.outerHeight-window.innerHeight>160;(o||t)&&console.clear&&(console.clear=e)},1e3)}},[]),null}},58010:(e,o,t)=>{"use strict";t.r(o),t.d(o,{createGrowthBookInstance:()=>r,getFeature:()=>s,growthbook:()=>l,isFeatureEnabled:()=>a,setUserAttributes:()=>i});var n=t(16635);function r(){let e=new n.NN({apiHost:"https://cdn.growthbook.io",clientKey:"sdk-i3uims7vSij5hVYz",enableDevMode:!1,subscribeToChanges:!0,trackingCallback:(e,o)=>{}});return e.loadFeatures({timeout:2e3}).catch(e=>{}),e}let l=r();function s(e,o){return l?l.getFeatureValue(e,o):o}function a(e){return!!l&&l.isOn(e)}function i(e){l&&l.setAttributes(e)}},81313:(e,o,t)=>{"use strict";t.d(o,{PageTimeTracker:()=>a,ScrollDepthTracker:()=>s,WebVitals:()=>l});var n=t(12115),r=t(90740);function l(){return(0,r.useReportWebVitals)(e=>{window.gtag&&window.gtag("event",e.name,{value:Math.round("CLS"===e.name?1e3*e.value:e.value),event_label:e.id,non_interaction:!0})}),null}function s(){return(0,n.useEffect)(()=>{let e=[25,50,75,100],o=new Set,t=!1,n=()=>{t||(window.requestAnimationFrame(()=>{let n=window.innerHeight,r=document.documentElement.scrollHeight,l=(window.pageYOffset||document.documentElement.scrollTop)/(r-n)*100;for(let t of e)l>=t&&!o.has(t)&&(o.add(t),window.gtag&&window.gtag("event","scroll_depth",{percent_scrolled:t}));t=!1}),t=!0)};return window.addEventListener("scroll",n,{passive:!0}),()=>{window.removeEventListener("scroll",n)}},[]),null}function a(){return(0,n.useEffect)(()=>{let e=Date.now(),o=()=>{let o=Math.round((Date.now()-e)/1e3);window.gtag&&window.gtag("event","page_time",{value:o,non_interaction:!0})};return window.addEventListener("beforeunload",o),()=>{window.removeEventListener("beforeunload",o)}},[]),null}},85173:(e,o,t)=>{"use strict";t.d(o,{GoogleAnalytics:()=>l});var n=t(95155),r=t(68321);function l(e){let{measurementId:o}=e;return o&&""!==o?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(r.default,{strategy:"afterInteractive",src:"https://www.googletagmanager.com/gtag/js?i
1d=".concat(o)}),(0,n.jsx)(r.default,{id:"google-analytics",strategy:"afterInteractive",dangerouslySetInnerHTML:{__html:"\n window.dataLayer = window.dataLayer || [];\n function gtag(){dataLayer.push(arguments);}\n gtag('js', new Date());\n\n gtag('config', '".concat(o,"', {\n page_path: window.location.pathname,\n cookie_flags: 'SameSite=None;Secure',\n anonymize_ip: true,\n });\n ")}})]}):null}},88475:(e,o,t)=>{"use strict";t.d(o,{FirebaseAnalytics:()=>a});var n=t(12115),r=t(20063),l=t(14585),s=t(64663);function a(){let e=(0,r.usePathname)(),o=(0,r.useSearchParams)();return(0,n.useEffect)(()=>{(async()=>{let t=await (0,l.m5)();t&&(0,s.$s)(t,"page_view",{page_path:e,page_search:null==o?void 0:o.toString(),page_title:document.title})})()},[e,o]),null}},97210:(e,o,t)=>{"use strict";t.d(o,{default:()=>a});var n=t(95155),r=t(12115),l=t(1141);let s=(0,r.forwardRef)((e,o)=>{let{onChange:t,onErrored:s,onExpired:a,size:i="normal",theme:c="light",tabindex:u=0}=e,d=(0,r.useRef)(null),g="6LcE7fErAAAAALtV7eGRmeSjez1EW7jFN-3vK7Nv";return((0,r.useImperativeHandle)(o,()=>({execute:async()=>{if(!d.current)return null;try{return await d.current.executeAsync()}catch(e){return null}},reset:()=>{d.current&&d.current.reset()},getValue:()=>d.current?d.current.getValue():null})),g)?(0,n.jsx)(l.A,{ref:d,sitekey:g,onChange:t,onErrored:s,onExpired:a,size:i,theme:c,tabindex:u}):null});s.displayName="ReCaptcha";let a=s}},e=>{e.O(0,[9105,1032,4286,1918,8441,1255,7358],()=>e(e.s=23494)),_N_E=e.O()}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.