PageSourceSearch

https://arttactic.com/_next/static/chunks/2276-2e97938631db8dfe.js

js arttactic.com collected 2026-10-02 05:50:22 UTC 12,192 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2276],{72276:function(e,t,n){n.d(t,{Z:function(){return H}});var r=n(2265),i=n(61994),o=n(20801),l=n(62919),u=n(68670),a=n(76315),s=n(60118),c=n(9665),d=n(58628);class p{static create(){return new p}static use(){let e=(0,d.Z)(p.create).current,[t,n]=r.useState(!1);return e.shouldMount=t,e.setShouldMount=n,r.useEffect(e.mountEffect,[t]),e}mount(){return this.mounted||(this.mounted=function(){let e,t;let n=new Promise((n,r)=>{e=n,t=r});return n.resolve=e,n.reject=t,n}(),this.shouldMount=!0,this.setShouldMount(this.shouldMount)),this.mounted}start(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];this.mount().then(()=>{var e;return null===(e=this.ref.current)||void 0===e?void 0:e.start(...t)})}stop(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];this.mount().then(()=>{var e;return null===(e=this.ref.current)||void 0===e?void 0:e.stop(...t)})}pulsate(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];this.mount().then(()=>{var e;return null===(e=this.ref.current)||void 0===e?void 0:e.pulsate(...t)})}constructor(){this.mountEffect=()=>{this.shouldMount&&!this.didMount&&null!==this.ref.current&&(this.didMount=!0,this.mounted.resolve())},this.ref={current:null},this.mounted=null,this.didMount=!1,this.shouldMount=!1,this.setShouldMount=null}}var h=n(45008),f=n(74610),m=n(1119),v=n(88671),b=n(79610);function g(e,t){var n=Object.create(null);return e&&r.Children.map(e,function(e){return e}).forEach(function(e){n[e.key]=t&&(0,r.isValidElement)(e)?t(e):e}),n}function y(e,t,n){return null!=n[t]?n[t]:e.props[t]}var M=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},x=function(e){function t(t,n){var r,i=(r=e.call(this,t,n)||this).handleExited.bind(function(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(r));return r.state={contextValue:{isMounting:!0},handleExited:i,firstRender:!0},r}(0,v.Z)(t,e);var n=t.prototype;return n.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},n.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(e,t){var n,i,o=t.children,l=t.handleExited;
1return{children:t.firstRender?g(e.children,function(t){return(0,r.cloneElement)(t,{onExited:l.bind(null,t),in:!0,appear:y(t,"appear",e),enter:y(t,"enter",e),exit:y(t,"exit",e)})}):(Object.keys(i=function(e,t){function n(n){return n in t?t[n]:e[n]}e=e||{},t=t||{};var r,i=Object.create(null),o=[];for(var l in e)l in t?o.length&&(i[l]=o,o=[]):o.push(l);var u={};for(var a in t){if(i[a])for(r=0;r<i[a].length;r++){var s=i[a][r];u[i[a][r]]=n(s)}u[a]=n(a)}for(r=0;r<o.length;r++)u[o[r]]=n(o[r]);return u}(o,n=g(e.children))).forEach(function(t){var u=i[t];if((0,r.isValidElement)(u)){var a=t in o,s=t in n,c=o[t],d=(0,r.isValidElement)(c)&&!c.props.in;s&&(!a||d)?i[t]=(0,r.cloneElement)(u,{onExited:l.bind(null,u),in:!0,exit:y(u,"exit",e),enter:y(u,"enter",e)}):s||!a||d?s&&a&&(0,r.isValidElement)(c)&&(i[t]=(0,r.cloneElement)(u,{onExited:l.bind(null,u),in:c.props.in,exit:y(u,"exit",e),enter:y(u,"enter",e)})):i[t]=(0,r.cloneElement)(u,{in:!1})}}),i),firstRender:!1}},n.handleExited=function(e,t){var n=g(this.props.children);e.key in n||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState(function(t){var n=(0,m.Z)({},t.children);return delete n[e.key],{children:n}}))},n.render=function(){var e=this.props,t=e.component,n=e.childFactory,i=(0,f.Z)(e,["component","childFactory"]),o=this.state.contextValue,l=M(this.state.children).map(n);return(delete i.appear,delete i.enter,delete i.exit,null===t)?r.createElement(b.Z.Provider,{value:o},l):r.createElement(b.Z.Provider,{value:o},r.createElement(t,i,l))},t}(r.Component);x.propTypes={},x.defaultProps={component:"div",childFactory:function(e){return e}};var E=n(56962),Z=n(3146),k=n(57437),P=n(94143);let R=(0,P.Z)("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]);function w(){let e=(0,h._)(["\n  0% {\n    transform: scale(0);\n    opacity: 0.1;\n  }\n\n  100% {\n    transform: scale(1);\n    opacity: 0.3;\n  }\n"]);return w=function(){return e},e}function S(){let e=(0,h._)(["\n  0% {\n    opacity: 1;\n  }\n\n  100% {\n    opacity: 0;\n  }\n"]);return S=function(){return e},e}function V(){let e=(0,h._)(["\n  0% {\n    transform: scale(1);\n  }\n\n  50% {\n    transform: scale(0.92);\n  }\n\n  100% {\n    transform: scale(1);\n  }\n"]);return V=function(){return e},e}function j(){let e=(0,h._)(["\n  opacity: 0;\n  position: absolute;\n\n  &."," {\n    opacity: 0.3;\n    transform: scale(1);\n    animation-name: ",";\n    animation-duration: ","ms;\n    animation-timing-function: ",";\n  }\n\n  &."," {\n    animation-duration: ","ms;\n  }\n\n  & ."," {\n    opacity: 1;\n    display: block;\n    width: 100%;\n    height: 100%;\n    border-radius: 50%;\n    background-color: currentColor;\n  }\n\n  & ."," {\n    opacity: 0;\n    animation-name: ",";\n    animation-duration: ","ms;\n    animation-timing-function: ",";\n  }\n\n  & ."," {\n    position: absolute;\n    /* @noflip */\n    left: 0px;\n    top: 0;\n    animation-name: ",";\n    animation-duration: 2500ms;\n    animation-timing-function: ",";\n    animation-iteration-count: infinite;\n    animation-delay: 200ms;\n  }\n"]);return j=function(){return e},e}let C=(0,Z.F4)(w()),T=(0,Z.F4)(S()),B=(0,Z.F4)(V()),D=(0,u.ZP)("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),A=(0,u.ZP)(function(e){let{className:t,classes:n,pulsate:o=!1,rippleX:l,rippleY:u,rippleSize:a,in:s,onExited:c,timeout:d}=e,[p,h]=r.useState(!1),f=(0,i.Z)(t,n.ripple,n.rippleVisible,o&&n.ripplePulsate),m=(0,i.Z)(n.child,p&&n.childLeaving,o&&n.childPulsate);return s||p||h(!0),r.useEffect(()=>{if(!s&&null!=c){let e=setTimeout(c,d);return()=>{clearTimeout(e)}}},[c,s,d]),(0,k.jsx)("span",{className:f,style:{width:a,height:a,top:-(a/2)+u,left:-(a/2)+l},children:(0,k.jsx)("span",{className:m})})},{name:"MuiTouchRipple",slot:"Ripple"})(j(),R.rippleVisible,C,550,e=>{let{theme:t}=e;return t.transitions.easing.easeInOut},R.ripplePulsate,e=>{let{theme:t}=e;return t.transitions.duration.shorter},R.child,R.childLeaving,T,550,e=>{let{theme:t}=e;return t.transitions.easing.easeInOut},R.childPulsate,B,e=>{let{theme:t}=e;return t.transitions.easing.easeInOut}),F=r.forwardRef(function(e,t){let{center:n=!1,classes:o={},className:l,...u}=(0,a.i)({props:e,name:"MuiTouchRipple"}),[s,c]=r.useState([]),d=r.useRef(0),p=r.useRef(null);r.useEffect(()=>{p.current&&(p.current(),p.current=null)},[s]);let h=r.useRef(!1),f=(0,E.Z)(),m=r.useRef(null),v=r.useRef(null),b=r.useCallback(e=>{let{pulsate:t,rippleX:n,rippleY:r,rippleSize:l,cb:u}=e;c(e=>[...e,(0,k.jsx)(A,{classes:{ripple:(0,i.Z)(o.ripple,R.ripple),rippleVisible:(0,i.Z)(o.rippleVisible,R.rippleVisible),ripplePulsate:(0,i.Z)(o.ripplePulsate,R.ripplePulsate),
1child:(0,i.Z)(o.child,R.child),childLeaving:(0,i.Z)(o.childLeaving,R.childLeaving),childPulsate:(0,i.Z)(o.childPulsate,R.childPulsate)},timeout:550,pulsate:t,rippleX:n,rippleY:r,rippleSize:l},d.current)]),d.current+=1,p.current=u},[o]),g=r.useCallback(function(){let e,t,r,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:()=>{},{pulsate:u=!1,center:a=n||o.pulsate,fakeElement:s=!1}=o;if((null==i?void 0:i.type)==="mousedown"&&h.current){h.current=!1;return}(null==i?void 0:i.type)==="touchstart"&&(h.current=!0);let c=s?null:v.current,d=c?c.getBoundingClientRect():{width:0,height:0,left:0,top:0};if(!a&&void 0!==i&&(0!==i.clientX||0!==i.clientY)&&(i.clientX||i.touches)){let{clientX:n,clientY:r}=i.touches&&i.touches.length>0?i.touches[0]:i;e=Math.round(n-d.left),t=Math.round(r-d.top)}else e=Math.round(d.width/2),t=Math.round(d.height/2);a?(r=Math.sqrt((2*d.width**2+d.height**2)/3))%2==0&&(r+=1):r=Math.sqrt((2*Math.max(Math.abs((c?c.clientWidth:0)-e),e)+2)**2+(2*Math.max(Math.abs((c?c.clientHeight:0)-t),t)+2)**2),(null==i?void 0:i.touches)?null===m.current&&(m.current=()=>{b({pulsate:u,rippleX:e,rippleY:t,rippleSize:r,cb:l})},f.start(80,()=>{m.current&&(m.current(),m.current=null)})):b({pulsate:u,rippleX:e,rippleY:t,rippleSize:r,cb:l})},[n,b,f]),y=r.useCallback(()=>{g({},{pulsate:!0})},[g]),M=r.useCallback((e,t)=>{if(f.clear(),(null==e?void 0:e.type)==="touchend"&&m.current){m.current(),m.current=null,f.start(0,()=>{M(e,t)});return}m.current=null,c(e=>e.length>0?e.slice(1):e),p.current=t},[f]);return r.useImperativeHandle(t,()=>({pulsate:y,start:g,stop:M}),[y,g,M]),(0,k.jsx)(D,{className:(0,i.Z)(R.root,o.root,l),ref:v,...u,children:(0,k.jsx)(x,{component:null,exit:!0,children:s})})});var I=n(50738);function L(e){return(0,I.ZP)("MuiButtonBase",e)}let O=(0,P.Z)("MuiButtonBase",["root","disabled","focusVisible"]),_=e=>{let{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:i}=e,l=(0,o.Z)({root:["root",t&&"disabled",n&&"focusVisible"]},L,i);return n&&r&&(l.root+=" ".concat(r)),l},N=(0,u.ZP)("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},["&.".concat(O.disabled)]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}});function z(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return(0,c.Z)(i=>(n&&n(i),r||e[t](i),!0))}var H=r.forwardRef(function(e,t){let n=(0,a.i)({props:e,name:"MuiButtonBase"}),{action:o,centerRipple:u=!1,children:d,className:h,component:f="button",disabled:m=!1,disableRipple:v=!1,disableTouchRipple:b=!1,focusRipple:g=!1,focusVisibleClassName:y,LinkComponent:M="a",onBlur:x,onClick:E,onContextMenu:Z,onDragLeave:P,onFocus:R,onFocusVisible:w,onKeyDown:S,onKeyUp:V,onMouseDown:j,onMouseLeave:C,onMouseUp:T,onTouchEnd:B,onTouchMove:D,onTouchStart:A,tabIndex:I=0,TouchRippleProps:L,touchRippleRef:O,type:H,...W}=n,U=r.useRef(null),X=p.use(),q=(0,s.Z)(X.ref,O),[K,Y]=r.useState(!1);m&&K&&Y(!1),r.useImperativeHandle(o,()=>({focusVisible:()=>{Y(!0),U.current.focus()}}),[]);let G=X.shouldMount&&!v&&!m;r.useEffect(()=>{K&&g&&!v&&X.pulsate()},[v,g,K,X]);let J=z(X,"start",j,b),Q=z(X,"stop",Z,b),$=z(X,"stop",P,b),ee=z(X,"stop",T,b),et=z(X,"stop",e=>{K&&e.preventDefault(),C&&C(e)}
1,b),en=z(X,"start",A,b),er=z(X,"stop",B,b),ei=z(X,"stop",D,b),eo=z(X,"stop",e=>{(0,l.Z)(e.target)||Y(!1),x&&x(e)},!1),el=(0,c.Z)(e=>{U.current||(U.current=e.currentTarget),(0,l.Z)(e.target)&&(Y(!0),w&&w(e)),R&&R(e)}),eu=()=>{let e=U.current;return f&&"button"!==f&&!("A"===e.tagName&&e.href)},ea=(0,c.Z)(e=>{g&&!e.repeat&&K&&" "===e.key&&X.stop(e,()=>{X.start(e)}),e.target===e.currentTarget&&eu()&&" "===e.key&&e.preventDefault(),S&&S(e),e.target===e.currentTarget&&eu()&&"Enter"===e.key&&!m&&(e.preventDefault(),E&&E(e))}),es=(0,c.Z)(e=>{g&&" "===e.key&&K&&!e.defaultPrevented&&X.stop(e,()=>{X.pulsate(e)}),V&&V(e),E&&e.target===e.currentTarget&&eu()&&" "===e.key&&!e.defaultPrevented&&E(e)}),ec=f;"button"===ec&&(W.href||W.to)&&(ec=M);let ed={};"button"===ec?(ed.type=void 0===H?"button":H,ed.disabled=m):(W.href||W.to||(ed.role="button"),m&&(ed["aria-disabled"]=m));let ep=(0,s.Z)(t,U),eh={...n,centerRipple:u,component:f,disabled:m,disableRipple:v,disableTouchRipple:b,focusRipple:g,tabIndex:I,focusVisible:K},ef=_(eh);return(0,k.jsxs)(N,{as:ec,className:(0,i.Z)(ef.root,h),ownerState:eh,onBlur:eo,onClick:E,onContextMenu:Q,onFocus:el,onKeyDown:ea,onKeyUp:es,onMouseDown:J,onMouseLeave:et,onMouseUp:ee,onDragLeave:$,onTouchEnd:er,onTouchMove:ei,onTouchStart:en,ref:ep,tabIndex:m?-1:I,type:H,...ed,...W,children:[d,G?(0,k.jsx)(F,{ref:q,center:u,...L}):null]})})}}]);

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.