PageSourceSearch

https://www.quit.org.au/_next/static/immutable/chunks/3g4ej3lq7rw5e.js

js quit.org.au collected 2026-10-03 22:03:27 UTC 107,693 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,336313,t=>{"use strict";var e=t.i(878384);function r(t,e){if("function"==typeof t)return t(e);null!=t&&(t.current=e)}function n(...t){return e=>{let n=!1,o=t.map(t=>{let o=r(t,e);return n||"function"!=typeof o||(n=!0),o});if(n)return()=>{for(let e=0;e<o.length;e++){let n=o[e];"function"==typeof n?n():r(t[e],null)}}}}t.s(["composeRefs",0,n,"useComposedRefs",0,function(...t){return e.useCallback(n(...t),t)}])},651185,t=>{"use strict";var e=t.i(878384),r=t.i(336313),n=t.i(530295),o=Symbol.for("react.lazy"),i=e[" use ".trim().toString()];function s(t){var e;return null!=t&&"object"==typeof t&&"$$typeof"in t&&t.$$typeof===o&&"_payload"in t&&"object"==typeof(e=t._payload)&&null!==e&&"then"in e}function a(t){var o;let a,l=(o=t,(a=e.forwardRef((t,n)=>{let{children:o,...a}=t;if(s(o)&&"function"==typeof i&&(o=i(o._payload)),e.isValidElement(o)){var l;let t,i,s=(l=o,(i=(t=Object.getOwnPropertyDescriptor(l.props,"ref")?.get)&&"isReactWarning"in t&&t.isReactWarning)?l.ref:(i=(t=Object.getOwnPropertyDescriptor(l,"ref")?.get)&&"isReactWarning"in t&&t.isReactWarning)?l.props.ref:l.props.ref||l.ref),c=function(t,e){let r={...e};for(let n in e){let o=t[n],i=e[n];/^on[A-Z]/.test(n)?o&&i?r[n]=(...t)=>{let e=i(...t);return o(...t),e}:o&&(r[n]=o):"style"===n?r[n]={...o,...i}:"className"===n&&(r[n]=[o,i].filter(Boolean).join(" "))}return{...t,...r}}(a,o.props);return o.type!==e.Fragment&&(c.ref=n?(0,r.composeRefs)(n,s):s),e.cloneElement(o,c)}return e.Children.count(o)>1?e.Children.only(null):null})).displayName=`${o}.SlotClone`,a),c=e.forwardRef((t,r)=>{let{children:o,...a}=t;s(o)&&"function"==typeof i&&(o=i(o._payload));let c=e.Children.toArray(o),d=c.find(u);if(d){let t=d.props.children,o=c.map(r=>r!==d?r:e.Children.count(t)>1?e.Children.only(null):e.isValidElement(t)?t.props.children:null);return(0,n.jsx)(l,{...a,ref:r,children:e.isValidElement(t)?e.cloneElement(t,void 0,o):null})}return(0,n.jsx)(l,{...a,ref:r,children:o})});return c.displayName=`${t}.Slot`,c}var l=a("Slot"),c=Symbol("radix.slottable");function u(t){return e.isValidElement(t)&&"function"==typeof t.type&&"__radixId"in t.type&&t.type.__radixId===c}t.s(["Slot",0,l,"createSlot",0,a])},294237,t=>{"use strict";var e=t.i(7284);let r=t=>"boolean"==typeof t?`${t}`:0===t?"0":t,n=e.clsx;t.s(["cva",0,(t,e)=>o=>{var i;if((null==e?void 0:e.variants)==null)return n(t,null==o?void 0:o.class,null==o?void 0:o.className);let{variants:s,defaultVariants:a}=e,l=Object.keys(s).map(t=>{let e=null==o?void 0:o[t],n=null==a?void 0:a[t];if(null===e)return null;let i=r(e)||r(n);return s[t][i]}),c=o&&Object.entries(o).reduce((t,e)=>{let[r,n]=e;return void 0===n||(t[r]=n),t},{});return n(t,l,null==e||null==(i=e.compoundVariants)?void 0:i.reduce((t,e)=>{let{class:r,className:n,...o}=e;return Object.entries(o).every(t=>{let[e,r]=t;return Array.isArray(r)?r.includes({...a,...c}[e]):({...a,...c})[e]===r})?[...t,r,n]:t},[]),null==o?void 0:o.class,null==o?void 0:o.className)}])},383861,413569,t=>{"use strict";var e,r=((e={}).Production="production",e.Staging="staging",e.Development="development",e);t.s(["AppEnvironment",()=>r],413569);let n=["ar"];t.s(["DEFAULT_LOCALE",0,"en","LOCALE_COOKIE_NAME",0,"ccv-locale","LOCALE_MAPPING",0,{ar:"Arabic","zh-Yue":"Cantonese",zh:"Chinese",en:"English",fil:"Filipino",el:"Greek",hi:"Hindi",it:"Italian",si:"Sinhala",tl:"Tagalog",vi:"Vietnamese"}
1,"SUPPORTED_LOCALES",0,["ar","zh-Yue","zh","en","fil","el","hi","it","si","tl","vi"],"isRtlLocale",0,t=>n.includes(t)],383861)},479578,114245,t=>{"use strict";var e=t.i(90373);function r(t,e){return e===n(t)}function n(t){var e=typeof t;return"object"!==e?e:t?t instanceof Error?"error":({}).toString.call(t).match(/\s([a-zA-Z]+)/)[1].toLowerCase():"null"}function o(t){return r(t,"function")}function i(t){return null!=t&&("object"==typeof t||"function"==typeof t)}function s(t,e){return null!=t&&(Object.hasOwn?Object.hasOwn(t,e):Object.prototype.hasOwnProperty.call(t,e))}function a(t){return Number.isFinite(t)}function l(t){return r(t,"error")||r(t,"exception")}function c(){return"********"}var u={debug:0,info:1,warning:2,error:3,critical:4},d=!1,p=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"],h={name:"queryKey",parser:/(?:^|&)([^&=]*)=?([^&]*)/g},f={strict:/^(?:([^:/?#]+):)?(?:\/\/((?:(([^:@]*)(?::([^:@]*))?)?@)?([^:/?#]*)(?::(\d*))?))?((((?:[^?#/]*\/)*)([^?#]*))(?:\?([^#]*))?(?:#(.*))?)/,loose:/^(?:(?![^:@]+:[^:@/]*@)([^:/?#.]+):)?(?:\/\/)?((?:(([^:@]*)(?::([^:@]*))?)?@)?([^:/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#/]*\.[^?#/.]+(?:[?#]|$)))*\/?)?([^?#/]*))(?:\?([^#]*))?(?:#(.*))?)/};function m(t,e){if((e=e||t.protocol)||!t.port||(80===t.port?e="http:":443===t.port&&(e="https:")),e=e||"https:",!t.hostname)return null;var r=e+"//"+t.hostname;return t.port&&(r=r+":"+t.port),t.path&&(r+=t.path),r}function g(t,e){var r,n;try{r=JSON.stringify(t)}catch(i){if(e&&o(e))try{r=e(t)}catch(t){n=t}else n=i}return{error:n,value:r}}function b(t){var e,r;try{e=JSON.parse(t)}catch(t){r=t}return{error:r,value:e}}function y(t,e,r,n,o,i,s,a){var l={url:e||"",line:r,column:n};l.func=a.guessFunctionName(l.url,l.line),l.context=a.gatherContext(l.url,l.line);var c="u">typeof document&&document&&document.location&&document.location.href,u="u">typeof window&&window&&window.navigator&&window.navigator.userAgent;return{mode:i,message:o?String(o):t||s,url:c,stack:[l],useragent:u}}function v(t){var e=[t];return function t(e,o){var i,s,a,l={};try{for(s in e){if((i=e[s])&&(r(i,"object")||r(i,"array"))){o.includes(i)?l[s]="Removed circular reference: "+n(i):((a=o.slice()).push(i),l[s]=t(i,a));continue}l[s]=i}}catch(t){l="Failed cloning custom data: "+t.message}return l}(t,e)}var w=["log","network","dom","navigation","error","manual"],x=["critical","error","warning","info","debug"];function _(t,e){for(let r of t)if(r===e)return!0;return!1}function k(t,e){for(let r of(t.attributes=t.attributes||[],e))void 0!==r.value&&t.attributes.push(r)}function E(t,e){if(t){var r=e.split("."),n=t;try{for(var o=0,i=r.length;o<i;++o)n=n[r[o]]}catch(t){n=void 0}return n}}function S(t,e,r){if(t){Object.setPrototypeOf(t,null);var n=e.split("."),o=n.length;if(!(o<1)){if(1===o){t[n[0]]=r;return}try{for(var i=t[n[0]]||{},s=i,a=1;a<o-1;++a)i[n[a]]=i[n[a]]||{},i=i[n[a]];i[n[o-1]]=r,t[n[0]]=s}catch(t){return}}}}function I(){return Date.now?Date.now():Number(new Date)}function R(t,e,r,n){var o,i,s=T(t,e,r);return o=s,i=n,o.hostWhiteList&&!o.hostSafeList&&(o.hostSafeList=o.hostWhiteList,o.hostWhiteList=void 0,i&&i.log("hostWhiteList is deprecated. Use hostSafeList.")),o.hostBlackList&&!o.hostBlockList&&(o.hostBlockList=o.hostBlackList,o.hostBlackList=void 0,i&&i.log("hostBlackList is deprecated. Use hostBlockList.")),s=o,!e||e.overwriteScrubFields||e.scrubFields&&(s.scrubFields=(t.scrubFields||[]).concat(e.scrubFields)),s}function T(){function t(t){if(!t||"[object Object]"!==Object.prototype.toString.call(t))return!1;var e,r=s(t,"constructor"),n=t.constructor&&t.constructor.prototype&&s(t.constructor.prototype,"isPrototypeOf");if(t.constructor&&!r&&!n)return!1;for(e in t);return void 0===e||s(t,e)}var e,r,n,o,i,a=Object.create(null),l=null,c=arguments.length;for(e=0;e<c;e++)if(l=arguments[e],null!=l)for(i in l)r=a[i],a!==(n=l[i])&&(n&&t(n)?(o=r&&t(r)?r:{},a[i]=T(o,n)):void 0!==n&&(a[i]=n));return a}function C(t,e,n){if(!e?.sessionId||!n)return!1;let o=t?.tracing?.propagation,i=o?.enabledHeaders;if(!Array.isArray(i)||!i.includes("baggage"))return!1;let s=o?.enabledCorsUrls;return!!Array.isArray(s)&&0!==s.length&&s.some(t=>r(t,"string")?n===t:!!r(t,"regexp")&&t.test(n))}let O=function(t,e,n){var o,i,a,l,c=r(t,"object"),u=r(t,"array"),d=[];if(n=n||{obj:[],mapped:[]},c){if(l=n.obj.indexOf(t),c&&-1!==l)return n.mapped[l]||n.obj[l];n.obj.push(t),l=n.obj.length-1}if(c)for(o in t)s(t,o)&&d.push(o);else if(u)for(a=0;a<t.length;++a)d.push(a);var p=c?{}:[],h=!0;for(a=0;a<d.length;++a)i=t[o=d[a]],p[o]=e(o,i,n),h=h&&p[o]===t[o];return c&&!h&&(n.mapped[l]=p),h?t:p},L=function(t,e,n){if(e=e||[],n)for(let e of n)!function(t,e){var r=e.split("."),n=r.length-1;try{for(let[e,o]of r.entries())e<n?t=t[o]:t[o]=c()}catch(t){}}(t,e);var o=function(t){var e=[];
1for(let n of t){var r="^\\[?(%5[bB])?"+n+"\\[?(%5[bB])?\\]?(%5[dD])?$";e.push(RegExp(r,"i"))}return e}(e),i=function(t){var e=[];for(let n of t){var r="\\[?(%5[bB])?"+n+"\\[?(%5[bB])?\\]?(%5[dD])?";e.push(RegExp("("+r+"=)([^&\\n]+)","igm"))}return e}(e);function s(t,e){return e+c()}return O(t,function t(e,n,a){var l=function(t,e){for(let r of o)if(r.test(t)){e=c();break}return e}(e,n);if(l!==n)return l;if(r(n,"object")||r(n,"array"))return O(n,t,a);var u=l;if(r(u,"string"))for(let t of i)u=u.replace(t,s);return u})};function A(t){return[Math.trunc(t/1e3),Math.round(t%1e3*1e6)]}let P=class{constructor(t,e){this.queue=[],this.options=T(t);var r=this.options.maxTelemetryEvents||100;this.maxQueueSize=Math.max(0,Math.min(r,100)),this.tracing=e,this.telemetrySpan=this.tracing?.startSpan("rollbar-telemetry",{})}configure(t){var e=this.options;this.options=T(e,t);var r=Math.max(0,Math.min(this.options.maxTelemetryEvents||100,100)),n=0;this.queue.length>r&&(n=this.queue.length-r),this.maxQueueSize=r,this.queue.splice(0,n)}copyEvents(){var t=Array.prototype.slice.call(this.queue,0);if(o(this.options.filterTelemetry))try{for(var e=t.length;e--;)this.options.filterTelemetry(t[e])&&t.splice(e,1)}catch(t){this.options.filterTelemetry=null}return(t=t.filter(t=>"connectivity"!==t.type)).map(({otelAttributes:t,...e})=>e)}exportTelemetrySpan(t={}){this.telemetrySpan&&(this.telemetrySpan.end(t),this.telemetrySpan=this.tracing.startSpan("rollbar-telemetry",{}))}capture(t,e,r,n,i=null,s=null){var a,l,c={level:(a=t,(l=r)||({error:"error",manual:"info"})[a]||"info"),type:t,timestamp_ms:i||I(),body:e,source:"client"};n&&(c.uuid=n),s&&(c.otelAttributes=s);try{if(o(this.options.filterTelemetry)&&this.options.filterTelemetry(c))return!1}catch(t){this.options.filterTelemetry=null}return this.push(c),c}captureEvent(t,e,r,n){return this.capture(t,e,r,n)}captureError(t,e,r,n){let o=t.message||String(t);var i={message:o};t.stack&&(i.stack=t.stack);let s={message:o,level:e,type:"error",uuid:r};return this.telemetrySpan?.addEvent("rollbar-occurrence-event",s,A(n)),this.capture("error",i,e,r,n,s)}captureLog(t,e,r,n){let o=r?"rollbar-occurrence-event":"rollbar-log-event",i={message:t,level:e,...r?{type:"message",uuid:r}:{}};return this.telemetrySpan?.addEvent(o,i,A(n)),this.capture("log",{message:t},e,r,n,i)}captureNetwork(t,e,r,n){e=e||"xhr",t.subtype=t.subtype||e,n&&(t.request=n);let o=this.levelFromStatus(t.status_code),i=1e6*(t.end_time_ms||0),s={type:t.subtype,method:t.method,url:t.url,statusCode:t.status_code,"request.headers":JSON.stringify(t.request_headers||{}),"response.headers":JSON.stringify(t.response?.headers||{}),"response.timeUnixNano":i.toString()},a=t.request,l=t.response?.body;return a&&(s["request.body"]=JSON.stringify(a)),l&&(s["response.body"]=JSON.stringify(l)),this.telemetrySpan?.addEvent("rollbar-network-event",s,A(t.start_time_ms)),this.capture("network",t,o,r,t.start_time_ms,s)}levelFromStatus(t){return t>=200&&t<400?"info":0===t||t>=400?"error":"info"}captureDom(t,e,r,n,o){var i={subtype:t,element:e};return void 0!==r&&(i.value=r),void 0!==n&&(i.checked=n),this.capture("dom",i,"info",o)}captureInput({type:t,isSynthetic:e,element:r,value:n,timestamp:o}){let i="rollbar-input-event",s={type:t,isSynthetic:e,element:r,value:n,endTimeUnixNano:A(o)},a=this._getRepeatedEvent(i,s);return a?this._updateRepeatedEvent(a,s,o):(this.telemetrySpan?.addEvent(i,s,A(o)),this.capture("dom",{type:i,subtype:t,element:r,value:n},"info",null,o,s))}captureClick({type:t,isSynthetic:e,element:r,timestamp:n}){let o="rollbar-click-event",i={type:t,isSynthetic:e,element:r,endTimeUnixNano:A(n)},s=this._getRepeatedEvent(o,i);return s?this._updateRepeatedEvent(s,i,n):(this.telemetrySpan?.addEvent(o,i,A(n)),this.capture("dom",{type:o,subtype:t,element:r},"info",null,n,i))}_getRepeatedEvent(t,e){let r=this._lastEvent(this.queue);if(r&&r.body.type===t&&r.otelAttributes.target===e.target)return r}_updateRepeatedEvent(t,e,r){let n=Math.max(r-t.timestamp_ms,1);t.body.value=e.value,t.otelAttributes.value=e.value,t.otelAttributes.height=e.height,t.otelAttributes.width=e.width,t.otelAttributes.textZoomRatio=e.textZoomRatio,t.otelAttributes.endTimeUnixNano=A(r),t.otelAttributes.durationUnixNano=A(n),t.otelAttributes.count=(t.otelAttributes.count||1)+1,t.otelAttributes.rate=t.otelAttributes.count/(n/1e3)}_lastEvent(t){return t.length>0?t[t.length-1]:null}captureFocus({type:t,isSynthetic:e,element:r,timestamp:n}){let o="rollbar-focus-event",i={type:t,isSynthetic:e,element:r};return this.telemetrySpan?.addEvent(o,i,A(n)),this.capture("dom",{type:o,subtype:t,element:r},"info",null,n,i)}captureResize({type:t,isSynthetic:e,width:r,height:n,textZoomRatio:o,timestamp:i}){let s="rollbar-resize-event",a={type:t,isSynthetic:e,width:r,height:n,textZoomRatio:o},l=this._getRepeatedEvent(s,a);return l?this._updateRepeatedEvent(l,a,i):(this.telemetrySpan?.addEvent(s,a,A(i)),this.capture("dom",{type:s,subtype:t,width:r,height:n,textZoomRatio:o},"info",null,i,a))}captureDragDrop({type:t,isSynthetic:e,element:r,dropEffect:n,effectAllowed:o,kinds:i,mediaTypes:s,timestamp:a}){let l="rollbar-dragdrop-event",c={type:l,subtype:t,isSynthetic:e},u={type:t,isSynthetic:e};return"dragstart"===t&&(c={...c,element:r,dropEffect:n,effectAllowed:o},u={...u,element:r,dropEffect:n,effectAllowed:o}),"drop"===t&&(c={...c,element:r,dropEffect:n,effectAllowed:o,kinds:i,mediaTypes:s},u={...u,element:r,dropEffect:n,effectAllowed:o,kinds:i,mediaTypes:s}),this.telemetrySpan?.addEvent(l,u,A(a)),this.capture("dom",c,"info",null,a,u)}captureNavigation(t,e,r,n){return this.telemetrySpan?.addEvent("rollbar-navigation-event",{"previous.url.full":t,"url.full":e},A(n)),this.capture("navigation",{from:t,to:e},"info",r,n)}captureDomContentLoaded(t){return this.capture("navigation",{subtype:"DOMContentLoaded"},"info",void 0,t&&t.getTime())}captureLoad(t){return this.capture("navigation",{subtype:"load"},"info",void 0,t&&t.getTime())}captureConnectivityChange({type:t,isSynthetic:e,timestamp:r}){let n="rollbar-connectivity-event",o={type:t,isSynthetic:e};return this.telemetrySpan?.addEvent(n,o,A(r)),this.capture("connectivity",{type:n,subtype:t},"info",null,r,o)}
1_captureRollbarItem(t){if(this.options.includeItemsInTelemetry){if(t.err)return this.captureError(t.err,t.level,t.uuid,t.timestamp);if(t.message)return this.captureLog(t.message,t.level,t.uuid,t.timestamp);if(t.custom)return this.capture("log",t.custom,t.level,t.uuid,t.timestamp)}}push(t){this.queue.push(t),this.queue.length>this.maxQueueSize&&this.queue.shift()}},j=new class t{constructor(t){this._currentContext=t?new Map(t):new Map}getValue(t){return this._currentContext.get(t)}setValue(e,r){let n=new t(this._currentContext);return n._currentContext.set(e,r),n}deleteValue(e){let r=new t(self._currentContext);return r._currentContext.delete(e),r}};class N{constructor(){this.currentContext=j}active(){return this.currentContext}enterContext(t){let e=this.currentContext;return this.currentContext=t||j,e}exitContext(t){return this.currentContext=t,this.currentContext}with(t,e,r,...n){let o=this.enterContext(t);try{return e.call(r,...n)}finally{this.exitContext(o)}}}function q(t){return[Math.trunc(t/1e3),Math.round(t%1e3*1e6)]}let M=function(t){return 1e9*t[0]+t[1]},H=function(t=!1){var e,r;return t?(e=q(performance.timeOrigin),r=q(performance.now()),[e[0]+r[0]+Math.trunc((e[1]+r[1])/1e9),(e[1]+r[1])%1e9]):q(Date.now())};class D{constructor(t,e={}){this.api=t,this.options=e}export(t,e){U.push(...t)}toPayload(){let t=U.slice();if(U.length=0,!t||!t.length)return{resourceSpans:[]};let e=t[0]&&t[0].resource||{},r=new Map;for(let e of t){let t=e.instrumentationScope?`${e.instrumentationScope.name}:${e.instrumentationScope.version}`:"default:1.0.0";r.has(t)||r.set(t,{scope:e.instrumentationScope||{name:"default",version:"1.0.0",attributes:[]},spans:[]}),r.get(t).spans.push(this._transformSpan(e))}return{resourceSpans:[{resource:this._transformResource(e),scopeSpans:Array.from(r.values()).map(t=>({scope:this._transformInstrumentationScope(t.scope),spans:t.spans}))}]}}post(t,e={}){return this.api.postSpans(t,e)}_transformSpan(t){let e=t=>Object.entries(t||{}).map(([t,e])=>({key:t,value:this._transformAnyValue(e)}));return{traceId:t.spanContext.traceId,spanId:t.spanContext.spanId,parentSpanId:t.parentSpanId||"",name:t.name,kind:t.kind||1,startTimeUnixNano:M(t.startTime),endTimeUnixNano:M(t.endTime),attributes:e(t.attributes),events:(t.events||[]).map(t=>({timeUnixNano:M(t.time),name:t.name,attributes:e(t.attributes)}))}}_transformResource(t){return{attributes:Object.entries(t.attributes||{}).map(([t,e])=>({key:t,value:this._transformAnyValue(e)}))}}_transformInstrumentationScope(t){return{name:t.name||"",version:t.version||"",attributes:(t.attributes||[]).map(t=>({key:t.key,value:this._transformAnyValue(t.value)}))}}_transformAnyValue(t){if(null==t)return{stringValue:""};let e=typeof t;if("string"===e)return{stringValue:t};if("number"===e)if(Number.isInteger(t))return{intValue:t.toString()};else return{doubleValue:t};if("boolean"===e)return{boolValue:t};if(Array.isArray(t))return{arrayValue:{values:t.map(t=>this._transformAnyValue(t))}};if("object"===e)return{kvlistValue:{values:Object.entries(t).map(([t,e])=>({key:t,value:this._transformAnyValue(e)}))}};return{stringValue:String(t)}}}let U=[],z=function(t=16){let e=new Uint8Array(t);return crypto.getRandomValues(e),Array.from(e,t=>t.toString(16).padStart(2,"0")).join("")},F="RollbarSession";class ${_attributes;constructor(t,e){this.options=e,this.tracing=t,this.window=t.window,this.session=null,this._attributes={}}init(t={}){return this.session||(this.getSession()||this.createSession(),this.initSessionAttributes(t)),this}getSession(){try{let t=this.window.sessionStorage.getItem(F);if(!t)return null;this.session=JSON.parse(t)}catch{return null}return this}createSession(){return this.session={id:z(),createdAt:Date.now()},this.setSession(this.session)}setSession(t){let e=JSON.stringify(t);try{this.window.sessionStorage.setItem(F,e)}catch{return null}return this}get attributes(){return this._attributes}setAttributes(t){return this._attributes={...this._attributes,...t},this}setUser(t){return this.setAttributes({"user.id":t?.id,"user.email":t?.email,"user.name":t?.name||t?.username}),this}initSessionAttributes(t){return this.setAttributes({"session.id":this.session.id,"browser.brands":navigator.userAgentData?.brands,"browser.language":navigator.language,"browser.mobile":navigator.userAgentData?.mobile,"browser.platform":navigator.userAgentData?.platform,"client.address":"$remote_ip","rollbar.notifier.framework":"browser-js","user_agent.original":navigator.userAgent,...t}),this}}let V=()=>{},J={debug:0,info:1,warn:2,error:3,disable:4},W={error:(...t)=>V("error",t),warn:(...t)=>V("warn",t),info:(...t)=>V("info",t),debug:(...t)=>V("debug",t),log:(...t)=>V("info",t),init:({logLevel:t})=>{V=function(e,r){J[e]<J[t]||(r.unshift("Rollbar:"),console[e].apply(console,r))}}};class B{constructor(t,e={}){this.exporter=t,this.options=e,this.pendingSpans=new Map,this.transforms=[this.userTransform.bind(this)]}addTransform(t){this.transforms.unshift(t)}userTransform(t){this.options.transformSpan&&this.options.transformSpan({span:t})}applyTransforms(t){for(let e of this.transforms)try{e(t)}catch(t){W.error("Error running span transform callback",t)}}onStart(t,e){this.pendingSpans.set(t.span.spanContext.spanId,t)}onEnd(t){this.applyTransforms(t.span),this.exporter.export([t.export()]),this.pendingSpans.delete(t.span.spanContext.spanId)}}class G{constructor(t){return this.usePerformance=t.usePerformance,this.initReadableSpan(t),this.spanProcessor=t.spanProcessor,this.spanProcessor.onStart(this,t.context),t.attributes&&this.setAttributes(t.attributes),this}initReadableSpan(t){this.span={name:t.name,kind:t.kind,spanContext:t.spanContext,parentSpanId:t.parentSpanId,startTime:t.startTime||H(t.usePerformance),endTime:[0,0],status:{code:0,message:""},attributes:{"session.id":t.session?.id},links:[],events:[],duration:0,ended:!1,resource:t.resource,instrumentationScope:t.scope,droppedAttributesCount:0,droppedEventsCount:0,droppedLinksCount:0}}spanContext(){return this.span.spanContext}get spanId(){return this.span.spanContext.spanId}get traceId(){return this.span.spanContext.traceId}setAttribute(t,e){return null==e||this.span.ended||0===t.length||(this.span.attributes[t]=e),this}setAttributes(t){for(let[e,r]of Object.entries(t))this.setAttribute(e,r);return this}addEvent(t,e={},r){return this.span.ended||this.span.events.push({name:t,attributes:e,time:r||H(),droppedAttributesCount:0}),this}isRecording(){return!1===this.span.ended}end(t,e){t&&this.setAttributes(t),this.span.endTime=e||H(this.usePerformance),this.span.ended=!0,this.spanProcessor.onEnd(this)}export(){return this.span}}class X{constructor(t,e){this.spanProcessor=e,this.tracing=t}startSpan(t,e={},r=this.tracing.contextManager.active()){let n,o,i=this.tracing.getSpan(r),s=i?.spanContext(),a=z(8),l=null;s?(n=s.traceId,l=s.traceState,o=s.spanId):n=z(16);let c={traceId:n,spanId:a,traceFlags:0,traceState:l};return new G({resource:{attributes:{...this.tracing.resource?.attributes||{},...e.resource?.attributes||{}}},scope:this.tracing.scope,session:this.tracing.session?.session,context:r,spanContext:c,name:t,kind:0,parentSpanId:o,spanProcessor:this.spanProcessor,startTime:e.startTime,usePerformance:e.usePerformance})}}let Z=Symbol.for("Rollbar Context Key SPAN");function K(t,e){return[t,g(t,e)]}function Q(t,e){var r=t.length;return r>2*e?t.slice(0,e).concat(t.slice(r-e)):t}function Y(t,e,r){r=void 0===r?30:r;var n,o=t.data.body;if(o.trace_chain)for(let t of o.trace_chain)n=Q(n=t.frames,r),t.frames=n;else o.trace&&(n=Q(n=o.trace.frames,r),o.trace.frames=n);return[t,g(t,e)]}function tt(t,e){return e&&e.length>t?e.slice(0,t-3).concat("..."):e}function te(t,e,r){return[e=O(e,function e(r,o,i){switch(n(o)){case"string":return tt(t,o);case"object":case"array":return O(o,e,i);default:return o}}),g(e,r)]}function tr(t){return t.exception&&(delete t.exception.description,t.exception.message=tt(255,t.exception.message)),t.frames=Q(t.frames,1),t}function tn(t,e){var r=t.data.body;if(r.trace_chain){var n=r.trace_chain;for(let[t,e]of n.entries())n[t]=tr(e)}else r.trace&&(r.trace=tr(r.trace));return[t,g(t,e)]}function to(t){if(!r(t.context,"string")){var e=g(t.context);e.error?t.context="Error: could not serialize 'context'":t.context=e.value||"",t.context.length>255&&(t.context=t.context.substr(0,255))}return{data:t}}function ti(t,e,r){var n,o,i,s=e.hostname,a=e.protocol,l=e.port,c=e.path,u=e.search,d=t.timeout,p=(n=t,o="u">typeof window&&window||"u">typeof self&&self,i=n.defaultTransport||"xhr",void 0===o.fetch&&(i="xhr"),void 0===o.XMLHttpRequest&&(i="fetch"),i),h=t.proxy;if(t.endpoint){var f=r.parse(t.endpoint);s=f.hostname,a=f.protocol,l=f.port,c=f.pathname,u=f.search}return{timeout:d,hostname:s,protocol:a,port:l,path:c,search:u,proxy:h,transport:p}}function ts(t,e){var r=t.protocol||"https:",n=t.port||("http:"===r?80:"https:"===r?443:void 0),o=t.hostname,i=t.path,s=t.t
1imeout,a=t.transport;return t.search&&(i+=t.search),t.proxy&&(i=r+"//"+o+i,o=t.proxy.host||t.proxy.hostname,n=t.proxy.port,r=t.proxy.protocol||r),{timeout:s,protocol:r,hostname:o,path:i,port:n,method:e,transport:a}}let ta={hostname:"api.rollbar.com",path:"/api/1/item/",search:null,version:"1",protocol:"https:",port:443},tl={hostname:"api.rollbar.com",path:"/api/1/session/",search:null,version:"1",protocol:"https:",port:443};function tc(t,e){return ti(t={...t,endpoint:t.tracing?.endpoint},tl,e)}let tu=class{constructor(t,e,r,n){this.options=t,this.transport=e,this.url=r,this.truncation=n,this.accessToken=t.accessToken,this.transportOptions=function(t,e){return ti(t,ta,e)}(t,r),this.OTLPTransportOptions=tc(t,r)}_postPromise({accessToken:t,options:e,payload:r,headers:n}){return new Promise((o,i)=>{this.transport.post({accessToken:t,options:e,payload:r,headers:n,callback:(t,e)=>t?i(t):o(e)})})}postItem(t,e){let r=ts(this.transportOptions,"POST"),n=to(t);setTimeout(()=>{this.transport.post({accessToken:this.accessToken,options:r,payload:n,callback:e})},0)}async postSpans(t,e={}){let r=ts(this.OTLPTransportOptions,"POST");return this._postPromise({accessToken:this.accessToken,options:r,payload:t,headers:e})}buildJsonPayload(t,e){let r,n=to(t);return(r=this.truncation?this.truncation.truncate(n):g(n)).error?(e&&e(r.error),null):r.value}postJsonPayload(t,e){let r=ts(this.transportOptions,"POST");this.transport.postJsonPayload(this.accessToken,r,t,e)}configure(t){var e;let r=this.options;return this.options=T(r,t),this.transportOptions=(e=this.options,ti(e,ta,this.url)),this.OTLPTransportOptions=tc(this.options,this.url),void 0!==this.options.accessToken&&(this.accessToken=this.options.accessToken),this}},td=/(^|@)\S+:\d+/,tp=/^\s*at .*(\S+:\d+|\(native\))/m,th=/^(eval@)?(\[native code\])?$/;function tf(t){if(!t.includes(":"))return[t,void 0,void 0];let e=/(.+?)(?::(\d+))?(?::(\d+))?$/.exec(t.replace(/[()]/g,""));return[e[1],e[2]||void 0,e[3]||void 0]}function tm(t,e){return e&&null!=e.slice?Array.isArray(e.slice)?t.slice(e.slice[0],e.slice[1]):t.slice(0,e.slice):t}var tg=RegExp("^(([a-zA-Z0-9-_$ ]*): *)?(Uncaught )?([a-zA-Z0-9-_$ ]*): ");function tb(){return null}function ty(t){var e={};return e._stackFrame=t,e.url=t.fileName,e.line=t.lineNumber,e.func=t.functionName,e.column=t.columnNumber,e.args=t.args,e.context=tb(),e}function tv(t,e){var r,n,o;return{stack:function(){var r,n=[];e=e||0;try{r=t,n=(function(t,e){var r,n,o,i,s,a,l,c,u,d,p,h;if(void 0!==t.stacktrace||void 0!==t["opera#sourceloc"]){return r=t,n=e,!r.stacktrace||r.message.includes("\n")&&r.message.split("\n").length>r.stacktrace.split("\n").length?function(t){let e=/Line (\d+).*script (?:in )?(\S+)/i,r=t.message.split("\n"),n=[];for(let t=2,o=r.length;t<o;t+=2){let o=e.exec(r[t]);o&&n.push({file:o[2],line:+o[1],raw:r[t]})}return tm(n,void 0)}(r):r.stack?(o=r,i=n,tm(o.stack.split("\n").filter(t=>!!t.match(td)&&!t.match(/^Error created at/)),i).map(t=>{let e,r=t.split("@"),n=tf(r.pop()),o=r.shift()||"",i=o.replace(/<anonymous function(: (\w+))?>/,"$2").replace(/\([^)]*\)/g,"")||void 0;return o.match(/\(([^)]*)\)/)&&(e=o.replace(/^[^(]+\(([^)]*)\)$/,"$1")),{function:i,args:void 0===e||"[arguments not available]"===e?void 0:e.split(","),file:n[0],line:n[1]?+n[1]:void 0,col:n[2]?+n[2]:void 0,raw:t}})):function(t){let e=/Line (\d+).*script (?:in )?(\S+)(?:: In function (\S+))?$/i,r=t.stacktrace.split("\n"),n=[];for(let t=0,o=r.length;t<o;t+=2){let o=e.exec(r[t]);o&&n.push({function:o[3]||void 0,file:o[2],line:o[1]?+o[1]:void 0,raw:r[t]})}return tm(n,void 0)}(r)}if(t.stack&&t.stack.match(tp)){return s=t,a=e,l=s.stack,c=a,tm(l.split("\n").filter(t=>!!t.match(tp)),c).map(t=>{t.includes("(eval ")&&(t=t.replace(/eval code/g,"eval").replace(/(\(eval at [^()]*)|(,.*$)/g,""));let e=t.replace(/^\s+/,"").replace(/\(eval code/g,"(").replace(/^.*?\s+/,""),r=e.match(/ (\(.+\)$)/);e=r?e.replace(r[0],""):e;let n=tf(r?r[1]:e);return{function:r&&e||void 0,file:["eval","<anonymous>"].includes(n[0])?void 0:n[0],line:n[1]?+n[1]:void 0,col:n[2]?+n[2]:void 0,raw:t}})}if(t.stack){return u=t,d=e,p=u.stack,h=d,tm(p.split("\n").filter(t=>!t.match(th)),h).map(t=>{if(t.includes(" > eval")&&(t=t.replace(/ line (\d+)(?: > eval line \d+)* > eval:\d+:\d+/g,":$1")),!t.includes("@")&&!t.includes(":"))return{function:t};
1{let e=/(([^\n\r"\u2028\u2029]*".[^\n\r"\u2028\u2029]*"[^\n\r@\u2028\u2029]*(?:@[^\n\r"\u2028\u2029]*"[^\n\r@\u2028\u2029]*)*(?:[\n\r\u2028\u2029][^@]*)?)?[^@]*)@/,r=t.match(e),n=r&&r[1]?r[1]:void 0,o=tf(t.replace(e,""));return{function:n,file:o[0],line:o[1]?+o[1]:void 0,col:o[2]?+o[2]:void 0,raw:t}}})}if(e?.allowEmpty)return[];throw Error("Cannot parse given Error object")})(r,void 0).map(t=>({functionName:t.function,args:t.args,fileName:t.file,lineNumber:t.line,columnNumber:t.col,source:t.raw}))}catch(t){n=[]}for(var o=[],i=e;i<n.length;i++)o.push(new ty(n[i]));return o}(),message:t.message,name:(n=(r=t).name&&r.name.length&&r.name,o=r.constructor.name&&r.constructor.name.length&&r.constructor.name,n&&o?"Error"===n?o:n:n||o),rawStack:t.stack,rawException:t}}let tw={guessFunctionName:function(){return"?"},guessErrorClass:function(t){if(!t||!t.match)return["Unknown error. There was no error message to display.",""];var e=t.match(tg),r="(unknown)";return e&&(r=e[e.length-1],t=(t=t.replace((e[e.length-2]||"")+r+":","")).replace(/(^[\s]+|[\s]+$)/g,"")),[r,t]},gatherContext:tb,parse:function(t,e){var r=t;if(!r.nested&&!r.cause)return new tv(r,e);for(var n=[];r;)n.push(new tv(r,e)),r=r.nested||r.cause,e=0;return n[0].traceChain=n,n[0]},Stack:tv,Frame:ty};function tx(t,e){return!((u[t.level]||0)<(u[e.reportLevel]||0))}function t_(t,e,n,o){var i,s,a=!1;"blocklist"===n&&(a=!0);try{if(i=a?e.hostBlockList:e.hostSafeList,s=E(t,"body.trace_chain")||[E(t,"body.trace")],!i||0===i.length||0===s.length||!s[0])return!a;for(var l=s.length,c=0;c<l;c++)if(function(t,e,n){if(!t)return!n;var o,i=t.frames;if(!i||0===i.length)return!n;for(var s=e.length,a=i.length,l=0;l<a;l++){if(!r(o=i[l].filename,"string"))return!n;for(var c=0;c<s;c++)if(new RegExp(e[c]).test(o))return!0}return!1}(s[c],i,a))return!0}catch(t){a?e.hostBlockList=null:e.hostSafeList=null;var u=a?"hostBlockList":"hostSafeList";return o.error("Error while reading your configuration's "+u+" option. Removing custom "+u+".",t),!a}return!1}class tk{constructor(t,e){this.queue=t,this.options=e,this.transforms=[],this.diagnostic={}}configure(t){this.queue?.configure(t);let e=this.options;return this.options=T(e,t),this}addTransform(t){return o(t)&&this.transforms.push(t),this}log(t,e){if(e=o(e)?e:()=>{},!this.options.enabled)return e(Error("Rollbar is not enabled"),null);this.queue.addPendingItem(t);let r=t.err;this._applyTransforms(t,(n,o)=>{if(n)return this.queue.removePendingItem(t),e(n,null);this.queue.addItem(o,e,r,t)})}_applyTransforms(t,e){let r=-1,n=this.transforms.length,o=this.transforms,i=this.options,s=(t,a)=>{t?e(t,null):++r===n?e(null,a):o[r](a,i,s)};s(null,t)}}let tE=class t{constructor(t,e,r,n,o){this.rateLimiter=t,this.api=e,this.logger=r,this.options=n,this.replay=o,this.predicates=[],this.pendingItems=[],this.pendingRequests=[],this.retryQueue=[],this.retryHandle=null,this.waitCallback=null,this.waitIntervalID=null}configure(t){this.api?.configure(t);let e=this.options;return this.options=T(e,t),this}addPredicate(t){return o(t)&&this.predicates.push(t),this}addPendingItem(t){this.pendingItems.push(t)}removePendingItem(t){let e=this.pendingItems.indexOf(t);-1!==e&&this.pendingItems.splice(e,1)}addItem(t,e,r,n){e&&o(e)||(e=function(){});let i=t.data,s=this._applyPredicates(i);if(s.stop){this.removePendingItem(n),e(s.err);return}if(this._maybeLog(i,r),this.removePendingItem(n),!this.options.transmit)return void e(Error("Transmit disabled"));this.replay&&i.body&&(t.replayId=this.replay.capture(null,i.uuid,{type:"occurrence",level:t.level}),t.replayId&&k(t.data,[{key:"replay_id",value:t.replayId}])),this.pendingRequests.push(i);try{this._makeApiRequest(i,(r,n,o)=>{this._dequeuePendingRequest(i),t.replayId&&this.replay.sendOrDiscardReplay(t.replayId,r,n,o),e(r,n)})}catch(r){this._dequeuePendingRequest(i),t.replayId&&this.replay?.discard(t.replayId),e(r)}}wait(t){!o(t)||(this.waitCallback=t,this._maybeCallWait()||(this.waitIntervalID&&(this.waitIntervalID=clearInterval(this.waitIntervalID)),this.waitIntervalID=setInterval(()=>{this._maybeCallWait()},500)))}_applyPredicates(t){let e=null;for(let r=0,n=this.predicates.length;r<n;r++)if(!(e=this.predicates[r](t,this.options))||void 0!==e.err)return{stop:!0,err:e.err};return{stop:!1,err:null}}
1_makeApiRequest(t,e){let r=this.rateLimiter.shouldSend(t);r.shouldSend?this.api.postItem(t,(r,n,o)=>{r?this._maybeRetry(r,t,e):e(r,n,o)}):r.error?e(r.error):this.api.postItem(r.payload,e)}static RETRIABLE_ERRORS=["ECONNRESET","ENOTFOUND","ESOCKETTIMEDOUT","ETIMEDOUT","ECONNREFUSED","EHOSTUNREACH","EPIPE","EAI_AGAIN"];_maybeRetry(e,r,n){let o=!1;if(this.options.retryInterval){for(let r=0,n=t.RETRIABLE_ERRORS.length;r<n;r++)if(e.code===t.RETRIABLE_ERRORS[r]){o=!0;break}o&&a(this.options.maxRetries)&&(r.retries=r.retries?r.retries+1:1,r.retries>this.options.maxRetries&&(o=!1))}o?this._retryApiRequest(r,n):n(e)}_retryApiRequest(t,e){this.retryQueue.push({item:t,callback:e}),this.retryHandle||(this.retryHandle=setInterval(()=>{for(;this.retryQueue.length;){let t=this.retryQueue.shift();this._makeApiRequest(t.item,t.callback)}},this.options.retryInterval))}_dequeuePendingRequest(t){let e=this.pendingRequests.indexOf(t);-1!==e&&(this.pendingRequests.splice(e,1),this._maybeCallWait())}_maybeLog(t,e){if(this.logger&&this.options.verbose){let r=e||E(t,"body.trace.exception.message")||E(t,"body.trace_chain.0.exception.message");if(r)return void this.logger.error(r);(r=E(t,"body.message.body"))&&this.logger.log(r)}}_maybeCallWait(){return!!o(this.waitCallback)&&0===this.pendingItems.length&&0===this.pendingRequests.length&&(this.waitIntervalID&&(this.waitIntervalID=clearInterval(this.waitIntervalID)),this.waitCallback(),!0)}};class tS{static globalSettings={startTime:Date.now(),maxItems:void 0,itemsPerMinute:void 0};constructor(t={}){this.startTime=Date.now(),this.counter=0,this.perMinCounter=0,this.platform=null,this.platformOptions={},this.configureGlobal(t)}configureGlobal(t={}){let{startTime:e,maxItems:r,itemsPerMinute:n}=t;void 0!==e&&(tS.globalSettings.startTime=e),void 0!==r&&(tS.globalSettings.maxItems=r),void 0!==n&&(tS.globalSettings.itemsPerMinute=n)}shouldSend(t,e=Date.now()){let r=e-this.startTime;(r<0||r>=6e4)&&(this.startTime=e,this.perMinCounter=0);let n=tS.globalSettings.maxItems,o=tS.globalSettings.itemsPerMinute;if(tI(t,n,this.counter))return tR(this.platform,this.platformOptions,`${n} max items reached`,!1);if(tI(t,o,this.perMinCounter))return tR(this.platform,this.platformOptions,`${o} items per minute reached`,!1);this.counter+=1,this.perMinCounter+=1;let i=!tI(t,n,this.counter),s=i&&!tI(t,o,this.perMinCounter);return tR(this.platform,this.platformOptions,null,s,n,o,i)}setPlatformOptions(t,e){this.platform=t,this.platformOptions=e}}function tI(t,e,r){return!t.ignoreRateLimit&&e>=1&&r>e}function tR(t,e,r,n,o,i,s){var a,l;
1let c,u=null,d=r?Error(r):null;return d||n||(a=t,c={body:{message:{body:s?"item per minute limit reached, ignoring errors until timeout":"maxItems has been hit, ignoring errors until reset.",extra:{maxItems:o,itemsPerMinute:i}}},language:"javascript",environment:(l=e).environment||l.payload&&l.payload.environment,notifier:{version:l.notifier&&l.notifier.version||l.version}},"browser"===a?(c.platform="browser",c.framework="browser-js",c.notifier.name="rollbar-browser-js"):"server"===a?(c.framework=l.framework||"node-js",c.notifier.name=l.notifier.name):"react-native"===a&&(c.framework=l.framework||"react-native",c.notifier.name=l.notifier.name),u=c),{error:d,shouldSend:n,payload:u}}function tT(t,e,r,n,o,i,s){this.options=T(t),this.logger=r,tT.rateLimiter.configureGlobal(this.options),tT.rateLimiter.setPlatformOptions(s,this.options),this.api=e,this.queue=new tE(tT.rateLimiter,e,r,this.options,i),this.tracing=o;var a=this.options.tracer||null;tO(a)?(this.tracer=a,this.options.tracer="opentracing-tracer-enabled",this.options._configuredOptions.tracer="opentracing-tracer-enabled"):this.tracer=null,this.notifier=new tk(this.queue,this.options),this.telemeter=n,tC(t),this.lastError=null,this.lastErrorHash="none"}function tC(t){t.stackTraceLimit&&(Error.stackTraceLimit=t.stackTraceLimit)}function tO(t){if(!t||!t.scope||"function"!=typeof t.scope)return!1;var e=t.scope();return!!e&&!!e.active&&"function"==typeof e.active}function tL(t,e,r){t._isUncaught&&(t.data._isUncaught=!0),t._originalArgs&&(t.data._originalArgs=t._originalArgs),r(null,t)}function tA(t,e,r){var n=e.payload||{};n.body&&delete n.body,t.data=T(t.data,n),r(null,t)}function tP(t,e,r){t.telemetryEvents&&S(t,"data.body.telemetry",t.telemetryEvents),r(null,t)}function tj(t,e,r){if(!t.message)return void r(null,t);var n="data.body.trace_chain.0",o=E(t,n);if(o||(o=E(t,n="data.body.trace")),o){if(!(o.exception&&o.exception.description)){S(t,n+".exception.description",t.message),r(null,t);return}var i=T(E(t,n+".extra")||{},{message:t.message});S(t,n+".extra",i)}r(null,t)}function tN(t,e,r){if(!e.sendConfig)return r(null,t);var n=E(t,"data.custom")||{};n._rollbarConfig=e,t.data.custom=n,r(null,t)}function tq(t,e){o(t[e])&&(t[e]=t[e].toString())}function tM(t,e,r){var n=e._configuredOptions;tq(n,"transform"),tq(n,"checkIgnore"),tq(n,"onSendCallback"),delete n.accessToken,t.data.notifier.configured_options=n,r(null,t)}function tH(t,e,r){var n=T(t.notifier.client.notifier.diagnostic,t.diagnostic);if(E(t,"err._isAnonymous")&&(n.is_anonymous=!0),t._isUncaught&&(n.is_uncaught=t._isUncaught),t.err)try{n.raw_error={message:t.err.message,name:t.err.name,constructor_name:t.err.constructor&&t.err.constructor.name,filename:t.err.fileName,line:t.err.lineNumber,column:t.err.columnNumber,stack:t.err.stack}}catch(t){n.raw_error={failed:String(t)}}t.data.notifier.diagnostic=T(t.data.notifier.diagnostic,n),r(null,t)}tT.rateLimiter=new tS({maxItems:0,itemsPerMinute:60}),tT.prototype.global=function(t){return tT.rateLimiter.configureGlobal(t),this},tT.prototype.configure=function(t,e){var r=this.options,n={};e&&(n={payload:e}),this.options=T(r,t,n);var o=this.options.tracer||null;return tO(o)?(this.tracer=o,this.options.tracer="opentracing-tracer-enabled",this.options._configuredOptions.tracer="opentracing-tracer-enabled"):this.tracer=null,this.notifier&&this.notifier.configure(this.options),this.telemeter&&this.telemeter.configure(this.options),tC(t),this.global(this.options),tO(t.tracer)&&(this.tracer=t.tracer),this},tT.prototype.log=function(t){var e=this._defaultLogLevel();return this._log(e,t)},tT.prototype.debug=function(t){this._log("debug",t)},tT.prototype.info=function(t){this._log("info",t)},tT.prototype.warn=function(t){this._log("warning",t)},tT.prototype.warning=function(t){this._log("warning",t)},tT.prototype.error=function(t){this._log("error",t)},tT.prototype.critical=function(t){this._log("critical",t)},tT.prototype.wait=function(t){this.queue.wait(t)},tT.prototype.captureEvent=function(t,e,r){return this.telemeter&&this.telemeter.captureEvent(t,e,r)},tT.prototype.captureDomContentLoaded=function(t){return this.telemeter&&this.telemeter.captureDomContentLoaded(t)},tT.prototype.captureLoad=function(t){return this.telemeter&&this.telemeter.captureLoad(t)},tT.prototype.buildJsonPayload=function(t){return this.api.buildJsonPayload(t)},tT.prototype.sendJsonPayload=function(t){this.api.postJsonPayload(t)},tT.prototype._log=function(t,e){var r;if(e.callback&&(r=e.callback,delete e.callback),this.options.ignoreDuplicateErrors&&this._sameAsLastError(e)){if(r){var n=Error("ignored identical item");n.item=e,r(n)}return}try{e.level=e.level||t,this._addItemAttributes(e),this._addTracingInfo(e);let n=this.telemeter;n&&(n._captureRollbarItem(e),e.telemetryEvents=n.copyEvents()||[]),this.notifier.log(e,r)}catch(t){r&&r(t),this.logger.error(t)}},tT.prototype._addItemAttributes=function(t){let e=this.tracing?.getSpan(),r=[{key:"session_id",value:function(t){let e=t.asyncLocalStorage;if(!e||"function"!=typeof e.getStore)return null;let r=e.getStore();return r?.sessionId||null}(this)||this.tracing?.sessionId},{key:"span_id",value:e?.spanId},{key:"trace_id",value:e?.traceId}];t._isUncaught&&r.push({key:"is_uncaught",value:"true"}),k(t.data,r),e?.addEvent("rollbar.occurrence",[{key:"rollbar.occurrence.uuid",value:t.uuid}])},tT.prototype._defaultLogLevel=function(){return this.options.logLevel||"debug"},tT.prototype._sameAsLastError=function(t){if(!t._isUncaught)return!1;var e,r=((e=t).message||"")+"::"+((e.err||{}).stack||String(e.err));return this.lastErrorHash===r||(this.lastError=t.err,this.lastErrorHash=r,!1)},tT.prototype._addTracingInfo=function(t){if(this.tracer){var e=this.tracer.scope().active();if(function(t){if(!t||!t.context||"function"!=typeof t.context)return!1;var e=t.context();return!!e&&!!e.toSpanId&&!!e.toTraceId&&"function"==typeof e.toSpanId&&"function"==typeof e.toTraceId}(e)){e.setTag("rollbar.error_uuid",t.uuid),e.setTag("rollbar.has_error",!0),e.setTag("error",!0),e.setTag("rollbar.item_url",`https://rollbar.com/item/uuid/?uuid=${t.uuid}`),e.setTag("rollbar.occurrence_url",`https://rollbar.com/occurrence/uuid/?uuid=${t.uuid}`);var r=e.context().toSpanId(),n=e.context().toTraceId();t.custom?(t.custom.opentracing_span_id=r,t.custom.opentracing_trace_id=n):t.custom={opentracing_span_id:r,opentracing_trace_id:n}}}};function tD(t,e){return!E(e,"plugins.jquery.ignoreAjaxErrors")||!E(t,"body.message.extra.isAjax")}function tU(t,e,r){if(t.err&&"DOMException"===tw.Stack(t.err).name){var n=Error();n.name=t.err.name,n.message=t.err.message,n.stack=t.err.stack,n.nested=t.err,t.err=n}r(null,t)}function tz(t,e,r){if(t.data=t.data||{},t.err)try{t.stackInfo=t.err._savedStackTrace||tw.parse(t.err,t.skipFrames),e.addErrorContext&&function(t){var e=[],r=t.err;for(e.push(r);r.nested||r.cause;)r=r.nested||r.cause,e.push(r);var n=t.data.custom||{},o=!1;try{for(let t of e)s(t,"rollbarContext")&&(n=T(n,v(t.rollbarContext)),o=!0);o&&(t.data.custom=n)}catch(e){t.diagnostic.error_context="Failed: "+e.message}}(t)}catch(e){W.error("Error while parsing the error object.",e);try{t.message=t.err.message||t.err.description||t.message||String(t.err)}
1catch(e){t.message=String(t.err)||String(e)}delete t.err}r(null,t)}function tF(t,e,r){t.message||t.stackInfo||t.custom||r(Error("No message, stack info, or custom data"),null),r(null,t)}function t$(t,e,r){var n=e.payload&&e.payload.environment||e.environment;t.data=T(t.data,{environment:n,level:t.level,endpoint:e.endpoint,platform:"browser",framework:"browser-js",language:"javascript",server:{},uuid:t.uuid,notifier:{name:"rollbar-browser-js",version:e.version},custom:t.custom}),r(null,t)}function tV(t,e,r){t.stackInfo?t.stackInfo.traceChain?function(t,e,r){for(var n=t.stackInfo.traceChain,o=[],i=n.length,s=0;s<i;s++){var a=tB(t,n[s],e);o.push(a)}S(t,"data.body",{trace_chain:o}),r(null,t)}(t,e,r):function(t,e,r){if(tW(t)){var n=tB(t,t.stackInfo,e);S(t,"data.body",{trace:n}),r(null,t)}else{var o=t.stackInfo,i=tw.guessErrorClass(o.message);t.message=tG(o,i[0],e)+": "+i[1],tJ(t,e,r)}}(t,e,r):tJ(t,e,r)}function tJ(t,e,r){var n=t.message,o=t.custom;n||(n="Item sent with null or missing arguments.");var i={body:n};o&&(i.extra=T(o)),S(t,"data.body",{message:i}),r(null,t)}function tW(t,e=null){let r=(e||t.stackInfo).stack;return r&&0===r.length&&t._unhandledStackInfo&&t._unhandledStackInfo.stack&&(r=t._unhandledStackInfo.stack),r}function tB(t,e,n){var o,i,s,a,l,c,u,m,g=t&&t.data.description,b=t&&t.custom,y=tW(t,e),v=tw.guessErrorClass(e.message),w={exception:{class:tG(e,v[0],n),message:v[1]}};if(g&&(w.exception.description=g),y){for(0===y.length&&(w.exception.stack=e.rawStack,w.exception.raw=String(e.rawException)),w.frames=[],u=0;u<y.length;++u)i={filename:(o=y[u]).url?function(t){var e=function(t){if(r(t,"string")){for(var e=f[d?"strict":"loose"].exec(t),n={},o=0,i=p.length;o<i;++o)n[p[o]]=e[o]||"";return n[h.name]={},n[p[12]].replace(h.parser,function(t,e,r){e&&(n[h.name][e]=r)}),n}}(t);return e?(""===e.anchor&&(e.source=e.source.replace("#","")),t=e.source.replace("?"+e.query,"")):"(unknown)"}(o.url):"(unknown)",lineno:o.line||null,method:o.func&&"?"!==o.func?o.func:"[anonymous]",colno:o.column},n.sendFrameUrl&&(i.url=o.url),i.method&&i.method.endsWith&&i.method.endsWith("_rollbar_wrapped")||(s=a=l=null,(c=o.context?o.context.length:0)&&(m=Math.floor(c/2),a=o.context.slice(0,m),s=o.context[m],l=o.context.slice(m)),s&&(i.code=s),(a||l)&&(i.context={},a&&a.length&&(i.context.pre=a),l&&l.length&&(i.context.post=l)),o.args&&(i.args=o.args),w.frames.push(i));w.frames.reverse(),b&&(w.extra=T(b))}return w}function tG(t,e,r){return t.name?t.name:r.guessErrorClass?e:"(unknown)"}let tX=function({accessToken:t,url:e,method:r,payload:n,headers:o,callback:i,timeout:s}){var l,c;a(s)&&(l=new AbortController,c=setTimeout(function(){l.abort()},s)),fetch(e,{method:r,headers:o={"Content-Type":"application/json","X-Rollbar-Access-Token":t,signal:l&&l.signal,...o},body:n}).then(function(t){c&&clearTimeout(c);let r=t.headers,n=e.endsWith("/api/1/item/")?{"Rollbar-Replay-Enabled":r.get("Rollbar-Replay-Enabled"),"Rollbar-Replay-RateLimit-Remaining":r.get("Rollbar-Replay-RateLimit-Remaining"),"Rollbar-Replay-RateLimit-Reset":r.get("Rollbar-Replay-RateLimit-Reset")}:{};i(null,t.json(),n)}).catch(function(t){W.error(t.message),i(t)})};function tZ(t,e){var r=Error(t);return r.code=e||"ENOTFOUND",r}let tK=function({accessToken:t,url:e,method:n,payload:o,headers:i,callback:s,requestFactory:l,timeout:c}){var u;if(!(u=l?l():function(){var t,e,r=[function(){return new XMLHttpRequest},function(){return new ActiveXObject("Msxml2.XMLHTTP")},function(){return new ActiveXObject("Msxml3.XMLHTTP")},function(){return new ActiveXObject("Microsoft.XMLHTTP")}],n=r.length;for(e=0;e<n;e++)try{t=r[e]();break}catch(t){}return t}()))return s(Error("No way to send a request"));try{try{var d=function(){try{if(d&&4===u.readyState){d=void 0;var t,n,o,i=b(u.responseText);if((t=u)&&t.status&&200===t.status){let t=e.endsWith("/api/1/item/")?{"Rollbar-Replay-Enabled":u.getResponseHeader("Rollbar-Replay-Enabled"),"Rollbar-Replay-RateLimit-Remaining":u.getResponseHeader("Rollbar-Replay-RateLimit-Remaining"),"Rollbar-Replay-RateLimit-Reset":u.getResponseHeader("Rollbar-Replay-RateLimit-Reset")}:{};s(i.error,i.value,t);return}if((n=u)&&r(n.status,"number")&&n.status>=400&&n.status<600){if(403===u.status){var a=i.value&&i.value.message;W.error(a)}s(Error(String(u.status)))}else s(tZ("XHR response had no status code (likely connection failure)"))}}catch(t){o=t&&t.stack?t:Error(t),s(o)}};if(u.open(n,e,!0),u.setRequestHeader)for(let[e,r]of(u.setRequestHeader("Content-Type","application/json"),u.setRequestHeader("X-Rollbar-Access-Token",t),Object.entries(i??{})))u.setRequestHeader(e,r);a(c)&&(u.timeout=c),u.onreadystatechange=d,u.send(o)}catch(t){if("u">typeof XDomainRequest){if(!window||!window.location)return s(Error("No window available during request, unknown environment"));"http:"===window.location.href.substring(0,5)&&"https"===e.substring(0,5)&&(e="http"+e.substring(5));var p=new XDomainRequest;p.onprogress=()=>{},p.ontimeout=function(){s(tZ("Request timed out","ETIMEDOUT"))},p.onerror=function(){s(Error("Error during request"))},p.onload=function(){var t=b(p.responseText);s(t.error,t.value)},p.open(n,e,!0),p.send(o)}else s(Error("Cannot find a method to transport a request"))}}catch(t){s(t)}};function tQ(t){this.truncation=t}function tY(t){var e,r,n={protocol:null,auth:null,host:null,path:null,hash:null,href:t,hostname:null,port:null,pathname:null,search:null,query:null};if(-1!==(e=t.indexOf("//"))?(n.protocol=t.substring(0,e),r=e+2):r=0,-1!==(e=t.indexOf("@",r))&&(n.auth=t.substring(r,e),r=e+1),-1===(e=t.indexOf("/",r))){if(-1===(e=t.indexOf("?",r)))return -1===(e=t.indexOf("#",r))?n.host=t.substring(r):(n.host=t.substring(r,e),n.hash=t.substring(e)),n.hostname=n.host.split(":")[0],n.port=n.host.split(":")[1],n.port&&(n.port=parseInt(n.port,10)),n;n.host=t.substring(r,e),n.hostname=n.host.split(":")[0],n.port=n.host.split(":")[1],n.port&&(n.port=parseInt(n.port,10)),r=e}else n.host=t.substring(r,e),n.hostname=n.host.split(":")[0],n.port=n.host.split(":")[1],n.port&&(n.port=parseInt(n.port,10)),r=e;if(-1===(e=t.indexOf("#",r))?n.path=t.substring(r):(n.path=t.substring(r,e),n.hash=t.substring(e)),n.path){var o=n.path.split("?");n.pathname=o[0],n.query=o[1],n.search=n.query?"?"+n.query:null}return n}tQ.prototype.get=function(t,e,r,n,i){n&&o(n)||(n=()=>{}),function(t,e,r){(r=r||{}).access_token=t;var n,o,i=[];for(n in r)Object.prototype.hasOwnProperty.call(r,n)&&i.push([n,r[n]].join("="));var s="?"+i.sort().join("&");(e=e||{}).path=e.path||"";var a=e.path.indexOf("?"),l=e.path.indexOf("#");-1!==a&&(-1===l||l>a)?(o=e.path,e.path=o.substring(0,a)+s+"&"+o.substring(a+1)):-1!==l?(o=e.path,e.path=o.substring(0,l)+s+o.substring(l)):e.path=e.path+s}(t,e,r);var s=m(e);
1this._makeZoneRequest({accessToken:t,url:s,method:"GET",callback:n,requestFactory:i,timeout:e.timeout,transport:e.transport})},tQ.prototype.post=function({accessToken:t,options:e,payload:r,headers:n,callback:i,requestFactory:s}){if(i&&o(i)||(i=()=>{}),!r)return i(Error("Cannot send empty request"));if((a=this.truncation&&r.body?this.truncation.truncate(r):g(r)).error)return i(a.error);var a,l=m(e);this._makeZoneRequest({accessToken:t,url:l,method:"POST",payload:a.value,headers:n,callback:i,requestFactory:s,timeout:e.timeout,transport:e.transport})},tQ.prototype.postJsonPayload=function(t,e,r,n,i){n&&o(n)||(n=()=>{});var s=m(e);this._makeZoneRequest({accessToken:t,url:s,method:"POST",payload:r,callback:n,requestFactory:i,timeout:e.timeout,transport:e.transport})},tQ.prototype._makeZoneRequest=function(){var t="u">typeof window&&window||"u">typeof self&&self,e=t&&t.Zone&&t.Zone.root,r=Array.prototype.slice.call(arguments);e?e.run(()=>{this._makeRequest.apply(void 0,r)}):this._makeRequest.apply(void 0,r)},tQ.prototype._makeRequest=function(t){let{payload:e,callback:r,transport:n}=t;if("u">typeof RollbarProxy){var o,i;return o=e,i=r,void new RollbarProxy().sendJsonPayload(o,function(t){},function(t){i(Error(t))})}"fetch"===n?tX(t):tK(t)},t.s(["parse",0,tY],815054);var t0=t.i(815054);let t1=null;function t2(){return"u">typeof window&&window||"u">typeof self&&self}let t3={environment:"unknown",version:"3.1.0",scrubFields:["pw","pass","passwd","password","secret","confirm_password","confirmPassword","password_confirmation","passwordConfirmation","access_token","accessToken","X-Rollbar-Access-Token","secret_key","secretKey","secretToken","cc-number","card number","cardnumber","cardnum","ccnum","ccnumber","cc num","creditcardnumber","credit card number","newcreditcardnumber","new credit card","creditcardno","credit card no","card#","card #","cc-csc","cvc","cvc2","cvv2","ccv2","security code","card verification","name on credit card","name on card","nameoncard","cardholder","card holder","name des karteninhabers","ccname","card type","cardtype","cc type","cctype","payment type","expiration date","expirationdate","expdate","cc-exp","ccmonth","ccyear"],logLevel:"debug",reportLevel:"debug",uncaughtErrorLevel:"error",endpoint:"api.rollbar.com/api/1/item/",verbose:!1,enabled:!0,transmit:!0,sendConfig:!1,includeItemsInTelemetry:!0,captureIp:!0,inspectAnonymousErrors:!0,ignoreDuplicateErrors:!0,wrapGlobalEventHandlers:!1,replay:{enabled:!1,autoStart:!0,triggerDefaults:{samplingRatio:1,preDuration:300,postDuration:5},triggers:[{type:"occurrence",level:["error","critical"]}],debug:{logErrors:!0,logEmits:!1},inlineStylesheet:!0,inlineImages:!1,collectFonts:!0,maskInputOptions:{password:!0,email:!1,tel:!1,text:!1,color:!1,date:!1,"datetime-local":!1,month:!1,number:!1,range:!1,search:!1,time:!1,url:!1,week:!1},maskAllInputs:!1,blockClass:"rb-block",maskTextClass:"rb-mask",ignoreClass:"rb-ignore",slimDOMOptions:{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaDescKeywords:!0,headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaAuthorship:!0,headMetaVerification:!0}},tracing:{enabled:!1,endpoint:"api.rollbar.com/api/1/session/"}},t5=class t{constructor(t,e){W.init({logLevel:t.logLevel||"error"}),this.options=R(t3,t,null,W),this.options._configuredOptions=t,this.components=this.components||{};const n=this.components.telemeter,s=this.components.instrumenter;this.wrapGlobals=this.components.wrapGlobals,this.scrub=this.components.scrub;const a=this.components.truncation,l=this.components.tracing,c=this.components.replay,u=new tQ(a),d=new tu(this.options,u,t0,a);if(l&&(this.tracing=new l(t2(),d,this.options),this.tracing.initSession()),n&&(this.telemeter=new n(this.options,this.tracing)),c&&"u">typeof window){const t=this.options.replay;this.replay=new c({tracing:this.tracing,telemeter:this.telemeter,options:t}),t.enabled&&t.autoStart&&this.replay.recorder.start()}this.client=e||new tT(this.options,d,W,this.telemeter,this.tracing,this.replay,"browser");var p=t2(),h="u">typeof document&&document;this.isChrome=p.chrome&&p.chrome.runtime,this.anonymousErrorsPending=0,function(t,e,n){var s;t.addTransform(tU).addTransform(tz).addTransform(tF).addTransform(t$).addTransform(function(t,e,r){var o={};n&&n.location&&(o.url=n.location.href,o.query_string=n.location.search);var i="$remote_ip";e.captureIp?!0!==e.captureIp&&(i+="_anonymize"):i=null,i&&(o.user_ip=i),Object.keys(o).length>0&&S(t,"data.request",o),r(null,t)}).addTransform(function(t,e,r){if(!n)return r(null,t);var o=n.navigator||{},i=n.screen||{};S(t,"data.client",{runtime_ms:t.timestamp-n._rollbarStartTime,timestamp:Math.round(t.timestamp/1e3),javascript:{browser:o.userAgent,language:o.language,cookie_enabled:o.cookieEnabled,screen:{width:i.width,height:i.height}}}),r(null,t)}).addTransform(function(t,e,r){if(!n||!n.navigator)return r(null,t);for(var o,i=[],s=n.navigator.plugins||[],a=0,l=s.length;a<l;++a)o=s[a],i.push({name:o.name,description:o.description});S(t,"data.client.javascript.plugins",i),r(null,t)}).addTransform(tV).addTransform(tj).addTransform(tP).addTransform(tN).addTransform((s=e.scrub,function(t,e,r){if(s){var n=e.scrubFields||[],o=e.scrubPaths||[];t.data=s(t.data,n,o)}r(null,t)})).addTransform(tA).addTransform(function(t,e,n){var s,a=T(t),l=null;try{o(e.transform)&&(l=e.transform(a.data,t))}catch(r){e.transform=null,W.error("Error while calling custom transform() function. Removing custom transform().",r),n(null,t);return}i(s=l)&&r(s.then,"function")?l.then(function(t){t&&(a.data=t),n(null,a)},function(e){n(e,t)}):n(null,a)}).addTransform(tM).addTransform(tH).addTransform(tL)}(this.client.notifier,this,p),function(t){t.addPredicate(tx).addPredicate(tD).addPredicate(function(t,e){var r=!!t._isUncaught;delete t._isUncaught;var n=t._originalArgs;delete t._originalArgs;try{o(e.onSendCallback)&&e.onSendCallback(r,n,t)}catch(t){e.onSendCallback=null,W.error("Error while calling onSendCallback, removing",t)}
1try{if(o(e.checkIgnore)&&e.checkIgnore(r,n,t))return!1}catch(t){e.checkIgnore=null,W.error("Error while calling custom checkIgnore(), removing",t)}return!0}).addPredicate(function(t,e){return!t_(t,e,"blocklist",W)}).addPredicate(function(t,e){return t_(t,e,"safelist",W)}).addPredicate(function(t,e){var r,n,o,i,s,a;try{if(!(o=e.ignoredMessages)||0===o.length||(a=function(t){var e=t.body,r=[];if(e.trace_chain)for(let t of e.trace_chain)r.push(E(t,"exception.message"));return e.trace&&r.push(E(e,"trace.exception.message")),e.message&&r.push(E(e,"message.body")),r}(t),0===a.length))return!0;for(i=o.length,r=0;r<i;r++)for(s=RegExp(o[r],"gi"),n=0;n<a.length;n++)if(s.test(a[n]))return!1}catch(t){e.ignoredMessages=null,W.error("Error while reading your configuration's ignoredMessages option. Removing custom ignoredMessages.")}return!0})}(this.client.queue),this.setupUnhandledCapture(),s&&(this.instrumenter=new s(this.options,this.client.telemeter,this,p,h),this.instrumenter.instrument()),this.setSessionAttributesFromOptions(t),this.rollbar=this}static init(e,r){return t1?t1.global(e).configure(e):t1=new t(e,r)}static setComponents(e){t.prototype.components=e}global(t){return this.client.global(t),this}configure(t,e){t.logLevel&&W.init({logLevel:t.logLevel}),this.setSessionAttributesFromOptions(t);var r=this.options,n={};return e&&(n={payload:e}),this.options=R(r,t,n,W),this.options._configuredOptions=R(r._configuredOptions,t,n),this.tracing?.configure(this.options),this.replay?.configure(this.options.replay),this.client.configure(this.options,e),this.instrumenter?.configure(this.options),this.setupUnhandledCapture(),this}lastError(){return this.client.lastError}log(){var t=this._createItem(arguments),e=t.uuid;return this.client.log(t),{uuid:e}}debug(){var t=this._createItem(arguments),e=t.uuid;return this.client.debug(t),{uuid:e}}info(){var t=this._createItem(arguments),e=t.uuid;return this.client.info(t),{uuid:e}}warn(){var t=this._createItem(arguments),e=t.uuid;return this.client.warn(t),{uuid:e}}warning(){var t=this._createItem(arguments),e=t.uuid;return this.client.warning(t),{uuid:e}}error(){var t=this._createItem(arguments),e=t.uuid;return this.client.error(t),{uuid:e}}critical(){var t=this._createItem(arguments),e=t.uuid;return this.client.critical(t),{uuid:e}}buildJsonPayload(t){return this.client.buildJsonPayload(t)}sendJsonPayload(t){return this.client.sendJsonPayload(t)}triggerDirectReplay(t){return this.triggerReplay({type:"direct",...t})}triggerReplay(t){return this.replay?this.replay.triggerReplay(t):null}setupUnhandledCapture(){var t=t2();if(!this.unhandledExceptionsInitialized&&(this.options.captureUncaught||this.options.handleUncaughtExceptions)){var e,r=this;if(t){if("function"==typeof r._rollbarOldOnError)e=r._rollbarOldOnError;else if(t.onerror){for(e=t.onerror;e._rollbarOldOnError;)e=e._rollbarOldOnError;r._rollbarOldOnError=e}r.handleAnonymousErrors(),t.onerror=function(){var n,o,i,s,a,l=Array.prototype.slice.call(arguments,0);n=t,o=r,i=e,s=l,n._rollbarWrappedError&&(s[4]||(s[4]=n._rollbarWrappedError),s[5]||(s[5]=n._rollbarWrappedError._rollbarContext),n._rollbarWrappedError=null),a=o.handleUncaughtException.apply(o,s),i&&i.apply(n,s),"anonymous"===a&&(o.anonymousErrorsPending+=1)}}this.wrapGlobals&&this.options.wrapGlobalEventHandlers&&this.wrapGlobals(t,this),this.unhandledExceptionsInitialized=!0}if(!this.unhandledRejectionsInitialized&&(this.options.captureUnhandledRejections||this.options.handleUnhandledRejections)){var n=this;if(t){"function"==typeof t._rollbarURH&&t._rollbarURH.belongsToShim&&t.removeEventListener("unhandledrejection",t._rollbarURH);var o=function(t){var e,r,o;try{e=t.reason}catch(t){e=void 0}try{r=t.promise}catch(t){r="[unhandledrejection] error getting `promise` from event"}try{o=t.detail,!e&&o&&(e=o.reason,r=o.promise)}catch(t){}e||(e="[unhandledrejection] error getting `reason` from event"),n&&n.handleUnhandledRejection&&n.handleUnhandledRejection(e,r)};o.belongsToShim=void 0,t._rollbarURH=o,t.addEventListener("unhandledrejection",o)}this.unhandledRejectionsInitialized=!0}}handleUncaughtException(t,e,r,n,o,i){if(this.options.captureUncaught||this.options.handleUncaughtExceptions){if(this.options.inspectAnonymousErrors&&this.isChrome&&null===o&&""===e)return"anonymous";var s,a=y(t,e,r,n,o,"onerror","uncaught exception",tw);l(o)?(s=this._createItem([t,o,i]))._unhandledStackInfo=a:l(e)?(s=this._createItem([t,e,i]))._unhandledStackInfo=a:(s=this._createItem([t,i])).stackInfo=a,s.level=this.options.uncaughtErrorLevel,s._isUncaught=!0,this.client.log(s)}}handleAnonymousErrors(){if(!this.options.inspectAnonymousErrors||!this.isChrome)return;let t=(t,e)=>{if(this.options.inspectAnonymousErrors&&this.anonymousErrorsPending){if(this.anonymousErrorsPending-=1,!t)return;t._isAnonymous=!0,this.handleUncaughtException(t.message,null,null,null,t)}return t.stack};try{Error.prepareStackTrace=t}catch(t){this.options.inspectAnonymousErrors=!1,this.error("anonymous error handler failed",t)}}handleUnhandledRejection(t,e){if(this.options.captureUnhandledRejections||this.options.handleUnhandledRejections){var r,n="unhandled rejection was null or undefined!";if(t)if(t.message)n=t.message;else{var o=g(t);o.value&&(n=o.value)}var i=t&&t._rollbarContext||e&&e._rollbarContext;l(t)?r=this._createItem([n,t,i]):(r=this._createItem([n,t,i])).stackInfo=y(n,"",0,0,null,"unhandledrejection","",tw),r.level=this.options.uncaughtErrorLevel,r._isUncaught=!0,r._originalArgs=r._originalArgs||[],r._originalArgs.push(e),this.client.log(r)}}wrap(t,e,n){try{var i;if(i=o(e)?e:function(){return e||{}},!o(t)||t._isWrap)return t;if(!t._rollbar_wrapped)for(var a in t._rollbar_wrapped=function(){n&&o(n)&&n.apply(this,arguments);try{return t.apply(this,arguments)}catch(n){var e=n;throw e&&window._rollbarWrappedError!==e&&(r(e,"string")&&(e=new String(e)),e._rollbarContext=i()||{},e._rollbarContext._wrappedSource=t.toString(),window._rollbarWrappedError=e),e}},t._rollbar_wrapped._isWrap=!0,t)s(t,a)&&"_rollbar_wrapped"!==a&&(t._rollbar_wrapped[a]=t[a]);return t._rollbar_wrapped}catch(e){return t}}captureEvent(){var t=function(t){for(var e,r,o,i,s=0,a=t.length;s<a;++s)switch(n(i=t[s])){case"string":!e&&_(w,i)?e=i:!o&&_(x,i)&&(o=i);break;case"object":r=i}return{type:e||"manual",metadata:r||{},level:o}}(arguments);return this.client.captureEvent(t.type,t.metadata,t.level)}setSessionUser(t){this.tracing?.session&&this.tracing.session.setUser(t)}setSessionAttributes(t){this.tracing?.session&&(t={...t},this.tracing.session.setAttributes(t))}setSessionAttributesFromOptions(t){let e=t.person||t.payload?.person;e&&this.setSessionUser(e);let r=t.client?.javascript?.code_version||t.codeVersion||t.code_version||t.payload?.client?.javascript?.code_version||t.payload?.code_version||t.payload?.codeVersion;this.setSessionAttributes({"rollbar.codeVersion":r,"rollbar.notifier.name":"rollbar-browser-js","rollbar.notifier.version":t.version})}captureDomContentLoaded(t,e){return e||(e=new Date),this.client.captureDomContentLoaded(e)}captureLoad(t,e){return e||(e=new Date),this.client.captureLoad(e)}loadFull(){W.info("Unexpected Rollbar.loadFull() called on a Notifier instance. This can happen when Rollbar is loaded multiple times.")}_createItem(t){return function(t,e,r){for(var o,i,s,a,l,c,u,d,p=[],h=[],f=0,m=t.length;f<m;++f){var g=n(d=t[f]);switch(h.push(g),g){case"undefined":break;case"string":a?p.push(d):a=d;break;
1case"function":u=function(t,e){return function(r,n){try{e(r,n)}catch(e){t.error(e)}}}(e,d);break;case"date":p.push(d);break;case"error":case"domexception":case"exception":l?p.push(d):l=d;break;case"object":case"array":if(d instanceof Error||"u">typeof DOMException&&d instanceof DOMException){l?p.push(d):l=d;break}c?p.push(d):c=d;break;default:if(d instanceof Error||"u">typeof DOMException&&d instanceof DOMException){l?p.push(d):l=d;break}p.push(d)}}c&&(c=v(c)),p.length>0&&(c||(c=v({})),c.extraArgs=v(p));var b={message:a,err:l,custom:c,timestamp:I(),callback:u,notifier:r,diagnostic:{},uuid:(s=I(),"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(t){var e=(s+16*Math.random())%16|0;return s=Math.floor(s/16),("x"===t?e:7&e|8).toString(16)}))};return b.data=b.data||{},o=b,(i=c)&&void 0!==i.level&&(o.level=i.level,delete i.level),i&&void 0!==i.skipFrames&&(o.skipFrames=i.skipFrames,delete i.skipFrames),b._originalArgs=t,b.diagnostic.original_arg_types=h,b}(t,W,this)}static callInstance(t,e){if(!t1){let t="Rollbar is not initialized";W.error(t);let r=function(t){for(var e=0,r=t.length;e<r;++e)if(o(t[e]))return t[e]}(e);r&&r(Error(t));return}return t1[t].apply(t1,e)}static global=(...e)=>t.callInstance("global",e);static configure=(...e)=>t.callInstance("configure",e);static lastError=(...e)=>t.callInstance("lastError",e);static log=(...e)=>t.callInstance("log",e);static debug=(...e)=>t.callInstance("debug",e);static info=(...e)=>t.callInstance("info",e);static warn=(...e)=>t.callInstance("warn",e);static warning=(...e)=>t.callInstance("warning",e);static error=(...e)=>t.callInstance("error",e);static critical=(...e)=>t.callInstance("critical",e);static buildJsonPayload=(...e)=>t.callInstance("buildJsonPayload",e);static sendJsonPayload=(...e)=>t.callInstance("sendJsonPayload",e);static wrap=(...e)=>t.callInstance("wrap",e);static captureEvent=(...e)=>t.callInstance("captureEvent",e)};function t4(t){return"string"!=typeof t&&(t=String(t)),t.toLowerCase()}function t6(t){this.map={},t instanceof t6?t.forEach(function(t,e){this.append(e,t)},this):Array.isArray(t)?t.forEach(function(t){this.append(t[0],t[1])},this):t&&Object.getOwnPropertyNames(t).forEach(function(e){this.append(e,t[e])},this)}t6.prototype.append=function(t,e){t=t4(t),"string"!=typeof(r=e)&&(r=String(r)),e=r;var r,n=this.map[t];this.map[t]=n?n+", "+e:e},t6.prototype.get=function(t){return t=t4(t),this.has(t)?this.map[t]:null},t6.prototype.has=function(t){return s(this.map,t4(t))},t6.prototype.forEach=function(t,e){for(var r in this.map)s(this.map,r)&&t.call(e,this.map[r],r,this)},t6.prototype.entries=function(){var t=[];return this.forEach(function(e,r){t.push([r,e])}),{next:function(){var e=t.shift();return{done:void 0===e,value:e}}}};let t8=function(t,e,r,n,o){var i=t[e];t[e]=r(i),n&&n[o].push([t,e,i])};function t9(t){return function(t){for(var e,r,n=[],o=0,i=t.length-1;i>=0;i--){if(e=function(t){if(!t||!t.tagName)return"";var e=[t.tagName];for(let r of(t.id&&e.push("#"+t.id),t.classes&&e.push("."+t.classes.join(".")),t.attributes))e.push("["+r.key+'="'+r.value+'"]');return e.join("")}(t[i]),r=o+3*n.length+e.length,i<t.length-1&&r>=83){n.unshift("...");break}n.unshift(e),o+=e.length}return n.join(" > ")}(function(t){for(var e,r=[],n=0;t&&n<5&&(e=t7(t))&&"html"!==e.tagName;n++)r.unshift(e),t=t.parentNode;return r}(t))}function t7(t){if(!t||!t.tagName)return null;var e,r={};for(let n of(r.tagName=t.tagName.toLowerCase(),t.id&&(r.id=t.id),(e=t.className)&&"string"==typeof e&&(r.classes=e.split(/\s+/)),r.attributes=[],["type","name","title","alt"])){let e=t.getAttribute(n);e&&r.attributes.push({key:n,value:e})}return r}let et={network:!0,networkResponseHeaders:!1,networkResponseBody:!1,networkRequestHeaders:!1,networkRequestBody:!1,networkErrorOnHttp5xx:!1,networkErrorOnHttp4xx:!1,networkErrorOnHttp0:!1,log:!0,dom:!0,navigation:!0,connectivity:!0,contentSecurityPolicy:!0,errorOnContentSecurityPolicy:!1};function ee(t,e){let r;for(;t[e].length;)(r=t[e].shift())[0][r[1]]=r[2]}function er(t){return"u">typeof URL&&t instanceof URL}let en=class{constructor(t,e,n,o,i){this.options=t;let s=t.autoInstrument;!1===t.enabled||!1===s?this.autoInstrument={}:(r(s,"object")||(s=et),this.autoInstrument=T(et,s)),this.configureScrubbing(),this.telemeter=e,this.rollbar=n,this.diagnostic=n.client.notifier.diagnostic,this._window=o||{},this._document=i||{},this.replacements={network:[],log:[],navigation:[],connectivity:[]},this.eventRemovers={dom:[],connectivity:[],contentsecuritypolicy:[]},this._location=this._window.location,this._lastHref=this._location&&this._location.href}configureScrubbing(){let t=this.options;this.scrubTelemetryInputs=!!(t.scrubTelemetryInputs??t.replay?.maskAllInputs),this.telemetryScrubber=t.telemetryScrubber,this.defaultValueScrubber=function(t){let e=[];for(let r of t)e.push(RegExp(r,"i"));return function(t){let r=function(t){if(!t||!t.attributes)return null;for(let e of t.attributes)if("name"===e.key)return e.value;return null}(t);if(!r)return!1;for(let t of e)if(t.test(r))return!0;return!1}}(t.scrubFields),this.maskInputFn=t.replay?.maskInputFn,this.maskInputOptions=t.replay?.maskInputOptions||{},this.scrubClasses=[t.replay?.blockClass,t.replay?.ignoreClass,t.replay?.maskTextClass].filter(
1Boolean),this.scrubSelectors=[t.replay?.blockSelector,t.replay?.ignoreSelector,t.replay?.maskTextSelector].filter(Boolean)}configure(t){this.options=T(this.options,t);let e=t.autoInstrument,n=T(this.autoInstrument);!1===t.enabled||!1===e?this.autoInstrument={}:(r(e,"object")||(e=et),this.autoInstrument=T(et,e)),this.configureScrubbing(),this.instrument(n)}instrument(t){this.autoInstrument.network&&!(t&&t.network)?this.instrumentNetwork():!this.autoInstrument.network&&t&&t.network&&this.deinstrumentNetwork(),this.autoInstrument.log&&!(t&&t.log)?this.instrumentConsole():!this.autoInstrument.log&&t&&t.log&&this.deinstrumentConsole(),this.autoInstrument.dom&&!(t&&t.dom)?this.instrumentDom():!this.autoInstrument.dom&&t&&t.dom&&this.deinstrumentDom(),this.autoInstrument.navigation&&!(t&&t.navigation)?this.instrumentNavigation():!this.autoInstrument.navigation&&t&&t.navigation&&this.deinstrumentNavigation(),this.autoInstrument.connectivity&&!(t&&t.connectivity)?this.instrumentConnectivity():!this.autoInstrument.connectivity&&t&&t.connectivity&&this.deinstrumentConnectivity(),this.autoInstrument.contentSecurityPolicy&&!(t&&t.contentSecurityPolicy)?this.instrumentContentSecurityPolicy():!this.autoInstrument.contentSecurityPolicy&&t&&t.contentSecurityPolicy&&this.deinstrumentContentSecurityPolicy()}deinstrumentNetwork(){ee(this.replacements,"network")}instrumentNetwork(){let t=this;function e(e,r){e in r&&o(r[e])&&t8(r,e,function(e){return t.rollbar.wrap(e)})}if("XMLHttpRequest"in this._window){let n=this._window.XMLHttpRequest.prototype;t8(n,"open",function(t){return function(e,n){let o=er(n);return(r(n,"string")||o)&&(n=o?n.toString():n,this.__rollbar_xhr?(this.__rollbar_xhr.method=e,this.__rollbar_xhr.url=n,this.__rollbar_xhr.status_code=null,this.__rollbar_xhr.start_time_ms=I(),this.__rollbar_xhr.end_time_ms=null):this.__rollbar_xhr={method:e,url:n,status_code:null,start_time_ms:I(),end_time_ms:null}),t.apply(this,arguments)}},this.replacements,"network"),t8(n,"setRequestHeader",function(e){return function(n,o){return this.__rollbar_xhr||(this.__rollbar_xhr={}),r(n,"string")&&r(o,"string")&&(t.autoInstrument.networkRequestHeaders&&(this.__rollbar_xhr.request_headers||(this.__rollbar_xhr.request_headers={}),this.__rollbar_xhr.request_headers[n]=o),"content-type"===n.toLowerCase()&&(this.__rollbar_xhr.request_content_type=o)),e.apply(this,arguments)}},this.replacements,"network"),t8(n,"send",function(r){return function(n){let i=this,s=t.rollbar?.tracing;if(C(t.options,s,i.__rollbar_xhr?.url))try{i.setRequestHeader("baggage",`rollbar.session.id=${s.sessionId}`)}catch(t){}function a(){if(i.__rollbar_xhr&&(null===i.__rollbar_xhr.status_code&&(i.__rollbar_xhr.status_code=0,t.autoInstrument.networkRequestBody&&(i.__rollbar_xhr.request=n),i.__rollbar_event=t.captureNetwork(i.__rollbar_xhr,"xhr",void 0)),i.readyState<2&&(i.__rollbar_xhr.start_time_ms=I()),i.readyState>3)){let e=I();i.__rollbar_xhr.end_time_ms=e;let r=null;if(i.__rollbar_xhr.response_content_type=i.getResponseHeader("Content-Type"),t.autoInstrument.networkResponseHeaders){let e=t.autoInstrument.networkResponseHeaders;r={};try{let t;if(!0===e){let e=i.getAllResponseHeaders();if(e){let n,o;for(let i of e.trim().split(/[\r\n]+/))t=(n=i.split(": ")).shift(),o=n.join(": "),r[t]=o}}else for(let t of e)r[t]=i.getResponseHeader(t)}catch(t){}}let n=null;if(t.autoInstrument.networkResponseBody)try{n=i.responseText}catch(t){}let o=null;(n||r)&&(o={},n&&(t.isJsonContentType(i.__rollbar_xhr.response_content_type)?o.body=t.scrubJson(n):o.body=n),r&&(o.headers=r)),o&&(i.__rollbar_xhr.response=o);try{let r=i.status;r=1223===r?204:r,i.__rollbar_xhr.status_code=r,t.addOtelNetworkResponse(i.__rollbar_event,e,r),i.__rollbar_event.level=t.telemeter.levelFromStatus(r),t.errorOnHttpStatus(i.__rollbar_xhr)}catch(t){}}}return e("onload",i),e("onerror",i),e("onprogress",i),"onreadystatechange"in i&&o(i.onreadystatechange)?t8(i,"onreadystatechange",function(e){return t.rollbar.wrap(e,void 0,a)}):i.onreadystatechange=a,i.__rollbar_xhr&&t.trackHttpErrors()&&(i.__rollbar_xhr.stack=Error().stack),r.apply(this,arguments)}},this.replacements,"network")}"fetch"in this._window&&t8(this._window,"fetch",function(e){return function(n,o){let s,a=[...arguments],l=a[0],c="GET",u=er(l);r(l,"string")||u?s=u?l.toString():l:l&&(s=l.url,l.method&&(c=l.method)),a[1]&&a[1].method&&(c=a[1].method);let d=t.rollbar?.tracing;C(t.options,d,s)&&function(t,e){var r;let n=t[1],o=n?.headers,s=(r=t[0],"u">typeof Request&&r instanceof Request&&t[0].headers),a=o||s;if(a||(n||(t[1]=n={}),a=n.headers={}),a instanceof Headers)for(let t of Object.keys(e))a.append(t,e[t]);else if(i(a))for(let t of Object.keys(e))a[t]=e[t]}(a,{baggage:`rollbar.session.id=${d.sessionId}`});let p={method:c,url:s,status_code:null,start_time_ms:I(),end_time_ms:null};if(a[1]&&a[1].headers){var h;let e=(h=a[1].headers,"u"<typeof Headers?new t6(h):new Headers(h));p.request_content_type=e.get("Content-Type"),t.autoInstrument.networkRequestHeaders&&(p.request_headers=t.fetchHeaders(e,t.autoInstrument.networkRequestHeaders))}t.autoInstrument.networkRequestBody&&(a[1]&&a[1].body?p.request=a[1].body:a[0]&&
1!r(a[0],"string")&&a[0].body&&(p.request=a[0].body));let f=t.captureNetwork(p,"fetch",void 0);return t.trackHttpErrors()&&(p.stack=Error().stack),e.apply(this,a).then(function(e){let r=I();p.end_time_ms=r,p.status_code=e.status,t.addOtelNetworkResponse(f,r,e.status),p.response_content_type=e.headers.get("Content-Type");let n=null;t.autoInstrument.networkResponseHeaders&&(n=t.fetchHeaders(e.headers,t.autoInstrument.networkResponseHeaders));let o=null;return t.autoInstrument.networkResponseBody&&"function"==typeof e.text&&(o=e.clone().text()),(n||o)&&(p.response={},o&&("function"==typeof o.then?o.then(function(e){e&&t.isJsonContentType(p.response_content_type)?p.response.body=t.scrubJson(e):p.response.body=e}):p.response.body=o),n&&(p.response.headers=n)),t.errorOnHttpStatus(p),e})}},this.replacements,"network")}captureNetwork(t,e,r){return t.request&&this.isJsonContentType(t.request_content_type)&&(t.request=this.scrubJson(t.request)),this.telemeter.captureNetwork(t,e,r)}isJsonContentType(t){return!!(t&&r(t,"string")&&t.toLowerCase().includes("json"))}addOtelNetworkResponse(t,e,r){t.otelAttributes&&(t.otelAttributes["response.timeUnixNano"]=(1e6*e).toString(),t.otelAttributes.statusCode=r)}scrubJson(t){return JSON.stringify(L(JSON.parse(t),this.options.scrubFields))}fetchHeaders(t,e){let r={};try{if(!0===e){if("function"==typeof t.entries){let e=t.entries(),n=e.next();for(;!n.done;)r[n.value[0]]=n.value[1],n=e.next()}}else for(let n of e)r[n]=t.get(n)}catch(t){}return r}trackHttpErrors(){return this.autoInstrument.networkErrorOnHttp5xx||this.autoInstrument.networkErrorOnHttp4xx||this.autoInstrument.networkErrorOnHttp0}errorOnHttpStatus(t){let e=t.status_code;if(e>=500&&this.autoInstrument.networkErrorOnHttp5xx||e>=400&&this.autoInstrument.networkErrorOnHttp4xx||0===e&&this.autoInstrument.networkErrorOnHttp0){let r=Error("HTTP request failed with Status "+e);r.stack=t.stack,this.rollbar.error(r,{skipFrames:1})}}deinstrumentConsole(){let t;for(;this.replacements.log.length;)t=this.replacements.log.shift(),this._window.console[t[0]]=t[1]}instrumentConsole(){if(!this._window?.console?.log)return;let t=this,e=this._window.console;try{for(let r of["debug","info","warn","error","log"])!function(r){let o=e[r],i="warn"===r?"warning":r;e[r]=function(){let r=Array.prototype.slice.call(arguments),s=function(t){var e,r,o,i=[];for(e=0,r=t.length;e<r;++e){switch(n(o=t[e])){case"object":(o=(o=g(o)).error||o.value).length>500&&(o=o.substr(0,497)+"...");break;case"null":o="null";break;case"undefined":o="undefined";break;case"symbol":o=o.toString()}i.push(o)}return i.join(" ")}(r);t.telemeter.captureLog(s,i,null,I()),o&&Function.prototype.apply.call(o,e,r)},t.replacements.log.push([r,o])}(r)}catch(t){this.diagnostic.instrumentConsole={error:t.message}}}deinstrumentDom(){this.removeListeners("dom")}instrumentDom(){this.addListener("dom",this._window,["click","dblclick","contextmenu"],t=>this.handleEvent("click",t)),this.addListener("dom",this._window,["dragstart","dragend","dragenter","dragleave","drop"],t=>this.handleEvent("dragdrop",t)),this.addListener("dom",this._window,["blur","focus"],t=>this.handleEvent("focus",t)),this.addListener("dom",this._window,["submit","invalid"],t=>this.handleEvent("form",t)),this.addListener("dom",this._window,["input","change"],t=>this.handleEvent("input",t)),this.addListener("dom",this._window,["resize"],t=>this.handleEvent("resize",t)),this.addListener("dom",this._document,["DOMContentLoaded"],t=>this.handleEvent("contentLoaded",t))}handleEvent(t,e){try{return({click:this.handleClick,dragdrop:this.handleDrag,focus:this.handleFocus,form:this.handleForm,input:this.handleInput,resize:this.handleResize,contentLoaded:this.handleContentLoaded})[t].call(this,e)}catch(r){W.log(`${t} handler error`,e,r,r.stack)}}handleContentLoaded(t){this.rollbar.triggerReplay({type:"navigation",path:new URL(this._location.href).pathname})}handleClick(t){["input","select","textarea"].includes(t.target?.tagName.toLowerCase())||this.telemeter.captureClick({type:t.type,isSynthetic:!t.isTrusted,element:t9(t.target),timestamp:I()})}handleFocus(t){let e=t.type,r=t.target?.window?"window":t9(t.target);this.telemeter.captureFocus({type:e,isSynthetic:!t.isTrusted,element:r,timestamp:I()})}handleForm(t){}handleResize(t){let e=window.screen.width/window.innerWidth;this.telemeter.captureResize({type:t.type,isSynthetic:!t.isTrusted,width:window.innerWidth,height:window.innerHeight,textZoomRatio:e,timestamp:I()})}handleDrag(t){let e,r,n,o,i=t.type;if("drop"===i)for(let n of(e=[],r=[],[...t.dataTransfer.files,...t.dataTransfer.items]))n.kind&&n.type&&(e.push(n.kind),r.push(n.type));["drop","dragstart"].includes(i)&&(n=t.dataTransfer?.dropEffect,o=t.dataTransfer?.effectAllowed),this.telemeter.captureDragDrop({type:i,isSynthetic:!t.isTrusted,element:t9(t.target),dropEffect:n,effectAllowed:o,kinds:JSON.stringify(e),mediaTypes:JSON.stringify(r),timestamp:I()})}scrubInputValue(t,e,r,n){let o="******";if("password"===n||this.scrubTelemetryInputs)return o;{let t=t7(e);if(this.telemetryScrubber){if(this.telemetryScrubber(t))return o}else if(this.defaultValueScrubber(t))return o}if(function(t,e,r){try{for(let r of e)if("string"==typeof r){if(t.classList.contains(r))return!0}else for(let e of t.classList)if(r.test(e))return!0;for(let e of r)if(t.matches(e))return!0}catch(t){}return!1}(e,this.scrubClasses,this.scrubSelectors))return o;if(this.maskInputOptions[r.toLowerCase()]||this.maskInputOptions[n])if(this.maskInputFn)return this.maskInputFn(t,e);else return o;return t}handleInput(t){let e=t.type,r=t.target?.tagName.toLowerCase(),n=t.target?.value,o=t.target?.attributes?.type?.value||t.target?.type;switch(void 0!==n&&(n=this.scrubInputValue(n,t.target,r,o)),e){case"input":if(["radio","checkbox"].includes(o))return;["select","textarea"].includes(r)&&(o=r);break;case"change":if(!["radio","checkbox"].includes(o))return;"checkbox"===o&&(n=t.target?.checked)}this.telemeter.captureInput({type:o,isSynthetic:!t.isTrusted,element:t9(t.target),value:n,timestamp:I()})}deinstrumentNavigation(){let t=this._window.chrome;!(t&&t.app&&t.app.runtime)&&this._window.history&&this._window.history.pushState&&ee(this.replacements,"navigation")}instrumentNavigation(){let t=this._window.chrome;if(!(!(t&&t.app&&t.app.runtime)&&this._window.history&&this._window.history.pushState))return;let e=this;t8(this._window,"onpopstate",function(t){return function(){let r=e._location.href;e.handleUrlChange(e._lastHref,r),t&&t.apply(this,arguments)}},this.replacements,"navigation"),t8(this._window.history,"pushState",function(t){return function(){let r=arguments.length>2?arguments[2]:void 0;return r&&e.handleUrlChange(e._lastHref,String(r)),t.apply(this,arguments)}},this.replacements,"navigation")}handleUrlChange(t,e){let r=tY(this._location.href),n=tY(e),o=tY(t);this._lastHref=e,r.protocol===n.protocol&&r.host===n.host&&(e=n.path+(n.hash||"")),r.protocol===o.protocol&&r.host===o.host&&(t=o.path+(o.hash||"")),this.telemeter.captureNavigation(t,e,null,I()),this.rollbar.triggerReplay({type:"navigation",path:e})}deinstrumentConnectivity=function(){this.removeListeners("connectivity")};instrumentConnectivity(){let t=this;this.addListener("connectivity",this._window,["online","offline"],e=>t.handleConnectivity(e))}handleConnectivity(t){let e=t.type;this.telemeter.captureConnectivityChange({type:e,isSynthetic:!t.isTrusted,timestamp:I()})}handleCspEvent(t){let e="Security Policy Violation: blockedURI: "+t.blockedURI+", violatedDirective: "+t.violatedDirective+", effectiveDirective: "+t.effectiveDirective+", ";t.sourceFile&&(e+="location: "+t.sourceFile+", line: "+t.lineNumber+", col: "+t.columnNumber+", "),e+="originalPolicy: "+t.originalPolicy,this.telemeter.captureLog(e,"error",null,I()),this.handleCspError(e)}handleCspError(t){this.autoInstrument.errorOnContentSecurityPolicy&&this.rollbar.error(t)}deinstrumentContentSecurityPolicy(){this.removeListeners("contentsecuritypolicy")}instrumentContentSecurityPolicy(){if(!("addEventListener"in this._document))return;let t=this.handleCspEvent.bind(this);this.addListener("contentsecuritypolicy",this._document,["securitypolicyviolation"],t)}addListener(t,e,r,n){if(e.addEventListener)for(let o of r){let r={capture:!0,passive:!0};e.addEventListener(o,n,r,!0),this.eventRemovers[t].push(function(){e.removeEventListener(o,n,r)})}}removeListeners(t){for(;this.eventRemovers[t].length;)this.eventRemovers[t].shift()()}};t5.setComponents({telemeter:P,instrumenter:en,wrapGlobals:function(t,e,r){if(t){var n,o,i="EventTarget,Window,Node,ApplicationCache,AudioTrackList,ChannelMergerNode,CryptoOperation,EventSource,FileReader,HTMLUnknownElement,IDBDatabase,IDB
1Request,IDBTransaction,KeyOperation,MediaController,MessagePort,ModalWindow,Notification,SVGElementInstance,Screen,TextTrack,TextTrackCue,TextTrackList,WebSocket,WebSocketWorker,Worker,XMLHttpRequest,XMLHttpRequestEventTarget,XMLHttpRequestUpload".split(",");for(n=0;n<i.length;++n)t[o=i[n]]&&t[o].prototype&&function(t,e,r){if(s(e,"addEventListener")){for(var n=e.addEventListener;n._rollbarOldAdd&&n.belongsToShim;)n=n._rollbarOldAdd;var o=function(e,r,o){n.call(this,e,t.wrap(r),o)};o._rollbarOldAdd=n,o.belongsToShim=r,e.addEventListener=o;for(var i=e.removeEventListener;i._rollbarOldRemove&&i.belongsToShim;)i=i._rollbarOldRemove;var a=function(t,e,r){i.call(this,t,e&&e._rollbar_wrapped||e,r)};a._rollbarOldRemove=i,a.belongsToShim=r,e.removeEventListener=a}}(e,t[o].prototype,r)}},scrub:L,truncation:{truncate:function(t,e,r){r=void 0===r?524288:r;for(var n,o,i,s,a,l=[K,Y,te.bind(null,1024),te.bind(null,512),te.bind(null,256),tn];(i=l.shift())&&(t=(s=i(t,e))[0],!(a=s[1]).error&&(n=a.value,o=r,function(t){for(var e=0,r=t.length,n=0;n<r;n++){var o=t.charCodeAt(n);o<128?e+=1:o<2048?e+=2:o<65536&&(e+=3)}return e}(n)>o)););return a},raw:K,truncateFrames:Y,truncateStrings:te,maybeTruncateValue:tt},tracing:class{constructor(t,e,r){this.api=e,this.options=r,this.window=t,this.window.sessionStorage&&(this.session=new $(this,r)),this.createTracer()}configure(t){this.options=t}initSession(){this.session&&this.session.init()}get sessionId(){return this.session?this.session.session.id:null}get resource(){return{attributes:{...this.options.resource||{},"rollbar.environment":this.options.payload?.environment??this.options.environment}}}get scope(){return{name:"rollbar-browser-js",version:this.options.version}}idGen(t=16){return z(t)}createTracer(){this.contextManager=new N,this.exporter=new D(this.api,this.options),this.spanProcessor=new B(this.exporter,this.options.tracing),this.tracer=new X(this,this.spanProcessor)}getTracer(){return this.tracer}addSpanTransform(t){this.spanProcessor.addTransform(t)}getSpan(t=this.contextManager.active()){return t.getValue(Z)}setSpan(t=this.contextManager.active(),e){return t.setValue(Z,e)}startSpan(t,e={},r=this.contextManager.active()){return this.tracer.startSpan(t,e,r)}with(t,e,r,...n){return this.contextManager.with(t,e,r,...n)}withSpan(t,e,r,n){let o=this.startSpan(t,e);return this.with(this.setSpan(this.contextManager.active(),o),r,n,o)}}}),t.i(383861);var eo=t.i(413569);let ei=()=>[eo.AppEnvironment.Production].includes("production"),es={captureUncaught:!0,captureUnhandledRejections:!0,environment:"production",reportLevel:"error",enabled:ei()},ea={accessToken:"86dfa21e2ae646839856a65741c6700d66634530f81a0dd6923e4f25254b4264ecad2bd2d3c77a4f9cb1ecb9d3230703",...es};({accessToken:e.default.env.ROLLBAR_SERVER_TOKEN,...es});let el=new t5(ea),ec=()=>ei()?[el,console]:[console];t.s(["logger",0,{error:(t,...e)=>{ec().forEach(r=>r.error(t,...e))},info:(t,...e)=>{ec().forEach(r=>r.info(t,...e))},warn:(t,...e)=>{ec().forEach(r=>r.warn(t,...e))}}],114245),t.s(["test",0,"test"],559699),t.i(559699),t.s(["DATE_REGEX_YYYY_MM_DD",0,/^\d{4}-\d{2}-\d{2}$/,"TIME_REGEX_HH_MM_SS",0,/^\d{2}:\d{2}:\d{2}$/],230629),t.i(230629),t.s([],479578)},614079,t=>{"use strict";var e=t.i(530295),r=t.i(878384),n=t.i(190286),o=t.i(294237),i=t.i(651185);let s=(0,o.cva)((0,n.cn)("px-6 py-4.5","w-fit whitespace-normal","typography-button text-contrast-1000","inline-flex items-center justify-center gap-3","not-motion-reduce:transition-all duration-200","disabled:pointer-events-none disabled:opacity-40","aria-disabled:pointer-events-none aria-disabled:opacity-40","focus-ring-input","[&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg]:size-6"),{variants:{variant:{primary:"text-contrast-0 bg-brand-primary-500 hover:bg-brand-primary-1000 rounded-full [&>.b-inner]:font-bold ",secondary:"text-contrast-500 bg-greyscale-0 hover:bg-greyscale-300 rounded-full font-bold [&>.b-inner]:font-bold",secondaryHP:"bg-color-neutral-100 px-4 py-2.5 border-[1.5px] border-primary-1 border-current rounded-full border-solid text-contrast-1000 bg-greyscale-0 hover:bg-neutral-100",tert
1iary:(0,n.cn)("text-contrast-1000 bg-brand-3-100 hover:bg-brand-3-500 px-0 py-0 ps-3","[&>.b-inner]:py-2 [&>.b-inner]:block [&>.b-inner]:font-bold","[&>.b-svg-container]:bg-brand-3-500 [&>.b-svg-container]:py-2 [&>.b-svg-container]:px-2 [&>.b-svg-container]:transition-all [&>.b-svg-container]:duration-200 [&:hover>.b-svg-container]:bg-brand-3-700"),outline:"text-contrast-500 bg-greyscale-0 hover:bg-greyscale-300 rounded-full font-bold [&>.b-inner]:font-bold ring-2 ring-inset ring-brand-primary-500 hover:ring-brand-primary-700",circle:"p-2.5 w-[46px] h-[46px] border-[1.5px] rounded-full border-primary-1 border-current border-solid text-contrast-1000 bg-greyscale-0 hover:bg-neutral-100",link:(0,n.cn)("text-contrast-1000 bg-transparent hover:text-contrast-500","group-hover/button-container:text-contrast-500","outline-offset-6 px-0 py-0","min-h-6 h-auto text-start"),"link-light":(0,n.cn)("text-greyscale-0 hover:text-contrast-300 group-hover:text-contrast-300","outline-offset-6 px-0 py-0","min-h-6 h-auto text-start"),"link-dark":(0,n.cn)("text-greyscale-1000 hover:text-contrast-300 group-hover:text-contrast-300","outline-offset-6 px-0 py-0","min-h-6 h-auto text-start"),"link-brand":(0,n.cn)("text-[#0000F0] bg-transparent hover:text-[#0000F0]/80","group-hover/button-container:text-[#0000F0]/80","outline-offset-6 px-0 py-0","min-h-6 h-auto text-start"),destructive:"text-contrast-0 bg-destructive hover:bg-destructive/90 rounded-full [&>.b-inner]:font-bold","link-destructive":(0,n.cn)("text-destructive bg-transparent hover:text-destructive/80","group-hover/button-container:text-destructive/80","outline-offset-6 px-0 py-0","min-h-6 h-auto text-start")}},defaultVariants:{variant:"primary"}}),a=(0,r.forwardRef)(({className:t,variant:r,asChild:o=!1,children:a,disabled:l,...c},u)=>{if(!a)return null;let d=o?i.Slot:"button",p=c.type?c.type:"button"===d?"button":void 0;return(0,e.jsx)(d,{type:p,"data-slot":"button",className:(0,n.cn)(s({variant:r,className:t})),ref:u,...c,"aria-disabled":!!l||void 0,tabIndex:l?-1:c.tabIndex,disabled:l,children:o&&"string"==typeof a?(0,e.jsx)("span",{children:a}):a})});a.displayName="Button",t.s(["Button",0,a,"buttonVariants",0,s])},533221,t=>{"use strict";var e=t.i(530295),r=t.i(190286);let n=(0,t.i(294237).cva)("mx-auto w-full max-w-(--max-container-width)",{variants:{variant:{content:"content-padding",nav:"nav-padding"}},defaultVariants:{variant:"content"}});t.s(["Container",0,({as:t,className:o,children:i,variant:s="content",...a})=>(0,e.jsx)(t??"div",{className:(0,r.cn)(n({variant:s}),o),...a,children:i})])},190286,7284,t=>{"use strict";function e(){for(var t,e,r=0,n="",o=arguments.length;r<o;r++)(t=arguments[r])&&(e=function t(e){var r,n,o="";if("string"==typeof e||"number"==typeof e)o+=e;else if("object"==typeof e)if(Array.isArray(e)){var i=e.length;for(r=0;r<i;r++)e[r]&&(n=t(e[r]))&&(o&&(o+=" "),o+=n)}else for(n in e)e[n]&&(o&&(o+=" "),o+=n);return o}(t))&&(n&&(n+=" "),n+=e);return n}t.s(["clsx",0,e],7284);let r=(t,e)=>{if(0===t.length)return e.classGroupId;let n=t[0],o=e.nextPart.get(n),i=o?r(t.slice(1),o):void 0;if(i)return i;if(0===e.validators.length)return;let s=t.join("-");return e.validators.find(({validator:t})=>t(s))?.classGroupId},n=/^\[(.+)\]$/,o=(t,e,r,n)=>{t.forEach(t=>{if("string"==typeof t){(""===t?e:i(e,t)).classGroupId=r;return}"function"==typeof t?s(t)?o(t(n),e,r,n):e.validators.push({validator:t,classGroupId:r}):Object.entries(t).forEach(([t,s])=>{o(s,i(e,t),r,n)})})},i=(t,e)=>{let r=t;return e.split("-").forEach(t=>{r.nextPart.has(t)||r.nextPart.set(t,{nextPart:new Map,validators:[]}),r=r.nextPart.get(t)}),r},s=t=>t.isThemeGetter,a=(t,e)=>e?t.map(([t,r])=>[t,r.map(t=>"string"==typeof t?e+t:"object"==typeof t?Object.fromEntries(Object.entries(t).map(([t,r])=>[e+t,r])):t)]):t,l=t=>{if(t.length<=1)return t;let e=[],r=[];return t.forEach(t=>{"["===t[0]?(e.push(...r.sort(),t),r=[]):r.push(t)}),e.push(...r.sort()),e},c=/\s+/;function u(){let t,e,r=0,n="";for(;r<arguments.length;)(t=arguments[r++])&&(e=d(t))&&(n&&(n+=" "),n+=e);return n}let d=t=>{let e;if("string"==typeof t)return t;let r="";for(let n=0;n<t.length;n++)t[n]&&(e=d(t[n]))&&(r&&(r+=" "),r+=e);return r},p=t=>{let e=e=>e[t]||[];return e.isThemeGetter=!0,e},h=/^\[(?:([a-z-]+):)?(.+)\]$/i,f=/^\d+\/\d+$/,m=new Set(["px","full","screen"]),g=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,b=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,y=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,v=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,w=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,x=t=>k(t)||m.has(t)||f.test(t),_=t=>q(t,"length",M),k=t=>!!t&&!Number.isNaN(Number(t)),E=t=>q(t,"number",k),S=t=>!!t&&Number.isInteger(Number(t)),I=t=>t.endsWith("%")&&k(t.slice(0,-1)),R=t=>h.test(t),T=t=>g.test(t),C=new Set(["length","size","percentage"]),O=t=>q(t,C,H),L=t=>q(t,"position",H),A=new Set(["image","url"]),P=t=>q(t,A,U),j=t=>q(t,"",D),N=()=>!0,q=(t,e,r)=>{let n=h.exec(t);return!!n&&(n[1]?"string"==typeof e?n[1]===e:e.has(n[1]):r(n[2]))},M=t=>b.test(t)&&!y.test(t),H=()=>!1,D=t=>v.test(t),U=t=>w.test(t),z=function(t){let e,i,s,d=function(l){let c;return i=(e={cache:(t=>{if(t<1)return{get:()=>void 0,set:()=>{}};let e=0,r=new Map,n=new Map,o=(o,i)=>{r.set(o,i),++e>t&&(e=0,n=r,r=new Map)};return{get(t){let e=r.get(t);return void 0!==e?e:void 0!==(e=n.get(t))?(o(t,e),e):void 0},set(t,e){r.has(t)?r.set(t,e):o(t,e)}}})((c=[].reduce((t,e)=>e(t),t())).cacheSize),parseClassName:(t=>{let{separator:e,experimentalParseClassName:r}=t,n=1===e.length,o=e[0],i=e.length,s=t=>{let r,s=[],a=0,l=0;for(let c=0;c<t.length;c++){let u=t[c];if(0===a){if(u===o&&(n||t.slice(c,c+i)===e)){s.push(t.slice(l,c)),l=c+i;continue}if("/"===u){r=c;continue}}"["===u?a++:"]"===u&&a--}let c=0===s.length?t:t.substring(l),u=c.startsWith("!"),d=u?c.substring(1):c;return{modifiers:s,hasImportantModifier:u,baseClassName:d,maybePostfixModifierPosition:r&&r>l?r-l:void 0}};return r?t=>r({className:t,parseClassName:s}):s})(c),...(t=>{let e=(t=>{let{theme:e,prefix:r}=t,n={nextPart:new Map,validators:[]};return a(Object.entries(t.classGroups),r).forEach(([t,r])=>{o(r,n,t,e)}),n})(t),{conflictingClassGroups:i,conflictingClassGroupModifiers:s}=t;return{getClassGroupId:t=>{let o=t.split("-");return""===o[0]&&1!==o.length&&o.shift(),r(o,e)||(t=>{if(n.test(t)){let e=n.exec(t)[1],r=e?.substring(0,e.indexOf(":"));if(r)return"arbitrary.."+r}})(t)},getConflictingClassGroupIds:(t,e)=>{let r=i[t]||[];return e&&s[t]?[...r,...s[t]]:r}}})(c)}).cache.get,s=e.cache.set,d=p,p(l)};function p(t){let r=i(t);
vendor: 4,073 bytes, line 1
1if(r)return r;let n=((t,e)=>{let{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:o}=e,i=[],s=t.trim().split(c),a="";for(let t=s.length-1;t>=0;t-=1){let e=s[t],{modifiers:c,hasImportantModifier:u,baseClassName:d,maybePostfixModifierPosition:p}=r(e),h=!!p,f=n(h?d.substring(0,p):d);if(!f){if(!h||!(f=n(d))){a=e+(a.length>0?" "+a:a);continue}h=!1}let m=l(c).join(":"),g=u?m+"!":m,b=g+f;if(i.includes(b))continue;i.push(b);let y=o(f,h);for(let t=0;t<y.length;++t){let e=y[t];i.push(g+e)}a=e+(a.length>0?" "+a:a)}return a})(t,e);return s(t,n),n}return function(){return d(u.apply(null,arguments))}}(()=>{let t=p("colors"),e=p("spacing"),r=p("blur"),n=p("brightness"),o=p("borderColor"),i=p("borderRadius"),s=p("borderSpacing"),a=p("borderWidth"),l=p("contrast"),c=p("grayscale"),u=p("hueRotate"),d=p("invert"),h=p("gap"),f=p("gradientColorStops"),m=p("gradientColorStopPositions"),g=p("inset"),b=p("margin"),y=p("opacity"),v=p("padding"),w=p("saturate"),C=p("scale"),A=p("sepia"),q=p("skew"),M=p("space"),H=p("translate"),D=()=>["auto","contain","none"],U=()=>["auto","hidden","clip","visible","scroll"],z=()=>["auto",R,e],F=()=>[R,e],$=()=>["",x,_],V=()=>["auto",k,R],J=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],W=()=>["solid","dashed","dotted","double","none"],B=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],G=()=>["start","end","center","between","around","evenly","stretch"],X=()=>["","0",R],Z=()=>["auto","avoid","all","avoid-page","page","left","right","column"],K=()=>[k,R];return{cacheSize:500,separator:":",theme:{colors:[N],spacing:[x,_],blur:["none","",T,R],brightness:K(),borderColor:[t],borderRadius:["none","","full",T,R],borderSpacing:F(),borderWidth:$(),contrast:K(),grayscale:X(),hueRotate:K(),invert:X(),gap:F(),gradientColorStops:[t],gradientColorStopPositions:[I,_],inset:z(),margin:z(),opacity:K(),padding:F(),saturate:K(),scale:K(),sepia:X(),skew:K(),space:F(),translate:F()},classGroups:{aspect:[{aspect:["auto","square","video",R]}],container:["container"],columns:[{columns:[T]}],"break-after":[{"break-after":Z()}],"break-before":[{"break-before":Z()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...J(),R]}],overflow:[{overflow:U()}],"overflow-x":[{"overflow-x":U()}],"overflow-y":[{"overflow-y":U()}],overscroll:[{overscroll:D()}],"overscroll-x":[{"overscroll-x":D()}],"overscroll-y":[{"overscroll-y":D()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[g]}],"inset-x":[{"inset-x":[g]}],"inset-y":[{"inset-y":[g]}],start:[{start:[g]}],end:[{end:[g]}],top:[{top:[g]}],right:[{right:[g]}],bottom:[{bottom:[g]}],left:[{left:[g]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",S,R]}],basis:[{basis:z()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",R]}],grow:[{grow:X()}],shrink:[{shrink:X()}],order:[{order:["first","last","none",S,R]}],"grid-cols":[{"grid-cols":[N]}],"col-start-end":[{col:["auto",{span:["full",S,R]},R]}],"col-start":[{"col-start":V()}],"col-end":[{"col-end":V()}],"grid-rows":[{"grid-rows":[N]}],"row-start-end":[{row:["auto",{span:[S,R]},R]}],"row-start":[{"row-start":V()}],"row-end":[{"row-end":V()}
vendor: 9,199 bytes, line 1
1],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",R]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",R]}],gap:[{gap:[h]}],"gap-x":[{"gap-x":[h]}],"gap-y":[{"gap-y":[h]}],"justify-content":[{justify:["normal",...G()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...G(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...G(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[v]}],px:[{px:[v]}],py:[{py:[v]}],ps:[{ps:[v]}],pe:[{pe:[v]}],pt:[{pt:[v]}],pr:[{pr:[v]}],pb:[{pb:[v]}],pl:[{pl:[v]}],m:[{m:[b]}],mx:[{mx:[b]}],my:[{my:[b]}],ms:[{ms:[b]}],me:[{me:[b]}],mt:[{mt:[b]}],mr:[{mr:[b]}],mb:[{mb:[b]}],ml:[{ml:[b]}],"space-x":[{"space-x":[M]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[M]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",R,e]}],"min-w":[{"min-w":[R,e,"min","max","fit"]}],"max-w":[{"max-w":[R,e,"none","full","min","max","fit","prose",{screen:[T]},T]}],h:[{h:[R,e,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[R,e,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[R,e,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[R,e,"auto","min","max","fit"]}],"font-size":[{text:["base",T,_]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",E]}],"font-family":[{font:[N]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",R]}],"line-clamp":[{"line-clamp":["none",k,E]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",x,R]}],"list-image":[{"list-image":["none",R]}],"list-style-type":[{list:["none","disc","decimal",R]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[t]}],"placeholder-opacity":[{"placeholder-opacity":[y]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[t]}],"text-opacity":[{"text-opacity":[y]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...W(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",x,_]}],"underline-offset":[{"underline-offset":["auto",x,R]}],"text-decoration-color":[{decoration:[t]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:F()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",R]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",R]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[y]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...J(),L]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",O]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},P]}],"bg-color":[{bg:[t]}],"gradient-from-pos":[{from:[m]}],"gradient-via-pos":[{via:[m]}],"gradient-to-pos":[{to:[m]}],"gradient-from":[{from:[f]}],"gradient-via":[{via:[f]}],"gradient-to":[{to:[f]}],rounded:[{rounded:[i]}],"rounded-s":[{"rounded-s":[i]}],"rounded-e":[{"rounded-e":[i]}],"rounded-t":[{"rounded-t":[i]}],"rounded-r":[{"rounded-r":[i]}],"rounded-b":[{"rounded-b":[i]}],"rounded-l":[{"rounded-l":[i]}],"rounded-ss":[{"rounded-ss":[i]}],"rounded-se":[{"rounded-se":[i]}],"rounded-ee":[{"rounded-ee":[i]}],"rounded-es":[{"rounded-es":[i]}],"rounded-tl":[{"rounded-tl":[i]}],"rounded-tr":[{"rounded-tr":[i]}],"rounded-br":[{"rounded-br":[i]}],"rounded-bl":[{"rounded-bl":[i]}],"border-w":[{border:[a]}],"border-w-x":[{"border-x":[a]}],"border-w-y":[{"border-y":[a]}],"border-w-s":[{"border-s":[a]}],"border-w-e":[{"border-e":[a]}],"border-w-t":[{"border-t":[a]}],"border-w-r":[{"border-r":[a]}],"border-w-b":[{"border-b":[a]}],"border-w-l":[{"border-l":[a]}],"border-opacity":[{"border-opacity":[y]}],"border-style":[{border:[...W(),"hidden"]}],"divide-x":[{"divide-x":[a]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[a]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[y]}],"divide-style":[{divide:W()}],"border-color":[{border:[o]}],"border-color-x":[{"border-x":[o]}],"border-color-y":[{"border-y":[o]}],"border-color-s":[{"border-s":[o]}],"border-color-e":[{"border-e":[o]}],"border-color-t":[{"border-t":[o]}],"border-color-r":[{"border-r":[o]}],"border-color-b":[{"border-b":[o]}],"border-color-l":[{"border-l":[o]}],"divide-color":[{divide:[o]}],"outline-style":[{outline:["",...W()]}],"outline-offset":[{"outline-offset":[x,R]}],"outline-w":[{outline:[x,_]}],"outline-color":[{outline:[t]}],"ring-w":[{ring:$()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[t]}],"ring-opacity":[{"ring-opacity":[y]}],"ring-offset-w":[{"ring-offset":[x,_]}],"ring-offset-color":[{"ring-offset":[t]}],shadow:[{shadow:["","inner","none",T,j]}],"shadow-color":[{shadow:[N]}],opacity:[{opacity:[y]}],"mix-blend":[{"mix-blend":[...B(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":B()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[n]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",T,R]}],grayscale:[{grayscale:[c]}],"hue-rotate":[{"hue-rotate":[u]}],invert:[{invert:[d]}],saturate:[{saturate:[w]}],sepia:[{sepia:[A]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[n]}],"backdrop-contrast":[{"backdrop-contrast":[l]}],"backdrop-grayscale":[{"backdrop-grayscale":[c]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[u]}],"backdrop-invert":[{"backdrop-invert":[d]}],"backdrop-opacity":[{"backdrop-opacity":[y]}],"backdrop-saturate":[{"backdrop-saturate":[w]}],"backdrop-sepia":[{"backdrop-sepia":[A]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[s]}],"border-spacing-x":[{"border-spacing-x":[s]}],"border-spacing-y":[{"border-spacing-y":[s]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",R]}],duration:[{duration:K()}],ease:[{ease:["linear","in","out","in-out",R]}],delay:[{delay:K()}],animate:[{animate:["none","spin","ping","pulse","bounce",R]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[C]}],"scale-x":[{"scale-x":[C]}],"scale-y":[{"scale-y":[C]}],rotate:[{rotate:[S,R]}],"translate-x":[{"translate-x":[H]}],"translate-y":[{"translate-y":[H]}],"skew-x":[{"skew-x":[q]}],"skew-y":[{"skew-y":[q]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",R]}],accent:[{accent:["auto",t]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",R]}],"caret-color":[{caret:[t]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":F()}],"scroll-mx":[{"scroll-mx":F()}],"scroll-my":[{"scroll-my":F()}],"scroll-ms":[{"scroll-ms":F()}],"scroll-me":[{"scroll-me":F()}],"scroll-mt":[{"scroll-mt":F()}],"scroll-mr":[{"scroll-mr":F()}],"scroll-mb":[{"scroll-mb":F()}],"scroll-ml":[{"scroll-ml":F()}],"scroll-p":[{"scroll-p":F()}],"scroll-px":[{"scroll-px":F()}],"scroll-py":[{"scroll-py":F()}],"scroll-ps":[{"scroll-ps":F()}],"scroll-pe":[{"scroll-pe":F()}],"scroll-pt":[{"scroll-pt":F()}],"scroll-pr":[{"scroll-pr":F()}],"scroll-pb":[{"scroll-pb":F()}],"scroll-pl":[{"scroll-pl":F()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}
1],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",R]}],fill:[{fill:[t,"none"]}],"stroke-w":[{stroke:[x,_,E]}],stroke:[{stroke:[t,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}});t.s(["cn",0,(...t)=>z(e(t))],190286)}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.