{"version":3,"file":"removeGoogleReCaptchaContainer.cjs","sources":["../../../src/helpers/removeGoogleReCaptchaContainer.ts"],"sourcesContent":["import type { ContainerId } from '../types';\n\n/**\n * Removes the Google reCAPTCHA container element with the specified container ID.\n *\n * @param {ContainerId} containerId - The ID of the container element to be removed.\n * @return {void} This function does not return a value.\n */\nexport const removeGoogleReCaptchaContainer = (containerId: ContainerId) => {\n  const container = document.getElementById(containerId);\n\n  if (!container) {\n    return;\n  }\n\n  while (container.lastChild) {\n    container.lastChild.remove();\n  }\n};\n"],"names":["removeGoogleReCaptchaContainer","containerId","container"],"mappings":"gFAQO,MAAMA,EAAkCC,GAA6B,CAC1E,MAAMC,EAAY,SAAS,eAAeD,CAAW,EAErD,GAAKC,EAIL,KAAOA,EAAU,WACfA,EAAU,UAAU,OAAA,CAExB"}