Add warning to bot interface (experimental)

This commit is contained in:
Jack Kingsman committed 2026-01-26 21:50:48 -08:00
1 parent d97fa3703f
commit 7d94a01f8a
6 files changed
+14 -6

No files matched your search

@@ -183,7 +183,7 @@ For more information, see https://radix-ui.com/primitives/docs/components/${s.do
# Example: Only respond in #bot channel to "!pling" command
if channel_name == "#bot" and "!pling" in message_text.lower():
return "[BOT] Plong!"
return None`,[ot,qe]=N.useState(!1),[Ke,Qe]=N.useState(mt);N.useEffect(()=>{s&&(k(s.name),B(String(s.lat)),E(String(s.lon)),F(String(s.tx_power)),j(String(s.radio.freq)),G(String(s.radio.bw)),K(String(s.radio.sf)),Y(String(s.radio.cr)))},[s]),N.useEffect(()=>{l&&(se(String(l.max_radio_contacts)),Ee(l.auto_decrypt_dm_on_advert),at(String(l.advert_interval)),qe(l.bot_enabled),l.bot_code&&Qe(l.bot_code))},[l]),N.useEffect(()=>{n&&v()},[n,v]);const rt=N.useMemo(()=>{const Pe=parseFloat(I),_e=parseFloat(O),fe=parseInt(U,10),ve=parseInt(J,10);for(const we of g0)if(we.freq===Pe&&we.bw===_e&&we.sf===fe&&we.cr===ve)return we.name;return"custom"},[I,O,U,J]),He=Pe=>{if(Pe==="custom")return;const _e=g0.find(fe=>fe.name===Pe);_e&&(j(String(_e.freq)),G(String(_e.bw)),K(String(_e.sf)),Y(String(_e.cr)))},Et=()=>{if(!navigator.geolocation){At.error("Geolocation not supported",{description:"Your browser does not support geolocation"});return}ae(!0),navigator.geolocation.getCurrentPosition(Pe=>{B(Pe.coords.latitude.toFixed(6)),E(Pe.coords.longitude.toFixed(6)),ae(!1),At.success("Location updated")},Pe=>{ae(!1),At.error("Failed to get location",{description:Pe.message})},{enableHighAccuracy:!0,timeout:1e4})},zt=async()=>{Ae(""),te(!0);try{const Pe={lat:parseFloat(w),lon:parseFloat(b),tx_power:parseInt(T,10),radio:{freq:parseFloat(I),bw:parseFloat(O),sf:parseInt(U,10),cr:parseInt(J,10)}};await c(Pe),At.success("Radio config saved, rebooting..."),te(!1),D(!0),await g(),u()}catch(Pe){Ae(Pe instanceof Error?Pe.message:"Failed to save"),te(!1)}finally{D(!1)}},Qt=async()=>{Ae(""),te(!0);try{await c({name:M});const _e=parseInt(je,10);!isNaN(_e)&&_e!==(l==null?void 0:l.advert_interval)&&await h({advert_interval:_e}),At.success("Identity settings saved")}catch(Pe){Ae(Pe instanceof Error?Pe.message:"Failed to save")}finally{te(!1)}},Dt=async()=>{Ae(""),te(!0);try{const Pe=parseInt($,10);!isNaN(Pe)&&Pe!==(l==null?void 0:l.max_radio_contacts)&&await h({max_radio_contacts:Pe}),At.success("Serial settings saved")}catch(Pe){Ae(Pe instanceof Error?Pe.message:"Failed to save")}finally{te(!1)}},Gt=async()=>{if(!ie.trim()){Ae("Private key is required");return}Ae(""),te(!0);try{await d(ie.trim()),ge(""),At.success("Private key set, rebooting..."),te(!1),D(!0),await g(),u()}catch(Pe){Ae(Pe instanceof Error?Pe.message:"Failed to set private key"),te(!1)}finally{D(!1)}},Yt=async()=>{if(confirm("Are you sure you want to reboot the radio? The connection will drop temporarily.")){Ae(""),D(!0);try{await g(),u()}catch(Pe){Ae(Pe instanceof Error?Pe.message:"Failed to reboot radio")}finally{D(!1)}}},$t=async()=>{q(!0);try{await m()}finally{q(!1)}},Ht=async()=>{const Pe=parseInt(pe,10);if(isNaN(Pe)||Pe<1){At.error("Invalid retention days",{description:"Retention days must be at least 1"});return}Oe(!0);try{const _e=await ut.runMaintenance(Pe);At.success("Database cleanup complete",{description:`Deleted ${_e.packets_deleted} old packet${_e.packets_deleted===1?"":"s"}`}),await x()}catch(_e){console.error("Failed to run maintenance:",_e),At.error("Database cleanup failed",{description:_e instanceof Error?_e.message:"Unknown error"})}finally{Oe(!1)}},Rt=async()=>{te(!0),Ae("");try{await h({auto_decrypt_dm_on_advert:Xe}),At.success("Database settings saved")}catch(Pe){console.error("Failed to save database settings:",Pe),Ae(Pe instanceof Error?Pe.message:"Failed to save"),At.error("Failed to save settings")}finally{te(!1)}},Vt=async()=>{te(!0),Ae("");try{await h({bot_enabled:ot,bot_code:Ke}),At.success("Bot settings saved")}catch(Pe){console.error("Failed to save bot settings:",Pe),Ae(Pe instanceof Error?Pe.message:"Failed to save"),At.error("Failed to save settings")}finally{te(!1)}};return _.jsx(Q0,{open:n,onOpenChange:Pe=>!Pe&&u(),children:_.jsxs(md,{className:"sm:max-w-[50vw] sm:min-w-[500px] max-h-[90vh] overflow-y-auto",children:[_.jsxs(gd,{children:[_.jsx(xd,{children:"Radio & Settings"}),_.jsxs(vd,{className:"sr-only",children:[C==="radio"&&"Configure radio frequency, power, and location settings",C==="identity"&&"Manage radio name, public key, private key, and advertising settings",C==="serial"&&"View serial port connection and configure contact sync",C==="database"&&"View database statistics and clean up old packets",C==="advertise"&&"Send a flood advertisement to announce your presence",C==="bot"&&"Configure automatic message bot with Python code"]})]}),s?_.jsxs(J0,{value:C,onValueChange:Pe=>P(Pe),className:"w-full",children:[_.jsxs(yd,{className:"grid w-full grid-cols-6",children:[_.jsx(dr,{value:"radio",children:"Radio"}),_.jsx(dr,{value:"identity",children:"Identity"}),_.jsx(dr,{value:"serial",children:"Serial"}),_.jsx(dr,{value:"database",children:"Database"}),_.jsx(dr,{value:"advertise",children:"Advertise"}),_.jsx(dr,{value:"bot",children:"Bot"})]}),_.jsxs(fr,{value:"radio",className:"space-y-4 mt-4",children:[_.jsxs("div",{className:"space-y-2",children:[_.jsx(jt,{htmlFor:"preset",children:"Preset"}),_.jsxs("select",{id:"preset",value:rt,o Line truncated
return None`,[ot,qe]=N.useState(!1),[Ke,Qe]=N.useState(mt);N.useEffect(()=>{s&&(k(s.name),B(String(s.lat)),E(String(s.lon)),F(String(s.tx_power)),j(String(s.radio.freq)),G(String(s.radio.bw)),K(String(s.radio.sf)),Y(String(s.radio.cr)))},[s]),N.useEffect(()=>{l&&(se(String(l.max_radio_contacts)),Ee(l.auto_decrypt_dm_on_advert),at(String(l.advert_interval)),qe(l.bot_enabled),l.bot_code&&Qe(l.bot_code))},[l]),N.useEffect(()=>{n&&v()},[n,v]);const rt=N.useMemo(()=>{const Pe=parseFloat(I),_e=parseFloat(O),fe=parseInt(U,10),ve=parseInt(J,10);for(const we of g0)if(we.freq===Pe&&we.bw===_e&&we.sf===fe&&we.cr===ve)return we.name;return"custom"},[I,O,U,J]),He=Pe=>{if(Pe==="custom")return;const _e=g0.find(fe=>fe.name===Pe);_e&&(j(String(_e.freq)),G(String(_e.bw)),K(String(_e.sf)),Y(String(_e.cr)))},Et=()=>{if(!navigator.geolocation){At.error("Geolocation not supported",{description:"Your browser does not support geolocation"});return}ae(!0),navigator.geolocation.getCurrentPosition(Pe=>{B(Pe.coords.latitude.toFixed(6)),E(Pe.coords.longitude.toFixed(6)),ae(!1),At.success("Location updated")},Pe=>{ae(!1),At.error("Failed to get location",{description:Pe.message})},{enableHighAccuracy:!0,timeout:1e4})},zt=async()=>{Ae(""),te(!0);try{const Pe={lat:parseFloat(w),lon:parseFloat(b),tx_power:parseInt(T,10),radio:{freq:parseFloat(I),bw:parseFloat(O),sf:parseInt(U,10),cr:parseInt(J,10)}};await c(Pe),At.success("Radio config saved, rebooting..."),te(!1),D(!0),await g(),u()}catch(Pe){Ae(Pe instanceof Error?Pe.message:"Failed to save"),te(!1)}finally{D(!1)}},Qt=async()=>{Ae(""),te(!0);try{await c({name:M});const _e=parseInt(je,10);!isNaN(_e)&&_e!==(l==null?void 0:l.advert_interval)&&await h({advert_interval:_e}),At.success("Identity settings saved")}catch(Pe){Ae(Pe instanceof Error?Pe.message:"Failed to save")}finally{te(!1)}},Dt=async()=>{Ae(""),te(!0);try{const Pe=parseInt($,10);!isNaN(Pe)&&Pe!==(l==null?void 0:l.max_radio_contacts)&&await h({max_radio_contacts:Pe}),At.success("Serial settings saved")}catch(Pe){Ae(Pe instanceof Error?Pe.message:"Failed to save")}finally{te(!1)}},Gt=async()=>{if(!ie.trim()){Ae("Private key is required");return}Ae(""),te(!0);try{await d(ie.trim()),ge(""),At.success("Private key set, rebooting..."),te(!1),D(!0),await g(),u()}catch(Pe){Ae(Pe instanceof Error?Pe.message:"Failed to set private key"),te(!1)}finally{D(!1)}},Yt=async()=>{if(confirm("Are you sure you want to reboot the radio? The connection will drop temporarily.")){Ae(""),D(!0);try{await g(),u()}catch(Pe){Ae(Pe instanceof Error?Pe.message:"Failed to reboot radio")}finally{D(!1)}}},$t=async()=>{q(!0);try{await m()}finally{q(!1)}},Ht=async()=>{const Pe=parseInt(pe,10);if(isNaN(Pe)||Pe<1){At.error("Invalid retention days",{description:"Retention days must be at least 1"});return}Oe(!0);try{const _e=await ut.runMaintenance(Pe);At.success("Database cleanup complete",{description:`Deleted ${_e.packets_deleted} old packet${_e.packets_deleted===1?"":"s"}`}),await x()}catch(_e){console.error("Failed to run maintenance:",_e),At.error("Database cleanup failed",{description:_e instanceof Error?_e.message:"Unknown error"})}finally{Oe(!1)}},Rt=async()=>{te(!0),Ae("");try{await h({auto_decrypt_dm_on_advert:Xe}),At.success("Database settings saved")}catch(Pe){console.error("Failed to save database settings:",Pe),Ae(Pe instanceof Error?Pe.message:"Failed to save"),At.error("Failed to save settings")}finally{te(!1)}},Vt=async()=>{te(!0),Ae("");try{await h({bot_enabled:ot,bot_code:Ke}),At.success("Bot settings saved")}catch(Pe){console.error("Failed to save bot settings:",Pe),Ae(Pe instanceof Error?Pe.message:"Failed to save"),At.error("Failed to save settings")}finally{te(!1)}};return _.jsx(Q0,{open:n,onOpenChange:Pe=>!Pe&&u(),children:_.jsxs(md,{className:"sm:max-w-[50vw] sm:min-w-[500px] max-h-[90vh] overflow-y-auto",children:[_.jsxs(gd,{children:[_.jsx(xd,{children:"Radio & Settings"}),_.jsxs(vd,{className:"sr-only",children:[C==="radio"&&"Configure radio frequency, power, and location settings",C==="identity"&&"Manage radio name, public key, private key, and advertising settings",C==="serial"&&"View serial port connection and configure contact sync",C==="database"&&"View database statistics and clean up old packets",C==="advertise"&&"Send a flood advertisement to announce your presence",C==="bot"&&"Configure automatic message bot with Python code"]})]}),s?_.jsxs(J0,{value:C,onValueChange:Pe=>P(Pe),className:"w-full",children:[_.jsxs(yd,{className:"grid w-full grid-cols-6",children:[_.jsx(dr,{value:"radio",children:"Radio"}),_.jsx(dr,{value:"identity",children:"Identity"}),_.jsx(dr,{value:"serial",children:"Serial"}),_.jsx(dr,{value:"database",children:"Database"}),_.jsx(dr,{value:"advertise",children:"Advertise"}),_.jsx(dr,{value:"bot",children:"Bot"})]}),_.jsxs(fr,{value:"radio",className:"space-y-4 mt-4",children:[_.jsxs("div",{className:"space-y-2",children:[_.jsx(jt,{htmlFor:"preset",children:"Preset"}),_.jsxs("select",{id:"preset",value:rt,o Line truncated
(c) 2012 by Cédric Mesnil. All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
@@ -599,4 +599,4 @@ fn main(@builtin(global_invocation_id) global_id: vec3<u32>) {
`),this.noSleepTimer=window.setInterval(()=>{document.hidden||(window.location.href=window.location.href.split("#")[0],window.setTimeout(window.stop,0))},15e3),this.enabled=!0,Promise.resolve()):this.noSleepVideo.play().then(d=>(this.enabled=!0,d)).catch(d=>{throw this.enabled=!1,d})}disable(){l()?(this._wakeLock&&this._wakeLock.release(),this._wakeLock=null):i()?this.noSleepTimer&&(console.warn(`
NoSleep now disabled for older iOS devices.
`),window.clearInterval(this.noSleepTimer),this.noSleepTimer=null):this.noSleepVideo.pause(),this.enabled=!1}}return _0=u,_0}var CS=bS();const ES=ls(CS);function kS(n){if(n.length<4)return null;try{const i=parseInt(n.slice(0,2),16)&3;let l=2;if(i===0||i===3){if(n.length<l+8)return null;l+=8}if(n.length<l+2)return null;const u=parseInt(n.slice(l,l+2),16);l+=2;const c=u*2;return n.length<l+c?null:(l+=c,n.slice(l))}catch{return null}}function SS({packets:n,channels:s,onChannelCreate:i,onRunningChange:l,visible:u=!1}){const[c,h]=N.useState(!1),[d,g]=N.useState(6),[m,x]=N.useState(!1),[v,C]=N.useState(!0),[P,M]=N.useState(!1),[k,w]=N.useState(null),[B,b]=N.useState(new Map),[E,T]=N.useState([]),[F,I]=N.useState(!1),[j,O]=N.useState(null),[G,U]=N.useState(null),[K,J]=N.useState(0),Y=N.useRef(null),ie=N.useRef(null),ge=N.useRef(!1),$=N.useRef(!1),se=N.useRef(!1),W=N.useRef(new Map),te=N.useRef(!1),Z=N.useRef(6),D=N.useRef(!0),H=N.useRef(!1),q=N.useRef(new Set),Q=N.useRef(new Set);N.useEffect(()=>{const Ee=new _S;Y.current=Ee,O(Ee.isGpuAvailable());const je=new ES;return ie.current=je,()=>{Ee.destroy(),Y.current=null,je.disable(),ie.current=null}},[]),N.useEffect(()=>{!u||F||oS(async()=>{const{ENGLISH_WORDLIST:Ee}=await import("./wordlist-BtmChKSf.js");return{ENGLISH_WORDLIST:Ee}},[]).then(({ENGLISH_WORDLIST:Ee})=>{Y.current&&(Y.current.setWordlist(Ee),I(!0))}).catch(Ee=>{console.error("Failed to load wordlist:",Ee),At.error("Failed to load wordlist",{description:"Cracking will not be available"})})},[u,F]),N.useEffect(()=>{const Ee=()=>{ut.getUndecryptedPacketCount().then(({count:at})=>U(at)).catch(()=>U(null))};Ee();const je=setInterval(Ee,36e5);return()=>clearInterval(je)},[]);const ae=N.useMemo(()=>new Set(s.map(Ee=>Ee.key.toUpperCase())),[s]),ce=n.filter(Ee=>Ee.payload_type==="GROUP_TEXT"&&!Ee.decrypted);N.useEffect(()=>{let Ee=0;b(je=>{const at=new Map(je);let mt=!1;for(const ot of ce)if(!at.has(ot.id)){const qe=kS(ot.data);if(qe&&Q.current.has(qe)){Ee++;continue}qe&&Q.current.add(qe),at.set(ot.id,{packet:ot,attempts:0,lastAttemptLength:0,status:"pending"}),mt=!0}return mt?(W.current=at,at):je}),Ee>0&&J(je=>je+Ee)},[ce.length]),N.useEffect(()=>{W.current=B},[B]),N.useEffect(()=>{te.current=m},[m]),N.useEffect(()=>{Z.current=d},[d]),N.useEffect(()=>{D.current=v},[v]),N.useEffect(()=>{H.current=P},[P]),N.useEffect(()=>{q.current=new Set(ce.map(Ee=>Ee.id))},[ce]),N.useEffect(()=>{l==null||l(c)},[c,l]);const Ae=Array.from(B.values()).filter(Ee=>Ee.status==="pending").length,pe=Array.from(B.values()).filter(Ee=>Ee.status==="cracked").length,xe=Array.from(B.values()).filter(Ee=>Ee.status==="failed").length,Be=N.useCallback(async()=>{if(se.current||!Y.current||!ge.current)return;const Ee=W.current;let je=null,at=null;for(const[Ke,Qe]of Ee.entries())if(Qe.status==="pending"){je=Qe,at=Ke;break}if(!je&&te.current){const Ke=Array.from(Ee.entries()).filter(([,Qe])=>Qe.status==="failed"&&Qe.lastAttemptLength<10);Ke.length>0&&(Ke.sort((Qe,rt)=>Qe[1].lastAttemptLength-rt[1].lastAttemptLength),[at,je]=Ke[0])}if(!je||at===null){ge.current&&setTimeout(()=>Be(),1e3);return}if(!q.current.has(at)){b(Ke=>{const Qe=new Map(Ke);return Qe.delete(at),Qe}),ge.current&&setTimeout(()=>Be(),10);return}se.current=!0;const mt=Z.current,ot=je.lastAttemptLength>0,qe=ot?je.lastAttemptLength+1:mt;try{const Ke=await Y.current.crack(je.packet.data,{maxLength:qe,useSenderFilter:!0,useTimestampFilter:!0,useUtf8Filter:!0,...H.current&&{gpuDispatchMs:1e4},...ot&&{useDictionary:!1,startingLength:qe}},Qe=>{w(Qe)});if($.current){$.current=!1,se.current=!1,w(null);return}if(Ke.found&&Ke.roomName&&Ke.key){b(He=>{const Et=new Map(He),zt=Et.get(at);return zt&&Et.set(at,{...zt,status:"cracked",attempts:zt.attempts+1,lastAttemptLength:qe}),Et});const Qe={roomName:Ke.roomName,key:Ke.key,packetId:at,message:Ke.decryptedMessage||"",crackedAt:Date.now()};T(He=>[...He,Qe]);const rt=Ke.key.toUpperCase();if(!ae.has(rt))try{const He="#"+Ke.roomName;await i(He,Ke.key),D.current&&await ut.decryptHistoricalPackets({key_type:"channel",channel_name:He})}catch(He){console.error("Failed to create channel or decrypt historical:",He),At.error("Failed to save cracked channel",{description:He instanceof Error?He.message:"Channel discovered but could not be saved"})}}else b(Qe=>{const rt=new Map(Qe),He=rt.get(at);return He&&rt.set(at,{...He,status:"failed",attempts:He.attempts+1,lastAttemptLength:qe}),rt})}catch(Ke){console.error("Cracking error:",Ke),b(Qe=>{const rt=new Map(Qe),He=rt.get(at);return He&&rt.set(at,{...He,status:"failed",attempts:He.attempts+1,lastAttemptLength:qe}),rt})}se.current=!1,w(null),ge.current&&setTimeout(()=>Be(),100)},[ae,i]),Oe=()=>{var Ee;if(!j){At.error("WebGPU not available",{description:"Cracking requires Chrome 113+ or Edge 113+ with WebGPU support."});return}h(!0),ge.current=!0,$.current=!1,(Ee=ie.current)==null||Ee.enable(),Be()},Xe=()=>{var Ee,je;h(!1),ge.current=!1,$.current=!0,(Ee=Y.current)==null||Ee.abort(),(je=ie.current)==null|| Line truncated
//# sourceMappingURL=index-DpuVn1aK.js.map
//# sourceMappingURL=index-D5ozmcKB.js.map
+1
View File
@@ -0,0 +1 @@
{"version":3,"mappings":";;;;;;;;6CASa,IAAIA,EAAE,OAAO,IAAI,eAAe,EAAEC,EAAE,OAAO,IAAI,cAAc,EAAEC,EAAE,OAAO,IAAI,gBAAgB,EAAEC,EAAE,OAAO,IAAI,mBAAmB,EAAEC,EAAE,OAAO,IAAI,gBAAgB,EAAEC,EAAE,OAAO,IAAI,gBAAgB,EAAEC,EAAE,OAAO,IAAI,eAAe,EAAEC,EAAE,OAAO,IAAI,mBAAmB,EAAEC,EAAE,OAAO,IAAI,gBAAgB,EAAEC,EAAE,OAAO,IAAI,YAAY,EAAEC,EAAE,OAAO,IAAI,YAAY,EAAEC,EAAE,OAAO,SAAS,SAASC,EAAEC,EAAE,CAAC,OAAUA,IAAP,MAAqB,OAAOA,GAAlB,SAA2B,MAAKA,EAAEF,GAAGE,EAAEF,CAAC,GAAGE,EAAE,YAAY,EAAqB,OAAOA,GAApB,WAAsBA,EAAE,KAAI,CAC1e,IAAIC,EAAE,CAAC,UAAU,UAAU,CAAC,MAA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AAuB,GAAE5B,EAAE,UAAU,CAACK,GAAG,CAAC,EAASA,CAAC,EAAE,QAAQ,SAASL,EAAE,CAAC,OAAO4B,GAAE5B,EAAE,SAASA,EAAE,CAAC,OAAOA,CAAC,CAAC,GAAG,EAAE,EAAE,KAAK,SAASA,EAAE,CAAC,GAAG,CAACuB,EAAEvB,CAAC,EAAE,Line truncated
@@ -1 +1 @@
code[class*=language-],pre[class*=language-]{color:#ccc;background:none;font-family:Consolas,Monaco,Andale Mono,Ubuntu Mono,monospace;font-size:1em;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;word-wrap:normal;line-height:1.5;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-hyphens:none;hyphens:none}pre[class*=language-]{padding:1em;margin:.5em 0;overflow:auto}:not(pre)>code[class*=language-],pre[class*=language-]{background:#2d2d2d}:not(pre)>code[class*=language-]{padding:.1em;border-radius:.3em;white-space:normal}.token.comment,.token.block-comment,.token.prolog,.token.doctype,.token.cdata{color:#999}.token.punctuation{color:#ccc}.token.tag,.token.attr-name,.token.namespace,.token.deleted{color:#e2777a}.token.function-name{color:#6196cc}.token.boolean,.token.number,.token.function{color:#f08d49}.token.property,.token.class-name,.token.constant,.token.symbol{color:#f8c555}.token.selector,.token.important,.token.atrule,.token.keyword,.token.builtin{color:#cc99cd}.token.string,.token.char,.token.attr-value,.token.regex,.token.variable{color:#7ec699}.token.operator,.token.entity,.token.url{color:#67cdcc}.token.important,.token.bold{font-weight:700}.token.italic{font-style:italic}.token.entity{cursor:help}.token.inserted{color:green}.leaflet-pane,.leaflet-tile,.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-tile-container,.leaflet-pane>svg,.leaflet-pane>canvas,.leaflet-zoom-box,.leaflet-image-layer,.leaflet-layer{position:absolute;left:0;top:0}.leaflet-container{overflow:hidden}.leaflet-tile,.leaflet-marker-icon,.leaflet-marker-shadow{-webkit-user-select:none;-moz-user-select:none;user-select:none;-webkit-user-drag:none}.leaflet-tile::-moz-selection{background:transparent}.leaflet-tile::selection{background:transparent}.leaflet-safari .leaflet-tile{image-rendering:-webkit-optimize-contrast}.leaflet-safari .leaflet-tile-container{width:1600px;height:1600px;-webkit-transform-origin:0 0}.leaflet-marker-icon,.leaflet-marker-shadow{display:block}.leaflet-container .leaflet-overlay-pane svg{max-width:none!important;max-height:none!important}.leaflet-container .leaflet-marker-pane img,.leaflet-container .leaflet-shadow-pane img,.leaflet-container .leaflet-tile-pane img,.leaflet-container img.leaflet-image-layer,.leaflet-container .leaflet-tile{max-width:none!important;max-height:none!important;width:auto;padding:0}.leaflet-container img.leaflet-tile{mix-blend-mode:plus-lighter}.leaflet-container.leaflet-touch-zoom{touch-action:pan-x pan-y}.leaflet-container.leaflet-touch-drag{touch-action:none;touch-action:pinch-zoom}.leaflet-container.leaflet-touch-drag.leaflet-touch-zoom{touch-action:none}.leaflet-container{-webkit-tap-highlight-color:transparent}.leaflet-container a{-webkit-tap-highlight-color:rgba(51,181,229,.4)}.leaflet-tile{filter:inherit;visibility:hidden}.leaflet-tile-loaded{visibility:inherit}.leaflet-zoom-box{width:0;height:0;box-sizing:border-box;z-index:800}.leaflet-overlay-pane svg{-moz-user-select:none}.leaflet-pane{z-index:400}.leaflet-tile-pane{z-index:200}.leaflet-overlay-pane{z-index:400}.leaflet-shadow-pane{z-index:500}.leaflet-marker-pane{z-index:600}.leaflet-tooltip-pane{z-index:650}.leaflet-popup-pane{z-index:700}.leaflet-map-pane canvas{z-index:100}.leaflet-map-pane svg{z-index:200}.leaflet-vml-shape{width:1px;height:1px}.lvml{behavior:url(#default#VML);display:inline-block;position:absolute}.leaflet-control{position:relative;z-index:800;pointer-events:visiblePainted;pointer-events:auto}.leaflet-top,.leaflet-bottom{position:absolute;z-index:1000;pointer-events:none}.leaflet-top{top:0}.leaflet-right{right:0}.leaflet-bottom{bottom:0}.leaflet-left{left:0}.leaflet-control{float:left;clear:both}.leaflet-right .leaflet-control{float:right}.leaflet-top .leaflet-control{margin-top:10px}.leaflet-bottom .leaflet-control{margin-bottom:10px}.leaflet-left .leaflet-control{margin-left:10px}.leaflet-right .leaflet-control{margin-right:10px}.leaflet-fade-anim .leaflet-popup{opacity:0;transition:opacity .2s linear}.leaflet-fade-anim .leaflet-map-pane .leaflet-popup{opacity:1}.leaflet-zoom-animated{transform-origin:0 0}svg.leaflet-zoom-animated{will-change:transform}.leaflet-zoom-anim .leaflet-zoom-animated{transition:transform .25s cubic-bezier(0,0,.25,1)}.leaflet-zoom-anim .leaflet-tile,.leaflet-pan-anim .leaflet-tile{transition:none}.leaflet-zoom-anim .leaflet-zoom-hide{visibility:hidden}.leaflet-interactive{cursor:pointer}.leaflet-grab{cursor:grab}.leaflet-crosshair,.leaflet-crosshair .leaflet-interactive{cursor:crosshair}.leaflet-popup-pane,.leaflet-control{cursor:auto}.leaflet-dragging .leaflet-grab,.leaflet-dragging .leaflet-grab .leaflet-interactive,.leaflet-dragging .leaflet-marker-draggable{cursor:move;cursor:grabbing}.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-image-layer,.leaflet-pane>svg path,.leaflet-tile-container{pointer-events:none}.leaflet-marker-icon.leaflet-interactive,.leaflet-image-layer.leaflet-interactive,.leaflet-pane>svg path.leaflet-interactive,sLine truncated
code[class*=language-],pre[class*=language-]{color:#ccc;background:none;font-family:Consolas,Monaco,Andale Mono,Ubuntu Mono,monospace;font-size:1em;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;word-wrap:normal;line-height:1.5;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-hyphens:none;hyphens:none}pre[class*=language-]{padding:1em;margin:.5em 0;overflow:auto}:not(pre)>code[class*=language-],pre[class*=language-]{background:#2d2d2d}:not(pre)>code[class*=language-]{padding:.1em;border-radius:.3em;white-space:normal}.token.comment,.token.block-comment,.token.prolog,.token.doctype,.token.cdata{color:#999}.token.punctuation{color:#ccc}.token.tag,.token.attr-name,.token.namespace,.token.deleted{color:#e2777a}.token.function-name{color:#6196cc}.token.boolean,.token.number,.token.function{color:#f08d49}.token.property,.token.class-name,.token.constant,.token.symbol{color:#f8c555}.token.selector,.token.important,.token.atrule,.token.keyword,.token.builtin{color:#cc99cd}.token.string,.token.char,.token.attr-value,.token.regex,.token.variable{color:#7ec699}.token.operator,.token.entity,.token.url{color:#67cdcc}.token.important,.token.bold{font-weight:700}.token.italic{font-style:italic}.token.entity{cursor:help}.token.inserted{color:green}.leaflet-pane,.leaflet-tile,.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-tile-container,.leaflet-pane>svg,.leaflet-pane>canvas,.leaflet-zoom-box,.leaflet-image-layer,.leaflet-layer{position:absolute;left:0;top:0}.leaflet-container{overflow:hidden}.leaflet-tile,.leaflet-marker-icon,.leaflet-marker-shadow{-webkit-user-select:none;-moz-user-select:none;user-select:none;-webkit-user-drag:none}.leaflet-tile::-moz-selection{background:transparent}.leaflet-tile::selection{background:transparent}.leaflet-safari .leaflet-tile{image-rendering:-webkit-optimize-contrast}.leaflet-safari .leaflet-tile-container{width:1600px;height:1600px;-webkit-transform-origin:0 0}.leaflet-marker-icon,.leaflet-marker-shadow{display:block}.leaflet-container .leaflet-overlay-pane svg{max-width:none!important;max-height:none!important}.leaflet-container .leaflet-marker-pane img,.leaflet-container .leaflet-shadow-pane img,.leaflet-container .leaflet-tile-pane img,.leaflet-container img.leaflet-image-layer,.leaflet-container .leaflet-tile{max-width:none!important;max-height:none!important;width:auto;padding:0}.leaflet-container img.leaflet-tile{mix-blend-mode:plus-lighter}.leaflet-container.leaflet-touch-zoom{touch-action:pan-x pan-y}.leaflet-container.leaflet-touch-drag{touch-action:none;touch-action:pinch-zoom}.leaflet-container.leaflet-touch-drag.leaflet-touch-zoom{touch-action:none}.leaflet-container{-webkit-tap-highlight-color:transparent}.leaflet-container a{-webkit-tap-highlight-color:rgba(51,181,229,.4)}.leaflet-tile{filter:inherit;visibility:hidden}.leaflet-tile-loaded{visibility:inherit}.leaflet-zoom-box{width:0;height:0;box-sizing:border-box;z-index:800}.leaflet-overlay-pane svg{-moz-user-select:none}.leaflet-pane{z-index:400}.leaflet-tile-pane{z-index:200}.leaflet-overlay-pane{z-index:400}.leaflet-shadow-pane{z-index:500}.leaflet-marker-pane{z-index:600}.leaflet-tooltip-pane{z-index:650}.leaflet-popup-pane{z-index:700}.leaflet-map-pane canvas{z-index:100}.leaflet-map-pane svg{z-index:200}.leaflet-vml-shape{width:1px;height:1px}.lvml{behavior:url(#default#VML);display:inline-block;position:absolute}.leaflet-control{position:relative;z-index:800;pointer-events:visiblePainted;pointer-events:auto}.leaflet-top,.leaflet-bottom{position:absolute;z-index:1000;pointer-events:none}.leaflet-top{top:0}.leaflet-right{right:0}.leaflet-bottom{bottom:0}.leaflet-left{left:0}.leaflet-control{float:left;clear:both}.leaflet-right .leaflet-control{float:right}.leaflet-top .leaflet-control{margin-top:10px}.leaflet-bottom .leaflet-control{margin-bottom:10px}.leaflet-left .leaflet-control{margin-left:10px}.leaflet-right .leaflet-control{margin-right:10px}.leaflet-fade-anim .leaflet-popup{opacity:0;transition:opacity .2s linear}.leaflet-fade-anim .leaflet-map-pane .leaflet-popup{opacity:1}.leaflet-zoom-animated{transform-origin:0 0}svg.leaflet-zoom-animated{will-change:transform}.leaflet-zoom-anim .leaflet-zoom-animated{transition:transform .25s cubic-bezier(0,0,.25,1)}.leaflet-zoom-anim .leaflet-tile,.leaflet-pan-anim .leaflet-tile{transition:none}.leaflet-zoom-anim .leaflet-zoom-hide{visibility:hidden}.leaflet-interactive{cursor:pointer}.leaflet-grab{cursor:grab}.leaflet-crosshair,.leaflet-crosshair .leaflet-interactive{cursor:crosshair}.leaflet-popup-pane,.leaflet-control{cursor:auto}.leaflet-dragging .leaflet-grab,.leaflet-dragging .leaflet-grab .leaflet-interactive,.leaflet-dragging .leaflet-marker-draggable{cursor:move;cursor:grabbing}.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-image-layer,.leaflet-pane>svg path,.leaflet-tile-container{pointer-events:none}.leaflet-marker-icon.leaflet-interactive,.leaflet-image-layer.leaflet-interactive,.leaflet-pane>svg path.leaflet-interactive,sLine truncated
+2 -2
View File
@@ -13,8 +13,8 @@
<link rel="shortcut icon" href="/favicon.ico" />
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png" />
<link rel="manifest" href="/site.webmanifest" />
<script type="module" crossorigin src="/assets/index-DpuVn1aK.js"></script>
<link rel="stylesheet" crossorigin href="/assets/index-B-EWrA2Q.css">
<script type="module" crossorigin src="/assets/index-D5ozmcKB.js"></script>
<link rel="stylesheet" crossorigin href="/assets/index-H2C92sGV.css">
</head>
<body>
<div id="root"></div>
@@ -802,6 +802,14 @@ export function SettingsModal({
{/* Bot Tab */}
<TabsContent value="bot" className="space-y-4 mt-4">
<div className="p-3 bg-red-500/10 border border-red-500/30 rounded-md">
<p className="text-sm text-red-500">
<strong>Experimental:</strong> This is an alpha feature and introduces automated
message sending to your radio; unexpected behavior may occur. Use with caution,
and please report any bugs!
</p>
</div>
<div className="p-3 bg-yellow-500/10 border border-yellow-500/30 rounded-md">
<p className="text-sm text-yellow-500">
<strong>Security Warning:</strong> This feature executes arbitrary Python code on