analytica.click 0.0.151 → 0.0.152
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
@@ -3,9 +3,9 @@ var wi=Object.create;var $e=Object.defineProperty,Oi=Object.defineProperties,Ci=
|
|
3
3
|
`);for(let s=0,u=i.length;s<u;s+=1)t.push(` ${i[s]} `);t.shift(),r=!0}else if(window.opera&&o.message){let i=o.message.split(`
|
4
4
|
`);for(let s=0,u=i.length;s<u;s+=1)if(i[s].match(/^\s*[A-Za-z0-9\-_$]+\(/)){let c=i[s];i[s+1]&&(c+=` at ${i[s+1]}`,s+=1),t.push(c)}t.shift(),r=!0}}if(!r){let n=e.callee.caller;for(;n;){let o=n.toString(),i=o.substring(o.indexOf("function")+8,o.indexOf("("))||"anonymous";t.push(i),n=n.caller}}return t.join(`
|
5
5
|
`)}var Fs=(...e)=>Te("DEBUG",e);b.debug=Fs;var Ds=(...e)=>Te("INFO",e);b.info=Ds;var Ms=(...e)=>Te("WARN",e);b.warn=Ms;var Bs=(...e)=>{e.push(Lt()),Te("TRACE",e)};b.trace=Bs;var Ls=(...e)=>{e.push(Lt()),Te("ERROR",e)};b.error=Ls;var Ns=(...e)=>{e.push(Lt()),Te("FATAL",e)};b.fatal=Ns});var en=f(I=>{"use strict";Object.defineProperty(I,"__esModule",{value:!0});I.useCookie=I.getCookieWrapper=I.wipeCookies=I.setCookieWrapper=I.fromBase64=I.toBase64=void 0;var Is=require("react"),Us="Thu, 01 Jan 1970 00:00:00 UTC",Xr=4e3,Vs=(e,t)=>e.match(new RegExp(`.{1,${t}}`,"g")),$s=e=>Buffer.from(e).toString("base64");I.toBase64=$s;var Hs=e=>Buffer.from(decodeURIComponent(e),"base64").toString();I.fromBase64=Hs;function st(e,t,r=1){let n=new Date;n.setTime(n.getTime()+r*24*60*60*1e3);let o=`expires=${!t||r<0?Us:n.toUTCString()}`;document.cookie=`${e}=${t||""};${o};path=/`}function Nt({cname:e,cookieDocument:t}){let r=`${e}=`,n=t||typeof window!="undefined"&&document.cookie;if(!n||!(n==null?void 0:n.trim()))return;let o=n.split(";").map(i=>i.trim());for(let i of o)if(i.indexOf(r)===0)return i.substr(r.length,i.length)}function Yr(e,t,r=1){let n=0;for(;Nt({cname:e+n});)st(e+n,null,-1),n+=1;if(!t)return;let o=(0,I.toBase64)(JSON.stringify(t)),i=[o];o.length>Xr&&(i=Vs(o,Xr));for(let s in i){let u=i[s];st(e+s,u,r)}}I.setCookieWrapper=Yr;function Qr(e){let t=0;for(;;)if(Nt({cname:e+t}))st(e+t,void 0),t+=1;else return}I.wipeCookies=Qr;function Zr({cname:e,cookieDocument:t,defaultValue:r}){let n="",o=0;for(;;){let i=Nt({cname:e+o,cookieDocument:t});if(!i){if(o===0)return r?(st(e,r),r):void 0;try{return JSON.parse((0,I.fromBase64)(n))}catch{Qr(e);return}}n+=i,o+=1}}I.getCookieWrapper=Zr;function zs({key:e,defaultValue:t,cookieDocument:r}){let[n,o]=(0,Is.useState)(Zr({cname:e,defaultValue:t,cookieDocument:r}));return[n,i=>{Yr(e,i,2),o(i)}]}I.useCookie=zs});var at=f(Re=>{"use strict";var It=Re&&Re.__awaiter||function(e,t,r,n){function o(i){return i instanceof r?i:new r(function(s){s(i)})}return new(r||(r=Promise))(function(i,s){function u(a){try{d(n.next(a))}catch(l){s(l)}}function c(a){try{d(n.throw(a))}catch(l){s(l)}}function d(a){a.done?i(a.value):o(a.value).then(u,c)}d((n=n.apply(e,t||[])).next())})};Object.defineProperty(Re,"__esModule",{value:!0});Re.callOpenApi=void 0;var Js=en(),Ks=Mt(),Gs=({func:e,apiUrl:t,overrideAuth:r,refreshToken:n,logout:o,newDefaultApi:i})=>It(void 0,void 0,void 0,function*(){var s,u,c,d,a,l;let p,B,Z={basePath:t,baseOptions:{headers:{authorization:""}}},j=!!(0,Js.getCookieWrapper)({cname:"id_token"});if(r==null?void 0:r.id_token)Z.baseOptions.headers.authorization=`Bearer ${r==null?void 0:r.id_token}`;else if(j){let _=yield n();((s=_==null?void 0:_.jwt)===null||s===void 0?void 0:s.id_token)&&(Z.baseOptions.headers.authorization=`Bearer ${(u=_==null?void 0:_.jwt)===null||u===void 0?void 0:u.id_token}`)}let m=i(Z),g=0,E=3;for(;g<=E;){g+=1;try{let _=yield e(m);if(_.status<400){B=_.data;break}throw new Error(JSON.stringify(_.data)||_.statusText)}catch(_){let k=_,me=(c=k.response)===null||c===void 0?void 0:c.status,ve=((d=k.response)===null||d===void 0?void 0:d.data)||((a=k.response)===null||a===void 0?void 0:a.statusText)||((l=k.response)===null||l===void 0?void 0:l.status)||"ERROR";if(me===403||me===401)return o(),{error:k,data:void 0,datetime:new Date().getTime(),loading:!1,reFetch:()=>It(void 0,void 0,void 0,function*(){}),url:e.toString()};if(me!==500||g===E){p=Object.assign(Object.assign({},k),{message:ve});break}}yield(0,Ks.sleep)(2e3)}return{data:B,error:p,loading:!1,reFetch:()=>It(void 0,void 0,void 0,function*(){return e(m)}),url:e.toString(),datetime:new Date().getTime()}});Re.callOpenApi=Gs});var Ut=f((il,tn)=>{"use strict";tn.exports=function(t,r){return function(){for(var o=new Array(arguments.length),i=0;i<o.length;i++)o[i]=arguments[i];return t.apply(r,o)}}});var V=f((sl,on)=>{"use strict";var Ws=Ut(),we=Object.prototype.toString;function Vt(e){return we.call(e)==="[object Array]"}function $t(e){return typeof e=="undefined"}function Xs(e){return e!==null&&!$t(e)&&e.constructor!==null&&!$t(e.constructor)&&typeof e.constructor.isBuffer=="function"&&e.constructor.isBuffer(e)}function Ys(e){return we.call(e)==="[object ArrayBuffer]"}function Qs(e){return typeof FormData!="undefined"&&e instanceof FormData}function Zs(e){var t;return typeof ArrayBuffer!="undefined"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&e.buffer instanceof ArrayBuffer,t}function ea(e){return typeof e=="string"}function ta(e){return typeof e=="number"}function rn(e){return e!==null&&typeof e=="object"}function ut(e){if(we.call(e)!=="[object Object]")return!1;var t=Object.getPrototypeOf(e);return t===null||t===Object.prototype}function ra(e){return we.call(e)==="[object Date]"}function na(e){return we.call(e)==="[object File]"}function oa(e){return we.call(e)==="[object Blob]"}function nn(e){return we.call(e)==="[object Function]"}function ia(e){return rn(e)&&nn(e.pipe)}function sa(e){return typeof URLSearchParams!="undefined"&&e instanceof URLSearchParams}function aa(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function ua(){return typeof navigator!="undefined"&&(navigator.product==="ReactNative"||navigator.product==="NativeScript"||navigator.product==="NS")?!1:typeof window!="undefined"&&typeof document!="undefined"}function Ht(e,t){if(!(e===null||typeof e=="undefined"))if(typeof e!="object"&&(e=[e]),Vt(e))for(var r=0,n=e.length;r<n;r++)t.call(null,e[r],r,e);else for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.call(null,e[o],o,e)}function zt(){var e={};function t(o,i){ut(e[i])&&ut(o)?e[i]=zt(e[i],o):ut(o)?e[i]=zt({},o):Vt(o)?e[i]=o.slice():e[i]=o}for(var r=0,n=arguments.length;r<n;r++)Ht(arguments[r],t);return e}function ca(e,t,r){return Ht(t,function(o,i){r&&typeof o=="function"?e[i]=Ws(o,r):e[i]=o}),e}function la(e){return e.charCodeAt(0)===65279&&(e=e.slice(1)),e}on.exports={isArray:Vt,isArrayBuffer:Ys,isBuffer:Xs,isFormData:Qs,isArrayBufferView:Zs,isString:ea,isNumber:ta,isObject:rn,isPlainObject:ut,isUndefined:$t,isDate:ra,isFile:na,isBlob:oa,isFunction:nn,isStream:ia,isURLSearchParams:sa,isStandardBrowserEnv:ua,forEach:Ht,merge:zt,extend:ca,trim:aa,stripBOM:la}});var ct=f((al,an)=>{"use strict";var xe=V();function sn(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}an.exports=function(t,r,n){if(!r)return t;var o;if(n)o=n(r);else if(xe.isURLSearchParams(r))o=r.toString();else{var i=[];xe.forEach(r,function(c,d){c===null||typeof c=="undefined"||(xe.isArray(c)?d=d+"[]":c=[c],xe.forEach(c,function(l){xe.isDate(l)?l=l.toISOString():xe.isObject(l)&&(l=JSON.stringify(l)),i.push(sn(d)+"="+sn(l))}))}),o=i.join("&")}if(o){var s=t.indexOf("#");s!==-1&&(t=t.slice(0,s)),t+=(t.indexOf("?")===-1?"?":"&")+o}return t}});var cn=f((ul,un)=>{"use strict";var da=V();function lt(){this.handlers=[]}lt.prototype.use=function(t,r,n){return this.handlers.push({fulfilled:t,rejected:r,synchronous:n?n.synchronous:!1,runWhen:n?n.runWhen:null}),this.handlers.length-1};lt.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)};lt.prototype.forEach=function(t){da.forEach(this.handlers,function(n){n!==null&&t(n)})};un.exports=lt});var dn=f((cl,ln)=>{"use strict";var fa=V();ln.exports=function(t,r){fa.forEach(t,function(o,i){i!==r&&i.toUpperCase()===r.toUpperCase()&&(t[r]=o,delete t[i])})}});var dt=f((ll,fn)=>{"use strict";fn.exports=function(t,r,n,o,i){return t.config=r,n&&(t.code=n),t.request=o,t.response=i,t.isAxiosError=!0,t.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:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}},t}});var ft=f((dl,pn)=>{"use strict";var pa=dt();pn.exports=function(t,r,n,o,i){var s=new Error(t);return pa(s,r,n,o,i)}});var Jt=f((fl,hn)=>{"use strict";var ha=ft();hn.exports=function(t,r,n){var o=n.config.validateStatus;!n.status||!o||o(n.status)?t(n):r(ha("Request failed with status code "+n.status,n.config,null,n.request,n))}});var vn=f((pl,mn)=>{"use strict";var pt=V();mn.exports=pt.isStandardBrowserEnv()?function(){return{write:function(r,n,o,i,s,u){var c=[];c.push(r+"="+encodeURIComponent(n)),pt.isNumber(o)&&c.push("expires="+new Date(o).toGMTString()),pt.isString(i)&&c.push("path="+i),pt.isString(s)&&c.push("domain="+s),u===!0&&c.push("secure"),document.cookie=c.join("; ")},read:function(r){var n=document.cookie.match(new RegExp("(^|;\\s*)("+r+")=([^;]*)"));return n?decodeURIComponent(n[3]):null},remove:function(r){this.write(r,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}()});var yn=f((hl,gn)=>{"use strict";gn.exports=function(t){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(t)}});var wn=f((ml,bn)=>{"use strict";bn.exports=function(t,r){return r?t.replace(/\/+$/,"")+"/"+r.replace(/^\/+/,""):t}});var Kt=f((vl,On)=>{"use strict";var ma=yn(),va=wn();On.exports=function(t,r){return t&&!ma(r)?va(t,r):r}});var _n=f((gl,Cn)=>{"use strict";var Gt=V(),ga=["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"];Cn.exports=function(t){var r={},n,o,i;return t&&Gt.forEach(t.split(`
|
6
|
-
`),function(u){if(i=u.indexOf(":"),n=Gt.trim(u.substr(0,i)).toLowerCase(),o=Gt.trim(u.substr(i+1)),n){if(r[n]&&ga.indexOf(n)>=0)return;n==="set-cookie"?r[n]=(r[n]?r[n]:[]).concat([o]):r[n]=r[n]?r[n]+", "+o:o}}),r}});var qn=f((yl,An)=>{"use strict";var En=V();An.exports=En.isStandardBrowserEnv()?function(){var t=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a"),n;function o(i){var s=i;return t&&(r.setAttribute("href",s),s=r.href),r.setAttribute("href",s),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:r.pathname.charAt(0)==="/"?r.pathname:"/"+r.pathname}}return n=o(window.location.href),function(s){var u=En.isString(s)?o(s):s;return u.protocol===n.protocol&&u.host===n.host}}():function(){return function(){return!0}}()});var Se=f((bl,Tn)=>{"use strict";function Wt(e){this.message=e}Wt.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")};Wt.prototype.__CANCEL__=!0;Tn.exports=Wt});var xn=f((wl,Rn)=>{"use strict";var ht=V(),ya=Jt(),ba=vn(),wa=ct(),Oa=Kt(),Ca=_n(),_a=qn(),Xt=ft(),Ea=Pe(),Aa=Se();Rn.exports=function(t){return new Promise(function(n,o){var i=t.data,s=t.headers,u=t.responseType,c;function d(){t.cancelToken&&t.cancelToken.unsubscribe(c),t.signal&&t.signal.removeEventListener("abort",c)}ht.isFormData(i)&&delete s["Content-Type"];var a=new XMLHttpRequest;if(t.auth){var l=t.auth.username||"",p=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";s.Authorization="Basic "+btoa(l+":"+p)}var B=Oa(t.baseURL,t.url);a.open(t.method.toUpperCase(),wa(B,t.params,t.paramsSerializer),!0),a.timeout=t.timeout;function Z(){if(!!a){var m="getAllResponseHeaders"in a?Ca(a.getAllResponseHeaders()):null,g=!u||u==="text"||u==="json"?a.responseText:a.response,E={data:g,status:a.status,statusText:a.statusText,headers:m,config:t,request:a};ya(function(k){n(k),d()},function(k){o(k),d()},E),a=null}}if("onloadend"in a?a.onloadend=Z:a.onreadystatechange=function(){!a||a.readyState!==4||a.status===0&&!(a.responseURL&&a.responseURL.indexOf("file:")===0)||setTimeout(Z)},a.onabort=function(){!a||(o(Xt("Request aborted",t,"ECONNABORTED",a)),a=null)},a.onerror=function(){o(Xt("Network Error",t,null,a)),a=null},a.ontimeout=function(){var g=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded",E=t.transitional||Ea.transitional;t.timeoutErrorMessage&&(g=t.timeoutErrorMessage),o(Xt(g,t,E.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",a)),a=null},ht.isStandardBrowserEnv()){var j=(t.withCredentials||_a(B))&&t.xsrfCookieName?ba.read(t.xsrfCookieName):void 0;j&&(s[t.xsrfHeaderName]=j)}"setRequestHeader"in a&&ht.forEach(s,function(g,E){typeof i=="undefined"&&E.toLowerCase()==="content-type"?delete s[E]:a.setRequestHeader(E,g)}),ht.isUndefined(t.withCredentials)||(a.withCredentials=!!t.withCredentials),u&&u!=="json"&&(a.responseType=t.responseType),typeof t.onDownloadProgress=="function"&&a.addEventListener("progress",t.onDownloadProgress),typeof t.onUploadProgress=="function"&&a.upload&&a.upload.addEventListener("progress",t.onUploadProgress),(t.cancelToken||t.signal)&&(c=function(m){!a||(o(!m||m&&m.type?new Aa("canceled"):m),a.abort(),a=null)},t.cancelToken&&t.cancelToken.subscribe(c),t.signal&&(t.signal.aborted?c():t.signal.addEventListener("abort",c))),i||(i=null),a.send(i)})}});var Pn=f((Ol,Sn)=>{var je=1e3,ke=je*60,Fe=ke*60,Oe=Fe*24,qa=Oe*7,Ta=Oe*365.25;Sn.exports=function(e,t){t=t||{};var r=typeof e;if(r==="string"&&e.length>0)return Ra(e);if(r==="number"&&isFinite(e))return t.long?Sa(e):xa(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))};function Ra(e){if(e=String(e),!(e.length>100)){var t=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(!!t){var r=parseFloat(t[1]),n=(t[2]||"ms").toLowerCase();switch(n){case"years":case"year":case"yrs":case"yr":case"y":return r*Ta;case"weeks":case"week":case"w":return r*qa;case"days":case"day":case"d":return r*Oe;case"hours":case"hour":case"hrs":case"hr":case"h":return r*Fe;case"minutes":case"minute":case"mins":case"min":case"m":return r*ke;case"seconds":case"second":case"secs":case"sec":case"s":return r*je;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return r;default:return}}}}function xa(e){var t=Math.abs(e);return t>=Oe?Math.round(e/Oe)+"d":t>=Fe?Math.round(e/Fe)+"h":t>=ke?Math.round(e/ke)+"m":t>=je?Math.round(e/je)+"s":e+"ms"}function Sa(e){var t=Math.abs(e);return t>=Oe?mt(e,t,Oe,"day"):t>=Fe?mt(e,t,Fe,"hour"):t>=ke?mt(e,t,ke,"minute"):t>=je?mt(e,t,je,"second"):e+" ms"}function mt(e,t,r,n){var o=t>=r*1.5;return Math.round(e/r)+" "+n+(o?"s":"")}});var Yt=f((Cl,jn)=>{function Pa(e){r.debug=r,r.default=r,r.coerce=c,r.disable=i,r.enable=o,r.enabled=s,r.humanize=Pn(),r.destroy=d,Object.keys(e).forEach(a=>{r[a]=e[a]}),r.names=[],r.skips=[],r.formatters={};function t(a){let l=0;for(let p=0;p<a.length;p++)l=(l<<5)-l+a.charCodeAt(p),l|=0;return r.colors[Math.abs(l)%r.colors.length]}r.selectColor=t;function r(a){let l,p=null,B,Z;function j(...m){if(!j.enabled)return;let g=j,E=Number(new Date),_=E-(l||E);g.diff=_,g.prev=l,g.curr=E,l=E,m[0]=r.coerce(m[0]),typeof m[0]!="string"&&m.unshift("%O");let k=0;m[0]=m[0].replace(/%([a-zA-Z%])/g,(ve,X)=>{if(ve==="%%")return"%";k++;let ee=r.formatters[X];if(typeof ee=="function"){let Qe=m[k];ve=ee.call(g,Qe),m.splice(k,1),k--}return ve}),r.formatArgs.call(g,m),(g.log||r.log).apply(g,m)}return j.namespace=a,j.useColors=r.useColors(),j.color=r.selectColor(a),j.extend=n,j.destroy=r.destroy,Object.defineProperty(j,"enabled",{enumerable:!0,configurable:!1,get:()=>p!==null?p:(B!==r.namespaces&&(B=r.namespaces,Z=r.enabled(a)),Z),set:m=>{p=m}}),typeof r.init=="function"&&r.init(j),j}function n(a,l){let p=r(this.namespace+(typeof l=="undefined"?":":l)+a);return p.log=this.log,p}function o(a){r.save(a),r.namespaces=a,r.names=[],r.skips=[];let l,p=(typeof a=="string"?a:"").split(/[\s,]+/),B=p.length;for(l=0;l<B;l++)!p[l]||(a=p[l].replace(/\*/g,".*?"),a[0]==="-"?r.skips.push(new RegExp("^"+a.substr(1)+"$")):r.names.push(new RegExp("^"+a+"$")))}function i(){let a=[...r.names.map(u),...r.skips.map(u).map(l=>"-"+l)].join(",");return r.enable(""),a}function s(a){if(a[a.length-1]==="*")return!0;let l,p;for(l=0,p=r.skips.length;l<p;l++)if(r.skips[l].test(a))return!1;for(l=0,p=r.names.length;l<p;l++)if(r.names[l].test(a))return!0;return!1}function u(a){return a.toString().substring(2,a.toString().length-2).replace(/\.\*\?$/,"*")}function c(a){return a instanceof Error?a.stack||a.message:a}function d(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}return r.enable(r.load()),r}jn.exports=Pa});var kn=f((J,vt)=>{J.formatArgs=ka;J.save=Fa;J.load=Da;J.useColors=ja;J.storage=Ma();J.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})();J.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function ja(){return typeof window!="undefined"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs)?!0:typeof navigator!="undefined"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)?!1:typeof document!="undefined"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window!="undefined"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator!="undefined"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||typeof navigator!="undefined"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function ka(e){if(e[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+e[0]+(this.useColors?"%c ":" ")+"+"+vt.exports.humanize(this.diff),!this.useColors)return;let t="color: "+this.color;e.splice(1,0,t,"color: inherit");let r=0,n=0;e[0].replace(/%[a-zA-Z%]/g,o=>{o!=="%%"&&(r++,o==="%c"&&(n=r))}),e.splice(n,0,t)}J.log=console.debug||console.log||(()=>{});function Fa(e){try{e?J.storage.setItem("debug",e):J.storage.removeItem("debug")}catch{}}function Da(){let e;try{e=J.storage.getItem("debug")}catch{}return!e&&typeof process!="undefined"&&"env"in process&&(e=process.env.DEBUG),e}function Ma(){try{return localStorage}catch{}}vt.exports=Yt()(J);var{formatters:Ba}=vt.exports;Ba.j=function(e){try{return JSON.stringify(e)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}}});var Dn=f((_l,Fn)=>{"use strict";Fn.exports=(e,t=process.argv)=>{let r=e.startsWith("-")?"":e.length===1?"-":"--",n=t.indexOf(r+e),o=t.indexOf("--");return n!==-1&&(o===-1||n<o)}});var Ln=f((El,Bn)=>{"use strict";var La=require("os"),Mn=require("tty"),Y=Dn(),{env:R}=process,ce;Y("no-color")||Y("no-colors")||Y("color=false")||Y("color=never")?ce=0:(Y("color")||Y("colors")||Y("color=true")||Y("color=always"))&&(ce=1);"FORCE_COLOR"in R&&(R.FORCE_COLOR==="true"?ce=1:R.FORCE_COLOR==="false"?ce=0:ce=R.FORCE_COLOR.length===0?1:Math.min(parseInt(R.FORCE_COLOR,10),3));function Qt(e){return e===0?!1:{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}function Zt(e,t){if(ce===0)return 0;if(Y("color=16m")||Y("color=full")||Y("color=truecolor"))return 3;if(Y("color=256"))return 2;if(e&&!t&&ce===void 0)return 0;let r=ce||0;if(R.TERM==="dumb")return r;if(process.platform==="win32"){let n=La.release().split(".");return Number(n[0])>=10&&Number(n[2])>=10586?Number(n[2])>=14931?3:2:1}if("CI"in R)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some(n=>n in R)||R.CI_NAME==="codeship"?1:r;if("TEAMCITY_VERSION"in R)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(R.TEAMCITY_VERSION)?1:0;if(R.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in R){let n=parseInt((R.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(R.TERM_PROGRAM){case"iTerm.app":return n>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(R.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(R.TERM)||"COLORTERM"in R?1:r}function Na(e){let t=Zt(e,e&&e.isTTY);return Qt(t)}Bn.exports={supportsColor:Na,stdout:Qt(Zt(!0,Mn.isatty(1))),stderr:Qt(Zt(!0,Mn.isatty(2)))}});var In=f((D,yt)=>{var Ia=require("tty"),gt=require("util");D.init=Ka;D.log=Ha;D.formatArgs=Va;D.save=za;D.load=Ja;D.useColors=Ua;D.destroy=gt.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");D.colors=[6,2,3,4,5,1];try{let e=Ln();e&&(e.stderr||e).level>=2&&(D.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221])}catch{}D.inspectOpts=Object.keys(process.env).filter(e=>/^debug_/i.test(e)).reduce((e,t)=>{let r=t.substring(6).toLowerCase().replace(/_([a-z])/g,(o,i)=>i.toUpperCase()),n=process.env[t];return/^(yes|on|true|enabled)$/i.test(n)?n=!0:/^(no|off|false|disabled)$/i.test(n)?n=!1:n==="null"?n=null:n=Number(n),e[r]=n,e},{});function Ua(){return"colors"in D.inspectOpts?Boolean(D.inspectOpts.colors):Ia.isatty(process.stderr.fd)}function Va(e){let{namespace:t,useColors:r}=this;if(r){let n=this.color,o="[3"+(n<8?n:"8;5;"+n),i=` ${o};1m${t} [0m`;e[0]=i+e[0].split(`
|
6
|
+
`),function(u){if(i=u.indexOf(":"),n=Gt.trim(u.substr(0,i)).toLowerCase(),o=Gt.trim(u.substr(i+1)),n){if(r[n]&&ga.indexOf(n)>=0)return;n==="set-cookie"?r[n]=(r[n]?r[n]:[]).concat([o]):r[n]=r[n]?r[n]+", "+o:o}}),r}});var qn=f((yl,An)=>{"use strict";var En=V();An.exports=En.isStandardBrowserEnv()?function(){var t=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a"),n;function o(i){var s=i;return t&&(r.setAttribute("href",s),s=r.href),r.setAttribute("href",s),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:r.pathname.charAt(0)==="/"?r.pathname:"/"+r.pathname}}return n=o(window.location.href),function(s){var u=En.isString(s)?o(s):s;return u.protocol===n.protocol&&u.host===n.host}}():function(){return function(){return!0}}()});var Se=f((bl,Tn)=>{"use strict";function Wt(e){this.message=e}Wt.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")};Wt.prototype.__CANCEL__=!0;Tn.exports=Wt});var xn=f((wl,Rn)=>{"use strict";var ht=V(),ya=Jt(),ba=vn(),wa=ct(),Oa=Kt(),Ca=_n(),_a=qn(),Xt=ft(),Ea=Pe(),Aa=Se();Rn.exports=function(t){return new Promise(function(n,o){var i=t.data,s=t.headers,u=t.responseType,c;function d(){t.cancelToken&&t.cancelToken.unsubscribe(c),t.signal&&t.signal.removeEventListener("abort",c)}ht.isFormData(i)&&delete s["Content-Type"];var a=new XMLHttpRequest;if(t.auth){var l=t.auth.username||"",p=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";s.Authorization="Basic "+btoa(l+":"+p)}var B=Oa(t.baseURL,t.url);a.open(t.method.toUpperCase(),wa(B,t.params,t.paramsSerializer),!0),a.timeout=t.timeout;function Z(){if(!!a){var m="getAllResponseHeaders"in a?Ca(a.getAllResponseHeaders()):null,g=!u||u==="text"||u==="json"?a.responseText:a.response,E={data:g,status:a.status,statusText:a.statusText,headers:m,config:t,request:a};ya(function(k){n(k),d()},function(k){o(k),d()},E),a=null}}if("onloadend"in a?a.onloadend=Z:a.onreadystatechange=function(){!a||a.readyState!==4||a.status===0&&!(a.responseURL&&a.responseURL.indexOf("file:")===0)||setTimeout(Z)},a.onabort=function(){!a||(o(Xt("Request aborted",t,"ECONNABORTED",a)),a=null)},a.onerror=function(){o(Xt("Network Error",t,null,a)),a=null},a.ontimeout=function(){var g=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded",E=t.transitional||Ea.transitional;t.timeoutErrorMessage&&(g=t.timeoutErrorMessage),o(Xt(g,t,E.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",a)),a=null},ht.isStandardBrowserEnv()){var j=(t.withCredentials||_a(B))&&t.xsrfCookieName?ba.read(t.xsrfCookieName):void 0;j&&(s[t.xsrfHeaderName]=j)}"setRequestHeader"in a&&ht.forEach(s,function(g,E){typeof i=="undefined"&&E.toLowerCase()==="content-type"?delete s[E]:a.setRequestHeader(E,g)}),ht.isUndefined(t.withCredentials)||(a.withCredentials=!!t.withCredentials),u&&u!=="json"&&(a.responseType=t.responseType),typeof t.onDownloadProgress=="function"&&a.addEventListener("progress",t.onDownloadProgress),typeof t.onUploadProgress=="function"&&a.upload&&a.upload.addEventListener("progress",t.onUploadProgress),(t.cancelToken||t.signal)&&(c=function(m){!a||(o(!m||m&&m.type?new Aa("canceled"):m),a.abort(),a=null)},t.cancelToken&&t.cancelToken.subscribe(c),t.signal&&(t.signal.aborted?c():t.signal.addEventListener("abort",c))),i||(i=null),a.send(i)})}});var Pn=f((Ol,Sn)=>{var je=1e3,ke=je*60,Fe=ke*60,Oe=Fe*24,qa=Oe*7,Ta=Oe*365.25;Sn.exports=function(e,t){t=t||{};var r=typeof e;if(r==="string"&&e.length>0)return Ra(e);if(r==="number"&&isFinite(e))return t.long?Sa(e):xa(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))};function Ra(e){if(e=String(e),!(e.length>100)){var t=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(!!t){var r=parseFloat(t[1]),n=(t[2]||"ms").toLowerCase();switch(n){case"years":case"year":case"yrs":case"yr":case"y":return r*Ta;case"weeks":case"week":case"w":return r*qa;case"days":case"day":case"d":return r*Oe;case"hours":case"hour":case"hrs":case"hr":case"h":return r*Fe;case"minutes":case"minute":case"mins":case"min":case"m":return r*ke;case"seconds":case"second":case"secs":case"sec":case"s":return r*je;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return r;default:return}}}}function xa(e){var t=Math.abs(e);return t>=Oe?Math.round(e/Oe)+"d":t>=Fe?Math.round(e/Fe)+"h":t>=ke?Math.round(e/ke)+"m":t>=je?Math.round(e/je)+"s":e+"ms"}function Sa(e){var t=Math.abs(e);return t>=Oe?mt(e,t,Oe,"day"):t>=Fe?mt(e,t,Fe,"hour"):t>=ke?mt(e,t,ke,"minute"):t>=je?mt(e,t,je,"second"):e+" ms"}function mt(e,t,r,n){var o=t>=r*1.5;return Math.round(e/r)+" "+n+(o?"s":"")}});var Yt=f((Cl,jn)=>{function Pa(e){r.debug=r,r.default=r,r.coerce=c,r.disable=i,r.enable=o,r.enabled=s,r.humanize=Pn(),r.destroy=d,Object.keys(e).forEach(a=>{r[a]=e[a]}),r.names=[],r.skips=[],r.formatters={};function t(a){let l=0;for(let p=0;p<a.length;p++)l=(l<<5)-l+a.charCodeAt(p),l|=0;return r.colors[Math.abs(l)%r.colors.length]}r.selectColor=t;function r(a){let l,p=null,B,Z;function j(...m){if(!j.enabled)return;let g=j,E=Number(new Date),_=E-(l||E);g.diff=_,g.prev=l,g.curr=E,l=E,m[0]=r.coerce(m[0]),typeof m[0]!="string"&&m.unshift("%O");let k=0;m[0]=m[0].replace(/%([a-zA-Z%])/g,(ve,X)=>{if(ve==="%%")return"%";k++;let ee=r.formatters[X];if(typeof ee=="function"){let Qe=m[k];ve=ee.call(g,Qe),m.splice(k,1),k--}return ve}),r.formatArgs.call(g,m),(g.log||r.log).apply(g,m)}return j.namespace=a,j.useColors=r.useColors(),j.color=r.selectColor(a),j.extend=n,j.destroy=r.destroy,Object.defineProperty(j,"enabled",{enumerable:!0,configurable:!1,get:()=>p!==null?p:(B!==r.namespaces&&(B=r.namespaces,Z=r.enabled(a)),Z),set:m=>{p=m}}),typeof r.init=="function"&&r.init(j),j}function n(a,l){let p=r(this.namespace+(typeof l=="undefined"?":":l)+a);return p.log=this.log,p}function o(a){r.save(a),r.namespaces=a,r.names=[],r.skips=[];let l,p=(typeof a=="string"?a:"").split(/[\s,]+/),B=p.length;for(l=0;l<B;l++)!p[l]||(a=p[l].replace(/\*/g,".*?"),a[0]==="-"?r.skips.push(new RegExp("^"+a.substr(1)+"$")):r.names.push(new RegExp("^"+a+"$")))}function i(){let a=[...r.names.map(u),...r.skips.map(u).map(l=>"-"+l)].join(",");return r.enable(""),a}function s(a){if(a[a.length-1]==="*")return!0;let l,p;for(l=0,p=r.skips.length;l<p;l++)if(r.skips[l].test(a))return!1;for(l=0,p=r.names.length;l<p;l++)if(r.names[l].test(a))return!0;return!1}function u(a){return a.toString().substring(2,a.toString().length-2).replace(/\.\*\?$/,"*")}function c(a){return a instanceof Error?a.stack||a.message:a}function d(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}return r.enable(r.load()),r}jn.exports=Pa});var kn=f((J,vt)=>{J.formatArgs=ka;J.save=Fa;J.load=Da;J.useColors=ja;J.storage=Ma();J.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})();J.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function ja(){return typeof window!="undefined"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs)?!0:typeof navigator!="undefined"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)?!1:typeof document!="undefined"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window!="undefined"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator!="undefined"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||typeof navigator!="undefined"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function ka(e){if(e[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+e[0]+(this.useColors?"%c ":" ")+"+"+vt.exports.humanize(this.diff),!this.useColors)return;let t="color: "+this.color;e.splice(1,0,t,"color: inherit");let r=0,n=0;e[0].replace(/%[a-zA-Z%]/g,o=>{o!=="%%"&&(r++,o==="%c"&&(n=r))}),e.splice(n,0,t)}J.log=console.debug||console.log||(()=>{});function Fa(e){try{e?J.storage.setItem("debug",e):J.storage.removeItem("debug")}catch{}}function Da(){let e;try{e=J.storage.getItem("debug")}catch{}return!e&&typeof process!="undefined"&&"env"in process&&(e=process.env.DEBUG),e}function Ma(){try{return localStorage}catch{}}vt.exports=Yt()(J);var{formatters:Ba}=vt.exports;Ba.j=function(e){try{return JSON.stringify(e)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}}});var Dn=f((_l,Fn)=>{"use strict";Fn.exports=(e,t=process.argv)=>{let r=e.startsWith("-")?"":e.length===1?"-":"--",n=t.indexOf(r+e),o=t.indexOf("--");return n!==-1&&(o===-1||n<o)}});var Ln=f((El,Bn)=>{"use strict";var La=require("os"),Mn=require("tty"),Y=Dn(),{env:R}=process,ce;Y("no-color")||Y("no-colors")||Y("color=false")||Y("color=never")?ce=0:(Y("color")||Y("colors")||Y("color=true")||Y("color=always"))&&(ce=1);"FORCE_COLOR"in R&&(R.FORCE_COLOR==="true"?ce=1:R.FORCE_COLOR==="false"?ce=0:ce=R.FORCE_COLOR.length===0?1:Math.min(parseInt(R.FORCE_COLOR,10),3));function Qt(e){return e===0?!1:{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}function Zt(e,t){if(ce===0)return 0;if(Y("color=16m")||Y("color=full")||Y("color=truecolor"))return 3;if(Y("color=256"))return 2;if(e&&!t&&ce===void 0)return 0;let r=ce||0;if(R.TERM==="dumb")return r;if(process.platform==="win32"){let n=La.release().split(".");return Number(n[0])>=10&&Number(n[2])>=10586?Number(n[2])>=14931?3:2:1}if("CI"in R)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some(n=>n in R)||R.CI_NAME==="codeship"?1:r;if("TEAMCITY_VERSION"in R)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(R.TEAMCITY_VERSION)?1:0;if(R.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in R){let n=parseInt((R.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(R.TERM_PROGRAM){case"iTerm.app":return n>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(R.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(R.TERM)||"COLORTERM"in R?1:r}function Na(e){let t=Zt(e,e&&e.isTTY);return Qt(t)}Bn.exports={supportsColor:Na,stdout:Qt(Zt(!0,Mn.isatty(1))),stderr:Qt(Zt(!0,Mn.isatty(2)))}});var In=f((D,yt)=>{var Ia=require("tty"),gt=require("util");D.init=Ka;D.log=Ha;D.formatArgs=Va;D.save=za;D.load=Ja;D.useColors=Ua;D.destroy=gt.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");D.colors=[6,2,3,4,5,1];try{let e=Ln();e&&(e.stderr||e).level>=2&&(D.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221])}catch{}D.inspectOpts=Object.keys(process.env).filter(e=>/^debug_/i.test(e)).reduce((e,t)=>{let r=t.substring(6).toLowerCase().replace(/_([a-z])/g,(o,i)=>i.toUpperCase()),n=process.env[t];return/^(yes|on|true|enabled)$/i.test(n)?n=!0:/^(no|off|false|disabled)$/i.test(n)?n=!1:n==="null"?n=null:n=Number(n),e[r]=n,e},{});function Ua(){return"colors"in D.inspectOpts?Boolean(D.inspectOpts.colors):Ia.isatty(process.stderr.fd)}function Va(e){let{namespace:t,useColors:r}=this;if(r){let n=this.color,o="\x1B[3"+(n<8?n:"8;5;"+n),i=` ${o};1m${t} \x1B[0m`;e[0]=i+e[0].split(`
|
7
7
|
`).join(`
|
8
|
-
`+i),e.push(o+"m+"+yt.exports.humanize(this.diff)+"
|
8
|
+
`+i),e.push(o+"m+"+yt.exports.humanize(this.diff)+"\x1B[0m")}else e[0]=$a()+t+" "+e[0]}function $a(){return D.inspectOpts.hideDate?"":new Date().toISOString()+" "}function Ha(...e){return process.stderr.write(gt.format(...e)+`
|
9
9
|
`)}function za(e){e?process.env.DEBUG=e:delete process.env.DEBUG}function Ja(){return process.env.DEBUG}function Ka(e){e.inspectOpts={};let t=Object.keys(D.inspectOpts);for(let r=0;r<t.length;r++)e.inspectOpts[t[r]]=D.inspectOpts[t[r]]}yt.exports=Yt()(D);var{formatters:Nn}=yt.exports;Nn.o=function(e){return this.inspectOpts.colors=this.useColors,gt.inspect(e,this.inspectOpts).split(`
|
10
10
|
`).map(t=>t.trim()).join(" ")};Nn.O=function(e){return this.inspectOpts.colors=this.useColors,gt.inspect(e,this.inspectOpts)}});var Un=f((Al,er)=>{typeof process=="undefined"||process.type==="renderer"||process.browser===!0||process.__nwjs?er.exports=kn():er.exports=In()});var $n=f((ql,Vn)=>{var He;Vn.exports=function(){if(!He){try{He=Un()("follow-redirects")}catch{}typeof He!="function"&&(He=function(){})}He.apply(null,arguments)}});var ir=f((Tl,or)=>{var Ce=require("url"),tr=Ce.URL,Ga=require("http"),Wa=require("https"),Hn=require("stream").Writable,Xa=require("assert"),zn=$n(),_e=["abort","aborted","connect","error","socket","timeout"],rr=Object.create(null);_e.forEach(function(e){rr[e]=function(t,r,n){this._redirectable.emit(e,t,r,n)}});var Jn=bt("ERR_FR_REDIRECTION_FAILURE","Redirected request failed"),Ya=bt("ERR_FR_TOO_MANY_REDIRECTS","Maximum number of redirects exceeded"),Qa=bt("ERR_FR_MAX_BODY_LENGTH_EXCEEDED","Request body larger than maxBodyLength limit"),Za=bt("ERR_STREAM_WRITE_AFTER_END","write after end");function K(e,t){Hn.call(this),this._sanitizeOptions(e),this._options=e,this._ended=!1,this._ending=!1,this._redirectCount=0,this._redirects=[],this._requestBodyLength=0,this._requestBodyBuffers=[],t&&this.on("response",t);var r=this;this._onNativeResponse=function(n){r._processResponse(n)},this._performRequest()}K.prototype=Object.create(Hn.prototype);K.prototype.abort=function(){Wn(this._currentRequest),this.emit("abort")};K.prototype.write=function(e,t,r){if(this._ending)throw new Za;if(!(typeof e=="string"||typeof e=="object"&&"length"in e))throw new TypeError("data should be a string, Buffer or Uint8Array");if(typeof t=="function"&&(r=t,t=null),e.length===0){r&&r();return}this._requestBodyLength+e.length<=this._options.maxBodyLength?(this._requestBodyLength+=e.length,this._requestBodyBuffers.push({data:e,encoding:t}),this._currentRequest.write(e,t,r)):(this.emit("error",new Qa),this.abort())};K.prototype.end=function(e,t,r){if(typeof e=="function"?(r=e,e=t=null):typeof t=="function"&&(r=t,t=null),!e)this._ended=this._ending=!0,this._currentRequest.end(null,null,r);else{var n=this,o=this._currentRequest;this.write(e,t,function(){n._ended=!0,o.end(null,null,r)}),this._ending=!0}};K.prototype.setHeader=function(e,t){this._options.headers[e]=t,this._currentRequest.setHeader(e,t)};K.prototype.removeHeader=function(e){delete this._options.headers[e],this._currentRequest.removeHeader(e)};K.prototype.setTimeout=function(e,t){var r=this;function n(s){s.setTimeout(e),s.removeListener("timeout",s.destroy),s.addListener("timeout",s.destroy)}function o(s){r._timeout&&clearTimeout(r._timeout),r._timeout=setTimeout(function(){r.emit("timeout"),i()},e),n(s)}function i(){r._timeout&&(clearTimeout(r._timeout),r._timeout=null),r.removeListener("abort",i),r.removeListener("error",i),r.removeListener("response",i),t&&r.removeListener("timeout",t),r.socket||r._currentRequest.removeListener("socket",o)}return t&&this.on("timeout",t),this.socket?o(this.socket):this._currentRequest.once("socket",o),this.on("socket",n),this.on("abort",i),this.on("error",i),this.on("response",i),this};["flushHeaders","getHeader","setNoDelay","setSocketKeepAlive"].forEach(function(e){K.prototype[e]=function(t,r){return this._currentRequest[e](t,r)}});["aborted","connection","socket"].forEach(function(e){Object.defineProperty(K.prototype,e,{get:function(){return this._currentRequest[e]}})});K.prototype._sanitizeOptions=function(e){if(e.headers||(e.headers={}),e.host&&(e.hostname||(e.hostname=e.host),delete e.host),!e.pathname&&e.path){var t=e.path.indexOf("?");t<0?e.pathname=e.path:(e.pathname=e.path.substring(0,t),e.search=e.path.substring(t))}};K.prototype._performRequest=function(){var e=this._options.protocol,t=this._options.nativeProtocols[e];if(!t){this.emit("error",new TypeError("Unsupported protocol "+e));return}if(this._options.agents){var r=e.substr(0,e.length-1);this._options.agent=this._options.agents[r]}var n=this._currentRequest=t.request(this._options,this._onNativeResponse);this._currentUrl=Ce.format(this._options),n._redirectable=this;for(var o=0;o<_e.length;o++)n.on(_e[o],rr[_e[o]]);if(this._isRedirect){var i=0,s=this,u=this._requestBodyBuffers;(function c(d){if(n===s._currentRequest)if(d)s.emit("error",d);else if(i<u.length){var a=u[i++];n.finished||n.write(a.data,a.encoding,c)}else s._ended&&n.end()})()}};K.prototype._processResponse=function(e){var t=e.statusCode;this._options.trackRedirects&&this._redirects.push({url:this._currentUrl,headers:e.headers,statusCode:t});var r=e.headers.location;if(r&&this._options.followRedirects!==!1&&t>=300&&t<400){if(Wn(this._currentRequest),e.destroy(),++this._redirectCount>this._options.maxRedirects){this.emit("error",new Ya);return}((t===301||t===302)&&this._options.method==="POST"||t===303&&!/^(?:GET|HEAD)$/.test(this._options.method))&&(this._options.method="GET",this._requestBodyBuffers=[],nr(/^content-/i,this._options.headers));var n=nr(/^host$/i,this._options.headers),o=Ce.parse(this._currentUrl),i=n||o.host,s=/^\w+:/.test(r)?this._currentUrl:Ce.format(Object.assign(o,{host:i})),u;try{u=Ce.resolve(s,r)}catch(a){this.emit("error",new Jn(a));return}zn("redirecting to",u),this._isRedirect=!0;var c=Ce.parse(u);if(Object.assign(this._options,c),c.host===i||tu(c.host,i)||nr(/^authorization$/i,this._options.headers),typeof this._options.beforeRedirect=="function"){var d={headers:e.headers};try{this._options.beforeRedirect.call(null,this._options,d)}catch(a){this.emit("error",a);return}this._sanitizeOptions(this._options)}try{this._performRequest()}catch(a){this.emit("error",new Jn(a))}}else e.responseUrl=this._currentUrl,e.redirects=this._redirects,this.emit("response",e),this._requestBodyBuffers=[]};function Kn(e){var t={maxRedirects:21,maxBodyLength:10*1024*1024},r={};return Object.keys(e).forEach(function(n){var o=n+":",i=r[o]=e[n],s=t[n]=Object.create(i);function u(d,a,l){if(typeof d=="string"){var p=d;try{d=Gn(new tr(p))}catch{d=Ce.parse(p)}}else tr&&d instanceof tr?d=Gn(d):(l=a,a=d,d={protocol:o});return typeof a=="function"&&(l=a,a=null),a=Object.assign({maxRedirects:t.maxRedirects,maxBodyLength:t.maxBodyLength},d,a),a.nativeProtocols=r,Xa.equal(a.protocol,o,"protocol mismatch"),zn("options",a),new K(a,l)}function c(d,a,l){var p=s.request(d,a,l);return p.end(),p}Object.defineProperties(s,{request:{value:u,configurable:!0,enumerable:!0,writable:!0},get:{value:c,configurable:!0,enumerable:!0,writable:!0}})}),t}function eu(){}function Gn(e){var t={protocol:e.protocol,hostname:e.hostname.startsWith("[")?e.hostname.slice(1,-1):e.hostname,hash:e.hash,search:e.search,pathname:e.pathname,path:e.pathname+e.search,href:e.href};return e.port!==""&&(t.port=Number(e.port)),t}function nr(e,t){var r;for(var n in t)e.test(n)&&(r=t[n],delete t[n]);return r===null||typeof r=="undefined"?void 0:String(r).trim()}function bt(e,t){function r(n){Error.captureStackTrace(this,this.constructor),n?(this.message=t+": "+n.message,this.cause=n):this.message=t}return r.prototype=new Error,r.prototype.constructor=r,r.prototype.name="Error ["+e+"]",r.prototype.code=e,r}function Wn(e){for(var t=0;t<_e.length;t++)e.removeListener(_e[t],rr[_e[t]]);e.on("error",eu),e.abort()}function tu(e,t){let r=e.length-t.length-1;return r>0&&e[r]==="."&&e.endsWith(t)}or.exports=Kn({http:Ga,https:Wa});or.exports.wrap=Kn});var wt=f((Rl,Xn)=>{Xn.exports={version:"0.24.0"}});var ro=f((xl,to)=>{"use strict";var ze=V(),Yn=Jt(),ru=Kt(),nu=ct(),ou=require("http"),iu=require("https"),su=ir().http,au=ir().https,Qn=require("url"),uu=require("zlib"),cu=wt().version,Ot=ft(),sr=dt(),lu=Pe(),du=Se(),Zn=/https:?/;function eo(e,t,r){if(e.hostname=t.host,e.host=t.host,e.port=t.port,e.path=r,t.auth){var n=Buffer.from(t.auth.username+":"+t.auth.password,"utf8").toString("base64");e.headers["Proxy-Authorization"]="Basic "+n}e.beforeRedirect=function(i){i.headers.host=i.host,eo(i,t,i.href)}}to.exports=function(t){return new Promise(function(n,o){var i;function s(){t.cancelToken&&t.cancelToken.unsubscribe(i),t.signal&&t.signal.removeEventListener("abort",i)}var u=function(v){s(),n(v)},c=function(v){s(),o(v)},d=t.data,a=t.headers,l={};if(Object.keys(a).forEach(function(v){l[v.toLowerCase()]=v}),"user-agent"in l?a[l["user-agent"]]||delete a[l["user-agent"]]:a["User-Agent"]="axios/"+cu,d&&!ze.isStream(d)){if(!Buffer.isBuffer(d))if(ze.isArrayBuffer(d))d=Buffer.from(new Uint8Array(d));else if(ze.isString(d))d=Buffer.from(d,"utf-8");else return c(Ot("Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream",t));l["content-length"]||(a["Content-Length"]=d.length)}var p=void 0;if(t.auth){var B=t.auth.username||"",Z=t.auth.password||"";p=B+":"+Z}var j=ru(t.baseURL,t.url),m=Qn.parse(j),g=m.protocol||"http:";if(!p&&m.auth){var E=m.auth.split(":"),_=E[0]||"",k=E[1]||"";p=_+":"+k}p&&l.authorization&&delete a[l.authorization];var me=Zn.test(g),ve=me?t.httpsAgent:t.httpAgent,X={path:nu(m.path,t.params,t.paramsSerializer).replace(/^\?/,""),method:t.method.toUpperCase(),headers:a,agent:ve,agents:{http:t.httpAgent,https:t.httpsAgent},auth:p};t.socketPath?X.socketPath=t.socketPath:(X.hostname=m.hostname,X.port=m.port);var ee=t.proxy;if(!ee&&ee!==!1){var Qe=g.slice(0,-1)+"_proxy",wr=process.env[Qe]||process.env[Qe.toUpperCase()];if(wr){var Ve=Qn.parse(wr),Or=process.env.no_proxy||process.env.NO_PROXY,Cr=!0;if(Or){var bi=Or.split(",").map(function(v){return v.trim()});Cr=!bi.some(function(v){return v?v==="*"||v[0]==="."&&m.hostname.substr(m.hostname.length-v.length)===v?!0:m.hostname===v:!1})}if(Cr&&(ee={host:Ve.hostname,port:Ve.port,protocol:Ve.protocol},Ve.auth)){var _r=Ve.auth.split(":");ee.auth={username:_r[0],password:_r[1]}}}}ee&&(X.headers.host=m.hostname+(m.port?":"+m.port:""),eo(X,ee,g+"//"+m.hostname+(m.port?":"+m.port:"")+X.path));var Ze,Er=me&&(ee?Zn.test(ee.protocol):!0);t.transport?Ze=t.transport:t.maxRedirects===0?Ze=Er?iu:ou:(t.maxRedirects&&(X.maxRedirects=t.maxRedirects),Ze=Er?au:su),t.maxBodyLength>-1&&(X.maxBodyLength=t.maxBodyLength),t.insecureHTTPParser&&(X.insecureHTTPParser=t.insecureHTTPParser);var U=Ze.request(X,function(v){if(!U.aborted){var ge=v,et=v.req||U;if(v.statusCode!==204&&et.method!=="HEAD"&&t.decompress!==!1)switch(v.headers["content-encoding"]){case"gzip":case"compress":case"deflate":ge=ge.pipe(uu.createUnzip()),delete v.headers["content-encoding"];break}var tt={status:v.statusCode,statusText:v.statusMessage,headers:v.headers,config:t,request:et};if(t.responseType==="stream")tt.data=ge,Yn(u,c,tt);else{var Ar=[],qr=0;ge.on("data",function(te){Ar.push(te),qr+=te.length,t.maxContentLength>-1&&qr>t.maxContentLength&&(ge.destroy(),c(Ot("maxContentLength size of "+t.maxContentLength+" exceeded",t,null,et)))}),ge.on("error",function(te){U.aborted||c(sr(te,t,null,et))}),ge.on("end",function(){var te=Buffer.concat(Ar);t.responseType!=="arraybuffer"&&(te=te.toString(t.responseEncoding),(!t.responseEncoding||t.responseEncoding==="utf8")&&(te=ze.stripBOM(te))),tt.data=te,Yn(u,c,tt)})}}});if(U.on("error",function(v){U.aborted&&v.code!=="ERR_FR_TOO_MANY_REDIRECTS"||c(sr(v,t,null,U))}),t.timeout){var Ft=parseInt(t.timeout,10);if(isNaN(Ft)){c(Ot("error trying to parse `config.timeout` to int",t,"ERR_PARSE_TIMEOUT",U));return}U.setTimeout(Ft,function(){U.abort();var v=t.transitional||lu.transitional;c(Ot("timeout of "+Ft+"ms exceeded",t,v.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",U))})}(t.cancelToken||t.signal)&&(i=function(z){U.aborted||(U.abort(),c(!z||z&&z.type?new du("canceled"):z))},t.cancelToken&&t.cancelToken.subscribe(i),t.signal&&(t.signal.aborted?i():t.signal.addEventListener("abort",i))),ze.isStream(d)?d.on("error",function(v){c(sr(v,t,null,U))}).pipe(U):U.end(d)})}});var Pe=f((Sl,io)=>{"use strict";var M=V(),no=dn(),fu=dt(),pu={"Content-Type":"application/x-www-form-urlencoded"};function oo(e,t){!M.isUndefined(e)&&M.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}function hu(){var e;return typeof XMLHttpRequest!="undefined"?e=xn():typeof process!="undefined"&&Object.prototype.toString.call(process)==="[object process]"&&(e=ro()),e}function mu(e,t,r){if(M.isString(e))try{return(t||JSON.parse)(e),M.trim(e)}catch(n){if(n.name!=="SyntaxError")throw n}return(r||JSON.stringify)(e)}var Ct={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:hu(),transformRequest:[function(t,r){return no(r,"Accept"),no(r,"Content-Type"),M.isFormData(t)||M.isArrayBuffer(t)||M.isBuffer(t)||M.isStream(t)||M.isFile(t)||M.isBlob(t)?t:M.isArrayBufferView(t)?t.buffer:M.isURLSearchParams(t)?(oo(r,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):M.isObject(t)||r&&r["Content-Type"]==="application/json"?(oo(r,"application/json"),mu(t)):t}],transformResponse:[function(t){var r=this.transitional||Ct.transitional,n=r&&r.silentJSONParsing,o=r&&r.forcedJSONParsing,i=!n&&this.responseType==="json";if(i||o&&M.isString(t)&&t.length)try{return JSON.parse(t)}catch(s){if(i)throw s.name==="SyntaxError"?fu(s,this,"E_JSON_PARSE"):s}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};M.forEach(["delete","get","head"],function(t){Ct.headers[t]={}});M.forEach(["post","put","patch"],function(t){Ct.headers[t]=M.merge(pu)});io.exports=Ct});var ao=f((Pl,so)=>{"use strict";var vu=V(),gu=Pe();so.exports=function(t,r,n){var o=this||gu;return vu.forEach(n,function(s){t=s.call(o,t,r)}),t}});var ar=f((jl,uo)=>{"use strict";uo.exports=function(t){return!!(t&&t.__CANCEL__)}});var fo=f((kl,lo)=>{"use strict";var co=V(),ur=ao(),yu=ar(),bu=Pe(),wu=Se();function cr(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new wu("canceled")}lo.exports=function(t){cr(t),t.headers=t.headers||{},t.data=ur.call(t,t.data,t.headers,t.transformRequest),t.headers=co.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),co.forEach(["delete","get","head","post","put","patch","common"],function(o){delete t.headers[o]});var r=t.adapter||bu.adapter;return r(t).then(function(o){return cr(t),o.data=ur.call(t,o.data,o.headers,t.transformResponse),o},function(o){return yu(o)||(cr(t),o&&o.response&&(o.response.data=ur.call(t,o.response.data,o.response.headers,t.transformResponse))),Promise.reject(o)})}});var lr=f((Fl,po)=>{"use strict";var G=V();po.exports=function(t,r){r=r||{};var n={};function o(a,l){return G.isPlainObject(a)&&G.isPlainObject(l)?G.merge(a,l):G.isPlainObject(l)?G.merge({},l):G.isArray(l)?l.slice():l}function i(a){if(G.isUndefined(r[a])){if(!G.isUndefined(t[a]))return o(void 0,t[a])}else return o(t[a],r[a])}function s(a){if(!G.isUndefined(r[a]))return o(void 0,r[a])}function u(a){if(G.isUndefined(r[a])){if(!G.isUndefined(t[a]))return o(void 0,t[a])}else return o(void 0,r[a])}function c(a){if(a in r)return o(t[a],r[a]);if(a in t)return o(void 0,t[a])}var d={url:s,method:s,data:s,baseURL:u,transformRequest:u,transformResponse:u,paramsSerializer:u,timeout:u,timeoutMessage:u,withCredentials:u,adapter:u,responseType:u,xsrfCookieName:u,xsrfHeaderName:u,onUploadProgress:u,onDownloadProgress:u,decompress:u,maxContentLength:u,maxBodyLength:u,transport:u,httpAgent:u,httpsAgent:u,cancelToken:u,socketPath:u,responseEncoding:u,validateStatus:c};return G.forEach(Object.keys(t).concat(Object.keys(r)),function(l){var p=d[l]||i,B=p(l);G.isUndefined(B)&&p!==c||(n[l]=B)}),n}});var vo=f((Dl,mo)=>{"use strict";var Ou=wt().version,dr={};["object","boolean","number","function","string","symbol"].forEach(function(e,t){dr[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});var ho={};dr.transitional=function(t,r,n){function o(i,s){return"[Axios v"+Ou+"] Transitional option '"+i+"'"+s+(n?". "+n:"")}return function(i,s,u){if(t===!1)throw new Error(o(s," has been removed"+(r?" in "+r:"")));return r&&!ho[s]&&(ho[s]=!0,console.warn(o(s," has been deprecated since v"+r+" and will be removed in the near future"))),t?t(i,s,u):!0}};function Cu(e,t,r){if(typeof e!="object")throw new TypeError("options must be an object");for(var n=Object.keys(e),o=n.length;o-- >0;){var i=n[o],s=t[i];if(s){var u=e[i],c=u===void 0||s(u,i,e);if(c!==!0)throw new TypeError("option "+i+" must be "+c);continue}if(r!==!0)throw Error("Unknown option "+i)}}mo.exports={assertOptions:Cu,validators:dr}});var Co=f((Ml,Oo)=>{"use strict";var go=V(),_u=ct(),yo=cn(),bo=fo(),_t=lr(),wo=vo(),De=wo.validators;function Je(e){this.defaults=e,this.interceptors={request:new yo,response:new yo}}Je.prototype.request=function(t){typeof t=="string"?(t=arguments[1]||{},t.url=arguments[0]):t=t||{},t=_t(this.defaults,t),t.method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var r=t.transitional;r!==void 0&&wo.assertOptions(r,{silentJSONParsing:De.transitional(De.boolean),forcedJSONParsing:De.transitional(De.boolean),clarifyTimeoutError:De.transitional(De.boolean)},!1);var n=[],o=!0;this.interceptors.request.forEach(function(p){typeof p.runWhen=="function"&&p.runWhen(t)===!1||(o=o&&p.synchronous,n.unshift(p.fulfilled,p.rejected))});var i=[];this.interceptors.response.forEach(function(p){i.push(p.fulfilled,p.rejected)});var s;if(!o){var u=[bo,void 0];for(Array.prototype.unshift.apply(u,n),u=u.concat(i),s=Promise.resolve(t);u.length;)s=s.then(u.shift(),u.shift());return s}for(var c=t;n.length;){var d=n.shift(),a=n.shift();try{c=d(c)}catch(l){a(l);break}}try{s=bo(c)}catch(l){return Promise.reject(l)}for(;i.length;)s=s.then(i.shift(),i.shift());return s};Je.prototype.getUri=function(t){return t=_t(this.defaults,t),_u(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")};go.forEach(["delete","get","head","options"],function(t){Je.prototype[t]=function(r,n){return this.request(_t(n||{},{method:t,url:r,data:(n||{}).data}))}});go.forEach(["post","put","patch"],function(t){Je.prototype[t]=function(r,n,o){return this.request(_t(o||{},{method:t,url:r,data:n}))}});Oo.exports=Je});var Eo=f((Bl,_o)=>{"use strict";var Eu=Se();function Me(e){if(typeof e!="function")throw new TypeError("executor must be a function.");var t;this.promise=new Promise(function(o){t=o});var r=this;this.promise.then(function(n){if(!!r._listeners){var o,i=r._listeners.length;for(o=0;o<i;o++)r._listeners[o](n);r._listeners=null}}),this.promise.then=function(n){var o,i=new Promise(function(s){r.subscribe(s),o=s}).then(n);return i.cancel=function(){r.unsubscribe(o)},i},e(function(o){r.reason||(r.reason=new Eu(o),t(r.reason))})}Me.prototype.throwIfRequested=function(){if(this.reason)throw this.reason};Me.prototype.subscribe=function(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]};Me.prototype.unsubscribe=function(t){if(!!this._listeners){var r=this._listeners.indexOf(t);r!==-1&&this._listeners.splice(r,1)}};Me.source=function(){var t,r=new Me(function(o){t=o});return{token:r,cancel:t}};_o.exports=Me});var qo=f((Ll,Ao)=>{"use strict";Ao.exports=function(t){return function(n){return t.apply(null,n)}}});var Ro=f((Nl,To)=>{"use strict";To.exports=function(t){return typeof t=="object"&&t.isAxiosError===!0}});var Po=f((Il,fr)=>{"use strict";var xo=V(),Au=Ut(),Et=Co(),qu=lr(),Tu=Pe();function So(e){var t=new Et(e),r=Au(Et.prototype.request,t);return xo.extend(r,Et.prototype,t),xo.extend(r,t),r.create=function(o){return So(qu(e,o))},r}var ne=So(Tu);ne.Axios=Et;ne.Cancel=Se();ne.CancelToken=Eo();ne.isCancel=ar();ne.VERSION=wt().version;ne.all=function(t){return Promise.all(t)};ne.spread=qo();ne.isAxiosError=Ro();fr.exports=ne;fr.exports.default=ne});var pr=f((Ul,jo)=>{jo.exports=Po()});var Do=f(W=>{var Ru=W&&W.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(W,"__esModule",{value:!0});W.RequiredError=W.BaseAPI=W.COLLECTION_FORMATS=W.BASE_PATH=void 0;var xu=Ru(pr());W.BASE_PATH="https://api.analytica.click".replace(/\/+$/,"");W.COLLECTION_FORMATS={csv:",",ssv:" ",tsv:" ",pipes:"|"};var ko=class{constructor(t,r=W.BASE_PATH,n=xu.default){this.basePath=r,this.axios=n,t&&(this.configuration=t,this.basePath=t.basePath||this.basePath)}};W.BaseAPI=ko;var Fo=class extends Error{constructor(t,r){super(r);this.field=t,this.name="RequiredError"}};W.RequiredError=Fo});var At=f(h=>{var Su=h&&h.__createBinding||(Object.create?function(e,t,r,n){n===void 0&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]}),Pu=h&&h.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),ju=h&&h.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)r!=="default"&&Object.prototype.hasOwnProperty.call(e,r)&&Su(t,e,r);return Pu(t,e),t},x=h&&h.__awaiter||function(e,t,r,n){function o(i){return i instanceof r?i:new r(function(s){s(i)})}return new(r||(r=Promise))(function(i,s){function u(a){try{d(n.next(a))}catch(l){s(l)}}function c(a){try{d(n.throw(a))}catch(l){s(l)}}function d(a){a.done?i(a.value):o(a.value).then(u,c)}d((n=n.apply(e,t||[])).next())})},ku=h&&h.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(h,"__esModule",{value:!0});h.DefaultApi=h.DefaultApiFactory=h.DefaultApiFp=h.DefaultApiAxiosParamCreator=h.Sentiment=void 0;var S=ju(require("url")),ie=ku(pr()),w=Do(),Fu;(function(e){e.Good="good",e.Bad="bad",e.Neutral="neutral"})(Fu=h.Sentiment||(h.Sentiment={}));var Du=function(e){return{accountGet:(t={})=>x(this,void 0,void 0,function*(){let r="/account",n=S.parse(r,!0),o;e&&(o=e.baseOptions);let i=Object.assign(Object.assign({method:"GET"},o),t),s={},u={};if(e&&e.apiKey){let d=typeof e.apiKey=="function"?yield e.apiKey("authorization"):yield e.apiKey;s.authorization=d}n.query=Object.assign(Object.assign(Object.assign({},n.query),u),t.query),delete n.search;let c=o&&o.headers?o.headers:{};return i.headers=Object.assign(Object.assign(Object.assign({},s),c),t.headers),{url:S.format(n),options:i}}),bingIntegrationPost:(t,r={})=>x(this,void 0,void 0,function*(){if(t==null)throw new w.RequiredError("bingIntegration","Required parameter bingIntegration was null or undefined when calling bingIntegrationPost.");let n="/account/integrations/bing",o=S.parse(n,!0),i;e&&(i=e.baseOptions);let s=Object.assign(Object.assign({method:"POST"},i),r),u={},c={};if(e&&e.apiKey){let l=typeof e.apiKey=="function"?yield e.apiKey("authorization"):yield e.apiKey;u.authorization=l}u["Content-Type"]="application/json",o.query=Object.assign(Object.assign(Object.assign({},o.query),c),r.query),delete o.search;let d=i&&i.headers?i.headers:{};s.headers=Object.assign(Object.assign(Object.assign({},u),d),r.headers);let a=typeof t!="string"||s.headers["Content-Type"]==="application/json";return s.data=a?JSON.stringify(t!==void 0?t:{}):t||"",{url:S.format(o),options:s}}),getTrackingAllSites:(t,r,n={})=>x(this,void 0,void 0,function*(){if(t==null)throw new w.RequiredError("minDate","Required parameter minDate was null or undefined when calling getTrackingAllSites.");if(r==null)throw new w.RequiredError("maxDate","Required parameter maxDate was null or undefined when calling getTrackingAllSites.");let o="/site/tracking",i=S.parse(o,!0),s;e&&(s=e.baseOptions);let u=Object.assign(Object.assign({method:"GET"},s),n),c={},d={};if(e&&e.apiKey){let l=typeof e.apiKey=="function"?yield e.apiKey("authorization"):yield e.apiKey;c.authorization=l}t!==void 0&&(d.minDate=t),r!==void 0&&(d.maxDate=r),i.query=Object.assign(Object.assign(Object.assign({},i.query),d),n.query),delete i.search;let a=s&&s.headers?s.headers:{};return u.headers=Object.assign(Object.assign(Object.assign({},c),a),n.headers),{url:S.format(i),options:u}}),getTrackingSite:(t,r,n,o={})=>x(this,void 0,void 0,function*(){if(t==null)throw new w.RequiredError("id","Required parameter id was null or undefined when calling getTrackingSite.");if(r==null)throw new w.RequiredError("minDate","Required parameter minDate was null or undefined when calling getTrackingSite.");if(n==null)throw new w.RequiredError("maxDate","Required parameter maxDate was null or undefined when calling getTrackingSite.");let i="/site/tracking/{id}".replace("{id}",encodeURIComponent(String(t))),s=S.parse(i,!0),u;e&&(u=e.baseOptions);let c=Object.assign(Object.assign({method:"GET"},u),o),d={},a={};if(e&&e.apiKey){let p=typeof e.apiKey=="function"?yield e.apiKey("authorization"):yield e.apiKey;d.authorization=p}r!==void 0&&(a.minDate=r),n!==void 0&&(a.maxDate=n),s.query=Object.assign(Object.assign(Object.assign({},s.query),a),o.query),delete s.search;let l=u&&u.headers?u.headers:{};return c.headers=Object.assign(Object.assign(Object.assign({},d),l),o.headers),{url:S.format(s),options:c}}),googleIntegrationPost:(t,r={})=>x(this,void 0,void 0,function*(){if(t==null)throw new w.RequiredError("googleIntegration","Required parameter googleIntegration was null or undefined when calling googleIntegrationPost.");let n="/account/integrations/google",o=S.parse(n,!0),i;e&&(i=e.baseOptions);let s=Object.assign(Object.assign({method:"POST"},i),r),u={},c={};if(e&&e.apiKey){let l=typeof e.apiKey=="function"?yield e.apiKey("authorization"):yield e.apiKey;u.authorization=l}u["Content-Type"]="application/json",o.query=Object.assign(Object.assign(Object.assign({},o.query),c),r.query),delete o.search;let d=i&&i.headers?i.headers:{};s.headers=Object.assign(Object.assign(Object.assign({},u),d),r.headers);let a=typeof t!="string"||s.headers["Content-Type"]==="application/json";return s.data=a?JSON.stringify(t!==void 0?t:{}):t||"",{url:S.format(o),options:s}}),postError:(t,r={})=>x(this,void 0,void 0,function*(){if(t==null)throw new w.RequiredError("postError","Required parameter postError was null or undefined when calling postError.");let n="/error",o=S.parse(n,!0),i;e&&(i=e.baseOptions);let s=Object.assign(Object.assign({method:"POST"},i),r),u={},c={};u["Content-Type"]="application/json",o.query=Object.assign(Object.assign(Object.assign({},o.query),c),r.query),delete o.search;let d=i&&i.headers?i.headers:{};s.headers=Object.assign(Object.assign(Object.assign({},u),d),r.headers);let a=typeof t!="string"||s.headers["Content-Type"]==="application/json";return s.data=a?JSON.stringify(t!==void 0?t:{}):t||"",{url:S.format(o),options:s}}),postPageTrack:(t,r={})=>x(this,void 0,void 0,function*(){if(t==null)throw new w.RequiredError("postSiteTrack","Required parameter postSiteTrack was null or undefined when calling postPageTrack.");let n="/site",o=S.parse(n,!0),i;e&&(i=e.baseOptions);let s=Object.assign(Object.assign({method:"POST"},i),r),u={},c={};u["Content-Type"]="application/json",o.query=Object.assign(Object.assign(Object.assign({},o.query),c),r.query),delete o.search;let d=i&&i.headers?i.headers:{};s.headers=Object.assign(Object.assign(Object.assign({},u),d),r.headers);let a=typeof t!="string"||s.headers["Content-Type"]==="application/json";return s.data=a?JSON.stringify(t!==void 0?t:{}):t||"",{url:S.format(o),options:s}}),putFeedback:(t,r={})=>x(this,void 0,void 0,function*(){if(t==null)throw new w.RequiredError("feedbackPutData","Required parameter feedbackPutData was null or undefined when calling putFeedback.");let n="/feedback",o=S.parse(n,!0),i;e&&(i=e.baseOptions);let s=Object.assign(Object.assign({method:"PUT"},i),r),u={},c={};u["Content-Type"]="application/json",o.query=Object.assign(Object.assign(Object.assign({},o.query),c),r.query),delete o.search;let d=i&&i.headers?i.headers:{};s.headers=Object.assign(Object.assign(Object.assign({},u),d),r.headers);let a=typeof t!="string"||s.headers["Content-Type"]==="application/json";return s.data=a?JSON.stringify(t!==void 0?t:{}):t||"",{url:S.format(o),options:s}}),sitePost:(t,r={})=>x(this,void 0,void 0,function*(){if(t==null)throw new w.RequiredError("postAccount","Required parameter postAccount was null or undefined when calling sitePost.");let n="/account/site",o=S.parse(n,!0),i;e&&(i=e.baseOptions);let s=Object.assign(Object.assign({method:"POST"},i),r),u={},c={};if(e&&e.apiKey){let l=typeof e.apiKey=="function"?yield e.apiKey("authorization"):yield e.apiKey;u.authorization=l}u["Content-Type"]="application/json",o.query=Object.assign(Object.assign(Object.assign({},o.query),c),r.query),delete o.search;let d=i&&i.headers?i.headers:{};s.headers=Object.assign(Object.assign(Object.assign({},u),d),r.headers);let a=typeof t!="string"||s.headers["Content-Type"]==="application/json";return s.data=a?JSON.stringify(t!==void 0?t:{}):t||"",{url:S.format(o),options:s}})}};h.DefaultApiAxiosParamCreator=Du;var Mu=function(e){return{accountGet(t){return x(this,void 0,void 0,function*(){let r=yield(0,h.DefaultApiAxiosParamCreator)(e).accountGet(t);return(n=ie.default,o=w.BASE_PATH)=>{let i=Object.assign(Object.assign({},r.options),{url:o+r.url});return n.request(i)}})},bingIntegrationPost(t,r){return x(this,void 0,void 0,function*(){let n=yield(0,h.DefaultApiAxiosParamCreator)(e).bingIntegrationPost(t,r);return(o=ie.default,i=w.BASE_PATH)=>{let s=Object.assign(Object.assign({},n.options),{url:i+n.url});return o.request(s)}})},getTrackingAllSites(t,r,n){return x(this,void 0,void 0,function*(){let o=yield(0,h.DefaultApiAxiosParamCreator)(e).getTrackingAllSites(t,r,n);return(i=ie.default,s=w.BASE_PATH)=>{let u=Object.assign(Object.assign({},o.options),{url:s+o.url});return i.request(u)}})},getTrackingSite(t,r,n,o){return x(this,void 0,void 0,function*(){let i=yield(0,h.DefaultApiAxiosParamCreator)(e).getTrackingSite(t,r,n,o);return(s=ie.default,u=w.BASE_PATH)=>{let c=Object.assign(Object.assign({},i.options),{url:u+i.url});return s.request(c)}})},googleIntegrationPost(t,r){return x(this,void 0,void 0,function*(){let n=yield(0,h.DefaultApiAxiosParamCreator)(e).googleIntegrationPost(t,r);return(o=ie.default,i=w.BASE_PATH)=>{let s=Object.assign(Object.assign({},n.options),{url:i+n.url});return o.request(s)}})},postError(t,r){return x(this,void 0,void 0,function*(){let n=yield(0,h.DefaultApiAxiosParamCreator)(e).postError(t,r);return(o=ie.default,i=w.BASE_PATH)=>{let s=Object.assign(Object.assign({},n.options),{url:i+n.url});return o.request(s)}})},postPageTrack(t,r){return x(this,void 0,void 0,function*(){let n=yield(0,h.DefaultApiAxiosParamCreator)(e).postPageTrack(t,r);return(o=ie.default,i=w.BASE_PATH)=>{let s=Object.assign(Object.assign({},n.options),{url:i+n.url});return o.request(s)}})},putFeedback(t,r){return x(this,void 0,void 0,function*(){let n=yield(0,h.DefaultApiAxiosParamCreator)(e).putFeedback(t,r);return(o=ie.default,i=w.BASE_PATH)=>{let s=Object.assign(Object.assign({},n.options),{url:i+n.url});return o.request(s)}})},sitePost(t,r){return x(this,void 0,void 0,function*(){let n=yield(0,h.DefaultApiAxiosParamCreator)(e).sitePost(t,r);return(o=ie.default,i=w.BASE_PATH)=>{let s=Object.assign(Object.assign({},n.options),{url:i+n.url});return o.request(s)}})}}};h.DefaultApiFp=Mu;var Bu=function(e,t,r){return{accountGet(n){return(0,h.DefaultApiFp)(e).accountGet(n).then(o=>o(r,t))},bingIntegrationPost(n,o){return(0,h.DefaultApiFp)(e).bingIntegrationPost(n,o).then(i=>i(r,t))},getTrackingAllSites(n,o,i){return(0,h.DefaultApiFp)(e).getTrackingAllSites(n,o,i).then(s=>s(r,t))},getTrackingSite(n,o,i,s){return(0,h.DefaultApiFp)(e).getTrackingSite(n,o,i,s).then(u=>u(r,t))},googleIntegrationPost(n,o){return(0,h.DefaultApiFp)(e).googleIntegrationPost(n,o).then(i=>i(r,t))},postError(n,o){return(0,h.DefaultApiFp)(e).postError(n,o).then(i=>i(r,t))},postPageTrack(n,o){return(0,h.DefaultApiFp)(e).postPageTrack(n,o).then(i=>i(r,t))},putFeedback(n,o){return(0,h.DefaultApiFp)(e).putFeedback(n,o).then(i=>i(r,t))},sitePost(n,o){return(0,h.DefaultApiFp)(e).sitePost(n,o).then(i=>i(r,t))}}};h.DefaultApiFactory=Bu;var Mo=class extends w.BaseAPI{accountGet(t){return(0,h.DefaultApiFp)(this.configuration).accountGet(t).then(r=>r(this.axios,this.basePath))}bingIntegrationPost(t,r){return(0,h.DefaultApiFp)(this.configuration).bingIntegrationPost(t,r).then(n=>n(this.axios,this.basePath))}getTrackingAllSites(t,r,n){return(0,h.DefaultApiFp)(this.configuration).getTrackingAllSites(t,r,n).then(o=>o(this.axios,this.basePath))}getTrackingSite(t,r,n,o){return(0,h.DefaultApiFp)(this.configuration).getTrackingSite(t,r,n,o).then(i=>i(this.axios,this.basePath))}googleIntegrationPost(t,r){return(0,h.DefaultApiFp)(this.configuration).googleIntegrationPost(t,r).then(n=>n(this.axios,this.basePath))}postError(t,r){return(0,h.DefaultApiFp)(this.configuration).postError(t,r).then(n=>n(this.axios,this.basePath))}postPageTrack(t,r){return(0,h.DefaultApiFp)(this.configuration).postPageTrack(t,r).then(n=>n(this.axios,this.basePath))}putFeedback(t,r){return(0,h.DefaultApiFp)(this.configuration).putFeedback(t,r).then(n=>n(this.axios,this.basePath))}sitePost(t,r){return(0,h.DefaultApiFp)(this.configuration).sitePost(t,r).then(n=>n(this.axios,this.basePath))}};h.DefaultApi=Mo});var Jo=f(Rt=>{"use strict";Rt.__esModule=!0;Rt.createRequires=void 0;var Ju=function(e){return typeof e=="function"?e():e||{}},Ku=function(e){var t=!1;return function(r){if(t||(e=Ju(e),t=!0),!(r in e))throw new Error("Could not require '"+r+"'. '"+r+"' does not exist in dependencies.");return e[r]}};Rt.createRequires=Ku});var Ko=f(vr=>{"use strict";vr.__esModule=!0;var Gu=function(e){var t={};return function(r){return r in t||(t[r]=e(r)),t[r]}};vr.default=Gu});var gr=f(Be=>{"use strict";Be.__esModule=!0;Be.InternalServerError=Be.OK=void 0;Be.OK=200;Be.InternalServerError=500});var Go=f(de=>{"use strict";de.__esModule=!0;de.DONE=de.OPENED=de.UNSENT=void 0;de.UNSENT=0;de.OPENED=1;de.DONE=4});var Wo=f(yr=>{"use strict";yr.__esModule=!0;var Wu=gr(),Xu=Go(),Yu=function(e){return new Promise(function(t,r){var n=new XMLHttpRequest;n.onreadystatechange=function(){n.readyState===Xu.DONE&&(n.status===Wu.OK?t(n.responseText):r(new Error("HTTP Error Response: "+n.status+" "+n.statusText+" ("+e+")")))},n.open("GET",e,!0),n.send()})};yr.default=Yu});var Zo=f(Ge=>{"use strict";var Xo=Ge&&Ge.__spreadArray||function(e,t,r){if(r||arguments.length===2)for(var n=0,o=t.length,i;n<o;n++)(i||!(n in t))&&(i||(i=Array.prototype.slice.call(t,0,n)),i[n]=t[n]);return e.concat(i||Array.prototype.slice.call(t))};Ge.__esModule=!0;var Yo=require("http"),Qo=require("https"),Qu=gr(),Zu=function(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return typeof e!="string"?{on:function(n,o){o(new Error("URL must be a string."))}}:e.indexOf("https://")===0?Qo.get.apply(Qo,Xo([e],t,!1)):Yo.get.apply(Yo,Xo([e],t,!1))},ec=function(e){return new Promise(function(t,r){Zu(e,function(n){if(n.statusCode!==Qu.OK)return r(new Error("HTTP Error Response: "+n.statusCode+" "+n.statusMessage+" ("+e+")"));var o=null;n.on("data",function(i){if(o===null){o=i;return}o+=i}),n.on("end",function(){return t(o)})}).on("error",r)})};Ge.default=ec});var ei=f(xt=>{"use strict";xt.__esModule=!0;xt.createLoadRemoteModule=void 0;var tc=Ko(),rc=Wo(),nc=Zo(),oc=typeof window!="undefined"&&typeof window.document!="undefined",ic=oc?rc.default:nc.default,sc=function(e){throw new Error("Could not require '"+e+"'. The 'requires' function was not provided.")},ac=function(e){var t=e===void 0?{}:e,r=t.requires,n=t.fetcher,o=r||sc,i=n||ic;return(0,tc.default)(function(s){return i(s).then(function(u){var c={},d={exports:c},a=new Function("require","module","exports",u);return a(o,d,c),d.exports})})};xt.createLoadRemoteModule=ac});var ti=f(St=>{"use strict";St.__esModule=!0;St.createRequires=void 0;var uc=function(e){return function(t){var r=e||{};if(!(t in r))throw new Error("Could not require '"+t+"'. '"+t+"' does not exist in dependencies.");return r[t]}};St.createRequires=uc});var ni=f(fe=>{"use strict";var ri=fe&&fe.__createBinding||(Object.create?function(e,t,r,n){n===void 0&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]});fe.__esModule=!0;fe.createRequires=fe.default=void 0;var cc=ei();ri(fe,cc,"createLoadRemoteModule","default");var lc=ti();ri(fe,lc,"createRequires")});var ii=f(Le=>{"use strict";var dc=Le&&Le.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Le.__esModule=!0;Le.createUseRemoteComponent=void 0;var oi=require("react"),fc=dc(ni()),pc=function(e){var t=fc.default(e),r=function(n){var o=oi.useState({loading:!0,err:void 0,component:void 0}),i=o[0],s=i.loading,u=i.err,c=i.component,d=o[1];return oi.useEffect(function(){var a=d;return a({loading:!0,err:void 0,component:void 0}),t(n).then(function(l){return a({loading:!1,err:void 0,component:l.default})}).catch(function(l){return a({loading:!1,err:l,component:void 0})}),function(){a=function(){}}},[n]),[s,u,c]};return r};Le.createUseRemoteComponent=pc});var di=f(Ie=>{"use strict";var li=Ie&&Ie.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Ie,"__esModule",{value:!0});Ie.Close=void 0;var gc=li(require("styled-components")),yc=li(require("react")),bc=gc.default.div`
|
11
11
|
position: absolute;
|