{"id":6299,"date":"2025-05-02T19:21:13","date_gmt":"2025-05-02T19:21:13","guid":{"rendered":"http:\/\/landing.anderskisling.dk\/?page_id=6299"},"modified":"2025-05-02T20:25:07","modified_gmt":"2025-05-02T20:25:07","slug":"testimport","status":"publish","type":"page","link":"https:\/\/landing.anderskisling.dk\/index.php\/testimport\/","title":{"rendered":"test import"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"6299\" class=\"elementor elementor-6299\">\n\t\t\t\t<div class=\"elementor-element elementor-element-55a3d56b e-flex e-con-boxed e-con e-parent\" data-id=\"55a3d56b\" data-element_type=\"container\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t<div class=\"elementor-element elementor-element-771bc942 e-con-full e-flex e-con e-child\" data-id=\"771bc942\" data-element_type=\"container\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;,&quot;shape_divider_top&quot;:&quot;curve&quot;}\">\n\t\t\t\t<div class=\"elementor-shape elementor-shape-top\" data-negative=\"false\">\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 1000 100\" preserveAspectRatio=\"none\">\n    <path class=\"elementor-shape-fill\" d=\"M1000,4.3V0H0v4.3C0.9,23.1,126.7,99.2,500,100S1000,22.7,1000,4.3z\"\/>\n<\/svg>\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-63e1d793 elementor-widget elementor-widget-html\" data-id=\"63e1d793\" data-element_type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<!-- Poppins font -->\n<link href=\"https:\/\/fonts.googleapis.com\/css2?family=Poppins:wght@400;700&display=swap\" rel=\"stylesheet\">\n\n<div style=\"font-family: 'Poppins', sans-serif; max-width: 400px; margin: auto; text-align: center; color: white;\">\n\n  <!-- Blinkende prik \u00f8verst -->\n  <div id=\"indicator\" style=\"width: 30px; height: 30px; border-radius: 50%; background-color: #01DA00; margin: 20px auto; transition: background-color 0.1s;\"><\/div>\n\n  <!-- Inputfelt -->\n  <textarea id=\"text\" rows=\"4\" style=\"width: 100%; padding: 0.5em; border: 3px solid #1B1B1B; background: #2E2E2E; color: #ffffff; border-radius: 8px;\"><\/textarea><br><br>\n\n  <!-- Stemmev\u00e6lger -->\n  <select id=\"voice\" style=\"width: 100%; padding: 0.3em; background: #3d3d3d; color: #ffffff; text-align-last: center; border-radius: 20px; appearance: none; -webkit-appearance: none; border: 0px solid #ccc; background-image: url('data:image\/svg+xml;utf8,<svg fill=\\'white\\' height=\\'20\\' viewBox=\\'0 0 24 24\\' width=\\'20\\' xmlns=\\'http:\/\/www.w3.org\/2000\/svg\\'><path d=\\'M7 10l5 5 5-5z\\'\/><\/svg>'); background-repeat: no-repeat; background-position: right 0.5em center; background-size: 1em;\"><\/select><br><br>\n\n  <!-- Toneleje label -->\n  <label style=\"display: block; font-weight: 700; font-size: 15px;\">Toneleje<\/label>\n\n  <!-- Pitch Slider -->\n  <input type=\"range\" id=\"pitchSlider\" min=\"0\" max=\"2\" value=\"1\" step=\"0.01\" style=\"width: 100%;border: 1px solid #1B1B1B; accent-color: #018A41; height: 30px; border-radius: 300px; background: #3d3d3d;\">\n\n  <!-- V\u00e6rdi af pitch -->\n  <div id=\"pitchValue\" style=\"margin-top: 5px; font-size: 17px; font-weight: 400;\">1.00<\/div><br>\n\n  <!-- Hastigheds-label -->\n  <label style=\"display: block; font-weight: 700; font-size: 15px;\">Hastighed<\/label>\n\n  <!-- Rate Slider -->\n  <input type=\"range\" id=\"rateSlider\" min=\"0.5\" max=\"2\" value=\"1\" step=\"0.01\" style=\"width: 100%;border: 1px solid #1B1B1B; accent-color: #018A41; height: 30px; border-radius: 300px; background: #3d3d3d;\">\n\n  <!-- V\u00e6rdi af rate -->\n  <div id=\"rateValue\" style=\"margin-top: 5px; font-size: 17px; font-weight: 400;\">1.00<\/div><br>\n\n  <!-- Aktiveringsknap -->\n  <button id=\"speakBtn\" onclick=\"speakNow()\" style=\"padding: 0.75em; width: 100%; border: 0px solid #ccc; background: #018A41; color: #ffffff; border-radius: 50px; font-family: 'Poppins', sans-serif; font-size: 18px; font-weight: 600; outline: none; box-shadow: none; cursor: pointer;\">L\u00c6S TEKSTEN<\/button>\n\n<\/div>\n\n<script>\n  const textArea = document.getElementById(\"text\");\n  const voiceSelect = document.getElementById(\"voice\");\n  const indicator = document.getElementById(\"indicator\");\n  const speakBtn = document.getElementById(\"speakBtn\");\n  const pitchSlider = document.getElementById(\"pitchSlider\");\n  const pitchValue = document.getElementById(\"pitchValue\");\n  const rateSlider = document.getElementById(\"rateSlider\");\n  const rateValue = document.getElementById(\"rateValue\");\n\n  let voices = [];\n  let blinkInterval = null;\n  let isSpeaking = false;\n\n  function populateVoices() {\n    voices = window.speechSynthesis.getVoices();\n    voiceSelect.innerHTML = '';\n    voices.forEach(voice => {\n      const option = document.createElement(\"option\");\n      option.value = voice.name;\n      option.textContent = voice.name;\n      voiceSelect.appendChild(option);\n    });\n  }\n\n  if (speechSynthesis.onvoiceschanged !== undefined) {\n    speechSynthesis.onvoiceschanged = populateVoices;\n  }\n\n  populateVoices();\n\n  function startBlinking() {\n    let isRed = false;\n    indicator.style.backgroundColor = \"red\";\n    blinkInterval = setInterval(() => {\n      isRed = !isRed;\n      indicator.style.backgroundColor = isRed ? \"red\" : \"black\";\n    }, 50);\n  }\n\n  function stopBlinking() {\n    clearInterval(blinkInterval);\n    indicator.style.backgroundColor = \"#01DA00\";\n  }\n\n  function speakNow() {\n    if (speechSynthesis.speaking) {\n      speechSynthesis.cancel();\n      stopBlinking();\n      speakBtn.style.background = \"#018A41\";\n      isSpeaking = false;\n      return;\n    }\n\n    const utterance = new SpeechSynthesisUtterance(textArea.value);\n    const selectedVoice = voices.find(voice => voice.name === voiceSelect.value);\n    if (selectedVoice) utterance.voice = selectedVoice;\n\n    utterance.pitch = parseFloat(pitchSlider.value);\n    utterance.rate = parseFloat(rateSlider.value);\n\n    utterance.onstart = () => {\n      startBlinking();\n      speakBtn.style.background = \"#dfdfdf\";\n      isSpeaking = true;\n    };\n\n    utterance.onend = () => {\n      stopBlinking();\n      speakBtn.style.background = \"#018A41\";\n      isSpeaking = false;\n    };\n\n    speechSynthesis.speak(utterance);\n  }\n\n  \/\/ Vis pitch og rate v\u00e6rdier live\n  pitchSlider.addEventListener('input', () => {\n    pitchValue.textContent = parseFloat(pitchSlider.value).toFixed(2);\n  });\n\n  rateSlider.addEventListener('input', () => {\n    rateValue.textContent = parseFloat(rateSlider.value).toFixed(2);\n  });\n<\/script>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-183e6911 elementor-widget elementor-widget-spacer\" data-id=\"183e6911\" data-element_type=\"widget\" data-widget_type=\"spacer.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-spacer\">\n\t\t\t<div class=\"elementor-spacer-inner\"><\/div>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-ec558a8 e-grid e-con-full e-con e-child\" data-id=\"ec558a8\" data-element_type=\"container\">\n\t\t\t\t<div class=\"elementor-element elementor-element-ab78104 elementor-widget elementor-widget-image\" data-id=\"ab78104\" data-element_type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img fetchpriority=\"high\" decoding=\"async\" width=\"900\" height=\"86\" src=\"https:\/\/landing.anderskisling.dk\/wp-content\/uploads\/2025\/05\/lufthuller.png\" class=\"attachment-large size-large wp-image-6305\" alt=\"\" srcset=\"https:\/\/landing.anderskisling.dk\/wp-content\/uploads\/2025\/05\/lufthuller.png 900w, https:\/\/landing.anderskisling.dk\/wp-content\/uploads\/2025\/05\/lufthuller-300x29.png 300w, https:\/\/landing.anderskisling.dk\/wp-content\/uploads\/2025\/05\/lufthuller-768x73.png 768w\" sizes=\"(max-width: 900px) 100vw, 900px\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-3b5b997c elementor-widget elementor-widget-image\" data-id=\"3b5b997c\" data-element_type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img decoding=\"async\" width=\"500\" height=\"500\" src=\"https:\/\/landing.anderskisling.dk\/wp-content\/uploads\/2025\/05\/robot1-lille.png\" class=\"attachment-large size-large wp-image-6306\" alt=\"\" srcset=\"https:\/\/landing.anderskisling.dk\/wp-content\/uploads\/2025\/05\/robot1-lille.png 500w, https:\/\/landing.anderskisling.dk\/wp-content\/uploads\/2025\/05\/robot1-lille-300x300.png 300w, https:\/\/landing.anderskisling.dk\/wp-content\/uploads\/2025\/05\/robot1-lille-150x150.png 150w\" sizes=\"(max-width: 500px) 100vw, 500px\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-e4cf980 elementor-widget elementor-widget-image\" data-id=\"e4cf980\" data-element_type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img fetchpriority=\"high\" decoding=\"async\" width=\"900\" height=\"86\" src=\"https:\/\/landing.anderskisling.dk\/wp-content\/uploads\/2025\/05\/lufthuller.png\" class=\"attachment-large size-large wp-image-6305\" alt=\"\" srcset=\"https:\/\/landing.anderskisling.dk\/wp-content\/uploads\/2025\/05\/lufthuller.png 900w, https:\/\/landing.anderskisling.dk\/wp-content\/uploads\/2025\/05\/lufthuller-300x29.png 300w, https:\/\/landing.anderskisling.dk\/wp-content\/uploads\/2025\/05\/lufthuller-768x73.png 768w\" sizes=\"(max-width: 900px) 100vw, 900px\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-7a8d58a4 elementor-widget elementor-widget-spacer\" data-id=\"7a8d58a4\" data-element_type=\"widget\" data-widget_type=\"spacer.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-spacer\">\n\t\t\t<div class=\"elementor-spacer-inner\"><\/div>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"inline_featured_image":false,"_kad_post_transparent":"","_kad_post_title":"hide","_kad_post_layout":"fullwidth","_kad_post_sidebar_id":"","_kad_post_content_style":"unboxed","_kad_post_vertical_padding":"hide","_kad_post_feature":"hide","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"footnotes":""},"class_list":["post-6299","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/landing.anderskisling.dk\/index.php\/wp-json\/wp\/v2\/pages\/6299","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/landing.anderskisling.dk\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/landing.anderskisling.dk\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/landing.anderskisling.dk\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/landing.anderskisling.dk\/index.php\/wp-json\/wp\/v2\/comments?post=6299"}],"version-history":[{"count":15,"href":"https:\/\/landing.anderskisling.dk\/index.php\/wp-json\/wp\/v2\/pages\/6299\/revisions"}],"predecessor-version":[{"id":6346,"href":"https:\/\/landing.anderskisling.dk\/index.php\/wp-json\/wp\/v2\/pages\/6299\/revisions\/6346"}],"wp:attachment":[{"href":"https:\/\/landing.anderskisling.dk\/index.php\/wp-json\/wp\/v2\/media?parent=6299"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}