PageSourceSearch

https://app.aieasypic.com/_next/static/chunks/7703-2f9813ba1be1aac7.js

js aieasypic.com collected 2026-10-04 13:25:04 UTC 15,342 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7703],{7703:(e,r,t)=>{t.d(r,{A:()=>ei});var o=t(55729),n=t(39286),a=t(42524),l=t(19720),i=t(61946);function c({value:e,min:r,max:t}){return Math.min(Math.max((e-r)/(t-r)*100,0),100)}var s=t(38169),u=t(92388),d=t(51690),m=Object.defineProperty,f=Object.defineProperties,b=Object.getOwnPropertyDescriptors,p=Object.getOwnPropertySymbols,h=Object.prototype.hasOwnProperty,v=Object.prototype.propertyIsEnumerable,y=(e,r,t)=>r in e?m(e,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[r]=t;let g={xs:(0,u.D)(4),sm:(0,u.D)(6),md:(0,u.D)(8),lg:(0,u.D)(10),xl:(0,u.D)(12)};var k=(0,s.r)(e=>({root:f(((e,r)=>{for(var t in r||(r={}))h.call(r,t)&&y(e,t,r[t]);if(p)for(var t of p(r))v.call(r,t)&&y(e,t,r[t]);return e})({},e.fn.fontStyles()),b({WebkitTapHighlightColor:"transparent",outline:0,display:"flex",flexDirection:"column",alignItems:"center",touchAction:"none",position:"relative"}))})),S=Object.defineProperty,w=Object.defineProperties,O=Object.getOwnPropertyDescriptors,E=Object.getOwnPropertySymbols,x=Object.prototype.hasOwnProperty,D=Object.prototype.propertyIsEnumerable,z=(e,r,t)=>r in e?S(e,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[r]=t,j=(0,s.r)((e,{color:r,disabled:t,thumbSize:o},{size:n})=>({label:{position:"absolute",top:(0,u.D)(-36),backgroundColor:"dark"===e.colorScheme?e.colors.dark[4]:e.colors.gray[9],fontSize:e.fontSizes.xs,color:e.white,padding:`calc(${e.spacing.xs} / 2)`,borderRadius:e.radius.sm,whiteSpace:"nowrap",pointerEvents:"none",userSelect:"none",touchAction:"none"},thumb:w(((e,r)=>{for(var t in r||(r={}))x.call(r,t)&&z(e,t,r[t]);if(E)for(var t of E(r))D.call(r,t)&&z(e,t,r[t]);return e})({},e.fn.focusStyles()),O({boxSizing:"border-box",position:"absolute",display:t?"none":"flex",height:o?(0,u.D)(o):`calc(${(0,d.Y)({sizes:g,size:n})} * 2)`,width:o?(0,u.D)(o):`calc(${(0,d.Y)({sizes:g,size:n})} * 2)`,backgroundColor:"dark"===e.colorScheme?e.fn.themeColor(r,e.fn.primaryShade()):e.white,border:`${(0,u.D)(4)} solid ${"dark"===e.colorScheme?e.white:e.fn.themeColor(r,e.fn.primaryShade())}`,color:"dark"===e.colorScheme?e.white:e.fn.themeColor(r,e.fn.primaryShade()),transform:"translate(-50%, -50%)",top:"50%",cursor:"pointer",borderRadius:1e3,alignItems:"center",justifyContent:"center",transitionDuration:"100ms",transitionProperty:"box-shadow, transform",transitionTimingFunction:e.transitionTimingFunction,zIndex:3,userSelect:"none",touchAction:"none"})),dragging:{transform:"translate(-50%, -50%) scale(1.05)",boxShadow:e.shadows.sm}})),P=t(50433),C=t(86085);let N=(0,o.forwardRef)(({max:e,min:r,value:t,position:n,label:a,dragging:l,onMouseDown:i,onKeyDownCapture:c,color:s,classNames:u,styles:d,size:m,labelTransition:f,labelTransitionDuration:b,labelTransitionTimingFunction:p,labelAlwaysOn:h,thumbLabel:v,onFocus:y,onBlur:g,showLabelOnHover:k,isHovered:S,children:w=null,disabled:O,unstyled:E,thumbSize:x,variant:D},z)=>{let{classes:N,cx:L,theme:$}=j({color:s,disabled:O,thumbSize:x},{name:"Slider",classNames:u,styles:d,unstyled:E,variant:D,size:m}),[M,R]=(0,o.useState)(!1),Y=h||l||M||k&&S;return o.createElement(P.a,{tabIndex:0,role:"slider","aria-label":v,"aria-valuemax":e,"aria-valuemin":r,"aria-valuenow":t,ref:z,className:L(N.thumb,{[N.dragging]:l}),onFocus:()=>{R(!0),"function"==typeof y&&y()},onBlur:()=>{R(!1),"function"==typeof g&&g()},onTouchStart:i,onMouseDown:i,onKeyDownCapture:c,onClick:e=>e.stopPropagation(),style:{["rtl"===$.dir?"right":"left"]:`${n}%`}},w,o.createElement(C.e,{mounted:null!=a&&Y,duration:b,transition:f,timingFunction:p||$.transitionTimingFunction},e=>o.createElement("div",{style:e,className:N.label},a)))});N.displayName="@mantine/core/SliderThumb";var L=(0,s.r)((e,{color:r,disabled:t,thumbSize:o},{size:n})=>({marksContainer:{position:"absolute",right:o?(0,u.D)(o/2):(0,d.Y)({sizes:g,size:n}
1),left:o?(0,u.D)(o/2):(0,d.Y)({sizes:g,size:n}),"&:has(~ input:disabled)":{"& .mantine-Slider-markFilled":{border:`${(0,u.D)(2)} solid ${"dark"===e.colorScheme?e.colors.dark[4]:e.colors.gray[2]}`,borderColor:"dark"===e.colorScheme?e.colors.dark[3]:e.colors.gray[4]}}},markWrapper:{position:"absolute",top:`calc(${(0,u.D)((0,d.Y)({sizes:g,size:n}))} / 2)`,zIndex:2,height:0},mark:{boxSizing:"border-box",border:`${(0,u.D)(2)} solid ${"dark"===e.colorScheme?e.colors.dark[4]:e.colors.gray[2]}`,height:(0,d.Y)({sizes:g,size:n}),width:(0,d.Y)({sizes:g,size:n}),borderRadius:1e3,transform:`translateX(calc(-${(0,d.Y)({sizes:g,size:n})} / 2))`,backgroundColor:e.white,pointerEvents:"none"},markFilled:{borderColor:t?"dark"===e.colorScheme?e.colors.dark[3]:e.colors.gray[4]:e.fn.variant({variant:"filled",color:r}).background},markLabel:{transform:`translate(-50%, calc(${e.spacing.xs} / 2))`,fontSize:e.fontSizes.sm,color:"dark"===e.colorScheme?e.colors.dark[2]:e.colors.gray[6],whiteSpace:"nowrap",cursor:"pointer",userSelect:"none"}}));function $({marks:e,color:r,size:t,thumbSize:n,min:a,max:l,value:i,classNames:s,styles:u,offset:d,onChange:m,disabled:f,unstyled:b,inverted:p,variant:h}){let{classes:v,cx:y}=L({color:r,disabled:f,thumbSize:n},{name:"Slider",classNames:s,styles:u,unstyled:b,variant:h,size:t}),g=e.map((e,r)=>o.createElement(P.a,{className:v.markWrapper,sx:{left:`${c({value:e.value,min:a,max:l})}%`},key:r},o.createElement("div",{className:y(v.mark,{[v.markFilled]:function({mark:e,offset:r,value:t,inverted:o=!1}){return o?"number"==typeof r&&e.value<=r||e.value>=t:"number"==typeof r?e.value>=r&&e.value<=t:e.value<=t}({mark:e,value:i,offset:d,inverted:p})})}),e.label&&o.createElement("div",{className:v.markLabel,onMouseDown:r=>{r.stopPropagation(),f||m(e.value)},onTouchStart:r=>{r.stopPropagation(),f||m(e.value)}},e.label)));return o.createElement("div",{className:v.marksContainer},g)}$.displayName="@mantine/core/SliderMarks";var M=(0,s.r)((e,{radius:r,color:t,disabled:o,inverted:n,thumbSize:a},{size:l})=>({trackContainer:{display:"flex",alignItems:"center",width:"100%",height:`calc(${(0,d.Y)({sizes:g,size:l})} * 2)`,cursor:"pointer","&:has(~ input:disabled)":{"&":{pointerEvents:"none"},"& .mantine-Slider-thumb":{display:"none"},"& .mantine-Slider-track::before":{content:'""',backgroundColor:n?"dark"===e.colorScheme?e.colors.dark[3]:e.colors.gray[4]:"dark"===e.colorScheme?e.colors.dark[4]:e.colors.gray[2]},"& .mantine-Slider-bar":{backgroundColor:n?"dark"===e.colorScheme?e.colors.dark[4]:e.colors.gray[2]:"dark"===e.colorScheme?e.colors.dark[3]:e.colors.gray[4]}}},track:{position:"relative",height:(0,d.Y)({sizes:g,size:l}),width:"100%",marginRight:a?(0,u.D)(a/2):(0,d.Y)({size:l,sizes:g}),marginLeft:a?(0,u.D)(a/2):(0,d.Y)({size:l,sizes:g}),"&::before":{content:'""',position:"absolute",top:0,bottom:0,borderRadius:e.fn.radius(r),right:`calc(${a?(0,u.D)(a/2):(0,d.Y)({size:l,sizes:g})} * -1)`,left:`calc(${a?(0,u.D)(a/2):(0,d.Y)({size:l,sizes:g})} * -1)`,backgroundColor:n?o?"dark"===e.colorScheme?e.colors.dark[3]:e.colors.gray[4]:e.fn.variant({variant:"filled",color:t}).background:"dark"===e.colorScheme?e.colors.dark[4]:e.colors.gray[2],zIndex:0}},bar:{position:"absolute",zIndex:1,top:0,bottom:0,backgroundColor:n?"dark"===e.colorScheme?e.colors.dark[4]:e.colors.gray[2]:o?"dark"===e.colorScheme?e.colors.dark[3]:e.colors.gray[4]:e.fn.variant({variant:"filled",color:t}).background,borderRadius:e.fn.radius(r)}})),R=Object.defineProperty,Y=Object.defineProperties,T=Object.getOwnPropertyDescriptors,F=Object.getOwnPropertySymbols,I=Object.prototype.hasOwnProperty,A=Object.prototype.propertyIsEnumerable,q=(e,r,t)=>r in e?R(e,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[r]=t,H=(e,r)=>{for(var t in r||(r={}))I.call(r,t)&&q(e,t,r[t]);if(F)for(var t of F(r))A.call(r,t)&&q(e,t,r[t]);return e};function _(e){let r,t;var{filled:n,size:a,thumbSize:l,color:i,classNames:c,styles:s,radius:m,children:f,offset:b,disabled:p,marksOffset:h,unstyled:v,inverted:y,variant:k,containerProps:S}=e,w=((e,r)=>{var t={};for(var o in e)I.call(e,o)&&0>r.indexOf(o)&&(t[o]=e[o]);if(null!=e&&F)for(var o of F(e))0>r.indexOf(o)&&A.call(e,o)&&(t[o]=e[o]);return t})(e,["filled","size","thumbSize","color","classNames","styles","radius","children","offset","disabled","marksOffset","unstyled","inverted","variant","containerProps"]);let{classes:O}=M({color:i,radius:m,disabled:p,inverted:y,thumbSize:l},{name:"Slider",classNames:c,styles:s,unstyled:v,variant:k,size:a});return o.createElement(o.Fragment,null,o.createElement("div",H({className:O.trackContainer},S),o.createElement("div",{className:O.track},o.createElement(P.a,{className:O.bar,sx:{left:`calc(${b}% - ${l?(0,u.D)(l/2):(0,d.Y)({size:a,sizes:g})})`,width:`calc(${n}% + 2 * ${l?(0,u.D)(l/2):(0,d.Y)({size:a,sizes:g})})`}}),f)),o.createElement($,(r=H({},w),t={size:a,thumbSize:l,color:i,offset:h,classNames:c,styles:s,disabled:p,unstyled:v,inverted:y,variant:k},Y(r,T(t)))))}_.displayName="@mantine/core/SliderTrack";var V=Object.defineProperty,W=Object.defineProperties,X=Object.getOwnPropertyDescriptors,B=Object.getOwnPropertySymbols,K=Object.prototype.hasOwnProperty,U=Object.prototype.propertyIsEnumerable,Z=(e,r,t)=>r in e?V(e,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[r]=t;let G=(0,o.forwardRef)((e,r)=>{var{className:t,size:n,classNames:a,styles:l,disabled:i,unstyled:c,variant:s}=e,u=((e,r)=>{var t={};for(var o in e)K.call(e,o)&&0>r.indexOf(o)&&(t[o]=e[o]);if(null!=e&&B)for(var o of B(e))0>r.indexOf(o)&&U.call(e,o)&&(t[o]=e[o]);return t})(e,["className","size","classNames","styles","disabled","unstyled","variant"]);let{classes:d,cx:m}=k(null,{name:"Slider",classNames:a,styles:l,unstyled:c,variant:s,size:n});return o.createElement(P.a,W(((e,r)=>{for(var t in r||(r={}))K.call(r,t)&&Z(e,t,r[t]);if(B)for(var t of B(r))U.call(r,t)&&Z(e,t,r[t]);return e})({}
1,u),X({tabIndex:-1,className:m(d.root,t),ref:r})))});function J(e,r){return parseFloat(e.toFixed(r))}G.displayName="@mantine/core/SliderRoot";var Q=Object.defineProperty,ee=Object.defineProperties,er=Object.getOwnPropertyDescriptors,et=Object.getOwnPropertySymbols,eo=Object.prototype.hasOwnProperty,en=Object.prototype.propertyIsEnumerable,ea=(e,r,t)=>r in e?Q(e,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[r]=t;let el={size:"md",radius:"xl",min:0,max:100,step:1,marks:[],label:e=>e,labelTransition:"skew-down",labelTransitionDuration:0,labelAlwaysOn:!1,thumbLabel:"",showLabelOnHover:!0,disabled:!1,scale:e=>e},ei=(0,o.forwardRef)((e,r)=>{let t,s,u=(0,i.a1)("Slider",el,e),{classNames:d,styles:m,color:f,value:b,onChange:p,onChangeEnd:h,size:v,radius:y,min:g,max:k,step:S,precision:w,defaultValue:O,name:E,marks:x,label:D,labelTransition:z,labelTransitionDuration:j,labelTransitionTimingFunction:P,labelAlwaysOn:C,thumbLabel:L,showLabelOnHover:$,thumbChildren:M,disabled:R,unstyled:Y,thumbSize:T,scale:F,inverted:I,variant:A}=u,q=((e,r)=>{var t={};for(var o in e)eo.call(e,o)&&0>r.indexOf(o)&&(t[o]=e[o]);if(null!=e&&et)for(var o of et(e))0>r.indexOf(o)&&en.call(e,o)&&(t[o]=e[o]);return t})(u,["classNames","styles","color","value","onChange","onChangeEnd","size","radius","min","max","step","precision","defaultValue","name","marks","label","labelTransition","labelTransitionDuration","labelTransitionTimingFunction","labelAlwaysOn","thumbLabel","showLabelOnHover","thumbChildren","disabled","unstyled","thumbSize","scale","inverted","variant"]),H=null!=w?w:function(e){if(!e)return 0;let r=e.toString().split(".");return r.length>1?r[1].length:0}(S),V=(0,i.xd)(),[W,X]=(0,o.useState)(!1),[B,K]=(0,n.Z)({value:"number"==typeof b?(0,a.q)(b,g,k):b,defaultValue:"number"==typeof O?(0,a.q)(O,g,k):O,finalValue:(0,a.q)(0,g,k),onChange:p}),U=(0,o.useRef)(B),Z=(0,o.useRef)(),Q=(0,o.useRef)(),ei=c({value:B,min:g,max:k}),ec=F(B),es="function"==typeof D?D(ec):D,{ref:eu,active:ed}=function(e,r,t="ltr"){let n=(0,o.useRef)(),l=(0,o.useRef)(!1),i=(0,o.useRef)(!1),c=(0,o.useRef)(0),[s,u]=(0,o.useState)(!1);return(0,o.useEffect)(()=>{l.current=!0},[]),(0,o.useEffect)(()=>{let o=({x:r,y:o})=>{cancelAnimationFrame(c.current),c.current=requestAnimationFrame(()=>{if(l.current&&n.current){n.current.style.userSelect="none";let l=n.current.getBoundingClientRect();if(l.width&&l.height){let n=(0,a.q)((r-l.left)/l.width,0,1);e({x:"ltr"===t?n:1-n,y:(0,a.q)((o-l.top)/l.height,0,1)})}}})},s=()=>{!i.current&&l.current&&(i.current=!0,"function"==typeof(null==r?void 0:r.onScrubStart)&&r.onScrubStart(),u(!0),document.addEventListener("mousemove",f),document.addEventListener("mouseup",d),document.addEventListener("touchmove",p),document.addEventListener("touchend",d))},d=()=>{i.current&&l.current&&(i.current=!1,u(!1),document.removeEventListener("mousemove",f),document.removeEventListener("mouseup",d),document.removeEventListener("touchmove",p),document.removeEventListener("touchend",d),setTimeout(()=>{"function"==typeof(null==r?void 0:r.onScrubEnd)&&r.onScrubEnd()},0))},m=e=>{s(),e.preventDefault(),f(e)},f=e=>o({x:e.clientX,y:e.clientY}),b=e=>{e.cancelable&&e.preventDefault(),s(),p(e)},p=e=>{e.cancelable&&e.preventDefault(),o({x:e.changedTouches[0].clientX,y:e.changedTouches[0].clientY})};return n.current.addEventListener("mousedown",m),n.current.addEventListener("touchstart",b,{passive:!1}),()=>{n.current&&(n.current.removeEventListener("mousedown",m),n.current.removeEventListener("touchstart",b))}},[t,e]),{ref:n,active:s}}((0,o.useCallback)(({x:e})=>{if(!R){let r=function({value:e,containerWidth:r,min:t,max:o,step:n,precision:a}){let l=(r?Math.min(Math.max(e,0),r)/r:e)*(o-t),i=Math.max((0!==l?Math.round(l/n)*n:0)+t,t);return void 0!==a?Number(i.toFixed(a)):i}({value:e,min:g,max:k,step:S,precision:H});K(r),U.current=r}},[R,g,k,S,H,K]),{onScrubEnd:()=>null==h?void 0:h(U.current)},V.dir);return o.createElement(G,(t=((e,r)=>{for(var t in r||(r={}))eo.call(r,t)&&ea(e,t,r[t]);if(et)for(var t of et(r))en.call(r,t)&&ea(e,t,r[t]);return e})({},q),s={ref:(0,l.p)(r,Z),onKeyDownCapture:e=>{if(!R)switch(e.key){case"ArrowUp":{e.preventDefault(),Q.current.focus();let r=J(Math.min(Math.max(B+S,g),k),H);null==h||h(r),K(r);break}case"ArrowRight":{e.preventDefault(),Q.current.focus();let r=J(Math.min(Math.max("rtl"===V.dir?B-S:B+S,g),k),H);null==h||h(r),K(r);break}case"ArrowDown":{e.preventDefault(),Q.current.focus();let r=J(Math.min(Math.max(B-S,g),k),H);null==h||h(r),K(r);break}case"ArrowLeft":{e.preventDefault(),Q.current.focus();let r=J(Math.min(Math.max("rtl"===V.dir?B+S:B-S,g),k),H);null==h||h(r),K(r);break}case"Home":e.preventDefault(),Q.current.focus(),null==h||h(g),K(g);break;case"End":e.preventDefault(),Q.current.focus(),null==h||h(k),K(k)}},onMouseDownCapture:()=>{var e;return null==(e=Z.current)?void 0:e.focus()},size:v,classNames:d,styles:m,disabled:R,unstyled:Y,variant:A},ee(t,er(s))),o.createElement(_,{inverted:I,offset:0,filled:ei,marks:x,size:v,thumbSize:T,radius:y,color:f,min:g,max:k,value:ec,onChange:K,classNames:d,styles:m,disabled:R,unstyled:Y,variant:A,containerProps:{ref:eu,onMouseEnter:$?()=>X(!0):void 0,onMouseLeave:$?()=>X(!1):void 0}},o.createElement(N,{max:k,min:g,value:ec,position:ei,dragging:ed,color:f,size:v,label:es,ref:Q,labelTransition:z,labelTransitionDuration:j,labelTransitionTimingFunction:P,labelAlwaysOn:C,classNames:d,styles:m,thumbLabel:L,showLabelO
1nHover:$,isHovered:W,disabled:R,unstyled:Y,thumbSize:T,variant:A},M)),o.createElement("input",{type:"hidden",name:E,value:ec}))});ei.displayName="@mantine/core/Slider"}}]);

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.