filesafe/dist/js/home.js.map

1 line
40 KiB
Plaintext
Raw Normal View History

{"version":3,"sources":["home.js"],"names":["const","lsKeys","token","chunkSize","parallelUploads","uploadsHistoryOrder","fileLength","uploadAge","page","localStorage","private","enableUserAccounts","maxSize","temporaryUploadAges","fileIdentifierLength","album","maxSizeBytes","urlMaxSize","urlMaxSizeBytes","tabs","activeTab","albumSelect","previewTemplate","dropzone","clipboardJS","lazyLoad","imageExtensions","checkIfPublic","onFailure","axios","get","then","response","data","parseInt","preparePage","catch","prepareUpload","verifyToken","button","document","querySelector","href","classList","remove","innerText","reloadOnError","post","success","swal","title","text","description","icon","removeItem","location","reload","addEventListener","value","prepareShareX","fetchAlbums","prepareUploadConfig","innerHTML","getPrettyBytes","add","prepareDropzone","event","uploadUrls","currentTarget","tabsContainer","querySelectorAll","loop","i","id","dataset","tabContent","setActiveTab","push","tab","content","length","index","let","headers","Array","isArray","albums","option","createElement","name","appendChild","previewNode","parentNode","removeChild","tabDiv","div","className","previewsContainer","Dropzone","body","url","paramName","clickable","maxFilesize","uploadMultiple","createImageThumbnails","autoProcessQueue","chunking","Boolean","parallelChunkUploads","chunksUploaded","file","done","previewElement","setAttribute","files","uuid","upload","original","type","albumid","filelength","age","error","toString","updateTemplate","on","xhr","chunked","setRequestHeader","progress","test","size","updateTemplateIcon","contains","urls","split","filter","trim","join","map","firstChild","posted","result","removeAttribute","run","templateElement","iconClass","iconElement","a","clipboard","clipboardText","parentElement","exec","includes","toLowerCase","img","src","onerror","update","expirydate","expiryDate","getPrettyDate","Date","createAlbum","buttons","cancel","confirm","closeModal","download","checked","public","selected","console","fallback","numConfig","min","max","fileLengthDiv","element","stored","default","helpText","range","force","disabled","isNaN","Object","keys","forEach","key","uploadAgeDiv","parseFloat","getPrettyUploadAge","form","preventDefault","siBytes","uploadFields","checkValidity","prefKeys","elements","numKeys","parsed","Math","hours","minutes","days","window","items","clipboardData","originalEvent","item","kind","blob","getAsFile","File","match","addFile","onload","undefined","uploadButton","statusText","520","521","522","523","524","525","526","527","530","status","ClipboardJS","LazyLoad","elements_selector"],"mappings":"AAEAA,IAAMC,OAAS,CACbC,MAAO,QACPC,UAAW,YACXC,gBAAiB,kBACjBC,oBAAqB,sBACrBC,WAAY,aACZC,UAAW,aAGPC,KAAO,CAEXN,MAAOO,aAAaR,OAAOC,OAG3BQ,QAAS,KACTC,mBAAoB,KACpBC,QAAS,KACTT,UAAW,KACXU,oBAAqB,KACrBC,qBAAsB,KAGtBC,MAAO,KAEPX,gBAAiB,KACjBC,oBAAqB,KACrBC,WAAY,KACZC,UAAW,KAEXS,aAAc,KACdC,WAAY,KACZC,gBAAiB,KAEjBC,KAAM,GACNC,UAAW,KACXC,YAAa,KACbC,gBAAiB,KAEjBC,SAAU,KACVC,YAAa,KACbC,SAAU,KAEVC,gBAAiB,CAAC,QAAS,OAAQ,QAAS,OAAQ,OAAQ,OAAQ,QAGtEC,cAAkB,SAAGC,GACnB,OAAOC,MAAMC,IAAI,aACdC,MAAI,SAACC,GAQJ,OAPAxB,KAAKE,QAAUsB,EAASC,KAAKvB,QAC7BF,KAAKG,mBAAqBqB,EAASC,KAAKtB,mBACxCH,KAAKI,QAAUsB,SAASF,EAASC,KAAKrB,SACtCJ,KAAKQ,aAA8B,IAAfR,KAAKI,QACzBJ,KAAKL,UAAY+B,SAASF,EAASC,KAAK9B,WACxCK,KAAKK,oBAAsBmB,EAASC,KAAKpB,oBACzCL,KAAKM,qBAAuBkB,EAASC,KAAKnB,qBACnCN,KAAK2B,YAAYP,MAEzBQ,MAAMR,IAGXO,YAAgB,SAAGP,GACjB,IAAIpB,KAAKE,QAaP,OAAOF,KAAK6B,cAAcT,GAZ1B,GAAIpB,KAAKN,MACP,OAAOM,KAAK8B,YAAY9B,KAAKN,MAAO0B,GAAW,GAE/C5B,IAAMuC,EAASC,SAASC,cAAc,kBACtCF,EAAOG,KAAO,OACdH,EAAOI,UAAUC,OAAO,cACpBpC,KAAKG,mBACP4B,EAAOM,UAAY,kDAEnBN,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