/*!
 * KoliBri - The accessible HTML-Standard
 */
"use strict";var common=require("./common-Cd2qH809.js"),index=require("./index-D0FxsaCe.js");const initMeta=()=>{try{const e=common.getDocument();if(!e||"function"!=typeof e.querySelector)return;const o=e.querySelector('meta[name="kolibri"]');if(o&&o.hasAttribute("content")){const e=o.getAttribute("content");"string"==typeof e&&(common.setExperimentalMode(e.includes("experimental-mode=true")),common.setColorContrastAnalysis(e.includes("color-contrast-analysis=true")))}}catch(e){}},getKoliBri=()=>{let e=common.getWindow().KoliBri;return void 0===e&&(e={},Object.defineProperty(common.getWindow(),"KoliBri",{value:e,writable:!1})),e},initKoliBri=()=>{initMeta(),common.Log.debug(`\n,--. ,--.         ,--. ,--. ,-----.           ,--.\n|  .'   /  ,---.  |  | \`--' |  |) /_  ,--.--. \`--'\n|  .   '  | .-. | |  | ,--. |  .-.  \\ |  .--' ,--.\n|  |\\   \\ | '-' | |  | |  | |  '--' / |  |    |  |\n\`--' \`--´  \`---´  \`--' \`--' \`------´  \`--'    \`--'\n🚹 The accessible HTML-Standard | 👉 https://public-ui.github.io | ${index.Env.kolibriVersion}\n\t`,{forceLog:!0})},renderDevAdvice=()=>{!0!==getKoliBri().adviceShown&&(Object.defineProperty(getKoliBri(),"adviceShown",{get:function(){return!0}}),common.Log.debug("\nYou are using the KoliBri component library. If you have any suggestions for improvement or find a problem, please contact us:\n\nTicket: https://github.com/public-ui/kolibri/issues/new/choose (for privacy reasons, please use email)\nEmail: kolibri@itzbund.de\n"))};exports.nonce=()=>Math.floor(16777215*Math.random()).toString(16),common.isTestMode()&&(exports.nonce=()=>"nonce"),exports.initKoliBri=initKoliBri,exports.renderDevAdvice=renderDevAdvice;