Module 84157

2,641 characters · in 29609.b896f2d9d6398168.js
Dependencies
Required by (2)
Lazily required by (0)none
Requires (0)none
Lazily requires (0)none
Source Raw
function(e,t,n){"use strict";function r(){return"u">typeof window}function o(e){return u(e)?(e.nodeName||"").toLowerCase():"#document"}function i(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function a(e){var t;return null==(t=(u(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function u(e){return!!r()&&(e instanceof Node||e instanceof i(e).Node)}function s(e){return!!r()&&(e instanceof Element||e instanceof i(e).Element)}function l(e){return!!r()&&(e instanceof HTMLElement||e instanceof i(e).HTMLElement)}function c(e){return!(!r()||"u"<typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof i(e).ShadowRoot)}n.d(t,{$4:()=>S,CP:()=>C,L9:()=>x,Ll:()=>u,Lv:()=>p,Ng:()=>c,Tc:()=>D,Tf:()=>v,ZU:()=>d,_m:()=>A,ep:()=>a,eu:()=>E,gJ:()=>_,mq:()=>o,sQ:()=>w,sb:()=>l,v9:()=>function e(t,n,r){var o;void 0===n&&(n=[]),void 0===r&&(r=!0);let a=function e(t){let n=S(t);return E(n)?t.ownerDocument?t.ownerDocument.body:t.body:l(n)&&d(n)?n:e(n)}(t),u=a===(null==(o=t.ownerDocument)?void 0:o.body),s=i(a);if(u){let t=A(s);return n.concat(s,s.visualViewport||[],d(a)?a:[],t&&r?e(t):[])}return n.concat(a,e(a,[],r))},vq:()=>s,zk:()=>i});let f=new Set(["inline","contents"]);function d(e){let{overflow:t,overflowX:n,overflowY:r,display:o}=x(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!f.has(o)}let h=new Set(["table","td","th"]);function p(e){return h.has(o(e))}let m=[":popover-open",":modal"];function v(e){return m.some(t=>{try{return e.matches(t)}catch(e){return!1}})}let y=["transform","translate","scale","rotate","perspective"],g=["transform","translate","scale","rotate","perspective","filter"],b=["paint","layout","strict","content"];function w(e){let t=D(),n=s(e)?x(e):e;return y.some(e=>!!n[e]&&"none"!==n[e])||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||g.some(e=>(n.willChange||"").includes(e))||b.some(e=>(n.contain||"").includes(e))}function _(e){let t=S(e);for(;l(t)&&!E(t);){if(w(t))return t;if(v(t))break;t=S(t)}return null}function D(){return!("u"<typeof CSS)&&!!CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")}let k=new Set(["html","body","#document"]);function E(e){return k.has(o(e))}function x(e){return i(e).getComputedStyle(e)}function C(e){return s(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function S(e){if("html"===o(e))return e;let t=e.assignedSlot||e.parentNode||c(e)&&e.host||a(e);return c(t)?t.host:t}function A(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}}