import{d as u,T as m,c as _,o as b,a as s,t as i,x as v,l as n,A as k,u as e,v as d,b as g}from"./app-Do7K7VDV.js";import{_ as O}from"./AdminLayout-DeT_GLTC.js";import{_ as f}from"./SpinnerBtn-C-rqKjUt.js";import"./AssetModal-C18ToIEK.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";import"./InputFieldError-0BmYlL24.js";import"./ToastrContainer-CtYDvNPN.js";const C={class:"grid grid-cols-1 lg:grid-cols-12"},D={class:"lg:col-span-5"},E={class:"lg:col-span-7"},h={class:"card"},N={class:"card-body"},S={class:"mb-2"},T={class:"label mb-1"},V={value:!0},y={value:!1},I={class:"mb-2"},K={class:"label mb-1"},U={class:"mb-2"},q={class:"label mb-1"},x={class:"mb-2"},B={class:"label mb-1"},M={class:"mb-2"},w={class:"label mb-1"},A={class:"mt-3"},$=u({layout:O}),L=Object.assign($,{__name:"Cookie",props:["id","COOKIE_CONSENT","cookieData"],setup(c){const r=c,t=m({COOKIE_CONSENT:r.COOKIE_CONSENT,cookieData:r.cookieData});function p(){t.put(route("admin.developer-settings.update",r.id))}return(o,a)=>(b(),_("div",C,[s("div",D,[s("strong",null,i(o.trans("Cookie Settings")),1),s("p",null,i(o.trans("Edit cookie settings")),1)]),s("div",E,[s("form",{onSubmit:v(p,["prevent"])},[s("div",h,[s("div",N,[s("div",S,[s("label",T,i(o.trans("Cookie Permission")),1),n(s("select",{class:"select","onUpdate:modelValue":a[0]||(a[0]=l=>e(t).COOKIE_CONSENT=l)},[s("option",V,i(o.trans("Enable")),1),s("option",y,i(o.trans("Disable")),1)],512),[[k,e(t).COOKIE_CONSENT]])]),s("div",I,[s("label",K,i(o.trans("Title")),1),n(s("input",{type:"text","onUpdate:modelValue":a[1]||(a[1]=l=>e(t).cookieData.title=l),required:"",class:"input"},null,512),[[d,e(t).cookieData.title]])]),s("div",U,[s("label",q,i(o.trans("Intro")),1),n(s("textarea",{"onUpdate:modelValue":a[2]||(a[2]=l=>e(t).cookieData.intro=l),required:"",class:"textarea"},null,512),[[d,e(t).cookieData.intro]])]),s("div",x,[s("label",B,i(o.trans("Essentials btn text")),1),n(s("input",{type:"text","onUpdate:modelValue":a[3]||(a[3]=l=>e(t).cookieData.essentials=l),required:"",class:"input"},null,512),[[d,e(t).cookieData.essentials]])]),s("div",M,[s("label",w,i(o.trans("Accept all btn text")),1),n(s("input",{type:"text","onUpdate:modelValue":a[4]||(a[4]=l=>e(t).cookieData.all=l),required:"",class:"input"},null,512),[[d,e(t).cookieData.all]])]),s("div",A,[g(f,{processing:e(t).processing,"btn-text":o.trans("Save Changes")},null,8,["processing","btn-text"])])])])],32)])]))}});export{L as default};
