{"version":3,"file":"use-tree-walker-COrrnyjV.js","sources":["../../node_modules/@headlessui/vue/dist/hooks/use-tree-walker.js"],"sourcesContent":["import{watchEffect as p}from\"vue\";import{getOwnerDocument as u}from'../utils/owner.js';function i({container:e,accept:t,walk:d,enabled:o}){p(()=>{let r=e.value;if(!r||o!==void 0&&!o.value)return;let l=u(e);if(!l)return;let c=Object.assign(f=>t(f),{acceptNode:t}),n=l.createTreeWalker(r,NodeFilter.SHOW_ELEMENT,c,!1);for(;n.nextNode();)d(n.currentNode)})}export{i as useTreeWalker};\n"],"names":["i","d","o","p","r","l","u","f","n"],"mappings":"kZAAuF,SAASA,EAAE,CAAC,UAAU,EAAE,OAAO,EAAE,KAAKC,EAAE,QAAQC,CAAC,EAAE,CAACC,EAAE,IAAI,CAAC,IAAIC,EAAE,EAAE,MAAM,GAAG,CAACA,GAAGF,IAAI,QAAQ,CAACA,EAAE,MAAM,OAAO,IAAIG,EAAEC,EAAE,CAAC,EAAE,GAAG,CAACD,EAAE,OAAO,IAAI,EAAE,OAAO,OAAOE,GAAG,EAAEA,CAAC,EAAE,CAAC,WAAW,CAAC,CAAC,EAAEC,EAAEH,EAAE,iBAAiBD,EAAE,WAAW,aAAa,EAAE,EAAE,EAAE,KAAKI,EAAE,SAAQ,GAAIP,EAAEO,EAAE,WAAW,CAAC,CAAC,CAAC","x_google_ignoreList":[0]}