PageSourceSearch

https://ravit.jp/_expo/static/js/web/violation_report-315a2f83eae0335a21659c0135881098.js

js ravit.jp collected 2026-09-24 10:58:00 UTC 12,082 bytes, 3 lines download raw bytes

1var _sentryDebugIds,_sentryDebugIdIdentifier;void 0===_sentryDebugIds&&(_sentryDebugIds={});try{var stack=(new Error).stack;stack&&(_sentryDebugIds[stack]="4274f15c-4075-415c-9b64-20c207fe9d8d",_sentryDebugIdIdentifier="sentry-dbid-4274f15c-4075-415c-9b64-20c207fe9d8d")}catch(e){}
2var SENTRY_RELEASE;SENTRY_RELEASE={name: "Ravit", version: "4.3.0"};
3__d(function(g,r,i,a,m,_e,d){"use strict";function e(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(_e,'__esModule',{value:!0}),Object.defineProperty(_e,"default",{enumerable:!0,get:function(){return D}});var t=r(d[0]),o=r(d[1]),n=r(d[2]),l=r(d[3]),s=r(d[4]),c=r(d[5]),u=r(d[6]),h=r(d[7]),x=r(d[8]),p=r(d[9]),y=r(d[10]),f=r(d[11]),T=r(d[12]),b=r(d[13]),j=r(d[14]),C=r(d[15]),S=r(d[16]),k=r(d[17]),B=r(d[18]),R=r(d[19]),_=r(d[20]),I=r(d[21]),v=r(d[22]),w=r(d[23]),M=r(d[24]);e(r(d[25]));r(d[26]);var P=e(r(d[27])),V=e(r(d[28])),z=e(r(d[29])),A=r(d[30]),$=r(d[31]);function D(){const e=(0,j.useGuardedRouter)(),P=(0,w.useNavigation)(),V=(0,S.useAppDispatch)(),{safeGoBack:D}=(0,C.useSafeBackNavigation)(),L=(0,S.useAppSelector)(k.selectUser),E=(0,S.useAppSelector)(e=>e.navigation.violationReportParams),W=(0,w.useLocalSearchParams)(),[G]=(0,B.usePostInquiryReportMutation)(),{appHeight:N}=(0,b.useAppDimensions)(),O=(0,A.useSafeAreaInsets)(),[F,q]=(0,M.useState)(""),[J,Q]=(0,M.useState)(!1),X=(0,M.useRef)(!1),Y=(0,M.useMemo)(()=>Array.isArray(W.categoryKey)?W.categoryKey[0]||"":W.categoryKey||"",[W.categoryKey]),Z=(0,M.useMemo)(()=>_.Utils.getViolationReportDepthByKey(Y),[Y]),ee=(0,M.useMemo)(()=>_.Utils.getViolationReportCategoryByKey(Y),[Y]),te=(0,M.useMemo)(()=>_.Utils.getViolationReportSubcategoryByKey(Y),[Y]),oe=(0,M.useMemo)(()=>_.Utils.getViolationReportInfoByKey(Y),[Y]),ie=(0,M.useRef)(Y);(0,M.useEffect)(()=>{if(ie.current===Y)return;const e=_.Utils.getViolationReportDepthByKey(ie.current);Z>e&&F&&q(""),J&&Q(!1),ie.current=Y},[Y,Z,F,J]),(0,M.useEffect)(()=>()=>{Z<=1&&V((0,R.clearViolationReportParams)())},[V,Z]),(0,M.useEffect)(()=>{X.current},[E,D]);const re={target_user:E?.target_user||{nickname:"",identifier:"",id:0,icon:"",in_review_icon:""}},ne=re.target_user?.profile_detail?_.Utils.getResidence(re.target_user):re.target_user?.residence||"",le=[re.target_user?.age?`${re.target_user.age}\u6b73`:"",ne].filter(Boolean).join(" "),se=t=>{e.push({pathname:"/(private)/violation_report",params:{categoryKey:t}}
3)},ae=()=>{Z>1?P.goBack():(X.current=!0,V((0,R.clearViolationReportParams)()),D())},ce=()=>{X.current=!0,V((0,R.clearViolationReportParams)()),P.canGoBack()?P.dispatch(v.StackActions.pop(Z)):D()},de=()=>{F?Q(!0):n.Toast.show({text1:"\u9055\u53cd\u306e\u5177\u4f53\u7684\u306a\u5185\u5bb9\u3092\n\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044",position:"center"})};return E?.target_user?(0,$.jsxs)(z.default,{style:K.container,children:[(0,$.jsx)(w.Stack.Screen,{options:{headerShown:!0,header:({navigation:e,route:t,options:n,back:l})=>(0,$.jsx)(s.Header,{title:"\u9055\u53cd\u5831\u544a",onBackPress:ae,headerRight:Z>1?()=>(0,$.jsx)(u.Image,{source:o.Images._005_buttonClose,style:K.closeButton,onPress:ce}):void 0})}}),(0,$.jsxs)(h.KeyboardAwareScrollView,{style:K.mainContainer,contentContainerStyle:{paddingBottom:O.bottom},keyboardShouldPersistTaps:"handled",bottomOffset:40,children:[(0,$.jsx)(z.default,{style:K.titleMarginTop,children:(0,$.jsxs)(z.default,{style:{flex:1,flexDirection:"row",paddingTop:15},children:[(0,$.jsx)(y.User,{item:re.target_user,iconSize:60,showOnlineStatus:!1}),(0,$.jsxs)(z.default,{style:{marginLeft:10,justifyContent:"center"},children:[(0,$.jsx)(x.Text,{style:[K.bodyText,{fontSize:16,fontWeight:"bold"}],children:re.target_user.nickname}),le?(0,$.jsx)(x.Text,{style:[K.bodyText,K.userMetaText],ellipsizeMode:"tail",numberOfLines:1,children:le}):null]})]})}),(()=>{if(!Y||!ee&&!te)return(0,$.jsxs)($.Fragment,{children:[(0,$.jsxs)(z.default,{style:K.titleMarginTop,children:[(0,$.jsx)(x.Text,{style:K.stepTitleText,children:"\u9055\u53cd\u306e\u7a2e\u985e\u3092\u6559\u3048\u3066\u304f\u3060\u3055\u3044"}),(0,$.jsx)(x.Text,{style:[K.bodyText,{marginTop:2}],children:"\u9055\u53cd\u8005\u306b\u3042\u306a\u305f\u306e\u3053\u3068\u3084\u5831\u544a\u3057\u305f\u5185\u5bb9\u306f\u4f1d\u308f\u308a\u307e\u305b\u3093\u3002"})]}),(0,$.jsx)(z.default,{style:K.titleMarginTop,children:T.PickerConfig.violation_report_categories.map((e,t)=>(0,$.jsx)(H,{title:e.value,position:0===t?"first":t===T.PickerConfig.violation_report_categories.length-1?"last":"middle",onPress:()=>se(e.key)},e.key))}),(0,$.jsxs)(z.default,{style:{marginTop:18},children:[(0,$.jsx)(x.Text,{style:[K.bodyText,{fontWeight:"bold",marginBottom:6}],children:"\u9055\u53cd\u7a2e\u985e\u306e\u9078\u3073\u65b9"}),(0,$.jsx)(U,{children:"\u5b9f\u969b\u306b\u52e7\u8a98\u30fb\u9
31d1\u92ad\u88ab\u5bb3\u304c\u3042\u3063\u305f\u5834\u5408\u3001\u300c\u91d1\u92ad\u3084\u30d3\u30b8\u30cd\u30b9\u306e\u52e7\u8a98\u76ee\u7684\u300d\u3092\u9078\u629e\u3057\u3066\u304f\u3060\u3055\u3044\u3002"}),(0,$.jsx)(U,{children:"\u88ab\u5bb3\u306f\u306a\u3044\u304c\u60aa\u8cea\u306a\u8a98\u5c0e\u306e\u307f\u306e\u5834\u5408\u3001\u300c\u5916\u90e8\u30b5\u30a4\u30c8\u3078\u306e\u8a98\u5c0e\u30fb\u9023\u7d61\u5148\u4ea4\u63db\u3092\u6301\u3061\u304b\u3051\u3089\u308c\u305f\u300d\u3092\u9078\u629e\u3057\u3066\u304f\u3060\u3055\u3044\u3002"})]}),(0,$.jsxs)(z.default,{style:{marginTop:6},children:[(0,$.jsx)(x.Text,{style:[K.bodyText,{color:t.Colors.light.primary,fontWeight:"bold",marginBottom:6}],children:"\u6ce8\u610f\u4e8b\u9805"}),(0,$.jsx)(U,{showBullet:!1,children:"\u865a\u507d\u306e\u9055\u53cd\u5831\u544a\u3084\u540c\u4e00\u30e6\u30fc\u30b6\u30fc\u3078\u306e\u904e\u5ea6\u306a\u9055\u53cd\u5831\u544a\u306e\u7e70\u308a\u8fd4\u3057\u306f\u304a\u63a7\u3048\u304f\u3060\u3055\u3044\u3002"})]})]});if(ee){const e=_.Utils.getViolationReportSubcategories(ee.key);return(0,$.jsxs)($.Fragment,{children:[(0,$.jsxs)(z.default,{style:K.titleMarginTop,children:[(0,$.jsx)(x.Text,{style:K.stepSubTitleText,children:`\u3010${ee.value}\u3011`}),(0,$.jsx)(x.Text,{style:K.stepTitleText,children:"\u8a72\u5f53\u3059\u308b\u5185\u5bb9\u3092\u6559\u3048\u3066\u304f\u3060\u3055\u3044"})]}),(0,$.jsx)(z.default,{style:K.titleMarginTop,children:e.map((t,o)=>(0,$.jsx)(H,{title:t.value,position:0===o?"first":o===e.length-1?"last":"middle",onPress:()=>se(t.key)},t.key))})]})}const e=!F;return(0,$.jsxs)($.Fragment,{children:[(0,$.jsxs)(z.default,{style:K.titleMarginTop,children:[(0,$.jsx)(x.Text,{style:K.stepSubTitleText,children:`\u3010${oe.subcategoryValue}\u3011`}),(0,$.jsx)(x.Text,{style:K.stepTitleText,children:"\u5224\u65ad\u3057\u305f\u7406\u7531\u3001\u767a\u899a\u306e\u7d4c\u7def\u306a\u3069\u3092\u8a18\u5165\u3057\u3066\u304f\u3060\u3055\u3044"})]}),(0,$.jsx)(z.default,{style:K.titleMarginTop,children:(0,$.jsx)(p.TextInput,{style:[K.textInput,{height:Math.min(180,Math.max(100,.34*N))}],textInputStyle:K.textInputInner,multiline:!0,onChangeText:e=>q(e),placeholder:"\u5185\u5bb9\u3092\u3067\u304d\u308b\u3060\u3051\u8a73\u3057\u304f\u8a18\u5165\u3057\u3066\u304f\u3060\u3055\u3044\n\u8a18\u5165\u4f8b\uff1a\n\u300c\u30de\u30c3\u30c1\u30f3\u30b0\u5f8c\u3059\u3050\u306bLINE\u4ea4\u63db\u3092\u6c42\u3081\u3089\u308c\u3001LINE\u79fb\u884c\u3057\u305f\u76f4\u5f8c\u306b\u6697\u53f7\u8cc7\u7523\u3078\u306e\u6295\u8cc7\u3092\u52e7\u8a98\u3055\u308c\u305f\u3002\u307e\u305f\u602a\u3057\u3044URL\u3082\u9001\u3089\u308c\u3066\u304d\u305f\u3002\u300d",placeholderTextColor:t.Colors.light.textGrey500,value:F})}),(0,$.jsxs)(z.default,{style:{marginTop:20},children:[(0,$.jsx)(x.Text,{style:[K.bodyText,{color:t.Colors.light.primary,fontWeight:"bold",marginBottom:6}],children:"\u6ce8\u610f\u4e8b\u9805"}),(0,$.jsx)(U,{children:"\u6b21\u306e\u753b\u9762\u3067\u8d77\u52d5\u3055\u308c\u308b\u30e1\u30fc\u30eb\u3092\u9001\u4fe1\u3059\u308b\u3053\u3068\u3067\u3001\u9055\u53cd\u5831\u544a\u304c\u5b8c\u4e86\u3057\u307e\u3059\u3002"}),(0,$.jsx)(U,{children:"\u3054\u5831\u544a\u3044\u305f\u3060\u3044\u305f\u5185\u5bb9\u306b\u5bfe\u3057\u3066\u5bfe\u7b56\u3092\u5b9f\u65bd\u3059\u308b\u3053\u3068\u3092\u5fc5\u305a\u4fdd\u8a3c\u3059\u308b\u3082\u306e\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002"})]}),(0,$.jsx)(z.default,{style:[K.titleMarginTop,K.buttonContainer],children:(0,$.jsx)(l.Button,{title:"\u5185\u5bb9\u3092\u5831\u544a\u3059\u308b",titleStyle:[K.buttonText],style:e?[K.button,K.buttonDisabled]:K.button,onPress:e?void 0:de})})]})})(),(0,$.jsx)(c.DialogDefault,{show:J,title:"\u9055\u53cd\u5831\u544a\u3092\u9001\u4fe1\u3057\u307e\u3059\u304b\uff1f",body:"\u203b\u6b21\u306e\u753b\u9762\u3067\u30e1\u30fc\u30eb\u3092\u9001\u4fe1\u3057\u3066\u304f\u3060\u3055\u3044",onNegativePress:()=>Q(!1),onPositivePress:()=>{const e=`${oe.categoryValue} > ${oe.subcategoryValue}`,t=f.AppConfig.email.support,o=`\u3010Ravit\u3011\u9055\u53cd\u5831\u544a (${oe.subcategoryValue||"\u305d\u306e\u4ed6"})`,n=`\u5185\u5bb9\u3092\u78ba\u8a8d\u5f8c\u306b\u9001\u4fe1\u3057\u3066\u304f\u3060\u3055\u3044\u3002\n\n[\u9055\u53cd\u8005]\n${re.target_user.nickname}\n\n[\u9055\u53cd\u306e\u7a2e\u985e]\n${oe.categoryValue}\n\n[\u9055\u53cd\u306e\u5177\u4f53\u7684\u306a\u5185\u5bb9]\n${oe.subcategoryValue}\n\n[\u5224\u65ad\u3057\u305f\u7406\u7531\u3001\u767a\u899a\u306e\u7d4c\u7def]\n${F}\n\n[\u5831\u544a\u8005]\n${L.nickname}\u69d8\n\n[\u904b\u55b6\u78ba\u8a8d\u6b04]\n${re.target_user.identifier}\n${L.identifier}\nweb(${_.Utils.getPackageJsonVersion()})\n`;(0,I.openEmail)({recipient:t,subject:o,body:n},"ViolationReport").then(()=>{Q(!1),G({targetUserIdentifier:re.target_user.identifier,reportType:e})}).catch(()=>{})}})]})]}):(0,$.jsx)(w.Redirect,{href:"/(private)/(tabs)"})}const H=({title:e,onPress:t,position:n="middle"})=>{const l="first"===n,s="last"===n;return(0,$.jsxs)(V.default,{style:[K.listItem,{borderTopLeftRadius:l?10:0,borderTopRightRadius:l?10:0,borderBottomLeftRadius:s?10:0,borderBottomRightRadius:s?10:0}],onPress:t,children:[(0,$.jsx)(x.Text,{style:K.listItemText,children:e}),(0,$.jsx)(z.default,{style:K.listItemArrow,children:(0,$.jsx)(u.Image,{source:o.Images._iconArrowRight,style:{width:8,height:12.972972972972974}})})]})},U=({children:e,showBullet:t=!0})=>(0,$.jsxs)(z.default,{style:{flexDirection:"row",marginBottom:5},children:[t&&(0,$.jsx)(z.default,{children:(0,$.jsx)(x.Text,{style:K.cautionText,children:"\u30fb"})}),(0,$.jsx)(z.default,{style:{flex:1},children:(0,$.jsx)(x.Text,{style:K.cautionText,children:e})})]}),K=P.default.create({container:{flex:1,width:"100%",backgroundColor:t.Colors.light.backgroundEmpty},mainContainer:{flex:1,paddingHorizontal:20},titleMarginTop:{marginTop:15},bodyText:{fontSize:13,lineHeight:20,color:t.Colors.light.textBlack},userMetaText:{fontSize:12,lineHeight:18,color:t.Colors.light.textGrey100},cautionText:{fontSize:13,lineHeight:20,color:t.Colors.light.textBlack},buttonContainer:{flexDirection:"row",alignItems:"center",justifyContent:"space-around",marginVertical:30,marginHorizontal:32},button:{flex:1,height:48,borderRadius:30},buttonDisabled:{backgroundColor:t.Colors.light.buttonGrey},buttonText:{fontSize:16,color:t.Colors.light.white,fontWeight:"bold"},closeButton:{width:16,height:16,marginRight:12},stepTitleText:{fontSize:20,lineHeight:30,fontWeight:"bold",color:t.Colors.light.textBlack100},stepSubTitleText:{marginBottom:2,fontSize:15,lineHeight:22,color:t.Colors.light.textGrey100},listItem:{flexDirection:"row",alignItems:"flex-start",paddingVertical:12,paddingHorizontal:16,backgroundColor:t.Colors.light.white,borderBottomWidth:2,borderBottomColor:t.Colors.light.backgroundEmpty},listItemText:{flex:1,fontSize:15,lineHeight:24,color:t.Colors.light.textBlack100,paddingRight:12},listItemArrow:{justifyContent:"center",alignSelf:"center"},textInput:{textAlignVertical:"top",fontSize:14,lineHeight:21,borderRadius:8,borderWidth:0,backgroundColor:t.Colors.light.white,color:t.Colors.light.textBlack},textInputInner:{paddingTop:10,paddingBottom:10,paddingLeft:14,paddingRight:14}})},731,[763,764,797,804,765,821,767,852,769,853,824,800,871,772,762,786,770,812,911,784,793,912,16,785,12,243,121,143,352,250,391,6]);

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.