"use strict";(globalThis.webpackChunk=globalThis.webpackChunk||[]).push([["vendors-node_modules_delegated-events_dist_index_js-node_modules_github_catalyst_lib_index_js","vendors-node_modules_delegated-events_dist_index_js-node_modules_github_catalyst_lib_index_js-ea8eaa","vendors-node_modules_delegated-events_dist_index_js-node_modules_github_memoize_dist_esm_inde-455471","vendors-node_modules_github_catalyst_lib_index_js-node_modules_github_memoize_dist_esm_index_js","vendors-node_modules_github_remote-form_dist_index_js-node_modules_delegated-events_dist_inde-2ef075","vendors-node_modules_github_remote-form_dist_index_js-node_modules_delegated-events_dist_inde-70450e","vendors-node_modules_github_remote-form_dist_index_js-node_modules_delegated-events_dist_inde-a58b06"],{13937:(e,t,n)=>{let o;n.d(t,{Ax:()=>l,JW:()=>c,ZV:()=>a});let ErrorWithResponse=class ErrorWithResponse extends Error{constructor(e,t){super(e),this.response=t}};function r(){let e,t;return[new Promise(function(n,o){e=n,t=o}),e,t]}let i=[],s=[];function a(e){i.push(e)}function l(e){s.push(e)}function c(e,t){o||(o=new Map,"undefined"!=typeof document&&document.addEventListener("submit",d));let n=o.get(e)||[];o.set(e,[...n,t])}function d(e){let t;if(!(e.target instanceof HTMLFormElement)||e.defaultPrevented)return;let n=e.target,a=function(e){let t=[],n=t=>"object"==typeof t?t===e:"string"==typeof t&&e.matches(t);for(let e of o.keys())if(n(e)){let n=o.get(e)||[];t.push(...n)}return t}(n);if(0===a.length)return;let l=function(e,t){let n={method:t?.formMethod||e.method||"GET",url:e.action,headers:new Headers({"X-Requested-With":"XMLHttpRequest"}),body:null};if("GET"===n.method.toUpperCase()){let t=function(e){let t=new URLSearchParams;for(let[n,o]of[...new FormData(e).entries()])t.append(n,o.toString());return t.toString()}(e);t&&(n.url+=(~n.url.indexOf("?")?"&":"?")+t)}else n.body=new FormData(e);return n}(n,e instanceof SubmitEvent?e.submitter:null),[c,d,f]=r();e.preventDefault(),u(a,n,l,c).then(async e=>{if(e){for(let e of s)await e(n);h(l).then(d,f).catch(()=>{}).then(()=>{for(let e of i)e(n)})}else n.submit()},e=>{n.submit(),setTimeout(()=>{throw e})})}async function u(e,t,n,o){let i=!1;for(let s of e){let[e,a]=r(),l=()=>(i=!0,a(),o),c={text:l,json:()=>(n.headers.set("Accept","application/json"),l()),html:()=>(n.headers.set("Accept","text/html"),l())};await Promise.race([e,s(t,c,n)])}return i}async function h(e){let t=await window.fetch(e.url,{method:e.method,body:null!==e.body?e.body:void 0,headers:e.headers,credentials:"same-origin"}),n={url:t.url,status:t.status,statusText:t.statusText,headers:t.headers,text:"",get json(){let e=JSON.parse(this.text);return delete this.json,this.json=e,this.json},get html(){return delete this.html,this.html=function(e,t){let n=e.createElement("template");return n.innerHTML=t,e.importNode(n.content,!0)}(document,this.text),this.html}};if(n.text=await t.text(),t.ok)return n;throw new ErrorWithResponse("request failed",n)}},97797:(e,t,n)=>{function o(){if(!(this instanceof o))return new o;this.size=0,this.uid=0,this.selectors=[],this.selectorObjects={},this.indexes=Object.create(this.indexes),this.activeIndexes=[]}n.d(t,{h:()=>A,A:()=>C,on:()=>S});var r,i=window.document.documentElement,s=i.matches||i.webkitMatchesSelector||i.mozMatchesSelector||i.oMatchesSelector||i.msMatchesSelector;o.prototype.matchesSelector=function(e,t){return s.call(e,t)},o.prototype.querySelectorAll=function(e,t){return t.querySelectorAll(e)},o.prototype.indexes=[];var a=/^#((?:[\w\u00c0-\uFFFF\-]|\\.)+)/g;o.prototype.indexes.push({name:"ID",selector:function(e){var t;if(t=e.match(a))return t[0].slice(1)},element:function(e){if(e.id)return[e.id]}});var l=/^\.((?:[\w\u00c0-\uFFFF\-]|\\.)+)/g;o.prototype.indexes.push({name:"CLASS",selector:function(e){var t;if(t=e.match(l))return t[0].slice(1)},element:function(e){var t=e.className;if(t){if("string"==typeof t)return t.split(/\s/);else if("object"==typeof t&&"baseVal"in t)return t.baseVal.split(/\s/)}}});var c=/^((?:[\w\u00c0-\uFFFF\-]|\\.)+)/g;o.prototype.indexes.push({name:"TAG",selector:function(e){var t;if(t=e.match(c))return t[0].toUpperCase()},element:function(e){return[e.nodeName.toUpperCase()]}}),o.prototype.indexes.default={name:"UNIVERSAL",selector:function(){return!0},element:function(){return[!0]}},r="function"==typeof window.Map?window.Map:function(){function e(){this.map={}}return e.prototype.get=function(e){return this.map[e+" "]},e.prototype.set=function(e,t){this.map[e+" "]=t},e}();var d=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g;function u(e,t){var n,o,r,i,s,a,l=(e=e.slice(0).concat(e.default)).length,c=t,u=[];do if(d.exec(""),(r=d.exec(c))&&(c=r[3],r[2]||!c)){for(n=0;n3&&void 0!==arguments[3]?arguments[3]:{},i=!!r.capture,s=i?p:f,a=s[e];a||(a=new o,s[e]=a,document.addEventListener(e,k,i)),a.add(t,n)}function C(e,t,n){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},r=!!o.capture,i=r?p:f,s=i[e];s&&(s.remove(t,n),s.size||(delete i[e],document.removeEventListener(e,k,r)))}function A(e,t,n){return e.dispatchEvent(new CustomEvent(t,{bubbles:!0,cancelable:!0,detail:n}))}},39595:(e,t,n)=>{let o;n.d(t,{CF:()=>m,p_:()=>P,FB:()=>u,Se:()=>k,aC:()=>M,zV:()=>j});let r=new WeakSet,i=new WeakMap;function s(e=document){if(i.has(e))return i.get(e);let t=!1,n=new MutationObserver(e=>{for(let t of e)if("attributes"===t.type&&t.target instanceof Element)d(t.target);else if("childList"===t.type&&t.addedNodes.length)for(let e of t.addedNodes)e instanceof Element&&a(e)});n.observe(e,{childList:!0,subtree:!0,attributeFilter:["data-action"]});let o={get closed(){return t},unsubscribe(){t=!0,i.delete(e),n.disconnect()}};return i.set(e,o),o}function a(e){for(let t of e.querySelectorAll("[data-action]"))d(t);e instanceof Element&&e.hasAttribute("data-action")&&d(e)}function l(e){let t=e.currentTarget;for(let n of c(t))if(e.type===n.type){let o=t.closest(n.tag);r.has(o)&&"function"==typeof o[n.method]&&o[n.method](e);let i=t.getRootNode();if(i instanceof ShadowRoot&&r.has(i.host)&&i.host.matches(n.tag)){let t=i.host;"function"==typeof t[n.method]&&t[n.method](e)}}}function*c(e){for(let t of(e.getAttribute("data-action")||"").trim().split(/\s+/)){let e=t.lastIndexOf(":"),n=Math.max(0,t.lastIndexOf("#"))||t.length;yield{type:t.slice(0,e),tag:t.slice(e+1,n),method:t.slice(n+1)||"handleEvent"}}}function d(e){for(let t of c(e))e.addEventListener(t.type,l)}function u(e,t){let n=e.tagName.toLowerCase();if(e.shadowRoot){for(let o of e.shadowRoot.querySelectorAll(`[data-target~="${n}.${t}"]`))if(!o.closest(n))return o}for(let o of e.querySelectorAll(`[data-target~="${n}.${t}"]`))if(o.closest(n)===e)return o}let h=e=>String("symbol"==typeof e?e.description:e).replace(/([A-Z]($|[a-z]))/g,"-$1").replace(/--/g,"-").replace(/^-|-$/,"").toLowerCase(),f=(e,t="property")=>{let n=h(e);if(!n.includes("-"))throw new DOMException(`${t}: ${String(e)} is not a valid ${t} name`,"SyntaxError");return n},p="attr";function m(e,t){A(e,p).add(t)}let g=new WeakSet;function b(e,t){if(g.has(e))return;g.add(e);let n=Object.getPrototypeOf(e),o=n?.constructor?.attrPrefix??"data-";for(let r of(t||(t=A(n,p)),t)){let t=e[r],n=f(`${o}${r}`),i={configurable:!0,get(){return this.getAttribute(n)||""},set(e){this.setAttribute(n,e||"")}};"number"==typeof t?i={configurable:!0,get(){return Number(this.getAttribute(n)||0)},set(e){this.setAttribute(n,e)}}:"boolean"==typeof t&&(i={configurable:!0,get(){return this.hasAttribute(n)},set(e){this.toggleAttribute(n,e)}}),Object.defineProperty(e,r,i),r in e&&!e.hasAttribute(n)&&i.set.call(e,t)}}let v=new Map,y=new Promise(e=>{"loading"!==document.readyState?e():document.addEventListener("readystatechange",()=>e(),{once:!0})}),w=new Promise(e=>{let t=new AbortController;t.signal.addEventListener("abort",()=>e());let n={once:!0,passive:!0,signal:t.signal},o=()=>t.abort();document.addEventListener("mousedown",o,n),document.addEventListener("touchstart",o,n),document.addEventListener("keydown",o,n),document.addEventListener("pointerdown",o,n)}),_={ready:()=>y,firstInteraction:()=>w,visible:e=>new Promise(t=>{let n=new IntersectionObserver(e=>{for(let o of e)if(o.isIntersecting){t(),n.disconnect();return}},{rootMargin:"0px 0px 256px 0px",threshold:.01});for(let t of document.querySelectorAll(e))n.observe(t)})},x=new WeakMap;function E(e){cancelAnimationFrame(x.get(e)||0),x.set(e,requestAnimationFrame(()=>{for(let t of v.keys()){let n=e instanceof Element&&e.matches(t)?e:e.querySelector(t);if(customElements.get(t)||n){let o=n?.getAttribute("data-load-on")||"ready",r=o in _?_[o]:_.ready;for(let e of v.get(t)||[])r(t).then(e);v.delete(t),x.delete(e)}}}))}function k(e,t){for(let[n,o]of("string"==typeof e&&t&&(e={[e]:t}),Object.entries(e)))v.has(n)||v.set(n,new Set),v.get(n).add(o);S(document)}function S(e){o||(o=new MutationObserver(e=>{if(v.size)for(let t of e)for(let e of t.addedNodes)e instanceof Element&&E(e)})),E(e),o.observe(e,{subtree:!0,childList:!0})}let C=Symbol.for("catalyst");let CatalystDelegate=class CatalystDelegate{constructor(e){let t=this,n=e.prototype.connectedCallback;e.prototype.connectedCallback=function(){t.connectedCallback(this,n)};let o=e.prototype.disconnectedCallback;e.prototype.disconnectedCallback=function(){t.disconnectedCallback(this,o)};let r=e.prototype.attributeChangedCallback;e.prototype.attributeChangedCallback=function(e,n,o){t.attributeChangedCallback(this,e,n,o,r)};let i=e.observedAttributes||[];Object.defineProperty(e,"observedAttributes",{configurable:!0,get(){return t.observedAttributes(this,i)},set(e){i=e}}),function(e){let t=e.observedAttributes||[],n=e.attrPrefix??"data-",o=e=>f(`${n}${e}`);Object.defineProperty(e,"observedAttributes",{configurable:!0,get:()=>[...A(e.prototype,p)].map(o).concat(t),set(e){t=e}})}(e),function(e){let t=h(e.name).replace(/-element$/,"");try{window.customElements.define(t,e),window[e.name]=customElements.get(t)}catch(e){if(!(e instanceof DOMException&&"NotSupportedError"===e.name))throw e}}(e)}observedAttributes(e,t){return t}connectedCallback(e,t){var n,o;for(let t of(e.toggleAttribute("data-catalyst",!0),customElements.upgrade(e),e.querySelectorAll("template[data-shadowroot]")))t.parentElement===e&&e.attachShadow({mode:"closed"===t.getAttribute("data-shadowroot")?"closed":"open"}).append(t.content.cloneNode(!0));(b(e),r.add(e),e.shadowRoot&&(a(o=e.shadowRoot),s(o)),a(e),s(e.ownerDocument),t?.call(e),e.shadowRoot)&&(a(n=e.shadowRoot),s(n),S(e.shadowRoot))}disconnectedCallback(e,t){t?.call(e)}attributeChangedCallback(e,t,n,o,r){b(e),"data-catalyst"!==t&&r&&r.call(e,t,n,o)}};function A(e,t){if(!Object.prototype.hasOwnProperty.call(e,C)){let t=e[C],n=e[C]=new Map;if(t)for(let[e,o]of t)n.set(e,new Set(o))}let n=e[C];return n.has(t)||n.set(t,new Set),n.get(t)}function M(e,t){A(e,"target").add(t),Object.defineProperty(e,t,{configurable:!0,get(){return u(this,t)}})}function j(e,t){A(e,"targets").add(t),Object.defineProperty(e,t,{configurable:!0,get(){let e=this.tagName.toLowerCase(),n=[];if(this.shadowRoot)for(let o of this.shadowRoot.querySelectorAll(`[data-targets~="${e}.${t}"]`))o.closest(e)||n.push(o);for(let o of this.querySelectorAll(`[data-targets~="${e}.${t}"]`))o.closest(e)===this&&n.push(o);return n}})}function P(e){new CatalystDelegate(e)}},5225:(e,t,n)=>{function o(...e){return JSON.stringify(e,(e,t)=>"object"==typeof t?t:String(t))}function r(e,t={}){let{hash:n=o,cache:i=new Map}=t;return function(...t){let o=n.apply(this,t);if(i.has(o))return i.get(o);let r=e.apply(this,t);return r instanceof Promise&&(r=r.catch(e=>{throw i.delete(o),e})),i.set(o,r),r}}n.d(t,{A:()=>r})},46493:(e,t,n)=>{n.d(t,{Cj:()=>G,iP:()=>H});let o={Less:"less",Equal:"equal",Greater:"greater"};var r,i,s,a,l,c,d,u,h,f,p,m,g,b,v,y,w,_=(e,t,n)=>{if(!t.has(e))throw TypeError("Cannot "+n)},x=(e,t,n)=>(_(e,t,"read from private field"),n?n.call(e):t.get(e)),E=(e,t,n)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,n)},k=(e,t,n,o)=>(_(e,t,"write to private field"),o?o.call(e,n):t.set(e,n),n),S=(e,t,n)=>(_(e,t,"access private method"),n);let MinHeap=class MinHeap{constructor({compareFn:e}){E(this,s),E(this,l),E(this,r,void 0),E(this,i,void 0),k(this,r,e),k(this,i,[])}insert(e){x(this,i).push(e),S(this,l,c).call(this)}pop(){let e=x(this,i)[0];return x(this,i)[x(this,i).length-1]&&(x(this,i)[0]=x(this,i)[x(this,i).length-1],x(this,i).pop()),S(this,s,a).call(this),e}peek(){return x(this,i)[0]}delete(e){let t=x(this,i).indexOf(e);-1!==t&&(A(x(this,i),t,x(this,i).length-1),x(this,i).pop(),S(this,s,a).call(this))}clear(){k(this,i,[])}get size(){return x(this,i).length}};function C(e){return Math.floor((e-1)/2)}function A(e,t,n){let o=e[t];e[t]=e[n],e[n]=o}r=new WeakMap,i=new WeakMap,s=new WeakSet,a=function(){let e=0;for(;2*e+10&&x(this,r).call(this,x(this,i)[t],(e=x(this,i),e[C(t)]))===o.Less;)A(x(this,i),t,C(t)),t=C(t)};var M=Object.defineProperty,j=(e,t,n)=>t in e?M(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,P=(e,t,n)=>(j(e,"symbol"!=typeof t?t+"":t,n),n),T=(e,t,n)=>{if(!t.has(e))throw TypeError("Cannot "+n)},L=(e,t,n)=>(T(e,t,"read from private field"),n?n.call(e):t.get(e)),O=(e,t,n)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,n)},W=(e,t,n,o)=>(T(e,t,"write to private field"),o?o.call(e,n):t.set(e,n),n);let Deferred=class Deferred{constructor(){P(this,d,"Deferred"),O(this,u,void 0),O(this,h,void 0),O(this,f,void 0),W(this,u,new Promise((e,t)=>{W(this,h,e),W(this,f,t)}))}then(e,t){return Promise.prototype.then.apply(L(this,u),[e,t])}catch(e){return Promise.prototype.catch.apply(L(this,u),[e])}finally(e){return Promise.prototype.finally.apply(L(this,u),[e])}resolve(e){L(this,h).call(this,e)}reject(e){L(this,f).call(this,e)}getPromise(){return L(this,u)}};d=Symbol.toStringTag,u=new WeakMap,h=new WeakMap,f=new WeakMap;var F=(e,t,n)=>{if(!t.has(e))throw TypeError("Cannot "+n)},R=(e,t,n)=>(F(e,t,"read from private field"),n?n.call(e):t.get(e)),$=(e,t,n)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,n)},q=(e,t,n,o)=>(F(e,t,"write to private field"),o?o.call(e,n):t.set(e,n),n),D=(e,t,n)=>(F(e,t,"access private method"),n);let LiveRegionElement=class LiveRegionElement extends HTMLElement{constructor(){if(super(),$(this,b),$(this,y),$(this,p,void 0),$(this,m,void 0),$(this,g,void 0),!this.shadowRoot){let e=(I||((I=document.createElement("template")).innerHTML=N),I);this.attachShadow({mode:"open"}).appendChild(e.content.cloneNode(!0))}q(this,p,!1),q(this,g,null),q(this,m,new MinHeap({compareFn:z}))}get delay(){let e=this.getAttribute("delay");return e?parseInt(e,10):150}set delay(e){this.setAttribute("delay",`${e}`)}announce(e,t={}){let{delayMs:n,politeness:o="polite"}=t,r=Date.now(),i=new Deferred,s={deferred:i,politeness:o,contents:e,scheduled:void 0!==n?r+n:r};return R(this,m).insert(s),D(this,b,v).call(this),{...i.getPromise(),cancel:()=>{R(this,m).delete(s),i.resolve()}}}announceFromElement(e,t){var n;let o,r=(o="",(n=e).hasAttribute("aria-label")?o=n.getAttribute("aria-label"):n.innerText?o=n.innerText:n.textContent&&(o=n.textContent),o?o.trim():"");return""!==r?this.announce(r,t):{...Promise.resolve(),cancel:U}}getMessage(e="polite"){let t=this.shadowRoot?.getElementById(e);if(!t)throw Error("Unable to find container for message");return t.textContent}clear(){null!==R(this,g)&&(clearTimeout(R(this,g)),q(this,g,null)),R(this,m).clear()}};p=new WeakMap,m=new WeakMap,g=new WeakMap,b=new WeakSet,v=function(){if(R(this,p))return;let e=R(this,m).peek();if(!e)return;null!==R(this,g)&&(clearTimeout(R(this,g)),q(this,g,null));let t=Date.now();if(e.scheduled<=t){(e=R(this,m).pop())&&D(this,y,w).call(this,e),D(this,b,v).call(this);return}let n=e.scheduled-t;q(this,g,window.setTimeout(()=>{q(this,g,null),D(this,b,v).call(this)},n))},y=new WeakSet,w=function(e){q(this,p,!0);let{contents:t,deferred:n,politeness:o}=e,r=this.shadowRoot?.getElementById(o);if(!r)throw q(this,p,!1),Error(`Unable to find container for message. Expected a container with id="${o}"`);r.textContent===t?r.textContent=`${t}\xa0`:r.textContent=t,null!==R(this,g)&&clearTimeout(R(this,g)),n.resolve(),this.delay>0?q(this,g,window.setTimeout(()=>{q(this,g,null),q(this,p,!1),D(this,b,v).call(this)},this.delay)):(q(this,g,null),q(this,p,!1),D(this,b,v).call(this))};let I=null,N=`
`;function z(e,t){return e.politeness===t.politeness?e.scheduled===t.scheduled?o.Equal:e.scheduled{o=!0};return{...X(J).then(()=>{if(!o){let o=n.announce(e,t);return r=o.cancel,o}}),cancel:()=>{r()}}}return n.announce(e,t)}function G(e,t={}){let n=V(t.from);if(!n){n=document.createElement("live-region"),t.appendTo?t.appendTo.appendChild(n):B(t.from).appendChild(n);let o=!1,r=()=>{o=!0};return{...X(J).then(()=>{if(!o){let o=n.announceFromElement(e,t);return r=o.cancel,o}}),cancel:()=>{r()}}}return n.announceFromElement(e,t)}function V(e){let t=null;return null!==(t=e?function(e){let t=e.closest("dialog"),n=e;for(;(n=n.parentElement)&&(!t||t.contains(n));)for(let e of n.childNodes)if(e instanceof LiveRegionElement)return e;return null}(e):null)||null!==(t=B(e).querySelector("live-region"))?t:null}function B(e){let t=document.body;if(e){let n=e.closest("dialog");n&&(t=n)}return t}customElements.get("live-region")||customElements.define("live-region",LiveRegionElement);let J=150;function X(e){return new Promise(t=>{setTimeout(t,e)})}}}]); //# sourceMappingURL=vendors-node_modules_github_remote-form_dist_index_js-node_modules_delegated-events_dist_inde-2ef075-af32d2f7c2ab.js.map