d="M5 1.75C5 .784 5.784 0 6.75 0h7.5C15.216 0 16 .784 16 1.75v7.5A1.75 1.75 0 0114.25 11h-7.5A1.75 1.75 0 015 9.25v-7.5zm1.75-.25a.25.25 0 00-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 00.25-.25v-7.5a.25.25 0 00-.25-.25h-7.5z"
      ></path>
    </svg>
    <svg
      aria-hidden="true"
      height="16"
      viewBox="0 0 16 16"
      version="1.1"
      width="16"
      class="octicon octicon-check js-clipboard-check-icon color-fg-success d-none m-2"
    >
      <path
        fill-rule="evenodd"
        d="M13.78 4.22a.75.75 0 010 1.06l-7.25 7.25a.75.75 0 01-1.06 0L2.22 9.28a.75.75 0 011.06-1.06L6 10.94l6.72-6.72a.75.75 0 011.06 0z"
      ></path>
    </svg>
  </clipboard-copy>`,i=(0,r.qy)`
    <details class="details-reset details-overlay details-overlay-dark" style="display: contents">
      <summary
        role="button"
        aria-label="Open dialog"
        class="btn my-2 mr-2 p-0 d-inline-flex"
        aria-haspopup="dialog"
        @click="${t}"
      >
        <svg width="16" height="16" viewBox="0 0 16 16" fill="currentColor" class="octicon m-2">
          <path
            fill-rule="evenodd"
            d="M3.72 3.72a.75.75 0 011.06 1.06L2.56 7h10.88l-2.22-2.22a.75.75 0 011.06-1.06l3.5 3.5a.75.75 0 010 1.06l-3.5 3.5a.75.75 0 11-1.06-1.06l2.22-2.22H2.56l2.22 2.22a.75.75 0 11-1.06 1.06l-3.5-3.5a.75.75 0 010-1.06l3.5-3.5z"
          ></path>
        </svg>
      </summary>
      <details-dialog
        class="Box Box--overlay render-full-screen d-flex flex-column anim-fade-in fast"
        aria-label="${n.type} rendered container"
      >
        <div>
          <button
            aria-label="Close dialog"
            data-close-dialog=""
            type="button"
            data-view-component="true"
            class="Link--muted btn-link position-absolute render-full-screen-close"
          >
            <svg
              width="24"
              height="24"
              viewBox="0 0 24 24"
              fill="currentColor"
              style="display:inline-block;vertical-align:text-bottom"
              class="octicon octicon-x"
            >
              <path
                fill-rule="evenodd"
                d="M5.72 5.72a.75.75 0 011.06 0L12 10.94l5.22-5.22a.75.75 0 111.06 1.06L13.06 12l5.22 5.22a.75.75 0 11-1.06 1.06L12 13.06l-5.22 5.22a.75.75 0 01-1.06-1.06L10.94 12 5.72 6.78a.75.75 0 010-1.06z"
              ></path>
            </svg>
          </button>
          <div class="Box-body border-0" role="presentation"></div>
        </div>
      </details-dialog>
    </details>
  `,(0,r.qy)`<div
    class="js-render-block-actions position-absolute top-0 pr-2 right-0 d-flex flex-justify-end flex-items-center"
  >
    ${i}${o}
  </div>`);p&&!p.open?p.ontoggle=()=>{p.open&&((0,r.XX)([L,E],m),p.ontoggle=null)}:(0,r.XX)([L,E],m)}}),(0,i.on)("preview:toggle:off",".js-previewable-comment-form",function(e){let t=e.currentTarget.querySelector(".js-render-needs-enrichment"),n=t?.querySelector(".js-render-enrichment-target");n&&(n.textContent="")}),(0,i.on)("preview:rendered",".js-previewable-comment-form",function(e){let t=e.currentTarget.querySelector(".js-render-needs-enrichment");t&&s.get(t)?.setLoading(!1)})},86359(e,t,n){n.d(t,{d:()=>c,s:()=>d});var r=n(68349),o=n(21403),i=n(21744);function a(e,t){let n=e.currentTarget;if(!(n instanceof Element))return;let r=t&&e instanceof CustomEvent&&e.detail?.error?.message?.includes("responded with a status of 403");for(let e of n.querySelectorAll("[data-show-on-forbidden-error]"))e instanceof HTMLElement&&(e.hidden=!r);for(let e of n.querySelectorAll("[data-show-on-error]"))e instanceof HTMLElement&&(e.hidden=r||!t);for(let e of n.querySelectorAll("[data-hide-on-error]"))e instanceof HTMLElement&&(e.hidden=t)}function s(e){a(e,!1)}function l(e){a(e,!0)}function d({currentTarget:e}){e instanceof Element&&c(e)}function c(e){let t=e.closest("details");t&&function(e){let t=e.getAttribute("data-deferred-details-content-url");if(t){e.removeAttribute("data-deferred-details-content-url");let n=e.querySelector("include-fragment, poll-include-fragment");n&&(n.src=t)}}(t)}(0,o.lB)("include-fragment, poll-include-fragment",{subscribe:e=>(0,r.Zz)((0,r.Rt)(e,"error",l),(0,r.Rt)(e,"loadstart",s))}),(0,i.on)("click","include-fragment button[data-retry-button]",({currentTarget:e})=>{e.closest("include-fragment").refetch()})},67440(e,t,n){n.d(t,{Qs:()=>g,hq:()=>s,zr:()=>y});var r=n(6997),o=n(61828),i=n(21403),a=n(1433);function s(e){return!!e.querySelector('.js-render-target[data-type="ipynb"]')}let l=["is-render-pending","is-render-ready","is-render-loading","is-render-loaded"],d=["is-render-ready","is-render-loading","is-render-loaded","is-render-failed","is-render-failed-fatally"],c=new WeakMap;function u(e){let t=c.get(e);null!=t&&(t.load=t.hello=null,t.helloTimer&&(clearTimeout(t.helloTimer),t.helloTimer=null),t.loadTimer&&(clearTimeout(t.loadTimer),t.loadTimer=null))}function f(e,t=""){var n,i;let a;e.classList.remove(...l),e.classList.add("is-render-failed");let s=function(e){let t=(0,r.qy)`<p>Unable to render rich display</p>`;if(""!==e){let n=e.split("\n");t=(0,r.qy)`<p><b>Unable to render rich display</b></p>
      <p>${n.map(e=>(0,r.qy)`${e}<br />`)}</p>`}return(0,r.qy)`<div class="flash flash-error">${t}</div>`}(t);!1===(0,o.L)(e,s)&&(n=e,i=s,(a=n.querySelector(".render-viewer-error"))&&(a.remove(),n.classList.remove("render-container"),(0,r.XX)(i,n))),u(e)}function m(e,t=!1){!(!e||!(0,a.A)(e)||e.classList.contains("is-render-ready")||e.classList.contains("is-render-failed")||e.classList.contains("is-render-failed-fatally"))&&(!t||c.get(e)?.hello)&&f(e)}function h(e,t,n){return!!e&&!!e.postMessage&&(e.postMessage(JSON.stringify(t),n),!0)}function p(e){return t=>{if(!t.querySelector(".js-render-target"))return;let n=t.querySelector("iframe"),r=n?.contentWindow;if(r)return e(r)}}(0,i.lB)(".js-render-target",function(e){e.classList.remove(...d),e.style.height="auto",c.get(e)?.load||(u(e),c.get(e)||(c.set(e,{load:Date.now(),hello:null,helloTimer:window.setTimeout(m,1e4,e,!0),loadTimer:window.setTimeout(m,45e3,e)}),e.classList.add("is-render-automatic","is-render-requested")))}),window.addEventListener("message",function(e){let t=e.data;if(!t)return;if("string"==typeof t)try{t=JSON.parse(t)}catch{return}if("object"!=typeof t&&void 0!=t||"render"!==t.type||"string"!=typeof t.identity)return;let n=t.identity;if("string"!=typeof t.body)return;let r=t.body,i=function(e,t){for(let n of e.querySelectorAll(".js-render-target[data-identity][data-host]"))if(n.getAttribute("data-identity")===t)return n;return null}(document,n);if(!i||e.origin!==i.getAttribute("data-host"))return;let a=e.origin,s=null!=t.payload?t.payload:void 0,d=i.querySelector("iframe"),u=d?.contentWindow;switch(r){case"hello":if((c.get(i)||{untimed:!0}).hello=Date.now(),!u)return;h(u,{type:"render:cmd",body:{cmd:"ack",ack:!0}},a),h(u,{type:"render:cmd",body:{cmd:"branding",branding:!1}},a);break;case"error":f(i,s?.error);break;case"error:fatal":f(i,s?.error),i.classList.add("is-render-failed-fatal");break;case"error:invalid":f(i,s?.error),i.classList.add("is-render-failed-invalid");break;case"loading":i.classList.remove(...l),i.classList.add("is-render-loading");break;case"loaded":i.classList.remove(...l),i.classList.add("is-render-loaded");break;case"ready":(0,o.A)(i),i.classList.remove(...l),i.classList.add("is-render-ready"),s&&"number"==typeof s.height&&(i.style.height=`${s.height}px`,""!==location.hash&&window.dispatchEvent(new HashChangeEvent("hashchange"))),s?.ack===!0&&window.requestAnimationFrame(()=>{setTimeout(()=>{h(u,{type:"render:cmd",body:{cmd:"code_rendering_service:ready:ack","code_rendering_service:ready:ack":{}}},a)},0)});break;case"resize":s&&"number"==typeof s.height&&(i.style.height=`${s.height}px`);break;case"code_rendering_service:container:get_size":h(u,{type:"render:cmd",body:{cmd:"code_rendering_service:container:size","code_rendering_service:container:size":{width:i?.getBoundingClientRect().width}}},a);break;case"code_rendering_service:markdown:get_data":let m;if(!u)return;let p=d?.getAttribute("data-content")??"";try{m=JSON.parse(p)?.data}catch{m=null}m&&h(u,{type:"render:cmd",body:{cmd:"code_rendering_service:data:ready","code_rendering_service:data:ready":{data:m,width:i?.getBoundingClientRect().width}}},a)}});let g=p(e=>h(e,{type:"render:cmd",body:{cmd:"code_rendering_service:behaviour:expand_all"}},origin)),y=p(e=>h(e,{type:"render:cmd",body:{cmd:"code_rendering_service:behaviour:collapse_all"}},origin))},3336(e,t,n){let r;n.d(t,{D:()=>s});var o=n(21403);let i=0,a=new ResizeObserver(e=>{for(let t of e){let e=t.target;if(e instanceof HTMLElement){let t=e.ownerDocument.documentElement,n=e.clientHeight;n!==i&&(r&&cancelAnimationFrame(r),r=requestAnimationFrame(()=>{t.style.setProperty("--observed-header-height",`${n}px`),i=n}))}}});function s(){return i}(0,o.lB)(".js-observe-sticky-header-height",{constructor:HTMLElement,add(e){a.observe(e)}})},59836(e,t,n){n.d(t,{OQ:()=>a,PA:()=>l,PT:()=>u,Px:()=>d,to:()=>c});var r=n(1289),o=n(17005);function i(){(0,o.TV)("preferred_color_mode",a())}function a(){return s("dark")?"dark":s("light")?"light":void 0}function s(e){return window.matchMedia&&window.matchMedia(`(prefers-color-scheme: ${e})`).matches}function l(e){let t=document.querySelector("html[data-color-mode]");t&&t.setAttribute("data-color-mode",e)}function d(e,t){let n=document.querySelector("html[data-color-mode]");n&&n.setAttribute(`data-${t}-theme`,e)}function c(e){let t=document.querySelector("html[data-color-mode]");if(t)return t.getAttribute(`data-${e}-theme`)}function u(e="light"){let t=function(){let e=document.querySelector("html[data-color-mode]");if(e)return e.getAttribute("data-color-mode")}();return("auto"===t?a():t)??e}(async()=>{if(await r.G,i(),window.matchMedia){let e=window.matchMedia("(prefers-color-scheme: dark)");e?.addEventListener?e.addEventListener("change",i):e.addListener(i)}})()},21969(e,t,n){n.d(t,{A:()=>f});var r=n(85397),o=n(89149),i=n(21403),a=n(5045);function s(e){let t=document.querySelector(".sso-modal");t&&(t.classList.remove("success","error"),e?t.classList.add("success"):t.classList.add("error"))}async function l(){let e=document.querySelector("link[rel=sso-modal]"),t=await (0,r.r)({content:(0,o.Ts)(document,e.href),dialogClass:"sso-modal"}),n=null,i=window.external;if(i.ssoComplete=function(e){if(e.error)s(n=!1);else{var t;let r;s(n=!0),t=e.expiresAround,(r=document.querySelector("meta[name=sso-expires-around]"))&&r.setAttribute("content",t),window.focus()}i.ssoComplete=null},await new Promise(e=>{t.addEventListener("dialog:remove",e,{once:!0})}),!n)throw Error("sso prompt canceled")}async function d(){let e=document.querySelector("link[rel=sso-session]"),t=document.querySelector("meta[name=sso-expires-around]");if(!(e instanceof HTMLLinkElement)||!function(e){if(!(e instanceof HTMLMetaElement))return!0;let t=parseInt(e.content);return Date.now()/1e3>t}(t))return!0;let n=e.href,r=await fetch(n,{headers:{Accept:"application/json",...(0,a.kt)()}});return await r.json()}(0,i.lB)(".js-sso-modal-complete",function(e){if(window.opener&&window.opener.external.ssoComplete){let t=e.getAttribute("data-error"),n=e.getAttribute("data-expires-around");window.opener.external.ssoComplete({error:t,expiresAround:n}),window.close()}else{let t=e.getAttribute("data-fallback-url");t&&(window.location.href=t)}});let c=null;function u(){c=null}async function f(){await d()||(c||(c=l().then(u).catch(u)),await c)}},24552(e,t,n){n.d(t,{GO:()=>l,Oc:()=>d,Rt:()=>s});var r=n(94668),o=n(469),i=n(3336),a=n(1289);async function s(e){if(e.hasAttribute("data-ignore-sticky-scroll"))return;let t=e.ownerDocument;if(t&&t.defaultView){await a.K,e.scrollIntoView();let n=t.querySelector(".secondary-sticky-header");n?t.defaultView.scrollBy(0,-d()-n.clientHeight):t.defaultView.scrollBy(0,-d())}}function l(e){let t=(0,r.rG)(e);t&&s(t)}function d(){return(0,o.Jd)()+(0,i.D)()}},49481(e,t,n){n.d(t,{C:()=>a,i:()=>s});var r=n(26316),o=n(73537),i=n(46493);function a(e,t){(0,o.G7)("arianotify_comprehensive_migration")?s(l(e),{...t,element:t?.element??e}):(0,o.G7)("primer_live_region_element")&&t?.element===void 0?(0,i.Cj)(e,{politeness:t?.assertive?"assertive":"polite"}):s(l(e),t)}function s(e,t){let{assertive:n,element:a}=t?