PageSourceSearch

https://www.pinkpanda.sk/_nuxt/DGBgG94C.js

js pinkpanda.sk collected 2026-10-03 23:23:27 UTC 6,160 bytes, 1 lines download raw bytes

1import{h as M,a as H,u as O,i as j,d as D,F as z,_ as K}from"./3Ps77TiH.js";import P from"./CN_Obp83.js";import Y from"./CHlO35h0.js";import G from"./DF5hyQ1Z.js";import J from"./CQsczvyr.js";import{r as y,l as Q}from"./D3pctV-p.js";import{L as W}from"./_-ErIdAR.js";import{b as R,B as X,U as r,V as l,M as d,Y as m,u as e,$ as Z,L as ee,a1 as te,P as i,z as g,S as b}from"./B9WjbkLb.js";import"./BV042yML.js";const se={class:"min-h-screen flex flex-col items-center"},ae={class:"max-w-[1700px] w-full"},le={class:"relative"},oe={class:"flex flex-col items-center absolute bottom-6 md:bottom-12 left-0 right-0 text-white"},ne={class:"text-[32px] font-primary md:text-5xl font-medium text-center uppercase md:pb-2"},ce={class:"text-sm text-center text-neutral-200"},re={key:0,class:"flex justify-center items-center w-full"},ie={key:1,class:"flex flex-col items-center w-full py-6 md:py-20"},me={class:"max-w-3xl flex flex-col items-center px-4"},ue={class:"w-full mb-3"},de={class:"text-2xl font-medium font-primary uppercase pb-3"},pe={class:"text-neutral-700 font-normal text-sm max-w-xs"},_e={class:"flex flex-col md:flex-row w-full gap-3"},fe={class:"flex-1"},he={key:0,id:"name-help",class:"p-error w-full"},xe={class:"flex-1"},ge={key:0,id:"last-name-help",class:"p-error w-full"},be={key:0,id:"email-help",class:"p-error w-full"},ye={key:1,id:"message-help",class:"p-error w-full"},ve={class:"flex flex-col w-full pb-1 pt-1"},we={class:"flex items-center"},Ve={class:"px-2 text-neutral-500"},ke={key:0,id:"policy-agreement-help",class:"p-error"},$e={key:0},Ue=["innerHTML"],Ce={key:1},Ae={__name:"contact",setup(Se){const{$api:C,$toast:p}=M(),{t:o}=H(),T=O(),f=R(!0),v=R(null),S={name:"required",lastname:"required",email:"required|email",message:"required",policy_agreement:"required"},{handleSubmit:B,errors:u,meta:h,defineField:x}=j({validationSchema:S,initialValues:{name:"",lastname:"",email:"",message:"",policy_agreement:!1}}),[w]=x("name"),[V]=x("lastname"),[k]=x("email"),[$]=x("message"),[U]=x("policy_agreement");async function I(){try{f.value=!0;const s={url:T.href.replace("/info/","").replace("/informacio/","").replace("/informacje/","")},n=await C.contactUs.contactUsText(s);v.value=n.data,f.value=!1,setTimeout(L,100)}catch(t){return p==null||p.add({status:"ERROR",summary:o("error_oh_no"),detail:"Displaying old data",life:8e3}),f.value=!1,t}}const F=B((t,s)=>{f.value=!0;const n={...t,last_name:t.lastname};C.contactUs.contactUs(n).then(a=>{a.status==="success"&&(p==null||p.add({status:"SUCCESS",summary:o("success_toaster"),detail:a.message,life:8e3}),s.resetForm()),f.value=!1}).catch(a=>{var _;p==null||p.add({status:"ERROR",summary:o("error_oh_no"),detail:(_=a.data)==null?void 0:_.message,life:8e3}),f.value=!1})});function L(){const t=document.getElementsByClassName("__cf_email__");for(let s=0;s<t.length;s++){const n=t[s],a=n.getAttribute("data-cfemail");if(a){const _=N(a);n.setAttribute("href","mailto:".concat(_)),n.innerHTML=_}}}function N(t){let s="";const n=Number.parseInt(t.substr(0,2),16);for(let a=2;a<t.length;a+=2){const _=Number.parseInt(t.substr(a,2),16)^n;s+=String.fromCharCode(_)}try{s=decodeURIComponent(escape(s))}catch(a){console.error(a)}return s}return X(async()=>{await I()}),D({title:"".concat(o("contact_title")," | ").concat(o("store_name")),meta:[{property:"og:title",content:"".concat(o("contact_title")," | ").concat(o("store_name"))},{name:"description",content:o("contact_subtitle")},{property:"og:description",content:o("contact_subtitle")},{name:"twitter:title",content:"".concat(o("contact_title")," | ").concat(o("store_name"))},{name:"twitter:description",content:o("contact_subtitle")}]}),(t,s)=>{const n=K,a=P,_=Y,E=G,q=J,A=z;return i(),r("div",se,[l("div",ae,[l("div",le,[d(n,{class:"w-full sm:block hidden",src:"/img/about.png",alt:"About background"}),d(n,{class:"w-full block sm:hidden",src:"/img/about2.png",alt:"About background 2"}),l("div",oe,[l("h1",ne,m(t.$t("contact_title")),1),l("h3",ce,m(t.$t("contact_subtitle")),1)])]),e(f)?(i(),r("div",re,[d(e(W),{class:"w-8 py-16"})])):(i(),r("div",ie,[l("div",me,[d(A,{name:"form-contact-us","validation-schema":S,class:"flex flex-col items-center w-full gap-3 pb-12",onSubmit:e(F)},{default:Z(()=>[l("div",ue,[l("p",de,m(t.$t("contact_form_title")),1),l("p",pe,m(t.$t("contact_cta_subtext")),1)]),l("div",_e,[l("div",fe,[d(a,{modelValue:e(w),"onUpdate:modelValue":s[0]||(s[0]=c=>g(w)?w.value=c:null),name:"name",placeholder:t.$t("name"),pt:e(y)},null,8,["modelValue","placeholder","pt"]),e(u).name&&e(h).touched?(i(),r("small",he,m(e(u).name),1)):b("",!0)]),l("div",xe,[d(a,{modelValue:e(V),"onUpdate:modelValue":s[1]||(s[1]=c=>g(V)?V.value=c:null),name:"last-name",placeholder:t.$t("lastname"),pt:e(y)},null,8,["modelValue","placeholder","pt"]),e(u).lastname&&e(h).touched?(i(),r("small",ge,m(e(u).lastname),1)):b("",!0)])]),d(a,{modelValue:e(k),"onUpdate:modelValue":s[2]||(s[2]=c=>g(k)?k.value=c:null),name:"email",placeholder:t.$t("email"),pt:e(y)},null,8,["modelValue","placeholder","pt"]),e(u).email&&e(h).touched?(i(),r("small",be,m(e(u).email),1)):b("",!0),d(_,{modelValue:e($),"onUpdate:modelValue":s[3]||(s[3]=c=>g($)?$.value=c:null),name:"message",rows:"5",cols:"30",pt:e(y),placeholder:t.$t("message")},null,8,["modelValue","pt","placeholder"]),e(u).message&&e(h).touched?(i(),r("small",ye,m(e(u).message),1)):b("",!0),l("div",ve,[l("div",we,[d(E,{modelValue:e(U),"onUpdate:modelValue":s[4]||(s[4]=c=>g(U)?U.value=c:null),name:"policy-agreement",binary:""},null,8,["modelValue"]),l("p",Ve,m(t.$t("collaboration_agreement")),1)]),e(u).policy_agreement&&e(h).touched?(i(),r("small",ke,m(e(u).policy_agreement),1)):b("",!0)]),d(q,{name:"btn-submit-contact",type:"submit",loading:e(f),label:t.$t("contact_cta_text"),pt:e(Q),class:"md:min-w-60 md:w-fit md:px-8",onClick:e(F)},null,8,["loading","label","pt","onClick"])]),_:1},8,["onSubmit"]),e(v)?(i(),r("div",$e,[(i(!0),r(ee,null,te(e(v).content.segments,c=>(i(),r("div",{key:c.id},[l("p",{class:"text-sm text-neutral-700 contact-text",innerHTML:c.text}
1,null,8,Ue)]))),128))])):(i(),r("div",Ce,[l("p",null,m(e(o)("contact_api_text")),1)]))])]))])])}}};export{Ae 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.