PageSourceSearch

https://dein.ai-fitness.de/7b08c842e3d1a5ff5268.chunk.js

js ai-fitness.de collected 2026-10-03 21:39:39 UTC 25,804 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkmysports_web=self.webpackChunkmysports_web||[]).push([[2874],{68634:function(e,t,r){r.d(t,{Mk:function(){return Q},Z4:function(){return _},i3:function(){return K}});var n=r(14041),o=r(43144);function i(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function s(e,t,r){return t&&i(e.prototype,t),r&&i(e,r),e}function u(){return u=Object.assign||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},u.apply(this,arguments)}function a(e,t){return a=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},a(e,t)}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function l(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(r)return(r=r.call(e)).next.bind(r);if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return c(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?c(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0;return function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function f(e){var t=(0,n.useRef)(null);return function(r){r&&r!==t.current&&(t.current=r,e(r))}}var p="undefined"!=typeof window?n.useLayoutEffect:n.useEffect;function d(e){return parseFloat(e.replace("px",""))}function h(e,t,r){return e<t?t:e>r?r:e}function g(e){return null!=e}function v(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(e){for(var r,n=l(t);!(r=n()).done;){var o=r.value;o&&("function"==typeof o?o(e):o.current=e)}}}function m(e,t){var r=[];if(!e||!t||e===document.body)return r;var n=t.getComputedStyle(e);return[n.overflow,n.overflowX,n.overflowY].some((function(e){return["auto","scroll"].includes(e)}))&&r.push(e),[].concat(r,m(e.parentElement,t))}function y(e){return"react-laag: Could not find a valid reference for the "+e+" element. There might be 2 causes:\n   - Make sure that the 'ref' is set correctly on the "+e+' element when isOpen: true. Also make sure your component forwards the ref with "forwardRef()".\n   - Make sure that you are actually rendering the '+e+" when the isOpen prop is set to true"}function b(e){var t=e.enabled,r=e.onChange,o=e.environment,i=e.ResizeObserverPolyfill,s=e.overflowContainer,a=e.triggerOption,c=function(e,t){if(void 0!==e)return t||e.ResizeObserver}(o,i);(0,n.useEffect)((function(){}),[c]);var h,g,v,b=(0,n.useRef)(null),w=Boolean(a),C=(h={scrollContainers:[],trigger:null,layer:null},g=(0,n.useRef)(h),(0,n.useMemo)((function(){return[function(){return g.current},function(e){g.current="function"==typeof e?e(g.current):e}]}),[])),S=C[0],O=C[1],E=(v=(0,n.useRef)([]),(0,n.useMemo)((function(){return{hasEventSubscriptions:function(){return v.current.length>0},removeAllEventSubscriptions:function(){for(var e,t=l(v.current);!(e=t()).done;)(0,e.value)();v.current=[]},addEventSubscription:function(e){v.current.push(e)}}}),[])),P=E.hasEventSubscriptions,B=E.addEventSubscription,j=E.removeAllEventSubscriptions,k=(0,n.useCallback)((function(){var e=S(),t=e.layer,n=e.trigger,i=e.scrollContainers,s=i[0];if(!t)throw new Error(y("layer"));if(!n&&!w)throw new Error(y("trigger"));var u={top:0,left:0};if(s){var a=s.scrollLeft;u={top:s.scrollTop,left:a}}else{var c=o.scrollX;u={top:o.scrollY,left:c}}var l={left:0,top:0};if(s){var f=o.getComputedStyle(s),p=f.borderLeftWidth,h=f.borderTopWidth;l={left:d(p)||0,top:d(h)||0}}r({layer:t,trigger:n,scrollContainers:i,arrow:b.current},u,l)}),[S,r,o,b,w]),L=(0,n.useCallback)((function(){var e=S(),t=e.trigger,r=e.layer,n=e.scrollContainers;if(!r)throw new Error(y("layer"));if(!t&&!w)throw new Error(y("trigger"));if(c){for(var i=!1,s=new c((function(){i?k():i=!0})),u=0,a=[t,r,document.body];u<a.length;u++){var f=a[u];f&&s.observe(f)}B((function(){for(var e=0,n=[t,r,document.body];e<n.length;e++){var o=n[e];o&&s.unobserve(o)}s.disconnect()}))}for(var p,d=function(){var e=p.value;e.addEventListener("scroll",k),B((function(){return e.removeEventListener("scroll",k)}))},h=l([o].concat(n));!(p=h()).done;)d()}),[S,B,k,o,c,w]),T=(0,n.useCallback)((function(e,r){t&&e&&e!==r&&(j(),L(),k())}),[j,L,k,t]),H=f((0,n.useCallback)((function(e){var t=S().layer;O((function(t){return u({},t,{layer:e})})),T(t,e)}),[S,O,T])),R=(0,n.useCallback)((function(e){var t=m(e,o),r=t[0];if(r){var n=o.getComputedStyle(r).position;["relative","absolute","fixed"].includes(n)||s||(r.style.position="relative")}return t}),[o,s]),z=f((0,n.useCallback)((function(e){var t=R(e),r=S().trigger;O((function(r){return u({}
vendor: 10,678 bytes, line 1
1,r,{trigger:e,scrollContainers:t})})),T(r,e)}),[S,O,T,R])),M=null==a||null==a.getParent?void 0:a.getParent();return p((function(){M&&O((function(e){return u({},e,{scrollContainers:R(M)})}))}),[M,O,R]),p((function(){return t&&(P()||L()),function(){P()&&j()}}),[t,P,L,j]),p((function(){t&&k()})),{triggerRef:z,layerRef:H,arrowRef:b,closestScrollContainer:S().scrollContainers[0]||null}}var w=(0,n.createContext)({});function C(e){var t=e.children,r=e.registrations,o=(0,n.useCallback)((function(e){return r.current.add(e),function(){return r.current.delete(e)}}),[r]);return(0,n.createElement)(w.Provider,{value:o},t)}var S={top:"bottom",left:"right",bottom:"top",right:"left",center:"center"},O=function(){function e(e,t,r,n,o,i,s,u,a){this.prop=void 0,this.opposite=void 0,this.isHorizontal=void 0,this.sizeProp=void 0,this.oppositeSizeProp=void 0,this.cssProp=void 0,this.oppositeCssProp=void 0,this.isCenter=void 0,this.isPush=void 0,this.prop=e,this.opposite=t,this.isHorizontal=r,this.sizeProp=n,this.oppositeSizeProp=o,this.cssProp=i,this.oppositeCssProp=s,this.isCenter=u,this.isPush=a}var t=e.prototype;return t.factor=function(e){return e*(this.isPush?1:-1)},t.isOppositeDirection=function(e){return this.isHorizontal!==e.isHorizontal},e}();function E(e,t){void 0===t&&(t=!0);var r=["left","right"].includes(e);return new O(e,t?E(S[e],!1):null,r,r?"width":"height",r?"height":"width",r?"left":"top",r?"top":"left","center"===e,!["right","bottom"].includes(e))}var P={top:E("top"),bottom:E("bottom"),left:E("left"),right:E("right")},B=u({},P,{center:E("center")}),j=["top","left","bottom","right"],k=function(){function e(e){return this.top=void 0,this.left=void 0,this.right=void 0,this.bottom=void 0,Object.assign(this,e)}return e.mergeSmallestSides=function(t){var r=t[0],n=t.slice(1);if(!r)throw new Error("Please provide at least 1 bounds objects in order to merge");for(var o,i=Object.fromEntries(j.map((function(e){return[e,r[e]]}))),s=l(n);!(o=s()).done;)for(var u,a=o.value,c=l(j);!(u=c()).done;){var f=u.value;i[f]=Math.min(i[f],a[f])}return new e(i)},s(e,[{key:"allSidesArePositive",get:function(){var e=this;return j.every((function(t){return e[t]>=0}))}},{key:"negativeSides",get:function(){var e=this;return Object.fromEntries(j.filter((function(t){return e[t]<0})).map((function(t){return[t,e[t]]})))}}]),e}();function L(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.reduce((function(e,t){return e+(t?d(t):0)}),0)}function T(e){return{top:e.top,left:e.left,right:e.right,bottom:e.bottom,width:e.width,height:e.height}}var H={top:0,left:0,right:0,bottom:0,width:0,height:0},R=function(){function e(e){return void 0===e&&(e={}),this.top=void 0,this.left=void 0,this.right=void 0,this.bottom=void 0,this.width=void 0,this.height=void 0,Object.assign(this,H,e)}e.create=function(t){return new e(t)},e.fromElement=function(t,r){void 0===r&&(r={});var n=r,o=n.withTransform,i=void 0===o||o,s=n.environment,a=void 0===s?window:s,c=n.withScrollbars,l=void 0===c||c,f=new e(T(t.getBoundingClientRect()));if(!i){var p=a.getComputedStyle(t),h=p.width,g=p.height,v=p.boxSizing,m=p.borderLeft,y=p.borderRight,b=p.borderTop,w=p.borderBottom,C=p.paddingLeft,S=p.paddingRight,O=p.paddingTop,E=p.paddingBottom;f=new e(u({},f,{width:"border-box"===v?d(h):L(h,m,y,C,S),height:"border-box"===v?d(g):L(g,b,w,O,E)}))}if(!l){var P=f.width-t.clientWidth,B=f.height-t.clientHeight;return f.substract({right:P,bottom:B})}return f},e.empty=function(){return new e},e.fromWindow=function(t){var r,n=null!=(r=null==t?void 0:t.document.scrollingElement)?r:null==t?void 0:t.document.documentElement,o=null!=n?n:{},i=o.clientWidth,s=void 0===i?0:i,u=o.clientHeight,a=void 0===u?0:u;return new e({width:s,height:a,right:s,bottom:a})};var t=e.prototype;return t.toObject=function(){return T(this)},t.merge=function(t){var r=this.toObject();return new e(u({},r,"function"==typeof t?t(r):t))},t.substract=function(t){for(var r=this.toObject(),n=0,o=Object.entries(t);n<o.length;n++){var i=o[n],s=i[0],u=i[1];if(s in P){var a=P[s];r[s]+=a.factor(u),r[a.isHorizontal?"width":"height"]-=u}else r[s]-=u||0}return new e(r)},t.offsetsTo=function(e){return new k({top:e.top-this.top,bottom:this.bottom-e.bottom,left:e.left-this.left,right:this.right-e.right})},t.mapSides=function(t){for(var r=this.toObject(),n=0,o=Object.values(P);n<o.length;n++){var i=o[n];r[i.prop]=t(i,r[i.prop])}return new e(r)},s(e,[{key:"surface",get:function(){return this.width*this.height}}]),e}(),z=function(){function e(e,t,r,n,o){this.primary=void 0,this.secondary=void 0,this.offsets=void 0,this.subjectsBounds=void 0,this._cachedLayerBounds=null,this._cachedContainerOffsets=null,this.primary=e,this.secondary=t,this.offsets=o,this.setSubjectsBounds(r,n)}var t=e.prototype;return t.setSubjectsBounds=function(e,t){if(t){var r="function"==typeof t?t(this.primary.prop):t;this.subjectsBounds=e.merge({layer:u({},e.layer,r)})}else this.subjectsBounds=e},t.getLayerBounds=function(e){if(void 0===e&&(e=0),this._cachedLayerBounds&&0===e)return this._cachedLayerBounds;var t=this.primary,r=this.secondary,n=this.subjectsBounds,o=n.trigger,i=n.layer,s=n.arrow,u=t.isHorizontal,a=t.oppositeCssProp,c=t.oppositeSizeProp,l=t.prop,f=t.opposite,p=R.empty();p[f.prop]=o[l]-t.factor(this.offsets.trigger),p[l]=p[f.prop]-t.factor(i[t.sizeProp]);var d=2*this.offsets.arrow,g=o[a]-(i[c]-s[c])+d,v=o[a]+(o[c]-s[c])-d;if(r.isPush||(g+=i[c],v+=i[c]),r.isCenter){var m=(u?P.top:P.left).prop,y=(u?P.bottom:P.right).prop;p[m]=h(o[m]+o[c]/2-i[c]/2+e,g,v),p[y]=p[m]+i[c]}else{var b=r,w=o[b.prop],C=w<g?g-w:w>v?v-w:0;p[b.prop]=h(w+e+C,g,v),p[b.opposite.prop]=p[b.prop]+r.factor(i[c])}p.width=p.right-p.left,p.height=p.bottom-p.top;var S=R.create(p);return 0===e&&(this._cachedLayerBounds=S),S},t.getLayerCollisionBounds=function(){var e=this.offsets.container;return this.getLayerBounds().mapSides((function(t,r){return r-t.factor(e)})).merge((function(t){var r=t.width,n=t.height;return{width:r+2*e,height:n+2*e}}))},t.getContainerOffsets=function(e){if(this._cachedContainerOffsets&&!e)return this._cachedContainerOffsets;var t=this.subjectsBounds.merge({layer:e||this.getLayerCollisionBounds()}),r=k.mergeSmallestSides(t.layerOffsetsToScrollContainers);return e||(this._cachedContainerOffsets=r),r},s(e,[{key:"type",get:function(){return this.primary.prop+"-"+("center"===this.secondary.prop?"center":["bottom","right"].includes(this.secondary.prop)?"end":"start")}},{key:"triggerIsBigger",get:function(){var e=this.secondary.isHorizontal,t=this.subjectsBounds,r=t.triggerHasBiggerWidth,n=t.triggerHasBiggerHeight;return e&&r||!e&&n}},{key:"fitsContainer",get:function(){return this.getContainerOffsets().allSidesArePositive}},{key:"visibleSurface",get:function(){var e=this.getLayerBounds(),t=this.getContainerOffsets(e).negativeSides;for(var r in t)t[r]=-t[r];return e.substract(t).surface}},{key:"secondaryOffsetSide",get:function(){var e,t,r=this,n=this.getContainerOffsets();return(null!=(e=null==(t=Object.entries(n.negativeSides).map((function(e){var t=e[0],r=e[1];return[P[t],r]})).filter((function(e){var t=e[0];return r.primary.isOppositeDirection(t)})).sort((function(e,t){var r=e[1];return t[1]-r})))?void 0:t[0])?e:[])[0]||null}}]),e}(),M=function(e){var t,r;function n(){return e.apply(this,arguments)||this}return r=e,(t=n).prototype=Object.create(r.prototype),t.prototype.constructor=t,a(t,r),n.prototype.getLayerBounds=function(){var e=this.subjectsBounds,t=e.trigger,r=e.layer,n=R.empty();return n.top=t.top+t.height/2-r.height/2,n.bottom=n.top+r.height,n.left=t.left+t.width/2-r.width/2,n.right=n.left+r.width,n.width=n.right-n.left,n.height=n.bottom-n.top,n},n}(z),I={position:"absolute",willChange:"top, left",left:null,right:null,top:null,bottom:null},x=function(){function e(e,t,r){this.placements=void 0,this.config=void 0,this.subjectsBounds=void 0,this.placements=e,this.config=t,this.subjectsBounds=r}e.getSidesFromPlacementType=function(e){var t=e.split("-"),r=t[0],n=t[1],o=P[r];return[o,"center"===n?B.center:o.isHorizontal?"start"===n?B.top:B.bottom:"start"===n?B.left:B.right]},e.create=function(t,r){var n={arrow:r.arrowOffset,container:r.containerOffset,trigger:r.triggerOffset};function o(o){void 0===o&&(o=r.placement);var i=e.getSidesFromPlacementType(o),s=i[0],u=i[1],a=P[s.isHorizontal?r.preferY:r.preferX],c=!s.isHorizontal&&t.triggerHasBiggerWidth||s.isHorizontal&&t.triggerHasBiggerHeight;function l(e,o){return new z(e,o,t,r.layerDimensions,n)}var f=[];return f[0]=l(s,u),f[1]=l(s,u.isCenter?a:B.center),f[2]=l(s,B[(u.opposite.isCenter?a.opposite:u.opposite).prop]),f[3]=l(a,c?s:B[s.opposite.prop]),f[4]=l(a,B.center),f[5]=l(a,c?B[s.opposite.prop]:s),f[6]=l(P[a.opposite.prop],c?s:B[s.opposite.prop]),f[7]=l(P[a.opposite.prop],B.center),f[8]=l(P[a.opposite.prop],c?B[s.opposite.prop]:s),f[9]=l(P[s.opposite.prop],u),f[10]=l(P[s.opposite.prop],u.isCenter?a:B.center),f[11]=l(P[s.opposite.prop],B[(u.opposite.isCenter?a.opposite:u.opposite).prop]),f.filter((function(e){return e.type===r.placement||r.possiblePlacements.includes(e.type)}))}return"center"===r.placement?new e([new M(B.center,B.center,t,r.layerDimensions,n)].concat(o(r.preferY+"-"+r.preferX)),r,t):new e(o(),r,t)};var t=e.prototype;return t.filterPlacementsBySide=function(e){return this.placements.filter((function(t){return t.primary===e}))},t.findFirstPlacementThatFits=function(){return this.placements.find((function(e){return e.fitsContainer}))},t.placementWithBiggestVisibleSurface=function(){return this.placements.map((function(e){return{placement:e,surface:e.visibleSurface}})).sort((function(e,t){return t.surface-e.surface}))[0].placement},t.findSuitablePlacement=function(){return this.config.auto?this.findFirstPlacementThatFits()||this.placementWithBiggestVisibleSurface():this.placements[0]},t.getSecondaryOffset=function(e){var t=this.config,r=t.auto,n=t.snap;if(!r||n||e instanceof M)return 0;var o=this.filterPlacementsBySide(e.primary);if(0===o.indexOf(e)&&e.fitsContainer)return 0;var i=o.find((function(e){return!e.fitsContainer}));if(!i)return 0;var s=i.secondaryOffsetSide;if(!s)return 0;var u,a=e.getContainerOffsets(),c=e.secondary;return u=e.triggerIsBigger||i===e?s.isPush?-1:1:c===B.left||[B.top,B.center].includes(c)&&s.isPush?-1:1,a[s.prop]*u},t.getStyles=function(e,t,r,n){var o={willChange:"top, left, width, height"},i=function(e,t,r){var n;if(t.primary.isCenter)return I;var o=e.layer,i=e.trigger,s=e.arrow,a=t.primary.oppositeSizeProp,c=i[a]>o[a],l=r+s[a]/2,f=o[a]-s[a]/2-r,p=function(e,t,r){var n=e.layer,o=e.trigger,i=e.arrow,s=t.primary.oppositeSizeProp,u=t.primary.isHorizontal?["top","bottom"]:["left","right"],a=u[0],c=u[1],l=n[a]+n[s]/2-o[a]-i[s]/2-r,f
vendor: 4,668 bytes, line 1
1=n[c]-n[s]/2-o[c]+i[s]/2+r;return(l<0?-l:0)+(f>0?-f:0)}(e,t,r),d=t.primary.prop,g=t.primary.oppositeCssProp,v=c?o[a]/2+p:i[g]+i[a]/2-o[g];return u({},I,((n={})[d]="100%",n[g]=h(v,l,f),n))}(this.subjectsBounds.merge({layer:e}),t,this.config.arrowOffset);return{arrow:i,layer:this.config.overflowContainer?u({},o,{position:"fixed",top:e.top,left:e.left}):u({},o,{position:"absolute",top:e.top-this.subjectsBounds.parent.top+r.top-n.top,left:e.left-this.subjectsBounds.parent.left+r.left-n.left})}},t.getHasDisappeared=function(e){var t=this.config.overflowContainer?this.subjectsBounds.trigger:e,r=k.mergeSmallestSides(this.subjectsBounds.offsetsToScrollContainers(t,!0));return Object.entries(r.negativeSides).some((function(e){var r=e[0];return e[1]<=-t[P[r].sizeProp]}))?"full":r.allSidesArePositive?null:"partial"},t.result=function(e,t){var r=this.findSuitablePlacement(),n=this.getSecondaryOffset(r),o=r.getLayerBounds(n);return{styles:this.getStyles(o,r,e,t),layerSide:r.primary.prop,placement:r,layerBounds:o,hasDisappeared:this.getHasDisappeared(o)}},e}(),A=function(){function e(e,t){this.overflowContainer=void 0,this.trigger=void 0,this.layer=void 0,this.arrow=void 0,this.parent=void 0,this.window=void 0,this.scrollContainers=void 0,this.overflowContainer=t,Object.assign(this,e)}e.create=function(t,r,n,o,i,s,u,a){var c=R.fromWindow(t);return new e({layer:R.fromElement(r,{environment:t,withTransform:!1}),trigger:a?R.create(T(a())):R.fromElement(n),arrow:i?R.fromElement(i):R.empty(),parent:o?R.fromElement(o):c,window:c,scrollContainers:[c].concat(s.map((function(e){return R.fromElement(e,{withScrollbars:!1})})))},u)};var t=e.prototype;return t.merge=function(t){return new e(u({},this,t),this.overflowContainer)},t.offsetsToScrollContainers=function(e,t){return void 0===t&&(t=!1),(this.overflowContainer&&!t?[this.window]:this.scrollContainers).map((function(t){return t.offsetsTo(e)}))},s(e,[{key:"layerOffsetsToScrollContainers",get:function(){return this.offsetsToScrollContainers(this.layer)}},{key:"triggerHasBiggerWidth",get:function(){return this.trigger.width>this.layer.width}},{key:"triggerHasBiggerHeight",get:function(){return this.trigger.height>this.layer.height}}]),e}(),D=null,W={auto:!1,arrowOffset:0,containerOffset:10,triggerOffset:0,overflowContainer:!0,placement:"top-center",possiblePlacements:["bottom-start","bottom-end","bottom-center","top-start","top-center","top-end","left-end","left-center","left-start","right-end","right-center","right-start","center"],preferX:"right",preferY:"bottom",snap:!1,container:void 0,trigger:void 0};function _(e){var t,r=e.isOpen,i=void 0!==r&&r,s=e.overflowContainer,u=void 0===s?W.overflowContainer:s,a=e.environment,c=void 0===a?"undefined"!=typeof window?window:void 0:a,f=e.ResizeObserver,p=e.placement,d=void 0===p?W.placement:p,h=e.possiblePlacements,m=void 0===h?W.possiblePlacements:h,y=e.preferX,S=void 0===y?W.preferX:y,O=e.preferY,E=void 0===O?W.preferY:O,P=e.auto,B=void 0===P?W.auto:P,j=e.snap,k=void 0===j?W.snap:j,L=e.triggerOffset,T=void 0===L?W.triggerOffset:L,H=e.containerOffset,R=void 0===H?W.containerOffset:H,z=e.arrowOffset,M=void 0===z?W.arrowOffset:z,I=e.container,_=void 0===I?W.container:I,N=e.layerDimensions,V=void 0===N?null:N,X=e.onDisappear,F=e.onOutsideClick,G=e.onParentClose,Z=e.trigger,U=(0,n.useState)((function(){return{layerSide:"center"===d?"center":x.getSidesFromPlacementType(d)[0].prop,styles:{layer:{position:u?"fixed":"absolute",top:0,left:0},arrow:{position:"absolute",top:0,left:0}}}})),$=U[0],q=U[1],J=(0,n.useRef)(null),K=function(e,t){var r=(0,n.useRef)(e);return t?(r.current=e,r):(r.current=null,r)}($,i),Q=(0,n.useRef)({cancelled:!1});(0,n.useEffect)((function(){return function(){Q.current.cancelled=!0}}),[]);var ee=(0,n.useCallback)((function(e,t,r){var n=e.arrow,o=e.layer,i=e.scrollContainers,s=e.trigger,a=i[0],l=A.create(c,o,s,a,n,i,u,null==Z?void 0:Z.getBounds),f={placement:d,possiblePlacements:m,auto:B,layerDimensions:V,arrowOffset:M,containerOffset:R,triggerOffset:T,preferX:S,preferY:E,snap:k,overflowContainer:u},p=x.create(l,f).result(t,r),h=p.hasDisappeared,v={layerSide:p.layerSide,styles:p.styles};if(!K.current||function(e,t){if(e.layerSide!==t.layerSide)return!0;for(var r=0,n=["position","top","left","right","bottom"];r<n.length;r++){var o=n[r];if(e.styles.layer[o]!==t.styles.layer[o]||e.styles.arrow[o]!==t.styles.arrow[o])return!0}return!1}(K.current,v)){K.current=v,Q.current.cancelled=!0;var y={cancelled:!1};Q.current=y,Promise.resolve().then((function(){y.cancelled||q(v)}))}g(h)&&g(X)&&X(h)}),[M,B,R,c,V,X,u,d,m,S,E,k,T,K,Z]),te=b({ResizeObserverPolyfill:f,environment:c,enabled:i,overflowContainer:u,onCh
1ange:ee,triggerOption:Z}),re=te.triggerRef,ne=te.layerRef,oe=te.arrowRef,ie=te.closestScrollContainer,se=function(e){var t=e.isOpen,r=e.onOutsideClick,o=e.onParentClose,i=(0,n.useRef)(null),s=(0,n.useRef)(null),u=(0,n.useRef)(new Set),a=(0,n.useContext)(w),c=(0,n.useCallback)((function(e){var t=e.target,r=i.current&&i.current.contains(t),n=s.current&&s.current.contains(t),o=function(e,t){for(var r,n=l(e);!(r=n()).done;)if(!(0,r.value.shouldCloseWhenClickedOutside)(t))return!1;return!0}(u.current,e);return n&&o&&u.current.forEach((function(e){return(0,e.closeChild)()})),!r&&!n&&o}),[i,s,u]);return(0,n.useEffect)((function(){if("function"==typeof a)return a({shouldCloseWhenClickedOutside:c,closeChild:function(){o&&o()}})}),[a,c,o,u]),(0,n.useEffect)((function(){if(t&&r&&"function"!=typeof a)return document.addEventListener("click",e,!0),function(){return document.removeEventListener("click",e,!0)};function e(e){c(e)&&r()}}),[t,r,c,a]),(0,n.useEffect)((function(){t||u.current.forEach((function(e){return(0,e.closeChild)()}))}),[t]),{closeOnOutsideClickRefs:{trigger:i,layer:s},registrations:u}}({isOpen:i,onOutsideClick:F,onParentClose:G}),ue=se.closeOnOutsideClickRefs,ae=se.registrations,ce={triggerProps:Boolean(Z)?{}:{ref:v(re,ue.trigger,J)},layerProps:{ref:v(ne,ue.layer),style:$.styles.layer},arrowProps:{ref:oe,style:$.styles.arrow,layerSide:$.layerSide},layerSide:$.layerSide,triggerBounds:i?Z?Z.getBounds():null==(t=J.current)?void 0:t.getBoundingClientRect():null,renderLayer:function(e){return"undefined"!=typeof document?(0,o.createPortal)((0,n.createElement)(C,{registrations:ae,children:e}),u||!ie?function(e){var t;if("function"==typeof e){if(!((t=e())&&t instanceof HTMLElement))throw new Error("react-laag: You've passed a function to the 'container' prop, but it returned no valid HTMLElement")}else if(e instanceof HTMLElement)t=e;else if("string"==typeof e){if(!(t=document.getElementById(e)))throw new Error("react-laag: You've passed element with id '"+e+"' to the 'container' prop, but it returned no valid HTMLElement")}else{if(D instanceof HTMLElement)return D;(t=document.getElementById(Y))||((t=document.createElement("div")).id=Y,t.style.cssText="\n        position: absolute;\n        top: 0px;\n        left: 0px;\n        right: 0px;\n      ",document.body.appendChild(t))}return t}(_):ie):null}};return ce}var Y="layers",N=["size","angle","borderWidth","borderColor","roundness","backgroundColor","layerSide","style"],V="left",X="top",F="bottom",G="right";function Z(e,t){return Math.tan(e*(Math.PI/180))*t}function U(e,t,r,n){var o;return((o={})[F]="0 "+-n+" "+t+" "+e,o[X]="0 0 "+t+" "+(e+n),o[G]=-n+" 0 "+e+" "+t,o[V]="0 0 "+(e+n)+" "+t,o)[r.prop]}function $(e,t,r,n,o){var i,s,u,a=n/10*e*2,c=(i={},i[F]=[0,e],i[X]=[0,0],i[G]=[e,t],i[V]=[0,t],i)[r.prop].join(" "),l=r.isHorizontal?"V 0":"H "+t,f=t/2,p=t/2+Z(o,e/8),d=e/8,h=(s={},s[F]=["C",p,d,f+a,0,f,0],s[X]=["C",p,e-d,f+a,e,f,e],s[G]=["C",d,t-p,0,f-a,0,f],s[V]=["C",e-d,t-p,e,f-a,e,f],s)[r.prop].join(" "),g=t/2-Z(o,e/8),v=e/8;return["M",c,l,h,(u={},u[F]=["C",f-a,0,g,v,c],u[X]=["C",f-a,e,g,e-v,c],u[G]=["C",0,f+a,v,t-g,c],u[V]=["C",e,f+a,e-v,t-g,c],u)[r.prop].join(" ")].join(" ")}function q(e,t,r,n,o){var i=Z(o,r),s=n.isPush?[0,r]:[e,e-r],u=s[0],a=s[1];return n.isHorizontal?["M",u,r,"V",t-r,"L",a,t-r-i,"V",i+r,"Z"].join(" "):["M",r,u,"H",t-r,"L",t-r-i,a,"H",i+r,"Z"].join(" ")}var J,K=(0,n.forwardRef)((function(e,t){var r=e.size,o=void 0===r?8:r,i=e.angle,s=void 0===i?45:i,a=e.borderWidth,c=void 0===a?0:a,l=e.borderColor,f=void 0===l?"black":l,p=e.roundness,d=void 0===p?0:p,h=e.backgroundColor,g=void 0===h?"white":h,v=e.layerSide,m=void 0===v?"top":v,y=e.style,b=void 0===y?{}:y,w=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,N);if("center"===m)return null;var C=P[m],S=o,O=2*Z(s,o),E=Math.max(S,O);return(0,n.createElement)("svg",u({ref:t},w,{style:u({},b,{transform:"translate"+(C.isHorizontal?"Y":"X")+"(-50%)"}),width:E,height:E,preserveAspectRatio:C.isPush?"xMinYMin":"xMaxYMax",viewBox:U(S,O,C,c)}),(0,n.createElement)("path",{fill:g,strokeWidth:c,stroke:f,d:$(S,O,C,d,s)}),(0,n.createElement)("path",{fill:g,d:q(S,O,c,C,s)}))}));function Q(e){var t=void 0===e?{}:e,r=t.delayEnter,o=void 0===r?0:r,i=t.delayLeave,s=void 0===i?0:i,u=t.hideOnScroll,a=void 0===u||u,c=(0,n.use
1State)(!1),l=c[0],f=c[1],p=(0,n.useRef)(null),d=(0,n.useRef)(J.IDLE),h=(0,n.useRef)(!1),g=(0,n.useCallback)((function(){clearTimeout(p.current),p.current=null,d.current=J.IDLE}),[]);function v(e,t){if(d.current===J.ENTERING&&p.current&&g(),l){if(t)return f(!1),p.current=null,void(d.current=J.IDLE);d.current=J.LEAVING,p.current=window.setTimeout((function(){f(!1),p.current=null,d.current=J.IDLE}),s)}}return(0,n.useEffect)((function(){function e(){l&&a&&(g(),f(!1))}return window.addEventListener("scroll",e,!0),function(){window.removeEventListener("scroll",e,!0),p.current&&clearTimeout(p.current)}}),[l,a,g]),[l,{onMouseEnter:function(){d.current===J.LEAVING&&p.current&&g(),l||(d.current=J.ENTERING,p.current=window.setTimeout((function(){f(!0),p.current=null,d.current=J.IDLE}),o))},onMouseLeave:v,onTouchStart:function(){h.current=!1},onTouchMove:function(){h.current=!0},onTouchEnd:function(){h.current||l||f(!0),h.current=!1}},function(){return v(0,!0)}]}!function(e){e[e.ENTERING=0]="ENTERING",e[e.LEAVING=1]="LEAVING",e[e.IDLE=2]="IDLE"}(J||(J={}))}}]);

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.