1/*! 2* © Copyright Nodecraft Inc. 2012 - 2026 | https://nodecraft.com | All Rights Reserved 3* 3rd party license information available at https://nodecraft.com/about/licenses 4* 5*/try{var e="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{};e.SENTRY_RELEASE={id:"2ed676ddf2c7f2a0cd2116ad65e20613d3605d00"};var t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="01d71c06-0d31-4639-b5dd-f9f2710d1cdf",e._sentryDebugIdIdentifier="sentry-dbid-01d71c06-0d31-4639-b5dd-f9f2710d1cdf")}catch{}export const __rspack_esm_id=833;export const __rspack_esm_ids=[833];export const __webpack_modules__={52744(e,t,r){let n,o,i;r.d(t,{aD:()=>ev,j0:()=>tk,U$:()=>tR,e4:()=>eb,Sq:()=>ec});let a=globalThis,s="10.75.0";function l(e){let t=e.__SENTRY__=e.__SENTRY__||{};return t.version=t.version||s,t[s]=t[s]||{}}function c(e,t,r=a){let n=r.__SENTRY__=r.__SENTRY__||{},o=n[s]=n[s]||{};return o[e]||(o[e]=t())}let _="u"<typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__;function u(e){if(void 0!==n)return n?n(e):e();let t=Symbol.for("__SENTRY_SAFE_RANDOM_ID_WRAPPER__");return t in a&&"function"==typeof a[t]?(n=a[t])(e):(n=null,e())}function d(){return u(()=>Math.random())}function h(e=a.crypto||a.msCrypto){try{if(e?.randomUUID)return u(()=>e.randomUUID()).replace(/-/g,"")}catch{}return o||(o="10000000100040008000100000000000"),o.replace(/[018]/g,e=>(e^(15&16*d())>>e/4).toString(16))}function p(){return u(()=>Date.now())/1e3}let f={};function g(e,...t){_&&function(){return _?c("loggerSettings",()=>({enabled:!1})):{enabled:!1}}().enabled&&function(e){if(!("console"in a))return e();let t=a.console,r={},n=Object.keys(f);n.forEach(e=>{let n=f[e];r[e]=t[e],t[e]=n});try{return e()}finally{n.forEach(e=>{t[e]=r[e]})}}(()=>{a.console[e](`Sentry Logger [${e}]:`,...t)})}let m=function(...e){g("log",...e)},v=function(...e){g("warn",...e)},b=function(...e){g("error",...e)},y=Object.prototype.toString,x="_sentrySpan";function w(e,t){if(t){var r=function(e){try{let t=a.WeakRef;if("function"==typeof t)return new t(e)}catch{}return e}(t);try{Object.defineProperty(e,x,{value:r,writable:!0,configurable:!0})}catch{_&&m(`Failed to add non-enumerable property "${String(x)}" to object`,e)}}else delete e[x]}function k(e){var t=e[x];if(t){if("object"==typeof t&&"deref"in t&&"function"==typeof t.deref)try{return t.deref()}catch{return}return t}}class C{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._attributes={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext={traceId:h(),sampleRand:d()}}clone(){let e=new C;return e._breadcrumbs=[...this._breadcrumbs],e._tags={...this._tags},e._attributes={...this._attributes},e._extra={...this._extra},e._contexts={...this._contexts},this._contexts.flags&&(e._contexts.flags={values:[...this._contexts.flags.values]}),e._user=this._user,e._level=this._level,e._session=this._session,e._transactionName=this._transactionName,e._fingerprint=this._fingerprint,e._eventProcessors=[...this._eventProcessors],e._attachments=[...this._attachments],e._sdkProcessingMetadata={...this._sdkProcessingMetadata},e._propagationContext={...this._propagationContext},e._client=this._client,e._lastEventId=this._lastEventId,e._conversationId=this._conversationId,w(e,k(this)),e}setClient(e){this._client=e}setLastEventId(e){this._lastEventId=e}getClient(){return this._client}lastEventId(){return this._lastEventId}addScopeListener(e){this._scopeListeners.push(e)}addEventProcessor(e){return this._eventProcessors.push(e),this}setUser(e){return this._user=e||{email:void 0,id:void 0,ip_address:void 0,username:void 0},this._session&&function(e,t={}){if(t.user&&(!e.ipAddress&&t.user.ip_address&&(e.ipAddress=t.user.ip_address),e.did||t.did||(e.did=t.user.id||t.user.email||t.user.username)),e.timestamp=t.timestamp||(i??(i=function(){let{performance:e}=a;if(!e?.now||!e.timeOrigin)return p;let t=e.timeOrigin;return()=>(t+u(()=>e.now()))/1e3}()))(),t.abnormal_mechanism&&(e.abnormal_mechanism=t.abnormal_mechanism),t.ignoreDuration&&(e.ignoreDuration=t.ignoreDuration),t.sid&&(e.sid=32===t.sid.length?t.sid:h()),void 0!==t.init&&(e.init=t.init),!e.did&&t.did&&(e.did=`${t.did}`),"number"==typeof t.started&&(e.started=t.started),e.ignoreDuration)e.duration=void 0;else if("number"==typeof t.duration)e.duration=t.duration;else{let t=e.timestamp-e.started;e.duration=t>=0?t:0}t.release&&(e.release=t.release),t.environment&&(e.environment=t.environment),!e.ipAddress&&t.ipAddress&&(e.ipAddress=t.ipAddress),!e.userAgent&&t.userAgent&&(e.userAgent=t.userAgent),"number"==typeof t.errors&&(e.errors=t.errors),t.status&&(e.status=t.status)}(this._session,{user:e}),this._notifyScopeListeners(),this}getUser(){return this._user}setConversationId(e){return this._conversationId=e||void 0,this._notifyScopeListeners(),this}setTags(e){return this._tags={...this._tags,...e},this._notifyScopeListeners(),this}setTag(e,t){return this.setTags({[e]:t})}setAttributes(e){return this._attributes={...this._attributes,...e},this._notifyScopeListeners(),this}setAttribute(e,t){return this.setAttributes({[e]:t})}removeAttribute(e){return e in this._attributes&&(delete this._attributes[e],this._notifyScopeListeners()),this}setExtras(e){return this._extra={...this._extra,...e},this._notifyScopeListeners(),this}setExtra(e,t){return this._extra={...this._extra,[e]:t},this._notifyScopeListeners(),this}setFingerprint(e){return this._fingerprint=e,this._notifyScopeListeners(),this}setLevel(e){return this._level=e,this._notifyScopeListeners(),this}setTransactionName(e){return this._transactionName=e,this._notifyScopeListeners(),this}setContext(e,t){return null===t?delete this._contexts[e]:this._contexts[e]=t,this._notifyScopeListeners(),this}setSession(e){return e?this._session=e:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(e){if(!e)return this;let t="function"==typeof e?e(this):e,{tags:r,attributes:n,extra:o,user:i,contexts:a,level:s,fingerprint:l=[],propagationContext:c,conversationId:_}=(t instanceof C?t.getScopeData():"[object Object]"===y.call(t)?e:void 0)||{};return this._tags={...this._tags,...r},this._attributes={...this._attributes,...n},this._extra={...this._extra,...o},this._contexts={...this._contexts,...a},i&&Object.keys(i).length&&(this._user=i),s&&(this._level=s),l.length&&(this._fingerprint=l),c&&
5(this._propagationContext=c),_&&(this._conversationId=_),this}clear(){return this._breadcrumbs=[],this._tags={},this._attributes={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._session=void 0,this._conversationId=void 0,w(this,void 0),this._attachments=[],this.setPropagationContext({traceId:h(),sampleRand:d()}),this._notifyScopeListeners(),this}addBreadcrumb(e,t){let r="number"==typeof t?t:100;if(r<=0)return this;let n={timestamp:p(),...e,message:e.message?function(e,t=0){return"string"!=typeof e||0===t||e.length<=t?e:`${e.slice(0,t)}...`}(e.message,2048):e.message};return this._breadcrumbs.push(n),this._breadcrumbs.length>r&&(this._breadcrumbs=this._breadcrumbs.slice(-r),this._client?.recordDroppedEvent("buffer_overflow","log_item")),this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(e){return this._attachments.push(e),this}clearAttachments(){return this._attachments=[],this}getScopeData(){return{breadcrumbs:this._breadcrumbs,attachments:this._attachments,contexts:this._contexts,tags:this._tags,attributes:this._attributes,extra:this._extra,user:this._user,level:this._level,fingerprint:this._fingerprint||[],eventProcessors:this._eventProcessors,propagationContext:this._propagationContext,sdkProcessingMetadata:this._sdkProcessingMetadata,transactionName:this._transactionName,span:k(this),conversationId:this._conversationId}}setSDKProcessingMetadata(e){return this._sdkProcessingMetadata=function e(t,r,n=2){if(!r||"object"!=typeof r||n<=0)return r;if(t&&0===Object.keys(r).length)return t;let o={...t};for(let t in r)Object.prototype.hasOwnProperty.call(r,t)&&(o[t]=e(o[t],r[t],n-1));return o}(this._sdkProcessingMetadata,e,2),this}setPropagationContext(e){return this._propagationContext=e,this}getPropagationContext(){return this._propagationContext}captureException(e,t){let r=t?.event_id||h();if(!this._client)return _&&v("No client configured on scope - will not capture exception!"),r;let n=Error("Sentry syntheticException");return this._client.captureException(e,{originalException:e,syntheticException:n,...t,event_id:r},this),r}captureMessage(e,t,r){let n=r?.event_id||h();if(!this._client)return _&&v("No client configured on scope - will not capture message!"),n;let o=r?.syntheticException??Error(e);return this._client.captureMessage(e,t,{originalException:e,syntheticException:o,...r,event_id:n},this),n}captureEvent(e,t){let r=e.event_id||t?.event_id||h();return this._client?this._client.captureEvent(e,{...t,event_id:r},this):_&&v("No client configured on scope - will not capture event!"),r}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach(e=>{e(this)}),this._notifyingListeners=!1)}}let S=e=>e instanceof Promise&&!e[E],E=Symbol("chained PromiseLike");class R{constructor(e,t){let r,n;r=e||new C,n=t||new C,this._stack=[{scope:r}],this._isolationScope=n}withScope(e){var t,r,n,o;let i,a=this._pushScope();try{i=e(a)}catch(e){throw this._popScope(),e}if(t=i,t?.then&&"function"==typeof t.then){let e;return r=i,n=()=>this._popScope(),o=()=>this._popScope(),S(e=r.then(e=>(n(),e),e=>{throw o(),e}))&&S(r)?e:((e,t)=>{if(!t)return e;let r=!1;for(let n in e){if(n in t)continue;r=!0;let o=e[n];"function"==typeof o?Object.defineProperty(t,n,{value:(...t)=>o.apply(e,t),enumerable:!0,configurable:!0,writable:!0}):t[n]=o}return r&&Object.assign(t,{[E]:!0}),t})(r,e)}return this._popScope(),i}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getIsolationScope(){return this._isolationScope}getStackTop(){return this._stack[this._stack.length-1]}_pushScope(){let e=this.getScope().clone();return this._stack.push({client:this.getClient(),scope:e}),e}_popScope(){return!(this._stack.length<=1)&&!!this._stack.pop()}}function T(){let e=(l(a),a),t=l(e);return t.stack=t.stack||new R(c("defaultCurrentScope",()=>new C),c("defaultIsolationScope",()=>new C))}function L(e){return T().withScope(e)}function N(e,t){let r=T();return r.withScope(()=>(r.getStackTop().scope=e,t(e)))}function D(e){return T().withScope(()=>e(T().getIsolationScope()))}function M(e){let t=l(e);return t.acs?t.acs:{withIsolationScope:D,withScope:L,withSetScope:N,withSetIsolationScope:(e,t)=>D(t),getCurrentScope:()=>T().getScope(),getIsolationScope:()=>T().getIsolationScope()}}function P(){return M((l(a),a)).getCurrentScope()}function F(){return P().getClient()}function H(e){let t=F();if(!t){_&&v(`Cannot add integration "${e.name}" because no SDK Client is available.`);return}t.addIntegration(e)}let I=a.document,A=a.navigator,O="Report a Bug",$="Cancel",U="Send Bug Report",B="Confirm",j="Report a Bug",z="[email protected]",V="Email",W="What's the bug? What did you expect?",q="Description",Y="Your Name",G="Name",Z="Thank y
5ou for your report!",K="(required)",X="Add a screenshot",J="Remove screenshot",Q="Highlight",ee="Hide",et="Remove",er="Unable to submit feedback with empty message",en="No client setup, cannot send feedback.",eo="Unable to determine if Feedback was correctly sent.",ei="Unable to send feedback. This could be because this domain is not in your list of allowed domains.",ea="Unable to send feedback. This could be because of network issues, or because you are using an ad-blocker.",es={ERROR_EMPTY_MESSAGE:er,ERROR_NO_CLIENT:en,ERROR_TIMEOUT:eo,ERROR_FORBIDDEN:ei,ERROR_GENERIC:ea};function el(e,t){return t?.[e]??es[e]}let ec=(e,t={includeReplay:!0})=>{let r=t.errorMessages;if(!e.message)throw Error(el("ERROR_EMPTY_MESSAGE",r));let n=F();if(!n)throw Error(el("ERROR_NO_CLIENT",r));e.tags&&Object.keys(e.tags).length&&P().setTags(e.tags);let o=function(e,t={},r=P()){let{message:n,name:o,email:i,url:a,source:s,associatedEventId:l,tags:c}=e,_={contexts:{feedback:{contact_email:i,name:o,message:n,url:a,source:s,associated_event_id:l}},type:"feedback",level:"info",tags:c},u=r?.getClient()||F();return u&&u.emit("beforeSendFeedback",_,t),r.captureEvent(_,t)}({source:"api",url:function(){try{return a.document.location.href}catch{return""}}(),...e},t);return new Promise((e,t)=>{let i=setTimeout(()=>{a(),t(el("ERROR_TIMEOUT",r))},3e4),a=n.on("afterSendEvent",(n,s)=>{if(n.event_id===o)return(clearTimeout(i),a(),s?.statusCode&&s.statusCode>=200&&s.statusCode<300)?e(o):s?.statusCode===403?t(el("ERROR_FORBIDDEN",r)):t(el("ERROR_GENERIC",r))})})},e_="u"<typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__;function eu(e,t){return{...e,...t,tags:{...e.tags,...t.tags},onFormOpen:()=>{t.onFormOpen?.(),e.onFormOpen?.()},onFormClose:()=>{t.onFormClose?.(),e.onFormClose?.()},onSubmitSuccess:(r,n)=>{t.onSubmitSuccess?.(r,n),e.onSubmitSuccess?.(r,n)},onSubmitError:r=>{t.onSubmitError?.(r),e.onSubmitError?.(r)},onFormSubmitted:()=>{t.onFormSubmitted?.(),e.onFormSubmitted?.()},themeDark:{...e.themeDark,...t.themeDark},themeLight:{...e.themeLight,...t.themeLight}}}function ed(e,t){return Object.entries(t).forEach(([t,r])=>{e.setAttributeNS(null,t,r)}),e}let eh="rgba(88, 74, 192, 1)",ep={foreground:"#2b2233",background:"#ffffff",accentForeground:"white",accentBackground:eh,successColor:"#268d75",errorColor:"#df3338",border:"1.5px solid rgba(41, 35, 47, 0.13)",boxShadow:"0px 4px 24px 0px rgba(43, 34, 51, 0.12)",outline:"1px auto var(--accent-background)",interactiveFilter:"brightness(95%)"},ef={foreground:"#ebe6ef",background:"#29232f",accentForeground:"white",accentBackground:eh,successColor:"#2da98c",errorColor:"#f55459",border:"1.5px solid rgba(235, 230, 239, 0.15)",boxShadow:"0px 4px 24px 0px rgba(43, 34, 51, 0.12)",outline:"1px auto var(--accent-background)",interactiveFilter:"brightness(150%)"};function eg(e){return` 6 --foreground: ${e.foreground}; 7 --background: ${e.background}; 8 --accent-foreground: ${e.accentForeground}; 9 --accent-background: ${e.accentBackground}; 10 --success-color: ${e.successColor}; 11 --error-color: ${e.errorColor}; 12 --border: ${e.border}; 13 --box-shadow: ${e.boxShadow}; 14 --outline: ${e.outline}; 15 --interactive-filter: ${e.interactiveFilter}; 16 `}function em({colorScheme:e,themeDark:t,themeLight:r,styleNonce:n}){let o=I.createElement("style");return o.textContent=` 17:host { 18 --font-family: system-ui, 'Helvetica Neue', Arial, sans-serif; 19 --font-size: 14px; 20 --z-index: 100000; 21 22 --page-margin: 16px; 23 --inset: auto 0 0 auto; 24 --actor-inset: var(--inset); 25 26 font-family: var(--font-family); 27 font-size: var(--font-size); 28 29 ${"system"!==e?`color-scheme: only ${e};`:""} 30 31 ${eg("dark"===e?{...ef,...t}:{...ep,...r})} 32} 33 34${"system"===e?` 35@media (prefers-color-scheme: dark) { 36 :host { 37 color-scheme: only dark; 38 39 ${eg({...ef,...t})} 40 } 41}`:""} 42`,n&&o.setAttribute("nonce",n),o}let ev=({lazyLoadIntegration:e,getModalIntegration:t,getScreenshotIntegration:r})=>({id:n="sentry-feedback",autoInject:o=!0,showBranding:i=!0,isEmailRequired:s=!1,isNameRequired:l=!1,showEmail:c=!0,showName:_=!0,enableScreenshot:u=!0,useSentryUser:d={email:"email",name:"username"},tags:h,styleNonce:p,scriptNonce:f,colorScheme:g="system",themeLight:m={},themeDark:v={},addScreenshotButtonLabel:y=X,cancelButtonLabel:x=$,confirmButtonLabel:w=B,emailLabel:k=V,emailPlaceholder:C=z,formTitle:S=j,isRequiredLabel:E=K,messageLabel:R=q,messagePlaceholder:T=W,nameLabel:L=G,namePlaceholder:N=Y,removeScreenshotButtonLabel:D=J,submitButtonLabel:M=U,successMessageText:P=Z,triggerLabel:F=O,triggerAriaLabel:es="",highlightToolText:el=Q,hideToolText:eh=ee,removeHighlightText:ep=et,errorEmptyMessageText:ef=er,errorNoClientText:eg=en,errorTimeoutText:ev=eo,errorForbiddenText:eb=ei,errorGenericText:ey=ea,onFormOpen:ex,onFormClose:ew,onSubmitSuccess:ek,onSubmitError:eC,onFormSubmitted:eS}={})=>{let eE={id:n,autoInject:o,showBranding:i,isEmailRequired:s,isNameRequired:l,showEmail
42:c,showName:_,enableScreenshot:u,useSentryUser:d,tags:h,styleNonce:p,scriptNonce:f,colorScheme:g,themeDark:v,themeLight:m,triggerLabel:F,triggerAriaLabel:es,cancelButtonLabel:x,submitButtonLabel:M,confirmButtonLabel:w,formTitle:S,emailLabel:k,emailPlaceholder:C,messageLabel:R,messagePlaceholder:T,nameLabel:L,namePlaceholder:N,successMessageText:P,isRequiredLabel:E,addScreenshotButtonLabel:y,removeScreenshotButtonLabel:D,highlightToolText:el,hideToolText:eh,removeHighlightText:ep,errorEmptyMessageText:ef,errorNoClientText:eg,errorTimeoutText:ev,errorForbiddenText:eb,errorGenericText:ey,onFormClose:ew,onFormOpen:ex,onSubmitError:eC,onSubmitSuccess:ek,onFormSubmitted:eS},eR=null,eT=null,eL=[],eN=e=>{if(!eR){let t=I.createElement("div");t.id=String(e.id),I.body.appendChild(t),eR=t.attachShadow({mode:"open"}),eT=em(e),eR.appendChild(eT)}return eR},eD=async n=>{let o,i,a=n.enableScreenshot&&!(/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(A.userAgent)||/Macintosh/i.test(A.userAgent)&&A.maxTouchPoints&&A.maxTouchPoints>1)&&!!isSecureContext;try{o=(t?t():await e("feedbackModalIntegration",f))(),H(o)}catch{throw e_&&b("[Feedback] Error when trying to load feedback integrations. Try using `feedbackSyncIntegration` in your `Sentry.init`."),Error("[Feedback] Missing feedback modal integration!")}try{let t=a?r?r():await e("feedbackScreenshotIntegration",f):void 0;t&&(i=t(),H(i))}catch{e_&&b("[Feedback] Missing feedback screenshot integration. Proceeding without screenshots.")}let s={ERROR_EMPTY_MESSAGE:n.errorEmptyMessageText,ERROR_NO_CLIENT:n.errorNoClientText,ERROR_TIMEOUT:n.errorTimeoutText,ERROR_FORBIDDEN:n.errorForbiddenText,ERROR_GENERIC:n.errorGenericText},l=o.createDialog({options:{...n,onFormClose:()=>{l?.close(),n.onFormClose?.()},onFormSubmitted:()=>{l?.close(),n.onFormSubmitted?.()}},screenshotIntegration:i,sendFeedback:(e,t)=>ec(e,{includeReplay:!0,...t,errorMessages:s}),shadow:eN(n)});return l},eM=(e,t={})=>{let r=eu(eE,t),n="string"==typeof e?I.querySelector(e):"function"==typeof e.addEventListener?e:null;if(!n)throw e_&&b("[Feedback] Unable to attach to target element"),Error("Unable to attach to target element");let o=null,i=async()=>{o||(o=await eD({...r,onFormSubmitted:()=>{o?.removeFromDom(),r.onFormSubmitted?.()}})),o.appendToDom(),o.open()};n.addEventListener("click",i);let a=()=>{eL=eL.filter(e=>e!==a),o?.removeFromDom(),o=null,n.removeEventListener("click",i)};return eL.push(a),a},eP=(e={})=>{let t=eu(eE,e),r=eN(t),n=function({triggerLabel:e,triggerAriaLabel:t,shadow:r,styleNonce:n}){let o,i,s,l,c,_,u,d,h=I.createElement("button");if(h.type="button",h.className="widget__actor",h.ariaHidden="false",h.ariaLabel=t||e||O,h.appendChild((i=ed((o=e=>a.document.createElementNS("http://www.w3.org/2000/svg",e))("svg"),{width:"20",height:"20",viewBox:"0 0 20 20",fill:"var(--actor-color, var(--foreground))"}),s=ed(o("g"),{clipPath:"url(#clip0_57_80)"}),l=ed(o("path"),{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M15.6622 15H12.3997C12.2129 14.9959 12.031 14.9396 11.8747 14.8375L8.04965 12.2H7.49956V19.1C7.4875 19.3348 7.3888 19.5568 7.22256 19.723C7.05632 19.8892 6.83435 19.9879 6.59956 20H2.04956C1.80193 19.9968 1.56535 19.8969 1.39023 19.7218C1.21511 19.5467 1.1153 19.3101 1.11206 19.0625V12.2H0.949652C0.824431 12.2017 0.700142 12.1783 0.584123 12.1311C0.468104 12.084 0.362708 12.014 0.274155 11.9255C0.185602 11.8369 0.115689 11.7315 0.0685419 11.6155C0.0213952 11.4995 -0.00202913 11.3752 -0.00034808 11.25V3.75C-0.00900498 3.62067 0.0092504 3.49095 0.0532651 3.36904C0.0972798 3.24712 0.166097 3.13566 0.255372 3.04168C0.344646 2.94771 0.452437 2.87327 0.571937 2.82307C0.691437 2.77286 0.82005 2.74798 0.949652 2.75H8.04965L11.8747 0.1625C12.031 0.0603649 12.2129 0.00407221 12.3997 0H15.6622C15.9098 0.00323746 16.1464 0.103049 16.3215 0.278167C16.4966 0.453286 16.5964 0.689866 16.5997 0.9375V3.25269C17.3969 3.42959 18.1345 3.83026 18.7211 4.41679C19.5322 5.22788 19.9878 6.32796 19.9878 7.47502C19.9878 8.62209 19.5322 9.72217 18.7211 10.5333C18.1345 11.1198 17.3969 11.5205 16.5997 11.6974V14.0125C16.6047 14.1393 16.5842 14.2659 16.5395 14.3847C16.4948 14.5035 16.4268 14.6121 16.3394 14.7042C16.252 14.7962 16.147 14.8698 16.0307 14.9206C15.9144 14.9714 15.7891 14.9984 15.6622 15ZM1.89695 10.325H1.88715V4.625H8.33715C8.52423 4.62301 8.70666 4.56654 8.86215 4.4625L12.6872 1.875H14.7247V13.125H12.6872L8.86215 10.4875C8.70666 10.3835 8.52423 10.327 8.33715 10.325H2.20217C2.15205 10.3167 2.10102 10.3125 2.04956 10.3125C1.9981 10.3125 1.94708 10.3167 1.89695 10.325ZM2.98706 12.2V18.1625H5.66206V12.2H2.98706ZM16.5997 9.93612V5.01393C16.6536 5.02355 16.7072 5.03495 16.7605 5.04814C17.1202 5.13709 17.45
4256 5.30487 17.7425 5.53934C18.0293 5.77381 18.2605 6.06912 18.4192 6.40389C18.578 6.73866 18.6603 7.10452 18.6603 7.47502C18.6603 7.84552 18.578 8.21139 18.4192 8.54616C18.2605 8.88093 18.0293 9.17624 17.7425 9.41071C17.4556 9.64518 17.1202 9.81296 16.7605 9.90191C16.7072 9.91509 16.6536 9.9265 16.5997 9.93612Z"}),i.appendChild(s).appendChild(l),c=o("defs"),_=ed(o("clipPath"),{id:"clip0_57_80"}),u=ed(o("rect"),{width:"20",height:"20",fill:"white"}),_.appendChild(u),c.appendChild(_),i.appendChild(c).appendChild(_).appendChild(u),i)),e){let t=I.createElement("span");t.appendChild(I.createTextNode(e)),h.appendChild(t)}let p=((d=I.createElement("style")).textContent=` 43.widget__actor { 44 position: fixed; 45 z-index: var(--z-index); 46 margin: var(--page-margin); 47 inset: var(--actor-inset); 48 49 display: flex; 50 align-items: center; 51 gap: 8px; 52 padding: 16px; 53 54 font-family: inherit; 55 font-size: var(--font-size); 56 font-weight: 600; 57 line-height: 1.14em; 58 text-decoration: none; 59 60 background: var(--actor-background, var(--background)); 61 border-radius: var(--actor-border-radius, 1.7em/50%); 62 border: var(--actor-border, var(--border));
63 box-shadow: var(--actor-box-shadow, var(--box-shadow)); 64 color: var(--actor-color, var(--foreground)); 65 fill: var(--actor-color, var(--foreground)); 66 cursor: pointer; 67 opacity: 1; 68 transition: transform 0.2s ease-in-out; 69 transform: translate(0, 0) scale(1); 70} 71.widget__actor[aria-hidden="true"] { 72 opacity: 0; 73 pointer-events: none; 74 visibility: hidden; 75 transform: translate(0, 16px) scale(0.98); 76} 77 78.widget__actor:hover { 79 background: var(--actor-hover-background, var(--background)); 80 filter: var(--interactive-filter); 81} 82 83.widget__actor svg { 84 width: 1.14em; 85 height: 1.14em; 86} 87 88@media (max-width: 600px) { 89 .widget__actor span { 90 display: none; 91 } 92} 93`,n&&d.setAttribute("nonce",n),d);return{el:h,appendToDom(){r.appendChild(p),r.appendChild(h)},removeFromDom(){h.remove(),p.remove()},show(){h.ariaHidden="false"},hide(){h.ariaHidden="true"}}}({triggerLabel:t.triggerLabel,triggerAriaLabel:t.triggerAriaLabel,shadow:r,styleNonce:p});return eM(n.el,{...t,onFormOpen(){n.hide()},onFormClose(){n.show()},onFormSubmitted(){n.show()}}),n};return{name:"Feedback",setupOnce(){let e;"u">typeof window&&(!(!("u">typeof __SENTRY_BROWSER_BUNDLE__&&__SENTRY_BROWSER_BUNDLE__)&&"[object process]"===Object.prototype.toString.call("u">typeof process?process:0))||(e=a.process,e?.type==="renderer"))&&eE.autoInject&&("loading"===I.readyState?I.addEventListener("DOMContentLoaded",()=>eP().appendToDom()):eP().appendToDom())},attachTo:eM,createWidget(e={}){let t=eP(eu(eE,e));return t.appendToDom(),t},createForm:async(e={})=>eD(eu(eE,e)),setTheme(e){if(eE.colorScheme=e,eR){let e=em(eE);eT?eR.replaceChild(e,eT):eR.prepend(e),eT=e}},remove(){eR&&(eR.parentElement?.remove(),eR=null,eT=null),eL.forEach(e=>e()),eL=[]}}};function eb(){let e=F();return e?.getIntegrationByName("Feedback")}var ey,ex,ew,ek,eC,eS,eE,eR={},eT=[],eL=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,eN=Array.isArray;function eD(e,t){for(var r in t)e[r]=t[r];return e}function eM(e){var t=e.parentNode;t&&t.removeChild(e)}function eP(e,t,r){var n,o,i,a={};for(i in t)"key"==i?n=t[i]:"ref"==i?o=t[i]:a[i]=t[i];if(arguments.length>2&&(a.children=arguments.length>3?ey.call(arguments,2):r),"function"==typeof e&&null!=e.defaultProps)for(i in e.defaultProps)void 0===a[i]&&(a[i]=e.defaultProps[i]);return eF(e,a,n,o,null)}function eF(e,t,r,n,o){var i={type:e,props:t,key:r,ref:n,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:null==o?++ew:o,__i:-1,__u:0};return null==o&&null!=ex.vnode&&ex.vnode(i),i}function eH(e){return e.children}function eI(e,t){this.props=e,this.context=t}function eA(e,t){if(null==t)return e.__?eA(e.__,e.__i+1):null;for(var r;t<e.__k.length;t++)if(null!=(r=e.__k[t])&&null!=r.__e)return r.__e;return"function"==typeof e.type?eA(e):null}function eO(e){(!e.__d&&(e.__d=!0)&&ek.push(e)&&!e$.__r++||eC!==ex.debounceRendering)&&((eC=ex.debounceRendering)||eS)(e$)}function e$(){var e,t,r,n=[],o=[];for(ek.sort(eE);e=ek.shift();)e.__d&&(r=ek.length,t=function(e,t,r){var n,o=e.__v,i=o.__e,a=e.__P;if(a)return(n=eD({},o)).__v=o.__v+1,ex.vnode&&ex.vnode(n),eW(a,n,o,e.__n,void 0!==a.ownerSVGElement,32&o.__u?[i]:null,t,null==i?eA(o):i,!!(32&o.__u),r),n.__.__k[n.__i]=n,n.__d=void 0,n.__e!=i&&function e(t){var r,n;if(null!=(t=t.__)&&null!=t.__c){for(t.__e=t.__c.base=null,r=0;r<t.__k.length;r++)if(null!=(n=t.__k[r])&&null!=n.__e){t.__e=t.__c.base=n.__e;break}return e(t)}}(n),n}(e,n,o)||t,0===r||ek.length>r?(eq(n,t,o),o.length=n.length=0,t=void 0,ek.sort(eE)):t&&ex.__c&&ex.__c(t,eT));t&&eq(n,t,o),e$.__r=0}function eU(e,t,r,n,o,i,a,s,l,c,_){var u,d,h,p,f,g=n&&n.__k||eT,m=t.length;for(r.__d=l,function(e,t,r){var n,o,i,a,s,l=t.length,c=r.length,_=c,u=0;for(e.__k=[],n=0;n<l;n++)null!=(o=e.__k[n]=null==(o=t[n])||"boolean"==typeof o||"function"==typeof o?null:"string"==typeof o||"number"==typeof o||"bigint"==typeof o||o.constructor==String?eF(null,o,null,null,o):eN(o)?eF(eH,{children:o},null,null,null):void 0===o.constructor&&o.__b>0?eF(o.type,o.props,o.key,o.ref?o.ref:null,o.__v):o)?(o.__=e,o.__b=e.__b+1,s=function(e,t,r,n){var o=e.key,i=e.type,a=r-1,s=r+1,l=t[r];
vendor: 12,488 bytes, line 93
93if(null===l||l&&o==l.key&&i===l.type)return r;if(n>+(null!=l&&0==(131072&l.__u)))for(;a>=0||s<t.length;){if(a>=0){if((l=t[a])&&0==(131072&l.__u)&&o==l.key&&i===l.type)return a;a--}if(s<t.length){if((l=t[s])&&0==(131072&l.__u)&&o==l.key&&i===l.type)return s;s++}}return -1}(o,r,a=n+u,_),o.__i=s,i=null,-1!==s&&(_--,(i=r[s])&&(i.__u|=131072)),null==i||null===i.__v?(-1==s&&u--,"function"!=typeof o.type&&(o.__u|=65536)):s!==a&&(s===a+1?u++:s>a?_>l-a?u+=s-a:u--:u=s<a&&s==a-1?s-a:0,s!==n+u&&(o.__u|=65536))):(i=r[n])&&null==i.key&&i.__e&&(i.__e==e.__d&&(e.__d=eA(i)),eG(i,i,!1),r[n]=null,_--);if(_)for(n=0;n<c;n++)null!=(i=r[n])&&0==(131072&i.__u)&&(i.__e==e.__d&&(e.__d=eA(i)),eG(i,i))}(r,t,g),l=r.__d,u=0;u<m;u++)null!=(h=r.__k[u])&&"boolean"!=typeof h&&"function"!=typeof h&&(d=-1===h.__i?eR:g[h.__i]||eR,h.__i=u,eW(e,h,d,o,i,a,s,l,c,_),p=h.__e,h.ref&&d.ref!=h.ref&&(d.ref&&eY(d.ref,null,h),_.push(h.ref,h.__c||p,h)),null==f&&null!=p&&(f=p),65536&h.__u||d.__k===h.__k?l=function e(t,r,n){var o,i;if("function"==typeof t.type){for(o=t.__k,i=0;o&&i<o.length;i++)o[i]&&(o[i].__=t,r=e(o[i],r,n));return r}t.__e!=r&&(n.insertBefore(t.__e,r||null),r=t.__e);do r=r&&r.nextSibling;while(null!=r&&8===r.nodeType)return r}(h,l,e):"function"==typeof h.type&&void 0!==h.__d?l=h.__d:p&&(l=p.nextSibling),h.__d=void 0,h.__u&=-196609);r.__d=l,r.__e=f}function eB(e,t,r){"-"===t[0]?e.setProperty(t,null==r?"":r):e[t]=null==r?"":"number"!=typeof r||eL.test(t)?r:r+"px"}function ej(e,t,r,n,o){var i;e:if("style"===t)if("string"==typeof r)e.style.cssText=r;else{if("string"==typeof n&&(e.style.cssText=n=""),n)for(t in n)r&&t in r||eB(e.style,t,"");if(r)for(t in r)n&&r[t]===n[t]||eB(e.style,t,r[t])}else if("o"===t[0]&&"n"===t[1])i=t!==(t=t.replace(/(PointerCapture)$|Capture$/i,"$1")),t=t.toLowerCase()in e?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+i]=r,r?n?r.u=n.u:(r.u=Date.now(),e.addEventListener(t,i?eV:ez,i)):e.removeEventListener(t,i?eV:ez,i);else{if(o)t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("width"!==t&&"height"!==t&&"href"!==t&&"list"!==t&&"form"!==t&&"tabIndex"!==t&&"download"!==t&&"rowSpan"!==t&&"colSpan"!==t&&"role"!==t&&t in e)try{e[t]=null==r?"":r;break e}catch{}"function"==typeof r||(null==r||!1===r&&"-"!==t[4]?e.removeAttribute(t):e.setAttribute(t,r))}}function ez(e){if(this.l){var t=this.l[e.type+!1];if(e.t){if(e.t<=t.u)return}else e.t=Date.now();return t(ex.event?ex.event(e):e)}}function eV(e){if(this.l)return this.l[e.type+!0](ex.event?ex.event(e):e)}function eW(e,t,r,n,o,i,a,s,l,c){var _,u,d,h,p,f,g,m,v,b,y,x,w,k,C,S=t.type;if(void 0!==t.constructor)return null;128&r.__u&&(l=!!(32&r.__u),i=[s=t.__e=r.__e]),(_=ex.__b)&&_(t);e:if("function"==typeof S)try{if(m=t.props,v=(_=S.contextType)&&n[_.__c],b=_?v?v.props.value:_.__:n,r.__c?g=(u=t.__c=r.__c).__=u.__E:("prototype"in S&&S.prototype.render?t.__c=u=new S(m,b):(t.__c=u=new eI(m,b),u.constructor=S,u.render=eZ),v&&v.sub(u),u.props=m,u.state||(u.state={}),u.context=b,u.__n=n,d=u.__d=!0,u.__h=[],u._sb=[]),null==u.__s&&(u.__s=u.state),null!=S.getDerivedStateFromProps&&(u.__s==u.state&&(u.__s=eD({},u.__s)),eD(u.__s,S.getDerivedStateFromProps(m,u.__s))),h=u.props,p=u.state,u.__v=t,d)null==S.getDerivedStateFromProps&&null!=u.componentWillMount&&u.componentWillMount(),null!=u.componentDidMount&&u.__h.push(u.componentDidMount);else{if(null==S.getDerivedStateFromProps&&m!==h&&null!=u.componentWillReceiveProps&&u.componentWillReceiveProps(m,b),!u.__e&&(null!=u.shouldComponentUpdate&&!1===u.shouldComponentUpdate(m,u.__s,b)||t.__v===r.__v)){for(t.__v!==r.__v&&(u.props=m,u.state=u.__s,u.__d=!1),t.__e=r.__e,t.__k=r.__k,t.__k.forEach(function(e){e&&(e.__=t)}),y=0;y<u._sb.length;y++)u.__h.push(u._sb[y]);u._sb=[],u.__h.length&&a.push(u);break e}null!=u.componentWillUpdate&&u.componentWillUpdate(m,u.__s,b),null!=u.componentDidUpdate&&u.__h.push(function(){u.componentDidUpdate(h,p,f)})}if(u.context=b,u.props=m,u.__P=e,u.__e=!1,x=ex.__r,w=0,"prototype"in S&&S.prototype.render){for(u.state=u.__s,u.__d=!1,x&&x(t),_=u.render(u.props,u.state,u.context),k=0;k<u._sb.length;k++)u.__h.push(u._sb[k]);u._sb=[]}else do u.__d=!1,x&&x(t),_=u.render(u.props,u.state,u.context),u.state=u.__s;while(u.__d&&++w<25)u.state=u.__s,null!=u.getChildContext&&(n=eD(eD({},n),u.getChildContext())),d||null==u.getSnapshotBeforeUpdate||(f=u.getSnapshotBeforeUpdate(h,p)),eU(e,eN(C=null!=_&&_.type===eH&&null==_.key?_.props.children:_)?C:[C],t,r,n,o,i,a,s,l,c),u.base=t.__e,t.__u&=-161,u.__h.length&&a.push(u),g&&(u.__E=u.__=null)}catch(e){t.__v=null,l||null!=i?(t.__e=s,t.__u|=l?160:32,i[i.indexOf(s)]=null):(t.__e=r.__e,t.__k=r.__k),ex.__e(e,t,r)}else null==i&&t.__v===r.__v?(t.__k=r.__k,t.__e=r.__e):t.__e=function(e,t,r,n,o,i,a,s,l){var c,_,u,d,h,p,f,g=r.props,m=t.props,v=t.type;if("svg"===v&&(o=!0),null!=i){for(c=0;c<i.length;c++)if((h=i[c])&&"setAttribute"in h==!!v&&(v?h.localName===v:3===h.nodeType)){e=h,i[c]=null;break}}if(null==e){if(null===v)return document.createTextNode(m);e=o?document.createElementNS("http://www.w3.org/2000/svg",v):document.createElement(v,m.is&&m),i=null,s=!1}if(null===v)g===m||s&&e.data===m||(e.data=m);else{if(i=i&&ey.call(e.childNodes),g=r.props||eR,!s&&null!=i)for(g={},c=0;c<e.attributes.length;c++)g[(h=e.attributes[c]).name]=h.value;for(c in g)h=g[c],"children"==c||("dangerouslySetInnerHTML"==c?u=h:"key"===c||c in m||ej(e,c,null,h,o));for(c in m)h=m[c],"children"==c?d=h:"dangerouslySetInnerHTML"==c?_=h:"value"==c?p=h:"checked"==c?f=h:"key"===c||s&&"function"!=typeof h||g[c]===h||ej(e,c,h,g[c],o);if(_)s||u&&(_.__html===u.__html||_.__html===e.innerHTML)||(e.innerHTML=_.__html),t.__k=[];else if(u&&(e.innerHTML=""),eU(e,eN(d)?d:[d],t,r,n,o&&"foreignObject"!==v,i,a,i?i[0]:r.__k&&eA(r,0),s,l),null!=i)for(c=i.length;c--;)null!=i[c]&&eM(i[c]);s||(c="value",void 0===p||p===e[c]&&("progress"!==v||p)&&("option"!==v||p===g[c])||ej(e,c,p,g[c],!1),c="checked",void 0!==f&&f!==e[c]&&ej(e,c,f,g[c],!1))}return e}(r.__e,t,r,n,o,i,a,l,c);(_=ex.diffed)&&_(t)}function eq(e,t,r){for(var n=0;n<r.length;n++)eY(r[n],r[++n],r[++n]);ex.__c&&ex.__c(t,e),e.some(function(t){try{e=t.__h,t.__h=[],e.some(function(e){e.call(t)})}catch(e){ex.__e(e,t.__v)}})}function eY(e,t,r){try{"function"==typeof e?e(t):e.current=t}catch(e){ex.__e(e,r)}}function eG(e,t,r){var n,o;if(ex.unmount&&ex.unmount(e),(n=e.ref)&&(n.current&&n.current!==e.__e||eY(n,null,t)),null!=(n=e.__c)){if(n.componentWillUnmount)try{n.componentWillUnmount()}catch(e){ex.__e(e,t)}n.base=n.__P=null,e.__c=void 0}if(n=e.__k)for(o=0;o<n.length;o++)n[o]&&eG(n[o],t,r||"function"!=typeof e.type);r||null==e.__e||eM(e.__e),e.__=e.__e=e.__d=void 0}function eZ(e,t,r){return this.constructor(e,r)}ey=eT.slice,ex={__e:function(e,t,r,n){for(var o,i,a;t=t.__;)if((o=t.__c)&&!o.__)try{if((i=o.constructor)&&null!=i.getDerivedStateFromError&&(o.setState(i.getDerivedStateFromError(e)),a=o.__d),null!=o.componentDidCatch&&(o.componentDidCatch(e,n||{}),a=o.__d),a)return o.__E=o}catch(t){e=t}throw e}},ew=0,eI.prototype.setState=function(e,t){var r;r=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=eD({},this.state),"function"==typeof e&&(e=e(eD({},r),this.props)),e&&eD(r,e),null!=e&&this.__v&&(t&&this._sb.push(t),eO(this))},eI.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),eO(this))},eI.prototype.render=eH,ek=[],eS="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,eE=function(e,t){return e.__v.__b-t.__v.__b},e$.__r=0;var eK,eX,eJ,eQ,e1=0,e0=[],e2=[],e5=ex,e6=e5.__b,e4=e5.__r,e3=e5.diffed,e7=e5.__c,e9=e5.unmount,e8=e5.__;function te(e,t){e5.__h&&e5.__h(eX,e,e1||t),e1=0;var r=eX.__H||(eX.__H={__:[],__h:[]});return e>=r.__.length&&r.__.push({__V:e2}),r.__[e]}function tt(e){return e1=1,tr(tu,e)}function tr(e,t,r){var n=te(eK++,2);if(n.t=e,!n.__c&&(n.__=[r?r(t):tu(void 0,t),function(e){var t=n.__N?n.__N[0]:n.__[0],r=n.t(t,e);t!==r&&(n.__N=[r,n.__[1]],n.__c.setState({}))}],n.__c=eX,!eX.u)){var o=function(e,t,r){if(!n.__c.__H)return!0;var o=n.__c.__H.__.filter(function(e){return!!e.__c});if(o.every(function(e){return!e.__N}))return!i||i.call(this,e,t,r);var a=!1;return o.forEach(function(e){if(e.__N){var t=e.__[0];e.__=e.__N,e.__N=void 0,t!==e.__[0]&&(a=!0)}}),!(!a&&n.__c.props===e)&&(!i||i.call(this,e,t,r))};eX.u=!0;var i=eX.shouldComponentUpdate,a=eX.componentWillUpdate;eX.componentWillUpdate=function(e,t,r){if(this.__e){var n=i;i=void 0,o(e,t,r),i=n}a&&a.call(this,e,t,r)},eX.shouldComponentUpdate=o}return n.__N||n.__}function tn(e,t){var r=te(eK++,4);!e5.__s&&t_(r.__H,t)&&(r.__=e,r.i=t,eX.__h.push(r))}function to(e,t){var r=te(eK++,7);return t_(r.__H,t)?(r.__V=e(),r.i=t,r.__h=e,r.__V):r.__}function ti(e,t){return e1=8,to(function(){return e},t)}function ta(){for(var e;e=e0.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(tl),e.__H.__h.forEach(tc),e.__H.__h=[]}catch(t){e.__H.__h=[],e5.__e(t,e.__v)}}e5.__b=function(e){eX=null,e6&&e6(e)},e5.__=function(e,t){t.__k&&t.__k.__m&&(e.__m=t.__k.__m),e8&&e8(e,t)},e5.__r=function(e){e4&&e4(e),eK=0;var t=(eX=e.__c).__H;t&&(eJ===eX?(t.__h=[],eX.__h=[],t.__.forEach(function(e){e.__N&&(e.__=e.__N),e.__V=e2,e.__N=e.i=void 0})):(t.__h.forEach(tl),t.__h.forEach(tc),t.__h=[],eK=0)),eJ=eX},e5.diffed=function(e){e3&&e3(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(1!==e0.push(t)&&eQ===e5.requestAnimationFrame||((eQ=e5.requestAnimationFrame)||function(e){var t,r=function(){clearTimeout(n),ts&&cancelAnimationFrame(t),setTimeout(e)},n=setTimeout(r,100);ts&&(t=requestAnimationFrame(r))})(ta)),t.__H.__.forEach(function(e){e.i&&(e.__H=e.i),e.__V!==e2&&(e.__=e.__V),e.i=void 0,e.__V=e2})),eJ=eX=null},e5.__c=function(e,t){t.some(function(e){try{e.__h.forEach(tl),e.__h=e.__h.filter(function(e){return!e.__||tc(e)})}catch(r){t.some(function(e){e.__h&&(e.__h=[])}),t=[],e5.__e(r,e.__v)}}),e7&&e7(e,t)},e5.unmount=function(e){e9&&e9(e);var t,r=e.__c;r&&r.__H&&(r.__H.__.forEach(function(e){try{tl(e)}catch(e){t=e}}),r.__H=void 0,t&&e5.__e(t,r.__v))};var ts="function"==typeof requestAnimationFrame;function tl(e){var t=eX,r=e.__c;"function"==typeof r&&(e.__c=void 0,r()),eX=t}function tc(e){var t=eX;e.__c=e.__(),eX=t}function t_(e,t){return!e||e.length!==t.length||t.some(function(t,r){return t!==e[r]})}function tu(e,t){return"function"==typeof t?t(e):t}let td=Object.defineProperty({__proto__:null,useCallback:ti,useContext:function(e){var t=eX.context[e.__c],r=te(eK++,9);return r.c=e,t?(null==r.__&&(r.__=!0,t.sub(eX)),t.props.value):e.__},useDebugValue:function(e,t){e5.useDebugValue&&e5.useDebugValue(t?t(e):e)},useEffect:function(e,t){var r=te(eK++,3);!e5.__s&&t_(r.__H,t)&&(r.__=e,r.i=t,eX.__H.__h.push(r))},useErrorBoundary:function(e){var t=te(eK++,10),r=tt();return t.__=e,eX.componentDidCatch||(eX.componentDidCatch=function(e,n){t.__&&t.__(e,n),r[1](e)}),[r[0],function(){r[1](void 0)}]},useId:function(){var e=te(eK++,11);if(!e.__){for(var t=eX.__v;null!==t&&!t.__m&&null!==t.__;)t=t.__;var r=t.__m||(t.__m=[0,0]);e.__="P"+r[0]+"-"+r[1]++}return e.__},useImperativeHandle:function(e,t,r){e1=6,tn(function(){return"function"==typeof e?(e(t()),function(){return e(null)}):e?(e.current=t(),function(){return e.current=null}):void 0},null==r?r:r.concat(e))},useLayoutEffect:tn,useMemo:to,useReducer:tr,useRef:function(e){return e1=5,to(function(){return{current:e}},[])},useState:tt},Symbol.toStringTag,{value:"Module"});function th({options:e}){let t=to(()=>{let e,t;return{__html:(e=ed(I.createElementNS("http://www.w3.org/2000/svg","svg"),{width:"32",height:"30",viewBox:"0 0 72 66",fill:"inherit"}),t=ed(I.createElementNS("http://www.w3.org/2000/svg","path"),{transform:"translate(11, 11)",d:"M29,2.26a4.67,4.67,0,0,0-8,0L14.42,13.53A32.21,32.21,0,0,1,32.17,40.19H27.55A27.68,27.68,0,0,0,12.09,17.47L6,28a15.92,15.92,0,0,1,9.23,12.17H4.62A.76.76,0,0,1,4,39.06l2.94-5a10.74,10.74,0,0,0-3.36-1.9l-2.91,5a4.54,4.54,0,0,0,1.69,6.24A4.66,4.66,0,0,0,4.62,44H19.15a19.4,19.4,0,0,0-8-17.31l2.31-4A23.87,23.87,0,0,1,23.76,44H36.07a35.88,35.88,0,0,0-16.41-31.8l4.67-8a.77.77,0,0,1,1.05-.27c.53.29,20.29,34.77,20.66,35.17a.76.76,0,0,1-.68,1.13H40.6q.09,1.91,0,3.81h4.78A4.59,4.59,0,0,0,50,39.43a4.49,4.49,0,0,0-.62-2.28Z"}),e.appendChild(t),e).outerHTML}},[]);return eP("h2",{class:"dialog__header"},eP("span",{class:"dialog__title"},e.formTitle),e.showBranding?eP("a",{class:"brand-link",target:"_blank",href:"https://sentry.io/welcome/",title:"Powered by Sentry",rel:"noopener noreferrer",dangerouslySetInnerHTML:t}):null)}function tp(e,t){let r=e.get(t);return"string"==typeof r?r.trim():""}
93function tf({options:e,defaultEmail:t,defaultName:r,onFormClose:n,onSubmit:o,onSubmitSuccess:i,onSubmitError:a,showEmail:s,showName:l,screenshotInput:c}){let{tags:_,addScreenshotButtonLabel:u,removeScreenshotButtonLabel:d,cancelButtonLabel:h,emailLabel:p,emailPlaceholder:f,isEmailRequired:g,isNameRequired:m,messageLabel:v,messagePlaceholder:y,nameLabel:x,namePlaceholder:w,submitButtonLabel:k,isRequiredLabel:C}=e,[S,E]=tt(!1),[R,T]=tt(null),[L,N]=tt(!1),D=c?.input,[M,P]=tt(null),F=ti(e=>{P(e),N(!1)},[]),H=ti(e=>{var t;let r,n=(r=[],(t={emailLabel:p,isEmailRequired:g,isNameRequired:m,messageLabel:v,nameLabel:x}).isNameRequired&&!e.name&&r.push(t.nameLabel),t.isEmailRequired&&!e.email&&r.push(t.emailLabel),e.message||r.push(t.messageLabel),r);return n.length>0?T(`Please enter in the following required fields: ${n.join(", ")}`):T(null),0===n.length},[p,g,m,v,x]);return eP("form",{class:"form",onSubmit:ti(async e=>{E(!0);try{if(e.preventDefault(),!(e.target instanceof HTMLFormElement))return;let t=new FormData(e.target),r=await (c&&L?c.value():void 0),n={name:tp(t,"name"),email:tp(t,"email"),message:tp(t,"message"),attachments:r?[r]:void 0};if(!H(n))return;try{let e=await o({name:n.name,email:n.email,message:n.message,source:"widget",tags:_},{attachments:n.attachments});i(n,e)}catch(t){e_&&b(t);let e=t instanceof Error?t:Error(String(t));T(e.message),a(e)}}finally{E(!1)}},[c&&L,i,a])},D&&L?eP(D,{onError:F}):null,eP("fieldset",{class:"form__right","data-sentry-feedback":!0,disabled:S},eP("div",{class:"form__top"},R?eP("div",{class:"form__error-container"},R):null,l?eP("label",{for:"name",class:"form__label"},eP(tg,{label:x,isRequiredLabel:C,isRequired:m}),eP("input",{class:"form__input",defaultValue:r,id:"name",name:"name",placeholder:w,required:m,type:"text"})):eP("input",{"aria-hidden":!0,value:r,name:"name",type:"hidden"}),s?eP("label",{for:"email",class:"form__label"},eP(tg,{label:p,isRequiredLabel:C,isRequired:g}),eP("input",{class:"form__input",defaultValue:t,id:"email",name:"email",placeholder:f,required:g,type:"email"})):eP("input",{"aria-hidden":!0,value:t,name:"email",type:"hidden"}),eP("label",{for:"message",class:"form__label"},eP(tg,{label:v,isRequiredLabel:C,isRequired:!0}),eP("textarea",{autoFocus:!0,class:"form__input form__input--textarea",id:"message",name:"message",placeholder:y,required:!0,rows:5})),D?eP("label",{for:"screenshot",class:"form__label"},eP("button",{class:"btn btn--default",disabled:S,type:"button",onClick:()=>{P(null),N(e=>!e)}},L?d:u),M?eP("div",{class:"form__error-container"},M.message):null):null),eP("div",{class:"btn-group"},eP("button",{class:"btn btn--primary",disabled:S,type:"submit"},k),eP("button",{class:"btn btn--default",disabled:S,type:"button",onClick:n},h))))}function tg({label:e,isRequired:t,isRequiredLabel:r}){return eP("span",{class:"form__label__text"},e,t&&eP("span",{class:"form__label__text--required"},r))}function tm({open:e,onFormSubmitted:t,...r}){let n=r.options,o=to(()=>{let e,t,r,n,o,i,s,l;return{__html:(t=ed((e=e=>a.document.createElementNS("http://www.w3.org/2000/svg",e))("svg"),{width:"16",height:"17",viewBox:"0 0 16 17",fill:"inherit"}),r=ed(e("g"),{clipPath:"url(#clip0_57_156)"}),n=ed(e("path"),{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M3.55544 15.1518C4.87103 16.0308 6.41775 16.5 8 16.5C10.1217 16.5 12.1566 15.6571 13.6569 14.1569C15.1571 12.6566 16 10.6217 16 8.5C16 6.91775 15.5308 5.37103 14.6518 4.05544C13.7727 2.73985 12.5233 1.71447 11.0615 1.10897C9.59966 0.503466 7.99113 0.34504 6.43928 0.653721C4.88743 0.962403 3.46197 1.72433 2.34315 2.84315C1.22433 3.96197 0.462403 5.38743 0.153721 6.93928C-0.15496 8.49113 0.00346625 10.0997 0.608967 11.5615C1.21447 13.0233 2.23985 14.2727 3.55544 15.1518ZM4.40546 3.1204C5.46945 2.40946 6.72036 2.03 8 2.03C9.71595 2.03 11.3616 2.71166 12.575 3.92502C13.7883 5.13838 14.47 6.78405 14.47 8.5C14.47 9.77965 14.0905 11.0306 13.3796 12.0945C12.6687 13.1585 11.6582 13.9878 10.476 14.4775C9.29373 14.9672 7.99283 15.0953 6.73777 14.8457C5.48271 14.596 4.32987 13.9798 3.42502 13.075C2.52018 12.1701 1.90397 11.0173 1.65432 9.76224C1.40468 8.50718 1.5328 7.20628 2.0225 6.02404C2.5122 4.8418 3.34148 3.83133 4.40546 3.1204Z"}),o=ed(e("path"),{d:"M6.68775 12.4297C6.78586 12.4745 6.89218 12.4984 7 12.5C7.11275 12.4955 7.22315 12.4664 7.32337 12.4145C7.4236 12.3627 7.51121 12.2894 7.58 12.2L12 5.63999C12.0848 5.47724 12.1071 5.28902 12.0625 5.11098C12.0178 4.93294 11.9095 4.77744 11.7579 4.67392C11.6064 4.57041 11.4221 4.52608 11.24 4.54931C11.0579 4.57254 10.8907 4.66173
9310.77 4.79999L6.88 10.57L5.13 8.56999C5.06508 8.49566 4.98613 8.43488 4.89768 8.39111C4.80922 8.34735 4.713 8.32148 4.61453 8.31498C4.51605 8.30847 4.41727 8.32147 4.32382 8.35322C4.23038 8.38497 4.14413 8.43484 4.07 8.49999C3.92511 8.63217 3.83692 8.81523 3.82387 9.01092C3.81083 9.2066 3.87393 9.39976 4 9.54999L6.43 12.24C6.50187 12.3204 6.58964 12.385 6.68775 12.4297Z"}),t.appendChild(r).append(o,n),i=e("defs"),s=ed(e("clipPath"),{id:"clip0_57_156"}),l=ed(e("rect"),{width:"16",height:"16",fill:"white",transform:"translate(0 0.5)"}),s.appendChild(l),i.appendChild(s),t.appendChild(i).appendChild(s).appendChild(l),t).outerHTML}},[]),[i,s]=tt(null),l=ti(()=>{i&&(clearTimeout(i),s(null)),t()},[i]),c=ti((e,n)=>{r.onSubmitSuccess(e,n),s(setTimeout(()=>{t(),s(null)},5e3))},[t]);return eP(eH,null,i?eP("div",{class:"success__position",onClick:l},eP("div",{class:"success__content"},n.successMessageText,eP("span",{class:"success__icon",dangerouslySetInnerHTML:o}))):eP("dialog",{class:"dialog",onClick:n.onFormClose,open:e},eP("div",{class:"dialog__position"},eP("div",{class:"dialog__content",onClick:e=>{e.stopPropagation()}},eP(th,{options:n}),eP(tf,{...r,onSubmitSuccess:c})))))}let tv=` 94.dialog { 95 position: fixed; 96 z-index: var(--z-index); 97 margin: 0; 98 inset: 0; 99 100 display: flex; 101 align-items: center; 102 justify-content: center; 103 padding: 0; 104 height: 100vh; 105 width: 100vw; 106 107 color: var(--dialog-color, var(--foreground)); 108 fill: var(--dialog-color, var(--foreground)); 109 line-height: 1.75em; 110 111 background-color: rgba(0, 0, 0, 0.05); 112 border: none; 113 inset: 0; 114 opacity: 1; 115 transition: opacity 0.2s ease-in-out; 116} 117 118.dialog__position { 119 position: fixed; 120 z-index: var(--z-index); 121 inset: var(--dialog-inset); 122 padding: var(--page-margin); 123 display: flex; 124 max-height: calc(100vh - (2 * var(--page-margin))); 125} 126@media (max-width: 600px) { 127 .dialog__position { 128 inset: var(--page-margin); 129 padding: 0; 130 } 131} 132 133.dialog__position:has(.editor) { 134 inset: var(--page-margin); 135 padding: 0; 136} 137 138.dialog:not([open]) { 139 opacity: 0; 140 pointer-events: none; 141 visibility: hidden; 142} 143.dialog:not([open]) .dialog__content { 144 transform: translate(0, -16px) scale(0.98); 145} 146 147.dialog__content { 148 display: flex; 149 flex-direction: column; 150 gap: 16px; 151 padding: var(--dialog-padding, 24px); 152 max-width: 100%; 153 width: 100%; 154 max-height: 100%; 155 overflow: auto; 156 157 background: var(--dialog-background, var(--background)); 158 border-radius: var(--dialog-border-radius, 20px); 159 border: var(--dialog-border, var(--border));
160 box-shadow: var(--dialog-box-shadow, var(--box-shadow)); 161 transform: translate(0, 0) scale(1); 162 transition: transform 0.2s ease-in-out; 163} 164 165`,tb=` 166.dialog__header { 167 display: flex; 168 gap: 4px; 169 justify-content: space-between; 170 font-weight: var(--dialog-header-weight, 600); 171 margin: 0; 172} 173.dialog__title { 174 align-self: center; 175 width: var(--form-width, 272px); 176} 177 178@media (max-width: 600px) { 179 .dialog__title { 180 width: auto; 181 } 182} 183 184.dialog__position:has(.editor) .dialog__title { 185 width: auto; 186} 187 188 189.brand-link { 190 display: inline-flex; 191} 192.brand-link:focus-visible { 193 outline: var(--outline); 194} 195`,ty=` 196.form { 197 display: flex; 198 overflow: auto; 199 flex-direction: row; 200 gap: 16px; 201 flex: 1 0; 202} 203 204.form fieldset { 205 border: none; 206 margin: 0; 207 padding: 0; 208} 209 210.form__right { 211 flex: 0 0 auto; 212 display: flex; 213 overflow: auto; 214 flex-direction: column; 215 justify-content: space-between; 216 gap: 20px; 217 width: var(--form-width, 100%); 218} 219 220.dialog__position:has(.editor) .form__right { 221 width: var(--form-width, 272px); 222} 223 224.form__top { 225 display: flex; 226 flex-direction: column; 227 gap: 8px; 228} 229 230.form__error-container { 231 color: var(--error-color); 232 fill: var(--error-color); 233} 234 235.form__label { 236 display: flex; 237 flex-direction: column; 238 gap: 4px; 239 margin: 0px; 240} 241 242.form__label__text { 243 display: flex; 244 gap: 4px; 245 align-items: center; 246} 247 248.form__label__text--required { 249 font-size: 0.85em; 250} 251 252.form__input { 253 font-family: inherit; 254 line-height: inherit; 255 background: transparent; 256 box-sizing: border-box; 257 border: var(--input-border, var(--border)); 258 border-radius: var(--input-border-radius, 6px); 259 color: var(--input-color, inherit); 260 fill: var(--input-color, inherit); 261 font-size: var(--input-font-size, inherit); 262 font-weight: var(--input-font-weight, 500); 263 padding: 6px 12px; 264} 265 266.form__input::placeholder { 267 opacity: 0.65; 268 color: var(--input-placeholder-color, inherit); 269 filter: var(--interactive-filter); 270} 271 272.form__input:focus-visible { 273 outline: var(--input-focus-outline, var(--outline)); 274} 275 276.form__input--textarea { 277 font-family: inherit; 278 resize: vertical; 279} 280 281.error { 282 color: var(--error-color); 283 fill: var(--error-color); 284} 285`,tx=` 286.btn-group { 287 display: grid; 288 gap: 8px; 289} 290 291.btn { 292 line-height: inherit; 293 border: var(--button-border, var(--border)); 294 border-radius: var(--button-border-radius, 6px); 295 cursor: pointer; 296 font-family: inherit; 297 font-size: var(--button-font-size, inherit); 298 font-weight: var(--button-font-weight, 600); 299 padding: var(--button-padding, 6px 16px); 300} 301.btn[disabled] { 302 opacity: 0.6; 303 pointer-events: none; 304} 305 306.btn--primary { 307 color: var(--button-primary-color, var(--accent-foreground)); 308 fill: var(--button-primary-color, var(--accent-foreground)); 309 background: var(--button-primary-background, var(--accent-background)); 310 border: var(--button-primary-border, var(--border)); 311 border-radius: var(--button-primary-border-radius, 6px); 312 font-weight: var(--button-primary-font-weight, 500); 313} 314.btn--primary:hover { 315 color: var(--button-primary-hover-color, var(--accent-foreground)); 316 fill: var(--button-primary-hover-color, var(--accent-foreground)); 317 background: var(--button-primary-hover-background, var(--accent-background)); 318 filter: var(--interactive-filter); 319} 320.btn--primary:focus-visible { 321 background: var(--button-primary-hover-background, var(--accent-background)); 322 filter: var(--interactive-filter); 323 outline: var(--button-primary-focus-outline, var(--outline)); 324} 325 326.btn--default { 327 color: var(--button-color, var(--foreground)); 328 fill: var(--button-color, var(--foreground)); 329 background: var(--button-background, var(--background)); 330 border: var(--button-border, var(--border)); 331 border-radius: var(--button-border-radius, 6px); 332 font-weight: var(--button-font-weight, 500); 333} 334.btn--default:hover { 335 color: var(--button-color, var(--foreground)); 336 fill: var(--button-color, var(--foreground)); 337 background: var(--button-hover-background, var(--background)); 338 filter: var(--interactive-filter); 339} 340.btn--default:focus-visible { 341 background: var(--button-hover-background, var(--background)); 342 filter: var(--interactive-filter); 343 outline: var(--button-focus-outline, var(--outline)); 344} 345`,tw=` 346.success__position { 347 position: fixed; 348 inset: var(--dialog-inset); 349 padding: var(--page-margin); 350 z-index: var(--z-index); 351} 352.success__content { 353 background: var(--success-background, var(--background)); 354 border: var(--success-border, var(--border)); 355 border-radius: var(--success-border-radius, 1.7em/50%);
356 box-shadow: var(--success-box-shadow, var(--box-shadow)); 357 font-weight: var(--success-font-weight, 600); 358 color: var(--success-color); 359 fill: var(--success-color); 360 padding: 12px 24px; 361 line-height: 1.75em; 362 363 display: grid; 364 align-items: center; 365 grid-auto-flow: column; 366 gap: 6px; 367 cursor: default; 368} 369 370.success__icon { 371 display: flex; 372} 373`,tk=()=>({name:"FeedbackModal",setupOnce(){},createDialog:({options:e,screenshotIntegration:t,sendFeedback:r,shadow:n})=>{var o;let i,s,_,u,d=e.useSentryUser,h=(i=P().getUser(),s=M((l(a),a)).getIsolationScope().getUser(),_=c("globalScope",()=>new C).getUser(),i&&Object.keys(i).length?i:s&&Object.keys(s).length?s:_),p=I.createElement("div"),f=(o=e.styleNonce,(u=I.createElement("style")).textContent=` 374:host { 375 --dialog-inset: var(--inset); 376} 377 378${tv} 379${tb} 380${ty} 381${tx} 382${tw} 383`,o&&u.setAttribute("nonce",o),u),g="",m={get el(){return p},appendToDom(){n.contains(f)||n.contains(p)||(n.appendChild(f),n.appendChild(p))},removeFromDom(){p.remove(),f.remove(),I.body.style.overflow=g},open(){b(!0),e.onFormOpen?.(),F()?.emit("openFeedbackWidget"),g=I.body.style.overflow,I.body.style.overflow="hidden"},close(){b(!1),I.body.style.overflow=g}},v=t?.createInput({h:eP,hooks:td,dialog:m,options:e}),b=t=>{var n,o,i,a;n=eP(tm,{options:e,screenshotInput:v,showName:e.showName||e.isNameRequired,showEmail:e.showEmail||e.isEmailRequired,defaultName:String(d&&h?.[d.name]||""),defaultEmail:String(d&&h?.[d.email]||""),onFormClose:()=>{b(!1),e.onFormClose?.()},onSubmit:r,onSubmitSuccess:(t,r)=>{b(!1),e.onSubmitSuccess?.(t,r)},onSubmitError:t=>{e.onSubmitError?.(t)},onFormSubmitted:()=>{e.onFormSubmitted?.()},open:t}),ex.__&&ex.__(n,p),o=p.__k,i=[],a=[],eW(p,n=p.__k=eP(eH,null,[n]),o||eR,eR,void 0!==p.ownerSVGElement,o?null:p.firstChild?ey.call(p.childNodes):null,i,o?o.__e:p.firstChild,!1,a),n.__d=void 0,eq(i,n,a)};return m}});function tC(e,t,r){if(!e)return;let n=e.getContext("2d",t);n&&r(e,n)}function tS(e,t){tC(e,{alpha:!0},(e,r)=>{r.drawImage(t,0,0,t.width,t.height,0,0,e.width,e.height)})}function tE(e,t,r){tC(e,{alpha:!0},(e,n)=>{r.length&&(n.fillStyle="rgba(0, 0, 0, 0.25)",n.fillRect(0,0,e.width,e.height)),r.forEach(e=>{switch(e.type){case"highlight":n.shadowColor="rgba(0, 0, 0, 0.7)",n.shadowBlur=50,n.fillStyle=t,n.fillRect(e.x-1,e.y-1,e.w+2,e.h+2),n.clearRect(e.x,e.y,e.w,e.h);break;case"hide":n.fillStyle="rgb(0, 0, 0)",n.fillRect(e.x,e.y,e.w,e.h)}})})}let tR=()=>({name:"FeedbackScreenshot",setupOnce(){},createInput:({h:e,hooks:t,dialog:r,options:n})=>{let o=I.createElement("canvas");return{input:function({h:e,hooks:t,outputBuffer:r,dialog:n,options:o}){var i;let s,l,c,_=function({hooks:e}){return function({onBeforeScreenshot:t,onScreenshot:r,onAfterScreenshot:n,onError:o}){let i=function(){let[t,r]=e.useState(a.devicePixelRatio??1);return e.useEffect(()=>{let e=()=>{r(a.devicePixelRatio)},t=matchMedia(`(resolution: ${a.devicePixelRatio}dppx)`);return t.addEventListener("change",e),()=>{t.removeEventListener("change",e)}},[]),t}();e.useEffect(()=>{(async()=>{t();let e=await A.mediaDevices.getDisplayMedia({video:{width:a.innerWidth*i,height:a.innerHeight*i},audio:!1,monitorTypeSurfaces:"exclude",preferCurrentTab:!0,selfBrowserSurface:"include",surfaceSwitching:"exclude"}),o=I.createElement("video");await new Promise((t,n)=>{o.srcObject=e,o.onloadedmetadata=()=>{r(o,i),e.getTracks().forEach(e=>e.stop()),t()},o.play().catch(n)}),n()})().catch(o)},[])}}({hooks:t}),u=function({h:e}){return function({action:t,setAction:r,options:n}){return e("div",{class:"editor__tool-container"},e("div",{class:"editor__tool-bar"},e("button",{type:"button",class:`editor__tool ${"highlight"===t?"editor__tool--active":""}`,onClick:()=>{r("highlight"===t?"":"highlight")}},n.highlightToolText),e("button",{type:"button",class:`editor__tool ${"hide"===t?"editor__tool--active":""}`,onClick:()=>{r("hide"===t?"":"hide")}},n.hideToolText)))}}({h:e}),d=function({h:e}){return function(){return e("svg",{"data-test-id":"icon-close",viewBox:"0 0 16 16",fill:"#2B2233",height:"25px",width:"25px"},e("circle",{r:"7",cx:"8",cy:"8",fill:"white"}),e("path",{strokeWidth:"1.5",d:"M8,16a8,8,0,1,1,8-8A8,8,0,0,1,8,16ZM8,1.53A6.47,6.47,0,1,0,14.47,8,6.47,6.47,0,0,0,8,1.53Z"}),e("path",{strokeWidth:"1.5",d:"M5.34,11.41a.71.71,0,0,1-.53-.22.74.74,0,0,1,0-1.06l5.32-5.32a.75.75,0,0,1,1.06,1.06L5.87,11.19A.74.74,0,0,1,5.34,11.41Z"}),e("path",{strokeWidth:"1.5",d:"M10.66,11.41a.74.74,0,0,1-.53-.22L4.81,5.87A.75.75,0,0,1,5.87,4.81l5.32,5.32a.74.74,0,0,1,0,1.06A.71.71,0,0,1,10.66,11.41Z"}))}}({h:e}),h={__html:(i=o.styleNonce,s=I.createElement("style"),l="#1A141F",c="#302735",s.textContent=` 384.editor { 385 display: flex; 386 flex-grow: 1; 387 flex-direction: column; 388} 389 390.editor__image-container { 391 justify-items: center; 392 padding: 15px; 393 position: relative; 394 height: 100%; 395 border-radius: var(--menu-border-radius, 6px); 396 397 background-color: ${l}; 398 background-image: repeating-linear-gradient( 399 -145deg, 400 transparent, 401 transparent 8px, 402 ${l} 8px, 403 ${l} 11px 404 ), 405 repeating-linear-gradient( 406 -45deg, 407 transparent, 408 transparent 15px, 409 ${c} 15px, 410 ${c} 16px 411 ); 412} 413 414.editor__canvas-container { 415 width: 100%; 416 height: 100%; 417 position: relative; 418 display: flex; 419 align-items: center; 420 justify-content: center; 421} 422 423.editor__canvas-container > * { 424 object-fit: contain; 425 position: absolute; 426} 427 428.editor__tool-container { 429 padding-top: 8px; 430 display: flex; 431 justify-content: center; 432} 433 434.editor__tool-bar { 435 display: flex; 436 gap: 8px; 437} 438 439.editor__tool { 440 display: flex; 441 padding: 8px 12px; 442 justify-content: center; 443 align-items: center; 444 border: var(--button-border, var(--border)); 445 border-radius: var(--button-border-radius, 6px); 446 background: var(--button-background, var(--background)); 447 color: var(--button-color, var(--foreground)); 448} 449 450.editor__tool--active { 451 background: var(--button-primary-background, var(--accent-background)); 452 color: var(--button-primary-color, var(--accent-foreground)); 453} 454 455.editor__rect { 456 position: absolute; 457 z-index: 2; 458} 459 460.editor__rect button { 461 opacity: 0; 462 position: absolute; 463 top: -12px; 464 right: -12px; 465 cursor: pointer; 466 padding: 0; 467 z-index: 3; 468 border: none; 469 background: none; 470} 471 472.editor__rect:hover button { 473 opacity: 1; 474} 475`,i&&s.setAttribute("nonce",i),s).innerText},p=n.el.style,f=({screenshot:n})=>{let[i,s]=t.useState("highlight"),[l,c]=t.useState([]),_=t.useRef(null),p=t.useRef(null),f=t.useRef(null),g=t.useRef(null),[m,v]=t.useState(1),b=t.useMemo(()=>{let e=I.getElementById(o.id);if(!e)return"white";let t=getComputedStyle(e);return t.getPropertyValue("--button-primary-background")||t.getPropertyValue("--accent-background")},[o.id]);t.useLayoutEffect(()=>{let e=()=>{let t=_.current;t&&(tC(n.canvas,{alpha:!1},e=>
475{v(Math.min(t.clientWidth/e.width,t.clientHeight/e.height))}),(0===t.clientHeight||0===t.clientWidth)&&setTimeout(e,0))};return e(),a.addEventListener("resize",e),()=>{a.removeEventListener("resize",e)}},[n]);let y=t.useCallback((e,t)=>{tC(e,{alpha:!0},(e,r)=>{r.scale(t,t),e.width=n.canvas.width,e.height=n.canvas.height})},[n]);t.useEffect(()=>{y(p.current,n.dpi),tS(p.current,n.canvas)},[n]),t.useEffect(()=>{y(f.current,n.dpi),tC(f.current,{alpha:!0},(e,t)=>{t.clearRect(0,0,e.width,e.height)}),tE(f.current,b,l)},[l,b]),t.useEffect(()=>{y(r,n.dpi),tS(r,n.canvas),tC(I.createElement("canvas"),{alpha:!0},(e,t)=>{t.scale(n.dpi,n.dpi),e.width=n.canvas.width,e.height=n.canvas.height,tE(e,b,l),tS(r,e)})},[l,n,b]);let x=t.useCallback(e=>t=>{t.preventDefault(),t.stopPropagation(),c(t=>{let r=[...t];return r.splice(e,1),r})},[]),w={width:`${n.canvas.width*m}px`,height:`${n.canvas.height*m}px`},k=e=>{e.stopPropagation()};return e("div",{class:"editor"},e("style",{nonce:o.styleNonce,dangerouslySetInnerHTML:h}),e("div",{class:"editor__image-container"},e("div",{class:"editor__canvas-container",ref:_},e("canvas",{ref:p,id:"background",style:w}),e("canvas",{ref:f,id:"foreground",style:w}),e("div",{ref:g,onMouseDown:e=>{if(!i||!g.current)return;let t=g.current.getBoundingClientRect(),r={type:i,x:e.offsetX/m,y:e.offsetY/m},n=(e,r)=>{let n=(r.clientX-t.x)/m,o=(r.clientY-t.y)/m;return{type:e.type,x:Math.min(e.x,n),y:Math.min(e.y,o),w:Math.abs(n-e.x),h:Math.abs(o-e.y)}},o=e=>{tC(f.current,{alpha:!0},(e,t)=>{t.clearRect(0,0,e.width,e.height)}),tE(f.current,b,[...l,n(r,e)])},a=e=>{let t=n(r,e);t.w*m>=1&&t.h*m>=1&&c(e=>[...e,t]),I.removeEventListener("mousemove",o),I.removeEventListener("mouseup",a)};I.addEventListener("mousemove",o),I.addEventListener("mouseup",a)},style:w},l.map((t,r)=>e("div",{key:r,class:"editor__rect",style:{top:`${t.y*m}px`,left:`${t.x*m}px`,width:`${t.w*m}px`,height:`${t.h*m}px`}},e("button",{"aria-label":o.removeHighlightText,onClick:x(r),onMouseDown:k,onMouseUp:k,type:"button"},e(d,null))))))),e(u,{options:o,action:i,setAction:s}))};return function({onError:n}){let[o,i]=t.useState();return(_({onBeforeScreenshot:t.useCallback(()=>{p.display="none"},[]),onScreenshot:t.useCallback((e,t)=>{tC(I.createElement("canvas"),{alpha:!1},(r,n)=>{n.scale(t,t),r.width=e.videoWidth,r.height=e.videoHeight,n.drawImage(e,0,0,r.width,r.height),i({canvas:r,dpi:t})}),r.width=e.videoWidth,r.height=e.videoHeight},[]),onAfterScreenshot:t.useCallback(()=>{p.display="block"},[]),onError:t.useCallback(e=>{p.display="block",n(e)},[])}),o)?e(f,{screenshot:o}):e("div",null)}}({h:e,hooks:t,outputBuffer:o,dialog:r,options:n}),value:async()=>{let e=await new Promise(e=>
475{o.toBlob(e,"image/png")});if(e)return{data:new Uint8Array(await e.arrayBuffer()),filename:"screenshot.png",contentType:"application/png"}}}}})}};
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.