PageSourceSearch

https://noji.io/library/_next/static/chunks/3236.8da8856992c0d0e8.js

js noji.io collected 2026-09-24 13:09:03 UTC 5,676 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3236],{49394:function(e,n,t){t.r(n),t.d(n,{ActivitySharingModal:function(){return l.F}});var l=t(99134)},51139:function(e,n,t){t.d(n,{u:function(){return g}});var l=t(85893),a=t(34489),r=t(54684),i=t(67294),o=t(34424),u=t(5754),c=t(67066),s=t(84951),d=t(77460),f=t(92564);let v=e=>{let{colors:n}=e;return f.Z.create({container:{...f.Z.absoluteFill,position:a.Pl?"fixed":"absolute"},backdropButton:{flex:1,cursor:"default",...a.Pl&&{height:"100vh",inset:0,margin:0,position:"fixed",width:"100vw"}},backdrop:{flex:1,backgroundColor:n.elements.backdrop,...a.Pl&&{height:"100vh",inset:0,margin:0,padding:0,position:"fixed",width:"100vw"}}})};function b(e){let{animationValue:n,customBackdrop:t,onBackdropPress:a,backdropOpacity:r=1}=e,i=(0,d.y)(v),u=(0,c.useAnimatedStyle)(()=>({opacity:(0,c.interpolate)(n.value,[0,1],[0,r])}),[n,r]);return(0,l.jsx)(c.default.View,{style:[i.container,u],children:t||(0,l.jsx)(s.H,{accessibilityLabel:"backdrop",style:i.backdropButton,onPress:a,children:(0,l.jsx)(o.Z,{style:i.backdrop})})})}var p=t(55802);let h=f.Z.create({container:{...f.Z.absoluteFill,zIndex:p.K.two},contentContainer:{flex:1,justifyContent:"flex-end",...a.Pl&&{outlineStyle:"none",outlineWidth:0}}});var m=t(93286),x=t(18679),k=t(58706);let y=(e,n)=>{let{height:t}=(0,k.Z)();return(0,c.useAnimatedStyle)(()=>({..."slide"===e&&{transform:[{translateY:(0,c.interpolate)(n.value,[0,1],[t,0])}]},..."fade"===e&&{opacity:n.value},..."fadeUp"===e&&{opacity:n.value,transform:[{translateY:(0,c.interpolate)(n.value,[0,1],[t/10,0])}]}}),a.Pl?[e,n]:[e,n,t])};function g(e){let{children:n,isVisible:t,animation:s="slide",animationInTiming:d=300,animationInConfig:f,animationOutTiming:v=300,style:p,isSwipeDisabled:k,onSwipeComplete:g,onBackdropPress:C,customBackdrop:P,backdropOpacity:S,onBackButtonPress:w,onModalShow:j,hostName:F="modal",shortcutScopes:Z}=e,E=(0,c.useAnimatedRef)(),[L,V]=(0,i.useState)(!1),A=(0,c.useSharedValue)(0),M=(0,c.useSharedValue)(0),N=!k&&"slide"===s;(0,x.M)(L,w,Z);let O=(0,i.useCallback)(()=>{a.Pl&&E.current.focus(),null==j||j()},[E,j]),T=(0,i.useCallback)(()=>{A.value=(0,c.withTiming)(1,{duration:d,...f},e=>{e&&(0,c.runOnJS)(O)()})},[f,d,A,O]),B=(0,i.useCallback)(()=>{var e;V(!1),null===(e=m.m.emit)||void 0===e||e.call(m.m,"onCloseAny")},[]),J=(0,i.useCallback)(()=>{A.value=(0,c.withTiming)(0,{duration:v},e=>{e&&(0,c.runOnJS)(B)()})},[v,A,B]);(0,i.useEffect)(()=>{if(t&&!L){var e;null===(e=m.m.emit)||void 0===e||e.call(m.m,"onShow"),V(!0)}!t&&L&&J()},[J,L,t]);let K=(0,i.useCallback)(()=>{0===A.value&&T()},[T,A.value]),Y=u.oF.Pan().enabled(N).onStart(()=>{let e=(0,c.measure)(E);e&&(M.value=e.height)}).onUpdate(e=>{A.value=(0,c.interpolate)(e.translationY,[0,M.value],[1,0],c.Extrapolation.CLAMP)}).onEnd(e=>{A.value<.8||e.velocityY>1e3?((0,c.runOnJS)(J)(),g&&(0,c.runOnJS)(g)()):(0,c.runOnJS)(T)()}),_=y(s,A);if(!L)return null;let G=a.Pl?i.Fragment:u.Le,R=a.Pl?o.Z:u.cS,z=a.Pl?{}:{gesture:Y};return(0,l.jsx)(r.h_,{hostName:F,children:(0,l.jsxs)(R,{style:h.container,onLayout:K,children:[(0,l.jsx)(b,{animationValue:A,backdropOpacity:S,customBackdrop:P,onBackdropPress:C}),(0,l.jsx)(G,{...z,children:(0,l.jsx)(c.default.View,{ref:E,pointerEvents:"box-none",style:[h.contentContainer,p,_],tabIndex:-1,children:n})})]})})}},18679:function(e,n,t){t.d(n,{M:function(){return s}});var l=t(57966),a=t(59838),r=t(86152),i=t.n(r),o=t(84336),u=t.n(o),c=t(67294);function s(e,n,t){let{enabledScopes:r}=(0,l.j)(),o=(0,c.useCallback)(l=>{let o=r.includes(i()(t)?t[0]:t);u()(t)&&(o=r.includes(a.R.main)||r.includes(a.R.global)),e&&o&&"Escape"===l.key&&(l.stopPropagation(),null==n||n())},[r,e,n,t]);(0,c.useEffect)(()=>(document.addEventListener("keyup",o,!1),()=>document.removeEventListener("keyup",o,!1)),[o])}},25973:function(e,n,t){t.d(n,{P:function(){return o}});var l=t(85893),a=t(19942),r=t(67294),i=t(75100);function o(e){let{type:n="secondary",onPress:t,size:o="small",...u}=e,c=(0,r.useCallback)(()=>{t()},[t]);return(0,l.jsx)(i.h,{withBackdrop:!0,icon:a.T,size:o,type:n,onPress:c,...u})}},84951:function(e,n,t){t.d(n,{H:function(){return r}});
1var l=t(85893);t(67294);var a=t(48909);function r(e){let{accessibilityLabel:n,...t}=e;return(0,l.jsx)(a.Z,{accessibilityLabel:n,...t})}},79859:function(e,n,t){t.d(n,{G:function(){return r},r:function(){return a}});var l=t(90171);let a=l.K.Five,r=l.K.Four},1435:function(e,n,t){t.d(n,{D:function(){return p}});var l=t(85893),a=t(22339),r=t(77460),i=t(34489),o=t(67294),u=t(34424),c=t(78368),s=t(8862),d=t(90171),f=t(92564),v=t(79859);let b=(e,n)=>t=>{let{colors:l}=t;return f.Z.create({container:{flex:1,width:c.bG,alignSelf:"center"},containerNonTablet:{flex:1},bordered:{borderRadius:n?void 0:s.w.XXL,backgroundColor:n?void 0:l.system.surface,marginVertical:v.r,paddingHorizontal:"all"===e?v.G:d.K.Zero,paddingVertical:"vertical"===e||"all"===e?v.G:d.K.Zero,overflow:"hidden"},noFlex:{flex:0}})};function p(e){let{isBordered:n,borderedPaddingMode:t="all",isBorderedTransparent:c=!1,children:s,withoutFlex:d,style:f}=e,v=(0,a.A)(),p=(0,r.Y)(b,[t,c]),h=(0,o.useMemo)(()=>[p.container,n&&p.bordered,d&&p.noFlex,f],[f,p,d,n]),m=(0,o.useMemo)(()=>[p.containerNonTablet,d&&p.noFlex],[p.containerNonTablet,p.noFlex,d]);return i.Pl?(0,l.jsx)(l.Fragment,{children:s}):(0,l.jsx)(u.Z,{style:v?h:m,children:s})}},68115:function(e,n,t){t.d(n,{k:function(){return a}});var l=t(67294);let a=function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],[n,t]=(0,l.useState)(e);return[n,(0,l.useCallback)(()=>{t(!0)},[]),(0,l.useCallback)(()=>{t(!1)},[])]}},57966:function(e,n,t){t.d(n,{j:function(){return l}});let l=t(46977).QU}}]);

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.