PageSourceSearch

https://www.hotelsljubljana.com/frontend/static/core/build/5750.64ed2c88b7f903f36428.js

js hotelsljubljana.com collected 2026-10-10 01:27:18 UTC 3,992 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunklib=self.webpackChunklib||[]).push([[5750],{31134(t,e,r){r.d(e,{A:()=>i});class i{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}}},75750(t,e,r){r.r(e),r.d(e,{PostHogAdapter:()=>f});var i=r(31134),n=r(55476);function o(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,i)}return r}function s(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?o(Object(r),!0).forEach(function(e){c(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function c(t,e,r){return(e=function(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var i=r.call(t,e||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:e+""}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function a(t,e,r){(function(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")})(t,e),e.set(t,r)}function h(t,e){return t.get(d(t,e))}function l(t,e,r){return t.set(d(t,e),r),r}function d(t,e,r){if("function"==typeof t?t===e:t.has(e))return arguments.length<3?e:r;throw new TypeError("Private element is not present on this object")}var u=new WeakMap,p=new WeakMap,g=new WeakMap;class f extends i.A{constructor(){super(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),a(this,u,"PostHog"),a(this,p,null),a(this,g,null)}init(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};try{if(this.config=s(s({},this.config),t),!this.config.apiKey)throw new Error("PostHog API key is required");return n.Ay.init(this.config.apiKey,s({api_host:this.config.host},this.config.options)),l(p,this,n.Ay),this.initialized=!0,this.config.debug&&console.log("[".concat(h(u,this),"] Adapter initialized"),this.config),this.initialized}catch(t){return console.error("[".concat(h(u,this),"] Initialization failed:"),t),!1}}sendEvent(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!this.isReady())return this.config.debug&&console.warn("[".concat(h(u,this),"] Adapter not ready, skipping event:"),{category:t,action:e,data:r}),!1;try{var i=s({category:t},r);return this.config.debug&&console.log("[".concat(h(u,this),"] Sending event:"),e,i),h(p,this).capture(e,i),!0}catch(t){return console.error("[".concat(h(u,this),"] Failed to send event:"),t),!1}}checkUserChanged(){if(!this.isReady())return!1;try{var t=h(p,this).get_distinct_id(),e=h(g,this)&&h(g,this)!==t;return l(g,this,t),e&&this.config.debug&&console.log("[".concat(h(u,this),"] User changed from ").concat(h(g,this)," to ").concat(t)),e}catch(t){return console.error("[".concat(h(u,this),"] 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{return h(p,this).register(t),this.config.debug&&console.log("[".concat(h(u,this),"] Global properties added:"),t),!0}catch(t){return console.error("[".concat(h(u,this),"] Failed to add global properties:"),t),!1}}destroy(){h(p,this)&&l(p,this,null),super.destroy()}}}}]);

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.