1try{!function(){var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="f38b5238-4a91-402b-8cd5-c8776c66408a",e._sentryDebugIdIdentifier="sentry-dbid-f38b5238-4a91-402b-8cd5-c8776c66408a")}()}catch(e){}(globalThis.webpackChunkgyazo=globalThis.webpackChunkgyazo||[]).push([[9374],{24867(e,t,n){n.d(t,{Z:()=>u});var r=n(96540),o=n(2211),i=n(96992),l=n(95015);function u({disabled:e=!1}={}){let t=(0,r.useRef)(null),[n,u]=(0,r.useState)(!1),s=(0,i.L)(),c=(0,l._)(()=>{t.current=null,u(!1),s.dispose()}),a=(0,l._)(e=>{if(s.dispose(),null===t.current){t.current=e.currentTarget,u(!0);{let n=(0,o.TW)(e.currentTarget);s.addEventListener(n,"pointerup",c,!1),s.addEventListener(n,"pointermove",e=>{if(t.current){let n=function(e){let t=e.width/2,n=e.height/2;return{top:e.clientY-n,right:e.clientX+t,bottom:e.clientY+n,left:e.clientX-t}}(e);u(function(e,t){return!(!e||!t||e.right<t.left||e.left>t.right||e.bottom<t.top||e.top>t.bottom)}(n,t.current.getBoundingClientRect()))}},!1),s.addEventListener(n,"pointercancel",c,!1)}}});return{pressed:n,pressProps:e?{}:{onPointerDown:a,onPointerUp:c,onClick:c}}}},3321(e,t,n){n.d(t,{L:()=>u});var r=n(96540),o=n(82599),i=n(76339);function l(e){if(null===e)return{width:0,height:0};let{width:t,height:n}=e.getBoundingClientRect();return{width:t,height:n}}function u(e,t,n=!1){let[u,s]=(0,r.useState)(()=>l(t));return(0,i.s)(()=>{if(!t||!e)return;let n=(0,o.e)();return n.requestAnimationFrame(function e(){n.requestAnimationFrame(e),s(e=>{let n=l(t);return n.width===e.width&&n.height===e.height?e:n})}),()=>{n.dispose()}},[t,e]),n?{width:`${u.width}px`,height:`${u.height}px`}:u}},69821(e,t,n){n.d(t,{c:()=>o});var r=n(96540);function o(e,t){return(0,r.useMemo)(()=>{var n;if(e.type)return e.type;let r=null!=(n=e.as)?n:"button";return"string"==typeof r&&"button"===r.toLowerCase()||"BUTTON"===(null==t?void 0:t.tagName)&&!t.hasAttribute("type")?"button":void 0},[e.type,e.as,t])}},10375(e,t,n){n.d(t,{St:()=>te,UF:()=>ee,G3:()=>Q,Xc:()=>X,TI:()=>Z,zn:()=>J});var r=n(96540),o=n.t(r,2);function i(){const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?e.brands.map(e=>{let{brand:t,version:n}=e;return t+"/"+n}).join(" "):navigator.userAgent}var l=n(97193),u=n(86635),s=n(40961),c=n(46885),a="undefined"!=typeof document?r.useLayoutEffect:function(){};function f(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;let n,r,o;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;0!==r--;)if(!f(e[r],t[r]))return!1;return!0}if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;0!==r--;)if(!{}.hasOwnProperty.call(t,o[r]))return!1;for(r=n;0!==r--;){const n=o[r];if(("_owner"!==n||!e.$$typeof)&&!f(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function d(e){if("undefined"==typeof window)return 1;return(e.ownerDocument.defaultView||window).devicePixelRatio||1}function p(e,t){const n=d(e);return Math.round(t*n)/n}function g(e){const t=r.useRef(e);return a(()=>{t.current=e}),t}const m=(e,t)=>{const n=(0,c.cY)(e);return{name:n.name,fn:n.fn,options:[e,t]}},v=(e,t)=>{const n=(0,c.BN)(e);return{name:n.name,fn:n.fn,options:[e,t]}},h=(e,t)=>{const n=(0,c.UU)(e);return{name:n.name,fn:n.fn,options:[e,t]}},y=(e,t)=>{const n=(0,c.Ej)(e);return{name:n.name,fn:n.fn,options:[e,t]}};const b={...o},w=b.useInsertionEffect||(e=>e());function T(e){const t=r.useRef(()=>{0});return w(()=>{t.current=e}),r.useCallback(function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return null==t.current?void 0:t.current(...n)},[])}const E="ArrowUp",C="ArrowDown",L="ArrowLeft",F="ArrowRight";var M="undefined"!=typeof document?r.useLayoutEffect:r.useEffect;const P=[L,F],x=[E,C];let R=!1,k=0;const H=()=>"floating-ui-"+Math.random().toString(36).slice(2,6)+k++;const S=b.useId||function(){const[e,t]=r.useState(()=>R?H():void 0);return M(()=>{null==e&&t(H())},[]),r.useEffect(()=>{R=!0},[]),e};function A(){const e=new Map;return{emit(t,n){var r;
1null==(r=e.get(t))||r.forEach(e=>e(n))},on(t,n){e.set(t,[...e.get(t)||[],n])},off(t,n){var r;e.set(t,(null==(r=e.get(t))?void 0:r.filter(e=>e!==n))||[])}}}const D=r.createContext(null),W=r.createContext(null),O=()=>{var e;return(null==(e=r.useContext(D))?void 0:e.id)||null},I=()=>r.useContext(W);const K="data-floating-ui-focusable";function N(e){void 0===e&&(e={});const{nodeId:t}=e,n=function(e){const{open:t=!1,onOpenChange:n,elements:o}=e,i=S(),l=r.useRef({}),[u]=r.useState(()=>A()),s=null!=O(),[c,a]=r.useState(o.reference),f=T((e,t,r)=>{l.current.openEvent=e?t:void 0,u.emit("openchange",{open:e,event:t,reason:r,nested:s}),null==n||n(e,t,r)}),d=r.useMemo(()=>({setPositionReference:a}),[]),p=r.useMemo(()=>({reference:c||o.reference||null,floating:o.floating||null,domReference:o.reference}),[c,o.reference,o.floating]);return r.useMemo(()=>({dataRef:l,open:t,onOpenChange:f,elements:p,events:u,floatingId:i,refs:d}),[t,f,p,u,i,d])}({...e,elements:{reference:null,floating:null,...e.elements}}),o=e.rootContext||n,i=o.elements,[l,m]=r.useState(null),[v,h]=r.useState(null),y=(null==i?void 0:i.domReference)||l,b=r.useRef(null),w=I();M(()=>{y&&(b.current=y)},[y]);const E=function(e){void 0===e&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:o=[],platform:i,elements:{reference:l,floating:u}={},transform:m=!0,whileElementsMounted:v,open:h}=e,[y,b]=r.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[w,T]=r.useState(o);f(w,o)||T(o);const[E,C]=r.useState(null),[L,F]=r.useState(null),M=r.useCallback(e=>{e!==k.current&&(k.current=e,C(e))},[]),P=r.useCallback(e=>{e!==H.current&&(H.current=e,F(e))},[]),x=l||E,R=u||L,k=r.useRef(null),H=r.useRef(null),S=r.useRef(y),A=null!=v,D=g(v),W=g(i),O=g(h),I=r.useCallback(()=>{if(!k.current||!H.current)return;const e={placement:t,strategy:n,middleware:w};W.current&&(e.platform=W.current),(0,c.rD)(k.current,H.current,e).then(e=>{const t={...e,isPositioned:!1!==O.current};K.current&&!f(S.current,t)&&(S.current=t,s.flushSync(()=>{b(t)}))})},[w,t,n,W,O]);a(()=>{!1===h&&S.current.isPositioned&&(S.current.isPositioned=!1,b(e=>({...e,isPositioned:!1})))},[h]);const K=r.useRef(!1);a(()=>(K.current=!0,()=>{K.current=!1}),[]),a(()=>{if(x&&(k.current=x),R&&(H.current=R),x&&R){if(D.current)return D.current(x,R,I);I()}},[x,R,I,D,A]);const N=r.useMemo(()=>({reference:k,floating:H,setReference:M,setFloating:P}),[M,P]),_=r.useMemo(()=>({reference:x,floating:R}),[x,R]),q=r.useMemo(()=>{const e={position:n,left:0,top:0};if(!_.floating)return e;const t=p(_.floating,y.x),r=p(_.floating,y.y);return m?{...e,transform:"translate("+t+"px, "+r+"px)",...d(_.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}},[n,m,_.floating,y.x,y.y]);return r.useMemo(()=>({...y,update:I,refs:N,elements:_,floatingStyles:q}),[y,I,N,_,q])}({...e,elements:{...i,...v&&{reference:v}}}),C=r.useCallback(e=>{const t=(0,u.vq)(e)?{getBoundingClientRect:()=>e.getBoundingClientRect(),contextElement:e}:e;h(t),E.refs.setReference(t)},[E.refs]),L=r.useCallback(e=>{((0,u.vq)(e)||null===e)&&(b.current=e,m(e)),((0,u.vq)(E.refs.reference.current)||null===E.refs.reference.current||null!==e&&!(0,u.vq)(e))&&E.refs.setReference(e)},[E.refs]),F=r.useMemo(()=>({...E.refs,setReference:L,setPositionReference:C,domReference:b}),[E.refs,L,C]),P=r.useMemo(()=>({...E.elements,domReference:y}),[E.elements,y]),x=r.useMemo(()=>({...E,...o,refs:F,elements:P,nodeId:t}),[E,F,P,t,o]);return M(()=>{o.dataRef.current.floatingContext=x;const e=null==w?void 0:w.nodesRef.current.find(e=>e.id===t);e&&(e.context=x)}),r.useMemo(()=>({...E,context:x,refs:F,elements:P}),[E,F,P,x])}const _="active",q="selected";function B(e,t,n){const r=new Map,o="item"===n;let i=e;if(o&&e){const{[_]:t,[q]:n,...r}=e;i=r}return{..."floating"===n&&{tabIndex:-1,[K]:""},...i,...t.map(t=>{const r=t?t[n]:null;return"function"==typeof r?e?r(e):null:r}).concat(e).reduce((e,t)=>t?(Object.entries(t).forEach(t=>{let[n,i]=t;var l;o&&[_,q].includes(n)||(0===n.indexOf("on")?(r.has(n)||r.set(n,[]),"function"==typeof i&&(null==(l=r.get(n))||l.push(i),e[n]=function(){for(var e,t=arguments.length,o=new Array(t),i=0;i<t;i++)o[i]=arguments[i];return null==(e=r.get(n))?void 0:e.map(e=>e(...o)).find(e=>void 0!==e)})):e[n]=i)}),e):e,{})}}function j(e,t){return{...e,rects:{...e.rects,floating:{...e.rects.floating,height:t}}}}var V=n(96992),$=n(95015),G=n(76339),U=n(47280);let Y=(0,r.createContext)({styles:void 0,setReference:()=>{},setFloating:()=>{},getReferenceProps:()=>({}),getFloatingProps:()=>({}),slot:{}});Y.displayName="FloatingContext";let z=(0,r.createContext)(null);function J(e){return(0,r.useMemo)(()=>e?"string"==typeof e?{to:e}:e:null,[e])}function X(){return(0,r.useContext)(Y).setReference}function Z(){return(0,r.useContext)(Y).getReferenceProps}function Q(){let{getFloatingProps:e,slot:t}=(0,r.useContext)(Y);return(0,r.useCallback)((...n)=>Object.assign({},e(...n),{"data-anchor":t.anchor}),[e,t])}function ee(e=null){!1===e&&(e=null),"string"==typeof e&&(e={to:e});let t=(0,r.useContext)(z),n=(0,r.useMemo)(()=>e,[JSON.stringify(e,(e,t)=>{var n;return null!=(n=null==t?void 0:t.outerHTML)?n:t})]);(0,G.s)(()=>{null==t||t(null!=n?n:null)},[t,n]);let o=(0,r.useContext)(Y);return(0,r.useMemo)(()=>[o.setFloating,e?o.styles:{}],[o.setFloating,e,o.styles])}z.displayName="PlacementContext";function te({children:e,enabled:t=!0}
1){let[n,o]=(0,r.useState)(null),[u,a]=(0,r.useState)(0),f=(0,r.useRef)(null),[d,p]=(0,r.useState)(null);!function(e){(0,G.s)(()=>{if(!e)return;let t=new MutationObserver(()=>{let t=window.getComputedStyle(e).maxHeight,n=parseFloat(t);if(isNaN(n))return;let r=parseInt(t);isNaN(r)||n!==r&&(e.style.maxHeight=`${Math.ceil(n)}px`)});return t.observe(e,{attributes:!0,attributeFilter:["style"]}),()=>{t.disconnect()}},[e])}(d);let g=t&&null!==n&&null!==d,{to:b="bottom",gap:w=0,offset:E=0,padding:C=0,inner:L}=function(e,t){var n,r,o;let i=ne(null!=(n=null==e?void 0:e.gap)?n:"var(--anchor-gap, 0)",t),l=ne(null!=(r=null==e?void 0:e.offset)?r:"var(--anchor-offset, 0)",t),u=ne(null!=(o=null==e?void 0:e.padding)?o:"var(--anchor-padding, 0)",t);return{...e,gap:i,offset:l,padding:u}}(n,d),[F,M="center"]=b.split(" ");(0,G.s)(()=>{g&&a(0)},[g]);let{refs:P,floatingStyles:x,context:R}=N({open:g,placement:"selection"===F?"center"===M?"bottom":`bottom-${M}`:"center"===M?`${F}`:`${F}-${M}`,strategy:"absolute",transform:!1,middleware:[m({mainAxis:"selection"===F?0:w,crossAxis:E}),v({padding:C}),"selection"!==F&&h({padding:C}),"selection"===F&&L?(S={...L,padding:C,overflowRef:f,offset:u,minItemsVisible:4,referenceOverflowThreshold:C,onFallbackChange(e){var t,n;if(!e)return;let r=R.elements.floating;if(!r)return;let o=parseFloat(getComputedStyle(r).scrollPaddingBottom)||0,i=Math.min(4,r.childElementCount),l=0,u=0;for(let e of null!=(n=null==(t=R.elements.floating)?void 0:t.childNodes)?n:[])if(U.sb(e)){let t=e.offsetTop,n=t+e.clientHeight+o,s=r.scrollTop,c=s+r.clientHeight;if(!(t>=s&&n<=c)){u=Math.max(0,Math.min(n,c)-Math.max(t,s)),l=e.clientHeight;break}i--}i>=1&&a(e=>{let t=l*i-u+o;return e>=t?e:t})}},{name:"inner",options:S,async fn(e){const{listRef:t,overflowRef:n,onFallbackChange:r,offset:o=0,index:i=0,minItemsVisible:u=4,referenceOverflowThreshold:a=0,scrollRef:f,...d}=(0,l._3)(S,e),{rects:p,elements:{floating:g}}=e,v=t.current[i],h=(null==f?void 0:f.current)||g,y=g.clientTop||h.clientTop,b=0!==g.clientTop,w=0!==h.clientTop,T=g===h;if(!v)return{};const E={...e,...await m(-v.offsetTop-g.clientTop-p.reference.height/2-v.offsetHeight/2-o).fn(e)},C=await(0,c.__)(j(E,h.scrollHeight+y+g.clientTop),d),L=await(0,c.__)(E,{...d,elementContext:"reference"}),F=(0,l.T9)(0,C.top),M=E.y+F,P=(h.scrollHeight>h.clientHeight?e=>e:l.LI)((0,l.T9)(0,h.scrollHeight+(b&&T||w?2*y:0)-F-(0,l.T9)(0,C.bottom)));if(h.style.maxHeight=P+"px",h.scrollTop=F,r){const e=h.offsetHeight<v.offsetHeight*(0,l.jk)(u,t.current.length)-1||L.top>=-a||L.bottom>=-a;s.flushSync(()=>r(e))}return n&&(n.current=await(0,c.__)(j({...E,y:M},h.offsetHeight+y+g.clientTop),d)),{y:M}}}):null,y({padding:C,apply({availableWidth:e,availableHeight:t,elements:n}){Object.assign(n.floating.style,{overflow:"auto",maxWidth:`${e}px`,maxHeight:`min(var(--anchor-max-height, 100vh), ${t}px)`})}})].filter(Boolean),whileElementsMounted:c.ll}),[k=F,H=M]=R.placement.split("-");var S;"selection"===F&&(k="selection");let A=(0,r.useMemo)(()=>({anchor:[k,H].filter(Boolean).join(" ")}),[k,H]),D=function(e,t){const{open:n,elements:o}=e,{enabled:l=!0,overflowRef:u,scrollRef:c,onChange:a}=t,f=T(a),d=r.useRef(!1),p=r.useRef(null),g=r.useRef(null);r.useEffect(()=>{if(!l)return;function e(e){if(e.ctrlKey||!t||null==u.current)return;const n=e.deltaY,r=u.current.top>=-.5,o=u.current.bottom>=-.5,l=t.scrollHeight-t.clientHeight,c=n<0?-1:1,a=n<0?"max":"min";t.scrollHeight<=t.clientHeight||(!r&&n>0||!o&&n<0?(e.preventDefault(),s.flushSync(()=>{f(e=>e+Math[a](n,l*c))})):/firefox/i.test(i())&&(t.scrollTop+=n))}const t=(null==c?void 0:c.current)||o.floating;return n&&t?(t.addEventListener("wheel",e),requestAnimationFrame(()=>{p.current=t.scrollTop,null!=u.current&&(g.current={...u.current})}),()=>{p.current=null,g.current=null,t.removeEventListener("wheel",e)}):void 0},[l,n,o.floating,u,c,f]);const m=r.useMemo(()=>({onKeyDown(){d.current=!0},onWheel(){d.current=!1},onPointerMove(){d.current=!1},onScroll(){const e=(null==c?void 0:c.current)||o.floating;if(u.current&&e&&d.current){if(null!==p.current){const t=e.scrollTop-p.current;(u.current.bottom<-.5&&t<-1||u.current.top<-.5&&t>1)&&s.flushSync(()=>f(e=>e+t))}requestAnimationFrame(()=>{p.current=e.scrollTop})}}}),[o.floating,f,u,c]);return r.useMemo(()=>l?{floating:m}:{},[l,m])}(R,{overflowRef:f,onChange:a}),{getReferenceProps:W,getFloatingProps:O}=function(e){void 0===e&&(e=[]);const t=e.map(e=>null==e?void 0:e.reference),n=e.map(e=>null==e?void 0:e.floating),o=e.map(e=>null==e?void 0:e.item),i=r.useCallback(t=>B(t,e,"reference"),t),l=r.useCallback(t=>B(t,e,"floating"),n),u=r.useCallback(t=>B(t,e,"item"),o);return r.useMemo(()=>({getReferenceProps:i,getFloatingProps:l,getItemProps:u}),[i,l,u])}([D]),I=(0,$._)(e=>{p(e),P.setFloating(e)});return r.createElement(z.Provider,{value:o},r.createElement(Y.Provider,{value:{setFloating:I,setReference:P.setReference,styles:x,getReferenceProps:W,getFloatingProps:O,slot:A}},e))}function ne(e,t,n=void 0){let o=(0,V.L)(),i=(0,$._)((e,t)=>{if(null==e)return[n,null];if("number"==typeof e)return[e,null];if("string"==typeof e){if(!t)return[n,null];let r=oe(e,t);return[r,n=>{let i=re(e);{let l=i.map(e=>window.getComputedStyle(t).getPropertyValue(e));o.requestAnimationFrame(function u(){o.nextFrame(u);let s=!1;for(let[e,n]of i.entries()){let r=window.getComputedStyle(t).getPropertyValue(n);if(l[e]!==r){l[e]=r,s=!0;break}}if(!s)return;let c=oe(e,t);r!==c&&(n(c),r=c)})}return o.dispose}]}return[n,null]}),l=(0,r.useMemo)(()=>i(e,t)[0],[e,t]),[u=l,s]=(0,r.useState)();return(0,G.s)(()=>{let[n,r]=i(e,t);if(s(n),r)return r(s)},[e,t]),u}function re(e){let t=/var\((.*)\)/.exec(e);if(t){let e=t[1].indexOf(",");if(-1===e)return[t[1]];
1let n=t[1].slice(0,e).trim(),r=t[1].slice(e+1).trim();return r?[n,...re(r)]:[n]}return[]}function oe(e,t){let n=document.createElement("div");t.appendChild(n),n.style.setProperty("margin-top","0px","important"),n.style.setProperty("margin-top",e,"important");let r=parseFloat(window.getComputedStyle(n).marginTop)||0;return t.removeChild(n),r}},9685(e,t,n){n.d(t,{l:()=>o});var r=n(47280);function o(e){let t=e.parentElement,n=null;for(;t&&!r.Er(t);)r.Jb(t)&&(n=t),t=t.parentElement;let o=""===(null==t?void 0:t.getAttribute("disabled"));return(!o||!function(e){if(!e)return!1;let t=e.previousElementSibling;for(;null!==t;){if(r.Jb(t))return!1;t=t.previousElementSibling}return!0}(n))&&o}},86723(e,t,n){n.d(t,{o:()=>G});var r=n(36233),o=n(1612),i=n(96540);const l="undefined"!=typeof document?i.useLayoutEffect:()=>{};function u(e){let t=e;return t.nativeEvent=e,t.isDefaultPrevented=()=>t.defaultPrevented,t.isPropagationStopped=()=>t.cancelBubble,t.persist=()=>{},t}function s(e,t){Object.defineProperty(e,"target",{value:t}),Object.defineProperty(e,"currentTarget",{value:t})}function c(e){let t=(0,i.useRef)({isFocused:!1,observer:null});return l(()=>{const e=t.current;return()=>{e.observer&&(e.observer.disconnect(),e.observer=null)}},[]),(0,i.useCallback)(n=>{let o=(0,r.wt)(n);if(o instanceof HTMLButtonElement||o instanceof HTMLInputElement||o instanceof HTMLTextAreaElement||o instanceof HTMLSelectElement){t.current.isFocused=!0;let n=o,i=r=>{if(t.current.isFocused=!1,n.disabled){let t=u(r);e?.(t)}t.current.observer&&(t.current.observer.disconnect(),t.current.observer=null)};n.addEventListener("focusout",i,{once:!0}),t.current.observer=new MutationObserver(()=>{if(t.current.isFocused&&n.disabled){t.current.observer?.disconnect();let e=n===(0,r.bq)()?null:(0,r.bq)();n.dispatchEvent(new FocusEvent("blur",{relatedTarget:e})),n.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:e}))}}),t.current.observer.observe(n,{attributes:!0,attributeFilter:["disabled"]})}},[e])}let a=!1;function f(e){if("undefined"==typeof window||null==window.navigator)return!1;let t=window.navigator.userAgentData?.brands;return Array.isArray(t)&&t.some(t=>e.test(t.brand))||e.test(window.navigator.userAgent)}function d(e){return"undefined"!=typeof window&&null!=window.navigator&&e.test(window.navigator.userAgentData?.platform||window.navigator.platform)}function p(e){let t=null;return()=>(null==t&&(t=e()),t)}const g=p(function(){return d(/^Mac/i)}),m=p(function(){return d(/^iPhone/i)}),v=p(function(){return d(/^iPad/i)||g()&&navigator.maxTouchPoints>1}),h=p(function(){return m()||v()}),y=(p(function(){return g()||h()}),p(function(){return f(/AppleWebKit/i)&&(h()||!b())})),b=(p(function(){return y()&&!b()&&!T()}),p(function(){return f(/Chrome|CriOS|CrMo/i)})),w=p(function(){return f(/Android/i)}),T=p(function(){return f(/(Firefox|FxiOS)/i)});function E(e){if(function(){if(null==C){C=!1;try{document.createElement("div").focus({get preventScroll(){return C=!0,!0}})}catch{}}return C}())e.focus({preventScroll:!0});else{let t=function(e){let t=e.parentNode,n=[],r=document.scrollingElement||document.documentElement;for(;t instanceof HTMLElement&&t!==r;)(t.offsetHeight<t.scrollHeight||t.offsetWidth<t.scrollWidth)&&n.push({element:t,scrollTop:t.scrollTop,scrollLeft:t.scrollLeft}),t=t.parentNode;r instanceof HTMLElement&&n.push({element:r,scrollTop:r.scrollTop,scrollLeft:r.scrollLeft});return n}(e);e.focus(),function(e){for(let{element:t,scrollTop:n,scrollLeft:r}of e)t.scrollTop=n,t.scrollLeft=r}(t)}}let C=null;function L(e,t,n=!0){let{metaKey:r,ctrlKey:o,altKey:i,shiftKey:l}=t;!y()&&T()&&window.event?.type?.startsWith("key")&&"_blank"===e.target&&(g()?r=!0:o=!0);let u=y()&&g()&&!v()?new KeyboardEvent("keydown",{keyIdentifier:"Enter",metaKey:r,ctrlKey:o,altKey:i,shiftKey:l}):new MouseEvent("click",{metaKey:r,ctrlKey:o,altKey:i,shiftKey:l,detail:1,bubbles:!0,cancelable:!0});L.isOpening=n,E(e),e.dispatchEvent(u),L.isOpening=!1}L.isOpening=!1;let F=null,M="keyboard";const P=new Set;let x=new Map,R=!1,k=!1;const H={Tab:!0,Escape:!0};function S(e,t){for(let n of P)n(e,t)}function A(e){R=!0,!L.isOpening&&function(e){return!(e.metaKey||!g()&&e.altKey||e.ctrlKey||"Control"
1===e.key||"Shift"===e.key||"Meta"===e.key)}(e)&&(F="keyboard",M="keyboard",S("keyboard",e))}function D(e){F="pointer",M="pointerType"in e?e.pointerType:"mouse","mousedown"!==e.type&&"pointerdown"!==e.type||(R=!0,S("pointer",e))}function W(e){var t;!L.isOpening&&(""===(t=e).pointerType&&t.isTrusted||(w()&&t.pointerType?"click"===t.type&&1===t.buttons:0===t.detail&&!t.pointerType))&&(R=!0,F="virtual",M="virtual")}function O(e){if(a)return;let t=(0,r.wt)(e),n=(0,o.mD)(t),i=(0,o.TW)(t);t!==n?t!==i&&e.isTrusted&&(R||k||(F="virtual",M="virtual",S("virtual",e)),R=!1,k=!1):k=!0}function I(){a||(R=!1,k=!0)}function K(e){if("undefined"==typeof window||"undefined"==typeof document)return;const t=(0,o.mD)(e),n=(0,o.TW)(e);if(x.get(t))return;let r=t.HTMLElement.prototype.focus;Reflect.defineProperty(t.HTMLElement.prototype,"focus",{configurable:!0,writable:!0,value:function(){R=!0,r.apply(this,arguments)}}),n.addEventListener("keydown",A,!0),n.addEventListener("keyup",A,!0),n.addEventListener("click",W,!0),t.addEventListener("focus",O,!0),t.addEventListener("blur",I,!1),"undefined"!=typeof PointerEvent&&(n.addEventListener("pointerdown",D,!0),n.addEventListener("pointermove",D,!0),n.addEventListener("pointerup",D,!0)),t.addEventListener("beforeunload",()=>{N(e)},{once:!0}),x.set(t,{focus:r})}const N=(e,t)=>{const n=(0,o.mD)(e),r=(0,o.TW)(e);t&&r.removeEventListener("DOMContentLoaded",t),x.has(n)&&(Reflect.defineProperty(n.HTMLElement.prototype,"focus",{configurable:!0,writable:!0,value:x.get(n).focus}),r.removeEventListener("keydown",A,!0),r.removeEventListener("keyup",A,!0),r.removeEventListener("click",W,!0),n.removeEventListener("focus",O,!0),n.removeEventListener("blur",I,!1),"undefined"!=typeof PointerEvent&&(r.removeEventListener("pointerdown",D,!0),r.removeEventListener("pointermove",D,!0),r.removeEventListener("pointerup",D,!0)),x.delete(n))};function _(){return"pointer"!==F}"undefined"!=typeof document&&function(e){const t=(0,o.TW)(e);let n;"loading"!==t.readyState?K(e):(n=()=>{K(e)},t.addEventListener("DOMContentLoaded",n))}();const q=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function B(e,t,n){K(),(0,i.useEffect)(()=>{if(!1===n?.enabled)return;let t=(t,i)=>{(function(e,t,n){let i=n?(0,r.wt)(n):void 0,l=(0,o.TW)(i),u=(0,o.mD)(i);const s=void 0!==u?u.HTMLInputElement:HTMLInputElement,c=void 0!==u?u.HTMLTextAreaElement:HTMLTextAreaElement,a=void 0!==u?u.HTMLElement:HTMLElement,f=void 0!==u?u.KeyboardEvent:KeyboardEvent;let d=(0,r.bq)(l);return!((e=e||d instanceof s&&!q.has(d.type)||d instanceof c||d instanceof a&&d.isContentEditable)&&"keyboard"===t&&n instanceof f&&!H[n.key])})(!!n?.isTextInput,t,i)&&e(_())};return P.add(t),()=>{P.delete(t)}},t)}function j(e){let{isDisabled:t,onFocus:n,onBlur:l,onFocusChange:u}=e;const s=(0,i.useCallback)(e=>{if((0,r.wt)(e)===e.currentTarget)return l&&l(e),u&&u(!1),!0},[l,u]),a=c(s),f=(0,i.useCallback)(e=>{let t=(0,r.wt)(e);const i=(0,o.TW)(t),l=i?(0,r.bq)(i):(0,r.bq)();t===e.currentTarget&&t===l&&(n&&n(e),u&&u(!0),a(e))},[u,n,a]);return{focusProps:{onFocus:!t&&(n||u||l)?f:void 0,onBlur:t||!l&&!u?void 0:s}}}var V=n(74876);function $(e){let{isDisabled:t,onBlurWithin:n,onFocusWithin:l,onFocusWithinChange:a}=e,f=(0,i.useRef)({isFocusWithin:!1}),{addGlobalListener:d,removeAllGlobalListeners:p}=(0,V.A)(),g=(0,i.useCallback)(e=>{(0,r.sD)(e.currentTarget,(0,r.wt)(e))&&f.current.isFocusWithin&&!(0,r.sD)(e.currentTarget,e.relatedTarget)&&(f.current.isFocusWithin=!1,p(),n&&n(e),a&&a(!1))},[n,a,f,p]),m=c(g),v=(0,i.useCallback)(e=>{if(!(0,r.sD)(e.currentTarget,(0,r.wt)(e)))return;let t=(0,r.wt)(e);const n=(0,o.TW)(t),i=(0,r.bq)(n);if(!f.current.isFocusWithin&&i===t){l&&l(e),a&&a(!0),f.current.isFocusWithin=!0,m(e);let t=e.currentTarget;d(n,"focus",e=>{let o=(0,r.wt)(e);if(f.current.isFocusWithin&&!(0,r.sD)(t,o)){let e=new n.defaultView.FocusEvent("blur",{relatedTarget:o});s(e,t);let r=u(e);g(r)}},{capture:!0})}},[l,a,m,d,g]);return t?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:v,onBlur:g}}}function G(e={}){let{autoFocus:t=!1,isTextInput:n,within:r}=e,o=(0,i.useRef)({isFocused:!1,isFocusVisible:t||_()}),[l,u]=(0,i.useState)(!1),[s,c]=(0,i.useState)(()=>o.current.isFocused&&o.current.isFocusVisible),a=(0,i.useCallback)(()=>c(o.current.isFocused&&o.current.isFocusVisible),[]),f=(0,i.useCallback)(e=>{o.current.isFocused=e,o.current.isFocusVisible=_(),u(e),a()},[a]);B(e=>{o.current.isFocusVisible=e,a()},[n,l],{enabled:l,isTextInput:n});let{focusProps:d}
1=j({isDisabled:r,onFocusChange:f}),{focusWithinProps:p}=$({isDisabled:!r,onFocusWithinChange:f});return{isFocused:l,isFocusVisible:s,focusProps:r?p:d}}},68068(e,t,n){n.d(t,{M:()=>f});var r=n(36233),o=n(1612),i=n(74876),l=n(96540);let u=!1,s=0;function c(e){"touch"===e.pointerType&&(u=!0,setTimeout(()=>{u=!1},500))}function a(){let e=(0,o.TW)(null);if(void 0!==e)return 0===s&&"undefined"!=typeof PointerEvent&&e.addEventListener("pointerup",c),s++,()=>{s--,s>0||"undefined"!=typeof PointerEvent&&e.removeEventListener("pointerup",c)}}function f(e){let{onHoverStart:t,onHoverChange:n,onHoverEnd:s,isDisabled:c}=e,[f,d]=(0,l.useState)(!1),p=(0,l.useRef)({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;(0,l.useEffect)(a,[]);let{addGlobalListener:g,removeAllGlobalListeners:m}=(0,i.A)(),{hoverProps:v,triggerHoverEnd:h}=(0,l.useMemo)(()=>{let e=(e,t)=>{let r=p.target;p.pointerType="",p.target=null,"touch"!==t&&p.isHovered&&r&&(p.isHovered=!1,m(),s&&s({type:"hoverend",target:r,pointerType:t}),n&&n(!1),d(!1))},i={};return"undefined"!=typeof PointerEvent&&(i.onPointerEnter=i=>{u&&"mouse"===i.pointerType||((i,l)=>{if(p.pointerType=l,c||"touch"===l||p.isHovered||!(0,r.sD)(i.currentTarget,(0,r.wt)(i)))return;p.isHovered=!0;let u=i.currentTarget;p.target=u,g((0,o.TW)((0,r.wt)(i)),"pointerover",t=>{p.isHovered&&p.target&&!(0,r.sD)(p.target,(0,r.wt)(t))&&e(t,t.pointerType)},{capture:!0}),t&&t({type:"hoverstart",target:u,pointerType:l}),n&&n(!0),d(!0)})(i,i.pointerType)},i.onPointerLeave=t=>{!c&&(0,r.sD)(t.currentTarget,(0,r.wt)(t))&&e(t,t.pointerType)}),{hoverProps:i,triggerHoverEnd:e}},[t,n,s,c,p,g,m]);return(0,l.useEffect)(()=>{c&&h({currentTarget:p.target},p.pointerType)},[c]),{hoverProps:v,isHovered:f}}},1612(e,t,n){n.d(t,{Ng:()=>i});const r=e=>{return"object"==typeof(t=e)&&null!=t&&"window"in t&&t.window===t?e.document:function(e){return o(e)&&9===e.nodeType}(e)?e:e?.ownerDocument??("undefined"!=typeof document?document:void 0);var t};function o(e){return null!==e&&"object"==typeof e&&"nodeType"in e&&"number"==typeof e.nodeType}function i(e){return o(e)&&11===e.nodeType&&"host"in e}n.d(t,["TW",0,r,"mD",0,e=>{let t=r(e);return t?.defaultView??("undefined"!=typeof window?window:void 0)}])},36233(e,t,n){n.d(t,{bq:()=>u,wt:()=>s,sD:()=>l});var r=n(1612);let o=!1;function i(){return o}function l(e,t){if(!i())return!(!t||!e)&&e.contains(t);if(!e||!t)return!1;let n=t;for(;null!==n;){if(n===e)return!0;n="function"!=typeof n.assignedElements&&n.assignedSlot?.parentNode?n.assignedSlot.parentNode:(0,r.Ng)(n)?n.host:n.parentNode}return!1}const u=(e=document)=>{if(!i())return e.activeElement;let t=e.activeElement;for(;t&&"shadowRoot"in t&&t.shadowRoot?.activeElement;)t=t.shadowRoot.activeElement;return t};function s(e){if(i()&&e.target instanceof Element&&e.target.shadowRoot){if("composedPath"in e)return e.composedPath()[0]??null;if("composedPath"in e.nativeEvent)return e.nativeEvent.composedPath()[0]??null}return e.target}},74876(e,t,n){n.d(t,{A:()=>o});var r=n(96540);function o(){let e=(0,r.useRef)(new Map),t=(0,r.useCallback)((t,n,r,o)=>{let i=o?.once?(...t)=>{e.current.delete(r),r(...t)}:r;e.current.set(r,{type:n,eventTarget:t,fn:i,options:o}),t.addEventListener(n,i,o)},[]),n=(0,r.useCallback)((t,n,r,o)=>{let i=e.current.get(r)?.fn||r;t.removeEventListener(n,i,o),e.current.delete(r)},[]),o=(0,r.useCallback)(()=>{e.current.forEach((e,t)=>{n(e.eventTarget,e.type,t,e.options)})},[n]);return(0,r.useEffect)(()=>o,[o]),{addGlobalListener:t,removeGlobalListener:n,removeAllGlobalListeners:o}}}}]);
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.