PageSourceSearch

https://medum.jp/_nuxt/DBPKZ898.js

js medum.jp collected 2026-10-05 18:58:36 UTC 13,427 bytes, 1 lines download raw bytes

1import{_ as H}from"./A6olcsRq.js";import{_ as Q,a as G}from"./pjt99MY9.js";import{s as J,v as I,x as K,y as A,z as P,A as U,B as W,e as X,f as Y,j as Z,u as tt,h as et,c as _,b as q,w as E,o as v,a as s,i as d,t as h,C as st,D as B,E as $,G as S,m as F,H as R,I as ot,d as V,q as k,J as nt}from"./CYytju-9.js";import{u as at}from"./BDF9oO2k.js";import"./DlAUqK2U.js";import"./3S90hoFV.js";const lt=[1779033703,-1150833019,1013904242,-1521486534,1359893119,-1694144372,528734635,1541459225],it=[1116352408,1899447441,-1245643825,-373957723,961987163,1508970993,-1841331548,-1424204075,-670586216,310598401,607225278,1426881987,1925078388,-2132889090,-1680079193,-1046744716,-459576895,-272742522,264347078,604807628,770255983,1249150122,1555081692,1996064986,-1740746414,-1473132947,-1341970488,-1084653625,-958395405,-710438585,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,-2117940946,-1838011259,-1564481375,-1474664885,-1035236496,-949202525,-778901479,-694614492,-200395387,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,-2067236844,-1933114872,-1866530822,-1538233109,-1090935817,-965641998],rt="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_",D=[];class ct{_data=new T;_hash=new T([...lt]);_nDataBytes=0;_minBufferSize=0;finalize(n){n&&this._append(n);const e=this._nDataBytes*8,t=this._data.sigBytes*8;return this._data.words[t>>>5]|=128<<24-t%32,this._data.words[(t+64>>>9<<4)+14]=Math.floor(e/4294967296),this._data.words[(t+64>>>9<<4)+15]=e,this._data.sigBytes=this._data.words.length*4,this._process(),this._hash}_doProcessBlock(n,e){const t=this._hash.words;let a=t[0],i=t[1],c=t[2],m=t[3],u=t[4],b=t[5],x=t[6],w=t[7];for(let l=0;l<64;l++){if(l<16)D[l]=n[e+l]|0;else{const r=D[l-15],L=(r<<25|r>>>7)^(r<<14|r>>>18)^r>>>3,C=D[l-2],z=(C<<15|C>>>17)^(C<<13|C>>>19)^C>>>10;D[l]=L+D[l-7]+z+D[l-16]}const M=u&b^~u&x,p=a&i^a&c^i&c,o=(a<<30|a>>>2)^(a<<19|a>>>13)^(a<<10|a>>>22),j=(u<<26|u>>>6)^(u<<21|u>>>11)^(u<<7|u>>>25),y=w+j+M+it[l]+D[l],g=o+p;w=x,x=b,b=u,u=m+y|0,m=c,c=i,i=a,a=y+g|0}t[0]=t[0]+a|0,t[1]=t[1]+i|0,t[2]=t[2]+c|0,t[3]=t[3]+m|0,t[4]=t[4]+u|0,t[5]=t[5]+b|0,t[6]=t[6]+x|0,t[7]=t[7]+w|0}_append(n){typeof n=="string"&&(n=T.fromUtf8(n)),this._data.concat(n),this._nDataBytes+=n.sigBytes}_process(n){let e,t=this._data.sigBytes/64;n?t=Math.ceil(t):t=Math.max((t|0)-this._minBufferSize,0);const a=t*16,i=Math.min(a*4,this._data.sigBytes);if(a){for(let c=0;c<a;c+=16)this._doProcessBlock(this._data.words,c);e=this._data.words.splice(0,a),this._data.sigBytes-=i}return new T(e,i)}}class T{words;sigBytes;constructor(n,e){n=this.words=n||[],this.sigBytes=e===void 0?n.length*4:e}static fromUtf8(n){const e=unescape(encodeURIComponent(n)),t=e.length,a=[];for(let i=0;i<t;i++)a[i>>>2]|=(e.charCodeAt(i)&255)<<24-i%4*8;return new T(a,t)}toBase64(){const n=[];for(let e=0;e<this.sigBytes;e+=3){const t=this.words[e>>>2]>>>24-e%4*8&255,a=this.words[e+1>>>2]>>>24-(e+1)%4*8&255,i=this.words[e+2>>>2]>>>24-(e+2)%4*8&255,c=t<<16|a<<8|i;for(let m=0;m<4&&e*8+m*6<this.sigBytes*8;m++)n.push(rt.charAt(c>>>6*(3-m)&63))}return n.join("")}concat(n){if(this.words[this.sigBytes>>>2]&=4294967295<<32-this.sigBytes%4*8,this.words.length=Math.ceil(this.sigBytes/4),this.sigBytes%4)for(let e=0;e<n.sigBytes;e++){const t=n.words[e>>>2]>>>24-e%4*8&255;this.words[this.sigBytes+e>>>2]|=t<<24-(this.sigBytes+e)%4*8}else for(let e=0;e<n.sigBytes;e+=4)this.words[this.sigBytes+e>>>2]=n.words[e>>>2];this.sigBytes+=n.sigBytes}}function pt(f){return new ct().finalize(f).toBase64()}function O(f){return pt(J(f))}function dt(f,n,e){const[t={},a]=typeof n=="string"?[{},n]:[n,e],i=P(()=>U(f)),c=P(()=>U(t.key)||"$f"+O([a,typeof i.value=="string"?i.value:"",...ut(t)]));if(!t.baseURL&&typeof i.value=="string"&&i.value[0]==="/"&&i.value[1]==="/")throw new Error('[nuxt] [useFetch] the request URL must not start with "//".');const{server:m,lazy:u,default:b,transform:x,pick:w,watch:l,immediate:M,getCachedData:p,deep:o,dedupe:j,timeout:y,...g}
1=t,r=I({...K,...g,cache:typeof t.cache=="boolean"?void 0:t.cache}),L={server:m,lazy:u,default:b,transform:x,pick:w,immediate:M,getCachedData:p,deep:o,dedupe:j,timeout:y,watch:l===!1?[]:[...l||[],r]};if(!M){let z=function(){L.immediate=!0};A(c,z,{flush:"sync",once:!0}),A([...l||[],r],z,{flush:"sync",once:!0})}return at(l===!1?c.value:c,(z,{signal:N})=>(t.$fetch||globalThis.$fetch)(i.value,{signal:N,...r}),L)}function ut(f){const n=[U(f.method)?.toUpperCase()||"GET",U(f.baseURL)];for(const e of[f.query||f.params]){const t=U(e);if(!t)continue;const a={};for(const[i,c]of Object.entries(t))a[U(i)]=U(c);n.push(a)}if(f.body){const e=U(f.body);if(!e)n.push(O(e));else if(e instanceof ArrayBuffer)n.push(O(Object.fromEntries([...new Uint8Array(e).entries()].map(([t,a])=>[t,a.toString()]))));else if(e instanceof FormData){const t={};for(const a of e.entries()){const[i,c]=a;t[i]=c instanceof File?c.name:c}n.push(O(t))}else if(W(e))n.push(O(I(e)));else try{n.push(O(e))}catch{console.warn("[useFetch] Failed to hash body",e)}}return n}const mt={class:"pt-[50px] md:pt-[140px] px-0 md:px-[40px] md:max-w-[704px] mx-auto"},ft={key:0},ht={class:"text-center text-[14px] md:text-[18px] md:mb-[120px]"},xt={class:"my-[20px]"},yt={class:"my-[35px] md:my-[50px]"},_t=["placeholder"],vt={key:0,class:"text-[#FF3F3F] text-[12px] md:text-[18px] mt-[-30px]"},bt={class:"my-[35px] md:my-[50px]"},wt=["placeholder"],gt={key:1,class:"text-[#FF3F3F] text-[12px] md:text-[18px] mt-[-30px]"},kt={class:"my-[35px] md:my-[50px]"},Bt=["placeholder"],$t={key:2,class:"text-[#FF3F3F] text-[12px] md:text-[18px] mt-[-30px]"},Ft={class:"mt-[60px] mb-[50px] md:my-[90px]"},Ut={class:"text-[14px] md:text-[18px] mb-[20px] md:mb-[25px]"},jt={class:"my-[10px]"},Dt={class:"inline-flex items-center"},Mt={class:"relative flex items-center cursor-pointer",for:"contact_type1"},Ct={class:"ml-[12px] text-slate-600 cursor-pointer text-[14px] md:text-[18px]",for:"contact_type1"},Vt={class:"my-[10px]"},Ot={class:"inline-flex items-center"},Tt={class:"relative flex items-center cursor-pointer",for:"contact_type2"},zt={class:"ml-[12px] text-slate-600 cursor-pointer text-[14px] md:text-[18px]",for:"contact_type2"},Lt={class:"my-[10px]"},St={class:"inline-flex items-center"},qt={class:"relative flex items-center cursor-pointer",for:"contact_type3"},Rt={class:"ml-[12px] text-slate-600 cursor-pointer text-[14px] md:text-[18px]",for:"contact_type3"},At={key:0,class:"text-[#FF3F3F] text-[12px] md:text-[18px] mt-[0px]"},Pt=["placeholder"],Et={key:0,class:"text-[#FF3F3F] text-[12px] md:text-[18px] mt-[5px]"},It={class:"mt-[60px] md:mt-[80px]"},Nt={class:"md:flex justify-between"},Ht={class:"inline-flex items-center"},Qt={class:"flex items-center cursor-pointer relative",for:"check-with-link"},Gt={class:"cursor-pointer ml-[17px] text-slate-600 text-[12px] md:text-[18px]",for:"agree_policy"},Jt={key:0},Kt={href:"https://quantum.ne.jp/policies",class:"hover:text-slate-800 underline",target:"_blank",ref:"noreferer noopener"},Wt={key:1},Xt={href:"https://quantum.ne.jp/en/policies",class:"hover:text-slate-800 underline",target:"_blank",ref:"noreferer noopener"},Yt={key:2},Zt={href:"https://quantum.ne.jp/en/policies",class:"hover:text-slate-800 underline",target:"_blank",ref:"noreferer noopener"},te={class:"flex justify-center mt-[75px] md:mt-0"},ee=["disabled"],se={key:1},oe=["innerHTML"],ne={class:"text-center mt-[40px]"},ue=X({__name:"index",setup(f){const{t:n,locale:e}=Y(),t=Z();tt(()=>({title:"CONTACT | MEDUM",meta:[{name:"description",content:n("top.meta.description")}]}));const a=k(""),i=k(""),c=k(""),m=k(""),u=k("プロジェクトのご依頼"),b=k(!1),x=k(!1),w=k(!1),l=k({username:"",email:"",company:"",content:"",contact_type:""}),M=async()=>{if(w.value)return;w.value=!0,l.value.username="",l.value.email="",l.value.company="",l.value.content="",l.value.contact_type="";const p=nt(),o=new FormData;o.append("username",a.value),o.append("company",i.value),o.append("email",c.value),o.append("content",m.value),o.append("contact_type",u.value),o.append("_wpcf7_unit_tag",p.public.wpcf7UnitTag);const j=`wp-json/contact-form-7/v1/contact-forms/${p.public.contactFormId}/feedback`,{data:y}=await dt(`${p.public.apiHost}/${j}`,{method:"post",body:o},"$OQsSOnz3QQ");
1if(y.value.invalid_fields&&y.value.invalid_fields.length>0)for(const g of y.value.invalid_fields){if(!g.message)continue;const r=g.field;l.value[r]=g.message}else y.value.status=="mail_sent"&&(b.value=!0);w.value=!1};return et(()=>{}),(p,o)=>{const j=H,y=Q,g=G;return v(),_("div",null,[q(y,null,{default:E(()=>[s("section",mt,[d(b)?F("",!0):(v(),_("div",ft,[s("p",ht,h(p.$t("contact.guide")),1),s("div",xt,[s("form",{onSubmit:st(M,["prevent"])},[s("div",yt,[B(s("input",{"onUpdate:modelValue":o[0]||(o[0]=r=>$(a)?a.value=r:null),type:"text",placeholder:`*${p.$t("contact.name")}`,class:"w-full"},null,8,_t),[[S,d(a)]])]),d(l).username?(v(),_("p",vt,h(p.$t(`contact.errors.${d(l).username}`)),1)):F("",!0),s("div",bt,[B(s("input",{"onUpdate:modelValue":o[1]||(o[1]=r=>$(i)?i.value=r:null),type:"text",placeholder:`*${p.$t("contact.company")}`,class:"w-full"},null,8,wt),[[S,d(i)]])]),d(l).company?(v(),_("p",gt,h(p.$t(`contact.errors.${d(l).company}`)),1)):F("",!0),s("div",kt,[B(s("input",{"onUpdate:modelValue":o[2]||(o[2]=r=>$(c)?c.value=r:null),type:"text",placeholder:`*${p.$t("contact.email")}`,class:"w-full"},null,8,Bt),[[S,d(c)]])]),d(l).email?(v(),_("p",$t,h(p.$t(`contact.errors.${d(l).email}`)),1)):F("",!0),s("div",Ft,[s("p",Ut,h(p.$t("contact.contact_type")),1),s("div",jt,[s("div",Dt,[s("label",Mt,[B(s("input",{"onUpdate:modelValue":o[3]||(o[3]=r=>$(u)?u.value=r:null),name:"contact_type",type:"radio",value:"プロジェクトのご依頼",class:"peer h-[30px] w-[30px] cursor-pointer appearance-none rounded-full border border-[#1e1e1e] checked:border-[#1e1e1e] transition-all",id:"contact_type1"},null,512),[[R,d(u)]]),o[8]||(o[8]=s("span",{class:"absolute bg-slate-800 w-[14px] h-[14px] rounded-full opacity-0 peer-checked:opacity-100 transition-opacity duration-200 top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2"},null,-1))]),s("label",Ct,h(p.$t("contact.contact_type1")),1)])]),s("div",Vt,[s("div",Ot,[s("label",Tt,[B(s("input",{"onUpdate:modelValue":o[4]||(o[4]=r=>$(u)?u.value=r:null),name:"contact_type",type:"radio",value:"取材、講演、その他広報関連のご依頼",class:"peer h-[30px] w-[30px] cursor-pointer appearance-none rounded-full border border-[#1e1e1e] checked:border-[#1e1e1e] transition-all",id:"contact_type2"},null,512),[[R,d(u)]]),o[9]||(o[9]=s("span",{class:"absolute bg-slate-800 w-[14px] h-[14px] rounded-full opacity-0 peer-checked:opacity-100 transition-opacity duration-200 top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2"},null,-1))]),s("label",zt,h(p.$t("contact.contact_type2")),1)])]),s("div",Lt,[s("div",St,[s("label",qt,[B(s("input",{"onUpdate:modelValue":o[5]||(o[5]=r=>$(u)?u.value=r:null),name:"contact_type",type:"radio",value:"その他のお問い合わせ",class:"peer h-[30px] w-[30px] cursor-pointer appearance-none rounded-full border border-[#1e1e1e] checked:border-[#1e1e1e] transition-all",id:"contact_type3"},null,512),[[R,d(u)]]),o[10]||(o[10]=s("span",{class:"absolute bg-slate-800 w-[14px] h-[14px] rounded-full opacity-0 peer-checked:opacity-100 transition-opacity duration-200 top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2"},null,-1))]),s("label",Rt,h(p.$t("contact.contact_type3")),1)])]),d(l).contact_type?(v(),_("p",At,h(p.$t(`contact.errors.${d(l).contact_type}`)),1)):F("",!0)]),s("div",null,[B(s("textarea",{"onUpdate:modelValue":o[6]||(o[6]=r=>$(m)?m.value=r:null),placeholder:`*${p.$t("contact.content")}`,class:"w-full px-[12px] py-[15px] block",rows:"15"},null,8,Pt),[[S,d(m)]]),d(l).content?(v(),_("p",Et,h(p.$t(`contact.errors.${d(l).content}`)),1)):F("",!0)]),s("div",It,[s("div",Nt,[s("div",Ht,[s("label",Qt,[B(s("input",{"onUpdate:modelValue":o[7]||(o[7]=r=>$(x)?x.value=r:null),type:"checkbox",class:"peer h-[30px] w-[30px] cursor-pointer transition-all appearance-none border border-black",i
1d:"agree_policy"},null,512),[[ot,d(x)]]),o[11]||(o[11]=s("span",{class:"absolute text-white opacity-0 peer-checked:opacity-100 top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2 pointer-events-none"},[s("div",{class:"w-[14px] h-[14px] bg-[#000000] pointer-events-none"})],-1))]),s("label",Gt,[d(e)=="ja"?(v(),_("p",Jt,[s("a",Kt," プライバシーポリシー ",512),o[12]||(o[12]=V(" に同意する ",-1))])):d(e)=="en"?(v(),_("p",Wt,[o[13]||(o[13]=V(" I agree to quantum's ",-1)),s("a",Xt," Privacy Policy ",512),o[14]||(o[14]=V(" . ",-1))])):d(e)=="cn"?(v(),_("p",Yt,[o[15]||(o[15]=V(" 同意 ",-1)),s("a",Zt," 隐私政策 ",512)])):F("",!0)])]),s("div",te,[s("button",{type:"submit",class:"text-[16px] md:text-[18px] relative px-[4px] font-semibold",disabled:!d(x)},[V(h(p.$t("contact.submit")),1),o[16]||(o[16]=s("span",{class:"absolute w-full h-[1px] left-0 right-0 bottom-[-4px] bg-[#000000]"},null,-1))],8,ee)])])])],32)])])),d(b)?(v(),_("div",se,[s("p",{class:"text-[14px] md:text-[18px] leading-6 md:leading-8",innerHTML:p.$t("contact.thanks")},null,8,oe),s("div",ne,[q(j,{to:d(t)("/"),class:"text-[16px] md:text-[18px] font-semibold underline"},{default:E(()=>[V(h(p.$t("contact.back")),1)]),_:1},8,["to"])])])):F("",!0)])]),_:1}),q(g)])}}});
1export{ue 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.