From 088f957b7eb0c3a0b2c073f4e616fbf5d25e5b9c Mon Sep 17 00:00:00 2001 From: Angelix1 Date: Thu, 8 Feb 2024 16:57:51 +0000 Subject: [PATCH] deploy: 78f3f7d2229384fcf68e0d81e79d6934fe7f6658 --- antied/index.js | 6 +++--- antied/manifest.json | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/antied/index.js b/antied/index.js index 02dcfc9..c77fc0b 100644 --- a/antied/index.js +++ b/antied/index.js @@ -1,10 +1,10 @@ -(function(ve,Ee,v,t,le,L,p,e,N,H,Pt,B,oe){"use strict";const{openLazy:Lt,hideActionSheet:Ua}=v.findByProps("openLazy","hideActionSheet");function Re(n,r){if(n!=null&&r!=null)for(const a of Object.keys(r))typeof r[a]=="object"&&!Array.isArray(r[a])?(typeof n[a]!="object"&&(n[a]={}),Re(n[a],r[a])):n[a]??=r[a]}function st(n,r){try{Lt(new Promise(function(a){return a({default:n})}),"ActionSheet",r)}catch(a){Ee.logger.error(a.stack),showToast("Got error when opening ActionSheet! Please check debug logs")}}function Bt(n,r){let a=n+r;a=Math.min(a,255);const f=n.toString(16).padStart(2,"0"),c=a.toString(16).padStart(2,"0");return{main:f,secondary:c}}const ct=function(n,r){return`${n}${Math.floor(r*255).toString(16).padStart(2,0)}`},ie={toInt(n){return n=n.replace(/^#/,""),parseInt(n,16)},toHex(n){return"#"+n.toString(16).toUpperCase()},HSLtoHEX(n,r,a){a/=100;const f=r*Math.min(a,1-a)/100,c=function(h){const i=(h+n/30)%12,I=a-f*Math.max(Math.min(i-3,9-i,1),-1);return Math.round(255*I).toString(16).padStart(2,"0")};return`#${c(0)}${c(8)}${c(4)}`}};var dt=Object.freeze({__proto__:null,calculateLighterValue:Bt,colorConverter:ie,makeDefaults:Re,openSheet:st,setOpacity:ct});const{ScrollView:Mt,View:ye,Text:$t,TouchableOpacity:ut,TextInput:Oa,Image:xt,Animated:se}=L.General,{FormLabel:Ut,FormIcon:Ot,FormArrow:ka,FormRow:me,FormSwitch:kt,FormSwitchRow:za,FormSection:zt,FormDivider:Vt,FormInput:gt}=L.Forms,Gt=v.findByName("useIsFocused");v.findByProps("BottomSheetScrollView");const ft=v.findByStoreName("UserStore"),be=v.findByProps("showUserProfile");p.getAssetIDByName("ic_add_24px"),p.getAssetIDByName("ic_arrow"),p.getAssetIDByName("ic_minus_circle_24px"),p.getAssetIDByName("Check"),p.getAssetIDByName("Small");function ht(n){return e.React.createElement(Ot,{style:{opacity:1},source:p.getAssetIDByName(n)})}const Y=e.stylesheet.createThemedStyleSheet({basicPad:{paddingRight:10,marginBottom:10,letterSpacing:.25},header:{color:N.semanticColors.HEADER_SECONDARY,fontFamily:e.constants.Fonts.PRIMARY_BOLD,paddingLeft:"3%",fontSize:24},sub:{color:N.semanticColors.TEXT_POSITIVE,fontFamily:e.constants.Fonts.DISPLAY_NORMAL,paddingLeft:"4%",fontSize:18},flagsText:{color:N.semanticColors.HEADER_SECONDARY,fontFamily:e.constants.Fonts.PRIMARY_BOLD,paddingLeft:"4%",fontSize:16},container:{marginTop:25,marginLeft:"5%",marginBottom:-15,flexDirection:"row"},textContainer:{paddingLeft:15,paddingTop:5,flexDirection:"column",flexWrap:"wrap",shadowColor:"#000",shadowOffset:{width:1,height:4},shadowOpacity:.2,shadowRadius:4.65,elevation:8},image:{width:75,height:75,borderRadius:10,shadowColor:"#000",shadowOffset:{width:1,height:4},shadowOpacity:.2,shadowRadius:4.65,elevation:8},mainText:{opacity:.975,letterSpacing:.25},header:{color:N.semanticColors.HEADER_PRIMARY,fontFamily:e.constants.Fonts.DISPLAY_BOLD,fontSize:25,letterSpacing:.25},subHeader:{color:N.semanticColors.HEADER_SECONDARY,fontSize:12.75}});function vt(n){let{index:r}=n;var a,f,c,h;le.useProxy(t.storage);let i=t.storage===null||t.storage===void 0||(a=t.storage.inputs)===null||a===void 0?void 0:a.ignoredUserList[r];const I=e.React.useRef(new se.Value(1)).current,m=function(){return se.spring(I,{toValue:1.1,duration:10,useNativeDriver:!0}).start()},C=function(){return se.spring(I,{toValue:1,duration:250,useNativeDriver:!0}).start()},S={transform:[{scale:I}]};let u=ft.getUser(i?.id),R=Object.values(ft.getUsers());u||(u=R.find(function(s){return s?.username==i?.username})),u||(u=R.find(function(s){var d,l;return(s==null||(d=s.username)===null||d===void 0?void 0:d.toLowerCase())==(i==null||(l=i.username)===null||l===void 0?void 0:l.toLowerCase())}));const E=e.NavigationNative.useNavigation();return Gt(),e.React.createElement(e.React.Fragment,null,e.React.createElement(Mt,null,e.React.createElement(ye,{style:[Y.basicPad,Y.sub]},e.React.createElement(zt,{title:"User Setting",style:[Y.header]},e.React.createElement(me,{label:"Find User Id or Username",leading:ht("ic_search"),onPress:function(){var s,d;u&&!(!((s=i.username)===null||s===void 0)&&s.length)?i.username=u.username:u&&!(!((d=i.id)===null||d===void 0)&&d.length)?i.id=u.id:H.showToast("Cannot find User Id/Username.")}}),e.React.createElement(gt,{title:"User Username | Case Sensitive",placeholder:"Missing No",value:i?.username,onChange:function(s){return i.username=s}}),e.React.createElement(gt,{title:"User Id",placeholder:"Missing No",value:i?.id,onChange:function(s){return i.id=s}}),e.React.createElement(me,{label:"User is webhook?",subLabel:"User is webhook or system, and not BOT or Normal User.",leading:ht("ic_webhook_24px"),trailing:e.React.createElement(kt,{value:i?.isWebhook||!1,onValueChange:function(s){return i.isWebhook=s}})})),u&&e.React.createElement(ye,{style:[Y.container,{paddingBottom:10}]},e.React.createElement(ut,{onPress:function(){var s;return(s=be.showUserProfile)===null||s===void 0?void 0:s.call(be,{userId:u?.id})},onPressIn:m,onPressOut:C},e.React.createElement(se.View,{style:S},e.React.createElement(xt,{source:{uri:(u==null||(h=u.getAvatarURL)===null||h===void 0||(c=h.call(u))===null||c===void 0||(f=c.replace)===null||f===void 0?void 0:f.call(c,"webp","png"))||"https://cdn.discordapp.com/embed/avatars/2.png"},style:{width:128,height:128,borderRadius:10}}))),e.React.createElement(ye,{style:Y.textContainer},e.React.createElement(ut,{onPress:function(){return be.showUserProfile({userId:u?.id})}},e.React.createElement($t,{style:[Y.mainText,Y.header]},u?.username||i?.username||"No Name"))),e.React.createElement(Vt,null)),e.React.createElement(me,{label:e.React.createElement(Ut,{text:"Remove User from Ignore List",style:{color:N.rawColors.RED_400}}),onPress:function(){var s,d;E.pop(),t.storage===null||t.storage===void 0||(d=t.storage.inputs)===null||d===void 0||(s=d.ignoredUserList)===null||s===void 0||s.splice(r,1)}}))))}const{ScrollView:Ht,View:Yt,Text:Va,TouchableOpacity:Xt,TextInput:Wt}=L.General,{FormLabel:Ga,FormIcon:jt,FormArrow:Jt,FormRow:pe,FormSwitch:Ha,FormSwitchRow:Ya,FormSection:Kt,FormDivider:Qt,FormInput:Xa}=L.Forms;function Et(n,r){return React.createElement(jt,{style:{opacity:1},source:r?n:p.getAssetIDByName(n)})}const qt=v.findByName("useIsFocused");v.findByProps("BottomSheetScrollView");const{getUser:Zt}=v.findByProps("getUser"),ea=p.getAssetIDByName("ic_add_24px");p.getAssetIDByName("ic_arrow"),p.getAssetIDByName("ic_minus_circle_24px"),p.getAssetIDByName("Check"),p.getAssetIDByName("Small");const ta=p.getAssetIDByName("ic_trash_24px"),Q=e.stylesheet.createThemedStyleSheet({basicPad:{paddingRight:10,marginBottom:10,letterSpacing:.25},header:{color:N.semanticColors.HEADER_SECONDARY,fontFamily:e.constants.Fonts.PRIMARY_BOLD,paddingLeft:"3.5%",fontSize:24},sub:{color:N.semanticColors.TEXT_POSITIVE,fontFamily:e.constants.Fonts.DISPLAY_NORMAL,paddingLeft:"4%",fontSize:18},flagsText:{color:N.semanticColors.HEADER_SECONDARY,fontFamily:e.constants.Fonts.PRIMARY_BOLD,paddingLeft:"4%",fontSize:16},input:{fontSize:16,fontFamily:e.constants.Fonts.PRIMARY_MEDIUM,color:N.semanticColors.TEXT_NORMAL},placeholder:{color:N.semanticColors.INPUT_PLACEHOLDER_TEXT}});function aa(){var n;le.useProxy(t.storage);let[r,a]=React.useState("");const f=e.NavigationNative.useNavigation();qt();let c=(t.storage===null||t.storage===void 0||(n=t.storage.inputs)===null||n===void 0?void 0:n.ignoredUserList)??[];const h=function(){if(r){if(isNaN(parseInt(r)))c.push({id:void 0,username:r});else{let i=Zt(r);if(i)c.push({id:i?.id,username:"",showUser:!1,isWebhook:!1});else return H.showToast("Invalid User Id")}a(""),f.push("VendettaCustomPage",{title:"Adding User to Ignore List",render:function(){return React.createElement(vt,{index:c?.length-1})}})}};return React.createElement(React.Fragment,null,React.createElement(Ht,{style:{flex:1}},React.createElement(Kt,{style:[Q.header,Q.basicPad]},React.createElement(Yt,{style:[Q.header,Q.sub]},c.length>0&&React.createElement(pe,{label:"Clear List",trailing:Et(ta,!0),onPress:function(){c.length!==0&&Pt.showConfirmationAlert({title:"Hol up, wait a minute!",content:`This will removes in total ${c.length} users from ignore list.`,confirmText:"Ye",cancelText:"Nah",confirmColor:"brand",onConfirm:function(){t.storage.inputs.ignoredUserList=[]}})}}),c?.map(function(i,I){return React.createElement(React.Fragment,null,React.createElement(pe,{label:i?.username||i?.id||"No Data",trailing:React.createElement(Jt,null),onPress:function(){return f.push("VendettaCustomPage",{title:"Editing User",render:function(){return React.createElement(vt,{index:I})}})}}),I!==c?.length-1&&React.createElement(Qt,null))}),React.createElement(pe,{label:React.createElement(Wt,{value:r,onChangeText:a,placeholder:"User ID or Username",placeholderTextColor:Q.placeholder.color,selectionColor:e.constants.Colors.PRIMARY_DARK_100,onSubmitEditing:h,returnKeyType:"done",style:Q.input}),trailing:React.createElement(Xt,{onPress:h},Et(ea,!0))})))))}const Rt=v.findByProps("show","confirm","close");v.findByName("StaticSearchBarContainer"),v.findByStoreName("UserStore");const na=v.findByProps("showUserProfile"),ra=v.findByName("useIsFocused"),{openURL:la}=v.findByProps("openURL","openDeeplink"),{ScrollView:oa,View:X,Text:ce,TouchableOpacity:Se,TextInput:Wa,Image:ia,Animated:de}=L.General,{FormLabel:ja,FormIcon:Ja,FormArrow:Ka,FormRow:q,FormSwitch:Qa,FormSwitchRow:qa,FormSection:Za,FormDivider:en,FormInput:tn}=L.Forms,P=e.stylesheet.createThemedStyleSheet({main_text:{opacity:.975,letterSpacing:.25,fontFamily:e.constants.Fonts.DISPLAY_NORMAL},item_container:{display:"flex",flexDirection:"row",alignItems:"center",paddingTop:4,paddingBottom:4,width:"100%"},log_header:{display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"space-between",maxWidth:"95%"},log_sub_header:{display:"flex",flexDirection:"row",alignItems:"center",maxWidth:"50%"},log_time:{color:N.semanticColors.TEXT_MUTED,opacity:.99,fontSize:13,paddingLeft:4},log_type:{color:N.semanticColors.TEXT_MUTED,opacity:.45,fontSize:16,marginLeft:"auto"},avatar_container:{alignSelf:"start",justifySelf:"start",marginTop:5},author_avatar:{width:40,height:40,borderRadius:80},author_name:{color:N.semanticColors.HEADER_PRIMARY,fontFamily:e.constants.Fonts.DISPLAY_BOLD,fontSize:14,letterSpacing:.25,paddingBottom:4},old_message:{color:N.semanticColors.TEXT_MUTED,opacity:.89,fontSize:13},message_content:{color:N.semanticColors.TEXT_NORMAL,opacity:.985,fontSize:13},main_container:{paddingLeft:8,paddingRight:4,paddingTop:2,paddingBottom:16,width:"95%"},text_container:{display:"flex",flexDirection:"column",paddingBottom:4,paddingLeft:8,width:"95%"}});function _e(n,r){return n?.length>r?n?.substring(0,r)+"...":n}function Ce(){le.useProxy(t.storage),ra();const n=e.React.useRef(new de.Value(1)).current,r=function(){return de.spring(n,{toValue:1.1,duration:10,useNativeDriver:!0}).start()},a=function(){return de.spring(n,{toValue:1,duration:250,useNativeDriver:!0}).start()},f={transform:[{scale:n}]},[c,h]=e.React.useState([]);return e.React.useEffect(function(){var i;(t.storage===null||t.storage===void 0||(i=t.storage.log)===null||i===void 0?void 0:i.length)>0&&h(t.storage.log.reverse())},[]),c?.length>(t.storage===null||t.storage===void 0?void 0:t.storage.logCount)&&t.storage.logWarning&&Rt.show({title:"Log exceed limit",body:"Clear log?",confirmText:"Yes",cancelText:"NO",confirmColor:"brand",onConfirm:function(){t.storage.log=[],h([]),H.showToast("[ANTIED] Cleared the log")}}),e.React.createElement(e.React.Fragment,null,e.React.createElement(oa,null,e.React.createElement(q,{label:"Nuke logs",trailing:e.React.createElement(q.Icon,{source:p.getAssetIDByName("ic_trash_24px")}),onPress:function(){Rt.show({title:"Nuke logs",body:"Nuke the Log?",confirmText:"Yash",cancelText:"nu uh",confirmColor:"brand",onConfirm:function(){t.storage.log=[],h([]),H.showToast("[ANTIED] hmm yum, i ate all of it")}})}}),e.React.createElement(X,{style:P.main_container},c.length<1?e.React.createElement(e.React.Fragment,null,e.React.createElement(X,{style:P.item_container},e.React.createElement(q,{label:"Only us chicken here, go touch some grass"}))):c.map(function(i){const{type:I,author:m,content:C,edited:S,where:u}=i;return e.React.createElement(e.React.Fragment,null,e.React.createElement(X,{style:P.item_container},e.React.createElement(Se,{style:P.avatar_container,onPress:function(){return na.showUserProfile({userId:m.id})},onPressIn:r,onPressOut:a},e.React.createElement(de.View,{style:[f]},e.React.createElement(ia,{source:{uri:m.avatar?`https://cdn.discordapp.com/avatars/${m?.id}/${m.avatar}.png`:"https://cdn.discordapp.com/embed/avatars/2.png"},style:P.author_avatar}))),e.React.createElement(X,{style:P.text_container},e.React.createElement(X,{style:P.log_header},e.React.createElement(X,{style:P.log_sub_header},e.React.createElement(ce,{style:[P.main_text,P.author_name]},`${m.username}`),I=="MessageUpdate"?e.React.createElement(q.Icon,{source:p.getAssetIDByName("pencil")}):e.React.createElement(q.Icon,{source:p.getAssetIDByName("ic_message_delete")}),e.React.createElement(Se,{onPress:function(){i.where.guild&&i.where.channel&&i.where.messageLink?la(`https://discord.com/channels/${i.where.guild}/${i.where.channel}/${i.where.messageLink}`):H.showToast("On Direct Message")}},e.React.createElement(q.Icon,{source:p.getAssetIDByName("ic_show_media")})))),e.React.createElement(Se,{onPress:function(){let R=m.username;R+=` (${m.id}): +(function(ve,Ee,v,t,le,P,p,e,N,H,Lt,B,oe){"use strict";const{openLazy:Pt,hideActionSheet:Ua}=v.findByProps("openLazy","hideActionSheet");function Re(n,r){if(n!=null&&r!=null)for(const a of Object.keys(r))typeof r[a]=="object"&&!Array.isArray(r[a])?(typeof n[a]!="object"&&(n[a]={}),Re(n[a],r[a])):n[a]??=r[a]}function st(n,r){try{Pt(new Promise(function(a){return a({default:n})}),"ActionSheet",r)}catch(a){Ee.logger.error(a.stack),showToast("Got error when opening ActionSheet! Please check debug logs")}}function Bt(n,r){let a=n+r;a=Math.min(a,255);const f=n.toString(16).padStart(2,"0"),c=a.toString(16).padStart(2,"0");return{main:f,secondary:c}}const ct=function(n,r){return`${n}${Math.floor(r*255).toString(16).padStart(2,0)}`},ie={toInt(n){return n=n.replace(/^#/,""),parseInt(n,16)},toHex(n){return"#"+n.toString(16).toUpperCase()},HSLtoHEX(n,r,a){a/=100;const f=r*Math.min(a,1-a)/100,c=function(h){const i=(h+n/30)%12,I=a-f*Math.max(Math.min(i-3,9-i,1),-1);return Math.round(255*I).toString(16).padStart(2,"0")};return`#${c(0)}${c(8)}${c(4)}`}};var dt=Object.freeze({__proto__:null,calculateLighterValue:Bt,colorConverter:ie,makeDefaults:Re,openSheet:st,setOpacity:ct});const{ScrollView:Mt,View:ye,Text:$t,TouchableOpacity:ut,TextInput:Oa,Image:xt,Animated:se}=P.General,{FormLabel:Ut,FormIcon:Ot,FormArrow:ka,FormRow:me,FormSwitch:kt,FormSwitchRow:za,FormSection:zt,FormDivider:Vt,FormInput:gt}=P.Forms,Gt=v.findByName("useIsFocused");v.findByProps("BottomSheetScrollView");const ft=v.findByStoreName("UserStore"),be=v.findByProps("showUserProfile");p.getAssetIDByName("ic_add_24px"),p.getAssetIDByName("ic_arrow"),p.getAssetIDByName("ic_minus_circle_24px"),p.getAssetIDByName("Check"),p.getAssetIDByName("Small");function ht(n){return e.React.createElement(Ot,{style:{opacity:1},source:p.getAssetIDByName(n)})}const Y=e.stylesheet.createThemedStyleSheet({basicPad:{paddingRight:10,marginBottom:10,letterSpacing:.25},header:{color:N.semanticColors.HEADER_SECONDARY,fontFamily:e.constants.Fonts.PRIMARY_BOLD,paddingLeft:"3%",fontSize:24},sub:{color:N.semanticColors.TEXT_POSITIVE,fontFamily:e.constants.Fonts.DISPLAY_NORMAL,paddingLeft:"4%",fontSize:18},flagsText:{color:N.semanticColors.HEADER_SECONDARY,fontFamily:e.constants.Fonts.PRIMARY_BOLD,paddingLeft:"4%",fontSize:16},container:{marginTop:25,marginLeft:"5%",marginBottom:-15,flexDirection:"row"},textContainer:{paddingLeft:15,paddingTop:5,flexDirection:"column",flexWrap:"wrap",shadowColor:"#000",shadowOffset:{width:1,height:4},shadowOpacity:.2,shadowRadius:4.65,elevation:8},image:{width:75,height:75,borderRadius:10,shadowColor:"#000",shadowOffset:{width:1,height:4},shadowOpacity:.2,shadowRadius:4.65,elevation:8},mainText:{opacity:.975,letterSpacing:.25},header:{color:N.semanticColors.HEADER_PRIMARY,fontFamily:e.constants.Fonts.DISPLAY_BOLD,fontSize:25,letterSpacing:.25},subHeader:{color:N.semanticColors.HEADER_SECONDARY,fontSize:12.75}});function vt(n){let{index:r}=n;var a,f,c,h;le.useProxy(t.storage);let i=t.storage===null||t.storage===void 0||(a=t.storage.inputs)===null||a===void 0?void 0:a.ignoredUserList[r];const I=e.React.useRef(new se.Value(1)).current,m=function(){return se.spring(I,{toValue:1.1,duration:10,useNativeDriver:!0}).start()},C=function(){return se.spring(I,{toValue:1,duration:250,useNativeDriver:!0}).start()},S={transform:[{scale:I}]};let u=ft.getUser(i?.id),R=Object.values(ft.getUsers());u||(u=R.find(function(s){return s?.username==i?.username})),u||(u=R.find(function(s){var d,l;return(s==null||(d=s.username)===null||d===void 0?void 0:d.toLowerCase())==(i==null||(l=i.username)===null||l===void 0?void 0:l.toLowerCase())}));const E=e.NavigationNative.useNavigation();return Gt(),e.React.createElement(e.React.Fragment,null,e.React.createElement(Mt,null,e.React.createElement(ye,{style:[Y.basicPad,Y.sub]},e.React.createElement(zt,{title:"User Setting",style:[Y.header]},e.React.createElement(me,{label:"Find User Id or Username",leading:ht("ic_search"),onPress:function(){var s,d;u&&!(!((s=i.username)===null||s===void 0)&&s.length)?i.username=u.username:u&&!(!((d=i.id)===null||d===void 0)&&d.length)?i.id=u.id:H.showToast("Cannot find User Id/Username.")}}),e.React.createElement(gt,{title:"User Username | Case Sensitive",placeholder:"Missing No",value:i?.username,onChange:function(s){return i.username=s}}),e.React.createElement(gt,{title:"User Id",placeholder:"Missing No",value:i?.id,onChange:function(s){return i.id=s}}),e.React.createElement(me,{label:"User is webhook?",subLabel:"User is webhook or system, and not BOT or Normal User.",leading:ht("ic_webhook_24px"),trailing:e.React.createElement(kt,{value:i?.isWebhook||!1,onValueChange:function(s){return i.isWebhook=s}})})),u&&e.React.createElement(ye,{style:[Y.container,{paddingBottom:10}]},e.React.createElement(ut,{onPress:function(){var s;return(s=be.showUserProfile)===null||s===void 0?void 0:s.call(be,{userId:u?.id})},onPressIn:m,onPressOut:C},e.React.createElement(se.View,{style:S},e.React.createElement(xt,{source:{uri:(u==null||(h=u.getAvatarURL)===null||h===void 0||(c=h.call(u))===null||c===void 0||(f=c.replace)===null||f===void 0?void 0:f.call(c,"webp","png"))||"https://cdn.discordapp.com/embed/avatars/2.png"},style:{width:128,height:128,borderRadius:10}}))),e.React.createElement(ye,{style:Y.textContainer},e.React.createElement(ut,{onPress:function(){return be.showUserProfile({userId:u?.id})}},e.React.createElement($t,{style:[Y.mainText,Y.header]},u?.username||i?.username||"No Name"))),e.React.createElement(Vt,null)),e.React.createElement(me,{label:e.React.createElement(Ut,{text:"Remove User from Ignore List",style:{color:N.rawColors.RED_400}}),onPress:function(){var s,d;E.pop(),t.storage===null||t.storage===void 0||(d=t.storage.inputs)===null||d===void 0||(s=d.ignoredUserList)===null||s===void 0||s.splice(r,1)}}))))}const{ScrollView:Ht,View:Yt,Text:Va,TouchableOpacity:Xt,TextInput:Wt}=P.General,{FormLabel:Ga,FormIcon:jt,FormArrow:Jt,FormRow:pe,FormSwitch:Ha,FormSwitchRow:Ya,FormSection:Kt,FormDivider:Qt,FormInput:Xa}=P.Forms;function Et(n,r){return React.createElement(jt,{style:{opacity:1},source:r?n:p.getAssetIDByName(n)})}const qt=v.findByName("useIsFocused");v.findByProps("BottomSheetScrollView");const{getUser:Zt}=v.findByProps("getUser"),ea=p.getAssetIDByName("ic_add_24px");p.getAssetIDByName("ic_arrow"),p.getAssetIDByName("ic_minus_circle_24px"),p.getAssetIDByName("Check"),p.getAssetIDByName("Small");const ta=p.getAssetIDByName("ic_trash_24px"),Q=e.stylesheet.createThemedStyleSheet({basicPad:{paddingRight:10,marginBottom:10,letterSpacing:.25},header:{color:N.semanticColors.HEADER_SECONDARY,fontFamily:e.constants.Fonts.PRIMARY_BOLD,paddingLeft:"3.5%",fontSize:24},sub:{color:N.semanticColors.TEXT_POSITIVE,fontFamily:e.constants.Fonts.DISPLAY_NORMAL,paddingLeft:"4%",fontSize:18},flagsText:{color:N.semanticColors.HEADER_SECONDARY,fontFamily:e.constants.Fonts.PRIMARY_BOLD,paddingLeft:"4%",fontSize:16},input:{fontSize:16,fontFamily:e.constants.Fonts.PRIMARY_MEDIUM,color:N.semanticColors.TEXT_NORMAL},placeholder:{color:N.semanticColors.INPUT_PLACEHOLDER_TEXT}});function aa(){var n;le.useProxy(t.storage);let[r,a]=React.useState("");const f=e.NavigationNative.useNavigation();qt();let c=(t.storage===null||t.storage===void 0||(n=t.storage.inputs)===null||n===void 0?void 0:n.ignoredUserList)??[];const h=function(){if(r){if(isNaN(parseInt(r)))c.push({id:void 0,username:r});else{let i=Zt(r);if(i)c.push({id:i?.id,username:"",showUser:!1,isWebhook:!1});else return H.showToast("Invalid User Id")}a(""),f.push("VendettaCustomPage",{title:"Adding User to Ignore List",render:function(){return React.createElement(vt,{index:c?.length-1})}})}};return React.createElement(React.Fragment,null,React.createElement(Ht,{style:{flex:1}},React.createElement(Kt,{style:[Q.header,Q.basicPad]},React.createElement(Yt,{style:[Q.header,Q.sub]},c.length>0&&React.createElement(pe,{label:"Clear List",trailing:Et(ta,!0),onPress:function(){c.length!==0&&Lt.showConfirmationAlert({title:"Hol up, wait a minute!",content:`This will removes in total ${c.length} users from ignore list.`,confirmText:"Ye",cancelText:"Nah",confirmColor:"brand",onConfirm:function(){t.storage.inputs.ignoredUserList=[]}})}}),c?.map(function(i,I){return React.createElement(React.Fragment,null,React.createElement(pe,{label:i?.username||i?.id||"No Data",trailing:React.createElement(Jt,null),onPress:function(){return f.push("VendettaCustomPage",{title:"Editing User",render:function(){return React.createElement(vt,{index:I})}})}}),I!==c?.length-1&&React.createElement(Qt,null))}),React.createElement(pe,{label:React.createElement(Wt,{value:r,onChangeText:a,placeholder:"User ID or Username",placeholderTextColor:Q.placeholder.color,selectionColor:e.constants.Colors.PRIMARY_DARK_100,onSubmitEditing:h,returnKeyType:"done",style:Q.input}),trailing:React.createElement(Xt,{onPress:h},Et(ea,!0))})))))}const Rt=v.findByProps("show","confirm","close");v.findByName("StaticSearchBarContainer"),v.findByStoreName("UserStore");const na=v.findByProps("showUserProfile"),ra=v.findByName("useIsFocused"),{openURL:la}=v.findByProps("openURL","openDeeplink"),{ScrollView:oa,View:X,Text:ce,TouchableOpacity:Se,TextInput:Wa,Image:ia,Animated:de}=P.General,{FormLabel:ja,FormIcon:Ja,FormArrow:Ka,FormRow:q,FormSwitch:Qa,FormSwitchRow:qa,FormSection:Za,FormDivider:en,FormInput:tn}=P.Forms,L=e.stylesheet.createThemedStyleSheet({main_text:{opacity:.975,letterSpacing:.25,fontFamily:e.constants.Fonts.DISPLAY_NORMAL},item_container:{display:"flex",flexDirection:"row",alignItems:"center",paddingTop:4,paddingBottom:4,width:"100%"},log_header:{display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"space-between",maxWidth:"95%"},log_sub_header:{display:"flex",flexDirection:"row",alignItems:"center",maxWidth:"50%"},log_time:{color:N.semanticColors.TEXT_MUTED,opacity:.99,fontSize:13,paddingLeft:4},log_type:{color:N.semanticColors.TEXT_MUTED,opacity:.45,fontSize:16,marginLeft:"auto"},avatar_container:{alignSelf:"start",justifySelf:"start",marginTop:5},author_avatar:{width:40,height:40,borderRadius:80},author_name:{color:N.semanticColors.HEADER_PRIMARY,fontFamily:e.constants.Fonts.DISPLAY_BOLD,fontSize:14,letterSpacing:.25,paddingBottom:4},old_message:{color:N.semanticColors.TEXT_MUTED,opacity:.89,fontSize:13},message_content:{color:N.semanticColors.TEXT_NORMAL,opacity:.985,fontSize:13},main_container:{paddingLeft:8,paddingRight:4,paddingTop:2,paddingBottom:16,width:"95%"},text_container:{display:"flex",flexDirection:"column",paddingBottom:4,paddingLeft:8,width:"95%"}});function _e(n,r){return n?.length>r?n?.substring(0,r)+"...":n}function Ce(){le.useProxy(t.storage),ra();const n=e.React.useRef(new de.Value(1)).current,r=function(){return de.spring(n,{toValue:1.1,duration:10,useNativeDriver:!0}).start()},a=function(){return de.spring(n,{toValue:1,duration:250,useNativeDriver:!0}).start()},f={transform:[{scale:n}]},[c,h]=e.React.useState([]);return e.React.useEffect(function(){var i;(t.storage===null||t.storage===void 0||(i=t.storage.log)===null||i===void 0?void 0:i.length)>0&&h(t.storage.log.reverse())},[]),c?.length>(t.storage===null||t.storage===void 0?void 0:t.storage.logCount)&&t.storage.logWarning&&Rt.show({title:"Log exceed limit",body:"Clear log?",confirmText:"Yes",cancelText:"NO",confirmColor:"brand",onConfirm:function(){t.storage.log=[],h([]),H.showToast("[ANTIED] Cleared the log")}}),e.React.createElement(e.React.Fragment,null,e.React.createElement(oa,null,e.React.createElement(q,{label:"Nuke logs",trailing:e.React.createElement(q.Icon,{source:p.getAssetIDByName("ic_trash_24px")}),onPress:function(){Rt.show({title:"Nuke logs",body:"Nuke the Log?",confirmText:"Yash",cancelText:"nu uh",confirmColor:"brand",onConfirm:function(){t.storage.log=[],h([]),H.showToast("[ANTIED] hmm yum, i ate all of it")}})}}),e.React.createElement(X,{style:L.main_container},c.length<1?e.React.createElement(e.React.Fragment,null,e.React.createElement(X,{style:L.item_container},e.React.createElement(q,{label:"Only us chicken here, go touch some grass"}))):c.map(function(i){const{type:I,author:m,content:C,edited:S,where:u}=i;return e.React.createElement(e.React.Fragment,null,e.React.createElement(X,{style:L.item_container},e.React.createElement(Se,{style:L.avatar_container,onPress:function(){return na.showUserProfile({userId:m.id})},onPressIn:r,onPressOut:a},e.React.createElement(de.View,{style:[f]},e.React.createElement(ia,{source:{uri:m.avatar?`https://cdn.discordapp.com/avatars/${m?.id}/${m.avatar}.png`:"https://cdn.discordapp.com/embed/avatars/2.png"},style:L.author_avatar}))),e.React.createElement(X,{style:L.text_container},e.React.createElement(X,{style:L.log_header},e.React.createElement(X,{style:L.log_sub_header},e.React.createElement(ce,{style:[L.main_text,L.author_name]},`${m.username}`),I=="MessageUpdate"?e.React.createElement(q.Icon,{source:p.getAssetIDByName("pencil")}):e.React.createElement(q.Icon,{source:p.getAssetIDByName("ic_message_delete")}),e.React.createElement(Se,{onPress:function(){i.where.guild&&i.where.channel&&i.where.messageLink?la(`https://discord.com/channels/${i.where.guild}/${i.where.channel}/${i.where.messageLink}`):H.showToast("On Direct Message")}},e.React.createElement(q.Icon,{source:p.getAssetIDByName("ic_show_media")})))),e.React.createElement(Se,{onPress:function(){let R=m.username;R+=` (${m.id}): `,R=+`>>> ${C}`,S&&(R+=` -${S}`),e.clipboard.setString(R),H.showToast("Log content copied")},style:P.text_container},e.React.createElement(X,null,S?.length>0?e.React.createElement(e.React.Fragment,null,e.React.createElement(ce,{style:[P.main_text,P.old_message]},_e(C,20)),e.React.createElement(ce,{style:[P.main_text,P.message_content]},_e(S,20))):e.React.createElement(ce,{style:P.message_content},_e(C,20)))))))}))))}const sa=v.findByName("CustomColorPickerActionSheet"),{ScrollView:ca,View:x,Text:yt,TouchableOpacity:mt,TextInput:an,Pressable:nn,Image:da}=L.General,{FormLabel:rn,FormIcon:te,FormArrow:ln,FormRow:k,FormSwitch:ue,FormSwitchRow:on,FormSection:Z,FormDivider:z,FormInput:ua,FormSliderRow:bt}=L.Forms,U=e.stylesheet.createThemedStyleSheet({text:{color:N.semanticColors.HEADER_SECONDARY,paddingLeft:"5.5%",paddingRight:10,marginBottom:10,letterSpacing:.25,fontFamily:e.constants.Fonts.PRIMARY_BOLD,fontSize:16},subText:{color:N.semanticColors.TEXT_POSITIVE,paddingLeft:"6%",paddingRight:10,marginBottom:10,letterSpacing:.25,fontFamily:e.constants.Fonts.DISPLAY_NORMAL,fontSize:12},input:{fontSize:16,fontFamily:e.constants.Fonts.PRIMARY_MEDIUM,color:N.semanticColors.TEXT_NORMAL},placeholder:{color:N.semanticColors.INPUT_PLACEHOLDER_TEXT},container:{flex:1,justifyContent:"center",alignItems:"center"},colorPreview:{width:"75%",height:100,marginBottom:20},row:{flexDirection:"row",height:80,width:"90%",marginBottom:20},border:{borderRadius:12}}),ga=p.getAssetIDByName("ic_add_24px");v.findByProps("getUser");const fa=v.findByName("useIsFocused"),pt=[{id:"enableMD",default:!0,label:"Toggle Message Delete",subLabel:"Logs deleted message"},{id:"enableMU",default:!0,label:"Toggle Message Update",subLabel:"Logs edited message"},{id:"logWarning",default:!1,label:"Toggle Exceeding Log Limit Warning",subLabel:"Warn if log limit exceed"}],St=[{id:"minimalistic",default:!0,label:"Minimalistic Settings",subLabel:"Removes all Styling (Enabled by Default)"},{id:"useBackgroundColor",default:!1,label:"Enable Background Color",subLabel:"Background Color for Deleted Message, similiar to Mention but Customizeable"},{id:"ignoreBots",default:!1,label:"Ignore Bots",subLabel:"Ignore bot deleted messages."},{id:"removeDismissButton",default:!1,label:"Remove Dissmiss Message",subLabel:"Remove clickable Dismiss Message text from deleted ephemeral messages."},{id:"addTimestampForEdits",default:!1,label:"Add Edit Timestamp",subLabel:"Add Timestamp for edited messages."}],_t=[{id:"textColor",label:"Deleted Message Text Color",subLabel:"Click to customize Deleted Message Text Color",defaultColor:"#E40303"},{id:"backgroundColor",label:"Deleted Message Background Color",subLabel:"Click to customize Background Color",defaultColor:"#FF2C2F"},{id:"gutterColor",label:"Deleted Message Background Gutter Color",subLabel:"Click to customize Background Gutter Color",defaultColor:"#FF2C2F"}],Ct=[{id:"deletedMessageBuffer",title:"Customize Deleted Message",type:"default",placeholder:"This message is deleted"},{id:"editedMessageBuffer",title:"Customize Edited Separator",type:"default",placeholder:"`[ EDITED ]`"},{id:"historyToast",title:"Customize Remove History Toast Message",type:"default",placeholder:"History Removed"},{id:"logCount",title:"Customize Log Limit",type:"number",placeholder:"1000"}];function ge(n){n=Number(n);const r=Math.min(Math.max(n,0),100),a=Math.round(r/100*255).toString(16).toUpperCase();return a.length===1?"0"+a:a}function It(n){const r=parseInt(n,16);return isNaN(r)?0:Math.round(r/255*100)}const O={toPercentage:function(n){return n=Number(n),n===0?0:n===1?100:Math.round(n*100)},toDecimal:function(n){n=Number(n);const r=Math.min(Math.max(n,0),100);return r===0?0:r===100?1:r/100},formatDecimal:function(n){return n=Number(n),n===0||n===1?n:n.toFixed(2)}};function Ie(){var n,r,a,f,c,h,i,I,m,C,S,u,R,E,s;le.useProxy(t.storage);const[d,l]=e.React.useState(O.toDecimal(It(t.storage===null||t.storage===void 0||(n=t.storage.colors)===null||n===void 0?void 0:n.backgroundColorAlpha)??100)),[b,y]=e.React.useState(O.toDecimal(It(t.storage===null||t.storage===void 0||(r=t.storage.colors)===null||r===void 0?void 0:r.gutterColorAlpha)??100)),_=e.NavigationNative.useNavigation();fa();const D=function(){_.push("VendettaCustomPage",{title:"List of Ignored Users",render:function(){return e.React.createElement(aa,null)}})};return e.React.createElement(ca,null,e.React.createElement(x,{style:{marginTop:20,marginBottom:20}},e.React.createElement(Z,{title:"Plugin Setting",style:[U.header]},e.React.createElement(k,{label:"Antied Logging Page",leading:e.React.createElement(k.Icon,{source:p.getAssetIDByName("ic_edit_24px")}),trailing:k.Arrow,onPress:function(){return _.push("VendettaCustomPage",{title:"Antied Logging Page",render:function(){return e.React.createElement(Ce,null)}})}}),e.React.createElement(k,{label:"Customization",subLabel:"Show customization for the plugin",leading:e.React.createElement(te,{style:{opacity:1},source:p.getAssetIDByName("ic_category_16px")}),trailing:e.React.createElement(ue,{value:(t.storage===null||t.storage===void 0||(a=t.storage.switches)===null||a===void 0?void 0:a.customizeable)??!1,onValueChange:function(o){return t.storage.switches.customizeable=o}})}),(t.storage===null||t.storage===void 0||(f=t.storage.switches)===null||f===void 0?void 0:f.customizeable)&&e.React.createElement(e.React.Fragment,null,e.React.createElement(Z,{title:"Patches"}),e.React.createElement(z,null)),(t.storage===null||t.storage===void 0||(c=t.storage.switches)===null||c===void 0?void 0:c.customizeable)&&e.React.createElement(e.React.Fragment,null,e.React.createElement(x,{style:[U.subText]},pt?.map(function(o,A){return e.React.createElement(e.React.Fragment,null,e.React.createElement(k,{label:o?.label,subLabel:o?.subLabel,leading:o?.icon&&e.React.createElement(te,{style:{opacity:1},source:p.getAssetIDByName(o?.icon)}),trailing:"id"in o?e.React.createElement(ue,{value:(t.storage===null||t.storage===void 0?void 0:t.storage.switches[o?.id])??o?.default,onValueChange:function(F){return t.storage.switches[o?.id]=F}}):void 0}),A!==pt?.length-1&&e.React.createElement(z,null))}))),(t.storage===null||t.storage===void 0||(h=t.storage.switches)===null||h===void 0?void 0:h.customizeable)&&e.React.createElement(e.React.Fragment,null,e.React.createElement(Z,{title:"Switches"}),e.React.createElement(z,null)),(t.storage===null||t.storage===void 0||(i=t.storage.switches)===null||i===void 0?void 0:i.customizeable)&&e.React.createElement(e.React.Fragment,null,e.React.createElement(x,{style:[U.subText]},St?.map(function(o,A){return e.React.createElement(e.React.Fragment,null,e.React.createElement(k,{label:o?.label,subLabel:o?.subLabel,leading:o?.icon&&e.React.createElement(te,{style:{opacity:1},source:p.getAssetIDByName(o?.icon)}),trailing:"id"in o?e.React.createElement(ue,{value:(t.storage===null||t.storage===void 0?void 0:t.storage.switches[o?.id])??o?.default,onValueChange:function(F){return t.storage.switches[o?.id]=F}}):void 0}),A!==St?.length-1&&e.React.createElement(z,null))}))),(t.storage===null||t.storage===void 0||(I=t.storage.switches)===null||I===void 0?void 0:I.customizeable)&&e.React.createElement(e.React.Fragment,null,e.React.createElement(Z,{title:"Text Variables"}),e.React.createElement(z,null)),(t.storage===null||t.storage===void 0||(m=t.storage.switches)===null||m===void 0?void 0:m.customizeable)&&e.React.createElement(e.React.Fragment,null,e.React.createElement(x,{style:[U.subText]},Ct?.map(function(o,A){return e.React.createElement(e.React.Fragment,null,e.React.createElement(ua,{title:o?.title,keyboardType:o?.type,placeholder:o?.placeholder,value:(t.storage===null||t.storage===void 0?void 0:t.storage.inputs[o.id])??o?.placeholder,onChange:function(F){return t.storage.inputs[o.id]=F.toString()}}),A!==Ct.length-1&&e.React.createElement(z,null))}))),(t.storage===null||t.storage===void 0||(C=t.storage.switches)===null||C===void 0?void 0:C.customizeable)&&e.React.createElement(e.React.Fragment,null,e.React.createElement(Z,{title:"Color Pickers"}),e.React.createElement(z,null)),(t.storage===null||t.storage===void 0||(S=t.storage.switches)===null||S===void 0?void 0:S.customizeable)&&e.React.createElement(e.React.Fragment,null,e.React.createElement(x,{style:[U.subText]},_t?.map(function(o){var A;const F=function(){var M;return st(sa,{color:dt==null||(M=ie)===null||M===void 0?void 0:M.toInt(t.storage.colors[o.id]||o?.defaultColor||"#000"),onSelect:function($){var w;const V=dt==null||(w=ie)===null||w===void 0?void 0:w.toHex($);t.storage.colors[o.id]=V}})};return e.React.createElement(e.React.Fragment,null,e.React.createElement(k,{label:o?.label,subLabel:o?.subLabel||"Click to Update",onPress:F,trailing:e.React.createElement(mt,{onPress:F},e.React.createElement(da,{source:{uri:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mJsrQAAAgwBAJ9P6qYAAAAASUVORK5CYII="},style:{width:32,height:32,borderRadius:10,backgroundColor:(t.storage===null||t.storage===void 0?void 0:t.storage.colors[o.id])||((A=_t.find(function(M){return M?.id==o?.id}))===null||A===void 0?void 0:A.defaultColor)||"#000"}}))}))}))),(t.storage===null||t.storage===void 0||(u=t.storage.switches)===null||u===void 0?void 0:u.customizeable)&&e.React.createElement(e.React.Fragment,null,e.React.createElement(x,{style:[U.subText]},e.React.createElement(x,{style:U.container},e.React.createElement(k,{style:{justifyContent:"center",alignItems:"center"},label:`Preview Style: ${!(t.storage===null||t.storage===void 0||(R=t.storage.switches)===null||R===void 0)&&R.darkMode?"Light":"Dark"} Mode`,subLabel:"Click to Switch Mode",trailing:e.React.createElement(ue,{value:(t.storage===null||t.storage===void 0||(E=t.storage.switches)===null||E===void 0?void 0:E.darkMode)??!0,onValueChange:function(o){return t.storage.switches.darkMode=o}})}),e.React.createElement(x,{style:[U.row,U.border,{overflow:"hidden",marginRight:10}]},e.React.createElement(x,{style:{width:"2%",backgroundColor:`${t.storage.colors.gutterColor}${ge(O.toPercentage(b))}`}}),e.React.createElement(x,{style:{flex:1,backgroundColor:`${t.storage.colors.backgroundColor}${ge(O.toPercentage(d))}`,justifyContent:"center",alignItems:"center"}},e.React.createElement(yt,{style:{fontSize:20,color:!(t.storage===null||t.storage===void 0||(s=t.storage.switches)===null||s===void 0)&&s.darkMode?"black":"white"}}," Low Effort Normal Example Message "),e.React.createElement(yt,{style:{fontSize:20,color:t.storage.colors.textColor||"#000000"}}," Low Effort Deleted Example Message "))),e.React.createElement(bt,{label:`Background Color Alpha: ${O.toPercentage(d)}%`,value:d,style:{width:"90%"},onValueChange:function(o){l(Number(O.formatDecimal(o))),t.storage.colors.backgroundColorAlpha=ge(O.toPercentage(o))}}),e.React.createElement(z,null),e.React.createElement(bt,{label:`Background Gutter Alpha: ${O.toPercentage(b)}%`,value:b,style:{width:"90%"},onValueChange:function(o){y(Number(O.formatDecimal(o))),t.storage.colors.gutterColorAlpha=ge(O.toPercentage(o))}}))))),e.React.createElement(Z,{title:"Ignore List Setting",style:[U.header]},e.React.createElement(k,{label:"Add User to List",subLabel:"List of ignored users for the plugin",leading:e.React.createElement(te,{style:{opacity:1},source:p.getAssetIDByName("ic_members")}),onPress:D,trailing:e.React.createElement(mt,{onPress:D},e.React.createElement(te,{style:{opacity:1},source:ga}))}),e.React.createElement(z,null))))}v.findByProps("openLazy","hideActionSheet");const W=v.findByProps("getChannel","getDMFromUserId"),ha=v.findByProps("_channelMessages"),va=v.findByProps("getMessage","getMessages");function Ea(n){return B.before("dispatch",e.FluxDispatcher,function(r){const[a]=r,f=a?.type;if(f=="MESSAGE_DELETE"){var c,h,i,I,m,C,S,u,R,E,s,d,l,b,y,_,D,o,A,F;if(t.storage.switches.enableMD==!1||a?.otherPluginBypass)return r;const T=ha.get(a.channelId),g=T?.get(a.id);if(!g||a?.id&&((c=n[a?.id])===null||c===void 0?void 0:c.stage)==2)return r;if(a?.id&&((h=n[a?.id])===null||h===void 0?void 0:h.stage)==1){var M;return n[a?.id].stage=2,((M=n[a?.id])===null||M===void 0?void 0:M.message)??r}const lt=g==null||(i=g.author)===null||i===void 0?void 0:i.id,ot=g==null||(I=g.author)===null||I===void 0?void 0:I.username,ee=!g?.content&&(g==null||(m=g.attachments)===null||m===void 0?void 0:m.length)==0&&(g==null||(C=g.embeds)===null||C===void 0?void 0:C.length)==0;return!lt||!ot||ee||!(t.storage===null||t.storage===void 0||(S=t.storage.switches)===null||S===void 0)&&S.ignoreBots&&!(g==null||(u=g.author)===null||u===void 0)&&u.bot||(t.storage===null||t.storage===void 0||(E=t.storage.inputs)===null||E===void 0||(R=E.ignoredUserList)===null||R===void 0?void 0:R.length)>0&&!((s=t.storage.inputs.ignoredUserList)===null||s===void 0)&&s.some(function(fe){var K;return fe?.id==(g==null||(K=g.author)===null||K===void 0?void 0:K.id)||fe.username==g.author.username})||(r[0]={type:"MESSAGE_UPDATE",channelId:g?.channel_id||a?.channelId,message:{...g,content:g?.content,type:0,flags:64,channel_id:g?.channel_id||a?.channelId,guild_id:W==null||(d=W.getChannel(g?.channel_id))===null||d===void 0?void 0:d.guild_id,timestamp:`${new Date().toJSON()}`,state:"SENT",was_deleted:!0},optimistic:!1,sendMessageOptions:{},isPushNotification:!1},n[a?.id||g?.id]={message:r,stage:1},t.storage.log.push({type:"MessageDelete",author:{id:g==null||(l=g.author)===null||l===void 0?void 0:l.id,username:`${(g==null||(b=g.author)===null||b===void 0?void 0:b.discriminator)=="0"?`@${g==null||(y=g.author)===null||y===void 0?void 0:y.username}`:`${g==null||(_=g.author)===null||_===void 0?void 0:_.username}#${g==null||(D=g.author)===null||D===void 0?void 0:D.discriminator}`}`,avatar:g==null||(o=g.author)===null||o===void 0?void 0:o.avatar,bot:g==null||(A=g.author)===null||A===void 0?void 0:A.bot},content:g?.content,where:{channel:g?.channel_id||a?.channelId,guild:W==null||(F=W.getChannel(g?.channel_id))===null||F===void 0?void 0:F.guild_id,messageLink:g?.id}})),r}if(f=="MESSAGE_UPDATE"){var $,w,V,j,J,ae,G,ne,De,Te,Ne,Fe,Pe,Le,Be,Me,$e,xe,Ue,Oe,ke,ze,Ve,Ge,He,Ye,Xe,We,je,Je,Ke,Qe,qe,Ze,et,tt,at;if(t.storage.switches.enableMU==!1||a?.otherPluginBypass||!(a==null||(w=a.message)===null||w===void 0||($=w.author)===null||$===void 0)&&$.bot)return r;const T=va.getMessage((a==null||(V=a.message)===null||V===void 0?void 0:V.channel_id)||a?.channelId,(a==null||(j=a.message)===null||j===void 0?void 0:j.id)||a?.id),g=T==null||(J=T.author)===null||J===void 0?void 0:J.id,lt=T==null||(ae=T.author)===null||ae===void 0?void 0:ae.username,ot=!T?.content&&(T==null||(G=T.attachments)===null||G===void 0?void 0:G.length)==0&&(T==null||(ne=T.embeds)===null||ne===void 0?void 0:ne.length)==0;if(!T||!g||!lt||ot||!(!(a==null||(De=a.message)===null||De===void 0)&&De.content)||!T?.content||(a==null||(Te=a.message)===null||Te===void 0?void 0:Te.content)==T?.content||(t.storage===null||t.storage===void 0||(Fe=t.storage.inputs)===null||Fe===void 0||(Ne=Fe.ignoredUserList)===null||Ne===void 0?void 0:Ne.length)>0&&!(t.storage===null||t.storage===void 0||(Le=t.storage.inputs)===null||Le===void 0||(Pe=Le.ignoredUserList)===null||Pe===void 0)&&Pe.some(function(he){var re,it;return he?.id==(T==null||(re=T.author)===null||re===void 0?void 0:re.id)||he?.username==(T==null||(it=T.author)===null||it===void 0?void 0:it.username)}))return r;let ee=(t.storage===null||t.storage===void 0||(Be=t.storage.inputs)===null||Be===void 0?void 0:Be.editedMessageBuffer)||"`[ EDITED ]`";ee=ee+` +${S}`),e.clipboard.setString(R),H.showToast("Log content copied")},style:L.text_container},e.React.createElement(X,null,S?.length>0?e.React.createElement(e.React.Fragment,null,e.React.createElement(ce,{style:[L.main_text,L.old_message]},_e(C,20)),e.React.createElement(ce,{style:[L.main_text,L.message_content]},_e(S,20))):e.React.createElement(ce,{style:L.message_content},_e(C,20)))))))}))))}const sa=v.findByName("CustomColorPickerActionSheet"),{ScrollView:ca,View:x,Text:yt,TouchableOpacity:mt,TextInput:an,Pressable:nn,Image:da}=P.General,{FormLabel:rn,FormIcon:te,FormArrow:ln,FormRow:k,FormSwitch:ue,FormSwitchRow:on,FormSection:Z,FormDivider:z,FormInput:ua,FormSliderRow:bt}=P.Forms,U=e.stylesheet.createThemedStyleSheet({text:{color:N.semanticColors.HEADER_SECONDARY,paddingLeft:"5.5%",paddingRight:10,marginBottom:10,letterSpacing:.25,fontFamily:e.constants.Fonts.PRIMARY_BOLD,fontSize:16},subText:{color:N.semanticColors.TEXT_POSITIVE,paddingLeft:"6%",paddingRight:10,marginBottom:10,letterSpacing:.25,fontFamily:e.constants.Fonts.DISPLAY_NORMAL,fontSize:12},input:{fontSize:16,fontFamily:e.constants.Fonts.PRIMARY_MEDIUM,color:N.semanticColors.TEXT_NORMAL},placeholder:{color:N.semanticColors.INPUT_PLACEHOLDER_TEXT},container:{flex:1,justifyContent:"center",alignItems:"center"},colorPreview:{width:"75%",height:100,marginBottom:20},row:{flexDirection:"row",height:80,width:"90%",marginBottom:20},border:{borderRadius:12}}),ga=p.getAssetIDByName("ic_add_24px");v.findByProps("getUser");const fa=v.findByName("useIsFocused"),pt=[{id:"enableMD",default:!0,label:"Toggle Message Delete",subLabel:"Logs deleted message"},{id:"enableMU",default:!0,label:"Toggle Message Update",subLabel:"Logs edited message"},{id:"logWarning",default:!1,label:"Toggle Exceeding Log Limit Warning",subLabel:"Warn if log limit exceed"}],St=[{id:"minimalistic",default:!0,label:"Minimalistic Settings",subLabel:"Removes all Styling (Enabled by Default)"},{id:"useBackgroundColor",default:!1,label:"Enable Background Color",subLabel:"Background Color for Deleted Message, similiar to Mention but Customizeable"},{id:"ignoreBots",default:!1,label:"Ignore Bots",subLabel:"Ignore bot deleted messages."},{id:"removeDismissButton",default:!1,label:"Remove Dissmiss Message",subLabel:"Remove clickable Dismiss Message text from deleted ephemeral messages."},{id:"addTimestampForEdits",default:!1,label:"Add Edit Timestamp",subLabel:"Add Timestamp for edited messages."}],_t=[{id:"textColor",label:"Deleted Message Text Color",subLabel:"Click to customize Deleted Message Text Color",defaultColor:"#E40303"},{id:"backgroundColor",label:"Deleted Message Background Color",subLabel:"Click to customize Background Color",defaultColor:"#FF2C2F"},{id:"gutterColor",label:"Deleted Message Background Gutter Color",subLabel:"Click to customize Background Gutter Color",defaultColor:"#FF2C2F"}],Ct=[{id:"deletedMessageBuffer",title:"Customize Deleted Message",type:"default",placeholder:"This message is deleted"},{id:"editedMessageBuffer",title:"Customize Edited Separator",type:"default",placeholder:"`[ EDITED ]`"},{id:"historyToast",title:"Customize Remove History Toast Message",type:"default",placeholder:"History Removed"},{id:"logCount",title:"Customize Log Limit",type:"number",placeholder:"1000"}];function ge(n){n=Number(n);const r=Math.min(Math.max(n,0),100),a=Math.round(r/100*255).toString(16).toUpperCase();return a.length===1?"0"+a:a}function It(n){const r=parseInt(n,16);return isNaN(r)?0:Math.round(r/255*100)}const O={toPercentage:function(n){return n=Number(n),n===0?0:n===1?100:Math.round(n*100)},toDecimal:function(n){n=Number(n);const r=Math.min(Math.max(n,0),100);return r===0?0:r===100?1:r/100},formatDecimal:function(n){return n=Number(n),n===0||n===1?n:n.toFixed(2)}};function Ie(){var n,r,a,f,c,h,i,I,m,C,S,u,R,E,s;le.useProxy(t.storage);const[d,l]=e.React.useState(O.toDecimal(It(t.storage===null||t.storage===void 0||(n=t.storage.colors)===null||n===void 0?void 0:n.backgroundColorAlpha)??100)),[b,y]=e.React.useState(O.toDecimal(It(t.storage===null||t.storage===void 0||(r=t.storage.colors)===null||r===void 0?void 0:r.gutterColorAlpha)??100)),_=e.NavigationNative.useNavigation();fa();const D=function(){_.push("VendettaCustomPage",{title:"List of Ignored Users",render:function(){return e.React.createElement(aa,null)}})};return e.React.createElement(ca,null,e.React.createElement(x,{style:{marginTop:20,marginBottom:20}},e.React.createElement(Z,{title:"Plugin Setting",style:[U.header]},e.React.createElement(k,{label:"Antied Logging Page",leading:e.React.createElement(k.Icon,{source:p.getAssetIDByName("ic_edit_24px")}),trailing:k.Arrow,onPress:function(){return _.push("VendettaCustomPage",{title:"Antied Logging Page",render:function(){return e.React.createElement(Ce,null)}})}}),e.React.createElement(k,{label:"Customization",subLabel:"Show customization for the plugin",leading:e.React.createElement(te,{style:{opacity:1},source:p.getAssetIDByName("ic_category_16px")}),trailing:e.React.createElement(ue,{value:(t.storage===null||t.storage===void 0||(a=t.storage.switches)===null||a===void 0?void 0:a.customizeable)??!1,onValueChange:function(o){return t.storage.switches.customizeable=o}})}),(t.storage===null||t.storage===void 0||(f=t.storage.switches)===null||f===void 0?void 0:f.customizeable)&&e.React.createElement(e.React.Fragment,null,e.React.createElement(Z,{title:"Patches"}),e.React.createElement(z,null)),(t.storage===null||t.storage===void 0||(c=t.storage.switches)===null||c===void 0?void 0:c.customizeable)&&e.React.createElement(e.React.Fragment,null,e.React.createElement(x,{style:[U.subText]},pt?.map(function(o,A){return e.React.createElement(e.React.Fragment,null,e.React.createElement(k,{label:o?.label,subLabel:o?.subLabel,leading:o?.icon&&e.React.createElement(te,{style:{opacity:1},source:p.getAssetIDByName(o?.icon)}),trailing:"id"in o?e.React.createElement(ue,{value:(t.storage===null||t.storage===void 0?void 0:t.storage.switches[o?.id])??o?.default,onValueChange:function(F){return t.storage.switches[o?.id]=F}}):void 0}),A!==pt?.length-1&&e.React.createElement(z,null))}))),(t.storage===null||t.storage===void 0||(h=t.storage.switches)===null||h===void 0?void 0:h.customizeable)&&e.React.createElement(e.React.Fragment,null,e.React.createElement(Z,{title:"Switches"}),e.React.createElement(z,null)),(t.storage===null||t.storage===void 0||(i=t.storage.switches)===null||i===void 0?void 0:i.customizeable)&&e.React.createElement(e.React.Fragment,null,e.React.createElement(x,{style:[U.subText]},St?.map(function(o,A){return e.React.createElement(e.React.Fragment,null,e.React.createElement(k,{label:o?.label,subLabel:o?.subLabel,leading:o?.icon&&e.React.createElement(te,{style:{opacity:1},source:p.getAssetIDByName(o?.icon)}),trailing:"id"in o?e.React.createElement(ue,{value:(t.storage===null||t.storage===void 0?void 0:t.storage.switches[o?.id])??o?.default,onValueChange:function(F){return t.storage.switches[o?.id]=F}}):void 0}),A!==St?.length-1&&e.React.createElement(z,null))}))),(t.storage===null||t.storage===void 0||(I=t.storage.switches)===null||I===void 0?void 0:I.customizeable)&&e.React.createElement(e.React.Fragment,null,e.React.createElement(Z,{title:"Text Variables"}),e.React.createElement(z,null)),(t.storage===null||t.storage===void 0||(m=t.storage.switches)===null||m===void 0?void 0:m.customizeable)&&e.React.createElement(e.React.Fragment,null,e.React.createElement(x,{style:[U.subText]},Ct?.map(function(o,A){return e.React.createElement(e.React.Fragment,null,e.React.createElement(ua,{title:o?.title,keyboardType:o?.type,placeholder:o?.placeholder,value:(t.storage===null||t.storage===void 0?void 0:t.storage.inputs[o.id])??o?.placeholder,onChange:function(F){return t.storage.inputs[o.id]=F.toString()}}),A!==Ct.length-1&&e.React.createElement(z,null))}))),(t.storage===null||t.storage===void 0||(C=t.storage.switches)===null||C===void 0?void 0:C.customizeable)&&e.React.createElement(e.React.Fragment,null,e.React.createElement(Z,{title:"Color Pickers"}),e.React.createElement(z,null)),(t.storage===null||t.storage===void 0||(S=t.storage.switches)===null||S===void 0?void 0:S.customizeable)&&e.React.createElement(e.React.Fragment,null,e.React.createElement(x,{style:[U.subText]},_t?.map(function(o){var A;const F=function(){var M;return st(sa,{color:dt==null||(M=ie)===null||M===void 0?void 0:M.toInt(t.storage.colors[o.id]||o?.defaultColor||"#000"),onSelect:function($){var w;const V=dt==null||(w=ie)===null||w===void 0?void 0:w.toHex($);t.storage.colors[o.id]=V}})};return e.React.createElement(e.React.Fragment,null,e.React.createElement(k,{label:o?.label,subLabel:o?.subLabel||"Click to Update",onPress:F,trailing:e.React.createElement(mt,{onPress:F},e.React.createElement(da,{source:{uri:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mJsrQAAAgwBAJ9P6qYAAAAASUVORK5CYII="},style:{width:32,height:32,borderRadius:10,backgroundColor:(t.storage===null||t.storage===void 0?void 0:t.storage.colors[o.id])||((A=_t.find(function(M){return M?.id==o?.id}))===null||A===void 0?void 0:A.defaultColor)||"#000"}}))}))}))),(t.storage===null||t.storage===void 0||(u=t.storage.switches)===null||u===void 0?void 0:u.customizeable)&&e.React.createElement(e.React.Fragment,null,e.React.createElement(x,{style:[U.subText]},e.React.createElement(x,{style:U.container},e.React.createElement(k,{style:{justifyContent:"center",alignItems:"center"},label:`Preview Style: ${!(t.storage===null||t.storage===void 0||(R=t.storage.switches)===null||R===void 0)&&R.darkMode?"Light":"Dark"} Mode`,subLabel:"Click to Switch Mode",trailing:e.React.createElement(ue,{value:(t.storage===null||t.storage===void 0||(E=t.storage.switches)===null||E===void 0?void 0:E.darkMode)??!0,onValueChange:function(o){return t.storage.switches.darkMode=o}})}),e.React.createElement(x,{style:[U.row,U.border,{overflow:"hidden",marginRight:10}]},e.React.createElement(x,{style:{width:"2%",backgroundColor:`${t.storage.colors.gutterColor}${ge(O.toPercentage(b))}`}}),e.React.createElement(x,{style:{flex:1,backgroundColor:`${t.storage.colors.backgroundColor}${ge(O.toPercentage(d))}`,justifyContent:"center",alignItems:"center"}},e.React.createElement(yt,{style:{fontSize:20,color:!(t.storage===null||t.storage===void 0||(s=t.storage.switches)===null||s===void 0)&&s.darkMode?"black":"white"}}," Low Effort Normal Example Message "),e.React.createElement(yt,{style:{fontSize:20,color:t.storage.colors.textColor||"#000000"}}," Low Effort Deleted Example Message "))),e.React.createElement(bt,{label:`Background Color Alpha: ${O.toPercentage(d)}%`,value:d,style:{width:"90%"},onValueChange:function(o){l(Number(O.formatDecimal(o))),t.storage.colors.backgroundColorAlpha=ge(O.toPercentage(o))}}),e.React.createElement(z,null),e.React.createElement(bt,{label:`Background Gutter Alpha: ${O.toPercentage(b)}%`,value:b,style:{width:"90%"},onValueChange:function(o){y(Number(O.formatDecimal(o))),t.storage.colors.gutterColorAlpha=ge(O.toPercentage(o))}}))))),e.React.createElement(Z,{title:"Ignore List Setting",style:[U.header]},e.React.createElement(k,{label:"Add User to List",subLabel:"List of ignored users for the plugin",leading:e.React.createElement(te,{style:{opacity:1},source:p.getAssetIDByName("ic_members")}),onPress:D,trailing:e.React.createElement(mt,{onPress:D},e.React.createElement(te,{style:{opacity:1},source:ga}))}),e.React.createElement(z,null))))}v.findByProps("openLazy","hideActionSheet");const W=v.findByProps("getChannel","getDMFromUserId"),ha=v.findByProps("_channelMessages"),va=v.findByProps("getMessage","getMessages");function Ea(n){return B.before("dispatch",e.FluxDispatcher,function(r){const[a]=r,f=a?.type;if(f=="MESSAGE_DELETE"){var c,h,i,I,m,C,S,u,R,E,s,d,l,b,y,_,D,o,A,F;if(t.storage.switches.enableMD==!1||a?.otherPluginBypass)return r;const T=ha.get(a.channelId),g=T?.get(a.id);if(!g||a?.id&&((c=n[a?.id])===null||c===void 0?void 0:c.stage)==2)return r;if(a?.id&&((h=n[a?.id])===null||h===void 0?void 0:h.stage)==1){var M;return n[a?.id].stage=2,((M=n[a?.id])===null||M===void 0?void 0:M.message)??r}const lt=g==null||(i=g.author)===null||i===void 0?void 0:i.id,ot=g==null||(I=g.author)===null||I===void 0?void 0:I.username,ee=!g?.content&&(g==null||(m=g.attachments)===null||m===void 0?void 0:m.length)==0&&(g==null||(C=g.embeds)===null||C===void 0?void 0:C.length)==0;return!lt||!ot||ee||!(t.storage===null||t.storage===void 0||(S=t.storage.switches)===null||S===void 0)&&S.ignoreBots&&!(g==null||(u=g.author)===null||u===void 0)&&u.bot||(t.storage===null||t.storage===void 0||(E=t.storage.inputs)===null||E===void 0||(R=E.ignoredUserList)===null||R===void 0?void 0:R.length)>0&&!((s=t.storage.inputs.ignoredUserList)===null||s===void 0)&&s.some(function(fe){var K;return fe?.id==(g==null||(K=g.author)===null||K===void 0?void 0:K.id)||fe.username==g.author.username})||(r[0]={type:"MESSAGE_UPDATE",channelId:g?.channel_id||a?.channelId,message:{...g,content:g?.content,type:0,flags:64,channel_id:g?.channel_id||a?.channelId,guild_id:W==null||(d=W.getChannel(g?.channel_id))===null||d===void 0?void 0:d.guild_id,timestamp:`${new Date().toJSON()}`,state:"SENT",was_deleted:!0},optimistic:!1,sendMessageOptions:{},isPushNotification:!1},n[a?.id||g?.id]={message:r,stage:1},t.storage.log.push({type:"MessageDelete",author:{id:g==null||(l=g.author)===null||l===void 0?void 0:l.id,username:`${(g==null||(b=g.author)===null||b===void 0?void 0:b.discriminator)=="0"?`@${g==null||(y=g.author)===null||y===void 0?void 0:y.username}`:`${g==null||(_=g.author)===null||_===void 0?void 0:_.username}#${g==null||(D=g.author)===null||D===void 0?void 0:D.discriminator}`}`,avatar:g==null||(o=g.author)===null||o===void 0?void 0:o.avatar,bot:g==null||(A=g.author)===null||A===void 0?void 0:A.bot},content:g?.content,where:{channel:g?.channel_id||a?.channelId,guild:W==null||(F=W.getChannel(g?.channel_id))===null||F===void 0?void 0:F.guild_id,messageLink:g?.id}})),r}if(f=="MESSAGE_UPDATE"){var $,w,V,j,J,ae,G,ne,De,Te,Ne,Fe,Le,Pe,Be,Me,$e,xe,Ue,Oe,ke,ze,Ve,Ge,He,Ye,Xe,We,je,Je,Ke,Qe,qe,Ze,et,tt,at;if(t.storage.switches.enableMU==!1||a?.otherPluginBypass||!(a==null||(w=a.message)===null||w===void 0||($=w.author)===null||$===void 0)&&$.bot)return r;const T=va.getMessage((a==null||(V=a.message)===null||V===void 0?void 0:V.channel_id)||a?.channelId,(a==null||(j=a.message)===null||j===void 0?void 0:j.id)||a?.id),g=T==null||(J=T.author)===null||J===void 0?void 0:J.id,lt=T==null||(ae=T.author)===null||ae===void 0?void 0:ae.username,ot=!T?.content&&(T==null||(G=T.attachments)===null||G===void 0?void 0:G.length)==0&&(T==null||(ne=T.embeds)===null||ne===void 0?void 0:ne.length)==0;if(!T||!g||!lt||ot||!(!(a==null||(De=a.message)===null||De===void 0)&&De.content)||!T?.content||(a==null||(Te=a.message)===null||Te===void 0?void 0:Te.content)==T?.content||(t.storage===null||t.storage===void 0||(Fe=t.storage.inputs)===null||Fe===void 0||(Ne=Fe.ignoredUserList)===null||Ne===void 0?void 0:Ne.length)>0&&!(t.storage===null||t.storage===void 0||(Pe=t.storage.inputs)===null||Pe===void 0||(Le=Pe.ignoredUserList)===null||Le===void 0)&&Le.some(function(he){var re,it;return he?.id==(T==null||(re=T.author)===null||re===void 0?void 0:re.id)||he?.username==(T==null||(it=T.author)===null||it===void 0?void 0:it.username)}))return r;let ee=(t.storage===null||t.storage===void 0||(Be=t.storage.inputs)===null||Be===void 0?void 0:Be.editedMessageBuffer)||"`[ EDITED ]`";ee=ee+` `;const fe=a?.message||T;let K=`${T?.content}`;if(!(t.storage===null||t.storage===void 0||(Me=t.storage.switches)===null||Me===void 0)&&Me.addTimestampForEdits){var nt;const he=Date.now(),re=``;K+=` (${re}) ${ee}${(a==null||(nt=a.message)===null||nt===void 0?void 0:nt.content)??""}`}else{var rt;K+=` ${ee}${(a==null||(rt=a.message)===null||rt===void 0?void 0:rt.content)??""}`}return r[0]={type:"MESSAGE_UPDATE",message:{...fe,content:K,guild_id:($e=W.getChannel(a?.channelId||(a==null||(xe=a.message)===null||xe===void 0?void 0:xe.channel_id)||T?.channel_id))===null||$e===void 0?void 0:$e.guild_id,edited_timestamp:"invalid_timestamp"}},t.storage.log.push({type:"MessageUpdate",author:{id:a==null||(Oe=a.message)===null||Oe===void 0||(Ue=Oe.author)===null||Ue===void 0?void 0:Ue.id,username:`${(a==null||(ze=a.message)===null||ze===void 0||(ke=ze.author)===null||ke===void 0?void 0:ke.discriminator)=="0"?`@${a==null||(Ge=a.message)===null||Ge===void 0||(Ve=Ge.author)===null||Ve===void 0?void 0:Ve.username}`:`${a==null||(Ye=a.message)===null||Ye===void 0||(He=Ye.author)===null||He===void 0?void 0:He.username}#${a==null||(We=a.message)===null||We===void 0||(Xe=We.author)===null||Xe===void 0?void 0:Xe.discriminator}`}`,avatar:a==null||(Je=a.message)===null||Je===void 0||(je=Je.author)===null||je===void 0?void 0:je.avatar,bot:a==null||(Qe=a.message)===null||Qe===void 0||(Ke=Qe.author)===null||Ke===void 0?void 0:Ke.bot},content:T?.content,edited:a==null||(qe=a.message)===null||qe===void 0?void 0:qe.content,where:{channel:a?.channelId||(a==null||(Ze=a.message)===null||Ze===void 0?void 0:Ze.channel_id)||T?.channel_id,guild:W==null||(et=W.getChannel(a?.channelId||(a==null||(tt=a.message)===null||tt===void 0?void 0:tt.channel_id)||T?.channel_id))===null||et===void 0?void 0:et.guild_id,messageLink:a==null||(at=a.message)===null||at===void 0?void 0:at.id}}),r}return r})}const Ra=v.findByProps("startEditMessage");function ya(){return B.before("startEditMessage",Ra,function(n){var r;let a=(t.storage===null||t.storage===void 0||(r=t.storage.inputs)===null||r===void 0?void 0:r.editedMessageBuffer)||"`[ EDITED ]`";a=a+` -`;const[f,c,h]=n,i=h.split(a);return n[2]=i[i.length-1],n})}const{DCDChatManager:ma}=e.ReactNative.NativeModules;function ba(n){return B.before("updateRows",ma,function(r){var a;let f=JSON.parse(r[1]);const{textColor:c,backgroundColor:h,backgroundColorAlpha:i,gutterColor:I,gutterColorAlpha:m}=t.storage.colors,C=(a=t.storage.inputs)===null||a===void 0?void 0:a.deletedMessageBuffer,{useBackgroundColor:S,minimalistic:u,removeDismissButton:R}=t.storage.switches;function E(l,b){l||(l=b);const y=l?.trim();if(y.startsWith("#")){const _=y.slice(1);if(/^[0-9A-Fa-f]{6}$/.test(_))return"#"+_.toUpperCase()}else if(/^[0-9A-Fa-f]{6}$/.test(y))return"#"+y.toUpperCase();return b||"#000"}function s(l,b){const y=b?.toString(),_=["text","heading","s","u","em","strong","list","blockQuote"];if(Array.isArray(l))return l.map(function(D){return s(D,y)});if(typeof l=="object"&&l!==null){const{content:D,type:o,target:A,items:F}=l;if(!_.includes(o))return l;if(o==="text"&&D&&D.length>=1)return{content:[{content:D,type:"text"}],target:"usernameOnClick",type:"link",context:{username:1,medium:!0,usernameOnClick:{action:"0",userId:"0",linkColor:e.ReactNative.processColor(y),messageChannelId:"0"}}};const M=s(D,y),$=F?F.map(s,y):void 0;if(M!==D||$!==F||!_.includes(o)){const w={...l,content:M};return o==="blockQuote"&&A&&(w.content=M,w.target=A),o==="list"&&w?.content&&delete w.content,F&&(w.items=$),w}}return l}function d(l,b,y){return l&&(b!=null&&(l.content[0].content[0].content=b+" "),y==null&&l.content[0].content.splice(1)),l}return f.forEach(function(l){if(l?.type==1){var b;if(n[l==null||(b=l.message)===null||b===void 0?void 0:b.id]){if((C?.length>0||C!="")&&(l.message.edited=C),u==!1){var y;const _=E(c,"#E40303"),D=s(l==null||(y=l.message)===null||y===void 0?void 0:y.content,_);l.message.content=D}if(R&&(l.message.ephemeralIndication=d(l.message.ephemeralIndication,void 0,void 0)),u==!1&&S==!0){const _=E(`${h}`,"#FF2C2F"),D=E(`${I}`,"#FF2C2F");l.backgroundHighlight??={},l.backgroundHighlight={backgroundColor:e.ReactNative.processColor(`${_}${i}`),gutterColor:e.ReactNative.processColor(`${D}${m}`)}}}}}),r[1]=JSON.stringify(f),r[1]})}const pa=v.findByProps("updateMessageRecord","createMessageRecord");function Sa(){return B.after("createMessageRecord",pa,function(n,r){let[a]=n;r.was_deleted=a.was_deleted})}const _a=v.findByName("MessageRecord",!1);function Ca(){return B.after("default",_a,function(n,r){let[a]=n;r.was_deleted=!!a.was_deleted})}const At=v.findByProps("updateMessageRecord","createMessageRecord");function Ia(){return B.instead("updateMessageRecord",At,function(n,r){let[a,f]=n;return f.was_deleted?At.createMessageRecord(f,a.reactions):r.apply(this,[a,f])})}const{FormSection:Aa}=L.Forms,wa=v.findByName("getScreens"),Da=v.findByName("UserSettingsOverviewWrapper",!1),Ta=e.stylesheet.createThemedStyleSheet({container:{flex:1,backgroundColor:N.semanticColors.BACKGROUND_MOBILE_PRIMARY}});function wt(n,r,a){const f=[],c=B.after("default",Da,function(h,i){c();const I=oe.findInReactTree(i.props.children,function(m){return m.type&&m.type.name==="UserSettingsOverview"});f.push(B.after("render",I.type.prototype,function(m,C){let{props:{children:S}}=C;const u=[e.i18n.Messages.BILLING_SETTINGS,e.i18n.Messages.PREMIUM_SETTINGS];S=oe.findInReactTree(S,function(E){return E.children[1].type===Aa}).children;const R=S.findIndex(function(E){return u.includes(E?.props.label)});n()&&S.splice(R===-1?4:R,0,r({}))}))},!0);if(f.push(c),wa&&a){const h=`VENDETTA_PLUGIN_${e.lodash.snakeCase(a.key).toUpperCase()}`,i=a.page.render,I=e.React.memo(function(u){let{navigation:R}=u;const E=R.addListener("focus",function(){E(),R.setOptions(oe.without(a.page,"noErrorBoundary","render"))});return e.React.createElement(e.ReactNative.View,{style:Ta.container},a.page.noErrorBoundary?e.React.createElement(i,null):e.React.createElement(L.ErrorBoundary,null,e.React.createElement(i,null)))}),m={[h]:{type:"route",title:function(){return a.title},icon:a.icon,parent:null,screen:{route:`VendettaPlugin${e.lodash.chain(a.key).camelCase().upperFirst().value()}`,getComponent:function(){return I}}}},C=function(u,R){var E,s;const d=[...u],l=R?d==null||(E=d[0])===null||E===void 0?void 0:E.sections:d;if(!Array.isArray(l))return l;const b="Vendetta",y=l.find(function(_){return _?.title===b||_?.label===b});return y&&!(!(y==null||(s=y.settings)===null||s===void 0)&&s.includes(h))&&y.settings.push(h),d},S=function(){const u=v.findByProps("useOverviewSettings"),R=v.findByProps("getSettingTitleConfig"),E=v.findByProps("SETTING_RELATIONSHIPS","SETTING_RENDERER_CONFIGS"),s="getSettingSearchListItems",d="getSettingListItems",l=v.findByProps(s),b=l?s:d,y=l??v.findByProps(d);if(!y||!u)return!1;f.push(B.after("useOverviewSettings",u,function(o,A){return C(A)})),f.push(B.after("getSettingTitleConfig",R,function(o,A){return{...A,[h]:a.title}})),f.push(B.after(b,y,function(o,A){let[F]=o;return[...F.includes(h)?[{type:"setting_search_result",ancestorRendererData:m[h],setting:h,title:function(){return a.title},breadcrumbs:["Vendetta"],icon:m[h].icon}]:[],...A]}));const _=E.SETTING_RELATIONSHIPS,D=E.SETTING_RENDERER_CONFIGS;return E.SETTING_RELATIONSHIPS={..._,[h]:null},E.SETTING_RENDERER_CONFIGS={...D,...m},f.push(function(){E.SETTING_RELATIONSHIPS=_,E.SETTING_RENDERER_CONFIGS=_}),!0};(function(){const u=v.findByProps("SearchableSettingsList"),R=v.findByProps("SETTING_RENDERER_CONFIG"),E=v.findByProps("getSettingListItems");if(!E||!u||!R)return!1;f.push(B.before("type",u.SearchableSettingsList,function(d){return C(d,!0)})),f.push(B.after("getSettingListSearchResultItems",E,function(d,l){for(const b of l)b.setting===h&&(b.breadcrumbs=["Vendetta"])}));const s=R.SETTING_RENDERER_CONFIG;return R.SETTING_RENDERER_CONFIG={...s,...m},f.push(function(){R.SETTING_RENDERER_CONFIG=s}),!0})()||S()}return function(){return f.forEach(function(h){return h()})}}const{FormRow:Ae}=L.Forms;function Na(){const n=e.NavigationNative.useNavigation();return React.createElement(L.ErrorBoundary,null,React.createElement(Ae,{label:"Antied",leading:React.createElement(Ae.Icon,{source:p.getAssetIDByName("ic_edit_24px")}),trailing:Ae.Arrow,onPress:function(){return n.push("VendettaCustomPage",{title:"Anti Edit & Delete Setting",render:Ie})}}))}const{FormRow:we}=L.Forms;function Fa(){const n=e.NavigationNative.useNavigation();return React.createElement(L.ErrorBoundary,null,React.createElement(we,{label:"Anti Edit & Delete Logs",leading:React.createElement(we.Icon,{source:p.getAssetIDByName("ic_edit_24px")}),trailing:we.Arrow,onPress:function(){return n.push("VendettaCustomPage",{title:"Anti Edit & Delete Logs",render:Ce})}}))}function Pa(){const n=[];return n.push(wt(function(){return!0},function(){return React.createElement(Na,null)},{key:Ee.plugin.manifest.name,icon:p.getAssetIDByName("ic_edit_24px"),title:"Anti Edit & Delete",page:{title:"Anti Edit & Delete",render:Ie}}),wt(function(){return!0},function(){return React.createElement(Fa,null)},{key:Ee.plugin.manifest.name,icon:p.getAssetIDByName("ic_message_delete"),title:"Anti Edit & Delete Logs",page:{title:"Anti Edit & Delete Logs",render:Ce}})),function(){return n.forEach(function(r){return r()})}}const Dt=v.findByProps("openLazy","hideActionSheet"),La=v.findByProps("getMessage","getMessages"),Ba=v.findByProps("getChannel","getDMFromUserId"),Tt=v.findByProps("_channelMessages"),{FormRow:Ma,FormIcon:$a}=L.Forms;Re(t.storage,{switches:{customizeable:!1,enableMD:!0,enableMU:!0,useBackgroundColor:!1,ignoreBots:!1,minimalistic:!0,alwaysAdd:!1,darkMode:!0,removeDismissButton:!1,addTimestampForEdits:!1,timestampStyle:"R"},colors:{textColor:"#E40303",backgroundColor:"#FF2C2F",backgroundColorAlpha:"33",gutterColor:"#FF2C2F",gutterColorAlpha:"CC"},inputs:{deletedMessageBuffer:"This message is deleted",editedMessageBuffer:"`[ EDITED ]`",historyToast:"History Removed",ignoredUserList:[]},log:[],logCount:1e3,logWarning:!1});let Nt=[],Ft={};var xa={onLoad:function(){Nt.push(Pa(),Ea(Ft),ba(Ft),ya(),Sa(),Ca(),Ia(),B.before("openLazy",Dt,function(n){let[r,a,f]=n;const c=f?.message;a!=="MessageLongPressActionSheet"||!c||r.then(function(h){const i=B.after("default",h,function(I,m){var C;e.React.useEffect(function(){return function(){i()}},[]);const S=oe.findInReactTree(m,function(s){var d,l;return(s==null||(l=s[0])===null||l===void 0||(d=l.type)===null||d===void 0?void 0:d.name)==="ButtonRow"});if(!S)return m;const u=Math.max(S.findIndex(function(s){var d,l;return(s==null||(d=s.props)===null||d===void 0?void 0:d.message)===(e.i18n===null||e.i18n===void 0||(l=e.i18n.Messages)===null||l===void 0?void 0:l.MESSAGE_ACTION_REPLY)}),0),R=La.getMessage(c.channel_id,c?.id),E=function(s){return s.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}((t.storage===null||t.storage===void 0||(C=t.storage.inputs)===null||C===void 0?void 0:C.editedMessageBuffer)||"`[ EDITED ]`");if(new RegExp(E,"gmi").test(c.content)){const s=u||1;S.splice(s,0,e.React.createElement(Ma,{label:"Remove Edit History",leading:e.React.createElement($a,{style:{opacity:1},source:p.getAssetIDByName("ic_edit_24px")}),onPress:function(){var d,l,b,y,_,D;let o=(t.storage===null||t.storage===void 0||(d=t.storage.inputs)===null||d===void 0?void 0:d.editedMessageBuffer)||"`[ EDITED ]`";o=o+` +`;const[f,c,h]=n,i=h.split(a);return n[2]=i[i.length-1],n})}const{DCDChatManager:ma}=e.ReactNative.NativeModules;function ba(n){return B.before("updateRows",ma,function(r){var a;let f=JSON.parse(r[1]);const{textColor:c,backgroundColor:h,backgroundColorAlpha:i,gutterColor:I,gutterColorAlpha:m}=t.storage.colors,C=(a=t.storage.inputs)===null||a===void 0?void 0:a.deletedMessageBuffer,{useBackgroundColor:S,minimalistic:u,removeDismissButton:R}=t.storage.switches;function E(l,b){l||(l=b);const y=l?.trim();if(y.startsWith("#")){const _=y.slice(1);if(/^[0-9A-Fa-f]{6}$/.test(_))return"#"+_.toUpperCase()}else if(/^[0-9A-Fa-f]{6}$/.test(y))return"#"+y.toUpperCase();return b||"#000"}function s(l,b){const y=b?.toString(),_=["text","heading","s","u","em","strong","list","blockQuote"];if(Array.isArray(l))return l.map(function(D){return s(D,y)});if(typeof l=="object"&&l!==null){const{content:D,type:o,target:A,items:F}=l;if(!_.includes(o))return l;if(o==="text"&&D&&D.length>=1)return{content:[{content:D,type:"text"}],target:"usernameOnClick",type:"link",context:{username:1,medium:!0,usernameOnClick:{action:"0",userId:"0",linkColor:e.ReactNative.processColor(y),messageChannelId:"0"}}};const M=s(D,y),$=F?F.map(s,y):void 0;if(M!==D||$!==F||!_.includes(o)){const w={...l,content:M};return o==="blockQuote"&&A&&(w.content=M,w.target=A),o==="list"&&w?.content&&delete w.content,F&&(w.items=$),w}}return l}function d(l,b,y){return l&&(b!=null&&(l.content[0].content[0].content=b+" "),y==null&&l.content[0].content.splice(1)),l}return f.forEach(function(l){if(l?.type==1){var b;if(n[l==null||(b=l.message)===null||b===void 0?void 0:b.id]){if((C?.length>0||C!="")&&(l.message.edited=C),u==!1){var y;const _=E(c,"#E40303"),D=s(l==null||(y=l.message)===null||y===void 0?void 0:y.content,_);l.message.content=D}if(R&&(l.message.ephemeralIndication=d(l.message.ephemeralIndication,void 0,void 0)),u==!1&&S==!0){const _=E(`${h}`,"#FF2C2F"),D=E(`${I}`,"#FF2C2F");l.backgroundHighlight??={},l.backgroundHighlight={backgroundColor:e.ReactNative.processColor(`${_}${i}`),gutterColor:e.ReactNative.processColor(`${D}${m}`)}}}}}),r[1]=JSON.stringify(f),r[1]})}const pa=v.findByProps("updateMessageRecord","createMessageRecord");function Sa(){return B.after("createMessageRecord",pa,function(n,r){let[a]=n;r.was_deleted=a.was_deleted})}const _a=v.findByName("MessageRecord",!1);function Ca(){return B.after("default",_a,function(n,r){let[a]=n;r.was_deleted=!!a.was_deleted})}const At=v.findByProps("updateMessageRecord","createMessageRecord");function Ia(){return B.instead("updateMessageRecord",At,function(n,r){let[a,f]=n;return f.was_deleted?At.createMessageRecord(f,a.reactions):r.apply(this,[a,f])})}const{FormSection:Aa}=P.Forms,wa=v.findByName("getScreens"),Da=v.findByName("UserSettingsOverviewWrapper",!1),Ta=e.stylesheet.createThemedStyleSheet({container:{flex:1,backgroundColor:N.semanticColors.BACKGROUND_MOBILE_PRIMARY}});function wt(n,r,a){const f=[],c=B.after("default",Da,function(h,i){c();const I=oe.findInReactTree(i.props.children,function(m){return m.type&&m.type.name==="UserSettingsOverview"});f.push(B.after("render",I.type.prototype,function(m,C){let{props:{children:S}}=C;const u=[e.i18n.Messages.BILLING_SETTINGS,e.i18n.Messages.PREMIUM_SETTINGS];S=oe.findInReactTree(S,function(E){return E.children[1].type===Aa}).children;const R=S.findIndex(function(E){return u.includes(E?.props.label)});n()&&S.splice(R===-1?4:R,0,r({}))}))},!0);if(f.push(c),wa&&a){const h=`VENDETTA_PLUGIN_${e.lodash.snakeCase(a.key).toUpperCase()}`,i=a.page.render,I=e.React.memo(function(u){let{navigation:R}=u;const E=R.addListener("focus",function(){E(),R.setOptions(oe.without(a.page,"noErrorBoundary","render"))});return e.React.createElement(e.ReactNative.View,{style:Ta.container},a.page.noErrorBoundary?e.React.createElement(i,null):e.React.createElement(P.ErrorBoundary,null,e.React.createElement(i,null)))}),m={[h]:{type:"route",title:function(){return a.title},icon:a.icon,parent:null,screen:{route:`VendettaPlugin${e.lodash.chain(a.key).camelCase().upperFirst().value()}`,getComponent:function(){return I}}}},C=function(u,R){var E,s;const d=[...u],l=R?d==null||(E=d[0])===null||E===void 0?void 0:E.sections:d;if(!Array.isArray(l))return l;const b="Vendetta",y=l.find(function(_){return _?.title===b||_?.label===b});return y&&!(!(y==null||(s=y.settings)===null||s===void 0)&&s.includes(h))&&y.settings.push(h),d},S=function(){const u=v.findByProps("useOverviewSettings"),R=v.findByProps("getSettingTitleConfig"),E=v.findByProps("SETTING_RELATIONSHIPS","SETTING_RENDERER_CONFIGS"),s="getSettingSearchListItems",d="getSettingListItems",l=v.findByProps(s),b=l?s:d,y=l??v.findByProps(d);if(!y||!u)return!1;f.push(B.after("useOverviewSettings",u,function(o,A){return C(A)})),f.push(B.after("getSettingTitleConfig",R,function(o,A){return{...A,[h]:a.title}})),f.push(B.after(b,y,function(o,A){let[F]=o;return[...F.includes(h)?[{type:"setting_search_result",ancestorRendererData:m[h],setting:h,title:function(){return a.title},breadcrumbs:["Vendetta"],icon:m[h].icon}]:[],...A]}));const _=E.SETTING_RELATIONSHIPS,D=E.SETTING_RENDERER_CONFIGS;return E.SETTING_RELATIONSHIPS={..._,[h]:null},E.SETTING_RENDERER_CONFIGS={...D,...m},f.push(function(){E.SETTING_RELATIONSHIPS=_,E.SETTING_RENDERER_CONFIGS=_}),!0};(function(){const u=v.findByProps("SearchableSettingsList"),R=v.findByProps("SETTING_RENDERER_CONFIG"),E=v.findByProps("getSettingListItems");if(!E||!u||!R)return!1;f.push(B.before("type",u.SearchableSettingsList,function(d){return C(d,!0)})),f.push(B.after("getSettingListSearchResultItems",E,function(d,l){for(const b of l)b.setting===h&&(b.breadcrumbs=["Vendetta"])}));const s=R.SETTING_RENDERER_CONFIG;return R.SETTING_RENDERER_CONFIG={...s,...m},f.push(function(){R.SETTING_RENDERER_CONFIG=s}),!0})()||S()}return function(){return f.forEach(function(h){return h()})}}const{FormRow:Ae}=P.Forms;function Na(){const n=e.NavigationNative.useNavigation();return React.createElement(P.ErrorBoundary,null,React.createElement(Ae,{label:"Antied",leading:React.createElement(Ae.Icon,{source:p.getAssetIDByName("ic_edit_24px")}),trailing:Ae.Arrow,onPress:function(){return n.push("VendettaCustomPage",{title:"Anti Edit & Delete Setting",render:Ie})}}))}const{FormRow:we}=P.Forms;function Fa(){const n=e.NavigationNative.useNavigation();return React.createElement(P.ErrorBoundary,null,React.createElement(we,{label:"Anti Edit & Delete Logs",leading:React.createElement(we.Icon,{source:p.getAssetIDByName("ic_edit_24px")}),trailing:we.Arrow,onPress:function(){return n.push("VendettaCustomPage",{title:"Anti Edit & Delete Logs",render:Ce})}}))}function La(){const n=[];return n.push(wt(function(){return!0},function(){return React.createElement(Na,null)},{key:Ee.plugin.manifest.name,icon:p.getAssetIDByName("ic_edit_24px"),title:"Anti Edit & Delete",page:{title:"Anti Edit & Delete",render:Ie}}),wt(function(){return!0},function(){return React.createElement(Fa,null)},{key:Ee.plugin.manifest.name,icon:p.getAssetIDByName("ic_message_delete"),title:"Anti Edit & Delete Logs",page:{title:"Anti Edit & Delete Logs",render:Ce}})),function(){return n.forEach(function(r){return r()})}}const Dt=v.findByProps("openLazy","hideActionSheet"),Pa=v.findByProps("getMessage","getMessages"),Ba=v.findByProps("getChannel","getDMFromUserId"),Tt=v.findByProps("_channelMessages"),{FormRow:Ma,FormIcon:$a}=P.Forms;Re(t.storage,{switches:{customizeable:!1,enableMD:!0,enableMU:!0,useBackgroundColor:!1,ignoreBots:!1,minimalistic:!0,alwaysAdd:!1,darkMode:!0,removeDismissButton:!1,addTimestampForEdits:!1,timestampStyle:"R"},colors:{textColor:"#E40303",backgroundColor:"#FF2C2F",backgroundColorAlpha:"33",gutterColor:"#FF2C2F",gutterColorAlpha:"CC"},inputs:{deletedMessageBuffer:"This message is deleted",editedMessageBuffer:"`[ EDITED ]`",historyToast:"History Removed",logLength:60,ignoredUserList:[]},log:[],logCount:1e3,logWarning:!1});let Nt=[],Ft={};var xa={onLoad:function(){Nt.push(La(),Ea(Ft),ba(Ft),ya(),Sa(),Ca(),Ia(),B.before("openLazy",Dt,function(n){let[r,a,f]=n;const c=f?.message;a!=="MessageLongPressActionSheet"||!c||r.then(function(h){const i=B.after("default",h,function(I,m){var C;e.React.useEffect(function(){return function(){i()}},[]);const S=oe.findInReactTree(m,function(s){var d,l;return(s==null||(l=s[0])===null||l===void 0||(d=l.type)===null||d===void 0?void 0:d.name)==="ButtonRow"});if(!S)return m;const u=Math.max(S.findIndex(function(s){var d,l;return(s==null||(d=s.props)===null||d===void 0?void 0:d.message)===(e.i18n===null||e.i18n===void 0||(l=e.i18n.Messages)===null||l===void 0?void 0:l.MESSAGE_ACTION_REPLY)}),0),R=Pa.getMessage(c.channel_id,c?.id),E=function(s){return s.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}((t.storage===null||t.storage===void 0||(C=t.storage.inputs)===null||C===void 0?void 0:C.editedMessageBuffer)||"`[ EDITED ]`");if(new RegExp(E,"gmi").test(c.content)){const s=u||1;S.splice(s,0,e.React.createElement(Ma,{label:"Remove Edit History",leading:e.React.createElement($a,{style:{opacity:1},source:p.getAssetIDByName("ic_edit_24px")}),onPress:function(){var d,l,b,y,_,D;let o=(t.storage===null||t.storage===void 0||(d=t.storage.inputs)===null||d===void 0?void 0:d.editedMessageBuffer)||"`[ EDITED ]`";o=o+` `;const A=c==null||(l=c.content)===null||l===void 0?void 0:l.split(o),F=A[A.length-1],M=c==null||(b=c.embeds)===null||b===void 0?void 0:b.map(function(w){var V,j,J;const ae=w==null||(J=w.color)===null||J===void 0||(j=J.replace(/.+\(/,""))===null||j===void 0||(V=j.replace(/\%/g,""))===null||V===void 0?void 0:V.replace(")",""),G=ae?.split(", "),ne=e.ReactNative.processColor(`${ct(ie.HSLtoHEX(G[0],G[1],G[2]),G[3])}`);return{...w,author:w.author,title:w.rawTitle,description:w.rawDescription,url:w.url,type:w.type,image:w.image,thumbnail:w.thumbnail,color:ne,content_scan_version:1}});if(e.FluxDispatcher.dispatch({type:"MESSAGE_UPDATE",message:{...c,content:`${F}`,embeds:M??[],attachments:c.attachments??[],mentions:c.mentions??[],guild_id:Ba.getChannel(R.channel_id).guild_id},otherPluginBypass:!0}),Dt.hideActionSheet(),(t.storage===null||t.storage===void 0||(_=t.storage.inputs)===null||_===void 0||(y=_.historyToast)===null||y===void 0?void 0:y.length)>0||(t.storage===null||t.storage===void 0||(D=t.storage.inputs)===null||D===void 0?void 0:D.historyToast)!=""){var $;H.showToast(`[ANTI ED] ${t.storage===null||t.storage===void 0||($=t.storage.inputs)===null||$===void 0?void 0:$.historyToast}`,p.getAssetIDByName("ic_edit_24px"))}}}))}})})}))},onUnload:function(){for(const n of Nt)n();for(const n in Tt._channelMessages)for(const r of Tt._channelMessages[n]._array)r.was_deleted&&e.FluxDispatcher.dispatch({type:"MESSAGE_DELETE",id:r.id,channelId:r.channel_id,otherPluginBypass:!0})},settings:Ie};return ve.default=xa,Object.defineProperty(ve,"__esModule",{value:!0}),ve})({},vendetta,vendetta.metro,vendetta.plugin,vendetta.storage,vendetta.ui.components,vendetta.ui.assets,vendetta.metro.common,vendetta.ui,vendetta.ui.toasts,vendetta.ui.alerts,vendetta.patcher,vendetta.utils); diff --git a/antied/manifest.json b/antied/manifest.json index db357c5..0009437 100644 --- a/antied/manifest.json +++ b/antied/manifest.json @@ -1 +1 @@ -{"name":"Anti [Edit|Delete] v1.0.0","description":"Keeps deleted messages and logs edited messages, until you restart/reloads the app","authors":[{"name":"Angelica","id":"692632336961110087"}],"main":"index.js","vendetta":{"icon":"ic_edit_24px"},"hash":"0e8e77e9ddbce357b0fe714dfaa81ccb46be4239e4a55e67f11390aabd857c91"} \ No newline at end of file +{"name":"Anti [Edit|Delete] v1.0.0","description":"Keeps deleted messages and logs edited messages, until you restart/reloads the app","authors":[{"name":"Angelica","id":"692632336961110087"}],"main":"index.js","vendetta":{"icon":"ic_edit_24px"},"hash":"0ce12cfe3b47ecdfd42c8e451bf5f7dd916a026932f24cf06fa39500078efc27"} \ No newline at end of file