woocommerce-paypal-payments/modules/ppcp-webhooks/assets/js/status-page.js

3 lines
No EOL
45 KiB
JavaScript

/*! For license information please see status-page.js.LICENSE.txt */
(()=>{"use strict";var t={34:(t,r,e)=>{var n=e(4901);t.exports=function(t){return"object"==typeof t?null!==t:n(t)}},81:(t,r,e)=>{var n=e(9565),o=e(9306),i=e(8551),a=e(6823),c=e(851),u=TypeError;t.exports=function(t,r){var e=arguments.length<2?c(t):r;if(o(e))return i(n(e,t));throw new u(a(t)+" is not iterable")}},280:(t,r,e)=>{var n=e(6518),o=e(7751),i=e(6395),a=e(550),c=e(916).CONSTRUCTOR,u=e(3438),s=o("Promise"),f=i&&!c;n({target:"Promise",stat:!0,forced:i||c},{resolve:function(t){return u(f&&this===s?a:this,t)}})},283:(t,r,e)=>{var n=e(9504),o=e(9039),i=e(4901),a=e(9297),c=e(3724),u=e(350).CONFIGURABLE,s=e(3706),f=e(1181),p=f.enforce,l=f.get,v=String,h=Object.defineProperty,y=n("".slice),d=n("".replace),b=n([].join),m=c&&!o(function(){return 8!==h(function(){},"length",{value:8}).length}),g=String(String).split("String"),w=t.exports=function(t,r,e){"Symbol("===y(v(r),0,7)&&(r="["+d(v(r),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),e&&e.getter&&(r="get "+r),e&&e.setter&&(r="set "+r),(!a(t,"name")||u&&t.name!==r)&&(c?h(t,"name",{value:r,configurable:!0}):t.name=r),m&&e&&a(e,"arity")&&t.length!==e.arity&&h(t,"length",{value:e.arity});try{e&&a(e,"constructor")&&e.constructor?c&&h(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var n=p(t);return a(n,"source")||(n.source=b(g,"string"==typeof r?r:"")),t};Function.prototype.toString=w(function(){return i(this)&&l(this).source||s(this)},"toString")},287:(t,r,e)=>{e(6518)({target:"Object",stat:!0},{setPrototypeOf:e(2967)})},298:(t,r,e)=>{var n=e(2195),o=e(5397),i=e(8480).f,a=e(7680),c="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return c&&"Window"===n(t)?function(t){try{return i(t)}catch(t){return a(c)}}(t):i(o(t))}},350:(t,r,e)=>{var n=e(3724),o=e(9297),i=Function.prototype,a=n&&Object.getOwnPropertyDescriptor,c=o(i,"name"),u=c&&"something"===function(){}.name,s=c&&(!n||n&&a(i,"name").configurable);t.exports={EXISTS:c,PROPER:u,CONFIGURABLE:s}},397:(t,r,e)=>{var n=e(7751);t.exports=n("document","documentElement")},421:t=>{t.exports={}},436:(t,r,e)=>{var n,o,i,a,c=e(6518),u=e(6395),s=e(8574),f=e(4576),p=e(9167),l=e(9565),v=e(6840),h=e(2967),y=e(687),d=e(7633),b=e(9306),m=e(4901),g=e(34),w=e(679),x=e(2293),S=e(9225).set,O=e(1955),j=e(3138),P=e(1103),E=e(8265),k=e(1181),T=e(550),C=e(916),N=e(6043),R="Promise",F=C.CONSTRUCTOR,_=C.REJECTION_EVENT,D=C.SUBCLASSING,I=k.getterFor(R),A=k.set,G=T&&T.prototype,W=T,M=G,L=f.TypeError,U=f.document,B=f.process,J=N.f,z=J,$=!!(U&&U.createEvent&&f.dispatchEvent),q="unhandledrejection",Q=function(t){var r;return!(!g(t)||!m(r=t.then))&&r},V=function(t,r){var e,n,o,i=r.value,a=1===r.state,c=a?t.ok:t.fail,u=t.resolve,s=t.reject,f=t.domain;try{c?(a||(2===r.rejection&&Z(r),r.rejection=1),!0===c?e=i:(f&&f.enter(),e=c(i),f&&(f.exit(),o=!0)),e===t.promise?s(new L("Promise-chain cycle")):(n=Q(e))?l(n,e,u,s):u(e)):s(i)}catch(t){f&&!o&&f.exit(),s(t)}},H=function(t,r){t.notified||(t.notified=!0,O(function(){for(var e,n=t.reactions;e=n.get();)V(e,t);t.notified=!1,r&&!t.rejection&&X(t)}))},K=function(t,r,e){var n,o;$?((n=U.createEvent("Event")).promise=r,n.reason=e,n.initEvent(t,!1,!0),f.dispatchEvent(n)):n={promise:r,reason:e},!_&&(o=f["on"+t])?o(n):t===q&&j("Unhandled promise rejection",e)},X=function(t){l(S,f,function(){var r,e=t.facade,n=t.value;if(Y(t)&&(r=P(function(){s?B.emit("unhandledRejection",n,e):K(q,e,n)}),t.rejection=s||Y(t)?2:1,r.error))throw r.value})},Y=function(t){return 1!==t.rejection&&!t.parent},Z=function(t){l(S,f,function(){var r=t.facade;s?B.emit("rejectionHandled",r):K("rejectionhandled",r,t.value)})},tt=function(t,r,e){return function(n){t(r,n,e)}},rt=function(t,r,e){t.done||(t.done=!0,e&&(t=e),t.value=r,t.state=2,H(t,!0))},et=function(t,r,e){if(!t.done){t.done=!0,e&&(t=e);try{if(t.facade===r)throw new L("Promise can't be resolved itself");var n=Q(r);n?O(function(){var e={done:!1};try{l(n,r,tt(et,e,t),tt(rt,e,t))}catch(r){rt(e,r,t)}}):(t.value=r,t.state=1,H(t,!1))}catch(r){rt({done:!1},r,t)}}};if(F&&(M=(W=function(t){w(this,M),b(t),l(n,this);var r=I(this);try{t(tt(et,r),tt(rt,r))}catch(t){rt(r,t)}}).prototype,(n=function(t){A(this,{type:R,done:!1,notified:!1,parent:!1,reactions:new E,rejection:!1,state:0,value:null})}).prototype=v(M,"then",function(t,r){var e=I(this),n=J(x(this,W));return e.parent=!0,n.ok=!m(t)||t,n.fail=m(r)&&r,n.domain=s?B.domain:void 0,0===e.state?e.reactions.add(n):O(function(){V(n,e)}),n.promise}),o=function(){var t=new n,r=I(t);this.promise=t,this.resolve=tt(et,r),this.reject=tt(rt,r)},N.f=J=function(t){return t===W||t===i?new o(t):z(t)},!u&&m(T)&&G!==Object.prototype)){a=G.then,D||v(G,"then",function(t,r){var e=this;return new W(function(t,r){l(a,e,t,r)}).then(t,r)},{unsafe:!0});try{delete G.constructor}catch(t){}h&&h(G,M)}c({global:!0,constructor:!0,wrap:!0,forced:F},{Promise:W}),i=p.Promise,y(W,R,!1,!0),d(R)},511:(t,r,e)=>{var n=e(9167),o=e(9297),i=e(1951),a=e(4913).f;t.exports=function(t){var r=n.Symbol||(n.Symbol={});o(r,t)||a(r,t,{value:i.f(t)})}},537:(t,r,e)=>{var n=e(550),o=e(4428),i=e(916).CONSTRUCTOR;t.exports=i||!o(function(t){n.all(t).then(void 0,function(){})})},550:(t,r,e)=>{var n=e(4576);t.exports=n.Promise},616:(t,r,e)=>{var n=e(9039);t.exports=!n(function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})},655:(t,r,e)=>{var n=e(6955),o=String;t.exports=function(t){if("Symbol"===n(t))throw new TypeError("Cannot convert a Symbol value to a string");return o(t)}},679:(t,r,e)=>{var n=e(1625),o=TypeError;t.exports=function(t,r){if(n(r,t))return t;throw new o("Incorrect invocation")}},687:(t,r,e)=>{var n=e(4913).f,o=e(9297),i=e(8227)("toStringTag");t.exports=function(t,r,e){t&&!e&&(t=t.prototype),t&&!o(t,i)&&n(t,i,{configurable:!0,value:r})}},739:(t,r,e)=>{var n=e(6518),o=e(9039),i=e(8981),a=e(2777);n({target:"Date",proto:!0,arity:1,forced:o(function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})})},{toJSON:function(t){var r=i(this),e=a(r,"number");return"number"!=typeof e||isFinite(e)?r.toISOString():null}})},741:t=>{var r=Math.ceil,e=Math.floor;t.exports=Math.trunc||function(t){var n=+t;return(n>0?e:r)(n)}},747:(t,r,e)=>{var n=e(6699),o=e(6193),i=e(4659),a=Error.captureStackTrace;t.exports=function(t,r,e,c){i&&(a?a(t,r):n(t,"stack",o(e,c)))}},757:(t,r,e)=>{var n=e(7751),o=e(4901),i=e(1625),a=e(7040),c=Object;t.exports=a?function(t){return"symbol"==typeof t}:function(t){var r=n("Symbol");return o(r)&&i(r.prototype,c(t))}},851:(t,r,e)=>{var n=e(6955),o=e(5966),i=e(4117),a=e(6269),c=e(8227)("iterator");t.exports=function(t){if(!i(t))return o(t,c)||o(t,"@@iterator")||a[n(t)]}},875:(t,r,e)=>{var n=e(6518),o=e(9039),i=e(8981),a=e(2787),c=e(2211);n({target:"Object",stat:!0,forced:o(function(){a(1)}),sham:!c},{getPrototypeOf:function(t){return a(i(t))}})},916:(t,r,e)=>{var n=e(4576),o=e(550),i=e(4901),a=e(2796),c=e(3706),u=e(8227),s=e(4215),f=e(6395),p=e(9519),l=o&&o.prototype,v=u("species"),h=!1,y=i(n.PromiseRejectionEvent),d=a("Promise",function(){var t=c(o),r=t!==String(o);if(!r&&66===p)return!0;if(f&&(!l.catch||!l.finally))return!0;if(!p||p<51||!/native code/.test(t)){var e=new o(function(t){t(1)}),n=function(t){t(function(){},function(){})};if((e.constructor={})[v]=n,!(h=e.then(function(){})instanceof n))return!0}return!(r||"BROWSER"!==s&&"DENO"!==s||y)});t.exports={CONSTRUCTOR:d,REJECTION_EVENT:y,SUBCLASSING:h}},1056:(t,r,e)=>{var n=e(4913).f;t.exports=function(t,r,e){e in t||n(t,e,{configurable:!0,get:function(){return r[e]},set:function(t){r[e]=t}})}},1072:(t,r,e)=>{var n=e(1828),o=e(8727);t.exports=Object.keys||function(t){return n(t,o)}},1103:t=>{t.exports=function(t){try{return{error:!1,value:t()}}catch(t){return{error:!0,value:t}}}},1181:(t,r,e)=>{var n,o,i,a=e(8622),c=e(4576),u=e(34),s=e(6699),f=e(9297),p=e(7629),l=e(6119),v=e(421),h="Object already initialized",y=c.TypeError,d=c.WeakMap;if(a||p.state){var b=p.state||(p.state=new d);b.get=b.get,b.has=b.has,b.set=b.set,n=function(t,r){if(b.has(t))throw new y(h);return r.facade=t,b.set(t,r),r},o=function(t){return b.get(t)||{}},i=function(t){return b.has(t)}}else{var m=l("state");v[m]=!0,n=function(t,r){if(f(t,m))throw new y(h);return r.facade=t,s(t,m,r),r},o=function(t){return f(t,m)?t[m]:{}},i=function(t){return f(t,m)}}t.exports={set:n,get:o,has:i,enforce:function(t){return i(t)?o(t):n(t,{})},getterFor:function(t){return function(r){var e;if(!u(r)||(e=o(r)).type!==t)throw new y("Incompatible receiver, "+t+" required");return e}}}},1291:(t,r,e)=>{var n=e(741);t.exports=function(t){var r=+t;return r!=r||0===r?0:n(r)}},1296:(t,r,e)=>{var n=e(4495);t.exports=n&&!!Symbol.for&&!!Symbol.keyFor},1469:(t,r,e)=>{var n=e(7433);t.exports=function(t,r){return new(n(t))(0===r?0:r)}},1481:(t,r,e)=>{var n=e(6518),o=e(6043);n({target:"Promise",stat:!0,forced:e(916).CONSTRUCTOR},{reject:function(t){var r=o.f(this);return(0,r.reject)(t),r.promise}})},1510:(t,r,e)=>{var n=e(6518),o=e(7751),i=e(9297),a=e(655),c=e(5745),u=e(1296),s=c("string-to-symbol-registry"),f=c("symbol-to-string-registry");n({target:"Symbol",stat:!0,forced:!u},{for:function(t){var r=a(t);if(i(s,r))return s[r];var e=o("Symbol")(r);return s[r]=e,f[e]=r,e}})},1625:(t,r,e)=>{var n=e(9504);t.exports=n({}.isPrototypeOf)},1828:(t,r,e)=>{var n=e(9504),o=e(9297),i=e(5397),a=e(9617).indexOf,c=e(421),u=n([].push);t.exports=function(t,r){var e,n=i(t),s=0,f=[];for(e in n)!o(c,e)&&o(n,e)&&u(f,e);for(;r.length>s;)o(n,e=r[s++])&&(~a(f,e)||u(f,e));return f}},1951:(t,r,e)=>{var n=e(8227);r.f=n},1955:(t,r,e)=>{var n,o,i,a,c,u=e(4576),s=e(3389),f=e(6080),p=e(9225).set,l=e(8265),v=e(9544),h=e(4265),y=e(7860),d=e(8574),b=u.MutationObserver||u.WebKitMutationObserver,m=u.document,g=u.process,w=u.Promise,x=s("queueMicrotask");if(!x){var S=new l,O=function(){var t,r;for(d&&(t=g.domain)&&t.exit();r=S.get();)try{r()}catch(t){throw S.head&&n(),t}t&&t.enter()};v||d||y||!b||!m?!h&&w&&w.resolve?((a=w.resolve(void 0)).constructor=w,c=f(a.then,a),n=function(){c(O)}):d?n=function(){g.nextTick(O)}:(p=f(p,u),n=function(){p(O)}):(o=!0,i=m.createTextNode(""),new b(O).observe(i,{characterData:!0}),n=function(){i.data=o=!o}),x=function(t){S.head||n(),S.add(t)}}t.exports=x},2003:(t,r,e)=>{var n=e(6518),o=e(6395),i=e(916).CONSTRUCTOR,a=e(550),c=e(7751),u=e(4901),s=e(6840),f=a&&a.prototype;if(n({target:"Promise",proto:!0,forced:i,real:!0},{catch:function(t){return this.then(void 0,t)}}),!o&&u(a)){var p=c("Promise").prototype.catch;f.catch!==p&&s(f,"catch",p,{unsafe:!0})}},2106:(t,r,e)=>{var n=e(283),o=e(4913);t.exports=function(t,r,e){return e.get&&n(e.get,r,{getter:!0}),e.set&&n(e.set,r,{setter:!0}),o.f(t,r,e)}},2140:(t,r,e)=>{var n={};n[e(8227)("toStringTag")]="z",t.exports="[object z]"===String(n)},2195:(t,r,e)=>{var n=e(9504),o=n({}.toString),i=n("".slice);t.exports=function(t){return i(o(t),8,-1)}},2211:(t,r,e)=>{var n=e(9039);t.exports=!n(function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})},2293:(t,r,e)=>{var n=e(8551),o=e(5548),i=e(4117),a=e(8227)("species");t.exports=function(t,r){var e,c=n(t).constructor;return void 0===c||i(e=n(c)[a])?r:o(e)}},2360:(t,r,e)=>{var n,o=e(8551),i=e(6801),a=e(8727),c=e(421),u=e(397),s=e(4055),f=e(6119),p="prototype",l="script",v=f("IE_PROTO"),h=function(){},y=function(t){return"<"+l+">"+t+"</"+l+">"},d=function(t){t.write(y("")),t.close();var r=t.parentWindow.Object;return t=null,r},b=function(){try{n=new ActiveXObject("htmlfile")}catch(t){}var t,r,e;b="undefined"!=typeof document?document.domain&&n?d(n):(r=s("iframe"),e="java"+l+":",r.style.display="none",u.appendChild(r),r.src=String(e),(t=r.contentWindow.document).open(),t.write(y("document.F=Object")),t.close(),t.F):d(n);for(var o=a.length;o--;)delete b[p][a[o]];return b()};c[v]=!0,t.exports=Object.create||function(t,r){var e;return null!==t?(h[p]=o(t),e=new h,h[p]=null,e[v]=t):e=b(),void 0===r?e:i.f(e,r)}},2603:(t,r,e)=>{var n=e(655);t.exports=function(t,r){return void 0===t?arguments.length<2?"":r:n(t)}},2652:(t,r,e)=>{var n=e(6080),o=e(9565),i=e(8551),a=e(6823),c=e(4209),u=e(6198),s=e(1625),f=e(81),p=e(851),l=e(9539),v=TypeError,h=function(t,r){this.stopped=t,this.result=r},y=h.prototype;t.exports=function(t,r,e){var d,b,m,g,w,x,S,O=e&&e.that,j=!(!e||!e.AS_ENTRIES),P=!(!e||!e.IS_RECORD),E=!(!e||!e.IS_ITERATOR),k=!(!e||!e.INTERRUPTED),T=n(r,O),C=function(t){return d&&l(d,"normal"),new h(!0,t)},N=function(t){return j?(i(t),k?T(t[0],t[1],C):T(t[0],t[1])):k?T(t,C):T(t)};if(P)d=t.iterator;else if(E)d=t;else{if(!(b=p(t)))throw new v(a(t)+" is not iterable");if(c(b)){for(m=0,g=u(t);g>m;m++)if((w=N(t[m]))&&s(y,w))return w;return new h(!1)}d=f(t,b)}for(x=P?t.next:d.next;!(S=o(x,d)).done;){try{w=N(S.value)}catch(t){l(d,"throw",t)}if("object"==typeof w&&w&&s(y,w))return w}return new h(!1)}},2675:(t,r,e)=>{e(6761),e(1510),e(7812),e(3110),e(9773)},2777:(t,r,e)=>{var n=e(9565),o=e(34),i=e(757),a=e(5966),c=e(4270),u=e(8227),s=TypeError,f=u("toPrimitive");t.exports=function(t,r){if(!o(t)||i(t))return t;var e,u=a(t,f);if(u){if(void 0===r&&(r="default"),e=n(u,t,r),!o(e)||i(e))return e;throw new s("Can't convert object to primitive value")}return void 0===r&&(r="number"),c(t,r)}},2787:(t,r,e)=>{var n=e(9297),o=e(4901),i=e(8981),a=e(6119),c=e(2211),u=a("IE_PROTO"),s=Object,f=s.prototype;t.exports=c?s.getPrototypeOf:function(t){var r=i(t);if(n(r,u))return r[u];var e=r.constructor;return o(e)&&r instanceof e?e.prototype:r instanceof s?f:null}},2796:(t,r,e)=>{var n=e(9039),o=e(4901),i=/#|\.prototype\./,a=function(t,r){var e=u[c(t)];return e===f||e!==s&&(o(r)?n(r):!!r)},c=a.normalize=function(t){return String(t).replace(i,".").toLowerCase()},u=a.data={},s=a.NATIVE="N",f=a.POLYFILL="P";t.exports=a},2812:t=>{var r=TypeError;t.exports=function(t,e){if(t<e)throw new r("Not enough arguments");return t}},2839:(t,r,e)=>{var n=e(4576).navigator,o=n&&n.userAgent;t.exports=o?String(o):""},2967:(t,r,e)=>{var n=e(6706),o=e(34),i=e(7750),a=e(3506);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,r=!1,e={};try{(t=n(Object.prototype,"__proto__","set"))(e,[]),r=e instanceof Array}catch(t){}return function(e,n){return i(e),a(n),o(e)?(r?t(e,n):e.__proto__=n,e):e}}():void 0)},3110:(t,r,e)=>{var n=e(6518),o=e(7751),i=e(8745),a=e(9565),c=e(9504),u=e(9039),s=e(4376),f=e(4901),p=e(5810),l=e(757),v=e(2195),h=e(655),y=e(7680),d=e(8235),b=e(3392),m=e(4495),g=e(7819),w=String,x=o("JSON","stringify"),S=c(/./.exec),O=c("".charAt),j=c("".charCodeAt),P=c("".replace),E=c("".slice),k=c([].push),T=c(1.1.toString),C=/[\uD800-\uDFFF]/g,N=/^[\uD800-\uDBFF]$/,R=/^[\uDC00-\uDFFF]$/,F=b(),_=F.length,D=!m||u(function(){var t=o("Symbol")("stringify detection");return"[null]"!==x([t])||"{}"!==x({a:t})||"{}"!==x(Object(t))}),I=u(function(){return'"\\udf06\\ud834"'!==x("\udf06\ud834")||'"\\udead"'!==x("\udead")}),A=D?function(t,r){var e=y(arguments),n=W(r);if(f(n)||void 0!==t&&!l(t))return e[1]=function(t,r){if(f(n)&&(r=a(n,this,w(t),r)),!l(r))return r},i(x,null,e)}:x,G=function(t,r,e){var n=O(e,r-1),o=O(e,r+1);return S(N,t)&&!S(R,o)||S(R,t)&&!S(N,n)?"\\u"+T(j(t,0),16):t},W=function(t){if(f(t))return t;if(s(t)){for(var r=t.length,e=[],n=0;n<r;n++){var o=t[n];"string"==typeof o?k(e,o):"number"!=typeof o&&"Number"!==v(o)&&"String"!==v(o)||k(e,h(o))}var i=e.length,a=!0;return function(t,r){if(a)return a=!1,r;if(s(this))return r;for(var n=0;n<i;n++)if(e[n]===t)return r}}};x&&n({target:"JSON",stat:!0,arity:3,forced:D||I||!g},{stringify:function(t,r,e){var n=W(r),o=[],i=A(t,function(t,r){var e=f(n)?a(n,this,w(t),r):r;return!g&&p(e)?F+(k(o,e.rawJSON)-1):e},e);if("string"!=typeof i)return i;if(I&&(i=P(i,C,G)),g)return i;for(var c="",u=i.length,s=0;s<u;s++){var l=O(i,s);if('"'===l){var v=d(i,++s).end-1,h=E(i,s,v);c+=E(h,0,_)===F?o[E(h,_)]:'"'+h+'"',s=v}else c+=l}return c}})},3138:t=>{t.exports=function(t,r){try{1===arguments.length?console.error(t):console.error(t,r)}catch(t){}}},3167:(t,r,e)=>{var n=e(4901),o=e(34),i=e(2967);t.exports=function(t,r,e){var a,c;return i&&n(a=r.constructor)&&a!==e&&o(c=a.prototype)&&c!==e.prototype&&i(t,c),t}},3179:(t,r,e)=>{var n=e(2140),o=e(6955);t.exports=n?{}.toString:function(){return"[object "+o(this)+"]"}},3362:(t,r,e)=>{e(436),e(6499),e(2003),e(7743),e(1481),e(280)},3389:(t,r,e)=>{var n=e(4576),o=e(3724),i=Object.getOwnPropertyDescriptor;t.exports=function(t){if(!o)return n[t];var r=i(n,t);return r&&r.value}},3392:(t,r,e)=>{var n=e(9504),o=0,i=Math.random(),a=n(1.1.toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+a(++o+i,36)}},3438:(t,r,e)=>{var n=e(8551),o=e(34),i=e(6043);t.exports=function(t,r){if(n(t),o(r)&&r.constructor===t)return r;var e=i.f(t);return(0,e.resolve)(r),e.promise}},3506:(t,r,e)=>{var n=e(3925),o=String,i=TypeError;t.exports=function(t){if(n(t))return t;throw new i("Can't set "+o(t)+" as a prototype")}},3517:(t,r,e)=>{var n=e(9504),o=e(9039),i=e(4901),a=e(6955),c=e(7751),u=e(3706),s=function(){},f=c("Reflect","construct"),p=/^\s*(?:class|function)\b/,l=n(p.exec),v=!p.test(s),h=function(t){if(!i(t))return!1;try{return f(s,[],t),!0}catch(t){return!1}},y=function(t){if(!i(t))return!1;switch(a(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return v||!!l(p,u(t))}catch(t){return!0}};y.sham=!0,t.exports=!f||o(function(){var t;return h(h.call)||!h(Object)||!h(function(){t=!0})||t})?y:h},3706:(t,r,e)=>{var n=e(9504),o=e(4901),i=e(7629),a=n(Function.toString);o(i.inspectSource)||(i.inspectSource=function(t){return a(t)}),t.exports=i.inspectSource},3717:(t,r)=>{r.f=Object.getOwnPropertySymbols},3724:(t,r,e)=>{var n=e(9039);t.exports=!n(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})},3925:(t,r,e)=>{var n=e(34);t.exports=function(t){return n(t)||null===t}},4055:(t,r,e)=>{var n=e(4576),o=e(34),i=n.document,a=o(i)&&o(i.createElement);t.exports=function(t){return a?i.createElement(t):{}}},4117:t=>{t.exports=function(t){return null==t}},4209:(t,r,e)=>{var n=e(8227),o=e(6269),i=n("iterator"),a=Array.prototype;t.exports=function(t){return void 0!==t&&(o.Array===t||a[i]===t)}},4215:(t,r,e)=>{var n=e(4576),o=e(2839),i=e(2195),a=function(t){return o.slice(0,t.length)===t};t.exports=a("Bun/")?"BUN":a("Cloudflare-Workers")?"CLOUDFLARE":a("Deno/")?"DENO":a("Node.js/")?"NODE":n.Bun&&"string"==typeof Bun.version?"BUN":n.Deno&&"object"==typeof Deno.version?"DENO":"process"===i(n.process)?"NODE":n.window&&n.document?"BROWSER":"REST"},4265:(t,r,e)=>{var n=e(2839);t.exports=/ipad|iphone|ipod/i.test(n)&&"undefined"!=typeof Pebble},4270:(t,r,e)=>{var n=e(9565),o=e(4901),i=e(34),a=TypeError;t.exports=function(t,r){var e,c;if("string"===r&&o(e=t.toString)&&!i(c=n(e,t)))return c;if(o(e=t.valueOf)&&!i(c=n(e,t)))return c;if("string"!==r&&o(e=t.toString)&&!i(c=n(e,t)))return c;throw new a("Can't convert object to primitive value")}},4376:(t,r,e)=>{var n=e(2195);t.exports=Array.isArray||function(t){return"Array"===n(t)}},4428:(t,r,e)=>{var n=e(8227)("iterator"),o=!1;try{var i=0,a={next:function(){return{done:!!i++}},return:function(){o=!0}};a[n]=function(){return this},Array.from(a,function(){throw 2})}catch(t){}t.exports=function(t,r){try{if(!r&&!o)return!1}catch(t){return!1}var e=!1;try{var i={};i[n]=function(){return{next:function(){return{done:e=!0}}}},t(i)}catch(t){}return e}},4495:(t,r,e)=>{var n=e(9519),o=e(9039),i=e(4576).String;t.exports=!!Object.getOwnPropertySymbols&&!o(function(){var t=Symbol("symbol detection");return!i(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&n&&n<41})},4576:function(t,r,e){var n=function(t){return t&&t.Math===Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof e.g&&e.g)||n("object"==typeof this&&this)||function(){return this}()||Function("return this")()},4601:(t,r,e)=>{var n=e(7751),o=e(9297),i=e(6699),a=e(1625),c=e(2967),u=e(7740),s=e(1056),f=e(3167),p=e(2603),l=e(7584),v=e(747),h=e(3724),y=e(6395);t.exports=function(t,r,e,d){var b="stackTraceLimit",m=d?2:1,g=t.split("."),w=g[g.length-1],x=n.apply(null,g);if(x){var S=x.prototype;if(!y&&o(S,"cause")&&delete S.cause,!e)return x;var O=n("Error"),j=r(function(t,r){var e=p(d?r:t,void 0),n=d?new x(t):new x;return void 0!==e&&i(n,"message",e),v(n,j,n.stack,2),this&&a(S,this)&&f(n,this,j),arguments.length>m&&l(n,arguments[m]),n});if(j.prototype=S,"Error"!==w?c?c(j,O):u(j,O,{name:!0}):h&&b in x&&(s(j,x,b),s(j,x,"prepareStackTrace")),u(j,x),!y)try{S.name!==w&&i(S,"name",w),S.constructor=j}catch(t){}return j}}},4659:(t,r,e)=>{var n=e(9039),o=e(6980);t.exports=!n(function(){var t=new Error("a");return!("stack"in t)||(Object.defineProperty(t,"stack",o(1,7)),7!==t.stack)})},4901:t=>{var r="object"==typeof document&&document.all;t.exports=void 0===r&&void 0!==r?function(t){return"function"==typeof t||t===r}:function(t){return"function"==typeof t}},4913:(t,r,e)=>{var n=e(3724),o=e(5917),i=e(8686),a=e(8551),c=e(6969),u=TypeError,s=Object.defineProperty,f=Object.getOwnPropertyDescriptor,p="enumerable",l="configurable",v="writable";r.f=n?i?function(t,r,e){if(a(t),r=c(r),a(e),"function"==typeof t&&"prototype"===r&&"value"in e&&v in e&&!e[v]){var n=f(t,r);n&&n[v]&&(t[r]=e.value,e={configurable:l in e?e[l]:n[l],enumerable:p in e?e[p]:n[p],writable:!1})}return s(t,r,e)}:s:function(t,r,e){if(a(t),r=c(r),a(e),o)try{return s(t,r,e)}catch(t){}if("get"in e||"set"in e)throw new u("Accessors not supported");return"value"in e&&(t[r]=e.value),t}},5031:(t,r,e)=>{var n=e(7751),o=e(9504),i=e(8480),a=e(3717),c=e(8551),u=o([].concat);t.exports=n("Reflect","ownKeys")||function(t){var r=i.f(c(t)),e=a.f;return e?u(r,e(t)):r}},5397:(t,r,e)=>{var n=e(7055),o=e(7750);t.exports=function(t){return n(o(t))}},5548:(t,r,e)=>{var n=e(3517),o=e(6823),i=TypeError;t.exports=function(t){if(n(t))return t;throw new i(o(t)+" is not a constructor")}},5610:(t,r,e)=>{var n=e(1291),o=Math.max,i=Math.min;t.exports=function(t,r){var e=n(t);return e<0?o(e+r,0):i(e,r)}},5745:(t,r,e)=>{var n=e(7629);t.exports=function(t,r){return n[t]||(n[t]=r||{})}},5810:(t,r,e)=>{var n=e(34),o=e(1181).get;t.exports=function(t){if(!n(t))return!1;var r=o(t);return!!r&&"RawJSON"===r.type}},5917:(t,r,e)=>{var n=e(3724),o=e(9039),i=e(4055);t.exports=!n&&!o(function(){return 7!==Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a})},5966:(t,r,e)=>{var n=e(9306),o=e(4117);t.exports=function(t,r){var e=t[r];return o(e)?void 0:n(e)}},6043:(t,r,e)=>{var n=e(9306),o=TypeError,i=function(t){var r,e;this.promise=new t(function(t,n){if(void 0!==r||void 0!==e)throw new o("Bad Promise constructor");r=t,e=n}),this.resolve=n(r),this.reject=n(e)};t.exports.f=function(t){return new i(t)}},6080:(t,r,e)=>{var n=e(7476),o=e(9306),i=e(616),a=n(n.bind);t.exports=function(t,r){return o(t),void 0===r?t:i?a(t,r):function(){return t.apply(r,arguments)}}},6099:(t,r,e)=>{var n=e(2140),o=e(6840),i=e(3179);n||o(Object.prototype,"toString",i,{unsafe:!0})},6119:(t,r,e)=>{var n=e(5745),o=e(3392),i=n("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},6193:(t,r,e)=>{var n=e(9504),o=Error,i=n("".replace),a=String(new o("zxcasd").stack),c=/\n\s*at [^:]*:[^\n]*/,u=c.test(a);t.exports=function(t,r){if(u&&"string"==typeof t&&!o.prepareStackTrace)for(;r--;)t=i(t,c,"");return t}},6198:(t,r,e)=>{var n=e(8014);t.exports=function(t){return n(t.length)}},6269:t=>{t.exports={}},6280:(t,r,e)=>{var n=e(6518),o=e(4576),i=e(8745),a=e(4601),c="WebAssembly",u=o[c],s=7!==new Error("e",{cause:7}).cause,f=function(t,r){var e={};e[t]=a(t,r,s),n({global:!0,constructor:!0,arity:1,forced:s},e)},p=function(t,r){if(u&&u[t]){var e={};e[t]=a(c+"."+t,r,s),n({target:c,stat:!0,constructor:!0,arity:1,forced:s},e)}};f("Error",function(t){return function(r){return i(t,this,arguments)}}),f("EvalError",function(t){return function(r){return i(t,this,arguments)}}),f("RangeError",function(t){return function(r){return i(t,this,arguments)}}),f("ReferenceError",function(t){return function(r){return i(t,this,arguments)}}),f("SyntaxError",function(t){return function(r){return i(t,this,arguments)}}),f("TypeError",function(t){return function(r){return i(t,this,arguments)}}),f("URIError",function(t){return function(r){return i(t,this,arguments)}}),p("CompileError",function(t){return function(r){return i(t,this,arguments)}}),p("LinkError",function(t){return function(r){return i(t,this,arguments)}}),p("RuntimeError",function(t){return function(r){return i(t,this,arguments)}})},6395:t=>{t.exports=!1},6499:(t,r,e)=>{var n=e(6518),o=e(9565),i=e(9306),a=e(6043),c=e(1103),u=e(2652);n({target:"Promise",stat:!0,forced:e(537)},{all:function(t){var r=this,e=a.f(r),n=e.resolve,s=e.reject,f=c(function(){var e=i(r.resolve),a=[],c=0,f=1;u(t,function(t){var i=c++,u=!1;f++,o(e,r,t).then(function(t){u||(u=!0,a[i]=t,--f||n(a))},s)}),--f||n(a)});return f.error&&s(f.value),e.promise}})},6518:(t,r,e)=>{var n=e(4576),o=e(7347).f,i=e(6699),a=e(6840),c=e(9433),u=e(7740),s=e(2796);t.exports=function(t,r){var e,f,p,l,v,h=t.target,y=t.global,d=t.stat;if(e=y?n:d?n[h]||c(h,{}):n[h]&&n[h].prototype)for(f in r){if(l=r[f],p=t.dontCallGetSet?(v=o(e,f))&&v.value:e[f],!s(y?f:h+(d?".":"#")+f,t.forced)&&void 0!==p){if(typeof l==typeof p)continue;u(l,p)}(t.sham||p&&p.sham)&&i(l,"sham",!0),a(e,f,l,t)}}},6699:(t,r,e)=>{var n=e(3724),o=e(4913),i=e(6980);t.exports=n?function(t,r,e){return o.f(t,r,i(1,e))}:function(t,r,e){return t[r]=e,t}},6706:(t,r,e)=>{var n=e(9504),o=e(9306);t.exports=function(t,r,e){try{return n(o(Object.getOwnPropertyDescriptor(t,r)[e]))}catch(t){}}},6761:(t,r,e)=>{var n=e(6518),o=e(4576),i=e(9565),a=e(9504),c=e(6395),u=e(3724),s=e(4495),f=e(9039),p=e(9297),l=e(1625),v=e(8551),h=e(5397),y=e(6969),d=e(655),b=e(6980),m=e(2360),g=e(1072),w=e(8480),x=e(298),S=e(3717),O=e(7347),j=e(4913),P=e(6801),E=e(8773),k=e(6840),T=e(2106),C=e(5745),N=e(6119),R=e(421),F=e(3392),_=e(8227),D=e(1951),I=e(511),A=e(8242),G=e(687),W=e(1181),M=e(9213).forEach,L=N("hidden"),U="Symbol",B="prototype",J=W.set,z=W.getterFor(U),$=Object[B],q=o.Symbol,Q=q&&q[B],V=o.RangeError,H=o.TypeError,K=o.QObject,X=O.f,Y=j.f,Z=x.f,tt=E.f,rt=a([].push),et=C("symbols"),nt=C("op-symbols"),ot=C("wks"),it=!K||!K[B]||!K[B].findChild,at=function(t,r,e){var n=X($,r);n&&delete $[r],Y(t,r,e),n&&t!==$&&Y($,r,n)},ct=u&&f(function(){return 7!==m(Y({},"a",{get:function(){return Y(this,"a",{value:7}).a}})).a})?at:Y,ut=function(t,r){var e=et[t]=m(Q);return J(e,{type:U,tag:t,description:r}),u||(e.description=r),e},st=function(t,r,e){t===$&&st(nt,r,e),v(t);var n=y(r);return v(e),p(et,n)?(e.enumerable?(p(t,L)&&t[L][n]&&(t[L][n]=!1),e=m(e,{enumerable:b(0,!1)})):(p(t,L)||Y(t,L,b(1,m(null))),t[L][n]=!0),ct(t,n,e)):Y(t,n,e)},ft=function(t,r){v(t);var e=h(r),n=g(e).concat(ht(e));return M(n,function(r){u&&!i(pt,e,r)||st(t,r,e[r])}),t},pt=function(t){var r=y(t),e=i(tt,this,r);return!(this===$&&p(et,r)&&!p(nt,r))&&(!(e||!p(this,r)||!p(et,r)||p(this,L)&&this[L][r])||e)},lt=function(t,r){var e=h(t),n=y(r);if(e!==$||!p(et,n)||p(nt,n)){var o=X(e,n);return!o||!p(et,n)||p(e,L)&&e[L][n]||(o.enumerable=!0),o}},vt=function(t){var r=Z(h(t)),e=[];return M(r,function(t){p(et,t)||p(R,t)||rt(e,t)}),e},ht=function(t){var r=t===$,e=Z(r?nt:h(t)),n=[];return M(e,function(t){!p(et,t)||r&&!p($,t)||rt(n,et[t])}),n};s||(k(Q=(q=function(){if(l(Q,this))throw new H("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?d(arguments[0]):void 0,r=F(t),e=function(t){var n=void 0===this?o:this;n===$&&i(e,nt,t),p(n,L)&&p(n[L],r)&&(n[L][r]=!1);var a=b(1,t);try{ct(n,r,a)}catch(t){if(!(t instanceof V))throw t;at(n,r,a)}};return u&&it&&ct($,r,{configurable:!0,set:e}),ut(r,t)})[B],"toString",function(){return z(this).tag}),k(q,"withoutSetter",function(t){return ut(F(t),t)}),E.f=pt,j.f=st,P.f=ft,O.f=lt,w.f=x.f=vt,S.f=ht,D.f=function(t){return ut(_(t),t)},u&&(T(Q,"description",{configurable:!0,get:function(){return z(this).description}}),c||k($,"propertyIsEnumerable",pt,{unsafe:!0}))),n({global:!0,constructor:!0,wrap:!0,forced:!s,sham:!s},{Symbol:q}),M(g(ot),function(t){I(t)}),n({target:U,stat:!0,forced:!s},{useSetter:function(){it=!0},useSimple:function(){it=!1}}),n({target:"Object",stat:!0,forced:!s,sham:!u},{create:function(t,r){return void 0===r?m(t):ft(m(t),r)},defineProperty:st,defineProperties:ft,getOwnPropertyDescriptor:lt}),n({target:"Object",stat:!0,forced:!s},{getOwnPropertyNames:vt}),A(),G(q,U),R[L]=!0},6801:(t,r,e)=>{var n=e(3724),o=e(8686),i=e(4913),a=e(8551),c=e(5397),u=e(1072);r.f=n&&!o?Object.defineProperties:function(t,r){a(t);for(var e,n=c(r),o=u(r),s=o.length,f=0;s>f;)i.f(t,e=o[f++],n[e]);return t}},6823:t=>{var r=String;t.exports=function(t){try{return r(t)}catch(t){return"Object"}}},6840:(t,r,e)=>{var n=e(4901),o=e(4913),i=e(283),a=e(9433);t.exports=function(t,r,e,c){c||(c={});var u=c.enumerable,s=void 0!==c.name?c.name:r;if(n(e)&&i(e,s,c),c.global)u?t[r]=e:a(r,e);else{try{c.unsafe?t[r]&&(u=!0):delete t[r]}catch(t){}u?t[r]=e:o.f(t,r,{value:e,enumerable:!1,configurable:!c.nonConfigurable,writable:!c.nonWritable})}return t}},6955:(t,r,e)=>{var n=e(2140),o=e(4901),i=e(2195),a=e(8227)("toStringTag"),c=Object,u="Arguments"===i(function(){return arguments}());t.exports=n?i:function(t){var r,e,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(e=function(t,r){try{return t[r]}catch(t){}}(r=c(t),a))?e:u?i(r):"Object"===(n=i(r))&&o(r.callee)?"Arguments":n}},6969:(t,r,e)=>{var n=e(2777),o=e(757);t.exports=function(t){var r=n(t,"string");return o(r)?r:r+""}},6980:t=>{t.exports=function(t,r){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:r}}},7040:(t,r,e)=>{var n=e(4495);t.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},7055:(t,r,e)=>{var n=e(9504),o=e(9039),i=e(2195),a=Object,c=n("".split);t.exports=o(function(){return!a("z").propertyIsEnumerable(0)})?function(t){return"String"===i(t)?c(t,""):a(t)}:a},7347:(t,r,e)=>{var n=e(3724),o=e(9565),i=e(8773),a=e(6980),c=e(5397),u=e(6969),s=e(9297),f=e(5917),p=Object.getOwnPropertyDescriptor;r.f=n?p:function(t,r){if(t=c(t),r=u(r),f)try{return p(t,r)}catch(t){}if(s(t,r))return a(!o(i.f,t,r),t[r])}},7433:(t,r,e)=>{var n=e(4376),o=e(3517),i=e(34),a=e(8227)("species"),c=Array;t.exports=function(t){var r;return n(t)&&(r=t.constructor,(o(r)&&(r===c||n(r.prototype))||i(r)&&null===(r=r[a]))&&(r=void 0)),void 0===r?c:r}},7476:(t,r,e)=>{var n=e(2195),o=e(9504);t.exports=function(t){if("Function"===n(t))return o(t)}},7584:(t,r,e)=>{var n=e(34),o=e(6699);t.exports=function(t,r){n(r)&&"cause"in r&&o(t,"cause",r.cause)}},7629:(t,r,e)=>{var n=e(6395),o=e(4576),i=e(9433),a="__core-js_shared__",c=t.exports=o[a]||i(a,{});(c.versions||(c.versions=[])).push({version:"3.47.0",mode:n?"pure":"global",copyright:"© 2014-2025 Denis Pushkarev (zloirock.ru), 2025 CoreJS Company (core-js.io)",license:"https://github.com/zloirock/core-js/blob/v3.47.0/LICENSE",source:"https://github.com/zloirock/core-js"})},7633:(t,r,e)=>{var n=e(7751),o=e(2106),i=e(8227),a=e(3724),c=i("species");t.exports=function(t){var r=n(t);a&&r&&!r[c]&&o(r,c,{configurable:!0,get:function(){return this}})}},7680:(t,r,e)=>{var n=e(9504);t.exports=n([].slice)},7740:(t,r,e)=>{var n=e(9297),o=e(5031),i=e(7347),a=e(4913);t.exports=function(t,r,e){for(var c=o(r),u=a.f,s=i.f,f=0;f<c.length;f++){var p=c[f];n(t,p)||e&&n(e,p)||u(t,p,s(r,p))}}},7743:(t,r,e)=>{var n=e(6518),o=e(9565),i=e(9306),a=e(6043),c=e(1103),u=e(2652);n({target:"Promise",stat:!0,forced:e(537)},{race:function(t){var r=this,e=a.f(r),n=e.reject,s=c(function(){var a=i(r.resolve);u(t,function(t){o(a,r,t).then(e.resolve,n)})});return s.error&&n(s.value),e.promise}})},7750:(t,r,e)=>{var n=e(4117),o=TypeError;t.exports=function(t){if(n(t))throw new o("Can't call method on "+t);return t}},7751:(t,r,e)=>{var n=e(4576),o=e(4901);t.exports=function(t,r){return arguments.length<2?(e=n[t],o(e)?e:void 0):n[t]&&n[t][r];var e}},7812:(t,r,e)=>{var n=e(6518),o=e(9297),i=e(757),a=e(6823),c=e(5745),u=e(1296),s=c("symbol-to-string-registry");n({target:"Symbol",stat:!0,forced:!u},{keyFor:function(t){if(!i(t))throw new TypeError(a(t)+" is not a symbol");if(o(s,t))return s[t]}})},7819:(t,r,e)=>{var n=e(9039);t.exports=!n(function(){var t="9007199254740993",r=JSON.rawJSON(t);return!JSON.isRawJSON(r)||JSON.stringify(r)!==t})},7860:(t,r,e)=>{var n=e(2839);t.exports=/web0s(?!.*chrome)/i.test(n)},8014:(t,r,e)=>{var n=e(1291),o=Math.min;t.exports=function(t){var r=n(t);return r>0?o(r,9007199254740991):0}},8227:(t,r,e)=>{var n=e(4576),o=e(5745),i=e(9297),a=e(3392),c=e(4495),u=e(7040),s=n.Symbol,f=o("wks"),p=u?s.for||s:s&&s.withoutSetter||a;t.exports=function(t){return i(f,t)||(f[t]=c&&i(s,t)?s[t]:p("Symbol."+t)),f[t]}},8235:(t,r,e)=>{var n=e(9504),o=e(9297),i=SyntaxError,a=parseInt,c=String.fromCharCode,u=n("".charAt),s=n("".slice),f=n(/./.exec),p={'\\"':'"',"\\\\":"\\","\\/":"/","\\b":"\b","\\f":"\f","\\n":"\n","\\r":"\r","\\t":"\t"},l=/^[\da-f]{4}$/i,v=/^[\u0000-\u001F]$/;t.exports=function(t,r){for(var e=!0,n="";r<t.length;){var h=u(t,r);if("\\"===h){var y=s(t,r,r+2);if(o(p,y))n+=p[y],r+=2;else{if("\\u"!==y)throw new i('Unknown escape sequence: "'+y+'"');var d=s(t,r+=2,r+4);if(!f(l,d))throw new i("Bad Unicode escape at: "+r);n+=c(a(d,16)),r+=4}}else{if('"'===h){e=!1,r++;break}if(f(v,h))throw new i("Bad control character in string literal at: "+r);n+=h,r++}}if(e)throw new i("Unterminated string at: "+r);return{value:n,end:r}}},8242:(t,r,e)=>{var n=e(9565),o=e(7751),i=e(8227),a=e(6840);t.exports=function(){var t=o("Symbol"),r=t&&t.prototype,e=r&&r.valueOf,c=i("toPrimitive");r&&!r[c]&&a(r,c,function(t){return n(e,this)},{arity:1})}},8265:t=>{var r=function(){this.head=null,this.tail=null};r.prototype={add:function(t){var r={item:t,next:null},e=this.tail;e?e.next=r:this.head=r,this.tail=r},get:function(){var t=this.head;if(t)return null===(this.head=t.next)&&(this.tail=null),t.item}},t.exports=r},8480:(t,r,e)=>{var n=e(1828),o=e(8727).concat("length","prototype");r.f=Object.getOwnPropertyNames||function(t){return n(t,o)}},8551:(t,r,e)=>{var n=e(34),o=String,i=TypeError;t.exports=function(t){if(n(t))return t;throw new i(o(t)+" is not an object")}},8574:(t,r,e)=>{var n=e(4215);t.exports="NODE"===n},8622:(t,r,e)=>{var n=e(4576),o=e(4901),i=n.WeakMap;t.exports=o(i)&&/native code/.test(String(i))},8686:(t,r,e)=>{var n=e(3724),o=e(9039);t.exports=n&&o(function(){return 42!==Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype})},8727:t=>{t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},8745:(t,r,e)=>{var n=e(616),o=Function.prototype,i=o.apply,a=o.call;t.exports="object"==typeof Reflect&&Reflect.apply||(n?a.bind(i):function(){return a.apply(i,arguments)})},8773:(t,r)=>{var e={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,o=n&&!e.call({1:2},1);r.f=o?function(t){var r=n(this,t);return!!r&&r.enumerable}:e},8981:(t,r,e)=>{var n=e(7750),o=Object;t.exports=function(t){return o(n(t))}},9039:t=>{t.exports=function(t){try{return!!t()}catch(t){return!0}}},9167:(t,r,e)=>{var n=e(4576);t.exports=n},9213:(t,r,e)=>{var n=e(6080),o=e(9504),i=e(7055),a=e(8981),c=e(6198),u=e(1469),s=o([].push),f=function(t){var r=1===t,e=2===t,o=3===t,f=4===t,p=6===t,l=7===t,v=5===t||p;return function(h,y,d,b){for(var m,g,w=a(h),x=i(w),S=c(x),O=n(y,d),j=0,P=b||u,E=r?P(h,S):e||l?P(h,0):void 0;S>j;j++)if((v||j in x)&&(g=O(m=x[j],j,w),t))if(r)E[j]=g;else if(g)switch(t){case 3:return!0;case 5:return m;case 6:return j;case 2:s(E,m)}else switch(t){case 4:return!1;case 7:s(E,m)}return p?-1:o||f?f:E}};t.exports={forEach:f(0),map:f(1),filter:f(2),some:f(3),every:f(4),find:f(5),findIndex:f(6),filterReject:f(7)}},9225:(t,r,e)=>{var n,o,i,a,c=e(4576),u=e(8745),s=e(6080),f=e(4901),p=e(9297),l=e(9039),v=e(397),h=e(7680),y=e(4055),d=e(2812),b=e(9544),m=e(8574),g=c.setImmediate,w=c.clearImmediate,x=c.process,S=c.Dispatch,O=c.Function,j=c.MessageChannel,P=c.String,E=0,k={},T="onreadystatechange";l(function(){n=c.location});var C=function(t){if(p(k,t)){var r=k[t];delete k[t],r()}},N=function(t){return function(){C(t)}},R=function(t){C(t.data)},F=function(t){c.postMessage(P(t),n.protocol+"//"+n.host)};g&&w||(g=function(t){d(arguments.length,1);var r=f(t)?t:O(t),e=h(arguments,1);return k[++E]=function(){u(r,void 0,e)},o(E),E},w=function(t){delete k[t]},m?o=function(t){x.nextTick(N(t))}:S&&S.now?o=function(t){S.now(N(t))}:j&&!b?(a=(i=new j).port2,i.port1.onmessage=R,o=s(a.postMessage,a)):c.addEventListener&&f(c.postMessage)&&!c.importScripts&&n&&"file:"!==n.protocol&&!l(F)?(o=F,c.addEventListener("message",R,!1)):o=T in y("script")?function(t){v.appendChild(y("script"))[T]=function(){v.removeChild(this),C(t)}}:function(t){setTimeout(N(t),0)}),t.exports={set:g,clear:w}},9297:(t,r,e)=>{var n=e(9504),o=e(8981),i=n({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,r){return i(o(t),r)}},9306:(t,r,e)=>{var n=e(4901),o=e(6823),i=TypeError;t.exports=function(t){if(n(t))return t;throw new i(o(t)+" is not a function")}},9433:(t,r,e)=>{var n=e(4576),o=Object.defineProperty;t.exports=function(t,r){try{o(n,t,{value:r,configurable:!0,writable:!0})}catch(e){n[t]=r}return r}},9463:(t,r,e)=>{var n=e(6518),o=e(3724),i=e(4576),a=e(9504),c=e(9297),u=e(4901),s=e(1625),f=e(655),p=e(2106),l=e(7740),v=i.Symbol,h=v&&v.prototype;if(o&&u(v)&&(!("description"in h)||void 0!==v().description)){var y={},d=function(){var t=arguments.length<1||void 0===arguments[0]?void 0:f(arguments[0]),r=s(h,this)?new v(t):void 0===t?v():v(t);return""===t&&(y[r]=!0),r};l(d,v),d.prototype=h,h.constructor=d;var b="Symbol(description detection)"===String(v("description detection")),m=a(h.valueOf),g=a(h.toString),w=/^Symbol\((.*)\)[^)]+$/,x=a("".replace),S=a("".slice);p(h,"description",{configurable:!0,get:function(){var t=m(this);if(c(y,t))return"";var r=g(t),e=b?S(r,7,-1):x(r,w,"$1");return""===e?void 0:e}}),n({global:!0,constructor:!0,forced:!0},{Symbol:d})}},9504:(t,r,e)=>{var n=e(616),o=Function.prototype,i=o.call,a=n&&o.bind.bind(i,i);t.exports=n?a:function(t){return function(){return i.apply(t,arguments)}}},9519:(t,r,e)=>{var n,o,i=e(4576),a=e(2839),c=i.process,u=i.Deno,s=c&&c.versions||u&&u.version,f=s&&s.v8;f&&(o=(n=f.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!o&&a&&(!(n=a.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=a.match(/Chrome\/(\d+)/))&&(o=+n[1]),t.exports=o},9539:(t,r,e)=>{var n=e(9565),o=e(8551),i=e(5966);t.exports=function(t,r,e){var a,c;o(t);try{if(!(a=i(t,"return"))){if("throw"===r)throw e;return e}a=n(a,t)}catch(t){c=!0,a=t}if("throw"===r)throw e;if(c)throw a;return o(a),e}},9544:(t,r,e)=>{var n=e(2839);t.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(n)},9565:(t,r,e)=>{var n=e(616),o=Function.prototype.call;t.exports=n?o.bind(o):function(){return o.apply(o,arguments)}},9617:(t,r,e)=>{var n=e(5397),o=e(5610),i=e(6198),a=function(t){return function(r,e,a){var c=n(r),u=i(c);if(0===u)return!t&&-1;var s,f=o(a,u);if(t&&e!=e){for(;u>f;)if((s=c[f++])!=s)return!0}else for(;u>f;f++)if((t||f in c)&&c[f]===e)return t||f||0;return!t&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},9773:(t,r,e)=>{var n=e(6518),o=e(4495),i=e(9039),a=e(3717),c=e(8981);n({target:"Object",stat:!0,forced:!o||i(function(){a.f(1)})},{getOwnPropertySymbols:function(t){var r=a.f;return r?r(c(t)):[]}})}},r={};function e(n){var o=r[n];if(void 0!==o)return o.exports;var i=r[n]={exports:{}};return t[n].call(i.exports,i,i.exports,e),i.exports}e.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),e(2675),e(9463),e(6280),e(739),e(3110),e(875),e(287),e(6099),e(3362);function n(){var t,r,e="function"==typeof Symbol?Symbol:{},i=e.iterator||"@@iterator",a=e.toStringTag||"@@toStringTag";function c(e,n,i,a){var c=n&&n.prototype instanceof s?n:s,f=Object.create(c.prototype);return o(f,"_invoke",function(e,n,o){var i,a,c,s=0,f=o||[],p=!1,l={p:0,n:0,v:t,a:v,f:v.bind(t,4),d:function(r,e){return i=r,a=0,c=t,l.n=e,u}};function v(e,n){for(a=e,c=n,r=0;!p&&s&&!o&&r<f.length;r++){var o,i=f[r],v=l.p,h=i[2];e>3?(o=h===n)&&(c=i[(a=i[4])?5:(a=3,3)],i[4]=i[5]=t):i[0]<=v&&((o=e<2&&v<i[1])?(a=0,l.v=n,l.n=i[1]):v<h&&(o=e<3||i[0]>n||n>h)&&(i[4]=e,i[5]=n,l.n=h,a=0))}if(o||e>1)return u;throw p=!0,n}return function(o,f,h){if(s>1)throw TypeError("Generator is already running");for(p&&1===f&&v(f,h),a=f,c=h;(r=a<2?t:c)||!p;){i||(a?a<3?(a>1&&(l.n=-1),v(a,c)):l.n=c:l.v=c);try{if(s=2,i){if(a||(o="next"),r=i[o]){if(!(r=r.call(i,c)))throw TypeError("iterator result is not an object");if(!r.done)return r;c=r.value,a<2&&(a=0)}else 1===a&&(r=i.return)&&r.call(i),a<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),a=1);i=t}else if((r=(p=l.n<0)?c:e.call(n,l))!==u)break}catch(r){i=t,a=1,c=r}finally{s=1}}return{value:r,done:p}}}(e,i,a),!0),f}var u={};function s(){}function f(){}function p(){}r=Object.getPrototypeOf;var l=[][i]?r(r([][i]())):(o(r={},i,function(){return this}),r),v=p.prototype=s.prototype=Object.create(l);function h(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,p):(t.__proto__=p,o(t,a,"GeneratorFunction")),t.prototype=Object.create(v),t}return f.prototype=p,o(v,"constructor",p),o(p,"constructor",f),f.displayName="GeneratorFunction",o(p,a,"GeneratorFunction"),o(v),o(v,a,"Generator"),o(v,i,function(){return this}),o(v,"toString",function(){return"[object Generator]"}),(n=function(){return{w:c,m:h}})()}function o(t,r,e,n){var i=Object.defineProperty;try{i({},"",{})}catch(t){i=0}o=function(t,r,e,n){function a(r,e){o(t,r,function(t){return this._invoke(r,e,t)})}r?i?i(t,r,{value:e,enumerable:!n,configurable:!n,writable:!n}):t[r]=e:(a("next",0),a("throw",1),a("return",2))},o(t,r,e,n)}function i(t,r,e,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void e(t)}c.done?r(u):Promise.resolve(u).then(n,o)}function a(t){return function(){var r=this,e=arguments;return new Promise(function(n,o){var a=t.apply(r,e);function c(t){i(a,n,o,c,u,"next",t)}function u(t){i(a,n,o,c,u,"throw",t)}c(void 0)})}}document.addEventListener("DOMContentLoaded",function(){var t=jQuery(PayPalCommerceGatewayWebhooksStatus.resubscribe.button);function r(t){return new Promise(function(r){return setTimeout(r,t)})}t.click(a(n().m(function r(){var e,o,i,a;return n().w(function(r){for(;;)switch(r.p=r.n){case 0:return t.prop("disabled",!0),r.n=1,fetch(PayPalCommerceGatewayWebhooksStatus.resubscribe.endpoint,{method:"POST",credentials:"same-origin",headers:{"content-type":"application/json"},body:JSON.stringify({nonce:PayPalCommerceGatewayWebhooksStatus.resubscribe.nonce})});case 1:if(e=r.v,o=function(t){var r=PayPalCommerceGatewayWebhooksStatus.resubscribe.failureMessage+" "+t;alert(r)},e.ok){r.n=5;break}return r.p=2,r.n=3,e.json();case 3:i=r.v,o(i.data),r.n=5;break;case 4:r.p=4,a=r.v,console.error(a),o(e.status);case 5:window.location.reload();case 6:return r.a(2)}},r,null,[[2,4]])})));var e=jQuery(PayPalCommerceGatewayWebhooksStatus.simulation.start.button);e.click(a(n().m(function t(){var o,i,a,c,u,s,f,p,l,v,h,y;return n().w(function(t){for(;;)switch(t.p=t.n){case 0:return e.prop("disabled",!0),t.p=1,t.n=2,fetch(PayPalCommerceGatewayWebhooksStatus.simulation.start.endpoint,{method:"POST",credentials:"same-origin",headers:{"content-type":"application/json"},body:JSON.stringify({nonce:PayPalCommerceGatewayWebhooksStatus.simulation.start.nonce})});case 2:if(o=t.v,i=function(t){var r=PayPalCommerceGatewayWebhooksStatus.simulation.start.failureMessage+" "+t;alert(r)},o.ok){t.n=7;break}return t.p=3,t.n=4,o.json();case 4:a=t.v,i(a.data),t.n=6;break;case 5:t.p=5,h=t.v,console.error(h),i(o.status);case 6:return t.a(2);case 7:c=function(t){var r=e.siblings(".ppcp-webhooks-status-text");r.length||(r=jQuery('<div class="ppcp-webhooks-status-text"></div>').insertAfter(e)),r.html(t)},e.siblings(".description").hide(),c(PayPalCommerceGatewayWebhooksStatus.simulation.state.waitingMessage+'<span class="spinner is-active" style="float: none;"></span>'),u=2e3,s=15,f=30,p=0;case 8:if(!(p<f)){t.n=18;break}return t.n=9,r(u);case 9:return t.n=10,fetch(PayPalCommerceGatewayWebhooksStatus.simulation.state.endpoint,{method:"GET",credentials:"same-origin"});case 10:return l=t.v,t.p=11,t.n=12,l.json();case 12:if(v=t.v,l.ok&&v.success){t.n=13;break}return console.error("Simulation state query failed: "+v.data),t.a(3,17);case 13:if(v.data.state!==PayPalCommerceGatewayWebhooksStatus.simulation.state.successState){t.n=14;break}return c('<span class="success">✔️ '+PayPalCommerceGatewayWebhooksStatus.simulation.state.successMessage+"</span>"),t.a(2);case 14:t.n=16;break;case 15:t.p=15,y=t.v,console.error(y);case 16:p===s&&c('<span class="error">'+PayPalCommerceGatewayWebhooksStatus.simulation.state.tooLongDelayMessage+"</span>");case 17:p++,t.n=8;break;case 18:return t.p=18,e.prop("disabled",!1),t.f(18);case 19:return t.a(2)}},t,null,[[11,15],[3,5],[1,,18,19]])})));var o=document.querySelector("#ppcp-sandbox_on");if(o){var i=function(t){["#field-webhook_status_heading","#field-webhooks_list","#field-webhooks_resubscribe","#field-webhooks_simulate"].forEach(function(r){((t,r,e)=>{const n=(t=>"string"==typeof t?document.querySelector(t):t)(t);n&&(r?(n.classList.remove(e),((t,r,e)=>{jQuery(document).trigger("ppcp-shown",{handler:t,action:"show",selector:r,element:e})})("Hiding.setVisibleByClass",t,n)):(n.classList.add(e),((t,r,e)=>{jQuery(document).trigger("ppcp-hidden",{handler:t,action:"hide",selector:r,element:e})})("Hiding.setVisibleByClass",t,n)))})(r,t,"hide")})},c="sandbox"===PayPalCommerceGatewayWebhooksStatus.environment;i(c===o.checked),o.addEventListener("click",function(){i(c===o.checked)})}})})();
//# sourceMappingURL=status-page.js.map