From e7993277e4b46f6a8c8cabbd406ebeb590a6017c Mon Sep 17 00:00:00 2001 From: kmmiio99o Date: Wed, 8 Oct 2025 09:49:54 +0000 Subject: [PATCH] deploy: d08ef48e472d92d7d46756556eb79f4b3f00ba17 --- BetterBetterChatGesturesV3/index.js | 1 - BetterBetterChatGesturesV3/manifest.json | 1 - 2 files changed, 2 deletions(-) delete mode 100644 BetterBetterChatGesturesV3/index.js delete mode 100644 BetterBetterChatGesturesV3/manifest.json diff --git a/BetterBetterChatGesturesV3/index.js b/BetterBetterChatGesturesV3/index.js deleted file mode 100644 index 8396a6d..0000000 --- a/BetterBetterChatGesturesV3/index.js +++ /dev/null @@ -1 +0,0 @@ -(function(P,g,e,w,t,S,z,p,m,c){"use strict";var y={Failed:p.getAssetIDByName("Small"),Delete:p.getAssetIDByName("ic_message_delete"),Copy:p.getAssetIDByName("toast_copy_link"),Open:p.getAssetIDByName("ic_leave_stage"),Clipboard:p.getAssetIDByName("pending-alert"),Clock:p.getAssetIDByName("clock"),Forum:p.getAssetIDByName("ic_forum_channel"),Settings:{Toasts:{Settings:p.getAssetIDByName("ic_selection_checked_24px"),Failed:p.getAssetIDByName("ic_close_circle_24px")},Initial:p.getAssetIDByName("coffee"),Update:p.getAssetIDByName("discover"),Locale:p.getAssetIDByName("ic_locale_24px"),External:p.getAssetIDByName("ic_raised_hand_list"),Edit:p.getAssetIDByName("ic_edit_24px"),Reply:p.getAssetIDByName("ic_reply_24px"),Keyboard:p.getAssetIDByName("ic_keyboard_24px")}},b={shadow:function(a=.1){return{shadowColor:"#000",shadowOffset:{width:1,height:4},shadowOpacity:a,shadowRadius:4.65,elevation:8}},displayToast:function(a,r){e.toasts.open({content:r=="clipboard"?`Copied ${a} to clipboard.`:a,source:r=="clipboard"?y.Clipboard:y.Settings.Initial})}},A={plugin:{source:"https://github.com/MYSTRAVIL/vendetta-plugins"},author:{profile:{"Rosie<3":"https://github.com/acquitelol"}}};const{TouchableOpacity:v,View:N,Image:q,Text:L,Animated:C}=S.General,H=g.findByProps("transitionToGuild"),_=g.findByStoreName("UserStore"),X=g.findByProps("showUserProfile"),R=e.stylesheet.createThemedStyleSheet({container:{marginTop:25,marginLeft:"5%",marginBottom:-15,flexDirection:"row"},textContainer:{paddingLeft:15,paddingTop:5,flexDirection:"column",flexWrap:"wrap",...b.shadow()},image:{width:75,height:75,borderRadius:10,...b.shadow()},mainText:{opacity:.975,letterSpacing:.25},header:{color:m.semanticColors.HEADER_PRIMARY,fontFamily:e.constants.Fonts.DISPLAY_BOLD,fontSize:25,letterSpacing:.25},subHeader:{color:m.semanticColors.HEADER_SECONDARY,fontSize:12.75}});function J({name:a,authors:r}){const s=e.React.useRef(new C.Value(1)).current,n=function(){return C.spring(s,{toValue:1.1,duration:10,useNativeDriver:!0}).start()},i=function(){return C.spring(s,{toValue:1,duration:250,useNativeDriver:!0}).start()},l=function(){return X.showUserProfile({userId:_.getCurrentUser().id})},d={transform:[{scale:s}]};return e.React.createElement(e.React.Fragment,null,e.React.createElement(N,{style:R.container},e.React.createElement(v,{onPress:l,onPressIn:n,onPressOut:i},e.React.createElement(C.View,{style:d},e.React.createElement(q,{style:[R.image],source:{uri:_?.getCurrentUser()?.getAvatarURL()?.replace("webp","png")}}))),e.React.createElement(N,{style:R.textContainer},e.React.createElement(v,{onPress:function(){return H.openURL(A.plugin.source)}},e.React.createElement(L,{style:[R.mainText,R.header]},a)),e.React.createElement(N,{style:{flexDirection:"row"}},e.React.createElement(L,{style:[R.mainText,R.subHeader]},"A project by"),r.map(function(u,o,h){return e.React.createElement(v,{onPress:function(){return H.openURL(A.author.profile[u.name]??"https://github.com/")}},e.React.createElement(L,{style:[R.mainText,R.subHeader,{paddingLeft:4,fontFamily:e.constants.Fonts.DISPLAY_BOLD,flexDirection:"row"}]},u.name,o=200&&(h=$)}r.timeoutTap&&clearTimeout(r.timeoutTap),r.timeoutTap=setTimeout(function(){r.resetTapState()},h);const E=F?.getCurrentUser(),j=E&&o.author?o.author.id===E.id:!1,k={...i,taps:r.currentTapIndex,content:o.content||"",authorId:o.author?.id,isAuthor:j};if(r.currentTapIndex!==2){r.doubleTapState({state:"INCOMPLETE",nativeEvent:k});return}const oe=r.currentMessageID;r.resetTapState(),j?t.storage.userEdit?W?.startEditMessage(l,oe,k.content):t.storage.reply&&u&&G?.createPendingReply({channel:u,message:o,shouldMention:!0}):t.storage.reply&&u&&G?.createPendingReply({channel:u,message:o,shouldMention:!0}),r.openKeyboard(),r.doubleTapState({state:"COMPLETE",nativeEvent:k})}catch(i){c.logger.error("BetterChatGestures: Error in handleTapMessage patch",i),r.resetTapState()}});this.patches.push(s)}this.unpatchHandlers=function(){try{r.patches.forEach(function(s){typeof s=="function"&&s()}),r.patches=[],r.handlersInstances=new WeakSet}catch(s){c.logger.error("BetterChatGestures: Error in unpatchHandlers",s)}}}catch(s){c.logger.error("BetterChatGestures: Error in patchHandlers",s)}}},onLoad(){var a,r,s,n,i,l;try{if(!D){c.logger.error("BetterChatGestures: MessagesHandlers module not found! Plugin will not work.");return}(a=t.storage).tapUsernameMention??(a.tapUsernameMention=e.ReactNative.Platform.select({android:!1,ios:!0,default:!0})),e.ReactNative.Platform.OS==="android"&&(t.storage.tapUsernameMention=!1),(r=t.storage).reply??(r.reply=!0),(s=t.storage).userEdit??(s.userEdit=!0),(n=t.storage).keyboardPopup??(n.keyboardPopup=!0),(i=t.storage).delay??(i.delay="1000"),(l=t.storage).debugMode??(l.debugMode=!1),(!t.storage.delay||t.storage.delay===""||isNaN(parseInt(t.storage.delay,10))||parseInt(t.storage.delay,10)<200)&&(t.storage.delay="1000"),c.logger.log("BetterChatGestures: initialized with delay =",t.storage.delay);const d=this,u=["params","handlers","_params","messageHandlers"];let o=null,h=null;for(const E of u)if(o=Object.getOwnPropertyDescriptor(D.prototype,E)?.get,o){h=E,c.logger.log(`BetterChatGestures: Found property '${E}'`);break}o&&h?(Object.defineProperty(D.prototype,h,{configurable:!0,get(){return this&&d.patchHandlers.call(d,this),o.call(this)}}),this.unpatchGetter=function(){try{o&&h&&Object.defineProperty(D.prototype,h,{configurable:!0,get:o})}catch(E){c.logger.error("BetterChatGestures: Error in unpatchGetter",E)}}):c.logger.error("BetterChatGestures: Could not find params getter!")}catch(d){c.logger.error("BetterChatGestures: Error in onLoad",d)}},onUnload(){try{this.resetTapState(),this.unpatchGetter&&this.unpatchGetter(),this.unpatchHandlers&&this.unpatchHandlers(),this.timeoutTap&&(clearTimeout(this.timeoutTap),this.timeoutTap=null)}catch(a){c.logger.error("BetterChatGestures: Error in onUnload",a)}},settings:se};return P.default=ne,Object.defineProperty(P,"__esModule",{value:!0}),P})({},vendetta.metro,vendetta.metro.common,vendetta.patcher,vendetta.plugin,vendetta.ui.components,vendetta.storage,vendetta.ui.assets,vendetta.ui,vendetta); diff --git a/BetterBetterChatGesturesV3/manifest.json b/BetterBetterChatGesturesV3/manifest.json deleted file mode 100644 index 14d94d1..0000000 --- a/BetterBetterChatGesturesV3/manifest.json +++ /dev/null @@ -1 +0,0 @@ -{"authors":[{"name":"Rosie<3, MYSTRAVIL, forked by S-cript-kiddie02","id":"457924482024079362"}],"main":"index.js","vendetta":{"icon":"ic_chat"},"name":"BetterBetterChatGesturesV3","description":"Adds several new gestures in the chat.","hash":"fb5a8cf3b3448d2e23f2510fbb03b695c144a174f066cae6198655faf90e235e"} \ No newline at end of file