You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
144 KiB
JavaScript

"use strict";(globalThis.webpackChunkweb_stories_wp=globalThis.webpackChunkweb_stories_wp||[]).push([[3669],{2039:(e,t,r)=>{r.d(t,{default:()=>i});var n,o=r(67294);function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a.apply(this,arguments)}const SvgArrowLeftLarge=e=>{let{title:t,titleId:r,...i}=e;return o.createElement("svg",a({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32","aria-labelledby":r},i),t?o.createElement("title",{id:r},t):null,n||(n=o.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M16.355 6.854a.5.5 0 0 0-.707-.708l-9.48 9.484a.499.499 0 0 0 0 .743l9.48 9.483a.5.5 0 0 0 .707-.707L7.71 16.5H25.5a.5.5 0 1 0 0-1H7.71l8.645-8.647Z",clipRule:"evenodd"})))},i=(0,o.memo)(SvgArrowLeftLarge)},98477:(e,t,r)=>{r.d(t,{default:()=>i});var n,o=r(67294);function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a.apply(this,arguments)}const SvgBox4=e=>{let{title:t,titleId:r,...i}=e;return o.createElement("svg",a({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32","aria-labelledby":r},i),t?o.createElement("title",{id:r},t):null,n||(n=o.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M9.5 8A1.5 1.5 0 0 0 8 9.5v4A1.5 1.5 0 0 0 9.5 15h4a1.5 1.5 0 0 0 1.5-1.5v-4A1.5 1.5 0 0 0 13.5 8h-4ZM9 9.5a.5.5 0 0 1 .5-.5h4a.5.5 0 0 1 .5.5v4a.5.5 0 0 1-.5.5h-4a.5.5 0 0 1-.5-.5v-4ZM18.5 8A1.5 1.5 0 0 0 17 9.5v4a1.5 1.5 0 0 0 1.5 1.5h4a1.5 1.5 0 0 0 1.5-1.5v-4A1.5 1.5 0 0 0 22.5 8h-4ZM18 9.5a.5.5 0 0 1 .5-.5h4a.5.5 0 0 1 .5.5v4a.5.5 0 0 1-.5.5h-4a.5.5 0 0 1-.5-.5v-4ZM9.5 17A1.5 1.5 0 0 0 8 18.5v4A1.5 1.5 0 0 0 9.5 24h4a1.5 1.5 0 0 0 1.5-1.5v-4a1.5 1.5 0 0 0-1.5-1.5h-4ZM9 18.5a.5.5 0 0 1 .5-.5h4a.5.5 0 0 1 .5.5v4a.5.5 0 0 1-.5.5h-4a.5.5 0 0 1-.5-.5v-4Zm9.5-1.5a1.5 1.5 0 0 0-1.5 1.5v4a1.5 1.5 0 0 0 1.5 1.5h4a1.5 1.5 0 0 0 1.5-1.5v-4a1.5 1.5 0 0 0-1.5-1.5h-4Zm-.5 1.5a.5.5 0 0 1 .5-.5h4a.5.5 0 0 1 .5.5v4a.5.5 0 0 1-.5.5h-4a.5.5 0 0 1-.5-.5v-4Z",clipRule:"evenodd"})))},i=(0,o.memo)(SvgBox4)},30648:(e,t,r)=>{r.d(t,{default:()=>i});var n,o=r(67294);function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a.apply(this,arguments)}const SvgCheckmark=e=>{let{title:t,titleId:r,...i}=e;return o.createElement("svg",a({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32","aria-labelledby":r},i),t?o.createElement("title",{id:r},t):null,n||(n=o.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M23.847 10.14a.5.5 0 0 1 .013.707l-10.625 11a.5.5 0 0 1-.72 0L8.14 17.318a.5.5 0 0 1 .72-.695l4.015 4.157L23.14 10.153a.5.5 0 0 1 .707-.013Z",clipRule:"evenodd"})))},i=(0,o.memo)(SvgCheckmark)},61887:(e,t,r)=>{r.d(t,{default:()=>i});var n,o=r(67294);function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a.apply(this,arguments)}const SvgCheckmarkSmall=e=>{let{title:t,titleId:r,...i}=e;return o.createElement("svg",a({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32","aria-labelledby":r},i),t?o.createElement("title",{id:r},t):null,n||(n=o.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M19.853 13.145a.5.5 0 0 1 .003.707l-4.959 5.004a.5.5 0 0 1-.71 0l-2.042-2.06a.5.5 0 0 1 .71-.705l1.687 1.702 4.603-4.645a.5.5 0 0 1 .708-.003Z",clipRule:"evenodd"})))},i=(0,o.memo)(SvgCheckmarkSmall)},76517:(e,t,r)=>{r.d(t,{default:()=>i});var n,o=r(67294);function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a.apply(this,arguments)}con
(0,s._n)("less than %s min","less than %s mins",e,"web-stories"),String(e)),xMinutes:e=>(0,l.default)(/* translators: Time difference between two dates, in minutes. %s: Number of minutes. */
(0,s._n)("%s minute","%s minutes",e,"web-stories"),String(e)),aboutXHours:e=>1===e?(0,s.__)("an hour","web-stories"):(0,l.default)(/* translators: Time difference between two dates, in hours. %s: Number of hours. */
(0,s._n)("%s hour","%s hours",e,"web-stories"),String(e)),xHours:e=>(0,l.default)(/* translators: Time difference between two dates, in hours. %s: Number of hours. */
(0,s._n)("%s hour","%s hours",e,"web-stories"),String(e))};function d(e,t,r){r=r||{};const n=c[e](t);return r.addSuffix?(r.comparison||0)>0?(0,l.default)(/* translators: %s: Human-readable time difference. */
(0,s.__)("in %s","web-stories"),n):(0,l.default)(/* translators: %s: Human-readable time difference. */
(0,s.__)("%s ago","web-stories"),n):n}const u=function(){const e=(0,i.getSettings)(),{timezone:t,gmtOffset:r}=e;return t||(Number.isNaN(Number(r))?"+00":function(e){const t=e<0?"-":"+",r=Math.abs(e),n=r<=12,o=n?Math.round(r%1*60):Math.round(r%60),a=n?Math.floor(r):Math.floor(r/60),i=String(a).padStart(2,"0");if(o>0)return`${t}${i}:${String(o).padStart(2,"0")}`;return`${t}${i}`}(r))};const p=function(){const e=(0,i.getSettings)(),{locale:t,weekStartsOn:r,months:n,monthsShort:l,weekdays:s,weekdaysShort:c,weekdaysInitials:p}=e,f={narrow:l||["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:l||["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:n||["January","February","March","April","May","June","July","August","September","October","November","December"]},m={narrow:p||["S","M","T","W","T","F","S"],short:c||["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:c||["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:s||["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},g={...o().localize,month:a({values:f,defaultWidth:"wide"}),day:a({values:m,defaultWidth:"wide"})},h={...o(),code:t||o().code,formatDistance:d,localize:g,options:{weekStartsOn:r}};return{weekStartsOn:r,timeZone:u(),locale:h}}},40877:(e,t,r)=>{r.d(t,{getSettings:()=>i,updateSettings:()=>a});const n={dateFormat:"F j, Y",timeFormat:"g:i a",gmtOffset:0,timezone:"",timezoneAbbr:"",weekStartsOn:0};let o={...n};function a(e){o={...o,...e}}function i(){return o}},58228:(e,t,r)=>{r.d(t,{Button:()=>N,ButtonAsLink:()=>L});var n=r(67294),o=r(69845),a=r(12788),i=r(41708),l=r(38668),s=r(72165),c=r(85703),d=r(5574);const u=(0,a.css)(["display:flex;align-items:center;justify-content:space-around;padding:0;margin:0;background:transparent;border:none;cursor:pointer;color:",";",";",";&:active{background-color:",";color:",";}&:disabled,&[aria-disabled='true']{pointer-events:none;background-color:",";color:",";}transition:background-color ",",color ",";"],(e=>{let{theme:t}=e;return t.colors.fg.primary}),(e=>{let{theme:t}=e;return i.focusableOutlineCSS(t.colors.border.focus)}),(e=>{let{theme:t,size:r}=e;return l.expandPresetStyles({preset:{...t.typography.presets.label[r===d.ButtonSize.Small?s.TextSize.Small:s.TextSize.Medium]},theme:t})}),(e=>{let{theme:t}=e;return t.colors.interactiveBg.active}),(e=>{let{theme:t}=e;return t.colors.interactiveFg.active}),(e=>{let{theme:t}=e;return t.colors.interactiveBg.disable}),(e=>{let{theme:t}=e;return t.colors.fg.disable}),d.BUTTON_TRANSITION_TIMING,d.BUTTON_TRANSITION_TIMING),p=(0,a.css)(["&:hover,&:focus{color:",";}"],(e=>{let{theme:t}=e;return t.colors.interactiveFg.active})),f={[d.ButtonType.Primary]:e=>{let{theme:t}=e;return(0,a.css)(["background-color:",";color:",";&:active{background-color:",";color:",";}&:hover,&:focus{background-color:",";color:"," !important;}"],t.colors.interactiveBg.brandNormal,t.colors.interactiveFg.brandNormal,t.colors.interactiveBg.active,t.colors.interactiveFg.active,t.colors.interactiveBg.brandHover,t.colors.interactiveFg.brandHover)},[d.ButtonType.Secondary]:e=>{let{theme:t}=e;return(0,a.css)(["background-color:",";&:hover,&:focus{background-color:",";}&:disabled{&:hover,&:focus{background-color:",";}}"],t.colors.interactiveBg.secondaryNormal,t.colors.interactiveBg.secondaryHover,t.colors.interactiveBg.disable)},[d.ButtonType.Tertiary]:e=>{let{theme:t}=e;return(0,a.css)(["background-color:",";&:hover,&:focus{background-color:",";}&:disabled,&[aria-disabled='true']{background-color:",";&:hover,&:focus{background-color:",";}}"],t.colors.interactiveBg.tertiaryNormal,t.colors.interactiveBg.tertiaryHover,t.colors.interactiveBg.tertiaryNormal,t.colors.interactiveBg.tertiaryNormal)},[d.ButtonType.Quaternary]:e=>{let{theme:t}=e;return(0,a.css)(["background-color:",";border:1px solid ",";&:hover{border-color:",";}&:focus{box-shadow:none;border-color:",";}&:active{border-color:",";background-color:",";}",";"," &:disabled,&[aria-disabled='true']{border-color:",";background-color:",";}"],t.colors.interactiveBg.quaternaryNormal,t.colors.border.defaultNormal,t.colors.bo
(0,l._n)("%d result found, use left and right or up and down arrow keys to navigate.","%d results found, use left and right or up and down arrow keys to navigate.",t.length,"web-stories"),String(t.length)):(0,l.__)("No results found.","web-stories");s(e)}}),[n,t.length,s]),{activeOption:u,groups:d,isOpen:n,setIsOpen:c}}({options:C,selectedValue:T}),D=(0,o.useCallback)((e=>{if(!e.current)return;const{bottom:t,top:r}=e.current.getBoundingClientRect();B.startsWith("bottom")&&t>=window.innerHeight&&z(c.Placement.Top),B.startsWith("top")&&r<=0&&z(c.Placement.Bottom)}),[B]),F=(0,o.useCallback)((e=>{e.preventDefault(),P((e=>!e))}),[P]),$=(0,o.useCallback)((()=>{P(!1),M.current?.focus(),z(O)}),[P,M,O]),W=(0,o.useCallback)(((e,t)=>{E?.(e,t),S||$()}),[$,S,E]),q=(0,o.useMemo)((()=>`list-${(0,a.default)()}`),[]),V=(0,o.useMemo)((()=>`select-button-${(0,a.default)()}`),[]),Z=n.createElement(s.default,w({activeValue:A?.value,parentId:V,listId:q,menuAriaLabel:(0,i.default)(/* translators: %s: dropdown aria label or general dropdown label if there is no specific aria label. */
(0,l.__)("%s Option List Selector","web-stories"),r||f),onDismissMenu:$,handleMenuItemSelect:W,groups:H,isAbsolute:k},R));return n.createElement(g,{className:L},n.createElement(b.default,w({activeItemLabel:A?.label,"aria-pressed":j,"aria-disabled":p,"aria-expanded":j,"aria-label":r||f,"aria-owns":q,disabled:p,dropDownLabel:f,hasError:m,id:V,isOpen:j,onSelectClick:F,direction:N,ref:M},R)),!p&&k?j&&Z:n.createElement(d.default,{anchor:M,isOpen:j,placement:B,refCallback:D,fillWidth:_,zIndex:I,ignoreMaxOffsetY:!0},Z),x&&n.createElement(h,{hasError:m},x))}))},88442:(e,t,r)=>{r.d(t,{default:()=>g});var n=r(67294),o=r(69845),a=r(73829),i=r(12788),l=r(41708),s=r(72165),c=r(6992);const d=i.default.button.withConfig({displayName:"select__SelectButton",componentId:"sc-9ab8mb-0"})((e=>{let{theme:t,hasError:r,$isOpen:n,selectButtonStylesOverride:o,autoHeight:a}=e;return(0,i.css)(["width:100%;height:",";display:flex;align-items:center;justify-content:space-between;border-radius:",";background-color:",";border:1px solid ",";padding:8px 12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:pointer;"," &:hover{border-color:",";}"," &:disabled{pointer-events:none;border-color:",";&:hover{border-color:",";}label,span,svg{color:",";}}",";"],a?"auto":"36px",t.borders.radius.small,t.colors.opacity.footprint,t.colors.border[n?"defaultActive":"defaultNormal"],l.focusableOutlineCSS,t.colors.border[n?"defaultActive":"defaultHover"],r&&(0,i.css)([""," border-color:",";&:active,&:hover,&:focus{border-color:",";}"],l.focusableOutlineCSS(t.colors.interactiveBg.negativeNormal),t.colors.interactiveBg.negativeNormal,t.colors.interactiveBg.negativeHover),t.colors.border.disable,t.colors.border.disable,t.colors.fg.disable,o)})),u=(0,i.default)(c.Text.Span).attrs({size:s.TextSize.Small}).withConfig({displayName:"select__Value",componentId:"sc-9ab8mb-1"})(["max-width:100%;padding-right:12px;color:",";white-space:nowrap;overflow:hidden;text-overflow:ellipsis;",";"],(e=>{let{theme:t}=e;return t.colors.fg.primary}),(e=>{let{selectValueStylesOverride:t}=e;return t})),p=(0,i.default)(c.Text.Span).attrs({size:s.TextSize.Small}).withConfig({displayName:"select__LabelText",componentId:"sc-9ab8mb-2"})(["color:",";padding-right:8px;white-space:nowrap;overflow:hidden;text-overflow:clip;"],(e=>{let{theme:t}=e;return t.colors.fg.secondary})),f=i.default.span.withConfig({displayName:"select__Label",componentId:"sc-9ab8mb-3"})(["display:flex;align-items:center;color:",";cursor:pointer;"],(e=>{let{theme:t}=e;return t.colors.fg.secondary}));function m(){return m=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},m.apply(this,arguments)}const g=(0,o.forwardRef)(((e,t)=>{let{activeItemLabel:r,activeItemRenderer:o,disabled:i,dropDownLabel:l,hasError:s,isOpen:c,onSelectClick:g,placeholder:h="",direction:b="down",...y}=e;const v=o;return n.createElement(d,m({"aria-haspopup":!0,$isOpen:c,disabled:i,hasError:s,onClick:g,ref:t,autoHeight:Boolean(o)},y),v?n.createElement(v,null):n.createElement(u,{selectValueStylesOverride:y.selectValueStylesOverride},r||h),n.createElement(f,null,l&&n.createElement(p,null,l),n.createElement(a.default,{direction:b,$isOpen:c})))}))},61736:(e,t,r)=>{r.d(t,{default:()=>b});var n=r(67294),o=(r(67602),r(30005),r(69845)),a=r(12788),i=r(31338),l=r(72165),s=r(92414),c=r(6992);const d=a.default.div.withConfig({displayName:"infiniteScroller__ScrollMessage",componentId:"sc-smx7an-0"})(["width:100%;padding:140px 0 40px;margin:-100px auto 0;text-align:center;p{color:",";}"],(e=>{let{theme:t}=e;return t.colors.fg.tertiary})),u=a.default.div.withConfig({displayName:"infiniteScroller__LoadingContainer",componentId:"sc-smx7an-1"})(["display:flex;justify-content:center;"]),p=a.default.span.withConfig({displayName:"infiniteScroller__AriaOnlyAlert",componentId:"sc-smx7an-2"})(["",""],i.visuallyHidden);var f=function(e){return e.Loadable="loadable",e.LoadingInternal="loading_internal",e.LoadingExternal="loading_external",e.Com
(0,o.__)("%1$s or %2$s","web-stories"),e[0],e[1]);default:return(0,n.default)(/* translators: %1$s: is a comma separated list. %2$s: last entry in list */
(0,o.__)("%1$s, or %2$s","web-stories"),e.slice(0,e.length-1).join(/* translators: delimiter used in a list */
(0,o.__)(", ","web-stories")),e[e.length-1])}}},13013:(e,t,r)=>{r.d(t,{default:()=>s});var n=r(67294),o=(r(41792),r(67602),r(53476),r(69845));r(70560);function a(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const r=[];do{r.push(i(e,t)),e=e.nextSibling}while(null!==e);return r}function i(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{childNodes:r,nodeType:n,textContent:i}=e;if(Node.TEXT_NODE===n)return i;const l=e.hasChildNodes()?Array.from(r).map((e=>a(e,t))):null,{localName:s}=e;return s in t?(0,o.cloneElement)(t[s],{},l):(0,o.createElement)(s,null,l)}const l=["area","base","br","col","embed","hr","img","input","link","meta","param","source","track","wbr"];const s=function TranslateWithMarkup(e){let{mapping:t={},children:r}=e;t=Object.fromEntries(Object.entries(t).map((e=>{let[t,r]=e;return[t.toLowerCase(),r]})));const i=Object.keys(t).filter((e=>l.includes(e))).join(" ");if(i.length>0)throw new Error(`Found disallowed void elements in TranslateWithMarkup map: ${i}`);const s=(new DOMParser).parseFromString(r,"text/html").body.firstChild;return s?n.createElement(o.Fragment,null,a(s,t).map(((e,t)=>n.createElement(o.Fragment,{key:t},e)))):null}},60298:(e,t,r)=>{r.d(t,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__=function(e){let{src:t,srcset:r,width:n,height:o}=e;return new Promise(((e,a)=>{const i=new window.Image(n?Number(n):void 0,o?Number(o):void 0);i.onload=()=>e(i),i.onerror=a,i.decoding="async",i.crossOrigin="anonymous",r&&(i.srcset=r),i.src=t}))}},84158:(e,t,r)=>{r.d(t,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__=function(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1;return 1!==n?{color:{r:e,g:t,b:r,a:n}}:{color:{r:e,g:t,b:r}}}},80448:(e,t,r)=>{r.d(t,{default:()=>__WEBPACK_DEFAULT_EXPORT__});var n=r(84967),o=r(84158);const __WEBPACK_DEFAULT_EXPORT__=function(e){const t=(0,n.parseToRgb)(e),{red:r,green:a,blue:i}=t,l="alpha"in t?t.alpha:void 0;return(0,o.default)(r,a,i,l)}},35389:(e,t,r)=>{r.d(t,{createContext:()=>n.createContext,identity:()=>o,useContext:()=>n.useContext});var n=r(44682);const o=e=>e},77780:(e,t,r)=>{r.d(t,{default:()=>__WEBPACK_DEFAULT_EXPORT__});var n=r(28544);const __WEBPACK_DEFAULT_EXPORT__=function(e,t){return e===t||(Array.isArray(e)&&Array.isArray(t)?(0,n.shallowEqualArrays)(e,t):"object"==typeof e&&"object"==typeof t&&(0,n.shallowEqualObjects)(e,t))}},12439:(e,t,r)=>{r.d(t,{default:()=>__WEBPACK_DEFAULT_EXPORT__});var n=r(73935),o=r(67294);const __WEBPACK_DEFAULT_EXPORT__=function(e,t){return(0,o.useCallback)((function(){for(var t=arguments.length,r=new Array(t),o=0;o<t;o++)r[o]=arguments[o];return(0,n.unstable_batchedUpdates)((()=>e(...r)))}),t)}},81967:(e,t,r)=>{r.d(t,{default:()=>__WEBPACK_DEFAULT_EXPORT__});r(67602),r(30005);var n=r(67294);const __WEBPACK_DEFAULT_EXPORT__=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];const o=(0,n.useRef)(t);return o.current=t,(0,n.useCallback)((e=>{o.current.forEach((t=>{"function"!=typeof t?t&&(t.current=e):t(e)}))}),[])}},14714:(e,t,r)=>{r.d(t,{default:()=>__WEBPACK_DEFAULT_EXPORT__});var n=r(44682),o=r(67294),a=r(77780);const __WEBPACK_DEFAULT_EXPORT__=function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:a.default;const i=(0,o.useRef)();return(0,n.useContextSelector)(e,(e=>{const n=t(e);return i.current&&r(i.current,n)?i.current:(i.current=n,n)}))}},94547:(e,t,r)=>{r.d(t,{default:()=>__WEBPACK_DEFAULT_EXPORT__});var n=r(67294);const __WEBPACK_DEFAULT_EXPORT__=function(e,t,r){(0,n.useLayoutEffect)((()=>{const r=e?.current;if(!r)return;const n=e=>{e.relatedTarget&&!r.contains(e.relatedTarget)&&t(e)},o=e=>{r.contains(e.target)||t(e)};r.addEventListener("focusout",n);const a={capture:!0},i=r.ownerDocument;return i.addEventListener("pointerdown",o,a),()=>{r.removeEventListener("focusout",n),i.removeEventListener("pointerdown",o,a)}}),r||[])}},2780:(e,t,r)=>{r.d(t,{default:()=>o});var n=r(67294);function o(e){const t=(0,n.useRef)();return(0,n.useEffect)((()=>{t.current=e