Plugin Directory

Changeset 3095621

Timestamp:
05/31/2024 11:50:21 AM (2 months ago)
Author:
akmelias
Message:

releasing v4.5.6

Location:
wp-payment-form
Files:
767 added
3 edited

Legend:

Unmodified
Added
Removed
  • wp-payment-form/trunk/assets/js/payforms-publicv2.js

    r3094556 r3095621  
    22!function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="/",n(n.s=842)}({10:function(t,e,n){var r=n(13),o=n(52),i=n(35),a=Object.defineProperty;e.f=n(7)?Object.defineProperty:function(t,e,n){if(r(t),e=i(e,!0),r(n),o)try{return a(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},100:function(t,e,n){var r=n(9),o=n(28),i=n(8),a=n(101),c="["+a+"]",u=RegExp("^"+c+c+"*"),s=RegExp(c+c+"*$"),f=function(t,e,n){var o={},c=i((function(){return!!a[t]()||"​
    33"!="​
    4 "[t]()})),u=o[t]=c?e(l):a[t];n&&(o[n]=u),r(r.P+r.F*c,"String",o)},l=f.trim=function(t,e){return t=String(o(t)),1&e&&(t=t.replace(u,"")),2&e&&(t=t.replace(s,"")),t};t.exports=f},101:function(t,e){t.exports="\t\n\v\f\r   ᠎              \u2028\u2029\ufeff"},105:function(t,e,n){"use strict";var r=n(8);t.exports=function(t,e){return!!t&&r((function(){e?t.call(null,(function(){}),1):t.call(null)}))}},11:function(t,e,n){var r=n(10),o=n(29);t.exports=n(7)?function(t,e,n){return r.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},111:function(t,e,n){"use strict";var r,o,i=n(115),a=RegExp.prototype.exec,c=String.prototype.replace,u=a,s=(r=/a/,o=/b*/g,a.call(r,"a"),a.call(o,"a"),0!==r.lastIndex||0!==o.lastIndex),f=void 0!==/()??/.exec("")[1];(s||f)&&(u=function(t){var e,n,r,o,u=this;return f&&(n=new RegExp("^"+u.source+"$(?!\\s)",i.call(u))),s&&(e=u.lastIndex),r=a.call(u,t),s&&r&&(u.lastIndex=u.global?r.index+r[0].length:e),f&&r&&r.length>1&&c.call(r[0],n,(function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(r[o]=void 0)})),r}),t.exports=u},112:function(t,e){t.exports=function(t){return null!=t&&"object"==typeof t}},113:function(t,e,n){var r=n(452),o=n(455);t.exports=function(t,e){var n=o(t,e);return r(n)?n:void 0}},114:function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},115:function(t,e,n){"use strict";var r=n(13);t.exports=function(){var t=r(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},116:function(t,e,n){var r=n(141),o=n(445),i=n(446),a=r?r.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":a&&a in Object(t)?o(t):i(t)}},12:function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},121:function(t,e,n){"use strict";var r=n(64),o=RegExp.prototype.exec;t.exports=function(t,e){var n=t.exec;if("function"==typeof n){var i=n.call(t,e);if("object"!=typeof i)throw new TypeError("RegExp exec method returned something other than an Object or null");return i}if("RegExp"!==r(t))throw new TypeError("RegExp#exec called on incompatible receiver");return o.call(t,e)}},122:function(t,e,n){"use strict";n(169);var r=n(14),o=n(11),i=n(8),a=n(28),c=n(4),u=n(111),s=c("species"),f=!i((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")})),l=function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var n="ab".split(t);return 2===n.length&&"a"===n[0]&&"b"===n[1]}();t.exports=function(t,e,n){var p=c(t),d=!i((function(){var e={};return e[p]=function(){return 7},7!=""[t](e)})),h=d?!i((function(){var e=!1,n=/a/;return n.exec=function(){return e=!0,null},"split"===t&&(n.constructor={},n.constructor[s]=function(){return n}),n[p](""),!e})):void 0;if(!d||!h||"replace"===t&&!f||"split"===t&&!l){var m=/./[p],_=n(a,p,""[t],(function(t,e,n,r,o){return e.exec===u?d&&!o?{done:!0,value:m.call(e,n,r)}:{done:!0,value:t.call(n,e,r)}:{done:!1}})),v=_[0],y=_[1];r(String.prototype,t,v),o(RegExp.prototype,p,2==e?function(t,e){return y.call(t,this,e)}:function(t){return y.call(t,this)})}}},124:function(t,e,n){var r=n(6),o=n(23),i=n(4)("match");t.exports=function(t){var e;return r(t)&&(void 0!==(e=t[i])?!!e:"RegExp"==o(t))}},125:function(t,e,n){"use strict";var r=n(76)(!0);t.exports=function(t,e,n){return e+(n?r(t,e).length:1)}},126:function(t,e){t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},13:function(t,e,n){var r=n(6);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},139:function(t,e,n){var r=n(124),o=n(28);t.exports=function(t,e,n){if(r(e))throw TypeError("String#"+n+" doesn't accept regex!");return String(o(t))}},14:function(t,e,n){var r=n(3),o=n(11),i=n(12),a=n(24)("src"),c=n(66),u=(""+c).split("toString");n(20).inspectSource=function(t){return c.call(t)},(t.exports=function(t,e,n,c){var s="function"==typeof n;s&&(i(n,"name")||o(n,"name",e)),t[e]!==n&&(s&&(i(n,a)||o(n,a,t[e]?""+t[e]:u.join(String(e)))),t===r?t[e]=n:c?t[e]?t[e]=n:o(t,e,n):(delete t[e],o(t,e,n)))})(Function.prototype,"toString",(function(){return"function"==typeof this&&this[a]||c.call(this)}))},140:function(t,e,n){var r=n(4)("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(n){try{return e[r]=!1,!"/./"[t](e)}catch(t){}}return!0}},141:function(t,e,n){var r=n(84).Symbol;t.exports=r},142:function(t,e,n){"use strict";var r,o,i,a,c=n(32),u=n(3),s=n(34),f=n(64),l=n(9),p=n(6),d=n(55),h=n(358),m=n(359),_=n(178),v=n(360).set,y=n(471)(),g=n(361),w=n(472),b=n(473),x=n(474),j=u.TypeError,S=u.process,O=S&&S.versions,k=O&&O.v8||"",P=u.Promise,C="process"==f(S),E=function(){},T=o=g.f,Q=!!function(){try{var t=P.resolve(1),e=(t.constructor={})[n(4)("species")]=function(t){t(E,E)};return(C||"function"==typeof PromiseRejectionEvent)&&t.then(E)instanceof e&&0!==k.indexOf("6.6")&&-1===b.indexOf("Chrome/66")}catch(t){}}(),I=function(t){var e;return!(!p(t)||"function"!=typeof(e=t.then))&&e},N=function(t,e){if(!t._n){t._n=!0;var n=t._c;y((function(){for(var r=t._v,o=1==t._s,i=0,a=function(e){var n,i,a,c=o?e.ok:e.fail,u=e.resolve,s=e.reject,f=e.domain;try{c?(o||(2==t._h&&L(t),t._h=1),!0===c?n=r:(f&&f.enter(),n=c(r),f&&(f.exit(),a=!0)),n===e.promise?s(j("Promise-chain cycle")):(i=I(n))?i.call(n,u,s):u(n)):s(r)}catch(t){f&&!a&&f.exit(),s(t)}};n.length>i;)a(n[i++]);t._c=[],t._n=!1,e&&!t._h&&F(t)}))}},F=function(t){v.call(u,(function(){var e,n,r,o=t._v,i=A(t);if(i&&(e=w((function(){C?S.emit("unhandledRejection",o,t):(n=u.onunhandledrejection)?n({promise:t,reason:o}):(r=u.console)&&r.error&&r.error("Unhandled promise rejection",o)})),t._h=C||A(t)?2:1),t._a=void 0,i&&e.e)throw e.v}))},A=function(t){return 1!==t._h&&0===(t._a||t._c).length},L=function(t){v.call(u,(function(){var e;C?S.emit("rejectionHandled",t):(e=u.onrejectionhandled)&&e({promise:t,reason:t._v})}))},M=function(t){var e=this;e._d||(e._d=!0,(e=e._w||e)._v=t,e._s=2,e._a||(e._a=e._c.slice()),N(e,!0))},q=function(t){var e,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===t)throw j("Promise can't be resolved itself");(e=I(t))?y((function(){var r={_w:n,_d:!1};try{e.call(t,s(q,r,1),s(M,r,1))}catch(t){M.call(r,t)}})):(n._v=t,n._s=1,N(n,!1))}catch(t){M.call({_w:n,_d:!1},t)}}};Q||(P=function(t){h(this,P,"Promise","_h"),d(t),r.call(this);try{t(s(q,this,1),s(M,this,1))}catch(t){M.call(this,t)}},(r=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=n(362)(P.prototype,{then:function(t,e){var n=T(_(this,P));return n.ok="function"!=typeof t||t,n.fail="function"==typeof e&&e,n.domain=C?S.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&N(this,!1),n.promise},catch:function(t){return this.then(void 0,t)}}),i=function(){var t=new r;this.promise=t,this.resolve=s(q,t,1),this.reject=s(M,t,1)},g.f=T=function(t){return t===P||t===a?new i(t):o(t)}),l(l.G+l.W+l.F*!Q,{Promise:P}),n(46)(P,"Promise"),n(363)("Promise"),a=n(20).Promise,l(l.S+l.F*!Q,"Promise",{reject:function(t){var e=T(this);return(0,e.reject)(t),e.promise}}),l(l.S+l.F*(c||!Q),"Promise",{resolve:function(t){return x(c&&this===a?P:this,t)}}),l(l.S+l.F*!(Q&&n(172)((function(t){P.all(t).catch(E)}))),"Promise",{all:function(t){var e=this,n=T(e),r=n.resolve,o=n.reject,i=w((function(){var n=[],i=0,a=1;m(t,!1,(function(t){var c=i++,u=!1;n.push(void 0),a++,e.resolve(t).then((function(t){u||(u=!0,n[c]=t,--a||r(n))}),o)})),--a||r(n)}));return i.e&&o(i.v),n.promise},race:function(t){var e=this,n=T(e),r=n.reject,o=w((function(){m(t,!1,(function(t){e.resolve(t).then(n.resolve,r)}))}));return o.e&&r(o.v),n.promise}})},144:function(t,e,n){var r=n(451),o=n(353),i=n(456),a=n(457),c=n(458),u=n(116),s=n(352),f=s(r),l=s(o),p=s(i),d=s(a),h=s(c),m=u;(r&&"[object DataView]"!=m(new r(new ArrayBuffer(1)))||o&&"[object Map]"!=m(new o)||i&&"[object Promise]"!=m(i.resolve())||a&&"[object Set]"!=m(new a)||c&&"[object WeakMap]"!=m(new c))&&(m=function(t){var e=u(t),n="[object Object]"==e?t.constructor:void 0,r=n?s(n):"";if(r)switch(r){case f:return"[object DataView]";case l:return"[object Map]";case p:return"[object Promise]";case d:return"[object Set]";case h:return"[object WeakMap]"}return e}),t.exports=m},145:function(t,e,n){var r=n(7),o=n(31),i=n(18),a=n(43).f;t.exports=function(t){return function(e){for(var n,c=i(e),u=o(c),s=u.length,f=0,l=[];s>f;)n=u[f++],r&&!a.call(c,n)||l.push(t?[n,c[n]]:c[n]);return l}}},15:function(t,e,n){"use strict";var r=n(54),o=n(88),i=n(42),a=n(18);t.exports=n(60)(Array,"Array",(function(t,e){this._t=a(t),this._i=0,this._k=e}),(function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,o(1)):o(0,"keys"==e?n:"values"==e?t[n]:[n,t[n]])}),"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},169:function(t,e,n){"use strict";var r=n(111);n(9)({target:"RegExp",proto:!0,forced:r!==/./.exec},{exec:r})},170:function(t,e){var n=Object.prototype;t.exports=function(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||n)}},171:function(t,e,n){var r=n(351),o=n(181);t.exports=function(t){return null!=t&&o(t.length)&&!r(t)}},172:function(t,e,n){var r=n(4)("iterator"),o=!1;try{var i=[7][r]();i.return=function(){o=!0},Array.from(i,(function(){throw 2}))}catch(t){}t.exports=function(t,e){if(!e&&!o)return!1;var n=!1;try{var i=[7],a=i[r]();a.next=function(){return{done:n=!0}},i[r]=function(){return a},t(i)}catch(t){}return n}},173:function(t,e,n){n(79)("asyncIterator")},174:function(t,e,n){var r=n(33),o=n(80);n(98)("getPrototypeOf",(function(){return function(t){return o(r(t))}}))},176:function(t,e,n){var r=n(350),o=n(144),i=n(179),a=n(97),c=n(171),u=n(180),s=n(170),f=n(347),l=Object.prototype.hasOwnProperty;t.exports=function(t){if(null==t)return!0;if(c(t)&&(a(t)||"string"==typeof t||"function"==typeof t.splice||u(t)||f(t)||i(t)))return!t.length;var e=o(t);if("[object Map]"==e||"[object Set]"==e)return!t.size;if(s(t))return!r(t).length;for(var n in t)if(l.call(t,n))return!1;return!0}},178:function(t,e,n){var r=n(13),o=n(55),i=n(4)("species");t.exports=function(t,e){var n,a=r(t).constructor;return void 0===a||null==(n=r(a)[i])?e:o(n)}},179:function(t,e,n){var r=n(444),o=n(112),i=Object.prototype,a=i.hasOwnProperty,c=i.propertyIsEnumerable,u=r(function(){return arguments}())?r:function(t){return o(t)&&a.call(t,"callee")&&!c.call(t,"callee")};t.exports=u},18:function(t,e,n){var r=n(53),o=n(28);t.exports=function(t){return r(o(t))}},180:function(t,e,n){(function(t){var r=n(84),o=n(447),i=e&&!e.nodeType&&e,a=i&&"object"==typeof t&&t&&!t.nodeType&&t,c=a&&a.exports===i?r.Buffer:void 0,u=(c?c.isBuffer:void 0)||o;t.exports=u}).call(this,n(114)(t))},181:function(t,e){t.exports=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}},182:function(t,e,n){var r=n(13);t.exports=function(t,e,n,o){try{return o?e(r(n)[0],n[1]):e(n)}catch(e){var i=t.return;throw void 0!==i&&r(i.call(t)),e}}},183:function(t,e,n){var r=n(42),o=n(4)("iterator"),i=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||i[o]===t)}},184:function(t,e,n){var r=n(64),o=n(4)("iterator"),i=n(42);t.exports=n(20).getIteratorMethod=function(t){if(null!=t)return t[o]||t["@@iterator"]||i[r(t)]}},186:function(t,e,n){(function(t){var r=void 0!==t&&t||"undefined"!=typeof self&&self||window,o=Function.prototype.apply;function i(t,e){this._id=t,this._clearFn=e}e.setTimeout=function(){return new i(o.call(setTimeout,r,arguments),clearTimeout)},e.setInterval=function(){return new i(o.call(setInterval,r,arguments),clearInterval)},e.clearTimeout=e.clearInterval=function(t){t&&t.close()},i.prototype.unref=i.prototype.ref=function(){},i.prototype.close=function(){this._clearFn.call(r,this._id)},e.enroll=function(t,e){clearTimeout(t._idleTimeoutId),t._idleTimeout=e},e.unenroll=function(t){clearTimeout(t._idleTimeoutId),t._idleTimeout=-1},e._unrefActive=e.active=function(t){clearTimeout(t._idleTimeoutId);var e=t._idleTimeout;e>=0&&(t._idleTimeoutId=setTimeout((function(){t._onTimeout&&t._onTimeout()}),e))},n(187),e.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==t&&t.setImmediate||this&&this.setImmediate,e.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==t&&t.clearImmediate||this&&this.clearImmediate}).call(this,n(95))},187:function(t,e,n){(function(t,e){!function(t,n){"use strict";if(!t.setImmediate){var r,o,i,a,c,u=1,s={},f=!1,l=t.document,p=Object.getPrototypeOf&&Object.getPrototypeOf(t);p=p&&p.setTimeout?p:t,"[object process]"==={}.toString.call(t.process)?r=function(t){e.nextTick((function(){h(t)}))}:!function(){if(t.postMessage&&!t.importScripts){var e=!0,n=t.onmessage;return t.onmessage=function(){e=!1},t.postMessage("","*"),t.onmessage=n,e}}()?t.MessageChannel?((i=new MessageChannel).port1.onmessage=function(t){h(t.data)},r=function(t){i.port2.postMessage(t)}):l&&"onreadystatechange"in l.createElement("script")?(o=l.documentElement,r=function(t){var e=l.createElement("script");e.onreadystatechange=function(){h(t),e.onreadystatechange=null,o.removeChild(e),e=null},o.appendChild(e)}):r=function(t){setTimeout(h,0,t)}:(a="setImmediate$"+Math.random()+"$",c=function(e){e.source===t&&"string"==typeof e.data&&0===e.data.indexOf(a)&&h(+e.data.slice(a.length))},t.addEventListener?t.addEventListener("message",c,!1):t.attachEvent("onmessage",c),r=function(e){t.postMessage(a+e,"*")}),p.setImmediate=function(t){"function"!=typeof t&&(t=new Function(""+t));for(var e=new Array(arguments.length-1),n=0;n<e.length;n++)e[n]=arguments[n+1];var o={callback:t,args:e};return s[u]=o,r(u),u++},p.clearImmediate=d}function d(t){delete s[t]}function h(t){if(f)setTimeout(h,0,t);else{var e=s[t];if(e){f=!0;try{!function(t){var e=t.callback,n=t.args;switch(n.length){case 0:e();break;case 1:e(n[0]);break;case 2:e(n[0],n[1]);break;case 3:e(n[0],n[1],n[2]);break;default:e.apply(void 0,n)}}(e)}finally{d(t),f=!1}}}}}("undefined"==typeof self?void 0===t?this:t:self)}).call(this,n(95),n(188))},188:function(t,e){var n,r,o=t.exports={};function i(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function c(t){if(n===setTimeout)return setTimeout(t,0);if((n===i||!n)&&setTimeout)return n=setTimeout,setTimeout(t,0);try{return n(t,0)}catch(e){try{return n.call(null,t,0)}catch(e){return n.call(this,t,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:i}catch(t){n=i}try{r="function"==typeof clearTimeout?clearTimeout:a}catch(t){r=a}}();var u,s=[],f=!1,l=-1;function p(){f&&u&&(f=!1,u.length?s=u.concat(s):l=-1,s.length&&d())}function d(){if(!f){var t=c(p);f=!0;for(var e=s.length;e;){for(u=s,s=[];++l<e;)u&&u[l].run();l=-1,e=s.length}u=null,f=!1,function(t){if(r===clearTimeout)return clearTimeout(t);if((r===a||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(t);try{r(t)}catch(e){try{return r.call(null,t)}catch(e){return r.call(this,t)}}}(t)}}function h(t,e){this.fun=t,this.array=e}function m(){}o.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];s.push(new h(t,e)),1!==s.length||f||c(d)},h.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=m,o.addListener=m,o.once=m,o.off=m,o.removeListener=m,o.removeAllListeners=m,o.emit=m,o.prependListener=m,o.prependOnceListener=m,o.listeners=function(t){return[]},o.binding=function(t){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(t){throw new Error("process.chdir is not supported")},o.umask=function(){return 0}},19:function(t,e,n){"use strict";var r=n(64),o={};o[n(4)("toStringTag")]="z",o+""!="[object z]"&&n(14)(Object.prototype,"toString",(function(){return"[object "+r(this)+"]"}),!0)},20:function(t,e){var n=t.exports={version:"2.6.12"};"number"==typeof __e&&(__e=n)},22:function(t,e,n){for(var r=n(15),o=n(31),i=n(14),a=n(3),c=n(11),u=n(42),s=n(4),f=s("iterator"),l=s("toStringTag"),p=u.Array,d={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},h=o(d),m=0;m<h.length;m++){var _,v=h[m],y=d[v],g=a[v],w=g&&g.prototype;if(w&&(w[f]||c(w,f,p),w[l]||c(w,l,v),u[v]=p,y))for(_ in r)w[_]||i(w,_,r[_],!0)}},23:function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},24:function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},25:function(t,e,n){var r=n(10).f,o=Function.prototype,i=/^\s*function ([^ (]*)/;"name"in o||n(7)&&r(o,"name",{configurable:!0,get:function(){try{return(""+this).match(i)[1]}catch(t){return""}}})},26:function(t,e,n){"use strict";var r=n(3),o=n(12),i=n(7),a=n(9),c=n(14),u=n(78).KEY,s=n(8),f=n(30),l=n(46),p=n(24),d=n(4),h=n(62),m=n(79),_=n(90),v=n(59),y=n(13),g=n(6),w=n(33),b=n(18),x=n(35),j=n(29),S=n(51),O=n(92),k=n(45),P=n(58),C=n(10),E=n(31),T=k.f,Q=C.f,I=O.f,N=r.Symbol,F=r.JSON,A=F&&F.stringify,L=d("_hidden"),M=d("toPrimitive"),q={}.propertyIsEnumerable,R=f("symbol-registry"),$=f("symbols"),W=f("op-symbols"),D=Object.prototype,G="function"==typeof N&&!!P.f,J=r.QObject,U=!J||!J.prototype||!J.prototype.findChild,V=i&&s((function(){return 7!=S(Q({},"a",{get:function(){return Q(this,"a",{value:7}).a}})).a}))?function(t,e,n){var r=T(D,e);r&&delete D[e],Q(t,e,n),r&&t!==D&&Q(D,e,r)}:Q,z=function(t){var e=$[t]=S(N.prototype);return e._k=t,e},B=G&&"symbol"==typeof N.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof N},H=function(t,e,n){return t===D&&H(W,e,n),y(t),e=x(e,!0),y(n),o($,e)?(n.enumerable?(o(t,L)&&t[L][e]&&(t[L][e]=!1),n=S(n,{enumerable:j(0,!1)})):(o(t,L)||Q(t,L,j(1,{})),t[L][e]=!0),V(t,e,n)):Q(t,e,n)},X=function(t,e){y(t);for(var n,r=_(e=b(e)),o=0,i=r.length;i>o;)H(t,n=r[o++],e[n]);return t},Y=function(t){var e=q.call(this,t=x(t,!0));return!(this===D&&o($,t)&&!o(W,t))&&(!(e||!o(this,t)||!o($,t)||o(this,L)&&this[L][t])||e)},Z=function(t,e){if(t=b(t),e=x(e,!0),t!==D||!o($,e)||o(W,e)){var n=T(t,e);return!n||!o($,e)||o(t,L)&&t[L][e]||(n.enumerable=!0),n}},K=function(t){for(var e,n=I(b(t)),r=[],i=0;n.length>i;)o($,e=n[i++])||e==L||e==u||r.push(e);return r},tt=function(t){for(var e,n=t===D,r=I(n?W:b(t)),i=[],a=0;r.length>a;)!o($,e=r[a++])||n&&!o(D,e)||i.push($[e]);return i};G||(c((N=function(){if(this instanceof N)throw TypeError("Symbol is not a constructor!");var t=p(arguments.length>0?arguments[0]:void 0),e=function(n){this===D&&e.call(W,n),o(this,L)&&o(this[L],t)&&(this[L][t]=!1),V(this,t,j(1,n))};return i&&U&&V(D,t,{configurable:!0,set:e}),z(t)}).prototype,"toString",(function(){return this._k})),k.f=Z,C.f=H,n(47).f=O.f=K,n(43).f=Y,P.f=tt,i&&!n(32)&&c(D,"propertyIsEnumerable",Y,!0),h.f=function(t){return z(d(t))}),a(a.G+a.W+a.F*!G,{Symbol:N});for(var et="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),nt=0;et.length>nt;)d(et[nt++]);for(var rt=E(d.store),ot=0;rt.length>ot;)m(rt[ot++]);a(a.S+a.F*!G,"Symbol",{for:function(t){return o(R,t+="")?R[t]:R[t]=N(t)},keyFor:function(t){if(!B(t))throw TypeError(t+" is not a symbol!");for(var e in R)if(R[e]===t)return e},useSetter:function(){U=!0},useSimple:function(){U=!1}}),a(a.S+a.F*!G,"Object",{create:function(t,e){return void 0===e?S(t):X(S(t),e)},defineProperty:H,defineProperties:X,getOwnPropertyDescriptor:Z,getOwnPropertyNames:K,getOwnPropertySymbols:tt});var it=s((function(){P.f(1)}));a(a.S+a.F*it,"Object",{getOwnPropertySymbols:function(t){return P.f(w(t))}}),F&&a(a.S+a.F*(!G||s((function(){var t=N();return"[null]"!=A([t])||"{}"!=A({a:t})||"{}"!=A(Object(t))}))),"JSON",{stringify:function(t){for(var e,n,r=[t],o=1;arguments.length>o;)r.push(arguments[o++]);if(n=e=r[1],(g(e)||void 0!==t)&&!B(t))return v(e)||(e=function(t,e){if("function"==typeof n&&(e=n.call(this,t,e)),!B(e))return e}),r[1]=e,A.apply(F,r)}}),N.prototype[M]||n(11)(N.prototype,M,N.prototype.valueOf),l(N,"Symbol"),l(Math,"Math",!0),l(r.JSON,"JSON",!0)},27:function(t,e,n){"use strict";var r=n(76)(!0);n(60)(String,"String",(function(t){this._t=String(t),this._i=0}),(function(){var t,e=this._t,n=this._i;return n>=e.length?{value:void 0,done:!0}:(t=r(e,n),this._i+=t.length,{value:t,done:!1})}))},28:function(t,e){t.exports=function(t){if(null==t)throw TypeError("Can't call method on  "+t);return t}},29:function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},3:function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},30:function(t,e,n){var r=n(20),o=n(3),i=o["__core-js_shared__"]||(o["__core-js_shared__"]={});(t.exports=function(t,e){return i[t]||(i[t]=void 0!==e?e:{})})("versions",[]).push({version:r.version,mode:n(32)?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},31:function(t,e,n){var r=n(63),o=n(50);t.exports=Object.keys||function(t){return r(t,o)}},32:function(t,e){t.exports=!1},33:function(t,e,n){var r=n(28);t.exports=function(t){return Object(r(t))}},34:function(t,e,n){var r=n(55);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,o){return t.call(e,n,r,o)}}return function(){return t.apply(e,arguments)}}},346:function(t,e,n){(function(e){var n="object"==typeof e&&e&&e.Object===Object&&e;t.exports=n}).call(this,n(95))},347:function(t,e,n){var r=n(448),o=n(348),i=n(349),a=i&&i.isTypedArray,c=a?o(a):r;t.exports=c},348:function(t,e){t.exports=function(t){return function(e){return t(e)}}},349:function(t,e,n){(function(t){var r=n(346),o=e&&!e.nodeType&&e,i=o&&"object"==typeof t&&t&&!t.nodeType&&t,a=i&&i.exports===o&&r.process,c=function(){try{var t=i&&i.require&&i.require("util").types;return t||a&&a.binding&&a.binding("util")}catch(t){}}();t.exports=c}).call(this,n(114)(t))},35:function(t,e,n){var r=n(6);t.exports=function(t,e){if(!r(t))return t;var n,o;if(e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;if("function"==typeof(n=t.valueOf)&&!r(o=n.call(t)))return o;if(!e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},350:function(t,e,n){var r=n(170),o=n(449),i=Object.prototype.hasOwnProperty;t.exports=function(t){if(!r(t))return o(t);var e=[];for(var n in Object(t))i.call(t,n)&&"constructor"!=n&&e.push(n);return e}},351:function(t,e,n){var r=n(116),o=n(126);t.exports=function(t){if(!o(t))return!1;var e=r(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},352:function(t,e){var n=Function.prototype.toString;t.exports=function(t){if(null!=t){try{return n.call(t)}catch(t){}try{return t+""}catch(t){}}return""}},353:function(t,e,n){var r=n(113)(n(84),"Map");t.exports=r},358:function(t,e){t.exports=function(t,e,n,r){if(!(t instanceof e)||void 0!==r&&r in t)throw TypeError(n+": incorrect invocation!");return t}},359:function(t,e,n){var r=n(34),o=n(182),i=n(183),a=n(13),c=n(36),u=n(184),s={},f={};(e=t.exports=function(t,e,n,l,p){var d,h,m,_,v=p?function(){return t}:u(t),y=r(n,l,e?2:1),g=0;if("function"!=typeof v)throw TypeError(t+" is not iterable!");if(i(v)){for(d=c(t.length);d>g;g++)if((_=e?y(a(h=t[g])[0],h[1]):y(t[g]))===s||_===f)return _}else for(m=v.call(t);!(h=m.next()).done;)if((_=o(m,y,h.value,e))===s||_===f)return _}).BREAK=s,e.RETURN=f},36:function(t,e,n){var r=n(38),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},360:function(t,e,n){var r,o,i,a=n(34),c=n(470),u=n(71),s=n(48),f=n(3),l=f.process,p=f.setImmediate,d=f.clearImmediate,h=f.MessageChannel,m=f.Dispatch,_=0,v={},y=function(){var t=+this;if(v.hasOwnProperty(t)){var e=v[t];delete v[t],e()}},g=function(t){y.call(t.data)};p&&d||(p=function(t){for(var e=[],n=1;arguments.length>n;)e.push(arguments[n++]);return v[++_]=function(){c("function"==typeof t?t:Function(t),e)},r(_),_},d=function(t){delete v[t]},"process"==n(23)(l)?r=function(t){l.nextTick(a(y,t,1))}:m&&m.now?r=function(t){m.now(a(y,t,1))}:h?(i=(o=new h).port2,o.port1.onmessage=g,r=a(i.postMessage,i,1)):f.addEventListener&&"function"==typeof postMessage&&!f.importScripts?(r=function(t){f.postMessage(t+"","*")},f.addEventListener("message",g,!1)):r="onreadystatechange"in s("script")?function(t){u.appendChild(s("script")).onreadystatechange=function(){u.removeChild(this),y.call(t)}}:function(t){setTimeout(a(y,t,1),0)}),t.exports={set:p,clear:d}},361:function(t,e,n){"use strict";var r=n(55);function o(t){var e,n;this.promise=new t((function(t,r){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=r})),this.resolve=r(e),this.reject=r(n)}t.exports.f=function(t){return new o(t)}},362:function(t,e,n){var r=n(14);t.exports=function(t,e,n){for(var o in e)r(t,o,e[o],n);return t}},363:function(t,e,n){"use strict";var r=n(3),o=n(10),i=n(7),a=n(4)("species");t.exports=function(t){var e=r[t];i&&e&&!e[a]&&o.f(e,a,{configurable:!0,get:function(){return this}})}},366:function(t,e,n){"use strict";n(480);var r=n(13),o=n(115),i=n(7),a=/./.toString,c=function(t){n(14)(RegExp.prototype,"toString",t,!0)};n(8)((function(){return"/a/b"!=a.call({source:"a",flags:"b"})}))?c((function(){var t=r(this);return"/".concat(t.source,"/","flags"in t?t.flags:!i&&t instanceof RegExp?o.call(t):void 0)})):"toString"!=a.name&&c((function(){return a.call(this)}))},37:function(t,e,n){var r=n(33),o=n(31);n(98)("keys",(function(){return function(t){return o(r(t))}}))},371:function(t,e){t.exports=function(t,e){return function(n){return t(e(n))}}},38:function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},39:function(t,e,n){"use strict";var r=n(3),o=n(12),i=n(23),a=n(94),c=n(35),u=n(8),s=n(47).f,f=n(45).f,l=n(10).f,p=n(100).trim,d=r.Number,h=d,m=d.prototype,_="Number"==i(n(51)(m)),v="trim"in String.prototype,y=function(t){var e=c(t,!1);if("string"==typeof e&&e.length>2){var n,r,o,i=(e=v?e.trim():p(e,3)).charCodeAt(0);if(43===i||45===i){if(88===(n=e.charCodeAt(2))||120===n)return NaN}else if(48===i){switch(e.charCodeAt(1)){case 66:case 98:r=2,o=49;break;case 79:case 111:r=8,o=55;break;default:return+e}for(var a,u=e.slice(2),s=0,f=u.length;s<f;s++)if((a=u.charCodeAt(s))<48||a>o)return NaN;return parseInt(u,r)}}return+e};if(!d(" 0o1")||!d("0b1")||d("+0x1")){d=function(t){var e=arguments.length<1?0:t,n=this;return n instanceof d&&(_?u((function(){m.valueOf.call(n)})):"Number"!=i(n))?a(new h(y(e)),n,d):y(e)};for(var g,w=n(7)?s(h):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),b=0;w.length>b;b++)o(h,g=w[b])&&!o(d,g)&&l(d,g,f(h,g));d.prototype=m,m.constructor=d,n(14)(r,"Number",d)}},4:function(t,e,n){var r=n(30)("wks"),o=n(24),i=n(3).Symbol,a="function"==typeof i;(t.exports=function(t){return r[t]||(r[t]=a&&i[t]||(a?i:o)("Symbol."+t))}).store=r},40:function(t,e,n){"use strict";var r=n(9),o=n(71),i=n(23),a=n(70),c=n(36),u=[].slice;r(r.P+r.F*n(8)((function(){o&&u.call(o)})),"Array",{slice:function(t,e){var n=c(this.length),r=i(this);if(e=void 0===e?n:e,"Array"==r)return u.call(this,t,e);for(var o=a(t,n),s=a(e,n),f=c(s-o),l=new Array(f),p=0;p<f;p++)l[p]="String"==r?this.charAt(o+p):this[o+p];return l}})},41:function(t,e,n){"use strict";var r=n(9),o=n(61)(1);r(r.P+r.F*!n(105)([].map,!0),"Array",{map:function(t){return o(this,t,arguments[1])}})},42:function(t,e){t.exports={}},43:function(t,e){e.f={}.propertyIsEnumerable},44:function(t,e,n){"use strict";var r=n(9),o=n(61)(5),i=!0;"find"in[]&&Array(1).find((function(){i=!1})),r(r.P+r.F*i,"Array",{find:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),n(54)("find")},444:function(t,e,n){var r=n(116),o=n(112);t.exports=function(t){return o(t)&&"[object Arguments]"==r(t)}},445:function(t,e,n){var r=n(141),o=Object.prototype,i=o.hasOwnProperty,a=o.toString,c=r?r.toStringTag:void 0;t.exports=function(t){var e=i.call(t,c),n=t[c];try{t[c]=void 0;var r=!0}catch(t){}var o=a.call(t);return r&&(e?t[c]=n:delete t[c]),o}},446:function(t,e){var n=Object.prototype.toString;t.exports=function(t){return n.call(t)}},447:function(t,e){t.exports=function(){return!1}},448:function(t,e,n){var r=n(116),o=n(181),i=n(112),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,t.exports=function(t){return i(t)&&o(t.length)&&!!a[r(t)]}},449:function(t,e,n){var r=n(371)(Object.keys,Object);t.exports=r},45:function(t,e,n){var r=n(43),o=n(29),i=n(18),a=n(35),c=n(12),u=n(52),s=Object.getOwnPropertyDescriptor;e.f=n(7)?s:function(t,e){if(t=i(t),e=a(e,!0),u)try{return s(t,e)}catch(t){}if(c(t,e))return o(!r.f.call(t,e),t[e])}},451:function(t,e,n){var r=n(113)(n(84),"DataView");t.exports=r},452:function(t,e,n){var r=n(351),o=n(453),i=n(126),a=n(352),c=/^\[object .+?Constructor\]$/,u=Function.prototype,s=Object.prototype,f=u.toString,l=s.hasOwnProperty,p=RegExp("^"+f.call(l).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(t){return!(!i(t)||o(t))&&(r(t)?p:c).test(a(t))}},453:function(t,e,n){var r,o=n(454),i=(r=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"";t.exports=function(t){return!!i&&i in t}},454:function(t,e,n){var r=n(84)["__core-js_shared__"];t.exports=r},455:function(t,e){t.exports=function(t,e){return null==t?void 0:t[e]}},456:function(t,e,n){var r=n(113)(n(84),"Promise");t.exports=r},457:function(t,e,n){var r=n(113)(n(84),"Set");t.exports=r},458:function(t,e,n){var r=n(113)(n(84),"WeakMap");t.exports=r},46:function(t,e,n){var r=n(10).f,o=n(12),i=n(4)("toStringTag");t.exports=function(t,e,n){t&&!o(t=n?t:t.prototype,i)&&r(t,i,{configurable:!0,value:e})}},47:function(t,e,n){var r=n(63),o=n(50).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},470:function(t,e){t.exports=function(t,e,n){var r=void 0===n;switch(e.length){case 0:return r?t():t.call(n);case 1:return r?t(e[0]):t.call(n,e[0]);case 2:return r?t(e[0],e[1]):t.call(n,e[0],e[1]);case 3:return r?t(e[0],e[1],e[2]):t.call(n,e[0],e[1],e[2]);case 4:return r?t(e[0],e[1],e[2],e[3]):t.call(n,e[0],e[1],e[2],e[3])}return t.apply(n,e)}},471:function(t,e,n){var r=n(3),o=n(360).set,i=r.MutationObserver||r.WebKitMutationObserver,a=r.process,c=r.Promise,u="process"==n(23)(a);t.exports=function(){var t,e,n,s=function(){var r,o;for(u&&(r=a.domain)&&r.exit();t;){o=t.fn,t=t.next;try{o()}catch(r){throw t?n():e=void 0,r}}e=void 0,r&&r.enter()};if(u)n=function(){a.nextTick(s)};else if(!i||r.navigator&&r.navigator.standalone)if(c&&c.resolve){var f=c.resolve(void 0);n=function(){f.then(s)}}else n=function(){o.call(r,s)};else{var l=!0,p=document.createTextNode("");new i(s).observe(p,{characterData:!0}),n=function(){p.data=l=!l}}return function(r){var o={fn:r,next:void 0};e&&(e.next=o),t||(t=o,n()),e=o}}},472:function(t,e){t.exports=function(t){try{return{e:!1,v:t()}}catch(t){return{e:!0,v:t}}}},473:function(t,e,n){var r=n(3).navigator;t.exports=r&&r.userAgent||""},474:function(t,e,n){var r=n(13),o=n(6),i=n(361);t.exports=function(t,e){if(r(t),o(e)&&e.constructor===t)return e;var n=i.f(t);return(0,n.resolve)(e),n.promise}},48:function(t,e,n){var r=n(6),o=n(3).document,i=r(o)&&r(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},480:function(t,e,n){n(7)&&"g"!=/./g.flags&&n(10).f(RegExp.prototype,"flags",{configurable:!0,get:n(115)})},488:function(t,e,n){"use strict";(function(t){var r=n(588),o=setTimeout;function i(t){return Boolean(t&&void 0!==t.length)}function a(){}function c(t){if(!(this instanceof c))throw new TypeError("Promises must be constructed via new");if("function"!=typeof t)throw new TypeError("not a function");this._state=0,this._handled=!1,this._value=void 0,this._deferreds=[],d(t,this)}function u(t,e){for(;3===t._state;)t=t._value;0!==t._state?(t._handled=!0,c._immediateFn((function(){var n=1===t._state?e.onFulfilled:e.onRejected;if(null!==n){var r;try{r=n(t._value)}catch(t){return void f(e.promise,t)}s(e.promise,r)}else(1===t._state?s:f)(e.promise,t._value)}))):t._deferreds.push(e)}function s(t,e){try{if(e===t)throw new TypeError("A promise cannot be resolved with itself.");if(e&&("object"==typeof e||"function"==typeof e)){var n=e.then;if(e instanceof c)return t._state=3,t._value=e,void l(t);if("function"==typeof n)return void d((r=n,o=e,function(){r.apply(o,arguments)}),t)}t._state=1,t._value=e,l(t)}catch(e){f(t,e)}var r,o}function f(t,e){t._state=2,t._value=e,l(t)}function l(t){2===t._state&&0===t._deferreds.length&&c._immediateFn((function(){t._handled||c._unhandledRejectionFn(t._value)}));for(var e=0,n=t._deferreds.length;e<n;e++)u(t,t._deferreds[e]);t._deferreds=null}function p(t,e,n){this.onFulfilled="function"==typeof t?t:null,this.onRejected="function"==typeof e?e:null,this.promise=n}function d(t,e){var n=!1;try{t((function(t){n||(n=!0,s(e,t))}),(function(t){n||(n=!0,f(e,t))}))}catch(t){if(n)return;n=!0,f(e,t)}}c.prototype.catch=function(t){return this.then(null,t)},c.prototype.then=function(t,e){var n=new this.constructor(a);return u(this,new p(t,e,n)),n},c.prototype.finally=r.a,c.all=function(t){return new c((function(e,n){if(!i(t))return n(new TypeError("Promise.all accepts an array"));var r=Array.prototype.slice.call(t);if(0===r.length)return e([]);var o=r.length;function a(t,i){try{if(i&&("object"==typeof i||"function"==typeof i)){var c=i.then;if("function"==typeof c)return void c.call(i,(function(e){a(t,e)}),n)}r[t]=i,0==--o&&e(r)}catch(t){n(t)}}for(var c=0;c<r.length;c++)a(c,r[c])}))},c.resolve=function(t){return t&&"object"==typeof t&&t.constructor===c?t:new c((function(e){e(t)}))},c.reject=function(t){return new c((function(e,n){n(t)}))},c.race=function(t){return new c((function(e,n){if(!i(t))return n(new TypeError("Promise.race accepts an array"));for(var r=0,o=t.length;r<o;r++)c.resolve(t[r]).then(e,n)}))},c._immediateFn="function"==typeof t&&function(e){t(e)}||function(t){o(t,0)},c._unhandledRejectionFn=function(t){"undefined"!=typeof console&&console&&console.warn("Possible Unhandled Promise Rejection:",t)},e.a=c}).call(this,n(186).setImmediate)},49:function(t,e,n){var r=n(30)("keys"),o=n(24);t.exports=function(t){return r[t]||(r[t]=o(t))}},50:function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},51:function(t,e,n){var r=n(13),o=n(91),i=n(50),a=n(49)("IE_PROTO"),c=function(){},u=function(){var t,e=n(48)("iframe"),r=i.length;for(e.style.display="none",n(71).appendChild(e),e.src="javascript:",(t=e.contentWindow.document).open(),t.write("<script>document.F=Object<\/script>"),t.close(),u=t.F;r--;)delete u.prototype[i[r]];return u()};t.exports=Object.create||function(t,e){var n;return null!==t?(c.prototype=r(t),n=new c,c.prototype=null,n[a]=t):n=u(),void 0===e?n:o(n,e)}},52:function(t,e,n){t.exports=!n(7)&&!n(8)((function(){return 7!=Object.defineProperty(n(48)("div"),"a",{get:function(){return 7}}).a}))},53:function(t,e,n){var r=n(23);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},54:function(t,e,n){var r=n(4)("unscopables"),o=Array.prototype;null==o[r]&&n(11)(o,r,{}),t.exports=function(t){o[r][t]=!0}},55:function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},56:function(t,e,n){"use strict";var r=n(9),o=n(139);r(r.P+r.F*n(140)("includes"),"String",{includes:function(t){return!!~o(this,t,"includes").indexOf(t,arguments.length>1?arguments[1]:void 0)}})},57:function(t,e,n){"use strict";var r=n(9),o=n(75)(!0);r(r.P,"Array",{includes:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),n(54)("includes")},58:function(t,e){e.f=Object.getOwnPropertySymbols},582:function(t,e,n){"use strict";var r=n(13),o=n(36),i=n(125),a=n(121);n(122)("match",1,(function(t,e,n,c){return[function(n){var r=t(this),o=null==n?void 0:n[e];return void 0!==o?o.call(n,r):new RegExp(n)[e](String(r))},function(t){var e=c(n,t,this);if(e.done)return e.value;var u=r(t),s=String(this);if(!u.global)return a(u,s);var f=u.unicode;u.lastIndex=0;for(var l,p=[],d=0;null!==(l=a(u,s));){var h=String(l[0]);p[d]=h,""===h&&(u.lastIndex=i(s,o(u.lastIndex),f)),d++}return 0===d?null:p}]}))},583:function(t,e,n){"use strict";var r=n(9),o=n(36),i=n(139),a="".startsWith;r(r.P+r.F*n(140)("startsWith"),"String",{startsWith:function(t){var e=i(this,t,"startsWith"),n=o(Math.min(arguments.length>1?arguments[1]:void 0,e.length)),r=String(t);return a?a.call(e,r,n):e.slice(n,n+r.length)===r}})},584:function(t,e,n){"use strict";var r=n(9),o=n(36),i=n(139),a="".endsWith;r(r.P+r.F*n(140)("endsWith"),"String",{endsWith:function(t){var e=i(this,t,"endsWith"),n=arguments.length>1?arguments[1]:void 0,r=o(e.length),c=void 0===n?r:Math.min(o(n),r),u=String(t);return a?a.call(e,u,c):e.slice(c-u.length,c)===u}})},585:function(t,e,n){var r=n(3),o=n(94),i=n(10).f,a=n(47).f,c=n(124),u=n(115),s=r.RegExp,f=s,l=s.prototype,p=/a/g,d=/a/g,h=new s(p)!==p;if(n(7)&&(!h||n(8)((function(){return d[n(4)("match")]=!1,s(p)!=p||s(d)==d||"/a/i"!=s(p,"i")})))){s=function(t,e){var n=this instanceof s,r=c(t),i=void 0===e;return!n&&r&&t.constructor===s&&i?t:o(h?new f(r&&!i?t.source:t,e):f((r=t instanceof s)?t.source:t,r&&i?u.call(t):e),n?this:l,s)};for(var m=function(t){t in s||i(s,t,{configurable:!0,get:function(){return f[t]},set:function(e){f[t]=e}})},_=a(f),v=0;_.length>v;)m(_[v++]);l.constructor=s,s.prototype=l,n(14)(r,"RegExp",s)}n(363)("RegExp")},588:function(t,e,n){"use strict";e.a=function(t){var e=this.constructor;return this.then((function(n){return e.resolve(t()).then((function(){return n}))}),(function(n){return e.resolve(t()).then((function(){return e.reject(n)}))}))}},59:function(t,e,n){var r=n(23);t.exports=Array.isArray||function(t){return"Array"==r(t)}},6:function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},60:function(t,e,n){"use strict";var r=n(32),o=n(9),i=n(14),a=n(11),c=n(42),u=n(93),s=n(46),f=n(80),l=n(4)("iterator"),p=!([].keys&&"next"in[].keys()),d=function(){return this};t.exports=function(t,e,n,h,m,_,v){u(n,e,h);var y,g,w,b=function(t){if(!p&&t in O)return O[t];switch(t){case"keys":case"values":return function(){return new n(this,t)}}return function(){return new n(this,t)}},x=e+" Iterator",j="values"==m,S=!1,O=t.prototype,k=O[l]||O["@@iterator"]||m&&O[m],P=k||b(m),C=m?j?b("entries"):P:void 0,E="Array"==e&&O.entries||k;if(E&&(w=f(E.call(new t)))!==Object.prototype&&w.next&&(s(w,x,!0),r||"function"==typeof w[l]||a(w,l,d)),j&&k&&"values"!==k.name&&(S=!0,P=function(){return k.call(this)}),r&&!v||!p&&!S&&O[l]||a(O,l,P),c[e]=P,c[x]=d,m)if(y={values:j?P:b("values"),keys:_?P:b("keys"),entries:C},v)for(g in y)g in O||i(O,g,y[g]);else o(o.P+o.F*(p||S),e,y);return y}},61:function(t,e,n){var r=n(34),o=n(53),i=n(33),a=n(36),c=n(82);t.exports=function(t,e){var n=1==t,u=2==t,s=3==t,f=4==t,l=6==t,p=5==t||l,d=e||c;return function(e,c,h){for(var m,_,v=i(e),y=o(v),g=r(c,h,3),w=a(y.length),b=0,x=n?d(e,w):u?d(e,0):void 0;w>b;b++)if((p||b in y)&&(_=g(m=y[b],b,v),t))if(n)x[b]=_;else if(_)switch(t){case 3:return!0;case 5:return m;case 6:return b;case 2:x.push(m)}else if(f)return!1;return l?-1:s||f?f:x}}},62:function(t,e,n){e.f=n(4)},63:function(t,e,n){var r=n(12),o=n(18),i=n(75)(!1),a=n(49)("IE_PROTO");t.exports=function(t,e){var n,c=o(t),u=0,s=[];for(n in c)n!=a&&r(c,n)&&s.push(n);for(;e.length>u;)r(c,n=e[u++])&&(~i(s,n)||s.push(n));return s}},64:function(t,e,n){var r=n(23),o=n(4)("toStringTag"),i="Arguments"==r(function(){return arguments}());t.exports=function(t){var e,n,a;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),o))?n:i?r(e):"Object"==(a=r(e))&&"function"==typeof e.callee?"Arguments":a}},65:function(t,e,n){var r=n(9),o=n(145)(!1);r(r.S,"Object",{values:function(t){return o(t)}})},66:function(t,e,n){t.exports=n(30)("native-function-to-string",Function.toString)},67:function(t,e,n){"use strict";var r=n(9),o=n(61)(2);r(r.P+r.F*!n(105)([].filter,!0),"Array",{filter:function(t){return o(this,t,arguments[1])}})},7:function(t,e,n){t.exports=!n(8)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},70:function(t,e,n){var r=n(38),o=Math.max,i=Math.min;t.exports=function(t,e){return(t=r(t))<0?o(t+e,0):i(t,e)}},71:function(t,e,n){var r=n(3).document;t.exports=r&&r.documentElement},74:function(t,e,n){"use strict";n(85),n(40);e.a=function(t,e){t||(t=0);var n=parseInt(t)/100,r=2;t%100==0&&0==e.decimal_points&&(r=0);var o=",",i=".";"dot_comma"!=e.currency_separator&&(o=".",i=",");var a,c,u,s,f,l,p,d,h,m,_=e.currency_sign||"",v=(a=n,c=r,u=i,s=o,f=isNaN(c)?2:Math.abs(c),l=u||".",p=void 0===s?",":s,d=a<0?"-":"",h=parseInt(a=Math.abs(a).toFixed(f))+"",m=(m=h.length)>3?m%3:0,d+(m?h.substr(0,m)+p:"")+h.substr(m).replace(/(\d{3})(?=\d)/g,"$1"+p)+(f?l+Math.abs(a-h).toFixed(f).slice(2):""));return"right"==e.currency_sign_position?v+""+_:"left_space"==e.currency_sign_position?_+" "+v:"right_space"==e.currency_sign_position?v+" "+_:_+""+v}},75:function(t,e,n){var r=n(18),o=n(36),i=n(70);t.exports=function(t){return function(e,n,a){var c,u=r(e),s=o(u.length),f=i(a,s);if(t&&n!=n){for(;s>f;)if((c=u[f++])!=c)return!0}else for(;s>f;f++)if((t||f in u)&&u[f]===n)return t||f||0;return!t&&-1}}},76:function(t,e,n){var r=n(38),o=n(28);t.exports=function(t){return function(e,n){var i,a,c=String(o(e)),u=r(n),s=c.length;return u<0||u>=s?t?"":void 0:(i=c.charCodeAt(u))<55296||i>56319||u+1===s||(a=c.charCodeAt(u+1))<56320||a>57343?t?c.charAt(u):i:t?c.slice(u,u+2):a-56320+(i-55296<<10)+65536}}},78:function(t,e,n){var r=n(24)("meta"),o=n(6),i=n(12),a=n(10).f,c=0,u=Object.isExtensible||function(){return!0},s=!n(8)((function(){return u(Object.preventExtensions({}))})),f=function(t){a(t,r,{value:{i:"O"+ ++c,w:{}}})},l=t.exports={KEY:r,NEED:!1,fastKey:function(t,e){if(!o(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!i(t,r)){if(!u(t))return"F";if(!e)return"E";f(t)}return t[r].i},getWeak:function(t,e){if(!i(t,r)){if(!u(t))return!0;if(!e)return!1;f(t)}return t[r].w},onFreeze:function(t){return s&&l.NEED&&u(t)&&!i(t,r)&&f(t),t}}},79:function(t,e,n){var r=n(3),o=n(20),i=n(32),a=n(62),c=n(10).f;t.exports=function(t){var e=o.Symbol||(o.Symbol=i?{}:r.Symbol||{});"_"==t.charAt(0)||t in e||c(e,t,{value:a.f(t)})}},8:function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},80:function(t,e,n){var r=n(12),o=n(33),i=n(49)("IE_PROTO"),a=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=o(t),r(t,i)?t[i]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?a:null}},82:function(t,e,n){var r=n(83);t.exports=function(t,e){return new(r(t))(e)}},83:function(t,e,n){var r=n(6),o=n(59),i=n(4)("species");t.exports=function(t){var e;return o(t)&&("function"!=typeof(e=t.constructor)||e!==Array&&!o(e.prototype)||(e=void 0),r(e)&&null===(e=e[i])&&(e=void 0)),void 0===e?Array:e}},84:function(t,e,n){var r=n(346),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();t.exports=i},842:function(t,e,n){t.exports=n(863)},85:function(t,e,n){"use strict";var r=n(13),o=n(33),i=n(36),a=n(38),c=n(125),u=n(121),s=Math.max,f=Math.min,l=Math.floor,p=/\$([$&`']|\d\d?|<[^>]*>)/g,d=/\$([$&`']|\d\d?)/g;n(122)("replace",2,(function(t,e,n,h){return[function(r,o){var i=t(this),a=null==r?void 0:r[e];return void 0!==a?a.call(r,i,o):n.call(String(i),r,o)},function(t,e){var o=h(n,t,this,e);if(o.done)return o.value;var l=r(t),p=String(this),d="function"==typeof e;d||(e=String(e));var _=l.global;if(_){var v=l.unicode;l.lastIndex=0}for(var y=[];;){var g=u(l,p);if(null===g)break;if(y.push(g),!_)break;""===String(g[0])&&(l.lastIndex=c(p,i(l.lastIndex),v))}for(var w,b="",x=0,j=0;j<y.length;j++){g=y[j];for(var S=String(g[0]),O=s(f(a(g.index),p.length),0),k=[],P=1;P<g.length;P++)k.push(void 0===(w=g[P])?w:String(w));var C=g.groups;if(d){var E=[S].concat(k,O,p);void 0!==C&&E.push(C);var T=String(e.apply(void 0,E))}else T=m(S,p,O,k,C,e);O>=x&&(b+=p.slice(x,O)+T,x=O+S.length)}return b+p.slice(x)}];function m(t,e,r,i,a,c){var u=r+t.length,s=i.length,f=d;return void 0!==a&&(a=o(a),f=p),n.call(c,f,(function(n,o){var c;switch(o.charAt(0)){case"$":return"$";case"&":return t;case"`":return e.slice(0,r);case"'":return e.slice(u);case"<":c=a[o.slice(1,-1)];break;default:var f=+o;if(0===f)return n;if(f>s){var p=l(f/10);return 0===p?n:p<=s?void 0===i[p-1]?o.charAt(1):i[p-1]+o.charAt(1):n}c=i[f-1]}return void 0===c?"":c}))}}))},863:function(t,e,n){"use strict";n.r(e);n(44),n(26),n(27),n(19),n(15),n(22),n(173),n(174),n(25),n(142),n(40),n(39),n(56),n(57),n(41),n(67),n(37),n(65);var r=n(488),o=n(74);n(85),n(582),n(366),n(583),n(584),n(585);function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function a(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,c(r.key),r)}}function c(t){var e=function(t,e){if("object"!=i(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=i(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==i(e)?e:e+""}var u=function(){return t=function t(e,n){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.fields=e,this.formData=n,this.counter=0,this.field_statues={}},(e=[{key:"setFields",value:function(t){this.fields=t}},{key:"setFormData",value:function(t){this.formData=t}},{key:"getCalculatedStatuses",value:function(){for(var t=0,e=Object.keys(this.fields);t<e.length;t++){var n=e[t],r=this.fields[n];this.field_statues[n]=this.evaluate(r,n)}return this.field_statues}},{key:"evaluate",value:function(t,e){var n=this,r=!1;if("yes"===t.conditional_logic){this.counter++;var o=t.conditional_type,i=1;"any"==o&&(i=0),t.options.forEach((function(t){var r=n.getItemEvaluateValue(t,n.formData[t.target_field]);r&&n.fields[t.field]&&t.field!=e&&(r=n.evaluate(n.fields[t.field],t.field)),"any"==o?r&&(i=1):!r&&i&&(i=!1)})),r=1==i}return t.status&&t.conditions.length&&!r||t.container_condition&&(r=this.evaluate(t.container_condition)),r}},{key:"getItemEvaluateValue",value:function(t,e){return e=e||null,"numeric"===jQuery("[name='".concat(t.field,"']")).attr("inputmode")&&e&&(e=e.replace(/[^0-9.-]/g,"")),"equal"==t.condition?"object"==i(e)?null!==e&&-1!=e.indexOf(t.value.toString()):e==t.value:"not_equal"==t.condition?"object"==i(e)?null!==e&&-1==e.indexOf(t.value):e!=t.value:"greater_than"==t.condition?e&&e>Number(t.value):"less_than"==t.condition?e&&e<Number(t.value):"greater_or_equal"==t.condition?e&&e>=Number(t.value):"less_or_equal"==t.condition?e&&e<=Number(t.value):"starts_with"==t.condition&&null!==e?e&&e.startsWith(t.value):"ends_with"==t.condition?e&&e.endsWith(t.value):"contains"==t.condition?null!==e&&-1!=e.indexOf(t.value):"not_contains"==t.condition?null!==e&&-1==e.indexOf(t.value):"test_regex"==t.condition&&new RegExp(t.value,"g").test(e)}}])&&a(t.prototype,e),n&&a(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,e,n}(),s=function(t,e){var n,r,o,i,a;(n={},r={},o=function(e){var n=window["wp_payform_"+t.attr("wpf_form_instance")];jQuery.each(e,(function(t,e){var r=function(t){var e,n,r=jQuery('[required_id*="'.concat(t,'"]'));return r=null!==(n=r=null!==(e=r)&&void 0!==e&&e.length?r:jQuery('[condition_id*="'.concat(t,'"]')))&&void 0!==n&&n.length?r:jQuery('[name*="'.concat(t,'"]'))}(t),o=a(t),i=o.closest(".wpf_has_condition");o.prop("required",0),e?(setTimeout((function(){i.addClass("wpf_cond_v")}),100),function(t,e,n){var r;null!=t&&t.includes("address_input")?jQuery("[required_id*=".concat(t,"] .wpf-t-cell .wpf_input_content .wpf_form_control")).map((function(){var n=jQuery(this).attr("name");"yes"===(null==e?void 0:e.conditional_logic["".concat(t)])[n]&&(jQuery(this).attr("required","1"),jQuery(this).attr("data-required","yes"))})):"yes"===(null==e||null===(r=e.conditional_logic["".concat(t)])||void 0===r?void 0:r.required_front)&&(n.attr("required","1"),n.attr("data-required","yes"),e.conditional_logic["".concat(t)].required="yes")}(t,n,r),i.removeClass("wpf_excluded").slideDown(200)):(setTimeout((function(){i.removeClass("wpf_cond_v")}),100),function(t,e,n){var r;null!=t&&t.includes("address_input")?jQuery("[required_id*=".concat(t,"] .wpf-t-cell .wpf_input_content .wpf_form_control")).map((function(){if("yes"===jQuery(this).attr("data-required")){jQuery(this).attr("data-required","no"),jQuery(this).removeAttr("required");var n=jQuery(this).attr("name");e.conditional_logic["".concat(t)][n]="yes"}})):null!==(r=jQuery('[data-element_type*="'.concat(t,'"]')).attr("class"))&&void 0!==r&&r.includes("wpf_has_condition")&&("yes"!==n.attr("data-required")&&"yes"!==n.data("checkbox_required")||(n.removeAttr("required"),n.data("checkbox_required")?n.attr("data-checkbox_required","no"):n.attr("data-required","no"),e.conditional_logic["".concat(t)].required_front="yes",e.conditional_logic["".concat(t)].required="no"))}(t,n,r),i.addClass("wpf_excluded").slideUp(200))}))},i=function(){var e={};return jQuery.each(n,(function(n,r){var o=r.prop("type")||r.attr("data-type");if("text"==o)e[n]=r.val();else if("radio"==o)e[n]="",r.each((function(t,r){if(r.classList.contains("wpf_payment_item"))jQuery(r).is(":checked")&&(e[n]=jQuery(r).attr("customname"));else if(jQuery(r).is(":checked")){var o=jQuery(r).attr("id");e[n]=jQuery("label[for=".concat(o,"]")).text().replace(/^\s+|\s+$/gm,"")}}));else if("select-one"==o)r.attr("class").includes("wpf_payment_item")?e[n]=r.find(":selected").attr("customname"):e[n]=r.find(":selected").text();else if("checkbox"==o)n=n.replace("[]",""),e[n]=[],r.each((function(t,r){if(r.classList.contains("wpf_payment_item")){if(jQuery(r).is(":checked")){var o=jQuery(r).val();e[n].push(o)}}else if(jQuery(r).is(":checked")){var i=jQuery(r).attr("id");e[n].push(jQuery("label[for=".concat(i,"]")).text().replace(/^\s+|\s+$/gm,""))}}));else if("file"==o){var i="";t.find("input[name="+n+"]").closest(".ff-el-input--content").find(".ff-uploaded-list").find(".ff-upload-preview[data-src]").each((function(t,e){i+=$(this).data("src")})),e[n]=i}else e[n]=r.val()})),e},a=function(e){var n=t,r=null!=e&&e.includes("radio")?jQuery(":input[name='"+e+"']",n):jQuery(":input[name='"+e+"']",n).last();return(r=(r=jQuery(":input[name='"+e+"']",n)).length?r:jQuery("[condition_id='"+e+"']",n)).length?r:jQuery("[condition_id='"+e+"']",n)},{init:function(){if(e.conditional_logic){jQuery.each(e.conditional_logic,(function(t,e){t&&jQuery.each(e.options,(function(t,e){var r,o=a(e.target_field),i=o.prop("name");if(null!==(r=o.prop("class"))&&void 0!==r&&r.includes("wpf_payment_item")&&"checkbox"===o.prop("type")){var c=o.prop("name").replace(/\[\d]/g,"");n[c]=o}else if(null!=i&&i.includes("address_input")){var u=i.match(/\[(.*?)\]/);n[u[1]]=o}else n[o.prop("name")]=o}))})),r=i();var t=new u(e.conditional_logic,r);jQuery.each(n,(function(e,n){n.on("change",(function(){r=i(),t.setFormData(r),o(t.getCalculatedStatuses())}))})),o(t.getCalculatedStatuses())}}}).init()},f=n(176),l=n.n(f),p=function(t,e){null==t||t.removeClass("wpf_form_has_errors"),null==t||t.parent().find(".wpf_form_restrictuon_errors").remove(),null==e||e.removeClass("wpf_form_notice_error wpf_form_notice_success wpf_form_notice_info"),null==e||e.html("").hide()};function d(t){return(d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var h=function(t,e,n,r,o){p(r,o);var i="";n&&(i+='<p class="wpf_alert_heading">'+n+"</p>"),"string"==typeof t&&t&&(i+=t),"object"==d(t)&&t&&(i+='<ul class="wpf_alert_ietms">',jQuery.each(t,(function(t,e){i+="<li>"+e+"</li>"})),i+="</ul>"),i&&(null==o||o.addClass("wpf_form_notice_"+e),null==o||o.html(i).show(),"error"==e&&(null==r||r.parent().addClass("wpf_form_has_errors")))},m=function(t,e,n){return n=function(t){var e=window.wp_payform_general;return e.i18n[t]?e.i18n[t]:""},new Promise((function(r,o){var i,a;function c(t){var e=t.closest(".wpf_form_group").find("label").text();if(!e){var n=t.attr("placeholder");e=n||errorId}return e}var u={},s=t.find('input[data-required="yes"][data-type="input"],input[data-required="yes"][type="checkbox"] ,textarea[data-required="yes"],select[data-required="yes"]');s.length&&jQuery.each(s,(function(t,e){var r,o=jQuery(e),i=!o.val();if("checkbox"===o.attr("type")&&(i=!o.prop("checked")),(null===(r=o.parents(".wpf_excluded"))||void 0===r?void 0:r.length)>0&&(i=!1,o.prop("required",0)),i){o.addClass("wpf_has_error");var a=o.attr("name"),s=c(o);u[a]=s+" "+n("is_required")}if("email"===o.attr("type")&&o.val()){var f=o.val();if(!/^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9-]+(?:\.[a-zA-Z0-9-]+)*)\.[a-zA-Z]{2,63}$/.test(f)){var l=o.attr("name"),p=c(o);u[l]=p+" Invalid"}}}));var f=t.find('input[data-required="yes"][data-type="file_upload"]');f.length&&jQuery.each(f,(function(e,r){var o=jQuery(r),i=o.val();if(!t.find("input[name^="+i+"]").val()){var a=o.attr("name"),s=c(o);u[a]=s+" "+n("is_required")}}));var p=t.find('div[data-required="yes"][data-element_type="radio"],div[data-required="yes"][data-required_element="radio"]');p.length&&0===(null===(i=p.closest(".wpf_excluded"))||void 0===i?void 0:i.length)&&jQuery.each(p,(function(t,e){var r=jQuery(e);if(!r.find("input").is(":checked")){var o=r.attr("data-target_element"),i=r.find(".wpf_input_label label").text();i||(i=o),u[o]=i+" "+n("is_required")}}));var d=t.find('div[data-checkbox_required="yes"][data-element_type="checkbox"]');d.length&&0===(null===(a=d.closest(".wpf_excluded"))||void 0===a?void 0:a.length)&&jQuery.each(d,(function(t,e){var r=jQuery(e);if(!r.find("input").is(":checked")){var o=r.attr("data-target_element"),i=r.find(".wpf_input_label label").text();i||(i=o),u[o]=i+" "+n("is_required")}}));var m=t.find('[data-element_type="wpf_phone_input_error"]');if(m.each((function(){if(jQuery(m).text()){var t=jQuery("#".concat(this.id)).text(),e=jQuery("#".concat(this.id)).attr("name");t.length&&(u[this.id]=e+" "+t)}})),!l()(u))return h(u,"error",n("validation_failed"),t,e),void o("validation_failed");r(!0)}))};function _(t){return(_="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function v(){v=function(){return e};var t,e={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(t,e,n){t[e]=n.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function s(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(t){s=function(t,e,n){return t[e]=n}}function f(t,e,n,r){var i=e&&e.prototype instanceof y?e:y,a=Object.create(i.prototype),c=new Q(r||[]);return o(a,"_invoke",{value:P(t,n,c)}),a}function l(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}e.wrap=f;var p="suspendedStart",d="executing",h="completed",m={};function y(){}function g(){}function w(){}var b={};s(b,a,(function(){return this}));var x=Object.getPrototypeOf,j=x&&x(x(I([])));j&&j!==n&&r.call(j,a)&&(b=j);var S=w.prototype=y.prototype=Object.create(b);function O(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function k(t,e){function n(o,i,a,c){var u=l(t[o],t,i);if("throw"!==u.type){var s=u.arg,f=s.value;return f&&"object"==_(f)&&r.call(f,"__await")?e.resolve(f.__await).then((function(t){n("next",t,a,c)}),(function(t){n("throw",t,a,c)})):e.resolve(f).then((function(t){s.value=t,a(s)}),(function(t){return n("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,r){function o(){return new e((function(e,o){n(t,r,e,o)}))}return i=i?i.then(o,o):o()}})}function P(e,n,r){var o=p;return function(i,a){if(o===d)throw Error("Generator is already running");if(o===h){if("throw"===i)throw a;return{value:t,done:!0}}for(r.method=i,r.arg=a;;){var c=r.delegate;if(c){var u=C(c,r);if(u){if(u===m)continue;return u}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===p)throw o=h,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=d;var s=l(e,n,r);if("normal"===s.type){if(o=r.done?h:"suspendedYield",s.arg===m)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(o=h,r.method="throw",r.arg=s.arg)}}}function C(e,n){var r=n.method,o=e.iterator[r];if(o===t)return n.delegate=null,"throw"===r&&e.iterator.return&&(n.method="return",n.arg=t,C(e,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),m;var i=l(o,e.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,m;var a=i.arg;return a?a.done?(n[e.resultName]=a.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,m):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,m)}function E(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function Q(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(E,this),this.reset(!0)}function I(e){if(e||""===e){var n=e[a];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function n(){for(;++o<e.length;)if(r.call(e,o))return n.value=e[o],n.done=!1,n;return n.value=t,n.done=!0,n};return i.next=i}}throw new TypeError(_(e)+" is not iterable")}return g.prototype=w,o(S,"constructor",{value:w,configurable:!0}),o(w,"constructor",{value:g,configurable:!0}),g.displayName=s(w,u,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===g||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,w):(t.__proto__=w,s(t,u,"GeneratorFunction")),t.prototype=Object.create(S),t},e.awrap=function(t){return{__await:t}},O(k.prototype),s(k.prototype,c,(function(){return this})),e.AsyncIterator=k,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new k(f(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},O(S),s(S,u,"Generator"),s(S,a,(function(){return this})),s(S,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},e.values=I,Q.prototype={constructor:Q,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(T),!e)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function o(r,o){return c.type="throw",c.arg=e,n.next=r,o&&(n.method="next",n.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=r.call(a,"catchLoc"),s=r.call(a,"finallyLoc");if(u&&s){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(u){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!s)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,m):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),m},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),T(n),m}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;T(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:I(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),m}},e}function y(t,e,n,r,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void n(t)}c.done?e(u):Promise.resolve(u).then(r,o)}function g(t){return function(){var e=this,n=arguments;return new Promise((function(r,o){var i=t.apply(e,n);function a(t){y(i,r,o,a,c,"next",t)}function c(t){y(i,r,o,a,c,"throw",t)}a(void 0)}))}}function w(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,b(r.key),r)}}function b(t){var e=function(t,e){if("object"!=_(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=_(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==_(e)?e:e+""}var x=function(){return t=function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)},(e=[{key:"step_form_handler",value:function(t,e){var n=1,r=t.find(".wpf_step_section").length-1,o=t.parent();o.find("#wpf_step_prev").addClass("wpf_step_disabled"),t.find(".wpf_step_section").not(".wpf_step_section:nth-of-type(1)").hide(),t.find(".wpf_step_section").not(".wpf_step_section:nth-of-type(1)").css("transform","translateX(100px)"),t.find("#wpf_svg_form_time rect").css("fill","rgb(230,230,230)"),t.find("#wpf_svg_form_time circle").css("fill","rgb(230,230,230)"),t.find("circle:nth-of-type(1)").css("fill","#ff7518"),t.find(".step-form-item:nth-of-type(1)").addClass("active");var i=!1;function a(){var e=t.find(".wpf_step_section:nth-of-type("+n+")");e.fadeIn(),e.css("transform","translateX(0)"),e.prevAll(".wpf_step_section").css("transform","translateX(-100px)"),e.nextAll(".wpf_step_section").css("transform","translateX(100px)"),t.find(".wpf_step_section").not(e).hide()}o.find(".wpf_step_button").click(g(v().mark((function c(){var u,s,f;return v().wrap((function(c){for(;;)switch(c.prev=c.next){case 0:return u=t.find("#wpf_step_section_".concat(n)),c.next=3,p(u,e);case 3:return c.next=5,m(u,e).then((function(){i=!1})).catch((function(){i=!0}));case 5:if("wpf_step_next"!=(s=jQuery(this).attr("id"))){c.next=18;break}if(!i){c.next=12;break}return t.find(".step-form-item:nth-of-type(".concat(n,")")).addClass("error"),c.abrupt("return");case 12:t.find(".step-form-item:nth-of-type(".concat(n,")")).removeClass("error");case 13:if(o.find("#wpf_step_prev").removeClass("wpf_step_disabled"),n>=r&&(jQuery(this).addClass("wpf_step_disabled"),jQuery("#submit").removeClass("wpf_step_disabled")),n<=r){for(f=1;f<=n;f++)t.find(".step-form-item:nth-of-type(".concat(f,")")).removeClass("active"),t.find(".step-form-item:nth-of-type(".concat(f+1,")")).addClass("active"),t.find(".step-form-item:nth-of-type(".concat(f,")")).addClass("success");n++}c.next=28;break;case 18:if("wpf_step_prev"!=s){c.next=28;break}return c.next=21,p(u,e);case 21:o.find("#wpf_step_next").removeClass("wpf_step_disabled"),t.find(".step-form-item:nth-of-type(".concat(n,")")).removeClass("error"),jQuery("#submit").addClass("wpf_step_disabled"),n<=2&&jQuery(this).addClass("wpf_step_disabled"),t.find(".step-form-item:nth-of-type(".concat(n,")")).removeClass("active"),n>1&&(n--,t.find(".step-form-item:nth-of-type(".concat(n,")")).removeClass("success")),t.find(".step-form-item:nth-of-type(".concat(n,")")).addClass("active");case 28:jQuery([document.documentElement,document.body]).animate({scrollTop:jQuery("#wpf_svg_wrap").offset().top},1e3),a();case 30:case"end":return c.stop()}}),c,this)})))),t.find(".wpf-step-header-btn").click(g(v().mark((function i(){var c,u,s,f,l;return v().wrap((function(i){for(;;)switch(i.prev=i.next){case 0:return c=!1,u=jQuery(this).attr("id"),n=u,s=t.find("#wpf_step_section_".concat(n-1)),i.next=6,p(s,e);case 6:return i.next=8,m(s,e).then((function(){c=!1})).catch((function(){c=!0}));case 8:if(!c){i.next=14;break}return t.find(".step-form-item:nth-of-type(".concat(n-1,")")).addClass("error"),n-=1,i.abrupt("return");case 14:t.find(".step-form-item:nth-of-type(".concat(n-1,")")).removeClass("error");case 15:for(n>1&&o.find("#wpf_step_prev").removeClass("wpf_step_disabled"),1==n?(o.find("#wpf_step_prev").addClass("wpf_step_disabled"),o.find("#wpf_step_next").removeClass("wpf_step_disabled"),o.find("#submit").addClass("wpf_step_disabled")):n==r+1?(o.find("#wpf_step_next").addClass("wpf_step_disabled"),t.find("#wpf_step_prev").removeClass("wpf_step_disabled"),o.find("#submit").removeClass("wpf_step_disabled")):(o.find("#wpf_step_next").removeClass("wpf_step_disabled"),o.find("#wpf_step_prev").removeClass("wpf_step_disabled"),o.find("#submit").addClass("wpf_step_disabled")),f=1;f<=r+1;f++)t.find(".step-form-item:nth-of-type(".concat(f,")")).removeClass("active"),t.find(".step-form-item:nth-of-type(".concat(f,")")).removeClass("success");for(l=1;l<=n;l++)t.find(".step-form-item:nth-of-type(".concat(l-1,")")).removeClass("active"),t.find(".step-form-item:nth-of-type(".concat(l-1,")")).addClass("success"),t.find(".step-form-item:nth-of-type(".concat(l,")")).addClass("active");a();case 20:case"end":return i.stop()}}),i,this)}))))}}])&&w(t.prototype,e),n&&w(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,e,n}();function j(t){return(j="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function S(){S=function(){return e};var t,e={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(t,e,n){t[e]=n.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function s(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(t){s=function(t,e,n){return t[e]=n}}function f(t,e,n,r){var i=e&&e.prototype instanceof _?e:_,a=Object.create(i.prototype),c=new Q(r||[]);return o(a,"_invoke",{value:P(t,n,c)}),a}function l(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}e.wrap=f;var p="suspendedStart",d="executing",h="completed",m={};function _(){}function v(){}function y(){}var g={};s(g,a,(function(){return this}));var w=Object.getPrototypeOf,b=w&&w(w(I([])));b&&b!==n&&r.call(b,a)&&(g=b);var x=y.prototype=_.prototype=Object.create(g);function O(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function k(t,e){function n(o,i,a,c){var u=l(t[o],t,i);if("throw"!==u.type){var s=u.arg,f=s.value;return f&&"object"==j(f)&&r.call(f,"__await")?e.resolve(f.__await).then((function(t){n("next",t,a,c)}),(function(t){n("throw",t,a,c)})):e.resolve(f).then((function(t){s.value=t,a(s)}),(function(t){return n("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,r){function o(){return new e((function(e,o){n(t,r,e,o)}))}return i=i?i.then(o,o):o()}})}function P(e,n,r){var o=p;return function(i,a){if(o===d)throw Error("Generator is already running");if(o===h){if("throw"===i)throw a;return{value:t,done:!0}}for(r.method=i,r.arg=a;;){var c=r.delegate;if(c){var u=C(c,r);if(u){if(u===m)continue;return u}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===p)throw o=h,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=d;var s=l(e,n,r);if("normal"===s.type){if(o=r.done?h:"suspendedYield",s.arg===m)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(o=h,r.method="throw",r.arg=s.arg)}}}function C(e,n){var r=n.method,o=e.iterator[r];if(o===t)return n.delegate=null,"throw"===r&&e.iterator.return&&(n.method="return",n.arg=t,C(e,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),m;var i=l(o,e.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,m;var a=i.arg;return a?a.done?(n[e.resultName]=a.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,m):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,m)}function E(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function Q(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(E,this),this.reset(!0)}function I(e){if(e||""===e){var n=e[a];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function n(){for(;++o<e.length;)if(r.call(e,o))return n.value=e[o],n.done=!1,n;return n.value=t,n.done=!0,n};return i.next=i}}throw new TypeError(j(e)+" is not iterable")}return v.prototype=y,o(x,"constructor",{value:y,configurable:!0}),o(y,"constructor",{value:v,configurable:!0}),v.displayName=s(y,u,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===v||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,y):(t.__proto__=y,s(t,u,"GeneratorFunction")),t.prototype=Object.create(x),t},e.awrap=function(t){return{__await:t}},O(k.prototype),s(k.prototype,c,(function(){return this})),e.AsyncIterator=k,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new k(f(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},O(x),s(x,u,"Generator"),s(x,a,(function(){return this})),s(x,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},e.values=I,Q.prototype={constructor:Q,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(T),!e)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function o(r,o){return c.type="throw",c.arg=e,n.next=r,o&&(n.method="next",n.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=r.call(a,"catchLoc"),s=r.call(a,"finallyLoc");if(u&&s){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(u){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!s)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,m):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),m},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),T(n),m}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;T(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:I(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),m}},e}function O(t,e,n,r,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void n(t)}c.done?e(u):Promise.resolve(u).then(r,o)}function k(t){return function(){var e=this,n=arguments;return new Promise((function(r,o){var i=t.apply(e,n);function a(t){O(i,r,o,a,c,"next",t)}function c(t){O(i,r,o,a,c,"throw",t)}a(void 0)}))}}function P(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,C(r.key),r)}}function C(t){var e=function(t,e){if("object"!=j(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=j(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==j(e)?e:e+""}var E=function(){return t=function t(e,n){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.form=e,this.totalAmountWithoutDiscount=0,this.selector="."+e.attr("wpf_form_instance"),this.config=n,this.formId=n.form_id,this.paymentMethod="",this.generalConfig=window.wp_payform_general,this.formConfigInstance="wp_payform_"+e.attr("wpf_form_instance"),this.formConfig=window[this.formConfigInstance],this.$formNoticeWrapper=e.parent().find(".wpf_form_notices"),this.appliedCoupons={},this.currencyRates={},this.currency_settings=window["wp_payform_"+this.form.attr("wpf_form_instance")].currency_settings},(e=[{key:"$t",value:function(t){return this.generalConfig.i18n[t]?this.generalConfig.i18n[t]:""}},{key:"initForm",value:function(){var t=this;this.form.find("button.wpf_submit_button").attr("disabled",!1),this.form.trigger("wppayform_init_single",[this,this.config]),this.setQuickFormLayoutWidth();var e=window.wp_payform_general.has_pro;if("1"===e){var n=window["wp_payform_"+this.form.attr("wpf_form_instance")];s(this.form,n)}this.calculatePayments(),this.form.find(".wpf_payment_item, .wpf_item_qty, .wpf_tabular_qty, .wpf_form_control, .wpf-product-checkbox_input, .wpf_tabular_multiple_option").on("change",(function(e){t.calculatePayments()})),this.form.find(".wpf-product-checkbox").on("click",(function(e){var n=jQuery(e.target).prev().prop("checked");t.setMinimumQtyInCheckedTabularItem(e,n),jQuery(e.target).prev().prop("checked",!n),t.calculatePayments()}));var r=this.form.find(".wpf_simple_donation_form").attr("class");null!=r&&r.includes("wpf_simple_donation_form")&&(jQuery(".wpf_form_preview_wrapper").addClass("wpf_simple_donation_form_wrapper"),jQuery(".wpf_form").addClass("simple_wpf_form"),jQuery(".wpf_donation_image_container").removeClass("wpf_donation_image_container")),this.form.find(".wpf_payment_item, .wpf_item_qty, .wpf_tabular_qty").on("change",(function(e){var n=t.form.find(".__wpf_all_applied_coupons").val();if(null!=n&&n.length){var r=JSON.parse(n);null==r||r.map((function(e){return t.applyCoupon(e,"re_check_coupon")}))}})),new x("hello hit condition").step_form_handler(this.form,this.$formNoticeWrapper),this.handleDonationComponents(),this.initPaymentMethodChange(),this.initDiscountCode(),this.initCurrencyChange(),this.form.find(".wpf_tabular_qty").on("change",(function(n){if("1"===e){var r=window["wp_payform_"+t.form.attr("wpf_form_instance")];s(t.form,r)}})),"embedded_form"==this.config.stripe_checkout_style?(this.paymentMethod="stripe",this.stripe=Stripe(this.config.stripe_pub_key),this.initStripeElement()):"stripe_checkout"==this.config.stripe_checkout_style&&(this.paymentMethod="stripe",this.stripe=Stripe(this.config.stripe_pub_key)),jQuery(document).on("submit",this.selector,(function(e){e.preventDefault(),t.handleFormSubmit()})),this.maybeSubscriptionSetup(),this.maybeCustomSubscriptionItemSetup()}},{key:"setMinimumQtyInCheckedTabularItem",value:function(t,e){var n=jQuery(t.target).parent().find(".wpf_tabular_qty").attr("mini"),r=jQuery(t.target).parent().find(".wpf_tabular_qty").val(),o=jQuery(t.target).parent().find(".wpf_tabular_qty").attr("def");o=(o=o>n?o:n)>r?o:r,e?(jQuery(t.target).parent().find(".wpf_tabular_qty").val(o),jQuery(t.target).parent().find(".wpf_tabular_qty").attr("min",0)):(jQuery(t.target).parent().find(".wpf_tabular_qty").val(o),jQuery(t.target).parent().find(".wpf_tabular_qty").attr("min",n))}},{key:"setQuickFormLayoutWidth",value:function(){this.form.find(".wpf_donation_image_container").attr("class")||(jQuery("div.wpf_form_group").css("padding-left","0px"),jQuery(".wpf_all_payment_methods_wrapper").css("padding-left","0px"),jQuery(".wpf_form_preview_wrapper").addClass("wpf_donation_wrapper"))}},{key:"handleDonationComponents",value:function(){var t=this,e=this.form.find(".wpf_donation_controls_custom input");e.on("change",(function(e){t.calculatePayments(100*parseInt(e.target.value))})),e.on("click",(function(e){t.form.find(".wpf_donation_controls_radio input").prop("checked",!0)})),this.form.find(".wpf_donation_controls_radio input").on("change",(function(e){var n=e.target.attributes["data-price"].value;console.log("donation price changed: ",n,e.target.value);var r=t.form.find(".wpf_donation_controls_custom input");if("custom"==e.target.value)r.get(0).focus(),t.calculatePayments(100*parseInt(r.get(0).value)),console.log("donation price changed: ",n,e.target.value,r.get(0).value);else{var o=parseInt(n)/100;r.attr("data-price",o),r.val(o),t.calculatePayments()}})),this.form.find(".wpf_donation_recurring_controller input[type=checkbox]").on("change",(function(e){var n=t.form.find(".wpf_donation_recurring_infos").get(0);jQuery(e.target).prop("checked")?n.style.display="flex":n.style.display="none"}))}},{key:"conditionalFormValidation",value:function(t){var e=this.form.find(":input").filter((function(t,e){return!jQuery(e).closest(".wpf_has_condition").hasClass("wpf_excluded")}));return this.calculateTabularTotal("","",!0),e.serialize()}},{key:"handleFormSubmit",value:function(){var t=this;p(this.form,this.$formNoticeWrapper),m(this.form,this.$formNoticeWrapper).then((function(e){return jQuery("#wpf_step_prev").hide(),t.validateRecaptcha()})).then((function(t){})).then((function(e){var n=t.conditionalFormValidation(t.formId);t.buttonState("submitting_form",t.$t("button_state"),!0,e),jQuery.post(t.generalConfig.ajax_url,{action:"wpf_submit_form",form_id:t.formId,payment_total:t.form.data("payment_total"),form_data:n,tax_total:t.form.data("tax_total"),main_total:t.form.data("payment_total_without_discount"),form_localize:window["wp_payform_"+t.form.attr("wpf_form_instance")]}).then((function(e){e&&e.data&&"string"!=typeof e?e.data.nextAction?t.form.trigger("wppayform_next_action_"+e.data.nextAction,{form:t.form,response:e}):e.data.call_next_method?t[e.data.call_next_method](e.data):(t.form.trigger("wpf_submission_success",{form:t.form,config:t.config}),t.handlePaymentSuccess(e.data)):t.handleServerUnexpectedError(e)})).fail((function(n){var r;"string"!=typeof n&&n.responseJSON&&n.responseJSON.data?h(n.responseJSON.data.errors,"error",n.responseJSON.data.message,t.form,t.$formNoticeWrapper):t.handleServerUnexpectedError(e),null!==(r=n.responseJSON)&&void 0!==r&&r.errors&&t.handleServerUnexpectedError(n.responseJSON.errors),n&&n.responseJSON&&n.responseJSON.data&&t.form.trigger("wpf_form_fail_submission",n.responseJSON.data),t.form.trigger("server_error",[n]),t.form.removeClass("wpf_submitting_form"),t.form.find("button.wpf_submit_button").removeAttr("disabled"),t.buttonState("normal","",!1)})).always((function(e){e&&e.responseJSON&&e.responseJSON.data&&e.responseJSON.data.form_events&&t.fireFormEvents(e.responseJSON.data.form_events,e.responseJSON.data)}))})).catch((function(e){jQuery(".step-form-item").last().addClass("error"),t.buttonState("state_normal","",!1,e)}))}},{key:"normalRedirect",value:function(t){h(t.message,"success","",this.form,this.$formNoticeWrapper),window.location.href=t.redirect_url}},{key:"initDiscountCode",value:function(){var t=this;if(!this.form.find(".wpf_item_coupon").length)return!1;this.form.append('<input type="hidden" class="__wpf_all_applied_coupons" name="__wpf_all_applied_coupons"/>'),this.form.find(".wpf_coupon_action").on("click",(function(e){t.applyCoupon()}))}},{key:"applyCoupon",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=this.form.find(".wpf_coupon_field").val()||e,o=this.form.find(".wpf_item_coupon"),i=o.find("input.wpf_coupon_field");jQuery.post(this.generalConfig.ajax_url,{action:"wpf_coupon_apply",route:"validate",form_id:this.formId,coupon:r,payment_total:this.form.data("payment_total_without_discount"),form_data:jQuery(this.form).serialize(),other_coupons:this.form.find(".__wpf_all_applied_coupons").val()}).then((function(e){var n=e.coupon;t.appliedCoupons[n.code]=n,t.form.find(".__wpf_all_applied_coupons").attr("value",JSON.stringify(Object.keys(t.appliedCoupons)));var a=n.amount+"%";"fixed"==n.coupon_type&&(a=t.getFormattedPrice(100*n.amount));var c="".concat(n.code," <span>-").concat(a,"</span>");t.recordCouponMessage(o,r,c,"success"),t.calculatePayments(),i.val("")})).fail((function(e){t.recordCouponMessage(o,r,e.responseJSON.message,"error",n)})).always((function(){t.calculatePayments(),i.val("")}))}},{key:"getDiscounts",value:function(){var t=Object.values(this.appliedCoupons);return t.sort((function(t,e){return"fixed"===t.coupon_type&&"fixed"!==e.coupon_type?-1:"fixed"!==t.coupon_type&&"fixed"===e.coupon_type?1:0})),t}},{key:"recordCouponMessage",value:function(t,e,n,r,o){var i=this;t.find(".wpf_coupon_responses").length||t.append('<ul class="wpf_coupon_responses"></ul>');var a=t.find(".wpf_coupon_responses");"re_check_coupon"===o&&("error"===r&&a.find(".wpf_success, .wpf_resp_item_"+e).remove(),a.find(".wpf_resp_item_"+e).remove(),delete this.appliedCoupons[e],this.calculatePayments()),a.find(".wpf_error, .wpf_resp_item_"+e).remove();var c=jQuery("<li/>",{class:"wpf_".concat(r," wpf_resp_item_").concat(e)}),u=jQuery("<span/>",{class:"error-clear",html:"&times;",click:function(t){a.find(".wpf_resp_item_"+e).remove(),delete i.appliedCoupons[e],i.form.find(".__wpf_all_applied_coupons").attr("value",JSON.stringify(Object.keys(i.appliedCoupons))),i.calculatePayments()}});a.append(c.append(u,n))}},{key:"stripeSetupItent",value:(a=k(S().mark((function t(e){var n;return S().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return h(e.message,"info","",this.form,this.$formNoticeWrapper),this.buttonState("validating_form","Validating Card Info",!0,e),t.next=4,this.stripe.confirmCardPayment(e.client_secret,{payment_method:e.payment_method_id});case 4:if(!(n=t.sent).error){t.next=9;break}return h(n.error.message,"error","",this.form,this.$formNoticeWrapper),this.buttonState("sca_declined","",!1,n.error),t.abrupt("return");case 9:this.handleStripePaymentConfirm({action:"wppayform_sca_inline_confirm_payment_setup_intents",form_id:this.formId,payment_method:n.paymentIntent.payment_method,payemnt_method_id:e.payemnt_method_id,payment_intent_id:n.paymentIntent.id,submission_id:e.submission_id,stripe_subscription_id:e.stripe_subscription_id,type:"handleCardSetup"});case 10:case"end":return t.stop()}}),t,this)}))),function(t){return a.apply(this,arguments)})},{key:"initStripeSCAModal",value:(i=k(S().mark((function t(e){var n,r,o;return S().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return this.buttonState("authenticating_sca","Authenticating Payment",!0,e),h(e.message,"info","",this.form,this.$formNoticeWrapper),t.next=4,this.stripe.handleCardAction(e.stripe_payment_intent_client_secret);case 4:if(n=t.sent,r=n.error,o=n.paymentIntent,!r){t.next=11;break}return h(r.message,"error","",this.form,this.$formNoticeWrapper),this.buttonState("sca_declined","",!1,r),t.abrupt("return");case 11:this.handleStripePaymentConfirm({action:"wppayform_sca_inline_confirm_payment",form_id:this.formId,payment_method:o.payment_method,payment_intent_id:o.id,submission_id:e.submission_id,type:"handleCardAction"});case 12:case"end":return t.stop()}}),t,this)}))),function(t){return i.apply(this,arguments)})},{key:"handleStripePaymentConfirm",value:function(t){var e=this;h("Confirming Payment. Please wait a little bit...","info","",this.form,this.$formNoticeWrapper),this.buttonState("confirming_payment","Confirming Payment",!0,t),jQuery.post(this.generalConfig.ajax_url,t).then((function(t){t&&t.data&&"string"!=typeof t?e.handlePaymentSuccess(t.data):e.handleServerUnexpectedError(t)})).fail((function(t){"string"!=typeof t&&t.responseJSON.data?h(t.responseJSON.data.errors,"error",t.responseJSON.data.message,e.form,e.$formNoticeWrapper):e.handleServerUnexpectedError(response),e.buttonState("payment_failed","",!1,t)})).always((function(){}))}},{key:"handlePaymentSuccess",value:function(t){var e=t.confirmation;if(this.form.parent().addClass("wpf_form_submitted"),this.form.trigger("wpf_form_submitted",t),this.form.trigger("wpf_form_sucess",t),this.form.removeClass("wpf_submitting_form"),this.form.find("button.wpf_submit_button").removeAttr("disabled"),this.form.removeClass("wpf_submitting_form"),"samePage"==e.redirectTo)this.form.removeClass("wpf_submitting_form"),this.form.find("button.wpf_submit_button").removeAttr("disabled"),this.form.parent().removeClass("wpf_form_has_errors"),h(e.messageToShow,"success","",this.form,this.$formNoticeWrapper),"hide_form"==e.samePageFormBehavior&&(this.form.hide(),jQuery([document.documentElement,document.body]).animate({scrollTop:this.$formNoticeWrapper.offset().top-100},200)),this.form.find("button.wpf_submit_button .wpf_txt_loading").hide(),this.form.find("button.wpf_submit_button .wpf_txt_normal").show(),jQuery("#wpf_form_id_"+this.formId)[0].reset(),this.form.trigger("stripe_clear");else if("customUrl"==e.redirectTo)return e.messageToShow&&h(e.messageToShow,"success","",this.form,this.$formNoticeWrapper),window.location.href=e.customUrl,!1}},{key:"validateRecaptcha",value:function(){var t=this;return new r.a((function(e,n){if("v2"==t.form.attr("data-recaptcha_version")){var r=recaptchInstances["form_"+t.formId];if(null!=r){var o=grecaptcha.getResponse(r);o?e(o):(h("","error",t.$t("verify_recaptcha"),t.form,t.$formNoticeWrapper),n("reCAPTCHA validation error"))}}else e(!0)}))}},{key:"stripeElementPaymentToken",value:function(){var t=this;return new r.a((function(e,n){"stripe"==t.paymentMethod&&t.stripeCard?(t.buttonState("validating_form","Validating...",!0),t.stripe.createPaymentMethod("card",t.stripeCard).then((function(r){if(r.error)n(r.error.message);else{var o=r.paymentMethod.id;t.form.find("input[name=__stripe_payment_method_id]").remove();var i=document.createElement("input");i.setAttribute("type","hidden"),i.setAttribute("name","__stripe_payment_method_id"),i.setAttribute("value",o),t.form.append(i),e(!0)}}))):e(!0)}))}},{key:"stripeRedirectToCheckout",value:function(t){h(t.message,"success","",this.form,this.$formNoticeWrapper),this.stripe.redirectToCheckout({sessionId:t.session_id}).then((function(t){}))}},{key:"calculatePayments",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=this.form,n=!1;(this.form.find("select[name=currency_switcher]").length>0||this.form.find("input[name=currency_switcher]").length>0)&&(n=!0);var r=e.find(".wpf_payment_item, .wpf_donation_item"),o=0,i=e.attr("id"),a={},c={},u=0;r.each((function(t,r){var s=jQuery(r).attr("name");if(null!=s&&s.includes("donation_item_custom")&&0==n){var f="".concat(i,"_bar"),l="".concat(i,"_raised_donation"),p="".concat(i,"_goal_amount"),d=jQuery("div[name=".concat(f,"]")),h=jQuery("div[name=".concat(f,"]")).data("percentage"),m=parseInt(jQuery(r).val()),_=jQuery("div[name=".concat(l,"]")).data("raised"),v=jQuery("div[name=".concat(p,"]")).data("goal"),y=m?(_+m)/v:h/100,g=Math.round(100*y);d.animate({width:g+"%"},1e3),100*y<100?d.text("".concat(g,"%")):d.text("Goal reached")}var w=r.type,b=jQuery(r),x=b.attr("name");if("radio"==w){var j=e.find("input[name="+x+"]:checked"),S=j.data("price"),O=j.attr("customname");o=j.data("initial_amount");var k=j.parents().eq(2).hasClass("wpf_excluded");!S||null!=x&&x.includes("donation_item")||k||(a[x]=parseInt(S),c[x]={name:x,total:parseInt(S),initialTotal:parseInt(S),customName:O,itemNames:[]}),j.data.subscription_amount&&(u+=parseInt(j.data.subscription_amount))}else if("hidden"==w){var P;jQuery("[single-paymen-item*=".concat(x,"]"));var C=(null===(P=jQuery("[single-paymen-item*=".concat(x,"]")).attr("class"))||void 0===P?void 0:P.includes("wpf_excluded"))||b.parent().hasClass("wpf_excluded"),E=b.attr("data-price"),T=b.attr("customname");E&&!0!==C&&(a[x]=parseInt(E),c[x]={name:x,total:parseInt(E),initialTotal:parseInt(E),customName:T,itemNames:[]}),b.attr("data-subscription_amount")&&(u+=parseInt(b.attr("data-subscription_amount")))}else if("yes"==b.data("is_custom_price")){var Q,I=jQuery(this).val(),N=null===(Q=jQuery(b))||void 0===Q||null===(Q=Q.closest(".wpf_excluded"))||void 0===Q?void 0:Q.hasClass("wpf_excluded");if(I&&!N){var F=b.attr("customname");a[x]=parseInt(100*parseFloat(I)),c[x]={name:x,total:parseInt(100*parseFloat(I)),initialTotal:parseInt(100*parseFloat(I)),customName:F,itemNames:[]}}}else if("checkbox"==w){var A=b.data("group_id"),L=e.find('input[data-group_id="'+A+'"]:checked'),M=b.attr("groupname"),q=[],R=0;L.each((function(t,e){var n=jQuery(e).data("price"),r=jQuery(e).attr("customname");q.push(r),n&&(R+=parseInt(n))})),R>0&&(a[A]=R,c[A]={name:A,total:R,initialTotal:R,customName:M,itemNames:q})}else if("select-one"==w){var $=e.find("select[name="+x+"] option:selected"),W=$.data("price"),D=$.attr("customname"),G=$.parents().eq(2).hasClass("wpf_excluded");W&&!G&&(a[x]=parseInt(W),c[x]={name:x,total:parseInt(W),initialTotal:parseInt(W),customName:D,itemNames:[]}),o=$.data("initial_amount"),$.attr("data-subscription_amount")&&(u+=parseInt($.attr("data-subscription_amount")))}}));var s=t;a=this.calculateTabularTotal(a,c),s=0,jQuery.each(a,(function(t,n){if(n){var r=e.find(".wpf_item_qty[data-target_product="+t+"]");if(r.length){var i=jQuery(r).val();if(0==i||parseInt(i)){var u=Math.abs(parseInt(i))*n;a[t]=u,c[t].total=u,c[t].qty=i,s+=u,parseInt(o)>0&&parseInt(i)>1&&(s-=(parseInt(i)-1)*parseInt(o))}}else{var f;if(null===(f=jQuery(".wpf_item_".concat(t)).attr("class"))||void 0===f?void 0:f.includes("wpf_excluded"))return;s+=n}}}));var f=s,l=this.getDiscounts(),p=0;jQuery.each(l,(function(t,e){var n=e.amount;n="percent"==e.coupon_type?e.amount/100*s:100*e.amount,s-=n,p+=n}));var d="total_discount_".concat(jQuery(this.form).attr("id"));c[d]={name:d,total:p,initialTotal:"",customName:"Discounts",itemNames:[],is_discount_tax_field:!0};var h=s,m=this.calCulateTaxAmount(a,p,s,c);m&&(s+=m),e.find(".wpf_calc_tax_total").html(this.getFormattedPrice(m)),e.find(".wpf_calc_sub_total").html(this.getFormattedPrice(h)),e.find(".wpf_calc_payment_total").html(this.getFormattedPrice(s)),e.data("payment_total",s),e.data("payment_total_without_discount",f),e.data("subscription_total",u),e.data("tax_total",m),this.payemntSummaryTable(c,s,i)}},{key:"calCulateTaxAmount",value:function(t,e,n,r){var o=this,i=this.form;if(!i.hasClass("wpf_has_tax_item"))return 0;var a=i.find("label.wpf_tax_line_item"),c=0;jQuery.each(a,(function(r,i){var a,u=jQuery(i),s=u.data("target_product");s=null!==(a=s)&&void 0!==a&&a.includes("donation_item")?s+"_custom":s;var f=parseFloat(u.data("tax_percent")),l=u.attr("id"),p=0;if(t[s]&&f){if(e){var d=t[s];p=f/100*(d-d*(100*e/(n+e)/100))}else p=t[s]*(f/100);c+=Math.round(p,0)}jQuery("span[data-target_tax="+l+"]").html(o.getFormattedPrice(p))}));var u="total_tax_".concat(jQuery(this.form).attr("id"));return r[u]={name:u,total:c,initialTotal:"",customName:"Total tax",itemNames:[],is_discount_tax_field:!0},c}},{key:"payemntSummaryTable",value:function(t,e,n){var r=this;jQuery("#".concat(n," > tbody")).html(""),jQuery("div#wpf_table_div table[id=".concat(n,"]")).length<=0&&(jQuery("div#wpf_table_div").append("<table id=".concat(n,">\n                <thead>\n                    <tr>\n                        <th>Item</th>\n                        <th>Price</th>\n                        <th>Qty</th>\n                        <th>Line total</th>\n                    </tr>\n                </thead>\n                <tbody></tbody></table>")),jQuery("table#".concat(n)).addClass("wpf_regular_table "));var o=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];if(null!=t&&t.length){var e=t.map((function(t){return"<li>".concat(t,"</li>")}));return e}},i=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];if(null!=t&&t.length)return"AED"!==r.currency_settings.currency&&"AFN"!==r.currency_settings.currency&&"SAR"!==r.currency_settings.currency&&"QAR"!==r.currency_settings.currency&&"LBP"!==r.currency_settings.currency?t.map((function(t){return"<span><strong>".concat(null==t?void 0:t.product_name,": </strong>").concat(null==t?void 0:t.qty," X ").concat(r.getFormattedPrice(null==t?void 0:t.price)," = ").concat(r.getFormattedPrice((null==t?void 0:t.qty)*(null==t?void 0:t.price))," </span><br>")})):t.map((function(t){return"<span><strong>".concat(null==t?void 0:t.product_name,": </strong>").concat(null==t?void 0:t.qty," X ").concat((null==t?void 0:t.price)/100," = ").concat((null==t?void 0:t.qty)*((null==t?void 0:t.price)/100)," </span><br>")}))},a=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return null!=t&&t.totalQty||null!=t&&t.qty?t.totalQty||t.qty:1};for(var c in t){jQuery("tr#".concat(n,"_total")).remove();var u=t[c];u.total>=1&&jQuery("#".concat(n," > tbody:last-child")).append("<tr id=".concat(c,">\n                            <td id=").concat(c,"_name>\n                            ").concat(u.customName||"","\n                                <ul>\n                                    ").concat(u.itemNames.length?o(u.itemNames).join(""):"","\n                                </ul>\n                            </td>\n                            <td id=").concat(c,"_price>\n                                ").concat(Array.isArray(null==u?void 0:u.initialTotal)?i(null==u?void 0:u.initialTotal).join(""):null!=u&&u.is_discount_tax_field?"":this.getFormattedPrice(u.initialTotal),"\n                            </td>\n                            <td id=").concat(c,"_qty>\n                                ").concat(null!=u&&u.is_discount_tax_field?"":a(u),"\n                            </td>\n                            <td id=").concat(c,"_total>").concat(this.getFormattedPrice(u.total)||this.getFormattedPrice(u.initialTotal),"</td>\n                        </tr>"))}jQuery("#".concat(n," > tbody:last-child")).append("<tr id=".concat(n,'_total>\n                <td colspan="3" align="right">\n                    <strong>Total</strong>\n                </td>\n                <td id=').concat(n,"_total><strong>").concat(e?this.getFormattedPrice(e):0,"</strong></td>\n            </tr>"))}},{key:"getTotalFeaturePrice",value:function(t){var e=0;jQuery(t).find(".wpf_tabular_multiple_option").each((function(){var t=jQuery(this).find(":selected").attr("price");e+=+t}));var n=jQuery(t).find(".wpf-product-price").data("value")+e;return jQuery(t).find(".wpf-product-price").html(this.currency_settings.currency_sign+n),e}},{key:"calculateTabularTotal",value:function(t,e){var n=this,r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=this.form,i=o.find("table.wpf_tabular_items, .wpf_tabular_items");return jQuery.each(i,(function(i,a){var c=jQuery(a),u=c.data("produt_id");if(!1===jQuery("[tabular_item_id*=".concat(u,"]")).attr("class").includes("wpf_excluded")){var s,f=c.find("tbody tr");f=0===(null===(s=f)||void 0===s?void 0:s.length)?c.find(".wpf-product-body"):f;var l=c.attr("customname"),p=0,d=0,h=[];if(jQuery.each(f,(function(t,e){var o=n.getTotalFeaturePrice(e),i=jQuery(e).find("input.wpf_tabular_price").data("price");if(i+=100*o,1!==jQuery(e).parent().find("input:checkbox").length||0!==jQuery(e).parent().find("input:checkbox:checked").length){var a=jQuery(e).find("td.wpf_tabular_price").prev().text();a=a||jQuery(e).find("input.wpf_tabular_price").attr("wpf_product_name");var c=jQuery(e).find("input.wpf_tabular_qty").val();i&&c&&"0"!==c&&(p+=parseInt(i)*parseInt(c),d+=parseInt(c),h.push({qty:c,price:i,product_name:a}))}else r&&jQuery(e).remove()})),r)return;o.find("span.wpf_calc_tabular_"+u).html(n.getFormattedPrice(p)),o.find("[name=".concat(u,"]")).val(p/100),c.attr("data-item_total",p),t[u]=p,e[u]={name:u,total:p,initialTotal:h,customName:l,itemNames:[],qty:1,totalQty:d}}})),t}},{key:"getFormattedPrice",value:function(t){return Object(o.a)(t,this.config.currency_settings)}},{key:"initPaymentMethodChange",value:function(){var t=this,e=this.form;if(parseInt(this.form.find("input[name=__wpf_valid_payment_methods_count]").val())>1){var n=this.form.find("input[name=__wpf_selected_payment_method]:checked").val();this.handlePaymentMethodChange(n),e.find("input[name=__wpf_selected_payment_method]").on("change",(function(){e.trigger("payment_method_changed",jQuery(this).val())})),e.on("payment_method_changed",(function(e,n){t.handlePaymentMethodChange(n)}))}else{var r=this.form.find("[data-wpf_payment_method]").data("wpf_payment_method");r&&this.form.data("selected_payment_method",r)}}},{key:"initCurrencyChange",value:function(){var t=this;this.currencyRates=this.formConfig.rates;var e=this.form;e.find("select[name=currency_switcher]").on("change",(function(){e.trigger("currency_changed",jQuery(this).val())})),e.find("input[name=currency_switcher]").on("change",(function(){e.trigger("currency_changed",jQuery(this).val())})),e.on("currency_changed",(function(e,n){null!=t.currencyRates&&null!=t.currencyRates[n].value&&t.handleCurrencyChange(n)}))}},{key:"handleCurrencyChange",value:function(t){var e=this.currencyRates[t].value;if(NaN!=e||null!=e){var n=this.convertHtmlEntityToSymbol(this.generalConfig.currency_symbols[t]);this.form.find(".wpf_input-group-text.wpf_input-group-text-prepend")[0].innerHTML=n;var r=this.form.find(".wpf_custom_amount"),o=r[0].getAttribute("base-price"),i=parseFloat(o*e),a=Math.floor(100*i),c=parseFloat(a/100);r[0].setAttribute("data-price",c),r[0].value=c,r.trigger("change"),document.querySelectorAll(".wpf_input_content.wpf_donation_controls_radio .form-check").forEach((function(t){var r=t.querySelector("input.wpf_payment_item"),o=t.querySelector("span.wpf_price_option_name");if(r&&o){var i=parseFloat(r.getAttribute("base-price"));if(""!=i&&0!=i){var a=parseFloat(i*e).toFixed(2);r.setAttribute("data-price",a);var c=Math.floor(a/100*100),u=o.innerHTML;/^[A-Za-z]+$/.test(u)||(o.innerHTML=n+parseFloat(c/100))}}}))}}},{key:"convertHtmlEntityToSymbol",value:function(t){var e=document.createElement("div");return e.innerHTML=t,e.textContent}},{key:"handlePaymentMethodChange",value:function(t){if(this.form.data("selected_payment_method",t),!t)return this.paymentMethod="",void this.form.find(".wpf_all_payment_methods_wrapper").hide();this.paymentMethod=t,this.form.find(".wpf_all_payment_methods_wrapper").show(),this.form.find(".wpf_all_payment_methods_wrapper .wpf_payment_method_element").hide(),this.form.find(".wpf_all_payment_methods_wrapper .wpf_payment_method_element_"+t).show()}},{key:"initStripeElement",value:function(){var t=this,e=this.stripe.elements().create("card",{style:{base:{color:"#32325d",fontFamily:"-apple-system, BlinkMacSystemFont, sans-serif",fontSmoothing:"antialiased",fontSize:"16px","::placeholder":{color:"#aab7c4"}},invalid:{color:"#fa755a",iconColor:"#fa755a"}},hidePostalCode:"yes"!=this.config.stripe_verify_zip});e.mount("#"+this.config.stripe_element_id),e.addEventListener("change",(function(e){e.error?t.form.find(".wpf_card-errors").html(e.error.message):t.form.find(".wpf_card-errors").html("")})),this.stripeCard=e,this.form.on("stripe_clear",(function(){e.clear()}))}},{key:"handleServerUnexpectedError",value:function(t){h(t,"error",this.$t("submission_error"),this.form,this.$formNoticeWrapper),this.buttonState("normal","",!1)}},{key:"fireFormEvents",value:function(t,e){var n=this;"object"==j(t)&&jQuery.each(t,(function(t,r){n.form.trigger(r,[e])}))}},{key:"buttonState",value:function(t,e,n,r){this.form.removeClass("wpf_submitting wpf_validating_form wpf_submitting_form wpf_authenticating_sca wpf_sca_declined wpf_confirming_payment"),e?(this.form.find("button.wpf_submit_button .wpf_txt_normal").hide(),this.form.find("button.wpf_submit_button .wpf_txt_loading").text(e).show()):(this.form.find("button.wpf_submit_button .wpf_txt_loading").hide(),this.form.find("button.wpf_submit_button .wpf_txt_normal").show()),n?(this.form.addClass("wpf_has_disabled_btn"),this.form.find("button.wpf_submit_button").attr("disabled",!0)):(this.form.removeClass("wpf_has_disabled_btn"),this.form.find("button.wpf_submit_button").attr("disabled",!1)),this.form.addClass("wpf_"+t),this.form.trigger("wpf_"+t,[this.formId,r])}},{key:"maybeSubscriptionSetup",value:function(){var t=this.form;function e(t){var e=jQuery(t).attr("name"),n=parseInt(jQuery(t).val());isNaN(n)&&(n=0);var r=jQuery(t).closest(".wpf_subscription_controls_radio");r.find(".wpf_subscription_plan_summary_item").hide(),r.find(".wpf_subscription_plan_summary_"+e+" .wpf_subscription_plan_index_"+n).show(),r.find(".subscription_radio_custom").hide(),r.find(".subscription_radio_custom_"+n).show()}function n(e){var n=jQuery(e).attr("id"),r=parseInt(jQuery(e).val());isNaN(r)&&(r=0),t.find(".wpf_subscription_plan_summary_"+n+" .wpf_subscription_plan_summary_item").hide(),t.find(".wpf_subscription_plan_summary_"+n+" .wpf_subscription_plan_index_"+r).show()}jQuery.each(t.find(".wpf_subscription_controls_radio input:checked"),(function(t,n){e(n)})),t.find(".wpf_subscription_controls_radio input[type=radio]").on("change",(function(){e(this)})),jQuery.each(t.find(".wpf_subscrion_plans_select option:selected"),(function(t,e){""!=jQuery(e).attr("value")&&n(jQuery(e).parent())})),t.find(".wpf_subscrion_plans_select select").on("change",(function(){n(this)}))}},{key:"maybeCustomSubscriptionItemSetup",value:function(){var t=this,e=this.form,n=this.config;e.find(".wpf_custom_subscription_input").on("change",(function(){var t=jQuery(this),e=Math.round(100*t.val()),r=t.parent().parent().parent().find(".wpf_payment_item");r.attr("data-subscription_amount",e);var i=e;parseInt(t.data("initial_amount"))>0&&(i+=parseInt(t.data("initial_amount"))),r.attr("data-price",i);var a=t.closest(".wpf_form_group");a.find(".wpfbs_subscription_amount").html(Object(o.a)(e,n.currency_settings)),a.find(".wpfbs_first_interval_total").html(Object(o.a)(i,n.currency_settings)),r.trigger("change")})),e.find(".wpf_custom_subscription_amount_radio, .wpf_custom_subscription_amount_select").on("change",(function(){var e=jQuery(this),r=e.data("plan_index"),i=parseInt(100*e.val()),a=e.closest(".wpf_multi_form_controls"),c=a.find(".wpf_subscription_plan_summary").find(".wpf_subscription_plan_index_"+r),u=a.find(".wpf_option_custom_"+r),s=i;parseInt(u.data("initial_amount"))>0&&(s+=parseInt(u.data("initial_amount"))),c.find(".wpfbs_subscription_amount").html(Object(o.a)(i,n.currency_settings)),c.find(".wpfbs_first_interval_total").html(Object(o.a)(s,n.currency_settings)),u.data("subscription_amount",i).data("price",s),t.calculatePayments()}))}}])&&P(t.prototype,e),n&&P(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,e,n,i,a}(),T={};window.recaptchInstances={},function(t){T={forms:{},general:window.wp_payform_general,formData:{},init:function(){var e=t(document.body);this.forms=t(".wpf_form"),t.each(this.forms,(function(n){var r=t(this),o=r.attr("wpf_form_instance"),i=window["wp_payform_"+o],a=r.attr("data-wpf_form_id");new E(r,i).initForm(),e.trigger("wpPayFormProcessFormElements",[r,i]),e.trigger("wp_payform_inited_"+o,[r,i]),e.trigger("wp_payform_inited_"+a,[r,i])})),this.initLightBox(),this.initOther(),this.loadReInitScript()},loadReInitScript:function(){t(document).on("wpf_reinit",(function(e,n){var r=t(n),o=r.attr("wpf_form_instance");if(!o)return!1;var i=window["wp_payform_"+o];r.attr("data-wpf_form_id");new E(r,i).initForm()}))},initLightBox:function(){t(".wpf_form .wpf_lightbox").length&&t(".wpf_form .wpf_lightbox").on("click",lity)},initOther:function(){t(".wpf_form input").on("keypress",(function(t){return 13!==t.which})),t(".wpf_form").find('input[data-required="yes"][data-type="input"],textarea[data-required="yes"],select[data-required="yes"]').on("keypress blur",(function(e){t(this).val()&&t(this).removeClass("wpf_has_error")}))}},t(window).on("load",(function(){T.init()}))}(jQuery),window.wpf_onload_recaptcha_callback=function(){jQuery(document).ready((function(t){var e=t(".wpf_has_recaptcha");t.each(e,(function(e,n){var r=t(n),o=r.attr("data-wpf_form_id"),i=r.attr("data-recaptcha_site_key");if("v2"==r.attr("data-recaptcha_version")){var a=grecaptcha.render("wpf_recaptcha_"+o,{sitekey:i});recaptchInstances["form_"+o]=a,r.on("refresh_recaptcha",(function(){grecaptcha.reset(a)}))}else grecaptcha.execute(i,{action:"payform/"+o}).then((function(t){r.find("#wpf_recaptcha_"+o).html('<input type="hidden" name="g-recaptcha-response" value="'+t+'" />')})),r.on("refresh_recaptcha",(function(){grecaptcha.execute(i,{action:"payform/"+o}).then((function(t){r.find("#wpf_recaptcha_"+o).html('<input type="hidden" name="g-recaptcha-response" value="'+t+'" />')}))}))}))}))}},88:function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},9:function(t,e,n){var r=n(3),o=n(20),i=n(11),a=n(14),c=n(34),u=function(t,e,n){var s,f,l,p,d=t&u.F,h=t&u.G,m=t&u.S,_=t&u.P,v=t&u.B,y=h?r:m?r[e]||(r[e]={}):(r[e]||{}).prototype,g=h?o:o[e]||(o[e]={}),w=g.prototype||(g.prototype={});for(s in h&&(n=e),n)l=((f=!d&&y&&void 0!==y[s])?y:n)[s],p=v&&f?c(l,r):_&&"function"==typeof l?c(Function.call,l):l,y&&a(y,s,l,t&u.U),g[s]!=l&&i(g,s,p),_&&w[s]!=l&&(w[s]=l)};r.core=o,u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,t.exports=u},90:function(t,e,n){var r=n(31),o=n(58),i=n(43);t.exports=function(t){var e=r(t),n=o.f;if(n)for(var a,c=n(t),u=i.f,s=0;c.length>s;)u.call(t,a=c[s++])&&e.push(a);return e}},91:function(t,e,n){var r=n(10),o=n(13),i=n(31);t.exports=n(7)?Object.defineProperties:function(t,e){o(t);for(var n,a=i(e),c=a.length,u=0;c>u;)r.f(t,n=a[u++],e[n]);return t}},92:function(t,e,n){var r=n(18),o=n(47).f,i={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return a&&"[object Window]"==i.call(t)?function(t){try{return o(t)}catch(t){return a.slice()}}(t):o(r(t))}},93:function(t,e,n){"use strict";var r=n(51),o=n(29),i=n(46),a={};n(11)(a,n(4)("iterator"),(function(){return this})),t.exports=function(t,e,n){t.prototype=r(a,{next:o(1,n)}),i(t,e+" Iterator")}},94:function(t,e,n){var r=n(6),o=n(99).set;t.exports=function(t,e,n){var i,a=e.constructor;return a!==n&&"function"==typeof a&&(i=a.prototype)!==n.prototype&&r(i)&&o&&o(t,i),t}},95:function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"==typeof window&&(n=window)}t.exports=n},97:function(t,e){var n=Array.isArray;t.exports=n},98:function(t,e,n){var r=n(9),o=n(20),i=n(8);t.exports=function(t,e){var n=(o.Object||{})[t]||Object[t],a={};a[t]=e(n),r(r.S+r.F*i((function(){n(1)})),"Object",a)}},99:function(t,e,n){var r=n(6),o=n(13),i=function(t,e){if(o(t),!r(e)&&null!==e)throw TypeError(e+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,e,r){try{(r=n(34)(Function.call,n(45).f(Object.prototype,"__proto__").set,2))(t,[]),e=!(t instanceof Array)}catch(t){e=!0}return function(t,n){return i(t,n),e?t.__proto__=n:r(t,n),t}}({},!1):void 0),check:i}}});
     4"[t]()})),u=o[t]=c?e(l):a[t];n&&(o[n]=u),r(r.P+r.F*c,"String",o)},l=f.trim=function(t,e){return t=String(o(t)),1&e&&(t=t.replace(u,"")),2&e&&(t=t.replace(s,"")),t};t.exports=f},101:function(t,e){t.exports="\t\n\v\f\r   ᠎              \u2028\u2029\ufeff"},105:function(t,e,n){"use strict";var r=n(8);t.exports=function(t,e){return!!t&&r((function(){e?t.call(null,(function(){}),1):t.call(null)}))}},11:function(t,e,n){var r=n(10),o=n(29);t.exports=n(7)?function(t,e,n){return r.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},111:function(t,e,n){"use strict";var r,o,i=n(115),a=RegExp.prototype.exec,c=String.prototype.replace,u=a,s=(r=/a/,o=/b*/g,a.call(r,"a"),a.call(o,"a"),0!==r.lastIndex||0!==o.lastIndex),f=void 0!==/()??/.exec("")[1];(s||f)&&(u=function(t){var e,n,r,o,u=this;return f&&(n=new RegExp("^"+u.source+"$(?!\\s)",i.call(u))),s&&(e=u.lastIndex),r=a.call(u,t),s&&r&&(u.lastIndex=u.global?r.index+r[0].length:e),f&&r&&r.length>1&&c.call(r[0],n,(function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(r[o]=void 0)})),r}),t.exports=u},112:function(t,e){t.exports=function(t){return null!=t&&"object"==typeof t}},113:function(t,e,n){var r=n(452),o=n(455);t.exports=function(t,e){var n=o(t,e);return r(n)?n:void 0}},114:function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},115:function(t,e,n){"use strict";var r=n(13);t.exports=function(){var t=r(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},116:function(t,e,n){var r=n(141),o=n(445),i=n(446),a=r?r.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":a&&a in Object(t)?o(t):i(t)}},12:function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},121:function(t,e,n){"use strict";var r=n(64),o=RegExp.prototype.exec;t.exports=function(t,e){var n=t.exec;if("function"==typeof n){var i=n.call(t,e);if("object"!=typeof i)throw new TypeError("RegExp exec method returned something other than an Object or null");return i}if("RegExp"!==r(t))throw new TypeError("RegExp#exec called on incompatible receiver");return o.call(t,e)}},122:function(t,e,n){"use strict";n(169);var r=n(14),o=n(11),i=n(8),a=n(28),c=n(4),u=n(111),s=c("species"),f=!i((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")})),l=function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var n="ab".split(t);return 2===n.length&&"a"===n[0]&&"b"===n[1]}();t.exports=function(t,e,n){var p=c(t),d=!i((function(){var e={};return e[p]=function(){return 7},7!=""[t](e)})),h=d?!i((function(){var e=!1,n=/a/;return n.exec=function(){return e=!0,null},"split"===t&&(n.constructor={},n.constructor[s]=function(){return n}),n[p](""),!e})):void 0;if(!d||!h||"replace"===t&&!f||"split"===t&&!l){var m=/./[p],_=n(a,p,""[t],(function(t,e,n,r,o){return e.exec===u?d&&!o?{done:!0,value:m.call(e,n,r)}:{done:!0,value:t.call(n,e,r)}:{done:!1}})),v=_[0],y=_[1];r(String.prototype,t,v),o(RegExp.prototype,p,2==e?function(t,e){return y.call(t,this,e)}:function(t){return y.call(t,this)})}}},124:function(t,e,n){var r=n(6),o=n(23),i=n(4)("match");t.exports=function(t){var e;return r(t)&&(void 0!==(e=t[i])?!!e:"RegExp"==o(t))}},125:function(t,e,n){"use strict";var r=n(76)(!0);t.exports=function(t,e,n){return e+(n?r(t,e).length:1)}},126:function(t,e){t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},13:function(t,e,n){var r=n(6);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},139:function(t,e,n){var r=n(124),o=n(28);t.exports=function(t,e,n){if(r(e))throw TypeError("String#"+n+" doesn't accept regex!");return String(o(t))}},14:function(t,e,n){var r=n(3),o=n(11),i=n(12),a=n(24)("src"),c=n(66),u=(""+c).split("toString");n(20).inspectSource=function(t){return c.call(t)},(t.exports=function(t,e,n,c){var s="function"==typeof n;s&&(i(n,"name")||o(n,"name",e)),t[e]!==n&&(s&&(i(n,a)||o(n,a,t[e]?""+t[e]:u.join(String(e)))),t===r?t[e]=n:c?t[e]?t[e]=n:o(t,e,n):(delete t[e],o(t,e,n)))})(Function.prototype,"toString",(function(){return"function"==typeof this&&this[a]||c.call(this)}))},140:function(t,e,n){var r=n(4)("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(n){try{return e[r]=!1,!"/./"[t](e)}catch(t){}}return!0}},141:function(t,e,n){var r=n(84).Symbol;t.exports=r},142:function(t,e,n){"use strict";var r,o,i,a,c=n(32),u=n(3),s=n(34),f=n(64),l=n(9),p=n(6),d=n(55),h=n(358),m=n(359),_=n(178),v=n(360).set,y=n(471)(),g=n(361),w=n(472),b=n(473),x=n(474),j=u.TypeError,S=u.process,O=S&&S.versions,k=O&&O.v8||"",P=u.Promise,(r,i).initForm()}))},initLightBox:function(){t(".wpf_form .wpf_lightbox").length&&t(".wpf_form .wpf_lightbox").on("click",lity)},initOther:function(){t(".wpf_form input").on("keypress",(function(t){return 13!==t.which})),t(".wpf_form").find('input[data-required="yes"][data-type="input"],textarea[data-required="yes"],select[data-required="yes"]').on("keypress blur",(function(e){t(this).val()&&t(this).removeClass("wpf_has_error")}))}},t(window).on("load",(function(){T.init()}))}(jQuery),window.wpf_onload_recaptcha_callback=function(){jQuery(document).ready((function(t){var e=t(".wpf_has_recaptcha");t.each(e,(function(e,n){var r=t(n),o=r.attr("data-wpf_form_id"),i=r.attr("data-recaptcha_site_key");if("v2"==r.attr("data-recaptcha_version")){var a=grecaptcha.render("wpf_recaptcha_"+o,{sitekey:i});recaptchInstances["form_"+o]=a,r.on("refresh_recaptcha",(function(){grecaptcha.reset(a)}))}else grecaptcha.execute(i,{action:"payform/"+o}).then((function(t){r.find("#wpf_recaptcha_"+o).html('<input type="hidden" name="g-recaptcha-response" value="'+t+'" />')})),r.on("refresh_recaptcha",(function(){grecaptcha.execute(i,{action:"payform/"+o}).then((function(t){r.find("#wpf_recaptcha_"+o).html('<input type="hidden" name="g-recaptcha-response" value="'+t+'" />')}))}))}))}))}},88:function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},9:function(t,e,n){var r=n(3),o=n(20),i=n(11),a=n(14),c=n(34),u=function(t,e,n){var s,f,l,p,d=t&u.F,h=t&u.G,m=t&u.S,_=t&u.P,v=t&u.B,y=h?r:m?r[e]||(r[e]={}):(r[e]||{}).prototype,g=h?o:o[e]||(o[e]={}),w=g.prototype||(g.prototype={});for(s in h&&(n=e),n)l=((f=!d&&y&&void 0!==y[s])?y:n)[s],p=v&&f?c(l,r):_&&"function"==typeof l?c(Function.call,l):l,y&&a(y,s,l,t&u.U),g[s]!=l&&i(g,s,p),_&&w[s]!=l&&(w[s]=l)};r.core=o,u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,t.exports=u},90:function(t,e,n){var r=n(31),o=n(58),i=n(43);t.exports=function(t){var e=r(t),n=o.f;if(n)for(var a,c=n(t),u=i.f,s=0;c.length>s;)u.call(t,a=c[s++])&&e.push(a);return e}},91:function(t,e,n){var r=n(10),o=n(13),i=n(31);t.exports=n(7)?Object.defineProperties:function(t,e){o(t);for(var n,a=i(e),c=a.length,u=0;c>u;)r.f(t,n=a[u++],e[n]);return t}},92:function(t,e,n){var r=n(18),o=n(47).f,i={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return a&&"[object Window]"==i.call(t)?function(t){try{return o(t)}catch(t){return a.slice()}}(t):o(r(t))}},93:function(t,e,n){"use strict";var r=n(51),o=n(29),i=n(46),a={};n(11)(a,n(4)("iterator"),(function(){return this})),t.exports=function(t,e,n){t.prototype=r(a,{next:o(1,n)}),i(t,e+" Iterator")}},94:function(t,e,n){var r=n(6),o=n(99).set;t.exports=function(t,e,n){var i,a=e.constructor;return a!==n&&"function"==typeof a&&(i=a.prototype)!==n.prototype&&r(i)&&o&&o(t,i),t}},95:function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"==typeof window&&(n=window)}t.exports=n},97:function(t,e){var n=Array.isArray;t.exports=n},98:function(t,e,n){var r=n(9),o=n(20),i=n(8);t.exports=function(t,e){var n=(o.Object||{})[t]||Object[t],a={};a[t]=e(n),r(r.S+r.F*i((function(){n(1)})),"Object",a)}},99:function(t,e,n){var r=n(6),o=n(13),i=function(t,e){if(o(t),!r(e)&&null!==e)throw TypeError(e+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,e,r){try{(r=n(34)(Function.call,n(45).f(Object.prototype,"__proto__").set,2))(t,[]),e=!(t instanceof Array)}catch(t){e=!0}return function(t,n){return i(t,n),e?t.__proto__=n:r(t,n),t}}({},!1):void 0),check:i}}});
  • wp-payment-form/trunk/readme.txt

    r3094556 r3095621  
    44Requires at least: 4.5
    55Tested up to: 6.5
    6 Stable tag: 4.5.5
     6Stable tag: 4.5.
    77Requires PHP: 7.1
    88License: GPLv2 or later
     
    388388
    389389== CHANGELOG ==
     390
     391
     392
    390393
    391394= 4.5.5 May 29, 2024 =
  • wp-payment-form/trunk/wp-payment-form.php

    r3094556 r3095621  
    44Plugin Name: Paymattic - Payments made simple
    55Description: Create and Accept Payments in minutes with Stripe, PayPal & other top gateways with built-in form builder
    6 Version: 4.5.5
     6Version: 4.5.
    77Author: WPManageNinja LLC
    88Author URI: https://paymattic.com
     
    1515if (!defined('WPPAYFORM_VERSION')) {
    1616    define('WPPAYFORM_VERSION_LITE', true);
    17     define('WPPAYFORM_VERSION', '4.5.5');
     17    define('WPPAYFORM_VERSION', '4.5.');
    1818    define('WPPAYFORM_DB_VERSION', 120);
    1919    // Stripe API version should be in 'YYYY-MM-DD' format.
Note: See TracChangeset for help on using the changeset viewer.