System.register(["./index-legacy.sLMPZLm9.js","./index-legacy.DHtJIoVo.js","./index-legacy.C8qPBgfJ.js","./TextArea-legacy.B6d0jLjg.js","./index-legacy.CYFCxdWT.js"],(function(e,i){"use strict";var l,s,t,a,c,o,r,n,d,m,u,g,h,x,w;return{setters:[e=>{l=e.d,s=e.m,t=e.n,a=e.l,c=e.q,o=e.v,r=e.x,n=e.y,d=e.u,m=e.z,u=e.A,g=e.F},e=>{h=e.F},e=>{x=e.C},e=>{w=e.T},null],execute:function(){const i={class:"description"};e("_",l({__name:"DisclaimerField",props:{showDisclaimer:{},disclaimerText:{},fieldDescription:{default:null}},emits:{checkboxChange:e=>!0,textChange:e=>!0},setup(e,{emit:l}){const{Item:p}=h,{__:f}=window.wp.i18n,y=l,D=f("AI-generated content disclaimer text to be shown.","storeagent-ai-for-woocommerce"),C=e=>{y("checkboxChange",e)},T=e=>{y("textChange",e)};return(e,l)=>(t(),s(g,null,[a(d(p),{name:"showDisclaimer",class:"show-disclaimer-control product-questions-ai-control"},{default:r((()=>[a(d(x),{checked:"yes"===e.showDisclaimer,size:"large",onChange:C},null,8,["checked"]),n(" "+m(d(f)("Show Disclaimer","storeagent-ai-for-woocommerce")),1)])),_:1}),"yes"===e.showDisclaimer?(t(),c(d(p),{key:0,label:d(f)("Disclaimer Text","storeagent-ai-for-woocommerce"),name:"disclaimerText",class:"disclaimer-text-control product-questions-ai-control"},{default:r((()=>{var l;return[a(d(w),{value:e.disclaimerText,size:"large",placeholder:e.disclaimerText,onChange:T},null,8,["value","placeholder"]),u("p",i,m(null!==(l=e.fieldDescription)&&void 0!==l?l:d(D)),1)]})),_:1},8,["label"])):o("",!0)],64))}}))}}}));
