From f5a17e74d39aaae1d9dce4d6b98bfb7a4877177c Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 14 Mar 2024 23:13:59 +0000 Subject: [PATCH] Freeze version v1.10.2 --- VERSION | 2 +- assets/v1.10/js/primer_spec_plugin.min.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/VERSION b/VERSION index b60985f..70ad429 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.10.2.d \ No newline at end of file +1.10.2 \ No newline at end of file diff --git a/assets/v1.10/js/primer_spec_plugin.min.js b/assets/v1.10/js/primer_spec_plugin.min.js index da8840f..719aa5c 100644 --- a/assets/v1.10/js/primer_spec_plugin.min.js +++ b/assets/v1.10/js/primer_spec_plugin.min.js @@ -1,2 +1,2 @@ -(()=>{var e,t={287:function(e,t){var o,r,n;!function(i,l){"use strict";r=[],void 0===(n="function"==typeof(o=function(){return function(e){function t(e){e.icon=Object.prototype.hasOwnProperty.call(e,"icon")?e.icon:"",e.visible=Object.prototype.hasOwnProperty.call(e,"visible")?e.visible:"hover",e.placement=Object.prototype.hasOwnProperty.call(e,"placement")?e.placement:"right",e.ariaLabel=Object.prototype.hasOwnProperty.call(e,"ariaLabel")?e.ariaLabel:"Anchor",e.class=Object.prototype.hasOwnProperty.call(e,"class")?e.class:"",e.base=Object.prototype.hasOwnProperty.call(e,"base")?e.base:"",e.truncate=Object.prototype.hasOwnProperty.call(e,"truncate")?Math.floor(e.truncate):64,e.titleText=Object.prototype.hasOwnProperty.call(e,"titleText")?e.titleText:""}function o(e){var t;if("string"==typeof e||e instanceof String)t=[].slice.call(document.querySelectorAll(e));else{if(!(Array.isArray(e)||e instanceof NodeList))throw new TypeError("The selector provided to AnchorJS was invalid.");t=[].slice.call(e)}return t}this.options=e||{},this.elements=[],t(this.options),this.isTouchDevice=function(){return Boolean("ontouchstart"in window||window.TouchEvent||window.DocumentTouch&&document instanceof DocumentTouch)},this.add=function(e){var r,n,i,l,c,a,s,d,u,h,p,m,f=[];if(t(this.options),"touch"===(p=this.options.visible)&&(p=this.isTouchDevice()?"always":"hover"),e||(e="h2, h3, h4, h5, h6"),0===(r=o(e)).length)return this;for(function(){if(null===document.head.querySelector("style.anchorjs")){var e,t=document.createElement("style");t.className="anchorjs",t.appendChild(document.createTextNode("")),void 0===(e=document.head.querySelector('[rel="stylesheet"],style'))?document.head.appendChild(t):document.head.insertBefore(t,e),t.sheet.insertRule(".anchorjs-link{opacity:0;text-decoration:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}",t.sheet.cssRules.length),t.sheet.insertRule(":hover>.anchorjs-link,.anchorjs-link:focus{opacity:1}",t.sheet.cssRules.length),t.sheet.insertRule("[data-anchorjs-icon]::after{content:attr(data-anchorjs-icon)}",t.sheet.cssRules.length),t.sheet.insertRule('@font-face{font-family:anchorjs-icons;src:url(data:n/a;base64,AAEAAAALAIAAAwAwT1MvMg8yG2cAAAE4AAAAYGNtYXDp3gC3AAABpAAAAExnYXNwAAAAEAAAA9wAAAAIZ2x5ZlQCcfwAAAH4AAABCGhlYWQHFvHyAAAAvAAAADZoaGVhBnACFwAAAPQAAAAkaG10eASAADEAAAGYAAAADGxvY2EACACEAAAB8AAAAAhtYXhwAAYAVwAAARgAAAAgbmFtZQGOH9cAAAMAAAAAunBvc3QAAwAAAAADvAAAACAAAQAAAAEAAHzE2p9fDzz1AAkEAAAAAADRecUWAAAAANQA6R8AAAAAAoACwAAAAAgAAgAAAAAAAAABAAADwP/AAAACgAAA/9MCrQABAAAAAAAAAAAAAAAAAAAAAwABAAAAAwBVAAIAAAAAAAIAAAAAAAAAAAAAAAAAAAAAAAMCQAGQAAUAAAKZAswAAACPApkCzAAAAesAMwEJAAAAAAAAAAAAAAAAAAAAARAAAAAAAAAAAAAAAAAAAAAAQAAg//0DwP/AAEADwABAAAAAAQAAAAAAAAAAAAAAIAAAAAAAAAIAAAACgAAxAAAAAwAAAAMAAAAcAAEAAwAAABwAAwABAAAAHAAEADAAAAAIAAgAAgAAACDpy//9//8AAAAg6cv//f///+EWNwADAAEAAAAAAAAAAAAAAAAACACEAAEAAAAAAAAAAAAAAAAxAAACAAQARAKAAsAAKwBUAAABIiYnJjQ3NzY2MzIWFxYUBwcGIicmNDc3NjQnJiYjIgYHBwYUFxYUBwYGIwciJicmNDc3NjIXFhQHBwYUFxYWMzI2Nzc2NCcmNDc2MhcWFAcHBgYjARQGDAUtLXoWOR8fORYtLTgKGwoKCjgaGg0gEhIgDXoaGgkJBQwHdR85Fi0tOAobCgoKOBoaDSASEiANehoaCQkKGwotLXoWOR8BMwUFLYEuehYXFxYugC44CQkKGwo4GkoaDQ0NDXoaShoKGwoFBe8XFi6ALjgJCQobCjgaShoNDQ0NehpKGgobCgoKLYEuehYXAAAADACWAAEAAAAAAAEACAAAAAEAAAAAAAIAAwAIAAEAAAAAAAMACAAAAAEAAAAAAAQACAAAAAEAAAAAAAUAAQALAAEAAAAAAAYACAAAAAMAAQQJAAEAEAAMAAMAAQQJAAIABgAcAAMAAQQJAAMAEAAMAAMAAQQJAAQAEAAMAAMAAQQJAAUAAgAiAAMAAQQJAAYAEAAMYW5jaG9yanM0MDBAAGEAbgBjAGgAbwByAGoAcwA0ADAAMABAAAAAAwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAH//wAP) format("truetype")}',t.sheet.cssRules.length)}}(),n=document.querySelectorAll("[id]"),i=[].map.call(n,(function(e){return e.id})),c=0;c\]./()*\\\n\t\b\v\u00A0]/g,"-").replace(/-{2,}/g,"-").substring(0,this.options.truncate).replace(/^-+|-+$/gm,"").toLowerCase()},this.hasAnchorJSLink=function(e){var t=e.firstChild&&(" "+e.firstChild.className+" ").indexOf(" anchorjs-link ")>-1,o=e.lastChild&&(" "+e.lastChild.className+" ").indexOf(" anchorjs-link ")>-1;return t||o||!1}}})?o.apply(t,r):o)||(e.exports=n)}()},916:(e,t,o)=>{"use strict";o.d(t,{h:()=>k});const r=Object.keys;function n(e){return"string"==typeof e}function i(e){return"number"==typeof e}function l(e){return"object"==typeof e?null!==e:c(e)}function c(e){return"function"==typeof e}function a(e,t){if(e)for(const o of r(e))t(e[o],o)}const s={animationIterationCount:0,borderImageOutset:0,borderImageSlice:0,borderImageWidth:0,boxFlex:0,boxFlexGroup:0,boxOrdinalGroup:0,columnCount:0,columns:0,flex:0,flexGrow:0,flexPositive:0,flexShrink:0,flexNegative:0,flexOrder:0,gridArea:0,gridRow:0,gridRowEnd:0,gridRowSpan:0,gridRowStart:0,gridColumn:0,gridColumnEnd:0,gridColumnSpan:0,gridColumnStart:0,fontWeight:0,lineClamp:0,lineHeight:0,opacity:0,order:0,orphans:0,tabSize:0,widows:0,zIndex:0,zoom:0,fillOpacity:0,floodOpacity:0,stopOpacity:0,strokeDasharray:0,strokeDashoffset:0,strokeMiterlimit:0,strokeOpacity:0,strokeWidth:0},d=["Webkit","ms","Moz","O"];r(s).forEach((e=>{d.forEach((t=>{s[function(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}(t,e)]=0}))}));const u=Symbol.for("jsx-dom:type");var h=function(e){return e.ShadowRoot="ShadowRoot",e}(h||{});const p="http://www.w3.org/2000/svg",m="http://www.w3.org/1999/xlink",f="http://www.w3.org/XML/1998/namespace";function g(e){return!("boolean"==typeof e||null==e)}const b="undefined"!=typeof DOMTokenList?DOMTokenList:function(){};function A(e){return Array.isArray(e)?e.map(A).filter(Boolean).join(" "):e instanceof b?""+e:l(e)?r(e).filter((t=>e[t])).join(" "):g(e)?""+e:""}const _={animate:0,circle:0,clipPath:0,defs:0,desc:0,ellipse:0,feBlend:0,feColorMatrix:0,feComponentTransfer:0,feComposite:0,feConvolveMatrix:0,feDiffuseLighting:0,feDisplacementMap:0,feDistantLight:0,feFlood:0,feFuncA:0,feFuncB:0,feFuncG:0,feFuncR:0,feGaussianBlur:0,feImage:0,feMerge:0,feMergeNode:0,feMorphology:0,feOffset:0,fePointLight:0,feSpecularLighting:0,feSpotLight:0,feTile:0,feTurbulence:0,filter:0,foreignObject:0,g:0,image:0,line:0,linearGradient:0,marker:0,mask:0,metadata:0,path:0,pattern:0,polygon:0,polyline:0,radialGradient:0,rect:0,stop:0,svg:0,switch:0,symbol:0,text:0,textPath:0,tspan:0,use:0,view:0},w=/^(a(ll|t|u)|base[FP]|c(al|lipPathU|on)|di|ed|ex|filter[RU]|g(lyphR|r)|ke|l(en|im)|ma(rker[HUW]|s)|n|pat|pr|point[^e]|re[^n]|s[puy]|st[^or]|ta|textL|vi|xC|y|z)/;function v(e,t){let o,{children:i,...a}=t;if(a.namespaceURI||0!==_[e]||(a={...a,namespaceURI:p}),n(e)){if(o=a.namespaceURI?document.createElementNS(a.namespaceURI,e):document.createElement(e),function(e,t){for(const o of r(e))T(o,e[o],t)}(a,o),E(i,o),o instanceof window.HTMLSelectElement&&null!=a.value)if(!0===a.multiple&&Array.isArray(a.value)){const e=a.value.map((e=>String(e)));o.querySelectorAll("option").forEach((t=>t.selected=e.includes(t.value)))}else o.value=a.value;y(a.ref,o)}else{if(!c(e))throw new TypeError(`Invalid JSX element type: ${e}`);l(e.defaultProps)&&(a={...e.defaultProps,...a}),o=function(e){const{prototype:t}=e;return!(!t||!t.isReactComponent)}(e)?function(e,t,o){return new e(t={...t,children:o}).render()}(e,a,i):e({...a,children:i})}return o}function k(e,t){for(var o=arguments.length,r=new Array(o>2?o-2:0),i=2;it+e.toLowerCase()))}function C(e,t){null==t||!1===t||(Array.isArray(t)?t.forEach((t=>C(e,t))):n(t)?e.setAttribute("style",t):l(t)&&a(t,((t,o)=>{0===o.indexOf("-")?e.style.setProperty(o,t):i(t)&&0!==s[o]?e.style[o]=t+"px":e.style[o]=t})))}function T(e,t,o){switch(e){case"xlinkActuate":case"xlinkArcrole":case"xlinkHref":case"xlinkRole":case"xlinkShow":case"xlinkTitle":case"xlinkType":return void N(o,m,x(e,":"),t);case"xmlnsXlink":return void L(o,x(e,":"),t);case"xmlBase":case"xmlLang":case"xmlSpace":return void N(o,f,x(e,":"),t)}switch(e){case"htmlFor":return void L(o,"for",t);case"dataset":return void a(t,((e,t)=>{null!=e&&(o.dataset[t]=e)}));case"innerHTML":case"innerText":case"textContent":return void(g(t)&&(o[e]=t));case"dangerouslySetInnerHTML":return void(l(t)&&(o.innerHTML=t.__html));case"value":if(null==t||o instanceof window.HTMLSelectElement)return;if(o instanceof window.HTMLTextAreaElement)return void(o.value=t);break;case"spellCheck":return void(o.spellcheck=t);case"class":case"className":return void(c(t)?t(o):L(o,"class",A(t)));case"ref":case"namespaceURI":return;case"style":return void C(o,t);case"on":case"onCapture":return void a(t,((t,r)=>{o.addEventListener(r,t,"onCapture"===e)}))}if(c(t)){if("o"===e[0]&&"n"===e[1]){let r=e.toLowerCase();const n=r.endsWith("capture");if("ondoubleclick"===r?r="ondblclick":n&&"ondoubleclickcapture"===r&&(r="ondblclickcapture"),n||null!==o[r])if(n)o.addEventListener(r.substring(2,r.length-7),t,!0);else{let n;n=r in window?r.substring(2):r[2]+e.slice(3),o.addEventListener(n,t)}else o[r]=t}}else l(t)?o[e]=t:!0===t?L(o,e,""):!1!==t&&null!=t&&(o instanceof SVGElement&&!w.test(e)?L(o,x(e,"-"),t):L(o,e,t))}function L(e,t,o){e.setAttribute(t,o)}function N(e,t,o,r){e.setAttributeNS(t,o,r)}}},o={};function r(e){var n=o[e];if(void 0!==n)return n.exports;var i=o[e]={exports:{}};return t[e].call(i.exports,i,i.exports,r),i.exports}r.m=t,r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var o in t)r.o(t,o)&&!r.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},r.f={},r.e=e=>Promise.all(Object.keys(r.f).reduce(((t,o)=>(r.f[o](e,t),t)),[])),r.u=e=>e+".primer_spec_plugin.min.js",r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),e={},r.l=(t,o,n,i)=>{if(e[t])e[t].push(o);else{var l,c;if(void 0!==n)for(var a=document.getElementsByTagName("script"),s=0;s{l.onerror=l.onload=null,clearTimeout(h);var n=e[t];if(delete e[t],l.parentNode&&l.parentNode.removeChild(l),n&&n.forEach((e=>e(r))),o)return o(r)},h=setTimeout(u.bind(null,void 0,{type:"timeout",target:l}),12e4);l.onerror=u.bind(null,l.onerror),l.onload=u.bind(null,l.onload),c&&document.head.appendChild(l)}},r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e;r.g.importScripts&&(e=r.g.location+"");var t=r.g.document;if(!e&&t&&(t.currentScript&&(e=t.currentScript.src),!e)){var o=t.getElementsByTagName("script");if(o.length)for(var n=o.length-1;n>-1&&!e;)e=o[n--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),r.p=e})(),(()=>{var e={179:0};r.f.j=(t,o)=>{var n=r.o(e,t)?e[t]:void 0;if(0!==n)if(n)o.push(n[2]);else{var i=new Promise(((o,r)=>n=e[t]=[o,r]));o.push(n[2]=i);var l=r.p+r.u(t),c=new Error;r.l(l,(o=>{if(r.o(e,t)&&(0!==(n=e[t])&&(e[t]=void 0),n)){var i=o&&("load"===o.type?"missing":o.type),l=o&&o.target&&o.target.src;c.message="Loading chunk "+t+" failed.\n("+i+": "+l+")",c.name="ChunkLoadError",c.type=i,c.request=l,n[1](c)}}),"chunk-"+t,t)}};var t=(t,o)=>{var n,i,[l,c,a]=o,s=0;if(l.some((t=>0!==e[t]))){for(n in c)r.o(c,n)&&(r.m[n]=c[n]);a&&a(r)}for(t&&t(o);s{"use strict";var e,t,o,n,i,l,c,a=r(287),s=r.n(a),d={},u=[],h=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,p=Array.isArray;function m(e,t){for(var o in t)e[o]=t[o];return e}function f(e){var t=e.parentNode;t&&t.removeChild(e)}function g(t,o,r){var n,i,l,c={};for(l in o)"key"==l?n=o[l]:"ref"==l?i=o[l]:c[l]=o[l];if(arguments.length>2&&(c.children=arguments.length>3?e.call(arguments,2):r),"function"==typeof t&&null!=t.defaultProps)for(l in t.defaultProps)void 0===c[l]&&(c[l]=t.defaultProps[l]);return b(t,c,n,i,null)}function b(e,r,n,i,l){var c={type:e,props:r,key:n,ref:i,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==l?++o:l};return null==l&&null!=t.vnode&&t.vnode(c),c}function A(e){return e.children}function _(e,t){this.props=e,this.context=t}function w(e,t){if(null==t)return e.__?w(e.__,e.__.__k.indexOf(e)+1):null;for(var o;tt&&n.sort(c));y.__r=0}function E(e,t,o,r,n,i,l,c,a,s,h){var m,f,g,_,v,k,y,E,T,L=0,N=r&&r.__k||u,M=N.length,P=M,O=t.length;for(o.__k=[],m=0;m0?b(_.type,_.props,_.key,_.ref?_.ref:null,_.__v):_)?(_.__=o,_.__b=o.__b+1,-1===(E=C(_,N,y=m+L,P))?g=d:(g=N[E]||d,N[E]=void 0,P--),I(e,_,g,n,i,l,c,a,s,h),v=_.__e,(f=_.ref)&&g.ref!=f&&(g.ref&&D(g.ref,null,_),h.push(f,_.__c||v,_)),null!=v&&(null==k&&(k=v),(T=g===d||null===g.__v)?-1==E&&L--:E!==y&&(E===y+1?L++:E>y?P>O-y?L+=E-y:L--:L=E(null!=a?1:0))for(;l>=0||c=0){if((a=t[l])&&n==a.key&&i===a.type)return l;l--}if(c=r.__.length&&r.__.push({__V:z}),r.__[e]}function X(e){return j=1,function(e,t,o){var r=V($++,2);if(r.t=e,!r.__c&&(r.__=[se(void 0,t),function(e){var t=r.__N?r.__N[0]:r.__[0],o=r.t(t,e);t!==o&&(r.__N=[o,r.__[1]],r.__c.setState({}))}],r.__c=H,!H.u)){var n=function(e,t,o){if(!r.__c.__H)return!0;var n=r.__c.__H.__.filter((function(e){return e.__c}));if(n.every((function(e){return!e.__N})))return!i||i.call(this,e,t,o);var l=!1;return n.forEach((function(e){if(e.__N){var t=e.__[0];e.__=e.__N,e.__N=void 0,t!==e.__[0]&&(l=!0)}})),!(!l&&r.__c.props===e)&&(!i||i.call(this,e,t,o))};H.u=!0;var i=H.shouldComponentUpdate,l=H.componentWillUpdate;H.componentWillUpdate=function(e,t,o){if(this.__e){var r=i;i=void 0,n(e,t,o),i=r}l&&l.call(this,e,t,o)},H.shouldComponentUpdate=n}return r.__N||r.__}(se,e)}function Z(e,o){var r=V($++,3);!t.__s&&ae(r.__H,o)&&(r.__=e,r.i=o,H.__H.__h.push(r))}function J(e,o){var r=V($++,4);!t.__s&&ae(r.__H,o)&&(r.__=e,r.i=o,H.__h.push(r))}function ee(e){return j=5,te((function(){return{current:e}}),[])}function te(e,t){var o=V($++,7);return ae(o.__H,t)?(o.__V=e(),o.i=t,o.__h=e,o.__V):o.__}function oe(e,t){return j=8,te((function(){return e}),t)}function re(){for(var e;e=Y.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(le),e.__H.__h.forEach(ce),e.__H.__h=[]}catch(o){e.__H.__h=[],t.__e(o,e.__v)}}t.__b=function(e){H=null,G&&G(e)},t.__r=function(e){W&&W(e),$=0;var t=(H=e.__c).__H;t&&(U===H?(t.__h=[],H.__h=[],t.__.forEach((function(e){e.__N&&(e.__=e.__N),e.__V=z,e.__N=e.i=void 0}))):(t.__h.forEach(le),t.__h.forEach(ce),t.__h=[],$=0)),U=H},t.diffed=function(e){q&&q(e);var o=e.__c;o&&o.__H&&(o.__H.__h.length&&(1!==Y.push(o)&&F===t.requestAnimationFrame||((F=t.requestAnimationFrame)||ie)(re)),o.__H.__.forEach((function(e){e.i&&(e.__H=e.i),e.__V!==z&&(e.__=e.__V),e.i=void 0,e.__V=z}))),U=H=null},t.__c=function(e,o){o.some((function(e){try{e.__h.forEach(le),e.__h=e.__h.filter((function(e){return!e.__||ce(e)}))}catch(r){o.some((function(e){e.__h&&(e.__h=[])})),o=[],t.__e(r,e.__v)}})),K&&K(e,o)},t.unmount=function(e){Q&&Q(e);var o,r=e.__c;r&&r.__H&&(r.__H.__.forEach((function(e){try{le(e)}catch(e){o=e}})),r.__H=void 0,o&&t.__e(o,r.__v))};var ne="function"==typeof requestAnimationFrame;function ie(e){var t,o=function(){clearTimeout(r),ne&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(o,100);ne&&(t=requestAnimationFrame(o))}function le(e){var t=H,o=e.__c;"function"==typeof o&&(e.__c=void 0,o()),H=t}function ce(e){var t=H;e.__c=e.__(),H=t}function ae(e,t){return!e||e.length!==t.length||t.some((function(t,o){return t!==e[o]}))}function se(e,t){return"function"==typeof t?t(e):t}const de=["--sidebar-bg-color","--sidebar-border-color","--sidebar-heading-text-color","--sidebar-heading-link-color","--sidebar-toc-h1-link-color","--sidebar-toc-h1-border-color","--sidebar-toc-h2-link-color","--sidebar-active-toc-section-bg-color","--sidebar-active-toc-section-link-color","--sidebar-active-toc-h1-section-link-color","--sidebar-active-toc-h2-section-link-color","--sidebar-toc-section-link-color","--sidebar-tt-active-text-color","--sidebar-tt-active-bg-color","--sidebar-tt-active-border","--sidebar-tt-active-border-radius","--sidebar-resize-handle","--main-heading-text-color","--main-heading-link-color","--main-link-color","--hoverable-link-hover-color","--main-header-border-bottom-color","--main-image-border-color","--main-image-border-color-inverted","--tt-text-color","--tt-bg-color","--tt-border","--tt-border-radius","--main-bg-color","--main-text-color","--main-table-bg-color","--main-table-bg-contrast-color","--main-table-pre-bg-color","--main-table-pre-text-color","--main-table-pre-border","--main-blockquote-text-color","--main-blockquote-text-border","--main-header-border-bottom-color","--primer-spec-callout-neutral-bg-color","--primer-spec-callout-neutral-text-color","--primer-spec-callout-neutral-border-color","--primer-spec-callout-info-bg-color","--primer-spec-callout-info-text-color","--primer-spec-callout-info-border-color","--primer-spec-callout-info-icon-color","--primer-spec-callout-warning-bg-color","--primer-spec-callout-warning-text-color","--primer-spec-callout-warning-border-color","--primer-spec-callout-warning-icon-color","--primer-spec-callout-danger-bg-color","--primer-spec-callout-danger-text-color","--primer-spec-callout-danger-border-color","--primer-spec-callout-danger-icon-color","--primer-spec-callout-success-bg-color","--primer-spec-callout-success-text-color","--primer-spec-callout-success-border-color","--primer-spec-callout-success-icon-color","--code-block-default-color","--code-block-border-color","--code-block-header-bg-color","--code-block-bg-color","--code-block-line-number-color","--code-block-highlight-bg-color","--code-block-highlight-shadow-color","--code-block-button-color","--code-block-button-bg-color","--code-block-button-border-color","--code-block-button-shadow","--code-block-button-shadow-inset-color","--code-block-button-hover-bg-color","--code-block-button-hover-border-color","--tooltip-background-color","--tooltip-color","--kbd-border-color"],ue=["color","background-color","font-style","font-weight"],he=["cm","cp","c1","cs","cd","c","err","gd","ge","gr","gh","gi","go","gp","gs","gu","gt","kc","kd","kn","kp","kr","kt","kv","k","mf","mh","il","mi","mo","mb","mx","m","sb","sc","sd","s2","se","sh","si","sx","sr","s1","ss","s","na","bp","nb","nc","no","nd","ni","ne","nf","nl","nn","nt","nx","vc","vg","vi","nv","ow","o","w","txt"];function pe(){const e=document.documentElement;he.map((t=>{ue.map((o=>{const r=`--primer-spec-rouge-${t}-${o}`;e.style.removeProperty(r)}))}))}function me(e,t){return{name:e,apply:()=>function(e){const t=document.documentElement;he.map((o=>{if(e[o])for(const[r,n]of Object.entries(e[o])){const e=`--primer-spec-rouge-${o}-${r}`;t.style.setProperty(e,n??null)}}))}(t),reset:pe}}const fe="#a6e22e",ge="#f92672",be="#960050",Ae="#49483e",_e="#999999",we="#868064",ve="#aaaaaa",ke="#ae81ff",ye="#66d9ef",Ee="#e6db74",Se="#f6aa11",xe="#ffffff",Ce={cm:{color:we},cp:{color:ve},c1:{color:we},cs:{color:we},cd:{color:we},c:{color:we},err:{color:be},gd:{color:Ae},ge:{color:ve,"font-style":"italic"},gr:{color:be},gh:{color:"#999999"},gi:{color:Ae},go:{color:_e},gp:{color:_e},gs:{"font-weight":"bold"},gu:{color:ve},gt:{color:be},kc:{color:ye},kd:{color:ye,"font-style":"italic"},kn:{color:ge},kp:{color:ge},kr:{color:ye},kt:{color:ye,"font-style":"italic"},kv:{color:ge},k:{color:ge},mf:{color:ke},mh:{color:ke},il:{color:ke},mi:{color:ke},mo:{color:ke},mb:{color:ke},mx:{color:ke},m:{color:ke},sb:{color:Ee},sc:{color:ke},sd:{color:Ee},s2:{color:Ee},se:{color:ke},sh:{color:Ee},si:{color:Ee},sx:{color:Ee},sr:{color:Se},s1:{color:Ee},ss:{color:ke},s:{color:Ee},na:{color:fe},bp:{color:xe},nb:{color:Se},nc:{color:fe},no:{color:ye},nd:{color:fe},ni:{color:xe},ne:{color:fe},nf:{color:fe},nl:{color:xe},nn:{color:xe},nt:{color:ge},nx:{color:xe},vc:{color:xe},vg:{color:xe},vi:{color:xe},nv:{color:xe},ow:{color:ge},o:{color:xe},w:{color:xe},txt:{color:xe,"background-color":"rgb(35, 37, 41)"}},Te={default:me("default",{cm:{color:"#999988","font-style":"italic"},cp:{color:"#999999","font-weight":"bold"},c1:{color:"#999988","font-style":"italic"},cs:{color:"#999999","font-weight":"bold","font-style":"italic"},cd:{color:"#999988","font-style":"italic"},c:{color:"#999988","font-style":"italic"},err:{color:"#a61717","background-color":"#e3d2d2"},gd:{color:"#000000","background-color":"#ffdddd"},ge:{color:"#000000","font-style":"italic"},gr:{color:"#aa0000"},gh:{color:"#999999"},gi:{color:"#000000","background-color":"#ddffdd"},go:{color:"#888888"},gp:{color:"#555555"},gs:{"font-weight":"bold"},gu:{color:"#aaaaaa"},gt:{color:"#aa0000"},kc:{color:"#000000","font-weight":"bold"},kd:{color:"#000000","font-weight":" bold"},kn:{color:"#000000","font-weight":"bold"},kp:{color:"#000000","font-weight":"bold"},kr:{color:"#000000","font-weight":"bold"},kt:{color:"#445588","font-weight":"bold"},kv:{color:"#000000","font-weight":"bold"},k:{color:"#000000","font-weight":"bold"},mf:{color:"#009999"},mh:{color:"#009999"},il:{color:"#009999"},mi:{color:"#009999"},mo:{color:"#009999"},mb:{color:"#009999"},mx:{color:"#009999"},m:{color:"#009999"},sb:{color:"#d14"},sc:{color:"#d14"},sd:{color:"#d14"},s2:{color:"#d14"},se:{color:"#d14"},sh:{color:"#d14"},si:{color:"#d14"},sx:{color:"#d14"},sr:{color:"#009926"},s1:{color:"#d14"},ss:{color:"#990073"},s:{color:"#d14"},na:{color:"#008080"},bp:{color:"#999999"},nb:{color:"#0086B3"},nc:{color:"#445588","font-weight":"bold"},no:{color:"#008080"},nd:{color:"#3c5d5d","font-weight":"bold"},ni:{color:"#800080"},ne:{color:"#990000","font-weight":"bold"},nf:{color:"#990000","font-weight":"bold"},nl:{color:"#990000","font-weight":"bold"},nn:{color:"#555555"},nt:{color:"#000080"},nx:{color:"#000000"},vc:{color:"#008080"},vg:{color:"#008080"},vi:{color:"#008080"},nv:{color:"#008080"},ow:{color:"#000000","font-weight":"bold"},o:{color:"#000000","font-weight":"bold"},w:{color:"#bbbbbb"},txt:{"background-color":"#f8f8f8"}}),monokai:me("monokai",Ce)};function Le(e,t,o){return{name:e,label:t,theme_definition:o,apply:e=>function(e,t){const o=e[t],r=document.body;for(const[e,t]of Object.entries(o))r.style.setProperty(e,t||null);let n=o.rouge_theme;n&&Te[n]||(n="default"),Te[n].apply(),document.documentElement.setAttribute("data-theme-mode",t)}(o,e),reset:e=>function(e,t){const o=e[t],r=document.body;de.map((e=>{r.style.removeProperty(e)})),o.rouge_theme&&Te[o.rouge_theme]&&Te[o.rouge_theme].reset()}(o,e)}}const Ne="#c9d1d9",Me="#161b22",Ie="rgb(60, 62, 66)",Pe="#21262d",Oe={"--sidebar-border-color":Pe,"--main-text-color":Ne,"--main-table-bg-color":"#0d1117","--main-table-bg-contrast-color":"#262d36","--main-table-pre-bg-color":Me,"--main-table-pre-text-color":"white","--main-table-pre-border":`1px solid ${Ie}`,"--tt-bg-color":"rgba(240, 246, 252, 0.15)","--tt-text-color":Ne,"--tt-border":"0px","--tt-border-radius":"6px","--sidebar-tt-active-bg-color":"rgba(0, 0, 0, 0)","--main-blockquote-text-color":"#8b949e","--main-blockquote-text-border":"#3b434b","--main-header-border-bottom-color":Pe,"--main-image-border-color":Pe,"--main-image-border-color-inverted":"#eaecef","--primer-spec-callout-neutral-bg-color":"rgba(22, 27, 34, 0.8)","--primer-spec-callout-neutral-text-color":Ne,"--primer-spec-callout-neutral-border-color":"rgb(48, 54, 61)","--primer-spec-callout-info-bg-color":"rgba(56, 139, 253, 0.15)","--primer-spec-callout-info-text-color":Ne,"--primer-spec-callout-info-border-color":"rgba(56, 139, 253, 0.4)","--primer-spec-callout-info-icon-color":"#58a6ff","--primer-spec-callout-warning-bg-color":"rgba(187, 128, 9, 0.15)","--primer-spec-callout-warning-text-color":Ne,"--primer-spec-callout-warning-border-color":"rgba(187, 128, 9, 0.4)","--primer-spec-callout-warning-icon-color":"#d29922","--primer-spec-callout-danger-bg-color":"rgba(248, 81, 73, 0.15)","--primer-spec-callout-danger-text-color":Ne,"--primer-spec-callout-danger-border-color":"rgba(248, 81, 73, 0.4)","--primer-spec-callout-danger-icon-color":"#f85149","--primer-spec-callout-success-bg-color":"rgba(46, 160, 67, 0.15)","--primer-spec-callout-success-text-color":Ne,"--primer-spec-callout-success-border-color":"rgba(46, 160, 67, 0.4)","--primer-spec-callout-success-icon-color":"#3fb950","--code-block-default-color":Ne,"--code-block-border-color":Ie,"--code-block-header-bg-color":Me,"--code-block-bg-color":"rgb(13, 17, 23)","--code-block-line-number-color":"#484f58","--code-block-highlight-bg-color":"rgba(187, 128, 9, 0.15)","--code-block-highlight-shadow-color":"rgba(187, 128, 9, 0.4)","--code-block-button-color":Ne,"--code-block-button-bg-color":Pe,"--code-block-button-border-color":"rgba(240, 246, 252, 0.1)","--code-block-button-shadow":"0 0 transparent","--code-block-button-shadow-inset-color":"0 0 transparent","--code-block-button-hover-bg-color":"rgb(48, 54, 61)","--code-block-button-hover-border-color":"rgb(140, 148, 158)","--tooltip-background-color":"rgb(110, 118, 129)","--tooltip-color":"white","--kbd-border-color":"rgba(110, 118, 129, 0.4)"},De="#0d1117",Re="#cccccc",Be="#58a6ff",$e={light:{rouge_theme:"default"},dark:{"--sidebar-bg-color":De,"--sidebar-heading-text-color":Re,"--sidebar-heading-link-color":Re,"--sidebar-toc-h1-link-color":Be,"--sidebar-toc-h1-border-color":"#555","--sidebar-toc-h2-link-color":Be,"--sidebar-active-toc-section-bg-color":"#e4d93f","--sidebar-active-toc-section-link-color":De,"--sidebar-active-toc-h1-section-link-color":De,"--sidebar-active-toc-h2-section-link-color":De,"--sidebar-toc-section-link-color":Re,"--sidebar-tt-active-text-color":De,"--sidebar-resize-handle":"#333","--main-heading-text-color":"#e7ebee","--main-heading-link-color":Be,"--main-link-color":Be,"--hoverable-link-hover-color":"#9dd2fb","--main-bg-color":De,...Oe,rouge_theme:"monokai"}},He="rgb(69, 98, 115)",Ue="rgb(219, 71, 93)",Fe="#61a1a8",je="rgb(218, 128, 131)",Ye="white",ze={light:{"--sidebar-bg-color":"rgb(246, 246, 246)","--sidebar-heading-text-color":He,"--sidebar-heading-link-color":Ue,"--sidebar-toc-h1-link-color":He,"--sidebar-toc-h1-border-color":He,"--sidebar-toc-h2-link-color":He,"--sidebar-active-toc-section-bg-color":He,"--sidebar-active-toc-section-link-color":"white","--sidebar-active-toc-h1-section-link-color":"white","--sidebar-active-toc-h2-section-link-color":"white","--sidebar-toc-section-link-color":"rgb(58, 58, 58)","--sidebar-resize-handle":"#ccc","--main-heading-text-color":He,"--main-heading-link-color":Ue,"--main-link-color":Ue,"--tt-border-radius":"3px","--hoverable-link-hover-color":"#731624",rouge_theme:"default"},dark:{"--sidebar-bg-color":"rgb(58, 58, 60)","--sidebar-heading-text-color":Ye,"--sidebar-heading-link-color":Ye,"--sidebar-toc-h1-link-color":Fe,"--sidebar-toc-h1-border-color":Fe,"--sidebar-toc-h2-link-color":Ye,"--sidebar-active-toc-section-bg-color":"rgb(67, 116, 121)","--sidebar-active-toc-section-link-color":Ye,"--sidebar-active-toc-h1-section-link-color":Ye,"--sidebar-active-toc-h2-section-link-color":Ye,"--sidebar-toc-section-link-color":Ye,"--sidebar-tt-active-text-color":Ye,"--sidebar-resize-handle":"#555","--main-heading-text-color":Fe,"--main-heading-link-color":je,"--main-link-color":je,"--hoverable-link-hover-color":"#fdf6f7","--main-bg-color":"rgb(28, 28, 30)",...Oe,rouge_theme:"monokai"}},Ge="rgb(41, 82, 91)",We="rgb(229, 214, 204)",qe="rgb(114, 202, 195)",Ke="rgb(233, 114, 110)",Qe="rgb(79, 205, 196)",Ve="rgb(242, 224, 213)",Xe="rgb(22, 60, 60)",Ze={light:{"--sidebar-bg-color":Ge,"--sidebar-heading-text-color":qe,"--sidebar-heading-link-color":qe,"--sidebar-toc-h1-link-color":We,"--sidebar-toc-h1-border-color":We,"--sidebar-toc-h2-link-color":"white","--sidebar-resize-handle":"#246161","--sidebar-active-toc-section-bg-color":"rgb(248, 255, 248)","--sidebar-active-toc-section-link-color":Ge,"--sidebar-active-toc-h1-section-link-color":Ge,"--sidebar-active-toc-h2-section-link-color":Ge,"--sidebar-toc-section-link-color":"white","--main-heading-text-color":Ge,"--main-heading-link-color":Ge,"--main-link-color":Ke,"--tt-border-radius":"3px","--hoverable-link-hover-color":"#a51e19",rouge_theme:"default"},dark:{"--sidebar-bg-color":Xe,"--sidebar-heading-link-color":qe,"--sidebar-heading-text-color":qe,"--sidebar-toc-h1-link-color":Ve,"--sidebar-toc-h1-border-color":Ve,"--sidebar-toc-h2-link-color":"white","--sidebar-active-toc-section-bg-color":"rgb(248, 255, 248)","--sidebar-active-toc-section-link-color":Xe,"--sidebar-active-toc-h1-section-link-color":Xe,"--sidebar-active-toc-h2-section-link-color":Xe,"--sidebar-toc-section-link-color":"white","--sidebar-tt-active-text-color":Xe,"--sidebar-resize-handle":"#246161","--main-heading-text-color":Qe,"--main-heading-link-color":Qe,"--main-link-color":Ke,"--hoverable-link-hover-color":"#fdf3f3","--main-bg-color":"rgb(28, 28, 30)",...Oe,rouge_theme:"monokai"}},Je="rgb(40, 41, 35)",et="white",tt="rgb(58, 58, 58)",ot="rgb(137, 135, 205)",rt="#ffae66",nt="#555",it={light:{"--sidebar-bg-color":"rgb(242, 243, 243)","--sidebar-heading-text-color":tt,"--sidebar-heading-link-color":tt,"--sidebar-border-color":nt,"--sidebar-toc-h1-link-color":tt,"--sidebar-toc-h1-border-color":"rgb(125, 125, 125)","--sidebar-toc-h2-link-color":tt,"--sidebar-active-toc-section-bg-color":"rgb(90, 151, 247)","--sidebar-active-toc-section-link-color":"white","--sidebar-active-toc-h1-section-link-color":"white","--sidebar-active-toc-h2-section-link-color":"white","--sidebar-toc-section-link-color":tt,"--sidebar-resize-handle":rt,"--main-heading-text-color":ot,"--main-heading-link-color":ot,"--main-link-color":rt,"--hoverable-link-hover-color":"#cc6000","--main-bg-color":Je,"--main-text-color":et,"--main-table-pre-bg-color":"#f6f8fa","--main-table-pre-text-color":"black","--main-blockquote-text-color":"#ccc","--tt-text-color":"white","--tt-bg-color":"#696969","--tt-border-radius":"3px","--main-header-border-bottom-color":nt,"--primer-spec-callout-neutral-text-color":"black","--primer-spec-callout-info-text-color":"black","--primer-spec-callout-warning-text-color":"black","--primer-spec-callout-danger-text-color":"black","--primer-spec-callout-success-text-color":"black",rouge_theme:"default"},dark:{...Oe,"--sidebar-bg-color":"rgb(75, 77, 85)","--sidebar-heading-text-color":"white","--sidebar-heading-link-color":"white","--sidebar-border-color":nt,"--sidebar-toc-h1-link-color":"white","--sidebar-toc-h1-border-color":"rgb(125, 125, 125)","--sidebar-toc-h2-link-color":"white","--sidebar-active-toc-section-bg-color":"rgb(90, 151, 247)","--sidebar-active-toc-section-link-color":"white","--sidebar-active-toc-h1-section-link-color":"white","--sidebar-active-toc-h2-section-link-color":"white","--sidebar-toc-section-link-color":"white","--sidebar-resize-handle":ot,"--main-heading-text-color":ot,"--main-heading-link-color":ot,"--main-link-color":rt,"--hoverable-link-hover-color":"white","--main-bg-color":Je,"--main-text-color":et,"--main-table-pre-bg-color":Je,"--main-table-pre-text-color":et,"--main-table-pre-border":"1px solid rgb(60, 62, 66)","--tt-text-color":"white","--tt-border-radius":"6px","--main-blockquote-text-color":"#999999","--main-header-border-bottom-color":nt,rouge_theme:"monokai"}},lt={default:Le("default","Primer",$e),bella:Le("bella","Bella",ze),modern:Le("modern","Modern",Ze),"xcode-civic":Le("xcode-civic","Xcode Civic",it)};window.PrimerSpec={...window.PrimerSpec,REGISTERED_SUBTHEMES:lt,registerNewSubtheme:function(e,t,o){lt[e]=Le(e,t,o)}};const ct={};window.addEventListener("storage",(e=>{if(!e.key)return;const t=ct[e.key];t&&t.forEach((t=>t(e.newValue,e.oldValue)))}));const at=function(e){let t;try{t=window.localStorage;const e="__storage_test__";return t.setItem(e,e),t.removeItem(e),!0}catch(e){return e instanceof DOMException&&(22===e.code||1014===e.code||"QuotaExceededError"===e.name||"NS_ERROR_DOM_QUOTA_REACHED"===e.name)&&t&&0!==t.length}}(),st={get:e=>at?window.localStorage.getItem(e):null,set(e,t){at&&window.localStorage.setItem(e,t)},getForPage(e){return this.get(dt(e))},setForPage(e,t){return this.set(dt(e),t.toString())},addListener(e,t){ct[e]||(ct[e]=[]),ct[e].push(t)},removeListener(e,t){const o=ct[e];o&&(ct[e]=o.filter((e=>e!==t)))},addListenerForPage(e,t){this.addListener(dt(e),t)},removeListenerForPage(e,t){this.removeListener(dt(e),t)}};function dt(e){return`${document.location.pathname}__${e}`}var ut;!function(e){e.ENHANCED="enhanced",e.NO_LINE_NUMBERS="no-line-numbers",e.LEGACY="legacy"}(ut||(ut={}));const ht="primer-spec-code-block-line-code",pt="primer-spec-code-block-processed",mt="primer-spec-code-block-title",ft="console",gt="spec_subtheme_name",bt="spec_subtheme_mode",At=st.get(gt)||window.PrimerSpecConfig.defaultSubthemeName||"default",_t=st.get(bt)||window.PrimerSpecConfig.defaultSubthemeMode||"system",wt=!!window.PrimerSpecConfig.sitemapEnabled,vt={VERSION_RAW:"1.10.1",VERSION_MINOR_STR:"v1.10",BUILD_MODE:"production",PDF_PATH:window.PrimerSpecConfig.pdfPath||null,SITE_QUALIFIED_BASE_URL:window.PrimerSpecConfig.siteQualifiedBaseUrl||"/",HIDE_SIDEBAR_ON_LOAD:function(){const e=st.getForPage("sidebar_hidden");let t=!1;return null!==e?t="true"===e:(t=window.PrimerSpecConfig.hideSidebarOnLoad||window.PrimerSpecConfig.disableSidebar||!1,st.setForPage("sidebar_hidden",t.toString())),t}(),DISABLE_SIDEBAR:window.PrimerSpecConfig.disableSidebar||!1,INIT_SUBTHEME_NAME:At,INIT_SUBTHEME_MODE:_t,INIT_SITEMAP_ENABLED:wt,SITEMAP_URLS:window.PrimerSpecConfig.sitemapUrls||[],SITEMAP_LABEL:null===window.PrimerSpecConfig.sitemapLabel?null:window.PrimerSpecConfig.sitemapLabel||"Supplemental Pages",SITEMAP_SITE_TITLE:window.PrimerSpecConfig.sitemapSiteTitle||"",DEFAULT_CODEBLOCK_VARIANT:function(){if(!0===window.PrimerSpecConfig.useLegacyCodeBlocks)return ut.LEGACY;const e=window.PrimerSpecConfig.defaultCodeblockVariant?.toLowerCase();return e&&Object.values(ut).includes(e)?e:ut.ENHANCED}(),USE_LEGACY_CODE_BLOCKS_DEPRECATED_DO_NOT_USE:window.PrimerSpecConfig.useLegacyCodeBlocks||!1,PRIMER_SPEC_APP_NODE_ID:"primer-spec-app-container",PRIMER_SPEC_CONTENT_PLUGIN_NODE_ID:"primer-spec-plugin-main-content",PRIMER_SPEC_CONTENT_PREACT_NODE_ID:"primer-spec-preact-main-content",SUBTHEME_NAME_STORAGE_KEY:gt,SUBTHEME_MODE_STORAGE_KEY:bt,DEFAULT_ACTIVE_SECTION_OFFSET_Y:10};function kt({name:e,mode:t}={},o=!0){const{name:r,mode:n}={name:yt(),mode:Et()},i=xt(e??r),l=Ct(t??n),c=St(l);if(o&&function({name:e,mode:t}){st.set(vt.SUBTHEME_NAME_STORAGE_KEY,e),st.set(vt.SUBTHEME_MODE_STORAGE_KEY,t)}({name:i,mode:l}),i===r&&c===n&&o)return;const a=lt[r],s=lt[i];a.reset(St(n)),s.apply(c)}function yt(){return xt(st.get(vt.SUBTHEME_NAME_STORAGE_KEY)??vt.INIT_SUBTHEME_NAME)}function Et(){return Ct(st.get(vt.SUBTHEME_MODE_STORAGE_KEY)??vt.INIT_SUBTHEME_MODE)}function St(e){return"system"!==e?e:window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}function xt(e){return e&<[e]?e:(console.warn(`Primer Spec: Invalid subtheme name: ${e}. Reverting to 'default'`),lt.default.name)}function Ct(e){switch(e){case"light":case"dark":case"system":return e}return console.warn(`Primer Spec: Invalid subtheme mode: ${e}. Reverting to 'system'`),"system"}function Tt(){const[e,t]=X(!1);return Lt(oe((()=>t(!0)),[])),Nt(oe((()=>t(!1)),[])),e}function Lt(e){Z((()=>{let t;return window.matchMedia&&(t=t=>{t.matches&&e()},window.matchMedia("print").addListener(t)),window.addEventListener("beforeprint",e),()=>{window.matchMedia&&window.matchMedia("print").removeListener(t),window.removeEventListener("beforeprint",e)}}),[e])}function Nt(e){Z((()=>{let t;return window.matchMedia&&(t=t=>{t.matches||e()},window.matchMedia("print").addListener(t)),window.addEventListener("afterprint",e),()=>{window.matchMedia&&window.matchMedia("print").removeListener(t),window.removeEventListener("afterprint",e)}}),[e])}function Mt(){return document.documentElement.clientWidth<900}function It(e){var t,o,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t{const t=document.createElement("label");t.innerHTML=e.innerHTML,e.innerHTML="",e.appendChild(t)}));const t=[...e.current.querySelectorAll('.task-list-item input.task-list-item-checkbox[type="checkbox"]')];let o=!1;var r;t.length!==function(){const e=st.getForPage(Dt)||"";return parseInt(e,10)||0}()&&(o=!0,r=t.length,st.setForPage(Dt,`${r}`));let n=!0;const i=()=>{n=!1};st.addListenerForPage(Dt,i);const l=[],c=[];return t.forEach(((e,t)=>{e.disabled=!1,o?$t(t,e.checked):e.checked=Bt(t);const r=()=>{n&&$t(t,e.checked)};l.push(r),e.addEventListener("change",r);const i=()=>{n&&(e.checked=Bt(t))};var a,s;c.push(i),a=t,s=i,st.addListenerForPage(`${Ot}_${a}`,s)})),()=>{t.forEach(((e,t)=>{var o,r;e.removeEventListener("change",l[t]),o=t,r=c[t],st.removeListenerForPage(`${Ot}_${o}`,r)})),st.removeListenerForPage(Dt,i)}}function Bt(e){return"true"===st.getForPage(`${Ot}_${e}`)}function $t(e,t){st.setForPage(`${Ot}_${e}`,`${t}`)}var Ht=r(916);function Ut(e){if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}const Ft=[["ß","ss"],["ẞ","Ss"],["ä","ae"],["Ä","Ae"],["ö","oe"],["Ö","Oe"],["ü","ue"],["Ü","Ue"],["À","A"],["Á","A"],["Â","A"],["Ã","A"],["Ä","Ae"],["Å","A"],["Æ","AE"],["Ç","C"],["È","E"],["É","E"],["Ê","E"],["Ë","E"],["Ì","I"],["Í","I"],["Î","I"],["Ï","I"],["Ð","D"],["Ñ","N"],["Ò","O"],["Ó","O"],["Ô","O"],["Õ","O"],["Ö","Oe"],["Ő","O"],["Ø","O"],["Ù","U"],["Ú","U"],["Û","U"],["Ü","Ue"],["Ű","U"],["Ý","Y"],["Þ","TH"],["ß","ss"],["à","a"],["á","a"],["â","a"],["ã","a"],["ä","ae"],["å","a"],["æ","ae"],["ç","c"],["è","e"],["é","e"],["ê","e"],["ë","e"],["ì","i"],["í","i"],["î","i"],["ï","i"],["ð","d"],["ñ","n"],["ò","o"],["ó","o"],["ô","o"],["õ","o"],["ö","oe"],["ő","o"],["ø","o"],["ù","u"],["ú","u"],["û","u"],["ü","ue"],["ű","u"],["ý","y"],["þ","th"],["ÿ","y"],["ẞ","SS"],["à","a"],["À","A"],["á","a"],["Á","A"],["â","a"],["Â","A"],["ã","a"],["Ã","A"],["è","e"],["È","E"],["é","e"],["É","E"],["ê","e"],["Ê","E"],["ì","i"],["Ì","I"],["í","i"],["Í","I"],["ò","o"],["Ò","O"],["ó","o"],["Ó","O"],["ô","o"],["Ô","O"],["õ","o"],["Õ","O"],["ù","u"],["Ù","U"],["ú","u"],["Ú","U"],["ý","y"],["Ý","Y"],["ă","a"],["Ă","A"],["Đ","D"],["đ","d"],["ĩ","i"],["Ĩ","I"],["ũ","u"],["Ũ","U"],["ơ","o"],["Ơ","O"],["ư","u"],["Ư","U"],["ạ","a"],["Ạ","A"],["ả","a"],["Ả","A"],["ấ","a"],["Ấ","A"],["ầ","a"],["Ầ","A"],["ẩ","a"],["Ẩ","A"],["ẫ","a"],["Ẫ","A"],["ậ","a"],["Ậ","A"],["ắ","a"],["Ắ","A"],["ằ","a"],["Ằ","A"],["ẳ","a"],["Ẳ","A"],["ẵ","a"],["Ẵ","A"],["ặ","a"],["Ặ","A"],["ẹ","e"],["Ẹ","E"],["ẻ","e"],["Ẻ","E"],["ẽ","e"],["Ẽ","E"],["ế","e"],["Ế","E"],["ề","e"],["Ề","E"],["ể","e"],["Ể","E"],["ễ","e"],["Ễ","E"],["ệ","e"],["Ệ","E"],["ỉ","i"],["Ỉ","I"],["ị","i"],["Ị","I"],["ọ","o"],["Ọ","O"],["ỏ","o"],["Ỏ","O"],["ố","o"],["Ố","O"],["ồ","o"],["Ồ","O"],["ổ","o"],["Ổ","O"],["ỗ","o"],["Ỗ","O"],["ộ","o"],["Ộ","O"],["ớ","o"],["Ớ","O"],["ờ","o"],["Ờ","O"],["ở","o"],["Ở","O"],["ỡ","o"],["Ỡ","O"],["ợ","o"],["Ợ","O"],["ụ","u"],["Ụ","U"],["ủ","u"],["Ủ","U"],["ứ","u"],["Ứ","U"],["ừ","u"],["Ừ","U"],["ử","u"],["Ử","U"],["ữ","u"],["Ữ","U"],["ự","u"],["Ự","U"],["ỳ","y"],["Ỳ","Y"],["ỵ","y"],["Ỵ","Y"],["ỷ","y"],["Ỷ","Y"],["ỹ","y"],["Ỹ","Y"],["ء","e"],["آ","a"],["أ","a"],["ؤ","w"],["إ","i"],["ئ","y"],["ا","a"],["ب","b"],["ة","t"],["ت","t"],["ث","th"],["ج","j"],["ح","h"],["خ","kh"],["د","d"],["ذ","dh"],["ر","r"],["ز","z"],["س","s"],["ش","sh"],["ص","s"],["ض","d"],["ط","t"],["ظ","z"],["ع","e"],["غ","gh"],["ـ","_"],["ف","f"],["ق","q"],["ك","k"],["ل","l"],["م","m"],["ن","n"],["ه","h"],["و","w"],["ى","a"],["ي","y"],["َ‎","a"],["ُ","u"],["ِ‎","i"],["٠","0"],["١","1"],["٢","2"],["٣","3"],["٤","4"],["٥","5"],["٦","6"],["٧","7"],["٨","8"],["٩","9"],["چ","ch"],["ک","k"],["گ","g"],["پ","p"],["ژ","zh"],["ی","y"],["۰","0"],["۱","1"],["۲","2"],["۳","3"],["۴","4"],["۵","5"],["۶","6"],["۷","7"],["۸","8"],["۹","9"],["ټ","p"],["ځ","z"],["څ","c"],["ډ","d"],["ﺫ","d"],["ﺭ","r"],["ړ","r"],["ﺯ","z"],["ږ","g"],["ښ","x"],["ګ","g"],["ڼ","n"],["ۀ","e"],["ې","e"],["ۍ","ai"],["ٹ","t"],["ڈ","d"],["ڑ","r"],["ں","n"],["ہ","h"],["ھ","h"],["ے","e"],["А","A"],["а","a"],["Б","B"],["б","b"],["В","V"],["в","v"],["Г","G"],["г","g"],["Д","D"],["д","d"],["ъе","ye"],["Ъе","Ye"],["ъЕ","yE"],["ЪЕ","YE"],["Е","E"],["е","e"],["Ё","Yo"],["ё","yo"],["Ж","Zh"],["ж","zh"],["З","Z"],["з","z"],["И","I"],["и","i"],["ый","iy"],["Ый","Iy"],["ЫЙ","IY"],["ыЙ","iY"],["Й","Y"],["й","y"],["К","K"],["к","k"],["Л","L"],["л","l"],["М","M"],["м","m"],["Н","N"],["н","n"],["О","O"],["о","o"],["П","P"],["п","p"],["Р","R"],["р","r"],["С","S"],["с","s"],["Т","T"],["т","t"],["У","U"],["у","u"],["Ф","F"],["ф","f"],["Х","Kh"],["х","kh"],["Ц","Ts"],["ц","ts"],["Ч","Ch"],["ч","ch"],["Ш","Sh"],["ш","sh"],["Щ","Sch"],["щ","sch"],["Ъ",""],["ъ",""],["Ы","Y"],["ы","y"],["Ь",""],["ь",""],["Э","E"],["э","e"],["Ю","Yu"],["ю","yu"],["Я","Ya"],["я","ya"],["ă","a"],["Ă","A"],["ș","s"],["Ș","S"],["ț","t"],["Ț","T"],["ţ","t"],["Ţ","T"],["ş","s"],["Ş","S"],["ç","c"],["Ç","C"],["ğ","g"],["Ğ","G"],["ı","i"],["İ","I"],["ա","a"],["Ա","A"],["բ","b"],["Բ","B"],["գ","g"],["Գ","G"],["դ","d"],["Դ","D"],["ե","ye"],["Ե","Ye"],["զ","z"],["Զ","Z"],["է","e"],["Է","E"],["ը","y"],["Ը","Y"],["թ","t"],["Թ","T"],["ժ","zh"],["Ժ","Zh"],["ի","i"],["Ի","I"],["լ","l"],["Լ","L"],["խ","kh"],["Խ","Kh"],["ծ","ts"],["Ծ","Ts"],["կ","k"],["Կ","K"],["հ","h"],["Հ","H"],["ձ","dz"],["Ձ","Dz"],["ղ","gh"],["Ղ","Gh"],["ճ","tch"],["Ճ","Tch"],["մ","m"],["Մ","M"],["յ","y"],["Յ","Y"],["ն","n"],["Ն","N"],["շ","sh"],["Շ","Sh"],["ո","vo"],["Ո","Vo"],["չ","ch"],["Չ","Ch"],["պ","p"],["Պ","P"],["ջ","j"],["Ջ","J"],["ռ","r"],["Ռ","R"],["ս","s"],["Ս","S"],["վ","v"],["Վ","V"],["տ","t"],["Տ","T"],["ր","r"],["Ր","R"],["ց","c"],["Ց","C"],["ու","u"],["ՈՒ","U"],["Ու","U"],["փ","p"],["Փ","P"],["ք","q"],["Ք","Q"],["օ","o"],["Օ","O"],["ֆ","f"],["Ֆ","F"],["և","yev"],["ა","a"],["ბ","b"],["გ","g"],["დ","d"],["ე","e"],["ვ","v"],["ზ","z"],["თ","t"],["ი","i"],["კ","k"],["ლ","l"],["მ","m"],["ნ","n"],["ო","o"],["პ","p"],["ჟ","zh"],["რ","r"],["ს","s"],["ტ","t"],["უ","u"],["ფ","ph"],["ქ","q"],["ღ","gh"],["ყ","k"],["შ","sh"],["ჩ","ch"],["ც","ts"],["ძ","dz"],["წ","ts"],["ჭ","tch"],["ხ","kh"],["ჯ","j"],["ჰ","h"],["č","c"],["ď","d"],["ě","e"],["ň","n"],["ř","r"],["š","s"],["ť","t"],["ů","u"],["ž","z"],["Č","C"],["Ď","D"],["Ě","E"],["Ň","N"],["Ř","R"],["Š","S"],["Ť","T"],["Ů","U"],["Ž","Z"],["ހ","h"],["ށ","sh"],["ނ","n"],["ރ","r"],["ބ","b"],["ޅ","lh"],["ކ","k"],["އ","a"],["ވ","v"],["މ","m"],["ފ","f"],["ދ","dh"],["ތ","th"],["ލ","l"],["ގ","g"],["ޏ","gn"],["ސ","s"],["ޑ","d"],["ޒ","z"],["ޓ","t"],["ޔ","y"],["ޕ","p"],["ޖ","j"],["ޗ","ch"],["ޘ","tt"],["ޙ","hh"],["ޚ","kh"],["ޛ","th"],["ޜ","z"],["ޝ","sh"],["ޞ","s"],["ޟ","d"],["ޠ","t"],["ޡ","z"],["ޢ","a"],["ޣ","gh"],["ޤ","q"],["ޥ","w"],["ަ","a"],["ާ","aa"],["ި","i"],["ީ","ee"],["ު","u"],["ޫ","oo"],["ެ","e"],["ޭ","ey"],["ޮ","o"],["ޯ","oa"],["ް",""],["α","a"],["β","v"],["γ","g"],["δ","d"],["ε","e"],["ζ","z"],["η","i"],["θ","th"],["ι","i"],["κ","k"],["λ","l"],["μ","m"],["ν","n"],["ξ","ks"],["ο","o"],["π","p"],["ρ","r"],["σ","s"],["τ","t"],["υ","y"],["φ","f"],["χ","x"],["ψ","ps"],["ω","o"],["ά","a"],["έ","e"],["ί","i"],["ό","o"],["ύ","y"],["ή","i"],["ώ","o"],["ς","s"],["ϊ","i"],["ΰ","y"],["ϋ","y"],["ΐ","i"],["Α","A"],["Β","B"],["Γ","G"],["Δ","D"],["Ε","E"],["Ζ","Z"],["Η","I"],["Θ","TH"],["Ι","I"],["Κ","K"],["Λ","L"],["Μ","M"],["Ν","N"],["Ξ","KS"],["Ο","O"],["Π","P"],["Ρ","R"],["Σ","S"],["Τ","T"],["Υ","Y"],["Φ","F"],["Χ","X"],["Ψ","PS"],["Ω","O"],["Ά","A"],["Έ","E"],["Ί","I"],["Ό","O"],["Ύ","Y"],["Ή","I"],["Ώ","O"],["Ϊ","I"],["Ϋ","Y"],["ā","a"],["ē","e"],["ģ","g"],["ī","i"],["ķ","k"],["ļ","l"],["ņ","n"],["ū","u"],["Ā","A"],["Ē","E"],["Ģ","G"],["Ī","I"],["Ķ","K"],["Ļ","L"],["Ņ","N"],["Ū","U"],["č","c"],["š","s"],["ž","z"],["Č","C"],["Š","S"],["Ž","Z"],["ą","a"],["č","c"],["ę","e"],["ė","e"],["į","i"],["š","s"],["ų","u"],["ū","u"],["ž","z"],["Ą","A"],["Č","C"],["Ę","E"],["Ė","E"],["Į","I"],["Š","S"],["Ų","U"],["Ū","U"],["Ќ","Kj"],["ќ","kj"],["Љ","Lj"],["љ","lj"],["Њ","Nj"],["њ","nj"],["Тс","Ts"],["тс","ts"],["ą","a"],["ć","c"],["ę","e"],["ł","l"],["ń","n"],["ś","s"],["ź","z"],["ż","z"],["Ą","A"],["Ć","C"],["Ę","E"],["Ł","L"],["Ń","N"],["Ś","S"],["Ź","Z"],["Ż","Z"],["Є","Ye"],["І","I"],["Ї","Yi"],["Ґ","G"],["є","ye"],["і","i"],["ї","yi"],["ґ","g"],["IJ","IJ"],["ij","ij"],["¢","c"],["¥","Y"],["߿","b"],["৳","t"],["૱","Bo"],["฿","B"],["₠","CE"],["₡","C"],["₢","Cr"],["₣","F"],["₥","m"],["₦","N"],["₧","Pt"],["₨","Rs"],["₩","W"],["₫","s"],["€","E"],["₭","K"],["₮","T"],["₯","Dp"],["₰","S"],["₱","P"],["₲","G"],["₳","A"],["₴","S"],["₵","C"],["₶","tt"],["₷","S"],["₸","T"],["₹","R"],["₺","L"],["₽","P"],["₿","B"],["﹩","$"],["¢","c"],["¥","Y"],["₩","W"],["𝐀","A"],["𝐁","B"],["𝐂","C"],["𝐃","D"],["𝐄","E"],["𝐅","F"],["𝐆","G"],["𝐇","H"],["𝐈","I"],["𝐉","J"],["𝐊","K"],["𝐋","L"],["𝐌","M"],["𝐍","N"],["𝐎","O"],["𝐏","P"],["𝐐","Q"],["𝐑","R"],["𝐒","S"],["𝐓","T"],["𝐔","U"],["𝐕","V"],["𝐖","W"],["𝐗","X"],["𝐘","Y"],["𝐙","Z"],["𝐚","a"],["𝐛","b"],["𝐜","c"],["𝐝","d"],["𝐞","e"],["𝐟","f"],["𝐠","g"],["𝐡","h"],["𝐢","i"],["𝐣","j"],["𝐤","k"],["𝐥","l"],["𝐦","m"],["𝐧","n"],["𝐨","o"],["𝐩","p"],["𝐪","q"],["𝐫","r"],["𝐬","s"],["𝐭","t"],["𝐮","u"],["𝐯","v"],["𝐰","w"],["𝐱","x"],["𝐲","y"],["𝐳","z"],["𝐴","A"],["𝐵","B"],["𝐶","C"],["𝐷","D"],["𝐸","E"],["𝐹","F"],["𝐺","G"],["𝐻","H"],["𝐼","I"],["𝐽","J"],["𝐾","K"],["𝐿","L"],["𝑀","M"],["𝑁","N"],["𝑂","O"],["𝑃","P"],["𝑄","Q"],["𝑅","R"],["𝑆","S"],["𝑇","T"],["𝑈","U"],["𝑉","V"],["𝑊","W"],["𝑋","X"],["𝑌","Y"],["𝑍","Z"],["𝑎","a"],["𝑏","b"],["𝑐","c"],["𝑑","d"],["𝑒","e"],["𝑓","f"],["𝑔","g"],["𝑖","i"],["𝑗","j"],["𝑘","k"],["𝑙","l"],["𝑚","m"],["𝑛","n"],["𝑜","o"],["𝑝","p"],["𝑞","q"],["𝑟","r"],["𝑠","s"],["𝑡","t"],["𝑢","u"],["𝑣","v"],["𝑤","w"],["𝑥","x"],["𝑦","y"],["𝑧","z"],["𝑨","A"],["𝑩","B"],["𝑪","C"],["𝑫","D"],["𝑬","E"],["𝑭","F"],["𝑮","G"],["𝑯","H"],["𝑰","I"],["𝑱","J"],["𝑲","K"],["𝑳","L"],["𝑴","M"],["𝑵","N"],["𝑶","O"],["𝑷","P"],["𝑸","Q"],["𝑹","R"],["𝑺","S"],["𝑻","T"],["𝑼","U"],["𝑽","V"],["𝑾","W"],["𝑿","X"],["𝒀","Y"],["𝒁","Z"],["𝒂","a"],["𝒃","b"],["𝒄","c"],["𝒅","d"],["𝒆","e"],["𝒇","f"],["𝒈","g"],["𝒉","h"],["𝒊","i"],["𝒋","j"],["𝒌","k"],["𝒍","l"],["𝒎","m"],["𝒏","n"],["𝒐","o"],["𝒑","p"],["𝒒","q"],["𝒓","r"],["𝒔","s"],["𝒕","t"],["𝒖","u"],["𝒗","v"],["𝒘","w"],["𝒙","x"],["𝒚","y"],["𝒛","z"],["𝒜","A"],["𝒞","C"],["𝒟","D"],["𝒢","g"],["𝒥","J"],["𝒦","K"],["𝒩","N"],["𝒪","O"],["𝒫","P"],["𝒬","Q"],["𝒮","S"],["𝒯","T"],["𝒰","U"],["𝒱","V"],["𝒲","W"],["𝒳","X"],["𝒴","Y"],["𝒵","Z"],["𝒶","a"],["𝒷","b"],["𝒸","c"],["𝒹","d"],["𝒻","f"],["𝒽","h"],["𝒾","i"],["𝒿","j"],["𝓀","h"],["𝓁","l"],["𝓂","m"],["𝓃","n"],["𝓅","p"],["𝓆","q"],["𝓇","r"],["𝓈","s"],["𝓉","t"],["𝓊","u"],["𝓋","v"],["𝓌","w"],["𝓍","x"],["𝓎","y"],["𝓏","z"],["𝓐","A"],["𝓑","B"],["𝓒","C"],["𝓓","D"],["𝓔","E"],["𝓕","F"],["𝓖","G"],["𝓗","H"],["𝓘","I"],["𝓙","J"],["𝓚","K"],["𝓛","L"],["𝓜","M"],["𝓝","N"],["𝓞","O"],["𝓟","P"],["𝓠","Q"],["𝓡","R"],["𝓢","S"],["𝓣","T"],["𝓤","U"],["𝓥","V"],["𝓦","W"],["𝓧","X"],["𝓨","Y"],["𝓩","Z"],["𝓪","a"],["𝓫","b"],["𝓬","c"],["𝓭","d"],["𝓮","e"],["𝓯","f"],["𝓰","g"],["𝓱","h"],["𝓲","i"],["𝓳","j"],["𝓴","k"],["𝓵","l"],["𝓶","m"],["𝓷","n"],["𝓸","o"],["𝓹","p"],["𝓺","q"],["𝓻","r"],["𝓼","s"],["𝓽","t"],["𝓾","u"],["𝓿","v"],["𝔀","w"],["𝔁","x"],["𝔂","y"],["𝔃","z"],["𝔄","A"],["𝔅","B"],["𝔇","D"],["𝔈","E"],["𝔉","F"],["𝔊","G"],["𝔍","J"],["𝔎","K"],["𝔏","L"],["𝔐","M"],["𝔑","N"],["𝔒","O"],["𝔓","P"],["𝔔","Q"],["𝔖","S"],["𝔗","T"],["𝔘","U"],["𝔙","V"],["𝔚","W"],["𝔛","X"],["𝔜","Y"],["𝔞","a"],["𝔟","b"],["𝔠","c"],["𝔡","d"],["𝔢","e"],["𝔣","f"],["𝔤","g"],["𝔥","h"],["𝔦","i"],["𝔧","j"],["𝔨","k"],["𝔩","l"],["𝔪","m"],["𝔫","n"],["𝔬","o"],["𝔭","p"],["𝔮","q"],["𝔯","r"],["𝔰","s"],["𝔱","t"],["𝔲","u"],["𝔳","v"],["𝔴","w"],["𝔵","x"],["𝔶","y"],["𝔷","z"],["𝔸","A"],["𝔹","B"],["𝔻","D"],["𝔼","E"],["𝔽","F"],["𝔾","G"],["𝕀","I"],["𝕁","J"],["𝕂","K"],["𝕃","L"],["𝕄","M"],["𝕆","N"],["𝕊","S"],["𝕋","T"],["𝕌","U"],["𝕍","V"],["𝕎","W"],["𝕏","X"],["𝕐","Y"],["𝕒","a"],["𝕓","b"],["𝕔","c"],["𝕕","d"],["𝕖","e"],["𝕗","f"],["𝕘","g"],["𝕙","h"],["𝕚","i"],["𝕛","j"],["𝕜","k"],["𝕝","l"],["𝕞","m"],["𝕟","n"],["𝕠","o"],["𝕡","p"],["𝕢","q"],["𝕣","r"],["𝕤","s"],["𝕥","t"],["𝕦","u"],["𝕧","v"],["𝕨","w"],["𝕩","x"],["𝕪","y"],["𝕫","z"],["𝕬","A"],["𝕭","B"],["𝕮","C"],["𝕯","D"],["𝕰","E"],["𝕱","F"],["𝕲","G"],["𝕳","H"],["𝕴","I"],["𝕵","J"],["𝕶","K"],["𝕷","L"],["𝕸","M"],["𝕹","N"],["𝕺","O"],["𝕻","P"],["𝕼","Q"],["𝕽","R"],["𝕾","S"],["𝕿","T"],["𝖀","U"],["𝖁","V"],["𝖂","W"],["𝖃","X"],["𝖄","Y"],["𝖅","Z"],["𝖆","a"],["𝖇","b"],["𝖈","c"],["𝖉","d"],["𝖊","e"],["𝖋","f"],["𝖌","g"],["𝖍","h"],["𝖎","i"],["𝖏","j"],["𝖐","k"],["𝖑","l"],["𝖒","m"],["𝖓","n"],["𝖔","o"],["𝖕","p"],["𝖖","q"],["𝖗","r"],["𝖘","s"],["𝖙","t"],["𝖚","u"],["𝖛","v"],["𝖜","w"],["𝖝","x"],["𝖞","y"],["𝖟","z"],["𝖠","A"],["𝖡","B"],["𝖢","C"],["𝖣","D"],["𝖤","E"],["𝖥","F"],["𝖦","G"],["𝖧","H"],["𝖨","I"],["𝖩","J"],["𝖪","K"],["𝖫","L"],["𝖬","M"],["𝖭","N"],["𝖮","O"],["𝖯","P"],["𝖰","Q"],["𝖱","R"],["𝖲","S"],["𝖳","T"],["𝖴","U"],["𝖵","V"],["𝖶","W"],["𝖷","X"],["𝖸","Y"],["𝖹","Z"],["𝖺","a"],["𝖻","b"],["𝖼","c"],["𝖽","d"],["𝖾","e"],["𝖿","f"],["𝗀","g"],["𝗁","h"],["𝗂","i"],["𝗃","j"],["𝗄","k"],["𝗅","l"],["𝗆","m"],["𝗇","n"],["𝗈","o"],["𝗉","p"],["𝗊","q"],["𝗋","r"],["𝗌","s"],["𝗍","t"],["𝗎","u"],["𝗏","v"],["𝗐","w"],["𝗑","x"],["𝗒","y"],["𝗓","z"],["𝗔","A"],["𝗕","B"],["𝗖","C"],["𝗗","D"],["𝗘","E"],["𝗙","F"],["𝗚","G"],["𝗛","H"],["𝗜","I"],["𝗝","J"],["𝗞","K"],["𝗟","L"],["𝗠","M"],["𝗡","N"],["𝗢","O"],["𝗣","P"],["𝗤","Q"],["𝗥","R"],["𝗦","S"],["𝗧","T"],["𝗨","U"],["𝗩","V"],["𝗪","W"],["𝗫","X"],["𝗬","Y"],["𝗭","Z"],["𝗮","a"],["𝗯","b"],["𝗰","c"],["𝗱","d"],["𝗲","e"],["𝗳","f"],["𝗴","g"],["𝗵","h"],["𝗶","i"],["𝗷","j"],["𝗸","k"],["𝗹","l"],["𝗺","m"],["𝗻","n"],["𝗼","o"],["𝗽","p"],["𝗾","q"],["𝗿","r"],["𝘀","s"],["𝘁","t"],["𝘂","u"],["𝘃","v"],["𝘄","w"],["𝘅","x"],["𝘆","y"],["𝘇","z"],["𝘈","A"],["𝘉","B"],["𝘊","C"],["𝘋","D"],["𝘌","E"],["𝘍","F"],["𝘎","G"],["𝘏","H"],["𝘐","I"],["𝘑","J"],["𝘒","K"],["𝘓","L"],["𝘔","M"],["𝘕","N"],["𝘖","O"],["𝘗","P"],["𝘘","Q"],["𝘙","R"],["𝘚","S"],["𝘛","T"],["𝘜","U"],["𝘝","V"],["𝘞","W"],["𝘟","X"],["𝘠","Y"],["𝘡","Z"],["𝘢","a"],["𝘣","b"],["𝘤","c"],["𝘥","d"],["𝘦","e"],["𝘧","f"],["𝘨","g"],["𝘩","h"],["𝘪","i"],["𝘫","j"],["𝘬","k"],["𝘭","l"],["𝘮","m"],["𝘯","n"],["𝘰","o"],["𝘱","p"],["𝘲","q"],["𝘳","r"],["𝘴","s"],["𝘵","t"],["𝘶","u"],["𝘷","v"],["𝘸","w"],["𝘹","x"],["𝘺","y"],["𝘻","z"],["𝘼","A"],["𝘽","B"],["𝘾","C"],["𝘿","D"],["𝙀","E"],["𝙁","F"],["𝙂","G"],["𝙃","H"],["𝙄","I"],["𝙅","J"],["𝙆","K"],["𝙇","L"],["𝙈","M"],["𝙉","N"],["𝙊","O"],["𝙋","P"],["𝙌","Q"],["𝙍","R"],["𝙎","S"],["𝙏","T"],["𝙐","U"],["𝙑","V"],["𝙒","W"],["𝙓","X"],["𝙔","Y"],["𝙕","Z"],["𝙖","a"],["𝙗","b"],["𝙘","c"],["𝙙","d"],["𝙚","e"],["𝙛","f"],["𝙜","g"],["𝙝","h"],["𝙞","i"],["𝙟","j"],["𝙠","k"],["𝙡","l"],["𝙢","m"],["𝙣","n"],["𝙤","o"],["𝙥","p"],["𝙦","q"],["𝙧","r"],["𝙨","s"],["𝙩","t"],["𝙪","u"],["𝙫","v"],["𝙬","w"],["𝙭","x"],["𝙮","y"],["𝙯","z"],["𝙰","A"],["𝙱","B"],["𝙲","C"],["𝙳","D"],["𝙴","E"],["𝙵","F"],["𝙶","G"],["𝙷","H"],["𝙸","I"],["𝙹","J"],["𝙺","K"],["𝙻","L"],["𝙼","M"],["𝙽","N"],["𝙾","O"],["𝙿","P"],["𝚀","Q"],["𝚁","R"],["𝚂","S"],["𝚃","T"],["𝚄","U"],["𝚅","V"],["𝚆","W"],["𝚇","X"],["𝚈","Y"],["𝚉","Z"],["𝚊","a"],["𝚋","b"],["𝚌","c"],["𝚍","d"],["𝚎","e"],["𝚏","f"],["𝚐","g"],["𝚑","h"],["𝚒","i"],["𝚓","j"],["𝚔","k"],["𝚕","l"],["𝚖","m"],["𝚗","n"],["𝚘","o"],["𝚙","p"],["𝚚","q"],["𝚛","r"],["𝚜","s"],["𝚝","t"],["𝚞","u"],["𝚟","v"],["𝚠","w"],["𝚡","x"],["𝚢","y"],["𝚣","z"],["𝚤","l"],["𝚥","j"],["𝛢","A"],["𝛣","B"],["𝛤","G"],["𝛥","D"],["𝛦","E"],["𝛧","Z"],["𝛨","I"],["𝛩","TH"],["𝛪","I"],["𝛫","K"],["𝛬","L"],["𝛭","M"],["𝛮","N"],["𝛯","KS"],["𝛰","O"],["𝛱","P"],["𝛲","R"],["𝛳","TH"],["𝛴","S"],["𝛵","T"],["𝛶","Y"],["𝛷","F"],["𝛸","x"],["𝛹","PS"],["𝛺","O"],["𝛻","D"],["𝛼","a"],["𝛽","b"],["𝛾","g"],["𝛿","d"],["𝜀","e"],["𝜁","z"],["𝜂","i"],["𝜃","th"],["𝜄","i"],["𝜅","k"],["𝜆","l"],["𝜇","m"],["𝜈","n"],["𝜉","ks"],["𝜊","o"],["𝜋","p"],["𝜌","r"],["𝜍","s"],["𝜎","s"],["𝜏","t"],["𝜐","y"],["𝜑","f"],["𝜒","x"],["𝜓","ps"],["𝜔","o"],["𝜕","d"],["𝜖","E"],["𝜗","TH"],["𝜘","K"],["𝜙","f"],["𝜚","r"],["𝜛","p"],["𝜜","A"],["𝜝","V"],["𝜞","G"],["𝜟","D"],["𝜠","E"],["𝜡","Z"],["𝜢","I"],["𝜣","TH"],["𝜤","I"],["𝜥","K"],["𝜦","L"],["𝜧","M"],["𝜨","N"],["𝜩","KS"],["𝜪","O"],["𝜫","P"],["𝜬","S"],["𝜭","TH"],["𝜮","S"],["𝜯","T"],["𝜰","Y"],["𝜱","F"],["𝜲","X"],["𝜳","PS"],["𝜴","O"],["𝜵","D"],["𝜶","a"],["𝜷","v"],["𝜸","g"],["𝜹","d"],["𝜺","e"],["𝜻","z"],["𝜼","i"],["𝜽","th"],["𝜾","i"],["𝜿","k"],["𝝀","l"],["𝝁","m"],["𝝂","n"],["𝝃","ks"],["𝝄","o"],["𝝅","p"],["𝝆","r"],["𝝇","s"],["𝝈","s"],["𝝉","t"],["𝝊","y"],["𝝋","f"],["𝝌","x"],["𝝍","ps"],["𝝎","o"],["𝝏","a"],["𝝐","e"],["𝝑","i"],["𝝒","k"],["𝝓","f"],["𝝔","r"],["𝝕","p"],["𝝖","A"],["𝝗","B"],["𝝘","G"],["𝝙","D"],["𝝚","E"],["𝝛","Z"],["𝝜","I"],["𝝝","TH"],["𝝞","I"],["𝝟","K"],["𝝠","L"],["𝝡","M"],["𝝢","N"],["𝝣","KS"],["𝝤","O"],["𝝥","P"],["𝝦","R"],["𝝧","TH"],["𝝨","S"],["𝝩","T"],["𝝪","Y"],["𝝫","F"],["𝝬","X"],["𝝭","PS"],["𝝮","O"],["𝝯","D"],["𝝰","a"],["𝝱","v"],["𝝲","g"],["𝝳","d"],["𝝴","e"],["𝝵","z"],["𝝶","i"],["𝝷","th"],["𝝸","i"],["𝝹","k"],["𝝺","l"],["𝝻","m"],["𝝼","n"],["𝝽","ks"],["𝝾","o"],["𝝿","p"],["𝞀","r"],["𝞁","s"],["𝞂","s"],["𝞃","t"],["𝞄","y"],["𝞅","f"],["𝞆","x"],["𝞇","ps"],["𝞈","o"],["𝞉","a"],["𝞊","e"],["𝞋","i"],["𝞌","k"],["𝞍","f"],["𝞎","r"],["𝞏","p"],["𝞐","A"],["𝞑","V"],["𝞒","G"],["𝞓","D"],["𝞔","E"],["𝞕","Z"],["𝞖","I"],["𝞗","TH"],["𝞘","I"],["𝞙","K"],["𝞚","L"],["𝞛","M"],["𝞜","N"],["𝞝","KS"],["𝞞","O"],["𝞟","P"],["𝞠","S"],["𝞡","TH"],["𝞢","S"],["𝞣","T"],["𝞤","Y"],["𝞥","F"],["𝞦","X"],["𝞧","PS"],["𝞨","O"],["𝞩","D"],["𝞪","av"],["𝞫","g"],["𝞬","d"],["𝞭","e"],["𝞮","z"],["𝞯","i"],["𝞰","i"],["𝞱","th"],["𝞲","i"],["𝞳","k"],["𝞴","l"],["𝞵","m"],["𝞶","n"],["𝞷","ks"],["𝞸","o"],["𝞹","p"],["𝞺","r"],["𝞻","s"],["𝞼","s"],["𝞽","t"],["𝞾","y"],["𝞿","f"],["𝟀","x"],["𝟁","ps"],["𝟂","o"],["𝟃","a"],["𝟄","e"],["𝟅","i"],["𝟆","k"],["𝟇","f"],["𝟈","r"],["𝟉","p"],["𝟊","F"],["𝟋","f"],["⒜","(a)"],["⒝","(b)"],["⒞","(c)"],["⒟","(d)"],["⒠","(e)"],["⒡","(f)"],["⒢","(g)"],["⒣","(h)"],["⒤","(i)"],["⒥","(j)"],["⒦","(k)"],["⒧","(l)"],["⒨","(m)"],["⒩","(n)"],["⒪","(o)"],["⒫","(p)"],["⒬","(q)"],["⒭","(r)"],["⒮","(s)"],["⒯","(t)"],["⒰","(u)"],["⒱","(v)"],["⒲","(w)"],["⒳","(x)"],["⒴","(y)"],["⒵","(z)"],["Ⓐ","(A)"],["Ⓑ","(B)"],["Ⓒ","(C)"],["Ⓓ","(D)"],["Ⓔ","(E)"],["Ⓕ","(F)"],["Ⓖ","(G)"],["Ⓗ","(H)"],["Ⓘ","(I)"],["Ⓙ","(J)"],["Ⓚ","(K)"],["Ⓛ","(L)"],["Ⓝ","(N)"],["Ⓞ","(O)"],["Ⓟ","(P)"],["Ⓠ","(Q)"],["Ⓡ","(R)"],["Ⓢ","(S)"],["Ⓣ","(T)"],["Ⓤ","(U)"],["Ⓥ","(V)"],["Ⓦ","(W)"],["Ⓧ","(X)"],["Ⓨ","(Y)"],["Ⓩ","(Z)"],["ⓐ","(a)"],["ⓑ","(b)"],["ⓒ","(b)"],["ⓓ","(c)"],["ⓔ","(e)"],["ⓕ","(f)"],["ⓖ","(g)"],["ⓗ","(h)"],["ⓘ","(i)"],["ⓙ","(j)"],["ⓚ","(k)"],["ⓛ","(l)"],["ⓜ","(m)"],["ⓝ","(n)"],["ⓞ","(o)"],["ⓟ","(p)"],["ⓠ","(q)"],["ⓡ","(r)"],["ⓢ","(s)"],["ⓣ","(t)"],["ⓤ","(u)"],["ⓥ","(v)"],["ⓦ","(w)"],["ⓧ","(x)"],["ⓨ","(y)"],["ⓩ","(z)"],["Ċ","C"],["ċ","c"],["Ġ","G"],["ġ","g"],["Ħ","H"],["ħ","h"],["Ż","Z"],["ż","z"],["𝟎","0"],["𝟏","1"],["𝟐","2"],["𝟑","3"],["𝟒","4"],["𝟓","5"],["𝟔","6"],["𝟕","7"],["𝟖","8"],["𝟗","9"],["𝟘","0"],["𝟙","1"],["𝟚","2"],["𝟛","3"],["𝟜","4"],["𝟝","5"],["𝟞","6"],["𝟟","7"],["𝟠","8"],["𝟡","9"],["𝟢","0"],["𝟣","1"],["𝟤","2"],["𝟥","3"],["𝟦","4"],["𝟧","5"],["𝟨","6"],["𝟩","7"],["𝟪","8"],["𝟫","9"],["𝟬","0"],["𝟭","1"],["𝟮","2"],["𝟯","3"],["𝟰","4"],["𝟱","5"],["𝟲","6"],["𝟳","7"],["𝟴","8"],["𝟵","9"],["𝟶","0"],["𝟷","1"],["𝟸","2"],["𝟹","3"],["𝟺","4"],["𝟻","5"],["𝟼","6"],["𝟽","7"],["𝟾","8"],["𝟿","9"],["①","1"],["②","2"],["③","3"],["④","4"],["⑤","5"],["⑥","6"],["⑦","7"],["⑧","8"],["⑨","9"],["⑩","10"],["⑪","11"],["⑫","12"],["⑬","13"],["⑭","14"],["⑮","15"],["⑯","16"],["⑰","17"],["⑱","18"],["⑲","19"],["⑳","20"],["⑴","1"],["⑵","2"],["⑶","3"],["⑷","4"],["⑸","5"],["⑹","6"],["⑺","7"],["⑻","8"],["⑼","9"],["⑽","10"],["⑾","11"],["⑿","12"],["⒀","13"],["⒁","14"],["⒂","15"],["⒃","16"],["⒄","17"],["⒅","18"],["⒆","19"],["⒇","20"],["⒈","1."],["⒉","2."],["⒊","3."],["⒋","4."],["⒌","5."],["⒍","6."],["⒎","7."],["⒏","8."],["⒐","9."],["⒑","10."],["⒒","11."],["⒓","12."],["⒔","13."],["⒕","14."],["⒖","15."],["⒗","16."],["⒘","17."],["⒙","18."],["⒚","19."],["⒛","20."],["⓪","0"],["⓫","11"],["⓬","12"],["⓭","13"],["⓮","14"],["⓯","15"],["⓰","16"],["⓱","17"],["⓲","18"],["⓳","19"],["⓴","20"],["⓵","1"],["⓶","2"],["⓷","3"],["⓸","4"],["⓹","5"],["⓺","6"],["⓻","7"],["⓼","8"],["⓽","9"],["⓾","10"],["⓿","0"],["🙰","&"],["🙱","&"],["🙲","&"],["🙳","&"],["🙴","&"],["🙵","&"],["🙶",'"'],["🙷",'"'],["🙸",'"'],["‽","?!"],["🙹","?!"],["🙺","?!"],["🙻","?!"],["🙼","/"],["🙽","\\"],["🜇","AR"],["🜈","V"],["🜉","V"],["🜆","VR"],["🜅","VF"],["🜩","2"],["🜪","5"],["🝡","f"],["🝢","W"],["🝣","U"],["🝧","V"],["🝨","T"],["🝪","V"],["🝫","MB"],["🝬","VB"],["🝲","3B"],["🝳","3B"],["💯","100"],["🔙","BACK"],["🔚","END"],["🔛","ON!"],["🔜","SOON"],["🔝","TOP"],["🔞","18"],["🔤","abc"],["🔠","ABCD"],["🔡","abcd"],["🔢","1234"],["🔣","T&@%"],["#️⃣","#"],["*️⃣","*"],["0️⃣","0"],["1️⃣","1"],["2️⃣","2"],["3️⃣","3"],["4️⃣","4"],["5️⃣","5"],["6️⃣","6"],["7️⃣","7"],["8️⃣","8"],["9️⃣","9"],["🔟","10"],["🅰️","A"],["🅱️","B"],["🆎","AB"],["🆑","CL"],["🅾️","O"],["🅿","P"],["🆘","SOS"],["🅲","C"],["🅳","D"],["🅴","E"],["🅵","F"],["🅶","G"],["🅷","H"],["🅸","I"],["🅹","J"],["🅺","K"],["🅻","L"],["🅼","M"],["🅽","N"],["🆀","Q"],["🆁","R"],["🆂","S"],["🆃","T"],["🆄","U"],["🆅","V"],["🆆","W"],["🆇","X"],["🆈","Y"],["🆉","Z"]],jt=(e,t)=>{for(const[o,r]of t)e=e.replace(new RegExp(Ut(o),"g"),r);return e},Yt=[["&"," and "],["🦄"," unicorn "],["♥"," love "]],zt=e=>e.replace(/([A-Z]{2,})(\d+)/g,"$1 $2").replace(/([a-z\d]+)([A-Z]{2,})/g,"$1 $2").replace(/([a-z\d])([A-Z])/g,"$1 $2").replace(/([A-Z]+)([A-Z][a-rt-z\d]+)/g,"$1 $2"),Gt=(e,t)=>{const o=Ut(t);return e.replace(new RegExp(`${o}{2,}`,"g"),t).replace(new RegExp(`^${o}|${o}$`,"g"),"")},Wt=e=>{let t="a-z\\d";if(t+=e.lowercase?"":"A-Z",e.preserveCharacters.length>0)for(const o of e.preserveCharacters){if(o===e.separator)throw new Error(`The separator character \`${e.separator}\` cannot be included in preserved characters: ${e.preserveCharacters}`);t+=Ut(o)}return new RegExp(`[^${t}]+`,"g")};function qt(e,t,o){return null!=e&&!Number.isNaN(e)&&e>=t&&e<=o}function Kt(e,t,o,r){const n=function(e,t){return null==t?e:t.includes(e)?null:e-t.filter((t=>e>=t)).length}(e,r);null!=n&&n<=o&&t.add(n)}const Qt=e=>"\n"!==e.textContent?e.textContent:"",Vt=e=>{if(e.querySelector(".go"))return null;const t=e.cloneNode(!0);let o=null;for(;o=t.querySelector("span.gp");){if(o.nextElementSibling?.classList.contains("w")){const e=o.nextElementSibling;e.textContent=e.textContent?.replace(" ","")??null}o.remove()}return t.innerText};let Xt=null;function Zt(e){const{codeblockNumericId:t,rawContent:o,language:r,rawHighlightRanges:n,title:i,anchorId:l,showLineNumbers:c}=e,a=o.split("\n");if(0===a.length)return console.warn("useEnhancedCodeBlocks: Code Block appears to have no lines!"),null;const s=a[a.length-1];""!==s&&""!==s||a.pop();const{linesWithoutMagicComments:d,removedLineNumbers:u,additionalHighlightRanges:h}=function(e){let t=null;const o=[],r=[],n=[];for(let i=0;iqt(e,1,t))),n=t-r.length,i=new Set;return e?(e.split(",").forEach((e=>{if(""===e)return;const o=+e;if(qt(o,1,t))Kt(o,i,n,r);else{const o=e.trim().split("-");if(2===o.length){const e=+o[0],l=+o[1];if(qt(e,1,t)&&qt(l,1,t)&&e<=l)for(let t=e;t<=l;++t)Kt(t,i,n,r)}}})),i):i}([n,h].filter(Boolean).join(","),a.length,u),m=`primer-spec-code-block-${t}`,f=function(e,t){return null==e?null:Ht.h("div",{class:"Box-header py-2 pr-2 d-flex flex-shrink-0 flex-md-row flex-items-center primer-spec-code-block-header"},Ht.h("span",{class:Pt("flex-auto",mt),"data-anchor-id":t},e))}(i,l),g=Ht.h("div",{id:m,class:"Box mt-3 text-mono"},f,Ht.h("div",{class:Pt("Box-body","p-0","primer-spec-code-block-body",f&&"primer-spec-code-block-header-present")},Ht.h("table",{class:"highlight"},Ht.h("tbody",{onMouseOver:e=>{if(null!=Xt&&null!=e.target){let t=e.target;for(;t&&"TABLE"!==t.tagName;){const e=t.id.match(/^primer-spec-code-block-(?:\d+)-L(?:C|R)?(\d+)$/);if(e&&null!=e[1]){Jt(m,Xt,+e[1]);break}t=t.parentNode}}},onMouseLeave:()=>{Xt=null},onMouseUp:()=>{Xt=null}},d.map(((e,t)=>function(e){const{codeblockId:t,language:o,line:r,lineNumber:n,shouldHighlight:i,showLineNumbers:l}=e,c=""===r?"\n":r,a=`${t}-L${n}`,s=`${t}-LC${n}`,d=`${t}-LR${n}`,u=Ht.h("tr",{id:d},Ht.h("td",{id:a,class:Pt("primer-spec-code-block-line-number",l&&"primer-spec-code-block-line-numbers-shown"),"data-line-number":n,onMouseDown:e=>{e.preventDefault(),Xt=n,Jt(t,Xt,Xt)}}),Ht.h("td",{id:s,class:Pt(ht,i&&"primer-spec-code-block-highlighted"),dangerouslySetInnerHTML:{__html:c}}));if(o===ft){const e=u.querySelector(`.${ht}`),t=e.firstChild;if("SPAN"===t?.tagName&&t.classList.contains("gp")){e.id="";const t=[...e.childNodes],o=[];let r=0;for(;r1?function(e,t){return Ht.h("div",{class:"primer-spec-zeroclipboard-container position-absolute top-0 right-0"},Ht.h("button",{type:"button",class:"btn-octicon no-print m-2 p-2 tooltipped tooltipped-no-delay tooltipped-n",tabIndex:0,"aria-label":t?"Copy all commands":"Copy",onClick:async o=>{const r=document.getElementById(e);if(r){await async function(e,t=Qt){const o=`${[...e.querySelectorAll(`.${ht}`)].map((e=>t(e))).filter((e=>null!=e)).join("\n")}\n`;await navigator.clipboard.writeText(o)}(r,t?Vt:Qt);let e=o.target;if("I"===e?.tagName&&(e=e.parentElement),!e)return;const n=e.getAttribute("aria-label");e.setAttribute("aria-label","Copied!");const i=e.firstChild;if(!i)return;e.innerText="",e.appendChild(Ht.h("i",{class:"fas fa-check"})),setTimeout((()=>{e&&(e.setAttribute("aria-label",n||""),e.blur(),e.innerText="",e.appendChild(i))}),2e3)}}},Ht.h("i",{class:"far fa-copy"})))}(m,r===ft):null));return g}function Jt(e,t,o){let r=t,n=o;r>n&&(r=o,n=t);const i=document.getElementById(`${e}-LC${r}`),l=document.getElementById(`${e}-LC${n}`);if(!i||!l)return void console.error("Primer Spec Code Block: selectLines: start or end nodes are null. Please report this issue on https://github.com/eecs485staff/primer-spec/issues. Thanks!");const c=document.createRange();c.setStart(i,0),c.setEnd(l,l.childNodes.length),document.getSelection()?.removeAllRanges(),document.getSelection()?.addRange(c)}const eo=/^\s*.*primer-spec-highlight-(start|end)/i;function to(e){if(!e.current)throw new Error("Primer Spec: Main Content: Expected main content ref to be initialized.");const t=no(e.current.querySelectorAll("div.highlighter-rouge"),oo,0);return no(e.current.querySelectorAll("pre"),ro,t),()=>{}}function oo(e){const t=e.firstElementChild?.firstElementChild?.firstElementChild;return null==t?(console.warn("useEnhancedCodeBlocks: Code Block has malformed structure. See Primer Spec Docs for expected structure. https://github.com/eecs485staff/primer-spec/blob/main/docs/USAGE_ADVANCED.md#enhanced-code-blocks","codeblock",e),null):t}function ro(e){return 1===e.childNodes.length&&"CODE"===e.firstElementChild?.tagName?e.firstElementChild:e}function no(e,t,o=0){let r=o;return[...e].filter((e=>null==e.querySelector(`.${pt}`)&&null==e.closest(`.${pt}`))).forEach((e=>{if(function(e){return null!=e.querySelector(".language-mermaid")||io(e)===ut.LEGACY}(e))return void e.classList.add(pt);const o=r++,n=e.parentElement;if(!n)return void console.warn("useEnhancedCodeBlocks: Codeblock missing parent");const i=t(e);if(null==i)return;const l=function(e){const t=e.cloneNode();return e.childNodes.forEach((e=>{if(e.nodeType===Node.ELEMENT_NODE){if("SPAN"===e.tagName&&null!=e.textContent){const o=e.textContent.split("\n");o.forEach(((r,n)=>{if(r){const o=e.cloneNode();o.textContent=r,t.appendChild(o)}ne.remove())),e.current.querySelectorAll("pre > code.language-mermaid").forEach(((e,t)=>{const o=`diagram-${t}`,r=e.innerText,n=e.parentElement;if(null==n)return;n.style.display="none";const i=Ht.h("div",{class:"primer-spec-mermaid-output","aria-label":"Mermaid-enhanced diagram"});n.after(i),mermaid.mermaidAPI.render(o,r,(e=>{i.innerHTML=e;const t=i.querySelector("svg");if(null==t)return void console.warn("Primer Spec: Mermaid diagram didn't have an SVG. Please report this issue at github.com/eeccs485staff/primer-spec/issues. Thanks!");t.setAttribute("role","img"),n.dataset.title&&t.insertBefore(Ht.h("title",{id:`${o}-title`},n.dataset.title),t.firstChild);let l=n.dataset.description;l||(l=r),t.insertBefore(Ht.h("desc",{id:`${o}-desc`},l),t.firstChild),t.setAttribute("aria-labelledby",`${o}-title ${o}-desc`)}))})),()=>{}):()=>{}}function ao(e){if(!e.current)throw new Error("Primer Spec: Main Content: Expected main content ref to be initialized.");return e.current.querySelectorAll("abbr[title]").forEach((e=>{e.classList.add("tooltipped","tooltipped-no-delay","tooltipped-n"),e.setAttribute("aria-label",e.title),e.removeAttribute("title")})),()=>{}}function so(){const[e,t]=X(window.matchMedia("(prefers-color-scheme: dark)").matches);return Z((()=>{const e=e=>t(e.matches);return window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",e),()=>{window.matchMedia("(prefers-color-scheme: dark)").removeEventListener("change",e)}}),[]),e}function uo({innerHTML:e,visible:t,scrollToPosition:o,isSmallScreen:r,sidebarShown:n,currentSubthemeName:i,currentSubthemeMode:l}){const c=Tt(),a=so(),s=function(){const[e,t]=X("complete"===document.readyState);return Z((()=>{const e=()=>{t(!0)};return window.addEventListener("load",e),()=>{window.removeEventListener("load",e)}})),e}(),d=ee(null),u=oe(Rt,[e]);Z((()=>u(d)),[u]);const h=oe(to,[e]);Z((()=>h(d)),[h]);let p=!1;switch(l){case"system":p=a;break;case"dark":p=!0;break;default:p=!1}"xcode-civic"!==i&&"spooky"!==i||(p=!0),c&&(p=!1);const m=oe(co,[e]);Z((()=>m(d,p)),[s,m,p]);const f=oe(ao,[e]);return Z((()=>f(d)),[f]),J((()=>{null!=o&&window.scrollTo(o)}),[o]),g("main",{ref:d,id:vt.PRIMER_SPEC_CONTENT_PREACT_NODE_ID,class:Pt("container-lg","px-3","my-5","markdown-body",{"primer-spec-content-margin-extra":n&&!r&&!c,"primer-spec-content-mobile":r&&!c,"primer-spec-content-frozen":!t}),dangerouslySetInnerHTML:{__html:e}})}const ho="preview.sesh.rs",po=/^https:\/\/preview\.sesh\.rs\/previews\/([A-Za-z0-9_-]+)\/([A-Za-z0-9_-]+)\/\d+\/(.*)/,mo="https://services.w3.org/htmldiff";function fo(){if(window.location.hostname!==ho)return null;const e=function(){const e=window.location.href.match(po);return e&&e.length>=4?`https://${e[1]}.github.io/${e[2]}/${e[3]}`:null}();return e?g(A,null,g("style",null,".btn-primer-spec-preview {"," position: fixed;"," top: 15%;"," right: 1em;"," transition: width 0.5s !important;"," width: 3.5em;","}",".btn-primer-spec-preview:hover {"," width: 22em;","}",".primer-spec-preview-show-on-hover {"," opacity: 0;"," /* Transition applies onMouseOut (text disappears faster) */"," transition: opacity 0.15s;","}",".btn-primer-spec-preview:hover .primer-spec-preview-show-on-hover {"," opacity: 1;"," /* Transition applies onMouseOver (hence we add a delay) */"," transition: opacity 0.3s 0.3s;","}"),g("button",{class:"btn btn-primary btn-primer-spec-preview",onClick:()=>{window.open(function(e){const t=new URLSearchParams({doc1:e,doc2:window.location.href});return`${mo}?${t}`}(e),"_blank")}},g("i",{class:"fas fa-glasses",style:"font-weight: 900; opacity: 1;"})," ",g("span",{class:"primer-spec-preview-show-on-hover"},"Compare preview with published page"))):null}function go(e){const{theme_definition:t}=e.subtheme,{mode:o}=e,r=`primer-spec-theme-preview-${e.subtheme.name}-${e.mode}`,n=t[o]["--main-bg-color"]||"white",i=t[o]["--sidebar-bg-color"]||"white";return g("svg",{class:r,viewBox:"30.774 27.546 298.133 175.743",xmlns:"http://www.w3.org/2000/svg",style:`background-color: ${n};`,role:"img"},g("defs",null,g("style",null,`.${r} .sidebar-bg{fill:${i};stroke:${i};}`,`.${r} .sidebar-heading{fill:${t[o]["--sidebar-heading-text-color"]||"black"};}`,`.${r} .sidebar-toc-h1-link{fill:${t[o]["--sidebar-toc-h1-link-color"]||"#0366d6"};}`,`.${r} .sidebar-active-toc-section-bg{fill:${t[o]["--sidebar-active-toc-section-bg-color"]||"#faed27"};}`,`.${r} .sidebar-active-toc-section-link{fill:${t[o]["--sidebar-active-toc-section-link-color"]||"black"};}`,`.${r} .sidebar-toc-section-link{fill:${t[o]["--sidebar-toc-section-link-color"]||"black"};}`,`.${r} .sidebar-toc-h1-border-color{fill:${t[o]["--sidebar-toc-h1-border-color"]||"lightgrey"};}`,`.${r} .main-heading-link{fill:${t[o]["--main-heading-link-color"]||"#0366d6"};}`,`.${r} .main-text{fill:${t[o]["--main-text-color"]||"black"};}`,`.${r} .main-header-border-bottom{fill:none;stroke:${t[o]["--main-header-border-bottom-color"]||"#eaecef"};stroke-miterlimit:10;}`,`.${r} .main-link{fill:${t[o]["--main-link-color"]||"#0366d6"};}`,`.${r} .main-table-pre{fill:${t[o]["--main-table-pre-bg-color"]||"#f6f8fa"};stroke:${"light"===o?"none":"rgb(60, 62, 66)"};stroke-width:0.2}`,`.${r} .sidebar-border{fill:none;stroke:${t[o]["--sidebar-border-color"]||"#eaecef"};stroke-miterlimit:10;}`)),g("rect",{class:"sidebar-bg",x:"30.79",y:"27.669",width:"93.85",height:"175.646"}),g("rect",{class:"sidebar-heading",x:"43.588",y:"43.623",width:"41",height:"10.26",rx:"5"}),g("rect",{class:"sidebar-toc-h1-link",x:"43.588",y:"62.993",width:"58",height:"10.26",rx:"5"}),g("path",{class:"sidebar-active-toc-section-bg",d:"M 65.268 81.893 L 124.518 81.893 C 124.518 81.893 124.518 81.893 124.518 81.893 L 124.518 99.893 C 124.518 99.893 124.518 99.893 124.518 99.893 L 65.268 99.893 C 60.435 99.893 56.518 95.976 56.518 91.143 L 56.518 90.633 C 56.523 85.805 60.439 81.893 65.268 81.893 Z"}),g("rect",{class:"sidebar-active-toc-section-link",x:"64.748",y:"85.853",width:"47.77",height:"10.26",rx:"5.13"}),g("rect",{class:"sidebar-toc-section-link",x:"64.438",y:"105.573",width:"48.08",height:"10.26",rx:"5"}),g("rect",{class:"sidebar-toc-section-link",x:"64.438",y:"124.573",width:"48.08",height:"10.26",rx:"5.13"}),g("rect",{class:"sidebar-toc-h1-border-color",x:"-50.518",y:"-135.883",width:"2",height:"55",transform:"matrix(-1, 0, 0, -1, 0, 0)"}),g("rect",{class:"main-heading-link",x:"141.588",y:"43.623",width:"106.93",height:"21.26",rx:"4.49"}),g("rect",{class:"main-text",x:"141.518",y:"80.893",width:"162",height:"6",rx:"3"}),g("line",{class:"main-header-border-bottom",x1:"141.588",y1:"72.623",x2:"306.858",y2:"72.623"}),g("rect",{class:"main-text",x:"141.518",y:"103.893",width:"101",height:"6",rx:"3"}),g("rect",{class:"main-link",x:"245.388",y:"103.623",width:"28.13",height:"6.26",rx:"3.13"}),g("rect",{class:"main-text",x:"276.518",y:"103.623",width:"27",height:"6",rx:"3"}),g("rect",{class:"main-table-pre",x:"141.518",y:"170.893",width:"162",height:"32.424",style:""}),g("circle",{class:"main-text",cx:"144.088",cy:"136.123",r:"2"}),g("circle",{class:"main-text",cx:"144.088",cy:"160.123",r:"2"}),g("circle",{class:"main-text",cx:"144.088",cy:"148.123",r:"2"}),g("rect",{class:"main-link",x:"151.288",y:"133.063",width:"27.23",height:"6",rx:"3"}),g("rect",{class:"main-link",x:"151.288",y:"145.063",width:"27.23",height:"6",rx:"3"}),g("rect",{class:"sidebar-toc-h1-link",x:"43.638",y:"148.663",width:"58",height:"10.26",rx:"5"}),g("rect",{class:"sidebar-toc-h1-border-color",x:"-50.518",y:"-203.281",width:"1.95",height:"36.728",transform:"matrix(-1, 0, 0, -1, 0, 0)",style:""}),g("rect",{class:"sidebar-toc-section-link",x:"64.888",y:"166.803",width:"48.08",height:"10.26",rx:"5"}),g("rect",{class:"sidebar-toc-section-link",x:"64.888",y:"183.803",width:"48.08",height:"10.26",rx:"5.13"}),g("path",{class:"sidebar-toc-section-link",d:"M 65.248 203.3 C 66.2 202.04 67.796 201.283 69.504 201.283 L 107.283 201.283 C 108.94 201.285 110.459 202.119 111.424 203.317",style:""}),g("rect",{class:"main-text",x:"141.518",y:"92.893",width:"162",height:"6",rx:"3"}),g("rect",{class:"main-text",x:"141.518",y:"115.893",width:"162",height:"6",rx:"3"}),g("rect",{class:"main-link",x:"151.398",y:"157.243",width:"27.23",height:"6",rx:"3"}),g("line",{class:"sidebar-border",x1:"124.588",y1:"27.623",x2:"124.588",y2:"203.317",style:""}))}const bo=[{name:"light",label:"Light"},{name:"dark",label:"Dark"},{name:"system",label:"Sync with OS setting"}];function Ao(e){const t=Tt();if(so(),Lt((()=>kt({name:"default",mode:"light"},!1))),Nt((()=>kt({name:e.currentSubthemeName,mode:e.currentSubthemeMode},!1))),!e.settingsShown||t)return null;const o=St(e.currentSubthemeMode);return g("div",{class:"primer-spec-settings-container position-fixed top-0 left-0 width-full height-full"},g("div",{class:Pt("primer-spec-settings","container-lg","markdown-body","px-3","my-5",{"primer-spec-content-margin-extra":e.sidebarShown&&!e.isSmallScreen,"primer-spec-content-mobile":e.isSmallScreen})},g("h1",{class:"primer-spec-toc-ignore"},"Spec Theme Settings"),g("h2",null,"Colors"),g("form",{class:"primer-spec-settings-theme-preview-container",onSubmit:e=>e.preventDefault()},Object.values(lt).map((t=>g("label",{key:t.name,class:Pt("primer-spec-settings-theme-preview-box",{"primer-spec-settings-theme-preview-selected":e.currentSubthemeName===t.name})},g(go,{subtheme:t,mode:o}),g("div",{class:Pt("primer-spec-settings-theme-preview-title",{"primer-spec-settings-theme-preview-selected":e.currentSubthemeName===t.name})},g("input",{type:"radio",value:t.name,name:"primer-spec-settings-subtheme",checked:e.currentSubthemeName===t.name,onChange:t=>e.onSubthemeNameChange(t.target.value)})," ",t.label))))),g("h2",null,"Color mode"),g("form",{onSubmit:e=>e.preventDefault()},bo.map((t=>g("label",{key:t.name,class:"primer-spec-settings-theme-mode-label"},g("input",{type:"radio",value:t.name,name:"primer-spec-settings-subtheme-mode",checked:e.currentSubthemeMode===t.name,onChange:t=>e.onSubthemeModeChange(t.target.value)})," ",t.label)))),g("hr",null),g("p",null,g("small",null,"Does the spec display incorrectly? ",g("a",{href:"https://github.com/eecs485staff/primer-spec/issues"},'Let us know by adding a new "issue" here.'))),g("p",{class:"primer-spec-brand"},g("a",{href:"https://github.com/eecs485staff/primer-spec/",target:"_blank",rel:"noreferrer"},`Primer Spec v${vt.VERSION_RAW}`))))}var _o;!function(e){e.CLOSE="fas fa-times",e.HOME="fas fa-home",e.SETTINGS="fas fa-cog",e.SIDEBAR="fas fa-bars",e.EXTERNAL_LINK="fas fa-external-link-alt",e.DOWNLOAD="fas fa-file-download"}(_o||(_o={}));const wo=_o;function vo(e){return g("span",{class:"primer-spec-hoverable "+(e.floatRight?"primer-spec-hoverable-float-right":"")},e.children)}function ko(e){return g(vo,{floatRight:e.floatRight},g("a",{href:e.href??"#primer-spec-top",class:"primer-spec-hoverable no-print",onClick:e.onClick?t=>{t.preventDefault(),e.onClick&&e.onClick()}:void 0,"aria-label":e.ariaLabel},g("i",{class:e.icon})))}function yo(e){return g(vo,{floatRight:e.floatRight},g("button",{class:"btn-link primer-spec-hoverable no-print",onClick:e.onClick?t=>{t.preventDefault(),e.onClick&&e.onClick()}:void 0,"aria-label":e.ariaLabel},g("i",{class:e.icon})))}function Eo(e){return g(vo,{floatRight:e.floatRight},g("a",{class:"btn-link primer-spec-hoverable no-print tooltipped tooltipped-no-delay tooltipped-w",role:"button",href:e.href,onClick:t=>{t.preventDefault(),function(e){const{url:t,download:o}=e;try{!function(e){if(!e.startsWith("https://")&&!e.startsWith("/"))throw new Error(`Expected HTTPS external link, received: ${e}`)}(t)}catch(e){return void console.error("Blocking attempt to open external link. Error:",e)}const r=document.createElement("a");r.href=t,null!=o&&!1!==o&&(r.download="boolean"==typeof o?"":o),r.style.display="none",document.body.appendChild(r),r.click(),setTimeout((()=>{document.body.removeChild(r)}),2e3)}({url:e.href,download:e.download})},"aria-label":e.ariaLabel},g("i",{class:e.icon})))}function So(e){const t=e.tagName.match(/^H(\d+)$/i);if(null==t)throw new Error(`Primer Spec: Unexpected heading tagname while attempting to extract heading level: ${e.tagName}`);return parseInt(t[1],10)}const xo=1;function Co(e){const t=function(e){return 1===e.length&&1===e[0].headingLevel?e[0].section:e}(e),o=function(e){return e.reduce(((e,t)=>null==e||t.headingLevel{let o=e.headingLevel-t;return o{let e=!1;const t=()=>{e||(window.requestAnimationFrame((()=>{o(window.scrollY),e=!1})),e=!0)};return window.addEventListener("scroll",t,{passive:!0}),()=>{window.removeEventListener("scroll",t)}}),[]);const r=function(e,t){const o=document.body.querySelector(e);if(!o)throw new Error(`Primer Spec: TableOfContents: Main content node could not be found with selector: ${e}`);const r=[...o.querySelectorAll("h1, h2, h3, h4, h5, h6")].filter((e=>!e.classList.contains("primer-spec-toc-ignore")));let n=r.length-1;for(let e=0;e0){n=e-1;break}return function(e,t){const o=Co(function(e,t=-1){if(!e.length)return[];const o=[];let r=1,n={heading:e[0],headingLevel:So(e[0]),active:0===t,section:[]};const i=[];for(;rn.heading.tagName?(n.section.push(c),i.push(n),n=c,++r):i.length?n=i.pop():(o.push(n),n=c,++r)}return i.length?o.push(i[0]):o.push(n),o}(e,t));return g("ul",{class:"primer-spec-toc-list"},o.map((e=>No(e))))}(r,n)}(e.contentNodeSelector,e.activeSectionOffsetY);return g("nav",{class:"primer-spec-toc","aria-label":"Page contents"},g("div",{role:"presentation",onClick:()=>{e.isSmallScreen&&e.sidebarShown&&e.onToggleSidebar(),e.settingsShown&&e.onToggleSettings()}},r))}function No(e){const t=e.heading,o=function(e){if(e.id&&Io[e.id])return Io[e.id];let t=null;try{const o=[];e.childNodes.forEach((e=>{switch(e.nodeType){case Node.TEXT_NODE:o.push(g(A,null,e.nodeValue));break;case Node.ELEMENT_NODE:if(!(e instanceof HTMLElement))throw new Error("getHeadingLabel expected HTML Element");if("CODE"===e.tagName||"TT"===e.tagName)o.push(g("code",{class:[...e.classList].join(" ")},e.innerText));else if("ABBR"===e.tagName)o.push(g(A,null,e.innerText));else{if("A"===e.tagName&&e.classList.contains("anchorjs-link"))return;o.push(g("span",{dangerouslySetInnerHTML:{__html:e.outerHTML}}))}}})),t=g(A,null,o)}catch(o){console.error("Primer Spec ToC: Errored while building heading label for heading",e),t=g(A,null,e.innerText)}return e.id&&(Io[e.id]=t),t}(t);return g("li",null,g("div",{class:Pt(`primer-spec-toc-item primer-spec-toc-h${e.headingLevel}`,{"primer-spec-toc-active":e.active})},g("a",{href:Mo(t)},o)),g("ul",{class:"primer-spec-toc-section primer-spec-toc-list"},e.section.map((e=>No(e)))))}function Mo(e){const t=e.querySelector("a.anchorjs-link");return t?t.getAttribute("href")||"#":(console.error("Primer Spec: getAnchorLink expected heading to contain anchor while populating table of contents."),"#")}const Io={};function Po(e){if(null==e.sitemap)return g("div",{role:"presentation",onClick:()=>!0},e.children);const t=e.sitemap.rootPage.current;return g(A,null,g(Oo,{sitemap:e.sitemap},t?void 0:e.children),g("hr",null),g(Do,{page:e.sitemap.rootPage,dedent:!0},t?e.children:void 0))}function Oo(e){const t=null==vt.SITEMAP_LABEL,o=g(A,null,e.sitemap.siteUrls.map((o=>g(Do,{key:o.url,page:o,dedent:t},o.current?e.children:void 0))));return t?o:g("details",{role:"navigation","aria-label":vt.SITEMAP_LABEL??"Sitemap",open:!e.sitemap.rootPage.current||void 0},g("summary",null,vt.SITEMAP_LABEL),o)}function Do(e){const t=e.page.title||e.page.path&&function(e){const t=(e=function(e){const t=e.split("/");return t[t.length-1]}(e)).lastIndexOf(".");return-1!==t&&(e=e.slice(0,t)),(e=e.replace(/[-_]/g," ")).replace(/\w\S*/g,(e=>e.charAt(0).toUpperCase()+e.substr(1).toLowerCase()))}(e.page.path);return t||console.error(`Primer Spec: Page with URL ${e.page.url} has no title to display in sidebar`),e.page.current?g("details",{open:!0,class:e.dedent?"left-space-fix":"primer-spec-toc-sitemap-item"},g("summary",{class:"left-space-fix primer-spec-toc-active"},t),e.children):g("a",{href:e.page.url,tabIndex:-1},g("details",{class:e.dedent?"":"primer-spec-toc-sitemap-item"},g("summary",{class:e.page.external?"primer-spec-toc-sitemap-external":"","data-order":e.page.external?"":e.page.sitemapOrder??"",role:"link",tabIndex:0,onClick:t=>{t.preventDefault(),window.location.href=e.page.url}},t,e.page.external&&g(A,null,g("i",{class:wo.EXTERNAL_LINK}),g("span",{class:"sr-only"},"External Link")))))}const Ro=250,Bo=650,$o="primer_spec_sidebar_width_delta";let Ho;function Uo({sidebarRef:e}){const t=ee(null),o=ee({startCursorScreenX:null,startSidebarWidth:null,startMainContentMargin:null}),[r,n]=X(null),i=oe(((o,r,n)=>{if(null!=r&&null!=n){let i=Math.max(Ro,r+o);i=Math.min(i,Bo);const l=n+(i-r);e.current&&t.current&&(e.current.style.width=`${i}px`,t.current.style.left=`${i}px`,jo().forEach((e=>{e.style.marginLeft=`${l}px`})))}}),[e,t]);return J((()=>{Ho=Fo(e);const t=function(){const e=parseInt(st.getForPage($o)??"",10);return Number.isNaN(e)?null:e}();null!=t&&i(t,Ho,Yo())}),[]),Z((()=>{const t=e=>{const{startCursorScreenX:t,startSidebarWidth:r,startMainContentMargin:n}=o.current;if(t){const o=e.screenX-t;i(o,r,n)}},r=()=>{const t=Yo();null!=t&&n(t);const r=parseInt(e.current?.style.width??"",10);var i;i=Number.isNaN(r)?null:r-(Ho??0),st.setForPage($o,i??""),o.current={startCursorScreenX:null,startSidebarWidth:null,startMainContentMargin:null}};return document.addEventListener("mousemove",t,{passive:!0}),document.addEventListener("mouseup",r,{passive:!0}),()=>{document.removeEventListener("mousemove",t),document.removeEventListener("mouseup",r)}}),[e,t,i,n]),g("div",{ref:t,class:"primer-spec-sidebar-resize-handle position-fixed top-0",tabIndex:-1,"aria-hidden":"true",onMouseDown:t=>{t.preventDefault(),t.stopPropagation(),o.current={startCursorScreenX:t.screenX,startSidebarWidth:Fo(e),startMainContentMargin:Yo()}}},r?g("style",null,".primer-spec-content-margin-extra {",` margin-left: ${r}px`,"}"):null)}function Fo(e){return e.current?.offsetWidth??null}function jo(){const e=document.querySelectorAll(".primer-spec-content-margin-extra");if(e.length<=0)throw new Error("Primer Spec: While resizing sidebar, expected at least one main content node.");return e}function Yo(){const e=jo(),t=e?window.getComputedStyle(e[0]).getPropertyValue("margin-left"):null;return t?.match(/^\d+px$/)?parseInt(t,10):null}const zo="primer_spec_sidebar_scroll_position";function Go(e){const{isSmallScreen:t,sidebarShown:o,onToggleSidebar:r}=e,n=Tt(),i=ee(null),l=te((()=>function(e){if(!e)return null;const t=vt.SITEMAP_URLS.filter((e=>!e.path?.startsWith("assets")));if(0===t.length)return null;const o=t.findIndex((e=>/^(index|readme)\.(md|htm|html)$/.test(e.path?.toLowerCase()||"")));if(-1===o)return console.warn("PrimerSpec: processSitemapURLs: Expected to find a root page. Disabling sitemap."),null;const[r]=t.splice(o,1);return r.title=vt.SITEMAP_SITE_TITLE,t.sort(((e,t)=>e.external&&t.external?0:e.external?1:t.external?-1:(e.sitemapOrder??Number.MAX_VALUE)-(t.sitemapOrder??Number.MAX_VALUE))),{rootPage:r,siteUrls:t}}(e.sitemapEnabled)),[e.sitemapEnabled]),c=oe((()=>{i?.current&&Wo(i.current.scrollTop),r()}),[r]);return Z((()=>{const e=e=>{const t=e?.target;t&&!t.matches(".primer-spec-sidebar, .primer-spec-sidebar *")&&document.body.contains(t)&&o&&c()};return t&&window.addEventListener("click",e),()=>{window.removeEventListener("click",e)}}),[t,o,c]),J((()=>{const e=function(){const e=parseInt(st.getForPage(zo)||"",10);return Number.isNaN(e)?null:e}();e&&i?.current&&(i.current.scrollTop=e,Wo(null))})),!e.sidebarShown||n?g("div",null):g(A,null,g("aside",{ref:i,class:"primer-spec-sidebar position-fixed top-0 py-5 no-print","aria-label":"Contents Sidebar",tabIndex:-1},g("h2",{class:"primer-spec-toc-ignore",id:"primer-spec-toc-contents"},null==l?void 0:g(A,null,g(ko,{icon:wo.HOME,href:l.rootPage.url,ariaLabel:l.rootPage.title||"Home"})," "),"Contents",g(yo,{icon:wo.SIDEBAR,floatRight:!0,onClick:c,ariaLabel:"Close navigation pane"})),g("br",null),g(Po,{sitemap:l},g(Lo,{contentNodeSelector:e.contentNodeSelector,isSmallScreen:e.isSmallScreen,sidebarShown:e.sidebarShown,settingsShown:e.settingsShown,activeSectionOffsetY:e.activeSectionOffsetY,onToggleSidebar:c,onToggleSettings:e.onToggleSettings}))),t?null:g(Uo,{sidebarRef:i}))}function Wo(e){st.setForPage(zo,`${e}`)}const qo="primer-spec-settings-toggle",Ko="primer-spec-topbar-button";function Qo(e){const t=ee(null),{isSmallScreen:o,onActiveSectionOffsetChange:r}=e;J((()=>{o?t.current&&r(t.current.getBoundingClientRect().height):r(20)}),[o,r]);let n=null;e.showSidebarToggle&&(n=e.sidebarShown?null:g("div",{class:"primer-spec-topbar-button primer-spec-float-left"},g(yo,{icon:wo.SIDEBAR,onClick:e.onToggleSidebar,ariaLabel:"Open navigation pane"})));let i=null;if(null!=vt.PDF_PATH&&(!e.isSmallScreen||e.isSmallScreen&&e.settingsShown)){const e=vt.SITE_QUALIFIED_BASE_URL+vt.PDF_PATH;i=g("div",{class:Ko},g(Eo,{icon:wo.DOWNLOAD,href:e,download:!0,ariaLabel:"Download this page as a PDF file"}))}let l=null;return e.showSettingsToggle&&(l=g("div",{id:qo,class:Ko},g(yo,{icon:e.settingsShown?wo.CLOSE:wo.SETTINGS,onClick:e.onToggleSettings,ariaLabel:e.settingsShown?"Close settings pane":"Open settings pane"}))),g("header",{ref:t,class:Pt("primer-spec-topbar","position-fixed","width-full","top-0","left-0","py-2","no-print",{"primer-spec-topbar-mobile":e.isSmallScreen,"primer-spec-topbar-settings-shown":e.settingsShown})},n,g("div",{class:"primer-spec-float-right"},i,l))}let Vo=null;function Xo(e){const t=function(){const[e,t]=X(Mt());return J((()=>{const o=()=>{const o=Mt();o!==e&&t(o)};return window.addEventListener("resize",o),()=>{window.removeEventListener("resize",o)}}),[e]),e}(),[o,n]=X(!vt.HIDE_SIDEBAR_ON_LOAD&&!t),[i,l]=X(!1),[c,a]=X(vt.DEFAULT_ACTIVE_SECTION_OFFSET_Y),[s,d]=X(vt.INIT_SUBTHEME_NAME),[u,h]=X(vt.INIT_SUBTHEME_MODE),[p,m]=X(vt.INIT_SITEMAP_ENABLED),f=!i,b=()=>{st.setForPage("sidebar_hidden",o.toString()),n(!o)},_=()=>{f&&(Vo={top:window.scrollY,left:window.scrollX}),l(!i)},w=e=>{kt(e),d(yt()),h(Et())};Lt(oe((()=>{Zo(!1)}),[])),Nt(oe((()=>{Zo(!0)}),[])),Z((()=>{window.Debug=Object.freeze({toggleSitemap:()=>m(!p)})}),[p]),Z((()=>{r.e(249).then(r.bind(r,249)).then((({executePlugins:e})=>{e({is_small_screen:t,sidebar_shown:o,settings_shown:i,subtheme_name:s,subtheme_mode:St(u)})}))}),[t,o,i,s,u]);const v=vt.DISABLE_SIDEBAR?null:g(Go,{contentNodeSelector:`#${vt.PRIMER_SPEC_CONTENT_PREACT_NODE_ID}`,isSmallScreen:t,sidebarShown:o,settingsShown:i,activeSectionOffsetY:c,sitemapEnabled:p,onToggleSidebar:b,onToggleSettings:_});return g(A,null,g(Qo,{isSmallScreen:t,showSidebarToggle:!vt.DISABLE_SIDEBAR,showSettingsToggle:!0,sidebarShown:o,settingsShown:i,onActiveSectionOffsetChange:a,onToggleSidebar:b,onToggleSettings:_}),g(uo,{innerHTML:e.contentHTML,visible:f,scrollToPosition:f?Vo:null,isSmallScreen:t,sidebarShown:o,currentSubthemeName:s,currentSubthemeMode:u}),v,g(Ao,{isSmallScreen:t,sidebarShown:o,settingsShown:i,currentSubthemeName:s,currentSubthemeMode:u,onSubthemeNameChange:e=>w({name:e}),onSubthemeModeChange:e=>w({mode:e})}),g(fo,null))}function Zo(e){const t=function(){const e=navigator.userAgent.match(/Chrom(e|ium)\/([0-9]+)\./);return!!e&&parseInt(e[2],10)}();if(!1===t||t>=82)return;const o=e?"italic":"inherit",r=document.querySelectorAll("em, dfn, .text-italic, dt, .highlight .cm, .highlight .c1, .highlight .cs, .highlight .cd, .highlight .ge, .primer-spec-toc-h4");Array.from(r).map((e=>{e.style.fontStyle=o}))}!function(){const o=new(s());o.add("h1"),o.add();const r=document.getElementById(vt.PRIMER_SPEC_CONTENT_PLUGIN_NODE_ID),n=document.getElementById(vt.PRIMER_SPEC_APP_NODE_ID);if(!r||"DIV"!==r.tagName||!n||"DIV"!==n.tagName)throw new Error("Primer Spec: This page included the Primer Spec plugin script, but was not compatible with the plugin!");const i=r.innerHTML;r.remove(),function(e,t,o){const r=document.createElement("link");r.rel="stylesheet",r.href="https://use.fontawesome.com/releases/v5.7.2/css/all.css",t&&(r.integrity=t),o&&(r.crossOrigin=o),document.head.appendChild(r)}(0,"sha384-fnmOCqbTlWIlj8LyTjo7mOUStjsKC4pOpQbqyi7RrhN7udi9RwhKkMHpvLbHG9Sr","anonymous"),kt({name:vt.INIT_SUBTHEME_NAME,mode:vt.INIT_SUBTHEME_MODE},!1),window.matchMedia("(prefers-color-scheme: dark)").addListener((()=>kt())),function(o,r,n){var i,l,c,a;t.__&&t.__(o,r),l=(i="function"==typeof n)?null:n&&n.__k||r.__k,c=[],a=[],I(r,o=(!i&&n||r).__k=g(A,null,[o]),l||d,d,void 0!==r.ownerSVGElement,!i&&n?[n]:l?null:r.firstChild?e.call(r.childNodes):null,c,!i&&n?n:l?l.__e:r.firstChild,i,a),P(c,o,a)}(g(Xo,{contentHTML:i}),n),console.info("\nThis page is formatted using %cPrimer Spec.%c\n\nWould you like to contribute to the theme? Check out:\nhttps://github.com/eecs485staff/primer-spec\n","font-weight: bolder;","")}()})()})(); +(()=>{var e,t={287:function(e,t){var o,r,n;!function(i,l){"use strict";r=[],void 0===(n="function"==typeof(o=function(){return function(e){function t(e){e.icon=Object.prototype.hasOwnProperty.call(e,"icon")?e.icon:"",e.visible=Object.prototype.hasOwnProperty.call(e,"visible")?e.visible:"hover",e.placement=Object.prototype.hasOwnProperty.call(e,"placement")?e.placement:"right",e.ariaLabel=Object.prototype.hasOwnProperty.call(e,"ariaLabel")?e.ariaLabel:"Anchor",e.class=Object.prototype.hasOwnProperty.call(e,"class")?e.class:"",e.base=Object.prototype.hasOwnProperty.call(e,"base")?e.base:"",e.truncate=Object.prototype.hasOwnProperty.call(e,"truncate")?Math.floor(e.truncate):64,e.titleText=Object.prototype.hasOwnProperty.call(e,"titleText")?e.titleText:""}function o(e){var t;if("string"==typeof e||e instanceof String)t=[].slice.call(document.querySelectorAll(e));else{if(!(Array.isArray(e)||e instanceof NodeList))throw new TypeError("The selector provided to AnchorJS was invalid.");t=[].slice.call(e)}return t}this.options=e||{},this.elements=[],t(this.options),this.isTouchDevice=function(){return Boolean("ontouchstart"in window||window.TouchEvent||window.DocumentTouch&&document instanceof DocumentTouch)},this.add=function(e){var r,n,i,l,c,a,s,d,u,h,p,m,f=[];if(t(this.options),"touch"===(p=this.options.visible)&&(p=this.isTouchDevice()?"always":"hover"),e||(e="h2, h3, h4, h5, h6"),0===(r=o(e)).length)return this;for(function(){if(null===document.head.querySelector("style.anchorjs")){var e,t=document.createElement("style");t.className="anchorjs",t.appendChild(document.createTextNode("")),void 0===(e=document.head.querySelector('[rel="stylesheet"],style'))?document.head.appendChild(t):document.head.insertBefore(t,e),t.sheet.insertRule(".anchorjs-link{opacity:0;text-decoration:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}",t.sheet.cssRules.length),t.sheet.insertRule(":hover>.anchorjs-link,.anchorjs-link:focus{opacity:1}",t.sheet.cssRules.length),t.sheet.insertRule("[data-anchorjs-icon]::after{content:attr(data-anchorjs-icon)}",t.sheet.cssRules.length),t.sheet.insertRule('@font-face{font-family:anchorjs-icons;src:url(data:n/a;base64,AAEAAAALAIAAAwAwT1MvMg8yG2cAAAE4AAAAYGNtYXDp3gC3AAABpAAAAExnYXNwAAAAEAAAA9wAAAAIZ2x5ZlQCcfwAAAH4AAABCGhlYWQHFvHyAAAAvAAAADZoaGVhBnACFwAAAPQAAAAkaG10eASAADEAAAGYAAAADGxvY2EACACEAAAB8AAAAAhtYXhwAAYAVwAAARgAAAAgbmFtZQGOH9cAAAMAAAAAunBvc3QAAwAAAAADvAAAACAAAQAAAAEAAHzE2p9fDzz1AAkEAAAAAADRecUWAAAAANQA6R8AAAAAAoACwAAAAAgAAgAAAAAAAAABAAADwP/AAAACgAAA/9MCrQABAAAAAAAAAAAAAAAAAAAAAwABAAAAAwBVAAIAAAAAAAIAAAAAAAAAAAAAAAAAAAAAAAMCQAGQAAUAAAKZAswAAACPApkCzAAAAesAMwEJAAAAAAAAAAAAAAAAAAAAARAAAAAAAAAAAAAAAAAAAAAAQAAg//0DwP/AAEADwABAAAAAAQAAAAAAAAAAAAAAIAAAAAAAAAIAAAACgAAxAAAAAwAAAAMAAAAcAAEAAwAAABwAAwABAAAAHAAEADAAAAAIAAgAAgAAACDpy//9//8AAAAg6cv//f///+EWNwADAAEAAAAAAAAAAAAAAAAACACEAAEAAAAAAAAAAAAAAAAxAAACAAQARAKAAsAAKwBUAAABIiYnJjQ3NzY2MzIWFxYUBwcGIicmNDc3NjQnJiYjIgYHBwYUFxYUBwYGIwciJicmNDc3NjIXFhQHBwYUFxYWMzI2Nzc2NCcmNDc2MhcWFAcHBgYjARQGDAUtLXoWOR8fORYtLTgKGwoKCjgaGg0gEhIgDXoaGgkJBQwHdR85Fi0tOAobCgoKOBoaDSASEiANehoaCQkKGwotLXoWOR8BMwUFLYEuehYXFxYugC44CQkKGwo4GkoaDQ0NDXoaShoKGwoFBe8XFi6ALjgJCQobCjgaShoNDQ0NehpKGgobCgoKLYEuehYXAAAADACWAAEAAAAAAAEACAAAAAEAAAAAAAIAAwAIAAEAAAAAAAMACAAAAAEAAAAAAAQACAAAAAEAAAAAAAUAAQALAAEAAAAAAAYACAAAAAMAAQQJAAEAEAAMAAMAAQQJAAIABgAcAAMAAQQJAAMAEAAMAAMAAQQJAAQAEAAMAAMAAQQJAAUAAgAiAAMAAQQJAAYAEAAMYW5jaG9yanM0MDBAAGEAbgBjAGgAbwByAGoAcwA0ADAAMABAAAAAAwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAH//wAP) format("truetype")}',t.sheet.cssRules.length)}}(),n=document.querySelectorAll("[id]"),i=[].map.call(n,(function(e){return e.id})),c=0;c\]./()*\\\n\t\b\v\u00A0]/g,"-").replace(/-{2,}/g,"-").substring(0,this.options.truncate).replace(/^-+|-+$/gm,"").toLowerCase()},this.hasAnchorJSLink=function(e){var t=e.firstChild&&(" "+e.firstChild.className+" ").indexOf(" anchorjs-link ")>-1,o=e.lastChild&&(" "+e.lastChild.className+" ").indexOf(" anchorjs-link ")>-1;return t||o||!1}}})?o.apply(t,r):o)||(e.exports=n)}()},916:(e,t,o)=>{"use strict";o.d(t,{h:()=>k});const r=Object.keys;function n(e){return"string"==typeof e}function i(e){return"number"==typeof e}function l(e){return"object"==typeof e?null!==e:c(e)}function c(e){return"function"==typeof e}function a(e,t){if(e)for(const o of r(e))t(e[o],o)}const s={animationIterationCount:0,borderImageOutset:0,borderImageSlice:0,borderImageWidth:0,boxFlex:0,boxFlexGroup:0,boxOrdinalGroup:0,columnCount:0,columns:0,flex:0,flexGrow:0,flexPositive:0,flexShrink:0,flexNegative:0,flexOrder:0,gridArea:0,gridRow:0,gridRowEnd:0,gridRowSpan:0,gridRowStart:0,gridColumn:0,gridColumnEnd:0,gridColumnSpan:0,gridColumnStart:0,fontWeight:0,lineClamp:0,lineHeight:0,opacity:0,order:0,orphans:0,tabSize:0,widows:0,zIndex:0,zoom:0,fillOpacity:0,floodOpacity:0,stopOpacity:0,strokeDasharray:0,strokeDashoffset:0,strokeMiterlimit:0,strokeOpacity:0,strokeWidth:0},d=["Webkit","ms","Moz","O"];r(s).forEach((e=>{d.forEach((t=>{s[function(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}(t,e)]=0}))}));const u=Symbol.for("jsx-dom:type");var h=function(e){return e.ShadowRoot="ShadowRoot",e}(h||{});const p="http://www.w3.org/2000/svg",m="http://www.w3.org/1999/xlink",f="http://www.w3.org/XML/1998/namespace";function g(e){return!("boolean"==typeof e||null==e)}const b="undefined"!=typeof DOMTokenList?DOMTokenList:function(){};function A(e){return Array.isArray(e)?e.map(A).filter(Boolean).join(" "):e instanceof b?""+e:l(e)?r(e).filter((t=>e[t])).join(" "):g(e)?""+e:""}const _={animate:0,circle:0,clipPath:0,defs:0,desc:0,ellipse:0,feBlend:0,feColorMatrix:0,feComponentTransfer:0,feComposite:0,feConvolveMatrix:0,feDiffuseLighting:0,feDisplacementMap:0,feDistantLight:0,feFlood:0,feFuncA:0,feFuncB:0,feFuncG:0,feFuncR:0,feGaussianBlur:0,feImage:0,feMerge:0,feMergeNode:0,feMorphology:0,feOffset:0,fePointLight:0,feSpecularLighting:0,feSpotLight:0,feTile:0,feTurbulence:0,filter:0,foreignObject:0,g:0,image:0,line:0,linearGradient:0,marker:0,mask:0,metadata:0,path:0,pattern:0,polygon:0,polyline:0,radialGradient:0,rect:0,stop:0,svg:0,switch:0,symbol:0,text:0,textPath:0,tspan:0,use:0,view:0},w=/^(a(ll|t|u)|base[FP]|c(al|lipPathU|on)|di|ed|ex|filter[RU]|g(lyphR|r)|ke|l(en|im)|ma(rker[HUW]|s)|n|pat|pr|point[^e]|re[^n]|s[puy]|st[^or]|ta|textL|vi|xC|y|z)/;function v(e,t){let o,{children:i,...a}=t;if(a.namespaceURI||0!==_[e]||(a={...a,namespaceURI:p}),n(e)){if(o=a.namespaceURI?document.createElementNS(a.namespaceURI,e):document.createElement(e),function(e,t){for(const o of r(e))T(o,e[o],t)}(a,o),E(i,o),o instanceof window.HTMLSelectElement&&null!=a.value)if(!0===a.multiple&&Array.isArray(a.value)){const e=a.value.map((e=>String(e)));o.querySelectorAll("option").forEach((t=>t.selected=e.includes(t.value)))}else o.value=a.value;y(a.ref,o)}else{if(!c(e))throw new TypeError(`Invalid JSX element type: ${e}`);l(e.defaultProps)&&(a={...e.defaultProps,...a}),o=function(e){const{prototype:t}=e;return!(!t||!t.isReactComponent)}(e)?function(e,t,o){return new e(t={...t,children:o}).render()}(e,a,i):e({...a,children:i})}return o}function k(e,t){for(var o=arguments.length,r=new Array(o>2?o-2:0),i=2;it+e.toLowerCase()))}function C(e,t){null==t||!1===t||(Array.isArray(t)?t.forEach((t=>C(e,t))):n(t)?e.setAttribute("style",t):l(t)&&a(t,((t,o)=>{0===o.indexOf("-")?e.style.setProperty(o,t):i(t)&&0!==s[o]?e.style[o]=t+"px":e.style[o]=t})))}function T(e,t,o){switch(e){case"xlinkActuate":case"xlinkArcrole":case"xlinkHref":case"xlinkRole":case"xlinkShow":case"xlinkTitle":case"xlinkType":return void N(o,m,x(e,":"),t);case"xmlnsXlink":return void L(o,x(e,":"),t);case"xmlBase":case"xmlLang":case"xmlSpace":return void N(o,f,x(e,":"),t)}switch(e){case"htmlFor":return void L(o,"for",t);case"dataset":return void a(t,((e,t)=>{null!=e&&(o.dataset[t]=e)}));case"innerHTML":case"innerText":case"textContent":return void(g(t)&&(o[e]=t));case"dangerouslySetInnerHTML":return void(l(t)&&(o.innerHTML=t.__html));case"value":if(null==t||o instanceof window.HTMLSelectElement)return;if(o instanceof window.HTMLTextAreaElement)return void(o.value=t);break;case"spellCheck":return void(o.spellcheck=t);case"class":case"className":return void(c(t)?t(o):L(o,"class",A(t)));case"ref":case"namespaceURI":return;case"style":return void C(o,t);case"on":case"onCapture":return void a(t,((t,r)=>{o.addEventListener(r,t,"onCapture"===e)}))}if(c(t)){if("o"===e[0]&&"n"===e[1]){let r=e.toLowerCase();const n=r.endsWith("capture");if("ondoubleclick"===r?r="ondblclick":n&&"ondoubleclickcapture"===r&&(r="ondblclickcapture"),n||null!==o[r])if(n)o.addEventListener(r.substring(2,r.length-7),t,!0);else{let n;n=r in window?r.substring(2):r[2]+e.slice(3),o.addEventListener(n,t)}else o[r]=t}}else l(t)?o[e]=t:!0===t?L(o,e,""):!1!==t&&null!=t&&(o instanceof SVGElement&&!w.test(e)?L(o,x(e,"-"),t):L(o,e,t))}function L(e,t,o){e.setAttribute(t,o)}function N(e,t,o,r){e.setAttributeNS(t,o,r)}}},o={};function r(e){var n=o[e];if(void 0!==n)return n.exports;var i=o[e]={exports:{}};return t[e].call(i.exports,i,i.exports,r),i.exports}r.m=t,r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var o in t)r.o(t,o)&&!r.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},r.f={},r.e=e=>Promise.all(Object.keys(r.f).reduce(((t,o)=>(r.f[o](e,t),t)),[])),r.u=e=>e+".primer_spec_plugin.min.js",r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),e={},r.l=(t,o,n,i)=>{if(e[t])e[t].push(o);else{var l,c;if(void 0!==n)for(var a=document.getElementsByTagName("script"),s=0;s{l.onerror=l.onload=null,clearTimeout(h);var n=e[t];if(delete e[t],l.parentNode&&l.parentNode.removeChild(l),n&&n.forEach((e=>e(r))),o)return o(r)},h=setTimeout(u.bind(null,void 0,{type:"timeout",target:l}),12e4);l.onerror=u.bind(null,l.onerror),l.onload=u.bind(null,l.onload),c&&document.head.appendChild(l)}},r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e;r.g.importScripts&&(e=r.g.location+"");var t=r.g.document;if(!e&&t&&(t.currentScript&&(e=t.currentScript.src),!e)){var o=t.getElementsByTagName("script");if(o.length)for(var n=o.length-1;n>-1&&!e;)e=o[n--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),r.p=e})(),(()=>{var e={179:0};r.f.j=(t,o)=>{var n=r.o(e,t)?e[t]:void 0;if(0!==n)if(n)o.push(n[2]);else{var i=new Promise(((o,r)=>n=e[t]=[o,r]));o.push(n[2]=i);var l=r.p+r.u(t),c=new Error;r.l(l,(o=>{if(r.o(e,t)&&(0!==(n=e[t])&&(e[t]=void 0),n)){var i=o&&("load"===o.type?"missing":o.type),l=o&&o.target&&o.target.src;c.message="Loading chunk "+t+" failed.\n("+i+": "+l+")",c.name="ChunkLoadError",c.type=i,c.request=l,n[1](c)}}),"chunk-"+t,t)}};var t=(t,o)=>{var n,i,[l,c,a]=o,s=0;if(l.some((t=>0!==e[t]))){for(n in c)r.o(c,n)&&(r.m[n]=c[n]);a&&a(r)}for(t&&t(o);s{"use strict";var e,t,o,n,i,l,c,a=r(287),s=r.n(a),d={},u=[],h=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,p=Array.isArray;function m(e,t){for(var o in t)e[o]=t[o];return e}function f(e){var t=e.parentNode;t&&t.removeChild(e)}function g(t,o,r){var n,i,l,c={};for(l in o)"key"==l?n=o[l]:"ref"==l?i=o[l]:c[l]=o[l];if(arguments.length>2&&(c.children=arguments.length>3?e.call(arguments,2):r),"function"==typeof t&&null!=t.defaultProps)for(l in t.defaultProps)void 0===c[l]&&(c[l]=t.defaultProps[l]);return b(t,c,n,i,null)}function b(e,r,n,i,l){var c={type:e,props:r,key:n,ref:i,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==l?++o:l};return null==l&&null!=t.vnode&&t.vnode(c),c}function A(e){return e.children}function _(e,t){this.props=e,this.context=t}function w(e,t){if(null==t)return e.__?w(e.__,e.__.__k.indexOf(e)+1):null;for(var o;tt&&n.sort(c));y.__r=0}function E(e,t,o,r,n,i,l,c,a,s,h){var m,f,g,_,v,k,y,E,T,L=0,N=r&&r.__k||u,M=N.length,P=M,O=t.length;for(o.__k=[],m=0;m0?b(_.type,_.props,_.key,_.ref?_.ref:null,_.__v):_)?(_.__=o,_.__b=o.__b+1,-1===(E=C(_,N,y=m+L,P))?g=d:(g=N[E]||d,N[E]=void 0,P--),I(e,_,g,n,i,l,c,a,s,h),v=_.__e,(f=_.ref)&&g.ref!=f&&(g.ref&&D(g.ref,null,_),h.push(f,_.__c||v,_)),null!=v&&(null==k&&(k=v),(T=g===d||null===g.__v)?-1==E&&L--:E!==y&&(E===y+1?L++:E>y?P>O-y?L+=E-y:L--:L=E(null!=a?1:0))for(;l>=0||c=0){if((a=t[l])&&n==a.key&&i===a.type)return l;l--}if(c=r.__.length&&r.__.push({__V:z}),r.__[e]}function X(e){return j=1,function(e,t,o){var r=V($++,2);if(r.t=e,!r.__c&&(r.__=[se(void 0,t),function(e){var t=r.__N?r.__N[0]:r.__[0],o=r.t(t,e);t!==o&&(r.__N=[o,r.__[1]],r.__c.setState({}))}],r.__c=H,!H.u)){var n=function(e,t,o){if(!r.__c.__H)return!0;var n=r.__c.__H.__.filter((function(e){return e.__c}));if(n.every((function(e){return!e.__N})))return!i||i.call(this,e,t,o);var l=!1;return n.forEach((function(e){if(e.__N){var t=e.__[0];e.__=e.__N,e.__N=void 0,t!==e.__[0]&&(l=!0)}})),!(!l&&r.__c.props===e)&&(!i||i.call(this,e,t,o))};H.u=!0;var i=H.shouldComponentUpdate,l=H.componentWillUpdate;H.componentWillUpdate=function(e,t,o){if(this.__e){var r=i;i=void 0,n(e,t,o),i=r}l&&l.call(this,e,t,o)},H.shouldComponentUpdate=n}return r.__N||r.__}(se,e)}function Z(e,o){var r=V($++,3);!t.__s&&ae(r.__H,o)&&(r.__=e,r.i=o,H.__H.__h.push(r))}function J(e,o){var r=V($++,4);!t.__s&&ae(r.__H,o)&&(r.__=e,r.i=o,H.__h.push(r))}function ee(e){return j=5,te((function(){return{current:e}}),[])}function te(e,t){var o=V($++,7);return ae(o.__H,t)?(o.__V=e(),o.i=t,o.__h=e,o.__V):o.__}function oe(e,t){return j=8,te((function(){return e}),t)}function re(){for(var e;e=Y.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(le),e.__H.__h.forEach(ce),e.__H.__h=[]}catch(o){e.__H.__h=[],t.__e(o,e.__v)}}t.__b=function(e){H=null,G&&G(e)},t.__r=function(e){W&&W(e),$=0;var t=(H=e.__c).__H;t&&(U===H?(t.__h=[],H.__h=[],t.__.forEach((function(e){e.__N&&(e.__=e.__N),e.__V=z,e.__N=e.i=void 0}))):(t.__h.forEach(le),t.__h.forEach(ce),t.__h=[],$=0)),U=H},t.diffed=function(e){q&&q(e);var o=e.__c;o&&o.__H&&(o.__H.__h.length&&(1!==Y.push(o)&&F===t.requestAnimationFrame||((F=t.requestAnimationFrame)||ie)(re)),o.__H.__.forEach((function(e){e.i&&(e.__H=e.i),e.__V!==z&&(e.__=e.__V),e.i=void 0,e.__V=z}))),U=H=null},t.__c=function(e,o){o.some((function(e){try{e.__h.forEach(le),e.__h=e.__h.filter((function(e){return!e.__||ce(e)}))}catch(r){o.some((function(e){e.__h&&(e.__h=[])})),o=[],t.__e(r,e.__v)}})),K&&K(e,o)},t.unmount=function(e){Q&&Q(e);var o,r=e.__c;r&&r.__H&&(r.__H.__.forEach((function(e){try{le(e)}catch(e){o=e}})),r.__H=void 0,o&&t.__e(o,r.__v))};var ne="function"==typeof requestAnimationFrame;function ie(e){var t,o=function(){clearTimeout(r),ne&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(o,100);ne&&(t=requestAnimationFrame(o))}function le(e){var t=H,o=e.__c;"function"==typeof o&&(e.__c=void 0,o()),H=t}function ce(e){var t=H;e.__c=e.__(),H=t}function ae(e,t){return!e||e.length!==t.length||t.some((function(t,o){return t!==e[o]}))}function se(e,t){return"function"==typeof t?t(e):t}const de=["--sidebar-bg-color","--sidebar-border-color","--sidebar-heading-text-color","--sidebar-heading-link-color","--sidebar-toc-h1-link-color","--sidebar-toc-h1-border-color","--sidebar-toc-h2-link-color","--sidebar-active-toc-section-bg-color","--sidebar-active-toc-section-link-color","--sidebar-active-toc-h1-section-link-color","--sidebar-active-toc-h2-section-link-color","--sidebar-toc-section-link-color","--sidebar-tt-active-text-color","--sidebar-tt-active-bg-color","--sidebar-tt-active-border","--sidebar-tt-active-border-radius","--sidebar-resize-handle","--main-heading-text-color","--main-heading-link-color","--main-link-color","--hoverable-link-hover-color","--main-header-border-bottom-color","--main-image-border-color","--main-image-border-color-inverted","--tt-text-color","--tt-bg-color","--tt-border","--tt-border-radius","--main-bg-color","--main-text-color","--main-table-bg-color","--main-table-bg-contrast-color","--main-table-pre-bg-color","--main-table-pre-text-color","--main-table-pre-border","--main-blockquote-text-color","--main-blockquote-text-border","--main-header-border-bottom-color","--primer-spec-callout-neutral-bg-color","--primer-spec-callout-neutral-text-color","--primer-spec-callout-neutral-border-color","--primer-spec-callout-info-bg-color","--primer-spec-callout-info-text-color","--primer-spec-callout-info-border-color","--primer-spec-callout-info-icon-color","--primer-spec-callout-warning-bg-color","--primer-spec-callout-warning-text-color","--primer-spec-callout-warning-border-color","--primer-spec-callout-warning-icon-color","--primer-spec-callout-danger-bg-color","--primer-spec-callout-danger-text-color","--primer-spec-callout-danger-border-color","--primer-spec-callout-danger-icon-color","--primer-spec-callout-success-bg-color","--primer-spec-callout-success-text-color","--primer-spec-callout-success-border-color","--primer-spec-callout-success-icon-color","--code-block-default-color","--code-block-border-color","--code-block-header-bg-color","--code-block-bg-color","--code-block-line-number-color","--code-block-highlight-bg-color","--code-block-highlight-shadow-color","--code-block-button-color","--code-block-button-bg-color","--code-block-button-border-color","--code-block-button-shadow","--code-block-button-shadow-inset-color","--code-block-button-hover-bg-color","--code-block-button-hover-border-color","--tooltip-background-color","--tooltip-color","--kbd-border-color"],ue=["color","background-color","font-style","font-weight"],he=["cm","cp","c1","cs","cd","c","err","gd","ge","gr","gh","gi","go","gp","gs","gu","gt","kc","kd","kn","kp","kr","kt","kv","k","mf","mh","il","mi","mo","mb","mx","m","sb","sc","sd","s2","se","sh","si","sx","sr","s1","ss","s","na","bp","nb","nc","no","nd","ni","ne","nf","nl","nn","nt","nx","vc","vg","vi","nv","ow","o","w","txt"];function pe(){const e=document.documentElement;he.map((t=>{ue.map((o=>{const r=`--primer-spec-rouge-${t}-${o}`;e.style.removeProperty(r)}))}))}function me(e,t){return{name:e,apply:()=>function(e){const t=document.documentElement;he.map((o=>{if(e[o])for(const[r,n]of Object.entries(e[o])){const e=`--primer-spec-rouge-${o}-${r}`;t.style.setProperty(e,n??null)}}))}(t),reset:pe}}const fe="#a6e22e",ge="#f92672",be="#960050",Ae="#49483e",_e="#999999",we="#868064",ve="#aaaaaa",ke="#ae81ff",ye="#66d9ef",Ee="#e6db74",Se="#f6aa11",xe="#ffffff",Ce={cm:{color:we},cp:{color:ve},c1:{color:we},cs:{color:we},cd:{color:we},c:{color:we},err:{color:be},gd:{color:Ae},ge:{color:ve,"font-style":"italic"},gr:{color:be},gh:{color:"#999999"},gi:{color:Ae},go:{color:_e},gp:{color:_e},gs:{"font-weight":"bold"},gu:{color:ve},gt:{color:be},kc:{color:ye},kd:{color:ye,"font-style":"italic"},kn:{color:ge},kp:{color:ge},kr:{color:ye},kt:{color:ye,"font-style":"italic"},kv:{color:ge},k:{color:ge},mf:{color:ke},mh:{color:ke},il:{color:ke},mi:{color:ke},mo:{color:ke},mb:{color:ke},mx:{color:ke},m:{color:ke},sb:{color:Ee},sc:{color:ke},sd:{color:Ee},s2:{color:Ee},se:{color:ke},sh:{color:Ee},si:{color:Ee},sx:{color:Ee},sr:{color:Se},s1:{color:Ee},ss:{color:ke},s:{color:Ee},na:{color:fe},bp:{color:xe},nb:{color:Se},nc:{color:fe},no:{color:ye},nd:{color:fe},ni:{color:xe},ne:{color:fe},nf:{color:fe},nl:{color:xe},nn:{color:xe},nt:{color:ge},nx:{color:xe},vc:{color:xe},vg:{color:xe},vi:{color:xe},nv:{color:xe},ow:{color:ge},o:{color:xe},w:{color:xe},txt:{color:xe,"background-color":"rgb(35, 37, 41)"}},Te={default:me("default",{cm:{color:"#999988","font-style":"italic"},cp:{color:"#999999","font-weight":"bold"},c1:{color:"#999988","font-style":"italic"},cs:{color:"#999999","font-weight":"bold","font-style":"italic"},cd:{color:"#999988","font-style":"italic"},c:{color:"#999988","font-style":"italic"},err:{color:"#a61717","background-color":"#e3d2d2"},gd:{color:"#000000","background-color":"#ffdddd"},ge:{color:"#000000","font-style":"italic"},gr:{color:"#aa0000"},gh:{color:"#999999"},gi:{color:"#000000","background-color":"#ddffdd"},go:{color:"#888888"},gp:{color:"#555555"},gs:{"font-weight":"bold"},gu:{color:"#aaaaaa"},gt:{color:"#aa0000"},kc:{color:"#000000","font-weight":"bold"},kd:{color:"#000000","font-weight":" bold"},kn:{color:"#000000","font-weight":"bold"},kp:{color:"#000000","font-weight":"bold"},kr:{color:"#000000","font-weight":"bold"},kt:{color:"#445588","font-weight":"bold"},kv:{color:"#000000","font-weight":"bold"},k:{color:"#000000","font-weight":"bold"},mf:{color:"#009999"},mh:{color:"#009999"},il:{color:"#009999"},mi:{color:"#009999"},mo:{color:"#009999"},mb:{color:"#009999"},mx:{color:"#009999"},m:{color:"#009999"},sb:{color:"#d14"},sc:{color:"#d14"},sd:{color:"#d14"},s2:{color:"#d14"},se:{color:"#d14"},sh:{color:"#d14"},si:{color:"#d14"},sx:{color:"#d14"},sr:{color:"#009926"},s1:{color:"#d14"},ss:{color:"#990073"},s:{color:"#d14"},na:{color:"#008080"},bp:{color:"#999999"},nb:{color:"#0086B3"},nc:{color:"#445588","font-weight":"bold"},no:{color:"#008080"},nd:{color:"#3c5d5d","font-weight":"bold"},ni:{color:"#800080"},ne:{color:"#990000","font-weight":"bold"},nf:{color:"#990000","font-weight":"bold"},nl:{color:"#990000","font-weight":"bold"},nn:{color:"#555555"},nt:{color:"#000080"},nx:{color:"#000000"},vc:{color:"#008080"},vg:{color:"#008080"},vi:{color:"#008080"},nv:{color:"#008080"},ow:{color:"#000000","font-weight":"bold"},o:{color:"#000000","font-weight":"bold"},w:{color:"#bbbbbb"},txt:{"background-color":"#f8f8f8"}}),monokai:me("monokai",Ce)};function Le(e,t,o){return{name:e,label:t,theme_definition:o,apply:e=>function(e,t){const o=e[t],r=document.body;for(const[e,t]of Object.entries(o))r.style.setProperty(e,t||null);let n=o.rouge_theme;n&&Te[n]||(n="default"),Te[n].apply(),document.documentElement.setAttribute("data-theme-mode",t)}(o,e),reset:e=>function(e,t){const o=e[t],r=document.body;de.map((e=>{r.style.removeProperty(e)})),o.rouge_theme&&Te[o.rouge_theme]&&Te[o.rouge_theme].reset()}(o,e)}}const Ne="#c9d1d9",Me="#161b22",Ie="rgb(60, 62, 66)",Pe="#21262d",Oe={"--sidebar-border-color":Pe,"--main-text-color":Ne,"--main-table-bg-color":"#0d1117","--main-table-bg-contrast-color":"#262d36","--main-table-pre-bg-color":Me,"--main-table-pre-text-color":"white","--main-table-pre-border":`1px solid ${Ie}`,"--tt-bg-color":"rgba(240, 246, 252, 0.15)","--tt-text-color":Ne,"--tt-border":"0px","--tt-border-radius":"6px","--sidebar-tt-active-bg-color":"rgba(0, 0, 0, 0)","--main-blockquote-text-color":"#8b949e","--main-blockquote-text-border":"#3b434b","--main-header-border-bottom-color":Pe,"--main-image-border-color":Pe,"--main-image-border-color-inverted":"#eaecef","--primer-spec-callout-neutral-bg-color":"rgba(22, 27, 34, 0.8)","--primer-spec-callout-neutral-text-color":Ne,"--primer-spec-callout-neutral-border-color":"rgb(48, 54, 61)","--primer-spec-callout-info-bg-color":"rgba(56, 139, 253, 0.15)","--primer-spec-callout-info-text-color":Ne,"--primer-spec-callout-info-border-color":"rgba(56, 139, 253, 0.4)","--primer-spec-callout-info-icon-color":"#58a6ff","--primer-spec-callout-warning-bg-color":"rgba(187, 128, 9, 0.15)","--primer-spec-callout-warning-text-color":Ne,"--primer-spec-callout-warning-border-color":"rgba(187, 128, 9, 0.4)","--primer-spec-callout-warning-icon-color":"#d29922","--primer-spec-callout-danger-bg-color":"rgba(248, 81, 73, 0.15)","--primer-spec-callout-danger-text-color":Ne,"--primer-spec-callout-danger-border-color":"rgba(248, 81, 73, 0.4)","--primer-spec-callout-danger-icon-color":"#f85149","--primer-spec-callout-success-bg-color":"rgba(46, 160, 67, 0.15)","--primer-spec-callout-success-text-color":Ne,"--primer-spec-callout-success-border-color":"rgba(46, 160, 67, 0.4)","--primer-spec-callout-success-icon-color":"#3fb950","--code-block-default-color":Ne,"--code-block-border-color":Ie,"--code-block-header-bg-color":Me,"--code-block-bg-color":"rgb(13, 17, 23)","--code-block-line-number-color":"#484f58","--code-block-highlight-bg-color":"rgba(187, 128, 9, 0.15)","--code-block-highlight-shadow-color":"rgba(187, 128, 9, 0.4)","--code-block-button-color":Ne,"--code-block-button-bg-color":Pe,"--code-block-button-border-color":"rgba(240, 246, 252, 0.1)","--code-block-button-shadow":"0 0 transparent","--code-block-button-shadow-inset-color":"0 0 transparent","--code-block-button-hover-bg-color":"rgb(48, 54, 61)","--code-block-button-hover-border-color":"rgb(140, 148, 158)","--tooltip-background-color":"rgb(110, 118, 129)","--tooltip-color":"white","--kbd-border-color":"rgba(110, 118, 129, 0.4)"},De="#0d1117",Re="#cccccc",Be="#58a6ff",$e={light:{rouge_theme:"default"},dark:{"--sidebar-bg-color":De,"--sidebar-heading-text-color":Re,"--sidebar-heading-link-color":Re,"--sidebar-toc-h1-link-color":Be,"--sidebar-toc-h1-border-color":"#555","--sidebar-toc-h2-link-color":Be,"--sidebar-active-toc-section-bg-color":"#e4d93f","--sidebar-active-toc-section-link-color":De,"--sidebar-active-toc-h1-section-link-color":De,"--sidebar-active-toc-h2-section-link-color":De,"--sidebar-toc-section-link-color":Re,"--sidebar-tt-active-text-color":De,"--sidebar-resize-handle":"#333","--main-heading-text-color":"#e7ebee","--main-heading-link-color":Be,"--main-link-color":Be,"--hoverable-link-hover-color":"#9dd2fb","--main-bg-color":De,...Oe,rouge_theme:"monokai"}},He="rgb(69, 98, 115)",Ue="rgb(219, 71, 93)",Fe="#61a1a8",je="rgb(218, 128, 131)",Ye="white",ze={light:{"--sidebar-bg-color":"rgb(246, 246, 246)","--sidebar-heading-text-color":He,"--sidebar-heading-link-color":Ue,"--sidebar-toc-h1-link-color":He,"--sidebar-toc-h1-border-color":He,"--sidebar-toc-h2-link-color":He,"--sidebar-active-toc-section-bg-color":He,"--sidebar-active-toc-section-link-color":"white","--sidebar-active-toc-h1-section-link-color":"white","--sidebar-active-toc-h2-section-link-color":"white","--sidebar-toc-section-link-color":"rgb(58, 58, 58)","--sidebar-resize-handle":"#ccc","--main-heading-text-color":He,"--main-heading-link-color":Ue,"--main-link-color":Ue,"--tt-border-radius":"3px","--hoverable-link-hover-color":"#731624",rouge_theme:"default"},dark:{"--sidebar-bg-color":"rgb(58, 58, 60)","--sidebar-heading-text-color":Ye,"--sidebar-heading-link-color":Ye,"--sidebar-toc-h1-link-color":Fe,"--sidebar-toc-h1-border-color":Fe,"--sidebar-toc-h2-link-color":Ye,"--sidebar-active-toc-section-bg-color":"rgb(67, 116, 121)","--sidebar-active-toc-section-link-color":Ye,"--sidebar-active-toc-h1-section-link-color":Ye,"--sidebar-active-toc-h2-section-link-color":Ye,"--sidebar-toc-section-link-color":Ye,"--sidebar-tt-active-text-color":Ye,"--sidebar-resize-handle":"#555","--main-heading-text-color":Fe,"--main-heading-link-color":je,"--main-link-color":je,"--hoverable-link-hover-color":"#fdf6f7","--main-bg-color":"rgb(28, 28, 30)",...Oe,rouge_theme:"monokai"}},Ge="rgb(41, 82, 91)",We="rgb(229, 214, 204)",qe="rgb(114, 202, 195)",Ke="rgb(233, 114, 110)",Qe="rgb(79, 205, 196)",Ve="rgb(242, 224, 213)",Xe="rgb(22, 60, 60)",Ze={light:{"--sidebar-bg-color":Ge,"--sidebar-heading-text-color":qe,"--sidebar-heading-link-color":qe,"--sidebar-toc-h1-link-color":We,"--sidebar-toc-h1-border-color":We,"--sidebar-toc-h2-link-color":"white","--sidebar-resize-handle":"#246161","--sidebar-active-toc-section-bg-color":"rgb(248, 255, 248)","--sidebar-active-toc-section-link-color":Ge,"--sidebar-active-toc-h1-section-link-color":Ge,"--sidebar-active-toc-h2-section-link-color":Ge,"--sidebar-toc-section-link-color":"white","--main-heading-text-color":Ge,"--main-heading-link-color":Ge,"--main-link-color":Ke,"--tt-border-radius":"3px","--hoverable-link-hover-color":"#a51e19",rouge_theme:"default"},dark:{"--sidebar-bg-color":Xe,"--sidebar-heading-link-color":qe,"--sidebar-heading-text-color":qe,"--sidebar-toc-h1-link-color":Ve,"--sidebar-toc-h1-border-color":Ve,"--sidebar-toc-h2-link-color":"white","--sidebar-active-toc-section-bg-color":"rgb(248, 255, 248)","--sidebar-active-toc-section-link-color":Xe,"--sidebar-active-toc-h1-section-link-color":Xe,"--sidebar-active-toc-h2-section-link-color":Xe,"--sidebar-toc-section-link-color":"white","--sidebar-tt-active-text-color":Xe,"--sidebar-resize-handle":"#246161","--main-heading-text-color":Qe,"--main-heading-link-color":Qe,"--main-link-color":Ke,"--hoverable-link-hover-color":"#fdf3f3","--main-bg-color":"rgb(28, 28, 30)",...Oe,rouge_theme:"monokai"}},Je="rgb(40, 41, 35)",et="white",tt="rgb(58, 58, 58)",ot="rgb(137, 135, 205)",rt="#ffae66",nt="#555",it={light:{"--sidebar-bg-color":"rgb(242, 243, 243)","--sidebar-heading-text-color":tt,"--sidebar-heading-link-color":tt,"--sidebar-border-color":nt,"--sidebar-toc-h1-link-color":tt,"--sidebar-toc-h1-border-color":"rgb(125, 125, 125)","--sidebar-toc-h2-link-color":tt,"--sidebar-active-toc-section-bg-color":"rgb(90, 151, 247)","--sidebar-active-toc-section-link-color":"white","--sidebar-active-toc-h1-section-link-color":"white","--sidebar-active-toc-h2-section-link-color":"white","--sidebar-toc-section-link-color":tt,"--sidebar-resize-handle":rt,"--main-heading-text-color":ot,"--main-heading-link-color":ot,"--main-link-color":rt,"--hoverable-link-hover-color":"#cc6000","--main-bg-color":Je,"--main-text-color":et,"--main-table-pre-bg-color":"#f6f8fa","--main-table-pre-text-color":"black","--main-blockquote-text-color":"#ccc","--tt-text-color":"white","--tt-bg-color":"#696969","--tt-border-radius":"3px","--main-header-border-bottom-color":nt,"--primer-spec-callout-neutral-text-color":"black","--primer-spec-callout-info-text-color":"black","--primer-spec-callout-warning-text-color":"black","--primer-spec-callout-danger-text-color":"black","--primer-spec-callout-success-text-color":"black",rouge_theme:"default"},dark:{...Oe,"--sidebar-bg-color":"rgb(75, 77, 85)","--sidebar-heading-text-color":"white","--sidebar-heading-link-color":"white","--sidebar-border-color":nt,"--sidebar-toc-h1-link-color":"white","--sidebar-toc-h1-border-color":"rgb(125, 125, 125)","--sidebar-toc-h2-link-color":"white","--sidebar-active-toc-section-bg-color":"rgb(90, 151, 247)","--sidebar-active-toc-section-link-color":"white","--sidebar-active-toc-h1-section-link-color":"white","--sidebar-active-toc-h2-section-link-color":"white","--sidebar-toc-section-link-color":"white","--sidebar-resize-handle":ot,"--main-heading-text-color":ot,"--main-heading-link-color":ot,"--main-link-color":rt,"--hoverable-link-hover-color":"white","--main-bg-color":Je,"--main-text-color":et,"--main-table-pre-bg-color":Je,"--main-table-pre-text-color":et,"--main-table-pre-border":"1px solid rgb(60, 62, 66)","--tt-text-color":"white","--tt-border-radius":"6px","--main-blockquote-text-color":"#999999","--main-header-border-bottom-color":nt,rouge_theme:"monokai"}},lt={default:Le("default","Primer",$e),bella:Le("bella","Bella",ze),modern:Le("modern","Modern",Ze),"xcode-civic":Le("xcode-civic","Xcode Civic",it)};window.PrimerSpec={...window.PrimerSpec,REGISTERED_SUBTHEMES:lt,registerNewSubtheme:function(e,t,o){lt[e]=Le(e,t,o)}};const ct={};window.addEventListener("storage",(e=>{if(!e.key)return;const t=ct[e.key];t&&t.forEach((t=>t(e.newValue,e.oldValue)))}));const at=function(e){let t;try{t=window.localStorage;const e="__storage_test__";return t.setItem(e,e),t.removeItem(e),!0}catch(e){return e instanceof DOMException&&(22===e.code||1014===e.code||"QuotaExceededError"===e.name||"NS_ERROR_DOM_QUOTA_REACHED"===e.name)&&t&&0!==t.length}}(),st={get:e=>at?window.localStorage.getItem(e):null,set(e,t){at&&window.localStorage.setItem(e,t)},getForPage(e){return this.get(dt(e))},setForPage(e,t){return this.set(dt(e),t.toString())},addListener(e,t){ct[e]||(ct[e]=[]),ct[e].push(t)},removeListener(e,t){const o=ct[e];o&&(ct[e]=o.filter((e=>e!==t)))},addListenerForPage(e,t){this.addListener(dt(e),t)},removeListenerForPage(e,t){this.removeListener(dt(e),t)}};function dt(e){return`${document.location.pathname}__${e}`}var ut;!function(e){e.ENHANCED="enhanced",e.NO_LINE_NUMBERS="no-line-numbers",e.LEGACY="legacy"}(ut||(ut={}));const ht="primer-spec-code-block-line-code",pt="primer-spec-code-block-processed",mt="primer-spec-code-block-title",ft="console",gt="spec_subtheme_name",bt="spec_subtheme_mode",At=st.get(gt)||window.PrimerSpecConfig.defaultSubthemeName||"default",_t=st.get(bt)||window.PrimerSpecConfig.defaultSubthemeMode||"system",wt=!!window.PrimerSpecConfig.sitemapEnabled,vt={VERSION_RAW:"1.10.2",VERSION_MINOR_STR:"v1.10",BUILD_MODE:"production",PDF_PATH:window.PrimerSpecConfig.pdfPath||null,SITE_QUALIFIED_BASE_URL:window.PrimerSpecConfig.siteQualifiedBaseUrl||"/",HIDE_SIDEBAR_ON_LOAD:function(){const e=st.getForPage("sidebar_hidden");let t=!1;return null!==e?t="true"===e:(t=window.PrimerSpecConfig.hideSidebarOnLoad||window.PrimerSpecConfig.disableSidebar||!1,st.setForPage("sidebar_hidden",t.toString())),t}(),DISABLE_SIDEBAR:window.PrimerSpecConfig.disableSidebar||!1,INIT_SUBTHEME_NAME:At,INIT_SUBTHEME_MODE:_t,INIT_SITEMAP_ENABLED:wt,SITEMAP_URLS:window.PrimerSpecConfig.sitemapUrls||[],SITEMAP_LABEL:null===window.PrimerSpecConfig.sitemapLabel?null:window.PrimerSpecConfig.sitemapLabel||"Supplemental Pages",SITEMAP_SITE_TITLE:window.PrimerSpecConfig.sitemapSiteTitle||"",DEFAULT_CODEBLOCK_VARIANT:function(){if(!0===window.PrimerSpecConfig.useLegacyCodeBlocks)return ut.LEGACY;const e=window.PrimerSpecConfig.defaultCodeblockVariant?.toLowerCase();return e&&Object.values(ut).includes(e)?e:ut.ENHANCED}(),USE_LEGACY_CODE_BLOCKS_DEPRECATED_DO_NOT_USE:window.PrimerSpecConfig.useLegacyCodeBlocks||!1,PRIMER_SPEC_APP_NODE_ID:"primer-spec-app-container",PRIMER_SPEC_CONTENT_PLUGIN_NODE_ID:"primer-spec-plugin-main-content",PRIMER_SPEC_CONTENT_PREACT_NODE_ID:"primer-spec-preact-main-content",SUBTHEME_NAME_STORAGE_KEY:gt,SUBTHEME_MODE_STORAGE_KEY:bt,DEFAULT_ACTIVE_SECTION_OFFSET_Y:10};function kt({name:e,mode:t}={},o=!0){const{name:r,mode:n}={name:yt(),mode:Et()},i=xt(e??r),l=Ct(t??n),c=St(l);if(o&&function({name:e,mode:t}){st.set(vt.SUBTHEME_NAME_STORAGE_KEY,e),st.set(vt.SUBTHEME_MODE_STORAGE_KEY,t)}({name:i,mode:l}),i===r&&c===n&&o)return;const a=lt[r],s=lt[i];a.reset(St(n)),s.apply(c)}function yt(){return xt(st.get(vt.SUBTHEME_NAME_STORAGE_KEY)??vt.INIT_SUBTHEME_NAME)}function Et(){return Ct(st.get(vt.SUBTHEME_MODE_STORAGE_KEY)??vt.INIT_SUBTHEME_MODE)}function St(e){return"system"!==e?e:window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}function xt(e){return e&<[e]?e:(console.warn(`Primer Spec: Invalid subtheme name: ${e}. Reverting to 'default'`),lt.default.name)}function Ct(e){switch(e){case"light":case"dark":case"system":return e}return console.warn(`Primer Spec: Invalid subtheme mode: ${e}. Reverting to 'system'`),"system"}function Tt(){const[e,t]=X(!1);return Lt(oe((()=>t(!0)),[])),Nt(oe((()=>t(!1)),[])),e}function Lt(e){Z((()=>{let t;return window.matchMedia&&(t=t=>{t.matches&&e()},window.matchMedia("print").addListener(t)),window.addEventListener("beforeprint",e),()=>{window.matchMedia&&window.matchMedia("print").removeListener(t),window.removeEventListener("beforeprint",e)}}),[e])}function Nt(e){Z((()=>{let t;return window.matchMedia&&(t=t=>{t.matches||e()},window.matchMedia("print").addListener(t)),window.addEventListener("afterprint",e),()=>{window.matchMedia&&window.matchMedia("print").removeListener(t),window.removeEventListener("afterprint",e)}}),[e])}function Mt(){return document.documentElement.clientWidth<900}function It(e){var t,o,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t{const t=document.createElement("label");t.innerHTML=e.innerHTML,e.innerHTML="",e.appendChild(t)}));const t=[...e.current.querySelectorAll('.task-list-item input.task-list-item-checkbox[type="checkbox"]')];let o=!1;var r;t.length!==function(){const e=st.getForPage(Dt)||"";return parseInt(e,10)||0}()&&(o=!0,r=t.length,st.setForPage(Dt,`${r}`));let n=!0;const i=()=>{n=!1};st.addListenerForPage(Dt,i);const l=[],c=[];return t.forEach(((e,t)=>{e.disabled=!1,o?$t(t,e.checked):e.checked=Bt(t);const r=()=>{n&&$t(t,e.checked)};l.push(r),e.addEventListener("change",r);const i=()=>{n&&(e.checked=Bt(t))};var a,s;c.push(i),a=t,s=i,st.addListenerForPage(`${Ot}_${a}`,s)})),()=>{t.forEach(((e,t)=>{var o,r;e.removeEventListener("change",l[t]),o=t,r=c[t],st.removeListenerForPage(`${Ot}_${o}`,r)})),st.removeListenerForPage(Dt,i)}}function Bt(e){return"true"===st.getForPage(`${Ot}_${e}`)}function $t(e,t){st.setForPage(`${Ot}_${e}`,`${t}`)}var Ht=r(916);function Ut(e){if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}const Ft=[["ß","ss"],["ẞ","Ss"],["ä","ae"],["Ä","Ae"],["ö","oe"],["Ö","Oe"],["ü","ue"],["Ü","Ue"],["À","A"],["Á","A"],["Â","A"],["Ã","A"],["Ä","Ae"],["Å","A"],["Æ","AE"],["Ç","C"],["È","E"],["É","E"],["Ê","E"],["Ë","E"],["Ì","I"],["Í","I"],["Î","I"],["Ï","I"],["Ð","D"],["Ñ","N"],["Ò","O"],["Ó","O"],["Ô","O"],["Õ","O"],["Ö","Oe"],["Ő","O"],["Ø","O"],["Ù","U"],["Ú","U"],["Û","U"],["Ü","Ue"],["Ű","U"],["Ý","Y"],["Þ","TH"],["ß","ss"],["à","a"],["á","a"],["â","a"],["ã","a"],["ä","ae"],["å","a"],["æ","ae"],["ç","c"],["è","e"],["é","e"],["ê","e"],["ë","e"],["ì","i"],["í","i"],["î","i"],["ï","i"],["ð","d"],["ñ","n"],["ò","o"],["ó","o"],["ô","o"],["õ","o"],["ö","oe"],["ő","o"],["ø","o"],["ù","u"],["ú","u"],["û","u"],["ü","ue"],["ű","u"],["ý","y"],["þ","th"],["ÿ","y"],["ẞ","SS"],["à","a"],["À","A"],["á","a"],["Á","A"],["â","a"],["Â","A"],["ã","a"],["Ã","A"],["è","e"],["È","E"],["é","e"],["É","E"],["ê","e"],["Ê","E"],["ì","i"],["Ì","I"],["í","i"],["Í","I"],["ò","o"],["Ò","O"],["ó","o"],["Ó","O"],["ô","o"],["Ô","O"],["õ","o"],["Õ","O"],["ù","u"],["Ù","U"],["ú","u"],["Ú","U"],["ý","y"],["Ý","Y"],["ă","a"],["Ă","A"],["Đ","D"],["đ","d"],["ĩ","i"],["Ĩ","I"],["ũ","u"],["Ũ","U"],["ơ","o"],["Ơ","O"],["ư","u"],["Ư","U"],["ạ","a"],["Ạ","A"],["ả","a"],["Ả","A"],["ấ","a"],["Ấ","A"],["ầ","a"],["Ầ","A"],["ẩ","a"],["Ẩ","A"],["ẫ","a"],["Ẫ","A"],["ậ","a"],["Ậ","A"],["ắ","a"],["Ắ","A"],["ằ","a"],["Ằ","A"],["ẳ","a"],["Ẳ","A"],["ẵ","a"],["Ẵ","A"],["ặ","a"],["Ặ","A"],["ẹ","e"],["Ẹ","E"],["ẻ","e"],["Ẻ","E"],["ẽ","e"],["Ẽ","E"],["ế","e"],["Ế","E"],["ề","e"],["Ề","E"],["ể","e"],["Ể","E"],["ễ","e"],["Ễ","E"],["ệ","e"],["Ệ","E"],["ỉ","i"],["Ỉ","I"],["ị","i"],["Ị","I"],["ọ","o"],["Ọ","O"],["ỏ","o"],["Ỏ","O"],["ố","o"],["Ố","O"],["ồ","o"],["Ồ","O"],["ổ","o"],["Ổ","O"],["ỗ","o"],["Ỗ","O"],["ộ","o"],["Ộ","O"],["ớ","o"],["Ớ","O"],["ờ","o"],["Ờ","O"],["ở","o"],["Ở","O"],["ỡ","o"],["Ỡ","O"],["ợ","o"],["Ợ","O"],["ụ","u"],["Ụ","U"],["ủ","u"],["Ủ","U"],["ứ","u"],["Ứ","U"],["ừ","u"],["Ừ","U"],["ử","u"],["Ử","U"],["ữ","u"],["Ữ","U"],["ự","u"],["Ự","U"],["ỳ","y"],["Ỳ","Y"],["ỵ","y"],["Ỵ","Y"],["ỷ","y"],["Ỷ","Y"],["ỹ","y"],["Ỹ","Y"],["ء","e"],["آ","a"],["أ","a"],["ؤ","w"],["إ","i"],["ئ","y"],["ا","a"],["ب","b"],["ة","t"],["ت","t"],["ث","th"],["ج","j"],["ح","h"],["خ","kh"],["د","d"],["ذ","dh"],["ر","r"],["ز","z"],["س","s"],["ش","sh"],["ص","s"],["ض","d"],["ط","t"],["ظ","z"],["ع","e"],["غ","gh"],["ـ","_"],["ف","f"],["ق","q"],["ك","k"],["ل","l"],["م","m"],["ن","n"],["ه","h"],["و","w"],["ى","a"],["ي","y"],["َ‎","a"],["ُ","u"],["ِ‎","i"],["٠","0"],["١","1"],["٢","2"],["٣","3"],["٤","4"],["٥","5"],["٦","6"],["٧","7"],["٨","8"],["٩","9"],["چ","ch"],["ک","k"],["گ","g"],["پ","p"],["ژ","zh"],["ی","y"],["۰","0"],["۱","1"],["۲","2"],["۳","3"],["۴","4"],["۵","5"],["۶","6"],["۷","7"],["۸","8"],["۹","9"],["ټ","p"],["ځ","z"],["څ","c"],["ډ","d"],["ﺫ","d"],["ﺭ","r"],["ړ","r"],["ﺯ","z"],["ږ","g"],["ښ","x"],["ګ","g"],["ڼ","n"],["ۀ","e"],["ې","e"],["ۍ","ai"],["ٹ","t"],["ڈ","d"],["ڑ","r"],["ں","n"],["ہ","h"],["ھ","h"],["ے","e"],["А","A"],["а","a"],["Б","B"],["б","b"],["В","V"],["в","v"],["Г","G"],["г","g"],["Д","D"],["д","d"],["ъе","ye"],["Ъе","Ye"],["ъЕ","yE"],["ЪЕ","YE"],["Е","E"],["е","e"],["Ё","Yo"],["ё","yo"],["Ж","Zh"],["ж","zh"],["З","Z"],["з","z"],["И","I"],["и","i"],["ый","iy"],["Ый","Iy"],["ЫЙ","IY"],["ыЙ","iY"],["Й","Y"],["й","y"],["К","K"],["к","k"],["Л","L"],["л","l"],["М","M"],["м","m"],["Н","N"],["н","n"],["О","O"],["о","o"],["П","P"],["п","p"],["Р","R"],["р","r"],["С","S"],["с","s"],["Т","T"],["т","t"],["У","U"],["у","u"],["Ф","F"],["ф","f"],["Х","Kh"],["х","kh"],["Ц","Ts"],["ц","ts"],["Ч","Ch"],["ч","ch"],["Ш","Sh"],["ш","sh"],["Щ","Sch"],["щ","sch"],["Ъ",""],["ъ",""],["Ы","Y"],["ы","y"],["Ь",""],["ь",""],["Э","E"],["э","e"],["Ю","Yu"],["ю","yu"],["Я","Ya"],["я","ya"],["ă","a"],["Ă","A"],["ș","s"],["Ș","S"],["ț","t"],["Ț","T"],["ţ","t"],["Ţ","T"],["ş","s"],["Ş","S"],["ç","c"],["Ç","C"],["ğ","g"],["Ğ","G"],["ı","i"],["İ","I"],["ա","a"],["Ա","A"],["բ","b"],["Բ","B"],["գ","g"],["Գ","G"],["դ","d"],["Դ","D"],["ե","ye"],["Ե","Ye"],["զ","z"],["Զ","Z"],["է","e"],["Է","E"],["ը","y"],["Ը","Y"],["թ","t"],["Թ","T"],["ժ","zh"],["Ժ","Zh"],["ի","i"],["Ի","I"],["լ","l"],["Լ","L"],["խ","kh"],["Խ","Kh"],["ծ","ts"],["Ծ","Ts"],["կ","k"],["Կ","K"],["հ","h"],["Հ","H"],["ձ","dz"],["Ձ","Dz"],["ղ","gh"],["Ղ","Gh"],["ճ","tch"],["Ճ","Tch"],["մ","m"],["Մ","M"],["յ","y"],["Յ","Y"],["ն","n"],["Ն","N"],["շ","sh"],["Շ","Sh"],["ո","vo"],["Ո","Vo"],["չ","ch"],["Չ","Ch"],["պ","p"],["Պ","P"],["ջ","j"],["Ջ","J"],["ռ","r"],["Ռ","R"],["ս","s"],["Ս","S"],["վ","v"],["Վ","V"],["տ","t"],["Տ","T"],["ր","r"],["Ր","R"],["ց","c"],["Ց","C"],["ու","u"],["ՈՒ","U"],["Ու","U"],["փ","p"],["Փ","P"],["ք","q"],["Ք","Q"],["օ","o"],["Օ","O"],["ֆ","f"],["Ֆ","F"],["և","yev"],["ა","a"],["ბ","b"],["გ","g"],["დ","d"],["ე","e"],["ვ","v"],["ზ","z"],["თ","t"],["ი","i"],["კ","k"],["ლ","l"],["მ","m"],["ნ","n"],["ო","o"],["პ","p"],["ჟ","zh"],["რ","r"],["ს","s"],["ტ","t"],["უ","u"],["ფ","ph"],["ქ","q"],["ღ","gh"],["ყ","k"],["შ","sh"],["ჩ","ch"],["ც","ts"],["ძ","dz"],["წ","ts"],["ჭ","tch"],["ხ","kh"],["ჯ","j"],["ჰ","h"],["č","c"],["ď","d"],["ě","e"],["ň","n"],["ř","r"],["š","s"],["ť","t"],["ů","u"],["ž","z"],["Č","C"],["Ď","D"],["Ě","E"],["Ň","N"],["Ř","R"],["Š","S"],["Ť","T"],["Ů","U"],["Ž","Z"],["ހ","h"],["ށ","sh"],["ނ","n"],["ރ","r"],["ބ","b"],["ޅ","lh"],["ކ","k"],["އ","a"],["ވ","v"],["މ","m"],["ފ","f"],["ދ","dh"],["ތ","th"],["ލ","l"],["ގ","g"],["ޏ","gn"],["ސ","s"],["ޑ","d"],["ޒ","z"],["ޓ","t"],["ޔ","y"],["ޕ","p"],["ޖ","j"],["ޗ","ch"],["ޘ","tt"],["ޙ","hh"],["ޚ","kh"],["ޛ","th"],["ޜ","z"],["ޝ","sh"],["ޞ","s"],["ޟ","d"],["ޠ","t"],["ޡ","z"],["ޢ","a"],["ޣ","gh"],["ޤ","q"],["ޥ","w"],["ަ","a"],["ާ","aa"],["ި","i"],["ީ","ee"],["ު","u"],["ޫ","oo"],["ެ","e"],["ޭ","ey"],["ޮ","o"],["ޯ","oa"],["ް",""],["α","a"],["β","v"],["γ","g"],["δ","d"],["ε","e"],["ζ","z"],["η","i"],["θ","th"],["ι","i"],["κ","k"],["λ","l"],["μ","m"],["ν","n"],["ξ","ks"],["ο","o"],["π","p"],["ρ","r"],["σ","s"],["τ","t"],["υ","y"],["φ","f"],["χ","x"],["ψ","ps"],["ω","o"],["ά","a"],["έ","e"],["ί","i"],["ό","o"],["ύ","y"],["ή","i"],["ώ","o"],["ς","s"],["ϊ","i"],["ΰ","y"],["ϋ","y"],["ΐ","i"],["Α","A"],["Β","B"],["Γ","G"],["Δ","D"],["Ε","E"],["Ζ","Z"],["Η","I"],["Θ","TH"],["Ι","I"],["Κ","K"],["Λ","L"],["Μ","M"],["Ν","N"],["Ξ","KS"],["Ο","O"],["Π","P"],["Ρ","R"],["Σ","S"],["Τ","T"],["Υ","Y"],["Φ","F"],["Χ","X"],["Ψ","PS"],["Ω","O"],["Ά","A"],["Έ","E"],["Ί","I"],["Ό","O"],["Ύ","Y"],["Ή","I"],["Ώ","O"],["Ϊ","I"],["Ϋ","Y"],["ā","a"],["ē","e"],["ģ","g"],["ī","i"],["ķ","k"],["ļ","l"],["ņ","n"],["ū","u"],["Ā","A"],["Ē","E"],["Ģ","G"],["Ī","I"],["Ķ","K"],["Ļ","L"],["Ņ","N"],["Ū","U"],["č","c"],["š","s"],["ž","z"],["Č","C"],["Š","S"],["Ž","Z"],["ą","a"],["č","c"],["ę","e"],["ė","e"],["į","i"],["š","s"],["ų","u"],["ū","u"],["ž","z"],["Ą","A"],["Č","C"],["Ę","E"],["Ė","E"],["Į","I"],["Š","S"],["Ų","U"],["Ū","U"],["Ќ","Kj"],["ќ","kj"],["Љ","Lj"],["љ","lj"],["Њ","Nj"],["њ","nj"],["Тс","Ts"],["тс","ts"],["ą","a"],["ć","c"],["ę","e"],["ł","l"],["ń","n"],["ś","s"],["ź","z"],["ż","z"],["Ą","A"],["Ć","C"],["Ę","E"],["Ł","L"],["Ń","N"],["Ś","S"],["Ź","Z"],["Ż","Z"],["Є","Ye"],["І","I"],["Ї","Yi"],["Ґ","G"],["є","ye"],["і","i"],["ї","yi"],["ґ","g"],["IJ","IJ"],["ij","ij"],["¢","c"],["¥","Y"],["߿","b"],["৳","t"],["૱","Bo"],["฿","B"],["₠","CE"],["₡","C"],["₢","Cr"],["₣","F"],["₥","m"],["₦","N"],["₧","Pt"],["₨","Rs"],["₩","W"],["₫","s"],["€","E"],["₭","K"],["₮","T"],["₯","Dp"],["₰","S"],["₱","P"],["₲","G"],["₳","A"],["₴","S"],["₵","C"],["₶","tt"],["₷","S"],["₸","T"],["₹","R"],["₺","L"],["₽","P"],["₿","B"],["﹩","$"],["¢","c"],["¥","Y"],["₩","W"],["𝐀","A"],["𝐁","B"],["𝐂","C"],["𝐃","D"],["𝐄","E"],["𝐅","F"],["𝐆","G"],["𝐇","H"],["𝐈","I"],["𝐉","J"],["𝐊","K"],["𝐋","L"],["𝐌","M"],["𝐍","N"],["𝐎","O"],["𝐏","P"],["𝐐","Q"],["𝐑","R"],["𝐒","S"],["𝐓","T"],["𝐔","U"],["𝐕","V"],["𝐖","W"],["𝐗","X"],["𝐘","Y"],["𝐙","Z"],["𝐚","a"],["𝐛","b"],["𝐜","c"],["𝐝","d"],["𝐞","e"],["𝐟","f"],["𝐠","g"],["𝐡","h"],["𝐢","i"],["𝐣","j"],["𝐤","k"],["𝐥","l"],["𝐦","m"],["𝐧","n"],["𝐨","o"],["𝐩","p"],["𝐪","q"],["𝐫","r"],["𝐬","s"],["𝐭","t"],["𝐮","u"],["𝐯","v"],["𝐰","w"],["𝐱","x"],["𝐲","y"],["𝐳","z"],["𝐴","A"],["𝐵","B"],["𝐶","C"],["𝐷","D"],["𝐸","E"],["𝐹","F"],["𝐺","G"],["𝐻","H"],["𝐼","I"],["𝐽","J"],["𝐾","K"],["𝐿","L"],["𝑀","M"],["𝑁","N"],["𝑂","O"],["𝑃","P"],["𝑄","Q"],["𝑅","R"],["𝑆","S"],["𝑇","T"],["𝑈","U"],["𝑉","V"],["𝑊","W"],["𝑋","X"],["𝑌","Y"],["𝑍","Z"],["𝑎","a"],["𝑏","b"],["𝑐","c"],["𝑑","d"],["𝑒","e"],["𝑓","f"],["𝑔","g"],["𝑖","i"],["𝑗","j"],["𝑘","k"],["𝑙","l"],["𝑚","m"],["𝑛","n"],["𝑜","o"],["𝑝","p"],["𝑞","q"],["𝑟","r"],["𝑠","s"],["𝑡","t"],["𝑢","u"],["𝑣","v"],["𝑤","w"],["𝑥","x"],["𝑦","y"],["𝑧","z"],["𝑨","A"],["𝑩","B"],["𝑪","C"],["𝑫","D"],["𝑬","E"],["𝑭","F"],["𝑮","G"],["𝑯","H"],["𝑰","I"],["𝑱","J"],["𝑲","K"],["𝑳","L"],["𝑴","M"],["𝑵","N"],["𝑶","O"],["𝑷","P"],["𝑸","Q"],["𝑹","R"],["𝑺","S"],["𝑻","T"],["𝑼","U"],["𝑽","V"],["𝑾","W"],["𝑿","X"],["𝒀","Y"],["𝒁","Z"],["𝒂","a"],["𝒃","b"],["𝒄","c"],["𝒅","d"],["𝒆","e"],["𝒇","f"],["𝒈","g"],["𝒉","h"],["𝒊","i"],["𝒋","j"],["𝒌","k"],["𝒍","l"],["𝒎","m"],["𝒏","n"],["𝒐","o"],["𝒑","p"],["𝒒","q"],["𝒓","r"],["𝒔","s"],["𝒕","t"],["𝒖","u"],["𝒗","v"],["𝒘","w"],["𝒙","x"],["𝒚","y"],["𝒛","z"],["𝒜","A"],["𝒞","C"],["𝒟","D"],["𝒢","g"],["𝒥","J"],["𝒦","K"],["𝒩","N"],["𝒪","O"],["𝒫","P"],["𝒬","Q"],["𝒮","S"],["𝒯","T"],["𝒰","U"],["𝒱","V"],["𝒲","W"],["𝒳","X"],["𝒴","Y"],["𝒵","Z"],["𝒶","a"],["𝒷","b"],["𝒸","c"],["𝒹","d"],["𝒻","f"],["𝒽","h"],["𝒾","i"],["𝒿","j"],["𝓀","h"],["𝓁","l"],["𝓂","m"],["𝓃","n"],["𝓅","p"],["𝓆","q"],["𝓇","r"],["𝓈","s"],["𝓉","t"],["𝓊","u"],["𝓋","v"],["𝓌","w"],["𝓍","x"],["𝓎","y"],["𝓏","z"],["𝓐","A"],["𝓑","B"],["𝓒","C"],["𝓓","D"],["𝓔","E"],["𝓕","F"],["𝓖","G"],["𝓗","H"],["𝓘","I"],["𝓙","J"],["𝓚","K"],["𝓛","L"],["𝓜","M"],["𝓝","N"],["𝓞","O"],["𝓟","P"],["𝓠","Q"],["𝓡","R"],["𝓢","S"],["𝓣","T"],["𝓤","U"],["𝓥","V"],["𝓦","W"],["𝓧","X"],["𝓨","Y"],["𝓩","Z"],["𝓪","a"],["𝓫","b"],["𝓬","c"],["𝓭","d"],["𝓮","e"],["𝓯","f"],["𝓰","g"],["𝓱","h"],["𝓲","i"],["𝓳","j"],["𝓴","k"],["𝓵","l"],["𝓶","m"],["𝓷","n"],["𝓸","o"],["𝓹","p"],["𝓺","q"],["𝓻","r"],["𝓼","s"],["𝓽","t"],["𝓾","u"],["𝓿","v"],["𝔀","w"],["𝔁","x"],["𝔂","y"],["𝔃","z"],["𝔄","A"],["𝔅","B"],["𝔇","D"],["𝔈","E"],["𝔉","F"],["𝔊","G"],["𝔍","J"],["𝔎","K"],["𝔏","L"],["𝔐","M"],["𝔑","N"],["𝔒","O"],["𝔓","P"],["𝔔","Q"],["𝔖","S"],["𝔗","T"],["𝔘","U"],["𝔙","V"],["𝔚","W"],["𝔛","X"],["𝔜","Y"],["𝔞","a"],["𝔟","b"],["𝔠","c"],["𝔡","d"],["𝔢","e"],["𝔣","f"],["𝔤","g"],["𝔥","h"],["𝔦","i"],["𝔧","j"],["𝔨","k"],["𝔩","l"],["𝔪","m"],["𝔫","n"],["𝔬","o"],["𝔭","p"],["𝔮","q"],["𝔯","r"],["𝔰","s"],["𝔱","t"],["𝔲","u"],["𝔳","v"],["𝔴","w"],["𝔵","x"],["𝔶","y"],["𝔷","z"],["𝔸","A"],["𝔹","B"],["𝔻","D"],["𝔼","E"],["𝔽","F"],["𝔾","G"],["𝕀","I"],["𝕁","J"],["𝕂","K"],["𝕃","L"],["𝕄","M"],["𝕆","N"],["𝕊","S"],["𝕋","T"],["𝕌","U"],["𝕍","V"],["𝕎","W"],["𝕏","X"],["𝕐","Y"],["𝕒","a"],["𝕓","b"],["𝕔","c"],["𝕕","d"],["𝕖","e"],["𝕗","f"],["𝕘","g"],["𝕙","h"],["𝕚","i"],["𝕛","j"],["𝕜","k"],["𝕝","l"],["𝕞","m"],["𝕟","n"],["𝕠","o"],["𝕡","p"],["𝕢","q"],["𝕣","r"],["𝕤","s"],["𝕥","t"],["𝕦","u"],["𝕧","v"],["𝕨","w"],["𝕩","x"],["𝕪","y"],["𝕫","z"],["𝕬","A"],["𝕭","B"],["𝕮","C"],["𝕯","D"],["𝕰","E"],["𝕱","F"],["𝕲","G"],["𝕳","H"],["𝕴","I"],["𝕵","J"],["𝕶","K"],["𝕷","L"],["𝕸","M"],["𝕹","N"],["𝕺","O"],["𝕻","P"],["𝕼","Q"],["𝕽","R"],["𝕾","S"],["𝕿","T"],["𝖀","U"],["𝖁","V"],["𝖂","W"],["𝖃","X"],["𝖄","Y"],["𝖅","Z"],["𝖆","a"],["𝖇","b"],["𝖈","c"],["𝖉","d"],["𝖊","e"],["𝖋","f"],["𝖌","g"],["𝖍","h"],["𝖎","i"],["𝖏","j"],["𝖐","k"],["𝖑","l"],["𝖒","m"],["𝖓","n"],["𝖔","o"],["𝖕","p"],["𝖖","q"],["𝖗","r"],["𝖘","s"],["𝖙","t"],["𝖚","u"],["𝖛","v"],["𝖜","w"],["𝖝","x"],["𝖞","y"],["𝖟","z"],["𝖠","A"],["𝖡","B"],["𝖢","C"],["𝖣","D"],["𝖤","E"],["𝖥","F"],["𝖦","G"],["𝖧","H"],["𝖨","I"],["𝖩","J"],["𝖪","K"],["𝖫","L"],["𝖬","M"],["𝖭","N"],["𝖮","O"],["𝖯","P"],["𝖰","Q"],["𝖱","R"],["𝖲","S"],["𝖳","T"],["𝖴","U"],["𝖵","V"],["𝖶","W"],["𝖷","X"],["𝖸","Y"],["𝖹","Z"],["𝖺","a"],["𝖻","b"],["𝖼","c"],["𝖽","d"],["𝖾","e"],["𝖿","f"],["𝗀","g"],["𝗁","h"],["𝗂","i"],["𝗃","j"],["𝗄","k"],["𝗅","l"],["𝗆","m"],["𝗇","n"],["𝗈","o"],["𝗉","p"],["𝗊","q"],["𝗋","r"],["𝗌","s"],["𝗍","t"],["𝗎","u"],["𝗏","v"],["𝗐","w"],["𝗑","x"],["𝗒","y"],["𝗓","z"],["𝗔","A"],["𝗕","B"],["𝗖","C"],["𝗗","D"],["𝗘","E"],["𝗙","F"],["𝗚","G"],["𝗛","H"],["𝗜","I"],["𝗝","J"],["𝗞","K"],["𝗟","L"],["𝗠","M"],["𝗡","N"],["𝗢","O"],["𝗣","P"],["𝗤","Q"],["𝗥","R"],["𝗦","S"],["𝗧","T"],["𝗨","U"],["𝗩","V"],["𝗪","W"],["𝗫","X"],["𝗬","Y"],["𝗭","Z"],["𝗮","a"],["𝗯","b"],["𝗰","c"],["𝗱","d"],["𝗲","e"],["𝗳","f"],["𝗴","g"],["𝗵","h"],["𝗶","i"],["𝗷","j"],["𝗸","k"],["𝗹","l"],["𝗺","m"],["𝗻","n"],["𝗼","o"],["𝗽","p"],["𝗾","q"],["𝗿","r"],["𝘀","s"],["𝘁","t"],["𝘂","u"],["𝘃","v"],["𝘄","w"],["𝘅","x"],["𝘆","y"],["𝘇","z"],["𝘈","A"],["𝘉","B"],["𝘊","C"],["𝘋","D"],["𝘌","E"],["𝘍","F"],["𝘎","G"],["𝘏","H"],["𝘐","I"],["𝘑","J"],["𝘒","K"],["𝘓","L"],["𝘔","M"],["𝘕","N"],["𝘖","O"],["𝘗","P"],["𝘘","Q"],["𝘙","R"],["𝘚","S"],["𝘛","T"],["𝘜","U"],["𝘝","V"],["𝘞","W"],["𝘟","X"],["𝘠","Y"],["𝘡","Z"],["𝘢","a"],["𝘣","b"],["𝘤","c"],["𝘥","d"],["𝘦","e"],["𝘧","f"],["𝘨","g"],["𝘩","h"],["𝘪","i"],["𝘫","j"],["𝘬","k"],["𝘭","l"],["𝘮","m"],["𝘯","n"],["𝘰","o"],["𝘱","p"],["𝘲","q"],["𝘳","r"],["𝘴","s"],["𝘵","t"],["𝘶","u"],["𝘷","v"],["𝘸","w"],["𝘹","x"],["𝘺","y"],["𝘻","z"],["𝘼","A"],["𝘽","B"],["𝘾","C"],["𝘿","D"],["𝙀","E"],["𝙁","F"],["𝙂","G"],["𝙃","H"],["𝙄","I"],["𝙅","J"],["𝙆","K"],["𝙇","L"],["𝙈","M"],["𝙉","N"],["𝙊","O"],["𝙋","P"],["𝙌","Q"],["𝙍","R"],["𝙎","S"],["𝙏","T"],["𝙐","U"],["𝙑","V"],["𝙒","W"],["𝙓","X"],["𝙔","Y"],["𝙕","Z"],["𝙖","a"],["𝙗","b"],["𝙘","c"],["𝙙","d"],["𝙚","e"],["𝙛","f"],["𝙜","g"],["𝙝","h"],["𝙞","i"],["𝙟","j"],["𝙠","k"],["𝙡","l"],["𝙢","m"],["𝙣","n"],["𝙤","o"],["𝙥","p"],["𝙦","q"],["𝙧","r"],["𝙨","s"],["𝙩","t"],["𝙪","u"],["𝙫","v"],["𝙬","w"],["𝙭","x"],["𝙮","y"],["𝙯","z"],["𝙰","A"],["𝙱","B"],["𝙲","C"],["𝙳","D"],["𝙴","E"],["𝙵","F"],["𝙶","G"],["𝙷","H"],["𝙸","I"],["𝙹","J"],["𝙺","K"],["𝙻","L"],["𝙼","M"],["𝙽","N"],["𝙾","O"],["𝙿","P"],["𝚀","Q"],["𝚁","R"],["𝚂","S"],["𝚃","T"],["𝚄","U"],["𝚅","V"],["𝚆","W"],["𝚇","X"],["𝚈","Y"],["𝚉","Z"],["𝚊","a"],["𝚋","b"],["𝚌","c"],["𝚍","d"],["𝚎","e"],["𝚏","f"],["𝚐","g"],["𝚑","h"],["𝚒","i"],["𝚓","j"],["𝚔","k"],["𝚕","l"],["𝚖","m"],["𝚗","n"],["𝚘","o"],["𝚙","p"],["𝚚","q"],["𝚛","r"],["𝚜","s"],["𝚝","t"],["𝚞","u"],["𝚟","v"],["𝚠","w"],["𝚡","x"],["𝚢","y"],["𝚣","z"],["𝚤","l"],["𝚥","j"],["𝛢","A"],["𝛣","B"],["𝛤","G"],["𝛥","D"],["𝛦","E"],["𝛧","Z"],["𝛨","I"],["𝛩","TH"],["𝛪","I"],["𝛫","K"],["𝛬","L"],["𝛭","M"],["𝛮","N"],["𝛯","KS"],["𝛰","O"],["𝛱","P"],["𝛲","R"],["𝛳","TH"],["𝛴","S"],["𝛵","T"],["𝛶","Y"],["𝛷","F"],["𝛸","x"],["𝛹","PS"],["𝛺","O"],["𝛻","D"],["𝛼","a"],["𝛽","b"],["𝛾","g"],["𝛿","d"],["𝜀","e"],["𝜁","z"],["𝜂","i"],["𝜃","th"],["𝜄","i"],["𝜅","k"],["𝜆","l"],["𝜇","m"],["𝜈","n"],["𝜉","ks"],["𝜊","o"],["𝜋","p"],["𝜌","r"],["𝜍","s"],["𝜎","s"],["𝜏","t"],["𝜐","y"],["𝜑","f"],["𝜒","x"],["𝜓","ps"],["𝜔","o"],["𝜕","d"],["𝜖","E"],["𝜗","TH"],["𝜘","K"],["𝜙","f"],["𝜚","r"],["𝜛","p"],["𝜜","A"],["𝜝","V"],["𝜞","G"],["𝜟","D"],["𝜠","E"],["𝜡","Z"],["𝜢","I"],["𝜣","TH"],["𝜤","I"],["𝜥","K"],["𝜦","L"],["𝜧","M"],["𝜨","N"],["𝜩","KS"],["𝜪","O"],["𝜫","P"],["𝜬","S"],["𝜭","TH"],["𝜮","S"],["𝜯","T"],["𝜰","Y"],["𝜱","F"],["𝜲","X"],["𝜳","PS"],["𝜴","O"],["𝜵","D"],["𝜶","a"],["𝜷","v"],["𝜸","g"],["𝜹","d"],["𝜺","e"],["𝜻","z"],["𝜼","i"],["𝜽","th"],["𝜾","i"],["𝜿","k"],["𝝀","l"],["𝝁","m"],["𝝂","n"],["𝝃","ks"],["𝝄","o"],["𝝅","p"],["𝝆","r"],["𝝇","s"],["𝝈","s"],["𝝉","t"],["𝝊","y"],["𝝋","f"],["𝝌","x"],["𝝍","ps"],["𝝎","o"],["𝝏","a"],["𝝐","e"],["𝝑","i"],["𝝒","k"],["𝝓","f"],["𝝔","r"],["𝝕","p"],["𝝖","A"],["𝝗","B"],["𝝘","G"],["𝝙","D"],["𝝚","E"],["𝝛","Z"],["𝝜","I"],["𝝝","TH"],["𝝞","I"],["𝝟","K"],["𝝠","L"],["𝝡","M"],["𝝢","N"],["𝝣","KS"],["𝝤","O"],["𝝥","P"],["𝝦","R"],["𝝧","TH"],["𝝨","S"],["𝝩","T"],["𝝪","Y"],["𝝫","F"],["𝝬","X"],["𝝭","PS"],["𝝮","O"],["𝝯","D"],["𝝰","a"],["𝝱","v"],["𝝲","g"],["𝝳","d"],["𝝴","e"],["𝝵","z"],["𝝶","i"],["𝝷","th"],["𝝸","i"],["𝝹","k"],["𝝺","l"],["𝝻","m"],["𝝼","n"],["𝝽","ks"],["𝝾","o"],["𝝿","p"],["𝞀","r"],["𝞁","s"],["𝞂","s"],["𝞃","t"],["𝞄","y"],["𝞅","f"],["𝞆","x"],["𝞇","ps"],["𝞈","o"],["𝞉","a"],["𝞊","e"],["𝞋","i"],["𝞌","k"],["𝞍","f"],["𝞎","r"],["𝞏","p"],["𝞐","A"],["𝞑","V"],["𝞒","G"],["𝞓","D"],["𝞔","E"],["𝞕","Z"],["𝞖","I"],["𝞗","TH"],["𝞘","I"],["𝞙","K"],["𝞚","L"],["𝞛","M"],["𝞜","N"],["𝞝","KS"],["𝞞","O"],["𝞟","P"],["𝞠","S"],["𝞡","TH"],["𝞢","S"],["𝞣","T"],["𝞤","Y"],["𝞥","F"],["𝞦","X"],["𝞧","PS"],["𝞨","O"],["𝞩","D"],["𝞪","av"],["𝞫","g"],["𝞬","d"],["𝞭","e"],["𝞮","z"],["𝞯","i"],["𝞰","i"],["𝞱","th"],["𝞲","i"],["𝞳","k"],["𝞴","l"],["𝞵","m"],["𝞶","n"],["𝞷","ks"],["𝞸","o"],["𝞹","p"],["𝞺","r"],["𝞻","s"],["𝞼","s"],["𝞽","t"],["𝞾","y"],["𝞿","f"],["𝟀","x"],["𝟁","ps"],["𝟂","o"],["𝟃","a"],["𝟄","e"],["𝟅","i"],["𝟆","k"],["𝟇","f"],["𝟈","r"],["𝟉","p"],["𝟊","F"],["𝟋","f"],["⒜","(a)"],["⒝","(b)"],["⒞","(c)"],["⒟","(d)"],["⒠","(e)"],["⒡","(f)"],["⒢","(g)"],["⒣","(h)"],["⒤","(i)"],["⒥","(j)"],["⒦","(k)"],["⒧","(l)"],["⒨","(m)"],["⒩","(n)"],["⒪","(o)"],["⒫","(p)"],["⒬","(q)"],["⒭","(r)"],["⒮","(s)"],["⒯","(t)"],["⒰","(u)"],["⒱","(v)"],["⒲","(w)"],["⒳","(x)"],["⒴","(y)"],["⒵","(z)"],["Ⓐ","(A)"],["Ⓑ","(B)"],["Ⓒ","(C)"],["Ⓓ","(D)"],["Ⓔ","(E)"],["Ⓕ","(F)"],["Ⓖ","(G)"],["Ⓗ","(H)"],["Ⓘ","(I)"],["Ⓙ","(J)"],["Ⓚ","(K)"],["Ⓛ","(L)"],["Ⓝ","(N)"],["Ⓞ","(O)"],["Ⓟ","(P)"],["Ⓠ","(Q)"],["Ⓡ","(R)"],["Ⓢ","(S)"],["Ⓣ","(T)"],["Ⓤ","(U)"],["Ⓥ","(V)"],["Ⓦ","(W)"],["Ⓧ","(X)"],["Ⓨ","(Y)"],["Ⓩ","(Z)"],["ⓐ","(a)"],["ⓑ","(b)"],["ⓒ","(b)"],["ⓓ","(c)"],["ⓔ","(e)"],["ⓕ","(f)"],["ⓖ","(g)"],["ⓗ","(h)"],["ⓘ","(i)"],["ⓙ","(j)"],["ⓚ","(k)"],["ⓛ","(l)"],["ⓜ","(m)"],["ⓝ","(n)"],["ⓞ","(o)"],["ⓟ","(p)"],["ⓠ","(q)"],["ⓡ","(r)"],["ⓢ","(s)"],["ⓣ","(t)"],["ⓤ","(u)"],["ⓥ","(v)"],["ⓦ","(w)"],["ⓧ","(x)"],["ⓨ","(y)"],["ⓩ","(z)"],["Ċ","C"],["ċ","c"],["Ġ","G"],["ġ","g"],["Ħ","H"],["ħ","h"],["Ż","Z"],["ż","z"],["𝟎","0"],["𝟏","1"],["𝟐","2"],["𝟑","3"],["𝟒","4"],["𝟓","5"],["𝟔","6"],["𝟕","7"],["𝟖","8"],["𝟗","9"],["𝟘","0"],["𝟙","1"],["𝟚","2"],["𝟛","3"],["𝟜","4"],["𝟝","5"],["𝟞","6"],["𝟟","7"],["𝟠","8"],["𝟡","9"],["𝟢","0"],["𝟣","1"],["𝟤","2"],["𝟥","3"],["𝟦","4"],["𝟧","5"],["𝟨","6"],["𝟩","7"],["𝟪","8"],["𝟫","9"],["𝟬","0"],["𝟭","1"],["𝟮","2"],["𝟯","3"],["𝟰","4"],["𝟱","5"],["𝟲","6"],["𝟳","7"],["𝟴","8"],["𝟵","9"],["𝟶","0"],["𝟷","1"],["𝟸","2"],["𝟹","3"],["𝟺","4"],["𝟻","5"],["𝟼","6"],["𝟽","7"],["𝟾","8"],["𝟿","9"],["①","1"],["②","2"],["③","3"],["④","4"],["⑤","5"],["⑥","6"],["⑦","7"],["⑧","8"],["⑨","9"],["⑩","10"],["⑪","11"],["⑫","12"],["⑬","13"],["⑭","14"],["⑮","15"],["⑯","16"],["⑰","17"],["⑱","18"],["⑲","19"],["⑳","20"],["⑴","1"],["⑵","2"],["⑶","3"],["⑷","4"],["⑸","5"],["⑹","6"],["⑺","7"],["⑻","8"],["⑼","9"],["⑽","10"],["⑾","11"],["⑿","12"],["⒀","13"],["⒁","14"],["⒂","15"],["⒃","16"],["⒄","17"],["⒅","18"],["⒆","19"],["⒇","20"],["⒈","1."],["⒉","2."],["⒊","3."],["⒋","4."],["⒌","5."],["⒍","6."],["⒎","7."],["⒏","8."],["⒐","9."],["⒑","10."],["⒒","11."],["⒓","12."],["⒔","13."],["⒕","14."],["⒖","15."],["⒗","16."],["⒘","17."],["⒙","18."],["⒚","19."],["⒛","20."],["⓪","0"],["⓫","11"],["⓬","12"],["⓭","13"],["⓮","14"],["⓯","15"],["⓰","16"],["⓱","17"],["⓲","18"],["⓳","19"],["⓴","20"],["⓵","1"],["⓶","2"],["⓷","3"],["⓸","4"],["⓹","5"],["⓺","6"],["⓻","7"],["⓼","8"],["⓽","9"],["⓾","10"],["⓿","0"],["🙰","&"],["🙱","&"],["🙲","&"],["🙳","&"],["🙴","&"],["🙵","&"],["🙶",'"'],["🙷",'"'],["🙸",'"'],["‽","?!"],["🙹","?!"],["🙺","?!"],["🙻","?!"],["🙼","/"],["🙽","\\"],["🜇","AR"],["🜈","V"],["🜉","V"],["🜆","VR"],["🜅","VF"],["🜩","2"],["🜪","5"],["🝡","f"],["🝢","W"],["🝣","U"],["🝧","V"],["🝨","T"],["🝪","V"],["🝫","MB"],["🝬","VB"],["🝲","3B"],["🝳","3B"],["💯","100"],["🔙","BACK"],["🔚","END"],["🔛","ON!"],["🔜","SOON"],["🔝","TOP"],["🔞","18"],["🔤","abc"],["🔠","ABCD"],["🔡","abcd"],["🔢","1234"],["🔣","T&@%"],["#️⃣","#"],["*️⃣","*"],["0️⃣","0"],["1️⃣","1"],["2️⃣","2"],["3️⃣","3"],["4️⃣","4"],["5️⃣","5"],["6️⃣","6"],["7️⃣","7"],["8️⃣","8"],["9️⃣","9"],["🔟","10"],["🅰️","A"],["🅱️","B"],["🆎","AB"],["🆑","CL"],["🅾️","O"],["🅿","P"],["🆘","SOS"],["🅲","C"],["🅳","D"],["🅴","E"],["🅵","F"],["🅶","G"],["🅷","H"],["🅸","I"],["🅹","J"],["🅺","K"],["🅻","L"],["🅼","M"],["🅽","N"],["🆀","Q"],["🆁","R"],["🆂","S"],["🆃","T"],["🆄","U"],["🆅","V"],["🆆","W"],["🆇","X"],["🆈","Y"],["🆉","Z"]],jt=(e,t)=>{for(const[o,r]of t)e=e.replace(new RegExp(Ut(o),"g"),r);return e},Yt=[["&"," and "],["🦄"," unicorn "],["♥"," love "]],zt=e=>e.replace(/([A-Z]{2,})(\d+)/g,"$1 $2").replace(/([a-z\d]+)([A-Z]{2,})/g,"$1 $2").replace(/([a-z\d])([A-Z])/g,"$1 $2").replace(/([A-Z]+)([A-Z][a-rt-z\d]+)/g,"$1 $2"),Gt=(e,t)=>{const o=Ut(t);return e.replace(new RegExp(`${o}{2,}`,"g"),t).replace(new RegExp(`^${o}|${o}$`,"g"),"")},Wt=e=>{let t="a-z\\d";if(t+=e.lowercase?"":"A-Z",e.preserveCharacters.length>0)for(const o of e.preserveCharacters){if(o===e.separator)throw new Error(`The separator character \`${e.separator}\` cannot be included in preserved characters: ${e.preserveCharacters}`);t+=Ut(o)}return new RegExp(`[^${t}]+`,"g")};function qt(e,t,o){return null!=e&&!Number.isNaN(e)&&e>=t&&e<=o}function Kt(e,t,o,r){const n=function(e,t){return null==t?e:t.includes(e)?null:e-t.filter((t=>e>=t)).length}(e,r);null!=n&&n<=o&&t.add(n)}const Qt=e=>"\n"!==e.textContent?e.textContent:"",Vt=e=>{if(e.querySelector(".go"))return null;const t=e.cloneNode(!0);let o=null;for(;o=t.querySelector("span.gp");){if(o.nextElementSibling?.classList.contains("w")){const e=o.nextElementSibling;e.textContent=e.textContent?.replace(" ","")??null}o.remove()}return t.innerText};let Xt=null;function Zt(e){const{codeblockNumericId:t,rawContent:o,language:r,rawHighlightRanges:n,title:i,anchorId:l,showLineNumbers:c}=e,a=o.split("\n");if(0===a.length)return console.warn("useEnhancedCodeBlocks: Code Block appears to have no lines!"),null;const s=a[a.length-1];""!==s&&""!==s||a.pop();const{linesWithoutMagicComments:d,removedLineNumbers:u,additionalHighlightRanges:h}=function(e){let t=null;const o=[],r=[],n=[];for(let i=0;iqt(e,1,t))),n=t-r.length,i=new Set;return e?(e.split(",").forEach((e=>{if(""===e)return;const o=+e;if(qt(o,1,t))Kt(o,i,n,r);else{const o=e.trim().split("-");if(2===o.length){const e=+o[0],l=+o[1];if(qt(e,1,t)&&qt(l,1,t)&&e<=l)for(let t=e;t<=l;++t)Kt(t,i,n,r)}}})),i):i}([n,h].filter(Boolean).join(","),a.length,u),m=`primer-spec-code-block-${t}`,f=function(e,t){return null==e?null:Ht.h("div",{class:"Box-header py-2 pr-2 d-flex flex-shrink-0 flex-md-row flex-items-center primer-spec-code-block-header"},Ht.h("span",{class:Pt("flex-auto",mt),"data-anchor-id":t},e))}(i,l),g=Ht.h("div",{id:m,class:"Box mt-3 text-mono"},f,Ht.h("div",{class:Pt("Box-body","p-0","primer-spec-code-block-body",f&&"primer-spec-code-block-header-present")},Ht.h("table",{class:"highlight"},Ht.h("tbody",{onMouseOver:e=>{if(null!=Xt&&null!=e.target){let t=e.target;for(;t&&"TABLE"!==t.tagName;){const e=t.id.match(/^primer-spec-code-block-(?:\d+)-L(?:C|R)?(\d+)$/);if(e&&null!=e[1]){Jt(m,Xt,+e[1]);break}t=t.parentNode}}},onMouseLeave:()=>{Xt=null},onMouseUp:()=>{Xt=null}},d.map(((e,t)=>function(e){const{codeblockId:t,language:o,line:r,lineNumber:n,shouldHighlight:i,showLineNumbers:l}=e,c=""===r?"\n":r,a=`${t}-L${n}`,s=`${t}-LC${n}`,d=`${t}-LR${n}`,u=Ht.h("tr",{id:d},Ht.h("td",{id:a,class:Pt("primer-spec-code-block-line-number",l&&"primer-spec-code-block-line-numbers-shown"),"data-line-number":n,onMouseDown:e=>{e.preventDefault(),Xt=n,Jt(t,Xt,Xt)}}),Ht.h("td",{id:s,class:Pt(ht,i&&"primer-spec-code-block-highlighted"),dangerouslySetInnerHTML:{__html:c}}));if(o===ft){const e=u.querySelector(`.${ht}`),t=e.firstChild;if("SPAN"===t?.tagName&&t.classList.contains("gp")){e.id="";const t=[...e.childNodes],o=[];let r=0;for(;r1?function(e,t){return Ht.h("div",{class:"primer-spec-zeroclipboard-container position-absolute top-0 right-0"},Ht.h("button",{type:"button",class:"btn-octicon no-print m-2 p-2 tooltipped tooltipped-no-delay tooltipped-n",tabIndex:0,"aria-label":t?"Copy all commands":"Copy",onClick:async o=>{const r=document.getElementById(e);if(r){await async function(e,t=Qt){const o=`${[...e.querySelectorAll(`.${ht}`)].map((e=>t(e))).filter((e=>null!=e)).join("\n")}\n`;await navigator.clipboard.writeText(o)}(r,t?Vt:Qt);let e=o.target;if("I"===e?.tagName&&(e=e.parentElement),!e)return;const n=e.getAttribute("aria-label");e.setAttribute("aria-label","Copied!");const i=e.firstChild;if(!i)return;e.innerText="",e.appendChild(Ht.h("i",{class:"fas fa-check"})),setTimeout((()=>{e&&(e.setAttribute("aria-label",n||""),e.blur(),e.innerText="",e.appendChild(i))}),2e3)}}},Ht.h("i",{class:"far fa-copy"})))}(m,r===ft):null));return g}function Jt(e,t,o){let r=t,n=o;r>n&&(r=o,n=t);const i=document.getElementById(`${e}-LC${r}`),l=document.getElementById(`${e}-LC${n}`);if(!i||!l)return void console.error("Primer Spec Code Block: selectLines: start or end nodes are null. Please report this issue on https://github.com/eecs485staff/primer-spec/issues. Thanks!");const c=document.createRange();c.setStart(i,0),c.setEnd(l,l.childNodes.length),document.getSelection()?.removeAllRanges(),document.getSelection()?.addRange(c)}const eo=/^\s*.*primer-spec-highlight-(start|end)/i;function to(e){if(!e.current)throw new Error("Primer Spec: Main Content: Expected main content ref to be initialized.");const t=no(e.current.querySelectorAll("div.highlighter-rouge"),oo,0);return no(e.current.querySelectorAll("pre"),ro,t),()=>{}}function oo(e){const t=e.firstElementChild?.firstElementChild?.firstElementChild;return null==t?(console.warn("useEnhancedCodeBlocks: Code Block has malformed structure. See Primer Spec Docs for expected structure. https://github.com/eecs485staff/primer-spec/blob/main/docs/USAGE_ADVANCED.md#enhanced-code-blocks","codeblock",e),null):t}function ro(e){return 1===e.childNodes.length&&"CODE"===e.firstElementChild?.tagName?e.firstElementChild:e}function no(e,t,o=0){let r=o;return[...e].filter((e=>null==e.querySelector(`.${pt}`)&&null==e.closest(`.${pt}`))).forEach((e=>{if(function(e){return null!=e.querySelector(".language-mermaid")||io(e)===ut.LEGACY}(e))return void e.classList.add(pt);const o=r++,n=e.parentElement;if(!n)return void console.warn("useEnhancedCodeBlocks: Codeblock missing parent");const i=t(e);if(null==i)return;const l=function(e){const t=e.cloneNode();return e.childNodes.forEach((e=>{if(e.nodeType===Node.ELEMENT_NODE){if("SPAN"===e.tagName&&null!=e.textContent){const o=e.textContent.split("\n");o.forEach(((r,n)=>{if(r){const o=e.cloneNode();o.textContent=r,t.appendChild(o)}ne.remove())),e.current.querySelectorAll("pre > code.language-mermaid").forEach(((e,t)=>{const o=`diagram-${t}`,r=e.innerText,n=e.parentElement;if(null==n)return;n.style.display="none";const i=Ht.h("div",{class:"primer-spec-mermaid-output","aria-label":"Mermaid-enhanced diagram"});n.after(i),mermaid.mermaidAPI.render(o,r,(e=>{i.innerHTML=e;const t=i.querySelector("svg");if(null==t)return void console.warn("Primer Spec: Mermaid diagram didn't have an SVG. Please report this issue at github.com/eeccs485staff/primer-spec/issues. Thanks!");t.setAttribute("role","img"),n.dataset.title&&t.insertBefore(Ht.h("title",{id:`${o}-title`},n.dataset.title),t.firstChild);let l=n.dataset.description;l||(l=r),t.insertBefore(Ht.h("desc",{id:`${o}-desc`},l),t.firstChild),t.setAttribute("aria-labelledby",`${o}-title ${o}-desc`)}))})),()=>{}):()=>{}}function ao(e){if(!e.current)throw new Error("Primer Spec: Main Content: Expected main content ref to be initialized.");return e.current.querySelectorAll("abbr[title]").forEach((e=>{e.classList.add("tooltipped","tooltipped-no-delay","tooltipped-n"),e.setAttribute("aria-label",e.title),e.removeAttribute("title")})),()=>{}}function so(){const[e,t]=X(window.matchMedia("(prefers-color-scheme: dark)").matches);return Z((()=>{const e=e=>t(e.matches);return window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",e),()=>{window.matchMedia("(prefers-color-scheme: dark)").removeEventListener("change",e)}}),[]),e}function uo({innerHTML:e,visible:t,scrollToPosition:o,isSmallScreen:r,sidebarShown:n,currentSubthemeName:i,currentSubthemeMode:l}){const c=Tt(),a=so(),s=function(){const[e,t]=X("complete"===document.readyState);return Z((()=>{const e=()=>{t(!0)};return window.addEventListener("load",e),()=>{window.removeEventListener("load",e)}})),e}(),d=ee(null),u=oe(Rt,[e]);Z((()=>u(d)),[u]);const h=oe(to,[e]);Z((()=>h(d)),[h]);let p=!1;switch(l){case"system":p=a;break;case"dark":p=!0;break;default:p=!1}"xcode-civic"!==i&&"spooky"!==i||(p=!0),c&&(p=!1);const m=oe(co,[e]);Z((()=>m(d,p)),[s,m,p]);const f=oe(ao,[e]);return Z((()=>f(d)),[f]),J((()=>{null!=o&&window.scrollTo(o)}),[o]),g("main",{ref:d,id:vt.PRIMER_SPEC_CONTENT_PREACT_NODE_ID,class:Pt("container-lg","px-3","my-5","markdown-body",{"primer-spec-content-margin-extra":n&&!r&&!c,"primer-spec-content-mobile":r&&!c,"primer-spec-content-frozen":!t}),dangerouslySetInnerHTML:{__html:e}})}const ho="preview.sesh.rs",po=/^https:\/\/preview\.sesh\.rs\/previews\/([A-Za-z0-9_-]+)\/([A-Za-z0-9_-]+)\/\d+\/(.*)/,mo="https://services.w3.org/htmldiff";function fo(){if(window.location.hostname!==ho)return null;const e=function(){const e=window.location.href.match(po);return e&&e.length>=4?`https://${e[1]}.github.io/${e[2]}/${e[3]}`:null}();return e?g(A,null,g("style",null,".btn-primer-spec-preview {"," position: fixed;"," top: 15%;"," right: 1em;"," transition: width 0.5s !important;"," width: 3.5em;","}",".btn-primer-spec-preview:hover {"," width: 22em;","}",".primer-spec-preview-show-on-hover {"," opacity: 0;"," /* Transition applies onMouseOut (text disappears faster) */"," transition: opacity 0.15s;","}",".btn-primer-spec-preview:hover .primer-spec-preview-show-on-hover {"," opacity: 1;"," /* Transition applies onMouseOver (hence we add a delay) */"," transition: opacity 0.3s 0.3s;","}"),g("button",{class:"btn btn-primary btn-primer-spec-preview",onClick:()=>{window.open(function(e){const t=new URLSearchParams({doc1:e,doc2:window.location.href});return`${mo}?${t}`}(e),"_blank")}},g("i",{class:"fas fa-glasses",style:"font-weight: 900; opacity: 1;"})," ",g("span",{class:"primer-spec-preview-show-on-hover"},"Compare preview with published page"))):null}function go(e){const{theme_definition:t}=e.subtheme,{mode:o}=e,r=`primer-spec-theme-preview-${e.subtheme.name}-${e.mode}`,n=t[o]["--main-bg-color"]||"white",i=t[o]["--sidebar-bg-color"]||"white";return g("svg",{class:r,viewBox:"30.774 27.546 298.133 175.743",xmlns:"http://www.w3.org/2000/svg",style:`background-color: ${n};`,role:"img"},g("defs",null,g("style",null,`.${r} .sidebar-bg{fill:${i};stroke:${i};}`,`.${r} .sidebar-heading{fill:${t[o]["--sidebar-heading-text-color"]||"black"};}`,`.${r} .sidebar-toc-h1-link{fill:${t[o]["--sidebar-toc-h1-link-color"]||"#0366d6"};}`,`.${r} .sidebar-active-toc-section-bg{fill:${t[o]["--sidebar-active-toc-section-bg-color"]||"#faed27"};}`,`.${r} .sidebar-active-toc-section-link{fill:${t[o]["--sidebar-active-toc-section-link-color"]||"black"};}`,`.${r} .sidebar-toc-section-link{fill:${t[o]["--sidebar-toc-section-link-color"]||"black"};}`,`.${r} .sidebar-toc-h1-border-color{fill:${t[o]["--sidebar-toc-h1-border-color"]||"lightgrey"};}`,`.${r} .main-heading-link{fill:${t[o]["--main-heading-link-color"]||"#0366d6"};}`,`.${r} .main-text{fill:${t[o]["--main-text-color"]||"black"};}`,`.${r} .main-header-border-bottom{fill:none;stroke:${t[o]["--main-header-border-bottom-color"]||"#eaecef"};stroke-miterlimit:10;}`,`.${r} .main-link{fill:${t[o]["--main-link-color"]||"#0366d6"};}`,`.${r} .main-table-pre{fill:${t[o]["--main-table-pre-bg-color"]||"#f6f8fa"};stroke:${"light"===o?"none":"rgb(60, 62, 66)"};stroke-width:0.2}`,`.${r} .sidebar-border{fill:none;stroke:${t[o]["--sidebar-border-color"]||"#eaecef"};stroke-miterlimit:10;}`)),g("rect",{class:"sidebar-bg",x:"30.79",y:"27.669",width:"93.85",height:"175.646"}),g("rect",{class:"sidebar-heading",x:"43.588",y:"43.623",width:"41",height:"10.26",rx:"5"}),g("rect",{class:"sidebar-toc-h1-link",x:"43.588",y:"62.993",width:"58",height:"10.26",rx:"5"}),g("path",{class:"sidebar-active-toc-section-bg",d:"M 65.268 81.893 L 124.518 81.893 C 124.518 81.893 124.518 81.893 124.518 81.893 L 124.518 99.893 C 124.518 99.893 124.518 99.893 124.518 99.893 L 65.268 99.893 C 60.435 99.893 56.518 95.976 56.518 91.143 L 56.518 90.633 C 56.523 85.805 60.439 81.893 65.268 81.893 Z"}),g("rect",{class:"sidebar-active-toc-section-link",x:"64.748",y:"85.853",width:"47.77",height:"10.26",rx:"5.13"}),g("rect",{class:"sidebar-toc-section-link",x:"64.438",y:"105.573",width:"48.08",height:"10.26",rx:"5"}),g("rect",{class:"sidebar-toc-section-link",x:"64.438",y:"124.573",width:"48.08",height:"10.26",rx:"5.13"}),g("rect",{class:"sidebar-toc-h1-border-color",x:"-50.518",y:"-135.883",width:"2",height:"55",transform:"matrix(-1, 0, 0, -1, 0, 0)"}),g("rect",{class:"main-heading-link",x:"141.588",y:"43.623",width:"106.93",height:"21.26",rx:"4.49"}),g("rect",{class:"main-text",x:"141.518",y:"80.893",width:"162",height:"6",rx:"3"}),g("line",{class:"main-header-border-bottom",x1:"141.588",y1:"72.623",x2:"306.858",y2:"72.623"}),g("rect",{class:"main-text",x:"141.518",y:"103.893",width:"101",height:"6",rx:"3"}),g("rect",{class:"main-link",x:"245.388",y:"103.623",width:"28.13",height:"6.26",rx:"3.13"}),g("rect",{class:"main-text",x:"276.518",y:"103.623",width:"27",height:"6",rx:"3"}),g("rect",{class:"main-table-pre",x:"141.518",y:"170.893",width:"162",height:"32.424",style:""}),g("circle",{class:"main-text",cx:"144.088",cy:"136.123",r:"2"}),g("circle",{class:"main-text",cx:"144.088",cy:"160.123",r:"2"}),g("circle",{class:"main-text",cx:"144.088",cy:"148.123",r:"2"}),g("rect",{class:"main-link",x:"151.288",y:"133.063",width:"27.23",height:"6",rx:"3"}),g("rect",{class:"main-link",x:"151.288",y:"145.063",width:"27.23",height:"6",rx:"3"}),g("rect",{class:"sidebar-toc-h1-link",x:"43.638",y:"148.663",width:"58",height:"10.26",rx:"5"}),g("rect",{class:"sidebar-toc-h1-border-color",x:"-50.518",y:"-203.281",width:"1.95",height:"36.728",transform:"matrix(-1, 0, 0, -1, 0, 0)",style:""}),g("rect",{class:"sidebar-toc-section-link",x:"64.888",y:"166.803",width:"48.08",height:"10.26",rx:"5"}),g("rect",{class:"sidebar-toc-section-link",x:"64.888",y:"183.803",width:"48.08",height:"10.26",rx:"5.13"}),g("path",{class:"sidebar-toc-section-link",d:"M 65.248 203.3 C 66.2 202.04 67.796 201.283 69.504 201.283 L 107.283 201.283 C 108.94 201.285 110.459 202.119 111.424 203.317",style:""}),g("rect",{class:"main-text",x:"141.518",y:"92.893",width:"162",height:"6",rx:"3"}),g("rect",{class:"main-text",x:"141.518",y:"115.893",width:"162",height:"6",rx:"3"}),g("rect",{class:"main-link",x:"151.398",y:"157.243",width:"27.23",height:"6",rx:"3"}),g("line",{class:"sidebar-border",x1:"124.588",y1:"27.623",x2:"124.588",y2:"203.317",style:""}))}const bo=[{name:"light",label:"Light"},{name:"dark",label:"Dark"},{name:"system",label:"Sync with OS setting"}];function Ao(e){const t=Tt();if(so(),Lt((()=>kt({name:"default",mode:"light"},!1))),Nt((()=>kt({name:e.currentSubthemeName,mode:e.currentSubthemeMode},!1))),!e.settingsShown||t)return null;const o=St(e.currentSubthemeMode);return g("div",{class:"primer-spec-settings-container position-fixed top-0 left-0 width-full height-full"},g("div",{class:Pt("primer-spec-settings","container-lg","markdown-body","px-3","my-5",{"primer-spec-content-margin-extra":e.sidebarShown&&!e.isSmallScreen,"primer-spec-content-mobile":e.isSmallScreen})},g("h1",{class:"primer-spec-toc-ignore"},"Spec Theme Settings"),g("h2",null,"Colors"),g("form",{class:"primer-spec-settings-theme-preview-container",onSubmit:e=>e.preventDefault()},Object.values(lt).map((t=>g("label",{key:t.name,class:Pt("primer-spec-settings-theme-preview-box",{"primer-spec-settings-theme-preview-selected":e.currentSubthemeName===t.name})},g(go,{subtheme:t,mode:o}),g("div",{class:Pt("primer-spec-settings-theme-preview-title",{"primer-spec-settings-theme-preview-selected":e.currentSubthemeName===t.name})},g("input",{type:"radio",value:t.name,name:"primer-spec-settings-subtheme",checked:e.currentSubthemeName===t.name,onChange:t=>e.onSubthemeNameChange(t.target.value)})," ",t.label))))),g("h2",null,"Color mode"),g("form",{onSubmit:e=>e.preventDefault()},bo.map((t=>g("label",{key:t.name,class:"primer-spec-settings-theme-mode-label"},g("input",{type:"radio",value:t.name,name:"primer-spec-settings-subtheme-mode",checked:e.currentSubthemeMode===t.name,onChange:t=>e.onSubthemeModeChange(t.target.value)})," ",t.label)))),g("hr",null),g("p",null,g("small",null,"Does the spec display incorrectly? ",g("a",{href:"https://github.com/eecs485staff/primer-spec/issues"},'Let us know by adding a new "issue" here.'))),g("p",{class:"primer-spec-brand"},g("a",{href:"https://github.com/eecs485staff/primer-spec/",target:"_blank",rel:"noreferrer"},`Primer Spec v${vt.VERSION_RAW}`))))}var _o;!function(e){e.CLOSE="fas fa-times",e.HOME="fas fa-home",e.SETTINGS="fas fa-cog",e.SIDEBAR="fas fa-bars",e.EXTERNAL_LINK="fas fa-external-link-alt",e.DOWNLOAD="fas fa-file-download"}(_o||(_o={}));const wo=_o;function vo(e){return g("span",{class:"primer-spec-hoverable "+(e.floatRight?"primer-spec-hoverable-float-right":"")},e.children)}function ko(e){return g(vo,{floatRight:e.floatRight},g("a",{href:e.href??"#primer-spec-top",class:"primer-spec-hoverable no-print",onClick:e.onClick?t=>{t.preventDefault(),e.onClick&&e.onClick()}:void 0,"aria-label":e.ariaLabel},g("i",{class:e.icon})))}function yo(e){return g(vo,{floatRight:e.floatRight},g("button",{class:"btn-link primer-spec-hoverable no-print",onClick:e.onClick?t=>{t.preventDefault(),e.onClick&&e.onClick()}:void 0,"aria-label":e.ariaLabel},g("i",{class:e.icon})))}function Eo(e){return g(vo,{floatRight:e.floatRight},g("a",{class:"btn-link primer-spec-hoverable no-print tooltipped tooltipped-no-delay tooltipped-w",role:"button",href:e.href,onClick:t=>{t.preventDefault(),function(e){const{url:t,download:o}=e;try{!function(e){if(!e.startsWith("https://")&&!e.startsWith("/"))throw new Error(`Expected HTTPS external link, received: ${e}`)}(t)}catch(e){return void console.error("Blocking attempt to open external link. Error:",e)}const r=document.createElement("a");r.href=t,null!=o&&!1!==o&&(r.download="boolean"==typeof o?"":o),r.style.display="none",document.body.appendChild(r),r.click(),setTimeout((()=>{document.body.removeChild(r)}),2e3)}({url:e.href,download:e.download})},"aria-label":e.ariaLabel},g("i",{class:e.icon})))}function So(e){const t=e.tagName.match(/^H(\d+)$/i);if(null==t)throw new Error(`Primer Spec: Unexpected heading tagname while attempting to extract heading level: ${e.tagName}`);return parseInt(t[1],10)}const xo=1;function Co(e){const t=function(e){return 1===e.length&&1===e[0].headingLevel?e[0].section:e}(e),o=function(e){return e.reduce(((e,t)=>null==e||t.headingLevel{let o=e.headingLevel-t;return o{let e=!1;const t=()=>{e||(window.requestAnimationFrame((()=>{o(window.scrollY),e=!1})),e=!0)};return window.addEventListener("scroll",t,{passive:!0}),()=>{window.removeEventListener("scroll",t)}}),[]);const r=function(e,t){const o=document.body.querySelector(e);if(!o)throw new Error(`Primer Spec: TableOfContents: Main content node could not be found with selector: ${e}`);const r=[...o.querySelectorAll("h1, h2, h3, h4, h5, h6")].filter((e=>!e.classList.contains("primer-spec-toc-ignore")));let n=r.length-1;for(let e=0;e0){n=e-1;break}return function(e,t){const o=Co(function(e,t=-1){if(!e.length)return[];const o=[];let r=1,n={heading:e[0],headingLevel:So(e[0]),active:0===t,section:[]};const i=[];for(;rn.heading.tagName?(n.section.push(c),i.push(n),n=c,++r):i.length?n=i.pop():(o.push(n),n=c,++r)}return i.length?o.push(i[0]):o.push(n),o}(e,t));return g("ul",{class:"primer-spec-toc-list"},o.map((e=>No(e))))}(r,n)}(e.contentNodeSelector,e.activeSectionOffsetY);return g("nav",{class:"primer-spec-toc","aria-label":"Page contents"},g("div",{role:"presentation",onClick:()=>{e.isSmallScreen&&e.sidebarShown&&e.onToggleSidebar(),e.settingsShown&&e.onToggleSettings()}},r))}function No(e){const t=e.heading,o=function(e){if(e.id&&Io[e.id])return Io[e.id];let t=null;try{const o=[];e.childNodes.forEach((e=>{switch(e.nodeType){case Node.TEXT_NODE:o.push(g(A,null,e.nodeValue));break;case Node.ELEMENT_NODE:if(!(e instanceof HTMLElement))throw new Error("getHeadingLabel expected HTML Element");if("CODE"===e.tagName||"TT"===e.tagName)o.push(g("code",{class:[...e.classList].join(" ")},e.innerText));else if("ABBR"===e.tagName)o.push(g(A,null,e.innerText));else{if("A"===e.tagName&&e.classList.contains("anchorjs-link"))return;o.push(g("span",{dangerouslySetInnerHTML:{__html:e.outerHTML}}))}}})),t=g(A,null,o)}catch(o){console.error("Primer Spec ToC: Errored while building heading label for heading",e),t=g(A,null,e.innerText)}return e.id&&(Io[e.id]=t),t}(t);return g("li",null,g("div",{class:Pt(`primer-spec-toc-item primer-spec-toc-h${e.headingLevel}`,{"primer-spec-toc-active":e.active})},g("a",{href:Mo(t)},o)),g("ul",{class:"primer-spec-toc-section primer-spec-toc-list"},e.section.map((e=>No(e)))))}function Mo(e){const t=e.querySelector("a.anchorjs-link");return t?t.getAttribute("href")||"#":(console.error("Primer Spec: getAnchorLink expected heading to contain anchor while populating table of contents."),"#")}const Io={};function Po(e){if(null==e.sitemap)return g("div",{role:"presentation",onClick:()=>!0},e.children);const t=e.sitemap.rootPage.current;return g(A,null,g(Oo,{sitemap:e.sitemap},t?void 0:e.children),g("hr",null),g(Do,{page:e.sitemap.rootPage,dedent:!0},t?e.children:void 0))}function Oo(e){const t=null==vt.SITEMAP_LABEL,o=g(A,null,e.sitemap.siteUrls.map((o=>g(Do,{key:o.url,page:o,dedent:t},o.current?e.children:void 0))));return t?o:g("details",{role:"navigation","aria-label":vt.SITEMAP_LABEL??"Sitemap",open:!e.sitemap.rootPage.current||void 0},g("summary",null,vt.SITEMAP_LABEL),o)}function Do(e){const t=e.page.title||e.page.path&&function(e){const t=(e=function(e){const t=e.split("/");return t[t.length-1]}(e)).lastIndexOf(".");return-1!==t&&(e=e.slice(0,t)),(e=e.replace(/[-_]/g," ")).replace(/\w\S*/g,(e=>e.charAt(0).toUpperCase()+e.substr(1).toLowerCase()))}(e.page.path);return t||console.error(`Primer Spec: Page with URL ${e.page.url} has no title to display in sidebar`),e.page.current?g("details",{open:!0,class:e.dedent?"left-space-fix":"primer-spec-toc-sitemap-item"},g("summary",{class:"left-space-fix primer-spec-toc-active"},t),e.children):g("a",{href:e.page.url,tabIndex:-1},g("details",{class:e.dedent?"":"primer-spec-toc-sitemap-item"},g("summary",{class:e.page.external?"primer-spec-toc-sitemap-external":"","data-order":e.page.external?"":e.page.sitemapOrder??"",role:"link",tabIndex:0,onClick:t=>{t.preventDefault(),window.location.href=e.page.url}},t,e.page.external&&g(A,null,g("i",{class:wo.EXTERNAL_LINK}),g("span",{class:"sr-only"},"External Link")))))}const Ro=250,Bo=650,$o="primer_spec_sidebar_width_delta";let Ho;function Uo({sidebarRef:e}){const t=ee(null),o=ee({startCursorScreenX:null,startSidebarWidth:null,startMainContentMargin:null}),[r,n]=X(null),i=oe(((o,r,n)=>{if(null!=r&&null!=n){let i=Math.max(Ro,r+o);i=Math.min(i,Bo);const l=n+(i-r);e.current&&t.current&&(e.current.style.width=`${i}px`,t.current.style.left=`${i}px`,jo().forEach((e=>{e.style.marginLeft=`${l}px`})))}}),[e,t]);return J((()=>{Ho=Fo(e);const t=function(){const e=parseInt(st.getForPage($o)??"",10);return Number.isNaN(e)?null:e}();null!=t&&i(t,Ho,Yo())}),[]),Z((()=>{const t=e=>{const{startCursorScreenX:t,startSidebarWidth:r,startMainContentMargin:n}=o.current;if(t){const o=e.screenX-t;i(o,r,n)}},r=()=>{const t=Yo();null!=t&&n(t);const r=parseInt(e.current?.style.width??"",10);var i;i=Number.isNaN(r)?null:r-(Ho??0),st.setForPage($o,i??""),o.current={startCursorScreenX:null,startSidebarWidth:null,startMainContentMargin:null}};return document.addEventListener("mousemove",t,{passive:!0}),document.addEventListener("mouseup",r,{passive:!0}),()=>{document.removeEventListener("mousemove",t),document.removeEventListener("mouseup",r)}}),[e,t,i,n]),g("div",{ref:t,class:"primer-spec-sidebar-resize-handle position-fixed top-0",tabIndex:-1,"aria-hidden":"true",onMouseDown:t=>{t.preventDefault(),t.stopPropagation(),o.current={startCursorScreenX:t.screenX,startSidebarWidth:Fo(e),startMainContentMargin:Yo()}}},r?g("style",null,".primer-spec-content-margin-extra {",` margin-left: ${r}px`,"}"):null)}function Fo(e){return e.current?.offsetWidth??null}function jo(){const e=document.querySelectorAll(".primer-spec-content-margin-extra");if(e.length<=0)throw new Error("Primer Spec: While resizing sidebar, expected at least one main content node.");return e}function Yo(){const e=jo(),t=e?window.getComputedStyle(e[0]).getPropertyValue("margin-left"):null;return t?.match(/^\d+px$/)?parseInt(t,10):null}const zo="primer_spec_sidebar_scroll_position";function Go(e){const{isSmallScreen:t,sidebarShown:o,onToggleSidebar:r}=e,n=Tt(),i=ee(null),l=te((()=>function(e){if(!e)return null;const t=vt.SITEMAP_URLS.filter((e=>!e.path?.startsWith("assets")));if(0===t.length)return null;const o=t.findIndex((e=>/^(index|readme)\.(md|htm|html)$/.test(e.path?.toLowerCase()||"")));if(-1===o)return console.warn("PrimerSpec: processSitemapURLs: Expected to find a root page. Disabling sitemap."),null;const[r]=t.splice(o,1);return r.title=vt.SITEMAP_SITE_TITLE,t.sort(((e,t)=>e.external&&t.external?0:e.external?1:t.external?-1:(e.sitemapOrder??Number.MAX_VALUE)-(t.sitemapOrder??Number.MAX_VALUE))),{rootPage:r,siteUrls:t}}(e.sitemapEnabled)),[e.sitemapEnabled]),c=oe((()=>{i?.current&&Wo(i.current.scrollTop),r()}),[r]);return Z((()=>{const e=e=>{const t=e?.target;t&&!t.matches(".primer-spec-sidebar, .primer-spec-sidebar *")&&document.body.contains(t)&&o&&c()};return t&&window.addEventListener("click",e),()=>{window.removeEventListener("click",e)}}),[t,o,c]),J((()=>{const e=function(){const e=parseInt(st.getForPage(zo)||"",10);return Number.isNaN(e)?null:e}();e&&i?.current&&(i.current.scrollTop=e,Wo(null))})),!e.sidebarShown||n?g("div",null):g(A,null,g("aside",{ref:i,class:"primer-spec-sidebar position-fixed top-0 py-5 no-print","aria-label":"Contents Sidebar",tabIndex:-1},g("h2",{class:"primer-spec-toc-ignore",id:"primer-spec-toc-contents"},null==l?void 0:g(A,null,g(ko,{icon:wo.HOME,href:l.rootPage.url,ariaLabel:l.rootPage.title||"Home"})," "),"Contents",g(yo,{icon:wo.SIDEBAR,floatRight:!0,onClick:c,ariaLabel:"Close navigation pane"})),g("br",null),g(Po,{sitemap:l},g(Lo,{contentNodeSelector:e.contentNodeSelector,isSmallScreen:e.isSmallScreen,sidebarShown:e.sidebarShown,settingsShown:e.settingsShown,activeSectionOffsetY:e.activeSectionOffsetY,onToggleSidebar:c,onToggleSettings:e.onToggleSettings}))),t?null:g(Uo,{sidebarRef:i}))}function Wo(e){st.setForPage(zo,`${e}`)}const qo="primer-spec-settings-toggle",Ko="primer-spec-topbar-button";function Qo(e){const t=ee(null),{isSmallScreen:o,onActiveSectionOffsetChange:r}=e;J((()=>{o?t.current&&r(t.current.getBoundingClientRect().height):r(20)}),[o,r]);let n=null;e.showSidebarToggle&&(n=e.sidebarShown?null:g("div",{class:"primer-spec-topbar-button primer-spec-float-left"},g(yo,{icon:wo.SIDEBAR,onClick:e.onToggleSidebar,ariaLabel:"Open navigation pane"})));let i=null;if(null!=vt.PDF_PATH&&(!e.isSmallScreen||e.isSmallScreen&&e.settingsShown)){const e=vt.SITE_QUALIFIED_BASE_URL+vt.PDF_PATH;i=g("div",{class:Ko},g(Eo,{icon:wo.DOWNLOAD,href:e,download:!0,ariaLabel:"Download this page as a PDF file"}))}let l=null;return e.showSettingsToggle&&(l=g("div",{id:qo,class:Ko},g(yo,{icon:e.settingsShown?wo.CLOSE:wo.SETTINGS,onClick:e.onToggleSettings,ariaLabel:e.settingsShown?"Close settings pane":"Open settings pane"}))),g("header",{ref:t,class:Pt("primer-spec-topbar","position-fixed","width-full","top-0","left-0","py-2","no-print",{"primer-spec-topbar-mobile":e.isSmallScreen,"primer-spec-topbar-settings-shown":e.settingsShown})},n,g("div",{class:"primer-spec-float-right"},i,l))}let Vo=null;function Xo(e){const t=function(){const[e,t]=X(Mt());return J((()=>{const o=()=>{const o=Mt();o!==e&&t(o)};return window.addEventListener("resize",o),()=>{window.removeEventListener("resize",o)}}),[e]),e}(),[o,n]=X(!vt.HIDE_SIDEBAR_ON_LOAD&&!t),[i,l]=X(!1),[c,a]=X(vt.DEFAULT_ACTIVE_SECTION_OFFSET_Y),[s,d]=X(vt.INIT_SUBTHEME_NAME),[u,h]=X(vt.INIT_SUBTHEME_MODE),[p,m]=X(vt.INIT_SITEMAP_ENABLED),f=!i,b=()=>{st.setForPage("sidebar_hidden",o.toString()),n(!o)},_=()=>{f&&(Vo={top:window.scrollY,left:window.scrollX}),l(!i)},w=e=>{kt(e),d(yt()),h(Et())};Lt(oe((()=>{Zo(!1)}),[])),Nt(oe((()=>{Zo(!0)}),[])),Z((()=>{window.Debug=Object.freeze({toggleSitemap:()=>m(!p)})}),[p]),Z((()=>{r.e(249).then(r.bind(r,249)).then((({executePlugins:e})=>{e({is_small_screen:t,sidebar_shown:o,settings_shown:i,subtheme_name:s,subtheme_mode:St(u)})}))}),[t,o,i,s,u]);const v=vt.DISABLE_SIDEBAR?null:g(Go,{contentNodeSelector:`#${vt.PRIMER_SPEC_CONTENT_PREACT_NODE_ID}`,isSmallScreen:t,sidebarShown:o,settingsShown:i,activeSectionOffsetY:c,sitemapEnabled:p,onToggleSidebar:b,onToggleSettings:_});return g(A,null,g(Qo,{isSmallScreen:t,showSidebarToggle:!vt.DISABLE_SIDEBAR,showSettingsToggle:!0,sidebarShown:o,settingsShown:i,onActiveSectionOffsetChange:a,onToggleSidebar:b,onToggleSettings:_}),g(uo,{innerHTML:e.contentHTML,visible:f,scrollToPosition:f?Vo:null,isSmallScreen:t,sidebarShown:o,currentSubthemeName:s,currentSubthemeMode:u}),v,g(Ao,{isSmallScreen:t,sidebarShown:o,settingsShown:i,currentSubthemeName:s,currentSubthemeMode:u,onSubthemeNameChange:e=>w({name:e}),onSubthemeModeChange:e=>w({mode:e})}),g(fo,null))}function Zo(e){const t=function(){const e=navigator.userAgent.match(/Chrom(e|ium)\/([0-9]+)\./);return!!e&&parseInt(e[2],10)}();if(!1===t||t>=82)return;const o=e?"italic":"inherit",r=document.querySelectorAll("em, dfn, .text-italic, dt, .highlight .cm, .highlight .c1, .highlight .cs, .highlight .cd, .highlight .ge, .primer-spec-toc-h4");Array.from(r).map((e=>{e.style.fontStyle=o}))}!function(){const o=new(s());o.add("h1"),o.add();const r=document.getElementById(vt.PRIMER_SPEC_CONTENT_PLUGIN_NODE_ID),n=document.getElementById(vt.PRIMER_SPEC_APP_NODE_ID);if(!r||"DIV"!==r.tagName||!n||"DIV"!==n.tagName)throw new Error("Primer Spec: This page included the Primer Spec plugin script, but was not compatible with the plugin!");const i=r.innerHTML;r.remove(),function(e,t,o){const r=document.createElement("link");r.rel="stylesheet",r.href="https://use.fontawesome.com/releases/v5.7.2/css/all.css",t&&(r.integrity=t),o&&(r.crossOrigin=o),document.head.appendChild(r)}(0,"sha384-fnmOCqbTlWIlj8LyTjo7mOUStjsKC4pOpQbqyi7RrhN7udi9RwhKkMHpvLbHG9Sr","anonymous"),kt({name:vt.INIT_SUBTHEME_NAME,mode:vt.INIT_SUBTHEME_MODE},!1),window.matchMedia("(prefers-color-scheme: dark)").addListener((()=>kt())),function(o,r,n){var i,l,c,a;t.__&&t.__(o,r),l=(i="function"==typeof n)?null:n&&n.__k||r.__k,c=[],a=[],I(r,o=(!i&&n||r).__k=g(A,null,[o]),l||d,d,void 0!==r.ownerSVGElement,!i&&n?[n]:l?null:r.firstChild?e.call(r.childNodes):null,c,!i&&n?n:l?l.__e:r.firstChild,i,a),P(c,o,a)}(g(Xo,{contentHTML:i}),n),console.info("\nThis page is formatted using %cPrimer Spec.%c\n\nWould you like to contribute to the theme? Check out:\nhttps://github.com/eecs485staff/primer-spec\n","font-weight: bolder;","")}()})()})(); //# sourceMappingURL=primer_spec_plugin.min.js.map \ No newline at end of file