sor: nwse-resize; }
  :host(.nesw) .crop-box, :host(.nwse) .crop-box { cursor: inherit; }
  :host([loaded]) .crop-image { display: block; }
  :host([loaded]) ::slotted([data-loading-slot]), .crop-image { display: none; }

  .crop-wrapper {
    position: relative;
    font-size: 0;
  }
  .crop-container {
    user-select: none;
    -ms-user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    position: absolute;
    overflow: hidden;
    z-index: 1;
    top: 0;
    width: 100%;
    height: 100%;
  }

  :host([rounded]) .crop-box {
    border-radius: 50%;
    box-shadow: 0 0 0 4000px rgba(0, 0, 0, 0.3);
  }
  .crop-box {
    position: absolute;
    border: 1px dashed #fff;
    box-sizing: border-box;
    cursor: move;
  }

  :host([rounded]) .crop-outline {
    outline: none;
  }
  .crop-outline {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    outline: 4000px solid rgba(0, 0, 0, .3);
  }

  .handle { position: absolute; }
  :host([rounded]) .handle::before { border-radius: 50%; }
  .handle:before {
    position: absolute;
    display: block;
    padding: 4px;
    transform: translate(-50%, -50%);
    content: ' ';
    background: #fff;
    border: 1px solid #767676;
  }
  .ne { top: 0; right: 0; cursor: nesw-resize; }
  .nw { top: 0; left: 0; cursor: nwse-resize; }
  .se { bottom: 0; right: 0; cursor: nwse-resize; }
  .sw { bottom: 0; left: 0; cursor: nesw-resize; }
</style>
<slot></slot>
<div class="crop-wrapper">
  <img width="100%" class="crop-image" alt="">
  <div class="crop-container">
    <div data-crop-box class="crop-box">
      <div class="crop-outline"></div>
      <div data-direction="nw" class="handle nw"></div>
      <div data-direction="ne" class="handle ne"></div>
      <div data-direction="sw" class="handle sw"></div>
      <div data-direction="se" class="handle se"></div>
    </div>
  </div>
</div>
`;let b=a.querySelector("[data-crop-box]");if(!(b instanceof HTMLElement))return;let c=a.querySelector("img");c instanceof HTMLImageElement&&(f.set(this,{box:b,image:c}),c.addEventListener("load",()=>{this.loaded=!0,l(this)}),this.addEventListener("mouseleave",m),this.addEventListener("touchend",m),this.addEventListener("mouseup",m),b.addEventListener("mousedown",j),b.addEventListener("touchstart",j,{passive:!0}),this.addEventListener("keydown",g),this.addEventListener("keydown",h),this.src&&(c.src=this.src))}static get observedAttributes(){return["src"]}get src(){return this.getAttribute("src")}set src(a){a?this.setAttribute("src",a):this.removeAttribute("src")}get loaded(){return this.hasAttribute("loaded")}set loaded(a){a?this.setAttribute("loaded",""):this.removeAttribute("loaded")}attributeChangedCallback(a,b,c){let{image:d}=f.get(this)||{};"src"===a&&(this.loaded=!1,d&&(d.src=c))}}window.customElements.get("image-crop")||(window.ImageCropElement=ImageCropElement,window.customElements.define("image-crop",ImageCropElement)),c(28585);var o,p,q,r,s,t,u,v,w,x=c(76006),y=function(a,b,c,d){var e,f=arguments.length,g=f<3?b:null===d?d=Object.getOwnPropertyDescriptor(b,c):d;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)g=Reflect.decorate(a,b,c,d);else for(var h=a.length-1;h>=0;h--)(e=a[h])&&(g=(f<3?e(g):f>3?e(b,c,g):e(b,c))||g);return f>3&&g&&Object.defineProperty(b,c,g),g};let z=class NavListElement extends HTMLElement{connectedCallback(){this.setShowMoreItemState()}get showMoreDisabled(){return this.showMoreItem.hasAttribute("aria-disabled")}set showMoreDisabled(a){a?this.showMoreItem.setAttribute("aria-disabled","true"):this.showMoreItem.removeAttribute("aria-disabled"),this.showMoreItem.classList.toggle("disabled",a)}set currentPage(a){this.showMoreItem.setAttribute("data-current-page",a.toString())}get currentPage(){return parseInt(this.showMoreItem.getAttribute("data-current-page"))||1}get totalPages(){return parseInt(this.showMoreItem.getAttribute("data-total-pages"))||1}get paginationSrc(){return this.showMoreItem.getAttribute("src")||""}expandItem(a){var b;null===(b=a.nextElementSibling)|| void 0===b||b.removeAttribute("data-hidden"),a.setAttribute("aria-expanded","true")}collapseItem(a){var b;null===(b=a.nextElementSibling)|| void 0===b||b.setAttribute("data-hidden",""),a.setAttribute("aria-expanded","false")}itemIsExpanded(a){return(null==a?void 0:a.tagName)==="A"||(null==a?void 0:a.getAttribute("aria-expanded"))==="true"}handleItemWithSubItemClick(a){let b=a.target;if(!(b instanceof HTMLElement))return;let c=b.closest("button");c&&(this.itemIsExpanded(c)?this.collapseItem(c):this.expandItem(c),a.stopPropagation())}async showMore(a){var b,c;if(a.preventDefault(),this.showMoreDisabled)return;this.showMoreDisabled=!0;let d;try{let e=new URL(this.paginationSrc,window.location.origin);this.currentPage++,e.searchParams.append("page",this.currentPage.toString());let f=await fetch(e);if(!f.ok)return;d=await f.text(),this.currentPage===this.totalPages&&(this.showMoreItem.hidden=!0)}catch(g){this.showMoreDisabled=!1,this.currentPage--;return}let h=this.parseHTML(document,d);null===(b=null==h?void 0:h.querySelector("li > a"))|| void 0===b||b.setAttribute("data-targets","nav-list.focusMarkers"),this.list.insertBefore(h,this.showMoreItem),null===(c=this.focusMarkers.pop())|| void 0===c||c.focus(),this.showMoreDisabled=!1}setShowMoreItemState(){this.showMoreItem&&(this.currentPage<this.totalPages?this.showMoreItem.hidden=!1:this.showMoreItem.hidden=!0)}parseHTML(a,b){let c=a.createElement("template");return c.innerHTML=b,a.importNode(c.content,!0)}};y([x.fA],z.prototype,"list",void 0),y([x.fA],z.prototype,"showMoreItem",void 0),y([x.GO],z.prototype,"focusMarkers",void 0),z=y([x.Ih],z);var A=function(a,b,c,d){var e,f=arguments.length,g=f<3?b:null===d?d=Object.getOwnPropertyDescriptor(b,c):d;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)g=Reflect.decorate(a,b,c,d);else for(var h=a.length-1;h>=0;h--)(e=a[h])&&(g=(f<3?e(g):f>3?e(b,c,g):e(b,c))||g);return f>3&&g&&Object.defineProperty(b,c,g),g},B=function(a,b,c,d){if("a"===c&&!d)throw TypeError("Private accessor was defined without a getter");if("function"==typeof b?a!==b||!d:!b.has(a))throw TypeError("Cannot read private member from an object whose class did not declare it");return"m"===c?d:"a"===c?d.call(a):d?d.value:b.get(a)};let C=class SegmentedControlElement extends HTMLElement{constructor(){super(...arguments),o.add(this)}connectedCallback(){B(this,o,"m",p).call(this)}select(a){var b,c;let d=a.currentTarget;for(let e of this.items)e.classList.remove("SegmentedControl-item--selected"),null===(b=e.querySelector("[aria-current]"))|| void 0===b||b.setAttribute("aria-current","false");null===(c=d.closest("li.SegmentedControl-item"))|| void 0===c||c.classList.add("SegmentedControl-item--selected"),d.setAttribute("aria-current","true")}};o=new WeakSet,p=function(){for(let a of this.querySelectorAll(".Button-label"))a.setAttribute("data-content",a.textContent||"")},A([x.GO],C.prototype,"items",void 0),C=A([x.Ih],C),window.customElements.get("segmented-control")||(window.SegmentedControlElement=C,window.customElements.define("segmented-control",C));var D=function(a,b,c,d){var e,f=arguments.length,g=f<3?b:null===d?d=Object.getOwnPropertyDescriptor(b,c):d;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)g=Reflect.decorate(a,b,c,d);else for(var h=a.length-1;h>=0;h--)(e=a[h])&&(g=(f<3?e(g):f>3?e(b,c,g):e(b,c))||g);return f>3&&g&&Object.defineProperty(b,c,g),g};let E=class ToggleSwitchElement extends HTMLElement{get src(){let a=this.getAttribute("src");if(!a)return null;let b=this.ownerDocument.createElement("a");return b.href=a,b.href}get csrf(){let a=this.querySelector("[data-csrf]");return this.getAttribute("csrf")||a instanceof HTMLInputElement&&a.value||null}get csrfField(){return this.getAttribute("csrf-field")||"authenticity_token"}isRemote(){return null!=this.src}toggle(){this.isRemote()?(this.setLoadingState(),this.check()):this.performToggle()}turnOn(){!this.isDisabled()&&(this.switch.setAttribute("aria-checked","true"),this.classList.add("ToggleSwitch--checked"))}turnOff(){!this.isDisabled()&&(this.switch.setAttribute("aria-checked","false"),this.classList.remove("ToggleSwitch--checked"))}isOn(){return"true"===this.switch.getAttribute("aria-checked")}isOff(){return!this.isOn()}isDisabled(){return"true"===this.switch.getAttribute("aria-disabled")}disable(){this.switch.setAttribute("aria-disabled","true")}enable(){this.switch.setAttribute("aria-disabled","false")}performToggle(){this.isOn()?this.turnOff():this.turnOn()}setLoadingState(){this.disable(),this.errorIcon.setAttribute("hidden","hidden"),this.loadingSpinner.removeAttribute("hidden")}setSuccessState(){this.setFinishedState(!1)}setErrorState(){this.setFinishedState(!0)}setFinishedState(a){a&&this.errorIcon.removeAttribute("hidden"),this.loadingSpinner.setAttribute("hidden","hidden"),this.enable()}async check(){let a=new FormData;this.csrf&&a.append(this.csrfField,this.csrf),a.append("value",this.isOn()?"1":"0");try{if(!this.src)throw Error("invalid src");let b=await fetch(this.src,{credentials:"same-origin",method:"POST",headers:{"Requested-With":"XMLHttpRequest"},body:a});b.ok?(this.setSuccessState(),this.performToggle()):this.setErrorState()}catch(c){this.setErrorState()}}};D([x.fA],E.prototype,"switch",void 0),D([x.fA],E.prototype,"loadingSpinner",void 0),D([x.fA],E.prototype,"errorIcon",void 0),D([function(a=0,b={}){return(c,d,e)=>{if(!e||"function"!=typeof e.value)throw Error("debounce can only decorate functions");let f=e.value;e.value=function(a,b=0,{start:c=!1,middle:d=!1,once:e=!1}={}){return function(a,b=0,{start:c=!0,middle:d=!0,once:e=!1}={}){let f=0,g,h=!1;function i(...j){if(h)return;let k=Date.now()-f;f=Date.now(),c?(c=!1,a.apply(this,j),e&&i.cancel()):(d&&k<b||!d)&&(clearTimeout(g),g=setTimeout(()=>{f=Date.now(),a.apply(this,j),e&&i.cancel()},d?b-k:b))}return i.cancel=()=>{clearTimeout(g),h=!0},i}(a,b,{start:c,middle:d,once:e})}(f,a,b),Object.defineProperty(c,d,e)}}(300)],E.prototype,"check",null),E=D([x.Ih],E),window.customElements.get("toggle-switch")||(window.ToggleSwitchElement=E,window.customElements.define("toggle-switch",E));var F=c(48030),G=function(a,b,c,d){if("a"===c&&!d)throw TypeError("Private accessor was defined without a getter");if("function"==typeof b?a!==b||!d:!b.has(a))throw TypeError("Cannot read private member from an object whose class did not declare it");return"m"===c?d:"a"===c?d.call(a):d?d.value:b.get(a)},H=function(a,b,c,d,e){if("m"===d)throw TypeError("Private method is not writable");if("a"===d&&!e)throw TypeError("Private accessor was defined without a setter");if("function"==typeof b?a!==b||!e:!b.has(a))throw TypeError("Cannot write private member to an object whose class did not declare it");return"a"===d?e.call(a,c):e?e.value=c:b.set(a,c),c};let I="tooltip-open",J="sr-only",K=["tooltip-n","tooltip-s","tooltip-e","tooltip-w","tooltip-ne","tooltip-se","tooltip-nw","tooltip-sw"];class ToolTipElement extends HTMLElement{constructor(){super(...arguments),q.add(this),r.set(this,void 0),s.set(this,"center"),t.set(this,"outside-bottom"),u.set(this,!1)}styles(){return`
      :host {
        position: absolute;
        z-index: 1000000;
        padding: .5em .75em;
        font: normal normal 11px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
        -webkit-font-smoothing: subpixel-antialiased;
        color: var(--color-fg-on-emphasis);
        text-align: center;
        text-decoration: none;
        text-shadow: none;
        text-transform: none;
        letter-spacing: normal;
        word-wrap: break-word;
        white-space: pre;
        background: var(--color-neutral-emphasis-plus);
        border-radius: 6px;
        opacity: 0;
        max-width: 250px;
        word-wrap: break-word;
        white-space: normal;
        width: max-content;
      }

      :host:before{
        position: absolute;
        z-index: 1000001;
        color: var(--color-neutral-emphasis-plus);
        content: "";
        border: 6px solid transparent;
        opacity: 0
      }

      @keyframes tooltip-appear {
        from {
          opacity: 0
        }
        to {
          opacity: 1
        }
      }

      :host:after{
        position: absolute;
        display: block;
        right: 0;
        left: 0;
        height: 12px;
        content: ""
      }

      :host(.${I}),
      :host(.${I}):before {
        animation-name: tooltip-appear;
        animation-duration: .1s;
        animation-fill-mode: forwards;
        animation-timing-function: ease-in;
        animation-delay: .4s
      }

      :host(.tooltip-s):before,
      :host(.tooltip-n):before {
        right: 50%;
        margin-right: -6px;
      }

      :host(.tooltip-s):before,
      :host(.tooltip-se):before,
      :host(.tooltip-sw):before {
        bottom: 100%;
        border-bottom-color: var(--color-neutral-emphasis-plus)
      }

      :host(.tooltip-s):after,
      :host(.tooltip-se):after,
      :host(.tooltip-sw):after {
        bottom: 100%
      }

      :host(.tooltip-n):before,
      :host(.tooltip-ne):before,
      :host(.tooltip-nw):before {
        top: 100%;
        border-top-color: var(--color-neutral-emphasis-plus)
      }

      :host(.tooltip-n):after,
      :host(.tooltip-ne):after,
      :host(.tooltip-nw):after {
        top: 100%
      }

      :host(.tooltip-se):before,
      :host(.tooltip-ne):before {
        left: 0;
        margin-left: 6px;
      }

      :host(.tooltip-sw):before,
      :host(.tooltip-nw):before {
        right: 0;
        margin-right: 6px;
      }

      :host(.tooltip-w):before {
        top: 50%;
        bottom: 50%;
        left: 100%;
        margin-top: -6px;
        border-left-color: var(--color-neutral-emphasis-plus)
      }

      :host(.tooltip-e):before {
        top: 50%;
        right: 100%;
        bottom: 50%;
        margin-top: -6px;
        border-right-color: var(--color-neutral-emphasis-plus)
      }
    `}get htmlFor(){return this.getAttribute("for")||""}set htmlFor(a){this.setAttribute("for",a)}get type(){let a=this.getAttribute("data-type");return"label"===a?"label":"description"}set type(a){this.setAttribute("data-type",a)}get direction(){return this.getAttribute("data-direction")||"s"}set direction(a){this.setAttribute("data-direction",a)}get control(){return this.ownerDocument.getElementById(this.htmlFor)}set hiddenFromView(a){this.classList.toggle(J,a),this.isConnected&&G(this,q,"m",v).call(this)}get hiddenFromView(){return this.classList.contains(J)}connectedCallback(){var a;if(!this.shadowRoot){let b=this.attachShadow({mode:"open"});b.innerHTML=`
        <style>
          ${this.styles()}
        </style>
        <slot></slot>
      `}if(this.hiddenFromView=!0,H(this,u,!0,"f"),this.id||(this.id=`tooltip-${Date.now()}-${(1e4*Math.random()).toFixed(0)}`),!this.control)return;this.setAttribute("role","tooltip"),null===(a=G(this,r,"f"))|| void 0===a||a.abort(),H(this,r,new AbortController,"f");let{signal:c}=G(this,r,"f");this.addEventListener("mouseleave",this,{signal:c}),this.control.addEventListener("mouseenter",this,{signal:c}),this.control.addEventListener("mouseleave",this,{signal:c}),this.control.addEventListener("focus",this,{signal:c}),this.control.addEventListener("blur",this,{signal:c}),this.ownerDocument.addEventListener("keydown",this,{signal:c}),G(this,q,"m",v).call(this)}disconnectedCallback(){var a;null===(a=G(this,r,"f"))|| void 0===a||a.abort()}handleEvent(a){this.control&&(("mouseenter"===a.type||"focus"===a.type)&&this.hiddenFromView?this.hiddenFromView=!1:"blur"===a.type?this.hiddenFromView=!0:"mouseleave"===a.type&&a.relatedTarget!==this.control&&a.relatedTarget!==this?this.hiddenFromView=!0:"keydown"!==a.type||"Escape"!==a.key||this.hiddenFromView||(this.hiddenFromView=!0))}attributeChangedCallback(a){if("id"===a||"data-type"===a){if(this.id&&this.control){if("label"===this.type){let b=this.control.getAttribute("aria-labelledby");b=b?b.split(" ").includes(this.id)?`${b}`:`${b} ${this.id}`:this.id,this.control.setAttribute("aria-labelledby",b),this.setAttribute("aria-hidden","true")}else{let c=this.control.getAttribute("aria-describedby");c=c?c.split(" ").includes(this.id)?`${c}`:`${c} ${this.id}`:this.id,this.control.setAttribute("aria-describedby",c)}}}else if("data-direction"===a){this.classList.remove(...K);let d=this.direction;"n"===d?(H(this,s,"center","f"),H(this,t,"outside-top","f")):"ne"===d?(H(this,s,"start","f"),H(this,t,"outside-top","f")):"e"===d?(H(this,s,"center","f"),H(this,t,"outside-right","f")):"se"===d?(H(this,s,"start","f"),H(this,t,"outside-bottom","f")):"s"===d?(H(this,s,"center","f"),H(this,t,"outside-bottom","f")):"sw"===d?(H(this,s,"end","f"),H(this,t,"outside-bottom","f")):"w"===d?(H(this,s,"center","f"),H(this,t,"outside-left","f")):"nw"===d&&(H(this,s,"end","f"),H(this,t,"outside-top","f"))}}}r=new WeakMap,s=new WeakMap,t=new WeakMap,u=new WeakMap,q=new WeakSet,v=function(){if(this.hiddenFromView)this.classList.remove(I,...K);else{for(let a of(this.classList.add(I),this.ownerDocument.querySelectorAll(this.tagName)))a!==this&&(a.hiddenFromView=!0);G(this,q,"m",w).call(this)}},w=function(){if(!this.control||!G(this,u,"f")||this.hiddenFromView)return;let a=10;this.style.left="0px";let b=(0,F.N)(this,this.control,{side:G(this,t,"f"),align:G(this,s,"f"),anchorOffset:a}),c=b.anchorSide,d=b.anchorAlign;this.style.top=`${b.top}px`,this.style.left=`${b.left}px`;let e="s";e="outside-left"===c?"w":"outside-right"===c?"e":"outside-top"===c?"center"===d?"n":"start"===d?"ne":"nw":"center"===d?"s":"start"===d?"se":"sw",this.classList.add(`tooltip-${e}`)},ToolTipElement.observedAttributes=["data-type","data-direction","id"],window.customElements.get("tool-tip")||(window.ToolTipElement=ToolTipElement,window.customElements.define("tool-tip",ToolTipElement)),c(46481);var L=function(a,b,c,d){var e,f=arguments.length,g=f<3?b:null===d?d=Object.getOwnPropertyDescriptor(b,c):d;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)g=Reflect.decorate(a,b,c,d);else for(var h=a.length-1;h>=0;h--)(e=a[h])&&(g=(f<3?e(g):f>3?e(b,c,g):e(b,c))||g);return f>3&&g&&Object.defineProperty(b,c,g),g};let M=class XBannerElement extends HTMLElement{dismiss(){if(this.shouldReappear()){this.style.setProperty("visibility","hidden"),setTimeout(()=>{this.style.setProperty("visibility","visible")},2e3);return}let a=this.parentElement;a&&a.removeChild(this)}shouldReappear(){return"true"===this.root.getAttribute("data-reappear")}};function N(a){a.style.display="inline-block"}function O(a){a.style.display="none"}L([x.fA],M.prototype,"root",void 0),L([x.fA],M.prototype,"titleText",void 0),M=L([x.Ih],M),window.customElements.get("x-banner")||(window.XBannerElement=M,window.customElements.define("x-banner",M)),c(76745);let P=new WeakMap;document.addEventListener("clipboard-copy",({target:a})=>{if(!(a instanceof HTMLElement)||!a.hasAttribute("data-view-component"))return;let b=P.get(a);b?(clearTimeout(b),P.delete(a)):function(a){let[b,c]=a.querySelectorAll(".octicon");b&&c&&(O(b),N(c))}(a),P.set(a,setTimeout(()=>{(function(a){let[b,c]=a.querySelectorAll(".octicon");b&&c&&(N(b),O(c))})(a),P.delete(a)},2e3))}),c(11095),c(75329),c(29501)},38257(){let a=new WeakMap;class AutoCheckElement extends HTMLElement{connectedCallback(){let c=this.input;if(!c)return;let e=function(a,b=0,{start:c=!1,middle:d=!1,once:e=!1}={}){return function(a,b=0,{start:c=!0,middle:d=!0,once:e=!1}={}){var f,g=0,h=!1,i=function i(...j){if(!h){var k=Date.now()-g;g=Date.now(),c?(c=!1,a(...j),e&&i.cancel()):(d&&k<b||!d)&&(clearTimeout(f),f=setTimeout(function(){g=Date.now(),a(...j),e&&i.cancel()},d?b-k:b))}};return i.cancel=function(){clearTimeout(f),h=!0},i}(a,b,{start:c,middle:d,once:e})}(d.bind(null,this),300),f={check:e,controller:null};a.set(this,f),c.addEventListener("input",b),c.addEventListener("input",e),c.autocomplete="off",c.spellcheck=!1}disconnectedCallback(){let c=this.input;if(!c)return;let d=a.get(this);d&&(a.delete(this),c.removeEventListener("input",b),c.removeEventListener("input",d.check),c.setCustomValidity(""))}attributeChangedCallback(a){if("required"===a){let b=this.input;b&&(b.required=this.required)}}static get observedAttributes(){return["required"]}get input(){return this.querySelector("input")}get src(){let a=this.getAttribute("src");if(!a)return"";let b=this.ownerDocument.createElement("a");return b.href=a,b.href}set src(a){this.setAttribute("src",a)}get csrf(){let a=this.querySelector("[data-csrf]");return this.getAttribute("csrf")||a instanceof HTMLInputElement&&a.value||""}set csrf(a){this.setAttribute("csrf",a)}get required(){return this.hasAttribute("required")}set required(a){a?this.setAttribute("required",""):this.removeAttribute("required")}}function b(b){let c=b.currentTarget;if(!(c instanceof HTMLInputElement))return;let d=c.closest("auto-check");if(!(d instanceof AutoCheckElement))return;let e=d.src,f=d.csrf,g=a.get(d);if(!e||!f||!g)return;let h="Verifying\u2026",i=a=>h=a;c.dispatchEvent(new CustomEvent("auto-check-start",{bubbles:!0,detail:{setValidity:i}})),d.required&&c.setCustomValidity(h)}async function c(a,b,c){try{let d=await fetch(b,c);return a.dispatchEvent(new CustomEvent("load")),a.dispatchEvent(new CustomEvent("loadend")),d}catch(e){throw"AbortError"!==e.name&&(a.dispatchEvent(new CustomEvent("error")),a.dispatchEvent(new CustomEvent("loadend"))),e}}async function d(b){let d=b.input;if(!d)return;let g=b.src,h=b.csrf,i=a.get(b);if(!g||!h||!i||!d.value.trim()){b.required&&d.setCustomValidity("");return}let j=new FormData;j.append("authenticity_token",h),j.append("value",d.value),d.dispatchEvent(new CustomEvent("auto-check-send",{bubbles:!0,detail:{body:j}})),i.controller?i.controller.abort():b.dispatchEvent(new CustomEvent("loadstart")),i.controller="AbortController"in window?new AbortController:{signal:null,abort(){}};try{let k=await c(b,g,{credentials:"same-origin",signal:i.controller.signal,method:"POST",body:j});k.ok?e(k,d,b.required):f(k,d,b.required),i.controller=null,d.dispatchEvent(new CustomEvent("auto-check-complete",{bubbles:!0}))}catch(l){"AbortError"!==l.name&&(i.controller=null,d.dispatchEvent(new CustomEvent("auto-check-complete",{bubbles:!0})))}}function e(a,b,c){c&&b.setCustomValidity(""),b.dispatchEvent(new CustomEvent("auto-check-success",{bubbles:!0,detail:{response:a.clone()}}))}function f(a,b,c){let d="Validation failed";b.dispatchEvent(new CustomEvent("auto-check-error",{bubbles:!0,detail:{response:a.clone(),setValidity:a=>d=a}})),c&&b.setCustomValidity(d)}window.customElements.get("auto-check")||(window.AutoCheckElement=AutoCheckElement,window.customElements.define("auto-check",AutoCheckElement))},11095(){class DetailsMenuElement extends HTMLElement{get preload(){return this.hasAttribute("preload")}set preload(a){a?this.setAttribute("preload",""):this.removeAttribute("preload")}get src(){return this.getAttribute("src")||""}set src(a){this.setAttribute("src",a)}connectedCallback(){this.hasAttribute("role")||this.setAttribute("role","menu");let g=this.parentElement;if(!g)return;let h=g.querySelector("summary");h&&(h.setAttribute("aria-haspopup","menu"),h.hasAttribute("role")||h.setAttribute("role","button"));let i=[c(g,"compositionstart",a=>s(this,a)),c(g,"compositionend",a=>s(this,a)),c(g,"click",a=>k(g,a)),c(g,"change",a=>k(g,a)),c(g,"keydown",a=>m(g,this,a)),c(g,"toggle",()=>d(g,this),{once:!0}),c(g,"toggle",()=>f(g)),this.preload?c(g,"mouseover",()=>d(g,this),{once:!0}):b,...e(g)];a.set(this,{subscriptions:i,loaded:!1,isComposing:!1})}disconnectedCallback(){let b=a.get(this);if(b)for(let c of(a.delete(this),b.subscriptions))c.unsubscribe()}}let a=new WeakMap,b={unsubscribe(){}};function c(a,b,c,d=!1){return a.addEventListener(b,c,d),{unsubscribe(){a.removeEventListener(b,c,d)}}}function d(b,c){let d=c.getAttribute("src");if(!d)return;let e=a.get(c);if(!e||e.loaded)return;e.loaded=!0;let f=c.querySelector("include-fragment");f&&!f.hasAttribute("src")&&(f.addEventListener("loadend",()=>g(b)),f.setAttribute("src",d))}function e(a){let b=!1;return[c(a,"mousedown",()=>b=!0),c(a,"keydown",()=>b=!1),c(a,"toggle",()=>{a.hasAttribute("open")&&(g(a)||b||h(a))})]}function f(a){if(a.hasAttribute("open"))for(let b of document.querySelectorAll("details[open] > details-menu")){let c=b.closest("details");c&&c!==a&&!c.contains(a)&&c.removeAttribute("open")}}function g(a){if(!a.hasAttribute("open"))return!1;let b=a.querySelector("details-menu [autofocus]");return!!b&&(b.focus(),!0)}function h(a){let b=document.activeElement;if(b&&n(b)&&a.contains(b))return;let c=i(a,!0);c&&c.focus()}function i(a,b){let c=Array.from(a.querySelectorAll('[role^="menuitem"]:not([hidden]):not([disabled])')),d=document.activeElement,e=d instanceof HTMLElement?c.indexOf(d):-1,f=b?c[e+1]:c[e-1],g=b?c[0]:c[c.length-1];return f||g}let j=navigator.userAgent.match(/Macintosh/);function k(a,b){let c=b.target;if(c instanceof Element&&c.closest("details")===a){if("click"===b.type){let d=c.closest('[role="menuitem"], [role="menuitemradio"]');if(!d)return;let e=d.querySelector("input");if("LABEL"===d.tagName&&c===e)return;let f="LABEL"===d.tagName&&e&&!e.checked;f||l(d,a)}else if("change"===b.type){let g=c.closest('[role="menuitemradio"], [role="menuitemcheckbox"]');g&&l(g,a)}}}function l(a,b){if(a.hasAttribute("disabled")||"true"===a.getAttribute("aria-disabled"))return;let c=a.closest("details-menu");if(!c)return;let d=c.dispatchEvent(new CustomEvent("details-menu-select",{cancelable:!0,detail:{relatedTarget:a}}));d&&(p(a,b),function(a,b){for(let c of b.querySelectorAll('[role="menuitemradio"], [role="menuitemcheckbox"]')){let d=c.querySelector('input[type="radio"], input[type="checkbox"]'),e=(c===a).toString();d instanceof HTMLInputElement&&(e=d.indeterminate?"mixed":d.checked.toString()),c.setAttribute("aria-checked",e)}}(a,b),"menuitemcheckbox"!==a.getAttribute("role")&&o(b),c.dispatchEvent(new CustomEvent("details-menu-selected",{detail:{relatedTarget:a}})))}function m(b,c,d){if(!(d instanceof KeyboardEvent)||b.querySelector("details[open]"))return;let e=a.get(c);if(!e||e.isComposing)return;let f=d.target instanceof Element&&"SUMMARY"===d.target.tagName;switch(d.key){case"Escape":b.hasAttribute("open")&&(o(b),d.preventDefault(),d.stopPropagation());break;case"ArrowDown":{f&&!b.hasAttribute("open")&&b.setAttribute("open","");let g=i(b,!0);g&&g.focus(),d.preventDefault()}break;case"ArrowUp":{f&&!b.hasAttribute("open")&&b.setAttribute("open","");let h=i(b,!1);h&&h.focus(),d.preventDefault()}break;case"n":if(j&&d.ctrlKey){let k=i(b,!0);k&&k.focus(),d.preventDefault()}break;case"p":if(j&&d.ctrlKey){let l=i(b,!1);l&&l.focus(),d.preventDefault()}break;case" ":case"Enter":{let m=document.activeElement;m instanceof HTMLElement&&n(m)&&m.closest("details")===b&&(d.preventDefault(),d.stopPropagation(),m.click())}}}function n(a){let b=a.getAttribute("role");return"menuitem"===b||"menuitemcheckbox"===b||"menuitemradio"===b}function o(a){let b=a.hasAttribute("open");if(!b)return;a.removeAttribute("open");let c=a.querySelector("summary");c&&c.focus()}function p(a,b){let c=b.querySelector("[data-menu-button]");if(!c)return;let d=q(a);if(d)c.textContent=d;else{let e=r(a);e&&(c.innerHTML=e)}}function q(a){if(!a)return null;let b=a.hasAttribute("data-menu-button-text")?a:a.querySelector("[data-menu-button-text]");return b?b.getAttribute("data-menu-button-text")||b.textContent:null}function r(a){if(!a)return null;let b=a.hasAttribute("data-menu-button-contents")?a:a.querySelector("[data-menu-button-contents]");return b?b.innerHTML:null}function s(b,c){let d=a.get(b);d&&(d.isComposing="compositionstart"===c.type)}window.customElements.get("details-menu")||(window.DetailsMenuElement=DetailsMenuElement,window.customElements.define("details-menu",DetailsMenuElement))},73921(){let a=new Set(["\u{1F44B}","\u{1F91A}","\u{1F590}\uFE0F","\u270B","\u{1F596}","\u{1F44C}","\u{1F90F}","\u270C\uFE0F","\u{1F91E}","\u{1F91F}","\u{1F918}","\u{1F919}","\u{1F448}","\u{1F449}","\u{1F446}","\u{1F595}","\u{1F447}","\u261D\uFE0F","\u{1F44D}","\u{1F44E}","\u270A","\u{1F44A}","\u{1F91B}","\u{1F91C}","\u{1F44F}","\u{1F64C}","\u{1F450}","\u{1F932}","\u{1F64F}","\u270D\uFE0F","\u{1F485}","\u{1F933}","\u{1F4AA}","\u{1F9B5}","\u{1F9B6}","\u{1F442}","\u{1F9BB}","\u{1F443}","\u{1F476}","\u{1F9D2}","\u{1F466}","\u{1F467}","\u{1F9D1}","\u{1F471}","\u{1F468}","\u{1F9D4}","\u{1F471}\u200D\u2642\uFE0F","\u{1F468}\u200D\u{1F9B0}","\u{1F468}\u200D\u{1F9B1}","\u{1F468}\u200D\u{1F9B3}","\u{1F468}\u200D\u{1F9B2}","\u{1F469}","\u{1F471}\u200D\u2640\uFE0F","\u{1F469}\u200D\u{1F9B0}","\u{1F469}\u200D\u{1F9B1}","\u{1F469}\u200D\u{1F9B3}","\u{1F469}\u200D\u{1F9B2}","\u{1F9D3}","\u{1F474}","\u{1F475}","\u{1F64D}","\u{1F64D}\u200D\u2642\uFE0F","\u{1F64D}\u200D\u2640\uFE0F","\u{1F64E}","\u{1F64E}\u200D\u2642\uFE0F","\u{1F64E}\u200D\u2640\uFE0F","\u{1F645}","\u{1F645}\u200D\u2642\uFE0F","\u{1F645}\u200D\u2640\uFE0F","\u{1F646}","\u{1F646}\u200D\u2642\uFE0F","\u{1F646}\u200D\u2640\uFE0F","\u{1F481}","\u{1F481}\u200D\u2642\uFE0F","\u{1F481}\u200D\u2640\uFE0F","\u{1F64B}","\u{1F64B}\u200D\u2642\uFE0F","\u{1F64B}\u200D\u2640\uFE0F","\u{1F9CF}","\u{1F9CF}\u200D\u2642\uFE0F","\u{1F9CF}\u200D\u2640\uFE0F","\u{1F647}","\u{1F647}\u200D\u2642\uFE0F","\u{1F647}\u200D\u2640\uFE0F","\u{1F926}","\u{1F926}\u200D\u2642\uFE0F","\u{1F926}\u200D\u2640\uFE0F","\u{1F937}","\u{1F937}\u200D\u2642\uFE0F","\u{1F937}\u200D\u2640\uFE0F","\u{1F468}\u200D\u2695\uFE0F","\u{1F469}\u200D\u2695\uFE0F","\u{1F468}\u200D\u{1F393}","\u{1F469}\u200D\u{1F393}","\u{1F468}\u200D\u{1F3EB}","\u{1F469}\u200D\u{1F3EB}","\u{1F468}\u200D\u2696\uFE0F","\u{1F469}\u200D\u2696\uFE0F","\u{1F468}\u200D\u{1F33E}","\u{1F469}\u200D\u{1F33E}","\u{1F468}\u200D\u{1F373}","\u{1F469}\u200D\u{1F373}","\u{1F468}\u200D\u{1F527}","\u{1F469}\u200D\u{1F527}","\u{1F468}\u200D\u{1F3ED}","\u{1F469}\u200D\u{1F3ED}","\u{1F468}\u200D\u{1F4BC}","\u{1F469}\u200D\u{1F4BC}","\u{1F468}\u200D\u{1F52C}","\u{1F469}\u200D\u{1F52C}","\u{1F468}\u200D\u{1F4BB}","\u{1F469}\u200D\u{1F4BB}","\u{1F468}\u200D\u{1F3A4}","\u{1F469}\u200D\u{1F3A4}","\u{1F468}\u200D\u{1F3A8}","\u{1F469}\u200D\u{1F3A8}","\u{1F468}\u200D\u2708\uFE0F","\u{1F469}\u200D\u2708\uFE0F","\u{1F468}\u200D\u{1F680}","\u{1F469}\u200D\u{1F680}","\u{1F468}\u200D\u{1F692}","\u{1F469}\u200D\u{1F692}","\u{1F46E}","\u{1F46E}\u200D\u2642\uFE0F","\u{1F46E}\u200D\u2640\uFE0F","\u{1F575}\uFE0F","\u{1F575}\uFE0F\u200D\u2642\uFE0F","\u{1F575}\uFE0F\u200D\u2640\uFE0F","\u{1F482}","\u{1F482}\u200D\u2642\uFE0F","\u{1F482}\u200D\u2640\uFE0F","\u{1F477}","\u{1F477}\u200D\u2642\uFE0F","\u{1F477}\u200D\u2640\uFE0F","\u{1F934}","\u{1F478}","\u{1F473}","\u{1F473}\u200D\u2642\uFE0F","\u{1F473}\u200D\u2640\uFE0F","\u{1F472}","\u{1F9D5}","\u{1F935}","\u{1F470}","\u{1F930}","\u{1F931}","\u{1F47C}","\u{1F385}","\u{1F936}","\u{1F9B8}","\u{1F9B8}\u200D\u2642\uFE0F","\u{1F9B8}\u200D\u2640\uFE0F","\u{1F9B9}","\u{1F9B9}\u200D\u2642\uFE0F","\u{1F9B9}\u200D\u2640\uFE0F","\u{1F9D9}","\u{1F9D9}\u200D\u2642\uFE0F","\u{1F9D9}\u200D\u2640\uFE0F","\u{1F9DA}","\u{1F9DA}\u200D\u2642\uFE0F","\u{1F9DA}\u200D\u2640\uFE0F","\u{1F9DB}","\u{1F9DB}\u200D\u2642\uFE0F","\u{1F9DB}\u200D\u2640\uFE0F","\u{1F9DC}","\u{1F9DC}\u200D\u2642\uFE0F","\u{1F9DC}\u200D\u2640\uFE0F","\u{1F9DD}","\u{1F9DD}\u200D\u2642\uFE0F","\u{1F9DD}\u200D\u2640\uFE0F","\u{1F486}","\u{1F486}\u200D\u2642\uFE0F","\u{1F486}\u200D\u2640\uFE0F","\u{1F487}","\u{1F487}\u200D\u2642\uFE0F","\u{1F487}\u200D\u2640\uFE0F","\u{1F6B6}","\u{1F6B6}\u200D\u2642\uFE0F","\u{1F6B6}\u200D\u2640\uFE0F","\u{1F9CD}","\u{1F9CD}\u200D\u2642\uFE0F","\u{1F9CD}\u200D\u2640\uFE0F","\u{1F9CE}","\u{1F9CE}\u200D\u2642\uFE0F","\u{1F9CE}\u200D\u2640\uFE0F","\u{1F468}\u200D\u{1F9AF}","\u{1F469}\u200D\u{1F9AF}","\u{1F468}\u200D\u{1F9BC}","\u{1F469}\u200D\u{1F9BC}","\u{1F468}\u200D\u{1F9BD}","\u{1F469}\u200D\u{1F9BD}","\u{1F3C3}","\u{1F3C3}\u200D\u2642\uFE0F","\u{1F3C3}\u200D\u2640\uFE0F","\u{1F483}","\u{1F57A}","\u{1F574}\uFE0F","\u{1F9D6}","\u{1F9D6}\u200D\u2642\uFE0F","\u{1F9D6}\u200D\u2640\uFE0F","\u{1F9D7}","\u{1F9D7}\u200D\u2642\uFE0F","\u{1F9D7}\u200D\u2640\uFE0F","\u{1F3C7}","\u{1F3C2}","\u{1F3CC}\uFE0F","\u{1F3CC}\uFE0F\u200D\u2642\uFE0F","\u{1F3CC}\uFE0F\u200D\u2640\uFE0F","\u{1F3C4}","\u{1F3C4}\u200D\u2642\uFE0F","\u{1F3C4}\u200D\u2640\uFE0F","\u{1F6A3}","\u{1F6A3}\u200D\u2642\uFE0F","\u{1F6A3}\u200D\u2640\uFE0F","\u{1F3CA}","\u{1F3CA}\u200D\u2642\uFE0F","\u{1F3CA}\u200D\u2640\uFE0F","\u26F9\uFE0F","\u26F9\uFE0F\u200D\u2642\uFE0F","\u26F9\uFE0F\u200D\u2640\uFE0F","\u{1F3CB}\uFE0F","\u{1F3CB}\uFE0F\u200D\u2642\uFE0F","\u{1F3CB}\uFE0F\u200D\u2640\uFE0F","\u{1F6B4}","\u{1F6B4}\u200D\u2642\uFE0F","\u{1F6B4}\u200D\u2640\uFE0F","\u{1F6B5}","\u{1F6B5}\u200D\u2642\uFE0F","\u{1F6B5}\u200D\u2640\uFE0F","\u{1F938}","\u{1F938}\u200D\u2642\uFE0F","\u{1F938}\u200D\u2640\uFE0F","\u{1F93D}","\u{1F93D}\u200D\u2642\uFE0F","\u{1F93D}\u200D\u2640\uFE0F","\u{1F93E}","\u{1F93E}\u200D\u2642\uFE0F","\u{1F93E}\u200D\u2640\uFE0F","\u{1F939}","\u{1F939}\u200D\u2642\uFE0F","\u{1F939}\u200D\u2640\uFE0F","\u{1F9D8}","\u{1F9D8}\u200D\u2642\uFE0F","\u{1F9D8}\u200D\u2640\uFE0F","\u{1F6C0}","\u{1F6CC}","\u{1F9D1}\u200D\u{1F91D}\u200D\u{1F9D1}","\u{1F46D}","\u{1F46B}","\u{1F46C}"]);function b(b){return a.has(b)}function c(a){return[...a].filter(a=>!e(a.codePointAt(0))).join("")}function d(a,b){let c=[...a].map(a=>a.codePointAt(0));return c[1]&&(e(c[1])||65039===c[1])?c[1]=b:c.splice(1,0,b),String.fromCodePoint(...c)}function e(a){return a>=127995&&a<=127999}function f(a){switch(a){case 1:return 127995;case 2:return 127996;case 3:return 127997;case 4:return 127998;case 5:return 127999;default:return null}}class GEmojiElement extends HTMLElement{get image(){return this.firstElementChild instanceof HTMLImageElement?this.firstElementChild:null}get tone(){return(this.getAttribute("tone")||"").split(" ").map(a=>{let b=parseInt(a,10);return b>=0&&b<=5?b:0}).join(" ")}set tone(a){this.setAttribute("tone",a)}connectedCallback(){if(null===this.image&&!function(){let a=/\bWindows NT 6.1\b/.test(navigator.userAgent),b=/\bWindows NT 6.2\b/.test(navigator.userAgent),c=/\bWindows NT 6.3\b/.test(navigator.userAgent),d=/\bFreeBSD\b/.test(navigator.userAgent),e=/\bLinux\b/.test(navigator.userAgent)&&!/\bAndroid\b/.test(navigator.userAgent);return!(a||b||c||e||d)}()){let a=this.getAttribute("fallback-src");if(a){this.textContent="";let b=h(this);b.src=a,this.appendChild(b)}}this.hasAttribute("tone")&&g(this)}static get observedAttributes(){return["tone"]}attributeChangedCallback(a){"tone"===a&&g(this)}}function g(a){if(a.image)return;let e=a.tone.split(" ").map(a=>parseInt(a,10));if(0===e.length)a.textContent=c(a.textContent||"");else if(1===e.length){let g=e[0];a.textContent=0===g?c(a.textContent||""):function(a,e){let g=c(a);if(!b(g))return a;let h=f(e);return h?g.split("\u200D").map(a=>b(a)?d(a,h):a).join("\u200D"):a}(a.textContent||"",g)}else a.textContent=function(a,e){let g=c(a);if(!b(g))return a;let h=e.map(a=>f(a));return g.split("\u200D").map(a=>{if(!b(a))return a;let c=h.shift();return c?d(a,c):a}).join("\u200D")}(a.textContent||"",e)}function h(a){let b=document.createElement("img");return b.className="emoji",b.alt=a.getAttribute("alias")||"",b.height=20,b.width=20,b}window.customElements.get("g-emoji")||(window.GEmojiElement=GEmojiElement,window.customElements.define("g-emoji",GEmojiElement))},27034(a,b,c){c.d(b,{Z:()=>IncludeFragmentElement});let d=new WeakMap,e=new IntersectionObserver(a=>{for(let b of a)if(b.isIntersecting){let{target:c}=b;if(e.unobserve(c),!(c instanceof IncludeFragmentElement))return;"lazy"===c.loading&&g(c)}},{rootMargin:"0px 0px 256px 0px",threshold:.01});function f(){return new Promise(a=>setTimeout(a,0))}async function g(a){return e.unobserve(a),h(a).then(function(b){let c=document.createElement("template");c.innerHTML=b;let d=document.importNode(c.content,!0),e=!a.dispatchEvent(new CustomEvent("include-fragment-replace",{cancelable:!0,detail:{fragment:d}}));e||(a.replaceWith(d),a.dispatchEvent(new CustomEvent("include-fragment-replaced")))},function(){a.classList.add("is-error")})}function h(a){let b=a.src,c=d.get(a);return c&&c.src===b?c.data:(c=b?i(a):Promise.reject(Error("missing src")),d.set(a,{src:b,data:c}),c)}function i(a){return f().then(()=>(a.dispatchEvent(new Event("loadstart")),a.fetch(a.request()))).then(b=>{if(200!==b.status)throw Error(`Failed to load resource: the server responded with a status of ${b.status}`);let c=b.headers.get("Content-Type");if(!j(a.accept)&&(!c||!c.includes(a.accept?a.accept:"text/html")))throw Error(`Failed to load resource: expected ${a.accept||"text/html"} but was ${c}`);return b.text()}).then(b=>(f().then(()=>{a.dispatchEvent(new Event("load")),a.dispatchEvent(new Event("loadend"))}),b),b=>{throw f().then(()=>{a.dispatchEvent(new Event("error")),a.dispatchEvent(new Event("loadend"))}),b})}function j(a){return a&&!!a.split(",").find(a=>a.match(/^\s*\*\/\*/))}class IncludeFragmentElement extends HTMLElement{static get observedAttributes(){return["src","loading"]}get src(){let a=this.getAttribute("src");if(!a)return"";{let b=this.ownerDocument.createElement("a");return b.href=a,b.href}}set src(a){this.setAttribute("src",a)}get loading(){return"lazy"===this.getAttribute("loading")?"lazy":"eager"}set loading(a){this.setAttribute("loading",a)}get accept(){return this.getAttribute("accept")||""}set accept(a){this.setAttribute("accept",a)}get data(){return h(this)}attributeChangedCallback(a,b){"src"===a?this.isConnected&&"eager"===this.loading&&g(this):"loading"===a&&this.isConnected&&"eager"!==b&&"eager"===this.loading&&g(this)}constructor(){super(),this.attachShadow({mode:"open"}).innerHTML=`
      <style> 
        :host {
          display: block;
        }
      </style>
      <slot></slot>`}connectedCallback(){this.src&&"eager"===this.loading&&g(this),"lazy"===this.loading&&e.observe(this)}request(){let a=this.src;if(!a)throw Error("missing src");return new Request(a,{method:"GET",credentials:"same-origin",headers:{Accept:this.accept||"text/html"}})}load(){return h(this)}fetch(a){return fetch(a)}}window.customElements.get("include-fragment")||(window.IncludeFragmentElement=IncludeFragmentElement,window.customElements.define("include-fragment",IncludeFragmentElement))},40987(a,b,c){c.d(b,{Z:()=>TaskListsElement});let d=new WeakMap,e=null;function f(a,b){return a.closest("task-lists")===b.closest("task-lists")}function g(a){if(a.currentTarget!==a.target)return;let b=a.currentTarget;if(!(b instanceof Element))return;let c=b.closest(".contains-task-list");if(!c||(b.classList.add("is-ghost"),a.dataTransfer&&a.dataTransfer.setData("text/plain",(b.textContent||"").trim()),!b.parentElement))return;let f=Array.from(b.parentElement.children),g=f.indexOf(b),h=d.get(b);h&&h.sortStarted(c),e={didDrop:!1,dragging:b,dropzone:b,sourceList:c,sourceSibling:f[g+1]||null,sourceIndex:g}}function h(a){if(!e)return;let b=a.currentTarget;if(b instanceof Element){if(!f(e.dragging,b)){a.stopPropagation();return}a.preventDefault(),a.dataTransfer&&(a.dataTransfer.dropEffect="move"),e.dropzone!==b&&(e.dragging.classList.add("is-dragging"),e.dropzone=b,function(a,b){if(a.parentNode===b.parentNode){let c=a;for(;c;){if(c===b)return!0;c=c.previousElementSibling}}return!1}(e.dragging,b)?b.before(e.dragging):b.after(e.dragging))}}function i(a){if(!e)return;a.preventDefault(),a.stopPropagation();let b=a.currentTarget;if(!(b instanceof Element)||(e.didDrop=!0,!e.dragging.parentElement))return;let c=Array.from(e.dragging.parentElement.children).indexOf(e.dragging),f=b.closest(".contains-task-list");if(!f||e.sourceIndex===c&&e.sourceList===f)return;e.sourceList===f&&e.sourceIndex<c&&c++;let g={list:e.sourceList,index:e.sourceIndex},h={list:f,index:c},i=d.get(e.dragging);i&&i.sortFinished({src:g,dst:h})}function j(){e&&(e.dragging.classList.remove("is-dragging"),e.dragging.classList.remove("is-ghost"),e.didDrop||e.sourceList.insertBefore(e.dragging,e.sourceSibling),e=null)}function k(a){if(!e)return;let b=a.currentTarget;if(b instanceof Element){if(!f(e.dragging,b)){a.stopPropagation();return}a.preventDefault(),a.dataTransfer&&(a.dataTransfer.dropEffect="move")}}let l=new WeakMap;class TaskListsElement extends HTMLElement{connectedCallback(){this.addEventListener("change",a=>{let b=a.target;b instanceof HTMLInputElement&&b.classList.contains("task-list-item-checkbox")&&this.dispatchEvent(new CustomEvent("task-lists-check",{bubbles:!0,detail:{position:r(b),checked:b.checked}}))});let a=new MutationObserver(v.bind(null,this));l.set(this,a),a.observe(this,{childList:!0,subtree:!0}),v(this)}disconnectedCallback(){let a=l.get(this);a&&a.disconnect()}get disabled(){return this.hasAttribute("disabled")}set disabled(a){a?this.setAttribute("disabled",""):this.removeAttribute("disabled")}get sortable(){return this.hasAttribute("sortable")}set sortable(a){a?this.setAttribute("sortable",""):this.removeAttribute("sortable")}static get observedAttributes(){return["disabled"]}attributeChangedCallback(a,b,c){b!==c&&"disabled"===a&&w(this)}}let m=document.createElement("template");m.innerHTML=`
  <span class="handle">
    <svg class="drag-handle" 