ig.rizaldy.club/_next/static/chunks/pages/_app-3a55ff344707d1c7.js

1 line
12 KiB
JavaScript
Raw Normal View History

(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[888],{3454:function(e,t,n){"use strict";var r,o;e.exports=(null==(r=n.g.process)?void 0:r.env)&&"object"==typeof(null==(o=n.g.process)?void 0:o.env)?n.g.process:n(7663)},1118:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/_app",function(){return n(1937)}])},7205:function(e,t,n){"use strict";n.d(t,{O_:function(){return u},Zv:function(){return r},a_:function(){return l},oZ:function(){return o}});let r=40,o={PHOTOS:"photos",VIDEOS:"videos"},l="MMXXIV",u=27},9720:function(e,t){"use strict";var n,r;Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{PrefetchKind:function(){return n},ACTION_REFRESH:function(){return o},ACTION_NAVIGATE:function(){return l},ACTION_RESTORE:function(){return u},ACTION_SERVER_PATCH:function(){return i},ACTION_PREFETCH:function(){return a},ACTION_FAST_REFRESH:function(){return c},ACTION_SERVER_ACTION:function(){return s},isThenable:function(){return f}});let o="refresh",l="navigate",u="restore",i="server-patch",a="prefetch",c="fast-refresh",s="server-action";function f(e){return e&&("object"==typeof e||"function"==typeof e)&&"function"==typeof e.then}(r=n||(n={})).AUTO="auto",r.FULL="full",r.TEMPORARY="temporary",("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},245:function(e,t,n){"use strict";function r(e,t,n,r){return!1}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getDomainLocale",{enumerable:!0,get:function(){return r}}),n(9082),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},1032:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return y}});let r=n(8754)._(n(7294)),o=n(4879),l=n(1572),u=n(8373),i=n(6221),a=n(5933),c=n(4167),s=n(8874),f=n(6342),d=n(245),p=n(6015),h=n(9720),m=new Set;function b(e,t,n,r,o,u){if(u||(0,l.isLocalURL)(t)){if(!r.bypassPrefetchedCheck){let o=t+"%"+n+"%"+(void 0!==r.locale?r.locale:"locale"in e?e.locale:void 0);if(m.has(o))return;m.add(o)}Promise.resolve(u?e.prefetch(t,o):e.prefetch(t,n,r)).catch(e=>{})}}function v(e){return"string"==typeof e?e:(0,u.formatUrl)(e)}let y=r.default.forwardRef(function(e,t){let n,u;let{href:m,as:y,children:x,prefetch:g=null,passHref:_,replace:j,shallow:T,scroll:O,locale:E,onClick:M,onMouseEnter:N,onTouchStart:C,legacyBehavior:w=!1,...k}=e;n=x,w&&("string"==typeof n||"number"==typeof n)&&(n=r.default.createElement("a",null,n));let I=r.default.useContext(c.RouterContext),P=r.default.useContext(s.AppRouterContext),A=null!=I?I:P,R=!I,L=!1!==g,S=null===g?h.PrefetchKind.AUTO:h.PrefetchKind.FULL,{href:U,as:z}=r.default.useMemo(()=>{if(!I){let e=v(m);return{href:e,as:y?v(y):e}}let[e,t]=(0,o.resolveHref)(I,m,!0);return{href:e,as:y?(0,o.resolveHref)(I,y):t||e}},[I,m,y]),D=r.default.useRef(U),F=r.default.useRef(z);w&&(u=r.default.Children.only(n));let H=w?u&&"object"==typeof u&&u.ref:t,[K,V,B]=(0,f.useIntersection)({rootMargin:"200px"}),X=r.default.useCallback(e=>{(F.current!==z||D.current!==U)&&(B(),F.current=z,D.current=U),K(e),H&&("function"==typeof H?H(e):"object"==typeof H&&(H.current=e))},[z,H,U,B,K]);r.default.useEffect(()=>{A&&V&&L&&b(A,U,z,{locale:E},{kind:S},R)},[z,U,V,E,L,null==I?void 0:I.locale,A,R,S]);let G={ref:X,onClick(e){w||"function"!=typeof M||M(e),w&&u.props&&"function"==typeof u.props.onClick&&u.props.onClick(e),A&&!e.defaultPrevented&&function(e,t,n,o,u,i,a,c,s){let{nodeName:f}=e.currentTarget;if("A"===f.toUpperCase()&&(function(e){let t=e.currentTarget.getAttribute("target");return t&&"_self"!==t||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which}(e)||!s&&!(0,l.isLocalURL)(n)))return;e.preventDefaul