You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

10 lines
110 KiB

2 years ago
/*
THIS IS A GENERATED/BUNDLED FILE BY ESBUILD
if you want to view the source, please visit the github repository of this plugin (https://github.com/phibr0/obsidian-commander)
*/
var Oe=Object.defineProperty,Hn=Object.defineProperties,Rn=Object.getOwnPropertyDescriptor,Fn=Object.getOwnPropertyDescriptors,On=Object.getOwnPropertyNames,Fe=Object.getOwnPropertySymbols;var ht=Object.prototype.hasOwnProperty,$t=Object.prototype.propertyIsEnumerable;var jt=(e,o,t)=>o in e?Oe(e,o,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[o]=t,Ve=(e,o)=>{for(var t in o||(o={}))ht.call(o,t)&&jt(e,t,o[t]);if(Fe)for(var t of Fe(o))$t.call(o,t)&&jt(e,t,o[t]);return e},Yt=(e,o)=>Hn(e,Fn(o));var Gt=(e,o)=>{var t={};for(var n in e)ht.call(e,n)&&o.indexOf(n)<0&&(t[n]=e[n]);if(e!=null&&Fe)for(var n of Fe(e))o.indexOf(n)<0&&$t.call(e,n)&&(t[n]=e[n]);return t};var Vn=(e,o)=>{for(var t in o)Oe(e,t,{get:o[t],enumerable:!0})},zn=(e,o,t,n)=>{if(o&&typeof o=="object"||typeof o=="function")for(let i of On(o))!ht.call(e,i)&&i!==t&&Oe(e,i,{get:()=>o[i],enumerable:!(n=Rn(o,i))||n.enumerable});return e};var Wn=e=>zn(Oe({},"__esModule",{value:!0}),e);var Vi={};Vn(Vi,{default:()=>dt});module.exports=Wn(Vi);var ze=require("obsidian");var bt=require("obsidian");var Kt={};var Qt={};var eo={};var to={"Open Commander Settings":"Commander Einstellungen \xF6ffnen","Open Macro Builder":"Makro Baukasten \xF6ffnen","Change Icon":"Symbol ver\xE4ndern",Rename:"Umbenennen",Delete:"L\xF6schen","Add command":"Befehl hinzuf\xFCgen","Add new":"Neuen Befehl hinzuf\xFCgen","This Command seems to have been removed. {{command_name}}":"Dieser Befehl wurde entfernt. {{command_name}}","Choose a Command to add":"W\xE4hle einen Befehl zum hinzuf\xFCgen","to navigate":"zum navigieren","to choose an icon":"um ein symbol auszuw\xE4hlen","to cancel":"zum abbrechen","Use a custom name":"Nutze einen benutzerdefinierten Namen","Choose a custom Name for your new Command":"W\xE4hle einen benutzerdefinierten Namen f\xFCr deinen neuen Befehl","to save":"zum speichern","Choose a Icon for your new Command":"W\xE4hle ein Symbol f\xFCr deinen neuen Befehl","to choose a custom icon":"um ein benutzerdefiniertes Symbol auszuw\xE4hlen","Remove Command":"Befehl entfernen","Double click to rename":"Zum umbenennen doppelklicken","This device":"Dieses Ger\xE4t","Added by {{plugin_name}}.":"Hinzugef\xFCgt von {{plugin_name}}.","Warning: This is a checked Command, meaning it might not run under every circumstance.":"Warnung: Dieser Befehl wird nur unter bestimmten Vorraussetzungen ausgef\xFChrt.","Move down":"Nach unten","Move up":"Nach oben","Change Mode (Currently: {{current_mode}})":"Modus ver\xE4ndern (Momentan: {{current_mode}})","Are you sure you want to delete the Command?":"Bist du dir sicher, dass du diesen Befehl entfernen m\xF6chtest?","Remove and don't ask again":"Entfernen und Auswahl speichern",Remove:"Entfernen",Cancel:"Abbrechen","Always ask before removing?":"Immer fragen, bevor ein Befehl gel\xF6scht wird?","Always show a Popup to confirm deletion of a Command.":"Zeige immer ein Popup um L\xF6schen zu best\xE4tigen.",'Show "Add Command" Button':'Zeige "Befehl hinzuf\xFCgen" Knopf','Show the "Add Command" Button in every Menu. Requires restart.':'Zeige den "Befehl hinzuf\xFCgen" Knopf in jedem Men\xFC. Erfordert neustart.',"Please restart Obsidian for these changes to take effect.":"Bitte starte Obsidian neu, damit diese \xC4nderungen in Kraft treten.","Enable debugging":"Aktiviere debugging","Enable console output.":"Aktiviere Konsolen-Output (F\xFCr Entwickler)",General:"Allgemein","Editor Menu":"Editor-Men\xFC","File Menu":"Datei-Men\xFC","Left Ribbon":"Band","Right Ribbon":"Rechtes Band",Titlebar:"Titelleiste",Statusbar:"Statusleiste","Page Header":"Kopfzeile","Support development":"Entwicklung unterst\xFCtzen","No commands here!":"Keine Befehle da!","Would you like to add one now?":"M\xF6chtest du jetzt einen hinzuf\xFCgen?","Hide Commands":"Befehle verstecken","Choose new":"W\xE4hle neu","Hide Commands of other Plugins":"Hide Commands of other Plugins",Icon:"Symbol",Name:"Name","Custom Name":"Benutzerdefinierter Name","Add command to all devices":"F\xFCge Befehl allen Ger\xE4ten hinzu","Add command only to mobile devices":"F\xFCge Befehl nur Mobilen Ger\xE4
`);try{p=new Worker(URL.createObjectURL(new Blob([T])))}catch(P){return typeof console!==void 0&&typeof console.warn=="function"&&console.warn("\u{1F38A} Could not load worker",P),null}M(p)}return p}}(),s={particleCount:50,angle:90,spread:45,startVelocity:45,decay:.9,gravity:1,drift:0,ticks:200,x:.5,y:.5,shapes:["square","circle"],zIndex:100,colors:["#26ccff","#a25afd","#ff5e7e","#88ff5a","#fcff42","#ffa62d","#ff36ff"],disableForReducedMotion:!1,scalar:1};function g(p,l){return l?l(p):p}function _(p){return p!=null}function f(p,l,I){return g(p&&_(p[l])?p[l]:s[l],I)}function b(p){return p<0?0:Math.floor(p)}function y(p,l){return Math.floor(Math.random()*(l-p))+p}function v(p){return parseInt(p,16)}function L(p){return p.map(w)}function w(p){var l=String(p).replace(/[^0-9a-f]/gi,"");return l.length<6&&(l=l[0]+l[0]+l[1]+l[1]+l[2]+l[2]),{r:v(l.substring(0,2)),g:v(l.substring(2,4)),b:v(l.substring(4,6))}}function H(p){var l=f(p,"origin",Object);return l.x=f(l,"x",Number),l.y=f(l,"y",Number),l}function ee(p){p.width=document.documentElement.clientWidth,p.height=document.documentElement.clientHeight}function De(p){var l=p.getBoundingClientRect();p.width=l.width,p.height=l.height}function ue(p){var l=document.createElement("canvas");return l.style.position="fixed",l.style.top="0px",l.style.left="0px",l.style.pointerEvents="none",l.style.zIndex=p,l}function pe(p,l,I,M,T,P,E,x,D){p.save(),p.translate(l,I),p.rotate(P),p.scale(M,T),p.arc(0,0,1,E,x,D),p.restore()}function U(p){var l=p.angle*(Math.PI/180),I=p.spread*(Math.PI/180);return{x:p.x,y:p.y,wobble:Math.random()*10,wobbleSpeed:Math.min(.11,Math.random()*.1+.05),velocity:p.startVelocity*.5+Math.random()*p.startVelocity,angle2D:-l+(.5*I-Math.random()*I),tiltAngle:(Math.random()*(.75-.25)+.25)*Math.PI,color:p.color,shape:p.shape,tick:0,totalTicks:p.ticks,decay:p.decay,drift:p.drift,random:Math.random()+2,tiltSin:0,tiltCos:0,wobbleX:0,wobbleY:0,gravity:p.gravity*3,ovalScalar:.6,scalar:p.scalar}}function fe(p,l){l.x+=Math.cos(l.angle2D)*l.velocity+l.drift,l.y+=Math.sin(l.angle2D)*l.velocity+l.gravity,l.wobble+=l.wobbleSpeed,l.velocity*=l.decay,l.tiltAngle+=.1,l.tiltSin=Math.sin(l.tiltAngle),l.tiltCos=Math.cos(l.tiltAngle),l.random=Math.random()+2,l.wobbleX=l.x+10*l.scalar*Math.cos(l.wobble),l.wobbleY=l.y+10*l.scalar*Math.sin(l.wobble);var I=l.tick++/l.totalTicks,M=l.x+l.random*l.tiltCos,T=l.y+l.random*l.tiltSin,P=l.wobbleX+l.random*l.tiltCos,E=l.wobbleY+l.random*l.tiltSin;if(p.fillStyle="rgba("+l.color.r+", "+l.color.g+", "+l.color.b+", "+(1-I)+")",p.beginPath(),l.shape==="circle")p.ellipse?p.ellipse(l.x,l.y,Math.abs(P-M)*l.ovalScalar,Math.abs(E-T)*l.ovalScalar,Math.PI/10*l.wobble,0,2*Math.PI):pe(p,l.x,l.y,Math.abs(P-M)*l.ovalScalar,Math.abs(E-T)*l.ovalScalar,Math.PI/10*l.wobble,0,2*Math.PI);else if(l.shape==="star")for(var x=Math.PI/2*3,D=4*l.scalar,te=8*l.scalar,N=l.x,Y=l.y,$=5,A=Math.PI/$;$--;)N=l.x+Math.cos(x)*te,Y=l.y+Math.sin(x)*te,p.lineTo(N,Y),x+=A,N=l.x+Math.cos(x)*D,Y=l.y+Math.sin(x)*D,p.lineTo(N,Y),x+=A;else p.moveTo(Math.floor(l.x),Math.floor(l.y)),p.lineTo(Math.floor(l.wobbleX),Math.floor(T)),p.lineTo(Math.floor(P),Math.floor(E)),p.lineTo(Math.floor(M),Math.floor(l.wobbleY));return p.closePath(),p.fill(),l.tick<l.totalTicks}function Sn(p,l,I,M,T){var P=l.slice(),E=p.getContext("2d"),x,D,te=d(function(N){function Y(){x=D=null,E.clearRect(0,0,M.width,M.height),T(),N()}function $(){n&&!(M.width===i.width&&M.height===i.height)&&(M.width=p.width=i.width,M.height=p.height=i.height),!M.width&&!M.height&&(I(p),M.width=p.width,M.height=p.height),E.clearRect(0,0,M.width,M.height),P=P.filter(function(A){return fe(E,A)}),P.length?x=m.frame($):Y()}x=m.frame($),D=Y});return{addFettis:function(N){return P=P.concat(N),te},canvas:p,promise:te,reset:function(){x&&m.cancel(x),D&&D()}}}function Wt(p,l){var I=!p,M=!!f(l||{},"resize"),T=f(l,"disableForReducedMotion",Boolean),P=a&&!!f(l||{},"useWorker"),E=P?h():null,x=I?ee:De,D=p&&E?!!p.__confetti_initialized:!1,te=typeof matchMedia=="function"&&matchMedia("(prefers-reduced-motion)").matches,N;function Y(A,ut,pt){for(var he=f(A,"particleCoun
2 years ago
/* by phibr0 */