PageSourceSearch

https://www.digitalpublicgoods.net/_next/static/immutable/chunks/32faoypmriis2.js

js digitalpublicgoods.net collected 2026-10-01 08:56:37 UTC 24,823 bytes, 41 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,46928,e=>{"use strict";var t=e.i(43476),i=e.i(68877),n=e.i(82022),l=e.i(22016),r=e.i(72556);let s={default:"text-dpga-gray-900 hover:text-dpga-purple-500 underline underline-offset-2",defaultInverse:"text-dpga-purple-500 hover:text-dpga-gray-900 underline underline-offset-2",purple:"text-dpga-purple-700 hover:text-dpga-gray-900 underline underline-offset-2",purpleInverse:"text-dpga-gray-900 hover:text-dpga-purple-700 underline underline-offset-2",purpleAccent:"text-dpga-purple-600 hover:text-dpga-gray-900 underline underline-offset-2",purpleOnDark:"text-dpga-purple-300 hover:text-dpga-purple-100 underline underline-offset-2",cyan:"text-dpga-cyan-600 hover:text-dpga-cyan-500 underline underline-offset-2",subtle:"text-dpga-gray-500 hover:text-dpga-gray-800 hover:underline underline-offset-2",cyanOnDark:"text-dpga-cyan-300 hover:text-dpga-cyan-50 underline underline-offset-2",inverse:"text-white hover:text-dpga-gray-100 underline underline-offset-2"};e.s(["DpgaLink",0,function({href:e,children:a,variant:o="default",external:d,arrow:u,className:h}){let c=d??(e.startsWith("http://")||e.startsWith("https://"));return(0,t.jsxs)(l.default,{href:e,className:(0,r.cn)("inline transition-colors",s[o],h),...c?{target:"_blank",rel:"noopener noreferrer"}:{},children:[a,u&&(0,t.jsx)(i.ArrowRight,{"aria-hidden":"true",className:"inline-block h-4 w-4 shrink-0 pl-0.5"}),c&&(0,t.jsx)(n.ExternalLink,{"aria-hidden":"true",className:"inline-block h-3.5 w-3.5 shrink-0 pl-0.5 pb-0.5"})]})}])},5224,e=>{"use strict";var t=e.i(43476),i=e.i(91736);e.s(["BodyBase",0,function({children:e,variant:n="light",color:l="default",lineHeight:r="default",className:s="",as:a="p"}){return(0,t.jsx)(a,{className:`
2        font-sans
3        text-base
4        tracking-[0]
5        ${(0,i.getParagraphWeightClass)(n)}
6        ${"relaxed"===r?"leading-relaxed":"compact"===r?"leading-[100%]":"leading-[140%]"}
7        ${i.paragraphColorClasses[l]}
8        ${s}
9      `,children:e})},"BodyBig",0,function({children:e,variant:n="light",color:l="default",className:r="",as:s="p"}){return(0,t.jsx)(s,{className:`
10        font-sans
11        text-2xl
12        leading-[120%]
13        tracking-[0]
14        ${(0,i.getParagraphWeightClass)(n)}
15        ${i.paragraphColorClasses[l]}
16        ${r}
17      `,children:e})},"BodyLarge",0,function({children:e,variant:n="light",color:l="default",lineHeight:r="default",className:s="",as:a="p"}){return(0,t.jsx)(a,{className:`
18        font-sans
19        text-lg
20        ${"relaxed"===r?"leading-relaxed":"leading-[140%]"}
21        tracking-[0]
22        ${(0,i.getParagraphWeightClass)(n)}
23        ${i.paragraphColorClasses[l]}
24        ${s}
25      `,children:e})},"BodyLarger",0,function({children:e,variant:n="light",color:l="default",lineHeight:r="default",className:s="",as:a="p"}){return(0,t.jsx)(a,{className:`
26        font-sans
27        text-xl
28        tracking-[0]
29        ${(0,i.getParagraphWeightClass)(n)}
30        ${"relaxed"===r?"leading-relaxed":"bold"===n&&"compact"===r?"leading-[100%]":"leading-[140%]"}
31        ${i.paragraphColorClasses[l]}
32        ${s}
33      `,children:e})},"BodySmall",0,function({children:e,variant:n="light",color:l="default",className:r="",as:s="p"}){return(0,t.jsx)(s,{className:`
34        font-sans
35        text-sm
36        leading-[120%]
37        tracking-[0]
38        ${(0,i.getParagraphWeightClass)(n)}
39        ${i.paragraphColorClasses[l]}
40        ${r}
41      `,children:e})}])},91736,e=>{"use strict";e.s(["getHeadingWeightClass",0,function(e){switch(e){case"light":return"font-light";case"bold":return"font-bold";case"uppercase":return"font-medium uppercase";default:return"font-medium"}},"getParagraphWeightClass",0,function(e){switch(e){case"regular":return"font-normal";case"medium":return"font-medium";case"semibold":return"font-semibold";case"bold":return"font-bold";default:return"font-light"}},"headingColorClasses",0,{default:"text-dpga-gray-900",violet:"text-dpga-violet-50",purple:"text-dpga-purple-50",cyan:"text-dpga-cyan-50",white:"text-white",gray:"text-dpga-gray","purple-500":"text-dpga-purple-500","cyan-500":"text-dpga-cyan-500","violet-50":"text-dpga-violet-50","cyan-400":"text-dpga-cyan-400",none:""},"paragraphColorClasses",0,{default:"text-dpga-gray-700",cyan:"text-dpga-cyan-500",violet:"text-dpga-violet-500","purple-50":"text-dpga-purple-50","violet-50":"text-dpga-violet-50",white:"text-white","purple-400":"text-dpga-purple-400",gray:"text-dpga-gray","cyan-50":"text-dpga-cyan-50","cyan-400":"text-dpga-cyan-400","gray-700":"text-dpga-gray-700","gray-900":"text-dpga-gray-900"}])},9522,e=>{"use strict";var t=e.i(43476),i=e.i(67927),n=e.i(22016);e.s(["default",0,({items:e,className:l=""})=>(0,t.jsx)("nav",{className:`bg-dpga-violet-900 ${l}`,children:(0,t.jsx)("div",{className:"max-w-7xl mx-auto px-4 lg:px-8 py-3",children:(0,t.jsx)("ol",{className:"flex items-center space-x-2 text-sm",children:e.map((l,r)=>{let s=r===e.length-1;return(0,t.jsxs)("li",{className:"flex items-center",children:[r>0&&(0,t.jsx)(i.ChevronRight,{className:"text-dpga-purple-400 mx-2",size:16}),l.href&&!s?(0,t.jsxs)(n.default,{href:l.href,className:"text-dpga-cyan-400 hover:text-dpga-cyan-300 hover:underline transition-colors flex items-center gap-1",children:[l.icon,l.label]}):(0,t.jsxs)("span",{className:`flex items-center gap-1 ${s?"text-dpga-violet-50 font-medium":"text-dpga-violet-50"}`,children:[l.icon,l.label]})]},r)})})})})])},45463,e=>{"use strict";var t=e.i(43476),i=e.i(72556);e.s(["PageHero",0,function({left:e,children:n,right:l,actions:r,feature:s,className:a,style:o,id:d,centered:u=!1,wide:h=!1}){let c=e??n;return(0,t.jsxs)("div",{id:d,className:(0,i.cn)("bg-dpga-violet-900",a),style:o,children:[(0,t.jsxs)("div",{className:"max-w-7xl mx-auto *:text-dpga-violet-50 lg:pt-12 pt-12 px-4 lg:px-8",children:[u?(0,t.jsx)("div",{className:"text-center max-w-5xl mx-auto",children:c}):(0,t.jsxs)("div",{className:"text-left flex max-md:flex-wrap gap-4",children:[(0,t.jsx)("div",{className:(0,i.cn)(h?"w-full":"w-4/6","max-md:w-full"),children:c}),l&&(0,t.jsx)("div",{className:"flex flex-1 gap-x-4 justify-center mb-4 md:mb-0",children:l})]}),r&&(0,t.jsx)("div",{className:"flex flex-wrap gap-x-4 gap-y-2 pb-6 pt-2",children:r})]}),s&&(0,t.jsx)("div",{className:"max-w-7xl mx-auto px-4 lg:px-8 pb-10 lg:pb-14",children:s})]})}])},68877,e=>{"use strict";var t=e.i(56420);
41let i={name:"arrow-right",size:24,node:[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]};i.node;let n=(0,t.default)(i);e.s(["ArrowRight",0,n],68877)},67927,e=>{"use strict";var t=e.i(56420);let i={name:"chevron-right",size:24,node:[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]};i.node;let n=(0,t.default)(i);e.s(["ChevronRight",0,n],67927)},82022,e=>{"use strict";var t=e.i(56420);let i={name:"external-link",size:24,node:[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]]};i.node;let n=(0,t.default)(i);e.s(["ExternalLink",0,n],82022)},18635,e=>{"use strict";var t=e.i(56420);let i={name:"house",size:24,node:[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"r6nss1"}]],aliases:["home"]};i.node;let n=(0,t.default)(i);e.s(["House",0,n],18635)},94909,(e,t,i)=>{"use strict";e.i(47167),Object.defineProperty(i,"__esModule",{value:!0});var n={default:function(){return u},getImageProps:function(){return d}};for(var l in n)Object.defineProperty(i,l,{enumerable:!0,get:n[l]});let r=e.r(55682),s=e.r(8927),a=e.r(5500),o=r._(e.r(1948));function d(e){let{props:t}=(0,s.getImgProps)(e,{defaultLoader:o.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],qualities:[75],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!0}});for(let[e,i]of Object.entries(t))void 0===i&&delete t[e];return{props:t}}let u=a.Image},14080,(e,t,i)=>{t.exports=e.r(94909)},88386,e=>{"use strict";var t=e.i(23316),i=e.i(78278),n=e.i(59775),l=e.i(2129),r=e.i(71356),s=e.i(75975),a=e.i(71645);let o=(0,a.createContext)({});class d extends n.CollectionNode{static{this.type="separator"}filter(e,t){let i=t.getItem(this.prevKey);if(i&&"separator"!==i.type){let i=this.clone();return t.addDescendants(i,e),i}return null}}let u=(0,l.createLeafComponent)(d,function(e,n){[e,n]=(0,t.useContextProps)(e,n,o);let{elementType:l,orientation:d,style:u,className:h,slot:c,...p}=e,f=l||"hr";"hr"===f&&"vertical"===d&&(f="div");let g=t.dom[f],{separatorProps:y}=(0,i.useSeparator)({...p,elementType:l,orientation:d}),x=(0,r.filterDOMProps)(e,{global:!0});return a.default.createElement(g,{render:e.render,...(0,s.mergeProps)(x,y),style:u,className:h??"react-aria-Separator",ref:n,slot:c||void 0})});e.s(["Separator",0,u,"SeparatorContext",0,o])},78278,e=>{"use strict";var t=e.i(71356);e.s(["useSeparator",0,function(e){let i,n=(0,t.filterDOMProps)(e,{labelable:!0});return("vertical"===e.orientation&&(i="vertical"),"hr"!==e.elementType)?{separatorProps:{...n,role:"separator","aria-orientation":i}}:{separatorProps:n}}])},55838,(e,t,i)=>{"use strict";var n=e.r(71645),l="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},r=n.useState,s=n.useEffect,a=n.useLayoutEffect,o=n.useDebugValue;function d(e){var t=e.getSnapshot;e=e.value;try{var i=t();return!l(e,i)}catch(e){return!0}}var u="u"<typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var i=t(),n=r({inst:{value:i,getSnapshot:t}}),l=n[0].inst,u=n[1];return a(function(){l.value=i,l.getSnapshot=t,d(l)&&u({inst:l})},[e,i,t]),s(function(){return d(l)&&u({inst:l}),e(function(){d(l)&&u({inst:l})})},[e]),o(i),i};i.useSyncExternalStore=void 0!==n.useSyncExternalStore?n.useSyncExternalStore:u},2239,(e,t,i)=>{"use strict";e.i(47167),t.exports=e.r(55838)},2129,59775,7426,e=>{"use strict";class t{constructor(e){this.value=null,this.level=0,this.hasChildNodes=!1,this.rendered=null,this.textValue="",this["aria-label"]=void 0,this.index=0,this.parentKey=null,this.prevKey=null,this.nextKey=null,this.firstChildKey=null,this.lastChildKey=null,this.props={},this.colSpan=null,this.colIndex=null,this.type=this.constructor.type,this.key=e}get childNodes(){throw Error("childNodes is not supported")}clone(){let e=new this.constructor(this.key);return e.value=this.value,e.level=this.level,e.hasChildNodes=this.hasChildNodes,e.rendered=this.rendered,e.textValue=this.textValue,e["aria-label"]=this["aria-label"],e.index=this.index,e.parentKey=this.parentKey,e.prevKey=this.prevKey,e.nextKey=this.nextKey,e.firstChildKey=this.firstChildKey,e.lastChildKey=this.lastChildKey,e.props=this.props,e.render=this.render,e.colSpan=this.colSpan,e.colIndex=this.colIndex,e}filter(e,t,i){let n=this.clone();return t.addDescendants(n,e),n}}
41class i extends t{filter(e,t,i){let[n,l]=o(e,t,this.firstChildKey,i),r=this.clone();return r.firstChildKey=n,r.lastChildKey=l,r}}class n extends t{static{this.type="header"}}class l extends t{static{this.type="loader"}}class r extends i{static{this.type="item"}filter(e,t,i){if(i(this.textValue,this)){let i=this.clone();return t.addDescendants(i,e),i}return null}}class s extends i{static{this.type="section"}filter(e,t,i){let n=super.filter(e,t,i);if(n&&null!==n.lastChildKey){let t=e.getItem(n.lastChildKey);if(t&&"header"!==t.type)return n}return null}}class a{get size(){return this.itemCount}getKeys(){return this.keyMap.keys()}*[Symbol.iterator](){let e=null!=this.firstKey?this.keyMap.get(this.firstKey):void 0;for(;e;)yield e,e=null!=e.nextKey?this.keyMap.get(e.nextKey):void 0}getChildren(e){let t=this.keyMap;return{*[Symbol.iterator](){let i=t.get(e),n=i?.firstChildKey!=null?t.get(i.firstChildKey):null;for(;n;)yield n,n=null!=n.nextKey?t.get(n.nextKey):void 0}}}getKeyBefore(e){let t=this.keyMap.get(e);if(!t)return null;if(null!=t.prevKey){for(t=this.keyMap.get(t.prevKey);t&&"item"!==t.type&&null!=t.lastChildKey;)t=this.keyMap.get(t.lastChildKey);return t?.key??null}return t.parentKey}getKeyAfter(e){let t=this.keyMap.get(e);if(!t)return null;if("item"!==t.type&&null!=t.firstChildKey)return t.firstChildKey;for(;t;){if(null!=t.nextKey)return t.nextKey;if(null!=t.parentKey)t=this.keyMap.get(t.parentKey);else break}return null}getFirstKey(){return this.firstKey}getLastKey(){let e=null!=this.lastKey?this.keyMap.get(this.lastKey):null;for(;e?.lastChildKey!=null;)e=this.keyMap.get(e.lastChildKey);return e?.key??null}getItem(e){return this.keyMap.get(e)??null}at(){throw Error("Not implemented")}clone(){let e=new this.constructor;return e.keyMap=new Map(this.keyMap),e.firstKey=this.firstKey,e.lastKey=this.lastKey,e.itemCount=this.itemCount,e}addNode(e){if(this.frozen)throw Error("Cannot add a node to a frozen collection");"item"===e.type&&null==this.keyMap.get(e.key)&&this.itemCount++,this.keyMap.set(e.key,e)}addDescendants(e,t){for(let i of(this.addNode(e),t.getChildren(e.key)))this.addDescendants(i,t)}removeNode(e){if(this.frozen)throw Error("Cannot remove a node to a frozen collection");let t=this.keyMap.get(e);null!=t&&"item"===t.type&&this.itemCount--,this.keyMap.delete(e)}commit(e,t,i=!1){if(this.frozen)throw Error("Cannot commit a frozen collection");this.firstKey=e,this.lastKey=t,this.frozen=!i}filter(e){let t=new this.constructor,[i,n]=o(this,t,this.firstKey,e);return t?.commit(i,n),t}constructor(){this.keyMap=new Map,this.firstKey=null,this.lastKey=null,this.frozen=!1,this.itemCount=0}}function o(e,t,i,n){if(null==i)return[null,null];let l=null,r=null,s=e.getItem(i);for(;null!=s;){let i=s.filter(e,t,n);null!=i&&(i.nextKey=null,r&&(i.prevKey=r.key,r.nextKey=i.key),null==l&&(l=i),t.addNode(i),r=i),s=null!=s.nextKey?e.getItem(s.nextKey):null}if(r&&"separator"===r.type){let e=r.prevKey;t.removeNode(r.key),null!=e?(r=t.getItem(e)).nextKey=null:r=null}return[l?.key??null,r?.key??null]}e.s(["BaseCollection",0,a,"CollectionNode",0,t,"HeaderNode",0,n,"ItemNode",0,r,"LoaderNode",0,l,"SectionNode",0,s],59775);class d{constructor(e){this._firstChild=null,this._lastChild=null,this._previousSibling=null,this._nextSibling=null,this._parentNode=null,this._minInvalidChildIndex=null,this.ownerDocument=e}*[Symbol.iterator](){let e=this.firstChild;for(;e;)yield e,e=e.nextSibling}get firstChild(){return this._firstChild}set firstChild(e){this._firstChild=e,this.ownerDocument.markDirty(this)}get lastChild(){return this._lastChild}set lastChild(e){this._lastChild=e,this.ownerDocument.markDirty(this)}get previousSibling(){return this._previousSibling}set previousSibling(e){this._previousSibling=e,this.ownerDocument.markDirty(this)}get nextSibling(){return this._nextSibling}set nextSibling(e){this._nextSibling=e,this.ownerDocument.markDirty(this)}get parentNode(){return this._parentNode}set parentNode(e){this._parentNode=e,this.ownerDocument.markDirty(this)}get isConnected(){return this.parentNode?.isConnected||!1}invalidateChildIndices(e){(null==this._minInvalidChildIndex||!this._minInvalidChildIndex.isConnected||e.index<this._minInvalidChildIndex.index)&&(this._minInvalidChildIndex=e,this.ownerDocument.markDirty(this))}updateChildIndices(){let e=this._minInvalidChildIndex;for(;e;)e.index=e.previousSibling?e.previousSibling.index+1:0,e=e.nextSibling;this._minInvalidChildIndex=null}appendChild(e){e.parentNode&&e.parentNode.removeChild(e),null==this.firstChild&&(this.firstChild=e),this.lastChild?(this.lastChild.nextSibling=e,e.index=this.lastChild.index+1,e.previousSibling=this.lastChild):(e.previousSibling=null,e.index=0),e.parentNode=this,e.nextSibling=null,this.lastChild=e,this.ownerDocument.markDirty(this),this.isConnected&&this.ownerDocument.queueUpdate()}insertBefore(e,t){if(null==t)return this.appendChild(e);e.parentNode&&e.parentNode.removeChild(e),e.nextSibling=t,e.previousSibling=t.previousSibling,e.index=t.index-1,this.firstChild===t?this.firstChild=e
41:t.previousSibling&&(t.previousSibling.nextSibling=e),t.previousSibling=e,e.parentNode=t.parentNode,this.invalidateChildIndices(e),this.isConnected&&this.ownerDocument.queueUpdate()}removeChild(e){e.parentNode===this&&(this._minInvalidChildIndex===e&&(this._minInvalidChildIndex=null),e.nextSibling&&(this.invalidateChildIndices(e.nextSibling),e.nextSibling.previousSibling=e.previousSibling),e.previousSibling&&(e.previousSibling.nextSibling=e.nextSibling),this.firstChild===e&&(this.firstChild=e.nextSibling),this.lastChild===e&&(this.lastChild=e.previousSibling),e.parentNode=null,e.nextSibling=null,e.previousSibling=null,e.index=0,this.ownerDocument.markDirty(e),this.isConnected&&this.ownerDocument.queueUpdate())}addEventListener(){}removeEventListener(){}get previousVisibleSibling(){let e=this.previousSibling;for(;e&&e.isHidden;)e=e.previousSibling;return e}get nextVisibleSibling(){let e=this.nextSibling;for(;e&&e.isHidden;)e=e.nextSibling;return e}get firstVisibleChild(){let e=this.firstChild;for(;e&&e.isHidden;)e=e.nextSibling;return e}get lastVisibleChild(){let e=this.lastChild;for(;e&&e.isHidden;)e=e.previousSibling;return e}}class u extends d{constructor(e,t){super(t),this.nodeType=8,this.isMutated=!0,this._index=0,this.isHidden=!1,this.node=null}get index(){return this._index}set index(e){this._index=e,this.ownerDocument.markDirty(this)}get level(){return this.parentNode instanceof u?this.parentNode.level+ +(this.parentNode.node?.type==="item"):0}getMutableNode(){return null==this.node?null:(this.isMutated||(this.node=this.node.clone(),this.isMutated=!0),this.ownerDocument.markDirty(this),this.node)}updateNode(){let e=this.nextVisibleSibling,t=this.getMutableNode();if(null!=t&&(t.index=this.index,t.level=this.level,t.parentKey=this.parentNode instanceof u?this.parentNode.node?.key??null:null,t.prevKey=this.previousVisibleSibling?.node?.key??null,t.nextKey=e?.node?.key??null,t.hasChildNodes=!!this.firstChild,t.firstChildKey=this.firstVisibleChild?.node?.key??null,t.lastChildKey=this.lastVisibleChild?.node?.key??null,(null!=t.colSpan||null!=t.colIndex)&&e)){let i=(t.colIndex??t.index)+(t.colSpan??1);null!=e.node&&i!==e.node.colIndex&&(e.getMutableNode().colIndex=i)}}setProps(e,t,i,n,l){let r,{value:s,textValue:a,id:o,...d}=e;if(null==this.node?(r=new i(o??`react-aria-${++this.ownerDocument.nodeId}`),this.node=r):r=this.getMutableNode(),d.ref=t,r.props=d,r.rendered=n,r.render=l,r.value=s,e["aria-label"]&&(r["aria-label"]=e["aria-label"]),r.textValue=a||("string"==typeof d.children?d.children:"")||e["aria-label"]||"",null!=o&&o!==r.key)throw Error("Cannot change the id of an item");null!=d.colSpan&&(r.colSpan=d.colSpan),this.isConnected&&this.ownerDocument.queueUpdate()}get style(){let e=this;return{get display(){return e.isHidden?"none":""},set display(value){let t="none"===value;if(e.isHidden!==t){(e.parentNode?.firstVisibleChild===e||e.parentNode?.lastVisibleChild===e)&&e.ownerDocument.markDirty(e.parentNode);let i=e.previousVisibleSibling,n=e.nextVisibleSibling;i&&e.ownerDocument.markDirty(i),n&&e.ownerDocument.markDirty(n),e.isHidden=t,e.ownerDocument.markDirty(e)}}}}hasAttribute(){}setAttribute(){}setAttributeNS(){}removeAttribute(){}}class h extends d{constructor(e){super(null),this.nodeType=11,this.ownerDocument=this,this.dirtyNodes=new Set,this.isSSR=!1,this.nodeId=0,this.nodesByProps=new WeakMap,this.nextCollection=null,this.subscriptions=new Set,this.queuedRender=!1,this.inSubscription=!1,this.collection=e,this.nextCollection=e}get isConnected(){return!0}createElement(e){return new u(e,this)}getMutableCollection(){return this.nextCollection||(this.nextCollection=this.collection.clone()),this.nextCollection}markDirty(e){this.dirtyNodes.add(e)}addNode(e){if(e.isHidden||null==e.node)return;let t=this.getMutableCollection();if(!t.getItem(e.node.key))for(let t of e)this.addNode(t);t.addNode(e.node)}removeNode(e){for(let t of e)this.removeNode(t);e.node&&this.getMutableCollection().removeNode(e.node.key)}getCollection(){return this.inSubscription||(this.queuedRender=!1,this.updateCollection()),this.collection}updateCollection(){for(let e of this.dirtyNodes)e instanceof u&&(!e.isConnected||e.isHidden)?this.removeNode(e):e.updateChildIndices();for(let e of this.dirtyNodes)e instanceof u?(e.isConnected&&!e.isHidden&&(e.updateNode(),this.addNode(e)),e.node&&this.dirtyNodes.delete(e),e.isMutated=!1):this.dirtyNodes.delete(e);
41this.nextCollection&&(this.nextCollection.commit(this.firstVisibleChild?.node?.key??null,this.lastVisibleChild?.node?.key??null,this.isSSR),this.isSSR||(this.collection=this.nextCollection,this.nextCollection=null))}queueUpdate(){if(0!==this.dirtyNodes.size&&!this.queuedRender){for(let e of(this.queuedRender=!0,this.inSubscription=!0,this.isSSR||(this.collection=this.collection.clone()),this.subscriptions))e();this.inSubscription=!1}}subscribe(e){return this.subscriptions.add(e),this.queuedRender&&e(),()=>this.subscriptions.delete(e)}resetAfterSSR(){this.isSSR&&(this.isSSR=!1,this.firstChild=null,this.lastChild=null,this.nodeId=0)}}var c=e.i(71645);function p(e){let{children:t,items:i,idScope:n,addIdAndValue:l,dependencies:r=[]}=e,s=(0,c.useMemo)(()=>void 0,[t]),a=(0,c.useMemo)(()=>new WeakMap,[...r,s]);return(0,c.useMemo)(()=>{if(i&&"function"==typeof t){let e=[];for(let r of i){let i=!function(e){switch(typeof e){case"object":return null!=e;case"function":case"symbol":return!0;default:return!1}}(r)?null:r,s=i?a.get(i):null;if(!s){let o=(s=t(r)).props.id??r?.key??r?.id;null!=n&&null==s.props.id&&null!=o&&(o=n+":"+o);let d=o??e.length;s=(0,c.cloneElement)(s,l?{key:d,id:o,value:r}:{key:d}),i&&a.set(i,s)}e.push(s)}return e}if("function"!=typeof t)return t},[t,i,a,n,l])}e.s(["useCachedChildren",0,p],7426);var f=e.i(62918),g=e.i(41975),y=e.i(43221),x=e.i(74080),m=e.i(2239);let C=(0,c.createContext)(!1),v=(0,c.createContext)(null);function b({collection:e,render:t}){return t(e)}let S="function"==typeof c.default.useSyncExternalStore?c.default.useSyncExternalStore:function(e,t,i){let n=(0,y.useIsSSR)(),l=(0,c.useRef)(n);l.current=n;let r=(0,c.useCallback)(()=>l.current?i():t(),[t,i]);return(0,m.useSyncExternalStore)(e,r)},k=(0,c.createContext)(null);function N(e,i,n,l,r,s){"string"==typeof e&&(e=function(e){return class extends t{static{this.type=e}}}(e));let a=(0,c.useCallback)(t=>
41{t?.setProps(i,n,e,l,s)},[i,n,l,s,e]),o=(0,c.useContext)(k);if(o){let t=o.ownerDocument.nodesByProps.get(i);return t||((t=o.ownerDocument.createElement(e.type)).setProps(i,n,e,l,s),o.appendChild(t),o.ownerDocument.updateCollection(),o.ownerDocument.nodesByProps.set(i,t)),r?c.default.createElement(k.Provider,{value:t},r):null}return c.default.createElement(e.type,{ref:a},r)}function w(e){return p({...e,addIdAndValue:!0})}let K=(0,c.createContext)(null);function D({children:e}){let t=(0,c.useContext)(v),i=(0,c.useMemo)(()=>c.default.createElement(v.Provider,{value:null},c.default.createElement(C.Provider,{value:!0},e)),[e]);return(0,y.useIsSSR)()?c.default.createElement(k.Provider,{value:t},i):(0,x.createPortal)(i,t)}e.s(["Collection",0,function(e){let t=(0,c.useContext)(K),i=(t?.dependencies||[]).concat(e.dependencies),n=e.idScope??t?.idScope,l=w({...e,idScope:n,dependencies:i});return(0,c.useContext)(v)&&(l=c.default.createElement(D,null,l)),t=(0,c.useMemo)(()=>({dependencies:i,idScope:n}),[n,...i]),c.default.createElement(K.Provider,{value:t},l)},"CollectionBuilder",0,function(e){if((0,c.useContext)(v))return e.content;let{collection:t,document:i}=function(e){let[t]=(0,c.useState)(()=>new h(e?.()||new a));return{collection:S((0,c.useCallback)(e=>t.subscribe(e),[t]),(0,c.useCallback)(()=>{let e=t.getCollection();return t.isSSR&&t.resetAfterSSR(),e},[t]),(0,c.useCallback)(()=>(t.isSSR=!0,t.getCollection()),[t])),document:t}}(e.createCollection);return c.default.createElement(c.default.Fragment,null,c.default.createElement(g.Hidden,null,c.default.createElement(v.Provider,{value:i},e.content)),c.default.createElement(b,{render:e.children,collection:t}))},"createBranchComponent",0,function(e,t,i=w){let n=({node:e})=>t(e.props,e.props.ref,e),l=(0,c.forwardRef)((t,l)=>{let r=i(t);return N(e,t,l,null,r,e=>c.default.createElement(n,{node:e}))??c.default.createElement(c.default.Fragment,null)});return l.displayName=t.name,l},"createLeafComponent",0,function(e,t){let i=({node:e})=>t(e.props,e.props.ref,e),n=(0,c.forwardRef)((n,l)=>{let r=(0,c.useContext)(f.FocusableContext);if(!(0,c.useContext)(C)){if(t.length>=3)throw Error(t.name+" cannot be rendered outside a collection.");return t(n,l)}return N(e,n,l,"children"in n?n.children:null,null,e=>c.default.createElement(f.FocusableContext.Provider,{value:r},c.default.createElement(i,{node:e})))});return n.displayName=t.name,n}],2129)}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.