PageSourceSearch

https://superlive.chat/_nuxt/BQYhTLODlvMt.js

js superlive.chat collected 2026-10-08 17:34:52 UTC 7,467 bytes, 1 lines download raw bytes

1try{let e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},a=(new e.Error).stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="98641f63-336e-4482-b0ca-bad48d232f89",e._sentryDebugIdIdentifier="sentry-dbid-98641f63-336e-4482-b0ca-bad48d232f89")}catch(oe){}import{_ as e}from"./H_65vOYDCKqz.js";import{bz as a,gx as t,bI as l,dT as s,c8 as i,bH as r,cr as n,bK as o}from"./Bq_YjAq9y6kq.js";import{_ as c}from"./CB6WZwQjtFMr.js";import{C as d,_ as u,I as m,Q as p,x as b,a8 as f,a6 as _,j as x,ai as h,aa as g,V as y,a7 as w,Z as v,T as k,P as C,ah as j,aA as q}from"./B9WoIr7xBb0v.js";import{c as z,e as I,a as E,f as T,F as D,b as M}from"./DlJsC1UHr0Ef.js";import{a as R}from"./MqxEa4xOZ9Pu.js";import"./BqcvQ29vVXJB.js";const S={class:"flex flex-col h-full overflow-hidden md:max-w-3xl md:mx-auto"},U={class:"p-6 my-4 flex-1 min-h-0 overflow-y-auto"},A={class:"flex flex-col gap-2"},N={key:0,class:"text-xs text-danger-600"},O={class:"flex flex-col gap-2"},P={class:"text-white font-semibold"},Q={class:"flex flex-col gap-2"},V={class:"text-white font-semibold"},W={key:0,class:"absolute top-full inset-s-0 mt-1 w-full bg-surface-800 rounded-lg shadow-[0_8px_24px_rgba(0,0,0,0.4)] z-10 py-1"},F=["onClick"],H={class:"text-xs text-white/30"},K={class:"flex flex-col gap-2"},L=["placeholder"],Y={class:"flex flex-col gap-1 text-xs text-white/30"},Z={class:"flex gap-2 flex-col"},B={class:"flex items-start gap-3 cursor-pointer text-white"},G=["checked","onChange"],J={class:"flex flex-col gap-1 text-sm"},X={class:"font-bold"},$={class:"flex flex-col gap-1 text-sm"},ee={class:"text-white/30"},ae={class:"flex flex-col gap-2"},te={class:"text-white font-semibold"},le={class:"text-xs text-white/30"},se={class:"flex items-start gap-3 cursor-pointer text-white"},ie=["checked","onChange"],re={class:"text-sm"},ne=d({__name:"dmca",setup(d){const ne=i(),{t:oe}=a(),ce=x(null),de=x(!1),ue=x(!1),me=ne.public.brandName||ne.public.appName||"",pe=[{value:t.NEW_URLS,label:oe(l.dmca_submission_type_new)},{value:t.UPDATE_TO_PREVIOUS_REQUEST,label:oe(l.dmca_submission_type_update)}],be=z({email:E().trim().email(oe(l.must_be_email)).required(),username:E().trim().required(),submission_type:T().required(),urls:E().trim().required(),copyright_confirm:I().oneOf([!0]).required(),signature:E().trim().required(),email_updates:I()}),fe=e=>pe.find(a=>a.value===e)?.label??null;s(ce,()=>{de.value=!1});const _e=async e=>{if(ue.value)return;const a=e;ue.value=!0;try{const{data:e,error:t}=await R({email_address:a.email.trim()||null,name:a.username.trim()||null,link_to_content:null,content:a.urls.trim(),signature:a.signature.trim()||null,submission_type:a.submission_type??null});if(t.value||!e.value?.success)return void r.error(n(t));r.success("Your request has been submitted.")}finally{ue.value=!1}};return(a,t)=>{const s=e,i=q("i18n-t"),r=o,n=c;return u(),m("div",S,[p(s,{title:b(oe)(b(l).dmca_submit_request_title),"has-go-back-button":"","title-class":"md:text-3xl font-bold uppercase"},null,8,["title"]),f("div",U,[p(b(D),{"validation-schema":b(be),class:"flex flex-col gap-6",onSubmit:_e},{default:_(({meta:e})=>[p(b(M),{name:"email"},{default:_(({field:e,errorMessage:a})=>[f("div",A,[p(i,{keypath:b(l).dmca_email_label,tag:"label",class:"text-white font-semibold"},{appname:_(()=>[h(g(b(me)),1)]),_:1},8,["keypath"]),f("input",y(e,{type:"email",class:["w-full bg-black/20 text-white rounded-lg px-3.5 py-2.5 text-sm outline-none border transition-colors focus:border-white/30",a?"border-danger-600":"border-white/10"]}),null,16),a?(u(),m("span",N,g(a),1)):w("",!0)])]),_:1}),p(b(M),{name:"username"},{default:_(({field:e})=>[f("div",O,[f("label",P,"What is your "+g(b(me))+" username?",1),f("input",y(e,{type:"text",class:"w-full bg-black/20 text-white rounded-lg px-3.5 py-2.5 text-sm outline-none border border-white/10 transition-colors focus:border-white/30"}),null,16)])]),_:1}),p(b(M),{name:"submission_type"},{default:_(({value:e,errorMessage:a,handleChange:s})=>[f("div",Q,[f("label",V,g(b(oe)(b(l).dmca_submission_type_label)),1
1),f("div",{ref_key:"typeDropdownRef",ref:ce,class:"relative"},[f("button",{type:"button",class:v(["w-full flex items-center justify-between bg-black/20 text-white rounded-lg px-3.5 py-2.5 text-sm border transition-colors focus:border-white/30 cursor-pointer",a?"border-danger-600":"border-white/10"]),onClick:t[0]||(t[0]=e=>de.value=!b(de))},[f("span",{class:v({"text-white/30":!fe(e)})},g(fe(e)??b(oe)(b(l).dmca_submission_type_new)),3),p(r,{name:"spl-web:chevron-down",size:"12",mode:"svg",class:v(["**:fill-white/60 transition-transform",{"rotate-180":b(de)}])},null,8,["class"])],2),p(k,{"enter-active-class":"transition-all duration-150 ease-out","leave-active-class":"transition-all duration-100 ease-in","enter-from-class":"opacity-0 -translate-y-1","leave-to-class":"opacity-0 -translate-y-1"},{default:_(()=>[b(de)?(u(),m("ul",W,[(u(),m(C,null,j(pe,a=>f("li",{key:a.value,class:v(["px-3.5 py-2.5 text-white text-sm cursor-pointer transition-colors hover:bg-white/5",{"bg-white/10 font-semibold":e===a.value}]),onClick:()=>{s(a.value),de.value=!1}},g(a.label),11,F)),64))])):w("",!0)]),_:2},1024)],512),f("p",H,g(b(oe)(b(l).dmca_submission_type_question)),1)])]),_:1}),p(b(M),{name:"urls"},{default:_(({field:e,errorMessage:a})=>[f("div",K,[p(i,{keypath:b(l).dmca_urls_label,tag:"label",class:"text-white font-semibold"},{appname:_(()=>[h(g(b(me)),1)]),_:1},8,["keypath"]),f("textarea",y(e,{rows:"8",placeholder:b(oe)(b(l).dmca_urls_description),class:["w-full bg-black/20 text-white rounded-lg p-3.5 text-sm outline-none resize-none border transition-colors focus:border-white/30 placeholder:text-white/30",a?"border-danger-600":"border-white/10"]}),null,16,L),f("div",Y,[p(i,{keypath:b(l).dmca_urls_single_content_note,tag:"p"},{appname:_(()=>[h(g(b(me)),1)]),_:1},8,["keypath"]),f("p",null,g(b(oe)(b(l).dmca_urls_multiple_content_note)),1),p(i,{keypath:b(l).dmca_urls_example_label,tag:"p"},{new_line:_(()=>[...t[1]||(t[1]=[f("br",null,null,-1)])]),_:1},8,["keypath"])])])]),_:1}),p(b(M),{name:"copyright_confirm"},{default:_(({value:e,handleChange:a})=>[f("div",Z,[f("label",B,[f("input",{type:"checkbox",checked:e,class:"mt-0.5 size-5 shrink-0 accent-primary-500",onChange:e=>a(e.target.checked)},null,40,G),f("span",J,[f("span",X,g(b(oe)(b(l).dmca_copyright_checkbox_label)),1)])]),f("span",$,[f("span",ee,g(b(oe)(b(l).dmca_signature_label)),1)])])]),_:1}),p(b(M),{name:"signature"},{default:_(({field:e,errorMessage:a})=>[f("div",ae,[f("label",te,g(b(oe)(b(l).dmca_signature_header)),1),f("input",y(e,{type:"text",class:["w-full bg-black/20 text-white rounded-lg px-3.5 py-2.5 text-sm outline-none border transition-colors focus:border-white/30",a?"border-danger-600":"border-white/10"]}),null,16),f("p",le,g(b(oe)(b(l).dmca_email_updates_consent)),1)])]),_:1}),p(b(M),{name:"email_updates"},{default:_(({value:e,handleChange:a})=>[f("label",se,[f("input",{type:"checkbox",checked:e,class:"mt-0.5 size-5 shrink-0 accent-primary-500",onChange:e=>a(e.target.checked)},null,40,ie),f("span",re,g(b(oe)(b(l).dmca_signature_checkbox)),1)])]),_:1}),p(n,{type:"submit",variant:"primary",size:"large",class:"self-start",loading:b(ue),disabled:!e.valid||b(ue)},{default:_(()=>[h(g(b(oe)(b(l).abuse_illegal_submit)),1)]),_:1},8,["loading","disabled"])]),_:1},8,["validation-schema"])])])}}});export{ne 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.