import{Bc as w,Sb as i,Tb as c,kc as f,lc as d,qa as s,rc as p,sc as u,tc as m}from"./chunk-FWZCAEAJ.js";var y=["contentWrapper"],g=["*"],C=(()=>{let n=class n{ngAfterViewInit(){for(let o of this.content.nativeElement.children)o.draggable=!1,o.style.wordBreak="keep-all",o.style.whitespace="no-wrap";let e=document.getElementById("overflow-container"),t=!1,r=0,l=0;e&&(e.addEventListener("mousedown",o=>{t=!0,r=o.pageX-e.offsetLeft,l=e.scrollLeft}),e.addEventListener("mouseleave",()=>{t=!1}),e.addEventListener("mouseup",()=>{t=!1}),e.addEventListener("mousemove",o=>{if(!t)return;o.preventDefault();let v=o.pageX-e.offsetLeft-r;e.scrollLeft=l-v}))}};n.\u0275fac=function(t){return new(t||n)},n.\u0275cmp=s({type:n,selectors:[["scrollable-toolbar"]],viewQuery:function(t,r){if(t&1&&p(y,5),t&2){let l;u(l=m())&&(r.content=l.first)}},standalone:!0,features:[w],ngContentSelectors:g,decls:3,vars:0,consts:[["id","overflow-container",1,"d-flex","flex-row","flex-fill","justify-content-sm-start","overflow-auto","user-select-none","gap-3","gap-md-3"],["contentWrapper",""]],template:function(t,r){t&1&&(f(),i(0,"div",0,1),d(2),c())},styles:["#overflow-container[_ngcontent-%COMP%]{scroll-snap-type:y mandatory;scroll-behavior:smooth}.overflow-auto[_ngcontent-%COMP%]::-webkit-scrollbar{display:none}.overflow-auto[_ngcontent-%COMP%]{-ms-overflow-style:none;scrollbar-width:none}scrollable-toolbar[_nghost-%COMP%]  .btn{word-break:keep-all;white-space:nowrap}"],changeDetection:0});let a=n;return a})();export{C as a};
