"use strict";(globalThis.webpackChunk=globalThis.webpackChunk||[]).push([["vendors-node_modules_github_filter-input-element_dist_index_js-node_modules_github_remote-inp-b5f1d7"],{62044:(t,e,n)=>{n.d(e,{A:()=>s});let FilterInputElement=class FilterInputElement extends HTMLElement{constructor(){super(),this.currentQuery=null,this.filter=null,this.debounceInputChange=function(t){let e;return function(){clearTimeout(e),e=setTimeout(()=>{clearTimeout(e),t()},300)}}(()=>r(this,!0)),this.boundFilterResults=()=>{r(this,!1)}}static get observedAttributes(){return["aria-owns"]}attributeChangedCallback(t,e){e&&"aria-owns"===t&&r(this,!1)}connectedCallback(){let t=this.input;t&&(t.setAttribute("autocomplete","off"),t.setAttribute("spellcheck","false"),t.addEventListener("focus",this.boundFilterResults),t.addEventListener("change",this.boundFilterResults),t.addEventListener("input",this.debounceInputChange))}disconnectedCallback(){let t=this.input;t&&(t.removeEventListener("focus",this.boundFilterResults),t.removeEventListener("change",this.boundFilterResults),t.removeEventListener("input",this.debounceInputChange))}get input(){let t=this.querySelector("input");return t instanceof HTMLInputElement?t:null}reset(){let t=this.input;t&&(t.value="",t.dispatchEvent(new Event("change",{bubbles:!0})))}};async function r(t,e=!1){let n=t.input;if(!n)return;let s=n.value.trim(),a=t.getAttribute("aria-owns");if(!a)return;let l=document.getElementById(a);if(!l)return;let o=l.hasAttribute("data-filter-list")?l:l.querySelector("[data-filter-list]");if(!o||(t.dispatchEvent(new CustomEvent("filter-input-start",{bubbles:!0})),e&&t.currentQuery===s))return;t.currentQuery=s;let u=t.filter||i,d=o.childElementCount,c=0,f=!1;for(let t of Array.from(o.children)){if(!(t instanceof HTMLElement))continue;let e=((t.querySelector("[data-filter-item-text]")||t).textContent||"").trim(),n=u(t,e,s);!0===n.hideNew&&(f=n.hideNew),t.hidden=!n.match,n.match&&c++}let h=l.querySelector("[data-filter-new-item]"),m=!!h&&s.length>0&&!f;h instanceof HTMLElement&&(h.hidden=!m,m&&function(t,e){let n=t.querySelector("[data-filter-new-item-text]");n&&(n.textContent=e);let r=t.querySelector("[data-filter-new-item-value]");(r instanceof HTMLInputElement||r instanceof HTMLButtonElement)&&(r.value=e)}(h,s)),function(t,e){let n=t.querySelector("[data-filter-empty-state]");n instanceof HTMLElement&&(n.hidden=e)}(l,c>0||m),t.dispatchEvent(new CustomEvent("filter-input-updated",{bubbles:!0,detail:{count:c,total:d}}))}function i(t,e,n){return{match:-1!==e.toLowerCase().indexOf(n.toLowerCase()),hideNew:e===n}}let s=FilterInputElement;window.customElements.get("filter-input")||(window.FilterInputElement=FilterInputElement,window.customElements.define("filter-input",FilterInputElement))},27552:(t,e,n)=>{n.d(e,{A:()=>a});let r=new WeakMap;let RemoteInputElement=class RemoteInputElement extends HTMLElement{constructor(){super();let t=i.bind(null,this,!0),e={currentQuery:null,oninput:function(t){let e;return function(n){clearTimeout(e),e=setTimeout(()=>{clearTimeout(e),t(n)},300)}}(e=>t(e)),fetch:t,controller:null};r.set(this,e)}static get observedAttributes(){return["src"]}attributeChangedCallback(t,e){e&&"src"===t&&i(this,!1)}connectedCallback(){let t=this.input;if(!t)return;t.setAttribute("autocomplete","off"),t.setAttribute("spellcheck","false");let e=r.get(this);e&&(t.addEventListener("focus",e.fetch),t.addEventListener("change",e.fetch),t.addEventListener("input",e.oninput))}disconnectedCallback(){let t=this.input;if(!t)return;let e=r.get(this);e&&(t.removeEventListener("focus",e.fetch),t.removeEventListener("change",e.fetch),t.removeEventListener("input",e.oninput))}get input(){let t=this.querySelector("input, textarea");return t instanceof HTMLInputElement||t instanceof HTMLTextAreaElement?t:null}get src(){return this.getAttribute("src")||""}set src(t){this.setAttribute("src",t)}};async function i(t,e,n){let i;let a=t.input;if(!a)return;let l=r.get(t);if(!l)return;let o=a.value;if(e&&l.currentQuery===o)return;l.currentQuery=o;let u=t.src;if(!u)return;let d=document.getElementById(t.getAttribute("aria-owns")||"");if(!d)return;let c=new URL(u,window.location.href),f=new URLSearchParams(c.search);f.append(t.getAttribute("param")||"q",o),c.search=f.toString(),l.controller?l.controller.abort():(t.dispatchEvent(new CustomEvent("loadstart")),t.setAttribute("loading","")),l.controller="AbortController"in window?new AbortController:{signal:null,abort(){}};let h="";try{i=await s(t,c.toString(),{signal:l.controller.signal,credentials:"same-origin",headers:{accept:"text/fragment+html"}}),h=await i.text(),t.removeAttribute("loading"),l.controller=null}catch(e){e instanceof Error&&"AbortError"!==e.name&&(t.removeAttribute("loading"),l.controller=null);return}i&&i.ok?(d.innerHTML=h,t.dispatchEvent(new CustomEvent("remote-input-success",{bubbles:!0,detail:{eventType:n?n.type:void 0}}))):t.dispatchEvent(new CustomEvent("remote-input-error",{bubbles:!0}))}async function s(t,e,n){try{let r=await fetch(e,n);return t.dispatchEvent(new CustomEvent("load")),t.dispatchEvent(new CustomEvent("loadend")),r}catch(e){throw e instanceof Error&&(null==e?void 0:e.name)!=="AbortError"&&(t.dispatchEvent(new CustomEvent("error")),t.dispatchEvent(new CustomEvent("loadend"))),e}}let a=RemoteInputElement;window.customElements.get("remote-input")||(window.RemoteInputElement=RemoteInputElement,window.customElements.define("remote-input",RemoteInputElement))},49728:(t,e,n)=>{function r(t){return Array.from(t.querySelectorAll('[role="tablist"] [role="tab"]')).filter(e=>e instanceof HTMLElement&&e.closest(t.tagName)===t)}n.d(e,{A:()=>TabContainerElement});let TabContainerElement=class TabContainerElement extends HTMLElement{constructor(){super(),this.addEventListener("keydown",t=>{let e=t.target;if(!(e instanceof HTMLElement)||e.closest(this.tagName)!==this||"tab"!==e.getAttribute("role")&&!e.closest('[role="tablist"]'))return;let n=r(this),s=n.indexOf(n.find(t=>t.matches('[aria-selected="true"]')));if("ArrowRight"===t.code){let t=s+1;t>=n.length&&(t=0),i(this,t)}else if("ArrowLeft"===t.code){let t=s-1;t<0&&(t=n.length-1),i(this,t)}else"Home"===t.code?(i(this,0),t.preventDefault()):"End"===t.code&&(i(this,n.length-1),t.preventDefault())}),this.addEventListener("click",t=>{let e=r(this);if(!(t.target instanceof Element)||t.target.closest(this.tagName)!==this)return;let n=t.target.closest('[role="tab"]');n instanceof HTMLElement&&n.closest('[role="tablist"]')&&i(this,e.indexOf(n))})}connectedCallback(){for(let t of r(this))t.hasAttribute("aria-selected")||t.setAttribute("aria-selected","false"),t.hasAttribute("tabindex")||("true"===t.getAttribute("aria-selected")?t.setAttribute("tabindex","0"):t.setAttribute("tabindex","-1"))}};function i(t,e){let n=r(t),i=Array.from(t.querySelectorAll('[role="tabpanel"]')).filter(e=>e.closest(t.tagName)===t),s=n[e],a=i[e];if(t.dispatchEvent(new CustomEvent("tab-container-change",{bubbles:!0,cancelable:!0,detail:{relatedTarget:a}}))){for(let t of n)t.setAttribute("aria-selected","false"),t.setAttribute("tabindex","-1");for(let t of i)t.hidden=!0,t.hasAttribute("tabindex")||t.hasAttribute("data-tab-container-no-tabstop")||t.setAttribute("tabindex","0");s.setAttribute("aria-selected","true"),s.setAttribute("tabindex","0"),s.focus(),a.hidden=!1,t.dispatchEvent(new CustomEvent("tab-container-changed",{bubbles:!0,detail:{relatedTarget:a}}))}}window.customElements.get("tab-container")||(window.TabContainerElement=TabContainerElement,window.customElements.define("tab-container",TabContainerElement))},80147:(t,e,n)=>{n.d(e,{u:()=>ModalDialogElement});var r,i,s,a,l=n(69676),o=n(55966),u=function(t,e,n,r){if("a"===n&&!r)throw TypeError("Private accessor was defined without a getter");if("function"==typeof e?t!==e||!r:!e.has(t))throw TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(t):r?r.value:e.get(t)},d=function(t,e,n,r,i){if("m"===r)throw TypeError("Private method is not writable");if("a"===r&&!i)throw TypeError("Private accessor was defined without a setter");if("function"==typeof e?t!==e||!i:!e.has(t))throw TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?i.call(t,n):i?i.value=n:e.set(t,n),n};function c(t){document.activeElement!==t&&t?.focus()}let f=[];function h(t){let e=t.target,n=e?.closest("button");if(!n||n.hasAttribute("disabled")||"true"===n.getAttribute("aria-disabled"))return;let r=n?.getAttribute("data-show-dialog-id");if(r){t.stopPropagation();let e=document.getElementById(r);if(e instanceof ModalDialogElement){e.openButton=n,e.show(),t.preventDefault();return}}if(f.length&&(r=n.getAttribute("data-close-dialog-id")||n.getAttribute("data-submit-dialog-id"))){let t=document.getElementById(r);if(t instanceof ModalDialogElement){let e=f.findIndex(t=>t.id===r);f.splice(e,1),t.close(n.hasAttribute("data-submit-dialog-id"))}}}function m(t){!(t instanceof KeyboardEvent)||"keydown"!==t.type||"Enter"!==t.key||t.ctrlKey||t.altKey||t.metaKey||t.shiftKey||h(t)}function g(t){let e=t.target;if(e?.closest("button"))return;let n=f[f.length-1];n&&(e.closest(`#${n.getAttribute("id")}`)||e.ownerDocument.addEventListener("mouseup",t=>{t.target===e&&(f.pop(),n.close())},{once:!0}))}let ModalDialogElement=class ModalDialogElement extends HTMLElement{constructor(){super(...arguments),r.add(this),i.set(this,new AbortController)}get open(){return this.hasAttribute("open")}set open(t){if(t)this.open||(this.setAttribute("open",""),this.setAttribute("aria-disabled","false"),document.body.style.paddingRight=`${window.innerWidth-document.body.clientWidth}px`,document.body.style.overflow="hidden",u(this,r,"a",s)?.classList.remove("Overlay--hidden"),u(this,i,"f").signal.aborted&&d(this,i,new AbortController,"f"),(0,l.iE)(this,this.querySelector("[autofocus]"),u(this,i,"f").signal),f.push(this));else{if(!this.open)return;this.removeAttribute("open"),this.setAttribute("aria-disabled","true"),u(this,r,"a",s)?.classList.add("Overlay--hidden"),document.body.style.paddingRight="0",document.body.style.overflow="initial",u(this,i,"f").abort();let t=this.openButton?.closest("details")||this.openButton?.closest("action-menu");t?c((0,o.Z0)(t)):c(this.openButton),this.openButton=null}}get showButtons(){return document.querySelectorAll(`button[data-show-dialog-id='${this.id}']`)}connectedCallback(){this.hasAttribute("role")||this.setAttribute("role","dialog"),document.addEventListener("click",h),document.addEventListener("keydown",m),document.addEventListener("mousedown",g),this.addEventListener("keydown",t=>u(this,r,"m",a).call(this,t))}show(){this.open=!0}close(t=!1){if(!1===this.open)return;let e=new Event(t?"close":"cancel");this.dispatchEvent(e),this.open=!1}};i=new WeakMap,r=new WeakSet,s=function(){return this.parentElement?.hasAttribute("data-modal-dialog-overlay")?this.parentElement:null},a=function(t){if(t instanceof KeyboardEvent&&!t.isComposing&&this.open)switch(t.key){case"Escape":this.close(),t.preventDefault(),t.stopPropagation();break;case"Enter":t.target.getAttribute("data-close-dialog-id")===this.id&&t.stopPropagation()}},window.customElements.get("modal-dialog")||(window.ModalDialogElement=ModalDialogElement,window.customElements.define("modal-dialog",ModalDialogElement))},91385:(t,e,n)=>{n.d(e,{Xq:()=>l,ai:()=>i,fN:()=>a,qA:()=>o});var r=-1/0,i=1/0;function s(t,e,n,i){for(var s=t.length,a=e.length,l=t.toLowerCase(),o=e.toLowerCase(),u=function(t){for(var e=t.length,n=Array(e),r="/",i=0;i1024)return r;var l=Array(n),o=Array(n);return s(t,e,l,o),o[n-1][a-1]}function l(t,e){var n=t.length,i=e.length,a=Array(n);if(!n||!i)return a;if(n===i){for(var l=0;l1024)return a;var o=Array(n),u=Array(n);s(t,e,o,u);for(var d=!1,l=n-1,c=i-1;l>=0;l--)for(;c>=0;c--)if(o[l][c]!==r&&(d||o[l][c]===u[l][c])){d=l&&c&&u[l][c]===o[l-1][c-1]+1,a[l]=c--;break}return a}function o(t,e){t=t.toLowerCase(),e=e.toLowerCase();for(var n=t.length,r=0,i=0;r{n.d(e,{A:()=>TaskListsElement});let r=new WeakMap,i=null;function s(t,e){return t.closest("task-lists")===e.closest("task-lists")}function a(t){if(t.currentTarget!==t.target)return;let e=t.currentTarget;if(!(e instanceof Element))return;let n=e.closest(".contains-task-list");if(!n||(e.classList.add("is-ghost"),t.dataTransfer&&t.dataTransfer.setData("text/plain",(e.textContent||"").trim()),!e.parentElement))return;let s=Array.from(e.parentElement.children),a=s.indexOf(e),l=r.get(e);l&&l.sortStarted(n),i={didDrop:!1,dragging:e,dropzone:e,sourceList:n,sourceSibling:s[a+1]||null,sourceIndex:a}}function l(t){if(!i)return;let e=t.currentTarget;if(e instanceof Element){if(!s(i.dragging,e)){t.stopPropagation();return}t.preventDefault(),t.dataTransfer&&(t.dataTransfer.dropEffect="move"),i.dropzone!==e&&(i.dragging.classList.add("is-dragging"),i.dropzone=e,function(t,e){if(t.parentNode===e.parentNode){let n=t;for(;n;){if(n===e)return!0;n=n.previousElementSibling}}return!1}(i.dragging,e)?e.before(i.dragging):e.after(i.dragging))}}function o(t){if(!i)return;t.preventDefault(),t.stopPropagation();let e=t.currentTarget;if(!(e instanceof Element)||(i.didDrop=!0,!i.dragging.parentElement))return;let n=Array.from(i.dragging.parentElement.children).indexOf(i.dragging),s=e.closest(".contains-task-list");if(!s||i.sourceIndex===n&&i.sourceList===s)return;i.sourceList===s&&i.sourceIndex{let e=t.target;e instanceof HTMLInputElement&&e.classList.contains("task-list-item-checkbox")&&this.dispatchEvent(new CustomEvent("task-lists-check",{bubbles:!0,detail:{position:function(t){let e=v(t);if(!e)throw Error(".contains-task-list not found");let n=t.closest(".task-list-item"),r=Array.from(e.children).filter(t=>"LI"===t.tagName),i=n?r.indexOf(n):-1;return[function(t){let e=t.closest("task-lists");if(!e)throw Error("parent not found");return L(e).indexOf(t)}(e),i]}(e),checked:e.checked}}))});let t=new MutationObserver(w.bind(null,this));c.set(this,t),t.observe(this,{childList:!0,subtree:!0}),w(this)}disconnectedCallback(){let t=c.get(this);t&&t.disconnect()}get disabled(){return this.hasAttribute("disabled")}set disabled(t){t?this.setAttribute("disabled",""):this.removeAttribute("disabled")}get sortable(){return this.hasAttribute("sortable")}set sortable(t){t?this.setAttribute("sortable",""):this.removeAttribute("sortable")}static get observedAttributes(){return["disabled"]}attributeChangedCallback(t,e,n){e!==n&&"disabled"===t&&A(this)}};let f=document.createElement("template"),h=document.createElement("span");h.classList.add("handle");let m=document.createElementNS("http://www.w3.org/2000/svg","svg");m.classList.add("drag-handle"),m.setAttribute("aria-hidden","true"),m.setAttribute("width","16"),m.setAttribute("height","16");let g=document.createElementNS("http://www.w3.org/2000/svg","path");g.setAttribute("d","M10 13a1 1 0 100-2 1 1 0 000 2zm-4 0a1 1 0 100-2 1 1 0 000 2zm1-5a1 1 0 11-2 0 1 1 0 012 0zm3 1a1 1 0 100-2 1 1 0 000 2zm1-5a1 1 0 11-2 0 1 1 0 012 0zM6 5a1 1 0 100-2 1 1 0 000 2z"),f.content.appendChild(h),h.appendChild(m),m.appendChild(g);let b=new WeakMap;function p(t){let e=t.currentTarget;if(!(e instanceof Element))return;let n=e.closest("task-lists");n instanceof TaskListsElement&&n.sortable&&!n.disabled&&e.classList.add("hovered")}function E(t){let e=t.currentTarget;e instanceof Element&&e.classList.remove("hovered")}function v(t){let e=t.parentElement;return e?e.closest(".contains-task-list"):null}function w(t){for(let e of t.querySelectorAll(".contains-task-list > .task-list-item"))v(e)===function t(e){let n=v(e);return n?t(n)||n:null}(e)&&function(t){if(b.get(t))return;b.set(t,!0);let e=t.closest("task-lists");if(!(e instanceof TaskListsElement)||e.querySelectorAll(".task-list-item").length<=1)return;let n=f.content.cloneNode(!0),i=n.querySelector(".handle");if(t.prepend(n),!i)throw Error("handle not found");i.addEventListener("mouseenter",C),i.addEventListener("mouseleave",x),r.set(t,{sortStarted:k,sortFinished:T}),t.addEventListener("dragstart",a),t.addEventListener("dragenter",l),t.addEventListener("dragend",u),t.addEventListener("drop",o),t.addEventListener("dragover",d),t.addEventListener("mouseenter",p),t.addEventListener("mouseleave",E)}(e);A(t)}function A(t){for(let e of t.querySelectorAll(".task-list-item"))e.classList.toggle("enabled",!t.disabled);for(let e of t.querySelectorAll(".task-list-item-checkbox"))e instanceof HTMLInputElement&&(e.disabled=t.disabled)}function L(t){return Array.from(t.querySelectorAll("ol, ul")).filter(t=>!t.closest("tracking-block"))}let y=new WeakMap;function k(t){let e=t.closest("task-lists");if(!e)throw Error("parent not found");y.set(e,L(e))}function T({src:t,dst:e}){let n=t.list.closest("task-lists");if(!n)return;let r=y.get(n);r&&(y.delete(n),n.dispatchEvent(new CustomEvent("task-lists-move",{bubbles:!0,detail:{src:[r.indexOf(t.list),t.index],dst:[r.indexOf(e.list),e.index]}})))}function C(t){let e=t.currentTarget;if(!(e instanceof Element))return;let n=e.closest(".task-list-item");if(!n)return;let r=n.closest("task-lists");r instanceof TaskListsElement&&r.sortable&&!r.disabled&&n.setAttribute("draggable","true")}function x(t){if(i)return;let e=t.currentTarget;if(!(e instanceof Element))return;let n=e.closest(".task-list-item");n&&n.setAttribute("draggable","false")}window.customElements.get("task-lists")||(window.TaskListsElement=TaskListsElement,window.customElements.define("task-lists",TaskListsElement))}}]); //# sourceMappingURL=vendors-node_modules_github_filter-input-element_dist_index_js-node_modules_github_remote-inp-b5f1d7-c6ab98ee4882.js.map