(()=>{var e;(e=jQuery)(function(){const t="#woocommerce_dokan-stripe-connect_",l=e(t+"testmode");if(!l.length)return;const n=l=>e(l.map(e=>t+e).join(",")).closest("tr"),o=e(t+"live-credentials-title"),c=e(t+"test-credentials-title"),s=o.next("p"),i=c.next("p"),g=n(["publishable_key","secret_key","client_id"]),r=n(["test_publishable_key","test_secret_key","test_client_id"]),_=()=>{const e=l.is(":checked");o.toggle(!e),s.toggle(!e),g.toggle(!e),c.toggle(e),i.toggle(e),r.toggle(e)};_(),l.on("change",_)})})();