You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
nextcloud-server/dist/4273-4273.js

3 lines
2.5 MiB

/*! For license information please see 4273-4273.js.LICENSE.txt */
(self.webpackChunknextcloud=self.webpackChunknextcloud||[]).push([[4273],{50326:(e,t,n)=>{"use strict";n.r(t),n.d(t,{arrow:()=>i.x7,autoPlacement:()=>i.X5,autoUpdate:()=>F,computePosition:()=>b,detectOverflow:()=>i.US,flip:()=>i.RR,getOverflowAncestors:()=>r.Kx,hide:()=>i.Cp,inline:()=>i.Qo,limitShift:()=>i.dr,offset:()=>i.cv,platform:()=>_,shift:()=>i.uY,size:()=>i.dp});var a=n(71347),i=n(85983),r=n(68365);function o(e){const t=(0,r.Dx)(e);let n=parseFloat(t.width)||0,i=parseFloat(t.height)||0;const o=(0,r.Re)(e),s=o?e.offsetWidth:n,l=o?e.offsetHeight:i,u=(0,a.NM)(n)!==s||(0,a.NM)(i)!==l;return u&&(n=s,i=l),{width:n,height:i,$:u}}function s(e){return(0,r.kK)(e)?e:e.contextElement}function l(e){const t=s(e);if(!(0,r.Re)(t))return(0,a.ze)(1);const n=t.getBoundingClientRect(),{width:i,height:l,$:u}=o(t);let c=(u?(0,a.NM)(n.width):n.width)/i,d=(u?(0,a.NM)(n.height):n.height)/l;return c&&Number.isFinite(c)||(c=1),d&&Number.isFinite(d)||(d=1),{x:c,y:d}}const u=(0,a.ze)(0);function c(e){const t=(0,r.Jj)(e);return(0,r.Pf)()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:u}function d(e,t,n,i){void 0===t&&(t=!1),void 0===n&&(n=!1);const o=e.getBoundingClientRect(),u=s(e);let d=(0,a.ze)(1);t&&(i?(0,r.kK)(i)&&(d=l(i)):d=l(e));const g=function(e,t,n){return void 0===t&&(t=!1),!(!n||t&&n!==(0,r.Jj)(e))&&t}(u,n,i)?c(u):(0,a.ze)(0);let h=(o.left+g.x)/d.x,f=(o.top+g.y)/d.y,p=o.width/d.x,m=o.height/d.y;if(u){const e=(0,r.Jj)(u),t=i&&(0,r.kK)(i)?(0,r.Jj)(i):i;let n=e.frameElement;for(;n&&i&&t!==e;){const e=l(n),t=n.getBoundingClientRect(),a=(0,r.Dx)(n),i=t.left+(n.clientLeft+parseFloat(a.paddingLeft))*e.x,o=t.top+(n.clientTop+parseFloat(a.paddingTop))*e.y;h*=e.x,f*=e.y,p*=e.x,m*=e.y,h+=i,f+=o,n=(0,r.Jj)(n).frameElement}}return(0,a.JB)({width:p,height:m,x:h,y:f})}function g(e){return d((0,r.tF)(e)).left+(0,r.Lw)(e).scrollLeft}function h(e,t,n){let i;if("viewport"===t)i=function(e,t){const n=(0,r.Jj)(e),a=(0,r.tF)(e),i=n.visualViewport;let o=a.clientWidth,s=a.clientHeight,l=0,u=0;if(i){o=i.width,s=i.height;const e=(0,r.Pf)();(!e||e&&"fixed"===t)&&(l=i.offsetLeft,u=i.offsetTop)}return{width:o,height:s,x:l,y:u}}(e,n);else if("document"===t)i=function(e){const t=(0,r.tF)(e),n=(0,r.Lw)(e),i=e.ownerDocument.body,o=(0,a.Fp)(t.scrollWidth,t.clientWidth,i.scrollWidth,i.clientWidth),s=(0,a.Fp)(t.scrollHeight,t.clientHeight,i.scrollHeight,i.clientHeight);let l=-n.scrollLeft+g(e);const u=-n.scrollTop;return"rtl"===(0,r.Dx)(i).direction&&(l+=(0,a.Fp)(t.clientWidth,i.clientWidth)-o),{width:o,height:s,x:l,y:u}}((0,r.tF)(e));else if((0,r.kK)(t))i=function(e,t){const n=d(e,!0,"fixed"===t),i=n.top+e.clientTop,o=n.left+e.clientLeft,s=(0,r.Re)(e)?l(e):(0,a.ze)(1);return{width:e.clientWidth*s.x,height:e.clientHeight*s.y,x:o*s.x,y:i*s.y}}(t,n);else{const n=c(e);i={...t,x:t.x-n.x,y:t.y-n.y}}return(0,a.JB)(i)}function f(e,t){const n=(0,r.Ow)(e);return!(n===t||!(0,r.kK)(n)||(0,r.Py)(n))&&("fixed"===(0,r.Dx)(n).position||f(n,t))}function p(e,t,n){const i=(0,r.Re)(t),o=(0,r.tF)(t),s="fixed"===n,l=d(e,!0,s,t);let u={scrollLeft:0,scrollTop:0};const c=(0,a.ze)(0);if(i||!i&&!s)if(("body"!==(0,r.wk)(t)||(0,r.ao)(o))&&(u=(0,r.Lw)(t)),i){const e=d(t,!0,s,t);c.x=e.x+t.clientLeft,c.y=e.y+t.clientTop}else o&&(c.x=g(o));return{x:l.left+u.scrollLeft-c.x,y:l.top+u.scrollTop-c.y,width:l.width,height:l.height}}function m(e,t){return(0,r.Re)(e)&&"fixed"!==(0,r.Dx)(e).position?t?t(e):e.offsetParent:null}function A(e,t){const n=(0,r.Jj)(e);if(!(0,r.Re)(e))return n;let a=m(e,t);for(;a&&(0,r.Ze)(a)&&"static"===(0,r.Dx)(a).position;)a=m(a,t);return a&&("html"===(0,r.wk)(a)||"body"===(0,r.wk)(a)&&"static"===(0,r.Dx)(a).position&&!(0,r.hT)(a))?n:a||(0,r.gQ)(e)||n}const _={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:n,strategy:i}=e;const o=(0,r.Re)(n),s=(0,r.tF)(n);if(n===s)return t;let u={scrollLeft:0,scrollTop:0},c=(0,a.ze)(1);const g=(0,a.ze)(0);if((o||!o&&"fixed"!==i)&&(("body"!==(0,r.wk)(n)||(0,r.ao)(s))&&(u=(0,r.Lw)(n)),(0,r.Re)(n))){const e=d(n);c=l(n),g.x=e.x+n.clientLeft,g.y=e.y+n.clientTop}return{width
//# sourceMappingURL=4273-4273.js.map?v=39fcb5641682fdf9c669