PageSourceSearch

https://w3speedup.com/wp-content/cache/w3-cache/js/833/wp-content/…/bulk-faq-importer/assets/js/frontend.js

js w3speedup.com collected 2026-09-26 05:04:16 UTC 1,063 bytes, 8 lines download raw bytes

1(function(){'use strict';function toggleItem(item,open){var button=item.querySelector('.bulk-faq-trigger');var panel=item.querySelector('.bulk-faq-answer');if(!button||!panel){return;}
2var shouldOpen=typeof open==='boolean'?open:!item.classList.contains('is-open');item.classList.toggle('is-open',shouldOpen);button.setAttribute('aria-expanded',shouldOpen?'true':'false');if(shouldOpen){panel.removeAttribute('hidden');}else{panel.setAttribute('hidden','hidden');}}
3function enhance(root){if(!root||root.getAttribute('data-bulk-faq-ready')){return;}
4root.setAttribute('data-bulk-faq-ready','1');root.addEventListener('click',function(event){var button=event.target.closest('.bulk-faq-trigger');if(!button||!root.contains(button)){return;}
5var item=button.closest('.bulk-faq-item');if(item){toggleItem(item);}});}
6function init(){document.querySelectorAll('.bulk-faq-style-accordion').forEach(enhance);}
7if(document.w3readyState==='loading'){document.addEventListener('DOMContentLoaded',init);}else{init();}
8document.addEventListener('bulk-faq-refresh',init);})();

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.