(()=>{"use strict";var r,e={1793:()=>{jQuery(document).ready(function(r){r(".tryaura-toggle-try-on").on("change",function(){const e=r(this),o=e.data("product-id"),a=e.is(":checked");e.prop("disabled",!0),r.ajax({url:tryAuraWoo.ajaxUrl,type:"POST",data:{action:"tryaura_toggle_try_on",product_id:o,enabled:a,nonce:tryAuraWoo.nonce},success(r){r.success||e.prop("checked",!a)},error(){e.prop("checked",!a)},complete(){e.prop("disabled",!1)}})})})}},o={};function a(r){var t=o[r];if(void 0!==t)return t.exports;var n=o[r]={exports:{}};return e[r](n,n.exports,a),n.exports}a.m=e,r=[],a.O=(e,o,t,n)=>{if(!o){var c=1/0;for(p=0;p<r.length;p++){for(var[o,t,n]=r[p],i=!0,u=0;u<o.length;u++)(!1&n||c>=n)&&Object.keys(a.O).every(r=>a.O[r](o[u]))?o.splice(u--,1):(i=!1,n<c&&(c=n));if(i){r.splice(p--,1);var s=t();void 0!==s&&(e=s)}}return e}n=n||0;for(var p=r.length;p>0&&r[p-1][2]>n;p--)r[p]=r[p-1];r[p]=[o,t,n]},a.o=(r,e)=>Object.prototype.hasOwnProperty.call(r,e),(()=>{var r={759:0,619:0};a.O.j=e=>0===r[e];var e=(e,o)=>{var t,n,[c,i,u]=o,s=0;if(c.some(e=>0!==r[e])){for(t in i)a.o(i,t)&&(a.m[t]=i[t]);if(u)var p=u(a)}for(e&&e(o);s<c.length;s++)n=c[s],a.o(r,n)&&r[n]&&r[n][0](),r[n]=0;return a.O(p)},o=globalThis.webpackChunktryaura=globalThis.webpackChunktryaura||[];o.forEach(e.bind(null,0)),o.push=e.bind(null,o.push.bind(o))})();var t=a.O(void 0,[619],()=>a(1793));t=a.O(t)})();