{"id":3946,"date":"2026-01-10T02:09:54","date_gmt":"2026-01-10T02:09:54","guid":{"rendered":"https:\/\/hybel-it.live\/?page_id=3946"},"modified":"2026-11-25T13:06:23","modified_gmt":"2026-11-25T13:06:23","slug":"3946-2","status":"publish","type":"page","link":"https:\/\/hybel-it.live\/","title":{"rendered":""},"content":{"rendered":"\n<style data-wp-block-html=\"css\">\n\/* HYBEL \u2013 animeret mobilikon *\/\n\n.hybel-mobilikon {\n    position: absolute;\n    top: calc(100% + 8px);\n    left: 50%;\n    transform: translateX(-50%);\n    color: #f7e4d2;\n    pointer-events: none;\n}\n\n.hybel-telefon {\n    transform-origin: 24px 24px;\n    animation: hybel-rotation 3s ease-in-out infinite;\n}\n\n@keyframes hybel-rotation {\n    0%, 20% {\n        transform: rotate(0deg);\n    }\n    40%, 75% {\n        transform: rotate(-90deg);\n    }\n    95%, 100% {\n        transform: rotate(0deg);\n    }\n}\n\n@media (prefers-reduced-motion: reduce) {\n    .hybel-telefon {\n        animation: none;\n        transform: rotate(-45deg);\n    }\n}\n<\/style>\n\n<div class=\"hybel-vend-mig\" id=\"hybel-vend-mig\">\n  <button class=\"hybel-luk\" type=\"button\" aria-label=\"Luk besked\" onclick=\"this.parentElement.remove()\">\u00d7<\/button>\n\n  <div class=\"hybel-popup-tekst\">\n    <div>Vend mig lige om.<\/div>\n    <div>Jeg tager mig bedre ud p\u00e5 langs. &#x1f609;<\/div>\n  <\/div>\n<\/div>\n\n<script>\n(function () {\n  const besked = document.getElementById('hybel-vend-mig');\n  if (besked) {\n    setTimeout(function () {\n      besked.remove();\n    }, 10000);\n  }\n})();\n<\/script>\n\n\n\n<div class=\"hybel-dagtaeller\" id=\"hybel-dagtaeller\">\n  <div class=\"hybel-seddel hybel-seddel-1\">\n<\/span>\n    <span>Det er nu<\/span>\n    <strong id=\"hybel-antal-dage\">&#8230;<\/strong>\n    <span>dage siden.<\/span>\n  <\/div>\n\n  <div class=\"hybel-seddel hybel-seddel-2\">\n    <span>Stolen er<\/span>\n    <span>noget kold.<\/span>\n  <\/div>\n<\/div>\n\n<script>\n(function () {\n  const startdato = Date.UTC(2020, 9, 20);\n  const dagtal = document.getElementById('hybel-antal-dage');\n\n  function opdaterDage() {\n    if (!dagtal) return;\n\n    const nu = new Date();\n    const iDag = Date.UTC(\n      nu.getFullYear(),\n      nu.getMonth(),\n      nu.getDate()\n    );\n\n    const antal = Math.floor(\n      (iDag - startdato) \/ 86400000\n    );\n\n    dagtal.textContent = antal.toLocaleString('da-DK');\n  }\n\n  opdaterDage();\n  setInterval(opdaterDage, 60000);\n})();\n<\/script>\n\n\n\n<script data-wp-block-html=\"js\">\n(function () {\n\n    function startCET() {\n\n        const cet = document.getElementById(\"hybel-cet\");\n        const knap = document.getElementById(\"hybel-cet-makuler\");\n\n        if (!cet || !knap) return;\n\n        knap.addEventListener(\"click\", function () {\n\n            const papir = cet.querySelector(\".hybel-cet-papir\");\n            const makulator = cet.querySelector(\".hybel-cet-makulator\");\n            const strimler = cet.querySelector(\".hybel-cet-strimler\");\n\n            if (!papir || !makulator || !strimler) return;\n\n            if (window.matchMedia(\"(prefers-reduced-motion: reduce)\").matches) {\n                cet.remove();\n                return;\n            }\n\n            const bredde = papir.offsetWidth;\n            const hoejde = papir.offsetHeight;\n\n            const papirTop = hoejde * 0.27;\n            const papirBund = hoejde * 0.81;\n            const papirLaengde = papirBund - papirTop;\n\n            const antal = 30;\n            const led = 9;\n            const varighed = 2100;\n\n            cet.style.pointerEvents = \"none\";\n\n            \/* Kopi\u00e9r dokumentets udseende *\/\n\n            function lavKopi() {\n\n                const kopi = papir.cloneNode(true);\n\n                const originaler = [papir, ...papir.querySelectorAll(\"*\")];\n                const kopier = [kopi, ...kopi.querySelectorAll(\"*\")];\n\n                originaler.forEach(function (el, i) {\n                    const stil = getComputedStyle(el);\n\n                    for (let j = 0; j < stil.length; j++) {\n                        const navn = stil[j];\n                        kopier[i].style.setProperty(\n                            navn,\n                            stil.getPropertyValue(navn),\n                            \"important\"\n                        );\n                    }\n\n                    kopier[i].removeAttribute(\"id\");\n                });\n\n                kopi.setAttribute(\"aria-hidden\", \"true\");\n                kopi.inert = true;\n\n                kopi.style.setProperty(\"position\", \"absolute\", \"important\");\n                kopi.style.setProperty(\"width\", bredde + \"px\", \"important\");\n                kopi.style.setProperty(\"height\", hoejde + \"px\", \"important\");\n                kopi.style.setProperty(\"transform\", \"none\", \"important\");\n                kopi.style.setProperty(\"filter\", \"none\", \"important\");\n                kopi.style.setProperty(\"margin\", \"0\", \"important\");\n                kopi.style.setProperty(\"visibility\", \"visible\", \"important\");\n\n                return kopi;\n            }\n\n            const skabelon = lavKopi();\n\n            \/* Dokumentets indgang *\/\n\n            const indgang = document.createElement(\"div\");\n\n            indgang.style.cssText = `\n                position: absolute;\n                top: 0;\n                left: 0;\n                width: ${bredde}px;\n                height: ${papirBund}px;\n                overflow: hidden;\n                z-index: 3;\n            `;\n\n            const original = skabelon.cloneNode(true);\n\n            original.style.setProperty(\"top\", \"0px\", \"important\");\n            original.style.setProperty(\"left\", \"0px\", \"important\");\n\n            indgang.appendChild(original);\n            cet.appendChild(indgang);\n\n            papir.style.visibility = \"hidden\";\n\n            \/* Den hvide makulator *\/\n\n            makulator.style.cssText = `\n                display: block;\n                position: absolute;\n                top: ${papirBund}px;\n                left: 2%;\n                width: 96%;\n                height: 10px;\n                background: #fffaf5;\n                border: 1px solid #d8cec3;\n                border-radius: 4px;\n                box-shadow: 0 3px 3px rgba(0,0,0,.20);\n                z-index: 10;\n            `;\n\n            strimler.style.cssText = `\n                display: block;\n                position: absolute;\n                inset: 0;\n                pointer-events: none;\n                z-index: 2;\n            `;\n\n            \/* Wonky papirstrimler *\/\n\n            const baand = [];\n            const sw = bredde \/ antal;\n            const sh = papirLaengde \/ led;\n\n            for (let i = 0; i < antal; i++) {\n\n                const strimmel = document.createElement(\"div\");\n\n                strimmel.style.cssText = `\n                    position: absolute;\n                    left: ${i * sw}px;\n                    top: ${papirBund + 9}px;\n                    width: ${sw - 1}px;\n                    height: ${papirLaengde}px;\n                    transform-origin: top center;\n                    perspective: 180px;\n                `;\n\n                const dele = [];\n\n                for (let j = 0; j < led; j++) {\n\n                    const del = document.createElement(\"div\");\n                    const kopi = skabelon.cloneNode(true);\n\n                    del.style.cssText = `\n                        position: absolute;\n                        width: ${sw - 1}px;\n                        height: ${sh + 0.8}px;\n                        overflow: hidden;\n                        visibility: hidden;\n                        transform-origin: top center;\n                    `;\n\n                    kopi.style.setProperty(\n                        \"left\", `${-i * sw}px`, \"important\"\n                    );\n\n                    kopi.style.setProperty(\n                        \"top\", `${-papirTop - j * sh}px`, \"important\"\n                    );\n\n                    del.appendChild(kopi);\n                    strimmel.appendChild(del);\n                    dele.push(del);\n                }\n\n                strimler.appendChild(strimmel);\n\n                baand.push({\n                    element: strimmel,\n                    dele: dele,\n                    fase: Math.random() * 6.28,\n                    amplitude: 9 + Math.random() * 26,\n                    haeldning: (Math.random() - 0.5) * 0.8,\n                    frigivelse: varighed + Math.random() * 300,\n                    side: (Math.random() - 0.5) * 240,\n                    rotation: (Math.random() - 0.5) * 300,\n                    faldtid: 600 + Math.random() * 900\n                });\n            }\n\n            \/* Selve animationen *\/\n\n            const start = performance.now();\n\n            function animation(nu) {\n\n                const tid = nu - start;\n                const fremdrift = Math.min(1, tid \/ varighed);\n\n                original.style.setProperty(\n                    \"top\",\n                    `${papirLaengde * fremdrift}px`,\n                    \"important\"\n                );\n\n                const synligLaengde = papirLaengde * fremdrift;\n\n                for (const b of baand) {\n\n                    for (let j = 0; j < led; j++) {\n\n                        const del = b.dele[j];\n\n                        const y = j * sh -\n                            (papirLaengde - synligLaengde);\n\n                        del.style.visibility =\n                            y + sh > 0 ? \"visible\" : \"hidden\";\n\n                        del.style.clipPath =\n                            `inset(${Math.min(sh + 0.8, Math.max(0, -y))}px 0 0 0)`;\n\n                        const dybde = Math.max(0, y) \/ papirLaengde;\n\n                        const boejning =\n                            b.amplitude * dybde *\n                            Math.sin(tid \/ 190 + b.fase + dybde * 6);\n\n                        const side =\n                            boejning + b.haeldning * Math.max(0, y);\n\n                        const drej =\n                            Math.sin(tid \/ 220 + b.fase + dybde * 5)\n                            * dybde * 45;\n\n                        const snoning =\n                            Math.sin(tid \/ 170 + b.fase + j * 0.7)\n                            * dybde * 70;\n\n                        del.style.transform = `\n                            translate(${side}px, ${y}px)\n                            rotate(${drej}deg)\n                            rotateY(${snoning}deg)\n                        `;\n                    }\n\n                    \/* Strimlerne l\u00f8sner sig individuelt *\/\n\n                    if (tid > b.frigivelse) {\n\n                        const p = Math.min(\n                            1,\n                            (tid - b.frigivelse) \/ b.faldtid\n                        );\n\n                        b.element.style.transform = `\n                            translate(\n                                ${b.side * p}px,\n                                ${p * p * 300}px\n                            )\n                            rotate(${b.rotation * p}deg)\n                        `;\n\n                        b.element.style.opacity = 1 - p;\n                    }\n                }\n\n                if (fremdrift === 1) {\n                    indgang.style.visibility = \"hidden\";\n                }\n\n                if (tid > 2400) {\n                    makulator.style.opacity =\n                        Math.max(0, 1 - (tid - 2400) \/ 500);\n                }\n\n                if (tid < 4000) {\n                    requestAnimationFrame(animation);\n                } else {\n                    cet.remove();\n                }\n            }\n\n            requestAnimationFrame(animation);\n\n        }, { once: true });\n    }\n\n    if (document.readyState === \"loading\") {\n        document.addEventListener(\"DOMContentLoaded\", startCET);\n    } else {\n        startCET();\n    }\n\n})();\n<\/script>\n\n<div id=\"hybel-cet\" class=\"hybel-cet\">\n    <div class=\"hybel-cet-papir\">\n\n        <div class=\"hybel-cet-overskrift\">\n            C.E.T. \u2014 COOKIEEFTERRETNINGSTJENESTEN\n        <\/div>\n\n        <hr>\n\n        <p style=\"line-height: 1.4;\">\n    Ingen mist\u00e6nkelige cookies fundet.<br>\n    Siden er nu sikkerhedsgodkendt.\n<\/p>\n\n        <button id=\"hybel-cet-makuler\" type=\"button\">\n            Makul\u00e9r dokumentet\n        <\/button>\n\n    <\/div>\n\n    <div class=\"hybel-cet-makulator\"><\/div>\n    <div class=\"hybel-cet-strimler\"><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u00d7 Vend mig lige om. Jeg tager mig bedre ud p\u00e5 langs. &#x1f609; Det er nu &#8230; dage siden. Stolen er noget kold. C.E.T. \u2014 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"template-fullwide.php","meta":{"_oct_exclude_from_cache":false,"footnotes":""},"class_list":["post-3946","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/hybel-it.live\/index.php?rest_route=\/wp\/v2\/pages\/3946","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hybel-it.live\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/hybel-it.live\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/hybel-it.live\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/hybel-it.live\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3946"}],"version-history":[{"count":19,"href":"https:\/\/hybel-it.live\/index.php?rest_route=\/wp\/v2\/pages\/3946\/revisions"}],"predecessor-version":[{"id":4211,"href":"https:\/\/hybel-it.live\/index.php?rest_route=\/wp\/v2\/pages\/3946\/revisions\/4211"}],"wp:attachment":[{"href":"https:\/\/hybel-it.live\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3946"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}