PageSourceSearch

https://app.memrise.com/_next/static/chunks/126-8058a00481b7a9a5.js

js memrise.com collected 2026-09-24 08:28:07 UTC 4,906 bytes, 10 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[126,7745],{30718:(e,t,r)=>{r.d(t,{c:()=>s});var n=r(27925),o=r(76746),i=r(14180);function s(e,t,r){var s=(0,o.x)(null==r?void 0:r.in,e,t),u=(0,n.A)(s,2),c=u[0],f=u[1],a=l(c,f),p=Math.abs((0,i.m)(c,f));c.setDate(c.getDate()-a*p);var h=Number(l(c,f)===-a),d=a*(p-h);return 0===d?0:d}function l(e,t){var r=e.getFullYear()-t.getFullYear()||e.getMonth()-t.getMonth()||e.getDate()-t.getDate()||e.getHours()-t.getHours()||e.getMinutes()-t.getMinutes()||e.getSeconds()-t.getSeconds()||e.getMilliseconds()-t.getMilliseconds();return r<0?-1:r>0?1:r}},75784:(e,t,r)=>{r.d(t,{N:()=>E});var n=r(37876),o=r(14232),i=r(5048),s=r(91200),l=r(74896),u=r(3866),c=r(7990),f=r(39751);function a(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}class p extends o.Component{getSnapshotBeforeUpdate(e){let t=this.props.childRef.current;if((0,c.s)(t)&&e.isPresent&&!this.props.isPresent&&!1!==this.props.pop){let e=t.offsetParent,r=(0,c.s)(e)&&e.offsetWidth||0,n=(0,c.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 h({children:e,isPresent:t,anchorX:r,anchorY:i,root:s,pop:l}){let u=(0,o.useId)(),c=(0,o.useRef)(null),d=(0,o.useRef)({width:0,height:0,top:0,left:0,right:0,bottom:0,direction:"ltr"}),{nonce:g}=(0,o.useContext)(f.Q),m=function(...e){return o.useCallback(function(...e){return t=>{let r=!1,n=e.map(e=>{let n=a(e,t);return r||"function"!=typeof n||(r=!0),n});if(r)return()=>{for(let t=0;t<n.length;t++){let r=n[t];"function"==typeof r?r():a(e[t],null)}}}}(...e),e)}(c,!1!==l?e.props?.ref??e?.ref:void 0);return(0,o.useInsertionEffect)(()=>{let{width:e,height:n,top:o,left:f,right:a,bottom:p,direction:h}=d.current;if(t||!1===l||!c.current||!e||!n)return;let m="rtl"===h,x="left"===r?m?`right: ${a}`:`left: ${f}`:m?`left: ${f}`:`right: ${a}`,v="bottom"===i?`bottom: ${p}`:`top: ${o}`;c.current.dataset.motionPopId=u;let E=document.createElement("style");g&&(E.nonce=g);let M=s??document.head;return M.appendChild(E),E.sheet&&E.sheet.insertRule(`
2          [data-motion-pop-id="${u}"] {
3            position: absolute !important;
4            width: ${e}px !important;
5            height: ${n}px !important;
6            ${x}px !important;
7            ${v}px !important;
8          }
9        `),()=>{c.current?.removeAttribute("data-motion-pop-id"),M.contains(E)&&M.removeChild(E)}},[t]),(0,n.jsx)(p,{isPresent:t,childRef:c,sizeRef:d,pop:l,children:!1===l?e:o.cloneElement(e,{ref:m})})}let d=({children:e,initial:t,isPresent:r,onExitComplete:i,custom:c,presenceAffectsLayout:f,mode:a,anchorX:p,anchorY:d,root:m})=>{let x=(0,s.M)(g),v=(0,o.useId)(),E=(0,o.useRef)(r),M=(0,o.useRef)(i);(0,l.E)(()=>{E.current=r,M.current=i});let C=!0,R=(0,o.useMemo)(()=>(C=!1,{id:v,initial:t,isPresent:r,custom:c,onExitComplete:e=>{for(let t of(x.set(e,!0),x.values()))if(!t)return;i&&i()},register:e=>(x.set(e,!1),()=>{x.delete(e),E.current||x.size||M.current?.()})}),[r,x,i]);return f&&C&&(R={...R}),(0,o.useMemo)(()=>{x.forEach((e,t)=>x.set(t,!1))},[r]),o.useEffect(()=>{r||x.size||!i||i()},[r]),e=(0,n.jsx)(h,{pop:"popLayout"===a,isPresent:r,anchorX:p,anchorY:d,root:m,children:e}),(0,n.jsx)(u.t.Provider,{value:R,children:e})};function g(){return new Map}var m=r(83885);let x=e=>e.key||"";function v(e){let t=[];return o.Children.forEach(e,e=>{(0,o.isValidElement)(e)&&t.push(e)}),t}let E=({children:e,custom:t,initial:r=!0,onExitComplete:u,presenceAffectsLayout:c=!0,mode:f="sync",propagate:a=!1,anchorX:p="left",anchorY:h="top",root:g})=>{let[E,M]=(0,m.xQ)(a),C=(0,o.useMemo)(()=>v(e),[e]),R=a&&!E?[]:C.map(x),b=(0,o.useRef)(!0),w=(0,o.useRef)(C),$=(0,s.M)(()=>new Map),y=(0,o.useRef)(new Set),[P,S]=(0,o.useState)(C),[j,k]=(0,o.useState)(C);(0,l.E)(()=>{!a||E||j.length||M?.()},[E,a,j.length,M]),(0,l.E)(()=>{b.current=!1,w.current=C;for(let e=0;e<j.length;e++){let t=x(j[e]);R.includes(t)?($.delete(t),y.current.delete(t)):!0!==$.get(t)&&$.set(t,!1)}},[j,R.length,R.join("-")]);let D=[];if(C!==P){let e=[...C],t=0;for(let r of j){let n=R.indexOf(x(r));-1===n?(e.splice(t++,0,r),D.push(r)):t=n+D.length+1}return"wait"===f&&D.length&&(e=D),k(v(e)),S(C),null}let{forceRender:F}=(0,o.useContext)(i.L);return(0,n.jsx)(n.Fragment,{children:j.map(e=>{let o=x(e),i=(!a||!!E)&&(C===j||R.includes(o));return(0,n.jsx)(d,{isPresent:i,initial:(!b.current||!!r)&&void 0,custom:t,presenceAffectsLayout:c,mode:f,root:g,onExitComplete:i?void 0:()=>
9{if(y.current.has(o)||!$.has(o))return;y.current.add(o),$.set(o,!0);let e=!0;$.forEach(t=>{t||(e=!1)}),e&&(F?.(),k(w.current),a&&M?.(),u&&u())},anchorX:p,anchorY:h,children:e},o)})})}}}]);
10//# sourceMappingURL=126-8058a00481b7a9a5.js.map

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.