PageSourceSearch

https://www.plaudli.de/_next/static/chunks/7553-59972abe09728cdd.js

js plaudli.de collected 2026-10-07 07:12:56 UTC 7,869 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7553],{67553:function(e,t,n){n.d(t,{bU:function(){return X},e6:function(){return B},fC:function(){return O},fQ:function(){return W}});var r=n(2265),o=n(62361),i=n(78149),l=n(1584),a=n(98324),d=n(91715),u=n(87513),s=n(47250),c=n(75238),f=n(18676),m=n(921),p=n(57437),h=["PageUp","PageDown"],v=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],w={"from-left":["Home","PageDown","ArrowDown","ArrowLeft"],"from-right":["Home","PageDown","ArrowDown","ArrowRight"],"from-bottom":["Home","PageDown","ArrowDown","ArrowLeft"],"from-top":["Home","PageDown","ArrowUp","ArrowLeft"]},g="Slider",[b,S,y]=(0,m.B)(g),[x,D]=(0,a.b)(g,[y]),[M,R]=x(g),E=r.forwardRef((e,t)=>{let{name:n,min:l=0,max:a=100,step:u=1,orientation:s="horizontal",disabled:c=!1,minStepsBetweenThumbs:f=0,defaultValue:m=[l],value:w,onValueChange:g=()=>{},onValueCommit:S=()=>{},inverted:y=!1,...x}=e,D=r.useRef(new Set),R=r.useRef(0),E="horizontal"===s?_:k,[P=[],j]=(0,d.T)({prop:w,defaultProp:m,onChange:e=>{var t;null===(t=[...D.current][R.current])||void 0===t||t.focus(),g(e)}}),A=r.useRef(P);function C(e,t){let{commit:n}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{commit:!1},r=(String(u).split(".")[1]||"").length,i=function(e,t){let n=Math.pow(10,t);return Math.round(e*n)/n}(Math.round((e-l)/u)*u+l,r),d=(0,o.u)(i,[l,a]);j(function(){var e,r;let o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],i=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0,r=[...e];return r[n]=t,r.sort((e,t)=>e-t)}(o,d,t);if(e=i,!(!((r=f*u)>0)||Math.min(...e.slice(0,-1).map((t,n)=>e[n+1]-t))>=r))return o;{R.current=i.indexOf(d);let e=String(i)!==String(o);return e&&n&&S(i),e?i:o}})}return(0,p.jsx)(M,{scope:e.__scopeSlider,name:n,disabled:c,min:l,max:a,valueIndexToChangeRef:R,thumbs:D.current,values:P,orientation:s,children:(0,p.jsx)(b.Provider,{scope:e.__scopeSlider,children:(0,p.jsx)(b.Slot,{scope:e.__scopeSlider,children:(0,p.jsx)(E,{"aria-disabled":c,"data-disabled":c?"":void 0,...x,ref:t,onPointerDown:(0,i.M)(x.onPointerDown,()=>{c||(A.current=P)}),min:l,max:a,inverted:y,onSlideStart:c?void 0:function(e){let t=function(e,t){if(1===e.length)return 0;let n=e.map(e=>Math.abs(e-t));return n.indexOf(Math.min(...n))}(P,e);C(e,t)},onSlideMove:c?void 0:function(e){C(e,R.current)},onSlideEnd:c?void 0:function(){let e=A.current[R.current];P[R.current]!==e&&S(P)},onHomeKeyDown:()=>!c&&C(l,0,{commit:!0}),onEndKeyDown:()=>!c&&C(a,P.length-1,{commit:!0}),onStepKeyDown:e=>{let{event:t,direction:n}=e;if(!c){let e=h.includes(t.key)||t.shiftKey&&v.includes(t.key),r=R.current;C(P[r]+u*(e?10:1)*n,r,{commit:!0})}}})})})})});E.displayName=g;var[P,j]=x(g,{startEdge:"left",endEdge:"right",size:"width",direction:1}),_=r.forwardRef((e,t)=>{let{min:n,max:o,dir:i,inverted:a,onSlideStart:d,onSlideMove:s,onSlideEnd:c,onStepKeyDown:f,...m}=e,[h,v]=r.useState(null),g=(0,l.e)(t,e=>v(e)),b=r.useRef(),S=(0,u.gm)(i),y="ltr"===S,x=y&&!a||!y&&a;function D(e){let t=b.current||h.getBoundingClientRect(),r=T([0,t.width],x?[n,o]:[o,n]);return b.current=t,r(e-t.left)}return(0,p.jsx)(P,{scope:e.__scopeSlider,startEdge:x?"left":"right",endEdge:x?"right":"left",direction:x?1:-1,size:"width",children:(0,p.jsx)(A,{dir:S,"data-orientation":"horizontal",...m,ref:g,style:{...m.style,"--radix-slider-thumb-transform":"translateX(-50%)"},onSlideStart:e=>{let t=D(e.clientX);null==d||d(t)},onSlideMove:e=>{let t=D(e.clientX);null==s||s(t)},onSlideEnd:()=>{b.current=void 0,null==c||c()},onStepKeyDown:e=>{let t=w[x?"from-left":"from-right"].includes(e.key);null==f||f({event:e,direction:t?-1:1})}})})}),k=r.forwardRef((e,t)=>{let{min:n,max:o,inverted:i,onSlideStart:a,onSlideMove:d,onSlideEnd:u,onStepKeyDown:s,...c}=e,f=r.useRef(null),m=(0,l.e)(t,f),h=r.useRef(),v=!i;function g(e){let t=h.current||f.current.getBoundingClientRect(),r=T([0,t.height],v?[o,n]:[n,o]);return h.current=t,r(e-t.top)}return(0,p.jsx)(P,{scope:e.__scopeSlider,startEdge:v?"bottom":"top",endEdge:v?"top":"bottom",size:"height",direction:v?1:-1,children:(0,p.jsx)(A,{"data-orientation":"vertical",...c,ref:m,style:{...c.style,"--radix-slider-thumb-transform":"translateY(50%)"},onSlideStart:e=>{let t=g(e.clientY);null==a||a(t)},onSlideMove:e=>{let t=g(e.clientY);null==d||d(t)},onSlideEnd:()=>{h.current=void 0,null==u||u()},onStepKeyDown:e=>
1{let t=w[v?"from-bottom":"from-top"].includes(e.key);null==s||s({event:e,direction:t?-1:1})}})})}),A=r.forwardRef((e,t)=>{let{__scopeSlider:n,onSlideStart:r,onSlideMove:o,onSlideEnd:l,onHomeKeyDown:a,onEndKeyDown:d,onStepKeyDown:u,...s}=e,c=R(g,n);return(0,p.jsx)(f.WV.span,{...s,ref:t,onKeyDown:(0,i.M)(e.onKeyDown,e=>{"Home"===e.key?(a(e),e.preventDefault()):"End"===e.key?(d(e),e.preventDefault()):h.concat(v).includes(e.key)&&(u(e),e.preventDefault())}),onPointerDown:(0,i.M)(e.onPointerDown,e=>{let t=e.target;t.setPointerCapture(e.pointerId),e.preventDefault(),c.thumbs.has(t)?t.focus():r(e)}),onPointerMove:(0,i.M)(e.onPointerMove,e=>{e.target.hasPointerCapture(e.pointerId)&&o(e)}),onPointerUp:(0,i.M)(e.onPointerUp,e=>{let t=e.target;t.hasPointerCapture(e.pointerId)&&(t.releasePointerCapture(e.pointerId),l(e))})})}),C="SliderTrack",I=r.forwardRef((e,t)=>{let{__scopeSlider:n,...r}=e,o=R(C,n);return(0,p.jsx)(f.WV.span,{"data-disabled":o.disabled?"":void 0,"data-orientation":o.orientation,...r,ref:t})});I.displayName=C;var K="SliderRange",z=r.forwardRef((e,t)=>{let{__scopeSlider:n,...o}=e,i=R(K,n),a=j(K,n),d=r.useRef(null),u=(0,l.e)(t,d),s=i.values.length,c=i.values.map(e=>L(e,i.min,i.max));return(0,p.jsx)(f.WV.span,{"data-orientation":i.orientation,"data-disabled":i.disabled?"":void 0,...o,ref:u,style:{...e.style,[a.startEdge]:(s>1?Math.min(...c):0)+"%",[a.endEdge]:100-Math.max(...c)+"%"}})});z.displayName=K;var H="SliderThumb",N=r.forwardRef((e,t)=>{let n=S(e.__scopeSlider),[o,i]=r.useState(null),a=(0,l.e)(t,e=>i(e)),d=r.useMemo(()=>o?n().findIndex(e=>e.ref.current===o):-1,[n,o]);return(0,p.jsx)(U,{...e,ref:a,index:d})}),U=r.forwardRef((e,t)=>{var n;let{__scopeSlider:o,index:a,name:d,...u}=e,s=R(H,o),m=j(H,o),[h,v]=r.useState(null),w=(0,l.e)(t,e=>v(e)),g=!h||!!h.closest("form"),S=(0,c.t)(h),y=s.values[a],x=void 0===y?0:L(y,s.min,s.max),D=(n=s.values.length)>2?"Value ".concat(a+1," of ").concat(n):2===n?["Minimum","Maximum"][a]:void 0,M=null==S?void 0:S[m.size],E=M?function(e,t,n){let r=e/2,o=T([0,50],[0,r]);return(r-o(t)*n)*n}(M,x,m.direction):0;return r.useEffect(()=>{if(h)return s.thumbs.add(h),()=>{s.thumbs.delete(h)}},[h,s.thumbs]),(0,p.jsxs)("span",{style:{transform:"var(--radix-slider-thumb-transform)",position:"absolute",[m.startEdge]:"calc(".concat(x,"% + ").concat(E,"px)")},children:[(0,p.jsx)(b.ItemSlot,{scope:e.__scopeSlider,children:(0,p.jsx)(f.WV.span,{role:"slider","aria-label":e["aria-label"]||D,"aria-valuemin":s.min,"aria-valuenow":y,"aria-valuemax":s.max,"aria-orientation":s.orientation,"data-orientation":s.orientation,"data-disabled":s.disabled?"":void 0,tabIndex:s.disabled?void 0:0,...u,ref:w,style:void 0===y?{display:"none"}:e.style,onFocus:(0,i.M)(e.onFocus,()=>{s.valueIndexToChangeRef.current=a})})}),g&&(0,p.jsx)(V,{name:null!=d?d:s.name?s.name+(s.values.length>1?"[]":""):void 0,value:y},a)]})});N.displayName=H;var V=e=>{let{value:t,...n}=e,o=r.useRef(null),i=(0,s.D)(t);return r.useEffect(()=>{let e=o.current,n=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"value").set;if(i!==t&&n){let r=new Event("input",{bubbles:!0});n.call(e,t),e.dispatchEvent(r)}},[i,t]),(0,p.jsx)("input",{style:{display:"none"},...n,ref:o,defaultValue:t})};function L(e,t,n){return(0,o.u)(100/(n-t)*(e-t),[0,100])}function T(e,t){return n=>{if(e[0]===e[1]||t[0]===t[1])return t[0];let r=(t[1]-t[0])/(e[1]-e[0]);return t[0]+r*(n-e[0])}}var O=E,W=I,B=z,X=N}}]);

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.