PageSourceSearch

https://absulo.sk/static/version20261005113630/frontend/Strix/lazi…/dist/assets/rma-account-abdf250c.js

js absulo.sk collected 2026-10-08 00:01:58 UTC 1,616 bytes, 2 lines download raw bytes

1import{r as l}from"./module.esm-ece68a21.js";function u({productCanReturn:s,urlUploadFile:a,urlDeleteFile:i}){return{files:[],selectedReturnType:!1,requestType:"",selectedItems:{},selectedResolutions:{},productCanReturn:s,selectReturnType(o){if(this.requestType=o,this.selectedReturnType=!0,typeof window.jQuery<"u"){const t=window.jQuery(this.$el.closest("form"));t.data("mageValidation")&&t.validation("destroy"),t.validation()}},showBankAccountNumber(){for(let o in this.selectedResolutions)if(this.selectedResolutions[o]==="2")return!0;return!1},addFiles(o){const t=new FormData,n=o.target.files;t.append("form_key",document.querySelector('input[name="form_key"]').value),Array.from(n).forEach(e=>{t.append(e.name.substr(0,e.name.lastIndexOf(".")),e)});try{fetch(a,{method:"POST",body:t}).then(e=>{if(!e.ok)throw new Error("Network response was not ok");return e.json()}).then(e=>{e.length&&e.forEach(r=>this.files.push({extension:r.extension,filehash:r.filehash,filename:r.filename}))}).catch(e=>console.error("Upload error",e))}catch(e){console.error(e)}},deleteFile(o,t,n){let e=new FormData;e.append("form_key",document.querySelector('input[name="form_key"]').value),e.append("file[filehash]",t),e.append("file[extension]",n);try{fetch(i,{method:"POST",body:e}).then(r=>{if(!r.ok)throw new Error("Network response was not ok");return r.json()}).then(r=>{r&&this.files.splice(o,1)}).catch(r=>console.error("Remove error",r))}catch(r){console.error(r)}},isDisabled(o,t){return this.requestType==="return"?t:this.requestType==="complaint"?o:!1}}}l("rmaForm",u);
2//# sourceMappingURL=rma-account-abdf250c.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.