PageSourceSearch

https://kobe-note.jp/_next/static/chunks/4857-60c2f6595eba5d1c.js

js kobe-note.jp collected 2026-10-04 09:06:52 UTC 30,274 bytes, 1 lines download raw bytes

1!function(){try{var e="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{};e._sentryModuleMetadata=e._sentryModuleMetadata||{},e._sentryModuleMetadata[(new e.Error).stack]=function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];if(null!=l)for(var i in l)l.hasOwnProperty(i)&&(e[i]=l[i])}return e}({},e._sentryModuleMetadata[(new e.Error).stack],{"_sentryBundlerPluginAppKey:note-front-custom-domain":!0});var t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="4b1fab1a-53fd-4b65-979f-4c77547b0114",e._sentryDebugIdIdentifier="sentry-dbid-4b1fab1a-53fd-4b65-979f-4c77547b0114")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4857],{9360:(e,t,l)=>{l.d(t,{G:()=>o});var i=l(19324),r=class{context;cache=new WeakMap;build(e,t){return this.context=t,s(()=>this.iterateCollection(e))}*iterateCollection(e){let{children:t,items:l}=e;if("function"==typeof t){if(!l)throw Error("props.children was a function but props.items is missing");for(let l of e.items)yield*this.getFullNode({value:l},{renderer:t})}else{let e=[];i.Children.forEach(t,t=>{e.push(t)});let l=0;for(let t of e)for(let e of this.getFullNode({element:t,index:l},{}))l++,yield e}}getKey(e,t,l,i){if(null!=e.key)return e.key;if("cell"===t.type&&null!=t.key)return`${i??""}${t.key}`;let r=t.value;if(null!=r){let e=r.key??r.id;if(null==e)throw Error("No key found for item");return e}return i?`${i}.${t.index??""}`:`$.${t.index??""}`}getChildState(e,t){return{renderer:t.renderer||e.renderer}}*getFullNode(e,t,l,r){let o=e.element;if(!o&&e.value&&t?.renderer){let l=this.cache.get(e.value);if(l&&!l.shouldInvalidate?.(this.context)){l.index=e.index,l.parentKey=r?r.key:null,yield l;return}o=t.renderer(e.value)}if(i.isValidElement(o)){let i=o.type;if("function"!=typeof i&&"function"!=typeof i.getCollectionNode){let e="function"==typeof o.type?o.type.name:o.type;throw Error(`Unknown element <${e}> in collection.`)}let s=i.getCollectionNode(o.props,this.context),a=e.index,c=s.next();for(;!c.done&&c.value;){let i=c.value;e.index=a;let u=i.key;u||=i.element?null:this.getKey(o,e,t,l);let d=[...this.getFullNode({...i,key:u,index:a,wrapper:function(e,t){return e&&t?l=>e(t(l)):e||t||void 0}(e.wrapper,i.wrapper)},this.getChildState(t,i),l?`${l}${o.key??""}`:o.key,r)];for(let t of d){if(t.value=i.value||e.value,t.value&&this.cache.set(t.value,t),e.type&&t.type!==e.type)throw Error(`Unsupported type <${n(t.type)}> in <${n(r.type)}>. Only <${n(e.type)}> is supported.`);a++,yield t}c=s.next(d)}return}if(null==e.key)return;let a=this,c={type:e.type,props:e.props,key:e.key,parentKey:r?r.key:null,value:e.value,level:r?r.level+1:0,index:e.index,rendered:e.rendered,textValue:e.textValue,"aria-label":e["aria-label"],elementType:e.elementType,href:e.href,rel:e.rel,target:e.target,wrapper:e.wrapper,shouldInvalidate:e.shouldInvalidate,hasChildNodes:e.hasChildNodes,childNodes:s(function*(){if(!e.hasChildNodes)return;let l=0;for(let i of e.childNodes())for(let e of(null!=i.key&&(i.key=`${c.key}${i.key}`),i.index=l,a.getFullNode(i,a.getChildState(t,i),c.key,c)))l++,yield e})};yield c}};function s(e){let t=[],l=null;return{*[Symbol.iterator](){for(let e of t)yield e;for(let i of l||=e())t.push(i),yield i}}}function n(e){return e[0].toUpperCase()+e.slice(1)}function o(e,t,l){let s=(0,i.useMemo)(()=>new r,[]),{children:n,items:o,collection:a}=e;return(0,i.useMemo)(()=>a||t(s.build({children:n,items:o},l)),[s,n,o,a,l,t])}},18246:(e,t,l)=>{l.d(t,{r:()=>r});var i=l(81509);function r(e){let t=(0,i.$)(e,{labelable:!0}),l;return"vertical"===e.orientation&&(l="vertical"),"hr"===e.elementType?{separatorProps:t}:{separatorProps:{...t,role:"separator","aria-orientation":l}}}},23369:(e,t,l)=>{l.d(t,{y:()=>a});var i=l(36493),r=new Map,s=l(74921),n=l(31208),o=l(19324);function a(e){let{selectionManager:t,collection:l,disabledKeys:a,ref:c,keyboardDelegate:u,layoutDelegate:d}=e,h=function(e){let{locale:t}=(0,i.Y)(),l=t+(e?Object.entries(e).sort((e,t)=>e[0]<t[0]?-1:1).join():"");if(r.has(l))return r.get(l);let s=new Intl.Collator(t,e);return r.set(l,s),s}({usage:"search",sensitivity:"base"}),y=t.disabledBehavior,f=(0,o.useMemo)(()=>u||new s.n({collection:l,disabledKeys:a,disabledBehavior:y,ref:c,collator:h,layoutDelegate:d}),[u,d,l,a,c,h,y]),{collectionProps:g}=(0,n.y)({...e,ref:c,selectionManager:t,keyboardDelegate:f});return{listProps:g}}},27031:(e,t,l)=>{l.d(t,{q:()=>r});var i=l(19324);function r(e){return null}r.getCollectionNode=function*(e,t){var l;let{childItems:r,title:s,children:n,elementType:o,href:a,rel:c,target:u}=e,d=e.title||e.children,h=e.textValue||("string"==typeof d?d:"")||e["aria-label"]||"";h||t?.suppressTextValueWarning||console.warn("<Item>
1 with non-plain text contents is unsupported by type to select for accessibility. Please add a `textValue` prop."),yield{type:"item",props:e,rendered:d,textValue:h,elementType:o,href:a,rel:c,target:u,"aria-label":e["aria-label"],hasChildNodes:null==(l=e).hasChildItems?!!(l.childItems||l.title&&i.Children.count(l.children)>0):l.hasChildItems,*childNodes(){if(r)for(let e of r)yield{type:"item",value:e};else if(s){let e=[];i.Children.forEach(n,t=>{e.push({type:"item",element:t})}),yield*e}}}}},29187:(e,t,l)=>{function i(e,t,l){if(t?.index===void 0||l?.index===void 0)return -1;if(t.parentKey===l.parentKey)return t.index-l.index;let i=[...r(e,t),t],s=[...r(e,l),l],n=i.slice(0,s.length).findIndex((e,t)=>e!==s[t]);return -1===n?i.indexOf(l)>=0?1:(s.indexOf(t),-1):(t=i[n],l=s[n],t?.index===void 0||l?.index===void 0?-1:t.index-l.index)}function r(e,t){let l=[];for(;t?.parentKey!=null;)l.unshift(t=e.getItem(t.parentKey));return l}l.d(t,{Y:()=>n});var s=l(41973),n=class{collection;state;allowsCellSelection;_isSelectAll;constructor(e,t,l){this.collection=e,this.state=t,this.allowsCellSelection=l?.allowsCellSelection??!1,this._isSelectAll=null}get selectionMode(){return this.state.selectionMode}get disallowEmptySelection(){return this.state.disallowEmptySelection}get selectionBehavior(){return this.state.selectionBehavior}setSelectionBehavior(e){this.state.setSelectionBehavior(e)}get isFocused(){return this.state.isFocused}setFocused(e){this.state.setFocused(e)}get focusedKey(){return this.state.focusedKey}get childFocusStrategy(){return this.state.childFocusStrategy}setFocusedKey(e,t){(null==e||this.collection.getItem(e))&&this.state.setFocusedKey(e,t)}get selectedKeys(){return"all"===this.state.selectedKeys?new Set(this.getSelectAllKeys()):this.state.selectedKeys}get rawSelection(){return this.state.selectedKeys}isSelected(e){return"none"!==this.state.selectionMode&&(e=this.getKey(e),"all"===this.state.selectedKeys?this.canSelectItem(e):this.state.selectedKeys.has(e))}get isEmpty(){return"all"!==this.state.selectedKeys&&0===this.state.selectedKeys.size}get isSelectAll(){if(this.isEmpty)return!1;if("all"===this.state.selectedKeys)return!0;if(null!=this._isSelectAll)return this._isSelectAll;let e=this.getSelectAllKeys(),t=this.state.selectedKeys;return this._isSelectAll=e.every(e=>t.has(e)),this._isSelectAll}get firstSelectedKey(){let e;for(let t of this.state.selectedKeys){let l=this.collection.getItem(t);(!e||l&&0>i(this.collection,l,e))&&(e=l)}return e?.key??void 0}get lastSelectedKey(){let e;for(let t of this.state.selectedKeys){let l=this.collection.getItem(t);(!e||l&&i(this.collection,l,e)>0)&&(e=l)}return e?.key}get disabledKeys(){return this.state.disabledKeys}get disabledBehavior(){return this.state.disabledBehavior}extendSelection(e){let t;if("none"!==this.selectionMode){if("single"===this.selectionMode)return void this.replaceSelection(e);if(e=this.getKey(e),"all"===this.state.selectedKeys)t=new s.L([e],e,e);else{let l=this.state.selectedKeys,i=l.anchorKey||e;for(let r of(t=new s.L(l,i,e),this.getKeyRange(i,l.currentKey||e)))t.delete(r);for(let l of this.getKeyRange(e,i))this.canSelectItem(l)&&t.add(l)}this.state.setSelectedKeys(t)}}getKeyRange(e,t){let l=this.collection.getItem(e),r=this.collection.getItem(t);return l&&r?0>=i(this.collection,l,r)?this.getKeyRangeInternal(e,t):this.getKeyRangeInternal(t,e):[]}getKeyRangeInternal(e,t){let l=[],i=e;for(;i;){let e=this.collection.getItem(i);if((e&&"item"===e.type||e?.type==="cell"&&this.allowsCellSelection)&&l.push(i),i===t)return l;i=this.collection.getKeyAfter(i)}return[]}getKey(e){let t=this.collection.getItem(e);if(!t||"cell"===t.type&&this.allowsCellSelection)return e;for(;t?.type!=="item"&&t?.parentKey!=null;)t=this.collection.getItem(t.parentKey);return t?.type==="item"?t.key:null}toggleSelection(e){if("none"===this.selectionMode)return;if("single"===this.selectionMode&&!this.isSelected(e))return void this.replaceSelection(e);if(null==(e=this.getKey(e)))return;let t=new s.L("all"===this.state.selectedKeys?this.getSelectAllKeys():this.state.selectedKeys);t.has(e)?t.delete(e):this.canSelectItem(e)&&(t.add(e),t.anchorKey=e,t.currentKey=e),this.disallowEmptySelection&&0===t.size||this.state.setSelectedKeys(t)}replaceSelection(e){if("none"===this.selectionMode||null==(e=this.getKey(e)))return;let t=this.canSelectItem(e)?new s.L([e],e,e):new s.L;this.state.setSelectedKeys(t)}setSelectedKeys(e){if("none"===this.selectionMode)return;let t=new s.L;for(let l of e)if(null!=(l=this.getKey(l))&&(t.add(l),"single"===this.selectionMode))break;this.state.setSelectedKeys(t)}getSelectAllKeys(){let e=[],t=l=>{for(;l;){if(this.canSelectItem(l)){var i;let r=this.collection.getItem(l);r?.type==="item"&&e.push(l),r?.hasChildNodes&&(this.allowsCellSelection||"item"!==r.type)&&t(function(e){!1;let t=0;for(let l of e){if(0===t)return l;t++}}("function"==typeof(i=this.collection).getChildren?i.getChildren(r.key):r.childNodes).key??"")}l=this.collection.getKeyAfter(l)}};return t(this.collection.getFirstKey()),e}selectAll(){this.isSelectAll||"multiple"!==this.selectionMode||this.state.setSelectedKeys("all")}clearSelection(){!this.disallowEmptySelection&&("all"===this.state.selectedKeys||this.state.selectedKeys.size>0)&&this.state.setSelectedKeys(new s.L)}toggleSelectAll(){this.isSelectAll?this.clearSelection():this.selectAll()}select(e,t){"none"!==this.selectionMode&&("single"===this.selectionMode?this.isSelected(e)&&!this.disallowEmptySelection?this.toggleSelection(e):this.replaceSelection(e):"toggle"===this.selectionBehavior||t&&("touch"===t.pointerType||"virtual"===t.pointerType)?this.toggleSelection(e):this.replaceSelection(e))}isSelectionEqual(e){if(e===this.state.selectedKeys)return!0;let t=this.selectedKeys;if(e.size!==t.size)return!1;for(let l of e)if(!t.has(l))return!1;for(let l of t)if(!e.has(l))return!1;return!0}canSelectItem(e){if("none"===this.state.selectionMode||this.state.disabledKeys.has(e))return!1;let t=this.collection.getItem(e);return!(!t||t?.props?.isDisabled||"cell"===t.type&&!this.allowsCellSelection)}isDisabled(e){return"all"===this.state.disabledBehavior&&(this.state.disabledKeys.has(e)||!!this.collection.getItem(e)?.props?.isDisabled)}isLink(e){return!!this.collection.getItem(e)?.props?.href}getItemProps(e){return this.collection.getItem(e)?.props}}},31102:(e,t,l)=>{l.d(t,{v:()=>function e(t){let l=i.get(t);if(null!=l)return l;
1for(let i of(l=0,t))"section"===i.type?l+=e(i.childNodes):l++;return i.set(t,l),l}});var i=new WeakMap},31208:(e,t,l)=>{l.d(t,{y:()=>m});var i=l(52992),r=l(59999),s=l(57161),n=l(15378);function o(e,t){let l=a(e,t,"left"),i=a(e,t,"top"),r=t.offsetWidth,s=t.offsetHeight,n=e.scrollLeft,o=e.scrollTop,{borderTopWidth:c,borderLeftWidth:u}=getComputedStyle(e),d=e.scrollLeft+parseInt(u,10),h=e.scrollTop+parseInt(c,10),y=d+e.clientWidth,f=h+e.clientHeight;l<=n?n=l-parseInt(u,10):l+r>y&&(n+=l+r-y),i<=h?o=i-parseInt(c,10):i+s>f&&(o+=i+s-f),e.scrollLeft=n,e.scrollTop=o}function a(e,t,l){let i="left"===l?"offsetLeft":"offsetTop",r=0;for(;t.offsetParent&&(r+=t[i],t.offsetParent!==e);){if(t.offsetParent.contains(e)){r-=e[i];break}t=t.offsetParent}return r}function c(e,t){if(document.contains(e)){let l=document.scrollingElement||document.documentElement;if("hidden"!==window.getComputedStyle(l).overflow){let{left:l,top:i}=e.getBoundingClientRect();e?.scrollIntoView?.({block:"nearest"});let{left:r,top:s}=e.getBoundingClientRect();(Math.abs(l-r)>1||Math.abs(i-s)>1)&&(t?.containingElement?.scrollIntoView?.({block:"center",inline:"center"}),e.scrollIntoView?.({block:"nearest"}))}else{let t=(0,n.m)(e);for(;e&&t&&e!==l&&t!==l;)o(t,e),e=t,t=(0,n.m)(e)}}}var u=l(84392),d=l(63143),h=l(2877),y=l(34901),f=l(71476),g=l(90686),p=l(19324),K=l(69645);function m(e){let t,{selectionManager:l,keyboardDelegate:n,ref:a,autoFocus:m=!1,shouldFocusWrap:v=!1,disallowEmptySelection:b=!1,disallowSelectAll:S=!1,selectOnFocus:w="replace"===l.selectionBehavior,disallowTypeAhead:k=!1,shouldUseVirtualFocus:D,allowsTabNavigation:x=!1,isVirtualized:P,scrollRef:I=a,linkBehavior:F="action"}=e,C=(0,s.rd)(),T=(0,p.useRef)({top:0,left:0});(0,u._)(I,"scroll",P?null:()=>{T.current={top:I.current.scrollTop,left:I.current.scrollLeft}});let N=(0,p.useRef)(m);(0,p.useEffect)(()=>{if(N.current){let e;"first"===m&&(e=n.getFirstKey()),"last"===m&&(e=n.getLastKey());let t=l.selectedKeys;if(t.size){for(let i of t)if(l.canSelectItem(i)){e=i;break}}if(l.setFocused(!0),l.setFocusedKey(e),null!=e||D||(0,h.l)(a.current),null!=e&&!P&&I?.current){let t=()=>{let t=I.current,l=t?.querySelector(`[data-key="${e}"]`);t&&l&&(o(t,l),c(l,{containingElement:a.current??void 0}))};"function"==typeof requestAnimationFrame?requestAnimationFrame(t):t()}}N.current=!1},[]);let M=(0,p.useRef)(l.focusedKey);(0,p.useEffect)(()=>{let e=(0,d.ME)();if(l.isFocused&&null!=l.focusedKey&&I?.current){let t=I.current.querySelector(`[data-key="${l.focusedKey}"]`);t&&"keyboard"===e&&(P||o(I.current,t),c(t,{containingElement:a.current??void 0}))}l.isFocused&&null==l.focusedKey&&null!=M.current&&(0,h.l)(a.current),M.current=l.focusedKey},[P,I,l.focusedKey,l.isFocused,a]);let E={onKeyDown:e=>{if(e.altKey&&"Tab"===e.key&&e.preventDefault(),!a.current?.contains(e.target))return;let t=(t,i)=>{if(null!=t){if(l.isLink(t)&&"selection"===F&&w&&!(0,f.N9)(e)){(0,K.flushSync)(()=>{l.setFocusedKey(t,i)});let r=I.current?.querySelector(`[data-key="${t}"]`),s=l.getItemProps(t);r&&C.open(r,e,s.href,s.routerOptions);return}l.setFocusedKey(t,i),l.isLink(t)&&"override"===F||(e.shiftKey&&"multiple"===l.selectionMode?l.extendSelection(t):w&&!(0,f.N9)(e)&&l.replaceSelection(t))}};switch(e.key){case"ArrowDown":if(n.getKeyBelow){e.preventDefault();let i=null==l.focusedKey?n.getFirstKey?.():n.getKeyBelow(l.focusedKey);null==i&&v&&(i=n.getFirstKey?.(l.focusedKey)),t(i)}break;case"ArrowUp":if(n.getKeyAbove){e.preventDefault();let i=null==l.focusedKey?n.getLastKey?.():n.getKeyAbove(l.focusedKey);null==i&&v&&(i=n.getLastKey?.(l.focusedKey)),t(i)}break;case"ArrowLeft":n.getKeyLeftOf&&(e.preventDefault(),t(n.getKeyLeftOf(l.focu
1sedKey),"last"));break;case"ArrowRight":n.getKeyRightOf&&(e.preventDefault(),t(n.getKeyRightOf(l.focusedKey),"first"));break;case"Home":if(n.getFirstKey){e.preventDefault();let t=n.getFirstKey(l.focusedKey,(0,f.BX)(e));l.setFocusedKey(t),(0,f.BX)(e)&&e.shiftKey&&"multiple"===l.selectionMode?l.extendSelection(t):w&&l.replaceSelection(t)}break;case"End":if(n.getLastKey){e.preventDefault();let t=n.getLastKey(l.focusedKey,(0,f.BX)(e));l.setFocusedKey(t),(0,f.BX)(e)&&e.shiftKey&&"multiple"===l.selectionMode?l.extendSelection(t):w&&l.replaceSelection(t)}break;case"PageDown":n.getKeyPageBelow&&(e.preventDefault(),t(n.getKeyPageBelow(l.focusedKey)));break;case"PageUp":n.getKeyPageAbove&&(e.preventDefault(),t(n.getKeyPageAbove(l.focusedKey)));break;case"a":(0,f.BX)(e)&&"multiple"===l.selectionMode&&!0!==S&&(e.preventDefault(),l.selectAll());break;case"Escape":e.preventDefault(),b||l.clearSelection();break;case"Tab":if(!x)if(e.shiftKey)a.current?.focus();else{let e=a.current?(0,y.N$)(a.current,{tabbable:!0}):null,t,l;do null!==(l=e?.lastChild())&&(t=l);while(l);t&&!t.contains(document.activeElement)&&(0,i.e)(t)}}},onFocus:e=>{if(l.isFocused){e.currentTarget.contains(e.target)||l.setFocused(!1);return}if(e.currentTarget.contains(e.target)){if(l.setFocused(!0),null==l.focusedKey){let t=e=>{null!=e&&(l.setFocusedKey(e),w&&l.replaceSelection(e))},i=e.relatedTarget;if(i&&e.currentTarget.compareDocumentPosition(i)&Node.DOCUMENT_POSITION_FOLLOWING){let e=l.lastSelectedKey;t(null==e||l.isDisabled(e)?n.getLastKey?.():e)}else{let e=l.firstSelectedKey;t(null==e||l.isDisabled(e)?n.getFirstKey?.():e)}}else P||(I.current.scrollTop=T.current.top,I.current.scrollLeft=T.current.left);if(!P&&null!=l.focusedKey){let e=I.current?.querySelector(`[data-key="${l.focusedKey}"]`);e&&(e.contains(document.activeElement)||(0,i.e)(e),"keyboard"===(0,d.ME)()&&c(e,{containingElement:a.current??void 0}))}}},onBlur:e=>{e.currentTarget.contains(e.relatedTarget)||l.setFocused(!1)},onMouseDown(e){I.current===e.target&&e.preventDefault()}},{typeSelectProps:L}=(0,g.I)({keyboardDelegate:n,selectionManager:l});return k||(E=(0,r.v)(L,E)),D||(t=null==l.focusedKey?0:-1),{collectionProps:{...E,tabIndex:t}}}},41973:(e,t,l)=>{l.d(t,{L:()=>i});var i=class e extends Set{anchorKey;currentKey;constructor(t,l,i){super(t),t instanceof e?(this.anchorKey=l||t.anchorKey,this.currentKey=i||t.currentKey):(this.anchorKey=l,this.currentKey=i)}}},43288:(e,t,l)=>{l.d(t,{V:()=>n});var i=l(96754),r=l(4528),s=l(19324);function n(e,t,l){let{type:n="menu",isDisabled:o,trigger:a="press"}=e,c=(0,s.useId)(),{triggerProps:u,overlayProps:d}=(0,r.o)({type:n},t,l),{longPressProps:h}=(0,i.H)({isDisabled:o||"longPress"!==a,accessibilityDescription:"長押しします。",onLongPressStart(){t.close()},onLongPress(){t.open("first")}});return delete u.onPress,{menuTriggerProps:{...u,..."press"===a?{onPressStart(e){"touch"===e.pointerType||"keyboard"===e.pointerType||o||t.toggle("virtual"===e.pointerType?"first":null)},onPress(e){"touch"!==e.pointerType||o||t.toggle()}}:h,id:c,onKeyDown:e=>{if(!o&&!("longPress"===a&&!e.altKey)&&l?.current)switch(e.key){case"Enter":case" ":if("longPress"===a)return;case"ArrowDown":"continuePropagation"in e||e.stopPropagation(),e.preventDefault(),t.toggle("first");break;case"ArrowUp":"continuePropagation"in e||e.stopPropagation(),e.preventDefault(),t.toggle("last")}}},menuProps:{...d,"aria-labelledby":c,autoFocus:t.focusStrategy||!0,onClose:t.close}}}},71476:(e,t,l)=>{l.d(t,{BX:()=>n,N9:()=>r,au:()=>s});var i=l(50018);function r(e){return(0,i.lg)()?e.altKey:e.ctrlKey}function s(e,t){let l=`[data-key="${CSS.escape(String(t))}"]`,i=e.current?.dataset.collection;return i&&(l=`[data-collection="${CSS.escape(i)}"]${l}`),e.current?.querySelector(l)}function n(e){return(0,i.cX)()?e.metaKey:e.ctrlKey}},74921:(e,t,l)=>{l.d(t,{n:()=>n});var i=l(15378),r=l(71476),s=class{ref;constructor(e){this.ref=e}getItemRect(e){let t=this.ref.current;if(!t)return;let l=null==e?void 0:(0,r.au)(this.ref,e);if(!l)return;let i=t.getBoundingClientRect(),s=l.getBoundingClientRect();return{x:s.left-i.left+t.scrollLeft,y:s.top-i.top+t.scrollTop,width:s.width,height:s.height}}getContentSize(){let e=this.ref.current;return{width:e?.scrollWidth??0,height:e?.scrollHeight??0}}getVisibleRect(){let e=this.ref.current;return{x:e?.scrollLeft??0,y:e?.scrollTop??0,width:e?.offsetWidth??0,height:e?.offsetHeight??0}}},n=class{collection;disabledKeys;disabledBehavior;ref;collator;layout;orientation;direction;layoutDelegate;constructor(...e){if(1===e.length){let t=e[0];this.collection=t.collection,this.ref=t.ref,this.collator=t.collator,this.disabledKeys=t.disabledKeys||new Set,this.disabledBehavior=t.disabledBehavior||"all",this.orientation=t.orientation||"vertical",this.direction=t.direction,this.layout=t.layout||"stack",this.layoutDelegate=t.layoutDelegate||new s(t.ref)}else this.collection=e[0],this.disabledKeys=e[1],this.ref=e[2],this.collator=e[3],this.layout="stack",this.orientation="vertical",this.disabledBehavior="all",this.layoutDelegate=new s(this.ref);"stack"===this.layout&&"vertical"===this.orientation&&(this.getKeyLeftOf=void 0,this.getKeyRightOf=void 0)}isDisabled(e){return"all"===this.disabledBehavior&&(e.props?.isDisabled||this.disabledKeys.has(e.key))}findNextNonDisabled(e,t){let l=e;for(;null!=l;){let e=this.collection.getItem(l);if(e?.type==="item"&&!this.isDisabled(e))return l;l=t(l)}}getNextKey(e){let t=e;return t=this.collection.getKeyAfter(t),this.findNextNonDisabled(t,e=>this.collection.getKeyAfter(e))}getPreviousKey(e){let t=e;return t=this.collection.getKeyBefore(t),this.findNextNonDisabled(t,e=>this.collection.getKeyBefore(e))}findKey(e,t,l){let i=e,r=this.layoutDelegate.getItemRect(i);if(!r||null==i)return;let s=r;do{if(null==(i=t(i)))break;r=this.layoutDelegate.getItemRect(i)}while(r&&l(s,r)&&null!=i);return i}isSameRow(e,t){return e.y===t.y||e.x!==t.x}isSameColumn(e,t){return e.x===t.x||e.y!==t.y}getKeyBelow(e){return"grid"===this.layout&&"vertical"===this.orientation?this.findKey(e,e=>this.getNextKey(e),this.isSameRow):this.getNextKey(e)}
1getKeyAbove(e){return"grid"===this.layout&&"vertical"===this.orientation?this.findKey(e,e=>this.getPreviousKey(e),this.isSameRow):this.getPreviousKey(e)}getNextColumn(e,t){return t?this.getPreviousKey(e):this.getNextKey(e)}getKeyRightOf(e){let t="getKeyRightOf";return this.layoutDelegate[t]?(e=this.layoutDelegate[t](e),this.findNextNonDisabled(e,e=>this.layoutDelegate[t](e))):"grid"===this.layout?"vertical"===this.orientation?this.getNextColumn(e,"rtl"===this.direction):this.findKey(e,e=>this.getNextColumn(e,"rtl"===this.direction),this.isSameColumn):"horizontal"===this.orientation?this.getNextColumn(e,"rtl"===this.direction):void 0}getKeyLeftOf(e){let t="getKeyLeftOf";return this.layoutDelegate[t]?(e=this.layoutDelegate[t](e),this.findNextNonDisabled(e,e=>this.layoutDelegate[t](e))):"grid"===this.layout?"vertical"===this.orientation?this.getNextColumn(e,"ltr"===this.direction):this.findKey(e,e=>this.getNextColumn(e,"ltr"===this.direction),this.isSameColumn):"horizontal"===this.orientation?this.getNextColumn(e,"ltr"===this.direction):void 0}getFirstKey(){let e=this.collection.getFirstKey();return this.findNextNonDisabled(e,e=>this.collection.getKeyAfter(e))}getLastKey(){let e=this.collection.getLastKey();return this.findNextNonDisabled(e,e=>this.collection.getKeyBefore(e))}getKeyPageAbove(e){let t=this.ref.current,l=this.layoutDelegate.getItemRect(e);if(!l)return;if(t&&!(0,i.o)(t))return this.getFirstKey();let r=e;if("horizontal"===this.orientation){let e=Math.max(0,l.x+l.width-this.layoutDelegate.getVisibleRect().width);for(;l&&l.x>e&&null!=r;)l=null==(r=this.getKeyAbove(r))?void 0:this.layoutDelegate.getItemRect(r)}else{let e=Math.max(0,l.y+l.height-this.layoutDelegate.getVisibleRect().height);for(;l&&l.y>e&&null!=r;)l=null==(r=this.getKeyAbove(r))?void 0:this.layoutDelegate.getItemRect(r)}return r??this.getFirstKey()}getKeyPageBelow(e){let t=this.ref.current,l=this.layoutDelegate.getItemRect(e);if(!l)return;if(t&&!(0,i.o)(t))return this.getLastKey();let r=e;if("horizontal"===this.orientation){let e=Math.min(this.layoutDelegate.getContentSize().width,l.y-l.width+this.layoutDelegate.getVisibleRect().width);for(;l&&l.x<e&&null!=r;)l=null==(r=this.getKeyBelow(r))?void 0:this.layoutDelegate.getItemRect(r)}else{let e=Math.min(this.layoutDelegate.getContentSize().height,l.y-l.height+this.layoutDelegate.getVisibleRect().height);for(;l&&l.y<e&&null!=r;)l=null==(r=this.getKeyBelow(r))?void 0:this.layoutDelegate.getItemRect(r)}return r??this.getLastKey()}getKeyForSearch(e,t){if(!this.collator)return;let l=this.collection,i=t||this.getFirstKey();for(;null!=i;){let t=l.getItem(i);if(!t)return;let r=t.textValue.slice(0,e.length);if(t.textValue&&0===this.collator.compare(r,e))return i;i=this.getNextKey(i)}}}},84392:(e,t,l)=>{l.d(t,{_:()=>r});var i=l(19324);function r(e,t,l,r){let s=(0,i.useRef)(l);s.current=l;let n=null==l;(0,i.useEffect)(()=>{if(n)return;let l=e.current,i=e=>s.current.call(this,e);return l?.addEventListener(t,i,r),()=>{l?.removeEventListener(t,i,r)}},[e,t,r,n])}},85183:(e,t,l)=>{l.d(t,{R:()=>n});var i=l(1130),r=l(41973),s=l(19324);function n(e){let{selectionMode:t="none",disallowEmptySelection:l,allowDuplicateSelectionEvents:n,selectionBehavior:a="toggle",disabledBehavior:c="all"}
1=e,u=(0,s.useRef)(!1),[,d]=(0,s.useState)(!1),h=(0,s.useRef)(null),y=(0,s.useRef)(null),[,f]=(0,s.useState)(null),[g,p]=(0,i.P)((0,s.useMemo)(()=>o(e.selectedKeys),[e.selectedKeys]),(0,s.useMemo)(()=>o(e.defaultSelectedKeys,new r.L),[e.defaultSelectedKeys]),e.onSelectionChange),K=(0,s.useMemo)(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),[m,v]=(0,s.useState)(a);"replace"===a&&"toggle"===m&&"object"==typeof g&&0===g.size&&v("replace");let b=(0,s.useRef)(a);return(0,s.useEffect)(()=>{a!==b.current&&(v(a),b.current=a)},[a]),{selectionMode:t,disallowEmptySelection:l,selectionBehavior:m,setSelectionBehavior:v,get isFocused(){return u.current},setFocused(e){u.current=e,d(e)},get focusedKey(){return h.current},get childFocusStrategy(){return y.current},setFocusedKey(e,t="first"){h.current=e,y.current=t,f(e)},selectedKeys:g,setSelectedKeys(e){(n||!function(e,t){if(e.size!==t.size)return!1;for(let l of e)if(!t.has(l))return!1;return!0}(e,g))&&p(e)},disabledKeys:K,disabledBehavior:c}}function o(e,t){return e?"all"===e?"all":new r.L(e):t}},90686:(e,t,l)=>{l.d(t,{I:()=>r});var i=l(19324);function r(e){let{keyboardDelegate:t,selectionManager:l,onTypeSelect:r}=e,s=(0,i.useRef)({search:"",timeout:null}).current;return{typeSelectProps:{onKeyDownCapture:t.getKeyForSearch?e=>{var i;let n=1!==(i=e.key).length&&/^[A-Z]/i.test(i)?"":i;if(!n||e.ctrlKey||e.metaKey)return;" "===n&&s.search.trim().length>0&&(e.preventDefault(),"continuePropagation"in e||e.stopPropagation()),s.search+=n;let o=t.getKeyForSearch(s.search,l.focusedKey);null!=(o??=t.getKeyForSearch(s.search))&&(l.setFocusedKey(o),r&&r(o)),clearTimeout(s.timeout),s.timeout=setTimeout(()=>{s.search=""},500)}:null}}}},96061:(e,t,l)=>{l.d(t,{p:()=>u});var i=l(59999),r=l(57161),s=l(84579),n=l(96754),o=l(2877),a=l(71476),c=l(19324);function u(e){let{selectionManager:t,key:l,ref:u,shouldSelectOnPressUp:y,shouldUseVirtualFocus:f,focus:g,onAction:p,allowsDifferentPressOrigin:K,linkBehavior:m="action"}=e,{isDisabled:v}=e,b=(0,r.rd)(),S=e=>{if("keyboard"===e.pointerType&&(0,a.N9)(e))t.toggleSelection(l);else{if("none"===t.selectionMode)return;if(t.isLink(l)){if("selection"===m&&u.current){let i=t.getItemProps(l);b.open(u.current,e,i.href,i.routerOptions),t.setSelectedKeys(t.selectedKeys);return}else if("override"===m||"none"===m)return}"single"===t.selectionMode?t.isSelected(l)&&!t.disallowEmptySelection?t.toggleSelection(l):t.replaceSelection(l):e?.shiftKey?t.extendSelection(l):"toggle"===t.selectionBehavior||e&&((0,a.BX)(e)||"touch"===e.pointerType||"virtual"===e.pointerType)?t.toggleSelection(l):t.replaceSelection(l)}};(0,c.useEffect)(()=>{l===t.focusedKey&&t.isFocused&&!f&&(g?g():document.activeElement!==u.current&&(0,o.l)(u.current))},[u,l,t.focusedKey,t.childFocusStrategy,t.isFocused,f]),v||=t.isDisabled(l);let w={};f||v?v&&(w.onMouseDown=e=>{e.preventDefault()}):w={tabIndex:l===t.focusedKey?0:-1,onFocus(e){e.target===u.current&&t.setFocusedKey(l)}};let k=t.isLink(l)&&"override"===m,D=t.isLink(l)&&"selection"!==m&&"none"!==m,x=!v&&t.canSelectItem(l)&&!k,P=(p||D)&&!v,I=P&&("replace"===t.selectionBehavior?!x:!x||t.isEmpty),F=P&&x&&"replace"===t.selectionBehavior,C=I||F,T=(0,c.useRef)(null),N=C&&x,M=(0,c.useRef)(!1),E=(0,c.useRef)(!1),L=e=>{p&&p(),D&&u.current&&b.open(u.current,e,w.href,w.routerOptions)},B={};y?(B.onPressStart=e=>{T.current=e.pointerType,M.current=N,"keyboard"===e.pointerType&&(!C||h())&&S(e)},K?(B.onPressUp=I?void 0:e=>{"keyboard"!==e.pointerType&&x&&S(e)},B.onPress=I?()=>p?.():null):B.onPress=e=>{I||F&&"mouse"!==e.pointerType?("keyboard"!==e.pointerType||d())&&L(e):"keyboard"!==e.pointerType&&x&&S(e)}):(B.onPressStart=e=>{T.current=e.pointerType,M.current=N,E.current=I,x&&("mouse"===e.pointerType&&!I||"keyboard"===e.pointerType&&(!P||h()))&&S(e)},B.onPress=e=>{("touch"===e.pointerType||"pen"===e.pointerType||"virtual"===e.pointerType||"keyboard"===e.pointerType&&C&&d()||"mouse"===e.pointerType&&E.current)&&(C?L(e):x&&S(e))}),w["data-key"]=l,B.preventFocusOnPress=f;let{pressProps:R,isPressed:A}=(0,s.dD)(B),O=F?e=>{"mouse"===T.current&&(e.stopPropagation(),e.preventDefault(),L(e))}:void 0,{longPressProps:$}=(0,n.H)({isDisabled:!N,onLongPress(e){"touch"===e.pointerType&&(S(e),t.setSelectionBehavior("toggle"))}}),_="none"!==m&&t.isLink(l)?e=>{(0,r.$e)()||e.preventDefault()}:void 0;return{itemProps:(0,i.v)(w,x||I?R:{},N?$:{},{onDoubleClick:O,onDragStartCapture:e=>{"touch"===T.current&&M.current&&e.preventDefault()},onClick:_}),isPressed:A,isSelected:t.isSelected(l),isFocused:t.isFocused&&t.focu
1sedKey===l,isDisabled:v,allowsSelection:x,hasAction:C}}function d(){return window.event?.key==="Enter"}function h(){let e=window.event;return e?.key===" "||e?.code==="Space"}},96754:(e,t,l)=>{l.d(t,{H:()=>u});var i=l(59999),r=l(40679),s=l(19324),n=0,o=new Map,a=l(6024),c=l(84579);function u(e){let{isDisabled:t,onLongPressStart:l,onLongPressEnd:u,onLongPress:d,threshold:h=500,accessibilityDescription:y}=e,f=(0,s.useRef)(null),{addGlobalListener:g,removeGlobalListener:p}=(0,a.A)(),{pressProps:K}=(0,c.dD)({isDisabled:t,onPressStart(e){if(("mouse"===e.pointerType||"touch"===e.pointerType)&&(l&&l({...e,type:"longpressstart"}),f.current=setTimeout(()=>{e.target.dispatchEvent(new PointerEvent("pointercancel",{bubbles:!0})),d&&d({...e,type:"longpress"}),f.current=null},h),"touch"===e.pointerType)){let t=e=>{e.preventDefault()};g(e.target,"contextmenu",t,{once:!0}),g(window,"pointerup",()=>{setTimeout(()=>{p(e.target,"contextmenu",t)},30)},{once:!0})}},onPressEnd(e){f.current&&clearTimeout(f.current),u&&("mouse"===e.pointerType||"touch"===e.pointerType)&&u({...e,type:"longpressend"})}});return{longPressProps:(0,i.v)(K,function(e){let[t,l]=(0,s.useState)();return(0,r.N)(()=>{if(!e)return;let t=o.get(e);if(t)l(t.element.id);else{let i=`noteui-description-${n++}`;l(i);let r=document.createElement("div");r.id=i,r.style.display="none",r.textContent=e,document.body.appendChild(r),t={refCount:0,element:r},o.set(e,t)}return t.refCount++,()=>{t&&0==--t.refCount&&(t.element.remove(),o.delete(e))}},[e]),{"aria-describedby":e?t??void 0:void 0}}(d&&!t?y:null))}}}}]);

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.