Files
masimmo.pl/modules/psxmarketingwithgoogle/views/js/fetchWarningMessage.js
2024-11-20 09:09:44 +01:00

2 lines
484 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
/*! For license information please see fetchWarningMessage.js.LICENSE.txt */
(()=>{var e={966:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(141),s=n(165),o=n(950);const i=[];i[0]={w:[0],i:[3,0],"[":[4],o:[7]},i[1]={w:[1],".":[2],"[":[4],o:[7]},i[2]={w:[2],i:[3,0],0:[3,0]},i[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]},i[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]},i[5]={"'":[4,0],o:8,l:[5,0]},i[6]={'"':[4,0],o:8,l:[6,0]};const a=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function l(e){if(null==e)return"o";switch(e.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return e;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function c(e){const t=[];let n,r,s,o,c,u,d,p=-1,h=0,f=0;const _=[];function m(){const t=e[p+1];if(5===h&&"'"===t||6===h&&'"'===t)return p++,s="\\"+t,_[0](),!0}for(_[0]=()=>{void 0===r?r=s:r+=s},_[1]=()=>{void 0!==r&&(t.push(r),r=void 0)},_[2]=()=>{_[0](),f++},_[3]=()=>{if(f>0)f--,h=4,_[0]();else{if(f=0,void 0===r)return!1;if(r=function(e){const t=e.trim();return("0"!==e.charAt(0)||!isNaN(parseInt(e)))&&(n=t,a.test(n)?function(e){const t=e.charCodeAt(0);return t!==e.charCodeAt(e.length-1)||34!==t&&39!==t?e:e.slice(1,-1)}(t):"*"+t);var n}(r),!1===r)return!1;_[1]()}};null!==h;)if(p++,n=e[p],"\\"!==n||!m()){if(o=l(n),d=i[h],c=d[o]||d.l||8,8===c)return;if(h=c[0],void 0!==c[1]&&(u=_[c[1]],u&&(s=n,!1===u())))return;if(7===h)return t}}const u=new Map;function d(e,t){return s.isObject(e)?e[t]:null}const p=e=>e,h=e=>"",f="text",_=e=>0===e.length?"":e.join(""),m=s.toDisplayString;function g(e,t){return e=Math.abs(e),2===t?e?e>1?1:0:1:e?Math.min(e,2):0}function y(e={}){const t=e.locale,n=function(e){const t=s.isNumber(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(s.isNumber(e.named.count)||s.isNumber(e.named.n))?s.isNumber(e.named.count)?e.named.count:s.isNumber(e.named.n)?e.named.n:t:t}(e),r=s.isObject(e.pluralRules)&&s.isString(t)&&s.isFunction(e.pluralRules[t])?e.pluralRules[t]:g,o=s.isObject(e.pluralRules)&&s.isString(t)&&s.isFunction(e.pluralRules[t])?g:void 0,i=e.list||[],a=e.named||{};function l(t){return(s.isFunction(e.messages)?e.messages(t):!!s.isObject(e.messages)&&e.messages[t])||(e.parent?e.parent.message(t):h)}s.isNumber(e.pluralIndex)&&function(e,t){t.count||(t.count=e),t.n||(t.n=e)}(n,a);const c=s.isPlainObject(e.processor)&&s.isFunction(e.processor.normalize)?e.processor.normalize:_,u=s.isPlainObject(e.processor)&&s.isFunction(e.processor.interpolate)?e.processor.interpolate:m,d={list:e=>i[e],named:e=>a[e],plural:e=>e[r(n,e.length,o)],linked:(t,...n)=>{const[r,o]=n;let i="text",a="";1===n.length?s.isObject(r)?(a=r.modifier||a,i=r.type||i):s.isString(r)&&(a=r||a):2===n.length&&(s.isString(r)&&(a=r||a),s.isString(o)&&(i=o||i));let c=l(t)(d);return"vnode"===i&&s.isArray(c)&&a&&(c=c[0]),a?(u=a,e.modifiers?e.modifiers[u]:p)(c,i):c;var u},message:l,type:s.isPlainObject(e.processor)&&s.isString(e.processor.type)?e.processor.type:f,interpolate:u,normalize:c};return d}let v=null;const E=b(o.IntlifyDevToolsHooks.FunctionTranslate);function b(e){return t=>v&&v.emit(e,t)}const S={NOT_FOUND_KEY:1,FALLBACK_TO_TRANSLATE:2,CANNOT_FORMAT_NUMBER:3,FALLBACK_TO_NUMBER_FORMAT:4,CANNOT_FORMAT_DATE:5,FALLBACK_TO_DATE_FORMAT:6,__EXTEND_POINT__:7},T={[S.NOT_FOUND_KEY]:"Not found '{key}' key in '{locale}' locale messages.",[S.FALLBACK_TO_TRANSLATE]:"Fall back to translate '{key}' key with '{target}' locale.",[S.CANNOT_FORMAT_NUMBER]:"Cannot format a number value due to not supported Intl.NumberFormat.",[S.FALLBACK_TO_NUMBER_FORMAT]:"Fall back to number format '{key}' key with '{target}' locale.",[S.CANNOT_FORMAT_DATE]:"Cannot format a date value due to not supported Intl.DateTimeFormat.",[S.FALLBACK_TO_DATE_FORMAT]:"Fall back to datetime format '{key}' key with '{target}' locale."};function w(e,t,n){return[...new Set([n,...s.isArray(t)?t:s.isObject(t)?Object.keys(t):s.isString(t)?[t]:[n]])]}function k(e,t,n){let r=!0;for(let o=0;o<t.length&&s.isBoolean(r);o++){const i=t[o];s.isString(i)&&(r=O(e,t[o],n))}return r}function O(e,t,n){let r;const s=t.split("-");do{r=N(e,s.join("-"),n),s.splice(-1,1)}while(s.length&&!0===r);return r}function N(e,t,n){let r=!1;if(!e.includes(t)&&(r=!0,t)){r="!"!==t[t.length-1];const o=t.replace(/!/g,"");e.push(o),(s.isArray(n)||s.isPlainObject(n))&&n[o]&&(r=n[o])}return r}const C="9.2.2",x="en-US",I=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;let A,R,L,M=null,D=null,P=0;function F(e,t,n,r,o){const{missing:i,onWarn:a}=e;if(null!==i){const r=i(e,n,t,o);return s.isString(r)?r:t}return t}const U=e=>e;let B=Object.create(null),j=r.CompileErrorCodes.__EXTEND_POINT__;const V=()=>++j,$={INVALID_ARGUMENT:j,INVALID_DATE_ARGUMENT:V(),INVALID_ISO_DATE_ARGUMENT:V(),__EXTEND_POINT__:V()};function G(e){return r.createCompileError(e,null,void 0)}const H=()=>"",z=e=>s.isFunction(e);function Y(e,t,n,r,o,i){const{messages:a,onWarn:l,messageResolver:c,localeFallbacker:u}=e,d=u(e,r,n);let p,h={},f=null;for(let n=0;n<d.length&&(p=d[n],h=a[p]||{},null===(f=c(h,t))&&(f=h[t]),!s.isString(f)&&!s.isFunction(f));n++){const n=F(e,t,p,0,"translate");n!==t&&(f=n)}return[f,p,h]}function W(e,t,n,r,o,i){const{messageCompiler:a,warnHtmlMessage:l}=e;if(z(r)){const e=r;return e.locale=e.locale||n,e.key=e.key||t,e}if(null==a){const e=()=>r;return e.locale=n,e.key=t,e}const c=a(r,function(e,t,n,r,o,i){return{warnHtmlMessage:o,onError:e=>{throw i&&i(e),e},onCacheKey:e=>s.generateFormatCacheKey(t,n,e)}}(0,n,o,0,l,i));return c.locale=n,c.key=t,c.source=r,c}function X(...e){const[t,n,r]=e,o={};if(!s.isString(t)&&!s.isNumber(t)&&!z(t))throw G($.INVALID_ARGUMENT);const i=s.isNumber(t)?String(t):(z(t),t);return s.isNumber(n)?o.plural=n:s.isString(n)?o.default=n:s.isPlainObject(n)&&!s.isEmptyObject(n)?o.named=n:s.isArray(n)&&(o.list=n),s.isNumber(r)?o.plural=r:s.isString(r)?o.default=r:s.isPlainObject(r)&&s.assign(o,r),[i,o]}const q=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function K(...e){const[t,n,r,o]=e,i={};let a,l={};if(s.isString(t)){const e=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!e)throw G($.INVALID_ISO_DATE_ARGUMENT);const n=e[3]?e[3].trim().startsWith("T")?`${e[1].trim()}${e[3].trim()}`:`${e[1].trim()}T${e[3].trim()}`:e[1].trim();a=new Date(n);try{a.toISOString()}catch(e){throw G($.INVALID_ISO_DATE_ARGUMENT)}}else if(s.isDate(t)){if(isNaN(t.getTime()))throw G($.INVALID_DATE_ARGUMENT);a=t}else{if(!s.isNumber(t))throw G($.INVALID_ARGUMENT);a=t}return s.isString(n)?i.key=n:s.isPlainObject(n)&&Object.keys(n).forEach((e=>{q.includes(e)?l[e]=n[e]:i[e]=n[e]})),s.isString(r)?i.locale=r:s.isPlainObject(r)&&(l=r),s.isPlainObject(o)&&(l=o),[i.key||"",a,i,l]}const J=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function Z(...e){const[t,n,r,o]=e,i={};let a={};if(!s.isNumber(t))throw G($.INVALID_ARGUMENT);const l=t;return s.isString(n)?i.key=n:s.isPlainObject(n)&&Object.keys(n).forEach((e=>{J.includes(e)?a[e]=n[e]:i[e]=n[e]})),s.isString(r)?i.locale=r:s.isPlainObject(r)&&(a=r),s.isPlainObject(o)&&(a=o),[i.key||"",l,i,a]}t.CompileErrorCodes=r.CompileErrorCodes,t.createCompileError=r.createCompileError,t.CoreErrorCodes=$,t.CoreWarnCodes=S,t.DATETIME_FORMAT_OPTIONS_KEYS=q,t.DEFAULT_LOCALE=x,t.DEFAULT_MESSAGE_DATA_TYPE=f,t.MISSING_RESOLVE_VALUE="",t.NOT_REOSLVED=-1,t.NUMBER_FORMAT_OPTIONS_KEYS=J,t.VERSION=C,t.clearCompileCache=function(){B=Object.create(null)},t.clearDateTimeFormat=function(e,t,n){const r=e;for(const e in n){const n=`${t}__${e}`;r.__datetimeFormatters.has(n)&&r.__datetimeFormatters.delete(n)}},t.clearNumberFormat=function(e,t,n){const r=e;for(const e in n){const n=`${t}__${e}`;r.__numberFormatters.has(n)&&r.__numberFormatters.delete(n)}},t.compileToFunction=function(e,t={}){{const n=(t.onCacheKey||U)(e),s=B[n];if(s)return s;let o=!1;const i=t.onError||r.defaultOnError;t.onError=e=>{o=!0,i(e)};const{code:a}=r.baseCompile(e,t),l=new Function(`return ${a}`)();return o?l:B[n]=l}},t.createCoreContext=function(e={}){const t=s.isString(e.version)?e.version:C,n=s.isString(e.locale)?e.locale:x,r=s.isArray(e.fallbackLocale)||s.isPlainObject(e.fallbackLocale)||s.isString(e.fallbackLocale)||!1===e.fallbackLocale?e.fallbackLocale:n,o=s.isPlainObject(e.messages)?e.messages:{[n]:{}},i=s.isPlainObject(e.datetimeFormats)?e.datetimeFormats:{[n]:{}},a=s.isPlainObject(e.numberFormats)?e.numberFormats:{[n]:{}},l=s.assign({},e.modifiers||{},{upper:(e,t)=>"text"===t&&s.isString(e)?e.toUpperCase():"vnode"===t&&s.isObject(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>"text"===t&&s.isString(e)?e.toLowerCase():"vnode"===t&&s.isObject(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>"text"===t&&s.isString(e)?I(e):"vnode"===t&&s.isObject(e)&&"__v_isVNode"in e?I(e.children):e}),c=e.pluralRules||{},u=s.isFunction(e.missing)?e.missing:null,p=!s.isBoolean(e.missingWarn)&&!s.isRegExp(e.missingWarn)||e.missingWarn,h=!s.isBoolean(e.fallbackWarn)&&!s.isRegExp(e.fallbackWarn)||e.fallbackWarn,f=!!e.fallbackFormat,_=!!e.unresolving,m=s.isFunction(e.postTranslation)?e.postTranslation:null,g=s.isPlainObject(e.processor)?e.processor:null,y=!s.isBoolean(e.warnHtmlMessage)||e.warnHtmlMessage,v=!!e.escapeParameter,E=s.isFunction(e.messageCompiler)?e.messageCompiler:A,b=s.isFunction(e.messageResolver)?e.messageResolver:R||d,S=s.isFunction(e.localeFallbacker)?e.localeFallbacker:L||w,T=s.isObject(e.fallbackContext)?e.fallbackContext:void 0,k=s.isFunction(e.onWarn)?e.onWarn:s.warn,O=e,N=s.isObject(O.__datetimeFormatters)?O.__datetimeFormatters:new Map,M=s.isObject(O.__numberFormatters)?O.__numberFormatters:new Map,D=s.isObject(O.__meta)?O.__meta:{};P++;const F={version:t,cid:P,locale:n,fallbackLocale:r,messages:o,modifiers:l,pluralRules:c,missing:u,missingWarn:p,fallbackWarn:h,fallbackFormat:f,unresolving:_,postTranslation:m,processor:g,warnHtmlMessage:y,escapeParameter:v,messageCompiler:E,messageResolver:b,localeFallbacker:S,fallbackContext:T,onWarn:k,__meta:D};return F.datetimeFormats=i,F.numberFormats=a,F.__datetimeFormatters=N,F.__numberFormatters=M,F},t.createCoreError=G,t.createMessageContext=y,t.datetime=function(e,...t){const{datetimeFormats:n,unresolving:r,fallbackLocale:o,onWarn:i,localeFallbacker:a}=e,{__datetimeFormatters:l}=e,[c,u,d,p]=K(...t);s.isBoolean(d.missingWarn)?d.missingWarn:e.missingWarn,s.isBoolean(d.fallbackWarn)?d.fallbackWarn:e.fallbackWarn;const h=!!d.part,f=s.isString(d.locale)?d.locale:e.locale,_=a(e,o,f);if(!s.isString(c)||""===c)return new Intl.DateTimeFormat(f,p).format(u);let m,g={},y=null;for(let t=0;t<_.length&&(m=_[t],g=n[m]||{},y=g[c],!s.isPlainObject(y));t++)F(e,c,m,0,"datetime format");if(!s.isPlainObject(y)||!s.isString(m))return r?-1:c;let v=`${m}__${c}`;s.isEmptyObject(p)||(v=`${v}__${JSON.stringify(p)}`);let E=l.get(v);return E||(E=new Intl.DateTimeFormat(m,s.assign({},y,p)),l.set(v,E)),h?E.formatToParts(u):E.format(u)},t.fallbackWithLocaleChain=function(e,t,n){const r=s.isString(n)?n:x,o=e;o.__localeChainCache||(o.__localeChainCache=new Map);let i=o.__localeChainCache.get(r);if(!i){i=[];let e=[n];for(;s.isArray(e);)e=k(i,e,t);const a=s.isArray(t)||!s.isPlainObject(t)?t:t.default?t.default:null;e=s.isString(a)?[a]:a,s.isArray(e)&&k(i,e,!1),o.__localeChainCache.set(r,i)}return i},t.fallbackWithSimple=w,t.getAdditionalMeta=()=>M,t.getDevToolsHook=function(){return v},t.getFallbackContext=()=>D,t.getWarnMessage=function(e,...t){return s.format(T[e],...t)},t.handleMissing=F,t.initI18nDevTools=function(e,t,n){v&&v.emit(o.IntlifyDevToolsHooks.I18nInit,{timestamp:Date.now(),i18n:e,version:t,meta:n})},t.isMessageFunction=z,t.isTranslateFallbackWarn=function(e,t){return e instanceof RegExp?e.test(t):e},t.isTranslateMissingWarn=function(e,t){return e instanceof RegExp?e.test(t):e},t.number=function(e,...t){const{numberFormats:n,unresolving:r,fallbackLocale:o,onWarn:i,localeFallbacker:a}=e,{__numberFormatters:l}=e,[c,u,d,p]=Z(...t);s.isBoolean(d.missingWarn)?d.missingWarn:e.missingWarn,s.isBoolean(d.fallbackWarn)?d.fallbackWarn:e.fallbackWarn;const h=!!d.part,f=s.isString(d.locale)?d.locale:e.locale,_=a(e,o,f);if(!s.isString(c)||""===c)return new Intl.NumberFormat(f,p).format(u);let m,g={},y=null;for(let t=0;t<_.length&&(m=_[t],g=n[m]||{},y=g[c],!s.isPlainObject(y));t++)F(e,c,m,0,"number format");if(!s.isPlainObject(y)||!s.isString(m))return r?-1:c;let v=`${m}__${c}`;s.isEmptyObject(p)||(v=`${v}__${JSON.stringify(p)}`);let E=l.get(v);return E||(E=new Intl.NumberFormat(m,s.assign({},y,p)),l.set(v,E)),h?E.formatToParts(u):E.format(u)},t.parse=c,t.parseDateTimeArgs=K,t.parseNumberArgs=Z,t.parseTranslateArgs=X,t.registerLocaleFallbacker=function(e){L=e},t.registerMessageCompiler=function(e){A=e},t.registerMessageResolver=function(e){R=e},t.resolveValue=function(e,t){if(!s.isObject(e))return null;let n=u.get(t);if(n||(n=c(t),n&&u.set(t,n)),!n)return null;const r=n.length;let o=e,i=0;for(;i<r;){const e=o[n[i]];if(void 0===e)return null;o=e,i++}return o},t.resolveWithKeyValue=d,t.setAdditionalMeta=e=>{M=e},t.setDevToolsHook=function(e){v=e},t.setFallbackContext=e=>{D=e},t.translate=function(e,...t){const{fallbackFormat:n,postTranslation:r,unresolving:o,messageCompiler:i,fallbackLocale:a,messages:l}=e,[c,u]=X(...t),d=(s.isBoolean(u.missingWarn)?u.missingWarn:e.missingWarn,s.isBoolean(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn,s.isBoolean(u.escapeParameter)?u.escapeParameter:e.escapeParameter),p=!!u.resolvedMessage,h=s.isString(u.default)||s.isBoolean(u.default)?s.isBoolean(u.default)?i?c:()=>c:u.default:n?i?c:()=>c:"",f=n||""!==h,_=s.isString(u.locale)?u.locale:e.locale;d&&function(e){s.isArray(e.list)?e.list=e.list.map((e=>s.isString(e)?s.escapeHtml(e):e)):s.isObject(e.named)&&Object.keys(e.named).forEach((t=>{s.isString(e.named[t])&&(e.named[t]=s.escapeHtml(e.named[t]))}))}(u);let[m,g,v]=p?[c,_,l[_]||{}]:Y(e,c,_,a),E=m,b=c;if(p||s.isString(E)||z(E)||f&&(E=h,b=E),!(p||(s.isString(E)||z(E))&&s.isString(g)))return o?-1:c;let S=!1;const T=z(E)?E:W(e,c,g,E,b,(()=>{S=!0}));if(S)return E;const w=function(e,t,n,r){const{modifiers:o,pluralRules:i,messageResolver:a,fallbackLocale:l,fallbackWarn:c,missingWarn:u,fallbackContext:d}=e,p={locale:t,modifiers:o,pluralRules:i,messages:r=>{let o=a(n,r);if(null==o&&d){const[,,e]=Y(d,r,t,l);o=a(e,r)}if(s.isString(o)){let n=!1;const s=W(e,r,t,o,r,(()=>{n=!0}));return n?H:s}return z(o)?o:H}};return e.processor&&(p.processor=e.processor),r.list&&(p.list=r.list),r.named&&(p.named=r.named),s.isNumber(r.plural)&&(p.pluralIndex=r.plural),p}(e,g,v,u),k=function(e,t,n){return t(n)}(0,T,y(w));return r?r(k,c):k},t.translateDevTools=E,t.updateFallbackLocale=function(e,t,n){e.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}},338:(e,t,n)=>{"use strict";e.exports=n(966)},296:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.IntlifyDevToolsHooks={I18nInit:"i18n:init",FunctionTranslate:"function:translate"}},950:(e,t,n)=>{"use strict";e.exports=n(296)},997:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(165),s=n(605);const o={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,__EXTEND_POINT__:15},i={[o.EXPECTED_TOKEN]:"Expected token: '{0}'",[o.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[o.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[o.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[o.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[o.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[o.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[o.EMPTY_PLACEHOLDER]:"Empty placeholder",[o.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[o.INVALID_LINKED_FORMAT]:"Invalid linked format",[o.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[o.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[o.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[o.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'"};function a(e,t,n={}){const{domain:r,messages:s,args:o}=n,i=new SyntaxError(String(e));return i.code=e,t&&(i.location=t),i.domain=r,i}const l={start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0}};function c(e,t,n){return{line:e,column:t,offset:n}}function u(e,t,n){const r={start:e,end:t};return null!=n&&(r.source=n),r}const d=" ",p="\r",h="\n",f=String.fromCharCode(8232),_=String.fromCharCode(8233);function m(e){const t=e;let n=0,r=1,s=1,o=0;const i=e=>t[e]===p&&t[e+1]===h,a=e=>t[e]===_,l=e=>t[e]===f,c=e=>i(e)||a(e)||l(e)?h:t[e];function u(){return o=0,(i(e=n)||(e=>t[e]===h)(e)||a(e)||l(e))&&(r++,s=0),i(n)&&n++,n++,s++,t[n];var e}return{index:()=>n,line:()=>r,column:()=>s,peekOffset:()=>o,charAt:c,currentChar:()=>c(n),currentPeek:()=>c(n+o),next:u,peek:function(){return i(n+o)&&o++,o++,t[n+o]},reset:function(){n=0,r=1,s=1,o=0},resetPeek:function(e=0){o=e},skipToPeek:function(){const e=n+o;for(;e!==n;)u();o=0}}}const g=void 0,y="'",v="tokenizer";function E(e,t={}){const n=!1!==t.location,r=m(e),s=()=>r.index(),i=()=>c(r.line(),r.column(),r.index()),l=i(),p=s(),f={currentType:14,offset:p,startLoc:l,endLoc:l,lastType:14,lastOffset:p,lastStartLoc:l,lastEndLoc:l,braceNest:0,inLinked:!1,text:""},_=()=>f,{onError:E}=t;function b(e,t,n,...r){const s=_();if(t.column+=n,t.offset+=n,E){const n=a(e,u(s.startLoc,t),{domain:v,args:r});E(n)}}function S(e,t,r){e.endLoc=i(),e.currentType=t;const s={type:t};return n&&(s.loc=u(e.startLoc,e.endLoc)),null!=r&&(s.value=r),s}const T=e=>S(e,14);function w(e,t){return e.currentChar()===t?(e.next(),t):(b(o.EXPECTED_TOKEN,i(),0,t),"")}function k(e){let t="";for(;e.currentPeek()===d||e.currentPeek()===h;)t+=e.currentPeek(),e.peek();return t}function O(e){const t=k(e);return e.skipToPeek(),t}function N(e){if(e===g)return!1;const t=e.charCodeAt(0);return t>=97&&t<=122||t>=65&&t<=90||95===t}function C(e){k(e);const t="|"===e.currentPeek();return e.resetPeek(),t}function x(e,t=!0){const n=(t=!1,r="",s=!1)=>{const o=e.currentPeek();return"{"===o?"%"!==r&&t:"@"!==o&&o?"%"===o?(e.peek(),n(t,"%",!0)):"|"===o?!("%"!==r&&!s&&(r===d||r===h)):o===d?(e.peek(),n(!0,d,s)):o!==h||(e.peek(),n(!0,h,s)):"%"===r||t},r=n();return t&&e.resetPeek(),r}function I(e,t){const n=e.currentChar();return n===g?g:t(n)?(e.next(),n):null}function A(e){return I(e,(e=>{const t=e.charCodeAt(0);return t>=97&&t<=122||t>=65&&t<=90||t>=48&&t<=57||95===t||36===t}))}function R(e){return I(e,(e=>{const t=e.charCodeAt(0);return t>=48&&t<=57}))}function L(e){return I(e,(e=>{const t=e.charCodeAt(0);return t>=48&&t<=57||t>=65&&t<=70||t>=97&&t<=102}))}function M(e){let t="",n="";for(;t=R(e);)n+=t;return n}function D(e){let t="";for(;;){const n=e.currentChar();if("{"===n||"}"===n||"@"===n||"|"===n||!n)break;if("%"===n){if(!x(e))break;t+=n,e.next()}else if(n===d||n===h)if(x(e))t+=n,e.next();else{if(C(e))break;t+=n,e.next()}else t+=n,e.next()}return t}function P(e){const t=e.currentChar();switch(t){case"\\":case"'":return e.next(),`\\${t}`;case"u":return F(e,t,4);case"U":return F(e,t,6);default:return b(o.UNKNOWN_ESCAPE_SEQUENCE,i(),0,t),""}}function F(e,t,n){w(e,t);let r="";for(let s=0;s<n;s++){const n=L(e);if(!n){b(o.INVALID_UNICODE_ESCAPE_SEQUENCE,i(),0,`\\${t}${r}${e.currentChar()}`);break}r+=n}return`\\${t}${r}`}function U(e){O(e);const t=w(e,"|");return O(e),t}function B(e,t){let n=null;switch(e.currentChar()){case"{":return t.braceNest>=1&&b(o.NOT_ALLOW_NEST_PLACEHOLDER,i(),0),e.next(),n=S(t,2,"{"),O(e),t.braceNest++,n;case"}":return t.braceNest>0&&2===t.currentType&&b(o.EMPTY_PLACEHOLDER,i(),0),e.next(),n=S(t,3,"}"),t.braceNest--,t.braceNest>0&&O(e),t.inLinked&&0===t.braceNest&&(t.inLinked=!1),n;case"@":return t.braceNest>0&&b(o.UNTERMINATED_CLOSING_BRACE,i(),0),n=j(e,t)||T(t),t.braceNest=0,n;default:let r=!0,s=!0,a=!0;if(C(e))return t.braceNest>0&&b(o.UNTERMINATED_CLOSING_BRACE,i(),0),n=S(t,1,U(e)),t.braceNest=0,t.inLinked=!1,n;if(t.braceNest>0&&(5===t.currentType||6===t.currentType||7===t.currentType))return b(o.UNTERMINATED_CLOSING_BRACE,i(),0),t.braceNest=0,V(e,t);if(r=function(e,t){const{currentType:n}=t;if(2!==n)return!1;k(e);const r=N(e.currentPeek());return e.resetPeek(),r}(e,t))return n=S(t,5,function(e){O(e);let t="",n="";for(;t=A(e);)n+=t;return e.currentChar()===g&&b(o.UNTERMINATED_CLOSING_BRACE,i(),0),n}(e)),O(e),n;if(s=function(e,t){const{currentType:n}=t;if(2!==n)return!1;k(e);const r=function(e){if(e===g)return!1;const t=e.charCodeAt(0);return t>=48&&t<=57}("-"===e.currentPeek()?e.peek():e.currentPeek());return e.resetPeek(),r}(e,t))return n=S(t,6,function(e){O(e);let t="";return"-"===e.currentChar()?(e.next(),t+=`-${M(e)}`):t+=M(e),e.currentChar()===g&&b(o.UNTERMINATED_CLOSING_BRACE,i(),0),t}(e)),O(e),n;if(a=function(e,t){const{currentType:n}=t;if(2!==n)return!1;k(e);const r=e.currentPeek()===y;return e.resetPeek(),r}(e,t))return n=S(t,7,function(e){O(e),w(e,"'");let t="",n="";const r=e=>e!==y&&e!==h;for(;t=I(e,r);)n+="\\"===t?P(e):t;const s=e.currentChar();return s===h||s===g?(b(o.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,i(),0),s===h&&(e.next(),w(e,"'")),n):(w(e,"'"),n)}(e)),O(e),n;if(!r&&!s&&!a)return n=S(t,13,function(e){O(e);let t="",n="";const r=e=>"{"!==e&&"}"!==e&&e!==d&&e!==h;for(;t=I(e,r);)n+=t;return n}(e)),b(o.INVALID_TOKEN_IN_PLACEHOLDER,i(),0,n.value),O(e),n}return n}function j(e,t){const{currentType:n}=t;let r=null;const s=e.currentChar();switch(8!==n&&9!==n&&12!==n&&10!==n||s!==h&&s!==d||b(o.INVALID_LINKED_FORMAT,i(),0),s){case"@":return e.next(),r=S(t,8,"@"),t.inLinked=!0,r;case".":return O(e),e.next(),S(t,9,".");case":":return O(e),e.next(),S(t,10,":");default:return C(e)?(r=S(t,1,U(e)),t.braceNest=0,t.inLinked=!1,r):function(e,t){const{currentType:n}=t;if(8!==n)return!1;k(e);const r="."===e.currentPeek();return e.resetPeek(),r}(e,t)||function(e,t){const{currentType:n}=t;if(8!==n&&12!==n)return!1;k(e);const r=":"===e.currentPeek();return e.resetPeek(),r}(e,t)?(O(e),j(e,t)):function(e,t){const{currentType:n}=t;if(9!==n)return!1;k(e);const r=N(e.currentPeek());return e.resetPeek(),r}(e,t)?(O(e),S(t,12,function(e){let t="",n="";for(;t=A(e);)n+=t;return n}(e))):function(e,t){const{currentType:n}=t;if(10!==n)return!1;const r=()=>{const t=e.currentPeek();return"{"===t?N(e.peek()):!("@"===t||"%"===t||"|"===t||":"===t||"."===t||t===d||!t)&&(t===h?(e.peek(),r()):N(t))},s=r();return e.resetPeek(),s}(e,t)?(O(e),"{"===s?B(e,t)||r:S(t,11,function(e){const t=(n=!1,r)=>{const s=e.currentChar();return"{"!==s&&"%"!==s&&"@"!==s&&"|"!==s&&s?s===d?r:s===h?(r+=s,e.next(),t(n,r)):(r+=s,e.next(),t(!0,r)):r};return t(!1,"")}(e))):(8===n&&b(o.INVALID_LINKED_FORMAT,i(),0),t.braceNest=0,t.inLinked=!1,V(e,t))}}function V(e,t){let n={type:14};if(t.braceNest>0)return B(e,t)||T(t);if(t.inLinked)return j(e,t)||T(t);switch(e.currentChar()){case"{":return B(e,t)||T(t);case"}":return b(o.UNBALANCED_CLOSING_BRACE,i(),0),e.next(),S(t,3,"}");case"@":return j(e,t)||T(t);default:if(C(e))return n=S(t,1,U(e)),t.braceNest=0,t.inLinked=!1,n;const{isModulo:r,hasSpace:s}=function(e){const t=k(e),n="%"===e.currentPeek()&&"{"===e.peek();return e.resetPeek(),{isModulo:n,hasSpace:t.length>0}}(e);if(r)return s?S(t,0,D(e)):S(t,4,function(e){O(e);const t=e.currentChar();return"%"!==t&&b(o.EXPECTED_TOKEN,i(),0,t),e.next(),"%"}(e));if(x(e))return S(t,0,D(e))}return n}return{nextToken:function(){const{currentType:e,offset:t,startLoc:n,endLoc:o}=f;return f.lastType=e,f.lastOffset=t,f.lastStartLoc=n,f.lastEndLoc=o,f.offset=s(),f.startLoc=i(),r.currentChar()===g?S(f,14):V(r,f)},currentOffset:s,currentPosition:i,context:_}}const b="parser",S=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function T(e,t,n){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const e=parseInt(t||n,16);return e<=55295||e>=57344?String.fromCodePoint(e):"<22>"}}}function w(e={}){const t=!1!==e.location,{onError:n}=e;function s(e,t,r,s,...o){const i=e.currentPosition();if(i.offset+=s,i.column+=s,n){const e=a(t,u(r,i),{domain:b,args:o});n(e)}}function i(e,n,r){const s={type:e,start:n,end:n};return t&&(s.loc={start:r,end:r}),s}function l(e,n,r,s){e.end=n,s&&(e.type=s),t&&e.loc&&(e.loc.end=r)}function c(e,t){const n=e.context(),r=i(3,n.offset,n.startLoc);return r.value=t,l(r,e.currentOffset(),e.currentPosition()),r}function d(e,t){const n=e.context(),{lastOffset:r,lastStartLoc:s}=n,o=i(5,r,s);return o.index=parseInt(t,10),e.nextToken(),l(o,e.currentOffset(),e.currentPosition()),o}function p(e,t){const n=e.context(),{lastOffset:r,lastStartLoc:s}=n,o=i(4,r,s);return o.key=t,e.nextToken(),l(o,e.currentOffset(),e.currentPosition()),o}function h(e,t){const n=e.context(),{lastOffset:r,lastStartLoc:s}=n,o=i(9,r,s);return o.value=t.replace(S,T),e.nextToken(),l(o,e.currentOffset(),e.currentPosition()),o}function f(e){const t=e.context(),n=i(6,t.offset,t.startLoc);let r=e.nextToken();if(9===r.type){const t=function(e){const t=e.nextToken(),n=e.context(),{lastOffset:r,lastStartLoc:a}=n,c=i(8,r,a);return 12!==t.type?(s(e,o.UNEXPECTED_EMPTY_LINKED_MODIFIER,n.lastStartLoc,0),c.value="",l(c,r,a),{nextConsumeToken:t,node:c}):(null==t.value&&s(e,o.UNEXPECTED_LEXICAL_ANALYSIS,n.lastStartLoc,0,k(t)),c.value=t.value||"",l(c,e.currentOffset(),e.currentPosition()),{node:c})}(e);n.modifier=t.node,r=t.nextConsumeToken||e.nextToken()}switch(10!==r.type&&s(e,o.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,k(r)),r=e.nextToken(),2===r.type&&(r=e.nextToken()),r.type){case 11:null==r.value&&s(e,o.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,k(r)),n.key=function(e,t){const n=e.context(),r=i(7,n.offset,n.startLoc);return r.value=t,l(r,e.currentOffset(),e.currentPosition()),r}(e,r.value||"");break;case 5:null==r.value&&s(e,o.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,k(r)),n.key=p(e,r.value||"");break;case 6:null==r.value&&s(e,o.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,k(r)),n.key=d(e,r.value||"");break;case 7:null==r.value&&s(e,o.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,k(r)),n.key=h(e,r.value||"");break;default:s(e,o.UNEXPECTED_EMPTY_LINKED_KEY,t.lastStartLoc,0);const a=e.context(),c=i(7,a.offset,a.startLoc);return c.value="",l(c,a.offset,a.startLoc),n.key=c,l(n,a.offset,a.startLoc),{nextConsumeToken:r,node:n}}return l(n,e.currentOffset(),e.currentPosition()),{node:n}}function _(e){const t=e.context(),n=i(2,1===t.currentType?e.currentOffset():t.offset,1===t.currentType?t.endLoc:t.startLoc);n.items=[];let r=null;do{const i=r||e.nextToken();switch(r=null,i.type){case 0:null==i.value&&s(e,o.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,k(i)),n.items.push(c(e,i.value||""));break;case 6:null==i.value&&s(e,o.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,k(i)),n.items.push(d(e,i.value||""));break;case 5:null==i.value&&s(e,o.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,k(i)),n.items.push(p(e,i.value||""));break;case 7:null==i.value&&s(e,o.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,k(i)),n.items.push(h(e,i.value||""));break;case 8:const a=f(e);n.items.push(a.node),r=a.nextConsumeToken||null}}while(14!==t.currentType&&1!==t.currentType);return l(n,1===t.currentType?t.lastOffset:e.currentOffset(),1===t.currentType?t.lastEndLoc:e.currentPosition()),n}return{parse:function(n){const a=E(n,r.assign({},e)),c=a.context(),u=i(0,c.offset,c.startLoc);return t&&u.loc&&(u.loc.source=n),u.body=function(e){const t=e.context(),{offset:n,startLoc:r}=t,a=_(e);return 14===t.currentType?a:function(e,t,n,r){const a=e.context();let c=0===r.items.length;const u=i(1,t,n);u.cases=[],u.cases.push(r);do{const t=_(e);c||(c=0===t.items.length),u.cases.push(t)}while(14!==a.currentType);return c&&s(e,o.MUST_HAVE_MESSAGES_IN_PLURAL,n,0),l(u,e.currentOffset(),e.currentPosition()),u}(e,n,r,a)}(a),14!==c.currentType&&s(a,o.UNEXPECTED_LEXICAL_ANALYSIS,c.lastStartLoc,0,n[c.offset]||""),l(u,a.currentOffset(),a.currentPosition()),u}}}function k(e){if(14===e.type)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"…":t}function O(e,t){for(let n=0;n<e.length;n++)N(e[n],t)}function N(e,t){switch(e.type){case 1:O(e.cases,t),t.helper("plural");break;case 2:O(e.items,t);break;case 6:N(e.key,t),t.helper("linked"),t.helper("type");break;case 5:t.helper("interpolate"),t.helper("list");break;case 4:t.helper("interpolate"),t.helper("named")}}function C(e,t){const{sourceMap:n,filename:r,breakLineCode:o,needIndent:i}=t,a={source:e.loc.source,filename:r,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:o,needIndent:i,indentLevel:0};function c(e,t){var n,r;a.code+=e,a.map&&(t&&t.loc&&t.loc!==l&&(n=t.loc.start,r=function(e){switch(e.type){case 3:case 9:case 8:case 7:return e.value;case 5:return e.index.toString();case 4:return e.key;default:return}}(t),a.map.addMapping({name:r,source:a.filename,original:{line:n.line,column:n.column-1},generated:{line:a.line,column:a.column-1}})),function(e,t,n=t.length){let r=0,s=-1;for(let e=0;e<n;e++)10===t.charCodeAt(e)&&(r++,s=e);e.offset+=n,e.line+=r,e.column=-1===s?e.column+n:n-s}(a,e))}function u(e,t=!0){const n=t?o:"";c(i?n+" ".repeat(e):n)}return n&&(a.map=new s.SourceMapGenerator,a.map.setSourceContent(r,a.source)),{context:()=>a,push:c,indent:function(e=!0){const t=++a.indentLevel;e&&u(t)},deindent:function(e=!0){const t=--a.indentLevel;e&&u(t)},newline:function(){u(a.indentLevel)},helper:e=>`_${e}`,needIndent:()=>a.needIndent}}function x(e,t){const{helper:n}=e;switch(t.type){case 0:!function(e,t){t.body?x(e,t.body):e.push("null")}(e,t);break;case 1:!function(e,t){const{helper:n,needIndent:r}=e;if(t.cases.length>1){e.push(`${n("plural")}([`),e.indent(r());const s=t.cases.length;for(let n=0;n<s&&(x(e,t.cases[n]),n!==s-1);n++)e.push(", ");e.deindent(r()),e.push("])")}}(e,t);break;case 2:!function(e,t){const{helper:n,needIndent:r}=e;e.push(`${n("normalize")}([`),e.indent(r());const s=t.items.length;for(let n=0;n<s&&(x(e,t.items[n]),n!==s-1);n++)e.push(", ");e.deindent(r()),e.push("])")}(e,t);break;case 6:!function(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),x(e,t.key),t.modifier?(e.push(", "),x(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}(e,t);break;case 8:case 7:case 9:case 3:e.push(JSON.stringify(t.value),t);break;case 5:e.push(`${n("interpolate")}(${n("list")}(${t.index}))`,t);break;case 4:e.push(`${n("interpolate")}(${n("named")}(${JSON.stringify(t.key)}))`,t)}}t.CompileErrorCodes=o,t.ERROR_DOMAIN=b,t.LocationStub=l,t.baseCompile=function(e,t={}){const n=r.assign({},t),s=w(n).parse(e);return function(e,t={}){const n=function(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:e=>(n.helpers.add(e),e)}}(e);n.helper("normalize"),e.body&&N(e.body,n);const r=n.context();e.helpers=Array.from(r.helpers)}(s,n),((e,t={})=>{const n=r.isString(t.mode)?t.mode:"normal",s=r.isString(t.filename)?t.filename:"message.intl",o=!!t.sourceMap,i=null!=t.breakLineCode?t.breakLineCode:"arrow"===n?";":"\n",a=t.needIndent?t.needIndent:"arrow"!==n,l=e.helpers||[],c=C(e,{mode:n,filename:s,sourceMap:o,breakLineCode:i,needIndent:a});c.push("normal"===n?"function __msg__ (ctx) {":"(ctx) => {"),c.indent(a),l.length>0&&(c.push(`const { ${l.map((e=>`${e}: _${e}`)).join(", ")} } = ctx`),c.newline()),c.push("return "),x(c,e),c.deindent(a),c.push("}");const{code:u,map:d}=c.context();return{ast:e,code:u,map:d?d.toJSON():void 0}})(s,n)},t.createCompileError=a,t.createLocation=u,t.createParser=w,t.createPosition=c,t.defaultOnError=function(e){throw e},t.errorMessages=i},141:(e,t,n)=>{"use strict";e.exports=n(997)},297:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r="undefined"!=typeof window,s=/\{([0-9a-zA-Z]+)\}/g,o="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag,i=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),a=Object.assign;let l;const c=Object.prototype.hasOwnProperty,u=Array.isArray,d=e=>"function"==typeof e,p=e=>null!==e&&"object"==typeof e,h=Object.prototype.toString,f=e=>h.call(e),_=e=>"[object Object]"===f(e);t.assign=a,t.createEmitter=function(){const e=new Map;return{events:e,on(t,n){const r=e.get(t);r&&r.push(n)||e.set(t,[n])},off(t,n){const r=e.get(t);r&&r.splice(r.indexOf(n)>>>0,1)},emit(t,n){(e.get(t)||[]).slice().map((e=>e(n))),(e.get("*")||[]).slice().map((e=>e(t,n)))}}},t.escapeHtml=function(e){return e.replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;")},t.format=function(e,...t){return 1===t.length&&p(t[0])&&(t=t[0]),t&&t.hasOwnProperty||(t={}),e.replace(s,((e,n)=>t.hasOwnProperty(n)?t[n]:""))},t.friendlyJSONstringify=i,t.generateCodeFrame=function(e,t=0,n=e.length){const r=e.split(/\r?\n/);let s=0;const o=[];for(let e=0;e<r.length;e++)if(s+=r[e].length+1,s>=t){for(let i=e-2;i<=e+2||n>s;i++){if(i<0||i>=r.length)continue;const a=i+1;o.push(`${a}${" ".repeat(3-String(a).length)}| ${r[i]}`);const l=r[i].length;if(i===e){const e=t-(s-l)+1,r=Math.max(1,n>s?l-e:n-t);o.push(" | "+" ".repeat(e)+"^".repeat(r))}else if(i>e){if(n>s){const e=Math.max(Math.min(n-s,l),1);o.push(" | "+"^".repeat(e))}s+=l+1}}break}return o.join("\n")},t.generateFormatCacheKey=(e,t,n)=>i({l:e,k:t,s:n}),t.getGlobalThis=()=>l||(l="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==n.g?n.g:{}),t.hasOwn=function(e,t){return c.call(e,t)},t.inBrowser=r,t.isArray=u,t.isBoolean=e=>"boolean"==typeof e,t.isDate=e=>"[object Date]"===f(e),t.isEmptyObject=e=>_(e)&&0===Object.keys(e).length,t.isFunction=d,t.isNumber=e=>"number"==typeof e&&isFinite(e),t.isObject=p,t.isPlainObject=_,t.isPromise=e=>p(e)&&d(e.then)&&d(e.catch),t.isRegExp=e=>"[object RegExp]"===f(e),t.isString=e=>"string"==typeof e,t.isSymbol=e=>"symbol"==typeof e,t.makeSymbol=e=>o?Symbol(e):e,t.mark=void 0,t.measure=void 0,t.objectToString=h,t.toDisplayString=e=>null==e?"":u(e)||_(e)&&e.toString===h?JSON.stringify(e,null,2):String(e),t.toTypeString=f,t.warn=function(e,t){"undefined"!=typeof console&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}},165:(e,t,n)=>{"use strict";e.exports=n(297)},503:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Breadcrumbs:()=>Wt,BrowserClient:()=>Zt,Dedupe:()=>Pn,FunctionToString:()=>D,GlobalHandlers:()=>bn,HttpContext:()=>Dn,Hub:()=>le,InboundFilters:()=>X,Integrations:()=>To,LinkedErrors:()=>Ln,Replay:()=>po,SDK_VERSION:()=>_e,Scope:()=>re,TryCatch:()=>Cn,WINDOW:()=>nt,addBreadcrumb:()=>Ee,addGlobalEventProcessor:()=>oe,captureEvent:()=>ye,captureException:()=>me,captureMessage:()=>ge,chromeStackLineParser:()=>ln,close:()=>Xn,configureScope:()=>ve,createTransport:()=>et,defaultIntegrations:()=>Vn,defaultStackLineParsers:()=>yn,defaultStackParser:()=>vn,eventFromException:()=>Tt,eventFromMessage:()=>wt,flush:()=>Wn,forceLoad:()=>zn,geckoStackLineParser:()=>dn,getCurrentHub:()=>de,getHubFromCarrier:()=>he,init:()=>$n,lastEventId:()=>Hn,makeBrowserOfflineTransport:()=>bo,makeFetchTransport:()=>en,makeMain:()=>ue,makeXHRTransport:()=>nn,onLoad:()=>Yn,opera10StackLineParser:()=>_n,opera11StackLineParser:()=>gn,setContext:()=>be,setExtra:()=>Te,setExtras:()=>Se,setTag:()=>ke,setTags:()=>we,setUser:()=>Oe,showReportDialog:()=>Gn,startTransaction:()=>Ce,winjsStackLineParser:()=>hn,withScope:()=>Ne,wrap:()=>qn});var r={};n.r(r),n.d(r,{FunctionToString:()=>D,InboundFilters:()=>X});var s={};n.r(s),n.d(s,{Breadcrumbs:()=>Wt,Dedupe:()=>Pn,GlobalHandlers:()=>bn,HttpContext:()=>Dn,LinkedErrors:()=>Ln,TryCatch:()=>Cn});const o=Object.prototype.toString;function i(e){switch(o.call(e)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return _(e,Error)}}function a(e,t){return o.call(e)===`[object ${t}]`}function l(e){return a(e,"ErrorEvent")}function c(e){return a(e,"DOMError")}function u(e){return a(e,"String")}function d(e){return null===e||"object"!=typeof e&&"function"!=typeof e}function p(e){return a(e,"Object")}function h(e){return"undefined"!=typeof Event&&_(e,Event)}function f(e){return Boolean(e&&e.then&&"function"==typeof e.then)}function _(e,t){try{return e instanceof t}catch(e){return!1}}var m=n(397);const g=(0,m.Rf)(),y=80;function v(e,t={}){try{let n=e;const r=5,s=[];let o=0,i=0;const a=" > ",l=a.length;let c;const u=Array.isArray(t)?t:t.keyAttrs,d=!Array.isArray(t)&&t.maxStringLength||y;for(;n&&o++<r&&(c=E(n,u),!("html"===c||o>1&&i+s.length*l+c.length>=d));)s.push(c),i+=c.length,n=n.parentNode;return s.reverse().join(a)}catch(e){return"<unknown>"}}function E(e,t){const n=e,r=[];let s,o,i,a,l;if(!n||!n.tagName)return"";r.push(n.tagName.toLowerCase());const c=t&&t.length?t.filter((e=>n.getAttribute(e))).map((e=>[e,n.getAttribute(e)])):null;if(c&&c.length)c.forEach((e=>{r.push(`[${e[0]}="${e[1]}"]`)}));else if(n.id&&r.push(`#${n.id}`),s=n.className,s&&u(s))for(o=s.split(/\s+/),l=0;l<o.length;l++)r.push(`.${o[l]}`);const d=["aria-label","type","name","title","alt"];for(l=0;l<d.length;l++)i=d[l],a=n.getAttribute(i),a&&r.push(`[${i}="${a}"]`);return r.join("")}function b(e,t=0){return"string"!=typeof e||0===t||e.length<=t?e:`${e.slice(0,t)}...`}function S(e,t){if(!Array.isArray(e))return"";const n=[];for(let t=0;t<e.length;t++){const r=e[t];try{n.push(String(r))}catch(e){n.push("[value cannot be serialized]")}}return n.join(t)}function T(e,t=[],n=!1){return t.some((t=>function(e,t,n=!1){return!!u(e)&&(a(t,"RegExp")?t.test(e):!!u(t)&&(n?e===t:e.includes(t)))}(e,t,n)))}function w(e,t,n){if(!(t in e))return;const r=e[t],s=n(r);if("function"==typeof s)try{O(s,r)}catch(e){}e[t]=s}function k(e,t,n){Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0})}function O(e,t){const n=t.prototype||{};e.prototype=t.prototype=n,k(e,"__sentry_original__",t)}function N(e){return e.__sentry_original__}function C(e){if(i(e))return{message:e.message,name:e.name,stack:e.stack,...I(e)};if(h(e)){const t={type:e.type,target:x(e.target),currentTarget:x(e.currentTarget),...I(e)};return"undefined"!=typeof CustomEvent&&_(e,CustomEvent)&&(t.detail=e.detail),t}return e}function x(e){try{return"undefined"!=typeof Element&&_(e,Element)?v(e):Object.prototype.toString.call(e)}catch(e){return"<unknown>"}}function I(e){if("object"==typeof e&&null!==e){const t={};for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t}return{}}function A(e,t=40){const n=Object.keys(C(e));if(n.sort(),!n.length)return"[object has no keys]";if(n[0].length>=t)return b(n[0],t);for(let e=n.length;e>0;e--){const r=n.slice(0,e).join(", ");if(!(r.length>t))return e===n.length?r:b(r,t)}return""}function R(e){return L(e,new Map)}function L(e,t){if(p(e)){const n=t.get(e);if(void 0!==n)return n;const r={};t.set(e,r);for(const n of Object.keys(e))void 0!==e[n]&&(r[n]=L(e[n],t));return r}if(Array.isArray(e)){const n=t.get(e);if(void 0!==n)return n;const r=[];return t.set(e,r),e.forEach((e=>{r.push(L(e,t))})),r}return e}let M;class D{constructor(){D.prototype.__init.call(this)}static __initStatic(){this.id="FunctionToString"}__init(){this.name=D.id}setupOnce(){M=Function.prototype.toString,Function.prototype.toString=function(...e){const t=N(this)||this;return M.apply(t,e)}}}D.__initStatic();const P=["debug","info","warn","error","log","assert","trace"];function F(e){if(!("console"in m.n2))return e();const t=m.n2.console,n={};P.forEach((e=>{const r=t[e]&&t[e].__sentry_original__;e in t&&r&&(n[e]=t[e],t[e]=r)}));try{return e()}finally{Object.keys(n).forEach((e=>{t[e]=n[e]}))}}function U(){let e=!1;const t={enable:()=>{e=!0},disable:()=>{e=!1}};return"undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__?P.forEach((n=>{t[n]=(...t)=>{e&&F((()=>{m.n2.console[n](`Sentry Logger [${n}]:`,...t)}))}})):P.forEach((e=>{t[e]=()=>{}})),t}let B;function j(){const e=m.n2,t=e.crypto||e.msCrypto;if(t&&t.randomUUID)return t.randomUUID().replace(/-/g,"");const n=t&&t.getRandomValues?()=>t.getRandomValues(new Uint8Array(1))[0]:()=>16*Math.random();return([1e7]+1e3+4e3+8e3+1e11).replace(/[018]/g,(e=>(e^(15&n())>>e/4).toString(16)))}function V(e){return e.exception&&e.exception.values?e.exception.values[0]:void 0}function $(e){const{message:t,event_id:n}=e;if(t)return t;const r=V(e);return r?r.type&&r.value?`${r.type}: ${r.value}`:r.type||r.value||n||"<unknown>":n||"<unknown>"}function G(e,t,n){const r=e.exception=e.exception||{},s=r.values=r.values||[],o=s[0]=s[0]||{};o.value||(o.value=t||""),o.type||(o.type=n||"Error")}function H(e,t){const n=V(e);if(!n)return;const r=n.mechanism;if(n.mechanism={type:"generic",handled:!0,...r,...t},t&&"data"in t){const e={...r&&r.data,...t.data};n.mechanism.data=e}}function z(e){if(e&&e.__sentry_captured__)return!0;try{k(e,"__sentry_captured__",!0)}catch(e){}return!1}function Y(e){return Array.isArray(e)?e:[e]}B="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__?(0,m.YO)("logger",U):U();const W=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/];class X{static __initStatic(){this.id="InboundFilters"}__init(){this.name=X.id}constructor(e={}){this._options=e,X.prototype.__init.call(this)}setupOnce(e,t){const n=e=>{const n=t();if(n){const t=n.getIntegration(X);if(t){const r=n.getClient(),s=r?r.getOptions():{},o=function(e={},t={}){return{allowUrls:[...e.allowUrls||[],...t.allowUrls||[]],denyUrls:[...e.denyUrls||[],...t.denyUrls||[]],ignoreErrors:[...e.ignoreErrors||[],...t.ignoreErrors||[],...W],ignoreInternal:void 0===e.ignoreInternal||e.ignoreInternal}}(t._options,s);return function(e,t){return t.ignoreInternal&&function(e){try{return"SentryError"===e.exception.values[0].type}catch(e){}return!1}(e)?(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&B.warn(`Event dropped due to being internal Sentry Error.\nEvent: ${$(e)}`),!0):function(e,t){return!(!t||!t.length)&&function(e){if(e.message)return[e.message];if(e.exception)try{const{type:t="",value:n=""}=e.exception.values&&e.exception.values[0]||{};return[`${n}`,`${t}: ${n}`]}catch(t){return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&B.error(`Cannot extract message for event ${$(e)}`),[]}return[]}(e).some((e=>T(e,t)))}(e,t.ignoreErrors)?(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&B.warn(`Event dropped due to being matched by \`ignoreErrors\` option.\nEvent: ${$(e)}`),!0):function(e,t){if(!t||!t.length)return!1;const n=q(e);return!!n&&T(n,t)}(e,t.denyUrls)?(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&B.warn(`Event dropped due to being matched by \`denyUrls\` option.\nEvent: ${$(e)}.\nUrl: ${q(e)}`),!0):!function(e,t){if(!t||!t.length)return!0;const n=q(e);return!n||T(n,t)}(e,t.allowUrls)&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&B.warn(`Event dropped due to not being matched by \`allowUrls\` option.\nEvent: ${$(e)}.\nUrl: ${q(e)}`),!0)}(e,o)?null:e}}return e};n.id=this.name,e(n)}}function q(e){try{let t;try{t=e.exception.values[0].stacktrace.frames}catch(e){}return t?function(e=[]){for(let t=e.length-1;t>=0;t--){const n=e[t];if(n&&"<anonymous>"!==n.filename&&"[native code]"!==n.filename)return n.filename||null}return null}(t):null}catch(t){return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&B.error(`Cannot extract url for event ${$(e)}`),null}}X.__initStatic();var K,J=n(281),Z=n(708);function Q(e){return new te((t=>{t(e)}))}function ee(e){return new te(((t,n)=>{n(e)}))}!function(e){e[e.PENDING=0]="PENDING",e[e.RESOLVED=1]="RESOLVED",e[e.REJECTED=2]="REJECTED"}(K||(K={}));class te{__init(){this._state=K.PENDING}__init2(){this._handlers=[]}constructor(e){te.prototype.__init.call(this),te.prototype.__init2.call(this),te.prototype.__init3.call(this),te.prototype.__init4.call(this),te.prototype.__init5.call(this),te.prototype.__init6.call(this);try{e(this._resolve,this._reject)}catch(e){this._reject(e)}}then(e,t){return new te(((n,r)=>{this._handlers.push([!1,t=>{if(e)try{n(e(t))}catch(e){r(e)}else n(t)},e=>{if(t)try{n(t(e))}catch(e){r(e)}else r(e)}]),this._executeHandlers()}))}catch(e){return this.then((e=>e),e)}finally(e){return new te(((t,n)=>{let r,s;return this.then((t=>{s=!1,r=t,e&&e()}),(t=>{s=!0,r=t,e&&e()})).then((()=>{s?n(r):t(r)}))}))}__init3(){this._resolve=e=>{this._setResult(K.RESOLVED,e)}}__init4(){this._reject=e=>{this._setResult(K.REJECTED,e)}}__init5(){this._setResult=(e,t)=>{this._state===K.PENDING&&(f(t)?t.then(this._resolve,this._reject):(this._state=e,this._value=t,this._executeHandlers()))}}__init6(){this._executeHandlers=()=>{if(this._state===K.PENDING)return;const e=this._handlers.slice();this._handlers=[],e.forEach((e=>{e[0]||(this._state===K.RESOLVED&&e[1](this._value),this._state===K.REJECTED&&e[2](this._value),e[0]=!0)}))}}}function ne(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||(0,J.ph)(),t.ignoreDuration&&(e.ignoreDuration=t.ignoreDuration),t.sid&&(e.sid=32===t.sid.length?t.sid:j()),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{const 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)}class re{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={}}static clone(e){const t=new re;return e&&(t._breadcrumbs=[...e._breadcrumbs],t._tags={...e._tags},t._extra={...e._extra},t._contexts={...e._contexts},t._user=e._user,t._level=e._level,t._span=e._span,t._session=e._session,t._transactionName=e._transactionName,t._fingerprint=e._fingerprint,t._eventProcessors=[...e._eventProcessors],t._requestSession=e._requestSession,t._attachments=[...e._attachments],t._sdkProcessingMetadata={...e._sdkProcessingMetadata}),t}addScopeListener(e){this._scopeListeners.push(e)}addEventProcessor(e){return this._eventProcessors.push(e),this}setUser(e){return this._user=e||{},this._session&&ne(this._session,{user:e}),this._notifyScopeListeners(),this}getUser(){return this._user}getRequestSession(){return this._requestSession}setRequestSession(e){return this._requestSession=e,this}setTags(e){return this._tags={...this._tags,...e},this._notifyScopeListeners(),this}setTag(e,t){return this._tags={...this._tags,[e]:t},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}setSpan(e){return this._span=e,this._notifyScopeListeners(),this}getSpan(){return this._span}getTransaction(){const e=this.getSpan();return e&&e.transaction}setSession(e){return e?this._session=e:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(e){if(!e)return this;if("function"==typeof e){const t=e(this);return t instanceof re?t:this}return e instanceof re?(this._tags={...this._tags,...e._tags},this._extra={...this._extra,...e._extra},this._contexts={...this._contexts,...e._contexts},e._user&&Object.keys(e._user).length&&(this._user=e._user),e._level&&(this._level=e._level),e._fingerprint&&(this._fingerprint=e._fingerprint),e._requestSession&&(this._requestSession=e._requestSession)):p(e)&&(this._tags={...this._tags,...e.tags},this._extra={...this._extra,...e.extra},this._contexts={...this._contexts,...e.contexts},e.user&&(this._user=e.user),e.level&&(this._level=e.level),e.fingerprint&&(this._fingerprint=e.fingerprint),e.requestSession&&(this._requestSession=e.requestSession)),this}clear(){return this._breadcrumbs=[],this._tags={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._requestSession=void 0,this._span=void 0,this._session=void 0,this._notifyScopeListeners(),this._attachments=[],this}addBreadcrumb(e,t){const n="number"==typeof t?t:100;if(n<=0)return this;const r={timestamp:(0,J.yW)(),...e};return this._breadcrumbs=[...this._breadcrumbs,r].slice(-n),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}getAttachments(){return this._attachments}clearAttachments(){return this._attachments=[],this}applyToEvent(e,t={}){if(this._extra&&Object.keys(this._extra).length&&(e.extra={...this._extra,...e.extra}),this._tags&&Object.keys(this._tags).length&&(e.tags={...this._tags,...e.tags}),this._user&&Object.keys(this._user).length&&(e.user={...this._user,...e.user}),this._contexts&&Object.keys(this._contexts).length&&(e.contexts={...this._contexts,...e.contexts}),this._level&&(e.level=this._level),this._transactionName&&(e.transaction=this._transactionName),this._span){e.contexts={trace:this._span.getTraceContext(),...e.contexts};const t=this._span.transaction&&this._span.transaction.name;t&&(e.tags={transaction:t,...e.tags})}return this._applyFingerprint(e),e.breadcrumbs=[...e.breadcrumbs||[],...this._breadcrumbs],e.breadcrumbs=e.breadcrumbs.length>0?e.breadcrumbs:void 0,e.sdkProcessingMetadata={...e.sdkProcessingMetadata,...this._sdkProcessingMetadata},this._notifyEventProcessors([...se(),...this._eventProcessors],e,t)}setSDKProcessingMetadata(e){return this._sdkProcessingMetadata={...this._sdkProcessingMetadata,...e},this}_notifyEventProcessors(e,t,n,r=0){return new te(((s,o)=>{const i=e[r];if(null===t||"function"!=typeof i)s(t);else{const a=i({...t},n);("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&i.id&&null===a&&B.log(`Event processor "${i.id}" dropped event`),f(a)?a.then((t=>this._notifyEventProcessors(e,t,n,r+1).then(s))).then(null,o):this._notifyEventProcessors(e,a,n,r+1).then(s).then(null,o)}}))}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach((e=>{e(this)})),this._notifyingListeners=!1)}_applyFingerprint(e){e.fingerprint=e.fingerprint?Y(e.fingerprint):[],this._fingerprint&&(e.fingerprint=e.fingerprint.concat(this._fingerprint)),e.fingerprint&&!e.fingerprint.length&&delete e.fingerprint}}function se(){return(0,m.YO)("globalEventProcessors",(()=>[]))}function oe(e){se().push(e)}const ie=4,ae=100;class le{__init(){this._stack=[{}]}constructor(e,t=new re,n=ie){this._version=n,le.prototype.__init.call(this),this.getStackTop().scope=t,e&&this.bindClient(e)}isOlderThan(e){return this._version<e}bindClient(e){this.getStackTop().client=e,e&&e.setupIntegrations&&e.setupIntegrations()}pushScope(){const e=re.clone(this.getScope());return this.getStack().push({client:this.getClient(),scope:e}),e}popScope(){return!(this.getStack().length<=1||!this.getStack().pop())}withScope(e){const t=this.pushScope();try{e(t)}finally{this.popScope()}}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getStack(){return this._stack}getStackTop(){return this._stack[this._stack.length-1]}captureException(e,t){const n=this._lastEventId=t&&t.event_id?t.event_id:j(),r=new Error("Sentry syntheticException");return this._withClient(((s,o)=>{s.captureException(e,{originalException:e,syntheticException:r,...t,event_id:n},o)})),n}captureMessage(e,t,n){const r=this._lastEventId=n&&n.event_id?n.event_id:j(),s=new Error(e);return this._withClient(((o,i)=>{o.captureMessage(e,t,{originalException:e,syntheticException:s,...n,event_id:r},i)})),r}captureEvent(e,t){const n=t&&t.event_id?t.event_id:j();return e.type||(this._lastEventId=n),this._withClient(((r,s)=>{r.captureEvent(e,{...t,event_id:n},s)})),n}lastEventId(){return this._lastEventId}addBreadcrumb(e,t){const{scope:n,client:r}=this.getStackTop();if(!n||!r)return;const{beforeBreadcrumb:s=null,maxBreadcrumbs:o=ae}=r.getOptions&&r.getOptions()||{};if(o<=0)return;const i={timestamp:(0,J.yW)(),...e},a=s?F((()=>s(i,t))):i;null!==a&&n.addBreadcrumb(a,o)}setUser(e){const t=this.getScope();t&&t.setUser(e)}setTags(e){const t=this.getScope();t&&t.setTags(e)}setExtras(e){const t=this.getScope();t&&t.setExtras(e)}setTag(e,t){const n=this.getScope();n&&n.setTag(e,t)}setExtra(e,t){const n=this.getScope();n&&n.setExtra(e,t)}setContext(e,t){const n=this.getScope();n&&n.setContext(e,t)}configureScope(e){const{scope:t,client:n}=this.getStackTop();t&&n&&e(t)}run(e){const t=ue(this);try{e(this)}finally{ue(t)}}getIntegration(e){const t=this.getClient();if(!t)return null;try{return t.getIntegration(e)}catch(t){return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&B.warn(`Cannot retrieve integration ${e.id} from the current Hub`),null}}startTransaction(e,t){return this._callExtensionMethod("startTransaction",e,t)}traceHeaders(){return this._callExtensionMethod("traceHeaders")}captureSession(e=!1){if(e)return this.endSession();this._sendSessionUpdate()}endSession(){const e=this.getStackTop(),t=e&&e.scope,n=t&&t.getSession();n&&function(e,t){let n={};"ok"===e.status&&(n={status:"exited"}),ne(e,n)}(n),this._sendSessionUpdate(),t&&t.setSession()}startSession(e){const{scope:t,client:n}=this.getStackTop(),{release:r,environment:s}=n&&n.getOptions()||{},{userAgent:o}=m.n2.navigator||{},i=function(e){const t=(0,J.ph)(),n={sid:j(),init:!0,timestamp:t,started:t,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>function(e){return R({sid:`${e.sid}`,init:e.init,started:new Date(1e3*e.started).toISOString(),timestamp:new Date(1e3*e.timestamp).toISOString(),status:e.status,errors:e.errors,did:"number"==typeof e.did||"string"==typeof e.did?`${e.did}`:void 0,duration:e.duration,attrs:{release:e.release,environment:e.environment,ip_address:e.ipAddress,user_agent:e.userAgent}})}(n)};return e&&ne(n,e),n}({release:r,environment:s,...t&&{user:t.getUser()},...o&&{userAgent:o},...e});if(t){const e=t.getSession&&t.getSession();e&&"ok"===e.status&&ne(e,{status:"exited"}),this.endSession(),t.setSession(i)}return i}shouldSendDefaultPii(){const e=this.getClient(),t=e&&e.getOptions();return Boolean(t&&t.sendDefaultPii)}_sendSessionUpdate(){const{scope:e,client:t}=this.getStackTop();if(!e)return;const n=e.getSession();n&&t&&t.captureSession&&t.captureSession(n)}_withClient(e){const{scope:t,client:n}=this.getStackTop();n&&e(n,t)}_callExtensionMethod(e,...t){const n=ce().__SENTRY__;if(n&&n.extensions&&"function"==typeof n.extensions[e])return n.extensions[e].apply(this,t);("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&B.warn(`Extension method ${e} couldn't be found, doing nothing.`)}}function ce(){return m.n2.__SENTRY__=m.n2.__SENTRY__||{extensions:{},hub:void 0},m.n2}function ue(e){const t=ce(),n=he(t);return fe(t,e),n}function de(){const e=ce();return pe(e)&&!he(e).isOlderThan(ie)||fe(e,new le),(0,Z.KV)()?function(e){try{const t=ce().__SENTRY__,n=t&&t.extensions&&t.extensions.domain&&t.extensions.domain.active;if(!n)return he(e);if(!pe(n)||he(n).isOlderThan(ie)){const t=he(e).getStackTop();fe(n,new le(t.client,re.clone(t.scope)))}return he(n)}catch(t){return he(e)}}(e):he(e)}function pe(e){return!!(e&&e.__SENTRY__&&e.__SENTRY__.hub)}function he(e){return(0,m.YO)("hub",(()=>new le),e)}function fe(e,t){return!!e&&((e.__SENTRY__=e.__SENTRY__||{}).hub=t,!0)}const _e="7.39.0";function me(e,t){return de().captureException(e,{captureContext:t})}function ge(e,t){const n="string"==typeof t?t:void 0,r="string"!=typeof t?{captureContext:t}:void 0;return de().captureMessage(e,n,r)}function ye(e,t){return de().captureEvent(e,t)}function ve(e){de().configureScope(e)}function Ee(e){de().addBreadcrumb(e)}function be(e,t){de().setContext(e,t)}function Se(e){de().setExtras(e)}function Te(e,t){de().setExtra(e,t)}function we(e){de().setTags(e)}function ke(e,t){de().setTag(e,t)}function Oe(e){de().setUser(e)}function Ne(e){de().withScope(e)}function Ce(e,t){return de().startTransaction({...e},t)}class xe extends Error{constructor(e,t="warn"){super(e),this.message=e,this.name=new.target.prototype.constructor.name,Object.setPrototypeOf(this,new.target.prototype),this.logLevel=t}}const Ie=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)([\w.-]+)(?::(\d+))?\/(.+)/;function Ae(e,t=!1){const{host:n,path:r,pass:s,port:o,projectId:i,protocol:a,publicKey:l}=e;return`${a}://${l}${t&&s?`:${s}`:""}@${n}${o?`:${o}`:""}/${r?`${r}/`:r}${i}`}function Re(e){return{protocol:e.protocol,publicKey:e.publicKey||"",pass:e.pass||"",host:e.host,port:e.port||"",path:e.path||"",projectId:e.projectId}}function Le(e){const t="string"==typeof e?function(e){const t=Ie.exec(e);if(!t)throw new xe(`Invalid Sentry Dsn: ${e}`);const[n,r,s="",o,i="",a]=t.slice(1);let l="",c=a;const u=c.split("/");if(u.length>1&&(l=u.slice(0,-1).join("/"),c=u.pop()),c){const e=c.match(/^\d+/);e&&(c=e[0])}return Re({host:o,pass:s,path:l,projectId:c,port:i,protocol:n,publicKey:r})}(e):Re(e);return function(e){if("undefined"!=typeof __SENTRY_DEBUG__&&!__SENTRY_DEBUG__)return;const{port:t,projectId:n,protocol:r}=e;if(["protocol","publicKey","host","projectId"].forEach((t=>{if(!e[t])throw new xe(`Invalid Sentry Dsn: ${t} missing`)})),!n.match(/^\d+$/))throw new xe(`Invalid Sentry Dsn: Invalid projectId ${n}`);if(!function(e){return"http"===e||"https"===e}(r))throw new xe(`Invalid Sentry Dsn: Invalid protocol ${r}`);if(t&&isNaN(parseInt(t,10)))throw new xe(`Invalid Sentry Dsn: Invalid port ${t}`)}(t),t}const Me=50;function De(...e){const t=e.sort(((e,t)=>e[0]-t[0])).map((e=>e[1]));return(e,n=0)=>{const r=[];for(const s of e.split("\n").slice(n)){if(s.length>1024)continue;const e=s.replace(/\(error: (.*)\)/,"$1");for(const n of t){const t=n(e);if(t){r.push(t);break}}}return function(e){if(!e.length)return[];let t=e;const n=t[0].function||"",r=t[t.length-1].function||"";return-1===n.indexOf("captureMessage")&&-1===n.indexOf("captureException")||(t=t.slice(1)),-1!==r.indexOf("sentryWrapped")&&(t=t.slice(0,-1)),t.slice(0,Me).map((e=>({...e,filename:e.filename||t[0].filename,function:e.function||"?"}))).reverse()}(r)}}const Pe="<anonymous>";function Fe(e){try{return e&&"function"==typeof e&&e.name||Pe}catch(e){return Pe}}function Ue(e,t=1/0,n=1/0){try{return je("",e,t,n)}catch(e){return{ERROR:`**non-serializable** (${e})`}}}function Be(e,t=3,n=102400){const r=Ue(e,t);return s=r,function(e){return~-encodeURI(e).split(/%..|./).length}(JSON.stringify(s))>n?Be(e,t-1,n):r;var s}function je(e,t,r=1/0,s=1/0,o=function(){const e="function"==typeof WeakSet,t=e?new WeakSet:[];return[function(n){if(e)return!!t.has(n)||(t.add(n),!1);for(let e=0;e<t.length;e++)if(t[e]===n)return!0;return t.push(n),!1},function(n){if(e)t.delete(n);else for(let e=0;e<t.length;e++)if(t[e]===n){t.splice(e,1);break}}]}()){const[i,a]=o;if(null===t||["number","boolean","string"].includes(typeof t)&&("number"!=typeof(l=t)||l==l))return t;var l;const c=function(e,t){try{return"domain"===e&&t&&"object"==typeof t&&t._events?"[Domain]":"domainEmitter"===e?"[DomainEmitter]":void 0!==n.g&&t===n.g?"[Global]":"undefined"!=typeof window&&t===window?"[Window]":"undefined"!=typeof document&&t===document?"[Document]":function(e){return p(e)&&"nativeEvent"in e&&"preventDefault"in e&&"stopPropagation"in e}(t)?"[SyntheticEvent]":"number"==typeof t&&t!=t?"[NaN]":void 0===t?"[undefined]":"function"==typeof t?`[Function: ${Fe(t)}]`:"symbol"==typeof t?`[${String(t)}]`:"bigint"==typeof t?`[BigInt: ${String(t)}]`:`[object ${function(e){const t=Object.getPrototypeOf(e);return t?t.constructor.name:"null prototype"}(t)}]`}catch(e){return`**non-serializable** (${e})`}}(e,t);if(!c.startsWith("[object "))return c;if(t.__sentry_skip_normalization__)return t;if(0===r)return c.replace("object ","");if(i(t))return"[Circular ~]";const u=t;if(u&&"function"==typeof u.toJSON)try{return je("",u.toJSON(),r-1,s,o)}catch(e){}const d=Array.isArray(t)?[]:{};let h=0;const f=C(t);for(const e in f){if(!Object.prototype.hasOwnProperty.call(f,e))continue;if(h>=s){d[e]="[MaxProperties ~]";break}const t=f[e];d[e]=je(e,t,r-1,s,o),h++}return a(t),d}function Ve(e,t=[]){return[e,t]}function $e(e,t){const[n,r]=e;return[n,[...r,t]]}function Ge(e,t){const n=e[1];for(const e of n)if(t(e,e[0].type))return!0;return!1}function He(e,t){return(t||new TextEncoder).encode(e)}function ze(e,t){const[n,r]=e;let s=JSON.stringify(n);function o(e){"string"==typeof s?s="string"==typeof e?s+e:[He(s,t),e]:s.push("string"==typeof e?He(e,t):e)}for(const e of r){const[t,n]=e;if(o(`\n${JSON.stringify(t)}\n`),"string"==typeof n||n instanceof Uint8Array)o(n);else{let e;try{e=JSON.stringify(n)}catch(t){e=JSON.stringify(Ue(n))}o(e)}}return"string"==typeof s?s:function(e){const t=e.reduce(((e,t)=>e+t.length),0),n=new Uint8Array(t);let r=0;for(const t of e)n.set(t,r),r+=t.length;return n}(s)}function Ye(e,t){const n="string"==typeof e.data?He(e.data,t):e.data;return[R({type:"attachment",length:n.length,filename:e.filename,content_type:e.contentType,attachment_type:e.attachmentType}),n]}const We={session:"session",sessions:"session",attachment:"attachment",transaction:"transaction",event:"error",client_report:"internal",user_report:"default",profile:"profile",replay_event:"replay",replay_recording:"replay"};function Xe(e){return We[e]}function qe(e){if(!e||!e.sdk)return;const{name:t,version:n}=e.sdk;return{name:t,version:n}}function Ke(e,t,n,r){const s=e.sdkProcessingMetadata&&e.sdkProcessingMetadata.dynamicSamplingContext;return{event_id:e.event_id,sent_at:(new Date).toISOString(),...t&&{sdk:t},...!!n&&{dsn:Ae(r)},..."transaction"===e.type&&s&&{trace:R({...s})}}}const Je=6e4;function Ze(e,t=Date.now()){const n=parseInt(`${e}`,10);if(!isNaN(n))return 1e3*n;const r=Date.parse(`${e}`);return isNaN(r)?Je:r-t}const Qe=30;function et(e,t,n=function(e){const t=[];function n(e){return t.splice(t.indexOf(e),1)[0]}return{$:t,add:function(r){if(!(void 0===e||t.length<e))return ee(new xe("Not adding Promise because buffer limit was reached."));const s=r();return-1===t.indexOf(s)&&t.push(s),s.then((()=>n(s))).then(null,(()=>n(s).then(null,(()=>{})))),s},drain:function(e){return new te(((n,r)=>{let s=t.length;if(!s)return n(!0);const o=setTimeout((()=>{e&&e>0&&n(!1)}),e);t.forEach((e=>{Q(e).then((()=>{--s||(clearTimeout(o),n(!0))}),r)}))}))}}}(e.bufferSize||Qe)){let r={};return{send:function(s){const o=[];if(Ge(s,((t,n)=>{const s=Xe(n);if(function(e,t,n=Date.now()){return function(e,t){return e[t]||e.all||0}(e,t)>n}(r,s)){const r=tt(t,n);e.recordDroppedEvent("ratelimit_backoff",s,r)}else o.push(t)})),0===o.length)return Q();const i=Ve(s[0],o),a=t=>{Ge(i,((n,r)=>{const s=tt(n,r);e.recordDroppedEvent(t,Xe(r),s)}))};return n.add((()=>t({body:ze(i,e.textEncoder)}).then((e=>(void 0!==e.statusCode&&(e.statusCode<200||e.statusCode>=300)&&("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&B.warn(`Sentry responded with status code ${e.statusCode} to sent event.`),r=function(e,{statusCode:t,headers:n},r=Date.now()){const s={...e},o=n&&n["x-sentry-rate-limits"],i=n&&n["retry-after"];if(o)for(const e of o.trim().split(",")){const[t,n]=e.split(":",2),o=parseInt(t,10),i=1e3*(isNaN(o)?60:o);if(n)for(const e of n.split(";"))s[e]=r+i;else s.all=r+i}else i?s.all=r+Ze(i,r):429===t&&(s.all=r+6e4);return s}(r,e),e)),(e=>{throw a("network_error"),e})))).then((e=>e),(e=>{if(e instanceof xe)return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&B.error("Skipped sending event because buffer is full."),a("queue_overflow"),Q();throw e}))},flush:e=>n.drain(e)}}function tt(e,t){if("event"===t||"transaction"===t)return Array.isArray(e)?e[1]:void 0}const nt=m.n2;let rt=0;function st(){return rt>0}function ot(e,t={},n){if("function"!=typeof e)return e;try{const t=e.__sentry_wrapped__;if(t)return t;if(N(e))return e}catch(t){return e}const r=function(){const r=Array.prototype.slice.call(arguments);try{n&&"function"==typeof n&&n.apply(this,arguments);const s=r.map((e=>ot(e,t)));return e.apply(this,s)}catch(e){throw rt++,setTimeout((()=>{rt--})),Ne((n=>{n.addEventProcessor((e=>(t.mechanism&&(G(e,void 0,void 0),H(e,t.mechanism)),e.extra={...e.extra,arguments:r},e))),me(e)})),e}};try{for(const t in e)Object.prototype.hasOwnProperty.call(e,t)&&(r[t]=e[t])}catch(e){}O(r,e),k(e,"__sentry_wrapped__",r);try{Object.getOwnPropertyDescriptor(r,"name").configurable&&Object.defineProperty(r,"name",{get:()=>e.name})}catch(e){}return r}const it="7";function at(e){const t=e.protocol?`${e.protocol}:`:"",n=e.port?`:${e.port}`:"";return`${t}//${e.host}${n}${e.path?`/${e.path}`:""}/api/`}function lt(e,t={}){const n="string"==typeof t?t:t.tunnel,r="string"!=typeof t&&t._metadata?t._metadata.sdk:void 0;return n||`${function(e){return`${at(e)}${e.projectId}/envelope/`}(e)}?${function(e,t){return n={sentry_key:e.publicKey,sentry_version:it,...t&&{sentry_client:`${t.name}/${t.version}`}},Object.keys(n).map((e=>`${encodeURIComponent(e)}=${encodeURIComponent(n[e])}`)).join("&");var n}(e,r)}`}const ct=[];function ut(e){const t=e.defaultIntegrations||[],n=e.integrations;let r;t.forEach((e=>{e.isDefaultInstance=!0})),r=Array.isArray(n)?[...t,...n]:"function"==typeof n?Y(n(t)):t;const s=function(e){const t={};return e.forEach((e=>{const{name:n}=e,r=t[n];r&&!r.isDefaultInstance&&e.isDefaultInstance||(t[n]=e)})),Object.values(t)}(r),o=s.findIndex((e=>"Debug"===e.name));if(-1!==o){const[e]=s.splice(o,1);s.push(e)}return s}function dt(e,t){t[e.name]=e,-1===ct.indexOf(e.name)&&(e.setupOnce(oe,de),ct.push(e.name),("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&B.log(`Integration installed: ${e.name}`))}function pt(e,t,n,r){const{normalizeDepth:s=3,normalizeMaxBreadth:o=1e3}=e,i={...t,event_id:t.event_id||n.event_id||j(),timestamp:t.timestamp||(0,J.yW)()},a=n.integrations||e.integrations.map((e=>e.name));!function(e,t){const{environment:n,release:r,dist:s,maxValueLength:o=250}=t;"environment"in e||(e.environment="environment"in t?n:"production"),void 0===e.release&&void 0!==r&&(e.release=r),void 0===e.dist&&void 0!==s&&(e.dist=s),e.message&&(e.message=b(e.message,o));const i=e.exception&&e.exception.values&&e.exception.values[0];i&&i.value&&(i.value=b(i.value,o));const a=e.request;a&&a.url&&(a.url=b(a.url,o))}(i,e),function(e,t){t.length>0&&(e.sdk=e.sdk||{},e.sdk.integrations=[...e.sdk.integrations||[],...t])}(i,a),function(e,t){const n=m.n2._sentryDebugIds;if(!n)return;const r=Object.keys(n).reduce(((e,r)=>{const s=t(r);for(const t of s)if(t.abs_path){e[t.abs_path]=n[r];break}return e}),{}),s=new Set;try{e.exception.values.forEach((e=>{e.stacktrace.frames.forEach((e=>{e.abs_path&&s.add(e.abs_path)}))}))}catch(e){}e.debug_meta=e.debug_meta||{},e.debug_meta.images=e.debug_meta.images||[];const o=e.debug_meta.images;s.forEach((e=>{r[e]&&o.push({type:"sourcemap",code_file:e,debug_id:r[e]})}))}(i,e.stackParser);let l=r;n.captureContext&&(l=re.clone(l).update(n.captureContext));let c=Q(i);if(l){if(l.getAttachments){const e=[...n.attachments||[],...l.getAttachments()];e.length&&(n.attachments=e)}c=l.applyToEvent(i,n)}return c.then((e=>"number"==typeof s&&s>0?function(e,t,n){if(!e)return null;const r={...e,...e.breadcrumbs&&{breadcrumbs:e.breadcrumbs.map((e=>({...e,...e.data&&{data:Ue(e.data,t,n)}})))},...e.user&&{user:Ue(e.user,t,n)},...e.contexts&&{contexts:Ue(e.contexts,t,n)},...e.extra&&{extra:Ue(e.extra,t,n)}};return e.contexts&&e.contexts.trace&&r.contexts&&(r.contexts.trace=e.contexts.trace,e.contexts.trace.data&&(r.contexts.trace.data=Ue(e.contexts.trace.data,t,n))),e.spans&&(r.spans=e.spans.map((e=>(e.data&&(e.data=Ue(e.data,t,n)),e)))),r}(e,s,o):e))}const ht="Not capturing exception because it's already been captured.";class ft{__init(){this._integrations={}}__init2(){this._integrationsInitialized=!1}__init3(){this._numProcessing=0}__init4(){this._outcomes={}}constructor(e){if(ft.prototype.__init.call(this),ft.prototype.__init2.call(this),ft.prototype.__init3.call(this),ft.prototype.__init4.call(this),this._options=e,e.dsn){this._dsn=Le(e.dsn);const t=lt(this._dsn,e);this._transport=e.transport({recordDroppedEvent:this.recordDroppedEvent.bind(this),...e.transportOptions,url:t})}else("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&B.warn("No DSN provided, client will not do anything.")}captureException(e,t,n){if(z(e))return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&B.log(ht));let r=t&&t.event_id;return this._process(this.eventFromException(e,t).then((e=>this._captureEvent(e,t,n))).then((e=>{r=e}))),r}captureMessage(e,t,n,r){let s=n&&n.event_id;const o=d(e)?this.eventFromMessage(String(e),t,n):this.eventFromException(e,n);return this._process(o.then((e=>this._captureEvent(e,n,r))).then((e=>{s=e}))),s}captureEvent(e,t,n){if(t&&t.originalException&&z(t.originalException))return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&B.log(ht));let r=t&&t.event_id;return this._process(this._captureEvent(e,t,n).then((e=>{r=e}))),r}captureSession(e){this._isEnabled()?"string"!=typeof e.release?("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&B.warn("Discarded session because of missing or non-string release"):(this.sendSession(e),ne(e,{init:!1})):("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&B.warn("SDK not enabled, will not capture session.")}getDsn(){return this._dsn}getOptions(){return this._options}getSdkMetadata(){return this._options._metadata}getTransport(){return this._transport}flush(e){const t=this._transport;return t?this._isClientDoneProcessing(e).then((n=>t.flush(e).then((e=>n&&e)))):Q(!0)}close(e){return this.flush(e).then((e=>(this.getOptions().enabled=!1,e)))}setupIntegrations(){this._isEnabled()&&!this._integrationsInitialized&&(this._integrations=function(e){const t={};return e.forEach((e=>{e&&dt(e,t)})),t}(this._options.integrations),this._integrationsInitialized=!0)}getIntegrationById(e){return this._integrations[e]}getIntegration(e){try{return this._integrations[e.id]||null}catch(t){return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&B.warn(`Cannot retrieve integration ${e.id} from the current Client`),null}}addIntegration(e){dt(e,this._integrations)}sendEvent(e,t={}){if(this._dsn){let n=function(e,t,n,r){const s=qe(n),o=e.type&&"replay_event"!==e.type?e.type:"event";!function(e,t){t&&(e.sdk=e.sdk||{},e.sdk.name=e.sdk.name||t.name,e.sdk.version=e.sdk.version||t.version,e.sdk.integrations=[...e.sdk.integrations||[],...t.integrations||[]],e.sdk.packages=[...e.sdk.packages||[],...t.packages||[]])}(e,n&&n.sdk);const i=Ke(e,s,r,t);return delete e.sdkProcessingMetadata,Ve(i,[[{type:o},e]])}(e,this._dsn,this._options._metadata,this._options.tunnel);for(const e of t.attachments||[])n=$e(n,Ye(e,this._options.transportOptions&&this._options.transportOptions.textEncoder));this._sendEnvelope(n)}}sendSession(e){if(this._dsn){const t=function(e,t,n,r){const s=qe(n);return Ve({sent_at:(new Date).toISOString(),...s&&{sdk:s},...!!r&&{dsn:Ae(t)}},["aggregates"in e?[{type:"sessions"},e]:[{type:"session"},e]])}(e,this._dsn,this._options._metadata,this._options.tunnel);this._sendEnvelope(t)}}recordDroppedEvent(e,t,n){if(this._options.sendClientReports){const n=`${e}:${t}`;("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&B.log(`Adding outcome: "${n}"`),this._outcomes[n]=this._outcomes[n]+1||1}}_updateSessionFromEvent(e,t){let n=!1,r=!1;const s=t.exception&&t.exception.values;if(s){r=!0;for(const e of s){const t=e.mechanism;if(t&&!1===t.handled){n=!0;break}}}const o="ok"===e.status;(o&&0===e.errors||o&&n)&&(ne(e,{...n&&{status:"crashed"},errors:e.errors||Number(r||n)}),this.captureSession(e))}_isClientDoneProcessing(e){return new te((t=>{let n=0;const r=setInterval((()=>{0==this._numProcessing?(clearInterval(r),t(!0)):(n+=1,e&&n>=e&&(clearInterval(r),t(!1)))}),1)}))}_isEnabled(){return!1!==this.getOptions().enabled&&void 0!==this._dsn}_prepareEvent(e,t,n){const r=this.getOptions(),s=Object.keys(this._integrations);return!t.integrations&&s.length>0&&(t.integrations=s),pt(r,e,t,n)}_captureEvent(e,t={},n){return this._processEvent(e,t,n).then((e=>e.event_id),(e=>{if("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__){const t=e;"log"===t.logLevel?B.log(t.message):B.warn(t)}}))}_processEvent(e,t,n){const r=this.getOptions(),{sampleRate:s}=r;if(!this._isEnabled())return ee(new xe("SDK not enabled, will not capture event.","log"));const o=mt(e),i=_t(e),a=e.type||"error",l=`before send for type \`${a}\``;if(i&&"number"==typeof s&&Math.random()>s)return this.recordDroppedEvent("sample_rate","error",e),ee(new xe(`Discarding event because it's not included in the random sample (sampling rate = ${s})`,"log"));const c="replay_event"===a?"replay":a;return this._prepareEvent(e,t,n).then((n=>{if(null===n)throw this.recordDroppedEvent("event_processor",c,e),new xe("An event processor returned `null`, will not send event.","log");if(t.data&&!0===t.data.__sentry__)return n;const s=function(e,t,n){const{beforeSend:r,beforeSendTransaction:s}=e;return _t(t)&&r?r(t,n):mt(t)&&s?s(t,n):t}(r,n,t);return function(e,t){const n=`${t} must return \`null\` or a valid event.`;if(f(e))return e.then((e=>{if(!p(e)&&null!==e)throw new xe(n);return e}),(e=>{throw new xe(`${t} rejected with ${e}`)}));if(!p(e)&&null!==e)throw new xe(n);return e}(s,l)})).then((r=>{if(null===r)throw this.recordDroppedEvent("before_send",c,e),new xe(`${l} returned \`null\`, will not send event.`,"log");const s=n&&n.getSession();!o&&s&&this._updateSessionFromEvent(s,r);const i=r.transaction_info;if(o&&i&&r.transaction!==e.transaction){const e="custom";r.transaction_info={...i,source:e}}return this.sendEvent(r,t),r})).then(null,(e=>{if(e instanceof xe)throw e;throw this.captureException(e,{data:{__sentry__:!0},originalException:e}),new xe(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.\nReason: ${e}`)}))}_process(e){this._numProcessing++,e.then((e=>(this._numProcessing--,e)),(e=>(this._numProcessing--,e)))}_sendEnvelope(e){this._transport&&this._dsn?this._transport.send(e).then(null,(e=>{("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&B.error("Error while sending event:",e)})):("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&B.error("Transport disabled")}_clearOutcomes(){const e=this._outcomes;return this._outcomes={},Object.keys(e).map((t=>{const[n,r]=t.split(":");return{reason:n,category:r,quantity:e[t]}}))}}function _t(e){return void 0===e.type}function mt(e){return"transaction"===e.type}var gt=n(267);function yt(e,t){const n=Et(e,t),r={type:t&&t.name,value:St(t)};return n.length&&(r.stacktrace={frames:n}),void 0===r.type&&""===r.value&&(r.value="Unrecoverable error caught"),r}function vt(e,t){return{exception:{values:[yt(e,t)]}}}function Et(e,t){const n=t.stacktrace||t.stack||"",r=function(e){if(e){if("number"==typeof e.framesToPop)return e.framesToPop;if(bt.test(e.message))return 1}return 0}(t);try{return e(n,r)}catch(e){}return[]}const bt=/Minified React error #\d+;/i;function St(e){const t=e&&e.message;return t?t.error&&"string"==typeof t.error.message?t.error.message:t:"No error message"}function Tt(e,t,n,r){const s=kt(e,t,n&&n.syntheticException||void 0,r);return H(s),s.level="error",n&&n.event_id&&(s.event_id=n.event_id),Q(s)}function wt(e,t,n="info",r,s){const o=Ot(e,t,r&&r.syntheticException||void 0,s);return o.level=n,r&&r.event_id&&(o.event_id=r.event_id),Q(o)}function kt(e,t,n,r,s){let o;if(l(t)&&t.error)return vt(e,t.error);if(c(t)||a(t,"DOMException")){const s=t;if("stack"in t)o=vt(e,t);else{const t=s.name||(c(s)?"DOMError":"DOMException"),i=s.message?`${t}: ${s.message}`:t;o=Ot(e,i,n,r),G(o,i)}return"code"in s&&(o.tags={...o.tags,"DOMException.code":`${s.code}`}),o}return i(t)?vt(e,t):p(t)||h(t)?(o=function(e,t,n,r){const s=de().getClient(),o=s&&s.getOptions().normalizeDepth,i={exception:{values:[{type:h(t)?t.constructor.name:r?"UnhandledRejection":"Error",value:`Non-Error ${r?"promise rejection":"exception"} captured with keys: ${A(t)}`}]},extra:{__serialized__:Be(t,o)}};if(n){const t=Et(e,n);t.length&&(i.exception.values[0].stacktrace={frames:t})}return i}(e,t,n,s),H(o,{synthetic:!0}),o):(o=Ot(e,t,n,r),G(o,`${t}`,void 0),H(o,{synthetic:!0}),o)}function Ot(e,t,n,r){const s={message:t};if(r&&n){const r=Et(e,n);r.length&&(s.exception={values:[{value:t,stacktrace:{frames:r}}]})}return s}const Nt=(0,m.Rf)();function Ct(){if(!("fetch"in Nt))return!1;try{return new Headers,new Request("http://www.example.com"),new Response,!0}catch(e){return!1}}function xt(e){return e&&/^function fetch\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString())}const It=(0,m.Rf)(),At={},Rt={};function Lt(e,t){At[e]=At[e]||[],At[e].push(t),function(e){if(!Rt[e])switch(Rt[e]=!0,e){case"console":"console"in It&&P.forEach((function(e){e in It.console&&w(It.console,e,(function(t){return function(...n){Mt("console",{args:n,level:e}),t&&t.apply(It.console,n)}}))}));break;case"dom":!function(){if(!("document"in It))return;const e=Mt.bind(null,"dom"),t=Vt(e,!0);It.document.addEventListener("click",t,!1),It.document.addEventListener("keypress",t,!1),["EventTarget","Node"].forEach((t=>{const n=It[t]&&It[t].prototype;n&&n.hasOwnProperty&&n.hasOwnProperty("addEventListener")&&(w(n,"addEventListener",(function(t){return function(n,r,s){if("click"===n||"keypress"==n)try{const r=this,o=r.__sentry_instrumentation_handlers__=r.__sentry_instrumentation_handlers__||{},i=o[n]=o[n]||{refCount:0};if(!i.handler){const r=Vt(e);i.handler=r,t.call(this,n,r,s)}i.refCount++}catch(e){}return t.call(this,n,r,s)}})),w(n,"removeEventListener",(function(e){return function(t,n,r){if("click"===t||"keypress"==t)try{const n=this,s=n.__sentry_instrumentation_handlers__||{},o=s[t];o&&(o.refCount--,o.refCount<=0&&(e.call(this,t,o.handler,r),o.handler=void 0,delete s[t]),0===Object.keys(s).length&&delete n.__sentry_instrumentation_handlers__)}catch(e){}return e.call(this,t,n,r)}})))}))}();break;case"xhr":!function(){if(!("XMLHttpRequest"in It))return;const e=XMLHttpRequest.prototype;w(e,"open",(function(e){return function(...t){const n=this,r=t[1],s=n.__sentry_xhr__={method:u(t[0])?t[0].toUpperCase():t[0],url:t[1]};u(r)&&"POST"===s.method&&r.match(/sentry_key/)&&(n.__sentry_own_request__=!0);const o=function(){if(4===n.readyState){try{s.status_code=n.status}catch(e){}Mt("xhr",{args:t,endTimestamp:Date.now(),startTimestamp:Date.now(),xhr:n})}};return"onreadystatechange"in n&&"function"==typeof n.onreadystatechange?w(n,"onreadystatechange",(function(e){return function(...t){return o(),e.apply(n,t)}})):n.addEventListener("readystatechange",o),e.apply(n,t)}})),w(e,"send",(function(e){return function(...t){return this.__sentry_xhr__&&void 0!==t[0]&&(this.__sentry_xhr__.body=t[0]),Mt("xhr",{args:t,startTimestamp:Date.now(),xhr:this}),e.apply(this,t)}}))}();break;case"fetch":(function(){if(!Ct())return!1;if(xt(Nt.fetch))return!0;let e=!1;const t=Nt.document;if(t&&"function"==typeof t.createElement)try{const n=t.createElement("iframe");n.hidden=!0,t.head.appendChild(n),n.contentWindow&&n.contentWindow.fetch&&(e=xt(n.contentWindow.fetch)),t.head.removeChild(n)}catch(e){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&B.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",e)}return e})()&&w(It,"fetch",(function(e){return function(...t){const n={args:t,fetchData:{method:Dt(t),url:Pt(t)},startTimestamp:Date.now()};return Mt("fetch",{...n}),e.apply(It,t).then((e=>(Mt("fetch",{...n,endTimestamp:Date.now(),response:e}),e)),(e=>{throw Mt("fetch",{...n,endTimestamp:Date.now(),error:e}),e}))}}));break;case"history":!function(){if(!function(){const e=Nt.chrome,t=e&&e.app&&e.app.runtime,n="history"in Nt&&!!Nt.history.pushState&&!!Nt.history.replaceState;return!t&&n}())return;const e=It.onpopstate;function t(e){return function(...t){const n=t.length>2?t[2]:void 0;if(n){const e=Ft,t=String(n);Ft=t,Mt("history",{from:e,to:t})}return e.apply(this,t)}}It.onpopstate=function(...t){const n=It.location.href,r=Ft;if(Ft=n,Mt("history",{from:r,to:n}),e)try{return e.apply(this,t)}catch(e){}},w(It.history,"pushState",t),w(It.history,"replaceState",t)}();break;case"error":$t=It.onerror,It.onerror=function(e,t,n,r,s){return Mt("error",{column:r,error:s,line:n,msg:e,url:t}),!!$t&&$t.apply(this,arguments)};break;case"unhandledrejection":Gt=It.onunhandledrejection,It.onunhandledrejection=function(e){return Mt("unhandledrejection",e),!Gt||Gt.apply(this,arguments)};break;default:("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&B.warn("unknown instrumentation type:",e)}}(e)}function Mt(e,t){if(e&&At[e])for(const n of At[e]||[])try{n(t)}catch(t){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&B.error(`Error while triggering instrumentation handler.\nType: ${e}\nName: ${Fe(n)}\nError:`,t)}}function Dt(e=[]){return"Request"in It&&_(e[0],Request)&&e[0].method?String(e[0].method).toUpperCase():e[1]&&e[1].method?String(e[1].method).toUpperCase():"GET"}function Pt(e=[]){return"string"==typeof e[0]?e[0]:"Request"in It&&_(e[0],Request)?e[0].url:String(e[0])}let Ft;const Ut=1e3;let Bt,jt;function Vt(e,t=!1){return n=>{if(!n||jt===n)return;if(function(e){if("keypress"!==e.type)return!1;try{const t=e.target;if(!t||!t.tagName)return!0;if("INPUT"===t.tagName||"TEXTAREA"===t.tagName||t.isContentEditable)return!1}catch(e){}return!0}(n))return;const r="keypress"===n.type?"input":n.type;(void 0===Bt||function(e,t){if(!e)return!0;if(e.type!==t.type)return!0;try{if(e.target!==t.target)return!0}catch(e){}return!1}(jt,n))&&(e({event:n,name:r,global:t}),jt=n),clearTimeout(Bt),Bt=It.setTimeout((()=>{Bt=void 0}),Ut)}}let $t=null,Gt=null;const Ht=["fatal","error","warning","log","info","debug"];function zt(e){if(!e)return{};const t=e.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!t)return{};const n=t[6]||"",r=t[8]||"";return{host:t[4],path:t[5],protocol:t[2],relative:t[5]+n+r}}const Yt="Breadcrumbs";class Wt{static __initStatic(){this.id=Yt}__init(){this.name=Wt.id}constructor(e){Wt.prototype.__init.call(this),this.options={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...e}}setupOnce(){var e;this.options.console&&Lt("console",Xt),this.options.dom&&Lt("dom",(e=this.options.dom,function(t){let n,r="object"==typeof e?e.serializeAttribute:void 0,s="object"==typeof e&&"number"==typeof e.maxStringLength?e.maxStringLength:void 0;s&&s>1024&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&B.warn(`\`dom.maxStringLength\` cannot exceed 1024, but a value of ${s} was configured. Sentry will use 1024 instead.`),s=1024),"string"==typeof r&&(r=[r]);try{n=t.event.target?v(t.event.target,{keyAttrs:r,maxStringLength:s}):v(t.event,{keyAttrs:r,maxStringLength:s})}catch(e){n="<unknown>"}0!==n.length&&de().addBreadcrumb({category:`ui.${t.name}`,message:n},{event:t.event,name:t.name,global:t.global})})),this.options.xhr&&Lt("xhr",qt),this.options.fetch&&Lt("fetch",Kt),this.options.history&&Lt("history",Jt)}addSentryBreadcrumb(e){this.options.sentry&&de().addBreadcrumb({category:"sentry."+("transaction"===e.type?"transaction":"event"),event_id:e.event_id,level:e.level,message:$(e)},{event:e})}}function Xt(e){for(let t=0;t<e.args.length;t++)if("ref=Ref<"===e.args[t]){e.args[t+1]="viewRef";break}const t={category:"console",data:{arguments:e.args,logger:"console"},level:(n=e.level,"warn"===n?"warning":Ht.includes(n)?n:"log"),message:S(e.args," ")};var n;if("assert"===e.level){if(!1!==e.args[0])return;t.message=`Assertion failed: ${S(e.args.slice(1)," ")||"console.assert"}`,t.data.arguments=e.args.slice(1)}de().addBreadcrumb(t,{input:e.args,level:e.level})}function qt(e){if(e.endTimestamp){if(e.xhr.__sentry_own_request__)return;const{method:t,url:n,status_code:r,body:s}=e.xhr.__sentry_xhr__||{};de().addBreadcrumb({category:"xhr",data:{method:t,url:n,status_code:r},type:"http"},{xhr:e.xhr,input:s})}}function Kt(e){e.endTimestamp&&(e.fetchData.url.match(/sentry_key/)&&"POST"===e.fetchData.method||(e.error?de().addBreadcrumb({category:"fetch",data:e.fetchData,level:"error",type:"http"},{data:e.error,input:e.args}):de().addBreadcrumb({category:"fetch",data:{...e.fetchData,status_code:e.response.status},type:"http"},{input:e.args,response:e.response})))}function Jt(e){let t=e.from,n=e.to;const r=zt(nt.location.href);let s=zt(t);const o=zt(n);s.path||(s=r),r.protocol===o.protocol&&r.host===o.host&&(n=o.relative),r.protocol===s.protocol&&r.host===s.host&&(t=s.relative),de().addBreadcrumb({category:"navigation",data:{from:t,to:n}})}Wt.__initStatic();class Zt extends ft{constructor(e){const t=nt.SENTRY_SDK_SOURCE||(0,gt.S)();e._metadata=e._metadata||{},e._metadata.sdk=e._metadata.sdk||{name:"sentry.javascript.browser",packages:[{name:`${t}:@sentry/browser`,version:_e}],version:_e},super(e),e.sendClientReports&&nt.document&&nt.document.addEventListener("visibilitychange",(()=>{"hidden"===nt.document.visibilityState&&this._flushOutcomes()}))}eventFromException(e,t){return Tt(this._options.stackParser,e,t,this._options.attachStacktrace)}eventFromMessage(e,t="info",n){return wt(this._options.stackParser,e,t,n,this._options.attachStacktrace)}sendEvent(e,t){const n=this.getIntegrationById(Yt);n&&n.addSentryBreadcrumb&&n.addSentryBreadcrumb(e),super.sendEvent(e,t)}_prepareEvent(e,t,n){return e.platform=e.platform||"javascript",super._prepareEvent(e,t,n)}_flushOutcomes(){const e=this._clearOutcomes();if(0===e.length)return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&B.log("No outcomes to send"));if(!this._dsn)return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&B.log("No dsn provided, will not send outcomes"));("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&B.log("Sending outcomes:",e);const t=lt(this._dsn,this._options),n=(r=e,Ve((s=this._options.tunnel&&Ae(this._dsn))?{dsn:s}:{},[[{type:"client_report"},{timestamp:(0,J.yW)(),discarded_events:r}]]));var r,s;try{"[object Navigator]"===Object.prototype.toString.call(nt&&nt.navigator)&&"function"==typeof nt.navigator.sendBeacon&&!this._options.transportOptions?nt.navigator.sendBeacon.bind(nt.navigator)(t,ze(n)):this._sendEnvelope(n)}catch(e){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&B.error(e)}}}let Qt;function en(e,t=function(){if(Qt)return Qt;if(xt(nt.fetch))return Qt=nt.fetch.bind(nt);const e=nt.document;let t=nt.fetch;if(e&&"function"==typeof e.createElement)try{const n=e.createElement("iframe");n.hidden=!0,e.head.appendChild(n);const r=n.contentWindow;r&&r.fetch&&(t=r.fetch),e.head.removeChild(n)}catch(e){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&B.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",e)}return Qt=t.bind(nt)}()){return et(e,(function(n){const r={body:n.body,method:"POST",referrerPolicy:"origin",headers:e.headers,keepalive:n.body.length<=65536,...e.fetchOptions};try{return t(e.url,r).then((e=>({statusCode:e.status,headers:{"x-sentry-rate-limits":e.headers.get("X-Sentry-Rate-Limits"),"retry-after":e.headers.get("Retry-After")}})))}catch(e){return Qt=void 0,ee(e)}}))}const tn=4;function nn(e){return et(e,(function(t){return new te(((n,r)=>{const s=new XMLHttpRequest;s.onerror=r,s.onreadystatechange=()=>{s.readyState===tn&&n({statusCode:s.status,headers:{"x-sentry-rate-limits":s.getResponseHeader("X-Sentry-Rate-Limits"),"retry-after":s.getResponseHeader("Retry-After")}})},s.open("POST",e.url);for(const t in e.headers)Object.prototype.hasOwnProperty.call(e.headers,t)&&s.setRequestHeader(t,e.headers[t]);s.send(t.body)}))}))}const rn="?";function sn(e,t,n,r){const s={filename:e,abs_path:e,function:t,in_app:!0};return void 0!==n&&(s.lineno=n),void 0!==r&&(s.colno=r),s}const on=/^\s*at (?:(.*\).*?|.*?) ?\((?:address at )?)?(?:async )?((?:file|https?|blob|chrome-extension|address|native|eval|webpack|<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,an=/\((\S*)(?::(\d+))(?::(\d+))\)/,ln=[30,e=>{const t=on.exec(e);if(t){if(t[2]&&0===t[2].indexOf("eval")){const e=an.exec(t[2]);e&&(t[2]=e[1],t[3]=e[2],t[4]=e[3])}const[e,n]=En(t[1]||rn,t[2]);return sn(n,e,t[3]?+t[3]:void 0,t[4]?+t[4]:void 0)}}],cn=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:file|https?|blob|chrome|webpack|resource|moz-extension|safari-extension|safari-web-extension|capacitor)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,un=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,dn=[50,e=>{const t=cn.exec(e);if(t){if(t[3]&&t[3].indexOf(" > eval")>-1){const e=un.exec(t[3]);e&&(t[1]=t[1]||"eval",t[3]=e[1],t[4]=e[2],t[5]="")}let e=t[3],n=t[1]||rn;return[n,e]=En(n,e),sn(e,n,t[4]?+t[4]:void 0,t[5]?+t[5]:void 0)}}],pn=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,hn=[40,e=>{const t=pn.exec(e);return t?sn(t[2],t[1]||rn,+t[3],t[4]?+t[4]:void 0):void 0}],fn=/ line (\d+).*script (?:in )?(\S+)(?:: in function (\S+))?$/i,_n=[10,e=>{const t=fn.exec(e);return t?sn(t[2],t[3]||rn,+t[1]):void 0}],mn=/ line (\d+), column (\d+)\s*(?:in (?:<anonymous function: ([^>]+)>|([^)]+))\(.*\))? in (.*):\s*$/i,gn=[20,e=>{const t=mn.exec(e);return t?sn(t[5],t[3]||t[4]||rn,+t[1],+t[2]):void 0}],yn=[ln,dn,hn],vn=De(...yn),En=(e,t)=>{const n=-1!==e.indexOf("safari-extension"),r=-1!==e.indexOf("safari-web-extension");return n||r?[-1!==e.indexOf("@")?e.split("@")[0]:rn,n?`safari-extension:${t}`:`safari-web-extension:${t}`]:[e,t]};class bn{static __initStatic(){this.id="GlobalHandlers"}__init(){this.name=bn.id}__init2(){this._installFunc={onerror:Sn,onunhandledrejection:Tn}}constructor(e){bn.prototype.__init.call(this),bn.prototype.__init2.call(this),this._options={onerror:!0,onunhandledrejection:!0,...e}}setupOnce(){Error.stackTraceLimit=50;const e=this._options;for(const n in e){const r=this._installFunc[n];r&&e[n]&&(t=n,("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&B.log(`Global Handler attached: ${t}`),r(),this._installFunc[n]=void 0)}var t}}function Sn(){Lt("error",(e=>{const[t,n,r]=On();if(!t.getIntegration(bn))return;const{msg:s,url:o,line:i,column:a,error:c}=e;if(st()||c&&c.__sentry_own_request__)return;const d=void 0===c&&u(s)?function(e,t,n,r){let s=l(e)?e.message:e,o="Error";const i=s.match(/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i);i&&(o=i[1],s=i[2]);return wn({exception:{values:[{type:o,value:s}]}},t,n,r)}(s,o,i,a):wn(kt(n,c||s,void 0,r,!1),o,i,a);d.level="error",kn(t,c,d,"onerror")}))}function Tn(){Lt("unhandledrejection",(e=>{const[t,n,r]=On();if(!t.getIntegration(bn))return;let s=e;try{"reason"in e?s=e.reason:"detail"in e&&"reason"in e.detail&&(s=e.detail.reason)}catch(e){}if(st()||s&&s.__sentry_own_request__)return!0;const o=d(s)?{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(s)}`}]}}:kt(n,s,void 0,r,!0);o.level="error",kn(t,s,o,"onunhandledrejection")}))}function wn(e,t,n,r){const s=e.exception=e.exception||{},o=s.values=s.values||[],i=o[0]=o[0]||{},a=i.stacktrace=i.stacktrace||{},l=a.frames=a.frames||[],c=isNaN(parseInt(r,10))?void 0:r,d=isNaN(parseInt(n,10))?void 0:n,p=u(t)&&t.length>0?t:function(){try{return g.document.location.href}catch(e){return""}}();return 0===l.length&&l.push({colno:c,filename:p,function:"?",in_app:!0,lineno:d}),e}function kn(e,t,n,r){H(n,{handled:!1,type:r}),e.captureEvent(n,{originalException:t})}function On(){const e=de(),t=e.getClient(),n=t&&t.getOptions()||{stackParser:()=>[],attachStacktrace:!1};return[e,n.stackParser,n.attachStacktrace]}bn.__initStatic();const Nn=["EventTarget","Window","Node","ApplicationCache","AudioTrackList","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"];class Cn{static __initStatic(){this.id="TryCatch"}__init(){this.name=Cn.id}constructor(e){Cn.prototype.__init.call(this),this._options={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,...e}}setupOnce(){this._options.setTimeout&&w(nt,"setTimeout",xn),this._options.setInterval&&w(nt,"setInterval",xn),this._options.requestAnimationFrame&&w(nt,"requestAnimationFrame",In),this._options.XMLHttpRequest&&"XMLHttpRequest"in nt&&w(XMLHttpRequest.prototype,"send",An);const e=this._options.eventTarget;e&&(Array.isArray(e)?e:Nn).forEach(Rn)}}function xn(e){return function(...t){const n=t[0];return t[0]=ot(n,{mechanism:{data:{function:Fe(e)},handled:!0,type:"instrument"}}),e.apply(this,t)}}function In(e){return function(t){return e.apply(this,[ot(t,{mechanism:{data:{function:"requestAnimationFrame",handler:Fe(e)},handled:!0,type:"instrument"}})])}}function An(e){return function(...t){const n=this;return["onload","onerror","onprogress","onreadystatechange"].forEach((e=>{e in n&&"function"==typeof n[e]&&w(n,e,(function(t){const n={mechanism:{data:{function:e,handler:Fe(t)},handled:!0,type:"instrument"}},r=N(t);return r&&(n.mechanism.data.handler=Fe(r)),ot(t,n)}))})),e.apply(this,t)}}function Rn(e){const t=nt,n=t[e]&&t[e].prototype;n&&n.hasOwnProperty&&n.hasOwnProperty("addEventListener")&&(w(n,"addEventListener",(function(t){return function(n,r,s){try{"function"==typeof r.handleEvent&&(r.handleEvent=ot(r.handleEvent,{mechanism:{data:{function:"handleEvent",handler:Fe(r),target:e},handled:!0,type:"instrument"}}))}catch(e){}return t.apply(this,[n,ot(r,{mechanism:{data:{function:"addEventListener",handler:Fe(r),target:e},handled:!0,type:"instrument"}}),s])}})),w(n,"removeEventListener",(function(e){return function(t,n,r){const s=n;try{const n=s&&s.__sentry_wrapped__;n&&e.call(this,t,n,r)}catch(e){}return e.call(this,t,s,r)}})))}Cn.__initStatic();class Ln{static __initStatic(){this.id="LinkedErrors"}__init(){this.name=Ln.id}constructor(e={}){Ln.prototype.__init.call(this),this._key=e.key||"cause",this._limit=e.limit||5}setupOnce(){const e=de().getClient();e&&oe(((t,n)=>{const r=de().getIntegration(Ln);return r?function(e,t,n,r,s){if(!(r.exception&&r.exception.values&&s&&_(s.originalException,Error)))return r;const o=Mn(e,n,s.originalException,t);return r.exception.values=[...o,...r.exception.values],r}(e.getOptions().stackParser,r._key,r._limit,t,n):t}))}}function Mn(e,t,n,r,s=[]){if(!_(n[r],Error)||s.length+1>=t)return s;const o=yt(e,n[r]);return Mn(e,t,n[r],r,[o,...s])}Ln.__initStatic();class Dn{constructor(){Dn.prototype.__init.call(this)}static __initStatic(){this.id="HttpContext"}__init(){this.name=Dn.id}setupOnce(){oe((e=>{if(de().getIntegration(Dn)){if(!nt.navigator&&!nt.location&&!nt.document)return e;const t=e.request&&e.request.url||nt.location&&nt.location.href,{referrer:n}=nt.document||{},{userAgent:r}=nt.navigator||{},s={...e.request&&e.request.headers,...n&&{Referer:n},...r&&{"User-Agent":r}},o={...e.request,...t&&{url:t},headers:s};return{...e,request:o}}return e}))}}Dn.__initStatic();class Pn{constructor(){Pn.prototype.__init.call(this)}static __initStatic(){this.id="Dedupe"}__init(){this.name=Pn.id}setupOnce(e,t){const n=e=>{if(e.type)return e;const n=t().getIntegration(Pn);if(n){try{if(function(e,t){return!!t&&(!!function(e,t){const n=e.message,r=t.message;return!(!n&&!r)&&(!(n&&!r||!n&&r)&&(n===r&&(!!Un(e,t)&&!!Fn(e,t))))}(e,t)||!!function(e,t){const n=Bn(t),r=Bn(e);return!(!n||!r)&&(n.type===r.type&&n.value===r.value&&(!!Un(e,t)&&!!Fn(e,t)))}(e,t))}(e,n._previousEvent))return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&B.warn("Event dropped due to being a duplicate of previously captured event."),null}catch(t){return n._previousEvent=e}return n._previousEvent=e}return e};n.id=this.name,e(n)}}function Fn(e,t){let n=jn(e),r=jn(t);if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;if(r.length!==n.length)return!1;for(let e=0;e<r.length;e++){const t=r[e],s=n[e];if(t.filename!==s.filename||t.lineno!==s.lineno||t.colno!==s.colno||t.function!==s.function)return!1}return!0}function Un(e,t){let n=e.fingerprint,r=t.fingerprint;if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;try{return!(n.join("")!==r.join(""))}catch(e){return!1}}function Bn(e){return e.exception&&e.exception.values&&e.exception.values[0]}function jn(e){const t=e.exception;if(t)try{return t.values[0].stacktrace.frames}catch(e){return}}Pn.__initStatic();const Vn=[new X,new D,new Cn,new Wt,new bn,new Ln,new Pn,new Dn];function $n(e={}){void 0===e.defaultIntegrations&&(e.defaultIntegrations=Vn),void 0===e.release&&("string"==typeof __SENTRY_RELEASE__&&(e.release=__SENTRY_RELEASE__),nt.SENTRY_RELEASE&&nt.SENTRY_RELEASE.id&&(e.release=nt.SENTRY_RELEASE.id)),void 0===e.autoSessionTracking&&(e.autoSessionTracking=!0),void 0===e.sendClientReports&&(e.sendClientReports=!0);const t={...e,stackParser:(n=e.stackParser||vn,Array.isArray(n)?De(...n):n),integrations:ut(e),transport:e.transport||(Ct()?en:nn)};var n;!function(e,t){!0===t.debug&&("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__?B.enable():console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle."));const n=de(),r=n.getScope();r&&r.update(t.initialScope);const s=new e(t);n.bindClient(s)}(Zt,t),e.autoSessionTracking&&function(){if(void 0===nt.document)return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&B.warn("Session tracking in non-browser environment with @sentry/browser is not supported."));const e=de();e.captureSession&&(Kn(e),Lt("history",(({from:e,to:t})=>{void 0!==e&&e!==t&&Kn(de())})))}()}function Gn(e={},t=de()){if(!nt.document)return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&B.error("Global document not defined in showReportDialog call"));const{client:n,scope:r}=t.getStackTop(),s=e.dsn||n&&n.getDsn();if(!s)return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&B.error("DSN not configured for showReportDialog call"));r&&(e.user={...r.getUser(),...e.user}),e.eventId||(e.eventId=t.lastEventId());const o=nt.document.createElement("script");o.async=!0,o.src=function(e,t){const n=Le(e),r=`${at(n)}embed/error-page/`;let s=`dsn=${Ae(n)}`;for(const e in t)if("dsn"!==e)if("user"===e){const e=t.user;if(!e)continue;e.name&&(s+=`&name=${encodeURIComponent(e.name)}`),e.email&&(s+=`&email=${encodeURIComponent(e.email)}`)}else s+=`&${encodeURIComponent(e)}=${encodeURIComponent(t[e])}`;return`${r}?${s}`}(s,e),e.onLoad&&(o.onload=e.onLoad);const i=nt.document.head||nt.document.body;i?i.appendChild(o):("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&B.error("Not injecting report dialog. No injection point found in HTML")}function Hn(){return de().lastEventId()}function zn(){}function Yn(e){e()}function Wn(e){const t=de().getClient();return t?t.flush(e):(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&B.warn("Cannot flush events. No client defined."),Q(!1))}function Xn(e){const t=de().getClient();return t?t.close(e):(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&B.warn("Cannot flush events and disable SDK. No client defined."),Q(!1))}function qn(e){return ot(e)()}function Kn(e){e.startSession({ignoreDuration:!0}),e.captureSession()}const Jn=m.n2,Zn="sentryReplaySession",Qn="replay_event",er="Unable to send Replay",tr=3e5,nr=tr,rr=36e5;var sr;function or(e){const t=null==e?void 0:e.host;return Boolean(t&&t.shadowRoot&&t.shadowRoot===e)}function ir({maskInputOptions:e,tagName:t,type:n}){return e[t.toLowerCase()]||e[n]||"input"===t&&!n&&e.text}function ar({input:e,maskInputSelector:t,unmaskInputSelector:n,maskInputOptions:r,tagName:s,type:o,value:i,maskInputFn:a}){let l=i||"";return n&&e.matches(n)||(ir({maskInputOptions:r,tagName:s,type:o})||t&&e.matches(t))&&(l=a?a(l):"*".repeat(l.length)),l}!function(e){e[e.Document=0]="Document",e[e.DocumentType=1]="DocumentType",e[e.Element=2]="Element",e[e.Text=3]="Text",e[e.CDATA=4]="CDATA",e[e.Comment=5]="Comment"}(sr||(sr={}));const lr="__rrweb_original__";let cr=1;const ur=new RegExp("[^a-z0-9-_:]"),dr=-2;function pr(e){return e?e.replace(/[\S]/g,"*"):""}function hr(e){try{const t=e.rules||e.cssRules;return t?Array.from(t).map(fr).join(""):null}catch(e){return null}}function fr(e){let t=e.cssText;if(function(e){return"styleSheet"in e}(e))try{t=hr(e.styleSheet)||t}catch(e){}return t}let _r,mr;const gr=/url\((?:(')([^']*)'|(")(.*?)"|([^)]*))\)/gm,yr=/^(?!www\.|(?:http|ftp)s?:\/\/|[A-Za-z]:\\|\/\/|#).*/,vr=/^(data:)([^,]*),(.*)/i;function Er(e,t){return(e||"").replace(gr,((e,n,r,s,o,i)=>{const a=r||o||i,l=n||s||"";if(!a)return e;if(!yr.test(a))return`url(${l}${a}${l})`;if(vr.test(a))return`url(${l}${a}${l})`;if("/"===a[0])return`url(${l}${function(e){let t="";return t=e.indexOf("//")>-1?e.split("/").slice(0,3).join("/"):e.split("/")[0],t=t.split("?")[0],t}(t)+a}${l})`;const c=t.split("/"),u=a.split("/");c.pop();for(const e of u)"."!==e&&(".."===e?c.pop():c.push(e));return`url(${l}${c.join("/")}${l})`}))}const br=/^[^ \t\n\r\u000c]+/,Sr=/^[, \t\n\r\u000c]+/;function Tr(e,t){if(!t||""===t.trim())return t;const n=e.createElement("a");return n.href=t,n.href}function wr(){const e=document.createElement("a");return e.href="",e.href}function kr(e,t,n,r,s,o){return r?"src"===n||"href"===n||"xlink:href"===n&&"#"!==r[0]?Tr(e,r):"background"!==n||"table"!==t&&"td"!==t&&"th"!==t?"srcset"===n?function(e,t){if(""===t.trim())return t;let n=0;function r(e){let r,s=e.exec(t.substring(n));return s?(r=s[0],n+=r.length,r):""}let s=[];for(;r(Sr),!(n>=t.length);){let o=r(br);if(","===o.slice(-1))o=Tr(e,o.substring(0,o.length-1)),s.push(o);else{let r="";o=Tr(e,o);let i=!1;for(;;){let e=t.charAt(n);if(""===e){s.push((o+r).trim());break}if(i)")"===e&&(i=!1);else{if(","===e){n+=1,s.push((o+r).trim());break}"("===e&&(i=!0)}r+=e,n+=1}}}return s.join(", ")}(e,r):"style"===n?Er(r,wr()):"object"===t&&"data"===n?Tr(e,r):s&&["placeholder","title","aria-label"].indexOf(n)>-1?o?o(r):pr(r):r:Tr(e,r):r}function Or(e,t,n,r,s){if(!e)return!1;if(e.nodeType!==e.ELEMENT_NODE)return Or(e.parentNode,t,n,r,s);if(r&&(e.matches(r)||e.closest(r)))return!1;if(s)return!0;if("string"==typeof t){if(e.classList.contains(t))return!0}else for(let n=0;n<e.classList.length;n++){const r=e.classList[n];if(t.test(r))return!0}return!(!n||!e.matches(n))||Or(e.parentNode,t,n,r,s)}function Nr(e){return null==e?"":e.toLowerCase()}function Cr(e,t){const{doc:n,map:r,blockClass:s,blockSelector:o,unblockSelector:i,maskTextClass:a,maskTextSelector:l,unmaskTextSelector:c,skipChild:u=!1,inlineStylesheet:d=!0,maskInputSelector:p,unmaskInputSelector:h,maskAllText:f,maskInputOptions:_={},maskTextFn:m,maskInputFn:g,slimDOMOptions:y,dataURLOptions:v={},inlineImages:E=!1,recordCanvas:b=!1,onSerialize:S,onIframeLoad:T,iframeLoadTimeout:w=5e3,keepIframeSrcFn:k=(()=>!1)}=t;let{preserveWhiteSpace:O=!0}=t;const N=function(e,t){var n;const{doc:r,blockClass:s,blockSelector:o,unblockSelector:i,maskTextClass:a,maskTextSelector:l,unmaskTextSelector:c,inlineStylesheet:u,maskInputSelector:d,unmaskInputSelector:p,maskAllText:h,maskInputOptions:f={},maskTextFn:_,maskInputFn:m,dataURLOptions:g={},inlineImages:y,recordCanvas:v,keepIframeSrcFn:E}=t;let b;if(r.__sn){const e=r.__sn.id;b=1===e?void 0:e}switch(e.nodeType){case e.DOCUMENT_NODE:return"CSS1Compat"!==e.compatMode?{type:sr.Document,childNodes:[],compatMode:e.compatMode,rootId:b}:{type:sr.Document,childNodes:[],rootId:b};case e.DOCUMENT_TYPE_NODE:return{type:sr.DocumentType,name:e.name,publicId:e.publicId,systemId:e.systemId,rootId:b};case e.ELEMENT_NODE:const t=function(e,t,n,r){if(r&&e.matches(r))return!1;if("string"==typeof t){if(e.classList.contains(t))return!0}else for(let n=0;n<e.classList.length;n++){const r=e.classList[n];if(t.test(r))return!0}return!!n&&e.matches(n)}(e,s,o,i),w=function(e){if(e instanceof HTMLFormElement)return"form";const t=e.tagName.toLowerCase().trim();return ur.test(t)?"div":t}(e);let k={};for(const{name:t,value:n}of Array.from(e.attributes))xr(w,t)||(k[t]=kr(r,w,t,n,h,_));if("link"===w&&u){const t=Array.from(r.styleSheets).find((t=>t.href===e.href));let n=null;t&&(n=hr(t)),n&&(delete k.rel,delete k.href,k._cssText=Er(n,t.href))}if("style"===w&&e.sheet&&!(e.innerText||e.textContent||"").trim().length){const t=hr(e.sheet);t&&(k._cssText=Er(t,wr()))}if("input"===w||"textarea"===w||"select"===w){const t=e.value;"radio"!==k.type&&"checkbox"!==k.type&&"submit"!==k.type&&"button"!==k.type&&t?k.value=ar({input:e,type:k.type,tagName:w,value:t,maskInputSelector:d,unmaskInputSelector:p,maskInputOptions:f,maskInputFn:m}):e.checked&&(k.checked=e.checked)}if("option"===w&&(e.selected&&!f.select?k.selected=!0:delete k.selected),"canvas"===w&&v)if("2d"===e.__context)(function(e){const t=e.getContext("2d");if(!t)return!0;for(let n=0;n<e.width;n+=50)for(let r=0;r<e.height;r+=50){const s=t.getImageData,o=lr in s?s[lr]:s;if(new Uint32Array(o.call(t,n,r,Math.min(50,e.width-n),Math.min(50,e.height-r)).data.buffer).some((e=>0!==e)))return!1}return!0})(e)||(k.rr_dataURL=e.toDataURL(g.type,g.quality));else if(!("__context"in e)){const t=e.toDataURL(g.type,g.quality),n=document.createElement("canvas");n.width=e.width,n.height=e.height,t!==n.toDataURL(g.type,g.quality)&&(k.rr_dataURL=t)}if("img"===w&&y){_r||(_r=r.createElement("canvas"),mr=_r.getContext("2d"));const t=e,n=t.crossOrigin;t.crossOrigin="anonymous";const s=()=>{try{_r.width=t.naturalWidth,_r.height=t.naturalHeight,mr.drawImage(t,0,0),k.rr_dataURL=_r.toDataURL(g.type,g.quality)}catch(e){console.warn(`Cannot inline img src=${t.currentSrc}! Error: ${e}`)}n?k.crossOrigin=n:delete k.crossOrigin};t.complete&&0!==t.naturalWidth?s():t.onload=s}if("audio"!==w&&"video"!==w||(k.rr_mediaState=e.paused?"paused":"played",k.rr_mediaCurrentTime=e.currentTime),e.scrollLeft&&(k.rr_scrollLeft=e.scrollLeft),e.scrollTop&&(k.rr_scrollTop=e.scrollTop),t){const{width:t,height:n}=e.getBoundingClientRect();k={class:k.class,rr_width:`${t}px`,rr_height:`${n}px`}}return"iframe"!==w||E(k.src)||(e.contentDocument||(k.rr_src=k.src),delete k.src),{type:sr.Element,tagName:w,attributes:k,childNodes:[],isSVG:(T=e,Boolean("svg"===T.tagName||T.ownerSVGElement)||void 0),needBlock:t,rootId:b};case e.TEXT_NODE:const O=e.parentNode&&e.parentNode.tagName;let N=e.textContent;const C="STYLE"===O||void 0,x="SCRIPT"===O||void 0;if(C&&N){try{e.nextSibling||e.previousSibling||(null===(n=e.parentNode.sheet)||void 0===n?void 0:n.cssRules)&&(N=(S=e.parentNode.sheet).cssRules?Array.from(S.cssRules).map((e=>e.cssText||"")).join(""):"")}catch(t){console.warn(`Cannot get CSS styles from text's parentNode. Error: ${t}`,e)}N=Er(N,wr())}return x&&(N="SCRIPT_PLACEHOLDER"),"TEXTAREA"===O&&N?N="":!C&&!x&&Or(e,a,l,c,h)&&N&&(N=_?_(N):pr(N)),{type:sr.Text,textContent:N||"",isStyle:C,rootId:b};case e.CDATA_SECTION_NODE:return{type:sr.CDATA,textContent:"",rootId:b};case e.COMMENT_NODE:return{type:sr.Comment,textContent:e.textContent||"",rootId:b};default:return!1}var S,T}(e,{doc:n,blockClass:s,blockSelector:o,unblockSelector:i,maskTextClass:a,maskTextSelector:l,unmaskTextSelector:c,inlineStylesheet:d,maskInputSelector:p,unmaskInputSelector:h,maskAllText:f,maskInputOptions:_,maskTextFn:m,maskInputFn:g,dataURLOptions:v,inlineImages:E,recordCanvas:b,keepIframeSrcFn:k});if(!N)return console.warn(e,"not serialized"),null;let C;C="__sn"in e?e.__sn.id:!function(e,t){if(t.comment&&e.type===sr.Comment)return!0;if(e.type===sr.Element){if(t.script&&("script"===e.tagName||"link"===e.tagName&&("preload"===e.attributes.rel||"modulepreload"===e.attributes.rel)&&"script"===e.attributes.as||"link"===e.tagName&&"prefetch"===e.attributes.rel&&"string"==typeof e.attributes.href&&e.attributes.href.endsWith(".js")))return!0;if(t.headFavicon&&("link"===e.tagName&&"shortcut icon"===e.attributes.rel||"meta"===e.tagName&&(Nr(e.attributes.name).match(/^msapplication-tile(image|color)$/)||"application-name"===Nr(e.attributes.name)||"icon"===Nr(e.attributes.rel)||"apple-touch-icon"===Nr(e.attributes.rel)||"shortcut icon"===Nr(e.attributes.rel))))return!0;if("meta"===e.tagName){if(t.headMetaDescKeywords&&Nr(e.attributes.name).match(/^description|keywords$/))return!0;if(t.headMetaSocial&&(Nr(e.attributes.property).match(/^(og|twitter|fb):/)||Nr(e.attributes.name).match(/^(og|twitter):/)||"pinterest"===Nr(e.attributes.name)))return!0;if(t.headMetaRobots&&("robots"===Nr(e.attributes.name)||"googlebot"===Nr(e.attributes.name)||"bingbot"===Nr(e.attributes.name)))return!0;if(t.headMetaHttpEquiv&&void 0!==e.attributes["http-equiv"])return!0;if(t.headMetaAuthorship&&("author"===Nr(e.attributes.name)||"generator"===Nr(e.attributes.name)||"framework"===Nr(e.attributes.name)||"publisher"===Nr(e.attributes.name)||"progid"===Nr(e.attributes.name)||Nr(e.attributes.property).match(/^article:/)||Nr(e.attributes.property).match(/^product:/)))return!0;if(t.headMetaVerification&&("google-site-verification"===Nr(e.attributes.name)||"yandex-verification"===Nr(e.attributes.name)||"csrf-token"===Nr(e.attributes.name)||"p:domain_verify"===Nr(e.attributes.name)||"verify-v1"===Nr(e.attributes.name)||"verification"===Nr(e.attributes.name)||"shopify-checkout-api-token"===Nr(e.attributes.name)))return!0}}return!1}(N,y)&&(O||N.type!==sr.Text||N.isStyle||N.textContent.replace(/^\s+|\s+$/gm,"").length)?cr++:dr;const x=Object.assign(N,{id:C});if(e.__sn=x,C===dr)return null;r[C]=e,S&&S(e);let I=!u;if(x.type===sr.Element&&(I=I&&!x.needBlock,delete x.needBlock,e.shadowRoot&&(x.isShadowHost=!0)),(x.type===sr.Document||x.type===sr.Element)&&I){y.headWhitespace&&N.type===sr.Element&&"head"===N.tagName&&(O=!1);const t={doc:n,map:r,blockClass:s,blockSelector:o,unblockSelector:i,maskTextClass:a,maskTextSelector:l,unmaskTextSelector:c,skipChild:u,inlineStylesheet:d,maskInputSelector:p,unmaskInputSelector:h,maskAllText:f,maskInputOptions:_,maskTextFn:m,maskInputFn:g,slimDOMOptions:y,dataURLOptions:v,inlineImages:E,recordCanvas:b,preserveWhiteSpace:O,onSerialize:S,onIframeLoad:T,iframeLoadTimeout:w,keepIframeSrcFn:k};for(const n of Array.from(e.childNodes)){const e=Cr(n,t);e&&x.childNodes.push(e)}if(function(e){return e.nodeType===e.ELEMENT_NODE}(e)&&e.shadowRoot)for(const n of Array.from(e.shadowRoot.childNodes)){const e=Cr(n,t);e&&(e.isShadow=!0,x.childNodes.push(e))}}return e.parentNode&&or(e.parentNode)&&(x.isShadow=!0),x.type===sr.Element&&"iframe"===x.tagName&&function(e,t,n){const r=e.contentWindow;if(!r)return;let s,o=!1;try{s=r.document.readyState}catch(e){return}if("complete"!==s){const r=setTimeout((()=>{o||(t(),o=!0)}),n);return void e.addEventListener("load",(()=>{clearTimeout(r),o=!0,t()}))}const i="about:blank";r.location.href===i&&e.src!==i&&""!==e.src?e.addEventListener("load",t):setTimeout(t,0)}(e,(()=>{const t=e.contentDocument;if(t&&T){const n=Cr(t,{doc:t,map:r,blockClass:s,blockSelector:o,unblockSelector:i,maskTextClass:a,maskTextSelector:l,unmaskTextSelector:c,skipChild:!1,inlineStylesheet:d,maskInputSelector:p,unmaskInputSelector:h,maskAllText:f,maskInputOptions:_,maskTextFn:m,maskInputFn:g,slimDOMOptions:y,dataURLOptions:v,inlineImages:E,recordCanvas:b,preserveWhiteSpace:O,onSerialize:S,onIframeLoad:T,iframeLoadTimeout:w,keepIframeSrcFn:k});n&&T(e,n)}}),w),x}function xr(e,t,n){return("video"===e||"audio"===e)&&"autoplay"===t}var Ir,Ar,Rr,Lr,Mr,Dr;function Pr(e,t,n=document){const r={capture:!0,passive:!0};return n.addEventListener(e,t,r),()=>n.removeEventListener(e,t,r)}!function(e){e[e.DomContentLoaded=0]="DomContentLoaded",e[e.Load=1]="Load",e[e.FullSnapshot=2]="FullSnapshot",e[e.IncrementalSnapshot=3]="IncrementalSnapshot",e[e.Meta=4]="Meta",e[e.Custom=5]="Custom",e[e.Plugin=6]="Plugin"}(Ir||(Ir={})),function(e){e[e.Mutation=0]="Mutation",e[e.MouseMove=1]="MouseMove",e[e.MouseInteraction=2]="MouseInteraction",e[e.Scroll=3]="Scroll",e[e.ViewportResize=4]="ViewportResize",e[e.Input=5]="Input",e[e.TouchMove=6]="TouchMove",e[e.MediaInteraction=7]="MediaInteraction",e[e.StyleSheetRule=8]="StyleSheetRule",e[e.CanvasMutation=9]="CanvasMutation",e[e.Font=10]="Font",e[e.Log=11]="Log",e[e.Drag=12]="Drag",e[e.StyleDeclaration=13]="StyleDeclaration"}(Ar||(Ar={})),function(e){e[e.MouseUp=0]="MouseUp",e[e.MouseDown=1]="MouseDown",e[e.Click=2]="Click",e[e.ContextMenu=3]="ContextMenu",e[e.DblClick=4]="DblClick",e[e.Focus=5]="Focus",e[e.Blur=6]="Blur",e[e.TouchStart=7]="TouchStart",e[e.TouchMove_Departed=8]="TouchMove_Departed",e[e.TouchEnd=9]="TouchEnd",e[e.TouchCancel=10]="TouchCancel"}(Rr||(Rr={})),function(e){e[e["2D"]=0]="2D",e[e.WebGL=1]="WebGL",e[e.WebGL2=2]="WebGL2"}(Lr||(Lr={})),function(e){e[e.Play=0]="Play",e[e.Pause=1]="Pause",e[e.Seeked=2]="Seeked",e[e.VolumeChange=3]="VolumeChange"}(Mr||(Mr={})),function(e){e.Start="start",e.Pause="pause",e.Resume="resume",e.Resize="resize",e.Finish="finish",e.FullsnapshotRebuilded="fullsnapshot-rebuilded",e.LoadStylesheetStart="load-stylesheet-start",e.LoadStylesheetEnd="load-stylesheet-end",e.SkipStart="skip-start",e.SkipEnd="skip-end",e.MouseInteraction="mouse-interaction",e.EventCast="event-cast",e.CustomEvent="custom-event",e.Flush="flush",e.StateChange="state-change",e.PlayBack="play-back"}(Dr||(Dr={}));const Fr="Please stop import mirror directly. Instead of that,\r\nnow you can use replayer.getMirror() to access the mirror instance of a replayer,\r\nor you can use record.mirror to access the mirror instance during recording.";let Ur={map:{},getId:()=>(console.error(Fr),-1),getNode:()=>(console.error(Fr),null),removeNodeFromMap(){console.error(Fr)},has:()=>(console.error(Fr),!1),reset(){console.error(Fr)}};function Br(e,t,n={}){let r=null,s=0;return function(o){let i=Date.now();s||!1!==n.leading||(s=i);let a=t-(i-s),l=this,c=arguments;a<=0||a>t?(r&&(clearTimeout(r),r=null),s=i,e.apply(l,c)):r||!1===n.trailing||(r=setTimeout((()=>{s=!1===n.leading?0:Date.now(),r=null,e.apply(l,c)}),a))}}function jr(e,t,n,r,s=window){const o=s.Object.getOwnPropertyDescriptor(e,t);return s.Object.defineProperty(e,t,r?n:{set(e){setTimeout((()=>{n.set.call(this,e)}),0),o&&o.set&&o.set.call(this,e)}}),()=>jr(e,t,o||{},!0)}function Vr(e,t,n){try{if(!(t in e))return()=>{};const r=e[t],s=n(r);return"function"==typeof s&&(s.prototype=s.prototype||{},Object.defineProperties(s,{__rrweb_original__:{enumerable:!1,value:r}})),e[t]=s,()=>{e[t]=r}}catch(e){return()=>{}}}function $r(){return window.innerHeight||document.documentElement&&document.documentElement.clientHeight||document.body&&document.body.clientHeight}function Gr(){return window.innerWidth||document.documentElement&&document.documentElement.clientWidth||document.body&&document.body.clientWidth}function Hr(e,t,n,r){if(!e)return!1;if(e.nodeType===e.ELEMENT_NODE){let s=!1;const o=r&&e.matches(r);return"string"==typeof t?s=void 0!==e.closest?!o&&null!==e.closest("."+t):!o&&e.classList.contains(t):!o&&e.classList.forEach((e=>{t.test(e)&&(s=!0)})),!s&&n&&(s=e.matches(n)),!o&&s||Hr(e.parentNode,t,n,r)}return e.nodeType,e.TEXT_NODE,Hr(e.parentNode,t,n,r)}function zr(e){return"__sn"in e&&e.__sn.id===dr}function Yr(e,t){if(or(e))return!1;const n=t.getId(e);return!t.has(n)||(!e.parentNode||e.parentNode.nodeType!==e.DOCUMENT_NODE)&&(!e.parentNode||Yr(e.parentNode,t))}function Wr(e){return Boolean(e.changedTouches)}function Xr(e){return"__sn"in e&&e.__sn.type===sr.Element&&"iframe"===e.__sn.tagName}function qr(e){return Boolean(null==e?void 0:e.shadowRoot)}function Kr(e){return"__ln"in e}"undefined"!=typeof window&&window.Proxy&&window.Reflect&&(Ur=new Proxy(Ur,{get:(e,t,n)=>("map"===t&&console.error(Fr),Reflect.get(e,t,n))}));class Jr{constructor(){this.length=0,this.head=null}get(e){if(e>=this.length)throw new Error("Position outside of list range");let t=this.head;for(let n=0;n<e;n++)t=(null==t?void 0:t.next)||null;return t}addNode(e){const t={value:e,previous:null,next:null};if(e.__ln=t,e.previousSibling&&Kr(e.previousSibling)){const n=e.previousSibling.__ln.next;t.next=n,t.previous=e.previousSibling.__ln,e.previousSibling.__ln.next=t,n&&(n.previous=t)}else if(e.nextSibling&&Kr(e.nextSibling)&&e.nextSibling.__ln.previous){const n=e.nextSibling.__ln.previous;t.previous=n,t.next=e.nextSibling.__ln,e.nextSibling.__ln.previous=t,n&&(n.next=t)}else this.head&&(this.head.previous=t),t.next=this.head,this.head=t;this.length++}removeNode(e){const t=e.__ln;this.head&&(t.previous?(t.previous.next=t.next,t.next&&(t.next.previous=t.previous)):(this.head=t.next,this.head&&(this.head.previous=null)),e.__ln&&delete e.__ln,this.length--)}}const Zr=(e,t)=>`${e}@${t}`;function Qr(e){return"__sn"in e}class es{constructor(){this.frozen=!1,this.locked=!1,this.texts=[],this.attributes=[],this.removes=[],this.mapRemoves=[],this.movedMap={},this.addedSet=new Set,this.movedSet=new Set,this.droppedSet=new Set,this.processMutations=e=>{e.forEach(this.processMutation),this.emit()},this.emit=()=>{if(this.frozen||this.locked)return;const e=[],t=new Jr,n=e=>{let t=e,n=dr;for(;n===dr;)t=t&&t.nextSibling,n=t&&this.mirror.getId(t);return n},r=r=>{var s,o,i,a,l;const c=r.getRootNode?null===(s=r.getRootNode())||void 0===s?void 0:s.host:null;let u=c;for(;null===(i=null===(o=null==u?void 0:u.getRootNode)||void 0===o?void 0:o.call(u))||void 0===i?void 0:i.host;)u=(null===(l=null===(a=null==u?void 0:u.getRootNode)||void 0===a?void 0:a.call(u))||void 0===l?void 0:l.host)||null;const d=!(this.doc.contains(r)||u&&this.doc.contains(u));if(!r.parentNode||d)return;const p=or(r.parentNode)?this.mirror.getId(c):this.mirror.getId(r.parentNode),h=n(r);if(-1===p||-1===h)return t.addNode(r);let f=Cr(r,{doc:this.doc,map:this.mirror.map,blockClass:this.blockClass,blockSelector:this.blockSelector,unblockSelector:this.unblockSelector,maskTextClass:this.maskTextClass,maskTextSelector:this.maskTextSelector,unmaskTextSelector:this.unmaskTextSelector,maskInputSelector:this.maskInputSelector,unmaskInputSelector:this.unmaskInputSelector,skipChild:!0,inlineStylesheet:this.inlineStylesheet,maskAllText:this.maskAllText,maskInputOptions:this.maskInputOptions,maskTextFn:this.maskTextFn,maskInputFn:this.maskInputFn,slimDOMOptions:this.slimDOMOptions,recordCanvas:this.recordCanvas,inlineImages:this.inlineImages,onSerialize:e=>{Xr(e)&&this.iframeManager.addIframe(e),qr(r)&&this.shadowDomManager.addShadowRoot(r.shadowRoot,document)},onIframeLoad:(e,t)=>{this.iframeManager.attachIframe(e,t),this.shadowDomManager.observeAttachShadow(e)}});f&&e.push({parentId:p,nextId:h,node:f})};for(;this.mapRemoves.length;)this.mirror.removeNodeFromMap(this.mapRemoves.shift());for(const e of this.movedSet)ns(this.removes,e,this.mirror)&&!this.movedSet.has(e.parentNode)||r(e);for(const e of this.addedSet)rs(this.droppedSet,e)||ns(this.removes,e,this.mirror)?rs(this.movedSet,e)?r(e):this.droppedSet.add(e):r(e);let s=null;for(;t.length;){let e=null;if(s){const t=this.mirror.getId(s.value.parentNode),r=n(s.value);-1!==t&&-1!==r&&(e=s)}if(!e)for(let r=t.length-1;r>=0;r--){const s=t.get(r);if(s){const t=this.mirror.getId(s.value.parentNode),r=n(s.value);if(-1!==t&&-1!==r){e=s;break}}}if(!e){for(;t.head;)t.removeNode(t.head.value);break}s=e.previous,t.removeNode(e.value),r(e.value)}const o={texts:this.texts.map((e=>({id:this.mirror.getId(e.node),value:e.value}))).filter((e=>this.mirror.has(e.id))),attributes:this.attributes.map((e=>({id:this.mirror.getId(e.node),attributes:e.attributes}))).filter((e=>this.mirror.has(e.id))),removes:this.removes,adds:e};(o.texts.length||o.attributes.length||o.removes.length||o.adds.length)&&(this.texts=[],this.attributes=[],this.removes=[],this.addedSet=new Set,this.movedSet=new Set,this.droppedSet=new Set,this.movedMap={},this.mutationCb(o))},this.processMutation=e=>{if(!zr(e.target))switch(e.type){case"characterData":{const t=e.target.textContent;Hr(e.target,this.blockClass,this.blockSelector,this.unblockSelector)||t===e.oldValue||this.texts.push({value:Or(e.target,this.maskTextClass,this.maskTextSelector,this.unmaskTextSelector,this.maskAllText)&&t?this.maskTextFn?this.maskTextFn(t):t.replace(/[\S]/g,"*"):t,node:e.target});break}case"attributes":{const t=e.target;let n=e.target.getAttribute(e.attributeName);if("value"===e.attributeName&&(n=ar({input:t,maskInputSelector:this.maskInputSelector,unmaskInputSelector:this.unmaskInputSelector,maskInputOptions:this.maskInputOptions,tagName:e.target.tagName,type:e.target.getAttribute("type"),value:n,maskInputFn:this.maskInputFn})),Hr(e.target,this.blockClass,this.blockSelector,this.unblockSelector)||n===e.oldValue)return;let r=this.attributes.find((t=>t.node===e.target));if(r||(r={node:e.target,attributes:{}},this.attributes.push(r)),"style"===e.attributeName){const n=this.doc.createElement("span");e.oldValue&&n.setAttribute("style",e.oldValue),void 0!==r.attributes.style&&null!==r.attributes.style||(r.attributes.style={});try{const e=r.attributes.style;for(const r of Array.from(t.style)){const s=t.style.getPropertyValue(r),o=t.style.getPropertyPriority(r);s===n.style.getPropertyValue(r)&&o===n.style.getPropertyPriority(r)||(e[r]=""===o?s:[s,o])}for(const r of Array.from(n.style))""===t.style.getPropertyValue(r)&&(e[r]=!1)}catch(e){console.warn("[rrweb] Error when parsing update to style attribute:",e)}}else r.attributes[e.attributeName]=kr(this.doc,e.target.tagName,e.attributeName,n,this.maskAllText,this.maskTextFn);break}case"childList":e.addedNodes.forEach((t=>this.genAdds(t,e.target))),e.removedNodes.forEach((t=>{const n=this.mirror.getId(t),r=or(e.target)?this.mirror.getId(e.target.host):this.mirror.getId(e.target);Hr(e.target,this.blockClass,this.blockSelector,this.unblockSelector)||zr(t)||(this.addedSet.has(t)?(ts(this.addedSet,t),this.droppedSet.add(t)):this.addedSet.has(e.target)&&-1===n||Yr(e.target,this.mirror)||(this.movedSet.has(t)&&this.movedMap[Zr(n,r)]?ts(this.movedSet,t):this.removes.push({parentId:r,id:n,isShadow:!!or(e.target)||void 0})),this.mapRemoves.push(t))}))}},this.genAdds=(e,t)=>{if(!t||!Hr(t,this.blockClass,this.blockSelector,this.unblockSelector)){if(Qr(e)){if(zr(e))return;this.movedSet.add(e);let n=null;t&&Qr(t)&&(n=t.__sn.id),n&&(this.movedMap[Zr(e.__sn.id,n)]=!0)}else this.addedSet.add(e),this.droppedSet.delete(e);Hr(e,this.blockClass,this.blockSelector,this.unblockSelector)||e.childNodes.forEach((e=>this.genAdds(e)))}}}init(e){["mutationCb","blockClass","blockSelector","unblockSelector","maskTextClass","maskTextSelector","unmaskTextSelector","maskInputSelector","unmaskInputSelector","inlineStylesheet","maskAllText","maskInputOptions","maskTextFn","maskInputFn","recordCanvas","inlineImages","slimDOMOptions","doc","mirror","iframeManager","shadowDomManager","canvasManager"].forEach((t=>{this[t]=e[t]}))}freeze(){this.frozen=!0,this.canvasManager.freeze()}unfreeze(){this.frozen=!1,this.canvasManager.unfreeze(),this.emit()}isFrozen(){return this.frozen}lock(){this.locked=!0,this.canvasManager.lock()}unlock(){this.locked=!1,this.canvasManager.unlock(),this.emit()}reset(){this.shadowDomManager.reset(),this.canvasManager.reset()}}function ts(e,t){e.delete(t),t.childNodes.forEach((t=>ts(e,t)))}function ns(e,t,n){const{parentNode:r}=t;if(!r)return!1;const s=n.getId(r);return!!e.some((e=>e.id===s))||ns(e,r,n)}function rs(e,t){const{parentNode:n}=t;return!!n&&(!!e.has(n)||rs(e,n))}const ss=e=>(...t)=>{try{return e(...t)}catch(e){try{e.__rrweb__=!0}catch(e){}throw e}},os=[];function is(e){try{if("composedPath"in e){const t=e.composedPath();if(t.length)return t[0]}else if("path"in e&&e.path.length)return e.path[0]}catch(e){}return e&&e.target}function as(e,t){var n,r;const s=new es;os.push(s),s.init(e);let o=window.MutationObserver||window.__rrMutationObserver;const i=null===(r=null===(n=null===window||void 0===window?void 0:window.Zone)||void 0===n?void 0:n.__symbol__)||void 0===r?void 0:r.call(n,"MutationObserver");i&&window[i]&&(o=window[i]);const a=new o(ss(s.processMutations.bind(s)));return a.observe(t,{attributes:!0,attributeOldValue:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0}),a}function ls({scrollCb:e,doc:t,mirror:n,blockClass:r,blockSelector:s,unblockSelector:o,sampling:i}){const a=Br((i=>{const a=is(i);if(!a||Hr(a,r,s,o))return;const l=n.getId(a);if(a===t){const n=t.scrollingElement||t.documentElement;ss(e)({id:l,x:n.scrollLeft,y:n.scrollTop})}else ss(e)({id:l,x:a.scrollLeft,y:a.scrollTop})}),i.scroll||100);return Pr("scroll",ss(a),t)}function cs(e,t){const n=Object.assign({},e);return t||delete n.userTriggered,n}const us=["INPUT","TEXTAREA","SELECT"],ds=new WeakMap;function ps(e){return function(e,t){if(fs("CSSGroupingRule")&&e.parentRule instanceof CSSGroupingRule||fs("CSSMediaRule")&&e.parentRule instanceof CSSMediaRule||fs("CSSSupportsRule")&&e.parentRule instanceof CSSSupportsRule||fs("CSSConditionRule")&&e.parentRule instanceof CSSConditionRule){const n=Array.from(e.parentRule.cssRules).indexOf(e);t.unshift(n)}else{const n=Array.from(e.parentStyleSheet.cssRules).indexOf(e);t.unshift(n)}return t}(e,[])}function hs(e,t={}){const n=e.doc.defaultView;if(!n)return()=>{};!function(e,t){const{mutationCb:n,mousemoveCb:r,mouseInteractionCb:s,scrollCb:o,viewportResizeCb:i,inputCb:a,mediaInteractionCb:l,styleSheetRuleCb:c,styleDeclarationCb:u,canvasMutationCb:d,fontCb:p}=e;e.mutationCb=(...e)=>{t.mutation&&t.mutation(...e),n(...e)},e.mousemoveCb=(...e)=>{t.mousemove&&t.mousemove(...e),r(...e)},e.mouseInteractionCb=(...e)=>{t.mouseInteraction&&t.mouseInteraction(...e),s(...e)},e.scrollCb=(...e)=>{t.scroll&&t.scroll(...e),o(...e)},e.viewportResizeCb=(...e)=>{t.viewportResize&&t.viewportResize(...e),i(...e)},e.inputCb=(...e)=>{t.input&&t.input(...e),a(...e)},e.mediaInteractionCb=(...e)=>{t.mediaInteaction&&t.mediaInteaction(...e),l(...e)},e.styleSheetRuleCb=(...e)=>{t.styleSheetRule&&t.styleSheetRule(...e),c(...e)},e.styleDeclarationCb=(...e)=>{t.styleDeclaration&&t.styleDeclaration(...e),u(...e)},e.canvasMutationCb=(...e)=>{t.canvasMutation&&t.canvasMutation(...e),d(...e)},e.fontCb=(...e)=>{t.font&&t.font(...e),p(...e)}}(e,t);const r=as(e,e.doc),s=function({mousemoveCb:e,sampling:t,doc:n,mirror:r}){if(!1===t.mousemove)return()=>{};const s="number"==typeof t.mousemove?t.mousemove:50,o="number"==typeof t.mousemoveCallback?t.mousemoveCallback:500;let i,a=[];const l=Br((t=>{const n=Date.now()-i;ss(e)(a.map((e=>(e.timeOffset-=n,e))),t),a=[],i=null}),o),c=Br((e=>{const t=is(e),{clientX:n,clientY:s}=Wr(e)?e.changedTouches[0]:e;i||(i=Date.now()),a.push({x:n,y:s,id:r.getId(t),timeOffset:Date.now()-i}),l("undefined"!=typeof DragEvent&&e instanceof DragEvent?Ar.Drag:e instanceof MouseEvent?Ar.MouseMove:Ar.TouchMove)}),s,{trailing:!1}),u=[Pr("mousemove",ss(c),n),Pr("touchmove",ss(c),n),Pr("drag",ss(c),n)];return ss((()=>{u.forEach((e=>e()))}))}(e),o=function({mouseInteractionCb:e,doc:t,mirror:n,blockClass:r,blockSelector:s,unblockSelector:o,sampling:i}){if(!1===i.mouseInteraction)return()=>{};const a=!0===i.mouseInteraction||void 0===i.mouseInteraction?{}:i.mouseInteraction,l=[];return Object.keys(Rr).filter((e=>Number.isNaN(Number(e))&&!e.endsWith("_Departed")&&!1!==a[e])).forEach((i=>{const a=i.toLowerCase(),c=ss((t=>i=>{const a=is(i);if(Hr(a,r,s,o))return;const l=Wr(i)?i.changedTouches[0]:i;if(!l)return;const c=n.getId(a),{clientX:u,clientY:d}=l;ss(e)({type:Rr[t],id:c,x:u,y:d})})(i));l.push(Pr(a,c,t))})),ss((()=>{l.forEach((e=>e()))}))}(e),i=ls(e),a=function({viewportResizeCb:e}){let t=-1,n=-1;const r=Br((()=>{const r=$r(),s=Gr();t===r&&n===s||(ss(e)({width:Number(s),height:Number(r)}),t=r,n=s)}),200);return Pr("resize",ss(r),window)}(e),l=function({inputCb:e,doc:t,mirror:n,blockClass:r,blockSelector:s,unblockSelector:o,ignoreClass:i,ignoreSelector:a,maskInputSelector:l,unmaskInputSelector:c,maskInputOptions:u,maskInputFn:d,sampling:p,userTriggeredOnInput:h}){function f(e){let n=is(e);const p=e.isTrusted;if(n&&"OPTION"===n.tagName&&(n=n.parentElement),!n||!n.tagName||us.indexOf(n.tagName)<0||Hr(n,r,s,o))return;const f=n.type;if(n.classList.contains(i)||a&&n.matches(a))return;let m=n.value,g=!1;"radio"===f||"checkbox"===f?g=n.checked:function({tagName:e,type:t,maskInputOptions:n,maskInputSelector:r}){return r||ir({maskInputOptions:n,tagName:e,type:t})}({maskInputOptions:u,maskInputSelector:l,tagName:n.tagName,type:f})&&(m=ar({input:n,maskInputOptions:u,maskInputSelector:l,unmaskInputSelector:c,tagName:n.tagName,type:f,value:m,maskInputFn:d})),_(n,ss(cs)({text:m,isChecked:g,userTriggered:p},h));const y=n.name;"radio"===f&&y&&g&&t.querySelectorAll(`input[type="radio"][name="${y}"]`).forEach((e=>{e!==n&&_(e,ss(cs)({text:e.value,isChecked:!g,userTriggered:!1},h))}))}function _(t,r){const s=ds.get(t);if(!s||s.text!==r.text||s.isChecked!==r.isChecked){ds.set(t,r);const s=n.getId(t);e(Object.assign(Object.assign({},r),{id:s}))}}const m=("last"===p.input?["change"]:["input","change"]).map((e=>Pr(e,ss(f),t))),g=Object.getOwnPropertyDescriptor(HTMLInputElement.prototype,"value"),y=[[HTMLInputElement.prototype,"value"],[HTMLInputElement.prototype,"checked"],[HTMLSelectElement.prototype,"value"],[HTMLTextAreaElement.prototype,"value"],[HTMLSelectElement.prototype,"selectedIndex"],[HTMLOptionElement.prototype,"selected"]];return g&&g.set&&m.push(...y.map((e=>jr(e[0],e[1],{set(){ss(f)({target:this})}})))),ss((()=>{m.forEach((e=>e()))}))}(e),c=function({mediaInteractionCb:e,blockClass:t,blockSelector:n,unblockSelector:r,mirror:s,sampling:o}){const i=i=>Br(ss((o=>{const a=is(o);if(!a||Hr(a,t,n,r))return;const{currentTime:l,volume:c,muted:u}=a;e({type:i,id:s.getId(a),currentTime:l,volume:c,muted:u})})),o.media||500),a=[Pr("play",i(0)),Pr("pause",i(1)),Pr("seeked",i(2)),Pr("volumechange",i(3))];return ss((()=>{a.forEach((e=>e()))}))}(e),u=function({styleSheetRuleCb:e,mirror:t},{win:n}){if(!n.CSSStyleSheet||!n.CSSStyleSheet.prototype)return()=>{};const r=n.CSSStyleSheet.prototype.insertRule;n.CSSStyleSheet.prototype.insertRule=new Proxy(r,{apply:ss(((n,r,s)=>{const[o,i]=s,a=t.getId(r.ownerNode);return-1!==a&&e({id:a,adds:[{rule:o,index:i}]}),n.apply(r,s)}))});const s=n.CSSStyleSheet.prototype.deleteRule;n.CSSStyleSheet.prototype.deleteRule=new Proxy(s,{apply:ss(((n,r,s)=>{const[o]=s,i=t.getId(r.ownerNode);return-1!==i&&e({id:i,removes:[{index:o}]}),n.apply(r,s)}))});const o={};_s("CSSGroupingRule")?o.CSSGroupingRule=n.CSSGroupingRule:(_s("CSSMediaRule")&&(o.CSSMediaRule=n.CSSMediaRule),_s("CSSConditionRule")&&(o.CSSConditionRule=n.CSSConditionRule),_s("CSSSupportsRule")&&(o.CSSSupportsRule=n.CSSSupportsRule));const i={};return Object.entries(o).forEach((([n,r])=>{i[n]={insertRule:r.prototype.insertRule,deleteRule:r.prototype.deleteRule},r.prototype.insertRule=new Proxy(i[n].insertRule,{apply:ss(((n,r,s)=>{const[o,i]=s,a=t.getId(r.parentStyleSheet.ownerNode);return-1!==a&&e({id:a,adds:[{rule:o,index:[...ps(r),i||0]}]}),n.apply(r,s)}))}),r.prototype.deleteRule=new Proxy(i[n].deleteRule,{apply:ss(((n,r,s)=>{const[o]=s,i=t.getId(r.parentStyleSheet.ownerNode);return-1!==i&&e({id:i,removes:[{index:[...ps(r),o]}]}),n.apply(r,s)}))})})),ss((()=>{n.CSSStyleSheet.prototype.insertRule=r,n.CSSStyleSheet.prototype.deleteRule=s,Object.entries(o).forEach((([e,t])=>{t.prototype.insertRule=i[e].insertRule,t.prototype.deleteRule=i[e].deleteRule}))}))}(e,{win:n}),d=function({styleDeclarationCb:e,mirror:t},{win:n}){const r=n.CSSStyleDeclaration.prototype.setProperty;n.CSSStyleDeclaration.prototype.setProperty=new Proxy(r,{apply:ss(((n,r,s)=>{var o,i;const[a,l,c]=s,u=t.getId(null===(i=null===(o=r.parentRule)||void 0===o?void 0:o.parentStyleSheet)||void 0===i?void 0:i.ownerNode);return-1!==u&&e({id:u,set:{property:a,value:l,priority:c},index:ps(r.parentRule)}),n.apply(r,s)}))});const s=n.CSSStyleDeclaration.prototype.removeProperty;return n.CSSStyleDeclaration.prototype.removeProperty=new Proxy(s,{apply:ss(((n,r,s)=>{var o,i;const[a]=s,l=t.getId(null===(i=null===(o=r.parentRule)||void 0===o?void 0:o.parentStyleSheet)||void 0===i?void 0:i.ownerNode);return-1!==l&&e({id:l,remove:{property:a},index:ps(r.parentRule)}),n.apply(r,s)}))}),ss((()=>{n.CSSStyleDeclaration.prototype.setProperty=r,n.CSSStyleDeclaration.prototype.removeProperty=s}))}(e,{win:n}),p=e.collectFonts?function({fontCb:e,doc:t}){const n=t.defaultView;if(!n)return()=>{};const r=[],s=new WeakMap,o=n.FontFace;n.FontFace=function(e,t,n){const r=new o(e,t,n);return s.set(r,{family:e,buffer:"string"!=typeof t,descriptors:n,fontSource:"string"==typeof t?t:JSON.stringify(Array.from(new Uint8Array(t)))}),r};const i=Vr(t.fonts,"add",(function(t){return function(n){return setTimeout((()=>{const t=s.get(n);t&&(e(t),s.delete(n))}),0),t.apply(this,[n])}}));return r.push((()=>{n.FontFace=o})),r.push(i),ss((()=>{r.forEach((e=>e()))}))}(e):()=>{},h=[];for(const t of e.plugins)h.push(t.observer(t.callback,n,t.options));return ss((()=>{os.forEach((e=>e.reset())),r.disconnect(),s(),o(),i(),a(),l(),c();try{u(),d()}catch(e){}p(),h.forEach((e=>e()))}))}function fs(e){return void 0!==window[e]}function _s(e){return Boolean(void 0!==window[e]&&window[e].prototype&&"insertRule"in window[e].prototype&&"deleteRule"in window[e].prototype)}class ms{constructor(e){this.iframes=new WeakMap,this.mutationCb=e.mutationCb}addIframe(e){this.iframes.set(e,!0)}addLoadListener(e){this.loadListener=e}attachIframe(e,t){var n;this.mutationCb({adds:[{parentId:e.__sn.id,nextId:null,node:t}],removes:[],texts:[],attributes:[],isAttachIframe:!0}),null===(n=this.loadListener)||void 0===n||n.call(this,e)}}class gs{constructor(e){this.restorePatches=[],this.mutationCb=e.mutationCb,this.scrollCb=e.scrollCb,this.bypassOptions=e.bypassOptions,this.mirror=e.mirror;const t=this;this.restorePatches.push(Vr(HTMLElement.prototype,"attachShadow",(function(e){return function(){const n=e.apply(this,arguments);return this.shadowRoot&&t.addShadowRoot(this.shadowRoot,this.ownerDocument),n}})))}addShadowRoot(e,t){as(Object.assign(Object.assign({},this.bypassOptions),{doc:t,mutationCb:this.mutationCb,mirror:this.mirror,shadowDomManager:this}),e),ls(Object.assign(Object.assign({},this.bypassOptions),{scrollCb:this.scrollCb,doc:e,mirror:this.mirror}))}observeAttachShadow(e){if(e.contentWindow){const t=this;this.restorePatches.push(Vr(e.contentWindow.HTMLElement.prototype,"attachShadow",(function(n){return function(){const r=n.apply(this,arguments);return this.shadowRoot&&t.addShadowRoot(this.shadowRoot,e.contentDocument),r}})))}}reset(){this.restorePatches.forEach((e=>e()))}}for(var ys="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",vs="undefined"==typeof Uint8Array?[]:new Uint8Array(256),Es=0;Es<64;Es++)vs[ys.charCodeAt(Es)]=Es;const bs=new Map,Ss=(e,t,n)=>{if(!e||!ks(e,t)&&"object"!=typeof e)return;const r=function(e,t){let n=bs.get(e);return n||(n=new Map,bs.set(e,n)),n.has(t)||n.set(t,[]),n.get(t)}(n,e.constructor.name);let s=r.indexOf(e);return-1===s&&(s=r.length,r.push(e)),s};function Ts(e,t,n){if(e instanceof Array)return e.map((e=>Ts(e,t,n)));if(null===e)return e;if(e instanceof Float32Array||e instanceof Float64Array||e instanceof Int32Array||e instanceof Uint32Array||e instanceof Uint8Array||e instanceof Uint16Array||e instanceof Int16Array||e instanceof Int8Array||e instanceof Uint8ClampedArray)return{rr_type:e.constructor.name,args:[Object.values(e)]};if(e instanceof ArrayBuffer){const t=e.constructor.name,n=function(e){var t,n=new Uint8Array(e),r=n.length,s="";for(t=0;t<r;t+=3)s+=ys[n[t]>>2],s+=ys[(3&n[t])<<4|n[t+1]>>4],s+=ys[(15&n[t+1])<<2|n[t+2]>>6],s+=ys[63&n[t+2]];return r%3==2?s=s.substring(0,s.length-1)+"=":r%3==1&&(s=s.substring(0,s.length-2)+"=="),s}(e);return{rr_type:t,base64:n}}if(e instanceof DataView)return{rr_type:e.constructor.name,args:[Ts(e.buffer,t,n),e.byteOffset,e.byteLength]};if(e instanceof HTMLImageElement){const t=e.constructor.name,{src:n}=e;return{rr_type:t,src:n}}return e instanceof ImageData?{rr_type:e.constructor.name,args:[Ts(e.data,t,n),e.width,e.height]}:ks(e,t)||"object"==typeof e?{rr_type:e.constructor.name,index:Ss(e,t,n)}:e}const ws=(e,t,n)=>[...e].map((e=>Ts(e,t,n))),ks=(e,t)=>{const n=["WebGLActiveInfo","WebGLBuffer","WebGLFramebuffer","WebGLProgram","WebGLRenderbuffer","WebGLShader","WebGLShaderPrecisionFormat","WebGLTexture","WebGLUniformLocation","WebGLVertexArrayObject","WebGLVertexArrayObjectOES"].filter((e=>"function"==typeof t[e]));return Boolean(n.find((n=>e instanceof t[n])))};function Os(e,t,n,r,s,o,i,a){const l=[],c=Object.getOwnPropertyNames(e);for(const u of c)try{if("function"!=typeof e[u])continue;const c=Vr(e,u,(function(l){return function(...c){const d=l.apply(this,c);if(Ss(d,a,e),!Hr(this.canvas,r,o,s)){i.getId(this.canvas);const r=ws([...c],a,e),s={type:t,property:u,args:r};n(this.canvas,s)}return d}}));l.push(c)}catch(r){const s=jr(e,u,{set(e){n(this.canvas,{type:t,property:u,args:[e],setter:!0})}});l.push(s)}return l}class Ns{reset(){this.pendingCanvasMutations.clear(),this.resetObservers&&this.resetObservers()}freeze(){this.frozen=!0}unfreeze(){this.frozen=!1}lock(){this.locked=!0}unlock(){this.locked=!1}constructor(e){this.pendingCanvasMutations=new Map,this.rafStamps={latestId:0,invokeId:null},this.frozen=!1,this.locked=!1,this.processMutation=function(e,t){!(this.rafStamps.invokeId&&this.rafStamps.latestId!==this.rafStamps.invokeId)&&this.rafStamps.invokeId||(this.rafStamps.invokeId=this.rafStamps.latestId),this.pendingCanvasMutations.has(e)||this.pendingCanvasMutations.set(e,[]),this.pendingCanvasMutations.get(e).push(t)},this.mutationCb=e.mutationCb,this.mirror=e.mirror,!0===e.recordCanvas&&this.initCanvasMutationObserver(e.win,e.blockClass,e.blockSelector,e.unblockSelector)}initCanvasMutationObserver(e,t,n,r){this.startRAFTimestamping(),this.startPendingCanvasMutationFlusher();const s=function(e,t,n,r){const s=[];try{const o=Vr(e.HTMLCanvasElement.prototype,"getContext",(function(e){return function(s,...o){return Hr(this,t,n,r)||"__context"in this||(this.__context=s),e.apply(this,[s,...o])}}));s.push(o)}catch(e){console.error("failed to patch HTMLCanvasElement.prototype.getContext")}return()=>{s.forEach((e=>e()))}}(e,t,r,n),o=function(e,t,n,r,s,o){const i=[],a=Object.getOwnPropertyNames(t.CanvasRenderingContext2D.prototype);for(const o of a)try{if("function"!=typeof t.CanvasRenderingContext2D.prototype[o])continue;const a=Vr(t.CanvasRenderingContext2D.prototype,o,(function(t){return function(...i){return Hr(this.canvas,n,s,r)||setTimeout((()=>{const t=[...i];if("drawImage"===o&&t[0]&&t[0]instanceof HTMLCanvasElement){const e=t[0],n=e.getContext("2d");let r=null==n?void 0:n.getImageData(0,0,e.width,e.height),s=null==r?void 0:r.data;t[0]=JSON.stringify(s)}e(this.canvas,{type:Lr["2D"],property:o,args:t})}),0),t.apply(this,i)}}));i.push(a)}catch(n){const r=jr(t.CanvasRenderingContext2D.prototype,o,{set(t){e(this.canvas,{type:Lr["2D"],property:o,args:[t],setter:!0})}});i.push(r)}return()=>{i.forEach((e=>e()))}}(this.processMutation.bind(this),e,t,r,n,this.mirror),i=function(e,t,n,r,s,o){const i=[];return i.push(...Os(t.WebGLRenderingContext.prototype,Lr.WebGL,e,n,r,s,o,t)),void 0!==t.WebGL2RenderingContext&&i.push(...Os(t.WebGL2RenderingContext.prototype,Lr.WebGL2,e,n,r,s,o,t)),()=>{i.forEach((e=>e()))}}(this.processMutation.bind(this),e,t,r,n,this.mirror);this.resetObservers=()=>{s(),o(),i()}}startPendingCanvasMutationFlusher(){requestAnimationFrame((()=>this.flushPendingCanvasMutations()))}startRAFTimestamping(){const e=t=>{this.rafStamps.latestId=t,requestAnimationFrame(e)};requestAnimationFrame(e)}flushPendingCanvasMutations(){this.pendingCanvasMutations.forEach(((e,t)=>{const n=this.mirror.getId(t);this.flushPendingCanvasMutationFor(t,n)})),requestAnimationFrame((()=>this.flushPendingCanvasMutations()))}flushPendingCanvasMutationFor(e,t){if(this.frozen||this.locked)return;const n=this.pendingCanvasMutations.get(e);if(!n||-1===t)return;const r=n.map((e=>{const t=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var s=0;for(r=Object.getOwnPropertySymbols(e);s<r.length;s++)t.indexOf(r[s])<0&&Object.prototype.propertyIsEnumerable.call(e,r[s])&&(n[r[s]]=e[r[s]])}return n}(e,["type"]);return t})),{type:s}=n[0];this.mutationCb({id:t,type:s,commands:r}),this.pendingCanvasMutations.delete(e)}}function Cs(e){return Object.assign(Object.assign({},e),{timestamp:Date.now()})}let xs,Is;const As={map:{},getId:e=>e&&e.__sn?e.__sn.id:-1,getNode(e){return this.map[e]||null},removeNodeFromMap(e){const t=e.__sn&&e.__sn.id;delete this.map[t],e.childNodes&&e.childNodes.forEach((e=>this.removeNodeFromMap(e)))},has(e){return this.map.hasOwnProperty(e)},reset(){this.map={}}};function Rs(e={}){const{emit:t,checkoutEveryNms:n,checkoutEveryNth:r,blockClass:s="rr-block",blockSelector:o=null,unblockSelector:i=null,ignoreClass:a="rr-ignore",ignoreSelector:l=null,maskTextClass:c="rr-mask",maskTextSelector:u=null,maskInputSelector:d=null,unmaskTextSelector:p=null,unmaskInputSelector:h=null,inlineStylesheet:f=!0,maskAllText:_=!1,maskAllInputs:m,maskInputOptions:g,slimDOMOptions:y,maskInputFn:v,maskTextFn:E,hooks:b,packFn:S,sampling:T={},mousemoveWait:w,recordCanvas:k=!1,userTriggeredOnInput:O=!1,collectFonts:N=!1,inlineImages:C=!1,plugins:x,keepIframeSrcFn:I=(()=>!1)}=e;if(!t)throw new Error("emit function is required");void 0!==w&&void 0===T.mousemove&&(T.mousemove=w);const A=!0===m?{color:!0,date:!0,"datetime-local":!0,email:!0,month:!0,number:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0,textarea:!0,select:!0,password:!0}:void 0!==g?g:{password:!0},R=!0===y||"all"===y?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaVerification:!0,headMetaAuthorship:"all"===y,headMetaDescKeywords:"all"===y}:y||{};let L;!function(e=window){"NodeList"in e&&!e.NodeList.prototype.forEach&&(e.NodeList.prototype.forEach=Array.prototype.forEach),"DOMTokenList"in e&&!e.DOMTokenList.prototype.forEach&&(e.DOMTokenList.prototype.forEach=Array.prototype.forEach),Node.prototype.contains||(Node.prototype.contains=function(e){if(!(0 in arguments))throw new TypeError("1 argument is required");do{if(this===e)return!0}while(e=e&&e.parentNode);return!1})}();let M=0;xs=(e,s)=>{var o;if(!(null===(o=os[0])||void 0===o?void 0:o.isFrozen())||e.type===Ir.FullSnapshot||e.type===Ir.IncrementalSnapshot&&e.data.source===Ar.Mutation||os.forEach((e=>e.unfreeze())),t((e=>{for(const t of x||[])t.eventProcessor&&(e=t.eventProcessor(e));return S&&(e=S(e)),e})(e),s),e.type===Ir.FullSnapshot)L=e,M=0;else if(e.type===Ir.IncrementalSnapshot){if(e.data.source===Ar.Mutation&&e.data.isAttachIframe)return;M++;const t=r&&M>=r,s=n&&e.timestamp-L.timestamp>n;(t||s)&&Is(!0)}};const D=e=>{xs(Cs({type:Ir.IncrementalSnapshot,data:Object.assign({source:Ar.Mutation},e)}))},P=e=>xs(Cs({type:Ir.IncrementalSnapshot,data:Object.assign({source:Ar.Scroll},e)})),F=e=>xs(Cs({type:Ir.IncrementalSnapshot,data:Object.assign({source:Ar.CanvasMutation},e)})),U=new ms({mutationCb:D}),B=new Ns({recordCanvas:k,mutationCb:F,win:window,blockClass:s,blockSelector:o,unblockSelector:i,mirror:As}),j=new gs({mutationCb:D,scrollCb:P,bypassOptions:{blockClass:s,blockSelector:o,unblockSelector:i,maskTextClass:c,maskTextSelector:u,unmaskTextSelector:p,maskInputSelector:d,unmaskInputSelector:h,inlineStylesheet:f,maskAllText:_,maskInputOptions:A,maskTextFn:E,maskInputFn:v,recordCanvas:k,inlineImages:C,sampling:T,slimDOMOptions:R,iframeManager:U,canvasManager:B},mirror:As});Is=(e=!1)=>{var t,n,r,a;xs(Cs({type:Ir.Meta,data:{href:window.location.href,width:Gr(),height:$r()}}),e),os.forEach((e=>e.lock()));const[l,m]=function(e,t){const{blockClass:n="rr-block",blockSelector:r=null,unblockSelector:s=null,maskTextClass:o="rr-mask",maskTextSelector:i=null,unmaskTextSelector:a=null,inlineStylesheet:l=!0,inlineImages:c=!1,recordCanvas:u=!1,maskInputSelector:d=null,unmaskInputSelector:p=null,maskAllText:h=!1,maskAllInputs:f=!1,maskTextFn:_,maskInputFn:m,slimDOM:g=!1,dataURLOptions:y,preserveWhiteSpace:v,onSerialize:E,onIframeLoad:b,iframeLoadTimeout:S,keepIframeSrcFn:T=(()=>!1)}=t||{},w={};return[Cr(e,{doc:e,map:w,blockClass:n,blockSelector:r,unblockSelector:s,maskTextClass:o,maskTextSelector:i,unmaskTextSelector:a,skipChild:!1,inlineStylesheet:l,maskInputSelector:d,unmaskInputSelector:p,maskAllText:h,maskInputOptions:!0===f?{color:!0,date:!0,"datetime-local":!0,email:!0,month:!0,number:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0,textarea:!0,select:!0,password:!0}:!1===f?{password:!0}:f,maskTextFn:_,maskInputFn:m,slimDOMOptions:!0===g||"all"===g?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaDescKeywords:"all"===g,headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaAuthorship:!0,headMetaVerification:!0}:!1===g?{}:g,dataURLOptions:y,inlineImages:c,recordCanvas:u,preserveWhiteSpace:v,onSerialize:E,onIframeLoad:b,iframeLoadTimeout:S,keepIframeSrcFn:T}),w]}(document,{blockClass:s,blockSelector:o,unblockSelector:i,maskTextClass:c,maskTextSelector:u,unmaskTextSelector:p,maskInputSelector:d,unmaskInputSelector:h,inlineStylesheet:f,maskAllText:_,maskAllInputs:A,maskTextFn:E,slimDOM:R,recordCanvas:k,inlineImages:C,onSerialize:e=>{Xr(e)&&U.addIframe(e),qr(e)&&j.addShadowRoot(e.shadowRoot,document)},onIframeLoad:(e,t)=>{U.attachIframe(e,t),j.observeAttachShadow(e)},keepIframeSrcFn:I});if(!l)return console.warn("Failed to snapshot the document");As.map=m,xs(Cs({type:Ir.FullSnapshot,data:{node:l,initialOffset:{left:void 0!==window.pageXOffset?window.pageXOffset:(null===document||void 0===document?void 0:document.documentElement.scrollLeft)||(null===(n=null===(t=null===document||void 0===document?void 0:document.body)||void 0===t?void 0:t.parentElement)||void 0===n?void 0:n.scrollLeft)||(null===document||void 0===document?void 0:document.body.scrollLeft)||0,top:void 0!==window.pageYOffset?window.pageYOffset:(null===document||void 0===document?void 0:document.documentElement.scrollTop)||(null===(a=null===(r=null===document||void 0===document?void 0:document.body)||void 0===r?void 0:r.parentElement)||void 0===a?void 0:a.scrollTop)||(null===document||void 0===document?void 0:document.body.scrollTop)||0}}})),os.forEach((e=>e.unlock()))};try{const e=[];e.push(Pr("DOMContentLoaded",(()=>{xs(Cs({type:Ir.DomContentLoaded,data:{}}))})));const t=e=>{var t;return ss(hs)({mutationCb:D,mousemoveCb:(e,t)=>xs(Cs({type:Ir.IncrementalSnapshot,data:{source:t,positions:e}})),mouseInteractionCb:e=>xs(Cs({type:Ir.IncrementalSnapshot,data:Object.assign({source:Ar.MouseInteraction},e)})),scrollCb:P,viewportResizeCb:e=>xs(Cs({type:Ir.IncrementalSnapshot,data:Object.assign({source:Ar.ViewportResize},e)})),inputCb:e=>xs(Cs({type:Ir.IncrementalSnapshot,data:Object.assign({source:Ar.Input},e)})),mediaInteractionCb:e=>xs(Cs({type:Ir.IncrementalSnapshot,data:Object.assign({source:Ar.MediaInteraction},e)})),styleSheetRuleCb:e=>xs(Cs({type:Ir.IncrementalSnapshot,data:Object.assign({source:Ar.StyleSheetRule},e)})),styleDeclarationCb:e=>xs(Cs({type:Ir.IncrementalSnapshot,data:Object.assign({source:Ar.StyleDeclaration},e)})),canvasMutationCb:F,fontCb:e=>xs(Cs({type:Ir.IncrementalSnapshot,data:Object.assign({source:Ar.Font},e)})),blockClass:s,ignoreClass:a,ignoreSelector:l,maskTextClass:c,maskTextSelector:u,unmaskTextSelector:p,maskInputSelector:d,unmaskInputSelector:h,maskInputOptions:A,inlineStylesheet:f,sampling:T,recordCanvas:k,inlineImages:C,userTriggeredOnInput:O,collectFonts:N,doc:e,maskAllText:_,maskInputFn:v,maskTextFn:E,blockSelector:o,unblockSelector:i,slimDOMOptions:R,mirror:As,iframeManager:U,shadowDomManager:j,canvasManager:B,plugins:(null===(t=null==x?void 0:x.filter((e=>e.observer)))||void 0===t?void 0:t.map((e=>({observer:e.observer,options:e.options,callback:t=>xs(Cs({type:Ir.Plugin,data:{plugin:e.name,payload:t}}))}))))||[]},b)};U.addLoadListener((n=>{try{e.push(t(n.contentDocument))}catch(e){console.warn(e)}}));const n=()=>{Is(),e.push(t(document))};return"interactive"===document.readyState||"complete"===document.readyState?n():e.push(Pr("load",(()=>{xs(Cs({type:Ir.Load,data:{}})),n()}),window)),()=>{e.forEach((e=>e()))}}catch(e){console.warn(e)}}Rs.addCustomEvent=(e,t)=>{if(!xs)throw new Error("please add custom event after start recording");xs(Cs({type:Ir.Custom,data:{tag:e,payload:t}}))},Rs.freezePage=()=>{os.forEach((e=>e.freeze()))},Rs.takeFullSnapshot=e=>{if(!Is)throw new Error("please take full snapshot after start recording");Is(e)},Rs.mirror=As;const Ls=["name","type","startTime","transferSize","duration"];function Ms(e){return function(t){return Ls.every((n=>e[n]===t[n]))}}class Ds{constructor(){this.events=[]}get hasEvents(){return this.events.length>0}destroy(){this.events=[]}async addEvent(e,t){t?this.events=[e]:this.events.push(e)}finish(){return new Promise((e=>{const t=this.events;this.events=[],e(JSON.stringify(t))}))}}class Ps{constructor(e){this._worker=e,this._id=0}ensureReady(){return this._ensureReadyPromise||(this._ensureReadyPromise=new Promise(((e,t)=>{this._worker.addEventListener("message",(({data:n})=>{n.success?e():t()}),{once:!0}),this._worker.addEventListener("error",(e=>{t(e)}),{once:!0})}))),this._ensureReadyPromise}destroy(){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&B.log("[Replay] Destroying compression worker"),this._worker.terminate()}postMessage(e,t){const n=this._getAndIncrementId();return new Promise(((r,s)=>{const o=({data:t})=>{const i=t;if(i.method===e&&i.id===n){if(this._worker.removeEventListener("message",o),!i.success)return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&B.error("[Replay]",i.response),void s(new Error("Error in compression worker"));r(i.response)}};this._worker.addEventListener("message",o),this._worker.postMessage({id:n,method:e,arg:t})}))}_getAndIncrementId(){return this._id++}}class Fs{constructor(e){this._worker=new Ps(e),this.hasEvents=!1}ensureReady(){return this._worker.ensureReady()}destroy(){this._worker.destroy()}async addEvent(e,t){return this.hasEvents=!0,t&&await this._clear(),this._sendEventToWorker(e)}finish(){return this._finishRequest()}_sendEventToWorker(e){return this._worker.postMessage("addEvent",JSON.stringify(e))}async _finishRequest(){const e=await this._worker.postMessage("finish");return this.hasEvents=!1,e}_clear(){return this._worker.postMessage("clear")}}class Us{constructor(e){this._fallback=new Ds,this._compression=new Fs(e),this._used=this._fallback,this._ensureWorkerIsLoadedPromise=this._ensureWorkerIsLoaded()}get hasEvents(){return this._used.hasEvents}destroy(){this._fallback.destroy(),this._compression.destroy()}addEvent(e,t){return this._used.addEvent(e,t)}async finish(){return await this.ensureWorkerIsLoaded(),this._used.finish()}ensureWorkerIsLoaded(){return this._ensureWorkerIsLoadedPromise}async _ensureWorkerIsLoaded(){try{await this._compression.ensureReady()}catch(e){return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&B.log("[Replay] Failed to load the compression worker, falling back to simple buffer"))}await this._switchToCompressionWorker()}async _switchToCompressionWorker(){const{events:e}=this._fallback,t=[];for(const n of e)t.push(this._compression.addEvent(n));this._used=this._compression;try{await Promise.all(t)}catch(e){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&B.warn("[Replay] Failed to add events when switching buffers.",e)}}}function Bs(e,t,n=+new Date){return null===e||void 0===t||t<0||0!==t&&e+t<=n}function js(e,t,n=+new Date){return Bs(e.started,rr,n)||Bs(e.lastActivity,t,n)}function Vs(e){if("sessionStorage"in Jn)try{Jn.sessionStorage.setItem(Zn,JSON.stringify(e))}catch(e){}}function $s(e){return void 0!==e&&Math.random()<e}function Gs(e){const t=(new Date).getTime();return{id:e.id||j(),started:e.started||t,lastActivity:e.lastActivity||t,segmentId:e.segmentId||0,sampled:e.sampled}}function Hs({sessionSampleRate:e,errorSampleRate:t,stickySession:n=!1}){const r=function(e,t){return $s(e)?"session":!!$s(t)&&"error"}(e,t),s=Gs({sampled:r});return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&B.log(`[Replay] Creating new session: ${s.id}`),n&&Vs(s),s}async function zs(e,t,n){if(!e.eventBuffer)return null;if(e.isPaused())return null;const r=t.timestamp>9999999999?t.timestamp:1e3*t.timestamp;if(r+tr<(new Date).getTime())return null;const s=e.getContext().earliestEvent;e.session&&0===e.session.segmentId&&(!s||r<s)&&(e.getContext().earliestEvent=r);try{return await e.eventBuffer.addEvent(t,n)}catch(t){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&B.error(t),e.stop("addEvent");const n=de().getClient();n&&n.recordDroppedEvent("internal_sdk_error","replay")}}function Ys(e){return{timestamp:(new Date).getTime()/1e3,type:"default",...e}}function Ws(e,t){"sentry.transaction"!==t.category&&("ui.click"===t.category?e.triggerUserActivity():e.checkAndHandleExpiredSession(),e.addUpdate((()=>(zs(e,{type:Ir.Custom,timestamp:1e3*(t.timestamp||0),data:{tag:"breadcrumb",payload:t}}),"console"===t.category))))}function Xs(e,t){return t.map((({type:t,start:n,end:r,name:s,data:o})=>zs(e,{type:Ir.Custom,timestamp:n,data:{tag:"performanceSpan",payload:{op:t,description:s,startTimestamp:n,endTimestamp:r,data:o}}})))}function qs(e,t){return("undefined"!=typeof __SENTRY_DEBUG__&&!__SENTRY_DEBUG__||!e.getOptions()._experiments.traceInternals)&&function(e){const t=de().getClient(),n=t&&t.getDsn();return!!n&&e.includes(n.host)}(t)}let Ks=null;function Js(e){const t=de().getScope();t&&t.addScopeListener((e=>t=>{if(!e.isEnabled())return;const n=function(e){const t=e.getLastBreadcrumb&&e.getLastBreadcrumb();return Ks!==t&&t?(Ks=t,t.category&&(["fetch","xhr","sentry.event","sentry.transaction"].includes(t.category)||t.category.startsWith("ui."))?null:Ys(t)):null}(t);n&&Ws(e,n)})(e)),Lt("dom",(e=>t=>{if(!e.isEnabled())return;const n=function(e){let t,n;try{n=function(e){return e.event.target?e.event.target:e.event}(e),t=v(n)}catch(e){t="<unknown>"}return 0===t.length?null:Ys({category:`ui.${e.name}`,message:t,data:{...n?{nodeId:Rs.mirror.getId(n)}:{}}})}(t);n&&Ws(e,n)})(e)),Lt("fetch",function(e){return t=>{if(!e.isEnabled())return;const n=function(e){if(!e.endTimestamp)return null;const{startTimestamp:t,endTimestamp:n,fetchData:r,response:s}=e;return{type:"resource.fetch",start:t/1e3,end:n/1e3,name:r.url,data:{method:r.method,statusCode:s.status}}}(t);null!==n&&(qs(e,n.name)||e.addUpdate((()=>(Xs(e,[n]),!0))))}}(e)),Lt("xhr",function(e){return t=>{if(!e.isEnabled())return;const n=function(e){if(e.xhr.__sentry_own_request__)return null;if(e.startTimestamp&&(e.xhr.__sentry_xhr__=e.xhr.__sentry_xhr__||{},e.xhr.__sentry_xhr__.startTimestamp=e.startTimestamp),!e.endTimestamp)return null;const{method:t,url:n,status_code:r}=e.xhr.__sentry_xhr__||{};return void 0===n?null:{type:"resource.xhr",name:n,start:(e.xhr.__sentry_xhr__?e.xhr.__sentry_xhr__.startTimestamp||0:e.endTimestamp)/1e3,end:e.endTimestamp/1e3,data:{method:t,statusCode:r}}}(t);null!==n&&(qs(e,n.name)||e.addUpdate((()=>(Xs(e,[n]),!0))))}}(e)),Lt("history",function(e){return t=>{if(!e.isEnabled())return;const n=function(e){const{from:t,to:n}=e,r=(new Date).getTime()/1e3;return{type:"navigation.push",start:r,end:r,name:n,data:{previous:t}}}(t);null!==n&&(e.getContext().urls.push(n.name),e.triggerUserActivity(),e.addUpdate((()=>(Xs(e,[n]),!1))))}}(e)),oe(function(e){return(t,n)=>{if(t.type===Qn)return delete t.breadcrumbs,t;if(function(e,t){return!(e.type||!e.exception||!e.exception.values||!e.exception.values.length)&&(!(!t.originalException||!t.originalException.__rrweb__)||e.exception.values.some((e=>!!(e.stacktrace&&e.stacktrace.frames&&e.stacktrace.frames.length)&&e.stacktrace.frames.some((e=>e.filename&&e.filename.includes("/rrweb/src/"))))))}(t,n)&&!e.getOptions()._experiments.captureExceptions)return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&B.log("[Replay] Ignoring error from rrweb internals",t),null;if(t.type&&"session"!==e.recordingMode||(t.tags={...t.tags,replayId:e.getSessionId()}),"transaction"===t.type&&t.contexts&&t.contexts.trace&&t.contexts.trace.trace_id)return e.getContext().traceIds.add(t.contexts.trace.trace_id),t;if(t.type||e.getContext().errorIds.add(t.event_id),("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&e.getOptions()._experiments.traceInternals){const e=function(e){return{type:"Unknown",value:"n/a",...e.exception&&e.exception.values&&e.exception.values[0]}}(t);!function(e){const{category:t,level:n,message:r,...s}=e;Ee({category:t||"console",level:n||"debug",message:`[debug]: ${r}`,...s})}({message:`Tagging event (${t.event_id}) - ${t.message} - ${e.type}: ${e.value}`})}return"error"===e.recordingMode&&t.exception&&t.message!==er&&setTimeout((async()=>{await e.flushImmediate(),e.stopRecording()&&(e.recordingMode="session",e.startRecording())})),t}}(e))}function Zs(e){const{jsHeapSizeLimit:t,totalJSHeapSize:n,usedJSHeapSize:r}=e,s=(new Date).getTime()/1e3;return{type:"memory",name:"memory",start:s,end:s,data:{memory:{jsHeapSizeLimit:t,totalJSHeapSize:n,usedJSHeapSize:r}}}}const Qs={resource:function(e){const{entryType:t,initiatorType:n,name:r,responseEnd:s,startTime:o,encodedBodySize:i,transferSize:a}=e;return["fetch","xmlhttprequest"].includes(n)?null:{type:`${t}.${n}`,start:to(o),end:to(s),name:r,data:{size:a,encodedBodySize:i}}},paint:function(e){const{duration:t,entryType:n,name:r,startTime:s}=e,o=to(s);return{type:n,name:r,start:o,end:o+t}},navigation:function(e){const{entryType:t,name:n,duration:r,domComplete:s,startTime:o,transferSize:i,type:a}=e;return 0===r?null:{type:`${t}.${a}`,start:to(o),end:to(s),name:n,data:{size:i,duration:r}}},"largest-contentful-paint":function(e){const{entryType:t,startTime:n,size:r}=e;let s=0;if(Jn.performance){const e=Jn.performance.getEntriesByType("navigation")[0];s=e&&e.activationStart||0}const o=Math.max(n-s,0),i=to(s)+o/1e3;return{type:t,name:t,start:i,end:i,data:{value:o,size:r,nodeId:Rs.mirror.getId(e.element)}}}};function eo(e){return void 0===Qs[e.entryType]?null:Qs[e.entryType](e)}function to(e){return((J.Z1||Jn.performance.timeOrigin)+e)/1e3}let no;class ro extends Error{constructor(e){super(`Transport returned status code ${e}`)}}async function so(e,t={count:0,interval:5e3}){const{recordingData:n,options:r}=e;if(n.length)try{return await async function({recordingData:e,replayId:t,segmentId:n,includeReplayStartTimestamp:r,eventContext:s,timestamp:o,session:i,options:a}){const l=function({recordingData:e,headers:t}){let n;const r=`${JSON.stringify(t)}\n`;if("string"==typeof e)n=`${r}${e}`;else{const t=(new TextEncoder).encode(r);n=new Uint8Array(t.length+e.length),n.set(t),n.set(e,t.length)}return n}({recordingData:e,headers:{segment_id:n}}),{urls:c,errorIds:u,traceIds:d,initialTimestamp:p}=s,h=de(),f=h.getClient(),_=h.getScope(),m=f&&f.getTransport(),g=f&&f.getDsn();if(!(f&&_&&m&&g&&i.sampled))return;const y={type:Qn,...r?{replay_start_timestamp:p/1e3}:{},timestamp:o/1e3,error_ids:u,trace_ids:d,urls:c,replay_id:t,segment_id:n,replay_type:i.sampled},v=await async function({client:e,scope:t,replayId:n,event:r}){const s="object"!=typeof e._integrations||null===e._integrations||Array.isArray(e._integrations)?void 0:Object.keys(e._integrations),o=await pt(e.getOptions(),r,{event_id:n,integrations:s},t);if(!o)return null;o.platform=o.platform||"javascript";const i=e.getSdkMetadata&&e.getSdkMetadata(),{name:a,version:l}=i&&i.sdk||{};return o.sdk={...o.sdk,name:a||"sentry.javascript.unknown",version:l||"0.0.0"},o}({scope:_,client:f,replayId:t,event:y});if(!v)return f.recordDroppedEvent("event_processor","replay",y),void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&B.log("An event processor returned `null`, will not send event."));v.contexts={...v.contexts,replay:{...v.contexts&&v.contexts.replay,session_sample_rate:a.sessionSampleRate,error_sample_rate:a.errorSampleRate}};const E=function(e,t,n,r){return Ve(Ke(e,qe(e),r,n),[[{type:"replay_event"},e],[{type:"replay_recording",length:"string"==typeof t?(new TextEncoder).encode(t).length:t.length},t]])}(v,l,g,f.getOptions().tunnel);let b;try{b=await m.send(E)}catch(e){throw new Error(er)}if(!b)return b;if("number"==typeof b.statusCode&&(b.statusCode<200||b.statusCode>=300))throw new ro(b.statusCode);return b}(e),!0}catch(n){if(n instanceof ro)throw n;if(be("Replays",{_retryCount:t.count}),("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&r._experiments&&r._experiments.captureExceptions&&me(n),t.count>=3)throw new Error(`${er} - max retries exceeded`);return t.interval*=++t.count,await new Promise(((n,r)=>{setTimeout((async()=>{try{await so(e,t),n(!0)}catch(e){r(e)}}),t.interval)}))}}class oo{__init(){this.eventBuffer=null}__init2(){this.performanceEvents=[]}__init3(){this.recordingMode="session"}__init4(){this._performanceObserver=null}__init5(){this._flushLock=null}__init6(){this._lastActivity=(new Date).getTime()}__init7(){this._isEnabled=!1}__init8(){this._isPaused=!1}__init9(){this._hasInitializedCoreListeners=!1}__init10(){this._stopRecording=null}__init11(){this._context={errorIds:new Set,traceIds:new Set,urls:[],earliestEvent:null,initialTimestamp:(new Date).getTime(),initialUrl:""}}constructor({options:e,recordingOptions:t}){oo.prototype.__init.call(this),oo.prototype.__init2.call(this),oo.prototype.__init3.call(this),oo.prototype.__init4.call(this),oo.prototype.__init5.call(this),oo.prototype.__init6.call(this),oo.prototype.__init7.call(this),oo.prototype.__init8.call(this),oo.prototype.__init9.call(this),oo.prototype.__init10.call(this),oo.prototype.__init11.call(this),oo.prototype.__init12.call(this),oo.prototype.__init13.call(this),oo.prototype.__init14.call(this),oo.prototype.__init15.call(this),oo.prototype.__init16.call(this),this._recordingOptions=t,this._options=e,this._debouncedFlush=function(e,t,n){let r,s,o;const i=n&&n.maxWait?Math.max(n.maxWait,t):0;function a(){return l(),r=e(),r}function l(){void 0!==s&&clearTimeout(s),void 0!==o&&clearTimeout(o),s=o=void 0}function c(){return s&&clearTimeout(s),s=setTimeout(a,t),i&&void 0===o&&(o=setTimeout(a,i)),r}return c.cancel=l,c.flush=function(){return void 0!==s||void 0!==o?a():r},c}((()=>this._flush()),this._options.flushMinDelay,{maxWait:this._options.flushMaxDelay})}getContext(){return this._context}isEnabled(){return this._isEnabled}isPaused(){return this._isPaused}getOptions(){return this._options}start(){this._setInitialState(),this._loadAndCheckSession()&&(this.session?this.session.sampled&&("error"===this.session.sampled&&(this.recordingMode="error"),this._updateSessionActivity(),this.eventBuffer=function({useCompression:e}){if(e&&window.Worker)try{const e=function(){const e=new Blob(['/*! pako 2.1.0 https://github.com/nodeca/pako @license (MIT AND Zlib) */\nfunction t(t){let e=t.length;for(;--e>=0;)t[e]=0}const e=new Uint8Array([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0]),a=new Uint8Array([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13]),i=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7]),n=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),s=new Array(576);t(s);const r=new Array(60);t(r);const o=new Array(512);t(o);const l=new Array(256);t(l);const h=new Array(29);t(h);const d=new Array(30);function _(t,e,a,i,n){this.static_tree=t,this.extra_bits=e,this.extra_base=a,this.elems=i,this.max_length=n,this.has_stree=t&&t.length}let f,c,u;function w(t,e){this.dyn_tree=t,this.max_code=0,this.stat_desc=e}t(d);const m=t=>t<256?o[t]:o[256+(t>>>7)],b=(t,e)=>{t.pending_buf[t.pending++]=255&e,t.pending_buf[t.pending++]=e>>>8&255},g=(t,e,a)=>{t.bi_valid>16-a?(t.bi_buf|=e<<t.bi_valid&65535,b(t,t.bi_buf),t.bi_buf=e>>16-t.bi_valid,t.bi_valid+=a-16):(t.bi_buf|=e<<t.bi_valid&65535,t.bi_valid+=a)},p=(t,e,a)=>{g(t,a[2*e],a[2*e+1])},k=(t,e)=>{let a=0;do{a|=1&t,t>>>=1,a<<=1}while(--e>0);return a>>>1},v=(t,e,a)=>{const i=new Array(16);let n,s,r=0;for(n=1;n<=15;n++)r=r+a[n-1]<<1,i[n]=r;for(s=0;s<=e;s++){let e=t[2*s+1];0!==e&&(t[2*s]=k(i[e]++,e))}},y=t=>{let e;for(e=0;e<286;e++)t.dyn_ltree[2*e]=0;for(e=0;e<30;e++)t.dyn_dtree[2*e]=0;for(e=0;e<19;e++)t.bl_tree[2*e]=0;t.dyn_ltree[512]=1,t.opt_len=t.static_len=0,t.sym_next=t.matches=0},x=t=>{t.bi_valid>8?b(t,t.bi_buf):t.bi_valid>0&&(t.pending_buf[t.pending++]=t.bi_buf),t.bi_buf=0,t.bi_valid=0},z=(t,e,a,i)=>{const n=2*e,s=2*a;return t[n]<t[s]||t[n]===t[s]&&i[e]<=i[a]},A=(t,e,a)=>{const i=t.heap[a];let n=a<<1;for(;n<=t.heap_len&&(n<t.heap_len&&z(e,t.heap[n+1],t.heap[n],t.depth)&&n++,!z(e,i,t.heap[n],t.depth));)t.heap[a]=t.heap[n],a=n,n<<=1;t.heap[a]=i},E=(t,i,n)=>{let s,r,o,_,f=0;if(0!==t.sym_next)do{s=255&t.pending_buf[t.sym_buf+f++],s+=(255&t.pending_buf[t.sym_buf+f++])<<8,r=t.pending_buf[t.sym_buf+f++],0===s?p(t,r,i):(o=l[r],p(t,o+256+1,i),_=e[o],0!==_&&(r-=h[o],g(t,r,_)),s--,o=m(s),p(t,o,n),_=a[o],0!==_&&(s-=d[o],g(t,s,_)))}while(f<t.sym_next);p(t,256,i)},R=(t,e)=>{const a=e.dyn_tree,i=e.stat_desc.static_tree,n=e.stat_desc.has_stree,s=e.stat_desc.elems;let r,o,l,h=-1;for(t.heap_len=0,t.heap_max=573,r=0;r<s;r++)0!==a[2*r]?(t.heap[++t.heap_len]=h=r,t.depth[r]=0):a[2*r+1]=0;for(;t.heap_len<2;)l=t.heap[++t.heap_len]=h<2?++h:0,a[2*l]=1,t.depth[l]=0,t.opt_len--,n&&(t.static_len-=i[2*l+1]);for(e.max_code=h,r=t.heap_len>>1;r>=1;r--)A(t,a,r);l=s;do{r=t.heap[1],t.heap[1]=t.heap[t.heap_len--],A(t,a,1),o=t.heap[1],t.heap[--t.heap_max]=r,t.heap[--t.heap_max]=o,a[2*l]=a[2*r]+a[2*o],t.depth[l]=(t.depth[r]>=t.depth[o]?t.depth[r]:t.depth[o])+1,a[2*r+1]=a[2*o+1]=l,t.heap[1]=l++,A(t,a,1)}while(t.heap_len>=2);t.heap[--t.heap_max]=t.heap[1],((t,e)=>{const a=e.dyn_tree,i=e.max_code,n=e.stat_desc.static_tree,s=e.stat_desc.has_stree,r=e.stat_desc.extra_bits,o=e.stat_desc.extra_base,l=e.stat_desc.max_length;let h,d,_,f,c,u,w=0;for(f=0;f<=15;f++)t.bl_count[f]=0;for(a[2*t.heap[t.heap_max]+1]=0,h=t.heap_max+1;h<573;h++)d=t.heap[h],f=a[2*a[2*d+1]+1]+1,f>l&&(f=l,w++),a[2*d+1]=f,d>i||(t.bl_count[f]++,c=0,d>=o&&(c=r[d-o]),u=a[2*d],t.opt_len+=u*(f+c),s&&(t.static_len+=u*(n[2*d+1]+c)));if(0!==w){do{for(f=l-1;0===t.bl_count[f];)f--;t.bl_count[f]--,t.bl_count[f+1]+=2,t.bl_count[l]--,w-=2}while(w>0);for(f=l;0!==f;f--)for(d=t.bl_count[f];0!==d;)_=t.heap[--h],_>i||(a[2*_+1]!==f&&(t.opt_len+=(f-a[2*_+1])*a[2*_],a[2*_+1]=f),d--)}})(t,e),v(a,h,t.bl_count)},Z=(t,e,a)=>{let i,n,s=-1,r=e[1],o=0,l=7,h=4;for(0===r&&(l=138,h=3),e[2*(a+1)+1]=65535,i=0;i<=a;i++)n=r,r=e[2*(i+1)+1],++o<l&&n===r||(o<h?t.bl_tree[2*n]+=o:0!==n?(n!==s&&t.bl_tree[2*n]++,t.bl_tree[32]++):o<=10?t.bl_tree[34]++:t.bl_tree[36]++,o=0,s=n,0===r?(l=138,h=3):n===r?(l=6,h=3):(l=7,h=4))},U=(t,e,a)=>{let i,n,s=-1,r=e[1],o=0,l=7,h=4;for(0===r&&(l=138,h=3),i=0;i<=a;i++)if(n=r,r=e[2*(i+1)+1],!(++o<l&&n===r)){if(o<h)do{p(t,n,t.bl_tree)}while(0!=--o);else 0!==n?(n!==s&&(p(t,n,t.bl_tree),o--),p(t,16,t.bl_tree),g(t,o-3,2)):o<=10?(p(t,17,t.bl_tree),g(t,o-3,3)):(p(t,18,t.bl_tree),g(t,o-11,7));o=0,s=n,0===r?(l=138,h=3):n===r?(l=6,h=3):(l=7,h=4)}};let S=!1;const D=(t,e,a,i)=>{g(t,0+(i?1:0),3),x(t),b(t,a),b(t,~a),a&&t.pending_buf.set(t.window.subarray(e,e+a),t.pending),t.pending+=a};var T=(t,e,a,i)=>{let o,l,h=0;t.level>0?(2===t.strm.data_type&&(t.strm.data_type=(t=>{let e,a=4093624447;for(e=0;e<=31;e++,a>>>=1)if(1&a&&0!==t.dyn_ltree[2*e])return 0;if(0!==t.dyn_ltree[18]||0!==t.dyn_ltree[20]||0!==t.dyn_ltree[26])return 1;for(e=32;e<256;e++)if(0!==t.dyn_ltree[2*e])return 1;return 0})(t)),R(t,t.l_desc),R(t,t.d_desc),h=(t=>{let e;for(Z(t,t.dyn_ltree,t.l_desc.max_code),Z(t,t.dyn_dtree,t.d_desc.max_code),R(t,t.bl_desc),e=18;e>=3&&0===t.bl_tree[2*n[e]+1];e--);return t.opt_len+=3*(e+1)+5+5+4,e})(t),o=t.opt_len+3+7>>>3,l=t.static_len+3+7>>>3,l<=o&&(o=l)):o=l=a+5,a+4<=o&&-1!==e?D(t,e,a,i):4===t.strategy||l===o?(g(t,2+(i?1:0),3),E(t,s,r)):(g(t,4+(i?1:0),3),((t,e,a,i)=>{let s;for(g(t,e-257,5),g(t,a-1,5),g(t,i-4,4),s=0;s<i;s++)g(t,t.bl_tree[2*n[s]+1],3);U(t,t.dyn_ltree,e-1),U(t,t.dyn_dtree,a-1)})(t,t.l_desc.max_code+1,t.d_desc.max_code+1,h+1),E(t,t.dyn_ltree,t.dyn_dtree)),y(t),i&&x(t)},O={_tr_init:t=>{S||((()=>{let t,n,w,m,b;const g=new Array(16);for(w=0,m=0;m<28;m++)for(h[m]=w,t=0;t<1<<e[m];t++)l[w++]=m;for(l[w-1]=m,b=0,m=0;m<16;m++)for(d[m]=b,t=0;t<1<<a[m];t++)o[b++]=m;for(b>>=7;m<30;m++)for(d[m]=b<<7,t=0;t<1<<a[m]-7;t++)o[256+b++]=m;for(n=0;n<=15;n++)g[n]=0;for(t=0;t<=143;)s[2*t+1]=8,t++,g[8]++;for(;t<=255;)s[2*t+1]=9,t++,g[9]++;for(;t<=279;)s[2*t+1]=7,t++,g[7]++;for(;t<=287;)s[2*t+1]=8,t++,g[8]++;for(v(s,287,g),t=0;t<30;t++)r[2*t+1]=5,r[2*t]=k(t,5);f=new _(s,e,257,286,15),c=new _(r,a,0,30,15),u=new _(new Array(0),i,0,19,7)})(),S=!0),t.l_desc=new w(t.dyn_ltree,f),t.d_desc=new w(t.dyn_dtree,c),t.bl_desc=new w(t.bl_tree,u),t.bi_buf=0,t.bi_valid=0,y(t)},_tr_stored_block:D,_tr_flush_block:T,_tr_tally:(t,e,a)=>(t.pending_buf[t.sym_buf+t.sym_next++]=e,t.pending_buf[t.sym_buf+t.sym_next++]=e>>8,t.pending_buf[t.sym_buf+t.sym_next++]=a,0===e?t.dyn_ltree[2*a]++:(t.matches++,e--,t.dyn_ltree[2*(l[a]+256+1)]++,t.dyn_dtree[2*m(e)]++),t.sym_next===t.sym_end),_tr_align:t=>{g(t,2,3),p(t,256,s),(t=>{16===t.bi_valid?(b(t,t.bi_buf),t.bi_buf=0,t.bi_valid=0):t.bi_valid>=8&&(t.pending_buf[t.pending++]=255&t.bi_buf,t.bi_buf>>=8,t.bi_valid-=8)})(t)}};var F=(t,e,a,i)=>{let n=65535&t|0,s=t>>>16&65535|0,r=0;for(;0!==a;){r=a>2e3?2e3:a,a-=r;do{n=n+e[i++]|0,s=s+n|0}while(--r);n%=65521,s%=65521}return n|s<<16|0};const L=new Uint32Array((()=>{let t,e=[];for(var a=0;a<256;a++){t=a;for(var i=0;i<8;i++)t=1&t?3988292384^t>>>1:t>>>1;e[a]=t}return e})());var N=(t,e,a,i)=>{const n=L,s=i+a;t^=-1;for(let a=i;a<s;a++)t=t>>>8^n[255&(t^e[a])];return-1^t},I={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"},B={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_MEM_ERROR:-4,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8};const{_tr_init:C,_tr_stored_block:H,_tr_flush_block:M,_tr_tally:j,_tr_align:K}=O,{Z_NO_FLUSH:P,Z_PARTIAL_FLUSH:Y,Z_FULL_FLUSH:G,Z_FINISH:X,Z_BLOCK:W,Z_OK:q,Z_STREAM_END:J,Z_STREAM_ERROR:Q,Z_DATA_ERROR:V,Z_BUF_ERROR:$,Z_DEFAULT_COMPRESSION:tt,Z_FILTERED:et,Z_HUFFMAN_ONLY:at,Z_RLE:it,Z_FIXED:nt,Z_DEFAULT_STRATEGY:st,Z_UNKNOWN:rt,Z_DEFLATED:ot}=B,lt=(t,e)=>(t.msg=I[e],e),ht=t=>2*t-(t>4?9:0),dt=t=>{let e=t.length;for(;--e>=0;)t[e]=0},_t=t=>{let e,a,i,n=t.w_size;e=t.hash_size,i=e;do{a=t.head[--i],t.head[i]=a>=n?a-n:0}while(--e);e=n,i=e;do{a=t.prev[--i],t.prev[i]=a>=n?a-n:0}while(--e)};let ft=(t,e,a)=>(e<<t.hash_shift^a)&t.hash_mask;const ct=t=>{const e=t.state;let a=e.pending;a>t.avail_out&&(a=t.avail_out),0!==a&&(t.output.set(e.pending_buf.subarray(e.pending_out,e.pending_out+a),t.next_out),t.next_out+=a,e.pending_out+=a,t.total_out+=a,t.avail_out-=a,e.pending-=a,0===e.pending&&(e.pending_out=0))},ut=(t,e)=>{M(t,t.block_start>=0?t.block_start:-1,t.strstart-t.block_start,e),t.block_start=t.strstart,ct(t.strm)},wt=(t,e)=>{t.pending_buf[t.pending++]=e},mt=(t,e)=>{t.pending_buf[t.pending++]=e>>>8&255,t.pending_buf[t.pending++]=255&e},bt=(t,e,a,i)=>{let n=t.avail_in;return n>i&&(n=i),0===n?0:(t.avail_in-=n,e.set(t.input.subarray(t.next_in,t.next_in+n),a),1===t.state.wrap?t.adler=F(t.adler,e,n,a):2===t.state.wrap&&(t.adler=N(t.adler,e,n,a)),t.next_in+=n,t.total_in+=n,n)},gt=(t,e)=>{let a,i,n=t.max_chain_length,s=t.strstart,r=t.prev_length,o=t.nice_match;const l=t.strstart>t.w_size-262?t.strstart-(t.w_size-262):0,h=t.window,d=t.w_mask,_=t.prev,f=t.strstart+258;let c=h[s+r-1],u=h[s+r];t.prev_length>=t.good_match&&(n>>=2),o>t.lookahead&&(o=t.lookahead);do{if(a=e,h[a+r]===u&&h[a+r-1]===c&&h[a]===h[s]&&h[++a]===h[s+1]){s+=2,a++;do{}while(h[++s]===h[++a]&&h[++s]===h[++a]&&h[++s]===h[++a]&&h[++s]===h[++a]&&h[++s]===h[++a]&&h[++s]===h[++a]&&h[++s]===h[++a]&&h[++s]===h[++a]&&s<f);if(i=258-(f-s),s=f-258,i>r){if(t.match_start=e,r=i,i>=o)break;c=h[s+r-1],u=h[s+r]}}}while((e=_[e&d])>l&&0!=--n);return r<=t.lookahead?r:t.lookahead},pt=t=>{const e=t.w_size;let a,i,n;do{if(i=t.window_size-t.lookahead-t.strstart,t.strstart>=e+(e-262)&&(t.window.set(t.window.subarray(e,e+e-i),0),t.match_start-=e,t.strstart-=e,t.block_start-=e,t.insert>t.strstart&&(t.insert=t.strstart),_t(t),i+=e),0===t.strm.avail_in)break;if(a=bt(t.strm,t.window,t.strstart+t.lookahead,i),t.lookahead+=a,t.lookahead+t.insert>=3)for(n=t.strstart-t.insert,t.ins_h=t.window[n],t.ins_h=ft(t,t.ins_h,t.window[n+1]);t.insert&&(t.ins_h=ft(t,t.ins_h,t.window[n+3-1]),t.prev[n&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=n,n++,t.insert--,!(t.lookahead+t.insert<3)););}while(t.lookahead<262&&0!==t.strm.avail_in)},kt=(t,e)=>{let a,i,n,s=t.pending_buf_size-5>t.w_size?t.w_size:t.pending_buf_size-5,r=0,o=t.strm.avail_in;do{if(a=65535,n=t.bi_valid+42>>3,t.strm.avail_out<n)break;if(n=t.strm.avail_out-n,i=t.strstart-t.block_start,a>i+t.strm.avail_in&&(a=i+t.strm.avail_in),a>n&&(a=n),a<s&&(0===a&&e!==X||e===P||a!==i+t.strm.avail_in))break;r=e===X&&a===i+t.strm.avail_in?1:0,H(t,0,0,r),t.pending_buf[t.pending-4]=a,t.pending_buf[t.pending-3]=a>>8,t.pending_buf[t.pending-2]=~a,t.pending_buf[t.pending-1]=~a>>8,ct(t.strm),i&&(i>a&&(i=a),t.strm.output.set(t.window.subarray(t.block_start,t.block_start+i),t.strm.next_out),t.strm.next_out+=i,t.strm.avail_out-=i,t.strm.total_out+=i,t.block_start+=i,a-=i),a&&(bt(t.strm,t.strm.output,t.strm.next_out,a),t.strm.next_out+=a,t.strm.avail_out-=a,t.strm.total_out+=a)}while(0===r);return o-=t.strm.avail_in,o&&(o>=t.w_size?(t.matches=2,t.window.set(t.strm.input.subarray(t.strm.next_in-t.w_size,t.strm.next_in),0),t.strstart=t.w_size,t.insert=t.strstart):(t.window_size-t.strstart<=o&&(t.strstart-=t.w_size,t.window.set(t.window.subarray(t.w_size,t.w_size+t.strstart),0),t.matches<2&&t.matches++,t.insert>t.strstart&&(t.insert=t.strstart)),t.window.set(t.strm.input.subarray(t.strm.next_in-o,t.strm.next_in),t.strstart),t.strstart+=o,t.insert+=o>t.w_size-t.insert?t.w_size-t.insert:o),t.block_start=t.strstart),t.high_water<t.strstart&&(t.high_water=t.strstart),r?4:e!==P&&e!==X&&0===t.strm.avail_in&&t.strstart===t.block_start?2:(n=t.window_size-t.strstart,t.strm.avail_in>n&&t.block_start>=t.w_size&&(t.block_start-=t.w_size,t.strstart-=t.w_size,t.window.set(t.window.subarray(t.w_size,t.w_size+t.strstart),0),t.matches<2&&t.matches++,n+=t.w_size,t.insert>t.strstart&&(t.insert=t.strstart)),n>t.strm.avail_in&&(n=t.strm.avail_in),n&&(bt(t.strm,t.window,t.strstart,n),t.strstart+=n,t.insert+=n>t.w_size-t.insert?t.w_size-t.insert:n),t.high_water<t.strstart&&(t.high_water=t.strstart),n=t.bi_valid+42>>3,n=t.pending_buf_size-n>65535?65535:t.pending_buf_size-n,s=n>t.w_size?t.w_size:n,i=t.strstart-t.block_start,(i>=s||(i||e===X)&&e!==P&&0===t.strm.avail_in&&i<=n)&&(a=i>n?n:i,r=e===X&&0===t.strm.avail_in&&a===i?1:0,H(t,t.block_start,a,r),t.block_start+=a,ct(t.strm)),r?3:1)},vt=(t,e)=>{let a,i;for(;;){if(t.lookahead<262){if(pt(t),t.lookahead<262&&e===P)return 1;if(0===t.lookahead)break}if(a=0,t.lookahead>=3&&(t.ins_h=ft(t,t.ins_h,t.window[t.strstart+3-1]),a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),0!==a&&t.strstart-a<=t.w_size-262&&(t.match_length=gt(t,a)),t.match_length>=3)if(i=j(t,t.strstart-t.match_start,t.match_length-3),t.lookahead-=t.match_length,t.match_length<=t.max_lazy_match&&t.lookahead>=3){t.match_length--;do{t.strstart++,t.ins_h=ft(t,t.ins_h,t.window[t.strstart+3-1]),a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart}while(0!=--t.match_length);t.strstart++}else t.strstart+=t.match_length,t.match_length=0,t.ins_h=t.window[t.strstart],t.ins_h=ft(t,t.ins_h,t.window[t.strstart+1]);else i=j(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++;if(i&&(ut(t,!1),0===t.strm.avail_out))return 1}return t.insert=t.strstart<2?t.strstart:2,e===X?(ut(t,!0),0===t.strm.avail_out?3:4):t.sym_next&&(ut(t,!1),0===t.strm.avail_out)?1:2},yt=(t,e)=>{let a,i,n;for(;;){if(t.lookahead<262){if(pt(t),t.lookahead<262&&e===P)return 1;if(0===t.lookahead)break}if(a=0,t.lookahead>=3&&(t.ins_h=ft(t,t.ins_h,t.window[t.strstart+3-1]),a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),t.prev_length=t.match_length,t.prev_match=t.match_start,t.match_length=2,0!==a&&t.prev_length<t.max_lazy_match&&t.strstart-a<=t.w_size-262&&(t.match_length=gt(t,a),t.match_length<=5&&(t.strategy===et||3===t.match_length&&t.strstart-t.match_start>4096)&&(t.match_length=2)),t.prev_length>=3&&t.match_length<=t.prev_length){n=t.strstart+t.lookahead-3,i=j(t,t.strstart-1-t.prev_match,t.prev_length-3),t.lookahead-=t.prev_length-1,t.prev_length-=2;do{++t.strstart<=n&&(t.ins_h=ft(t,t.ins_h,t.window[t.strstart+3-1]),a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart)}while(0!=--t.prev_length);if(t.match_available=0,t.match_length=2,t.strstart++,i&&(ut(t,!1),0===t.strm.avail_out))return 1}else if(t.match_available){if(i=j(t,0,t.window[t.strstart-1]),i&&ut(t,!1),t.strstart++,t.lookahead--,0===t.strm.avail_out)return 1}else t.match_available=1,t.strstart++,t.lookahead--}return t.match_available&&(i=j(t,0,t.window[t.strstart-1]),t.match_available=0),t.insert=t.strstart<2?t.strstart:2,e===X?(ut(t,!0),0===t.strm.avail_out?3:4):t.sym_next&&(ut(t,!1),0===t.strm.avail_out)?1:2};function xt(t,e,a,i,n){this.good_length=t,this.max_lazy=e,this.nice_length=a,this.max_chain=i,this.func=n}const zt=[new xt(0,0,0,0,kt),new xt(4,4,8,4,vt),new xt(4,5,16,8,vt),new xt(4,6,32,32,vt),new xt(4,4,16,16,yt),new xt(8,16,32,32,yt),new xt(8,16,128,128,yt),new xt(8,32,128,256,yt),new xt(32,128,258,1024,yt),new xt(32,258,258,4096,yt)];function At(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=ot,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new Uint16Array(1146),this.dyn_dtree=new Uint16Array(122),this.bl_tree=new Uint16Array(78),dt(this.dyn_ltree),dt(this.dyn_dtree),dt(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Uint16Array(16),this.heap=new Uint16Array(573),dt(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Uint16Array(573),dt(this.depth),this.sym_buf=0,this.lit_bufsize=0,this.sym_next=0,this.sym_end=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}const Et=t=>{if(!t)return 1;const e=t.state;return!e||e.strm!==t||42!==e.status&&57!==e.status&&69!==e.status&&73!==e.status&&91!==e.status&&103!==e.status&&113!==e.status&&666!==e.status?1:0},Rt=t=>{if(Et(t))return lt(t,Q);t.total_in=t.total_out=0,t.data_type=rt;const e=t.state;return e.pending=0,e.pending_out=0,e.wrap<0&&(e.wrap=-e.wrap),e.status=2===e.wrap?57:e.wrap?42:113,t.adler=2===e.wrap?0:1,e.last_flush=-2,C(e),q},Zt=t=>{const e=Rt(t);var a;return e===q&&((a=t.state).window_size=2*a.w_size,dt(a.head),a.max_lazy_match=zt[a.level].max_lazy,a.good_match=zt[a.level].good_length,a.nice_match=zt[a.level].nice_length,a.max_chain_length=zt[a.level].max_chain,a.strstart=0,a.block_start=0,a.lookahead=0,a.insert=0,a.match_length=a.prev_length=2,a.match_available=0,a.ins_h=0),e},Ut=(t,e,a,i,n,s)=>{if(!t)return Q;let r=1;if(e===tt&&(e=6),i<0?(r=0,i=-i):i>15&&(r=2,i-=16),n<1||n>9||a!==ot||i<8||i>15||e<0||e>9||s<0||s>nt||8===i&&1!==r)return lt(t,Q);8===i&&(i=9);const o=new At;return t.state=o,o.strm=t,o.status=42,o.wrap=r,o.gzhead=null,o.w_bits=i,o.w_size=1<<o.w_bits,o.w_mask=o.w_size-1,o.hash_bits=n+7,o.hash_size=1<<o.hash_bits,o.hash_mask=o.hash_size-1,o.hash_shift=~~((o.hash_bits+3-1)/3),o.window=new Uint8Array(2*o.w_size),o.head=new Uint16Array(o.hash_size),o.prev=new Uint16Array(o.w_size),o.lit_bufsize=1<<n+6,o.pending_buf_size=4*o.lit_bufsize,o.pending_buf=new Uint8Array(o.pending_buf_size),o.sym_buf=o.lit_bufsize,o.sym_end=3*(o.lit_bufsize-1),o.level=e,o.strategy=s,o.method=a,Zt(t)};var St={deflateInit:(t,e)=>Ut(t,e,ot,15,8,st),deflateInit2:Ut,deflateReset:Zt,deflateResetKeep:Rt,deflateSetHeader:(t,e)=>Et(t)||2!==t.state.wrap?Q:(t.state.gzhead=e,q),deflate:(t,e)=>{if(Et(t)||e>W||e<0)return t?lt(t,Q):Q;const a=t.state;if(!t.output||0!==t.avail_in&&!t.input||666===a.status&&e!==X)return lt(t,0===t.avail_out?$:Q);const i=a.last_flush;if(a.last_flush=e,0!==a.pending){if(ct(t),0===t.avail_out)return a.last_flush=-1,q}else if(0===t.avail_in&&ht(e)<=ht(i)&&e!==X)return lt(t,$);if(666===a.status&&0!==t.avail_in)return lt(t,$);if(42===a.status&&0===a.wrap&&(a.status=113),42===a.status){let e=ot+(a.w_bits-8<<4)<<8,i=-1;if(i=a.strategy>=at||a.level<2?0:a.level<6?1:6===a.level?2:3,e|=i<<6,0!==a.strstart&&(e|=32),e+=31-e%31,mt(a,e),0!==a.strstart&&(mt(a,t.adler>>>16),mt(a,65535&t.adler)),t.adler=1,a.status=113,ct(t),0!==a.pending)return a.last_flush=-1,q}if(57===a.status)if(t.adler=0,wt(a,31),wt(a,139),wt(a,8),a.gzhead)wt(a,(a.gzhead.text?1:0)+(a.gzhead.hcrc?2:0)+(a.gzhead.extra?4:0)+(a.gzhead.name?8:0)+(a.gzhead.comment?16:0)),wt(a,255&a.gzhead.time),wt(a,a.gzhead.time>>8&255),wt(a,a.gzhead.time>>16&255),wt(a,a.gzhead.time>>24&255),wt(a,9===a.level?2:a.strategy>=at||a.level<2?4:0),wt(a,255&a.gzhead.os),a.gzhead.extra&&a.gzhead.extra.length&&(wt(a,255&a.gzhead.extra.length),wt(a,a.gzhead.extra.length>>8&255)),a.gzhead.hcrc&&(t.adler=N(t.adler,a.pending_buf,a.pending,0)),a.gzindex=0,a.status=69;else if(wt(a,0),wt(a,0),wt(a,0),wt(a,0),wt(a,0),wt(a,9===a.level?2:a.strategy>=at||a.level<2?4:0),wt(a,3),a.status=113,ct(t),0!==a.pending)return a.last_flush=-1,q;if(69===a.status){if(a.gzhead.extra){let e=a.pending,i=(65535&a.gzhead.extra.length)-a.gzindex;for(;a.pending+i>a.pending_buf_size;){let n=a.pending_buf_size-a.pending;if(a.pending_buf.set(a.gzhead.extra.subarray(a.gzindex,a.gzindex+n),a.pending),a.pending=a.pending_buf_size,a.gzhead.hcrc&&a.pending>e&&(t.adler=N(t.adler,a.pending_buf,a.pending-e,e)),a.gzindex+=n,ct(t),0!==a.pending)return a.last_flush=-1,q;e=0,i-=n}let n=new Uint8Array(a.gzhead.extra);a.pending_buf.set(n.subarray(a.gzindex,a.gzindex+i),a.pending),a.pending+=i,a.gzhead.hcrc&&a.pending>e&&(t.adler=N(t.adler,a.pending_buf,a.pending-e,e)),a.gzindex=0}a.status=73}if(73===a.status){if(a.gzhead.name){let e,i=a.pending;do{if(a.pending===a.pending_buf_size){if(a.gzhead.hcrc&&a.pending>i&&(t.adler=N(t.adler,a.pending_buf,a.pending-i,i)),ct(t),0!==a.pending)return a.last_flush=-1,q;i=0}e=a.gzindex<a.gzhead.name.length?255&a.gzhead.name.charCodeAt(a.gzindex++):0,wt(a,e)}while(0!==e);a.gzhead.hcrc&&a.pending>i&&(t.adler=N(t.adler,a.pending_buf,a.pending-i,i)),a.gzindex=0}a.status=91}if(91===a.status){if(a.gzhead.comment){let e,i=a.pending;do{if(a.pending===a.pending_buf_size){if(a.gzhead.hcrc&&a.pending>i&&(t.adler=N(t.adler,a.pending_buf,a.pending-i,i)),ct(t),0!==a.pending)return a.last_flush=-1,q;i=0}e=a.gzindex<a.gzhead.comment.length?255&a.gzhead.comment.charCodeAt(a.gzindex++):0,wt(a,e)}while(0!==e);a.gzhead.hcrc&&a.pending>i&&(t.adler=N(t.adler,a.pending_buf,a.pending-i,i))}a.status=103}if(103===a.status){if(a.gzhead.hcrc){if(a.pending+2>a.pending_buf_size&&(ct(t),0!==a.pending))return a.last_flush=-1,q;wt(a,255&t.adler),wt(a,t.adler>>8&255),t.adler=0}if(a.status=113,ct(t),0!==a.pending)return a.last_flush=-1,q}if(0!==t.avail_in||0!==a.lookahead||e!==P&&666!==a.status){let i=0===a.level?kt(a,e):a.strategy===at?((t,e)=>{let a;for(;;){if(0===t.lookahead&&(pt(t),0===t.lookahead)){if(e===P)return 1;break}if(t.match_length=0,a=j(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++,a&&(ut(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,e===X?(ut(t,!0),0===t.strm.avail_out?3:4):t.sym_next&&(ut(t,!1),0===t.strm.avail_out)?1:2})(a,e):a.strategy===it?((t,e)=>{let a,i,n,s;const r=t.window;for(;;){if(t.lookahead<=258){if(pt(t),t.lookahead<=258&&e===P)return 1;if(0===t.lookahead)break}if(t.match_length=0,t.lookahead>=3&&t.strstart>0&&(n=t.strstart-1,i=r[n],i===r[++n]&&i===r[++n]&&i===r[++n])){s=t.strstart+258;do{}while(i===r[++n]&&i===r[++n]&&i===r[++n]&&i===r[++n]&&i===r[++n]&&i===r[++n]&&i===r[++n]&&i===r[++n]&&n<s);t.match_length=258-(s-n),t.match_length>t.lookahead&&(t.match_length=t.lookahead)}if(t.match_length>=3?(a=j(t,1,t.match_length-3),t.lookahead-=t.match_length,t.strstart+=t.match_length,t.match_length=0):(a=j(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++),a&&(ut(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,e===X?(ut(t,!0),0===t.strm.avail_out?3:4):t.sym_next&&(ut(t,!1),0===t.strm.avail_out)?1:2})(a,e):zt[a.level].func(a,e);if(3!==i&&4!==i||(a.status=666),1===i||3===i)return 0===t.avail_out&&(a.last_flush=-1),q;if(2===i&&(e===Y?K(a):e!==W&&(H(a,0,0,!1),e===G&&(dt(a.head),0===a.lookahead&&(a.strstart=0,a.block_start=0,a.insert=0))),ct(t),0===t.avail_out))return a.last_flush=-1,q}return e!==X?q:a.wrap<=0?J:(2===a.wrap?(wt(a,255&t.adler),wt(a,t.adler>>8&255),wt(a,t.adler>>16&255),wt(a,t.adler>>24&255),wt(a,255&t.total_in),wt(a,t.total_in>>8&255),wt(a,t.total_in>>16&255),wt(a,t.total_in>>24&255)):(mt(a,t.adler>>>16),mt(a,65535&t.adler)),ct(t),a.wrap>0&&(a.wrap=-a.wrap),0!==a.pending?q:J)},deflateEnd:t=>{if(Et(t))return Q;const e=t.state.status;return t.state=null,113===e?lt(t,V):q},deflateSetDictionary:(t,e)=>{let a=e.length;if(Et(t))return Q;const i=t.state,n=i.wrap;if(2===n||1===n&&42!==i.status||i.lookahead)return Q;if(1===n&&(t.adler=F(t.adler,e,a,0)),i.wrap=0,a>=i.w_size){0===n&&(dt(i.head),i.strstart=0,i.block_start=0,i.insert=0);let t=new Uint8Array(i.w_size);t.set(e.subarray(a-i.w_size,a),0),e=t,a=i.w_size}const s=t.avail_in,r=t.next_in,o=t.input;for(t.avail_in=a,t.next_in=0,t.input=e,pt(i);i.lookahead>=3;){let t=i.strstart,e=i.lookahead-2;do{i.ins_h=ft(i,i.ins_h,i.window[t+3-1]),i.prev[t&i.w_mask]=i.head[i.ins_h],i.head[i.ins_h]=t,t++}while(--e);i.strstart=t,i.lookahead=2,pt(i)}return i.strstart+=i.lookahead,i.block_start=i.strstart,i.insert=i.lookahead,i.lookahead=0,i.match_length=i.prev_length=2,i.match_available=0,t.next_in=r,t.input=o,t.avail_in=s,i.wrap=n,q},deflateInfo:"pako deflate (from Nodeca project)"};const Dt=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);var Tt=function(t){const e=Array.prototype.slice.call(arguments,1);for(;e.length;){const a=e.shift();if(a){if("object"!=typeof a)throw new TypeError(a+"must be non-object");for(const e in a)Dt(a,e)&&(t[e]=a[e])}}return t},Ot=t=>{let e=0;for(let a=0,i=t.length;a<i;a++)e+=t[a].length;const a=new Uint8Array(e);for(let e=0,i=0,n=t.length;e<n;e++){let n=t[e];a.set(n,i),i+=n.length}return a};let Ft=!0;try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(t){Ft=!1}const Lt=new Uint8Array(256);for(let t=0;t<256;t++)Lt[t]=t>=252?6:t>=248?5:t>=240?4:t>=224?3:t>=192?2:1;Lt[254]=Lt[254]=1;var Nt=t=>{if("function"==typeof TextEncoder&&TextEncoder.prototype.encode)return(new TextEncoder).encode(t);let e,a,i,n,s,r=t.length,o=0;for(n=0;n<r;n++)a=t.charCodeAt(n),55296==(64512&a)&&n+1<r&&(i=t.charCodeAt(n+1),56320==(64512&i)&&(a=65536+(a-55296<<10)+(i-56320),n++)),o+=a<128?1:a<2048?2:a<65536?3:4;for(e=new Uint8Array(o),s=0,n=0;s<o;n++)a=t.charCodeAt(n),55296==(64512&a)&&n+1<r&&(i=t.charCodeAt(n+1),56320==(64512&i)&&(a=65536+(a-55296<<10)+(i-56320),n++)),a<128?e[s++]=a:a<2048?(e[s++]=192|a>>>6,e[s++]=128|63&a):a<65536?(e[s++]=224|a>>>12,e[s++]=128|a>>>6&63,e[s++]=128|63&a):(e[s++]=240|a>>>18,e[s++]=128|a>>>12&63,e[s++]=128|a>>>6&63,e[s++]=128|63&a);return e},It=(t,e)=>{const a=e||t.length;if("function"==typeof TextDecoder&&TextDecoder.prototype.decode)return(new TextDecoder).decode(t.subarray(0,e));let i,n;const s=new Array(2*a);for(n=0,i=0;i<a;){let e=t[i++];if(e<128){s[n++]=e;continue}let r=Lt[e];if(r>4)s[n++]=65533,i+=r-1;else{for(e&=2===r?31:3===r?15:7;r>1&&i<a;)e=e<<6|63&t[i++],r--;r>1?s[n++]=65533:e<65536?s[n++]=e:(e-=65536,s[n++]=55296|e>>10&1023,s[n++]=56320|1023&e)}}return((t,e)=>{if(e<65534&&t.subarray&&Ft)return String.fromCharCode.apply(null,t.length===e?t:t.subarray(0,e));let a="";for(let i=0;i<e;i++)a+=String.fromCharCode(t[i]);return a})(s,n)},Bt=(t,e)=>{(e=e||t.length)>t.length&&(e=t.length);let a=e-1;for(;a>=0&&128==(192&t[a]);)a--;return a<0||0===a?e:a+Lt[t[a]]>e?a:e};var Ct=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0};const Ht=Object.prototype.toString,{Z_NO_FLUSH:Mt,Z_SYNC_FLUSH:jt,Z_FULL_FLUSH:Kt,Z_FINISH:Pt,Z_OK:Yt,Z_STREAM_END:Gt,Z_DEFAULT_COMPRESSION:Xt,Z_DEFAULT_STRATEGY:Wt,Z_DEFLATED:qt}=B;function Jt(t){this.options=Tt({level:Xt,method:qt,chunkSize:16384,windowBits:15,memLevel:8,strategy:Wt},t||{});let e=this.options;e.raw&&e.windowBits>0?e.windowBits=-e.windowBits:e.gzip&&e.windowBits>0&&e.windowBits<16&&(e.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new Ct,this.strm.avail_out=0;let a=St.deflateInit2(this.strm,e.level,e.method,e.windowBits,e.memLevel,e.strategy);if(a!==Yt)throw new Error(I[a]);if(e.header&&St.deflateSetHeader(this.strm,e.header),e.dictionary){let t;if(t="string"==typeof e.dictionary?Nt(e.dictionary):"[object ArrayBuffer]"===Ht.call(e.dictionary)?new Uint8Array(e.dictionary):e.dictionary,a=St.deflateSetDictionary(this.strm,t),a!==Yt)throw new Error(I[a]);this._dict_set=!0}}function Qt(t,e){const a=new Jt(e);if(a.push(t,!0),a.err)throw a.msg||I[a.err];return a.result}Jt.prototype.push=function(t,e){const a=this.strm,i=this.options.chunkSize;let n,s;if(this.ended)return!1;for(s=e===~~e?e:!0===e?Pt:Mt,"string"==typeof t?a.input=Nt(t):"[object ArrayBuffer]"===Ht.call(t)?a.input=new Uint8Array(t):a.input=t,a.next_in=0,a.avail_in=a.input.length;;)if(0===a.avail_out&&(a.output=new Uint8Array(i),a.next_out=0,a.avail_out=i),(s===jt||s===Kt)&&a.avail_out<=6)this.onData(a.output.subarray(0,a.next_out)),a.avail_out=0;else{if(n=St.deflate(a,s),n===Gt)return a.next_out>0&&this.onData(a.output.subarray(0,a.next_out)),n=St.deflateEnd(this.strm),this.onEnd(n),this.ended=!0,n===Yt;if(0!==a.avail_out){if(s>0&&a.next_out>0)this.onData(a.output.subarray(0,a.next_out)),a.avail_out=0;else if(0===a.avail_in)break}else this.onData(a.output)}return!0},Jt.prototype.onData=function(t){this.chunks.push(t)},Jt.prototype.onEnd=function(t){t===Yt&&(this.result=Ot(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg};var Vt={Deflate:Jt,deflate:Qt,deflateRaw:function(t,e){return(e=e||{}).raw=!0,Qt(t,e)},gzip:function(t,e){return(e=e||{}).gzip=!0,Qt(t,e)},constants:B};var $t=function(t,e){let a,i,n,s,r,o,l,h,d,_,f,c,u,w,m,b,g,p,k,v,y,x,z,A;const E=t.state;a=t.next_in,z=t.input,i=a+(t.avail_in-5),n=t.next_out,A=t.output,s=n-(e-t.avail_out),r=n+(t.avail_out-257),o=E.dmax,l=E.wsize,h=E.whave,d=E.wnext,_=E.window,f=E.hold,c=E.bits,u=E.lencode,w=E.distcode,m=(1<<E.lenbits)-1,b=(1<<E.distbits)-1;t:do{c<15&&(f+=z[a++]<<c,c+=8,f+=z[a++]<<c,c+=8),g=u[f&m];e:for(;;){if(p=g>>>24,f>>>=p,c-=p,p=g>>>16&255,0===p)A[n++]=65535&g;else{if(!(16&p)){if(0==(64&p)){g=u[(65535&g)+(f&(1<<p)-1)];continue e}if(32&p){E.mode=16191;break t}t.msg="invalid literal/length code",E.mode=16209;break t}k=65535&g,p&=15,p&&(c<p&&(f+=z[a++]<<c,c+=8),k+=f&(1<<p)-1,f>>>=p,c-=p),c<15&&(f+=z[a++]<<c,c+=8,f+=z[a++]<<c,c+=8),g=w[f&b];a:for(;;){if(p=g>>>24,f>>>=p,c-=p,p=g>>>16&255,!(16&p)){if(0==(64&p)){g=w[(65535&g)+(f&(1<<p)-1)];continue a}t.msg="invalid distance code",E.mode=16209;break t}if(v=65535&g,p&=15,c<p&&(f+=z[a++]<<c,c+=8,c<p&&(f+=z[a++]<<c,c+=8)),v+=f&(1<<p)-1,v>o){t.msg="invalid distance too far back",E.mode=16209;break t}if(f>>>=p,c-=p,p=n-s,v>p){if(p=v-p,p>h&&E.sane){t.msg="invalid distance too far back",E.mode=16209;break t}if(y=0,x=_,0===d){if(y+=l-p,p<k){k-=p;do{A[n++]=_[y++]}while(--p);y=n-v,x=A}}else if(d<p){if(y+=l+d-p,p-=d,p<k){k-=p;do{A[n++]=_[y++]}while(--p);if(y=0,d<k){p=d,k-=p;do{A[n++]=_[y++]}while(--p);y=n-v,x=A}}}else if(y+=d-p,p<k){k-=p;do{A[n++]=_[y++]}while(--p);y=n-v,x=A}for(;k>2;)A[n++]=x[y++],A[n++]=x[y++],A[n++]=x[y++],k-=3;k&&(A[n++]=x[y++],k>1&&(A[n++]=x[y++]))}else{y=n-v;do{A[n++]=A[y++],A[n++]=A[y++],A[n++]=A[y++],k-=3}while(k>2);k&&(A[n++]=A[y++],k>1&&(A[n++]=A[y++]))}break}}break}}while(a<i&&n<r);k=c>>3,a-=k,c-=k<<3,f&=(1<<c)-1,t.next_in=a,t.next_out=n,t.avail_in=a<i?i-a+5:5-(a-i),t.avail_out=n<r?r-n+257:257-(n-r),E.hold=f,E.bits=c};const te=new Uint16Array([3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0]),ee=new Uint8Array([16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78]),ae=new Uint16Array([1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0]),ie=new Uint8Array([16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64]);var ne=(t,e,a,i,n,s,r,o)=>{const l=o.bits;let h,d,_,f,c,u,w=0,m=0,b=0,g=0,p=0,k=0,v=0,y=0,x=0,z=0,A=null;const E=new Uint16Array(16),R=new Uint16Array(16);let Z,U,S,D=null;for(w=0;w<=15;w++)E[w]=0;for(m=0;m<i;m++)E[e[a+m]]++;for(p=l,g=15;g>=1&&0===E[g];g--);if(p>g&&(p=g),0===g)return n[s++]=20971520,n[s++]=20971520,o.bits=1,0;for(b=1;b<g&&0===E[b];b++);for(p<b&&(p=b),y=1,w=1;w<=15;w++)if(y<<=1,y-=E[w],y<0)return-1;if(y>0&&(0===t||1!==g))return-1;for(R[1]=0,w=1;w<15;w++)R[w+1]=R[w]+E[w];for(m=0;m<i;m++)0!==e[a+m]&&(r[R[e[a+m]]++]=m);if(0===t?(A=D=r,u=20):1===t?(A=te,D=ee,u=257):(A=ae,D=ie,u=0),z=0,m=0,w=b,c=s,k=p,v=0,_=-1,x=1<<p,f=x-1,1===t&&x>852||2===t&&x>592)return 1;for(;;){Z=w-v,r[m]+1<u?(U=0,S=r[m]):r[m]>=u?(U=D[r[m]-u],S=A[r[m]-u]):(U=96,S=0),h=1<<w-v,d=1<<k,b=d;do{d-=h,n[c+(z>>v)+d]=Z<<24|U<<16|S|0}while(0!==d);for(h=1<<w-1;z&h;)h>>=1;if(0!==h?(z&=h-1,z+=h):z=0,m++,0==--E[w]){if(w===g)break;w=e[a+r[m]]}if(w>p&&(z&f)!==_){for(0===v&&(v=p),c+=b,k=w-v,y=1<<k;k+v<g&&(y-=E[k+v],!(y<=0));)k++,y<<=1;if(x+=1<<k,1===t&&x>852||2===t&&x>592)return 1;_=z&f,n[_]=p<<24|k<<16|c-s|0}}return 0!==z&&(n[c+z]=w-v<<24|64<<16|0),o.bits=p,0};const{Z_FINISH:se,Z_BLOCK:re,Z_TREES:oe,Z_OK:le,Z_STREAM_END:he,Z_NEED_DICT:de,Z_STREAM_ERROR:_e,Z_DATA_ERROR:fe,Z_MEM_ERROR:ce,Z_BUF_ERROR:ue,Z_DEFLATED:we}=B,me=16209,be=t=>(t>>>24&255)+(t>>>8&65280)+((65280&t)<<8)+((255&t)<<24);function ge(){this.strm=null,this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new Uint16Array(320),this.work=new Uint16Array(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}const pe=t=>{if(!t)return 1;const e=t.state;return!e||e.strm!==t||e.mode<16180||e.mode>16211?1:0},ke=t=>{if(pe(t))return _e;const e=t.state;return t.total_in=t.total_out=e.total=0,t.msg="",e.wrap&&(t.adler=1&e.wrap),e.mode=16180,e.last=0,e.havedict=0,e.flags=-1,e.dmax=32768,e.head=null,e.hold=0,e.bits=0,e.lencode=e.lendyn=new Int32Array(852),e.distcode=e.distdyn=new Int32Array(592),e.sane=1,e.back=-1,le},ve=t=>{if(pe(t))return _e;const e=t.state;return e.wsize=0,e.whave=0,e.wnext=0,ke(t)},ye=(t,e)=>{let a;if(pe(t))return _e;const i=t.state;return e<0?(a=0,e=-e):(a=5+(e>>4),e<48&&(e&=15)),e&&(e<8||e>15)?_e:(null!==i.window&&i.wbits!==e&&(i.window=null),i.wrap=a,i.wbits=e,ve(t))},xe=(t,e)=>{if(!t)return _e;const a=new ge;t.state=a,a.strm=t,a.window=null,a.mode=16180;const i=ye(t,e);return i!==le&&(t.state=null),i};let ze,Ae,Ee=!0;const Re=t=>{if(Ee){ze=new Int32Array(512),Ae=new Int32Array(32);let e=0;for(;e<144;)t.lens[e++]=8;for(;e<256;)t.lens[e++]=9;for(;e<280;)t.lens[e++]=7;for(;e<288;)t.lens[e++]=8;for(ne(1,t.lens,0,288,ze,0,t.work,{bits:9}),e=0;e<32;)t.lens[e++]=5;ne(2,t.lens,0,32,Ae,0,t.work,{bits:5}),Ee=!1}t.lencode=ze,t.lenbits=9,t.distcode=Ae,t.distbits=5},Ze=(t,e,a,i)=>{let n;const s=t.state;return null===s.window&&(s.wsize=1<<s.wbits,s.wnext=0,s.whave=0,s.window=new Uint8Array(s.wsize)),i>=s.wsize?(s.window.set(e.subarray(a-s.wsize,a),0),s.wnext=0,s.whave=s.wsize):(n=s.wsize-s.wnext,n>i&&(n=i),s.window.set(e.subarray(a-i,a-i+n),s.wnext),(i-=n)?(s.window.set(e.subarray(a-i,a),0),s.wnext=i,s.whave=s.wsize):(s.wnext+=n,s.wnext===s.wsize&&(s.wnext=0),s.whave<s.wsize&&(s.whave+=n))),0};var Ue={inflateReset:ve,inflateReset2:ye,inflateResetKeep:ke,inflateInit:t=>xe(t,15),inflateInit2:xe,inflate:(t,e)=>{let a,i,n,s,r,o,l,h,d,_,f,c,u,w,m,b,g,p,k,v,y,x,z=0;const A=new Uint8Array(4);let E,R;const Z=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]);if(pe(t)||!t.output||!t.input&&0!==t.avail_in)return _e;a=t.state,16191===a.mode&&(a.mode=16192),r=t.next_out,n=t.output,l=t.avail_out,s=t.next_in,i=t.input,o=t.avail_in,h=a.hold,d=a.bits,_=o,f=l,x=le;t:for(;;)switch(a.mode){case 16180:if(0===a.wrap){a.mode=16192;break}for(;d<16;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}if(2&a.wrap&&35615===h){0===a.wbits&&(a.wbits=15),a.check=0,A[0]=255&h,A[1]=h>>>8&255,a.check=N(a.check,A,2,0),h=0,d=0,a.mode=16181;break}if(a.head&&(a.head.done=!1),!(1&a.wrap)||(((255&h)<<8)+(h>>8))%31){t.msg="incorrect header check",a.mode=me;break}if((15&h)!==we){t.msg="unknown compression method",a.mode=me;break}if(h>>>=4,d-=4,y=8+(15&h),0===a.wbits&&(a.wbits=y),y>15||y>a.wbits){t.msg="invalid window size",a.mode=me;break}a.dmax=1<<a.wbits,a.flags=0,t.adler=a.check=1,a.mode=512&h?16189:16191,h=0,d=0;break;case 16181:for(;d<16;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}if(a.flags=h,(255&a.flags)!==we){t.msg="unknown compression method",a.mode=me;break}if(57344&a.flags){t.msg="unknown header flags set",a.mode=me;break}a.head&&(a.head.text=h>>8&1),512&a.flags&&4&a.wrap&&(A[0]=255&h,A[1]=h>>>8&255,a.check=N(a.check,A,2,0)),h=0,d=0,a.mode=16182;case 16182:for(;d<32;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}a.head&&(a.head.time=h),512&a.flags&&4&a.wrap&&(A[0]=255&h,A[1]=h>>>8&255,A[2]=h>>>16&255,A[3]=h>>>24&255,a.check=N(a.check,A,4,0)),h=0,d=0,a.mode=16183;case 16183:for(;d<16;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}a.head&&(a.head.xflags=255&h,a.head.os=h>>8),512&a.flags&&4&a.wrap&&(A[0]=255&h,A[1]=h>>>8&255,a.check=N(a.check,A,2,0)),h=0,d=0,a.mode=16184;case 16184:if(1024&a.flags){for(;d<16;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}a.length=h,a.head&&(a.head.extra_len=h),512&a.flags&&4&a.wrap&&(A[0]=255&h,A[1]=h>>>8&255,a.check=N(a.check,A,2,0)),h=0,d=0}else a.head&&(a.head.extra=null);a.mode=16185;case 16185:if(1024&a.flags&&(c=a.length,c>o&&(c=o),c&&(a.head&&(y=a.head.extra_len-a.length,a.head.extra||(a.head.extra=new Uint8Array(a.head.extra_len)),a.head.extra.set(i.subarray(s,s+c),y)),512&a.flags&&4&a.wrap&&(a.check=N(a.check,i,c,s)),o-=c,s+=c,a.length-=c),a.length))break t;a.length=0,a.mode=16186;case 16186:if(2048&a.flags){if(0===o)break t;c=0;do{y=i[s+c++],a.head&&y&&a.length<65536&&(a.head.name+=String.fromCharCode(y))}while(y&&c<o);if(512&a.flags&&4&a.wrap&&(a.check=N(a.check,i,c,s)),o-=c,s+=c,y)break t}else a.head&&(a.head.name=null);a.length=0,a.mode=16187;case 16187:if(4096&a.flags){if(0===o)break t;c=0;do{y=i[s+c++],a.head&&y&&a.length<65536&&(a.head.comment+=String.fromCharCode(y))}while(y&&c<o);if(512&a.flags&&4&a.wrap&&(a.check=N(a.check,i,c,s)),o-=c,s+=c,y)break t}else a.head&&(a.head.comment=null);a.mode=16188;case 16188:if(512&a.flags){for(;d<16;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}if(4&a.wrap&&h!==(65535&a.check)){t.msg="header crc mismatch",a.mode=me;break}h=0,d=0}a.head&&(a.head.hcrc=a.flags>>9&1,a.head.done=!0),t.adler=a.check=0,a.mode=16191;break;case 16189:for(;d<32;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}t.adler=a.check=be(h),h=0,d=0,a.mode=16190;case 16190:if(0===a.havedict)return t.next_out=r,t.avail_out=l,t.next_in=s,t.avail_in=o,a.hold=h,a.bits=d,de;t.adler=a.check=1,a.mode=16191;case 16191:if(e===re||e===oe)break t;case 16192:if(a.last){h>>>=7&d,d-=7&d,a.mode=16206;break}for(;d<3;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}switch(a.last=1&h,h>>>=1,d-=1,3&h){case 0:a.mode=16193;break;case 1:if(Re(a),a.mode=16199,e===oe){h>>>=2,d-=2;break t}break;case 2:a.mode=16196;break;case 3:t.msg="invalid block type",a.mode=me}h>>>=2,d-=2;break;case 16193:for(h>>>=7&d,d-=7&d;d<32;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}if((65535&h)!=(h>>>16^65535)){t.msg="invalid stored block lengths",a.mode=me;break}if(a.length=65535&h,h=0,d=0,a.mode=16194,e===oe)break t;case 16194:a.mode=16195;case 16195:if(c=a.length,c){if(c>o&&(c=o),c>l&&(c=l),0===c)break t;n.set(i.subarray(s,s+c),r),o-=c,s+=c,l-=c,r+=c,a.length-=c;break}a.mode=16191;break;case 16196:for(;d<14;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}if(a.nlen=257+(31&h),h>>>=5,d-=5,a.ndist=1+(31&h),h>>>=5,d-=5,a.ncode=4+(15&h),h>>>=4,d-=4,a.nlen>286||a.ndist>30){t.msg="too many length or distance symbols",a.mode=me;break}a.have=0,a.mode=16197;case 16197:for(;a.have<a.ncode;){for(;d<3;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}a.lens[Z[a.have++]]=7&h,h>>>=3,d-=3}for(;a.have<19;)a.lens[Z[a.have++]]=0;if(a.lencode=a.lendyn,a.lenbits=7,E={bits:a.lenbits},x=ne(0,a.lens,0,19,a.lencode,0,a.work,E),a.lenbits=E.bits,x){t.msg="invalid code lengths set",a.mode=me;break}a.have=0,a.mode=16198;case 16198:for(;a.have<a.nlen+a.ndist;){for(;z=a.lencode[h&(1<<a.lenbits)-1],m=z>>>24,b=z>>>16&255,g=65535&z,!(m<=d);){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}if(g<16)h>>>=m,d-=m,a.lens[a.have++]=g;else{if(16===g){for(R=m+2;d<R;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}if(h>>>=m,d-=m,0===a.have){t.msg="invalid bit length repeat",a.mode=me;break}y=a.lens[a.have-1],c=3+(3&h),h>>>=2,d-=2}else if(17===g){for(R=m+3;d<R;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}h>>>=m,d-=m,y=0,c=3+(7&h),h>>>=3,d-=3}else{for(R=m+7;d<R;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}h>>>=m,d-=m,y=0,c=11+(127&h),h>>>=7,d-=7}if(a.have+c>a.nlen+a.ndist){t.msg="invalid bit length repeat",a.mode=me;break}for(;c--;)a.lens[a.have++]=y}}if(a.mode===me)break;if(0===a.lens[256]){t.msg="invalid code -- missing end-of-block",a.mode=me;break}if(a.lenbits=9,E={bits:a.lenbits},x=ne(1,a.lens,0,a.nlen,a.lencode,0,a.work,E),a.lenbits=E.bits,x){t.msg="invalid literal/lengths set",a.mode=me;break}if(a.distbits=6,a.distcode=a.distdyn,E={bits:a.distbits},x=ne(2,a.lens,a.nlen,a.ndist,a.distcode,0,a.work,E),a.distbits=E.bits,x){t.msg="invalid distances set",a.mode=me;break}if(a.mode=16199,e===oe)break t;case 16199:a.mode=16200;case 16200:if(o>=6&&l>=258){t.next_out=r,t.avail_out=l,t.next_in=s,t.avail_in=o,a.hold=h,a.bits=d,$t(t,f),r=t.next_out,n=t.output,l=t.avail_out,s=t.next_in,i=t.input,o=t.avail_in,h=a.hold,d=a.bits,16191===a.mode&&(a.back=-1);break}for(a.back=0;z=a.lencode[h&(1<<a.lenbits)-1],m=z>>>24,b=z>>>16&255,g=65535&z,!(m<=d);){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}if(b&&0==(240&b)){for(p=m,k=b,v=g;z=a.lencode[v+((h&(1<<p+k)-1)>>p)],m=z>>>24,b=z>>>16&255,g=65535&z,!(p+m<=d);){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}h>>>=p,d-=p,a.back+=p}if(h>>>=m,d-=m,a.back+=m,a.length=g,0===b){a.mode=16205;break}if(32&b){a.back=-1,a.mode=16191;break}if(64&b){t.msg="invalid literal/length code",a.mode=me;break}a.extra=15&b,a.mode=16201;case 16201:if(a.extra){for(R=a.extra;d<R;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}a.length+=h&(1<<a.extra)-1,h>>>=a.extra,d-=a.extra,a.back+=a.extra}a.was=a.length,a.mode=16202;case 16202:for(;z=a.distcode[h&(1<<a.distbits)-1],m=z>>>24,b=z>>>16&255,g=65535&z,!(m<=d);){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}if(0==(240&b)){for(p=m,k=b,v=g;z=a.distcode[v+((h&(1<<p+k)-1)>>p)],m=z>>>24,b=z>>>16&255,g=65535&z,!(p+m<=d);){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}h>>>=p,d-=p,a.back+=p}if(h>>>=m,d-=m,a.back+=m,64&b){t.msg="invalid distance code",a.mode=me;break}a.offset=g,a.extra=15&b,a.mode=16203;case 16203:if(a.extra){for(R=a.extra;d<R;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}a.offset+=h&(1<<a.extra)-1,h>>>=a.extra,d-=a.extra,a.back+=a.extra}if(a.offset>a.dmax){t.msg="invalid distance too far back",a.mode=me;break}a.mode=16204;case 16204:if(0===l)break t;if(c=f-l,a.offset>c){if(c=a.offset-c,c>a.whave&&a.sane){t.msg="invalid distance too far back",a.mode=me;break}c>a.wnext?(c-=a.wnext,u=a.wsize-c):u=a.wnext-c,c>a.length&&(c=a.length),w=a.window}else w=n,u=r-a.offset,c=a.length;c>l&&(c=l),l-=c,a.length-=c;do{n[r++]=w[u++]}while(--c);0===a.length&&(a.mode=16200);break;case 16205:if(0===l)break t;n[r++]=a.length,l--,a.mode=16200;break;case 16206:if(a.wrap){for(;d<32;){if(0===o)break t;o--,h|=i[s++]<<d,d+=8}if(f-=l,t.total_out+=f,a.total+=f,4&a.wrap&&f&&(t.adler=a.check=a.flags?N(a.check,n,f,r-f):F(a.check,n,f,r-f)),f=l,4&a.wrap&&(a.flags?h:be(h))!==a.check){t.msg="incorrect data check",a.mode=me;break}h=0,d=0}a.mode=16207;case 16207:if(a.wrap&&a.flags){for(;d<32;){if(0===o)break t;o--,h+=i[s++]<<d,d+=8}if(4&a.wrap&&h!==(4294967295&a.total)){t.msg="incorrect length check",a.mode=me;break}h=0,d=0}a.mode=16208;case 16208:x=he;break t;case me:x=fe;break t;case 16210:return ce;default:return _e}return t.next_out=r,t.avail_out=l,t.next_in=s,t.avail_in=o,a.hold=h,a.bits=d,(a.wsize||f!==t.avail_out&&a.mode<me&&(a.mode<16206||e!==se))&&Ze(t,t.output,t.next_out,f-t.avail_out),_-=t.avail_in,f-=t.avail_out,t.total_in+=_,t.total_out+=f,a.total+=f,4&a.wrap&&f&&(t.adler=a.check=a.flags?N(a.check,n,f,t.next_out-f):F(a.check,n,f,t.next_out-f)),t.data_type=a.bits+(a.last?64:0)+(16191===a.mode?128:0)+(16199===a.mode||16194===a.mode?256:0),(0===_&&0===f||e===se)&&x===le&&(x=ue),x},inflateEnd:t=>{if(pe(t))return _e;let e=t.state;return e.window&&(e.window=null),t.state=null,le},inflateGetHeader:(t,e)=>{if(pe(t))return _e;const a=t.state;return 0==(2&a.wrap)?_e:(a.head=e,e.done=!1,le)},inflateSetDictionary:(t,e)=>{const a=e.length;let i,n,s;return pe(t)?_e:(i=t.state,0!==i.wrap&&16190!==i.mode?_e:16190===i.mode&&(n=1,n=F(n,e,a,0),n!==i.check)?fe:(s=Ze(t,e,a,a),s?(i.mode=16210,ce):(i.havedict=1,le)))},inflateInfo:"pako inflate (from Nodeca project)"};var Se=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1};const De=Object.prototype.toString,{Z_NO_FLUSH:Te,Z_FINISH:Oe,Z_OK:Fe,Z_STREAM_END:Le,Z_NEED_DICT:Ne,Z_STREAM_ERROR:Ie,Z_DATA_ERROR:Be,Z_MEM_ERROR:Ce}=B;function He(t){this.options=Tt({chunkSize:65536,windowBits:15,to:""},t||{});const e=this.options;e.raw&&e.windowBits>=0&&e.windowBits<16&&(e.windowBits=-e.windowBits,0===e.windowBits&&(e.windowBits=-15)),!(e.windowBits>=0&&e.windowBits<16)||t&&t.windowBits||(e.windowBits+=32),e.windowBits>15&&e.windowBits<48&&0==(15&e.windowBits)&&(e.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new Ct,this.strm.avail_out=0;let a=Ue.inflateInit2(this.strm,e.windowBits);if(a!==Fe)throw new Error(I[a]);if(this.header=new Se,Ue.inflateGetHeader(this.strm,this.header),e.dictionary&&("string"==typeof e.dictionary?e.dictionary=Nt(e.dictionary):"[object ArrayBuffer]"===De.call(e.dictionary)&&(e.dictionary=new Uint8Array(e.dictionary)),e.raw&&(a=Ue.inflateSetDictionary(this.strm,e.dictionary),a!==Fe)))throw new Error(I[a])}He.prototype.push=function(t,e){const a=this.strm,i=this.options.chunkSize,n=this.options.dictionary;let s,r,o;if(this.ended)return!1;for(r=e===~~e?e:!0===e?Oe:Te,"[object ArrayBuffer]"===De.call(t)?a.input=new Uint8Array(t):a.input=t,a.next_in=0,a.avail_in=a.input.length;;){for(0===a.avail_out&&(a.output=new Uint8Array(i),a.next_out=0,a.avail_out=i),s=Ue.inflate(a,r),s===Ne&&n&&(s=Ue.inflateSetDictionary(a,n),s===Fe?s=Ue.inflate(a,r):s===Be&&(s=Ne));a.avail_in>0&&s===Le&&a.state.wrap>0&&0!==t[a.next_in];)Ue.inflateReset(a),s=Ue.inflate(a,r);switch(s){case Ie:case Be:case Ne:case Ce:return this.onEnd(s),this.ended=!0,!1}if(o=a.avail_out,a.next_out&&(0===a.avail_out||s===Le))if("string"===this.options.to){let t=Bt(a.output,a.next_out),e=a.next_out-t,n=It(a.output,t);a.next_out=e,a.avail_out=i-e,e&&a.output.set(a.output.subarray(t,t+e),0),this.onData(n)}else this.onData(a.output.length===a.next_out?a.output:a.output.subarray(0,a.next_out));if(s!==Fe||0!==o){if(s===Le)return s=Ue.inflateEnd(this.strm),this.onEnd(s),this.ended=!0,!0;if(0===a.avail_in)break}}return!0},He.prototype.onData=function(t){this.chunks.push(t)},He.prototype.onEnd=function(t){t===Fe&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=Ot(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg};const{Deflate:Me,deflate:je,deflateRaw:Ke,gzip:Pe}=Vt;var Ye=Me,Ge=je,Xe=B;const We=new class{constructor(){this._init()}clear(){this._init()}addEvent(t){if(!t)throw new Error("Adding invalid event");const e=this._hasEvents?",":"";this.deflate.push(e+t,Xe.Z_SYNC_FLUSH),this._hasEvents=!0}finish(){if(this.deflate.push("]",Xe.Z_FINISH),this.deflate.err)throw this.deflate.err;const t=this.deflate.result;return this._init(),t}_init(){this._hasEvents=!1,this.deflate=new Ye,this.deflate.push("[",Xe.Z_NO_FLUSH)}},qe={clear:()=>{We.clear()},addEvent:t=>We.addEvent(t),finish:()=>We.finish(),compress:t=>function(t){return Ge(t)}(t)};addEventListener("message",(function(t){const e=t.data.method,a=t.data.id,i=t.data.arg;if(e in qe&&"function"==typeof qe[e])try{const t=qe[e](i);postMessage({id:a,method:e,success:!0,response:t})}catch(t){postMessage({id:a,method:e,success:!1,response:t.message}),console.error(t)}})),postMessage({id:void 0,method:"init",success:!0,response:void 0});']);return URL.createObjectURL(e)}();("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&B.log("[Replay] Using compression worker");const t=new Worker(e);return new Us(t)}catch(e){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&B.log("[Replay] Failed to create compression worker")}return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&B.log("[Replay] Using simple buffer"),new Ds}({useCompression:this._options.useCompression}),this._addListeners(),this._isEnabled=!0,this.startRecording()):this._handleException(new Error("No session found")))}startRecording(){try{this._stopRecording=Rs({...this._recordingOptions,..."error"===this.recordingMode&&{checkoutEveryNms:6e4},emit:this._handleRecordingEmit})}catch(e){this._handleException(e)}}stopRecording(){try{return!!this._stopRecording&&(this._stopRecording(),this._stopRecording=void 0,!0)}catch(e){return this._handleException(e),!1}}stop(e){if(this._isEnabled)try{if("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__){const t="[Replay] Stopping Replay"+(e?` triggered by ${e}`:"");(this.getOptions()._experiments.traceInternals?console.warn:B.log)(t)}this._isEnabled=!1,this._removeListeners(),this.stopRecording(),this.eventBuffer&&this.eventBuffer.destroy(),this.eventBuffer=null,this._debouncedFlush.cancel()}catch(e){this._handleException(e)}}pause(){this._isPaused=!0,this.stopRecording()}resume(){this._loadAndCheckSession()&&(this._isPaused=!1,this.startRecording())}addUpdate(e){const t=e();"error"!==this.recordingMode&&!0!==t&&this._debouncedFlush()}triggerUserActivity(){if(this._updateUserActivity(),this._stopRecording)this.checkAndHandleExpiredSession(),this._updateSessionActivity();else{if(!this._loadAndCheckSession())return;this.resume()}}flushImmediate(){return this._debouncedFlush(),this._debouncedFlush.flush()}getSessionId(){return this.session&&this.session.id}checkAndHandleExpiredSession(e){const t=this.getSessionId();if(this._lastActivity&&Bs(this._lastActivity,rr))this.pause();else if(this._loadAndCheckSession(e))return t===this.getSessionId()||(this._triggerFullSnapshot(),!1)}_handleException(e){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&B.error("[Replay]",e),("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&this._options._experiments&&this._options._experiments.captureExceptions&&me(e)}_loadAndCheckSession(e=tr){const{type:t,session:n}=function({expiry:e,currentSession:t,stickySession:n,sessionSampleRate:r,errorSampleRate:s}){const o=t||n&&function(){if(!("sessionStorage"in Jn))return null;try{const e=Jn.sessionStorage.getItem(Zn);return e?Gs(JSON.parse(e)):null}catch(e){return null}}();if(o){if(!js(o,e))return{type:"saved",session:o};if("error"===o.sampled)return{type:"new",session:Gs({sampled:!1})};("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&B.log("[Replay] Session has expired")}return{type:"new",session:Hs({stickySession:n,sessionSampleRate:r,errorSampleRate:s})}}({expiry:e,stickySession:Boolean(this._options.stickySession),currentSession:this.session,sessionSampleRate:this._options.sessionSampleRate,errorSampleRate:this._options.errorSampleRate});"new"===t&&this._setInitialState();const r=this.getSessionId();return n.id!==r&&(n.previousSessionId=r),this.session=n,!!this.session.sampled||(this.stop("session unsampled"),!1)}_setInitialState(){const e=`${Jn.location.pathname}${Jn.location.hash}${Jn.location.search}`,t=`${Jn.location.origin}${e}`;this.performanceEvents=[],this._clearContext(),this._context.initialUrl=t,this._context.initialTimestamp=(new Date).getTime(),this._context.urls.push(t)}_addListeners(){try{Jn.document.addEventListener("visibilitychange",this._handleVisibilityChange),Jn.addEventListener("blur",this._handleWindowBlur),Jn.addEventListener("focus",this._handleWindowFocus),function(e){const t=de().getClient();if(!t)return;const n=t.recordDroppedEvent.bind(t);t.recordDroppedEvent=(t,r,s)=>(s&&!s.type&&s.event_id&&e.delete(s.event_id),n(t,r,s)),no=n}(this._context.errorIds),this._hasInitializedCoreListeners||(Js(this),this._hasInitializedCoreListeners=!0)}catch(e){this._handleException(e)}"PerformanceObserver"in Jn&&(this._performanceObserver=function(e){const t=new PerformanceObserver((t=>{const n=function(e,t){const[n,r,s]=e.reduce(((e,t)=>("navigation"===t.entryType?e[0].push(t):"largest-contentful-paint"===t.entryType?e[1].push(t):e[2].push(t),e)),[[],[],[]]),o=[],i=[];let a=r.length?r[r.length-1]:void 0;return t.forEach((e=>{if("largest-contentful-paint"!==e.entryType)if("navigation"!==e.entryType)o.push(e);else{const t=e;e.duration>0&&!n.find(Ms(t))&&!i.find(Ms(t))&&i.push(t)}else(!a||a.startTime<e.startTime)&&(a=e)})),[...a?[a]:[],...n,...s,...o,...i].sort(((e,t)=>e.startTime-t.startTime))}(e.performanceEvents,t.getEntries());e.performanceEvents=n}));return["element","event","first-input","largest-contentful-paint","layout-shift","longtask","navigation","paint","resource"].forEach((e=>{try{t.observe({type:e,buffered:!0})}catch(e){}})),t}(this))}_removeListeners(){try{Jn.document.removeEventListener("visibilitychange",this._handleVisibilityChange),Jn.removeEventListener("blur",this._handleWindowBlur),Jn.removeEventListener("focus",this._handleWindowFocus),function(){const e=de().getClient();e&&no&&(e.recordDroppedEvent=no)}(),this._performanceObserver&&(this._performanceObserver.disconnect(),this._performanceObserver=null)}catch(e){this._handleException(e)}}__init12(){this._handleRecordingEmit=(e,t)=>{this.checkAndHandleExpiredSession()?this.addUpdate((()=>("error"===this.recordingMode&&2===e.type&&this._setInitialState(),zs(this,e,t),2===e.type&&(this.session&&this.session.previousSessionId||("error"===this.recordingMode&&this.session&&this._context.earliestEvent&&(this.session.started=this._context.earliestEvent,this._maybeSaveSession()),"session"===this.recordingMode&&this.flushImmediate()),!0)))):("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&B.error("[Replay] Received replay event after session expired.")}}__init13(){this._handleVisibilityChange=()=>{"visible"===Jn.document.visibilityState?this._doChangeToForegroundTasks():this._doChangeToBackgroundTasks()}}__init14(){this._handleWindowBlur=()=>{const e=Ys({category:"ui.blur"});this._doChangeToBackgroundTasks(e)}}__init15(){this._handleWindowFocus=()=>{const e=Ys({category:"ui.focus"});this._doChangeToForegroundTasks(e)}}_doChangeToBackgroundTasks(e){if(!this.session)return;const t=js(this.session,nr);e&&!t&&this._createCustomBreadcrumb(e),this._conditionalFlush()}_doChangeToForegroundTasks(e){this.session&&(this.checkAndHandleExpiredSession(nr)?e&&this._createCustomBreadcrumb(e):("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&B.log("[Replay] Document has become active, but session has expired"))}_triggerFullSnapshot(){try{("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&B.log("[Replay] Taking full rrweb snapshot"),Rs.takeFullSnapshot(!0)}catch(e){this._handleException(e)}}_updateUserActivity(e=(new Date).getTime()){this._lastActivity=e}_updateSessionActivity(e=(new Date).getTime()){this.session&&(this.session.lastActivity=e,this._maybeSaveSession())}_createCustomBreadcrumb(e){this.addUpdate((()=>{zs(this,{type:Ir.Custom,timestamp:e.timestamp||0,data:{tag:"breadcrumb",payload:e}})}))}_addPerformanceEntries(){const e=[...this.performanceEvents];return this.performanceEvents=[],Promise.all(Xs(this,function(e){return e.map(eo).filter(Boolean)}(e)))}_conditionalFlush(){"error"!==this.recordingMode&&this.flushImmediate()}_clearContext(){this._context.errorIds.clear(),this._context.traceIds.clear(),this._context.urls=[],this._context.earliestEvent=null}_popEventContext(){this._context.earliestEvent&&this._context.earliestEvent<this._context.initialTimestamp&&(this._context.initialTimestamp=this._context.earliestEvent);const e={initialTimestamp:this._context.initialTimestamp,initialUrl:this._context.initialUrl,errorIds:Array.from(this._context.errorIds).filter(Boolean),traceIds:Array.from(this._context.traceIds).filter(Boolean),urls:this._context.urls};return this._clearContext(),e}async _runFlush(){if(this.session&&this.eventBuffer){if(await this._addPerformanceEntries(),this.eventBuffer&&this.eventBuffer.hasEvents&&(await async function(e){try{return Promise.all(Xs(e,[Zs(Jn.performance.memory)]))}catch(e){return[]}}(this),this.eventBuffer))try{const e=await this.eventBuffer.finish(),t=this.session.id,n=this._popEventContext(),r=this.session.segmentId++;this._maybeSaveSession(),await so({replayId:t,recordingData:e,segmentId:r,includeReplayStartTimestamp:0===r,eventContext:n,session:this.session,options:this.getOptions(),timestamp:(new Date).getTime()})}catch(e){this._handleException(e),this.stop("sendReplay");const t=de().getClient();t&&t.recordDroppedEvent("send_error","replay")}}else("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&B.error("[Replay] No session or eventBuffer found to flush.")}__init16(){this._flush=async()=>{if(this._isEnabled)if(this.checkAndHandleExpiredSession())if(this.session){if(this._debouncedFlush.cancel(),!this._flushLock)return this._flushLock=this._runFlush(),await this._flushLock,void(this._flushLock=null);try{await this._flushLock}catch(e){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&B.error(e)}finally{this._debouncedFlush()}}else("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&B.error("[Replay] No session found to flush.");else("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&B.error("[Replay] Attempting to finish replay event after session expired.")}}_maybeSaveSession(){this.session&&this._options.stickySession&&Vs(this.session)}}function io(e,t,n,r){const s=[...e,..."string"==typeof r?r.split(","):[],...t];return void 0!==n&&("string"==typeof n&&s.push(`.${n}`),console.warn("[Replay] You are using a deprecated configuration item for privacy. Read the documentation on how to use the new privacy configuration.")),s.join(",")}function ao({mask:e,unmask:t,block:n,unblock:r,ignore:s,blockClass:o,blockSelector:i,maskTextClass:a,maskTextSelector:l,ignoreClass:c}){const u=io(e,[".sentry-mask","[data-sentry-mask]"],a,l),d=io(t,[".sentry-unmask","[data-sentry-unmask]"]),p={maskTextSelector:u,unmaskTextSelector:d,maskInputSelector:u,unmaskInputSelector:d,blockSelector:io(n,[".sentry-block","[data-sentry-block]",'base[href="/"]'],o,i),unblockSelector:io(r,[".sentry-unblock","[data-sentry-unblock]"]),ignoreSelector:io(s,[".sentry-ignore","[data-sentry-ignore]"],c)};return o instanceof RegExp&&(p.blockClass=o),a instanceof RegExp&&(p.maskTextClass=a),p}function lo(){return"undefined"!=typeof window&&(!(0,Z.KV)()||"undefined"!=typeof process&&"renderer"===process.type)}const co='img,image,svg,video,object,picture,embed,map,audio,link[rel="icon"],link[rel="apple-touch-icon"]';let uo=!1;class po{static __initStatic(){this.id="Replay"}__init(){this.name=po.id}constructor({flushMinDelay:e=5e3,flushMaxDelay:t=5500,stickySession:n=!0,useCompression:r=!0,_experiments:s={},sessionSampleRate:o,errorSampleRate:i,maskAllText:a=!0,maskAllInputs:l=!0,blockAllMedia:c=!0,mask:u=[],unmask:d=[],block:p=[],unblock:h=[],ignore:f=[],maskFn:_,blockClass:m,blockSelector:g,maskInputOptions:y,maskTextClass:v,maskTextSelector:E,ignoreClass:b}={}){if(po.prototype.__init.call(this),this._recordingOptions={maskAllInputs:l,maskAllText:a,maskInputOptions:{...y||{},password:!0},maskTextFn:_,maskInputFn:_,...ao({mask:u,unmask:d,block:p,unblock:h,ignore:f,blockClass:m,blockSelector:g,maskTextClass:v,maskTextSelector:E,ignoreClass:b}),slimDOMOptions:"all",inlineStylesheet:!0,inlineImages:!1,collectFonts:!0},this._initialOptions={flushMinDelay:e,flushMaxDelay:t,stickySession:n,sessionSampleRate:o,errorSampleRate:i,useCompression:r,blockAllMedia:c,_experiments:s},"number"==typeof o&&(console.warn(`[Replay] You are passing \`sessionSampleRate\` to the Replay integration.\nThis option is deprecated and will be removed soon.\nInstead, configure \`replaysSessionSampleRate\` directly in the SDK init options, e.g.:\nSentry.init({ replaysSessionSampleRate: ${o} })`),this._initialOptions.sessionSampleRate=o),"number"==typeof i&&(console.warn(`[Replay] You are passing \`errorSampleRate\` to the Replay integration.\nThis option is deprecated and will be removed soon.\nInstead, configure \`replaysOnErrorSampleRate\` directly in the SDK init options, e.g.:\nSentry.init({ replaysOnErrorSampleRate: ${i} })`),this._initialOptions.errorSampleRate=i),this._initialOptions.blockAllMedia&&(this._recordingOptions.blockSelector=this._recordingOptions.blockSelector?`${this._recordingOptions.blockSelector},${co}`:co),this._isInitialized&&lo())throw new Error("Multiple Sentry Session Replay instances are not supported");this._isInitialized=!0}get _isInitialized(){return uo}set _isInitialized(e){uo=e}setupOnce(){lo()&&(this._setup(),setTimeout((()=>this.start())))}start(){this._replay&&this._replay.start()}stop(){this._replay&&this._replay.stop()}flush(){if(this._replay&&this._replay.isEnabled())return this._replay.flushImmediate()}_setup(){const e=function(e){const t=de().getClient(),n=t&&t.getOptions(),r={sessionSampleRate:0,errorSampleRate:0,...R(e)};return n?(null==e.sessionSampleRate&&null==e.errorSampleRate&&null==n.replaysSessionSampleRate&&null==n.replaysOnErrorSampleRate&&console.warn("Replay is disabled because neither `replaysSessionSampleRate` nor `replaysOnErrorSampleRate` are set."),"number"==typeof n.replaysSessionSampleRate&&(r.sessionSampleRate=n.replaysSessionSampleRate),"number"==typeof n.replaysOnErrorSampleRate&&(r.errorSampleRate=n.replaysOnErrorSampleRate),r):(console.warn("SDK client is not available."),r)}(this._initialOptions);this._replay=new oo({options:e,recordingOptions:this._recordingOptions})}}po.__initStatic();const ho=100,fo=5e3,_o=36e5;function mo(e,t){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&B.info(`[Offline]: ${e}`,t)}function go(e){return t=>{const n=e(t),r=t.createStore?t.createStore(t):void 0;let s,o=fo;function i(e){r&&(s&&clearTimeout(s),s=setTimeout((async()=>{s=void 0;const e=await r.pop();e&&(mo("Attempting to send previously queued event"),l(e).catch((e=>{mo("Failed to retry sending",e)})))}),e),"number"!=typeof s&&s.unref&&s.unref())}function a(){s||(i(o),o=Math.min(2*o,_o))}async function l(e){try{const t=await n.send(e);let r=ho;if(t)if(t.headers&&t.headers["retry-after"])r=Ze(t.headers["retry-after"]);else if((t.statusCode||0)>=400)return t;return i(r),o=fo,t}catch(n){if(r&&await function(e,n,r){return s=["replay_event","replay_recording","client_report"],!Ge(e,((e,t)=>s.includes(t)))&&(!t.shouldStore||t.shouldStore(e,n,r));var s}(e,n,o))return await r.insert(e),a(),mo("Error sending. Event queued",n),{};throw n}}return t.flushAtStartup&&a(),{send:l,flush:e=>n.flush(e)}}}function yo(e){return new Promise(((t,n)=>{e.oncomplete=e.onsuccess=()=>t(e.result),e.onabort=e.onerror=()=>n(e.error)}))}function vo(e){return yo(e.getAllKeys())}function Eo(e){let t;function n(){return null==t&&(t=function(e,t){const n=indexedDB.open(e);n.onupgradeneeded=()=>n.result.createObjectStore(t);const r=yo(n);return e=>r.then((n=>e(n.transaction(t,"readwrite").objectStore(t))))}(e.dbName||"sentry-offline",e.storeName||"queue")),t}return{insert:async t=>{try{const r=await ze(t,e.textEncoder);await function(e,t,n){return e((e=>vo(e).then((r=>{if(!(r.length>=n))return e.put(t,Math.max(...r,0)+1),yo(e.transaction)}))))}(n(),r,e.maxQueueSize||30)}catch(e){}},pop:async()=>{try{const t=await function(e){return e((e=>vo(e).then((t=>{if(0!==t.length)return yo(e.get(t[0])).then((n=>(e.delete(t[0]),yo(e.transaction).then((()=>n)))))}))))}(n());if(t)return function(e,t,n){let r="string"==typeof e?t.encode(e):e;function s(e){const t=r.subarray(0,e);return r=r.subarray(e+1),t}function o(){let e=r.indexOf(10);return e<0&&(e=r.length),JSON.parse(n.decode(s(e)))}const i=o(),a=[];for(;r.length;){const e=o(),t="number"==typeof e.length?e.length:void 0;a.push([e,t?s(t):o()])}return[i,a]}(t,e.textEncoder||new TextEncoder,e.textDecoder||new TextDecoder)}catch(e){}}}}function bo(e){return function(e){return t=>e({...t,createStore:Eo})}(go(e))}let So={};nt.Sentry&&nt.Sentry.Integrations&&(So=nt.Sentry.Integrations);const To={...So,...r,...s}},267:(e,t,n)=>{"use strict";function r(){return"undefined"!=typeof __SENTRY_BROWSER_BUNDLE__&&!!__SENTRY_BROWSER_BUNDLE__}function s(){return"npm"}n.d(t,{S:()=>s,n:()=>r})},708:(e,t,n)=>{"use strict";n.d(t,{KV:()=>s,l$:()=>o});var r=n(267);function s(){return!(0,r.n)()&&"[object process]"===Object.prototype.toString.call("undefined"!=typeof process?process:0)}function o(e,t){return e.require(t)}e=n.hmd(e)},281:(e,t,n)=>{"use strict";n.d(t,{Z1:()=>p,ph:()=>u,yW:()=>c});var r=n(708),s=n(397);e=n.hmd(e);const o=(0,s.Rf)(),i={nowSeconds:()=>Date.now()/1e3},a=(0,r.KV)()?function(){try{return(0,r.l$)(e,"perf_hooks").performance}catch(e){return}}():function(){const{performance:e}=o;if(e&&e.now)return{now:()=>e.now(),timeOrigin:Date.now()-e.now()}}(),l=void 0===a?i:{nowSeconds:()=>(a.timeOrigin+a.now())/1e3},c=i.nowSeconds.bind(i),u=l.nowSeconds.bind(l);let d;const p=(()=>{const{performance:e}=o;if(!e||!e.now)return void(d="none");const t=36e5,n=e.now(),r=Date.now(),s=e.timeOrigin?Math.abs(e.timeOrigin+n-r):t,i=s<t,a=e.timing&&e.timing.navigationStart,l="number"==typeof a?Math.abs(a+n-r):t;return i||l<t?s<=l?(d="timeOrigin",e.timeOrigin):(d="navigationStart",a):(d="dateNow",r)})()},397:(e,t,n)=>{"use strict";function r(e){return e&&e.Math==Math?e:void 0}n.d(t,{Rf:()=>o,YO:()=>i,n2:()=>s});const s="object"==typeof globalThis&&r(globalThis)||"object"==typeof window&&r(window)||"object"==typeof self&&r(self)||"object"==typeof n.g&&r(n.g)||function(){return this}()||{};function o(){return s}function i(e,t,n){const r=n||s,o=r.__SENTRY__=r.__SENTRY__||{};return o[e]||(o[e]=t())}},349:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BASE_TRANSITION:()=>l,BindingTypes:()=>br,CAMELIZE:()=>R,CAPITALIZE:()=>L,CREATE_BLOCK:()=>u,CREATE_COMMENT:()=>f,CREATE_ELEMENT_BLOCK:()=>d,CREATE_ELEMENT_VNODE:()=>h,CREATE_SLOTS:()=>w,CREATE_STATIC:()=>m,CREATE_TEXT:()=>_,CREATE_VNODE:()=>p,CompilerDeprecationTypes:()=>we,ConstantTypes:()=>X,DOMDirectiveTransforms:()=>Wr,DOMErrorCodes:()=>Ur,DOMErrorMessages:()=>Br,DOMNodeTransforms:()=>Yr,ElementTypes:()=>W,ErrorCodes:()=>Le,FRAGMENT:()=>s,GUARD_REACTIVE_PROPS:()=>I,IS_MEMO_SAME:()=>$,IS_REF:()=>j,KEEP_ALIVE:()=>a,MERGE_PROPS:()=>O,NORMALIZE_CLASS:()=>N,NORMALIZE_PROPS:()=>x,NORMALIZE_STYLE:()=>C,Namespaces:()=>z,NodeTypes:()=>Y,OPEN_BLOCK:()=>c,POP_SCOPE_ID:()=>F,PUSH_SCOPE_ID:()=>P,RENDER_LIST:()=>S,RENDER_SLOT:()=>T,RESOLVE_COMPONENT:()=>g,RESOLVE_DIRECTIVE:()=>v,RESOLVE_DYNAMIC_COMPONENT:()=>y,RESOLVE_FILTER:()=>E,SET_BLOCK_TRACKING:()=>D,SUSPENSE:()=>i,TELEPORT:()=>o,TO_DISPLAY_STRING:()=>k,TO_HANDLERS:()=>A,TO_HANDLER_KEY:()=>M,TRANSITION:()=>Ar,TRANSITION_GROUP:()=>Rr,TS_NODE_TYPES:()=>ze,UNREF:()=>B,V_MODEL_CHECKBOX:()=>wr,V_MODEL_DYNAMIC:()=>Nr,V_MODEL_RADIO:()=>Tr,V_MODEL_SELECT:()=>Or,V_MODEL_TEXT:()=>kr,V_ON_WITH_KEYS:()=>xr,V_ON_WITH_MODIFIERS:()=>Cr,V_SHOW:()=>Ir,WITH_CTX:()=>U,WITH_DIRECTIVES:()=>b,WITH_MEMO:()=>V,advancePositionWithClone:()=>rt,advancePositionWithMutation:()=>st,assert:()=>ot,baseCompile:()=>Er,baseParse:()=>nn,buildDirectiveArgs:()=>Qn,buildProps:()=>Kn,buildSlots:()=>Gn,checkCompatEnabled:()=>Ce,compile:()=>Xr,convertToBlock:()=>me,createArrayExpression:()=>Z,createAssignmentExpression:()=>de,createBlockStatement:()=>le,createCacheExpression:()=>ae,createCallExpression:()=>se,createCompilerError:()=>Re,createCompoundExpression:()=>re,createConditionalExpression:()=>ie,createDOMCompilerError:()=>Fr,createForLoopParams:()=>Un,createFunctionExpression:()=>oe,createIfStatement:()=>ue,createInterpolation:()=>ne,createObjectExpression:()=>Q,createObjectProperty:()=>ee,createReturnStatement:()=>he,createRoot:()=>K,createSequenceExpression:()=>pe,createSimpleExpression:()=>te,createStructuralDirectiveTransform:()=>mn,createTemplateLiteral:()=>ce,createTransformContext:()=>hn,createVNodeCall:()=>J,errorMessages:()=>Me,extractIdentifiers:()=>Ve,findDir:()=>it,findProp:()=>at,forAliasRE:()=>bt,generate:()=>vn,generateCodeFrame:()=>r.generateCodeFrame,getBaseTransformPreset:()=>vr,getConstantType:()=>an,getMemoedVNodeCall:()=>Et,getVNodeBlockHelper:()=>_e,getVNodeHelper:()=>fe,hasDynamicKeyVBind:()=>ct,hasScopeRef:()=>vt,helperNameMap:()=>G,injectProp:()=>mt,isCoreComponent:()=>Xe,isFunctionType:()=>$e,isInDestructureAssignment:()=>Fe,isInNewExpression:()=>Ue,isMemberExpression:()=>nt,isMemberExpressionBrowser:()=>et,isMemberExpressionNode:()=>tt,isReferencedIdentifier:()=>Pe,isSimpleIdentifier:()=>Ke,isSlotOutlet:()=>ht,isStaticArgOf:()=>lt,isStaticExp:()=>We,isStaticProperty:()=>Ge,isStaticPropertyKey:()=>He,isTemplateNode:()=>pt,isText:()=>ut,isVSlot:()=>dt,locStub:()=>q,noopDirectiveTransform:()=>Sr,parse:()=>qr,parserOptions:()=>Mr,processExpression:()=>Cn,processFor:()=>Pn,processIf:()=>An,processSlotOutlet:()=>nr,registerRuntimeHelpers:()=>H,resolveComponentType:()=>qn,stringifyExpression:()=>xn,toValidAssetId:()=>yt,trackSlotScopes:()=>jn,trackVForSlotScopes:()=>Vn,transform:()=>fn,transformBind:()=>or,transformElement:()=>Xn,transformExpression:()=>Nn,transformModel:()=>ur,transformOn:()=>sr,transformStyle:()=>Dr,traverseNode:()=>_n,unwrapTSNode:()=>Ye,walkBlockDeclarations:()=>je,walkFunctionParams:()=>Be,walkIdentifiers:()=>De,warnDeprecation:()=>xe});var r=n(933);const s=Symbol(""),o=Symbol(""),i=Symbol(""),a=Symbol(""),l=Symbol(""),c=Symbol(""),u=Symbol(""),d=Symbol(""),p=Symbol(""),h=Symbol(""),f=Symbol(""),_=Symbol(""),m=Symbol(""),g=Symbol(""),y=Symbol(""),v=Symbol(""),E=Symbol(""),b=Symbol(""),S=Symbol(""),T=Symbol(""),w=Symbol(""),k=Symbol(""),O=Symbol(""),N=Symbol(""),C=Symbol(""),x=Symbol(""),I=Symbol(""),A=Symbol(""),R=Symbol(""),L=Symbol(""),M=Symbol(""),D=Symbol(""),P=Symbol(""),F=Symbol(""),U=Symbol(""),B=Symbol(""),j=Symbol(""),V=Symbol(""),$=Symbol(""),G={[s]:"Fragment",[o]:"Teleport",[i]:"Suspense",[a]:"KeepAlive",[l]:"BaseTransition",[c]:"openBlock",[u]:"createBlock",[d]:"createElementBlock",[p]:"createVNode",[h]:"createElementVNode",[f]:"createCommentVNode",[_]:"createTextVNode",[m]:"createStaticVNode",[g]:"resolveComponent",[y]:"resolveDynamicComponent",[v]:"resolveDirective",[E]:"resolveFilter",[b]:"withDirectives",[S]:"renderList",[T]:"renderSlot",[w]:"createSlots",[k]:"toDisplayString",[O]:"mergeProps",[N]:"normalizeClass",[C]:"normalizeStyle",[x]:"normalizeProps",[I]:"guardReactiveProps",[A]:"toHandlers",[R]:"camelize",[L]:"capitalize",[M]:"toHandlerKey",[D]:"setBlockTracking",[P]:"pushScopeId",[F]:"popScopeId",[U]:"withCtx",[B]:"unref",[j]:"isRef",[V]:"withMemo",[$]:"isMemoSame"};function H(e){Object.getOwnPropertySymbols(e).forEach((t=>{G[t]=e[t]}))}const z={HTML:0,0:"HTML",SVG:1,1:"SVG",MATH_ML:2,2:"MATH_ML"},Y={ROOT:0,0:"ROOT",ELEMENT:1,1:"ELEMENT",TEXT:2,2:"TEXT",COMMENT:3,3:"COMMENT",SIMPLE_EXPRESSION:4,4:"SIMPLE_EXPRESSION",INTERPOLATION:5,5:"INTERPOLATION",ATTRIBUTE:6,6:"ATTRIBUTE",DIRECTIVE:7,7:"DIRECTIVE",COMPOUND_EXPRESSION:8,8:"COMPOUND_EXPRESSION",IF:9,9:"IF",IF_BRANCH:10,10:"IF_BRANCH",FOR:11,11:"FOR",TEXT_CALL:12,12:"TEXT_CALL",VNODE_CALL:13,13:"VNODE_CALL",JS_CALL_EXPRESSION:14,14:"JS_CALL_EXPRESSION",JS_OBJECT_EXPRESSION:15,15:"JS_OBJECT_EXPRESSION",JS_PROPERTY:16,16:"JS_PROPERTY",JS_ARRAY_EXPRESSION:17,17:"JS_ARRAY_EXPRESSION",JS_FUNCTION_EXPRESSION:18,18:"JS_FUNCTION_EXPRESSION",JS_CONDITIONAL_EXPRESSION:19,19:"JS_CONDITIONAL_EXPRESSION",JS_CACHE_EXPRESSION:20,20:"JS_CACHE_EXPRESSION",JS_BLOCK_STATEMENT:21,21:"JS_BLOCK_STATEMENT",JS_TEMPLATE_LITERAL:22,22:"JS_TEMPLATE_LITERAL",JS_IF_STATEMENT:23,23:"JS_IF_STATEMENT",JS_ASSIGNMENT_EXPRESSION:24,24:"JS_ASSIGNMENT_EXPRESSION",JS_SEQUENCE_EXPRESSION:25,25:"JS_SEQUENCE_EXPRESSION",JS_RETURN_STATEMENT:26,26:"JS_RETURN_STATEMENT"},W={ELEMENT:0,0:"ELEMENT",COMPONENT:1,1:"COMPONENT",SLOT:2,2:"SLOT",TEMPLATE:3,3:"TEMPLATE"},X={NOT_CONSTANT:0,0:"NOT_CONSTANT",CAN_SKIP_PATCH:1,1:"CAN_SKIP_PATCH",CAN_HOIST:2,2:"CAN_HOIST",CAN_STRINGIFY:3,3:"CAN_STRINGIFY"},q={start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0},source:""};function K(e,t=""){return{type:0,source:t,children:e,helpers:new Set,components:[],directives:[],hoists:[],imports:[],cached:0,temps:0,codegenNode:void 0,loc:q}}function J(e,t,n,r,s,o,i,a=!1,l=!1,u=!1,d=q){return e&&(a?(e.helper(c),e.helper(_e(e.inSSR,u))):e.helper(fe(e.inSSR,u)),i&&e.helper(b)),{type:13,tag:t,props:n,children:r,patchFlag:s,dynamicProps:o,directives:i,isBlock:a,disableTracking:l,isComponent:u,loc:d}}function Z(e,t=q){return{type:17,loc:t,elements:e}}function Q(e,t=q){return{type:15,loc:t,properties:e}}function ee(e,t){return{type:16,loc:q,key:(0,r.isString)(e)?te(e,!0):e,value:t}}function te(e,t=!1,n=q,r=0){return{type:4,loc:n,content:e,isStatic:t,constType:t?3:r}}function ne(e,t){return{type:5,loc:t,content:(0,r.isString)(e)?te(e,!1,t):e}}function re(e,t=q){return{type:8,loc:t,children:e}}function se(e,t=[],n=q){return{type:14,loc:n,callee:e,arguments:t}}function oe(e,t=void 0,n=!1,r=!1,s=q){return{type:18,params:e,returns:t,newline:n,isSlot:r,loc:s}}function ie(e,t,n,r=!0){return{type:19,test:e,consequent:t,alternate:n,newline:r,loc:q}}function ae(e,t,n=!1){return{type:20,index:e,value:t,isVNode:n,loc:q}}function le(e){return{type:21,body:e,loc:q}}function ce(e){return{type:22,elements:e,loc:q}}function ue(e,t,n){return{type:23,test:e,consequent:t,alternate:n,loc:q}}function de(e,t){return{type:24,left:e,right:t,loc:q}}function pe(e){return{type:25,expressions:e,loc:q}}function he(e){return{type:26,returns:e,loc:q}}function fe(e,t){return e||t?p:h}function _e(e,t){return e||t?u:d}function me(e,{helper:t,removeHelper:n,inSSR:r}){e.isBlock||(e.isBlock=!0,n(fe(r,e.isComponent)),t(c),t(_e(r,e.isComponent)))}const ge=new Uint8Array([123,123]),ye=new Uint8Array([125,125]);function ve(e){return e>=97&&e<=122||e>=65&&e<=90}function Ee(e){return 32===e||10===e||9===e||12===e||13===e}function be(e){return 47===e||62===e||Ee(e)}function Se(e){const t=new Uint8Array(e.length);for(let n=0;n<e.length;n++)t[n]=e.charCodeAt(n);return t}const Te={Cdata:new Uint8Array([67,68,65,84,65,91]),CdataEnd:new Uint8Array([93,93,62]),CommentEnd:new Uint8Array([45,45,62]),ScriptEnd:new Uint8Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint8Array([60,47,115,116,121,108,101]),TitleEnd:new Uint8Array([60,47,116,105,116,108,101]),TextareaEnd:new Uint8Array([60,47,116,101,120,116,97,114,101,97])},we={COMPILER_IS_ON_ELEMENT:"COMPILER_IS_ON_ELEMENT",COMPILER_V_BIND_SYNC:"COMPILER_V_BIND_SYNC",COMPILER_V_BIND_OBJECT_ORDER:"COMPILER_V_BIND_OBJECT_ORDER",COMPILER_V_ON_NATIVE:"COMPILER_V_ON_NATIVE",COMPILER_V_IF_V_FOR_PRECEDENCE:"COMPILER_V_IF_V_FOR_PRECEDENCE",COMPILER_NATIVE_TEMPLATE:"COMPILER_NATIVE_TEMPLATE",COMPILER_INLINE_TEMPLATE:"COMPILER_INLINE_TEMPLATE",COMPILER_FILTERS:"COMPILER_FILTERS"},ke={COMPILER_IS_ON_ELEMENT:{message:'Platform-native elements with "is" prop will no longer be treated as components in Vue 3 unless the "is" value is explicitly prefixed with "vue:".',link:"https://v3-migration.vuejs.org/breaking-changes/custom-elements-interop.html"},COMPILER_V_BIND_SYNC:{message:e=>`.sync modifier for v-bind has been removed. Use v-model with argument instead. \`v-bind:${e}.sync\` should be changed to \`v-model:${e}\`.`,link:"https://v3-migration.vuejs.org/breaking-changes/v-model.html"},COMPILER_V_BIND_OBJECT_ORDER:{message:'v-bind="obj" usage is now order sensitive and behaves like JavaScript object spread: it will now overwrite an existing non-mergeable attribute that appears before v-bind in the case of conflict. To retain 2.x behavior, move v-bind to make it the first attribute. You can also suppress this warning if the usage is intended.',link:"https://v3-migration.vuejs.org/breaking-changes/v-bind.html"},COMPILER_V_ON_NATIVE:{message:".native modifier for v-on has been removed as is no longer necessary.",link:"https://v3-migration.vuejs.org/breaking-changes/v-on-native-modifier-removed.html"},COMPILER_V_IF_V_FOR_PRECEDENCE:{message:"v-if / v-for precedence when used on the same element has changed in Vue 3: v-if now takes higher precedence and will no longer have access to v-for scope variables. It is best to avoid the ambiguity with <template> tags or use a computed property that filters v-for data source.",link:"https://v3-migration.vuejs.org/breaking-changes/v-if-v-for.html"},COMPILER_NATIVE_TEMPLATE:{message:"<template> with no special directives will render as a native template element instead of its inner content in Vue 3."},COMPILER_INLINE_TEMPLATE:{message:'"inline-template" has been removed in Vue 3.',link:"https://v3-migration.vuejs.org/breaking-changes/inline-template-attribute.html"},COMPILER_FILTERS:{message:'filters have been removed in Vue 3. The "|" symbol will be treated as native JavaScript bitwise OR operator. Use method calls or computed properties instead.',link:"https://v3-migration.vuejs.org/breaking-changes/filters.html"}};function Oe(e,{compatConfig:t}){const n=t&&t[e];return"MODE"===e?n||3:n}function Ne(e,t){const n=Oe("MODE",t),r=Oe(e,t);return 3===n?!0===r:!1!==r}function Ce(e,t,n,...r){return Ne(e,t)}function xe(e,t,n,...r){if("suppress-warning"===Oe(e,t))return;const{message:s,link:o}=ke[e],i=`(deprecation ${e}) ${"function"==typeof s?s(...r):s}${o?`\n Details: ${o}`:""}`,a=new SyntaxError(i);a.code=e,n&&(a.loc=n),t.onWarn(a)}function Ie(e){throw e}function Ae(e){}function Re(e,t,n,r){const s=new SyntaxError(String(`https://vuejs.org/error-reference/#compiler-${e}`));return s.code=e,s.loc=t,s}const Le={ABRUPT_CLOSING_OF_EMPTY_COMMENT:0,0:"ABRUPT_CLOSING_OF_EMPTY_COMMENT",CDATA_IN_HTML_CONTENT:1,1:"CDATA_IN_HTML_CONTENT",DUPLICATE_ATTRIBUTE:2,2:"DUPLICATE_ATTRIBUTE",END_TAG_WITH_ATTRIBUTES:3,3:"END_TAG_WITH_ATTRIBUTES",END_TAG_WITH_TRAILING_SOLIDUS:4,4:"END_TAG_WITH_TRAILING_SOLIDUS",EOF_BEFORE_TAG_NAME:5,5:"EOF_BEFORE_TAG_NAME",EOF_IN_CDATA:6,6:"EOF_IN_CDATA",EOF_IN_COMMENT:7,7:"EOF_IN_COMMENT",EOF_IN_SCRIPT_HTML_COMMENT_LIKE_TEXT:8,8:"EOF_IN_SCRIPT_HTML_COMMENT_LIKE_TEXT",EOF_IN_TAG:9,9:"EOF_IN_TAG",INCORRECTLY_CLOSED_COMMENT:10,10:"INCORRECTLY_CLOSED_COMMENT",INCORRECTLY_OPENED_COMMENT:11,11:"INCORRECTLY_OPENED_COMMENT",INVALID_FIRST_CHARACTER_OF_TAG_NAME:12,12:"INVALID_FIRST_CHARACTER_OF_TAG_NAME",MISSING_ATTRIBUTE_VALUE:13,13:"MISSING_ATTRIBUTE_VALUE",MISSING_END_TAG_NAME:14,14:"MISSING_END_TAG_NAME",MISSING_WHITESPACE_BETWEEN_ATTRIBUTES:15,15:"MISSING_WHITESPACE_BETWEEN_ATTRIBUTES",NESTED_COMMENT:16,16:"NESTED_COMMENT",UNEXPECTED_CHARACTER_IN_ATTRIBUTE_NAME:17,17:"UNEXPECTED_CHARACTER_IN_ATTRIBUTE_NAME",UNEXPECTED_CHARACTER_IN_UNQUOTED_ATTRIBUTE_VALUE:18,18:"UNEXPECTED_CHARACTER_IN_UNQUOTED_ATTRIBUTE_VALUE",UNEXPECTED_EQUALS_SIGN_BEFORE_ATTRIBUTE_NAME:19,19:"UNEXPECTED_EQUALS_SIGN_BEFORE_ATTRIBUTE_NAME",UNEXPECTED_NULL_CHARACTER:20,20:"UNEXPECTED_NULL_CHARACTER",UNEXPECTED_QUESTION_MARK_INSTEAD_OF_TAG_NAME:21,21:"UNEXPECTED_QUESTION_MARK_INSTEAD_OF_TAG_NAME",UNEXPECTED_SOLIDUS_IN_TAG:22,22:"UNEXPECTED_SOLIDUS_IN_TAG",X_INVALID_END_TAG:23,23:"X_INVALID_END_TAG",X_MISSING_END_TAG:24,24:"X_MISSING_END_TAG",X_MISSING_INTERPOLATION_END:25,25:"X_MISSING_INTERPOLATION_END",X_MISSING_DIRECTIVE_NAME:26,26:"X_MISSING_DIRECTIVE_NAME",X_MISSING_DYNAMIC_DIRECTIVE_ARGUMENT_END:27,27:"X_MISSING_DYNAMIC_DIRECTIVE_ARGUMENT_END",X_V_IF_NO_EXPRESSION:28,28:"X_V_IF_NO_EXPRESSION",X_V_IF_SAME_KEY:29,29:"X_V_IF_SAME_KEY",X_V_ELSE_NO_ADJACENT_IF:30,30:"X_V_ELSE_NO_ADJACENT_IF",X_V_FOR_NO_EXPRESSION:31,31:"X_V_FOR_NO_EXPRESSION",X_V_FOR_MALFORMED_EXPRESSION:32,32:"X_V_FOR_MALFORMED_EXPRESSION",X_V_FOR_TEMPLATE_KEY_PLACEMENT:33,33:"X_V_FOR_TEMPLATE_KEY_PLACEMENT",X_V_BIND_NO_EXPRESSION:34,34:"X_V_BIND_NO_EXPRESSION",X_V_ON_NO_EXPRESSION:35,35:"X_V_ON_NO_EXPRESSION",X_V_SLOT_UNEXPECTED_DIRECTIVE_ON_SLOT_OUTLET:36,36:"X_V_SLOT_UNEXPECTED_DIRECTIVE_ON_SLOT_OUTLET",X_V_SLOT_MIXED_SLOT_USAGE:37,37:"X_V_SLOT_MIXED_SLOT_USAGE",X_V_SLOT_DUPLICATE_SLOT_NAMES:38,38:"X_V_SLOT_DUPLICATE_SLOT_NAMES",X_V_SLOT_EXTRANEOUS_DEFAULT_SLOT_CHILDREN:39,39:"X_V_SLOT_EXTRANEOUS_DEFAULT_SLOT_CHILDREN",X_V_SLOT_MISPLACED:40,40:"X_V_SLOT_MISPLACED",X_V_MODEL_NO_EXPRESSION:41,41:"X_V_MODEL_NO_EXPRESSION",X_V_MODEL_MALFORMED_EXPRESSION:42,42:"X_V_MODEL_MALFORMED_EXPRESSION",X_V_MODEL_ON_SCOPE_VARIABLE:43,43:"X_V_MODEL_ON_SCOPE_VARIABLE",X_V_MODEL_ON_PROPS:44,44:"X_V_MODEL_ON_PROPS",X_INVALID_EXPRESSION:45,45:"X_INVALID_EXPRESSION",X_KEEP_ALIVE_INVALID_CHILDREN:46,46:"X_KEEP_ALIVE_INVALID_CHILDREN",X_PREFIX_ID_NOT_SUPPORTED:47,47:"X_PREFIX_ID_NOT_SUPPORTED",X_MODULE_MODE_NOT_SUPPORTED:48,48:"X_MODULE_MODE_NOT_SUPPORTED",X_CACHE_HANDLER_NOT_SUPPORTED:49,49:"X_CACHE_HANDLER_NOT_SUPPORTED",X_SCOPE_ID_NOT_SUPPORTED:50,50:"X_SCOPE_ID_NOT_SUPPORTED",X_VNODE_HOOKS:51,51:"X_VNODE_HOOKS",__EXTEND_POINT__:52,52:"__EXTEND_POINT__"},Me={0:"Illegal comment.",1:"CDATA section is allowed only in XML context.",2:"Duplicate attribute.",3:"End tag cannot have attributes.",4:"Illegal '/' in tags.",5:"Unexpected EOF in tag.",6:"Unexpected EOF in CDATA section.",7:"Unexpected EOF in comment.",8:"Unexpected EOF in script.",9:"Unexpected EOF in tag.",10:"Incorrectly closed comment.",11:"Incorrectly opened comment.",12:"Illegal tag name. Use '&lt;' to print '<'.",13:"Attribute value was expected.",14:"End tag name was expected.",15:"Whitespace was expected.",16:"Unexpected '\x3c!--' in comment.",17:"Attribute name cannot contain U+0022 (\"), U+0027 ('), and U+003C (<).",18:"Unquoted attribute value cannot contain U+0022 (\"), U+0027 ('), U+003C (<), U+003D (=), and U+0060 (`).",19:"Attribute name cannot start with '='.",21:"'<?' is allowed only in XML context.",20:"Unexpected null character.",22:"Illegal '/' in tags.",23:"Invalid end tag.",24:"Element is missing end tag.",25:"Interpolation end sign was not found.",27:"End bracket for dynamic directive argument was not found. Note that dynamic directive argument cannot contain spaces.",26:"Legal directive name was expected.",28:"v-if/v-else-if is missing expression.",29:"v-if/else branches must use unique keys.",30:"v-else/v-else-if has no adjacent v-if or v-else-if.",31:"v-for is missing expression.",32:"v-for has invalid expression.",33:"<template v-for> key should be placed on the <template> tag.",34:"v-bind is missing expression.",35:"v-on is missing expression.",36:"Unexpected custom directive on <slot> outlet.",37:"Mixed v-slot usage on both the component and nested <template>. When there are multiple named slots, all slots should use <template> syntax to avoid scope ambiguity.",38:"Duplicate slot names found. ",39:"Extraneous children found when component already has explicitly named default slot. These children will be ignored.",40:"v-slot can only be used on components or <template> tags.",41:"v-model is missing expression.",42:"v-model value must be a valid JavaScript member expression.",43:"v-model cannot be used on v-for or v-slot scope variables because they are not writable.",44:"v-model cannot be used on a prop, because local prop bindings are not writable.\nUse a v-bind binding combined with a v-on listener that emits update:x event instead.",45:"Error parsing JavaScript expression: ",46:"<KeepAlive> expects exactly one child component.",51:"@vnode-* hooks in templates are no longer supported. Use the vue: prefix instead. For example, @vnode-mounted should be changed to @vue:mounted. @vnode-* hooks support has been removed in 3.4.",47:'"prefixIdentifiers" option is not supported in this build of compiler.',48:"ES module mode is not supported in this build of compiler.",49:'"cacheHandlers" option is only supported when the "prefixIdentifiers" option is enabled.',50:'"scopeId" option is only supported in module mode.',52:""};function De(e,t,n=!1,r=[],s=Object.create(null)){}function Pe(e,t,n){return!1}function Fe(e,t){if(e&&("ObjectProperty"===e.type||"ArrayPattern"===e.type)){let e=t.length;for(;e--;){const n=t[e];if("AssignmentExpression"===n.type)return!0;if("ObjectProperty"!==n.type&&!n.type.endsWith("Pattern"))break}}return!1}function Ue(e){let t=e.length;for(;t--;){const n=e[t];if("NewExpression"===n.type)return!0;if("MemberExpression"!==n.type)break}return!1}function Be(e,t){for(const n of e.params)for(const e of Ve(n))t(e)}function je(e,t){for(const n of e.body)if("VariableDeclaration"===n.type){if(n.declare)continue;for(const e of n.declarations)for(const n of Ve(e.id))t(n)}else if("FunctionDeclaration"===n.type||"ClassDeclaration"===n.type){if(n.declare||!n.id)continue;t(n.id)}else if("ForOfStatement"===n.type||"ForInStatement"===n.type||"ForStatement"===n.type){const e="ForStatement"===n.type?n.init:n.left;if(e&&"VariableDeclaration"===e.type)for(const n of e.declarations)for(const e of Ve(n.id))t(e)}}function Ve(e,t=[]){switch(e.type){case"Identifier":t.push(e);break;case"MemberExpression":let n=e;for(;"MemberExpression"===n.type;)n=n.object;t.push(n);break;case"ObjectPattern":for(const n of e.properties)"RestElement"===n.type?Ve(n.argument,t):Ve(n.value,t);break;case"ArrayPattern":e.elements.forEach((e=>{e&&Ve(e,t)}));break;case"RestElement":Ve(e.argument,t);break;case"AssignmentPattern":Ve(e.left,t)}return t}const $e=e=>/Function(?:Expression|Declaration)$|Method$/.test(e.type),Ge=e=>e&&("ObjectProperty"===e.type||"ObjectMethod"===e.type)&&!e.computed,He=(e,t)=>Ge(t)&&t.key===e,ze=["TSAsExpression","TSTypeAssertion","TSNonNullExpression","TSInstantiationExpression","TSSatisfiesExpression"];function Ye(e){return ze.includes(e.type)?Ye(e.expression):e}const We=e=>4===e.type&&e.isStatic;function Xe(e){switch(e){case"Teleport":case"teleport":return o;case"Suspense":case"suspense":return i;case"KeepAlive":case"keep-alive":return a;case"BaseTransition":case"base-transition":return l}}const qe=/^\d|[^\$\w]/,Ke=e=>!qe.test(e),Je=/[A-Za-z_$\xA0-\uFFFF]/,Ze=/[\.\?\w$\xA0-\uFFFF]/,Qe=/\s+[.[]\s*|\s*[.[]\s+/g,et=e=>{e=e.trim().replace(Qe,(e=>e.trim()));let t=0,n=[],r=0,s=0,o=null;for(let i=0;i<e.length;i++){const a=e.charAt(i);switch(t){case 0:if("["===a)n.push(t),t=1,r++;else if("("===a)n.push(t),t=2,s++;else if(!(0===i?Je:Ze).test(a))return!1;break;case 1:"'"===a||'"'===a||"`"===a?(n.push(t),t=3,o=a):"["===a?r++:"]"===a&&(--r||(t=n.pop()));break;case 2:if("'"===a||'"'===a||"`"===a)n.push(t),t=3,o=a;else if("("===a)s++;else if(")"===a){if(i===e.length-1)return!1;--s||(t=n.pop())}break;case 3:a===o&&(t=n.pop(),o=null)}}return!r&&!s},tt=r.NOOP,nt=et;function rt(e,t,n=t.length){return st({offset:e.offset,line:e.line,column:e.column},t,n)}function st(e,t,n=t.length){let r=0,s=-1;for(let e=0;e<n;e++)10===t.charCodeAt(e)&&(r++,s=e);return e.offset+=n,e.line+=r,e.column=-1===s?e.column+n:n-s,e}function ot(e,t){if(!e)throw new Error(t||"unexpected compiler condition")}function it(e,t,n=!1){for(let s=0;s<e.props.length;s++){const o=e.props[s];if(7===o.type&&(n||o.exp)&&((0,r.isString)(t)?o.name===t:t.test(o.name)))return o}}function at(e,t,n=!1,r=!1){for(let s=0;s<e.props.length;s++){const o=e.props[s];if(6===o.type){if(n)continue;if(o.name===t&&(o.value||r))return o}else if("bind"===o.name&&(o.exp||r)&&lt(o.arg,t))return o}}function lt(e,t){return!(!e||!We(e)||e.content!==t)}function ct(e){return e.props.some((e=>!(7!==e.type||"bind"!==e.name||e.arg&&4===e.arg.type&&e.arg.isStatic)))}function ut(e){return 5===e.type||2===e.type}function dt(e){return 7===e.type&&"slot"===e.name}function pt(e){return 1===e.type&&3===e.tagType}function ht(e){return 1===e.type&&2===e.tagType}const ft=new Set([x,I]);function _t(e,t=[]){if(e&&!(0,r.isString)(e)&&14===e.type){const n=e.callee;if(!(0,r.isString)(n)&&ft.has(n))return _t(e.arguments[0],t.concat(e))}return[e,t]}function mt(e,t,n){let s,o,i=13===e.type?e.props:e.arguments[2],a=[];if(i&&!(0,r.isString)(i)&&14===i.type){const e=_t(i);i=e[0],a=e[1],o=a[a.length-1]}if(null==i||(0,r.isString)(i))s=Q([t]);else if(14===i.type){const e=i.arguments[0];(0,r.isString)(e)||15!==e.type?i.callee===A?s=se(n.helper(O),[Q([t]),i]):i.arguments.unshift(Q([t])):gt(t,e)||e.properties.unshift(t),!s&&(s=i)}else 15===i.type?(gt(t,i)||i.properties.unshift(t),s=i):(s=se(n.helper(O),[Q([t]),i]),o&&o.callee===I&&(o=a[a.length-2]));13===e.type?o?o.arguments[0]=s:e.props=s:o?o.arguments[0]=s:e.arguments[2]=s}function gt(e,t){let n=!1;if(4===e.key.type){const r=e.key.content;n=t.properties.some((e=>4===e.key.type&&e.key.content===r))}return n}function yt(e,t){return`_${t}_${e.replace(/[^\w]/g,((t,n)=>"-"===t?"_":e.charCodeAt(n).toString()))}`}function vt(e,t){if(!e||0===Object.keys(t).length)return!1;switch(e.type){case 1:for(let n=0;n<e.props.length;n++){const r=e.props[n];if(7===r.type&&(vt(r.arg,t)||vt(r.exp,t)))return!0}return e.children.some((e=>vt(e,t)));case 11:return!!vt(e.source,t)||e.children.some((e=>vt(e,t)));case 9:return e.branches.some((e=>vt(e,t)));case 10:return!!vt(e.condition,t)||e.children.some((e=>vt(e,t)));case 4:return!e.isStatic&&Ke(e.content)&&!!t[e.content];case 8:return e.children.some((e=>(0,r.isObject)(e)&&vt(e,t)));case 5:case 12:return vt(e.content,t);default:return!1}}function Et(e){return 14===e.type&&e.callee===V?e.arguments[1].returns:e}const bt=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,St={parseMode:"base",ns:0,delimiters:["{{","}}"],getNamespace:()=>0,isVoidTag:r.NO,isPreTag:r.NO,isCustomElement:r.NO,onError:Ie,onWarn:Ae,comments:!1,prefixIdentifiers:!1};let Tt=St,wt=null,kt="",Ot=null,Nt=null,Ct="",xt=-1,It=-1,At=0,Rt=!1,Lt=null;const Mt=[],Dt=new class{constructor(e,t){this.stack=e,this.cbs=t,this.state=1,this.buffer="",this.sectionStart=0,this.index=0,this.entityStart=0,this.baseState=1,this.inRCDATA=!1,this.inXML=!1,this.inVPre=!1,this.newlines=[],this.mode=0,this.delimiterOpen=ge,this.delimiterClose=ye,this.delimiterIndex=-1,this.currentSequence=void 0,this.sequenceIndex=0}get inSFCRoot(){return 2===this.mode&&0===this.stack.length}reset(){this.state=1,this.mode=0,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=1,this.inRCDATA=!1,this.currentSequence=void 0,this.newlines.length=0,this.delimiterOpen=ge,this.delimiterClose=ye}getPos(e){let t=1,n=e+1;for(let r=this.newlines.length-1;r>=0;r--){const s=this.newlines[r];if(e>s){t=r+2,n=e-s;break}}return{column:n,line:t,offset:e}}peek(){return this.buffer.charCodeAt(this.index+1)}stateText(e){60===e?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=5,this.sectionStart=this.index):this.inVPre||e!==this.delimiterOpen[0]||(this.state=2,this.delimiterIndex=0,this.stateInterpolationOpen(e))}stateInterpolationOpen(e){if(e===this.delimiterOpen[this.delimiterIndex])if(this.delimiterIndex===this.delimiterOpen.length-1){const e=this.index+1-this.delimiterOpen.length;e>this.sectionStart&&this.cbs.ontext(this.sectionStart,e),this.state=3,this.sectionStart=e}else this.delimiterIndex++;else this.inRCDATA?(this.state=32,this.stateInRCDATA(e)):(this.state=1,this.stateText(e))}stateInterpolation(e){e===this.delimiterClose[0]&&(this.state=4,this.delimiterIndex=0,this.stateInterpolationClose(e))}stateInterpolationClose(e){e===this.delimiterClose[this.delimiterIndex]?this.delimiterIndex===this.delimiterClose.length-1?(this.cbs.oninterpolation(this.sectionStart,this.index+1),this.inRCDATA?this.state=32:this.state=1,this.sectionStart=this.index+1):this.delimiterIndex++:(this.state=3,this.stateInterpolation(e))}stateSpecialStartSequence(e){const t=this.sequenceIndex===this.currentSequence.length;if(t?be(e):(32|e)===this.currentSequence[this.sequenceIndex]){if(!t)return void this.sequenceIndex++}else this.inRCDATA=!1;this.sequenceIndex=0,this.state=6,this.stateInTagName(e)}stateInRCDATA(e){if(this.sequenceIndex===this.currentSequence.length){if(62===e||Ee(e)){const t=this.index-this.currentSequence.length;if(this.sectionStart<t){const e=this.index;this.index=t,this.cbs.ontext(this.sectionStart,t),this.index=e}return this.sectionStart=t+2,this.stateInClosingTagName(e),void(this.inRCDATA=!1)}this.sequenceIndex=0}(32|e)===this.currentSequence[this.sequenceIndex]?this.sequenceIndex+=1:0===this.sequenceIndex?this.currentSequence===Te.TitleEnd||this.currentSequence===Te.TextareaEnd&&!this.inSFCRoot?e===this.delimiterOpen[0]&&(this.state=2,this.delimiterIndex=0,this.stateInterpolationOpen(e)):this.fastForwardTo(60)&&(this.sequenceIndex=1):this.sequenceIndex=Number(60===e)}stateCDATASequence(e){e===Te.Cdata[this.sequenceIndex]?++this.sequenceIndex===Te.Cdata.length&&(this.state=28,this.currentSequence=Te.CdataEnd,this.sequenceIndex=0,this.sectionStart=this.index+1):(this.sequenceIndex=0,this.state=23,this.stateInDeclaration(e))}fastForwardTo(e){for(;++this.index<this.buffer.length;){const t=this.buffer.charCodeAt(this.index);if(10===t&&this.newlines.push(this.index),t===e)return!0}return this.index=this.buffer.length-1,!1}stateInCommentLike(e){e===this.currentSequence[this.sequenceIndex]?++this.sequenceIndex===this.currentSequence.length&&(this.currentSequence===Te.CdataEnd?this.cbs.oncdata(this.sectionStart,this.index-2):this.cbs.oncomment(this.sectionStart,this.index-2),this.sequenceIndex=0,this.sectionStart=this.index+1,this.state=1):0===this.sequenceIndex?this.fastForwardTo(this.currentSequence[0])&&(this.sequenceIndex=1):e!==this.currentSequence[this.sequenceIndex-1]&&(this.sequenceIndex=0)}startSpecial(e,t){this.enterRCDATA(e,t),this.state=31}enterRCDATA(e,t){this.inRCDATA=!0,this.currentSequence=e,this.sequenceIndex=t}stateBeforeTagName(e){if(33===e)this.state=22,this.sectionStart=this.index+1;else if(63===e)this.state=24,this.sectionStart=this.index+1;else if(ve(e))if(this.sectionStart=this.index,0===this.mode)this.state=6;else if(this.inSFCRoot)this.state=34;else if(this.inXML)this.state=6;else{const t=32|e;this.state=116===t?30:115===t?29:6}else 47===e?this.state=8:(this.state=1,this.stateText(e))}stateInTagName(e){be(e)&&this.handleTagName(e)}stateInSFCRootTagName(e){if(be(e)){const t=this.buffer.slice(this.sectionStart,this.index);"template"!==t&&this.enterRCDATA(Se("</"+t),0),this.handleTagName(e)}}handleTagName(e){this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=11,this.stateBeforeAttrName(e)}stateBeforeClosingTagName(e){Ee(e)||(62===e?(this.state=1,this.sectionStart=this.index+1):(this.state=ve(e)?9:27,this.sectionStart=this.index))}stateInClosingTagName(e){(62===e||Ee(e))&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=10,this.stateAfterClosingTagName(e))}stateAfterClosingTagName(e){62===e&&(this.state=1,this.sectionStart=this.index+1)}stateBeforeAttrName(e){62===e?(this.cbs.onopentagend(this.index),this.inRCDATA?this.state=32:this.state=1,this.sectionStart=this.index+1):47===e?this.state=7:60===e&&47===this.peek()?(this.cbs.onopentagend(this.index),this.state=5,this.sectionStart=this.index):Ee(e)||this.handleAttrStart(e)}handleAttrStart(e){118===e&&45===this.peek()?(this.state=13,this.sectionStart=this.index):46===e||58===e||64===e||35===e?(this.cbs.ondirname(this.index,this.index+1),this.state=14,this.sectionStart=this.index+1):(this.state=12,this.sectionStart=this.index)}stateInSelfClosingTag(e){62===e?(this.cbs.onselfclosingtag(this.index),this.state=1,this.sectionStart=this.index+1,this.inRCDATA=!1):Ee(e)||(this.state=11,this.stateBeforeAttrName(e))}stateInAttrName(e){(61===e||be(e))&&(this.cbs.onattribname(this.sectionStart,this.index),this.handleAttrNameEnd(e))}stateInDirName(e){61===e||be(e)?(this.cbs.ondirname(this.sectionStart,this.index),this.handleAttrNameEnd(e)):58===e?(this.cbs.ondirname(this.sectionStart,this.index),this.state=14,this.sectionStart=this.index+1):46===e&&(this.cbs.ondirname(this.sectionStart,this.index),this.state=16,this.sectionStart=this.index+1)}stateInDirArg(e){61===e||be(e)?(this.cbs.ondirarg(this.sectionStart,this.index),this.handleAttrNameEnd(e)):91===e?this.state=15:46===e&&(this.cbs.ondirarg(this.sectionStart,this.index),this.state=16,this.sectionStart=this.index+1)}stateInDynamicDirArg(e){93===e?this.state=14:(61===e||be(e))&&(this.cbs.ondirarg(this.sectionStart,this.index+1),this.handleAttrNameEnd(e))}stateInDirModifier(e){61===e||be(e)?(this.cbs.ondirmodifier(this.sectionStart,this.index),this.handleAttrNameEnd(e)):46===e&&(this.cbs.ondirmodifier(this.sectionStart,this.index),this.sectionStart=this.index+1)}handleAttrNameEnd(e){this.sectionStart=this.index,this.state=17,this.cbs.onattribnameend(this.index),this.stateAfterAttrName(e)}stateAfterAttrName(e){61===e?this.state=18:47===e||62===e?(this.cbs.onattribend(0,this.sectionStart),this.sectionStart=-1,this.state=11,this.stateBeforeAttrName(e)):Ee(e)||(this.cbs.onattribend(0,this.sectionStart),this.handleAttrStart(e))}stateBeforeAttrValue(e){34===e?(this.state=19,this.sectionStart=this.index+1):39===e?(this.state=20,this.sectionStart=this.index+1):Ee(e)||(this.sectionStart=this.index,this.state=21,this.stateInAttrValueNoQuotes(e))}handleInAttrValue(e,t){(e===t||this.fastForwardTo(t))&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(34===t?3:2,this.index+1),this.state=11)}stateInAttrValueDoubleQuotes(e){this.handleInAttrValue(e,34)}stateInAttrValueSingleQuotes(e){this.handleInAttrValue(e,39)}stateInAttrValueNoQuotes(e){Ee(e)||62===e?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(1,this.index),this.state=11,this.stateBeforeAttrName(e)):39!==e&&60!==e&&61!==e&&96!==e||this.cbs.onerr(18,this.index)}stateBeforeDeclaration(e){91===e?(this.state=26,this.sequenceIndex=0):this.state=45===e?25:23}stateInDeclaration(e){(62===e||this.fastForwardTo(62))&&(this.state=1,this.sectionStart=this.index+1)}stateInProcessingInstruction(e){(62===e||this.fastForwardTo(62))&&(this.cbs.onprocessinginstruction(this.sectionStart,this.index),this.state=1,this.sectionStart=this.index+1)}stateBeforeComment(e){45===e?(this.state=28,this.currentSequence=Te.CommentEnd,this.sequenceIndex=2,this.sectionStart=this.index+1):this.state=23}stateInSpecialComment(e){(62===e||this.fastForwardTo(62))&&(this.cbs.oncomment(this.sectionStart,this.index),this.state=1,this.sectionStart=this.index+1)}stateBeforeSpecialS(e){const t=32|e;t===Te.ScriptEnd[3]?this.startSpecial(Te.ScriptEnd,4):t===Te.StyleEnd[3]?this.startSpecial(Te.StyleEnd,4):(this.state=6,this.stateInTagName(e))}stateBeforeSpecialT(e){const t=32|e;t===Te.TitleEnd[3]?this.startSpecial(Te.TitleEnd,4):t===Te.TextareaEnd[3]?this.startSpecial(Te.TextareaEnd,4):(this.state=6,this.stateInTagName(e))}startEntity(){}stateInEntity(){}parse(e){for(this.buffer=e;this.index<this.buffer.length;){const e=this.buffer.charCodeAt(this.index);switch(10===e&&this.newlines.push(this.index),this.state){case 1:this.stateText(e);break;case 2:this.stateInterpolationOpen(e);break;case 3:this.stateInterpolation(e);break;case 4:this.stateInterpolationClose(e);break;case 31:this.stateSpecialStartSequence(e);break;case 32:this.stateInRCDATA(e);break;case 26:this.stateCDATASequence(e);break;case 19:this.stateInAttrValueDoubleQuotes(e);break;case 12:this.stateInAttrName(e);break;case 13:this.stateInDirName(e);break;case 14:this.stateInDirArg(e);break;case 15:this.stateInDynamicDirArg(e);break;case 16:this.stateInDirModifier(e);break;case 28:this.stateInCommentLike(e);break;case 27:this.stateInSpecialComment(e);break;case 11:this.stateBeforeAttrName(e);break;case 6:this.stateInTagName(e);break;case 34:this.stateInSFCRootTagName(e);break;case 9:this.stateInClosingTagName(e);break;case 5:this.stateBeforeTagName(e);break;case 17:this.stateAfterAttrName(e);break;case 20:this.stateInAttrValueSingleQuotes(e);break;case 18:this.stateBeforeAttrValue(e);break;case 8:this.stateBeforeClosingTagName(e);break;case 10:this.stateAfterClosingTagName(e);break;case 29:this.stateBeforeSpecialS(e);break;case 30:this.stateBeforeSpecialT(e);break;case 21:this.stateInAttrValueNoQuotes(e);break;case 7:this.stateInSelfClosingTag(e);break;case 23:this.stateInDeclaration(e);break;case 22:this.stateBeforeDeclaration(e);break;case 25:this.stateBeforeComment(e);break;case 24:this.stateInProcessingInstruction(e);break;case 33:this.stateInEntity()}this.index++}this.cleanup(),this.finish()}cleanup(){this.sectionStart!==this.index&&(1===this.state||32===this.state&&0===this.sequenceIndex?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):19!==this.state&&20!==this.state&&21!==this.state||(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))}finish(){this.handleTrailingData(),this.cbs.onend()}handleTrailingData(){const e=this.buffer.length;this.sectionStart>=e||(28===this.state?this.currentSequence===Te.CdataEnd?this.cbs.oncdata(this.sectionStart,e):this.cbs.oncomment(this.sectionStart,e):6===this.state||11===this.state||18===this.state||17===this.state||12===this.state||13===this.state||14===this.state||15===this.state||16===this.state||20===this.state||19===this.state||21===this.state||9===this.state||this.cbs.ontext(this.sectionStart,e))}emitCodePoint(e,t){}}(Mt,{onerr:tn,ontext(e,t){jt(Ut(e,t),e,t)},ontextentity(e,t,n){jt(e,t,n)},oninterpolation(e,t){if(Rt)return jt(Ut(e,t),e,t);let n=e+Dt.delimiterOpen.length,r=t-Dt.delimiterClose.length;for(;Ee(kt.charCodeAt(n));)n++;for(;Ee(kt.charCodeAt(r-1));)r--;let s=Ut(n,r);s.includes("&")&&(s=Tt.decodeEntities(s,!1)),Kt({type:5,content:en(s,!1,Jt(n,r)),loc:Jt(e,t)})},onopentagname(e,t){const n=Ut(e,t);Ot={type:1,tag:n,ns:Tt.getNamespace(n,Mt[0],Tt.ns),tagType:0,props:[],children:[],loc:Jt(e-1,t),codegenNode:void 0}},onopentagend(e){Bt(e)},onclosetag(e,t){const n=Ut(e,t);if(!Tt.isVoidTag(n)){let r=!1;for(let e=0;e<Mt.length;e++)if(Mt[e].tag.toLowerCase()===n.toLowerCase()){r=!0,e>0&&tn(24,Mt[0].loc.start.offset);for(let n=0;n<=e;n++)Vt(Mt.shift(),t,n<e);break}r||tn(23,$t(e,60))}},onselfclosingtag(e){var t;const n=Ot.tag;Ot.isSelfClosing=!0,Bt(e),(null==(t=Mt[0])?void 0:t.tag)===n&&Vt(Mt.shift(),e)},onattribname(e,t){Nt={type:6,name:Ut(e,t),nameLoc:Jt(e,t),value:void 0,loc:Jt(e)}},ondirname(e,t){const n=Ut(e,t),r="."===n||":"===n?"bind":"@"===n?"on":"#"===n?"slot":n.slice(2);if(Rt||""!==r||tn(26,e),Rt||""===r)Nt={type:6,name:n,nameLoc:Jt(e,t),value:void 0,loc:Jt(e)};else if(Nt={type:7,name:r,rawName:n,exp:void 0,arg:void 0,modifiers:"."===n?["prop"]:[],loc:Jt(e)},"pre"===r){Rt=Dt.inVPre=!0,Lt=Ot;const e=Ot.props;for(let t=0;t<e.length;t++)7===e[t].type&&(e[t]=Qt(e[t]))}},ondirarg(e,t){if(e===t)return;const n=Ut(e,t);if(Rt)Nt.name+=n,Zt(Nt.nameLoc,t);else{const r="["!==n[0];Nt.arg=en(r?n:n.slice(1,-1),r,Jt(e,t),r?3:0)}},ondirmodifier(e,t){const n=Ut(e,t);if(Rt)Nt.name+="."+n,Zt(Nt.nameLoc,t);else if("slot"===Nt.name){const e=Nt.arg;e&&(e.content+="."+n,Zt(e.loc,t))}else Nt.modifiers.push(n)},onattribdata(e,t){Ct+=Ut(e,t),xt<0&&(xt=e),It=t},onattribentity(e,t,n){Ct+=e,xt<0&&(xt=t),It=n},onattribnameend(e){const t=Nt.loc.start.offset,n=Ut(t,e);7===Nt.type&&(Nt.rawName=n),Ot.props.some((e=>(7===e.type?e.rawName:e.name)===n))&&tn(2,t)},onattribend(e,t){if(Ot&&Nt){if(Zt(Nt.loc,t),0!==e)if(Ct.includes("&")&&(Ct=Tt.decodeEntities(Ct,!0)),6===Nt.type)"class"===Nt.name&&(Ct=qt(Ct).trim()),1!==e||Ct||tn(13,t),Nt.value={type:2,content:Ct,loc:1===e?Jt(xt,It):Jt(xt-1,It+1)},Dt.inSFCRoot&&"template"===Ot.tag&&"lang"===Nt.name&&Ct&&"html"!==Ct&&Dt.enterRCDATA(Se("</template"),0);else{let e=0;Nt.exp=en(Ct,!1,Jt(xt,It),0,e),"for"===Nt.name&&(Nt.forParseResult=function(e){const t=e.loc,n=e.content,r=n.match(bt);if(!r)return;const[,s,o]=r,i=(e,n,r=!1)=>{const s=t.start.offset+n;return en(e,!1,Jt(s,s+e.length),0,r?1:0)},a={source:i(o.trim(),n.indexOf(o,s.length)),value:void 0,key:void 0,index:void 0,finalized:!1};let l=s.trim().replace(Ft,"").trim();const c=s.indexOf(l),u=l.match(Pt);if(u){l=l.replace(Pt,"").trim();const e=u[1].trim();let t;if(e&&(t=n.indexOf(e,c+l.length),a.key=i(e,t,!0)),u[2]){const r=u[2].trim();r&&(a.index=i(r,n.indexOf(r,a.key?t+e.length:c+l.length),!0))}}return l&&(a.value=i(l,c,!0)),a}(Nt.exp));let t=-1;"bind"===Nt.name&&(t=Nt.modifiers.indexOf("sync"))>-1&&Ce("COMPILER_V_BIND_SYNC",Tt,Nt.loc,Nt.rawName)&&(Nt.name="model",Nt.modifiers.splice(t,1))}7===Nt.type&&"pre"===Nt.name||Ot.props.push(Nt)}Ct="",xt=It=-1},oncomment(e,t){Tt.comments&&Kt({type:3,content:Ut(e,t),loc:Jt(e-4,t+3)})},onend(){const e=kt.length;for(let t=0;t<Mt.length;t++)Vt(Mt[t],e-1),tn(24,Mt[t].loc.start.offset)},oncdata(e,t){0!==Mt[0].ns?jt(Ut(e,t),e,t):tn(1,e-9)},onprocessinginstruction(e){0===(Mt[0]?Mt[0].ns:Tt.ns)&&tn(21,e-1)}}),Pt=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,Ft=/^\(|\)$/g;function Ut(e,t){return kt.slice(e,t)}function Bt(e){Dt.inSFCRoot&&(Ot.innerLoc=Jt(e+1,e+1)),Kt(Ot);const{tag:t,ns:n}=Ot;0===n&&Tt.isPreTag(t)&&At++,Tt.isVoidTag(t)?Vt(Ot,e):(Mt.unshift(Ot),1!==n&&2!==n||(Dt.inXML=!0)),Ot=null}function jt(e,t,n){var r;{const t=null==(r=Mt[0])?void 0:r.tag;"script"!==t&&"style"!==t&&e.includes("&")&&(e=Tt.decodeEntities(e,!1))}const s=Mt[0]||wt,o=s.children[s.children.length-1];2===(null==o?void 0:o.type)?(o.content+=e,Zt(o.loc,n)):s.children.push({type:2,content:e,loc:Jt(t,n)})}function Vt(e,t,n=!1){Zt(e.loc,n?$t(t,60):t+1),Dt.inSFCRoot&&(e.children.length?e.innerLoc.end=(0,r.extend)({},e.children[e.children.length-1].loc.end):e.innerLoc.end=(0,r.extend)({},e.innerLoc.start),e.innerLoc.source=Ut(e.innerLoc.start.offset,e.innerLoc.end.offset));const{tag:s,ns:o}=e;Rt||("slot"===s?e.tagType=2:Ht(e)?e.tagType=3:function({tag:e,props:t}){var n,r;if(Tt.isCustomElement(e))return!1;if("component"===e||(r=e.charCodeAt(0))>64&&r<91||Xe(e)||(null==(n=Tt.isBuiltInComponent)?void 0:n.call(Tt,e))||Tt.isNativeTag&&!Tt.isNativeTag(e))return!0;for(let e=0;e<t.length;e++){const n=t[e];if(6===n.type){if("is"===n.name&&n.value){if(n.value.content.startsWith("vue:"))return!0;if(Ce("COMPILER_IS_ON_ELEMENT",Tt,n.loc))return!0}}else if("bind"===n.name&&lt(n.arg,"is")&&Ce("COMPILER_IS_ON_ELEMENT",Tt,n.loc))return!0}return!1}(e)&&(e.tagType=1)),Dt.inRCDATA||(e.children=Yt(e.children,e.tag)),0===o&&Tt.isPreTag(s)&&At--,Lt===e&&(Rt=Dt.inVPre=!1,Lt=null),Dt.inXML&&0===(Mt[0]?Mt[0].ns:Tt.ns)&&(Dt.inXML=!1);{const t=e.props;if(!Dt.inSFCRoot&&Ne("COMPILER_NATIVE_TEMPLATE",Tt)&&"template"===e.tag&&!Ht(e)){const t=Mt[0]||wt,n=t.children.indexOf(e);t.children.splice(n,1,...e.children)}const n=t.find((e=>6===e.type&&"inline-template"===e.name));n&&Ce("COMPILER_INLINE_TEMPLATE",Tt,n.loc)&&e.children.length&&(n.value={type:2,content:Ut(e.children[0].loc.start.offset,e.children[e.children.length-1].loc.end.offset),loc:n.loc})}}function $t(e,t){let n=e;for(;kt.charCodeAt(n)!==t&&n>=0;)n--;return n}const Gt=new Set(["if","else","else-if","for","slot"]);function Ht({tag:e,props:t}){if("template"===e)for(let e=0;e<t.length;e++)if(7===t[e].type&&Gt.has(t[e].name))return!0;return!1}const zt=/\r\n/g;function Yt(e,t){var n,r;const s="preserve"!==Tt.whitespace;let o=!1;for(let t=0;t<e.length;t++){const i=e[t];if(2===i.type)if(At)i.content=i.content.replace(zt,"\n");else if(Wt(i.content)){const a=null==(n=e[t-1])?void 0:n.type,l=null==(r=e[t+1])?void 0:r.type;!a||!l||s&&(3===a&&(3===l||1===l)||1===a&&(3===l||1===l&&Xt(i.content)))?(o=!0,e[t]=null):i.content=" "}else s&&(i.content=qt(i.content))}if(At&&t&&Tt.isPreTag(t)){const t=e[0];t&&2===t.type&&(t.content=t.content.replace(/^\r?\n/,""))}return o?e.filter(Boolean):e}function Wt(e){for(let t=0;t<e.length;t++)if(!Ee(e.charCodeAt(t)))return!1;return!0}function Xt(e){for(let t=0;t<e.length;t++){const n=e.charCodeAt(t);if(10===n||13===n)return!0}return!1}function qt(e){let t="",n=!1;for(let r=0;r<e.length;r++)Ee(e.charCodeAt(r))?n||(t+=" ",n=!0):(t+=e[r],n=!1);return t}function Kt(e){(Mt[0]||wt).children.push(e)}function Jt(e,t){return{start:Dt.getPos(e),end:null==t?t:Dt.getPos(t),source:null==t?t:Ut(e,t)}}function Zt(e,t){e.end=Dt.getPos(t),e.source=Ut(e.start.offset,t)}function Qt(e){const t={type:6,name:e.rawName,nameLoc:Jt(e.loc.start.offset,e.loc.start.offset+e.rawName.length),value:void 0,loc:e.loc};if(e.exp){const n=e.exp.loc;n.end.offset<e.loc.end.offset&&(n.start.offset--,n.start.column--,n.end.offset++,n.end.column++),t.value={type:2,content:e.exp.content,loc:n}}return t}function en(e,t=!1,n,r=0,s=0){return te(e,t,n,r)}function tn(e,t,n){Tt.onError(Re(e,Jt(t,t)))}function nn(e,t){if(Dt.reset(),Ot=null,Nt=null,Ct="",xt=-1,It=-1,Mt.length=0,kt=e,Tt=(0,r.extend)({},St),t){let e;for(e in t)null!=t[e]&&(Tt[e]=t[e])}Dt.mode="html"===Tt.parseMode?1:"sfc"===Tt.parseMode?2:0,Dt.inXML=1===Tt.ns||2===Tt.ns;const n=null==t?void 0:t.delimiters;n&&(Dt.delimiterOpen=Se(n[0]),Dt.delimiterClose=Se(n[1]));const s=wt=K([],e);return Dt.parse(kt),s.loc=Jt(0,e.length),s.children=Yt(s.children),wt=null,s}function rn(e,t){on(e,t,sn(e,e.children[0]))}function sn(e,t){const{children:n}=e;return 1===n.length&&1===t.type&&!ht(t)}function on(e,t,n=!1){const{children:s}=e,o=s.length;let i=0;for(let e=0;e<s.length;e++){const r=s[e];if(1===r.type&&0===r.tagType){const e=n?0:an(r,t);if(e>0){if(e>=2){r.codegenNode.patchFlag="-1",r.codegenNode=t.hoist(r.codegenNode),i++;continue}}else{const e=r.codegenNode;if(13===e.type){const n=pn(e);if((!n||512===n||1===n)&&un(r,t)>=2){const n=dn(r);n&&(e.props=t.hoist(n))}e.dynamicProps&&(e.dynamicProps=t.hoist(e.dynamicProps))}}}if(1===r.type){const e=1===r.tagType;e&&t.scopes.vSlot++,on(r,t),e&&t.scopes.vSlot--}else if(11===r.type)on(r,t,1===r.children.length);else if(9===r.type)for(let e=0;e<r.branches.length;e++)on(r.branches[e],t,1===r.branches[e].children.length)}if(i&&t.transformHoist&&t.transformHoist(s,t,e),i&&i===o&&1===e.type&&0===e.tagType&&e.codegenNode&&13===e.codegenNode.type&&(0,r.isArray)(e.codegenNode.children)){const n=t.hoist(Z(e.codegenNode.children));t.hmr&&(n.content=`[...${n.content}]`),e.codegenNode.children=n}}function an(e,t){const{constantCache:n}=t;switch(e.type){case 1:if(0!==e.tagType)return 0;const s=n.get(e);if(void 0!==s)return s;const o=e.codegenNode;if(13!==o.type)return 0;if(o.isBlock&&"svg"!==e.tag&&"foreignObject"!==e.tag)return 0;if(pn(o))return n.set(e,0),0;{let r=3;const s=un(e,t);if(0===s)return n.set(e,0),0;s<r&&(r=s);for(let s=0;s<e.children.length;s++){const o=an(e.children[s],t);if(0===o)return n.set(e,0),0;o<r&&(r=o)}if(r>1)for(let s=0;s<e.props.length;s++){const o=e.props[s];if(7===o.type&&"bind"===o.name&&o.exp){const s=an(o.exp,t);if(0===s)return n.set(e,0),0;s<r&&(r=s)}}if(o.isBlock){for(let t=0;t<e.props.length;t++)if(7===e.props[t].type)return n.set(e,0),0;t.removeHelper(c),t.removeHelper(_e(t.inSSR,o.isComponent)),o.isBlock=!1,t.helper(fe(t.inSSR,o.isComponent))}return n.set(e,r),r}case 2:case 3:return 3;case 9:case 11:case 10:default:return 0;case 5:case 12:return an(e.content,t);case 4:return e.constType;case 8:let i=3;for(let n=0;n<e.children.length;n++){const s=e.children[n];if((0,r.isString)(s)||(0,r.isSymbol)(s))continue;const o=an(s,t);if(0===o)return 0;o<i&&(i=o)}return i}}const ln=new Set([N,C,x,I]);function cn(e,t){if(14===e.type&&!(0,r.isString)(e.callee)&&ln.has(e.callee)){const n=e.arguments[0];if(4===n.type)return an(n,t);if(14===n.type)return cn(n,t)}return 0}function un(e,t){let n=3;const r=dn(e);if(r&&15===r.type){const{properties:e}=r;for(let r=0;r<e.length;r++){const{key:s,value:o}=e[r],i=an(s,t);if(0===i)return i;let a;if(i<n&&(n=i),a=4===o.type?an(o,t):14===o.type?cn(o,t):0,0===a)return a;a<n&&(n=a)}}return n}function dn(e){const t=e.codegenNode;if(13===t.type)return t.props}function pn(e){const t=e.patchFlag;return t?parseInt(t,10):void 0}function hn(e,{filename:t="",prefixIdentifiers:n=!1,hoistStatic:s=!1,hmr:o=!1,cacheHandlers:i=!1,nodeTransforms:a=[],directiveTransforms:l={},transformHoist:c=null,isBuiltInComponent:u=r.NOOP,isCustomElement:d=r.NOOP,expressionPlugins:p=[],scopeId:h=null,slotted:f=!0,ssr:_=!1,inSSR:m=!1,ssrCssVars:g="",bindingMetadata:y=r.EMPTY_OBJ,inline:v=!1,isTS:E=!1,onError:b=Ie,onWarn:S=Ae,compatConfig:T}){const w=t.replace(/\?.*$/,"").match(/([^/\\]+)\.\w+$/),k={filename:t,selfName:w&&(0,r.capitalize)((0,r.camelize)(w[1])),prefixIdentifiers:n,hoistStatic:s,hmr:o,cacheHandlers:i,nodeTransforms:a,directiveTransforms:l,transformHoist:c,isBuiltInComponent:u,isCustomElement:d,expressionPlugins:p,scopeId:h,slotted:f,ssr:_,inSSR:m,ssrCssVars:g,bindingMetadata:y,inline:v,isTS:E,onError:b,onWarn:S,compatConfig:T,root:e,helpers:new Map,components:new Set,directives:new Set,hoists:[],imports:[],constantCache:new WeakMap,temps:0,cached:0,identifiers:Object.create(null),scopes:{vFor:0,vSlot:0,vPre:0,vOnce:0},parent:null,currentNode:e,childIndex:0,inVOnce:!1,helper(e){const t=k.helpers.get(e)||0;return k.helpers.set(e,t+1),e},removeHelper(e){const t=k.helpers.get(e);if(t){const n=t-1;n?k.helpers.set(e,n):k.helpers.delete(e)}},helperString:e=>`_${G[k.helper(e)]}`,replaceNode(e){k.parent.children[k.childIndex]=k.currentNode=e},removeNode(e){const t=k.parent.children,n=e?t.indexOf(e):k.currentNode?k.childIndex:-1;e&&e!==k.currentNode?k.childIndex>n&&(k.childIndex--,k.onNodeRemoved()):(k.currentNode=null,k.onNodeRemoved()),k.parent.children.splice(n,1)},onNodeRemoved:r.NOOP,addIdentifiers(e){},removeIdentifiers(e){},hoist(e){(0,r.isString)(e)&&(e=te(e)),k.hoists.push(e);const t=te(`_hoisted_${k.hoists.length}`,!1,e.loc,2);return t.hoisted=e,t},cache:(e,t=!1)=>ae(k.cached++,e,t)};return k.filters=new Set,k}function fn(e,t){const n=hn(e,t);_n(e,n),t.hoistStatic&&rn(e,n),t.ssr||function(e,t){const{helper:n}=t,{children:o}=e;if(1===o.length){const n=o[0];if(sn(e,n)&&n.codegenNode){const r=n.codegenNode;13===r.type&&me(r,t),e.codegenNode=r}else e.codegenNode=n}else if(o.length>1){let o=64;r.PatchFlagNames[64],e.codegenNode=J(t,n(s),void 0,e.children,o+"",void 0,void 0,!0,void 0,!1)}}(e,n),e.helpers=new Set([...n.helpers.keys()]),e.components=[...n.components],e.directives=[...n.directives],e.imports=n.imports,e.hoists=n.hoists,e.temps=n.temps,e.cached=n.cached,e.transformed=!0,e.filters=[...n.filters]}function _n(e,t){t.currentNode=e;const{nodeTransforms:n}=t,s=[];for(let o=0;o<n.length;o++){const i=n[o](e,t);if(i&&((0,r.isArray)(i)?s.push(...i):s.push(i)),!t.currentNode)return;e=t.currentNode}switch(e.type){case 3:t.ssr||t.helper(f);break;case 5:t.ssr||t.helper(k);break;case 9:for(let n=0;n<e.branches.length;n++)_n(e.branches[n],t);break;case 10:case 11:case 1:case 0:!function(e,t){let n=0;const s=()=>{n--};for(;n<e.children.length;n++){const o=e.children[n];(0,r.isString)(o)||(t.parent=e,t.childIndex=n,t.onNodeRemoved=s,_n(o,t))}}(e,t)}t.currentNode=e;let o=s.length;for(;o--;)s[o]()}function mn(e,t){const n=(0,r.isString)(e)?t=>t===e:t=>e.test(t);return(e,r)=>{if(1===e.type){const{props:s}=e;if(3===e.tagType&&s.some(dt))return;const o=[];for(let i=0;i<s.length;i++){const a=s[i];if(7===a.type&&n(a.name)){s.splice(i,1),i--;const n=t(e,a,r);n&&o.push(n)}}return o}}}const gn="/*#__PURE__*/",yn=e=>`${G[e]}: _${G[e]}`;function vn(e,t={}){const n=function(e,{mode:t="function",prefixIdentifiers:n="module"===t,sourceMap:r=!1,filename:s="template.vue.html",scopeId:o=null,optimizeImports:i=!1,runtimeGlobalName:a="Vue",runtimeModuleName:l="vue",ssrRuntimeModuleName:c="vue/server-renderer",ssr:u=!1,isTS:d=!1,inSSR:p=!1}){const h={mode:t,prefixIdentifiers:n,sourceMap:r,filename:s,scopeId:o,optimizeImports:i,runtimeGlobalName:a,runtimeModuleName:l,ssrRuntimeModuleName:c,ssr:u,isTS:d,inSSR:p,source:e.source,code:"",column:1,line:1,offset:0,indentLevel:0,pure:!1,map:void 0,helper:e=>`_${G[e]}`,push(e,t=-2,n){h.code+=e},indent(){f(++h.indentLevel)},deindent(e=!1){e?--h.indentLevel:f(--h.indentLevel)},newline(){f(h.indentLevel)}};function f(e){h.push("\n"+" ".repeat(e),0)}return h}(e,t);t.onContextCreated&&t.onContextCreated(n);const{mode:r,push:s,prefixIdentifiers:o,indent:i,deindent:a,newline:l,scopeId:c,ssr:u}=n,d=Array.from(e.helpers),g=d.length>0,y=!o&&"module"!==r;if(function(e,t){const{ssr:n,prefixIdentifiers:r,push:s,newline:o,runtimeModuleName:i,runtimeGlobalName:a,ssrRuntimeModuleName:l}=t,c=a,u=Array.from(e.helpers);u.length>0&&(s(`const _Vue = ${c}\n`,-1),e.hoists.length)&&s(`const { ${[p,h,f,_,m].filter((e=>u.includes(e))).map(yn).join(", ")} } = _Vue\n`,-1),function(e,t){if(!e.length)return;t.pure=!0;const{push:n,newline:r,helper:s,scopeId:o,mode:i}=t;r();for(let s=0;s<e.length;s++){const o=e[s];o&&(n(`const _hoisted_${s+1} = `),Tn(o,t),r())}t.pure=!1}(e.hoists,t),o(),s("return ")}(e,n),s(`function ${u?"ssrRender":"render"}(${(u?["_ctx","_push","_parent","_attrs"]:["_ctx","_cache"]).join(", ")}) {`),i(),y&&(s("with (_ctx) {"),i(),g&&(s(`const { ${d.map(yn).join(", ")} } = _Vue\n`,-1),l())),e.components.length&&(En(e.components,"component",n),(e.directives.length||e.temps>0)&&l()),e.directives.length&&(En(e.directives,"directive",n),e.temps>0&&l()),e.filters&&e.filters.length&&(l(),En(e.filters,"filter",n),l()),e.temps>0){s("let ");for(let t=0;t<e.temps;t++)s(`${t>0?", ":""}_temp${t}`)}return(e.components.length||e.directives.length||e.temps)&&(s("\n",0),l()),u||s("return "),e.codegenNode?Tn(e.codegenNode,n):s("null"),y&&(a(),s("}")),a(),s("}"),{ast:e,code:n.code,preamble:"",map:n.map?n.map.toJSON():void 0}}function En(e,t,{helper:n,push:r,newline:s,isTS:o}){const i=n("filter"===t?E:"component"===t?g:v);for(let n=0;n<e.length;n++){let a=e[n];const l=a.endsWith("__self");l&&(a=a.slice(0,-6)),r(`const ${yt(a,t)} = ${i}(${JSON.stringify(a)}${l?", true":""})${o?"!":""}`),n<e.length-1&&s()}}function bn(e,t){const n=e.length>3||!1;t.push("["),n&&t.indent(),Sn(e,t,n),n&&t.deindent(),t.push("]")}function Sn(e,t,n=!1,s=!0){const{push:o,newline:i}=t;for(let a=0;a<e.length;a++){const l=e[a];(0,r.isString)(l)?o(l,-3):(0,r.isArray)(l)?bn(l,t):Tn(l,t),a<e.length-1&&(n?(s&&o(","),i()):s&&o(", "))}}function Tn(e,t){if((0,r.isString)(e))t.push(e,-3);else if((0,r.isSymbol)(e))t.push(t.helper(e));else switch(e.type){case 1:case 9:case 11:case 12:Tn(e.codegenNode,t);break;case 2:!function(e,t){t.push(JSON.stringify(e.content),-3,e)}(e,t);break;case 4:wn(e,t);break;case 5:!function(e,t){const{push:n,helper:r,pure:s}=t;s&&n(gn),n(`${r(k)}(`),Tn(e.content,t),n(")")}(e,t);break;case 8:kn(e,t);break;case 3:!function(e,t){const{push:n,helper:r,pure:s}=t;s&&n(gn),n(`${r(f)}(${JSON.stringify(e.content)})`,-3,e)}(e,t);break;case 13:!function(e,t){const{push:n,helper:r,pure:s}=t,{tag:o,props:i,children:a,patchFlag:l,dynamicProps:u,directives:d,isBlock:p,disableTracking:h,isComponent:f}=e;d&&n(r(b)+"("),p&&n(`(${r(c)}(${h?"true":""}), `),s&&n(gn);n(r(p?_e(t.inSSR,f):fe(t.inSSR,f))+"(",-2,e),Sn(function(e){let t=e.length;for(;t--&&null==e[t];);return e.slice(0,t+1).map((e=>e||"null"))}([o,i,a,l,u]),t),n(")"),p&&n(")"),d&&(n(", "),Tn(d,t),n(")"))}(e,t);break;case 14:!function(e,t){const{push:n,helper:s,pure:o}=t,i=(0,r.isString)(e.callee)?e.callee:s(e.callee);o&&n(gn),n(i+"(",-2,e),Sn(e.arguments,t),n(")")}(e,t);break;case 15:!function(e,t){const{push:n,indent:r,deindent:s,newline:o}=t,{properties:i}=e;if(!i.length)return void n("{}",-2,e);const a=i.length>1||!1;n(a?"{":"{ "),a&&r();for(let e=0;e<i.length;e++){const{key:r,value:s}=i[e];On(r,t),n(": "),Tn(s,t),e<i.length-1&&(n(","),o())}a&&s(),n(a?"}":" }")}(e,t);break;case 17:!function(e,t){bn(e.elements,t)}(e,t);break;case 18:!function(e,t){const{push:n,indent:s,deindent:o}=t,{params:i,returns:a,body:l,newline:c,isSlot:u}=e;u&&n(`_${G[U]}(`),n("(",-2,e),(0,r.isArray)(i)?Sn(i,t):i&&Tn(i,t),n(") => "),(c||l)&&(n("{"),s()),a?(c&&n("return "),(0,r.isArray)(a)?bn(a,t):Tn(a,t)):l&&Tn(l,t),(c||l)&&(o(),n("}")),u&&(e.isNonScopedSlot&&n(", undefined, true"),n(")"))}(e,t);break;case 19:!function(e,t){const{test:n,consequent:r,alternate:s,newline:o}=e,{push:i,indent:a,deindent:l,newline:c}=t;if(4===n.type){const e=!Ke(n.content);e&&i("("),wn(n,t),e&&i(")")}else i("("),Tn(n,t),i(")");o&&a(),t.indentLevel++,o||i(" "),i("? "),Tn(r,t),t.indentLevel--,o&&c(),o||i(" "),i(": ");const u=19===s.type;u||t.indentLevel++,Tn(s,t),u||t.indentLevel--,o&&l(!0)}(e,t);break;case 20:!function(e,t){const{push:n,helper:r,indent:s,deindent:o,newline:i}=t;n(`_cache[${e.index}] || (`),e.isVNode&&(s(),n(`${r(D)}(-1),`),i()),n(`_cache[${e.index}] = `),Tn(e.value,t),e.isVNode&&(n(","),i(),n(`${r(D)}(1),`),i(),n(`_cache[${e.index}]`),o()),n(")")}(e,t);break;case 21:Sn(e.body,t,!0,!1)}}function wn(e,t){const{content:n,isStatic:r}=e;t.push(r?JSON.stringify(n):n,-3,e)}function kn(e,t){for(let n=0;n<e.children.length;n++){const s=e.children[n];(0,r.isString)(s)?t.push(s,-3):Tn(s,t)}}function On(e,t){const{push:n}=t;8===e.type?(n("["),kn(e,t),n("]")):e.isStatic?n(Ke(e.content)?e.content:JSON.stringify(e.content),-2,e):n(`[${e.content}]`,-3,e)}new RegExp("\\b"+"arguments,await,break,case,catch,class,const,continue,debugger,default,delete,do,else,export,extends,finally,for,function,if,import,let,new,return,super,switch,throw,try,var,void,while,with,yield".split(",").join("\\b|\\b")+"\\b");const Nn=(e,t)=>{if(5===e.type)e.content=Cn(e.content,t);else if(1===e.type)for(let n=0;n<e.props.length;n++){const r=e.props[n];if(7===r.type&&"for"!==r.name){const e=r.exp,n=r.arg;!e||4!==e.type||"on"===r.name&&n||(r.exp=Cn(e,t,"slot"===r.name)),n&&4===n.type&&!n.isStatic&&(r.arg=Cn(n,t))}}};function Cn(e,t,n=!1,r=!1,s=Object.create(t.identifiers)){return e}function xn(e){return(0,r.isString)(e)?e:4===e.type?e.content:e.children.map(xn).join("")}const In=mn(/^(if|else|else-if)$/,((e,t,n)=>An(e,t,n,((e,t,r)=>{const s=n.parent.children;let o=s.indexOf(e),i=0;for(;o-- >=0;){const e=s[o];e&&9===e.type&&(i+=e.branches.length)}return()=>{if(r)e.codegenNode=Ln(t,i,n);else{const r=function(e){for(;;)if(19===e.type){if(19!==e.alternate.type)return e;e=e.alternate}else 20===e.type&&(e=e.value)}(e.codegenNode);r.alternate=Ln(t,i+e.branches.length-1,n)}}}))));function An(e,t,n,r){if(!("else"===t.name||t.exp&&t.exp.content.trim())){const r=t.exp?t.exp.loc:e.loc;n.onError(Re(28,t.loc)),t.exp=te("true",!1,r)}if("if"===t.name){const s=Rn(e,t),o={type:9,loc:e.loc,branches:[s]};if(n.replaceNode(o),r)return r(o,s,!0)}else{const s=n.parent.children;let o=s.indexOf(e);for(;o-- >=-1;){const i=s[o];if(i&&3===i.type)n.removeNode(i);else{if(!i||2!==i.type||i.content.trim().length){if(i&&9===i.type){"else-if"===t.name&&void 0===i.branches[i.branches.length-1].condition&&n.onError(Re(30,e.loc)),n.removeNode();const s=Rn(e,t);i.branches.push(s);const o=r&&r(i,s,!1);_n(s,n),o&&o(),n.currentNode=null}else n.onError(Re(30,e.loc));break}n.removeNode(i)}}}}function Rn(e,t){const n=3===e.tagType;return{type:10,loc:e.loc,condition:"else"===t.name?void 0:t.exp,children:n&&!it(e,"for")?e.children:[e],userKey:at(e,"key"),isTemplateIf:n}}function Ln(e,t,n){return e.condition?ie(e.condition,Mn(e,t,n),se(n.helper(f),['""',"true"])):Mn(e,t,n)}function Mn(e,t,n){const{helper:o}=n,i=ee("key",te(`${t}`,!1,q,2)),{children:a}=e,l=a[0];if(1!==a.length||1!==l.type){if(1===a.length&&11===l.type){const e=l.codegenNode;return mt(e,i,n),e}{let t=64;return r.PatchFlagNames[64],J(n,o(s),Q([i]),a,t+"",void 0,void 0,!0,!1,!1,e.loc)}}{const e=l.codegenNode,t=Et(e);return 13===t.type&&me(t,n),mt(t,i,n),e}}const Dn=mn("for",((e,t,n)=>{const{helper:r,removeHelper:o}=n;return Pn(e,t,n,(t=>{const i=se(r(S),[t.source]),a=pt(e),l=it(e,"memo"),u=at(e,"key"),d=u&&(6===u.type?te(u.value.content,!0):u.exp),p=u?ee("key",d):null,h=4===t.source.type&&t.source.constType>0,f=h?64:u?128:256;return t.codegenNode=J(n,r(s),void 0,i,f+"",void 0,void 0,!0,!h,!1,e.loc),()=>{let u;const{children:f}=t,_=1!==f.length||1!==f[0].type,m=ht(e)?e:a&&1===e.children.length&&ht(e.children[0])?e.children[0]:null;if(m?(u=m.codegenNode,a&&p&&mt(u,p,n)):_?u=J(n,r(s),p?Q([p]):void 0,e.children,"64",void 0,void 0,!0,void 0,!1):(u=f[0].codegenNode,a&&p&&mt(u,p,n),u.isBlock!==!h&&(u.isBlock?(o(c),o(_e(n.inSSR,u.isComponent))):o(fe(n.inSSR,u.isComponent))),u.isBlock=!h,u.isBlock?(r(c),r(_e(n.inSSR,u.isComponent))):r(fe(n.inSSR,u.isComponent))),l){const e=oe(Un(t.parseResult,[te("_cached")]));e.body=le([re(["const _memo = (",l.exp,")"]),re(["if (_cached",...d?[" && _cached.key === ",d]:[],` && ${n.helperString($)}(_cached, _memo)) return _cached`]),re(["const _item = ",u]),te("_item.memo = _memo"),te("return _item")]),i.arguments.push(e,te("_cache"),te(String(n.cached++)))}else i.arguments.push(oe(Un(t.parseResult),u,!0))}}))}));function Pn(e,t,n,r){if(!t.exp)return void n.onError(Re(31,t.loc));const s=t.forParseResult;if(!s)return void n.onError(Re(32,t.loc));Fn(s);const{addIdentifiers:o,removeIdentifiers:i,scopes:a}=n,{source:l,value:c,key:u,index:d}=s,p={type:11,loc:t.loc,source:l,valueAlias:c,keyAlias:u,objectIndexAlias:d,parseResult:s,children:pt(e)?e.children:[e]};n.replaceNode(p),a.vFor++;const h=r&&r(p);return()=>{a.vFor--,h&&h()}}function Fn(e,t){e.finalized||(e.finalized=!0)}function Un({value:e,key:t,index:n},r=[]){return function(e){let t=e.length;for(;t--&&!e[t];);return e.slice(0,t+1).map(((e,t)=>e||te("_".repeat(t+1),!1)))}([e,t,n,...r])}const Bn=te("undefined",!1),jn=(e,t)=>{if(1===e.type&&(1===e.tagType||3===e.tagType)){const n=it(e,"slot");if(n)return n.exp,t.scopes.vSlot++,()=>{t.scopes.vSlot--}}},Vn=(e,t)=>{let n;if(pt(e)&&e.props.some(dt)&&(n=it(e,"for"))){const e=n.forParseResult;if(e){Fn(e);const{value:n,key:r,index:s}=e,{addIdentifiers:o,removeIdentifiers:i}=t;return n&&o(n),r&&o(r),s&&o(s),()=>{n&&i(n),r&&i(r),s&&i(s)}}}},$n=(e,t,n,r)=>oe(e,n,!1,!0,n.length?n[0].loc:r);function Gn(e,t,n=$n){t.helper(U);const{children:r,loc:s}=e,o=[],i=[];let a=t.scopes.vSlot>0||t.scopes.vFor>0;const l=it(e,"slot",!0);if(l){const{arg:e,exp:t}=l;e&&!We(e)&&(a=!0),o.push(ee(e||te("default",!0),n(t,void 0,r,s)))}let c=!1,u=!1;const d=[],p=new Set;let h=0;for(let e=0;e<r.length;e++){const s=r[e];let f;if(!pt(s)||!(f=it(s,"slot",!0))){3!==s.type&&d.push(s);continue}if(l){t.onError(Re(37,f.loc));break}c=!0;const{children:_,loc:m}=s,{arg:g=te("default",!0),exp:y,loc:v}=f;let E;We(g)?E=g?g.content:"default":a=!0;const b=it(s,"for"),T=n(y,b,_,m);let w,k;if(w=it(s,"if"))a=!0,i.push(ie(w.exp,Hn(g,T,h++),Bn));else if(k=it(s,/^else(-if)?$/,!0)){let n,s=e;for(;s--&&(n=r[s],3===n.type););if(n&&pt(n)&&it(n,"if")){r.splice(e,1),e--;let t=i[i.length-1];for(;19===t.alternate.type;)t=t.alternate;t.alternate=k.exp?ie(k.exp,Hn(g,T,h++),Bn):Hn(g,T,h++)}else t.onError(Re(30,k.loc))}else if(b){a=!0;const e=b.forParseResult;e?(Fn(e),i.push(se(t.helper(S),[e.source,oe(Un(e),Hn(g,T),!0)]))):t.onError(Re(32,b.loc))}else{if(E){if(p.has(E)){t.onError(Re(38,v));continue}p.add(E),"default"===E&&(u=!0)}o.push(ee(g,T))}}if(!l){const e=(e,r)=>{const o=n(e,void 0,r,s);return t.compatConfig&&(o.isNonScopedSlot=!0),ee("default",o)};c?d.length&&d.some((e=>Yn(e)))&&(u?t.onError(Re(39,d[0].loc)):o.push(e(void 0,d))):o.push(e(void 0,r))}const f=a?2:zn(e.children)?3:1;let _=Q(o.concat(ee("_",te(f+"",!1))),s);return i.length&&(_=se(t.helper(w),[_,Z(i)])),{slots:_,hasDynamicSlots:a}}function Hn(e,t,n){const r=[ee("name",e),ee("fn",t)];return null!=n&&r.push(ee("key",te(String(n),!0))),Q(r)}function zn(e){for(let t=0;t<e.length;t++){const n=e[t];switch(n.type){case 1:if(2===n.tagType||zn(n.children))return!0;break;case 9:if(zn(n.branches))return!0;break;case 10:case 11:if(zn(n.children))return!0}}return!1}function Yn(e){return 2!==e.type&&12!==e.type||(2===e.type?!!e.content.trim():Yn(e.content))}const Wn=new WeakMap,Xn=(e,t)=>function(){if(1!==(e=t.currentNode).type||0!==e.tagType&&1!==e.tagType)return;const{tag:n,props:s}=e,l=1===e.tagType;let c=l?qn(e,t):`"${n}"`;const u=(0,r.isObject)(c)&&c.callee===y;let d,p,h,f,_,m,g=0,v=u||c===o||c===i||!l&&("svg"===n||"foreignObject"===n);if(s.length>0){const n=Kn(e,t,void 0,l,u);d=n.props,g=n.patchFlag,_=n.dynamicPropNames;const r=n.directives;m=r&&r.length?Z(r.map((e=>Qn(e,t)))):void 0,n.shouldUseBlock&&(v=!0)}if(e.children.length>0)if(c===a&&(v=!0,g|=1024),l&&c!==o&&c!==a){const{slots:n,hasDynamicSlots:r}=Gn(e,t);p=n,r&&(g|=1024)}else if(1===e.children.length&&c!==o){const n=e.children[0],r=n.type,s=5===r||8===r;s&&0===an(n,t)&&(g|=1),p=s||2===r?n:e.children}else p=e.children;0!==g&&(h=String(g),_&&_.length&&(f=function(e){let t="[";for(let n=0,r=e.length;n<r;n++)t+=JSON.stringify(e[n]),n<r-1&&(t+=", ");return t+"]"}(_))),e.codegenNode=J(t,c,d,p,h,f,m,!!v,!1,l,e.loc)};function qn(e,t,n=!1){let{tag:r}=e;const s=er(r),o=at(e,"is");if(o)if(s||Ne("COMPILER_IS_ON_ELEMENT",t)){const e=6===o.type?o.value&&te(o.value.content,!0):o.exp;if(e)return se(t.helper(y),[e])}else 6===o.type&&o.value.content.startsWith("vue:")&&(r=o.value.content.slice(4));const i=Xe(r)||t.isBuiltInComponent(r);return i?(n||t.helper(i),i):(t.helper(g),t.components.add(r),yt(r,"component"))}function Kn(e,t,n=e.props,s,o,i=!1){const{tag:a,loc:l,children:c}=e;let u=[];const d=[],p=[],h=c.length>0;let f=!1,_=0,m=!1,g=!1,y=!1,v=!1,E=!1,b=!1;const S=[],T=e=>{u.length&&(d.push(Q(Jn(u),l)),u=[]),e&&d.push(e)},w=({key:e,value:n})=>{if(We(e)){const i=e.content,a=(0,r.isOn)(i);if(!a||s&&!o||"onclick"===i.toLowerCase()||"onUpdate:modelValue"===i||(0,r.isReservedProp)(i)||(v=!0),a&&(0,r.isReservedProp)(i)&&(b=!0),a&&14===n.type&&(n=n.arguments[0]),20===n.type||(4===n.type||8===n.type)&&an(n,t)>0)return;"ref"===i?m=!0:"class"===i?g=!0:"style"===i?y=!0:"key"===i||S.includes(i)||S.push(i),!s||"class"!==i&&"style"!==i||S.includes(i)||S.push(i)}else E=!0};for(let o=0;o<n.length;o++){const c=n[o];if(6===c.type){const{loc:e,name:n,nameLoc:r,value:s}=c;let o=!0;if("ref"===n&&(m=!0,t.scopes.vFor>0&&u.push(ee(te("ref_for",!0),te("true")))),"is"===n&&(er(a)||s&&s.content.startsWith("vue:")||Ne("COMPILER_IS_ON_ELEMENT",t)))continue;u.push(ee(te(n,!0,r),te(s?s.content:"",o,s?s.loc:e)))}else{const{name:n,arg:o,exp:m,loc:g,modifiers:y}=c,v="bind"===n,b="on"===n;if("slot"===n){s||t.onError(Re(40,g));continue}if("once"===n||"memo"===n)continue;if("is"===n||v&&lt(o,"is")&&(er(a)||Ne("COMPILER_IS_ON_ELEMENT",t)))continue;if(b&&i)continue;if((v&&lt(o,"key")||b&&h&&lt(o,"vue:before-update"))&&(f=!0),v&&lt(o,"ref")&&t.scopes.vFor>0&&u.push(ee(te("ref_for",!0),te("true"))),!o&&(v||b)){if(E=!0,m)if(v){if(T(),Ne("COMPILER_V_BIND_OBJECT_ORDER",t)){d.unshift(m);continue}d.push(m)}else T({type:14,loc:g,callee:t.helper(A),arguments:s?[m]:[m,"true"]});else t.onError(Re(v?34:35,g));continue}v&&y.includes("prop")&&(_|=32);const S=t.directiveTransforms[n];if(S){const{props:n,needRuntime:s}=S(c,e,t);!i&&n.forEach(w),b&&o&&!We(o)?T(Q(n,l)):u.push(...n),s&&(p.push(c),(0,r.isSymbol)(s)&&Wn.set(c,s))}else(0,r.isBuiltInDirective)(n)||(p.push(c),h&&(f=!0))}}let k;if(d.length?(T(),k=d.length>1?se(t.helper(O),d,l):d[0]):u.length&&(k=Q(Jn(u),l)),E?_|=16:(g&&!s&&(_|=2),y&&!s&&(_|=4),S.length&&(_|=8),v&&(_|=32)),f||0!==_&&32!==_||!(m||b||p.length>0)||(_|=512),!t.inSSR&&k)switch(k.type){case 15:let e=-1,n=-1,r=!1;for(let t=0;t<k.properties.length;t++){const s=k.properties[t].key;We(s)?"class"===s.content?e=t:"style"===s.content&&(n=t):s.isHandlerKey||(r=!0)}const s=k.properties[e],o=k.properties[n];r?k=se(t.helper(x),[k]):(s&&!We(s.value)&&(s.value=se(t.helper(N),[s.value])),o&&(y||4===o.value.type&&"["===o.value.content.trim()[0]||17===o.value.type)&&(o.value=se(t.helper(C),[o.value])));break;case 14:break;default:k=se(t.helper(x),[se(t.helper(I),[k])])}return{props:k,directives:p,patchFlag:_,dynamicPropNames:S,shouldUseBlock:f}}function Jn(e){const t=new Map,n=[];for(let s=0;s<e.length;s++){const o=e[s];if(8===o.key.type||!o.key.isStatic){n.push(o);continue}const i=o.key.content,a=t.get(i);a?("style"===i||"class"===i||(0,r.isOn)(i))&&Zn(a,o):(t.set(i,o),n.push(o))}return n}function Zn(e,t){17===e.value.type?e.value.elements.push(t.value):e.value=Z([e.value,t.value],e.loc)}function Qn(e,t){const n=[],r=Wn.get(e);r?n.push(t.helperString(r)):(t.helper(v),t.directives.add(e.name),n.push(yt(e.name,"directive")));const{loc:s}=e;if(e.exp&&n.push(e.exp),e.arg&&(e.exp||n.push("void 0"),n.push(e.arg)),Object.keys(e.modifiers).length){e.arg||(e.exp||n.push("void 0"),n.push("void 0"));const t=te("true",!1,s);n.push(Q(e.modifiers.map((e=>ee(e,t))),s))}return Z(n,e.loc)}function er(e){return"component"===e||"Component"===e}const tr=(e,t)=>{if(ht(e)){const{children:n,loc:r}=e,{slotName:s,slotProps:o}=nr(e,t),i=[t.prefixIdentifiers?"_ctx.$slots":"$slots",s,"{}","undefined","true"];let a=2;o&&(i[2]=o,a=3),n.length&&(i[3]=oe([],n,!1,!1,r),a=4),t.scopeId&&!t.slotted&&(a=5),i.splice(a),e.codegenNode=se(t.helper(T),i,r)}};function nr(e,t){let n,s='"default"';const o=[];for(let t=0;t<e.props.length;t++){const n=e.props[t];6===n.type?n.value&&("name"===n.name?s=JSON.stringify(n.value.content):(n.name=(0,r.camelize)(n.name),o.push(n))):"bind"===n.name&&lt(n.arg,"name")?n.exp&&(s=n.exp):("bind"===n.name&&n.arg&&We(n.arg)&&(n.arg.content=(0,r.camelize)(n.arg.content)),o.push(n))}if(o.length>0){const{props:r,directives:s}=Kn(e,t,o,!1,!1);n=r,s.length&&t.onError(Re(36,s[0].loc))}return{slotName:s,slotProps:n}}const rr=/^\s*([\w$_]+|(async\s*)?\([^)]*?\))\s*(:[^=]+)?=>|^\s*(async\s+)?function(?:\s+[\w$]+)?\s*\(/,sr=(e,t,n,s)=>{const{loc:o,modifiers:i,arg:a}=e;let l;if(e.exp||i.length||n.onError(Re(35,o)),4===a.type)if(a.isStatic){let e=a.content;e.startsWith("vue:")&&(e=`vnode-${e.slice(4)}`),l=te(0!==t.tagType||e.startsWith("vnode")||!/[A-Z]/.test(e)?(0,r.toHandlerKey)((0,r.camelize)(e)):`on:${e}`,!0,a.loc)}else l=re([`${n.helperString(M)}(`,a,")"]);else l=a,l.children.unshift(`${n.helperString(M)}(`),l.children.push(")");let c=e.exp;c&&!c.content.trim()&&(c=void 0);let u=n.cacheHandlers&&!c&&!n.inVOnce;if(c){const e=nt(c.content),t=!(e||rr.test(c.content)),n=c.content.includes(";");(t||u&&e)&&(c=re([`${t?"$event":"(...args)"} => ${n?"{":"("}`,c,n?"}":")"]))}let d={props:[ee(l,c||te("() => {}",!1,o))]};return s&&(d=s(d)),u&&(d.props[0].value=n.cache(d.props[0].value)),d.props.forEach((e=>e.key.isHandlerKey=!0)),d},or=(e,t,n)=>{const{modifiers:s,loc:o}=e,i=e.arg;let{exp:a}=e;if(!a&&4===i.type){const t=(0,r.camelize)(i.content);a=e.exp=te(t,!1,i.loc)}return 4!==i.type?(i.children.unshift("("),i.children.push(') || ""')):i.isStatic||(i.content=`${i.content} || ""`),s.includes("camel")&&(4===i.type?i.isStatic?i.content=(0,r.camelize)(i.content):i.content=`${n.helperString(R)}(${i.content})`:(i.children.unshift(`${n.helperString(R)}(`),i.children.push(")"))),n.inSSR||(s.includes("prop")&&ir(i,"."),s.includes("attr")&&ir(i,"^")),!a||4===a.type&&!a.content.trim()?(n.onError(Re(34,o)),{props:[ee(i,te("",!0,o))]}):{props:[ee(i,a)]}},ir=(e,t)=>{4===e.type?e.isStatic?e.content=t+e.content:e.content=`\`${t}\${${e.content}}\``:(e.children.unshift(`'${t}' + (`),e.children.push(")"))},ar=(e,t)=>{if(0===e.type||1===e.type||11===e.type||10===e.type)return()=>{const n=e.children;let r,s=!1;for(let e=0;e<n.length;e++){const t=n[e];if(ut(t)){s=!0;for(let s=e+1;s<n.length;s++){const o=n[s];if(!ut(o)){r=void 0;break}r||(r=n[e]=re([t],t.loc)),r.children.push(" + ",o),n.splice(s,1),s--}}}if(s&&(1!==n.length||0!==e.type&&(1!==e.type||0!==e.tagType||e.props.find((e=>7===e.type&&!t.directiveTransforms[e.name]))||"template"===e.tag)))for(let e=0;e<n.length;e++){const r=n[e];if(ut(r)||8===r.type){const s=[];2===r.type&&" "===r.content||s.push(r),t.ssr||0!==an(r,t)||s.push("1"),n[e]={type:12,content:r,loc:r.loc,codegenNode:se(t.helper(_),s)}}}}},lr=new WeakSet,cr=(e,t)=>{if(1===e.type&&it(e,"once",!0)){if(lr.has(e)||t.inVOnce||t.inSSR)return;return lr.add(e),t.inVOnce=!0,t.helper(D),()=>{t.inVOnce=!1;const e=t.currentNode;e.codegenNode&&(e.codegenNode=t.cache(e.codegenNode,!0))}}},ur=(e,t,n)=>{const{exp:s,arg:o}=e;if(!s)return n.onError(Re(41,e.loc)),dr();const i=s.loc.source,a=4===s.type?s.content:i,l=n.bindingMetadata[i];if("props"===l||"props-aliased"===l)return n.onError(Re(44,s.loc)),dr();if(!a.trim()||!nt(a))return n.onError(Re(42,s.loc)),dr();const c=o||te("modelValue",!0),u=o?We(o)?`onUpdate:${(0,r.camelize)(o.content)}`:re(['"onUpdate:" + ',o]):"onUpdate:modelValue";let d;d=re([(n.isTS?"($event: any)":"$event")+" => ((",s,") = $event)"]);const p=[ee(c,e.exp),ee(u,d)];if(e.modifiers.length&&1===t.tagType){const t=e.modifiers.map((e=>(Ke(e)?e:JSON.stringify(e))+": true")).join(", "),n=o?We(o)?`${o.content}Modifiers`:re([o,' + "Modifiers"']):"modelModifiers";p.push(ee(n,te(`{ ${t} }`,!1,e.loc,2)))}return dr(p)};function dr(e=[]){return{props:e}}const pr=/[\w).+\-_$\]]/,hr=(e,t)=>{Ne("COMPILER_FILTERS",t)&&(5===e.type&&fr(e.content,t),1===e.type&&e.props.forEach((e=>{7===e.type&&"for"!==e.name&&e.exp&&fr(e.exp,t)})))};function fr(e,t){if(4===e.type)_r(e,t);else for(let n=0;n<e.children.length;n++){const r=e.children[n];"object"==typeof r&&(4===r.type?_r(r,t):8===r.type?fr(e,t):5===r.type&&fr(r.content,t))}}function _r(e,t){const n=e.content;let r,s,o,i,a=!1,l=!1,c=!1,u=!1,d=0,p=0,h=0,f=0,_=[];for(o=0;o<n.length;o++)if(s=r,r=n.charCodeAt(o),a)39===r&&92!==s&&(a=!1);else if(l)34===r&&92!==s&&(l=!1);else if(c)96===r&&92!==s&&(c=!1);else if(u)47===r&&92!==s&&(u=!1);else if(124!==r||124===n.charCodeAt(o+1)||124===n.charCodeAt(o-1)||d||p||h){switch(r){case 34:l=!0;break;case 39:a=!0;break;case 96:c=!0;break;case 40:h++;break;case 41:h--;break;case 91:p++;break;case 93:p--;break;case 123:d++;break;case 125:d--}if(47===r){let e,t=o-1;for(;t>=0&&(e=n.charAt(t)," "===e);t--);e&&pr.test(e)||(u=!0)}}else void 0===i?(f=o+1,i=n.slice(0,o).trim()):m();function m(){_.push(n.slice(f,o).trim()),f=o+1}if(void 0===i?i=n.slice(0,o).trim():0!==f&&m(),_.length){for(o=0;o<_.length;o++)i=mr(i,_[o],t);e.content=i}}function mr(e,t,n){n.helper(E);const r=t.indexOf("(");if(r<0)return n.filters.add(t),`${yt(t,"filter")}(${e})`;{const s=t.slice(0,r),o=t.slice(r+1);return n.filters.add(s),`${yt(s,"filter")}(${e}${")"!==o?","+o:o}`}}const gr=new WeakSet,yr=(e,t)=>{if(1===e.type){const n=it(e,"memo");if(!n||gr.has(e))return;return gr.add(e),()=>{const r=e.codegenNode||t.currentNode.codegenNode;r&&13===r.type&&(1!==e.tagType&&me(r,t),e.codegenNode=se(t.helper(V),[n.exp,oe(void 0,r),"_cache",String(t.cached++)]))}}};function vr(e){return[[cr,In,yr,Dn,hr,tr,Xn,jn,ar],{on:sr,bind:or,model:ur}]}function Er(e,t={}){const n=t.onError||Ie,s="module"===t.mode;!0===t.prefixIdentifiers?n(Re(47)):s&&n(Re(48)),t.cacheHandlers&&n(Re(49)),t.scopeId&&!s&&n(Re(50));const o=(0,r.extend)({},t,{prefixIdentifiers:!1}),i=(0,r.isString)(e)?nn(e,o):e,[a,l]=vr();return fn(i,(0,r.extend)({},o,{nodeTransforms:[...a,...t.nodeTransforms||[]],directiveTransforms:(0,r.extend)({},l,t.directiveTransforms||{})})),vn(i,o)}const br={DATA:"data",PROPS:"props",PROPS_ALIASED:"props-aliased",SETUP_LET:"setup-let",SETUP_CONST:"setup-const",SETUP_REACTIVE_CONST:"setup-reactive-const",SETUP_MAYBE_REF:"setup-maybe-ref",SETUP_REF:"setup-ref",OPTIONS:"options",LITERAL_CONST:"literal-const"},Sr=()=>({props:[]}),Tr=Symbol(""),wr=Symbol(""),kr=Symbol(""),Or=Symbol(""),Nr=Symbol(""),Cr=Symbol(""),xr=Symbol(""),Ir=Symbol(""),Ar=Symbol(""),Rr=Symbol("");let Lr;H({[Tr]:"vModelRadio",[wr]:"vModelCheckbox",[kr]:"vModelText",[Or]:"vModelSelect",[Nr]:"vModelDynamic",[Cr]:"withModifiers",[xr]:"withKeys",[Ir]:"vShow",[Ar]:"Transition",[Rr]:"TransitionGroup"});const Mr={parseMode:"html",isVoidTag:r.isVoidTag,isNativeTag:e=>(0,r.isHTMLTag)(e)||(0,r.isSVGTag)(e)||(0,r.isMathMLTag)(e),isPreTag:e=>"pre"===e,decodeEntities:function(e,t=!1){return Lr||(Lr=document.createElement("div")),t?(Lr.innerHTML=`<div foo="${e.replace(/"/g,"&quot;")}">`,Lr.children[0].getAttribute("foo")):(Lr.innerHTML=e,Lr.textContent)},isBuiltInComponent:e=>"Transition"===e||"transition"===e?Ar:"TransitionGroup"===e||"transition-group"===e?Rr:void 0,getNamespace(e,t,n){let r=t?t.ns:n;if(t&&2===r)if("annotation-xml"===t.tag){if("svg"===e)return 1;t.props.some((e=>6===e.type&&"encoding"===e.name&&null!=e.value&&("text/html"===e.value.content||"application/xhtml+xml"===e.value.content)))&&(r=0)}else/^m(?:[ions]|text)$/.test(t.tag)&&"mglyph"!==e&&"malignmark"!==e&&(r=0);else t&&1===r&&("foreignObject"!==t.tag&&"desc"!==t.tag&&"title"!==t.tag||(r=0));if(0===r){if("svg"===e)return 1;if("math"===e)return 2}return r}},Dr=e=>{1===e.type&&e.props.forEach(((t,n)=>{6===t.type&&"style"===t.name&&t.value&&(e.props[n]={type:7,name:"bind",arg:te("style",!0,t.loc),exp:Pr(t.value.content,t.loc),modifiers:[],loc:t.loc})}))},Pr=(e,t)=>{const n=(0,r.parseStringStyle)(e);return te(JSON.stringify(n),!1,t,3)};function Fr(e,t){return Re(e,t)}const Ur={X_V_HTML_NO_EXPRESSION:53,53:"X_V_HTML_NO_EXPRESSION",X_V_HTML_WITH_CHILDREN:54,54:"X_V_HTML_WITH_CHILDREN",X_V_TEXT_NO_EXPRESSION:55,55:"X_V_TEXT_NO_EXPRESSION",X_V_TEXT_WITH_CHILDREN:56,56:"X_V_TEXT_WITH_CHILDREN",X_V_MODEL_ON_INVALID_ELEMENT:57,57:"X_V_MODEL_ON_INVALID_ELEMENT",X_V_MODEL_ARG_ON_ELEMENT:58,58:"X_V_MODEL_ARG_ON_ELEMENT",X_V_MODEL_ON_FILE_INPUT_ELEMENT:59,59:"X_V_MODEL_ON_FILE_INPUT_ELEMENT",X_V_MODEL_UNNECESSARY_VALUE:60,60:"X_V_MODEL_UNNECESSARY_VALUE",X_V_SHOW_NO_EXPRESSION:61,61:"X_V_SHOW_NO_EXPRESSION",X_TRANSITION_INVALID_CHILDREN:62,62:"X_TRANSITION_INVALID_CHILDREN",X_IGNORED_SIDE_EFFECT_TAG:63,63:"X_IGNORED_SIDE_EFFECT_TAG",__EXTEND_POINT__:64,64:"__EXTEND_POINT__"},Br={53:"v-html is missing expression.",54:"v-html will override element children.",55:"v-text is missing expression.",56:"v-text will override element children.",57:"v-model can only be used on <input>, <textarea> and <select> elements.",58:"v-model argument is not supported on plain elements.",59:"v-model cannot be used on file inputs since they are read-only. Use a v-on:change listener instead.",60:"Unnecessary value binding used alongside v-model. It will interfere with v-model's behavior.",61:"v-show is missing expression.",62:"<Transition> expects exactly one child element or component.",63:"Tags with side effect (<script> and <style>) are ignored in client component templates."},jr=(0,r.makeMap)("passive,once,capture"),Vr=(0,r.makeMap)("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),$r=(0,r.makeMap)("left,right"),Gr=(0,r.makeMap)("onkeyup,onkeydown,onkeypress",!0),Hr=(e,t)=>We(e)&&"onclick"===e.content.toLowerCase()?te(t,!0):4!==e.type?re(["(",e,`) === "onClick" ? "${t}" : (`,e,")"]):e,zr=(e,t)=>{1!==e.type||0!==e.tagType||"script"!==e.tag&&"style"!==e.tag||t.removeNode()},Yr=[Dr],Wr={cloak:Sr,html:(e,t,n)=>{const{exp:r,loc:s}=e;return r||n.onError(Fr(53,s)),t.children.length&&(n.onError(Fr(54,s)),t.children.length=0),{props:[ee(te("innerHTML",!0,s),r||te("",!0))]}},text:(e,t,n)=>{const{exp:r,loc:s}=e;return r||n.onError(Fr(55,s)),t.children.length&&(n.onError(Fr(56,s)),t.children.length=0),{props:[ee(te("textContent",!0),r?an(r,n)>0?r:se(n.helperString(k),[r],s):te("",!0))]}},model:(e,t,n)=>{const r=ur(e,t,n);if(!r.props.length||1===t.tagType)return r;e.arg&&n.onError(Fr(58,e.arg.loc));const{tag:s}=t,o=n.isCustomElement(s);if("input"===s||"textarea"===s||"select"===s||o){let i=kr,a=!1;if("input"===s||o){const r=at(t,"type");if(r){if(7===r.type)i=Nr;else if(r.value)switch(r.value.content){case"radio":i=Tr;break;case"checkbox":i=wr;break;case"file":a=!0,n.onError(Fr(59,e.loc))}}else ct(t)&&(i=Nr)}else"select"===s&&(i=Or);a||(r.needRuntime=n.helper(i))}else n.onError(Fr(57,e.loc));return r.props=r.props.filter((e=>!(4===e.key.type&&"modelValue"===e.key.content))),r},on:(e,t,n)=>sr(e,t,n,(t=>{const{modifiers:s}=e;if(!s.length)return t;let{key:o,value:i}=t.props[0];const{keyModifiers:a,nonKeyModifiers:l,eventOptionModifiers:c}=((e,t,n,r)=>{const s=[],o=[],i=[];for(let r=0;r<t.length;r++){const a=t[r];"native"===a&&Ce("COMPILER_V_ON_NATIVE",n)||jr(a)?i.push(a):$r(a)?We(e)?Gr(e.content)?s.push(a):o.push(a):(s.push(a),o.push(a)):Vr(a)?o.push(a):s.push(a)}return{keyModifiers:s,nonKeyModifiers:o,eventOptionModifiers:i}})(o,s,n,e.loc);if(l.includes("right")&&(o=Hr(o,"onContextmenu")),l.includes("middle")&&(o=Hr(o,"onMouseup")),l.length&&(i=se(n.helper(Cr),[i,JSON.stringify(l)])),!a.length||We(o)&&!Gr(o.content)||(i=se(n.helper(xr),[i,JSON.stringify(a)])),c.length){const e=c.map(r.capitalize).join("");o=We(o)?te(`${o.content}${e}`,!0):re(["(",o,`) + "${e}"`])}return{props:[ee(o,i)]}})),show:(e,t,n)=>{const{exp:r,loc:s}=e;return r||n.onError(Fr(61,s)),{props:[],needRuntime:n.helper(Ir)}}};function Xr(e,t={}){return Er(e,(0,r.extend)({},Mr,t,{nodeTransforms:[zr,...Yr,...t.nodeTransforms||[]],directiveTransforms:(0,r.extend)({},Wr,t.directiveTransforms||{}),transformHoist:null}))}function qr(e,t={}){return nn(e,(0,r.extend)({},Mr,t))}},781:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BaseTransition:()=>Ln,BaseTransitionPropsValidators:()=>Rn,Comment:()=>Fs,DeprecationTypes:()=>Zo,EffectScope:()=>i,ErrorCodes:()=>ot,ErrorTypeStrings:()=>Yo,Fragment:()=>Ds,KeepAlive:()=>zn,ReactiveEffect:()=>d,Static:()=>Us,Suspense:()=>cn,Teleport:()=>Ls,Text:()=>Ps,TrackOpTypes:()=>Ze,Transition:()=>oi,TransitionGroup:()=>qi,TriggerOpTypes:()=>Qe,VueElement:()=>Gi,assertNumber:()=>st,callWithAsyncErrorHandling:()=>at,callWithErrorHandling:()=>it,camelize:()=>r.camelize,capitalize:()=>r.capitalize,cloneVNode:()=>so,compatUtils:()=>Jo,computed:()=>Uo,createApp:()=>Oa,createBlock:()=>Xs,createCommentVNode:()=>ao,createElementBlock:()=>Ws,createElementVNode:()=>to,createHydrationRenderer:()=>bs,createPropsRestProxy:()=>Mr,createRenderer:()=>Es,createSSRApp:()=>Na,createSlots:()=>pr,createStaticVNode:()=>io,createTextVNode:()=>oo,createVNode:()=>no,customRef:()=>Ye,defineAsyncComponent:()=>$n,defineComponent:()=>jn,defineCustomElement:()=>ji,defineEmits:()=>Sr,defineExpose:()=>Tr,defineModel:()=>Or,defineOptions:()=>wr,defineProps:()=>br,defineSSRCustomElement:()=>Vi,defineSlots:()=>kr,devtools:()=>Wo,effect:()=>m,effectScope:()=>a,getCurrentInstance:()=>yo,getCurrentScope:()=>c,getTransitionRawChildren:()=>Bn,guardReactiveProps:()=>ro,h:()=>jo,handleError:()=>lt,hasInjectionContext:()=>Qr,hydrate:()=>ka,initCustomFormatter:()=>Vo,initDirectivesForSSR:()=>Aa,inject:()=>Zr,isMemoSame:()=>Go,isProxy:()=>Ne,isReactive:()=>we,isReadonly:()=>ke,isRef:()=>De,isRuntimeOnly:()=>Io,isShallow:()=>Oe,isVNode:()=>qs,markRaw:()=>xe,mergeDefaults:()=>Rr,mergeModels:()=>Lr,mergeProps:()=>po,nextTick:()=>yt,normalizeClass:()=>r.normalizeClass,normalizeProps:()=>r.normalizeProps,normalizeStyle:()=>r.normalizeStyle,onActivated:()=>Wn,onBeforeMount:()=>tr,onBeforeUnmount:()=>or,onBeforeUpdate:()=>rr,onDeactivated:()=>Xn,onErrorCaptured:()=>ur,onMounted:()=>nr,onRenderTracked:()=>cr,onRenderTriggered:()=>lr,onScopeDispose:()=>u,onServerPrefetch:()=>ar,onUnmounted:()=>ir,onUpdated:()=>sr,openBlock:()=>Vs,popScopeId:()=>Ht,provide:()=>Jr,proxyRefs:()=>He,pushScopeId:()=>Gt,queuePostFlushCb:()=>bt,reactive:()=>ve,readonly:()=>be,ref:()=>Pe,registerRuntimeCompiler:()=>xo,render:()=>wa,renderList:()=>dr,renderSlot:()=>hr,resolveComponent:()=>en,resolveDirective:()=>rn,resolveDynamicComponent:()=>nn,resolveFilter:()=>Ko,resolveTransitionHooks:()=>Dn,setBlockTracking:()=>zs,setDevtoolsHook:()=>Xo,setTransitionHooks:()=>Un,shallowReactive:()=>Ee,shallowReadonly:()=>Se,shallowRef:()=>Fe,ssrContextKey:()=>_n,ssrUtils:()=>qo,stop:()=>g,toDisplayString:()=>r.toDisplayString,toHandlerKey:()=>r.toHandlerKey,toHandlers:()=>_r,toRaw:()=>Ce,toRef:()=>Ke,toRefs:()=>We,toValue:()=>$e,transformVNodeArgs:()=>Js,triggerRef:()=>je,unref:()=>Ve,useAttrs:()=>xr,useCssModule:()=>Hi,useCssVars:()=>ki,useModel:()=>Bo,useSSRContext:()=>mn,useSlots:()=>Cr,useTransitionState:()=>In,vModelCheckbox:()=>sa,vModelDynamic:()=>da,vModelRadio:()=>ia,vModelSelect:()=>aa,vModelText:()=>ra,vShow:()=>Si,version:()=>Ho,warn:()=>zo,watch:()=>bn,watchEffect:()=>gn,watchPostEffect:()=>yn,watchSyncEffect:()=>vn,withAsyncContext:()=>Dr,withCtx:()=>Yt,withDefaults:()=>Nr,withDirectives:()=>On,withKeys:()=>ya,withMemo:()=>$o,withModifiers:()=>ma,withScopeId:()=>zt});var r=n(933);let s,o;class i{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this.parent=s,!e&&s&&(this.index=(s.scopes||(s.scopes=[])).push(this)-1)}get active(){return this._active}run(e){if(this._active){const t=s;try{return s=this,e()}finally{s=t}}}on(){s=this}off(){s=this.parent}stop(e){if(this._active){let t,n;for(t=0,n=this.effects.length;t<n;t++)this.effects[t].stop();for(t=0,n=this.cleanups.length;t<n;t++)this.cleanups[t]();if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].stop(!0);if(!this.detached&&this.parent&&!e){const e=this.parent.scopes.pop();e&&e!==this&&(this.parent.scopes[this.index]=e,e.index=this.index)}this.parent=void 0,this._active=!1}}}function a(e){return new i(e)}function l(e,t=s){t&&t.active&&t.effects.push(e)}function c(){return s}function u(e){s&&s.cleanups.push(e)}class d{constructor(e,t,n,r){this.fn=e,this.trigger=t,this.scheduler=n,this.active=!0,this.deps=[],this._dirtyLevel=2,this._trackId=0,this._runnings=0,this._shouldSchedule=!1,this._depsLength=0,l(this,r)}get dirty(){if(1===this._dirtyLevel){b();for(let e=0;e<this._depsLength;e++){const t=this.deps[e];if(t.computed&&(p(t.computed),this._dirtyLevel>=2))break}this._dirtyLevel<2&&(this._dirtyLevel=0),S()}return this._dirtyLevel>=2}set dirty(e){this._dirtyLevel=e?2:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let e=y,t=o;try{return y=!0,o=this,this._runnings++,h(this),this.fn()}finally{f(this),this._runnings--,o=t,y=e}}stop(){var e;this.active&&(h(this),f(this),null==(e=this.onStop)||e.call(this),this.active=!1)}}function p(e){return e.value}function h(e){e._trackId++,e._depsLength=0}function f(e){if(e.deps&&e.deps.length>e._depsLength){for(let t=e._depsLength;t<e.deps.length;t++)_(e.deps[t],e);e.deps.length=e._depsLength}}function _(e,t){const n=e.get(t);void 0!==n&&t._trackId!==n&&(e.delete(t),0===e.size&&e.cleanup())}function m(e,t){e.effect instanceof d&&(e=e.effect.fn);const n=new d(e,r.NOOP,(()=>{n.dirty&&n.run()}));t&&((0,r.extend)(n,t),t.scope&&l(n,t.scope)),t&&t.lazy||n.run();const s=n.run.bind(n);return s.effect=n,s}function g(e){e.effect.stop()}let y=!0,v=0;const E=[];function b(){E.push(y),y=!1}function S(){const e=E.pop();y=void 0===e||e}function T(){v++}function w(){for(v--;!v&&O.length;)O.shift()()}function k(e,t,n){if(t.get(e)!==e._trackId){t.set(e,e._trackId);const n=e.deps[e._depsLength];n!==t?(n&&_(n,e),e.deps[e._depsLength++]=t):e._depsLength++}}const O=[];function N(e,t,n){T();for(const n of e.keys())if(n._dirtyLevel<t&&e.get(n)===n._trackId){const e=n._dirtyLevel;n._dirtyLevel=t,0===e&&(n._shouldSchedule=!0,n.trigger())}C(e),w()}function C(e){for(const t of e.keys())t.scheduler&&t._shouldSchedule&&(!t._runnings||t.allowRecurse)&&e.get(t)===t._trackId&&(t._shouldSchedule=!1,O.push(t.scheduler))}const x=(e,t)=>{const n=new Map;return n.cleanup=e,n.computed=t,n},I=new WeakMap,A=Symbol(""),R=Symbol("");function L(e,t,n){if(y&&o){let t=I.get(e);t||I.set(e,t=new Map);let r=t.get(n);r||t.set(n,r=x((()=>t.delete(n)))),k(o,r)}}function M(e,t,n,s,o,i){const a=I.get(e);if(!a)return;let l=[];if("clear"===t)l=[...a.values()];else if("length"===n&&(0,r.isArray)(e)){const e=Number(s);a.forEach(((t,n)=>{("length"===n||!(0,r.isSymbol)(n)&&n>=e)&&l.push(t)}))}else switch(void 0!==n&&l.push(a.get(n)),t){case"add":(0,r.isArray)(e)?(0,r.isIntegerKey)(n)&&l.push(a.get("length")):(l.push(a.get(A)),(0,r.isMap)(e)&&l.push(a.get(R)));break;case"delete":(0,r.isArray)(e)||(l.push(a.get(A)),(0,r.isMap)(e)&&l.push(a.get(R)));break;case"set":(0,r.isMap)(e)&&l.push(a.get(A))}T();for(const e of l)e&&N(e,2);w()}const D=(0,r.makeMap)("__proto__,__v_isRef,__isVue"),P=new Set(Object.getOwnPropertyNames(Symbol).filter((e=>"arguments"!==e&&"caller"!==e)).map((e=>Symbol[e])).filter(r.isSymbol)),F=U();function U(){const e={};return["includes","indexOf","lastIndexOf"].forEach((t=>{e[t]=function(...e){const n=Ce(this);for(let e=0,t=this.length;e<t;e++)L(n,0,e+"");const r=n[t](...e);return-1===r||!1===r?n[t](...e.map(Ce)):r}})),["push","pop","shift","unshift","splice"].forEach((t=>{e[t]=function(...e){b(),T();const n=Ce(this)[t].apply(this,e);return w(),S(),n}})),e}function B(e){const t=Ce(this);return L(t,0,e),t.hasOwnProperty(e)}class j{constructor(e=!1,t=!1){this._isReadonly=e,this._shallow=t}get(e,t,n){const s=this._isReadonly,o=this._shallow;if("__v_isReactive"===t)return!s;if("__v_isReadonly"===t)return s;if("__v_isShallow"===t)return o;if("__v_raw"===t)return n===(s?o?ye:ge:o?me:_e).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n)?e:void 0;const i=(0,r.isArray)(e);if(!s){if(i&&(0,r.hasOwn)(F,t))return Reflect.get(F,t,n);if("hasOwnProperty"===t)return B}const a=Reflect.get(e,t,n);return((0,r.isSymbol)(t)?P.has(t):D(t))?a:(s||L(e,0,t),o?a:De(a)?i&&(0,r.isIntegerKey)(t)?a:a.value:(0,r.isObject)(a)?s?be(a):ve(a):a)}}class V extends j{constructor(e=!1){super(!1,e)}set(e,t,n,s){let o=e[t];if(!this._shallow){const t=ke(o);if(Oe(n)||ke(n)||(o=Ce(o),n=Ce(n)),!(0,r.isArray)(e)&&De(o)&&!De(n))return!t&&(o.value=n,!0)}const i=(0,r.isArray)(e)&&(0,r.isIntegerKey)(t)?Number(t)<e.length:(0,r.hasOwn)(e,t),a=Reflect.set(e,t,n,s);return e===Ce(s)&&(i?(0,r.hasChanged)(n,o)&&M(e,"set",t,n):M(e,"add",t,n)),a}deleteProperty(e,t){const n=(0,r.hasOwn)(e,t),s=(e[t],Reflect.deleteProperty(e,t));return s&&n&&M(e,"delete",t,void 0),s}has(e,t){const n=Reflect.has(e,t);return(0,r.isSymbol)(t)&&P.has(t)||L(e,0,t),n}ownKeys(e){return L(e,0,(0,r.isArray)(e)?"length":A),Reflect.ownKeys(e)}}class $ extends j{constructor(e=!1){super(!0,e)}set(e,t){return!0}deleteProperty(e,t){return!0}}const G=new V,H=new $,z=new V(!0),Y=new $(!0),W=e=>e,X=e=>Reflect.getPrototypeOf(e);function q(e,t,n=!1,s=!1){const o=Ce(e=e.__v_raw),i=Ce(t);n||((0,r.hasChanged)(t,i)&&L(o,0,t),L(o,0,i));const{has:a}=X(o),l=s?W:n?Ae:Ie;return a.call(o,t)?l(e.get(t)):a.call(o,i)?l(e.get(i)):void(e!==o&&e.get(t))}function K(e,t=!1){const n=this.__v_raw,s=Ce(n),o=Ce(e);return t||((0,r.hasChanged)(e,o)&&L(s,0,e),L(s,0,o)),e===o?n.has(e):n.has(e)||n.has(o)}function J(e,t=!1){return e=e.__v_raw,!t&&L(Ce(e),0,A),Reflect.get(e,"size",e)}function Z(e){e=Ce(e);const t=Ce(this);return X(t).has.call(t,e)||(t.add(e),M(t,"add",e,e)),this}function Q(e,t){t=Ce(t);const n=Ce(this),{has:s,get:o}=X(n);let i=s.call(n,e);i||(e=Ce(e),i=s.call(n,e));const a=o.call(n,e);return n.set(e,t),i?(0,r.hasChanged)(t,a)&&M(n,"set",e,t):M(n,"add",e,t),this}function ee(e){const t=Ce(this),{has:n,get:r}=X(t);let s=n.call(t,e);s||(e=Ce(e),s=n.call(t,e)),r&&r.call(t,e);const o=t.delete(e);return s&&M(t,"delete",e,void 0),o}function te(){const e=Ce(this),t=0!==e.size,n=e.clear();return t&&M(e,"clear",void 0,void 0),n}function ne(e,t){return function(n,r){const s=this,o=s.__v_raw,i=Ce(o),a=t?W:e?Ae:Ie;return!e&&L(i,0,A),o.forEach(((e,t)=>n.call(r,a(e),a(t),s)))}}function re(e,t,n){return function(...s){const o=this.__v_raw,i=Ce(o),a=(0,r.isMap)(i),l="entries"===e||e===Symbol.iterator&&a,c="keys"===e&&a,u=o[e](...s),d=n?W:t?Ae:Ie;return!t&&L(i,0,c?R:A),{next(){const{value:e,done:t}=u.next();return t?{value:e,done:t}:{value:l?[d(e[0]),d(e[1])]:d(e),done:t}},[Symbol.iterator](){return this}}}}function se(e){return function(...t){return"delete"!==e&&("clear"===e?void 0:this)}}function oe(){const e={get(e){return q(this,e)},get size(){return J(this)},has:K,add:Z,set:Q,delete:ee,clear:te,forEach:ne(!1,!1)},t={get(e){return q(this,e,!1,!0)},get size(){return J(this)},has:K,add:Z,set:Q,delete:ee,clear:te,forEach:ne(!1,!0)},n={get(e){return q(this,e,!0)},get size(){return J(this,!0)},has(e){return K.call(this,e,!0)},add:se("add"),set:se("set"),delete:se("delete"),clear:se("clear"),forEach:ne(!0,!1)},r={get(e){return q(this,e,!0,!0)},get size(){return J(this,!0)},has(e){return K.call(this,e,!0)},add:se("add"),set:se("set"),delete:se("delete"),clear:se("clear"),forEach:ne(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach((s=>{e[s]=re(s,!1,!1),n[s]=re(s,!0,!1),t[s]=re(s,!1,!0),r[s]=re(s,!0,!0)})),[e,n,t,r]}const[ie,ae,le,ce]=oe();function ue(e,t){const n=t?e?ce:le:e?ae:ie;return(t,s,o)=>"__v_isReactive"===s?!e:"__v_isReadonly"===s?e:"__v_raw"===s?t:Reflect.get((0,r.hasOwn)(n,s)&&s in t?n:t,s,o)}const de={get:ue(!1,!1)},pe={get:ue(!1,!0)},he={get:ue(!0,!1)},fe={get:ue(!0,!0)},_e=new WeakMap,me=new WeakMap,ge=new WeakMap,ye=new WeakMap;function ve(e){return ke(e)?e:Te(e,!1,G,de,_e)}function Ee(e){return Te(e,!1,z,pe,me)}function be(e){return Te(e,!0,H,he,ge)}function Se(e){return Te(e,!0,Y,fe,ye)}function Te(e,t,n,s,o){if(!(0,r.isObject)(e))return e;if(e.__v_raw&&(!t||!e.__v_isReactive))return e;const i=o.get(e);if(i)return i;const a=(l=e).__v_skip||!Object.isExtensible(l)?0:function(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}((0,r.toRawType)(l));var l;if(0===a)return e;const c=new Proxy(e,2===a?s:n);return o.set(e,c),c}function we(e){return ke(e)?we(e.__v_raw):!(!e||!e.__v_isReactive)}function ke(e){return!(!e||!e.__v_isReadonly)}function Oe(e){return!(!e||!e.__v_isShallow)}function Ne(e){return we(e)||ke(e)}function Ce(e){const t=e&&e.__v_raw;return t?Ce(t):e}function xe(e){return(0,r.def)(e,"__v_skip",!0),e}const Ie=e=>(0,r.isObject)(e)?ve(e):e,Ae=e=>(0,r.isObject)(e)?be(e):e;class Re{constructor(e,t,n,r){this._setter=t,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new d((()=>e(this._value)),(()=>Me(this,1)),(()=>this.dep&&C(this.dep))),this.effect.computed=this,this.effect.active=this._cacheable=!r,this.__v_isReadonly=n}get value(){const e=Ce(this);return e._cacheable&&!e.effect.dirty||(0,r.hasChanged)(e._value,e._value=e.effect.run())&&Me(e,2),Le(e),e.effect._dirtyLevel>=1&&Me(e,1),e._value}set value(e){this._setter(e)}get _dirty(){return this.effect.dirty}set _dirty(e){this.effect.dirty=e}}function Le(e){y&&o&&(e=Ce(e),k(o,e.dep||(e.dep=x((()=>e.dep=void 0),e instanceof Re?e:void 0))))}function Me(e,t=2,n){const r=(e=Ce(e)).dep;r&&N(r,t)}function De(e){return!(!e||!0!==e.__v_isRef)}function Pe(e){return Ue(e,!1)}function Fe(e){return Ue(e,!0)}function Ue(e,t){return De(e)?e:new Be(e,t)}class Be{constructor(e,t){this.__v_isShallow=t,this.dep=void 0,this.__v_isRef=!0,this._rawValue=t?e:Ce(e),this._value=t?e:Ie(e)}get value(){return Le(this),this._value}set value(e){const t=this.__v_isShallow||Oe(e)||ke(e);e=t?e:Ce(e),(0,r.hasChanged)(e,this._rawValue)&&(this._rawValue=e,this._value=t?e:Ie(e),Me(this,2))}}function je(e){Me(e,2)}function Ve(e){return De(e)?e.value:e}function $e(e){return(0,r.isFunction)(e)?e():Ve(e)}const Ge={get:(e,t,n)=>Ve(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const s=e[t];return De(s)&&!De(n)?(s.value=n,!0):Reflect.set(e,t,n,r)}};function He(e){return we(e)?e:new Proxy(e,Ge)}class ze{constructor(e){this.dep=void 0,this.__v_isRef=!0;const{get:t,set:n}=e((()=>Le(this)),(()=>Me(this)));this._get=t,this._set=n}get value(){return this._get()}set value(e){this._set(e)}}function Ye(e){return new ze(e)}function We(e){const t=(0,r.isArray)(e)?new Array(e.length):{};for(const n in e)t[n]=Je(e,n);return t}class Xe{constructor(e,t,n){this._object=e,this._key=t,this._defaultValue=n,this.__v_isRef=!0}get value(){const e=this._object[this._key];return void 0===e?this._defaultValue:e}set value(e){this._object[this._key]=e}get dep(){return e=Ce(this._object),t=this._key,null==(n=I.get(e))?void 0:n.get(t);var e,t,n}}class qe{constructor(e){this._getter=e,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function Ke(e,t,n){return De(e)?e:(0,r.isFunction)(e)?new qe(e):(0,r.isObject)(e)&&arguments.length>1?Je(e,t,n):Pe(e)}function Je(e,t,n){const r=e[t];return De(r)?r:new Xe(e,t,n)}const Ze={GET:"get",HAS:"has",ITERATE:"iterate"},Qe={SET:"set",ADD:"add",DELETE:"delete",CLEAR:"clear"},et=[];function tt(e,...t){b();const n=et.length?et[et.length-1].component:null,r=n&&n.appContext.config.warnHandler,s=function(){let e=et[et.length-1];if(!e)return[];const t=[];for(;e;){const n=t[0];n&&n.vnode===e?n.recurseCount++:t.push({vnode:e,recurseCount:0});const r=e.component&&e.component.parent;e=r&&r.vnode}return t}();if(r)it(r,n,11,[e+t.join(""),n&&n.proxy,s.map((({vnode:e})=>`at <${Fo(n,e.type)}>`)).join("\n"),s]);else{const n=[`[Vue warn]: ${e}`,...t];s.length&&n.push("\n",...function(e){const t=[];return e.forEach(((e,n)=>{t.push(...0===n?[]:["\n"],...function({vnode:e,recurseCount:t}){const n=t>0?`... (${t} recursive calls)`:"",r=!!e.component&&null==e.component.parent,s=` at <${Fo(e.component,e.type,r)}`,o=">"+n;return e.props?[s,...nt(e.props),o]:[s+o]}(e))})),t}(s)),console.warn(...n)}S()}function nt(e){const t=[],n=Object.keys(e);return n.slice(0,3).forEach((n=>{t.push(...rt(n,e[n]))})),n.length>3&&t.push(" ..."),t}function rt(e,t,n){return(0,r.isString)(t)?(t=JSON.stringify(t),n?t:[`${e}=${t}`]):"number"==typeof t||"boolean"==typeof t||null==t?n?t:[`${e}=${t}`]:De(t)?(t=rt(e,Ce(t.value),!0),n?t:[`${e}=Ref<`,t,">"]):(0,r.isFunction)(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=Ce(t),n?t:[`${e}=`,t])}function st(e,t){}const ot={SETUP_FUNCTION:0,0:"SETUP_FUNCTION",RENDER_FUNCTION:1,1:"RENDER_FUNCTION",WATCH_GETTER:2,2:"WATCH_GETTER",WATCH_CALLBACK:3,3:"WATCH_CALLBACK",WATCH_CLEANUP:4,4:"WATCH_CLEANUP",NATIVE_EVENT_HANDLER:5,5:"NATIVE_EVENT_HANDLER",COMPONENT_EVENT_HANDLER:6,6:"COMPONENT_EVENT_HANDLER",VNODE_HOOK:7,7:"VNODE_HOOK",DIRECTIVE_HOOK:8,8:"DIRECTIVE_HOOK",TRANSITION_HOOK:9,9:"TRANSITION_HOOK",APP_ERROR_HANDLER:10,10:"APP_ERROR_HANDLER",APP_WARN_HANDLER:11,11:"APP_WARN_HANDLER",FUNCTION_REF:12,12:"FUNCTION_REF",ASYNC_COMPONENT_LOADER:13,13:"ASYNC_COMPONENT_LOADER",SCHEDULER:14,14:"SCHEDULER"};function it(e,t,n,r){let s;try{s=r?e(...r):e()}catch(e){lt(e,t,n)}return s}function at(e,t,n,s){if((0,r.isFunction)(e)){const o=it(e,t,n,s);return o&&(0,r.isPromise)(o)&&o.catch((e=>{lt(e,t,n)})),o}const o=[];for(let r=0;r<e.length;r++)o.push(at(e[r],t,n,s));return o}function lt(e,t,n,r=!0){if(t&&t.vnode,t){let r=t.parent;const s=t.proxy,o=`https://vuejs.org/error-reference/#runtime-${n}`;for(;r;){const t=r.ec;if(t)for(let n=0;n<t.length;n++)if(!1===t[n](e,s,o))return;r=r.parent}const i=t.appContext.config.errorHandler;if(i)return void it(i,null,10,[e,s,o])}!function(e,t,n,r=!0){console.error(e)}(e,0,0,r)}let ct=!1,ut=!1;const dt=[];let pt=0;const ht=[];let ft=null,_t=0;const mt=Promise.resolve();let gt=null;function yt(e){const t=gt||mt;return e?t.then(this?e.bind(this):e):t}function vt(e){dt.length&&dt.includes(e,ct&&e.allowRecurse?pt+1:pt)||(null==e.id?dt.push(e):dt.splice(function(e){let t=pt+1,n=dt.length;for(;t<n;){const r=t+n>>>1,s=dt[r],o=wt(s);o<e||o===e&&s.pre?t=r+1:n=r}return t}(e.id),0,e),Et())}function Et(){ct||ut||(ut=!0,gt=mt.then(Ot))}function bt(e){(0,r.isArray)(e)?ht.push(...e):ft&&ft.includes(e,e.allowRecurse?_t+1:_t)||ht.push(e),Et()}function St(e,t,n=(ct?pt+1:0)){for(;n<dt.length;n++){const t=dt[n];if(t&&t.pre){if(e&&t.id!==e.uid)continue;dt.splice(n,1),n--,t()}}}function Tt(e){if(ht.length){const e=[...new Set(ht)].sort(((e,t)=>wt(e)-wt(t)));if(ht.length=0,ft)return void ft.push(...e);for(ft=e,_t=0;_t<ft.length;_t++)ft[_t]();ft=null,_t=0}}const wt=e=>null==e.id?1/0:e.id,kt=(e,t)=>{const n=wt(e)-wt(t);if(0===n){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Ot(e){ut=!1,ct=!0,dt.sort(kt),r.NOOP;try{for(pt=0;pt<dt.length;pt++){const e=dt[pt];e&&!1!==e.active&&it(e,null,14)}}finally{pt=0,dt.length=0,Tt(),ct=!1,gt=null,(dt.length||ht.length)&&Ot(e)}}let Nt,Ct=[],xt=!1;function It(e,...t){Nt?Nt.emit(e,...t):xt||Ct.push({event:e,args:t})}function At(e,t){var n,r;Nt=e,Nt?(Nt.enabled=!0,Ct.forEach((({event:e,args:t})=>Nt.emit(e,...t))),Ct=[]):"undefined"!=typeof window&&window.HTMLElement&&!(null==(r=null==(n=window.navigator)?void 0:n.userAgent)?void 0:r.includes("jsdom"))?((t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push((e=>{At(e,t)})),setTimeout((()=>{Nt||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,xt=!0,Ct=[])}),3e3)):(xt=!0,Ct=[])}const Rt=Pt("component:added"),Lt=Pt("component:updated"),Mt=Pt("component:removed"),Dt=e=>{Nt&&"function"==typeof Nt.cleanupBuffer&&!Nt.cleanupBuffer(e)&&Mt(e)};function Pt(e){return t=>{It(e,t.appContext.app,t.uid,t.parent?t.parent.uid:void 0,t)}}function Ft(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||r.EMPTY_OBJ;let o=n;const i=t.startsWith("update:"),a=i&&t.slice(7);if(a&&a in s){const e=`${"modelValue"===a?"model":a}Modifiers`,{number:t,trim:i}=s[e]||r.EMPTY_OBJ;i&&(o=n.map((e=>(0,r.isString)(e)?e.trim():e))),t&&(o=n.map(r.looseToNumber))}let l;__VUE_PROD_DEVTOOLS__&&function(e,t,n){It("component:emit",e.appContext.app,e,t,n)}(e,t,o);let c=s[l=(0,r.toHandlerKey)(t)]||s[l=(0,r.toHandlerKey)((0,r.camelize)(t))];!c&&i&&(c=s[l=(0,r.toHandlerKey)((0,r.hyphenate)(t))]),c&&at(c,e,6,o);const u=s[l+"Once"];if(u){if(e.emitted){if(e.emitted[l])return}else e.emitted={};e.emitted[l]=!0,at(u,e,6,o)}}function Ut(e,t,n=!1){const s=t.emitsCache,o=s.get(e);if(void 0!==o)return o;const i=e.emits;let a={},l=!1;if(__VUE_OPTIONS_API__&&!(0,r.isFunction)(e)){const s=e=>{const n=Ut(e,t,!0);n&&(l=!0,(0,r.extend)(a,n))};!n&&t.mixins.length&&t.mixins.forEach(s),e.extends&&s(e.extends),e.mixins&&e.mixins.forEach(s)}return i||l?((0,r.isArray)(i)?i.forEach((e=>a[e]=null)):(0,r.extend)(a,i),(0,r.isObject)(e)&&s.set(e,a),a):((0,r.isObject)(e)&&s.set(e,null),null)}function Bt(e,t){return!(!e||!(0,r.isOn)(t))&&(t=t.slice(2).replace(/Once$/,""),(0,r.hasOwn)(e,t[0].toLowerCase()+t.slice(1))||(0,r.hasOwn)(e,(0,r.hyphenate)(t))||(0,r.hasOwn)(e,t))}let jt=null,Vt=null;function $t(e){const t=jt;return jt=e,Vt=e&&e.type.__scopeId||null,t}function Gt(e){Vt=e}function Ht(){Vt=null}const zt=e=>Yt;function Yt(e,t=jt,n){if(!t)return e;if(e._n)return e;const r=(...n)=>{r._d&&zs(-1);const s=$t(t);let o;try{o=e(...n)}finally{$t(s),r._d&&zs(1)}return __VUE_PROD_DEVTOOLS__&&Lt(t),o};return r._n=!0,r._c=!0,r._d=!0,r}function Wt(e){const{type:t,vnode:n,proxy:s,withProxy:o,props:i,propsOptions:[a],slots:l,attrs:c,emit:u,render:d,renderCache:p,data:h,setupState:f,ctx:_,inheritAttrs:m}=e;let g,y;const v=$t(e);try{if(4&n.shapeFlag){const e=o||s,t=e;g=lo(d.call(t,e,p,i,f,h,_)),y=c}else{const e=t;g=lo(e.length>1?e(i,{attrs:c,slots:l,emit:u}):e(i,null)),y=t.props?c:Xt(c)}}catch(t){Bs.length=0,lt(t,e,1),g=no(Fs)}let E=g;if(y&&!1!==m){const e=Object.keys(y),{shapeFlag:t}=E;e.length&&7&t&&(a&&e.some(r.isModelListener)&&(y=qt(y,a)),E=so(E,y))}return n.dirs&&(E=so(E),E.dirs=E.dirs?E.dirs.concat(n.dirs):n.dirs),n.transition&&(E.transition=n.transition),g=E,$t(v),g}const Xt=e=>{let t;for(const n in e)("class"===n||"style"===n||(0,r.isOn)(n))&&((t||(t={}))[n]=e[n]);return t},qt=(e,t)=>{const n={};for(const s in e)(0,r.isModelListener)(s)&&s.slice(9)in t||(n[s]=e[s]);return n};function Kt(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let s=0;s<r.length;s++){const o=r[s];if(t[o]!==e[o]&&!Bt(n,o))return!0}return!1}function Jt({vnode:e,parent:t},n){for(;t;){const r=t.subTree;if(r.suspense&&r.suspense.activeBranch===e&&(r.el=e.el),r!==e)break;(e=t.vnode).el=n,t=t.parent}}const Zt="components",Qt="directives";function en(e,t){return sn(Zt,e,!0,t)||e}const tn=Symbol.for("v-ndc");function nn(e){return(0,r.isString)(e)?sn(Zt,e,!1)||e:e||tn}function rn(e){return sn(Qt,e)}function sn(e,t,n=!0,s=!1){const o=jt||go;if(o){const n=o.type;if(e===Zt){const e=Po(n,!1);if(e&&(e===t||e===(0,r.camelize)(t)||e===(0,r.capitalize)((0,r.camelize)(t))))return n}const i=on(o[e]||n[e],t)||on(o.appContext[e],t);return!i&&s?n:i}}function on(e,t){return e&&(e[t]||e[(0,r.camelize)(t)]||e[(0,r.capitalize)((0,r.camelize)(t))])}const an=e=>e.__isSuspense;let ln=0;const cn={name:"Suspense",__isSuspense:!0,process(e,t,n,r,s,o,i,a,l,c){if(null==e)!function(e,t,n,r,s,o,i,a,l){const{p:c,o:{createElement:u}}=l,d=u("div"),p=e.suspense=dn(e,s,r,t,d,n,o,i,a,l);c(null,p.pendingBranch=e.ssContent,d,null,r,p,o,i),p.deps>0?(un(e,"onPending"),un(e,"onFallback"),c(null,e.ssFallback,t,n,r,null,o,i),fn(p,e.ssFallback)):p.resolve(!1,!0)}(t,n,r,s,o,i,a,l,c);else{if(o&&o.deps>0)return void(t.suspense=e.suspense);!function(e,t,n,r,s,o,i,a,{p:l,um:c,o:{createElement:u}}){const d=t.suspense=e.suspense;d.vnode=t,t.el=e.el;const p=t.ssContent,h=t.ssFallback,{activeBranch:f,pendingBranch:_,isInFallback:m,isHydrating:g}=d;if(_)d.pendingBranch=p,Ks(p,_)?(l(_,p,d.hiddenContainer,null,s,d,o,i,a),d.deps<=0?d.resolve():m&&(g||(l(f,h,n,r,s,null,o,i,a),fn(d,h)))):(d.pendingId=ln++,g?(d.isHydrating=!1,d.activeBranch=_):c(_,s,d),d.deps=0,d.effects.length=0,d.hiddenContainer=u("div"),m?(l(null,p,d.hiddenContainer,null,s,d,o,i,a),d.deps<=0?d.resolve():(l(f,h,n,r,s,null,o,i,a),fn(d,h))):f&&Ks(p,f)?(l(f,p,n,r,s,d,o,i,a),d.resolve(!0)):(l(null,p,d.hiddenContainer,null,s,d,o,i,a),d.deps<=0&&d.resolve()));else if(f&&Ks(p,f))l(f,p,n,r,s,d,o,i,a),fn(d,p);else if(un(t,"onPending"),d.pendingBranch=p,512&p.shapeFlag?d.pendingId=p.component.suspenseId:d.pendingId=ln++,l(null,p,d.hiddenContainer,null,s,d,o,i,a),d.deps<=0)d.resolve();else{const{timeout:e,pendingId:t}=d;e>0?setTimeout((()=>{d.pendingId===t&&d.fallback(h)}),e):0===e&&d.fallback(h)}}(e,t,n,r,s,i,a,l,c)}},hydrate:function(e,t,n,r,s,o,i,a,l){const c=t.suspense=dn(t,r,n,e.parentNode,document.createElement("div"),null,s,o,i,a,!0),u=l(e,c.pendingBranch=t.ssContent,n,c,o,i);return 0===c.deps&&c.resolve(!1,!0),u},create:dn,normalize:function(e){const{shapeFlag:t,children:n}=e,r=32&t;e.ssContent=pn(r?n.default:n),e.ssFallback=r?pn(n.fallback):no(Fs)}};function un(e,t){const n=e.props&&e.props[t];(0,r.isFunction)(n)&&n()}function dn(e,t,n,s,o,i,a,l,c,u,d=!1){const{p,m:h,um:f,n:_,o:{parentNode:m,remove:g}}=u;let y;const v=function(e){var t;return null!=(null==(t=e.props)?void 0:t.suspensible)&&!1!==e.props.suspensible}(e);v&&(null==t?void 0:t.pendingBranch)&&(y=t.pendingId,t.deps++);const E=e.props?(0,r.toNumber)(e.props.timeout):void 0,b=i,S={vnode:e,parent:t,parentComponent:n,namespace:a,container:s,hiddenContainer:o,deps:0,pendingId:ln++,timeout:"number"==typeof E?E:-1,activeBranch:null,pendingBranch:null,isInFallback:!d,isHydrating:d,isUnmounted:!1,effects:[],resolve(e=!1,n=!1){const{vnode:r,activeBranch:s,pendingBranch:o,pendingId:a,effects:l,parentComponent:c,container:u}=S;let d=!1;S.isHydrating?S.isHydrating=!1:e||(d=s&&o.transition&&"out-in"===o.transition.mode,d&&(s.transition.afterLeave=()=>{a===S.pendingId&&(h(o,u,i===b?_(s):i,0),bt(l))}),s&&(m(s.el)!==S.hiddenContainer&&(i=_(s)),f(s,c,S,!0)),d||h(o,u,i,0)),fn(S,o),S.pendingBranch=null,S.isInFallback=!1;let p=S.parent,g=!1;for(;p;){if(p.pendingBranch){p.effects.push(...l),g=!0;break}p=p.parent}g||d||bt(l),S.effects=[],v&&t&&t.pendingBranch&&y===t.pendingId&&(t.deps--,0!==t.deps||n||t.resolve()),un(r,"onResolve")},fallback(e){if(!S.pendingBranch)return;const{vnode:t,activeBranch:n,parentComponent:r,container:s,namespace:o}=S;un(t,"onFallback");const i=_(n),a=()=>{S.isInFallback&&(p(null,e,s,i,r,null,o,l,c),fn(S,e))},u=e.transition&&"out-in"===e.transition.mode;u&&(n.transition.afterLeave=a),S.isInFallback=!0,f(n,r,null,!0),u||a()},move(e,t,n){S.activeBranch&&h(S.activeBranch,e,t,n),S.container=e},next:()=>S.activeBranch&&_(S.activeBranch),registerDep(e,t){const n=!!S.pendingBranch;n&&S.deps++;const r=e.vnode.el;e.asyncDep.catch((t=>{lt(t,e,0)})).then((s=>{if(e.isUnmounted||S.isUnmounted||S.pendingId!==e.suspenseId)return;e.asyncResolved=!0;const{vnode:o}=e;Co(e,s,!1),r&&(o.el=r);const i=!r&&e.subTree.el;t(e,o,m(r||e.subTree.el),r?null:_(e.subTree),S,a,c),i&&g(i),Jt(e,o.el),n&&0==--S.deps&&S.resolve()}))},unmount(e,t){S.isUnmounted=!0,S.activeBranch&&f(S.activeBranch,n,e,t),S.pendingBranch&&f(S.pendingBranch,n,e,t)}};return S}function pn(e){let t;if((0,r.isFunction)(e)){const n=Hs&&e._c;n&&(e._d=!1,Vs()),e=e(),n&&(e._d=!0,t=js,$s())}if((0,r.isArray)(e)){const t=function(e,t=!0){let n;for(let t=0;t<e.length;t++){const r=e[t];if(!qs(r))return;if(r.type!==Fs||"v-if"===r.children){if(n)return;n=r}}return n}(e);e=t}return e=lo(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter((t=>t!==e))),e}function hn(e,t){t&&t.pendingBranch?(0,r.isArray)(e)?t.effects.push(...e):t.effects.push(e):bt(e)}function fn(e,t){e.activeBranch=t;const{vnode:n,parentComponent:r}=e;let s=t.el;for(;!s&&t.component;)s=(t=t.component.subTree).el;n.el=s,r&&r.subTree===n&&(r.vnode.el=s,Jt(r,s))}const _n=Symbol.for("v-scx"),mn=()=>Zr(_n);function gn(e,t){return Sn(e,null,t)}function yn(e,t){return Sn(e,null,{flush:"post"})}function vn(e,t){return Sn(e,null,{flush:"sync"})}const En={};function bn(e,t,n){return Sn(e,t,n)}function Sn(e,t,{immediate:n,deep:s,flush:o,once:i,onTrack:a,onTrigger:l}=r.EMPTY_OBJ){if(t&&i){const e=t;t=(...t)=>{e(...t),w()}}const u=go,p=e=>!0===s?e:kn(e,!1===s?1:void 0);let h,f,_=!1,m=!1;if(De(e)?(h=()=>e.value,_=Oe(e)):we(e)?(h=()=>p(e),_=!0):(0,r.isArray)(e)?(m=!0,_=e.some((e=>we(e)||Oe(e))),h=()=>e.map((e=>De(e)?e.value:we(e)?p(e):(0,r.isFunction)(e)?it(e,u,2):void 0))):h=(0,r.isFunction)(e)?t?()=>it(e,u,2):()=>(f&&f(),at(e,u,3,[y])):r.NOOP,t&&s){const e=h;h=()=>kn(e())}let g,y=e=>{f=S.onStop=()=>{it(e,u,4),f=S.onStop=void 0}};if(Oo){if(y=r.NOOP,t?n&&at(t,u,3,[h(),m?[]:void 0,y]):h(),"sync"!==o)return r.NOOP;{const e=mn();g=e.__watcherHandles||(e.__watcherHandles=[])}}let v=m?new Array(e.length).fill(En):En;const E=()=>{if(S.active&&S.dirty)if(t){const e=S.run();(s||_||(m?e.some(((e,t)=>(0,r.hasChanged)(e,v[t]))):(0,r.hasChanged)(e,v)))&&(f&&f(),at(t,u,3,[e,v===En?void 0:m&&v[0]===En?[]:v,y]),v=e)}else S.run()};let b;E.allowRecurse=!!t,"sync"===o?b=E:"post"===o?b=()=>vs(E,u&&u.suspense):(E.pre=!0,u&&(E.id=u.uid),b=()=>vt(E));const S=new d(h,r.NOOP,b),T=c(),w=()=>{S.stop(),T&&(0,r.remove)(T.effects,S)};return t?n?E():v=S.run():"post"===o?vs(S.run.bind(S),u&&u.suspense):S.run(),g&&g.push(w),w}function Tn(e,t,n){const s=this.proxy,o=(0,r.isString)(e)?e.includes(".")?wn(s,e):()=>s[e]:e.bind(s,s);let i;(0,r.isFunction)(t)?i=t:(i=t.handler,n=t);const a=bo(this),l=Sn(o,i.bind(s),n);return a(),l}function wn(e,t){const n=t.split(".");return()=>{let t=e;for(let e=0;e<n.length&&t;e++)t=t[n[e]];return t}}function kn(e,t,n=0,s){if(!(0,r.isObject)(e)||e.__v_skip)return e;if(t&&t>0){if(n>=t)return e;n++}if((s=s||new Set).has(e))return e;if(s.add(e),De(e))kn(e.value,t,n,s);else if((0,r.isArray)(e))for(let r=0;r<e.length;r++)kn(e[r],t,n,s);else if((0,r.isSet)(e)||(0,r.isMap)(e))e.forEach((e=>{kn(e,t,n,s)}));else if((0,r.isPlainObject)(e))for(const r in e)kn(e[r],t,n,s);return e}function On(e,t){if(null===jt)return e;const n=Lo(jt)||jt.proxy,s=e.dirs||(e.dirs=[]);for(let e=0;e<t.length;e++){let[o,i,a,l=r.EMPTY_OBJ]=t[e];o&&((0,r.isFunction)(o)&&(o={mounted:o,updated:o}),o.deep&&kn(i),s.push({dir:o,instance:n,value:i,oldValue:void 0,arg:a,modifiers:l}))}return e}function Nn(e,t,n,r){const s=e.dirs,o=t&&t.dirs;for(let i=0;i<s.length;i++){const a=s[i];o&&(a.oldValue=o[i].value);let l=a.dir[r];l&&(b(),at(l,n,8,[e.el,a,e,t]),S())}}const Cn=Symbol("_leaveCb"),xn=Symbol("_enterCb");function In(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return nr((()=>{e.isMounted=!0})),or((()=>{e.isUnmounting=!0})),e}const An=[Function,Array],Rn={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:An,onEnter:An,onAfterEnter:An,onEnterCancelled:An,onBeforeLeave:An,onLeave:An,onAfterLeave:An,onLeaveCancelled:An,onBeforeAppear:An,onAppear:An,onAfterAppear:An,onAppearCancelled:An},Ln={name:"BaseTransition",props:Rn,setup(e,{slots:t}){const n=yo(),r=In();let s;return()=>{const o=t.default&&Bn(t.default(),!0);if(!o||!o.length)return;let i=o[0];if(o.length>1){let e=!1;for(const t of o)if(t.type!==Fs){i=t,e=!0;break}}const a=Ce(e),{mode:l}=a;if(r.isLeaving)return Pn(i);const c=Fn(i);if(!c)return Pn(i);const u=Dn(c,a,r,n);Un(c,u);const d=n.subTree,p=d&&Fn(d);let h=!1;const{getTransitionKey:f}=c.type;if(f){const e=f();void 0===s?s=e:e!==s&&(s=e,h=!0)}if(p&&p.type!==Fs&&(!Ks(c,p)||h)){const e=Dn(p,a,r,n);if(Un(p,e),"out-in"===l)return r.isLeaving=!0,e.afterLeave=()=>{r.isLeaving=!1,!1!==n.update.active&&(n.effect.dirty=!0,n.update())},Pn(i);"in-out"===l&&c.type!==Fs&&(e.delayLeave=(e,t,n)=>{Mn(r,p)[String(p.key)]=p,e[Cn]=()=>{t(),e[Cn]=void 0,delete u.delayedLeave},u.delayedLeave=n})}return i}}};function Mn(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function Dn(e,t,n,s){const{appear:o,mode:i,persisted:a=!1,onBeforeEnter:l,onEnter:c,onAfterEnter:u,onEnterCancelled:d,onBeforeLeave:p,onLeave:h,onAfterLeave:f,onLeaveCancelled:_,onBeforeAppear:m,onAppear:g,onAfterAppear:y,onAppearCancelled:v}=t,E=String(e.key),b=Mn(n,e),S=(e,t)=>{e&&at(e,s,9,t)},T=(e,t)=>{const n=t[1];S(e,t),(0,r.isArray)(e)?e.every((e=>e.length<=1))&&n():e.length<=1&&n()},w={mode:i,persisted:a,beforeEnter(t){let r=l;if(!n.isMounted){if(!o)return;r=m||l}t[Cn]&&t[Cn](!0);const s=b[E];s&&Ks(e,s)&&s.el[Cn]&&s.el[Cn](),S(r,[t])},enter(e){let t=c,r=u,s=d;if(!n.isMounted){if(!o)return;t=g||c,r=y||u,s=v||d}let i=!1;const a=e[xn]=t=>{i||(i=!0,S(t?s:r,[e]),w.delayedLeave&&w.delayedLeave(),e[xn]=void 0)};t?T(t,[e,a]):a()},leave(t,r){const s=String(e.key);if(t[xn]&&t[xn](!0),n.isUnmounting)return r();S(p,[t]);let o=!1;const i=t[Cn]=n=>{o||(o=!0,r(),S(n?_:f,[t]),t[Cn]=void 0,b[s]===e&&delete b[s])};b[s]=e,h?T(h,[t,i]):i()},clone:e=>Dn(e,t,n,s)};return w}function Pn(e){if(Hn(e))return(e=so(e)).children=null,e}function Fn(e){return Hn(e)?e.children?e.children[0]:void 0:e}function Un(e,t){6&e.shapeFlag&&e.component?Un(e.component.subTree,t):128&e.shapeFlag?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Bn(e,t=!1,n){let r=[],s=0;for(let o=0;o<e.length;o++){let i=e[o];const a=null==n?i.key:String(n)+String(null!=i.key?i.key:o);i.type===Ds?(128&i.patchFlag&&s++,r=r.concat(Bn(i.children,t,a))):(t||i.type!==Fs)&&r.push(null!=a?so(i,{key:a}):i)}if(s>1)for(let e=0;e<r.length;e++)r[e].patchFlag=-2;return r}function jn(e,t){return(0,r.isFunction)(e)?(()=>(0,r.extend)({name:e.name},t,{setup:e}))():e}const Vn=e=>!!e.type.__asyncLoader;function $n(e){(0,r.isFunction)(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:s,delay:o=200,timeout:i,suspensible:a=!0,onError:l}=e;let c,u=null,d=0;const p=()=>{let e;return u||(e=u=t().catch((e=>{if(e=e instanceof Error?e:new Error(String(e)),l)return new Promise(((t,n)=>{l(e,(()=>t((d++,u=null,p()))),(()=>n(e)),d+1)}));throw e})).then((t=>e!==u&&u?u:(t&&(t.__esModule||"Module"===t[Symbol.toStringTag])&&(t=t.default),c=t,t))))};return jn({name:"AsyncComponentWrapper",__asyncLoader:p,get __asyncResolved(){return c},setup(){const e=go;if(c)return()=>Gn(c,e);const t=t=>{u=null,lt(t,e,13,!s)};if(a&&e.suspense||Oo)return p().then((t=>()=>Gn(t,e))).catch((e=>(t(e),()=>s?no(s,{error:e}):null)));const r=Pe(!1),l=Pe(),d=Pe(!!o);return o&&setTimeout((()=>{d.value=!1}),o),null!=i&&setTimeout((()=>{if(!r.value&&!l.value){const e=new Error(`Async component timed out after ${i}ms.`);t(e),l.value=e}}),i),p().then((()=>{r.value=!0,e.parent&&Hn(e.parent.vnode)&&(e.parent.effect.dirty=!0,vt(e.parent.update))})).catch((e=>{t(e),l.value=e})),()=>r.value&&c?Gn(c,e):l.value&&s?no(s,{error:l.value}):n&&!d.value?no(n):void 0}})}function Gn(e,t){const{ref:n,props:r,children:s,ce:o}=t.vnode,i=no(e,r,s);return i.ref=n,i.ce=o,delete t.vnode.ce,i}const Hn=e=>e.type.__isKeepAlive,zn={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=yo(),s=n.ctx;if(!s.renderer)return()=>{const e=t.default&&t.default();return e&&1===e.length?e[0]:e};const o=new Map,i=new Set;let a=null;__VUE_PROD_DEVTOOLS__&&(n.__v_cache=o);const l=n.suspense,{renderer:{p:c,m:u,um:d,o:{createElement:p}}}=s,h=p("div");function f(e){Jn(e),d(e,n,l,!0)}function _(e){o.forEach(((t,n)=>{const r=Po(t.type);!r||e&&e(r)||m(n)}))}function m(e){const t=o.get(e);a&&Ks(t,a)?a&&Jn(a):f(t),o.delete(e),i.delete(e)}s.activate=(e,t,n,s,o)=>{const i=e.component;u(e,t,n,0,l),c(i.vnode,e,t,n,i,l,s,e.slotScopeIds,o),vs((()=>{i.isDeactivated=!1,i.a&&(0,r.invokeArrayFns)(i.a);const t=e.props&&e.props.onVnodeMounted;t&&ho(t,i.parent,e)}),l),__VUE_PROD_DEVTOOLS__&&Rt(i)},s.deactivate=e=>{const t=e.component;u(e,h,null,1,l),vs((()=>{t.da&&(0,r.invokeArrayFns)(t.da);const n=e.props&&e.props.onVnodeUnmounted;n&&ho(n,t.parent,e),t.isDeactivated=!0}),l),__VUE_PROD_DEVTOOLS__&&Rt(t)},bn((()=>[e.include,e.exclude]),(([e,t])=>{e&&_((t=>Yn(e,t))),t&&_((e=>!Yn(t,e)))}),{flush:"post",deep:!0});let g=null;const y=()=>{null!=g&&o.set(g,Zn(n.subTree))};return nr(y),sr(y),or((()=>{o.forEach((e=>{const{subTree:t,suspense:r}=n,s=Zn(t);if(e.type!==s.type||e.key!==s.key)f(e);else{Jn(s);const e=s.component.da;e&&vs(e,r)}}))})),()=>{if(g=null,!t.default)return null;const n=t.default(),r=n[0];if(n.length>1)return a=null,n;if(!qs(r)||!(4&r.shapeFlag||128&r.shapeFlag))return a=null,r;let s=Zn(r);const l=s.type,c=Po(Vn(s)?s.type.__asyncResolved||{}:l),{include:u,exclude:d,max:p}=e;if(u&&(!c||!Yn(u,c))||d&&c&&Yn(d,c))return a=s,r;const h=null==s.key?l:s.key,f=o.get(h);return s.el&&(s=so(s),128&r.shapeFlag&&(r.ssContent=s)),g=h,f?(s.el=f.el,s.component=f.component,s.transition&&Un(s,s.transition),s.shapeFlag|=512,i.delete(h),i.add(h)):(i.add(h),p&&i.size>parseInt(p,10)&&m(i.values().next().value)),s.shapeFlag|=256,a=s,an(r.type)?r:s}}};function Yn(e,t){return(0,r.isArray)(e)?e.some((e=>Yn(e,t))):(0,r.isString)(e)?e.split(",").includes(t):!!(0,r.isRegExp)(e)&&e.test(t)}function Wn(e,t){qn(e,"a",t)}function Xn(e,t){qn(e,"da",t)}function qn(e,t,n=go){const r=e.__wdc||(e.__wdc=()=>{let t=n;for(;t;){if(t.isDeactivated)return;t=t.parent}return e()});if(Qn(t,r,n),n){let e=n.parent;for(;e&&e.parent;)Hn(e.parent.vnode)&&Kn(r,t,n,e),e=e.parent}}function Kn(e,t,n,s){const o=Qn(t,e,s,!0);ir((()=>{(0,r.remove)(s[t],o)}),n)}function Jn(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function Zn(e){return 128&e.shapeFlag?e.ssContent:e}function Qn(e,t,n=go,r=!1){if(n){const s=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...r)=>{if(n.isUnmounted)return;b();const s=bo(n),o=at(t,n,e,r);return s(),S(),o});return r?s.unshift(o):s.push(o),o}}const er=e=>(t,n=go)=>(!Oo||"sp"===e)&&Qn(e,((...e)=>t(...e)),n),tr=er("bm"),nr=er("m"),rr=er("bu"),sr=er("u"),or=er("bum"),ir=er("um"),ar=er("sp"),lr=er("rtg"),cr=er("rtc");function ur(e,t=go){Qn("ec",e,t)}function dr(e,t,n,s){let o;const i=n&&n[s];if((0,r.isArray)(e)||(0,r.isString)(e)){o=new Array(e.length);for(let n=0,r=e.length;n<r;n++)o[n]=t(e[n],n,void 0,i&&i[n])}else if("number"==typeof e){o=new Array(e);for(let n=0;n<e;n++)o[n]=t(n+1,n,void 0,i&&i[n])}else if((0,r.isObject)(e))if(e[Symbol.iterator])o=Array.from(e,((e,n)=>t(e,n,void 0,i&&i[n])));else{const n=Object.keys(e);o=new Array(n.length);for(let r=0,s=n.length;r<s;r++){const s=n[r];o[r]=t(e[s],s,r,i&&i[r])}}else o=[];return n&&(n[s]=o),o}function pr(e,t){for(let n=0;n<t.length;n++){const s=t[n];if((0,r.isArray)(s))for(let t=0;t<s.length;t++)e[s[t].name]=s[t].fn;else s&&(e[s.name]=s.key?(...e)=>{const t=s.fn(...e);return t&&(t.key=s.key),t}:s.fn)}return e}function hr(e,t,n={},r,s){if(jt.isCE||jt.parent&&Vn(jt.parent)&&jt.parent.isCE)return"default"!==t&&(n.name=t),no("slot",n,r&&r());let o=e[t];o&&o._c&&(o._d=!1),Vs();const i=o&&fr(o(n)),a=Xs(Ds,{key:n.key||i&&i.key||`_${t}`},i||(r?r():[]),i&&1===e._?64:-2);return!s&&a.scopeId&&(a.slotScopeIds=[a.scopeId+"-s"]),o&&o._c&&(o._d=!0),a}function fr(e){return e.some((e=>!qs(e)||e.type!==Fs&&!(e.type===Ds&&!fr(e.children))))?e:null}function _r(e,t){const n={};for(const s in e)n[t&&/[A-Z]/.test(s)?`on:${s}`:(0,r.toHandlerKey)(s)]=e[s];return n}const mr=e=>e?To(e)?Lo(e)||e.proxy:mr(e.parent):null,gr=(0,r.extend)(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>mr(e.parent),$root:e=>mr(e.root),$emit:e=>e.emit,$options:e=>__VUE_OPTIONS_API__?Br(e):e.type,$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,vt(e.update)}),$nextTick:e=>e.n||(e.n=yt.bind(e.proxy)),$watch:e=>__VUE_OPTIONS_API__?Tn.bind(e):r.NOOP}),yr=(e,t)=>e!==r.EMPTY_OBJ&&!e.__isScriptSetup&&(0,r.hasOwn)(e,t),vr={get({_:e},t){const{ctx:n,setupState:s,data:o,props:i,accessCache:a,type:l,appContext:c}=e;let u;if("$"!==t[0]){const l=a[t];if(void 0!==l)switch(l){case 1:return s[t];case 2:return o[t];case 4:return n[t];case 3:return i[t]}else{if(yr(s,t))return a[t]=1,s[t];if(o!==r.EMPTY_OBJ&&(0,r.hasOwn)(o,t))return a[t]=2,o[t];if((u=e.propsOptions[0])&&(0,r.hasOwn)(u,t))return a[t]=3,i[t];if(n!==r.EMPTY_OBJ&&(0,r.hasOwn)(n,t))return a[t]=4,n[t];__VUE_OPTIONS_API__&&!Pr||(a[t]=0)}}const d=gr[t];let p,h;return d?("$attrs"===t&&L(e,0,t),d(e)):(p=l.__cssModules)&&(p=p[t])?p:n!==r.EMPTY_OBJ&&(0,r.hasOwn)(n,t)?(a[t]=4,n[t]):(h=c.config.globalProperties,(0,r.hasOwn)(h,t)?h[t]:void 0)},set({_:e},t,n){const{data:s,setupState:o,ctx:i}=e;return yr(o,t)?(o[t]=n,!0):s!==r.EMPTY_OBJ&&(0,r.hasOwn)(s,t)?(s[t]=n,!0):!((0,r.hasOwn)(e.props,t)||"$"===t[0]&&t.slice(1)in e||(i[t]=n,0))},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:o,propsOptions:i}},a){let l;return!!n[a]||e!==r.EMPTY_OBJ&&(0,r.hasOwn)(e,a)||yr(t,a)||(l=i[0])&&(0,r.hasOwn)(l,a)||(0,r.hasOwn)(s,a)||(0,r.hasOwn)(gr,a)||(0,r.hasOwn)(o.config.globalProperties,a)},defineProperty(e,t,n){return null!=n.get?e._.accessCache[t]=0:(0,r.hasOwn)(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}},Er=(0,r.extend)({},vr,{get(e,t){if(t!==Symbol.unscopables)return vr.get(e,t,e)},has:(e,t)=>"_"!==t[0]&&!(0,r.isGloballyAllowed)(t)});function br(){return null}function Sr(){return null}function Tr(e){}function wr(e){}function kr(){return null}function Or(){}function Nr(e,t){return null}function Cr(){return Ir().slots}function xr(){return Ir().attrs}function Ir(){const e=yo();return e.setupContext||(e.setupContext=Ro(e))}function Ar(e){return(0,r.isArray)(e)?e.reduce(((e,t)=>(e[t]=null,e)),{}):e}function Rr(e,t){const n=Ar(e);for(const e in t){if(e.startsWith("__skip"))continue;let s=n[e];s?(0,r.isArray)(s)||(0,r.isFunction)(s)?s=n[e]={type:s,default:t[e]}:s.default=t[e]:null===s&&(s=n[e]={default:t[e]}),s&&t[`__skip_${e}`]&&(s.skipFactory=!0)}return n}function Lr(e,t){return e&&t?(0,r.isArray)(e)&&(0,r.isArray)(t)?e.concat(t):(0,r.extend)({},Ar(e),Ar(t)):e||t}function Mr(e,t){const n={};for(const r in e)t.includes(r)||Object.defineProperty(n,r,{enumerable:!0,get:()=>e[r]});return n}function Dr(e){const t=yo();let n=e();return So(),(0,r.isPromise)(n)&&(n=n.catch((e=>{throw bo(t),e}))),[n,()=>bo(t)]}let Pr=!0;function Fr(e,t,n){at((0,r.isArray)(e)?e.map((e=>e.bind(t.proxy))):e.bind(t.proxy),t,n)}function Ur(e,t,n,s){const o=s.includes(".")?wn(n,s):()=>n[s];if((0,r.isString)(e)){const n=t[e];(0,r.isFunction)(n)&&bn(o,n)}else if((0,r.isFunction)(e))bn(o,e.bind(n));else if((0,r.isObject)(e))if((0,r.isArray)(e))e.forEach((e=>Ur(e,t,n,s)));else{const s=(0,r.isFunction)(e.handler)?e.handler.bind(n):t[e.handler];(0,r.isFunction)(s)&&bn(o,s,e)}}function Br(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:o,optionsCache:i,config:{optionMergeStrategies:a}}=e.appContext,l=i.get(t);let c;return l?c=l:o.length||n||s?(c={},o.length&&o.forEach((e=>jr(c,e,a,!0))),jr(c,t,a)):c=t,(0,r.isObject)(t)&&i.set(t,c),c}function jr(e,t,n,r=!1){const{mixins:s,extends:o}=t;o&&jr(e,o,n,!0),s&&s.forEach((t=>jr(e,t,n,!0)));for(const s in t)if(r&&"expose"===s);else{const r=Vr[s]||n&&n[s];e[s]=r?r(e[s],t[s]):t[s]}return e}const Vr={data:$r,props:Yr,emits:Yr,methods:zr,computed:zr,beforeCreate:Hr,created:Hr,beforeMount:Hr,mounted:Hr,beforeUpdate:Hr,updated:Hr,beforeDestroy:Hr,beforeUnmount:Hr,destroyed:Hr,unmounted:Hr,activated:Hr,deactivated:Hr,errorCaptured:Hr,serverPrefetch:Hr,components:zr,directives:zr,watch:function(e,t){if(!e)return t;if(!t)return e;const n=(0,r.extend)(Object.create(null),e);for(const r in t)n[r]=Hr(e[r],t[r]);return n},provide:$r,inject:function(e,t){return zr(Gr(e),Gr(t))}};function $r(e,t){return t?e?function(){return(0,r.extend)((0,r.isFunction)(e)?e.call(this,this):e,(0,r.isFunction)(t)?t.call(this,this):t)}:t:e}function Gr(e){if((0,r.isArray)(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Hr(e,t){return e?[...new Set([].concat(e,t))]:t}function zr(e,t){return e?(0,r.extend)(Object.create(null),e,t):t}function Yr(e,t){return e?(0,r.isArray)(e)&&(0,r.isArray)(t)?[...new Set([...e,...t])]:(0,r.extend)(Object.create(null),Ar(e),Ar(null!=t?t:{})):t}function Wr(){return{app:null,config:{isNativeTag:r.NO,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let Xr=0;function qr(e,t){return function(n,s=null){(0,r.isFunction)(n)||(n=(0,r.extend)({},n)),null==s||(0,r.isObject)(s)||(s=null);const o=Wr(),i=new WeakSet;let a=!1;const l=o.app={_uid:Xr++,_component:n,_props:s,_container:null,_context:o,_instance:null,version:Ho,get config(){return o.config},set config(e){},use:(e,...t)=>(i.has(e)||(e&&(0,r.isFunction)(e.install)?(i.add(e),e.install(l,...t)):(0,r.isFunction)(e)&&(i.add(e),e(l,...t))),l),mixin:e=>(__VUE_OPTIONS_API__&&(o.mixins.includes(e)||o.mixins.push(e)),l),component:(e,t)=>t?(o.components[e]=t,l):o.components[e],directive:(e,t)=>t?(o.directives[e]=t,l):o.directives[e],mount(r,i,c){if(!a){const u=no(n,s);return u.appContext=o,!0===c?c="svg":!1===c&&(c=void 0),i&&t?t(u,r):e(u,r,c),a=!0,l._container=r,r.__vue_app__=l,__VUE_PROD_DEVTOOLS__&&(l._instance=u.component,function(e,t){It("app:init",e,t,{Fragment:Ds,Text:Ps,Comment:Fs,Static:Us})}(l,Ho)),Lo(u.component)||u.component.proxy}},unmount(){a&&(e(null,l._container),__VUE_PROD_DEVTOOLS__&&(l._instance=null,function(e){It("app:unmount",e)}(l)),delete l._container.__vue_app__)},provide:(e,t)=>(o.provides[e]=t,l),runWithContext(e){Kr=l;try{return e()}finally{Kr=null}}};return l}}let Kr=null;function Jr(e,t){if(go){let n=go.provides;const r=go.parent&&go.parent.provides;r===n&&(n=go.provides=Object.create(r)),n[e]=t}}function Zr(e,t,n=!1){const s=go||jt;if(s||Kr){const o=s?null==s.parent?s.vnode.appContext&&s.vnode.appContext.provides:s.parent.provides:Kr._context.provides;if(o&&e in o)return o[e];if(arguments.length>1)return n&&(0,r.isFunction)(t)?t.call(s&&s.proxy):t}}function Qr(){return!!(go||jt||Kr)}function es(e,t,n,s){const[o,i]=e.propsOptions;let a,l=!1;if(t)for(let c in t){if((0,r.isReservedProp)(c))continue;const u=t[c];let d;o&&(0,r.hasOwn)(o,d=(0,r.camelize)(c))?i&&i.includes(d)?(a||(a={}))[d]=u:n[d]=u:Bt(e.emitsOptions,c)||c in s&&u===s[c]||(s[c]=u,l=!0)}if(i){const t=Ce(n),s=a||r.EMPTY_OBJ;for(let a=0;a<i.length;a++){const l=i[a];n[l]=ts(o,t,l,s[l],e,!(0,r.hasOwn)(s,l))}}return l}function ts(e,t,n,s,o,i){const a=e[n];if(null!=a){const e=(0,r.hasOwn)(a,"default");if(e&&void 0===s){const e=a.default;if(a.type!==Function&&!a.skipFactory&&(0,r.isFunction)(e)){const{propsDefaults:r}=o;if(n in r)s=r[n];else{const i=bo(o);s=r[n]=e.call(null,t),i()}}else s=e}a[0]&&(i&&!e?s=!1:!a[1]||""!==s&&s!==(0,r.hyphenate)(n)||(s=!0))}return s}function ns(e,t,n=!1){const s=t.propsCache,o=s.get(e);if(o)return o;const i=e.props,a={},l=[];let c=!1;if(__VUE_OPTIONS_API__&&!(0,r.isFunction)(e)){const s=e=>{c=!0;const[n,s]=ns(e,t,!0);(0,r.extend)(a,n),s&&l.push(...s)};!n&&t.mixins.length&&t.mixins.forEach(s),e.extends&&s(e.extends),e.mixins&&e.mixins.forEach(s)}if(!i&&!c)return(0,r.isObject)(e)&&s.set(e,r.EMPTY_ARR),r.EMPTY_ARR;if((0,r.isArray)(i))for(let e=0;e<i.length;e++){const t=(0,r.camelize)(i[e]);rs(t)&&(a[t]=r.EMPTY_OBJ)}else if(i)for(const e in i){const t=(0,r.camelize)(e);if(rs(t)){const n=i[e],s=a[t]=(0,r.isArray)(n)||(0,r.isFunction)(n)?{type:n}:(0,r.extend)({},n);if(s){const e=is(Boolean,s.type),n=is(String,s.type);s[0]=e>-1,s[1]=n<0||e<n,(e>-1||(0,r.hasOwn)(s,"default"))&&l.push(t)}}}const u=[a,l];return(0,r.isObject)(e)&&s.set(e,u),u}function rs(e){return"$"!==e[0]}function ss(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:null===e?"null":""}function os(e,t){return ss(e)===ss(t)}function is(e,t){return(0,r.isArray)(t)?t.findIndex((t=>os(t,e))):(0,r.isFunction)(t)&&os(t,e)?0:-1}const as=e=>"_"===e[0]||"$stable"===e,ls=e=>(0,r.isArray)(e)?e.map(lo):[lo(e)],cs=(e,t,n)=>{if(t._n)return t;const r=Yt(((...e)=>ls(t(...e))),n);return r._c=!1,r},us=(e,t,n)=>{const s=e._ctx;for(const n in e){if(as(n))continue;const o=e[n];if((0,r.isFunction)(o))t[n]=cs(0,o,s);else if(null!=o){const e=ls(o);t[n]=()=>e}}},ds=(e,t)=>{const n=ls(t);e.slots.default=()=>n},ps=(e,t)=>{if(32&e.vnode.shapeFlag){const n=t._;n?(e.slots=Ce(t),(0,r.def)(t,"_",n)):us(t,e.slots={})}else e.slots={},t&&ds(e,t);(0,r.def)(e.slots,Zs,1)},hs=(e,t,n)=>{const{vnode:s,slots:o}=e;let i=!0,a=r.EMPTY_OBJ;if(32&s.shapeFlag){const e=t._;e?n&&1===e?i=!1:((0,r.extend)(o,t),n||1!==e||delete o._):(i=!t.$stable,us(t,o)),a=t}else t&&(ds(e,t),a={default:1});if(i)for(const e in o)as(e)||null!=a[e]||delete o[e]};function fs(e,t,n,s,o=!1){if((0,r.isArray)(e))return void e.forEach(((e,i)=>fs(e,t&&((0,r.isArray)(t)?t[i]:t),n,s,o)));if(Vn(s)&&!o)return;const i=4&s.shapeFlag?Lo(s.component)||s.component.proxy:s.el,a=o?null:i,{i:l,r:c}=e,u=t&&t.r,d=l.refs===r.EMPTY_OBJ?l.refs={}:l.refs,p=l.setupState;if(null!=u&&u!==c&&((0,r.isString)(u)?(d[u]=null,(0,r.hasOwn)(p,u)&&(p[u]=null)):De(u)&&(u.value=null)),(0,r.isFunction)(c))it(c,l,12,[a,d]);else{const t=(0,r.isString)(c),s=De(c),l=e.f;if(t||s){const u=()=>{if(l){const n=t?(0,r.hasOwn)(p,c)?p[c]:d[c]:c.value;o?(0,r.isArray)(n)&&(0,r.remove)(n,i):(0,r.isArray)(n)?n.includes(i)||n.push(i):t?(d[c]=[i],(0,r.hasOwn)(p,c)&&(p[c]=d[c])):(c.value=[i],e.k&&(d[e.k]=c.value))}else t?(d[c]=a,(0,r.hasOwn)(p,c)&&(p[c]=a)):s&&(c.value=a,e.k&&(d[e.k]=a))};o||l?u():(u.id=-1,vs(u,n))}}}let _s=!1;const ms=e=>(e=>e.namespaceURI.includes("svg")&&"foreignObject"!==e.tagName)(e)?"svg":(e=>e.namespaceURI.includes("MathML"))(e)?"mathml":void 0,gs=e=>8===e.nodeType;function ys(e){const{mt:t,p:n,o:{patchProp:s,createText:o,nextSibling:i,parentNode:a,remove:l,insert:c,createComment:u}}=e,d=(n,r,s,l,u,v=!1)=>{const E=gs(n)&&"["===n.data,b=()=>_(n,r,s,l,u,E),{type:S,ref:T,shapeFlag:w,patchFlag:k}=r;let O=n.nodeType;r.el=n,__VUE_PROD_DEVTOOLS__&&("__vnode"in n||Object.defineProperty(n,"__vnode",{value:r,enumerable:!1}),"__vueParentComponent"in n||Object.defineProperty(n,"__vueParentComponent",{value:s,enumerable:!1})),-2===k&&(v=!1,r.dynamicChildren=null);let N=null;switch(S){case Ps:3!==O?""===r.children?(c(r.el=o(""),a(n),n),N=n):N=b():(n.data!==r.children&&(_s=!0,__VUE_PROD_HYDRATION_MISMATCH_DETAILS__&&tt("Hydration text mismatch in",n.parentNode,`\n - rendered on server: ${JSON.stringify(n.data)}\n - expected on client: ${JSON.stringify(r.children)}`),n.data=r.children),N=i(n));break;case Fs:y(n)?(N=i(n),g(r.el=n.content.firstChild,n,s)):N=8!==O||E?b():i(n);break;case Us:if(E&&(O=(n=i(n)).nodeType),1===O||3===O){N=n;const e=!r.children.length;for(let t=0;t<r.staticCount;t++)e&&(r.children+=1===N.nodeType?N.outerHTML:N.data),t===r.staticCount-1&&(r.anchor=N),N=i(N);return E?i(N):N}b();break;case Ds:N=E?f(n,r,s,l,u,v):b();break;default:if(1&w)N=1===O&&r.type.toLowerCase()===n.tagName.toLowerCase()||y(n)?p(n,r,s,l,u,v):b();else if(6&w){r.slotScopeIds=u;const e=a(n);if(N=E?m(n):gs(n)&&"teleport start"===n.data?m(n,n.data,"teleport end"):i(n),t(r,e,null,s,l,ms(e),v),Vn(r)){let t;E?(t=no(Ds),t.anchor=N?N.previousSibling:e.lastChild):t=3===n.nodeType?oo(""):no("div"),t.el=n,r.component.subTree=t}}else 64&w?N=8!==O?b():r.type.hydrate(n,r,s,l,u,v,e,h):128&w?N=r.type.hydrate(n,r,s,l,ms(a(n)),u,v,e,d):__VUE_PROD_HYDRATION_MISMATCH_DETAILS__&&tt("Invalid HostVNode type:",S,`(${typeof S})`)}return null!=T&&fs(T,null,l,r),N},p=(e,t,n,o,i,a)=>{a=a||!!t.dynamicChildren;const{type:c,props:u,patchFlag:d,shapeFlag:p,dirs:f,transition:_}=t,m="input"===c||"option"===c;if(m||-1!==d){f&&Nn(t,null,n,"created");let c,v=!1;if(y(e)){v=ks(o,_)&&n&&n.vnode.props&&n.vnode.props.appear;const r=e.content.firstChild;v&&_.beforeEnter(r),g(r,e,n),t.el=e=r}if(16&p&&(!u||!u.innerHTML&&!u.textContent)){let r=h(e.firstChild,t,e,n,o,i,a),s=!1;for(;r;){_s=!0,__VUE_PROD_HYDRATION_MISMATCH_DETAILS__&&!s&&(tt("Hydration children mismatch on",e,"\nServer rendered element contains more child nodes than client vdom."),s=!0);const t=r;r=r.nextSibling,l(t)}}else 8&p&&e.textContent!==t.children&&(_s=!0,__VUE_PROD_HYDRATION_MISMATCH_DETAILS__&&tt("Hydration text content mismatch on",e,`\n - rendered on server: ${e.textContent}\n - expected on client: ${t.children}`),e.textContent=t.children);if(u)if(m||!a||48&d)for(const t in u)(m&&(t.endsWith("value")||"indeterminate"===t)||(0,r.isOn)(t)&&!(0,r.isReservedProp)(t)||"."===t[0])&&s(e,t,null,u[t],void 0,void 0,n);else u.onClick&&s(e,"onClick",null,u.onClick,void 0,void 0,n);(c=u&&u.onVnodeBeforeMount)&&ho(c,n,t),f&&Nn(t,null,n,"beforeMount"),((c=u&&u.onVnodeMounted)||f||v)&&hn((()=>{c&&ho(c,n,t),v&&_.enter(e),f&&Nn(t,null,n,"mounted")}),o)}return e.nextSibling},h=(e,t,r,s,o,i,a)=>{a=a||!!t.dynamicChildren;const l=t.children,c=l.length;let u=!1;for(let t=0;t<c;t++){const c=a?l[t]:l[t]=lo(l[t]);if(e)e=d(e,c,s,o,i,a);else{if(c.type===Ps&&!c.children)continue;_s=!0,__VUE_PROD_HYDRATION_MISMATCH_DETAILS__&&!u&&(tt("Hydration children mismatch on",r,"\nServer rendered element contains fewer child nodes than client vdom."),u=!0),n(null,c,r,null,s,o,ms(r),i)}}return e},f=(e,t,n,r,s,o)=>{const{slotScopeIds:l}=t;l&&(s=s?s.concat(l):l);const d=a(e),p=h(i(e),t,d,n,r,s,o);return p&&gs(p)&&"]"===p.data?i(t.anchor=p):(_s=!0,c(t.anchor=u("]"),d,p),p)},_=(e,t,r,s,o,c)=>{if(_s=!0,__VUE_PROD_HYDRATION_MISMATCH_DETAILS__&&tt("Hydration node mismatch:\n- rendered on server:",e,3===e.nodeType?"(text)":gs(e)&&"["===e.data?"(start of fragment)":"","\n- expected on client:",t.type),t.el=null,c){const t=m(e);for(;;){const n=i(e);if(!n||n===t)break;l(n)}}const u=i(e),d=a(e);return l(e),n(null,t,d,u,r,s,ms(d),o),u},m=(e,t="[",n="]")=>{let r=0;for(;e;)if((e=i(e))&&gs(e)&&(e.data===t&&r++,e.data===n)){if(0===r)return i(e);r--}return e},g=(e,t,n)=>{const r=t.parentNode;r&&r.replaceChild(e,t);let s=n;for(;s;)s.vnode.el===t&&(s.vnode.el=s.subTree.el=e),s=s.parent},y=e=>1===e.nodeType&&"template"===e.tagName.toLowerCase();return[(e,t)=>{if(!t.hasChildNodes())return __VUE_PROD_HYDRATION_MISMATCH_DETAILS__&&tt("Attempting to hydrate existing markup but container is empty. Performing full mount instead."),n(null,e,t),Tt(),void(t._vnode=e);_s=!1,d(t.firstChild,e,null,null,null),Tt(),t._vnode=e,_s&&console.error("Hydration completed but contains mismatches.")},d]}const vs=hn;function Es(e){return Ss(e)}function bs(e){return Ss(e,ys)}function Ss(e,t){"boolean"!=typeof __VUE_OPTIONS_API__&&((0,r.getGlobalThis)().__VUE_OPTIONS_API__=!0),"boolean"!=typeof __VUE_PROD_DEVTOOLS__&&((0,r.getGlobalThis)().__VUE_PROD_DEVTOOLS__=!1),"boolean"!=typeof __VUE_PROD_HYDRATION_MISMATCH_DETAILS__&&((0,r.getGlobalThis)().__VUE_PROD_HYDRATION_MISMATCH_DETAILS__=!1);const n=(0,r.getGlobalThis)();n.__VUE__=!0,__VUE_PROD_DEVTOOLS__&&At(n.__VUE_DEVTOOLS_GLOBAL_HOOK__,n);const{insert:s,remove:o,patchProp:i,createElement:a,createText:l,createComment:c,setText:u,setElementText:p,parentNode:h,nextSibling:f,setScopeId:_=r.NOOP,insertStaticContent:m}=e,g=(e,t,n,r=null,s=null,o=null,i=void 0,a=null,l=!!t.dynamicChildren)=>{if(e===t)return;e&&!Ks(e,t)&&(r=Y(e),V(e,s,o,!0),e=null),-2===t.patchFlag&&(l=!1,t.dynamicChildren=null);const{type:c,ref:u,shapeFlag:d}=t;switch(c){case Ps:y(e,t,n,r);break;case Fs:v(e,t,n,r);break;case Us:null==e&&E(t,n,r,i);break;case Ds:I(e,t,n,r,s,o,i,a,l);break;default:1&d?T(e,t,n,r,s,o,i,a,l):6&d?A(e,t,n,r,s,o,i,a,l):(64&d||128&d)&&c.process(e,t,n,r,s,o,i,a,l,q)}null!=u&&s&&fs(u,e&&e.ref,o,t||e,!t)},y=(e,t,n,r)=>{if(null==e)s(t.el=l(t.children),n,r);else{const n=t.el=e.el;t.children!==e.children&&u(n,t.children)}},v=(e,t,n,r)=>{null==e?s(t.el=c(t.children||""),n,r):t.el=e.el},E=(e,t,n,r)=>{[e.el,e.anchor]=m(e.children,t,n,r,e.el,e.anchor)},T=(e,t,n,r,s,o,i,a,l)=>{"svg"===t.type?i="svg":"math"===t.type&&(i="mathml"),null==e?w(t,n,r,s,o,i,a,l):N(e,t,s,o,i,a,l)},w=(e,t,n,o,l,c,u,d)=>{let h,f;const{props:_,shapeFlag:m,transition:g,dirs:y}=e;if(h=e.el=a(e.type,c,_&&_.is,_),8&m?p(h,e.children):16&m&&O(e.children,h,null,o,l,Ts(e,c),u,d),y&&Nn(e,null,o,"created"),k(h,e,e.scopeId,u,o),_){for(const t in _)"value"===t||(0,r.isReservedProp)(t)||i(h,t,null,_[t],c,e.children,o,l,z);"value"in _&&i(h,"value",null,_.value,c),(f=_.onVnodeBeforeMount)&&ho(f,o,e)}__VUE_PROD_DEVTOOLS__&&(Object.defineProperty(h,"__vnode",{value:e,enumerable:!1}),Object.defineProperty(h,"__vueParentComponent",{value:o,enumerable:!1})),y&&Nn(e,null,o,"beforeMount");const v=ks(l,g);v&&g.beforeEnter(h),s(h,t,n),((f=_&&_.onVnodeMounted)||v||y)&&vs((()=>{f&&ho(f,o,e),v&&g.enter(h),y&&Nn(e,null,o,"mounted")}),l)},k=(e,t,n,r,s)=>{if(n&&_(e,n),r)for(let t=0;t<r.length;t++)_(e,r[t]);if(s&&t===s.subTree){const t=s.vnode;k(e,t,t.scopeId,t.slotScopeIds,s.parent)}},O=(e,t,n,r,s,o,i,a,l=0)=>{for(let c=l;c<e.length;c++){const l=e[c]=a?co(e[c]):lo(e[c]);g(null,l,t,n,r,s,o,i,a)}},N=(e,t,n,s,o,a,l)=>{const c=t.el=e.el;let{patchFlag:u,dynamicChildren:d,dirs:h}=t;u|=16&e.patchFlag;const f=e.props||r.EMPTY_OBJ,_=t.props||r.EMPTY_OBJ;let m;if(n&&ws(n,!1),(m=_.onVnodeBeforeUpdate)&&ho(m,n,t,e),h&&Nn(t,e,n,"beforeUpdate"),n&&ws(n,!0),d?C(e.dynamicChildren,d,c,n,s,Ts(t,o),a):l||F(e,t,c,null,n,s,Ts(t,o),a,!1),u>0){if(16&u)x(c,t,f,_,n,s,o);else if(2&u&&f.class!==_.class&&i(c,"class",null,_.class,o),4&u&&i(c,"style",f.style,_.style,o),8&u){const r=t.dynamicProps;for(let t=0;t<r.length;t++){const a=r[t],l=f[a],u=_[a];u===l&&"value"!==a||i(c,a,l,u,o,e.children,n,s,z)}}1&u&&e.children!==t.children&&p(c,t.children)}else l||null!=d||x(c,t,f,_,n,s,o);((m=_.onVnodeUpdated)||h)&&vs((()=>{m&&ho(m,n,t,e),h&&Nn(t,e,n,"updated")}),s)},C=(e,t,n,r,s,o,i)=>{for(let a=0;a<t.length;a++){const l=e[a],c=t[a],u=l.el&&(l.type===Ds||!Ks(l,c)||70&l.shapeFlag)?h(l.el):n;g(l,c,u,null,r,s,o,i,!0)}},x=(e,t,n,s,o,a,l)=>{if(n!==s){if(n!==r.EMPTY_OBJ)for(const c in n)(0,r.isReservedProp)(c)||c in s||i(e,c,n[c],null,l,t.children,o,a,z);for(const c in s){if((0,r.isReservedProp)(c))continue;const u=s[c],d=n[c];u!==d&&"value"!==c&&i(e,c,d,u,l,t.children,o,a,z)}"value"in s&&i(e,"value",n.value,s.value,l)}},I=(e,t,n,r,o,i,a,c,u)=>{const d=t.el=e?e.el:l(""),p=t.anchor=e?e.anchor:l("");let{patchFlag:h,dynamicChildren:f,slotScopeIds:_}=t;_&&(c=c?c.concat(_):_),null==e?(s(d,n,r),s(p,n,r),O(t.children||[],n,p,o,i,a,c,u)):h>0&&64&h&&f&&e.dynamicChildren?(C(e.dynamicChildren,f,n,o,i,a,c),(null!=t.key||o&&t===o.subTree)&&Os(e,t,!0)):F(e,t,n,p,o,i,a,c,u)},A=(e,t,n,r,s,o,i,a,l)=>{t.slotScopeIds=a,null==e?512&t.shapeFlag?s.ctx.activate(t,n,r,i,l):R(t,n,r,s,o,i,l):L(e,t,l)},R=(e,t,n,r,s,o,i)=>{const a=e.component=mo(e,r,s);if(Hn(e)&&(a.ctx.renderer=q),No(a),a.asyncDep){if(s&&s.registerDep(a,D),!e.el){const e=a.subTree=no(Fs);v(null,e,t,n)}}else D(a,e,t,n,s,o,i)},L=(e,t,n)=>{const r=t.component=e.component;if(function(e,t,n){const{props:r,children:s,component:o}=e,{props:i,children:a,patchFlag:l}=t,c=o.emitsOptions;if(t.dirs||t.transition)return!0;if(!(n&&l>=0))return!(!s&&!a||a&&a.$stable)||r!==i&&(r?!i||Kt(r,i,c):!!i);if(1024&l)return!0;if(16&l)return r?Kt(r,i,c):!!i;if(8&l){const e=t.dynamicProps;for(let t=0;t<e.length;t++){const n=e[t];if(i[n]!==r[n]&&!Bt(c,n))return!0}}return!1}(e,t,n)){if(r.asyncDep&&!r.asyncResolved)return void P(r,t,n);r.next=t,function(e){const t=dt.indexOf(e);t>pt&&dt.splice(t,1)}(r.update),r.effect.dirty=!0,r.update()}else t.el=e.el,r.vnode=t},D=(e,t,n,s,o,i,a)=>{const l=()=>{if(e.isMounted){let{next:t,bu:n,u:s,parent:c,vnode:u}=e;{const n=Ns(e);if(n)return t&&(t.el=u.el,P(e,t,a)),void n.asyncDep.then((()=>{e.isUnmounted||l()}))}let d,p=t;ws(e,!1),t?(t.el=u.el,P(e,t,a)):t=u,n&&(0,r.invokeArrayFns)(n),(d=t.props&&t.props.onVnodeBeforeUpdate)&&ho(d,c,t,u),ws(e,!0);const f=Wt(e),_=e.subTree;e.subTree=f,g(_,f,h(_.el),Y(_),e,o,i),t.el=f.el,null===p&&Jt(e,f.el),s&&vs(s,o),(d=t.props&&t.props.onVnodeUpdated)&&vs((()=>ho(d,c,t,u)),o),__VUE_PROD_DEVTOOLS__&&Lt(e)}else{let a;const{el:l,props:c}=t,{bm:u,m:d,parent:p}=e,h=Vn(t);if(ws(e,!1),u&&(0,r.invokeArrayFns)(u),!h&&(a=c&&c.onVnodeBeforeMount)&&ho(a,p,t),ws(e,!0),l&&J){const n=()=>{e.subTree=Wt(e),J(l,e.subTree,e,o,null)};h?t.type.__asyncLoader().then((()=>!e.isUnmounted&&n())):n()}else{const r=e.subTree=Wt(e);g(null,r,n,s,e,o,i),t.el=r.el}if(d&&vs(d,o),!h&&(a=c&&c.onVnodeMounted)){const e=t;vs((()=>ho(a,p,e)),o)}(256&t.shapeFlag||p&&Vn(p.vnode)&&256&p.vnode.shapeFlag)&&e.a&&vs(e.a,o),e.isMounted=!0,__VUE_PROD_DEVTOOLS__&&Rt(e),t=n=s=null}},c=e.effect=new d(l,r.NOOP,(()=>vt(u)),e.scope),u=e.update=()=>{c.dirty&&c.run()};u.id=e.uid,ws(e,!0),u()},P=(e,t,n)=>{t.component=e;const s=e.vnode.props;e.vnode=t,e.next=null,function(e,t,n,s){const{props:o,attrs:i,vnode:{patchFlag:a}}=e,l=Ce(o),[c]=e.propsOptions;let u=!1;if(!(s||a>0)||16&a){let s;es(e,t,o,i)&&(u=!0);for(const i in l)t&&((0,r.hasOwn)(t,i)||(s=(0,r.hyphenate)(i))!==i&&(0,r.hasOwn)(t,s))||(c?!n||void 0===n[i]&&void 0===n[s]||(o[i]=ts(c,l,i,void 0,e,!0)):delete o[i]);if(i!==l)for(const e in i)t&&(0,r.hasOwn)(t,e)||(delete i[e],u=!0)}else if(8&a){const n=e.vnode.dynamicProps;for(let s=0;s<n.length;s++){let a=n[s];if(Bt(e.emitsOptions,a))continue;const d=t[a];if(c)if((0,r.hasOwn)(i,a))d!==i[a]&&(i[a]=d,u=!0);else{const t=(0,r.camelize)(a);o[t]=ts(c,l,t,d,e,!1)}else d!==i[a]&&(i[a]=d,u=!0)}}u&&M(e,"set","$attrs")}(e,t.props,s,n),hs(e,t.children,n),b(),St(e),S()},F=(e,t,n,r,s,o,i,a,l=!1)=>{const c=e&&e.children,u=e?e.shapeFlag:0,d=t.children,{patchFlag:h,shapeFlag:f}=t;if(h>0){if(128&h)return void B(c,d,n,r,s,o,i,a,l);if(256&h)return void U(c,d,n,r,s,o,i,a,l)}8&f?(16&u&&z(c,s,o),d!==c&&p(n,d)):16&u?16&f?B(c,d,n,r,s,o,i,a,l):z(c,s,o,!0):(8&u&&p(n,""),16&f&&O(d,n,r,s,o,i,a,l))},U=(e,t,n,s,o,i,a,l,c)=>{e=e||r.EMPTY_ARR,t=t||r.EMPTY_ARR;const u=e.length,d=t.length,p=Math.min(u,d);let h;for(h=0;h<p;h++){const r=t[h]=c?co(t[h]):lo(t[h]);g(e[h],r,n,null,o,i,a,l,c)}u>d?z(e,o,i,!0,!1,p):O(t,n,s,o,i,a,l,c,p)},B=(e,t,n,s,o,i,a,l,c)=>{let u=0;const d=t.length;let p=e.length-1,h=d-1;for(;u<=p&&u<=h;){const r=e[u],s=t[u]=c?co(t[u]):lo(t[u]);if(!Ks(r,s))break;g(r,s,n,null,o,i,a,l,c),u++}for(;u<=p&&u<=h;){const r=e[p],s=t[h]=c?co(t[h]):lo(t[h]);if(!Ks(r,s))break;g(r,s,n,null,o,i,a,l,c),p--,h--}if(u>p){if(u<=h){const e=h+1,r=e<d?t[e].el:s;for(;u<=h;)g(null,t[u]=c?co(t[u]):lo(t[u]),n,r,o,i,a,l,c),u++}}else if(u>h)for(;u<=p;)V(e[u],o,i,!0),u++;else{const f=u,_=u,m=new Map;for(u=_;u<=h;u++){const e=t[u]=c?co(t[u]):lo(t[u]);null!=e.key&&m.set(e.key,u)}let y,v=0;const E=h-_+1;let b=!1,S=0;const T=new Array(E);for(u=0;u<E;u++)T[u]=0;for(u=f;u<=p;u++){const r=e[u];if(v>=E){V(r,o,i,!0);continue}let s;if(null!=r.key)s=m.get(r.key);else for(y=_;y<=h;y++)if(0===T[y-_]&&Ks(r,t[y])){s=y;break}void 0===s?V(r,o,i,!0):(T[s-_]=u+1,s>=S?S=s:b=!0,g(r,t[s],n,null,o,i,a,l,c),v++)}const w=b?function(e){const t=e.slice(),n=[0];let r,s,o,i,a;const l=e.length;for(r=0;r<l;r++){const l=e[r];if(0!==l){if(s=n[n.length-1],e[s]<l){t[r]=s,n.push(r);continue}for(o=0,i=n.length-1;o<i;)a=o+i>>1,e[n[a]]<l?o=a+1:i=a;l<e[n[o]]&&(o>0&&(t[r]=n[o-1]),n[o]=r)}}for(o=n.length,i=n[o-1];o-- >0;)n[o]=i,i=t[i];return n}(T):r.EMPTY_ARR;for(y=w.length-1,u=E-1;u>=0;u--){const e=_+u,r=t[e],p=e+1<d?t[e+1].el:s;0===T[u]?g(null,r,n,p,o,i,a,l,c):b&&(y<0||u!==w[y]?j(r,n,p,2):y--)}}},j=(e,t,n,r,o=null)=>{const{el:i,type:a,transition:l,children:c,shapeFlag:u}=e;if(6&u)j(e.component.subTree,t,n,r);else if(128&u)e.suspense.move(t,n,r);else if(64&u)a.move(e,t,n,q);else if(a!==Ds)if(a!==Us)if(2!==r&&1&u&&l)if(0===r)l.beforeEnter(i),s(i,t,n),vs((()=>l.enter(i)),o);else{const{leave:e,delayLeave:r,afterLeave:o}=l,a=()=>s(i,t,n),c=()=>{e(i,(()=>{a(),o&&o()}))};r?r(i,a,c):c()}else s(i,t,n);else(({el:e,anchor:t},n,r)=>{let o;for(;e&&e!==t;)o=f(e),s(e,n,r),e=o;s(t,n,r)})(e,t,n);else{s(i,t,n);for(let e=0;e<c.length;e++)j(c[e],t,n,r);s(e.anchor,t,n)}},V=(e,t,n,r=!1,s=!1)=>{const{type:o,props:i,ref:a,children:l,dynamicChildren:c,shapeFlag:u,patchFlag:d,dirs:p}=e;if(null!=a&&fs(a,null,n,e,!0),256&u)return void t.ctx.deactivate(e);const h=1&u&&p,f=!Vn(e);let _;if(f&&(_=i&&i.onVnodeBeforeUnmount)&&ho(_,t,e),6&u)H(e.component,n,r);else{if(128&u)return void e.suspense.unmount(n,r);h&&Nn(e,null,t,"beforeUnmount"),64&u?e.type.remove(e,t,n,s,q,r):c&&(o!==Ds||d>0&&64&d)?z(c,t,n,!1,!0):(o===Ds&&384&d||!s&&16&u)&&z(l,t,n),r&&$(e)}(f&&(_=i&&i.onVnodeUnmounted)||h)&&vs((()=>{_&&ho(_,t,e),h&&Nn(e,null,t,"unmounted")}),n)},$=e=>{const{type:t,el:n,anchor:r,transition:s}=e;if(t===Ds)return void G(n,r);if(t===Us)return void(({el:e,anchor:t})=>{let n;for(;e&&e!==t;)n=f(e),o(e),e=n;o(t)})(e);const i=()=>{o(n),s&&!s.persisted&&s.afterLeave&&s.afterLeave()};if(1&e.shapeFlag&&s&&!s.persisted){const{leave:t,delayLeave:r}=s,o=()=>t(n,i);r?r(e.el,i,o):o()}else i()},G=(e,t)=>{let n;for(;e!==t;)n=f(e),o(e),e=n;o(t)},H=(e,t,n)=>{const{bum:s,scope:o,update:i,subTree:a,um:l}=e;s&&(0,r.invokeArrayFns)(s),o.stop(),i&&(i.active=!1,V(a,e,t,n)),l&&vs(l,t),vs((()=>{e.isUnmounted=!0}),t),t&&t.pendingBranch&&!t.isUnmounted&&e.asyncDep&&!e.asyncResolved&&e.suspenseId===t.pendingId&&(t.deps--,0===t.deps&&t.resolve()),__VUE_PROD_DEVTOOLS__&&Dt(e)},z=(e,t,n,r=!1,s=!1,o=0)=>{for(let i=o;i<e.length;i++)V(e[i],t,n,r,s)},Y=e=>6&e.shapeFlag?Y(e.component.subTree):128&e.shapeFlag?e.suspense.next():f(e.anchor||e.el);let W=!1;const X=(e,t,n)=>{null==e?t._vnode&&V(t._vnode,null,null,!0):g(t._vnode||null,e,t,null,null,null,n),W||(W=!0,St(),Tt(),W=!1),t._vnode=e},q={p:g,um:V,m:j,r:$,mt:R,mc:O,pc:F,pbc:C,n:Y,o:e};let K,J;return t&&([K,J]=t(q)),{render:X,hydrate:K,createApp:qr(X,K)}}function Ts({type:e,props:t},n){return"svg"===n&&"foreignObject"===e||"mathml"===n&&"annotation-xml"===e&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function ws({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function ks(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Os(e,t,n=!1){const s=e.children,o=t.children;if((0,r.isArray)(s)&&(0,r.isArray)(o))for(let e=0;e<s.length;e++){const t=s[e];let r=o[e];1&r.shapeFlag&&!r.dynamicChildren&&((r.patchFlag<=0||32===r.patchFlag)&&(r=o[e]=co(o[e]),r.el=t.el),n||Os(t,r)),r.type===Ps&&(r.el=t.el)}}function Ns(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Ns(t)}const Cs=e=>e&&(e.disabled||""===e.disabled),xs=e=>"undefined"!=typeof SVGElement&&e instanceof SVGElement,Is=e=>"function"==typeof MathMLElement&&e instanceof MathMLElement,As=(e,t)=>{const n=e&&e.to;if((0,r.isString)(n)){if(t){return t(n)}return null}return n};function Rs(e,t,n,{o:{insert:r},m:s},o=2){0===o&&r(e.targetAnchor,t,n);const{el:i,anchor:a,shapeFlag:l,children:c,props:u}=e,d=2===o;if(d&&r(i,t,n),(!d||Cs(u))&&16&l)for(let e=0;e<c.length;e++)s(c[e],t,n,2);d&&r(a,t,n)}const Ls={name:"Teleport",__isTeleport:!0,process(e,t,n,r,s,o,i,a,l,c){const{mc:u,pc:d,pbc:p,o:{insert:h,querySelector:f,createText:_,createComment:m}}=c,g=Cs(t.props);let{shapeFlag:y,children:v,dynamicChildren:E}=t;if(null==e){const e=t.el=_(""),c=t.anchor=_("");h(e,n,r),h(c,n,r);const d=t.target=As(t.props,f),p=t.targetAnchor=_("");d&&(h(p,d),"svg"===i||xs(d)?i="svg":("mathml"===i||Is(d))&&(i="mathml"));const m=(e,t)=>{16&y&&u(v,e,t,s,o,i,a,l)};g?m(n,c):d&&m(d,p)}else{t.el=e.el;const r=t.anchor=e.anchor,u=t.target=e.target,h=t.targetAnchor=e.targetAnchor,_=Cs(e.props),m=_?n:u,y=_?r:h;if("svg"===i||xs(u)?i="svg":("mathml"===i||Is(u))&&(i="mathml"),E?(p(e.dynamicChildren,E,m,s,o,i,a),Os(e,t,!0)):l||d(e,t,m,y,s,o,i,a,!1),g)_?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):Rs(t,n,r,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const e=t.target=As(t.props,f);e&&Rs(t,e,null,c,0)}else _&&Rs(t,u,h,c,1)}Ms(t)},remove(e,t,n,r,{um:s,o:{remove:o}},i){const{shapeFlag:a,children:l,anchor:c,targetAnchor:u,target:d,props:p}=e;if(d&&o(u),i&&o(c),16&a){const e=i||!Cs(p);for(let r=0;r<l.length;r++){const o=l[r];s(o,t,n,e,!!o.dynamicChildren)}}},move:Rs,hydrate:function(e,t,n,r,s,o,{o:{nextSibling:i,parentNode:a,querySelector:l}},c){const u=t.target=As(t.props,l);if(u){const l=u._lpa||u.firstChild;if(16&t.shapeFlag)if(Cs(t.props))t.anchor=c(i(e),t,a(e),n,r,s,o),t.targetAnchor=l;else{t.anchor=i(e);let a=l;for(;a;)if(a=i(a),a&&8===a.nodeType&&"teleport anchor"===a.data){t.targetAnchor=a,u._lpa=t.targetAnchor&&i(t.targetAnchor);break}c(l,t,u,n,r,s,o)}Ms(t)}return t.anchor&&i(t.anchor)}};function Ms(e){const t=e.ctx;if(t&&t.ut){let n=e.children[0].el;for(;n&&n!==e.targetAnchor;)1===n.nodeType&&n.setAttribute("data-v-owner",t.uid),n=n.nextSibling;t.ut()}}const Ds=Symbol.for("v-fgt"),Ps=Symbol.for("v-txt"),Fs=Symbol.for("v-cmt"),Us=Symbol.for("v-stc"),Bs=[];let js=null;function Vs(e=!1){Bs.push(js=e?null:[])}function $s(){Bs.pop(),js=Bs[Bs.length-1]||null}let Gs,Hs=1;function zs(e){Hs+=e}function Ys(e){return e.dynamicChildren=Hs>0?js||r.EMPTY_ARR:null,$s(),Hs>0&&js&&js.push(e),e}function Ws(e,t,n,r,s,o){return Ys(to(e,t,n,r,s,o,!0))}function Xs(e,t,n,r,s){return Ys(no(e,t,n,r,s,!0))}function qs(e){return!!e&&!0===e.__v_isVNode}function Ks(e,t){return e.type===t.type&&e.key===t.key}function Js(e){Gs=e}const Zs="__vInternal",Qs=({key:e})=>null!=e?e:null,eo=({ref:e,ref_key:t,ref_for:n})=>("number"==typeof e&&(e=""+e),null!=e?(0,r.isString)(e)||De(e)||(0,r.isFunction)(e)?{i:jt,r:e,k:t,f:!!n}:e:null);function to(e,t=null,n=null,s=0,o=null,i=(e===Ds?0:1),a=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Qs(t),ref:t&&eo(t),scopeId:Vt,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:s,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:jt};return l?(uo(c,n),128&i&&e.normalize(c)):n&&(c.shapeFlag|=(0,r.isString)(n)?8:16),Hs>0&&!a&&js&&(c.patchFlag>0||6&i)&&32!==c.patchFlag&&js.push(c),c}const no=function(e,t=null,n=null,s=0,o=null,i=!1){if(e&&e!==tn||(e=Fs),qs(e)){const r=so(e,t,!0);return n&&uo(r,n),Hs>0&&!i&&js&&(6&r.shapeFlag?js[js.indexOf(e)]=r:js.push(r)),r.patchFlag|=-2,r}if(a=e,(0,r.isFunction)(a)&&"__vccOpts"in a&&(e=e.__vccOpts),t){t=ro(t);let{class:e,style:n}=t;e&&!(0,r.isString)(e)&&(t.class=(0,r.normalizeClass)(e)),(0,r.isObject)(n)&&(Ne(n)&&!(0,r.isArray)(n)&&(n=(0,r.extend)({},n)),t.style=(0,r.normalizeStyle)(n))}var a;return to(e,t,n,s,o,(0,r.isString)(e)?1:an(e)?128:(e=>e.__isTeleport)(e)?64:(0,r.isObject)(e)?4:(0,r.isFunction)(e)?2:0,i,!0)};function ro(e){return e?Ne(e)||Zs in e?(0,r.extend)({},e):e:null}function so(e,t,n=!1){const{props:s,ref:o,patchFlag:i,children:a}=e,l=t?po(s||{},t):s;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&Qs(l),ref:t&&t.ref?n&&o?(0,r.isArray)(o)?o.concat(eo(t)):[o,eo(t)]:eo(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:a,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Ds?-1===i?16:16|i:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&so(e.ssContent),ssFallback:e.ssFallback&&so(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function oo(e=" ",t=0){return no(Ps,null,e,t)}function io(e,t){const n=no(Us,null,e);return n.staticCount=t,n}function ao(e="",t=!1){return t?(Vs(),Xs(Fs,null,e)):no(Fs,null,e)}function lo(e){return null==e||"boolean"==typeof e?no(Fs):(0,r.isArray)(e)?no(Ds,null,e.slice()):"object"==typeof e?co(e):no(Ps,null,String(e))}function co(e){return null===e.el&&-1!==e.patchFlag||e.memo?e:so(e)}function uo(e,t){let n=0;const{shapeFlag:s}=e;if(null==t)t=null;else if((0,r.isArray)(t))n=16;else if("object"==typeof t){if(65&s){const n=t.default;return void(n&&(n._c&&(n._d=!1),uo(e,n()),n._c&&(n._d=!0)))}{n=32;const r=t._;r||Zs in t?3===r&&jt&&(1===jt.slots._?t._=1:(t._=2,e.patchFlag|=1024)):t._ctx=jt}}else(0,r.isFunction)(t)?(t={default:t,_ctx:jt},n=32):(t=String(t),64&s?(n=16,t=[oo(t)]):n=8);e.children=t,e.shapeFlag|=n}function po(...e){const t={};for(let n=0;n<e.length;n++){const s=e[n];for(const e in s)if("class"===e)t.class!==s.class&&(t.class=(0,r.normalizeClass)([t.class,s.class]));else if("style"===e)t.style=(0,r.normalizeStyle)([t.style,s.style]);else if((0,r.isOn)(e)){const n=t[e],o=s[e];!o||n===o||(0,r.isArray)(n)&&n.includes(o)||(t[e]=n?[].concat(n,o):o)}else""!==e&&(t[e]=s[e])}return t}function ho(e,t,n,r=null){at(e,t,7,[n,r])}const fo=Wr();let _o=0;function mo(e,t,n){const s=e.type,o=(t?t.appContext:e.appContext)||fo,a={uid:_o++,vnode:e,type:s,parent:t,appContext:o,root:null,next:null,subTree:null,effect:null,update:null,scope:new i(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(o.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:ns(s,o),emitsOptions:Ut(s,o),emit:null,emitted:null,propsDefaults:r.EMPTY_OBJ,inheritAttrs:s.inheritAttrs,ctx:r.EMPTY_OBJ,data:r.EMPTY_OBJ,props:r.EMPTY_OBJ,attrs:r.EMPTY_OBJ,slots:r.EMPTY_OBJ,refs:r.EMPTY_OBJ,setupState:r.EMPTY_OBJ,setupContext:null,attrsProxy:null,slotsProxy:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return a.ctx={_:a},a.root=t?t.root:a,a.emit=Ft.bind(null,a),e.ce&&e.ce(a),a}let go=null;const yo=()=>go||jt;let vo,Eo;{const e=(0,r.getGlobalThis)(),t=(t,n)=>{let r;return(r=e[t])||(r=e[t]=[]),r.push(n),e=>{r.length>1?r.forEach((t=>t(e))):r[0](e)}};vo=t("__VUE_INSTANCE_SETTERS__",(e=>go=e)),Eo=t("__VUE_SSR_SETTERS__",(e=>Oo=e))}const bo=e=>{const t=go;return vo(e),e.scope.on(),()=>{e.scope.off(),vo(t)}},So=()=>{go&&go.scope.off(),vo(null)};function To(e){return 4&e.vnode.shapeFlag}let wo,ko,Oo=!1;function No(e,t=!1){t&&Eo(t);const{props:n,children:s}=e.vnode,o=To(e);!function(e,t,n,s=!1){const o={},i={};(0,r.def)(i,Zs,1),e.propsDefaults=Object.create(null),es(e,t,o,i);for(const t in e.propsOptions[0])t in o||(o[t]=void 0);n?e.props=s?o:Ee(o):e.type.props?e.props=o:e.props=i,e.attrs=i}(e,n,o,t),ps(e,s);const i=o?function(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=xe(new Proxy(e.ctx,vr));const{setup:s}=n;if(s){const n=e.setupContext=s.length>1?Ro(e):null,o=bo(e);b();const i=it(s,e,0,[e.props,n]);if(S(),o(),(0,r.isPromise)(i)){if(i.then(So,So),t)return i.then((n=>{Co(e,n,t)})).catch((t=>{lt(t,e,0)}));e.asyncDep=i}else Co(e,i,t)}else Ao(e,t)}(e,t):void 0;return t&&Eo(!1),i}function Co(e,t,n){(0,r.isFunction)(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:(0,r.isObject)(t)&&(__VUE_PROD_DEVTOOLS__&&(e.devtoolsRawSetupState=t),e.setupState=He(t)),Ao(e,n)}function xo(e){wo=e,ko=e=>{e.render._rc&&(e.withProxy=new Proxy(e.ctx,Er))}}const Io=()=>!wo;function Ao(e,t,n){const s=e.type;if(!e.render){if(!t&&wo&&!s.render){const t=s.template||Br(e).template;if(t){const{isCustomElement:n,compilerOptions:o}=e.appContext.config,{delimiters:i,compilerOptions:a}=s,l=(0,r.extend)((0,r.extend)({isCustomElement:n,delimiters:i},o),a);s.render=wo(t,l)}}e.render=s.render||r.NOOP,ko&&ko(e)}if(__VUE_OPTIONS_API__){const t=bo(e);b();try{!function(e){const t=Br(e),n=e.proxy,s=e.ctx;Pr=!1,t.beforeCreate&&Fr(t.beforeCreate,e,"bc");const{data:o,computed:i,methods:a,watch:l,provide:c,inject:u,created:d,beforeMount:p,mounted:h,beforeUpdate:f,updated:_,activated:m,deactivated:g,beforeDestroy:y,beforeUnmount:v,destroyed:E,unmounted:b,render:S,renderTracked:T,renderTriggered:w,errorCaptured:k,serverPrefetch:O,expose:N,inheritAttrs:C,components:x,directives:I,filters:A}=t;if(u&&function(e,t,n=r.NOOP){(0,r.isArray)(e)&&(e=Gr(e));for(const n in e){const s=e[n];let o;o=(0,r.isObject)(s)?"default"in s?Zr(s.from||n,s.default,!0):Zr(s.from||n):Zr(s),De(o)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>o.value,set:e=>o.value=e}):t[n]=o}}(u,s,null),a)for(const e in a){const t=a[e];(0,r.isFunction)(t)&&(s[e]=t.bind(n))}if(o){const t=o.call(n,n);(0,r.isObject)(t)&&(e.data=ve(t))}if(Pr=!0,i)for(const e in i){const t=i[e],o=(0,r.isFunction)(t)?t.bind(n,n):(0,r.isFunction)(t.get)?t.get.bind(n,n):r.NOOP,a=!(0,r.isFunction)(t)&&(0,r.isFunction)(t.set)?t.set.bind(n):r.NOOP,l=Uo({get:o,set:a});Object.defineProperty(s,e,{enumerable:!0,configurable:!0,get:()=>l.value,set:e=>l.value=e})}if(l)for(const e in l)Ur(l[e],s,n,e);if(c){const e=(0,r.isFunction)(c)?c.call(n):c;Reflect.ownKeys(e).forEach((t=>{Jr(t,e[t])}))}function R(e,t){(0,r.isArray)(t)?t.forEach((t=>e(t.bind(n)))):t&&e(t.bind(n))}if(d&&Fr(d,e,"c"),R(tr,p),R(nr,h),R(rr,f),R(sr,_),R(Wn,m),R(Xn,g),R(ur,k),R(cr,T),R(lr,w),R(or,v),R(ir,b),R(ar,O),(0,r.isArray)(N))if(N.length){const t=e.exposed||(e.exposed={});N.forEach((e=>{Object.defineProperty(t,e,{get:()=>n[e],set:t=>n[e]=t})}))}else e.exposed||(e.exposed={});S&&e.render===r.NOOP&&(e.render=S),null!=C&&(e.inheritAttrs=C),x&&(e.components=x),I&&(e.directives=I)}(e)}finally{S(),t()}}}function Ro(e){return{get attrs(){return function(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get:(t,n)=>(L(e,0,"$attrs"),t[n])}))}(e)},slots:e.slots,emit:e.emit,expose:t=>{e.exposed=t||{}}}}function Lo(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(He(xe(e.exposed)),{get:(t,n)=>n in t?t[n]:n in gr?gr[n](e):void 0,has:(e,t)=>t in e||t in gr}))}const Mo=/(?:^|[-_])(\w)/g,Do=e=>e.replace(Mo,(e=>e.toUpperCase())).replace(/[-_]/g,"");function Po(e,t=!0){return(0,r.isFunction)(e)?e.displayName||e.name:e.name||t&&e.__name}function Fo(e,t,n=!1){let r=Po(t);if(!r&&t.__file){const e=t.__file.match(/([^/\\]+)\.\w+$/);e&&(r=e[1])}if(!r&&e&&e.parent){const n=e=>{for(const n in e)if(e[n]===t)return n};r=n(e.components||e.parent.type.components)||n(e.appContext.components)}return r?Do(r):n?"App":"Anonymous"}const Uo=(e,t)=>function(e,t,n=!1){let s,o;const i=(0,r.isFunction)(e);return i?(s=e,o=r.NOOP):(s=e.get,o=e.set),new Re(s,o,i||!o,n)}(e,0,Oo);function Bo(e,t,n=r.EMPTY_OBJ){const s=yo(),o=(0,r.camelize)(t),i=(0,r.hyphenate)(t),a=Ye(((a,l)=>{let c;return vn((()=>{const n=e[t];(0,r.hasChanged)(c,n)&&(c=n,l())})),{get:()=>(a(),n.get?n.get(c):c),set(e){const a=s.vnode.props;a&&(t in a||o in a||i in a)&&(`onUpdate:${t}`in a||`onUpdate:${o}`in a||`onUpdate:${i}`in a)||!(0,r.hasChanged)(e,c)||(c=e,l()),s.emit(`update:${t}`,n.set?n.set(e):e)}}})),l="modelValue"===t?"modelModifiers":`${t}Modifiers`;return a[Symbol.iterator]=()=>{let t=0;return{next:()=>t<2?{value:t++?e[l]||{}:a,done:!1}:{done:!0}}},a}function jo(e,t,n){const s=arguments.length;return 2===s?(0,r.isObject)(t)&&!(0,r.isArray)(t)?qs(t)?no(e,null,[t]):no(e,t):no(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):3===s&&qs(n)&&(n=[n]),no(e,t,n))}function Vo(){}function $o(e,t,n,r){const s=n[r];if(s&&Go(s,e))return s;const o=t();return o.memo=e.slice(),n[r]=o}function Go(e,t){const n=e.memo;if(n.length!=t.length)return!1;for(let e=0;e<n.length;e++)if((0,r.hasChanged)(n[e],t[e]))return!1;return Hs>0&&js&&js.push(e),!0}const Ho="3.4.15",zo=r.NOOP,Yo={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",0:"setup function",1:"render function",2:"watcher getter",3:"watcher callback",4:"watcher cleanup function",5:"native event handler",6:"component event handler",7:"vnode hook",8:"directive hook",9:"transition hook",10:"app errorHandler",11:"app warnHandler",12:"ref function",13:"async component loader",14:"scheduler flush. This is likely a Vue internals bug. Please open an issue at https://github.com/vuejs/core ."},Wo=Nt,Xo=At,qo={createComponentInstance:mo,setupComponent:No,renderComponentRoot:Wt,setCurrentRenderingInstance:$t,isVNode:qs,normalizeVNode:lo},Ko=null,Jo=null,Zo=null,Qo="undefined"!=typeof document?document:null,ei=Qo&&Qo.createElement("template"),ti={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const s="svg"===t?Qo.createElementNS("http://www.w3.org/2000/svg",e):"mathml"===t?Qo.createElementNS("http://www.w3.org/1998/Math/MathML",e):Qo.createElement(e,n?{is:n}:void 0);return"select"===e&&r&&null!=r.multiple&&s.setAttribute("multiple",r.multiple),s},createText:e=>Qo.createTextNode(e),createComment:e=>Qo.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Qo.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,s,o){const i=n?n.previousSibling:t.lastChild;if(s&&(s===o||s.nextSibling))for(;t.insertBefore(s.cloneNode(!0),n),s!==o&&(s=s.nextSibling););else{ei.innerHTML="svg"===r?`<svg>${e}</svg>`:"mathml"===r?`<math>${e}</math>`:e;const s=ei.content;if("svg"===r||"mathml"===r){const e=s.firstChild;for(;e.firstChild;)s.appendChild(e.firstChild);s.removeChild(e)}t.insertBefore(s,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},ni="transition",ri="animation",si=Symbol("_vtc"),oi=(e,{slots:t})=>jo(Ln,ui(e),t);oi.displayName="Transition";const ii={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},ai=oi.props=(0,r.extend)({},Rn,ii),li=(e,t=[])=>{(0,r.isArray)(e)?e.forEach((e=>e(...t))):e&&e(...t)},ci=e=>!!e&&((0,r.isArray)(e)?e.some((e=>e.length>1)):e.length>1);function ui(e){const t={};for(const n in e)n in ii||(t[n]=e[n]);if(!1===e.css)return t;const{name:n="v",type:s,duration:o,enterFromClass:i=`${n}-enter-from`,enterActiveClass:a=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:c=i,appearActiveClass:u=a,appearToClass:d=l,leaveFromClass:p=`${n}-leave-from`,leaveActiveClass:h=`${n}-leave-active`,leaveToClass:f=`${n}-leave-to`}=e,_=function(e){if(null==e)return null;if((0,r.isObject)(e))return[di(e.enter),di(e.leave)];{const t=di(e);return[t,t]}}(o),m=_&&_[0],g=_&&_[1],{onBeforeEnter:y,onEnter:v,onEnterCancelled:E,onLeave:b,onLeaveCancelled:S,onBeforeAppear:T=y,onAppear:w=v,onAppearCancelled:k=E}=t,O=(e,t,n)=>{hi(e,t?d:l),hi(e,t?u:a),n&&n()},N=(e,t)=>{e._isLeaving=!1,hi(e,p),hi(e,f),hi(e,h),t&&t()},C=e=>(t,n)=>{const r=e?w:v,o=()=>O(t,e,n);li(r,[t,o]),fi((()=>{hi(t,e?c:i),pi(t,e?d:l),ci(r)||mi(t,s,m,o)}))};return(0,r.extend)(t,{onBeforeEnter(e){li(y,[e]),pi(e,i),pi(e,a)},onBeforeAppear(e){li(T,[e]),pi(e,c),pi(e,u)},onEnter:C(!1),onAppear:C(!0),onLeave(e,t){e._isLeaving=!0;const n=()=>N(e,t);pi(e,p),Ei(),pi(e,h),fi((()=>{e._isLeaving&&(hi(e,p),pi(e,f),ci(b)||mi(e,s,g,n))})),li(b,[e,n])},onEnterCancelled(e){O(e,!1),li(E,[e])},onAppearCancelled(e){O(e,!0),li(k,[e])},onLeaveCancelled(e){N(e),li(S,[e])}})}function di(e){return(0,r.toNumber)(e)}function pi(e,t){t.split(/\s+/).forEach((t=>t&&e.classList.add(t))),(e[si]||(e[si]=new Set)).add(t)}function hi(e,t){t.split(/\s+/).forEach((t=>t&&e.classList.remove(t)));const n=e[si];n&&(n.delete(t),n.size||(e[si]=void 0))}function fi(e){requestAnimationFrame((()=>{requestAnimationFrame(e)}))}let _i=0;function mi(e,t,n,r){const s=e._endId=++_i,o=()=>{s===e._endId&&r()};if(n)return setTimeout(o,n);const{type:i,timeout:a,propCount:l}=gi(e,t);if(!i)return r();const c=i+"end";let u=0;const d=()=>{e.removeEventListener(c,p),o()},p=t=>{t.target===e&&++u>=l&&d()};setTimeout((()=>{u<l&&d()}),a+1),e.addEventListener(c,p)}function gi(e,t){const n=window.getComputedStyle(e),r=e=>(n[e]||"").split(", "),s=r(`${ni}Delay`),o=r(`${ni}Duration`),i=yi(s,o),a=r(`${ri}Delay`),l=r(`${ri}Duration`),c=yi(a,l);let u=null,d=0,p=0;return t===ni?i>0&&(u=ni,d=i,p=o.length):t===ri?c>0&&(u=ri,d=c,p=l.length):(d=Math.max(i,c),u=d>0?i>c?ni:ri:null,p=u?u===ni?o.length:l.length:0),{type:u,timeout:d,propCount:p,hasTransform:u===ni&&/\b(transform|all)(,|$)/.test(r(`${ni}Property`).toString())}}function yi(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map(((t,n)=>vi(t)+vi(e[n]))))}function vi(e){return"auto"===e?0:1e3*Number(e.slice(0,-1).replace(",","."))}function Ei(){return document.body.offsetHeight}const bi=Symbol("_vod"),Si={beforeMount(e,{value:t},{transition:n}){e[bi]="none"===e.style.display?"":e.style.display,n&&t?n.beforeEnter(e):Ti(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),Ti(e,!0),r.enter(e)):r.leave(e,(()=>{Ti(e,!1)})):Ti(e,t))},beforeUnmount(e,{value:t}){Ti(e,t)}};function Ti(e,t){e.style.display=t?e[bi]:"none"}const wi=Symbol("");function ki(e){const t=yo();if(!t)return;const n=t.ut=(n=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach((e=>Ni(e,n)))},r=()=>{const r=e(t.proxy);Oi(t.subTree,r),n(r)};yn(r),nr((()=>{const e=new MutationObserver(r);e.observe(t.subTree.el.parentNode,{childList:!0}),ir((()=>e.disconnect()))}))}function Oi(e,t){if(128&e.shapeFlag){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push((()=>{Oi(n.activeBranch,t)}))}for(;e.component;)e=e.component.subTree;if(1&e.shapeFlag&&e.el)Ni(e.el,t);else if(e.type===Ds)e.children.forEach((e=>Oi(e,t)));else if(e.type===Us){let{el:n,anchor:r}=e;for(;n&&(Ni(n,t),n!==r);)n=n.nextSibling}}function Ni(e,t){if(1===e.nodeType){const n=e.style;let r="";for(const e in t)n.setProperty(`--${e}`,t[e]),r+=`--${e}: ${t[e]};`;n[wi]=r}}const Ci=/\s*!important$/;function xi(e,t,n){if((0,r.isArray)(n))n.forEach((n=>xi(e,t,n)));else if(null==n&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=function(e,t){const n=Ai[t];if(n)return n;let s=(0,r.camelize)(t);if("filter"!==s&&s in e)return Ai[t]=s;s=(0,r.capitalize)(s);for(let n=0;n<Ii.length;n++){const r=Ii[n]+s;if(r in e)return Ai[t]=r}return t}(e,t);Ci.test(n)?e.setProperty((0,r.hyphenate)(s),n.replace(Ci,""),"important"):e[s]=n}}const Ii=["Webkit","Moz","ms"],Ai={},Ri="http://www.w3.org/1999/xlink";function Li(e,t,n,r){e.addEventListener(t,n,r)}const Mi=Symbol("_vei");const Di=/(?:Once|Passive|Capture)$/;let Pi=0;const Fi=Promise.resolve(),Ui=()=>Pi||(Fi.then((()=>Pi=0)),Pi=Date.now()),Bi=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123;function ji(e,t){const n=jn(e);class r extends Gi{constructor(e){super(n,e,t)}}return r.def=n,r}const Vi=e=>ji(e,ka),$i="undefined"!=typeof HTMLElement?HTMLElement:class{};class Gi extends $i{constructor(e,t={},n){super(),this._def=e,this._props=t,this._instance=null,this._connected=!1,this._resolved=!1,this._numberProps=null,this._ob=null,this.shadowRoot&&n?n(this._createVNode(),this.shadowRoot):(this.attachShadow({mode:"open"}),this._def.__asyncLoader||this._resolveProps(this._def))}connectedCallback(){this._connected=!0,this._instance||(this._resolved?this._update():this._resolveDef())}disconnectedCallback(){this._connected=!1,this._ob&&(this._ob.disconnect(),this._ob=null),yt((()=>{this._connected||(wa(null,this.shadowRoot),this._instance=null)}))}_resolveDef(){this._resolved=!0;for(let e=0;e<this.attributes.length;e++)this._setAttr(this.attributes[e].name);this._ob=new MutationObserver((e=>{for(const t of e)this._setAttr(t.attributeName)})),this._ob.observe(this,{attributes:!0});const e=(e,t=!1)=>{const{props:n,styles:s}=e;let o;if(n&&!(0,r.isArray)(n))for(const e in n){const t=n[e];(t===Number||t&&t.type===Number)&&(e in this._props&&(this._props[e]=(0,r.toNumber)(this._props[e])),(o||(o=Object.create(null)))[(0,r.camelize)(e)]=!0)}this._numberProps=o,t&&this._resolveProps(e),this._applyStyles(s),this._update()},t=this._def.__asyncLoader;t?t().then((t=>e(t,!0))):e(this._def)}_resolveProps(e){const{props:t}=e,n=(0,r.isArray)(t)?t:Object.keys(t||{});for(const e of Object.keys(this))"_"!==e[0]&&n.includes(e)&&this._setProp(e,this[e],!0,!1);for(const e of n.map(r.camelize))Object.defineProperty(this,e,{get(){return this._getProp(e)},set(t){this._setProp(e,t)}})}_setAttr(e){let t=this.getAttribute(e);const n=(0,r.camelize)(e);this._numberProps&&this._numberProps[n]&&(t=(0,r.toNumber)(t)),this._setProp(n,t,!1)}_getProp(e){return this._props[e]}_setProp(e,t,n=!0,s=!0){t!==this._props[e]&&(this._props[e]=t,s&&this._instance&&this._update(),n&&(!0===t?this.setAttribute((0,r.hyphenate)(e),""):"string"==typeof t||"number"==typeof t?this.setAttribute((0,r.hyphenate)(e),t+""):t||this.removeAttribute((0,r.hyphenate)(e))))}_update(){wa(this._createVNode(),this.shadowRoot)}_createVNode(){const e=no(this._def,(0,r.extend)({},this._props));return this._instance||(e.ce=e=>{this._instance=e,e.isCE=!0;const t=(e,t)=>{this.dispatchEvent(new CustomEvent(e,{detail:t}))};e.emit=(e,...n)=>{t(e,n),(0,r.hyphenate)(e)!==e&&t((0,r.hyphenate)(e),n)};let n=this;for(;n=n&&(n.parentNode||n.host);)if(n instanceof Gi){e.parent=n._instance,e.provides=n._instance.provides;break}}),e}_applyStyles(e){e&&e.forEach((e=>{const t=document.createElement("style");t.textContent=e,this.shadowRoot.appendChild(t)}))}}function Hi(e="$style"){{const t=yo();if(!t)return r.EMPTY_OBJ;const n=t.type.__cssModules;if(!n)return r.EMPTY_OBJ;return n[e]||r.EMPTY_OBJ}}const zi=new WeakMap,Yi=new WeakMap,Wi=Symbol("_moveCb"),Xi=Symbol("_enterCb"),qi={name:"TransitionGroup",props:(0,r.extend)({},ai,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=yo(),r=In();let s,o;return sr((()=>{if(!s.length)return;const t=e.moveClass||`${e.name||"v"}-move`;if(!function(e,t,n){const r=e.cloneNode(),s=e[si];s&&s.forEach((e=>{e.split(/\s+/).forEach((e=>e&&r.classList.remove(e)))})),n.split(/\s+/).forEach((e=>e&&r.classList.add(e))),r.style.display="none";const o=1===t.nodeType?t:t.parentNode;o.appendChild(r);const{hasTransform:i}=gi(r);return o.removeChild(r),i}(s[0].el,n.vnode.el,t))return;s.forEach(Ki),s.forEach(Ji);const r=s.filter(Zi);Ei(),r.forEach((e=>{const n=e.el,r=n.style;pi(n,t),r.transform=r.webkitTransform=r.transitionDuration="";const s=n[Wi]=e=>{e&&e.target!==n||e&&!/transform$/.test(e.propertyName)||(n.removeEventListener("transitionend",s),n[Wi]=null,hi(n,t))};n.addEventListener("transitionend",s)}))})),()=>{const i=Ce(e),a=ui(i);let l=i.tag||Ds;s=o,o=t.default?Bn(t.default()):[];for(let e=0;e<o.length;e++){const t=o[e];null!=t.key&&Un(t,Dn(t,a,r,n))}if(s)for(let e=0;e<s.length;e++){const t=s[e];Un(t,Dn(t,a,r,n)),zi.set(t,t.el.getBoundingClientRect())}return no(l,null,o)}}};function Ki(e){const t=e.el;t[Wi]&&t[Wi](),t[Xi]&&t[Xi]()}function Ji(e){Yi.set(e,e.el.getBoundingClientRect())}function Zi(e){const t=zi.get(e),n=Yi.get(e),r=t.left-n.left,s=t.top-n.top;if(r||s){const t=e.el.style;return t.transform=t.webkitTransform=`translate(${r}px,${s}px)`,t.transitionDuration="0s",e}}const Qi=e=>{const t=e.props["onUpdate:modelValue"]||!1;return(0,r.isArray)(t)?e=>(0,r.invokeArrayFns)(t,e):t};function ea(e){e.target.composing=!0}function ta(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const na=Symbol("_assign"),ra={created(e,{modifiers:{lazy:t,trim:n,number:s}},o){e[na]=Qi(o);const i=s||o.props&&"number"===o.props.type;Li(e,t?"change":"input",(t=>{if(t.target.composing)return;let s=e.value;n&&(s=s.trim()),i&&(s=(0,r.looseToNumber)(s)),e[na](s)})),n&&Li(e,"change",(()=>{e.value=e.value.trim()})),t||(Li(e,"compositionstart",ea),Li(e,"compositionend",ta),Li(e,"change",ta))},mounted(e,{value:t}){e.value=null==t?"":t},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:s,number:o}},i){if(e[na]=Qi(i),e.composing)return;const a=null==t?"":t;if((o||"number"===e.type?(0,r.looseToNumber)(e.value):e.value)!==a){if(document.activeElement===e&&"range"!==e.type){if(n)return;if(s&&e.value.trim()===a)return}e.value=a}}},sa={deep:!0,created(e,t,n){e[na]=Qi(n),Li(e,"change",(()=>{const t=e._modelValue,n=ca(e),s=e.checked,o=e[na];if((0,r.isArray)(t)){const e=(0,r.looseIndexOf)(t,n),i=-1!==e;if(s&&!i)o(t.concat(n));else if(!s&&i){const n=[...t];n.splice(e,1),o(n)}}else if((0,r.isSet)(t)){const e=new Set(t);s?e.add(n):e.delete(n),o(e)}else o(ua(e,s))}))},mounted:oa,beforeUpdate(e,t,n){e[na]=Qi(n),oa(e,t,n)}};function oa(e,{value:t,oldValue:n},s){e._modelValue=t,(0,r.isArray)(t)?e.checked=(0,r.looseIndexOf)(t,s.props.value)>-1:(0,r.isSet)(t)?e.checked=t.has(s.props.value):t!==n&&(e.checked=(0,r.looseEqual)(t,ua(e,!0)))}const ia={created(e,{value:t},n){e.checked=(0,r.looseEqual)(t,n.props.value),e[na]=Qi(n),Li(e,"change",(()=>{e[na](ca(e))}))},beforeUpdate(e,{value:t,oldValue:n},s){e[na]=Qi(s),t!==n&&(e.checked=(0,r.looseEqual)(t,s.props.value))}},aa={deep:!0,created(e,{value:t,modifiers:{number:n}},s){const o=(0,r.isSet)(t);Li(e,"change",(()=>{const t=Array.prototype.filter.call(e.options,(e=>e.selected)).map((e=>n?(0,r.looseToNumber)(ca(e)):ca(e)));e[na](e.multiple?o?new Set(t):t:t[0]),e._assigning=!0,yt((()=>{e._assigning=!1}))})),e[na]=Qi(s)},mounted(e,{value:t,oldValue:n,modifiers:{number:r}}){la(e,t,n,r)},beforeUpdate(e,t,n){e[na]=Qi(n)},updated(e,{value:t,oldValue:n,modifiers:{number:r}}){e._assigning||la(e,t,n,r)}};function la(e,t,n,s){const o=e.multiple,i=(0,r.isArray)(t);if((!o||i||(0,r.isSet)(t))&&(!i||!(0,r.looseEqual)(t,n))){for(let n=0,a=e.options.length;n<a;n++){const a=e.options[n],l=ca(a);if(o)if(i){const e=typeof l;a.selected="string"===e||"number"===e?t.includes(s?(0,r.looseToNumber)(l):l):(0,r.looseIndexOf)(t,l)>-1}else a.selected=t.has(l);else if((0,r.looseEqual)(ca(a),t))return void(e.selectedIndex!==n&&(e.selectedIndex=n))}o||-1===e.selectedIndex||(e.selectedIndex=-1)}}function ca(e){return"_value"in e?e._value:e.value}function ua(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const da={created(e,t,n){ha(e,t,n,null,"created")},mounted(e,t,n){ha(e,t,n,null,"mounted")},beforeUpdate(e,t,n,r){ha(e,t,n,r,"beforeUpdate")},updated(e,t,n,r){ha(e,t,n,r,"updated")}};function pa(e,t){switch(e){case"SELECT":return aa;case"TEXTAREA":return ra;default:switch(t){case"checkbox":return sa;case"radio":return ia;default:return ra}}}function ha(e,t,n,r,s){const o=pa(e.tagName,n.props&&n.props.type)[s];o&&o(e,t,n,r)}const fa=["ctrl","shift","alt","meta"],_a={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&0!==e.button,middle:e=>"button"in e&&1!==e.button,right:e=>"button"in e&&2!==e.button,exact:(e,t)=>fa.some((n=>e[`${n}Key`]&&!t.includes(n)))},ma=(e,t)=>{const n=e._withMods||(e._withMods={}),r=t.join(".");return n[r]||(n[r]=(n,...r)=>{for(let e=0;e<t.length;e++){const r=_a[t[e]];if(r&&r(n,t))return}return e(n,...r)})},ga={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},ya=(e,t)=>{const n=e._withKeys||(e._withKeys={}),s=t.join(".");return n[s]||(n[s]=n=>{if(!("key"in n))return;const s=(0,r.hyphenate)(n.key);return t.some((e=>e===s||ga[e]===s))?e(n):void 0})},va=(0,r.extend)({patchProp:(e,t,n,s,o,i,a,l,c)=>{const u="svg"===o;"class"===t?function(e,t,n){const r=e[si];r&&(t=(t?[t,...r]:[...r]).join(" ")),null==t?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}(e,s,u):"style"===t?function(e,t,n){const s=e.style,o=s.display,i=(0,r.isString)(n);if(n&&!i){if(t&&!(0,r.isString)(t))for(const e in t)null==n[e]&&xi(s,e,"");for(const e in n)xi(s,e,n[e])}else if(i){if(t!==n){const e=s[wi];e&&(n+=";"+e),s.cssText=n}}else t&&e.removeAttribute("style");bi in e&&(s.display=o)}(e,n,s):(0,r.isOn)(t)?(0,r.isModelListener)(t)||function(e,t,n,s,o=null){const i=e[Mi]||(e[Mi]={}),a=i[t];if(s&&a)a.value=s;else{const[n,l]=function(e){let t;if(Di.test(e)){let n;for(t={};n=e.match(Di);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[":"===e[2]?e.slice(3):(0,r.hyphenate)(e.slice(2)),t]}(t);if(s){const a=i[t]=function(e,t){const n=e=>{if(e._vts){if(e._vts<=n.attached)return}else e._vts=Date.now();at(function(e,t){if((0,r.isArray)(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map((e=>t=>!t._stopped&&e&&e(t)))}return t}(e,n.value),t,5,[e])};return n.value=e,n.attached=Ui(),n}(s,o);Li(e,n,a,l)}else a&&(function(e,t,n,r){e.removeEventListener(t,n,r)}(e,n,a,l),i[t]=void 0)}}(e,t,0,s,a):("."===t[0]?(t=t.slice(1),1):"^"===t[0]?(t=t.slice(1),0):function(e,t,n,s){if(s)return"innerHTML"===t||"textContent"===t||!!(t in e&&Bi(t)&&(0,r.isFunction)(n));if("spellcheck"===t||"draggable"===t||"translate"===t)return!1;if("form"===t)return!1;if("list"===t&&"INPUT"===e.tagName)return!1;if("type"===t&&"TEXTAREA"===e.tagName)return!1;if("width"===t||"height"===t){const t=e.tagName;if("IMG"===t||"VIDEO"===t||"CANVAS"===t||"SOURCE"===t)return!1}return(!Bi(t)||!(0,r.isString)(n))&&t in e}(e,t,s,u))?function(e,t,n,s,o,i,a){if("innerHTML"===t||"textContent"===t)return s&&a(s,o,i),void(e[t]=null==n?"":n);const l=e.tagName;if("value"===t&&"PROGRESS"!==l&&!l.includes("-")){e._value=n;const r=null==n?"":n;return("OPTION"===l?e.getAttribute("value"):e.value)!==r&&(e.value=r),void(null==n&&e.removeAttribute(t))}let c=!1;if(""===n||null==n){const s=typeof e[t];"boolean"===s?n=(0,r.includeBooleanAttr)(n):null==n&&"string"===s?(n="",c=!0):"number"===s&&(n=0,c=!0)}try{e[t]=n}catch(e){}c&&e.removeAttribute(t)}(e,t,s,i,a,l,c):("true-value"===t?e._trueValue=s:"false-value"===t&&(e._falseValue=s),function(e,t,n,s,o){if(s&&t.startsWith("xlink:"))null==n?e.removeAttributeNS(Ri,t.slice(6,t.length)):e.setAttributeNS(Ri,t,n);else{const s=(0,r.isSpecialBooleanAttr)(t);null==n||s&&!(0,r.includeBooleanAttr)(n)?e.removeAttribute(t):e.setAttribute(t,s?"":n)}}(e,t,s,u))}},ti);let Ea,ba=!1;function Sa(){return Ea||(Ea=Es(va))}function Ta(){return Ea=ba?Ea:bs(va),ba=!0,Ea}const wa=(...e)=>{Sa().render(...e)},ka=(...e)=>{Ta().hydrate(...e)},Oa=(...e)=>{const t=Sa().createApp(...e),{mount:n}=t;return t.mount=e=>{const s=xa(e);if(!s)return;const o=t._component;(0,r.isFunction)(o)||o.render||o.template||(o.template=s.innerHTML),s.innerHTML="";const i=n(s,!1,Ca(s));return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),i},t},Na=(...e)=>{const t=Ta().createApp(...e),{mount:n}=t;return t.mount=e=>{const t=xa(e);if(t)return n(t,!0,Ca(t))},t};function Ca(e){return e instanceof SVGElement?"svg":"function"==typeof MathMLElement&&e instanceof MathMLElement?"mathml":void 0}function xa(e){return(0,r.isString)(e)?document.querySelector(e):e}let Ia=!1;const Aa=()=>{Ia||(Ia=!0,ra.getSSRProps=({value:e})=>({value:e}),ia.getSSRProps=({value:e},t)=>{if(t.props&&(0,r.looseEqual)(t.props.value,e))return{checked:!0}},sa.getSSRProps=({value:e},t)=>{if((0,r.isArray)(e)){if(t.props&&(0,r.looseIndexOf)(e,t.props.value)>-1)return{checked:!0}}else if((0,r.isSet)(e)){if(t.props&&e.has(t.props.value))return{checked:!0}}else if(e)return{checked:!0}},da.getSSRProps=(e,t)=>{if("string"!=typeof t.type)return;const n=pa(t.type.toUpperCase(),t.props&&t.props.type);return n.getSSRProps?n.getSSRProps(e,t):void 0},Si.getSSRProps=({value:e})=>{if(!e)return{style:{display:"none"}}})}},933:(e,t,n)=>{"use strict";function r(e,t){const n=new Set(e.split(","));return t?e=>n.has(e.toLowerCase()):e=>n.has(e)}n.r(t),n.d(t,{EMPTY_ARR:()=>o,EMPTY_OBJ:()=>s,NO:()=>a,NOOP:()=>i,PatchFlagNames:()=>X,PatchFlags:()=>W,ShapeFlags:()=>q,SlotFlags:()=>K,camelize:()=>L,capitalize:()=>P,def:()=>j,escapeHtml:()=>Oe,escapeHtmlComment:()=>Ce,extend:()=>u,genPropsAccessExp:()=>Y,generateCodeFrame:()=>te,getGlobalThis:()=>H,hasChanged:()=>U,hasOwn:()=>h,hyphenate:()=>D,includeBooleanAttr:()=>ge,invokeArrayFns:()=>B,isArray:()=>f,isBooleanAttr:()=>me,isBuiltInDirective:()=>I,isDate:()=>g,isFunction:()=>v,isGloballyAllowed:()=>Z,isGloballyWhitelisted:()=>Q,isHTMLTag:()=>ue,isIntegerKey:()=>C,isKnownHtmlAttr:()=>Se,isKnownSvgAttr:()=>Te,isMap:()=>_,isMathMLTag:()=>pe,isModelListener:()=>c,isObject:()=>S,isOn:()=>l,isPlainObject:()=>N,isPromise:()=>T,isRegExp:()=>y,isRenderableAttrValue:()=>we,isReservedProp:()=>x,isSSRSafeAttrName:()=>Ee,isSVGTag:()=>de,isSet:()=>m,isSpecialBooleanAttr:()=>_e,isString:()=>E,isSymbol:()=>b,isVoidTag:()=>he,looseEqual:()=>xe,looseIndexOf:()=>Ie,looseToNumber:()=>V,makeMap:()=>r,normalizeClass:()=>le,normalizeProps:()=>ce,normalizeStyle:()=>ne,objectToString:()=>w,parseStringStyle:()=>ie,propsToAttrMap:()=>be,remove:()=>d,slotFlagsText:()=>J,stringifyStyle:()=>ae,toDisplayString:()=>Ae,toHandlerKey:()=>F,toNumber:()=>$,toRawType:()=>O,toTypeString:()=>k});const s={},o=[],i=()=>{},a=()=>!1,l=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),c=e=>e.startsWith("onUpdate:"),u=Object.assign,d=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},p=Object.prototype.hasOwnProperty,h=(e,t)=>p.call(e,t),f=Array.isArray,_=e=>"[object Map]"===k(e),m=e=>"[object Set]"===k(e),g=e=>"[object Date]"===k(e),y=e=>"[object RegExp]"===k(e),v=e=>"function"==typeof e,E=e=>"string"==typeof e,b=e=>"symbol"==typeof e,S=e=>null!==e&&"object"==typeof e,T=e=>(S(e)||v(e))&&v(e.then)&&v(e.catch),w=Object.prototype.toString,k=e=>w.call(e),O=e=>k(e).slice(8,-1),N=e=>"[object Object]"===k(e),C=e=>E(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,x=r(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),I=r("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),A=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},R=/-(\w)/g,L=A((e=>e.replace(R,((e,t)=>t?t.toUpperCase():"")))),M=/\B([A-Z])/g,D=A((e=>e.replace(M,"-$1").toLowerCase())),P=A((e=>e.charAt(0).toUpperCase()+e.slice(1))),F=A((e=>e?`on${P(e)}`:"")),U=(e,t)=>!Object.is(e,t),B=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},j=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},V=e=>{const t=parseFloat(e);return isNaN(t)?e:t},$=e=>{const t=E(e)?Number(e):NaN;return isNaN(t)?e:t};let G;const H=()=>G||(G="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==n.g?n.g:{}),z=/^[_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*$/;function Y(e){return z.test(e)?`__props.${e}`:`__props[${JSON.stringify(e)}]`}const W={TEXT:1,1:"TEXT",CLASS:2,2:"CLASS",STYLE:4,4:"STYLE",PROPS:8,8:"PROPS",FULL_PROPS:16,16:"FULL_PROPS",NEED_HYDRATION:32,32:"NEED_HYDRATION",STABLE_FRAGMENT:64,64:"STABLE_FRAGMENT",KEYED_FRAGMENT:128,128:"KEYED_FRAGMENT",UNKEYED_FRAGMENT:256,256:"UNKEYED_FRAGMENT",NEED_PATCH:512,512:"NEED_PATCH",DYNAMIC_SLOTS:1024,1024:"DYNAMIC_SLOTS",DEV_ROOT_FRAGMENT:2048,2048:"DEV_ROOT_FRAGMENT",HOISTED:-1,"-1":"HOISTED",BAIL:-2,"-2":"BAIL"},X={1:"TEXT",2:"CLASS",4:"STYLE",8:"PROPS",16:"FULL_PROPS",32:"NEED_HYDRATION",64:"STABLE_FRAGMENT",128:"KEYED_FRAGMENT",256:"UNKEYED_FRAGMENT",512:"NEED_PATCH",1024:"DYNAMIC_SLOTS",2048:"DEV_ROOT_FRAGMENT",[-1]:"HOISTED",[-2]:"BAIL"},q={ELEMENT:1,1:"ELEMENT",FUNCTIONAL_COMPONENT:2,2:"FUNCTIONAL_COMPONENT",STATEFUL_COMPONENT:4,4:"STATEFUL_COMPONENT",TEXT_CHILDREN:8,8:"TEXT_CHILDREN",ARRAY_CHILDREN:16,16:"ARRAY_CHILDREN",SLOTS_CHILDREN:32,32:"SLOTS_CHILDREN",TELEPORT:64,64:"TELEPORT",SUSPENSE:128,128:"SUSPENSE",COMPONENT_SHOULD_KEEP_ALIVE:256,256:"COMPONENT_SHOULD_KEEP_ALIVE",COMPONENT_KEPT_ALIVE:512,512:"COMPONENT_KEPT_ALIVE",COMPONENT:6,6:"COMPONENT"},K={STABLE:1,1:"STABLE",DYNAMIC:2,2:"DYNAMIC",FORWARDED:3,3:"FORWARDED"},J={1:"STABLE",2:"DYNAMIC",3:"FORWARDED"},Z=r("Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console,Error"),Q=Z,ee=2;function te(e,t=0,n=e.length){let r=e.split(/(\r?\n)/);const s=r.filter(((e,t)=>t%2==1));r=r.filter(((e,t)=>t%2==0));let o=0;const i=[];for(let e=0;e<r.length;e++)if(o+=r[e].length+(s[e]&&s[e].length||0),o>=t){for(let a=e-ee;a<=e+ee||n>o;a++){if(a<0||a>=r.length)continue;const l=a+1;i.push(`${l}${" ".repeat(Math.max(3-String(l).length,0))}| ${r[a]}`);const c=r[a].length,u=s[a]&&s[a].length||0;if(a===e){const e=t-(o-(c+u)),r=Math.max(1,n>o?c-e:n-t);i.push(" | "+" ".repeat(e)+"^".repeat(r))}else if(a>e){if(n>o){const e=Math.max(Math.min(n-o,c),1);i.push(" | "+"^".repeat(e))}o+=c+u}}break}return i.join("\n")}function ne(e){if(f(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],s=E(r)?ie(r):ne(r);if(s)for(const e in s)t[e]=s[e]}return t}if(E(e)||S(e))return e}const re=/;(?![^(]*\))/g,se=/:([^]+)/,oe=/\/\*[^]*?\*\//g;function ie(e){const t={};return e.replace(oe,"").split(re).forEach((e=>{if(e){const n=e.split(se);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}function ae(e){let t="";if(!e||E(e))return t;for(const n in e){const r=e[n],s=n.startsWith("--")?n:D(n);(E(r)||"number"==typeof r)&&(t+=`${s}:${r};`)}return t}function le(e){let t="";if(E(e))t=e;else if(f(e))for(let n=0;n<e.length;n++){const r=le(e[n]);r&&(t+=r+" ")}else if(S(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function ce(e){if(!e)return null;let{class:t,style:n}=e;return t&&!E(t)&&(e.class=le(t)),n&&(e.style=ne(n)),e}const ue=r("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,hgroup,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot"),de=r("svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistantLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view"),pe=r("annotation,annotation-xml,maction,maligngroup,malignmark,math,menclose,merror,mfenced,mfrac,mfraction,mglyph,mi,mlabeledtr,mlongdiv,mmultiscripts,mn,mo,mover,mpadded,mphantom,mprescripts,mroot,mrow,ms,mscarries,mscarry,msgroup,msline,mspace,msqrt,msrow,mstack,mstyle,msub,msubsup,msup,mtable,mtd,mtext,mtr,munder,munderover,none,semantics"),he=r("area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr"),fe="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",_e=r(fe),me=r(fe+",async,autofocus,autoplay,controls,default,defer,disabled,hidden,inert,loop,open,required,reversed,scoped,seamless,checked,muted,multiple,selected");function ge(e){return!!e||""===e}const ye=/[>/="'\u0009\u000a\u000c\u0020]/,ve={};function Ee(e){if(ve.hasOwnProperty(e))return ve[e];const t=ye.test(e);return t&&console.error(`unsafe attribute name: ${e}`),ve[e]=!t}const be={acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv"},Se=r("accept,accept-charset,accesskey,action,align,allow,alt,async,autocapitalize,autocomplete,autofocus,autoplay,background,bgcolor,border,buffered,capture,challenge,charset,checked,cite,class,code,codebase,color,cols,colspan,content,contenteditable,contextmenu,controls,coords,crossorigin,csp,data,datetime,decoding,default,defer,dir,dirname,disabled,download,draggable,dropzone,enctype,enterkeyhint,for,form,formaction,formenctype,formmethod,formnovalidate,formtarget,headers,height,hidden,high,href,hreflang,http-equiv,icon,id,importance,inert,integrity,ismap,itemprop,keytype,kind,label,lang,language,loading,list,loop,low,manifest,max,maxlength,minlength,media,min,multiple,muted,name,novalidate,open,optimum,pattern,ping,placeholder,poster,preload,radiogroup,readonly,referrerpolicy,rel,required,reversed,rows,rowspan,sandbox,scope,scoped,selected,shape,size,sizes,slot,span,spellcheck,src,srcdoc,srclang,srcset,start,step,style,summary,tabindex,target,title,translate,type,usemap,value,width,wrap"),Te=r("xmlns,accent-height,accumulate,additive,alignment-baseline,alphabetic,amplitude,arabic-form,ascent,attributeName,attributeType,azimuth,baseFrequency,baseline-shift,baseProfile,bbox,begin,bias,by,calcMode,cap-height,class,clip,clipPathUnits,clip-path,clip-rule,color,color-interpolation,color-interpolation-filters,color-profile,color-rendering,contentScriptType,contentStyleType,crossorigin,cursor,cx,cy,d,decelerate,descent,diffuseConstant,direction,display,divisor,dominant-baseline,dur,dx,dy,edgeMode,elevation,enable-background,end,exponent,fill,fill-opacity,fill-rule,filter,filterRes,filterUnits,flood-color,flood-opacity,font-family,font-size,font-size-adjust,font-stretch,font-style,font-variant,font-weight,format,from,fr,fx,fy,g1,g2,glyph-name,glyph-orientation-horizontal,glyph-orientation-vertical,glyphRef,gradientTransform,gradientUnits,hanging,height,href,hreflang,horiz-adv-x,horiz-origin-x,id,ideographic,image-rendering,in,in2,intercept,k,k1,k2,k3,k4,kernelMatrix,kernelUnitLength,kerning,keyPoints,keySplines,keyTimes,lang,lengthAdjust,letter-spacing,lighting-color,limitingConeAngle,local,marker-end,marker-mid,marker-start,markerHeight,markerUnits,markerWidth,mask,maskContentUnits,maskUnits,mathematical,max,media,method,min,mode,name,numOctaves,offset,opacity,operator,order,orient,orientation,origin,overflow,overline-position,overline-thickness,panose-1,paint-order,path,pathLength,patternContentUnits,patternTransform,patternUnits,ping,pointer-events,points,pointsAtX,pointsAtY,pointsAtZ,preserveAlpha,preserveAspectRatio,primitiveUnits,r,radius,referrerPolicy,refX,refY,rel,rendering-intent,repeatCount,repeatDur,requiredExtensions,requiredFeatures,restart,result,rotate,rx,ry,scale,seed,shape-rendering,slope,spacing,specularConstant,specularExponent,speed,spreadMethod,startOffset,stdDeviation,stemh,stemv,stitchTiles,stop-color,stop-opacity,strikethrough-position,strikethrough-thickness,string,stroke,stroke-dasharray,stroke-dashoffset,stroke-linecap,stroke-linejoin,stroke-miterlimit,stroke-opacity,stroke-width,style,surfaceScale,systemLanguage,tabindex,tableValues,target,targetX,targetY,text-anchor,text-decoration,text-rendering,textLength,to,transform,transform-origin,type,u1,u2,underline-position,underline-thickness,unicode,unicode-bidi,unicode-range,units-per-em,v-alphabetic,v-hanging,v-ideographic,v-mathematical,values,vector-effect,version,vert-adv-y,vert-origin-x,vert-origin-y,viewBox,viewTarget,visibility,width,widths,word-spacing,writing-mode,x,x-height,x1,x2,xChannelSelector,xlink:actuate,xlink:arcrole,xlink:href,xlink:role,xlink:show,xlink:title,xlink:type,xmlns:xlink,xml:base,xml:lang,xml:space,y,y1,y2,yChannelSelector,z,zoomAndPan");function we(e){if(null==e)return!1;const t=typeof e;return"string"===t||"number"===t||"boolean"===t}const ke=/["'&<>]/;function Oe(e){const t=""+e,n=ke.exec(t);if(!n)return t;let r,s,o="",i=0;for(s=n.index;s<t.length;s++){switch(t.charCodeAt(s)){case 34:r="&quot;";break;case 38:r="&amp;";break;case 39:r="&#39;";break;case 60:r="&lt;";break;case 62:r="&gt;";break;default:continue}i!==s&&(o+=t.slice(i,s)),i=s+1,o+=r}return i!==s?o+t.slice(i,s):o}const Ne=/^-?>|<!--|-->|--!>|<!-$/g;function Ce(e){return e.replace(Ne,"")}function xe(e,t){if(e===t)return!0;let n=g(e),r=g(t);if(n||r)return!(!n||!r)&&e.getTime()===t.getTime();if(n=b(e),r=b(t),n||r)return e===t;if(n=f(e),r=f(t),n||r)return!(!n||!r)&&function(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=xe(e[r],t[r]);return n}(e,t);if(n=S(e),r=S(t),n||r){if(!n||!r)return!1;if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e){const r=e.hasOwnProperty(n),s=t.hasOwnProperty(n);if(r&&!s||!r&&s||!xe(e[n],t[n]))return!1}}return String(e)===String(t)}function Ie(e,t){return e.findIndex((e=>xe(e,t)))}const Ae=e=>E(e)?e:null==e?"":f(e)||S(e)&&(e.toString===w||!v(e.toString))?JSON.stringify(e,Re,2):String(e),Re=(e,t)=>t&&t.__v_isRef?Re(e,t.value):_(t)?{[`Map(${t.size})`]:[...t.entries()].reduce(((e,[t,n],r)=>(e[Le(t,r)+" =>"]=n,e)),{})}:m(t)?{[`Set(${t.size})`]:[...t.values()].map((e=>Le(e)))}:b(t)?Le(t):!S(t)||f(t)||N(t)?t:String(t),Le=(e,t="")=>{var n;return b(e)?`Symbol(${null!=(n=e.description)?n:t})`:e}},245:(e,t,n)=>{var r=n(107),s=Object.prototype.hasOwnProperty,o="undefined"!=typeof Map;function i(){this._array=[],this._set=o?new Map:Object.create(null)}i.fromArray=function(e,t){for(var n=new i,r=0,s=e.length;r<s;r++)n.add(e[r],t);return n},i.prototype.size=function(){return o?this._set.size:Object.getOwnPropertyNames(this._set).length},i.prototype.add=function(e,t){var n=o?e:r.toSetString(e),i=o?this.has(e):s.call(this._set,n),a=this._array.length;i&&!t||this._array.push(e),i||(o?this._set.set(e,a):this._set[n]=a)},i.prototype.has=function(e){if(o)return this._set.has(e);var t=r.toSetString(e);return s.call(this._set,t)},i.prototype.indexOf=function(e){if(o){var t=this._set.get(e);if(t>=0)return t}else{var n=r.toSetString(e);if(s.call(this._set,n))return this._set[n]}throw new Error('"'+e+'" is not in the set.')},i.prototype.at=function(e){if(e>=0&&e<this._array.length)return this._array[e];throw new Error("No element indexed by "+e)},i.prototype.toArray=function(){return this._array.slice()},t.I=i},28:(e,t,n)=>{var r=n(531);t.encode=function(e){var t,n="",s=function(e){return e<0?1+(-e<<1):0+(e<<1)}(e);do{t=31&s,(s>>>=5)>0&&(t|=32),n+=r.encode(t)}while(s>0);return n},t.decode=function(e,t,n){var s,o,i,a,l=e.length,c=0,u=0;do{if(t>=l)throw new Error("Expected more digits in base 64 VLQ value.");if(-1===(o=r.decode(e.charCodeAt(t++))))throw new Error("Invalid base64 digit: "+e.charAt(t-1));s=!!(32&o),c+=(o&=31)<<u,u+=5}while(s);n.value=(a=(i=c)>>1,1==(1&i)?-a:a),n.rest=t}},531:(e,t)=>{var n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");t.encode=function(e){if(0<=e&&e<n.length)return n[e];throw new TypeError("Must be between 0 and 63: "+e)},t.decode=function(e){return 65<=e&&e<=90?e-65:97<=e&&e<=122?e-97+26:48<=e&&e<=57?e-48+52:43==e?62:47==e?63:-1}},703:(e,t)=>{function n(e,r,s,o,i,a){var l=Math.floor((r-e)/2)+e,c=i(s,o[l],!0);return 0===c?l:c>0?r-l>1?n(l,r,s,o,i,a):a==t.LEAST_UPPER_BOUND?r<o.length?r:-1:l:l-e>1?n(e,l,s,o,i,a):a==t.LEAST_UPPER_BOUND?l:e<0?-1:e}t.GREATEST_LOWER_BOUND=1,t.LEAST_UPPER_BOUND=2,t.search=function(e,r,s,o){if(0===r.length)return-1;var i=n(-1,r.length,e,r,s,o||t.GREATEST_LOWER_BOUND);if(i<0)return-1;for(;i-1>=0&&0===s(r[i],r[i-1],!0);)--i;return i}},791:(e,t,n)=>{var r=n(107);function s(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}s.prototype.unsortedForEach=function(e,t){this._array.forEach(e,t)},s.prototype.add=function(e){var t,n,s,o,i,a;n=e,s=(t=this._last).generatedLine,o=n.generatedLine,i=t.generatedColumn,a=n.generatedColumn,o>s||o==s&&a>=i||r.compareByGeneratedPositionsInflated(t,n)<=0?(this._last=e,this._array.push(e)):(this._sorted=!1,this._array.push(e))},s.prototype.toArray=function(){return this._sorted||(this._array.sort(r.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},t.H=s},311:(e,t)=>{function n(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function r(e,t,s,o){if(s<o){var i=s-1;n(e,(u=s,d=o,Math.round(u+Math.random()*(d-u))),o);for(var a=e[o],l=s;l<o;l++)t(e[l],a)<=0&&n(e,i+=1,l);n(e,i+1,l);var c=i+1;r(e,t,s,c-1),r(e,t,c+1,o)}var u,d}t.U=function(e,t){r(e,t,0,e.length-1)}},478:(e,t,n)=>{var r=n(107),s=n(703),o=n(245).I,i=n(28),a=n(311).U;function l(e,t){var n=e;return"string"==typeof e&&(n=r.parseSourceMapInput(e)),null!=n.sections?new d(n,t):new c(n,t)}function c(e,t){var n=e;"string"==typeof e&&(n=r.parseSourceMapInput(e));var s=r.getArg(n,"version"),i=r.getArg(n,"sources"),a=r.getArg(n,"names",[]),l=r.getArg(n,"sourceRoot",null),c=r.getArg(n,"sourcesContent",null),u=r.getArg(n,"mappings"),d=r.getArg(n,"file",null);if(s!=this._version)throw new Error("Unsupported version: "+s);l&&(l=r.normalize(l)),i=i.map(String).map(r.normalize).map((function(e){return l&&r.isAbsolute(l)&&r.isAbsolute(e)?r.relative(l,e):e})),this._names=o.fromArray(a.map(String),!0),this._sources=o.fromArray(i,!0),this._absoluteSources=this._sources.toArray().map((function(e){return r.computeSourceURL(l,e,t)})),this.sourceRoot=l,this.sourcesContent=c,this._mappings=u,this._sourceMapURL=t,this.file=d}function u(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}function d(e,t){var n=e;"string"==typeof e&&(n=r.parseSourceMapInput(e));var s=r.getArg(n,"version"),i=r.getArg(n,"sections");if(s!=this._version)throw new Error("Unsupported version: "+s);this._sources=new o,this._names=new o;var a={line:-1,column:0};this._sections=i.map((function(e){if(e.url)throw new Error("Support for url field in sections not implemented.");var n=r.getArg(e,"offset"),s=r.getArg(n,"line"),o=r.getArg(n,"column");if(s<a.line||s===a.line&&o<a.column)throw new Error("Section offsets must be ordered and non-overlapping.");return a=n,{generatedOffset:{generatedLine:s+1,generatedColumn:o+1},consumer:new l(r.getArg(e,"map"),t)}}))}l.fromSourceMap=function(e,t){return c.fromSourceMap(e,t)},l.prototype._version=3,l.prototype.__generatedMappings=null,Object.defineProperty(l.prototype,"_generatedMappings",{configurable:!0,enumerable:!0,get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}}),l.prototype.__originalMappings=null,Object.defineProperty(l.prototype,"_originalMappings",{configurable:!0,enumerable:!0,get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}}),l.prototype._charIsMappingSeparator=function(e,t){var n=e.charAt(t);return";"===n||","===n},l.prototype._parseMappings=function(e,t){throw new Error("Subclasses must implement _parseMappings")},l.GENERATED_ORDER=1,l.ORIGINAL_ORDER=2,l.GREATEST_LOWER_BOUND=1,l.LEAST_UPPER_BOUND=2,l.prototype.eachMapping=function(e,t,n){var s,o=t||null;switch(n||l.GENERATED_ORDER){case l.GENERATED_ORDER:s=this._generatedMappings;break;case l.ORIGINAL_ORDER:s=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var i=this.sourceRoot;s.map((function(e){var t=null===e.source?null:this._sources.at(e.source);return{source:t=r.computeSourceURL(i,t,this._sourceMapURL),generatedLine:e.generatedLine,generatedColumn:e.generatedColumn,originalLine:e.originalLine,originalColumn:e.originalColumn,name:null===e.name?null:this._names.at(e.name)}}),this).forEach(e,o)},l.prototype.allGeneratedPositionsFor=function(e){var t=r.getArg(e,"line"),n={source:r.getArg(e,"source"),originalLine:t,originalColumn:r.getArg(e,"column",0)};if(n.source=this._findSourceIndex(n.source),n.source<0)return[];var o=[],i=this._findMapping(n,this._originalMappings,"originalLine","originalColumn",r.compareByOriginalPositions,s.LEAST_UPPER_BOUND);if(i>=0){var a=this._originalMappings[i];if(void 0===e.column)for(var l=a.originalLine;a&&a.originalLine===l;)o.push({line:r.getArg(a,"generatedLine",null),column:r.getArg(a,"generatedColumn",null),lastColumn:r.getArg(a,"lastGeneratedColumn",null)}),a=this._originalMappings[++i];else for(var c=a.originalColumn;a&&a.originalLine===t&&a.originalColumn==c;)o.push({line:r.getArg(a,"generatedLine",null),column:r.getArg(a,"generatedColumn",null),lastColumn:r.getArg(a,"lastGeneratedColumn",null)}),a=this._originalMappings[++i]}return o},t.SourceMapConsumer=l,c.prototype=Object.create(l.prototype),c.prototype.consumer=l,c.prototype._findSourceIndex=function(e){var t,n=e;if(null!=this.sourceRoot&&(n=r.relative(this.sourceRoot,n)),this._sources.has(n))return this._sources.indexOf(n);for(t=0;t<this._absoluteSources.length;++t)if(this._absoluteSources[t]==e)return t;return-1},c.fromSourceMap=function(e,t){var n=Object.create(c.prototype),s=n._names=o.fromArray(e._names.toArray(),!0),i=n._sources=o.fromArray(e._sources.toArray(),!0);n.sourceRoot=e._sourceRoot,n.sourcesContent=e._generateSourcesContent(n._sources.toArray(),n.sourceRoot),n.file=e._file,n._sourceMapURL=t,n._absoluteSources=n._sources.toArray().map((function(e){return r.computeSourceURL(n.sourceRoot,e,t)}));for(var l=e._mappings.toArray().slice(),d=n.__generatedMappings=[],p=n.__originalMappings=[],h=0,f=l.length;h<f;h++){var _=l[h],m=new u;m.generatedLine=_.generatedLine,m.generatedColumn=_.generatedColumn,_.source&&(m.source=i.indexOf(_.source),m.originalLine=_.originalLine,m.originalColumn=_.originalColumn,_.name&&(m.name=s.indexOf(_.name)),p.push(m)),d.push(m)}return a(n.__originalMappings,r.compareByOriginalPositions),n},c.prototype._version=3,Object.defineProperty(c.prototype,"sources",{get:function(){return this._absoluteSources.slice()}}),c.prototype._parseMappings=function(e,t){for(var n,s,o,l,c,d=1,p=0,h=0,f=0,_=0,m=0,g=e.length,y=0,v={},E={},b=[],S=[];y<g;)if(";"===e.charAt(y))d++,y++,p=0;else if(","===e.charAt(y))y++;else{for((n=new u).generatedLine=d,l=y;l<g&&!this._charIsMappingSeparator(e,l);l++);if(o=v[s=e.slice(y,l)])y+=s.length;else{for(o=[];y<l;)i.decode(e,y,E),c=E.value,y=E.rest,o.push(c);if(2===o.length)throw new Error("Found a source, but no line and column");if(3===o.length)throw new Error("Found a source and line, but no column");v[s]=o}n.generatedColumn=p+o[0],p=n.generatedColumn,o.length>1&&(n.source=_+o[1],_+=o[1],n.originalLine=h+o[2],h=n.originalLine,n.originalLine+=1,n.originalColumn=f+o[3],f=n.originalColumn,o.length>4&&(n.name=m+o[4],m+=o[4])),S.push(n),"number"==typeof n.originalLine&&b.push(n)}a(S,r.compareByGeneratedPositionsDeflated),this.__generatedMappings=S,a(b,r.compareByOriginalPositions),this.__originalMappings=b},c.prototype._findMapping=function(e,t,n,r,o,i){if(e[n]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+e[n]);if(e[r]<0)throw new TypeError("Column must be greater than or equal to 0, got "+e[r]);return s.search(e,t,o,i)},c.prototype.computeColumnSpans=function(){for(var e=0;e<this._generatedMappings.length;++e){var t=this._generatedMappings[e];if(e+1<this._generatedMappings.length){var n=this._generatedMappings[e+1];if(t.generatedLine===n.generatedLine){t.lastGeneratedColumn=n.generatedColumn-1;continue}}t.lastGeneratedColumn=1/0}},c.prototype.originalPositionFor=function(e){var t={generatedLine:r.getArg(e,"line"),generatedColumn:r.getArg(e,"column")},n=this._findMapping(t,this._generatedMappings,"generatedLine","generatedColumn",r.compareByGeneratedPositionsDeflated,r.getArg(e,"bias",l.GREATEST_LOWER_BOUND));if(n>=0){var s=this._generatedMappings[n];if(s.generatedLine===t.generatedLine){var o=r.getArg(s,"source",null);null!==o&&(o=this._sources.at(o),o=r.computeSourceURL(this.sourceRoot,o,this._sourceMapURL));var i=r.getArg(s,"name",null);return null!==i&&(i=this._names.at(i)),{source:o,line:r.getArg(s,"originalLine",null),column:r.getArg(s,"originalColumn",null),name:i}}}return{source:null,line:null,column:null,name:null}},c.prototype.hasContentsOfAllSources=function(){return!!this.sourcesContent&&this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some((function(e){return null==e}))},c.prototype.sourceContentFor=function(e,t){if(!this.sourcesContent)return null;var n=this._findSourceIndex(e);if(n>=0)return this.sourcesContent[n];var s,o=e;if(null!=this.sourceRoot&&(o=r.relative(this.sourceRoot,o)),null!=this.sourceRoot&&(s=r.urlParse(this.sourceRoot))){var i=o.replace(/^file:\/\//,"");if("file"==s.scheme&&this._sources.has(i))return this.sourcesContent[this._sources.indexOf(i)];if((!s.path||"/"==s.path)&&this._sources.has("/"+o))return this.sourcesContent[this._sources.indexOf("/"+o)]}if(t)return null;throw new Error('"'+o+'" is not in the SourceMap.')},c.prototype.generatedPositionFor=function(e){var t=r.getArg(e,"source");if((t=this._findSourceIndex(t))<0)return{line:null,column:null,lastColumn:null};var n={source:t,originalLine:r.getArg(e,"line"),originalColumn:r.getArg(e,"column")},s=this._findMapping(n,this._originalMappings,"originalLine","originalColumn",r.compareByOriginalPositions,r.getArg(e,"bias",l.GREATEST_LOWER_BOUND));if(s>=0){var o=this._originalMappings[s];if(o.source===n.source)return{line:r.getArg(o,"generatedLine",null),column:r.getArg(o,"generatedColumn",null),lastColumn:r.getArg(o,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}},d.prototype=Object.create(l.prototype),d.prototype.constructor=l,d.prototype._version=3,Object.defineProperty(d.prototype,"sources",{get:function(){for(var e=[],t=0;t<this._sections.length;t++)for(var n=0;n<this._sections[t].consumer.sources.length;n++)e.push(this._sections[t].consumer.sources[n]);return e}}),d.prototype.originalPositionFor=function(e){var t={generatedLine:r.getArg(e,"line"),generatedColumn:r.getArg(e,"column")},n=s.search(t,this._sections,(function(e,t){return e.generatedLine-t.generatedOffset.generatedLine||e.generatedColumn-t.generatedOffset.generatedColumn})),o=this._sections[n];return o?o.consumer.originalPositionFor({line:t.generatedLine-(o.generatedOffset.generatedLine-1),column:t.generatedColumn-(o.generatedOffset.generatedLine===t.generatedLine?o.generatedOffset.generatedColumn-1:0),bias:e.bias}):{source:null,line:null,column:null,name:null}},d.prototype.hasContentsOfAllSources=function(){return this._sections.every((function(e){return e.consumer.hasContentsOfAllSources()}))},d.prototype.sourceContentFor=function(e,t){for(var n=0;n<this._sections.length;n++){var r=this._sections[n].consumer.sourceContentFor(e,!0);if(r)return r}if(t)return null;throw new Error('"'+e+'" is not in the SourceMap.')},d.prototype.generatedPositionFor=function(e){for(var t=0;t<this._sections.length;t++){var n=this._sections[t];if(-1!==n.consumer._findSourceIndex(r.getArg(e,"source"))){var s=n.consumer.generatedPositionFor(e);if(s)return{line:s.line+(n.generatedOffset.generatedLine-1),column:s.column+(n.generatedOffset.generatedLine===s.line?n.generatedOffset.generatedColumn-1:0)}}}return{line:null,column:null}},d.prototype._parseMappings=function(e,t){this.__generatedMappings=[],this.__originalMappings=[];for(var n=0;n<this._sections.length;n++)for(var s=this._sections[n],o=s.consumer._generatedMappings,i=0;i<o.length;i++){var l=o[i],c=s.consumer._sources.at(l.source);c=r.computeSourceURL(s.consumer.sourceRoot,c,this._sourceMapURL),this._sources.add(c),c=this._sources.indexOf(c);var u=null;l.name&&(u=s.consumer._names.at(l.name),this._names.add(u),u=this._names.indexOf(u));var d={source:c,generatedLine:l.generatedLine+(s.generatedOffset.generatedLine-1),generatedColumn:l.generatedColumn+(s.generatedOffset.generatedLine===l.generatedLine?s.generatedOffset.generatedColumn-1:0),originalLine:l.originalLine,originalColumn:l.originalColumn,name:u};this.__generatedMappings.push(d),"number"==typeof d.originalLine&&this.__originalMappings.push(d)}a(this.__generatedMappings,r.compareByGeneratedPositionsDeflated),a(this.__originalMappings,r.compareByOriginalPositions)}},380:(e,t,n)=>{var r=n(28),s=n(107),o=n(245).I,i=n(791).H;function a(e){e||(e={}),this._file=s.getArg(e,"file",null),this._sourceRoot=s.getArg(e,"sourceRoot",null),this._skipValidation=s.getArg(e,"skipValidation",!1),this._sources=new o,this._names=new o,this._mappings=new i,this._sourcesContents=null}a.prototype._version=3,a.fromSourceMap=function(e){var t=e.sourceRoot,n=new a({file:e.file,sourceRoot:t});return e.eachMapping((function(e){var r={generated:{line:e.generatedLine,column:e.generatedColumn}};null!=e.source&&(r.source=e.source,null!=t&&(r.source=s.relative(t,r.source)),r.original={line:e.originalLine,column:e.originalColumn},null!=e.name&&(r.name=e.name)),n.addMapping(r)})),e.sources.forEach((function(r){var o=r;null!==t&&(o=s.relative(t,r)),n._sources.has(o)||n._sources.add(o);var i=e.sourceContentFor(r);null!=i&&n.setSourceContent(r,i)})),n},a.prototype.addMapping=function(e){var t=s.getArg(e,"generated"),n=s.getArg(e,"original",null),r=s.getArg(e,"source",null),o=s.getArg(e,"name",null);this._skipValidation||this._validateMapping(t,n,r,o),null!=r&&(r=String(r),this._sources.has(r)||this._sources.add(r)),null!=o&&(o=String(o),this._names.has(o)||this._names.add(o)),this._mappings.add({generatedLine:t.line,generatedColumn:t.column,originalLine:null!=n&&n.line,originalColumn:null!=n&&n.column,source:r,name:o})},a.prototype.setSourceContent=function(e,t){var n=e;null!=this._sourceRoot&&(n=s.relative(this._sourceRoot,n)),null!=t?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[s.toSetString(n)]=t):this._sourcesContents&&(delete this._sourcesContents[s.toSetString(n)],0===Object.keys(this._sourcesContents).length&&(this._sourcesContents=null))},a.prototype.applySourceMap=function(e,t,n){var r=t;if(null==t){if(null==e.file)throw new Error('SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map\'s "file" property. Both were omitted.');r=e.file}var i=this._sourceRoot;null!=i&&(r=s.relative(i,r));var a=new o,l=new o;this._mappings.unsortedForEach((function(t){if(t.source===r&&null!=t.originalLine){var o=e.originalPositionFor({line:t.originalLine,column:t.originalColumn});null!=o.source&&(t.source=o.source,null!=n&&(t.source=s.join(n,t.source)),null!=i&&(t.source=s.relative(i,t.source)),t.originalLine=o.line,t.originalColumn=o.column,null!=o.name&&(t.name=o.name))}var c=t.source;null==c||a.has(c)||a.add(c);var u=t.name;null==u||l.has(u)||l.add(u)}),this),this._sources=a,this._names=l,e.sources.forEach((function(t){var r=e.sourceContentFor(t);null!=r&&(null!=n&&(t=s.join(n,t)),null!=i&&(t=s.relative(i,t)),this.setSourceContent(t,r))}),this)},a.prototype._validateMapping=function(e,t,n,r){if(t&&"number"!=typeof t.line&&"number"!=typeof t.column)throw new Error("original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.");if((!(e&&"line"in e&&"column"in e&&e.line>0&&e.column>=0)||t||n||r)&&!(e&&"line"in e&&"column"in e&&t&&"line"in t&&"column"in t&&e.line>0&&e.column>=0&&t.line>0&&t.column>=0&&n))throw new Error("Invalid mapping: "+JSON.stringify({generated:e,source:n,original:t,name:r}))},a.prototype._serializeMappings=function(){for(var e,t,n,o,i=0,a=1,l=0,c=0,u=0,d=0,p="",h=this._mappings.toArray(),f=0,_=h.length;f<_;f++){if(e="",(t=h[f]).generatedLine!==a)for(i=0;t.generatedLine!==a;)e+=";",a++;else if(f>0){if(!s.compareByGeneratedPositionsInflated(t,h[f-1]))continue;e+=","}e+=r.encode(t.generatedColumn-i),i=t.generatedColumn,null!=t.source&&(o=this._sources.indexOf(t.source),e+=r.encode(o-d),d=o,e+=r.encode(t.originalLine-1-c),c=t.originalLine-1,e+=r.encode(t.originalColumn-l),l=t.originalColumn,null!=t.name&&(n=this._names.indexOf(t.name),e+=r.encode(n-u),u=n)),p+=e}return p},a.prototype._generateSourcesContent=function(e,t){return e.map((function(e){if(!this._sourcesContents)return null;null!=t&&(e=s.relative(t,e));var n=s.toSetString(e);return Object.prototype.hasOwnProperty.call(this._sourcesContents,n)?this._sourcesContents[n]:null}),this)},a.prototype.toJSON=function(){var e={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return null!=this._file&&(e.file=this._file),null!=this._sourceRoot&&(e.sourceRoot=this._sourceRoot),this._sourcesContents&&(e.sourcesContent=this._generateSourcesContent(e.sources,e.sourceRoot)),e},a.prototype.toString=function(){return JSON.stringify(this.toJSON())},t.SourceMapGenerator=a},678:(e,t,n)=>{var r=n(380).SourceMapGenerator,s=n(107),o=/(\r?\n)/,i="$$$isSourceNode$$$";function a(e,t,n,r,s){this.children=[],this.sourceContents={},this.line=null==e?null:e,this.column=null==t?null:t,this.source=null==n?null:n,this.name=null==s?null:s,this[i]=!0,null!=r&&this.add(r)}a.fromStringWithSourceMap=function(e,t,n){var r=new a,i=e.split(o),l=0,c=function(){return e()+(e()||"");function e(){return l<i.length?i[l++]:void 0}},u=1,d=0,p=null;return t.eachMapping((function(e){if(null!==p){if(!(u<e.generatedLine)){var t=(n=i[l]||"").substr(0,e.generatedColumn-d);return i[l]=n.substr(e.generatedColumn-d),d=e.generatedColumn,h(p,t),void(p=e)}h(p,c()),u++,d=0}for(;u<e.generatedLine;)r.add(c()),u++;if(d<e.generatedColumn){var n=i[l]||"";r.add(n.substr(0,e.generatedColumn)),i[l]=n.substr(e.generatedColumn),d=e.generatedColumn}p=e}),this),l<i.length&&(p&&h(p,c()),r.add(i.splice(l).join(""))),t.sources.forEach((function(e){var o=t.sourceContentFor(e);null!=o&&(null!=n&&(e=s.join(n,e)),r.setSourceContent(e,o))})),r;function h(e,t){if(null===e||void 0===e.source)r.add(t);else{var o=n?s.join(n,e.source):e.source;r.add(new a(e.originalLine,e.originalColumn,o,t,e.name))}}},a.prototype.add=function(e){if(Array.isArray(e))e.forEach((function(e){this.add(e)}),this);else{if(!e[i]&&"string"!=typeof e)throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);e&&this.children.push(e)}return this},a.prototype.prepend=function(e){if(Array.isArray(e))for(var t=e.length-1;t>=0;t--)this.prepend(e[t]);else{if(!e[i]&&"string"!=typeof e)throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);this.children.unshift(e)}return this},a.prototype.walk=function(e){for(var t,n=0,r=this.children.length;n<r;n++)(t=this.children[n])[i]?t.walk(e):""!==t&&e(t,{source:this.source,line:this.line,column:this.column,name:this.name})},a.prototype.join=function(e){var t,n,r=this.children.length;if(r>0){for(t=[],n=0;n<r-1;n++)t.push(this.children[n]),t.push(e);t.push(this.children[n]),this.children=t}return this},a.prototype.replaceRight=function(e,t){var n=this.children[this.children.length-1];return n[i]?n.replaceRight(e,t):"string"==typeof n?this.children[this.children.length-1]=n.replace(e,t):this.children.push("".replace(e,t)),this},a.prototype.setSourceContent=function(e,t){this.sourceContents[s.toSetString(e)]=t},a.prototype.walkSourceContents=function(e){for(var t=0,n=this.children.length;t<n;t++)this.children[t][i]&&this.children[t].walkSourceContents(e);var r=Object.keys(this.sourceContents);for(t=0,n=r.length;t<n;t++)e(s.fromSetString(r[t]),this.sourceContents[r[t]])},a.prototype.toString=function(){var e="";return this.walk((function(t){e+=t})),e},a.prototype.toStringWithSourceMap=function(e){var t={code:"",line:1,column:0},n=new r(e),s=!1,o=null,i=null,a=null,l=null;return this.walk((function(e,r){t.code+=e,null!==r.source&&null!==r.line&&null!==r.column?(o===r.source&&i===r.line&&a===r.column&&l===r.name||n.addMapping({source:r.source,original:{line:r.line,column:r.column},generated:{line:t.line,column:t.column},name:r.name}),o=r.source,i=r.line,a=r.column,l=r.name,s=!0):s&&(n.addMapping({generated:{line:t.line,column:t.column}}),o=null,s=!1);for(var c=0,u=e.length;c<u;c++)10===e.charCodeAt(c)?(t.line++,t.column=0,c+1===u?(o=null,s=!1):s&&n.addMapping({source:r.source,original:{line:r.line,column:r.column},generated:{line:t.line,column:t.column},name:r.name})):t.column++})),this.walkSourceContents((function(e,t){n.setSourceContent(e,t)})),{code:t.code,map:n}},t.SourceNode=a},107:(e,t)=>{t.getArg=function(e,t,n){if(t in e)return e[t];if(3===arguments.length)return n;throw new Error('"'+t+'" is a required argument.')};var n=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,r=/^data:.+\,.+$/;function s(e){var t=e.match(n);return t?{scheme:t[1],auth:t[2],host:t[3],port:t[4],path:t[5]}:null}function o(e){var t="";return e.scheme&&(t+=e.scheme+":"),t+="//",e.auth&&(t+=e.auth+"@"),e.host&&(t+=e.host),e.port&&(t+=":"+e.port),e.path&&(t+=e.path),t}function i(e){var n=e,r=s(e);if(r){if(!r.path)return e;n=r.path}for(var i,a=t.isAbsolute(n),l=n.split(/\/+/),c=0,u=l.length-1;u>=0;u--)"."===(i=l[u])?l.splice(u,1):".."===i?c++:c>0&&(""===i?(l.splice(u+1,c),c=0):(l.splice(u,2),c--));return""===(n=l.join("/"))&&(n=a?"/":"."),r?(r.path=n,o(r)):n}function a(e,t){""===e&&(e="."),""===t&&(t=".");var n=s(t),a=s(e);if(a&&(e=a.path||"/"),n&&!n.scheme)return a&&(n.scheme=a.scheme),o(n);if(n||t.match(r))return t;if(a&&!a.host&&!a.path)return a.host=t,o(a);var l="/"===t.charAt(0)?t:i(e.replace(/\/+$/,"")+"/"+t);return a?(a.path=l,o(a)):l}t.urlParse=s,t.urlGenerate=o,t.normalize=i,t.join=a,t.isAbsolute=function(e){return"/"===e.charAt(0)||n.test(e)},t.relative=function(e,t){""===e&&(e="."),e=e.replace(/\/$/,"");for(var n=0;0!==t.indexOf(e+"/");){var r=e.lastIndexOf("/");if(r<0)return t;if((e=e.slice(0,r)).match(/^([^\/]+:\/)?\/*$/))return t;++n}return Array(n+1).join("../")+t.substr(e.length+1)};var l=!("__proto__"in Object.create(null));function c(e){return e}function u(e){if(!e)return!1;var t=e.length;if(t<9)return!1;if(95!==e.charCodeAt(t-1)||95!==e.charCodeAt(t-2)||111!==e.charCodeAt(t-3)||116!==e.charCodeAt(t-4)||111!==e.charCodeAt(t-5)||114!==e.charCodeAt(t-6)||112!==e.charCodeAt(t-7)||95!==e.charCodeAt(t-8)||95!==e.charCodeAt(t-9))return!1;for(var n=t-10;n>=0;n--)if(36!==e.charCodeAt(n))return!1;return!0}function d(e,t){return e===t?0:null===e?1:null===t?-1:e>t?1:-1}t.toSetString=l?c:function(e){return u(e)?"$"+e:e},t.fromSetString=l?c:function(e){return u(e)?e.slice(1):e},t.compareByOriginalPositions=function(e,t,n){var r=d(e.source,t.source);return 0!==r||0!=(r=e.originalLine-t.originalLine)||0!=(r=e.originalColumn-t.originalColumn)||n||0!=(r=e.generatedColumn-t.generatedColumn)||0!=(r=e.generatedLine-t.generatedLine)?r:d(e.name,t.name)},t.compareByGeneratedPositionsDeflated=function(e,t,n){var r=e.generatedLine-t.generatedLine;return 0!==r||0!=(r=e.generatedColumn-t.generatedColumn)||n||0!==(r=d(e.source,t.source))||0!=(r=e.originalLine-t.originalLine)||0!=(r=e.originalColumn-t.originalColumn)?r:d(e.name,t.name)},t.compareByGeneratedPositionsInflated=function(e,t){var n=e.generatedLine-t.generatedLine;return 0!==n||0!=(n=e.generatedColumn-t.generatedColumn)||0!==(n=d(e.source,t.source))||0!=(n=e.originalLine-t.originalLine)||0!=(n=e.originalColumn-t.originalColumn)?n:d(e.name,t.name)},t.parseSourceMapInput=function(e){return JSON.parse(e.replace(/^\)]}'[^\n]*\n/,""))},t.computeSourceURL=function(e,t,n){if(t=t||"",e&&("/"!==e[e.length-1]&&"/"!==t[0]&&(e+="/"),t=e+t),n){var r=s(n);if(!r)throw new Error("sourceMapURL could not be parsed");if(r.path){var l=r.path.lastIndexOf("/");l>=0&&(r.path=r.path.substring(0,l+1))}t=a(o(r),t)}return i(t)}},605:(e,t,n)=>{t.SourceMapGenerator=n(380).SourceMapGenerator,t.SourceMapConsumer=n(478).SourceMapConsumer,t.SourceNode=n(678).SourceNode},90:function(e,t){"use strict";var n=this&&this.__assign||function(){return n=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var s in t=arguments[n])Object.prototype.hasOwnProperty.call(t,s)&&(e[s]=t[s]);return e},n.apply(this,arguments)};t.__esModule=!0,t.WarningElement=void 0;var r=function(){function e(e){this.options=n(n({},e),{id:e.id||Math.random().toString(36).slice(2,12)})}return e.prototype.build=function(){var e=this.options.cta?'<a href="'.concat(this.options.cta.link,'" target="_blank">').concat(this.options.cta.buttonContent,"</a>"):"";this.warning=document.createElement("div"),this.warning.setAttribute("id",this.options.id);var t='\n <div class="alert alert-warning">\n <button type="button" class="close" data-dismiss="alert">×</button>\n <div class="alert-text">\n '.concat(this.options.message," ").concat(e,"\n </div>\n </div>\n");return this.warning.innerHTML=t,this.options.onClose&&this.warning.getElementsByClassName("close").item(0).addEventListener("click",this.options.onClose),this.warning},e}();t.WarningElement=r},962:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var s=Object.getOwnPropertyDescriptor(t,n);s&&!("get"in s?!t.__esModule:s.writable||s.configurable)||(s={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,s)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),s=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return s(t,e),t},i=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(s,o){function i(e){try{l(r.next(e))}catch(e){o(e)}}function a(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?s(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,a)}l((r=r.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var n,r,s,o,i={label:0,sent:function(){if(1&s[0])throw s[1];return s[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(a){return function(l){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;o&&(o=0,a[0]&&(i=0)),i;)try{if(n=1,r&&(s=2&a[0]?r.return:a[0]?r.throw||((s=r.return)&&s.call(r),0):r.next)&&!(s=s.call(r,a[1])).done)return s;switch(r=0,s&&(a=[2&a[0],s.value]),a[0]){case 0:case 1:s=a;break;case 4:return i.label++,{value:a[1],done:!1};case 5:i.label++,r=a[1],a=[0];continue;case 7:a=i.ops.pop(),i.trys.pop();continue;default:if(!((s=(s=i.trys).length>0&&s[s.length-1])||6!==a[0]&&2!==a[0])){i=0;continue}if(3===a[0]&&(!s||a[1]>s[0]&&a[1]<s[3])){i.label=a[1];break}if(6===a[0]&&i.label<s[1]){i.label=s[1],s=a;break}if(s&&i.label<s[2]){i.label=s[2],i.ops.push(a);break}s[2]&&i.ops.pop(),i.trys.pop();continue}a=t.call(e,i)}catch(e){a=[6,e],r=0}finally{n=s=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,l])}}};t.__esModule=!0;var l=o(n(503)),c=n(785),u=n(535),d=n(525);(0,c.initOnboardingClient)({apiUrl:window.psxMktgWithGoogleApiUrl,token:window.psxMktgWithGoogleTokenPsAccounts}),window.psxMktgWithGoogleOnProductionEnvironment&&l.init({dsn:window.psxMktgWithGoogleDsnSentry,allowUrls:["https://storage.googleapis.com/psxmarketing-cdn/"],sampleRate:.5,tracesSampleRate:1,initialScope:{user:{id:window.psxMktgWithGoogleShopIdPsAccounts?window.psxMktgWithGoogleShopIdPsAccounts.toString():"unknown"}},release:"dev"}),document.addEventListener("DOMContentLoaded",(function(){return i(void 0,void 0,void 0,(function(){var e;return a(this,(function(t){switch(t.label){case 0:return[4,(0,d.getListOfWarnings)(c.fetchOnboarding)];case 1:return e=t.sent(),(0,u.buildWarningMessages)(e,{isoCode:new Intl.Locale(window.i18nSettings.languageLocale).language,link:window.psxMktgWithGoogleAdminUrl}).attachBefore(document.getElementById("dashboard")),[2]}}))}))}))},525:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var s=Object.getOwnPropertyDescriptor(t,n);s&&!("get"in s?!t.__esModule:s.writable||s.configurable)||(s={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,s)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),s=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return s(t,e),t},i=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(s,o){function i(e){try{l(r.next(e))}catch(e){o(e)}}function a(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?s(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,a)}l((r=r.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var n,r,s,o,i={label:0,sent:function(){if(1&s[0])throw s[1];return s[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(a){return function(l){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;o&&(o=0,a[0]&&(i=0)),i;)try{if(n=1,r&&(s=2&a[0]?r.return:a[0]?r.throw||((s=r.return)&&s.call(r),0):r.next)&&!(s=s.call(r,a[1])).done)return s;switch(r=0,s&&(a=[2&a[0],s.value]),a[0]){case 0:case 1:s=a;break;case 4:return i.label++,{value:a[1],done:!1};case 5:i.label++,r=a[1],a=[0];continue;case 7:a=i.ops.pop(),i.trys.pop();continue;default:if(!((s=(s=i.trys).length>0&&s[s.length-1])||6!==a[0]&&2!==a[0])){i=0;continue}if(3===a[0]&&(!s||a[1]>s[0]&&a[1]<s[3])){i.label=a[1];break}if(6===a[0]&&i.label<s[1]){i.label=s[1],s=a;break}if(s&&i.label<s[2]){i.label=s[2],i.ops.push(a);break}s[2]&&i.ops.pop(),i.trys.pop();continue}a=t.call(e,i)}catch(e){a=[6,e],r=0}finally{n=s=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,l])}}};t.__esModule=!0,t.aknowledgeWarning=t.getListOfWarnings=void 0;var l=o(n(503)),c=n(235),u="".concat(Math.floor(Date.now()/1e3)),d=new l.Scope;t.getListOfWarnings=function(e){return i(void 0,void 0,void 0,(function(){return a(this,(function(t){switch(t.label){case 0:return[4,e("GET","shop-warnings",{correlationId:u,onResponse:p})];case 1:return[4,t.sent().json()];case 2:return[2,t.sent().map((function(e){return e.warningName}))]}}))}))},t.aknowledgeWarning=function(e,t){return i(void 0,void 0,void 0,(function(){return a(this,(function(n){switch(n.label){case 0:return[4,t("POST","shop-warnings/".concat(e,"/ack"),{correlationId:u,onResponse:p})];case 1:return n.sent(),[2]}}))}))};var p=function(e){return i(void 0,void 0,void 0,(function(){var t,n;return a(this,(function(r){switch(r.label){case 0:if(e.ok)return[3,5];t=new c.HttpClientError(e.statusText,e.status),r.label=1;case 1:return r.trys.push([1,3,,4]),[4,e.text()];case 2:return n=r.sent(),d.setExtra("responseContent",n),[3,4];case 3:return r.sent(),[3,4];case 4:throw d.setTransactionName(e.url),d.setTag("correlationId",u),l.captureException(t,d),t;case 5:return[2,e]}}))}))}},535:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};t.__esModule=!0,t.buildWarningMessages=t.messages=void 0;var s=r(n(2)),o=r(n(693)),i=r(n(366)),a=r(n(821)),l=r(n(925)),c=r(n(84)),u=r(n(967)),d=r(n(733)),p=r(n(438)),h=n(481),f=n(235),_=n(90),m=n(525);t.messages={de:s.default,en:o.default,es:i.default,fr:a.default,it:l.default,nl:c.default,pl:u.default,pt:d.default,ru:p.default};var g=(0,h.createI18n)({messages:t.messages,fallbackLocale:"en"});t.buildWarningMessages=function(e,t){g.global.locale=t.isoCode;var n=e.map((function(e){return new _.WarningElement({message:g.global.t("".concat(e,".message"),{link:'<a href="'.concat(t.link,'" target="_blank">'),endLink:"</a>"}).toString(),cta:{buttonContent:g.global.t("".concat(e,".ctaContent")).toString(),link:t.link},onClose:function(){(0,m.aknowledgeWarning)(e,f.fetchOnboarding),console.log("Message ".concat(e," has been acknowledged."))}}).build()}));return{elements:n,attachBefore:function(e){e.before.apply(e,n)}}}},923:function(e,t){"use strict";var n,r=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});t.__esModule=!0,t.HttpClientError=void 0;var s=function(e){function t(t,n){var r=e.call(this,t)||this;return r.code=n,r.name=r.constructor.name,r.message=t,r.code=n,r}return r(t,e),t}(Error);t.HttpClientError=s,t.default={HttpClientError:s}},785:function(e,t,n){"use strict";var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(s,o){function i(e){try{l(r.next(e))}catch(e){o(e)}}function a(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?s(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,a)}l((r=r.apply(e,t||[])).next())}))},s=this&&this.__generator||function(e,t){var n,r,s,o,i={label:0,sent:function(){if(1&s[0])throw s[1];return s[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(a){return function(l){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;o&&(o=0,a[0]&&(i=0)),i;)try{if(n=1,r&&(s=2&a[0]?r.return:a[0]?r.throw||((s=r.return)&&s.call(r),0):r.next)&&!(s=s.call(r,a[1])).done)return s;switch(r=0,s&&(a=[2&a[0],s.value]),a[0]){case 0:case 1:s=a;break;case 4:return i.label++,{value:a[1],done:!1};case 5:i.label++,r=a[1],a=[0];continue;case 7:a=i.ops.pop(),i.trys.pop();continue;default:if(!((s=(s=i.trys).length>0&&s[s.length-1])||6!==a[0]&&2!==a[0])){i=0;continue}if(3===a[0]&&(!s||a[1]>s[0]&&a[1]<s[3])){i.label=a[1];break}if(6===a[0]&&i.label<s[1]){i.label=s[1],s=a;break}if(s&&i.label<s[2]){i.label=s[2],i.ops.push(a);break}s[2]&&i.ops.pop(),i.trys.pop();continue}a=t.call(e,i)}catch(e){a=[6,e],r=0}finally{n=s=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,l])}}};t.__esModule=!0,t.fetchOnboarding=t.initOnboardingClient=t.noCorrelationIdValue=void 0;var o=n(923);t.noCorrelationIdValue="no-correlation-id-provided";var i={apiUrl:"",token:""};t.initOnboardingClient=function(e){i.apiUrl=e.apiUrl,i.token=e.token};var a=function(e){return r(void 0,void 0,void 0,(function(){return s(this,(function(t){if(!e.ok)throw new o.HttpClientError(e.statusText,e.status);return[2,e]}))}))};t.fetchOnboarding=function(e,n,o){return r(void 0,void 0,void 0,(function(){var r;return s(this,(function(s){switch(s.label){case 0:if(!i.apiUrl.length)throw new Error("Cannot call onboarding API, client is not initialized (missing URL)");if(!i.token.length)throw new Error("Cannot call onboarding API, client is not initialized (missing token)");return[4,fetch("".concat(i.apiUrl,"/").concat(n),{method:e,headers:{"Content-Type":"application/json",Accept:"application/json",Authorization:"Bearer ".concat(i.token),"x-correlation-id":(null==o?void 0:o.correlationId)||t.noCorrelationIdValue},body:(null==o?void 0:o.body)&&JSON.stringify(null==o?void 0:o.body)})];case 1:return r=s.sent(),[2,(null==o?void 0:o.onResponse)?null==o?void 0:o.onResponse(r):a(r)]}}))}))},t.default={initOnboardingClient:t.initOnboardingClient,fetchOnboarding:t.fetchOnboarding}},614:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var s in t=arguments[n])Object.prototype.hasOwnProperty.call(t,s)&&(e[s]=t[s]);return e},r.apply(this,arguments)},s=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(s,o){function i(e){try{l(r.next(e))}catch(e){o(e)}}function a(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?s(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,a)}l((r=r.apply(e,t||[])).next())}))},o=this&&this.__generator||function(e,t){var n,r,s,o,i={label:0,sent:function(){if(1&s[0])throw s[1];return s[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(a){return function(l){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;o&&(o=0,a[0]&&(i=0)),i;)try{if(n=1,r&&(s=2&a[0]?r.return:a[0]?r.throw||((s=r.return)&&s.call(r),0):r.next)&&!(s=s.call(r,a[1])).done)return s;switch(r=0,s&&(a=[2&a[0],s.value]),a[0]){case 0:case 1:s=a;break;case 4:return i.label++,{value:a[1],done:!1};case 5:i.label++,r=a[1],a=[0];continue;case 7:a=i.ops.pop(),i.trys.pop();continue;default:if(!((s=(s=i.trys).length>0&&s[s.length-1])||6!==a[0]&&2!==a[0])){i=0;continue}if(3===a[0]&&(!s||a[1]>s[0]&&a[1]<s[3])){i.label=a[1];break}if(6===a[0]&&i.label<s[1]){i.label=s[1],s=a;break}if(s&&i.label<s[2]){i.label=s[2],i.ops.push(a);break}s[2]&&i.ops.pop(),i.trys.pop();continue}a=t.call(e,i)}catch(e){a=[6,e],r=0}finally{n=s=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,l])}}};t.__esModule=!0,t.fetchShop=t.initShopClient=void 0;var i=n(923),a={shopUrl:""};t.initShopClient=function(e){a.shopUrl=e.shopUrl,a.onShopSessionLoggedOut=e.onShopSessionLoggedOut},t.fetchShop=function(e,t){return s(void 0,void 0,void 0,(function(){var n;return o(this,(function(s){switch(s.label){case 0:if(!a.shopUrl.length)throw new Error("Cannot call action ".concat(e,", API is not initialized (missing shop URL)"));return[4,fetch(a.shopUrl,{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(r({action:e},t))})];case 1:if((n=s.sent()).redirected&&-1!==n.url.indexOf("AdminLogin"))throw a.onShopSessionLoggedOut&&a.onShopSessionLoggedOut(),new i.HttpClientError("Unauthorized",401);if(!n.ok)throw new i.HttpClientError(n.statusText,n.status);return[2,n.json()]}}))}))},t.default={initShopClient:t.initShopClient,fetchShop:t.fetchShop}},235:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var s=Object.getOwnPropertyDescriptor(t,n);s&&!("get"in s?!t.__esModule:s.writable||s.configurable)||(s={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,s)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]});t.__esModule=!0,t.fetchShop=t.fetchOnboarding=t.HttpClientError=void 0,r(t,n(923),"HttpClientError"),r(t,n(785),"fetchOnboarding"),r(t,n(614),"fetchShop")},716:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(338),s=n(790),o=n(165);const i="9.2.2";let a=r.CompileErrorCodes.__EXTEND_POINT__;const l=()=>++a,c={UNEXPECTED_RETURN_TYPE:a,INVALID_ARGUMENT:l(),MUST_BE_CALL_SETUP_TOP:l(),NOT_INSLALLED:l(),NOT_AVAILABLE_IN_LEGACY_MODE:l(),REQUIRED_VALUE:l(),INVALID_VALUE:l(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:l(),NOT_INSLALLED_WITH_PROVIDE:l(),UNEXPECTED_ERROR:l(),NOT_COMPATIBLE_LEGACY_VUE_I18N:l(),BRIDGE_SUPPORT_VUE_2_ONLY:l(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:l(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:l(),__EXTEND_POINT__:l()};function u(e,...t){return r.createCompileError(e,null,void 0)}const d=o.makeSymbol("__transrateVNode"),p=o.makeSymbol("__datetimeParts"),h=o.makeSymbol("__numberParts"),f=o.makeSymbol("__setPluralRules");o.makeSymbol("__intlifyMeta");const _=o.makeSymbol("__injectWithOption");function m(e){if(!o.isObject(e))return e;for(const t in e)if(o.hasOwn(e,t))if(t.includes(".")){const n=t.split("."),r=n.length-1;let s=e;for(let e=0;e<r;e++)n[e]in s||(s[n[e]]={}),s=s[n[e]];s[n[r]]=e[t],delete e[t],o.isObject(s[n[r]])&&m(s[n[r]])}else o.isObject(e[t])&&m(e[t]);return e}function g(e,t){const{messages:n,__i18n:r,messageResolver:s,flatJson:i}=t,a=o.isPlainObject(n)?n:o.isArray(r)?{}:{[e]:{}};if(o.isArray(r)&&r.forEach((e=>{if("locale"in e&&"resource"in e){const{locale:t,resource:n}=e;t?(a[t]=a[t]||{},v(n,a[t])):v(n,a)}else o.isString(e)&&v(JSON.parse(e),a)})),null==s&&i)for(const e in a)o.hasOwn(a,e)&&m(a[e]);return a}const y=e=>!o.isObject(e)||o.isArray(e);function v(e,t){if(y(e)||y(t))throw u(c.INVALID_VALUE);for(const n in e)o.hasOwn(e,n)&&(y(e[n])||y(t[n])?t[n]=e[n]:v(e[n],t[n]))}function E(e,t,n){let r=o.isObject(t.messages)?t.messages:{};"__i18nGlobal"in n&&(r=g(e.locale.value,{messages:r,__i18n:n.__i18nGlobal}));const s=Object.keys(r);if(s.length&&s.forEach((t=>{e.mergeLocaleMessage(t,r[t])})),o.isObject(t.datetimeFormats)){const n=Object.keys(t.datetimeFormats);n.length&&n.forEach((n=>{e.mergeDateTimeFormat(n,t.datetimeFormats[n])}))}if(o.isObject(t.numberFormats)){const n=Object.keys(t.numberFormats);n.length&&n.forEach((n=>{e.mergeNumberFormat(n,t.numberFormats[n])}))}}function b(e){return s.createVNode(s.Text,null,e,0)}let S=0;function T(e){return(t,n,r,o)=>e(n,r,s.getCurrentInstance()||void 0,o)}function w(e={},t){const{__root:n}=e,a=void 0===n;let l=!o.isBoolean(e.inheritLocale)||e.inheritLocale;const m=s.ref(n&&l?n.locale.value:o.isString(e.locale)?e.locale:r.DEFAULT_LOCALE),y=s.ref(n&&l?n.fallbackLocale.value:o.isString(e.fallbackLocale)||o.isArray(e.fallbackLocale)||o.isPlainObject(e.fallbackLocale)||!1===e.fallbackLocale?e.fallbackLocale:m.value),E=s.ref(g(m.value,e)),w=s.ref(o.isPlainObject(e.datetimeFormats)?e.datetimeFormats:{[m.value]:{}}),k=s.ref(o.isPlainObject(e.numberFormats)?e.numberFormats:{[m.value]:{}});let O=n?n.missingWarn:!o.isBoolean(e.missingWarn)&&!o.isRegExp(e.missingWarn)||e.missingWarn,N=n?n.fallbackWarn:!o.isBoolean(e.fallbackWarn)&&!o.isRegExp(e.fallbackWarn)||e.fallbackWarn,C=n?n.fallbackRoot:!o.isBoolean(e.fallbackRoot)||e.fallbackRoot,x=!!e.fallbackFormat,I=o.isFunction(e.missing)?e.missing:null,A=o.isFunction(e.missing)?T(e.missing):null,R=o.isFunction(e.postTranslation)?e.postTranslation:null,L=n?n.warnHtmlMessage:!o.isBoolean(e.warnHtmlMessage)||e.warnHtmlMessage,M=!!e.escapeParameter;const D=n?n.modifiers:o.isPlainObject(e.modifiers)?e.modifiers:{};let P,F=e.pluralRules||n&&n.pluralRules;P=(()=>{a&&r.setFallbackContext(null);const t={version:i,locale:m.value,fallbackLocale:y.value,messages:E.value,modifiers:D,pluralRules:F,missing:null===A?void 0:A,missingWarn:O,fallbackWarn:N,fallbackFormat:x,unresolving:!0,postTranslation:null===R?void 0:R,warnHtmlMessage:L,escapeParameter:M,messageResolver:e.messageResolver,__meta:{framework:"vue"}};t.datetimeFormats=w.value,t.numberFormats=k.value,t.__datetimeFormatters=o.isPlainObject(P)?P.__datetimeFormatters:void 0,t.__numberFormatters=o.isPlainObject(P)?P.__numberFormatters:void 0;const n=r.createCoreContext(t);return a&&r.setFallbackContext(n),n})(),r.updateFallbackLocale(P,m.value,y.value);const U=s.computed({get:()=>m.value,set:e=>{m.value=e,P.locale=m.value}}),B=s.computed({get:()=>y.value,set:e=>{y.value=e,P.fallbackLocale=y.value,r.updateFallbackLocale(P,m.value,e)}}),j=s.computed((()=>E.value)),V=s.computed((()=>w.value)),$=s.computed((()=>k.value)),G=(e,t,s,i,a,l)=>{let d;if(m.value,y.value,E.value,w.value,k.value,d=e(P),o.isNumber(d)&&d===r.NOT_REOSLVED){const[e,r]=t();return n&&C?i(n):a(e)}if(l(d))return d;throw u(c.UNEXPECTED_RETURN_TYPE)};function H(...e){return G((t=>Reflect.apply(r.translate,null,[t,...e])),(()=>r.parseTranslateArgs(...e)),0,(t=>Reflect.apply(t.t,t,[...e])),(e=>e),(e=>o.isString(e)))}const z={normalize:function(e){return e.map((e=>o.isString(e)||o.isNumber(e)||o.isBoolean(e)?b(String(e)):e))},interpolate:e=>e,type:"vnode"};function Y(e){return E.value[e]||{}}S++,n&&o.inBrowser&&(s.watch(n.locale,(e=>{l&&(m.value=e,P.locale=e,r.updateFallbackLocale(P,m.value,y.value))})),s.watch(n.fallbackLocale,(e=>{l&&(y.value=e,P.fallbackLocale=e,r.updateFallbackLocale(P,m.value,y.value))})));const W={id:S,locale:U,fallbackLocale:B,get inheritLocale(){return l},set inheritLocale(e){l=e,e&&n&&(m.value=n.locale.value,y.value=n.fallbackLocale.value,r.updateFallbackLocale(P,m.value,y.value))},get availableLocales(){return Object.keys(E.value).sort()},messages:j,get modifiers(){return D},get pluralRules(){return F||{}},get isGlobal(){return a},get missingWarn(){return O},set missingWarn(e){O=e,P.missingWarn=O},get fallbackWarn(){return N},set fallbackWarn(e){N=e,P.fallbackWarn=N},get fallbackRoot(){return C},set fallbackRoot(e){C=e},get fallbackFormat(){return x},set fallbackFormat(e){x=e,P.fallbackFormat=x},get warnHtmlMessage(){return L},set warnHtmlMessage(e){L=e,P.warnHtmlMessage=e},get escapeParameter(){return M},set escapeParameter(e){M=e,P.escapeParameter=e},t:H,getLocaleMessage:Y,setLocaleMessage:function(e,t){E.value[e]=t,P.messages=E.value},mergeLocaleMessage:function(e,t){E.value[e]=E.value[e]||{},v(t,E.value[e]),P.messages=E.value},getPostTranslationHandler:function(){return o.isFunction(R)?R:null},setPostTranslationHandler:function(e){R=e,P.postTranslation=e},getMissingHandler:function(){return I},setMissingHandler:function(e){null!==e&&(A=T(e)),I=e,P.missing=A},[f]:function(e){F=e,P.pluralRules=F}};return W.datetimeFormats=V,W.numberFormats=$,W.rt=function(...e){const[t,n,r]=e;if(r&&!o.isObject(r))throw u(c.INVALID_ARGUMENT);return H(t,n,o.assign({resolvedMessage:!0},r||{}))},W.te=function(e,t){const n=Y(o.isString(t)?t:m.value);return null!==P.messageResolver(n,e)},W.tm=function(e){const t=function(e){let t=null;const n=r.fallbackWithLocaleChain(P,y.value,m.value);for(let r=0;r<n.length;r++){const s=E.value[n[r]]||{},o=P.messageResolver(s,e);if(null!=o){t=o;break}}return t}(e);return null!=t?t:n&&n.tm(e)||{}},W.d=function(...e){return G((t=>Reflect.apply(r.datetime,null,[t,...e])),(()=>r.parseDateTimeArgs(...e)),0,(t=>Reflect.apply(t.d,t,[...e])),(()=>r.MISSING_RESOLVE_VALUE),(e=>o.isString(e)))},W.n=function(...e){return G((t=>Reflect.apply(r.number,null,[t,...e])),(()=>r.parseNumberArgs(...e)),0,(t=>Reflect.apply(t.n,t,[...e])),(()=>r.MISSING_RESOLVE_VALUE),(e=>o.isString(e)))},W.getDateTimeFormat=function(e){return w.value[e]||{}},W.setDateTimeFormat=function(e,t){w.value[e]=t,P.datetimeFormats=w.value,r.clearDateTimeFormat(P,e,t)},W.mergeDateTimeFormat=function(e,t){w.value[e]=o.assign(w.value[e]||{},t),P.datetimeFormats=w.value,r.clearDateTimeFormat(P,e,t)},W.getNumberFormat=function(e){return k.value[e]||{}},W.setNumberFormat=function(e,t){k.value[e]=t,P.numberFormats=k.value,r.clearNumberFormat(P,e,t)},W.mergeNumberFormat=function(e,t){k.value[e]=o.assign(k.value[e]||{},t),P.numberFormats=k.value,r.clearNumberFormat(P,e,t)},W[_]=e.__injectWithOption,W[d]=function(...e){return G((t=>{let n;const s=t;try{s.processor=z,n=Reflect.apply(r.translate,null,[s,...e])}finally{s.processor=null}return n}),(()=>r.parseTranslateArgs(...e)),0,(t=>t[d](...e)),(e=>[b(e)]),(e=>o.isArray(e)))},W[p]=function(...e){return G((t=>Reflect.apply(r.datetime,null,[t,...e])),(()=>r.parseDateTimeArgs(...e)),0,(t=>t[p](...e)),(()=>[]),(e=>o.isString(e)||o.isArray(e)))},W[h]=function(...e){return G((t=>Reflect.apply(r.number,null,[t,...e])),(()=>r.parseNumberArgs(...e)),0,(t=>t[h](...e)),(()=>[]),(e=>o.isString(e)||o.isArray(e)))},W}function k(e={},t){{const t=w(function(e){const t=o.isString(e.locale)?e.locale:r.DEFAULT_LOCALE,n=o.isString(e.fallbackLocale)||o.isArray(e.fallbackLocale)||o.isPlainObject(e.fallbackLocale)||!1===e.fallbackLocale?e.fallbackLocale:t,s=o.isFunction(e.missing)?e.missing:void 0,i=!o.isBoolean(e.silentTranslationWarn)&&!o.isRegExp(e.silentTranslationWarn)||!e.silentTranslationWarn,a=!o.isBoolean(e.silentFallbackWarn)&&!o.isRegExp(e.silentFallbackWarn)||!e.silentFallbackWarn,l=!o.isBoolean(e.fallbackRoot)||e.fallbackRoot,c=!!e.formatFallbackMessages,u=o.isPlainObject(e.modifiers)?e.modifiers:{},d=e.pluralizationRules,p=o.isFunction(e.postTranslation)?e.postTranslation:void 0,h=!o.isString(e.warnHtmlInMessage)||"off"!==e.warnHtmlInMessage,f=!!e.escapeParameterHtml,_=!o.isBoolean(e.sync)||e.sync;let m=e.messages;if(o.isPlainObject(e.sharedMessages)){const t=e.sharedMessages;m=Object.keys(t).reduce(((e,n)=>{const r=e[n]||(e[n]={});return o.assign(r,t[n]),e}),m||{})}const{__i18n:g,__root:y,__injectWithOption:v}=e,E=e.datetimeFormats,b=e.numberFormats;return{locale:t,fallbackLocale:n,messages:m,flatJson:e.flatJson,datetimeFormats:E,numberFormats:b,missing:s,missingWarn:i,fallbackWarn:a,fallbackRoot:l,fallbackFormat:c,modifiers:u,pluralRules:d,postTranslation:p,warnHtmlMessage:h,escapeParameter:f,messageResolver:e.messageResolver,inheritLocale:_,__i18n:g,__root:y,__injectWithOption:v}}(e)),n={id:t.id,get locale(){return t.locale.value},set locale(e){t.locale.value=e},get fallbackLocale(){return t.fallbackLocale.value},set fallbackLocale(e){t.fallbackLocale.value=e},get messages(){return t.messages.value},get datetimeFormats(){return t.datetimeFormats.value},get numberFormats(){return t.numberFormats.value},get availableLocales(){return t.availableLocales},get formatter(){return{interpolate:()=>[]}},set formatter(e){},get missing(){return t.getMissingHandler()},set missing(e){t.setMissingHandler(e)},get silentTranslationWarn(){return o.isBoolean(t.missingWarn)?!t.missingWarn:t.missingWarn},set silentTranslationWarn(e){t.missingWarn=o.isBoolean(e)?!e:e},get silentFallbackWarn(){return o.isBoolean(t.fallbackWarn)?!t.fallbackWarn:t.fallbackWarn},set silentFallbackWarn(e){t.fallbackWarn=o.isBoolean(e)?!e:e},get modifiers(){return t.modifiers},get formatFallbackMessages(){return t.fallbackFormat},set formatFallbackMessages(e){t.fallbackFormat=e},get postTranslation(){return t.getPostTranslationHandler()},set postTranslation(e){t.setPostTranslationHandler(e)},get sync(){return t.inheritLocale},set sync(e){t.inheritLocale=e},get warnHtmlInMessage(){return t.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(e){t.warnHtmlMessage="off"!==e},get escapeParameterHtml(){return t.escapeParameter},set escapeParameterHtml(e){t.escapeParameter=e},get preserveDirectiveContent(){return!0},set preserveDirectiveContent(e){},get pluralizationRules(){return t.pluralRules||{}},__composer:t,t(...e){const[n,r,s]=e,i={};let a=null,l=null;if(!o.isString(n))throw u(c.INVALID_ARGUMENT);const d=n;return o.isString(r)?i.locale=r:o.isArray(r)?a=r:o.isPlainObject(r)&&(l=r),o.isArray(s)?a=s:o.isPlainObject(s)&&(l=s),Reflect.apply(t.t,t,[d,a||l||{},i])},rt:(...e)=>Reflect.apply(t.rt,t,[...e]),tc(...e){const[n,r,s]=e,i={plural:1};let a=null,l=null;if(!o.isString(n))throw u(c.INVALID_ARGUMENT);const d=n;return o.isString(r)?i.locale=r:o.isNumber(r)?i.plural=r:o.isArray(r)?a=r:o.isPlainObject(r)&&(l=r),o.isString(s)?i.locale=s:o.isArray(s)?a=s:o.isPlainObject(s)&&(l=s),Reflect.apply(t.t,t,[d,a||l||{},i])},te:(e,n)=>t.te(e,n),tm:e=>t.tm(e),getLocaleMessage:e=>t.getLocaleMessage(e),setLocaleMessage(e,n){t.setLocaleMessage(e,n)},mergeLocaleMessage(e,n){t.mergeLocaleMessage(e,n)},d:(...e)=>Reflect.apply(t.d,t,[...e]),getDateTimeFormat:e=>t.getDateTimeFormat(e),setDateTimeFormat(e,n){t.setDateTimeFormat(e,n)},mergeDateTimeFormat(e,n){t.mergeDateTimeFormat(e,n)},n:(...e)=>Reflect.apply(t.n,t,[...e]),getNumberFormat:e=>t.getNumberFormat(e),setNumberFormat(e,n){t.setNumberFormat(e,n)},mergeNumberFormat(e,n){t.mergeNumberFormat(e,n)},getChoiceIndex:(e,t)=>-1,__onComponentInstanceCreated(t){const{componentInstanceCreatedListener:r}=e;r&&r(t,n)}};return n}}const O={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>"parent"===e||"global"===e,default:"parent"},i18n:{type:Object}};function N(e){return s.Fragment}const C={name:"i18n-t",props:o.assign({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>o.isNumber(e)||!isNaN(e)}},O),setup(e,t){const{slots:n,attrs:r}=t,i=e.i18n||F({useScope:e.scope,__useComponent:!0});return()=>{const a=Object.keys(n).filter((e=>"_"!==e)),l={};e.locale&&(l.locale=e.locale),void 0!==e.plural&&(l.plural=o.isString(e.plural)?+e.plural:e.plural);const c=function({slots:e},t){return 1===t.length&&"default"===t[0]?(e.default?e.default():[]).reduce(((e,t)=>[...e,...o.isArray(t.children)?t.children:[t]]),[]):t.reduce(((t,n)=>{const r=e[n];return r&&(t[n]=r()),t}),{})}(t,a),u=i[d](e.keypath,c,l),p=o.assign({},r),h=o.isString(e.tag)||o.isObject(e.tag)?e.tag:N();return s.h(h,p,u)}}};function x(e,t,n,r){const{slots:i,attrs:a}=t;return()=>{const t={part:!0};let l={};e.locale&&(t.locale=e.locale),o.isString(e.format)?t.key=e.format:o.isObject(e.format)&&(o.isString(e.format.key)&&(t.key=e.format.key),l=Object.keys(e.format).reduce(((t,r)=>n.includes(r)?o.assign({},t,{[r]:e.format[r]}):t),{}));const c=r(e.value,t,l);let u=[t.key];o.isArray(c)?u=c.map(((e,t)=>{const n=i[e.type],r=n?n({[e.type]:e.value,index:t,parts:c}):[e.value];var s;return s=r,o.isArray(s)&&!o.isString(s[0])&&(r[0].key=`${e.type}-${t}`),r})):o.isString(c)&&(u=[c]);const d=o.assign({},a),p=o.isString(e.tag)||o.isObject(e.tag)?e.tag:N();return s.h(p,d,u)}}const I={name:"i18n-n",props:o.assign({value:{type:Number,required:!0},format:{type:[String,Object]}},O),setup(e,t){const n=e.i18n||F({useScope:"parent",__useComponent:!0});return x(e,t,r.NUMBER_FORMAT_OPTIONS_KEYS,((...e)=>n[h](...e)))}},A={name:"i18n-d",props:o.assign({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},O),setup(e,t){const n=e.i18n||F({useScope:"parent",__useComponent:!0});return x(e,t,r.DATETIME_FORMAT_OPTIONS_KEYS,((...e)=>n[p](...e)))}};function R(e){const t=t=>{const{instance:n,modifiers:r,value:s}=t;if(!n||!n.$)throw u(c.UNEXPECTED_ERROR);const o=function(e,t){const n=e;if("composition"===e.mode)return n.__getInstance(t)||e.global;{const r=n.__getInstance(t);return null!=r?r.__composer:e.global.__composer}}(e,n.$),i=L(s);return[Reflect.apply(o.t,o,[...M(i)]),o]};return{created:(n,r)=>{const[i,a]=t(r);o.inBrowser&&e.global===a&&(n.__i18nWatcher=s.watch(a.locale,(()=>{r.instance&&r.instance.$forceUpdate()}))),n.__composer=a,n.textContent=i},unmounted:e=>{o.inBrowser&&e.__i18nWatcher&&(e.__i18nWatcher(),e.__i18nWatcher=void 0,delete e.__i18nWatcher),e.__composer&&(e.__composer=void 0,delete e.__composer)},beforeUpdate:(e,{value:t})=>{if(e.__composer){const n=e.__composer,r=L(t);e.textContent=Reflect.apply(n.t,n,[...M(r)])}},getSSRProps:e=>{const[n]=t(e);return{textContent:n}}}}function L(e){if(o.isString(e))return{path:e};if(o.isPlainObject(e)){if(!("path"in e))throw u(c.REQUIRED_VALUE);return e}throw u(c.INVALID_VALUE)}function M(e){const{path:t,locale:n,args:r,choice:s,plural:i}=e,a={},l=r||{};return o.isString(n)&&(a.locale=n),o.isNumber(s)&&(a.plural=s),o.isNumber(i)&&(a.plural=i),[t,l,a]}function D(e,t){e.locale=t.locale||e.locale,e.fallbackLocale=t.fallbackLocale||e.fallbackLocale,e.missing=t.missing||e.missing,e.silentTranslationWarn=t.silentTranslationWarn||e.silentFallbackWarn,e.silentFallbackWarn=t.silentFallbackWarn||e.silentFallbackWarn,e.formatFallbackMessages=t.formatFallbackMessages||e.formatFallbackMessages,e.postTranslation=t.postTranslation||e.postTranslation,e.warnHtmlInMessage=t.warnHtmlInMessage||e.warnHtmlInMessage,e.escapeParameterHtml=t.escapeParameterHtml||e.escapeParameterHtml,e.sync=t.sync||e.sync,e.__composer[f](t.pluralizationRules||e.pluralizationRules);const n=g(e.locale,{messages:t.messages,__i18n:t.__i18n});return Object.keys(n).forEach((t=>e.mergeLocaleMessage(t,n[t]))),t.datetimeFormats&&Object.keys(t.datetimeFormats).forEach((n=>e.mergeDateTimeFormat(n,t.datetimeFormats[n]))),t.numberFormats&&Object.keys(t.numberFormats).forEach((n=>e.mergeNumberFormat(n,t.numberFormats[n]))),e}const P=o.makeSymbol("global-vue-i18n");function F(e={}){const t=s.getCurrentInstance();if(null==t)throw u(c.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&null!=t.appContext.app&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw u(c.NOT_INSLALLED);const n=function(e){{const t=s.inject(e.isCE?P:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw u(e.isCE?c.NOT_INSLALLED_WITH_PROVIDE:c.UNEXPECTED_ERROR);return t}}(t),i=function(e){return"composition"===e.mode?e.global:e.global.__composer}(n),a=function(e){return e.type}(t),l=function(e,t){return o.isEmptyObject(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}(e,a);if("legacy"===n.mode&&!e.__useComponent){if(!n.allowComposition)throw u(c.NOT_AVAILABLE_IN_LEGACY_MODE);return function(e,t,n,i={}){const a="local"===t,l=s.shallowRef(null);if(a&&e.proxy&&!e.proxy.$options.i18n&&!e.proxy.$options.__i18n)throw u(c.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const d=!o.isBoolean(i.inheritLocale)||i.inheritLocale,p=s.ref(a&&d?n.locale.value:o.isString(i.locale)?i.locale:r.DEFAULT_LOCALE),h=s.ref(a&&d?n.fallbackLocale.value:o.isString(i.fallbackLocale)||o.isArray(i.fallbackLocale)||o.isPlainObject(i.fallbackLocale)||!1===i.fallbackLocale?i.fallbackLocale:p.value),f=s.ref(g(p.value,i)),_=s.ref(o.isPlainObject(i.datetimeFormats)?i.datetimeFormats:{[p.value]:{}}),m=s.ref(o.isPlainObject(i.numberFormats)?i.numberFormats:{[p.value]:{}}),y=a?n.missingWarn:!o.isBoolean(i.missingWarn)&&!o.isRegExp(i.missingWarn)||i.missingWarn,v=a?n.fallbackWarn:!o.isBoolean(i.fallbackWarn)&&!o.isRegExp(i.fallbackWarn)||i.fallbackWarn,E=a?n.fallbackRoot:!o.isBoolean(i.fallbackRoot)||i.fallbackRoot,b=!!i.fallbackFormat,S=o.isFunction(i.missing)?i.missing:null,T=o.isFunction(i.postTranslation)?i.postTranslation:null,w=a?n.warnHtmlMessage:!o.isBoolean(i.warnHtmlMessage)||i.warnHtmlMessage,k=!!i.escapeParameter,O=a?n.modifiers:o.isPlainObject(i.modifiers)?i.modifiers:{},N=i.pluralRules||a&&n.pluralRules;function C(e){return p.value,h.value,f.value,_.value,m.value,e()}const x={get id(){return l.value?l.value.id:-1},locale:s.computed({get:()=>l.value?l.value.locale.value:p.value,set:e=>{l.value&&(l.value.locale.value=e),p.value=e}}),fallbackLocale:s.computed({get:()=>l.value?l.value.fallbackLocale.value:h.value,set:e=>{l.value&&(l.value.fallbackLocale.value=e),h.value=e}}),messages:s.computed((()=>l.value?l.value.messages.value:f.value)),datetimeFormats:s.computed((()=>_.value)),numberFormats:s.computed((()=>m.value)),get inheritLocale(){return l.value?l.value.inheritLocale:d},set inheritLocale(e){l.value&&(l.value.inheritLocale=e)},get availableLocales(){return l.value?l.value.availableLocales:Object.keys(f.value)},get modifiers(){return l.value?l.value.modifiers:O},get pluralRules(){return l.value?l.value.pluralRules:N},get isGlobal(){return!!l.value&&l.value.isGlobal},get missingWarn(){return l.value?l.value.missingWarn:y},set missingWarn(e){l.value&&(l.value.missingWarn=e)},get fallbackWarn(){return l.value?l.value.fallbackWarn:v},set fallbackWarn(e){l.value&&(l.value.missingWarn=e)},get fallbackRoot(){return l.value?l.value.fallbackRoot:E},set fallbackRoot(e){l.value&&(l.value.fallbackRoot=e)},get fallbackFormat(){return l.value?l.value.fallbackFormat:b},set fallbackFormat(e){l.value&&(l.value.fallbackFormat=e)},get warnHtmlMessage(){return l.value?l.value.warnHtmlMessage:w},set warnHtmlMessage(e){l.value&&(l.value.warnHtmlMessage=e)},get escapeParameter(){return l.value?l.value.escapeParameter:k},set escapeParameter(e){l.value&&(l.value.escapeParameter=e)},t:function(...e){return l.value?C((()=>Reflect.apply(l.value.t,null,[...e]))):C((()=>""))},getPostTranslationHandler:function(){return l.value?l.value.getPostTranslationHandler():T},setPostTranslationHandler:function(e){l.value&&l.value.setPostTranslationHandler(e)},getMissingHandler:function(){return l.value?l.value.getMissingHandler():S},setMissingHandler:function(e){l.value&&l.value.setMissingHandler(e)},rt:function(...e){return l.value?Reflect.apply(l.value.rt,null,[...e]):""},d:function(...e){return l.value?C((()=>Reflect.apply(l.value.d,null,[...e]))):C((()=>""))},n:function(...e){return l.value?C((()=>Reflect.apply(l.value.n,null,[...e]))):C((()=>""))},tm:function(e){return l.value?l.value.tm(e):{}},te:function(e,t){return!!l.value&&l.value.te(e,t)},getLocaleMessage:function(e){return l.value?l.value.getLocaleMessage(e):{}},setLocaleMessage:function(e,t){l.value&&(l.value.setLocaleMessage(e,t),f.value[e]=t)},mergeLocaleMessage:function(e,t){l.value&&l.value.mergeLocaleMessage(e,t)},getDateTimeFormat:function(e){return l.value?l.value.getDateTimeFormat(e):{}},setDateTimeFormat:function(e,t){l.value&&(l.value.setDateTimeFormat(e,t),_.value[e]=t)},mergeDateTimeFormat:function(e,t){l.value&&l.value.mergeDateTimeFormat(e,t)},getNumberFormat:function(e){return l.value?l.value.getNumberFormat(e):{}},setNumberFormat:function(e,t){l.value&&(l.value.setNumberFormat(e,t),m.value[e]=t)},mergeNumberFormat:function(e,t){l.value&&l.value.mergeNumberFormat(e,t)}};return s.onBeforeMount((()=>{if(null==e.proxy||null==e.proxy.$i18n)throw u(c.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const n=l.value=e.proxy.$i18n.__composer;"global"===t?(p.value=n.locale.value,h.value=n.fallbackLocale.value,f.value=n.messages.value,_.value=n.datetimeFormats.value,m.value=n.numberFormats.value):a&&function(e){e.locale.value=p.value,e.fallbackLocale.value=h.value,Object.keys(f.value).forEach((t=>{e.mergeLocaleMessage(t,f.value[t])})),Object.keys(_.value).forEach((t=>{e.mergeDateTimeFormat(t,_.value[t])})),Object.keys(m.value).forEach((t=>{e.mergeNumberFormat(t,m.value[t])})),e.escapeParameter=k,e.fallbackFormat=b,e.fallbackRoot=E,e.fallbackWarn=v,e.missingWarn=y,e.warnHtmlMessage=w}(n)})),x}(t,l,i,e)}if("global"===l)return E(i,e,a),i;if("parent"===l){let r=function(e,t,n=!1){let r=null;const s=t.root;let o=t.parent;for(;null!=o;){const t=e;if("composition"===e.mode)r=t.__getInstance(o);else{const e=t.__getInstance(o);null!=e&&(r=e.__composer,n&&r&&!r[_]&&(r=null))}if(null!=r)break;if(s===o)break;o=o.parent}return r}(n,t,e.__useComponent);return null==r&&(r=i),r}const d=n;let p=d.__getInstance(t);if(null==p){const n=o.assign({},e);"__i18n"in a&&(n.__i18n=a.__i18n),i&&(n.__root=i),p=w(n),function(e,t,n){s.onMounted((()=>{}),t),s.onUnmounted((()=>{e.__deleteInstance(t)}),t)}(d,t),d.__setInstance(t,p)}return p}const U=["locale","fallbackLocale","availableLocales"],B=["t","rt","d","n","tm"];r.registerMessageCompiler(r.compileToFunction),r.registerMessageResolver(r.resolveValue),r.registerLocaleFallbacker(r.fallbackWithLocaleChain),t.DatetimeFormat=A,t.I18nInjectionKey=P,t.NumberFormat=I,t.Translation=C,t.VERSION=i,t.castToVueI18n=e=>{if(!("__VUE_I18N_BRIDGE__"in e))throw u(c.NOT_COMPATIBLE_LEGACY_VUE_I18N);return e},t.createI18n=function(e={},t){const n=!o.isBoolean(e.legacy)||e.legacy,r=!o.isBoolean(e.globalInjection)||e.globalInjection,i=!n||!!e.allowComposition,a=new Map,[l,d]=function(e,t,n){const r=s.effectScope();{const n=t?r.run((()=>k(e))):r.run((()=>w(e)));if(null==n)throw u(c.UNEXPECTED_ERROR);return[r,n]}}(e,n),p=o.makeSymbol("");{const e={get mode(){return n?"legacy":"composition"},get allowComposition(){return i},async install(t,...i){t.__VUE_I18N_SYMBOL__=p,t.provide(t.__VUE_I18N_SYMBOL__,e),!n&&r&&function(e,t){const n=Object.create(null);U.forEach((e=>{const r=Object.getOwnPropertyDescriptor(t,e);if(!r)throw u(c.UNEXPECTED_ERROR);const o=s.isRef(r.value)?{get:()=>r.value.value,set(e){r.value.value=e}}:{get:()=>r.get&&r.get()};Object.defineProperty(n,e,o)})),e.config.globalProperties.$i18n=n,B.forEach((n=>{const r=Object.getOwnPropertyDescriptor(t,n);if(!r||!r.value)throw u(c.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${n}`,r)}))}(t,e.global),function(e,t,...n){const r=o.isPlainObject(n[0])?n[0]:{},s=!!r.useI18nComponentName;(!o.isBoolean(r.globalInstall)||r.globalInstall)&&(e.component(s?"i18n":C.name,C),e.component(I.name,I),e.component(A.name,A)),e.directive("t",R(t))}(t,e,...i),n&&t.mixin(function(e,t,n){return{beforeCreate(){const r=s.getCurrentInstance();if(!r)throw u(c.UNEXPECTED_ERROR);const o=this.$options;if(o.i18n){const n=o.i18n;o.__i18n&&(n.__i18n=o.__i18n),n.__root=t,this===this.$root?this.$i18n=D(e,n):(n.__injectWithOption=!0,this.$i18n=k(n))}else o.__i18n?this===this.$root?this.$i18n=D(e,o):this.$i18n=k({__i18n:o.__i18n,__injectWithOption:!0,__root:t}):this.$i18n=e;o.__i18nGlobal&&E(t,o,o),e.__onComponentInstanceCreated(this.$i18n),n.__setInstance(r,this.$i18n),this.$t=(...e)=>this.$i18n.t(...e),this.$rt=(...e)=>this.$i18n.rt(...e),this.$tc=(...e)=>this.$i18n.tc(...e),this.$te=(e,t)=>this.$i18n.te(e,t),this.$d=(...e)=>this.$i18n.d(...e),this.$n=(...e)=>this.$i18n.n(...e),this.$tm=e=>this.$i18n.tm(e)},mounted(){},unmounted(){const e=s.getCurrentInstance();if(!e)throw u(c.UNEXPECTED_ERROR);delete this.$t,delete this.$rt,delete this.$tc,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,n.__deleteInstance(e),delete this.$i18n}}}(d,d.__composer,e));const a=t.unmount;t.unmount=()=>{e.dispose(),a()}},get global(){return d},dispose(){l.stop()},__instances:a,__getInstance:function(e){return a.get(e)||null},__setInstance:function(e,t){a.set(e,t)},__deleteInstance:function(e){a.delete(e)}};return e}},t.useI18n=F,t.vTDirective=R},481:(e,t,n)=>{"use strict";e.exports=n(716)},874:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(349),s=n(781),o=n(933);function i(e){var t=Object.create(null);if(e)for(var n in e)t[n]=e[n];return t.default=e,Object.freeze(t)}var a=i(s);const l=new WeakMap;function c(e,t){if(!o.isString(e)){if(!e.nodeType)return o.NOOP;e=e.innerHTML}const n=e,s=function(e){let t=l.get(null!=e?e:o.EMPTY_OBJ);return t||(t=Object.create(null),l.set(null!=e?e:o.EMPTY_OBJ,t)),t}(t),i=s[n];if(i)return i;if("#"===e[0]){const t=document.querySelector(e);e=t?t.innerHTML:""}const c=o.extend({hoistStatic:!0,onError:void 0,onWarn:o.NOOP},t);c.isCustomElement||"undefined"==typeof customElements||(c.isCustomElement=e=>!!customElements.get(e));const{code:u}=r.compile(e,c),d=new Function("Vue",u)(a);return d._rc=!0,s[n]=d}s.registerRuntimeCompiler(c),t.compile=c,Object.keys(s).forEach((function(e){"default"===e||Object.prototype.hasOwnProperty.call(t,e)||(t[e]=s[e])}))},790:(e,t,n)=>{"use strict";e.exports=n(874)},2:e=>{"use strict";e.exports=JSON.parse('{"NOT_ONBOARDED":{"message":"{link}PS Marketing with Google{endLink} is not configured. You are missing out on a lot of opportunities and visibility. It is highly recommended that you configure your synchronisation settings to maximise your benefits and enhance your online presence. Take action now to avoid missing out on valuable opportunities!","ctaContent":"Start the configuration"},"ONBOARDING_INCOMPLETE":{"message":"It appears that you have not finalised your configuration with {link}PS Marketing with Google{endLink}. This may result in limited functionality and missed opportunities. To ensure that you are fully set up and able to take advantage of all available features, please complete the configuration process as soon as possible.","ctaContent":"Finalise the configuration"}}')},693:e=>{"use strict";e.exports=JSON.parse('{"NOT_ONBOARDED":{"message":"{link}PS Marketing with Google{endLink} is not configured. You are missing out on a lot of opportunities and visibility. It is highly recommended that you configure your synchronisation settings to maximise your benefits and enhance your online presence. Take action now to avoid missing out on valuable opportunities!","ctaContent":"Start the configuration"},"ONBOARDING_INCOMPLETE":{"message":"It appears that you have not finalised your configuration with {link}PS Marketing with Google{endLink}. This may result in limited functionality and missed opportunities. To ensure that you are fully set up and able to take advantage of all available features, please complete the configuration process as soon as possible.","ctaContent":"Finalise the configuration"}}')},366:e=>{"use strict";e.exports=JSON.parse('{"NOT_ONBOARDED":{"message":"{link}PS Marketing with Google{endLink} is not configured. You are missing out on a lot of opportunities and visibility. It is highly recommended that you configure your synchronisation settings to maximise your benefits and enhance your online presence. Take action now to avoid missing out on valuable opportunities!","ctaContent":"Start the configuration"},"ONBOARDING_INCOMPLETE":{"message":"It appears that you have not finalised your configuration with {link}PS Marketing with Google{endLink}. This may result in limited functionality and missed opportunities. To ensure that you are fully set up and able to take advantage of all available features, please complete the configuration process as soon as possible.","ctaContent":"Finalise the configuration"}}')},821:e=>{"use strict";e.exports=JSON.parse('{"NOT_ONBOARDED":{"message":"{link}PS Marketing with Google{endLink} is not configured. You are missing out on a lot of opportunities and visibility. It is highly recommended that you configure your synchronisation settings to maximise your benefits and enhance your online presence. Take action now to avoid missing out on valuable opportunities!","ctaContent":"Start the configuration"},"ONBOARDING_INCOMPLETE":{"message":"It appears that you have not finalised your configuration with {link}PS Marketing with Google{endLink}. This may result in limited functionality and missed opportunities. To ensure that you are fully set up and able to take advantage of all available features, please complete the configuration process as soon as possible.","ctaContent":"Finalise the configuration"}}')},925:e=>{"use strict";e.exports=JSON.parse('{"NOT_ONBOARDED":{"message":"{link}PS Marketing with Google{endLink} is not configured. You are missing out on a lot of opportunities and visibility. It is highly recommended that you configure your synchronisation settings to maximise your benefits and enhance your online presence. Take action now to avoid missing out on valuable opportunities!","ctaContent":"Start the configuration"},"ONBOARDING_INCOMPLETE":{"message":"It appears that you have not finalised your configuration with {link}PS Marketing with Google{endLink}. This may result in limited functionality and missed opportunities. To ensure that you are fully set up and able to take advantage of all available features, please complete the configuration process as soon as possible.","ctaContent":"Finalise the configuration"}}')},84:e=>{"use strict";e.exports=JSON.parse('{"NOT_ONBOARDED":{"message":"{link}PS Marketing with Google{endLink} is not configured. You are missing out on a lot of opportunities and visibility. It is highly recommended that you configure your synchronisation settings to maximise your benefits and enhance your online presence. Take action now to avoid missing out on valuable opportunities!","ctaContent":"Start the configuration"},"ONBOARDING_INCOMPLETE":{"message":"It appears that you have not finalised your configuration with {link}PS Marketing with Google{endLink}. This may result in limited functionality and missed opportunities. To ensure that you are fully set up and able to take advantage of all available features, please complete the configuration process as soon as possible.","ctaContent":"Finalise the configuration"}}')},967:e=>{"use strict";e.exports=JSON.parse('{"NOT_ONBOARDED":{"message":"{link}PS Marketing with Google{endLink} is not configured. You are missing out on a lot of opportunities and visibility. It is highly recommended that you configure your synchronisation settings to maximise your benefits and enhance your online presence. Take action now to avoid missing out on valuable opportunities!","ctaContent":"Start the configuration"},"ONBOARDING_INCOMPLETE":{"message":"It appears that you have not finalised your configuration with {link}PS Marketing with Google{endLink}. This may result in limited functionality and missed opportunities. To ensure that you are fully set up and able to take advantage of all available features, please complete the configuration process as soon as possible.","ctaContent":"Finalise the configuration"}}')},733:e=>{"use strict";e.exports=JSON.parse('{"NOT_ONBOARDED":{"message":"{link}PS Marketing with Google{endLink} is not configured. You are missing out on a lot of opportunities and visibility. It is highly recommended that you configure your synchronisation settings to maximise your benefits and enhance your online presence. Take action now to avoid missing out on valuable opportunities!","ctaContent":"Start the configuration"},"ONBOARDING_INCOMPLETE":{"message":"It appears that you have not finalised your configuration with {link}PS Marketing with Google{endLink}. This may result in limited functionality and missed opportunities. To ensure that you are fully set up and able to take advantage of all available features, please complete the configuration process as soon as possible.","ctaContent":"Finalise the configuration"}}')},438:e=>{"use strict";e.exports=JSON.parse('{"NOT_ONBOARDED":{"message":"{link}PS Marketing with Google{endLink} is not configured. You are missing out on a lot of opportunities and visibility. It is highly recommended that you configure your synchronisation settings to maximise your benefits and enhance your online presence. Take action now to avoid missing out on valuable opportunities!","ctaContent":"Start the configuration"},"ONBOARDING_INCOMPLETE":{"message":"It appears that you have not finalised your configuration with {link}PS Marketing with Google{endLink}. This may result in limited functionality and missed opportunities. To ensure that you are fully set up and able to take advantage of all available features, please complete the configuration process as soon as possible.","ctaContent":"Finalise the configuration"}}')}},t={};function n(r){var s=t[r];if(void 0!==s)return s.exports;var o=t[r]={id:r,loaded:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.loaded=!0,o.exports}n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.hmd=e=>((e=Object.create(e)).children||(e.children=[]),Object.defineProperty(e,"exports",{enumerable:!0,set:()=>{throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+e.id)}}),e),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n(962)})();