PageSourceSearch

https://marmof.com/build/assets/Index-734c3acc.js

js marmof.com collected 2026-10-04 00:31:30 UTC 4,100 bytes, 1 lines download raw bytes

1import{H as M,E as $,r as N,o,d as n,b as s,w as i,u as c,F as _,f as r,a as e,h as d,c as D,e as p,O as B}from"./app-49265ad1.js";import{_ as S}from"./AppLayout-5afedb65.js";import{u as j,_ as O}from"./ListLayout-f1d55054.js";import{_ as h}from"./Button-7c0475a9.js";import A from"./Create-26d6a35e.js";import F from"./Edit-b41993c5.js";import{_ as H}from"./ConfirmationModal-fbc41540.js";import{_ as R}from"./SecondaryButton-ab06285f.js";import"./Aside-de32ee40.js";import"./Dropdown-70e41830.js";import"./floating-ui.dom-a5fd4560.js";import"./DropdownLink-f2616c88.js";import"./Tooltip-f4e1b632.js";import"./UpgradeModalContainer-9a9da9ae.js";import"./_plugin-vue_export-helper-c27b6911.js";import"./Modal-6a8dce15.js";import"./Checkbox-60f9b59d.js";import"./InputError-98916ca9.js";import"./InputLabel-16e10e51.js";import"./TextInput-4d216ebd.js";import"./DialogModal-7811a101.js";import"./useNotification-78c43030.js";import"./Textarea-0dacd7ae.js";import"./FilePondInput-23f5c201.js";const T={key:0},W={key:1},Y={class:"space-x-3"},q={class:"mb-6 flex items-center justify-between"},z=e("span",{class:"i-mdi:plus-circle-outline"},null,-1),G=e("span",null,"New Voice",-1),J={key:1},K={class:"flex items-center"},L=e("span",{class:"i-mdi:trash-can-outline block h-5 w-5"},null,-1),P=[L],Q={key:0,class:"min-h-96 mt-2 flex flex-col items-center justify-center space-y-5 space-x-1 rounded-xl border border-dashed text-center text-gray-400"},U=e("div",null,[e("div",{class:"rounded-full bg-secondary-50 p-5 text-secondary-900"},[e("span",{class:"i-mdi:database block text-2xl"})])],-1),X={class:"flex flex-col items-center space-y-5"},Z=e("div",null,[e("div",{class:"text-lg text-gray-900"}," You do not have any voices! "),e("p",{class:"text-sm text-neutral-500"}," Start adding in seconds. ")],-1),ee=e("span",{class:"i-mdi:plus-circle-outline"},null,-1),te=e("span",null,"New Voice",-1),Ee={__name:"Index",props:{items:{type:Object,default:{data:[]}}},setup(m){const u=j(),{isRevealed:C,reveal:g,confirm:k,cancel:v}=M(),l=$({showCreateModal:!1,currentEditItem:null}),f=N(0),x=async t=>{f.value=t.length;const{isCanceled:a}=await g();a||E(t)},y=function(){l.showCreateModal=!0},w=function(){l.showCreateModal=!1},V=function(t){l.currentEditItem=t},b=function(){l.currentEditItem=null};function E(t){B.delete(route("voice-cloning.voices.destroy"),{preserveScroll:!0,data:{items:t},onSuccess(){u.index.selected=[],notification.success({message:t.length===1?"Voice item deleted successfully.":"Voice items deleted successfully."})}})}return(t,a)=>(o(),n(_,null,[s(H,{show:c(C),onClose:c(v),maxWidth:"xl"},{title:i(()=>[f.value===1?(o(),n(_,{key:0},[r(" Are you sure to delete this voice item? ")],64)):(o(),n(_,{key:1},[r(" Are you sure to delete these voice items? ")],64))]),content:i(()=>[f.value===1?(o(),n("p",T," If you delete the data item you can't recover it. ")):(o(),n("p",W,"If you delete the voice items you can't recover them."))]),footer:i(()=>[e("div",Y,[s(R,{onClick:c(v)},{default:i(()=>[r(" Cancel")]),_:1},8,["onClick"]),s(h,{onClick:a[0]||(a[0]=d(I=>c(k)(!0),["prevent"])),color:"danger"},{default:i(()=>[r("Delete ")]),_:1})])]),_:1},8,["show","onClose"]),s(A,{show:l.showCreateModal,onClose:w},null,8,["show"]),s(F,{item:l.currentEditItem,onClose:b},null,8,["item"]),s(S,{title:"Voice Cloning | Voices",description:"Voice Cloning is a tool that allows you to create a digital voice that sounds like a real human."},{default:i(()=>[e("div",q,[m.items.data.length?(o(),D(h,{key:0,color:"secondary",class:"flex space-x-1",onClick:d(y,["prevent"])},{default:i(()=>[z,G]),_:1},8,["onClick"])):p("",!0),c(u).index.selected.length?(o(),n("div",J,[e("div",K,[e("button",{onClick:a[1]||(a[1]=d(I=>x(c(u).index.selected),["prevent"])),class:"rounded-full p-1 transition hover:bg-gray-300"},P)])])):p("",!0)]),s(O,{items:m.items,onEdit:V,onDelete:x},null,8,["items"]),m.items.data.length?p("",!0):(o(),n("div",Q,[U,e("div",X,[Z,s(h,{color:"secondary",class:"flex space-x-1",onClick:d(y,["prevent"])},{default:i(()=>[ee,te]),_:1},8,["onClick"])])]))]),_:1})],64))}};export{Ee as default};

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.