"use strict";(this.webpackChunk_gorgias_chat_client=this.webpackChunk_gorgias_chat_client||[]).push([[108],{61691:(n,t,e)=>{e.r(t),e.d(t,{default:()=>yt});var r=e(64310),o=e(21253),u=function(n){var t=n.sideCar,e=(0,r.Tt)(n,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var u=t.read();if(!u)throw new Error("Sidecar medium not found");return o.createElement(u,(0,r.Cl)({},e))};function i(n,t){return n.useMedium(t),u}u.isSideCarExport=!0;var c=e(90911),a=e(34673);const f=function(n,t){return function(e){var r,u=[];function i(){r=n(u.map(function(n){return n.props})),t(r)}var f=function(n){function t(){return n.apply(this,arguments)||this}(0,c.A)(t,n),t.peek=function(){return r};var a=t.prototype;return a.componentDidMount=function(){u.push(this),i()},a.componentDidUpdate=function(){i()},a.componentWillUnmount=function(){var n=u.indexOf(this);u.splice(n,1),i()},a.render=function(){return o.createElement(e,this.props)},t}(o.PureComponent);return(0,a.A)(f,"displayName","SideEffect("+function(n){return n.displayName||n.name||"Component"}(e)+")"),f}};var d=e(78038),l=function(n){for(var t=Array(n.length),e=0;e=0}).sort(A)},T=["button:enabled","select:enabled","textarea:enabled","input:enabled","a[href]","area[href]","summary","iframe","object","embed","audio[controls]","video[controls]","[tabindex]","[contenteditable]","[autofocus]"].join(","),S="".concat(T,", [data-focus-guard]"),D=function(n,t){return l((n.shadowRoot||n).children).reduce(function(n,e){return n.concat(e.matches(t?S:T)?[e]:[],D(e))},[])},L=function(n,t){var e;return n instanceof HTMLIFrameElement&&(null===(e=n.contentDocument)||void 0===e?void 0:e.body)?C([n.contentDocument.body],t):[n]},C=function(n,t){return n.reduce(function(n,e){var r,o=D(e,t),u=(r=[]).concat.apply(r,o.map(function(n){return L(n,t)}));return n.concat(u,e.parentNode?l(e.parentNode.querySelectorAll(T)).filter(function(n){return n===e}):[])},[])},I=function(n,t){return l(n).filter(function(n){return g(t,n)}).filter(function(n){return function(n){return!((w(n)||function(n){return"BUTTON"===n.tagName}(n))&&("hidden"===n.type||n.disabled))}(n)})},R=function(n,t){return void 0===t&&(t=new Map),l(n).filter(function(n){return y(t,n)})},_=function(n,t,e){return k(I(C(n,e),t),!0,e)},P=function(n,t){return k(I(C(n),t),!1)},W=function(n,t){return I(function(n){var t=n.querySelectorAll("[".concat(d.Lw,"]"));return l(t).map(function(n){return C([n])}).reduce(function(n,t){return n.concat(t)},[])}(n),t)},F=function(n,t){return n.shadowRoot?F(n.shadowRoot,t):!(void 0===Object.getPrototypeOf(n).contains||!Object.getPrototypeOf(n).contains.call(n,t))||l(n.children).some(function(n){var e;if(n instanceof HTMLIFrameElement){var r=null===(e=n.contentDocument)||void 0===e?void 0:e.body;return!!r&&F(r,t)}return F(n,t)})},B=function(n){if(void 0===n&&(n=document),n&&n.activeElement){var t=n.activeElement;return t.shadowRoot?B(t.shadowRoot):t instanceof HTMLIFrameElement&&function(n){try{return n()}catch(t){return}}(function(){return t.contentWindow.document})?B(t.contentWindow.document):t}},j=function(n){return n.parentNode?j(n.parentNode):n},U=function(n){return s(n).filter(Boolean).reduce(function(n,t){var e=t.getAttribute(d.dt);return n.push.apply(n,e?function(n){for(var t=new Set,e=n.length,r=0;r0&&t.add(o),(u&Node.DOCUMENT_POSITION_CONTAINS)>0&&t.add(r)}return n.filter(function(n,e){return!t.has(e)})}(l(j(t).querySelectorAll("[".concat(d.dt,'="').concat(e,'"]:not([').concat(d.iY,'="disabled"])')))):[t]),n},[])},X=function(n,t){return void 0===t&&(t=B(v(n).ownerDocument)),!(!t||t.dataset&&t.dataset.focusGuard)&&U(n).some(function(n){return F(n,t)||function(n,t){return Boolean(l(n.querySelectorAll("iframe")).some(function(n){return function(n,t){return n===t}(n,t)}))}(n,t)})},Y=function(n,t){n&&("focus"in n&&n.focus(t),"contentWindow"in n&&n.contentWindow&&n.contentWindow.focus())},G=function(n,t){return E(n)&&n.name?function(n,t){return t.filter(E).filter(function(t){return t.name===n.name}).filter(function(n){return n.checked})[0]||n}(n,t):n},q=function(n){return n[0]&&n.length>1?G(n[0],n):n[0]},H=function(n,t){return n.indexOf(G(t,n))},K="NEW_FOCUS",V=function(n,t,e,r,o){var u=n.length,i=n[0],c=n[u-1],a=x(r);if(!(r&&n.indexOf(r)>=0)){var f=void 0!==r?e.indexOf(r):-1,d=o?e.indexOf(o):f,l=o?n.indexOf(o):-1;if(-1===f)return-1!==l?l:K;if(-1===l)return K;var s=f-d,v=e.indexOf(i),m=e.indexOf(c),p=function(n){var t=new Set;return n.forEach(function(e){return t.add(G(e,n))}),n.filter(function(n){return t.has(n)})}(e),h=void 0!==r?p.indexOf(r):-1,g=o?p.indexOf(o):h,y=p.filter(function(n){return n.tabIndex>=0}),b=void 0!==r?y.indexOf(r):-1,w=o?y.indexOf(o):b,E=b>=0&&w>=0?w-b:g-h;if(!s&&l>=0)return l;if(0===t.length)return l;var N=H(n,t[0]),O=H(n,t[t.length-1]);return f<=v&&a&&Math.abs(s)>1?O:f>=m&&a&&Math.abs(s)>1?N:s&&Math.abs(E)>1?l:f<=v?O:f>m?N:s?Math.abs(s)>1?l:(u+l+s)%u:void 0}},Z=function(n,t,e){var r,o=n.map(function(n){return n.node}),u=R(o.filter((r=e,function(n){var t,e=null===(t=b(n))||void 0===t?void 0:t.autofocus;return n.autofocus||void 0!==e&&"false"!==e||r.indexOf(n)>=0})));return u&&u.length?q(u):q(R(t))},Q=function(n,t){return void 0===t&&(t=[]),t.push(n),n.parentNode&&Q(n.parentNode.host||n.parentNode,t),t},z=function(n,t){for(var e=Q(n),r=Q(t),o=0;o=0)return u}return!1},J=function(n,t,e){var r=s(n),o=s(t),u=r[0],i=!1;return o.filter(Boolean).forEach(function(n){i=z(i||n,n)||i,e.filter(Boolean).forEach(function(n){var t=z(u,n);t&&(i=!i||F(t,i)?t:z(t,i))})}),i},$=function(n,t){return n.reduce(function(n,e){return n.concat(W(e,t))},[])},nn=function(n,t){var e=B(s(n).length>0?document:v(n).ownerDocument),r=U(n).filter(O),o=J(e||n,n,r),u=new Map,i=P(r,u),c=i.filter(function(n){var t=n.node;return O(t)});if(c[0]){var a=P([o],u).map(function(n){return n.node}),f=function(n,t){var e=new Map;return t.forEach(function(n){return e.set(n.node,n)}),n.map(function(n){return e.get(n)}).filter(M)}(a,c),d=f.map(function(n){return n.node}),l=f.filter(function(n){return n.tabIndex>=0}).map(function(n){return n.node}),m=V(d,l,a,e,t);if(m===K){var p=Z(i,l,$(r,u))||Z(i,d,$(r,u));return p?{node:p}:void console.warn("focus-lock: cannot find any node to move focus into")}return void 0===m?m:f[m]}},tn=0,en=!1,rn=function(n,t,e){void 0===e&&(e={});var r=nn(n,t);if(!en&&r){if(tn>2)return console.error("FocusLock: focus-fighting detected. Only one focus management system could be active. See https://github.com/theKashey/focus-lock/#focus-fighting"),en=!0,void setTimeout(function(){en=!1},1);tn++,Y(r.node,e.focusOptions),tn--}};function on(n){if(!n)return null;if("undefined"===typeof WeakRef)return function(){return n||null};var t=n?new WeakRef(n):null;return function(){return(null===t||void 0===t?void 0:t.deref())||null}}var un=function(n){var t=function(n){if(!n)return null;for(var t=[],e=n;e&&e!==document.body;)t.push({current:on(e),parent:on(e.parentElement),left:on(e.previousElementSibling),right:on(e.nextElementSibling)}),e=e.parentElement;return{element:on(n),stack:t,ownerDocument:n.ownerDocument}}(n);return function(){return function(n){var t,e,r,o,u;if(n)for(var i=n.stack,c=n.ownerDocument,a=new Map,f=0,d=i;f=0,guard:x(t)}})}(m),g=h.map(function(n){return n.node}).indexOf(p);g>-1&&(h.filter(function(n){var t=n.guard,e=n.node;return t&&e.dataset.focusAutoGuard}).forEach(function(n){return n.node.removeAttribute("tabIndex")}),En(g,h.length,1,h),En(g,-1,-1,h))}}}return e},Mn=function(n){On()&&n&&(n.stopPropagation(),n.preventDefault())},An=function(){return fn(On)},kn=function(n){var t=n.target,e=n.currentTarget;e.contains(t)||(gn={observerNode:e,portaledElement:t})},Tn=function(){bn=!0},Sn=function(){bn=!1,yn="just",fn(function(){yn="meanwhile"})};var Dn={moveFocusInside:rn,focusInside:X,focusNextElement:function(n,t){void 0===t&&(t={}),cn(n,t,function(n,t){var e=n.next,r=n.first;return e||t&&r})},focusPrevElement:function(n,t){void 0===t&&(t={}),cn(n,t,function(n,t){var e=n.prev,r=n.last;return e||t&&r})},focusFirstElement:function(n,t){void 0===t&&(t={}),an(n,t,"first")},focusLastElement:function(n,t){void 0===t&&(t={}),an(n,t,"last")},captureFocusRestore:un};ln.eN.assignSyncMedium(kn),ln.ND.assignMedium(An),ln.jK.assignMedium(function(n){return n(Dn)});const Ln=f(function(n){return n.filter(function(n){return!n.disabled})},function(n){var t=n.slice(-1)[0];t&&!mn&&(document.addEventListener("focusin",Mn),document.addEventListener("focusout",An),window.addEventListener("focus",Tn),window.addEventListener("blur",Sn));var e=mn,r=e&&t&&t.id===e.id;mn=t,e&&!r&&(e.onDeactivation(),n.filter(function(n){return n.id===e.id}).length||e.returnFocus(!t)),t?(pn=null,r&&e.observed===t.observed||t.onActivation(Dn),On(),fn(On)):(document.removeEventListener("focusin",Mn),document.removeEventListener("focusout",An),window.removeEventListener("focus",Tn),window.removeEventListener("blur",Sn),pn=null)})(function(){return null});i(ln.xQ,Ln);var Cn;function In(){if(!document)return null;var n=document.createElement("style");n.type="text/css";var t=Cn||e.nc;return t&&n.setAttribute("nonce",t),n}var Rn=function(){var n=0,t=null;return{add:function(e){var r,o;0==n&&(t=In())&&(o=e,(r=t).styleSheet?r.styleSheet.cssText=o:r.appendChild(document.createTextNode(o)),function(n){(document.head||document.getElementsByTagName("head")[0]).appendChild(n)}(t)),n++},remove:function(){! --n&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},_n=function(){var n=function(){var n=Rn();return function(t,e){o.useEffect(function(){return n.add(t),function(){n.remove()}},[t&&e])}}();return function(t){var e=t.styles,r=t.dynamic;return n(e,r),null}},Pn=e(78363),Wn={left:0,top:0,right:0,gap:0},Fn=function(n){return parseInt(n||"",10)||0},Bn=function(n){if(void 0===n&&(n="margin"),"undefined"===typeof window)return Wn;var t=function(n){var t=window.getComputedStyle(document.body),e=t["padding"===n?"paddingLeft":"marginLeft"],r=t["padding"===n?"paddingTop":"marginTop"],o=t["padding"===n?"paddingRight":"marginRight"];return[Fn(e),Fn(r),Fn(o)]}(n),e=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-e+t[2]-t[0])}},jn=_n(),Un="data-scroll-locked",Xn=function(n,t,e,r){var o=n.left,u=n.top,i=n.right,c=n.gap;return void 0===e&&(e="margin"),"\n .".concat(Pn.E9," {\n overflow: hidden ").concat(r,";\n padding-right: ").concat(c,"px ").concat(r,";\n }\n body[").concat(Un,"] {\n overflow: hidden ").concat(r,";\n overscroll-behavior: contain;\n ").concat([t&&"position: relative ".concat(r,";"),"margin"===e&&"\n padding-left: ".concat(o,"px;\n padding-top: ").concat(u,"px;\n padding-right: ").concat(i,"px;\n margin-left:0;\n margin-top:0;\n margin-right: ").concat(c,"px ").concat(r,";\n "),"padding"===e&&"padding-right: ".concat(c,"px ").concat(r,";")].filter(Boolean).join(""),"\n }\n \n .").concat(Pn.Mi," {\n right: ").concat(c,"px ").concat(r,";\n }\n \n .").concat(Pn.pN," {\n margin-right: ").concat(c,"px ").concat(r,";\n }\n \n .").concat(Pn.Mi," .").concat(Pn.Mi," {\n right: 0 ").concat(r,";\n }\n \n .").concat(Pn.pN," .").concat(Pn.pN," {\n margin-right: 0 ").concat(r,";\n }\n \n body[").concat(Un,"] {\n ").concat(Pn.xi,": ").concat(c,"px;\n }\n")},Yn=function(){var n=parseInt(document.body.getAttribute(Un)||"0",10);return isFinite(n)?n:0},Gn=function(n){var t=n.noRelative,e=n.noImportant,r=n.gapMode,u=void 0===r?"margin":r;o.useEffect(function(){return document.body.setAttribute(Un,(Yn()+1).toString()),function(){var n=Yn()-1;n<=0?document.body.removeAttribute(Un):document.body.setAttribute(Un,n.toString())}},[]);var i=o.useMemo(function(){return Bn(u)},[u]);return o.createElement(jn,{styles:Xn(i,!t,u,e?"":"!important")})},qn=!1;if("undefined"!==typeof window)try{var Hn=Object.defineProperty({},"passive",{get:function(){return qn=!0,!0}});window.addEventListener("test",Hn,Hn),window.removeEventListener("test",Hn,Hn)}catch(bt){qn=!1}var Kn=!!qn&&{passive:!1},Vn=function(n,t){if(!(n instanceof Element))return!1;var e=window.getComputedStyle(n);return"hidden"!==e[t]&&!(e.overflowY===e.overflowX&&!function(n){return"TEXTAREA"===n.tagName}(n)&&"visible"===e[t])},Zn=function(n,t){var e=t.ownerDocument,r=t;do{if("undefined"!==typeof ShadowRoot&&r instanceof ShadowRoot&&(r=r.host),Qn(n,r)){var o=zn(n,r);if(o[1]>o[2])return!0}r=r.parentNode}while(r&&r!==e.body);return!1},Qn=function(n,t){return"v"===n?function(n){return Vn(n,"overflowY")}(t):function(n){return Vn(n,"overflowX")}(t)},zn=function(n,t){return"v"===n?[(e=t).scrollTop,e.scrollHeight,e.clientHeight]:function(n){return[n.scrollLeft,n.scrollWidth,n.clientWidth]}(t);var e},Jn=function(n){return"changedTouches"in n?[n.changedTouches[0].clientX,n.changedTouches[0].clientY]:[0,0]},$n=function(n){return[n.deltaX,n.deltaY]},nt=function(n){return n&&"current"in n?n.current:n},tt=function(n){return"\n .block-interactivity-".concat(n," {pointer-events: none;}\n .allow-interactivity-").concat(n," {pointer-events: all;}\n")},et=0,rt=[];function ot(n){for(var t=null;null!==n;)n instanceof ShadowRoot&&(t=n.host,n=n.host),n=n.parentNode;return t}i(e(15956).O,function(n){var t=o.useRef([]),e=o.useRef([0,0]),u=o.useRef(),i=o.useState(et++)[0],c=o.useState(_n)[0],a=o.useRef(n);o.useEffect(function(){a.current=n},[n]),o.useEffect(function(){if(n.inert){document.body.classList.add("block-interactivity-".concat(i));var t=(0,r.fX)([n.lockRef.current],(n.shards||[]).map(nt),!0).filter(Boolean);return t.forEach(function(n){return n.classList.add("allow-interactivity-".concat(i))}),function(){document.body.classList.remove("block-interactivity-".concat(i)),t.forEach(function(n){return n.classList.remove("allow-interactivity-".concat(i))})}}},[n.inert,n.lockRef.current,n.shards]);var f=o.useCallback(function(n,t){if("touches"in n&&2===n.touches.length||"wheel"===n.type&&n.ctrlKey)return!a.current.allowPinchZoom;var r,o=Jn(n),i=e.current,c="deltaX"in n?n.deltaX:i[0]-o[0],f="deltaY"in n?n.deltaY:i[1]-o[1],d=n.target,l=Math.abs(c)>Math.abs(f)?"h":"v";if("touches"in n&&"h"===l&&"range"===d.type)return!1;var s=Zn(l,d);if(!s)return!0;if(s?r=l:(r="v"===l?"h":"v",s=Zn(l,d)),!s)return!1;if(!u.current&&"changedTouches"in n&&(c||f)&&(u.current=r),!r)return!0;var v=u.current||r;return function(n,t,e,r,o){var u=function(n,t){return"h"===n&&"rtl"===t?-1:1}(n,window.getComputedStyle(t).direction),i=u*r,c=e.target,a=t.contains(c),f=!1,d=i>0,l=0,s=0;do{if(!c)break;var v=zn(n,c),m=v[0],p=v[1]-v[2]-u*m;(m||p)&&Qn(n,c)&&(l+=p,s+=m);var h=c.parentNode;c=h&&h.nodeType===Node.DOCUMENT_FRAGMENT_NODE?h.host:h}while(!a&&c!==document.body||a&&(t.contains(c)||t===c));return(d&&(o&&Math.abs(l)<1||!o&&i>l)||!d&&(o&&Math.abs(s)<1||!o&&-i>s))&&(f=!0),f}(v,t,n,"h"===v?c:f,!0)},[]),d=o.useCallback(function(n){var e=n;if(rt.length&&rt[rt.length-1]===c){var r="deltaY"in e?$n(e):Jn(e),o=t.current.filter(function(n){return n.name===e.type&&(n.target===e.target||e.target===n.shadowParent)&&(t=n.delta,o=r,t[0]===o[0]&&t[1]===o[1]);var t,o})[0];if(o&&o.should)e.cancelable&&e.preventDefault();else if(!o){var u=(a.current.shards||[]).map(nt).filter(Boolean).filter(function(n){return n.contains(e.target)});(u.length>0?f(e,u[0]):!a.current.noIsolation)&&e.cancelable&&e.preventDefault()}}},[]),l=o.useCallback(function(n,e,r,o){var u={name:n,delta:e,target:r,should:o,shadowParent:ot(r)};t.current.push(u),setTimeout(function(){t.current=t.current.filter(function(n){return n!==u})},1)},[]),s=o.useCallback(function(n){e.current=Jn(n),u.current=void 0},[]),v=o.useCallback(function(t){l(t.type,$n(t),t.target,f(t,n.lockRef.current))},[]),m=o.useCallback(function(t){l(t.type,Jn(t),t.target,f(t,n.lockRef.current))},[]);o.useEffect(function(){return rt.push(c),n.setCallbacks({onScrollCapture:v,onWheelCapture:v,onTouchMoveCapture:m}),document.addEventListener("wheel",d,Kn),document.addEventListener("touchmove",d,Kn),document.addEventListener("touchstart",s,Kn),function(){rt=rt.filter(function(n){return n!==c}),document.removeEventListener("wheel",d,Kn),document.removeEventListener("touchmove",d,Kn),document.removeEventListener("touchstart",s,Kn)}},[]);var p=n.removeScrollBar,h=n.inert;return o.createElement(o.Fragment,null,h?o.createElement(c,{styles:tt(i)}):null,p?o.createElement(Gn,{noRelative:n.noRelative,gapMode:n.gapMode}):null)});var ut=function(n){return"undefined"===typeof document?null:(Array.isArray(n)?n[0]:n).ownerDocument.body},it=new WeakMap,ct=new WeakMap,at={},ft=0,dt=function(n){return n&&(n.host||dt(n.parentNode))},lt=function(n,t,e,r){var o=function(n,t){return t.map(function(t){if(n.contains(t))return t;var e=dt(t);return e&&n.contains(e)?e:(console.error("aria-hidden",t,"in not contained inside",n,". Doing nothing"),null)}).filter(function(n){return Boolean(n)})}(t,Array.isArray(n)?n:[n]);at[e]||(at[e]=new WeakMap);var u=at[e],i=[],c=new Set,a=new Set(o),f=function(n){n&&!c.has(n)&&(c.add(n),f(n.parentNode))};o.forEach(f);var d=function(n){n&&!a.has(n)&&Array.prototype.forEach.call(n.children,function(n){if(c.has(n))d(n);else try{var t=n.getAttribute(r),o=null!==t&&"false"!==t,a=(it.get(n)||0)+1,f=(u.get(n)||0)+1;it.set(n,a),u.set(n,f),i.push(n),1===a&&o&&ct.set(n,!0),1===f&&n.setAttribute(e,"true"),o||n.setAttribute(r,"true")}catch(l){console.error("aria-hidden: cannot operate on ",n,l)}})};return d(t),c.clear(),ft++,function(){i.forEach(function(n){var t=it.get(n)-1,o=u.get(n)-1;it.set(n,t),u.set(n,o),t||(ct.has(n)||n.removeAttribute(r),ct.delete(n)),o||n.removeAttribute(e)}),--ft||(it=new WeakMap,it=new WeakMap,ct=new WeakMap,at={})}},st=function(n,t,e){void 0===e&&(e="data-aria-hidden");var r=Array.from(Array.isArray(n)?n:[n]),o=t||ut(n);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live], script"))),lt(r,o,e,"aria-hidden")):function(){return null}},vt=e(95180),mt=_n(),pt="\n ["+vt.j+"] {\n pointer-events: none !important;\n }\n",ht=function(){return o.createElement(mt,{styles:pt})},gt=function(n){return"current"in n?n.current:n};const yt=i(vt.O,function(n){var t=n.setLockProps,e=n.onEscapeKey,u=n.onClickOutside,i=n.shards,c=n.onActivation,a=n.onDeactivation,f=n.noIsolation,d=(0,o.useState)(void 0),l=d[0],s=d[1],v=(0,o.useRef)(null),m=(0,o.useRef)(0);return o.useEffect(function(){var n=function(n){n.defaultPrevented||"Escape"!==n.code&&"Escape"!==n.key&&27!==n.keyCode||!e||e(n)},t=function(n){n.defaultPrevented||n.target===v.current||n instanceof MouseEvent&&0!==n.button||i&&i.map(gt).some(function(t){return t&&t.contains(n.target)||t===n.target})||u&&u(n)},r=function(n){t(n),m.current=n.touches.length},o=function(n){m.current=n.touches.length};if(l)return l.ownerDocument.addEventListener("keydown",n),l.ownerDocument.addEventListener("mousedown",t),l.ownerDocument.addEventListener("touchstart",r),l.ownerDocument.addEventListener("touchend",o),function(){l.ownerDocument.removeEventListener("keydown",n),l.ownerDocument.removeEventListener("mousedown",t),l.ownerDocument.removeEventListener("touchstart",r),l.ownerDocument.removeEventListener("touchend",o)}},[l,u,e]),(0,o.useEffect)(function(){if(l)return c&&c(l),function(){a&&a()}},[!!l]),(0,o.useEffect)(function(){var n=function(){return null},e=!1;return t({onMouseDown:function(n){v.current=n.target},onTouchStart:function(n){v.current=n.target},onActivation:function(t){f||(n=st((0,r.aN)([t],(i||[]).map(gt)),t.ownerDocument.body,vt.j)),s(function(){return t})},onDeactivation:function(){n(),e||s(null)}}),function(){e=!0,t(!1)}},[]),o.createElement(ht,null)})},90911:(n,t,e)=>{function r(n,t){return r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,t){return n.__proto__=t,n},r(n,t)}function o(n,t){n.prototype=Object.create(t.prototype),n.prototype.constructor=n,r(n,t)}e.d(t,{A:()=>o})}}]); //# sourceMappingURL=focustrap.660d9f5f26b2285a.js.map