1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1936],{93341:function(e,t,n){var r=n(7653),o=n(94930),l=n(29571),u=n(25469),a=n(24890),i=n(12817),c=n(72707),s=n(64158),d=n(44672),p=n(51615),f=n(12821),h=n(62942),v=(e,t)=>{var n=e.selectionEnd,r=e.selectionStart,o=t.start,l=t.end;return o!==r||l!==n},C=(e,t)=>{if(v(e,t)){var n=t.start,r=t.end;try{e.setSelectionRange(n,r||n)}catch(e){}}},b=Object.assign({},l.lG,l.LO,l._T,l.YB,l.Uy,l.hJ,l.E5,l.vr,{autoCapitalize:!0,autoComplete:!0,autoCorrect:!0,autoFocus:!0,defaultValue:!0,disabled:!0,lang:!0,maxLength:!0,onChange:!0,onScroll:!0,placeholder:!0,pointerEvents:!0,readOnly:!0,rows:!0,spellCheck:!0,value:!0,type:!0}),g=e=>(0,u.Z)(e,b),S=null,y=r.forwardRef((e,t)=>{var n,l,u=e.autoCapitalize,f=e.autoComplete,v=e.autoCompleteType,b=e.autoCorrect,y=void 0===b||b,x=e.blurOnSubmit,R=e.caretHidden,k=e.clearTextOnFocus,T=e.dir,E=e.editable,w=e.enterKeyHint,F=e.inputMode,O=e.keyboardType,$=e.multiline,z=void 0!==$&&$,H=e.numberOfLines,Z=e.onBlur,M=e.onChange,I=e.onChangeText,_=e.onContentSizeChange,L=e.onFocus,j=e.onKeyPress,P=e.onLayout,W=e.onMoveShouldSetResponder,A=e.onMoveShouldSetResponderCapture,K=e.onResponderEnd,N=e.onResponderGrant,D=e.onResponderMove,V=e.onResponderReject,G=e.onResponderRelease,B=e.onResponderStart,Q=e.onResponderTerminate,U=e.onResponderTerminationRequest,q=e.onScrollShouldSetResponder,J=e.onScrollShouldSetResponderCapture,Y=e.onSelectionChange,X=e.onSelectionChangeShouldSetResponder,ee=e.onSelectionChangeShouldSetResponderCapture,et=e.onStartShouldSetResponder,en=e.onStartShouldSetResponderCapture,er=e.onSubmitEditing,eo=e.placeholderTextColor,el=e.readOnly,eu=e.returnKeyType,ea=e.rows,ei=e.secureTextEntry,ec=void 0!==ei&&ei,es=e.selection,ed=e.selectTextOnFocus,ep=e.showSoftInputOnFocus,ef=e.spellCheck;if(null!=F)l=F,n="email"===F?"email":"tel"===F?"tel":"search"===F?"search":"url"===F?"url":"text";else if(null!=O)switch(O){case"email-address":n="email";break;case"number-pad":case"numeric":l="numeric";break;case"decimal-pad":l="decimal";break;case"phone-pad":n="tel";break;case"search":case"web-search":n="search";break;case"url":n="url";break;default:n="text"}ec&&(n="password");var eh=r.useRef({height:null,width:null}),ev=r.useRef(null),eC=r.useRef(null),eb=r.useRef(!1);r.useEffect(()=>{ev.current&&eC.current&&C(ev.current,eC.current),eb.current=ec},[ec]);var eg=r.useCallback(e=>{if(z&&_&&null!=e){var t=e.scrollHeight,n=e.scrollWidth;(t!==eh.current.height||n!==eh.current.width)&&(eh.current.height=t,eh.current.width=n,_({nativeEvent:{contentSize:{height:eh.current.height,width:eh.current.width}}}))}},[z,_]),eS=r.useMemo(()=>e=>{null!=e&&(e.clear=function(){null!=e&&(e.value="")},e.isFocused=function(){return null!=e&&h.Z.currentlyFocusedField()===e},eg(e))},[eg]);(0,i.Z)(()=>{var e=ev.current;null!=e&&null!=es&&C(e,es),document.activeElement===e&&(h.Z._currentlyFocusedNode=e)},[ev,es]),(0,a.Z)(ev,P),(0,d.Z)(ev,{onMoveShouldSetResponder:W,onMoveShouldSetResponderCapture:A,onResponderEnd:K,onResponderGrant:N,onResponderMove:D,onResponderReject:V,onResponderRelease:G,onResponderStart:B,onResponderTerminate:Q,onResponderTerminationRequest:U,onScrollShouldSetResponder:q,onScrollShouldSetResponderCapture:J,onSelectionChangeShouldSetResponder:X,onSelectionChangeShouldSetResponderCapture:ee,onStartShouldSetResponder:et,onStartShouldSetResponderCapture:en});var ey=(0,p.PE)().direction,em=g(e);em.autoCapitalize=void 0===u?"sentences":u,em.autoComplete=f||v||"on",em.autoCorrect=y?"on":"off",em.dir=void 0!==T?T:"auto",em.enterKeyHint=w||eu,em.inputMode=l,em.onBlur=function(e){h.Z._currentlyFocusedNode=null,Z&&(e.nativeEvent.text=e.target.value,Z(e))},em.onChange=function(e){var t=e.target,n=t.value;e.nativeEvent.text=n,eg(t),M&&M(e),I&&I(n)},em.onFocus=function(e){var t=e.target;L&&(e.nativeEvent.text=t.value,L(e)),null!=t&&(h.Z._currentlyFocusedNode=t,k&&(t.value=""),ed&&(null!=S&&clearTimeout(S),S=setTimeout(()=>{null!=t&&document.activeElement===t&&t.select()},0)))},em.onKeyDown=function(e){var t=e.target;e.stopPropagation();var n=!z,r=e.nativeEvent,o=r.isComposing||229===r.keyCode;j&&j(e),"Enter"!==e.key||e.shiftKey||o||e.isDefaultPrevented()||((x||!z)&&er&&(e.preventDefault(),r.text=e.target.value,er(e)),(null==x?n:x)&&null!=t&&setTimeout(()=>t.blur(),0))},em.onSelect=function(e){try{var t=e.target,n=t.selectionStart,r=t.selectionEnd,o={start:n,end:r};Y&&(e.nativeEvent.selection=o,e.nativeEvent.text=e.target.value,Y(e)),eb.current===ec&&(eC.current=o)}catch(e){}},em.readOnly=!0===(void 0!==el&&el)||!1===E,em.rows=z?null!=ea?ea:H:1,em.spell
1Check=null!=ef?ef:y,em.style=[{"--placeholderTextColor":eo},m.textinput$raw,m.placeholder,e.style,R&&m.caretHidden],em.type=z?void 0:n,em.virtualkeyboardpolicy=!1===ep?"manual":"auto";var ex=(0,s.Z)(em),eR=(0,c.Z)(ev,ex,eS,t);em.ref=eR;var ek=null!=e.lang?(0,p.w1)(e.lang):null,eT=e.dir||ek;return(0,o.default)(z?"textarea":"input",em,{writingDirection:eT||ey})});y.displayName="TextInput",y.State=h.Z;var m=f.Z.create({textinput$raw:{MozAppearance:"textfield",WebkitAppearance:"none",backgroundColor:"transparent",border:"0 solid black",borderRadius:0,boxSizing:"border-box",font:"14px System",margin:0,padding:0,resize:"none"},placeholder:{placeholderTextColor:"var(--placeholderTextColor)"},caretHidden:{caretColor:"transparent"}});t.default=y},38152:function(e,t,n){n.d(t,{Q8:function(){return o},QS:function(){return r}});let r=(e,t)=>()=>{},o=e=>{}},50252:function(e,t,n){n.d(t,{G:function(){return i},y:function(){return a}});var r=n(5952),o=n(82827),l=n(23285),u=n(40446);let a=(e="$true",t)=>{if(t.props.multiline||t.props.numberOfLines>1)return i(e,t);let n=(0,o.f)(e,t),a=(0,u.Pj)(e,{shift:-1,bounds:[2]}),c=(0,l.H)(e,t);return!r.isWeb&&c&&delete c.lineHeight,{...c,...n,paddingHorizontal:a}},i=(e="$true",t)=>{let{props:n}=t,a=(0,o.f)(e,t),i=(0,l.H)(e,t),c=n.rows??n.numberOfLines,s="number"==typeof c?c*(0,r.getVariableValue)(i.lineHeight):"auto",d=(0,u.Pj)(e,{shift:-2,bounds:[2]}),p=(0,u.Pj)(e,{shift:-1,bounds:[2]});return{...a,...i,paddingVertical:d,paddingHorizontal:p,height:s}}},51936:function(e,t,n){n.d(t,{II:function(){return v},z5:function(){return h},jF:function(){return f},kp:function(){return C}});var r=n(7653),o=n(93500),l=n(5952),u=n(81051),a=n(79953),i=n(38152),c=n(93341),s=n(50252),d=n(27573),p=n(68571);let f={size:"$true",fontFamily:"$body",borderWidth:1,outlineWidth:0,color:"$color",...o.$L?{tabIndex:0}:{focusable:!0},borderColor:"$borderColor",backgroundColor:"$background",minWidth:0,hoverStyle:{borderColor:"$borderColorHover"},focusStyle:{borderColor:"$borderColorFocus"},focusVisibleStyle:{outlineColor:"$outlineColor",outlineWidth:2,outlineStyle:"solid"}},h=(0,l.styled)(c.default,{name:"Input",variants:{unstyled:{false:f},size:{"...size":s.y},disabled:{true:{}}},defaultVariants:{unstyled:"1"===p.env.TAMAGUI_HEADLESS}},{isInput:!0,accept:{placeholderTextColor:"color",selectionColor:"color"}}),v=h.styleable((e,t)=>{let n=r.useRef(null),o=C(e,(0,l.useComposedRefs)(t,n));return(0,d.jsx)(h,{...o})});function C(e,t){let n=(0,l.useTheme)(),o=function({isInput:e,props:t,ref:n}){let{id:o,onChangeText:l,value:c,defaultValue:s}=t,d=r.useRef(c||s||""),p=r.useRef(),f=r.useCallback(e=>{e.focus(),e.setSelection&&"string"==typeof d.current&&e.setSelection(0,d.current.length)},[]),h=r.useCallback(t=>{o&&t&&(p.current?.(),p.current=(0,i.QS)(o,{focus:t.focus,...e&&{focusAndSelect:()=>f(t)}}))},[o,e,f]),v=r.useCallback(e=>{e&&h(e)},[h]),C=(0,a.useEvent)(e=>{d.current=e,l?.(e)});return r.useEffect(()=>()=>{p.current?.()},[]),{ref:r.useMemo(()=>(0,u.FE)(n,v),[n,v]),onChangeText:C}}({props:e,ref:t,isInput:!0}),c=r.useMemo(()=>{let t=e.placeholderTextColor;return n[t]?.get()??t??n.placeholderColor?.get()},[e.placeholderTextColor,n]);return r.useMemo(()=>({ref:o.ref,readOnly:e.disabled,...e,placeholderTextColor:c,onChangeText:o.onChangeText}),[o.ref,o.onChangeText,e.disabled,e,c])}}}]);
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.