@affogatosoftware/recorder 1.0.2 → 1.0.3

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.
@@ -4200,7 +4200,7 @@ const {
4200
4200
  getAdapter: $a,
4201
4201
  mergeConfig: el
4202
4202
  } = H, Gr = H.create({
4203
- baseURL: window.location.hostname.includes("localhost") ? "http://localhost:8080" : "",
4203
+ baseURL: "https://scryspell.com",
4204
4204
  withCredentials: !0
4205
4205
  }), Lr = (e, t, r) => Gr.post(e, t, r), Ca = (e, t, r) => Gr.put(e, t, r), Sa = (e, t, r) => Gr.patch(e, t, r), Ee = {
4206
4206
  info: (...e) => {
@@ -20,4 +20,4 @@ or you can use record.mirror to access the mirror instance during recording.`;le
20
20
  `)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...r){const n=new this(t);return r.forEach(i=>n.set(i)),n}static accessor(t){const n=(this[Qn]=this[Qn]={accessors:{}}).accessors,i=this.prototype;function o(s){const a=wt(s);n[a]||(jo(i,s),n[a]=!0)}return h.isArray(t)?t.forEach(o):o(t),this}};te.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),h.reduceDescriptors(te.prototype,({value:e},t)=>{let r=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(n){this[r]=n}}}),h.freezeMethods(te);function Sr(e,t){const r=this||bt,n=t||r,i=te.from(n.headers);let o=n.data;return h.forEach(e,function(a){o=a.call(r,o,i.normalize(),t?t.status:void 0)}),i.normalize(),o}function $n(e){return!!(e&&e.__CANCEL__)}function $e(e,t,r){E.call(this,e??"canceled",E.ERR_CANCELED,t,r),this.name="CanceledError"}h.inherits($e,E,{__CANCEL__:!0});function ei(e,t,r){const n=r.config.validateStatus;!r.status||!n||n(r.status)?e(r):t(new E("Request failed with status code "+r.status,[E.ERR_BAD_REQUEST,E.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r))}function Ko(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function Jo(e,t){e=e||10;const r=new Array(e),n=new Array(e);let i=0,o=0,s;return t=t!==void 0?t:1e3,function(l){const c=Date.now(),u=n[o];s||(s=c),r[i]=l,n[i]=c;let d=o,m=0;for(;d!==i;)m+=r[d++],d=d%e;if(i=(i+1)%e,i===o&&(o=(o+1)%e),c-s<t)return;const w=u&&c-u;return w?Math.round(m*1e3/w):void 0}}function Yo(e,t){let r=0,n=1e3/t,i,o;const s=(c,u=Date.now())=>{r=u,i=null,o&&(clearTimeout(o),o=null),e.apply(null,c)};return[(...c)=>{const u=Date.now(),d=u-r;d>=n?s(c,u):(i=c,o||(o=setTimeout(()=>{o=null,s(i)},n-d)))},()=>i&&s(i)]}const qt=(e,t,r=3)=>{let n=0;const i=Jo(50,250);return Yo(o=>{const s=o.loaded,a=o.lengthComputable?o.total:void 0,l=s-n,c=i(l),u=s<=a;n=s;const d={loaded:s,total:a,progress:a?s/a:void 0,bytes:l,rate:c||void 0,estimated:c&&a&&u?(a-s)/c:void 0,event:o,lengthComputable:a!=null,[t?"download":"upload"]:!0};e(d)},r)},ti=(e,t)=>{const r=e!=null;return[n=>t[0]({lengthComputable:r,total:e,loaded:n}),t[1]]},ri=e=>(...t)=>h.asap(()=>e(...t)),Xo=K.hasStandardBrowserEnv?((e,t)=>r=>(r=new URL(r,K.origin),e.protocol===r.protocol&&e.host===r.host&&(t||e.port===r.port)))(new URL(K.origin),K.navigator&&/(msie|trident)/i.test(K.navigator.userAgent)):()=>!0,Qo=K.hasStandardBrowserEnv?{write(e,t,r,n,i,o){const s=[e+"="+encodeURIComponent(t)];h.isNumber(r)&&s.push("expires="+new Date(r).toGMTString()),h.isString(n)&&s.push("path="+n),h.isString(i)&&s.push("domain="+i),o===!0&&s.push("secure"),document.cookie=s.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function $o(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function ea(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function ni(e,t,r){let n=!$o(t);return e&&(n||r==!1)?ea(e,t):t}const ii=e=>e instanceof te?{...e}:e;function He(e,t){t=t||{};const r={};function n(c,u,d,m){return h.isPlainObject(c)&&h.isPlainObject(u)?h.merge.call({caseless:m},c,u):h.isPlainObject(u)?h.merge({},u):h.isArray(u)?u.slice():u}function i(c,u,d,m){if(h.isUndefined(u)){if(!h.isUndefined(c))return n(void 0,c,d,m)}else return n(c,u,d,m)}function o(c,u){if(!h.isUndefined(u))return n(void 0,u)}function s(c,u){if(h.isUndefined(u)){if(!h.isUndefined(c))return n(void 0,c)}else return n(void 0,u)}function a(c,u,d){if(d in t)return n(c,u);if(d in e)return n(void 0,c)}const l={url:o,method:o,data:o,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,withXSRFToken:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:a,headers:(c,u,d)=>i(ii(c),ii(u),d,!0)};return h.forEach(Object.keys(Object.assign({},e,t)),function(u){const d=l[u]||i,m=d(e[u],t[u],u);h.isUndefined(m)&&d!==a||(r[u]=m)}),r}const si=e=>{const t=He({},e);let{data:r,withXSRFToken:n,xsrfHeaderName:i,xsrfCookieName:o,headers:s,auth:a}=t;t.headers=s=te.from(s),t.url=Kn(ni(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),a&&s.set("Authorization","Basic "+btoa((a.username||"")+":"+(a.password?unescape(encodeURIComponent(a.password)):"")));let l;if(h.isFormData(r)){if(K.hasStandardBrowserEnv||K.hasStandardBrowserWebWorkerEnv)s.setContentType(void 0);else if((l=s.getContentType())!==!1){const[c,...u]=l?l.split(";").map(d=>d.trim()).filter(Boolean):[];s.setContentType([c||"multipart/form-data",...u].join("; "))}}if(K.hasStandardBrowserEnv&&(n&&h.isFunction(n)&&(n=n(t)),n||n!==!1&&Xo(t.url))){const c=i&&o&&Qo.read(o);c&&s.set(i,c)}return t},ta=typeof XMLHttpRequest<"u"&&function(e){return new Promise(function(r,n){const i=si(e);let o=i.data;const s=te.from(i.headers).normalize();let{responseType:a,onUploadProgress:l,onDownloadProgress:c}=i,u,d,m,w,f;function v(){w&&w(),f&&f(),i.cancelToken&&i.cancelToken.unsubscribe(u),i.signal&&i.signal.removeEventListener("abort",u)}let C=new XMLHttpRequest;C.open(i.method.toUpperCase(),i.url,!0),C.timeout=i.timeout;function k(){if(!C)return;const A=te.from("getAllResponseHeaders"in C&&C.getAllResponseHeaders()),L={data:!a||a==="text"||a==="json"?C.responseText:C.response,status:C.status,statusText:C.statusText,headers:A,config:e,request:C};ei(function(U){r(U),v()},function(U){n(U),v()},L),C=null}"onloadend"in C?C.onloadend=k:C.onreadystatechange=function(){!C||C.readyState!==4||C.status===0&&!(C.responseURL&&C.responseURL.indexOf("file:")===0)||setTimeout(k)},C.onabort=function(){C&&(n(new E("Request aborted",E.ECONNABORTED,e,C)),C=null)},C.onerror=function(){n(new E("Network Error",E.ERR_NETWORK,e,C)),C=null},C.ontimeout=function(){let O=i.timeout?"timeout of "+i.timeout+"ms exceeded":"timeout exceeded";const L=i.transitional||Yn;i.timeoutErrorMessage&&(O=i.timeoutErrorMessage),n(new E(O,L.clarifyTimeoutError?E.ETIMEDOUT:E.ECONNABORTED,e,C)),C=null},o===void 0&&s.setContentType(null),"setRequestHeader"in C&&h.forEach(s.toJSON(),function(O,L){C.setRequestHeader(L,O)}),h.isUndefined(i.withCredentials)||(C.withCredentials=!!i.withCredentials),a&&a!=="json"&&(C.responseType=i.responseType),c&&([m,f]=qt(c,!0),C.addEventListener("progress",m)),l&&C.upload&&([d,w]=qt(l),C.upload.addEventListener("progress",d),C.upload.addEventListener("loadend",w)),(i.cancelToken||i.signal)&&(u=A=>{C&&(n(!A||A.type?new $e(null,e,C):A),C.abort(),C=null)},i.cancelToken&&i.cancelToken.subscribe(u),i.signal&&(i.signal.aborted?u():i.signal.addEventListener("abort",u)));const S=Ko(i.url);if(S&&K.protocols.indexOf(S)===-1){n(new E("Unsupported protocol "+S+":",E.ERR_BAD_REQUEST,e));return}C.send(o||null)})},ra=(e,t)=>{const{length:r}=e=e?e.filter(Boolean):[];if(t||r){let n=new AbortController,i;const o=function(c){if(!i){i=!0,a();const u=c instanceof Error?c:this.reason;n.abort(u instanceof E?u:new $e(u instanceof Error?u.message:u))}};let s=t&&setTimeout(()=>{s=null,o(new E(`timeout ${t} of ms exceeded`,E.ETIMEDOUT))},t);const a=()=>{e&&(s&&clearTimeout(s),s=null,e.forEach(c=>{c.unsubscribe?c.unsubscribe(o):c.removeEventListener("abort",o)}),e=null)};e.forEach(c=>c.addEventListener("abort",o));const{signal:l}=n;return l.unsubscribe=()=>h.asap(a),l}},na=function*(e,t){let r=e.byteLength;if(r<t){yield e;return}let n=0,i;for(;n<r;)i=n+t,yield e.slice(n,i),n=i},ia=async function*(e,t){for await(const r of sa(e))yield*na(r,t)},sa=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const t=e.getReader();try{for(;;){const{done:r,value:n}=await t.read();if(r)break;yield n}}finally{await t.cancel()}},oi=(e,t,r,n)=>{const i=ia(e,t);let o=0,s,a=l=>{s||(s=!0,n&&n(l))};return new ReadableStream({async pull(l){try{const{done:c,value:u}=await i.next();if(c){a(),l.close();return}let d=u.byteLength;if(r){let m=o+=d;r(m)}l.enqueue(new Uint8Array(u))}catch(c){throw a(c),c}},cancel(l){return a(l),i.return()}},{highWaterMark:2})},jt=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",ai=jt&&typeof ReadableStream=="function",oa=jt&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),li=(e,...t)=>{try{return!!e(...t)}catch{return!1}},aa=ai&&li(()=>{let e=!1;const t=new Request(K.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),ci=64*1024,vr=ai&&li(()=>h.isReadableStream(new Response("").body)),Kt={stream:vr&&(e=>e.body)};jt&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!Kt[t]&&(Kt[t]=h.isFunction(e[t])?r=>r[t]():(r,n)=>{throw new E(`Response type '${t}' is not supported`,E.ERR_NOT_SUPPORT,n)})})})(new Response);const la=async e=>{if(e==null)return 0;if(h.isBlob(e))return e.size;if(h.isSpecCompliantForm(e))return(await new Request(K.origin,{method:"POST",body:e}).arrayBuffer()).byteLength;if(h.isArrayBufferView(e)||h.isArrayBuffer(e))return e.byteLength;if(h.isURLSearchParams(e)&&(e=e+""),h.isString(e))return(await oa(e)).byteLength},ca=async(e,t)=>{const r=h.toFiniteNumber(e.getContentLength());return r??la(t)},Ar={http:xo,xhr:ta,fetch:jt&&(async e=>{let{url:t,method:r,data:n,signal:i,cancelToken:o,timeout:s,onDownloadProgress:a,onUploadProgress:l,responseType:c,headers:u,withCredentials:d="same-origin",fetchOptions:m}=si(e);c=c?(c+"").toLowerCase():"text";let w=ra([i,o&&o.toAbortSignal()],s),f;const v=w&&w.unsubscribe&&(()=>{w.unsubscribe()});let C;try{if(l&&aa&&r!=="get"&&r!=="head"&&(C=await ca(u,n))!==0){let L=new Request(t,{method:"POST",body:n,duplex:"half"}),B;if(h.isFormData(n)&&(B=L.headers.get("content-type"))&&u.setContentType(B),L.body){const[U,N]=ti(C,qt(ri(l)));n=oi(L.body,ci,U,N)}}h.isString(d)||(d=d?"include":"omit");const k="credentials"in Request.prototype;f=new Request(t,{...m,signal:w,method:r.toUpperCase(),headers:u.normalize().toJSON(),body:n,duplex:"half",credentials:k?d:void 0});let S=await fetch(f,m);const A=vr&&(c==="stream"||c==="response");if(vr&&(a||A&&v)){const L={};["status","statusText","headers"].forEach(J=>{L[J]=S[J]});const B=h.toFiniteNumber(S.headers.get("content-length")),[U,N]=a&&ti(B,qt(ri(a),!0))||[];S=new Response(oi(S.body,ci,U,()=>{N&&N(),v&&v()}),L)}c=c||"text";let O=await Kt[h.findKey(Kt,c)||"text"](S,e);return!A&&v&&v(),await new Promise((L,B)=>{ei(L,B,{data:O,headers:te.from(S.headers),status:S.status,statusText:S.statusText,config:e,request:f})})}catch(k){throw v&&v(),k&&k.name==="TypeError"&&/Load failed|fetch/i.test(k.message)?Object.assign(new E("Network Error",E.ERR_NETWORK,e,f),{cause:k.cause||k}):E.from(k,k&&k.code,e,f)}})};h.forEach(Ar,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const ui=e=>`- ${e}`,ua=e=>h.isFunction(e)||e===null||e===!1,di={getAdapter:e=>{e=h.isArray(e)?e:[e];const{length:t}=e;let r,n;const i={};for(let o=0;o<t;o++){r=e[o];let s;if(n=r,!ua(r)&&(n=Ar[(s=String(r)).toLowerCase()],n===void 0))throw new E(`Unknown adapter '${s}'`);if(n)break;i[s||"#"+o]=n}if(!n){const o=Object.entries(i).map(([a,l])=>`adapter ${a} `+(l===!1?"is not supported by the environment":"is not available in the build"));let s=t?o.length>1?`since :
21
21
  `+o.map(ui).join(`
22
22
  `):" "+ui(o[0]):"as no adapter specified";throw new E("There is no suitable adapter to dispatch the request "+s,"ERR_NOT_SUPPORT")}return n},adapters:Ar};function kr(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new $e(null,e)}function fi(e){return kr(e),e.headers=te.from(e.headers),e.data=Sr.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),di.getAdapter(e.adapter||bt.adapter)(e).then(function(n){return kr(e),n.data=Sr.call(e,e.transformResponse,n),n.headers=te.from(n.headers),n},function(n){return $n(n)||(kr(e),n&&n.response&&(n.response.data=Sr.call(e,e.transformResponse,n.response),n.response.headers=te.from(n.response.headers))),Promise.reject(n)})}const hi="1.10.0",Jt={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Jt[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});const pi={};Jt.transitional=function(t,r,n){function i(o,s){return"[Axios v"+hi+"] Transitional option '"+o+"'"+s+(n?". "+n:"")}return(o,s,a)=>{if(t===!1)throw new E(i(s," has been removed"+(r?" in "+r:"")),E.ERR_DEPRECATED);return r&&!pi[s]&&(pi[s]=!0,console.warn(i(s," has been deprecated since v"+r+" and will be removed in the near future"))),t?t(o,s,a):!0}},Jt.spelling=function(t){return(r,n)=>(console.warn(`${n} is likely a misspelling of ${t}`),!0)};function da(e,t,r){if(typeof e!="object")throw new E("options must be an object",E.ERR_BAD_OPTION_VALUE);const n=Object.keys(e);let i=n.length;for(;i-- >0;){const o=n[i],s=t[o];if(s){const a=e[o],l=a===void 0||s(a,o,e);if(l!==!0)throw new E("option "+o+" must be "+l,E.ERR_BAD_OPTION_VALUE);continue}if(r!==!0)throw new E("Unknown option "+o,E.ERR_BAD_OPTION)}}const Yt={assertOptions:da,validators:Jt},Ce=Yt.validators;let Ve=class{constructor(t){this.defaults=t||{},this.interceptors={request:new Jn,response:new Jn}}async request(t,r){try{return await this._request(t,r)}catch(n){if(n instanceof Error){let i={};Error.captureStackTrace?Error.captureStackTrace(i):i=new Error;const o=i.stack?i.stack.replace(/^.+\n/,""):"";try{n.stack?o&&!String(n.stack).endsWith(o.replace(/^.+\n.+\n/,""))&&(n.stack+=`
23
- `+o):n.stack=o}catch{}}throw n}}_request(t,r){typeof t=="string"?(r=r||{},r.url=t):r=t||{},r=He(this.defaults,r);const{transitional:n,paramsSerializer:i,headers:o}=r;n!==void 0&&Yt.assertOptions(n,{silentJSONParsing:Ce.transitional(Ce.boolean),forcedJSONParsing:Ce.transitional(Ce.boolean),clarifyTimeoutError:Ce.transitional(Ce.boolean)},!1),i!=null&&(h.isFunction(i)?r.paramsSerializer={serialize:i}:Yt.assertOptions(i,{encode:Ce.function,serialize:Ce.function},!0)),r.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?r.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:r.allowAbsoluteUrls=!0),Yt.assertOptions(r,{baseUrl:Ce.spelling("baseURL"),withXsrfToken:Ce.spelling("withXSRFToken")},!0),r.method=(r.method||this.defaults.method||"get").toLowerCase();let s=o&&h.merge(o.common,o[r.method]);o&&h.forEach(["delete","get","head","post","put","patch","common"],f=>{delete o[f]}),r.headers=te.concat(s,o);const a=[];let l=!0;this.interceptors.request.forEach(function(v){typeof v.runWhen=="function"&&v.runWhen(r)===!1||(l=l&&v.synchronous,a.unshift(v.fulfilled,v.rejected))});const c=[];this.interceptors.response.forEach(function(v){c.push(v.fulfilled,v.rejected)});let u,d=0,m;if(!l){const f=[fi.bind(this),void 0];for(f.unshift.apply(f,a),f.push.apply(f,c),m=f.length,u=Promise.resolve(r);d<m;)u=u.then(f[d++],f[d++]);return u}m=a.length;let w=r;for(d=0;d<m;){const f=a[d++],v=a[d++];try{w=f(w)}catch(C){v.call(this,C);break}}try{u=fi.call(this,w)}catch(f){return Promise.reject(f)}for(d=0,m=c.length;d<m;)u=u.then(c[d++],c[d++]);return u}getUri(t){t=He(this.defaults,t);const r=ni(t.baseURL,t.url,t.allowAbsoluteUrls);return Kn(r,t.params,t.paramsSerializer)}};h.forEach(["delete","get","head","options"],function(t){Ve.prototype[t]=function(r,n){return this.request(He(n||{},{method:t,url:r,data:(n||{}).data}))}}),h.forEach(["post","put","patch"],function(t){function r(n){return function(o,s,a){return this.request(He(a||{},{method:t,headers:n?{"Content-Type":"multipart/form-data"}:{},url:o,data:s}))}}Ve.prototype[t]=r(),Ve.prototype[t+"Form"]=r(!0)});let fa=class Fi{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let r;this.promise=new Promise(function(o){r=o});const n=this;this.promise.then(i=>{if(!n._listeners)return;let o=n._listeners.length;for(;o-- >0;)n._listeners[o](i);n._listeners=null}),this.promise.then=i=>{let o;const s=new Promise(a=>{n.subscribe(a),o=a}).then(i);return s.cancel=function(){n.unsubscribe(o)},s},t(function(o,s,a){n.reason||(n.reason=new $e(o,s,a),r(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const r=this._listeners.indexOf(t);r!==-1&&this._listeners.splice(r,1)}toAbortSignal(){const t=new AbortController,r=n=>{t.abort(n)};return this.subscribe(r),t.signal.unsubscribe=()=>this.unsubscribe(r),t.signal}static source(){let t;return{token:new Fi(function(i){t=i}),cancel:t}}};function ha(e){return function(r){return e.apply(null,r)}}function pa(e){return h.isObject(e)&&e.isAxiosError===!0}const Rr={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(Rr).forEach(([e,t])=>{Rr[t]=e});function mi(e){const t=new Ve(e),r=Ln(Ve.prototype.request,t);return h.extend(r,Ve.prototype,t,{allOwnKeys:!0}),h.extend(r,t,null,{allOwnKeys:!0}),r.create=function(i){return mi(He(e,i))},r}const H=mi(bt);H.Axios=Ve,H.CanceledError=$e,H.CancelToken=fa,H.isCancel=$n,H.VERSION=hi,H.toFormData=zt,H.AxiosError=E,H.Cancel=H.CanceledError,H.all=function(t){return Promise.all(t)},H.spread=ha,H.isAxiosError=pa,H.mergeConfig=He,H.AxiosHeaders=te,H.formToJSON=e=>Xn(h.isHTMLForm(e)?new FormData(e):e),H.getAdapter=di.getAdapter,H.HttpStatusCode=Rr,H.default=H;const{Axios:Pa,AxiosError:Wa,CanceledError:Ha,isCancel:Va,CancelToken:Ga,VERSION:za,all:Za,Cancel:qa,isAxiosError:ja,spread:Ka,toFormData:Ja,AxiosHeaders:Ya,HttpStatusCode:Xa,formToJSON:Qa,getAdapter:$a,mergeConfig:el}=H,Tr=H.create({baseURL:window.location.hostname.includes("localhost")?"http://localhost:8080":"",withCredentials:!0}),Er=(e,t,r)=>Tr.post(e,t,r),ma=(e,t,r)=>Tr.put(e,t,r),ga=(e,t,r)=>Tr.patch(e,t,r),Te={info:(...e)=>{console.log("info",...e)},warn:(...e)=>{console.log("warn",...e)},error:(...e)=>{console.log("error",...e)}};function Xt(e){throw new Error("Unexpected object: "+e)}class ba{constructor(t){this.recorderSettings=t,this.buffer={data:[]},this.flushIntervalMs=2e3}capturedSessionId=null;buffer;stopFn;flushIntervalMs;flushTimer;setCapturedSessionId(t){this.capturedSessionId=t}start=()=>{if(Object.assign===void 0)return;this.buffer={data:[]};const t={emit:r=>{this.buffer.data.push(r)},blockClass:"scry-block"};switch(this.recorderSettings.maskingLevel){case j.None:break;case j.All:t.maskTextFn=r=>r.replaceAll(/./g,"*");break;case null:case j.InputAndTextArea:t.maskAllInputs=!0;break;case j.InputPasswordOrEmailAndTextArea:t.maskInputOptions={password:!0,email:!0,textarea:!0};break;default:Xt(this.recorderSettings.maskingLevel)}this.stopFn=pt(t),this.scheduleFlush()};scheduleFlush=()=>{this.flushTimer&&clearTimeout(this.flushTimer),this.flushTimer=setTimeout(this.flush,this.flushIntervalMs)};flush=async()=>{if(this.flushTimer&&(clearTimeout(this.flushTimer),this.flushTimer=void 0),this.capturedSessionId&&this.buffer.data.length>0)try{let t=await ga(`public/captured-sessions/${this.capturedSessionId}/recording`,this.buffer,{withCredentials:!1});t.status>=400?(Te.error(`status ${t.status} when trying to save session recording data.`),Te.error(t.data)):this.clearAllBufferData()}catch(t){Te.error("Error flushing session data:",t)}this.scheduleFlush()};stop=()=>{this.stopFn&&this.stopFn(),this.flushTimer&&(clearTimeout(this.flushTimer),this.flushTimer=void 0)};clearAllBufferData=()=>{this.buffer.data=[]}}class wa{constructor(t,r){this.window=t,this.recorderSettings=r}eventsBuffer=[];isRunning=!1;tagsToCapture=new Set(["button","a","select","textarea","input"]);queryParamsAllowed=new Set(["utm_source","source","ref","utm_medium","medium","utm_campaign","campaign","utm_content","content","utm_term","term"]);flushIntervalMs=2e3;capturedSessionId;flushTimerId=null;start=()=>{if(this.isRunning)return;this.isRunning=!0,this.eventsBuffer=[];const t=this.window.history.pushState.bind(this.window.history);this.window.history.pushState=(r,n,i)=>{let o="";return i instanceof URL?o=i.toString():i?o=i:o="",this.handlePageView(o),t(r,n,i)},this.window.addEventListener("pageshow",r=>{try{this.handlePageView(this.window.location.pathname)}catch(n){Te.error("Failed to capture URL change event",n)}}),this.window.addEventListener("change",this.handler),this.window.addEventListener("click",this.handler),this.window.addEventListener("keydown",this.handler),this.scheduleFlush()};scheduleFlush=()=>{this.flushTimerId&&clearTimeout(this.flushTimerId),this.flushTimerId=setTimeout(this.flush,this.flushIntervalMs)};flush=async()=>{if(this.eventsBuffer.length>0&&this.capturedSessionId)try{const t=await Er(`/public/captured-sessions/${this.capturedSessionId}/ui-events`,this.eventsBuffer,{withCredentials:!1});t.status!==201&&Te.error("Failed to save ui events",t.data),this.eventsBuffer=[]}catch(t){Te.error("Failed to save ui events",t),this.eventsBuffer=[]}this.scheduleFlush()};handlePageView=t=>{if(this.isRunning)try{const r=Date.now();t.charAt(0)==="/"||(t=this.window.location.pathname+"/"+t);const i=new URL(this.window.location.protocol+"//"+this.window.location.host+t+this.window.location.search),o=this.sanitizeUrlParams(i.toString(),this.queryParamsAllowed),s=new URL(o),a=Array.from(s.searchParams),l={eventType:"page_view",timestamp:r,text:t,host:s.hostname,path:t};a.length>0&&(l.queryParams=a),this.eventsBuffer.push(l)}catch(r){Te.error("Failed to capture URL change event",r)}};sanitizeUrlParams=(t,r)=>{try{const n=new URL(t);for(const i of n.searchParams.keys())r.has(i.toLowerCase())||n.searchParams.set(i,"$redacted");return n.toString()}catch(n){return Te.error("Failed to sanitize URL params",n),t}};handler=t=>{if(this.isRunning)try{const r=t.type,n=t.target,i=n?.tagName.toLowerCase();if(!(i&&this.tagsToCapture.has(i)))return;const o=new URL(this.window.location.href),s=o.hostname,a=o.pathname,l=Date.now(),c=this.captureDomContext(n);switch(t.type){case"click":const u=this.handleClick(n,i,l,s,a);this.eventsBuffer.push(u);break;case"keydown":const d=this.handleKeyDown(t,i,n,l,s,a);this.eventsBuffer.push(d);break;case"change":const m=this.handleChange(n,i,l,s,a);this.eventsBuffer.push(m);break;default:this.eventsBuffer.push({eventType:r,tagName:i,timestamp:l,host:s,path:a,text:null,domContext:c})}}catch(r){Te.error("Failed to capture event",r)}};handleChange(t,r,n,i,o){let s=null;switch(t instanceof HTMLSelectElement&&(s=t.options[t.selectedIndex].text),this.recorderSettings.maskingLevel){case j.None:break;case j.All:s=null;break;case null:case j.InputAndTextArea:break;case j.InputPasswordOrEmailAndTextArea:break;default:Xt(this.recorderSettings.maskingLevel)}return{eventType:"change",tagName:r,timestamp:n,text:s===""?null:s,host:i,path:o,domContext:this.captureDomContext(t)}}handleClick(t,r,n,i,o){let s="";if(t instanceof HTMLInputElement||t instanceof HTMLTextAreaElement){const a=this.findInputOrSelectOrTextAreaLabel(t);a?s=a:t.placeholder&&(s=t.placeholder)}else if(t instanceof HTMLSelectElement){const a=this.findInputOrSelectOrTextAreaLabel(t);a?s=a:s=t.value+" ("+t.options[t.selectedIndex].text+")"}else t instanceof HTMLButtonElement?s=t.innerText:t instanceof HTMLAnchorElement?s=t.href:t instanceof HTMLImageElement&&(s=t.src);switch(this.recorderSettings.maskingLevel){case j.None:break;case j.All:s=null;break;case null:case j.InputAndTextArea:(t instanceof HTMLInputElement||t instanceof HTMLTextAreaElement)&&(s=null);break;case j.InputPasswordOrEmailAndTextArea:(t instanceof HTMLTextAreaElement||t instanceof HTMLInputElement&&(t.type==="password"||t.type==="email"||t.type==="e-mail"))&&(s=null);break;default:Xt(this.recorderSettings.maskingLevel)}return{eventType:"click",tagName:r,timestamp:n,text:s===""?null:s,host:i,path:o,domContext:this.captureDomContext(t)}}handleKeyDown(t,r,n,i,o,s){const l=t.key;let c=null;if(n instanceof HTMLInputElement||n instanceof HTMLTextAreaElement){const u=this.findInputOrSelectOrTextAreaLabel(n);u?c=u:n.placeholder&&(c=n.placeholder)}switch(this.recorderSettings.maskingLevel){case j.None:break;case j.All:c=null;break;case null:case j.InputAndTextArea:(n instanceof HTMLInputElement||n instanceof HTMLTextAreaElement)&&(c=null);break;case j.InputPasswordOrEmailAndTextArea:(n instanceof HTMLTextAreaElement||n instanceof HTMLInputElement&&(n.type==="password"||n.type==="email"||n.type==="e-mail"))&&(c=null);break;default:Xt(this.recorderSettings.maskingLevel)}return{eventType:"keydown",tagName:r,timestamp:i,text:c,key:l,host:o,path:s,domContext:this.captureDomContext(n)}}findInputOrSelectOrTextAreaLabel=t=>{if(!t||!new Set(["input","select","textarea"]).has(t.tagName.toLowerCase()))return null;const n=t.closest("label");if(n){const a=Array.from(n.childNodes).filter(l=>l.nodeName.toLowerCase()!=="select").map(l=>(l.textContent??"").trim()).filter(Boolean).join(" ").trim();if(a)return a}const i=t.id;if(i){const a=t.ownerDocument.querySelector(`label[for="${CSS.escape(i)}"]`);if(a){const l=Array.from(a.childNodes).filter(c=>c.nodeName.toLowerCase()!=="select").map(c=>(c.textContent??"").trim()).filter(Boolean).join(" ").trim();if(l)return l}}const o=t.getAttribute("aria-label");if(o)return o.trim();const s=t.getAttribute("aria-labelledby");return s&&t.ownerDocument.getElementById(s)?.textContent?.trim()||null};stop=()=>{this.isRunning=!1,this.window.removeEventListener("change",this.handler),this.window.removeEventListener("click",this.handler),this.window.removeEventListener("keydown",this.handler),this.flushTimerId&&(clearTimeout(this.flushTimerId),this.flushTimerId=null)};captureDomContext=t=>{const r=[];r.push(this.toJsonNode(t));let n=t.parentElement;for(;n!=null&&r.length<6;)r.push(this.toJsonNode(n)),n=n.parentElement;return r};toJsonNode=t=>{const r={};return["id","class","name","type","role","aria-label"].forEach(n=>{const i=t.getAttribute(n);i&&(r[n]=i)}),{tag:t.tagName.toLowerCase(),attrs:r}};setCapturedSessionId(t){this.capturedSessionId=t}}var ya="2.0.4",Or=500,gi="user-agent",et="",bi="?",Qt="function",Fe="undefined",tt="object",xr="string",re="browser",Ee="cpu",Se="device",we="engine",fe="os",rt="result",y="name",p="type",b="vendor",I="version",ne="architecture",yt="major",g="model",It="console",R="mobile",_="tablet",V="smarttv",ve="wearable",$t="xr",Ct="embedded",St="inapp",Mr="brands",Ge="formFactors",Nr="fullVersionList",nt="platform",Lr="platformVersion",er="bitness",_e="sec-ch-ua",Ia=_e+"-full-version-list",Ca=_e+"-arch",Sa=_e+"-"+er,va=_e+"-form-factors",Aa=_e+"-"+R,ka=_e+"-"+g,wi=_e+"-"+nt,Ra=wi+"-version",yi=[Mr,Nr,R,g,nt,Lr,ne,Ge,er],tr="Amazon",it="Apple",Ii="ASUS",Ci="BlackBerry",ze="Google",Si="Huawei",Fr="Lenovo",vi="Honor",rr="LG",_r="Microsoft",Dr="Motorola",Br="Nvidia",Ai="OnePlus",Ur="OPPO",vt="Samsung",ki="Sharp",At="Sony",Pr="Xiaomi",Wr="Zebra",Ri="Chrome",Ti="Chromium",De="Chromecast",nr="Edge",kt="Firefox",Rt="Opera",Hr="Facebook",Ei="Sogou",st="Mobile ",Tt=" Browser",Vr="Windows",Ta=typeof window!==Fe,ie=Ta&&window.navigator?window.navigator:void 0,Be=ie&&ie.userAgentData?ie.userAgentData:void 0,Ea=function(e,t){var r={},n=t;if(!sr(t)){n={};for(var i in t)for(var o in t[i])n[o]=t[i][o].concat(n[o]?n[o]:[])}for(var s in e)r[s]=n[s]&&n[s].length%2===0?n[s].concat(e[s]):e[s];return r},ir=function(e){for(var t={},r=0;r<e.length;r++)t[e[r].toUpperCase()]=e[r];return t},Gr=function(e,t){if(typeof e===tt&&e.length>0){for(var r in e)if(Oe(t)==Oe(e[r]))return!0;return!1}return ot(e)?Oe(t)==Oe(e):!1},sr=function(e,t){for(var r in e)return/^(browser|cpu|device|engine|os)$/.test(r)||(t?sr(e[r]):!1)},ot=function(e){return typeof e===xr},zr=function(e){if(e){for(var t=[],r=at(/\\?\"/g,e).split(","),n=0;n<r.length;n++)if(r[n].indexOf(";")>-1){var i=or(r[n]).split(";v=");t[n]={brand:i[0],version:i[1]}}else t[n]=or(r[n]);return t}},Oe=function(e){return ot(e)?e.toLowerCase():e},Zr=function(e){return ot(e)?at(/[^\d\.]/g,e).split(".")[0]:void 0},xe=function(e){for(var t in e){var r=e[t];typeof r==tt&&r.length==2?this[r[0]]=r[1]:this[r]=void 0}return this},at=function(e,t){return ot(t)?t.replace(e,et):t},Et=function(e){return at(/\\?\"/g,e)},or=function(e,t){if(ot(e))return e=at(/^\s\s*/,e),typeof t===Fe?e:e.substring(0,Or)},qr=function(e,t){if(!(!e||!t))for(var r=0,n,i,o,s,a,l;r<t.length&&!a;){var c=t[r],u=t[r+1];for(n=i=0;n<c.length&&!a&&c[n];)if(a=c[n++].exec(e),a)for(o=0;o<u.length;o++)l=a[++i],s=u[o],typeof s===tt&&s.length>0?s.length===2?typeof s[1]==Qt?this[s[0]]=s[1].call(this,l):this[s[0]]=s[1]:s.length>=3&&(typeof s[1]===Qt&&!(s[1].exec&&s[1].test)?s.length>3?this[s[0]]=l?s[1].apply(this,s.slice(2)):void 0:this[s[0]]=l?s[1].call(this,l,s[2]):void 0:s.length==3?this[s[0]]=l?l.replace(s[1],s[2]):void 0:s.length==4?this[s[0]]=l?s[3].call(this,l.replace(s[1],s[2])):void 0:s.length>4&&(this[s[0]]=l?s[3].apply(this,[l.replace(s[1],s[2])].concat(s.slice(4))):void 0)):this[s]=l||void 0;r+=2}},Ae=function(e,t){for(var r in t)if(typeof t[r]===tt&&t[r].length>0){for(var n=0;n<t[r].length;n++)if(Gr(t[r][n],e))return r===bi?void 0:r}else if(Gr(t[r],e))return r===bi?void 0:r;return t.hasOwnProperty("*")?t["*"]:e},Oi={ME:"4.90","NT 3.51":"3.51","NT 4.0":"4.0",2e3:["5.0","5.01"],XP:["5.1","5.2"],Vista:"6.0",7:"6.1",8:"6.2","8.1":"6.3",10:["6.4","10.0"],NT:""},xi={embedded:"Automotive",mobile:"Mobile",tablet:["Tablet","EInk"],smarttv:"TV",wearable:"Watch",xr:["VR","XR"],"?":["Desktop","Unknown"],"*":void 0},Oa={Chrome:"Google Chrome",Edge:"Microsoft Edge","Edge WebView2":"Microsoft Edge WebView2","Chrome WebView":"Android WebView","Chrome Headless":"HeadlessChrome","Huawei Browser":"HuaweiBrowser","MIUI Browser":"Miui Browser","Opera Mobi":"OperaMobile",Yandex:"YaBrowser"},Mi={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[I,[y,st+"Chrome"]],[/webview.+edge\/([\w\.]+)/i],[I,[y,nr+" WebView"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[I,[y,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[y,I],[/opios[\/ ]+([\w\.]+)/i],[I,[y,Rt+" Mini"]],[/\bop(?:rg)?x\/([\w\.]+)/i],[I,[y,Rt+" GX"]],[/\bopr\/([\w\.]+)/i],[I,[y,Rt]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[I,[y,"Baidu"]],[/\b(?:mxbrowser|mxios|myie2)\/?([-\w\.]*)\b/i],[I,[y,"Maxthon"]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer|sleipnir)[\/ ]?([\w\.]*)/i,/(avant|iemobile|slim(?:browser|boat|jet))[\/ ]?([\d\.]*)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|duckduckgo|klar|helio|(?=comodo_)?dragon|otter|dooble|(?:lg |qute)browser)\/([-\w\.]+)/i,/(heytap|ovi|115|surf)browser\/([\d\.]+)/i,/(ecosia|weibo)(?:__| \w+@)([\d\.]+)/i],[y,I],[/quark(?:pc)?\/([-\w\.]+)/i],[I,[y,"Quark"]],[/\bddg\/([\w\.]+)/i],[I,[y,"DuckDuckGo"]],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[I,[y,"UCBrowser"]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[I,[y,"WeChat"]],[/konqueror\/([\w\.]+)/i],[I,[y,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[I,[y,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[I,[y,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[I,[y,"Smart "+Fr+Tt]],[/(avast|avg)\/([\w\.]+)/i],[[y,/(.+)/,"$1 Secure"+Tt],I],[/\bfocus\/([\w\.]+)/i],[I,[y,kt+" Focus"]],[/\bopt\/([\w\.]+)/i],[I,[y,Rt+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[I,[y,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[I,[y,"Dolphin"]],[/coast\/([\w\.]+)/i],[I,[y,Rt+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[I,[y,"MIUI"+Tt]],[/fxios\/([\w\.-]+)/i],[I,[y,st+kt]],[/\bqihoobrowser\/?([\w\.]*)/i],[I,[y,"360"]],[/\b(qq)\/([\w\.]+)/i],[[y,/(.+)/,"$1Browser"],I],[/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i],[[y,/(.+)/,"$1"+Tt],I],[/samsungbrowser\/([\w\.]+)/i],[I,[y,vt+" Internet"]],[/metasr[\/ ]?([\d\.]+)/i],[I,[y,Ei+" Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[y,Ei+" Mobile"],I],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345(?=browser|chrome|explorer))\w*[\/ ]?v?([\w\.]+)/i],[y,I],[/(lbbrowser|rekonq)/i],[y],[/ome\/([\w\.]+) \w* ?(iron) saf/i,/ome\/([\w\.]+).+qihu (360)[es]e/i],[I,y],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[y,Hr],I,[p,St]],[/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/(daum)apps[\/ ]([\w\.]+)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(alipay)client\/([\w\.]+)/i,/(twitter)(?:and| f.+e\/([\w\.]+))/i,/(instagram|snapchat|klarna)[\/ ]([-\w\.]+)/i],[y,I,[p,St]],[/\bgsa\/([\w\.]+) .*safari\//i],[I,[y,"GSA"],[p,St]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[I,[y,"TikTok"],[p,St]],[/\[(linkedin)app\]/i],[y,[p,St]],[/(chromium)[\/ ]([-\w\.]+)/i],[y,I],[/headlesschrome(?:\/([\w\.]+)| )/i],[I,[y,Ri+" Headless"]],[/wv\).+chrome\/([\w\.]+).+edgw\//i],[I,[y,nr+" WebView2"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[y,Ri+" WebView"],I],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[I,[y,"Android"+Tt]],[/chrome\/([\w\.]+) mobile/i],[I,[y,st+"Chrome"]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[y,I],[/version\/([\w\.\,]+) .*mobile(?:\/\w+ | ?)safari/i],[I,[y,st+"Safari"]],[/iphone .*mobile(?:\/\w+ | ?)safari/i],[[y,st+"Safari"]],[/version\/([\w\.\,]+) .*(safari)/i],[I,y],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[y,[I,"1"]],[/(webkit|khtml)\/([\w\.]+)/i],[y,I],[/(?:mobile|tablet);.*(firefox)\/([\w\.-]+)/i],[[y,st+kt],I],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[y,"Netscape"],I],[/(wolvic|librewolf)\/([\w\.]+)/i],[y,I],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[I,[y,kt+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(amaya|dillo|doris|icab|ladybird|lynx|mosaic|netsurf|obigo|polaris|w3m|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/\b(links) \(([\w\.]+)/i],[y,[I,/_/g,"."]],[/(cobalt)\/([\w\.]+)/i],[y,[I,/[^\d\.]+./,et]]],cpu:[[/\b((amd|x|x86[-_]?|wow|win)64)\b/i],[[ne,"amd64"]],[/(ia32(?=;))/i,/\b((i[346]|x)86)(pc)?\b/i],[[ne,"ia32"]],[/\b(aarch64|arm(v?[89]e?l?|_?64))\b/i],[[ne,"arm64"]],[/\b(arm(v[67])?ht?n?[fl]p?)\b/i],[[ne,"armhf"]],[/( (ce|mobile); ppc;|\/[\w\.]+arm\b)/i],[[ne,"arm"]],[/((ppc|powerpc)(64)?)( mac|;|\))/i],[[ne,/ower/,et,Oe]],[/ sun4\w[;\)]/i],[[ne,"sparc"]],[/\b(avr32|ia64(?=;)|68k(?=\))|\barm(?=v([1-7]|[5-7]1)l?|;|eabi)|(irix|mips|sparc)(64)?\b|pa-risc)/i],[[ne,Oe]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[g,[b,vt],[p,_]],[/\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]((?!sm-[lr]|browser)[-\w]+)/i,/sec-(sgh\w+)/i],[g,[b,vt],[p,R]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[g,[b,it],[p,R]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[g,[b,it],[p,_]],[/(macintosh);/i],[g,[b,it]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[g,[b,ki],[p,R]],[/\b((?:brt|eln|hey2?|gdi|jdn)-a?[lnw]09|(?:ag[rm]3?|jdn2|kob2)-a?[lw]0[09]hn)(?: bui|\)|;)/i],[g,[b,vi],[p,_]],[/honor([-\w ]+)[;\)]/i],[g,[b,vi],[p,R]],[/\b((?:ag[rs][2356]?k?|bah[234]?|bg[2o]|bt[kv]|cmr|cpn|db[ry]2?|jdn2|got|kob2?k?|mon|pce|scm|sht?|[tw]gr|vrd)-[ad]?[lw][0125][09]b?|605hw|bg2-u03|(?:gem|fdr|m2|ple|t1)-[7a]0[1-4][lu]|t1-a2[13][lw]|mediapad[\w\. ]*(?= bui|\)))\b(?!.+d\/s)/i],[g,[b,Si],[p,_]],[/(?:huawei)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[g,[b,Si],[p,R]],[/oid[^\)]+; (2[\dbc]{4}(182|283|rp\w{2})[cgl]|m2105k81a?c)(?: bui|\))/i,/\b((?:red)?mi[-_ ]?pad[\w- ]*)(?: bui|\))/i],[[g,/_/g," "],[b,Pr],[p,_]],[/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite|pro)?)(?: bui|\))/i,/ ([\w ]+) miui\/v?\d/i],[[g,/_/g," "],[b,Pr],[p,R]],[/droid.+; (cph2[3-6]\d[13579]|((gm|hd)19|(ac|be|in|kb)20|(d[en]|eb|le|mt)21|ne22)[0-2]\d|p[g-k]\w[1m]10)\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[g,[b,Ai],[p,R]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[g,[b,Ur],[p,R]],[/\b(opd2(\d{3}a?))(?: bui|\))/i],[g,[b,Ae,{OnePlus:["203","304","403","404","413","415"],"*":Ur}],[p,_]],[/(vivo (5r?|6|8l?|go|one|s|x[il]?[2-4]?)[\w\+ ]*)(?: bui|\))/i],[g,[b,"BLU"],[p,R]],[/; vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[g,[b,"Vivo"],[p,R]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[g,[b,"Realme"],[p,R]],[/(ideatab[-\w ]+|602lv|d-42a|a101lv|a2109a|a3500-hv|s[56]000|pb-6505[my]|tb-?x?\d{3,4}(?:f[cu]|xu|[av])|yt\d?-[jx]?\d+[lfmx])( bui|;|\)|\/)/i,/lenovo ?(b[68]0[08]0-?[hf]?|tab(?:[\w- ]+?)|tb[\w-]{6,7})( bui|;|\)|\/)/i],[g,[b,Fr],[p,_]],[/lenovo[-_ ]?([-\w ]+?)(?: bui|\)|\/)/i],[g,[b,Fr],[p,R]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ]([\w\s]+)(\)| bui)/i,/((?:moto(?! 360)[-\w\(\) ]+|xt\d{3,4}[cgkosw\+]?[-\d]*|nexus 6)(?= bui|\)))/i],[g,[b,Dr],[p,R]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[g,[b,Dr],[p,_]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[g,[b,rr],[p,_]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+(?!.*(?:browser|netcast|android tv|watch|webos))(\w+)/i,/\blg-?([\d\w]+) bui/i],[g,[b,rr],[p,R]],[/(nokia) (t[12][01])/i],[b,g,[p,_]],[/(?:maemo|nokia).*(n900|lumia \d+|rm-\d+)/i,/nokia[-_ ]?(([-\w\. ]*))/i],[[g,/_/g," "],[p,R],[b,"Nokia"]],[/(pixel (c|tablet))\b/i],[g,[b,ze],[p,_]],[/droid.+;(?: google)? (g(01[13]a|020[aem]|025[jn]|1b60|1f8f|2ybb|4s1m|576d|5nz6|8hhn|8vou|a02099|c15s|d1yq|e2ae|ec77|gh2x|kv4x|p4bc|pj41|r83y|tt9q|ur25|wvk6)|pixel[\d ]*a?( pro)?( xl)?( fold)?( \(5g\))?)( bui|\))/i],[g,[b,ze],[p,R]],[/(google) (pixelbook( go)?)/i],[b,g],[/droid.+; (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-\w\w\d\d)(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[g,[b,At],[p,R]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[g,"Xperia Tablet"],[b,At],[p,_]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[g,[b,tr],[p,_]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[g,/(.+)/g,"Fire Phone $1"],[b,tr],[p,R]],[/(playbook);[-\w\),; ]+(rim)/i],[g,b,[p,_]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[g,[b,Ci],[p,R]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[g,[b,Ii],[p,_]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[g,[b,Ii],[p,R]],[/(nexus 9)/i],[g,[b,"HTC"],[p,_]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[b,[g,/_/g," "],[p,R]],[/tcl (xess p17aa)/i,/droid [\w\.]+; ((?:8[14]9[16]|9(?:0(?:48|60|8[01])|1(?:3[27]|66)|2(?:6[69]|9[56])|466))[gqswx])(_\w(\w|\w\w))?(\)| bui)/i],[g,[b,"TCL"],[p,_]],[/droid [\w\.]+; (418(?:7d|8v)|5087z|5102l|61(?:02[dh]|25[adfh]|27[ai]|56[dh]|59k|65[ah])|a509dl|t(?:43(?:0w|1[adepqu])|50(?:6d|7[adju])|6(?:09dl|10k|12b|71[efho]|76[hjk])|7(?:66[ahju]|67[hw]|7[045][bh]|71[hk]|73o|76[ho]|79w|81[hks]?|82h|90[bhsy]|99b)|810[hs]))(_\w(\w|\w\w))?(\)| bui)/i],[g,[b,"TCL"],[p,R]],[/(itel) ((\w+))/i],[[b,Oe],g,[p,Ae,{tablet:["p10001l","w7001"],"*":"mobile"}]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[g,[b,"Acer"],[p,_]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[g,[b,"Meizu"],[p,R]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[g,[b,"Ulefone"],[p,R]],[/; (energy ?\w+)(?: bui|\))/i,/; energizer ([\w ]+)(?: bui|\))/i],[g,[b,"Energizer"],[p,R]],[/; cat (b35);/i,/; (b15q?|s22 flip|s48c|s62 pro)(?: bui|\))/i],[g,[b,"Cat"],[p,R]],[/((?:new )?andromax[\w- ]+)(?: bui|\))/i],[g,[b,"Smartfren"],[p,R]],[/droid.+; (a(in)?(0(15|59|6[35])|142)p?)/i],[g,[b,"Nothing"],[p,R]],[/; (x67 5g|tikeasy \w+|ac[1789]\d\w+)( b|\))/i,/archos ?(5|gamepad2?|([\w ]*[t1789]|hello) ?\d+[\w ]*)( b|\))/i],[g,[b,"Archos"],[p,_]],[/archos ([\w ]+)( b|\))/i,/; (ac[3-6]\d\w{2,8})( b|\))/i],[g,[b,"Archos"],[p,R]],[/; (n159v)/i],[g,[b,"HMD"],[p,R]],[/(imo) (tab \w+)/i,/(infinix|tecno) (x1101b?|p904|dp(7c|8d|10a)( pro)?|p70[1-3]a?|p904|t1101)/i],[b,g,[p,_]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus(?! zenw)|dell|jolla|meizu|motorola|polytron|tecno|micromax|advan)[-_ ]?([-\w]*)/i,/; (blu|hmd|imo|infinix|lava|oneplus|tcl)[_ ]([\w\+ ]+?)(?: bui|\)|; r)/i,/(hp) ([\w ]+\w)/i,/(microsoft); (lumia[\w ]+)/i,/(oppo) ?([\w ]+) bui/i],[b,g,[p,R]],[/(kobo)\s(ereader|touch)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i],[b,g,[p,_]],[/(surface duo)/i],[g,[b,_r],[p,_]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[g,[b,"Fairphone"],[p,R]],[/((?:tegranote|shield t(?!.+d tv))[\w- ]*?)(?: b|\))/i],[g,[b,Br],[p,_]],[/(sprint) (\w+)/i],[b,g,[p,R]],[/(kin\.[onetw]{3})/i],[[g,/\./g," "],[b,_r],[p,R]],[/droid.+; ([c6]+|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[g,[b,Wr],[p,_]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[g,[b,Wr],[p,R]],[/smart-tv.+(samsung)/i],[b,[p,V]],[/hbbtv.+maple;(\d+)/i],[[g,/^/,"SmartTV"],[b,vt],[p,V]],[/(vizio)(?: |.+model\/)(\w+-\w+)/i,/tcast.+(lg)e?. ([-\w]+)/i],[b,g,[p,V]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[b,rr],[p,V]],[/(apple) ?tv/i],[b,[g,it+" TV"],[p,V]],[/crkey.*devicetype\/chromecast/i],[[g,De+" Third Generation"],[b,ze],[p,V]],[/crkey.*devicetype\/([^/]*)/i],[[g,/^/,"Chromecast "],[b,ze],[p,V]],[/fuchsia.*crkey/i],[[g,De+" Nest Hub"],[b,ze],[p,V]],[/crkey/i],[[g,De],[b,ze],[p,V]],[/(portaltv)/i],[g,[b,Hr],[p,V]],[/droid.+aft(\w+)( bui|\))/i],[g,[b,tr],[p,V]],[/(shield \w+ tv)/i],[g,[b,Br],[p,V]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[g,[b,ki],[p,V]],[/(bravia[\w ]+)( bui|\))/i],[g,[b,At],[p,V]],[/(mi(tv|box)-?\w+) bui/i],[g,[b,Pr],[p,V]],[/Hbbtv.*(technisat) (.*);/i],[b,g,[p,V]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[b,/.+\/(\w+)/,"$1",Ae,{LG:"lge"}],[g,or],[p,V]],[/droid.+; ([\w- ]+) (?:android tv|smart[- ]?tv)/i],[g,[p,V]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:|large screen[\w ]+safari)\b/i],[[p,V]],[/(playstation \w+)/i],[g,[b,At],[p,It]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[g,[b,_r],[p,It]],[/(ouya)/i,/(nintendo) (\w+)/i,/(retroid) (pocket ([^\)]+))/i],[b,g,[p,It]],[/droid.+; (shield)( bui|\))/i],[g,[b,Br],[p,It]],[/\b(sm-[lr]\d\d[0156][fnuw]?s?|gear live)\b/i],[g,[b,vt],[p,ve]],[/((pebble))app/i,/(asus|google|lg|oppo) ((pixel |zen)?watch[\w ]*)( bui|\))/i],[b,g,[p,ve]],[/(ow(?:19|20)?we?[1-3]{1,3})/i],[g,[b,Ur],[p,ve]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[g,[b,it],[p,ve]],[/(opwwe\d{3})/i],[g,[b,Ai],[p,ve]],[/(moto 360)/i],[g,[b,Dr],[p,ve]],[/(smartwatch 3)/i],[g,[b,At],[p,ve]],[/(g watch r)/i],[g,[b,rr],[p,ve]],[/droid.+; (wt63?0{2,3})\)/i],[g,[b,Wr],[p,ve]],[/droid.+; (glass) \d/i],[g,[b,ze],[p,$t]],[/(pico) (4|neo3(?: link|pro)?)/i],[b,g,[p,$t]],[/(quest( \d| pro)?s?).+vr/i],[g,[b,Hr],[p,$t]],[/mobile vr; rv.+firefox/i],[[p,$t]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[b,[p,Ct]],[/(aeobc)\b/i],[g,[b,tr],[p,Ct]],[/(homepod).+mac os/i],[g,[b,it],[p,Ct]],[/windows iot/i],[[p,Ct]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+?(mobile|vr|\d) safari/i],[g,[p,Ae,{mobile:"Mobile",xr:"VR","*":_}]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[p,_]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[p,R]],[/droid .+?; ([\w\. -]+)( bui|\))/i],[g,[b,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[I,[y,nr+"HTML"]],[/(arkweb)\/([\w\.]+)/i],[y,I],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[I,[y,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna|servo)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[y,I],[/ladybird\//i],[[y,"LibWeb"]],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[I,y]],os:[[/(windows nt) (6\.[23]); arm/i],[[y,/N/,"R"],[I,Ae,Oi]],[/(windows (?:phone|mobile|iot))(?: os)?[\/ ]?([\d\.]*( se)?)/i,/(windows)[\/ ](1[01]|2000|3\.1|7|8(\.1)?|9[58]|me|server 20\d\d( r2)?|vista|xp)/i],[y,I],[/windows nt ?([\d\.\)]*)(?!.+xbox)/i,/\bwin(?=3| ?9|n)(?:nt| 9x )?([\d\.;]*)/i],[[I,/(;|\))/g,"",Ae,Oi],[y,Vr]],[/(windows ce)\/?([\d\.]*)/i],[y,I],[/[adehimnop]{4,7}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[I,/_/g,"."],[y,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+(haiku|morphos))/i],[[y,"macOS"],[I,/_/g,"."]],[/android ([\d\.]+).*crkey/i],[I,[y,De+" Android"]],[/fuchsia.*crkey\/([\d\.]+)/i],[I,[y,De+" Fuchsia"]],[/crkey\/([\d\.]+).*devicetype\/smartspeaker/i],[I,[y,De+" SmartSpeaker"]],[/linux.*crkey\/([\d\.]+)/i],[I,[y,De+" Linux"]],[/crkey\/([\d\.]+)/i],[I,[y,De]],[/droid ([\w\.]+)\b.+(android[- ]x86)/i],[I,y],[/(ubuntu) ([\w\.]+) like android/i],[[y,/(.+)/,"$1 Touch"],I],[/(harmonyos)[\/ ]?([\d\.]*)/i,/(android|bada|blackberry|kaios|maemo|meego|openharmony|qnx|rim tablet os|sailfish|series40|symbian|tizen)\w*[-\/\.; ]?([\d\.]*)/i],[y,I],[/\(bb(10);/i],[I,[y,Ci]],[/(?:symbian ?os|symbos|s60(?=;)|series ?60)[-\/ ]?([\w\.]*)/i],[I,[y,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[I,[y,kt+" OS"]],[/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i,/webos(?:[ \/]?|\.tv-20(?=2[2-9]))(\d[\d\.]*)/i],[I,[y,"webOS"]],[/web0s;.+?(?:chr[o0]me|safari)\/(\d+)/i],[[I,Ae,{25:"120",24:"108",23:"94",22:"87",6:"79",5:"68",4:"53",3:"38",2:"538",1:"537","*":"TV"}],[y,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[I,[y,"watchOS"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[y,"Chrome OS"],I],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) (\w+)/i,/(xbox); +xbox ([^\);]+)/i,/(pico) .+os([\w\.]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/linux.+(mint)[\/\(\) ]?([\w\.]*)/i,/(mageia|vectorlinux|fuchsia|arcaos|arch(?= ?linux))[;l ]([\d\.]*)/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire|knoppix)(?: gnu[\/ ]linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/\b(aix)[; ]([1-9\.]{0,4})/i,/(hurd|linux|morphos)(?: (?:arm|x86|ppc)\w*| ?)([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) ?(r\d)?/i],[y,I],[/(sunos) ?([\d\.]*)/i],[[y,"Solaris"],I],[/\b(beos|os\/2|amigaos|openvms|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[y,I]]},ar=function(){var e={init:{},isIgnore:{},isIgnoreRgx:{},toString:{}};return xe.call(e.init,[[re,[y,I,yt,p]],[Ee,[ne]],[Se,[p,g,b]],[we,[y,I]],[fe,[y,I]]]),xe.call(e.isIgnore,[[re,[I,yt]],[we,[I]],[fe,[I]]]),xe.call(e.isIgnoreRgx,[[re,/ ?browser$/i],[fe,/ ?os$/i]]),xe.call(e.toString,[[re,[y,I]],[Ee,[ne]],[Se,[b,g]],[we,[y,I]],[fe,[y,I]]]),e}(),xa=function(e,t){var r=ar.init[t],n=ar.isIgnore[t]||0,i=ar.isIgnoreRgx[t]||0,o=ar.toString[t]||0;function s(){xe.call(this,r)}return s.prototype.getItem=function(){return e},s.prototype.withClientHints=function(){return Be?Be.getHighEntropyValues(yi).then(function(a){return e.setCH(new Ni(a,!1)).parseCH().get()}):e.parseCH().get()},s.prototype.withFeatureCheck=function(){return e.detectFeature().get()},t!=rt&&(s.prototype.is=function(a){var l=!1;for(var c in this)if(this.hasOwnProperty(c)&&!Gr(n,c)&&Oe(i?at(i,this[c]):this[c])==Oe(i?at(i,a):a)){if(l=!0,a!=Fe)break}else if(a==Fe&&l){l=!l;break}return l},s.prototype.toString=function(){var a=et;for(var l in o)typeof this[o[l]]!==Fe&&(a+=(a?" ":et)+this[o[l]]);return a||Fe}),Be||(s.prototype.then=function(a){var l=this,c=function(){for(var d in l)l.hasOwnProperty(d)&&(this[d]=l[d])};c.prototype={is:s.prototype.is,toString:s.prototype.toString};var u=new c;return a(u),u}),new s};function Ni(e,t){if(e=e||{},xe.call(this,yi),t)xe.call(this,[[Mr,zr(e[_e])],[Nr,zr(e[Ia])],[R,/\?1/.test(e[Aa])],[g,Et(e[ka])],[nt,Et(e[wi])],[Lr,Et(e[Ra])],[ne,Et(e[Ca])],[Ge,zr(e[va])],[er,Et(e[Sa])]]);else for(var r in e)this.hasOwnProperty(r)&&typeof e[r]!==Fe&&(this[r]=e[r])}function Li(e,t,r,n){return this.get=function(i){return i?this.data.hasOwnProperty(i)?this.data[i]:void 0:this.data},this.set=function(i,o){return this.data[i]=o,this},this.setCH=function(i){return this.uaCH=i,this},this.detectFeature=function(){if(ie&&ie.userAgent==this.ua)switch(this.itemType){case re:ie.brave&&typeof ie.brave.isBrave==Qt&&this.set(y,"Brave");break;case Se:!this.get(p)&&Be&&Be[R]&&this.set(p,R),this.get(g)=="Macintosh"&&ie&&typeof ie.standalone!==Fe&&ie.maxTouchPoints&&ie.maxTouchPoints>2&&this.set(g,"iPad").set(p,_);break;case fe:!this.get(y)&&Be&&Be[nt]&&this.set(y,Be[nt]);break;case rt:var i=this.data,o=function(s){return i[s].getItem().detectFeature().get()};this.set(re,o(re)).set(Ee,o(Ee)).set(Se,o(Se)).set(we,o(we)).set(fe,o(fe))}return this},this.parseUA=function(){return this.itemType!=rt&&qr.call(this.data,this.ua,this.rgxMap),this.itemType==re&&this.set(yt,Zr(this.get(I))),this},this.parseCH=function(){var i=this.uaCH,o=this.rgxMap;switch(this.itemType){case re:case we:var s=i[Nr]||i[Mr],a;if(s)for(var l in s){var c=s[l].brand||s[l],u=s[l].version;this.itemType==re&&!/not.a.brand/i.test(c)&&(!a||/Chrom/.test(a)&&c!=Ti||a==nr&&/WebView2/.test(c))&&(c=Ae(c,Oa),a=this.get(y),a&&!/Chrom/.test(a)&&/Chrom/.test(c)||this.set(y,c).set(I,u).set(yt,Zr(u)),a=c),this.itemType==we&&c==Ti&&this.set(I,u)}break;case Ee:var d=i[ne];d&&(d&&i[er]=="64"&&(d+="64"),qr.call(this.data,d+";",o));break;case Se:if(i[R]&&this.set(p,R),i[g]&&(this.set(g,i[g]),!this.get(p)||!this.get(b))){var m={};qr.call(m,"droid 9; "+i[g]+")",o),!this.get(p)&&m.type&&this.set(p,m.type),!this.get(b)&&m.vendor&&this.set(b,m.vendor)}if(i[Ge]){var w;if(typeof i[Ge]!="string")for(var f=0;!w&&f<i[Ge].length;)w=Ae(i[Ge][f++],xi);else w=Ae(i[Ge],xi);this.set(p,w)}break;case fe:var v=i[nt];if(v){var C=i[Lr];v==Vr&&(C=parseInt(Zr(C),10)>=13?"11":"10"),this.set(y,v).set(I,C)}this.get(y)==Vr&&i[g]=="Xbox"&&this.set(y,"Xbox").set(I,void 0);break;case rt:var k=this.data,S=function(A){return k[A].getItem().setCH(i).parseCH().get()};this.set(re,S(re)).set(Ee,S(Ee)).set(Se,S(Se)).set(we,S(we)).set(fe,S(fe))}return this},xe.call(this,[["itemType",e],["ua",t],["uaCH",n],["rgxMap",r],["data",xa(this,e)]]),this}function Me(e,t,r){if(typeof e===tt?(sr(e,!0)?(typeof t===tt&&(r=t),t=e):(r=e,t=void 0),e=void 0):typeof e===xr&&!sr(t,!0)&&(r=t,t=void 0),r&&typeof r.append===Qt){var n={};r.forEach(function(l,c){n[c]=l}),r=n}if(!(this instanceof Me))return new Me(e,t,r).getResult();var i=typeof e===xr?e:r&&r[gi]?r[gi]:ie&&ie.userAgent?ie.userAgent:et,o=new Ni(r,!0),s=t?Ea(Mi,t):Mi,a=function(l){return l==rt?function(){return new Li(l,i,s,o).set("ua",i).set(re,this.getBrowser()).set(Ee,this.getCPU()).set(Se,this.getDevice()).set(we,this.getEngine()).set(fe,this.getOS()).get()}:function(){return new Li(l,i,s[l],o).parseUA().get()}};return xe.call(this,[["getBrowser",a(re)],["getCPU",a(Ee)],["getDevice",a(Se)],["getEngine",a(we)],["getOS",a(fe)],["getResult",a(rt)],["getUA",function(){return i}],["setUA",function(l){return ot(l)&&(i=l.length>Or?or(l,Or):l),this}]]).setUA(i),this}Me.VERSION=ya,Me.BROWSER=ir([y,I,yt,p]),Me.CPU=ir([ne]),Me.DEVICE=ir([g,b,p,It,R,V,_,ve,Ct]),Me.ENGINE=Me.OS=ir([y,I]);class Ma{constructor(t,r,n){this.window=t,this.publicToken=r,this.recorderSettings=n,n.maskingLevel==null&&(n.maskingLevel="input-and-textarea"),this.sessionRecorder=new ba(n),this.eventRecorder=new wa(t,n),Er("public/captured-sessions",{publicToken:r},{withCredentials:!1}).then(i=>{const o=i.data;this.capturedSessionId=o,this.sessionRecorder.setCapturedSessionId(o),this.eventRecorder.setCapturedSessionId(o),this.schedulePing();const s=this.collectCapturedUserMetadata();Er(`public/captured-sessions/${this.capturedSessionId}/captured-session/metadata`,s,{withCredentials:!1})}).catch(i=>{console.error(i),this.sessionRecorder.stop(),this.eventRecorder.stop()})}sessionRecorder;eventRecorder;capturedSessionId=null;pingIntervalMs=2e4;pingTimeout=null;schedulePing(){this.pingTimeout&&clearTimeout(this.pingTimeout),this.pingTimeout=setTimeout(this.ping,this.pingIntervalMs)}ping=async()=>{await ma(`public/captured-sessions/${this.capturedSessionId}/ping`,{},{withCredentials:!1}),this.schedulePing()};start(){this.sessionRecorder.start(),this.eventRecorder.start()}stop(){this.sessionRecorder.stop(),this.eventRecorder.stop()}collectCapturedUserMetadata=()=>{const t=new Me,r=t.getBrowser().name,n=t.getBrowser().version,i=t.getOS().name,o=t.getOS().version,s=t.getDevice().type??"desktop",a=navigator.language,l=Intl.DateTimeFormat().resolvedOptions().timeZone,c=document.referrer||void 0;let u;try{u=c?new URL(c).hostname:void 0}catch{}const d=window.innerWidth||document.documentElement.clientWidth,m=window.innerHeight||document.documentElement.clientHeight,w=new URL(window.location.href),f=w.searchParams.get("utm_source")||w.searchParams.get("source")||w.searchParams.get("ref")||void 0,v=w.searchParams.get("utm_medium")||w.searchParams.get("medium")||void 0,C=w.searchParams.get("utm_campaign")||w.searchParams.get("campaign")||void 0,k=w.searchParams.get("utm_content")||w.searchParams.get("content")||void 0,S=w.searchParams.get("utm_term")||w.searchParams.get("term")||void 0;return{browserName:r,browserVersion:n,osName:i,osVersion:o,deviceType:s,browserLanguage:a,browserTimeZone:l,referringUrl:c,referringDomain:u,viewportWidth:d,viewportHeight:m,utmSource:f,utmMedium:v,utmCampaign:C,utmContent:k,utmTerm:S}}}var j=(e=>(e.None="none",e.All="all",e.InputAndTextArea="input-and-textarea",e.InputPasswordOrEmailAndTextArea="input-password-or-email-and-textarea",e))(j||{});return xt.MaskingLevel=j,xt.Recorder=Ma,Object.defineProperty(xt,Symbol.toStringTag,{value:"Module"}),xt}({});
23
+ `+o):n.stack=o}catch{}}throw n}}_request(t,r){typeof t=="string"?(r=r||{},r.url=t):r=t||{},r=He(this.defaults,r);const{transitional:n,paramsSerializer:i,headers:o}=r;n!==void 0&&Yt.assertOptions(n,{silentJSONParsing:Ce.transitional(Ce.boolean),forcedJSONParsing:Ce.transitional(Ce.boolean),clarifyTimeoutError:Ce.transitional(Ce.boolean)},!1),i!=null&&(h.isFunction(i)?r.paramsSerializer={serialize:i}:Yt.assertOptions(i,{encode:Ce.function,serialize:Ce.function},!0)),r.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?r.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:r.allowAbsoluteUrls=!0),Yt.assertOptions(r,{baseUrl:Ce.spelling("baseURL"),withXsrfToken:Ce.spelling("withXSRFToken")},!0),r.method=(r.method||this.defaults.method||"get").toLowerCase();let s=o&&h.merge(o.common,o[r.method]);o&&h.forEach(["delete","get","head","post","put","patch","common"],f=>{delete o[f]}),r.headers=te.concat(s,o);const a=[];let l=!0;this.interceptors.request.forEach(function(v){typeof v.runWhen=="function"&&v.runWhen(r)===!1||(l=l&&v.synchronous,a.unshift(v.fulfilled,v.rejected))});const c=[];this.interceptors.response.forEach(function(v){c.push(v.fulfilled,v.rejected)});let u,d=0,m;if(!l){const f=[fi.bind(this),void 0];for(f.unshift.apply(f,a),f.push.apply(f,c),m=f.length,u=Promise.resolve(r);d<m;)u=u.then(f[d++],f[d++]);return u}m=a.length;let w=r;for(d=0;d<m;){const f=a[d++],v=a[d++];try{w=f(w)}catch(C){v.call(this,C);break}}try{u=fi.call(this,w)}catch(f){return Promise.reject(f)}for(d=0,m=c.length;d<m;)u=u.then(c[d++],c[d++]);return u}getUri(t){t=He(this.defaults,t);const r=ni(t.baseURL,t.url,t.allowAbsoluteUrls);return Kn(r,t.params,t.paramsSerializer)}};h.forEach(["delete","get","head","options"],function(t){Ve.prototype[t]=function(r,n){return this.request(He(n||{},{method:t,url:r,data:(n||{}).data}))}}),h.forEach(["post","put","patch"],function(t){function r(n){return function(o,s,a){return this.request(He(a||{},{method:t,headers:n?{"Content-Type":"multipart/form-data"}:{},url:o,data:s}))}}Ve.prototype[t]=r(),Ve.prototype[t+"Form"]=r(!0)});let fa=class Fi{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let r;this.promise=new Promise(function(o){r=o});const n=this;this.promise.then(i=>{if(!n._listeners)return;let o=n._listeners.length;for(;o-- >0;)n._listeners[o](i);n._listeners=null}),this.promise.then=i=>{let o;const s=new Promise(a=>{n.subscribe(a),o=a}).then(i);return s.cancel=function(){n.unsubscribe(o)},s},t(function(o,s,a){n.reason||(n.reason=new $e(o,s,a),r(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const r=this._listeners.indexOf(t);r!==-1&&this._listeners.splice(r,1)}toAbortSignal(){const t=new AbortController,r=n=>{t.abort(n)};return this.subscribe(r),t.signal.unsubscribe=()=>this.unsubscribe(r),t.signal}static source(){let t;return{token:new Fi(function(i){t=i}),cancel:t}}};function ha(e){return function(r){return e.apply(null,r)}}function pa(e){return h.isObject(e)&&e.isAxiosError===!0}const Rr={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(Rr).forEach(([e,t])=>{Rr[t]=e});function mi(e){const t=new Ve(e),r=Ln(Ve.prototype.request,t);return h.extend(r,Ve.prototype,t,{allOwnKeys:!0}),h.extend(r,t,null,{allOwnKeys:!0}),r.create=function(i){return mi(He(e,i))},r}const H=mi(bt);H.Axios=Ve,H.CanceledError=$e,H.CancelToken=fa,H.isCancel=$n,H.VERSION=hi,H.toFormData=zt,H.AxiosError=E,H.Cancel=H.CanceledError,H.all=function(t){return Promise.all(t)},H.spread=ha,H.isAxiosError=pa,H.mergeConfig=He,H.AxiosHeaders=te,H.formToJSON=e=>Xn(h.isHTMLForm(e)?new FormData(e):e),H.getAdapter=di.getAdapter,H.HttpStatusCode=Rr,H.default=H;const{Axios:Pa,AxiosError:Wa,CanceledError:Ha,isCancel:Va,CancelToken:Ga,VERSION:za,all:Za,Cancel:qa,isAxiosError:ja,spread:Ka,toFormData:Ja,AxiosHeaders:Ya,HttpStatusCode:Xa,formToJSON:Qa,getAdapter:$a,mergeConfig:el}=H,Tr=H.create({baseURL:"https://scryspell.com",withCredentials:!0}),Er=(e,t,r)=>Tr.post(e,t,r),ma=(e,t,r)=>Tr.put(e,t,r),ga=(e,t,r)=>Tr.patch(e,t,r),Te={info:(...e)=>{console.log("info",...e)},warn:(...e)=>{console.log("warn",...e)},error:(...e)=>{console.log("error",...e)}};function Xt(e){throw new Error("Unexpected object: "+e)}class ba{constructor(t){this.recorderSettings=t,this.buffer={data:[]},this.flushIntervalMs=2e3}capturedSessionId=null;buffer;stopFn;flushIntervalMs;flushTimer;setCapturedSessionId(t){this.capturedSessionId=t}start=()=>{if(Object.assign===void 0)return;this.buffer={data:[]};const t={emit:r=>{this.buffer.data.push(r)},blockClass:"scry-block"};switch(this.recorderSettings.maskingLevel){case j.None:break;case j.All:t.maskTextFn=r=>r.replaceAll(/./g,"*");break;case null:case j.InputAndTextArea:t.maskAllInputs=!0;break;case j.InputPasswordOrEmailAndTextArea:t.maskInputOptions={password:!0,email:!0,textarea:!0};break;default:Xt(this.recorderSettings.maskingLevel)}this.stopFn=pt(t),this.scheduleFlush()};scheduleFlush=()=>{this.flushTimer&&clearTimeout(this.flushTimer),this.flushTimer=setTimeout(this.flush,this.flushIntervalMs)};flush=async()=>{if(this.flushTimer&&(clearTimeout(this.flushTimer),this.flushTimer=void 0),this.capturedSessionId&&this.buffer.data.length>0)try{let t=await ga(`public/captured-sessions/${this.capturedSessionId}/recording`,this.buffer,{withCredentials:!1});t.status>=400?(Te.error(`status ${t.status} when trying to save session recording data.`),Te.error(t.data)):this.clearAllBufferData()}catch(t){Te.error("Error flushing session data:",t)}this.scheduleFlush()};stop=()=>{this.stopFn&&this.stopFn(),this.flushTimer&&(clearTimeout(this.flushTimer),this.flushTimer=void 0)};clearAllBufferData=()=>{this.buffer.data=[]}}class wa{constructor(t,r){this.window=t,this.recorderSettings=r}eventsBuffer=[];isRunning=!1;tagsToCapture=new Set(["button","a","select","textarea","input"]);queryParamsAllowed=new Set(["utm_source","source","ref","utm_medium","medium","utm_campaign","campaign","utm_content","content","utm_term","term"]);flushIntervalMs=2e3;capturedSessionId;flushTimerId=null;start=()=>{if(this.isRunning)return;this.isRunning=!0,this.eventsBuffer=[];const t=this.window.history.pushState.bind(this.window.history);this.window.history.pushState=(r,n,i)=>{let o="";return i instanceof URL?o=i.toString():i?o=i:o="",this.handlePageView(o),t(r,n,i)},this.window.addEventListener("pageshow",r=>{try{this.handlePageView(this.window.location.pathname)}catch(n){Te.error("Failed to capture URL change event",n)}}),this.window.addEventListener("change",this.handler),this.window.addEventListener("click",this.handler),this.window.addEventListener("keydown",this.handler),this.scheduleFlush()};scheduleFlush=()=>{this.flushTimerId&&clearTimeout(this.flushTimerId),this.flushTimerId=setTimeout(this.flush,this.flushIntervalMs)};flush=async()=>{if(this.eventsBuffer.length>0&&this.capturedSessionId)try{const t=await Er(`/public/captured-sessions/${this.capturedSessionId}/ui-events`,this.eventsBuffer,{withCredentials:!1});t.status!==201&&Te.error("Failed to save ui events",t.data),this.eventsBuffer=[]}catch(t){Te.error("Failed to save ui events",t),this.eventsBuffer=[]}this.scheduleFlush()};handlePageView=t=>{if(this.isRunning)try{const r=Date.now();t.charAt(0)==="/"||(t=this.window.location.pathname+"/"+t);const i=new URL(this.window.location.protocol+"//"+this.window.location.host+t+this.window.location.search),o=this.sanitizeUrlParams(i.toString(),this.queryParamsAllowed),s=new URL(o),a=Array.from(s.searchParams),l={eventType:"page_view",timestamp:r,text:t,host:s.hostname,path:t};a.length>0&&(l.queryParams=a),this.eventsBuffer.push(l)}catch(r){Te.error("Failed to capture URL change event",r)}};sanitizeUrlParams=(t,r)=>{try{const n=new URL(t);for(const i of n.searchParams.keys())r.has(i.toLowerCase())||n.searchParams.set(i,"$redacted");return n.toString()}catch(n){return Te.error("Failed to sanitize URL params",n),t}};handler=t=>{if(this.isRunning)try{const r=t.type,n=t.target,i=n?.tagName.toLowerCase();if(!(i&&this.tagsToCapture.has(i)))return;const o=new URL(this.window.location.href),s=o.hostname,a=o.pathname,l=Date.now(),c=this.captureDomContext(n);switch(t.type){case"click":const u=this.handleClick(n,i,l,s,a);this.eventsBuffer.push(u);break;case"keydown":const d=this.handleKeyDown(t,i,n,l,s,a);this.eventsBuffer.push(d);break;case"change":const m=this.handleChange(n,i,l,s,a);this.eventsBuffer.push(m);break;default:this.eventsBuffer.push({eventType:r,tagName:i,timestamp:l,host:s,path:a,text:null,domContext:c})}}catch(r){Te.error("Failed to capture event",r)}};handleChange(t,r,n,i,o){let s=null;switch(t instanceof HTMLSelectElement&&(s=t.options[t.selectedIndex].text),this.recorderSettings.maskingLevel){case j.None:break;case j.All:s=null;break;case null:case j.InputAndTextArea:break;case j.InputPasswordOrEmailAndTextArea:break;default:Xt(this.recorderSettings.maskingLevel)}return{eventType:"change",tagName:r,timestamp:n,text:s===""?null:s,host:i,path:o,domContext:this.captureDomContext(t)}}handleClick(t,r,n,i,o){let s="";if(t instanceof HTMLInputElement||t instanceof HTMLTextAreaElement){const a=this.findInputOrSelectOrTextAreaLabel(t);a?s=a:t.placeholder&&(s=t.placeholder)}else if(t instanceof HTMLSelectElement){const a=this.findInputOrSelectOrTextAreaLabel(t);a?s=a:s=t.value+" ("+t.options[t.selectedIndex].text+")"}else t instanceof HTMLButtonElement?s=t.innerText:t instanceof HTMLAnchorElement?s=t.href:t instanceof HTMLImageElement&&(s=t.src);switch(this.recorderSettings.maskingLevel){case j.None:break;case j.All:s=null;break;case null:case j.InputAndTextArea:(t instanceof HTMLInputElement||t instanceof HTMLTextAreaElement)&&(s=null);break;case j.InputPasswordOrEmailAndTextArea:(t instanceof HTMLTextAreaElement||t instanceof HTMLInputElement&&(t.type==="password"||t.type==="email"||t.type==="e-mail"))&&(s=null);break;default:Xt(this.recorderSettings.maskingLevel)}return{eventType:"click",tagName:r,timestamp:n,text:s===""?null:s,host:i,path:o,domContext:this.captureDomContext(t)}}handleKeyDown(t,r,n,i,o,s){const l=t.key;let c=null;if(n instanceof HTMLInputElement||n instanceof HTMLTextAreaElement){const u=this.findInputOrSelectOrTextAreaLabel(n);u?c=u:n.placeholder&&(c=n.placeholder)}switch(this.recorderSettings.maskingLevel){case j.None:break;case j.All:c=null;break;case null:case j.InputAndTextArea:(n instanceof HTMLInputElement||n instanceof HTMLTextAreaElement)&&(c=null);break;case j.InputPasswordOrEmailAndTextArea:(n instanceof HTMLTextAreaElement||n instanceof HTMLInputElement&&(n.type==="password"||n.type==="email"||n.type==="e-mail"))&&(c=null);break;default:Xt(this.recorderSettings.maskingLevel)}return{eventType:"keydown",tagName:r,timestamp:i,text:c,key:l,host:o,path:s,domContext:this.captureDomContext(n)}}findInputOrSelectOrTextAreaLabel=t=>{if(!t||!new Set(["input","select","textarea"]).has(t.tagName.toLowerCase()))return null;const n=t.closest("label");if(n){const a=Array.from(n.childNodes).filter(l=>l.nodeName.toLowerCase()!=="select").map(l=>(l.textContent??"").trim()).filter(Boolean).join(" ").trim();if(a)return a}const i=t.id;if(i){const a=t.ownerDocument.querySelector(`label[for="${CSS.escape(i)}"]`);if(a){const l=Array.from(a.childNodes).filter(c=>c.nodeName.toLowerCase()!=="select").map(c=>(c.textContent??"").trim()).filter(Boolean).join(" ").trim();if(l)return l}}const o=t.getAttribute("aria-label");if(o)return o.trim();const s=t.getAttribute("aria-labelledby");return s&&t.ownerDocument.getElementById(s)?.textContent?.trim()||null};stop=()=>{this.isRunning=!1,this.window.removeEventListener("change",this.handler),this.window.removeEventListener("click",this.handler),this.window.removeEventListener("keydown",this.handler),this.flushTimerId&&(clearTimeout(this.flushTimerId),this.flushTimerId=null)};captureDomContext=t=>{const r=[];r.push(this.toJsonNode(t));let n=t.parentElement;for(;n!=null&&r.length<6;)r.push(this.toJsonNode(n)),n=n.parentElement;return r};toJsonNode=t=>{const r={};return["id","class","name","type","role","aria-label"].forEach(n=>{const i=t.getAttribute(n);i&&(r[n]=i)}),{tag:t.tagName.toLowerCase(),attrs:r}};setCapturedSessionId(t){this.capturedSessionId=t}}var ya="2.0.4",Or=500,gi="user-agent",et="",bi="?",Qt="function",Fe="undefined",tt="object",xr="string",re="browser",Ee="cpu",Se="device",we="engine",fe="os",rt="result",y="name",p="type",b="vendor",I="version",ne="architecture",yt="major",g="model",It="console",R="mobile",_="tablet",V="smarttv",ve="wearable",$t="xr",Ct="embedded",St="inapp",Mr="brands",Ge="formFactors",Nr="fullVersionList",nt="platform",Lr="platformVersion",er="bitness",_e="sec-ch-ua",Ia=_e+"-full-version-list",Ca=_e+"-arch",Sa=_e+"-"+er,va=_e+"-form-factors",Aa=_e+"-"+R,ka=_e+"-"+g,wi=_e+"-"+nt,Ra=wi+"-version",yi=[Mr,Nr,R,g,nt,Lr,ne,Ge,er],tr="Amazon",it="Apple",Ii="ASUS",Ci="BlackBerry",ze="Google",Si="Huawei",Fr="Lenovo",vi="Honor",rr="LG",_r="Microsoft",Dr="Motorola",Br="Nvidia",Ai="OnePlus",Ur="OPPO",vt="Samsung",ki="Sharp",At="Sony",Pr="Xiaomi",Wr="Zebra",Ri="Chrome",Ti="Chromium",De="Chromecast",nr="Edge",kt="Firefox",Rt="Opera",Hr="Facebook",Ei="Sogou",st="Mobile ",Tt=" Browser",Vr="Windows",Ta=typeof window!==Fe,ie=Ta&&window.navigator?window.navigator:void 0,Be=ie&&ie.userAgentData?ie.userAgentData:void 0,Ea=function(e,t){var r={},n=t;if(!sr(t)){n={};for(var i in t)for(var o in t[i])n[o]=t[i][o].concat(n[o]?n[o]:[])}for(var s in e)r[s]=n[s]&&n[s].length%2===0?n[s].concat(e[s]):e[s];return r},ir=function(e){for(var t={},r=0;r<e.length;r++)t[e[r].toUpperCase()]=e[r];return t},Gr=function(e,t){if(typeof e===tt&&e.length>0){for(var r in e)if(Oe(t)==Oe(e[r]))return!0;return!1}return ot(e)?Oe(t)==Oe(e):!1},sr=function(e,t){for(var r in e)return/^(browser|cpu|device|engine|os)$/.test(r)||(t?sr(e[r]):!1)},ot=function(e){return typeof e===xr},zr=function(e){if(e){for(var t=[],r=at(/\\?\"/g,e).split(","),n=0;n<r.length;n++)if(r[n].indexOf(";")>-1){var i=or(r[n]).split(";v=");t[n]={brand:i[0],version:i[1]}}else t[n]=or(r[n]);return t}},Oe=function(e){return ot(e)?e.toLowerCase():e},Zr=function(e){return ot(e)?at(/[^\d\.]/g,e).split(".")[0]:void 0},xe=function(e){for(var t in e){var r=e[t];typeof r==tt&&r.length==2?this[r[0]]=r[1]:this[r]=void 0}return this},at=function(e,t){return ot(t)?t.replace(e,et):t},Et=function(e){return at(/\\?\"/g,e)},or=function(e,t){if(ot(e))return e=at(/^\s\s*/,e),typeof t===Fe?e:e.substring(0,Or)},qr=function(e,t){if(!(!e||!t))for(var r=0,n,i,o,s,a,l;r<t.length&&!a;){var c=t[r],u=t[r+1];for(n=i=0;n<c.length&&!a&&c[n];)if(a=c[n++].exec(e),a)for(o=0;o<u.length;o++)l=a[++i],s=u[o],typeof s===tt&&s.length>0?s.length===2?typeof s[1]==Qt?this[s[0]]=s[1].call(this,l):this[s[0]]=s[1]:s.length>=3&&(typeof s[1]===Qt&&!(s[1].exec&&s[1].test)?s.length>3?this[s[0]]=l?s[1].apply(this,s.slice(2)):void 0:this[s[0]]=l?s[1].call(this,l,s[2]):void 0:s.length==3?this[s[0]]=l?l.replace(s[1],s[2]):void 0:s.length==4?this[s[0]]=l?s[3].call(this,l.replace(s[1],s[2])):void 0:s.length>4&&(this[s[0]]=l?s[3].apply(this,[l.replace(s[1],s[2])].concat(s.slice(4))):void 0)):this[s]=l||void 0;r+=2}},Ae=function(e,t){for(var r in t)if(typeof t[r]===tt&&t[r].length>0){for(var n=0;n<t[r].length;n++)if(Gr(t[r][n],e))return r===bi?void 0:r}else if(Gr(t[r],e))return r===bi?void 0:r;return t.hasOwnProperty("*")?t["*"]:e},Oi={ME:"4.90","NT 3.51":"3.51","NT 4.0":"4.0",2e3:["5.0","5.01"],XP:["5.1","5.2"],Vista:"6.0",7:"6.1",8:"6.2","8.1":"6.3",10:["6.4","10.0"],NT:""},xi={embedded:"Automotive",mobile:"Mobile",tablet:["Tablet","EInk"],smarttv:"TV",wearable:"Watch",xr:["VR","XR"],"?":["Desktop","Unknown"],"*":void 0},Oa={Chrome:"Google Chrome",Edge:"Microsoft Edge","Edge WebView2":"Microsoft Edge WebView2","Chrome WebView":"Android WebView","Chrome Headless":"HeadlessChrome","Huawei Browser":"HuaweiBrowser","MIUI Browser":"Miui Browser","Opera Mobi":"OperaMobile",Yandex:"YaBrowser"},Mi={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[I,[y,st+"Chrome"]],[/webview.+edge\/([\w\.]+)/i],[I,[y,nr+" WebView"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[I,[y,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[y,I],[/opios[\/ ]+([\w\.]+)/i],[I,[y,Rt+" Mini"]],[/\bop(?:rg)?x\/([\w\.]+)/i],[I,[y,Rt+" GX"]],[/\bopr\/([\w\.]+)/i],[I,[y,Rt]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[I,[y,"Baidu"]],[/\b(?:mxbrowser|mxios|myie2)\/?([-\w\.]*)\b/i],[I,[y,"Maxthon"]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer|sleipnir)[\/ ]?([\w\.]*)/i,/(avant|iemobile|slim(?:browser|boat|jet))[\/ ]?([\d\.]*)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|duckduckgo|klar|helio|(?=comodo_)?dragon|otter|dooble|(?:lg |qute)browser)\/([-\w\.]+)/i,/(heytap|ovi|115|surf)browser\/([\d\.]+)/i,/(ecosia|weibo)(?:__| \w+@)([\d\.]+)/i],[y,I],[/quark(?:pc)?\/([-\w\.]+)/i],[I,[y,"Quark"]],[/\bddg\/([\w\.]+)/i],[I,[y,"DuckDuckGo"]],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[I,[y,"UCBrowser"]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[I,[y,"WeChat"]],[/konqueror\/([\w\.]+)/i],[I,[y,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[I,[y,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[I,[y,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[I,[y,"Smart "+Fr+Tt]],[/(avast|avg)\/([\w\.]+)/i],[[y,/(.+)/,"$1 Secure"+Tt],I],[/\bfocus\/([\w\.]+)/i],[I,[y,kt+" Focus"]],[/\bopt\/([\w\.]+)/i],[I,[y,Rt+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[I,[y,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[I,[y,"Dolphin"]],[/coast\/([\w\.]+)/i],[I,[y,Rt+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[I,[y,"MIUI"+Tt]],[/fxios\/([\w\.-]+)/i],[I,[y,st+kt]],[/\bqihoobrowser\/?([\w\.]*)/i],[I,[y,"360"]],[/\b(qq)\/([\w\.]+)/i],[[y,/(.+)/,"$1Browser"],I],[/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i],[[y,/(.+)/,"$1"+Tt],I],[/samsungbrowser\/([\w\.]+)/i],[I,[y,vt+" Internet"]],[/metasr[\/ ]?([\d\.]+)/i],[I,[y,Ei+" Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[y,Ei+" Mobile"],I],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345(?=browser|chrome|explorer))\w*[\/ ]?v?([\w\.]+)/i],[y,I],[/(lbbrowser|rekonq)/i],[y],[/ome\/([\w\.]+) \w* ?(iron) saf/i,/ome\/([\w\.]+).+qihu (360)[es]e/i],[I,y],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[y,Hr],I,[p,St]],[/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/(daum)apps[\/ ]([\w\.]+)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(alipay)client\/([\w\.]+)/i,/(twitter)(?:and| f.+e\/([\w\.]+))/i,/(instagram|snapchat|klarna)[\/ ]([-\w\.]+)/i],[y,I,[p,St]],[/\bgsa\/([\w\.]+) .*safari\//i],[I,[y,"GSA"],[p,St]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[I,[y,"TikTok"],[p,St]],[/\[(linkedin)app\]/i],[y,[p,St]],[/(chromium)[\/ ]([-\w\.]+)/i],[y,I],[/headlesschrome(?:\/([\w\.]+)| )/i],[I,[y,Ri+" Headless"]],[/wv\).+chrome\/([\w\.]+).+edgw\//i],[I,[y,nr+" WebView2"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[y,Ri+" WebView"],I],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[I,[y,"Android"+Tt]],[/chrome\/([\w\.]+) mobile/i],[I,[y,st+"Chrome"]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[y,I],[/version\/([\w\.\,]+) .*mobile(?:\/\w+ | ?)safari/i],[I,[y,st+"Safari"]],[/iphone .*mobile(?:\/\w+ | ?)safari/i],[[y,st+"Safari"]],[/version\/([\w\.\,]+) .*(safari)/i],[I,y],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[y,[I,"1"]],[/(webkit|khtml)\/([\w\.]+)/i],[y,I],[/(?:mobile|tablet);.*(firefox)\/([\w\.-]+)/i],[[y,st+kt],I],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[y,"Netscape"],I],[/(wolvic|librewolf)\/([\w\.]+)/i],[y,I],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[I,[y,kt+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(amaya|dillo|doris|icab|ladybird|lynx|mosaic|netsurf|obigo|polaris|w3m|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/\b(links) \(([\w\.]+)/i],[y,[I,/_/g,"."]],[/(cobalt)\/([\w\.]+)/i],[y,[I,/[^\d\.]+./,et]]],cpu:[[/\b((amd|x|x86[-_]?|wow|win)64)\b/i],[[ne,"amd64"]],[/(ia32(?=;))/i,/\b((i[346]|x)86)(pc)?\b/i],[[ne,"ia32"]],[/\b(aarch64|arm(v?[89]e?l?|_?64))\b/i],[[ne,"arm64"]],[/\b(arm(v[67])?ht?n?[fl]p?)\b/i],[[ne,"armhf"]],[/( (ce|mobile); ppc;|\/[\w\.]+arm\b)/i],[[ne,"arm"]],[/((ppc|powerpc)(64)?)( mac|;|\))/i],[[ne,/ower/,et,Oe]],[/ sun4\w[;\)]/i],[[ne,"sparc"]],[/\b(avr32|ia64(?=;)|68k(?=\))|\barm(?=v([1-7]|[5-7]1)l?|;|eabi)|(irix|mips|sparc)(64)?\b|pa-risc)/i],[[ne,Oe]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[g,[b,vt],[p,_]],[/\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]((?!sm-[lr]|browser)[-\w]+)/i,/sec-(sgh\w+)/i],[g,[b,vt],[p,R]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[g,[b,it],[p,R]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[g,[b,it],[p,_]],[/(macintosh);/i],[g,[b,it]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[g,[b,ki],[p,R]],[/\b((?:brt|eln|hey2?|gdi|jdn)-a?[lnw]09|(?:ag[rm]3?|jdn2|kob2)-a?[lw]0[09]hn)(?: bui|\)|;)/i],[g,[b,vi],[p,_]],[/honor([-\w ]+)[;\)]/i],[g,[b,vi],[p,R]],[/\b((?:ag[rs][2356]?k?|bah[234]?|bg[2o]|bt[kv]|cmr|cpn|db[ry]2?|jdn2|got|kob2?k?|mon|pce|scm|sht?|[tw]gr|vrd)-[ad]?[lw][0125][09]b?|605hw|bg2-u03|(?:gem|fdr|m2|ple|t1)-[7a]0[1-4][lu]|t1-a2[13][lw]|mediapad[\w\. ]*(?= bui|\)))\b(?!.+d\/s)/i],[g,[b,Si],[p,_]],[/(?:huawei)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[g,[b,Si],[p,R]],[/oid[^\)]+; (2[\dbc]{4}(182|283|rp\w{2})[cgl]|m2105k81a?c)(?: bui|\))/i,/\b((?:red)?mi[-_ ]?pad[\w- ]*)(?: bui|\))/i],[[g,/_/g," "],[b,Pr],[p,_]],[/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite|pro)?)(?: bui|\))/i,/ ([\w ]+) miui\/v?\d/i],[[g,/_/g," "],[b,Pr],[p,R]],[/droid.+; (cph2[3-6]\d[13579]|((gm|hd)19|(ac|be|in|kb)20|(d[en]|eb|le|mt)21|ne22)[0-2]\d|p[g-k]\w[1m]10)\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[g,[b,Ai],[p,R]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[g,[b,Ur],[p,R]],[/\b(opd2(\d{3}a?))(?: bui|\))/i],[g,[b,Ae,{OnePlus:["203","304","403","404","413","415"],"*":Ur}],[p,_]],[/(vivo (5r?|6|8l?|go|one|s|x[il]?[2-4]?)[\w\+ ]*)(?: bui|\))/i],[g,[b,"BLU"],[p,R]],[/; vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[g,[b,"Vivo"],[p,R]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[g,[b,"Realme"],[p,R]],[/(ideatab[-\w ]+|602lv|d-42a|a101lv|a2109a|a3500-hv|s[56]000|pb-6505[my]|tb-?x?\d{3,4}(?:f[cu]|xu|[av])|yt\d?-[jx]?\d+[lfmx])( bui|;|\)|\/)/i,/lenovo ?(b[68]0[08]0-?[hf]?|tab(?:[\w- ]+?)|tb[\w-]{6,7})( bui|;|\)|\/)/i],[g,[b,Fr],[p,_]],[/lenovo[-_ ]?([-\w ]+?)(?: bui|\)|\/)/i],[g,[b,Fr],[p,R]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ]([\w\s]+)(\)| bui)/i,/((?:moto(?! 360)[-\w\(\) ]+|xt\d{3,4}[cgkosw\+]?[-\d]*|nexus 6)(?= bui|\)))/i],[g,[b,Dr],[p,R]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[g,[b,Dr],[p,_]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[g,[b,rr],[p,_]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+(?!.*(?:browser|netcast|android tv|watch|webos))(\w+)/i,/\blg-?([\d\w]+) bui/i],[g,[b,rr],[p,R]],[/(nokia) (t[12][01])/i],[b,g,[p,_]],[/(?:maemo|nokia).*(n900|lumia \d+|rm-\d+)/i,/nokia[-_ ]?(([-\w\. ]*))/i],[[g,/_/g," "],[p,R],[b,"Nokia"]],[/(pixel (c|tablet))\b/i],[g,[b,ze],[p,_]],[/droid.+;(?: google)? (g(01[13]a|020[aem]|025[jn]|1b60|1f8f|2ybb|4s1m|576d|5nz6|8hhn|8vou|a02099|c15s|d1yq|e2ae|ec77|gh2x|kv4x|p4bc|pj41|r83y|tt9q|ur25|wvk6)|pixel[\d ]*a?( pro)?( xl)?( fold)?( \(5g\))?)( bui|\))/i],[g,[b,ze],[p,R]],[/(google) (pixelbook( go)?)/i],[b,g],[/droid.+; (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-\w\w\d\d)(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[g,[b,At],[p,R]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[g,"Xperia Tablet"],[b,At],[p,_]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[g,[b,tr],[p,_]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[g,/(.+)/g,"Fire Phone $1"],[b,tr],[p,R]],[/(playbook);[-\w\),; ]+(rim)/i],[g,b,[p,_]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[g,[b,Ci],[p,R]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[g,[b,Ii],[p,_]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[g,[b,Ii],[p,R]],[/(nexus 9)/i],[g,[b,"HTC"],[p,_]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[b,[g,/_/g," "],[p,R]],[/tcl (xess p17aa)/i,/droid [\w\.]+; ((?:8[14]9[16]|9(?:0(?:48|60|8[01])|1(?:3[27]|66)|2(?:6[69]|9[56])|466))[gqswx])(_\w(\w|\w\w))?(\)| bui)/i],[g,[b,"TCL"],[p,_]],[/droid [\w\.]+; (418(?:7d|8v)|5087z|5102l|61(?:02[dh]|25[adfh]|27[ai]|56[dh]|59k|65[ah])|a509dl|t(?:43(?:0w|1[adepqu])|50(?:6d|7[adju])|6(?:09dl|10k|12b|71[efho]|76[hjk])|7(?:66[ahju]|67[hw]|7[045][bh]|71[hk]|73o|76[ho]|79w|81[hks]?|82h|90[bhsy]|99b)|810[hs]))(_\w(\w|\w\w))?(\)| bui)/i],[g,[b,"TCL"],[p,R]],[/(itel) ((\w+))/i],[[b,Oe],g,[p,Ae,{tablet:["p10001l","w7001"],"*":"mobile"}]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[g,[b,"Acer"],[p,_]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[g,[b,"Meizu"],[p,R]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[g,[b,"Ulefone"],[p,R]],[/; (energy ?\w+)(?: bui|\))/i,/; energizer ([\w ]+)(?: bui|\))/i],[g,[b,"Energizer"],[p,R]],[/; cat (b35);/i,/; (b15q?|s22 flip|s48c|s62 pro)(?: bui|\))/i],[g,[b,"Cat"],[p,R]],[/((?:new )?andromax[\w- ]+)(?: bui|\))/i],[g,[b,"Smartfren"],[p,R]],[/droid.+; (a(in)?(0(15|59|6[35])|142)p?)/i],[g,[b,"Nothing"],[p,R]],[/; (x67 5g|tikeasy \w+|ac[1789]\d\w+)( b|\))/i,/archos ?(5|gamepad2?|([\w ]*[t1789]|hello) ?\d+[\w ]*)( b|\))/i],[g,[b,"Archos"],[p,_]],[/archos ([\w ]+)( b|\))/i,/; (ac[3-6]\d\w{2,8})( b|\))/i],[g,[b,"Archos"],[p,R]],[/; (n159v)/i],[g,[b,"HMD"],[p,R]],[/(imo) (tab \w+)/i,/(infinix|tecno) (x1101b?|p904|dp(7c|8d|10a)( pro)?|p70[1-3]a?|p904|t1101)/i],[b,g,[p,_]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus(?! zenw)|dell|jolla|meizu|motorola|polytron|tecno|micromax|advan)[-_ ]?([-\w]*)/i,/; (blu|hmd|imo|infinix|lava|oneplus|tcl)[_ ]([\w\+ ]+?)(?: bui|\)|; r)/i,/(hp) ([\w ]+\w)/i,/(microsoft); (lumia[\w ]+)/i,/(oppo) ?([\w ]+) bui/i],[b,g,[p,R]],[/(kobo)\s(ereader|touch)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i],[b,g,[p,_]],[/(surface duo)/i],[g,[b,_r],[p,_]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[g,[b,"Fairphone"],[p,R]],[/((?:tegranote|shield t(?!.+d tv))[\w- ]*?)(?: b|\))/i],[g,[b,Br],[p,_]],[/(sprint) (\w+)/i],[b,g,[p,R]],[/(kin\.[onetw]{3})/i],[[g,/\./g," "],[b,_r],[p,R]],[/droid.+; ([c6]+|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[g,[b,Wr],[p,_]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[g,[b,Wr],[p,R]],[/smart-tv.+(samsung)/i],[b,[p,V]],[/hbbtv.+maple;(\d+)/i],[[g,/^/,"SmartTV"],[b,vt],[p,V]],[/(vizio)(?: |.+model\/)(\w+-\w+)/i,/tcast.+(lg)e?. ([-\w]+)/i],[b,g,[p,V]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[b,rr],[p,V]],[/(apple) ?tv/i],[b,[g,it+" TV"],[p,V]],[/crkey.*devicetype\/chromecast/i],[[g,De+" Third Generation"],[b,ze],[p,V]],[/crkey.*devicetype\/([^/]*)/i],[[g,/^/,"Chromecast "],[b,ze],[p,V]],[/fuchsia.*crkey/i],[[g,De+" Nest Hub"],[b,ze],[p,V]],[/crkey/i],[[g,De],[b,ze],[p,V]],[/(portaltv)/i],[g,[b,Hr],[p,V]],[/droid.+aft(\w+)( bui|\))/i],[g,[b,tr],[p,V]],[/(shield \w+ tv)/i],[g,[b,Br],[p,V]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[g,[b,ki],[p,V]],[/(bravia[\w ]+)( bui|\))/i],[g,[b,At],[p,V]],[/(mi(tv|box)-?\w+) bui/i],[g,[b,Pr],[p,V]],[/Hbbtv.*(technisat) (.*);/i],[b,g,[p,V]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[b,/.+\/(\w+)/,"$1",Ae,{LG:"lge"}],[g,or],[p,V]],[/droid.+; ([\w- ]+) (?:android tv|smart[- ]?tv)/i],[g,[p,V]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:|large screen[\w ]+safari)\b/i],[[p,V]],[/(playstation \w+)/i],[g,[b,At],[p,It]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[g,[b,_r],[p,It]],[/(ouya)/i,/(nintendo) (\w+)/i,/(retroid) (pocket ([^\)]+))/i],[b,g,[p,It]],[/droid.+; (shield)( bui|\))/i],[g,[b,Br],[p,It]],[/\b(sm-[lr]\d\d[0156][fnuw]?s?|gear live)\b/i],[g,[b,vt],[p,ve]],[/((pebble))app/i,/(asus|google|lg|oppo) ((pixel |zen)?watch[\w ]*)( bui|\))/i],[b,g,[p,ve]],[/(ow(?:19|20)?we?[1-3]{1,3})/i],[g,[b,Ur],[p,ve]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[g,[b,it],[p,ve]],[/(opwwe\d{3})/i],[g,[b,Ai],[p,ve]],[/(moto 360)/i],[g,[b,Dr],[p,ve]],[/(smartwatch 3)/i],[g,[b,At],[p,ve]],[/(g watch r)/i],[g,[b,rr],[p,ve]],[/droid.+; (wt63?0{2,3})\)/i],[g,[b,Wr],[p,ve]],[/droid.+; (glass) \d/i],[g,[b,ze],[p,$t]],[/(pico) (4|neo3(?: link|pro)?)/i],[b,g,[p,$t]],[/(quest( \d| pro)?s?).+vr/i],[g,[b,Hr],[p,$t]],[/mobile vr; rv.+firefox/i],[[p,$t]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[b,[p,Ct]],[/(aeobc)\b/i],[g,[b,tr],[p,Ct]],[/(homepod).+mac os/i],[g,[b,it],[p,Ct]],[/windows iot/i],[[p,Ct]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+?(mobile|vr|\d) safari/i],[g,[p,Ae,{mobile:"Mobile",xr:"VR","*":_}]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[p,_]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[p,R]],[/droid .+?; ([\w\. -]+)( bui|\))/i],[g,[b,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[I,[y,nr+"HTML"]],[/(arkweb)\/([\w\.]+)/i],[y,I],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[I,[y,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna|servo)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[y,I],[/ladybird\//i],[[y,"LibWeb"]],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[I,y]],os:[[/(windows nt) (6\.[23]); arm/i],[[y,/N/,"R"],[I,Ae,Oi]],[/(windows (?:phone|mobile|iot))(?: os)?[\/ ]?([\d\.]*( se)?)/i,/(windows)[\/ ](1[01]|2000|3\.1|7|8(\.1)?|9[58]|me|server 20\d\d( r2)?|vista|xp)/i],[y,I],[/windows nt ?([\d\.\)]*)(?!.+xbox)/i,/\bwin(?=3| ?9|n)(?:nt| 9x )?([\d\.;]*)/i],[[I,/(;|\))/g,"",Ae,Oi],[y,Vr]],[/(windows ce)\/?([\d\.]*)/i],[y,I],[/[adehimnop]{4,7}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[I,/_/g,"."],[y,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+(haiku|morphos))/i],[[y,"macOS"],[I,/_/g,"."]],[/android ([\d\.]+).*crkey/i],[I,[y,De+" Android"]],[/fuchsia.*crkey\/([\d\.]+)/i],[I,[y,De+" Fuchsia"]],[/crkey\/([\d\.]+).*devicetype\/smartspeaker/i],[I,[y,De+" SmartSpeaker"]],[/linux.*crkey\/([\d\.]+)/i],[I,[y,De+" Linux"]],[/crkey\/([\d\.]+)/i],[I,[y,De]],[/droid ([\w\.]+)\b.+(android[- ]x86)/i],[I,y],[/(ubuntu) ([\w\.]+) like android/i],[[y,/(.+)/,"$1 Touch"],I],[/(harmonyos)[\/ ]?([\d\.]*)/i,/(android|bada|blackberry|kaios|maemo|meego|openharmony|qnx|rim tablet os|sailfish|series40|symbian|tizen)\w*[-\/\.; ]?([\d\.]*)/i],[y,I],[/\(bb(10);/i],[I,[y,Ci]],[/(?:symbian ?os|symbos|s60(?=;)|series ?60)[-\/ ]?([\w\.]*)/i],[I,[y,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[I,[y,kt+" OS"]],[/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i,/webos(?:[ \/]?|\.tv-20(?=2[2-9]))(\d[\d\.]*)/i],[I,[y,"webOS"]],[/web0s;.+?(?:chr[o0]me|safari)\/(\d+)/i],[[I,Ae,{25:"120",24:"108",23:"94",22:"87",6:"79",5:"68",4:"53",3:"38",2:"538",1:"537","*":"TV"}],[y,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[I,[y,"watchOS"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[y,"Chrome OS"],I],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) (\w+)/i,/(xbox); +xbox ([^\);]+)/i,/(pico) .+os([\w\.]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/linux.+(mint)[\/\(\) ]?([\w\.]*)/i,/(mageia|vectorlinux|fuchsia|arcaos|arch(?= ?linux))[;l ]([\d\.]*)/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire|knoppix)(?: gnu[\/ ]linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/\b(aix)[; ]([1-9\.]{0,4})/i,/(hurd|linux|morphos)(?: (?:arm|x86|ppc)\w*| ?)([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) ?(r\d)?/i],[y,I],[/(sunos) ?([\d\.]*)/i],[[y,"Solaris"],I],[/\b(beos|os\/2|amigaos|openvms|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[y,I]]},ar=function(){var e={init:{},isIgnore:{},isIgnoreRgx:{},toString:{}};return xe.call(e.init,[[re,[y,I,yt,p]],[Ee,[ne]],[Se,[p,g,b]],[we,[y,I]],[fe,[y,I]]]),xe.call(e.isIgnore,[[re,[I,yt]],[we,[I]],[fe,[I]]]),xe.call(e.isIgnoreRgx,[[re,/ ?browser$/i],[fe,/ ?os$/i]]),xe.call(e.toString,[[re,[y,I]],[Ee,[ne]],[Se,[b,g]],[we,[y,I]],[fe,[y,I]]]),e}(),xa=function(e,t){var r=ar.init[t],n=ar.isIgnore[t]||0,i=ar.isIgnoreRgx[t]||0,o=ar.toString[t]||0;function s(){xe.call(this,r)}return s.prototype.getItem=function(){return e},s.prototype.withClientHints=function(){return Be?Be.getHighEntropyValues(yi).then(function(a){return e.setCH(new Ni(a,!1)).parseCH().get()}):e.parseCH().get()},s.prototype.withFeatureCheck=function(){return e.detectFeature().get()},t!=rt&&(s.prototype.is=function(a){var l=!1;for(var c in this)if(this.hasOwnProperty(c)&&!Gr(n,c)&&Oe(i?at(i,this[c]):this[c])==Oe(i?at(i,a):a)){if(l=!0,a!=Fe)break}else if(a==Fe&&l){l=!l;break}return l},s.prototype.toString=function(){var a=et;for(var l in o)typeof this[o[l]]!==Fe&&(a+=(a?" ":et)+this[o[l]]);return a||Fe}),Be||(s.prototype.then=function(a){var l=this,c=function(){for(var d in l)l.hasOwnProperty(d)&&(this[d]=l[d])};c.prototype={is:s.prototype.is,toString:s.prototype.toString};var u=new c;return a(u),u}),new s};function Ni(e,t){if(e=e||{},xe.call(this,yi),t)xe.call(this,[[Mr,zr(e[_e])],[Nr,zr(e[Ia])],[R,/\?1/.test(e[Aa])],[g,Et(e[ka])],[nt,Et(e[wi])],[Lr,Et(e[Ra])],[ne,Et(e[Ca])],[Ge,zr(e[va])],[er,Et(e[Sa])]]);else for(var r in e)this.hasOwnProperty(r)&&typeof e[r]!==Fe&&(this[r]=e[r])}function Li(e,t,r,n){return this.get=function(i){return i?this.data.hasOwnProperty(i)?this.data[i]:void 0:this.data},this.set=function(i,o){return this.data[i]=o,this},this.setCH=function(i){return this.uaCH=i,this},this.detectFeature=function(){if(ie&&ie.userAgent==this.ua)switch(this.itemType){case re:ie.brave&&typeof ie.brave.isBrave==Qt&&this.set(y,"Brave");break;case Se:!this.get(p)&&Be&&Be[R]&&this.set(p,R),this.get(g)=="Macintosh"&&ie&&typeof ie.standalone!==Fe&&ie.maxTouchPoints&&ie.maxTouchPoints>2&&this.set(g,"iPad").set(p,_);break;case fe:!this.get(y)&&Be&&Be[nt]&&this.set(y,Be[nt]);break;case rt:var i=this.data,o=function(s){return i[s].getItem().detectFeature().get()};this.set(re,o(re)).set(Ee,o(Ee)).set(Se,o(Se)).set(we,o(we)).set(fe,o(fe))}return this},this.parseUA=function(){return this.itemType!=rt&&qr.call(this.data,this.ua,this.rgxMap),this.itemType==re&&this.set(yt,Zr(this.get(I))),this},this.parseCH=function(){var i=this.uaCH,o=this.rgxMap;switch(this.itemType){case re:case we:var s=i[Nr]||i[Mr],a;if(s)for(var l in s){var c=s[l].brand||s[l],u=s[l].version;this.itemType==re&&!/not.a.brand/i.test(c)&&(!a||/Chrom/.test(a)&&c!=Ti||a==nr&&/WebView2/.test(c))&&(c=Ae(c,Oa),a=this.get(y),a&&!/Chrom/.test(a)&&/Chrom/.test(c)||this.set(y,c).set(I,u).set(yt,Zr(u)),a=c),this.itemType==we&&c==Ti&&this.set(I,u)}break;case Ee:var d=i[ne];d&&(d&&i[er]=="64"&&(d+="64"),qr.call(this.data,d+";",o));break;case Se:if(i[R]&&this.set(p,R),i[g]&&(this.set(g,i[g]),!this.get(p)||!this.get(b))){var m={};qr.call(m,"droid 9; "+i[g]+")",o),!this.get(p)&&m.type&&this.set(p,m.type),!this.get(b)&&m.vendor&&this.set(b,m.vendor)}if(i[Ge]){var w;if(typeof i[Ge]!="string")for(var f=0;!w&&f<i[Ge].length;)w=Ae(i[Ge][f++],xi);else w=Ae(i[Ge],xi);this.set(p,w)}break;case fe:var v=i[nt];if(v){var C=i[Lr];v==Vr&&(C=parseInt(Zr(C),10)>=13?"11":"10"),this.set(y,v).set(I,C)}this.get(y)==Vr&&i[g]=="Xbox"&&this.set(y,"Xbox").set(I,void 0);break;case rt:var k=this.data,S=function(A){return k[A].getItem().setCH(i).parseCH().get()};this.set(re,S(re)).set(Ee,S(Ee)).set(Se,S(Se)).set(we,S(we)).set(fe,S(fe))}return this},xe.call(this,[["itemType",e],["ua",t],["uaCH",n],["rgxMap",r],["data",xa(this,e)]]),this}function Me(e,t,r){if(typeof e===tt?(sr(e,!0)?(typeof t===tt&&(r=t),t=e):(r=e,t=void 0),e=void 0):typeof e===xr&&!sr(t,!0)&&(r=t,t=void 0),r&&typeof r.append===Qt){var n={};r.forEach(function(l,c){n[c]=l}),r=n}if(!(this instanceof Me))return new Me(e,t,r).getResult();var i=typeof e===xr?e:r&&r[gi]?r[gi]:ie&&ie.userAgent?ie.userAgent:et,o=new Ni(r,!0),s=t?Ea(Mi,t):Mi,a=function(l){return l==rt?function(){return new Li(l,i,s,o).set("ua",i).set(re,this.getBrowser()).set(Ee,this.getCPU()).set(Se,this.getDevice()).set(we,this.getEngine()).set(fe,this.getOS()).get()}:function(){return new Li(l,i,s[l],o).parseUA().get()}};return xe.call(this,[["getBrowser",a(re)],["getCPU",a(Ee)],["getDevice",a(Se)],["getEngine",a(we)],["getOS",a(fe)],["getResult",a(rt)],["getUA",function(){return i}],["setUA",function(l){return ot(l)&&(i=l.length>Or?or(l,Or):l),this}]]).setUA(i),this}Me.VERSION=ya,Me.BROWSER=ir([y,I,yt,p]),Me.CPU=ir([ne]),Me.DEVICE=ir([g,b,p,It,R,V,_,ve,Ct]),Me.ENGINE=Me.OS=ir([y,I]);class Ma{constructor(t,r,n){this.window=t,this.publicToken=r,this.recorderSettings=n,n.maskingLevel==null&&(n.maskingLevel="input-and-textarea"),this.sessionRecorder=new ba(n),this.eventRecorder=new wa(t,n),Er("public/captured-sessions",{publicToken:r},{withCredentials:!1}).then(i=>{const o=i.data;this.capturedSessionId=o,this.sessionRecorder.setCapturedSessionId(o),this.eventRecorder.setCapturedSessionId(o),this.schedulePing();const s=this.collectCapturedUserMetadata();Er(`public/captured-sessions/${this.capturedSessionId}/captured-session/metadata`,s,{withCredentials:!1})}).catch(i=>{console.error(i),this.sessionRecorder.stop(),this.eventRecorder.stop()})}sessionRecorder;eventRecorder;capturedSessionId=null;pingIntervalMs=2e4;pingTimeout=null;schedulePing(){this.pingTimeout&&clearTimeout(this.pingTimeout),this.pingTimeout=setTimeout(this.ping,this.pingIntervalMs)}ping=async()=>{await ma(`public/captured-sessions/${this.capturedSessionId}/ping`,{},{withCredentials:!1}),this.schedulePing()};start(){this.sessionRecorder.start(),this.eventRecorder.start()}stop(){this.sessionRecorder.stop(),this.eventRecorder.stop()}collectCapturedUserMetadata=()=>{const t=new Me,r=t.getBrowser().name,n=t.getBrowser().version,i=t.getOS().name,o=t.getOS().version,s=t.getDevice().type??"desktop",a=navigator.language,l=Intl.DateTimeFormat().resolvedOptions().timeZone,c=document.referrer||void 0;let u;try{u=c?new URL(c).hostname:void 0}catch{}const d=window.innerWidth||document.documentElement.clientWidth,m=window.innerHeight||document.documentElement.clientHeight,w=new URL(window.location.href),f=w.searchParams.get("utm_source")||w.searchParams.get("source")||w.searchParams.get("ref")||void 0,v=w.searchParams.get("utm_medium")||w.searchParams.get("medium")||void 0,C=w.searchParams.get("utm_campaign")||w.searchParams.get("campaign")||void 0,k=w.searchParams.get("utm_content")||w.searchParams.get("content")||void 0,S=w.searchParams.get("utm_term")||w.searchParams.get("term")||void 0;return{browserName:r,browserVersion:n,osName:i,osVersion:o,deviceType:s,browserLanguage:a,browserTimeZone:l,referringUrl:c,referringDomain:u,viewportWidth:d,viewportHeight:m,utmSource:f,utmMedium:v,utmCampaign:C,utmContent:k,utmTerm:S}}}var j=(e=>(e.None="none",e.All="all",e.InputAndTextArea="input-and-textarea",e.InputPasswordOrEmailAndTextArea="input-password-or-email-and-textarea",e))(j||{});return xt.MaskingLevel=j,xt.Recorder=Ma,Object.defineProperty(xt,Symbol.toStringTag,{value:"Module"}),xt}({});
package/dist/requests.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import axios, {} from "axios";
2
2
  const api = axios.create({
3
- baseURL: window.location.hostname.includes("localhost")
3
+ baseURL: import.meta.env.DEV
4
4
  ? "http://localhost:8080"
5
- : "",
5
+ : "https://scryspell.com",
6
6
  withCredentials: true,
7
7
  });
8
8
  export const get = (url, config) => api.get(url, config);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@affogatosoftware/recorder",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "license": "MIT",
5
5
  "author": "Chris Ryan",
6
6
  "main": "./dist/index.js",