PageSourceSearch

https://www.hoteles-andalucia.com/cdn/files/base/build/2272.f9c53d62a0342b54cf46.js

js hoteles-andalucia.com collected 2026-10-10 01:04:38 UTC 5,787 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunklib=self.webpackChunklib||[]).push([[2272],{64425:(t,e,n)=>{n.d(e,{Z:()=>r});class r{constructor(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.config=t,this.initialized=!1}init(){throw new Error("init() method must be implemented by adapter")}sendEvent(t,e){throw new Error("sendEvent() method must be implemented by adapter")}checkUserChanged(){throw new Error("checkUserChanged() method must be implemented by adapter")}addGlobalProperties(){throw new Error("addGlobalProperties() method must be implemented by adapter")}destroy(){this.initialized=!1}isReady(){return this.initialized}}},82272:(t,e,n)=>{n.r(e),n.d(e,{StatsAdapter:()=>k});var r=n(64425),i=n(85362),o="".concat(window.location.protocol,"//").concat(window.location.host,"/"),a=["h","labelData","url"];function l(t,e){if(null==t)return{};var n,r,i=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}function c(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function s(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?c(Object(n),!0).forEach((function(e){d(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function d(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function h(t,e){p(t,e),e.add(t)}function u(t,e,n){p(t,e),e.set(t,n)}function p(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")}function f(t,e,n){return function(t,e,n){if(e.set)e.set.call(t,n);else{if(!e.writable)throw new TypeError("attempted to set read only private field");e.value=n}}(t,b(t,e,"set"),n),n}function g(t,e,n){if(!e.has(t))throw new TypeError("attempted to get private field on non-instance");return n}function v(t,e){return function(t,e){if(e.get)return e.get.call(t);return e.value}(t,b(t,e,"get"))}function b(t,e,n){if(!e.has(t))throw new TypeError("attempted to "+n+" private field on non-instance");return e.get(t)}var y=new WeakMap,w=new WeakMap,m=new WeakMap,O=new WeakSet,j=new WeakSet;class k extends r.Z{constructor(){super(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),h(this,j),h(this,O),u(this,y,{writable:!0,value:"Stats"}),u(this,w,{writable:!0,value:null}),u(this,m,{writable:!0,value:{}})}init(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};try{return this.config=s(s({},this.config),t),this.initialized=!1!==this.config.enabled,this.config.debug&&console.log("[".concat(v(this,y),"] Provider initialized"),this.config),this.initialized}catch(t){return console.error("[".concat(v(this,y),"] Initialization failed:"),t),!1}}sendEvent(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!this.isReady())return this.config.debug&&console.warn("[".concat(v(this,y),"] Adapter not ready, skipping event:"),{category:t,action:e,data:n}),!1;try{var r,c,{h:d,labelData:h,url:u}=n,p=l(n,a),f=h?g(this,O,S).call(this,p,h):g(this,O,S).call(this,p),b=s({category:t,action:e,h:d||(null===(r=travel)||void 0===r||null===(c=r.options)||void 0===c?void 0:c.hotelExtId),labelData:f},u&&{url:u});return this.config.debug&&console.log("[".concat(v(this,y),"] Sending event:"),b),(t=>{var{h:e,category:n,action:r,labelData:a,url:l=o}=t,c={page:"stat",t:"ev",h:e,c:n,a:r,l:a,r:Math.floor(1e5*Math.random())};fetch(l,{method:"POST",body:(0,i.Z)(c),keepalive:!0})})(b),!0}catch(t){return console.error("[".concat(v(this,y),"] Failed to send event:"),t),!1}}checkUserChanged(){if(!this.isReady())return!1;try{var t=g(this,j,P).call(this),e=v(this,w)&&v(this,w)!==t;return f(this,w,t),e&&this.config.debug&&console.log("[".concat(v(this,y),"] User 
1changed from ").concat(v(this,w)," to ").concat(t)),e}catch(t){return console.error("[".concat(v(this,y),"] Failed to check user change:"),t),!1}}addGlobalProperties(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!this.isReady())return!1;try{if("undefined"!=typeof localStorage){var e=s(s({},JSON.parse(localStorage.getItem("stats_global_props")||"{}")),t);localStorage.setItem("stats_global_props",JSON.stringify(e))}return f(this,m,s(s({},v(this,m)),t)),this.config.debug&&console.log("[".concat(v(this,y),"] Global properties added:"),t),!0}catch(t){return console.error("[".concat(v(this,y),"] Failed to add global properties:"),t),!1}}}function S(){var t,e,n,r,i,o,a,l,c,d=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},h=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";if(h){var u=s({},d);delete u.labelString,delete u.href;var p=Object.keys(u).length>0?JSON.stringify(u):"null";return"".concat(h,"||").concat(p)}var f=(null===(t=travel)||void 0===t||null===(e=t.options)||void 0===e?void 0:e.siteId)||"",g=(null===(n=travel)||void 0===n||null===(r=n.options)||void 0===r?void 0:r.objectId)||"",v=(null===(i=window)||void 0===i||null===(o=i.location)||void 0===o?void 0:o.origin)||"",b=(null===(a=travel)||void 0===a||null===(l=a.options)||void 0===l||null===(c=l.btest)||void 0===c?void 0:c.id)||!1,y=Object.keys(d).length>0?JSON.stringify(d):"null";return"".concat(f,"||").concat(g,"||").concat(v,"||").concat(b,"||").concat(y)}function P(){return travel.options.track||null}}}]);

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.