PageSourceSearch

https://zinkbakken.dk/theme/89fec0e0143898505c6fffd88afa0419/js/ze…ookie-configuration-reinit.plugin.650afe.js

js zinkbakken.dk collected 2026-09-26 07:49:54 UTC 4,124 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[57866],{7866:(t,e,o)=>{o.r(e),o.d(e,{default:()=>n});var i=o(4049);class n extends window.PluginBaseClass{init(){this._registerEvents()}_registerEvents(){let t=this.options,e=i.Z.querySelector(document,t.offcanvasMenuSelector,!1);e&&(this._offcanvasMenuPlugin=window.PluginManager.getPluginInstanceFromElement(e,"OffCanvasMenu")),this._offcanvasMenuPlugin&&this._offcanvasMenuPlugin.$emitter.subscribe("openMenu",this._initializeCookieConfiguration.bind(this))}_initializeCookieConfiguration(){let t=this.options,e=i.Z.querySelector(document,t.cookieConfigurationSelector,!1);e&&(this._cookieConfigurationPlugin=window.PluginManager.getPluginInstanceFromElement(e,"CookieConfiguration")),this._cookieConfigurationPlugin&&this._cookieConfigurationPlugin._registerEvents()}}n.options={offcanvasMenuSelector:"[data-off-canvas-menu]",cookieConfigurationSelector:"[data-cookie-permission]"}},4049:(t,e,o)=>{o.d(e,{Z:()=>n});var i=o(5140);class n{static isNode(t){return"object"==typeof t&&null!==t&&(t===document||t===window||t instanceof Node)}static hasAttribute(t,e){if(!n.isNode(t))throw Error("The element must be a valid HTML Node!");return"function"==typeof t.hasAttribute&&t.hasAttribute(e)}static getAttribute(t,e){let o=!(arguments.length>2)||void 0===arguments[2]||arguments[2];if(o&&!1===n.hasAttribute(t,e))throw Error('The required property "'.concat(e,'" does not exist!'));if("function"!=typeof t.getAttribute){if(o)throw Error("This node doesn't support the getAttribute function!");return}return t.getAttribute(e)}static getDataAttribute(t,e){let o=!(arguments.length>2)||void 0===arguments[2]||arguments[2],r=e.replace(/^data(|-)/,""),a=i.Z.toLowerCamelCase(r,"-");if(!n.isNode(t)){if(o)throw Error("The passed node is not a valid HTML Node!");return}if(void 0===t.dataset){if(o)throw Error("This node doesn't support the dataset attribute!");return}let s=t.dataset[a];if(void 0===s){if(o)throw Error('The required data attribute "'.concat(e,'" does not exist on ').concat(t,"!"));return s}return i.Z.parsePrimitive(s)}static querySelector(t,e){let o=!(arguments.length>2)||void 0===arguments[2]||arguments[2];if(o&&!n.isNode(t))throw Error("The parent node is not a valid HTML Node!");let i=t.querySelector(e)||!1;if(o&&!1===i)throw Error('The required element "'.concat(e,'" does not exist in parent node!'));return i}static querySelectorAll(t,e){let o=!(arguments.length>2)||void 0===arguments[2]||arguments[2];if(o&&!n.isNode(t))throw Error("The parent node is not a valid HTML Node!");let i=t.querySelectorAll(e);if(0===i.length&&(i=!1),o&&!1===i)throw Error('At least one item of "'.concat(e,'" must exist in parent node!'));return i}static getFocusableElements(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document.body;return t.querySelectorAll('\n            input:not([tabindex^="-"]):not([disabled]):not([type="hidden"]),\n            select:not([tabindex^="-"]):not([disabled]),\n            textarea:not([tabindex^="-"]):not([disabled]),\n            button:not([tabindex^="-"]):not([disabled]),\n            a[href]:not([tabindex^="-"]):not([disabled]),\n            [tabindex]:not([tabindex^="-"]):not([disabled])\n        ')}static getFirstFocusableElement(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document.body;return this.getFocusableElements(t)[0]}static getLastFocusableElement(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document,e=this.getFocusableElements(t);return e[e.length-1]}}},5140:(t,e,o)=>{o.d(e,{Z:()=>i});class i{static ucFirst(t){return t.charAt(0).toUpperCase()+t.slice(1)}static lcFirst(t){return t.charAt(0).toLowerCase()+t.slice(1)}static toDashCase(t){return t.replace(/([A-Z])/g,"-$1").replace(/^-/,"").toLowerCase()}static toLowerCamelCase(t,e){let o=i.toUpperCamelCase(t,e);return i.lcFirst(o)}static toUpperCamelCase(t,e){return e?t.split(e).map(t=>i.ucFirst(t.toLowerCase())).join(""):i.ucFirst(t.toLowerCase())}static parsePrimitive(t){try{return/^\d+(.|,)\d+$/.test(t)&&(t=t.replace(",",".")),JSON.parse(t)}catch(e){return t.toString()}}}}}]);

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.