PageSourceSearch

https://callmetrics.ai/build/app.dedc5307.js

js callmetrics.ai collected 2026-10-05 14:04:26 UTC 18,238 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[524],{37585:(t,e,n)=>{n.r(e),n.d(e,{default:()=>m});n(52675),n(89463),n(2259),n(45700),n(16280),n(76918),n(51629),n(23792),n(89572),n(2892),n(84185),n(26099),n(47764),n(30958),n(23500),n(62953);function r(t){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}function o(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,i(r.key),r)}}function i(t){var e=function(t,e){if("object"!=r(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var o=n.call(t,e||"default");if("object"!=r(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==r(e)?e:String(e)}function a(t,e){!function(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")}(t,e),e.add(t)}function s(t,e,n){if(!e.has(t))throw new TypeError("attempted to get private field on non-instance");return n}var c=new WeakSet,l=new WeakSet,u=new WeakSet,d=new WeakSet;function f(){var t=document.createElement("script");t.async=!0,t.defer=!0,t.src="https://llamamegratis.es/vekkto/js/webphone.dinamics.js";var e=document.getElementsByTagName("script")[0];e.parentNode.insertBefore(t,e)}function h(){var t=this;this.selector&&document.querySelectorAll(this.selector).forEach((function(e){e.addEventListener("click",(function(n){var r=s(t,u,p).call(t,e)||s(t,d,v).call(t);r?t.open(r):console.log("No Webphone Widget ID was detected. Event skipped.")}))}))}function p(t){return t.getAttribute("data-webphone-widget")}function v(){var t=document.querySelector("body");return t?t.getAttribute("data-webphone-widget"):null}const m=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),a(this,d),a(this,u),a(this,l),a(this,c),this.selector=e,s(this,c,f).call(this),s(this,l,h).call(this)}var e,n,r;return e=t,(n=[{key:"open",value:function(t){void 0!==window.openWebphoneFullscreen?window.openWebphoneFullscreen(t,t,"","ONLY_CONTACT_FORM_OUT_SCHEDULE",""):console.log("Webphone is not loaded. Action skipped.")}}])&&o(e.prototype,n),r&&o(e,r),Object.defineProperty(e,"prototype",{writable:!1}),t}()},13272:(t,e,n)=>{n(51629),n(84185),n(26099),n(23500),n(89336);var r=n(84030),o=n(73149),i=n(20607),a=n(93273);console.log("Outlander"),document.querySelectorAll("[data-confirmation-dialog]").forEach((function(t){return new r.default(t)})),document.querySelector(".contact-form")&&new i.FloatingForm(document.querySelector(".contact-form"),document.querySelector(".contact-form-goto-button"),document.getElementById("form_desktop_container"),document.getElementById("form_desktop_container"),992),document.querySelectorAll("form").forEach((function(t){t instanceof HTMLFormElement&&new o.Form(t)})),window.addEventListener("load",(function(){var t=document.querySelector('[data-js="StarRating"]');t instanceof HTMLElement&&new a.default(t)})),n(21892),document.querySelectorAll(".btn-close-mobile, .nav-link").forEach((function(t){t.addEventListener("click",(function(t){document.querySelectorAll(".navbar-collapse").forEach((function(t){t.classList.remove("show")}))}))})),document.addEventListener("scroll",(function(t){document.querySelectorAll("nav").forEach((function(t){window.scrollY>50?t.classList.add("scrolled"):t.classList.remove("scrolled")}))}));var s=n(37585);window.webphoneHelper=new s.default("button.cm-button")},5019:function(t,e,n){n(44114),n(69085),n(84185),n(76031);var r=this&&this.__assign||function(){return r=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},r.apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0}),e.Analytics=void 0;var o=n(87814),i=[],a=setInterval((function(){if(i.length>0&&s.isDataLayerAvailable()){for(var t=0;i.length>0;){var e=i.shift();s.sendEvent(e),++t}(0,o.debug)("Se han enviado ".concat(t," eventos del buffer al DataLayer.")),clearInterval(a)}}),100),s=function(){function t(){}return t.isDataLayerAvailable=function(){return void 0!==window.dataLayer},t.saveEventInBuffer=function(t){(0,o.debug)("Evento guardado en buffer",t),i.push(t),(0,o.debug)("Buffer",i)},t.makeDataLayerEntry=function(t){return"string"==typeof t?{event:t}:r(r({},t),{event:"event"in t&&"string"==typeof t.event?t.event:"unknown"})},t.sendEvent=function(e){var n=t.makeDataLayerEntry(e);t.isDataLayerAvailable()?((0,o.debug)("Enviando evento a GTM DataLayer.",n),window.dataLayer.push(n)):((0,o.warning)("No está inicializado GTM DataLayer. Evento pospuesto.",n),t.saveEventInBuffer(n))},t.dataLayerHasEvent=function(e){if(!t.isDataLayerAvailable())return!1;for(var n=0;n<window.dataLayer.length;n++){var r=window.dataLayer[n];if("event"in r&&r.event===e)return!0}return!1},t}();e.Analytics=s},92135:function(t,e,n){n(52675),n(89463),n(2259),n(16280),n(76918),n(28706),n(23792),n(44114),n(23288),n(62010),n(59904),n(84185),n(10287),n(26099),n(3362),n(27495),n(90906),n(38781),n(47764),n(25440),n(62953);var r,o=this&&this.__extends||(r=function(t,e){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},r(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),i=this&&this.__awaiter||function(t,e,n,r){return new(n||(n=Prom
1ise))((function(o,i){function a(t){try{c(r.next(t))}catch(t){i(t)}}function s(t){try{c(r.throw(t))}catch(t){i(t)}}function c(t){var e;t.done?o(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(a,s)}c((r=r.apply(t,e||[])).next())}))},a=this&&this.__generator||function(t,e){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(s){return function(c){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,s[0]&&(a=0)),a;)try{if(n=1,r&&(o=2&s[0]?r.return:s[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,s[1])).done)return o;switch(r=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){a.label=s[1];break}if(6===s[0]&&a.label<o[1]){a.label=o[1],o=s;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(s);break}o[2]&&a.ops.pop(),a.trys.pop();continue}s=e.call(t,a)}catch(t){s=[6,t],r=0}finally{n=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,c])}}};Object.defineProperty(e,"__esModule",{value:!0}),e.DomainError=e.ValidationError=void 0;var s=n(87814),c=function(t){function e(n,r){var o=t.call(this,"Submit Validation Failed")||this;return o.title=n,o.errors=r,o.name=o.constructor.name,Object.setPrototypeOf(o,e.prototype),o}return o(e,t),e}(Error);e.ValidationError=c;var l=function(t){function e(n,r){var o=t.call(this,"Error found")||this;return o.title=n,o.description=r,o.name=o.constructor.name,Object.setPrototypeOf(o,e.prototype),o}return o(e,t),e}(Error);e.DomainError=l;var u=function(){function t(){}return t.prototype.lead=function(e){return i(this,void 0,void 0,(function(){var n,r;return a(this,(function(o){switch(o.label){case 0:return n=t.buildUrl("/lead"),(0,s.debug)("API","Enviando petición a ".concat(n),e),[4,fetch(n,{method:"POST",body:e})];case 1:return r=o.sent(),[4,t.parseJsonResponse(r)];case 2:return[2,o.sent()]}}))}))},t.prototype.addRating=function(e){return i(this,void 0,void 0,(function(){var n,r,o;return a(this,(function(i){switch(i.label){case 0:return(n=new FormData).append("rating",e.toString()),r=t.buildUrl("/rating/add"),(0,s.debug)("API","Enviando petición a ".concat(r),n),[4,fetch(r,{method:"POST",body:n})];case 1:return o=i.sent(),[4,t.parseJsonResponse(o)];case 2:return[2,i.sent()]}}))}))},t.buildUrl=function(t){return t=t.replace(/^\//,""),"".concat("/api","/").concat(t)},t.parseJsonResponse=function(t){var e;return i(this,void 0,void 0,(function(){var n;return a(this,(function(r){switch(r.label){case 0:return[4,t.json()];case 1:if(n=r.sent(),t.ok)return[2,n];if((0,s.debug)("API","Respuesta del servidor",t),400===t.status&&/validation/i.test(n.title))throw new c(n.title||"Error de validación.",null!==(e=n.data)&&void 0!==e?e:[]);if(t.status>=400&&t.status<500)throw new l(n.title||"Hubo un error",n.message);throw new Error(n.title||t.statusText)}}
1))}))},t}();e.default=u},20607:(t,e,n)=>{n(51629),n(23418),n(94170),n(84185),n(26099),n(47764),n(23500),Object.defineProperty(e,"__esModule",{value:!0}),e.FloatingForm=void 0;var r=n(87814),o=function(){function t(t,e,n,o,i){void 0===i&&(i=992),this.form=t,this.floatingButton=e,this.desktopContainer=n,this.mobileContainer=o,this.repositionThreshold=i,t&&e&&n&&o?(this.initIntersectionObserver(),this.initFloatingButtonEvents(),this.initFormRepositioning()):(0,r.error)("Cannot initialize FloatingForm")}return t.prototype.initIntersectionObserver=function(){this.observer=new IntersectionObserver(this.handleIntersect.bind(this),{root:null,rootMargin:"0px",threshold:.05}),this.observer.observe(this.form)},t.prototype.initFloatingButtonEvents=function(){var t=this;this.floatingButton.addEventListener("click",(function(e){e.preventDefault(),t.form.scrollIntoView()}))},t.prototype.initFormRepositioning=function(){var t=this;this.mobileContainer&&this.desktopContainer&&(this.repositionForm(),window.addEventListener("resize",(function(e){t.repositionForm()})))},t.prototype.repositionForm=function(){var t=this;(window.innerWidth||document.documentElement.clientWidth)<=this.repositionThreshold?Array.from(this.desktopContainer.children).forEach((function(e){t.mobileContainer.append(e)})):Array.from(this.mobileContainer.children).forEach((function(e){t.desktopContainer.append(e)}))},t.prototype.toggleFloatingButton=function(t){t?this.floatingButton.classList.remove("d-none"):this.floatingButton.classList.add("d-none")},t.prototype.handleIntersect=function(t,e){var n=this;t.forEach((function(t){n.toggleFloatingButton(!t.isIntersecting)}))},t}();e.FloatingForm=o},73149:(t,e,n)=>{n(52675),n(89463),n(51629),n(94170),n(84185),n(26099),n(3362),n(9391),n(23500),Object.defineProperty(e,"__esModule",{value:!0}),e.Form=void 0;var r=n(78465),o=n(92135),i=n(5019),a=function(){function t(t){t.handle=this.elementHandlers,this.form=t,this.api=new o.default,this.button=this.form.querySelector("button"),this.form.addEventListener("submit",this.submitHandler.bind(this))}return t.prototype.submitHandler=function(t){var e=this;t.preventDefault(),i.Analytics.sendEvent("form_sent"),this.elementHandlers.disable(),this.api.lead(new FormData(this.form)).then(this.handleSuccessResponse.bind(this)).catch(this.handleErrorResponse.bind(this)).finally((function(){e.elementHandlers.enable()}))},Object.defineProperty(t.prototype,"elementHandlers",{get:function(){var t=this;return{clear:function(){t.clearValidationErrors(),t.form.reset()},disable:function(){t.button.setAttribute("disabled","disabled")},enable:function(){t.button.removeAttribute("disabled")},submit:function(){t.form.requestSubmit()}}},enumerable:!1,configurable:!0}),t.prototype.handleSuccessResponse=function(t){i.Analytics.sendEvent("form_ok"),r.default.fire({title:"¡Gracias!",text:"Tu petición ha sido recibida. Contactaremos contigo cuanto antes.",icon:"success"}),this.elementHandlers.clear()},t.prototype.handleErrorResponse=function(t){if(i.Analytics.sendEvent("form_error"),t instanceof o.ValidationError)return this.mapValidationErrors(t.errors),void r.default.fire({title:"Error de validación",text:"La petición contiene errores, por favor revisa tus datos antes de volver a enviarlo.",icon:"error"});t instanceof o.DomainError?r.default.fire({title:t.title,text:t.description,icon:"error"}):r.default.fire({title:"¡Lo sentimos!",text:"Nuestra aplicación no está respondiendo correctamente. Por favor, inténtalo otra vez más tarde.",icon:"error"})},t.prototype.mapValidationErrors=function(t){var e=this;this.clearValidationErrors(),t.forEach((function(t){var n=e.form.querySelector("[name=".concat(t.propertyPath,"]"));if(n){var r=e.form.querySelector('.feedback[data-feedback-for="'.concat(n.id,'"]'));n.classList.add("is-invalid"),r&&(r.classList.add("d-block","invalid-feedback"),r.textContent=t.message)}}))},t.prototype.clearValidationErrors=function(){this.form.querySelectorAll(".is-invalid").forEach((function(t){t.classList.remove("d-block","is-invalid")})),this.form.querySelectorAll(".feedback").forEach((function(t){t.classList.remove("d-block","invali
1d-feedback","valid-feedback"),t.textContent=""}))},t}();e.Form=a},20636:(t,e,n)=>{n(28706),n(74423),n(44114),n(23288),n(33110),n(84185),n(79432),n(27495),n(21699),n(71761),Object.defineProperty(e,"__esModule",{value:!0});var r=function(){function t(t){this.key=t}return Object.defineProperty(t.prototype,"value",{get:function(){var t=document.cookie.match("(^|;) ?"+this.key+"=([^;]*)(;|$)"),e=t?t[2]:null,n=JSON.parse(e);return n instanceof Array?n:[]},set:function(t){var e=new Date;e.setTime(e.getTime()+2592e6),document.cookie="".concat(this.key,"=").concat(JSON.stringify(t),";expires=").concat(e.toUTCString())},enumerable:!1,configurable:!0}),t.prototype.has=function(t){return this.value.includes(t)},t.prototype.add=function(t){if(!this.has(t)){var e=this.value;e.push(t),this.value=e}},t}();e.default=r},90330:(t,e,n)=>{n(74423),n(84185),n(78459),n(58940),n(21699),Object.defineProperty(e,"__esModule",{value:!0});var r=function(){function t(t,e,n){this.average=this.parse(t),this.roundedAverage=this.parse(e),this.voteCount=this.parse(n)}return t.prototype.parse=function(t){return"number"==typeof t?t:t.includes(".")?parseFloat(t):parseInt(t)},t}();e.default=r},93273:(t,e,n)=>{n(76918),n(51629),n(23288),n(94170),n(84185),n(26099),n(58940),n(27495),n(38781),n(25440),n(23500),Object.defineProperty(e,"__esModule",{value:!0});var r=n(20636),o=n(90330),i=n(92135),a=n(5019),s=n(78465),c=function(){function t(t){var e=this;this.$container=t,this.$smallText=t.querySelector("small"),this.api=new i.default,this.cookie=new r.default("starsRating"),t.querySelectorAll("[data-star-rating]").forEach((function(t){return t.addEventListener("click",e.handleClick.bind(e))}))}return t.prototype.handleClick=function(t){var e,n=this,r=location.pathname;if(this.cookie.has(r))this.$container.querySelector("small").innerHTML="Tu voto ya ha sido registrado ¡Gracias!";else{if(!(t.currentTarget instanceof HTMLElement))return!1;var i=(null===(e=t.currentTarget.dataset)||void 0===e?void 0:e.starRating)||!1;i&&this.api.addRating(parseInt(i)).then((function(t){n.cookie.add(r);var e=t.data;return new o.default(e.average,e.roundedAverage,e.voteCount)})).then(this.refreshStars.bind(this)).catch((function(t){a.Analytics.sendEvent("stars_vote_error"),s.default.fire({title:"¡Lo sentimos!",text:"Ha habido un error al procesar tu voto. Por favor, inténtalo otra vez más tarde.",icon:"error"})}))}},t.prototype.refreshStars=function(t){this.$container.querySelectorAll("[data-star-rating]").forEach((function(e){e instanceof HTMLElement&&e.classList.toggle("empty",parseInt(e.dataset.starRating)>t.roundedAverage)}));var e=this.$smallText.dataset.starRatingMessageTemplate;e=(e=e.replace("%average%",t.average.toString())).replace("%voteCount%",t.voteCount.toString()),this.$smallText.innerHTML=e},t}();e.default=c},84030:(t,e,n)=>{n(84185),Object.defineProperty(e,"__esModule",{value:!0}),e.DialogConfirmation=void 0;var r=n(78465),o=function(){function t(t){this.element=t,this.title=t.getAttribute("data-confirmation-title")||"Confirma la acción",this.text=t.getAttribute("data-confirmation-text")||"Se necesita tu confirmación para proceder con la acción.",this.confirmButtonText=t.getAttribute("data-confirmation-button-text")||"Confirmar",this.cancelButtonText=t.getAttribute("data-confirmation-cancel-button-text")||"Cancelar",this.url=t.getAttribute("data-confirmation-url")||null,this.setListeners()}return t.prototype.setListeners=function(){var t=this;this.element.addEventListener("click",(function(e){e.preventDefault(),r.default.fire({title:t.title,html:t.text,showCancelButton:!0,confirmButtonText:t.confirmButtonText,cancelButtonText:t.cancelButtonText,animation:!1}).then((function(e){if(e.isConfirmed){var n=document.createElement("form");n.setAttribute("method","post"),t.url&&n.setAttribute("action",t.url),document.body.appendChild(n),n.submit()}}))}))},t}();e.DialogConfirmation=o,e.default=o},87814:function(t,e,n){n(28706),n(34782),n(84185);var r=this&&this.__spreadArray||function(t,e,n){if(n||2===arguments.length)for(var r,o=0,i=e.length;o<i;o++)!r&&o in e||(r||(r=Array.prototype.slice.call(e,0,o)),r[o]=e[o]);return t.concat(r||Array.prototype.slice.call(e))};
1Object.defineProperty(e,"__esModule",{value:!0}),e.warning=e.error=e.debug=void 0;e.debug=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];console.debug.apply(console,r(["%c%s%c%s","color: hsl(343.1, 100%, 68%); font-weight: bold;","🎯 Outlander: ","",t],e,!1))},e.error=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];console.error.apply(console,r(["%c%s%c%s","color: hsl(355.8, 88.9%, 68.2%); font-weight: bold;","🎯 Outlander: ","",t],e,!1))},e.warning=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];console.warn.apply(console,r(["%c%s%c%s","color: hsl(17.1, 88.9%, 68.2%); font-weight: bold;","🎯 Outlander: ","",t],e,!1))}}},t=>{var e=e=>t(t.s=e);t.O(0,[150,92],(()=>(e(13272),e(81226))));t.O()}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.