Files
SIGE-WEB-snapshot/ambiente-de-test/wp-content/plugins/force-refresh/dist/js/force-refresh.js

2 lines
83 KiB
JavaScript

/*! For license information please see force-refresh.js.LICENSE.txt */
(()=>{var t={7452:t=>{var e=function(t){"use strict";var e,r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function l(t,e,r,n){var i=e&&e.prototype instanceof g?e:g,a=Object.create(i.prototype),s=new P(n||[]);return o(a,"_invoke",{value:L(t,r,s)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=l;var h="suspendedStart",p="suspendedYield",d="executing",y="completed",m={};function g(){}function v(){}function b(){}var w={};u(w,a,(function(){return this}));var E=Object.getPrototypeOf,O=E&&E(E(N([])));O&&O!==r&&n.call(O,a)&&(w=O);var S=b.prototype=g.prototype=Object.create(w);function x(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,s){var c=f(t[o],t,i);if("throw"!==c.type){var u=c.arg,l=u.value;return l&&"object"==typeof l&&n.call(l,"__await")?e.resolve(l.__await).then((function(t){r("next",t,a,s)}),(function(t){r("throw",t,a,s)})):e.resolve(l).then((function(t){u.value=t,a(u)}),(function(t){return r("throw",t,a,s)}))}s(c.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function L(t,r,n){var o=h;return function(i,a){if(o===d)throw new Error("Generator is already running");if(o===y){if("throw"===i)throw a;return{value:e,done:!0}}for(n.method=i,n.arg=a;;){var s=n.delegate;if(s){var c=R(s,n);if(c){if(c===m)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=y,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var u=f(t,r,n);if("normal"===u.type){if(o=n.done?y:p,u.arg===m)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(o=y,n.method="throw",n.arg=u.arg)}}}function R(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,R(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),m;var i=f(o,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,m;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,m):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,m)}function T(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 A(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(T,this),this.reset(!0)}function N(t){if(null!=t){var r=t[a];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function r(){for(;++o<t.length;)if(n.call(t,o))return r.value=t[o],r.done=!1,r;return r.value=e,r.done=!0,r};return i.next=i}}throw new TypeError(typeof t+" is not iterable")}return v.prototype=b,o(S,"constructor",{value:b,configurable:!0}),o(b,"constructor",{value:v,configurable:!0}),v.displayName=u(b,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===v||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,u(t,c,"GeneratorFunction")),t.prototype=Object.create(S),t},t.awrap=function(t){return{__await:t}},x(j.prototype),u(j.prototype,s,(function(){return this})),t.AsyncIterator=j,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new j(l(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},x(S),u(S,c,"Generator"),u(S,a,(function(){return this})),u(S,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},t.values=N,P.prototype={constructor:P,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(A),!t)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function o(n,o){return s.type="throw",s.arg=t,r.next=n,o&&(r.method="next",r.arg=e),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var c=n.call(a,"catchLoc"),u=n.call(a,"finallyLoc");if(c&&u){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.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 r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),A(r),m}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;A(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:N(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),m}},t}(t.exports);try{regeneratorRuntime=e}catch(t){"object"==typeof globalThis?globalThis.regeneratorRuntime=e:Function("r","regeneratorRuntime = r")(e)}},8330:t=>{"use strict";t.exports=JSON.parse('{"name":"force-refresh","version":"2.11.0","description":"Force Refresh is a simple plugin that allows you to force a page refresh for users currently visiting your site.","url":"https://github.com/jordanleven/force-refresh","repository":{"type":"git","url":"https://github.com/jordanleven/force-refresh.git"},"author":"Jordan Leven","license":"MIT","scripts":{"prebuild":"npm run checkNodeVersion","build":"npx webpack --mode=production","build:dev":"npm run createWpReadme && npx webpack --mode=development","build:beta":"npm run createWpReadme && npm run build","predev":"npm run checkNodeVersion","dev":"npm run build:dev -- --watch","test":"jest","lint":"npm run lint:css && npm run lint:js","lint:css":"stylelint \'**/*.{scss,vue}\' --formatter verbose","lint:js":"eslint --ext .js,.vue --ignore-path .gitignore .","createWpReadme":"node ./.github/scripts/createWordPressReadMe.js","release":"./.github/scripts/release.sh","release:beta":"./.github/scripts/releaseBeta.sh","checkNodeVersion":"check-node-version --package"},"dependencies":{"@fontsource/fira-code":"^5.0.18","@fortawesome/fontawesome-svg-core":"^6.5.2","@fortawesome/free-brands-svg-icons":"^6.5.2","@fortawesome/free-solid-svg-icons":"^6.5.2","@fortawesome/vue-fontawesome":"^2.0.10","axios":"^1.7.2","compare-versions":"^6.1.0","html-entities":"^2.5.2","qs":"^6.12.2","ramda":"^0.30.1","regenerator-runtime":"^0.14.1","sprintf-js":"^1.1.3","uniqid":"^5.4.0","vue":"^2.7.15","vue-i18n":"^8.27.0","vue-types":"^5.1.2","vue2-datepicker":"^3.11.1","vuex":"^3.6.2"},"devDependencies":{"@babel/cli":"^7.24.7","@babel/core":"^7.24.7","@babel/preset-env":"^7.24.7","babel-loader":"^9.1.3","check-node-version":"^4.2.1","css-loader":"^7.1.2","dedent":"^1.5.3","eslint":"^8.57.0","eslint-config-airbnb-base":"^15.0.0","eslint-import-resolver-custom-alias":"^1.3.2","eslint-plugin-import":"^2.29.1","eslint-plugin-vue":"^9.27.0","jest":"^29.7.0","jest-environment-jsdom":"^29.7.0","md-2-json":"^2.0.0","moment":"^2.30.1","postcss":"^8.4.39","postcss-html":"^1.7.0","sass":"^1.77.6","sass-loader":"^14.2.1","simple-git":"^3.25.0","standard-version":"^9.3.2","style-loader":"^4.0.0","stylelint":"^15.11.0","stylelint-config-recommended-vue":"^1.5.0","stylelint-config-standard":"^34.0.0","stylelint-config-standard-scss":"^11.1.0","stylelint-processor-html":"^1.0.0","url-loader":"^4.1.1","vue-eslint-parser":"^9.4.3","vue-loader":"^15.11.1","vue-template-compiler":"^2.7.16","webpack":"^5.92.1","webpack-cli":"^5.1.4","webpack-livereload-plugin":"^3.0.2"},"engines":{"node":">=14.0.0","npm":">=6.0.0"},"standard-version":{"scripts":{"postbump":"./.github/scripts/bumpWordPressPluginVersion.sh"}}}')}},e={};function r(n){var o=e[n];if(void 0!==o)return o.exports;var i=e[n]={exports:{}};return t[n](i,i.exports,r),i.exports}r.d=(t,e)=>{for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},(()=>{"use strict";var t={};function e(t,e){switch(t){case 0:return function(){return e.apply(this,arguments)};case 1:return function(t){return e.apply(this,arguments)};case 2:return function(t,r){return e.apply(this,arguments)};case 3:return function(t,r,n){return e.apply(this,arguments)};case 4:return function(t,r,n,o){return e.apply(this,arguments)};case 5:return function(t,r,n,o,i){return e.apply(this,arguments)};case 6:return function(t,r,n,o,i,a){return e.apply(this,arguments)};case 7:return function(t,r,n,o,i,a,s){return e.apply(this,arguments)};case 8:return function(t,r,n,o,i,a,s,c){return e.apply(this,arguments)};case 9:return function(t,r,n,o,i,a,s,c,u){return e.apply(this,arguments)};case 10:return function(t,r,n,o,i,a,s,c,u,l){return e.apply(this,arguments)};default:throw new Error("First argument to _arity must be a non-negative integer no greater than ten")}}function n(t,e){return function(){return e.call(this,t.apply(this,arguments))}}function o(t){return null!=t&&"object"==typeof t&&!0===t["@@functional/placeholder"]}function i(t){return function e(r){return 0===arguments.length||o(r)?e:t.apply(this,arguments)}}function a(t){return function e(r,n){switch(arguments.length){case 0:return e;case 1:return o(r)?e:i((function(e){return t(r,e)}));default:return o(r)&&o(n)?e:o(r)?i((function(e){return t(e,n)})):o(n)?i((function(e){return t(r,e)})):t(r,n)}}}function s(t){return function e(r,n,s){switch(arguments.length){case 0:return e;case 1:return o(r)?e:a((function(e,n){return t(r,e,n)}));case 2:return o(r)&&o(n)?e:o(r)?a((function(e,r){return t(e,n,r)})):o(n)?a((function(e,n){return t(r,e,n)})):i((function(e){return t(r,n,e)}));default:return o(r)&&o(n)&&o(s)?e:o(r)&&o(n)?a((function(e,r){return t(e,r,s)})):o(r)&&o(s)?a((function(e,r){return t(e,n,r)})):o(n)&&o(s)?a((function(e,n){return t(r,e,n)})):o(r)?i((function(e){return t(e,n,s)})):o(n)?i((function(e){return t(r,e,s)})):o(s)?i((function(e){return t(r,n,e)})):t(r,n,s)}}}r.r(t),r.d(t,{hasBrowserEnv:()=>be,hasStandardBrowserEnv:()=>we,hasStandardBrowserWebWorkerEnv:()=>Oe,origin:()=>Se}),r(7452);const c=Array.isArray||function(t){return null!=t&&t.length>=0&&"[object Array]"===Object.prototype.toString.call(t)};function u(t){return"[object String]"===Object.prototype.toString.call(t)}const l=i((function(t){return!!c(t)||!!t&&"object"==typeof t&&!u(t)&&(0===t.length||t.length>0&&t.hasOwnProperty(0)&&t.hasOwnProperty(t.length-1))}));var f="undefined"!=typeof Symbol?Symbol.iterator:"@@iterator";function h(t,e,r){return function(n,o,i){if(l(i))return t(n,o,i);if(null==i)return o;if("function"==typeof i["fantasy-land/reduce"])return e(n,o,i,"fantasy-land/reduce");if(null!=i[f])return r(n,o,i[f]());if("function"==typeof i.next)return r(n,o,i);if("function"==typeof i.reduce)return e(n,o,i,"reduce");throw new TypeError("reduce: list must be array or iterable")}}function p(t,e,r){for(var n=0,o=r.length;n<o;){if((e=t["@@transducer/step"](e,r[n]))&&e["@@transducer/reduced"]){e=e["@@transducer/value"];break}n+=1}return t["@@transducer/result"](e)}const d=a((function(t,r){return e(t.length,(function(){return t.apply(r,arguments)}))}));function y(t,e,r){for(var n=r.next();!n.done;){if((e=t["@@transducer/step"](e,n.value))&&e["@@transducer/reduced"]){e=e["@@transducer/value"];break}n=r.next()}return t["@@transducer/result"](e)}function m(t,e,r,n){return t["@@transducer/result"](r[n](d(t["@@transducer/step"],t),e))}const g=h(p,m,y);var v=function(){function t(t){this.f=t}return t.prototype["@@transducer/init"]=function(){throw new Error("init not implemented on XWrap")},t.prototype["@@transducer/result"]=function(t){return t},t.prototype["@@transducer/step"]=function(t,e){return this.f(t,e)},t}();const b=s((function(t,e,r){return g("function"==typeof t?new v(t):t,e,r)}));function w(t,e){return function(){var r=arguments.length;if(0===r)return e();var n=arguments[r-1];return c(n)||"function"!=typeof n[t]?e.apply(this,arguments):n[t].apply(n,Array.prototype.slice.call(arguments,0,r-1))}}const E=i(w("tail",s(w("slice",(function(t,e,r){return Array.prototype.slice.call(r,t,e)})))(1,1/0)));function O(){if(0===arguments.length)throw new Error("pipe requires at least one argument");return e(arguments[0].length,b(n,arguments[0],E(arguments)))}function S(t,r,n){return function(){for(var i=[],a=0,s=t,c=0,u=!1;c<r.length||a<arguments.length;){var l;c<r.length&&(!o(r[c])||a>=arguments.length)?l=r[c]:(l=arguments[a],a+=1),i[c]=l,o(l)?u=!0:s-=1,c+=1}return!u&&s<=0?n.apply(this,i):e(Math.max(0,s),S(t,i,n))}}const x=a((function(t,r){return 1===t?i(r):e(t,S(t,[],r))})),j=i((function(t){return x(t.length,t)})),L={"@@functional/placeholder":!0},R=s((function(t,e,r){return x(Math.max(t.length,e.length,r.length),(function(){return t.apply(this,arguments)?e.apply(this,arguments):r.apply(this,arguments)}))})),T=i((function(t){return function(){return t}}));function A(t,e,r){return function(){if(0===arguments.length)return r();var n=arguments[arguments.length-1];if(!c(n)){for(var o=0;o<t.length;){if("function"==typeof n[t[o]])return n[t[o]].apply(n,Array.prototype.slice.call(arguments,0,-1));o+=1}if(function(t){return null!=t&&"function"==typeof t["@@transducer/step"]}(n))return e.apply(null,Array.prototype.slice.call(arguments,0,-1))(n)}return r.apply(this,arguments)}}const P=function(){return this.xf["@@transducer/init"]()},N=function(t){return this.xf["@@transducer/result"](t)};var _=function(){function t(t,e){this.xf=e,this.f=t}return t.prototype["@@transducer/init"]=P,t.prototype["@@transducer/result"]=N,t.prototype["@@transducer/step"]=function(t,e){return this.f(e),this.xf["@@transducer/step"](t,e)},t}();function k(t){return function(e){return new _(t,e)}}const C=a(A([],k,(function(t,e){return t(e),e})));function F(t){return t}const U=i(F);function D(t){for(var e,r=[];!(e=t.next()).done;)r.push(e.value);return r}function B(t,e,r){for(var n=0,o=r.length;n<o;){if(t(e,r[n]))return!0;n+=1}return!1}function I(t,e){return Object.prototype.hasOwnProperty.call(e,t)}const q="function"==typeof Object.is?Object.is:function(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e};var M=Object.prototype.toString;const G=function(){return"[object Arguments]"===M.call(arguments)?function(t){return"[object Arguments]"===M.call(t)}:function(t){return I("callee",t)}}();var z=!{toString:null}.propertyIsEnumerable("toString"),H=["constructor","valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],V=function(){return arguments.propertyIsEnumerable("length")}(),W=function(t,e){for(var r=0;r<t.length;){if(t[r]===e)return!0;r+=1}return!1};const J="function"!=typeof Object.keys||V?i((function(t){if(Object(t)!==t)return[];var e,r,n=[],o=V&&G(t);for(e in t)!I(e,t)||o&&"length"===e||(n[n.length]=e);if(z)for(r=H.length-1;r>=0;)I(e=H[r],t)&&!W(n,e)&&(n[n.length]=e),r-=1;return n})):i((function(t){return Object(t)!==t?[]:Object.keys(t)})),K=i((function(t){return null===t?"Null":void 0===t?"Undefined":Object.prototype.toString.call(t).slice(8,-1)}));function $(t,e,r,n){var o=D(t);function i(t,e){return Y(t,e,r.slice(),n.slice())}return!B((function(t,e){return!B(i,e,t)}),D(e),o)}function Y(t,e,r,n){if(q(t,e))return!0;var o,i,a=K(t);if(a!==K(e))return!1;if("function"==typeof t["fantasy-land/equals"]||"function"==typeof e["fantasy-land/equals"])return"function"==typeof t["fantasy-land/equals"]&&t["fantasy-land/equals"](e)&&"function"==typeof e["fantasy-land/equals"]&&e["fantasy-land/equals"](t);if("function"==typeof t.equals||"function"==typeof e.equals)return"function"==typeof t.equals&&t.equals(e)&&"function"==typeof e.equals&&e.equals(t);switch(a){case"Arguments":case"Array":case"Object":if("function"==typeof t.constructor&&"Promise"===(o=t.constructor,null==(i=String(o).match(/^function (\w*)/))?"":i[1]))return t===e;break;case"Boolean":case"Number":case"String":if(typeof t!=typeof e||!q(t.valueOf(),e.valueOf()))return!1;break;case"Date":if(!q(t.valueOf(),e.valueOf()))return!1;break;case"Error":return t.name===e.name&&t.message===e.message;case"RegExp":if(t.source!==e.source||t.global!==e.global||t.ignoreCase!==e.ignoreCase||t.multiline!==e.multiline||t.sticky!==e.sticky||t.unicode!==e.unicode)return!1}for(var s=r.length-1;s>=0;){if(r[s]===t)return n[s]===e;s-=1}switch(a){case"Map":return t.size===e.size&&$(t.entries(),e.entries(),r.concat([t]),n.concat([e]));case"Set":return t.size===e.size&&$(t.values(),e.values(),r.concat([t]),n.concat([e]));case"Arguments":case"Array":case"Object":case"Boolean":case"Number":case"String":case"Date":case"Error":case"RegExp":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"ArrayBuffer":break;default:return!1}var c=J(t);if(c.length!==J(e).length)return!1;var u=r.concat([t]),l=n.concat([e]);for(s=c.length-1;s>=0;){var f=c[s];if(!I(f,e)||!Y(e[f],t[f],u,l))return!1;s-=1}return!0}const X=a((function(t,e){return Y(t,e,[],[])}));function Q(t,e){for(var r=0,n=e.length,o=Array(n);r<n;)o[r]=t(e[r]),r+=1;return o}function Z(t){return'"'+t.replace(/\\/g,"\\\\").replace(/[\b]/g,"\\b").replace(/\f/g,"\\f").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t").replace(/\v/g,"\\v").replace(/\0/g,"\\0").replace(/"/g,'\\"')+'"'}var tt=function(t){return(t<10?"0":"")+t};const et="function"==typeof Date.prototype.toISOString?function(t){return t.toISOString()}:function(t){return t.getUTCFullYear()+"-"+tt(t.getUTCMonth()+1)+"-"+tt(t.getUTCDate())+"T"+tt(t.getUTCHours())+":"+tt(t.getUTCMinutes())+":"+tt(t.getUTCSeconds())+"."+(t.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"};function rt(t,e,r){for(var n=0,o=r.length;n<o;)e=t(e,r[n]),n+=1;return e}var nt=function(){function t(t,e){this.xf=e,this.f=t}return t.prototype["@@transducer/init"]=P,t.prototype["@@transducer/result"]=N,t.prototype["@@transducer/step"]=function(t,e){return this.f(e)?this.xf["@@transducer/step"](t,e):t},t}();function ot(t){return function(e){return new nt(t,e)}}const it=a(A(["fantasy-land/filter","filter"],ot,(function(t,e){return r=e,"[object Object]"===Object.prototype.toString.call(r)?rt((function(r,n){return t(e[n])&&(r[n]=e[n]),r}),{},J(e)):function(t,e){for(var r=0,n=e.length,o=[];r<n;)t(e[r])&&(o[o.length]=e[r]),r+=1;return o}(t,e);var r}))),at=a((function(t,e){return it((r=t,function(){return!r.apply(this,arguments)}),e);var r}));function st(t,e){var r=function(r){var n=e.concat([t]);return function(t,e,r){var n,o;if("function"==typeof t.indexOf)switch(typeof e){case"number":if(0===e){for(n=1/e;r<t.length;){if(0===(o=t[r])&&1/o===n)return r;r+=1}return-1}if(e!=e){for(;r<t.length;){if("number"==typeof(o=t[r])&&o!=o)return r;r+=1}return-1}return t.indexOf(e,r);case"string":case"boolean":case"function":case"undefined":return t.indexOf(e,r);case"object":if(null===e)return t.indexOf(e,r)}for(;r<t.length;){if(X(t[r],e))return r;r+=1}return-1}(n,r,0)>=0?"<Circular>":st(r,n)},n=function(t,e){return Q((function(e){return Z(e)+": "+r(t[e])}),e.slice().sort())};switch(Object.prototype.toString.call(t)){case"[object Arguments]":return"(function() { return arguments; }("+Q(r,t).join(", ")+"))";case"[object Array]":return"["+Q(r,t).concat(n(t,at((function(t){return/^\d+$/.test(t)}),J(t)))).join(", ")+"]";case"[object Boolean]":return"object"==typeof t?"new Boolean("+r(t.valueOf())+")":t.toString();case"[object Date]":return"new Date("+(isNaN(t.valueOf())?r(NaN):Z(et(t)))+")";case"[object Map]":return"new Map("+r(Array.from(t))+")";case"[object Null]":return"null";case"[object Number]":return"object"==typeof t?"new Number("+r(t.valueOf())+")":1/t==-1/0?"-0":t.toString(10);case"[object Set]":return"new Set("+r(Array.from(t).sort())+")";case"[object String]":return"object"==typeof t?"new String("+r(t.valueOf())+")":Z(t);case"[object Undefined]":return"undefined";default:if("function"==typeof t.toString){var o=t.toString();if("[object Object]"!==o)return o}return"{"+n(t,J(t)).join(", ")+"}"}}const ct=i((function(t){return st(t,[])})),ut=a((function(t,e){if(t===e)return e;function r(t,e){if(t>e!=e>t)return e>t?e:t}var n=r(t,e);if(void 0!==n)return n;var o=r(typeof t,typeof e);if(void 0!==o)return o===typeof t?t:e;var i=ct(t),a=r(i,ct(e));return void 0!==a&&a===i?t:e}));var lt=function(){function t(t,e){this.xf=e,this.f=t}return t.prototype["@@transducer/init"]=P,t.prototype["@@transducer/result"]=N,t.prototype["@@transducer/step"]=function(t,e){return this.xf["@@transducer/step"](t,this.f(e))},t}();const ft=a(A(["fantasy-land/map","map"],(function(t){return function(e){return new lt(t,e)}}),(function(t,e){switch(Object.prototype.toString.call(e)){case"[object Function]":return x(e.length,(function(){return t.call(this,e.apply(this,arguments))}));case"[object Object]":return rt((function(r,n){return r[n]=t(e[n]),r}),{},J(e));default:return Q(t,e)}}))),ht=Number.isInteger||function(t){return t<<0===t},pt=a((function(t,e){var r,n,o;if(null!=e)return ht(t)?(n=e,o=(r=t)<0?n.length+r:r,u(n)?n.charAt(o):n[o]):e[t]})),dt=a((function(t,e){return ft(pt(t),e)})),yt=i((function(t){return x(b(ut,0,dt("length",t)),(function(){for(var e=0,r=t.length;e<r;){if(t[e].apply(this,arguments))return!0;e+=1}return!1}))}));function mt(t,e){return function(){return t.apply(e,arguments)}}const{toString:gt}=Object.prototype,{getPrototypeOf:vt}=Object,bt=(wt=Object.create(null),t=>{const e=gt.call(t);return wt[e]||(wt[e]=e.slice(8,-1).toLowerCase())});var wt;const Et=t=>(t=t.toLowerCase(),e=>bt(e)===t),Ot=t=>e=>typeof e===t,{isArray:St}=Array,xt=Ot("undefined"),jt=Et("ArrayBuffer"),Lt=Ot("string"),Rt=Ot("function"),Tt=Ot("number"),At=t=>null!==t&&"object"==typeof t,Pt=t=>{if("object"!==bt(t))return!1;const e=vt(t);return!(null!==e&&e!==Object.prototype&&null!==Object.getPrototypeOf(e)||Symbol.toStringTag in t||Symbol.iterator in t)},Nt=Et("Date"),_t=Et("File"),kt=Et("Blob"),Ct=Et("FileList"),Ft=Et("URLSearchParams"),[Ut,Dt,Bt,It]=["ReadableStream","Request","Response","Headers"].map(Et);function qt(t,e,{allOwnKeys:r=!1}={}){if(null==t)return;let n,o;if("object"!=typeof t&&(t=[t]),St(t))for(n=0,o=t.length;n<o;n++)e.call(null,t[n],n,t);else{const o=r?Object.getOwnPropertyNames(t):Object.keys(t),i=o.length;let a;for(n=0;n<i;n++)a=o[n],e.call(null,t[a],a,t)}}function Mt(t,e){e=e.toLowerCase();const r=Object.keys(t);let n,o=r.length;for(;o-- >0;)if(n=r[o],e===n.toLowerCase())return n;return null}const Gt="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,zt=t=>!xt(t)&&t!==Gt,Ht=(Vt="undefined"!=typeof Uint8Array&&vt(Uint8Array),t=>Vt&&t instanceof Vt);var Vt;const Wt=Et("HTMLFormElement"),Jt=(({hasOwnProperty:t})=>(e,r)=>t.call(e,r))(Object.prototype),Kt=Et("RegExp"),$t=(t,e)=>{const r=Object.getOwnPropertyDescriptors(t),n={};qt(r,((r,o)=>{let i;!1!==(i=e(r,o,t))&&(n[o]=i||r)})),Object.defineProperties(t,n)},Yt="abcdefghijklmnopqrstuvwxyz",Xt="0123456789",Qt={DIGIT:Xt,ALPHA:Yt,ALPHA_DIGIT:Yt+Yt.toUpperCase()+Xt},Zt=Et("AsyncFunction"),te={isArray:St,isArrayBuffer:jt,isBuffer:function(t){return null!==t&&!xt(t)&&null!==t.constructor&&!xt(t.constructor)&&Rt(t.constructor.isBuffer)&&t.constructor.isBuffer(t)},isFormData:t=>{let e;return t&&("function"==typeof FormData&&t instanceof FormData||Rt(t.append)&&("formdata"===(e=bt(t))||"object"===e&&Rt(t.toString)&&"[object FormData]"===t.toString()))},isArrayBufferView:function(t){let e;return e="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&jt(t.buffer),e},isString:Lt,isNumber:Tt,isBoolean:t=>!0===t||!1===t,isObject:At,isPlainObject:Pt,isReadableStream:Ut,isRequest:Dt,isResponse:Bt,isHeaders:It,isUndefined:xt,isDate:Nt,isFile:_t,isBlob:kt,isRegExp:Kt,isFunction:Rt,isStream:t=>At(t)&&Rt(t.pipe),isURLSearchParams:Ft,isTypedArray:Ht,isFileList:Ct,forEach:qt,merge:function t(){const{caseless:e}=zt(this)&&this||{},r={},n=(n,o)=>{const i=e&&Mt(r,o)||o;Pt(r[i])&&Pt(n)?r[i]=t(r[i],n):Pt(n)?r[i]=t({},n):St(n)?r[i]=n.slice():r[i]=n};for(let t=0,e=arguments.length;t<e;t++)arguments[t]&&qt(arguments[t],n);return r},extend:(t,e,r,{allOwnKeys:n}={})=>(qt(e,((e,n)=>{r&&Rt(e)?t[n]=mt(e,r):t[n]=e}),{allOwnKeys:n}),t),trim:t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:t=>(65279===t.charCodeAt(0)&&(t=t.slice(1)),t),inherits:(t,e,r,n)=>{t.prototype=Object.create(e.prototype,n),t.prototype.constructor=t,Object.defineProperty(t,"super",{value:e.prototype}),r&&Object.assign(t.prototype,r)},toFlatObject:(t,e,r,n)=>{let o,i,a;const s={};if(e=e||{},null==t)return e;do{for(o=Object.getOwnPropertyNames(t),i=o.length;i-- >0;)a=o[i],n&&!n(a,t,e)||s[a]||(e[a]=t[a],s[a]=!0);t=!1!==r&&vt(t)}while(t&&(!r||r(t,e))&&t!==Object.prototype);return e},kindOf:bt,kindOfTest:Et,endsWith:(t,e,r)=>{t=String(t),(void 0===r||r>t.length)&&(r=t.length),r-=e.length;const n=t.indexOf(e,r);return-1!==n&&n===r},toArray:t=>{if(!t)return null;if(St(t))return t;let e=t.length;if(!Tt(e))return null;const r=new Array(e);for(;e-- >0;)r[e]=t[e];return r},forEachEntry:(t,e)=>{const r=(t&&t[Symbol.iterator]).call(t);let n;for(;(n=r.next())&&!n.done;){const r=n.value;e.call(t,r[0],r[1])}},matchAll:(t,e)=>{let r;const n=[];for(;null!==(r=t.exec(e));)n.push(r);return n},isHTMLForm:Wt,hasOwnProperty:Jt,hasOwnProp:Jt,reduceDescriptors:$t,freezeMethods:t=>{$t(t,((e,r)=>{if(Rt(t)&&-1!==["arguments","caller","callee"].indexOf(r))return!1;const n=t[r];Rt(n)&&(e.enumerable=!1,"writable"in e?e.writable=!1:e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")}))}))},toObjectSet:(t,e)=>{const r={},n=t=>{t.forEach((t=>{r[t]=!0}))};return St(t)?n(t):n(String(t).split(e)),r},toCamelCase:t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function(t,e,r){return e.toUpperCase()+r})),noop:()=>{},toFiniteNumber:(t,e)=>null!=t&&Number.isFinite(t=+t)?t:e,findKey:Mt,global:Gt,isContextDefined:zt,ALPHABET:Qt,generateString:(t=16,e=Qt.ALPHA_DIGIT)=>{let r="";const{length:n}=e;for(;t--;)r+=e[Math.random()*n|0];return r},isSpecCompliantForm:function(t){return!!(t&&Rt(t.append)&&"FormData"===t[Symbol.toStringTag]&&t[Symbol.iterator])},toJSONObject:t=>{const e=new Array(10),r=(t,n)=>{if(At(t)){if(e.indexOf(t)>=0)return;if(!("toJSON"in t)){e[n]=t;const o=St(t)?[]:{};return qt(t,((t,e)=>{const i=r(t,n+1);!xt(i)&&(o[e]=i)})),e[n]=void 0,o}}return t};return r(t,0)},isAsyncFn:Zt,isThenable:t=>t&&(At(t)||Rt(t))&&Rt(t.then)&&Rt(t.catch)};function ee(t,e,r,n,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=t,this.name="AxiosError",e&&(this.code=e),r&&(this.config=r),n&&(this.request=n),o&&(this.response=o)}te.inherits(ee,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:te.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const re=ee.prototype,ne={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach((t=>{ne[t]={value:t}})),Object.defineProperties(ee,ne),Object.defineProperty(re,"isAxiosError",{value:!0}),ee.from=(t,e,r,n,o,i)=>{const a=Object.create(re);return te.toFlatObject(t,a,(function(t){return t!==Error.prototype}),(t=>"isAxiosError"!==t)),ee.call(a,t.message,e,r,n,o),a.cause=t,a.name=t.name,i&&Object.assign(a,i),a};const oe=ee;function ie(t){return te.isPlainObject(t)||te.isArray(t)}function ae(t){return te.endsWith(t,"[]")?t.slice(0,-2):t}function se(t,e,r){return t?t.concat(e).map((function(t,e){return t=ae(t),!r&&e?"["+t+"]":t})).join(r?".":""):e}const ce=te.toFlatObject(te,{},null,(function(t){return/^is[A-Z]/.test(t)})),ue=function(t,e,r){if(!te.isObject(t))throw new TypeError("target must be an object");e=e||new FormData;const n=(r=te.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(t,e){return!te.isUndefined(e[t])}))).metaTokens,o=r.visitor||u,i=r.dots,a=r.indexes,s=(r.Blob||"undefined"!=typeof Blob&&Blob)&&te.isSpecCompliantForm(e);if(!te.isFunction(o))throw new TypeError("visitor must be a function");function c(t){if(null===t)return"";if(te.isDate(t))return t.toISOString();if(!s&&te.isBlob(t))throw new oe("Blob is not supported. Use a Buffer instead.");return te.isArrayBuffer(t)||te.isTypedArray(t)?s&&"function"==typeof Blob?new Blob([t]):Buffer.from(t):t}function u(t,r,o){let s=t;if(t&&!o&&"object"==typeof t)if(te.endsWith(r,"{}"))r=n?r:r.slice(0,-2),t=JSON.stringify(t);else if(te.isArray(t)&&function(t){return te.isArray(t)&&!t.some(ie)}(t)||(te.isFileList(t)||te.endsWith(r,"[]"))&&(s=te.toArray(t)))return r=ae(r),s.forEach((function(t,n){!te.isUndefined(t)&&null!==t&&e.append(!0===a?se([r],n,i):null===a?r:r+"[]",c(t))})),!1;return!!ie(t)||(e.append(se(o,r,i),c(t)),!1)}const l=[],f=Object.assign(ce,{defaultVisitor:u,convertValue:c,isVisitable:ie});if(!te.isObject(t))throw new TypeError("data must be an object");return function t(r,n){if(!te.isUndefined(r)){if(-1!==l.indexOf(r))throw Error("Circular reference detected in "+n.join("."));l.push(r),te.forEach(r,(function(r,i){!0===(!(te.isUndefined(r)||null===r)&&o.call(e,r,te.isString(i)?i.trim():i,n,f))&&t(r,n?n.concat(i):[i])})),l.pop()}}(t),e};function le(t){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,(function(t){return e[t]}))}function fe(t,e){this._pairs=[],t&&ue(t,this,e)}const he=fe.prototype;he.append=function(t,e){this._pairs.push([t,e])},he.toString=function(t){const e=t?function(e){return t.call(this,e,le)}:le;return this._pairs.map((function(t){return e(t[0])+"="+e(t[1])}),"").join("&")};const pe=fe;function de(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function ye(t,e,r){if(!e)return t;const n=r&&r.encode||de,o=r&&r.serialize;let i;if(i=o?o(e,r):te.isURLSearchParams(e)?e.toString():new pe(e,r).toString(n),i){const e=t.indexOf("#");-1!==e&&(t=t.slice(0,e)),t+=(-1===t.indexOf("?")?"?":"&")+i}return t}const me=class{constructor(){this.handlers=[]}use(t,e,r){return this.handlers.push({fulfilled:t,rejected:e,synchronous:!!r&&r.synchronous,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){te.forEach(this.handlers,(function(e){null!==e&&t(e)}))}},ge={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},ve={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:pe,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]},be="undefined"!=typeof window&&"undefined"!=typeof document,we=(Ee="undefined"!=typeof navigator&&navigator.product,be&&["ReactNative","NativeScript","NS"].indexOf(Ee)<0);var Ee;const Oe="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,Se=be&&window.location.href||"http://localhost",xe={...t,...ve},je=function(t){function e(t,r,n,o){let i=t[o++];if("__proto__"===i)return!0;const a=Number.isFinite(+i),s=o>=t.length;return i=!i&&te.isArray(n)?n.length:i,s?(te.hasOwnProp(n,i)?n[i]=[n[i],r]:n[i]=r,!a):(n[i]&&te.isObject(n[i])||(n[i]=[]),e(t,r,n[i],o)&&te.isArray(n[i])&&(n[i]=function(t){const e={},r=Object.keys(t);let n;const o=r.length;let i;for(n=0;n<o;n++)i=r[n],e[i]=t[i];return e}(n[i])),!a)}if(te.isFormData(t)&&te.isFunction(t.entries)){const r={};return te.forEachEntry(t,((t,n)=>{e(function(t){return te.matchAll(/\w+|\[(\w*)]/g,t).map((t=>"[]"===t[0]?"":t[1]||t[0]))}(t),n,r,0)})),r}return null},Le={transitional:ge,adapter:["xhr","http","fetch"],transformRequest:[function(t,e){const r=e.getContentType()||"",n=r.indexOf("application/json")>-1,o=te.isObject(t);if(o&&te.isHTMLForm(t)&&(t=new FormData(t)),te.isFormData(t))return n?JSON.stringify(je(t)):t;if(te.isArrayBuffer(t)||te.isBuffer(t)||te.isStream(t)||te.isFile(t)||te.isBlob(t)||te.isReadableStream(t))return t;if(te.isArrayBufferView(t))return t.buffer;if(te.isURLSearchParams(t))return e.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let i;if(o){if(r.indexOf("application/x-www-form-urlencoded")>-1)return function(t,e){return ue(t,new xe.classes.URLSearchParams,Object.assign({visitor:function(t,e,r,n){return xe.isNode&&te.isBuffer(t)?(this.append(e,t.toString("base64")),!1):n.defaultVisitor.apply(this,arguments)}},e))}(t,this.formSerializer).toString();if((i=te.isFileList(t))||r.indexOf("multipart/form-data")>-1){const e=this.env&&this.env.FormData;return ue(i?{"files[]":t}:t,e&&new e,this.formSerializer)}}return o||n?(e.setContentType("application/json",!1),function(t,e,r){if(te.isString(t))try{return(0,JSON.parse)(t),te.trim(t)}catch(t){if("SyntaxError"!==t.name)throw t}return(0,JSON.stringify)(t)}(t)):t}],transformResponse:[function(t){const e=this.transitional||Le.transitional,r=e&&e.forcedJSONParsing,n="json"===this.responseType;if(te.isResponse(t)||te.isReadableStream(t))return t;if(t&&te.isString(t)&&(r&&!this.responseType||n)){const r=!(e&&e.silentJSONParsing)&&n;try{return JSON.parse(t)}catch(t){if(r){if("SyntaxError"===t.name)throw oe.from(t,oe.ERR_BAD_RESPONSE,this,null,this.response);throw t}}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:xe.classes.FormData,Blob:xe.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};te.forEach(["delete","get","head","post","put","patch"],(t=>{Le.headers[t]={}}));const Re=Le,Te=te.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),Ae=Symbol("internals");function Pe(t){return t&&String(t).trim().toLowerCase()}function Ne(t){return!1===t||null==t?t:te.isArray(t)?t.map(Ne):String(t)}function _e(t,e,r,n,o){return te.isFunction(n)?n.call(this,e,r):(o&&(e=r),te.isString(e)?te.isString(n)?-1!==e.indexOf(n):te.isRegExp(n)?n.test(e):void 0:void 0)}class ke{constructor(t){t&&this.set(t)}set(t,e,r){const n=this;function o(t,e,r){const o=Pe(e);if(!o)throw new Error("header name must be a non-empty string");const i=te.findKey(n,o);(!i||void 0===n[i]||!0===r||void 0===r&&!1!==n[i])&&(n[i||e]=Ne(t))}const i=(t,e)=>te.forEach(t,((t,r)=>o(t,r,e)));if(te.isPlainObject(t)||t instanceof this.constructor)i(t,e);else if(te.isString(t)&&(t=t.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim()))i((t=>{const e={};let r,n,o;return t&&t.split("\n").forEach((function(t){o=t.indexOf(":"),r=t.substring(0,o).trim().toLowerCase(),n=t.substring(o+1).trim(),!r||e[r]&&Te[r]||("set-cookie"===r?e[r]?e[r].push(n):e[r]=[n]:e[r]=e[r]?e[r]+", "+n:n)})),e})(t),e);else if(te.isHeaders(t))for(const[e,n]of t.entries())o(n,e,r);else null!=t&&o(e,t,r);return this}get(t,e){if(t=Pe(t)){const r=te.findKey(this,t);if(r){const t=this[r];if(!e)return t;if(!0===e)return function(t){const e=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let n;for(;n=r.exec(t);)e[n[1]]=n[2];return e}(t);if(te.isFunction(e))return e.call(this,t,r);if(te.isRegExp(e))return e.exec(t);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,e){if(t=Pe(t)){const r=te.findKey(this,t);return!(!r||void 0===this[r]||e&&!_e(0,this[r],r,e))}return!1}delete(t,e){const r=this;let n=!1;function o(t){if(t=Pe(t)){const o=te.findKey(r,t);!o||e&&!_e(0,r[o],o,e)||(delete r[o],n=!0)}}return te.isArray(t)?t.forEach(o):o(t),n}clear(t){const e=Object.keys(this);let r=e.length,n=!1;for(;r--;){const o=e[r];t&&!_e(0,this[o],o,t,!0)||(delete this[o],n=!0)}return n}normalize(t){const e=this,r={};return te.forEach(this,((n,o)=>{const i=te.findKey(r,o);if(i)return e[i]=Ne(n),void delete e[o];const a=t?function(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,((t,e,r)=>e.toUpperCase()+r))}(o):String(o).trim();a!==o&&delete e[o],e[a]=Ne(n),r[a]=!0})),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const e=Object.create(null);return te.forEach(this,((r,n)=>{null!=r&&!1!==r&&(e[n]=t&&te.isArray(r)?r.join(", "):r)})),e}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map((([t,e])=>t+": "+e)).join("\n")}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...e){const r=new this(t);return e.forEach((t=>r.set(t))),r}static accessor(t){const e=(this[Ae]=this[Ae]={accessors:{}}).accessors,r=this.prototype;function n(t){const n=Pe(t);e[n]||(function(t,e){const r=te.toCamelCase(" "+e);["get","set","has"].forEach((n=>{Object.defineProperty(t,n+r,{value:function(t,r,o){return this[n].call(this,e,t,r,o)},configurable:!0})}))}(r,t),e[n]=!0)}return te.isArray(t)?t.forEach(n):n(t),this}}ke.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),te.reduceDescriptors(ke.prototype,(({value:t},e)=>{let r=e[0].toUpperCase()+e.slice(1);return{get:()=>t,set(t){this[r]=t}}})),te.freezeMethods(ke);const Ce=ke;function Fe(t,e){const r=this||Re,n=e||r,o=Ce.from(n.headers);let i=n.data;return te.forEach(t,(function(t){i=t.call(r,i,o.normalize(),e?e.status:void 0)})),o.normalize(),i}function Ue(t){return!(!t||!t.__CANCEL__)}function De(t,e,r){oe.call(this,null==t?"canceled":t,oe.ERR_CANCELED,e,r),this.name="CanceledError"}te.inherits(De,oe,{__CANCEL__:!0});const Be=De;function Ie(t,e,r){const n=r.config.validateStatus;r.status&&n&&!n(r.status)?e(new oe("Request failed with status code "+r.status,[oe.ERR_BAD_REQUEST,oe.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r)):t(r)}const qe=(t,e,r=3)=>{let n=0;const o=function(t,e){t=t||10;const r=new Array(t),n=new Array(t);let o,i=0,a=0;return e=void 0!==e?e:1e3,function(s){const c=Date.now(),u=n[a];o||(o=c),r[i]=s,n[i]=c;let l=a,f=0;for(;l!==i;)f+=r[l++],l%=t;if(i=(i+1)%t,i===a&&(a=(a+1)%t),c-o<e)return;const h=u&&c-u;return h?Math.round(1e3*f/h):void 0}}(50,250);return function(t,e){let r=0;const n=1e3/e;let o=null;return function(){const e=!0===this,i=Date.now();if(e||i-r>n)return o&&(clearTimeout(o),o=null),r=i,t.apply(null,arguments);o||(o=setTimeout((()=>(o=null,r=Date.now(),t.apply(null,arguments))),n-(i-r)))}}((r=>{const i=r.loaded,a=r.lengthComputable?r.total:void 0,s=i-n,c=o(s);n=i;const u={loaded:i,total:a,progress:a?i/a:void 0,bytes:s,rate:c||void 0,estimated:c&&a&&i<=a?(a-i)/c:void 0,event:r,lengthComputable:null!=a};u[e?"download":"upload"]=!0,t(u)}),r)},Me=xe.hasStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),e=document.createElement("a");let r;function n(r){let n=r;return t&&(e.setAttribute("href",n),n=e.href),e.setAttribute("href",n),{href:e.href,protocol:e.protocol?e.protocol.replace(/:$/,""):"",host:e.host,search:e.search?e.search.replace(/^\?/,""):"",hash:e.hash?e.hash.replace(/^#/,""):"",hostname:e.hostname,port:e.port,pathname:"/"===e.pathname.charAt(0)?e.pathname:"/"+e.pathname}}return r=n(window.location.href),function(t){const e=te.isString(t)?n(t):t;return e.protocol===r.protocol&&e.host===r.host}}():function(){return!0},Ge=xe.hasStandardBrowserEnv?{write(t,e,r,n,o,i){const a=[t+"="+encodeURIComponent(e)];te.isNumber(r)&&a.push("expires="+new Date(r).toGMTString()),te.isString(n)&&a.push("path="+n),te.isString(o)&&a.push("domain="+o),!0===i&&a.push("secure"),document.cookie=a.join("; ")},read(t){const e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove(t){this.write(t,"",Date.now()-864e5)}}:{write(){},read:()=>null,remove(){}};function ze(t,e){return t&&!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)?function(t,e){return e?t.replace(/\/?\/$/,"")+"/"+e.replace(/^\/+/,""):t}(t,e):e}const He=t=>t instanceof Ce?{...t}:t;function Ve(t,e){e=e||{};const r={};function n(t,e,r){return te.isPlainObject(t)&&te.isPlainObject(e)?te.merge.call({caseless:r},t,e):te.isPlainObject(e)?te.merge({},e):te.isArray(e)?e.slice():e}function o(t,e,r){return te.isUndefined(e)?te.isUndefined(t)?void 0:n(void 0,t,r):n(t,e,r)}function i(t,e){if(!te.isUndefined(e))return n(void 0,e)}function a(t,e){return te.isUndefined(e)?te.isUndefined(t)?void 0:n(void 0,t):n(void 0,e)}function s(r,o,i){return i in e?n(r,o):i in t?n(void 0,r):void 0}const c={url:i,method:i,data:i,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:s,headers:(t,e)=>o(He(t),He(e),!0)};return te.forEach(Object.keys(Object.assign({},t,e)),(function(n){const i=c[n]||o,a=i(t[n],e[n],n);te.isUndefined(a)&&i!==s||(r[n]=a)})),r}const We=t=>{const e=Ve({},t);let r,{data:n,withXSRFToken:o,xsrfHeaderName:i,xsrfCookieName:a,headers:s,auth:c}=e;if(e.headers=s=Ce.from(s),e.url=ye(ze(e.baseURL,e.url),t.params,t.paramsSerializer),c&&s.set("Authorization","Basic "+btoa((c.username||"")+":"+(c.password?unescape(encodeURIComponent(c.password)):""))),te.isFormData(n))if(xe.hasStandardBrowserEnv||xe.hasStandardBrowserWebWorkerEnv)s.setContentType(void 0);else if(!1!==(r=s.getContentType())){const[t,...e]=r?r.split(";").map((t=>t.trim())).filter(Boolean):[];s.setContentType([t||"multipart/form-data",...e].join("; "))}if(xe.hasStandardBrowserEnv&&(o&&te.isFunction(o)&&(o=o(e)),o||!1!==o&&Me(e.url))){const t=i&&a&&Ge.read(a);t&&s.set(i,t)}return e},Je="undefined"!=typeof XMLHttpRequest&&function(t){return new Promise((function(e,r){const n=We(t);let o=n.data;const i=Ce.from(n.headers).normalize();let a,{responseType:s}=n;function c(){n.cancelToken&&n.cancelToken.unsubscribe(a),n.signal&&n.signal.removeEventListener("abort",a)}let u=new XMLHttpRequest;function l(){if(!u)return;const n=Ce.from("getAllResponseHeaders"in u&&u.getAllResponseHeaders());Ie((function(t){e(t),c()}),(function(t){r(t),c()}),{data:s&&"text"!==s&&"json"!==s?u.response:u.responseText,status:u.status,statusText:u.statusText,headers:n,config:t,request:u}),u=null}u.open(n.method.toUpperCase(),n.url,!0),u.timeout=n.timeout,"onloadend"in u?u.onloadend=l:u.onreadystatechange=function(){u&&4===u.readyState&&(0!==u.status||u.responseURL&&0===u.responseURL.indexOf("file:"))&&setTimeout(l)},u.onabort=function(){u&&(r(new oe("Request aborted",oe.ECONNABORTED,n,u)),u=null)},u.onerror=function(){r(new oe("Network Error",oe.ERR_NETWORK,n,u)),u=null},u.ontimeout=function(){let t=n.timeout?"timeout of "+n.timeout+"ms exceeded":"timeout exceeded";const e=n.transitional||ge;n.timeoutErrorMessage&&(t=n.timeoutErrorMessage),r(new oe(t,e.clarifyTimeoutError?oe.ETIMEDOUT:oe.ECONNABORTED,n,u)),u=null},void 0===o&&i.setContentType(null),"setRequestHeader"in u&&te.forEach(i.toJSON(),(function(t,e){u.setRequestHeader(e,t)})),te.isUndefined(n.withCredentials)||(u.withCredentials=!!n.withCredentials),s&&"json"!==s&&(u.responseType=n.responseType),"function"==typeof n.onDownloadProgress&&u.addEventListener("progress",qe(n.onDownloadProgress,!0)),"function"==typeof n.onUploadProgress&&u.upload&&u.upload.addEventListener("progress",qe(n.onUploadProgress)),(n.cancelToken||n.signal)&&(a=e=>{u&&(r(!e||e.type?new Be(null,t,u):e),u.abort(),u=null)},n.cancelToken&&n.cancelToken.subscribe(a),n.signal&&(n.signal.aborted?a():n.signal.addEventListener("abort",a)));const f=function(t){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}(n.url);f&&-1===xe.protocols.indexOf(f)?r(new oe("Unsupported protocol "+f+":",oe.ERR_BAD_REQUEST,t)):u.send(o||null)}))},Ke=(t,e)=>{let r,n=new AbortController;const o=function(t){if(!r){r=!0,a();const e=t instanceof Error?t:this.reason;n.abort(e instanceof oe?e:new Be(e instanceof Error?e.message:e))}};let i=e&&setTimeout((()=>{o(new oe(`timeout ${e} of ms exceeded`,oe.ETIMEDOUT))}),e);const a=()=>{t&&(i&&clearTimeout(i),i=null,t.forEach((t=>{t&&(t.removeEventListener?t.removeEventListener("abort",o):t.unsubscribe(o))})),t=null)};t.forEach((t=>t&&t.addEventListener&&t.addEventListener("abort",o)));const{signal:s}=n;return s.unsubscribe=a,[s,()=>{i&&clearTimeout(i),i=null}]},$e=function*(t,e){let r=t.byteLength;if(!e||r<e)return void(yield t);let n,o=0;for(;o<r;)n=o+e,yield t.slice(o,n),o=n},Ye=(t,e,r,n,o)=>{const i=async function*(t,e,r){for await(const n of t)yield*$e(ArrayBuffer.isView(n)?n:await r(String(n)),e)}(t,e,o);let a=0;return new ReadableStream({type:"bytes",async pull(t){const{done:e,value:o}=await i.next();if(e)return t.close(),void n();let s=o.byteLength;r&&r(a+=s),t.enqueue(new Uint8Array(o))},cancel:t=>(n(t),i.return())},{highWaterMark:2})},Xe=(t,e)=>{const r=null!=t;return n=>setTimeout((()=>e({lengthComputable:r,total:t,loaded:n})))},Qe="function"==typeof fetch&&"function"==typeof Request&&"function"==typeof Response,Ze=Qe&&"function"==typeof ReadableStream,tr=Qe&&("function"==typeof TextEncoder?(er=new TextEncoder,t=>er.encode(t)):async t=>new Uint8Array(await new Response(t).arrayBuffer()));var er;const rr=Ze&&(()=>{let t=!1;const e=new Request(xe.origin,{body:new ReadableStream,method:"POST",get duplex(){return t=!0,"half"}}).headers.has("Content-Type");return t&&!e})(),nr=Ze&&!!(()=>{try{return te.isReadableStream(new Response("").body)}catch(t){}})(),or={stream:nr&&(t=>t.body)};var ir;Qe&&(ir=new Response,["text","arrayBuffer","blob","formData","stream"].forEach((t=>{!or[t]&&(or[t]=te.isFunction(ir[t])?e=>e[t]():(e,r)=>{throw new oe(`Response type '${t}' is not supported`,oe.ERR_NOT_SUPPORT,r)})})));const ar={http:null,xhr:Je,fetch:Qe&&(async t=>{let{url:e,method:r,data:n,signal:o,cancelToken:i,timeout:a,onDownloadProgress:s,onUploadProgress:c,responseType:u,headers:l,withCredentials:f="same-origin",fetchOptions:h}=We(t);u=u?(u+"").toLowerCase():"text";let p,d,[y,m]=o||i||a?Ke([o,i],a):[];const g=()=>{!p&&setTimeout((()=>{y&&y.unsubscribe()})),p=!0};let v;try{if(c&&rr&&"get"!==r&&"head"!==r&&0!==(v=await(async(t,e)=>{const r=te.toFiniteNumber(t.getContentLength());return null==r?(async t=>null==t?0:te.isBlob(t)?t.size:te.isSpecCompliantForm(t)?(await new Request(t).arrayBuffer()).byteLength:te.isArrayBufferView(t)?t.byteLength:(te.isURLSearchParams(t)&&(t+=""),te.isString(t)?(await tr(t)).byteLength:void 0))(e):r})(l,n))){let t,r=new Request(e,{method:"POST",body:n,duplex:"half"});te.isFormData(n)&&(t=r.headers.get("content-type"))&&l.setContentType(t),r.body&&(n=Ye(r.body,65536,Xe(v,qe(c)),null,tr))}te.isString(f)||(f=f?"cors":"omit"),d=new Request(e,{...h,signal:y,method:r.toUpperCase(),headers:l.normalize().toJSON(),body:n,duplex:"half",withCredentials:f});let o=await fetch(d);const i=nr&&("stream"===u||"response"===u);if(nr&&(s||i)){const t={};["status","statusText","headers"].forEach((e=>{t[e]=o[e]}));const e=te.toFiniteNumber(o.headers.get("content-length"));o=new Response(Ye(o.body,65536,s&&Xe(e,qe(s,!0)),i&&g,tr),t)}u=u||"text";let a=await or[te.findKey(or,u)||"text"](o,t);return!i&&g(),m&&m(),await new Promise(((e,r)=>{Ie(e,r,{data:a,headers:Ce.from(o.headers),status:o.status,statusText:o.statusText,config:t,request:d})}))}catch(e){if(g(),e&&"TypeError"===e.name&&/fetch/i.test(e.message))throw Object.assign(new oe("Network Error",oe.ERR_NETWORK,t,d),{cause:e.cause||e});throw oe.from(e,e&&e.code,t,d)}})};te.forEach(ar,((t,e)=>{if(t){try{Object.defineProperty(t,"name",{value:e})}catch(t){}Object.defineProperty(t,"adapterName",{value:e})}}));const sr=t=>`- ${t}`,cr=t=>te.isFunction(t)||null===t||!1===t,ur=t=>{t=te.isArray(t)?t:[t];const{length:e}=t;let r,n;const o={};for(let i=0;i<e;i++){let e;if(r=t[i],n=r,!cr(r)&&(n=ar[(e=String(r)).toLowerCase()],void 0===n))throw new oe(`Unknown adapter '${e}'`);if(n)break;o[e||"#"+i]=n}if(!n){const t=Object.entries(o).map((([t,e])=>`adapter ${t} `+(!1===e?"is not supported by the environment":"is not available in the build")));let r=e?t.length>1?"since :\n"+t.map(sr).join("\n"):" "+sr(t[0]):"as no adapter specified";throw new oe("There is no suitable adapter to dispatch the request "+r,"ERR_NOT_SUPPORT")}return n};function lr(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new Be(null,t)}function fr(t){return lr(t),t.headers=Ce.from(t.headers),t.data=Fe.call(t,t.transformRequest),-1!==["post","put","patch"].indexOf(t.method)&&t.headers.setContentType("application/x-www-form-urlencoded",!1),ur(t.adapter||Re.adapter)(t).then((function(e){return lr(t),e.data=Fe.call(t,t.transformResponse,e),e.headers=Ce.from(e.headers),e}),(function(e){return Ue(e)||(lr(t),e&&e.response&&(e.response.data=Fe.call(t,t.transformResponse,e.response),e.response.headers=Ce.from(e.response.headers))),Promise.reject(e)}))}const hr={};["object","boolean","number","function","string","symbol"].forEach(((t,e)=>{hr[t]=function(r){return typeof r===t||"a"+(e<1?"n ":" ")+t}}));const pr={};hr.transitional=function(t,e,r){function n(t,e){return"[Axios v1.7.2] Transitional option '"+t+"'"+e+(r?". "+r:"")}return(r,o,i)=>{if(!1===t)throw new oe(n(o," has been removed"+(e?" in "+e:"")),oe.ERR_DEPRECATED);return e&&!pr[o]&&(pr[o]=!0,console.warn(n(o," has been deprecated since v"+e+" and will be removed in the near future"))),!t||t(r,o,i)}};const dr={assertOptions:function(t,e,r){if("object"!=typeof t)throw new oe("options must be an object",oe.ERR_BAD_OPTION_VALUE);const n=Object.keys(t);let o=n.length;for(;o-- >0;){const i=n[o],a=e[i];if(a){const e=t[i],r=void 0===e||a(e,i,t);if(!0!==r)throw new oe("option "+i+" must be "+r,oe.ERR_BAD_OPTION_VALUE)}else if(!0!==r)throw new oe("Unknown option "+i,oe.ERR_BAD_OPTION)}},validators:hr},yr=dr.validators;class mr{constructor(t){this.defaults=t,this.interceptors={request:new me,response:new me}}async request(t,e){try{return await this._request(t,e)}catch(t){if(t instanceof Error){let e;Error.captureStackTrace?Error.captureStackTrace(e={}):e=new Error;const r=e.stack?e.stack.replace(/^.+\n/,""):"";try{t.stack?r&&!String(t.stack).endsWith(r.replace(/^.+\n.+\n/,""))&&(t.stack+="\n"+r):t.stack=r}catch(t){}}throw t}}_request(t,e){"string"==typeof t?(e=e||{}).url=t:e=t||{},e=Ve(this.defaults,e);const{transitional:r,paramsSerializer:n,headers:o}=e;void 0!==r&&dr.assertOptions(r,{silentJSONParsing:yr.transitional(yr.boolean),forcedJSONParsing:yr.transitional(yr.boolean),clarifyTimeoutError:yr.transitional(yr.boolean)},!1),null!=n&&(te.isFunction(n)?e.paramsSerializer={serialize:n}:dr.assertOptions(n,{encode:yr.function,serialize:yr.function},!0)),e.method=(e.method||this.defaults.method||"get").toLowerCase();let i=o&&te.merge(o.common,o[e.method]);o&&te.forEach(["delete","get","head","post","put","patch","common"],(t=>{delete o[t]})),e.headers=Ce.concat(i,o);const a=[];let s=!0;this.interceptors.request.forEach((function(t){"function"==typeof t.runWhen&&!1===t.runWhen(e)||(s=s&&t.synchronous,a.unshift(t.fulfilled,t.rejected))}));const c=[];let u;this.interceptors.response.forEach((function(t){c.push(t.fulfilled,t.rejected)}));let l,f=0;if(!s){const t=[fr.bind(this),void 0];for(t.unshift.apply(t,a),t.push.apply(t,c),l=t.length,u=Promise.resolve(e);f<l;)u=u.then(t[f++],t[f++]);return u}l=a.length;let h=e;for(f=0;f<l;){const t=a[f++],e=a[f++];try{h=t(h)}catch(t){e.call(this,t);break}}try{u=fr.call(this,h)}catch(t){return Promise.reject(t)}for(f=0,l=c.length;f<l;)u=u.then(c[f++],c[f++]);return u}getUri(t){return ye(ze((t=Ve(this.defaults,t)).baseURL,t.url),t.params,t.paramsSerializer)}}te.forEach(["delete","get","head","options"],(function(t){mr.prototype[t]=function(e,r){return this.request(Ve(r||{},{method:t,url:e,data:(r||{}).data}))}})),te.forEach(["post","put","patch"],(function(t){function e(e){return function(r,n,o){return this.request(Ve(o||{},{method:t,headers:e?{"Content-Type":"multipart/form-data"}:{},url:r,data:n}))}}mr.prototype[t]=e(),mr.prototype[t+"Form"]=e(!0)}));const gr=mr;class vr{constructor(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");let e;this.promise=new Promise((function(t){e=t}));const r=this;this.promise.then((t=>{if(!r._listeners)return;let e=r._listeners.length;for(;e-- >0;)r._listeners[e](t);r._listeners=null})),this.promise.then=t=>{let e;const n=new Promise((t=>{r.subscribe(t),e=t})).then(t);return n.cancel=function(){r.unsubscribe(e)},n},t((function(t,n,o){r.reason||(r.reason=new Be(t,n,o),e(r.reason))}))}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){this.reason?t(this.reason):this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const e=this._listeners.indexOf(t);-1!==e&&this._listeners.splice(e,1)}static source(){let t;return{token:new vr((function(e){t=e})),cancel:t}}}const br=vr,wr={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(wr).forEach((([t,e])=>{wr[e]=t}));const Er=wr,Or=function t(e){const r=new gr(e),n=mt(gr.prototype.request,r);return te.extend(n,gr.prototype,r,{allOwnKeys:!0}),te.extend(n,r,null,{allOwnKeys:!0}),n.create=function(r){return t(Ve(e,r))},n}(Re);Or.Axios=gr,Or.CanceledError=Be,Or.CancelToken=br,Or.isCancel=Ue,Or.VERSION="1.7.2",Or.toFormData=ue,Or.AxiosError=oe,Or.Cancel=Or.CanceledError,Or.all=function(t){return Promise.all(t)},Or.spread=function(t){return function(e){return t.apply(null,e)}},Or.isAxiosError=function(t){return te.isObject(t)&&!0===t.isAxiosError},Or.mergeConfig=Ve,Or.AxiosHeaders=Ce,Or.formToJSON=t=>je(te.isHTMLForm(t)?new FormData(t):t),Or.getAdapter=ur,Or.HttpStatusCode=Er,Or.default=Or;const Sr=Or;var xr,jr=function(){var t;return null!==(t=xr)&&void 0!==t&&t},Lr=r(8330).name.replace(/(^\w|-\w)/g,(function(t){return t.replace(/-/,"").toUpperCase()})),Rr=function(t){jr()&&console.debug("".concat(Lr," - ").concat(t))},Tr=function(t){console.error("".concat(Lr," - ").concat(t))};function Ar(t){return Ar="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},Ar(t)}function Pr(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Nr(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Pr(Object(r),!0).forEach((function(e){_r(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Pr(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function _r(t,e,r){return(e=function(t){var e=function(t,e){if("object"!=Ar(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!=Ar(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==Ar(e)?e:e+""}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function kr(){kr=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function l(t,e,r,n){var i=e&&e.prototype instanceof g?e:g,a=Object.create(i.prototype),s=new P(n||[]);return o(a,"_invoke",{value:L(t,r,s)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var h="suspendedStart",p="suspendedYield",d="executing",y="completed",m={};function g(){}function v(){}function b(){}var w={};u(w,a,(function(){return this}));var E=Object.getPrototypeOf,O=E&&E(E(N([])));O&&O!==r&&n.call(O,a)&&(w=O);var S=b.prototype=g.prototype=Object.create(w);function x(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,s){var c=f(t[o],t,i);if("throw"!==c.type){var u=c.arg,l=u.value;return l&&"object"==Ar(l)&&n.call(l,"__await")?e.resolve(l.__await).then((function(t){r("next",t,a,s)}),(function(t){r("throw",t,a,s)})):e.resolve(l).then((function(t){u.value=t,a(u)}),(function(t){return r("throw",t,a,s)}))}s(c.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function L(e,r,n){var o=h;return function(i,a){if(o===d)throw Error("Generator is already running");if(o===y){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var s=n.delegate;if(s){var c=R(s,n);if(c){if(c===m)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=y,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var u=f(e,r,n);if("normal"===u.type){if(o=n.done?y:p,u.arg===m)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(o=y,n.method="throw",n.arg=u.arg)}}}function R(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,R(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),m;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,m;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,m):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,m)}function T(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 A(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(T,this),this.reset(!0)}function N(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o<e.length;)if(n.call(e,o))return r.value=e[o],r.done=!1,r;return r.value=t,r.done=!0,r};return i.next=i}}throw new TypeError(Ar(e)+" is not iterable")}return v.prototype=b,o(S,"constructor",{value:b,configurable:!0}),o(b,"constructor",{value:v,configurable:!0}),v.displayName=u(b,c,"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,b):(t.__proto__=b,u(t,c,"GeneratorFunction")),t.prototype=Object.create(S),t},e.awrap=function(t){return{__await:t}},x(j.prototype),u(j.prototype,s,(function(){return this})),e.AsyncIterator=j,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new j(l(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},x(S),u(S,c,"Generator"),u(S,a,(function(){return this})),u(S,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=N,P.prototype={constructor:P,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(A),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=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 r=this;function o(n,o){return s.type="throw",s.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var c=n.call(a,"catchLoc"),u=n.call(a,"finallyLoc");if(c&&u){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!u)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.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 r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),A(r),m}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;A(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:N(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),m}},e}function Cr(t,e,r,n,o,i,a){try{var s=t[i](a),c=s.value}catch(t){return void r(t)}s.done?e(c):Promise.resolve(c).then(n,o)}function Fr(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){Cr(i,n,o,a,s,"next",t)}function s(t){Cr(i,n,o,a,s,"throw",t)}a(void 0)}))}}var Ur={headers:{}},Dr=function(){var t=Fr(kr().mark((function t(e){var r,n,o;return kr().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,e;case 3:return r=t.sent,n=r.data,t.abrupt("return",n);case 8:return t.prev=8,t.t0=t.catch(0),Tr(t.t0),t.abrupt("return",null===t.t0||void 0===t.t0||null===(o=t.t0.response)||void 0===o?void 0:o.data);case 12:case"end":return t.stop()}}),t,null,[[0,8]])})));return function(e){return t.apply(this,arguments)}}();function Br(t){return Br="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},Br(t)}function Ir(){Ir=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function l(t,e,r,n){var i=e&&e.prototype instanceof g?e:g,a=Object.create(i.prototype),s=new P(n||[]);return o(a,"_invoke",{value:L(t,r,s)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var h="suspendedStart",p="suspendedYield",d="executing",y="completed",m={};function g(){}function v(){}function b(){}var w={};u(w,a,(function(){return this}));var E=Object.getPrototypeOf,O=E&&E(E(N([])));O&&O!==r&&n.call(O,a)&&(w=O);var S=b.prototype=g.prototype=Object.create(w);function x(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,s){var c=f(t[o],t,i);if("throw"!==c.type){var u=c.arg,l=u.value;return l&&"object"==Br(l)&&n.call(l,"__await")?e.resolve(l.__await).then((function(t){r("next",t,a,s)}),(function(t){r("throw",t,a,s)})):e.resolve(l).then((function(t){u.value=t,a(u)}),(function(t){return r("throw",t,a,s)}))}s(c.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function L(e,r,n){var o=h;return function(i,a){if(o===d)throw Error("Generator is already running");if(o===y){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var s=n.delegate;if(s){var c=R(s,n);if(c){if(c===m)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=y,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var u=f(e,r,n);if("normal"===u.type){if(o=n.done?y:p,u.arg===m)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(o=y,n.method="throw",n.arg=u.arg)}}}function R(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,R(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),m;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,m;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,m):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,m)}function T(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 A(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(T,this),this.reset(!0)}function N(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o<e.length;)if(n.call(e,o))return r.value=e[o],r.done=!1,r;return r.value=t,r.done=!0,r};return i.next=i}}throw new TypeError(Br(e)+" is not iterable")}return v.prototype=b,o(S,"constructor",{value:b,configurable:!0}),o(b,"constructor",{value:v,configurable:!0}),v.displayName=u(b,c,"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,b):(t.__proto__=b,u(t,c,"GeneratorFunction")),t.prototype=Object.create(S),t},e.awrap=function(t){return{__await:t}},x(j.prototype),u(j.prototype,s,(function(){return this})),e.AsyncIterator=j,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new j(l(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},x(S),u(S,c,"Generator"),u(S,a,(function(){return this})),u(S,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=N,P.prototype={constructor:P,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(A),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=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 r=this;function o(n,o){return s.type="throw",s.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var c=n.call(a,"catchLoc"),u=n.call(a,"finallyLoc");if(c&&u){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!u)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.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 r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),A(r),m}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;A(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:N(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),m}},e}function qr(t,e,r,n,o,i,a){try{var s=t[i](a),c=s.value}catch(t){return void r(t)}s.done?e(c):Promise.resolve(c).then(n,o)}var Mr,Gr,zr,Hr,Vr={delete:(Hr=Fr(kr().mark((function t(e,r){return kr().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",Dr(Sr.delete(e,Nr(Nr({},Ur),{},{params:r}))));case 1:case"end":return t.stop()}}),t)}))),function(t,e){return Hr.apply(this,arguments)}),get:(zr=Fr(kr().mark((function t(e,r){return kr().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",Dr(Sr.get(e,Nr(Nr({},Ur),{},{params:r}))));case 1:case"end":return t.stop()}}),t)}))),function(t,e){return zr.apply(this,arguments)}),post:(Gr=Fr(kr().mark((function t(e,r){return kr().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",Dr(Sr.post(e,r,Ur)));case 1:case"end":return t.stop()}}),t)}))),function(t,e){return Gr.apply(this,arguments)}),put:(Mr=Fr(kr().mark((function t(e,r){return kr().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",Dr(Sr.put(e,r,Ur)));case 1:case"end":return t.stop()}}),t)}))),function(t,e){return Mr.apply(this,arguments)})},Wr=function(t){return t?{postId:t}:{}},Jr=function(){var t,e=(t=Ir().mark((function t(){var e,r,n,o,i;return Ir().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e=forceRefreshLocalizedData,r=e.apiEndpoint,n=e.postId,o=n?" and post ".concat(n):"",Rr("Requesting refresh data for site".concat(o,".")),i=Wr(n),t.abrupt("return",Vr.get(r,i));case 5:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){qr(i,n,o,a,s,"next",t)}function s(t){qr(i,n,o,a,s,"throw",t)}a(void 0)}))});return function(){return e.apply(this,arguments)}}();const Kr=i((function(t){return null==t}));var $r="force-refresh-version-site",Yr="force-refresh-version-page",Xr=function(){return document.querySelector("html")},Qr=function(t,e){return t.getAttribute(e)},Zr=function(t,e,r){return t.setAttribute(e,r)},tn=function(t){return O(Xr,j(Qr)(L,t),R(Kr,T(null),U))},en=function(t,e){return O(Xr,j(Zr)(L,t,e),R(Kr,T(null),U))()},rn=tn($r),nn=tn(Yr),on=function(t){return en($r,t)},an=function(t){return en(Yr,t)};function sn(t){return sn="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},sn(t)}function cn(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function un(){un=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function l(t,e,r,n){var i=e&&e.prototype instanceof g?e:g,a=Object.create(i.prototype),s=new P(n||[]);return o(a,"_invoke",{value:L(t,r,s)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var h="suspendedStart",p="suspendedYield",d="executing",y="completed",m={};function g(){}function v(){}function b(){}var w={};u(w,a,(function(){return this}));var E=Object.getPrototypeOf,O=E&&E(E(N([])));O&&O!==r&&n.call(O,a)&&(w=O);var S=b.prototype=g.prototype=Object.create(w);function x(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function r(o,i,a,s){var c=f(t[o],t,i);if("throw"!==c.type){var u=c.arg,l=u.value;return l&&"object"==sn(l)&&n.call(l,"__await")?e.resolve(l.__await).then((function(t){r("next",t,a,s)}),(function(t){r("throw",t,a,s)})):e.resolve(l).then((function(t){u.value=t,a(u)}),(function(t){return r("throw",t,a,s)}))}s(c.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function L(e,r,n){var o=h;return function(i,a){if(o===d)throw Error("Generator is already running");if(o===y){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var s=n.delegate;if(s){var c=R(s,n);if(c){if(c===m)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=y,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var u=f(e,r,n);if("normal"===u.type){if(o=n.done?y:p,u.arg===m)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(o=y,n.method="throw",n.arg=u.arg)}}}function R(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,R(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),m;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,m;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,m):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,m)}function T(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 A(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(T,this),this.reset(!0)}function N(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o<e.length;)if(n.call(e,o))return r.value=e[o],r.done=!1,r;return r.value=t,r.done=!0,r};return i.next=i}}throw new TypeError(sn(e)+" is not iterable")}return v.prototype=b,o(S,"constructor",{value:b,configurable:!0}),o(b,"constructor",{value:v,configurable:!0}),v.displayName=u(b,c,"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,b):(t.__proto__=b,u(t,c,"GeneratorFunction")),t.prototype=Object.create(S),t},e.awrap=function(t){return{__await:t}},x(j.prototype),u(j.prototype,s,(function(){return this})),e.AsyncIterator=j,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new j(l(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},x(S),u(S,c,"Generator"),u(S,a,(function(){return this})),u(S,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=N,P.prototype={constructor:P,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(A),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=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 r=this;function o(n,o){return s.type="throw",s.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var c=n.call(a,"catchLoc"),u=n.call(a,"finallyLoc");if(c&&u){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!u)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.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 r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),A(r),m}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;A(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:N(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),m}},e}function ln(t,e,r,n,o,i,a){try{var s=t[i](a),c=s.value}catch(t){return void r(t)}s.done?e(c):Promise.resolve(c).then(n,o)}var fn,hn,pn=function(t,e,r){return Rr("".concat(t,": stored version: ").concat(e,", current version: ").concat(r,".")),e!==r},dn=function(t){var e=t.currentVersionSite;return O(rn,j(pn)("Site",L,e))()},yn=function(t){var e=t.currentVersionPage;return R((function(t){return void 0!==t}),(function(t){return O(nn,j(pn)("Page",L,t))()}),T(!1))(e)},mn=function(t){return O(C((function(t){return Rr("No stored site version, storing version ".concat(t,"."))})),on)(t)},gn=function(t){return O(C((function(t){return Rr("No stored page version, storing version ".concat(t,"."))})),an)(t)},vn=function(t){return yt([dn,yn])(t)},bn=function(t){var e,r=t.currentVersionSite,n=t.currentVersionPage;e=r,R((function(){return!rn()}),mn,U)(e),void 0!==n&&function(t){R((function(){return!nn()}),gn,U)(t)}(n)},wn=function(t){var e=t.currentVersionSite,r=t.currentVersionPage;if(jr())return Rr("Conditions met for reload but not executed."),on(e),void an(r);location.reload()},En=function(){Tr("Error received! Stopping the refresh interval."),clearInterval(fn),clearInterval(hn)},On=function(){var t,e=(t=un().mark((function t(){var e,r,n;return un().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Jr().catch(En);case 2:if(e=t.sent,r=e.code,n=e.data,200===r){t.next=8;break}return En(),t.abrupt("return");case 8:o=n,O(C(bn),R(vn,wn,(function(){return Rr("Refresh not required.")})))(o);case 9:case"end":return t.stop()}var o}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){ln(i,n,o,a,s,"next",t)}function s(t){ln(i,n,o,a,s,"throw",t)}a(void 0)}))});return function(){return e.apply(this,arguments)}}(),Sn=forceRefreshLocalizedData,xn=Sn.isDebugActive,jn=Sn.refreshInterval,Ln=function(t){var e,r,n=(e=function(t){var e,r;switch(!0){case t>=3600:e="hour",r=3600;break;case t>=60:e="minute",r=60;break;default:e="second",r=1}var n=function(t,e){return Math.floor(100*t/e)/100}(t,r),o=1===n?"":"s";return[n,"".concat(e).concat(o)]}(t),r=2,function(t){if(Array.isArray(t))return t}(e)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,s=[],c=!0,u=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(s.push(n.value),s.length!==e);c=!0);}catch(t){u=!0,o=t}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return s}}(e,r)||function(t,e){if(t){if("string"==typeof t)return cn(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?cn(t,e):void 0}}(e,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),o=n[0],i=n[1];return"".concat(o," ").concat(i)}(jn);xr=!!xn,Rr("Debug mode is ".concat(xn?"active":"inactive",".")),Rr("Refreshing every ".concat(Ln,".")),xn&&function(t){var e=t-5,r=e;hn=setInterval((function(){Rr("Next check in ".concat(r," seconds."));var t=r-5;r=t<0?e:t}),5e3)}(jn),On(),fn=setInterval(On,1e3*jn)})()})();