1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="a7c232b0-8030-4875-b76e-d71fb902f06f",e._sentryDebugIdIdentifier="sentry-dbid-a7c232b0-8030-4875-b76e-d71fb902f06f")}catch(e){}}();var _global="undefined"!==typeof window?window:"undefined"!==typeof global?global:"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self?self:{};_global.SENTRY_RELEASE={id:"6ffbd01cf0691a08705f62d968183afee02bdfcf"},(globalThis.webpackChunktop_webgroup=globalThis.webpackChunktop_webgroup||[]).push([[686],{60686(e,t,a){function n(){document.querySelectorAll("[data-na-for]").forEach(e=>{const t=e.dataset.naFor,a=document.querySelector(`[data-criteria="${t}"]`),n=e.closest(".tag");function o(){if(!a||!n)return;const t=a.querySelectorAll(".radio-buttons-tag__input-wrapper");e.checked?(n.classList.add("tag--dark"),a.querySelectorAll('input[type="radio"]:checked').forEach(e=>{e.checked=!1,e.closest(".radio-buttons-tag__input-wrapper")?.classList.remove("checked")}),t.forEach(e=>e.classList.add("disabled"))):(n.classList.remove("tag--dark"),t.forEach(e=>e.classList.remove("disabled"))),function(){if(!a)return;const t=a.querySelector('input[type="radio"]');if(!t?.name)return;let n=a.querySelector('[data-na-hidden-input="true"]');e.checked?(n||(n=document.createElement("input"),n.type="hidden",n.name=t.name,n.dataset.naHiddenInput="true",a.appendChild(n)),n.value="n/a"):n?.remove()}()}e.addEventListener("change",o),a?.querySelectorAll('input[type="radio"]').forEach(t=>{t.addEventListener("change",()=>{e.checked&&(e.checked=!1,o())})}),o()})}function o(){function e(){let e=0,t=0,a=!1;[{name:"empathie",weight:3,type:"scale"},{name:"structure",weight:3,type:"scale"},{name:"proactivite",weight:2,type:"binary"},{name:"self_care",weight:2,type:"binary"}].forEach(({name:n,weight:o,type:r})=>{const d=document.querySelector(`[data-na-for="${n}"]`);if(d?.checked)return;const c=document.querySelector(`[data-criteria="${n}"]`),i=c?.querySelector('input[type="radio"]:checked');if(!i)return void(a=!0);const l=parseInt(i.value,10);e+=("binary"===r?l>=5?1:0:l/5)*o,t+=o});const n=document.getElementById("total-score"),o=document.getElementById("score-badge"),r=t>0&&!a?e/t*10:null;n&&(n.textContent=null!==r?r.toFixed(1):"--"),o&&(null===r?(o.textContent="",o.className="tag"):r<6?(o.textContent="NOK",o.className="tag tag--red"):(o.textContent="OK",o.className="tag tag--green"))}n(),document.querySelectorAll('[data-criteria] input[type="radio"], [data-na-for]').forEach(t=>{t.addEventListener("change",e)}),e()}a.d(t,{initQualityEvaluation:()=>o})}}]); 2//# sourceMappingURL=686-54bd58f98b2ef28b002b.chunk.js.map
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.