1!(function(e){e(document).ready((function(){if(e(".product-list").length>0){var t=document.getElementById("add-product"),n=1;if(t.addEventListener("click",(function(){const e=document.getElementById("pro-produktname"),t=document.getElementById("pro-pzn"),o=document.getElementById("pro-packungsgroesse"),c=document.getElementById("pro-anzahl"),s=[e,o,c];let i=!0;if(s.forEach(e=>{let t=null;const n=e.closest(".product");if(n){const r=[...n.querySelectorAll(".wcag-message.env-error")];for(const n of r)if(n.previousElementSibling.contains(e)||n.previousElementSibling===e.closest(".wpcf7-form-control-wrap")){t=n;break}}e.value.trim()?(t&&t.classList.remove("show"),e.removeAttribute("aria-invalid"),e.classList.remove("invalid"),e.classList.add("valid")):(t&&t.classList.add("show"),e.setAttribute("aria-invalid","true"),e.classList.remove("valid"),e.classList.add("invalid"),i=!1)}),!i){const e=s.find(e=>e.classList.contains("invalid"));return void(e&&e.focus())}const a=document.createElement("div"),l="produkt-"+n;a.id=l,a.className="product-added",a.innerHTML=`\n <div class="icon-bg"><div class="icn pill icon-lg" role="img" aria-label="Medikament"></div></div>\n <div class="flex-column">\n <span class="hl4 spacing-bottom-xs pro-produktname">${e.value}</span>\n <div class="flex-row gap">\n <span class="label pro-pzn"><strong>PZN:</strong> ${t.value}</span>\n <span class="label pro-packungsgroesse"><strong>PackungsgröÃe:</strong> ${o.value}</span>\n <span class="label pro-anzahl"><strong>Anzahl:</strong> ${c.value}</span> \n </div>\n </div>\n <button type="button" class="remove-product small btn outline icon-left" aria-label="Produkt entfernen"\n onclick="document.getElementById('${l}').remove(); updateProdukteList();">\n <div class="icn iclose"></div>Entfernen\n </button>\n `,document.querySelector(".product-list").appendChild(a),r(),[e,t,o,c].forEach(e=>{e.value="",e.classList.remove("valid","invalid"),e.removeAttribute("aria-invalid");const t=e.closest(".product");if(t){const e=t.querySelector(".wcag-message.env-error");e&&e.classList.remove("show")}}),s.forEach(e=>{e.classList.remove("required")}),n++})),e(".remove-product").length>0)document.querySelector(".remove-product").addEventListener("click",(function(){r()}));function r(){var e=document.querySelector('textarea[name="produkte-list"]'),t=document.querySelectorAll(".product-added");e.value="",t.forEach((function(t){var n=`${t.querySelector(".pro-produktname").textContent}\n ${t.querySelector(".pro-pzn").textContent}\n ${t.querySelector(".pro-packungsgroesse").textContent}\n ${t.querySelector(".pro-anzahl").textContent}\n\n`;e.value+=n}))}}if(e(".wcag-form-page").length>0){let e=[];function o(){const e=Array.from(document.querySelectorAll(".wcag-form-page")),t=[],n=e.filter(e=>{const n=e.dataset.skipIf;if(!n)return!0;const r=n.split("||").map(e=>e.trim());let o=!1;for(const e of r){const[t,n]=e.split(":");if(!t||!n)continue;const[r,c]=t.split("=");if(!c)continue;let s="";s="input_name"===r?`input[name="${c}"]`:t;let i=n;if(n.includes("=")){const[e,t]=n.split("=");"value"===e&&(i=t)}const a=document.querySelector(s);if(!a)continue;let l;if("radio"===a.type||"checkbox"===a.type){const e=document.querySelector(`${s}:checked`);l=e?e.value:""}else l=a.value;if(l===i){o=!0;break}}return o&&t.push(e.dataset.title),!o});return lastSkippedSteps=t,n}function c(){return document.querySelector(".wcag-form-page.current-page")}function s(){const e=document.getElementById("wcag-progress");if(!e)return;const t=(function(){const e=o().filter(e=>!e.classList.contains("success-page")),t=e.findIndex(e=>e.querySelector(".deadend"));return-1===t?e:e.slice(0,t+1)})(),n=c();if(!n)return;const r=n.classList.contains("success-page");let s=t.indexOf(n);-1===s&&(s=Math.max(t.length-1,0));const i=!!n.querySelector(".deadend");i&&(s=t.length-1);const a=i||r?null:t[s+1]||null,l=n.dataset.title||"",u=a&&a.dataset.title||"",d=i||r?t.length:s+1;e.querySelector(".wcag-current-step-number").textContent=d,e.querySelector(".wcag-total-steps").textContent=t.length,e.querySelector(".wcag-progress-current-step").textContent=l,e.querySelector(".wcag-progress-next-step").textContent=u?`Nächster Schritt: ${u}`:"";const p=e.querySelector("circle"),f=t.length>0?d/t.length*315:0;p.style.strokeDashoffset=315-f,window.location.hash=`schritt-${s+1}`;const m=n.querySelector(".btn-next"),v=n.querySelector(".btn-prev");if(m&&a){const e=a.dataset.title||"nächster Schritt";m.setAttribute("aria-label","Weiter zu: "+e)}if(v&&s>0){const e=t[s-1].dataset.title||"vorheriger Schritt";v.setAttribute("aria-label","Zurück zu: "+e)}}function i(e){document.querySelectorAll(".wcag-form-page").forEach(e
1=>e.classList.remove("current-page")),e.classList.add("current-page"),s();const t=e.querySelector("input, select, textarea, button");t&&t.focus()}function a(e=document){e.querySelectorAll(".wpcf7-not-valid-tip").forEach(e=>e.remove())}function l(t=!1){const n=o(),r=c(),s=n.indexOf(r);if(!t&&!(function(){const e=c();a(e);const t=e.querySelectorAll(".required");let n=!0;if(t.forEach(t=>{let r=null;const o=[...e.querySelectorAll(".wcag-message.env-error")];for(const e of o)if(e.previousElementSibling.contains(t)||e.previousElementSibling===t.closest(".wpcf7-form-control-wrap")){r=e;break}const c="radio"===t.type||"checkbox"===t.type?e.querySelector(`input[name="${t.name}"]:checked`):null,s=!!c||""!==t.value.trim(),i=!!c||"function"!=typeof t.checkValidity||t.checkValidity();s&&i?(r.classList.remove("show"),t.removeAttribute("aria-invalid"),t.classList.remove("invalid"),t.classList.add("valid")):(r.classList.add("show"),t.setAttribute("aria-invalid","true"),t.classList.remove("valid"),t.classList.add("invalid"),n=!1)}),!n){const t=e.querySelector(".invalid");t&&t.focus()}return n})())return;const l=n[s+1],u=(function(e,t){const n=Array.from(document.querySelectorAll(".wcag-form-page")),r=n.indexOf(e),o=t?n.indexOf(t):-1;return-1===r||-1===o||o<=r+1?[]:n.slice(r+1,o).map(e=>e.dataset.title).filter(Boolean)})(r,l);l&&i(l);const d=document.querySelector(".wpcf7-response-output");if(d&&(d.innerHTML="",d.classList.remove("show","env-info","env-warning","env-error","env-success"),d.setAttribute("aria-hidden","true")),u.length>0){const t=u[0],n=t?`Schritt â${t}â wurde übersprungen.`:"";e.includes(n)||(function(t,n="env-info"){const r=document.querySelector(".wpcf7-response-output");if(!r)return;r.innerHTML="",r.classList.remove("wpcf7-validation-errors","wpcf7-mail-sent-ok","wpcf7-mail-sent-ng","env-info","env-warning","env-error","env-success","show");const o=document.createElement("span");o.textContent=t;const c=document.createElement("button");c.setAttribute("type","button"),c.classList.add("wcag-msg-close"),c.setAttribute("aria-label","Nachricht schlieÃen"),c.textContent="",c.addEventListener("click",()=>{e.push(t),r.innerHTML="",r.classList.remove("show",n),r.setAttribute("aria-hidden","true")}),r.appendChild(o),r.appendChild(c),r.setAttribute("role","status"),r.setAttribute("aria-hidden","false"),r.classList.add(n,"show")})(n,"env-info")}}function u(){const e=o(),t=c(),n=e.indexOf(t),r=e[n-1];r&&i(r)}document.querySelectorAll(".btn-next").forEach(e=>e.addEventListener("click",()=>l())),document.querySelectorAll(".btn-prev").forEach(e=>e.addEventListener("click",u)),document.querySelectorAll("input, select, textarea").forEach(e=>{e.addEventListener("change",()=>{a(),s()}),e.addEventListener("input",()=>{a(),s()})}),s(),document.addEventListener("wpcf7mailsent",()=>{setTimeout(()=>{!(function(){const e=document.querySelector(".wcag-form-page.success-page");if(!e)return;const t=e.dataset.redirect;t?window.location.href=t:i(e)})(),s()},0)}),document.addEventListener("keydown",(function(e){const t=document.activeElement.tagName.toLowerCase(),n=["input","select","textarea","button"].includes(t);"Enter"!==e.key||n||(e.preventDefault(),l()),"ArrowRight"===e.key&&l(),"ArrowLeft"===e.key&&u()})),document.addEventListener("keydown",(function(e){if("Escape"===e.key){const e=document.querySelector(".wpcf7-response-output.show");e&&(e.classList.remove("show"),e.setAttribute("aria-hidden","true"),e.textContent="")}}))}}))})(jQuery);
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.