1function bc_drawer(){document.querySelectorAll(".bc-drawer__drawer:not(.bc-drawer--plugin-dont-trigger)").forEach((t)=>{var e,d=t.querySelector(".bc-drawer__drag"),a=t.parentElement.querySelector(".bc-drawer__overlay"),n=!1,o=!1;if(window.location.href.includes("brickspreview")&&parseFloat(t.getAttribute("data-show"))===1){a.setAttribute("data-open","");t.setAttribute("data-open","");t.parentElement.setAttribute("data-edit","")} 2var i=t.getAttribute("data-trigger");var opendefault=t.getAttribute("data-opendefault");var closeOutside=t.getAttribute("data-close-outside")==="1";function c(){if(document.documentElement.hasAttribute('bc-core-burguer--body-toggled')){document.documentElement.removeAttribute('bc-core-burguer--body-toggled')}else{document.documentElement.setAttribute('bc-core-burguer--body-toggled','')} 3if(a.hasAttribute("data-open")){a.removeAttribute("data-open");a.setAttribute("data-close","")}else{a.removeAttribute("data-close");a.setAttribute("data-open","")} 4if(t.hasAttribute("data-open")){t.removeAttribute("data-open");t.setAttribute("data-close","");t.style.transform="translateY(0%)"}else{t.removeAttribute("data-close");t.setAttribute("data-open","")}} 5if(opendefault==="1"){a.setAttribute("data-open","");t.setAttribute("data-open","")} 6document.querySelectorAll(i).forEach((e)=>{e.addEventListener("click",function(){t.style.bottom=0;c()})});if(!closeOutside){a.addEventListener("click",function(){c()})} 7document.addEventListener("keydown",function(event){if(event.key==="Escape"&&a.hasAttribute("data-open")){c()}});function onMouseMove(d){if(n){var i=d.clientY-e;if(i>0){t.style.bottom=-i+"px";o=!0}}} 8function onMouseUp(){if(n){n=!1;if(o){c();o=!1} 9document.removeEventListener("pointermove",onMouseMove);document.removeEventListener("pointerup",onMouseUp)}} 10t.parentElement.addEventListener("pointerdown",function(i){if(i.target===t||i.target===d){n=!0;e=i.clientY;document.addEventListener("pointermove",onMouseMove);document.addEventListener("pointerup",onMouseUp)}})})} 11document.addEventListener("DOMContentLoaded",function(){if(bricksIsFrontend){bc_drawer()}})
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.