1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5974],{26497:(e,t,r)=>{r.d(t,{N:()=>g});var n=r(95155),o=r(12115),i=r(60296),s=r(94416),l=r(46436),a=r(59686),u=r(81402),c=r(53127);function d(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}class f extends o.Component{getSnapshotBeforeUpdate(e){let t=this.props.childRef.current;if((0,u.s)(t)&&e.isPresent&&!this.props.isPresent&&!1!==this.props.pop){let e=t.offsetParent,r=(0,u.s)(e)&&e.offsetWidth||0,n=(0,u.s)(e)&&e.offsetHeight||0,o=getComputedStyle(t),i=this.props.sizeRef.current;i.height=parseFloat(o.height),i.width=parseFloat(o.width),i.top=t.offsetTop,i.left=t.offsetLeft,i.right=r-i.width-i.left,i.bottom=n-i.height-i.top,i.direction=o.direction}return null}componentDidUpdate(){}render(){return this.props.children}}function p(e){let{children:t,isPresent:r,anchorX:i,anchorY:s,root:l,pop:a}=e,u=(0,o.useId)(),p=(0,o.useRef)(null),h=(0,o.useRef)({width:0,height:0,top:0,left:0,right:0,bottom:0,direction:"ltr"}),{nonce:m}=(0,o.useContext)(c.Q),x=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return o.useCallback(function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return e=>{let r=!1,n=t.map(t=>{let n=d(t,e);return r||"function"!=typeof n||(r=!0),n});if(r)return()=>{for(let e=0;e<n.length;e++){let r=n[e];"function"==typeof r?r():d(t[e],null)}}}}(...t),t)}(p,!1!==a?t.props?.ref??t?.ref:void 0);return(0,o.useInsertionEffect)(()=>{let{width:e,height:t,top:n,left:o,right:c,bottom:d,direction:f}=h.current;if(r||!1===a||!p.current||!e||!t)return;let x="rtl"===f,y="left"===i?x?`right: ${c}`:`left: ${o}`:x?`left: ${o}`:`right: ${c}`,v="bottom"===s?`bottom: ${d}`:`top: ${n}`;p.current.dataset.motionPopId=u;let g=document.createElement("style");m&&(g.nonce=m);let b=l??document.head;return b.appendChild(g),g.sheet&&g.sheet.insertRule(` 2 [data-motion-pop-id="${u}"] { 3 position: absolute !important; 4 width: ${e}px !important; 5 height: ${t}px !important; 6 ${y}px !important; 7 ${v}px !important; 8 } 9 `),()=>{p.current?.removeAttribute("data-motion-pop-id"),b.contains(g)&&b.removeChild(g)}},[r]),(0,n.jsx)(f,{isPresent:r,childRef:p,sizeRef:h,pop:a,children:!1===a?t:o.cloneElement(t,{ref:x})})}let h=e=>{let{children:t,initial:r,isPresent:i,onExitComplete:u,custom:c,presenceAffectsLayout:d,mode:f,anchorX:h,anchorY:x,root:y}=e,v=(0,s.M)(m),g=(0,o.useId)(),b=(0,o.useRef)(i),w=(0,o.useRef)(u);(0,l.E)(()=>{b.current=i,w.current=u});let j=!0,k=(0,o.useMemo)(()=>(j=!1,{id:g,initial:r,isPresent:i,custom:c,onExitComplete:e=>
9{for(let t of(v.set(e,!0),v.values()))if(!t)return;u&&u()},register:e=>(v.set(e,!1),()=>{v.delete(e),b.current||v.size||w.current?.()})}),[i,v,u]);return d&&j&&(k={...k}),(0,o.useMemo)(()=>{v.forEach((e,t)=>v.set(t,!1))},[i]),o.useEffect(()=>{i||v.size||!u||u()},[i]),t=(0,n.jsx)(p,{pop:"popLayout"===f,isPresent:i,anchorX:h,anchorY:x,root:y,children:t}),(0,n.jsx)(a.t.Provider,{value:k,children:t})};function m(){return new Map}var x=r(75601);let y=e=>e.key||"";function v(e){let t=[];return o.Children.forEach(e,e=>{(0,o.isValidElement)(e)&&t.push(e)}),t}let g=e=>{let{children:t,custom:r,initial:a=!0,onExitComplete:u,presenceAffectsLayout:c=!0,mode:d="sync",propagate:f=!1,anchorX:p="left",anchorY:m="top",root:g}=e,[b,w]=(0,x.xQ)(f),j=(0,o.useMemo)(()=>v(t),[t]),k=f&&!b?[]:j.map(y),E=(0,o.useRef)(!0),R=(0,o.useRef)(j),C=(0,s.M)(()=>new Map),N=(0,o.useRef)(new Set),[P,A]=(0,o.useState)(j),[S,$]=(0,o.useState)(j);(0,l.E)(()=>{E.current=!1,R.current=j;for(let e=0;e<S.length;e++){let t=y(S[e]);k.includes(t)?(C.delete(t),N.current.delete(t)):!0!==C.get(t)&&C.set(t,!1)}},[S,k.length,k.join("-")]);let M=[];if(j!==P){let e=[...j];for(let t=0;t<S.length;t++){let r=S[t],n=y(r);k.includes(n)||(e.splice(t,0,r),M.push(r))}return"wait"===d&&M.length&&(e=M),$(v(e)),A(j),null}let{forceRender:O}=(0,o.useContext)(i.L);return(0,n.jsx)(n.Fragment,{children:S.map(e=>{let t=y(e),o=(!f||!!b)&&(j===S||k.includes(t));return(0,n.jsx)(h,{isPresent:o,initial:(!E.current||!!a)&&void 0,custom:r,presenceAffectsLayout:c,mode:d,root:g,onExitComplete:o?void 0:()=>{if(N.current.has(t)||!C.has(t))return;N.current.add(t),C.set(t,!0);let e=!0;C.forEach(t=>{t||(e=!1)}),e&&(O?.(),$(R.current),f&&w?.(),u&&u())},anchorX:p,anchorY:m,children:e},t)})})}},35974:(e,t,r)=>{r.r(t),r.d(t,{default:()=>p});var n=r(95155),o=r(1213),i=r(26497),s=r(15927),l=r(12115);function a(){return(a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(null,arguments)}var u=["id","volume","playbackRate","soundEnabled","interrupt","onload"];let c=function(e,t){var n=void 0===t?{}:t,o=n.volume,i=void 0===o?1:o,s=n.playbackRate,c=void 0===s?1:s,d=n.soundEnabled,f=void 0===d||d,p=n.interrupt,h=void 0!==p&&p,m=n.onload,x=function(e,t){if(null==e)return{};var r={};for(var n in e)if(({}).hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(n,u),y=l.useRef(null),v=l.useRef(!1),g=l.useState(null),b=g[0],w=g[1],j=l.useState(null),k=j[0],E=j[1],R=function(){"function"==typeof m&&m.call(this),v.current&&w(1e3*this.duration()),E(this)};(0,l.useEffect)(function(){return r.e(5366).then(r.t.bind(r,25366,23)).then(function(t){if(!v.current){var r;y.current=null!=(r=t.Howl)?r:t.default.Howl,v.current=!0,new y.current(a({src:Array.isArray(e)?e:[e],volume:i,rate:c,onload:R},x))}}),function(){v.current=!1}},[]),l.useEffect(function(){y.current&&k&&E(new y.current(a({src:Array.isArray(e)?e:[e],volume:i,onload:R},x)))},[JSON.stringify(e)]),l.useEffect(function(){k&&(k.volume(i),x.sprite||k.rate(c))},[k,i,c]);var C=l.useCallback(function(e){void 0===e&&(e={}),k&&(f||e.forceSoundEnabled)&&(h&&k.stop(),e.playbackRate&&k.rate(e.playbackRate),k.play(e.id))},[k,f,h]),N=l.useCallback(function(e){k&&k.stop(e)},[k]),P=l.useCallback(function(e){k&&k.pause(e)},[k]);return[C,{sound:k,stop:N,pause:P,duration:b}]};var d=r(53124),f=r(58415);function p(){let e=(0,o.wA)(),t=(0,o.d4)(d.F),[a,u]=(0,l.useState)(!1),[p]=c("/sounds/success.mp3");async function h(){let{handleSuccess:t}=await Promise.all([r.e(844),r.e(3369),r.e(2078),r.e(9554),r.e(4478),r.e(7878)]).then(r.bind(r,64478));t(e)}return(0,l.useEffect)(()=>{let e=setTimeout(()=>{p(),u(!0)},1e3);return()=>clearTimeout(e)},[]),(0,n.jsx)("main",{className:"flex flex-col items-center justify-center bg-transparent transition-colors",children:(0,n.jsx)(i.N,{children:(0,n.jsxs)(s.P.section,{initial:{y:100,opacity:0},animate:{y:0,opacity:1},transition:{duration:1.2,ease:"easeOut"},exit:{opacity:0,y:50},className:"flex flex-col items-center justify-center w-[24rem]
9space-y-6 rounded-[12px] border-2 border-gray-200 dark:border-none dark:bg-navy-700 p-6 shadow-lg",children:[(0,n.jsx)(s.P.div,{initial:{y:300,rotateX:0,scale:.6},animate:{y:0,rotateX:1080,scale:1},transition:{type:"spring",stiffness:250,damping:18,duration:3},className:"flex items-center justify-center rounded-full w-20 h-20 bg-blue-500",style:{transformStyle:"preserve-3d",perspective:"1000px"},children:a&&(0,n.jsx)(s.P.div,{initial:{scale:0},animate:{scale:1},transition:{duration:.3,delay:.1},children:(0,n.jsx)(f.A,{className:"text-white w-12 h-12","aria-hidden":"true"})})}),(0,n.jsxs)("div",{className:"flex flex-col items-center",children:[(0,n.jsx)("h2",{className:"font-semibold text-gray-600 dark:text-navy-100 text-2xl",children:t[0]}),(0,n.jsx)("h3",{className:"text-gray-500 dark:text-gray-300 text-center",children:t[1]})]}),(0,n.jsx)("button",{type:"button",className:"w-full bg-blue-500 text-white rounded-[12px] py-[10px] px-4 cursor-pointer transition-all duration-300 transform hover:scale-105 hover:shadow-xl active:scale-95 button-glow",onClick:h,children:"Done"})]})})})}},58415:(e,t,r)=>{r.d(t,{A:()=>o});var n=r(95155);r(12115);let o=e=>{let{className:t,...r}=e;return(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"2em",height:"2em",viewBox:"0 0 16 16",fill:"none",className:t,...r,children:(0,n.jsx)("path",{d:"m2.75 8.75l3.5 3.5l7-7.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})}}}]);
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.