sito web:Tuandco.com - Expertos en mejorar tu hogarsoddisfare
(window.NREUM||(NREUM={})).init={privacy:{cookies_enabled:true},ajax:{deny_list:["bam.nr-data.net"]},distributed_tracing:{enabled:true}};(window.NREUM||(NREUM={})).loader_config={entID:"10",accountID:"",trustKey:"",xpid:"VwADVF9WARAJXFhbBQMHV10=",licenseKey:"NRJS-9252a865c42c2581a49",applicationID:"9"};;/*!Forlicenseinformationpleaseseenr-loader-spa-1.277.0.min.js.LICENSE.txt*/(()=>{vare,t,r={8122:(e,t,r)=>{"usestrict";r.d(t,{a:()=>i});varn=r(944);functioni(e,t){try{if(!e||"object"!=typeofe)return(0,n.R)(3);if(!t||"object"!=typeoft)return(0,n.R)(4);constr=Object.create(Object.getPrototypeOf(t),Object.getOwnPropertyDescriptors(t)),o=0===Object.keys(r).length?e:r;for(letaino)if(void0!==e[a])try{if(null===e[a]){r[a]=null;continue}Array.isArray(e[a])&&Array.isArray(t[a])?r[a]=Array.from(newSet([...e[a],...t[a]])):"object"==typeofe[a]&&"object"==typeoft[a]?r[a]=i(e[a],t[a]):r[a]=e[a]}catch(e){(0,n.R)(1,e)}returnr}catch(e){(0,n.R)(2,e)}}},2555:(e,t,r)=>{"usestrict";r.d(t,{Vp:()=>c,fn:()=>s,x1:()=>u});varn=r(384),i=r(8122);consto={beacon:n.NT.beacon,errorBeacon:n.NT.errorBeacon,licenseKey:void0,applicationID:void0,sa:void0,queueTime:void0,applicationTime:void0,ttGuid:void0,user:void0,account:void0,product:void0,extra:void0,jsAttributes:{},userAttributes:void0,atts:void0,transactionName:void0,tNamePlain:void0},a={};functions(e){try{constt=c(e);return!!t.licenseKey&&!!t.errorBeacon&&!!t.applicationID}catch(e){return!1}}functionc(e){if(!e)thrownewError("Allinfoobjectsrequireanentidentifier!");if(!a[e])thrownewError("Infofor".concat(e,"wasneverset"));returna[e]}functionu(e,t){if(!e)thrownewError("Allinfoobjectsrequireanentidentifier!");a[e]=(0,i.a)(t,o);constr=(0,n.nY)(e);r&&(r.info=a[e])}},9417:(e,t,r)=>{"usestrict";r.d(t,{D0:()=>p,gD:()=>m,xN:()=>g});varn=r(3333),i=r(993);consto=e=>{if(!e||"string"!=typeofe)return!1;try{document.createDocumentFrment().querySelector(e)}catch{return!1}return!0};vara=r(2614),s=r(944),c=r(384),u=r(8122);constd="[data-nr-mask]",l=()=>{conste={feature_fls:[],experimental:{marks:!1,measures:!1,resources:!1},mask_selector:"*",block_selector:"[data-nr-block]",mask_input_options:{color:!1,date:!1,"datetime-local":!1,email:!1,month:!1,number:!1,range:!1,search:!1,tel:!1,text:!1,time:!1,url:!1,week:!1,textarea:!1,select:!1,password:!0}};return{ajax:{deny_list:void0,block_internal:!0,enabled:!0,harvestTimeSeconds:10,autoStart:!0},distributed_tracing:{enabled:void0,exclude_newrelic_header:void0,cors_use_newrelic_header:void0,cors_use_tracecontext_headers:void0,allowed_origins:void0},getfeature_fls(){returne.feature_fls},setfeature_fls(t){e.feature_fls=t},generic_events:{enabled:!0,harvestTimeSeconds:30,autoStart:!0},harvest:{tooManyRequestsDelay:60},jserrors:{enabled:!0,harvestTimeSeconds:10,autoStart:!0},logging:{enabled:!0,harvestTimeSeconds:10,autoStart:!0,level:i.p_.INFO},metrics:{enabled:!0,autoStart:!0},obfuscate:void0,pe_action:{enabled:!0},pe_view_event:{enabled:!0,autoStart:!0},pe_view_timing:{enabled:!0,harvestTimeSeconds:30,autoStart:!0},performance:{getcapture_marks(){returne.feature_fls.includes(n.$v.MARKS)||e.experimental.marks},setcapture_marks(t){e.experimental.marks=t},getcapture_measures(){returne.feature_fls.includes(n.$v.MEASURES)||e.experimental.measures},setcapture_measures(t){e.experimental.measures=t},resources:{getenabled(){returne.feature_fls.includes(n.$v.RESOURCES)||e.experimental.resources},setenabled(t){e.experimental.resources=t},asset_types:[],first_party_domains:[],ignore_newrelic:!0}},privacy:{cookies_enabled:!0},proxy:{assets:void0,beacon:void0},session:{expiresMs:a.wk,inactiveMs:a.BB},session_replay:{autoStart:!0,enabled:!1,harvestTimeSeconds:60,preload:!1,sampling_rate:10,error_sampling_rate:100,collect_fonts:!1,inline_imes:!1,fix_stylesheets:!0,mask_all_inputs:!0,getmask_text_selector(){returne.mask_selector},setmask_text_selector(t){o(t)?e.mask_selector="".concat(t,",").concat(d):""===t||null===t?e.mask_selector=d:(0,s.R)(5,t)},getblock_class(){return"nr-block"},getignore_class(){return"nr-ignore"},getmask_text_class(){return"nr-mask"},getblock_selector(){returne.block_selector},setblock_selector(t){o(t)?e.block_selector+="Tuandco.com - Expertos en mejorar tu hogar,".concat(t):""!==t&&(0,s.R)(6,t)},getmask_input_options(){returne.mask_input_options},setmask_input_options(t){t&&"object"==typeoft?e.mask_input_options={...t,password:!0}:(0,s.R)(7,t)}},session_trace:{enabled:!0,harvestTimeSeconds:10,autoStart:!0},soft_nigations:{enabled:!0,harvestTimeSeconds:10,autoStart:!0},spa:{enabled:!0,harvestTimeSeconds:10,autoStart:!0},ssl:void0,user_actions:{enabled:!0}}},f={},h="Allconfigurationobjectsrequireanentidentifier!";functionp(e){if(!e)thrownewError(h);if(!f[e])thrownewError("Configurationfor".concat(e,"wasneverset"));returnf[e]}functiong(e,t){if(!e)thrownewError(h);f[e]=(0,u.a)(t,l());constr=(0,c.nY)(e);r&&(r.init=f[e])}functionm(e,t){if(!e)thrownewError(h);varr=p(e);if(r){for(varn=t.split("."),i=0;i{"usestrict";r.d(t,{a:()=>c,o:()=>s});varn=r(384),i=r(8122);consto={accountID:void0,trustKey:void0,entID:void0,licenseKey:void0,applicationID:void0,xpid:void0},a={};functions(e){if(!e)thrownewError("Allloader-configobjectsrequireanentidentifier!");if(!a[e])thrownewError("LoaderConfigfor".concat(e,"wasneverset"));returna[e]}functionc(e,t){if(!e)thrownewError("Allloader-configobjectsrequireanentidentifier!");a[e]=(0,i.a)(t,o);constr=(0,n.nY)(e);r&&(r.loader_config=a[e])}},3371:(e,t,r)=>{"usestrict";r.d(t,{V:()=>f,f:()=>l});varn=r(8122),i=r(384),o=r(6154),a=r(9324);lets=0;constc={buildEnv:a.F3,distMethod:a.Xs,version:a.xv,originTime:o.WN},u={customTransaction:void0,disabled:!1,isolatedBacklog:!1,loaderType:void0,maxBytes:3e4,onerror:void0,ptid:void0,releaseIds:{},appMetadata:{},session:void0,denyList:void0,timeKeeper:void0,obfuscator:void0},d={};functionl(e){if(!e)thrownewError("Allruntimeobjectsrequireanentidentifier!");if(!d[e])thrownewError("Runtimefor".concat(e,"wasneverset"));returnd[e]}functionf(e,t){if(!e)thrownewError("Allruntimeobjectsrequireanentidentifier!");d[e]={...(0,n.a)(t,u),...c},Object.hasOwnProperty.call(d[e],"harvestCount")||Object.defineProperty(d[e],"harvestCount",{get:()=>++s});constr=(0,i.nY)(e);r&&(r.runtime=d[e])}},9324:(e,t,r)=>{"usestrict";r.d(t,{F3:()=>i,Xs:()=>o,Yq:()=>a,xv:()=>n});constn="1.277.0",i="PROD",o="CDN",a="^2.0.0-alpha.17"},6154:(e,t,r)=>{"usestrict";r.d(t,{A4:()=>s,OF:()=>d,RI:()=>i,WN:()=>h,bv:()=>o,gm:()=>a,lR:()=>f,m:()=>u,mw:()=>c,sb:()=>l});varn=r(1863);consti="undefined"!=typeofwindow&&!!window.document,o="undefined"!=typeofWorkerGlobalScope&&("undefined"!=typeofself&&selfinstanceofWorkerGlobalScope&&self.nigatorinstanceofWorkerNigator||"undefined"!=typeofglobalThis&&globalThisinstanceofWorkerGlobalScope&&globalThis.nigatorinstanceofWorkerNigator),a=i?window:"undefined"!=typeofWorkerGlobalScope&&("undefined"!=typeofself&&selfinstanceofWorkerGlobalScope&&self||"undefined"!=typeofglobalThis&&globalThisinstanceofWorkerGlobalScope&&globalThis),s="complete"===a?.document?.readyState,c=Boolean("hidden"===a?.document?.visibilityState),u=""+a?.location,d=/iPad|iPhone|iPod/.test(a.nigator?.userent),l=d&&"undefined"==typeofSharedWorker,f=(()=>{conste=a.nigator?.userent?.match(/Firefox[/\s](\d+\.\d+)/);returnArray.isArray(e)&&e.length>=2?+e[1]:0})(),h=Date.now()-(0,n.t)()},7295:(e,t,r)=>{"usestrict";r.d(t,{Xv:()=>a,gX:()=>i,iW:()=>o});varn=[];functioni(e){if(!e||o(e))return!1;if(0===n.length)return!0;for(vart=0;tt.length)&&t.indexOf(e)===t.length-e.length}functionc(e,t){return0===e.indexOf("/")&&(e=e.substring(1)),0===t.indexOf("/")&&(t=t.substring(1)),""===e||e===t}},1687:(e,t,r)=>{"usestrict";r.d(t,{Ak:()=>c,Ze:()=>l,x3:()=>u});varn=r(7836),i=r(3606),o=r(860),a=r(2646);consts={};functionc(e,t){constr={sted:!1,priority:o.P3[t]||0};d(e),s[e].get(t)||s[e].set(t,r)}functionu(e,t){e&&s[e]&&(s[e].get(t)&&s[e].delete(t),h(e,t,!1),s[e].size&&f(e))}functiond(e){if(!e)thrownewError("entIdentifierrequired");s[e]||(s[e]=newMap)}functionl(e="",t="feature",r=!1){if(d(e),!e||!s[e].get(t)||r)returnh(e,t);s[e].get(t).sted=!0,f(e)}functionf(e){constt=Array.from(s[e]);t.every((([e,t])=>t.sted))&&(t.sort(((e,t)=>e[1].priority-t[1].priority)),t.forEach((([t])=>{s[e].delete(t),h(e,t)})))}functionh(e,t,r=!0){consto=e?n.ee.get(e):n.ee,s=i.i.handlers;if(!o.aborted&&o.backlog&&s){if(r){conste=o.backlog[t],r=s[t];if(r){for(lett=0;e&&t{Object.values(t||{}).forEach((t=>{t[0]?.on&&t[0]?.context()instanceofa.y&&t[0].on(e,t[1])}))}))}}o.isolatedBacklog||deletes[t],o.backlog[t]=null,o.emit("drain-"+t,[])}}functionp(e,t){varr=e[1];Object.values(t[r]||{}).forEach((t=>{varr=e[0];if(t[0]===r){varn=t[1],i=e[3],o=e[2];n.apply(i,o)}}))}},7836:(e,t,r)=>{"usestrict";r.d(t,{P:()=>c,ee:()=>u});varn=r(384),i=r(8990),o=r(3371),a=r(2646),s=r(5607);constc="nr@context:".concat(s.W),u=functione(t,r){varn={},s={},d={},l=!1;try{l=16===r.length&&(0,o.f)(r).isolatedBacklog}catch(e){}varf={on:p,addEventListener:p,removeEventListener:function(e,t){varr=n[e];if(!r)return;for(vari=0;i{deletef.backlog[e]}))},isBuffering:function(e){return!!v()[s[e]]},debugId:r,backlog:l?{}:t&&"object"==typeoft.backlog?t.backlog:{},isolatedBacklog:l};returnObject.defineProperty(f,"aborted",{get:()=>{lete=f._aborted||!1;returne||(t&&(e=t.aborted),e)}}),f;functionh(e){returne&&einstanceofa.y?e:e?(0,i.I)(e,c,(()=>newa.y(c))):newa.y(c)}functionp(e,t){n[e]=g(e).concat(t)}functiong(e){returnn[e]||[]}functionm(t){returnd[t]=d[t]||e(f,t)}functionv(){returnf.backlog}}(void0,"globalEE"),d=(0,n.Zm)();d.ee||(d.ee=u)},2646:(e,t,r)=>{"usestrict";r.d(t,{y:()=>n});classn{constructor(e){this.contextId=e}}},9908:(e,t,r)=>{"usestrict";r.d(t,{d:()=>n,p:()=>i});varn=r(7836).ee.get("handle");functioni(e,t,r,i,o){o?(o.buffer([e],i),o.emit(e,t,r)):(n.buffer([e],i),n.emit(e,t,r))}},3606:(e,t,r)=>{"usestrict";r.d(t,{i:()=>o});varn=r(9908);o.on=a;vari=o.handlers={};functiono(e,t,r,o){a(o||n.d,i,e,t,r)}functiona(e,t,r,i,o){o||(o="feature"),e||(e=n.d);vara=t[o]=t[o]||{};(a[r]=a[r]||[]).push([e,i])}},3878:(e,t,r)=>{"usestrict";functionn(e,t){return{capture:e,passive:!1,signal:t}}functioni(e,t,r=!1,i){window.addEventListener(e,t,n(r,i))}functiono(e,t,r=!1,i){document.addEventListener(e,t,n(r,i))}r.d(t,{DD:()=>o,jT:()=>n,sp:()=>i})},5607:(e,t,r)=>{"usestrict";r.d(t,{W:()=>n});constn=(0,r(9566).bz)()},9566:(e,t,r)=>{"usestrict";r.d(t,{LA:()=>s,ZF:()=>c,bz:()=>a,el:()=>u});varn=r(6154);consti="xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx";functiono(e,t){returne?15&e[t]:16*Math.random()|0}functiona(){conste=n.gm?.crypto||n.gm?.msCrypto;lett,r=0;returne&&e.getRandomValues&&(t=e.getRandomValues(newUint8Array(30))),i.split("").map((e=>"x"===e?o(t,r++).toString(16):"y"===e?(3&o()|8).toString(16):e)).join("")}functions(e){constt=n.gm?.crypto||n.gm?.msCrypto;letr,i=0;t&&t.getRandomValues&&(r=t.getRandomValues(newUint8Array(e)));consta=[];for(vars=0;s{"usestrict";r.d(t,{BB:()=>a,H3:()=>n,g:()=>u,iL:()=>c,tS:()=>s,uh:()=>i,wk:()=>o});constn="NRBA",i="SESSION",o=144e5,a=18e5,s={STARTED:"session-started",PAUSE:"session-pause",RESET:"session-reset",RESUME:"session-resume",UPDATE:"session-update"},c={SAME_TAB:"same-tab",CROSS_TAB:"cross-tab"},u={OFF:0,FULL:1,ERROR:2}},1863:(e,t,r)=>{"usestrict";functionn(){returnMath.floor(performance.now())}r.d(t,{t:()=>n})},7485:(e,t,r)=>{"usestrict";r.d(t,{D:()=>i});varn=r(6154);functioni(e){if(0===(e||"").indexOf("data:"))return{protocol:"data"};try{constt=newURL(e,location.href),r={port:t.port,hostname:t.hostname,pathname:t.pathname,search:t.search,protocol:t.protocol.slice(0,t.protocol.indexOf(":")),sameOrigin:t.protocol===n.gm?.location?.protocol&&t.host===n.gm?.location?.host};returnr.port&&""!==r.port||("http:"===t.protocol&&(r.port="80"),":"===t.protocol&&(r.port="443")),r.pathname&&""!==r.pathname?r.pathname.startsWith("/")||(r.pathname="/".concat(r.pathname)):r.pathname="/",r}catch(e){return{}}}},944:(e,t,r)=>{"usestrict";functionn(e,t){"function"==typeofconsole.debug&&console.debug("NewRelicWarning:github.com/newrelic/newrelic-browser-ent/blob/main/docs/warning-codes.md#".concat(e),t)}r.d(t,{R:()=>n})},5284:(e,t,r)=>{"usestrict";r.d(t,{t:()=>c,B:()=>s});varn=r(7836),i=r(6154);consto="newrelic";consta=newSet,s={};functionc(e,t){constr=n.ee.get(t);s[t]??={},e&&"object"==typeofe&&(a.has(t)||(r.emit("rumresp",[e]),s[t]=e,a.add(t),function(e={}){try{i.gm.dispatchEvent(newCustomEvent(o,{detail:e}))}catch(e){}}({loaded:!0})))}},8990:(e,t,r)=>{"usestrict";r.d(t,{I:()=>i});varn=Object.prototype.hasOwnProperty;functioni(e,t,r){if(n.call(e,t))returne[t];vari=r();if(Object.defineProperty&&Object.keys)try{returnObject.defineProperty(e,t,{value:i,writable:!0,enumerable:!1}),i}catch(e){}returne[t]=i,i}},6389:(e,t,r)=>{"usestrict";functionn(e,t=500,r={}){constn=r?.leading||!1;leti;return(...r)=>{n&&void0===i&&(e.apply(this,r),i=setTimeout((()=>{i=clearTimeout(i)}),t)),n||(clearTimeout(i),i=setTimeout((()=>{e.apply(this,r)}),t))}}functioni(e){lett=!1;return(...r)=>{t||(t=!0,e.apply(this,r))}}r.d(t,{J:()=>i,s:()=>n})},3304:(e,t,r)=>{"usestrict";r.d(t,{A:()=>o});varn=r(7836);consti=()=>{conste=newWeakSet;return(t,r)=>{if("object"==typeofr&&null!==r){if(e.has(r))return;e.add(r)}returnr}};functiono(e){try{returnJSON.stringify(e,i())??""}catch(e){try{n.ee.emit("internal-error",[e])}catch(e){}return""}}},5289:(e,t,r)=>{"usestrict";r.d(t,{GG:()=>o,sB:()=>a});varn=r(3878);functioni(){return"undefined"==typeofdocument||"complete"===document.readyState}functiono(e,t){if(i())returne();(0,n.sp)("load",e,t)}functiona(e){if(i())returne();(0,n.DD)("DOMContentLoaded",e)}},384:(e,t,r)=>{"usestrict";r.d(t,{NT:()=>o,US:()=>d,Zm:()=>a,bQ:()=>c,dV:()=>s,nY:()=>u,pV:()=>l});varn=r(6154),i=r(1863);consto={beacon:"bam.nr-data.net",errorBeacon:"bam.nr-data.net"};functiona(){returnn.gm.NREUM||(n.gm.NREUM={}),void0===n.gm.newrelic&&(n.gm.newrelic=n.gm.NREUM),n.gm.NREUM}functions(){lete=a();returne.o||(e.o={ST:n.gm.setTimeout,SI:n.gm.setImmediate,CT:n.gm.clearTimeout,XHR:n.gm.XML,REQ:n.gm.Request,EV:n.gm.Event,PR:n.gm.Promise,MO:n.gm.MutationObserver,FETCH:n.gm.fetch,WS:n.gm.WebSocket}),e}functionc(e,t){letr=a();r.initializedents??={},t.initializedAt={ms:(0,i.t)(),date:newDate},r.initializedents[e]=t}functionu(e){lett=a();returnt.initializedents?.[e]}functiond(e,t){a()[e]=t}functionl(){returnfunction(){lete=a();constt=e.info||{};e.info={beacon:o.beacon,errorBeacon:o.errorBeacon,...t}}(),function(){lete=a();constt=e.init||{};e.init={...t}}(),s(),function(){lete=a();constt=e.loader_config||{};e.loader_config={...t}}(),a()}},2843:(e,t,r)=>{"usestrict";r.d(t,{u:()=>i});varn=r(3878);functioni(e,t=!1,r,i){(0,n.DD)("visibilitychange",(function(){if(t)returnvoid("hidden"===document.visibilityState&&e());e(document.visibilityState)}),r,i)}},8139:(e,t,r)=>{"usestrict";r.d(t,{u:()=>f});varn=r(7836),i=r(3434),o=r(8990),a=r(6154);consts={},c=a.gm.XML,u="addEventListener",d="removeEventListener",l="nr@wrapped:".concat(n.P);functionf(e){vart=function(e){return(e||n.ee).get("events")}(e);if(s[t.debugId]++)returnt;s[t.debugId]=1;varr=(0,i.YM)(t,!0);functionf(e){r.inPlace(e,[u,d],"-",p)}functionp(e,t){returne[1]}return"getPrototypeOf"inObject&&(a.RI&&h(document,f),c&&h(c.prototype,f),h(a.gm,f)),t.on(u+"-start",(function(e,t){varn=e[1];if(null!==n&&("function"==typeofn||"object"==typeofn)){vari=(0,o.I)(n,l,(function(){vare={object:function(){if("function"!=typeofn.handleEvent)return;returnn.handleEvent.apply(n,arguments)},function:n}[typeofn];returne?r(e,"fn-",null,e.name||"anonymous"):n}));this.wrapped=e[1]=i}})),t.on(d+"-start",(function(e){e[1]=this.wrapped||e[1]})),t}functionh(e,t,...r){letn=e;for(;"object"==typeofn&&!Object.prototype.hasOwnProperty.call(n,u);)n=Object.getPrototypeOf(n);n&&t(n,...r)}},3434:(e,t,r)=>{"usestrict";r.d(t,{Jt:()=>o,YM:()=>c});varn=r(7836),i=r(5607);consto="nr@original:".concat(i.W);vara=Object.prototype.hasOwnProperty,s=!1;functionc(e,t){returne||(e=n.ee),r.inPlace=function(e,t,n,i,o){n||(n="");consta="-"===n.charAt(0);for(lets=0;s{"usestrict";r.d(t,{T:()=>n});constn=r(860).K7.ajax},3333:(e,t,r)=>{"usestrict";r.d(t,{$v:()=>u,TZ:()=>n,Zp:()=>i,kd:()=>c,mq:()=>s,nf:()=>a,qN:()=>o});constn=r(860).K7.genericEvents,i=["auxclick","click","copy","keydown","paste","scrollend"],o=["focus","blur"],a=4,s=1e3,c=["PeAction","UserAction","BrowserPerformance"],u={MARKS:"experimental.marks",MEASURES:"experimental.measures",RESOURCES:"experimental.resources"}},6774:(e,t,r)=>{"usestrict";r.d(t,{T:()=>n});constn=r(860).K7.jserrors},993:(e,t,r)=>{"usestrict";r.d(t,{ET:()=>o,TZ:()=>a,p_:()=>i});varn=r(860);consti={ERROR:"ERROR",WARN:"WARN",INFO:"INFO",DEBUG:"DEBUG",TRACE:"TRACE"},o="log",a=n.K7.logging},3785:(e,t,r)=>{"usestrict";r.d(t,{R:()=>c,b:()=>u});varn=r(9908),i=r(1863),o=r(860),a=r(3969),s=r(993);functionc(e,t,r={},c=s.p_.INFO){(0,n.p)(a.xV,["API/logging/".concat(c.toLowerCase(),"/called")],void0,o.K7.metrics,e),(0,n.p)(s.ET,[(0,i.t)(),t,r,c],void0,o.K7.logging,e)}functionu(e){return"string"==typeofe&&Object.values(s.p_).some((t=>t===e.toUpperCase().trim()))}},3969:(e,t,r)=>{"usestrict";r.d(t,{TZ:()=>n,XG:()=>s,rs:()=>i,xV:()=>a,z_:()=>o});constn=r(860).K7.metrics,i="sm",o="cm",a="storeSupportabilityMetrics",s="storeEventMetrics"},6630:(e,t,r)=>{"usestrict";r.d(t,{T:()=>n});constn=r(860).K7.peViewEvent},782:(e,t,r)=>{"usestrict";r.d(t,{T:()=>n});constn=r(860).K7.peViewTiming},6344:(e,t,r)=>{"usestrict";r.d(t,{BB:()=>d,G4:()=>o,Qb:()=>l,TZ:()=>i,Ug:()=>a,_s:()=>s,bc:()=>u,yP:()=>c});varn=r(2614);consti=r(860).K7.sessionReplay,o={RECORD:"recordReplay",PAUSE:"pauseReplay",REPLAY_RUNNING:"replayRunning",ERROR_DURING_REPLAY:"errorDuringReplay"},a=.12,s={DomContentLoaded:0,Load:1,FullSnapshot:2,IncrementalSnapshot:3,Meta:4,Custom:5},c={[n.g.ERROR]:15e3,[n.g.FULL]:3e5,[n.g.OFF]:0},u={RESET:{messe:"Sessionwasreset",sm:"Reset"},IMPORT:{messe:"Recorderfailedtoimport",sm:"Import"},TOO_MANY:{messe:"429:TooManyRequests",sm:"Too-Many"},TOO_BIG:{messe:"Payloadwastoolarge",sm:"Too-Big"},CROSS_TAB:{messe:"SessionEntitywassettoOFFonanothertab",sm:"Cross-Tab"},ENTITLEMENTS:{messe:"SessionReplayisnotallowedandwillnotbestarted",sm:"Entitlement"}},d=5e3,l={API:"api"}},5270:(e,t,r)=>{"usestrict";r.d(t,{Aw:()=>c,CT:()=>u,SR:()=>s});varn=r(384),i=r(9417),o=r(7767),a=r(6154);functions(e){return!!(0,n.dV)().o.MO&&(0,o.V)(e)&&!0===(0,i.gD)(e,"session_trace.enabled")}functionc(e){return!0===(0,i.gD)(e,"session_replay.preload")&&s(e)}functionu(e,t){constr=t.correctAbsoluteTimestamp(e);return{originalTimestamp:e,correctedTimestamp:r,timestampDiff:e-r,originTime:a.WN,correctedOriginTime:t.correctedOriginTime,originTimeDiff:Math.floor(a.WN-t.correctedOriginTime)}}},3738:(e,t,r)=>{"usestrict";r.d(t,{He:()=>i,Kp:()=>s,Lc:()=>u,Rz:()=>d,TZ:()=>n,bD:()=>o,d3:()=>a,jx:()=>l,uP:()=>c});constn=r(860).K7.sessionTrace,i="bstResource",o="resource",a="-start",s="-end",c="fn"+a,u="fn"+s,d="pushState",l=1e3},3962:(e,t,r)=>{"usestrict";r.d(t,{AM:()=>o,O2:()=>c,Qu:()=>u,TZ:()=>s,ih:()=>d,pP:()=>a,tC:()=>i});varn=r(860);consti=["click","keydown","submit","popstate"],o="api",a="initialPeLoad",s=n.K7.softN,c={INITIAL_PE_LOAD:"",ROUTE_CHANGE:1,UNSPECIFIED:2},u={INTERACTION:1,AJAX:2,CUSTOM_END:3,CUSTOM_TRACER:4},d={IP:"inprogress",FIN:"finished",CAN:"cancelled"}},7378:(e,t,r)=>{"usestrict";r.d(t,{$p:()=>x,BR:()=>b,Kp:()=>R,L3:()=>y,Lc:()=>c,NC:()=>o,SG:()=>d,TZ:()=>i,U6:()=>p,UT:()=>m,d3:()=>w,dT:()=>f,e5:()=>E,gx:()=>v,l9:()=>l,oW:()=>h,op:()=>g,rw:()=>u,tH:()=>A,uP:()=>s,wW:()=>T,xq:()=>a});varn=r(384);consti=r(860).K7.spa,o=["click","submit","keypress","keydown","keyup","change"],a=999,s="fn-start",c="fn-end",u="cb-start",d="api-ixn-",l="remaining",f="interaction",h="spaNode",p="jsonpNode",g="fetch-start",m="fetch-done",v="fetch-body-",b="jsonp-end",y=(0,n.dV)().o.ST,w="-start",R="-end",x="-body",T="cb"+R,E="jsTime",A="fetch"},4234:(e,t,r)=>{"usestrict";r.d(t,{W:()=>o});varn=r(7836),i=r(1687);classo{constructor(e,t){this.entIdentifier=e,this.ee=n.ee.get(e),this.featureName=t,this.blocked=!1}deregisterDrain(){(0,i.x3)(this.entIdentifier,this.featureName)}}},7767:(e,t,r)=>{"usestrict";r.d(t,{V:()=>o});varn=r(9417),i=r(6154);consto=e=>i.RI&&!0===(0,n.gD)(e,"privacy.cookies_enabled")},425:(e,t,r)=>{"usestrict";r.d(t,{j:()=>j});varn=r(860),i=r(2555),o=r(3371),a=r(9908),s=r(7836),c=r(1687),u=r(5289),d=r(6154),l=r(944),f=r(3969),h=r(384),p=r(6344);constg=["setErrorHandler","finished","addToTrace","addRelease","recordCustomEvent","addPeAction","setCurrentRouteName","setPeViewName","setCustomAttribute","interaction","noticeError","setUserId","setApplicationVersion","start",p.G4.RECORD,p.G4.PAUSE,"log","wrapLogger"],m=["setErrorHandler","finished","addToTrace","addRelease"];varv=r(1863),b=r(2614),y=r(993),w=r(3785),R=r(2646),x=r(3434);constT=newMap;functionE(e,t,r,n){if("object"!=typeoft||!t||"string"!=typeofr||!r||"function"!=typeoft[r])return(0,l.R)(29);consti=function(e){return(e||s.ee).get("logger")}(e),o=(0,x.YM)(i),a=newR.y(s.P);a.level=n.level,a.customAttributes=n.customAttributes;constc=t[r]?.[x.Jt]||t[r];returnT.set(c,a),o.inPlace(t,[r],"wrap-logger-",(()=>T.get(c))),i}functionA(){conste=(0,h.pV)();g.forEach((t=>{e[t]=(...r)=>function(t,...r){letn=[];returnObject.values(e.initializedents).forEach((e=>{e&&e.api?e.exposed&&e.api[t]&&n.push(e.api[t](...r)):(0,l.R)(38,t)})),n.length>1?n:n[0]}(t,...r)}))}constS={};varN=r(9417),_=r(5603),O=r(5284);constI=e=>{constt=e.startsWith("http");e+="/",r.p=t?e:""+e};letP=!1;functionj(e,t={},g,R){let{init:x,info:T,loader_config:j,runtime:C={},exposed:k=!0}=t;C.loaderType=g;constL=(0,h.pV)();T||(x=L.init,T=L.info,j=L.loader_config),(0,N.xN)(e.entIdentifier,x||{}),(0,_.a)(e.entIdentifier,j||{}),T.jsAttributes??={},d.bv&&(T.jsAttributes.isWorker=!0),(0,i.x1)(e.entIdentifier,T);constH=(0,N.D0)(e.entIdentifier),M=[T.beacon,T.errorBeacon];P||(H.proxy.assets&&(I(H.proxy.assets),M.push(H.proxy.assets)),H.proxy.beacon&&M.push(H.proxy.beacon),A(),(0,h.US)("activatedFeatures",O.B),e.runSoftNOverSpa&&=!0===H.soft_nigations.enabled&&H.feature_fls.includes("soft_n")),C.denyList=[...H.ajax.deny_list||[],...H.ajax.block_internal?M:[]],C.ptid=e.entIdentifier,(0,o.V)(e.entIdentifier,C),e.ee=s.ee.get(e.entIdentifier),void0===e.api&&(e.api=function(e,t,h=!1){t||(0,c.Ak)(e,"api");constg={};varR=s.ee.get(e),x=R.get("tracer");S[e]=b.g.OFF,R.on(p.G4.REPLAY_RUNNING,(t=>{S[e]=t}));varT="api-",A=T+"ixn-";functionN(t,r,n,o){consta=(0,i.Vp)(e);returnnull===r?deletea.jsAttributes[t]:(0,i.x1)(e,{...a,jsAttributes:{...a.jsAttributes,[t]:r}}),I(T,n,!0,o||null===r?"session":void0)(t,r)}function_(){}g.log=function(e,{customAttributes:t={},level:r=y.p_.INFO}={}){(0,a.p)(f.xV,["API/log/called"],void0,n.K7.metrics,R),(0,w.R)(R,e,t,r)},g.wrapLogger=(e,t,{customAttributes:r={},level:i=y.p_.INFO}={})=>{(0,a.p)(f.xV,["API/wrapLogger/called"],void0,n.K7.metrics,R),E(R,e,t,{customAttributes:r,level:i})},m.forEach((e=>{g[e]=I(T,e,!0,"api")})),g.addPeAction=I(T,"addPeAction",!0,n.K7.genericEvents),g.recordCustomEvent=I(T,"recordCustomEvent",!0,n.K7.genericEvents),g.setPeViewName=function(t,r){if("string"==typeoft)return"/"!==t.charAt(0)&&(t="/"+t),(0,o.f)(e).customTransaction=(r||"httpcustom.transaction")+t,I(T,"setPeViewName",!0)()},g.setCustomAttribute=function(e,t,r=!1){if("string"==typeofe){if(["string","number","boolean"].includes(typeoft)||null===t)returnN(e,t,"setCustomAttribute",r);(0,l.R)(40,typeoft)}else(0,l.R)(39,typeofe)},g.setUserId=function(e){if("string"==typeofe||null===e)returnN("enduser.id",e,"setUserId",!0);(0,l.R)(41,typeofe)},g.setApplicationVersion=function(e){if("string"==typeofe||null===e)returnN("application.version",e,"setApplicationVersion",!1);(0,l.R)(42,typeofe)},g.start=()=>{try{(0,a.p)(f.xV,["API/start/called"],void0,n.K7.metrics,R),R.emit("manual-start-all")}catch(e){(0,l.R)(23,e)}},g[p.G4.RECORD]=function(){(0,a.p)(f.xV,["API/recordReplay/called"],void0,n.K7.metrics,R),(0,a.p)(p.G4.RECORD,[],void0,n.K7.sessionReplay,R)},g[p.G4.PAUSE]=function(){(0,a.p)(f.xV,["API/pauseReplay/called"],void0,n.K7.metrics,R),(0,a.p)(p.G4.PAUSE,[],void0,n.K7.sessionReplay,R)},g.interaction=function(e){return(new_).get("object"==typeofe?e:{})};constO=_.prototype={createTracer:function(e,t){varr={},i=this,o="function"==typeoft;return(0,a.p)(f.xV,["API/createTracer/called"],void0,n.K7.metrics,R),h||(0,a.p)(A+"tracer",[(0,v.t)(),e,r],i,n.K7.spa,R),function(){if(x.emit((o?"":"no-")+"fn-start",[(0,v.t)(),i,o],r),o)try{returnt.apply(this,arguments)}catch(e){constt="string"==typeofe?newError(e):e;throwx.emit("fn-err",[arguments,this,t],r),t}finally{x.emit("fn-end",[(0,v.t)()],r)}}}};functionI(e,t,r,i){returnfunction(){return(0,a.p)(f.xV,["API/"+t+"/called"],void0,n.K7.metrics,R),i&&(0,a.p)(e+t,[r?(0,v.t)():performance.now(),...arguments],r?null:this,i,R),r?void0:this}}functionP(){r.e(478).then(r.bind(r,8778)).then((({setAPI:t})=>{t(e),(0,c.Ze)(e,"api")})).catch((e=>{(0,l.R)(27,e),R.abort()}))}return["actionText","setName","setAttribute","se","ignore","onEnd","getContext","end","get"].forEach((e=>{O[e]=I(A,e,void0,h?n.K7.softN:n.K7.spa)})),g.setCurrentRouteName=h?I(A,"routeName",void0,n.K7.softN):I(T,"routeName",!0,n.K7.spa),g.noticeError=function(t,r){"string"==typeoft&&(t=newError(t)),(0,a.p)(f.xV,["API/noticeError/called"],void0,n.K7.metrics,R),(0,a.p)("err",[t,(0,v.t)(),!1,r,!!S[e]],void0,n.K7.jserrors,R)},d.RI?(0,u.GG)((()=>P()),!0):P(),g}(e.entIdentifier,R,e.runSoftNOverSpa)),void0===e.exposed&&(e.exposed=k),P=!0}},8374:(e,t,r)=>{r.nc=(()=>{try{returndocument?.currentScript?.nonce}catch(e){}return""})()},860:(e,t,r)=>{"usestrict";r.d(t,{$J:()=>o,K7:()=>n,P3:()=>i});constn={ajax:"ajax",genericEvents:"generic_events",jserrors:"jserrors",logging:"logging",metrics:"metrics",peAction:"pe_action",peViewEvent:"pe_view_event",peViewTiming:"pe_view_timing",sessionReplay:"session_replay",sessionTrace:"session_trace",softN:"soft_nigations",spa:"spa"},i={[n.peViewEvent]:1,[n.peViewTiming]:2,[n.metrics]:3,[n.jserrors]:4,[n.spa]:5,[n.ajax]:6,[n.sessionTrace]:7,[n.softN]:8,[n.sessionReplay]:9,[n.logging]:10,[n.genericEvents]:11},o={[n.peViewTiming]:"events",[n.ajax]:"events",[n.spa]:"events",[n.softN]:"events",[n.metrics]:"jserrors",[n.jserrors]:"jserrors",[n.sessionTrace]:"browser/blobs",[n.sessionReplay]:"browser/blobs",[n.logging]:"browser/logs",[n.genericEvents]:"ins"}}},n={};functioni(e){vart=n[e];if(void0!==t)returnt.exports;varo=n[e]={exports:{}};returnr[e](o,o.exports,i),o.exports}i.m=r,i.d=(e,t)=>{for(varrint)i.o(t,r)&&!i.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},i.f={},i.e=e=>Promise.all(Object.keys(i.f).reduce(((t,r)=>(i.f[r](e,t),t)),[])),i.u=e=>({212:"nr-spa-compressor",249:"nr-spa-recorder",478:"nr-spa"}[e]+"-1.277.0.min.js"),i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),e={},t="NRBA-1.277.0.PROD:",i.l=(r,n,o,a)=>{if(e[r])e[r].push(n);else{vars,c;if(void0!==o)for(varu=document.getElementsByTName("script"),d=0;d{s.onerror=s.onload=null,clearTimeout(p);vari=e[r];if(deletee[r],s.parentNode&&s.parentNode.removeChild(s),i&&i.forEach((e=>e(n))),t)returnt(n)},p=setTimeout(h.bind(null,void0,{type:"timeout",target:s}),12e4);s.onerror=h.bind(null,s.onerror),s.onload=h.bind(null,s.onload),c&&document.head.appendChild(s)}},i.r=e=>{"undefined"!=typeofSymbol&&Symbol.toStringT&&Object.defineProperty(e,Symbol.toStringT,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.p="js-ent.newrelic.com/",(()=>{vare={38:0,788:0};i.f.j=(t,r)=>{varn=i.o(e,t)?e[t]:void0;if(0!==n)if(n)r.push(n[2]);else{varo=newPromise(((r,i)=>n=e[t]=[r,i]));r.push(n[2]=o);vara=i.p+i.u(t),s=newError;i.l(a,(r=>{if(i.o(e,t)&&(0!==(n=e[t])&&(e[t]=void0),n)){varo=r&&("load"===r.type?"missing":r.type),a=r&&r.target&&r.target.src;s.messe="Loadingchunk"+t+"failed.\n("+o+":"+a+")",s.name="ChunkLoadError",s.type=o,s.request=a,n[1](s)}}),"chunk-"+t,t)}};vart=(t,r)=>{varn,o,[a,s,c]=r,u=0;if(a.some((t=>0!==e[t]))){for(nins)i.o(s,n)&&(i.m[n]=s[n]);if(c)c(i)}for(t&&t(r);u{"usestrict";i(8374);vare=i(944),t=i(6344),r=i(9566);classn{entIdentifier;constructor(e=(0,r.LA)(16)){this.entIdentifier=e}#e(t,...r){if("function"==typeofthis.api?.[t])returnthis.api[t](...r);(0,e.R)(35,t)}addPeAction(e,t){returnthis.#e("addPeAction",e,t)}recordCustomEvent(e,t){returnthis.#e("recordCustomEvent",e,t)}setPeViewName(e,t){returnthis.#e("setPeViewName",e,t)}setCustomAttribute(e,t,r){returnthis.#e("setCustomAttribute",e,t,r)}noticeError(e,t){returnthis.#e("noticeError",e,t)}setUserId(e){returnthis.#e("setUserId",e)}setApplicationVersion(e){returnthis.#e("setApplicationVersion",e)}setErrorHandler(e){returnthis.#e("setErrorHandler",e)}addRelease(e,t){returnthis.#e("addRelease",e,t)}log(e,t){returnthis.#e("log",e,t)}}classoextendsn{#e(t,...r){if("function"==typeofthis.api?.[t])returnthis.api[t](...r);(0,e.R)(35,t)}start(){returnthis.#e("start")}finished(e){returnthis.#e("finished",e)}recordReplay(){returnthis.#e(t.G4.RECORD)}pauseReplay(){returnthis.#e(t.G4.PAUSE)}addToTrace(e){returnthis.#e("addToTrace",e)}setCurrentRouteName(e){returnthis.#e("setCurrentRouteName",e)}interaction(){returnthis.#e("interaction")}wrapLogger(e,t,r){returnthis.#e("wrapLogger",e,t,r)}}vara=i(860),s=i(9417);constc=Object.values(a.K7);functionu(e){constt={};returnc.forEach((r=>{t[r]=function(e,t){return!0===(0,s.gD)(t,"".concat(e,".enabled"))}(r,e)})),t}vard=i(425);varl=i(1687),f=i(4234),h=i(5289),p=i(6154),g=i(5270),m=i(7767),v=i(6389);classbextendsf.W{constructor(e,t,r=!0){super(e.entIdentifier,t),this.auto=r,this.abortHandler=void0,this.featgregate=void0,this.ongregateImported=void0,!1===e.init[this.featureName].autoStart&&(this.auto=!1),this.auto?(0,l.Ak)(e.entIdentifier,t):this.ee.on("manual-start-all",(0,v.J)((()=>{(0,l.Ak)(e.entIdentifier,this.featureName),this.auto=!0,this.importgregator(e)})))}importgregator(t,r={}){if(this.featgregate||!this.auto)return;letn;this.ongregateImported=newPromise((e=>{n=e}));consto=async()=>{leto;try{if((0,m.V)(this.entIdentifier)){const{setupentSession:e}=awaiti.e(478).then(i.bind(i,6526));o=e(t)}}catch(t){(0,e.R)(20,t),this.ee.emit("internal-error",[t]),this.featureName===a.K7.sessionReplay&&this.abortHandler?.()}try{if(t.sharedgregator)awaitt.sharedgregator;else{t.sharedgregator=i.e(478).then(i.bind(i,9337));const{Eventgregator:e}=awaitt.sharedgregator;t.sharedgregator=newe}if(!this.#t(this.featureName,o))return(0,l.Ze)(this.entIdentifier,this.featureName),voidn(!1);const{lazyFeatureLoader:e}=awaiti.e(478).then(i.bind(i,6103)),{gregate:a}=awaite(this.featureName,"gregate");this.featgregate=newa(t,r),n(!0)}catch(t){(0,e.R)(34,t),this.abortHandler?.(),(0,l.Ze)(this.entIdentifier,this.featureName,!0),n(!1),this.ee&&this.ee.abort()}};p.RI?(0,h.GG)((()=>o()),!0):o()}#t(e,t){switch(e){casea.K7.sessionReplay:return(0,g.SR)(this.entIdentifier)&&!!t;casea.K7.sessionTrace:return!!t;default:return!0}}}vary=i(6630);classwextendsb{staticfeatureName=y.T;constructor(e,t=!0){super(e,y.T,t),this.importgregator(e)}}varR=i(384);varx=i(9908),T=i(2843),E=i(3878),A=i(782),S=i(1863);classNextendsb{staticfeatureName=A.T;constructor(e,t=!0){super(e,A.T,t),p.RI&&((0,T.u)((()=>(0,x.p)("docHidden",[(0,S.t)()],void0,A.T,this.ee)),!0),(0,E.sp)("pehide",(()=>(0,x.p)("winPehide",[(0,S.t)()],void0,A.T,this.ee))),this.importgregator(e))}}var_=i(3969);classOextendsb{staticfeatureName=_.TZ;constructor(e,t=!0){super(e,_.TZ,t),this.importgregator(e)}}varI=i(6774),P=i(3304);classj{constructor(e,t,r,n,i){this.name="UncaughtError",this.messe="string"==typeofe?e:(0,P.A)(e),this.sourceURL=t,this.line=r,this.column=n,this.__newrelic=i}}functionC(e){returnH(e)?e:newj(void0!==e?.messe?e.messe:e,e?.filename||e?.sourceURL,e?.lineno||e?.line,e?.colno||e?.col,e?.__newrelic)}functionk(e){constt="UnhandledPromiseRejection";if(!e?.reason)return;if(H(e.reason))try{returne.reason.messe=t+":"+e.reason.messe,C(e.reason)}catch(t){returnC(e.reason)}constr=C(e.reason);returnr.messe=t+":"+r?.messe,r}functionL(e){if(e.errorinstanceofSyntaxError&&!/:\d+$/.test(e.error.stack?.trim())){constt=newj(e.messe,e.filename,e.lineno,e.colno,e.error.__newrelic);returnt.name=SyntaxError.name,t}returnH(e.error)?e.error:C(e)}functionH(e){returneinstanceofError&&!!e.stack}classMextendsb{staticfeatureName=I.T;#r=!1;constructor(e,r=!0){super(e,I.T,r);try{this.removeOnAbort=newAbortController}catch(e){}this.ee.on("internal-error",((e,t)=>{this.abortHandler&&(0,x.p)("ierr",[C(e),(0,S.t)(),!0,{},this.#r,t],void0,this.featureName,this.ee)})),this.ee.on(t.G4.REPLAY_RUNNING,(e=>{this.#r=e})),p.gm.addEventListener("unhandledrejection",(e=>{this.abortHandler&&(0,x.p)("err",[k(e),(0,S.t)(),!1,{unhandledPromiseRejection:1},this.#r],void0,this.featureName,this.ee)}),(0,E.jT)(!1,this.removeOnAbort?.signal)),p.gm.addEventListener("error",(e=>{this.abortHandler&&(0,x.p)("err",[L(e),(0,S.t)(),!1,{},this.#r],void0,this.featureName,this.ee)}),(0,E.jT)(!1,this.removeOnAbort?.signal)),this.abortHandler=this.#n,this.importgregator(e)}#n(){this.removeOnAbort?.abort(),this.abortHandler=void0}}varD=i(8990);letK=1;constU="nr@id";functionV(e){constt=typeofe;return!e||"object"!==t&&"function"!==t?Tuandco.com - Expertos en mejorar tu hogar-1:e===p.gm?0:(0,D.I)(e,U,(function(){returnK++}))}functionG(e){if("string"==typeofe&&e.length)returne.length;if("object"==typeofe){if("undefined"!=typeofArrayBuffer&&einstanceofArrayBuffer&&e.byteLength)returne.byteLength;if("undefined"!=typeofBlob&&einstanceofBlob&&e.size)returne.size;if(!("undefined"!=typeofFormData&&einstanceofFormData))try{return(0,P.A)(e).length}catch(e){return}}}varF=i(8139),B=i(7836),W=i(3434);constz={},q=["open","send"];functionZ(t){varr=t||B.ee;constn=function(e){return(e||B.ee).get("xhr")}(r);if(void0===p.gm.XML)returnn;if(z[n.debugId]++)returnn;z[n.debugId]=1,(0,F.u)(r);vari=(0,W.YM)(n),o=p.gm.XML,a=p.gm.MutationObserver,s=p.gm.Promise,c=p.gm.setInterval,u="readystatechange",d=["onload","onerror","onabort","onloadstart","onloadend","onprogress","ontimeout"],l=[],f=p.gm.XML=function(t){constr=newo(t),a=n.context(r);try{n.emit("new-xhr",[r],a),r.addEventListener(u,(s=a,function(){vare=this;e.readyState>3&&!s.resolved&&(s.resolved=!0,n.emit("xhr-resolved",[],e)),i.inPlace(e,d,"fn-",y)}),(0,E.jT)(!1))}catch(t){(0,e.R)(15,t);try{n.emit("internal-error",[t])}catch(e){}}vars;returnr};functionh(e,t){i.inPlace(t,["onreadystatechange"],"fn-",y)}if(function(e,t){for(varrine)t[r]=e[r]}(o,f),f.prototype=o.prototype,i.inPlace(f.prototype,q,"-xhr-",y),n.on("send-xhr-start",(function(e,t){h(e,t),function(e){l.push(e),a&&(g?g.then(b):c?c(b):(m=-m,v.data=m))}(t)})),n.on("open-xhr-start",h),a){varg=s&&s.resolve();if(!c&&!s){varm=1,v=document.createTextNode(m);newa(b).observe(v,{characterData:!0})}}elser.on("fn-end",(function(e){e[0]&&e[0].type===u||b()}));functionb(){for(vare=0;e{r(Q[te],e,X),r(ee[te],e,X)})),r(p.gm,"fetch",Y),t.on(Y+"end",(function(e,r){varn=this;if(r){vari=r.headers.get("content-length");null!==i&&(n.rxSize=i),t.emit(Y+"done",[null,r],n)}elset.emit(Y+"done",[e],n)})),t}varie=i(7485),oe=i(5603);classae{constructor(e){this.entIdentifier=e}generateTracePayload(e){if(!this.shouldGenerateTrace(e))returnnull;vart=(0,oe.o)(this.entIdentifier);if(!t)returnnull;varn=(t.accountID||"").toString()||null,i=(t.entID||"").toString()||null,o=(t.trustKey||"").toString()||null;if(!n||!i)returnnull;vara=(0,r.ZF)(),s=(0,r.el)(),c=Date.now(),u={spanId:a,traceId:s,timestamp:c};return(e.sameOrigin||this.isAllowedOrigin(e)&&this.useTraceContextHeadersForCors())&&(u.traceContextParentHeader=this.generateTraceContextParentHeader(a,s),u.traceContextStateHeader=this.generateTraceContextStateHeader(a,c,n,i,o)),(e.sameOrigin&&!this.excludeNewrelicHeader()||!e.sameOrigin&&this.isAllowedOrigin(e)&&this.useNewrelicHeaderForCors())&&(u.newrelicHeader=this.generateTraceHeader(a,s,c,n,i,o)),u}generateTraceContextParentHeader(e,t){return"00-"+t+"-"+e+"-01"}generateTraceContextStateHeader(e,t,r,n,i){returni+"@nr=0-1-"+r+"-"+n+"-"+e+"----"+t}generateTraceHeader(e,t,r,n,i,o){if(!("function"==typeofp.gm?.btoa))returnnull;vara={v:[0,1],d:{ty:"Browser",ac:n,ap:i,id:e,tr:t,ti:r}};returno&&n!==o&&(a.d.tk=o),btoa((0,P.A)(a))}shouldGenerateTrace(e){returnthis.isDtEnabled()&&this.isAllowedOrigin(e)}isAllowedOrigin(e){vart=!1,r={};if((0,s.gD)(this.entIdentifier,"distributed_tracing")&&(r=(0,s.D0)(this.entIdentifier).distributed_tracing),e.sameOrigin)t=!0;elseif(r.allowed_originsinstanceofArray)for(varn=0;n(0,x.p)(e,t,r,n,this.ee);try{conste={xml:"xhr",fetch:"fetch",beacon:"beacon"};p.gm?.performance?.getEntriesByType("resource").forEach((t=>{if(t.initiatorTypeine&&0!==t.responseStatus){constr={status:t.responseStatus},n={rxSize:t.transferSize,duration:Math.floor(t.duration),cbTime:0};pe(r,t.name),this.handler("xhr",[r,n,t.startTime,t.responseEnd,e[t.initiatorType]],void0,a.K7.ajax)}}))}catch(e){}ne(this.ee),Z(this.ee),function(e,t,r,n){functioni(e){vart=this;t.totalCbs=0,t.called=0,t.cbTime=0,t.end=R,t.ended=!1,t.xhrGuids={},t.lastSize=null,t.loadCaptureCalled=!1,t.params=this.params||{},t.metrics=this.metrics||{},e.addEventListener("load",(function(r){T(t,e)}),(0,E.jT)(!1)),p.lR||e.addEventListener("progress",(function(e){t.lastSize=e.loaded}),(0,E.jT)(!1))}functiono(e){this.params={method:e[0]},pe(this,e[1]),this.metrics={}}functions(t,r){e.loader_config.xpid&&this.sameOrigin&&r.setRequestHeader("X-NewRelic-ID",e.loader_config.xpid);vari=n.generateTracePayload(this.parsedOrigin);if(i){varo=!1;i.newrelicHeader&&(r.setRequestHeader("newrelic",i.newrelicHeader),o=!0),i.traceContextParentHeader&&(r.setRequestHeader("traceparent",i.traceContextParentHeader),i.traceContextStateHeader&&r.setRequestHeader("tracestate",i.traceContextStateHeader),o=!0),o&&(this.dt=i)}}functionc(e,r){varn=this.metrics,i=e[0],o=this;if(n&&i){vara=G(i);a&&(n.txSize=a)}this.startTime=(0,S.t)(),this.body=i,this.listener=function(e){try{"abort"!==e.type||o.loadCaptureCalled||(o.params.aborted=!0),("load"!==e.type||o.called===o.totalCbs&&(o.onloadCalled||"function"!=typeofr.onload)&&"function"==typeofo.end)&&o.end(r)}catch(e){try{t.emit("internal-error",[e])}catch(e){}}};for(vars=0;s1?e[1]=o:e.push(o)}}functions(e,t){varr=!1;returnt.newrelicHeader&&(e.set("newrelic",t.newrelicHeader),r=!0),t.traceContextParentHeader&&(e.set("traceparent",t.traceContextParentHeader),t.traceContextStateHeader&&e.set("tracestate",t.traceContextStateHeader),r=!0),r}}functiony(e,t){this.params={},this.metrics={},this.startTime=(0,S.t)(),this.dt=t,e.length>=1&&(this.target=e[0]),e.length>=2&&(this.opts=e[1]);varr,n=this.opts||{},i=this.target;"string"==typeofi?r=i:"object"==typeofi&&iinstanceofle?r=i.url:p.gm?.URL&&"object"==typeofi&&iinstanceofURL&&(r=i.href),pe(this,r);varo=(""+(i&&iinstanceofle&&i.method||n.method||"GET")).toUpperCase();this.params.method=o,this.body=n.body,this.txSize=G(n.body)||0}functionw(e,t){if(this.endTime=(0,S.t)(),this.params||(this.params={}),(0,ce.iW)(this.params))return;letn;this.params.status=t?t.status:0,"string"==typeofthis.rxSize&&this.rxSize.length>0&&(n=+this.rxSize);consti={txSize:this.txSize,rxSize:n,duration:(0,S.t)()-this.startTime};r("xhr",[this.params,i,this.startTime,this.endTime,"fetch"],this,a.K7.ajax)}functionR(e){constt=this.params,n=this.metrics;if(!this.ended){this.ended=!0;for(lett=0;t{constt=e.getEntries();(0,x.p)(ye,[t],void0,a.K7.sessionTrace,r)})),n.observe({type:we,buffered:!0})}catch(e){}this.importgregator(e,{resourceObserver:n})}}var_e=i(2614);classOeextendsb{staticfeatureName=t.TZ;#i;#o;constructor(e,r=!0){letn;super(e,t.TZ,r),this.replayRunning=!1,this.#o=e;try{n=JSON.parse(localStore.getItem("".concat(_e.H3,"_").concat(_e.uh)))}catch(e){}(0,g.SR)(e.entIdentifier)&&this.ee.on(t.G4.RECORD,(()=>this.#a())),this.#s(n)?(this.#i=n?.sessionReplayMode,this.#c()):this.importgregator(e),this.ee.on("err",(e=>{this.replayRunning&&(this.errorNoticed=!0,(0,x.p)(t.G4.ERROR_DURING_REPLAY,[e],void0,this.featureName,this.ee))})),this.ee.on(t.G4.REPLTuandco.com - Expertos en mejorar tu hogarAY_RUNNING,(e=>{this.replayRunning=e}))}#s(e){returne&&(e.sessionReplayMode===_e.g.FULL||e.sessionReplayMode===_e.g.ERROR)||(0,g.Aw)(this.entIdentifier)}#u=!1;async#c(e){if(!this.#u){this.#u=!0;try{const{Recorder:t}=awaitPromise.all([i.e(478),i.e(249)]).then(i.bind(i,8589));this.recorder??=newt({mode:this.#i,entIdentifier:this.entIdentifier,trigger:e,ee:this.ee}),this.recorder.startRecording(),this.abortHandler=this.recorder.stopRecording}catch(e){}this.importgregator(this.#o,{recorder:this.recorder,errorNoticed:this.errorNoticed})}}#a(){this.featgregate?this.featgregate.mode!==_e.g.FULL&&this.featgregate.initializeRecording(_e.g.FULL,!0):(this.#i=_e.g.FULL,this.#c(t.Qb.API),this.recorder&&this.recorder.parent.mode!==_e.g.FULL&&(this.recorder.parent.mode=_e.g.FULL,this.recorder.stopRecording(),this.recorder.startRecording(),this.abortHandler=this.recorder.stopRecording))}}varIe=i(3962);classPeextendsb{staticfeatureName=Ie.TZ;constructor(e,t=!0){if(super(e,Ie.TZ,t),!p.RI||!(0,R.dV)().o.MO)return;constr=ve(this.ee);Ie.tC.forEach((e=>{(0,E.sp)(e,(e=>{a(e)}),!0)}));constn=()=>(0,x.p)("newURL",[(0,S.t)(),""+window.location],void0,this.featureName,this.ee);r.on("pushState-end",n),r.on("replaceState-end",n);try{this.removeOnAbort=newAbortController}catch(e){}(0,E.sp)("popstate",(e=>(0,x.p)("newURL",[e.timeStamp,""+window.location],void0,this.featureName,this.ee)),!0,this.removeOnAbort?.signal);leti=!1;consto=new((0,R.dV)().o.MO)(((e,t)=>{i||(i=!0,requestAnimationFrame((()=>{(0,x.p)("newDom",[(0,S.t)()],void0,this.featureName,this.ee),i=!1})))})),a=(0,v.s)((e=>{(0,x.p)("newUIEvent",[e],void0,this.featureName,this.ee),o.observe(document.body,{attributes:!0,childList:!0,subtree:!0,characterData:!0})}),100,{leading:!0});this.abortHandler=function(){this.removeOnAbort?.abort(),o.disconnect(),this.abortHandler=void0},this.importgregator(e,{domObserver:o})}}varje=i(7378);constCe={},ke=["appendChild","insertBefore","replaceChild"];functionLe(e){constt=function(e){return(e||B.ee).get("jsonp")}(e);if(!p.RI||Ce[t.debugId])returnt;Ce[t.debugId]=!0;varr=(0,W.YM)(t),n=/[?&](?:callback|cb)=([^]+)/,i=/(.*)\.([^.]+)/,o=/^(\w+)(\.|$)(.*)$/;functiona(e,t){if(!e)returnt;constr=e.match(o),n=r[1];returna(r[3],t[n])}returnr.inPlace(Node.prototype,ke,"dom-"),t.on("dom-start",(function(e){!function(e){if(!e||"string"!=typeofe.nodeName||"script"!==e.nodeName.toLowerCase())return;if("function"!=typeofe.addEventListener)return;varo=(s=e.src,c=s.match(n),c?c[1]:null);vars,c;if(!o)return;varu=function(e){vart=e.match(i);if(t&&t.length>=3)return{key:t[2],parent:a(t[1],window)};return{key:e,parent:window}}(o);if("function"!=typeofu.parent[u.key])return;vard={};functionl(){t.emit("jsonp-end",[],d),e.removeEventListener("load",l,(0,E.jT)(!1)),e.removeEventListener("error",f,(0,E.jT)(!1))}functionf(){t.emit("jsonp-error",[],d),t.emit("jsonp-end",[],d),e.removeEventListener("load",l,(0,E.jT)(!1)),e.removeEventListener("error",f,(0,E.jT)(!1))}r.inPlace(u.parent,[u.key],"cb-",d),e.addEventListener("load",l,(0,E.jT)(!1)),e.addEventListener("error",f,(0,E.jT)(!1)),t.emit("new-jsonp",[e.src],d)}(e[0])})),t}constHe={};functionMe(e){constt=function(e){return(e||B.ee).get("promise")}(e);if(He[t.debugId])returnt;He[t.debugId]=!0;varr=t.context,n=(0,W.YM)(t),i=p.gm.Promise;returni&&function(){functione(r){varo=t.context(),a=n(r,"executor-",o,null,!1);consts=Reflect.construct(i,[a],e);returnt.context(s).getCtx=function(){returno},s}p.gm.Promise=e,Object.defineProperty(e,"name",{value:"Promise"}),e.toString=function(){returni.toString()},Object.setPrototypeOf(e,i),["all","race"].forEach((function(r){constn=i[r];e[r]=function(e){leti=!1;[...e||[]].forEach((e=>{this.resolve(e).then(a("all"===r),a(!1))}));consto=n.apply(this,arguments);returno;functiona(e){returnfunction(){t.emit("propate",[null,!i],o,!1,!1),i=i||!e}}}})),["resolve","reject"].forEach((function(r){constn=i[r];e[r]=function(e){constr=n.apply(this,arguments);returne!==r&&t.emit("propate",[e,!0],r,!1,!1),r}})),e.prototype=i.prototype;consto=i.prototype.then;i.prototype.then=function(...e){vari=this,a=r(i);a.promise=i,e[0]=n(e[0],"cb-",a,null,!1),e[1]=n(e[1],"cb-",a,null,!1);consts=o.apply(this,e);returna.nextPromise=s,t.emit("propate",[i,!0],s,!1,!1),s},i.prototype.then[W.Jt]=o,t.on("executor-start",(function(e){e[0]=n(e[0],"resolve-",this,null,!1),e[1]=n(e[1],"resolve-",this,null,!1)})),t.on("executor-err",(function(e,t,r){e[1](r)})),t.on("cb-end",(function(e,r,n){t.emit("propate",[n,!0],this.nextPromise,!1,!1)})),t.on("propate",(function(e,r,n){this.getCtx&&!r||(this.getCtx=function(){if(einstanceofPromise)varr=t.context(e);returnr&&r.getCtx?r.getCtx():this})}))}(),t}constDe={},Ke="setTimeout",Ue="setInterval",Ve="clearTimeout",Ge="-start",Fe=[Ke,"setImmediate",Ue,Ve,"clearImmediate"];functionBe(e){constt=function(e){return(e||B.ee).get("timer")}(e);if(De[t.debugId]++)returnt;De[t.debugId]=1;varr=(0,W.YM)(t);returnr.inPlace(p.gm,Fe.slice(0,2),Ke+"-"),r.inPlace(p.gm,Fe.slice(2,3),Ue+"-"),r.inPlace(p.gm,Fe.slice(3),Ve+"-"),t.on(Ue+Ge,(function(e,t,n){e[0]=r(e[0],"fn-",null,n)})),t.on(Ke+Ge,(function(e,t,n){this.method=n,this.timerDuration=isNaN(e[1])?0:+e[1],e[0]=r(e[0],"fn-",this,n)})),t}constWe={};functionze(e){constt=function(e){return(e||B.ee).get("mutation")}(e);if(!p.RI||We[t.debugId])returnt;We[t.debugId]=!0;varr=(0,W.YM)(t),n=p.gm.MutationObserver;returnn&&(window.MutationObserver=function(e){returnthisinstanceofn?newn(r(e,"fn-")):n.apply(this,arguments)},MutationObserver.prototype=n.prototype),t}const{TZ:qe,d3:Ze,Kp:Ye,$p:Xe,wW:$e,e5:Je,tH:Qe,uP:et,rw:tt,Lc:rt}=je;classntextendsb{staticfeatureName=qe;constructor(e,t=!0){if(super(e,qe,t),!p.RI)return;try{this.removeOnAbort=newAbortController}catch(e){}letr,n=0;consti=this.ee.get("tracer"),o=Le(this.ee),a=Me(this.ee),s=Be(this.ee),c=Z(this.ee),u=this.ee.get("events"),d=ne(this.ee),l=ve(this.ee),f=ze(this.ee);functionh(e,t){l.emit("newURL",[""+window.location,t])}functiong(){n++,r=window.location.hash,this[et]=(0,S.t)()}functionm(){n--,window.location.hash!==r&&h(0,!0);vare=(0,S.t)();this[Je]=~~this[Je]+e-this[et],this[rt]=e}functionv(e,t){e.on(t,(function(){this[t]=(0,S.t)()}))}this.ee.on(et,g),a.on(tt,g),o.on(tt,g),this.ee.on(rt,m),a.on($e,m),o.on($e,m),this.ee.on("fn-err",((...t)=>{t[2]?.__newrelic?.[e.entIdentifier]||(0,x.p)("function-err",[...t],void0,this.featureName,this.ee)})),this.ee.buffer([et,rt,"xhr-resolved"],this.featureName),u.buffer([et],this.featureName),s.buffer(["setTimeout"+Ye,"clearTimeout"+Ze,et],this.featureName),c.buffer([et,"new-xhr","send-xhr"+Ze],this.featureName),d.buffer([Qe+Ze,Qe+"-done",Qe+Xe+Ze,Qe+Xe+Ye],this.featureName),l.buffer(["newURL"],this.featureName),f.buffer([et],this.featureName),a.buffer(["propate",tt,$e,"executor-err","resolve"+Ze],this.featureName),i.buffer([et,"no-"+et],this.featureName),o.buffer(["new-jsonp","cb-start","jsonp-error","jsonp-end"],this.featureName),v(d,Qe+Ze),v(d,Qe+"-done"),v(o,"new-jsonp"),v(o,"jsonp-end"),v(o,"cb-start"),l.on("pushState-end",h),l.on("replaceState-end",h),window.addEventListener("hashchange",h,(0,E.jT)(!0,this.removeOnAbort?.signal)),window.addEventListener("load",h,(0,E.jT)(!0,this.removeOnAbort?.signal)),window.addEventListener("popstate",(function(){h(0,n>1)}),(0,E.jT)(!0,this.removeOnAbort?.signal)),this.abortHandler=this.#n,this.importgregator(e)}#n(){this.removeOnAbort?.abort(),this.abortHandler=void0}}varit=i(3333);classotextendsb{staticfeatureName=it.TZ;constructor(e,t=!0){super(e,it.TZ,t);constr=[e.init.pe_action.enabled,e.init.performance.capture_marks,e.init.performance.capture_measures,e.init.user_actions.enabled,e.init.performance.resources.enabled];if(p.RI&&(e.init.user_actions.enabled&&(it.Zp.forEach((e=>(0,E.sp)(e,(e=>(0,x.p)("ua",[e],void0,this.featureName,this.ee)),!0))),it.qN.forEach((e=>(0,E.sp)(e,(e=>(0,x.p)("ua",[e],void0,this.featureName,this.ee)))))),e.init.performance.resources.enabled&&p.gm.PerformanceObserver?.supportedEntryTypes.includes("resource"))){newPerformanceObserver((e=>{e.getEntries().forEach((e=>{(0,x.p)("browserPerformance.resource",[e],void0,this.featureName,this.ee)}))})).observe({type:"resource",buffered:!0})}r.some((e=>e))?this.importgregator(e):this.deregisterDrain()}}varat=i(993),st=i(3785);classctextendsb{staticfeatureName=at.TZ;constructor(e,t=!0){super(e,at.TZ,t);constr=this.ee;this.ee.on("wrap-logger-end",(function([e]){const{level:t,customAttributes:n}=this;(0,st.R)(r,e,n,t)})),this.importgregator(e)}}newclassextendso{constructor(t,r){super(r),p.gm?(this.features={},(0,R.bQ)(this.entIdentifier,this),this.desiredFeatures=newSet(t.features||[]),this.desiredFeatures.add(w),this.runSoftNOverSpa=[...this.desiredFeatures].some((e=>e.featureName===a.K7.softN)),(0,d.j)(this,t,t.loaderType||"ent"),this.run()):(0,e.R)(21)}getconfig(){return{info:this.info,init:this.init,loader_config:this.loader_config,runtime:this.runtime}}run(){try{constt=u(this.entIdentifier),r=[...this.desiredFeatures];r.sort(((e,t)=>a.P3[e.featureName]-a.P3[t.featureName])),r.forEach((r=>{if(!t[r.featureName]&&r.featureName!==a.K7.peViewEvent)return;if(this.runSoftNOverSpa&&r.featureName===a.K7.spa)return;if(!this.runSoftNOverSpa&&r.featureName===a.K7.softN)return;constn=function(e){switch(e){casea.K7.ajax:return[a.K7.jserrors];casea.K7.sessionTrace:return[a.K7.ajax,a.K7.peViewEvent];casea.K7.sessionReplay:return[a.K7.sessionTrace];casea.K7.peViewTiming:return[a.K7.peViewEvent];default:return[]}}(r.featureName).filter((e=>!(einthis.features)));n.length>0&&(0,e.R)(36,{targetFeature:r.featureName,missingDependencies:n}),this.features[r.featureName]=newr(this)}))}catch(t){(0,e.R)(22,t);for(consteinthis.features)this.features[e].abortHandler?.();constr=(0,R.Zm)();deleter.initializedents[this.entIdentifier]?.api,deleter.initializedents[this.entIdentifier]?.features,deletethis.sharedgregator;returnr.ee.get(this.entIdentifier).abort(),!1}}}({features:[he,w,N,Ne,Oe,O,M,ot,ct,Pe,nt],loaderType:"spa"})})()})();Tu&Co-Expertosenmejorartuhogar .ec-gtm-cookie-directive>div{background:#ffffff;color:#} .ec-gtm-cookie-directive>div>div>diva.action.accept{color:#8bc53f} .ec-gtm-cookie-directive>div>div>div.ec-gtm-cookie-directive-note-toggle{color:#8bc53f}.ec-gtm-cookie-directive-segments>divinput[type="checkbox"]+label:before{border:1pxsolid#} window.dataLayer=window.dataLayer||[]; window.AEC=window.AEC||{version:"103.1.7" }; AEC.Const= { TIMING_CATEGORY_ADD_TO_CART: 'AddToCartTime', TIMING_CATEGORY_REMOVE_FROM_CART: 'RemoveFromCartTime', TIMING_CATEGORY_PRODUCT_CLICK: 'ProductDetailClickTime', TIMING_CATEGORY_CHECKOUT: 'CheckoutTime', TIMING_CATEGORY_CHECKOUT_STEP: 'CheckoutStepTime', TIMING_CATEGORY_PRODUCT_WISHLIST: 'AddtoWishlistTime', TIMING_CATEGORY_PRODUCT_COMPARE: 'AddtoCompareTime' }; AEC.Const.URL ='/'; AEC.Const.VARIANT_DELIMITER ='-'; AEC.Const.VARIANT_DELIMITER_ATT=':'; AEC.Const.CHECKOUT_STEP_SHIPPING =1; AEC.Const.CHECKOUT_STEP_PAYMENT =2; AEC.Const.CHECKOUT_STEP_ORDER =3; AEC.Const.DIMENSION_SEARCH=18; AEC.Const.COOKIE_DIRECTIVE =false; AEC.Const.COOKIE_DIRECTIVE_SEGMENT_MODE =false; AEC.Const.COOKIE_DIRECTIVE_SEGMENT_MODE_EVENTS =["cookieConsentGranted"]; AEC.Const.COOKIE_DIRECTIVE_CONSENT_GRANTED_EVENT ="cookieConsentGranted"; AEC.Const.COOKIE_DIRECTIVE_CONSENT_DECLINE_EVENT ="cookieConsentDeclined"; AEC.Const.COOKIE_DIRECTIVE_CONSENT_GRANTED=AEC.CookieConsent.getConsent("cookieConsentGranted"); AEC.Const.CATALOG_CATEGORY_ADD_TO_CART_REDIRECT_EVENT="catalogCategoryAddToCartRedirect"; AEC.Messe= { confirm: true, confirmRemoveTitle:"Areyousure?", confirmRemove: "Areyousureyouwouldliketoremovethisitemfromtheshoppingcart?" }; AEC.storeName ="DefaultStoreView"; AEC.currencyCode ="EUR"; AEC.useDefaultValues =false; AEC.facebook =true; AEC.facebookInitParams =[]; AEC.SUPER=[]; AEC.CONFIGURABLE_SIMPLES=[]; AEC.BUNDLE={"bundles":[],"options":[]}; AEC.localStore=true; AEC.summary=false; AEC.reset=false; (()=>{lettime=0,loop=setInterval(()=> { time++; if('undefined'!==typeoffbq) { AEC.EventDispatcher.trigger('ec.facebook.loaded',{}); clearInterval(loop); } if(time>100) { console.log('Failedtodetectec.facebook.loadedevent.'); clearInterval(loop); } },100);})();(summary=>{ if(summary) { letgetSummary=(event)=> { AEC.Request.post(":\/\/\/datalayer\/index\/cart\/",{event:event},(response)=> { dataLayer.push(response); });};['ec.cookie.remove.item.data','ec.cookie.update.item.data','ec.cookie.add.data'].forEach(event=>{ AEC.EventDispatcher.on(event,(event=> { return()=> { setTimeout(()=>{getSummary(event);},2000);};})(event));}); }})(AEC.summary);if(AEC.GA4){ AEC.GA4.enabled=true; AEC.GA4.conversion_event="purchase"; AEC.GA4.currency="EUR"; AEC.GA4.quote=[];} window.dataLayer=window.dataLayer||[]; vardataLayerTransport=(function() { vardata=[]; return{ data:[], push:function(data) { this.data.push(data); returnthis; }, serialize:function() { returnthis.data; } } })(); varEC=[]; /*Dynamicremarketing*/ window.google_t_params=window.google_t_params||{}; /*Defaultpetype*/ window.google_t_params.ecomm_petype='home'; /*Groupedproductscollection*/ window.G=[]; /** *Globalrevenue */ window.revenue=0; /** *DoubleClick */ window.DoubleClick= { DoubleClickRevenue: 0, DoubleClickTransaction:0, DoubleClickQuantity: 0 }; AEC.Cookie.visitor({"visitorLoginState":"Loggedout","visitorLifetimeValue":0,"visitorExistingCustomer":"No","visitorType":"NOTLOGGEDIN","currentStore":"DefaultStoreView"}).push(dataLayer,false); dataLayer.push({peType:"home"}); (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':newDate().getTime(),event:'gtm.js'});varf=d.getElementsByTName(s)[0],j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src='/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);})(window,document,'script','dataLayer','GTM-KLR8DXR'); varBASE_URL='/';varTHEME_PATH='/static/version72/frontend/Tuandco/custom/es_ES';varCOOKIE_CONFIG={"expires":null,"path":"\u002F","domain":".","secure":false,"lifetime":"3600","cookie_restriction_enabled":false};varCURRENT_STORE_CODE='default';varCURRENT_WEBSITE_ID='1';window.hyva=window.hyva||{}window.cookie_consent_groups=window.cookie_consent_groups||{}window.cookie_consent_groups['necessary']=true;window.cookie_consent_config=window.cookie_consent_config||{};window.cookie_consent_config['necessary']=[].concat(window.cookie_consent_config['necessary']||[],['user_allowed_se_cookie','form_key','me-messes','private_content_version','me-cache-sessid','last_visited_store','section_data_ids']);'usestrict';(function(hyva,undefined){functionlifetimeToExpires(options,defaults){varlifetime=options.lifetime||defaults.lifetime;if(lifetime){vardate=newDate;date.setTime(date.getTime()+lifetime*1000);returndate;}returnnull;}functiongenerateRandomString(){constallowedCharacters='89abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ',length=16;letformKey='',charactersLength=allowedCharacters.length;for(vari=0;i{constcookieConfig=window.COOKIE_CONFIG||{};if(cookieConfig.cookie_restriction_enabled&&!internalCookie.isCookieAllowed(name)){returncookieTempStore[name]?cookieTempStore[name]['value']:null;}returninternalCookie.get(name);}hyva.setCookie=(name,value,days,skipSetDomain)=>{constcookieConfig=window.COOKIE_CONFIG||{};if(cookieConfig.cookie_restriction_enabled&&!internalCookie.isCookieAllowed(name)){cookieTempStore[name]={value,days,skipSetDomain};return;}returninternalCookie.set(name,value,days,skipSetDomain);}hyva.getBrowserStore=()=>{constbrowserStore=window.localStore||window.sessionStore;if(!browserStore){console.warn('BrowserStoreisunailable');returnfalse;}try{browserStore.setItem('store_test',1);browserStore.removeItem('store_test');}catch(error){console.warn('BrowserStoreisnotaccessible',error);returnfalse;}returnbrowserStore;}hyva.postForm=(postParams)=>{constform=document.createElement("form");letdata=postParams.data;if(!data.uenc){data.uenc=btoa(window.location.href);}form.method="POST";form.action=postParams.action;Object.keys(postParams.data).map(key=>{constfield=document.createElement("input");field.type='hidden'field.value=postParams.data[key];field.name=key;form.appendChild(field);});constform_key=document.createElement("input");form_key.type='hidden';form_key.value=hyva.getFormKey();form_key.name="form_key";form.appendChild(form_key);document.body.appendChild(form);form.submit();}hyva.getFormKey=function(){letformKey=hyva.getCookie('form_key');if(!formKey){formKey=generateRandomString();hyva.setCookie('form_key',formKey);}returnformKey;}hyva.formatPrice=(value,showSign)=>{varformatter=newIntl.NumberFormat('es\u002DES',{style:'currency',currency:'EUR',signDisplay:showSign?"always":"auto"});return(typeofIntl.NumberFormat.prototype.formatToParts==='function')?formatter.formatToParts(value).map(({type,value})=>{switch(type){case'currency':return'€'||value;case'minusSign':return'-';case'plusSign':return'+';default:returnvalue;}}).reduce((string,part)=>string+part):formatter.format(value);}constformatStr=function(str,nStart){constargs=Array.from(arguments).slice(2);returnstr.replace(/(%+)([0-9]+)/g,(m,p,n)=>{constidx=parseInt(n)-nStart;if(args[idx]===null||args[idx]===void0){returnm;}returnp.length%2?p.slice(0,-1).replace('%%','%')+args[idx]:p.replace('%%','%')+n;})}hyva.str=function(string){constargs=Array.from(arguments);args.splice(1,0,1);returnformatStr.apply(undefined,args);}hyva.strf=function(){constargs=Array.from(arguments);args.splice(1,0,0);returnformatStr.apply(undefined,args);}/***Takeahtmlstringas`content`parameterand*extractanelementfromtheDOMtoreplacein*thecurrentpeunderthesameselector,*definedby`targetSelector`*/hyva.replaceDomElement=(targetSelector,content)=>{//ParsethecontentandextracttheDOMnodeusingthe`targetSelector`constparser=newDOMParser();constdoc=parser.parseFromString(content,'text/html');constcontentNode=doc.querySelector(targetSelector);//Bailifcontentcan'tbefoundif(!contentNode){return;}//Extractallthescripttsfromthenewcontent.//Scripttswon'texecutewheninsertedintoadom-elementdirectly,//thereforeweneedtoinjectthemtotheheadofthedocument.consttmpScripts=contentNode.getElementsByTName('script');if(tmpScripts.length>0){//Pushallscripttsintoanarray//(topreventdommanipulationwhileiteratingoverdomnodes)constscripts=[];for(leti=0;ireplace[match]);window.addEventListener('user-allowed-se-cookie',()=>internalCookie.seTempStoreCookies())}(window.hyva=window.hyva||{}));functionajaxConnectifTs_6767f8b7e2b16(){return{addClientScript(result){if(!document.querySelector(`#__cn_generic_script__${result.clientId}`)&&!document.querySelector(`#__cn_client_script_${result.clientId}`)){consturl=result.cdnProtocol+""+result.cdnDomain+"/"+result.cdnPath+"/"+result.clientScriptPath+result.clientId;constelement=document.createElement("script");element.setAttribute("src",url);document.body.appendChild(element);}},addTs(innerHTML){if(!!innerHTML){letelement=document.createElement("div");element.style.display="none";element.innerHTML=innerHTML;document.body.appendChild(element);}},init(){consturl="/connectif/ts/ajaxconnectifts";constcontentType='application/json;charset=UTF-8';fetch(url,{method:'get',headers:{'Content-Type':contentType}}).then(response=>{if(response.ok){returnresponse.json();}else{console.warn("GETrequestfailed",response);}}).then(result=>{if(result){this.addTs(result.renderedClientInfo);this.addTs(result.renderedCart);this.addTs(result.renderedNewsletter);if("complete"===document.readyState||"interactive"===document.readyState){this.addClientScript(result);}else{document.addEventListener("DOMContentLoaded",this.addClientScript.bind(null,result));}}});}}}SkiptoContentfunctioninitHeader(){return{searchOpen:false,scrollAtTop:true,cart:{},getData(data){if(data.cart){this.cart=data.cart}}}}¡BLACKFRIDAY! -20€conelcupón:BLACK20desde400€decompra-20€conelcupónBLACK20desde400€@mediascreenand(max-width:743px){.onlydesk{display:none;}}@mediascreenand(min-width:744px){.onlymob{display:none;}}ContactaconnosotrosDevolucionesPoseguroEnvíosCentrodeayudaMenu'usestrict';functioninitMiniSearch(){return{minSearchLength:3,suggestions:[],suggest(){constsearch=this.$refs.searchInput;if(search.value.length>=this.minSearchLength){search.setCustomValidity('');search.reportValidity();this.fetchSuggestions(search.value);}else{this.suggestions=[];}},fetchSuggestions(term){fetch(window.BASE_URL+'search/ajax/suggest?'+newURLSearchParams({q:term}),{headers:{'X-Requested-With':'XML'}}).then(response=>response.json()).then(result=>this.suggestions=result);},search(term){constsearch=this.$refs.searchInput;term=term||search.value;if(term.length¿Necesitasayuda?919495445SearchIniciarsesiónCreaunacuentaCarrito'usestrict';functioninitMiniSearch(){return{minSearchLength:3,suggestions:[],suggest(){constsearch=this.$refs.searchInput;if(search.value.length>=this.minSearchLength){search.setCustomValidity('');search.reportValidity();this.fetchSuggestions(search.value);}else{this.suggestions=[];}},fetchSuggestions(term){fetch(window.BASE_URL+'search/ajax/suggest?'+newURLSearchParams({q:term}),{headers:{'X-Requested-With':'XML'}}).then(response=>response.json()).then(result=>this.suggestions=result);},search(term){constsearch=this.$refs.searchInput;term=term||search.value;if(term.lengthfunctioninitCartDrawer(){return{open:false,isLoading:false,cart:{},maxItemsToDisplay:10,itemsCount:0,totalCartAmount:0,getData(data){if(data.cart){this.cart=data.cart;this.itemsCount=data.cart.items&&data.cart.items.length||0;this.totalCartAmount=this.cart.summary_count;this.setCartItems();}this.isLoading=false;},cartItems:[],getItemCountTitle(){returnhyva.strf('(%0of%1)',this.maxItemsToDisplay,this.itemsCount)},setCartItems(){this.cartItems=this.cart.items&&this.cart.items.sort((a,b)=>b.item_id-a.item_id)||[];if(this.maxItemsToDisplay>0){this.cartItems=this.cartItems.slice(0,parseInt(this.maxItemsToDisplay,10));}},deleteItemFromCart(itemId){this.isLoading=true;constformKey=hyva.getFormKey();constpostUrl=BASE_URL+'checkout/sidebar/removeItem/';fetch(postUrl,{"headers":{"content-type":"application/x-;charset=UTF-8",},"body":"form_key="+formKey+"&item_id="+itemId,"method":"POST","mode":"cors","credentials":"include"}).then(response=>{if(response.redirected){window.location.href=response.url;}elseif(response.ok){returnresponse.json();}else{window.dispatchMesses&&window.dispatchMesses([{type:'warning',text:'No\u0020se\u0020ha\u0020podido\u0020eliminar\u0020el\u0020art\u00EDculo\u0020del\u0020presupuesto.'}]);this.isLoading=false;}}).then(result=>{window.dispatchMesses&&window.dispatchMesses([{type:result.success?'success':'error',text:result.success?'Has\u0020eliminado\u0020el\u0020art\u00EDculo.':result.error_messe}],result.success?5000:0)window.dispatchEvent(newCustomEvent('reload-customer-section-data'));});}}}MiCestaxSubtotal:IraparoVerymodificarcestaUnmomentoporfor...functioninitAuthentication(){return{open:false,forceAuthentication:false,checkoutUrl:'/checkout/index/',errors:0,hasCaptchaToken:0,displayErrorMesse:false,errorMesses:[],setErrorMesses:functionsetErrorMesses(messes){this.errorMesses=[messes];this.displayErrorMesse=this.errorMesses.length;},submitForm:function(){//Donotrename$form,thevariableisexpectedtobedeclaredintherecaptchaoutputconst$form=document.querySelector('#login-form');if(this.errors===0){this.dispatchLoginRequest($form);}},onPrivateContentLoaded:function(data){constisLoggedIn=data.customer&&data.customer.firstname;if(data.cart&&!isLoggedIn){this.forceAuthentication=!data.cart.isGuestCheckoutAllowed;}},redirectIfAuthenticated:function(event){if(event.detail&&event.detail.url){this.checkoutUrl=event.detail.url;}if(!this.forceAuthentication){window.location.href=this.checkoutUrl;}},dispatchLoginRequest:function(form){this.isLoading=true;constusername=this.$refs['customer-email'].value;constpassword=this.$refs['customer-password'].value;constformKey=hyva.getFormKey();constbodyFields={'username':username,'password':password,'formKey':formKey};constfieldName='g\u002Drecaptcha\u002Dresponse';constrecaptchaField=fieldName&&form[fieldName];if(recaptchaField){bodyFields[fieldName]=recaptchaField.value;}fetch('/customer/ajax/login/',{method:'POST',headers:{'Content-Type':'application/json','X-Requested-With':'XML'},body:JSON.stringify(bodyFields)}).then(response=>{returnresponse.json()}).then(data=>{this.isLoading=false;if(data.errors){dispatchMesses([{type:'error',text:data.messe}],5000);this.errors=1;this.hasCaptchaToken=0;}else{window.location.href=this.checkoutUrl;}});}}}CheckoutusingyouraccountEmailAddressContraseñaIniciarsesiónOlvidastetucontraseña?CheckoutasanewcustomerCreatinganaccounthasmanybenefits:SeeorderandshippingstatusTrackorderhistoryCheckoutfasterCreaunacuentaTodaslascategoríasMarcasOfertascalefacciónBlogaprendeymejoraHola👋¿Quénecesitashoy?BañoExpandVertodoBañoSanitariosSanitariosVertodoSanitariosInodorosLabosPlatosdeDuchaBidésparaWCBañerasBañerasdeHidromasajeBastidoresparaInodorosPlacasdeaccionamientoparacisternasempotradasUrinariosdeparedTrituradoresWCMueblesdebañoMueblesdebañoVertodoMueblesdebañoMueblesconlaboparaBañosArmariosyMueblesAuxiliaresdeBañoAccesoriosparamueblesdebañoGrifosparaelbañoGrifosparaelbañoVertodoGrifosparaelbañoGrifosdeLaboGrifosdeDuchaGrifosyDuchasTermostáticasColumnasdeDuchaGrifostemporizadosConjuntosdeDuchaGriferíaparabañeras-GrifosdebañeraDuchasdebidetGrifosdeBidéFlexosdeDucha-ManguerasparaDuchaTeléfonosdeDuchaDuchasdeTecho,deParedyFijasRociadoresdeparedLlesdepaso,auxiliaresyaccesoriosEspejosdebañoApliquesparaEspejosdeBañoAccesoriosdeBañoAccesoriosdeBañoVertodoAccesoriosdeBañoToallerosparaBañoColgadoresyGanchosparaBañoPortarrollosdebañoEscobillasdeBañoJabonerasparaBañoDosificadoresdeJabónparaBañoPortaobjetosyContenedoresdeRejillaparaDuchaEspejosdeAumentoparaBañoPortacepillosdeDientesparaBañoPapelerasparaelBañoConjuntosyPacksdeAccesoriosdeBañoEstantes,BaldasyRepisasparaBañoDispensadoresdepapelRecambiosyRepuestosdesanitariosRecambiosyRepuestosdesanitariosVertodoRecambiosyRepuestosdesanitariosTapasdeWCeInodorosBisrasparatapasdeinodoroMecanismosydescargasdeinodoroPulsadoresparainodorosyWCTapasdeBidetBisrasparabidésCisternasytanquesdeinodoroTazasdeinodoroMamparasdeDuchayBañeraAccesoriosparaBañosPúblicosAccesoriosparaBañosPúblicosVertodoAccesoriosparaBañosPúblicosBarrasdeBañoparaMinusválidosSecadoresdeManosparaBañosSecadoresdePelodeParedDispensadoresdeJabóndeparedparaBañoDispensadoresdePapelSecamanoseHigiénicoIndustrialSillas,TaburetesyAsientosparaDuchasPiscinasExpandVertodoPiscinasPiscinasdesmontablesPiscinasdesmontablesVertodoPiscinasdesmontablesPiscinasdeaceroPiscinasdemaderaPiscinasdecompositePiscinasenterradasMantenimientopiscinasdesmontablesLimpiafondospiscinaLimpiafondospiscinaVertodoLimpiafondospiscinaLimpiafondoseléctricosLimpiafondoshidráulicosLimpiafondosmanualesRecambioslimpiafondosDepuradoraspiscinaDepuradoraspiscinaVertodoDepuradoraspiscinaDepuradorasdePiscinaBombasdepiscinaCasetasparapiscinasVálvulasSelectorasparafiltrodepiscinaArmariosdemaniobraparapiscinaAccesoriosparapiscinasAccesoriosparapiscinasVertodoAccesoriosparapiscinasLinersparapiscinasCubiertasytapicesRejillaperimetralyrebosaderoDuchasparapiscinasEscalerasparapiscinaPasamanosparapiscinasCascadasparapiscinasAccesoriosparaSpasySaunasSeguridadpiscinasRecambiospiscinaRecambiospiscinaVertodoRecambiospiscinaBoquillasdeimpulsiónparapiscinasSkimmerpiscinaSumideropiscinaMangueralimpiafondospiscinaRecogehojaspiscinaPasamurospiscinahormigónReguladordeniveldeuaparapiscinasCepillosparalimpiarlaPiscinaMangostelescópicospiscinaDosificadoresflotantesTermómetrosdepiscinaTratamientouapiscinaTratamientouapiscinaVertodoTratamientouapiscinaCloradoressalinosRegulaciónydosificaciónPHdepiscinaMedidoresdecloroyPHReguladoresdePHFloculantesparapiscinaCloroparapiscinasOxígenoactivoybromoparapiscinasAntialgasparapiscinaDesincrustantepiscinasInvernadorpiscinasProductoselectrólisisdesalQuímicosPiscinaIluminaciónpiscinasIluminaciónpiscinasVertodoIluminaciónpiscinasFocosledparapiscinasFocosparapiscinasTransformadoresparapiscinasClimatizacióndepiscinasClimatizacióndepiscinasVertodoClimatizacióndepiscinasPlacassolaresparapiscinasBombasdecalorpiscinaIntercambiadoresdecalorparapiscinasTrampolinesyJuegosAcuáticosTrampolinesyJuegosAcuáticosVertodoTrampolinesyJuegosAcuáticosKayaksybarcoshinchablesTrampolinesyToboganesPropulsoresAcuáticosCalefacciónExpandVertodoCalefacciónTermoseléctricosCalderasdegascondensaciónAireacondicionadoAireacondicionadoVertodoAireacondicionadoAireacondicionadosplitAireAcondicionadoportátilPurificadoresdeaireHumidificadoresydeshumidificadoresAccesoriosaireacondicionadoEnergíasRenovablesEnergíasRenovablesVertodoEnergíasRenovablesAerotermiaPlacasSolaresCalefaccióndepelletsybiomasaCalefaccióndepelletsybiomasaVertodoCalefaccióndepelletsybiomasaEstufasdepelletsybiomasaCalderasdePelletsybiomasaCalefaccióndegasoilCalefaccióndegasoilVertodoCalefaccióndegasoilDepósitosdeGasoilCalderasdeGasoilQuemadoresdegasoilFiltrosdeGasoilyaccesoriosCalentadoresdegasTermostatosdecalefacciónRadiadoresRadiadoresVertodoRadiadoresRadiadoresdeuaRadiadoreseléctricosRadiadorestoallerosLlesderadiadorparacalefacciónAccesoriospararadiadoresEstufasEstufasVertodoEstufasEstufasdeleñaEstufaseléctricasEstufasagasparainteriorEstufasdeexteriorAccesoriosparachimeneasyestufasLimpiezaymantenimientodechimeneasVentiladoresVentiladoresVertodoVentiladoresVentiladoresdetechoVentiladornebulizadorSalidadehumosparacalderasAccesoriosparacalefacciónAccesoriosparacalefacciónVertodoAccesoriosparacalefacciónBombasderecirculaciónyACSAccesoriosdeinstalacióncalefacciónDepósitosdeinerciaVasosdeexpansiónparacalderasyACSVálvulasmotorizadasparacalefacciónColectorescalefacciónVálvulasdeseguridadCalderaseléctricasFontaneríaExpandVertodoFontaneríaTratamientodeluadomésticoTratamientodeluadomésticoVertodoTratamientodeluadomésticoDescalcificadoresdeuadomésticosÓsmosisInversadomésticaFuentesdeuaRecambiosyfiltrosdeosmosisMedidoresTDSyanalizadoresdedurezadeuaFiltrosycartuchosdeuaparacasaÓsmosisinversaindustrialAccesoriosparadescalcificadoresDepósitosdeuaTuberíasyaccesoriosdefontaneríaTuberíasyaccesoriosdefontaneríaVertodoTuberíasyaccesoriosdefontaneríaAccesoriosytuberíasPEXAccesoriosmulticapaderoscarycompresiónAccesoriosPVCpresiónTuberíasPVCpresiónAccesoriosdecobreAccesoriosdelatónAccesoriosmulticapaTuberíasmulticapaAccesoriosyTuberíasPVCdesüeAccesoriosyTuberíasdepolibutilenoAccesoriosdepolietilenoTuberíaspolietilenoAccesoriosGeboComplementosdeinstalaciónComplementosdeinstalaciónVertodoComplementosdeinstalaciónLlesdepasodeuaLatiguillosmetálicosyflexiblesparafontaneríaReductoresdepresiónAislamientosVálvulasderetenciónAireadores:AtomizadoresLlesdegasGrifosdejardínExtractoresTubosparaextractoresGrifosparaladorasylajillasFloronesyembellecedoresJuntasdegomaBombasdeuaBombasdeuaVertodoBombasdeuaGruposdepresiónBombasdesuperficieBombassumergiblesBombasparapozosAccesoriosbombasdeuaSifonesydesüesSifonesydesüesVertodoSifonesydesüesSifonesdelaboVálvulasdedesüeAccesoriosyrepuestossifonesSifonesdefregaderoSifonesdeduchaSifonesdebidéSifonesdebañeraSumiderosFosasSépticasJardínExpandVertodoJardínMueblesdeJardínMueblesdeJardínVertodoMueblesdeJardínConjuntosparajardínyterrazaMesasdejardínSillas,sillonesysofásdejardínBancosdejardínPérgolasycenadoresMobiliarioinfantildeexteriorBarbacoasBarbacoasVertodoBarbacoasBarbacoasdegasBarbacoasdecarbónyleñaBarbacoaseléctricasBarbacoasportátilesAccesoriosparabarbacoasCéspedartificialAlmacenajeexteriorAlmacenajeexteriorVertodoAlmacenajeexteriorCasetasdejardínGarajesyCocherasArmariosderesina,BaúlesyarconesdejardínJuegosinfantilesdeexteriorJuegosinfantilesdeexteriorVertodoJuegosinfantilesdeexteriorParquesinfantilesKarts,bicicletasypatinetesCasitasinfantilesCamaselásticasArenerosinfantilesDeportesalairelibreJuguetesinfantilesHuertosurbanosHuertosurbanosVertodoHuertosurbanosMesasdecultivoJardinerasdeexteriorymacetasJardinerasdeexteriorymacetasVertodoJardinerasdeexteriorymacetasJardinerasexteriorMaceterosMacetasconautorriegoBandejasyplatosparamacetasSistemasderiegoautomáticoSistemasderiegoautomáticoVertodoSistemasderiegoautomáticoAspersoresydifusoresderiegoRiegoporgoteoManguerasdejardínProgramadoresderiegoArquetasdeRiegoCampingCampingVertodoCampingNeverasportátilesAccesoriosdecampingLinternasyLámparasdecampingCocinasdecamping,hornillosypaellerasCartuchosybotellasdegasRepelentesdeinsectosyanimalesCocinaExpandVertodoCocinaGrifosdecocinaFregaderosPequeñoelectrodomésticoPequeñoelectrodomésticoVertodoPequeñoelectrodomésticoCafeterasBatidorasylicuadorasTostadorasysandwicherasRobotsdecocinaExprimidoresOllasdecocciónlentayarrocerasFreidorasSurtidoresdeCervezaVinotecasybotellerosPlanchaseléctricasHervidoresdeuaEspumadoresdelecheMonodosisycápsulasMolinillosdecaféPalomiterosyalgodóndeazúcarCreperasygofrerasHeladerasyPicahieloRaclettesyFounduesCortafiambresPicadoraytrituradoradecarneMáquinasparacocerhuevosAccesoriosPequeñosElectrodomésticosElectrodomésticosElectrodomésticosVertodoElectrodomésticosCampanasextractorasVitrocerámicaseinducciónHornosPlacasyencimerasdegasMicroondasSartenesyplanchasSartenesyplanchasVertodoSartenesyplanchasSartenesAsadoresyplanchasGrillsWoksPaellerasCacerolasyollasCacerolasyollasVertodoCacerolasyollasOllasOllasexpressCacerolasBateríasdeCocinaCazosFuentesybandejasdehornoTapaderasyaccesoriosCuchillosyTijerasCuchillosyTijerasVertodoCuchillosyTijerasCuchillosdemesaCuchillospeladoresTijerasdecocinaTablasdecorteRalladoresCortadoresymandolinasUtensiliosdecocinaUtensiliosdecocinaVertodoUtensiliosdecocinaUtensiliosGadgetscocinaBásculasymedidoresTuppersyfiambrerasPortaalimentosVaporerasColadoresyescurridoresAceiterasyvinrerasSaleros,pimienterosyazucarerosAbrelatasyabridoresEnvasadorasybolsasdevacíoJamonerosUtensiliosdereposteríaUtensiliosdereposteríaVertodoUtensiliosdereposteríaMoldesreposteríaCortadoresAccesoriosreposteríaMenajedecocinaMenajedecocinaVertodoMenajedecocinaCubiertosVajillasVasosCopasTazasEnsaladerasybolesJarrasdeuaSalvamantelesymantelesFerreteríaExpandVertodoFerreteríaEstanteríasmetálicasBancosdetrabajoHerramientasManualesHerramientasManualesVertodoHerramientasManualesDestornilladoresCajasymaletinesdeherramientasPaneles,cajonesyorganizadoresdeherramientasTalleresmóvilesHerramientasdeCorteHerramientaseléctricasymaquinariaHerramientaseléctricasymaquinariaVertodoHerramientaseléctricasymaquinariaTaladrosAtornilladoreseléctricosyabateríaSierrassableAccesoriosmaquinariaBateríasycargadoresHerrajesHerrajesVertodoHerrajesTiradoresypomosparamueblesPatasyruedasparaMueblesBisrasparamueblesCompasesderetenidaGuíasparacajónSeguridadparaelHogarSeguridadparaelHogarVertodoSeguridadparaelHogarVideoporterosPorterosautomáticosTimbresyzumbadoresCámarasdevigilanciaDetectoresdemovimientoAccesoriosparaporterosAccesorioshogarAccesorioshogarVertodoAccesorioshogarCerrajeríaCadenasycablesCintasadhesivasDesatascadoresquímicosTornilleriayfijacionesTornilleriayfijacionesVertodoTornilleriayfijacionesAbrazaderasparatubosTacodenylonHembrillasAdhesivosycolasAdhesivosycolasVertodoAdhesivosycolasAdhesivosinstantáneosAdhesivosdemontajeAdhesivosdereparaciónColablancaIluminaciónExpandVertodoIluminaciónIluminacióninteriorIluminacióninteriorVertodoIluminacióninteriorLámparascolgantesApliquesdeparedLámparasdepieFlexosyLámparasdemesaPlafonesyDownlightsTirasLEDLucesdeempotrarLucesdetechoIluminaciónexteriorIluminaciónexteriorVertodoIluminaciónexteriorApliquesdeexteriorPlafonesdeexteriorBalizasyGuirnaldasLEDFarolasjardínPiquetasylucessolaresLucesempotrarexteriorFocosyproyectoresdeexteriorBombillasyfluorescentesBombillasyfluorescentesVertodoBombillasyfluorescentesBombillasLEDBombillashalógenasBombillasbajoconsumoTubosfluorescentesIluminaciónparamueblesIluminacióninfantilElectricidadExpandVertodoElectricidadMecanismoseléctricosMaterialeléctricodeinstalaciónMaterialeléctricodeinstalaciónVertodoMaterialeléctricodeinstalaciónArmarioseléctricosCajaseléctricasCanaletasparacableseléctricosClijasindustrialesPortalámparasRegletasyBornasdeconexióneléctricaBridasdeplásticoAdaptadoresdeenchufeTuboscorrugadosPilasPuntasyconectoreseléctricosSistemasdecontrolyproteccióneléctricaSistemasdecontrolyproteccióneléctricaVertodoSistemasdecontrolyproteccióneléctricaMecanismosmodularesManiobraycontrolProtectoressobretensiónProgramadoresytemporizadoreseléctricosFusibleseléctricosCableseléctricosCableseléctricosVertodoCableseléctricosAlargosybasesmúltipleseléctricosMangueraeléctricaCableunipolarTelecomunicacionesTelecomunicacionesVertodoTelecomunicacionesAntenasparabólicasAntenasTV/TDTCablecoaxialdeantenatvFibraÓpticaplásticaConstrucciónExpandVertodoConstrucciónSuelosypimentosRevestimientosdeparedesImpermeabilizaciónImpermeabilizaciónVertodoImpermeabilizaciónImpermeabilizadoresTejasTelaasfálticaLonasyplásticosdeprotecciónParquetMorterosycementosPinturasyesmaltesPinturasyesmaltesVertodoPinturasyesmaltesPinturasPinturanáuticaTintesybarnicesPinturasenSprayPistolasdepinturaSiliconasyselladoresDecapadorasyPistolasdeAireAbrasivosAccesoriosdePinturaAntióxidosMasillasyrestauraciónPegamentos,masillas,resinasyespumasPegamentos,masillas,resinasyespumasVertodoPegamentos,masillas,resinasyespumasEspumasdepoliuretanoAdhesivosparaPVCAdhesivosycolasdecontactoMasillas'usestrict';constnigation=document.getElementById('Nigation');letprevNigationScrollTop=0;constinitDrawerMenu_6768e1ff0df0a=()=>{return{panelActiveId:null,closeDrawer(){this.panelActiveId=null;nigation.classList.remove('overflow-hidden');nigation.scrollTop=prevNigationScrollTop;},openDrawer(id){this.panelActiveId=id;nigation.classList.add('overflow-hidden');prevNigationScrollTop=nigation.scrollTop;setTimeout(()=>{nigation.scrollTop=0;},100);},setActiveMenu(menuNode){Array.from(menuNode.querySelectorAll('a')).filter(link=>{returnlink.href===window.location.href.split('?')[0];}).map(item=>{item.classList.add('underline');item.closest('div.level-0')&&item.closest('div.level-0').querySelector('a.level-0').classList.add('underline');});}}}document.addEventListener('alpine:init',()=>{Alpine.store('nigation',{isOpen:false,toggle(){this.isOpen=!this.isOpen;Alpine.store('bodyScroll').toggle(!this.isOpen);}});Alpine.store('bodyScroll',{isScrolling:false,toggle(isScrolling){this.isScrolling=isScrolling;if(this.isScrolling){document.body.classList.remove('overflow-hidden');}else{document.body.classList.add('overflow-hidden')}}})})functioninitMesses(){"usestrict";return{messes:window.meMesses||[],isEmpty(){returnthis.messes.reduce(function(isEmpty,messe){returnisEmpty&&messe===undefined},true)},removeMesse(messeIndex){this.messes[messeIndex]=undefined;},addMesses(messes,hideAfter){messes.map((messe)=>{this.messes=this.messes.concat(messe);if(hideAfter){this.setHideTimeOut(this.messes.length-1,hideAfter);}});},setHideTimeOut(messeIndex,hideAfter){setTimeout((messeIndex)=>{this.removeMesse(messeIndex);},hideAfter,messeIndex);},eventListeners:{['@messes-loaded.window'](){this.addMesses(event.detail.messes,event.detail.hideAfter)},['@private-content-loaded.window'](event){constdata=event.detail.data;if(data.messes&&data.messes.messes&&data.messes.messes.length){this.addMesses(data.messes.messes);}},['@clear-messes.window'](){this.messes=[];}}}} LatiendaonlinequeteayudaamejorartuhogarLatiendaonlinequeteayudaamejorartuhogarOfertasFlashBañoPlatodeduchaRocaTerransinmarcofunctioninitPriceBox__08ef0(){return{updatePrice(priceData){constregularPriceLabel=this.$root.querySelector('.normal-price.price-label');constregularPriceElement=this.$root.querySelector('.normal-price[data-price-type=finalPrice].price-wrapper.price');constbasePriceElement=this.$root.querySelector('.normal-price[data-price-type=basePrice].price-wrapper.price');if(priceData.finalPrice.amount{ (()=> { letmap={},trace={}; document.querySelectorAll('[data-widget]').forEach((element)=>{letwidget=element.dataset.widget; letentity= { id: element.dataset.id, name: element.dataset.name, category: element.dataset.category, brand: element.dataset.brand, list: element.dataset.list, price: parseFloat(element.dataset.price), position: parseFloat(element.dataset.position) }; letattributes=element.dataset.attributes; if(attributes) { Object.entries(JSON.parse(attributes)).forEach(([key,value])=> { entity[key]=value; }); } if(!map.hasOwnProperty(widget)) { map[widget]=[]; map[widget].trace={}; map[widget].entry=[]; } if(!map[widget].trace.hasOwnProperty(element.dataset.id)) { map[widget].trace[element.dataset.id]=true; map[widget].entry.push(entity); }}); Object.entries(map).forEach(([key,value])=> { if(value.entry.length) { letdata= { event:'widgetViewNonInteractive', ecommerce: { actionField: { list: value.entry.find(Boolean).list, currencyCode:"EUR" }, impressions:value.entry } }; if('undefined'!==typeofdataLayer) { (function(callback) { if(AEC.Const.COOKIE_DIRECTIVE) { AEC.CookieConsent.queue(callback).process(); } else { callback.apply(window,[]); } }) ( (function(dataLayer,data) { returnfunction() { AEC.EventDispatcher.trigger('ec.widget.view.data',data); dataLayer.push(data); } })(dataLayer,data) ); } } }); })();}); if(typeofdataLayer!=="undefined") { AEC.Request.get(AEC.url('datalayer/index/events'),{},response=> { Object.entries(response.events).forEach(([key,event])=> { dataLayer.push(event); }); }); AEC.EventDispatcher.on('ec.facebook.loaded',()=> { }); for(a=0,b=EC.length;a { AEC.Cookie.remarketing({event:'fireRemarketingT',google_t_params:window.google_t_params}).push(dataLayer); } })(dataLayer) ); } window.addEventListener('load',(event)=> { if(!AEC.gtm()) { AEC.Request.post(AEC.url('datalayer/index/datalayer'),{data:dataLayerTransport.serialize()},response=> { console.log('GoogleTManermaybeblockedbyAd-Blockerornotincludedinpe'); }); } }); } else { console.log('dataLayer[]isnotintialized.CheckifGTMisinstalledproperly'); } (()=>{functionsrc_default(Alpine){Alpine.directive("intersect",(el,{value,expression,modifiers},{evaluateLater,cleanup})=>{letevaluate=evaluateLater(expression);letoptions={rootMargin:getRootMargin(modifiers),threshold:getThreshhold(modifiers)};letobserver=newIntersectionObserver((entries)=>{entries.forEach((entry)=>{if(entry.isIntersecting===(value==="lee"))return;evaluate();modifiers.includes("once")&&observer.disconnect();});},options);observer.observe(el);cleanup(()=>{observer.disconnect();});});}functiongetThreshhold(modifiers){if(modifiers.includes("full"))return0.99;if(modifiers.includes("half"))return0.5;if(!modifiers.includes("threshold"))return0;letthreshold=modifiers[modifiers.indexOf("threshold")+1];if(threshold==="100")return1;if(threshold==="0")return0;returnNumber(`.${threshold}`);}functiongetLengthValue(rawValue){letmatch=rawValue.match(/^(-?[0-9]+)(px|%)?$/);returnmatch?match[1]+(match[2]||"px"):void0;}functiongetRootMargin(modifiers){constkey="margin";constfallback="0px0px0px0px";constindex=modifiers.indexOf(key);if(index===-1)returnfallback;letvalues=[];for(leti=1;iv!==void0);returnvalues.length?values.join("").trim():fallback;}document.addEventListener("alpine:init",()=>{window.Alpine.plugin(src_default);});})();'usestrict';functiondispatchMesses(messes,hideAfter){constmessesEvent=newCustomEvent("messes-loaded",{detail:{messes:messes,hideAfter:hideAfter}});window.dispatchEvent(messesEvent);}if(typeofhyva==='undefined'||(!hyva.getBrowserStore||!hyva.getCookie||!hyva.setCookie)){console.warn("Hyvähelpersarenotloadedyet.Makesuretheyareincludedbeforethisscript");}(function(hyva,undefined){hyva.initFormKey=()=>{constinputSelector='input[name="form_key"]',formKey=hyva.getFormKey();Array.from(document.querySelectorAll(inputSelector)).map(function(input){input.value=formKey});}hyva.initMesses=()=>{try{constmesses=hyva.getCookie('me-messes');window.meMesses=messes?JSON.parse(decodeURIComponent(messes).replace(/\+/g,'')):[];dispatchMesses(window.meMesses);//empty`me-messes`cookieconstskipSetDomain=true;hyva.setCookie('me-messes','',-1,skipSetDomain);}catch(error){console.warn('ErrorparsingCookieMesses:',error);}}window.addEventListener('DOMContentLoaded',hyva.initFormKey);window.addEventListener('load',hyva.initMesses);}(window.hyva=window.hyva||{}));'usestrict';{constprivate_content_key='me-cache-store';constprivate_content_expire_key='me-cache-timeout';constprivate_content_version_key='private_content_version';constsection_data_ids_key='section_data_ids';constme_cache_session_id_key='me-cache-sessid';constlast_visited_store_key='last_visited_store';constttl=3600;if(typeofhyva==='undefined'||(!hyva.getBrowserStore||!hyva.getCookie||!hyva.setCookie)){console.warn("Hyvähelpersarenotloadedyet.Makesuretheyareincludedbeforethisscript");}functionloadSectionData(){constbrowserStore=hyva.getBrowserStore();if(!browserStore){typeofwindow.dispatchMesses!=="undefined"&&window.dispatchMesses([{type:"warning",text:"Porfor,activeLocalStoreensunegador."}]);return;}try{letisInvalid=false;if(hyva.getCookie(last_visited_store_key)!==CURRENT_STORE_CODE){isInvalid=true;}hyva.setCookie(last_visited_store_key,CURRENT_STORE_CODE,false,false);if(!hyva.getCookie(me_cache_session_id_key)){isInvalid=true;constskipSetDomain=true;constdays=false;hyva.setCookie(me_cache_session_id_key,true,days,skipSetDomain)}constcookieVersion=hyva.getCookie(private_content_version_key);conststoreVersion=browserStore.getItem(private_content_version_key);if(cookieVersion&&!storeVersion||cookieVersion!==storeVersion){isInvalid=true;}constprivateContentExpires=browserStore.getItem(private_content_expire_key);if(privateContentExpires&&newDate(privateContentExpires)response.json()).then(data=>{if(data){try{constbrowserStore=hyva.getBrowserStore();//mergenewdatapreservingnon-invalidatedsectionsconstoldSectionData=JSON.parse(browserStore.getItem(private_content_key)||'{}');if((!data.cart||!data.cart.cartId)&&oldSectionData['checkout-data']){deleteoldSectionData['checkout-data'];}constnewSectionData=Object.assign(oldSectionData,data);dispatchPrivateContent(newSectionData);//don'tpersistmesses,they'vebeendispatchedalreadyif(newSectionData.messes&&newSectionData.messes.messes){newSectionData.messes.messes=[];}browserStore.setItem(private_content_key,JSON.stringify(newSectionData));constexpiresAt=newDate(Date.now()+(ttl*1000)).toISOString();browserStore.setItem(private_content_expire_key,expiresAt);constnewCookieVersion=hyva.getCookie(private_content_version_key);browserStore.setItem(private_content_version_key,newCookieVersion);//Wedon'tneedthesection_data_idsinHyvä,butwestorethemforcompatibility//withLumaFallback.Otherwise,notallsectionsareloadedinLumaCheckouthyva.setCookie(section_data_ids_key,JSON.stringify(Object.keys(data).reduce((sectionDataIds,sectionKey)=>{sectionDataIds[sectionKey]=data[sectionKey]['data_id'];returnsectionDataIds;},{})),false,true);}catch(error){console.warn("Couldn'tstoreprivateContent",error);}}});}}(()=>{document.addEventListener('submit',event=>event.target.action=event.target.action.replace('%25uenc%25',hyva.getUenc()));})()(events=>{constdispatchUserInteractionEvent=()=>{events.forEach(type=>window.removeEventListener(type,dispatchUserInteractionEvent))window.dispatchEvent(newEvent('init-external-scripts'))};events.forEach(type=>window.addEventListener(type,dispatchUserInteractionEvent,{once:true,passive:true}))})(['touchstart','mouseover','wheel','scroll','keydown'])functioninitWishlist(){return{addToWishlist(productId){constformKey=hyva.getFormKey();constpostUrl=BASE_URL+'wishlist/index/add/';fetch(postUrl,{"headers":{"content-type":"application/x-;charset=UTF-8",},"body":"form_key="+formKey+"&product="+productId+"&uenc="+hyva.getUenc(),"method":"POST","mode":"cors","credentials":"include"}).then(function(response){if(response.redirected){window.location.href=response.url;}elseif(response.ok){returnresponse.json();}else{typeofwindow.dispatchMesses!=="undefined"&&window.dispatchMesses([{type:"warning",text:"Nosehapodidoañadirelartículoalalistadedeseos."}],5000);}}).then(function(response){if(!response){return}typeofwindow.dispatchMesses!=="undefined"&&window.dispatchMesses([{type:(response.success)?"success":"error",text:(response.success)?"ProductohasbeenaddedtoyourWishList.":response.error_messe}],5000);constreloadCustomerDataEvent=newCustomEvent("reload-customer-section-data");window.dispatchEvent(reloadCustomerDataEvent);}).catch(function(error){typeofwindow.dispatchMesses!=="undefined"&&window.dispatchMesses([{type:"error",text:error}],5000);});}}}functioninitConfigurableOptions(productId,optionConfig){functionfindPathParam(key){constbaseUrl=(BASE_URL.substr(0,2)==='//'?'http:':'')+BASE_URL;constbaseUrlParts=(newURL(baseUrl)).pathname.replace(/\/$/,'').split('/');constpathParts=window.location.pathname.split('/').slice(baseUrlParts.length+3);for(leti=0;ii){returnpathParts[i+1];}}}return{optionConfig,productId,itemId:(newURLSearchParams(window.location.search)).get('id')||findPathParam('id'),allowedAttributeOptions:[],selectedValues:[],init(){this.findAllowedAttributeOptions();this.$nextTick(()=>{if(typeofthis.optionConfig.defaultValues==='object'){for(const[optionId,value]ofObject.entries(this.optionConfig.defaultValues)){this.changeOption(optionId,value+'');}}});},findSimpleIndex(){this.productIndex=this.calculateSimpleIndexForPartialSelection(this.selectedValues);},calculateSimpleIndexForPartialSelection(selectedValues){if(selectedValues.length===0)return0;letproductIndexIds=Object.keys(this.optionConfig.index);Object.keys(this.optionConfig.attributes).forEach((attribute)=>{constproductsWithAttributeMatch=selectedValues[attribute]?productIndexIds.filter((productIndex)=>{returnthis.optionConfig.index[productIndex][attribute]===this.selectedValues[attribute]}):[];productIndexIds=productsWithAttributeMatch.length?productsWithAttributeMatch:productIndexIds})returnproductIndexIds[0];},calculateSimpleIndexForFullSelection(selectedValues){constproductIndexes=this.optionConfig.index;returnObject.keys(productIndexes).find(productIndex=>{constproductCandidateOptions=productIndexes[productIndex];for(constproductOptioninproductCandidateOptions){if(!selectedValues[productOption]||selectedValues[productOption]!==productCandidateOptions[productOption]){returnfalse;}}returnproductIndex;});},productIndex:0,findAllowedAttributeOptions(){this.allowedAttributeOptions=this.calculateAllowedAttributeOptions(this.selectedValues);},calculateAllowedAttributeOptions(selectedValues){constallAttributes=this.optionConfig.attributes;constallAttributesSorted=Object.values(allAttributes).sort((a,b)=>{returna.position-b.position});constselectionWithoutAttr=attrId=>{returnObject.keys(selectedValues).reduce((acc,id)=>{if(id!==attrId)acc[id]=selectedValues[id];returnacc;},{})}constnewAllowedAttributeOptions=[];allAttributesSorted.forEach(attribute=>{constailableIndexes=this.calculateailableProductIndexes(selectionWithoutAttr(attribute.id));newAllowedAttributeOptions[attribute.id]=allAttributes[attribute.id].options.filter(option=>{return!!option.products.find(product=>{returnailableIndexes.includes(product);})});});returnnewAllowedAttributeOptions;},calculateailableProductIndexes(selectedOptions){if(Object.keys(selectedOptions).length===0){returnObject.keys(this.optionConfig.index);}constselectedIds=Object.keys(selectedOptions);if(Object.values(this.optionConfig.salable||{}).length){constselectedOptionIndexes=selectedIds.map(attrId=>{constoptionValue=selectedOptions[attrId];returnthis.optionConfig.salable[attrId]&&this.optionConfig.salable[attrId][optionValue]||[]})returnselectedOptionIndexes.reduce((acc,optionIndexes)=>{returnacc.filter(index=>optionIndexes.includes(index));});}else{constproductIndexes=this.optionConfig.index;returnObject.keys(productIndexes).filter(index=>{returnselectedIds.find(attrId=>productIndexes[index][attrId]===`${selectedOptions[attrId]}`)});}},findAttributeByOptionId(optionId){for(constattributeIdinthis.optionConfig.attributes){constattributeOptions=this.optionConfig.attributes[attributeId].options||[];if(attributeOptions.find(option=>option.id===optionId)){returnattributeId;}}},getAllowedAttributeOptions(attributeId){returnthis.allowedAttributeOptions[attributeId]||[]},getProductIdsForOption(option){constattributeId=this.findAttributeByOptionId(option.id);constallOptions=this.optionConfig.attributes[attributeId];constopt=(allOptions&&allOptions.options||[]).find(o=>o.id===option.id);returnopt&&opt.products?opt.products:[];},findProductIdsForPartialSelection(optionSelection){constcandidateProducts=Object.values(optionSelection).reduce((candidates,optionId)=>{constnewCandidates=this.getProductIdsForOption({id:optionId});returncandidates===null?newCandidates:candidates.filter(productId=>newCandidates.includes(productId));},null);returncandidateProducts||[];},findCheapestProductForPartialSelection(optionSelection){constcandidateProducts=this.findProductIdsForPartialSelection(optionSelection);returncandidateProducts.reduce((cheapest,simpleIdx)=>{//inthefirstiterationwestartwithsimpleIdxasthecurrentlycheapestproductif(!this.optionConfig.optionPrices[cheapest])returnsimpleIdx;constknownCheapestPrice=this.optionConfig.optionPrices[cheapest].finalPrice.amount;returnknownCheapestPrice>this.optionConfig.optionPrices[simpleIdx].finalPrice.amount?simpleIdx:cheapest;},0)},findProductIdToUseForOptionPrice(option){//trytofindaproductforacompleteselectionconstattributeId=this.findAttributeByOptionId(option.id);constoptionSelection=Object.assign({},this.selectedValues,{[attributeId]:option.id});constmatchingSimpleIndex=this.calculateSimpleIndexForFullSelection(optionSelection);//ifthereisnocompleteselection,usethecheapestproductfortheoptionreturnmatchingSimpleIndex||this.findCheapestProductForPartialSelection(optionSelection);},getAttributeOptionLabel(option){constoptionProduct=this.findProductIdToUseForOptionPrice(option);if((!optionProduct)||(optionProduct===this.productIndex)){returnoption.label;}constcurrentPrice=this.getOptionPriceAdjustmentBasePrice();if(this.optionConfig.optionPrices[optionProduct]){constoptionPrice=this.optionConfig.optionPrices[optionProduct].finalPrice.amount;if(optionPrice!==currentPrice){returnoption.label+''+hyva.formatPrice(optionPrice-currentPrice,true);}}returnoption.label;},getOptionPriceAdjustmentBasePrice(){if(this.optionConfig.optionPrices[this.productIndex]){returnthis.optionConfig.optionPrices[this.productIndex].finalPrice.amount}constcheapestForSelection=this.findCheapestProductForPartialSelection(this.selectedValues);returnthis.optionConfig.optionPrices[cheapestForSelection]?this.optionConfig.optionPrices[cheapestForSelection].finalPrice.amount:this.optionConfig.prices.finalPrice.amount;//defaultpriceifnooptionselection},changeOption(optionId,value){if(value===''){//createnewarraysothelengthpropertyisresetifnooptionisselected(oidingdelete)this.selectedValues=this.selectedValues.reduce((newSelection,val,opt)=>{if(opt!==optionId){newSelection[opt]=val;}returnnewSelection;},[]);}else{this.selectedValues[optionId]=value;}this.findSimpleIndex();this.findAllowedAttributeOptions();this.updatePrices();this.updateGallery();window.dispatchEvent(newCustomEvent('configurable-selection-changed',{detail:{productId:this.productId,optionId:optionId,value:value,productIndex:this.productIndex,selectedValues:this.selectedValues,candidates:this.findProductIdsForPartialSelection(this.selectedValues),}}));},calculateIsMinimalPrice(){return(this.selectedValues.filter(value=>!!value).length{returnx.position===y.position?0:(parseInt(x.position)>parseInt(y.position)?1:-1)});},onGetCartData(data){this.preselectCartItems(data);this.preselectQuerystringItems();this.preselectLocationHashItems();},preselectCartItems(data){//pre-selectoptionsbasedoncartdataforcurrent(quote)itemIdconstcart=data&&data.cart;if(cart&&cart.items){constcartItem=cart.items.find((item)=>{return(item.item_id===this.itemId&&item.product_id===this.productId)});if(cartItem&&cartItem.options&&cartItem.options.length){cartItem.options.map(option=>{this.changeOption(option.option_id,option.option_value);})}}},preselectQuerystringItems(){//pre-selectoptionlike?size=167consturlQueryParams=newURLSearchParams(window.location.search.replace('?',''));Object.values(this.optionConfig.attributes).map(attribute=>{urlQueryParams.get(attribute.code)&&this.changeOption(attribute.id,urlQueryParams.get(attribute.code));});},preselectLocationHashItems(){//pre-selectoptionlike#144=167consturlHashParams=newURLSearchParams(window.location.hash.replace('#',''));Object.values(this.optionConfig.attributes).map(attribute=>{urlHashParams.get(attribute.id)&&this.changeOption(attribute.id,urlHashParams.get(attribute.id));});}}}functioninitSwatchOptions(swatchConfig){return{swatchConfig,getAttributeSwatchData(attributeId){constswatchConfig=Object.assign({},this.swatchConfig[attributeId]);swatchConfig['details']=JSON.parse(swatchConfig['additional_data']);returnswatchConfig;},getAllAttributeOptions(attributeId){return(this.optionConfig.attributes[attributeId]&&this.optionConfig.attributes[attributeId].options)||[]},optionIsActive(attributeId,optionId){//returntrueifaproductwiththisoptionisinstockreturn!!this.getAllowedAttributeOptions(attributeId).find(option=>option.id===optionId)},optionIsEnabled(attributeId,optionId){//returntrueifaproductwiththisoptionisenabledfor(constproductIdinthis.optionConfig.index){if(this.optionConfig.index[productId][attributeId]===optionId){returntrue;}}returnfalse;},mapSwatchTypeNumberToTypeCode(typeNumber){switch(""+typeNumber){case"1":return"color"case"2":return"ime"case"3":return"empty"case"0":default:return"text"}},getTypeOfFirstOption(attributeId){for(constoptionIdinthis.swatchConfig[attributeId]){constoption=this.swatchConfig[attributeId][optionId];if(typeofoption.type!=='undefined'){returnthis.mapSwatchTypeNumberToTypeCode(option.type);}}},getVisualSwatchType(attributeId,targetOptionId){//Ifatypeconfigurationispresentforthegivenoptionid,useitconstconfig=this.swatchConfig[attributeId];if(config[targetOptionId]&&typeofconfig[targetOptionId].type!=='undefined'){returnthis.mapSwatchTypeNumberToTypeCode(config[targetOptionId].type);}//Otherwise-ifnoconfigispresentforthetargetoption-usethetypeofthefirstoption//withatypepropertyfromtheattribute,thusassumingitsthesametypeasthetargetoption.//(Thisedgecaseconditioncanoccuronsingleswatchproductsifsomeoptionsarenotsalable)returnthis.getTypeOfFirstOption(attributeId);},getSwatchType(attributeId,optionId){//Deserializetheattributedetailsthefirsttimetheyareusedif(this.swatchConfig[attributeId]&&!this.swatchConfig[attributeId].details){this.swatchConfig[attributeId]=this.getAttributeSwatchData(attributeId);}consttype=this.swatchConfig[attributeId]&&this.swatchConfig[attributeId].details&&this.swatchConfig[attributeId].details.swatch_input_type||"empty";returntype==='visual'?this.getVisualSwatchType(attributeId,optionId):type;},isTextSwatch(attributeId,optionId){returnthis.getSwatchType(attributeId,optionId)==='text';},isVisualSwatch(attributeId,optionId){consttype=this.getSwatchType(attributeId,optionId);return['ime','color'].includes(type);},getSwatchBackgroundStyle(attributeId,optionId){constconfig=this.getSwatchConfig(attributeId,optionId);consttype=this.getSwatchType(attributeId,optionId);if(type==="color"){return'background-color:'+config.value;}elseif(type==="ime"){return"background:#ffffffurl('"+config.value+"')no-repeatcenter";}else{return'';}},getSwatchText(attributeId,optionId){constconfig=this.getSwatchConfig(attributeId,optionId);returnconfig.label||config.value||this.getOptionLabelFromOptionConfig(attributeId,optionId);},getOptionLabelFromOptionConfig(attributeId,optionId){//FallbackifnovalueispresentinswatchConfigdata//Referenceissuegitlab.hyva.io/hyva-themes/mento2-default-theme/-/issues/190constoption=this.getAllAttributeOptions(attributeId).filter(option=>option.id===optionId);returnoption&&option[0]&&option[0].label||'';},getSwatchConfig(attributeId,optionId){returnthis.swatchConfig[attributeId]&&this.swatchConfig[attributeId][optionId]?this.swatchConfig[attributeId][optionId]:false;},activeTooltipItem:false,tooltipPositionElement:false,isTooltipVisible(){returnthis.activeTooltipItem&&this.getSwatchConfig(this.activeTooltipItem.attribute,this.activeTooltipItem.item);},getTooltipImeStyle(attributeId,optionId){constconfig=this.getSwatchConfig(attributeId,optionId);consttype=this.getSwatchType(attributeId,optionId);if(type==="color"){return'background-color:'+config.value+';width:110px;height:90px;';}elseif(type==="ime"){return"background:#ffffffurl('"+config.thumb+"')centercenterno-repeat;width:110px;height:90px;";}else{return'display:none';}},getTooltipPosition(){returnthis.tooltipPositionElement?`top:${this.tooltipPositionElement.offsetTop}px;`+`left:${this.tooltipPositionElement.offsetLeft-(this.tooltipPositionElement.closest('.snap')&&this.tooltipPositionElement.closest('.snap').scrollLeft||0)}px;`:''},getTooltipLabel(){returnthis.getSwatchConfig(this.activeTooltipItem.attribute,this.activeTooltipItem.item).label},focusedLabel:false,focusLabel(optionId){this.focusedLabel=optionId;},blurLabel(){this.focusedLabel=false;},showSwatches:false,initShowSwatchesIntersect(){if('IntersectionObserver'inwindow&&!window.scrollY){letio=newIntersectionObserver(entries=>{entries.map(entry=>{if(entry.isIntersecting){this.showSwatches=true;io.unobserve(this.$root);}})});io.observe(this.$root);}else{this.showSwatches=true}}}}'usestrict';(()=>{constequalizeButtonWidths=(buttons)=>{constbuttonList=buttons.querySelectorAll('[data-element="link"],[data-element="empty_link"]');letbuttonMinWidth=0;buttonList.forEach(button=>{constbuttonWidth=button.offsetWidth;if(buttonWidth>buttonMinWidth){buttonMinWidth=buttonWidth;}});buttonList.forEach(button=>{button.style.minWidth=`${buttonMinWidth}px`;});};window.addEventListener('DOMContentLoaded',()=>{document.querySelectorAll('[data-content-type="buttons"][data-same-width="true"]').forEach(buttons=>{equalizeButtonWidths(buttons);});});})();'usestrict';(()=>{constinitCarousels=(elements)=>{if(!Glider){return;}constinitProductCarousel=(carousel)=>{constgliderElement=carousel.querySelector('[data-role="glider-content"]');if(!gliderElement){return;}constgliderDots=carousel.querySelector('.glider-dots');constgliderPrev=carousel.querySelector('.glider-prev');constgliderNext=carousel.querySelector('.glider-next');constglider=newGlider(gliderElement,{slidesToShow:2,slidesToScroll:2,scrollLock:true,drgable:true,drVelocity:2.5,dots:gliderDots,arrows:{prev:gliderPrev,next:gliderNext,},responsive:[{breakpoint:768,settings:{slidesToShow:3,slidesToScroll:3,}},{breakpoint:1024,settings:{slidesToShow:4,slidesToScroll:4,}},],});carousel.classList.remove('overflow-x-scroll');gliderPrev.classList.remove('hidden');gliderNext.classList.remove('hidden');if(carousel.dataset.autoplay!=='false'){gliderAutoplay(glider,carousel.dataset.autoplaySpeed,carousel.dataset.infiniteLoop);}};constinitSliderCarousel=(slider)=>{slider.innerHTML=`${slider.innerHTML}`;slider.classList.add('glider-contain');slider.insertAdjacentHTML('beforeend','\u000A\u003Cdiv\u0020class\u003D\u0022carousel\u002Dn\u0020flex\u0020items\u002Dcenter\u0020justify\u002Dcenter\u0020flex\u002D1\u0020p\u002D4\u0022\u003E\u000A\u0020\u0020\u0020\u0020\u003Cbutton\u000A\u0020\u0020\u0020\u0020\u0020\u0020\u0020\u0020aria\u002Dlabel\u003D\u0022Previous\u0022\u000A\u0020\u0020\u0020\u0020\u0020\u0020\u0020\u0020class\u003D\u0022glider\u002Dprev\u0020w\u002D8\u0020h\u002D8\u0020mr\u002D1\u0020text\u002Dblack\u0020rounded\u002Dfull\u0020outline\u002Dnone\u0020focus\u003Aoutline\u002Dnone\u0020hidden\u0022\u003E\u000A\u0020\u0020\u0020\u0020\u0020\u0020\u0020\u0020\u003Csvg\u0020xmlns\u003D\u0022http\u003A\u002F\u002F\u002F2000\u002Fsvg\u0022\u0020fill\u003D\u0022none\u0022\u0020viewBox\u003D\u\u\u\u\u0022\u0020stroke\u003D\u0022currentColor\u0022\u0020width\u003D\u\u0022\u0020height\u003D\u\u0022\u003E\u000A\u0020\u0020\u003Cpath\u0020stroke\u002Dlinecap\u003D\u0022round\u0022\u0020stroke\u002Dlinejoin\u003D\u0022round\u0022\u0020stroke\u002Dwidth\u003D\u\u0022\u0020d\u003D\u0022M15\ul\u002D7\u002D7\u\u002D7\u0022\u002F\u003E\u000A\u003C\u002Fsvg\u003E\u000A\u0020\u0020\u0020\u0020\u003C\u002Fbutton\u003E\u000A\u0020\u0020\u0020\u0020\u003Cdiv\u0020role\u003D\u0022tablist\u0022\u0020class\u003D\u0022glider\u002Ddots\u0020select\u002Dnone\u0020flex\u0020flex\u002Dwrap\u0020mx\u002D1\u0020justify\u002Dcenter\u0020p\u002D0\u0020focus\u003Aoutline\u002Dnone\u0022\u003E\u003C\u002Fdiv\u003E\u000A\u0020\u0020\u0020\u0020\u003Cbutton\u000A\u0020\u0020\u0020\u0020\u0020\u0020\u0020\u0020aria\u002Dlabel\u003D\u0022Next\u0022\u000A\u0020\u0020\u0020\u0020\u0020\u0020\u0020\u0020class\u003D\u0022glider\u002Dnext\u0020w\u002D8\u0020h\u002D8\u0020ml\u002D1\u0020text\u002Dblack\u0020rounded\u002Dfull\u0020outline\u002Dnone\u0020focus\u003Aoutline\u002Dnone\u0020hidden\u0022\u003E\u000A\u0020\u0020\u0020\u0020\u0020\u0020\u0020\u0020\u003Csvg\u0020xmlns\u003D\u0022http\u003A\u002F\u002F\u002F2000\u002Fsvg\u0022\u0020fill\u003D\u0022none\u0022\u0020viewBox\u003D\u\u\u\u\u0022\u0020stroke\u003D\u0022currentColor\u0022\u0020width\u003D\u\u0022\u0020height\u003D\u\u0022\u003E\u000A\u0020\u0020\u003Cpath\u0020stroke\u002Dlinecap\u003D\u0022round\u0022\u0020stroke\u002Dlinejoin\u003D\u0022round\u0022\u0020stroke\u002Dwidth\u003D\u\u0022\u0020d\u003D\u0022M9\ul7\u\u002D7\u\u0022\u002F\u003E\u000A\u003C\u002Fsvg\u003E\u000A\u0020\u0020\u0020\u0020\u003C\u002Fbutton\u003E\u000A\u003C\u002Fdiv\u003E\u000A');constgliderElement=slider.querySelector('[data-role="glider-content"]');constgliderDots=slider.querySelector('.glider-dots');constgliderPrev=slider.querySelector('.glider-prev');constgliderNext=slider.querySelector('.glider-next');constglider=newGlider(gliderElement,{slidesToShow:1,slidesToScroll:1,scrollLock:true,scrollLockDelay:250,drgable:true,drVelocity:2.5,dots:gliderDots,arrows:{prev:gliderPrev,next:gliderNext,},});slider.classList.add('glider-initialized');if(slider.dataset.showArrows==='true'){gliderPrev.classList.remove('hidden');gliderNext.classList.remove('hidden');}if(slider.dataset.autoplay!=='false'){gliderAutoplay(glider,slider.dataset.autoplaySpeed,slider.dataset.infiniteLoop);}};constgliderAutoplay=(glider,milliseconds,loop)=>{constpesCount=glider.track.childElementCount;letslideTimeout=null;letnextIndex=1;letpaused=false;constslide=()=>{slideTimeout=setTimeout(()=>{if(loop&&nextIndex>=pesCount){nextIndex=0;}glider.scrollItem(nextIndex);},parseInt(milliseconds));};glider.ele.addEventListener('glider-animated',()=>{nextIndex=glider.slide+glider.opt.slidesToScroll;window.clearInterval(slideTimeout);if(!paused&&(loop||nextIndex{if(!paused){clearInterval(slideTimeout);paused=true;}};constunpause=()=>{if(paused){slide();paused=false;}};glider.ele.parentElement.addEventListener('mouseover',pause,{passive:true});glider.ele.parentElement.addEventListener('touchstart',pause,{passive:true});glider.ele.parentElement.addEventListener('mouseout',unpause,{passive:true});glider.ele.parentElement.addEventListener('touchend',unpause,{passive:true});slide();};elements.forEach(element=>{if(element.dataset.contentType==='products'){initProductCarousel(element);}if(element.dataset.contentType==='slider'){initSliderCarousel(element);}});};window.addEventListener('DOMContentLoaded',()=>{constcarouselElements=document.querySelectorAll(`[data-content-type="products"][data-appearance="carousel"],[data-content-type="slider"]`);if(carouselElements.length>0){constscript=document.createElement('script');script.type='text/jascript';script.addEventListener('load',()=>{initCarousels(carouselElements);});script.src='\u003A\u002F\u002F\u002Fstatic\u002Fversion72\u002Ffrontend\u002FTuandco\u002Fcustom\u002Fes_ES\u002FMento_PeBuilder\u002Fjs\u002Fglider.min.js';document.head.appendChild(script);}});})();'usestrict';(()=>{constinitMaps=(elements)=>{constrenderMap=(element)=>{constdataLocations=element.dataset.locations;//Hidemapifnolocationssetif(!dataLocations||dataLocations==='[]'){element.classList.add('hidden');return;}constmap=newgoogle.maps.Map(element,getMapOptions(element.dataset.showControls!=='true',element.dataset.showControls==='true'));constlocations=JSON.parse(dataLocations);constlatitudeLongitudeBounds=newgoogle.maps.LatLngBounds();constbounds=[];locations.forEach(location=>{constposition={lat:parseFloat(location.position.latitude),lng:parseFloat(location.position.longitude),};bounds.push(position);constinfowindow=newgoogle.maps.InfoWindow({content:getInfoWindowContent(location),});constmarker=newgoogle.maps.Marker({position:position,map,title:location.location_name,});marker.addListener('click',()=>{infowindow.open(map,marker);});});//Setboundsifmultiplelocationsif(bounds.length>1){bounds.forEach(function(bound){latitudeLongitudeBounds.extend(bound);});map.fitBounds(latitudeLongitudeBounds);}//Centerifsinglelocationif(bounds.length===1){map.setCenter(bounds[0]);}};constgetMapOptions=(disableDefaultUI,mapTypeControl)=>{conststyle='';return{zoom:8,scrollwheel:false,disableDoubleClickZoom:false,mapTypeControlOptions:{style:google.maps.MapTypeControlStyle.DEFAULT,},styles:style?JSON.parse(style):[],disableDefaultUI:disableDefaultUI,mapTypeControl:mapTypeControl,};};constgetInfoWindowContent=(location)=>{consttitle=location.location_name?`${location.location_name}`:'';constcomment=location.comment?`${location.comment}`:'';constphone=location.phone?`Phone:${location.phone}`:'';conststreet=location.address?`${location.address}`:'';constcity=location.city?`${location.city}`:'';conststate=location.state?`${location.state}`:'';constzipCode=location.zipcode?`${location.zipcode}`:'';constcountry=location.country?location.country:'';return`${title}${comment}${phone}${street}${city}${state}${zipCode}${country}`;};consthideAllMaps=()=>{document.querySelectorAll('[data-content-type="map"]').forEach(element=>{element.classList.add('hidden');});};window.gm_authFailure=()=>{hideAllMaps();};if(typeofgoogle.maps==='undefined'){hideAllMaps();return;}elements.forEach(element=>{if(element.dataset.contentType==='map'){renderMap(element);}});};window.addEventListener('DOMContentLoaded',()=>{constmapElements=document.querySelectorAll('[data-content-type="map"]');if(mapElements.length>0){constscript=document.createElement('script');script.type='text/jascript';script.addEventListener('load',()=>{initMaps(mapElements);});script.src='\u003A\u002F\u002Fmaps.googleapis.com\u002Fmaps\u002Fapi\u002Fjs\u003Fv\u003D3\u0026key\u003DAIzaSyDU1PxX\u002DPdMhurZnm6LTsAD9T44Rm65m_A';document.head.appendChild(script);}});})();'usestrict';(()=>{constinitParallaxIme=(element)=>{if(!window.jarallax){return;}element.classList.add('jarallax');element.dataset.jarallax='';constparallaxSpeed=parseFloat(element.dataset.parallaxSpeed)||0.5;constelementStyle=window.getComputedStyle(element);window.jarallax(element,{imgPosition:elementStyle.backgroundPosition||'50%50%',imgRepeat:elementStyle.backgroundRepeat||'no-repeat',imgSize:elementStyle.backgroundSize||'cover',speed:parallaxSpeed,});};constinitVideoBackground=(element)=>{if(!window.jarallax){return;}letslider=null;if(element.classList.contains('pebuilder-slide-wrapper')){constviewportElement=document.createElement('div');slider=element.closest('[data-content-type=slider]');viewportElement.classList.add('jarallax-viewport-element');element.dataset.elementInViewport='.jarallax-viewport-element';element.appendChild(viewportElement);}element.classList.add('jarallax');element.dataset.jarallax='';constparallaxSpeed=parseFloat(element.dataset.parallaxSpeed)||0.5;window.jarallax(element,{imgSrc:element.dataset.videoFallbackSrc,speed:parallaxSpeed,videoLoop:element.dataset.videoLoop,videoPlayOnlyVisible:element.dataset.videoPlayOnlyVisible,videoLazyLoading:element.dataset.videoLazyLoad,disableVideo:false,elementInViewport:element.dataset.elementInViewport&&element.querySelector(element.dataset.elementInViewport),});if(slider){if(slider.dataset.afterChangeIsSet){return;}slider.addEventListener('glider-loaded',()=>{slider.querySelectorAll('.jarallax').forEach(videoSlide=>{videoSlide.jarallax&&videoSlide.jarallax.onScroll();});});slider.addEventListener('glider-animated',()=>{slider.querySelectorAll('.jarallax').forEach(videoSlide=>{videoSlide.jarallax&&videoSlide.jarallax.onScroll();});});slider.dataset.afterChangeIsSet=true;}};window.addEventListener('DOMContentLoaded',()=>{constparallaxImeElements=document.querySelectorAll(`[data-content-type="row"][data-background-type="ime"][data-enable-parallax="1"],[data-content-type="row"]>[data-background-type="ime"][data-enable-parallax="1"]`);constvideoBackgroundsElements=document.querySelectorAll(`[data-content-type="row"][data-background-type="video"][data-enable-parallax="1"],[data-content-type="row"]>[data-background-type="video"][data-enable-parallax="1"],[data-content-type="banner"][data-background-type="video"],[data-content-type="slide"][data-background-type="video"]`);if(parallaxImeElements.length>0||videoBackgroundsElements.length>0){constjarallaxScript=document.createElement('script');jarallaxScript.type='text/jascript';jarallaxScript.addEventListener('load',()=>{parallaxImeElements.forEach(row=>{initParallaxIme(row);});constjarallaxVideoScript=document.createElement('script');jarallaxVideoScript.type='text/jascript';jarallaxVideoScript.addEventListener('load',()=>{videoBackgroundsElements.forEach(element=>{initVideoBackground(element);});});jarallaxVideoScript.src='\u003A\u002F\u002F\u002Fstatic\u002Fversion72\u002Ffrontend\u002FTuandco\u002Fcustom\u002Fes_ES\u002FMento_PeBuilder\u002Fjs\u002Fjarallax\u002Dvideo.min.js';document.head.appendChild(jarallaxVideoScript);});jarallaxScript.src='\u003A\u002F\u002F\u002Fstatic\u002Fversion72\u002Ffrontend\u002FTuandco\u002Fcustom\u002Fes_ES\u002FMento_PeBuilder\u002Fjs\u002Fjarallax.min.js';document.head.appendChild(jarallaxScript);}});})();'usestrict';(()=>{constapplyShowOnHover=(element)=>{constshowOverlayOnHover=(element)=>{constoverlay=element.querySelector('.pebuilder-overlay');constcolor=overlay.dataset.overlayColor;element.addEventListener('mouseover',()=>{overlay.style.backgroundColor=color;});element.addEventListener('mouseout',()=>{overlay.style.backgroundColor='transparent';});};constshowButtonOnHover=(element)=>{constbutton=element.querySelector('.pebuilder-banner-button');element.addEventListener('mouseover',()=>{button.style.opacity='1';button.style.visibility='visible';});element.addEventListener('mouseout',()=>{button.style.opacity='0';button.style.visibility='hidden';});};if(element.dataset.showOverlay==='hover'){showOverlayOnHover(element);}if(element.dataset.showButton==='hover'){showButtonOnHover(element);}};window.addEventListener('DOMContentLoaded',()=>{document.querySelectorAll('[data-content-type="banner"],[data-content-type="slider"]').forEach(element=>{applyShowOnHover(element);});});})();'usestrict';(()=>{document.querySelectorAll('[data-content-type="tab-item"]').forEach(tabItem=>{tabItem.setAttribute('x-show',`tab==='${tabItem.id}'`);});document.querySelectorAll('[data-content-type="tabs"]').forEach(tab=>{constdefaultActiveTab=parseInt(tab.dataset.activeTab)||0;tab.querySelectorAll('.tab-header').forEach((tabHeader,index)=>{consttabLink=tabHeader.querySelector('a');consttabId=tabLink.getAttribute('href').replace('#','');tabHeader.setAttribute(':class',`{'active':tab==='${tabId}'}`);tabLink.setAttribute('x-on:click.prevent',`tab='${tabId}'`);if(index===defaultActiveTab){tab.setAttribute('x-data',`{tab:'${tabId}'}`);}});});})();'usestrict';constgrecaptch2LoadCallbacks=[];functionexecuteRecaptchaLoadCallbacks(){while(window.grecaptcha&&grecaptch2LoadCallbacks.length>0){constcallback=grecaptch2LoadCallbacks.pop();typeofcallback==='string'?window[callback]():callback();}}(function(){constloadRecaptchaScript=(event)=>{if(window.grecaptcha||!event.target.form){return;}consturl='/recaptcha/api.js?onload=executeRecaptchaLoadCallbacks';constsiteKey='';constscript=document.createElement('script');script.type='text/jascript';script.src=siteKey?`${url}&render=${siteKey}`:`${url}&render=explicit`;script.async=true;document.head.appendChild(script);script.addEventListener('load',()=>{Array.from(document.querySelectorAll('button[data-recaptcha-btn]:disabled')).forEach(btn=>btn.removeAttribute('disabled'));});}window.forceLoadRecaptchaScript=(form)=>{loadRecaptchaScript({target:{form:form||'dummy'}});executeRecaptchaLoadCallbacks();};document.body.addEventListener('input',loadRecaptchaScript,{once:true});document.body.addEventListener('focus',loadRecaptchaScript,{once:true});}());