1import{f as b,i as f,k as h,T as l,a3 as x,l as _,o as A,c as y,y as E,U as F}from"./entry.4fe30dff.js";const D=["id"],k={__name:"DigiohForm",props:{formId:{type:String,required:!0}},setup(n){const r=n,c=b(),u=f(),o=h(!1);let e;function a(){if(!import.meta.client)return;const t=document.getElementById(r.formId);if(!t)return;[t,...t.querySelectorAll('[role="dialog"]')].forEach(i=>{const I=i.getAttribute("role"),g=i.getAttribute("aria-label"),p=i.getAttribute("id")||"";I==="dialog"&&g==="Inline Form"&&p.startsWith("lightbox-")&&(i.removeAttribute("role"),i.removeAttribute("aria-modal"))})}function d(){if(!import.meta.client)return;const t=document.getElementById(r.formId);t&&(e==null||e.disconnect(),e=new MutationObserver(()=>{a()}),e.observe(t,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["role","aria-label","aria-modal","id"]}))}const s=()=>{const t=c.getExperience;console.debug("DIGIOH FORM INITIALIZING: ",t.name),o.value=!1,e==null||e.disconnect(),setTimeout(()=>{console.debug("DIGIOH FORM READY: ",t.name),o.value=!0,F(()=>{a(),d()})},1e3)};return l(()=>c.getExperience,s,{immediate:!0}),l(()=>u.path,s),x(()=>{e==null||e.disconnect()}),(t,m)=>_(o)?(A(),y("div",{key:0,id:n.formId,style:{"text-align":"center"}},null,8,D)):E("",!0)}},R=k;export{R as _};
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.