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.

11 lines
141 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)
*/
1 week ago
var Ze=Object.defineProperty,Gn=Object.defineProperties,Yn=Object.getOwnPropertyDescriptor,Qn=Object.getOwnPropertyDescriptors,ea=Object.getOwnPropertyNames,qe=Object.getOwnPropertySymbols;var _t=Object.prototype.hasOwnProperty,io=Object.prototype.propertyIsEnumerable;var ao=(t,o,e)=>o in t?Ze(t,o,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[o]=e,Je=(t,o)=>{for(var e in o||(o={}))_t.call(o,e)&&ao(t,e,o[e]);if(qe)for(var e of qe(o))io.call(o,e)&&ao(t,e,o[e]);return t},ro=(t,o)=>Gn(t,Qn(o));var so=(t,o)=>{var e={};for(var n in t)_t.call(t,n)&&o.indexOf(n)<0&&(e[n]=t[n]);if(t!=null&&qe)for(var n of qe(t))o.indexOf(n)<0&&io.call(t,n)&&(e[n]=t[n]);return e};var ta=(t,o)=>{for(var e in o)Ze(t,e,{get:o[e],enumerable:!0})},oa=(t,o,e,n)=>{if(o&&typeof o=="object"||typeof o=="function")for(let a of ea(o))!_t.call(t,a)&&a!==e&&Ze(t,a,{get:()=>o[a],enumerable:!(n=Yn(o,a))||n.enumerable});return t};var na=t=>oa(Ze({},"__esModule",{value:!0}),t);var ni={};ta(ni,{default:()=>gt});module.exports=na(ni);var Xe=require("obsidian");var kt=require("obsidian");var co={};var lo={"Open Commander Settings":"Otev\u0159\xEDt nastaven\xED Commandera","Open Macro Builder":"Otev\u0159\xEDt tv\u016Frce Maker","Change Icon":"Zm\u011Bnit ikonu",Rename:"P\u0159ejmenovat",Delete:"Smazat","Add command":"P\u0159idat p\u0159\xEDkaz","Add new":"P\u0159idat nov\xFD","This Command seems to have been removed. {{command_name}}":"Tento p\u0159\xEDkaz se zd\xE1 b\xFDt odstran\u011Bn. {{command_name}}","Choose a Command to add":"Vyberte p\u0159\xEDkaz k p\u0159id\xE1n\xED","to navigate":"pro navigaci","to choose an icon":"pro v\xFDb\u011Br ikony","to cancel":"pro zru\u0161en\xED","Use a custom name":"Pou\u017E\xEDt vlastn\xED jm\xE9no","Choose a custom Name for your new Command":"Vyberte vlastn\xED jm\xE9no pro v\xE1\u0161 nov\xFD p\u0159\xEDkaz","to save":"pro ulo\u017Een\xED","Choose a Icon for your new Command":"Vyberte ikonu pro v\xE1\u0161 nov\xFD p\u0159\xEDkaz","to choose a custom icon":"pro v\xFDb\u011Br vlastn\xED ikony","Remove Command":"Odstranit p\u0159\xEDkaz","Double click to rename":"Pro p\u0159ejmenov\xE1n\xED dvakr\xE1t klikn\u011Bte","This device":"Toto za\u0159\xEDzen\xED","Added by {{plugin_name}}.":"P\u0159id\xE1no pomoc\xED {{plugin_name}}.","Warning: This is a checked Command, meaning it might not run under every circumstance.":"Varov\xE1n\xED: Tento p\u0159\xEDkaz je kontrolov\xE1n a nemus\xED fungovat ve v\u0161ech p\u0159\xEDpadech.","Move down":"P\u0159esunout dol\u016F","Move up":"P\u0159esunout nahoru","Change Mode (Currently: {{current_mode}})":"Zm\u011Bnit re\u017Eim (Nyn\xED: {{current_mode}})","Are you sure you want to delete the Command?":"Opravdu chcete smazat tento p\u0159\xEDkaz?","Remove and don't ask again":"Odstranit a u\u017E se neptat",Remove:"Odstranit",Cancel:"Zru\u0161it","Always ask before removing?":"V\u017Edy se pt\xE1t p\u0159ed odstran\u011Bn\xEDm?","Always show a Popup to confirm deletion of a Command.":"V\u017Edy zobrazovat vyskakovac\xED okno pro potvrzen\xED odstran\u011Bn\xED p\u0159\xEDkazu.",'Show "Add Command" Button':'Zobrazit tla\u010D\xEDtko "P\u0159idat p\u0159\xEDkaz"','Show the "Add Command" Button in every Menu. Requires restart.':'Zobrazit tla\u010D\xEDtko "P\u0159idat p\u0159\xEDkaz" ve v\u0161ech nab\xEDdk\xE1ch. Vy\u017Eaduje restart.',"Please restart Obsidian for these changes to take effect.":"Pros\xEDm restartujte Obsidian, aby se zm\u011Bny projevily.","Enable debugging":"Povolit lad\u011Bn\xED","Enable console output.":"Povolit v\xFDstup do konzole.",General:"Obecn\xE9","Editor Menu":"Kontextov\xE1 nab\xEDdka v editoru","File Menu":"Nab\xEDdka souboru","Left Ribbon":"Lev\xFD Ribbon","Right Ribbon":"Prav\xFD Ribbon",Titlebar:"Li\u0161ta aplikace",Statusbar:"Stavov\xE1 li\u0161ta","Page Header":"Hlavi\u010Dka str\xE1nky","Support development":"Podpo\u0159te v\xFDvoj","No commands here!":"Nejsou zde \u017E\xE1dn\xE9 p\u0159\xEDkazy!","Would you like to add one now?":"Chcete nyn\xED jeden p\u0159idat?","Hide Commands":"Skr\xFDt p\u0159\xEDkazy","Choose new":"Vyberte nov\xFD","Hide Comm
`);try{u=new Worker(URL.createObjectURL(new Blob([P])))}catch(S){return typeof console!==void 0&&typeof console.warn=="function"&&console.warn("\u{1F38A} Could not load worker",S),null}k(u)}return u}}(),g={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 x(u,c){return c?c(u):u}function _(u){return u!=null}function v(u,c,C){return x(u&&_(u[c])?u[c]:g[c],C)}function A(u){return u<0?0:Math.floor(u)}function b(u,c){return Math.floor(Math.random()*(c-u))+u}function R(u){return parseInt(u,16)}function ee(u){return u.map(ye)}function ye(u){var c=String(u).replace(/[^0-9a-f]/gi,"");return c.length<6&&(c=c[0]+c[0]+c[1]+c[1]+c[2]+c[2]),{r:R(c.substring(0,2)),g:R(c.substring(2,4)),b:R(c.substring(4,6))}}function pe(u){var c=v(u,"origin",Object);return c.x=v(c,"x",Number),c.y=v(c,"y",Number),c}function Ue(u){u.width=document.documentElement.clientWidth,u.height=document.documentElement.clientHeight}function we(u){var c=u.getBoundingClientRect();u.width=c.width,u.height=c.height}function Te(u){var c=document.createElement("canvas");return c.style.position="fixed",c.style.top="0px",c.style.left="0px",c.style.pointerEvents="none",c.style.zIndex=u,c}function te(u,c,C,k,P,S,I,w,T){u.save(),u.translate(c,C),u.rotate(S),u.scale(k,P),u.arc(0,0,1,I,w,T),u.restore()}function ke(u){var c=u.angle*(Math.PI/180),C=u.spread*(Math.PI/180);return{x:u.x,y:u.y,wobble:Math.random()*10,wobbleSpeed:Math.min(.11,Math.random()*.1+.05),velocity:u.startVelocity*.5+Math.random()*u.startVelocity,angle2D:-c+(.5*C-Math.random()*C),tiltAngle:(Math.random()*(.75-.25)+.25)*Math.PI,color:u.color,shape:u.shape,tick:0,totalTicks:u.ticks,decay:u.decay,drift:u.drift,random:Math.random()+2,tiltSin:0,tiltCos:0,wobbleX:0,wobbleY:0,gravity:u.gravity*3,ovalScalar:.6,scalar:u.scalar,flat:u.flat}}function zn(u,c){c.x+=Math.cos(c.angle2D)*c.velocity+c.drift,c.y+=Math.sin(c.angle2D)*c.velocity+c.gravity,c.velocity*=c.decay,c.flat?(c.wobble=0,c.wobbleX=c.x+10*c.scalar,c.wobbleY=c.y+10*c.scalar,c.tiltSin=0,c.tiltCos=0,c.random=1):(c.wobble+=c.wobbleSpeed,c.wobbleX=c.x+10*c.scalar*Math.cos(c.wobble),c.wobbleY=c.y+10*c.scalar*Math.sin(c.wobble),c.tiltAngle+=.1,c.tiltSin=Math.sin(c.tiltAngle),c.tiltCos=Math.cos(c.tiltAngle),c.random=Math.random()+2);var C=c.tick++/c.totalTicks,k=c.x+c.random*c.tiltCos,P=c.y+c.random*c.tiltSin,S=c.wobbleX+c.random*c.tiltCos,I=c.wobbleY+c.random*c.tiltSin;if(u.fillStyle="rgba("+c.color.r+", "+c.color.g+", "+c.color.b+", "+(1-C)+")",u.beginPath(),s&&c.shape.type==="path"&&typeof c.shape.path=="string"&&Array.isArray(c.shape.matrix))u.fill(Fn(c.shape.path,c.shape.matrix,c.x,c.y,Math.abs(S-k)*.1,Math.abs(I-P)*.1,Math.PI/10*c.wobble));else if(c.shape.type==="bitmap"){var w=Math.PI/10*c.wobble,T=Math.abs(S-k)*.1,B=Math.abs(I-P)*.1,z=c.shape.bitmap.width*c.scalar,D=c.shape.bitmap.height*c.scalar,O=new DOMMatrix([Math.cos(w)*T,Math.sin(w)*T,-Math.sin(w)*B,Math.cos(w)*B,c.x,c.y]);O.multiplySelf(new DOMMatrix(c.shape.matrix));var q=u.createPattern(h.transform(c.shape.bitmap),"no-repeat");q.setTransform(O),u.globalAlpha=1-C,u.fillStyle=q,u.fillRect(c.x-z/2,c.y-D/2,z,D),u.globalAlpha=1}else if(c.shape==="circle")u.ellipse?u.ellipse(c.x,c.y,Math.abs(S-k)*c.ovalScalar,Math.abs(I-P)*c.ovalScalar,Math.PI/10*c.wobble,0,2*Math.PI):te(u,c.x,c.y,Math.abs(S-k)*c.ovalScalar,Math.abs(I-P)*c.ovalScalar,Math.PI/10*c.wobble,0,2*Math.PI);else if(c.shape==="star")for(var L=Math.PI/2*3,X=4*c.scalar,oe=8*c.scalar,ne=c.x,ce=c.y,fe=5,re=Math.PI/fe;fe--;)ne=c.x+Math.cos(L)*oe,ce=c.y+Math.sin(L)*oe,u.lineTo(ne,ce),L+=re,ne=c.x+Math.cos(L)*X,ce=c.y+Math.sin(L)*X,u.lineTo(ne,ce),L+=re;else u.moveTo(Math.floor(c.x),Math.floor(c.y)),u.lineTo(Math.floor(c.wobbleX),Math.floor(P)),u.lineTo(Math.floor(S),Math.floor(I)),u.lineTo(Math.floor(k),Math.floor(c.wobbleY));return u.closePath(),u.fill(),c.tick<c.totalTicks}function On(u,c,C,k,P){var S=c.slice(),I=u.getContext("2d"),w,T,B=p(f
2 years ago
/* by phibr0 */
1 week ago
/* nosourcemap */