(()=>{function t(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */var n,e,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",u=o.toStringTag||"@@toStringTag";function c(t,o,i,u){var c=o&&o.prototype instanceof f?o:f,p=Object.create(c.prototype);return r(p,"_invoke",function(t,r,o){var i,u,c,f=0,p=o||[],l=!1,y={p:0,n:0,v:n,a:s,f:s.bind(n,4),d:function t(r,e){return i=r,u=0,c=n,y.n=e,a}};function s(t,r){for(u=t,c=r,e=0;!l&&f&&!o&&e<p.length;e++){var o,i=p[e],s=y.p,v=i[2];t>3?(o=v===r)&&(c=i[(u=i[4])?5:(u=3,3)],i[4]=i[5]=n):i[0]<=s&&((o=t<2&&s<i[1])?(u=0,y.v=r,y.n=i[1]):s<v&&(o=t<3||i[0]>r||r>v)&&(i[4]=t,i[5]=r,y.n=v,u=0))}if(o||t>1)return a;throw l=!0,r}return function(o,p,v){if(f>1)throw TypeError("Generator is already running");for(l&&1===p&&s(p,v),u=p,c=v;(e=u<2?n:c)||!l;){i||(u?u<3?(u>1&&(y.n=-1),s(u,c)):y.n=c:y.v=c);try{if(f=2,i){if(u||(o="next"),e=i[o]){if(!(e=e.call(i,c)))throw TypeError("iterator result is not an object");if(!e.done)return e;c=e.value,u<2&&(u=0)}else 1===u&&(e=i["return"])&&e.call(i),u<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),u=1);i=n}else if((e=(l=y.n<0)?c:t.call(r,y))!==a)break}catch(t){i=n,u=1,c=t}finally{f=1}}return{value:e,done:l}}}(t,i,u),!0),p}var a={};function f(){}function p(){}function l(){}e=Object.getPrototypeOf;var y=[][i]?e(e([][i]())):(r(e={},i,function(){return this}),e),s=l.prototype=f.prototype=Object.create(y);function v(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,l):(t.__proto__=l,r(t,u,"GeneratorFunction")),t.prototype=Object.create(s),t}return p.prototype=l,r(s,"constructor",l),r(l,"constructor",p),p.displayName="GeneratorFunction",r(l,u,"GeneratorFunction"),r(s),r(s,u,"Generator"),r(s,i,function(){return this}),r(s,"toString",function(){return"[object Generator]"}),(t=function t(){return{w:c,m:v}})()}function r(t,n,e,o){var i=Object.defineProperty;try{i({},"",{})}catch(t){i=0}r=function t(n,e,o,u){function c(t,e){r(n,t,function(r){return this._invoke(t,e,r)})}e?i?i(n,e,{value:o,enumerable:!u,configurable:!u,writable:!u}):n[e]=o:(c("next",0),c("throw",1),c("return",2))},r(t,n,e,o)}function n(t,r,n,e,o,i,u){try{var c=t[i](u),a=c.value}catch(t){return void n(t)}c.done?r(a):Promise.resolve(a).then(e,o)}function e(t){return function(){var r=this,e=arguments;return new Promise(function(o,i){var u=t.apply(r,e);function c(t){n(u,o,i,c,a,"next",t)}function a(t){n(u,o,i,c,a,"throw",t)}c(void 0)})}}window.jQuery(document).ready(function(r){var n=wp.i18n,o=n.__,i=n._x,u=n._n,c=n._nx;function a(t){return f.apply(this,arguments)}function f(){f=e(t().m(function r(n){var e,i;return t().w(function(t){while(1)switch(t.p=t.n){case 0:t.p=0;t.n=1;return fetch(window._tutorobject.ajaxurl,{method:"POST",body:n});case 1:e=t.v;return t.a(2,e);case 2:t.p=2;i=t.v;tutor_toast(o("Operation failed","tutor-pro"),i,"error");case 3:return t.a(2)}},r,null,[[0,2]])}));return f.apply(this,arguments)}})})();