/*! For license information please see 9398.f564d86762053131.js.LICENSE.txt */
export const __webpack_ids__=["9398"];export const __webpack_modules__={37775:function(e,t,i){i.r(t),i.d(t,{MDNToggleSidebar:()=>MDNToggleSidebar});var s=i(14703),n=i(69535);let o=(0,s.YP)`<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" viewBox="0 0 24 24"><rect width="18" height="18" x="3" y="3" rx="2"/><path d="M9 3v18m7-6-3-3 3-3"/></svg>`,r=(0,s.YP)`<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" viewBox="0 0 24 24"><rect width="18" height="18" x="3" y="3" rx="2"/><path d="M9 3v18"/></svg>`;var d=i(75975);i(50272);let a="main-sidebar";let MDNToggleSidebar=class MDNToggleSidebar extends(0,n.q)(s.oi){static styles=d.Z;static properties={_canClose:{type:Boolean,state:!0}};constructor(){super(),this._canClose=!1}get _sidebar(){let e=document.querySelector(`#${a}`);return e instanceof HTMLElement?e:null}_click(){let e=this._sidebar;e&&(this._isHidden(e)?(e.style.display="block",this._canClose=!0):(e.style.removeProperty("display"),this._canClose=!1))}_isHidden(e){return e&&"none"===getComputedStyle(e).display}_mediaChange(e){this._sidebar?.style.removeProperty("display"),this._canClose=!1}connectedCallback(){super.connectedCallback(),this._matchMedia=matchMedia("(width < 769px)"),this._mediaChange=this._mediaChange.bind(this),this._matchMedia.addEventListener("change",this._mediaChange)}render(){return(0,s.dy)`<mdn-button
      @click=${this._click}
      aria-controls=${a}
      .icon=${this._canClose?o:r}
      icon-only
      variant="plain"
    >
      ${this.l10n`Toggle sidebar`}
    </mdn-button>`}firstUpdated(){this._canClose=!this._isHidden(this._sidebar)}};customElements.define("mdn-toggle-sidebar",MDNToggleSidebar)},13566:function(e,t,i){i.d(t,{o:()=>n});var s=i(32529);let n=e=>e??s.Ld},75975:function(e,t,i){i.d(t,{Z:()=>a});var s=i(14703),n=i(8081),o=i.n(n),r=i(23645),d=i.n(r)()(o());d.push([e.id,":host{border-right:1px solid var(--color-border-primary);display:block;height:100%}mdn-button{height:100%}",""]);let a=(0,s.iv)([d.toString()])}};
//# sourceMappingURL=9398.f564d86762053131.js.map