@roqua/quby-frontend 0.9.9 → 0.9.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(function(gt,Le){typeof exports=="object"&&typeof module<"u"?Le(exports,require("react"),require("react-dom")):typeof define=="function"&&define.amd?define(["exports","react","react-dom"],Le):(gt=typeof globalThis<"u"?globalThis:gt||self,Le(gt["@roqua/quby-frontend"]={},gt.React,gt.ReactDOM))})(this,function(gt,Le,El){"use strict";var k1=Object.defineProperty;var E1=(gt,Le,El)=>Le in gt?k1(gt,Le,{enumerable:!0,configurable:!0,writable:!0,value:El}):gt[Le]=El;var Ut=(gt,Le,El)=>(E1(gt,typeof Le!="symbol"?Le+"":Le,El),El);const Tg={type:"logger",log(r){this.output("log",r)},warn(r){this.output("warn",r)},error(r){this.output("error",r)},output(r,e){console&&console[r]&&console[r].apply(console,e)}};class Bc{constructor(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.init(e,n)}init(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.prefix=n.prefix||"i18next:",this.logger=e||Tg,this.options=n,this.debug=n.debug}log(){for(var e=arguments.length,n=new Array(e),a=0;a<e;a++)n[a]=arguments[a];return this.forward(n,"log","",!0)}warn(){for(var e=arguments.length,n=new Array(e),a=0;a<e;a++)n[a]=arguments[a];return this.forward(n,"warn","",!0)}error(){for(var e=arguments.length,n=new Array(e),a=0;a<e;a++)n[a]=arguments[a];return this.forward(n,"error","")}deprecate(){for(var e=arguments.length,n=new Array(e),a=0;a<e;a++)n[a]=arguments[a];return this.forward(n,"warn","WARNING DEPRECATED: ",!0)}forward(e,n,a,o){return o&&!this.debug?null:(typeof e[0]=="string"&&(e[0]=`${a}${this.prefix} ${e[0]}`),this.logger[n](e))}create(e){return new Bc(this.logger,{prefix:`${this.prefix}:${e}:`,...this.options})}clone(e){return e=e||this.options,e.prefix=e.prefix||this.prefix,new Bc(this.logger,e)}}var ao=new Bc;class Nc{constructor(){this.observers={}}on(e,n){return e.split(" ").forEach(a=>{this.observers[a]=this.observers[a]||[],this.observers[a].push(n)}),this}off(e,n){if(this.observers[e]){if(!n){delete this.observers[e];return}this.observers[e]=this.observers[e].filter(a=>a!==n)}}emit(e){for(var n=arguments.length,a=new Array(n>1?n-1:0),o=1;o<n;o++)a[o-1]=arguments[o];this.observers[e]&&[].concat(this.observers[e]).forEach(v=>{v(...a)}),this.observers["*"]&&[].concat(this.observers["*"]).forEach(v=>{v.apply(v,[e,...a])})}}function Xu(){let r,e;const n=new Promise((a,o)=>{r=a,e=o});return n.resolve=r,n.reject=e,n}function Kf(r){return r==null?"":""+r}function Rg(r,e,n){r.forEach(a=>{e[a]&&(n[a]=e[a])})}function Fd(r,e,n){function a(v){return v&&v.indexOf("###")>-1?v.replace(/###/g,"."):v}function o(){return!r||typeof r=="string"}const d=typeof e!="string"?[].concat(e):e.split(".");for(;d.length>1;){if(o())return{};const v=a(d.shift());!r[v]&&n&&(r[v]=new n),Object.prototype.hasOwnProperty.call(r,v)?r=r[v]:r={}}return o()?{}:{obj:r,k:a(d.shift())}}function Jf(r,e,n){const{obj:a,k:o}=Fd(r,e,Object);a[o]=n}function Ig(r,e,n,a){const{obj:o,k:d}=Fd(r,e,Object);o[d]=o[d]||[],a&&(o[d]=o[d].concat(n)),a||o[d].push(n)}function jc(r,e){const{obj:n,k:a}=Fd(r,e);if(n)return n[a]}function Ag(r,e,n){const a=jc(r,n);return a!==void 0?a:jc(e,n)}function Qf(r,e,n){for(const a in e)a!=="__proto__"&&a!=="constructor"&&(a in r?typeof r[a]=="string"||r[a]instanceof String||typeof e[a]=="string"||e[a]instanceof String?n&&(r[a]=e[a]):Qf(r[a],e[a],n):r[a]=e[a]);return r}function wu(r){return r.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}var Og={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};function Mg(r){return typeof r=="string"?r.replace(/[&<>"'\/]/g,e=>Og[e]):r}const Fg=[" ",",","?","!",";"];function Pg(r,e,n){e=e||"",n=n||"";const a=Fg.filter(v=>e.indexOf(v)<0&&n.indexOf(v)<0);if(a.length===0)return!0;const o=new RegExp(`(${a.map(v=>v==="?"?"\\?":v).join("|")})`);let d=!o.test(r);if(!d){const v=r.indexOf(n);v>0&&!o.test(r.substring(0,v))&&(d=!0)}return d}function zc(r,e){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:".";if(!r)return;if(r[e])return r[e];const a=e.split(n);let o=r;for(let d=0;d<a.length;++d){if(!o||typeof o[a[d]]=="string"&&d+1<a.length)return;if(o[a[d]]===void 0){let v=2,_=a.slice(d,d+v).join(n),w=o[_];for(;w===void 0&&a.length>d+v;)v++,_=a.slice(d,d+v).join(n),w=o[_];if(w===void 0)return;if(w===null)return null;if(e.endsWith(_)){if(typeof w=="string")return w;if(_&&typeof w[_]=="string")return w[_]}const C=a.slice(d+v).join(n);return C?zc(w,C,n):void 0}o=o[a[d]]}return o}function Uc(r){return r&&r.indexOf("_")>0?r.replace("_","-"):r}class Xf extends Nc{constructor(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{ns:["translation"],defaultNS:"translation"};super(),this.data=e||{},this.options=n,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.options.ignoreJSONStructure===void 0&&(this.options.ignoreJSONStructure=!0)}addNamespaces(e){this.options.ns.indexOf(e)<0&&this.options.ns.push(e)}removeNamespaces(e){const n=this.options.ns.indexOf(e);n>-1&&this.options.ns.splice(n,1)}getResource(e,n,a){let o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const d=o.keySeparator!==void 0?o.keySeparator:this.options.keySeparator,v=o.ignoreJSONStructure!==void 0?o.ignoreJSONStructure:this.options.ignoreJSONStructure;let _=[e,n];a&&typeof a!="string"&&(_=_.concat(a)),a&&typeof a=="string"&&(_=_.concat(d?a.split(d):a)),e.indexOf(".")>-1&&(_=e.split("."));const w=jc(this.data,_);return w||!v||typeof a!="string"?w:zc(this.data&&this.data[e]&&this.data[e][n],a,d)}addResource(e,n,a,o){let d=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{silent:!1};const v=d.keySeparator!==void 0?d.keySeparator:this.options.keySeparator;let _=[e,n];a&&(_=_.concat(v?a.split(v):a)),e.indexOf(".")>-1&&(_=e.split("."),o=n,n=_[1]),this.addNamespaces(n),Jf(this.data,_,o),d.silent||this.emit("added",e,n,a,o)}addResources(e,n,a){let o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{silent:!1};for(const d in a)(typeof a[d]=="string"||Object.prototype.toString.apply(a[d])==="[object Array]")&&this.addResource(e,n,d,a[d],{silent:!0});o.silent||this.emit("added",e,n,a)}addResourceBundle(e,n,a,o,d){let v=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{silent:!1},_=[e,n];e.indexOf(".")>-1&&(_=e.split("."),o=a,a=n,n=_[1]),this.addNamespaces(n);let w=jc(this.data,_)||{};o?Qf(w,a,d):w={...w,...a},Jf(this.data,_,w),v.silent||this.emit("added",e,n,a)}removeResourceBundle(e,n){this.hasResourceBundle(e,n)&&delete this.data[e][n],this.removeNamespaces(n),this.emit("removed",e,n)}hasResourceBundle(e,n){return this.getResource(e,n)!==void 0}getResourceBundle(e,n){return n||(n=this.options.defaultNS),this.options.compatibilityAPI==="v1"?{...this.getResource(e,n)}:this.getResource(e,n)}getDataByLanguage(e){return this.data[e]}hasLanguageSomeTranslations(e){const n=this.getDataByLanguage(e);return!!(n&&Object.keys(n)||[]).find(o=>n[o]&&Object.keys(n[o]).length>0)}toJSON(){return this.data}}var qf={processors:{},addPostProcessor(r){this.processors[r.name]=r},handle(r,e,n,a,o){return r.forEach(d=>{this.processors[d]&&(e=this.processors[d].process(e,n,a,o))}),e}};const ep={};class Wc extends Nc{constructor(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};super(),Rg(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],e,this),this.options=n,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.logger=ao.create("translator")}changeLanguage(e){e&&(this.language=e)}exists(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}};if(e==null)return!1;const a=this.resolve(e,n);return a&&a.res!==void 0}extractFromKey(e,n){let a=n.nsSeparator!==void 0?n.nsSeparator:this.options.nsSeparator;a===void 0&&(a=":");const o=n.keySeparator!==void 0?n.keySeparator:this.options.keySeparator;let d=n.ns||this.options.defaultNS||[];const v=a&&e.indexOf(a)>-1,_=!this.options.userDefinedKeySeparator&&!n.keySeparator&&!this.options.userDefinedNsSeparator&&!n.nsSeparator&&!Pg(e,a,o);if(v&&!_){const w=e.match(this.interpolator.nestingRegexp);if(w&&w.length>0)return{key:e,namespaces:d};const C=e.split(a);(a!==o||a===o&&this.options.ns.indexOf(C[0])>-1)&&(d=C.shift()),e=C.join(o)}return typeof d=="string"&&(d=[d]),{key:e,namespaces:d}}translate(e,n,a){if(typeof n!="object"&&this.options.overloadTranslationOptionHandler&&(n=this.options.overloadTranslationOptionHandler(arguments)),typeof n=="object"&&(n={...n}),n||(n={}),e==null)return"";Array.isArray(e)||(e=[String(e)]);const o=n.returnDetails!==void 0?n.returnDetails:this.options.returnDetails,d=n.keySeparator!==void 0?n.keySeparator:this.options.keySeparator,{key:v,namespaces:_}=this.extractFromKey(e[e.length-1],n),w=_[_.length-1],C=n.lng||this.language,N=n.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(C&&C.toLowerCase()==="cimode"){if(N){const _e=n.nsSeparator||this.options.nsSeparator;return o?{res:`${w}${_e}${v}`,usedKey:v,exactUsedKey:v,usedLng:C,usedNS:w}:`${w}${_e}${v}`}return o?{res:v,usedKey:v,exactUsedKey:v,usedLng:C,usedNS:w}:v}const L=this.resolve(e,n);let W=L&&L.res;const ge=L&&L.usedKey||v,ae=L&&L.exactUsedKey||v,we=Object.prototype.toString.apply(W),Z=["[object Number]","[object Function]","[object RegExp]"],G=n.joinArrays!==void 0?n.joinArrays:this.options.joinArrays,pe=!this.i18nFormat||this.i18nFormat.handleAsObject;if(pe&&W&&(typeof W!="string"&&typeof W!="boolean"&&typeof W!="number")&&Z.indexOf(we)<0&&!(typeof G=="string"&&we==="[object Array]")){if(!n.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");const _e=this.options.returnedObjectHandler?this.options.returnedObjectHandler(ge,W,{...n,ns:_}):`key '${v} (${this.language})' returned an object instead of string.`;return o?(L.res=_e,L):_e}if(d){const _e=we==="[object Array]",re=_e?[]:{},Ie=_e?ae:ge;for(const Te in W)if(Object.prototype.hasOwnProperty.call(W,Te)){const Dt=`${Ie}${d}${Te}`;re[Te]=this.translate(Dt,{...n,joinArrays:!1,ns:_}),re[Te]===Dt&&(re[Te]=W[Te])}W=re}}else if(pe&&typeof G=="string"&&we==="[object Array]")W=W.join(G),W&&(W=this.extendTranslation(W,e,n,a));else{let _e=!1,re=!1;const Ie=n.count!==void 0&&typeof n.count!="string",Te=Wc.hasDefaultValue(n),Dt=Ie?this.pluralResolver.getSuffix(C,n.count,n):"",dt=n.ordinal&&Ie?this.pluralResolver.getSuffix(C,n.count,{ordinal:!1}):"",Mt=n[`defaultValue${Dt}`]||n[`defaultValue${dt}`]||n.defaultValue;!this.isValidLookup(W)&&Te&&(_e=!0,W=Mt),this.isValidLookup(W)||(re=!0,W=v);const ye=(n.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&re?void 0:W,Re=Te&&Mt!==W&&this.options.updateMissing;if(re||_e||Re){if(this.logger.log(Re?"updateKey":"missingKey",C,w,v,Re?Mt:W),d){const je=this.resolve(v,{...n,keySeparator:!1});je&&je.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}let Be=[];const Ye=this.languageUtils.getFallbackCodes(this.options.fallbackLng,n.lng||this.language);if(this.options.saveMissingTo==="fallback"&&Ye&&Ye[0])for(let je=0;je<Ye.length;je++)Be.push(Ye[je]);else this.options.saveMissingTo==="all"?Be=this.languageUtils.toResolveHierarchy(n.lng||this.language):Be.push(n.lng||this.language);const He=(je,ze,pt)=>{const oe=Te&&pt!==W?pt:ye;this.options.missingKeyHandler?this.options.missingKeyHandler(je,w,ze,oe,Re,n):this.backendConnector&&this.backendConnector.saveMissing&&this.backendConnector.saveMissing(je,w,ze,oe,Re,n),this.emit("missingKey",je,w,ze,W)};this.options.saveMissing&&(this.options.saveMissingPlurals&&Ie?Be.forEach(je=>{this.pluralResolver.getSuffixes(je,n).forEach(ze=>{He([je],v+ze,n[`defaultValue${ze}`]||Mt)})}):He(Be,v,Mt))}W=this.extendTranslation(W,e,n,L,a),re&&W===v&&this.options.appendNamespaceToMissingKey&&(W=`${w}:${v}`),(re||_e)&&this.options.parseMissingKeyHandler&&(this.options.compatibilityAPI!=="v1"?W=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${w}:${v}`:v,_e?W:void 0):W=this.options.parseMissingKeyHandler(W))}return o?(L.res=W,L):W}extendTranslation(e,n,a,o,d){var v=this;if(this.i18nFormat&&this.i18nFormat.parse)e=this.i18nFormat.parse(e,{...this.options.interpolation.defaultVariables,...a},o.usedLng,o.usedNS,o.usedKey,{resolved:o});else if(!a.skipInterpolation){a.interpolation&&this.interpolator.init({...a,interpolation:{...this.options.interpolation,...a.interpolation}});const C=typeof e=="string"&&(a&&a.interpolation&&a.interpolation.skipOnVariables!==void 0?a.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let N;if(C){const W=e.match(this.interpolator.nestingRegexp);N=W&&W.length}let L=a.replace&&typeof a.replace!="string"?a.replace:a;if(this.options.interpolation.defaultVariables&&(L={...this.options.interpolation.defaultVariables,...L}),e=this.interpolator.interpolate(e,L,a.lng||this.language,a),C){const W=e.match(this.interpolator.nestingRegexp),ge=W&&W.length;N<ge&&(a.nest=!1)}!a.lng&&this.options.compatibilityAPI!=="v1"&&o&&o.res&&(a.lng=o.usedLng),a.nest!==!1&&(e=this.interpolator.nest(e,function(){for(var W=arguments.length,ge=new Array(W),ae=0;ae<W;ae++)ge[ae]=arguments[ae];return d&&d[0]===ge[0]&&!a.context?(v.logger.warn(`It seems you are nesting recursively key: ${ge[0]} in key: ${n[0]}`),null):v.translate(...ge,n)},a)),a.interpolation&&this.interpolator.reset()}const _=a.postProcess||this.options.postProcess,w=typeof _=="string"?[_]:_;return e!=null&&w&&w.length&&a.applyPostProcessor!==!1&&(e=qf.handle(w,e,n,this.options&&this.options.postProcessPassResolved?{i18nResolved:o,...a}:a,this)),e}resolve(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a,o,d,v,_;return typeof e=="string"&&(e=[e]),e.forEach(w=>{if(this.isValidLookup(a))return;const C=this.extractFromKey(w,n),N=C.key;o=N;let L=C.namespaces;this.options.fallbackNS&&(L=L.concat(this.options.fallbackNS));const W=n.count!==void 0&&typeof n.count!="string",ge=W&&!n.ordinal&&n.count===0&&this.pluralResolver.shouldUseIntlApi(),ae=n.context!==void 0&&(typeof n.context=="string"||typeof n.context=="number")&&n.context!=="",we=n.lngs?n.lngs:this.languageUtils.toResolveHierarchy(n.lng||this.language,n.fallbackLng);L.forEach(Z=>{this.isValidLookup(a)||(_=Z,!ep[`${we[0]}-${Z}`]&&this.utils&&this.utils.hasLoadedNamespace&&!this.utils.hasLoadedNamespace(_)&&(ep[`${we[0]}-${Z}`]=!0,this.logger.warn(`key "${o}" for languages "${we.join(", ")}" won't get resolved as namespace "${_}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),we.forEach(G=>{if(this.isValidLookup(a))return;v=G;const pe=[N];if(this.i18nFormat&&this.i18nFormat.addLookupKeys)this.i18nFormat.addLookupKeys(pe,N,G,Z,n);else{let _e;W&&(_e=this.pluralResolver.getSuffix(G,n.count,n));const re=`${this.options.pluralSeparator}zero`,Ie=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(W&&(pe.push(N+_e),n.ordinal&&_e.indexOf(Ie)===0&&pe.push(N+_e.replace(Ie,this.options.pluralSeparator)),ge&&pe.push(N+re)),ae){const Te=`${N}${this.options.contextSeparator}${n.context}`;pe.push(Te),W&&(pe.push(Te+_e),n.ordinal&&_e.indexOf(Ie)===0&&pe.push(Te+_e.replace(Ie,this.options.pluralSeparator)),ge&&pe.push(Te+re))}}let Se;for(;Se=pe.pop();)this.isValidLookup(a)||(d=Se,a=this.getResource(G,Z,Se,n))}))})}),{res:a,usedKey:o,exactUsedKey:d,usedLng:v,usedNS:_}}isValidLookup(e){return e!==void 0&&!(!this.options.returnNull&&e===null)&&!(!this.options.returnEmptyString&&e==="")}getResource(e,n,a){let o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(e,n,a,o):this.resourceStore.getResource(e,n,a,o)}static hasDefaultValue(e){const n="defaultValue";for(const a in e)if(Object.prototype.hasOwnProperty.call(e,a)&&n===a.substring(0,n.length)&&e[a]!==void 0)return!0;return!1}}function Pd(r){return r.charAt(0).toUpperCase()+r.slice(1)}class tp{constructor(e){this.options=e,this.supportedLngs=this.options.supportedLngs||!1,this.logger=ao.create("languageUtils")}getScriptPartFromCode(e){if(e=Uc(e),!e||e.indexOf("-")<0)return null;const n=e.split("-");return n.length===2||(n.pop(),n[n.length-1].toLowerCase()==="x")?null:this.formatLanguageCode(n.join("-"))}getLanguagePartFromCode(e){if(e=Uc(e),!e||e.indexOf("-")<0)return e;const n=e.split("-");return this.formatLanguageCode(n[0])}formatLanguageCode(e){if(typeof e=="string"&&e.indexOf("-")>-1){const n=["hans","hant","latn","cyrl","cans","mong","arab"];let a=e.split("-");return this.options.lowerCaseLng?a=a.map(o=>o.toLowerCase()):a.length===2?(a[0]=a[0].toLowerCase(),a[1]=a[1].toUpperCase(),n.indexOf(a[1].toLowerCase())>-1&&(a[1]=Pd(a[1].toLowerCase()))):a.length===3&&(a[0]=a[0].toLowerCase(),a[1].length===2&&(a[1]=a[1].toUpperCase()),a[0]!=="sgn"&&a[2].length===2&&(a[2]=a[2].toUpperCase()),n.indexOf(a[1].toLowerCase())>-1&&(a[1]=Pd(a[1].toLowerCase())),n.indexOf(a[2].toLowerCase())>-1&&(a[2]=Pd(a[2].toLowerCase()))),a.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e}isSupportedCode(e){return(this.options.load==="languageOnly"||this.options.nonExplicitSupportedLngs)&&(e=this.getLanguagePartFromCode(e)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(e)>-1}getBestMatchFromCodes(e){if(!e)return null;let n;return e.forEach(a=>{if(n)return;const o=this.formatLanguageCode(a);(!this.options.supportedLngs||this.isSupportedCode(o))&&(n=o)}),!n&&this.options.supportedLngs&&e.forEach(a=>{if(n)return;const o=this.getLanguagePartFromCode(a);if(this.isSupportedCode(o))return n=o;n=this.options.supportedLngs.find(d=>{if(d===o)return d;if(!(d.indexOf("-")<0&&o.indexOf("-")<0)&&d.indexOf(o)===0)return d})}),n||(n=this.getFallbackCodes(this.options.fallbackLng)[0]),n}getFallbackCodes(e,n){if(!e)return[];if(typeof e=="function"&&(e=e(n)),typeof e=="string"&&(e=[e]),Object.prototype.toString.apply(e)==="[object Array]")return e;if(!n)return e.default||[];let a=e[n];return a||(a=e[this.getScriptPartFromCode(n)]),a||(a=e[this.formatLanguageCode(n)]),a||(a=e[this.getLanguagePartFromCode(n)]),a||(a=e.default),a||[]}toResolveHierarchy(e,n){const a=this.getFallbackCodes(n||this.options.fallbackLng||[],e),o=[],d=v=>{v&&(this.isSupportedCode(v)?o.push(v):this.logger.warn(`rejecting language code not found in supportedLngs: ${v}`))};return typeof e=="string"&&(e.indexOf("-")>-1||e.indexOf("_")>-1)?(this.options.load!=="languageOnly"&&d(this.formatLanguageCode(e)),this.options.load!=="languageOnly"&&this.options.load!=="currentOnly"&&d(this.getScriptPartFromCode(e)),this.options.load!=="currentOnly"&&d(this.getLanguagePartFromCode(e))):typeof e=="string"&&d(this.formatLanguageCode(e)),a.forEach(v=>{o.indexOf(v)<0&&d(this.formatLanguageCode(v))}),o}}let Dg=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kk","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],Lg={1:function(r){return+(r>1)},2:function(r){return+(r!=1)},3:function(r){return 0},4:function(r){return r%10==1&&r%100!=11?0:r%10>=2&&r%10<=4&&(r%100<10||r%100>=20)?1:2},5:function(r){return r==0?0:r==1?1:r==2?2:r%100>=3&&r%100<=10?3:r%100>=11?4:5},6:function(r){return r==1?0:r>=2&&r<=4?1:2},7:function(r){return r==1?0:r%10>=2&&r%10<=4&&(r%100<10||r%100>=20)?1:2},8:function(r){return r==1?0:r==2?1:r!=8&&r!=11?2:3},9:function(r){return+(r>=2)},10:function(r){return r==1?0:r==2?1:r<7?2:r<11?3:4},11:function(r){return r==1||r==11?0:r==2||r==12?1:r>2&&r<20?2:3},12:function(r){return+(r%10!=1||r%100==11)},13:function(r){return+(r!==0)},14:function(r){return r==1?0:r==2?1:r==3?2:3},15:function(r){return r%10==1&&r%100!=11?0:r%10>=2&&(r%100<10||r%100>=20)?1:2},16:function(r){return r%10==1&&r%100!=11?0:r!==0?1:2},17:function(r){return r==1||r%10==1&&r%100!=11?0:1},18:function(r){return r==0?0:r==1?1:2},19:function(r){return r==1?0:r==0||r%100>1&&r%100<11?1:r%100>10&&r%100<20?2:3},20:function(r){return r==1?0:r==0||r%100>0&&r%100<20?1:2},21:function(r){return r%100==1?1:r%100==2?2:r%100==3||r%100==4?3:0},22:function(r){return r==1?0:r==2?1:(r<0||r>10)&&r%10==0?2:3}};const Bg=["v1","v2","v3"],Ng=["v4"],np={zero:0,one:1,two:2,few:3,many:4,other:5};function jg(){const r={};return Dg.forEach(e=>{e.lngs.forEach(n=>{r[n]={numbers:e.nr,plurals:Lg[e.fc]}})}),r}class zg{constructor(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.languageUtils=e,this.options=n,this.logger=ao.create("pluralResolver"),(!this.options.compatibilityJSON||Ng.includes(this.options.compatibilityJSON))&&(typeof Intl>"u"||!Intl.PluralRules)&&(this.options.compatibilityJSON="v3",this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")),this.rules=jg()}addRule(e,n){this.rules[e]=n}getRule(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(this.shouldUseIntlApi())try{return new Intl.PluralRules(Uc(e),{type:n.ordinal?"ordinal":"cardinal"})}catch{return}return this.rules[e]||this.rules[this.languageUtils.getLanguagePartFromCode(e)]}needsPlural(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const a=this.getRule(e,n);return this.shouldUseIntlApi()?a&&a.resolvedOptions().pluralCategories.length>1:a&&a.numbers.length>1}getPluralFormsOfKey(e,n){let a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return this.getSuffixes(e,a).map(o=>`${n}${o}`)}getSuffixes(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const a=this.getRule(e,n);return a?this.shouldUseIntlApi()?a.resolvedOptions().pluralCategories.sort((o,d)=>np[o]-np[d]).map(o=>`${this.options.prepend}${n.ordinal?`ordinal${this.options.prepend}`:""}${o}`):a.numbers.map(o=>this.getSuffix(e,o,n)):[]}getSuffix(e,n){let a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const o=this.getRule(e,a);return o?this.shouldUseIntlApi()?`${this.options.prepend}${a.ordinal?`ordinal${this.options.prepend}`:""}${o.select(n)}`:this.getSuffixRetroCompatible(o,n):(this.logger.warn(`no plural rule found for: ${e}`),"")}getSuffixRetroCompatible(e,n){const a=e.noAbs?e.plurals(n):e.plurals(Math.abs(n));let o=e.numbers[a];this.options.simplifyPluralSuffix&&e.numbers.length===2&&e.numbers[0]===1&&(o===2?o="plural":o===1&&(o=""));const d=()=>this.options.prepend&&o.toString()?this.options.prepend+o.toString():o.toString();return this.options.compatibilityJSON==="v1"?o===1?"":typeof o=="number"?`_plural_${o.toString()}`:d():this.options.compatibilityJSON==="v2"||this.options.simplifyPluralSuffix&&e.numbers.length===2&&e.numbers[0]===1?d():this.options.prepend&&a.toString()?this.options.prepend+a.toString():a.toString()}shouldUseIntlApi(){return!Bg.includes(this.options.compatibilityJSON)}}function rp(r,e,n){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:".",o=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0,d=Ag(r,e,n);return!d&&o&&typeof n=="string"&&(d=zc(r,n,a),d===void 0&&(d=zc(e,n,a))),d}class Ug{constructor(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=ao.create("interpolator"),this.options=e,this.format=e.interpolation&&e.interpolation.format||(n=>n),this.init(e)}init(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};e.interpolation||(e.interpolation={escapeValue:!0});const n=e.interpolation;this.escape=n.escape!==void 0?n.escape:Mg,this.escapeValue=n.escapeValue!==void 0?n.escapeValue:!0,this.useRawValueToEscape=n.useRawValueToEscape!==void 0?n.useRawValueToEscape:!1,this.prefix=n.prefix?wu(n.prefix):n.prefixEscaped||"{{",this.suffix=n.suffix?wu(n.suffix):n.suffixEscaped||"}}",this.formatSeparator=n.formatSeparator?n.formatSeparator:n.formatSeparator||",",this.unescapePrefix=n.unescapeSuffix?"":n.unescapePrefix||"-",this.unescapeSuffix=this.unescapePrefix?"":n.unescapeSuffix||"",this.nestingPrefix=n.nestingPrefix?wu(n.nestingPrefix):n.nestingPrefixEscaped||wu("$t("),this.nestingSuffix=n.nestingSuffix?wu(n.nestingSuffix):n.nestingSuffixEscaped||wu(")"),this.nestingOptionsSeparator=n.nestingOptionsSeparator?n.nestingOptionsSeparator:n.nestingOptionsSeparator||",",this.maxReplaces=n.maxReplaces?n.maxReplaces:1e3,this.alwaysFormat=n.alwaysFormat!==void 0?n.alwaysFormat:!1,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){const e=`${this.prefix}(.+?)${this.suffix}`;this.regexp=new RegExp(e,"g");const n=`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`;this.regexpUnescape=new RegExp(n,"g");const a=`${this.nestingPrefix}(.+?)${this.nestingSuffix}`;this.nestingRegexp=new RegExp(a,"g")}interpolate(e,n,a,o){let d,v,_;const w=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{};function C(ae){return ae.replace(/\$/g,"$$$$")}const N=ae=>{if(ae.indexOf(this.formatSeparator)<0){const pe=rp(n,w,ae,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(pe,void 0,a,{...o,...n,interpolationkey:ae}):pe}const we=ae.split(this.formatSeparator),Z=we.shift().trim(),G=we.join(this.formatSeparator).trim();return this.format(rp(n,w,Z,this.options.keySeparator,this.options.ignoreJSONStructure),G,a,{...o,...n,interpolationkey:Z})};this.resetRegExp();const L=o&&o.missingInterpolationHandler||this.options.missingInterpolationHandler,W=o&&o.interpolation&&o.interpolation.skipOnVariables!==void 0?o.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:ae=>C(ae)},{regex:this.regexp,safeValue:ae=>this.escapeValue?C(this.escape(ae)):C(ae)}].forEach(ae=>{for(_=0;d=ae.regex.exec(e);){const we=d[1].trim();if(v=N(we),v===void 0)if(typeof L=="function"){const G=L(e,d,o);v=typeof G=="string"?G:""}else if(o&&Object.prototype.hasOwnProperty.call(o,we))v="";else if(W){v=d[0];continue}else this.logger.warn(`missed to pass in variable ${we} for interpolating ${e}`),v="";else typeof v!="string"&&!this.useRawValueToEscape&&(v=Kf(v));const Z=ae.safeValue(v);if(e=e.replace(d[0],Z),W?(ae.regex.lastIndex+=v.length,ae.regex.lastIndex-=d[0].length):ae.regex.lastIndex=0,_++,_>=this.maxReplaces)break}}),e}nest(e,n){let a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o,d,v;function _(w,C){const N=this.nestingOptionsSeparator;if(w.indexOf(N)<0)return w;const L=w.split(new RegExp(`${N}[ ]*{`));let W=`{${L[1]}`;w=L[0],W=this.interpolate(W,v);const ge=W.match(/'/g),ae=W.match(/"/g);(ge&&ge.length%2===0&&!ae||ae.length%2!==0)&&(W=W.replace(/'/g,'"'));try{v=JSON.parse(W),C&&(v={...C,...v})}catch(we){return this.logger.warn(`failed parsing options string in nesting for key ${w}`,we),`${w}${N}${W}`}return delete v.defaultValue,w}for(;o=this.nestingRegexp.exec(e);){let w=[];v={...a},v=v.replace&&typeof v.replace!="string"?v.replace:v,v.applyPostProcessor=!1,delete v.defaultValue;let C=!1;if(o[0].indexOf(this.formatSeparator)!==-1&&!/{.*}/.test(o[1])){const N=o[1].split(this.formatSeparator).map(L=>L.trim());o[1]=N.shift(),w=N,C=!0}if(d=n(_.call(this,o[1].trim(),v),v),d&&o[0]===e&&typeof d!="string")return d;typeof d!="string"&&(d=Kf(d)),d||(this.logger.warn(`missed to resolve ${o[1]} for nesting ${e}`),d=""),C&&(d=w.reduce((N,L)=>this.format(N,L,a.lng,{...a,interpolationkey:o[1].trim()}),d.trim())),e=e.replace(o[0],d),this.regexp.lastIndex=0}return e}}function Wg(r){let e=r.toLowerCase().trim();const n={};if(r.indexOf("(")>-1){const a=r.split("(");e=a[0].toLowerCase().trim();const o=a[1].substring(0,a[1].length-1);e==="currency"&&o.indexOf(":")<0?n.currency||(n.currency=o.trim()):e==="relativetime"&&o.indexOf(":")<0?n.range||(n.range=o.trim()):o.split(";").forEach(v=>{if(!v)return;const[_,...w]=v.split(":"),C=w.join(":").trim().replace(/^'+|'+$/g,"");n[_.trim()]||(n[_.trim()]=C),C==="false"&&(n[_.trim()]=!1),C==="true"&&(n[_.trim()]=!0),isNaN(C)||(n[_.trim()]=parseInt(C,10))})}return{formatName:e,formatOptions:n}}function xu(r){const e={};return function(a,o,d){const v=o+JSON.stringify(d);let _=e[v];return _||(_=r(Uc(o),d),e[v]=_),_(a)}}class Vg{constructor(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=ao.create("formatter"),this.options=e,this.formats={number:xu((n,a)=>{const o=new Intl.NumberFormat(n,{...a});return d=>o.format(d)}),currency:xu((n,a)=>{const o=new Intl.NumberFormat(n,{...a,style:"currency"});return d=>o.format(d)}),datetime:xu((n,a)=>{const o=new Intl.DateTimeFormat(n,{...a});return d=>o.format(d)}),relativetime:xu((n,a)=>{const o=new Intl.RelativeTimeFormat(n,{...a});return d=>o.format(d,a.range||"day")}),list:xu((n,a)=>{const o=new Intl.ListFormat(n,{...a});return d=>o.format(d)})},this.init(e)}init(e){const a=(arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}}).interpolation;this.formatSeparator=a.formatSeparator?a.formatSeparator:a.formatSeparator||","}add(e,n){this.formats[e.toLowerCase().trim()]=n}addCached(e,n){this.formats[e.toLowerCase().trim()]=xu(n)}format(e,n,a){let o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return n.split(this.formatSeparator).reduce((_,w)=>{const{formatName:C,formatOptions:N}=Wg(w);if(this.formats[C]){let L=_;try{const W=o&&o.formatParams&&o.formatParams[o.interpolationkey]||{},ge=W.locale||W.lng||o.locale||o.lng||a;L=this.formats[C](_,ge,{...N,...o,...W})}catch(W){this.logger.warn(W)}return L}else this.logger.warn(`there was no format function for ${C}`);return _},e)}}function Hg(r,e){r.pending[e]!==void 0&&(delete r.pending[e],r.pendingCount--)}class $g extends Nc{constructor(e,n,a){let o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};super(),this.backend=e,this.store=n,this.services=a,this.languageUtils=a.languageUtils,this.options=o,this.logger=ao.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=o.maxParallelReads||10,this.readingCalls=0,this.maxRetries=o.maxRetries>=0?o.maxRetries:5,this.retryTimeout=o.retryTimeout>=1?o.retryTimeout:350,this.state={},this.queue=[],this.backend&&this.backend.init&&this.backend.init(a,o.backend,o)}queueLoad(e,n,a,o){const d={},v={},_={},w={};return e.forEach(C=>{let N=!0;n.forEach(L=>{const W=`${C}|${L}`;!a.reload&&this.store.hasResourceBundle(C,L)?this.state[W]=2:this.state[W]<0||(this.state[W]===1?v[W]===void 0&&(v[W]=!0):(this.state[W]=1,N=!1,v[W]===void 0&&(v[W]=!0),d[W]===void 0&&(d[W]=!0),w[L]===void 0&&(w[L]=!0)))}),N||(_[C]=!0)}),(Object.keys(d).length||Object.keys(v).length)&&this.queue.push({pending:v,pendingCount:Object.keys(v).length,loaded:{},errors:[],callback:o}),{toLoad:Object.keys(d),pending:Object.keys(v),toLoadLanguages:Object.keys(_),toLoadNamespaces:Object.keys(w)}}loaded(e,n,a){const o=e.split("|"),d=o[0],v=o[1];n&&this.emit("failedLoading",d,v,n),a&&this.store.addResourceBundle(d,v,a),this.state[e]=n?-1:2;const _={};this.queue.forEach(w=>{Ig(w.loaded,[d],v),Hg(w,e),n&&w.errors.push(n),w.pendingCount===0&&!w.done&&(Object.keys(w.loaded).forEach(C=>{_[C]||(_[C]={});const N=w.loaded[C];N.length&&N.forEach(L=>{_[C][L]===void 0&&(_[C][L]=!0)})}),w.done=!0,w.errors.length?w.callback(w.errors):w.callback())}),this.emit("loaded",_),this.queue=this.queue.filter(w=>!w.done)}read(e,n,a){let o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,d=arguments.length>4&&arguments[4]!==void 0?arguments[4]:this.retryTimeout,v=arguments.length>5?arguments[5]:void 0;if(!e.length)return v(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:e,ns:n,fcName:a,tried:o,wait:d,callback:v});return}this.readingCalls++;const _=(C,N)=>{if(this.readingCalls--,this.waitingReads.length>0){const L=this.waitingReads.shift();this.read(L.lng,L.ns,L.fcName,L.tried,L.wait,L.callback)}if(C&&N&&o<this.maxRetries){setTimeout(()=>{this.read.call(this,e,n,a,o+1,d*2,v)},d);return}v(C,N)},w=this.backend[a].bind(this.backend);if(w.length===2){try{const C=w(e,n);C&&typeof C.then=="function"?C.then(N=>_(null,N)).catch(_):_(null,C)}catch(C){_(C)}return}return w(e,n,_)}prepareLoading(e,n){let a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),o&&o();typeof e=="string"&&(e=this.languageUtils.toResolveHierarchy(e)),typeof n=="string"&&(n=[n]);const d=this.queueLoad(e,n,a,o);if(!d.toLoad.length)return d.pending.length||o(),null;d.toLoad.forEach(v=>{this.loadOne(v)})}load(e,n,a){this.prepareLoading(e,n,{},a)}reload(e,n,a){this.prepareLoading(e,n,{reload:!0},a)}loadOne(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";const a=e.split("|"),o=a[0],d=a[1];this.read(o,d,"read",void 0,void 0,(v,_)=>{v&&this.logger.warn(`${n}loading namespace ${d} for language ${o} failed`,v),!v&&_&&this.logger.log(`${n}loaded namespace ${d} for language ${o}`,_),this.loaded(e,v,_)})}saveMissing(e,n,a,o,d){let v=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{},_=arguments.length>6&&arguments[6]!==void 0?arguments[6]:()=>{};if(this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(n)){this.logger.warn(`did not save key "${a}" as the namespace "${n}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");return}if(!(a==null||a==="")){if(this.backend&&this.backend.create){const w={...v,isUpdate:d},C=this.backend.create.bind(this.backend);if(C.length<6)try{let N;C.length===5?N=C(e,n,a,o,w):N=C(e,n,a,o),N&&typeof N.then=="function"?N.then(L=>_(null,L)).catch(_):_(null,N)}catch(N){_(N)}else C(e,n,a,o,_,w)}!e||!e[0]||this.store.addResource(e[0],n,a,o)}}}function ip(){return{debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:function(e){let n={};if(typeof e[1]=="object"&&(n=e[1]),typeof e[1]=="string"&&(n.defaultValue=e[1]),typeof e[2]=="string"&&(n.tDescription=e[2]),typeof e[2]=="object"||typeof e[3]=="object"){const a=e[3]||e[2];Object.keys(a).forEach(o=>{n[o]=a[o]})}return n},interpolation:{escapeValue:!0,format:(r,e,n,a)=>r,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}}function ap(r){return typeof r.ns=="string"&&(r.ns=[r.ns]),typeof r.fallbackLng=="string"&&(r.fallbackLng=[r.fallbackLng]),typeof r.fallbackNS=="string"&&(r.fallbackNS=[r.fallbackNS]),r.supportedLngs&&r.supportedLngs.indexOf("cimode")<0&&(r.supportedLngs=r.supportedLngs.concat(["cimode"])),r}function Vc(){}function Gg(r){Object.getOwnPropertyNames(Object.getPrototypeOf(r)).forEach(n=>{typeof r[n]=="function"&&(r[n]=r[n].bind(r))})}class qu extends Nc{constructor(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;if(super(),this.options=ap(e),this.services={},this.logger=ao,this.modules={external:[]},Gg(this),n&&!this.isInitialized&&!e.isClone){if(!this.options.initImmediate)return this.init(e,n),this;setTimeout(()=>{this.init(e,n)},0)}}init(){var e=this;let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},a=arguments.length>1?arguments[1]:void 0;typeof n=="function"&&(a=n,n={}),!n.defaultNS&&n.defaultNS!==!1&&n.ns&&(typeof n.ns=="string"?n.defaultNS=n.ns:n.ns.indexOf("translation")<0&&(n.defaultNS=n.ns[0]));const o=ip();this.options={...o,...this.options,...ap(n)},this.options.compatibilityAPI!=="v1"&&(this.options.interpolation={...o.interpolation,...this.options.interpolation}),n.keySeparator!==void 0&&(this.options.userDefinedKeySeparator=n.keySeparator),n.nsSeparator!==void 0&&(this.options.userDefinedNsSeparator=n.nsSeparator);function d(N){return N?typeof N=="function"?new N:N:null}if(!this.options.isClone){this.modules.logger?ao.init(d(this.modules.logger),this.options):ao.init(null,this.options);let N;this.modules.formatter?N=this.modules.formatter:typeof Intl<"u"&&(N=Vg);const L=new tp(this.options);this.store=new Xf(this.options.resources,this.options);const W=this.services;W.logger=ao,W.resourceStore=this.store,W.languageUtils=L,W.pluralResolver=new zg(L,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),N&&(!this.options.interpolation.format||this.options.interpolation.format===o.interpolation.format)&&(W.formatter=d(N),W.formatter.init(W,this.options),this.options.interpolation.format=W.formatter.format.bind(W.formatter)),W.interpolator=new Ug(this.options),W.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},W.backendConnector=new $g(d(this.modules.backend),W.resourceStore,W,this.options),W.backendConnector.on("*",function(ge){for(var ae=arguments.length,we=new Array(ae>1?ae-1:0),Z=1;Z<ae;Z++)we[Z-1]=arguments[Z];e.emit(ge,...we)}),this.modules.languageDetector&&(W.languageDetector=d(this.modules.languageDetector),W.languageDetector.init&&W.languageDetector.init(W,this.options.detection,this.options)),this.modules.i18nFormat&&(W.i18nFormat=d(this.modules.i18nFormat),W.i18nFormat.init&&W.i18nFormat.init(this)),this.translator=new Wc(this.services,this.options),this.translator.on("*",function(ge){for(var ae=arguments.length,we=new Array(ae>1?ae-1:0),Z=1;Z<ae;Z++)we[Z-1]=arguments[Z];e.emit(ge,...we)}),this.modules.external.forEach(ge=>{ge.init&&ge.init(this)})}if(this.format=this.options.interpolation.format,a||(a=Vc),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const N=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);N.length>0&&N[0]!=="dev"&&(this.options.lng=N[0])}!this.services.languageDetector&&!this.options.lng&&this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach(N=>{this[N]=function(){return e.store[N](...arguments)}}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(N=>{this[N]=function(){return e.store[N](...arguments),e}});const w=Xu(),C=()=>{const N=(L,W)=>{this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),w.resolve(W),a(L,W)};if(this.languages&&this.options.compatibilityAPI!=="v1"&&!this.isInitialized)return N(null,this.t.bind(this));this.changeLanguage(this.options.lng,N)};return this.options.resources||!this.options.initImmediate?C():setTimeout(C,0),w}loadResources(e){let a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Vc;const o=typeof e=="string"?e:this.language;if(typeof e=="function"&&(a=e),!this.options.resources||this.options.partialBundledLanguages){if(o&&o.toLowerCase()==="cimode")return a();const d=[],v=_=>{if(!_)return;this.services.languageUtils.toResolveHierarchy(_).forEach(C=>{d.indexOf(C)<0&&d.push(C)})};o?v(o):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(w=>v(w)),this.options.preload&&this.options.preload.forEach(_=>v(_)),this.services.backendConnector.load(d,this.options.ns,_=>{!_&&!this.resolvedLanguage&&this.language&&this.setResolvedLanguage(this.language),a(_)})}else a(null)}reloadResources(e,n,a){const o=Xu();return e||(e=this.languages),n||(n=this.options.ns),a||(a=Vc),this.services.backendConnector.reload(e,n,d=>{o.resolve(),a(d)}),o}use(e){if(!e)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!e.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return e.type==="backend"&&(this.modules.backend=e),(e.type==="logger"||e.log&&e.warn&&e.error)&&(this.modules.logger=e),e.type==="languageDetector"&&(this.modules.languageDetector=e),e.type==="i18nFormat"&&(this.modules.i18nFormat=e),e.type==="postProcessor"&&qf.addPostProcessor(e),e.type==="formatter"&&(this.modules.formatter=e),e.type==="3rdParty"&&this.modules.external.push(e),this}setResolvedLanguage(e){if(!(!e||!this.languages)&&!(["cimode","dev"].indexOf(e)>-1))for(let n=0;n<this.languages.length;n++){const a=this.languages[n];if(!(["cimode","dev"].indexOf(a)>-1)&&this.store.hasLanguageSomeTranslations(a)){this.resolvedLanguage=a;break}}}changeLanguage(e,n){var a=this;this.isLanguageChangingTo=e;const o=Xu();this.emit("languageChanging",e);const d=w=>{this.language=w,this.languages=this.services.languageUtils.toResolveHierarchy(w),this.resolvedLanguage=void 0,this.setResolvedLanguage(w)},v=(w,C)=>{C?(d(C),this.translator.changeLanguage(C),this.isLanguageChangingTo=void 0,this.emit("languageChanged",C),this.logger.log("languageChanged",C)):this.isLanguageChangingTo=void 0,o.resolve(function(){return a.t(...arguments)}),n&&n(w,function(){return a.t(...arguments)})},_=w=>{!e&&!w&&this.services.languageDetector&&(w=[]);const C=typeof w=="string"?w:this.services.languageUtils.getBestMatchFromCodes(w);C&&(this.language||d(C),this.translator.language||this.translator.changeLanguage(C),this.services.languageDetector&&this.services.languageDetector.cacheUserLanguage&&this.services.languageDetector.cacheUserLanguage(C)),this.loadResources(C,N=>{v(N,C)})};return!e&&this.services.languageDetector&&!this.services.languageDetector.async?_(this.services.languageDetector.detect()):!e&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect.length===0?this.services.languageDetector.detect().then(_):this.services.languageDetector.detect(_):_(e),o}getFixedT(e,n,a){var o=this;const d=function(v,_){let w;if(typeof _!="object"){for(var C=arguments.length,N=new Array(C>2?C-2:0),L=2;L<C;L++)N[L-2]=arguments[L];w=o.options.overloadTranslationOptionHandler([v,_].concat(N))}else w={..._};w.lng=w.lng||d.lng,w.lngs=w.lngs||d.lngs,w.ns=w.ns||d.ns,w.keyPrefix=w.keyPrefix||a||d.keyPrefix;const W=o.options.keySeparator||".";let ge;return w.keyPrefix&&Array.isArray(v)?ge=v.map(ae=>`${w.keyPrefix}${W}${ae}`):ge=w.keyPrefix?`${w.keyPrefix}${W}${v}`:v,o.t(ge,w)};return typeof e=="string"?d.lng=e:d.lngs=e,d.ns=n,d.keyPrefix=a,d}t(){return this.translator&&this.translator.translate(...arguments)}exists(){return this.translator&&this.translator.exists(...arguments)}setDefaultNamespace(e){this.options.defaultNS=e}hasLoadedNamespace(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;const a=n.lng||this.resolvedLanguage||this.languages[0],o=this.options?this.options.fallbackLng:!1,d=this.languages[this.languages.length-1];if(a.toLowerCase()==="cimode")return!0;const v=(_,w)=>{const C=this.services.backendConnector.state[`${_}|${w}`];return C===-1||C===2};if(n.precheck){const _=n.precheck(this,v);if(_!==void 0)return _}return!!(this.hasResourceBundle(a,e)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||v(a,e)&&(!o||v(d,e)))}loadNamespaces(e,n){const a=Xu();return this.options.ns?(typeof e=="string"&&(e=[e]),e.forEach(o=>{this.options.ns.indexOf(o)<0&&this.options.ns.push(o)}),this.loadResources(o=>{a.resolve(),n&&n(o)}),a):(n&&n(),Promise.resolve())}loadLanguages(e,n){const a=Xu();typeof e=="string"&&(e=[e]);const o=this.options.preload||[],d=e.filter(v=>o.indexOf(v)<0);return d.length?(this.options.preload=o.concat(d),this.loadResources(v=>{a.resolve(),n&&n(v)}),a):(n&&n(),Promise.resolve())}dir(e){if(e||(e=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),!e)return"rtl";const n=["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"],a=this.services&&this.services.languageUtils||new tp(ip());return n.indexOf(a.getLanguagePartFromCode(e))>-1||e.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return new qu(e,n)}cloneInstance(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Vc;const a=e.forkResourceStore;a&&delete e.forkResourceStore;const o={...this.options,...e,isClone:!0},d=new qu(o);return(e.debug!==void 0||e.prefix!==void 0)&&(d.logger=d.logger.clone(e)),["store","services","language"].forEach(_=>{d[_]=this[_]}),d.services={...this.services},d.services.utils={hasLoadedNamespace:d.hasLoadedNamespace.bind(d)},a&&(d.store=new Xf(this.store.data,o),d.services.resourceStore=d.store),d.translator=new Wc(d.services,o),d.translator.on("*",function(_){for(var w=arguments.length,C=new Array(w>1?w-1:0),N=1;N<w;N++)C[N-1]=arguments[N];d.emit(_,...C)}),d.init(o,n),d.translator.options=o,d.translator.backendConnector.services.utils={hasLoadedNamespace:d.hasLoadedNamespace.bind(d)},d}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}const cr=qu.createInstance();cr.createInstance=qu.createInstance,cr.createInstance,cr.dir,cr.init,cr.loadResources,cr.reloadResources,cr.use,cr.changeLanguage,cr.getFixedT,cr.t,cr.exists,cr.setDefaultNamespace,cr.hasLoadedNamespace,cr.loadNamespaces,cr.loadLanguages;var qn=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function op(r){return r&&r.__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r}function Zg(){if(console&&console.warn){for(var r=arguments.length,e=new Array(r),n=0;n<r;n++)e[n]=arguments[n];typeof e[0]=="string"&&(e[0]=`react-i18next:: ${e[0]}`),console.warn(...e)}}const sp={};function Dd(){for(var r=arguments.length,e=new Array(r),n=0;n<r;n++)e[n]=arguments[n];typeof e[0]=="string"&&sp[e[0]]||(typeof e[0]=="string"&&(sp[e[0]]=new Date),Zg(...e))}const lp=(r,e)=>()=>{if(r.isInitialized)e();else{const n=()=>{setTimeout(()=>{r.off("initialized",n)},0),e()};r.on("initialized",n)}};function up(r,e,n){r.loadNamespaces(e,lp(r,n))}function cp(r,e,n,a){typeof n=="string"&&(n=[n]),n.forEach(o=>{r.options.ns.indexOf(o)<0&&r.options.ns.push(o)}),r.loadLanguages(e,lp(r,a))}function Yg(r,e){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const a=e.languages[0],o=e.options?e.options.fallbackLng:!1,d=e.languages[e.languages.length-1];if(a.toLowerCase()==="cimode")return!0;const v=(_,w)=>{const C=e.services.backendConnector.state[`${_}|${w}`];return C===-1||C===2};return n.bindI18n&&n.bindI18n.indexOf("languageChanging")>-1&&e.services.backendConnector.backend&&e.isLanguageChangingTo&&!v(e.isLanguageChangingTo,r)?!1:!!(e.hasResourceBundle(a,r)||!e.services.backendConnector.backend||e.options.resources&&!e.options.partialBundledLanguages||v(a,r)&&(!o||v(d,r)))}function Kg(r,e){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return!e.languages||!e.languages.length?(Dd("i18n.languages were undefined or empty",e.languages),!0):e.options.ignoreJSONStructure!==void 0?e.hasLoadedNamespace(r,{lng:n.lng,precheck:(o,d)=>{if(n.bindI18n&&n.bindI18n.indexOf("languageChanging")>-1&&o.services.backendConnector.backend&&o.isLanguageChangingTo&&!d(o.isLanguageChangingTo,r))return!1}}):Yg(r,e,n)}const Jg=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,Qg={"&":"&","&":"&","<":"<","<":"<",">":">",">":">","'":"'","'":"'",""":'"',""":'"'," ":" "," ":" ","©":"©","©":"©","®":"®","®":"®","…":"…","…":"…","/":"/","/":"/"},Xg=r=>Qg[r];let Ld={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:r=>r.replace(Jg,Xg)};function qg(){let r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Ld={...Ld,...r}}function em(){return Ld}let dp;function tm(r){dp=r}function nm(){return dp}const rm={type:"3rdParty",init(r){qg(r.options.react),tm(r)}},im=Le.createContext();class am{constructor(){this.usedNamespaces={}}addUsedNamespaces(e){e.forEach(n=>{this.usedNamespaces[n]||(this.usedNamespaces[n]=!0)})}getUsedNamespaces(){return Object.keys(this.usedNamespaces)}}const om=(r,e)=>{const n=Le.useRef();return Le.useEffect(()=>{n.current=e?n.current:r},[r,e]),n.current};function Os(r){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{i18n:n}=e,{i18n:a,defaultNS:o}=Le.useContext(im)||{},d=n||a||nm();if(d&&!d.reportNamespaces&&(d.reportNamespaces=new am),!d){Dd("You will need to pass in an i18next instance by using initReactI18next");const Se=(re,Ie)=>typeof Ie=="string"?Ie:Ie&&typeof Ie=="object"&&typeof Ie.defaultValue=="string"?Ie.defaultValue:Array.isArray(re)?re[re.length-1]:re,_e=[Se,{},!1];return _e.t=Se,_e.i18n={},_e.ready=!1,_e}d.options.react&&d.options.react.wait!==void 0&&Dd("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");const v={...em(),...d.options.react,...e},{useSuspense:_,keyPrefix:w}=v;let C=r||o||d.options&&d.options.defaultNS;C=typeof C=="string"?[C]:C||["translation"],d.reportNamespaces.addUsedNamespaces&&d.reportNamespaces.addUsedNamespaces(C);const N=(d.isInitialized||d.initializedStoreOnce)&&C.every(Se=>Kg(Se,d,v));function L(){return d.getFixedT(e.lng||null,v.nsMode==="fallback"?C:C[0],w)}const[W,ge]=Le.useState(L);let ae=C.join();e.lng&&(ae=`${e.lng}${ae}`);const we=om(ae),Z=Le.useRef(!0);Le.useEffect(()=>{const{bindI18n:Se,bindI18nStore:_e}=v;Z.current=!0,!N&&!_&&(e.lng?cp(d,e.lng,C,()=>{Z.current&&ge(L)}):up(d,C,()=>{Z.current&&ge(L)})),N&&we&&we!==ae&&Z.current&&ge(L);function re(){Z.current&&ge(L)}return Se&&d&&d.on(Se,re),_e&&d&&d.store.on(_e,re),()=>{Z.current=!1,Se&&d&&Se.split(" ").forEach(Ie=>d.off(Ie,re)),_e&&d&&_e.split(" ").forEach(Ie=>d.store.off(Ie,re))}},[d,ae]);const G=Le.useRef(!0);Le.useEffect(()=>{Z.current&&!G.current&&ge(L),G.current=!1},[d,w]);const pe=[W,d,N];if(pe.t=W,pe.i18n=d,pe.ready=N,N||!N&&!_)return pe;throw new Promise(Se=>{e.lng?cp(d,e.lng,C,()=>Se()):up(d,C,()=>Se())})}const sm={nl:{translation:{date:{formats:{friendly_date:"%-d %B %Y (%-d-%-m-%Y)"}},step_i_of_n:"Stap %{i} van %{n}",previous:"Terug",next:"Verder",abort:"Later afmaken",previous_questionnaire:"Vorige vragenlijst",done:"Klaar",print_answers:"Print antwoorden",download_answers_pdf:"Download als PDF",pdf_download_failed_message:"Het aanmaken van de download is helaas mislukt.",questionnaire_not_completed:{heading:"Deze vragenlijst is nog niet volledig ingevuld!",explanation:"Als u de vragenlijst toch opslaat, kan het zijn dat er geen schaalscores berekend worden omdat hiervoor onvoldoende informatie voorhanden is. U kunt uw antwoorden hieronder alsnog aanvullen. Vragen die nog niet volledig zijn beantwoord, worden rood gemarkeerd.",save_anyway:"Toch opslaan"},thanks_for_filling_out:"Bedankt voor het invullen van deze vragenlijst. Uw antwoorden zijn opgeslagen.",ios_download_instruction:`Er opent een nieuw tabblad waarop de download wordt gestart.
|
|
1
|
+
(function(gt,De){typeof exports=="object"&&typeof module<"u"?De(exports,require("react"),require("react-dom")):typeof define=="function"&&define.amd?define(["exports","react","react-dom"],De):(gt=typeof globalThis<"u"?globalThis:gt||self,De(gt["@roqua/quby-frontend"]={},gt.React,gt.ReactDOM))})(this,function(gt,De,El){"use strict";var E1=Object.defineProperty;var C1=(gt,De,El)=>De in gt?E1(gt,De,{enumerable:!0,configurable:!0,writable:!0,value:El}):gt[De]=El;var jt=(gt,De,El)=>(C1(gt,typeof De!="symbol"?De+"":De,El),El);const Rg={type:"logger",log(r){this.output("log",r)},warn(r){this.output("warn",r)},error(r){this.output("error",r)},output(r,e){console&&console[r]&&console[r].apply(console,e)}};class Bc{constructor(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.init(e,n)}init(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.prefix=n.prefix||"i18next:",this.logger=e||Rg,this.options=n,this.debug=n.debug}log(){for(var e=arguments.length,n=new Array(e),a=0;a<e;a++)n[a]=arguments[a];return this.forward(n,"log","",!0)}warn(){for(var e=arguments.length,n=new Array(e),a=0;a<e;a++)n[a]=arguments[a];return this.forward(n,"warn","",!0)}error(){for(var e=arguments.length,n=new Array(e),a=0;a<e;a++)n[a]=arguments[a];return this.forward(n,"error","")}deprecate(){for(var e=arguments.length,n=new Array(e),a=0;a<e;a++)n[a]=arguments[a];return this.forward(n,"warn","WARNING DEPRECATED: ",!0)}forward(e,n,a,o){return o&&!this.debug?null:(typeof e[0]=="string"&&(e[0]=`${a}${this.prefix} ${e[0]}`),this.logger[n](e))}create(e){return new Bc(this.logger,{prefix:`${this.prefix}:${e}:`,...this.options})}clone(e){return e=e||this.options,e.prefix=e.prefix||this.prefix,new Bc(this.logger,e)}}var ao=new Bc;class Nc{constructor(){this.observers={}}on(e,n){return e.split(" ").forEach(a=>{this.observers[a]=this.observers[a]||[],this.observers[a].push(n)}),this}off(e,n){if(this.observers[e]){if(!n){delete this.observers[e];return}this.observers[e]=this.observers[e].filter(a=>a!==n)}}emit(e){for(var n=arguments.length,a=new Array(n>1?n-1:0),o=1;o<n;o++)a[o-1]=arguments[o];this.observers[e]&&[].concat(this.observers[e]).forEach(v=>{v(...a)}),this.observers["*"]&&[].concat(this.observers["*"]).forEach(v=>{v.apply(v,[e,...a])})}}function Xu(){let r,e;const n=new Promise((a,o)=>{r=a,e=o});return n.resolve=r,n.reject=e,n}function Kf(r){return r==null?"":""+r}function Ig(r,e,n){r.forEach(a=>{e[a]&&(n[a]=e[a])})}function Fd(r,e,n){function a(v){return v&&v.indexOf("###")>-1?v.replace(/###/g,"."):v}function o(){return!r||typeof r=="string"}const d=typeof e!="string"?[].concat(e):e.split(".");for(;d.length>1;){if(o())return{};const v=a(d.shift());!r[v]&&n&&(r[v]=new n),Object.prototype.hasOwnProperty.call(r,v)?r=r[v]:r={}}return o()?{}:{obj:r,k:a(d.shift())}}function Jf(r,e,n){const{obj:a,k:o}=Fd(r,e,Object);a[o]=n}function Ag(r,e,n,a){const{obj:o,k:d}=Fd(r,e,Object);o[d]=o[d]||[],a&&(o[d]=o[d].concat(n)),a||o[d].push(n)}function jc(r,e){const{obj:n,k:a}=Fd(r,e);if(n)return n[a]}function Og(r,e,n){const a=jc(r,n);return a!==void 0?a:jc(e,n)}function Qf(r,e,n){for(const a in e)a!=="__proto__"&&a!=="constructor"&&(a in r?typeof r[a]=="string"||r[a]instanceof String||typeof e[a]=="string"||e[a]instanceof String?n&&(r[a]=e[a]):Qf(r[a],e[a],n):r[a]=e[a]);return r}function wu(r){return r.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}var Mg={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};function Fg(r){return typeof r=="string"?r.replace(/[&<>"'\/]/g,e=>Mg[e]):r}const Pg=[" ",",","?","!",";"];function Dg(r,e,n){e=e||"",n=n||"";const a=Pg.filter(v=>e.indexOf(v)<0&&n.indexOf(v)<0);if(a.length===0)return!0;const o=new RegExp(`(${a.map(v=>v==="?"?"\\?":v).join("|")})`);let d=!o.test(r);if(!d){const v=r.indexOf(n);v>0&&!o.test(r.substring(0,v))&&(d=!0)}return d}function zc(r,e){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:".";if(!r)return;if(r[e])return r[e];const a=e.split(n);let o=r;for(let d=0;d<a.length;++d){if(!o||typeof o[a[d]]=="string"&&d+1<a.length)return;if(o[a[d]]===void 0){let v=2,_=a.slice(d,d+v).join(n),w=o[_];for(;w===void 0&&a.length>d+v;)v++,_=a.slice(d,d+v).join(n),w=o[_];if(w===void 0)return;if(w===null)return null;if(e.endsWith(_)){if(typeof w=="string")return w;if(_&&typeof w[_]=="string")return w[_]}const C=a.slice(d+v).join(n);return C?zc(w,C,n):void 0}o=o[a[d]]}return o}function Uc(r){return r&&r.indexOf("_")>0?r.replace("_","-"):r}class Xf extends Nc{constructor(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{ns:["translation"],defaultNS:"translation"};super(),this.data=e||{},this.options=n,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.options.ignoreJSONStructure===void 0&&(this.options.ignoreJSONStructure=!0)}addNamespaces(e){this.options.ns.indexOf(e)<0&&this.options.ns.push(e)}removeNamespaces(e){const n=this.options.ns.indexOf(e);n>-1&&this.options.ns.splice(n,1)}getResource(e,n,a){let o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const d=o.keySeparator!==void 0?o.keySeparator:this.options.keySeparator,v=o.ignoreJSONStructure!==void 0?o.ignoreJSONStructure:this.options.ignoreJSONStructure;let _=[e,n];a&&typeof a!="string"&&(_=_.concat(a)),a&&typeof a=="string"&&(_=_.concat(d?a.split(d):a)),e.indexOf(".")>-1&&(_=e.split("."));const w=jc(this.data,_);return w||!v||typeof a!="string"?w:zc(this.data&&this.data[e]&&this.data[e][n],a,d)}addResource(e,n,a,o){let d=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{silent:!1};const v=d.keySeparator!==void 0?d.keySeparator:this.options.keySeparator;let _=[e,n];a&&(_=_.concat(v?a.split(v):a)),e.indexOf(".")>-1&&(_=e.split("."),o=n,n=_[1]),this.addNamespaces(n),Jf(this.data,_,o),d.silent||this.emit("added",e,n,a,o)}addResources(e,n,a){let o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{silent:!1};for(const d in a)(typeof a[d]=="string"||Object.prototype.toString.apply(a[d])==="[object Array]")&&this.addResource(e,n,d,a[d],{silent:!0});o.silent||this.emit("added",e,n,a)}addResourceBundle(e,n,a,o,d){let v=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{silent:!1},_=[e,n];e.indexOf(".")>-1&&(_=e.split("."),o=a,a=n,n=_[1]),this.addNamespaces(n);let w=jc(this.data,_)||{};o?Qf(w,a,d):w={...w,...a},Jf(this.data,_,w),v.silent||this.emit("added",e,n,a)}removeResourceBundle(e,n){this.hasResourceBundle(e,n)&&delete this.data[e][n],this.removeNamespaces(n),this.emit("removed",e,n)}hasResourceBundle(e,n){return this.getResource(e,n)!==void 0}getResourceBundle(e,n){return n||(n=this.options.defaultNS),this.options.compatibilityAPI==="v1"?{...this.getResource(e,n)}:this.getResource(e,n)}getDataByLanguage(e){return this.data[e]}hasLanguageSomeTranslations(e){const n=this.getDataByLanguage(e);return!!(n&&Object.keys(n)||[]).find(o=>n[o]&&Object.keys(n[o]).length>0)}toJSON(){return this.data}}var qf={processors:{},addPostProcessor(r){this.processors[r.name]=r},handle(r,e,n,a,o){return r.forEach(d=>{this.processors[d]&&(e=this.processors[d].process(e,n,a,o))}),e}};const ep={};class Wc extends Nc{constructor(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};super(),Ig(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],e,this),this.options=n,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.logger=ao.create("translator")}changeLanguage(e){e&&(this.language=e)}exists(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}};if(e==null)return!1;const a=this.resolve(e,n);return a&&a.res!==void 0}extractFromKey(e,n){let a=n.nsSeparator!==void 0?n.nsSeparator:this.options.nsSeparator;a===void 0&&(a=":");const o=n.keySeparator!==void 0?n.keySeparator:this.options.keySeparator;let d=n.ns||this.options.defaultNS||[];const v=a&&e.indexOf(a)>-1,_=!this.options.userDefinedKeySeparator&&!n.keySeparator&&!this.options.userDefinedNsSeparator&&!n.nsSeparator&&!Dg(e,a,o);if(v&&!_){const w=e.match(this.interpolator.nestingRegexp);if(w&&w.length>0)return{key:e,namespaces:d};const C=e.split(a);(a!==o||a===o&&this.options.ns.indexOf(C[0])>-1)&&(d=C.shift()),e=C.join(o)}return typeof d=="string"&&(d=[d]),{key:e,namespaces:d}}translate(e,n,a){if(typeof n!="object"&&this.options.overloadTranslationOptionHandler&&(n=this.options.overloadTranslationOptionHandler(arguments)),typeof n=="object"&&(n={...n}),n||(n={}),e==null)return"";Array.isArray(e)||(e=[String(e)]);const o=n.returnDetails!==void 0?n.returnDetails:this.options.returnDetails,d=n.keySeparator!==void 0?n.keySeparator:this.options.keySeparator,{key:v,namespaces:_}=this.extractFromKey(e[e.length-1],n),w=_[_.length-1],C=n.lng||this.language,N=n.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(C&&C.toLowerCase()==="cimode"){if(N){const _e=n.nsSeparator||this.options.nsSeparator;return o?{res:`${w}${_e}${v}`,usedKey:v,exactUsedKey:v,usedLng:C,usedNS:w}:`${w}${_e}${v}`}return o?{res:v,usedKey:v,exactUsedKey:v,usedLng:C,usedNS:w}:v}const L=this.resolve(e,n);let W=L&&L.res;const ge=L&&L.usedKey||v,ae=L&&L.exactUsedKey||v,we=Object.prototype.toString.apply(W),Z=["[object Number]","[object Function]","[object RegExp]"],G=n.joinArrays!==void 0?n.joinArrays:this.options.joinArrays,pe=!this.i18nFormat||this.i18nFormat.handleAsObject;if(pe&&W&&(typeof W!="string"&&typeof W!="boolean"&&typeof W!="number")&&Z.indexOf(we)<0&&!(typeof G=="string"&&we==="[object Array]")){if(!n.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");const _e=this.options.returnedObjectHandler?this.options.returnedObjectHandler(ge,W,{...n,ns:_}):`key '${v} (${this.language})' returned an object instead of string.`;return o?(L.res=_e,L):_e}if(d){const _e=we==="[object Array]",re=_e?[]:{},Ie=_e?ae:ge;for(const Te in W)if(Object.prototype.hasOwnProperty.call(W,Te)){const Dt=`${Ie}${d}${Te}`;re[Te]=this.translate(Dt,{...n,joinArrays:!1,ns:_}),re[Te]===Dt&&(re[Te]=W[Te])}W=re}}else if(pe&&typeof G=="string"&&we==="[object Array]")W=W.join(G),W&&(W=this.extendTranslation(W,e,n,a));else{let _e=!1,re=!1;const Ie=n.count!==void 0&&typeof n.count!="string",Te=Wc.hasDefaultValue(n),Dt=Ie?this.pluralResolver.getSuffix(C,n.count,n):"",dt=n.ordinal&&Ie?this.pluralResolver.getSuffix(C,n.count,{ordinal:!1}):"",Mt=n[`defaultValue${Dt}`]||n[`defaultValue${dt}`]||n.defaultValue;!this.isValidLookup(W)&&Te&&(_e=!0,W=Mt),this.isValidLookup(W)||(re=!0,W=v);const ye=(n.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&re?void 0:W,Re=Te&&Mt!==W&&this.options.updateMissing;if(re||_e||Re){if(this.logger.log(Re?"updateKey":"missingKey",C,w,v,Re?Mt:W),d){const je=this.resolve(v,{...n,keySeparator:!1});je&&je.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}let Be=[];const Ye=this.languageUtils.getFallbackCodes(this.options.fallbackLng,n.lng||this.language);if(this.options.saveMissingTo==="fallback"&&Ye&&Ye[0])for(let je=0;je<Ye.length;je++)Be.push(Ye[je]);else this.options.saveMissingTo==="all"?Be=this.languageUtils.toResolveHierarchy(n.lng||this.language):Be.push(n.lng||this.language);const He=(je,ze,pt)=>{const oe=Te&&pt!==W?pt:ye;this.options.missingKeyHandler?this.options.missingKeyHandler(je,w,ze,oe,Re,n):this.backendConnector&&this.backendConnector.saveMissing&&this.backendConnector.saveMissing(je,w,ze,oe,Re,n),this.emit("missingKey",je,w,ze,W)};this.options.saveMissing&&(this.options.saveMissingPlurals&&Ie?Be.forEach(je=>{this.pluralResolver.getSuffixes(je,n).forEach(ze=>{He([je],v+ze,n[`defaultValue${ze}`]||Mt)})}):He(Be,v,Mt))}W=this.extendTranslation(W,e,n,L,a),re&&W===v&&this.options.appendNamespaceToMissingKey&&(W=`${w}:${v}`),(re||_e)&&this.options.parseMissingKeyHandler&&(this.options.compatibilityAPI!=="v1"?W=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${w}:${v}`:v,_e?W:void 0):W=this.options.parseMissingKeyHandler(W))}return o?(L.res=W,L):W}extendTranslation(e,n,a,o,d){var v=this;if(this.i18nFormat&&this.i18nFormat.parse)e=this.i18nFormat.parse(e,{...this.options.interpolation.defaultVariables,...a},o.usedLng,o.usedNS,o.usedKey,{resolved:o});else if(!a.skipInterpolation){a.interpolation&&this.interpolator.init({...a,interpolation:{...this.options.interpolation,...a.interpolation}});const C=typeof e=="string"&&(a&&a.interpolation&&a.interpolation.skipOnVariables!==void 0?a.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let N;if(C){const W=e.match(this.interpolator.nestingRegexp);N=W&&W.length}let L=a.replace&&typeof a.replace!="string"?a.replace:a;if(this.options.interpolation.defaultVariables&&(L={...this.options.interpolation.defaultVariables,...L}),e=this.interpolator.interpolate(e,L,a.lng||this.language,a),C){const W=e.match(this.interpolator.nestingRegexp),ge=W&&W.length;N<ge&&(a.nest=!1)}!a.lng&&this.options.compatibilityAPI!=="v1"&&o&&o.res&&(a.lng=o.usedLng),a.nest!==!1&&(e=this.interpolator.nest(e,function(){for(var W=arguments.length,ge=new Array(W),ae=0;ae<W;ae++)ge[ae]=arguments[ae];return d&&d[0]===ge[0]&&!a.context?(v.logger.warn(`It seems you are nesting recursively key: ${ge[0]} in key: ${n[0]}`),null):v.translate(...ge,n)},a)),a.interpolation&&this.interpolator.reset()}const _=a.postProcess||this.options.postProcess,w=typeof _=="string"?[_]:_;return e!=null&&w&&w.length&&a.applyPostProcessor!==!1&&(e=qf.handle(w,e,n,this.options&&this.options.postProcessPassResolved?{i18nResolved:o,...a}:a,this)),e}resolve(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a,o,d,v,_;return typeof e=="string"&&(e=[e]),e.forEach(w=>{if(this.isValidLookup(a))return;const C=this.extractFromKey(w,n),N=C.key;o=N;let L=C.namespaces;this.options.fallbackNS&&(L=L.concat(this.options.fallbackNS));const W=n.count!==void 0&&typeof n.count!="string",ge=W&&!n.ordinal&&n.count===0&&this.pluralResolver.shouldUseIntlApi(),ae=n.context!==void 0&&(typeof n.context=="string"||typeof n.context=="number")&&n.context!=="",we=n.lngs?n.lngs:this.languageUtils.toResolveHierarchy(n.lng||this.language,n.fallbackLng);L.forEach(Z=>{this.isValidLookup(a)||(_=Z,!ep[`${we[0]}-${Z}`]&&this.utils&&this.utils.hasLoadedNamespace&&!this.utils.hasLoadedNamespace(_)&&(ep[`${we[0]}-${Z}`]=!0,this.logger.warn(`key "${o}" for languages "${we.join(", ")}" won't get resolved as namespace "${_}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),we.forEach(G=>{if(this.isValidLookup(a))return;v=G;const pe=[N];if(this.i18nFormat&&this.i18nFormat.addLookupKeys)this.i18nFormat.addLookupKeys(pe,N,G,Z,n);else{let _e;W&&(_e=this.pluralResolver.getSuffix(G,n.count,n));const re=`${this.options.pluralSeparator}zero`,Ie=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(W&&(pe.push(N+_e),n.ordinal&&_e.indexOf(Ie)===0&&pe.push(N+_e.replace(Ie,this.options.pluralSeparator)),ge&&pe.push(N+re)),ae){const Te=`${N}${this.options.contextSeparator}${n.context}`;pe.push(Te),W&&(pe.push(Te+_e),n.ordinal&&_e.indexOf(Ie)===0&&pe.push(Te+_e.replace(Ie,this.options.pluralSeparator)),ge&&pe.push(Te+re))}}let Se;for(;Se=pe.pop();)this.isValidLookup(a)||(d=Se,a=this.getResource(G,Z,Se,n))}))})}),{res:a,usedKey:o,exactUsedKey:d,usedLng:v,usedNS:_}}isValidLookup(e){return e!==void 0&&!(!this.options.returnNull&&e===null)&&!(!this.options.returnEmptyString&&e==="")}getResource(e,n,a){let o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(e,n,a,o):this.resourceStore.getResource(e,n,a,o)}static hasDefaultValue(e){const n="defaultValue";for(const a in e)if(Object.prototype.hasOwnProperty.call(e,a)&&n===a.substring(0,n.length)&&e[a]!==void 0)return!0;return!1}}function Pd(r){return r.charAt(0).toUpperCase()+r.slice(1)}class tp{constructor(e){this.options=e,this.supportedLngs=this.options.supportedLngs||!1,this.logger=ao.create("languageUtils")}getScriptPartFromCode(e){if(e=Uc(e),!e||e.indexOf("-")<0)return null;const n=e.split("-");return n.length===2||(n.pop(),n[n.length-1].toLowerCase()==="x")?null:this.formatLanguageCode(n.join("-"))}getLanguagePartFromCode(e){if(e=Uc(e),!e||e.indexOf("-")<0)return e;const n=e.split("-");return this.formatLanguageCode(n[0])}formatLanguageCode(e){if(typeof e=="string"&&e.indexOf("-")>-1){const n=["hans","hant","latn","cyrl","cans","mong","arab"];let a=e.split("-");return this.options.lowerCaseLng?a=a.map(o=>o.toLowerCase()):a.length===2?(a[0]=a[0].toLowerCase(),a[1]=a[1].toUpperCase(),n.indexOf(a[1].toLowerCase())>-1&&(a[1]=Pd(a[1].toLowerCase()))):a.length===3&&(a[0]=a[0].toLowerCase(),a[1].length===2&&(a[1]=a[1].toUpperCase()),a[0]!=="sgn"&&a[2].length===2&&(a[2]=a[2].toUpperCase()),n.indexOf(a[1].toLowerCase())>-1&&(a[1]=Pd(a[1].toLowerCase())),n.indexOf(a[2].toLowerCase())>-1&&(a[2]=Pd(a[2].toLowerCase()))),a.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e}isSupportedCode(e){return(this.options.load==="languageOnly"||this.options.nonExplicitSupportedLngs)&&(e=this.getLanguagePartFromCode(e)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(e)>-1}getBestMatchFromCodes(e){if(!e)return null;let n;return e.forEach(a=>{if(n)return;const o=this.formatLanguageCode(a);(!this.options.supportedLngs||this.isSupportedCode(o))&&(n=o)}),!n&&this.options.supportedLngs&&e.forEach(a=>{if(n)return;const o=this.getLanguagePartFromCode(a);if(this.isSupportedCode(o))return n=o;n=this.options.supportedLngs.find(d=>{if(d===o)return d;if(!(d.indexOf("-")<0&&o.indexOf("-")<0)&&d.indexOf(o)===0)return d})}),n||(n=this.getFallbackCodes(this.options.fallbackLng)[0]),n}getFallbackCodes(e,n){if(!e)return[];if(typeof e=="function"&&(e=e(n)),typeof e=="string"&&(e=[e]),Object.prototype.toString.apply(e)==="[object Array]")return e;if(!n)return e.default||[];let a=e[n];return a||(a=e[this.getScriptPartFromCode(n)]),a||(a=e[this.formatLanguageCode(n)]),a||(a=e[this.getLanguagePartFromCode(n)]),a||(a=e.default),a||[]}toResolveHierarchy(e,n){const a=this.getFallbackCodes(n||this.options.fallbackLng||[],e),o=[],d=v=>{v&&(this.isSupportedCode(v)?o.push(v):this.logger.warn(`rejecting language code not found in supportedLngs: ${v}`))};return typeof e=="string"&&(e.indexOf("-")>-1||e.indexOf("_")>-1)?(this.options.load!=="languageOnly"&&d(this.formatLanguageCode(e)),this.options.load!=="languageOnly"&&this.options.load!=="currentOnly"&&d(this.getScriptPartFromCode(e)),this.options.load!=="currentOnly"&&d(this.getLanguagePartFromCode(e))):typeof e=="string"&&d(this.formatLanguageCode(e)),a.forEach(v=>{o.indexOf(v)<0&&d(this.formatLanguageCode(v))}),o}}let Lg=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kk","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],Bg={1:function(r){return+(r>1)},2:function(r){return+(r!=1)},3:function(r){return 0},4:function(r){return r%10==1&&r%100!=11?0:r%10>=2&&r%10<=4&&(r%100<10||r%100>=20)?1:2},5:function(r){return r==0?0:r==1?1:r==2?2:r%100>=3&&r%100<=10?3:r%100>=11?4:5},6:function(r){return r==1?0:r>=2&&r<=4?1:2},7:function(r){return r==1?0:r%10>=2&&r%10<=4&&(r%100<10||r%100>=20)?1:2},8:function(r){return r==1?0:r==2?1:r!=8&&r!=11?2:3},9:function(r){return+(r>=2)},10:function(r){return r==1?0:r==2?1:r<7?2:r<11?3:4},11:function(r){return r==1||r==11?0:r==2||r==12?1:r>2&&r<20?2:3},12:function(r){return+(r%10!=1||r%100==11)},13:function(r){return+(r!==0)},14:function(r){return r==1?0:r==2?1:r==3?2:3},15:function(r){return r%10==1&&r%100!=11?0:r%10>=2&&(r%100<10||r%100>=20)?1:2},16:function(r){return r%10==1&&r%100!=11?0:r!==0?1:2},17:function(r){return r==1||r%10==1&&r%100!=11?0:1},18:function(r){return r==0?0:r==1?1:2},19:function(r){return r==1?0:r==0||r%100>1&&r%100<11?1:r%100>10&&r%100<20?2:3},20:function(r){return r==1?0:r==0||r%100>0&&r%100<20?1:2},21:function(r){return r%100==1?1:r%100==2?2:r%100==3||r%100==4?3:0},22:function(r){return r==1?0:r==2?1:(r<0||r>10)&&r%10==0?2:3}};const Ng=["v1","v2","v3"],jg=["v4"],np={zero:0,one:1,two:2,few:3,many:4,other:5};function zg(){const r={};return Lg.forEach(e=>{e.lngs.forEach(n=>{r[n]={numbers:e.nr,plurals:Bg[e.fc]}})}),r}class Ug{constructor(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.languageUtils=e,this.options=n,this.logger=ao.create("pluralResolver"),(!this.options.compatibilityJSON||jg.includes(this.options.compatibilityJSON))&&(typeof Intl>"u"||!Intl.PluralRules)&&(this.options.compatibilityJSON="v3",this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")),this.rules=zg()}addRule(e,n){this.rules[e]=n}getRule(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(this.shouldUseIntlApi())try{return new Intl.PluralRules(Uc(e),{type:n.ordinal?"ordinal":"cardinal"})}catch{return}return this.rules[e]||this.rules[this.languageUtils.getLanguagePartFromCode(e)]}needsPlural(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const a=this.getRule(e,n);return this.shouldUseIntlApi()?a&&a.resolvedOptions().pluralCategories.length>1:a&&a.numbers.length>1}getPluralFormsOfKey(e,n){let a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return this.getSuffixes(e,a).map(o=>`${n}${o}`)}getSuffixes(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const a=this.getRule(e,n);return a?this.shouldUseIntlApi()?a.resolvedOptions().pluralCategories.sort((o,d)=>np[o]-np[d]).map(o=>`${this.options.prepend}${n.ordinal?`ordinal${this.options.prepend}`:""}${o}`):a.numbers.map(o=>this.getSuffix(e,o,n)):[]}getSuffix(e,n){let a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const o=this.getRule(e,a);return o?this.shouldUseIntlApi()?`${this.options.prepend}${a.ordinal?`ordinal${this.options.prepend}`:""}${o.select(n)}`:this.getSuffixRetroCompatible(o,n):(this.logger.warn(`no plural rule found for: ${e}`),"")}getSuffixRetroCompatible(e,n){const a=e.noAbs?e.plurals(n):e.plurals(Math.abs(n));let o=e.numbers[a];this.options.simplifyPluralSuffix&&e.numbers.length===2&&e.numbers[0]===1&&(o===2?o="plural":o===1&&(o=""));const d=()=>this.options.prepend&&o.toString()?this.options.prepend+o.toString():o.toString();return this.options.compatibilityJSON==="v1"?o===1?"":typeof o=="number"?`_plural_${o.toString()}`:d():this.options.compatibilityJSON==="v2"||this.options.simplifyPluralSuffix&&e.numbers.length===2&&e.numbers[0]===1?d():this.options.prepend&&a.toString()?this.options.prepend+a.toString():a.toString()}shouldUseIntlApi(){return!Ng.includes(this.options.compatibilityJSON)}}function rp(r,e,n){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:".",o=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0,d=Og(r,e,n);return!d&&o&&typeof n=="string"&&(d=zc(r,n,a),d===void 0&&(d=zc(e,n,a))),d}class Wg{constructor(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=ao.create("interpolator"),this.options=e,this.format=e.interpolation&&e.interpolation.format||(n=>n),this.init(e)}init(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};e.interpolation||(e.interpolation={escapeValue:!0});const n=e.interpolation;this.escape=n.escape!==void 0?n.escape:Fg,this.escapeValue=n.escapeValue!==void 0?n.escapeValue:!0,this.useRawValueToEscape=n.useRawValueToEscape!==void 0?n.useRawValueToEscape:!1,this.prefix=n.prefix?wu(n.prefix):n.prefixEscaped||"{{",this.suffix=n.suffix?wu(n.suffix):n.suffixEscaped||"}}",this.formatSeparator=n.formatSeparator?n.formatSeparator:n.formatSeparator||",",this.unescapePrefix=n.unescapeSuffix?"":n.unescapePrefix||"-",this.unescapeSuffix=this.unescapePrefix?"":n.unescapeSuffix||"",this.nestingPrefix=n.nestingPrefix?wu(n.nestingPrefix):n.nestingPrefixEscaped||wu("$t("),this.nestingSuffix=n.nestingSuffix?wu(n.nestingSuffix):n.nestingSuffixEscaped||wu(")"),this.nestingOptionsSeparator=n.nestingOptionsSeparator?n.nestingOptionsSeparator:n.nestingOptionsSeparator||",",this.maxReplaces=n.maxReplaces?n.maxReplaces:1e3,this.alwaysFormat=n.alwaysFormat!==void 0?n.alwaysFormat:!1,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){const e=`${this.prefix}(.+?)${this.suffix}`;this.regexp=new RegExp(e,"g");const n=`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`;this.regexpUnescape=new RegExp(n,"g");const a=`${this.nestingPrefix}(.+?)${this.nestingSuffix}`;this.nestingRegexp=new RegExp(a,"g")}interpolate(e,n,a,o){let d,v,_;const w=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{};function C(ae){return ae.replace(/\$/g,"$$$$")}const N=ae=>{if(ae.indexOf(this.formatSeparator)<0){const pe=rp(n,w,ae,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(pe,void 0,a,{...o,...n,interpolationkey:ae}):pe}const we=ae.split(this.formatSeparator),Z=we.shift().trim(),G=we.join(this.formatSeparator).trim();return this.format(rp(n,w,Z,this.options.keySeparator,this.options.ignoreJSONStructure),G,a,{...o,...n,interpolationkey:Z})};this.resetRegExp();const L=o&&o.missingInterpolationHandler||this.options.missingInterpolationHandler,W=o&&o.interpolation&&o.interpolation.skipOnVariables!==void 0?o.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:ae=>C(ae)},{regex:this.regexp,safeValue:ae=>this.escapeValue?C(this.escape(ae)):C(ae)}].forEach(ae=>{for(_=0;d=ae.regex.exec(e);){const we=d[1].trim();if(v=N(we),v===void 0)if(typeof L=="function"){const G=L(e,d,o);v=typeof G=="string"?G:""}else if(o&&Object.prototype.hasOwnProperty.call(o,we))v="";else if(W){v=d[0];continue}else this.logger.warn(`missed to pass in variable ${we} for interpolating ${e}`),v="";else typeof v!="string"&&!this.useRawValueToEscape&&(v=Kf(v));const Z=ae.safeValue(v);if(e=e.replace(d[0],Z),W?(ae.regex.lastIndex+=v.length,ae.regex.lastIndex-=d[0].length):ae.regex.lastIndex=0,_++,_>=this.maxReplaces)break}}),e}nest(e,n){let a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o,d,v;function _(w,C){const N=this.nestingOptionsSeparator;if(w.indexOf(N)<0)return w;const L=w.split(new RegExp(`${N}[ ]*{`));let W=`{${L[1]}`;w=L[0],W=this.interpolate(W,v);const ge=W.match(/'/g),ae=W.match(/"/g);(ge&&ge.length%2===0&&!ae||ae.length%2!==0)&&(W=W.replace(/'/g,'"'));try{v=JSON.parse(W),C&&(v={...C,...v})}catch(we){return this.logger.warn(`failed parsing options string in nesting for key ${w}`,we),`${w}${N}${W}`}return delete v.defaultValue,w}for(;o=this.nestingRegexp.exec(e);){let w=[];v={...a},v=v.replace&&typeof v.replace!="string"?v.replace:v,v.applyPostProcessor=!1,delete v.defaultValue;let C=!1;if(o[0].indexOf(this.formatSeparator)!==-1&&!/{.*}/.test(o[1])){const N=o[1].split(this.formatSeparator).map(L=>L.trim());o[1]=N.shift(),w=N,C=!0}if(d=n(_.call(this,o[1].trim(),v),v),d&&o[0]===e&&typeof d!="string")return d;typeof d!="string"&&(d=Kf(d)),d||(this.logger.warn(`missed to resolve ${o[1]} for nesting ${e}`),d=""),C&&(d=w.reduce((N,L)=>this.format(N,L,a.lng,{...a,interpolationkey:o[1].trim()}),d.trim())),e=e.replace(o[0],d),this.regexp.lastIndex=0}return e}}function Vg(r){let e=r.toLowerCase().trim();const n={};if(r.indexOf("(")>-1){const a=r.split("(");e=a[0].toLowerCase().trim();const o=a[1].substring(0,a[1].length-1);e==="currency"&&o.indexOf(":")<0?n.currency||(n.currency=o.trim()):e==="relativetime"&&o.indexOf(":")<0?n.range||(n.range=o.trim()):o.split(";").forEach(v=>{if(!v)return;const[_,...w]=v.split(":"),C=w.join(":").trim().replace(/^'+|'+$/g,"");n[_.trim()]||(n[_.trim()]=C),C==="false"&&(n[_.trim()]=!1),C==="true"&&(n[_.trim()]=!0),isNaN(C)||(n[_.trim()]=parseInt(C,10))})}return{formatName:e,formatOptions:n}}function xu(r){const e={};return function(a,o,d){const v=o+JSON.stringify(d);let _=e[v];return _||(_=r(Uc(o),d),e[v]=_),_(a)}}class Hg{constructor(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=ao.create("formatter"),this.options=e,this.formats={number:xu((n,a)=>{const o=new Intl.NumberFormat(n,{...a});return d=>o.format(d)}),currency:xu((n,a)=>{const o=new Intl.NumberFormat(n,{...a,style:"currency"});return d=>o.format(d)}),datetime:xu((n,a)=>{const o=new Intl.DateTimeFormat(n,{...a});return d=>o.format(d)}),relativetime:xu((n,a)=>{const o=new Intl.RelativeTimeFormat(n,{...a});return d=>o.format(d,a.range||"day")}),list:xu((n,a)=>{const o=new Intl.ListFormat(n,{...a});return d=>o.format(d)})},this.init(e)}init(e){const a=(arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}}).interpolation;this.formatSeparator=a.formatSeparator?a.formatSeparator:a.formatSeparator||","}add(e,n){this.formats[e.toLowerCase().trim()]=n}addCached(e,n){this.formats[e.toLowerCase().trim()]=xu(n)}format(e,n,a){let o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return n.split(this.formatSeparator).reduce((_,w)=>{const{formatName:C,formatOptions:N}=Vg(w);if(this.formats[C]){let L=_;try{const W=o&&o.formatParams&&o.formatParams[o.interpolationkey]||{},ge=W.locale||W.lng||o.locale||o.lng||a;L=this.formats[C](_,ge,{...N,...o,...W})}catch(W){this.logger.warn(W)}return L}else this.logger.warn(`there was no format function for ${C}`);return _},e)}}function $g(r,e){r.pending[e]!==void 0&&(delete r.pending[e],r.pendingCount--)}class Gg extends Nc{constructor(e,n,a){let o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};super(),this.backend=e,this.store=n,this.services=a,this.languageUtils=a.languageUtils,this.options=o,this.logger=ao.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=o.maxParallelReads||10,this.readingCalls=0,this.maxRetries=o.maxRetries>=0?o.maxRetries:5,this.retryTimeout=o.retryTimeout>=1?o.retryTimeout:350,this.state={},this.queue=[],this.backend&&this.backend.init&&this.backend.init(a,o.backend,o)}queueLoad(e,n,a,o){const d={},v={},_={},w={};return e.forEach(C=>{let N=!0;n.forEach(L=>{const W=`${C}|${L}`;!a.reload&&this.store.hasResourceBundle(C,L)?this.state[W]=2:this.state[W]<0||(this.state[W]===1?v[W]===void 0&&(v[W]=!0):(this.state[W]=1,N=!1,v[W]===void 0&&(v[W]=!0),d[W]===void 0&&(d[W]=!0),w[L]===void 0&&(w[L]=!0)))}),N||(_[C]=!0)}),(Object.keys(d).length||Object.keys(v).length)&&this.queue.push({pending:v,pendingCount:Object.keys(v).length,loaded:{},errors:[],callback:o}),{toLoad:Object.keys(d),pending:Object.keys(v),toLoadLanguages:Object.keys(_),toLoadNamespaces:Object.keys(w)}}loaded(e,n,a){const o=e.split("|"),d=o[0],v=o[1];n&&this.emit("failedLoading",d,v,n),a&&this.store.addResourceBundle(d,v,a),this.state[e]=n?-1:2;const _={};this.queue.forEach(w=>{Ag(w.loaded,[d],v),$g(w,e),n&&w.errors.push(n),w.pendingCount===0&&!w.done&&(Object.keys(w.loaded).forEach(C=>{_[C]||(_[C]={});const N=w.loaded[C];N.length&&N.forEach(L=>{_[C][L]===void 0&&(_[C][L]=!0)})}),w.done=!0,w.errors.length?w.callback(w.errors):w.callback())}),this.emit("loaded",_),this.queue=this.queue.filter(w=>!w.done)}read(e,n,a){let o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,d=arguments.length>4&&arguments[4]!==void 0?arguments[4]:this.retryTimeout,v=arguments.length>5?arguments[5]:void 0;if(!e.length)return v(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:e,ns:n,fcName:a,tried:o,wait:d,callback:v});return}this.readingCalls++;const _=(C,N)=>{if(this.readingCalls--,this.waitingReads.length>0){const L=this.waitingReads.shift();this.read(L.lng,L.ns,L.fcName,L.tried,L.wait,L.callback)}if(C&&N&&o<this.maxRetries){setTimeout(()=>{this.read.call(this,e,n,a,o+1,d*2,v)},d);return}v(C,N)},w=this.backend[a].bind(this.backend);if(w.length===2){try{const C=w(e,n);C&&typeof C.then=="function"?C.then(N=>_(null,N)).catch(_):_(null,C)}catch(C){_(C)}return}return w(e,n,_)}prepareLoading(e,n){let a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),o&&o();typeof e=="string"&&(e=this.languageUtils.toResolveHierarchy(e)),typeof n=="string"&&(n=[n]);const d=this.queueLoad(e,n,a,o);if(!d.toLoad.length)return d.pending.length||o(),null;d.toLoad.forEach(v=>{this.loadOne(v)})}load(e,n,a){this.prepareLoading(e,n,{},a)}reload(e,n,a){this.prepareLoading(e,n,{reload:!0},a)}loadOne(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";const a=e.split("|"),o=a[0],d=a[1];this.read(o,d,"read",void 0,void 0,(v,_)=>{v&&this.logger.warn(`${n}loading namespace ${d} for language ${o} failed`,v),!v&&_&&this.logger.log(`${n}loaded namespace ${d} for language ${o}`,_),this.loaded(e,v,_)})}saveMissing(e,n,a,o,d){let v=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{},_=arguments.length>6&&arguments[6]!==void 0?arguments[6]:()=>{};if(this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(n)){this.logger.warn(`did not save key "${a}" as the namespace "${n}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");return}if(!(a==null||a==="")){if(this.backend&&this.backend.create){const w={...v,isUpdate:d},C=this.backend.create.bind(this.backend);if(C.length<6)try{let N;C.length===5?N=C(e,n,a,o,w):N=C(e,n,a,o),N&&typeof N.then=="function"?N.then(L=>_(null,L)).catch(_):_(null,N)}catch(N){_(N)}else C(e,n,a,o,_,w)}!e||!e[0]||this.store.addResource(e[0],n,a,o)}}}function ip(){return{debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:function(e){let n={};if(typeof e[1]=="object"&&(n=e[1]),typeof e[1]=="string"&&(n.defaultValue=e[1]),typeof e[2]=="string"&&(n.tDescription=e[2]),typeof e[2]=="object"||typeof e[3]=="object"){const a=e[3]||e[2];Object.keys(a).forEach(o=>{n[o]=a[o]})}return n},interpolation:{escapeValue:!0,format:(r,e,n,a)=>r,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}}function ap(r){return typeof r.ns=="string"&&(r.ns=[r.ns]),typeof r.fallbackLng=="string"&&(r.fallbackLng=[r.fallbackLng]),typeof r.fallbackNS=="string"&&(r.fallbackNS=[r.fallbackNS]),r.supportedLngs&&r.supportedLngs.indexOf("cimode")<0&&(r.supportedLngs=r.supportedLngs.concat(["cimode"])),r}function Vc(){}function Zg(r){Object.getOwnPropertyNames(Object.getPrototypeOf(r)).forEach(n=>{typeof r[n]=="function"&&(r[n]=r[n].bind(r))})}class qu extends Nc{constructor(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;if(super(),this.options=ap(e),this.services={},this.logger=ao,this.modules={external:[]},Zg(this),n&&!this.isInitialized&&!e.isClone){if(!this.options.initImmediate)return this.init(e,n),this;setTimeout(()=>{this.init(e,n)},0)}}init(){var e=this;let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},a=arguments.length>1?arguments[1]:void 0;typeof n=="function"&&(a=n,n={}),!n.defaultNS&&n.defaultNS!==!1&&n.ns&&(typeof n.ns=="string"?n.defaultNS=n.ns:n.ns.indexOf("translation")<0&&(n.defaultNS=n.ns[0]));const o=ip();this.options={...o,...this.options,...ap(n)},this.options.compatibilityAPI!=="v1"&&(this.options.interpolation={...o.interpolation,...this.options.interpolation}),n.keySeparator!==void 0&&(this.options.userDefinedKeySeparator=n.keySeparator),n.nsSeparator!==void 0&&(this.options.userDefinedNsSeparator=n.nsSeparator);function d(N){return N?typeof N=="function"?new N:N:null}if(!this.options.isClone){this.modules.logger?ao.init(d(this.modules.logger),this.options):ao.init(null,this.options);let N;this.modules.formatter?N=this.modules.formatter:typeof Intl<"u"&&(N=Hg);const L=new tp(this.options);this.store=new Xf(this.options.resources,this.options);const W=this.services;W.logger=ao,W.resourceStore=this.store,W.languageUtils=L,W.pluralResolver=new Ug(L,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),N&&(!this.options.interpolation.format||this.options.interpolation.format===o.interpolation.format)&&(W.formatter=d(N),W.formatter.init(W,this.options),this.options.interpolation.format=W.formatter.format.bind(W.formatter)),W.interpolator=new Wg(this.options),W.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},W.backendConnector=new Gg(d(this.modules.backend),W.resourceStore,W,this.options),W.backendConnector.on("*",function(ge){for(var ae=arguments.length,we=new Array(ae>1?ae-1:0),Z=1;Z<ae;Z++)we[Z-1]=arguments[Z];e.emit(ge,...we)}),this.modules.languageDetector&&(W.languageDetector=d(this.modules.languageDetector),W.languageDetector.init&&W.languageDetector.init(W,this.options.detection,this.options)),this.modules.i18nFormat&&(W.i18nFormat=d(this.modules.i18nFormat),W.i18nFormat.init&&W.i18nFormat.init(this)),this.translator=new Wc(this.services,this.options),this.translator.on("*",function(ge){for(var ae=arguments.length,we=new Array(ae>1?ae-1:0),Z=1;Z<ae;Z++)we[Z-1]=arguments[Z];e.emit(ge,...we)}),this.modules.external.forEach(ge=>{ge.init&&ge.init(this)})}if(this.format=this.options.interpolation.format,a||(a=Vc),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const N=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);N.length>0&&N[0]!=="dev"&&(this.options.lng=N[0])}!this.services.languageDetector&&!this.options.lng&&this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach(N=>{this[N]=function(){return e.store[N](...arguments)}}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(N=>{this[N]=function(){return e.store[N](...arguments),e}});const w=Xu(),C=()=>{const N=(L,W)=>{this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),w.resolve(W),a(L,W)};if(this.languages&&this.options.compatibilityAPI!=="v1"&&!this.isInitialized)return N(null,this.t.bind(this));this.changeLanguage(this.options.lng,N)};return this.options.resources||!this.options.initImmediate?C():setTimeout(C,0),w}loadResources(e){let a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Vc;const o=typeof e=="string"?e:this.language;if(typeof e=="function"&&(a=e),!this.options.resources||this.options.partialBundledLanguages){if(o&&o.toLowerCase()==="cimode")return a();const d=[],v=_=>{if(!_)return;this.services.languageUtils.toResolveHierarchy(_).forEach(C=>{d.indexOf(C)<0&&d.push(C)})};o?v(o):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(w=>v(w)),this.options.preload&&this.options.preload.forEach(_=>v(_)),this.services.backendConnector.load(d,this.options.ns,_=>{!_&&!this.resolvedLanguage&&this.language&&this.setResolvedLanguage(this.language),a(_)})}else a(null)}reloadResources(e,n,a){const o=Xu();return e||(e=this.languages),n||(n=this.options.ns),a||(a=Vc),this.services.backendConnector.reload(e,n,d=>{o.resolve(),a(d)}),o}use(e){if(!e)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!e.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return e.type==="backend"&&(this.modules.backend=e),(e.type==="logger"||e.log&&e.warn&&e.error)&&(this.modules.logger=e),e.type==="languageDetector"&&(this.modules.languageDetector=e),e.type==="i18nFormat"&&(this.modules.i18nFormat=e),e.type==="postProcessor"&&qf.addPostProcessor(e),e.type==="formatter"&&(this.modules.formatter=e),e.type==="3rdParty"&&this.modules.external.push(e),this}setResolvedLanguage(e){if(!(!e||!this.languages)&&!(["cimode","dev"].indexOf(e)>-1))for(let n=0;n<this.languages.length;n++){const a=this.languages[n];if(!(["cimode","dev"].indexOf(a)>-1)&&this.store.hasLanguageSomeTranslations(a)){this.resolvedLanguage=a;break}}}changeLanguage(e,n){var a=this;this.isLanguageChangingTo=e;const o=Xu();this.emit("languageChanging",e);const d=w=>{this.language=w,this.languages=this.services.languageUtils.toResolveHierarchy(w),this.resolvedLanguage=void 0,this.setResolvedLanguage(w)},v=(w,C)=>{C?(d(C),this.translator.changeLanguage(C),this.isLanguageChangingTo=void 0,this.emit("languageChanged",C),this.logger.log("languageChanged",C)):this.isLanguageChangingTo=void 0,o.resolve(function(){return a.t(...arguments)}),n&&n(w,function(){return a.t(...arguments)})},_=w=>{!e&&!w&&this.services.languageDetector&&(w=[]);const C=typeof w=="string"?w:this.services.languageUtils.getBestMatchFromCodes(w);C&&(this.language||d(C),this.translator.language||this.translator.changeLanguage(C),this.services.languageDetector&&this.services.languageDetector.cacheUserLanguage&&this.services.languageDetector.cacheUserLanguage(C)),this.loadResources(C,N=>{v(N,C)})};return!e&&this.services.languageDetector&&!this.services.languageDetector.async?_(this.services.languageDetector.detect()):!e&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect.length===0?this.services.languageDetector.detect().then(_):this.services.languageDetector.detect(_):_(e),o}getFixedT(e,n,a){var o=this;const d=function(v,_){let w;if(typeof _!="object"){for(var C=arguments.length,N=new Array(C>2?C-2:0),L=2;L<C;L++)N[L-2]=arguments[L];w=o.options.overloadTranslationOptionHandler([v,_].concat(N))}else w={..._};w.lng=w.lng||d.lng,w.lngs=w.lngs||d.lngs,w.ns=w.ns||d.ns,w.keyPrefix=w.keyPrefix||a||d.keyPrefix;const W=o.options.keySeparator||".";let ge;return w.keyPrefix&&Array.isArray(v)?ge=v.map(ae=>`${w.keyPrefix}${W}${ae}`):ge=w.keyPrefix?`${w.keyPrefix}${W}${v}`:v,o.t(ge,w)};return typeof e=="string"?d.lng=e:d.lngs=e,d.ns=n,d.keyPrefix=a,d}t(){return this.translator&&this.translator.translate(...arguments)}exists(){return this.translator&&this.translator.exists(...arguments)}setDefaultNamespace(e){this.options.defaultNS=e}hasLoadedNamespace(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;const a=n.lng||this.resolvedLanguage||this.languages[0],o=this.options?this.options.fallbackLng:!1,d=this.languages[this.languages.length-1];if(a.toLowerCase()==="cimode")return!0;const v=(_,w)=>{const C=this.services.backendConnector.state[`${_}|${w}`];return C===-1||C===2};if(n.precheck){const _=n.precheck(this,v);if(_!==void 0)return _}return!!(this.hasResourceBundle(a,e)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||v(a,e)&&(!o||v(d,e)))}loadNamespaces(e,n){const a=Xu();return this.options.ns?(typeof e=="string"&&(e=[e]),e.forEach(o=>{this.options.ns.indexOf(o)<0&&this.options.ns.push(o)}),this.loadResources(o=>{a.resolve(),n&&n(o)}),a):(n&&n(),Promise.resolve())}loadLanguages(e,n){const a=Xu();typeof e=="string"&&(e=[e]);const o=this.options.preload||[],d=e.filter(v=>o.indexOf(v)<0);return d.length?(this.options.preload=o.concat(d),this.loadResources(v=>{a.resolve(),n&&n(v)}),a):(n&&n(),Promise.resolve())}dir(e){if(e||(e=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),!e)return"rtl";const n=["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"],a=this.services&&this.services.languageUtils||new tp(ip());return n.indexOf(a.getLanguagePartFromCode(e))>-1||e.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return new qu(e,n)}cloneInstance(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Vc;const a=e.forkResourceStore;a&&delete e.forkResourceStore;const o={...this.options,...e,isClone:!0},d=new qu(o);return(e.debug!==void 0||e.prefix!==void 0)&&(d.logger=d.logger.clone(e)),["store","services","language"].forEach(_=>{d[_]=this[_]}),d.services={...this.services},d.services.utils={hasLoadedNamespace:d.hasLoadedNamespace.bind(d)},a&&(d.store=new Xf(this.store.data,o),d.services.resourceStore=d.store),d.translator=new Wc(d.services,o),d.translator.on("*",function(_){for(var w=arguments.length,C=new Array(w>1?w-1:0),N=1;N<w;N++)C[N-1]=arguments[N];d.emit(_,...C)}),d.init(o,n),d.translator.options=o,d.translator.backendConnector.services.utils={hasLoadedNamespace:d.hasLoadedNamespace.bind(d)},d}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}const cr=qu.createInstance();cr.createInstance=qu.createInstance,cr.createInstance,cr.dir,cr.init,cr.loadResources,cr.reloadResources,cr.use,cr.changeLanguage,cr.getFixedT,cr.t,cr.exists,cr.setDefaultNamespace,cr.hasLoadedNamespace,cr.loadNamespaces,cr.loadLanguages;var qn=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function op(r){return r&&r.__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r}function Yg(){if(console&&console.warn){for(var r=arguments.length,e=new Array(r),n=0;n<r;n++)e[n]=arguments[n];typeof e[0]=="string"&&(e[0]=`react-i18next:: ${e[0]}`),console.warn(...e)}}const sp={};function Dd(){for(var r=arguments.length,e=new Array(r),n=0;n<r;n++)e[n]=arguments[n];typeof e[0]=="string"&&sp[e[0]]||(typeof e[0]=="string"&&(sp[e[0]]=new Date),Yg(...e))}const lp=(r,e)=>()=>{if(r.isInitialized)e();else{const n=()=>{setTimeout(()=>{r.off("initialized",n)},0),e()};r.on("initialized",n)}};function up(r,e,n){r.loadNamespaces(e,lp(r,n))}function cp(r,e,n,a){typeof n=="string"&&(n=[n]),n.forEach(o=>{r.options.ns.indexOf(o)<0&&r.options.ns.push(o)}),r.loadLanguages(e,lp(r,a))}function Kg(r,e){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const a=e.languages[0],o=e.options?e.options.fallbackLng:!1,d=e.languages[e.languages.length-1];if(a.toLowerCase()==="cimode")return!0;const v=(_,w)=>{const C=e.services.backendConnector.state[`${_}|${w}`];return C===-1||C===2};return n.bindI18n&&n.bindI18n.indexOf("languageChanging")>-1&&e.services.backendConnector.backend&&e.isLanguageChangingTo&&!v(e.isLanguageChangingTo,r)?!1:!!(e.hasResourceBundle(a,r)||!e.services.backendConnector.backend||e.options.resources&&!e.options.partialBundledLanguages||v(a,r)&&(!o||v(d,r)))}function Jg(r,e){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return!e.languages||!e.languages.length?(Dd("i18n.languages were undefined or empty",e.languages),!0):e.options.ignoreJSONStructure!==void 0?e.hasLoadedNamespace(r,{lng:n.lng,precheck:(o,d)=>{if(n.bindI18n&&n.bindI18n.indexOf("languageChanging")>-1&&o.services.backendConnector.backend&&o.isLanguageChangingTo&&!d(o.isLanguageChangingTo,r))return!1}}):Kg(r,e,n)}const Qg=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,Xg={"&":"&","&":"&","<":"<","<":"<",">":">",">":">","'":"'","'":"'",""":'"',""":'"'," ":" "," ":" ","©":"©","©":"©","®":"®","®":"®","…":"…","…":"…","/":"/","/":"/"},qg=r=>Xg[r];let Ld={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:r=>r.replace(Qg,qg)};function em(){let r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Ld={...Ld,...r}}function tm(){return Ld}let dp;function nm(r){dp=r}function rm(){return dp}const im={type:"3rdParty",init(r){em(r.options.react),nm(r)}},am=De.createContext();class om{constructor(){this.usedNamespaces={}}addUsedNamespaces(e){e.forEach(n=>{this.usedNamespaces[n]||(this.usedNamespaces[n]=!0)})}getUsedNamespaces(){return Object.keys(this.usedNamespaces)}}const sm=(r,e)=>{const n=De.useRef();return De.useEffect(()=>{n.current=e?n.current:r},[r,e]),n.current};function Os(r){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{i18n:n}=e,{i18n:a,defaultNS:o}=De.useContext(am)||{},d=n||a||rm();if(d&&!d.reportNamespaces&&(d.reportNamespaces=new om),!d){Dd("You will need to pass in an i18next instance by using initReactI18next");const Se=(re,Ie)=>typeof Ie=="string"?Ie:Ie&&typeof Ie=="object"&&typeof Ie.defaultValue=="string"?Ie.defaultValue:Array.isArray(re)?re[re.length-1]:re,_e=[Se,{},!1];return _e.t=Se,_e.i18n={},_e.ready=!1,_e}d.options.react&&d.options.react.wait!==void 0&&Dd("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");const v={...tm(),...d.options.react,...e},{useSuspense:_,keyPrefix:w}=v;let C=r||o||d.options&&d.options.defaultNS;C=typeof C=="string"?[C]:C||["translation"],d.reportNamespaces.addUsedNamespaces&&d.reportNamespaces.addUsedNamespaces(C);const N=(d.isInitialized||d.initializedStoreOnce)&&C.every(Se=>Jg(Se,d,v));function L(){return d.getFixedT(e.lng||null,v.nsMode==="fallback"?C:C[0],w)}const[W,ge]=De.useState(L);let ae=C.join();e.lng&&(ae=`${e.lng}${ae}`);const we=sm(ae),Z=De.useRef(!0);De.useEffect(()=>{const{bindI18n:Se,bindI18nStore:_e}=v;Z.current=!0,!N&&!_&&(e.lng?cp(d,e.lng,C,()=>{Z.current&&ge(L)}):up(d,C,()=>{Z.current&&ge(L)})),N&&we&&we!==ae&&Z.current&&ge(L);function re(){Z.current&&ge(L)}return Se&&d&&d.on(Se,re),_e&&d&&d.store.on(_e,re),()=>{Z.current=!1,Se&&d&&Se.split(" ").forEach(Ie=>d.off(Ie,re)),_e&&d&&_e.split(" ").forEach(Ie=>d.store.off(Ie,re))}},[d,ae]);const G=De.useRef(!0);De.useEffect(()=>{Z.current&&!G.current&&ge(L),G.current=!1},[d,w]);const pe=[W,d,N];if(pe.t=W,pe.i18n=d,pe.ready=N,N||!N&&!_)return pe;throw new Promise(Se=>{e.lng?cp(d,e.lng,C,()=>Se()):up(d,C,()=>Se())})}const lm={nl:{translation:{date:{formats:{friendly_date:"%-d %B %Y (%-d-%-m-%Y)"}},step_i_of_n:"Stap %{i} van %{n}",previous:"Terug",next:"Verder",abort:"Later afmaken",previous_questionnaire:"Vorige vragenlijst",done:"Klaar",print_answers:"Print antwoorden",download_answers_pdf:"Download als PDF",pdf_download_failed_message:"Het aanmaken van de download is helaas mislukt.",questionnaire_not_completed:{heading:"Deze vragenlijst is nog niet volledig ingevuld!",explanation:"Als u de vragenlijst toch opslaat, kan het zijn dat er geen schaalscores berekend worden omdat hiervoor onvoldoende informatie voorhanden is. U kunt uw antwoorden hieronder alsnog aanvullen. Vragen die nog niet volledig zijn beantwoord, worden rood gemarkeerd.",save_anyway:"Toch opslaan"},thanks_for_filling_out:"Bedankt voor het invullen van deze vragenlijst. Uw antwoorden zijn opgeslagen.",ios_download_instruction:`Er opent een nieuw tabblad waarop de download wordt gestart.
|
|
2
2
|
|
|
3
3
|
Sla het bestand op in Boeken/iBooks. Keer dan terug naar de browser met de knop '< Safari' geheel linksboven.
|
|
4
4
|
|
|
@@ -10,17 +10,17 @@ Back in the browser, press the back '<' button and press 'Done' to complete your
|
|
|
10
10
|
|
|
11
11
|
Speichern Sie die Datei in Books/iBooks. Kehren Sie dann mit der Knopf '< Safari' oben links zum Browser zurück.
|
|
12
12
|
|
|
13
|
-
Denn, im Browser gehen Sie mit dem Zurück-Knopf '<' zurück und drücken Sie auf 'Fertig' um die Fragebogen zu speichern.`,validations:{maximum:{date:"Das Datum muss an oder vor dem %{friendly_date} liegen.",number:"Ihre Antwort muss kleiner oder gleich %{value} sein."},minimum:{date:"Das Datum muss an oder nach dem %{friendly_date} liegen.",number:"Ihre Antwort muss größer oder gleich %{value} sein."},requires_answer:"Diese Frage muss beantwortet werden.",regexp:"Ihre Antwort muss dem Format %{matcher} entsprechen.",valid_integer:"Ihre Antwort muss eine runde (oder auch ganze) Zahl sein.",valid_float:"Ihre Antwort muss eine Zahl sein (benutzen Sie bitte einen Punkt für Dezimalzahlen, kein Komma).",valid_date:{valid_date_year:"Geben Sie ein gültiges Jahr nach dem Format JJJJ an, zum Beispiel 2015.",valid_date_month_year:"Geben Sie ein gültiges Datum nach dem Format MM-JJJJ an, zum Beispiel 08-2015.",valid_date_day_month_year:"Geben Sie ein gültiges Datum nach dem Format TT-MM-JJJJ an, zum Beispiel 13-08-2015.",valid_date_hour_minute:"Geben Sie eine gültige Tageszeit nach dem Format ss:mm an, zum Beispiel 13:05",valid_date_day_hour_minute_month_year:"Geben Sie eine gültige Tageszeit nach dem Format TT-MM-JJJJ ss:mm, zum Beispiel 13-08-2015 13:05"},too_many_checked:"Sie haben zu viele Möglichkeiten ausgewählt.",not_all_checked:"Sie haben zu wenige Möglichkeiten ausgewählt.",maximum_checked_allowed:{one:"Sie können maximal %{maximum_checked_value} Möglichkeit auswählen.",other:"Sie können maximal %{maximum_checked_value} Möglichkeiten auswählen."},minimum_checked_required:{one:"Sie müssen mindestens %{minimum_checked_value} Möglichkeit auswählen.",other:"Sie müssen mindestens %{minimum_checked_value} Möglichkeiten auswählen."},answer_group_minimum:"Beantworten Sie mindestens %{value} von diesen Fragen",answer_group_maximum:"Beantworten Sie höchstens %{value} von diesen Fragen"},placeholders:{day:"TT",month:"MM",year:"JJJJ",hour:"ss",minute:"mm"},units:{days:"Tage",hours:"Stunden",minutes:"Minuten",seconds:"Sekunden"},day:"Tag",month:"Monat",year:"Jahr",hour:"Stunde",minute:"Minute",choose_a_country:"Wählen Sie ein Land"}}};cr.use(rm).init({resources:sm,lng:"nl",fallbackLng:"en",interpolation:{prefix:"%{",suffix:"}",escapeValue:!1},debug:!0});var Yt;(function(r){r.assertEqual=o=>o;function e(o){}r.assertIs=e;function n(o){throw new Error}r.assertNever=n,r.arrayToEnum=o=>{const d={};for(const v of o)d[v]=v;return d},r.getValidEnumValues=o=>{const d=r.objectKeys(o).filter(_=>typeof o[o[_]]!="number"),v={};for(const _ of d)v[_]=o[_];return r.objectValues(v)},r.objectValues=o=>r.objectKeys(o).map(function(d){return o[d]}),r.objectKeys=typeof Object.keys=="function"?o=>Object.keys(o):o=>{const d=[];for(const v in o)Object.prototype.hasOwnProperty.call(o,v)&&d.push(v);return d},r.find=(o,d)=>{for(const v of o)if(d(v))return v},r.isInteger=typeof Number.isInteger=="function"?o=>Number.isInteger(o):o=>typeof o=="number"&&isFinite(o)&&Math.floor(o)===o;function a(o,d=" | "){return o.map(v=>typeof v=="string"?`'${v}'`:v).join(d)}r.joinValues=a,r.jsonStringifyReplacer=(o,d)=>typeof d=="bigint"?d.toString():d})(Yt||(Yt={}));var Bd;(function(r){r.mergeShapes=(e,n)=>({...e,...n})})(Bd||(Bd={}));const Ue=Yt.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),Ms=r=>{switch(typeof r){case"undefined":return Ue.undefined;case"string":return Ue.string;case"number":return isNaN(r)?Ue.nan:Ue.number;case"boolean":return Ue.boolean;case"function":return Ue.function;case"bigint":return Ue.bigint;case"symbol":return Ue.symbol;case"object":return Array.isArray(r)?Ue.array:r===null?Ue.null:r.then&&typeof r.then=="function"&&r.catch&&typeof r.catch=="function"?Ue.promise:typeof Map<"u"&&r instanceof Map?Ue.map:typeof Set<"u"&&r instanceof Set?Ue.set:typeof Date<"u"&&r instanceof Date?Ue.date:Ue.object;default:return Ue.unknown}},Ee=Yt.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]),lm=r=>JSON.stringify(r,null,2).replace(/"([^"]+)":/g,"$1:");class Ta extends Error{constructor(e){super(),this.issues=[],this.addIssue=a=>{this.issues=[...this.issues,a]},this.addIssues=(a=[])=>{this.issues=[...this.issues,...a]};const n=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,n):this.__proto__=n,this.name="ZodError",this.issues=e}get errors(){return this.issues}format(e){const n=e||function(d){return d.message},a={_errors:[]},o=d=>{for(const v of d.issues)if(v.code==="invalid_union")v.unionErrors.map(o);else if(v.code==="invalid_return_type")o(v.returnTypeError);else if(v.code==="invalid_arguments")o(v.argumentsError);else if(v.path.length===0)a._errors.push(n(v));else{let _=a,w=0;for(;w<v.path.length;){const C=v.path[w];w===v.path.length-1?(_[C]=_[C]||{_errors:[]},_[C]._errors.push(n(v))):_[C]=_[C]||{_errors:[]},_=_[C],w++}}};return o(this),a}toString(){return this.message}get message(){return JSON.stringify(this.issues,Yt.jsonStringifyReplacer,2)}get isEmpty(){return this.issues.length===0}flatten(e=n=>n.message){const n={},a=[];for(const o of this.issues)o.path.length>0?(n[o.path[0]]=n[o.path[0]]||[],n[o.path[0]].push(e(o))):a.push(e(o));return{formErrors:a,fieldErrors:n}}get formErrors(){return this.flatten()}}Ta.create=r=>new Ta(r);const ec=(r,e)=>{let n;switch(r.code){case Ee.invalid_type:r.received===Ue.undefined?n="Required":n=`Expected ${r.expected}, received ${r.received}`;break;case Ee.invalid_literal:n=`Invalid literal value, expected ${JSON.stringify(r.expected,Yt.jsonStringifyReplacer)}`;break;case Ee.unrecognized_keys:n=`Unrecognized key(s) in object: ${Yt.joinValues(r.keys,", ")}`;break;case Ee.invalid_union:n="Invalid input";break;case Ee.invalid_union_discriminator:n=`Invalid discriminator value. Expected ${Yt.joinValues(r.options)}`;break;case Ee.invalid_enum_value:n=`Invalid enum value. Expected ${Yt.joinValues(r.options)}, received '${r.received}'`;break;case Ee.invalid_arguments:n="Invalid function arguments";break;case Ee.invalid_return_type:n="Invalid function return type";break;case Ee.invalid_date:n="Invalid date";break;case Ee.invalid_string:typeof r.validation=="object"?"includes"in r.validation?(n=`Invalid input: must include "${r.validation.includes}"`,typeof r.validation.position=="number"&&(n=`${n} at one or more positions greater than or equal to ${r.validation.position}`)):"startsWith"in r.validation?n=`Invalid input: must start with "${r.validation.startsWith}"`:"endsWith"in r.validation?n=`Invalid input: must end with "${r.validation.endsWith}"`:Yt.assertNever(r.validation):r.validation!=="regex"?n=`Invalid ${r.validation}`:n="Invalid";break;case Ee.too_small:r.type==="array"?n=`Array must contain ${r.exact?"exactly":r.inclusive?"at least":"more than"} ${r.minimum} element(s)`:r.type==="string"?n=`String must contain ${r.exact?"exactly":r.inclusive?"at least":"over"} ${r.minimum} character(s)`:r.type==="number"?n=`Number must be ${r.exact?"exactly equal to ":r.inclusive?"greater than or equal to ":"greater than "}${r.minimum}`:r.type==="date"?n=`Date must be ${r.exact?"exactly equal to ":r.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(r.minimum))}`:n="Invalid input";break;case Ee.too_big:r.type==="array"?n=`Array must contain ${r.exact?"exactly":r.inclusive?"at most":"less than"} ${r.maximum} element(s)`:r.type==="string"?n=`String must contain ${r.exact?"exactly":r.inclusive?"at most":"under"} ${r.maximum} character(s)`:r.type==="number"?n=`Number must be ${r.exact?"exactly":r.inclusive?"less than or equal to":"less than"} ${r.maximum}`:r.type==="bigint"?n=`BigInt must be ${r.exact?"exactly":r.inclusive?"less than or equal to":"less than"} ${r.maximum}`:r.type==="date"?n=`Date must be ${r.exact?"exactly":r.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(r.maximum))}`:n="Invalid input";break;case Ee.custom:n="Invalid input";break;case Ee.invalid_intersection_types:n="Intersection results could not be merged";break;case Ee.not_multiple_of:n=`Number must be a multiple of ${r.multipleOf}`;break;case Ee.not_finite:n="Number must be finite";break;default:n=e.defaultError,Yt.assertNever(r)}return{message:n}};let fp=ec;function um(r){fp=r}function Hc(){return fp}const $c=r=>{const{data:e,path:n,errorMaps:a,issueData:o}=r,d=[...n,...o.path||[]],v={...o,path:d};let _="";const w=a.filter(C=>!!C).slice().reverse();for(const C of w)_=C(v,{data:e,defaultError:_}).message;return{...o,path:d,message:o.message||_}},cm=[];function Ve(r,e){const n=$c({issueData:e,data:r.data,path:r.path,errorMaps:[r.common.contextualErrorMap,r.schemaErrorMap,Hc(),ec].filter(a=>!!a)});r.common.issues.push(n)}class Ir{constructor(){this.value="valid"}dirty(){this.value==="valid"&&(this.value="dirty")}abort(){this.value!=="aborted"&&(this.value="aborted")}static mergeArray(e,n){const a=[];for(const o of n){if(o.status==="aborted")return yt;o.status==="dirty"&&e.dirty(),a.push(o.value)}return{status:e.value,value:a}}static async mergeObjectAsync(e,n){const a=[];for(const o of n)a.push({key:await o.key,value:await o.value});return Ir.mergeObjectSync(e,a)}static mergeObjectSync(e,n){const a={};for(const o of n){const{key:d,value:v}=o;if(d.status==="aborted"||v.status==="aborted")return yt;d.status==="dirty"&&e.dirty(),v.status==="dirty"&&e.dirty(),d.value!=="__proto__"&&(typeof v.value<"u"||o.alwaysSet)&&(a[d.value]=v.value)}return{status:e.value,value:a}}}const yt=Object.freeze({status:"aborted"}),pp=r=>({status:"dirty",value:r}),Gr=r=>({status:"valid",value:r}),Nd=r=>r.status==="aborted",jd=r=>r.status==="dirty",tc=r=>r.status==="valid",Gc=r=>typeof Promise<"u"&&r instanceof Promise;var rt;(function(r){r.errToObj=e=>typeof e=="string"?{message:e}:e||{},r.toString=e=>typeof e=="string"?e:e==null?void 0:e.message})(rt||(rt={}));class oo{constructor(e,n,a,o){this._cachedPath=[],this.parent=e,this.data=n,this._path=a,this._key=o}get path(){return this._cachedPath.length||(this._key instanceof Array?this._cachedPath.push(...this._path,...this._key):this._cachedPath.push(...this._path,this._key)),this._cachedPath}}const hp=(r,e)=>{if(tc(e))return{success:!0,data:e.value};if(!r.common.issues.length)throw new Error("Validation failed but no issues detected.");return{success:!1,get error(){if(this._error)return this._error;const n=new Ta(r.common.issues);return this._error=n,this._error}}};function Ct(r){if(!r)return{};const{errorMap:e,invalid_type_error:n,required_error:a,description:o}=r;if(e&&(n||a))throw new Error(`Can't use "invalid_type_error" or "required_error" in conjunction with custom error map.`);return e?{errorMap:e,description:o}:{errorMap:(v,_)=>v.code!=="invalid_type"?{message:_.defaultError}:typeof _.data>"u"?{message:a??_.defaultError}:{message:n??_.defaultError},description:o}}class Rt{constructor(e){this.spa=this.safeParseAsync,this._def=e,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.readonly=this.readonly.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this)}get description(){return this._def.description}_getType(e){return Ms(e.data)}_getOrReturnCtx(e,n){return n||{common:e.parent.common,data:e.data,parsedType:Ms(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}_processInputParams(e){return{status:new Ir,ctx:{common:e.parent.common,data:e.data,parsedType:Ms(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}}_parseSync(e){const n=this._parse(e);if(Gc(n))throw new Error("Synchronous parse encountered promise.");return n}_parseAsync(e){const n=this._parse(e);return Promise.resolve(n)}parse(e,n){const a=this.safeParse(e,n);if(a.success)return a.data;throw a.error}safeParse(e,n){var a;const o={common:{issues:[],async:(a=n==null?void 0:n.async)!==null&&a!==void 0?a:!1,contextualErrorMap:n==null?void 0:n.errorMap},path:(n==null?void 0:n.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:Ms(e)},d=this._parseSync({data:e,path:o.path,parent:o});return hp(o,d)}async parseAsync(e,n){const a=await this.safeParseAsync(e,n);if(a.success)return a.data;throw a.error}async safeParseAsync(e,n){const a={common:{issues:[],contextualErrorMap:n==null?void 0:n.errorMap,async:!0},path:(n==null?void 0:n.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:Ms(e)},o=this._parse({data:e,path:a.path,parent:a}),d=await(Gc(o)?o:Promise.resolve(o));return hp(a,d)}refine(e,n){const a=o=>typeof n=="string"||typeof n>"u"?{message:n}:typeof n=="function"?n(o):n;return this._refinement((o,d)=>{const v=e(o),_=()=>d.addIssue({code:Ee.custom,...a(o)});return typeof Promise<"u"&&v instanceof Promise?v.then(w=>w?!0:(_(),!1)):v?!0:(_(),!1)})}refinement(e,n){return this._refinement((a,o)=>e(a)?!0:(o.addIssue(typeof n=="function"?n(a,o):n),!1))}_refinement(e){return new Aa({schema:this,typeName:ct.ZodEffects,effect:{type:"refinement",refinement:e}})}superRefine(e){return this._refinement(e)}optional(){return Ho.create(this,this._def)}nullable(){return Il.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return Ia.create(this,this._def)}promise(){return Eu.create(this,this._def)}or(e){return ac.create([this,e],this._def)}and(e){return oc.create(this,e,this._def)}transform(e){return new Aa({...Ct(this._def),schema:this,typeName:ct.ZodEffects,effect:{type:"transform",transform:e}})}default(e){const n=typeof e=="function"?e:()=>e;return new dc({...Ct(this._def),innerType:this,defaultValue:n,typeName:ct.ZodDefault})}brand(){return new mp({typeName:ct.ZodBranded,type:this,...Ct(this._def)})}catch(e){const n=typeof e=="function"?e:()=>e;return new Xc({...Ct(this._def),innerType:this,catchValue:n,typeName:ct.ZodCatch})}describe(e){const n=this.constructor;return new n({...this._def,description:e})}pipe(e){return fc.create(this,e)}readonly(){return ed.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}}const dm=/^c[^\s-]{8,}$/i,fm=/^[a-z][a-z0-9]*$/,pm=/[0-9A-HJKMNP-TV-Z]{26}/,hm=/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i,gm=/^([A-Z0-9_+-]+\.?)*[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,mm=/^(\p{Extended_Pictographic}|\p{Emoji_Component})+$/u,vm=/^(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))$/,bm=/^(([a-f0-9]{1,4}:){7}|::([a-f0-9]{1,4}:){0,6}|([a-f0-9]{1,4}:){1}:([a-f0-9]{1,4}:){0,5}|([a-f0-9]{1,4}:){2}:([a-f0-9]{1,4}:){0,4}|([a-f0-9]{1,4}:){3}:([a-f0-9]{1,4}:){0,3}|([a-f0-9]{1,4}:){4}:([a-f0-9]{1,4}:){0,2}|([a-f0-9]{1,4}:){5}:([a-f0-9]{1,4}:){0,1})([a-f0-9]{1,4}|(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2})))$/,ym=r=>r.precision?r.offset?new RegExp(`^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{${r.precision}}(([+-]\\d{2}(:?\\d{2})?)|Z)$`):new RegExp(`^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{${r.precision}}Z$`):r.precision===0?r.offset?new RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(([+-]\\d{2}(:?\\d{2})?)|Z)$"):new RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}Z$"):r.offset?new RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?(([+-]\\d{2}(:?\\d{2})?)|Z)$"):new RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?Z$");function wm(r,e){return!!((e==="v4"||!e)&&vm.test(r)||(e==="v6"||!e)&&bm.test(r))}class Ra extends Rt{constructor(){super(...arguments),this._regex=(e,n,a)=>this.refinement(o=>e.test(o),{validation:n,code:Ee.invalid_string,...rt.errToObj(a)}),this.nonempty=e=>this.min(1,rt.errToObj(e)),this.trim=()=>new Ra({...this._def,checks:[...this._def.checks,{kind:"trim"}]}),this.toLowerCase=()=>new Ra({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]}),this.toUpperCase=()=>new Ra({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}_parse(e){if(this._def.coerce&&(e.data=String(e.data)),this._getType(e)!==Ue.string){const d=this._getOrReturnCtx(e);return Ve(d,{code:Ee.invalid_type,expected:Ue.string,received:d.parsedType}),yt}const a=new Ir;let o;for(const d of this._def.checks)if(d.kind==="min")e.data.length<d.value&&(o=this._getOrReturnCtx(e,o),Ve(o,{code:Ee.too_small,minimum:d.value,type:"string",inclusive:!0,exact:!1,message:d.message}),a.dirty());else if(d.kind==="max")e.data.length>d.value&&(o=this._getOrReturnCtx(e,o),Ve(o,{code:Ee.too_big,maximum:d.value,type:"string",inclusive:!0,exact:!1,message:d.message}),a.dirty());else if(d.kind==="length"){const v=e.data.length>d.value,_=e.data.length<d.value;(v||_)&&(o=this._getOrReturnCtx(e,o),v?Ve(o,{code:Ee.too_big,maximum:d.value,type:"string",inclusive:!0,exact:!0,message:d.message}):_&&Ve(o,{code:Ee.too_small,minimum:d.value,type:"string",inclusive:!0,exact:!0,message:d.message}),a.dirty())}else if(d.kind==="email")gm.test(e.data)||(o=this._getOrReturnCtx(e,o),Ve(o,{validation:"email",code:Ee.invalid_string,message:d.message}),a.dirty());else if(d.kind==="emoji")mm.test(e.data)||(o=this._getOrReturnCtx(e,o),Ve(o,{validation:"emoji",code:Ee.invalid_string,message:d.message}),a.dirty());else if(d.kind==="uuid")hm.test(e.data)||(o=this._getOrReturnCtx(e,o),Ve(o,{validation:"uuid",code:Ee.invalid_string,message:d.message}),a.dirty());else if(d.kind==="cuid")dm.test(e.data)||(o=this._getOrReturnCtx(e,o),Ve(o,{validation:"cuid",code:Ee.invalid_string,message:d.message}),a.dirty());else if(d.kind==="cuid2")fm.test(e.data)||(o=this._getOrReturnCtx(e,o),Ve(o,{validation:"cuid2",code:Ee.invalid_string,message:d.message}),a.dirty());else if(d.kind==="ulid")pm.test(e.data)||(o=this._getOrReturnCtx(e,o),Ve(o,{validation:"ulid",code:Ee.invalid_string,message:d.message}),a.dirty());else if(d.kind==="url")try{new URL(e.data)}catch{o=this._getOrReturnCtx(e,o),Ve(o,{validation:"url",code:Ee.invalid_string,message:d.message}),a.dirty()}else d.kind==="regex"?(d.regex.lastIndex=0,d.regex.test(e.data)||(o=this._getOrReturnCtx(e,o),Ve(o,{validation:"regex",code:Ee.invalid_string,message:d.message}),a.dirty())):d.kind==="trim"?e.data=e.data.trim():d.kind==="includes"?e.data.includes(d.value,d.position)||(o=this._getOrReturnCtx(e,o),Ve(o,{code:Ee.invalid_string,validation:{includes:d.value,position:d.position},message:d.message}),a.dirty()):d.kind==="toLowerCase"?e.data=e.data.toLowerCase():d.kind==="toUpperCase"?e.data=e.data.toUpperCase():d.kind==="startsWith"?e.data.startsWith(d.value)||(o=this._getOrReturnCtx(e,o),Ve(o,{code:Ee.invalid_string,validation:{startsWith:d.value},message:d.message}),a.dirty()):d.kind==="endsWith"?e.data.endsWith(d.value)||(o=this._getOrReturnCtx(e,o),Ve(o,{code:Ee.invalid_string,validation:{endsWith:d.value},message:d.message}),a.dirty()):d.kind==="datetime"?ym(d).test(e.data)||(o=this._getOrReturnCtx(e,o),Ve(o,{code:Ee.invalid_string,validation:"datetime",message:d.message}),a.dirty()):d.kind==="ip"?wm(e.data,d.version)||(o=this._getOrReturnCtx(e,o),Ve(o,{validation:"ip",code:Ee.invalid_string,message:d.message}),a.dirty()):Yt.assertNever(d);return{status:a.value,value:e.data}}_addCheck(e){return new Ra({...this._def,checks:[...this._def.checks,e]})}email(e){return this._addCheck({kind:"email",...rt.errToObj(e)})}url(e){return this._addCheck({kind:"url",...rt.errToObj(e)})}emoji(e){return this._addCheck({kind:"emoji",...rt.errToObj(e)})}uuid(e){return this._addCheck({kind:"uuid",...rt.errToObj(e)})}cuid(e){return this._addCheck({kind:"cuid",...rt.errToObj(e)})}cuid2(e){return this._addCheck({kind:"cuid2",...rt.errToObj(e)})}ulid(e){return this._addCheck({kind:"ulid",...rt.errToObj(e)})}ip(e){return this._addCheck({kind:"ip",...rt.errToObj(e)})}datetime(e){var n;return typeof e=="string"?this._addCheck({kind:"datetime",precision:null,offset:!1,message:e}):this._addCheck({kind:"datetime",precision:typeof(e==null?void 0:e.precision)>"u"?null:e==null?void 0:e.precision,offset:(n=e==null?void 0:e.offset)!==null&&n!==void 0?n:!1,...rt.errToObj(e==null?void 0:e.message)})}regex(e,n){return this._addCheck({kind:"regex",regex:e,...rt.errToObj(n)})}includes(e,n){return this._addCheck({kind:"includes",value:e,position:n==null?void 0:n.position,...rt.errToObj(n==null?void 0:n.message)})}startsWith(e,n){return this._addCheck({kind:"startsWith",value:e,...rt.errToObj(n)})}endsWith(e,n){return this._addCheck({kind:"endsWith",value:e,...rt.errToObj(n)})}min(e,n){return this._addCheck({kind:"min",value:e,...rt.errToObj(n)})}max(e,n){return this._addCheck({kind:"max",value:e,...rt.errToObj(n)})}length(e,n){return this._addCheck({kind:"length",value:e,...rt.errToObj(n)})}get isDatetime(){return!!this._def.checks.find(e=>e.kind==="datetime")}get isEmail(){return!!this._def.checks.find(e=>e.kind==="email")}get isURL(){return!!this._def.checks.find(e=>e.kind==="url")}get isEmoji(){return!!this._def.checks.find(e=>e.kind==="emoji")}get isUUID(){return!!this._def.checks.find(e=>e.kind==="uuid")}get isCUID(){return!!this._def.checks.find(e=>e.kind==="cuid")}get isCUID2(){return!!this._def.checks.find(e=>e.kind==="cuid2")}get isULID(){return!!this._def.checks.find(e=>e.kind==="ulid")}get isIP(){return!!this._def.checks.find(e=>e.kind==="ip")}get minLength(){let e=null;for(const n of this._def.checks)n.kind==="min"&&(e===null||n.value>e)&&(e=n.value);return e}get maxLength(){let e=null;for(const n of this._def.checks)n.kind==="max"&&(e===null||n.value<e)&&(e=n.value);return e}}Ra.create=r=>{var e;return new Ra({checks:[],typeName:ct.ZodString,coerce:(e=r==null?void 0:r.coerce)!==null&&e!==void 0?e:!1,...Ct(r)})};function xm(r,e){const n=(r.toString().split(".")[1]||"").length,a=(e.toString().split(".")[1]||"").length,o=n>a?n:a,d=parseInt(r.toFixed(o).replace(".","")),v=parseInt(e.toFixed(o).replace(".",""));return d%v/Math.pow(10,o)}class Fs extends Rt{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(e){if(this._def.coerce&&(e.data=Number(e.data)),this._getType(e)!==Ue.number){const d=this._getOrReturnCtx(e);return Ve(d,{code:Ee.invalid_type,expected:Ue.number,received:d.parsedType}),yt}let a;const o=new Ir;for(const d of this._def.checks)d.kind==="int"?Yt.isInteger(e.data)||(a=this._getOrReturnCtx(e,a),Ve(a,{code:Ee.invalid_type,expected:"integer",received:"float",message:d.message}),o.dirty()):d.kind==="min"?(d.inclusive?e.data<d.value:e.data<=d.value)&&(a=this._getOrReturnCtx(e,a),Ve(a,{code:Ee.too_small,minimum:d.value,type:"number",inclusive:d.inclusive,exact:!1,message:d.message}),o.dirty()):d.kind==="max"?(d.inclusive?e.data>d.value:e.data>=d.value)&&(a=this._getOrReturnCtx(e,a),Ve(a,{code:Ee.too_big,maximum:d.value,type:"number",inclusive:d.inclusive,exact:!1,message:d.message}),o.dirty()):d.kind==="multipleOf"?xm(e.data,d.value)!==0&&(a=this._getOrReturnCtx(e,a),Ve(a,{code:Ee.not_multiple_of,multipleOf:d.value,message:d.message}),o.dirty()):d.kind==="finite"?Number.isFinite(e.data)||(a=this._getOrReturnCtx(e,a),Ve(a,{code:Ee.not_finite,message:d.message}),o.dirty()):Yt.assertNever(d);return{status:o.value,value:e.data}}gte(e,n){return this.setLimit("min",e,!0,rt.toString(n))}gt(e,n){return this.setLimit("min",e,!1,rt.toString(n))}lte(e,n){return this.setLimit("max",e,!0,rt.toString(n))}lt(e,n){return this.setLimit("max",e,!1,rt.toString(n))}setLimit(e,n,a,o){return new Fs({...this._def,checks:[...this._def.checks,{kind:e,value:n,inclusive:a,message:rt.toString(o)}]})}_addCheck(e){return new Fs({...this._def,checks:[...this._def.checks,e]})}int(e){return this._addCheck({kind:"int",message:rt.toString(e)})}positive(e){return this._addCheck({kind:"min",value:0,inclusive:!1,message:rt.toString(e)})}negative(e){return this._addCheck({kind:"max",value:0,inclusive:!1,message:rt.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:0,inclusive:!0,message:rt.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:0,inclusive:!0,message:rt.toString(e)})}multipleOf(e,n){return this._addCheck({kind:"multipleOf",value:e,message:rt.toString(n)})}finite(e){return this._addCheck({kind:"finite",message:rt.toString(e)})}safe(e){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:rt.toString(e)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:rt.toString(e)})}get minValue(){let e=null;for(const n of this._def.checks)n.kind==="min"&&(e===null||n.value>e)&&(e=n.value);return e}get maxValue(){let e=null;for(const n of this._def.checks)n.kind==="max"&&(e===null||n.value<e)&&(e=n.value);return e}get isInt(){return!!this._def.checks.find(e=>e.kind==="int"||e.kind==="multipleOf"&&Yt.isInteger(e.value))}get isFinite(){let e=null,n=null;for(const a of this._def.checks){if(a.kind==="finite"||a.kind==="int"||a.kind==="multipleOf")return!0;a.kind==="min"?(n===null||a.value>n)&&(n=a.value):a.kind==="max"&&(e===null||a.value<e)&&(e=a.value)}return Number.isFinite(n)&&Number.isFinite(e)}}Fs.create=r=>new Fs({checks:[],typeName:ct.ZodNumber,coerce:(r==null?void 0:r.coerce)||!1,...Ct(r)});class Ps extends Rt{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte}_parse(e){if(this._def.coerce&&(e.data=BigInt(e.data)),this._getType(e)!==Ue.bigint){const d=this._getOrReturnCtx(e);return Ve(d,{code:Ee.invalid_type,expected:Ue.bigint,received:d.parsedType}),yt}let a;const o=new Ir;for(const d of this._def.checks)d.kind==="min"?(d.inclusive?e.data<d.value:e.data<=d.value)&&(a=this._getOrReturnCtx(e,a),Ve(a,{code:Ee.too_small,type:"bigint",minimum:d.value,inclusive:d.inclusive,message:d.message}),o.dirty()):d.kind==="max"?(d.inclusive?e.data>d.value:e.data>=d.value)&&(a=this._getOrReturnCtx(e,a),Ve(a,{code:Ee.too_big,type:"bigint",maximum:d.value,inclusive:d.inclusive,message:d.message}),o.dirty()):d.kind==="multipleOf"?e.data%d.value!==BigInt(0)&&(a=this._getOrReturnCtx(e,a),Ve(a,{code:Ee.not_multiple_of,multipleOf:d.value,message:d.message}),o.dirty()):Yt.assertNever(d);return{status:o.value,value:e.data}}gte(e,n){return this.setLimit("min",e,!0,rt.toString(n))}gt(e,n){return this.setLimit("min",e,!1,rt.toString(n))}lte(e,n){return this.setLimit("max",e,!0,rt.toString(n))}lt(e,n){return this.setLimit("max",e,!1,rt.toString(n))}setLimit(e,n,a,o){return new Ps({...this._def,checks:[...this._def.checks,{kind:e,value:n,inclusive:a,message:rt.toString(o)}]})}_addCheck(e){return new Ps({...this._def,checks:[...this._def.checks,e]})}positive(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:rt.toString(e)})}negative(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:rt.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:rt.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:rt.toString(e)})}multipleOf(e,n){return this._addCheck({kind:"multipleOf",value:e,message:rt.toString(n)})}get minValue(){let e=null;for(const n of this._def.checks)n.kind==="min"&&(e===null||n.value>e)&&(e=n.value);return e}get maxValue(){let e=null;for(const n of this._def.checks)n.kind==="max"&&(e===null||n.value<e)&&(e=n.value);return e}}Ps.create=r=>{var e;return new Ps({checks:[],typeName:ct.ZodBigInt,coerce:(e=r==null?void 0:r.coerce)!==null&&e!==void 0?e:!1,...Ct(r)})};class nc extends Rt{_parse(e){if(this._def.coerce&&(e.data=!!e.data),this._getType(e)!==Ue.boolean){const a=this._getOrReturnCtx(e);return Ve(a,{code:Ee.invalid_type,expected:Ue.boolean,received:a.parsedType}),yt}return Gr(e.data)}}nc.create=r=>new nc({typeName:ct.ZodBoolean,coerce:(r==null?void 0:r.coerce)||!1,...Ct(r)});class Cl extends Rt{_parse(e){if(this._def.coerce&&(e.data=new Date(e.data)),this._getType(e)!==Ue.date){const d=this._getOrReturnCtx(e);return Ve(d,{code:Ee.invalid_type,expected:Ue.date,received:d.parsedType}),yt}if(isNaN(e.data.getTime())){const d=this._getOrReturnCtx(e);return Ve(d,{code:Ee.invalid_date}),yt}const a=new Ir;let o;for(const d of this._def.checks)d.kind==="min"?e.data.getTime()<d.value&&(o=this._getOrReturnCtx(e,o),Ve(o,{code:Ee.too_small,message:d.message,inclusive:!0,exact:!1,minimum:d.value,type:"date"}),a.dirty()):d.kind==="max"?e.data.getTime()>d.value&&(o=this._getOrReturnCtx(e,o),Ve(o,{code:Ee.too_big,message:d.message,inclusive:!0,exact:!1,maximum:d.value,type:"date"}),a.dirty()):Yt.assertNever(d);return{status:a.value,value:new Date(e.data.getTime())}}_addCheck(e){return new Cl({...this._def,checks:[...this._def.checks,e]})}min(e,n){return this._addCheck({kind:"min",value:e.getTime(),message:rt.toString(n)})}max(e,n){return this._addCheck({kind:"max",value:e.getTime(),message:rt.toString(n)})}get minDate(){let e=null;for(const n of this._def.checks)n.kind==="min"&&(e===null||n.value>e)&&(e=n.value);return e!=null?new Date(e):null}get maxDate(){let e=null;for(const n of this._def.checks)n.kind==="max"&&(e===null||n.value<e)&&(e=n.value);return e!=null?new Date(e):null}}Cl.create=r=>new Cl({checks:[],coerce:(r==null?void 0:r.coerce)||!1,typeName:ct.ZodDate,...Ct(r)});class Zc extends Rt{_parse(e){if(this._getType(e)!==Ue.symbol){const a=this._getOrReturnCtx(e);return Ve(a,{code:Ee.invalid_type,expected:Ue.symbol,received:a.parsedType}),yt}return Gr(e.data)}}Zc.create=r=>new Zc({typeName:ct.ZodSymbol,...Ct(r)});class rc extends Rt{_parse(e){if(this._getType(e)!==Ue.undefined){const a=this._getOrReturnCtx(e);return Ve(a,{code:Ee.invalid_type,expected:Ue.undefined,received:a.parsedType}),yt}return Gr(e.data)}}rc.create=r=>new rc({typeName:ct.ZodUndefined,...Ct(r)});class ic extends Rt{_parse(e){if(this._getType(e)!==Ue.null){const a=this._getOrReturnCtx(e);return Ve(a,{code:Ee.invalid_type,expected:Ue.null,received:a.parsedType}),yt}return Gr(e.data)}}ic.create=r=>new ic({typeName:ct.ZodNull,...Ct(r)});class Su extends Rt{constructor(){super(...arguments),this._any=!0}_parse(e){return Gr(e.data)}}Su.create=r=>new Su({typeName:ct.ZodAny,...Ct(r)});class Tl extends Rt{constructor(){super(...arguments),this._unknown=!0}_parse(e){return Gr(e.data)}}Tl.create=r=>new Tl({typeName:ct.ZodUnknown,...Ct(r)});class Vo extends Rt{_parse(e){const n=this._getOrReturnCtx(e);return Ve(n,{code:Ee.invalid_type,expected:Ue.never,received:n.parsedType}),yt}}Vo.create=r=>new Vo({typeName:ct.ZodNever,...Ct(r)});class Yc extends Rt{_parse(e){if(this._getType(e)!==Ue.undefined){const a=this._getOrReturnCtx(e);return Ve(a,{code:Ee.invalid_type,expected:Ue.void,received:a.parsedType}),yt}return Gr(e.data)}}Yc.create=r=>new Yc({typeName:ct.ZodVoid,...Ct(r)});class Ia extends Rt{_parse(e){const{ctx:n,status:a}=this._processInputParams(e),o=this._def;if(n.parsedType!==Ue.array)return Ve(n,{code:Ee.invalid_type,expected:Ue.array,received:n.parsedType}),yt;if(o.exactLength!==null){const v=n.data.length>o.exactLength.value,_=n.data.length<o.exactLength.value;(v||_)&&(Ve(n,{code:v?Ee.too_big:Ee.too_small,minimum:_?o.exactLength.value:void 0,maximum:v?o.exactLength.value:void 0,type:"array",inclusive:!0,exact:!0,message:o.exactLength.message}),a.dirty())}if(o.minLength!==null&&n.data.length<o.minLength.value&&(Ve(n,{code:Ee.too_small,minimum:o.minLength.value,type:"array",inclusive:!0,exact:!1,message:o.minLength.message}),a.dirty()),o.maxLength!==null&&n.data.length>o.maxLength.value&&(Ve(n,{code:Ee.too_big,maximum:o.maxLength.value,type:"array",inclusive:!0,exact:!1,message:o.maxLength.message}),a.dirty()),n.common.async)return Promise.all([...n.data].map((v,_)=>o.type._parseAsync(new oo(n,v,n.path,_)))).then(v=>Ir.mergeArray(a,v));const d=[...n.data].map((v,_)=>o.type._parseSync(new oo(n,v,n.path,_)));return Ir.mergeArray(a,d)}get element(){return this._def.type}min(e,n){return new Ia({...this._def,minLength:{value:e,message:rt.toString(n)}})}max(e,n){return new Ia({...this._def,maxLength:{value:e,message:rt.toString(n)}})}length(e,n){return new Ia({...this._def,exactLength:{value:e,message:rt.toString(n)}})}nonempty(e){return this.min(1,e)}}Ia.create=(r,e)=>new Ia({type:r,minLength:null,maxLength:null,exactLength:null,typeName:ct.ZodArray,...Ct(e)});function _u(r){if(r instanceof Rn){const e={};for(const n in r.shape){const a=r.shape[n];e[n]=Ho.create(_u(a))}return new Rn({...r._def,shape:()=>e})}else return r instanceof Ia?new Ia({...r._def,type:_u(r.element)}):r instanceof Ho?Ho.create(_u(r.unwrap())):r instanceof Il?Il.create(_u(r.unwrap())):r instanceof so?so.create(r.items.map(e=>_u(e))):r}class Rn extends Rt{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(this._cached!==null)return this._cached;const e=this._def.shape(),n=Yt.objectKeys(e);return this._cached={shape:e,keys:n}}_parse(e){if(this._getType(e)!==Ue.object){const C=this._getOrReturnCtx(e);return Ve(C,{code:Ee.invalid_type,expected:Ue.object,received:C.parsedType}),yt}const{status:a,ctx:o}=this._processInputParams(e),{shape:d,keys:v}=this._getCached(),_=[];if(!(this._def.catchall instanceof Vo&&this._def.unknownKeys==="strip"))for(const C in o.data)v.includes(C)||_.push(C);const w=[];for(const C of v){const N=d[C],L=o.data[C];w.push({key:{status:"valid",value:C},value:N._parse(new oo(o,L,o.path,C)),alwaysSet:C in o.data})}if(this._def.catchall instanceof Vo){const C=this._def.unknownKeys;if(C==="passthrough")for(const N of _)w.push({key:{status:"valid",value:N},value:{status:"valid",value:o.data[N]}});else if(C==="strict")_.length>0&&(Ve(o,{code:Ee.unrecognized_keys,keys:_}),a.dirty());else if(C!=="strip")throw new Error("Internal ZodObject error: invalid unknownKeys value.")}else{const C=this._def.catchall;for(const N of _){const L=o.data[N];w.push({key:{status:"valid",value:N},value:C._parse(new oo(o,L,o.path,N)),alwaysSet:N in o.data})}}return o.common.async?Promise.resolve().then(async()=>{const C=[];for(const N of w){const L=await N.key;C.push({key:L,value:await N.value,alwaysSet:N.alwaysSet})}return C}).then(C=>Ir.mergeObjectSync(a,C)):Ir.mergeObjectSync(a,w)}get shape(){return this._def.shape()}strict(e){return rt.errToObj,new Rn({...this._def,unknownKeys:"strict",...e!==void 0?{errorMap:(n,a)=>{var o,d,v,_;const w=(v=(d=(o=this._def).errorMap)===null||d===void 0?void 0:d.call(o,n,a).message)!==null&&v!==void 0?v:a.defaultError;return n.code==="unrecognized_keys"?{message:(_=rt.errToObj(e).message)!==null&&_!==void 0?_:w}:{message:w}}}:{}})}strip(){return new Rn({...this._def,unknownKeys:"strip"})}passthrough(){return new Rn({...this._def,unknownKeys:"passthrough"})}extend(e){return new Rn({...this._def,shape:()=>({...this._def.shape(),...e})})}merge(e){return new Rn({unknownKeys:e._def.unknownKeys,catchall:e._def.catchall,shape:()=>({...this._def.shape(),...e._def.shape()}),typeName:ct.ZodObject})}setKey(e,n){return this.augment({[e]:n})}catchall(e){return new Rn({...this._def,catchall:e})}pick(e){const n={};return Yt.objectKeys(e).forEach(a=>{e[a]&&this.shape[a]&&(n[a]=this.shape[a])}),new Rn({...this._def,shape:()=>n})}omit(e){const n={};return Yt.objectKeys(this.shape).forEach(a=>{e[a]||(n[a]=this.shape[a])}),new Rn({...this._def,shape:()=>n})}deepPartial(){return _u(this)}partial(e){const n={};return Yt.objectKeys(this.shape).forEach(a=>{const o=this.shape[a];e&&!e[a]?n[a]=o:n[a]=o.optional()}),new Rn({...this._def,shape:()=>n})}required(e){const n={};return Yt.objectKeys(this.shape).forEach(a=>{if(e&&!e[a])n[a]=this.shape[a];else{let d=this.shape[a];for(;d instanceof Ho;)d=d._def.innerType;n[a]=d}}),new Rn({...this._def,shape:()=>n})}keyof(){return gp(Yt.objectKeys(this.shape))}}Rn.create=(r,e)=>new Rn({shape:()=>r,unknownKeys:"strip",catchall:Vo.create(),typeName:ct.ZodObject,...Ct(e)}),Rn.strictCreate=(r,e)=>new Rn({shape:()=>r,unknownKeys:"strict",catchall:Vo.create(),typeName:ct.ZodObject,...Ct(e)}),Rn.lazycreate=(r,e)=>new Rn({shape:r,unknownKeys:"strip",catchall:Vo.create(),typeName:ct.ZodObject,...Ct(e)});class ac extends Rt{_parse(e){const{ctx:n}=this._processInputParams(e),a=this._def.options;function o(d){for(const _ of d)if(_.result.status==="valid")return _.result;for(const _ of d)if(_.result.status==="dirty")return n.common.issues.push(..._.ctx.common.issues),_.result;const v=d.map(_=>new Ta(_.ctx.common.issues));return Ve(n,{code:Ee.invalid_union,unionErrors:v}),yt}if(n.common.async)return Promise.all(a.map(async d=>{const v={...n,common:{...n.common,issues:[]},parent:null};return{result:await d._parseAsync({data:n.data,path:n.path,parent:v}),ctx:v}})).then(o);{let d;const v=[];for(const w of a){const C={...n,common:{...n.common,issues:[]},parent:null},N=w._parseSync({data:n.data,path:n.path,parent:C});if(N.status==="valid")return N;N.status==="dirty"&&!d&&(d={result:N,ctx:C}),C.common.issues.length&&v.push(C.common.issues)}if(d)return n.common.issues.push(...d.ctx.common.issues),d.result;const _=v.map(w=>new Ta(w));return Ve(n,{code:Ee.invalid_union,unionErrors:_}),yt}}get options(){return this._def.options}}ac.create=(r,e)=>new ac({options:r,typeName:ct.ZodUnion,...Ct(e)});const Kc=r=>r instanceof lc?Kc(r.schema):r instanceof Aa?Kc(r.innerType()):r instanceof uc?[r.value]:r instanceof Ds?r.options:r instanceof cc?Object.keys(r.enum):r instanceof dc?Kc(r._def.innerType):r instanceof rc?[void 0]:r instanceof ic?[null]:null;class Jc extends Rt{_parse(e){const{ctx:n}=this._processInputParams(e);if(n.parsedType!==Ue.object)return Ve(n,{code:Ee.invalid_type,expected:Ue.object,received:n.parsedType}),yt;const a=this.discriminator,o=n.data[a],d=this.optionsMap.get(o);return d?n.common.async?d._parseAsync({data:n.data,path:n.path,parent:n}):d._parseSync({data:n.data,path:n.path,parent:n}):(Ve(n,{code:Ee.invalid_union_discriminator,options:Array.from(this.optionsMap.keys()),path:[a]}),yt)}get discriminator(){return this._def.discriminator}get options(){return this._def.options}get optionsMap(){return this._def.optionsMap}static create(e,n,a){const o=new Map;for(const d of n){const v=Kc(d.shape[e]);if(!v)throw new Error(`A discriminator value for key \`${e}\` could not be extracted from all schema options`);for(const _ of v){if(o.has(_))throw new Error(`Discriminator property ${String(e)} has duplicate value ${String(_)}`);o.set(_,d)}}return new Jc({typeName:ct.ZodDiscriminatedUnion,discriminator:e,options:n,optionsMap:o,...Ct(a)})}}function zd(r,e){const n=Ms(r),a=Ms(e);if(r===e)return{valid:!0,data:r};if(n===Ue.object&&a===Ue.object){const o=Yt.objectKeys(e),d=Yt.objectKeys(r).filter(_=>o.indexOf(_)!==-1),v={...r,...e};for(const _ of d){const w=zd(r[_],e[_]);if(!w.valid)return{valid:!1};v[_]=w.data}return{valid:!0,data:v}}else if(n===Ue.array&&a===Ue.array){if(r.length!==e.length)return{valid:!1};const o=[];for(let d=0;d<r.length;d++){const v=r[d],_=e[d],w=zd(v,_);if(!w.valid)return{valid:!1};o.push(w.data)}return{valid:!0,data:o}}else return n===Ue.date&&a===Ue.date&&+r==+e?{valid:!0,data:r}:{valid:!1}}class oc extends Rt{_parse(e){const{status:n,ctx:a}=this._processInputParams(e),o=(d,v)=>{if(Nd(d)||Nd(v))return yt;const _=zd(d.value,v.value);return _.valid?((jd(d)||jd(v))&&n.dirty(),{status:n.value,value:_.data}):(Ve(a,{code:Ee.invalid_intersection_types}),yt)};return a.common.async?Promise.all([this._def.left._parseAsync({data:a.data,path:a.path,parent:a}),this._def.right._parseAsync({data:a.data,path:a.path,parent:a})]).then(([d,v])=>o(d,v)):o(this._def.left._parseSync({data:a.data,path:a.path,parent:a}),this._def.right._parseSync({data:a.data,path:a.path,parent:a}))}}oc.create=(r,e,n)=>new oc({left:r,right:e,typeName:ct.ZodIntersection,...Ct(n)});class so extends Rt{_parse(e){const{status:n,ctx:a}=this._processInputParams(e);if(a.parsedType!==Ue.array)return Ve(a,{code:Ee.invalid_type,expected:Ue.array,received:a.parsedType}),yt;if(a.data.length<this._def.items.length)return Ve(a,{code:Ee.too_small,minimum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),yt;!this._def.rest&&a.data.length>this._def.items.length&&(Ve(a,{code:Ee.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),n.dirty());const d=[...a.data].map((v,_)=>{const w=this._def.items[_]||this._def.rest;return w?w._parse(new oo(a,v,a.path,_)):null}).filter(v=>!!v);return a.common.async?Promise.all(d).then(v=>Ir.mergeArray(n,v)):Ir.mergeArray(n,d)}get items(){return this._def.items}rest(e){return new so({...this._def,rest:e})}}so.create=(r,e)=>{if(!Array.isArray(r))throw new Error("You must pass an array of schemas to z.tuple([ ... ])");return new so({items:r,typeName:ct.ZodTuple,rest:null,...Ct(e)})};class sc extends Rt{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){const{status:n,ctx:a}=this._processInputParams(e);if(a.parsedType!==Ue.object)return Ve(a,{code:Ee.invalid_type,expected:Ue.object,received:a.parsedType}),yt;const o=[],d=this._def.keyType,v=this._def.valueType;for(const _ in a.data)o.push({key:d._parse(new oo(a,_,a.path,_)),value:v._parse(new oo(a,a.data[_],a.path,_))});return a.common.async?Ir.mergeObjectAsync(n,o):Ir.mergeObjectSync(n,o)}get element(){return this._def.valueType}static create(e,n,a){return n instanceof Rt?new sc({keyType:e,valueType:n,typeName:ct.ZodRecord,...Ct(a)}):new sc({keyType:Ra.create(),valueType:e,typeName:ct.ZodRecord,...Ct(n)})}}class Qc extends Rt{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){const{status:n,ctx:a}=this._processInputParams(e);if(a.parsedType!==Ue.map)return Ve(a,{code:Ee.invalid_type,expected:Ue.map,received:a.parsedType}),yt;const o=this._def.keyType,d=this._def.valueType,v=[...a.data.entries()].map(([_,w],C)=>({key:o._parse(new oo(a,_,a.path,[C,"key"])),value:d._parse(new oo(a,w,a.path,[C,"value"]))}));if(a.common.async){const _=new Map;return Promise.resolve().then(async()=>{for(const w of v){const C=await w.key,N=await w.value;if(C.status==="aborted"||N.status==="aborted")return yt;(C.status==="dirty"||N.status==="dirty")&&n.dirty(),_.set(C.value,N.value)}return{status:n.value,value:_}})}else{const _=new Map;for(const w of v){const C=w.key,N=w.value;if(C.status==="aborted"||N.status==="aborted")return yt;(C.status==="dirty"||N.status==="dirty")&&n.dirty(),_.set(C.value,N.value)}return{status:n.value,value:_}}}}Qc.create=(r,e,n)=>new Qc({valueType:e,keyType:r,typeName:ct.ZodMap,...Ct(n)});class Rl extends Rt{_parse(e){const{status:n,ctx:a}=this._processInputParams(e);if(a.parsedType!==Ue.set)return Ve(a,{code:Ee.invalid_type,expected:Ue.set,received:a.parsedType}),yt;const o=this._def;o.minSize!==null&&a.data.size<o.minSize.value&&(Ve(a,{code:Ee.too_small,minimum:o.minSize.value,type:"set",inclusive:!0,exact:!1,message:o.minSize.message}),n.dirty()),o.maxSize!==null&&a.data.size>o.maxSize.value&&(Ve(a,{code:Ee.too_big,maximum:o.maxSize.value,type:"set",inclusive:!0,exact:!1,message:o.maxSize.message}),n.dirty());const d=this._def.valueType;function v(w){const C=new Set;for(const N of w){if(N.status==="aborted")return yt;N.status==="dirty"&&n.dirty(),C.add(N.value)}return{status:n.value,value:C}}const _=[...a.data.values()].map((w,C)=>d._parse(new oo(a,w,a.path,C)));return a.common.async?Promise.all(_).then(w=>v(w)):v(_)}min(e,n){return new Rl({...this._def,minSize:{value:e,message:rt.toString(n)}})}max(e,n){return new Rl({...this._def,maxSize:{value:e,message:rt.toString(n)}})}size(e,n){return this.min(e,n).max(e,n)}nonempty(e){return this.min(1,e)}}Rl.create=(r,e)=>new Rl({valueType:r,minSize:null,maxSize:null,typeName:ct.ZodSet,...Ct(e)});class ku extends Rt{constructor(){super(...arguments),this.validate=this.implement}_parse(e){const{ctx:n}=this._processInputParams(e);if(n.parsedType!==Ue.function)return Ve(n,{code:Ee.invalid_type,expected:Ue.function,received:n.parsedType}),yt;function a(_,w){return $c({data:_,path:n.path,errorMaps:[n.common.contextualErrorMap,n.schemaErrorMap,Hc(),ec].filter(C=>!!C),issueData:{code:Ee.invalid_arguments,argumentsError:w}})}function o(_,w){return $c({data:_,path:n.path,errorMaps:[n.common.contextualErrorMap,n.schemaErrorMap,Hc(),ec].filter(C=>!!C),issueData:{code:Ee.invalid_return_type,returnTypeError:w}})}const d={errorMap:n.common.contextualErrorMap},v=n.data;if(this._def.returns instanceof Eu){const _=this;return Gr(async function(...w){const C=new Ta([]),N=await _._def.args.parseAsync(w,d).catch(ge=>{throw C.addIssue(a(w,ge)),C}),L=await Reflect.apply(v,this,N);return await _._def.returns._def.type.parseAsync(L,d).catch(ge=>{throw C.addIssue(o(L,ge)),C})})}else{const _=this;return Gr(function(...w){const C=_._def.args.safeParse(w,d);if(!C.success)throw new Ta([a(w,C.error)]);const N=Reflect.apply(v,this,C.data),L=_._def.returns.safeParse(N,d);if(!L.success)throw new Ta([o(N,L.error)]);return L.data})}}parameters(){return this._def.args}returnType(){return this._def.returns}args(...e){return new ku({...this._def,args:so.create(e).rest(Tl.create())})}returns(e){return new ku({...this._def,returns:e})}implement(e){return this.parse(e)}strictImplement(e){return this.parse(e)}static create(e,n,a){return new ku({args:e||so.create([]).rest(Tl.create()),returns:n||Tl.create(),typeName:ct.ZodFunction,...Ct(a)})}}class lc extends Rt{get schema(){return this._def.getter()}_parse(e){const{ctx:n}=this._processInputParams(e);return this._def.getter()._parse({data:n.data,path:n.path,parent:n})}}lc.create=(r,e)=>new lc({getter:r,typeName:ct.ZodLazy,...Ct(e)});class uc extends Rt{_parse(e){if(e.data!==this._def.value){const n=this._getOrReturnCtx(e);return Ve(n,{received:n.data,code:Ee.invalid_literal,expected:this._def.value}),yt}return{status:"valid",value:e.data}}get value(){return this._def.value}}uc.create=(r,e)=>new uc({value:r,typeName:ct.ZodLiteral,...Ct(e)});function gp(r,e){return new Ds({values:r,typeName:ct.ZodEnum,...Ct(e)})}class Ds extends Rt{_parse(e){if(typeof e.data!="string"){const n=this._getOrReturnCtx(e),a=this._def.values;return Ve(n,{expected:Yt.joinValues(a),received:n.parsedType,code:Ee.invalid_type}),yt}if(this._def.values.indexOf(e.data)===-1){const n=this._getOrReturnCtx(e),a=this._def.values;return Ve(n,{received:n.data,code:Ee.invalid_enum_value,options:a}),yt}return Gr(e.data)}get options(){return this._def.values}get enum(){const e={};for(const n of this._def.values)e[n]=n;return e}get Values(){const e={};for(const n of this._def.values)e[n]=n;return e}get Enum(){const e={};for(const n of this._def.values)e[n]=n;return e}extract(e){return Ds.create(e)}exclude(e){return Ds.create(this.options.filter(n=>!e.includes(n)))}}Ds.create=gp;class cc extends Rt{_parse(e){const n=Yt.getValidEnumValues(this._def.values),a=this._getOrReturnCtx(e);if(a.parsedType!==Ue.string&&a.parsedType!==Ue.number){const o=Yt.objectValues(n);return Ve(a,{expected:Yt.joinValues(o),received:a.parsedType,code:Ee.invalid_type}),yt}if(n.indexOf(e.data)===-1){const o=Yt.objectValues(n);return Ve(a,{received:a.data,code:Ee.invalid_enum_value,options:o}),yt}return Gr(e.data)}get enum(){return this._def.values}}cc.create=(r,e)=>new cc({values:r,typeName:ct.ZodNativeEnum,...Ct(e)});class Eu extends Rt{unwrap(){return this._def.type}_parse(e){const{ctx:n}=this._processInputParams(e);if(n.parsedType!==Ue.promise&&n.common.async===!1)return Ve(n,{code:Ee.invalid_type,expected:Ue.promise,received:n.parsedType}),yt;const a=n.parsedType===Ue.promise?n.data:Promise.resolve(n.data);return Gr(a.then(o=>this._def.type.parseAsync(o,{path:n.path,errorMap:n.common.contextualErrorMap})))}}Eu.create=(r,e)=>new Eu({type:r,typeName:ct.ZodPromise,...Ct(e)});class Aa extends Rt{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===ct.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(e){const{status:n,ctx:a}=this._processInputParams(e),o=this._def.effect||null,d={addIssue:v=>{Ve(a,v),v.fatal?n.abort():n.dirty()},get path(){return a.path}};if(d.addIssue=d.addIssue.bind(d),o.type==="preprocess"){const v=o.transform(a.data,d);return a.common.issues.length?{status:"dirty",value:a.data}:a.common.async?Promise.resolve(v).then(_=>this._def.schema._parseAsync({data:_,path:a.path,parent:a})):this._def.schema._parseSync({data:v,path:a.path,parent:a})}if(o.type==="refinement"){const v=_=>{const w=o.refinement(_,d);if(a.common.async)return Promise.resolve(w);if(w instanceof Promise)throw new Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return _};if(a.common.async===!1){const _=this._def.schema._parseSync({data:a.data,path:a.path,parent:a});return _.status==="aborted"?yt:(_.status==="dirty"&&n.dirty(),v(_.value),{status:n.value,value:_.value})}else return this._def.schema._parseAsync({data:a.data,path:a.path,parent:a}).then(_=>_.status==="aborted"?yt:(_.status==="dirty"&&n.dirty(),v(_.value).then(()=>({status:n.value,value:_.value}))))}if(o.type==="transform")if(a.common.async===!1){const v=this._def.schema._parseSync({data:a.data,path:a.path,parent:a});if(!tc(v))return v;const _=o.transform(v.value,d);if(_ instanceof Promise)throw new Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:n.value,value:_}}else return this._def.schema._parseAsync({data:a.data,path:a.path,parent:a}).then(v=>tc(v)?Promise.resolve(o.transform(v.value,d)).then(_=>({status:n.value,value:_})):v);Yt.assertNever(o)}}Aa.create=(r,e,n)=>new Aa({schema:r,typeName:ct.ZodEffects,effect:e,...Ct(n)}),Aa.createWithPreprocess=(r,e,n)=>new Aa({schema:e,effect:{type:"preprocess",transform:r},typeName:ct.ZodEffects,...Ct(n)});class Ho extends Rt{_parse(e){return this._getType(e)===Ue.undefined?Gr(void 0):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}}Ho.create=(r,e)=>new Ho({innerType:r,typeName:ct.ZodOptional,...Ct(e)});class Il extends Rt{_parse(e){return this._getType(e)===Ue.null?Gr(null):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}}Il.create=(r,e)=>new Il({innerType:r,typeName:ct.ZodNullable,...Ct(e)});class dc extends Rt{_parse(e){const{ctx:n}=this._processInputParams(e);let a=n.data;return n.parsedType===Ue.undefined&&(a=this._def.defaultValue()),this._def.innerType._parse({data:a,path:n.path,parent:n})}removeDefault(){return this._def.innerType}}dc.create=(r,e)=>new dc({innerType:r,typeName:ct.ZodDefault,defaultValue:typeof e.default=="function"?e.default:()=>e.default,...Ct(e)});class Xc extends Rt{_parse(e){const{ctx:n}=this._processInputParams(e),a={...n,common:{...n.common,issues:[]}},o=this._def.innerType._parse({data:a.data,path:a.path,parent:{...a}});return Gc(o)?o.then(d=>({status:"valid",value:d.status==="valid"?d.value:this._def.catchValue({get error(){return new Ta(a.common.issues)},input:a.data})})):{status:"valid",value:o.status==="valid"?o.value:this._def.catchValue({get error(){return new Ta(a.common.issues)},input:a.data})}}removeCatch(){return this._def.innerType}}Xc.create=(r,e)=>new Xc({innerType:r,typeName:ct.ZodCatch,catchValue:typeof e.catch=="function"?e.catch:()=>e.catch,...Ct(e)});class qc extends Rt{_parse(e){if(this._getType(e)!==Ue.nan){const a=this._getOrReturnCtx(e);return Ve(a,{code:Ee.invalid_type,expected:Ue.nan,received:a.parsedType}),yt}return{status:"valid",value:e.data}}}qc.create=r=>new qc({typeName:ct.ZodNaN,...Ct(r)});const Sm=Symbol("zod_brand");class mp extends Rt{_parse(e){const{ctx:n}=this._processInputParams(e),a=n.data;return this._def.type._parse({data:a,path:n.path,parent:n})}unwrap(){return this._def.type}}class fc extends Rt{_parse(e){const{status:n,ctx:a}=this._processInputParams(e);if(a.common.async)return(async()=>{const d=await this._def.in._parseAsync({data:a.data,path:a.path,parent:a});return d.status==="aborted"?yt:d.status==="dirty"?(n.dirty(),pp(d.value)):this._def.out._parseAsync({data:d.value,path:a.path,parent:a})})();{const o=this._def.in._parseSync({data:a.data,path:a.path,parent:a});return o.status==="aborted"?yt:o.status==="dirty"?(n.dirty(),{status:"dirty",value:o.value}):this._def.out._parseSync({data:o.value,path:a.path,parent:a})}}static create(e,n){return new fc({in:e,out:n,typeName:ct.ZodPipeline})}}class ed extends Rt{_parse(e){const n=this._def.innerType._parse(e);return tc(n)&&(n.value=Object.freeze(n.value)),n}}ed.create=(r,e)=>new ed({innerType:r,typeName:ct.ZodReadonly,...Ct(e)});const vp=(r,e={},n)=>r?Su.create().superRefine((a,o)=>{var d,v;if(!r(a)){const _=typeof e=="function"?e(a):typeof e=="string"?{message:e}:e,w=(v=(d=_.fatal)!==null&&d!==void 0?d:n)!==null&&v!==void 0?v:!0,C=typeof _=="string"?{message:_}:_;o.addIssue({code:"custom",...C,fatal:w})}}):Su.create(),_m={object:Rn.lazycreate};var ct;(function(r){r.ZodString="ZodString",r.ZodNumber="ZodNumber",r.ZodNaN="ZodNaN",r.ZodBigInt="ZodBigInt",r.ZodBoolean="ZodBoolean",r.ZodDate="ZodDate",r.ZodSymbol="ZodSymbol",r.ZodUndefined="ZodUndefined",r.ZodNull="ZodNull",r.ZodAny="ZodAny",r.ZodUnknown="ZodUnknown",r.ZodNever="ZodNever",r.ZodVoid="ZodVoid",r.ZodArray="ZodArray",r.ZodObject="ZodObject",r.ZodUnion="ZodUnion",r.ZodDiscriminatedUnion="ZodDiscriminatedUnion",r.ZodIntersection="ZodIntersection",r.ZodTuple="ZodTuple",r.ZodRecord="ZodRecord",r.ZodMap="ZodMap",r.ZodSet="ZodSet",r.ZodFunction="ZodFunction",r.ZodLazy="ZodLazy",r.ZodLiteral="ZodLiteral",r.ZodEnum="ZodEnum",r.ZodEffects="ZodEffects",r.ZodNativeEnum="ZodNativeEnum",r.ZodOptional="ZodOptional",r.ZodNullable="ZodNullable",r.ZodDefault="ZodDefault",r.ZodCatch="ZodCatch",r.ZodPromise="ZodPromise",r.ZodBranded="ZodBranded",r.ZodPipeline="ZodPipeline",r.ZodReadonly="ZodReadonly"})(ct||(ct={}));const km=(r,e={message:`Input not instance of ${r.name}`})=>vp(n=>n instanceof r,e),bp=Ra.create,yp=Fs.create,Em=qc.create,Cm=Ps.create,wp=nc.create,Tm=Cl.create,Rm=Zc.create,Im=rc.create,Am=ic.create,Om=Su.create,Mm=Tl.create,Fm=Vo.create,Pm=Yc.create,Dm=Ia.create,Lm=Rn.create,Bm=Rn.strictCreate,Nm=ac.create,jm=Jc.create,zm=oc.create,Um=so.create,Wm=sc.create,Vm=Qc.create,Hm=Rl.create,$m=ku.create,Gm=lc.create,Zm=uc.create,Ym=Ds.create,Km=cc.create,Jm=Eu.create,xp=Aa.create,Qm=Ho.create,Xm=Il.create,qm=Aa.createWithPreprocess,ev=fc.create;var er=Object.freeze({__proto__:null,defaultErrorMap:ec,setErrorMap:um,getErrorMap:Hc,makeIssue:$c,EMPTY_PATH:cm,addIssueToContext:Ve,ParseStatus:Ir,INVALID:yt,DIRTY:pp,OK:Gr,isAborted:Nd,isDirty:jd,isValid:tc,isAsync:Gc,get util(){return Yt},get objectUtil(){return Bd},ZodParsedType:Ue,getParsedType:Ms,ZodType:Rt,ZodString:Ra,ZodNumber:Fs,ZodBigInt:Ps,ZodBoolean:nc,ZodDate:Cl,ZodSymbol:Zc,ZodUndefined:rc,ZodNull:ic,ZodAny:Su,ZodUnknown:Tl,ZodNever:Vo,ZodVoid:Yc,ZodArray:Ia,ZodObject:Rn,ZodUnion:ac,ZodDiscriminatedUnion:Jc,ZodIntersection:oc,ZodTuple:so,ZodRecord:sc,ZodMap:Qc,ZodSet:Rl,ZodFunction:ku,ZodLazy:lc,ZodLiteral:uc,ZodEnum:Ds,ZodNativeEnum:cc,ZodPromise:Eu,ZodEffects:Aa,ZodTransformer:Aa,ZodOptional:Ho,ZodNullable:Il,ZodDefault:dc,ZodCatch:Xc,ZodNaN:qc,BRAND:Sm,ZodBranded:mp,ZodPipeline:fc,ZodReadonly:ed,custom:vp,Schema:Rt,ZodSchema:Rt,late:_m,get ZodFirstPartyTypeKind(){return ct},coerce:{string:r=>Ra.create({...r,coerce:!0}),number:r=>Fs.create({...r,coerce:!0}),boolean:r=>nc.create({...r,coerce:!0}),bigint:r=>Ps.create({...r,coerce:!0}),date:r=>Cl.create({...r,coerce:!0})},any:Om,array:Dm,bigint:Cm,boolean:wp,date:Tm,discriminatedUnion:jm,effect:xp,enum:Ym,function:$m,instanceof:km,intersection:zm,lazy:Gm,literal:Zm,map:Vm,nan:Em,nativeEnum:Km,never:Fm,null:Am,nullable:Xm,number:yp,object:Lm,oboolean:()=>wp().optional(),onumber:()=>yp().optional(),optional:Qm,ostring:()=>bp().optional(),pipeline:ev,preprocess:qm,promise:Jm,record:Wm,set:Hm,strictObject:Bm,string:bp,symbol:Rm,transformer:xp,tuple:Um,undefined:Im,union:Nm,unknown:Mm,void:Pm,NEVER:yt,ZodIssueCode:Ee,quotelessJson:lm,ZodError:Ta});const Sp=er.enum(["day","month","year","hour","minute"]);class pc{constructor(e){Ut(this,"condition");this.condition=e}}class tv extends pc{match(e){const n=e.getFieldState(this.condition.fieldKey);return n.hidden?!1:n.value===this.condition.value}}class nv extends pc{match(e){const n=e.getFieldState(this.condition.fieldKey);return n.hidden||!n.value?!1:n.value.has(this.condition.value)}}class rv extends pc{match(e){return!0}}class iv extends pc{match(e){const n=e.getFieldState(this.condition.fieldKey);return n.hidden&&!this.condition.evenWhenHidden?!1:n.value!==null&&n.value!==void 0}}class av extends pc{match(e){return e.flags[this.condition.flagKey]===this.condition.triggerOn}}class _p{constructor(e){Ut(this,"action");this.action=e}}class ov extends _p{act(e){e.markShown(this.action.fieldKey)}}class sv extends _p{act(e){e.markHidden(this.action.fieldKey)}}function lv(r){switch(r.type){case"equal":return new tv(r);case"contains":return new nv(r);case"always":return new rv(r);case"flag_equal":return new av(r);case"answered":return new iv(r);default:throw"unknown condition type"}}function uv(r){switch(r.type){case"show_question":return new ov(r);case"hide_question":return new sv(r);default:throw"unknown action type"}}class cv{constructor(e,n){Ut(this,"condition");Ut(this,"action");this.condition=e,this.action=n}runAgainst(e){this.condition.match(e)&&this.action.act(e)}}function dv(r){const e=lv(r.condition),n=uv(r.action);return new cv(e,n)}class Ud{constructor(e){Ut(this,"key");Ut(this,"panels");Ut(this,"questions");Ut(this,"validations");Ut(this,"visibilityRules");Ut(this,"textvars");Ut(this,"sexpVariables");Ut(this,"defaultAnswerValue");Ut(this,"cssVars");Ut(this,"layoutVersion");this.key=e.key,this.questions=e.questions,this.panels=e.panels,this.validations=e.validations,this.visibilityRules=e.visibilityRules.map(n=>dv(n)),this.textvars=Object.values(e.textvars),this.sexpVariables=e.sexpVariables||{},this.defaultAnswerValue=e.defaultAnswerValue,this.cssVars=e.cssVars,this.layoutVersion=e.layoutVersion||"v1"}getField(e){return this.questions[e]}getQuestionsInSameGroup(e){const n=this.getField(e);return n.questionGroup?Object.values(this.questions).filter(a=>a.questionGroup===n.questionGroup):[n]}getOptionNumberValue(e,n){const a=this.getField(e);if(a.type==="select"||a.type==="radio"||a.type=="scale"){const o=a.children.find(d=>d.key===n);if(o&&o.type!=="html"&&typeof o.value=="number")return o.value}return null}}var td={exports:{}};/**
|
|
13
|
+
Denn, im Browser gehen Sie mit dem Zurück-Knopf '<' zurück und drücken Sie auf 'Fertig' um die Fragebogen zu speichern.`,validations:{maximum:{date:"Das Datum muss an oder vor dem %{friendly_date} liegen.",number:"Ihre Antwort muss kleiner oder gleich %{value} sein."},minimum:{date:"Das Datum muss an oder nach dem %{friendly_date} liegen.",number:"Ihre Antwort muss größer oder gleich %{value} sein."},requires_answer:"Diese Frage muss beantwortet werden.",regexp:"Ihre Antwort muss dem Format %{matcher} entsprechen.",valid_integer:"Ihre Antwort muss eine runde (oder auch ganze) Zahl sein.",valid_float:"Ihre Antwort muss eine Zahl sein (benutzen Sie bitte einen Punkt für Dezimalzahlen, kein Komma).",valid_date:{valid_date_year:"Geben Sie ein gültiges Jahr nach dem Format JJJJ an, zum Beispiel 2015.",valid_date_month_year:"Geben Sie ein gültiges Datum nach dem Format MM-JJJJ an, zum Beispiel 08-2015.",valid_date_day_month_year:"Geben Sie ein gültiges Datum nach dem Format TT-MM-JJJJ an, zum Beispiel 13-08-2015.",valid_date_hour_minute:"Geben Sie eine gültige Tageszeit nach dem Format ss:mm an, zum Beispiel 13:05",valid_date_day_hour_minute_month_year:"Geben Sie eine gültige Tageszeit nach dem Format TT-MM-JJJJ ss:mm, zum Beispiel 13-08-2015 13:05"},too_many_checked:"Sie haben zu viele Möglichkeiten ausgewählt.",not_all_checked:"Sie haben zu wenige Möglichkeiten ausgewählt.",maximum_checked_allowed:{one:"Sie können maximal %{maximum_checked_value} Möglichkeit auswählen.",other:"Sie können maximal %{maximum_checked_value} Möglichkeiten auswählen."},minimum_checked_required:{one:"Sie müssen mindestens %{minimum_checked_value} Möglichkeit auswählen.",other:"Sie müssen mindestens %{minimum_checked_value} Möglichkeiten auswählen."},answer_group_minimum:"Beantworten Sie mindestens %{value} von diesen Fragen",answer_group_maximum:"Beantworten Sie höchstens %{value} von diesen Fragen"},placeholders:{day:"TT",month:"MM",year:"JJJJ",hour:"ss",minute:"mm"},units:{days:"Tage",hours:"Stunden",minutes:"Minuten",seconds:"Sekunden"},day:"Tag",month:"Monat",year:"Jahr",hour:"Stunde",minute:"Minute",choose_a_country:"Wählen Sie ein Land"}}};cr.use(im).init({resources:lm,lng:"nl",fallbackLng:"en",interpolation:{prefix:"%{",suffix:"}",escapeValue:!1},debug:!0});var Yt;(function(r){r.assertEqual=o=>o;function e(o){}r.assertIs=e;function n(o){throw new Error}r.assertNever=n,r.arrayToEnum=o=>{const d={};for(const v of o)d[v]=v;return d},r.getValidEnumValues=o=>{const d=r.objectKeys(o).filter(_=>typeof o[o[_]]!="number"),v={};for(const _ of d)v[_]=o[_];return r.objectValues(v)},r.objectValues=o=>r.objectKeys(o).map(function(d){return o[d]}),r.objectKeys=typeof Object.keys=="function"?o=>Object.keys(o):o=>{const d=[];for(const v in o)Object.prototype.hasOwnProperty.call(o,v)&&d.push(v);return d},r.find=(o,d)=>{for(const v of o)if(d(v))return v},r.isInteger=typeof Number.isInteger=="function"?o=>Number.isInteger(o):o=>typeof o=="number"&&isFinite(o)&&Math.floor(o)===o;function a(o,d=" | "){return o.map(v=>typeof v=="string"?`'${v}'`:v).join(d)}r.joinValues=a,r.jsonStringifyReplacer=(o,d)=>typeof d=="bigint"?d.toString():d})(Yt||(Yt={}));var Bd;(function(r){r.mergeShapes=(e,n)=>({...e,...n})})(Bd||(Bd={}));const Ue=Yt.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),Ms=r=>{switch(typeof r){case"undefined":return Ue.undefined;case"string":return Ue.string;case"number":return isNaN(r)?Ue.nan:Ue.number;case"boolean":return Ue.boolean;case"function":return Ue.function;case"bigint":return Ue.bigint;case"symbol":return Ue.symbol;case"object":return Array.isArray(r)?Ue.array:r===null?Ue.null:r.then&&typeof r.then=="function"&&r.catch&&typeof r.catch=="function"?Ue.promise:typeof Map<"u"&&r instanceof Map?Ue.map:typeof Set<"u"&&r instanceof Set?Ue.set:typeof Date<"u"&&r instanceof Date?Ue.date:Ue.object;default:return Ue.unknown}},Ee=Yt.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]),um=r=>JSON.stringify(r,null,2).replace(/"([^"]+)":/g,"$1:");class Ta extends Error{constructor(e){super(),this.issues=[],this.addIssue=a=>{this.issues=[...this.issues,a]},this.addIssues=(a=[])=>{this.issues=[...this.issues,...a]};const n=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,n):this.__proto__=n,this.name="ZodError",this.issues=e}get errors(){return this.issues}format(e){const n=e||function(d){return d.message},a={_errors:[]},o=d=>{for(const v of d.issues)if(v.code==="invalid_union")v.unionErrors.map(o);else if(v.code==="invalid_return_type")o(v.returnTypeError);else if(v.code==="invalid_arguments")o(v.argumentsError);else if(v.path.length===0)a._errors.push(n(v));else{let _=a,w=0;for(;w<v.path.length;){const C=v.path[w];w===v.path.length-1?(_[C]=_[C]||{_errors:[]},_[C]._errors.push(n(v))):_[C]=_[C]||{_errors:[]},_=_[C],w++}}};return o(this),a}toString(){return this.message}get message(){return JSON.stringify(this.issues,Yt.jsonStringifyReplacer,2)}get isEmpty(){return this.issues.length===0}flatten(e=n=>n.message){const n={},a=[];for(const o of this.issues)o.path.length>0?(n[o.path[0]]=n[o.path[0]]||[],n[o.path[0]].push(e(o))):a.push(e(o));return{formErrors:a,fieldErrors:n}}get formErrors(){return this.flatten()}}Ta.create=r=>new Ta(r);const ec=(r,e)=>{let n;switch(r.code){case Ee.invalid_type:r.received===Ue.undefined?n="Required":n=`Expected ${r.expected}, received ${r.received}`;break;case Ee.invalid_literal:n=`Invalid literal value, expected ${JSON.stringify(r.expected,Yt.jsonStringifyReplacer)}`;break;case Ee.unrecognized_keys:n=`Unrecognized key(s) in object: ${Yt.joinValues(r.keys,", ")}`;break;case Ee.invalid_union:n="Invalid input";break;case Ee.invalid_union_discriminator:n=`Invalid discriminator value. Expected ${Yt.joinValues(r.options)}`;break;case Ee.invalid_enum_value:n=`Invalid enum value. Expected ${Yt.joinValues(r.options)}, received '${r.received}'`;break;case Ee.invalid_arguments:n="Invalid function arguments";break;case Ee.invalid_return_type:n="Invalid function return type";break;case Ee.invalid_date:n="Invalid date";break;case Ee.invalid_string:typeof r.validation=="object"?"includes"in r.validation?(n=`Invalid input: must include "${r.validation.includes}"`,typeof r.validation.position=="number"&&(n=`${n} at one or more positions greater than or equal to ${r.validation.position}`)):"startsWith"in r.validation?n=`Invalid input: must start with "${r.validation.startsWith}"`:"endsWith"in r.validation?n=`Invalid input: must end with "${r.validation.endsWith}"`:Yt.assertNever(r.validation):r.validation!=="regex"?n=`Invalid ${r.validation}`:n="Invalid";break;case Ee.too_small:r.type==="array"?n=`Array must contain ${r.exact?"exactly":r.inclusive?"at least":"more than"} ${r.minimum} element(s)`:r.type==="string"?n=`String must contain ${r.exact?"exactly":r.inclusive?"at least":"over"} ${r.minimum} character(s)`:r.type==="number"?n=`Number must be ${r.exact?"exactly equal to ":r.inclusive?"greater than or equal to ":"greater than "}${r.minimum}`:r.type==="date"?n=`Date must be ${r.exact?"exactly equal to ":r.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(r.minimum))}`:n="Invalid input";break;case Ee.too_big:r.type==="array"?n=`Array must contain ${r.exact?"exactly":r.inclusive?"at most":"less than"} ${r.maximum} element(s)`:r.type==="string"?n=`String must contain ${r.exact?"exactly":r.inclusive?"at most":"under"} ${r.maximum} character(s)`:r.type==="number"?n=`Number must be ${r.exact?"exactly":r.inclusive?"less than or equal to":"less than"} ${r.maximum}`:r.type==="bigint"?n=`BigInt must be ${r.exact?"exactly":r.inclusive?"less than or equal to":"less than"} ${r.maximum}`:r.type==="date"?n=`Date must be ${r.exact?"exactly":r.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(r.maximum))}`:n="Invalid input";break;case Ee.custom:n="Invalid input";break;case Ee.invalid_intersection_types:n="Intersection results could not be merged";break;case Ee.not_multiple_of:n=`Number must be a multiple of ${r.multipleOf}`;break;case Ee.not_finite:n="Number must be finite";break;default:n=e.defaultError,Yt.assertNever(r)}return{message:n}};let fp=ec;function cm(r){fp=r}function Hc(){return fp}const $c=r=>{const{data:e,path:n,errorMaps:a,issueData:o}=r,d=[...n,...o.path||[]],v={...o,path:d};let _="";const w=a.filter(C=>!!C).slice().reverse();for(const C of w)_=C(v,{data:e,defaultError:_}).message;return{...o,path:d,message:o.message||_}},dm=[];function Ve(r,e){const n=$c({issueData:e,data:r.data,path:r.path,errorMaps:[r.common.contextualErrorMap,r.schemaErrorMap,Hc(),ec].filter(a=>!!a)});r.common.issues.push(n)}class Ir{constructor(){this.value="valid"}dirty(){this.value==="valid"&&(this.value="dirty")}abort(){this.value!=="aborted"&&(this.value="aborted")}static mergeArray(e,n){const a=[];for(const o of n){if(o.status==="aborted")return yt;o.status==="dirty"&&e.dirty(),a.push(o.value)}return{status:e.value,value:a}}static async mergeObjectAsync(e,n){const a=[];for(const o of n)a.push({key:await o.key,value:await o.value});return Ir.mergeObjectSync(e,a)}static mergeObjectSync(e,n){const a={};for(const o of n){const{key:d,value:v}=o;if(d.status==="aborted"||v.status==="aborted")return yt;d.status==="dirty"&&e.dirty(),v.status==="dirty"&&e.dirty(),d.value!=="__proto__"&&(typeof v.value<"u"||o.alwaysSet)&&(a[d.value]=v.value)}return{status:e.value,value:a}}}const yt=Object.freeze({status:"aborted"}),pp=r=>({status:"dirty",value:r}),Gr=r=>({status:"valid",value:r}),Nd=r=>r.status==="aborted",jd=r=>r.status==="dirty",tc=r=>r.status==="valid",Gc=r=>typeof Promise<"u"&&r instanceof Promise;var rt;(function(r){r.errToObj=e=>typeof e=="string"?{message:e}:e||{},r.toString=e=>typeof e=="string"?e:e==null?void 0:e.message})(rt||(rt={}));class oo{constructor(e,n,a,o){this._cachedPath=[],this.parent=e,this.data=n,this._path=a,this._key=o}get path(){return this._cachedPath.length||(this._key instanceof Array?this._cachedPath.push(...this._path,...this._key):this._cachedPath.push(...this._path,this._key)),this._cachedPath}}const hp=(r,e)=>{if(tc(e))return{success:!0,data:e.value};if(!r.common.issues.length)throw new Error("Validation failed but no issues detected.");return{success:!1,get error(){if(this._error)return this._error;const n=new Ta(r.common.issues);return this._error=n,this._error}}};function Ct(r){if(!r)return{};const{errorMap:e,invalid_type_error:n,required_error:a,description:o}=r;if(e&&(n||a))throw new Error(`Can't use "invalid_type_error" or "required_error" in conjunction with custom error map.`);return e?{errorMap:e,description:o}:{errorMap:(v,_)=>v.code!=="invalid_type"?{message:_.defaultError}:typeof _.data>"u"?{message:a??_.defaultError}:{message:n??_.defaultError},description:o}}class Rt{constructor(e){this.spa=this.safeParseAsync,this._def=e,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.readonly=this.readonly.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this)}get description(){return this._def.description}_getType(e){return Ms(e.data)}_getOrReturnCtx(e,n){return n||{common:e.parent.common,data:e.data,parsedType:Ms(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}_processInputParams(e){return{status:new Ir,ctx:{common:e.parent.common,data:e.data,parsedType:Ms(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}}_parseSync(e){const n=this._parse(e);if(Gc(n))throw new Error("Synchronous parse encountered promise.");return n}_parseAsync(e){const n=this._parse(e);return Promise.resolve(n)}parse(e,n){const a=this.safeParse(e,n);if(a.success)return a.data;throw a.error}safeParse(e,n){var a;const o={common:{issues:[],async:(a=n==null?void 0:n.async)!==null&&a!==void 0?a:!1,contextualErrorMap:n==null?void 0:n.errorMap},path:(n==null?void 0:n.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:Ms(e)},d=this._parseSync({data:e,path:o.path,parent:o});return hp(o,d)}async parseAsync(e,n){const a=await this.safeParseAsync(e,n);if(a.success)return a.data;throw a.error}async safeParseAsync(e,n){const a={common:{issues:[],contextualErrorMap:n==null?void 0:n.errorMap,async:!0},path:(n==null?void 0:n.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:Ms(e)},o=this._parse({data:e,path:a.path,parent:a}),d=await(Gc(o)?o:Promise.resolve(o));return hp(a,d)}refine(e,n){const a=o=>typeof n=="string"||typeof n>"u"?{message:n}:typeof n=="function"?n(o):n;return this._refinement((o,d)=>{const v=e(o),_=()=>d.addIssue({code:Ee.custom,...a(o)});return typeof Promise<"u"&&v instanceof Promise?v.then(w=>w?!0:(_(),!1)):v?!0:(_(),!1)})}refinement(e,n){return this._refinement((a,o)=>e(a)?!0:(o.addIssue(typeof n=="function"?n(a,o):n),!1))}_refinement(e){return new Aa({schema:this,typeName:ct.ZodEffects,effect:{type:"refinement",refinement:e}})}superRefine(e){return this._refinement(e)}optional(){return Ho.create(this,this._def)}nullable(){return Il.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return Ia.create(this,this._def)}promise(){return Eu.create(this,this._def)}or(e){return ac.create([this,e],this._def)}and(e){return oc.create(this,e,this._def)}transform(e){return new Aa({...Ct(this._def),schema:this,typeName:ct.ZodEffects,effect:{type:"transform",transform:e}})}default(e){const n=typeof e=="function"?e:()=>e;return new dc({...Ct(this._def),innerType:this,defaultValue:n,typeName:ct.ZodDefault})}brand(){return new mp({typeName:ct.ZodBranded,type:this,...Ct(this._def)})}catch(e){const n=typeof e=="function"?e:()=>e;return new Xc({...Ct(this._def),innerType:this,catchValue:n,typeName:ct.ZodCatch})}describe(e){const n=this.constructor;return new n({...this._def,description:e})}pipe(e){return fc.create(this,e)}readonly(){return ed.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}}const fm=/^c[^\s-]{8,}$/i,pm=/^[a-z][a-z0-9]*$/,hm=/[0-9A-HJKMNP-TV-Z]{26}/,gm=/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i,mm=/^([A-Z0-9_+-]+\.?)*[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,vm=/^(\p{Extended_Pictographic}|\p{Emoji_Component})+$/u,bm=/^(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))$/,ym=/^(([a-f0-9]{1,4}:){7}|::([a-f0-9]{1,4}:){0,6}|([a-f0-9]{1,4}:){1}:([a-f0-9]{1,4}:){0,5}|([a-f0-9]{1,4}:){2}:([a-f0-9]{1,4}:){0,4}|([a-f0-9]{1,4}:){3}:([a-f0-9]{1,4}:){0,3}|([a-f0-9]{1,4}:){4}:([a-f0-9]{1,4}:){0,2}|([a-f0-9]{1,4}:){5}:([a-f0-9]{1,4}:){0,1})([a-f0-9]{1,4}|(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2})))$/,wm=r=>r.precision?r.offset?new RegExp(`^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{${r.precision}}(([+-]\\d{2}(:?\\d{2})?)|Z)$`):new RegExp(`^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{${r.precision}}Z$`):r.precision===0?r.offset?new RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(([+-]\\d{2}(:?\\d{2})?)|Z)$"):new RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}Z$"):r.offset?new RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?(([+-]\\d{2}(:?\\d{2})?)|Z)$"):new RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?Z$");function xm(r,e){return!!((e==="v4"||!e)&&bm.test(r)||(e==="v6"||!e)&&ym.test(r))}class Ra extends Rt{constructor(){super(...arguments),this._regex=(e,n,a)=>this.refinement(o=>e.test(o),{validation:n,code:Ee.invalid_string,...rt.errToObj(a)}),this.nonempty=e=>this.min(1,rt.errToObj(e)),this.trim=()=>new Ra({...this._def,checks:[...this._def.checks,{kind:"trim"}]}),this.toLowerCase=()=>new Ra({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]}),this.toUpperCase=()=>new Ra({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}_parse(e){if(this._def.coerce&&(e.data=String(e.data)),this._getType(e)!==Ue.string){const d=this._getOrReturnCtx(e);return Ve(d,{code:Ee.invalid_type,expected:Ue.string,received:d.parsedType}),yt}const a=new Ir;let o;for(const d of this._def.checks)if(d.kind==="min")e.data.length<d.value&&(o=this._getOrReturnCtx(e,o),Ve(o,{code:Ee.too_small,minimum:d.value,type:"string",inclusive:!0,exact:!1,message:d.message}),a.dirty());else if(d.kind==="max")e.data.length>d.value&&(o=this._getOrReturnCtx(e,o),Ve(o,{code:Ee.too_big,maximum:d.value,type:"string",inclusive:!0,exact:!1,message:d.message}),a.dirty());else if(d.kind==="length"){const v=e.data.length>d.value,_=e.data.length<d.value;(v||_)&&(o=this._getOrReturnCtx(e,o),v?Ve(o,{code:Ee.too_big,maximum:d.value,type:"string",inclusive:!0,exact:!0,message:d.message}):_&&Ve(o,{code:Ee.too_small,minimum:d.value,type:"string",inclusive:!0,exact:!0,message:d.message}),a.dirty())}else if(d.kind==="email")mm.test(e.data)||(o=this._getOrReturnCtx(e,o),Ve(o,{validation:"email",code:Ee.invalid_string,message:d.message}),a.dirty());else if(d.kind==="emoji")vm.test(e.data)||(o=this._getOrReturnCtx(e,o),Ve(o,{validation:"emoji",code:Ee.invalid_string,message:d.message}),a.dirty());else if(d.kind==="uuid")gm.test(e.data)||(o=this._getOrReturnCtx(e,o),Ve(o,{validation:"uuid",code:Ee.invalid_string,message:d.message}),a.dirty());else if(d.kind==="cuid")fm.test(e.data)||(o=this._getOrReturnCtx(e,o),Ve(o,{validation:"cuid",code:Ee.invalid_string,message:d.message}),a.dirty());else if(d.kind==="cuid2")pm.test(e.data)||(o=this._getOrReturnCtx(e,o),Ve(o,{validation:"cuid2",code:Ee.invalid_string,message:d.message}),a.dirty());else if(d.kind==="ulid")hm.test(e.data)||(o=this._getOrReturnCtx(e,o),Ve(o,{validation:"ulid",code:Ee.invalid_string,message:d.message}),a.dirty());else if(d.kind==="url")try{new URL(e.data)}catch{o=this._getOrReturnCtx(e,o),Ve(o,{validation:"url",code:Ee.invalid_string,message:d.message}),a.dirty()}else d.kind==="regex"?(d.regex.lastIndex=0,d.regex.test(e.data)||(o=this._getOrReturnCtx(e,o),Ve(o,{validation:"regex",code:Ee.invalid_string,message:d.message}),a.dirty())):d.kind==="trim"?e.data=e.data.trim():d.kind==="includes"?e.data.includes(d.value,d.position)||(o=this._getOrReturnCtx(e,o),Ve(o,{code:Ee.invalid_string,validation:{includes:d.value,position:d.position},message:d.message}),a.dirty()):d.kind==="toLowerCase"?e.data=e.data.toLowerCase():d.kind==="toUpperCase"?e.data=e.data.toUpperCase():d.kind==="startsWith"?e.data.startsWith(d.value)||(o=this._getOrReturnCtx(e,o),Ve(o,{code:Ee.invalid_string,validation:{startsWith:d.value},message:d.message}),a.dirty()):d.kind==="endsWith"?e.data.endsWith(d.value)||(o=this._getOrReturnCtx(e,o),Ve(o,{code:Ee.invalid_string,validation:{endsWith:d.value},message:d.message}),a.dirty()):d.kind==="datetime"?wm(d).test(e.data)||(o=this._getOrReturnCtx(e,o),Ve(o,{code:Ee.invalid_string,validation:"datetime",message:d.message}),a.dirty()):d.kind==="ip"?xm(e.data,d.version)||(o=this._getOrReturnCtx(e,o),Ve(o,{validation:"ip",code:Ee.invalid_string,message:d.message}),a.dirty()):Yt.assertNever(d);return{status:a.value,value:e.data}}_addCheck(e){return new Ra({...this._def,checks:[...this._def.checks,e]})}email(e){return this._addCheck({kind:"email",...rt.errToObj(e)})}url(e){return this._addCheck({kind:"url",...rt.errToObj(e)})}emoji(e){return this._addCheck({kind:"emoji",...rt.errToObj(e)})}uuid(e){return this._addCheck({kind:"uuid",...rt.errToObj(e)})}cuid(e){return this._addCheck({kind:"cuid",...rt.errToObj(e)})}cuid2(e){return this._addCheck({kind:"cuid2",...rt.errToObj(e)})}ulid(e){return this._addCheck({kind:"ulid",...rt.errToObj(e)})}ip(e){return this._addCheck({kind:"ip",...rt.errToObj(e)})}datetime(e){var n;return typeof e=="string"?this._addCheck({kind:"datetime",precision:null,offset:!1,message:e}):this._addCheck({kind:"datetime",precision:typeof(e==null?void 0:e.precision)>"u"?null:e==null?void 0:e.precision,offset:(n=e==null?void 0:e.offset)!==null&&n!==void 0?n:!1,...rt.errToObj(e==null?void 0:e.message)})}regex(e,n){return this._addCheck({kind:"regex",regex:e,...rt.errToObj(n)})}includes(e,n){return this._addCheck({kind:"includes",value:e,position:n==null?void 0:n.position,...rt.errToObj(n==null?void 0:n.message)})}startsWith(e,n){return this._addCheck({kind:"startsWith",value:e,...rt.errToObj(n)})}endsWith(e,n){return this._addCheck({kind:"endsWith",value:e,...rt.errToObj(n)})}min(e,n){return this._addCheck({kind:"min",value:e,...rt.errToObj(n)})}max(e,n){return this._addCheck({kind:"max",value:e,...rt.errToObj(n)})}length(e,n){return this._addCheck({kind:"length",value:e,...rt.errToObj(n)})}get isDatetime(){return!!this._def.checks.find(e=>e.kind==="datetime")}get isEmail(){return!!this._def.checks.find(e=>e.kind==="email")}get isURL(){return!!this._def.checks.find(e=>e.kind==="url")}get isEmoji(){return!!this._def.checks.find(e=>e.kind==="emoji")}get isUUID(){return!!this._def.checks.find(e=>e.kind==="uuid")}get isCUID(){return!!this._def.checks.find(e=>e.kind==="cuid")}get isCUID2(){return!!this._def.checks.find(e=>e.kind==="cuid2")}get isULID(){return!!this._def.checks.find(e=>e.kind==="ulid")}get isIP(){return!!this._def.checks.find(e=>e.kind==="ip")}get minLength(){let e=null;for(const n of this._def.checks)n.kind==="min"&&(e===null||n.value>e)&&(e=n.value);return e}get maxLength(){let e=null;for(const n of this._def.checks)n.kind==="max"&&(e===null||n.value<e)&&(e=n.value);return e}}Ra.create=r=>{var e;return new Ra({checks:[],typeName:ct.ZodString,coerce:(e=r==null?void 0:r.coerce)!==null&&e!==void 0?e:!1,...Ct(r)})};function Sm(r,e){const n=(r.toString().split(".")[1]||"").length,a=(e.toString().split(".")[1]||"").length,o=n>a?n:a,d=parseInt(r.toFixed(o).replace(".","")),v=parseInt(e.toFixed(o).replace(".",""));return d%v/Math.pow(10,o)}class Fs extends Rt{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(e){if(this._def.coerce&&(e.data=Number(e.data)),this._getType(e)!==Ue.number){const d=this._getOrReturnCtx(e);return Ve(d,{code:Ee.invalid_type,expected:Ue.number,received:d.parsedType}),yt}let a;const o=new Ir;for(const d of this._def.checks)d.kind==="int"?Yt.isInteger(e.data)||(a=this._getOrReturnCtx(e,a),Ve(a,{code:Ee.invalid_type,expected:"integer",received:"float",message:d.message}),o.dirty()):d.kind==="min"?(d.inclusive?e.data<d.value:e.data<=d.value)&&(a=this._getOrReturnCtx(e,a),Ve(a,{code:Ee.too_small,minimum:d.value,type:"number",inclusive:d.inclusive,exact:!1,message:d.message}),o.dirty()):d.kind==="max"?(d.inclusive?e.data>d.value:e.data>=d.value)&&(a=this._getOrReturnCtx(e,a),Ve(a,{code:Ee.too_big,maximum:d.value,type:"number",inclusive:d.inclusive,exact:!1,message:d.message}),o.dirty()):d.kind==="multipleOf"?Sm(e.data,d.value)!==0&&(a=this._getOrReturnCtx(e,a),Ve(a,{code:Ee.not_multiple_of,multipleOf:d.value,message:d.message}),o.dirty()):d.kind==="finite"?Number.isFinite(e.data)||(a=this._getOrReturnCtx(e,a),Ve(a,{code:Ee.not_finite,message:d.message}),o.dirty()):Yt.assertNever(d);return{status:o.value,value:e.data}}gte(e,n){return this.setLimit("min",e,!0,rt.toString(n))}gt(e,n){return this.setLimit("min",e,!1,rt.toString(n))}lte(e,n){return this.setLimit("max",e,!0,rt.toString(n))}lt(e,n){return this.setLimit("max",e,!1,rt.toString(n))}setLimit(e,n,a,o){return new Fs({...this._def,checks:[...this._def.checks,{kind:e,value:n,inclusive:a,message:rt.toString(o)}]})}_addCheck(e){return new Fs({...this._def,checks:[...this._def.checks,e]})}int(e){return this._addCheck({kind:"int",message:rt.toString(e)})}positive(e){return this._addCheck({kind:"min",value:0,inclusive:!1,message:rt.toString(e)})}negative(e){return this._addCheck({kind:"max",value:0,inclusive:!1,message:rt.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:0,inclusive:!0,message:rt.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:0,inclusive:!0,message:rt.toString(e)})}multipleOf(e,n){return this._addCheck({kind:"multipleOf",value:e,message:rt.toString(n)})}finite(e){return this._addCheck({kind:"finite",message:rt.toString(e)})}safe(e){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:rt.toString(e)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:rt.toString(e)})}get minValue(){let e=null;for(const n of this._def.checks)n.kind==="min"&&(e===null||n.value>e)&&(e=n.value);return e}get maxValue(){let e=null;for(const n of this._def.checks)n.kind==="max"&&(e===null||n.value<e)&&(e=n.value);return e}get isInt(){return!!this._def.checks.find(e=>e.kind==="int"||e.kind==="multipleOf"&&Yt.isInteger(e.value))}get isFinite(){let e=null,n=null;for(const a of this._def.checks){if(a.kind==="finite"||a.kind==="int"||a.kind==="multipleOf")return!0;a.kind==="min"?(n===null||a.value>n)&&(n=a.value):a.kind==="max"&&(e===null||a.value<e)&&(e=a.value)}return Number.isFinite(n)&&Number.isFinite(e)}}Fs.create=r=>new Fs({checks:[],typeName:ct.ZodNumber,coerce:(r==null?void 0:r.coerce)||!1,...Ct(r)});class Ps extends Rt{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte}_parse(e){if(this._def.coerce&&(e.data=BigInt(e.data)),this._getType(e)!==Ue.bigint){const d=this._getOrReturnCtx(e);return Ve(d,{code:Ee.invalid_type,expected:Ue.bigint,received:d.parsedType}),yt}let a;const o=new Ir;for(const d of this._def.checks)d.kind==="min"?(d.inclusive?e.data<d.value:e.data<=d.value)&&(a=this._getOrReturnCtx(e,a),Ve(a,{code:Ee.too_small,type:"bigint",minimum:d.value,inclusive:d.inclusive,message:d.message}),o.dirty()):d.kind==="max"?(d.inclusive?e.data>d.value:e.data>=d.value)&&(a=this._getOrReturnCtx(e,a),Ve(a,{code:Ee.too_big,type:"bigint",maximum:d.value,inclusive:d.inclusive,message:d.message}),o.dirty()):d.kind==="multipleOf"?e.data%d.value!==BigInt(0)&&(a=this._getOrReturnCtx(e,a),Ve(a,{code:Ee.not_multiple_of,multipleOf:d.value,message:d.message}),o.dirty()):Yt.assertNever(d);return{status:o.value,value:e.data}}gte(e,n){return this.setLimit("min",e,!0,rt.toString(n))}gt(e,n){return this.setLimit("min",e,!1,rt.toString(n))}lte(e,n){return this.setLimit("max",e,!0,rt.toString(n))}lt(e,n){return this.setLimit("max",e,!1,rt.toString(n))}setLimit(e,n,a,o){return new Ps({...this._def,checks:[...this._def.checks,{kind:e,value:n,inclusive:a,message:rt.toString(o)}]})}_addCheck(e){return new Ps({...this._def,checks:[...this._def.checks,e]})}positive(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:rt.toString(e)})}negative(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:rt.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:rt.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:rt.toString(e)})}multipleOf(e,n){return this._addCheck({kind:"multipleOf",value:e,message:rt.toString(n)})}get minValue(){let e=null;for(const n of this._def.checks)n.kind==="min"&&(e===null||n.value>e)&&(e=n.value);return e}get maxValue(){let e=null;for(const n of this._def.checks)n.kind==="max"&&(e===null||n.value<e)&&(e=n.value);return e}}Ps.create=r=>{var e;return new Ps({checks:[],typeName:ct.ZodBigInt,coerce:(e=r==null?void 0:r.coerce)!==null&&e!==void 0?e:!1,...Ct(r)})};class nc extends Rt{_parse(e){if(this._def.coerce&&(e.data=!!e.data),this._getType(e)!==Ue.boolean){const a=this._getOrReturnCtx(e);return Ve(a,{code:Ee.invalid_type,expected:Ue.boolean,received:a.parsedType}),yt}return Gr(e.data)}}nc.create=r=>new nc({typeName:ct.ZodBoolean,coerce:(r==null?void 0:r.coerce)||!1,...Ct(r)});class Cl extends Rt{_parse(e){if(this._def.coerce&&(e.data=new Date(e.data)),this._getType(e)!==Ue.date){const d=this._getOrReturnCtx(e);return Ve(d,{code:Ee.invalid_type,expected:Ue.date,received:d.parsedType}),yt}if(isNaN(e.data.getTime())){const d=this._getOrReturnCtx(e);return Ve(d,{code:Ee.invalid_date}),yt}const a=new Ir;let o;for(const d of this._def.checks)d.kind==="min"?e.data.getTime()<d.value&&(o=this._getOrReturnCtx(e,o),Ve(o,{code:Ee.too_small,message:d.message,inclusive:!0,exact:!1,minimum:d.value,type:"date"}),a.dirty()):d.kind==="max"?e.data.getTime()>d.value&&(o=this._getOrReturnCtx(e,o),Ve(o,{code:Ee.too_big,message:d.message,inclusive:!0,exact:!1,maximum:d.value,type:"date"}),a.dirty()):Yt.assertNever(d);return{status:a.value,value:new Date(e.data.getTime())}}_addCheck(e){return new Cl({...this._def,checks:[...this._def.checks,e]})}min(e,n){return this._addCheck({kind:"min",value:e.getTime(),message:rt.toString(n)})}max(e,n){return this._addCheck({kind:"max",value:e.getTime(),message:rt.toString(n)})}get minDate(){let e=null;for(const n of this._def.checks)n.kind==="min"&&(e===null||n.value>e)&&(e=n.value);return e!=null?new Date(e):null}get maxDate(){let e=null;for(const n of this._def.checks)n.kind==="max"&&(e===null||n.value<e)&&(e=n.value);return e!=null?new Date(e):null}}Cl.create=r=>new Cl({checks:[],coerce:(r==null?void 0:r.coerce)||!1,typeName:ct.ZodDate,...Ct(r)});class Zc extends Rt{_parse(e){if(this._getType(e)!==Ue.symbol){const a=this._getOrReturnCtx(e);return Ve(a,{code:Ee.invalid_type,expected:Ue.symbol,received:a.parsedType}),yt}return Gr(e.data)}}Zc.create=r=>new Zc({typeName:ct.ZodSymbol,...Ct(r)});class rc extends Rt{_parse(e){if(this._getType(e)!==Ue.undefined){const a=this._getOrReturnCtx(e);return Ve(a,{code:Ee.invalid_type,expected:Ue.undefined,received:a.parsedType}),yt}return Gr(e.data)}}rc.create=r=>new rc({typeName:ct.ZodUndefined,...Ct(r)});class ic extends Rt{_parse(e){if(this._getType(e)!==Ue.null){const a=this._getOrReturnCtx(e);return Ve(a,{code:Ee.invalid_type,expected:Ue.null,received:a.parsedType}),yt}return Gr(e.data)}}ic.create=r=>new ic({typeName:ct.ZodNull,...Ct(r)});class Su extends Rt{constructor(){super(...arguments),this._any=!0}_parse(e){return Gr(e.data)}}Su.create=r=>new Su({typeName:ct.ZodAny,...Ct(r)});class Tl extends Rt{constructor(){super(...arguments),this._unknown=!0}_parse(e){return Gr(e.data)}}Tl.create=r=>new Tl({typeName:ct.ZodUnknown,...Ct(r)});class Vo extends Rt{_parse(e){const n=this._getOrReturnCtx(e);return Ve(n,{code:Ee.invalid_type,expected:Ue.never,received:n.parsedType}),yt}}Vo.create=r=>new Vo({typeName:ct.ZodNever,...Ct(r)});class Yc extends Rt{_parse(e){if(this._getType(e)!==Ue.undefined){const a=this._getOrReturnCtx(e);return Ve(a,{code:Ee.invalid_type,expected:Ue.void,received:a.parsedType}),yt}return Gr(e.data)}}Yc.create=r=>new Yc({typeName:ct.ZodVoid,...Ct(r)});class Ia extends Rt{_parse(e){const{ctx:n,status:a}=this._processInputParams(e),o=this._def;if(n.parsedType!==Ue.array)return Ve(n,{code:Ee.invalid_type,expected:Ue.array,received:n.parsedType}),yt;if(o.exactLength!==null){const v=n.data.length>o.exactLength.value,_=n.data.length<o.exactLength.value;(v||_)&&(Ve(n,{code:v?Ee.too_big:Ee.too_small,minimum:_?o.exactLength.value:void 0,maximum:v?o.exactLength.value:void 0,type:"array",inclusive:!0,exact:!0,message:o.exactLength.message}),a.dirty())}if(o.minLength!==null&&n.data.length<o.minLength.value&&(Ve(n,{code:Ee.too_small,minimum:o.minLength.value,type:"array",inclusive:!0,exact:!1,message:o.minLength.message}),a.dirty()),o.maxLength!==null&&n.data.length>o.maxLength.value&&(Ve(n,{code:Ee.too_big,maximum:o.maxLength.value,type:"array",inclusive:!0,exact:!1,message:o.maxLength.message}),a.dirty()),n.common.async)return Promise.all([...n.data].map((v,_)=>o.type._parseAsync(new oo(n,v,n.path,_)))).then(v=>Ir.mergeArray(a,v));const d=[...n.data].map((v,_)=>o.type._parseSync(new oo(n,v,n.path,_)));return Ir.mergeArray(a,d)}get element(){return this._def.type}min(e,n){return new Ia({...this._def,minLength:{value:e,message:rt.toString(n)}})}max(e,n){return new Ia({...this._def,maxLength:{value:e,message:rt.toString(n)}})}length(e,n){return new Ia({...this._def,exactLength:{value:e,message:rt.toString(n)}})}nonempty(e){return this.min(1,e)}}Ia.create=(r,e)=>new Ia({type:r,minLength:null,maxLength:null,exactLength:null,typeName:ct.ZodArray,...Ct(e)});function _u(r){if(r instanceof Rn){const e={};for(const n in r.shape){const a=r.shape[n];e[n]=Ho.create(_u(a))}return new Rn({...r._def,shape:()=>e})}else return r instanceof Ia?new Ia({...r._def,type:_u(r.element)}):r instanceof Ho?Ho.create(_u(r.unwrap())):r instanceof Il?Il.create(_u(r.unwrap())):r instanceof so?so.create(r.items.map(e=>_u(e))):r}class Rn extends Rt{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(this._cached!==null)return this._cached;const e=this._def.shape(),n=Yt.objectKeys(e);return this._cached={shape:e,keys:n}}_parse(e){if(this._getType(e)!==Ue.object){const C=this._getOrReturnCtx(e);return Ve(C,{code:Ee.invalid_type,expected:Ue.object,received:C.parsedType}),yt}const{status:a,ctx:o}=this._processInputParams(e),{shape:d,keys:v}=this._getCached(),_=[];if(!(this._def.catchall instanceof Vo&&this._def.unknownKeys==="strip"))for(const C in o.data)v.includes(C)||_.push(C);const w=[];for(const C of v){const N=d[C],L=o.data[C];w.push({key:{status:"valid",value:C},value:N._parse(new oo(o,L,o.path,C)),alwaysSet:C in o.data})}if(this._def.catchall instanceof Vo){const C=this._def.unknownKeys;if(C==="passthrough")for(const N of _)w.push({key:{status:"valid",value:N},value:{status:"valid",value:o.data[N]}});else if(C==="strict")_.length>0&&(Ve(o,{code:Ee.unrecognized_keys,keys:_}),a.dirty());else if(C!=="strip")throw new Error("Internal ZodObject error: invalid unknownKeys value.")}else{const C=this._def.catchall;for(const N of _){const L=o.data[N];w.push({key:{status:"valid",value:N},value:C._parse(new oo(o,L,o.path,N)),alwaysSet:N in o.data})}}return o.common.async?Promise.resolve().then(async()=>{const C=[];for(const N of w){const L=await N.key;C.push({key:L,value:await N.value,alwaysSet:N.alwaysSet})}return C}).then(C=>Ir.mergeObjectSync(a,C)):Ir.mergeObjectSync(a,w)}get shape(){return this._def.shape()}strict(e){return rt.errToObj,new Rn({...this._def,unknownKeys:"strict",...e!==void 0?{errorMap:(n,a)=>{var o,d,v,_;const w=(v=(d=(o=this._def).errorMap)===null||d===void 0?void 0:d.call(o,n,a).message)!==null&&v!==void 0?v:a.defaultError;return n.code==="unrecognized_keys"?{message:(_=rt.errToObj(e).message)!==null&&_!==void 0?_:w}:{message:w}}}:{}})}strip(){return new Rn({...this._def,unknownKeys:"strip"})}passthrough(){return new Rn({...this._def,unknownKeys:"passthrough"})}extend(e){return new Rn({...this._def,shape:()=>({...this._def.shape(),...e})})}merge(e){return new Rn({unknownKeys:e._def.unknownKeys,catchall:e._def.catchall,shape:()=>({...this._def.shape(),...e._def.shape()}),typeName:ct.ZodObject})}setKey(e,n){return this.augment({[e]:n})}catchall(e){return new Rn({...this._def,catchall:e})}pick(e){const n={};return Yt.objectKeys(e).forEach(a=>{e[a]&&this.shape[a]&&(n[a]=this.shape[a])}),new Rn({...this._def,shape:()=>n})}omit(e){const n={};return Yt.objectKeys(this.shape).forEach(a=>{e[a]||(n[a]=this.shape[a])}),new Rn({...this._def,shape:()=>n})}deepPartial(){return _u(this)}partial(e){const n={};return Yt.objectKeys(this.shape).forEach(a=>{const o=this.shape[a];e&&!e[a]?n[a]=o:n[a]=o.optional()}),new Rn({...this._def,shape:()=>n})}required(e){const n={};return Yt.objectKeys(this.shape).forEach(a=>{if(e&&!e[a])n[a]=this.shape[a];else{let d=this.shape[a];for(;d instanceof Ho;)d=d._def.innerType;n[a]=d}}),new Rn({...this._def,shape:()=>n})}keyof(){return gp(Yt.objectKeys(this.shape))}}Rn.create=(r,e)=>new Rn({shape:()=>r,unknownKeys:"strip",catchall:Vo.create(),typeName:ct.ZodObject,...Ct(e)}),Rn.strictCreate=(r,e)=>new Rn({shape:()=>r,unknownKeys:"strict",catchall:Vo.create(),typeName:ct.ZodObject,...Ct(e)}),Rn.lazycreate=(r,e)=>new Rn({shape:r,unknownKeys:"strip",catchall:Vo.create(),typeName:ct.ZodObject,...Ct(e)});class ac extends Rt{_parse(e){const{ctx:n}=this._processInputParams(e),a=this._def.options;function o(d){for(const _ of d)if(_.result.status==="valid")return _.result;for(const _ of d)if(_.result.status==="dirty")return n.common.issues.push(..._.ctx.common.issues),_.result;const v=d.map(_=>new Ta(_.ctx.common.issues));return Ve(n,{code:Ee.invalid_union,unionErrors:v}),yt}if(n.common.async)return Promise.all(a.map(async d=>{const v={...n,common:{...n.common,issues:[]},parent:null};return{result:await d._parseAsync({data:n.data,path:n.path,parent:v}),ctx:v}})).then(o);{let d;const v=[];for(const w of a){const C={...n,common:{...n.common,issues:[]},parent:null},N=w._parseSync({data:n.data,path:n.path,parent:C});if(N.status==="valid")return N;N.status==="dirty"&&!d&&(d={result:N,ctx:C}),C.common.issues.length&&v.push(C.common.issues)}if(d)return n.common.issues.push(...d.ctx.common.issues),d.result;const _=v.map(w=>new Ta(w));return Ve(n,{code:Ee.invalid_union,unionErrors:_}),yt}}get options(){return this._def.options}}ac.create=(r,e)=>new ac({options:r,typeName:ct.ZodUnion,...Ct(e)});const Kc=r=>r instanceof lc?Kc(r.schema):r instanceof Aa?Kc(r.innerType()):r instanceof uc?[r.value]:r instanceof Ds?r.options:r instanceof cc?Object.keys(r.enum):r instanceof dc?Kc(r._def.innerType):r instanceof rc?[void 0]:r instanceof ic?[null]:null;class Jc extends Rt{_parse(e){const{ctx:n}=this._processInputParams(e);if(n.parsedType!==Ue.object)return Ve(n,{code:Ee.invalid_type,expected:Ue.object,received:n.parsedType}),yt;const a=this.discriminator,o=n.data[a],d=this.optionsMap.get(o);return d?n.common.async?d._parseAsync({data:n.data,path:n.path,parent:n}):d._parseSync({data:n.data,path:n.path,parent:n}):(Ve(n,{code:Ee.invalid_union_discriminator,options:Array.from(this.optionsMap.keys()),path:[a]}),yt)}get discriminator(){return this._def.discriminator}get options(){return this._def.options}get optionsMap(){return this._def.optionsMap}static create(e,n,a){const o=new Map;for(const d of n){const v=Kc(d.shape[e]);if(!v)throw new Error(`A discriminator value for key \`${e}\` could not be extracted from all schema options`);for(const _ of v){if(o.has(_))throw new Error(`Discriminator property ${String(e)} has duplicate value ${String(_)}`);o.set(_,d)}}return new Jc({typeName:ct.ZodDiscriminatedUnion,discriminator:e,options:n,optionsMap:o,...Ct(a)})}}function zd(r,e){const n=Ms(r),a=Ms(e);if(r===e)return{valid:!0,data:r};if(n===Ue.object&&a===Ue.object){const o=Yt.objectKeys(e),d=Yt.objectKeys(r).filter(_=>o.indexOf(_)!==-1),v={...r,...e};for(const _ of d){const w=zd(r[_],e[_]);if(!w.valid)return{valid:!1};v[_]=w.data}return{valid:!0,data:v}}else if(n===Ue.array&&a===Ue.array){if(r.length!==e.length)return{valid:!1};const o=[];for(let d=0;d<r.length;d++){const v=r[d],_=e[d],w=zd(v,_);if(!w.valid)return{valid:!1};o.push(w.data)}return{valid:!0,data:o}}else return n===Ue.date&&a===Ue.date&&+r==+e?{valid:!0,data:r}:{valid:!1}}class oc extends Rt{_parse(e){const{status:n,ctx:a}=this._processInputParams(e),o=(d,v)=>{if(Nd(d)||Nd(v))return yt;const _=zd(d.value,v.value);return _.valid?((jd(d)||jd(v))&&n.dirty(),{status:n.value,value:_.data}):(Ve(a,{code:Ee.invalid_intersection_types}),yt)};return a.common.async?Promise.all([this._def.left._parseAsync({data:a.data,path:a.path,parent:a}),this._def.right._parseAsync({data:a.data,path:a.path,parent:a})]).then(([d,v])=>o(d,v)):o(this._def.left._parseSync({data:a.data,path:a.path,parent:a}),this._def.right._parseSync({data:a.data,path:a.path,parent:a}))}}oc.create=(r,e,n)=>new oc({left:r,right:e,typeName:ct.ZodIntersection,...Ct(n)});class so extends Rt{_parse(e){const{status:n,ctx:a}=this._processInputParams(e);if(a.parsedType!==Ue.array)return Ve(a,{code:Ee.invalid_type,expected:Ue.array,received:a.parsedType}),yt;if(a.data.length<this._def.items.length)return Ve(a,{code:Ee.too_small,minimum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),yt;!this._def.rest&&a.data.length>this._def.items.length&&(Ve(a,{code:Ee.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),n.dirty());const d=[...a.data].map((v,_)=>{const w=this._def.items[_]||this._def.rest;return w?w._parse(new oo(a,v,a.path,_)):null}).filter(v=>!!v);return a.common.async?Promise.all(d).then(v=>Ir.mergeArray(n,v)):Ir.mergeArray(n,d)}get items(){return this._def.items}rest(e){return new so({...this._def,rest:e})}}so.create=(r,e)=>{if(!Array.isArray(r))throw new Error("You must pass an array of schemas to z.tuple([ ... ])");return new so({items:r,typeName:ct.ZodTuple,rest:null,...Ct(e)})};class sc extends Rt{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){const{status:n,ctx:a}=this._processInputParams(e);if(a.parsedType!==Ue.object)return Ve(a,{code:Ee.invalid_type,expected:Ue.object,received:a.parsedType}),yt;const o=[],d=this._def.keyType,v=this._def.valueType;for(const _ in a.data)o.push({key:d._parse(new oo(a,_,a.path,_)),value:v._parse(new oo(a,a.data[_],a.path,_))});return a.common.async?Ir.mergeObjectAsync(n,o):Ir.mergeObjectSync(n,o)}get element(){return this._def.valueType}static create(e,n,a){return n instanceof Rt?new sc({keyType:e,valueType:n,typeName:ct.ZodRecord,...Ct(a)}):new sc({keyType:Ra.create(),valueType:e,typeName:ct.ZodRecord,...Ct(n)})}}class Qc extends Rt{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){const{status:n,ctx:a}=this._processInputParams(e);if(a.parsedType!==Ue.map)return Ve(a,{code:Ee.invalid_type,expected:Ue.map,received:a.parsedType}),yt;const o=this._def.keyType,d=this._def.valueType,v=[...a.data.entries()].map(([_,w],C)=>({key:o._parse(new oo(a,_,a.path,[C,"key"])),value:d._parse(new oo(a,w,a.path,[C,"value"]))}));if(a.common.async){const _=new Map;return Promise.resolve().then(async()=>{for(const w of v){const C=await w.key,N=await w.value;if(C.status==="aborted"||N.status==="aborted")return yt;(C.status==="dirty"||N.status==="dirty")&&n.dirty(),_.set(C.value,N.value)}return{status:n.value,value:_}})}else{const _=new Map;for(const w of v){const C=w.key,N=w.value;if(C.status==="aborted"||N.status==="aborted")return yt;(C.status==="dirty"||N.status==="dirty")&&n.dirty(),_.set(C.value,N.value)}return{status:n.value,value:_}}}}Qc.create=(r,e,n)=>new Qc({valueType:e,keyType:r,typeName:ct.ZodMap,...Ct(n)});class Rl extends Rt{_parse(e){const{status:n,ctx:a}=this._processInputParams(e);if(a.parsedType!==Ue.set)return Ve(a,{code:Ee.invalid_type,expected:Ue.set,received:a.parsedType}),yt;const o=this._def;o.minSize!==null&&a.data.size<o.minSize.value&&(Ve(a,{code:Ee.too_small,minimum:o.minSize.value,type:"set",inclusive:!0,exact:!1,message:o.minSize.message}),n.dirty()),o.maxSize!==null&&a.data.size>o.maxSize.value&&(Ve(a,{code:Ee.too_big,maximum:o.maxSize.value,type:"set",inclusive:!0,exact:!1,message:o.maxSize.message}),n.dirty());const d=this._def.valueType;function v(w){const C=new Set;for(const N of w){if(N.status==="aborted")return yt;N.status==="dirty"&&n.dirty(),C.add(N.value)}return{status:n.value,value:C}}const _=[...a.data.values()].map((w,C)=>d._parse(new oo(a,w,a.path,C)));return a.common.async?Promise.all(_).then(w=>v(w)):v(_)}min(e,n){return new Rl({...this._def,minSize:{value:e,message:rt.toString(n)}})}max(e,n){return new Rl({...this._def,maxSize:{value:e,message:rt.toString(n)}})}size(e,n){return this.min(e,n).max(e,n)}nonempty(e){return this.min(1,e)}}Rl.create=(r,e)=>new Rl({valueType:r,minSize:null,maxSize:null,typeName:ct.ZodSet,...Ct(e)});class ku extends Rt{constructor(){super(...arguments),this.validate=this.implement}_parse(e){const{ctx:n}=this._processInputParams(e);if(n.parsedType!==Ue.function)return Ve(n,{code:Ee.invalid_type,expected:Ue.function,received:n.parsedType}),yt;function a(_,w){return $c({data:_,path:n.path,errorMaps:[n.common.contextualErrorMap,n.schemaErrorMap,Hc(),ec].filter(C=>!!C),issueData:{code:Ee.invalid_arguments,argumentsError:w}})}function o(_,w){return $c({data:_,path:n.path,errorMaps:[n.common.contextualErrorMap,n.schemaErrorMap,Hc(),ec].filter(C=>!!C),issueData:{code:Ee.invalid_return_type,returnTypeError:w}})}const d={errorMap:n.common.contextualErrorMap},v=n.data;if(this._def.returns instanceof Eu){const _=this;return Gr(async function(...w){const C=new Ta([]),N=await _._def.args.parseAsync(w,d).catch(ge=>{throw C.addIssue(a(w,ge)),C}),L=await Reflect.apply(v,this,N);return await _._def.returns._def.type.parseAsync(L,d).catch(ge=>{throw C.addIssue(o(L,ge)),C})})}else{const _=this;return Gr(function(...w){const C=_._def.args.safeParse(w,d);if(!C.success)throw new Ta([a(w,C.error)]);const N=Reflect.apply(v,this,C.data),L=_._def.returns.safeParse(N,d);if(!L.success)throw new Ta([o(N,L.error)]);return L.data})}}parameters(){return this._def.args}returnType(){return this._def.returns}args(...e){return new ku({...this._def,args:so.create(e).rest(Tl.create())})}returns(e){return new ku({...this._def,returns:e})}implement(e){return this.parse(e)}strictImplement(e){return this.parse(e)}static create(e,n,a){return new ku({args:e||so.create([]).rest(Tl.create()),returns:n||Tl.create(),typeName:ct.ZodFunction,...Ct(a)})}}class lc extends Rt{get schema(){return this._def.getter()}_parse(e){const{ctx:n}=this._processInputParams(e);return this._def.getter()._parse({data:n.data,path:n.path,parent:n})}}lc.create=(r,e)=>new lc({getter:r,typeName:ct.ZodLazy,...Ct(e)});class uc extends Rt{_parse(e){if(e.data!==this._def.value){const n=this._getOrReturnCtx(e);return Ve(n,{received:n.data,code:Ee.invalid_literal,expected:this._def.value}),yt}return{status:"valid",value:e.data}}get value(){return this._def.value}}uc.create=(r,e)=>new uc({value:r,typeName:ct.ZodLiteral,...Ct(e)});function gp(r,e){return new Ds({values:r,typeName:ct.ZodEnum,...Ct(e)})}class Ds extends Rt{_parse(e){if(typeof e.data!="string"){const n=this._getOrReturnCtx(e),a=this._def.values;return Ve(n,{expected:Yt.joinValues(a),received:n.parsedType,code:Ee.invalid_type}),yt}if(this._def.values.indexOf(e.data)===-1){const n=this._getOrReturnCtx(e),a=this._def.values;return Ve(n,{received:n.data,code:Ee.invalid_enum_value,options:a}),yt}return Gr(e.data)}get options(){return this._def.values}get enum(){const e={};for(const n of this._def.values)e[n]=n;return e}get Values(){const e={};for(const n of this._def.values)e[n]=n;return e}get Enum(){const e={};for(const n of this._def.values)e[n]=n;return e}extract(e){return Ds.create(e)}exclude(e){return Ds.create(this.options.filter(n=>!e.includes(n)))}}Ds.create=gp;class cc extends Rt{_parse(e){const n=Yt.getValidEnumValues(this._def.values),a=this._getOrReturnCtx(e);if(a.parsedType!==Ue.string&&a.parsedType!==Ue.number){const o=Yt.objectValues(n);return Ve(a,{expected:Yt.joinValues(o),received:a.parsedType,code:Ee.invalid_type}),yt}if(n.indexOf(e.data)===-1){const o=Yt.objectValues(n);return Ve(a,{received:a.data,code:Ee.invalid_enum_value,options:o}),yt}return Gr(e.data)}get enum(){return this._def.values}}cc.create=(r,e)=>new cc({values:r,typeName:ct.ZodNativeEnum,...Ct(e)});class Eu extends Rt{unwrap(){return this._def.type}_parse(e){const{ctx:n}=this._processInputParams(e);if(n.parsedType!==Ue.promise&&n.common.async===!1)return Ve(n,{code:Ee.invalid_type,expected:Ue.promise,received:n.parsedType}),yt;const a=n.parsedType===Ue.promise?n.data:Promise.resolve(n.data);return Gr(a.then(o=>this._def.type.parseAsync(o,{path:n.path,errorMap:n.common.contextualErrorMap})))}}Eu.create=(r,e)=>new Eu({type:r,typeName:ct.ZodPromise,...Ct(e)});class Aa extends Rt{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===ct.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(e){const{status:n,ctx:a}=this._processInputParams(e),o=this._def.effect||null,d={addIssue:v=>{Ve(a,v),v.fatal?n.abort():n.dirty()},get path(){return a.path}};if(d.addIssue=d.addIssue.bind(d),o.type==="preprocess"){const v=o.transform(a.data,d);return a.common.issues.length?{status:"dirty",value:a.data}:a.common.async?Promise.resolve(v).then(_=>this._def.schema._parseAsync({data:_,path:a.path,parent:a})):this._def.schema._parseSync({data:v,path:a.path,parent:a})}if(o.type==="refinement"){const v=_=>{const w=o.refinement(_,d);if(a.common.async)return Promise.resolve(w);if(w instanceof Promise)throw new Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return _};if(a.common.async===!1){const _=this._def.schema._parseSync({data:a.data,path:a.path,parent:a});return _.status==="aborted"?yt:(_.status==="dirty"&&n.dirty(),v(_.value),{status:n.value,value:_.value})}else return this._def.schema._parseAsync({data:a.data,path:a.path,parent:a}).then(_=>_.status==="aborted"?yt:(_.status==="dirty"&&n.dirty(),v(_.value).then(()=>({status:n.value,value:_.value}))))}if(o.type==="transform")if(a.common.async===!1){const v=this._def.schema._parseSync({data:a.data,path:a.path,parent:a});if(!tc(v))return v;const _=o.transform(v.value,d);if(_ instanceof Promise)throw new Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:n.value,value:_}}else return this._def.schema._parseAsync({data:a.data,path:a.path,parent:a}).then(v=>tc(v)?Promise.resolve(o.transform(v.value,d)).then(_=>({status:n.value,value:_})):v);Yt.assertNever(o)}}Aa.create=(r,e,n)=>new Aa({schema:r,typeName:ct.ZodEffects,effect:e,...Ct(n)}),Aa.createWithPreprocess=(r,e,n)=>new Aa({schema:e,effect:{type:"preprocess",transform:r},typeName:ct.ZodEffects,...Ct(n)});class Ho extends Rt{_parse(e){return this._getType(e)===Ue.undefined?Gr(void 0):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}}Ho.create=(r,e)=>new Ho({innerType:r,typeName:ct.ZodOptional,...Ct(e)});class Il extends Rt{_parse(e){return this._getType(e)===Ue.null?Gr(null):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}}Il.create=(r,e)=>new Il({innerType:r,typeName:ct.ZodNullable,...Ct(e)});class dc extends Rt{_parse(e){const{ctx:n}=this._processInputParams(e);let a=n.data;return n.parsedType===Ue.undefined&&(a=this._def.defaultValue()),this._def.innerType._parse({data:a,path:n.path,parent:n})}removeDefault(){return this._def.innerType}}dc.create=(r,e)=>new dc({innerType:r,typeName:ct.ZodDefault,defaultValue:typeof e.default=="function"?e.default:()=>e.default,...Ct(e)});class Xc extends Rt{_parse(e){const{ctx:n}=this._processInputParams(e),a={...n,common:{...n.common,issues:[]}},o=this._def.innerType._parse({data:a.data,path:a.path,parent:{...a}});return Gc(o)?o.then(d=>({status:"valid",value:d.status==="valid"?d.value:this._def.catchValue({get error(){return new Ta(a.common.issues)},input:a.data})})):{status:"valid",value:o.status==="valid"?o.value:this._def.catchValue({get error(){return new Ta(a.common.issues)},input:a.data})}}removeCatch(){return this._def.innerType}}Xc.create=(r,e)=>new Xc({innerType:r,typeName:ct.ZodCatch,catchValue:typeof e.catch=="function"?e.catch:()=>e.catch,...Ct(e)});class qc extends Rt{_parse(e){if(this._getType(e)!==Ue.nan){const a=this._getOrReturnCtx(e);return Ve(a,{code:Ee.invalid_type,expected:Ue.nan,received:a.parsedType}),yt}return{status:"valid",value:e.data}}}qc.create=r=>new qc({typeName:ct.ZodNaN,...Ct(r)});const _m=Symbol("zod_brand");class mp extends Rt{_parse(e){const{ctx:n}=this._processInputParams(e),a=n.data;return this._def.type._parse({data:a,path:n.path,parent:n})}unwrap(){return this._def.type}}class fc extends Rt{_parse(e){const{status:n,ctx:a}=this._processInputParams(e);if(a.common.async)return(async()=>{const d=await this._def.in._parseAsync({data:a.data,path:a.path,parent:a});return d.status==="aborted"?yt:d.status==="dirty"?(n.dirty(),pp(d.value)):this._def.out._parseAsync({data:d.value,path:a.path,parent:a})})();{const o=this._def.in._parseSync({data:a.data,path:a.path,parent:a});return o.status==="aborted"?yt:o.status==="dirty"?(n.dirty(),{status:"dirty",value:o.value}):this._def.out._parseSync({data:o.value,path:a.path,parent:a})}}static create(e,n){return new fc({in:e,out:n,typeName:ct.ZodPipeline})}}class ed extends Rt{_parse(e){const n=this._def.innerType._parse(e);return tc(n)&&(n.value=Object.freeze(n.value)),n}}ed.create=(r,e)=>new ed({innerType:r,typeName:ct.ZodReadonly,...Ct(e)});const vp=(r,e={},n)=>r?Su.create().superRefine((a,o)=>{var d,v;if(!r(a)){const _=typeof e=="function"?e(a):typeof e=="string"?{message:e}:e,w=(v=(d=_.fatal)!==null&&d!==void 0?d:n)!==null&&v!==void 0?v:!0,C=typeof _=="string"?{message:_}:_;o.addIssue({code:"custom",...C,fatal:w})}}):Su.create(),km={object:Rn.lazycreate};var ct;(function(r){r.ZodString="ZodString",r.ZodNumber="ZodNumber",r.ZodNaN="ZodNaN",r.ZodBigInt="ZodBigInt",r.ZodBoolean="ZodBoolean",r.ZodDate="ZodDate",r.ZodSymbol="ZodSymbol",r.ZodUndefined="ZodUndefined",r.ZodNull="ZodNull",r.ZodAny="ZodAny",r.ZodUnknown="ZodUnknown",r.ZodNever="ZodNever",r.ZodVoid="ZodVoid",r.ZodArray="ZodArray",r.ZodObject="ZodObject",r.ZodUnion="ZodUnion",r.ZodDiscriminatedUnion="ZodDiscriminatedUnion",r.ZodIntersection="ZodIntersection",r.ZodTuple="ZodTuple",r.ZodRecord="ZodRecord",r.ZodMap="ZodMap",r.ZodSet="ZodSet",r.ZodFunction="ZodFunction",r.ZodLazy="ZodLazy",r.ZodLiteral="ZodLiteral",r.ZodEnum="ZodEnum",r.ZodEffects="ZodEffects",r.ZodNativeEnum="ZodNativeEnum",r.ZodOptional="ZodOptional",r.ZodNullable="ZodNullable",r.ZodDefault="ZodDefault",r.ZodCatch="ZodCatch",r.ZodPromise="ZodPromise",r.ZodBranded="ZodBranded",r.ZodPipeline="ZodPipeline",r.ZodReadonly="ZodReadonly"})(ct||(ct={}));const Em=(r,e={message:`Input not instance of ${r.name}`})=>vp(n=>n instanceof r,e),bp=Ra.create,yp=Fs.create,Cm=qc.create,Tm=Ps.create,wp=nc.create,Rm=Cl.create,Im=Zc.create,Am=rc.create,Om=ic.create,Mm=Su.create,Fm=Tl.create,Pm=Vo.create,Dm=Yc.create,Lm=Ia.create,Bm=Rn.create,Nm=Rn.strictCreate,jm=ac.create,zm=Jc.create,Um=oc.create,Wm=so.create,Vm=sc.create,Hm=Qc.create,$m=Rl.create,Gm=ku.create,Zm=lc.create,Ym=uc.create,Km=Ds.create,Jm=cc.create,Qm=Eu.create,xp=Aa.create,Xm=Ho.create,qm=Il.create,ev=Aa.createWithPreprocess,tv=fc.create;var er=Object.freeze({__proto__:null,defaultErrorMap:ec,setErrorMap:cm,getErrorMap:Hc,makeIssue:$c,EMPTY_PATH:dm,addIssueToContext:Ve,ParseStatus:Ir,INVALID:yt,DIRTY:pp,OK:Gr,isAborted:Nd,isDirty:jd,isValid:tc,isAsync:Gc,get util(){return Yt},get objectUtil(){return Bd},ZodParsedType:Ue,getParsedType:Ms,ZodType:Rt,ZodString:Ra,ZodNumber:Fs,ZodBigInt:Ps,ZodBoolean:nc,ZodDate:Cl,ZodSymbol:Zc,ZodUndefined:rc,ZodNull:ic,ZodAny:Su,ZodUnknown:Tl,ZodNever:Vo,ZodVoid:Yc,ZodArray:Ia,ZodObject:Rn,ZodUnion:ac,ZodDiscriminatedUnion:Jc,ZodIntersection:oc,ZodTuple:so,ZodRecord:sc,ZodMap:Qc,ZodSet:Rl,ZodFunction:ku,ZodLazy:lc,ZodLiteral:uc,ZodEnum:Ds,ZodNativeEnum:cc,ZodPromise:Eu,ZodEffects:Aa,ZodTransformer:Aa,ZodOptional:Ho,ZodNullable:Il,ZodDefault:dc,ZodCatch:Xc,ZodNaN:qc,BRAND:_m,ZodBranded:mp,ZodPipeline:fc,ZodReadonly:ed,custom:vp,Schema:Rt,ZodSchema:Rt,late:km,get ZodFirstPartyTypeKind(){return ct},coerce:{string:r=>Ra.create({...r,coerce:!0}),number:r=>Fs.create({...r,coerce:!0}),boolean:r=>nc.create({...r,coerce:!0}),bigint:r=>Ps.create({...r,coerce:!0}),date:r=>Cl.create({...r,coerce:!0})},any:Mm,array:Lm,bigint:Tm,boolean:wp,date:Rm,discriminatedUnion:zm,effect:xp,enum:Km,function:Gm,instanceof:Em,intersection:Um,lazy:Zm,literal:Ym,map:Hm,nan:Cm,nativeEnum:Jm,never:Pm,null:Om,nullable:qm,number:yp,object:Bm,oboolean:()=>wp().optional(),onumber:()=>yp().optional(),optional:Xm,ostring:()=>bp().optional(),pipeline:tv,preprocess:ev,promise:Qm,record:Vm,set:$m,strictObject:Nm,string:bp,symbol:Im,transformer:xp,tuple:Wm,undefined:Am,union:jm,unknown:Fm,void:Dm,NEVER:yt,ZodIssueCode:Ee,quotelessJson:um,ZodError:Ta});const Sp=er.enum(["day","month","year","hour","minute"]);class pc{constructor(e){jt(this,"condition");this.condition=e}}class nv extends pc{match(e){const n=e.getFieldState(this.condition.fieldKey);return n.hidden?!1:n.value===this.condition.value}}class rv extends pc{match(e){const n=e.getFieldState(this.condition.fieldKey);return n.hidden||!n.value?!1:n.value.has(this.condition.value)}}class iv extends pc{match(e){return!0}}class av extends pc{match(e){const n=e.getFieldState(this.condition.fieldKey);return n.hidden&&!this.condition.evenWhenHidden?!1:n.value!==null&&n.value!==void 0}}class ov extends pc{match(e){return e.flags[this.condition.flagKey]===this.condition.triggerOn}}class _p{constructor(e){jt(this,"action");this.action=e}}class sv extends _p{act(e){e.markShown(this.action.fieldKey)}}class lv extends _p{act(e){e.markHidden(this.action.fieldKey)}}function uv(r){switch(r.type){case"equal":return new nv(r);case"contains":return new rv(r);case"always":return new iv(r);case"flag_equal":return new ov(r);case"answered":return new av(r);default:throw"unknown condition type"}}function cv(r){switch(r.type){case"show_question":return new sv(r);case"hide_question":return new lv(r);default:throw"unknown action type"}}class dv{constructor(e,n){jt(this,"condition");jt(this,"action");this.condition=e,this.action=n}runAgainst(e){this.condition.match(e)&&this.action.act(e)}}function fv(r){const e=uv(r.condition),n=cv(r.action);return new dv(e,n)}class Ud{constructor(e){jt(this,"key");jt(this,"panels");jt(this,"footer");jt(this,"questions");jt(this,"validations");jt(this,"visibilityRules");jt(this,"textvars");jt(this,"sexpVariables");jt(this,"defaultAnswerValue");jt(this,"cssVars");jt(this,"layoutVersion");this.key=e.key,this.questions=e.questions,this.panels=e.panels,this.footer=e.footer,this.validations=e.validations,this.visibilityRules=e.visibilityRules.map(n=>fv(n)),this.textvars=Object.values(e.textvars),this.sexpVariables=e.sexpVariables||{},this.defaultAnswerValue=e.defaultAnswerValue,this.cssVars=e.cssVars,this.layoutVersion=e.layoutVersion||"v1"}getField(e){return this.questions[e]}getQuestionsInSameGroup(e){const n=this.getField(e);return n.questionGroup?Object.values(this.questions).filter(a=>a.questionGroup===n.questionGroup):[n]}getOptionNumberValue(e,n){const a=this.getField(e);if(a.type==="select"||a.type==="radio"||a.type=="scale"){const o=a.children.find(d=>d.key===n);if(o&&o.type!=="html"&&typeof o.value=="number")return o.value}return null}}var td={exports:{}};/**
|
|
14
14
|
* @license
|
|
15
15
|
* Lodash <https://lodash.com/>
|
|
16
16
|
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
|
|
17
17
|
* Released under MIT license <https://lodash.com/license>
|
|
18
18
|
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
|
|
19
19
|
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
|
20
|
-
*/td.exports,function(r,e){(function(){var n,a="4.17.21",o=200,d="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",v="Expected a function",_="Invalid `variable` option passed into `_.template`",w="__lodash_hash_undefined__",C=500,N="__lodash_placeholder__",L=1,W=2,ge=4,ae=1,we=2,Z=1,G=2,pe=4,Se=8,_e=16,re=32,Ie=64,Te=128,Dt=256,dt=512,Mt=30,ve="...",ye=800,Re=16,Be=1,Ye=2,He=3,je=1/0,ze=9007199254740991,pt=17976931348623157e292,oe=0/0,ue=4294967295,Ae=ue-1,Ze=ue>>>1,Fe=[["ary",Te],["bind",Z],["bindKey",G],["curry",Se],["curryRight",_e],["flip",dt],["partial",re],["partialRight",Ie],["rearg",Dt]],Me="[object Arguments]",Oe="[object Array]",qe="[object AsyncFunction]",et="[object Boolean]",Ke="[object Date]",nt="[object DOMException]",_t="[object Error]",ke="[object Function]",It="[object GeneratorFunction]",mt="[object Map]",fn="[object Number]",jn="[object Null]",Sn="[object Object]",zn="[object Promise]",dr="[object Proxy]",nr="[object RegExp]",On="[object Set]",yn="[object String]",pn="[object Symbol]",hn="[object Undefined]",fr="[object WeakMap]",gi="[object WeakSet]",Un="[object ArrayBuffer]",Zt="[object DataView]",Ar="[object Float32Array]",Zr="[object Float64Array]",Or="[object Int8Array]",Yr="[object Int16Array]",Mr="[object Int32Array]",Mi="[object Uint8Array]",Kr="[object Uint8ClampedArray]",pr="[object Uint16Array]",Jr="[object Uint32Array]",ia=/\b__p \+= '';/g,_n=/\b(__p \+=) '' \+/g,rr=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Mn=/&(?:amp|lt|gt|quot|#39);/g,At=/[&<>"']/g,hr=RegExp(Mn.source),Qr=RegExp(At.source),Xr=/<%-([\s\S]+?)%>/g,ir=/<%([\s\S]+?)%>/g,qr=/<%=([\s\S]+?)%>/g,gr=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,nn=/^\w*$/,Fi=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ei=/[\\^$.*+?()[\]{}|]/g,Pi=RegExp(ei.source),rn=/^\s+/,Di=/\s/,Fa=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Pa=/\{\n\/\* \[wrapped with (.+)\] \*/,z=/,? & /,he=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Ce=/[()=,{}\[\]\/\s]/,tt=/\\(\\)?/g,vt=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,kt=/\w*$/,wt=/^[-+]0x[0-9a-f]+$/i,ft=/^0b[01]+$/i,ln=/^\[object .+?Constructor\]$/,jt=/^0o[0-7]+$/i,zt=/^(?:0|[1-9]\d*)$/,on=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,In=/($^)/,Fr=/['\n\r\u2028\u2029\\]/g,Xt="\\ud800-\\udfff",un="\\u0300-\\u036f",Pr="\\ufe20-\\ufe2f",Sr="\\u20d0-\\u20ff",kn=un+Pr+Sr,Li="\\u2700-\\u27bf",_r="a-z\\xdf-\\xf6\\xf8-\\xff",Dr="\\xac\\xb1\\xd7\\xf7",Jn="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",ti="\\u2000-\\u206f",mi=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",aa="A-Z\\xc0-\\xd6\\xd8-\\xde",oa="\\ufe0e\\ufe0f",Bi=Dr+Jn+ti+mi,Lr="['’]",Da="["+Xt+"]",Ni="["+Bi+"]",ni="["+kn+"]",p="\\d+",S="["+Li+"]",A="["+_r+"]",F="[^"+Xt+Bi+p+Li+_r+aa+"]",X="\\ud83c[\\udffb-\\udfff]",K="(?:"+ni+"|"+X+")",ie="[^"+Xt+"]",be="(?:\\ud83c[\\udde6-\\uddff]){2}",We="[\\ud800-\\udbff][\\udc00-\\udfff]",Qe="["+aa+"]",Je="\\u200d",Ft="(?:"+A+"|"+F+")",ar="(?:"+Qe+"|"+F+")",Fn="(?:"+Lr+"(?:d|ll|m|re|s|t|ve))?",Pn="(?:"+Lr+"(?:D|LL|M|RE|S|T|VE))?",Br=K+"?",mr="["+oa+"]?",sa="(?:"+Je+"(?:"+[ie,be,We].join("|")+")"+mr+Br+")*",vi="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",ji="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Nr=mr+Br+sa,La="(?:"+[S,be,We].join("|")+")"+Nr,Fl="(?:"+[ie+ni+"?",ni,be,We,Da].join("|")+")",Pl=RegExp(Lr,"g"),Zo=RegExp(ni,"g"),Yo=RegExp(X+"(?="+X+")|"+Fl+Nr,"g"),Ko=RegExp([Qe+"?"+A+"+"+Fn+"(?="+[Ni,Qe,"$"].join("|")+")",ar+"+"+Pn+"(?="+[Ni,Qe+Ft,"$"].join("|")+")",Qe+"?"+Ft+"+"+Fn,Qe+"+"+Pn,ji,vi,p,La].join("|"),"g"),ri=RegExp("["+Je+Xt+kn+oa+"]"),Ba=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,fo=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Kt=-1,Lt={};Lt[Ar]=Lt[Zr]=Lt[Or]=Lt[Yr]=Lt[Mr]=Lt[Mi]=Lt[Kr]=Lt[pr]=Lt[Jr]=!0,Lt[Me]=Lt[Oe]=Lt[Un]=Lt[et]=Lt[Zt]=Lt[Ke]=Lt[_t]=Lt[ke]=Lt[mt]=Lt[fn]=Lt[Sn]=Lt[nr]=Lt[On]=Lt[yn]=Lt[fr]=!1;var xt={};xt[Me]=xt[Oe]=xt[Un]=xt[Zt]=xt[et]=xt[Ke]=xt[Ar]=xt[Zr]=xt[Or]=xt[Yr]=xt[Mr]=xt[mt]=xt[fn]=xt[Sn]=xt[nr]=xt[On]=xt[yn]=xt[pn]=xt[Mi]=xt[Kr]=xt[pr]=xt[Jr]=!0,xt[_t]=xt[ke]=xt[fr]=!1;var zi={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},bi={"&":"&","<":"<",">":">",'"':""","'":"'"},po={"&":"&","<":"<",">":">",""":'"',"'":"'"},yi={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},kr=parseFloat,Jo=parseInt,ho=typeof qn=="object"&&qn&&qn.Object===Object&&qn,Us=typeof self=="object"&&self&&self.Object===Object&&self,En=ho||Us||Function("return this")(),go=e&&!e.nodeType&&e,Ui=go&&!0&&r&&!r.nodeType&&r,Ws=Ui&&Ui.exports===go,la=Ws&&ho.process,Wn=function(){try{var Y=Ui&&Ui.require&&Ui.require("util").types;return Y||la&&la.binding&&la.binding("util")}catch{}}(),Na=Wn&&Wn.isArrayBuffer,ua=Wn&&Wn.isDate,Vs=Wn&&Wn.isMap,ca=Wn&&Wn.isRegExp,mo=Wn&&Wn.isSet,vo=Wn&&Wn.isTypedArray;function Cn(Y,se,ne){switch(ne.length){case 0:return Y.call(se);case 1:return Y.call(se,ne[0]);case 2:return Y.call(se,ne[0],ne[1]);case 3:return Y.call(se,ne[0],ne[1],ne[2])}return Y.apply(se,ne)}function da(Y,se,ne,Ne){for(var ot=-1,Pt=Y==null?0:Y.length;++ot<Pt;){var gn=Y[ot];se(Ne,gn,ne(gn),Y)}return Ne}function Vn(Y,se){for(var ne=-1,Ne=Y==null?0:Y.length;++ne<Ne&&se(Y[ne],ne,Y)!==!1;);return Y}function Hs(Y,se){for(var ne=Y==null?0:Y.length;ne--&&se(Y[ne],ne,Y)!==!1;);return Y}function bo(Y,se){for(var ne=-1,Ne=Y==null?0:Y.length;++ne<Ne;)if(!se(Y[ne],ne,Y))return!1;return!0}function ii(Y,se){for(var ne=-1,Ne=Y==null?0:Y.length,ot=0,Pt=[];++ne<Ne;){var gn=Y[ne];se(gn,ne,Y)&&(Pt[ot++]=gn)}return Pt}function Wi(Y,se){var ne=Y==null?0:Y.length;return!!ne&&Vi(Y,se,0)>-1}function Hn(Y,se,ne){for(var Ne=-1,ot=Y==null?0:Y.length;++Ne<ot;)if(ne(se,Y[Ne]))return!0;return!1}function qt(Y,se){for(var ne=-1,Ne=Y==null?0:Y.length,ot=Array(Ne);++ne<Ne;)ot[ne]=se(Y[ne],ne,Y);return ot}function Er(Y,se){for(var ne=-1,Ne=se.length,ot=Y.length;++ne<Ne;)Y[ot+ne]=se[ne];return Y}function Qo(Y,se,ne,Ne){var ot=-1,Pt=Y==null?0:Y.length;for(Ne&&Pt&&(ne=Y[++ot]);++ot<Pt;)ne=se(ne,Y[ot],ot,Y);return ne}function $s(Y,se,ne,Ne){var ot=Y==null?0:Y.length;for(Ne&&ot&&(ne=Y[--ot]);ot--;)ne=se(ne,Y[ot],ot,Y);return ne}function fa(Y,se){for(var ne=-1,Ne=Y==null?0:Y.length;++ne<Ne;)if(se(Y[ne],ne,Y))return!0;return!1}var Gs=h("length");function Zs(Y){return Y.split("")}function yo(Y){return Y.match(he)||[]}function ja(Y,se,ne){var Ne;return ne(Y,function(ot,Pt,gn){if(se(ot,Pt,gn))return Ne=Pt,!1}),Ne}function za(Y,se,ne,Ne){for(var ot=Y.length,Pt=ne+(Ne?1:-1);Ne?Pt--:++Pt<ot;)if(se(Y[Pt],Pt,Y))return Pt;return-1}function Vi(Y,se,ne){return se===se?Sc(Y,se,ne):za(Y,wo,ne)}function Ys(Y,se,ne,Ne){for(var ot=ne-1,Pt=Y.length;++ot<Pt;)if(Ne(Y[ot],se))return ot;return-1}function wo(Y){return Y!==Y}function Xo(Y,se){var ne=Y==null?0:Y.length;return ne?q(Y,se)/ne:oe}function h(Y){return function(se){return se==null?n:se[Y]}}function x(Y){return function(se){return Y==null?n:Y[se]}}function R(Y,se,ne,Ne,ot){return ot(Y,function(Pt,gn,Wt){ne=Ne?(Ne=!1,Pt):se(ne,Pt,gn,Wt)}),ne}function P(Y,se){var ne=Y.length;for(Y.sort(se);ne--;)Y[ne]=Y[ne].value;return Y}function q(Y,se){for(var ne,Ne=-1,ot=Y.length;++Ne<ot;){var Pt=se(Y[Ne]);Pt!==n&&(ne=ne===n?Pt:ne+Pt)}return ne}function Q(Y,se){for(var ne=-1,Ne=Array(Y);++ne<Y;)Ne[ne]=se(ne);return Ne}function le(Y,se){return qt(se,function(ne){return[ne,Y[ne]]})}function xe(Y){return Y&&Y.slice(0,Bl(Y)+1).replace(rn,"")}function $e(Y){return function(se){return Y(se)}}function ht(Y,se){return qt(se,function(ne){return Y[ne]})}function at(Y,se){return Y.has(se)}function Jt(Y,se){for(var ne=-1,Ne=Y.length;++ne<Ne&&Vi(se,Y[ne],0)>-1;);return ne}function Qn(Y,se){for(var ne=Y.length;ne--&&Vi(se,Y[ne],0)>-1;);return ne}function Cr(Y,se){for(var ne=Y.length,Ne=0;ne--;)Y[ne]===se&&++Ne;return Ne}var Tr=x(zi),xo=x(bi);function Ks(Y){return"\\"+yi[Y]}function qo(Y,se){return Y==null?n:Y[se]}function So(Y){return ri.test(Y)}function yc(Y){return Ba.test(Y)}function wc(Y){for(var se,ne=[];!(se=Y.next()).done;)ne.push(se.value);return ne}function Dl(Y){var se=-1,ne=Array(Y.size);return Y.forEach(function(Ne,ot){ne[++se]=[ot,Ne]}),ne}function Tu(Y,se){return function(ne){return Y(se(ne))}}function pa(Y,se){for(var ne=-1,Ne=Y.length,ot=0,Pt=[];++ne<Ne;){var gn=Y[ne];(gn===se||gn===N)&&(Y[ne]=N,Pt[ot++]=ne)}return Pt}function _o(Y){var se=-1,ne=Array(Y.size);return Y.forEach(function(Ne){ne[++se]=Ne}),ne}function xc(Y){var se=-1,ne=Array(Y.size);return Y.forEach(function(Ne){ne[++se]=[Ne,Ne]}),ne}function Sc(Y,se,ne){for(var Ne=ne-1,ot=Y.length;++Ne<ot;)if(Y[Ne]===se)return Ne;return-1}function Ll(Y,se,ne){for(var Ne=ne+1;Ne--;)if(Y[Ne]===se)return Ne;return Ne}function ko(Y){return So(Y)?Nl(Y):Gs(Y)}function Rr(Y){return So(Y)?jr(Y):Zs(Y)}function Bl(Y){for(var se=Y.length;se--&&Di.test(Y.charAt(se)););return se}var Ru=x(po);function Nl(Y){for(var se=Yo.lastIndex=0;Yo.test(Y);)++se;return se}function jr(Y){return Y.match(Yo)||[]}function _c(Y){return Y.match(Ko)||[]}var Iu=function Y(se){se=se==null?En:Dn.defaults(En.Object(),se,Dn.pick(En,fo));var ne=se.Array,Ne=se.Date,ot=se.Error,Pt=se.Function,gn=se.Math,Wt=se.Object,ha=se.RegExp,jl=se.String,vr=se.TypeError,Ua=ne.prototype,kc=Pt.prototype,Wa=Wt.prototype,Js=se["__core-js_shared__"],Qs=kc.toString,Ht=Wa.hasOwnProperty,Au=0,cn=function(){var t=/[^.]+$/.exec(Js&&Js.keys&&Js.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),ga=Wa.toString,zl=Qs.call(Wt),dn=En._,Eo=ha("^"+Qs.call(Ht).replace(ei,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Co=Ws?se.Buffer:n,wi=se.Symbol,To=se.Uint8Array,Xs=Co?Co.allocUnsafe:n,Ro=Tu(Wt.getPrototypeOf,Wt),Ul=Wt.create,Wl=Wa.propertyIsEnumerable,Va=Ua.splice,qs=wi?wi.isConcatSpreadable:n,Hi=wi?wi.iterator:n,ai=wi?wi.toStringTag:n,$i=function(){try{var t=vu(Wt,"defineProperty");return t({},"",{}),t}catch{}}(),es=se.clearTimeout!==En.clearTimeout&&se.clearTimeout,ts=Ne&&Ne.now!==En.Date.now&&Ne.now,el=se.setTimeout!==En.setTimeout&&se.setTimeout,ns=gn.ceil,Io=gn.floor,rs=Wt.getOwnPropertySymbols,Vl=Co?Co.isBuffer:n,Hl=se.isFinite,Ao=Ua.join,$l=Tu(Wt.keys,Wt),vn=gn.max,bn=gn.min,Gl=Ne.now,Zl=se.parseInt,Gi=gn.random,Ou=Ua.reverse,Zi=vu(se,"DataView"),oi=vu(se,"Map"),is=vu(se,"Promise"),or=vu(se,"Set"),ma=vu(se,"WeakMap"),va=vu(Wt,"create"),ba=ma&&new ma,ya={},as=bu(Zi),Mu=bu(oi),Fu=bu(is),tl=bu(or),os=bu(ma),Oo=wi?wi.prototype:n,ss=Oo?Oo.valueOf:n,Ha=Oo?Oo.toString:n;function I(t){if(Bn(t)&&!Et(t)&&!(t instanceof St)){if(t instanceof sr)return t;if(Ht.call(t,"__wrapped__"))return Gh(t)}return new sr(t)}var wa=function(){function t(){}return function(i){if(!An(i))return{};if(Ul)return Ul(i);t.prototype=i;var u=new t;return t.prototype=n,u}}();function $a(){}function sr(t,i){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!i,this.__index__=0,this.__values__=n}I.templateSettings={escape:Xr,evaluate:ir,interpolate:qr,variable:"",imports:{_:I}},I.prototype=$a.prototype,I.prototype.constructor=I,sr.prototype=wa($a.prototype),sr.prototype.constructor=sr;function St(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=ue,this.__views__=[]}function nl(){var t=new St(this.__wrapped__);return t.__actions__=Zn(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=Zn(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=Zn(this.__views__),t}function Mo(){if(this.__filtered__){var t=new St(this);t.__dir__=-1,t.__filtered__=!0}else t=this.clone(),t.__dir__*=-1;return t}function ls(){var t=this.__wrapped__.value(),i=this.__dir__,u=Et(t),m=i<0,E=u?t.length:0,O=Qy(0,E,this.__views__),j=O.start,$=O.end,J=$-j,ce=m?$:j-1,de=this.__iteratees__,me=de.length,De=0,Xe=bn(J,this.__takeCount__);if(!u||!m&&E==J&&Xe==J)return wr(t,this.__actions__);var lt=[];e:for(;J--&&De<Xe;){ce+=i;for(var Ot=-1,ut=t[ce];++Ot<me;){var Nt=de[Ot],Vt=Nt.iteratee,ta=Nt.type,pi=Vt(ut);if(ta==Ye)ut=pi;else if(!pi){if(ta==Be)continue e;break e}}lt[De++]=ut}return lt}St.prototype=wa($a.prototype),St.prototype.constructor=St;function xi(t){var i=-1,u=t==null?0:t.length;for(this.clear();++i<u;){var m=t[i];this.set(m[0],m[1])}}function Fo(){this.__data__=va?va(null):{},this.size=0}function rl(t){var i=this.has(t)&&delete this.__data__[t];return this.size-=i?1:0,i}function il(t){var i=this.__data__;if(va){var u=i[t];return u===w?n:u}return Ht.call(i,t)?i[t]:n}function al(t){var i=this.__data__;return va?i[t]!==n:Ht.call(i,t)}function Pu(t,i){var u=this.__data__;return this.size+=this.has(t)?0:1,u[t]=va&&i===n?w:i,this}xi.prototype.clear=Fo,xi.prototype.delete=rl,xi.prototype.get=il,xi.prototype.has=al,xi.prototype.set=Pu;function Si(t){var i=-1,u=t==null?0:t.length;for(this.clear();++i<u;){var m=t[i];this.set(m[0],m[1])}}function Du(){this.__data__=[],this.size=0}function Ec(t){var i=this.__data__,u=Ur(i,t);if(u<0)return!1;var m=i.length-1;return u==m?i.pop():Va.call(i,u,1),--this.size,!0}function Cc(t){var i=this.__data__,u=Ur(i,t);return u<0?n:i[u][1]}function Lu(t){return Ur(this.__data__,t)>-1}function Tc(t,i){var u=this.__data__,m=Ur(u,t);return m<0?(++this.size,u.push([t,i])):u[m][1]=i,this}Si.prototype.clear=Du,Si.prototype.delete=Ec,Si.prototype.get=Cc,Si.prototype.has=Lu,Si.prototype.set=Tc;function Yi(t){var i=-1,u=t==null?0:t.length;for(this.clear();++i<u;){var m=t[i];this.set(m[0],m[1])}}function ol(){this.size=0,this.__data__={hash:new xi,map:new(oi||Si),string:new xi}}function sl(t){var i=_d(this,t).delete(t);return this.size-=i?1:0,i}function Rc(t){return _d(this,t).get(t)}function Yl(t){return _d(this,t).has(t)}function ll(t,i){var u=_d(this,t),m=u.size;return u.set(t,i),this.size+=u.size==m?0:1,this}Yi.prototype.clear=ol,Yi.prototype.delete=sl,Yi.prototype.get=Rc,Yi.prototype.has=Yl,Yi.prototype.set=ll;function Ga(t){var i=-1,u=t==null?0:t.length;for(this.__data__=new Yi;++i<u;)this.add(t[i])}function Ic(t){return this.__data__.set(t,w),this}function Ac(t){return this.__data__.has(t)}Ga.prototype.add=Ga.prototype.push=Ic,Ga.prototype.has=Ac;function si(t){var i=this.__data__=new Si(t);this.size=i.size}function Ki(){this.__data__=new Si,this.size=0}function Kl(t){var i=this.__data__,u=i.delete(t);return this.size=i.size,u}function ul(t){return this.__data__.get(t)}function Bt(t){return this.__data__.has(t)}function Za(t,i){var u=this.__data__;if(u instanceof Si){var m=u.__data__;if(!oi||m.length<o-1)return m.push([t,i]),this.size=++u.size,this;u=this.__data__=new Yi(m)}return u.set(t,i),this.size=u.size,this}si.prototype.clear=Ki,si.prototype.delete=Kl,si.prototype.get=ul,si.prototype.has=Bt,si.prototype.set=Za;function xa(t,i){var u=Et(t),m=!u&&yu(t),E=!u&&!m&&kl(t),O=!u&&!m&&!E&&Ju(t),j=u||m||E||O,$=j?Q(t.length,jl):[],J=$.length;for(var ce in t)(i||Ht.call(t,ce))&&!(j&&(ce=="length"||E&&(ce=="offset"||ce=="parent")||O&&(ce=="buffer"||ce=="byteLength"||ce=="byteOffset")||Ts(ce,J)))&&$.push(ce);return $}function $t(t){var i=t.length;return i?t[ml(0,i-1)]:n}function zr(t,i){return kd(Zn(t),Sa(i,0,t.length))}function Ya(t){return kd(Zn(t))}function Po(t,i,u){(u!==n&&!ro(t[i],u)||u===n&&!(i in t))&&$n(t,i,u)}function wn(t,i,u){var m=t[i];(!(Ht.call(t,i)&&ro(m,u))||u===n&&!(i in t))&&$n(t,i,u)}function Ur(t,i){for(var u=t.length;u--;)if(ro(t[u][0],i))return u;return-1}function Ka(t,i,u,m){return _a(t,function(E,O,j){i(m,E,u(E),j)}),m}function li(t,i){return t&&Ei(i,xr(i),t)}function Ja(t,i){return t&&Ei(i,Ti(i),t)}function $n(t,i,u){i=="__proto__"&&$i?$i(t,i,{configurable:!0,enumerable:!0,value:u,writable:!0}):t[i]=u}function Jl(t,i){for(var u=-1,m=i.length,E=ne(m),O=t==null;++u<m;)E[u]=O?n:zf(t,i[u]);return E}function Sa(t,i,u){return t===t&&(u!==n&&(t=t<=u?t:u),i!==n&&(t=t>=i?t:i)),t}function lr(t,i,u,m,E,O){var j,$=i&L,J=i&W,ce=i≥if(u&&(j=E?u(t,m,E,O):u(t)),j!==n)return j;if(!An(t))return t;var de=Et(t);if(de){if(j=qy(t),!$)return Zn(t,j)}else{var me=$r(t),De=me==ke||me==It;if(kl(t))return pu(t,$);if(me==Sn||me==Me||De&&!E){if(j=J||De?{}:Bh(t),!$)return J?Sl(t,Ja(j,t)):Zu(t,li(j,t))}else{if(!xt[me])return E?t:{};j=e0(t,me,$)}}O||(O=new si);var Xe=O.get(t);if(Xe)return Xe;O.set(t,j),fg(t)?t.forEach(function(ut){j.add(lr(ut,i,u,ut,t,O))}):cg(t)&&t.forEach(function(ut,Nt){j.set(Nt,lr(ut,i,u,Nt,t,O))});var lt=ce?J?Cf:Ef:J?Ti:xr,Ot=de?n:lt(t);return Vn(Ot||t,function(ut,Nt){Ot&&(Nt=ut,ut=t[Nt]),wn(j,Nt,lr(ut,i,u,Nt,t,O))}),j}function Ql(t){var i=xr(t);return function(u){return Bu(u,t,i)}}function Bu(t,i,u){var m=u.length;if(t==null)return!m;for(t=Wt(t);m--;){var E=u[m],O=i[E],j=t[E];if(j===n&&!(E in t)||!O(j))return!1}return!0}function Xl(t,i,u){if(typeof t!="function")throw new vr(v);return Dc(function(){t.apply(n,u)},i)}function Ji(t,i,u,m){var E=-1,O=Wi,j=!0,$=t.length,J=[],ce=i.length;if(!$)return J;u&&(i=qt(i,$e(u))),m?(O=Hn,j=!1):i.length>=o&&(O=at,j=!1,i=new Ga(i));e:for(;++E<$;){var de=t[E],me=u==null?de:u(de);if(de=m||de!==0?de:0,j&&me===me){for(var De=ce;De--;)if(i[De]===me)continue e;J.push(de)}else O(i,me,m)||J.push(de)}return J}var _a=f(_i),ql=f(nu,!0);function cl(t,i){var u=!0;return _a(t,function(m,E,O){return u=!!i(m,E,O),u}),u}function dl(t,i,u){for(var m=-1,E=t.length;++m<E;){var O=t[m],j=i(O);if(j!=null&&($===n?j===j&&!ea(j):u(j,$)))var $=j,J=O}return J}function Nu(t,i,u,m){var E=t.length;for(u=Tt(u),u<0&&(u=-u>E?0:E+u),m=m===n||m>E?E:Tt(m),m<0&&(m+=E),m=u>m?0:hg(m);u<m;)t[u++]=i;return t}function eu(t,i){var u=[];return _a(t,function(m,E,O){i(m,E,O)&&u.push(m)}),u}function Gn(t,i,u,m,E){var O=-1,j=t.length;for(u||(u=n0),E||(E=[]);++O<j;){var $=t[O];i>0&&u($)?i>1?Gn($,i-1,u,m,E):Er(E,$):m||(E[E.length]=$)}return E}var tu=b(),ju=b(!0);function _i(t,i){return t&&tu(t,i,xr)}function nu(t,i){return t&&ju(t,i,xr)}function fl(t,i){return ii(i,function(u){return Rs(t[u])})}function Qa(t,i){i=qi(i,t);for(var u=0,m=i.length;t!=null&&u<m;)t=t[Wo(i[u++])];return u&&u==m?t:n}function us(t,i,u){var m=i(t);return Et(t)?m:Er(m,u(t))}function Xn(t){return t==null?t===n?hn:jn:ai&&ai in Wt(t)?Jy(t):u0(t)}function cs(t,i){return t>i}function ds(t,i){return t!=null&&Ht.call(t,i)}function zu(t,i){return t!=null&&i in Wt(t)}function fs(t,i,u){return t>=bn(i,u)&&t<vn(i,u)}function Do(t,i,u){for(var m=u?Hn:Wi,E=t[0].length,O=t.length,j=O,$=ne(O),J=1/0,ce=[];j--;){var de=t[j];j&&i&&(de=qt(de,$e(i))),J=bn(de.length,J),$[j]=!u&&(i||E>=120&&de.length>=120)?new Ga(j&&de):n}de=t[0];var me=-1,De=$[0];e:for(;++me<E&&ce.length<J;){var Xe=de[me],lt=i?i(Xe):Xe;if(Xe=u||Xe!==0?Xe:0,!(De?at(De,lt):m(ce,lt,u))){for(j=O;--j;){var Ot=$[j];if(!(Ot?at(Ot,lt):m(t[j],lt,u)))continue e}De&&De.push(lt),ce.push(Xe)}}return ce}function ru(t,i,u,m){return _i(t,function(E,O,j){i(m,u(E),O,j)}),m}function Wr(t,i,u){i=qi(i,t),t=Uh(t,i);var m=t==null?t:t[Wo(Ea(i))];return m==null?n:Cn(m,t,u)}function ps(t){return Bn(t)&&Xn(t)==Me}function pl(t){return Bn(t)&&Xn(t)==Un}function Xa(t){return Bn(t)&&Xn(t)==Ke}function Lo(t,i,u,m,E){return t===i?!0:t==null||i==null||!Bn(t)&&!Bn(i)?t!==t&&i!==i:iu(t,i,u,m,Lo,E)}function iu(t,i,u,m,E,O){var j=Et(t),$=Et(i),J=j?Oe:$r(t),ce=$?Oe:$r(i);J=J==Me?Sn:J,ce=ce==Me?Sn:ce;var de=J==Sn,me=ce==Sn,De=J==ce;if(De&&kl(t)){if(!kl(i))return!1;j=!0,de=!1}if(De&&!de)return O||(O=new si),j||Ju(t)?Es(t,i,u,m,E,O):_f(t,i,J,u,m,E,O);if(!(u&ae)){var Xe=de&&Ht.call(t,"__wrapped__"),lt=me&&Ht.call(i,"__wrapped__");if(Xe||lt){var Ot=Xe?t.value():t,ut=lt?i.value():i;return O||(O=new si),E(Ot,ut,u,m,O)}}return De?(O||(O=new si),kf(t,i,u,m,E,O)):!1}function qa(t){return Bn(t)&&$r(t)==mt}function au(t,i,u,m){var E=u.length,O=E,j=!m;if(t==null)return!O;for(t=Wt(t);E--;){var $=u[E];if(j&&$[2]?$[1]!==t[$[0]]:!($[0]in t))return!1}for(;++E<O;){$=u[E];var J=$[0],ce=t[J],de=$[1];if(j&&$[2]){if(ce===n&&!(J in t))return!1}else{var me=new si;if(m)var De=m(ce,de,J,t,i,me);if(!(De===n?Lo(de,ce,ae|we,m,me):De))return!1}}return!0}function ou(t){if(!An(t)||i0(t))return!1;var i=Rs(t)?Eo:ln;return i.test(bu(t))}function ki(t){return Bn(t)&&Xn(t)==nr}function Oc(t){return Bn(t)&&$r(t)==On}function Mc(t){return Bn(t)&&Ad(t.length)&&!!Lt[Xn(t)]}function Bo(t){return typeof t=="function"?t:t==null?Ri:typeof t=="object"?Et(t)?ci(t[0],t[1]):Qi(t):Eg(t)}function hs(t){if(!Pc(t))return $l(t);var i=[];for(var u in Wt(t))Ht.call(t,u)&&u!="constructor"&&i.push(u);return i}function hl(t){if(!An(t))return l0(t);var i=Pc(t),u=[];for(var m in t)m=="constructor"&&(i||!Ht.call(t,m))||u.push(m);return u}function ui(t,i){return t<i}function No(t,i){var u=-1,m=Ci(t)?ne(t.length):[];return _a(t,function(E,O,j){m[++u]=i(E,O,j)}),m}function Qi(t){var i=Rf(t);return i.length==1&&i[0][2]?jh(i[0][0],i[0][1]):function(u){return u===t||au(u,t,i)}}function ci(t,i){return Af(t)&&Nh(i)?jh(Wo(t),i):function(u){var m=zf(u,t);return m===n&&m===i?Uf(u,t):Lo(i,m,ae|we)}}function jo(t,i,u,m,E){t!==i&&tu(i,function(O,j){if(E||(E=new si),An(O))Vr(t,i,j,u,jo,m,E);else{var $=m?m(Mf(t,j),O,j+"",t,i,E):n;$===n&&($=O),Po(t,j,$)}},Ti)}function Vr(t,i,u,m,E,O,j){var $=Mf(t,u),J=Mf(i,u),ce=j.get(J);if(ce){Po(t,u,ce);return}var de=O?O($,J,u+"",t,i,j):n,me=de===n;if(me){var De=Et(J),Xe=!De&&kl(J),lt=!De&&!Xe&&Ju(J);de=J,De||Xe||lt?Et($)?de=$:Yn($)?de=Zn($):Xe?(me=!1,de=pu(J,!0)):lt?(me=!1,de=hu(J,!0)):de=[]:Lc(J)||yu(J)?(de=$,yu($)?de=gg($):(!An($)||Rs($))&&(de=Bh(J))):me=!1}me&&(j.set(J,de),E(de,J,m,O,j),j.delete(J)),Po(t,u,de)}function eo(t,i){var u=t.length;if(u)return i+=i<0?u:0,Ts(i,u)?t[i]:n}function gl(t,i,u){i.length?i=qt(i,function(O){return Et(O)?function(j){return Qa(j,O.length===1?O[0]:O)}:O}):i=[Ri];var m=-1;i=qt(i,$e(st()));var E=No(t,function(O,j,$){var J=qt(i,function(ce){return ce(O)});return{criteria:J,index:++m,value:O}});return P(E,function(O,j){return ks(O,j,u)})}function Hr(t,i){return Xi(t,i,function(u,m){return Uf(t,m)})}function Xi(t,i,u){for(var m=-1,E=i.length,O={};++m<E;){var j=i[m],$=Qa(t,j);u($,j)&&no(O,qi(j,t),$)}return O}function su(t){return function(i){return Qa(i,t)}}function to(t,i,u,m){var E=m?Ys:Vi,O=-1,j=i.length,$=t;for(t===i&&(i=Zn(i)),u&&($=qt(t,$e(u)));++O<j;)for(var J=0,ce=i[O],de=u?u(ce):ce;(J=E($,de,J,m))>-1;)$!==t&&Va.call($,J,1),Va.call(t,J,1);return t}function gs(t,i){for(var u=t?i.length:0,m=u-1;u--;){var E=i[u];if(u==m||E!==O){var O=E;Ts(E)?Va.call(t,E,1):du(t,E)}}return t}function ml(t,i){return t+Io(Gi()*(i-t+1))}function Uu(t,i,u,m){for(var E=-1,O=vn(ns((i-t)/(u||1)),0),j=ne(O);O--;)j[m?O:++E]=t,t+=u;return j}function lu(t,i){var u="";if(!t||i<1||i>ze)return u;do i%2&&(u+=t),i=Io(i/2),i&&(t+=t);while(i);return u}function bt(t,i){return Ff(zh(t,i,Ri),t+"")}function ms(t){return $t(Qu(t))}function Wu(t,i){var u=Qu(t);return kd(u,Sa(i,0,u.length))}function no(t,i,u,m){if(!An(t))return t;i=qi(i,t);for(var E=-1,O=i.length,j=O-1,$=t;$!=null&&++E<O;){var J=Wo(i[E]),ce=u;if(J==="__proto__"||J==="constructor"||J==="prototype")return t;if(E!=j){var de=$[J];ce=m?m(de,J,$):n,ce===n&&(ce=An(de)?de:Ts(i[E+1])?[]:{})}wn($,J,ce),$=$[J]}return t}var zo=ba?function(t,i){return ba.set(t,i),t}:Ri,uu=$i?function(t,i){return $i(t,"toString",{configurable:!0,enumerable:!1,value:Vf(i),writable:!0})}:Ri;function cu(t){return kd(Qu(t))}function br(t,i,u){var m=-1,E=t.length;i<0&&(i=-i>E?0:E+i),u=u>E?E:u,u<0&&(u+=E),E=i>u?0:u-i>>>0,i>>>=0;for(var O=ne(E);++m<E;)O[m]=t[m+i];return O}function Vu(t,i){var u;return _a(t,function(m,E,O){return u=i(m,E,O),!u}),!!u}function vs(t,i,u){var m=0,E=t==null?m:t.length;if(typeof i=="number"&&i===i&&E<=Ze){for(;m<E;){var O=m+E>>>1,j=t[O];j!==null&&!ea(j)&&(u?j<=i:j<i)?m=O+1:E=O}return E}return bs(t,i,Ri,u)}function bs(t,i,u,m){var E=0,O=t==null?0:t.length;if(O===0)return 0;i=u(i);for(var j=i!==i,$=i===null,J=ea(i),ce=i===n;E<O;){var de=Io((E+O)/2),me=u(t[de]),De=me!==n,Xe=me===null,lt=me===me,Ot=ea(me);if(j)var ut=m||lt;else ce?ut=lt&&(m||De):$?ut=lt&&De&&(m||!Xe):J?ut=lt&&De&&!Xe&&(m||!Ot):Xe||Ot?ut=!1:ut=m?me<=i:me<i;ut?E=de+1:O=de}return bn(O,Ae)}function Hu(t,i){for(var u=-1,m=t.length,E=0,O=[];++u<m;){var j=t[u],$=i?i(j):j;if(!u||!ro($,J)){var J=$;O[E++]=j===0?0:j}}return O}function $u(t){return typeof t=="number"?t:ea(t)?oe:+t}function yr(t){if(typeof t=="string")return t;if(Et(t))return qt(t,yr)+"";if(ea(t))return Ha?Ha.call(t):"";var i=t+"";return i=="0"&&1/t==-je?"-0":i}function ka(t,i,u){var m=-1,E=Wi,O=t.length,j=!0,$=[],J=$;if(u)j=!1,E=Hn;else if(O>=o){var ce=i?null:sn(t);if(ce)return _o(ce);j=!1,E=at,J=new Ga}else J=i?[]:$;e:for(;++m<O;){var de=t[m],me=i?i(de):de;if(de=u||de!==0?de:0,j&&me===me){for(var De=J.length;De--;)if(J[De]===me)continue e;i&&J.push(me),$.push(de)}else E(J,me,u)||(J!==$&&J.push(me),$.push(de))}return $}function du(t,i){return i=qi(i,t),t=Uh(t,i),t==null||delete t[Wo(Ea(i))]}function vl(t,i,u,m){return no(t,i,u(Qa(t,i)),m)}function bl(t,i,u,m){for(var E=t.length,O=m?E:-1;(m?O--:++O<E)&&i(t[O],O,t););return u?br(t,m?0:O,m?O+1:E):br(t,m?O+1:0,m?E:O)}function wr(t,i){var u=t;return u instanceof St&&(u=u.value()),Qo(i,function(m,E){return E.func.apply(E.thisArg,Er([m],E.args))},u)}function ys(t,i,u){var m=t.length;if(m<2)return m?ka(t[0]):[];for(var E=-1,O=ne(m);++E<m;)for(var j=t[E],$=-1;++$<m;)$!=E&&(O[E]=Ji(O[E]||j,t[$],i,u));return ka(Gn(O,1),i,u)}function fu(t,i,u){for(var m=-1,E=t.length,O=i.length,j={};++m<E;){var $=m<O?i[m]:n;u(j,t[m],$)}return j}function ur(t){return Yn(t)?t:[]}function ws(t){return typeof t=="function"?t:Ri}function qi(t,i){return Et(t)?t:Af(t,i)?[t]:$h(an(t))}var Fc=bt;function di(t,i,u){var m=t.length;return u=u===n?m:u,!i&&u>=m?t:br(t,i,u)}var xs=es||function(t){return En.clearTimeout(t)};function pu(t,i){if(i)return t.slice();var u=t.length,m=Xs?Xs(u):new t.constructor(u);return t.copy(m),m}function yl(t){var i=new t.constructor(t.byteLength);return new To(i).set(new To(t)),i}function Ss(t,i){var u=i?yl(t.buffer):t.buffer;return new t.constructor(u,t.byteOffset,t.byteLength)}function _s(t){var i=new t.constructor(t.source,kt.exec(t));return i.lastIndex=t.lastIndex,i}function wl(t){return ss?Wt(ss.call(t)):{}}function hu(t,i){var u=i?yl(t.buffer):t.buffer;return new t.constructor(u,t.byteOffset,t.length)}function Uo(t,i){if(t!==i){var u=t!==n,m=t===null,E=t===t,O=ea(t),j=i!==n,$=i===null,J=i===i,ce=ea(i);if(!$&&!ce&&!O&&t>i||O&&j&&J&&!$&&!ce||m&&j&&J||!u&&J||!E)return 1;if(!m&&!O&&!ce&&t<i||ce&&u&&E&&!m&&!O||$&&u&&E||!j&&E||!J)return-1}return 0}function ks(t,i,u){for(var m=-1,E=t.criteria,O=i.criteria,j=E.length,$=u.length;++m<j;){var J=Uo(E[m],O[m]);if(J){if(m>=$)return J;var ce=u[m];return J*(ce=="desc"?-1:1)}}return t.index-i.index}function Gu(t,i,u,m){for(var E=-1,O=t.length,j=u.length,$=-1,J=i.length,ce=vn(O-j,0),de=ne(J+ce),me=!m;++$<J;)de[$]=i[$];for(;++E<j;)(me||E<O)&&(de[u[E]]=t[E]);for(;ce--;)de[$++]=t[E++];return de}function xl(t,i,u,m){for(var E=-1,O=t.length,j=-1,$=u.length,J=-1,ce=i.length,de=vn(O-$,0),me=ne(de+ce),De=!m;++E<de;)me[E]=t[E];for(var Xe=E;++J<ce;)me[Xe+J]=i[J];for(;++j<$;)(De||E<O)&&(me[Xe+u[j]]=t[E++]);return me}function Zn(t,i){var u=-1,m=t.length;for(i||(i=ne(m));++u<m;)i[u]=t[u];return i}function Ei(t,i,u,m){var E=!u;u||(u={});for(var O=-1,j=i.length;++O<j;){var $=i[O],J=m?m(u[$],t[$],$,u,t):n;J===n&&(J=t[$]),E?$n(u,$,J):wn(u,$,J)}return u}function Zu(t,i){return Ei(t,If(t),i)}function Sl(t,i){return Ei(t,Dh(t),i)}function _l(t,i){return function(u,m){var E=Et(u)?da:Ka,O=i?i():{};return E(u,t,st(m,2),O)}}function l(t){return bt(function(i,u){var m=-1,E=u.length,O=E>1?u[E-1]:n,j=E>2?u[2]:n;for(O=t.length>3&&typeof O=="function"?(E--,O):n,j&&fi(u[0],u[1],j)&&(O=E<3?n:O,E=1),i=Wt(i);++m<E;){var $=u[m];$&&t(i,$,m,O)}return i})}function f(t,i){return function(u,m){if(u==null)return u;if(!Ci(u))return t(u,m);for(var E=u.length,O=i?E:-1,j=Wt(u);(i?O--:++O<E)&&m(j[O],O,j)!==!1;);return u}}function b(t){return function(i,u,m){for(var E=-1,O=Wt(i),j=m(i),$=j.length;$--;){var J=j[t?$:++E];if(u(O[J],J,O)===!1)break}return i}}function k(t,i,u){var m=i&Z,E=H(t);function O(){var j=this&&this!==En&&this instanceof O?E:t;return j.apply(m?u:this,arguments)}return O}function M(t){return function(i){i=an(i);var u=So(i)?Rr(i):n,m=u?u[0]:i.charAt(0),E=u?di(u,1).join(""):i.slice(1);return m[t]()+E}}function B(t){return function(i){return Qo(_g(Sg(i).replace(Pl,"")),t,"")}}function H(t){return function(){var i=arguments;switch(i.length){case 0:return new t;case 1:return new t(i[0]);case 2:return new t(i[0],i[1]);case 3:return new t(i[0],i[1],i[2]);case 4:return new t(i[0],i[1],i[2],i[3]);case 5:return new t(i[0],i[1],i[2],i[3],i[4]);case 6:return new t(i[0],i[1],i[2],i[3],i[4],i[5]);case 7:return new t(i[0],i[1],i[2],i[3],i[4],i[5],i[6])}var u=wa(t.prototype),m=t.apply(u,i);return An(m)?m:u}}function te(t,i,u){var m=H(t);function E(){for(var O=arguments.length,j=ne(O),$=O,J=Ku(E);$--;)j[$]=arguments[$];var ce=O<3&&j[0]!==J&&j[O-1]!==J?[]:pa(j,J);if(O-=ce.length,O<u)return Ge(t,i,g,E.placeholder,n,j,ce,n,n,u-O);var de=this&&this!==En&&this instanceof E?m:t;return Cn(de,this,j)}return E}function s(t){return function(i,u,m){var E=Wt(i);if(!Ci(i)){var O=st(u,3);i=xr(i),u=function($){return O(E[$],$,E)}}var j=t(i,u,m);return j>-1?E[O?i[j]:j]:n}}function c(t){return Cs(function(i){var u=i.length,m=u,E=sr.prototype.thru;for(t&&i.reverse();m--;){var O=i[m];if(typeof O!="function")throw new vr(v);if(E&&!j&&Sd(O)=="wrapper")var j=new sr([],!0)}for(m=j?m:u;++m<u;){O=i[m];var $=Sd(O),J=$=="wrapper"?Tf(O):n;J&&Of(J[0])&&J[1]==(Te|Se|re|Dt)&&!J[4].length&&J[9]==1?j=j[Sd(J[0])].apply(j,J[3]):j=O.length==1&&Of(O)?j[$]():j.thru(O)}return function(){var ce=arguments,de=ce[0];if(j&&ce.length==1&&Et(de))return j.plant(de).value();for(var me=0,De=u?i[me].apply(this,ce):de;++me<u;)De=i[me].call(this,De);return De}})}function g(t,i,u,m,E,O,j,$,J,ce){var de=i&Te,me=i&Z,De=i&G,Xe=i&(Se|_e),lt=i&dt,Ot=De?n:H(t);function ut(){for(var Nt=arguments.length,Vt=ne(Nt),ta=Nt;ta--;)Vt[ta]=arguments[ta];if(Xe)var pi=Ku(ut),na=Cr(Vt,pi);if(m&&(Vt=Gu(Vt,m,E,Xe)),O&&(Vt=xl(Vt,O,j,Xe)),Nt-=na,Xe&&Nt<ce){var Kn=pa(Vt,pi);return Ge(t,i,g,ut.placeholder,u,Vt,Kn,$,J,ce-Nt)}var io=me?u:this,As=De?io[t]:t;return Nt=Vt.length,$?Vt=c0(Vt,$):lt&&Nt>1&&Vt.reverse(),de&&J<Nt&&(Vt.length=J),this&&this!==En&&this instanceof ut&&(As=Ot||H(As)),As.apply(io,Vt)}return ut}function y(t,i){return function(u,m){return ru(u,t,i(m),{})}}function T(t,i){return function(u,m){var E;if(u===n&&m===n)return i;if(u!==n&&(E=u),m!==n){if(E===n)return m;typeof u=="string"||typeof m=="string"?(u=yr(u),m=yr(m)):(u=$u(u),m=$u(m)),E=t(u,m)}return E}}function D(t){return Cs(function(i){return i=qt(i,$e(st())),bt(function(u){var m=this;return t(i,function(E){return Cn(E,m,u)})})})}function V(t,i){i=i===n?" ":yr(i);var u=i.length;if(u<2)return u?lu(i,t):i;var m=lu(i,ns(t/ko(i)));return So(i)?di(Rr(m),0,t).join(""):m.slice(0,t)}function ee(t,i,u,m){var E=i&Z,O=H(t);function j(){for(var $=-1,J=arguments.length,ce=-1,de=m.length,me=ne(de+J),De=this&&this!==En&&this instanceof j?O:t;++ce<de;)me[ce]=m[ce];for(;J--;)me[ce++]=arguments[++$];return Cn(De,E?u:this,me)}return j}function fe(t){return function(i,u,m){return m&&typeof m!="number"&&fi(i,u,m)&&(u=m=n),i=Is(i),u===n?(u=i,i=0):u=Is(u),m=m===n?i<u?1:-1:Is(m),Uu(i,u,m,t)}}function Pe(t){return function(i,u){return typeof i=="string"&&typeof u=="string"||(i=Ca(i),u=Ca(u)),t(i,u)}}function Ge(t,i,u,m,E,O,j,$,J,ce){var de=i&Se,me=de?j:n,De=de?n:j,Xe=de?O:n,lt=de?n:O;i|=de?re:Ie,i&=~(de?Ie:re),i&pe||(i&=~(Z|G));var Ot=[t,i,E,Xe,me,lt,De,$,J,ce],ut=u.apply(n,Ot);return Of(t)&&Wh(ut,Ot),ut.placeholder=m,Vh(ut,t,i)}function it(t){var i=gn[t];return function(u,m){if(u=Ca(u),m=m==null?0:bn(Tt(m),292),m&&Hl(u)){var E=(an(u)+"e").split("e"),O=i(E[0]+"e"+(+E[1]+m));return E=(an(O)+"e").split("e"),+(E[0]+"e"+(+E[1]-m))}return i(u)}}var sn=or&&1/_o(new or([,-0]))[1]==je?function(t){return new or(t)}:Gf;function Ln(t){return function(i){var u=$r(i);return u==mt?Dl(i):u==On?xc(i):le(i,t(i))}}function Tn(t,i,u,m,E,O,j,$){var J=i&G;if(!J&&typeof t!="function")throw new vr(v);var ce=m?m.length:0;if(ce||(i&=~(re|Ie),m=E=n),j=j===n?j:vn(Tt(j),0),$=$===n?$:Tt($),ce-=E?E.length:0,i&Ie){var de=m,me=E;m=E=n}var De=J?n:Tf(t),Xe=[t,i,u,m,E,de,me,O,j,$];if(De&&s0(Xe,De),t=Xe[0],i=Xe[1],u=Xe[2],m=Xe[3],E=Xe[4],$=Xe[9]=Xe[9]===n?J?0:t.length:vn(Xe[9]-ce,0),!$&&i&(Se|_e)&&(i&=~(Se|_e)),!i||i==Z)var lt=k(t,i,u);else i==Se||i==_e?lt=te(t,i,$):(i==re||i==(Z|re))&&!E.length?lt=ee(t,i,u,m):lt=g.apply(n,Xe);var Ot=De?zo:Wh;return Vh(Ot(lt,Xe),t,i)}function gu(t,i,u,m){return t===n||ro(t,Wa[u])&&!Ht.call(m,u)?i:t}function mu(t,i,u,m,E,O){return An(t)&&An(i)&&(O.set(i,t),jo(t,i,n,mu,O),O.delete(i)),t}function Yu(t){return Lc(t)?n:t}function Es(t,i,u,m,E,O){var j=u&ae,$=t.length,J=i.length;if($!=J&&!(j&&J>$))return!1;var ce=O.get(t),de=O.get(i);if(ce&&de)return ce==i&&de==t;var me=-1,De=!0,Xe=u&we?new Ga:n;for(O.set(t,i),O.set(i,t);++me<$;){var lt=t[me],Ot=i[me];if(m)var ut=j?m(Ot,lt,me,i,t,O):m(lt,Ot,me,t,i,O);if(ut!==n){if(ut)continue;De=!1;break}if(Xe){if(!fa(i,function(Nt,Vt){if(!at(Xe,Vt)&&(lt===Nt||E(lt,Nt,u,m,O)))return Xe.push(Vt)})){De=!1;break}}else if(!(lt===Ot||E(lt,Ot,u,m,O))){De=!1;break}}return O.delete(t),O.delete(i),De}function _f(t,i,u,m,E,O,j){switch(u){case Zt:if(t.byteLength!=i.byteLength||t.byteOffset!=i.byteOffset)return!1;t=t.buffer,i=i.buffer;case Un:return!(t.byteLength!=i.byteLength||!O(new To(t),new To(i)));case et:case Ke:case fn:return ro(+t,+i);case _t:return t.name==i.name&&t.message==i.message;case nr:case yn:return t==i+"";case mt:var $=Dl;case On:var J=m&ae;if($||($=_o),t.size!=i.size&&!J)return!1;var ce=j.get(t);if(ce)return ce==i;m|=we,j.set(t,i);var de=Es($(t),$(i),m,E,O,j);return j.delete(t),de;case pn:if(ss)return ss.call(t)==ss.call(i)}return!1}function kf(t,i,u,m,E,O){var j=u&ae,$=Ef(t),J=$.length,ce=Ef(i),de=ce.length;if(J!=de&&!j)return!1;for(var me=J;me--;){var De=$[me];if(!(j?De in i:Ht.call(i,De)))return!1}var Xe=O.get(t),lt=O.get(i);if(Xe&<)return Xe==i&<==t;var Ot=!0;O.set(t,i),O.set(i,t);for(var ut=j;++me<J;){De=$[me];var Nt=t[De],Vt=i[De];if(m)var ta=j?m(Vt,Nt,De,i,t,O):m(Nt,Vt,De,t,i,O);if(!(ta===n?Nt===Vt||E(Nt,Vt,u,m,O):ta)){Ot=!1;break}ut||(ut=De=="constructor")}if(Ot&&!ut){var pi=t.constructor,na=i.constructor;pi!=na&&"constructor"in t&&"constructor"in i&&!(typeof pi=="function"&&pi instanceof pi&&typeof na=="function"&&na instanceof na)&&(Ot=!1)}return O.delete(t),O.delete(i),Ot}function Cs(t){return Ff(zh(t,n,Kh),t+"")}function Ef(t){return us(t,xr,If)}function Cf(t){return us(t,Ti,Dh)}var Tf=ba?function(t){return ba.get(t)}:Gf;function Sd(t){for(var i=t.name+"",u=ya[i],m=Ht.call(ya,i)?u.length:0;m--;){var E=u[m],O=E.func;if(O==null||O==t)return E.name}return i}function Ku(t){var i=Ht.call(I,"placeholder")?I:t;return i.placeholder}function st(){var t=I.iteratee||Hf;return t=t===Hf?Bo:t,arguments.length?t(arguments[0],arguments[1]):t}function _d(t,i){var u=t.__data__;return r0(i)?u[typeof i=="string"?"string":"hash"]:u.map}function Rf(t){for(var i=xr(t),u=i.length;u--;){var m=i[u],E=t[m];i[u]=[m,E,Nh(E)]}return i}function vu(t,i){var u=qo(t,i);return ou(u)?u:n}function Jy(t){var i=Ht.call(t,ai),u=t[ai];try{t[ai]=n;var m=!0}catch{}var E=ga.call(t);return m&&(i?t[ai]=u:delete t[ai]),E}var If=rs?function(t){return t==null?[]:(t=Wt(t),ii(rs(t),function(i){return Wl.call(t,i)}))}:Zf,Dh=rs?function(t){for(var i=[];t;)Er(i,If(t)),t=Ro(t);return i}:Zf,$r=Xn;(Zi&&$r(new Zi(new ArrayBuffer(1)))!=Zt||oi&&$r(new oi)!=mt||is&&$r(is.resolve())!=zn||or&&$r(new or)!=On||ma&&$r(new ma)!=fr)&&($r=function(t){var i=Xn(t),u=i==Sn?t.constructor:n,m=u?bu(u):"";if(m)switch(m){case as:return Zt;case Mu:return mt;case Fu:return zn;case tl:return On;case os:return fr}return i});function Qy(t,i,u){for(var m=-1,E=u.length;++m<E;){var O=u[m],j=O.size;switch(O.type){case"drop":t+=j;break;case"dropRight":i-=j;break;case"take":i=bn(i,t+j);break;case"takeRight":t=vn(t,i-j);break}}return{start:t,end:i}}function Xy(t){var i=t.match(Pa);return i?i[1].split(z):[]}function Lh(t,i,u){i=qi(i,t);for(var m=-1,E=i.length,O=!1;++m<E;){var j=Wo(i[m]);if(!(O=t!=null&&u(t,j)))break;t=t[j]}return O||++m!=E?O:(E=t==null?0:t.length,!!E&&Ad(E)&&Ts(j,E)&&(Et(t)||yu(t)))}function qy(t){var i=t.length,u=new t.constructor(i);return i&&typeof t[0]=="string"&&Ht.call(t,"index")&&(u.index=t.index,u.input=t.input),u}function Bh(t){return typeof t.constructor=="function"&&!Pc(t)?wa(Ro(t)):{}}function e0(t,i,u){var m=t.constructor;switch(i){case Un:return yl(t);case et:case Ke:return new m(+t);case Zt:return Ss(t,u);case Ar:case Zr:case Or:case Yr:case Mr:case Mi:case Kr:case pr:case Jr:return hu(t,u);case mt:return new m;case fn:case yn:return new m(t);case nr:return _s(t);case On:return new m;case pn:return wl(t)}}function t0(t,i){var u=i.length;if(!u)return t;var m=u-1;return i[m]=(u>1?"& ":"")+i[m],i=i.join(u>2?", ":" "),t.replace(Fa,`{
|
|
20
|
+
*/td.exports,function(r,e){(function(){var n,a="4.17.21",o=200,d="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",v="Expected a function",_="Invalid `variable` option passed into `_.template`",w="__lodash_hash_undefined__",C=500,N="__lodash_placeholder__",L=1,W=2,ge=4,ae=1,we=2,Z=1,G=2,pe=4,Se=8,_e=16,re=32,Ie=64,Te=128,Dt=256,dt=512,Mt=30,ve="...",ye=800,Re=16,Be=1,Ye=2,He=3,je=1/0,ze=9007199254740991,pt=17976931348623157e292,oe=0/0,ue=4294967295,Ae=ue-1,Ze=ue>>>1,Fe=[["ary",Te],["bind",Z],["bindKey",G],["curry",Se],["curryRight",_e],["flip",dt],["partial",re],["partialRight",Ie],["rearg",Dt]],Me="[object Arguments]",Oe="[object Array]",qe="[object AsyncFunction]",et="[object Boolean]",Ke="[object Date]",nt="[object DOMException]",_t="[object Error]",ke="[object Function]",It="[object GeneratorFunction]",mt="[object Map]",fn="[object Number]",jn="[object Null]",Sn="[object Object]",zn="[object Promise]",dr="[object Proxy]",nr="[object RegExp]",On="[object Set]",yn="[object String]",pn="[object Symbol]",hn="[object Undefined]",fr="[object WeakMap]",gi="[object WeakSet]",Un="[object ArrayBuffer]",Zt="[object DataView]",Ar="[object Float32Array]",Zr="[object Float64Array]",Or="[object Int8Array]",Yr="[object Int16Array]",Mr="[object Int32Array]",Mi="[object Uint8Array]",Kr="[object Uint8ClampedArray]",pr="[object Uint16Array]",Jr="[object Uint32Array]",ia=/\b__p \+= '';/g,_n=/\b(__p \+=) '' \+/g,rr=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Mn=/&(?:amp|lt|gt|quot|#39);/g,At=/[&<>"']/g,hr=RegExp(Mn.source),Qr=RegExp(At.source),Xr=/<%-([\s\S]+?)%>/g,ir=/<%([\s\S]+?)%>/g,qr=/<%=([\s\S]+?)%>/g,gr=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,nn=/^\w*$/,Fi=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ei=/[\\^$.*+?()[\]{}|]/g,Pi=RegExp(ei.source),rn=/^\s+/,Di=/\s/,Fa=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Pa=/\{\n\/\* \[wrapped with (.+)\] \*/,z=/,? & /,he=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Ce=/[()=,{}\[\]\/\s]/,tt=/\\(\\)?/g,vt=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,kt=/\w*$/,wt=/^[-+]0x[0-9a-f]+$/i,ft=/^0b[01]+$/i,ln=/^\[object .+?Constructor\]$/,zt=/^0o[0-7]+$/i,Ut=/^(?:0|[1-9]\d*)$/,on=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,In=/($^)/,Fr=/['\n\r\u2028\u2029\\]/g,Xt="\\ud800-\\udfff",un="\\u0300-\\u036f",Pr="\\ufe20-\\ufe2f",Sr="\\u20d0-\\u20ff",kn=un+Pr+Sr,Li="\\u2700-\\u27bf",_r="a-z\\xdf-\\xf6\\xf8-\\xff",Dr="\\xac\\xb1\\xd7\\xf7",Jn="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",ti="\\u2000-\\u206f",mi=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",aa="A-Z\\xc0-\\xd6\\xd8-\\xde",oa="\\ufe0e\\ufe0f",Bi=Dr+Jn+ti+mi,Lr="['’]",Da="["+Xt+"]",Ni="["+Bi+"]",ni="["+kn+"]",p="\\d+",S="["+Li+"]",A="["+_r+"]",F="[^"+Xt+Bi+p+Li+_r+aa+"]",X="\\ud83c[\\udffb-\\udfff]",K="(?:"+ni+"|"+X+")",ie="[^"+Xt+"]",be="(?:\\ud83c[\\udde6-\\uddff]){2}",We="[\\ud800-\\udbff][\\udc00-\\udfff]",Qe="["+aa+"]",Je="\\u200d",Ft="(?:"+A+"|"+F+")",ar="(?:"+Qe+"|"+F+")",Fn="(?:"+Lr+"(?:d|ll|m|re|s|t|ve))?",Pn="(?:"+Lr+"(?:D|LL|M|RE|S|T|VE))?",Br=K+"?",mr="["+oa+"]?",sa="(?:"+Je+"(?:"+[ie,be,We].join("|")+")"+mr+Br+")*",vi="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",ji="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Nr=mr+Br+sa,La="(?:"+[S,be,We].join("|")+")"+Nr,Fl="(?:"+[ie+ni+"?",ni,be,We,Da].join("|")+")",Pl=RegExp(Lr,"g"),Zo=RegExp(ni,"g"),Yo=RegExp(X+"(?="+X+")|"+Fl+Nr,"g"),Ko=RegExp([Qe+"?"+A+"+"+Fn+"(?="+[Ni,Qe,"$"].join("|")+")",ar+"+"+Pn+"(?="+[Ni,Qe+Ft,"$"].join("|")+")",Qe+"?"+Ft+"+"+Fn,Qe+"+"+Pn,ji,vi,p,La].join("|"),"g"),ri=RegExp("["+Je+Xt+kn+oa+"]"),Ba=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,fo=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Kt=-1,Lt={};Lt[Ar]=Lt[Zr]=Lt[Or]=Lt[Yr]=Lt[Mr]=Lt[Mi]=Lt[Kr]=Lt[pr]=Lt[Jr]=!0,Lt[Me]=Lt[Oe]=Lt[Un]=Lt[et]=Lt[Zt]=Lt[Ke]=Lt[_t]=Lt[ke]=Lt[mt]=Lt[fn]=Lt[Sn]=Lt[nr]=Lt[On]=Lt[yn]=Lt[fr]=!1;var xt={};xt[Me]=xt[Oe]=xt[Un]=xt[Zt]=xt[et]=xt[Ke]=xt[Ar]=xt[Zr]=xt[Or]=xt[Yr]=xt[Mr]=xt[mt]=xt[fn]=xt[Sn]=xt[nr]=xt[On]=xt[yn]=xt[pn]=xt[Mi]=xt[Kr]=xt[pr]=xt[Jr]=!0,xt[_t]=xt[ke]=xt[fr]=!1;var zi={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},bi={"&":"&","<":"<",">":">",'"':""","'":"'"},po={"&":"&","<":"<",">":">",""":'"',"'":"'"},yi={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},kr=parseFloat,Jo=parseInt,ho=typeof qn=="object"&&qn&&qn.Object===Object&&qn,Us=typeof self=="object"&&self&&self.Object===Object&&self,En=ho||Us||Function("return this")(),go=e&&!e.nodeType&&e,Ui=go&&!0&&r&&!r.nodeType&&r,Ws=Ui&&Ui.exports===go,la=Ws&&ho.process,Wn=function(){try{var Y=Ui&&Ui.require&&Ui.require("util").types;return Y||la&&la.binding&&la.binding("util")}catch{}}(),Na=Wn&&Wn.isArrayBuffer,ua=Wn&&Wn.isDate,Vs=Wn&&Wn.isMap,ca=Wn&&Wn.isRegExp,mo=Wn&&Wn.isSet,vo=Wn&&Wn.isTypedArray;function Cn(Y,se,ne){switch(ne.length){case 0:return Y.call(se);case 1:return Y.call(se,ne[0]);case 2:return Y.call(se,ne[0],ne[1]);case 3:return Y.call(se,ne[0],ne[1],ne[2])}return Y.apply(se,ne)}function da(Y,se,ne,Ne){for(var ot=-1,Pt=Y==null?0:Y.length;++ot<Pt;){var gn=Y[ot];se(Ne,gn,ne(gn),Y)}return Ne}function Vn(Y,se){for(var ne=-1,Ne=Y==null?0:Y.length;++ne<Ne&&se(Y[ne],ne,Y)!==!1;);return Y}function Hs(Y,se){for(var ne=Y==null?0:Y.length;ne--&&se(Y[ne],ne,Y)!==!1;);return Y}function bo(Y,se){for(var ne=-1,Ne=Y==null?0:Y.length;++ne<Ne;)if(!se(Y[ne],ne,Y))return!1;return!0}function ii(Y,se){for(var ne=-1,Ne=Y==null?0:Y.length,ot=0,Pt=[];++ne<Ne;){var gn=Y[ne];se(gn,ne,Y)&&(Pt[ot++]=gn)}return Pt}function Wi(Y,se){var ne=Y==null?0:Y.length;return!!ne&&Vi(Y,se,0)>-1}function Hn(Y,se,ne){for(var Ne=-1,ot=Y==null?0:Y.length;++Ne<ot;)if(ne(se,Y[Ne]))return!0;return!1}function qt(Y,se){for(var ne=-1,Ne=Y==null?0:Y.length,ot=Array(Ne);++ne<Ne;)ot[ne]=se(Y[ne],ne,Y);return ot}function Er(Y,se){for(var ne=-1,Ne=se.length,ot=Y.length;++ne<Ne;)Y[ot+ne]=se[ne];return Y}function Qo(Y,se,ne,Ne){var ot=-1,Pt=Y==null?0:Y.length;for(Ne&&Pt&&(ne=Y[++ot]);++ot<Pt;)ne=se(ne,Y[ot],ot,Y);return ne}function $s(Y,se,ne,Ne){var ot=Y==null?0:Y.length;for(Ne&&ot&&(ne=Y[--ot]);ot--;)ne=se(ne,Y[ot],ot,Y);return ne}function fa(Y,se){for(var ne=-1,Ne=Y==null?0:Y.length;++ne<Ne;)if(se(Y[ne],ne,Y))return!0;return!1}var Gs=h("length");function Zs(Y){return Y.split("")}function yo(Y){return Y.match(he)||[]}function ja(Y,se,ne){var Ne;return ne(Y,function(ot,Pt,gn){if(se(ot,Pt,gn))return Ne=Pt,!1}),Ne}function za(Y,se,ne,Ne){for(var ot=Y.length,Pt=ne+(Ne?1:-1);Ne?Pt--:++Pt<ot;)if(se(Y[Pt],Pt,Y))return Pt;return-1}function Vi(Y,se,ne){return se===se?Sc(Y,se,ne):za(Y,wo,ne)}function Ys(Y,se,ne,Ne){for(var ot=ne-1,Pt=Y.length;++ot<Pt;)if(Ne(Y[ot],se))return ot;return-1}function wo(Y){return Y!==Y}function Xo(Y,se){var ne=Y==null?0:Y.length;return ne?q(Y,se)/ne:oe}function h(Y){return function(se){return se==null?n:se[Y]}}function x(Y){return function(se){return Y==null?n:Y[se]}}function R(Y,se,ne,Ne,ot){return ot(Y,function(Pt,gn,Wt){ne=Ne?(Ne=!1,Pt):se(ne,Pt,gn,Wt)}),ne}function P(Y,se){var ne=Y.length;for(Y.sort(se);ne--;)Y[ne]=Y[ne].value;return Y}function q(Y,se){for(var ne,Ne=-1,ot=Y.length;++Ne<ot;){var Pt=se(Y[Ne]);Pt!==n&&(ne=ne===n?Pt:ne+Pt)}return ne}function Q(Y,se){for(var ne=-1,Ne=Array(Y);++ne<Y;)Ne[ne]=se(ne);return Ne}function le(Y,se){return qt(se,function(ne){return[ne,Y[ne]]})}function xe(Y){return Y&&Y.slice(0,Bl(Y)+1).replace(rn,"")}function $e(Y){return function(se){return Y(se)}}function ht(Y,se){return qt(se,function(ne){return Y[ne]})}function at(Y,se){return Y.has(se)}function Jt(Y,se){for(var ne=-1,Ne=Y.length;++ne<Ne&&Vi(se,Y[ne],0)>-1;);return ne}function Qn(Y,se){for(var ne=Y.length;ne--&&Vi(se,Y[ne],0)>-1;);return ne}function Cr(Y,se){for(var ne=Y.length,Ne=0;ne--;)Y[ne]===se&&++Ne;return Ne}var Tr=x(zi),xo=x(bi);function Ks(Y){return"\\"+yi[Y]}function qo(Y,se){return Y==null?n:Y[se]}function So(Y){return ri.test(Y)}function yc(Y){return Ba.test(Y)}function wc(Y){for(var se,ne=[];!(se=Y.next()).done;)ne.push(se.value);return ne}function Dl(Y){var se=-1,ne=Array(Y.size);return Y.forEach(function(Ne,ot){ne[++se]=[ot,Ne]}),ne}function Tu(Y,se){return function(ne){return Y(se(ne))}}function pa(Y,se){for(var ne=-1,Ne=Y.length,ot=0,Pt=[];++ne<Ne;){var gn=Y[ne];(gn===se||gn===N)&&(Y[ne]=N,Pt[ot++]=ne)}return Pt}function _o(Y){var se=-1,ne=Array(Y.size);return Y.forEach(function(Ne){ne[++se]=Ne}),ne}function xc(Y){var se=-1,ne=Array(Y.size);return Y.forEach(function(Ne){ne[++se]=[Ne,Ne]}),ne}function Sc(Y,se,ne){for(var Ne=ne-1,ot=Y.length;++Ne<ot;)if(Y[Ne]===se)return Ne;return-1}function Ll(Y,se,ne){for(var Ne=ne+1;Ne--;)if(Y[Ne]===se)return Ne;return Ne}function ko(Y){return So(Y)?Nl(Y):Gs(Y)}function Rr(Y){return So(Y)?jr(Y):Zs(Y)}function Bl(Y){for(var se=Y.length;se--&&Di.test(Y.charAt(se)););return se}var Ru=x(po);function Nl(Y){for(var se=Yo.lastIndex=0;Yo.test(Y);)++se;return se}function jr(Y){return Y.match(Yo)||[]}function _c(Y){return Y.match(Ko)||[]}var Iu=function Y(se){se=se==null?En:Dn.defaults(En.Object(),se,Dn.pick(En,fo));var ne=se.Array,Ne=se.Date,ot=se.Error,Pt=se.Function,gn=se.Math,Wt=se.Object,ha=se.RegExp,jl=se.String,vr=se.TypeError,Ua=ne.prototype,kc=Pt.prototype,Wa=Wt.prototype,Js=se["__core-js_shared__"],Qs=kc.toString,Ht=Wa.hasOwnProperty,Au=0,cn=function(){var t=/[^.]+$/.exec(Js&&Js.keys&&Js.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),ga=Wa.toString,zl=Qs.call(Wt),dn=En._,Eo=ha("^"+Qs.call(Ht).replace(ei,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Co=Ws?se.Buffer:n,wi=se.Symbol,To=se.Uint8Array,Xs=Co?Co.allocUnsafe:n,Ro=Tu(Wt.getPrototypeOf,Wt),Ul=Wt.create,Wl=Wa.propertyIsEnumerable,Va=Ua.splice,qs=wi?wi.isConcatSpreadable:n,Hi=wi?wi.iterator:n,ai=wi?wi.toStringTag:n,$i=function(){try{var t=vu(Wt,"defineProperty");return t({},"",{}),t}catch{}}(),es=se.clearTimeout!==En.clearTimeout&&se.clearTimeout,ts=Ne&&Ne.now!==En.Date.now&&Ne.now,el=se.setTimeout!==En.setTimeout&&se.setTimeout,ns=gn.ceil,Io=gn.floor,rs=Wt.getOwnPropertySymbols,Vl=Co?Co.isBuffer:n,Hl=se.isFinite,Ao=Ua.join,$l=Tu(Wt.keys,Wt),vn=gn.max,bn=gn.min,Gl=Ne.now,Zl=se.parseInt,Gi=gn.random,Ou=Ua.reverse,Zi=vu(se,"DataView"),oi=vu(se,"Map"),is=vu(se,"Promise"),or=vu(se,"Set"),ma=vu(se,"WeakMap"),va=vu(Wt,"create"),ba=ma&&new ma,ya={},as=bu(Zi),Mu=bu(oi),Fu=bu(is),tl=bu(or),os=bu(ma),Oo=wi?wi.prototype:n,ss=Oo?Oo.valueOf:n,Ha=Oo?Oo.toString:n;function I(t){if(Bn(t)&&!Et(t)&&!(t instanceof St)){if(t instanceof sr)return t;if(Ht.call(t,"__wrapped__"))return Zh(t)}return new sr(t)}var wa=function(){function t(){}return function(i){if(!An(i))return{};if(Ul)return Ul(i);t.prototype=i;var u=new t;return t.prototype=n,u}}();function $a(){}function sr(t,i){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!i,this.__index__=0,this.__values__=n}I.templateSettings={escape:Xr,evaluate:ir,interpolate:qr,variable:"",imports:{_:I}},I.prototype=$a.prototype,I.prototype.constructor=I,sr.prototype=wa($a.prototype),sr.prototype.constructor=sr;function St(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=ue,this.__views__=[]}function nl(){var t=new St(this.__wrapped__);return t.__actions__=Zn(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=Zn(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=Zn(this.__views__),t}function Mo(){if(this.__filtered__){var t=new St(this);t.__dir__=-1,t.__filtered__=!0}else t=this.clone(),t.__dir__*=-1;return t}function ls(){var t=this.__wrapped__.value(),i=this.__dir__,u=Et(t),m=i<0,E=u?t.length:0,O=Xy(0,E,this.__views__),j=O.start,$=O.end,J=$-j,ce=m?$:j-1,de=this.__iteratees__,me=de.length,Le=0,Xe=bn(J,this.__takeCount__);if(!u||!m&&E==J&&Xe==J)return wr(t,this.__actions__);var lt=[];e:for(;J--&&Le<Xe;){ce+=i;for(var Ot=-1,ut=t[ce];++Ot<me;){var Nt=de[Ot],Vt=Nt.iteratee,ta=Nt.type,pi=Vt(ut);if(ta==Ye)ut=pi;else if(!pi){if(ta==Be)continue e;break e}}lt[Le++]=ut}return lt}St.prototype=wa($a.prototype),St.prototype.constructor=St;function xi(t){var i=-1,u=t==null?0:t.length;for(this.clear();++i<u;){var m=t[i];this.set(m[0],m[1])}}function Fo(){this.__data__=va?va(null):{},this.size=0}function rl(t){var i=this.has(t)&&delete this.__data__[t];return this.size-=i?1:0,i}function il(t){var i=this.__data__;if(va){var u=i[t];return u===w?n:u}return Ht.call(i,t)?i[t]:n}function al(t){var i=this.__data__;return va?i[t]!==n:Ht.call(i,t)}function Pu(t,i){var u=this.__data__;return this.size+=this.has(t)?0:1,u[t]=va&&i===n?w:i,this}xi.prototype.clear=Fo,xi.prototype.delete=rl,xi.prototype.get=il,xi.prototype.has=al,xi.prototype.set=Pu;function Si(t){var i=-1,u=t==null?0:t.length;for(this.clear();++i<u;){var m=t[i];this.set(m[0],m[1])}}function Du(){this.__data__=[],this.size=0}function Ec(t){var i=this.__data__,u=Ur(i,t);if(u<0)return!1;var m=i.length-1;return u==m?i.pop():Va.call(i,u,1),--this.size,!0}function Cc(t){var i=this.__data__,u=Ur(i,t);return u<0?n:i[u][1]}function Lu(t){return Ur(this.__data__,t)>-1}function Tc(t,i){var u=this.__data__,m=Ur(u,t);return m<0?(++this.size,u.push([t,i])):u[m][1]=i,this}Si.prototype.clear=Du,Si.prototype.delete=Ec,Si.prototype.get=Cc,Si.prototype.has=Lu,Si.prototype.set=Tc;function Yi(t){var i=-1,u=t==null?0:t.length;for(this.clear();++i<u;){var m=t[i];this.set(m[0],m[1])}}function ol(){this.size=0,this.__data__={hash:new xi,map:new(oi||Si),string:new xi}}function sl(t){var i=_d(this,t).delete(t);return this.size-=i?1:0,i}function Rc(t){return _d(this,t).get(t)}function Yl(t){return _d(this,t).has(t)}function ll(t,i){var u=_d(this,t),m=u.size;return u.set(t,i),this.size+=u.size==m?0:1,this}Yi.prototype.clear=ol,Yi.prototype.delete=sl,Yi.prototype.get=Rc,Yi.prototype.has=Yl,Yi.prototype.set=ll;function Ga(t){var i=-1,u=t==null?0:t.length;for(this.__data__=new Yi;++i<u;)this.add(t[i])}function Ic(t){return this.__data__.set(t,w),this}function Ac(t){return this.__data__.has(t)}Ga.prototype.add=Ga.prototype.push=Ic,Ga.prototype.has=Ac;function si(t){var i=this.__data__=new Si(t);this.size=i.size}function Ki(){this.__data__=new Si,this.size=0}function Kl(t){var i=this.__data__,u=i.delete(t);return this.size=i.size,u}function ul(t){return this.__data__.get(t)}function Bt(t){return this.__data__.has(t)}function Za(t,i){var u=this.__data__;if(u instanceof Si){var m=u.__data__;if(!oi||m.length<o-1)return m.push([t,i]),this.size=++u.size,this;u=this.__data__=new Yi(m)}return u.set(t,i),this.size=u.size,this}si.prototype.clear=Ki,si.prototype.delete=Kl,si.prototype.get=ul,si.prototype.has=Bt,si.prototype.set=Za;function xa(t,i){var u=Et(t),m=!u&&yu(t),E=!u&&!m&&kl(t),O=!u&&!m&&!E&&Ju(t),j=u||m||E||O,$=j?Q(t.length,jl):[],J=$.length;for(var ce in t)(i||Ht.call(t,ce))&&!(j&&(ce=="length"||E&&(ce=="offset"||ce=="parent")||O&&(ce=="buffer"||ce=="byteLength"||ce=="byteOffset")||Ts(ce,J)))&&$.push(ce);return $}function $t(t){var i=t.length;return i?t[ml(0,i-1)]:n}function zr(t,i){return kd(Zn(t),Sa(i,0,t.length))}function Ya(t){return kd(Zn(t))}function Po(t,i,u){(u!==n&&!ro(t[i],u)||u===n&&!(i in t))&&$n(t,i,u)}function wn(t,i,u){var m=t[i];(!(Ht.call(t,i)&&ro(m,u))||u===n&&!(i in t))&&$n(t,i,u)}function Ur(t,i){for(var u=t.length;u--;)if(ro(t[u][0],i))return u;return-1}function Ka(t,i,u,m){return _a(t,function(E,O,j){i(m,E,u(E),j)}),m}function li(t,i){return t&&Ei(i,xr(i),t)}function Ja(t,i){return t&&Ei(i,Ti(i),t)}function $n(t,i,u){i=="__proto__"&&$i?$i(t,i,{configurable:!0,enumerable:!0,value:u,writable:!0}):t[i]=u}function Jl(t,i){for(var u=-1,m=i.length,E=ne(m),O=t==null;++u<m;)E[u]=O?n:zf(t,i[u]);return E}function Sa(t,i,u){return t===t&&(u!==n&&(t=t<=u?t:u),i!==n&&(t=t>=i?t:i)),t}function lr(t,i,u,m,E,O){var j,$=i&L,J=i&W,ce=i≥if(u&&(j=E?u(t,m,E,O):u(t)),j!==n)return j;if(!An(t))return t;var de=Et(t);if(de){if(j=e0(t),!$)return Zn(t,j)}else{var me=$r(t),Le=me==ke||me==It;if(kl(t))return pu(t,$);if(me==Sn||me==Me||Le&&!E){if(j=J||Le?{}:Nh(t),!$)return J?Sl(t,Ja(j,t)):Zu(t,li(j,t))}else{if(!xt[me])return E?t:{};j=t0(t,me,$)}}O||(O=new si);var Xe=O.get(t);if(Xe)return Xe;O.set(t,j),pg(t)?t.forEach(function(ut){j.add(lr(ut,i,u,ut,t,O))}):dg(t)&&t.forEach(function(ut,Nt){j.set(Nt,lr(ut,i,u,Nt,t,O))});var lt=ce?J?Cf:Ef:J?Ti:xr,Ot=de?n:lt(t);return Vn(Ot||t,function(ut,Nt){Ot&&(Nt=ut,ut=t[Nt]),wn(j,Nt,lr(ut,i,u,Nt,t,O))}),j}function Ql(t){var i=xr(t);return function(u){return Bu(u,t,i)}}function Bu(t,i,u){var m=u.length;if(t==null)return!m;for(t=Wt(t);m--;){var E=u[m],O=i[E],j=t[E];if(j===n&&!(E in t)||!O(j))return!1}return!0}function Xl(t,i,u){if(typeof t!="function")throw new vr(v);return Dc(function(){t.apply(n,u)},i)}function Ji(t,i,u,m){var E=-1,O=Wi,j=!0,$=t.length,J=[],ce=i.length;if(!$)return J;u&&(i=qt(i,$e(u))),m?(O=Hn,j=!1):i.length>=o&&(O=at,j=!1,i=new Ga(i));e:for(;++E<$;){var de=t[E],me=u==null?de:u(de);if(de=m||de!==0?de:0,j&&me===me){for(var Le=ce;Le--;)if(i[Le]===me)continue e;J.push(de)}else O(i,me,m)||J.push(de)}return J}var _a=f(_i),ql=f(nu,!0);function cl(t,i){var u=!0;return _a(t,function(m,E,O){return u=!!i(m,E,O),u}),u}function dl(t,i,u){for(var m=-1,E=t.length;++m<E;){var O=t[m],j=i(O);if(j!=null&&($===n?j===j&&!ea(j):u(j,$)))var $=j,J=O}return J}function Nu(t,i,u,m){var E=t.length;for(u=Tt(u),u<0&&(u=-u>E?0:E+u),m=m===n||m>E?E:Tt(m),m<0&&(m+=E),m=u>m?0:gg(m);u<m;)t[u++]=i;return t}function eu(t,i){var u=[];return _a(t,function(m,E,O){i(m,E,O)&&u.push(m)}),u}function Gn(t,i,u,m,E){var O=-1,j=t.length;for(u||(u=r0),E||(E=[]);++O<j;){var $=t[O];i>0&&u($)?i>1?Gn($,i-1,u,m,E):Er(E,$):m||(E[E.length]=$)}return E}var tu=b(),ju=b(!0);function _i(t,i){return t&&tu(t,i,xr)}function nu(t,i){return t&&ju(t,i,xr)}function fl(t,i){return ii(i,function(u){return Rs(t[u])})}function Qa(t,i){i=qi(i,t);for(var u=0,m=i.length;t!=null&&u<m;)t=t[Wo(i[u++])];return u&&u==m?t:n}function us(t,i,u){var m=i(t);return Et(t)?m:Er(m,u(t))}function Xn(t){return t==null?t===n?hn:jn:ai&&ai in Wt(t)?Qy(t):c0(t)}function cs(t,i){return t>i}function ds(t,i){return t!=null&&Ht.call(t,i)}function zu(t,i){return t!=null&&i in Wt(t)}function fs(t,i,u){return t>=bn(i,u)&&t<vn(i,u)}function Do(t,i,u){for(var m=u?Hn:Wi,E=t[0].length,O=t.length,j=O,$=ne(O),J=1/0,ce=[];j--;){var de=t[j];j&&i&&(de=qt(de,$e(i))),J=bn(de.length,J),$[j]=!u&&(i||E>=120&&de.length>=120)?new Ga(j&&de):n}de=t[0];var me=-1,Le=$[0];e:for(;++me<E&&ce.length<J;){var Xe=de[me],lt=i?i(Xe):Xe;if(Xe=u||Xe!==0?Xe:0,!(Le?at(Le,lt):m(ce,lt,u))){for(j=O;--j;){var Ot=$[j];if(!(Ot?at(Ot,lt):m(t[j],lt,u)))continue e}Le&&Le.push(lt),ce.push(Xe)}}return ce}function ru(t,i,u,m){return _i(t,function(E,O,j){i(m,u(E),O,j)}),m}function Wr(t,i,u){i=qi(i,t),t=Wh(t,i);var m=t==null?t:t[Wo(Ea(i))];return m==null?n:Cn(m,t,u)}function ps(t){return Bn(t)&&Xn(t)==Me}function pl(t){return Bn(t)&&Xn(t)==Un}function Xa(t){return Bn(t)&&Xn(t)==Ke}function Lo(t,i,u,m,E){return t===i?!0:t==null||i==null||!Bn(t)&&!Bn(i)?t!==t&&i!==i:iu(t,i,u,m,Lo,E)}function iu(t,i,u,m,E,O){var j=Et(t),$=Et(i),J=j?Oe:$r(t),ce=$?Oe:$r(i);J=J==Me?Sn:J,ce=ce==Me?Sn:ce;var de=J==Sn,me=ce==Sn,Le=J==ce;if(Le&&kl(t)){if(!kl(i))return!1;j=!0,de=!1}if(Le&&!de)return O||(O=new si),j||Ju(t)?Es(t,i,u,m,E,O):_f(t,i,J,u,m,E,O);if(!(u&ae)){var Xe=de&&Ht.call(t,"__wrapped__"),lt=me&&Ht.call(i,"__wrapped__");if(Xe||lt){var Ot=Xe?t.value():t,ut=lt?i.value():i;return O||(O=new si),E(Ot,ut,u,m,O)}}return Le?(O||(O=new si),kf(t,i,u,m,E,O)):!1}function qa(t){return Bn(t)&&$r(t)==mt}function au(t,i,u,m){var E=u.length,O=E,j=!m;if(t==null)return!O;for(t=Wt(t);E--;){var $=u[E];if(j&&$[2]?$[1]!==t[$[0]]:!($[0]in t))return!1}for(;++E<O;){$=u[E];var J=$[0],ce=t[J],de=$[1];if(j&&$[2]){if(ce===n&&!(J in t))return!1}else{var me=new si;if(m)var Le=m(ce,de,J,t,i,me);if(!(Le===n?Lo(de,ce,ae|we,m,me):Le))return!1}}return!0}function ou(t){if(!An(t)||a0(t))return!1;var i=Rs(t)?Eo:ln;return i.test(bu(t))}function ki(t){return Bn(t)&&Xn(t)==nr}function Oc(t){return Bn(t)&&$r(t)==On}function Mc(t){return Bn(t)&&Ad(t.length)&&!!Lt[Xn(t)]}function Bo(t){return typeof t=="function"?t:t==null?Ri:typeof t=="object"?Et(t)?ci(t[0],t[1]):Qi(t):Cg(t)}function hs(t){if(!Pc(t))return $l(t);var i=[];for(var u in Wt(t))Ht.call(t,u)&&u!="constructor"&&i.push(u);return i}function hl(t){if(!An(t))return u0(t);var i=Pc(t),u=[];for(var m in t)m=="constructor"&&(i||!Ht.call(t,m))||u.push(m);return u}function ui(t,i){return t<i}function No(t,i){var u=-1,m=Ci(t)?ne(t.length):[];return _a(t,function(E,O,j){m[++u]=i(E,O,j)}),m}function Qi(t){var i=Rf(t);return i.length==1&&i[0][2]?zh(i[0][0],i[0][1]):function(u){return u===t||au(u,t,i)}}function ci(t,i){return Af(t)&&jh(i)?zh(Wo(t),i):function(u){var m=zf(u,t);return m===n&&m===i?Uf(u,t):Lo(i,m,ae|we)}}function jo(t,i,u,m,E){t!==i&&tu(i,function(O,j){if(E||(E=new si),An(O))Vr(t,i,j,u,jo,m,E);else{var $=m?m(Mf(t,j),O,j+"",t,i,E):n;$===n&&($=O),Po(t,j,$)}},Ti)}function Vr(t,i,u,m,E,O,j){var $=Mf(t,u),J=Mf(i,u),ce=j.get(J);if(ce){Po(t,u,ce);return}var de=O?O($,J,u+"",t,i,j):n,me=de===n;if(me){var Le=Et(J),Xe=!Le&&kl(J),lt=!Le&&!Xe&&Ju(J);de=J,Le||Xe||lt?Et($)?de=$:Yn($)?de=Zn($):Xe?(me=!1,de=pu(J,!0)):lt?(me=!1,de=hu(J,!0)):de=[]:Lc(J)||yu(J)?(de=$,yu($)?de=mg($):(!An($)||Rs($))&&(de=Nh(J))):me=!1}me&&(j.set(J,de),E(de,J,m,O,j),j.delete(J)),Po(t,u,de)}function eo(t,i){var u=t.length;if(u)return i+=i<0?u:0,Ts(i,u)?t[i]:n}function gl(t,i,u){i.length?i=qt(i,function(O){return Et(O)?function(j){return Qa(j,O.length===1?O[0]:O)}:O}):i=[Ri];var m=-1;i=qt(i,$e(st()));var E=No(t,function(O,j,$){var J=qt(i,function(ce){return ce(O)});return{criteria:J,index:++m,value:O}});return P(E,function(O,j){return ks(O,j,u)})}function Hr(t,i){return Xi(t,i,function(u,m){return Uf(t,m)})}function Xi(t,i,u){for(var m=-1,E=i.length,O={};++m<E;){var j=i[m],$=Qa(t,j);u($,j)&&no(O,qi(j,t),$)}return O}function su(t){return function(i){return Qa(i,t)}}function to(t,i,u,m){var E=m?Ys:Vi,O=-1,j=i.length,$=t;for(t===i&&(i=Zn(i)),u&&($=qt(t,$e(u)));++O<j;)for(var J=0,ce=i[O],de=u?u(ce):ce;(J=E($,de,J,m))>-1;)$!==t&&Va.call($,J,1),Va.call(t,J,1);return t}function gs(t,i){for(var u=t?i.length:0,m=u-1;u--;){var E=i[u];if(u==m||E!==O){var O=E;Ts(E)?Va.call(t,E,1):du(t,E)}}return t}function ml(t,i){return t+Io(Gi()*(i-t+1))}function Uu(t,i,u,m){for(var E=-1,O=vn(ns((i-t)/(u||1)),0),j=ne(O);O--;)j[m?O:++E]=t,t+=u;return j}function lu(t,i){var u="";if(!t||i<1||i>ze)return u;do i%2&&(u+=t),i=Io(i/2),i&&(t+=t);while(i);return u}function bt(t,i){return Ff(Uh(t,i,Ri),t+"")}function ms(t){return $t(Qu(t))}function Wu(t,i){var u=Qu(t);return kd(u,Sa(i,0,u.length))}function no(t,i,u,m){if(!An(t))return t;i=qi(i,t);for(var E=-1,O=i.length,j=O-1,$=t;$!=null&&++E<O;){var J=Wo(i[E]),ce=u;if(J==="__proto__"||J==="constructor"||J==="prototype")return t;if(E!=j){var de=$[J];ce=m?m(de,J,$):n,ce===n&&(ce=An(de)?de:Ts(i[E+1])?[]:{})}wn($,J,ce),$=$[J]}return t}var zo=ba?function(t,i){return ba.set(t,i),t}:Ri,uu=$i?function(t,i){return $i(t,"toString",{configurable:!0,enumerable:!1,value:Vf(i),writable:!0})}:Ri;function cu(t){return kd(Qu(t))}function br(t,i,u){var m=-1,E=t.length;i<0&&(i=-i>E?0:E+i),u=u>E?E:u,u<0&&(u+=E),E=i>u?0:u-i>>>0,i>>>=0;for(var O=ne(E);++m<E;)O[m]=t[m+i];return O}function Vu(t,i){var u;return _a(t,function(m,E,O){return u=i(m,E,O),!u}),!!u}function vs(t,i,u){var m=0,E=t==null?m:t.length;if(typeof i=="number"&&i===i&&E<=Ze){for(;m<E;){var O=m+E>>>1,j=t[O];j!==null&&!ea(j)&&(u?j<=i:j<i)?m=O+1:E=O}return E}return bs(t,i,Ri,u)}function bs(t,i,u,m){var E=0,O=t==null?0:t.length;if(O===0)return 0;i=u(i);for(var j=i!==i,$=i===null,J=ea(i),ce=i===n;E<O;){var de=Io((E+O)/2),me=u(t[de]),Le=me!==n,Xe=me===null,lt=me===me,Ot=ea(me);if(j)var ut=m||lt;else ce?ut=lt&&(m||Le):$?ut=lt&&Le&&(m||!Xe):J?ut=lt&&Le&&!Xe&&(m||!Ot):Xe||Ot?ut=!1:ut=m?me<=i:me<i;ut?E=de+1:O=de}return bn(O,Ae)}function Hu(t,i){for(var u=-1,m=t.length,E=0,O=[];++u<m;){var j=t[u],$=i?i(j):j;if(!u||!ro($,J)){var J=$;O[E++]=j===0?0:j}}return O}function $u(t){return typeof t=="number"?t:ea(t)?oe:+t}function yr(t){if(typeof t=="string")return t;if(Et(t))return qt(t,yr)+"";if(ea(t))return Ha?Ha.call(t):"";var i=t+"";return i=="0"&&1/t==-je?"-0":i}function ka(t,i,u){var m=-1,E=Wi,O=t.length,j=!0,$=[],J=$;if(u)j=!1,E=Hn;else if(O>=o){var ce=i?null:sn(t);if(ce)return _o(ce);j=!1,E=at,J=new Ga}else J=i?[]:$;e:for(;++m<O;){var de=t[m],me=i?i(de):de;if(de=u||de!==0?de:0,j&&me===me){for(var Le=J.length;Le--;)if(J[Le]===me)continue e;i&&J.push(me),$.push(de)}else E(J,me,u)||(J!==$&&J.push(me),$.push(de))}return $}function du(t,i){return i=qi(i,t),t=Wh(t,i),t==null||delete t[Wo(Ea(i))]}function vl(t,i,u,m){return no(t,i,u(Qa(t,i)),m)}function bl(t,i,u,m){for(var E=t.length,O=m?E:-1;(m?O--:++O<E)&&i(t[O],O,t););return u?br(t,m?0:O,m?O+1:E):br(t,m?O+1:0,m?E:O)}function wr(t,i){var u=t;return u instanceof St&&(u=u.value()),Qo(i,function(m,E){return E.func.apply(E.thisArg,Er([m],E.args))},u)}function ys(t,i,u){var m=t.length;if(m<2)return m?ka(t[0]):[];for(var E=-1,O=ne(m);++E<m;)for(var j=t[E],$=-1;++$<m;)$!=E&&(O[E]=Ji(O[E]||j,t[$],i,u));return ka(Gn(O,1),i,u)}function fu(t,i,u){for(var m=-1,E=t.length,O=i.length,j={};++m<E;){var $=m<O?i[m]:n;u(j,t[m],$)}return j}function ur(t){return Yn(t)?t:[]}function ws(t){return typeof t=="function"?t:Ri}function qi(t,i){return Et(t)?t:Af(t,i)?[t]:Gh(an(t))}var Fc=bt;function di(t,i,u){var m=t.length;return u=u===n?m:u,!i&&u>=m?t:br(t,i,u)}var xs=es||function(t){return En.clearTimeout(t)};function pu(t,i){if(i)return t.slice();var u=t.length,m=Xs?Xs(u):new t.constructor(u);return t.copy(m),m}function yl(t){var i=new t.constructor(t.byteLength);return new To(i).set(new To(t)),i}function Ss(t,i){var u=i?yl(t.buffer):t.buffer;return new t.constructor(u,t.byteOffset,t.byteLength)}function _s(t){var i=new t.constructor(t.source,kt.exec(t));return i.lastIndex=t.lastIndex,i}function wl(t){return ss?Wt(ss.call(t)):{}}function hu(t,i){var u=i?yl(t.buffer):t.buffer;return new t.constructor(u,t.byteOffset,t.length)}function Uo(t,i){if(t!==i){var u=t!==n,m=t===null,E=t===t,O=ea(t),j=i!==n,$=i===null,J=i===i,ce=ea(i);if(!$&&!ce&&!O&&t>i||O&&j&&J&&!$&&!ce||m&&j&&J||!u&&J||!E)return 1;if(!m&&!O&&!ce&&t<i||ce&&u&&E&&!m&&!O||$&&u&&E||!j&&E||!J)return-1}return 0}function ks(t,i,u){for(var m=-1,E=t.criteria,O=i.criteria,j=E.length,$=u.length;++m<j;){var J=Uo(E[m],O[m]);if(J){if(m>=$)return J;var ce=u[m];return J*(ce=="desc"?-1:1)}}return t.index-i.index}function Gu(t,i,u,m){for(var E=-1,O=t.length,j=u.length,$=-1,J=i.length,ce=vn(O-j,0),de=ne(J+ce),me=!m;++$<J;)de[$]=i[$];for(;++E<j;)(me||E<O)&&(de[u[E]]=t[E]);for(;ce--;)de[$++]=t[E++];return de}function xl(t,i,u,m){for(var E=-1,O=t.length,j=-1,$=u.length,J=-1,ce=i.length,de=vn(O-$,0),me=ne(de+ce),Le=!m;++E<de;)me[E]=t[E];for(var Xe=E;++J<ce;)me[Xe+J]=i[J];for(;++j<$;)(Le||E<O)&&(me[Xe+u[j]]=t[E++]);return me}function Zn(t,i){var u=-1,m=t.length;for(i||(i=ne(m));++u<m;)i[u]=t[u];return i}function Ei(t,i,u,m){var E=!u;u||(u={});for(var O=-1,j=i.length;++O<j;){var $=i[O],J=m?m(u[$],t[$],$,u,t):n;J===n&&(J=t[$]),E?$n(u,$,J):wn(u,$,J)}return u}function Zu(t,i){return Ei(t,If(t),i)}function Sl(t,i){return Ei(t,Lh(t),i)}function _l(t,i){return function(u,m){var E=Et(u)?da:Ka,O=i?i():{};return E(u,t,st(m,2),O)}}function l(t){return bt(function(i,u){var m=-1,E=u.length,O=E>1?u[E-1]:n,j=E>2?u[2]:n;for(O=t.length>3&&typeof O=="function"?(E--,O):n,j&&fi(u[0],u[1],j)&&(O=E<3?n:O,E=1),i=Wt(i);++m<E;){var $=u[m];$&&t(i,$,m,O)}return i})}function f(t,i){return function(u,m){if(u==null)return u;if(!Ci(u))return t(u,m);for(var E=u.length,O=i?E:-1,j=Wt(u);(i?O--:++O<E)&&m(j[O],O,j)!==!1;);return u}}function b(t){return function(i,u,m){for(var E=-1,O=Wt(i),j=m(i),$=j.length;$--;){var J=j[t?$:++E];if(u(O[J],J,O)===!1)break}return i}}function k(t,i,u){var m=i&Z,E=H(t);function O(){var j=this&&this!==En&&this instanceof O?E:t;return j.apply(m?u:this,arguments)}return O}function M(t){return function(i){i=an(i);var u=So(i)?Rr(i):n,m=u?u[0]:i.charAt(0),E=u?di(u,1).join(""):i.slice(1);return m[t]()+E}}function B(t){return function(i){return Qo(kg(_g(i).replace(Pl,"")),t,"")}}function H(t){return function(){var i=arguments;switch(i.length){case 0:return new t;case 1:return new t(i[0]);case 2:return new t(i[0],i[1]);case 3:return new t(i[0],i[1],i[2]);case 4:return new t(i[0],i[1],i[2],i[3]);case 5:return new t(i[0],i[1],i[2],i[3],i[4]);case 6:return new t(i[0],i[1],i[2],i[3],i[4],i[5]);case 7:return new t(i[0],i[1],i[2],i[3],i[4],i[5],i[6])}var u=wa(t.prototype),m=t.apply(u,i);return An(m)?m:u}}function te(t,i,u){var m=H(t);function E(){for(var O=arguments.length,j=ne(O),$=O,J=Ku(E);$--;)j[$]=arguments[$];var ce=O<3&&j[0]!==J&&j[O-1]!==J?[]:pa(j,J);if(O-=ce.length,O<u)return Ge(t,i,g,E.placeholder,n,j,ce,n,n,u-O);var de=this&&this!==En&&this instanceof E?m:t;return Cn(de,this,j)}return E}function s(t){return function(i,u,m){var E=Wt(i);if(!Ci(i)){var O=st(u,3);i=xr(i),u=function($){return O(E[$],$,E)}}var j=t(i,u,m);return j>-1?E[O?i[j]:j]:n}}function c(t){return Cs(function(i){var u=i.length,m=u,E=sr.prototype.thru;for(t&&i.reverse();m--;){var O=i[m];if(typeof O!="function")throw new vr(v);if(E&&!j&&Sd(O)=="wrapper")var j=new sr([],!0)}for(m=j?m:u;++m<u;){O=i[m];var $=Sd(O),J=$=="wrapper"?Tf(O):n;J&&Of(J[0])&&J[1]==(Te|Se|re|Dt)&&!J[4].length&&J[9]==1?j=j[Sd(J[0])].apply(j,J[3]):j=O.length==1&&Of(O)?j[$]():j.thru(O)}return function(){var ce=arguments,de=ce[0];if(j&&ce.length==1&&Et(de))return j.plant(de).value();for(var me=0,Le=u?i[me].apply(this,ce):de;++me<u;)Le=i[me].call(this,Le);return Le}})}function g(t,i,u,m,E,O,j,$,J,ce){var de=i&Te,me=i&Z,Le=i&G,Xe=i&(Se|_e),lt=i&dt,Ot=Le?n:H(t);function ut(){for(var Nt=arguments.length,Vt=ne(Nt),ta=Nt;ta--;)Vt[ta]=arguments[ta];if(Xe)var pi=Ku(ut),na=Cr(Vt,pi);if(m&&(Vt=Gu(Vt,m,E,Xe)),O&&(Vt=xl(Vt,O,j,Xe)),Nt-=na,Xe&&Nt<ce){var Kn=pa(Vt,pi);return Ge(t,i,g,ut.placeholder,u,Vt,Kn,$,J,ce-Nt)}var io=me?u:this,As=Le?io[t]:t;return Nt=Vt.length,$?Vt=d0(Vt,$):lt&&Nt>1&&Vt.reverse(),de&&J<Nt&&(Vt.length=J),this&&this!==En&&this instanceof ut&&(As=Ot||H(As)),As.apply(io,Vt)}return ut}function y(t,i){return function(u,m){return ru(u,t,i(m),{})}}function T(t,i){return function(u,m){var E;if(u===n&&m===n)return i;if(u!==n&&(E=u),m!==n){if(E===n)return m;typeof u=="string"||typeof m=="string"?(u=yr(u),m=yr(m)):(u=$u(u),m=$u(m)),E=t(u,m)}return E}}function D(t){return Cs(function(i){return i=qt(i,$e(st())),bt(function(u){var m=this;return t(i,function(E){return Cn(E,m,u)})})})}function V(t,i){i=i===n?" ":yr(i);var u=i.length;if(u<2)return u?lu(i,t):i;var m=lu(i,ns(t/ko(i)));return So(i)?di(Rr(m),0,t).join(""):m.slice(0,t)}function ee(t,i,u,m){var E=i&Z,O=H(t);function j(){for(var $=-1,J=arguments.length,ce=-1,de=m.length,me=ne(de+J),Le=this&&this!==En&&this instanceof j?O:t;++ce<de;)me[ce]=m[ce];for(;J--;)me[ce++]=arguments[++$];return Cn(Le,E?u:this,me)}return j}function fe(t){return function(i,u,m){return m&&typeof m!="number"&&fi(i,u,m)&&(u=m=n),i=Is(i),u===n?(u=i,i=0):u=Is(u),m=m===n?i<u?1:-1:Is(m),Uu(i,u,m,t)}}function Pe(t){return function(i,u){return typeof i=="string"&&typeof u=="string"||(i=Ca(i),u=Ca(u)),t(i,u)}}function Ge(t,i,u,m,E,O,j,$,J,ce){var de=i&Se,me=de?j:n,Le=de?n:j,Xe=de?O:n,lt=de?n:O;i|=de?re:Ie,i&=~(de?Ie:re),i&pe||(i&=~(Z|G));var Ot=[t,i,E,Xe,me,lt,Le,$,J,ce],ut=u.apply(n,Ot);return Of(t)&&Vh(ut,Ot),ut.placeholder=m,Hh(ut,t,i)}function it(t){var i=gn[t];return function(u,m){if(u=Ca(u),m=m==null?0:bn(Tt(m),292),m&&Hl(u)){var E=(an(u)+"e").split("e"),O=i(E[0]+"e"+(+E[1]+m));return E=(an(O)+"e").split("e"),+(E[0]+"e"+(+E[1]-m))}return i(u)}}var sn=or&&1/_o(new or([,-0]))[1]==je?function(t){return new or(t)}:Gf;function Ln(t){return function(i){var u=$r(i);return u==mt?Dl(i):u==On?xc(i):le(i,t(i))}}function Tn(t,i,u,m,E,O,j,$){var J=i&G;if(!J&&typeof t!="function")throw new vr(v);var ce=m?m.length:0;if(ce||(i&=~(re|Ie),m=E=n),j=j===n?j:vn(Tt(j),0),$=$===n?$:Tt($),ce-=E?E.length:0,i&Ie){var de=m,me=E;m=E=n}var Le=J?n:Tf(t),Xe=[t,i,u,m,E,de,me,O,j,$];if(Le&&l0(Xe,Le),t=Xe[0],i=Xe[1],u=Xe[2],m=Xe[3],E=Xe[4],$=Xe[9]=Xe[9]===n?J?0:t.length:vn(Xe[9]-ce,0),!$&&i&(Se|_e)&&(i&=~(Se|_e)),!i||i==Z)var lt=k(t,i,u);else i==Se||i==_e?lt=te(t,i,$):(i==re||i==(Z|re))&&!E.length?lt=ee(t,i,u,m):lt=g.apply(n,Xe);var Ot=Le?zo:Vh;return Hh(Ot(lt,Xe),t,i)}function gu(t,i,u,m){return t===n||ro(t,Wa[u])&&!Ht.call(m,u)?i:t}function mu(t,i,u,m,E,O){return An(t)&&An(i)&&(O.set(i,t),jo(t,i,n,mu,O),O.delete(i)),t}function Yu(t){return Lc(t)?n:t}function Es(t,i,u,m,E,O){var j=u&ae,$=t.length,J=i.length;if($!=J&&!(j&&J>$))return!1;var ce=O.get(t),de=O.get(i);if(ce&&de)return ce==i&&de==t;var me=-1,Le=!0,Xe=u&we?new Ga:n;for(O.set(t,i),O.set(i,t);++me<$;){var lt=t[me],Ot=i[me];if(m)var ut=j?m(Ot,lt,me,i,t,O):m(lt,Ot,me,t,i,O);if(ut!==n){if(ut)continue;Le=!1;break}if(Xe){if(!fa(i,function(Nt,Vt){if(!at(Xe,Vt)&&(lt===Nt||E(lt,Nt,u,m,O)))return Xe.push(Vt)})){Le=!1;break}}else if(!(lt===Ot||E(lt,Ot,u,m,O))){Le=!1;break}}return O.delete(t),O.delete(i),Le}function _f(t,i,u,m,E,O,j){switch(u){case Zt:if(t.byteLength!=i.byteLength||t.byteOffset!=i.byteOffset)return!1;t=t.buffer,i=i.buffer;case Un:return!(t.byteLength!=i.byteLength||!O(new To(t),new To(i)));case et:case Ke:case fn:return ro(+t,+i);case _t:return t.name==i.name&&t.message==i.message;case nr:case yn:return t==i+"";case mt:var $=Dl;case On:var J=m&ae;if($||($=_o),t.size!=i.size&&!J)return!1;var ce=j.get(t);if(ce)return ce==i;m|=we,j.set(t,i);var de=Es($(t),$(i),m,E,O,j);return j.delete(t),de;case pn:if(ss)return ss.call(t)==ss.call(i)}return!1}function kf(t,i,u,m,E,O){var j=u&ae,$=Ef(t),J=$.length,ce=Ef(i),de=ce.length;if(J!=de&&!j)return!1;for(var me=J;me--;){var Le=$[me];if(!(j?Le in i:Ht.call(i,Le)))return!1}var Xe=O.get(t),lt=O.get(i);if(Xe&<)return Xe==i&<==t;var Ot=!0;O.set(t,i),O.set(i,t);for(var ut=j;++me<J;){Le=$[me];var Nt=t[Le],Vt=i[Le];if(m)var ta=j?m(Vt,Nt,Le,i,t,O):m(Nt,Vt,Le,t,i,O);if(!(ta===n?Nt===Vt||E(Nt,Vt,u,m,O):ta)){Ot=!1;break}ut||(ut=Le=="constructor")}if(Ot&&!ut){var pi=t.constructor,na=i.constructor;pi!=na&&"constructor"in t&&"constructor"in i&&!(typeof pi=="function"&&pi instanceof pi&&typeof na=="function"&&na instanceof na)&&(Ot=!1)}return O.delete(t),O.delete(i),Ot}function Cs(t){return Ff(Uh(t,n,Jh),t+"")}function Ef(t){return us(t,xr,If)}function Cf(t){return us(t,Ti,Lh)}var Tf=ba?function(t){return ba.get(t)}:Gf;function Sd(t){for(var i=t.name+"",u=ya[i],m=Ht.call(ya,i)?u.length:0;m--;){var E=u[m],O=E.func;if(O==null||O==t)return E.name}return i}function Ku(t){var i=Ht.call(I,"placeholder")?I:t;return i.placeholder}function st(){var t=I.iteratee||Hf;return t=t===Hf?Bo:t,arguments.length?t(arguments[0],arguments[1]):t}function _d(t,i){var u=t.__data__;return i0(i)?u[typeof i=="string"?"string":"hash"]:u.map}function Rf(t){for(var i=xr(t),u=i.length;u--;){var m=i[u],E=t[m];i[u]=[m,E,jh(E)]}return i}function vu(t,i){var u=qo(t,i);return ou(u)?u:n}function Qy(t){var i=Ht.call(t,ai),u=t[ai];try{t[ai]=n;var m=!0}catch{}var E=ga.call(t);return m&&(i?t[ai]=u:delete t[ai]),E}var If=rs?function(t){return t==null?[]:(t=Wt(t),ii(rs(t),function(i){return Wl.call(t,i)}))}:Zf,Lh=rs?function(t){for(var i=[];t;)Er(i,If(t)),t=Ro(t);return i}:Zf,$r=Xn;(Zi&&$r(new Zi(new ArrayBuffer(1)))!=Zt||oi&&$r(new oi)!=mt||is&&$r(is.resolve())!=zn||or&&$r(new or)!=On||ma&&$r(new ma)!=fr)&&($r=function(t){var i=Xn(t),u=i==Sn?t.constructor:n,m=u?bu(u):"";if(m)switch(m){case as:return Zt;case Mu:return mt;case Fu:return zn;case tl:return On;case os:return fr}return i});function Xy(t,i,u){for(var m=-1,E=u.length;++m<E;){var O=u[m],j=O.size;switch(O.type){case"drop":t+=j;break;case"dropRight":i-=j;break;case"take":i=bn(i,t+j);break;case"takeRight":t=vn(t,i-j);break}}return{start:t,end:i}}function qy(t){var i=t.match(Pa);return i?i[1].split(z):[]}function Bh(t,i,u){i=qi(i,t);for(var m=-1,E=i.length,O=!1;++m<E;){var j=Wo(i[m]);if(!(O=t!=null&&u(t,j)))break;t=t[j]}return O||++m!=E?O:(E=t==null?0:t.length,!!E&&Ad(E)&&Ts(j,E)&&(Et(t)||yu(t)))}function e0(t){var i=t.length,u=new t.constructor(i);return i&&typeof t[0]=="string"&&Ht.call(t,"index")&&(u.index=t.index,u.input=t.input),u}function Nh(t){return typeof t.constructor=="function"&&!Pc(t)?wa(Ro(t)):{}}function t0(t,i,u){var m=t.constructor;switch(i){case Un:return yl(t);case et:case Ke:return new m(+t);case Zt:return Ss(t,u);case Ar:case Zr:case Or:case Yr:case Mr:case Mi:case Kr:case pr:case Jr:return hu(t,u);case mt:return new m;case fn:case yn:return new m(t);case nr:return _s(t);case On:return new m;case pn:return wl(t)}}function n0(t,i){var u=i.length;if(!u)return t;var m=u-1;return i[m]=(u>1?"& ":"")+i[m],i=i.join(u>2?", ":" "),t.replace(Fa,`{
|
|
21
21
|
/* [wrapped with `+i+`] */
|
|
22
|
-
`)}function n0(t){return Et(t)||yu(t)||!!(qs&&t&&t[qs])}function Ts(t,i){var u=typeof t;return i=i??ze,!!i&&(u=="number"||u!="symbol"&&zt.test(t))&&t>-1&&t%1==0&&t<i}function fi(t,i,u){if(!An(u))return!1;var m=typeof i;return(m=="number"?Ci(u)&&Ts(i,u.length):m=="string"&&i in u)?ro(u[i],t):!1}function Af(t,i){if(Et(t))return!1;var u=typeof t;return u=="number"||u=="symbol"||u=="boolean"||t==null||ea(t)?!0:nn.test(t)||!gr.test(t)||i!=null&&t in Wt(i)}function r0(t){var i=typeof t;return i=="string"||i=="number"||i=="symbol"||i=="boolean"?t!=="__proto__":t===null}function Of(t){var i=Sd(t),u=I[i];if(typeof u!="function"||!(i in St.prototype))return!1;if(t===u)return!0;var m=Tf(u);return!!m&&t===m[0]}function i0(t){return!!cn&&cn in t}var a0=Js?Rs:Yf;function Pc(t){var i=t&&t.constructor,u=typeof i=="function"&&i.prototype||Wa;return t===u}function Nh(t){return t===t&&!An(t)}function jh(t,i){return function(u){return u==null?!1:u[t]===i&&(i!==n||t in Wt(u))}}function o0(t){var i=Rd(t,function(m){return u.size===C&&u.clear(),m}),u=i.cache;return i}function s0(t,i){var u=t[1],m=i[1],E=u|m,O=E<(Z|G|Te),j=m==Te&&u==Se||m==Te&&u==Dt&&t[7].length<=i[8]||m==(Te|Dt)&&i[7].length<=i[8]&&u==Se;if(!(O||j))return t;m&Z&&(t[2]=i[2],E|=u&Z?0:pe);var $=i[3];if($){var J=t[3];t[3]=J?Gu(J,$,i[4]):$,t[4]=J?pa(t[3],N):i[4]}return $=i[5],$&&(J=t[5],t[5]=J?xl(J,$,i[6]):$,t[6]=J?pa(t[5],N):i[6]),$=i[7],$&&(t[7]=$),m&Te&&(t[8]=t[8]==null?i[8]:bn(t[8],i[8])),t[9]==null&&(t[9]=i[9]),t[0]=i[0],t[1]=E,t}function l0(t){var i=[];if(t!=null)for(var u in Wt(t))i.push(u);return i}function u0(t){return ga.call(t)}function zh(t,i,u){return i=vn(i===n?t.length-1:i,0),function(){for(var m=arguments,E=-1,O=vn(m.length-i,0),j=ne(O);++E<O;)j[E]=m[i+E];E=-1;for(var $=ne(i+1);++E<i;)$[E]=m[E];return $[i]=u(j),Cn(t,this,$)}}function Uh(t,i){return i.length<2?t:Qa(t,br(i,0,-1))}function c0(t,i){for(var u=t.length,m=bn(i.length,u),E=Zn(t);m--;){var O=i[m];t[m]=Ts(O,u)?E[O]:n}return t}function Mf(t,i){if(!(i==="constructor"&&typeof t[i]=="function")&&i!="__proto__")return t[i]}var Wh=Hh(zo),Dc=el||function(t,i){return En.setTimeout(t,i)},Ff=Hh(uu);function Vh(t,i,u){var m=i+"";return Ff(t,t0(m,d0(Xy(m),u)))}function Hh(t){var i=0,u=0;return function(){var m=Gl(),E=Re-(m-u);if(u=m,E>0){if(++i>=ye)return arguments[0]}else i=0;return t.apply(n,arguments)}}function kd(t,i){var u=-1,m=t.length,E=m-1;for(i=i===n?m:i;++u<i;){var O=ml(u,E),j=t[O];t[O]=t[u],t[u]=j}return t.length=i,t}var $h=o0(function(t){var i=[];return t.charCodeAt(0)===46&&i.push(""),t.replace(Fi,function(u,m,E,O){i.push(E?O.replace(tt,"$1"):m||u)}),i});function Wo(t){if(typeof t=="string"||ea(t))return t;var i=t+"";return i=="0"&&1/t==-je?"-0":i}function bu(t){if(t!=null){try{return Qs.call(t)}catch{}try{return t+""}catch{}}return""}function d0(t,i){return Vn(Fe,function(u){var m="_."+u[0];i&u[1]&&!Wi(t,m)&&t.push(m)}),t.sort()}function Gh(t){if(t instanceof St)return t.clone();var i=new sr(t.__wrapped__,t.__chain__);return i.__actions__=Zn(t.__actions__),i.__index__=t.__index__,i.__values__=t.__values__,i}function f0(t,i,u){(u?fi(t,i,u):i===n)?i=1:i=vn(Tt(i),0);var m=t==null?0:t.length;if(!m||i<1)return[];for(var E=0,O=0,j=ne(ns(m/i));E<m;)j[O++]=br(t,E,E+=i);return j}function p0(t){for(var i=-1,u=t==null?0:t.length,m=0,E=[];++i<u;){var O=t[i];O&&(E[m++]=O)}return E}function h0(){var t=arguments.length;if(!t)return[];for(var i=ne(t-1),u=arguments[0],m=t;m--;)i[m-1]=arguments[m];return Er(Et(u)?Zn(u):[u],Gn(i,1))}var g0=bt(function(t,i){return Yn(t)?Ji(t,Gn(i,1,Yn,!0)):[]}),m0=bt(function(t,i){var u=Ea(i);return Yn(u)&&(u=n),Yn(t)?Ji(t,Gn(i,1,Yn,!0),st(u,2)):[]}),v0=bt(function(t,i){var u=Ea(i);return Yn(u)&&(u=n),Yn(t)?Ji(t,Gn(i,1,Yn,!0),n,u):[]});function b0(t,i,u){var m=t==null?0:t.length;return m?(i=u||i===n?1:Tt(i),br(t,i<0?0:i,m)):[]}function y0(t,i,u){var m=t==null?0:t.length;return m?(i=u||i===n?1:Tt(i),i=m-i,br(t,0,i<0?0:i)):[]}function w0(t,i){return t&&t.length?bl(t,st(i,3),!0,!0):[]}function x0(t,i){return t&&t.length?bl(t,st(i,3),!0):[]}function S0(t,i,u,m){var E=t==null?0:t.length;return E?(u&&typeof u!="number"&&fi(t,i,u)&&(u=0,m=E),Nu(t,i,u,m)):[]}function Zh(t,i,u){var m=t==null?0:t.length;if(!m)return-1;var E=u==null?0:Tt(u);return E<0&&(E=vn(m+E,0)),za(t,st(i,3),E)}function Yh(t,i,u){var m=t==null?0:t.length;if(!m)return-1;var E=m-1;return u!==n&&(E=Tt(u),E=u<0?vn(m+E,0):bn(E,m-1)),za(t,st(i,3),E,!0)}function Kh(t){var i=t==null?0:t.length;return i?Gn(t,1):[]}function _0(t){var i=t==null?0:t.length;return i?Gn(t,je):[]}function k0(t,i){var u=t==null?0:t.length;return u?(i=i===n?1:Tt(i),Gn(t,i)):[]}function E0(t){for(var i=-1,u=t==null?0:t.length,m={};++i<u;){var E=t[i];m[E[0]]=E[1]}return m}function Jh(t){return t&&t.length?t[0]:n}function C0(t,i,u){var m=t==null?0:t.length;if(!m)return-1;var E=u==null?0:Tt(u);return E<0&&(E=vn(m+E,0)),Vi(t,i,E)}function T0(t){var i=t==null?0:t.length;return i?br(t,0,-1):[]}var R0=bt(function(t){var i=qt(t,ur);return i.length&&i[0]===t[0]?Do(i):[]}),I0=bt(function(t){var i=Ea(t),u=qt(t,ur);return i===Ea(u)?i=n:u.pop(),u.length&&u[0]===t[0]?Do(u,st(i,2)):[]}),A0=bt(function(t){var i=Ea(t),u=qt(t,ur);return i=typeof i=="function"?i:n,i&&u.pop(),u.length&&u[0]===t[0]?Do(u,n,i):[]});function O0(t,i){return t==null?"":Ao.call(t,i)}function Ea(t){var i=t==null?0:t.length;return i?t[i-1]:n}function M0(t,i,u){var m=t==null?0:t.length;if(!m)return-1;var E=m;return u!==n&&(E=Tt(u),E=E<0?vn(m+E,0):bn(E,m-1)),i===i?Ll(t,i,E):za(t,wo,E,!0)}function F0(t,i){return t&&t.length?eo(t,Tt(i)):n}var P0=bt(Qh);function Qh(t,i){return t&&t.length&&i&&i.length?to(t,i):t}function D0(t,i,u){return t&&t.length&&i&&i.length?to(t,i,st(u,2)):t}function L0(t,i,u){return t&&t.length&&i&&i.length?to(t,i,n,u):t}var B0=Cs(function(t,i){var u=t==null?0:t.length,m=Jl(t,i);return gs(t,qt(i,function(E){return Ts(E,u)?+E:E}).sort(Uo)),m});function N0(t,i){var u=[];if(!(t&&t.length))return u;var m=-1,E=[],O=t.length;for(i=st(i,3);++m<O;){var j=t[m];i(j,m,t)&&(u.push(j),E.push(m))}return gs(t,E),u}function Pf(t){return t==null?t:Ou.call(t)}function j0(t,i,u){var m=t==null?0:t.length;return m?(u&&typeof u!="number"&&fi(t,i,u)?(i=0,u=m):(i=i==null?0:Tt(i),u=u===n?m:Tt(u)),br(t,i,u)):[]}function z0(t,i){return vs(t,i)}function U0(t,i,u){return bs(t,i,st(u,2))}function W0(t,i){var u=t==null?0:t.length;if(u){var m=vs(t,i);if(m<u&&ro(t[m],i))return m}return-1}function V0(t,i){return vs(t,i,!0)}function H0(t,i,u){return bs(t,i,st(u,2),!0)}function $0(t,i){var u=t==null?0:t.length;if(u){var m=vs(t,i,!0)-1;if(ro(t[m],i))return m}return-1}function G0(t){return t&&t.length?Hu(t):[]}function Z0(t,i){return t&&t.length?Hu(t,st(i,2)):[]}function Y0(t){var i=t==null?0:t.length;return i?br(t,1,i):[]}function K0(t,i,u){return t&&t.length?(i=u||i===n?1:Tt(i),br(t,0,i<0?0:i)):[]}function J0(t,i,u){var m=t==null?0:t.length;return m?(i=u||i===n?1:Tt(i),i=m-i,br(t,i<0?0:i,m)):[]}function Q0(t,i){return t&&t.length?bl(t,st(i,3),!1,!0):[]}function X0(t,i){return t&&t.length?bl(t,st(i,3)):[]}var q0=bt(function(t){return ka(Gn(t,1,Yn,!0))}),ew=bt(function(t){var i=Ea(t);return Yn(i)&&(i=n),ka(Gn(t,1,Yn,!0),st(i,2))}),tw=bt(function(t){var i=Ea(t);return i=typeof i=="function"?i:n,ka(Gn(t,1,Yn,!0),n,i)});function nw(t){return t&&t.length?ka(t):[]}function rw(t,i){return t&&t.length?ka(t,st(i,2)):[]}function iw(t,i){return i=typeof i=="function"?i:n,t&&t.length?ka(t,n,i):[]}function Df(t){if(!(t&&t.length))return[];var i=0;return t=ii(t,function(u){if(Yn(u))return i=vn(u.length,i),!0}),Q(i,function(u){return qt(t,h(u))})}function Xh(t,i){if(!(t&&t.length))return[];var u=Df(t);return i==null?u:qt(u,function(m){return Cn(i,n,m)})}var aw=bt(function(t,i){return Yn(t)?Ji(t,i):[]}),ow=bt(function(t){return ys(ii(t,Yn))}),sw=bt(function(t){var i=Ea(t);return Yn(i)&&(i=n),ys(ii(t,Yn),st(i,2))}),lw=bt(function(t){var i=Ea(t);return i=typeof i=="function"?i:n,ys(ii(t,Yn),n,i)}),uw=bt(Df);function cw(t,i){return fu(t||[],i||[],wn)}function dw(t,i){return fu(t||[],i||[],no)}var fw=bt(function(t){var i=t.length,u=i>1?t[i-1]:n;return u=typeof u=="function"?(t.pop(),u):n,Xh(t,u)});function qh(t){var i=I(t);return i.__chain__=!0,i}function pw(t,i){return i(t),t}function Ed(t,i){return i(t)}var hw=Cs(function(t){var i=t.length,u=i?t[0]:0,m=this.__wrapped__,E=function(O){return Jl(O,t)};return i>1||this.__actions__.length||!(m instanceof St)||!Ts(u)?this.thru(E):(m=m.slice(u,+u+(i?1:0)),m.__actions__.push({func:Ed,args:[E],thisArg:n}),new sr(m,this.__chain__).thru(function(O){return i&&!O.length&&O.push(n),O}))});function gw(){return qh(this)}function mw(){return new sr(this.value(),this.__chain__)}function vw(){this.__values__===n&&(this.__values__=pg(this.value()));var t=this.__index__>=this.__values__.length,i=t?n:this.__values__[this.__index__++];return{done:t,value:i}}function bw(){return this}function yw(t){for(var i,u=this;u instanceof $a;){var m=Gh(u);m.__index__=0,m.__values__=n,i?E.__wrapped__=m:i=m;var E=m;u=u.__wrapped__}return E.__wrapped__=t,i}function ww(){var t=this.__wrapped__;if(t instanceof St){var i=t;return this.__actions__.length&&(i=new St(this)),i=i.reverse(),i.__actions__.push({func:Ed,args:[Pf],thisArg:n}),new sr(i,this.__chain__)}return this.thru(Pf)}function xw(){return wr(this.__wrapped__,this.__actions__)}var Sw=_l(function(t,i,u){Ht.call(t,u)?++t[u]:$n(t,u,1)});function _w(t,i,u){var m=Et(t)?bo:cl;return u&&fi(t,i,u)&&(i=n),m(t,st(i,3))}function kw(t,i){var u=Et(t)?ii:eu;return u(t,st(i,3))}var Ew=s(Zh),Cw=s(Yh);function Tw(t,i){return Gn(Cd(t,i),1)}function Rw(t,i){return Gn(Cd(t,i),je)}function Iw(t,i,u){return u=u===n?1:Tt(u),Gn(Cd(t,i),u)}function eg(t,i){var u=Et(t)?Vn:_a;return u(t,st(i,3))}function tg(t,i){var u=Et(t)?Hs:ql;return u(t,st(i,3))}var Aw=_l(function(t,i,u){Ht.call(t,u)?t[u].push(i):$n(t,u,[i])});function Ow(t,i,u,m){t=Ci(t)?t:Qu(t),u=u&&!m?Tt(u):0;var E=t.length;return u<0&&(u=vn(E+u,0)),Od(t)?u<=E&&t.indexOf(i,u)>-1:!!E&&Vi(t,i,u)>-1}var Mw=bt(function(t,i,u){var m=-1,E=typeof i=="function",O=Ci(t)?ne(t.length):[];return _a(t,function(j){O[++m]=E?Cn(i,j,u):Wr(j,i,u)}),O}),Fw=_l(function(t,i,u){$n(t,u,i)});function Cd(t,i){var u=Et(t)?qt:No;return u(t,st(i,3))}function Pw(t,i,u,m){return t==null?[]:(Et(i)||(i=i==null?[]:[i]),u=m?n:u,Et(u)||(u=u==null?[]:[u]),gl(t,i,u))}var Dw=_l(function(t,i,u){t[u?0:1].push(i)},function(){return[[],[]]});function Lw(t,i,u){var m=Et(t)?Qo:R,E=arguments.length<3;return m(t,st(i,4),u,E,_a)}function Bw(t,i,u){var m=Et(t)?$s:R,E=arguments.length<3;return m(t,st(i,4),u,E,ql)}function Nw(t,i){var u=Et(t)?ii:eu;return u(t,Id(st(i,3)))}function jw(t){var i=Et(t)?$t:ms;return i(t)}function zw(t,i,u){(u?fi(t,i,u):i===n)?i=1:i=Tt(i);var m=Et(t)?zr:Wu;return m(t,i)}function Uw(t){var i=Et(t)?Ya:cu;return i(t)}function Ww(t){if(t==null)return 0;if(Ci(t))return Od(t)?ko(t):t.length;var i=$r(t);return i==mt||i==On?t.size:hs(t).length}function Vw(t,i,u){var m=Et(t)?fa:Vu;return u&&fi(t,i,u)&&(i=n),m(t,st(i,3))}var Hw=bt(function(t,i){if(t==null)return[];var u=i.length;return u>1&&fi(t,i[0],i[1])?i=[]:u>2&&fi(i[0],i[1],i[2])&&(i=[i[0]]),gl(t,Gn(i,1),[])}),Td=ts||function(){return En.Date.now()};function $w(t,i){if(typeof i!="function")throw new vr(v);return t=Tt(t),function(){if(--t<1)return i.apply(this,arguments)}}function ng(t,i,u){return i=u?n:i,i=t&&i==null?t.length:i,Tn(t,Te,n,n,n,n,i)}function rg(t,i){var u;if(typeof i!="function")throw new vr(v);return t=Tt(t),function(){return--t>0&&(u=i.apply(this,arguments)),t<=1&&(i=n),u}}var Lf=bt(function(t,i,u){var m=Z;if(u.length){var E=pa(u,Ku(Lf));m|=re}return Tn(t,m,i,u,E)}),ig=bt(function(t,i,u){var m=Z|G;if(u.length){var E=pa(u,Ku(ig));m|=re}return Tn(i,m,t,u,E)});function ag(t,i,u){i=u?n:i;var m=Tn(t,Se,n,n,n,n,n,i);return m.placeholder=ag.placeholder,m}function og(t,i,u){i=u?n:i;var m=Tn(t,_e,n,n,n,n,n,i);return m.placeholder=og.placeholder,m}function sg(t,i,u){var m,E,O,j,$,J,ce=0,de=!1,me=!1,De=!0;if(typeof t!="function")throw new vr(v);i=Ca(i)||0,An(u)&&(de=!!u.leading,me="maxWait"in u,O=me?vn(Ca(u.maxWait)||0,i):O,De="trailing"in u?!!u.trailing:De);function Xe(Kn){var io=m,As=E;return m=E=n,ce=Kn,j=t.apply(As,io),j}function lt(Kn){return ce=Kn,$=Dc(Nt,i),de?Xe(Kn):j}function Ot(Kn){var io=Kn-J,As=Kn-ce,Cg=i-io;return me?bn(Cg,O-As):Cg}function ut(Kn){var io=Kn-J,As=Kn-ce;return J===n||io>=i||io<0||me&&As>=O}function Nt(){var Kn=Td();if(ut(Kn))return Vt(Kn);$=Dc(Nt,Ot(Kn))}function Vt(Kn){return $=n,De&&m?Xe(Kn):(m=E=n,j)}function ta(){$!==n&&xs($),ce=0,m=J=E=$=n}function pi(){return $===n?j:Vt(Td())}function na(){var Kn=Td(),io=ut(Kn);if(m=arguments,E=this,J=Kn,io){if($===n)return lt(J);if(me)return xs($),$=Dc(Nt,i),Xe(J)}return $===n&&($=Dc(Nt,i)),j}return na.cancel=ta,na.flush=pi,na}var Gw=bt(function(t,i){return Xl(t,1,i)}),Zw=bt(function(t,i,u){return Xl(t,Ca(i)||0,u)});function Yw(t){return Tn(t,dt)}function Rd(t,i){if(typeof t!="function"||i!=null&&typeof i!="function")throw new vr(v);var u=function(){var m=arguments,E=i?i.apply(this,m):m[0],O=u.cache;if(O.has(E))return O.get(E);var j=t.apply(this,m);return u.cache=O.set(E,j)||O,j};return u.cache=new(Rd.Cache||Yi),u}Rd.Cache=Yi;function Id(t){if(typeof t!="function")throw new vr(v);return function(){var i=arguments;switch(i.length){case 0:return!t.call(this);case 1:return!t.call(this,i[0]);case 2:return!t.call(this,i[0],i[1]);case 3:return!t.call(this,i[0],i[1],i[2])}return!t.apply(this,i)}}function Kw(t){return rg(2,t)}var Jw=Fc(function(t,i){i=i.length==1&&Et(i[0])?qt(i[0],$e(st())):qt(Gn(i,1),$e(st()));var u=i.length;return bt(function(m){for(var E=-1,O=bn(m.length,u);++E<O;)m[E]=i[E].call(this,m[E]);return Cn(t,this,m)})}),Bf=bt(function(t,i){var u=pa(i,Ku(Bf));return Tn(t,re,n,i,u)}),lg=bt(function(t,i){var u=pa(i,Ku(lg));return Tn(t,Ie,n,i,u)}),Qw=Cs(function(t,i){return Tn(t,Dt,n,n,n,i)});function Xw(t,i){if(typeof t!="function")throw new vr(v);return i=i===n?i:Tt(i),bt(t,i)}function qw(t,i){if(typeof t!="function")throw new vr(v);return i=i==null?0:vn(Tt(i),0),bt(function(u){var m=u[i],E=di(u,0,i);return m&&Er(E,m),Cn(t,this,E)})}function ex(t,i,u){var m=!0,E=!0;if(typeof t!="function")throw new vr(v);return An(u)&&(m="leading"in u?!!u.leading:m,E="trailing"in u?!!u.trailing:E),sg(t,i,{leading:m,maxWait:i,trailing:E})}function tx(t){return ng(t,1)}function nx(t,i){return Bf(ws(i),t)}function rx(){if(!arguments.length)return[];var t=arguments[0];return Et(t)?t:[t]}function ix(t){return lr(t,ge)}function ax(t,i){return i=typeof i=="function"?i:n,lr(t,ge,i)}function ox(t){return lr(t,L|ge)}function sx(t,i){return i=typeof i=="function"?i:n,lr(t,L|ge,i)}function lx(t,i){return i==null||Bu(t,i,xr(i))}function ro(t,i){return t===i||t!==t&&i!==i}var ux=Pe(cs),cx=Pe(function(t,i){return t>=i}),yu=ps(function(){return arguments}())?ps:function(t){return Bn(t)&&Ht.call(t,"callee")&&!Wl.call(t,"callee")},Et=ne.isArray,dx=Na?$e(Na):pl;function Ci(t){return t!=null&&Ad(t.length)&&!Rs(t)}function Yn(t){return Bn(t)&&Ci(t)}function fx(t){return t===!0||t===!1||Bn(t)&&Xn(t)==et}var kl=Vl||Yf,px=ua?$e(ua):Xa;function hx(t){return Bn(t)&&t.nodeType===1&&!Lc(t)}function gx(t){if(t==null)return!0;if(Ci(t)&&(Et(t)||typeof t=="string"||typeof t.splice=="function"||kl(t)||Ju(t)||yu(t)))return!t.length;var i=$r(t);if(i==mt||i==On)return!t.size;if(Pc(t))return!hs(t).length;for(var u in t)if(Ht.call(t,u))return!1;return!0}function mx(t,i){return Lo(t,i)}function vx(t,i,u){u=typeof u=="function"?u:n;var m=u?u(t,i):n;return m===n?Lo(t,i,n,u):!!m}function Nf(t){if(!Bn(t))return!1;var i=Xn(t);return i==_t||i==nt||typeof t.message=="string"&&typeof t.name=="string"&&!Lc(t)}function bx(t){return typeof t=="number"&&Hl(t)}function Rs(t){if(!An(t))return!1;var i=Xn(t);return i==ke||i==It||i==qe||i==dr}function ug(t){return typeof t=="number"&&t==Tt(t)}function Ad(t){return typeof t=="number"&&t>-1&&t%1==0&&t<=ze}function An(t){var i=typeof t;return t!=null&&(i=="object"||i=="function")}function Bn(t){return t!=null&&typeof t=="object"}var cg=Vs?$e(Vs):qa;function yx(t,i){return t===i||au(t,i,Rf(i))}function wx(t,i,u){return u=typeof u=="function"?u:n,au(t,i,Rf(i),u)}function xx(t){return dg(t)&&t!=+t}function Sx(t){if(a0(t))throw new ot(d);return ou(t)}function _x(t){return t===null}function kx(t){return t==null}function dg(t){return typeof t=="number"||Bn(t)&&Xn(t)==fn}function Lc(t){if(!Bn(t)||Xn(t)!=Sn)return!1;var i=Ro(t);if(i===null)return!0;var u=Ht.call(i,"constructor")&&i.constructor;return typeof u=="function"&&u instanceof u&&Qs.call(u)==zl}var jf=ca?$e(ca):ki;function Ex(t){return ug(t)&&t>=-ze&&t<=ze}var fg=mo?$e(mo):Oc;function Od(t){return typeof t=="string"||!Et(t)&&Bn(t)&&Xn(t)==yn}function ea(t){return typeof t=="symbol"||Bn(t)&&Xn(t)==pn}var Ju=vo?$e(vo):Mc;function Cx(t){return t===n}function Tx(t){return Bn(t)&&$r(t)==fr}function Rx(t){return Bn(t)&&Xn(t)==gi}var Ix=Pe(ui),Ax=Pe(function(t,i){return t<=i});function pg(t){if(!t)return[];if(Ci(t))return Od(t)?Rr(t):Zn(t);if(Hi&&t[Hi])return wc(t[Hi]());var i=$r(t),u=i==mt?Dl:i==On?_o:Qu;return u(t)}function Is(t){if(!t)return t===0?t:0;if(t=Ca(t),t===je||t===-je){var i=t<0?-1:1;return i*pt}return t===t?t:0}function Tt(t){var i=Is(t),u=i%1;return i===i?u?i-u:i:0}function hg(t){return t?Sa(Tt(t),0,ue):0}function Ca(t){if(typeof t=="number")return t;if(ea(t))return oe;if(An(t)){var i=typeof t.valueOf=="function"?t.valueOf():t;t=An(i)?i+"":i}if(typeof t!="string")return t===0?t:+t;t=xe(t);var u=ft.test(t);return u||jt.test(t)?Jo(t.slice(2),u?2:8):wt.test(t)?oe:+t}function gg(t){return Ei(t,Ti(t))}function Ox(t){return t?Sa(Tt(t),-ze,ze):t===0?t:0}function an(t){return t==null?"":yr(t)}var Mx=l(function(t,i){if(Pc(i)||Ci(i)){Ei(i,xr(i),t);return}for(var u in i)Ht.call(i,u)&&wn(t,u,i[u])}),mg=l(function(t,i){Ei(i,Ti(i),t)}),Md=l(function(t,i,u,m){Ei(i,Ti(i),t,m)}),Fx=l(function(t,i,u,m){Ei(i,xr(i),t,m)}),Px=Cs(Jl);function Dx(t,i){var u=wa(t);return i==null?u:li(u,i)}var Lx=bt(function(t,i){t=Wt(t);var u=-1,m=i.length,E=m>2?i[2]:n;for(E&&fi(i[0],i[1],E)&&(m=1);++u<m;)for(var O=i[u],j=Ti(O),$=-1,J=j.length;++$<J;){var ce=j[$],de=t[ce];(de===n||ro(de,Wa[ce])&&!Ht.call(t,ce))&&(t[ce]=O[ce])}return t}),Bx=bt(function(t){return t.push(n,mu),Cn(vg,n,t)});function Nx(t,i){return ja(t,st(i,3),_i)}function jx(t,i){return ja(t,st(i,3),nu)}function zx(t,i){return t==null?t:tu(t,st(i,3),Ti)}function Ux(t,i){return t==null?t:ju(t,st(i,3),Ti)}function Wx(t,i){return t&&_i(t,st(i,3))}function Vx(t,i){return t&&nu(t,st(i,3))}function Hx(t){return t==null?[]:fl(t,xr(t))}function $x(t){return t==null?[]:fl(t,Ti(t))}function zf(t,i,u){var m=t==null?n:Qa(t,i);return m===n?u:m}function Gx(t,i){return t!=null&&Lh(t,i,ds)}function Uf(t,i){return t!=null&&Lh(t,i,zu)}var Zx=y(function(t,i,u){i!=null&&typeof i.toString!="function"&&(i=ga.call(i)),t[i]=u},Vf(Ri)),Yx=y(function(t,i,u){i!=null&&typeof i.toString!="function"&&(i=ga.call(i)),Ht.call(t,i)?t[i].push(u):t[i]=[u]},st),Kx=bt(Wr);function xr(t){return Ci(t)?xa(t):hs(t)}function Ti(t){return Ci(t)?xa(t,!0):hl(t)}function Jx(t,i){var u={};return i=st(i,3),_i(t,function(m,E,O){$n(u,i(m,E,O),m)}),u}function Qx(t,i){var u={};return i=st(i,3),_i(t,function(m,E,O){$n(u,E,i(m,E,O))}),u}var Xx=l(function(t,i,u){jo(t,i,u)}),vg=l(function(t,i,u,m){jo(t,i,u,m)}),qx=Cs(function(t,i){var u={};if(t==null)return u;var m=!1;i=qt(i,function(O){return O=qi(O,t),m||(m=O.length>1),O}),Ei(t,Cf(t),u),m&&(u=lr(u,L|W|ge,Yu));for(var E=i.length;E--;)du(u,i[E]);return u});function eS(t,i){return bg(t,Id(st(i)))}var tS=Cs(function(t,i){return t==null?{}:Hr(t,i)});function bg(t,i){if(t==null)return{};var u=qt(Cf(t),function(m){return[m]});return i=st(i),Xi(t,u,function(m,E){return i(m,E[0])})}function nS(t,i,u){i=qi(i,t);var m=-1,E=i.length;for(E||(E=1,t=n);++m<E;){var O=t==null?n:t[Wo(i[m])];O===n&&(m=E,O=u),t=Rs(O)?O.call(t):O}return t}function rS(t,i,u){return t==null?t:no(t,i,u)}function iS(t,i,u,m){return m=typeof m=="function"?m:n,t==null?t:no(t,i,u,m)}var yg=Ln(xr),wg=Ln(Ti);function aS(t,i,u){var m=Et(t),E=m||kl(t)||Ju(t);if(i=st(i,4),u==null){var O=t&&t.constructor;E?u=m?new O:[]:An(t)?u=Rs(O)?wa(Ro(t)):{}:u={}}return(E?Vn:_i)(t,function(j,$,J){return i(u,j,$,J)}),u}function oS(t,i){return t==null?!0:du(t,i)}function sS(t,i,u){return t==null?t:vl(t,i,ws(u))}function lS(t,i,u,m){return m=typeof m=="function"?m:n,t==null?t:vl(t,i,ws(u),m)}function Qu(t){return t==null?[]:ht(t,xr(t))}function uS(t){return t==null?[]:ht(t,Ti(t))}function cS(t,i,u){return u===n&&(u=i,i=n),u!==n&&(u=Ca(u),u=u===u?u:0),i!==n&&(i=Ca(i),i=i===i?i:0),Sa(Ca(t),i,u)}function dS(t,i,u){return i=Is(i),u===n?(u=i,i=0):u=Is(u),t=Ca(t),fs(t,i,u)}function fS(t,i,u){if(u&&typeof u!="boolean"&&fi(t,i,u)&&(i=u=n),u===n&&(typeof i=="boolean"?(u=i,i=n):typeof t=="boolean"&&(u=t,t=n)),t===n&&i===n?(t=0,i=1):(t=Is(t),i===n?(i=t,t=0):i=Is(i)),t>i){var m=t;t=i,i=m}if(u||t%1||i%1){var E=Gi();return bn(t+E*(i-t+kr("1e-"+((E+"").length-1))),i)}return ml(t,i)}var pS=B(function(t,i,u){return i=i.toLowerCase(),t+(u?xg(i):i)});function xg(t){return Wf(an(t).toLowerCase())}function Sg(t){return t=an(t),t&&t.replace(on,Tr).replace(Zo,"")}function hS(t,i,u){t=an(t),i=yr(i);var m=t.length;u=u===n?m:Sa(Tt(u),0,m);var E=u;return u-=i.length,u>=0&&t.slice(u,E)==i}function gS(t){return t=an(t),t&&Qr.test(t)?t.replace(At,xo):t}function mS(t){return t=an(t),t&&Pi.test(t)?t.replace(ei,"\\$&"):t}var vS=B(function(t,i,u){return t+(u?"-":"")+i.toLowerCase()}),bS=B(function(t,i,u){return t+(u?" ":"")+i.toLowerCase()}),yS=M("toLowerCase");function wS(t,i,u){t=an(t),i=Tt(i);var m=i?ko(t):0;if(!i||m>=i)return t;var E=(i-m)/2;return V(Io(E),u)+t+V(ns(E),u)}function xS(t,i,u){t=an(t),i=Tt(i);var m=i?ko(t):0;return i&&m<i?t+V(i-m,u):t}function SS(t,i,u){t=an(t),i=Tt(i);var m=i?ko(t):0;return i&&m<i?V(i-m,u)+t:t}function _S(t,i,u){return u||i==null?i=0:i&&(i=+i),Zl(an(t).replace(rn,""),i||0)}function kS(t,i,u){return(u?fi(t,i,u):i===n)?i=1:i=Tt(i),lu(an(t),i)}function ES(){var t=arguments,i=an(t[0]);return t.length<3?i:i.replace(t[1],t[2])}var CS=B(function(t,i,u){return t+(u?"_":"")+i.toLowerCase()});function TS(t,i,u){return u&&typeof u!="number"&&fi(t,i,u)&&(i=u=n),u=u===n?ue:u>>>0,u?(t=an(t),t&&(typeof i=="string"||i!=null&&!jf(i))&&(i=yr(i),!i&&So(t))?di(Rr(t),0,u):t.split(i,u)):[]}var RS=B(function(t,i,u){return t+(u?" ":"")+Wf(i)});function IS(t,i,u){return t=an(t),u=u==null?0:Sa(Tt(u),0,t.length),i=yr(i),t.slice(u,u+i.length)==i}function AS(t,i,u){var m=I.templateSettings;u&&fi(t,i,u)&&(i=n),t=an(t),i=Md({},i,m,gu);var E=Md({},i.imports,m.imports,gu),O=xr(E),j=ht(E,O),$,J,ce=0,de=i.interpolate||In,me="__p += '",De=ha((i.escape||In).source+"|"+de.source+"|"+(de===qr?vt:In).source+"|"+(i.evaluate||In).source+"|$","g"),Xe="//# sourceURL="+(Ht.call(i,"sourceURL")?(i.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Kt+"]")+`
|
|
23
|
-
`;t.replace(
|
|
22
|
+
`)}function r0(t){return Et(t)||yu(t)||!!(qs&&t&&t[qs])}function Ts(t,i){var u=typeof t;return i=i??ze,!!i&&(u=="number"||u!="symbol"&&Ut.test(t))&&t>-1&&t%1==0&&t<i}function fi(t,i,u){if(!An(u))return!1;var m=typeof i;return(m=="number"?Ci(u)&&Ts(i,u.length):m=="string"&&i in u)?ro(u[i],t):!1}function Af(t,i){if(Et(t))return!1;var u=typeof t;return u=="number"||u=="symbol"||u=="boolean"||t==null||ea(t)?!0:nn.test(t)||!gr.test(t)||i!=null&&t in Wt(i)}function i0(t){var i=typeof t;return i=="string"||i=="number"||i=="symbol"||i=="boolean"?t!=="__proto__":t===null}function Of(t){var i=Sd(t),u=I[i];if(typeof u!="function"||!(i in St.prototype))return!1;if(t===u)return!0;var m=Tf(u);return!!m&&t===m[0]}function a0(t){return!!cn&&cn in t}var o0=Js?Rs:Yf;function Pc(t){var i=t&&t.constructor,u=typeof i=="function"&&i.prototype||Wa;return t===u}function jh(t){return t===t&&!An(t)}function zh(t,i){return function(u){return u==null?!1:u[t]===i&&(i!==n||t in Wt(u))}}function s0(t){var i=Rd(t,function(m){return u.size===C&&u.clear(),m}),u=i.cache;return i}function l0(t,i){var u=t[1],m=i[1],E=u|m,O=E<(Z|G|Te),j=m==Te&&u==Se||m==Te&&u==Dt&&t[7].length<=i[8]||m==(Te|Dt)&&i[7].length<=i[8]&&u==Se;if(!(O||j))return t;m&Z&&(t[2]=i[2],E|=u&Z?0:pe);var $=i[3];if($){var J=t[3];t[3]=J?Gu(J,$,i[4]):$,t[4]=J?pa(t[3],N):i[4]}return $=i[5],$&&(J=t[5],t[5]=J?xl(J,$,i[6]):$,t[6]=J?pa(t[5],N):i[6]),$=i[7],$&&(t[7]=$),m&Te&&(t[8]=t[8]==null?i[8]:bn(t[8],i[8])),t[9]==null&&(t[9]=i[9]),t[0]=i[0],t[1]=E,t}function u0(t){var i=[];if(t!=null)for(var u in Wt(t))i.push(u);return i}function c0(t){return ga.call(t)}function Uh(t,i,u){return i=vn(i===n?t.length-1:i,0),function(){for(var m=arguments,E=-1,O=vn(m.length-i,0),j=ne(O);++E<O;)j[E]=m[i+E];E=-1;for(var $=ne(i+1);++E<i;)$[E]=m[E];return $[i]=u(j),Cn(t,this,$)}}function Wh(t,i){return i.length<2?t:Qa(t,br(i,0,-1))}function d0(t,i){for(var u=t.length,m=bn(i.length,u),E=Zn(t);m--;){var O=i[m];t[m]=Ts(O,u)?E[O]:n}return t}function Mf(t,i){if(!(i==="constructor"&&typeof t[i]=="function")&&i!="__proto__")return t[i]}var Vh=$h(zo),Dc=el||function(t,i){return En.setTimeout(t,i)},Ff=$h(uu);function Hh(t,i,u){var m=i+"";return Ff(t,n0(m,f0(qy(m),u)))}function $h(t){var i=0,u=0;return function(){var m=Gl(),E=Re-(m-u);if(u=m,E>0){if(++i>=ye)return arguments[0]}else i=0;return t.apply(n,arguments)}}function kd(t,i){var u=-1,m=t.length,E=m-1;for(i=i===n?m:i;++u<i;){var O=ml(u,E),j=t[O];t[O]=t[u],t[u]=j}return t.length=i,t}var Gh=s0(function(t){var i=[];return t.charCodeAt(0)===46&&i.push(""),t.replace(Fi,function(u,m,E,O){i.push(E?O.replace(tt,"$1"):m||u)}),i});function Wo(t){if(typeof t=="string"||ea(t))return t;var i=t+"";return i=="0"&&1/t==-je?"-0":i}function bu(t){if(t!=null){try{return Qs.call(t)}catch{}try{return t+""}catch{}}return""}function f0(t,i){return Vn(Fe,function(u){var m="_."+u[0];i&u[1]&&!Wi(t,m)&&t.push(m)}),t.sort()}function Zh(t){if(t instanceof St)return t.clone();var i=new sr(t.__wrapped__,t.__chain__);return i.__actions__=Zn(t.__actions__),i.__index__=t.__index__,i.__values__=t.__values__,i}function p0(t,i,u){(u?fi(t,i,u):i===n)?i=1:i=vn(Tt(i),0);var m=t==null?0:t.length;if(!m||i<1)return[];for(var E=0,O=0,j=ne(ns(m/i));E<m;)j[O++]=br(t,E,E+=i);return j}function h0(t){for(var i=-1,u=t==null?0:t.length,m=0,E=[];++i<u;){var O=t[i];O&&(E[m++]=O)}return E}function g0(){var t=arguments.length;if(!t)return[];for(var i=ne(t-1),u=arguments[0],m=t;m--;)i[m-1]=arguments[m];return Er(Et(u)?Zn(u):[u],Gn(i,1))}var m0=bt(function(t,i){return Yn(t)?Ji(t,Gn(i,1,Yn,!0)):[]}),v0=bt(function(t,i){var u=Ea(i);return Yn(u)&&(u=n),Yn(t)?Ji(t,Gn(i,1,Yn,!0),st(u,2)):[]}),b0=bt(function(t,i){var u=Ea(i);return Yn(u)&&(u=n),Yn(t)?Ji(t,Gn(i,1,Yn,!0),n,u):[]});function y0(t,i,u){var m=t==null?0:t.length;return m?(i=u||i===n?1:Tt(i),br(t,i<0?0:i,m)):[]}function w0(t,i,u){var m=t==null?0:t.length;return m?(i=u||i===n?1:Tt(i),i=m-i,br(t,0,i<0?0:i)):[]}function x0(t,i){return t&&t.length?bl(t,st(i,3),!0,!0):[]}function S0(t,i){return t&&t.length?bl(t,st(i,3),!0):[]}function _0(t,i,u,m){var E=t==null?0:t.length;return E?(u&&typeof u!="number"&&fi(t,i,u)&&(u=0,m=E),Nu(t,i,u,m)):[]}function Yh(t,i,u){var m=t==null?0:t.length;if(!m)return-1;var E=u==null?0:Tt(u);return E<0&&(E=vn(m+E,0)),za(t,st(i,3),E)}function Kh(t,i,u){var m=t==null?0:t.length;if(!m)return-1;var E=m-1;return u!==n&&(E=Tt(u),E=u<0?vn(m+E,0):bn(E,m-1)),za(t,st(i,3),E,!0)}function Jh(t){var i=t==null?0:t.length;return i?Gn(t,1):[]}function k0(t){var i=t==null?0:t.length;return i?Gn(t,je):[]}function E0(t,i){var u=t==null?0:t.length;return u?(i=i===n?1:Tt(i),Gn(t,i)):[]}function C0(t){for(var i=-1,u=t==null?0:t.length,m={};++i<u;){var E=t[i];m[E[0]]=E[1]}return m}function Qh(t){return t&&t.length?t[0]:n}function T0(t,i,u){var m=t==null?0:t.length;if(!m)return-1;var E=u==null?0:Tt(u);return E<0&&(E=vn(m+E,0)),Vi(t,i,E)}function R0(t){var i=t==null?0:t.length;return i?br(t,0,-1):[]}var I0=bt(function(t){var i=qt(t,ur);return i.length&&i[0]===t[0]?Do(i):[]}),A0=bt(function(t){var i=Ea(t),u=qt(t,ur);return i===Ea(u)?i=n:u.pop(),u.length&&u[0]===t[0]?Do(u,st(i,2)):[]}),O0=bt(function(t){var i=Ea(t),u=qt(t,ur);return i=typeof i=="function"?i:n,i&&u.pop(),u.length&&u[0]===t[0]?Do(u,n,i):[]});function M0(t,i){return t==null?"":Ao.call(t,i)}function Ea(t){var i=t==null?0:t.length;return i?t[i-1]:n}function F0(t,i,u){var m=t==null?0:t.length;if(!m)return-1;var E=m;return u!==n&&(E=Tt(u),E=E<0?vn(m+E,0):bn(E,m-1)),i===i?Ll(t,i,E):za(t,wo,E,!0)}function P0(t,i){return t&&t.length?eo(t,Tt(i)):n}var D0=bt(Xh);function Xh(t,i){return t&&t.length&&i&&i.length?to(t,i):t}function L0(t,i,u){return t&&t.length&&i&&i.length?to(t,i,st(u,2)):t}function B0(t,i,u){return t&&t.length&&i&&i.length?to(t,i,n,u):t}var N0=Cs(function(t,i){var u=t==null?0:t.length,m=Jl(t,i);return gs(t,qt(i,function(E){return Ts(E,u)?+E:E}).sort(Uo)),m});function j0(t,i){var u=[];if(!(t&&t.length))return u;var m=-1,E=[],O=t.length;for(i=st(i,3);++m<O;){var j=t[m];i(j,m,t)&&(u.push(j),E.push(m))}return gs(t,E),u}function Pf(t){return t==null?t:Ou.call(t)}function z0(t,i,u){var m=t==null?0:t.length;return m?(u&&typeof u!="number"&&fi(t,i,u)?(i=0,u=m):(i=i==null?0:Tt(i),u=u===n?m:Tt(u)),br(t,i,u)):[]}function U0(t,i){return vs(t,i)}function W0(t,i,u){return bs(t,i,st(u,2))}function V0(t,i){var u=t==null?0:t.length;if(u){var m=vs(t,i);if(m<u&&ro(t[m],i))return m}return-1}function H0(t,i){return vs(t,i,!0)}function $0(t,i,u){return bs(t,i,st(u,2),!0)}function G0(t,i){var u=t==null?0:t.length;if(u){var m=vs(t,i,!0)-1;if(ro(t[m],i))return m}return-1}function Z0(t){return t&&t.length?Hu(t):[]}function Y0(t,i){return t&&t.length?Hu(t,st(i,2)):[]}function K0(t){var i=t==null?0:t.length;return i?br(t,1,i):[]}function J0(t,i,u){return t&&t.length?(i=u||i===n?1:Tt(i),br(t,0,i<0?0:i)):[]}function Q0(t,i,u){var m=t==null?0:t.length;return m?(i=u||i===n?1:Tt(i),i=m-i,br(t,i<0?0:i,m)):[]}function X0(t,i){return t&&t.length?bl(t,st(i,3),!1,!0):[]}function q0(t,i){return t&&t.length?bl(t,st(i,3)):[]}var ew=bt(function(t){return ka(Gn(t,1,Yn,!0))}),tw=bt(function(t){var i=Ea(t);return Yn(i)&&(i=n),ka(Gn(t,1,Yn,!0),st(i,2))}),nw=bt(function(t){var i=Ea(t);return i=typeof i=="function"?i:n,ka(Gn(t,1,Yn,!0),n,i)});function rw(t){return t&&t.length?ka(t):[]}function iw(t,i){return t&&t.length?ka(t,st(i,2)):[]}function aw(t,i){return i=typeof i=="function"?i:n,t&&t.length?ka(t,n,i):[]}function Df(t){if(!(t&&t.length))return[];var i=0;return t=ii(t,function(u){if(Yn(u))return i=vn(u.length,i),!0}),Q(i,function(u){return qt(t,h(u))})}function qh(t,i){if(!(t&&t.length))return[];var u=Df(t);return i==null?u:qt(u,function(m){return Cn(i,n,m)})}var ow=bt(function(t,i){return Yn(t)?Ji(t,i):[]}),sw=bt(function(t){return ys(ii(t,Yn))}),lw=bt(function(t){var i=Ea(t);return Yn(i)&&(i=n),ys(ii(t,Yn),st(i,2))}),uw=bt(function(t){var i=Ea(t);return i=typeof i=="function"?i:n,ys(ii(t,Yn),n,i)}),cw=bt(Df);function dw(t,i){return fu(t||[],i||[],wn)}function fw(t,i){return fu(t||[],i||[],no)}var pw=bt(function(t){var i=t.length,u=i>1?t[i-1]:n;return u=typeof u=="function"?(t.pop(),u):n,qh(t,u)});function eg(t){var i=I(t);return i.__chain__=!0,i}function hw(t,i){return i(t),t}function Ed(t,i){return i(t)}var gw=Cs(function(t){var i=t.length,u=i?t[0]:0,m=this.__wrapped__,E=function(O){return Jl(O,t)};return i>1||this.__actions__.length||!(m instanceof St)||!Ts(u)?this.thru(E):(m=m.slice(u,+u+(i?1:0)),m.__actions__.push({func:Ed,args:[E],thisArg:n}),new sr(m,this.__chain__).thru(function(O){return i&&!O.length&&O.push(n),O}))});function mw(){return eg(this)}function vw(){return new sr(this.value(),this.__chain__)}function bw(){this.__values__===n&&(this.__values__=hg(this.value()));var t=this.__index__>=this.__values__.length,i=t?n:this.__values__[this.__index__++];return{done:t,value:i}}function yw(){return this}function ww(t){for(var i,u=this;u instanceof $a;){var m=Zh(u);m.__index__=0,m.__values__=n,i?E.__wrapped__=m:i=m;var E=m;u=u.__wrapped__}return E.__wrapped__=t,i}function xw(){var t=this.__wrapped__;if(t instanceof St){var i=t;return this.__actions__.length&&(i=new St(this)),i=i.reverse(),i.__actions__.push({func:Ed,args:[Pf],thisArg:n}),new sr(i,this.__chain__)}return this.thru(Pf)}function Sw(){return wr(this.__wrapped__,this.__actions__)}var _w=_l(function(t,i,u){Ht.call(t,u)?++t[u]:$n(t,u,1)});function kw(t,i,u){var m=Et(t)?bo:cl;return u&&fi(t,i,u)&&(i=n),m(t,st(i,3))}function Ew(t,i){var u=Et(t)?ii:eu;return u(t,st(i,3))}var Cw=s(Yh),Tw=s(Kh);function Rw(t,i){return Gn(Cd(t,i),1)}function Iw(t,i){return Gn(Cd(t,i),je)}function Aw(t,i,u){return u=u===n?1:Tt(u),Gn(Cd(t,i),u)}function tg(t,i){var u=Et(t)?Vn:_a;return u(t,st(i,3))}function ng(t,i){var u=Et(t)?Hs:ql;return u(t,st(i,3))}var Ow=_l(function(t,i,u){Ht.call(t,u)?t[u].push(i):$n(t,u,[i])});function Mw(t,i,u,m){t=Ci(t)?t:Qu(t),u=u&&!m?Tt(u):0;var E=t.length;return u<0&&(u=vn(E+u,0)),Od(t)?u<=E&&t.indexOf(i,u)>-1:!!E&&Vi(t,i,u)>-1}var Fw=bt(function(t,i,u){var m=-1,E=typeof i=="function",O=Ci(t)?ne(t.length):[];return _a(t,function(j){O[++m]=E?Cn(i,j,u):Wr(j,i,u)}),O}),Pw=_l(function(t,i,u){$n(t,u,i)});function Cd(t,i){var u=Et(t)?qt:No;return u(t,st(i,3))}function Dw(t,i,u,m){return t==null?[]:(Et(i)||(i=i==null?[]:[i]),u=m?n:u,Et(u)||(u=u==null?[]:[u]),gl(t,i,u))}var Lw=_l(function(t,i,u){t[u?0:1].push(i)},function(){return[[],[]]});function Bw(t,i,u){var m=Et(t)?Qo:R,E=arguments.length<3;return m(t,st(i,4),u,E,_a)}function Nw(t,i,u){var m=Et(t)?$s:R,E=arguments.length<3;return m(t,st(i,4),u,E,ql)}function jw(t,i){var u=Et(t)?ii:eu;return u(t,Id(st(i,3)))}function zw(t){var i=Et(t)?$t:ms;return i(t)}function Uw(t,i,u){(u?fi(t,i,u):i===n)?i=1:i=Tt(i);var m=Et(t)?zr:Wu;return m(t,i)}function Ww(t){var i=Et(t)?Ya:cu;return i(t)}function Vw(t){if(t==null)return 0;if(Ci(t))return Od(t)?ko(t):t.length;var i=$r(t);return i==mt||i==On?t.size:hs(t).length}function Hw(t,i,u){var m=Et(t)?fa:Vu;return u&&fi(t,i,u)&&(i=n),m(t,st(i,3))}var $w=bt(function(t,i){if(t==null)return[];var u=i.length;return u>1&&fi(t,i[0],i[1])?i=[]:u>2&&fi(i[0],i[1],i[2])&&(i=[i[0]]),gl(t,Gn(i,1),[])}),Td=ts||function(){return En.Date.now()};function Gw(t,i){if(typeof i!="function")throw new vr(v);return t=Tt(t),function(){if(--t<1)return i.apply(this,arguments)}}function rg(t,i,u){return i=u?n:i,i=t&&i==null?t.length:i,Tn(t,Te,n,n,n,n,i)}function ig(t,i){var u;if(typeof i!="function")throw new vr(v);return t=Tt(t),function(){return--t>0&&(u=i.apply(this,arguments)),t<=1&&(i=n),u}}var Lf=bt(function(t,i,u){var m=Z;if(u.length){var E=pa(u,Ku(Lf));m|=re}return Tn(t,m,i,u,E)}),ag=bt(function(t,i,u){var m=Z|G;if(u.length){var E=pa(u,Ku(ag));m|=re}return Tn(i,m,t,u,E)});function og(t,i,u){i=u?n:i;var m=Tn(t,Se,n,n,n,n,n,i);return m.placeholder=og.placeholder,m}function sg(t,i,u){i=u?n:i;var m=Tn(t,_e,n,n,n,n,n,i);return m.placeholder=sg.placeholder,m}function lg(t,i,u){var m,E,O,j,$,J,ce=0,de=!1,me=!1,Le=!0;if(typeof t!="function")throw new vr(v);i=Ca(i)||0,An(u)&&(de=!!u.leading,me="maxWait"in u,O=me?vn(Ca(u.maxWait)||0,i):O,Le="trailing"in u?!!u.trailing:Le);function Xe(Kn){var io=m,As=E;return m=E=n,ce=Kn,j=t.apply(As,io),j}function lt(Kn){return ce=Kn,$=Dc(Nt,i),de?Xe(Kn):j}function Ot(Kn){var io=Kn-J,As=Kn-ce,Tg=i-io;return me?bn(Tg,O-As):Tg}function ut(Kn){var io=Kn-J,As=Kn-ce;return J===n||io>=i||io<0||me&&As>=O}function Nt(){var Kn=Td();if(ut(Kn))return Vt(Kn);$=Dc(Nt,Ot(Kn))}function Vt(Kn){return $=n,Le&&m?Xe(Kn):(m=E=n,j)}function ta(){$!==n&&xs($),ce=0,m=J=E=$=n}function pi(){return $===n?j:Vt(Td())}function na(){var Kn=Td(),io=ut(Kn);if(m=arguments,E=this,J=Kn,io){if($===n)return lt(J);if(me)return xs($),$=Dc(Nt,i),Xe(J)}return $===n&&($=Dc(Nt,i)),j}return na.cancel=ta,na.flush=pi,na}var Zw=bt(function(t,i){return Xl(t,1,i)}),Yw=bt(function(t,i,u){return Xl(t,Ca(i)||0,u)});function Kw(t){return Tn(t,dt)}function Rd(t,i){if(typeof t!="function"||i!=null&&typeof i!="function")throw new vr(v);var u=function(){var m=arguments,E=i?i.apply(this,m):m[0],O=u.cache;if(O.has(E))return O.get(E);var j=t.apply(this,m);return u.cache=O.set(E,j)||O,j};return u.cache=new(Rd.Cache||Yi),u}Rd.Cache=Yi;function Id(t){if(typeof t!="function")throw new vr(v);return function(){var i=arguments;switch(i.length){case 0:return!t.call(this);case 1:return!t.call(this,i[0]);case 2:return!t.call(this,i[0],i[1]);case 3:return!t.call(this,i[0],i[1],i[2])}return!t.apply(this,i)}}function Jw(t){return ig(2,t)}var Qw=Fc(function(t,i){i=i.length==1&&Et(i[0])?qt(i[0],$e(st())):qt(Gn(i,1),$e(st()));var u=i.length;return bt(function(m){for(var E=-1,O=bn(m.length,u);++E<O;)m[E]=i[E].call(this,m[E]);return Cn(t,this,m)})}),Bf=bt(function(t,i){var u=pa(i,Ku(Bf));return Tn(t,re,n,i,u)}),ug=bt(function(t,i){var u=pa(i,Ku(ug));return Tn(t,Ie,n,i,u)}),Xw=Cs(function(t,i){return Tn(t,Dt,n,n,n,i)});function qw(t,i){if(typeof t!="function")throw new vr(v);return i=i===n?i:Tt(i),bt(t,i)}function ex(t,i){if(typeof t!="function")throw new vr(v);return i=i==null?0:vn(Tt(i),0),bt(function(u){var m=u[i],E=di(u,0,i);return m&&Er(E,m),Cn(t,this,E)})}function tx(t,i,u){var m=!0,E=!0;if(typeof t!="function")throw new vr(v);return An(u)&&(m="leading"in u?!!u.leading:m,E="trailing"in u?!!u.trailing:E),lg(t,i,{leading:m,maxWait:i,trailing:E})}function nx(t){return rg(t,1)}function rx(t,i){return Bf(ws(i),t)}function ix(){if(!arguments.length)return[];var t=arguments[0];return Et(t)?t:[t]}function ax(t){return lr(t,ge)}function ox(t,i){return i=typeof i=="function"?i:n,lr(t,ge,i)}function sx(t){return lr(t,L|ge)}function lx(t,i){return i=typeof i=="function"?i:n,lr(t,L|ge,i)}function ux(t,i){return i==null||Bu(t,i,xr(i))}function ro(t,i){return t===i||t!==t&&i!==i}var cx=Pe(cs),dx=Pe(function(t,i){return t>=i}),yu=ps(function(){return arguments}())?ps:function(t){return Bn(t)&&Ht.call(t,"callee")&&!Wl.call(t,"callee")},Et=ne.isArray,fx=Na?$e(Na):pl;function Ci(t){return t!=null&&Ad(t.length)&&!Rs(t)}function Yn(t){return Bn(t)&&Ci(t)}function px(t){return t===!0||t===!1||Bn(t)&&Xn(t)==et}var kl=Vl||Yf,hx=ua?$e(ua):Xa;function gx(t){return Bn(t)&&t.nodeType===1&&!Lc(t)}function mx(t){if(t==null)return!0;if(Ci(t)&&(Et(t)||typeof t=="string"||typeof t.splice=="function"||kl(t)||Ju(t)||yu(t)))return!t.length;var i=$r(t);if(i==mt||i==On)return!t.size;if(Pc(t))return!hs(t).length;for(var u in t)if(Ht.call(t,u))return!1;return!0}function vx(t,i){return Lo(t,i)}function bx(t,i,u){u=typeof u=="function"?u:n;var m=u?u(t,i):n;return m===n?Lo(t,i,n,u):!!m}function Nf(t){if(!Bn(t))return!1;var i=Xn(t);return i==_t||i==nt||typeof t.message=="string"&&typeof t.name=="string"&&!Lc(t)}function yx(t){return typeof t=="number"&&Hl(t)}function Rs(t){if(!An(t))return!1;var i=Xn(t);return i==ke||i==It||i==qe||i==dr}function cg(t){return typeof t=="number"&&t==Tt(t)}function Ad(t){return typeof t=="number"&&t>-1&&t%1==0&&t<=ze}function An(t){var i=typeof t;return t!=null&&(i=="object"||i=="function")}function Bn(t){return t!=null&&typeof t=="object"}var dg=Vs?$e(Vs):qa;function wx(t,i){return t===i||au(t,i,Rf(i))}function xx(t,i,u){return u=typeof u=="function"?u:n,au(t,i,Rf(i),u)}function Sx(t){return fg(t)&&t!=+t}function _x(t){if(o0(t))throw new ot(d);return ou(t)}function kx(t){return t===null}function Ex(t){return t==null}function fg(t){return typeof t=="number"||Bn(t)&&Xn(t)==fn}function Lc(t){if(!Bn(t)||Xn(t)!=Sn)return!1;var i=Ro(t);if(i===null)return!0;var u=Ht.call(i,"constructor")&&i.constructor;return typeof u=="function"&&u instanceof u&&Qs.call(u)==zl}var jf=ca?$e(ca):ki;function Cx(t){return cg(t)&&t>=-ze&&t<=ze}var pg=mo?$e(mo):Oc;function Od(t){return typeof t=="string"||!Et(t)&&Bn(t)&&Xn(t)==yn}function ea(t){return typeof t=="symbol"||Bn(t)&&Xn(t)==pn}var Ju=vo?$e(vo):Mc;function Tx(t){return t===n}function Rx(t){return Bn(t)&&$r(t)==fr}function Ix(t){return Bn(t)&&Xn(t)==gi}var Ax=Pe(ui),Ox=Pe(function(t,i){return t<=i});function hg(t){if(!t)return[];if(Ci(t))return Od(t)?Rr(t):Zn(t);if(Hi&&t[Hi])return wc(t[Hi]());var i=$r(t),u=i==mt?Dl:i==On?_o:Qu;return u(t)}function Is(t){if(!t)return t===0?t:0;if(t=Ca(t),t===je||t===-je){var i=t<0?-1:1;return i*pt}return t===t?t:0}function Tt(t){var i=Is(t),u=i%1;return i===i?u?i-u:i:0}function gg(t){return t?Sa(Tt(t),0,ue):0}function Ca(t){if(typeof t=="number")return t;if(ea(t))return oe;if(An(t)){var i=typeof t.valueOf=="function"?t.valueOf():t;t=An(i)?i+"":i}if(typeof t!="string")return t===0?t:+t;t=xe(t);var u=ft.test(t);return u||zt.test(t)?Jo(t.slice(2),u?2:8):wt.test(t)?oe:+t}function mg(t){return Ei(t,Ti(t))}function Mx(t){return t?Sa(Tt(t),-ze,ze):t===0?t:0}function an(t){return t==null?"":yr(t)}var Fx=l(function(t,i){if(Pc(i)||Ci(i)){Ei(i,xr(i),t);return}for(var u in i)Ht.call(i,u)&&wn(t,u,i[u])}),vg=l(function(t,i){Ei(i,Ti(i),t)}),Md=l(function(t,i,u,m){Ei(i,Ti(i),t,m)}),Px=l(function(t,i,u,m){Ei(i,xr(i),t,m)}),Dx=Cs(Jl);function Lx(t,i){var u=wa(t);return i==null?u:li(u,i)}var Bx=bt(function(t,i){t=Wt(t);var u=-1,m=i.length,E=m>2?i[2]:n;for(E&&fi(i[0],i[1],E)&&(m=1);++u<m;)for(var O=i[u],j=Ti(O),$=-1,J=j.length;++$<J;){var ce=j[$],de=t[ce];(de===n||ro(de,Wa[ce])&&!Ht.call(t,ce))&&(t[ce]=O[ce])}return t}),Nx=bt(function(t){return t.push(n,mu),Cn(bg,n,t)});function jx(t,i){return ja(t,st(i,3),_i)}function zx(t,i){return ja(t,st(i,3),nu)}function Ux(t,i){return t==null?t:tu(t,st(i,3),Ti)}function Wx(t,i){return t==null?t:ju(t,st(i,3),Ti)}function Vx(t,i){return t&&_i(t,st(i,3))}function Hx(t,i){return t&&nu(t,st(i,3))}function $x(t){return t==null?[]:fl(t,xr(t))}function Gx(t){return t==null?[]:fl(t,Ti(t))}function zf(t,i,u){var m=t==null?n:Qa(t,i);return m===n?u:m}function Zx(t,i){return t!=null&&Bh(t,i,ds)}function Uf(t,i){return t!=null&&Bh(t,i,zu)}var Yx=y(function(t,i,u){i!=null&&typeof i.toString!="function"&&(i=ga.call(i)),t[i]=u},Vf(Ri)),Kx=y(function(t,i,u){i!=null&&typeof i.toString!="function"&&(i=ga.call(i)),Ht.call(t,i)?t[i].push(u):t[i]=[u]},st),Jx=bt(Wr);function xr(t){return Ci(t)?xa(t):hs(t)}function Ti(t){return Ci(t)?xa(t,!0):hl(t)}function Qx(t,i){var u={};return i=st(i,3),_i(t,function(m,E,O){$n(u,i(m,E,O),m)}),u}function Xx(t,i){var u={};return i=st(i,3),_i(t,function(m,E,O){$n(u,E,i(m,E,O))}),u}var qx=l(function(t,i,u){jo(t,i,u)}),bg=l(function(t,i,u,m){jo(t,i,u,m)}),eS=Cs(function(t,i){var u={};if(t==null)return u;var m=!1;i=qt(i,function(O){return O=qi(O,t),m||(m=O.length>1),O}),Ei(t,Cf(t),u),m&&(u=lr(u,L|W|ge,Yu));for(var E=i.length;E--;)du(u,i[E]);return u});function tS(t,i){return yg(t,Id(st(i)))}var nS=Cs(function(t,i){return t==null?{}:Hr(t,i)});function yg(t,i){if(t==null)return{};var u=qt(Cf(t),function(m){return[m]});return i=st(i),Xi(t,u,function(m,E){return i(m,E[0])})}function rS(t,i,u){i=qi(i,t);var m=-1,E=i.length;for(E||(E=1,t=n);++m<E;){var O=t==null?n:t[Wo(i[m])];O===n&&(m=E,O=u),t=Rs(O)?O.call(t):O}return t}function iS(t,i,u){return t==null?t:no(t,i,u)}function aS(t,i,u,m){return m=typeof m=="function"?m:n,t==null?t:no(t,i,u,m)}var wg=Ln(xr),xg=Ln(Ti);function oS(t,i,u){var m=Et(t),E=m||kl(t)||Ju(t);if(i=st(i,4),u==null){var O=t&&t.constructor;E?u=m?new O:[]:An(t)?u=Rs(O)?wa(Ro(t)):{}:u={}}return(E?Vn:_i)(t,function(j,$,J){return i(u,j,$,J)}),u}function sS(t,i){return t==null?!0:du(t,i)}function lS(t,i,u){return t==null?t:vl(t,i,ws(u))}function uS(t,i,u,m){return m=typeof m=="function"?m:n,t==null?t:vl(t,i,ws(u),m)}function Qu(t){return t==null?[]:ht(t,xr(t))}function cS(t){return t==null?[]:ht(t,Ti(t))}function dS(t,i,u){return u===n&&(u=i,i=n),u!==n&&(u=Ca(u),u=u===u?u:0),i!==n&&(i=Ca(i),i=i===i?i:0),Sa(Ca(t),i,u)}function fS(t,i,u){return i=Is(i),u===n?(u=i,i=0):u=Is(u),t=Ca(t),fs(t,i,u)}function pS(t,i,u){if(u&&typeof u!="boolean"&&fi(t,i,u)&&(i=u=n),u===n&&(typeof i=="boolean"?(u=i,i=n):typeof t=="boolean"&&(u=t,t=n)),t===n&&i===n?(t=0,i=1):(t=Is(t),i===n?(i=t,t=0):i=Is(i)),t>i){var m=t;t=i,i=m}if(u||t%1||i%1){var E=Gi();return bn(t+E*(i-t+kr("1e-"+((E+"").length-1))),i)}return ml(t,i)}var hS=B(function(t,i,u){return i=i.toLowerCase(),t+(u?Sg(i):i)});function Sg(t){return Wf(an(t).toLowerCase())}function _g(t){return t=an(t),t&&t.replace(on,Tr).replace(Zo,"")}function gS(t,i,u){t=an(t),i=yr(i);var m=t.length;u=u===n?m:Sa(Tt(u),0,m);var E=u;return u-=i.length,u>=0&&t.slice(u,E)==i}function mS(t){return t=an(t),t&&Qr.test(t)?t.replace(At,xo):t}function vS(t){return t=an(t),t&&Pi.test(t)?t.replace(ei,"\\$&"):t}var bS=B(function(t,i,u){return t+(u?"-":"")+i.toLowerCase()}),yS=B(function(t,i,u){return t+(u?" ":"")+i.toLowerCase()}),wS=M("toLowerCase");function xS(t,i,u){t=an(t),i=Tt(i);var m=i?ko(t):0;if(!i||m>=i)return t;var E=(i-m)/2;return V(Io(E),u)+t+V(ns(E),u)}function SS(t,i,u){t=an(t),i=Tt(i);var m=i?ko(t):0;return i&&m<i?t+V(i-m,u):t}function _S(t,i,u){t=an(t),i=Tt(i);var m=i?ko(t):0;return i&&m<i?V(i-m,u)+t:t}function kS(t,i,u){return u||i==null?i=0:i&&(i=+i),Zl(an(t).replace(rn,""),i||0)}function ES(t,i,u){return(u?fi(t,i,u):i===n)?i=1:i=Tt(i),lu(an(t),i)}function CS(){var t=arguments,i=an(t[0]);return t.length<3?i:i.replace(t[1],t[2])}var TS=B(function(t,i,u){return t+(u?"_":"")+i.toLowerCase()});function RS(t,i,u){return u&&typeof u!="number"&&fi(t,i,u)&&(i=u=n),u=u===n?ue:u>>>0,u?(t=an(t),t&&(typeof i=="string"||i!=null&&!jf(i))&&(i=yr(i),!i&&So(t))?di(Rr(t),0,u):t.split(i,u)):[]}var IS=B(function(t,i,u){return t+(u?" ":"")+Wf(i)});function AS(t,i,u){return t=an(t),u=u==null?0:Sa(Tt(u),0,t.length),i=yr(i),t.slice(u,u+i.length)==i}function OS(t,i,u){var m=I.templateSettings;u&&fi(t,i,u)&&(i=n),t=an(t),i=Md({},i,m,gu);var E=Md({},i.imports,m.imports,gu),O=xr(E),j=ht(E,O),$,J,ce=0,de=i.interpolate||In,me="__p += '",Le=ha((i.escape||In).source+"|"+de.source+"|"+(de===qr?vt:In).source+"|"+(i.evaluate||In).source+"|$","g"),Xe="//# sourceURL="+(Ht.call(i,"sourceURL")?(i.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Kt+"]")+`
|
|
23
|
+
`;t.replace(Le,function(ut,Nt,Vt,ta,pi,na){return Vt||(Vt=ta),me+=t.slice(ce,na).replace(Fr,Ks),Nt&&($=!0,me+=`' +
|
|
24
24
|
__e(`+Nt+`) +
|
|
25
25
|
'`),pi&&(J=!0,me+=`';
|
|
26
26
|
`+pi+`;
|
|
@@ -36,7 +36,7 @@ __p += '`),Vt&&(me+=`' +
|
|
|
36
36
|
function print() { __p += __j.call(arguments, '') }
|
|
37
37
|
`:`;
|
|
38
38
|
`)+me+`return __p
|
|
39
|
-
}`;var Ot=kg(function(){return Pt(O,Xe+"return "+me).apply(n,j)});if(Ot.source=me,Nf(Ot))throw Ot;return Ot}function OS(t){return an(t).toLowerCase()}function MS(t){return an(t).toUpperCase()}function FS(t,i,u){if(t=an(t),t&&(u||i===n))return xe(t);if(!t||!(i=yr(i)))return t;var m=Rr(t),E=Rr(i),O=Jt(m,E),j=Qn(m,E)+1;return di(m,O,j).join("")}function PS(t,i,u){if(t=an(t),t&&(u||i===n))return t.slice(0,Bl(t)+1);if(!t||!(i=yr(i)))return t;var m=Rr(t),E=Qn(m,Rr(i))+1;return di(m,0,E).join("")}function DS(t,i,u){if(t=an(t),t&&(u||i===n))return t.replace(rn,"");if(!t||!(i=yr(i)))return t;var m=Rr(t),E=Jt(m,Rr(i));return di(m,E).join("")}function LS(t,i){var u=Mt,m=ve;if(An(i)){var E="separator"in i?i.separator:E;u="length"in i?Tt(i.length):u,m="omission"in i?yr(i.omission):m}t=an(t);var O=t.length;if(So(t)){var j=Rr(t);O=j.length}if(u>=O)return t;var $=u-ko(m);if($<1)return m;var J=j?di(j,0,$).join(""):t.slice(0,$);if(E===n)return J+m;if(j&&($+=J.length-$),jf(E)){if(t.slice($).search(E)){var ce,de=J;for(E.global||(E=ha(E.source,an(kt.exec(E))+"g")),E.lastIndex=0;ce=E.exec(de);)var me=ce.index;J=J.slice(0,me===n?$:me)}}else if(t.indexOf(yr(E),$)!=$){var De=J.lastIndexOf(E);De>-1&&(J=J.slice(0,De))}return J+m}function BS(t){return t=an(t),t&&hr.test(t)?t.replace(Mn,Ru):t}var NS=B(function(t,i,u){return t+(u?" ":"")+i.toUpperCase()}),Wf=M("toUpperCase");function _g(t,i,u){return t=an(t),i=u?n:i,i===n?yc(t)?_c(t):yo(t):t.match(i)||[]}var kg=bt(function(t,i){try{return Cn(t,n,i)}catch(u){return Nf(u)?u:new ot(u)}}),jS=Cs(function(t,i){return Vn(i,function(u){u=Wo(u),$n(t,u,Lf(t[u],t))}),t});function zS(t){var i=t==null?0:t.length,u=st();return t=i?qt(t,function(m){if(typeof m[1]!="function")throw new vr(v);return[u(m[0]),m[1]]}):[],bt(function(m){for(var E=-1;++E<i;){var O=t[E];if(Cn(O[0],this,m))return Cn(O[1],this,m)}})}function US(t){return Ql(lr(t,L))}function Vf(t){return function(){return t}}function WS(t,i){return t==null||t!==t?i:t}var VS=c(),HS=c(!0);function Ri(t){return t}function Hf(t){return Bo(typeof t=="function"?t:lr(t,L))}function $S(t){return Qi(lr(t,L))}function GS(t,i){return ci(t,lr(i,L))}var ZS=bt(function(t,i){return function(u){return Wr(u,t,i)}}),YS=bt(function(t,i){return function(u){return Wr(t,u,i)}});function $f(t,i,u){var m=xr(i),E=fl(i,m);u==null&&!(An(i)&&(E.length||!m.length))&&(u=i,i=t,t=this,E=fl(i,xr(i)));var O=!(An(u)&&"chain"in u)||!!u.chain,j=Rs(t);return Vn(E,function($){var J=i[$];t[$]=J,j&&(t.prototype[$]=function(){var ce=this.__chain__;if(O||ce){var de=t(this.__wrapped__),me=de.__actions__=Zn(this.__actions__);return me.push({func:J,args:arguments,thisArg:t}),de.__chain__=ce,de}return J.apply(t,Er([this.value()],arguments))})}),t}function KS(){return En._===this&&(En._=dn),this}function Gf(){}function JS(t){return t=Tt(t),bt(function(i){return eo(i,t)})}var QS=D(qt),XS=D(bo),qS=D(fa);function Eg(t){return Af(t)?h(Wo(t)):su(t)}function e1(t){return function(i){return t==null?n:Qa(t,i)}}var t1=fe(),n1=fe(!0);function Zf(){return[]}function Yf(){return!1}function r1(){return{}}function i1(){return""}function a1(){return!0}function o1(t,i){if(t=Tt(t),t<1||t>ze)return[];var u=ue,m=bn(t,ue);i=st(i),t-=ue;for(var E=Q(m,i);++u<t;)i(u);return E}function s1(t){return Et(t)?qt(t,Wo):ea(t)?[t]:Zn($h(an(t)))}function l1(t){var i=++Au;return an(t)+i}var u1=T(function(t,i){return t+i},0),c1=it("ceil"),d1=T(function(t,i){return t/i},1),f1=it("floor");function p1(t){return t&&t.length?dl(t,Ri,cs):n}function h1(t,i){return t&&t.length?dl(t,st(i,2),cs):n}function g1(t){return Xo(t,Ri)}function m1(t,i){return Xo(t,st(i,2))}function v1(t){return t&&t.length?dl(t,Ri,ui):n}function b1(t,i){return t&&t.length?dl(t,st(i,2),ui):n}var y1=T(function(t,i){return t*i},1),w1=it("round"),x1=T(function(t,i){return t-i},0);function S1(t){return t&&t.length?q(t,Ri):0}function _1(t,i){return t&&t.length?q(t,st(i,2)):0}return I.after=$w,I.ary=ng,I.assign=Mx,I.assignIn=mg,I.assignInWith=Md,I.assignWith=Fx,I.at=Px,I.before=rg,I.bind=Lf,I.bindAll=jS,I.bindKey=ig,I.castArray=rx,I.chain=qh,I.chunk=f0,I.compact=p0,I.concat=h0,I.cond=zS,I.conforms=US,I.constant=Vf,I.countBy=Sw,I.create=Dx,I.curry=ag,I.curryRight=og,I.debounce=sg,I.defaults=Lx,I.defaultsDeep=Bx,I.defer=Gw,I.delay=Zw,I.difference=g0,I.differenceBy=m0,I.differenceWith=v0,I.drop=b0,I.dropRight=y0,I.dropRightWhile=w0,I.dropWhile=x0,I.fill=S0,I.filter=kw,I.flatMap=Tw,I.flatMapDeep=Rw,I.flatMapDepth=Iw,I.flatten=Kh,I.flattenDeep=_0,I.flattenDepth=k0,I.flip=Yw,I.flow=VS,I.flowRight=HS,I.fromPairs=E0,I.functions=Hx,I.functionsIn=$x,I.groupBy=Aw,I.initial=T0,I.intersection=R0,I.intersectionBy=I0,I.intersectionWith=A0,I.invert=Zx,I.invertBy=Yx,I.invokeMap=Mw,I.iteratee=Hf,I.keyBy=Fw,I.keys=xr,I.keysIn=Ti,I.map=Cd,I.mapKeys=Jx,I.mapValues=Qx,I.matches=$S,I.matchesProperty=GS,I.memoize=Rd,I.merge=Xx,I.mergeWith=vg,I.method=ZS,I.methodOf=YS,I.mixin=$f,I.negate=Id,I.nthArg=JS,I.omit=qx,I.omitBy=eS,I.once=Kw,I.orderBy=Pw,I.over=QS,I.overArgs=Jw,I.overEvery=XS,I.overSome=qS,I.partial=Bf,I.partialRight=lg,I.partition=Dw,I.pick=tS,I.pickBy=bg,I.property=Eg,I.propertyOf=e1,I.pull=P0,I.pullAll=Qh,I.pullAllBy=D0,I.pullAllWith=L0,I.pullAt=B0,I.range=t1,I.rangeRight=n1,I.rearg=Qw,I.reject=Nw,I.remove=N0,I.rest=Xw,I.reverse=Pf,I.sampleSize=zw,I.set=rS,I.setWith=iS,I.shuffle=Uw,I.slice=j0,I.sortBy=Hw,I.sortedUniq=G0,I.sortedUniqBy=Z0,I.split=TS,I.spread=qw,I.tail=Y0,I.take=K0,I.takeRight=J0,I.takeRightWhile=Q0,I.takeWhile=X0,I.tap=pw,I.throttle=ex,I.thru=Ed,I.toArray=pg,I.toPairs=yg,I.toPairsIn=wg,I.toPath=s1,I.toPlainObject=gg,I.transform=aS,I.unary=tx,I.union=q0,I.unionBy=ew,I.unionWith=tw,I.uniq=nw,I.uniqBy=rw,I.uniqWith=iw,I.unset=oS,I.unzip=Df,I.unzipWith=Xh,I.update=sS,I.updateWith=lS,I.values=Qu,I.valuesIn=uS,I.without=aw,I.words=_g,I.wrap=nx,I.xor=ow,I.xorBy=sw,I.xorWith=lw,I.zip=uw,I.zipObject=cw,I.zipObjectDeep=dw,I.zipWith=fw,I.entries=yg,I.entriesIn=wg,I.extend=mg,I.extendWith=Md,$f(I,I),I.add=u1,I.attempt=kg,I.camelCase=pS,I.capitalize=xg,I.ceil=c1,I.clamp=cS,I.clone=ix,I.cloneDeep=ox,I.cloneDeepWith=sx,I.cloneWith=ax,I.conformsTo=lx,I.deburr=Sg,I.defaultTo=WS,I.divide=d1,I.endsWith=hS,I.eq=ro,I.escape=gS,I.escapeRegExp=mS,I.every=_w,I.find=Ew,I.findIndex=Zh,I.findKey=Nx,I.findLast=Cw,I.findLastIndex=Yh,I.findLastKey=jx,I.floor=f1,I.forEach=eg,I.forEachRight=tg,I.forIn=zx,I.forInRight=Ux,I.forOwn=Wx,I.forOwnRight=Vx,I.get=zf,I.gt=ux,I.gte=cx,I.has=Gx,I.hasIn=Uf,I.head=Jh,I.identity=Ri,I.includes=Ow,I.indexOf=C0,I.inRange=dS,I.invoke=Kx,I.isArguments=yu,I.isArray=Et,I.isArrayBuffer=dx,I.isArrayLike=Ci,I.isArrayLikeObject=Yn,I.isBoolean=fx,I.isBuffer=kl,I.isDate=px,I.isElement=hx,I.isEmpty=gx,I.isEqual=mx,I.isEqualWith=vx,I.isError=Nf,I.isFinite=bx,I.isFunction=Rs,I.isInteger=ug,I.isLength=Ad,I.isMap=cg,I.isMatch=yx,I.isMatchWith=wx,I.isNaN=xx,I.isNative=Sx,I.isNil=kx,I.isNull=_x,I.isNumber=dg,I.isObject=An,I.isObjectLike=Bn,I.isPlainObject=Lc,I.isRegExp=jf,I.isSafeInteger=Ex,I.isSet=fg,I.isString=Od,I.isSymbol=ea,I.isTypedArray=Ju,I.isUndefined=Cx,I.isWeakMap=Tx,I.isWeakSet=Rx,I.join=O0,I.kebabCase=vS,I.last=Ea,I.lastIndexOf=M0,I.lowerCase=bS,I.lowerFirst=yS,I.lt=Ix,I.lte=Ax,I.max=p1,I.maxBy=h1,I.mean=g1,I.meanBy=m1,I.min=v1,I.minBy=b1,I.stubArray=Zf,I.stubFalse=Yf,I.stubObject=r1,I.stubString=i1,I.stubTrue=a1,I.multiply=y1,I.nth=F0,I.noConflict=KS,I.noop=Gf,I.now=Td,I.pad=wS,I.padEnd=xS,I.padStart=SS,I.parseInt=_S,I.random=fS,I.reduce=Lw,I.reduceRight=Bw,I.repeat=kS,I.replace=ES,I.result=nS,I.round=w1,I.runInContext=Y,I.sample=jw,I.size=Ww,I.snakeCase=CS,I.some=Vw,I.sortedIndex=z0,I.sortedIndexBy=U0,I.sortedIndexOf=W0,I.sortedLastIndex=V0,I.sortedLastIndexBy=H0,I.sortedLastIndexOf=$0,I.startCase=RS,I.startsWith=IS,I.subtract=x1,I.sum=S1,I.sumBy=_1,I.template=AS,I.times=o1,I.toFinite=Is,I.toInteger=Tt,I.toLength=hg,I.toLower=OS,I.toNumber=Ca,I.toSafeInteger=Ox,I.toString=an,I.toUpper=MS,I.trim=FS,I.trimEnd=PS,I.trimStart=DS,I.truncate=LS,I.unescape=BS,I.uniqueId=l1,I.upperCase=NS,I.upperFirst=Wf,I.each=eg,I.eachRight=tg,I.first=Jh,$f(I,function(){var t={};return _i(I,function(i,u){Ht.call(I.prototype,u)||(t[u]=i)}),t}(),{chain:!1}),I.VERSION=a,Vn(["bind","bindKey","curry","curryRight","partial","partialRight"],function(t){I[t].placeholder=I}),Vn(["drop","take"],function(t,i){St.prototype[t]=function(u){u=u===n?1:vn(Tt(u),0);var m=this.__filtered__&&!i?new St(this):this.clone();return m.__filtered__?m.__takeCount__=bn(u,m.__takeCount__):m.__views__.push({size:bn(u,ue),type:t+(m.__dir__<0?"Right":"")}),m},St.prototype[t+"Right"]=function(u){return this.reverse()[t](u).reverse()}}),Vn(["filter","map","takeWhile"],function(t,i){var u=i+1,m=u==Be||u==He;St.prototype[t]=function(E){var O=this.clone();return O.__iteratees__.push({iteratee:st(E,3),type:u}),O.__filtered__=O.__filtered__||m,O}}),Vn(["head","last"],function(t,i){var u="take"+(i?"Right":"");St.prototype[t]=function(){return this[u](1).value()[0]}}),Vn(["initial","tail"],function(t,i){var u="drop"+(i?"":"Right");St.prototype[t]=function(){return this.__filtered__?new St(this):this[u](1)}}),St.prototype.compact=function(){return this.filter(Ri)},St.prototype.find=function(t){return this.filter(t).head()},St.prototype.findLast=function(t){return this.reverse().find(t)},St.prototype.invokeMap=bt(function(t,i){return typeof t=="function"?new St(this):this.map(function(u){return Wr(u,t,i)})}),St.prototype.reject=function(t){return this.filter(Id(st(t)))},St.prototype.slice=function(t,i){t=Tt(t);var u=this;return u.__filtered__&&(t>0||i<0)?new St(u):(t<0?u=u.takeRight(-t):t&&(u=u.drop(t)),i!==n&&(i=Tt(i),u=i<0?u.dropRight(-i):u.take(i-t)),u)},St.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()},St.prototype.toArray=function(){return this.take(ue)},_i(St.prototype,function(t,i){var u=/^(?:filter|find|map|reject)|While$/.test(i),m=/^(?:head|last)$/.test(i),E=I[m?"take"+(i=="last"?"Right":""):i],O=m||/^find/.test(i);E&&(I.prototype[i]=function(){var j=this.__wrapped__,$=m?[1]:arguments,J=j instanceof St,ce=$[0],de=J||Et(j),me=function(Nt){var Vt=E.apply(I,Er([Nt],$));return m&&De?Vt[0]:Vt};de&&u&&typeof ce=="function"&&ce.length!=1&&(J=de=!1);var De=this.__chain__,Xe=!!this.__actions__.length,lt=O&&!De,Ot=J&&!Xe;if(!O&&de){j=Ot?j:new St(this);var ut=t.apply(j,$);return ut.__actions__.push({func:Ed,args:[me],thisArg:n}),new sr(ut,De)}return lt&&Ot?t.apply(this,$):(ut=this.thru(me),lt?m?ut.value()[0]:ut.value():ut)})}),Vn(["pop","push","shift","sort","splice","unshift"],function(t){var i=Ua[t],u=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",m=/^(?:pop|shift)$/.test(t);I.prototype[t]=function(){var E=arguments;if(m&&!this.__chain__){var O=this.value();return i.apply(Et(O)?O:[],E)}return this[u](function(j){return i.apply(Et(j)?j:[],E)})}}),_i(St.prototype,function(t,i){var u=I[i];if(u){var m=u.name+"";Ht.call(ya,m)||(ya[m]=[]),ya[m].push({name:i,func:u})}}),ya[g(n,G).name]=[{name:"wrapper",func:n}],St.prototype.clone=nl,St.prototype.reverse=Mo,St.prototype.value=ls,I.prototype.at=hw,I.prototype.chain=gw,I.prototype.commit=mw,I.prototype.next=vw,I.prototype.plant=yw,I.prototype.reverse=ww,I.prototype.toJSON=I.prototype.valueOf=I.prototype.value=xw,I.prototype.first=I.prototype.head,Hi&&(I.prototype[Hi]=bw),I},Dn=Iu();Ui?((Ui.exports=Dn)._=Dn,go._=Dn):En._=Dn}).call(qn)}(td,td.exports);var Oa=td.exports;const $o=Symbol.for("@ts-pattern/matcher"),fv=Symbol.for("@ts-pattern/isVariadic"),nd="@ts-pattern/anonymous-select-key",Wd=r=>!!(r&&typeof r=="object"),rd=r=>r&&!!r[$o],lo=(r,e,n)=>{if(rd(r)){const a=r[$o](),{matched:o,selections:d}=a.match(e);return o&&d&&Object.keys(d).forEach(v=>n(v,d[v])),o}if(Wd(r)){if(!Wd(e))return!1;if(Array.isArray(r)){if(!Array.isArray(e))return!1;let a=[],o=[],d=[];for(const v of r.keys()){const _=r[v];rd(_)&&_[fv]?d.push(_):d.length?o.push(_):a.push(_)}if(d.length){if(d.length>1)throw new Error("Pattern error: Using `...P.array(...)` several times in a single pattern is not allowed.");if(e.length<a.length+o.length)return!1;const v=e.slice(0,a.length),_=o.length===0?[]:e.slice(-o.length),w=e.slice(a.length,o.length===0?1/0:-o.length);return a.every((C,N)=>lo(C,v[N],n))&&o.every((C,N)=>lo(C,_[N],n))&&(d.length===0||lo(d[0],w,n))}return r.length===e.length&&r.every((v,_)=>lo(v,e[_],n))}return Reflect.ownKeys(r).every(a=>{const o=r[a];return(a in e||rd(d=o)&&d[$o]().matcherType==="optional")&&lo(o,e[a],n);var d})}return Object.is(e,r)},Ls=r=>{var e,n,a;return Wd(r)?rd(r)?(e=(n=(a=r[$o]()).getSelectionKeys)==null?void 0:n.call(a))!=null?e:[]:Array.isArray(r)?hc(r,Ls):hc(Object.values(r),Ls):[]},hc=(r,e)=>r.reduce((n,a)=>n.concat(e(a)),[]);function ra(r){return Object.assign(r,{optional:()=>pv(r),and:e=>xn(r,e),or:e=>hv(r,e),select:e=>e===void 0?kp(r):kp(e,r)})}function pv(r){return ra({[$o]:()=>({match:e=>{let n={};const a=(o,d)=>{n[o]=d};return e===void 0?(Ls(r).forEach(o=>a(o,void 0)),{matched:!0,selections:n}):{matched:lo(r,e,a),selections:n}},getSelectionKeys:()=>Ls(r),matcherType:"optional"})})}function xn(...r){return ra({[$o]:()=>({match:e=>{let n={};const a=(o,d)=>{n[o]=d};return{matched:r.every(o=>lo(o,e,a)),selections:n}},getSelectionKeys:()=>hc(r,Ls),matcherType:"and"})})}function hv(...r){return ra({[$o]:()=>({match:e=>{let n={};const a=(o,d)=>{n[o]=d};return hc(r,Ls).forEach(o=>a(o,void 0)),{matched:r.some(o=>lo(o,e,a)),selections:n}},getSelectionKeys:()=>hc(r,Ls),matcherType:"or"})})}function Qt(r){return{[$o]:()=>({match:e=>({matched:!!r(e)})})}}function kp(...r){const e=typeof r[0]=="string"?r[0]:void 0,n=r.length===2?r[1]:typeof r[0]=="string"?void 0:r[0];return ra({[$o]:()=>({match:a=>{let o={[e??nd]:a};return{matched:n===void 0||lo(n,a,(d,v)=>{o[d]=v}),selections:o}},getSelectionKeys:()=>[e??nd].concat(n===void 0?[]:Ls(n))})})}function uo(r){return typeof r=="number"}function Bs(r){return typeof r=="string"}function Ns(r){return typeof r=="bigint"}ra(Qt(function(r){return!0}));const js=r=>Object.assign(ra(r),{startsWith:e=>{return js(xn(r,(n=e,Qt(a=>Bs(a)&&a.startsWith(n)))));var n},endsWith:e=>{return js(xn(r,(n=e,Qt(a=>Bs(a)&&a.endsWith(n)))));var n},minLength:e=>js(xn(r,(n=>Qt(a=>Bs(a)&&a.length>=n))(e))),length:e=>js(xn(r,(n=>Qt(a=>Bs(a)&&a.length===n))(e))),maxLength:e=>js(xn(r,(n=>Qt(a=>Bs(a)&&a.length<=n))(e))),includes:e=>{return js(xn(r,(n=e,Qt(a=>Bs(a)&&a.includes(n)))));var n},regex:e=>{return js(xn(r,(n=e,Qt(a=>Bs(a)&&!!a.match(n)))));var n}});js(Qt(Bs));const co=r=>Object.assign(ra(r),{between:(e,n)=>co(xn(r,((a,o)=>Qt(d=>uo(d)&&a<=d&&o>=d))(e,n))),lt:e=>co(xn(r,(n=>Qt(a=>uo(a)&&a<n))(e))),gt:e=>co(xn(r,(n=>Qt(a=>uo(a)&&a>n))(e))),lte:e=>co(xn(r,(n=>Qt(a=>uo(a)&&a<=n))(e))),gte:e=>co(xn(r,(n=>Qt(a=>uo(a)&&a>=n))(e))),int:()=>co(xn(r,Qt(e=>uo(e)&&Number.isInteger(e)))),finite:()=>co(xn(r,Qt(e=>uo(e)&&Number.isFinite(e)))),positive:()=>co(xn(r,Qt(e=>uo(e)&&e>0))),negative:()=>co(xn(r,Qt(e=>uo(e)&&e<0)))});co(Qt(uo));const zs=r=>Object.assign(ra(r),{between:(e,n)=>zs(xn(r,((a,o)=>Qt(d=>Ns(d)&&a<=d&&o>=d))(e,n))),lt:e=>zs(xn(r,(n=>Qt(a=>Ns(a)&&a<n))(e))),gt:e=>zs(xn(r,(n=>Qt(a=>Ns(a)&&a>n))(e))),lte:e=>zs(xn(r,(n=>Qt(a=>Ns(a)&&a<=n))(e))),gte:e=>zs(xn(r,(n=>Qt(a=>Ns(a)&&a>=n))(e))),positive:()=>zs(xn(r,Qt(e=>Ns(e)&&e>0))),negative:()=>zs(xn(r,Qt(e=>Ns(e)&&e<0)))});zs(Qt(Ns)),ra(Qt(function(r){return typeof r=="boolean"})),ra(Qt(function(r){return typeof r=="symbol"})),ra(Qt(function(r){return r==null})),ra(Qt(function(r){return r!=null}));class gv extends Error{constructor(e){let n;try{n=JSON.stringify(e)}catch{n=e}super(`Pattern matching error: no pattern matches value ${n}`),this.input=void 0,this.input=e}}const Vd={matched:!1,value:void 0};function mv(r){return new id(r,Vd)}class id{constructor(e,n){this.input=void 0,this.state=void 0,this.input=e,this.state=n}with(...e){if(this.state.matched)return this;const n=e[e.length-1],a=[e[0]];let o;e.length===3&&typeof e[1]=="function"?o=e[1]:e.length>2&&a.push(...e.slice(1,e.length-1));let d=!1,v={};const _=(C,N)=>{d=!0,v[C]=N},w=!a.some(C=>lo(C,this.input,_))||o&&!o(this.input)?Vd:{matched:!0,value:n(d?nd in v?v[nd]:v:this.input,this.input)};return new id(this.input,w)}when(e,n){if(this.state.matched)return this;const a=!!e(this.input);return new id(this.input,a?{matched:!0,value:n(this.input,this.input)}:Vd)}otherwise(e){return this.state.matched?this.state.value:e(this.input)}exhaustive(){if(this.state.matched)return this.state.value;throw new gv(this.input)}run(){return this.exhaustive()}returnType(){return this}}const Sf=class{constructor(e,n){Ut(this,"sexpVariables");Ut(this,"questionKeyToCalculationKeys");Ut(this,"response");Ut(this,"results",{});this.sexpVariables=e,this.questionKeyToCalculationKeys=vv(e),this.response=n,Object.keys(e).forEach(a=>{this.results[a]=this.calculate(this.sexpVariables[a].calculation)})}handleValueChanged(e){var n;(n=this.questionKeyToCalculationKeys[e])==null||n.forEach(a=>{this.results[a]=this.calculate(this.sexpVariables[a].calculation)})}calculate(e){return e.op==="string_value"?this.stringValue(e.key):this.calculateNumber(e)}calculateNumber(e){return mv(e).with({op:"number"},({value:n})=>n).with({op:"number_value"},({key:n})=>this.response.numberValue(n)).with({op:"sum"},({values:n})=>this.reduce(n,"sum")).with({op:"subtract"},({values:n})=>this.reduce(n,"subtract")).with({op:"multiply"},({values:n})=>this.reduce(n,"multiply")).with({op:"divide"},({values:n})=>this.reduce(n,"divide")).with({op:"round"},({value:n,digits:a})=>this.round(n,a)).exhaustive()}stringValue(e){const n=this.response.values[e];return(n==null?void 0:n.toString())??null}reduce(e,n){const a=e.map(o=>this.calculateNumber(o));return a.some(o=>o===null)?null:a.reduce(Sf.numberReducers[n])}round(e,n){const a=this.calculateNumber(e);return a===null?null:Number(a.toFixed(n))}};let ad=Sf;Ut(ad,"numberReducers",{sum:(e,n)=>e+n,multiply:(e,n)=>e*n,subtract:(e,n)=>e-n,divide:(e,n)=>e/n});function vv(r){const e={};for(const[n,a]of Object.entries(r))Hd(a.calculation).forEach(d=>{e[d]??(e[d]=new Set),e[d].add(n)});return e}function Hd(r){switch(r.op){case"number_value":case"string_value":return[r.key];case"sum":case"multiply":case"divide":case"subtract":return r.values.flatMap(e=>Hd(e));case"round":return Hd(r.value);case"number":return[]}}function bv(r,e,n){if(arguments.length<3)throw new TypeError("3 argument required, but only "+arguments.length+" present");var a=new Date(r,e,n);return a.getFullYear()===r&&a.getMonth()===e&&a.getDate()===n}const Ep=["requires_answer","minimum_checked_required","answer_group_minimum"];function Cp(r){switch(r.type){case"requires_answer":return new Tp(r);case"valid_integer":return new Ap(r);case"valid_float":return new Op(r);case"valid_date":return new Ip(r);case"minimum":return new Mp(r);case"maximum":return new Fp(r);case"minimum_date":return new Pp(r);case"maximum_date":return new Dp(r);case"minimum_checked_required":return new Lp(r);case"maximum_checked_allowed":return new Bp(r);case"answer_group_minimum":return new Np(r);case"answer_group_maximum":return new jp(r);case"regexp":return new zp(r)}}class hi{constructor(e){Ut(this,"config");this.config=e}}class Tp extends hi{validate(e){const n=e.getValidationFieldState(this.config.fieldKey);od(n.value)||n.addError({type:this.config.type,message:{t:"requires_answer"}})}}function od(r){if(r==null)return!1;if(typeof r=="string")return!!r;if(typeof r=="number")return!0;if(r instanceof Map)return ld(r);if("size"in r)return r.size>0;if("length"in r)return r.length>0;throw"Unexpected value type in validation"}function sd(r){return r===void 0||r===null||r===""?!1:typeof r=="string"}function Rp(r){return r===void 0||r===null?!1:typeof r=="number"}function ld(r){if(r===void 0||r===null)return!1;for(const[e,n]of r){if(typeof e!="string"||typeof n!="string")return!1;if(sd(n))return!0}return!1}const yv=/(\s*-?[1-9][0-9]+\s*|\s*-?[0-9]\s*)/;class Ip extends hi{validate(e){const n=e.getValidationFieldState(this.config.fieldKey);if(!ld(n.value))return;if(this.config.requiredParts.some(o=>!n.value.get(o))){n.addError({type:this.config.type,message:{t:`valid_date.${this.config.subtype}`}});return}const a=$d(n.value);(!a||!bv(a.year,a.month,a.day)||a.year<1900||a.year>2100||a.hour>23||a.minute>59)&&n.addError({type:this.config.type,message:{t:`valid_date.${this.config.subtype}`}})}}function $d(r){var e=function(n,a){const o=r.get(n);return o===void 0||o==""?a:parseInt(o,10)};return[...r.values()].some(n=>n&&!/^\d*$/.test(n))?null:{year:e("year",2e3),month:e("month",1)-1,day:e("day",1),hour:e("hour",0),minute:e("minute",0)}}class Ap extends hi{validate(e){const n=e.getValidationFieldState(this.config.fieldKey);if(!sd(n.value))return;const a=yv.exec(n.value);(a===null||a[0]!==n.value)&&n.addError({type:this.config.type,message:{t:"valid_integer"}})}}class Op extends hi{validate(e){const n=e.getValidationFieldState(this.config.fieldKey);if(!sd(n.value))return;const a=parseFloat(n.value);!isNaN(a)&&isFinite(a)||n.addError({type:this.config.type,message:{t:"valid_float"}})}}class Mp extends hi{validate(e){const n=e.getValidationFieldState(this.config.fieldKey);Rp(n.value)&&parseFloat(n.value)<this.config.value&&n.addError({type:this.config.type,message:{t:"minimum",value:this.config.value.toString()}})}}class Fp extends hi{validate(e){const n=e.getValidationFieldState(this.config.fieldKey);Rp(n.value)&&parseFloat(n.value)>this.config.value&&n.addError({type:this.config.type,message:{t:"maximum",value:this.config.value.toString()}})}}class Pp extends hi{validate(e){const n=e.getValidationFieldState(this.config.fieldKey);if(!ld(n.value))return;const a=$d(n.value);a&&new Date(a.year,a.month,a.hour)<new Date(this.config.value)&&n.addError({type:this.config.type,message:{t:"minimum_date",friendly_date:this.config.value}})}}class Dp extends hi{validate(e){const n=e.getValidationFieldState(this.config.fieldKey);if(!ld(n.value))return;const a=$d(n.value);a&&new Date(a.year,a.month,a.hour)>new Date(this.config.value)&&n.addError({type:this.config.type,message:{t:"maximum_date",friendly_date:this.config.value}})}}class Lp extends hi{validate(e){const n=e.getValidationFieldState(this.config.fieldKey);(!n.value||n.value.size<this.config.minimumCheckedValue)&&n.addError({type:this.config.type,message:{t:"minimum_checked_required",count:this.config.minimumCheckedValue}})}}class Bp extends hi{validate(e){const n=e.getValidationFieldState(this.config.fieldKey);od(n.value)&&n.value.size>this.config.maximumCheckedValue&&n.addError({type:this.config.type,message:{t:"maximum_checked_allowed",count:this.config.maximumCheckedValue}})}}class Np extends hi{validate(e){const n=this.config.fieldKeys.map(a=>e.getValidationFieldState(a));n.filter(a=>od(a.value)).length>=this.config.value||n.forEach(a=>{a.addError({type:this.config.type,message:{t:"answer_group_minimum",value:this.config.value}})})}}class jp extends hi{validate(e){const n=this.config.fieldKeys.map(a=>e.getValidationFieldState(a));n.filter(a=>od(a.value)).length<=this.config.value||n.forEach(a=>{a.addError({type:this.config.type,message:{t:"answer_group_maximum",value:this.config.value}})})}}class zp extends hi{validate(e){const n=e.getValidationFieldState(this.config.fieldKey);if(!sd(n.value))return;const a=this.config.matcher.replace("\\A","^").replace("\\Z","$"),d=new RegExp(a).exec(n.value);(d===null||d[0]!==n.value)&&n.addError({type:this.config.type,message:this.config.explanation||{t:"regexp",matcher:this.config.matcher}})}}const Up=er.coerce.number(),Wp=er.coerce.string(),Vp=er.preprocess(r=>r instanceof Array?new Set(r):r,er.set(er.string())),Hp=er.preprocess(r=>!(r instanceof Map)&&r instanceof Object?new Map(Object.entries(r)):r,er.map(Sp,er.string())),$p=er.record(er.boolean()),Gp=er.preprocess(r=>!(r instanceof Map)&&r instanceof Object?new Map(Object.entries(r)):r,er.map(er.string(),er.string()));class Gd{constructor(e,n){Ut(this,"questionnaire");Ut(this,"values");Ut(this,"originalValues");Ut(this,"beenActives");Ut(this,"errors");Ut(this,"visibility");Ut(this,"changeHandlers");Ut(this,"flags");Ut(this,"textvars");Ut(this,"activeQuestionKey");Ut(this,"calculations");this.questionnaire=e,this.values=n.value,this.originalValues={...n.value},this.beenActives=new Set,this.errors=new Map,this.visibility=new Map,this.changeHandlers=[],this.flags=n.flags,this.textvars=this.initTextvars(n.textvars),this.activeQuestionKey=null,this.validate(),this.calculateVisibility(),this.calculations=new ad(e.sexpVariables,this)}cleanValues(){const e=Object.keys(this.values).filter(n=>this.values[n]&&this.isVisible(n)&&!this.isDisabled(n));return Oa.pick(this.values,e)}onChange(e){this.changeHandlers.push(e)}offChange(e){Oa.pull(this.changeHandlers,e)}getFieldState(e){return{key:e,value:this.values[e],beenActive:this.beenActives.has(e),valid:(this.errors.get(e)||[]).length===0,errors:this.errors.get(e)||[],hidden:!this.isVisible(e),disabled:this.isDisabled(e),isActiveQuestion:this.activeQuestionKey===e,setAsActiveQuestion:()=>this.setActiveQuestion(e),setValue:n=>this.setValue(e,n)}}getValidationFieldState(e){return{value:this.values[e],addError:n=>this.addError(e,n)}}setTextvar(e,n){n?this.textvars.set(e,n):this.textvars.set(e,this.questionnaire.textvars.find(a=>a.key===e).default)}initTextvars(e){const n=new Map;for(const a of this.questionnaire.textvars)n.set(a.key,e.get(a.key)??a.default);for(const a of Object.values(this.questionnaire.questions)){const o=this.values[a.key];typeof o=="string"&&"setsTextvar"in a&&a.setsTextvar&&n.set(a.setsTextvar,o)}return n}setValue(e,n){const a=this.questionnaire.getField(e);this.values[e]=n,(n===null||typeof n=="string")&&"setsTextvar"in a&&a.setsTextvar&&this.setTextvar(a.setsTextvar,n),this.validate(),this.calculateVisibility(),this.calculations.handleValueChanged(e),this.changeHandlers.forEach(o=>o(this,"valueChanged"))}setActiveQuestion(e){this.activeQuestionKey!==e&&(this.activeQuestionKey&&this.touchField(this.activeQuestionKey),this.activeQuestionKey=e,this.changeHandlers.forEach(n=>n(this)))}addError(e,n){const a=this.errors.get(e)||[];a.push(n),this.errors.set(e,a)}valueHasChanged(){for(const e in this.questionnaire.questions){const n=Zp(this.values[e]),a=Zp(this.originalValues[e]);if(!Oa.isEqual(n,a))return!0}return!1}touchAllFields(){Object.values(this.questionnaire.questions).forEach(e=>{this.touchField(e.key)})}touchPanelFields(e){e.items.forEach(n=>{n.type==="question"&&this.touchField(n.key)})}touchField(e){if(this.beenActives.has(e))return;this.questionnaire.getQuestionsInSameGroup(e).forEach(a=>{this.beenActives.add(a.key),this.values[a.key]===void 0&&this.setValue(a.key,null)})}firstNotValidQuestionInPanel(e){const n=e.items.find(a=>{if(a.type!=="question"||!this.isVisible(a.key))return!1;if((this.errors.get(a.key)||[]).length>0)return!0});return(n==null?void 0:n.key)||null}firstNotValidQuestion(){const e=this.questionnaire.panels.find(n=>this.firstNotValidQuestionInPanel(n));return e==null?null:this.firstNotValidQuestionInPanel(e)}validate(){this.errors=new Map,this.questionnaire.validations.forEach(e=>{const n=Cp(e);n&&n.validate(this)})}validEnoughForForcedSave(){for(const e of this.errors.values())if(!e.every(n=>Ep.includes(n.type)))return!1;return!0}calculateVisibility(){this.visibility=new Map,this.questionnaire.visibilityRules.forEach(e=>{e.runAgainst(this)})}markShown(e){const n=this.visibility.get(e)||{shown:!1,hidden:!1};n.shown=!0,this.visibility.set(e,n)}markHidden(e){const n=this.visibility.get(e)||{shown:!1,hidden:!1};n.hidden=!0,this.visibility.set(e,n)}isDisabled(e){const n=this.questionnaire.getField(e);if(!n.parentKey||!n.parentOptionKey)return!1;const a=this.questionnaire.getField(n.parentKey),o=this.values[a.key];return a.type==="radio"?o!==n.parentOptionKey:a.type==="check_box"?!o||!o.has(n.parentOptionKey):!1}isVisible(e){const n=this.visibility.get(e)||{shown:!1,hidden:!1};return n.shown||!n.hidden}numberValue(e){if(!this.values[e])return null;switch(this.questionnaire.getField(e).type){case"integer":case"float":return this.values[e];case"select":case"radio":case"scale":return this.questionnaire.getOptionNumberValue(e,this.values[e])}return null}}function Zp(r){return r===""||r==null||r instanceof Set&&r.size===0||r instanceof Map&&r.size===0?null:r}const Yp=new Ud({key:"test",title:"test",language:"nl",panels:[],questions:{},visibilityRules:[],textvars:{},validations:[]}),wv=new Gd(Yp,{value:{},flags:{},textvars:new Map}),xv={displayMode:"paged",darkMode:!1,newLayout:!0},Sv=(r,e)=>null,Zd=Le.createContext({questionnaire:Yp,response:wv,setQuestionRef:Sv,displayOptions:xv});class Yd extends Error{}const Kp=(r,e)=>{let n=r.value;return Oa.isEmpty(n)&&!Oa.isEmpty(e.defaultAnswerValue)&&(n=e.defaultAnswerValue),{flags:$p.parse(r.flags),textvars:Gp.parse(r.textvars),value:_v(n,e)}},_v=(r,e)=>{const n=er.record(er.string(),er.any()).parse(r);return Object.values(e.questions).reduce((a,o)=>{const d=n[o.key];if(d==null)return a;switch(o.type){case"integer":case"float":a[o.key]=Up.parse(d);break;case"string":case"textarea":a[o.key]=Wp.parse(d);break;case"select":case"scale":case"radio":a[o.key]=kv(d,o);break;case"check_box":a[o.key]=Ev(d,o);break;case"date_parts":a[o.key]=Hp.parse(d);break}return a},{})},kv=(r,e)=>{if(e.children.some(n=>n.key===r))return er.string().parse(r);throw new Yd(`wrong option key ${r} present for ${e.key}`)},Ev=(r,e)=>{const n=Vp.parse(r);return n.forEach(a=>{if(!e.children.some(o=>o.key===a))throw new Yd(`wrong option key ${a} present for ${e.key}`)}),n},Jp=/\{\{((?<type>[a-z_]+)\.(?<textvar>[a-z0-9]+)|(?<textvaronly>[a-z0-9_]+))\}\}/g;class Qp{constructor(e,n){Ut(this,"response");Ut(this,"questionnaire");Ut(this,"stringToVariables");this.response=e,this.questionnaire=n,this.stringToVariables=new Map,this.interpolateCurlies=this.interpolateCurlies.bind(this)}interpolateCurlies(e){return this.stringToVariables.has(e)||this.stringToVariables.set(e,Array.from(e.matchAll(Jp)).map(n=>n.groups.textvar)),this.stringToVariables.get(e).length==0?e:e.replace(Jp,(...n)=>{var _;const{type:a,textvar:o,textvaronly:d}=n[n.length-1],v=a==="calculation"?(_=this.response.calculations.results[o])==null?void 0:_.toString():this.response.textvars.get(`${this.questionnaire.key}_${o||d}`);return Oa.escape(v||"")})}}var Kd={exports:{}},gc={};/**
|
|
39
|
+
}`;var Ot=Eg(function(){return Pt(O,Xe+"return "+me).apply(n,j)});if(Ot.source=me,Nf(Ot))throw Ot;return Ot}function MS(t){return an(t).toLowerCase()}function FS(t){return an(t).toUpperCase()}function PS(t,i,u){if(t=an(t),t&&(u||i===n))return xe(t);if(!t||!(i=yr(i)))return t;var m=Rr(t),E=Rr(i),O=Jt(m,E),j=Qn(m,E)+1;return di(m,O,j).join("")}function DS(t,i,u){if(t=an(t),t&&(u||i===n))return t.slice(0,Bl(t)+1);if(!t||!(i=yr(i)))return t;var m=Rr(t),E=Qn(m,Rr(i))+1;return di(m,0,E).join("")}function LS(t,i,u){if(t=an(t),t&&(u||i===n))return t.replace(rn,"");if(!t||!(i=yr(i)))return t;var m=Rr(t),E=Jt(m,Rr(i));return di(m,E).join("")}function BS(t,i){var u=Mt,m=ve;if(An(i)){var E="separator"in i?i.separator:E;u="length"in i?Tt(i.length):u,m="omission"in i?yr(i.omission):m}t=an(t);var O=t.length;if(So(t)){var j=Rr(t);O=j.length}if(u>=O)return t;var $=u-ko(m);if($<1)return m;var J=j?di(j,0,$).join(""):t.slice(0,$);if(E===n)return J+m;if(j&&($+=J.length-$),jf(E)){if(t.slice($).search(E)){var ce,de=J;for(E.global||(E=ha(E.source,an(kt.exec(E))+"g")),E.lastIndex=0;ce=E.exec(de);)var me=ce.index;J=J.slice(0,me===n?$:me)}}else if(t.indexOf(yr(E),$)!=$){var Le=J.lastIndexOf(E);Le>-1&&(J=J.slice(0,Le))}return J+m}function NS(t){return t=an(t),t&&hr.test(t)?t.replace(Mn,Ru):t}var jS=B(function(t,i,u){return t+(u?" ":"")+i.toUpperCase()}),Wf=M("toUpperCase");function kg(t,i,u){return t=an(t),i=u?n:i,i===n?yc(t)?_c(t):yo(t):t.match(i)||[]}var Eg=bt(function(t,i){try{return Cn(t,n,i)}catch(u){return Nf(u)?u:new ot(u)}}),zS=Cs(function(t,i){return Vn(i,function(u){u=Wo(u),$n(t,u,Lf(t[u],t))}),t});function US(t){var i=t==null?0:t.length,u=st();return t=i?qt(t,function(m){if(typeof m[1]!="function")throw new vr(v);return[u(m[0]),m[1]]}):[],bt(function(m){for(var E=-1;++E<i;){var O=t[E];if(Cn(O[0],this,m))return Cn(O[1],this,m)}})}function WS(t){return Ql(lr(t,L))}function Vf(t){return function(){return t}}function VS(t,i){return t==null||t!==t?i:t}var HS=c(),$S=c(!0);function Ri(t){return t}function Hf(t){return Bo(typeof t=="function"?t:lr(t,L))}function GS(t){return Qi(lr(t,L))}function ZS(t,i){return ci(t,lr(i,L))}var YS=bt(function(t,i){return function(u){return Wr(u,t,i)}}),KS=bt(function(t,i){return function(u){return Wr(t,u,i)}});function $f(t,i,u){var m=xr(i),E=fl(i,m);u==null&&!(An(i)&&(E.length||!m.length))&&(u=i,i=t,t=this,E=fl(i,xr(i)));var O=!(An(u)&&"chain"in u)||!!u.chain,j=Rs(t);return Vn(E,function($){var J=i[$];t[$]=J,j&&(t.prototype[$]=function(){var ce=this.__chain__;if(O||ce){var de=t(this.__wrapped__),me=de.__actions__=Zn(this.__actions__);return me.push({func:J,args:arguments,thisArg:t}),de.__chain__=ce,de}return J.apply(t,Er([this.value()],arguments))})}),t}function JS(){return En._===this&&(En._=dn),this}function Gf(){}function QS(t){return t=Tt(t),bt(function(i){return eo(i,t)})}var XS=D(qt),qS=D(bo),e1=D(fa);function Cg(t){return Af(t)?h(Wo(t)):su(t)}function t1(t){return function(i){return t==null?n:Qa(t,i)}}var n1=fe(),r1=fe(!0);function Zf(){return[]}function Yf(){return!1}function i1(){return{}}function a1(){return""}function o1(){return!0}function s1(t,i){if(t=Tt(t),t<1||t>ze)return[];var u=ue,m=bn(t,ue);i=st(i),t-=ue;for(var E=Q(m,i);++u<t;)i(u);return E}function l1(t){return Et(t)?qt(t,Wo):ea(t)?[t]:Zn(Gh(an(t)))}function u1(t){var i=++Au;return an(t)+i}var c1=T(function(t,i){return t+i},0),d1=it("ceil"),f1=T(function(t,i){return t/i},1),p1=it("floor");function h1(t){return t&&t.length?dl(t,Ri,cs):n}function g1(t,i){return t&&t.length?dl(t,st(i,2),cs):n}function m1(t){return Xo(t,Ri)}function v1(t,i){return Xo(t,st(i,2))}function b1(t){return t&&t.length?dl(t,Ri,ui):n}function y1(t,i){return t&&t.length?dl(t,st(i,2),ui):n}var w1=T(function(t,i){return t*i},1),x1=it("round"),S1=T(function(t,i){return t-i},0);function _1(t){return t&&t.length?q(t,Ri):0}function k1(t,i){return t&&t.length?q(t,st(i,2)):0}return I.after=Gw,I.ary=rg,I.assign=Fx,I.assignIn=vg,I.assignInWith=Md,I.assignWith=Px,I.at=Dx,I.before=ig,I.bind=Lf,I.bindAll=zS,I.bindKey=ag,I.castArray=ix,I.chain=eg,I.chunk=p0,I.compact=h0,I.concat=g0,I.cond=US,I.conforms=WS,I.constant=Vf,I.countBy=_w,I.create=Lx,I.curry=og,I.curryRight=sg,I.debounce=lg,I.defaults=Bx,I.defaultsDeep=Nx,I.defer=Zw,I.delay=Yw,I.difference=m0,I.differenceBy=v0,I.differenceWith=b0,I.drop=y0,I.dropRight=w0,I.dropRightWhile=x0,I.dropWhile=S0,I.fill=_0,I.filter=Ew,I.flatMap=Rw,I.flatMapDeep=Iw,I.flatMapDepth=Aw,I.flatten=Jh,I.flattenDeep=k0,I.flattenDepth=E0,I.flip=Kw,I.flow=HS,I.flowRight=$S,I.fromPairs=C0,I.functions=$x,I.functionsIn=Gx,I.groupBy=Ow,I.initial=R0,I.intersection=I0,I.intersectionBy=A0,I.intersectionWith=O0,I.invert=Yx,I.invertBy=Kx,I.invokeMap=Fw,I.iteratee=Hf,I.keyBy=Pw,I.keys=xr,I.keysIn=Ti,I.map=Cd,I.mapKeys=Qx,I.mapValues=Xx,I.matches=GS,I.matchesProperty=ZS,I.memoize=Rd,I.merge=qx,I.mergeWith=bg,I.method=YS,I.methodOf=KS,I.mixin=$f,I.negate=Id,I.nthArg=QS,I.omit=eS,I.omitBy=tS,I.once=Jw,I.orderBy=Dw,I.over=XS,I.overArgs=Qw,I.overEvery=qS,I.overSome=e1,I.partial=Bf,I.partialRight=ug,I.partition=Lw,I.pick=nS,I.pickBy=yg,I.property=Cg,I.propertyOf=t1,I.pull=D0,I.pullAll=Xh,I.pullAllBy=L0,I.pullAllWith=B0,I.pullAt=N0,I.range=n1,I.rangeRight=r1,I.rearg=Xw,I.reject=jw,I.remove=j0,I.rest=qw,I.reverse=Pf,I.sampleSize=Uw,I.set=iS,I.setWith=aS,I.shuffle=Ww,I.slice=z0,I.sortBy=$w,I.sortedUniq=Z0,I.sortedUniqBy=Y0,I.split=RS,I.spread=ex,I.tail=K0,I.take=J0,I.takeRight=Q0,I.takeRightWhile=X0,I.takeWhile=q0,I.tap=hw,I.throttle=tx,I.thru=Ed,I.toArray=hg,I.toPairs=wg,I.toPairsIn=xg,I.toPath=l1,I.toPlainObject=mg,I.transform=oS,I.unary=nx,I.union=ew,I.unionBy=tw,I.unionWith=nw,I.uniq=rw,I.uniqBy=iw,I.uniqWith=aw,I.unset=sS,I.unzip=Df,I.unzipWith=qh,I.update=lS,I.updateWith=uS,I.values=Qu,I.valuesIn=cS,I.without=ow,I.words=kg,I.wrap=rx,I.xor=sw,I.xorBy=lw,I.xorWith=uw,I.zip=cw,I.zipObject=dw,I.zipObjectDeep=fw,I.zipWith=pw,I.entries=wg,I.entriesIn=xg,I.extend=vg,I.extendWith=Md,$f(I,I),I.add=c1,I.attempt=Eg,I.camelCase=hS,I.capitalize=Sg,I.ceil=d1,I.clamp=dS,I.clone=ax,I.cloneDeep=sx,I.cloneDeepWith=lx,I.cloneWith=ox,I.conformsTo=ux,I.deburr=_g,I.defaultTo=VS,I.divide=f1,I.endsWith=gS,I.eq=ro,I.escape=mS,I.escapeRegExp=vS,I.every=kw,I.find=Cw,I.findIndex=Yh,I.findKey=jx,I.findLast=Tw,I.findLastIndex=Kh,I.findLastKey=zx,I.floor=p1,I.forEach=tg,I.forEachRight=ng,I.forIn=Ux,I.forInRight=Wx,I.forOwn=Vx,I.forOwnRight=Hx,I.get=zf,I.gt=cx,I.gte=dx,I.has=Zx,I.hasIn=Uf,I.head=Qh,I.identity=Ri,I.includes=Mw,I.indexOf=T0,I.inRange=fS,I.invoke=Jx,I.isArguments=yu,I.isArray=Et,I.isArrayBuffer=fx,I.isArrayLike=Ci,I.isArrayLikeObject=Yn,I.isBoolean=px,I.isBuffer=kl,I.isDate=hx,I.isElement=gx,I.isEmpty=mx,I.isEqual=vx,I.isEqualWith=bx,I.isError=Nf,I.isFinite=yx,I.isFunction=Rs,I.isInteger=cg,I.isLength=Ad,I.isMap=dg,I.isMatch=wx,I.isMatchWith=xx,I.isNaN=Sx,I.isNative=_x,I.isNil=Ex,I.isNull=kx,I.isNumber=fg,I.isObject=An,I.isObjectLike=Bn,I.isPlainObject=Lc,I.isRegExp=jf,I.isSafeInteger=Cx,I.isSet=pg,I.isString=Od,I.isSymbol=ea,I.isTypedArray=Ju,I.isUndefined=Tx,I.isWeakMap=Rx,I.isWeakSet=Ix,I.join=M0,I.kebabCase=bS,I.last=Ea,I.lastIndexOf=F0,I.lowerCase=yS,I.lowerFirst=wS,I.lt=Ax,I.lte=Ox,I.max=h1,I.maxBy=g1,I.mean=m1,I.meanBy=v1,I.min=b1,I.minBy=y1,I.stubArray=Zf,I.stubFalse=Yf,I.stubObject=i1,I.stubString=a1,I.stubTrue=o1,I.multiply=w1,I.nth=P0,I.noConflict=JS,I.noop=Gf,I.now=Td,I.pad=xS,I.padEnd=SS,I.padStart=_S,I.parseInt=kS,I.random=pS,I.reduce=Bw,I.reduceRight=Nw,I.repeat=ES,I.replace=CS,I.result=rS,I.round=x1,I.runInContext=Y,I.sample=zw,I.size=Vw,I.snakeCase=TS,I.some=Hw,I.sortedIndex=U0,I.sortedIndexBy=W0,I.sortedIndexOf=V0,I.sortedLastIndex=H0,I.sortedLastIndexBy=$0,I.sortedLastIndexOf=G0,I.startCase=IS,I.startsWith=AS,I.subtract=S1,I.sum=_1,I.sumBy=k1,I.template=OS,I.times=s1,I.toFinite=Is,I.toInteger=Tt,I.toLength=gg,I.toLower=MS,I.toNumber=Ca,I.toSafeInteger=Mx,I.toString=an,I.toUpper=FS,I.trim=PS,I.trimEnd=DS,I.trimStart=LS,I.truncate=BS,I.unescape=NS,I.uniqueId=u1,I.upperCase=jS,I.upperFirst=Wf,I.each=tg,I.eachRight=ng,I.first=Qh,$f(I,function(){var t={};return _i(I,function(i,u){Ht.call(I.prototype,u)||(t[u]=i)}),t}(),{chain:!1}),I.VERSION=a,Vn(["bind","bindKey","curry","curryRight","partial","partialRight"],function(t){I[t].placeholder=I}),Vn(["drop","take"],function(t,i){St.prototype[t]=function(u){u=u===n?1:vn(Tt(u),0);var m=this.__filtered__&&!i?new St(this):this.clone();return m.__filtered__?m.__takeCount__=bn(u,m.__takeCount__):m.__views__.push({size:bn(u,ue),type:t+(m.__dir__<0?"Right":"")}),m},St.prototype[t+"Right"]=function(u){return this.reverse()[t](u).reverse()}}),Vn(["filter","map","takeWhile"],function(t,i){var u=i+1,m=u==Be||u==He;St.prototype[t]=function(E){var O=this.clone();return O.__iteratees__.push({iteratee:st(E,3),type:u}),O.__filtered__=O.__filtered__||m,O}}),Vn(["head","last"],function(t,i){var u="take"+(i?"Right":"");St.prototype[t]=function(){return this[u](1).value()[0]}}),Vn(["initial","tail"],function(t,i){var u="drop"+(i?"":"Right");St.prototype[t]=function(){return this.__filtered__?new St(this):this[u](1)}}),St.prototype.compact=function(){return this.filter(Ri)},St.prototype.find=function(t){return this.filter(t).head()},St.prototype.findLast=function(t){return this.reverse().find(t)},St.prototype.invokeMap=bt(function(t,i){return typeof t=="function"?new St(this):this.map(function(u){return Wr(u,t,i)})}),St.prototype.reject=function(t){return this.filter(Id(st(t)))},St.prototype.slice=function(t,i){t=Tt(t);var u=this;return u.__filtered__&&(t>0||i<0)?new St(u):(t<0?u=u.takeRight(-t):t&&(u=u.drop(t)),i!==n&&(i=Tt(i),u=i<0?u.dropRight(-i):u.take(i-t)),u)},St.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()},St.prototype.toArray=function(){return this.take(ue)},_i(St.prototype,function(t,i){var u=/^(?:filter|find|map|reject)|While$/.test(i),m=/^(?:head|last)$/.test(i),E=I[m?"take"+(i=="last"?"Right":""):i],O=m||/^find/.test(i);E&&(I.prototype[i]=function(){var j=this.__wrapped__,$=m?[1]:arguments,J=j instanceof St,ce=$[0],de=J||Et(j),me=function(Nt){var Vt=E.apply(I,Er([Nt],$));return m&&Le?Vt[0]:Vt};de&&u&&typeof ce=="function"&&ce.length!=1&&(J=de=!1);var Le=this.__chain__,Xe=!!this.__actions__.length,lt=O&&!Le,Ot=J&&!Xe;if(!O&&de){j=Ot?j:new St(this);var ut=t.apply(j,$);return ut.__actions__.push({func:Ed,args:[me],thisArg:n}),new sr(ut,Le)}return lt&&Ot?t.apply(this,$):(ut=this.thru(me),lt?m?ut.value()[0]:ut.value():ut)})}),Vn(["pop","push","shift","sort","splice","unshift"],function(t){var i=Ua[t],u=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",m=/^(?:pop|shift)$/.test(t);I.prototype[t]=function(){var E=arguments;if(m&&!this.__chain__){var O=this.value();return i.apply(Et(O)?O:[],E)}return this[u](function(j){return i.apply(Et(j)?j:[],E)})}}),_i(St.prototype,function(t,i){var u=I[i];if(u){var m=u.name+"";Ht.call(ya,m)||(ya[m]=[]),ya[m].push({name:i,func:u})}}),ya[g(n,G).name]=[{name:"wrapper",func:n}],St.prototype.clone=nl,St.prototype.reverse=Mo,St.prototype.value=ls,I.prototype.at=gw,I.prototype.chain=mw,I.prototype.commit=vw,I.prototype.next=bw,I.prototype.plant=ww,I.prototype.reverse=xw,I.prototype.toJSON=I.prototype.valueOf=I.prototype.value=Sw,I.prototype.first=I.prototype.head,Hi&&(I.prototype[Hi]=yw),I},Dn=Iu();Ui?((Ui.exports=Dn)._=Dn,go._=Dn):En._=Dn}).call(qn)}(td,td.exports);var Oa=td.exports;const $o=Symbol.for("@ts-pattern/matcher"),pv=Symbol.for("@ts-pattern/isVariadic"),nd="@ts-pattern/anonymous-select-key",Wd=r=>!!(r&&typeof r=="object"),rd=r=>r&&!!r[$o],lo=(r,e,n)=>{if(rd(r)){const a=r[$o](),{matched:o,selections:d}=a.match(e);return o&&d&&Object.keys(d).forEach(v=>n(v,d[v])),o}if(Wd(r)){if(!Wd(e))return!1;if(Array.isArray(r)){if(!Array.isArray(e))return!1;let a=[],o=[],d=[];for(const v of r.keys()){const _=r[v];rd(_)&&_[pv]?d.push(_):d.length?o.push(_):a.push(_)}if(d.length){if(d.length>1)throw new Error("Pattern error: Using `...P.array(...)` several times in a single pattern is not allowed.");if(e.length<a.length+o.length)return!1;const v=e.slice(0,a.length),_=o.length===0?[]:e.slice(-o.length),w=e.slice(a.length,o.length===0?1/0:-o.length);return a.every((C,N)=>lo(C,v[N],n))&&o.every((C,N)=>lo(C,_[N],n))&&(d.length===0||lo(d[0],w,n))}return r.length===e.length&&r.every((v,_)=>lo(v,e[_],n))}return Reflect.ownKeys(r).every(a=>{const o=r[a];return(a in e||rd(d=o)&&d[$o]().matcherType==="optional")&&lo(o,e[a],n);var d})}return Object.is(e,r)},Ls=r=>{var e,n,a;return Wd(r)?rd(r)?(e=(n=(a=r[$o]()).getSelectionKeys)==null?void 0:n.call(a))!=null?e:[]:Array.isArray(r)?hc(r,Ls):hc(Object.values(r),Ls):[]},hc=(r,e)=>r.reduce((n,a)=>n.concat(e(a)),[]);function ra(r){return Object.assign(r,{optional:()=>hv(r),and:e=>xn(r,e),or:e=>gv(r,e),select:e=>e===void 0?kp(r):kp(e,r)})}function hv(r){return ra({[$o]:()=>({match:e=>{let n={};const a=(o,d)=>{n[o]=d};return e===void 0?(Ls(r).forEach(o=>a(o,void 0)),{matched:!0,selections:n}):{matched:lo(r,e,a),selections:n}},getSelectionKeys:()=>Ls(r),matcherType:"optional"})})}function xn(...r){return ra({[$o]:()=>({match:e=>{let n={};const a=(o,d)=>{n[o]=d};return{matched:r.every(o=>lo(o,e,a)),selections:n}},getSelectionKeys:()=>hc(r,Ls),matcherType:"and"})})}function gv(...r){return ra({[$o]:()=>({match:e=>{let n={};const a=(o,d)=>{n[o]=d};return hc(r,Ls).forEach(o=>a(o,void 0)),{matched:r.some(o=>lo(o,e,a)),selections:n}},getSelectionKeys:()=>hc(r,Ls),matcherType:"or"})})}function Qt(r){return{[$o]:()=>({match:e=>({matched:!!r(e)})})}}function kp(...r){const e=typeof r[0]=="string"?r[0]:void 0,n=r.length===2?r[1]:typeof r[0]=="string"?void 0:r[0];return ra({[$o]:()=>({match:a=>{let o={[e??nd]:a};return{matched:n===void 0||lo(n,a,(d,v)=>{o[d]=v}),selections:o}},getSelectionKeys:()=>[e??nd].concat(n===void 0?[]:Ls(n))})})}function uo(r){return typeof r=="number"}function Bs(r){return typeof r=="string"}function Ns(r){return typeof r=="bigint"}ra(Qt(function(r){return!0}));const js=r=>Object.assign(ra(r),{startsWith:e=>{return js(xn(r,(n=e,Qt(a=>Bs(a)&&a.startsWith(n)))));var n},endsWith:e=>{return js(xn(r,(n=e,Qt(a=>Bs(a)&&a.endsWith(n)))));var n},minLength:e=>js(xn(r,(n=>Qt(a=>Bs(a)&&a.length>=n))(e))),length:e=>js(xn(r,(n=>Qt(a=>Bs(a)&&a.length===n))(e))),maxLength:e=>js(xn(r,(n=>Qt(a=>Bs(a)&&a.length<=n))(e))),includes:e=>{return js(xn(r,(n=e,Qt(a=>Bs(a)&&a.includes(n)))));var n},regex:e=>{return js(xn(r,(n=e,Qt(a=>Bs(a)&&!!a.match(n)))));var n}});js(Qt(Bs));const co=r=>Object.assign(ra(r),{between:(e,n)=>co(xn(r,((a,o)=>Qt(d=>uo(d)&&a<=d&&o>=d))(e,n))),lt:e=>co(xn(r,(n=>Qt(a=>uo(a)&&a<n))(e))),gt:e=>co(xn(r,(n=>Qt(a=>uo(a)&&a>n))(e))),lte:e=>co(xn(r,(n=>Qt(a=>uo(a)&&a<=n))(e))),gte:e=>co(xn(r,(n=>Qt(a=>uo(a)&&a>=n))(e))),int:()=>co(xn(r,Qt(e=>uo(e)&&Number.isInteger(e)))),finite:()=>co(xn(r,Qt(e=>uo(e)&&Number.isFinite(e)))),positive:()=>co(xn(r,Qt(e=>uo(e)&&e>0))),negative:()=>co(xn(r,Qt(e=>uo(e)&&e<0)))});co(Qt(uo));const zs=r=>Object.assign(ra(r),{between:(e,n)=>zs(xn(r,((a,o)=>Qt(d=>Ns(d)&&a<=d&&o>=d))(e,n))),lt:e=>zs(xn(r,(n=>Qt(a=>Ns(a)&&a<n))(e))),gt:e=>zs(xn(r,(n=>Qt(a=>Ns(a)&&a>n))(e))),lte:e=>zs(xn(r,(n=>Qt(a=>Ns(a)&&a<=n))(e))),gte:e=>zs(xn(r,(n=>Qt(a=>Ns(a)&&a>=n))(e))),positive:()=>zs(xn(r,Qt(e=>Ns(e)&&e>0))),negative:()=>zs(xn(r,Qt(e=>Ns(e)&&e<0)))});zs(Qt(Ns)),ra(Qt(function(r){return typeof r=="boolean"})),ra(Qt(function(r){return typeof r=="symbol"})),ra(Qt(function(r){return r==null})),ra(Qt(function(r){return r!=null}));class mv extends Error{constructor(e){let n;try{n=JSON.stringify(e)}catch{n=e}super(`Pattern matching error: no pattern matches value ${n}`),this.input=void 0,this.input=e}}const Vd={matched:!1,value:void 0};function vv(r){return new id(r,Vd)}class id{constructor(e,n){this.input=void 0,this.state=void 0,this.input=e,this.state=n}with(...e){if(this.state.matched)return this;const n=e[e.length-1],a=[e[0]];let o;e.length===3&&typeof e[1]=="function"?o=e[1]:e.length>2&&a.push(...e.slice(1,e.length-1));let d=!1,v={};const _=(C,N)=>{d=!0,v[C]=N},w=!a.some(C=>lo(C,this.input,_))||o&&!o(this.input)?Vd:{matched:!0,value:n(d?nd in v?v[nd]:v:this.input,this.input)};return new id(this.input,w)}when(e,n){if(this.state.matched)return this;const a=!!e(this.input);return new id(this.input,a?{matched:!0,value:n(this.input,this.input)}:Vd)}otherwise(e){return this.state.matched?this.state.value:e(this.input)}exhaustive(){if(this.state.matched)return this.state.value;throw new mv(this.input)}run(){return this.exhaustive()}returnType(){return this}}const Sf=class{constructor(e,n){jt(this,"sexpVariables");jt(this,"questionKeyToCalculationKeys");jt(this,"response");jt(this,"results",{});this.sexpVariables=e,this.questionKeyToCalculationKeys=bv(e),this.response=n,Object.keys(e).forEach(a=>{this.results[a]=this.calculate(this.sexpVariables[a].calculation)})}handleValueChanged(e){var n;(n=this.questionKeyToCalculationKeys[e])==null||n.forEach(a=>{this.results[a]=this.calculate(this.sexpVariables[a].calculation)})}calculate(e){return e.op==="string_value"?this.stringValue(e.key):this.calculateNumber(e)}calculateNumber(e){return vv(e).with({op:"number"},({value:n})=>n).with({op:"number_value"},({key:n})=>this.response.numberValue(n)).with({op:"sum"},({values:n})=>this.reduce(n,"sum")).with({op:"subtract"},({values:n})=>this.reduce(n,"subtract")).with({op:"multiply"},({values:n})=>this.reduce(n,"multiply")).with({op:"divide"},({values:n})=>this.reduce(n,"divide")).with({op:"round"},({value:n,digits:a})=>this.round(n,a)).exhaustive()}stringValue(e){const n=this.response.values[e];return(n==null?void 0:n.toString())??null}reduce(e,n){const a=e.map(o=>this.calculateNumber(o));return a.some(o=>o===null)?null:a.reduce(Sf.numberReducers[n])}round(e,n){const a=this.calculateNumber(e);return a===null?null:Number(a.toFixed(n))}};let ad=Sf;jt(ad,"numberReducers",{sum:(e,n)=>e+n,multiply:(e,n)=>e*n,subtract:(e,n)=>e-n,divide:(e,n)=>e/n});function bv(r){const e={};for(const[n,a]of Object.entries(r))Hd(a.calculation).forEach(d=>{e[d]??(e[d]=new Set),e[d].add(n)});return e}function Hd(r){switch(r.op){case"number_value":case"string_value":return[r.key];case"sum":case"multiply":case"divide":case"subtract":return r.values.flatMap(e=>Hd(e));case"round":return Hd(r.value);case"number":return[]}}function yv(r,e,n){if(arguments.length<3)throw new TypeError("3 argument required, but only "+arguments.length+" present");var a=new Date(r,e,n);return a.getFullYear()===r&&a.getMonth()===e&&a.getDate()===n}const Ep=["requires_answer","minimum_checked_required","answer_group_minimum"];function Cp(r){switch(r.type){case"requires_answer":return new Tp(r);case"valid_integer":return new Ap(r);case"valid_float":return new Op(r);case"valid_date":return new Ip(r);case"minimum":return new Mp(r);case"maximum":return new Fp(r);case"minimum_date":return new Pp(r);case"maximum_date":return new Dp(r);case"minimum_checked_required":return new Lp(r);case"maximum_checked_allowed":return new Bp(r);case"answer_group_minimum":return new Np(r);case"answer_group_maximum":return new jp(r);case"regexp":return new zp(r)}}class hi{constructor(e){jt(this,"config");this.config=e}}class Tp extends hi{validate(e){const n=e.getValidationFieldState(this.config.fieldKey);od(n.value)||n.addError({type:this.config.type,message:{t:"requires_answer"}})}}function od(r){if(r==null)return!1;if(typeof r=="string")return!!r;if(typeof r=="number")return!0;if(r instanceof Map)return ld(r);if("size"in r)return r.size>0;if("length"in r)return r.length>0;throw"Unexpected value type in validation"}function sd(r){return r===void 0||r===null||r===""?!1:typeof r=="string"}function Rp(r){return r===void 0||r===null?!1:typeof r=="number"}function ld(r){if(r===void 0||r===null)return!1;for(const[e,n]of r){if(typeof e!="string"||typeof n!="string")return!1;if(sd(n))return!0}return!1}const wv=/(\s*-?[1-9][0-9]+\s*|\s*-?[0-9]\s*)/;class Ip extends hi{validate(e){const n=e.getValidationFieldState(this.config.fieldKey);if(!ld(n.value))return;if(this.config.requiredParts.some(o=>!n.value.get(o))){n.addError({type:this.config.type,message:{t:`valid_date.${this.config.subtype}`}});return}const a=$d(n.value);(!a||!yv(a.year,a.month,a.day)||a.year<1900||a.year>2100||a.hour>23||a.minute>59)&&n.addError({type:this.config.type,message:{t:`valid_date.${this.config.subtype}`}})}}function $d(r){var e=function(n,a){const o=r.get(n);return o===void 0||o==""?a:parseInt(o,10)};return[...r.values()].some(n=>n&&!/^\d*$/.test(n))?null:{year:e("year",2e3),month:e("month",1)-1,day:e("day",1),hour:e("hour",0),minute:e("minute",0)}}class Ap extends hi{validate(e){const n=e.getValidationFieldState(this.config.fieldKey);if(!sd(n.value))return;const a=wv.exec(n.value);(a===null||a[0]!==n.value)&&n.addError({type:this.config.type,message:{t:"valid_integer"}})}}class Op extends hi{validate(e){const n=e.getValidationFieldState(this.config.fieldKey);if(!sd(n.value))return;const a=parseFloat(n.value);!isNaN(a)&&isFinite(a)||n.addError({type:this.config.type,message:{t:"valid_float"}})}}class Mp extends hi{validate(e){const n=e.getValidationFieldState(this.config.fieldKey);Rp(n.value)&&parseFloat(n.value)<this.config.value&&n.addError({type:this.config.type,message:{t:"minimum",value:this.config.value.toString()}})}}class Fp extends hi{validate(e){const n=e.getValidationFieldState(this.config.fieldKey);Rp(n.value)&&parseFloat(n.value)>this.config.value&&n.addError({type:this.config.type,message:{t:"maximum",value:this.config.value.toString()}})}}class Pp extends hi{validate(e){const n=e.getValidationFieldState(this.config.fieldKey);if(!ld(n.value))return;const a=$d(n.value);a&&new Date(a.year,a.month,a.hour)<new Date(this.config.value)&&n.addError({type:this.config.type,message:{t:"minimum_date",friendly_date:this.config.value}})}}class Dp extends hi{validate(e){const n=e.getValidationFieldState(this.config.fieldKey);if(!ld(n.value))return;const a=$d(n.value);a&&new Date(a.year,a.month,a.hour)>new Date(this.config.value)&&n.addError({type:this.config.type,message:{t:"maximum_date",friendly_date:this.config.value}})}}class Lp extends hi{validate(e){const n=e.getValidationFieldState(this.config.fieldKey);(!n.value||n.value.size<this.config.minimumCheckedValue)&&n.addError({type:this.config.type,message:{t:"minimum_checked_required",count:this.config.minimumCheckedValue}})}}class Bp extends hi{validate(e){const n=e.getValidationFieldState(this.config.fieldKey);od(n.value)&&n.value.size>this.config.maximumCheckedValue&&n.addError({type:this.config.type,message:{t:"maximum_checked_allowed",count:this.config.maximumCheckedValue}})}}class Np extends hi{validate(e){const n=this.config.fieldKeys.map(a=>e.getValidationFieldState(a));n.filter(a=>od(a.value)).length>=this.config.value||n.forEach(a=>{a.addError({type:this.config.type,message:{t:"answer_group_minimum",value:this.config.value}})})}}class jp extends hi{validate(e){const n=this.config.fieldKeys.map(a=>e.getValidationFieldState(a));n.filter(a=>od(a.value)).length<=this.config.value||n.forEach(a=>{a.addError({type:this.config.type,message:{t:"answer_group_maximum",value:this.config.value}})})}}class zp extends hi{validate(e){const n=e.getValidationFieldState(this.config.fieldKey);if(!sd(n.value))return;const a=this.config.matcher.replace("\\A","^").replace("\\Z","$"),d=new RegExp(a).exec(n.value);(d===null||d[0]!==n.value)&&n.addError({type:this.config.type,message:this.config.explanation||{t:"regexp",matcher:this.config.matcher}})}}const Up=er.coerce.number(),Wp=er.coerce.string(),Vp=er.preprocess(r=>r instanceof Array?new Set(r):r,er.set(er.string())),Hp=er.preprocess(r=>!(r instanceof Map)&&r instanceof Object?new Map(Object.entries(r)):r,er.map(Sp,er.string())),$p=er.record(er.boolean()),Gp=er.preprocess(r=>!(r instanceof Map)&&r instanceof Object?new Map(Object.entries(r)):r,er.map(er.string(),er.string()));class Gd{constructor(e,n){jt(this,"questionnaire");jt(this,"values");jt(this,"originalValues");jt(this,"beenActives");jt(this,"errors");jt(this,"visibility");jt(this,"changeHandlers");jt(this,"flags");jt(this,"textvars");jt(this,"activeQuestionKey");jt(this,"calculations");this.questionnaire=e,this.values=n.value,this.originalValues={...n.value},this.beenActives=new Set,this.errors=new Map,this.visibility=new Map,this.changeHandlers=[],this.flags=n.flags,this.textvars=this.initTextvars(n.textvars),this.activeQuestionKey=null,this.validate(),this.calculateVisibility(),this.calculations=new ad(e.sexpVariables,this)}cleanValues(){const e=Object.keys(this.values).filter(n=>this.values[n]&&this.isVisible(n)&&!this.isDisabled(n));return Oa.pick(this.values,e)}onChange(e){this.changeHandlers.push(e)}offChange(e){Oa.pull(this.changeHandlers,e)}getFieldState(e){return{key:e,value:this.values[e],beenActive:this.beenActives.has(e),valid:(this.errors.get(e)||[]).length===0,errors:this.errors.get(e)||[],hidden:!this.isVisible(e),disabled:this.isDisabled(e),isActiveQuestion:this.activeQuestionKey===e,setAsActiveQuestion:()=>this.setActiveQuestion(e),setValue:n=>this.setValue(e,n)}}getValidationFieldState(e){return{value:this.values[e],addError:n=>this.addError(e,n)}}setTextvar(e,n){n?this.textvars.set(e,n):this.textvars.set(e,this.questionnaire.textvars.find(a=>a.key===e).default)}initTextvars(e){const n=new Map;for(const a of this.questionnaire.textvars)n.set(a.key,e.get(a.key)??a.default);for(const a of Object.values(this.questionnaire.questions)){const o=this.values[a.key];typeof o=="string"&&"setsTextvar"in a&&a.setsTextvar&&n.set(a.setsTextvar,o)}return n}setValue(e,n){const a=this.questionnaire.getField(e);this.values[e]=n,(n===null||typeof n=="string")&&"setsTextvar"in a&&a.setsTextvar&&this.setTextvar(a.setsTextvar,n),this.validate(),this.calculateVisibility(),this.calculations.handleValueChanged(e),this.changeHandlers.forEach(o=>o(this,"valueChanged"))}setActiveQuestion(e){this.activeQuestionKey!==e&&(this.activeQuestionKey&&this.touchField(this.activeQuestionKey),this.activeQuestionKey=e,this.changeHandlers.forEach(n=>n(this)))}addError(e,n){const a=this.errors.get(e)||[];a.push(n),this.errors.set(e,a)}valueHasChanged(){for(const e in this.questionnaire.questions){const n=Zp(this.values[e]),a=Zp(this.originalValues[e]);if(!Oa.isEqual(n,a))return!0}return!1}touchAllFields(){Object.values(this.questionnaire.questions).forEach(e=>{this.touchField(e.key)})}touchPanelFields(e){e.items.forEach(n=>{n.type==="question"&&this.touchField(n.key)})}touchField(e){if(this.beenActives.has(e))return;this.questionnaire.getQuestionsInSameGroup(e).forEach(a=>{this.beenActives.add(a.key),this.values[a.key]===void 0&&this.setValue(a.key,null)})}firstNotValidQuestionInPanel(e){const n=e.items.find(a=>{if(a.type!=="question"||!this.isVisible(a.key))return!1;if((this.errors.get(a.key)||[]).length>0)return!0});return(n==null?void 0:n.key)||null}firstNotValidQuestion(){const e=this.questionnaire.panels.find(n=>this.firstNotValidQuestionInPanel(n));return e==null?null:this.firstNotValidQuestionInPanel(e)}validate(){this.errors=new Map,this.questionnaire.validations.forEach(e=>{const n=Cp(e);n&&n.validate(this)})}validEnoughForForcedSave(){for(const e of this.errors.values())if(!e.every(n=>Ep.includes(n.type)))return!1;return!0}calculateVisibility(){this.visibility=new Map,this.questionnaire.visibilityRules.forEach(e=>{e.runAgainst(this)})}markShown(e){const n=this.visibility.get(e)||{shown:!1,hidden:!1};n.shown=!0,this.visibility.set(e,n)}markHidden(e){const n=this.visibility.get(e)||{shown:!1,hidden:!1};n.hidden=!0,this.visibility.set(e,n)}isDisabled(e){const n=this.questionnaire.getField(e);if(!n.parentKey||!n.parentOptionKey)return!1;const a=this.questionnaire.getField(n.parentKey),o=this.values[a.key];return a.type==="radio"?o!==n.parentOptionKey:a.type==="check_box"?!o||!o.has(n.parentOptionKey):!1}isVisible(e){const n=this.visibility.get(e)||{shown:!1,hidden:!1};return n.shown||!n.hidden}numberValue(e){if(!this.values[e])return null;switch(this.questionnaire.getField(e).type){case"integer":case"float":return this.values[e];case"select":case"radio":case"scale":return this.questionnaire.getOptionNumberValue(e,this.values[e])}return null}}function Zp(r){return r===""||r==null||r instanceof Set&&r.size===0||r instanceof Map&&r.size===0?null:r}const Yp=new Ud({key:"test",title:"test",language:"nl",panels:[],questions:{},visibilityRules:[],textvars:{},validations:[]}),xv=new Gd(Yp,{value:{},flags:{},textvars:new Map}),Sv={displayMode:"paged",darkMode:!1,newLayout:!0},_v=(r,e)=>null,Zd=De.createContext({questionnaire:Yp,response:xv,setQuestionRef:_v,displayOptions:Sv});class Yd extends Error{}const Kp=(r,e)=>{let n=r.value;return Oa.isEmpty(n)&&!Oa.isEmpty(e.defaultAnswerValue)&&(n=e.defaultAnswerValue),{flags:$p.parse(r.flags),textvars:Gp.parse(r.textvars),value:kv(n,e)}},kv=(r,e)=>{const n=er.record(er.string(),er.any()).parse(r);return Object.values(e.questions).reduce((a,o)=>{const d=n[o.key];if(d==null)return a;switch(o.type){case"integer":case"float":a[o.key]=Up.parse(d);break;case"string":case"textarea":a[o.key]=Wp.parse(d);break;case"select":case"scale":case"radio":a[o.key]=Ev(d,o);break;case"check_box":a[o.key]=Cv(d,o);break;case"date_parts":a[o.key]=Hp.parse(d);break}return a},{})},Ev=(r,e)=>{if(e.children.some(n=>n.key===r))return er.string().parse(r);throw new Yd(`wrong option key ${r} present for ${e.key}`)},Cv=(r,e)=>{const n=Vp.parse(r);return n.forEach(a=>{if(!e.children.some(o=>o.key===a))throw new Yd(`wrong option key ${a} present for ${e.key}`)}),n},Jp=/\{\{((?<type>[a-z_]+)\.(?<textvar>[a-z0-9]+)|(?<textvaronly>[a-z0-9_]+))\}\}/g;class Qp{constructor(e,n){jt(this,"response");jt(this,"questionnaire");jt(this,"stringToVariables");this.response=e,this.questionnaire=n,this.stringToVariables=new Map,this.interpolateCurlies=this.interpolateCurlies.bind(this)}interpolateCurlies(e){return this.stringToVariables.has(e)||this.stringToVariables.set(e,Array.from(e.matchAll(Jp)).map(n=>n.groups.textvar)),this.stringToVariables.get(e).length==0?e:e.replace(Jp,(...n)=>{var _;const{type:a,textvar:o,textvaronly:d}=n[n.length-1],v=a==="calculation"?(_=this.response.calculations.results[o])==null?void 0:_.toString():this.response.textvars.get(`${this.questionnaire.key}_${o||d}`);return Oa.escape(v||"")})}}var Kd={exports:{}},gc={};/**
|
|
40
40
|
* @license React
|
|
41
41
|
* react-jsx-runtime.production.min.js
|
|
42
42
|
*
|
|
@@ -44,7 +44,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
44
44
|
*
|
|
45
45
|
* This source code is licensed under the MIT license found in the
|
|
46
46
|
* LICENSE file in the root directory of this source tree.
|
|
47
|
-
*/var Xp;function
|
|
47
|
+
*/var Xp;function Tv(){if(Xp)return gc;Xp=1;var r=De,e=Symbol.for("react.element"),n=Symbol.for("react.fragment"),a=Object.prototype.hasOwnProperty,o=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,d={key:!0,ref:!0,__self:!0,__source:!0};function v(_,w,C){var N,L={},W=null,ge=null;C!==void 0&&(W=""+C),w.key!==void 0&&(W=""+w.key),w.ref!==void 0&&(ge=w.ref);for(N in w)a.call(w,N)&&!d.hasOwnProperty(N)&&(L[N]=w[N]);if(_&&_.defaultProps)for(N in w=_.defaultProps,w)L[N]===void 0&&(L[N]=w[N]);return{$$typeof:e,type:_,key:W,ref:ge,props:L,_owner:o.current}}return gc.Fragment=n,gc.jsx=v,gc.jsxs=v,gc}var mc={};/**
|
|
48
48
|
* @license React
|
|
49
49
|
* react-jsx-runtime.development.js
|
|
50
50
|
*
|
|
@@ -52,21 +52,21 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
52
52
|
*
|
|
53
53
|
* This source code is licensed under the MIT license found in the
|
|
54
54
|
* LICENSE file in the root directory of this source tree.
|
|
55
|
-
*/var qp;function
|
|
55
|
+
*/var qp;function Rv(){return qp||(qp=1,process.env.NODE_ENV!=="production"&&function(){var r=De,e=Symbol.for("react.element"),n=Symbol.for("react.portal"),a=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),d=Symbol.for("react.profiler"),v=Symbol.for("react.provider"),_=Symbol.for("react.context"),w=Symbol.for("react.forward_ref"),C=Symbol.for("react.suspense"),N=Symbol.for("react.suspense_list"),L=Symbol.for("react.memo"),W=Symbol.for("react.lazy"),ge=Symbol.for("react.offscreen"),ae=Symbol.iterator,we="@@iterator";function Z(z){if(z===null||typeof z!="object")return null;var he=ae&&z[ae]||z[we];return typeof he=="function"?he:null}var G=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function pe(z){{for(var he=arguments.length,Ce=new Array(he>1?he-1:0),tt=1;tt<he;tt++)Ce[tt-1]=arguments[tt];Se("error",z,Ce)}}function Se(z,he,Ce){{var tt=G.ReactDebugCurrentFrame,vt=tt.getStackAddendum();vt!==""&&(he+="%s",Ce=Ce.concat([vt]));var kt=Ce.map(function(wt){return String(wt)});kt.unshift("Warning: "+he),Function.prototype.apply.call(console[z],console,kt)}}var _e=!1,re=!1,Ie=!1,Te=!1,Dt=!1,dt;dt=Symbol.for("react.module.reference");function Mt(z){return!!(typeof z=="string"||typeof z=="function"||z===a||z===d||Dt||z===o||z===C||z===N||Te||z===ge||_e||re||Ie||typeof z=="object"&&z!==null&&(z.$$typeof===W||z.$$typeof===L||z.$$typeof===v||z.$$typeof===_||z.$$typeof===w||z.$$typeof===dt||z.getModuleId!==void 0))}function ve(z,he,Ce){var tt=z.displayName;if(tt)return tt;var vt=he.displayName||he.name||"";return vt!==""?Ce+"("+vt+")":Ce}function ye(z){return z.displayName||"Context"}function Re(z){if(z==null)return null;if(typeof z.tag=="number"&&pe("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof z=="function")return z.displayName||z.name||null;if(typeof z=="string")return z;switch(z){case a:return"Fragment";case n:return"Portal";case d:return"Profiler";case o:return"StrictMode";case C:return"Suspense";case N:return"SuspenseList"}if(typeof z=="object")switch(z.$$typeof){case _:var he=z;return ye(he)+".Consumer";case v:var Ce=z;return ye(Ce._context)+".Provider";case w:return ve(z,z.render,"ForwardRef");case L:var tt=z.displayName||null;return tt!==null?tt:Re(z.type)||"Memo";case W:{var vt=z,kt=vt._payload,wt=vt._init;try{return Re(wt(kt))}catch{return null}}}return null}var Be=Object.assign,Ye=0,He,je,ze,pt,oe,ue,Ae;function Ze(){}Ze.__reactDisabledLog=!0;function Fe(){{if(Ye===0){He=console.log,je=console.info,ze=console.warn,pt=console.error,oe=console.group,ue=console.groupCollapsed,Ae=console.groupEnd;var z={configurable:!0,enumerable:!0,value:Ze,writable:!0};Object.defineProperties(console,{info:z,log:z,warn:z,error:z,group:z,groupCollapsed:z,groupEnd:z})}Ye++}}function Me(){{if(Ye--,Ye===0){var z={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Be({},z,{value:He}),info:Be({},z,{value:je}),warn:Be({},z,{value:ze}),error:Be({},z,{value:pt}),group:Be({},z,{value:oe}),groupCollapsed:Be({},z,{value:ue}),groupEnd:Be({},z,{value:Ae})})}Ye<0&&pe("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Oe=G.ReactCurrentDispatcher,qe;function et(z,he,Ce){{if(qe===void 0)try{throw Error()}catch(vt){var tt=vt.stack.trim().match(/\n( *(at )?)/);qe=tt&&tt[1]||""}return`
|
|
56
56
|
`+qe+z}}var Ke=!1,nt;{var _t=typeof WeakMap=="function"?WeakMap:Map;nt=new _t}function ke(z,he){if(!z||Ke)return"";{var Ce=nt.get(z);if(Ce!==void 0)return Ce}var tt;Ke=!0;var vt=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var kt;kt=Oe.current,Oe.current=null,Fe();try{if(he){var wt=function(){throw Error()};if(Object.defineProperty(wt.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(wt,[])}catch(Xt){tt=Xt}Reflect.construct(z,[],wt)}else{try{wt.call()}catch(Xt){tt=Xt}z.call(wt.prototype)}}else{try{throw Error()}catch(Xt){tt=Xt}z()}}catch(Xt){if(Xt&&tt&&typeof Xt.stack=="string"){for(var ft=Xt.stack.split(`
|
|
57
57
|
`),ln=tt.stack.split(`
|
|
58
|
-
`),
|
|
59
|
-
`+ft[
|
|
58
|
+
`),zt=ft.length-1,Ut=ln.length-1;zt>=1&&Ut>=0&&ft[zt]!==ln[Ut];)Ut--;for(;zt>=1&&Ut>=0;zt--,Ut--)if(ft[zt]!==ln[Ut]){if(zt!==1||Ut!==1)do if(zt--,Ut--,Ut<0||ft[zt]!==ln[Ut]){var on=`
|
|
59
|
+
`+ft[zt].replace(" at new "," at ");return z.displayName&&on.includes("<anonymous>")&&(on=on.replace("<anonymous>",z.displayName)),typeof z=="function"&&nt.set(z,on),on}while(zt>=1&&Ut>=0);break}}}finally{Ke=!1,Oe.current=kt,Me(),Error.prepareStackTrace=vt}var In=z?z.displayName||z.name:"",Fr=In?et(In):"";return typeof z=="function"&&nt.set(z,Fr),Fr}function It(z,he,Ce){return ke(z,!1)}function mt(z){var he=z.prototype;return!!(he&&he.isReactComponent)}function fn(z,he,Ce){if(z==null)return"";if(typeof z=="function")return ke(z,mt(z));if(typeof z=="string")return et(z);switch(z){case C:return et("Suspense");case N:return et("SuspenseList")}if(typeof z=="object")switch(z.$$typeof){case w:return It(z.render);case L:return fn(z.type,he,Ce);case W:{var tt=z,vt=tt._payload,kt=tt._init;try{return fn(kt(vt),he,Ce)}catch{}}}return""}var jn=Object.prototype.hasOwnProperty,Sn={},zn=G.ReactDebugCurrentFrame;function dr(z){if(z){var he=z._owner,Ce=fn(z.type,z._source,he?he.type:null);zn.setExtraStackFrame(Ce)}else zn.setExtraStackFrame(null)}function nr(z,he,Ce,tt,vt){{var kt=Function.call.bind(jn);for(var wt in z)if(kt(z,wt)){var ft=void 0;try{if(typeof z[wt]!="function"){var ln=Error((tt||"React class")+": "+Ce+" type `"+wt+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof z[wt]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw ln.name="Invariant Violation",ln}ft=z[wt](he,wt,tt,Ce,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(zt){ft=zt}ft&&!(ft instanceof Error)&&(dr(vt),pe("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",tt||"React class",Ce,wt,typeof ft),dr(null)),ft instanceof Error&&!(ft.message in Sn)&&(Sn[ft.message]=!0,dr(vt),pe("Failed %s type: %s",Ce,ft.message),dr(null))}}}var On=Array.isArray;function yn(z){return On(z)}function pn(z){{var he=typeof Symbol=="function"&&Symbol.toStringTag,Ce=he&&z[Symbol.toStringTag]||z.constructor.name||"Object";return Ce}}function hn(z){try{return fr(z),!1}catch{return!0}}function fr(z){return""+z}function gi(z){if(hn(z))return pe("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",pn(z)),fr(z)}var Un=G.ReactCurrentOwner,Zt={key:!0,ref:!0,__self:!0,__source:!0},Ar,Zr,Or;Or={};function Yr(z){if(jn.call(z,"ref")){var he=Object.getOwnPropertyDescriptor(z,"ref").get;if(he&&he.isReactWarning)return!1}return z.ref!==void 0}function Mr(z){if(jn.call(z,"key")){var he=Object.getOwnPropertyDescriptor(z,"key").get;if(he&&he.isReactWarning)return!1}return z.key!==void 0}function Mi(z,he){if(typeof z.ref=="string"&&Un.current&&he&&Un.current.stateNode!==he){var Ce=Re(Un.current.type);Or[Ce]||(pe('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',Re(Un.current.type),z.ref),Or[Ce]=!0)}}function Kr(z,he){{var Ce=function(){Ar||(Ar=!0,pe("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",he))};Ce.isReactWarning=!0,Object.defineProperty(z,"key",{get:Ce,configurable:!0})}}function pr(z,he){{var Ce=function(){Zr||(Zr=!0,pe("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",he))};Ce.isReactWarning=!0,Object.defineProperty(z,"ref",{get:Ce,configurable:!0})}}var Jr=function(z,he,Ce,tt,vt,kt,wt){var ft={$$typeof:e,type:z,key:he,ref:Ce,props:wt,_owner:kt};return ft._store={},Object.defineProperty(ft._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(ft,"_self",{configurable:!1,enumerable:!1,writable:!1,value:tt}),Object.defineProperty(ft,"_source",{configurable:!1,enumerable:!1,writable:!1,value:vt}),Object.freeze&&(Object.freeze(ft.props),Object.freeze(ft)),ft};function ia(z,he,Ce,tt,vt){{var kt,wt={},ft=null,ln=null;Ce!==void 0&&(gi(Ce),ft=""+Ce),Mr(he)&&(gi(he.key),ft=""+he.key),Yr(he)&&(ln=he.ref,Mi(he,vt));for(kt in he)jn.call(he,kt)&&!Zt.hasOwnProperty(kt)&&(wt[kt]=he[kt]);if(z&&z.defaultProps){var zt=z.defaultProps;for(kt in zt)wt[kt]===void 0&&(wt[kt]=zt[kt])}if(ft||ln){var Ut=typeof z=="function"?z.displayName||z.name||"Unknown":z;ft&&Kr(wt,Ut),ln&&pr(wt,Ut)}return Jr(z,ft,ln,vt,tt,Un.current,wt)}}var _n=G.ReactCurrentOwner,rr=G.ReactDebugCurrentFrame;function Mn(z){if(z){var he=z._owner,Ce=fn(z.type,z._source,he?he.type:null);rr.setExtraStackFrame(Ce)}else rr.setExtraStackFrame(null)}var At;At=!1;function hr(z){return typeof z=="object"&&z!==null&&z.$$typeof===e}function Qr(){{if(_n.current){var z=Re(_n.current.type);if(z)return`
|
|
60
60
|
|
|
61
61
|
Check the render method of \``+z+"`."}return""}}function Xr(z){{if(z!==void 0){var he=z.fileName.replace(/^.*[\\\/]/,""),Ce=z.lineNumber;return`
|
|
62
62
|
|
|
63
63
|
Check your code at `+he+":"+Ce+"."}return""}}var ir={};function qr(z){{var he=Qr();if(!he){var Ce=typeof z=="string"?z:z.displayName||z.name;Ce&&(he=`
|
|
64
64
|
|
|
65
|
-
Check the top-level render call using <`+Ce+">.")}return he}}function gr(z,he){{if(!z._store||z._store.validated||z.key!=null)return;z._store.validated=!0;var Ce=qr(he);if(ir[Ce])return;ir[Ce]=!0;var tt="";z&&z._owner&&z._owner!==_n.current&&(tt=" It was passed a child from "+Re(z._owner.type)+"."),Mn(z),pe('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',Ce,tt),Mn(null)}}function nn(z,he){{if(typeof z!="object")return;if(yn(z))for(var Ce=0;Ce<z.length;Ce++){var tt=z[Ce];hr(tt)&&gr(tt,he)}else if(hr(z))z._store&&(z._store.validated=!0);else if(z){var vt=Z(z);if(typeof vt=="function"&&vt!==z.entries)for(var kt=vt.call(z),wt;!(wt=kt.next()).done;)hr(wt.value)&&gr(wt.value,he)}}}function Fi(z){{var he=z.type;if(he==null||typeof he=="string")return;var Ce;if(typeof he=="function")Ce=he.propTypes;else if(typeof he=="object"&&(he.$$typeof===w||he.$$typeof===L))Ce=he.propTypes;else return;if(Ce){var tt=Re(he);nr(Ce,z.props,"prop",tt,z)}else if(he.PropTypes!==void 0&&!At){At=!0;var vt=Re(he);pe("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",vt||"Unknown")}typeof he.getDefaultProps=="function"&&!he.getDefaultProps.isReactClassApproved&&pe("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function ei(z){{for(var he=Object.keys(z.props),Ce=0;Ce<he.length;Ce++){var tt=he[Ce];if(tt!=="children"&&tt!=="key"){Mn(z),pe("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",tt),Mn(null);break}}z.ref!==null&&(Mn(z),pe("Invalid attribute `ref` supplied to `React.Fragment`."),Mn(null))}}function Pi(z,he,Ce,tt,vt,kt){{var wt=Mt(z);if(!wt){var ft="";(z===void 0||typeof z=="object"&&z!==null&&Object.keys(z).length===0)&&(ft+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var ln=Xr(vt);ln?ft+=ln:ft+=Qr();var
|
|
65
|
+
Check the top-level render call using <`+Ce+">.")}return he}}function gr(z,he){{if(!z._store||z._store.validated||z.key!=null)return;z._store.validated=!0;var Ce=qr(he);if(ir[Ce])return;ir[Ce]=!0;var tt="";z&&z._owner&&z._owner!==_n.current&&(tt=" It was passed a child from "+Re(z._owner.type)+"."),Mn(z),pe('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',Ce,tt),Mn(null)}}function nn(z,he){{if(typeof z!="object")return;if(yn(z))for(var Ce=0;Ce<z.length;Ce++){var tt=z[Ce];hr(tt)&&gr(tt,he)}else if(hr(z))z._store&&(z._store.validated=!0);else if(z){var vt=Z(z);if(typeof vt=="function"&&vt!==z.entries)for(var kt=vt.call(z),wt;!(wt=kt.next()).done;)hr(wt.value)&&gr(wt.value,he)}}}function Fi(z){{var he=z.type;if(he==null||typeof he=="string")return;var Ce;if(typeof he=="function")Ce=he.propTypes;else if(typeof he=="object"&&(he.$$typeof===w||he.$$typeof===L))Ce=he.propTypes;else return;if(Ce){var tt=Re(he);nr(Ce,z.props,"prop",tt,z)}else if(he.PropTypes!==void 0&&!At){At=!0;var vt=Re(he);pe("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",vt||"Unknown")}typeof he.getDefaultProps=="function"&&!he.getDefaultProps.isReactClassApproved&&pe("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function ei(z){{for(var he=Object.keys(z.props),Ce=0;Ce<he.length;Ce++){var tt=he[Ce];if(tt!=="children"&&tt!=="key"){Mn(z),pe("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",tt),Mn(null);break}}z.ref!==null&&(Mn(z),pe("Invalid attribute `ref` supplied to `React.Fragment`."),Mn(null))}}function Pi(z,he,Ce,tt,vt,kt){{var wt=Mt(z);if(!wt){var ft="";(z===void 0||typeof z=="object"&&z!==null&&Object.keys(z).length===0)&&(ft+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var ln=Xr(vt);ln?ft+=ln:ft+=Qr();var zt;z===null?zt="null":yn(z)?zt="array":z!==void 0&&z.$$typeof===e?(zt="<"+(Re(z.type)||"Unknown")+" />",ft=" Did you accidentally export a JSX literal instead of a component?"):zt=typeof z,pe("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",zt,ft)}var Ut=ia(z,he,Ce,vt,kt);if(Ut==null)return Ut;if(wt){var on=he.children;if(on!==void 0)if(tt)if(yn(on)){for(var In=0;In<on.length;In++)nn(on[In],z);Object.freeze&&Object.freeze(on)}else pe("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else nn(on,z)}return z===a?ei(Ut):Fi(Ut),Ut}}function rn(z,he,Ce){return Pi(z,he,Ce,!0)}function Di(z,he,Ce){return Pi(z,he,Ce,!1)}var Fa=Di,Pa=rn;mc.Fragment=a,mc.jsx=Fa,mc.jsxs=Pa}()),mc}process.env.NODE_ENV==="production"?Kd.exports=Tv():Kd.exports=Rv();var U=Kd.exports,eh={exports:{}};/*!
|
|
66
66
|
Copyright (c) 2018 Jed Watson.
|
|
67
67
|
Licensed under the MIT License (MIT), see
|
|
68
68
|
http://jedwatson.github.io/classnames
|
|
69
|
-
*/(function(r){(function(){var e={}.hasOwnProperty;function n(){for(var a=[],o=0;o<arguments.length;o++){var d=arguments[o];if(d){var v=typeof d;if(v==="string"||v==="number")a.push(d);else if(Array.isArray(d)){if(d.length){var _=n.apply(null,d);_&&a.push(_)}}else if(v==="object"){if(d.toString!==Object.prototype.toString&&!d.toString.toString().includes("[native code]")){a.push(d.toString());continue}for(var w in d)e.call(d,w)&&d[w]&&a.push(w)}}}return a.join(" ")}r.exports?(n.default=n,r.exports=n):window.classNames=n})()})(eh);var Rv=eh.exports;const Nn=op(Rv),Iv=({max:r,current:e})=>{const{t:n}=Os();return r<=1?null:U.jsx("div",{className:"progress-bar",children:U.jsxs("div",{className:"progress-wrapper",children:[U.jsx("div",{className:Nn("progress-slider",{"long-list":r>25}),children:Array.from({length:r},(a,o)=>U.jsx("span",{className:Nn("progress-stop",`step-${o+1}`,{active:o<=e,"first-child":o===0,"last-child":o===r-1,current:o===e}),children:o+1},o))}),U.jsx("div",{className:"progress-details",children:n("step_i_of_n",{i:e+1,n:r})})]})})},Av=({item:r})=>{const e=Le.useContext(Go);return U.jsx("div",{className:"item",children:U.jsx("div",{className:"prose text",dangerouslySetInnerHTML:{__html:e(r.html)}})})};function ud(r,e){const[n,a]=Le.useState(r);return{onChange:o=>{const d=e(o.target.value);d!==n&&a(d)},value:n||r||"",onBlur:()=>{a(void 0)}}}function Ov(r,e){return["Control","Alt","Fn","Meta"].every(n=>e.includes(n)?r.getModifierState(n):!r.getModifierState(n))}const Mv=(r,e,n)=>{const a=o=>{var _;let d=document.activeElement;if(d!=null&&d.shadowRoot&&(d=d.shadowRoot.activeElement),d!==document.body&&!((_=n.current)!=null&&_.contains(d))||!r.activeQuestionKey)return;const v=e.questions[r.activeQuestionKey];if(!(v.type!=="radio"&&v.type!=="scale"&&v.type!=="select")&&o.code.startsWith("Digit")&&Ov(o,[])){const w=parseInt(o.code.slice(5)),C=v.children.filter(N=>N.type==="option");w>=1&&w<=C.length&&(r.setValue(r.activeQuestionKey,C[w-1].key),o.preventDefault())}};Le.useEffect(()=>(document.addEventListener("keydown",a),()=>document.removeEventListener("keydown",a)))},Fv=["option-gap-y"],th=r=>r&&Oa.mapKeys(Oa.pick(r,Fv),(e,n)=>`--${n}`),Ii=({question:r})=>{const e=Le.useContext(Go);if(!r.title)return null;const n=e(r.title),a=`answer_${r.key}`,o=r.description?"mb-1":"mb-2";return U.jsx("div",{className:`text-lg ${o} font-semibold main`,children:U.jsx("label",{htmlFor:a,dangerouslySetInnerHTML:{__html:n}})})},Ai=r=>{const e=Le.useContext(Go);if(!r.question.description)return null;const n=e(r.question.description);return U.jsx("div",{className:"font-light description prose",dangerouslySetInnerHTML:{__html:n}})},Pv=({fieldState:r})=>r.beenActive?U.jsx(U.Fragment,{children:r.errors.map(e=>U.jsx(Dv,{error:e},e.type))}):null,Dv=({error:r})=>{const e=Nn("error",r.type),n=Lv(r.message);return U.jsx("div",{className:e,children:n})};function Lv(r){const{t:e}=Os();if(typeof r=="string")return r;const n={...r};return delete n.t,e(`validations.${r.t}`,n)}const Oi=r=>{const{question:e,fieldState:n,setQuestionRef:a}=r,o=Le.useRef(null);a(e.key,o);const d=Nn("item",e.type,e.presentation,e.questionGroup,e.as,{errors:n.beenActive&&n.errors.length>0,active:n.isActiveQuestion});return U.jsxs(U.Fragment,{children:[e.contextDescription&&U.jsx(Bv,{html:e.contextDescription}),U.jsxs("div",{className:d,ref:o,style:th(e.cssVars),children:[U.jsx(Pv,{fieldState:n}),r.children]})]})},Bv=({html:r})=>{const e=Le.useContext(Go);return U.jsx("div",{className:"context-description prose",dangerouslySetInnerHTML:{__html:e(r)}})},Nv=({question:r,fieldState:e,setQuestionRef:n})=>{var d;const a=ud((d=e.value)==null?void 0:d.toString(),v=>{if(e.value&&v.startsWith(e.value)&&v.slice(e.value.length).match(/^\s+$/))return v;e.setValue(v.trim()||null)}),o=Nn(r.type,{"w-full":!r.size,sized:!!r.size,subitem:!1});return U.jsxs(Oi,{question:r,fieldState:e,setQuestionRef:n,children:[U.jsx(Ii,{question:r}),U.jsxs("div",{className:"description-and-fields",children:[U.jsx(Ai,{question:r}),U.jsx("div",{className:"fields",id:jv(r),children:U.jsx("input",{type:"text",className:o,size:r.size??void 0,onFocus:e.setAsActiveQuestion,disabled:e.disabled,...a})})]})]})};function jv(r){return`answer_${r.key}_input`}const zv=({question:r,fieldState:e,setQuestionRef:n})=>{r.presentation="horizontal";const a=Nn("fields");return U.jsxs(Oi,{question:r,fieldState:e,setQuestionRef:n,children:[U.jsx(Ii,{question:r}),U.jsxs("div",{className:"description-and-fields",children:[U.jsx(Ai,{question:r}),U.jsx("div",{className:a,id:Hv(r),children:U.jsx("table",{cellSpacing:"0",width:"100%",children:U.jsx("tbody",{children:U.jsx("tr",{children:r.children.map((o,d)=>U.jsx(Uv,{question:r,option:o,index:d,fieldState:e},o.key))})})})})]})]})},Uv=({question:r,option:e,index:n,fieldState:a})=>{if(e.hidden&&a.value!==e.key)return null;const o=Nn("option text-center align-top",{first:n<=0,last:n>=r.children.length-1}),d=Nn(r.type,{subinput:!1,deselectable:!1}),v=a.value===e.key,_=C=>a.setValue(e.key),w=()=>{v&&a.setValue(null)};return U.jsxs("td",{className:o,style:{width:`${100/r.children.length}%`},children:[U.jsx(Vv,{question:r,option:e}),U.jsxs("span",{children:[U.jsx("input",{type:"radio",name:r.key,id:e.viewId,className:d,disabled:a.disabled,checked:v,onChange:_,onClick:w,onFocus:a.setAsActiveQuestion}),U.jsx("br",{}),U.jsx(Wv,{option:e})]})]})},Wv=({option:r})=>{const e=Le.useContext(Go);return r.description?U.jsx("label",{htmlFor:r.viewId,children:U.jsx("span",{dangerouslySetInnerHTML:{__html:e(r.description)}})}):null},Vv=({question:r,option:e})=>r.showValues?U.jsx("div",{className:"value",children:e.value}):null;function Hv(r){return`answer_${r.key}_input`}const nh=({questions:r})=>r.length==0?null:U.jsx("div",{className:"subquestions mt-4",children:r.map(e=>U.jsx(dh,{fieldKey:e.key}))}),$v=({question:r,fieldState:e,setQuestionRef:n})=>{const a=Nn("fields",r.presentation!=="horizontal"?`options${r.children.length}`:null);return U.jsxs(Oi,{question:r,fieldState:e,setQuestionRef:n,children:[U.jsx(Ii,{question:r}),U.jsxs("div",{className:"description-and-fields",children:[U.jsx(Ai,{question:r}),U.jsx("div",{className:a,id:Kv(r),children:r.children.map((o,d)=>o.type==="option"?U.jsx(Gv,{question:r,option:o,index:d,fieldState:e},o.key):U.jsx("div",{className:"inner-title",dangerouslySetInnerHTML:{__html:o.html}},o.key))})]})]})},Gv=({question:r,option:e,fieldState:n})=>{if(e.hidden&&n.value!==e.key)return null;const a=Nn("option",{show_values:r.showValues||!1}),o=Nn(r.type,{subinput:!1,deselectable:!1}),d=n.value===e.key,v=w=>n.setValue(e.key),_=w=>{d&&n.setValue(null)};return U.jsxs("div",{className:a,children:[U.jsx("div",{className:"inline radiocheckwrapper",children:U.jsx("input",{type:"radio",name:r.key,id:e.viewId,className:o,disabled:n.disabled,checked:d,onChange:v,onClick:_,onFocus:n.setAsActiveQuestion})}),U.jsx(Yv,{question:r,option:e}),U.jsx(Zv,{option:e}),U.jsx(nh,{questions:e.questions})]})},Zv=({option:r})=>{const e=Le.useContext(Go);if(!r.label&&!r.description)return null;const n=r.label||r.description,a=r.label?r.description:void 0;return U.jsxs("div",{className:"inline labelwrapper",children:[U.jsx("label",{htmlFor:r.viewId,"aria-describedby":a&&`${r.viewId}_description`,children:U.jsx("span",{dangerouslySetInnerHTML:{__html:e(n)}})}),a&&U.jsx("div",{className:"de-em",id:`${r.viewId}_description`,dangerouslySetInnerHTML:{__html:e(a||"")}})]})},Yv=({question:r,option:e})=>r.showValues?U.jsx("div",{className:"inline value",children:e.value}):null;function Kv(r){return`answer_${r.key}_input`}const Jv=({question:r,fieldState:e,setQuestionRef:n})=>{const a=d=>{e.setValue(d.target.value)},o=Nn("fields",r.presentation!=="horizontal"?`options${r.children.length}`:null);return U.jsxs(Oi,{question:r,fieldState:e,setQuestionRef:n,children:[U.jsx(Ii,{question:r}),U.jsxs("div",{className:"description-and-fields",children:[U.jsx(Ai,{question:r}),U.jsx("div",{className:o,id:Xv(r),children:U.jsxs("select",{onChange:a,value:e.value||void 0,onFocus:e.setAsActiveQuestion,disabled:e.disabled,children:[r.placeholder?U.jsx("option",{className:"placeholder",children:r.placeholder},"placeholder"):null,r.children.map((d,v)=>d.hidden&&e.value!==d.key?null:U.jsx(Qv,{question:r,option:d,index:v},d.key))]})})]})]})},Qv=({option:r})=>U.jsx("option",{value:r.key,disabled:!1,children:r.description});function Xv(r){return`answer_${r.key}_input`}const qv=({question:r,fieldState:e,setQuestionRef:n})=>U.jsxs(Oi,{question:r,fieldState:e,setQuestionRef:n,children:[U.jsx(Ii,{question:r}),U.jsxs("div",{className:"description-and-fields",children:[U.jsx(Ai,{question:r}),U.jsxs("div",{className:"fields",id:eb(r),children:[U.jsx(rh,{question:r,parts:["year","month","day"],fieldState:e}),U.jsx(rh,{question:r,parts:["hour","minute"],fieldState:e})]})]})]}),rh=({question:r,parts:e,fieldState:n})=>{const{t:a}=Os(),o=(v,_)=>{const w=new Map(n.value||[]),C=v.target.value.trim();C?w.set(_,C):w.delete(_),w.size===0?n.setValue(null):n.setValue(w)},d=r.dateParts.filter(v=>e.includes(v.part));return d.length===0?null:U.jsxs("div",{className:"mb-2 ",children:[d.flatMap(v=>{var _;return[U.jsx("input",{type:"text",className:"mr-1",value:((_=n.value)==null?void 0:_.get(v.part))||"",placeholder:a(`placeholders.${v.part}`),disabled:n.disabled,onChange:w=>o(w,v.part),size:v.part==="year"?5:3,onFocus:n.setAsActiveQuestion},v.part),Oa.isEqual(e,["hour","minute"])&&v.part==="hour"&&U.jsx("span",{className:"mr-1",children:":"},"colon")]}),d.flatMap(v=>[U.jsx("span",{className:"mr-1",children:a(v.part)},`label_${v.part}`),Oa.isEqual(e,["hour","minute"])&&v.part==="hour"&&U.jsx("span",{className:"mr-1",children:":"},"label_colon")])]})};function eb(r){return`answer_${r.key}_input`}const tb=({question:r,fieldState:e,setQuestionRef:n})=>{var v;const{t:a}=Os(),o=ud((v=e.value)==null?void 0:v.toString(),_=>{if(["-"].includes(_))return _;const w=parseInt(_,10);isNaN(w)?e.setValue(null):e.setValue(w)}),d=Nn(r.type,{subitem:!1});return U.jsxs(Oi,{question:r,fieldState:e,setQuestionRef:n,children:[U.jsx(Ii,{question:r}),U.jsxs("div",{className:"description-and-fields",children:[U.jsx(Ai,{question:r}),U.jsxs("div",{className:"fields",id:nb(r),children:[U.jsx("input",{type:"text",className:d,disabled:e.disabled,size:r.size,onFocus:e.setAsActiveQuestion,...o}),r.unit&&U.jsxs("span",{className:"unit",children:[" ",a(`units.${r.unit}`,{defaultValue:r.unit})]})]})]})]})};function nb(r){return`answer_${r.key}_input`}const rb=({question:r,fieldState:e,setQuestionRef:n})=>{var v;const{t:a}=Os(),o=ud((v=e.value)==null?void 0:v.toString(),_=>{if(["-",".",`${e.value}.`].includes(_))return _;_[0]==="."&&(_=`0${_}`);const w=parseFloat(_);isNaN(w)?e.setValue(null):e.setValue(w)}),d=Nn(r.type,{sized:!!r.size,subitem:!1});return U.jsxs(Oi,{question:r,fieldState:e,setQuestionRef:n,children:[U.jsx(Ii,{question:r}),U.jsxs("div",{className:"description-and-fields",children:[U.jsx(Ai,{question:r}),U.jsxs("div",{className:"fields",id:ib(r),children:[U.jsx("input",{type:"text",className:d,disabled:e.disabled,size:r.size,onFocus:e.setAsActiveQuestion,...o}),r.unit&&U.jsxs("span",{className:"unit",children:[" ",a(`units.${r.unit}`,{defaultValue:r.unit})]})]})]})]})};function ib(r){return`answer_${r.key}_input`}var Jd={},Qd={},Xd={},cd={};(function(r){Object.defineProperty(r,"__esModule",{value:!0}),r.Direction=void 0,function(e){e.Right="to right",e.Left="to left",e.Down="to bottom",e.Up="to top"}(r.Direction||(r.Direction={}))})(cd),function(r){var e=qn&&qn.__spreadArray||function(ve,ye,Re){if(Re||arguments.length===2)for(var Be=0,Ye=ye.length,He;Be<Ye;Be++)(He||!(Be in ye))&&(He||(He=Array.prototype.slice.call(ye,0,Be)),He[Be]=ye[Be]);return ve.concat(He||Array.prototype.slice.call(ye))};Object.defineProperty(r,"__esModule",{value:!0}),r.useThumbOverlap=r.assertUnreachable=r.voidFn=r.getTrackBackground=r.replaceAt=r.schd=r.translate=r.getClosestThumbIndex=r.translateThumbs=r.getPaddingAndBorder=r.getMargin=r.checkInitialOverlap=r.checkValuesAgainstBoundaries=r.checkBoundaries=r.isVertical=r.relativeValue=r.normalizeValue=r.isStepDivisible=r.isTouchEvent=r.getStepDecimals=void 0;var n=Le,a=cd,o=function(ve){var ye=ve.toString().split(".")[1];return ye?ye.length:0};r.getStepDecimals=o;function d(ve){return ve.touches&&ve.touches.length||ve.changedTouches&&ve.changedTouches.length}r.isTouchEvent=d;function v(ve,ye,Re){var Be=(ye-ve)/Re,Ye=8,He=Number(Be.toFixed(Ye));return parseInt(He.toString(),10)===He}r.isStepDivisible=v;function _(ve,ye,Re,Be,Ye,He,je){var ze=1e11;if(ve=Math.round(ve*ze)/ze,!He){var pt=je[ye-1],oe=je[ye+1];if(pt&&pt>ve)return pt;if(oe&&oe<ve)return oe}if(ve>Be)return Be;if(ve<Re)return Re;var ue=Math.floor(ve*ze-Re*ze)%Math.floor(Ye*ze),Ae=Math.floor(ve*ze-Math.abs(ue)),Ze=ue===0?ve:Ae/ze,Fe=Math.abs(ue/ze)<Ye/2?Ze:Ze+Ye,Me=(0,r.getStepDecimals)(Ye);return parseFloat(Fe.toFixed(Me))}r.normalizeValue=_;function w(ve,ye,Re){return(ve-ye)/(Re-ye)}r.relativeValue=w;function C(ve){return ve===a.Direction.Up||ve===a.Direction.Down}r.isVertical=C;function N(ve,ye,Re){if(ye>=Re)throw new RangeError("min (".concat(ye,") is equal/bigger than max (").concat(Re,")"));if(ve<ye)throw new RangeError("value (".concat(ve,") is smaller than min (").concat(ye,")"));if(ve>Re)throw new RangeError("value (".concat(ve,") is bigger than max (").concat(Re,")"))}r.checkBoundaries=N;function L(ve,ye,Re){return ve<ye?ye:ve>Re?Re:ve}r.checkValuesAgainstBoundaries=L;function W(ve){if(!(ve.length<2)&&!ve.slice(1).every(function(ye,Re){return ve[Re]<=ye}))throw new RangeError("values={[".concat(ve,"]} needs to be sorted when allowOverlap={false}"))}r.checkInitialOverlap=W;function ge(ve){var ye=window.getComputedStyle(ve);return{top:parseInt(ye["margin-top"],10),bottom:parseInt(ye["margin-bottom"],10),left:parseInt(ye["margin-left"],10),right:parseInt(ye["margin-right"],10)}}r.getMargin=ge;function ae(ve){var ye=window.getComputedStyle(ve);return{top:parseInt(ye["padding-top"],10)+parseInt(ye["border-top-width"],10),bottom:parseInt(ye["padding-bottom"],10)+parseInt(ye["border-bottom-width"],10),left:parseInt(ye["padding-left"],10)+parseInt(ye["border-left-width"],10),right:parseInt(ye["padding-right"],10)+parseInt(ye["border-right-width"],10)}}r.getPaddingAndBorder=ae;function we(ve,ye,Re){var Be=Re?-1:1;ve.forEach(function(Ye,He){return G(Ye,Be*ye[He].x,ye[He].y)})}r.translateThumbs=we;function Z(ve,ye,Re,Be){for(var Ye=0,He=Mt(ve[0],ye,Re,Be),je=1;je<ve.length;je++){var ze=Mt(ve[je],ye,Re,Be);ze<He&&(He=ze,Ye=je)}return Ye}r.getClosestThumbIndex=Z;function G(ve,ye,Re){ve.style.transform="translate(".concat(ye,"px, ").concat(Re,"px)")}r.translate=G;var pe=function(ve){var ye=[],Re=null,Be=function(){for(var Ye=[],He=0;He<arguments.length;He++)Ye[He]=arguments[He];ye=Ye,!Re&&(Re=requestAnimationFrame(function(){Re=null,ve.apply(void 0,ye)}))};return Be};r.schd=pe;function Se(ve,ye,Re){var Be=ve.slice(0);return Be[ye]=Re,Be}r.replaceAt=Se;function _e(ve){var ye=ve.values,Re=ve.colors,Be=ve.min,Ye=ve.max,He=ve.direction,je=He===void 0?a.Direction.Right:He,ze=ve.rtl,pt=ze===void 0?!1:ze;pt&&je===a.Direction.Right?je=a.Direction.Left:pt&&a.Direction.Left&&(je=a.Direction.Right);var oe=ye.slice(0).sort(function(Ae,Ze){return Ae-Ze}).map(function(Ae){return(Ae-Be)/(Ye-Be)*100}),ue=oe.reduce(function(Ae,Ze,Fe){return"".concat(Ae,", ").concat(Re[Fe]," ").concat(Ze,"%, ").concat(Re[Fe+1]," ").concat(Ze,"%")},"");return"linear-gradient(".concat(je,", ").concat(Re[0]," 0%").concat(ue,", ").concat(Re[Re.length-1]," 100%)")}r.getTrackBackground=_e;function re(){}r.voidFn=re;function Ie(ve){throw new Error("Didn't expect to get here")}r.assertUnreachable=Ie;var Te=function(ve,ye,Re,Be,Ye){Ye===void 0&&(Ye=function(je){return je});var He=Math.ceil(e([ve],Array.from(ve.children),!0).reduce(function(je,ze){var pt=Math.ceil(ze.getBoundingClientRect().width);if(ze.innerText&&ze.innerText.includes(Re)&&ze.childElementCount===0){var oe=ze.cloneNode(!0);oe.innerHTML=Ye(ye.toFixed(Be)),oe.style.visibility="hidden",document.body.appendChild(oe),pt=Math.ceil(oe.getBoundingClientRect().width),document.body.removeChild(oe)}return pt>je?pt:je},ve.getBoundingClientRect().width));return He},Dt=function(ve,ye,Re,Be,Ye,He,je){je===void 0&&(je=function(oe){return oe});var ze=[],pt=function(oe){var ue=Te(Re[oe],Be[oe],Ye,He,je),Ae=ye[oe].x;ye.forEach(function(Ze,Fe){var Me=Ze.x,Oe=Te(Re[Fe],Be[Fe],Ye,He,je);oe!==Fe&&(Ae>=Me&&Ae<=Me+Oe||Ae+ue>=Me&&Ae+ue<=Me+Oe)&&(ze.includes(Fe)||(ze.push(oe),ze.push(Fe),ze=e(e([],ze,!0),[oe,Fe],!1),pt(Fe)))})};return pt(ve),Array.from(new Set(ze.sort()))},dt=function(ve,ye,Re,Be,Ye,He){Be===void 0&&(Be=.1),Ye===void 0&&(Ye=" - "),He===void 0&&(He=function(Fe){return Fe});var je=(0,r.getStepDecimals)(Be),ze=(0,n.useState)({}),pt=ze[0],oe=ze[1],ue=(0,n.useState)(He(ye[Re].toFixed(je))),Ae=ue[0],Ze=ue[1];return(0,n.useEffect)(function(){if(ve){var Fe=ve.getThumbs();if(Fe.length<1)return;var Me={},Oe=ve.getOffsets(),qe=Dt(Re,Oe,Fe,ye,Ye,je,He),et=He(ye[Re].toFixed(je));if(qe.length){var Ke=qe.reduce(function(mt,fn,jn,Sn){return mt.length?e(e([],mt,!0),[Oe[Sn[jn]].x],!1):[Oe[Sn[jn]].x]},[]);if(Math.min.apply(Math,Ke)===Oe[Re].x){var nt=[];qe.forEach(function(mt){nt.push(ye[mt].toFixed(je))}),et=Array.from(new Set(nt.sort(function(mt,fn){return parseFloat(mt)-parseFloat(fn)}))).map(He).join(Ye);var _t=Math.min.apply(Math,Ke),ke=Math.max.apply(Math,Ke),It=Fe[qe[Ke.indexOf(ke)]].getBoundingClientRect().width;Me.left="".concat(Math.abs(_t-(ke+It))/2,"px"),Me.transform="translate(-50%, 0)"}else Me.visibility="hidden"}Ze(et),oe(Me)}},[ve,ye]),[Ae,pt]};r.useThumbOverlap=dt;function Mt(ve,ye,Re,Be){var Ye=ve.getBoundingClientRect(),He=Ye.left,je=Ye.top,ze=Ye.width,pt=Ye.height;return C(Be)?Math.abs(Re-(je+pt/2)):Math.abs(ye-(He+ze/2))}}(Xd);var ab=qn&&qn.__extends||function(){var r=function(e,n){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,o){a.__proto__=o}||function(a,o){for(var d in o)Object.prototype.hasOwnProperty.call(o,d)&&(a[d]=o[d])},r(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");r(e,n);function a(){this.constructor=e}e.prototype=n===null?Object.create(n):(a.prototype=n.prototype,new a)}}(),ob=qn&&qn.__createBinding||(Object.create?function(r,e,n,a){a===void 0&&(a=n);var o=Object.getOwnPropertyDescriptor(e,n);(!o||("get"in o?!e.__esModule:o.writable||o.configurable))&&(o={enumerable:!0,get:function(){return e[n]}}),Object.defineProperty(r,a,o)}:function(r,e,n,a){a===void 0&&(a=n),r[a]=e[n]}),sb=qn&&qn.__setModuleDefault||(Object.create?function(r,e){Object.defineProperty(r,"default",{enumerable:!0,value:e})}:function(r,e){r.default=e}),lb=qn&&qn.__importStar||function(r){if(r&&r.__esModule)return r;var e={};if(r!=null)for(var n in r)n!=="default"&&Object.prototype.hasOwnProperty.call(r,n)&&ob(e,r,n);return sb(e,r),e},ih=qn&&qn.__spreadArray||function(r,e,n){if(n||arguments.length===2)for(var a=0,o=e.length,d;a<o;a++)(d||!(a in e))&&(d||(d=Array.prototype.slice.call(e,0,a)),d[a]=e[a]);return r.concat(d||Array.prototype.slice.call(e))};Object.defineProperty(Qd,"__esModule",{value:!0});var dd=lb(Le),Gt=Xd,tr=cd,ub=["ArrowRight","ArrowUp","k","PageUp"],cb=["ArrowLeft","ArrowDown","j","PageDown"],db=function(r){ab(e,r);function e(n){var a=r.call(this,n)||this;if(a.trackRef=dd.createRef(),a.thumbRefs=[],a.state={draggedTrackPos:[-1,-1],draggedThumbIndex:-1,thumbZIndexes:new Array(a.props.values.length).fill(0).map(function(o,d){return d}),isChanged:!1,markOffsets:[]},a.getOffsets=function(){var o=a.props,d=o.direction,v=o.values,_=o.min,w=o.max,C=a.trackRef.current,N=C.getBoundingClientRect(),L=(0,Gt.getPaddingAndBorder)(C);return a.getThumbs().map(function(W,ge){var ae={x:0,y:0},we=W.getBoundingClientRect(),Z=(0,Gt.getMargin)(W);switch(d){case tr.Direction.Right:return ae.x=(Z.left+L.left)*-1,ae.y=((we.height-N.height)/2+L.top)*-1,ae.x+=N.width*(0,Gt.relativeValue)(v[ge],_,w)-we.width/2,ae;case tr.Direction.Left:return ae.x=(Z.right+L.right)*-1,ae.y=((we.height-N.height)/2+L.top)*-1,ae.x+=N.width-N.width*(0,Gt.relativeValue)(v[ge],_,w)-we.width/2,ae;case tr.Direction.Up:return ae.x=((we.width-N.width)/2+Z.left+L.left)*-1,ae.y=-L.left,ae.y+=N.height-N.height*(0,Gt.relativeValue)(v[ge],_,w)-we.height/2,ae;case tr.Direction.Down:return ae.x=((we.width-N.width)/2+Z.left+L.left)*-1,ae.y=-L.left,ae.y+=N.height*(0,Gt.relativeValue)(v[ge],_,w)-we.height/2,ae;default:return(0,Gt.assertUnreachable)(d)}})},a.getThumbs=function(){return a.trackRef&&a.trackRef.current?Array.from(a.trackRef.current.children).filter(function(o){return o.hasAttribute("aria-valuenow")}):(console.warn("No thumbs found in the track container. Did you forget to pass & spread the `props` param in renderTrack?"),[])},a.getTargetIndex=function(o){return a.getThumbs().findIndex(function(d){return d===o.target||d.contains(o.target)})},a.addTouchEvents=function(o){document.addEventListener("touchmove",a.schdOnTouchMove,{passive:!1}),document.addEventListener("touchend",a.schdOnEnd,{passive:!1}),document.addEventListener("touchcancel",a.schdOnEnd,{passive:!1})},a.addMouseEvents=function(o){document.addEventListener("mousemove",a.schdOnMouseMove),document.addEventListener("mouseup",a.schdOnEnd)},a.onMouseDownTrack=function(o){var d;if(o.button===0)if(o.persist(),o.preventDefault(),a.addMouseEvents(o.nativeEvent),a.props.values.length>1&&a.props.draggableTrack){if(a.thumbRefs.some(function(_){var w;return(w=_.current)===null||w===void 0?void 0:w.contains(o.target)}))return;a.setState({draggedTrackPos:[o.clientX,o.clientY]},function(){return a.onMove(o.clientX,o.clientY)})}else{var v=(0,Gt.getClosestThumbIndex)(a.thumbRefs.map(function(_){return _.current}),o.clientX,o.clientY,a.props.direction);(d=a.thumbRefs[v].current)===null||d===void 0||d.focus(),a.setState({draggedThumbIndex:v},function(){return a.onMove(o.clientX,o.clientY)})}},a.onResize=function(){(0,Gt.translateThumbs)(a.getThumbs(),a.getOffsets(),a.props.rtl),a.calculateMarkOffsets()},a.onTouchStartTrack=function(o){var d;if(o.persist(),a.addTouchEvents(o.nativeEvent),a.props.values.length>1&&a.props.draggableTrack){if(a.thumbRefs.some(function(_){var w;return(w=_.current)===null||w===void 0?void 0:w.contains(o.target)}))return;a.setState({draggedTrackPos:[o.touches[0].clientX,o.touches[0].clientY]},function(){return a.onMove(o.touches[0].clientX,o.touches[0].clientY)})}else{var v=(0,Gt.getClosestThumbIndex)(a.thumbRefs.map(function(_){return _.current}),o.touches[0].clientX,o.touches[0].clientY,a.props.direction);(d=a.thumbRefs[v].current)===null||d===void 0||d.focus(),a.setState({draggedThumbIndex:v},function(){return a.onMove(o.touches[0].clientX,o.touches[0].clientY)})}},a.onMouseOrTouchStart=function(o){if(!a.props.disabled){var d=(0,Gt.isTouchEvent)(o);if(!(!d&&o.button!==0)){var v=a.getTargetIndex(o);v!==-1&&(d?a.addTouchEvents(o):a.addMouseEvents(o),a.setState({draggedThumbIndex:v,thumbZIndexes:a.state.thumbZIndexes.map(function(_,w){return w===v?Math.max.apply(Math,a.state.thumbZIndexes):_<=a.state.thumbZIndexes[v]?_:_-1})}))}}},a.onMouseMove=function(o){o.preventDefault(),a.onMove(o.clientX,o.clientY)},a.onTouchMove=function(o){o.preventDefault(),a.onMove(o.touches[0].clientX,o.touches[0].clientY)},a.onKeyDown=function(o){var d=a.props,v=d.values,_=d.onChange,w=d.step,C=d.rtl,N=d.direction,L=a.state.isChanged,W=a.getTargetIndex(o.nativeEvent),ge=C||N===tr.Direction.Left||N===tr.Direction.Down?-1:1;W!==-1&&(ub.includes(o.key)?(o.preventDefault(),a.setState({draggedThumbIndex:W,isChanged:!0}),_((0,Gt.replaceAt)(v,W,a.normalizeValue(v[W]+ge*(o.key==="PageUp"?w*10:w),W)))):cb.includes(o.key)?(o.preventDefault(),a.setState({draggedThumbIndex:W,isChanged:!0}),_((0,Gt.replaceAt)(v,W,a.normalizeValue(v[W]-ge*(o.key==="PageDown"?w*10:w),W)))):o.key==="Tab"?a.setState({draggedThumbIndex:-1},function(){L&&a.fireOnFinalChange()}):L&&a.fireOnFinalChange())},a.onKeyUp=function(o){var d=a.state.isChanged;a.setState({draggedThumbIndex:-1},function(){d&&a.fireOnFinalChange()})},a.onMove=function(o,d){var v=a.state,_=v.draggedThumbIndex,w=v.draggedTrackPos,C=a.props,N=C.direction,L=C.min,W=C.max,ge=C.onChange,ae=C.values,we=C.step,Z=C.rtl;if(_===-1&&w[0]===-1&&w[1]===-1)return null;var G=a.trackRef.current;if(!G)return null;var pe=G.getBoundingClientRect(),Se=(0,Gt.isVertical)(N)?pe.height:pe.width;if(w[0]!==-1&&w[1]!==-1){var _e=o-w[0],re=d-w[1],Ie=0;switch(N){case tr.Direction.Right:case tr.Direction.Left:Ie=_e/Se*(W-L);break;case tr.Direction.Down:case tr.Direction.Up:Ie=re/Se*(W-L);break;default:(0,Gt.assertUnreachable)(N)}if(Z&&(Ie*=-1),Math.abs(Ie)>=we/2){for(var Te=0;Te<a.thumbRefs.length;Te++){if(ae[Te]===W&&Math.sign(Ie)===1||ae[Te]===L&&Math.sign(Ie)===-1)return;var Dt=ae[Te]+Ie;Dt>W?Ie=W-ae[Te]:Dt<L&&(Ie=L-ae[Te])}for(var dt=ae.slice(0),Te=0;Te<a.thumbRefs.length;Te++)dt=(0,Gt.replaceAt)(dt,Te,a.normalizeValue(ae[Te]+Ie,Te));a.setState({draggedTrackPos:[o,d]}),ge(dt)}}else{var Mt=0;switch(N){case tr.Direction.Right:Mt=(o-pe.left)/Se*(W-L)+L;break;case tr.Direction.Left:Mt=(Se-(o-pe.left))/Se*(W-L)+L;break;case tr.Direction.Down:Mt=(d-pe.top)/Se*(W-L)+L;break;case tr.Direction.Up:Mt=(Se-(d-pe.top))/Se*(W-L)+L;break;default:(0,Gt.assertUnreachable)(N)}Z&&(Mt=W+L-Mt),Math.abs(ae[_]-Mt)>=we/2&&ge((0,Gt.replaceAt)(ae,_,a.normalizeValue(Mt,_)))}},a.normalizeValue=function(o,d){var v=a.props,_=v.min,w=v.max,C=v.step,N=v.allowOverlap,L=v.values;return(0,Gt.normalizeValue)(o,d,_,w,C,N,L)},a.onEnd=function(o){if(o.preventDefault(),document.removeEventListener("mousemove",a.schdOnMouseMove),document.removeEventListener("touchmove",a.schdOnTouchMove),document.removeEventListener("mouseup",a.schdOnEnd),document.removeEventListener("touchend",a.schdOnEnd),document.removeEventListener("touchcancel",a.schdOnEnd),a.state.draggedThumbIndex===-1&&a.state.draggedTrackPos[0]===-1&&a.state.draggedTrackPos[1]===-1)return null;a.setState({draggedThumbIndex:-1,draggedTrackPos:[-1,-1]},function(){a.fireOnFinalChange()})},a.fireOnFinalChange=function(){a.setState({isChanged:!1});var o=a.props,d=o.onFinalChange,v=o.values;d&&d(v)},a.updateMarkRefs=function(o){if(!o.renderMark){a.numOfMarks=void 0,a.markRefs=void 0;return}a.numOfMarks=(o.max-o.min)/a.props.step,a.markRefs=[];for(var d=0;d<a.numOfMarks+1;d++)a.markRefs[d]=dd.createRef()},a.calculateMarkOffsets=function(){if(!(!a.props.renderMark||!a.trackRef||!a.numOfMarks||!a.markRefs||a.trackRef.current===null)){for(var o=window.getComputedStyle(a.trackRef.current),d=parseInt(o.width,10),v=parseInt(o.height,10),_=parseInt(o.paddingLeft,10),w=parseInt(o.paddingTop,10),C=[],N=0;N<a.numOfMarks+1;N++){var L=9999,W=9999;if(a.markRefs[N].current){var ge=a.markRefs[N].current.getBoundingClientRect();L=ge.height,W=ge.width}a.props.direction===tr.Direction.Left||a.props.direction===tr.Direction.Right?C.push([Math.round(d/a.numOfMarks*N+_-W/2),-Math.round((L-v)/2)]):C.push([Math.round(v/a.numOfMarks*N+w-L/2),-Math.round((W-d)/2)])}a.setState({markOffsets:C})}},n.step===0)throw new Error('"step" property should be a positive number');return a.schdOnMouseMove=(0,Gt.schd)(a.onMouseMove),a.schdOnTouchMove=(0,Gt.schd)(a.onTouchMove),a.schdOnEnd=(0,Gt.schd)(a.onEnd),a.thumbRefs=n.values.map(function(){return dd.createRef()}),a.updateMarkRefs(n),a}return e.prototype.componentDidMount=function(){var n=this,a=this.props,o=a.values,d=a.min,v=a.step;this.resizeObserver=window.ResizeObserver?new window.ResizeObserver(this.onResize):{observe:function(){return window.addEventListener("resize",n.onResize)},unobserve:function(){return window.removeEventListener("resize",n.onResize)}},document.addEventListener("touchstart",this.onMouseOrTouchStart,{passive:!1}),document.addEventListener("mousedown",this.onMouseOrTouchStart,{passive:!1}),!this.props.allowOverlap&&(0,Gt.checkInitialOverlap)(this.props.values),this.props.values.forEach(function(_){return(0,Gt.checkBoundaries)(_,n.props.min,n.props.max)}),this.resizeObserver.observe(this.trackRef.current),(0,Gt.translateThumbs)(this.getThumbs(),this.getOffsets(),this.props.rtl),this.calculateMarkOffsets(),o.forEach(function(_){(0,Gt.isStepDivisible)(d,_,v)||console.warn("The `values` property is in conflict with the current `step`, `min`, and `max` properties. Please provide values that are accessible using the min, max, and step values.")})},e.prototype.componentDidUpdate=function(n,a){var o=this.props,d=o.max,v=o.min,_=o.step,w=o.values,C=o.rtl;(n.max!==d||n.min!==v||n.step!==_)&&this.updateMarkRefs(this.props),(0,Gt.translateThumbs)(this.getThumbs(),this.getOffsets(),C),(n.max!==d||n.min!==v||n.step!==_||a.markOffsets.length!==this.state.markOffsets.length)&&(this.calculateMarkOffsets(),w.forEach(function(N){(0,Gt.isStepDivisible)(v,N,_)||console.warn("The `values` property is in conflict with the current `step`, `min`, and `max` properties. Please provide values that are accessible using the min, max, and step values.")}))},e.prototype.componentWillUnmount=function(){var n={passive:!1};document.removeEventListener("mousedown",this.onMouseOrTouchStart,n),document.removeEventListener("mousemove",this.schdOnMouseMove),document.removeEventListener("touchmove",this.schdOnTouchMove),document.removeEventListener("touchstart",this.onMouseOrTouchStart),document.removeEventListener("mouseup",this.schdOnEnd),document.removeEventListener("touchend",this.schdOnEnd),this.resizeObserver.unobserve(this.trackRef.current)},e.prototype.render=function(){var n=this,a=this.props,o=a.renderTrack,d=a.renderThumb,v=a.renderMark,_=v===void 0?function(){return null}:v,w=a.values,C=a.min,N=a.max,L=a.allowOverlap,W=a.disabled,ge=this.state,ae=ge.draggedThumbIndex,we=ge.thumbZIndexes,Z=ge.markOffsets;return o({props:{style:{transform:"scale(1)",cursor:ae>-1?"grabbing":this.props.draggableTrack?(0,Gt.isVertical)(this.props.direction)?"ns-resize":"ew-resize":w.length===1&&!W?"pointer":"inherit"},onMouseDown:W?Gt.voidFn:this.onMouseDownTrack,onTouchStart:W?Gt.voidFn:this.onTouchStartTrack,ref:this.trackRef},isDragged:this.state.draggedThumbIndex>-1,disabled:W,children:ih(ih([],Z.map(function(G,pe,Se){return _({props:{style:n.props.direction===tr.Direction.Left||n.props.direction===tr.Direction.Right?{position:"absolute",left:"".concat(G[0],"px"),marginTop:"".concat(G[1],"px")}:{position:"absolute",top:"".concat(G[0],"px"),marginLeft:"".concat(G[1],"px")},key:"mark".concat(pe),ref:n.markRefs[pe]},index:pe})}),!0),w.map(function(G,pe){var Se=n.state.draggedThumbIndex===pe;return d({index:pe,value:G,isDragged:Se,props:{style:{position:"absolute",zIndex:we[pe],cursor:W?"inherit":Se?"grabbing":"grab",userSelect:"none",touchAction:"none",WebkitUserSelect:"none",MozUserSelect:"none",msUserSelect:"none"},key:pe,tabIndex:W?void 0:0,"aria-valuemax":L?N:w[pe+1]||N,"aria-valuemin":L?C:w[pe-1]||C,"aria-valuenow":G,draggable:!1,ref:n.thumbRefs[pe],role:"slider",onKeyDown:W?Gt.voidFn:n.onKeyDown,onKeyUp:W?Gt.voidFn:n.onKeyUp}})}),!0)})},e.defaultProps={step:1,direction:tr.Direction.Right,rtl:!1,disabled:!1,allowOverlap:!1,draggableTrack:!1,min:0,max:100},e}(dd.Component);Qd.default=db,function(r){var e=qn&&qn.__importDefault||function(d){return d&&d.__esModule?d:{default:d}};Object.defineProperty(r,"__esModule",{value:!0}),r.checkValuesAgainstBoundaries=r.relativeValue=r.useThumbOverlap=r.Direction=r.getTrackBackground=r.Range=void 0;var n=e(Qd);r.Range=n.default;var a=Xd;Object.defineProperty(r,"getTrackBackground",{enumerable:!0,get:function(){return a.getTrackBackground}}),Object.defineProperty(r,"useThumbOverlap",{enumerable:!0,get:function(){return a.useThumbOverlap}}),Object.defineProperty(r,"relativeValue",{enumerable:!0,get:function(){return a.relativeValue}}),Object.defineProperty(r,"checkValuesAgainstBoundaries",{enumerable:!0,get:function(){return a.checkValuesAgainstBoundaries}});var o=cd;Object.defineProperty(r,"Direction",{enumerable:!0,get:function(){return o.Direction}})}(Jd);const qd=18,fd=1,ah=9,vc=16,oh=4,ef=1,fb=({question:r,fieldState:e,setQuestionRef:n})=>{const a=C=>{e.setValue(C[0])},o=Le.useRef(null),d=_b(r.labels,o),v=e.value==null,_=e.value||r.defaultPosition,w=mb(r);return U.jsxs(Oi,{question:r,fieldState:e,setQuestionRef:n,children:[U.jsx(Ii,{question:r}),U.jsxs("div",{className:"description-and-fields",children:[U.jsx(Ai,{question:r}),U.jsx("div",{className:"fields mt-3",ref:o,style:{height:qd+d.height},children:U.jsx(Jd.Range,{values:[_],onChange:a,min:r.minimum,max:r.maximum,step:r.step,disabled:e.disabled,renderTrack:({props:C,children:N})=>U.jsx("div",{...C,style:{...C.style,...vb},children:N}),renderThumb:C=>pb({...C,blank:v||e.disabled,showTooltip:r.valueTooltip,startThumbHidden:r.startThumbHidden,isActiveQuestion:e.isActiveQuestion,onFocus:e.setAsActiveQuestion}),renderMark:({props:C,index:N})=>w[N]!==void 0?hb(C,w[N],d):null})})]})]})},pb=({props:r,value:e,isDragged:n,blank:a,showTooltip:o,startThumbHidden:d,isActiveQuestion:v,onFocus:_})=>d&&a?U.jsx("div",{...r}):U.jsxs("div",{...r,style:{...r.style,...bb,...n&&wb,...v&&yb,...a&&xb},onFocus:_,children:[U.jsx("div",{style:{margin:"6px auto",width:"6px",height:"14px",border:"1px solid hsl(var(--foreground))",borderWidth:"0 1px 0 1px"}}),o&&n&&U.jsx("div",{style:Sb,children:e})]}),hb=(r,e,{info:n,setRef:a})=>{const o=ah+(n.tops[e.idx]||0),d=e.first?"0 4px 4px":e.last?"4px 0 4px 4px":"4px";return U.jsxs("div",{...r,style:{...r.style,top:qd-fd,marginTop:0,width:0},children:[U.jsx("div",{ref:v=>{v&&a(e.idx,v)},style:{position:"absolute",top:o,left:-fd,width:"max-content",maxWidth:n.maxWidths[e.idx],backgroundColor:"hsl(var(--slider-track))",borderRadius:d,border:`${ef}px solid hsl(var(--foreground))`,padding:"0 4px",textAlign:e.first?"left":e.last?"right":"center",transform:e.first?void 0:e.last?"translateX(-100%)":"translateX(-50%)"},dangerouslySetInnerHTML:{__html:e.text}}),U.jsx(gb,{label:e,top:o})]})},gb=({top:r,label:e})=>{const a=r+1,o=e.first?`M0.5,${a-.5} V0.5 C0.5,${a/2} 5,${a} 9,${a-.5}`:e.last?`M8.5,${a-.5} V0.5 C8.5,${a/2} 4,${a} 0.5,${a-.5}`:`M0.5,${a-.5} C2,${a-.5} 4.5,5 4.5,0 C4.5,5 7,${a-.5} ${a-.5},${a-.5}`,d=e.first?0:e.last?-9:-9/2;return U.jsx("svg",{width:9,height:a,viewBox:`0 0 9 ${a}`,preserveAspectRatio:"none",style:{marginLeft:d,position:"absolute",left:-fd},children:U.jsxs("g",{strokeWidth:ef,children:[U.jsx("line",{x1:"0",y1:a,x2:"9",y2:a,stroke:"hsl(var(--slider-track))"}),U.jsx("path",{d:o,fill:"hsl(var(--slider-track))",strokeLinecap:"square",stroke:"hsl(var(--foreground))"})]})})},mb=r=>{if(r.labels.length===0)return{};const e=(r.maximum-r.minimum)/r.step,n={};return r.labels.forEach((a,o)=>{const d=Math.floor(o*e/(r.labels.length-1));n[d]={text:a,first:o===0,last:o===r.labels.length-1,idx:o}}),n},vb={border:`${fd}px solid hsl(var(--foreground))`,background:"hsl(var(--slider-track))",height:qd,borderRadius:"2px",marginBottom:"18px"},bb={height:"28px",width:"34px",backgroundColor:"hsl(var(--background))",border:"1px solid hsl(var(--foreground))",borderRadius:"3px"},yb={backgroundColor:"rgba(27,124,194,0.7)"},wb={boxShadow:"inset 0 0 1px #FFF, inset 0 1px 7px #DDD, 0 3px 6px -3px #BBB"},xb={backgroundColor:"transparent",border:"none",padding:"1px",boxShadow:"inset 0 0 1px hsl(var(--foreground)), inset 0 1px 7px hsla(var(--foreground), 0.5), 0 3px 6px -3px hsla(var(--foreground), 0.3)"},Sb={position:"absolute",top:"-29px",left:"16px",transform:"translateX(-50%)",backgroundColor:"hsl(var(--slider-track))",border:`${ef}px solid hsl(var(--foreground))`,borderRadius:"4px",padding:"0 4px"},_b=(r,e)=>{const n=Le.useRef([]),[a,o]=Le.useState({maxWidths:[],rowHeights:[],tops:[],twoRows:!1}),[d,v]=Le.useState("getRefs");let _=ah+a.rowHeights[0]||18;return a.rowHeights.length==2&&(_+=oh+a.rowHeights[1]),Le.useLayoutEffect(()=>{d==="resize"?(o({...a,twoRows:!1,maxWidths:Array(n.current.length).fill(999)}),v("setWidths")):d==="setWidths"?(kb(n.current,r,e,a,o),v("setHeight")):d==="setHeight"&&(Eb(n.current,a,o),v("done"))},[d,r,e,a]),Le.useLayoutEffect(()=>{if(d!=="done")return;const C=e.current,N=C.offsetWidth,L=new ResizeObserver(()=>{N!==C.offsetWidth&&requestAnimationFrame(()=>v("resize"))});return L.observe(C),()=>{L.unobserve(C)}},[d,e]),{info:a,setRef:(C,N)=>{n.current[C]=N,d==="getRefs"&&n.current.length===r.length&&n.current.every(L=>L!==void 0)&&v("setWidths")},height:_}};function kb(r,e,n,a,o){const d=n.current.offsetWidth;if(e.length===1)o({...a,maxWidths:[d]});else if(Cb(r))if(e.length===3&&r[1].offsetWidth<d/3){const v=(d-r[1].offsetWidth)/2-vc;o({...a,maxWidths:[v,d-v*2-vc,v]})}else{const v=Array(e.length).fill(d/(e.length-1)-vc/2);v[0]=v[e.length-1]=d/2-vc,o({...a,twoRows:!0,maxWidths:v})}}function Eb(r,e,n){if(e.twoRows){const a=tf(r.slice(1,-1)),o=tf(Oa.at(r,0,r.length-1)),d=Array(r.length).fill(0);d[0]=d[r.length-1]=a+oh,n({...e,rowHeights:[a,o],tops:d})}else n({...e,rowHeights:[tf(r)],tops:Array(r.length).fill(0)})}function tf(r){return Math.max(...r.map(e=>e.getBoundingClientRect().height))}function Cb(r){return r.some((e,n)=>n>0&&e.getBoundingClientRect().left-vc<r[n-1].getBoundingClientRect().right)}const Tb=({question:r,fieldState:e,setQuestionRef:n})=>{const a=_=>{e.setValue(_[0])},o=e.value==null,d=e.value||r.defaultPosition,v=Ab(r);return U.jsxs(Oi,{question:r,fieldState:e,setQuestionRef:n,children:[U.jsx(Ii,{question:r}),U.jsxs("div",{className:"description-and-fields",children:[U.jsx(Ai,{question:r}),U.jsx("div",{className:"fields mt-3",children:U.jsx(Jd.Range,{values:[d],onChange:a,min:r.minimum,max:r.maximum,step:r.step,disabled:e.disabled,renderTrack:({props:_,children:w})=>U.jsx("div",{..._,style:{..._.style,...Ob},children:w}),renderThumb:_=>Rb({..._,blank:o||e.disabled,showTooltip:r.valueTooltip,startThumbHidden:r.startThumbHidden,onFocus:e.setAsActiveQuestion}),renderMark:({props:_,index:w})=>v[w]!==void 0?Ib(_,v[w]):null})})]})]})},Rb=({props:r,value:e,isDragged:n,blank:a,showTooltip:o,startThumbHidden:d,onFocus:v})=>d&&a?U.jsx("div",{...r}):U.jsxs("div",{...r,style:{...r.style,...Mb,...n&&Fb,...a&&Pb},onFocus:v,children:["||",o&&n&&U.jsx("div",{style:Db,children:e})]}),Ib=(r,e)=>U.jsx("div",{...r,style:{...r.style,top:"18px",marginTop:0,height:"9px",width:"1px",backgroundColor:"#d3d3d3"},children:U.jsx("div",{style:{position:"absolute",top:"8px",width:"max-content",textAlign:e.first?"left":e.last?"right":"center",transform:e.first?void 0:e.last?"translateX(-100%)":"translateX(-50%)"},dangerouslySetInnerHTML:{__html:e.text}})}),Ab=r=>{if(r.labels.length===0)return{};const e=(r.maximum-r.minimum)/r.step,n={};return r.labels.forEach((a,o)=>{const d=Math.floor(o*e/(r.labels.length-1));n[d]={text:a,first:o===0,last:o===r.labels.length-1}}),n},Ob={border:"1px solid #d3d3d3",background:"#fafafa",height:"18px",borderRadius:"4px",marginBottom:"18px",boxShadow:"inset 0 1px 1px #F0F0F0, 0 3px 6px -5px #BBB"},Mb={height:"28px",width:"34px",textAlign:"center",lineHeight:"27px",backgroundColor:"rgba(27,124,194,0.7)",color:"#E8E7E6",border:"1px solid #9AC1DD",borderRadius:"3px",boxShadow:"inset 0 0 1px #FFF, inset 0 1px 7px #9AC1DD, 0 3px 6px -3px #9AC1DD"},Fb={boxShadow:"inset 0 0 1px #FFF, inset 0 1px 7px #DDD, 0 3px 6px -3px #BBB"},Pb={backgroundColor:"rgba(255, 255, 255, .5)",boxShadow:"none",border:"1px solid #D9D9D9"},Db={position:"absolute",top:"-28px",left:"17px",transform:"translateX(-50%)",color:"#000",fontWeight:"bold",padding:"4px"},Lb=({question:r,fieldState:e,setQuestionRef:n})=>{var d;const a=ud((d=e.value)==null?void 0:d.toString(),v=>{if(e.value&&v.startsWith(e.value)&&v.slice(e.value.length).match(/^\s+$/))return v;e.setValue(v.trim()||null)}),o=Nn(r.type,{"w-full":!0,subitem:!1});return U.jsxs(Oi,{question:r,fieldState:e,setQuestionRef:n,children:[U.jsx(Ii,{question:r}),U.jsxs("div",{className:"description-and-fields",children:[U.jsx(Ai,{question:r}),U.jsx("div",{className:"fields",id:Bb(r),children:U.jsx("textarea",{className:o,rows:r.lines,onFocus:e.setAsActiveQuestion,disabled:e.disabled,...a})})]})]})};function Bb(r){return`answer_${r.key}_input`}const Nb=({question:r,fieldState:e,setQuestionRef:n})=>{const a=Nn("fields",r.presentation!=="horizontal"?`options${r.children.length}`:null);return U.jsxs(Oi,{question:r,fieldState:e,setQuestionRef:n,children:[U.jsx(Ii,{question:r}),U.jsxs("div",{className:"description-and-fields",children:[U.jsx(Ai,{question:r}),U.jsx("div",{className:a,id:Ub(r),children:r.children.map((o,d)=>o.type==="option"?U.jsx(jb,{question:r,option:o,index:d,fieldState:e},o.key):U.jsx("div",{className:"text-lg font-medium my-1 inner-title",dangerouslySetInnerHTML:{__html:o.html}},o.key))})]})]})},jb=({question:r,option:e,fieldState:n})=>{const a=Le.useContext(Go),d=(n.value||new Set).has(e.key)||!1;if(e.hidden&&!d)return null;const v=Nn("option",{show_values:!1}),_=Nn(r.type,{subinput:!1}),w=L=>e.key&&n.setValue(Wb(n,e.key,r)),C=e.label||e.description,N=e.label?e.description:void 0;return U.jsxs("div",{className:v,children:[U.jsx("div",{className:"inline radiocheckwrapper",children:U.jsx("input",{type:"checkbox",name:r.key,id:e.viewId,className:_,disabled:n.disabled,checked:d,onChange:w,onFocus:n.setAsActiveQuestion})}),U.jsx(zb,{question:r,option:e}),U.jsxs("div",{className:"inline labelwrapper",children:[U.jsx("label",{htmlFor:e.viewId,"aria-describedby":N&&`${e.viewId}_description`,children:U.jsx("span",{dangerouslySetInnerHTML:{__html:a(C)}})}),N&&U.jsx("div",{className:"de-em",id:`${e.viewId}_description`,dangerouslySetInnerHTML:{__html:a(N||"")}})]}),U.jsx(nh,{questions:e.questions})]})},zb=()=>null;function Ub(r){return`answer_${r.key}_input`}function Wb(r,e,n){const a=new Set(r.value??[]),o=!a.has(e);return Vb(a,n,e,o),Hb(a,n,e,o),o?a.add(e):a.delete(e),a.size===0?null:a}function Vb(r,e,n,a){e.checkAllOption&&(e.checkAllOption===n&&a&&e.children.filter(o=>o.type==="option").forEach(o=>{r.add(o.key)}),e.checkAllOption!==n&&!a&&r.delete(e.checkAllOption))}function Hb(r,e,n,a){e.uncheckAllOption&&(e.uncheckAllOption===n&&a&&r.clear(),e.uncheckAllOption!==n&&a&&r.delete(e.uncheckAllOption))}var mn={};const $b=[["AF","AFG","004","ISO 3166-2:AF"],["AX","ALA","248","ISO 3166-2:AX"],["AL","ALB","008","ISO 3166-2:AL"],["DZ","DZA","012","ISO 3166-2:DZ"],["AS","ASM","016","ISO 3166-2:AS"],["AD","AND","020","ISO 3166-2:AD"],["AO","AGO","024","ISO 3166-2:AO"],["AI","AIA","660","ISO 3166-2:AI"],["AQ","ATA","010","ISO 3166-2:AQ"],["AG","ATG","028","ISO 3166-2:AG"],["AR","ARG","032","ISO 3166-2:AR"],["AM","ARM","051","ISO 3166-2:AM"],["AW","ABW","533","ISO 3166-2:AW"],["AU","AUS","036","ISO 3166-2:AU"],["AT","AUT","040","ISO 3166-2:AT"],["AZ","AZE","031","ISO 3166-2:AZ"],["BS","BHS","044","ISO 3166-2:BS"],["BH","BHR","048","ISO 3166-2:BH"],["BD","BGD","050","ISO 3166-2:BD"],["BB","BRB","052","ISO 3166-2:BB"],["BY","BLR","112","ISO 3166-2:BY"],["BE","BEL","056","ISO 3166-2:BE"],["BZ","BLZ","084","ISO 3166-2:BZ"],["BJ","BEN","204","ISO 3166-2:BJ"],["BM","BMU","060","ISO 3166-2:BM"],["BT","BTN","064","ISO 3166-2:BT"],["BO","BOL","068","ISO 3166-2:BO"],["BQ","BES","535","ISO 3166-2:BQ"],["BA","BIH","070","ISO 3166-2:BA"],["BW","BWA","072","ISO 3166-2:BW"],["BV","BVT","074","ISO 3166-2:BV"],["BR","BRA","076","ISO 3166-2:BR"],["IO","IOT","086","ISO 3166-2:IO"],["BN","BRN","096","ISO 3166-2:BN"],["BG","BGR","100","ISO 3166-2:BG"],["BF","BFA","854","ISO 3166-2:BF"],["BI","BDI","108","ISO 3166-2:BI"],["KH","KHM","116","ISO 3166-2:KH"],["CM","CMR","120","ISO 3166-2:CM"],["CA","CAN","124","ISO 3166-2:CA"],["CV","CPV","132","ISO 3166-2:CV"],["KY","CYM","136","ISO 3166-2:KY"],["CF","CAF","140","ISO 3166-2:CF"],["TD","TCD","148","ISO 3166-2:TD"],["CL","CHL","152","ISO 3166-2:CL"],["CN","CHN","156","ISO 3166-2:CN"],["CX","CXR","162","ISO 3166-2:CX"],["CC","CCK","166","ISO 3166-2:CC"],["CO","COL","170","ISO 3166-2:CO"],["KM","COM","174","ISO 3166-2:KM"],["CG","COG","178","ISO 3166-2:CG"],["CD","COD","180","ISO 3166-2:CD"],["CK","COK","184","ISO 3166-2:CK"],["CR","CRI","188","ISO 3166-2:CR"],["CI","CIV","384","ISO 3166-2:CI"],["HR","HRV","191","ISO 3166-2:HR"],["CU","CUB","192","ISO 3166-2:CU"],["CW","CUW","531","ISO 3166-2:CW"],["CY","CYP","196","ISO 3166-2:CY"],["CZ","CZE","203","ISO 3166-2:CZ"],["DK","DNK","208","ISO 3166-2:DK"],["DJ","DJI","262","ISO 3166-2:DJ"],["DM","DMA","212","ISO 3166-2:DM"],["DO","DOM","214","ISO 3166-2:DO"],["EC","ECU","218","ISO 3166-2:EC"],["EG","EGY","818","ISO 3166-2:EG"],["SV","SLV","222","ISO 3166-2:SV"],["GQ","GNQ","226","ISO 3166-2:GQ"],["ER","ERI","232","ISO 3166-2:ER"],["EE","EST","233","ISO 3166-2:EE"],["ET","ETH","231","ISO 3166-2:ET"],["FK","FLK","238","ISO 3166-2:FK"],["FO","FRO","234","ISO 3166-2:FO"],["FJ","FJI","242","ISO 3166-2:FJ"],["FI","FIN","246","ISO 3166-2:FI"],["FR","FRA","250","ISO 3166-2:FR"],["GF","GUF","254","ISO 3166-2:GF"],["PF","PYF","258","ISO 3166-2:PF"],["TF","ATF","260","ISO 3166-2:TF"],["GA","GAB","266","ISO 3166-2:GA"],["GM","GMB","270","ISO 3166-2:GM"],["GE","GEO","268","ISO 3166-2:GE"],["DE","DEU","276","ISO 3166-2:DE"],["GH","GHA","288","ISO 3166-2:GH"],["GI","GIB","292","ISO 3166-2:GI"],["GR","GRC","300","ISO 3166-2:GR"],["GL","GRL","304","ISO 3166-2:GL"],["GD","GRD","308","ISO 3166-2:GD"],["GP","GLP","312","ISO 3166-2:GP"],["GU","GUM","316","ISO 3166-2:GU"],["GT","GTM","320","ISO 3166-2:GT"],["GG","GGY","831","ISO 3166-2:GG"],["GN","GIN","324","ISO 3166-2:GN"],["GW","GNB","624","ISO 3166-2:GW"],["GY","GUY","328","ISO 3166-2:GY"],["HT","HTI","332","ISO 3166-2:HT"],["HM","HMD","334","ISO 3166-2:HM"],["VA","VAT","336","ISO 3166-2:VA"],["HN","HND","340","ISO 3166-2:HN"],["HK","HKG","344","ISO 3166-2:HK"],["HU","HUN","348","ISO 3166-2:HU"],["IS","ISL","352","ISO 3166-2:IS"],["IN","IND","356","ISO 3166-2:IN"],["ID","IDN","360","ISO 3166-2:ID"],["IR","IRN","364","ISO 3166-2:IR"],["IQ","IRQ","368","ISO 3166-2:IQ"],["IE","IRL","372","ISO 3166-2:IE"],["IM","IMN","833","ISO 3166-2:IM"],["IL","ISR","376","ISO 3166-2:IL"],["IT","ITA","380","ISO 3166-2:IT"],["JM","JAM","388","ISO 3166-2:JM"],["JP","JPN","392","ISO 3166-2:JP"],["JE","JEY","832","ISO 3166-2:JE"],["JO","JOR","400","ISO 3166-2:JO"],["KZ","KAZ","398","ISO 3166-2:KZ"],["KE","KEN","404","ISO 3166-2:KE"],["KI","KIR","296","ISO 3166-2:KI"],["KP","PRK","408","ISO 3166-2:KP"],["KR","KOR","410","ISO 3166-2:KR"],["KW","KWT","414","ISO 3166-2:KW"],["KG","KGZ","417","ISO 3166-2:KG"],["LA","LAO","418","ISO 3166-2:LA"],["LV","LVA","428","ISO 3166-2:LV"],["LB","LBN","422","ISO 3166-2:LB"],["LS","LSO","426","ISO 3166-2:LS"],["LR","LBR","430","ISO 3166-2:LR"],["LY","LBY","434","ISO 3166-2:LY"],["LI","LIE","438","ISO 3166-2:LI"],["LT","LTU","440","ISO 3166-2:LT"],["LU","LUX","442","ISO 3166-2:LU"],["MO","MAC","446","ISO 3166-2:MO"],["MK","MKD","807","ISO 3166-2:MK"],["MG","MDG","450","ISO 3166-2:MG"],["MW","MWI","454","ISO 3166-2:MW"],["MY","MYS","458","ISO 3166-2:MY"],["MV","MDV","462","ISO 3166-2:MV"],["ML","MLI","466","ISO 3166-2:ML"],["MT","MLT","470","ISO 3166-2:MT"],["MH","MHL","584","ISO 3166-2:MH"],["MQ","MTQ","474","ISO 3166-2:MQ"],["MR","MRT","478","ISO 3166-2:MR"],["MU","MUS","480","ISO 3166-2:MU"],["YT","MYT","175","ISO 3166-2:YT"],["MX","MEX","484","ISO 3166-2:MX"],["FM","FSM","583","ISO 3166-2:FM"],["MD","MDA","498","ISO 3166-2:MD"],["MC","MCO","492","ISO 3166-2:MC"],["MN","MNG","496","ISO 3166-2:MN"],["ME","MNE","499","ISO 3166-2:ME"],["MS","MSR","500","ISO 3166-2:MS"],["MA","MAR","504","ISO 3166-2:MA"],["MZ","MOZ","508","ISO 3166-2:MZ"],["MM","MMR","104","ISO 3166-2:MM"],["NA","NAM","516","ISO 3166-2:NA"],["NR","NRU","520","ISO 3166-2:NR"],["NP","NPL","524","ISO 3166-2:NP"],["NL","NLD","528","ISO 3166-2:NL"],["NC","NCL","540","ISO 3166-2:NC"],["NZ","NZL","554","ISO 3166-2:NZ"],["NI","NIC","558","ISO 3166-2:NI"],["NE","NER","562","ISO 3166-2:NE"],["NG","NGA","566","ISO 3166-2:NG"],["NU","NIU","570","ISO 3166-2:NU"],["NF","NFK","574","ISO 3166-2:NF"],["MP","MNP","580","ISO 3166-2:MP"],["NO","NOR","578","ISO 3166-2:NO"],["OM","OMN","512","ISO 3166-2:OM"],["PK","PAK","586","ISO 3166-2:PK"],["PW","PLW","585","ISO 3166-2:PW"],["PS","PSE","275","ISO 3166-2:PS"],["PA","PAN","591","ISO 3166-2:PA"],["PG","PNG","598","ISO 3166-2:PG"],["PY","PRY","600","ISO 3166-2:PY"],["PE","PER","604","ISO 3166-2:PE"],["PH","PHL","608","ISO 3166-2:PH"],["PN","PCN","612","ISO 3166-2:PN"],["PL","POL","616","ISO 3166-2:PL"],["PT","PRT","620","ISO 3166-2:PT"],["PR","PRI","630","ISO 3166-2:PR"],["QA","QAT","634","ISO 3166-2:QA"],["RE","REU","638","ISO 3166-2:RE"],["RO","ROU","642","ISO 3166-2:RO"],["RU","RUS","643","ISO 3166-2:RU"],["RW","RWA","646","ISO 3166-2:RW"],["BL","BLM","652","ISO 3166-2:BL"],["SH","SHN","654","ISO 3166-2:SH"],["KN","KNA","659","ISO 3166-2:KN"],["LC","LCA","662","ISO 3166-2:LC"],["MF","MAF","663","ISO 3166-2:MF"],["PM","SPM","666","ISO 3166-2:PM"],["VC","VCT","670","ISO 3166-2:VC"],["WS","WSM","882","ISO 3166-2:WS"],["SM","SMR","674","ISO 3166-2:SM"],["ST","STP","678","ISO 3166-2:ST"],["SA","SAU","682","ISO 3166-2:SA"],["SN","SEN","686","ISO 3166-2:SN"],["RS","SRB","688","ISO 3166-2:RS"],["SC","SYC","690","ISO 3166-2:SC"],["SL","SLE","694","ISO 3166-2:SL"],["SG","SGP","702","ISO 3166-2:SG"],["SX","SXM","534","ISO 3166-2:SX"],["SK","SVK","703","ISO 3166-2:SK"],["SI","SVN","705","ISO 3166-2:SI"],["SB","SLB","090","ISO 3166-2:SB"],["SO","SOM","706","ISO 3166-2:SO"],["ZA","ZAF","710","ISO 3166-2:ZA"],["GS","SGS","239","ISO 3166-2:GS"],["SS","SSD","728","ISO 3166-2:SS"],["ES","ESP","724","ISO 3166-2:ES"],["LK","LKA","144","ISO 3166-2:LK"],["SD","SDN","729","ISO 3166-2:SD"],["SR","SUR","740","ISO 3166-2:SR"],["SJ","SJM","744","ISO 3166-2:SJ"],["SZ","SWZ","748","ISO 3166-2:SZ"],["SE","SWE","752","ISO 3166-2:SE"],["CH","CHE","756","ISO 3166-2:CH"],["SY","SYR","760","ISO 3166-2:SY"],["TW","TWN","158","ISO 3166-2:TW"],["TJ","TJK","762","ISO 3166-2:TJ"],["TZ","TZA","834","ISO 3166-2:TZ"],["TH","THA","764","ISO 3166-2:TH"],["TL","TLS","626","ISO 3166-2:TL"],["TG","TGO","768","ISO 3166-2:TG"],["TK","TKL","772","ISO 3166-2:TK"],["TO","TON","776","ISO 3166-2:TO"],["TT","TTO","780","ISO 3166-2:TT"],["TN","TUN","788","ISO 3166-2:TN"],["TR","TUR","792","ISO 3166-2:TR"],["TM","TKM","795","ISO 3166-2:TM"],["TC","TCA","796","ISO 3166-2:TC"],["TV","TUV","798","ISO 3166-2:TV"],["UG","UGA","800","ISO 3166-2:UG"],["UA","UKR","804","ISO 3166-2:UA"],["AE","ARE","784","ISO 3166-2:AE"],["GB","GBR","826","ISO 3166-2:GB"],["US","USA","840","ISO 3166-2:US"],["UM","UMI","581","ISO 3166-2:UM"],["UY","URY","858","ISO 3166-2:UY"],["UZ","UZB","860","ISO 3166-2:UZ"],["VU","VUT","548","ISO 3166-2:VU"],["VE","VEN","862","ISO 3166-2:VE"],["VN","VNM","704","ISO 3166-2:VN"],["VG","VGB","092","ISO 3166-2:VG"],["VI","VIR","850","ISO 3166-2:VI"],["WF","WLF","876","ISO 3166-2:WF"],["EH","ESH","732","ISO 3166-2:EH"],["YE","YEM","887","ISO 3166-2:YE"],["ZM","ZMB","894","ISO 3166-2:ZM"],["ZW","ZWE","716","ISO 3166-2:ZW"],["XK","XKX","","ISO 3166-2:XK"]];var pd={};pd.remove=Gb;for(var hd=[{base:" ",chars:" "},{base:"0",chars:"߀"},{base:"A",chars:"ⒶAÀÁÂẦẤẪẨÃĀĂẰẮẴẲȦǠÄǞẢÅǺǍȀȂẠẬẶḀĄȺⱯ"},{base:"AA",chars:"Ꜳ"},{base:"AE",chars:"ÆǼǢ"},{base:"AO",chars:"Ꜵ"},{base:"AU",chars:"Ꜷ"},{base:"AV",chars:"ꜸꜺ"},{base:"AY",chars:"Ꜽ"},{base:"B",chars:"ⒷBḂḄḆɃƁ"},{base:"C",chars:"ⒸCꜾḈĆCĈĊČÇƇȻ"},{base:"D",chars:"ⒹDḊĎḌḐḒḎĐƊƉᴅꝹ"},{base:"Dh",chars:"Ð"},{base:"DZ",chars:"DZDŽ"},{base:"Dz",chars:"DzDž"},{base:"E",chars:"ɛⒺEÈÉÊỀẾỄỂẼĒḔḖĔĖËẺĚȄȆẸỆȨḜĘḘḚƐƎᴇ"},{base:"F",chars:"ꝼⒻFḞƑꝻ"},{base:"G",chars:"ⒼGǴĜḠĞĠǦĢǤƓꞠꝽꝾɢ"},{base:"H",chars:"ⒽHĤḢḦȞḤḨḪĦⱧⱵꞍ"},{base:"I",chars:"ⒾIÌÍÎĨĪĬİÏḮỈǏȈȊỊĮḬƗ"},{base:"J",chars:"ⒿJĴɈȷ"},{base:"K",chars:"ⓀKḰǨḲĶḴƘⱩꝀꝂꝄꞢ"},{base:"L",chars:"ⓁLĿĹĽḶḸĻḼḺŁȽⱢⱠꝈꝆꞀ"},{base:"LJ",chars:"LJ"},{base:"Lj",chars:"Lj"},{base:"M",chars:"ⓂMḾṀṂⱮƜϻ"},{base:"N",chars:"ꞤȠⓃNǸŃÑṄŇṆŅṊṈƝꞐᴎ"},{base:"NJ",chars:"NJ"},{base:"Nj",chars:"Nj"},{base:"O",chars:"ⓄOÒÓÔỒỐỖỔÕṌȬṎŌṐṒŎȮȰÖȪỎŐǑȌȎƠỜỚỠỞỢỌỘǪǬØǾƆƟꝊꝌ"},{base:"OE",chars:"Œ"},{base:"OI",chars:"Ƣ"},{base:"OO",chars:"Ꝏ"},{base:"OU",chars:"Ȣ"},{base:"P",chars:"ⓅPṔṖƤⱣꝐꝒꝔ"},{base:"Q",chars:"ⓆQꝖꝘɊ"},{base:"R",chars:"ⓇRŔṘŘȐȒṚṜŖṞɌⱤꝚꞦꞂ"},{base:"S",chars:"ⓈSẞŚṤŜṠŠṦṢṨȘŞⱾꞨꞄ"},{base:"T",chars:"ⓉTṪŤṬȚŢṰṮŦƬƮȾꞆ"},{base:"Th",chars:"Þ"},{base:"TZ",chars:"Ꜩ"},{base:"U",chars:"ⓊUÙÚÛŨṸŪṺŬÜǛǗǕǙỦŮŰǓȔȖƯỪỨỮỬỰỤṲŲṶṴɄ"},{base:"V",chars:"ⓋVṼṾƲꝞɅ"},{base:"VY",chars:"Ꝡ"},{base:"W",chars:"ⓌWẀẂŴẆẄẈⱲ"},{base:"X",chars:"ⓍXẊẌ"},{base:"Y",chars:"ⓎYỲÝŶỸȲẎŸỶỴƳɎỾ"},{base:"Z",chars:"ⓏZŹẐŻŽẒẔƵȤⱿⱫꝢ"},{base:"a",chars:"ⓐaẚàáâầấẫẩãāăằắẵẳȧǡäǟảåǻǎȁȃạậặḁąⱥɐɑ"},{base:"aa",chars:"ꜳ"},{base:"ae",chars:"æǽǣ"},{base:"ao",chars:"ꜵ"},{base:"au",chars:"ꜷ"},{base:"av",chars:"ꜹꜻ"},{base:"ay",chars:"ꜽ"},{base:"b",chars:"ⓑbḃḅḇƀƃɓƂ"},{base:"c",chars:"cⓒćĉċčçḉƈȼꜿↄ"},{base:"d",chars:"ⓓdḋďḍḑḓḏđƌɖɗƋᏧԁꞪ"},{base:"dh",chars:"ð"},{base:"dz",chars:"dzdž"},{base:"e",chars:"ⓔeèéêềếễểẽēḕḗĕėëẻěȅȇẹệȩḝęḙḛɇǝ"},{base:"f",chars:"ⓕfḟƒ"},{base:"ff",chars:"ff"},{base:"fi",chars:"fi"},{base:"fl",chars:"fl"},{base:"ffi",chars:"ffi"},{base:"ffl",chars:"ffl"},{base:"g",chars:"ⓖgǵĝḡğġǧģǥɠꞡꝿᵹ"},{base:"h",chars:"ⓗhĥḣḧȟḥḩḫẖħⱨⱶɥ"},{base:"hv",chars:"ƕ"},{base:"i",chars:"ⓘiìíîĩīĭïḯỉǐȉȋịįḭɨı"},{base:"j",chars:"ⓙjĵǰɉ"},{base:"k",chars:"ⓚkḱǩḳķḵƙⱪꝁꝃꝅꞣ"},{base:"l",chars:"ⓛlŀĺľḷḹļḽḻſłƚɫⱡꝉꞁꝇɭ"},{base:"lj",chars:"lj"},{base:"m",chars:"ⓜmḿṁṃɱɯ"},{base:"n",chars:"ⓝnǹńñṅňṇņṋṉƞɲʼnꞑꞥлԉ"},{base:"nj",chars:"nj"},{base:"o",chars:"ⓞoòóôồốỗổõṍȭṏōṑṓŏȯȱöȫỏőǒȍȏơờớỡởợọộǫǭøǿꝋꝍɵɔᴑ"},{base:"oe",chars:"œ"},{base:"oi",chars:"ƣ"},{base:"oo",chars:"ꝏ"},{base:"ou",chars:"ȣ"},{base:"p",chars:"ⓟpṕṗƥᵽꝑꝓꝕρ"},{base:"q",chars:"ⓠqɋꝗꝙ"},{base:"r",chars:"ⓡrŕṙřȑȓṛṝŗṟɍɽꝛꞧꞃ"},{base:"s",chars:"ⓢsśṥŝṡšṧṣṩșşȿꞩꞅẛʂ"},{base:"ss",chars:"ß"},{base:"t",chars:"ⓣtṫẗťṭțţṱṯŧƭʈⱦꞇ"},{base:"th",chars:"þ"},{base:"tz",chars:"ꜩ"},{base:"u",chars:"ⓤuùúûũṹūṻŭüǜǘǖǚủůűǔȕȗưừứữửựụṳųṷṵʉ"},{base:"v",chars:"ⓥvṽṿʋꝟʌ"},{base:"vy",chars:"ꝡ"},{base:"w",chars:"ⓦwẁẃŵẇẅẘẉⱳ"},{base:"x",chars:"ⓧxẋẍ"},{base:"y",chars:"ⓨyỳýŷỹȳẏÿỷẙỵƴɏỿ"},{base:"z",chars:"ⓩzźẑżžẓẕƶȥɀⱬꝣ"}],nf={},gd=0;gd<hd.length;gd+=1)for(var sh=hd[gd].chars,rf=0;rf<sh.length;rf+=1)nf[sh[rf]]=hd[gd].base;function Gb(r){return r.replace(/[^\u0000-\u007e]/g,function(e){return nf[e]||e})}pd.replacementList=hd,pd.diacriticsMap=nf;var Zb=$b,lh=pd.remove,Cu={},md={},vd={},bc={},af={};Zb.forEach(function(r){var e=r;md[e[0]]=e[1],vd[e[1]]=e[0],bc[e[2]]=e[0],af[e[0]]=e[2]});function uh(r){return("000"+(r||"")).slice(-3)}function Yb(r){if(!r.locale)throw new TypeError("Missing localeData.locale");if(!r.countries)throw new TypeError("Missing localeData.countries");Cu[r.locale]=r.countries}mn.registerLocale=Yb;function of(r){return vd[r]}mn.alpha3ToAlpha2=of;function sf(r){return md[r]}mn.alpha2ToAlpha3=sf;function Kb(r){return af[of(r)]}mn.alpha3ToNumeric=Kb;function Jb(r){return af[r]}mn.alpha2ToNumeric=Jb;function lf(r){var e=uh(r);return sf(bc[e])}mn.numericToAlpha3=lf;function uf(r){var e=uh(r);return bc[e]}mn.numericToAlpha2=uf;function Qb(r){if(typeof r=="string"){if(/^[0-9]*$/.test(r))return lf(r);if(r.length===2)return sf(r.toUpperCase());if(r.length===3)return r.toUpperCase()}if(typeof r=="number")return lf(r)}mn.toAlpha3=Qb;function ch(r){if(typeof r=="string"){if(/^[0-9]*$/.test(r))return uf(r);if(r.length===2)return r.toUpperCase();if(r.length===3)return of(r.toUpperCase())}if(typeof r=="number")return uf(r)}mn.toAlpha2=ch,mn.getName=function(r,e){try{var n=Cu[e.toLowerCase()];return n[ch(r)]}catch{return}},mn.getNames=function(r){var e=Cu[r.toLowerCase()];return e===void 0?{}:e},mn.getAlpha2Code=function(r,e){try{var n,a=Cu[e.toLowerCase()];for(n in a)if(a.hasOwnProperty(n)&&a[n].toLowerCase()===r.toLowerCase())return n;return}catch{return}},mn.getSimpleAlpha2Code=function(r,e){try{var n,a=Cu[e.toLowerCase()];for(n in a)if(a.hasOwnProperty(n)&&lh(a[n].toLowerCase())===lh(r.toLowerCase()))return n;return}catch{return}},mn.getAlpha2Codes=function(){return md},mn.getAlpha3Code=function(r,e){var n=this.getAlpha2Code(r,e);if(n)return this.toAlpha3(n)},mn.getSimpleAlpha3Code=function(r,e){var n=this.getSimpleAlpha2Code(r,e);if(n)return this.toAlpha3(n)},mn.getAlpha3Codes=function(){return vd},mn.getNumericCodes=function(){return bc},mn.langs=function(){return Object.keys(Cu)},mn.isValid=function(r){if(!r)return!1;var e=r.toString().toUpperCase();return vd.hasOwnProperty(e)||md.hasOwnProperty(e)||bc.hasOwnProperty(e)};const Xb={locale:"nl",countries:{AF:"Afghanistan",AL:"Albanië",DZ:"Algerije",AS:"Amerikaans-Samoa",AD:"Andorra",AO:"Angola",AI:"Anguilla",AQ:"Antarctica",AG:"Antigua en Barbuda",AR:"Argentinië",AM:"Armenië",AW:"Aruba",AU:"Australië",AT:"Oostenrijk",AZ:"Azerbeidzjan",BS:"Bahama's",BH:"Bahrein",BD:"Bangladesh",BB:"Barbados",BY:"Wit-Rusland",BE:"België",BZ:"Belize",BJ:"Benin",BM:"Bermuda",BT:"Bhutan",BO:"Bolivië",BA:"Bosnië-Herzegovina",BW:"Botswana",BV:"Bouvet Eiland",BR:"Brazilië",IO:"Brits Indische oceaan",BN:"Brunei Darussalam",BG:"Bulgarije",BF:"Burkina Faso",BI:"Burundi",KH:"Cambodja",CM:"Kameroen",CA:"Canada",CV:"Kaapverdië",KY:"Kaaimaneilanden",CF:"Centraal-Afrikaanse Republiek",TD:"Tsjaad",CL:"Chili",CN:"Vasteland van China",CX:"Christmaseiland",CC:"Cocoseilanden",CO:"Colombia",KM:"Comoren",CG:"Congo, Volksrepubliek",CD:"Congo, Democratische Republiek",CK:"Cookeilanden",CR:"Costa Rica",CI:"Ivoorkust",HR:"Kroatië",CU:"Cuba",CY:"Cyprus",CZ:"Tsjechië",DK:"Denemarken",DJ:"Djibouti",DM:"Dominica",DO:"Dominicaanse Republiek",EC:"Ecuador",EG:"Egypte",SV:"El Salvador",GQ:"Equatoriaal-Guinea",ER:"Eritrea",EE:"Estland",ET:"Ethiopië",FK:"Falklandeilanden",FO:"Faeröer",FJ:"Fiji",FI:"Finland",FR:"Frankrijk",GF:"Frans-Guyana",PF:"Frans-Polynesië",TF:"Franse Zuidelijke Gebieden",GA:"Gabon",GM:"Gambia",GE:"Georgië",DE:"Duitsland",GH:"Ghana",GI:"Gibraltar",GR:"Griekenland",GL:"Groenland",GD:"Grenada",GP:"Guadeloupe",GU:"Guam",GT:"Guatemala",GN:"Guinea",GW:"Guinee-Bissau",GY:"Guyana",HT:"Haïti",HM:"Heard en McDonaldeilanden",VA:"Heilige Stoel",HN:"Honduras",HK:"Hongkong SAR",HU:"Hongarije",IS:"IJsland",IN:"India",ID:"Indonesia",IR:"Iran",IQ:"Irak",IE:"Ierland",IL:"Israël",IT:"Italië",JM:"Jamaica",JP:"Japan",JO:"Jordanië",KZ:"Kazachstan",KE:"Kenia",KI:"Kiribati",KP:"Noord-Korea",KR:"Zuid-Korea",KW:"Koeweit",KG:"Kirgizstan",LA:"Laos",LV:"Letland",LB:"Libanon",LS:"Lesotho",LR:"Liberia",LY:"Libië",LI:"Liechtenstein",LT:"Litouwen",LU:"Luxemburg",MO:"Macau SAR",MG:"Madagaskar",MW:"Malawi",MY:"Maleisië",MV:"Maldiven",ML:"Mali",MT:"Malta",MH:"Marshalleilanden",MQ:"Martinique",MR:"Mauritanië",MU:"Mauritius",YT:"Mayotte",MX:"Mexico",FM:"Micronesië, Federale Staten",MD:"Moldavië",MC:"Monaco",MN:"Mongolië",MS:"Montserrat",MA:"Marokko",MZ:"Mozambique",MM:"Myanmar",NA:"Namibië",NR:"Nauru",NP:"Nepal",NL:"Nederland",NC:"Nieuw-Caledonië",NZ:"Nieuw-Zeeland",NI:"Nicaragua",NE:"Niger",NG:"Nigeria",NU:"Niue",NF:"Norfolk",MP:"Noordelijke Marianen",MK:"Noord-Macedonië",NO:"Noorwegen",OM:"Oman",PK:"Pakistan",PW:"Palau",PS:"Palestina",PA:"Panama",PG:"Papoea-Nieuw-Guinea",PY:"Paraguay",PE:"Peru",PH:"Filipijnen",PN:"Pitcairn",PL:"Polen",PT:"Portugal",PR:"Puerto Rico",QA:"Qatar",RE:"Réunion",RO:"Roemenië",RU:"Rusland",RW:"Rwanda",SH:"Sint-Helena",KN:"Saint Kitts en Nevis",LC:"Saint Lucia",PM:"Saint-Pierre en Miquelon",VC:"Saint Vincent en de Grenadines",WS:"Samoa",SM:"San Marino",ST:"São Tomé en Principe",SA:"Saudi-Arabië",SN:"Senegal",SC:"Seychellen",SL:"Sierra Leone",SG:"Singapore",SK:"Slowakije",SI:"Slovenië",SB:"Salomonseilanden",SO:"Somalië",ZA:"Zuid-Afrika",GS:"Zuid-Georgia en de Zuidelijke Sandwicheilanden",ES:"Spanje",LK:"Sri Lanka",SD:"Soedan",SR:"Suriname",SJ:"Spitsbergen en Jan Mayen",SZ:"Ngwane, Koninkrijk Swaziland",SE:"Zweden",CH:"Zwitserland",SY:"Syrië",TW:"Regio Taiwan",TJ:"Tadzjikistan",TZ:"Tanzania, Verenigde Republiek",TH:"Thailand",TL:"Timor Leste",TG:"Togo",TK:"Tokelau",TO:"Tonga",TT:"Trinidad en Tobago",TN:"Tunesië",TR:"Turkije",TM:"Turkmenistan",TC:"Turks- en Caicoseilanden",TV:"Tuvalu",UG:"Oeganda",UA:"Oekraïne",AE:"Verenigde Arabische Emiraten",GB:"Verenigd Koninkrijk",US:"Verenigde Staten van Amerika",UM:"Ver afgelegen eilandjes van de Verenigde Staten",UY:"Uruguay",UZ:"Oezbekistan",VU:"Vanuatu",VE:"Venezuela",VN:"Vietnam",VG:"Maagdeneilanden, Britse",VI:"Maagdeneilanden, Amerikaanse",WF:"Wallis en Futuna",EH:"Westelijke Sahara",YE:"Jemen",ZM:"Zambia",ZW:"Zimbabwe",AX:"Åland",BQ:"Bonaire, Sint Eustatius en Saba",CW:"Curaçao",GG:"Guernsey",IM:"Man Eiland",JE:"Jersey",ME:"Montenegro",BL:"Saint Barthélemy",MF:"Sint-Maarten (Frans deel)",RS:"Servië",SX:"Sint Maarten (Nederlands deel)",SS:"Zuid-Soedan",XK:"Kosovo"}},qb={locale:"en",countries:{AF:"Afghanistan",AL:"Albania",DZ:"Algeria",AS:"American Samoa",AD:"Andorra",AO:"Angola",AI:"Anguilla",AQ:"Antarctica",AG:"Antigua and Barbuda",AR:"Argentina",AM:"Armenia",AW:"Aruba",AU:"Australia",AT:"Austria",AZ:"Azerbaijan",BS:"Bahamas",BH:"Bahrain",BD:"Bangladesh",BB:"Barbados",BY:"Belarus",BE:"Belgium",BZ:"Belize",BJ:"Benin",BM:"Bermuda",BT:"Bhutan",BO:"Bolivia",BA:"Bosnia and Herzegovina",BW:"Botswana",BV:"Bouvet Island",BR:"Brazil",IO:"British Indian Ocean Territory",BN:"Brunei Darussalam",BG:"Bulgaria",BF:"Burkina Faso",BI:"Burundi",KH:"Cambodia",CM:"Cameroon",CA:"Canada",CV:"Cape Verde",KY:"Cayman Islands",CF:"Central African Republic",TD:"Chad",CL:"Chile",CN:"China Mainland",CX:"Christmas Island",CC:"Cocos (Keeling) Islands",CO:"Colombia",KM:"Comoros",CG:"Congo",CD:"Congo, the Democratic Republic of the",CK:"Cook Islands",CR:"Costa Rica",CI:"Cote D'Ivoire",HR:"Croatia",CU:"Cuba",CY:"Cyprus",CZ:"Czech Republic",DK:"Denmark",DJ:"Djibouti",DM:"Dominica",DO:"Dominican Republic",EC:"Ecuador",EG:"Egypt",SV:"El Salvador",GQ:"Equatorial Guinea",ER:"Eritrea",EE:"Estonia",ET:"Ethiopia",FK:"Falkland Islands (Malvinas)",FO:"Faroe Islands",FJ:"Fiji",FI:"Finland",FR:"France",GF:"French Guiana",PF:"French Polynesia",TF:"French Southern Territories",GA:"Gabon",GM:"Gambia",GE:"Georgia",DE:"Germany",GH:"Ghana",GI:"Gibraltar",GR:"Greece",GL:"Greenland",GD:"Grenada",GP:"Guadeloupe",GU:"Guam",GT:"Guatemala",GN:"Guinea",GW:"Guinea-Bissau",GY:"Guyana",HT:"Haiti",HM:"Heard Island and Mcdonald Islands",VA:"Holy See (Vatican City State)",HN:"Honduras",HK:"Hong Kong SAR",HU:"Hungary",IS:"Iceland",IN:"India",ID:"Indonesia",IR:"Iran, Islamic Republic of",IQ:"Iraq",IE:"Ireland",IL:"Israel",IT:"Italy",JM:"Jamaica",JP:"Japan",JO:"Jordan",KZ:"Kazakhstan",KE:"Kenya",KI:"Kiribati",KP:"North Korea",KR:"South Korea",KW:"Kuwait",KG:"Kyrgyzstan",LA:"Lao People's Democratic Republic",LV:"Latvia",LB:"Lebanon",LS:"Lesotho",LR:"Liberia",LY:"Libya",LI:"Liechtenstein",LT:"Lithuania",LU:"Luxembourg",MO:"Macau SAR",MG:"Madagascar",MW:"Malawi",MY:"Malaysia",MV:"Maldives",ML:"Mali",MT:"Malta",MH:"Marshall Islands",MQ:"Martinique",MR:"Mauritania",MU:"Mauritius",YT:"Mayotte",MX:"Mexico",FM:"Micronesia, Federated States of",MD:"Moldova, Republic of",MC:"Monaco",MN:"Mongolia",MS:"Montserrat",MA:"Morocco",MZ:"Mozambique",MM:"Myanmar",NA:"Namibia",NR:"Nauru",NP:"Nepal",NL:"Netherlands",NC:"New Caledonia",NZ:"New Zealand",NI:"Nicaragua",NE:"Niger",NG:"Nigeria",NU:"Niue",NF:"Norfolk Island",MK:"North Macedonia, Republic of",MP:"Northern Mariana Islands",NO:"Norway",OM:"Oman",PK:"Pakistan",PW:"Palau",PS:"Palestinian Territory",PA:"Panama",PG:"Papua New Guinea",PY:"Paraguay",PE:"Peru",PH:"Philippines",PN:"Pitcairn",PL:"Poland",PT:"Portugal",PR:"Puerto Rico",QA:"Qatar",RE:"Reunion",RO:"Romania",RU:"Russian Federation",RW:"Rwanda",SH:"Saint Helena",KN:"Saint Kitts and Nevis",LC:"Saint Lucia",PM:"Saint Pierre and Miquelon",VC:"Saint Vincent and the Grenadines",WS:"Samoa",SM:"San Marino",ST:"Sao Tome and Principe",SA:"Kingdom of Saudi Arabia",SN:"Senegal",SC:"Seychelles",SL:"Sierra Leone",SG:"Singapore",SK:"Slovakia",SI:"Slovenia",SB:"Solomon Islands",SO:"Somalia",ZA:"South Africa",GS:"South Georgia and the South Sandwich Islands",ES:"Spain",LK:"Sri Lanka",SD:"Sudan",SR:"Suriname",SJ:"Svalbard and Jan Mayen",SZ:"Swaziland",SE:"Sweden",CH:"Switzerland",SY:"Syrian Arab Republic",TW:"Taiwan Region",TJ:"Tajikistan",TZ:"Tanzania, United Republic of",TH:"Thailand",TL:"Timor-Leste",TG:"Togo",TK:"Tokelau",TO:"Tonga",TT:"Trinidad and Tobago",TN:"Tunisia",TR:"Turkey",TM:"Turkmenistan",TC:"Turks and Caicos Islands",TV:"Tuvalu",UG:"Uganda",UA:"Ukraine",AE:"United Arab Emirates",GB:"United Kingdom",US:"United States of America",UM:"United States Minor Outlying Islands",UY:"Uruguay",UZ:"Uzbekistan",VU:"Vanuatu",VE:"Venezuela",VN:"Viet Nam",VG:"Virgin Islands, British",VI:"Virgin Islands, U.S.",WF:"Wallis and Futuna",EH:"Western Sahara",YE:"Yemen",ZM:"Zambia",ZW:"Zimbabwe",AX:"Åland Islands",BQ:"Bonaire, Sint Eustatius and Saba",CW:"Curaçao",GG:"Guernsey",IM:"Isle of Man",JE:"Jersey",ME:"Montenegro",BL:"Saint Barthélemy",MF:"Saint Martin (French part)",RS:"Serbia",SX:"Sint Maarten (Dutch part)",SS:"South Sudan",XK:"Kosovo"}},ey={locale:"de",countries:{AF:"Afghanistan",EG:"Ägypten",AX:"Åland",AL:"Albanien",DZ:"Algerien",AS:"Amerikanisch-Samoa",VI:"Amerikanische Jungferninseln",AD:"Andorra",AO:"Angola",AI:"Anguilla",AQ:"Antarktis",AG:"Antigua und Barbuda",GQ:"Äquatorialguinea",AR:"Argentinien",AM:"Armenien",AW:"Aruba",AZ:"Aserbaidschan",ET:"Äthiopien",AU:"Australien",BS:"Bahamas",BH:"Bahrain",BD:"Bangladesch",BB:"Barbados",BY:"Weißrussland",BE:"Belgien",BZ:"Belize",BJ:"Benin",BM:"Bermuda",BT:"Bhutan",BO:"Bolivien",BQ:"Bonaire",BA:"Bosnien und Herzegowina",BW:"Botswana",BV:"Bouvetinsel",BR:"Brasilien",VG:"Britische Jungferninseln",IO:"Britisches Territorium im Indischen Ozean",BN:"Brunei Darussalam",BG:"Bulgarien",BF:"Burkina Faso",BI:"Burundi",CL:"Chile",CN:"Festlandchina",CK:"Cookinseln",CR:"Costa Rica",CI:"Elfenbeinküste",CW:"Curaçao",DK:"Dänemark",DE:"Deutschland",DM:"Dominica",DO:"Dominikanische Republik",DJ:"Dschibuti",EC:"Ecuador",SV:"El Salvador",ER:"Eritrea",EE:"Estland",FK:"Falklandinseln",FO:"Färöer",FJ:"Fidschi",FI:"Finnland",FR:"Frankreich",GF:"Französisch-Guayana",PF:"Französisch-Polynesien",TF:"Französische Süd- und Antarktisgebiete",GA:"Gabun",GM:"Gambia",GE:"Georgien",GH:"Ghana",GI:"Gibraltar",GD:"Grenada",GR:"Griechenland",GL:"Grönland",GP:"Guadeloupe",GU:"Guam",GT:"Guatemala",GG:"Guernsey",GN:"Guinea",GW:"Guinea-Bissau",GY:"Guyana",HT:"Haiti",HM:"Heard und McDonaldinseln",HN:"Honduras",HK:"SAR Hong Kong",IN:"Indien",ID:"Indonesien",IM:"Insel Man",IQ:"Irak",IR:"Iran",IE:"Irland",IS:"Island",IL:"Israel",IT:"Italien",JM:"Jamaika",JP:"Japan",YE:"Jemen",JE:"Jersey",JO:"Jordanien",KY:"Kaimaninseln",KH:"Kambodscha",CM:"Kamerun",CA:"Kanada",CV:"Kap Verde",KZ:"Kasachstan",QA:"Katar",KE:"Kenia",KG:"Kirgisistan",KI:"Kiribati",CC:"Kokosinseln",CO:"Kolumbien",KM:"Komoren",CD:"Kongo",KP:"Nordkorea",KR:"Südkorea",HR:"Kroatien",CU:"Kuba",KW:"Kuwait",LA:"Laos",LS:"Lesotho",LV:"Lettland",LB:"Libanon",LR:"Liberia",LY:"Libyen",LI:"Liechtenstein",LT:"Litauen",LU:"Luxemburg",MO:"SAR Macau",MG:"Madagaskar",MW:"Malawi",MY:"Malaysia",MV:"Malediven",ML:"Mali",MT:"Malta",MA:"Marokko",MH:"Marshallinseln",MQ:"Martinique",MR:"Mauretanien",MU:"Mauritius",YT:"Mayotte",MX:"Mexiko",FM:"Mikronesien",MD:"Moldawien",MC:"Monaco",MN:"Mongolei",ME:"Montenegro",MS:"Montserrat",MZ:"Mosambik",MM:"Myanmar",NA:"Namibia",NR:"Nauru",NP:"Nepal",NC:"Neukaledonien",NZ:"Neuseeland",NI:"Nicaragua",NL:"Niederlande",NE:"Niger",NG:"Nigeria",NU:"Niue",MK:"Nordmazedonien",MP:"Nördliche Marianen",NF:"Norfolkinsel",NO:"Norwegen",OM:"Oman",AT:"Österreich",TL:"Osttimor",PK:"Pakistan",PS:"Staat Palästina",PW:"Palau",PA:"Panama",PG:"Papua-Neuguinea",PY:"Paraguay",PE:"Peru",PH:"Philippinen",PN:"Pitcairninseln",PL:"Polen",PT:"Portugal",PR:"Puerto Rico",TW:"Taiwan Region",CG:"Republik Kongo",RE:"Réunion",RW:"Ruanda",RO:"Rumänien",RU:"Russische Föderation",BL:"Saint-Barthélemy",MF:"Saint-Martin",SB:"Salomonen",ZM:"Sambia",WS:"Samoa",SM:"San Marino",ST:"São Tomé und Príncipe",SA:"Saudi-Arabien",SE:"Schweden",CH:"Schweiz",SN:"Senegal",RS:"Serbien",SC:"Seychellen",SL:"Sierra Leone",ZW:"Simbabwe",SG:"Singapur",SX:"Sint Maarten",SK:"Slowakei",SI:"Slowenien",SO:"Somalia",ES:"Spanien",LK:"Sri Lanka",SH:"St. Helena",KN:"St. Kitts und Nevis",LC:"St. Lucia",PM:"Saint-Pierre und Miquelon",VC:"St. Vincent und die Grenadinen",ZA:"Südafrika",SD:"Sudan",GS:"Südgeorgien und die Südlichen Sandwichinseln",SS:"Südsudan",SR:"Suriname",SJ:"Svalbard und Jan Mayen",SZ:"Swasiland",SY:"Syrien, Arabische Republik",TJ:"Tadschikistan",TZ:"Tansania, Vereinigte Republik",TH:"Thailand",TG:"Togo",TK:"Tokelau",TO:"Tonga",TT:"Trinidad und Tobago",TD:"Tschad",CZ:"Tschechische Republik",TN:"Tunesien",TR:"Türkei",TM:"Turkmenistan",TC:"Turks- und Caicosinseln",TV:"Tuvalu",UG:"Uganda",UA:"Ukraine",HU:"Ungarn",UM:"United States Minor Outlying Islands",UY:"Uruguay",UZ:"Usbekistan",VU:"Vanuatu",VA:"Vatikanstadt",VE:"Venezuela",AE:"Vereinigte Arabische Emirate",US:"Vereinigte Staaten von Amerika",GB:"Vereinigtes Königreich",VN:"Vietnam",WF:"Wallis und Futuna",CX:"Weihnachtsinsel",EH:"Westsahara",CF:"Zentralafrikanische Republik",CY:"Zypern",XK:"Kosovo"}};ny();const ty=({question:r,fieldState:e,setQuestionRef:n})=>{const a=Nn("fields",r.presentation!=="horizontal"?"options":null),o=v=>{e.setValue(v.target.value.length!==0?v.target.value:null)},{t:d}=Os();return U.jsxs(Oi,{question:r,fieldState:e,setQuestionRef:n,children:[U.jsx(Ii,{question:r}),U.jsxs("div",{className:"description-and-fields",children:[U.jsx(Ai,{question:r}),U.jsx("div",{className:a,id:ry(r),children:U.jsxs("select",{value:e.value??"",onChange:o,onFocus:e.setAsActiveQuestion,disabled:e.disabled,children:[U.jsx("option",{value:"",children:d("choose_a_country")}),U.jsx(iy,{lang:cr.language})]})})]})]})};function ny(){mn.registerLocale(Xb),mn.registerLocale(qb),mn.registerLocale(ey)}function ry(r){return`answer_${r.key}_input`}const iy=Le.memo(r=>U.jsx(U.Fragment,{children:ay(r.lang).map(e=>U.jsx(oy,{option:e},e.numeric))}));function ay(r){const e=[];return Object.keys(mn.getNames(r)).sort().map(n=>{e.push({country:mn.getName(n,r),numeric:mn.alpha2ToNumeric(n).toString()})}),e}const oy=({option:r})=>U.jsx("option",{value:r.numeric??"",children:r.country}),sy=({question:r,fieldState:e,setQuestionRef:n})=>{const{t:a}=Os(),o=ly(r,e.value??null),d=(v,_)=>{e.setValue(uy(r,o.set(v,_)))};return U.jsxs(Oi,{question:r,fieldState:e,setQuestionRef:n,children:[U.jsx(Ii,{question:r}),U.jsxs("div",{className:"description-and-fields",children:[U.jsx(Ai,{question:r}),U.jsx("div",{className:"fields",id:cy(r),children:r.units.map(v=>U.jsxs(Le.Fragment,{children:[U.jsx("input",{type:"text",value:(o==null?void 0:o.get(v))||"",size:r.size,disabled:e.disabled,onChange:_=>d(v,parseInt(_.target.value)),onFocus:e.setAsActiveQuestion}),U.jsx("span",{className:"mx-1",children:a(`units.${v}`,{defaultValue:v})})]},v))})]})]})};function ly(r,e){if(e==null)return new Map;const n=new Map;for(const a of r.units){const o=r.conversions[a]||1,d=Math.trunc(e/o);n.set(a,d),e=e%o}return n}function uy(r,e){return[...e.values()].every(n=>n===void 0)?null:r.units.reduce((n,a)=>n+(e.get(a)||0)*(r.conversions[a]||1),0)}function cy(r){return`answer_${r.key}_input`}const dh=({fieldKey:r})=>{const{questionnaire:e,response:n,setQuestionRef:a,displayOptions:o}=Le.useContext(Zd),d=e.getField(r);switch(d.as){case"string":{const v=n.getFieldState(r);return v.hidden?null:U.jsx(Nv,{question:d,fieldState:v,setQuestionRef:a})}case"country_select":{const v=n.getFieldState(r);return v.hidden?null:U.jsx(ty,{question:d,fieldState:v,setQuestionRef:a})}case"scale":{const v=n.getFieldState(r);return v.hidden?null:U.jsx(zv,{question:d,fieldState:v,setQuestionRef:a})}case"radio":{const v=n.getFieldState(r);return v.hidden?null:U.jsx($v,{question:d,fieldState:v,setQuestionRef:a})}case"select":{const v=n.getFieldState(r);return v.hidden?null:U.jsx(Jv,{question:d,fieldState:v,setQuestionRef:a})}case"date_parts":{const v=n.getFieldState(r);return v.hidden?null:U.jsx(qv,{question:d,fieldState:v,setQuestionRef:a})}case"integer":{const v=n.getFieldState(r);return v.hidden?null:U.jsx(tb,{question:d,fieldState:v,setQuestionRef:a})}case"float":{const v=n.getFieldState(r);return v.hidden?null:U.jsx(rb,{question:d,fieldState:v,setQuestionRef:a})}case"slider":{const v=n.getFieldState(r);return v.hidden?null:o.newLayout?U.jsx(fb,{question:d,fieldState:v,setQuestionRef:a}):U.jsx(Tb,{question:d,fieldState:v,setQuestionRef:a})}case"split_to_units":{const v=n.getFieldState(r);return v.hidden?null:U.jsx(sy,{question:d,fieldState:v,setQuestionRef:a})}case"textarea":{const v=n.getFieldState(r);return v.hidden?null:U.jsx(Lb,{question:d,fieldState:v,setQuestionRef:a})}case"check_box":{const v=n.getFieldState(r);return v.hidden?null:U.jsx(Nb,{question:d,fieldState:v,setQuestionRef:a})}}throw new Error("unknown question type")},dy=({item:r})=>U.jsxs("div",{className:"item",style:{border:"1px red",background:"yellow"},children:["Unknown item type:",r.type]}),fy=r=>{switch(r.item.type){case"html":return U.jsx(Av,{item:r.item});case"question":return U.jsx(dh,{fieldKey:r.item.key});default:return U.jsx(dy,{item:r.item})}},fh=({panel:r})=>U.jsxs("div",{className:"m-panel-padding",children:[U.jsx(py,{title:r.title}),r.items.map((e,n)=>U.jsx(fy,{item:e},n))]}),py=({title:r})=>r?U.jsx("h1",{children:r}):null,hy=r=>{const[e,n]=Le.useState(r.panelLogic.firstPanelIndexToActivate()),a=Le.useRef(null),o=r.panelLogic.previousPanelIndexToActivate(e),d=r.panelLogic.nextPanelIndexToActivate(e),v={prev:o!==null?()=>{var _;n(o),(_=a.current)==null||_.focus()}:void 0,next:d!==null&&r.displayMode!=="single_page"?()=>{var _;r.beforeNext(e)&&(n(d),(_=a.current)==null||_.focus())}:void 0,done:r.onDone,onFocus:r.onFocus,nextSavePressWillOnlyRunMinimalValidations:r.nextSavePressWillOnlyRunMinimalValidations};switch(r.displayMode){case"paged":return U.jsxs(gy,{panelLogic:r.panelLogic,panelIndex:e,navigate:v,children:[U.jsx("span",{ref:a,tabIndex:-1}),U.jsx(fh,{panel:r.panelLogic.panels[e]})]});case"single_page":return U.jsxs(Le.Fragment,{children:[U.jsx("span",{ref:a,tabIndex:-1}),r.panelLogic.panels.map((_,w)=>U.jsxs("fieldset",{className:"panel",children:[U.jsx(fh,{panel:_}),r.panelLogic.isLastPanel(w)?U.jsx(ph,{firstPanel:!1,lastPanel:!0,navigate:v}):null]},w))]});default:return null}},gy=r=>U.jsxs("fieldset",{className:"panel",children:[U.jsx(vy,{}),r.children,U.jsx(Iv,{max:r.panelLogic.count(),current:r.panelIndex}),U.jsx(ph,{firstPanel:r.panelLogic.isFirstPanel(r.panelIndex),lastPanel:r.panelLogic.isLastPanel(r.panelIndex),navigate:r.navigate})]}),ph=r=>{const{t:e}=Os(),n=r.navigate.nextSavePressWillOnlyRunMinimalValidations?e("questionnaire_not_completed.save_anyway"):e("done");return U.jsxs("div",{className:"buttons bg-slate-100 dark:bg-slate-700 p-panel-padding",children:[r.navigate.nextSavePressWillOnlyRunMinimalValidations&&my(e),U.jsxs("div",{className:"flex justify-between",children:[U.jsx("div",{className:"next order-last",children:r.navigate.next?U.jsx(bd,{onClick:r.navigate.next,value:e("next"),onFocus:r.navigate.onFocus,variant:"primary"}):U.jsx(bd,{onClick:r.navigate.done,value:n,onFocus:r.navigate.onFocus,variant:"primary"})}),U.jsx("div",{className:"prev",children:r.navigate.prev&&U.jsx(bd,{onClick:r.navigate.prev,value:e("previous"),onFocus:r.navigate.onFocus})}),U.jsx("div",{className:"abort",children:r.navigate.abort&&U.jsx(bd,{onClick:r.navigate.abort,value:e("abort"),onFocus:r.navigate.onFocus})})]})]})},my=r=>U.jsxs("div",{className:"m-panel-padding p-panel-padding border-2 rounded border-warning fg-warning-inv",children:[U.jsx("h1",{children:r("questionnaire_not_completed.heading")}),U.jsx("p",{children:r("questionnaire_not_completed.explanation")})]}),bd=({value:r,onClick:e,onFocus:n,variant:a})=>{const o=Nn("border p-2 rounded",{"bg-primary":a==="primary","text-primary-inv":a==="primary","bg-secondary":a!=="primary","text-secondary-inv":a!=="primary"});return U.jsx("button",{onClick:e,onFocus:n,className:o,children:r})},vy=()=>null;class by{constructor(e,n){Ut(this,"panels");this.response=e,this.response=e,this.panels=n}firstPanelIndexToActivate(){return this.nextPanelIndexToActivate(-1)??this.panels.length-1}nextPanelIndexToActivate(e){let n=e+1;if(n===this.panels.length)return null;for(;n<this.panels.length&&this.allQuestionsHidden(n);)n++;return n}previousPanelIndexToActivate(e){let n=e;for(;;){if(n--,n<0)return null;if(!this.allQuestionsHidden(n))return n}}isFirstPanel(e){return e===this.firstPanelIndexToActivate()}isLastPanel(e){return e===this.panels.length-1}count(){return this.panels.length}allQuestionsHidden(e){const n=this.panels[e];return n.items.some(a=>a.type==="question")&&!n.items.some(a=>a.type==="question"&&this.response.isVisible(a.key))}}const Go=Le.createContext(r=>r),hh=({questionnaire:r,response:e,displayOptions:n,allowSkipValidation:a,onSave:o})=>{yy(e);const[d,v]=wy(e),_=Le.useRef(null);Mv(e,r,_);const w=n.displayMode,C=new Map,N=new Qp(e,r),L=new by(e,r.panels),W=Z=>{const G=r.panels[Z];e.touchPanelFields(G);const pe=e.firstNotValidQuestionInPanel(G);if(pe){const Se=C.get(pe);if(!Se)throw`Could not find ref for ${r.key}.${pe}`;gh(Se)}return pe===null},ge=()=>{e.touchAllFields();const Z=e.firstNotValidQuestion();if(d)o();else if(Z){const G=C.get(Z);if(!G)throw`Could not find ref for ${r.key}.${Z}`;gh(G),a&&e.validEnoughForForcedSave()&&v(!0)}else o()},ae=(Z,G)=>{C.set(Z,G)},we=Nn({dark:n.darkMode});return U.jsx(Go.Provider,{value:N.interpolateCurlies,children:U.jsx(Zd.Provider,{value:{questionnaire:r,response:e,displayOptions:n,setQuestionRef:ae},children:U.jsx("div",{ref:_,className:we,style:th(r.cssVars),children:U.jsx("form",{className:"paged",onSubmit:Z=>Z.preventDefault(),children:U.jsx(hy,{beforeNext:W,displayMode:w,nextSavePressWillOnlyRunMinimalValidations:d,panelLogic:L,onDone:ge,onFocus:()=>e.setActiveQuestion(null)})})})})})},yy=r=>{const[e,n]=Le.useState(0);Le.useEffect(()=>{const a=o=>n(d=>d+1);return r.onChange(a),()=>r.offChange(a)})},wy=r=>{const[e,n]=Le.useState(!1);return Le.useEffect(()=>{const a=(o,d)=>{e&&d==="valueChanged"&&n(!1)};return r.onChange(a),()=>r.offChange(a)}),[e,n]},gh=r=>{const e=r==null?void 0:r.current;if(!e)return;e.scrollIntoView();const n=e.querySelector('input, select, textarea, [tabindex]:not([tabindex="-1"])');n instanceof HTMLElement&&n.focus()};var Al={};/**
|
|
69
|
+
*/(function(r){(function(){var e={}.hasOwnProperty;function n(){for(var a=[],o=0;o<arguments.length;o++){var d=arguments[o];if(d){var v=typeof d;if(v==="string"||v==="number")a.push(d);else if(Array.isArray(d)){if(d.length){var _=n.apply(null,d);_&&a.push(_)}}else if(v==="object"){if(d.toString!==Object.prototype.toString&&!d.toString.toString().includes("[native code]")){a.push(d.toString());continue}for(var w in d)e.call(d,w)&&d[w]&&a.push(w)}}}return a.join(" ")}r.exports?(n.default=n,r.exports=n):window.classNames=n})()})(eh);var Iv=eh.exports;const Nn=op(Iv),Av=({max:r,current:e})=>{const{t:n}=Os();return r<=1?null:U.jsx("div",{className:"progress-bar",children:U.jsxs("div",{className:"progress-wrapper",children:[U.jsx("div",{className:Nn("progress-slider",{"long-list":r>25}),children:Array.from({length:r},(a,o)=>U.jsx("span",{className:Nn("progress-stop",`step-${o+1}`,{active:o<=e,"first-child":o===0,"last-child":o===r-1,current:o===e}),children:o+1},o))}),U.jsx("div",{className:"progress-details",children:n("step_i_of_n",{i:e+1,n:r})})]})})},Ov=({item:r})=>{const e=De.useContext(Go);return U.jsx("div",{className:"item",children:U.jsx("div",{className:"prose text",dangerouslySetInnerHTML:{__html:e(r.html)}})})};function ud(r,e){const[n,a]=De.useState(r);return{onChange:o=>{const d=e(o.target.value);d!==n&&a(d)},value:n||r||"",onBlur:()=>{a(void 0)}}}function Mv(r,e){return["Control","Alt","Fn","Meta"].every(n=>e.includes(n)?r.getModifierState(n):!r.getModifierState(n))}const Fv=(r,e,n)=>{const a=o=>{var _;let d=document.activeElement;if(d!=null&&d.shadowRoot&&(d=d.shadowRoot.activeElement),d!==document.body&&!((_=n.current)!=null&&_.contains(d))||!r.activeQuestionKey)return;const v=e.questions[r.activeQuestionKey];if(!(v.type!=="radio"&&v.type!=="scale"&&v.type!=="select")&&o.code.startsWith("Digit")&&Mv(o,[])){const w=parseInt(o.code.slice(5)),C=v.children.filter(N=>N.type==="option");w>=1&&w<=C.length&&(r.setValue(r.activeQuestionKey,C[w-1].key),o.preventDefault())}};De.useEffect(()=>(document.addEventListener("keydown",a),()=>document.removeEventListener("keydown",a)))},Pv=["option-gap-y"],th=r=>r&&Oa.mapKeys(Oa.pick(r,Pv),(e,n)=>`--${n}`),Ii=({question:r})=>{const e=De.useContext(Go);if(!r.title)return null;const n=e(r.title),a=`answer_${r.key}`,o=r.description?"mb-1":"mb-2";return U.jsx("div",{className:`text-lg ${o} font-semibold main`,children:U.jsx("label",{htmlFor:a,dangerouslySetInnerHTML:{__html:n}})})},Ai=r=>{const e=De.useContext(Go);if(!r.question.description)return null;const n=e(r.question.description);return U.jsx("div",{className:"font-light description prose",dangerouslySetInnerHTML:{__html:n}})},Dv=({fieldState:r})=>r.beenActive?U.jsx(U.Fragment,{children:r.errors.map(e=>U.jsx(Lv,{error:e},e.type))}):null,Lv=({error:r})=>{const e=Nn("error",r.type),n=Bv(r.message);return U.jsx("div",{className:e,children:n})};function Bv(r){const{t:e}=Os();if(typeof r=="string")return r;const n={...r};return delete n.t,e(`validations.${r.t}`,n)}const Oi=r=>{const{question:e,fieldState:n,setQuestionRef:a}=r,o=De.useRef(null);a(e.key,o);const d=Nn("item",e.type,e.presentation,e.questionGroup,e.as,{errors:n.beenActive&&n.errors.length>0,active:n.isActiveQuestion});return U.jsxs(U.Fragment,{children:[e.contextDescription&&U.jsx(Nv,{html:e.contextDescription}),U.jsxs("div",{className:d,ref:o,style:th(e.cssVars),children:[U.jsx(Dv,{fieldState:n}),r.children]})]})},Nv=({html:r})=>{const e=De.useContext(Go);return U.jsx("div",{className:"context-description prose",dangerouslySetInnerHTML:{__html:e(r)}})},jv=({question:r,fieldState:e,setQuestionRef:n})=>{var d;const a=ud((d=e.value)==null?void 0:d.toString(),v=>{if(e.value&&v.startsWith(e.value)&&v.slice(e.value.length).match(/^\s+$/))return v;e.setValue(v.trim()||null)}),o=Nn(r.type,{"w-full":!r.size,sized:!!r.size,subitem:!1});return U.jsxs(Oi,{question:r,fieldState:e,setQuestionRef:n,children:[U.jsx(Ii,{question:r}),U.jsxs("div",{className:"description-and-fields",children:[U.jsx(Ai,{question:r}),U.jsx("div",{className:"fields",id:zv(r),children:U.jsx("input",{type:"text",className:o,size:r.size??void 0,onFocus:e.setAsActiveQuestion,disabled:e.disabled,...a})})]})]})};function zv(r){return`answer_${r.key}_input`}const Uv=({question:r,fieldState:e,setQuestionRef:n})=>{r.presentation="horizontal";const a=Nn("fields");return U.jsxs(Oi,{question:r,fieldState:e,setQuestionRef:n,children:[U.jsx(Ii,{question:r}),U.jsxs("div",{className:"description-and-fields",children:[U.jsx(Ai,{question:r}),U.jsx("div",{className:a,id:$v(r),children:U.jsx("table",{cellSpacing:"0",width:"100%",children:U.jsx("tbody",{children:U.jsx("tr",{children:r.children.map((o,d)=>U.jsx(Wv,{question:r,option:o,index:d,fieldState:e},o.key))})})})})]})]})},Wv=({question:r,option:e,index:n,fieldState:a})=>{if(e.hidden&&a.value!==e.key)return null;const o=Nn("option text-center align-top",{first:n<=0,last:n>=r.children.length-1}),d=Nn(r.type,{subinput:!1,deselectable:!1}),v=a.value===e.key,_=C=>a.setValue(e.key),w=()=>{v&&a.setValue(null)};return U.jsxs("td",{className:o,style:{width:`${100/r.children.length}%`},children:[U.jsx(Hv,{question:r,option:e}),U.jsxs("span",{children:[U.jsx("input",{type:"radio",name:r.key,id:e.viewId,className:d,disabled:a.disabled,checked:v,onChange:_,onClick:w,onFocus:a.setAsActiveQuestion}),U.jsx("br",{}),U.jsx(Vv,{option:e})]})]})},Vv=({option:r})=>{const e=De.useContext(Go);return r.description?U.jsx("label",{htmlFor:r.viewId,children:U.jsx("span",{dangerouslySetInnerHTML:{__html:e(r.description)}})}):null},Hv=({question:r,option:e})=>r.showValues?U.jsx("div",{className:"value",children:e.value}):null;function $v(r){return`answer_${r.key}_input`}const nh=({questions:r})=>r.length==0?null:U.jsx("div",{className:"subquestions mt-1",children:r.map(e=>U.jsx(dh,{fieldKey:e.key}))}),Gv=({question:r,fieldState:e,setQuestionRef:n})=>{const a=Nn("fields",r.presentation!=="horizontal"?`options${r.children.length}`:null);return U.jsxs(Oi,{question:r,fieldState:e,setQuestionRef:n,children:[U.jsx(Ii,{question:r}),U.jsxs("div",{className:"description-and-fields",children:[U.jsx(Ai,{question:r}),U.jsx("div",{className:a,id:Jv(r),children:r.children.map((o,d)=>o.type==="option"?U.jsx(Zv,{question:r,option:o,index:d,fieldState:e},o.key):U.jsx("div",{className:"inner-title",dangerouslySetInnerHTML:{__html:o.html}},o.key))})]})]})},Zv=({question:r,option:e,fieldState:n})=>{if(e.hidden&&n.value!==e.key)return null;const a=Nn("option",{show_values:r.showValues||!1}),o=Nn(r.type,{subinput:!1,deselectable:!1}),d=n.value===e.key,v=w=>n.setValue(e.key),_=w=>{d&&n.setValue(null)};return U.jsxs("div",{className:a,children:[U.jsx("div",{className:"inline radiocheckwrapper",children:U.jsx("input",{type:"radio",name:r.key,id:e.viewId,className:o,disabled:n.disabled,checked:d,onChange:v,onClick:_,onFocus:n.setAsActiveQuestion})}),U.jsx(Kv,{question:r,option:e}),U.jsx(Yv,{option:e}),U.jsx(nh,{questions:e.questions})]})},Yv=({option:r})=>{const e=De.useContext(Go);if(!r.label&&!r.description)return null;const n=r.label||r.description,a=r.label?r.description:void 0;return U.jsxs("div",{className:"inline labelwrapper",children:[U.jsx("label",{htmlFor:r.viewId,"aria-describedby":a&&`${r.viewId}_description`,children:U.jsx("span",{dangerouslySetInnerHTML:{__html:e(n)}})}),a&&U.jsx("div",{className:"de-em",id:`${r.viewId}_description`,dangerouslySetInnerHTML:{__html:e(a||"")}})]})},Kv=({question:r,option:e})=>r.showValues?U.jsx("div",{className:"inline value",children:e.value}):null;function Jv(r){return`answer_${r.key}_input`}const Qv=({question:r,fieldState:e,setQuestionRef:n})=>{const a=d=>{e.setValue(d.target.value)},o=Nn("fields",r.presentation!=="horizontal"?`options${r.children.length}`:null);return U.jsxs(Oi,{question:r,fieldState:e,setQuestionRef:n,children:[U.jsx(Ii,{question:r}),U.jsxs("div",{className:"description-and-fields",children:[U.jsx(Ai,{question:r}),U.jsx("div",{className:o,id:qv(r),children:U.jsxs("select",{onChange:a,value:e.value||void 0,onFocus:e.setAsActiveQuestion,disabled:e.disabled,children:[r.placeholder?U.jsx("option",{className:"placeholder",children:r.placeholder},"placeholder"):null,r.children.map((d,v)=>d.hidden&&e.value!==d.key?null:U.jsx(Xv,{question:r,option:d,index:v},d.key))]})})]})]})},Xv=({option:r})=>U.jsx("option",{value:r.key,disabled:!1,children:r.description});function qv(r){return`answer_${r.key}_input`}const eb=({question:r,fieldState:e,setQuestionRef:n})=>U.jsxs(Oi,{question:r,fieldState:e,setQuestionRef:n,children:[U.jsx(Ii,{question:r}),U.jsxs("div",{className:"description-and-fields",children:[U.jsx(Ai,{question:r}),U.jsxs("div",{className:"fields",id:tb(r),children:[U.jsx(rh,{question:r,parts:["year","month","day"],fieldState:e}),U.jsx(rh,{question:r,parts:["hour","minute"],fieldState:e})]})]})]}),rh=({question:r,parts:e,fieldState:n})=>{const{t:a}=Os(),o=(v,_)=>{const w=new Map(n.value||[]),C=v.target.value.trim();C?w.set(_,C):w.delete(_),w.size===0?n.setValue(null):n.setValue(w)},d=r.dateParts.filter(v=>e.includes(v.part));return d.length===0?null:U.jsxs("div",{className:"mb-2 ",children:[d.flatMap(v=>{var _;return[U.jsx("input",{type:"text",className:"mr-1",value:((_=n.value)==null?void 0:_.get(v.part))||"",placeholder:a(`placeholders.${v.part}`),disabled:n.disabled,onChange:w=>o(w,v.part),size:v.part==="year"?5:3,onFocus:n.setAsActiveQuestion},v.part),Oa.isEqual(e,["hour","minute"])&&v.part==="hour"&&U.jsx("span",{className:"mr-1",children:":"},"colon")]}),d.flatMap(v=>[U.jsx("span",{className:"mr-1",children:a(v.part)},`label_${v.part}`),Oa.isEqual(e,["hour","minute"])&&v.part==="hour"&&U.jsx("span",{className:"mr-1",children:":"},"label_colon")])]})};function tb(r){return`answer_${r.key}_input`}const nb=({question:r,fieldState:e,setQuestionRef:n})=>{var v;const{t:a}=Os(),o=ud((v=e.value)==null?void 0:v.toString(),_=>{if(["-"].includes(_))return _;const w=parseInt(_,10);isNaN(w)?e.setValue(null):e.setValue(w)}),d=Nn(r.type,{subitem:!1});return U.jsxs(Oi,{question:r,fieldState:e,setQuestionRef:n,children:[U.jsx(Ii,{question:r}),U.jsxs("div",{className:"description-and-fields",children:[U.jsx(Ai,{question:r}),U.jsxs("div",{className:"fields",id:rb(r),children:[U.jsx("input",{type:"text",className:d,disabled:e.disabled,size:r.size,onFocus:e.setAsActiveQuestion,...o}),r.unit&&U.jsxs("span",{className:"unit",children:[" ",a(`units.${r.unit}`,{defaultValue:r.unit})]})]})]})]})};function rb(r){return`answer_${r.key}_input`}const ib=({question:r,fieldState:e,setQuestionRef:n})=>{var v;const{t:a}=Os(),o=ud((v=e.value)==null?void 0:v.toString(),_=>{if(["-",".",`${e.value}.`].includes(_))return _;_[0]==="."&&(_=`0${_}`);const w=parseFloat(_);isNaN(w)?e.setValue(null):e.setValue(w)}),d=Nn(r.type,{sized:!!r.size,subitem:!1});return U.jsxs(Oi,{question:r,fieldState:e,setQuestionRef:n,children:[U.jsx(Ii,{question:r}),U.jsxs("div",{className:"description-and-fields",children:[U.jsx(Ai,{question:r}),U.jsxs("div",{className:"fields",id:ab(r),children:[U.jsx("input",{type:"text",className:d,disabled:e.disabled,size:r.size,onFocus:e.setAsActiveQuestion,...o}),r.unit&&U.jsxs("span",{className:"unit",children:[" ",a(`units.${r.unit}`,{defaultValue:r.unit})]})]})]})]})};function ab(r){return`answer_${r.key}_input`}var Jd={},Qd={},Xd={},cd={};(function(r){Object.defineProperty(r,"__esModule",{value:!0}),r.Direction=void 0,function(e){e.Right="to right",e.Left="to left",e.Down="to bottom",e.Up="to top"}(r.Direction||(r.Direction={}))})(cd),function(r){var e=qn&&qn.__spreadArray||function(ve,ye,Re){if(Re||arguments.length===2)for(var Be=0,Ye=ye.length,He;Be<Ye;Be++)(He||!(Be in ye))&&(He||(He=Array.prototype.slice.call(ye,0,Be)),He[Be]=ye[Be]);return ve.concat(He||Array.prototype.slice.call(ye))};Object.defineProperty(r,"__esModule",{value:!0}),r.useThumbOverlap=r.assertUnreachable=r.voidFn=r.getTrackBackground=r.replaceAt=r.schd=r.translate=r.getClosestThumbIndex=r.translateThumbs=r.getPaddingAndBorder=r.getMargin=r.checkInitialOverlap=r.checkValuesAgainstBoundaries=r.checkBoundaries=r.isVertical=r.relativeValue=r.normalizeValue=r.isStepDivisible=r.isTouchEvent=r.getStepDecimals=void 0;var n=De,a=cd,o=function(ve){var ye=ve.toString().split(".")[1];return ye?ye.length:0};r.getStepDecimals=o;function d(ve){return ve.touches&&ve.touches.length||ve.changedTouches&&ve.changedTouches.length}r.isTouchEvent=d;function v(ve,ye,Re){var Be=(ye-ve)/Re,Ye=8,He=Number(Be.toFixed(Ye));return parseInt(He.toString(),10)===He}r.isStepDivisible=v;function _(ve,ye,Re,Be,Ye,He,je){var ze=1e11;if(ve=Math.round(ve*ze)/ze,!He){var pt=je[ye-1],oe=je[ye+1];if(pt&&pt>ve)return pt;if(oe&&oe<ve)return oe}if(ve>Be)return Be;if(ve<Re)return Re;var ue=Math.floor(ve*ze-Re*ze)%Math.floor(Ye*ze),Ae=Math.floor(ve*ze-Math.abs(ue)),Ze=ue===0?ve:Ae/ze,Fe=Math.abs(ue/ze)<Ye/2?Ze:Ze+Ye,Me=(0,r.getStepDecimals)(Ye);return parseFloat(Fe.toFixed(Me))}r.normalizeValue=_;function w(ve,ye,Re){return(ve-ye)/(Re-ye)}r.relativeValue=w;function C(ve){return ve===a.Direction.Up||ve===a.Direction.Down}r.isVertical=C;function N(ve,ye,Re){if(ye>=Re)throw new RangeError("min (".concat(ye,") is equal/bigger than max (").concat(Re,")"));if(ve<ye)throw new RangeError("value (".concat(ve,") is smaller than min (").concat(ye,")"));if(ve>Re)throw new RangeError("value (".concat(ve,") is bigger than max (").concat(Re,")"))}r.checkBoundaries=N;function L(ve,ye,Re){return ve<ye?ye:ve>Re?Re:ve}r.checkValuesAgainstBoundaries=L;function W(ve){if(!(ve.length<2)&&!ve.slice(1).every(function(ye,Re){return ve[Re]<=ye}))throw new RangeError("values={[".concat(ve,"]} needs to be sorted when allowOverlap={false}"))}r.checkInitialOverlap=W;function ge(ve){var ye=window.getComputedStyle(ve);return{top:parseInt(ye["margin-top"],10),bottom:parseInt(ye["margin-bottom"],10),left:parseInt(ye["margin-left"],10),right:parseInt(ye["margin-right"],10)}}r.getMargin=ge;function ae(ve){var ye=window.getComputedStyle(ve);return{top:parseInt(ye["padding-top"],10)+parseInt(ye["border-top-width"],10),bottom:parseInt(ye["padding-bottom"],10)+parseInt(ye["border-bottom-width"],10),left:parseInt(ye["padding-left"],10)+parseInt(ye["border-left-width"],10),right:parseInt(ye["padding-right"],10)+parseInt(ye["border-right-width"],10)}}r.getPaddingAndBorder=ae;function we(ve,ye,Re){var Be=Re?-1:1;ve.forEach(function(Ye,He){return G(Ye,Be*ye[He].x,ye[He].y)})}r.translateThumbs=we;function Z(ve,ye,Re,Be){for(var Ye=0,He=Mt(ve[0],ye,Re,Be),je=1;je<ve.length;je++){var ze=Mt(ve[je],ye,Re,Be);ze<He&&(He=ze,Ye=je)}return Ye}r.getClosestThumbIndex=Z;function G(ve,ye,Re){ve.style.transform="translate(".concat(ye,"px, ").concat(Re,"px)")}r.translate=G;var pe=function(ve){var ye=[],Re=null,Be=function(){for(var Ye=[],He=0;He<arguments.length;He++)Ye[He]=arguments[He];ye=Ye,!Re&&(Re=requestAnimationFrame(function(){Re=null,ve.apply(void 0,ye)}))};return Be};r.schd=pe;function Se(ve,ye,Re){var Be=ve.slice(0);return Be[ye]=Re,Be}r.replaceAt=Se;function _e(ve){var ye=ve.values,Re=ve.colors,Be=ve.min,Ye=ve.max,He=ve.direction,je=He===void 0?a.Direction.Right:He,ze=ve.rtl,pt=ze===void 0?!1:ze;pt&&je===a.Direction.Right?je=a.Direction.Left:pt&&a.Direction.Left&&(je=a.Direction.Right);var oe=ye.slice(0).sort(function(Ae,Ze){return Ae-Ze}).map(function(Ae){return(Ae-Be)/(Ye-Be)*100}),ue=oe.reduce(function(Ae,Ze,Fe){return"".concat(Ae,", ").concat(Re[Fe]," ").concat(Ze,"%, ").concat(Re[Fe+1]," ").concat(Ze,"%")},"");return"linear-gradient(".concat(je,", ").concat(Re[0]," 0%").concat(ue,", ").concat(Re[Re.length-1]," 100%)")}r.getTrackBackground=_e;function re(){}r.voidFn=re;function Ie(ve){throw new Error("Didn't expect to get here")}r.assertUnreachable=Ie;var Te=function(ve,ye,Re,Be,Ye){Ye===void 0&&(Ye=function(je){return je});var He=Math.ceil(e([ve],Array.from(ve.children),!0).reduce(function(je,ze){var pt=Math.ceil(ze.getBoundingClientRect().width);if(ze.innerText&&ze.innerText.includes(Re)&&ze.childElementCount===0){var oe=ze.cloneNode(!0);oe.innerHTML=Ye(ye.toFixed(Be)),oe.style.visibility="hidden",document.body.appendChild(oe),pt=Math.ceil(oe.getBoundingClientRect().width),document.body.removeChild(oe)}return pt>je?pt:je},ve.getBoundingClientRect().width));return He},Dt=function(ve,ye,Re,Be,Ye,He,je){je===void 0&&(je=function(oe){return oe});var ze=[],pt=function(oe){var ue=Te(Re[oe],Be[oe],Ye,He,je),Ae=ye[oe].x;ye.forEach(function(Ze,Fe){var Me=Ze.x,Oe=Te(Re[Fe],Be[Fe],Ye,He,je);oe!==Fe&&(Ae>=Me&&Ae<=Me+Oe||Ae+ue>=Me&&Ae+ue<=Me+Oe)&&(ze.includes(Fe)||(ze.push(oe),ze.push(Fe),ze=e(e([],ze,!0),[oe,Fe],!1),pt(Fe)))})};return pt(ve),Array.from(new Set(ze.sort()))},dt=function(ve,ye,Re,Be,Ye,He){Be===void 0&&(Be=.1),Ye===void 0&&(Ye=" - "),He===void 0&&(He=function(Fe){return Fe});var je=(0,r.getStepDecimals)(Be),ze=(0,n.useState)({}),pt=ze[0],oe=ze[1],ue=(0,n.useState)(He(ye[Re].toFixed(je))),Ae=ue[0],Ze=ue[1];return(0,n.useEffect)(function(){if(ve){var Fe=ve.getThumbs();if(Fe.length<1)return;var Me={},Oe=ve.getOffsets(),qe=Dt(Re,Oe,Fe,ye,Ye,je,He),et=He(ye[Re].toFixed(je));if(qe.length){var Ke=qe.reduce(function(mt,fn,jn,Sn){return mt.length?e(e([],mt,!0),[Oe[Sn[jn]].x],!1):[Oe[Sn[jn]].x]},[]);if(Math.min.apply(Math,Ke)===Oe[Re].x){var nt=[];qe.forEach(function(mt){nt.push(ye[mt].toFixed(je))}),et=Array.from(new Set(nt.sort(function(mt,fn){return parseFloat(mt)-parseFloat(fn)}))).map(He).join(Ye);var _t=Math.min.apply(Math,Ke),ke=Math.max.apply(Math,Ke),It=Fe[qe[Ke.indexOf(ke)]].getBoundingClientRect().width;Me.left="".concat(Math.abs(_t-(ke+It))/2,"px"),Me.transform="translate(-50%, 0)"}else Me.visibility="hidden"}Ze(et),oe(Me)}},[ve,ye]),[Ae,pt]};r.useThumbOverlap=dt;function Mt(ve,ye,Re,Be){var Ye=ve.getBoundingClientRect(),He=Ye.left,je=Ye.top,ze=Ye.width,pt=Ye.height;return C(Be)?Math.abs(Re-(je+pt/2)):Math.abs(ye-(He+ze/2))}}(Xd);var ob=qn&&qn.__extends||function(){var r=function(e,n){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,o){a.__proto__=o}||function(a,o){for(var d in o)Object.prototype.hasOwnProperty.call(o,d)&&(a[d]=o[d])},r(e,n)};return function(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");r(e,n);function a(){this.constructor=e}e.prototype=n===null?Object.create(n):(a.prototype=n.prototype,new a)}}(),sb=qn&&qn.__createBinding||(Object.create?function(r,e,n,a){a===void 0&&(a=n);var o=Object.getOwnPropertyDescriptor(e,n);(!o||("get"in o?!e.__esModule:o.writable||o.configurable))&&(o={enumerable:!0,get:function(){return e[n]}}),Object.defineProperty(r,a,o)}:function(r,e,n,a){a===void 0&&(a=n),r[a]=e[n]}),lb=qn&&qn.__setModuleDefault||(Object.create?function(r,e){Object.defineProperty(r,"default",{enumerable:!0,value:e})}:function(r,e){r.default=e}),ub=qn&&qn.__importStar||function(r){if(r&&r.__esModule)return r;var e={};if(r!=null)for(var n in r)n!=="default"&&Object.prototype.hasOwnProperty.call(r,n)&&sb(e,r,n);return lb(e,r),e},ih=qn&&qn.__spreadArray||function(r,e,n){if(n||arguments.length===2)for(var a=0,o=e.length,d;a<o;a++)(d||!(a in e))&&(d||(d=Array.prototype.slice.call(e,0,a)),d[a]=e[a]);return r.concat(d||Array.prototype.slice.call(e))};Object.defineProperty(Qd,"__esModule",{value:!0});var dd=ub(De),Gt=Xd,tr=cd,cb=["ArrowRight","ArrowUp","k","PageUp"],db=["ArrowLeft","ArrowDown","j","PageDown"],fb=function(r){ob(e,r);function e(n){var a=r.call(this,n)||this;if(a.trackRef=dd.createRef(),a.thumbRefs=[],a.state={draggedTrackPos:[-1,-1],draggedThumbIndex:-1,thumbZIndexes:new Array(a.props.values.length).fill(0).map(function(o,d){return d}),isChanged:!1,markOffsets:[]},a.getOffsets=function(){var o=a.props,d=o.direction,v=o.values,_=o.min,w=o.max,C=a.trackRef.current,N=C.getBoundingClientRect(),L=(0,Gt.getPaddingAndBorder)(C);return a.getThumbs().map(function(W,ge){var ae={x:0,y:0},we=W.getBoundingClientRect(),Z=(0,Gt.getMargin)(W);switch(d){case tr.Direction.Right:return ae.x=(Z.left+L.left)*-1,ae.y=((we.height-N.height)/2+L.top)*-1,ae.x+=N.width*(0,Gt.relativeValue)(v[ge],_,w)-we.width/2,ae;case tr.Direction.Left:return ae.x=(Z.right+L.right)*-1,ae.y=((we.height-N.height)/2+L.top)*-1,ae.x+=N.width-N.width*(0,Gt.relativeValue)(v[ge],_,w)-we.width/2,ae;case tr.Direction.Up:return ae.x=((we.width-N.width)/2+Z.left+L.left)*-1,ae.y=-L.left,ae.y+=N.height-N.height*(0,Gt.relativeValue)(v[ge],_,w)-we.height/2,ae;case tr.Direction.Down:return ae.x=((we.width-N.width)/2+Z.left+L.left)*-1,ae.y=-L.left,ae.y+=N.height*(0,Gt.relativeValue)(v[ge],_,w)-we.height/2,ae;default:return(0,Gt.assertUnreachable)(d)}})},a.getThumbs=function(){return a.trackRef&&a.trackRef.current?Array.from(a.trackRef.current.children).filter(function(o){return o.hasAttribute("aria-valuenow")}):(console.warn("No thumbs found in the track container. Did you forget to pass & spread the `props` param in renderTrack?"),[])},a.getTargetIndex=function(o){return a.getThumbs().findIndex(function(d){return d===o.target||d.contains(o.target)})},a.addTouchEvents=function(o){document.addEventListener("touchmove",a.schdOnTouchMove,{passive:!1}),document.addEventListener("touchend",a.schdOnEnd,{passive:!1}),document.addEventListener("touchcancel",a.schdOnEnd,{passive:!1})},a.addMouseEvents=function(o){document.addEventListener("mousemove",a.schdOnMouseMove),document.addEventListener("mouseup",a.schdOnEnd)},a.onMouseDownTrack=function(o){var d;if(o.button===0)if(o.persist(),o.preventDefault(),a.addMouseEvents(o.nativeEvent),a.props.values.length>1&&a.props.draggableTrack){if(a.thumbRefs.some(function(_){var w;return(w=_.current)===null||w===void 0?void 0:w.contains(o.target)}))return;a.setState({draggedTrackPos:[o.clientX,o.clientY]},function(){return a.onMove(o.clientX,o.clientY)})}else{var v=(0,Gt.getClosestThumbIndex)(a.thumbRefs.map(function(_){return _.current}),o.clientX,o.clientY,a.props.direction);(d=a.thumbRefs[v].current)===null||d===void 0||d.focus(),a.setState({draggedThumbIndex:v},function(){return a.onMove(o.clientX,o.clientY)})}},a.onResize=function(){(0,Gt.translateThumbs)(a.getThumbs(),a.getOffsets(),a.props.rtl),a.calculateMarkOffsets()},a.onTouchStartTrack=function(o){var d;if(o.persist(),a.addTouchEvents(o.nativeEvent),a.props.values.length>1&&a.props.draggableTrack){if(a.thumbRefs.some(function(_){var w;return(w=_.current)===null||w===void 0?void 0:w.contains(o.target)}))return;a.setState({draggedTrackPos:[o.touches[0].clientX,o.touches[0].clientY]},function(){return a.onMove(o.touches[0].clientX,o.touches[0].clientY)})}else{var v=(0,Gt.getClosestThumbIndex)(a.thumbRefs.map(function(_){return _.current}),o.touches[0].clientX,o.touches[0].clientY,a.props.direction);(d=a.thumbRefs[v].current)===null||d===void 0||d.focus(),a.setState({draggedThumbIndex:v},function(){return a.onMove(o.touches[0].clientX,o.touches[0].clientY)})}},a.onMouseOrTouchStart=function(o){if(!a.props.disabled){var d=(0,Gt.isTouchEvent)(o);if(!(!d&&o.button!==0)){var v=a.getTargetIndex(o);v!==-1&&(d?a.addTouchEvents(o):a.addMouseEvents(o),a.setState({draggedThumbIndex:v,thumbZIndexes:a.state.thumbZIndexes.map(function(_,w){return w===v?Math.max.apply(Math,a.state.thumbZIndexes):_<=a.state.thumbZIndexes[v]?_:_-1})}))}}},a.onMouseMove=function(o){o.preventDefault(),a.onMove(o.clientX,o.clientY)},a.onTouchMove=function(o){o.preventDefault(),a.onMove(o.touches[0].clientX,o.touches[0].clientY)},a.onKeyDown=function(o){var d=a.props,v=d.values,_=d.onChange,w=d.step,C=d.rtl,N=d.direction,L=a.state.isChanged,W=a.getTargetIndex(o.nativeEvent),ge=C||N===tr.Direction.Left||N===tr.Direction.Down?-1:1;W!==-1&&(cb.includes(o.key)?(o.preventDefault(),a.setState({draggedThumbIndex:W,isChanged:!0}),_((0,Gt.replaceAt)(v,W,a.normalizeValue(v[W]+ge*(o.key==="PageUp"?w*10:w),W)))):db.includes(o.key)?(o.preventDefault(),a.setState({draggedThumbIndex:W,isChanged:!0}),_((0,Gt.replaceAt)(v,W,a.normalizeValue(v[W]-ge*(o.key==="PageDown"?w*10:w),W)))):o.key==="Tab"?a.setState({draggedThumbIndex:-1},function(){L&&a.fireOnFinalChange()}):L&&a.fireOnFinalChange())},a.onKeyUp=function(o){var d=a.state.isChanged;a.setState({draggedThumbIndex:-1},function(){d&&a.fireOnFinalChange()})},a.onMove=function(o,d){var v=a.state,_=v.draggedThumbIndex,w=v.draggedTrackPos,C=a.props,N=C.direction,L=C.min,W=C.max,ge=C.onChange,ae=C.values,we=C.step,Z=C.rtl;if(_===-1&&w[0]===-1&&w[1]===-1)return null;var G=a.trackRef.current;if(!G)return null;var pe=G.getBoundingClientRect(),Se=(0,Gt.isVertical)(N)?pe.height:pe.width;if(w[0]!==-1&&w[1]!==-1){var _e=o-w[0],re=d-w[1],Ie=0;switch(N){case tr.Direction.Right:case tr.Direction.Left:Ie=_e/Se*(W-L);break;case tr.Direction.Down:case tr.Direction.Up:Ie=re/Se*(W-L);break;default:(0,Gt.assertUnreachable)(N)}if(Z&&(Ie*=-1),Math.abs(Ie)>=we/2){for(var Te=0;Te<a.thumbRefs.length;Te++){if(ae[Te]===W&&Math.sign(Ie)===1||ae[Te]===L&&Math.sign(Ie)===-1)return;var Dt=ae[Te]+Ie;Dt>W?Ie=W-ae[Te]:Dt<L&&(Ie=L-ae[Te])}for(var dt=ae.slice(0),Te=0;Te<a.thumbRefs.length;Te++)dt=(0,Gt.replaceAt)(dt,Te,a.normalizeValue(ae[Te]+Ie,Te));a.setState({draggedTrackPos:[o,d]}),ge(dt)}}else{var Mt=0;switch(N){case tr.Direction.Right:Mt=(o-pe.left)/Se*(W-L)+L;break;case tr.Direction.Left:Mt=(Se-(o-pe.left))/Se*(W-L)+L;break;case tr.Direction.Down:Mt=(d-pe.top)/Se*(W-L)+L;break;case tr.Direction.Up:Mt=(Se-(d-pe.top))/Se*(W-L)+L;break;default:(0,Gt.assertUnreachable)(N)}Z&&(Mt=W+L-Mt),Math.abs(ae[_]-Mt)>=we/2&&ge((0,Gt.replaceAt)(ae,_,a.normalizeValue(Mt,_)))}},a.normalizeValue=function(o,d){var v=a.props,_=v.min,w=v.max,C=v.step,N=v.allowOverlap,L=v.values;return(0,Gt.normalizeValue)(o,d,_,w,C,N,L)},a.onEnd=function(o){if(o.preventDefault(),document.removeEventListener("mousemove",a.schdOnMouseMove),document.removeEventListener("touchmove",a.schdOnTouchMove),document.removeEventListener("mouseup",a.schdOnEnd),document.removeEventListener("touchend",a.schdOnEnd),document.removeEventListener("touchcancel",a.schdOnEnd),a.state.draggedThumbIndex===-1&&a.state.draggedTrackPos[0]===-1&&a.state.draggedTrackPos[1]===-1)return null;a.setState({draggedThumbIndex:-1,draggedTrackPos:[-1,-1]},function(){a.fireOnFinalChange()})},a.fireOnFinalChange=function(){a.setState({isChanged:!1});var o=a.props,d=o.onFinalChange,v=o.values;d&&d(v)},a.updateMarkRefs=function(o){if(!o.renderMark){a.numOfMarks=void 0,a.markRefs=void 0;return}a.numOfMarks=(o.max-o.min)/a.props.step,a.markRefs=[];for(var d=0;d<a.numOfMarks+1;d++)a.markRefs[d]=dd.createRef()},a.calculateMarkOffsets=function(){if(!(!a.props.renderMark||!a.trackRef||!a.numOfMarks||!a.markRefs||a.trackRef.current===null)){for(var o=window.getComputedStyle(a.trackRef.current),d=parseInt(o.width,10),v=parseInt(o.height,10),_=parseInt(o.paddingLeft,10),w=parseInt(o.paddingTop,10),C=[],N=0;N<a.numOfMarks+1;N++){var L=9999,W=9999;if(a.markRefs[N].current){var ge=a.markRefs[N].current.getBoundingClientRect();L=ge.height,W=ge.width}a.props.direction===tr.Direction.Left||a.props.direction===tr.Direction.Right?C.push([Math.round(d/a.numOfMarks*N+_-W/2),-Math.round((L-v)/2)]):C.push([Math.round(v/a.numOfMarks*N+w-L/2),-Math.round((W-d)/2)])}a.setState({markOffsets:C})}},n.step===0)throw new Error('"step" property should be a positive number');return a.schdOnMouseMove=(0,Gt.schd)(a.onMouseMove),a.schdOnTouchMove=(0,Gt.schd)(a.onTouchMove),a.schdOnEnd=(0,Gt.schd)(a.onEnd),a.thumbRefs=n.values.map(function(){return dd.createRef()}),a.updateMarkRefs(n),a}return e.prototype.componentDidMount=function(){var n=this,a=this.props,o=a.values,d=a.min,v=a.step;this.resizeObserver=window.ResizeObserver?new window.ResizeObserver(this.onResize):{observe:function(){return window.addEventListener("resize",n.onResize)},unobserve:function(){return window.removeEventListener("resize",n.onResize)}},document.addEventListener("touchstart",this.onMouseOrTouchStart,{passive:!1}),document.addEventListener("mousedown",this.onMouseOrTouchStart,{passive:!1}),!this.props.allowOverlap&&(0,Gt.checkInitialOverlap)(this.props.values),this.props.values.forEach(function(_){return(0,Gt.checkBoundaries)(_,n.props.min,n.props.max)}),this.resizeObserver.observe(this.trackRef.current),(0,Gt.translateThumbs)(this.getThumbs(),this.getOffsets(),this.props.rtl),this.calculateMarkOffsets(),o.forEach(function(_){(0,Gt.isStepDivisible)(d,_,v)||console.warn("The `values` property is in conflict with the current `step`, `min`, and `max` properties. Please provide values that are accessible using the min, max, and step values.")})},e.prototype.componentDidUpdate=function(n,a){var o=this.props,d=o.max,v=o.min,_=o.step,w=o.values,C=o.rtl;(n.max!==d||n.min!==v||n.step!==_)&&this.updateMarkRefs(this.props),(0,Gt.translateThumbs)(this.getThumbs(),this.getOffsets(),C),(n.max!==d||n.min!==v||n.step!==_||a.markOffsets.length!==this.state.markOffsets.length)&&(this.calculateMarkOffsets(),w.forEach(function(N){(0,Gt.isStepDivisible)(v,N,_)||console.warn("The `values` property is in conflict with the current `step`, `min`, and `max` properties. Please provide values that are accessible using the min, max, and step values.")}))},e.prototype.componentWillUnmount=function(){var n={passive:!1};document.removeEventListener("mousedown",this.onMouseOrTouchStart,n),document.removeEventListener("mousemove",this.schdOnMouseMove),document.removeEventListener("touchmove",this.schdOnTouchMove),document.removeEventListener("touchstart",this.onMouseOrTouchStart),document.removeEventListener("mouseup",this.schdOnEnd),document.removeEventListener("touchend",this.schdOnEnd),this.resizeObserver.unobserve(this.trackRef.current)},e.prototype.render=function(){var n=this,a=this.props,o=a.renderTrack,d=a.renderThumb,v=a.renderMark,_=v===void 0?function(){return null}:v,w=a.values,C=a.min,N=a.max,L=a.allowOverlap,W=a.disabled,ge=this.state,ae=ge.draggedThumbIndex,we=ge.thumbZIndexes,Z=ge.markOffsets;return o({props:{style:{transform:"scale(1)",cursor:ae>-1?"grabbing":this.props.draggableTrack?(0,Gt.isVertical)(this.props.direction)?"ns-resize":"ew-resize":w.length===1&&!W?"pointer":"inherit"},onMouseDown:W?Gt.voidFn:this.onMouseDownTrack,onTouchStart:W?Gt.voidFn:this.onTouchStartTrack,ref:this.trackRef},isDragged:this.state.draggedThumbIndex>-1,disabled:W,children:ih(ih([],Z.map(function(G,pe,Se){return _({props:{style:n.props.direction===tr.Direction.Left||n.props.direction===tr.Direction.Right?{position:"absolute",left:"".concat(G[0],"px"),marginTop:"".concat(G[1],"px")}:{position:"absolute",top:"".concat(G[0],"px"),marginLeft:"".concat(G[1],"px")},key:"mark".concat(pe),ref:n.markRefs[pe]},index:pe})}),!0),w.map(function(G,pe){var Se=n.state.draggedThumbIndex===pe;return d({index:pe,value:G,isDragged:Se,props:{style:{position:"absolute",zIndex:we[pe],cursor:W?"inherit":Se?"grabbing":"grab",userSelect:"none",touchAction:"none",WebkitUserSelect:"none",MozUserSelect:"none",msUserSelect:"none"},key:pe,tabIndex:W?void 0:0,"aria-valuemax":L?N:w[pe+1]||N,"aria-valuemin":L?C:w[pe-1]||C,"aria-valuenow":G,draggable:!1,ref:n.thumbRefs[pe],role:"slider",onKeyDown:W?Gt.voidFn:n.onKeyDown,onKeyUp:W?Gt.voidFn:n.onKeyUp}})}),!0)})},e.defaultProps={step:1,direction:tr.Direction.Right,rtl:!1,disabled:!1,allowOverlap:!1,draggableTrack:!1,min:0,max:100},e}(dd.Component);Qd.default=fb,function(r){var e=qn&&qn.__importDefault||function(d){return d&&d.__esModule?d:{default:d}};Object.defineProperty(r,"__esModule",{value:!0}),r.checkValuesAgainstBoundaries=r.relativeValue=r.useThumbOverlap=r.Direction=r.getTrackBackground=r.Range=void 0;var n=e(Qd);r.Range=n.default;var a=Xd;Object.defineProperty(r,"getTrackBackground",{enumerable:!0,get:function(){return a.getTrackBackground}}),Object.defineProperty(r,"useThumbOverlap",{enumerable:!0,get:function(){return a.useThumbOverlap}}),Object.defineProperty(r,"relativeValue",{enumerable:!0,get:function(){return a.relativeValue}}),Object.defineProperty(r,"checkValuesAgainstBoundaries",{enumerable:!0,get:function(){return a.checkValuesAgainstBoundaries}});var o=cd;Object.defineProperty(r,"Direction",{enumerable:!0,get:function(){return o.Direction}})}(Jd);const qd=18,fd=1,ah=9,vc=16,oh=4,ef=1,pb=({question:r,fieldState:e,setQuestionRef:n})=>{const a=C=>{e.setValue(C[0])},o=De.useRef(null),d=kb(r.labels,o),v=e.value==null,_=e.value||r.defaultPosition,w=vb(r);return U.jsxs(Oi,{question:r,fieldState:e,setQuestionRef:n,children:[U.jsx(Ii,{question:r}),U.jsxs("div",{className:"description-and-fields",children:[U.jsx(Ai,{question:r}),U.jsx("div",{className:"fields mt-3",ref:o,style:{height:qd+d.height},children:U.jsx(Jd.Range,{values:[_],onChange:a,min:r.minimum,max:r.maximum,step:r.step,disabled:e.disabled,renderTrack:({props:C,children:N})=>U.jsx("div",{...C,style:{...C.style,...bb},children:N}),renderThumb:C=>hb({...C,blank:v||e.disabled,showTooltip:r.valueTooltip,startThumbHidden:r.startThumbHidden,isActiveQuestion:e.isActiveQuestion,onFocus:e.setAsActiveQuestion}),renderMark:({props:C,index:N})=>w[N]!==void 0?gb(C,w[N],d):null})})]})]})},hb=({props:r,value:e,isDragged:n,blank:a,showTooltip:o,startThumbHidden:d,isActiveQuestion:v,onFocus:_})=>d&&a?U.jsx("div",{...r}):U.jsxs("div",{...r,style:{...r.style,...yb,...n&&xb,...v&&wb,...a&&Sb},onFocus:_,children:[U.jsx("div",{style:{margin:"6px auto",width:"6px",height:"14px",border:"1px solid hsl(var(--foreground))",borderWidth:"0 1px 0 1px"}}),o&&n&&U.jsx("div",{style:_b,children:e})]}),gb=(r,e,{info:n,setRef:a})=>{const o=ah+(n.tops[e.idx]||0),d=e.first?"0 4px 4px":e.last?"4px 0 4px 4px":"4px";return U.jsxs("div",{...r,style:{...r.style,top:qd-fd,marginTop:0,width:0},children:[U.jsx("div",{ref:v=>{v&&a(e.idx,v)},style:{position:"absolute",top:o,left:-fd,width:"max-content",maxWidth:n.maxWidths[e.idx],backgroundColor:"hsl(var(--slider-track))",borderRadius:d,border:`${ef}px solid hsl(var(--foreground))`,padding:"0 4px",textAlign:e.first?"left":e.last?"right":"center",transform:e.first?void 0:e.last?"translateX(-100%)":"translateX(-50%)"},dangerouslySetInnerHTML:{__html:e.text}}),U.jsx(mb,{label:e,top:o})]})},mb=({top:r,label:e})=>{const a=r+1,o=e.first?`M0.5,${a-.5} V0.5 C0.5,${a/2} 5,${a} 9,${a-.5}`:e.last?`M8.5,${a-.5} V0.5 C8.5,${a/2} 4,${a} 0.5,${a-.5}`:`M0.5,${a-.5} C2,${a-.5} 4.5,5 4.5,0 C4.5,5 7,${a-.5} ${a-.5},${a-.5}`,d=e.first?0:e.last?-9:-9/2;return U.jsx("svg",{width:9,height:a,viewBox:`0 0 9 ${a}`,preserveAspectRatio:"none",style:{marginLeft:d,position:"absolute",left:-fd},children:U.jsxs("g",{strokeWidth:ef,children:[U.jsx("line",{x1:"0",y1:a,x2:"9",y2:a,stroke:"hsl(var(--slider-track))"}),U.jsx("path",{d:o,fill:"hsl(var(--slider-track))",strokeLinecap:"square",stroke:"hsl(var(--foreground))"})]})})},vb=r=>{if(r.labels.length===0)return{};const e=(r.maximum-r.minimum)/r.step,n={};return r.labels.forEach((a,o)=>{const d=Math.floor(o*e/(r.labels.length-1));n[d]={text:a,first:o===0,last:o===r.labels.length-1,idx:o}}),n},bb={border:`${fd}px solid hsl(var(--foreground))`,background:"hsl(var(--slider-track))",height:qd,borderRadius:"2px",marginBottom:"18px"},yb={height:"28px",width:"34px",backgroundColor:"hsl(var(--background))",border:"1px solid hsl(var(--foreground))",borderRadius:"3px"},wb={backgroundColor:"rgba(27,124,194,0.7)"},xb={boxShadow:"inset 0 0 1px #FFF, inset 0 1px 7px #DDD, 0 3px 6px -3px #BBB"},Sb={backgroundColor:"transparent",border:"none",padding:"1px",boxShadow:"inset 0 0 1px hsl(var(--foreground)), inset 0 1px 7px hsla(var(--foreground), 0.5), 0 3px 6px -3px hsla(var(--foreground), 0.3)"},_b={position:"absolute",top:"-29px",left:"16px",transform:"translateX(-50%)",backgroundColor:"hsl(var(--slider-track))",border:`${ef}px solid hsl(var(--foreground))`,borderRadius:"4px",padding:"0 4px"},kb=(r,e)=>{const n=De.useRef([]),[a,o]=De.useState({maxWidths:[],rowHeights:[],tops:[],twoRows:!1}),[d,v]=De.useState("getRefs");let _=ah+a.rowHeights[0]||18;return a.rowHeights.length==2&&(_+=oh+a.rowHeights[1]),De.useLayoutEffect(()=>{d==="resize"?(o({...a,twoRows:!1,maxWidths:Array(n.current.length).fill(999)}),v("setWidths")):d==="setWidths"?(Eb(n.current,r,e,a,o),v("setHeight")):d==="setHeight"&&(Cb(n.current,a,o),v("done"))},[d,r,e,a]),De.useLayoutEffect(()=>{if(d!=="done")return;const C=e.current,N=C.offsetWidth,L=new ResizeObserver(()=>{N!==C.offsetWidth&&requestAnimationFrame(()=>v("resize"))});return L.observe(C),()=>{L.unobserve(C)}},[d,e]),{info:a,setRef:(C,N)=>{n.current[C]=N,d==="getRefs"&&n.current.length===r.length&&n.current.every(L=>L!==void 0)&&v("setWidths")},height:_}};function Eb(r,e,n,a,o){const d=n.current.offsetWidth;if(e.length===1)o({...a,maxWidths:[d]});else if(Tb(r))if(e.length===3&&r[1].offsetWidth<d/3){const v=(d-r[1].offsetWidth)/2-vc;o({...a,maxWidths:[v,d-v*2-vc,v]})}else{const v=Array(e.length).fill(d/(e.length-1)-vc/2);v[0]=v[e.length-1]=d/2-vc,o({...a,twoRows:!0,maxWidths:v})}}function Cb(r,e,n){if(e.twoRows){const a=tf(r.slice(1,-1)),o=tf(Oa.at(r,0,r.length-1)),d=Array(r.length).fill(0);d[0]=d[r.length-1]=a+oh,n({...e,rowHeights:[a,o],tops:d})}else n({...e,rowHeights:[tf(r)],tops:Array(r.length).fill(0)})}function tf(r){return Math.max(...r.map(e=>e.getBoundingClientRect().height))}function Tb(r){return r.some((e,n)=>n>0&&e.getBoundingClientRect().left-vc<r[n-1].getBoundingClientRect().right)}const Rb=({question:r,fieldState:e,setQuestionRef:n})=>{const a=_=>{e.setValue(_[0])},o=e.value==null,d=e.value||r.defaultPosition,v=Ob(r);return U.jsxs(Oi,{question:r,fieldState:e,setQuestionRef:n,children:[U.jsx(Ii,{question:r}),U.jsxs("div",{className:"description-and-fields",children:[U.jsx(Ai,{question:r}),U.jsx("div",{className:"fields mt-3",children:U.jsx(Jd.Range,{values:[d],onChange:a,min:r.minimum,max:r.maximum,step:r.step,disabled:e.disabled,renderTrack:({props:_,children:w})=>U.jsx("div",{..._,style:{..._.style,...Mb},children:w}),renderThumb:_=>Ib({..._,blank:o||e.disabled,showTooltip:r.valueTooltip,startThumbHidden:r.startThumbHidden,onFocus:e.setAsActiveQuestion}),renderMark:({props:_,index:w})=>v[w]!==void 0?Ab(_,v[w]):null})})]})]})},Ib=({props:r,value:e,isDragged:n,blank:a,showTooltip:o,startThumbHidden:d,onFocus:v})=>d&&a?U.jsx("div",{...r}):U.jsxs("div",{...r,style:{...r.style,...Fb,...n&&Pb,...a&&Db},onFocus:v,children:["||",o&&n&&U.jsx("div",{style:Lb,children:e})]}),Ab=(r,e)=>U.jsx("div",{...r,style:{...r.style,top:"18px",marginTop:0,height:"9px",width:"1px",backgroundColor:"#d3d3d3"},children:U.jsx("div",{style:{position:"absolute",top:"8px",width:"max-content",textAlign:e.first?"left":e.last?"right":"center",transform:e.first?void 0:e.last?"translateX(-100%)":"translateX(-50%)"},dangerouslySetInnerHTML:{__html:e.text}})}),Ob=r=>{if(r.labels.length===0)return{};const e=(r.maximum-r.minimum)/r.step,n={};return r.labels.forEach((a,o)=>{const d=Math.floor(o*e/(r.labels.length-1));n[d]={text:a,first:o===0,last:o===r.labels.length-1}}),n},Mb={border:"1px solid #d3d3d3",background:"#fafafa",height:"18px",borderRadius:"4px",marginBottom:"18px",boxShadow:"inset 0 1px 1px #F0F0F0, 0 3px 6px -5px #BBB"},Fb={height:"28px",width:"34px",textAlign:"center",lineHeight:"27px",backgroundColor:"rgba(27,124,194,0.7)",color:"#E8E7E6",border:"1px solid #9AC1DD",borderRadius:"3px",boxShadow:"inset 0 0 1px #FFF, inset 0 1px 7px #9AC1DD, 0 3px 6px -3px #9AC1DD"},Pb={boxShadow:"inset 0 0 1px #FFF, inset 0 1px 7px #DDD, 0 3px 6px -3px #BBB"},Db={backgroundColor:"rgba(255, 255, 255, .5)",boxShadow:"none",border:"1px solid #D9D9D9"},Lb={position:"absolute",top:"-28px",left:"17px",transform:"translateX(-50%)",color:"#000",fontWeight:"bold",padding:"4px"},Bb=({question:r,fieldState:e,setQuestionRef:n})=>{var d;const a=ud((d=e.value)==null?void 0:d.toString(),v=>{if(e.value&&v.startsWith(e.value)&&v.slice(e.value.length).match(/^\s+$/))return v;e.setValue(v.trim()||null)}),o=Nn(r.type,{"w-full":!0,subitem:!1});return U.jsxs(Oi,{question:r,fieldState:e,setQuestionRef:n,children:[U.jsx(Ii,{question:r}),U.jsxs("div",{className:"description-and-fields",children:[U.jsx(Ai,{question:r}),U.jsx("div",{className:"fields",id:Nb(r),children:U.jsx("textarea",{className:o,rows:r.lines,onFocus:e.setAsActiveQuestion,disabled:e.disabled,...a})})]})]})};function Nb(r){return`answer_${r.key}_input`}const jb=({question:r,fieldState:e,setQuestionRef:n})=>{const a=Nn("fields",r.presentation!=="horizontal"?`options${r.children.length}`:null);return U.jsxs(Oi,{question:r,fieldState:e,setQuestionRef:n,children:[U.jsx(Ii,{question:r}),U.jsxs("div",{className:"description-and-fields",children:[U.jsx(Ai,{question:r}),U.jsx("div",{className:a,id:Wb(r),children:r.children.map((o,d)=>o.type==="option"?U.jsx(zb,{question:r,option:o,index:d,fieldState:e},o.key):U.jsx("div",{className:"text-lg font-medium my-1 inner-title",dangerouslySetInnerHTML:{__html:o.html}},o.key))})]})]})},zb=({question:r,option:e,fieldState:n})=>{const a=De.useContext(Go),d=(n.value||new Set).has(e.key)||!1;if(e.hidden&&!d)return null;const v=Nn("option",{show_values:!1}),_=Nn(r.type,{subinput:!1}),w=L=>e.key&&n.setValue(Vb(n,e.key,r)),C=e.label||e.description,N=e.label?e.description:void 0;return U.jsxs("div",{className:v,children:[U.jsx("div",{className:"inline radiocheckwrapper",children:U.jsx("input",{type:"checkbox",name:r.key,id:e.viewId,className:_,disabled:n.disabled,checked:d,onChange:w,onFocus:n.setAsActiveQuestion})}),U.jsx(Ub,{question:r,option:e}),U.jsxs("div",{className:"inline labelwrapper",children:[U.jsx("label",{htmlFor:e.viewId,"aria-describedby":N&&`${e.viewId}_description`,children:U.jsx("span",{dangerouslySetInnerHTML:{__html:a(C)}})}),N&&U.jsx("div",{className:"de-em",id:`${e.viewId}_description`,dangerouslySetInnerHTML:{__html:a(N||"")}})]}),U.jsx(nh,{questions:e.questions})]})},Ub=()=>null;function Wb(r){return`answer_${r.key}_input`}function Vb(r,e,n){const a=new Set(r.value??[]),o=!a.has(e);return Hb(a,n,e,o),$b(a,n,e,o),o?a.add(e):a.delete(e),a.size===0?null:a}function Hb(r,e,n,a){e.checkAllOption&&(e.checkAllOption===n&&a&&e.children.filter(o=>o.type==="option").forEach(o=>{r.add(o.key)}),e.checkAllOption!==n&&!a&&r.delete(e.checkAllOption))}function $b(r,e,n,a){e.uncheckAllOption&&(e.uncheckAllOption===n&&a&&r.clear(),e.uncheckAllOption!==n&&a&&r.delete(e.uncheckAllOption))}var mn={};const Gb=[["AF","AFG","004","ISO 3166-2:AF"],["AX","ALA","248","ISO 3166-2:AX"],["AL","ALB","008","ISO 3166-2:AL"],["DZ","DZA","012","ISO 3166-2:DZ"],["AS","ASM","016","ISO 3166-2:AS"],["AD","AND","020","ISO 3166-2:AD"],["AO","AGO","024","ISO 3166-2:AO"],["AI","AIA","660","ISO 3166-2:AI"],["AQ","ATA","010","ISO 3166-2:AQ"],["AG","ATG","028","ISO 3166-2:AG"],["AR","ARG","032","ISO 3166-2:AR"],["AM","ARM","051","ISO 3166-2:AM"],["AW","ABW","533","ISO 3166-2:AW"],["AU","AUS","036","ISO 3166-2:AU"],["AT","AUT","040","ISO 3166-2:AT"],["AZ","AZE","031","ISO 3166-2:AZ"],["BS","BHS","044","ISO 3166-2:BS"],["BH","BHR","048","ISO 3166-2:BH"],["BD","BGD","050","ISO 3166-2:BD"],["BB","BRB","052","ISO 3166-2:BB"],["BY","BLR","112","ISO 3166-2:BY"],["BE","BEL","056","ISO 3166-2:BE"],["BZ","BLZ","084","ISO 3166-2:BZ"],["BJ","BEN","204","ISO 3166-2:BJ"],["BM","BMU","060","ISO 3166-2:BM"],["BT","BTN","064","ISO 3166-2:BT"],["BO","BOL","068","ISO 3166-2:BO"],["BQ","BES","535","ISO 3166-2:BQ"],["BA","BIH","070","ISO 3166-2:BA"],["BW","BWA","072","ISO 3166-2:BW"],["BV","BVT","074","ISO 3166-2:BV"],["BR","BRA","076","ISO 3166-2:BR"],["IO","IOT","086","ISO 3166-2:IO"],["BN","BRN","096","ISO 3166-2:BN"],["BG","BGR","100","ISO 3166-2:BG"],["BF","BFA","854","ISO 3166-2:BF"],["BI","BDI","108","ISO 3166-2:BI"],["KH","KHM","116","ISO 3166-2:KH"],["CM","CMR","120","ISO 3166-2:CM"],["CA","CAN","124","ISO 3166-2:CA"],["CV","CPV","132","ISO 3166-2:CV"],["KY","CYM","136","ISO 3166-2:KY"],["CF","CAF","140","ISO 3166-2:CF"],["TD","TCD","148","ISO 3166-2:TD"],["CL","CHL","152","ISO 3166-2:CL"],["CN","CHN","156","ISO 3166-2:CN"],["CX","CXR","162","ISO 3166-2:CX"],["CC","CCK","166","ISO 3166-2:CC"],["CO","COL","170","ISO 3166-2:CO"],["KM","COM","174","ISO 3166-2:KM"],["CG","COG","178","ISO 3166-2:CG"],["CD","COD","180","ISO 3166-2:CD"],["CK","COK","184","ISO 3166-2:CK"],["CR","CRI","188","ISO 3166-2:CR"],["CI","CIV","384","ISO 3166-2:CI"],["HR","HRV","191","ISO 3166-2:HR"],["CU","CUB","192","ISO 3166-2:CU"],["CW","CUW","531","ISO 3166-2:CW"],["CY","CYP","196","ISO 3166-2:CY"],["CZ","CZE","203","ISO 3166-2:CZ"],["DK","DNK","208","ISO 3166-2:DK"],["DJ","DJI","262","ISO 3166-2:DJ"],["DM","DMA","212","ISO 3166-2:DM"],["DO","DOM","214","ISO 3166-2:DO"],["EC","ECU","218","ISO 3166-2:EC"],["EG","EGY","818","ISO 3166-2:EG"],["SV","SLV","222","ISO 3166-2:SV"],["GQ","GNQ","226","ISO 3166-2:GQ"],["ER","ERI","232","ISO 3166-2:ER"],["EE","EST","233","ISO 3166-2:EE"],["ET","ETH","231","ISO 3166-2:ET"],["FK","FLK","238","ISO 3166-2:FK"],["FO","FRO","234","ISO 3166-2:FO"],["FJ","FJI","242","ISO 3166-2:FJ"],["FI","FIN","246","ISO 3166-2:FI"],["FR","FRA","250","ISO 3166-2:FR"],["GF","GUF","254","ISO 3166-2:GF"],["PF","PYF","258","ISO 3166-2:PF"],["TF","ATF","260","ISO 3166-2:TF"],["GA","GAB","266","ISO 3166-2:GA"],["GM","GMB","270","ISO 3166-2:GM"],["GE","GEO","268","ISO 3166-2:GE"],["DE","DEU","276","ISO 3166-2:DE"],["GH","GHA","288","ISO 3166-2:GH"],["GI","GIB","292","ISO 3166-2:GI"],["GR","GRC","300","ISO 3166-2:GR"],["GL","GRL","304","ISO 3166-2:GL"],["GD","GRD","308","ISO 3166-2:GD"],["GP","GLP","312","ISO 3166-2:GP"],["GU","GUM","316","ISO 3166-2:GU"],["GT","GTM","320","ISO 3166-2:GT"],["GG","GGY","831","ISO 3166-2:GG"],["GN","GIN","324","ISO 3166-2:GN"],["GW","GNB","624","ISO 3166-2:GW"],["GY","GUY","328","ISO 3166-2:GY"],["HT","HTI","332","ISO 3166-2:HT"],["HM","HMD","334","ISO 3166-2:HM"],["VA","VAT","336","ISO 3166-2:VA"],["HN","HND","340","ISO 3166-2:HN"],["HK","HKG","344","ISO 3166-2:HK"],["HU","HUN","348","ISO 3166-2:HU"],["IS","ISL","352","ISO 3166-2:IS"],["IN","IND","356","ISO 3166-2:IN"],["ID","IDN","360","ISO 3166-2:ID"],["IR","IRN","364","ISO 3166-2:IR"],["IQ","IRQ","368","ISO 3166-2:IQ"],["IE","IRL","372","ISO 3166-2:IE"],["IM","IMN","833","ISO 3166-2:IM"],["IL","ISR","376","ISO 3166-2:IL"],["IT","ITA","380","ISO 3166-2:IT"],["JM","JAM","388","ISO 3166-2:JM"],["JP","JPN","392","ISO 3166-2:JP"],["JE","JEY","832","ISO 3166-2:JE"],["JO","JOR","400","ISO 3166-2:JO"],["KZ","KAZ","398","ISO 3166-2:KZ"],["KE","KEN","404","ISO 3166-2:KE"],["KI","KIR","296","ISO 3166-2:KI"],["KP","PRK","408","ISO 3166-2:KP"],["KR","KOR","410","ISO 3166-2:KR"],["KW","KWT","414","ISO 3166-2:KW"],["KG","KGZ","417","ISO 3166-2:KG"],["LA","LAO","418","ISO 3166-2:LA"],["LV","LVA","428","ISO 3166-2:LV"],["LB","LBN","422","ISO 3166-2:LB"],["LS","LSO","426","ISO 3166-2:LS"],["LR","LBR","430","ISO 3166-2:LR"],["LY","LBY","434","ISO 3166-2:LY"],["LI","LIE","438","ISO 3166-2:LI"],["LT","LTU","440","ISO 3166-2:LT"],["LU","LUX","442","ISO 3166-2:LU"],["MO","MAC","446","ISO 3166-2:MO"],["MK","MKD","807","ISO 3166-2:MK"],["MG","MDG","450","ISO 3166-2:MG"],["MW","MWI","454","ISO 3166-2:MW"],["MY","MYS","458","ISO 3166-2:MY"],["MV","MDV","462","ISO 3166-2:MV"],["ML","MLI","466","ISO 3166-2:ML"],["MT","MLT","470","ISO 3166-2:MT"],["MH","MHL","584","ISO 3166-2:MH"],["MQ","MTQ","474","ISO 3166-2:MQ"],["MR","MRT","478","ISO 3166-2:MR"],["MU","MUS","480","ISO 3166-2:MU"],["YT","MYT","175","ISO 3166-2:YT"],["MX","MEX","484","ISO 3166-2:MX"],["FM","FSM","583","ISO 3166-2:FM"],["MD","MDA","498","ISO 3166-2:MD"],["MC","MCO","492","ISO 3166-2:MC"],["MN","MNG","496","ISO 3166-2:MN"],["ME","MNE","499","ISO 3166-2:ME"],["MS","MSR","500","ISO 3166-2:MS"],["MA","MAR","504","ISO 3166-2:MA"],["MZ","MOZ","508","ISO 3166-2:MZ"],["MM","MMR","104","ISO 3166-2:MM"],["NA","NAM","516","ISO 3166-2:NA"],["NR","NRU","520","ISO 3166-2:NR"],["NP","NPL","524","ISO 3166-2:NP"],["NL","NLD","528","ISO 3166-2:NL"],["NC","NCL","540","ISO 3166-2:NC"],["NZ","NZL","554","ISO 3166-2:NZ"],["NI","NIC","558","ISO 3166-2:NI"],["NE","NER","562","ISO 3166-2:NE"],["NG","NGA","566","ISO 3166-2:NG"],["NU","NIU","570","ISO 3166-2:NU"],["NF","NFK","574","ISO 3166-2:NF"],["MP","MNP","580","ISO 3166-2:MP"],["NO","NOR","578","ISO 3166-2:NO"],["OM","OMN","512","ISO 3166-2:OM"],["PK","PAK","586","ISO 3166-2:PK"],["PW","PLW","585","ISO 3166-2:PW"],["PS","PSE","275","ISO 3166-2:PS"],["PA","PAN","591","ISO 3166-2:PA"],["PG","PNG","598","ISO 3166-2:PG"],["PY","PRY","600","ISO 3166-2:PY"],["PE","PER","604","ISO 3166-2:PE"],["PH","PHL","608","ISO 3166-2:PH"],["PN","PCN","612","ISO 3166-2:PN"],["PL","POL","616","ISO 3166-2:PL"],["PT","PRT","620","ISO 3166-2:PT"],["PR","PRI","630","ISO 3166-2:PR"],["QA","QAT","634","ISO 3166-2:QA"],["RE","REU","638","ISO 3166-2:RE"],["RO","ROU","642","ISO 3166-2:RO"],["RU","RUS","643","ISO 3166-2:RU"],["RW","RWA","646","ISO 3166-2:RW"],["BL","BLM","652","ISO 3166-2:BL"],["SH","SHN","654","ISO 3166-2:SH"],["KN","KNA","659","ISO 3166-2:KN"],["LC","LCA","662","ISO 3166-2:LC"],["MF","MAF","663","ISO 3166-2:MF"],["PM","SPM","666","ISO 3166-2:PM"],["VC","VCT","670","ISO 3166-2:VC"],["WS","WSM","882","ISO 3166-2:WS"],["SM","SMR","674","ISO 3166-2:SM"],["ST","STP","678","ISO 3166-2:ST"],["SA","SAU","682","ISO 3166-2:SA"],["SN","SEN","686","ISO 3166-2:SN"],["RS","SRB","688","ISO 3166-2:RS"],["SC","SYC","690","ISO 3166-2:SC"],["SL","SLE","694","ISO 3166-2:SL"],["SG","SGP","702","ISO 3166-2:SG"],["SX","SXM","534","ISO 3166-2:SX"],["SK","SVK","703","ISO 3166-2:SK"],["SI","SVN","705","ISO 3166-2:SI"],["SB","SLB","090","ISO 3166-2:SB"],["SO","SOM","706","ISO 3166-2:SO"],["ZA","ZAF","710","ISO 3166-2:ZA"],["GS","SGS","239","ISO 3166-2:GS"],["SS","SSD","728","ISO 3166-2:SS"],["ES","ESP","724","ISO 3166-2:ES"],["LK","LKA","144","ISO 3166-2:LK"],["SD","SDN","729","ISO 3166-2:SD"],["SR","SUR","740","ISO 3166-2:SR"],["SJ","SJM","744","ISO 3166-2:SJ"],["SZ","SWZ","748","ISO 3166-2:SZ"],["SE","SWE","752","ISO 3166-2:SE"],["CH","CHE","756","ISO 3166-2:CH"],["SY","SYR","760","ISO 3166-2:SY"],["TW","TWN","158","ISO 3166-2:TW"],["TJ","TJK","762","ISO 3166-2:TJ"],["TZ","TZA","834","ISO 3166-2:TZ"],["TH","THA","764","ISO 3166-2:TH"],["TL","TLS","626","ISO 3166-2:TL"],["TG","TGO","768","ISO 3166-2:TG"],["TK","TKL","772","ISO 3166-2:TK"],["TO","TON","776","ISO 3166-2:TO"],["TT","TTO","780","ISO 3166-2:TT"],["TN","TUN","788","ISO 3166-2:TN"],["TR","TUR","792","ISO 3166-2:TR"],["TM","TKM","795","ISO 3166-2:TM"],["TC","TCA","796","ISO 3166-2:TC"],["TV","TUV","798","ISO 3166-2:TV"],["UG","UGA","800","ISO 3166-2:UG"],["UA","UKR","804","ISO 3166-2:UA"],["AE","ARE","784","ISO 3166-2:AE"],["GB","GBR","826","ISO 3166-2:GB"],["US","USA","840","ISO 3166-2:US"],["UM","UMI","581","ISO 3166-2:UM"],["UY","URY","858","ISO 3166-2:UY"],["UZ","UZB","860","ISO 3166-2:UZ"],["VU","VUT","548","ISO 3166-2:VU"],["VE","VEN","862","ISO 3166-2:VE"],["VN","VNM","704","ISO 3166-2:VN"],["VG","VGB","092","ISO 3166-2:VG"],["VI","VIR","850","ISO 3166-2:VI"],["WF","WLF","876","ISO 3166-2:WF"],["EH","ESH","732","ISO 3166-2:EH"],["YE","YEM","887","ISO 3166-2:YE"],["ZM","ZMB","894","ISO 3166-2:ZM"],["ZW","ZWE","716","ISO 3166-2:ZW"],["XK","XKX","","ISO 3166-2:XK"]];var pd={};pd.remove=Zb;for(var hd=[{base:" ",chars:" "},{base:"0",chars:"߀"},{base:"A",chars:"ⒶAÀÁÂẦẤẪẨÃĀĂẰẮẴẲȦǠÄǞẢÅǺǍȀȂẠẬẶḀĄȺⱯ"},{base:"AA",chars:"Ꜳ"},{base:"AE",chars:"ÆǼǢ"},{base:"AO",chars:"Ꜵ"},{base:"AU",chars:"Ꜷ"},{base:"AV",chars:"ꜸꜺ"},{base:"AY",chars:"Ꜽ"},{base:"B",chars:"ⒷBḂḄḆɃƁ"},{base:"C",chars:"ⒸCꜾḈĆCĈĊČÇƇȻ"},{base:"D",chars:"ⒹDḊĎḌḐḒḎĐƊƉᴅꝹ"},{base:"Dh",chars:"Ð"},{base:"DZ",chars:"DZDŽ"},{base:"Dz",chars:"DzDž"},{base:"E",chars:"ɛⒺEÈÉÊỀẾỄỂẼĒḔḖĔĖËẺĚȄȆẸỆȨḜĘḘḚƐƎᴇ"},{base:"F",chars:"ꝼⒻFḞƑꝻ"},{base:"G",chars:"ⒼGǴĜḠĞĠǦĢǤƓꞠꝽꝾɢ"},{base:"H",chars:"ⒽHĤḢḦȞḤḨḪĦⱧⱵꞍ"},{base:"I",chars:"ⒾIÌÍÎĨĪĬİÏḮỈǏȈȊỊĮḬƗ"},{base:"J",chars:"ⒿJĴɈȷ"},{base:"K",chars:"ⓀKḰǨḲĶḴƘⱩꝀꝂꝄꞢ"},{base:"L",chars:"ⓁLĿĹĽḶḸĻḼḺŁȽⱢⱠꝈꝆꞀ"},{base:"LJ",chars:"LJ"},{base:"Lj",chars:"Lj"},{base:"M",chars:"ⓂMḾṀṂⱮƜϻ"},{base:"N",chars:"ꞤȠⓃNǸŃÑṄŇṆŅṊṈƝꞐᴎ"},{base:"NJ",chars:"NJ"},{base:"Nj",chars:"Nj"},{base:"O",chars:"ⓄOÒÓÔỒỐỖỔÕṌȬṎŌṐṒŎȮȰÖȪỎŐǑȌȎƠỜỚỠỞỢỌỘǪǬØǾƆƟꝊꝌ"},{base:"OE",chars:"Œ"},{base:"OI",chars:"Ƣ"},{base:"OO",chars:"Ꝏ"},{base:"OU",chars:"Ȣ"},{base:"P",chars:"ⓅPṔṖƤⱣꝐꝒꝔ"},{base:"Q",chars:"ⓆQꝖꝘɊ"},{base:"R",chars:"ⓇRŔṘŘȐȒṚṜŖṞɌⱤꝚꞦꞂ"},{base:"S",chars:"ⓈSẞŚṤŜṠŠṦṢṨȘŞⱾꞨꞄ"},{base:"T",chars:"ⓉTṪŤṬȚŢṰṮŦƬƮȾꞆ"},{base:"Th",chars:"Þ"},{base:"TZ",chars:"Ꜩ"},{base:"U",chars:"ⓊUÙÚÛŨṸŪṺŬÜǛǗǕǙỦŮŰǓȔȖƯỪỨỮỬỰỤṲŲṶṴɄ"},{base:"V",chars:"ⓋVṼṾƲꝞɅ"},{base:"VY",chars:"Ꝡ"},{base:"W",chars:"ⓌWẀẂŴẆẄẈⱲ"},{base:"X",chars:"ⓍXẊẌ"},{base:"Y",chars:"ⓎYỲÝŶỸȲẎŸỶỴƳɎỾ"},{base:"Z",chars:"ⓏZŹẐŻŽẒẔƵȤⱿⱫꝢ"},{base:"a",chars:"ⓐaẚàáâầấẫẩãāăằắẵẳȧǡäǟảåǻǎȁȃạậặḁąⱥɐɑ"},{base:"aa",chars:"ꜳ"},{base:"ae",chars:"æǽǣ"},{base:"ao",chars:"ꜵ"},{base:"au",chars:"ꜷ"},{base:"av",chars:"ꜹꜻ"},{base:"ay",chars:"ꜽ"},{base:"b",chars:"ⓑbḃḅḇƀƃɓƂ"},{base:"c",chars:"cⓒćĉċčçḉƈȼꜿↄ"},{base:"d",chars:"ⓓdḋďḍḑḓḏđƌɖɗƋᏧԁꞪ"},{base:"dh",chars:"ð"},{base:"dz",chars:"dzdž"},{base:"e",chars:"ⓔeèéêềếễểẽēḕḗĕėëẻěȅȇẹệȩḝęḙḛɇǝ"},{base:"f",chars:"ⓕfḟƒ"},{base:"ff",chars:"ff"},{base:"fi",chars:"fi"},{base:"fl",chars:"fl"},{base:"ffi",chars:"ffi"},{base:"ffl",chars:"ffl"},{base:"g",chars:"ⓖgǵĝḡğġǧģǥɠꞡꝿᵹ"},{base:"h",chars:"ⓗhĥḣḧȟḥḩḫẖħⱨⱶɥ"},{base:"hv",chars:"ƕ"},{base:"i",chars:"ⓘiìíîĩīĭïḯỉǐȉȋịįḭɨı"},{base:"j",chars:"ⓙjĵǰɉ"},{base:"k",chars:"ⓚkḱǩḳķḵƙⱪꝁꝃꝅꞣ"},{base:"l",chars:"ⓛlŀĺľḷḹļḽḻſłƚɫⱡꝉꞁꝇɭ"},{base:"lj",chars:"lj"},{base:"m",chars:"ⓜmḿṁṃɱɯ"},{base:"n",chars:"ⓝnǹńñṅňṇņṋṉƞɲʼnꞑꞥлԉ"},{base:"nj",chars:"nj"},{base:"o",chars:"ⓞoòóôồốỗổõṍȭṏōṑṓŏȯȱöȫỏőǒȍȏơờớỡởợọộǫǭøǿꝋꝍɵɔᴑ"},{base:"oe",chars:"œ"},{base:"oi",chars:"ƣ"},{base:"oo",chars:"ꝏ"},{base:"ou",chars:"ȣ"},{base:"p",chars:"ⓟpṕṗƥᵽꝑꝓꝕρ"},{base:"q",chars:"ⓠqɋꝗꝙ"},{base:"r",chars:"ⓡrŕṙřȑȓṛṝŗṟɍɽꝛꞧꞃ"},{base:"s",chars:"ⓢsśṥŝṡšṧṣṩșşȿꞩꞅẛʂ"},{base:"ss",chars:"ß"},{base:"t",chars:"ⓣtṫẗťṭțţṱṯŧƭʈⱦꞇ"},{base:"th",chars:"þ"},{base:"tz",chars:"ꜩ"},{base:"u",chars:"ⓤuùúûũṹūṻŭüǜǘǖǚủůűǔȕȗưừứữửựụṳųṷṵʉ"},{base:"v",chars:"ⓥvṽṿʋꝟʌ"},{base:"vy",chars:"ꝡ"},{base:"w",chars:"ⓦwẁẃŵẇẅẘẉⱳ"},{base:"x",chars:"ⓧxẋẍ"},{base:"y",chars:"ⓨyỳýŷỹȳẏÿỷẙỵƴɏỿ"},{base:"z",chars:"ⓩzźẑżžẓẕƶȥɀⱬꝣ"}],nf={},gd=0;gd<hd.length;gd+=1)for(var sh=hd[gd].chars,rf=0;rf<sh.length;rf+=1)nf[sh[rf]]=hd[gd].base;function Zb(r){return r.replace(/[^\u0000-\u007e]/g,function(e){return nf[e]||e})}pd.replacementList=hd,pd.diacriticsMap=nf;var Yb=Gb,lh=pd.remove,Cu={},md={},vd={},bc={},af={};Yb.forEach(function(r){var e=r;md[e[0]]=e[1],vd[e[1]]=e[0],bc[e[2]]=e[0],af[e[0]]=e[2]});function uh(r){return("000"+(r||"")).slice(-3)}function Kb(r){if(!r.locale)throw new TypeError("Missing localeData.locale");if(!r.countries)throw new TypeError("Missing localeData.countries");Cu[r.locale]=r.countries}mn.registerLocale=Kb;function of(r){return vd[r]}mn.alpha3ToAlpha2=of;function sf(r){return md[r]}mn.alpha2ToAlpha3=sf;function Jb(r){return af[of(r)]}mn.alpha3ToNumeric=Jb;function Qb(r){return af[r]}mn.alpha2ToNumeric=Qb;function lf(r){var e=uh(r);return sf(bc[e])}mn.numericToAlpha3=lf;function uf(r){var e=uh(r);return bc[e]}mn.numericToAlpha2=uf;function Xb(r){if(typeof r=="string"){if(/^[0-9]*$/.test(r))return lf(r);if(r.length===2)return sf(r.toUpperCase());if(r.length===3)return r.toUpperCase()}if(typeof r=="number")return lf(r)}mn.toAlpha3=Xb;function ch(r){if(typeof r=="string"){if(/^[0-9]*$/.test(r))return uf(r);if(r.length===2)return r.toUpperCase();if(r.length===3)return of(r.toUpperCase())}if(typeof r=="number")return uf(r)}mn.toAlpha2=ch,mn.getName=function(r,e){try{var n=Cu[e.toLowerCase()];return n[ch(r)]}catch{return}},mn.getNames=function(r){var e=Cu[r.toLowerCase()];return e===void 0?{}:e},mn.getAlpha2Code=function(r,e){try{var n,a=Cu[e.toLowerCase()];for(n in a)if(a.hasOwnProperty(n)&&a[n].toLowerCase()===r.toLowerCase())return n;return}catch{return}},mn.getSimpleAlpha2Code=function(r,e){try{var n,a=Cu[e.toLowerCase()];for(n in a)if(a.hasOwnProperty(n)&&lh(a[n].toLowerCase())===lh(r.toLowerCase()))return n;return}catch{return}},mn.getAlpha2Codes=function(){return md},mn.getAlpha3Code=function(r,e){var n=this.getAlpha2Code(r,e);if(n)return this.toAlpha3(n)},mn.getSimpleAlpha3Code=function(r,e){var n=this.getSimpleAlpha2Code(r,e);if(n)return this.toAlpha3(n)},mn.getAlpha3Codes=function(){return vd},mn.getNumericCodes=function(){return bc},mn.langs=function(){return Object.keys(Cu)},mn.isValid=function(r){if(!r)return!1;var e=r.toString().toUpperCase();return vd.hasOwnProperty(e)||md.hasOwnProperty(e)||bc.hasOwnProperty(e)};const qb={locale:"nl",countries:{AF:"Afghanistan",AL:"Albanië",DZ:"Algerije",AS:"Amerikaans-Samoa",AD:"Andorra",AO:"Angola",AI:"Anguilla",AQ:"Antarctica",AG:"Antigua en Barbuda",AR:"Argentinië",AM:"Armenië",AW:"Aruba",AU:"Australië",AT:"Oostenrijk",AZ:"Azerbeidzjan",BS:"Bahama's",BH:"Bahrein",BD:"Bangladesh",BB:"Barbados",BY:"Wit-Rusland",BE:"België",BZ:"Belize",BJ:"Benin",BM:"Bermuda",BT:"Bhutan",BO:"Bolivië",BA:"Bosnië-Herzegovina",BW:"Botswana",BV:"Bouvet Eiland",BR:"Brazilië",IO:"Brits Indische oceaan",BN:"Brunei Darussalam",BG:"Bulgarije",BF:"Burkina Faso",BI:"Burundi",KH:"Cambodja",CM:"Kameroen",CA:"Canada",CV:"Kaapverdië",KY:"Kaaimaneilanden",CF:"Centraal-Afrikaanse Republiek",TD:"Tsjaad",CL:"Chili",CN:"Vasteland van China",CX:"Christmaseiland",CC:"Cocoseilanden",CO:"Colombia",KM:"Comoren",CG:"Congo, Volksrepubliek",CD:"Congo, Democratische Republiek",CK:"Cookeilanden",CR:"Costa Rica",CI:"Ivoorkust",HR:"Kroatië",CU:"Cuba",CY:"Cyprus",CZ:"Tsjechië",DK:"Denemarken",DJ:"Djibouti",DM:"Dominica",DO:"Dominicaanse Republiek",EC:"Ecuador",EG:"Egypte",SV:"El Salvador",GQ:"Equatoriaal-Guinea",ER:"Eritrea",EE:"Estland",ET:"Ethiopië",FK:"Falklandeilanden",FO:"Faeröer",FJ:"Fiji",FI:"Finland",FR:"Frankrijk",GF:"Frans-Guyana",PF:"Frans-Polynesië",TF:"Franse Zuidelijke Gebieden",GA:"Gabon",GM:"Gambia",GE:"Georgië",DE:"Duitsland",GH:"Ghana",GI:"Gibraltar",GR:"Griekenland",GL:"Groenland",GD:"Grenada",GP:"Guadeloupe",GU:"Guam",GT:"Guatemala",GN:"Guinea",GW:"Guinee-Bissau",GY:"Guyana",HT:"Haïti",HM:"Heard en McDonaldeilanden",VA:"Heilige Stoel",HN:"Honduras",HK:"Hongkong SAR",HU:"Hongarije",IS:"IJsland",IN:"India",ID:"Indonesia",IR:"Iran",IQ:"Irak",IE:"Ierland",IL:"Israël",IT:"Italië",JM:"Jamaica",JP:"Japan",JO:"Jordanië",KZ:"Kazachstan",KE:"Kenia",KI:"Kiribati",KP:"Noord-Korea",KR:"Zuid-Korea",KW:"Koeweit",KG:"Kirgizstan",LA:"Laos",LV:"Letland",LB:"Libanon",LS:"Lesotho",LR:"Liberia",LY:"Libië",LI:"Liechtenstein",LT:"Litouwen",LU:"Luxemburg",MO:"Macau SAR",MG:"Madagaskar",MW:"Malawi",MY:"Maleisië",MV:"Maldiven",ML:"Mali",MT:"Malta",MH:"Marshalleilanden",MQ:"Martinique",MR:"Mauritanië",MU:"Mauritius",YT:"Mayotte",MX:"Mexico",FM:"Micronesië, Federale Staten",MD:"Moldavië",MC:"Monaco",MN:"Mongolië",MS:"Montserrat",MA:"Marokko",MZ:"Mozambique",MM:"Myanmar",NA:"Namibië",NR:"Nauru",NP:"Nepal",NL:"Nederland",NC:"Nieuw-Caledonië",NZ:"Nieuw-Zeeland",NI:"Nicaragua",NE:"Niger",NG:"Nigeria",NU:"Niue",NF:"Norfolk",MP:"Noordelijke Marianen",MK:"Noord-Macedonië",NO:"Noorwegen",OM:"Oman",PK:"Pakistan",PW:"Palau",PS:"Palestina",PA:"Panama",PG:"Papoea-Nieuw-Guinea",PY:"Paraguay",PE:"Peru",PH:"Filipijnen",PN:"Pitcairn",PL:"Polen",PT:"Portugal",PR:"Puerto Rico",QA:"Qatar",RE:"Réunion",RO:"Roemenië",RU:"Rusland",RW:"Rwanda",SH:"Sint-Helena",KN:"Saint Kitts en Nevis",LC:"Saint Lucia",PM:"Saint-Pierre en Miquelon",VC:"Saint Vincent en de Grenadines",WS:"Samoa",SM:"San Marino",ST:"São Tomé en Principe",SA:"Saudi-Arabië",SN:"Senegal",SC:"Seychellen",SL:"Sierra Leone",SG:"Singapore",SK:"Slowakije",SI:"Slovenië",SB:"Salomonseilanden",SO:"Somalië",ZA:"Zuid-Afrika",GS:"Zuid-Georgia en de Zuidelijke Sandwicheilanden",ES:"Spanje",LK:"Sri Lanka",SD:"Soedan",SR:"Suriname",SJ:"Spitsbergen en Jan Mayen",SZ:"Ngwane, Koninkrijk Swaziland",SE:"Zweden",CH:"Zwitserland",SY:"Syrië",TW:"Regio Taiwan",TJ:"Tadzjikistan",TZ:"Tanzania, Verenigde Republiek",TH:"Thailand",TL:"Timor Leste",TG:"Togo",TK:"Tokelau",TO:"Tonga",TT:"Trinidad en Tobago",TN:"Tunesië",TR:"Turkije",TM:"Turkmenistan",TC:"Turks- en Caicoseilanden",TV:"Tuvalu",UG:"Oeganda",UA:"Oekraïne",AE:"Verenigde Arabische Emiraten",GB:"Verenigd Koninkrijk",US:"Verenigde Staten van Amerika",UM:"Ver afgelegen eilandjes van de Verenigde Staten",UY:"Uruguay",UZ:"Oezbekistan",VU:"Vanuatu",VE:"Venezuela",VN:"Vietnam",VG:"Maagdeneilanden, Britse",VI:"Maagdeneilanden, Amerikaanse",WF:"Wallis en Futuna",EH:"Westelijke Sahara",YE:"Jemen",ZM:"Zambia",ZW:"Zimbabwe",AX:"Åland",BQ:"Bonaire, Sint Eustatius en Saba",CW:"Curaçao",GG:"Guernsey",IM:"Man Eiland",JE:"Jersey",ME:"Montenegro",BL:"Saint Barthélemy",MF:"Sint-Maarten (Frans deel)",RS:"Servië",SX:"Sint Maarten (Nederlands deel)",SS:"Zuid-Soedan",XK:"Kosovo"}},ey={locale:"en",countries:{AF:"Afghanistan",AL:"Albania",DZ:"Algeria",AS:"American Samoa",AD:"Andorra",AO:"Angola",AI:"Anguilla",AQ:"Antarctica",AG:"Antigua and Barbuda",AR:"Argentina",AM:"Armenia",AW:"Aruba",AU:"Australia",AT:"Austria",AZ:"Azerbaijan",BS:"Bahamas",BH:"Bahrain",BD:"Bangladesh",BB:"Barbados",BY:"Belarus",BE:"Belgium",BZ:"Belize",BJ:"Benin",BM:"Bermuda",BT:"Bhutan",BO:"Bolivia",BA:"Bosnia and Herzegovina",BW:"Botswana",BV:"Bouvet Island",BR:"Brazil",IO:"British Indian Ocean Territory",BN:"Brunei Darussalam",BG:"Bulgaria",BF:"Burkina Faso",BI:"Burundi",KH:"Cambodia",CM:"Cameroon",CA:"Canada",CV:"Cape Verde",KY:"Cayman Islands",CF:"Central African Republic",TD:"Chad",CL:"Chile",CN:"China Mainland",CX:"Christmas Island",CC:"Cocos (Keeling) Islands",CO:"Colombia",KM:"Comoros",CG:"Congo",CD:"Congo, the Democratic Republic of the",CK:"Cook Islands",CR:"Costa Rica",CI:"Cote D'Ivoire",HR:"Croatia",CU:"Cuba",CY:"Cyprus",CZ:"Czech Republic",DK:"Denmark",DJ:"Djibouti",DM:"Dominica",DO:"Dominican Republic",EC:"Ecuador",EG:"Egypt",SV:"El Salvador",GQ:"Equatorial Guinea",ER:"Eritrea",EE:"Estonia",ET:"Ethiopia",FK:"Falkland Islands (Malvinas)",FO:"Faroe Islands",FJ:"Fiji",FI:"Finland",FR:"France",GF:"French Guiana",PF:"French Polynesia",TF:"French Southern Territories",GA:"Gabon",GM:"Gambia",GE:"Georgia",DE:"Germany",GH:"Ghana",GI:"Gibraltar",GR:"Greece",GL:"Greenland",GD:"Grenada",GP:"Guadeloupe",GU:"Guam",GT:"Guatemala",GN:"Guinea",GW:"Guinea-Bissau",GY:"Guyana",HT:"Haiti",HM:"Heard Island and Mcdonald Islands",VA:"Holy See (Vatican City State)",HN:"Honduras",HK:"Hong Kong SAR",HU:"Hungary",IS:"Iceland",IN:"India",ID:"Indonesia",IR:"Iran, Islamic Republic of",IQ:"Iraq",IE:"Ireland",IL:"Israel",IT:"Italy",JM:"Jamaica",JP:"Japan",JO:"Jordan",KZ:"Kazakhstan",KE:"Kenya",KI:"Kiribati",KP:"North Korea",KR:"South Korea",KW:"Kuwait",KG:"Kyrgyzstan",LA:"Lao People's Democratic Republic",LV:"Latvia",LB:"Lebanon",LS:"Lesotho",LR:"Liberia",LY:"Libya",LI:"Liechtenstein",LT:"Lithuania",LU:"Luxembourg",MO:"Macau SAR",MG:"Madagascar",MW:"Malawi",MY:"Malaysia",MV:"Maldives",ML:"Mali",MT:"Malta",MH:"Marshall Islands",MQ:"Martinique",MR:"Mauritania",MU:"Mauritius",YT:"Mayotte",MX:"Mexico",FM:"Micronesia, Federated States of",MD:"Moldova, Republic of",MC:"Monaco",MN:"Mongolia",MS:"Montserrat",MA:"Morocco",MZ:"Mozambique",MM:"Myanmar",NA:"Namibia",NR:"Nauru",NP:"Nepal",NL:"Netherlands",NC:"New Caledonia",NZ:"New Zealand",NI:"Nicaragua",NE:"Niger",NG:"Nigeria",NU:"Niue",NF:"Norfolk Island",MK:"North Macedonia, Republic of",MP:"Northern Mariana Islands",NO:"Norway",OM:"Oman",PK:"Pakistan",PW:"Palau",PS:"Palestinian Territory",PA:"Panama",PG:"Papua New Guinea",PY:"Paraguay",PE:"Peru",PH:"Philippines",PN:"Pitcairn",PL:"Poland",PT:"Portugal",PR:"Puerto Rico",QA:"Qatar",RE:"Reunion",RO:"Romania",RU:"Russian Federation",RW:"Rwanda",SH:"Saint Helena",KN:"Saint Kitts and Nevis",LC:"Saint Lucia",PM:"Saint Pierre and Miquelon",VC:"Saint Vincent and the Grenadines",WS:"Samoa",SM:"San Marino",ST:"Sao Tome and Principe",SA:"Kingdom of Saudi Arabia",SN:"Senegal",SC:"Seychelles",SL:"Sierra Leone",SG:"Singapore",SK:"Slovakia",SI:"Slovenia",SB:"Solomon Islands",SO:"Somalia",ZA:"South Africa",GS:"South Georgia and the South Sandwich Islands",ES:"Spain",LK:"Sri Lanka",SD:"Sudan",SR:"Suriname",SJ:"Svalbard and Jan Mayen",SZ:"Swaziland",SE:"Sweden",CH:"Switzerland",SY:"Syrian Arab Republic",TW:"Taiwan Region",TJ:"Tajikistan",TZ:"Tanzania, United Republic of",TH:"Thailand",TL:"Timor-Leste",TG:"Togo",TK:"Tokelau",TO:"Tonga",TT:"Trinidad and Tobago",TN:"Tunisia",TR:"Turkey",TM:"Turkmenistan",TC:"Turks and Caicos Islands",TV:"Tuvalu",UG:"Uganda",UA:"Ukraine",AE:"United Arab Emirates",GB:"United Kingdom",US:"United States of America",UM:"United States Minor Outlying Islands",UY:"Uruguay",UZ:"Uzbekistan",VU:"Vanuatu",VE:"Venezuela",VN:"Viet Nam",VG:"Virgin Islands, British",VI:"Virgin Islands, U.S.",WF:"Wallis and Futuna",EH:"Western Sahara",YE:"Yemen",ZM:"Zambia",ZW:"Zimbabwe",AX:"Åland Islands",BQ:"Bonaire, Sint Eustatius and Saba",CW:"Curaçao",GG:"Guernsey",IM:"Isle of Man",JE:"Jersey",ME:"Montenegro",BL:"Saint Barthélemy",MF:"Saint Martin (French part)",RS:"Serbia",SX:"Sint Maarten (Dutch part)",SS:"South Sudan",XK:"Kosovo"}},ty={locale:"de",countries:{AF:"Afghanistan",EG:"Ägypten",AX:"Åland",AL:"Albanien",DZ:"Algerien",AS:"Amerikanisch-Samoa",VI:"Amerikanische Jungferninseln",AD:"Andorra",AO:"Angola",AI:"Anguilla",AQ:"Antarktis",AG:"Antigua und Barbuda",GQ:"Äquatorialguinea",AR:"Argentinien",AM:"Armenien",AW:"Aruba",AZ:"Aserbaidschan",ET:"Äthiopien",AU:"Australien",BS:"Bahamas",BH:"Bahrain",BD:"Bangladesch",BB:"Barbados",BY:"Weißrussland",BE:"Belgien",BZ:"Belize",BJ:"Benin",BM:"Bermuda",BT:"Bhutan",BO:"Bolivien",BQ:"Bonaire",BA:"Bosnien und Herzegowina",BW:"Botswana",BV:"Bouvetinsel",BR:"Brasilien",VG:"Britische Jungferninseln",IO:"Britisches Territorium im Indischen Ozean",BN:"Brunei Darussalam",BG:"Bulgarien",BF:"Burkina Faso",BI:"Burundi",CL:"Chile",CN:"Festlandchina",CK:"Cookinseln",CR:"Costa Rica",CI:"Elfenbeinküste",CW:"Curaçao",DK:"Dänemark",DE:"Deutschland",DM:"Dominica",DO:"Dominikanische Republik",DJ:"Dschibuti",EC:"Ecuador",SV:"El Salvador",ER:"Eritrea",EE:"Estland",FK:"Falklandinseln",FO:"Färöer",FJ:"Fidschi",FI:"Finnland",FR:"Frankreich",GF:"Französisch-Guayana",PF:"Französisch-Polynesien",TF:"Französische Süd- und Antarktisgebiete",GA:"Gabun",GM:"Gambia",GE:"Georgien",GH:"Ghana",GI:"Gibraltar",GD:"Grenada",GR:"Griechenland",GL:"Grönland",GP:"Guadeloupe",GU:"Guam",GT:"Guatemala",GG:"Guernsey",GN:"Guinea",GW:"Guinea-Bissau",GY:"Guyana",HT:"Haiti",HM:"Heard und McDonaldinseln",HN:"Honduras",HK:"SAR Hong Kong",IN:"Indien",ID:"Indonesien",IM:"Insel Man",IQ:"Irak",IR:"Iran",IE:"Irland",IS:"Island",IL:"Israel",IT:"Italien",JM:"Jamaika",JP:"Japan",YE:"Jemen",JE:"Jersey",JO:"Jordanien",KY:"Kaimaninseln",KH:"Kambodscha",CM:"Kamerun",CA:"Kanada",CV:"Kap Verde",KZ:"Kasachstan",QA:"Katar",KE:"Kenia",KG:"Kirgisistan",KI:"Kiribati",CC:"Kokosinseln",CO:"Kolumbien",KM:"Komoren",CD:"Kongo",KP:"Nordkorea",KR:"Südkorea",HR:"Kroatien",CU:"Kuba",KW:"Kuwait",LA:"Laos",LS:"Lesotho",LV:"Lettland",LB:"Libanon",LR:"Liberia",LY:"Libyen",LI:"Liechtenstein",LT:"Litauen",LU:"Luxemburg",MO:"SAR Macau",MG:"Madagaskar",MW:"Malawi",MY:"Malaysia",MV:"Malediven",ML:"Mali",MT:"Malta",MA:"Marokko",MH:"Marshallinseln",MQ:"Martinique",MR:"Mauretanien",MU:"Mauritius",YT:"Mayotte",MX:"Mexiko",FM:"Mikronesien",MD:"Moldawien",MC:"Monaco",MN:"Mongolei",ME:"Montenegro",MS:"Montserrat",MZ:"Mosambik",MM:"Myanmar",NA:"Namibia",NR:"Nauru",NP:"Nepal",NC:"Neukaledonien",NZ:"Neuseeland",NI:"Nicaragua",NL:"Niederlande",NE:"Niger",NG:"Nigeria",NU:"Niue",MK:"Nordmazedonien",MP:"Nördliche Marianen",NF:"Norfolkinsel",NO:"Norwegen",OM:"Oman",AT:"Österreich",TL:"Osttimor",PK:"Pakistan",PS:"Staat Palästina",PW:"Palau",PA:"Panama",PG:"Papua-Neuguinea",PY:"Paraguay",PE:"Peru",PH:"Philippinen",PN:"Pitcairninseln",PL:"Polen",PT:"Portugal",PR:"Puerto Rico",TW:"Taiwan Region",CG:"Republik Kongo",RE:"Réunion",RW:"Ruanda",RO:"Rumänien",RU:"Russische Föderation",BL:"Saint-Barthélemy",MF:"Saint-Martin",SB:"Salomonen",ZM:"Sambia",WS:"Samoa",SM:"San Marino",ST:"São Tomé und Príncipe",SA:"Saudi-Arabien",SE:"Schweden",CH:"Schweiz",SN:"Senegal",RS:"Serbien",SC:"Seychellen",SL:"Sierra Leone",ZW:"Simbabwe",SG:"Singapur",SX:"Sint Maarten",SK:"Slowakei",SI:"Slowenien",SO:"Somalia",ES:"Spanien",LK:"Sri Lanka",SH:"St. Helena",KN:"St. Kitts und Nevis",LC:"St. Lucia",PM:"Saint-Pierre und Miquelon",VC:"St. Vincent und die Grenadinen",ZA:"Südafrika",SD:"Sudan",GS:"Südgeorgien und die Südlichen Sandwichinseln",SS:"Südsudan",SR:"Suriname",SJ:"Svalbard und Jan Mayen",SZ:"Swasiland",SY:"Syrien, Arabische Republik",TJ:"Tadschikistan",TZ:"Tansania, Vereinigte Republik",TH:"Thailand",TG:"Togo",TK:"Tokelau",TO:"Tonga",TT:"Trinidad und Tobago",TD:"Tschad",CZ:"Tschechische Republik",TN:"Tunesien",TR:"Türkei",TM:"Turkmenistan",TC:"Turks- und Caicosinseln",TV:"Tuvalu",UG:"Uganda",UA:"Ukraine",HU:"Ungarn",UM:"United States Minor Outlying Islands",UY:"Uruguay",UZ:"Usbekistan",VU:"Vanuatu",VA:"Vatikanstadt",VE:"Venezuela",AE:"Vereinigte Arabische Emirate",US:"Vereinigte Staaten von Amerika",GB:"Vereinigtes Königreich",VN:"Vietnam",WF:"Wallis und Futuna",CX:"Weihnachtsinsel",EH:"Westsahara",CF:"Zentralafrikanische Republik",CY:"Zypern",XK:"Kosovo"}};ry();const ny=({question:r,fieldState:e,setQuestionRef:n})=>{const a=Nn("fields",r.presentation!=="horizontal"?"options":null),o=v=>{e.setValue(v.target.value.length!==0?v.target.value:null)},{t:d}=Os();return U.jsxs(Oi,{question:r,fieldState:e,setQuestionRef:n,children:[U.jsx(Ii,{question:r}),U.jsxs("div",{className:"description-and-fields",children:[U.jsx(Ai,{question:r}),U.jsx("div",{className:a,id:iy(r),children:U.jsxs("select",{value:e.value??"",onChange:o,onFocus:e.setAsActiveQuestion,disabled:e.disabled,children:[U.jsx("option",{value:"",children:d("choose_a_country")}),U.jsx(ay,{lang:cr.language})]})})]})]})};function ry(){mn.registerLocale(qb),mn.registerLocale(ey),mn.registerLocale(ty)}function iy(r){return`answer_${r.key}_input`}const ay=De.memo(r=>U.jsx(U.Fragment,{children:oy(r.lang).map(e=>U.jsx(sy,{option:e},e.numeric))}));function oy(r){const e=[];return Object.keys(mn.getNames(r)).sort().map(n=>{e.push({country:mn.getName(n,r),numeric:mn.alpha2ToNumeric(n).toString()})}),e}const sy=({option:r})=>U.jsx("option",{value:r.numeric??"",children:r.country}),ly=({question:r,fieldState:e,setQuestionRef:n})=>{const{t:a}=Os(),o=uy(r,e.value??null),d=(v,_)=>{e.setValue(cy(r,o.set(v,_)))};return U.jsxs(Oi,{question:r,fieldState:e,setQuestionRef:n,children:[U.jsx(Ii,{question:r}),U.jsxs("div",{className:"description-and-fields",children:[U.jsx(Ai,{question:r}),U.jsx("div",{className:"fields",id:dy(r),children:r.units.map(v=>U.jsxs(De.Fragment,{children:[U.jsx("input",{type:"text",value:(o==null?void 0:o.get(v))||"",size:r.size,disabled:e.disabled,onChange:_=>d(v,parseInt(_.target.value)),onFocus:e.setAsActiveQuestion}),U.jsx("span",{className:"mx-1",children:a(`units.${v}`,{defaultValue:v})})]},v))})]})]})};function uy(r,e){if(e==null)return new Map;const n=new Map;for(const a of r.units){const o=r.conversions[a]||1,d=Math.trunc(e/o);n.set(a,d),e=e%o}return n}function cy(r,e){return[...e.values()].every(n=>n===void 0)?null:r.units.reduce((n,a)=>n+(e.get(a)||0)*(r.conversions[a]||1),0)}function dy(r){return`answer_${r.key}_input`}const dh=({fieldKey:r})=>{const{questionnaire:e,response:n,setQuestionRef:a,displayOptions:o}=De.useContext(Zd),d=e.getField(r);switch(d.as){case"string":{const v=n.getFieldState(r);return v.hidden?null:U.jsx(jv,{question:d,fieldState:v,setQuestionRef:a})}case"country_select":{const v=n.getFieldState(r);return v.hidden?null:U.jsx(ny,{question:d,fieldState:v,setQuestionRef:a})}case"scale":{const v=n.getFieldState(r);return v.hidden?null:U.jsx(Uv,{question:d,fieldState:v,setQuestionRef:a})}case"radio":{const v=n.getFieldState(r);return v.hidden?null:U.jsx(Gv,{question:d,fieldState:v,setQuestionRef:a})}case"select":{const v=n.getFieldState(r);return v.hidden?null:U.jsx(Qv,{question:d,fieldState:v,setQuestionRef:a})}case"date_parts":{const v=n.getFieldState(r);return v.hidden?null:U.jsx(eb,{question:d,fieldState:v,setQuestionRef:a})}case"integer":{const v=n.getFieldState(r);return v.hidden?null:U.jsx(nb,{question:d,fieldState:v,setQuestionRef:a})}case"float":{const v=n.getFieldState(r);return v.hidden?null:U.jsx(ib,{question:d,fieldState:v,setQuestionRef:a})}case"slider":{const v=n.getFieldState(r);return v.hidden?null:o.newLayout?U.jsx(pb,{question:d,fieldState:v,setQuestionRef:a}):U.jsx(Rb,{question:d,fieldState:v,setQuestionRef:a})}case"split_to_units":{const v=n.getFieldState(r);return v.hidden?null:U.jsx(ly,{question:d,fieldState:v,setQuestionRef:a})}case"textarea":{const v=n.getFieldState(r);return v.hidden?null:U.jsx(Bb,{question:d,fieldState:v,setQuestionRef:a})}case"check_box":{const v=n.getFieldState(r);return v.hidden?null:U.jsx(jb,{question:d,fieldState:v,setQuestionRef:a})}}throw new Error("unknown question type")},fy=({item:r})=>U.jsxs("div",{className:"item",style:{border:"1px red",background:"yellow"},children:["Unknown item type:",r.type]}),py=r=>{switch(r.item.type){case"html":return U.jsx(Ov,{item:r.item});case"question":return U.jsx(dh,{fieldKey:r.item.key});default:return U.jsx(fy,{item:r.item})}},fh=({panel:r})=>U.jsxs("div",{className:"m-panel-padding",children:[U.jsx(hy,{title:r.title}),r.items.map((e,n)=>U.jsx(py,{item:e},n))]}),hy=({title:r})=>r?U.jsx("h1",{children:r}):null,ph="buttons bg-slate-100 dark:bg-slate-700 p-panel-padding",gy=r=>{const[e,n]=De.useState(r.panelLogic.firstPanelIndexToActivate()),a=De.useRef(null),o=r.panelLogic.previousPanelIndexToActivate(e),d=r.panelLogic.nextPanelIndexToActivate(e),v={prev:o!==null?()=>{var _;n(o),(_=a.current)==null||_.focus()}:void 0,next:d!==null&&r.displayMode!=="single_page"?()=>{var _;r.beforeNext(e)&&(n(d),(_=a.current)==null||_.focus())}:void 0,done:r.onDone,onFocus:r.onFocus,nextSavePressWillOnlyRunMinimalValidations:r.nextSavePressWillOnlyRunMinimalValidations};switch(r.displayMode){case"paged":return U.jsxs(my,{panelLogic:r.panelLogic,panelIndex:e,navigate:v,children:[U.jsx("span",{ref:a,tabIndex:-1}),U.jsx(fh,{panel:r.panelLogic.panels[e]})]});case"single_page":return U.jsxs(De.Fragment,{children:[U.jsx("span",{ref:a,tabIndex:-1}),r.panelLogic.panels.map((_,w)=>U.jsxs(De.Fragment,{children:[U.jsxs("fieldset",{className:"panel",children:[U.jsx(fh,{panel:_}),r.panelLogic.isLastPanel(w)?U.jsx(hh,{firstPanel:!1,lastPanel:!0,navigate:v}):null]}),w<r.panelLogic.panels.length-1&&U.jsx("div",{className:ph})]},w))]});default:return null}},my=r=>U.jsxs("fieldset",{className:"panel",children:[U.jsx(by,{}),r.children,U.jsx(Av,{max:r.panelLogic.count(),current:r.panelIndex}),U.jsx(hh,{firstPanel:r.panelLogic.isFirstPanel(r.panelIndex),lastPanel:r.panelLogic.isLastPanel(r.panelIndex),navigate:r.navigate})]}),hh=r=>{const{t:e}=Os(),n=r.navigate.nextSavePressWillOnlyRunMinimalValidations?e("questionnaire_not_completed.save_anyway"):e("done");return U.jsxs("div",{className:ph,children:[r.navigate.nextSavePressWillOnlyRunMinimalValidations&&vy(e),U.jsxs("div",{className:"flex justify-between",children:[U.jsx("div",{className:"next order-last",children:r.navigate.next?U.jsx(bd,{onClick:r.navigate.next,value:e("next"),onFocus:r.navigate.onFocus,variant:"primary"}):U.jsx(bd,{onClick:r.navigate.done,value:n,onFocus:r.navigate.onFocus,variant:"primary"})}),U.jsx("div",{className:"prev",children:r.navigate.prev&&U.jsx(bd,{onClick:r.navigate.prev,value:e("previous"),onFocus:r.navigate.onFocus})}),U.jsx("div",{className:"abort",children:r.navigate.abort&&U.jsx(bd,{onClick:r.navigate.abort,value:e("abort"),onFocus:r.navigate.onFocus})})]})]})},vy=r=>U.jsxs("div",{className:"m-panel-padding p-panel-padding border-2 rounded border-warning fg-warning-inv",children:[U.jsx("h1",{children:r("questionnaire_not_completed.heading")}),U.jsx("p",{children:r("questionnaire_not_completed.explanation")})]}),bd=({value:r,onClick:e,onFocus:n,variant:a})=>{const o=Nn("border p-2 rounded",{"bg-primary":a==="primary","text-primary-inv":a==="primary","bg-secondary":a!=="primary","text-secondary-inv":a!=="primary"});return U.jsx("button",{onClick:e,onFocus:n,className:o,children:r})},by=()=>null;class yy{constructor(e,n){jt(this,"panels");this.response=e,this.response=e,this.panels=n}firstPanelIndexToActivate(){return this.nextPanelIndexToActivate(-1)??this.panels.length-1}nextPanelIndexToActivate(e){let n=e+1;if(n===this.panels.length)return null;for(;n<this.panels.length&&this.allQuestionsHidden(n);)n++;return n}previousPanelIndexToActivate(e){let n=e;for(;;){if(n--,n<0)return null;if(!this.allQuestionsHidden(n))return n}}isFirstPanel(e){return e===this.firstPanelIndexToActivate()}isLastPanel(e){return e===this.panels.length-1}count(){return this.panels.length}allQuestionsHidden(e){const n=this.panels[e];return n.items.some(a=>a.type==="question")&&!n.items.some(a=>a.type==="question"&&this.response.isVisible(a.key))}}const Go=De.createContext(r=>r),gh=({questionnaire:r,response:e,displayOptions:n,allowSkipValidation:a,onSave:o})=>{wy(e);const[d,v]=xy(e),_=De.useRef(null);Fv(e,r,_);const w=n.displayMode,C=new Map,N=new Qp(e,r),L=new yy(e,r.panels),W=Z=>{const G=r.panels[Z];e.touchPanelFields(G);const pe=e.firstNotValidQuestionInPanel(G);if(pe){const Se=C.get(pe);if(!Se)throw`Could not find ref for ${r.key}.${pe}`;mh(Se)}return pe===null},ge=()=>{e.touchAllFields();const Z=e.firstNotValidQuestion();if(d)o();else if(Z){const G=C.get(Z);if(!G)throw`Could not find ref for ${r.key}.${Z}`;mh(G),a&&e.validEnoughForForcedSave()&&v(!0)}else o()},ae=(Z,G)=>{C.set(Z,G)},we=Nn({dark:n.darkMode});return U.jsx(Go.Provider,{value:N.interpolateCurlies,children:U.jsx(Zd.Provider,{value:{questionnaire:r,response:e,displayOptions:n,setQuestionRef:ae},children:U.jsxs("div",{ref:_,className:we,style:th(r.cssVars),children:[U.jsx("form",{className:"paged",onSubmit:Z=>Z.preventDefault(),children:U.jsx(gy,{beforeNext:W,displayMode:w,nextSavePressWillOnlyRunMinimalValidations:d,panelLogic:L,onDone:ge,onFocus:()=>e.setActiveQuestion(null)})}),r.footer&&U.jsx("footer",{dangerouslySetInnerHTML:{__html:r.footer}})]})})})},wy=r=>{const[e,n]=De.useState(0);De.useEffect(()=>{const a=o=>n(d=>d+1);return r.onChange(a),()=>r.offChange(a)})},xy=r=>{const[e,n]=De.useState(!1);return De.useEffect(()=>{const a=(o,d)=>{e&&d==="valueChanged"&&n(!1)};return r.onChange(a),()=>r.offChange(a)}),[e,n]},mh=r=>{const e=r==null?void 0:r.current;if(!e)return;e.scrollIntoView();const n=e.querySelector('input, select, textarea, [tabindex]:not([tabindex="-1"])');n instanceof HTMLElement&&n.focus()};var Al={};/**
|
|
70
70
|
* @license React
|
|
71
71
|
* react-dom-server-legacy.browser.production.min.js
|
|
72
72
|
*
|
|
@@ -74,13 +74,13 @@ Check the top-level render call using <`+Ce+">.")}return he}}function gr(z,he){{
|
|
|
74
74
|
*
|
|
75
75
|
* This source code is licensed under the MIT license found in the
|
|
76
76
|
* LICENSE file in the root directory of this source tree.
|
|
77
|
-
*/var
|
|
77
|
+
*/var vh;function Sy(){if(vh)return Al;vh=1;var r=De;function e(p){for(var S="https://reactjs.org/docs/error-decoder.html?invariant="+p,A=1;A<arguments.length;A++)S+="&args[]="+encodeURIComponent(arguments[A]);return"Minified React error #"+p+"; visit "+S+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var n=Object.prototype.hasOwnProperty,a=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,o={},d={};function v(p){return n.call(d,p)?!0:n.call(o,p)?!1:a.test(p)?d[p]=!0:(o[p]=!0,!1)}function _(p,S,A,F,X,K,ie){this.acceptsBooleans=S===2||S===3||S===4,this.attributeName=F,this.attributeNamespace=X,this.mustUseProperty=A,this.propertyName=p,this.type=S,this.sanitizeURL=K,this.removeEmptyString=ie}var w={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(p){w[p]=new _(p,0,!1,p,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(p){var S=p[0];w[S]=new _(S,1,!1,p[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(p){w[p]=new _(p,2,!1,p.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(p){w[p]=new _(p,2,!1,p,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(p){w[p]=new _(p,3,!1,p.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(p){w[p]=new _(p,3,!0,p,null,!1,!1)}),["capture","download"].forEach(function(p){w[p]=new _(p,4,!1,p,null,!1,!1)}),["cols","rows","size","span"].forEach(function(p){w[p]=new _(p,6,!1,p,null,!1,!1)}),["rowSpan","start"].forEach(function(p){w[p]=new _(p,5,!1,p.toLowerCase(),null,!1,!1)});var C=/[\-:]([a-z])/g;function N(p){return p[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(p){var S=p.replace(C,N);w[S]=new _(S,1,!1,p,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(p){var S=p.replace(C,N);w[S]=new _(S,1,!1,p,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(p){var S=p.replace(C,N);w[S]=new _(S,1,!1,p,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(p){w[p]=new _(p,1,!1,p.toLowerCase(),null,!1,!1)}),w.xlinkHref=new _("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(p){w[p]=new _(p,1,!1,p.toLowerCase(),null,!0,!0)});var L={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},W=["Webkit","ms","Moz","O"];Object.keys(L).forEach(function(p){W.forEach(function(S){S=S+p.charAt(0).toUpperCase()+p.substring(1),L[S]=L[p]})});var ge=/["'&<>]/;function ae(p){if(typeof p=="boolean"||typeof p=="number")return""+p;p=""+p;var S=ge.exec(p);if(S){var A="",F,X=0;for(F=S.index;F<p.length;F++){switch(p.charCodeAt(F)){case 34:S=""";break;case 38:S="&";break;case 39:S="'";break;case 60:S="<";break;case 62:S=">";break;default:continue}X!==F&&(A+=p.substring(X,F)),X=F+1,A+=S}p=X!==F?A+p.substring(X,F):A}return p}var we=/([A-Z])/g,Z=/^ms-/,G=Array.isArray;function pe(p,S){return{insertionMode:p,selectedValue:S}}function Se(p,S,A){switch(S){case"select":return pe(1,A.value!=null?A.value:A.defaultValue);case"svg":return pe(2,null);case"math":return pe(3,null);case"foreignObject":return pe(1,null);case"table":return pe(4,null);case"thead":case"tbody":case"tfoot":return pe(5,null);case"colgroup":return pe(7,null);case"tr":return pe(6,null)}return 4<=p.insertionMode||p.insertionMode===0?pe(1,null):p}var _e=new Map;function re(p,S,A){if(typeof A!="object")throw Error(e(62));S=!0;for(var F in A)if(n.call(A,F)){var X=A[F];if(X!=null&&typeof X!="boolean"&&X!==""){if(F.indexOf("--")===0){var K=ae(F);X=ae((""+X).trim())}else{K=F;var ie=_e.get(K);ie!==void 0||(ie=ae(K.replace(we,"-$1").toLowerCase().replace(Z,"-ms-")),_e.set(K,ie)),K=ie,X=typeof X=="number"?X===0||n.call(L,F)?""+X:X+"px":ae((""+X).trim())}S?(S=!1,p.push(' style="',K,":",X)):p.push(";",K,":",X)}}S||p.push('"')}function Ie(p,S,A,F){switch(A){case"style":re(p,S,F);return;case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(2<A.length)||A[0]!=="o"&&A[0]!=="O"||A[1]!=="n"&&A[1]!=="N"){if(S=w.hasOwnProperty(A)?w[A]:null,S!==null){switch(typeof F){case"function":case"symbol":return;case"boolean":if(!S.acceptsBooleans)return}switch(A=S.attributeName,S.type){case 3:F&&p.push(" ",A,'=""');break;case 4:F===!0?p.push(" ",A,'=""'):F!==!1&&p.push(" ",A,'="',ae(F),'"');break;case 5:isNaN(F)||p.push(" ",A,'="',ae(F),'"');break;case 6:!isNaN(F)&&1<=F&&p.push(" ",A,'="',ae(F),'"');break;default:S.sanitizeURL&&(F=""+F),p.push(" ",A,'="',ae(F),'"')}}else if(v(A)){switch(typeof F){case"function":case"symbol":return;case"boolean":if(S=A.toLowerCase().slice(0,5),S!=="data-"&&S!=="aria-")return}p.push(" ",A,'="',ae(F),'"')}}}function Te(p,S,A){if(S!=null){if(A!=null)throw Error(e(60));if(typeof S!="object"||!("__html"in S))throw Error(e(61));S=S.__html,S!=null&&p.push(""+S)}}function Dt(p){var S="";return r.Children.forEach(p,function(A){A!=null&&(S+=A)}),S}function dt(p,S,A,F){p.push(ye(A));var X=A=null,K;for(K in S)if(n.call(S,K)){var ie=S[K];if(ie!=null)switch(K){case"children":A=ie;break;case"dangerouslySetInnerHTML":X=ie;break;default:Ie(p,F,K,ie)}}return p.push(">"),Te(p,X,A),typeof A=="string"?(p.push(ae(A)),null):A}var Mt=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,ve=new Map;function ye(p){var S=ve.get(p);if(S===void 0){if(!Mt.test(p))throw Error(e(65,p));S="<"+p,ve.set(p,S)}return S}function Re(p,S,A,F,X){switch(S){case"select":p.push(ye("select"));var K=null,ie=null;for(Je in A)if(n.call(A,Je)){var be=A[Je];if(be!=null)switch(Je){case"children":K=be;break;case"dangerouslySetInnerHTML":ie=be;break;case"defaultValue":case"value":break;default:Ie(p,F,Je,be)}}return p.push(">"),Te(p,ie,K),K;case"option":ie=X.selectedValue,p.push(ye("option"));var We=be=null,Qe=null,Je=null;for(K in A)if(n.call(A,K)){var Ft=A[K];if(Ft!=null)switch(K){case"children":be=Ft;break;case"selected":Qe=Ft;break;case"dangerouslySetInnerHTML":Je=Ft;break;case"value":We=Ft;default:Ie(p,F,K,Ft)}}if(ie!=null)if(A=We!==null?""+We:Dt(be),G(ie)){for(F=0;F<ie.length;F++)if(""+ie[F]===A){p.push(' selected=""');break}}else""+ie===A&&p.push(' selected=""');else Qe&&p.push(' selected=""');return p.push(">"),Te(p,Je,be),be;case"textarea":p.push(ye("textarea")),Je=ie=K=null;for(be in A)if(n.call(A,be)&&(We=A[be],We!=null))switch(be){case"children":Je=We;break;case"value":K=We;break;case"defaultValue":ie=We;break;case"dangerouslySetInnerHTML":throw Error(e(91));default:Ie(p,F,be,We)}if(K===null&&ie!==null&&(K=ie),p.push(">"),Je!=null){if(K!=null)throw Error(e(92));if(G(Je)&&1<Je.length)throw Error(e(93));K=""+Je}return typeof K=="string"&&K[0]===`
|
|
78
78
|
`&&p.push(`
|
|
79
79
|
`),K!==null&&p.push(ae(""+K)),null;case"input":p.push(ye("input")),We=Je=be=K=null;for(ie in A)if(n.call(A,ie)&&(Qe=A[ie],Qe!=null))switch(ie){case"children":case"dangerouslySetInnerHTML":throw Error(e(399,"input"));case"defaultChecked":We=Qe;break;case"defaultValue":be=Qe;break;case"checked":Je=Qe;break;case"value":K=Qe;break;default:Ie(p,F,ie,Qe)}return Je!==null?Ie(p,F,"checked",Je):We!==null&&Ie(p,F,"checked",We),K!==null?Ie(p,F,"value",K):be!==null&&Ie(p,F,"value",be),p.push("/>"),null;case"menuitem":p.push(ye("menuitem"));for(var ar in A)if(n.call(A,ar)&&(K=A[ar],K!=null))switch(ar){case"children":case"dangerouslySetInnerHTML":throw Error(e(400));default:Ie(p,F,ar,K)}return p.push(">"),null;case"title":p.push(ye("title")),K=null;for(Ft in A)if(n.call(A,Ft)&&(ie=A[Ft],ie!=null))switch(Ft){case"children":K=ie;break;case"dangerouslySetInnerHTML":throw Error(e(434));default:Ie(p,F,Ft,ie)}return p.push(">"),K;case"listing":case"pre":p.push(ye(S)),ie=K=null;for(We in A)if(n.call(A,We)&&(be=A[We],be!=null))switch(We){case"children":K=be;break;case"dangerouslySetInnerHTML":ie=be;break;default:Ie(p,F,We,be)}if(p.push(">"),ie!=null){if(K!=null)throw Error(e(60));if(typeof ie!="object"||!("__html"in ie))throw Error(e(61));A=ie.__html,A!=null&&(typeof A=="string"&&0<A.length&&A[0]===`
|
|
80
80
|
`?p.push(`
|
|
81
81
|
`,A):p.push(""+A))}return typeof K=="string"&&K[0]===`
|
|
82
82
|
`&&p.push(`
|
|
83
|
-
`),K;case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":p.push(ye(S));for(var Fn in A)if(n.call(A,Fn)&&(K=A[Fn],K!=null))switch(Fn){case"children":case"dangerouslySetInnerHTML":throw Error(e(399,S));default:Ie(p,F,Fn,K)}return p.push("/>"),null;case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return dt(p,A,S,F);case"html":return X.insertionMode===0&&p.push("<!DOCTYPE html>"),dt(p,A,S,F);default:if(S.indexOf("-")===-1&&typeof A.is!="string")return dt(p,A,S,F);p.push(ye(S)),ie=K=null;for(Qe in A)if(n.call(A,Qe)&&(be=A[Qe],be!=null))switch(Qe){case"children":K=be;break;case"dangerouslySetInnerHTML":ie=be;break;case"style":re(p,F,be);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:v(Qe)&&typeof be!="function"&&typeof be!="symbol"&&p.push(" ",Qe,'="',ae(be),'"')}return p.push(">"),Te(p,ie,K),K}}function Be(p,S,A){if(p.push('<!--$?--><template id="'),A===null)throw Error(e(395));return p.push(A),p.push('"></template>')}function Ye(p,S,A,F){switch(A.insertionMode){case 0:case 1:return p.push('<div hidden id="'),p.push(S.segmentPrefix),S=F.toString(16),p.push(S),p.push('">');case 2:return p.push('<svg aria-hidden="true" style="display:none" id="'),p.push(S.segmentPrefix),S=F.toString(16),p.push(S),p.push('">');case 3:return p.push('<math aria-hidden="true" style="display:none" id="'),p.push(S.segmentPrefix),S=F.toString(16),p.push(S),p.push('">');case 4:return p.push('<table hidden id="'),p.push(S.segmentPrefix),S=F.toString(16),p.push(S),p.push('">');case 5:return p.push('<table hidden><tbody id="'),p.push(S.segmentPrefix),S=F.toString(16),p.push(S),p.push('">');case 6:return p.push('<table hidden><tr id="'),p.push(S.segmentPrefix),S=F.toString(16),p.push(S),p.push('">');case 7:return p.push('<table hidden><colgroup id="'),p.push(S.segmentPrefix),S=F.toString(16),p.push(S),p.push('">');default:throw Error(e(397))}}function He(p,S){switch(S.insertionMode){case 0:case 1:return p.push("</div>");case 2:return p.push("</svg>");case 3:return p.push("</math>");case 4:return p.push("</table>");case 5:return p.push("</tbody></table>");case 6:return p.push("</tr></table>");case 7:return p.push("</colgroup></table>");default:throw Error(e(397))}}var je=/[<\u2028\u2029]/g;function ze(p){return JSON.stringify(p).replace(je,function(S){switch(S){case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}function pt(p,S){return S=S===void 0?"":S,{bootstrapChunks:[],startInlineScript:"<script>",placeholderPrefix:S+"P:",segmentPrefix:S+"S:",boundaryPrefix:S+"B:",idPrefix:S,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1,generateStaticMarkup:p}}function oe(p,S,A,F){return A.generateStaticMarkup?(p.push(ae(S)),!1):(S===""?p=F:(F&&p.push("<!-- -->"),p.push(ae(S)),p=!0),p)}var ue=Object.assign,Ae=Symbol.for("react.element"),Ze=Symbol.for("react.portal"),Fe=Symbol.for("react.fragment"),Me=Symbol.for("react.strict_mode"),Oe=Symbol.for("react.profiler"),qe=Symbol.for("react.provider"),et=Symbol.for("react.context"),Ke=Symbol.for("react.forward_ref"),nt=Symbol.for("react.suspense"),_t=Symbol.for("react.suspense_list"),ke=Symbol.for("react.memo"),It=Symbol.for("react.lazy"),mt=Symbol.for("react.scope"),fn=Symbol.for("react.debug_trace_mode"),jn=Symbol.for("react.legacy_hidden"),Sn=Symbol.for("react.default_value"),zn=Symbol.iterator;function dr(p){if(p==null)return null;if(typeof p=="function")return p.displayName||p.name||null;if(typeof p=="string")return p;switch(p){case Fe:return"Fragment";case Ze:return"Portal";case Oe:return"Profiler";case Me:return"StrictMode";case nt:return"Suspense";case _t:return"SuspenseList"}if(typeof p=="object")switch(p.$$typeof){case et:return(p.displayName||"Context")+".Consumer";case qe:return(p._context.displayName||"Context")+".Provider";case Ke:var S=p.render;return p=p.displayName,p||(p=S.displayName||S.name||"",p=p!==""?"ForwardRef("+p+")":"ForwardRef"),p;case ke:return S=p.displayName||null,S!==null?S:dr(p.type)||"Memo";case It:S=p._payload,p=p._init;try{return dr(p(S))}catch{}}return null}var nr={};function On(p,S){if(p=p.contextTypes,!p)return nr;var A={},F;for(F in p)A[F]=S[F];return A}var yn=null;function pn(p,S){if(p!==S){p.context._currentValue2=p.parentValue,p=p.parent;var A=S.parent;if(p===null){if(A!==null)throw Error(e(401))}else{if(A===null)throw Error(e(401));pn(p,A)}S.context._currentValue2=S.value}}function hn(p){p.context._currentValue2=p.parentValue,p=p.parent,p!==null&&hn(p)}function fr(p){var S=p.parent;S!==null&&fr(S),p.context._currentValue2=p.value}function gi(p,S){if(p.context._currentValue2=p.parentValue,p=p.parent,p===null)throw Error(e(402));p.depth===S.depth?pn(p,S):gi(p,S)}function Un(p,S){var A=S.parent;if(A===null)throw Error(e(402));p.depth===A.depth?pn(p,A):Un(p,A),S.context._currentValue2=S.value}function Zt(p){var S=yn;S!==p&&(S===null?fr(p):p===null?hn(S):S.depth===p.depth?pn(S,p):S.depth>p.depth?gi(S,p):Un(S,p),yn=p)}var Ar={isMounted:function(){return!1},enqueueSetState:function(p,S){p=p._reactInternals,p.queue!==null&&p.queue.push(S)},enqueueReplaceState:function(p,S){p=p._reactInternals,p.replace=!0,p.queue=[S]},enqueueForceUpdate:function(){}};function Zr(p,S,A,F){var X=p.state!==void 0?p.state:null;p.updater=Ar,p.props=A,p.state=X;var K={queue:[],replace:!1};p._reactInternals=K;var ie=S.contextType;if(p.context=typeof ie=="object"&&ie!==null?ie._currentValue2:F,ie=S.getDerivedStateFromProps,typeof ie=="function"&&(ie=ie(A,X),X=ie==null?X:ue({},X,ie),p.state=X),typeof S.getDerivedStateFromProps!="function"&&typeof p.getSnapshotBeforeUpdate!="function"&&(typeof p.UNSAFE_componentWillMount=="function"||typeof p.componentWillMount=="function"))if(S=p.state,typeof p.componentWillMount=="function"&&p.componentWillMount(),typeof p.UNSAFE_componentWillMount=="function"&&p.UNSAFE_componentWillMount(),S!==p.state&&Ar.enqueueReplaceState(p,p.state,null),K.queue!==null&&0<K.queue.length)if(S=K.queue,ie=K.replace,K.queue=null,K.replace=!1,ie&&S.length===1)p.state=S[0];else{for(K=ie?S[0]:p.state,X=!0,ie=ie?1:0;ie<S.length;ie++){var be=S[ie];be=typeof be=="function"?be.call(p,K,A,F):be,be!=null&&(X?(X=!1,K=ue({},K,be)):ue(K,be))}p.state=K}else K.queue=null}var Or={id:1,overflow:""};function Yr(p,S,A){var F=p.id;p=p.overflow;var X=32-Mr(F)-1;F&=~(1<<X),A+=1;var K=32-Mr(S)+X;if(30<K){var ie=X-X%5;return K=(F&(1<<ie)-1).toString(32),F>>=ie,X-=ie,{id:1<<32-Mr(S)+X|A<<X|F,overflow:K+p}}return{id:1<<K|A<<X|F,overflow:p}}var Mr=Math.clz32?Math.clz32:pr,Mi=Math.log,Kr=Math.LN2;function pr(p){return p>>>=0,p===0?32:31-(Mi(p)/Kr|0)|0}function Jr(p,S){return p===S&&(p!==0||1/p===1/S)||p!==p&&S!==S}var ia=typeof Object.is=="function"?Object.is:Jr,_n=null,rr=null,Mn=null,At=null,hr=!1,Qr=!1,Xr=0,ir=null,qr=0;function gr(){if(_n===null)throw Error(e(321));return _n}function nn(){if(0<qr)throw Error(e(312));return{memoizedState:null,queue:null,next:null}}function Fi(){return At===null?Mn===null?(hr=!1,Mn=At=nn()):(hr=!0,At=Mn):At.next===null?(hr=!1,At=At.next=nn()):(hr=!0,At=At.next),At}function ei(){rr=_n=null,Qr=!1,Mn=null,qr=0,At=ir=null}function Pi(p,S){return typeof S=="function"?S(p):S}function rn(p,S,A){if(_n=gr(),At=Fi(),hr){var F=At.queue;if(S=F.dispatch,ir!==null&&(A=ir.get(F),A!==void 0)){ir.delete(F),F=At.memoizedState;do F=p(F,A.action),A=A.next;while(A!==null);return At.memoizedState=F,[F,S]}return[At.memoizedState,S]}return p=p===Pi?typeof S=="function"?S():S:A!==void 0?A(S):S,At.memoizedState=p,p=At.queue={last:null,dispatch:null},p=p.dispatch=Fa.bind(null,_n,p),[At.memoizedState,p]}function Di(p,S){if(_n=gr(),At=Fi(),S=S===void 0?null:S,At!==null){var A=At.memoizedState;if(A!==null&&S!==null){var F=A[1];e:if(F===null)F=!1;else{for(var X=0;X<F.length&&X<S.length;X++)if(!ia(S[X],F[X])){F=!1;break e}F=!0}if(F)return A[0]}}return p=p(),At.memoizedState=[p,S],p}function Fa(p,S,A){if(25<=qr)throw Error(e(301));if(p===_n)if(Qr=!0,p={action:A,next:null},ir===null&&(ir=new Map),A=ir.get(S),A===void 0)ir.set(S,p);else{for(S=A;S.next!==null;)S=S.next;S.next=p}}function Pa(){throw Error(e(394))}function z(){}var he={readContext:function(p){return p._currentValue2},useContext:function(p){return gr(),p._currentValue2},useMemo:Di,useReducer:rn,useRef:function(p){_n=gr(),At=Fi();var S=At.memoizedState;return S===null?(p={current:p},At.memoizedState=p):S},useState:function(p){return rn(Pi,p)},useInsertionEffect:z,useLayoutEffect:function(){},useCallback:function(p,S){return Di(function(){return p},S)},useImperativeHandle:z,useEffect:z,useDebugValue:z,useDeferredValue:function(p){return gr(),p},useTransition:function(){return gr(),[!1,Pa]},useId:function(){var p=rr.treeContext,S=p.overflow;p=p.id,p=(p&~(1<<32-Mr(p)-1)).toString(32)+S;var A=Ce;if(A===null)throw Error(e(404));return S=Xr++,p=":"+A.idPrefix+"R"+p,0<S&&(p+="H"+S.toString(32)),p+":"},useMutableSource:function(p,S){return gr(),S(p._source)},useSyncExternalStore:function(p,S,A){if(A===void 0)throw Error(e(407));return A()}},Ce=null,tt=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;function vt(p){return console.error(p),null}function kt(){}function wt(p,S,A,F,X,K,ie,be,We){var Qe=[],Je=new Set;return S={destination:null,responseState:S,progressiveChunkSize:F===void 0?12800:F,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:Je,pingedTasks:Qe,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:X===void 0?vt:X,onAllReady:K===void 0?kt:K,onShellReady:ie===void 0?kt:ie,onShellError:be===void 0?kt:be,onFatalError:We===void 0?kt:We},A=ln(S,0,null,A,!1,!1),A.parentFlushed=!0,p=ft(S,p,null,A,Je,nr,null,Or),Qe.push(p),S}function ft(p,S,A,F,X,K,ie,be){p.allPendingTasks++,A===null?p.pendingRootTasks++:A.pendingTasks++;var We={node:S,ping:function(){var Qe=p.pingedTasks;Qe.push(We),Qe.length===1&&Jn(p)},blockedBoundary:A,blockedSegment:F,abortSet:X,legacyContext:K,context:ie,treeContext:be};return X.add(We),We}function ln(p,S,A,F,X,K){return{status:0,id:-1,index:S,parentFlushed:!1,chunks:[],children:[],formatContext:F,boundary:A,lastPushedText:X,textEmbedded:K}}function jt(p,S){if(p=p.onError(S),p!=null&&typeof p!="string")throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof p+'" instead');return p}function zt(p,S){var A=p.onShellError;A(S),A=p.onFatalError,A(S),p.destination!==null?(p.status=2,p.destination.destroy(S)):(p.status=1,p.fatalError=S)}function on(p,S,A,F,X){for(_n={},rr=S,Xr=0,p=A(F,X);Qr;)Qr=!1,Xr=0,qr+=1,At=null,p=A(F,X);return ei(),p}function In(p,S,A,F){var X=A.render(),K=F.childContextTypes;if(K!=null){var ie=S.legacyContext;if(typeof A.getChildContext!="function")F=ie;else{A=A.getChildContext();for(var be in A)if(!(be in K))throw Error(e(108,dr(F)||"Unknown",be));F=ue({},ie,A)}S.legacyContext=F,un(p,S,X),S.legacyContext=ie}else un(p,S,X)}function Fr(p,S){if(p&&p.defaultProps){S=ue({},S),p=p.defaultProps;for(var A in p)S[A]===void 0&&(S[A]=p[A]);return S}return S}function Xt(p,S,A,F,X){if(typeof A=="function")if(A.prototype&&A.prototype.isReactComponent){X=On(A,S.legacyContext);var K=A.contextType;K=new A(F,typeof K=="object"&&K!==null?K._currentValue2:X),Zr(K,A,F,X),In(p,S,K,A)}else{K=On(A,S.legacyContext),X=on(p,S,A,F,K);var ie=Xr!==0;if(typeof X=="object"&&X!==null&&typeof X.render=="function"&&X.$$typeof===void 0)Zr(X,A,F,K),In(p,S,X,A);else if(ie){F=S.treeContext,S.treeContext=Yr(F,1,0);try{un(p,S,X)}finally{S.treeContext=F}}else un(p,S,X)}else if(typeof A=="string"){switch(X=S.blockedSegment,K=Re(X.chunks,A,F,p.responseState,X.formatContext),X.lastPushedText=!1,ie=X.formatContext,X.formatContext=Se(ie,A,F),Sr(p,S,K),X.formatContext=ie,A){case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break;default:X.chunks.push("</",A,">")}X.lastPushedText=!1}else{switch(A){case jn:case fn:case Me:case Oe:case Fe:un(p,S,F.children);return;case _t:un(p,S,F.children);return;case mt:throw Error(e(343));case nt:e:{A=S.blockedBoundary,X=S.blockedSegment,K=F.fallback,F=F.children,ie=new Set;var be={id:null,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:ie,errorDigest:null},We=ln(p,X.chunks.length,be,X.formatContext,!1,!1);X.children.push(We),X.lastPushedText=!1;var Qe=ln(p,0,null,X.formatContext,!1,!1);Qe.parentFlushed=!0,S.blockedBoundary=be,S.blockedSegment=Qe;try{if(Sr(p,S,F),p.responseState.generateStaticMarkup||Qe.lastPushedText&&Qe.textEmbedded&&Qe.chunks.push("<!-- -->"),Qe.status=1,_r(be,Qe),be.pendingTasks===0)break e}catch(Je){Qe.status=4,be.forceClientRender=!0,be.errorDigest=jt(p,Je)}finally{S.blockedBoundary=A,S.blockedSegment=X}S=ft(p,K,A,We,ie,S.legacyContext,S.context,S.treeContext),p.pingedTasks.push(S)}return}if(typeof A=="object"&&A!==null)switch(A.$$typeof){case Ke:if(F=on(p,S,A.render,F,X),Xr!==0){A=S.treeContext,S.treeContext=Yr(A,1,0);try{un(p,S,F)}finally{S.treeContext=A}}else un(p,S,F);return;case ke:A=A.type,F=Fr(A,F),Xt(p,S,A,F,X);return;case qe:if(X=F.children,A=A._context,F=F.value,K=A._currentValue2,A._currentValue2=F,ie=yn,yn=F={parent:ie,depth:ie===null?0:ie.depth+1,context:A,parentValue:K,value:F},S.context=F,un(p,S,X),p=yn,p===null)throw Error(e(403));F=p.parentValue,p.context._currentValue2=F===Sn?p.context._defaultValue:F,p=yn=p.parent,S.context=p;return;case et:F=F.children,F=F(A._currentValue2),un(p,S,F);return;case It:X=A._init,A=X(A._payload),F=Fr(A,F),Xt(p,S,A,F,void 0);return}throw Error(e(130,A==null?A:typeof A,""))}}function un(p,S,A){if(S.node=A,typeof A=="object"&&A!==null){switch(A.$$typeof){case Ae:Xt(p,S,A.type,A.props,A.ref);return;case Ze:throw Error(e(257));case It:var F=A._init;A=F(A._payload),un(p,S,A);return}if(G(A)){Pr(p,S,A);return}if(A===null||typeof A!="object"?F=null:(F=zn&&A[zn]||A["@@iterator"],F=typeof F=="function"?F:null),F&&(F=F.call(A))){if(A=F.next(),!A.done){var X=[];do X.push(A.value),A=F.next();while(!A.done);Pr(p,S,X)}return}throw p=Object.prototype.toString.call(A),Error(e(31,p==="[object Object]"?"object with keys {"+Object.keys(A).join(", ")+"}":p))}typeof A=="string"?(F=S.blockedSegment,F.lastPushedText=oe(S.blockedSegment.chunks,A,p.responseState,F.lastPushedText)):typeof A=="number"&&(F=S.blockedSegment,F.lastPushedText=oe(S.blockedSegment.chunks,""+A,p.responseState,F.lastPushedText))}function Pr(p,S,A){for(var F=A.length,X=0;X<F;X++){var K=S.treeContext;S.treeContext=Yr(K,F,X);try{Sr(p,S,A[X])}finally{S.treeContext=K}}}function Sr(p,S,A){var F=S.blockedSegment.formatContext,X=S.legacyContext,K=S.context;try{return un(p,S,A)}catch(We){if(ei(),typeof We=="object"&&We!==null&&typeof We.then=="function"){A=We;var ie=S.blockedSegment,be=ln(p,ie.chunks.length,null,ie.formatContext,ie.lastPushedText,!0);ie.children.push(be),ie.lastPushedText=!1,p=ft(p,S.node,S.blockedBoundary,be,S.abortSet,S.legacyContext,S.context,S.treeContext).ping,A.then(p,p),S.blockedSegment.formatContext=F,S.legacyContext=X,S.context=K,Zt(K)}else throw S.blockedSegment.formatContext=F,S.legacyContext=X,S.context=K,Zt(K),We}}function kn(p){var S=p.blockedBoundary;p=p.blockedSegment,p.status=3,Dr(this,S,p)}function Li(p,S,A){var F=p.blockedBoundary;p.blockedSegment.status=3,F===null?(S.allPendingTasks--,S.status!==2&&(S.status=2,S.destination!==null&&S.destination.push(null))):(F.pendingTasks--,F.forceClientRender||(F.forceClientRender=!0,p=A===void 0?Error(e(432)):A,F.errorDigest=S.onError(p),F.parentFlushed&&S.clientRenderedBoundaries.push(F)),F.fallbackAbortableTasks.forEach(function(X){return Li(X,S,A)}),F.fallbackAbortableTasks.clear(),S.allPendingTasks--,S.allPendingTasks===0&&(F=S.onAllReady,F()))}function _r(p,S){if(S.chunks.length===0&&S.children.length===1&&S.children[0].boundary===null){var A=S.children[0];A.id=S.id,A.parentFlushed=!0,A.status===1&&_r(p,A)}else p.completedSegments.push(S)}function Dr(p,S,A){if(S===null){if(A.parentFlushed){if(p.completedRootSegment!==null)throw Error(e(389));p.completedRootSegment=A}p.pendingRootTasks--,p.pendingRootTasks===0&&(p.onShellError=kt,S=p.onShellReady,S())}else S.pendingTasks--,S.forceClientRender||(S.pendingTasks===0?(A.parentFlushed&&A.status===1&&_r(S,A),S.parentFlushed&&p.completedBoundaries.push(S),S.fallbackAbortableTasks.forEach(kn,p),S.fallbackAbortableTasks.clear()):A.parentFlushed&&A.status===1&&(_r(S,A),S.completedSegments.length===1&&S.parentFlushed&&p.partialBoundaries.push(S)));p.allPendingTasks--,p.allPendingTasks===0&&(p=p.onAllReady,p())}function Jn(p){if(p.status!==2){var S=yn,A=tt.current;tt.current=he;var F=Ce;Ce=p.responseState;try{var X=p.pingedTasks,K;for(K=0;K<X.length;K++){var ie=X[K],be=p,We=ie.blockedSegment;if(We.status===0){Zt(ie.context);try{un(be,ie,ie.node),be.responseState.generateStaticMarkup||We.lastPushedText&&We.textEmbedded&&We.chunks.push("<!-- -->"),ie.abortSet.delete(ie),We.status=1,Dr(be,ie.blockedBoundary,We)}catch(Pn){if(ei(),typeof Pn=="object"&&Pn!==null&&typeof Pn.then=="function"){var Qe=ie.ping;Pn.then(Qe,Qe)}else{ie.abortSet.delete(ie),We.status=4;var Je=ie.blockedBoundary,Ft=Pn,ar=jt(be,Ft);if(Je===null?zt(be,Ft):(Je.pendingTasks--,Je.forceClientRender||(Je.forceClientRender=!0,Je.errorDigest=ar,Je.parentFlushed&&be.clientRenderedBoundaries.push(Je))),be.allPendingTasks--,be.allPendingTasks===0){var Fn=be.onAllReady;Fn()}}}finally{}}}X.splice(0,K),p.destination!==null&&Lr(p,p.destination)}catch(Pn){jt(p,Pn),zt(p,Pn)}finally{Ce=F,tt.current=A,A===he&&Zt(S)}}}function ti(p,S,A){switch(A.parentFlushed=!0,A.status){case 0:var F=A.id=p.nextSegmentId++;return A.lastPushedText=!1,A.textEmbedded=!1,p=p.responseState,S.push('<template id="'),S.push(p.placeholderPrefix),p=F.toString(16),S.push(p),S.push('"></template>');case 1:A.status=2;var X=!0;F=A.chunks;var K=0;A=A.children;for(var ie=0;ie<A.length;ie++){for(X=A[ie];K<X.index;K++)S.push(F[K]);X=mi(p,S,X)}for(;K<F.length-1;K++)S.push(F[K]);return K<F.length&&(X=S.push(F[K])),X;default:throw Error(e(390))}}function mi(p,S,A){var F=A.boundary;if(F===null)return ti(p,S,A);if(F.parentFlushed=!0,F.forceClientRender)return p.responseState.generateStaticMarkup||(F=F.errorDigest,S.push("<!--$!-->"),S.push("<template"),F&&(S.push(' data-dgst="'),F=ae(F),S.push(F),S.push('"')),S.push("></template>")),ti(p,S,A),p=p.responseState.generateStaticMarkup?!0:S.push("<!--/$-->"),p;if(0<F.pendingTasks){F.rootSegmentID=p.nextSegmentId++,0<F.completedSegments.length&&p.partialBoundaries.push(F);var X=p.responseState,K=X.nextSuspenseID++;return X=X.boundaryPrefix+K.toString(16),F=F.id=X,Be(S,p.responseState,F),ti(p,S,A),S.push("<!--/$-->")}if(F.byteSize>p.progressiveChunkSize)return F.rootSegmentID=p.nextSegmentId++,p.completedBoundaries.push(F),Be(S,p.responseState,F.id),ti(p,S,A),S.push("<!--/$-->");if(p.responseState.generateStaticMarkup||S.push("<!--$-->"),A=F.completedSegments,A.length!==1)throw Error(e(391));return mi(p,S,A[0]),p=p.responseState.generateStaticMarkup?!0:S.push("<!--/$-->"),p}function aa(p,S,A){return Ye(S,p.responseState,A.formatContext,A.id),mi(p,S,A),He(S,A.formatContext)}function oa(p,S,A){for(var F=A.completedSegments,X=0;X<F.length;X++)Bi(p,S,A,F[X]);if(F.length=0,p=p.responseState,F=A.id,A=A.rootSegmentID,S.push(p.startInlineScript),p.sentCompleteBoundaryFunction?S.push('$RC("'):(p.sentCompleteBoundaryFunction=!0,S.push('function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}};$RC("')),F===null)throw Error(e(395));return A=A.toString(16),S.push(F),S.push('","'),S.push(p.segmentPrefix),S.push(A),S.push('")<\/script>')}function Bi(p,S,A,F){if(F.status===2)return!0;var X=F.id;if(X===-1){if((F.id=A.rootSegmentID)===-1)throw Error(e(392));return aa(p,S,F)}return aa(p,S,F),p=p.responseState,S.push(p.startInlineScript),p.sentCompleteSegmentFunction?S.push('$RS("'):(p.sentCompleteSegmentFunction=!0,S.push('function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("')),S.push(p.segmentPrefix),X=X.toString(16),S.push(X),S.push('","'),S.push(p.placeholderPrefix),S.push(X),S.push('")<\/script>')}function Lr(p,S){try{var A=p.completedRootSegment;if(A!==null&&p.pendingRootTasks===0){mi(p,S,A),p.completedRootSegment=null;var F=p.responseState.bootstrapChunks;for(A=0;A<F.length-1;A++)S.push(F[A]);A<F.length&&S.push(F[A])}var X=p.clientRenderedBoundaries,K;for(K=0;K<X.length;K++){var ie=X[K];F=S;var be=p.responseState,We=ie.id,Qe=ie.errorDigest,Je=ie.errorMessage,Ft=ie.errorComponentStack;if(F.push(be.startInlineScript),be.sentClientRenderFunction?F.push('$RX("'):(be.sentClientRenderFunction=!0,F.push('function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())};$RX("')),We===null)throw Error(e(395));if(F.push(We),F.push('"'),Qe||Je||Ft){F.push(",");var ar=ze(Qe||"");F.push(ar)}if(Je||Ft){F.push(",");var Fn=ze(Je||"");F.push(Fn)}if(Ft){F.push(",");var Pn=ze(Ft);F.push(Pn)}if(!F.push(")<\/script>")){p.destination=null,K++,X.splice(0,K);return}}X.splice(0,K);var Br=p.completedBoundaries;for(K=0;K<Br.length;K++)if(!oa(p,S,Br[K])){p.destination=null,K++,Br.splice(0,K);return}Br.splice(0,K);var mr=p.partialBoundaries;for(K=0;K<mr.length;K++){var sa=mr[K];e:{X=p,ie=S;var vi=sa.completedSegments;for(be=0;be<vi.length;be++)if(!Bi(X,ie,sa,vi[be])){be++,vi.splice(0,be);var ji=!1;break e}vi.splice(0,be),ji=!0}if(!ji){p.destination=null,K++,mr.splice(0,K);return}}mr.splice(0,K);var Nr=p.completedBoundaries;for(K=0;K<Nr.length;K++)if(!oa(p,S,Nr[K])){p.destination=null,K++,Nr.splice(0,K);return}Nr.splice(0,K)}finally{p.allPendingTasks===0&&p.pingedTasks.length===0&&p.clientRenderedBoundaries.length===0&&p.completedBoundaries.length===0&&S.push(null)}}function Da(p,S){try{var A=p.abortableTasks;A.forEach(function(F){return Li(F,p,S)}),A.clear(),p.destination!==null&&Lr(p,p.destination)}catch(F){jt(p,F),zt(p,F)}}function Ni(){}function ni(p,S,A,F){var X=!1,K=null,ie="",be={push:function(Qe){return Qe!==null&&(ie+=Qe),!0},destroy:function(Qe){X=!0,K=Qe}},We=!1;if(p=wt(p,pt(A,S?S.identifierPrefix:void 0),{insertionMode:1,selectedValue:null},1/0,Ni,void 0,function(){We=!0},void 0,void 0),Jn(p),Da(p,F),p.status===1)p.status=2,be.destroy(p.fatalError);else if(p.status!==2&&p.destination===null){p.destination=be;try{Lr(p,be)}catch(Qe){jt(p,Qe),zt(p,Qe)}}if(X)throw K;if(!We)throw Error(e(426));return ie}return Al.renderToNodeStream=function(){throw Error(e(207))},Al.renderToStaticMarkup=function(p,S){return ni(p,S,!0,'The server used "renderToStaticMarkup" which does not support Suspense. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')},Al.renderToStaticNodeStream=function(){throw Error(e(208))},Al.renderToString=function(p,S){return ni(p,S,!1,'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')},Al.version="18.2.0",Al}var yd={};/**
|
|
83
|
+
`),K;case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":p.push(ye(S));for(var Fn in A)if(n.call(A,Fn)&&(K=A[Fn],K!=null))switch(Fn){case"children":case"dangerouslySetInnerHTML":throw Error(e(399,S));default:Ie(p,F,Fn,K)}return p.push("/>"),null;case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return dt(p,A,S,F);case"html":return X.insertionMode===0&&p.push("<!DOCTYPE html>"),dt(p,A,S,F);default:if(S.indexOf("-")===-1&&typeof A.is!="string")return dt(p,A,S,F);p.push(ye(S)),ie=K=null;for(Qe in A)if(n.call(A,Qe)&&(be=A[Qe],be!=null))switch(Qe){case"children":K=be;break;case"dangerouslySetInnerHTML":ie=be;break;case"style":re(p,F,be);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:v(Qe)&&typeof be!="function"&&typeof be!="symbol"&&p.push(" ",Qe,'="',ae(be),'"')}return p.push(">"),Te(p,ie,K),K}}function Be(p,S,A){if(p.push('<!--$?--><template id="'),A===null)throw Error(e(395));return p.push(A),p.push('"></template>')}function Ye(p,S,A,F){switch(A.insertionMode){case 0:case 1:return p.push('<div hidden id="'),p.push(S.segmentPrefix),S=F.toString(16),p.push(S),p.push('">');case 2:return p.push('<svg aria-hidden="true" style="display:none" id="'),p.push(S.segmentPrefix),S=F.toString(16),p.push(S),p.push('">');case 3:return p.push('<math aria-hidden="true" style="display:none" id="'),p.push(S.segmentPrefix),S=F.toString(16),p.push(S),p.push('">');case 4:return p.push('<table hidden id="'),p.push(S.segmentPrefix),S=F.toString(16),p.push(S),p.push('">');case 5:return p.push('<table hidden><tbody id="'),p.push(S.segmentPrefix),S=F.toString(16),p.push(S),p.push('">');case 6:return p.push('<table hidden><tr id="'),p.push(S.segmentPrefix),S=F.toString(16),p.push(S),p.push('">');case 7:return p.push('<table hidden><colgroup id="'),p.push(S.segmentPrefix),S=F.toString(16),p.push(S),p.push('">');default:throw Error(e(397))}}function He(p,S){switch(S.insertionMode){case 0:case 1:return p.push("</div>");case 2:return p.push("</svg>");case 3:return p.push("</math>");case 4:return p.push("</table>");case 5:return p.push("</tbody></table>");case 6:return p.push("</tr></table>");case 7:return p.push("</colgroup></table>");default:throw Error(e(397))}}var je=/[<\u2028\u2029]/g;function ze(p){return JSON.stringify(p).replace(je,function(S){switch(S){case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}function pt(p,S){return S=S===void 0?"":S,{bootstrapChunks:[],startInlineScript:"<script>",placeholderPrefix:S+"P:",segmentPrefix:S+"S:",boundaryPrefix:S+"B:",idPrefix:S,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1,generateStaticMarkup:p}}function oe(p,S,A,F){return A.generateStaticMarkup?(p.push(ae(S)),!1):(S===""?p=F:(F&&p.push("<!-- -->"),p.push(ae(S)),p=!0),p)}var ue=Object.assign,Ae=Symbol.for("react.element"),Ze=Symbol.for("react.portal"),Fe=Symbol.for("react.fragment"),Me=Symbol.for("react.strict_mode"),Oe=Symbol.for("react.profiler"),qe=Symbol.for("react.provider"),et=Symbol.for("react.context"),Ke=Symbol.for("react.forward_ref"),nt=Symbol.for("react.suspense"),_t=Symbol.for("react.suspense_list"),ke=Symbol.for("react.memo"),It=Symbol.for("react.lazy"),mt=Symbol.for("react.scope"),fn=Symbol.for("react.debug_trace_mode"),jn=Symbol.for("react.legacy_hidden"),Sn=Symbol.for("react.default_value"),zn=Symbol.iterator;function dr(p){if(p==null)return null;if(typeof p=="function")return p.displayName||p.name||null;if(typeof p=="string")return p;switch(p){case Fe:return"Fragment";case Ze:return"Portal";case Oe:return"Profiler";case Me:return"StrictMode";case nt:return"Suspense";case _t:return"SuspenseList"}if(typeof p=="object")switch(p.$$typeof){case et:return(p.displayName||"Context")+".Consumer";case qe:return(p._context.displayName||"Context")+".Provider";case Ke:var S=p.render;return p=p.displayName,p||(p=S.displayName||S.name||"",p=p!==""?"ForwardRef("+p+")":"ForwardRef"),p;case ke:return S=p.displayName||null,S!==null?S:dr(p.type)||"Memo";case It:S=p._payload,p=p._init;try{return dr(p(S))}catch{}}return null}var nr={};function On(p,S){if(p=p.contextTypes,!p)return nr;var A={},F;for(F in p)A[F]=S[F];return A}var yn=null;function pn(p,S){if(p!==S){p.context._currentValue2=p.parentValue,p=p.parent;var A=S.parent;if(p===null){if(A!==null)throw Error(e(401))}else{if(A===null)throw Error(e(401));pn(p,A)}S.context._currentValue2=S.value}}function hn(p){p.context._currentValue2=p.parentValue,p=p.parent,p!==null&&hn(p)}function fr(p){var S=p.parent;S!==null&&fr(S),p.context._currentValue2=p.value}function gi(p,S){if(p.context._currentValue2=p.parentValue,p=p.parent,p===null)throw Error(e(402));p.depth===S.depth?pn(p,S):gi(p,S)}function Un(p,S){var A=S.parent;if(A===null)throw Error(e(402));p.depth===A.depth?pn(p,A):Un(p,A),S.context._currentValue2=S.value}function Zt(p){var S=yn;S!==p&&(S===null?fr(p):p===null?hn(S):S.depth===p.depth?pn(S,p):S.depth>p.depth?gi(S,p):Un(S,p),yn=p)}var Ar={isMounted:function(){return!1},enqueueSetState:function(p,S){p=p._reactInternals,p.queue!==null&&p.queue.push(S)},enqueueReplaceState:function(p,S){p=p._reactInternals,p.replace=!0,p.queue=[S]},enqueueForceUpdate:function(){}};function Zr(p,S,A,F){var X=p.state!==void 0?p.state:null;p.updater=Ar,p.props=A,p.state=X;var K={queue:[],replace:!1};p._reactInternals=K;var ie=S.contextType;if(p.context=typeof ie=="object"&&ie!==null?ie._currentValue2:F,ie=S.getDerivedStateFromProps,typeof ie=="function"&&(ie=ie(A,X),X=ie==null?X:ue({},X,ie),p.state=X),typeof S.getDerivedStateFromProps!="function"&&typeof p.getSnapshotBeforeUpdate!="function"&&(typeof p.UNSAFE_componentWillMount=="function"||typeof p.componentWillMount=="function"))if(S=p.state,typeof p.componentWillMount=="function"&&p.componentWillMount(),typeof p.UNSAFE_componentWillMount=="function"&&p.UNSAFE_componentWillMount(),S!==p.state&&Ar.enqueueReplaceState(p,p.state,null),K.queue!==null&&0<K.queue.length)if(S=K.queue,ie=K.replace,K.queue=null,K.replace=!1,ie&&S.length===1)p.state=S[0];else{for(K=ie?S[0]:p.state,X=!0,ie=ie?1:0;ie<S.length;ie++){var be=S[ie];be=typeof be=="function"?be.call(p,K,A,F):be,be!=null&&(X?(X=!1,K=ue({},K,be)):ue(K,be))}p.state=K}else K.queue=null}var Or={id:1,overflow:""};function Yr(p,S,A){var F=p.id;p=p.overflow;var X=32-Mr(F)-1;F&=~(1<<X),A+=1;var K=32-Mr(S)+X;if(30<K){var ie=X-X%5;return K=(F&(1<<ie)-1).toString(32),F>>=ie,X-=ie,{id:1<<32-Mr(S)+X|A<<X|F,overflow:K+p}}return{id:1<<K|A<<X|F,overflow:p}}var Mr=Math.clz32?Math.clz32:pr,Mi=Math.log,Kr=Math.LN2;function pr(p){return p>>>=0,p===0?32:31-(Mi(p)/Kr|0)|0}function Jr(p,S){return p===S&&(p!==0||1/p===1/S)||p!==p&&S!==S}var ia=typeof Object.is=="function"?Object.is:Jr,_n=null,rr=null,Mn=null,At=null,hr=!1,Qr=!1,Xr=0,ir=null,qr=0;function gr(){if(_n===null)throw Error(e(321));return _n}function nn(){if(0<qr)throw Error(e(312));return{memoizedState:null,queue:null,next:null}}function Fi(){return At===null?Mn===null?(hr=!1,Mn=At=nn()):(hr=!0,At=Mn):At.next===null?(hr=!1,At=At.next=nn()):(hr=!0,At=At.next),At}function ei(){rr=_n=null,Qr=!1,Mn=null,qr=0,At=ir=null}function Pi(p,S){return typeof S=="function"?S(p):S}function rn(p,S,A){if(_n=gr(),At=Fi(),hr){var F=At.queue;if(S=F.dispatch,ir!==null&&(A=ir.get(F),A!==void 0)){ir.delete(F),F=At.memoizedState;do F=p(F,A.action),A=A.next;while(A!==null);return At.memoizedState=F,[F,S]}return[At.memoizedState,S]}return p=p===Pi?typeof S=="function"?S():S:A!==void 0?A(S):S,At.memoizedState=p,p=At.queue={last:null,dispatch:null},p=p.dispatch=Fa.bind(null,_n,p),[At.memoizedState,p]}function Di(p,S){if(_n=gr(),At=Fi(),S=S===void 0?null:S,At!==null){var A=At.memoizedState;if(A!==null&&S!==null){var F=A[1];e:if(F===null)F=!1;else{for(var X=0;X<F.length&&X<S.length;X++)if(!ia(S[X],F[X])){F=!1;break e}F=!0}if(F)return A[0]}}return p=p(),At.memoizedState=[p,S],p}function Fa(p,S,A){if(25<=qr)throw Error(e(301));if(p===_n)if(Qr=!0,p={action:A,next:null},ir===null&&(ir=new Map),A=ir.get(S),A===void 0)ir.set(S,p);else{for(S=A;S.next!==null;)S=S.next;S.next=p}}function Pa(){throw Error(e(394))}function z(){}var he={readContext:function(p){return p._currentValue2},useContext:function(p){return gr(),p._currentValue2},useMemo:Di,useReducer:rn,useRef:function(p){_n=gr(),At=Fi();var S=At.memoizedState;return S===null?(p={current:p},At.memoizedState=p):S},useState:function(p){return rn(Pi,p)},useInsertionEffect:z,useLayoutEffect:function(){},useCallback:function(p,S){return Di(function(){return p},S)},useImperativeHandle:z,useEffect:z,useDebugValue:z,useDeferredValue:function(p){return gr(),p},useTransition:function(){return gr(),[!1,Pa]},useId:function(){var p=rr.treeContext,S=p.overflow;p=p.id,p=(p&~(1<<32-Mr(p)-1)).toString(32)+S;var A=Ce;if(A===null)throw Error(e(404));return S=Xr++,p=":"+A.idPrefix+"R"+p,0<S&&(p+="H"+S.toString(32)),p+":"},useMutableSource:function(p,S){return gr(),S(p._source)},useSyncExternalStore:function(p,S,A){if(A===void 0)throw Error(e(407));return A()}},Ce=null,tt=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;function vt(p){return console.error(p),null}function kt(){}function wt(p,S,A,F,X,K,ie,be,We){var Qe=[],Je=new Set;return S={destination:null,responseState:S,progressiveChunkSize:F===void 0?12800:F,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:Je,pingedTasks:Qe,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:X===void 0?vt:X,onAllReady:K===void 0?kt:K,onShellReady:ie===void 0?kt:ie,onShellError:be===void 0?kt:be,onFatalError:We===void 0?kt:We},A=ln(S,0,null,A,!1,!1),A.parentFlushed=!0,p=ft(S,p,null,A,Je,nr,null,Or),Qe.push(p),S}function ft(p,S,A,F,X,K,ie,be){p.allPendingTasks++,A===null?p.pendingRootTasks++:A.pendingTasks++;var We={node:S,ping:function(){var Qe=p.pingedTasks;Qe.push(We),Qe.length===1&&Jn(p)},blockedBoundary:A,blockedSegment:F,abortSet:X,legacyContext:K,context:ie,treeContext:be};return X.add(We),We}function ln(p,S,A,F,X,K){return{status:0,id:-1,index:S,parentFlushed:!1,chunks:[],children:[],formatContext:F,boundary:A,lastPushedText:X,textEmbedded:K}}function zt(p,S){if(p=p.onError(S),p!=null&&typeof p!="string")throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof p+'" instead');return p}function Ut(p,S){var A=p.onShellError;A(S),A=p.onFatalError,A(S),p.destination!==null?(p.status=2,p.destination.destroy(S)):(p.status=1,p.fatalError=S)}function on(p,S,A,F,X){for(_n={},rr=S,Xr=0,p=A(F,X);Qr;)Qr=!1,Xr=0,qr+=1,At=null,p=A(F,X);return ei(),p}function In(p,S,A,F){var X=A.render(),K=F.childContextTypes;if(K!=null){var ie=S.legacyContext;if(typeof A.getChildContext!="function")F=ie;else{A=A.getChildContext();for(var be in A)if(!(be in K))throw Error(e(108,dr(F)||"Unknown",be));F=ue({},ie,A)}S.legacyContext=F,un(p,S,X),S.legacyContext=ie}else un(p,S,X)}function Fr(p,S){if(p&&p.defaultProps){S=ue({},S),p=p.defaultProps;for(var A in p)S[A]===void 0&&(S[A]=p[A]);return S}return S}function Xt(p,S,A,F,X){if(typeof A=="function")if(A.prototype&&A.prototype.isReactComponent){X=On(A,S.legacyContext);var K=A.contextType;K=new A(F,typeof K=="object"&&K!==null?K._currentValue2:X),Zr(K,A,F,X),In(p,S,K,A)}else{K=On(A,S.legacyContext),X=on(p,S,A,F,K);var ie=Xr!==0;if(typeof X=="object"&&X!==null&&typeof X.render=="function"&&X.$$typeof===void 0)Zr(X,A,F,K),In(p,S,X,A);else if(ie){F=S.treeContext,S.treeContext=Yr(F,1,0);try{un(p,S,X)}finally{S.treeContext=F}}else un(p,S,X)}else if(typeof A=="string"){switch(X=S.blockedSegment,K=Re(X.chunks,A,F,p.responseState,X.formatContext),X.lastPushedText=!1,ie=X.formatContext,X.formatContext=Se(ie,A,F),Sr(p,S,K),X.formatContext=ie,A){case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break;default:X.chunks.push("</",A,">")}X.lastPushedText=!1}else{switch(A){case jn:case fn:case Me:case Oe:case Fe:un(p,S,F.children);return;case _t:un(p,S,F.children);return;case mt:throw Error(e(343));case nt:e:{A=S.blockedBoundary,X=S.blockedSegment,K=F.fallback,F=F.children,ie=new Set;var be={id:null,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:ie,errorDigest:null},We=ln(p,X.chunks.length,be,X.formatContext,!1,!1);X.children.push(We),X.lastPushedText=!1;var Qe=ln(p,0,null,X.formatContext,!1,!1);Qe.parentFlushed=!0,S.blockedBoundary=be,S.blockedSegment=Qe;try{if(Sr(p,S,F),p.responseState.generateStaticMarkup||Qe.lastPushedText&&Qe.textEmbedded&&Qe.chunks.push("<!-- -->"),Qe.status=1,_r(be,Qe),be.pendingTasks===0)break e}catch(Je){Qe.status=4,be.forceClientRender=!0,be.errorDigest=zt(p,Je)}finally{S.blockedBoundary=A,S.blockedSegment=X}S=ft(p,K,A,We,ie,S.legacyContext,S.context,S.treeContext),p.pingedTasks.push(S)}return}if(typeof A=="object"&&A!==null)switch(A.$$typeof){case Ke:if(F=on(p,S,A.render,F,X),Xr!==0){A=S.treeContext,S.treeContext=Yr(A,1,0);try{un(p,S,F)}finally{S.treeContext=A}}else un(p,S,F);return;case ke:A=A.type,F=Fr(A,F),Xt(p,S,A,F,X);return;case qe:if(X=F.children,A=A._context,F=F.value,K=A._currentValue2,A._currentValue2=F,ie=yn,yn=F={parent:ie,depth:ie===null?0:ie.depth+1,context:A,parentValue:K,value:F},S.context=F,un(p,S,X),p=yn,p===null)throw Error(e(403));F=p.parentValue,p.context._currentValue2=F===Sn?p.context._defaultValue:F,p=yn=p.parent,S.context=p;return;case et:F=F.children,F=F(A._currentValue2),un(p,S,F);return;case It:X=A._init,A=X(A._payload),F=Fr(A,F),Xt(p,S,A,F,void 0);return}throw Error(e(130,A==null?A:typeof A,""))}}function un(p,S,A){if(S.node=A,typeof A=="object"&&A!==null){switch(A.$$typeof){case Ae:Xt(p,S,A.type,A.props,A.ref);return;case Ze:throw Error(e(257));case It:var F=A._init;A=F(A._payload),un(p,S,A);return}if(G(A)){Pr(p,S,A);return}if(A===null||typeof A!="object"?F=null:(F=zn&&A[zn]||A["@@iterator"],F=typeof F=="function"?F:null),F&&(F=F.call(A))){if(A=F.next(),!A.done){var X=[];do X.push(A.value),A=F.next();while(!A.done);Pr(p,S,X)}return}throw p=Object.prototype.toString.call(A),Error(e(31,p==="[object Object]"?"object with keys {"+Object.keys(A).join(", ")+"}":p))}typeof A=="string"?(F=S.blockedSegment,F.lastPushedText=oe(S.blockedSegment.chunks,A,p.responseState,F.lastPushedText)):typeof A=="number"&&(F=S.blockedSegment,F.lastPushedText=oe(S.blockedSegment.chunks,""+A,p.responseState,F.lastPushedText))}function Pr(p,S,A){for(var F=A.length,X=0;X<F;X++){var K=S.treeContext;S.treeContext=Yr(K,F,X);try{Sr(p,S,A[X])}finally{S.treeContext=K}}}function Sr(p,S,A){var F=S.blockedSegment.formatContext,X=S.legacyContext,K=S.context;try{return un(p,S,A)}catch(We){if(ei(),typeof We=="object"&&We!==null&&typeof We.then=="function"){A=We;var ie=S.blockedSegment,be=ln(p,ie.chunks.length,null,ie.formatContext,ie.lastPushedText,!0);ie.children.push(be),ie.lastPushedText=!1,p=ft(p,S.node,S.blockedBoundary,be,S.abortSet,S.legacyContext,S.context,S.treeContext).ping,A.then(p,p),S.blockedSegment.formatContext=F,S.legacyContext=X,S.context=K,Zt(K)}else throw S.blockedSegment.formatContext=F,S.legacyContext=X,S.context=K,Zt(K),We}}function kn(p){var S=p.blockedBoundary;p=p.blockedSegment,p.status=3,Dr(this,S,p)}function Li(p,S,A){var F=p.blockedBoundary;p.blockedSegment.status=3,F===null?(S.allPendingTasks--,S.status!==2&&(S.status=2,S.destination!==null&&S.destination.push(null))):(F.pendingTasks--,F.forceClientRender||(F.forceClientRender=!0,p=A===void 0?Error(e(432)):A,F.errorDigest=S.onError(p),F.parentFlushed&&S.clientRenderedBoundaries.push(F)),F.fallbackAbortableTasks.forEach(function(X){return Li(X,S,A)}),F.fallbackAbortableTasks.clear(),S.allPendingTasks--,S.allPendingTasks===0&&(F=S.onAllReady,F()))}function _r(p,S){if(S.chunks.length===0&&S.children.length===1&&S.children[0].boundary===null){var A=S.children[0];A.id=S.id,A.parentFlushed=!0,A.status===1&&_r(p,A)}else p.completedSegments.push(S)}function Dr(p,S,A){if(S===null){if(A.parentFlushed){if(p.completedRootSegment!==null)throw Error(e(389));p.completedRootSegment=A}p.pendingRootTasks--,p.pendingRootTasks===0&&(p.onShellError=kt,S=p.onShellReady,S())}else S.pendingTasks--,S.forceClientRender||(S.pendingTasks===0?(A.parentFlushed&&A.status===1&&_r(S,A),S.parentFlushed&&p.completedBoundaries.push(S),S.fallbackAbortableTasks.forEach(kn,p),S.fallbackAbortableTasks.clear()):A.parentFlushed&&A.status===1&&(_r(S,A),S.completedSegments.length===1&&S.parentFlushed&&p.partialBoundaries.push(S)));p.allPendingTasks--,p.allPendingTasks===0&&(p=p.onAllReady,p())}function Jn(p){if(p.status!==2){var S=yn,A=tt.current;tt.current=he;var F=Ce;Ce=p.responseState;try{var X=p.pingedTasks,K;for(K=0;K<X.length;K++){var ie=X[K],be=p,We=ie.blockedSegment;if(We.status===0){Zt(ie.context);try{un(be,ie,ie.node),be.responseState.generateStaticMarkup||We.lastPushedText&&We.textEmbedded&&We.chunks.push("<!-- -->"),ie.abortSet.delete(ie),We.status=1,Dr(be,ie.blockedBoundary,We)}catch(Pn){if(ei(),typeof Pn=="object"&&Pn!==null&&typeof Pn.then=="function"){var Qe=ie.ping;Pn.then(Qe,Qe)}else{ie.abortSet.delete(ie),We.status=4;var Je=ie.blockedBoundary,Ft=Pn,ar=zt(be,Ft);if(Je===null?Ut(be,Ft):(Je.pendingTasks--,Je.forceClientRender||(Je.forceClientRender=!0,Je.errorDigest=ar,Je.parentFlushed&&be.clientRenderedBoundaries.push(Je))),be.allPendingTasks--,be.allPendingTasks===0){var Fn=be.onAllReady;Fn()}}}finally{}}}X.splice(0,K),p.destination!==null&&Lr(p,p.destination)}catch(Pn){zt(p,Pn),Ut(p,Pn)}finally{Ce=F,tt.current=A,A===he&&Zt(S)}}}function ti(p,S,A){switch(A.parentFlushed=!0,A.status){case 0:var F=A.id=p.nextSegmentId++;return A.lastPushedText=!1,A.textEmbedded=!1,p=p.responseState,S.push('<template id="'),S.push(p.placeholderPrefix),p=F.toString(16),S.push(p),S.push('"></template>');case 1:A.status=2;var X=!0;F=A.chunks;var K=0;A=A.children;for(var ie=0;ie<A.length;ie++){for(X=A[ie];K<X.index;K++)S.push(F[K]);X=mi(p,S,X)}for(;K<F.length-1;K++)S.push(F[K]);return K<F.length&&(X=S.push(F[K])),X;default:throw Error(e(390))}}function mi(p,S,A){var F=A.boundary;if(F===null)return ti(p,S,A);if(F.parentFlushed=!0,F.forceClientRender)return p.responseState.generateStaticMarkup||(F=F.errorDigest,S.push("<!--$!-->"),S.push("<template"),F&&(S.push(' data-dgst="'),F=ae(F),S.push(F),S.push('"')),S.push("></template>")),ti(p,S,A),p=p.responseState.generateStaticMarkup?!0:S.push("<!--/$-->"),p;if(0<F.pendingTasks){F.rootSegmentID=p.nextSegmentId++,0<F.completedSegments.length&&p.partialBoundaries.push(F);var X=p.responseState,K=X.nextSuspenseID++;return X=X.boundaryPrefix+K.toString(16),F=F.id=X,Be(S,p.responseState,F),ti(p,S,A),S.push("<!--/$-->")}if(F.byteSize>p.progressiveChunkSize)return F.rootSegmentID=p.nextSegmentId++,p.completedBoundaries.push(F),Be(S,p.responseState,F.id),ti(p,S,A),S.push("<!--/$-->");if(p.responseState.generateStaticMarkup||S.push("<!--$-->"),A=F.completedSegments,A.length!==1)throw Error(e(391));return mi(p,S,A[0]),p=p.responseState.generateStaticMarkup?!0:S.push("<!--/$-->"),p}function aa(p,S,A){return Ye(S,p.responseState,A.formatContext,A.id),mi(p,S,A),He(S,A.formatContext)}function oa(p,S,A){for(var F=A.completedSegments,X=0;X<F.length;X++)Bi(p,S,A,F[X]);if(F.length=0,p=p.responseState,F=A.id,A=A.rootSegmentID,S.push(p.startInlineScript),p.sentCompleteBoundaryFunction?S.push('$RC("'):(p.sentCompleteBoundaryFunction=!0,S.push('function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}};$RC("')),F===null)throw Error(e(395));return A=A.toString(16),S.push(F),S.push('","'),S.push(p.segmentPrefix),S.push(A),S.push('")<\/script>')}function Bi(p,S,A,F){if(F.status===2)return!0;var X=F.id;if(X===-1){if((F.id=A.rootSegmentID)===-1)throw Error(e(392));return aa(p,S,F)}return aa(p,S,F),p=p.responseState,S.push(p.startInlineScript),p.sentCompleteSegmentFunction?S.push('$RS("'):(p.sentCompleteSegmentFunction=!0,S.push('function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("')),S.push(p.segmentPrefix),X=X.toString(16),S.push(X),S.push('","'),S.push(p.placeholderPrefix),S.push(X),S.push('")<\/script>')}function Lr(p,S){try{var A=p.completedRootSegment;if(A!==null&&p.pendingRootTasks===0){mi(p,S,A),p.completedRootSegment=null;var F=p.responseState.bootstrapChunks;for(A=0;A<F.length-1;A++)S.push(F[A]);A<F.length&&S.push(F[A])}var X=p.clientRenderedBoundaries,K;for(K=0;K<X.length;K++){var ie=X[K];F=S;var be=p.responseState,We=ie.id,Qe=ie.errorDigest,Je=ie.errorMessage,Ft=ie.errorComponentStack;if(F.push(be.startInlineScript),be.sentClientRenderFunction?F.push('$RX("'):(be.sentClientRenderFunction=!0,F.push('function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())};$RX("')),We===null)throw Error(e(395));if(F.push(We),F.push('"'),Qe||Je||Ft){F.push(",");var ar=ze(Qe||"");F.push(ar)}if(Je||Ft){F.push(",");var Fn=ze(Je||"");F.push(Fn)}if(Ft){F.push(",");var Pn=ze(Ft);F.push(Pn)}if(!F.push(")<\/script>")){p.destination=null,K++,X.splice(0,K);return}}X.splice(0,K);var Br=p.completedBoundaries;for(K=0;K<Br.length;K++)if(!oa(p,S,Br[K])){p.destination=null,K++,Br.splice(0,K);return}Br.splice(0,K);var mr=p.partialBoundaries;for(K=0;K<mr.length;K++){var sa=mr[K];e:{X=p,ie=S;var vi=sa.completedSegments;for(be=0;be<vi.length;be++)if(!Bi(X,ie,sa,vi[be])){be++,vi.splice(0,be);var ji=!1;break e}vi.splice(0,be),ji=!0}if(!ji){p.destination=null,K++,mr.splice(0,K);return}}mr.splice(0,K);var Nr=p.completedBoundaries;for(K=0;K<Nr.length;K++)if(!oa(p,S,Nr[K])){p.destination=null,K++,Nr.splice(0,K);return}Nr.splice(0,K)}finally{p.allPendingTasks===0&&p.pingedTasks.length===0&&p.clientRenderedBoundaries.length===0&&p.completedBoundaries.length===0&&S.push(null)}}function Da(p,S){try{var A=p.abortableTasks;A.forEach(function(F){return Li(F,p,S)}),A.clear(),p.destination!==null&&Lr(p,p.destination)}catch(F){zt(p,F),Ut(p,F)}}function Ni(){}function ni(p,S,A,F){var X=!1,K=null,ie="",be={push:function(Qe){return Qe!==null&&(ie+=Qe),!0},destroy:function(Qe){X=!0,K=Qe}},We=!1;if(p=wt(p,pt(A,S?S.identifierPrefix:void 0),{insertionMode:1,selectedValue:null},1/0,Ni,void 0,function(){We=!0},void 0,void 0),Jn(p),Da(p,F),p.status===1)p.status=2,be.destroy(p.fatalError);else if(p.status!==2&&p.destination===null){p.destination=be;try{Lr(p,be)}catch(Qe){zt(p,Qe),Ut(p,Qe)}}if(X)throw K;if(!We)throw Error(e(426));return ie}return Al.renderToNodeStream=function(){throw Error(e(207))},Al.renderToStaticMarkup=function(p,S){return ni(p,S,!0,'The server used "renderToStaticMarkup" which does not support Suspense. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')},Al.renderToStaticNodeStream=function(){throw Error(e(208))},Al.renderToString=function(p,S){return ni(p,S,!1,'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')},Al.version="18.2.0",Al}var yd={};/**
|
|
84
84
|
* @license React
|
|
85
85
|
* react-dom-server.browser.production.min.js
|
|
86
86
|
*
|
|
@@ -88,11 +88,11 @@ Check the top-level render call using <`+Ce+">.")}return he}}function gr(z,he){{
|
|
|
88
88
|
*
|
|
89
89
|
* This source code is licensed under the MIT license found in the
|
|
90
90
|
* LICENSE file in the root directory of this source tree.
|
|
91
|
-
*/var
|
|
91
|
+
*/var bh;function _y(){if(bh)return yd;bh=1;var r=De;function e(h){for(var x="https://reactjs.org/docs/error-decoder.html?invariant="+h,R=1;R<arguments.length;R++)x+="&args[]="+encodeURIComponent(arguments[R]);return"Minified React error #"+h+"; visit "+x+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var n=null,a=0;function o(h,x){if(x.length!==0)if(512<x.length)0<a&&(h.enqueue(new Uint8Array(n.buffer,0,a)),n=new Uint8Array(512),a=0),h.enqueue(x);else{var R=n.length-a;R<x.length&&(R===0?h.enqueue(n):(n.set(x.subarray(0,R),a),h.enqueue(n),x=x.subarray(R)),n=new Uint8Array(512),a=0),n.set(x,a),a+=x.length}}function d(h,x){return o(h,x),!0}function v(h){n&&0<a&&(h.enqueue(new Uint8Array(n.buffer,0,a)),n=null,a=0)}var _=new TextEncoder;function w(h){return _.encode(h)}function C(h){return _.encode(h)}function N(h,x){typeof h.error=="function"?h.error(x):h.close()}var L=Object.prototype.hasOwnProperty,W=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,ge={},ae={};function we(h){return L.call(ae,h)?!0:L.call(ge,h)?!1:W.test(h)?ae[h]=!0:(ge[h]=!0,!1)}function Z(h,x,R,P,q,Q,le){this.acceptsBooleans=x===2||x===3||x===4,this.attributeName=P,this.attributeNamespace=q,this.mustUseProperty=R,this.propertyName=h,this.type=x,this.sanitizeURL=Q,this.removeEmptyString=le}var G={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(h){G[h]=new Z(h,0,!1,h,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(h){var x=h[0];G[x]=new Z(x,1,!1,h[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(h){G[h]=new Z(h,2,!1,h.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(h){G[h]=new Z(h,2,!1,h,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(h){G[h]=new Z(h,3,!1,h.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(h){G[h]=new Z(h,3,!0,h,null,!1,!1)}),["capture","download"].forEach(function(h){G[h]=new Z(h,4,!1,h,null,!1,!1)}),["cols","rows","size","span"].forEach(function(h){G[h]=new Z(h,6,!1,h,null,!1,!1)}),["rowSpan","start"].forEach(function(h){G[h]=new Z(h,5,!1,h.toLowerCase(),null,!1,!1)});var pe=/[\-:]([a-z])/g;function Se(h){return h[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(h){var x=h.replace(pe,Se);G[x]=new Z(x,1,!1,h,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(h){var x=h.replace(pe,Se);G[x]=new Z(x,1,!1,h,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(h){var x=h.replace(pe,Se);G[x]=new Z(x,1,!1,h,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(h){G[h]=new Z(h,1,!1,h.toLowerCase(),null,!1,!1)}),G.xlinkHref=new Z("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(h){G[h]=new Z(h,1,!1,h.toLowerCase(),null,!0,!0)});var _e={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},re=["Webkit","ms","Moz","O"];Object.keys(_e).forEach(function(h){re.forEach(function(x){x=x+h.charAt(0).toUpperCase()+h.substring(1),_e[x]=_e[h]})});var Ie=/["'&<>]/;function Te(h){if(typeof h=="boolean"||typeof h=="number")return""+h;h=""+h;var x=Ie.exec(h);if(x){var R="",P,q=0;for(P=x.index;P<h.length;P++){switch(h.charCodeAt(P)){case 34:x=""";break;case 38:x="&";break;case 39:x="'";break;case 60:x="<";break;case 62:x=">";break;default:continue}q!==P&&(R+=h.substring(q,P)),q=P+1,R+=x}h=q!==P?R+h.substring(q,P):R}return h}var Dt=/([A-Z])/g,dt=/^ms-/,Mt=Array.isArray,ve=C("<script>"),ye=C("<\/script>"),Re=C('<script src="'),Be=C('<script type="module" src="'),Ye=C('" async=""><\/script>'),He=/(<\/|<)(s)(cript)/gi;function je(h,x,R,P){return""+x+(R==="s"?"\\u0073":"\\u0053")+P}function ze(h,x,R,P,q){h=h===void 0?"":h,x=x===void 0?ve:C('<script nonce="'+Te(x)+'">');var Q=[];if(R!==void 0&&Q.push(x,w((""+R).replace(He,je)),ye),P!==void 0)for(R=0;R<P.length;R++)Q.push(Re,w(Te(P[R])),Ye);if(q!==void 0)for(P=0;P<q.length;P++)Q.push(Be,w(Te(q[P])),Ye);return{bootstrapChunks:Q,startInlineScript:x,placeholderPrefix:C(h+"P:"),segmentPrefix:C(h+"S:"),boundaryPrefix:h+"B:",idPrefix:h,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1}}function pt(h,x){return{insertionMode:h,selectedValue:x}}function oe(h){return pt(h==="http://www.w3.org/2000/svg"?2:h==="http://www.w3.org/1998/Math/MathML"?3:0,null)}function ue(h,x,R){switch(x){case"select":return pt(1,R.value!=null?R.value:R.defaultValue);case"svg":return pt(2,null);case"math":return pt(3,null);case"foreignObject":return pt(1,null);case"table":return pt(4,null);case"thead":case"tbody":case"tfoot":return pt(5,null);case"colgroup":return pt(7,null);case"tr":return pt(6,null)}return 4<=h.insertionMode||h.insertionMode===0?pt(1,null):h}var Ae=C("<!-- -->");function Ze(h,x,R,P){return x===""?P:(P&&h.push(Ae),h.push(w(Te(x))),!0)}var Fe=new Map,Me=C(' style="'),Oe=C(":"),qe=C(";");function et(h,x,R){if(typeof R!="object")throw Error(e(62));x=!0;for(var P in R)if(L.call(R,P)){var q=R[P];if(q!=null&&typeof q!="boolean"&&q!==""){if(P.indexOf("--")===0){var Q=w(Te(P));q=w(Te((""+q).trim()))}else{Q=P;var le=Fe.get(Q);le!==void 0||(le=C(Te(Q.replace(Dt,"-$1").toLowerCase().replace(dt,"-ms-"))),Fe.set(Q,le)),Q=le,q=typeof q=="number"?q===0||L.call(_e,P)?w(""+q):w(q+"px"):w(Te((""+q).trim()))}x?(x=!1,h.push(Me,Q,Oe,q)):h.push(qe,Q,Oe,q)}}x||h.push(_t)}var Ke=C(" "),nt=C('="'),_t=C('"'),ke=C('=""');function It(h,x,R,P){switch(R){case"style":et(h,x,P);return;case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(2<R.length)||R[0]!=="o"&&R[0]!=="O"||R[1]!=="n"&&R[1]!=="N"){if(x=G.hasOwnProperty(R)?G[R]:null,x!==null){switch(typeof P){case"function":case"symbol":return;case"boolean":if(!x.acceptsBooleans)return}switch(R=w(x.attributeName),x.type){case 3:P&&h.push(Ke,R,ke);break;case 4:P===!0?h.push(Ke,R,ke):P!==!1&&h.push(Ke,R,nt,w(Te(P)),_t);break;case 5:isNaN(P)||h.push(Ke,R,nt,w(Te(P)),_t);break;case 6:!isNaN(P)&&1<=P&&h.push(Ke,R,nt,w(Te(P)),_t);break;default:x.sanitizeURL&&(P=""+P),h.push(Ke,R,nt,w(Te(P)),_t)}}else if(we(R)){switch(typeof P){case"function":case"symbol":return;case"boolean":if(x=R.toLowerCase().slice(0,5),x!=="data-"&&x!=="aria-")return}h.push(Ke,w(R),nt,w(Te(P)),_t)}}}var mt=C(">"),fn=C("/>");function jn(h,x,R){if(x!=null){if(R!=null)throw Error(e(60));if(typeof x!="object"||!("__html"in x))throw Error(e(61));x=x.__html,x!=null&&h.push(w(""+x))}}function Sn(h){var x="";return r.Children.forEach(h,function(R){R!=null&&(x+=R)}),x}var zn=C(' selected=""');function dr(h,x,R,P){h.push(pn(R));var q=R=null,Q;for(Q in x)if(L.call(x,Q)){var le=x[Q];if(le!=null)switch(Q){case"children":R=le;break;case"dangerouslySetInnerHTML":q=le;break;default:It(h,P,Q,le)}}return h.push(mt),jn(h,q,R),typeof R=="string"?(h.push(w(Te(R))),null):R}var nr=C(`
|
|
92
92
|
`),On=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,yn=new Map;function pn(h){var x=yn.get(h);if(x===void 0){if(!On.test(h))throw Error(e(65,h));x=C("<"+h),yn.set(h,x)}return x}var hn=C("<!DOCTYPE html>");function fr(h,x,R,P,q){switch(x){case"select":h.push(pn("select"));var Q=null,le=null;for(at in R)if(L.call(R,at)){var xe=R[at];if(xe!=null)switch(at){case"children":Q=xe;break;case"dangerouslySetInnerHTML":le=xe;break;case"defaultValue":case"value":break;default:It(h,P,at,xe)}}return h.push(mt),jn(h,le,Q),Q;case"option":le=q.selectedValue,h.push(pn("option"));var $e=xe=null,ht=null,at=null;for(Q in R)if(L.call(R,Q)){var Jt=R[Q];if(Jt!=null)switch(Q){case"children":xe=Jt;break;case"selected":ht=Jt;break;case"dangerouslySetInnerHTML":at=Jt;break;case"value":$e=Jt;default:It(h,P,Q,Jt)}}if(le!=null)if(R=$e!==null?""+$e:Sn(xe),Mt(le)){for(P=0;P<le.length;P++)if(""+le[P]===R){h.push(zn);break}}else""+le===R&&h.push(zn);else ht&&h.push(zn);return h.push(mt),jn(h,at,xe),xe;case"textarea":h.push(pn("textarea")),at=le=Q=null;for(xe in R)if(L.call(R,xe)&&($e=R[xe],$e!=null))switch(xe){case"children":at=$e;break;case"value":Q=$e;break;case"defaultValue":le=$e;break;case"dangerouslySetInnerHTML":throw Error(e(91));default:It(h,P,xe,$e)}if(Q===null&&le!==null&&(Q=le),h.push(mt),at!=null){if(Q!=null)throw Error(e(92));if(Mt(at)&&1<at.length)throw Error(e(93));Q=""+at}return typeof Q=="string"&&Q[0]===`
|
|
93
93
|
`&&h.push(nr),Q!==null&&h.push(w(Te(""+Q))),null;case"input":h.push(pn("input")),$e=at=xe=Q=null;for(le in R)if(L.call(R,le)&&(ht=R[le],ht!=null))switch(le){case"children":case"dangerouslySetInnerHTML":throw Error(e(399,"input"));case"defaultChecked":$e=ht;break;case"defaultValue":xe=ht;break;case"checked":at=ht;break;case"value":Q=ht;break;default:It(h,P,le,ht)}return at!==null?It(h,P,"checked",at):$e!==null&&It(h,P,"checked",$e),Q!==null?It(h,P,"value",Q):xe!==null&&It(h,P,"value",xe),h.push(fn),null;case"menuitem":h.push(pn("menuitem"));for(var Qn in R)if(L.call(R,Qn)&&(Q=R[Qn],Q!=null))switch(Qn){case"children":case"dangerouslySetInnerHTML":throw Error(e(400));default:It(h,P,Qn,Q)}return h.push(mt),null;case"title":h.push(pn("title")),Q=null;for(Jt in R)if(L.call(R,Jt)&&(le=R[Jt],le!=null))switch(Jt){case"children":Q=le;break;case"dangerouslySetInnerHTML":throw Error(e(434));default:It(h,P,Jt,le)}return h.push(mt),Q;case"listing":case"pre":h.push(pn(x)),le=Q=null;for($e in R)if(L.call(R,$e)&&(xe=R[$e],xe!=null))switch($e){case"children":Q=xe;break;case"dangerouslySetInnerHTML":le=xe;break;default:It(h,P,$e,xe)}if(h.push(mt),le!=null){if(Q!=null)throw Error(e(60));if(typeof le!="object"||!("__html"in le))throw Error(e(61));R=le.__html,R!=null&&(typeof R=="string"&&0<R.length&&R[0]===`
|
|
94
94
|
`?h.push(nr,w(R)):h.push(w(""+R)))}return typeof Q=="string"&&Q[0]===`
|
|
95
|
-
`&&h.push(nr),Q;case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":h.push(pn(x));for(var Cr in R)if(L.call(R,Cr)&&(Q=R[Cr],Q!=null))switch(Cr){case"children":case"dangerouslySetInnerHTML":throw Error(e(399,x));default:It(h,P,Cr,Q)}return h.push(fn),null;case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return dr(h,R,x,P);case"html":return q.insertionMode===0&&h.push(hn),dr(h,R,x,P);default:if(x.indexOf("-")===-1&&typeof R.is!="string")return dr(h,R,x,P);h.push(pn(x)),le=Q=null;for(ht in R)if(L.call(R,ht)&&(xe=R[ht],xe!=null))switch(ht){case"children":Q=xe;break;case"dangerouslySetInnerHTML":le=xe;break;case"style":et(h,P,xe);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:we(ht)&&typeof xe!="function"&&typeof xe!="symbol"&&h.push(Ke,w(ht),nt,w(Te(xe)),_t)}return h.push(mt),jn(h,le,Q),Q}}var gi=C("</"),Un=C(">"),Zt=C('<template id="'),Ar=C('"></template>'),Zr=C("<!--$-->"),Or=C('<!--$?--><template id="'),Yr=C('"></template>'),Mr=C("<!--$!-->"),Mi=C("<!--/$-->"),Kr=C("<template"),pr=C('"'),Jr=C(' data-dgst="');C(' data-msg="'),C(' data-stck="');var ia=C("></template>");function _n(h,x,R){if(o(h,Or),R===null)throw Error(e(395));return o(h,R),d(h,Yr)}var rr=C('<div hidden id="'),Mn=C('">'),At=C("</div>"),hr=C('<svg aria-hidden="true" style="display:none" id="'),Qr=C('">'),Xr=C("</svg>"),ir=C('<math aria-hidden="true" style="display:none" id="'),qr=C('">'),gr=C("</math>"),nn=C('<table hidden id="'),Fi=C('">'),ei=C("</table>"),Pi=C('<table hidden><tbody id="'),rn=C('">'),Di=C("</tbody></table>"),Fa=C('<table hidden><tr id="'),Pa=C('">'),z=C("</tr></table>"),he=C('<table hidden><colgroup id="'),Ce=C('">'),tt=C("</colgroup></table>");function vt(h,x,R,P){switch(R.insertionMode){case 0:case 1:return o(h,rr),o(h,x.segmentPrefix),o(h,w(P.toString(16))),d(h,Mn);case 2:return o(h,hr),o(h,x.segmentPrefix),o(h,w(P.toString(16))),d(h,Qr);case 3:return o(h,ir),o(h,x.segmentPrefix),o(h,w(P.toString(16))),d(h,qr);case 4:return o(h,nn),o(h,x.segmentPrefix),o(h,w(P.toString(16))),d(h,Fi);case 5:return o(h,Pi),o(h,x.segmentPrefix),o(h,w(P.toString(16))),d(h,rn);case 6:return o(h,Fa),o(h,x.segmentPrefix),o(h,w(P.toString(16))),d(h,Pa);case 7:return o(h,he),o(h,x.segmentPrefix),o(h,w(P.toString(16))),d(h,Ce);default:throw Error(e(397))}}function kt(h,x){switch(x.insertionMode){case 0:case 1:return d(h,At);case 2:return d(h,Xr);case 3:return d(h,gr);case 4:return d(h,ei);case 5:return d(h,Di);case 6:return d(h,z);case 7:return d(h,tt);default:throw Error(e(397))}}var wt=C('function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("'),ft=C('$RS("'),ln=C('","'),jt=C('")<\/script>'),zt=C('function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}};$RC("'),on=C('$RC("'),In=C('","'),Fr=C('")<\/script>'),Xt=C('function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())};$RX("'),un=C('$RX("'),Pr=C('"'),Sr=C(")<\/script>"),kn=C(","),Li=/[<\u2028\u2029]/g;function _r(h){return JSON.stringify(h).replace(Li,function(x){switch(x){case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}var Dr=Object.assign,Jn=Symbol.for("react.element"),ti=Symbol.for("react.portal"),mi=Symbol.for("react.fragment"),aa=Symbol.for("react.strict_mode"),oa=Symbol.for("react.profiler"),Bi=Symbol.for("react.provider"),Lr=Symbol.for("react.context"),Da=Symbol.for("react.forward_ref"),Ni=Symbol.for("react.suspense"),ni=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),S=Symbol.for("react.lazy"),A=Symbol.for("react.scope"),F=Symbol.for("react.debug_trace_mode"),X=Symbol.for("react.legacy_hidden"),K=Symbol.for("react.default_value"),ie=Symbol.iterator;function be(h){if(h==null)return null;if(typeof h=="function")return h.displayName||h.name||null;if(typeof h=="string")return h;switch(h){case mi:return"Fragment";case ti:return"Portal";case oa:return"Profiler";case aa:return"StrictMode";case Ni:return"Suspense";case ni:return"SuspenseList"}if(typeof h=="object")switch(h.$$typeof){case Lr:return(h.displayName||"Context")+".Consumer";case Bi:return(h._context.displayName||"Context")+".Provider";case Da:var x=h.render;return h=h.displayName,h||(h=x.displayName||x.name||"",h=h!==""?"ForwardRef("+h+")":"ForwardRef"),h;case p:return x=h.displayName||null,x!==null?x:be(h.type)||"Memo";case S:x=h._payload,h=h._init;try{return be(h(x))}catch{}}return null}var We={};function Qe(h,x){if(h=h.contextTypes,!h)return We;var R={},P;for(P in h)R[P]=x[P];return R}var Je=null;function Ft(h,x){if(h!==x){h.context._currentValue=h.parentValue,h=h.parent;var R=x.parent;if(h===null){if(R!==null)throw Error(e(401))}else{if(R===null)throw Error(e(401));Ft(h,R)}x.context._currentValue=x.value}}function ar(h){h.context._currentValue=h.parentValue,h=h.parent,h!==null&&ar(h)}function Fn(h){var x=h.parent;x!==null&&Fn(x),h.context._currentValue=h.value}function Pn(h,x){if(h.context._currentValue=h.parentValue,h=h.parent,h===null)throw Error(e(402));h.depth===x.depth?Ft(h,x):Pn(h,x)}function Br(h,x){var R=x.parent;if(R===null)throw Error(e(402));h.depth===R.depth?Ft(h,R):Br(h,R),x.context._currentValue=x.value}function mr(h){var x=Je;x!==h&&(x===null?Fn(h):h===null?ar(x):x.depth===h.depth?Ft(x,h):x.depth>h.depth?Pn(x,h):Br(x,h),Je=h)}var sa={isMounted:function(){return!1},enqueueSetState:function(h,x){h=h._reactInternals,h.queue!==null&&h.queue.push(x)},enqueueReplaceState:function(h,x){h=h._reactInternals,h.replace=!0,h.queue=[x]},enqueueForceUpdate:function(){}};function vi(h,x,R,P){var q=h.state!==void 0?h.state:null;h.updater=sa,h.props=R,h.state=q;var Q={queue:[],replace:!1};h._reactInternals=Q;var le=x.contextType;if(h.context=typeof le=="object"&&le!==null?le._currentValue:P,le=x.getDerivedStateFromProps,typeof le=="function"&&(le=le(R,q),q=le==null?q:Dr({},q,le),h.state=q),typeof x.getDerivedStateFromProps!="function"&&typeof h.getSnapshotBeforeUpdate!="function"&&(typeof h.UNSAFE_componentWillMount=="function"||typeof h.componentWillMount=="function"))if(x=h.state,typeof h.componentWillMount=="function"&&h.componentWillMount(),typeof h.UNSAFE_componentWillMount=="function"&&h.UNSAFE_componentWillMount(),x!==h.state&&sa.enqueueReplaceState(h,h.state,null),Q.queue!==null&&0<Q.queue.length)if(x=Q.queue,le=Q.replace,Q.queue=null,Q.replace=!1,le&&x.length===1)h.state=x[0];else{for(Q=le?x[0]:h.state,q=!0,le=le?1:0;le<x.length;le++){var xe=x[le];xe=typeof xe=="function"?xe.call(h,Q,R,P):xe,xe!=null&&(q?(q=!1,Q=Dr({},Q,xe)):Dr(Q,xe))}h.state=Q}else Q.queue=null}var ji={id:1,overflow:""};function Nr(h,x,R){var P=h.id;h=h.overflow;var q=32-La(P)-1;P&=~(1<<q),R+=1;var Q=32-La(x)+q;if(30<Q){var le=q-q%5;return Q=(P&(1<<le)-1).toString(32),P>>=le,q-=le,{id:1<<32-La(x)+q|R<<q|P,overflow:Q+h}}return{id:1<<Q|R<<q|P,overflow:h}}var La=Math.clz32?Math.clz32:Zo,Fl=Math.log,Pl=Math.LN2;function Zo(h){return h>>>=0,h===0?32:31-(Fl(h)/Pl|0)|0}function Yo(h,x){return h===x&&(h!==0||1/h===1/x)||h!==h&&x!==x}var Ko=typeof Object.is=="function"?Object.is:Yo,ri=null,Ba=null,fo=null,Kt=null,Lt=!1,xt=!1,zi=0,bi=null,po=0;function yi(){if(ri===null)throw Error(e(321));return ri}function kr(){if(0<po)throw Error(e(312));return{memoizedState:null,queue:null,next:null}}function Jo(){return Kt===null?fo===null?(Lt=!1,fo=Kt=kr()):(Lt=!0,Kt=fo):Kt.next===null?(Lt=!1,Kt=Kt.next=kr()):(Lt=!0,Kt=Kt.next),Kt}function ho(){Ba=ri=null,xt=!1,fo=null,po=0,Kt=bi=null}function Us(h,x){return typeof x=="function"?x(h):x}function En(h,x,R){if(ri=yi(),Kt=Jo(),Lt){var P=Kt.queue;if(x=P.dispatch,bi!==null&&(R=bi.get(P),R!==void 0)){bi.delete(P),P=Kt.memoizedState;do P=h(P,R.action),R=R.next;while(R!==null);return Kt.memoizedState=P,[P,x]}return[Kt.memoizedState,x]}return h=h===Us?typeof x=="function"?x():x:R!==void 0?R(x):x,Kt.memoizedState=h,h=Kt.queue={last:null,dispatch:null},h=h.dispatch=Ui.bind(null,ri,h),[Kt.memoizedState,h]}function go(h,x){if(ri=yi(),Kt=Jo(),x=x===void 0?null:x,Kt!==null){var R=Kt.memoizedState;if(R!==null&&x!==null){var P=R[1];e:if(P===null)P=!1;else{for(var q=0;q<P.length&&q<x.length;q++)if(!Ko(x[q],P[q])){P=!1;break e}P=!0}if(P)return R[0]}}return h=h(),Kt.memoizedState=[h,x],h}function Ui(h,x,R){if(25<=po)throw Error(e(301));if(h===ri)if(xt=!0,h={action:R,next:null},bi===null&&(bi=new Map),R=bi.get(x),R===void 0)bi.set(x,h);else{for(x=R;x.next!==null;)x=x.next;x.next=h}}function Ws(){throw Error(e(394))}function la(){}var Wn={readContext:function(h){return h._currentValue},useContext:function(h){return yi(),h._currentValue},useMemo:go,useReducer:En,useRef:function(h){ri=yi(),Kt=Jo();var x=Kt.memoizedState;return x===null?(h={current:h},Kt.memoizedState=h):x},useState:function(h){return En(Us,h)},useInsertionEffect:la,useLayoutEffect:function(){},useCallback:function(h,x){return go(function(){return h},x)},useImperativeHandle:la,useEffect:la,useDebugValue:la,useDeferredValue:function(h){return yi(),h},useTransition:function(){return yi(),[!1,Ws]},useId:function(){var h=Ba.treeContext,x=h.overflow;h=h.id,h=(h&~(1<<32-La(h)-1)).toString(32)+x;var R=Na;if(R===null)throw Error(e(404));return x=zi++,h=":"+R.idPrefix+"R"+h,0<x&&(h+="H"+x.toString(32)),h+":"},useMutableSource:function(h,x){return yi(),x(h._source)},useSyncExternalStore:function(h,x,R){if(R===void 0)throw Error(e(407));return R()}},Na=null,ua=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;function Vs(h){return console.error(h),null}function ca(){}function mo(h,x,R,P,q,Q,le,xe,$e){var ht=[],at=new Set;return x={destination:null,responseState:x,progressiveChunkSize:P===void 0?12800:P,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:at,pingedTasks:ht,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:q===void 0?Vs:q,onAllReady:Q===void 0?ca:Q,onShellReady:le===void 0?ca:le,onShellError:xe===void 0?ca:xe,onFatalError:$e===void 0?ca:$e},R=Cn(x,0,null,R,!1,!1),R.parentFlushed=!0,h=vo(x,h,null,R,at,We,null,ji),ht.push(h),x}function vo(h,x,R,P,q,Q,le,xe){h.allPendingTasks++,R===null?h.pendingRootTasks++:R.pendingTasks++;var $e={node:x,ping:function(){var ht=h.pingedTasks;ht.push($e),ht.length===1&&Zs(h)},blockedBoundary:R,blockedSegment:P,abortSet:q,legacyContext:Q,context:le,treeContext:xe};return q.add($e),$e}function Cn(h,x,R,P,q,Q){return{status:0,id:-1,index:x,parentFlushed:!1,chunks:[],children:[],formatContext:P,boundary:R,lastPushedText:q,textEmbedded:Q}}function da(h,x){if(h=h.onError(x),h!=null&&typeof h!="string")throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof h+'" instead');return h}function Vn(h,x){var R=h.onShellError;R(x),R=h.onFatalError,R(x),h.destination!==null?(h.status=2,N(h.destination,x)):(h.status=1,h.fatalError=x)}function Hs(h,x,R,P,q){for(ri={},Ba=x,zi=0,h=R(P,q);xt;)xt=!1,zi=0,po+=1,Kt=null,h=R(P,q);return ho(),h}function bo(h,x,R,P){var q=R.render(),Q=P.childContextTypes;if(Q!=null){var le=x.legacyContext;if(typeof R.getChildContext!="function")P=le;else{R=R.getChildContext();for(var xe in R)if(!(xe in Q))throw Error(e(108,be(P)||"Unknown",xe));P=Dr({},le,R)}x.legacyContext=P,Hn(h,x,q),x.legacyContext=le}else Hn(h,x,q)}function ii(h,x){if(h&&h.defaultProps){x=Dr({},x),h=h.defaultProps;for(var R in h)x[R]===void 0&&(x[R]=h[R]);return x}return x}function Wi(h,x,R,P,q){if(typeof R=="function")if(R.prototype&&R.prototype.isReactComponent){q=Qe(R,x.legacyContext);var Q=R.contextType;Q=new R(P,typeof Q=="object"&&Q!==null?Q._currentValue:q),vi(Q,R,P,q),bo(h,x,Q,R)}else{Q=Qe(R,x.legacyContext),q=Hs(h,x,R,P,Q);var le=zi!==0;if(typeof q=="object"&&q!==null&&typeof q.render=="function"&&q.$$typeof===void 0)vi(q,R,P,Q),bo(h,x,q,R);else if(le){P=x.treeContext,x.treeContext=Nr(P,1,0);try{Hn(h,x,q)}finally{x.treeContext=P}}else Hn(h,x,q)}else if(typeof R=="string"){switch(q=x.blockedSegment,Q=fr(q.chunks,R,P,h.responseState,q.formatContext),q.lastPushedText=!1,le=q.formatContext,q.formatContext=ue(le,R,P),Er(h,x,Q),q.formatContext=le,R){case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break;default:q.chunks.push(gi,w(R),Un)}q.lastPushedText=!1}else{switch(R){case X:case F:case aa:case oa:case mi:Hn(h,x,P.children);return;case ni:Hn(h,x,P.children);return;case A:throw Error(e(343));case Ni:e:{R=x.blockedBoundary,q=x.blockedSegment,Q=P.fallback,P=P.children,le=new Set;var xe={id:null,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:le,errorDigest:null},$e=Cn(h,q.chunks.length,xe,q.formatContext,!1,!1);q.children.push($e),q.lastPushedText=!1;var ht=Cn(h,0,null,q.formatContext,!1,!1);ht.parentFlushed=!0,x.blockedBoundary=xe,x.blockedSegment=ht;try{if(Er(h,x,P),ht.lastPushedText&&ht.textEmbedded&&ht.chunks.push(Ae),ht.status=1,fa(xe,ht),xe.pendingTasks===0)break e}catch(at){ht.status=4,xe.forceClientRender=!0,xe.errorDigest=da(h,at)}finally{x.blockedBoundary=R,x.blockedSegment=q}x=vo(h,Q,R,$e,le,x.legacyContext,x.context,x.treeContext),h.pingedTasks.push(x)}return}if(typeof R=="object"&&R!==null)switch(R.$$typeof){case Da:if(P=Hs(h,x,R.render,P,q),zi!==0){R=x.treeContext,x.treeContext=Nr(R,1,0);try{Hn(h,x,P)}finally{x.treeContext=R}}else Hn(h,x,P);return;case p:R=R.type,P=ii(R,P),Wi(h,x,R,P,q);return;case Bi:if(q=P.children,R=R._context,P=P.value,Q=R._currentValue,R._currentValue=P,le=Je,Je=P={parent:le,depth:le===null?0:le.depth+1,context:R,parentValue:Q,value:P},x.context=P,Hn(h,x,q),h=Je,h===null)throw Error(e(403));P=h.parentValue,h.context._currentValue=P===K?h.context._defaultValue:P,h=Je=h.parent,x.context=h;return;case Lr:P=P.children,P=P(R._currentValue),Hn(h,x,P);return;case S:q=R._init,R=q(R._payload),P=ii(R,P),Wi(h,x,R,P,void 0);return}throw Error(e(130,R==null?R:typeof R,""))}}function Hn(h,x,R){if(x.node=R,typeof R=="object"&&R!==null){switch(R.$$typeof){case Jn:Wi(h,x,R.type,R.props,R.ref);return;case ti:throw Error(e(257));case S:var P=R._init;R=P(R._payload),Hn(h,x,R);return}if(Mt(R)){qt(h,x,R);return}if(R===null||typeof R!="object"?P=null:(P=ie&&R[ie]||R["@@iterator"],P=typeof P=="function"?P:null),P&&(P=P.call(R))){if(R=P.next(),!R.done){var q=[];do q.push(R.value),R=P.next();while(!R.done);qt(h,x,q)}return}throw h=Object.prototype.toString.call(R),Error(e(31,h==="[object Object]"?"object with keys {"+Object.keys(R).join(", ")+"}":h))}typeof R=="string"?(P=x.blockedSegment,P.lastPushedText=Ze(x.blockedSegment.chunks,R,h.responseState,P.lastPushedText)):typeof R=="number"&&(P=x.blockedSegment,P.lastPushedText=Ze(x.blockedSegment.chunks,""+R,h.responseState,P.lastPushedText))}function qt(h,x,R){for(var P=R.length,q=0;q<P;q++){var Q=x.treeContext;x.treeContext=Nr(Q,P,q);try{Er(h,x,R[q])}finally{x.treeContext=Q}}}function Er(h,x,R){var P=x.blockedSegment.formatContext,q=x.legacyContext,Q=x.context;try{return Hn(h,x,R)}catch($e){if(ho(),typeof $e=="object"&&$e!==null&&typeof $e.then=="function"){R=$e;var le=x.blockedSegment,xe=Cn(h,le.chunks.length,null,le.formatContext,le.lastPushedText,!0);le.children.push(xe),le.lastPushedText=!1,h=vo(h,x.node,x.blockedBoundary,xe,x.abortSet,x.legacyContext,x.context,x.treeContext).ping,R.then(h,h),x.blockedSegment.formatContext=P,x.legacyContext=q,x.context=Q,mr(Q)}else throw x.blockedSegment.formatContext=P,x.legacyContext=q,x.context=Q,mr(Q),$e}}function Qo(h){var x=h.blockedBoundary;h=h.blockedSegment,h.status=3,Gs(this,x,h)}function $s(h,x,R){var P=h.blockedBoundary;h.blockedSegment.status=3,P===null?(x.allPendingTasks--,x.status!==2&&(x.status=2,x.destination!==null&&x.destination.close())):(P.pendingTasks--,P.forceClientRender||(P.forceClientRender=!0,h=R===void 0?Error(e(432)):R,P.errorDigest=x.onError(h),P.parentFlushed&&x.clientRenderedBoundaries.push(P)),P.fallbackAbortableTasks.forEach(function(q){return $s(q,x,R)}),P.fallbackAbortableTasks.clear(),x.allPendingTasks--,x.allPendingTasks===0&&(P=x.onAllReady,P()))}function fa(h,x){if(x.chunks.length===0&&x.children.length===1&&x.children[0].boundary===null){var R=x.children[0];R.id=x.id,R.parentFlushed=!0,R.status===1&&fa(h,R)}else h.completedSegments.push(x)}function Gs(h,x,R){if(x===null){if(R.parentFlushed){if(h.completedRootSegment!==null)throw Error(e(389));h.completedRootSegment=R}h.pendingRootTasks--,h.pendingRootTasks===0&&(h.onShellError=ca,x=h.onShellReady,x())}else x.pendingTasks--,x.forceClientRender||(x.pendingTasks===0?(R.parentFlushed&&R.status===1&&fa(x,R),x.parentFlushed&&h.completedBoundaries.push(x),x.fallbackAbortableTasks.forEach(Qo,h),x.fallbackAbortableTasks.clear()):R.parentFlushed&&R.status===1&&(fa(x,R),x.completedSegments.length===1&&x.parentFlushed&&h.partialBoundaries.push(x)));h.allPendingTasks--,h.allPendingTasks===0&&(h=h.onAllReady,h())}function Zs(h){if(h.status!==2){var x=Je,R=ua.current;ua.current=Wn;var P=Na;Na=h.responseState;try{var q=h.pingedTasks,Q;for(Q=0;Q<q.length;Q++){var le=q[Q],xe=h,$e=le.blockedSegment;if($e.status===0){mr(le.context);try{Hn(xe,le,le.node),$e.lastPushedText&&$e.textEmbedded&&$e.chunks.push(Ae),le.abortSet.delete(le),$e.status=1,Gs(xe,le.blockedBoundary,$e)}catch(Tr){if(ho(),typeof Tr=="object"&&Tr!==null&&typeof Tr.then=="function"){var ht=le.ping;Tr.then(ht,ht)}else{le.abortSet.delete(le),$e.status=4;var at=le.blockedBoundary,Jt=Tr,Qn=da(xe,Jt);if(at===null?Vn(xe,Jt):(at.pendingTasks--,at.forceClientRender||(at.forceClientRender=!0,at.errorDigest=Qn,at.parentFlushed&&xe.clientRenderedBoundaries.push(at))),xe.allPendingTasks--,xe.allPendingTasks===0){var Cr=xe.onAllReady;Cr()}}}finally{}}}q.splice(0,Q),h.destination!==null&&wo(h,h.destination)}catch(Tr){da(h,Tr),Vn(h,Tr)}finally{Na=P,ua.current=R,R===Wn&&mr(x)}}}function yo(h,x,R){switch(R.parentFlushed=!0,R.status){case 0:var P=R.id=h.nextSegmentId++;return R.lastPushedText=!1,R.textEmbedded=!1,h=h.responseState,o(x,Zt),o(x,h.placeholderPrefix),h=w(P.toString(16)),o(x,h),d(x,Ar);case 1:R.status=2;var q=!0;P=R.chunks;var Q=0;R=R.children;for(var le=0;le<R.length;le++){for(q=R[le];Q<q.index;Q++)o(x,P[Q]);q=ja(h,x,q)}for(;Q<P.length-1;Q++)o(x,P[Q]);return Q<P.length&&(q=d(x,P[Q])),q;default:throw Error(e(390))}}function ja(h,x,R){var P=R.boundary;if(P===null)return yo(h,x,R);if(P.parentFlushed=!0,P.forceClientRender)P=P.errorDigest,d(x,Mr),o(x,Kr),P&&(o(x,Jr),o(x,w(Te(P))),o(x,pr)),d(x,ia),yo(h,x,R);else if(0<P.pendingTasks){P.rootSegmentID=h.nextSegmentId++,0<P.completedSegments.length&&h.partialBoundaries.push(P);var q=h.responseState,Q=q.nextSuspenseID++;q=C(q.boundaryPrefix+Q.toString(16)),P=P.id=q,_n(x,h.responseState,P),yo(h,x,R)}else if(P.byteSize>h.progressiveChunkSize)P.rootSegmentID=h.nextSegmentId++,h.completedBoundaries.push(P),_n(x,h.responseState,P.id),yo(h,x,R);else{if(d(x,Zr),R=P.completedSegments,R.length!==1)throw Error(e(391));ja(h,x,R[0])}return d(x,Mi)}function za(h,x,R){return vt(x,h.responseState,R.formatContext,R.id),ja(h,x,R),kt(x,R.formatContext)}function Vi(h,x,R){for(var P=R.completedSegments,q=0;q<P.length;q++)Ys(h,x,R,P[q]);if(P.length=0,h=h.responseState,P=R.id,R=R.rootSegmentID,o(x,h.startInlineScript),h.sentCompleteBoundaryFunction?o(x,on):(h.sentCompleteBoundaryFunction=!0,o(x,zt)),P===null)throw Error(e(395));return R=w(R.toString(16)),o(x,P),o(x,In),o(x,h.segmentPrefix),o(x,R),d(x,Fr)}function Ys(h,x,R,P){if(P.status===2)return!0;var q=P.id;if(q===-1){if((P.id=R.rootSegmentID)===-1)throw Error(e(392));return za(h,x,P)}return za(h,x,P),h=h.responseState,o(x,h.startInlineScript),h.sentCompleteSegmentFunction?o(x,ft):(h.sentCompleteSegmentFunction=!0,o(x,wt)),o(x,h.segmentPrefix),q=w(q.toString(16)),o(x,q),o(x,ln),o(x,h.placeholderPrefix),o(x,q),d(x,jt)}function wo(h,x){n=new Uint8Array(512),a=0;try{var R=h.completedRootSegment;if(R!==null&&h.pendingRootTasks===0){ja(h,x,R),h.completedRootSegment=null;var P=h.responseState.bootstrapChunks;for(R=0;R<P.length-1;R++)o(x,P[R]);R<P.length&&d(x,P[R])}var q=h.clientRenderedBoundaries,Q;for(Q=0;Q<q.length;Q++){var le=q[Q];P=x;var xe=h.responseState,$e=le.id,ht=le.errorDigest,at=le.errorMessage,Jt=le.errorComponentStack;if(o(P,xe.startInlineScript),xe.sentClientRenderFunction?o(P,un):(xe.sentClientRenderFunction=!0,o(P,Xt)),$e===null)throw Error(e(395));o(P,$e),o(P,Pr),(ht||at||Jt)&&(o(P,kn),o(P,w(_r(ht||"")))),(at||Jt)&&(o(P,kn),o(P,w(_r(at||"")))),Jt&&(o(P,kn),o(P,w(_r(Jt)))),d(P,Sr)}q.splice(0,Q);var Qn=h.completedBoundaries;for(Q=0;Q<Qn.length;Q++)Vi(h,x,Qn[Q]);Qn.splice(0,Q),v(x),n=new Uint8Array(512),a=0;var Cr=h.partialBoundaries;for(Q=0;Q<Cr.length;Q++){var Tr=Cr[Q];e:{q=h,le=x;var xo=Tr.completedSegments;for(xe=0;xe<xo.length;xe++)if(!Ys(q,le,Tr,xo[xe])){xe++,xo.splice(0,xe);var Ks=!1;break e}xo.splice(0,xe),Ks=!0}if(!Ks){h.destination=null,Q++,Cr.splice(0,Q);return}}Cr.splice(0,Q);var qo=h.completedBoundaries;for(Q=0;Q<qo.length;Q++)Vi(h,x,qo[Q]);qo.splice(0,Q)}finally{v(x),h.allPendingTasks===0&&h.pingedTasks.length===0&&h.clientRenderedBoundaries.length===0&&h.completedBoundaries.length===0&&x.close()}}function Xo(h,x){try{var R=h.abortableTasks;R.forEach(function(P){return $s(P,h,x)}),R.clear(),h.destination!==null&&wo(h,h.destination)}catch(P){da(h,P),Vn(h,P)}}return yd.renderToReadableStream=function(h,x){return new Promise(function(R,P){var q,Q,le=new Promise(function(at,Jt){Q=at,q=Jt}),xe=mo(h,ze(x?x.identifierPrefix:void 0,x?x.nonce:void 0,x?x.bootstrapScriptContent:void 0,x?x.bootstrapScripts:void 0,x?x.bootstrapModules:void 0),oe(x?x.namespaceURI:void 0),x?x.progressiveChunkSize:void 0,x?x.onError:void 0,Q,function(){var at=new ReadableStream({type:"bytes",pull:function(Jt){if(xe.status===1)xe.status=2,N(Jt,xe.fatalError);else if(xe.status!==2&&xe.destination===null){xe.destination=Jt;try{wo(xe,Jt)}catch(Qn){da(xe,Qn),Vn(xe,Qn)}}},cancel:function(){Xo(xe)}},{highWaterMark:0});at.allReady=le,R(at)},function(at){le.catch(function(){}),P(at)},q);if(x&&x.signal){var $e=x.signal,ht=function(){Xo(xe,$e.reason),$e.removeEventListener("abort",ht)};$e.addEventListener("abort",ht)}Zs(xe)})},yd.version="18.2.0",yd}var Ol={};/**
|
|
95
|
+
`&&h.push(nr),Q;case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":h.push(pn(x));for(var Cr in R)if(L.call(R,Cr)&&(Q=R[Cr],Q!=null))switch(Cr){case"children":case"dangerouslySetInnerHTML":throw Error(e(399,x));default:It(h,P,Cr,Q)}return h.push(fn),null;case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return dr(h,R,x,P);case"html":return q.insertionMode===0&&h.push(hn),dr(h,R,x,P);default:if(x.indexOf("-")===-1&&typeof R.is!="string")return dr(h,R,x,P);h.push(pn(x)),le=Q=null;for(ht in R)if(L.call(R,ht)&&(xe=R[ht],xe!=null))switch(ht){case"children":Q=xe;break;case"dangerouslySetInnerHTML":le=xe;break;case"style":et(h,P,xe);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:we(ht)&&typeof xe!="function"&&typeof xe!="symbol"&&h.push(Ke,w(ht),nt,w(Te(xe)),_t)}return h.push(mt),jn(h,le,Q),Q}}var gi=C("</"),Un=C(">"),Zt=C('<template id="'),Ar=C('"></template>'),Zr=C("<!--$-->"),Or=C('<!--$?--><template id="'),Yr=C('"></template>'),Mr=C("<!--$!-->"),Mi=C("<!--/$-->"),Kr=C("<template"),pr=C('"'),Jr=C(' data-dgst="');C(' data-msg="'),C(' data-stck="');var ia=C("></template>");function _n(h,x,R){if(o(h,Or),R===null)throw Error(e(395));return o(h,R),d(h,Yr)}var rr=C('<div hidden id="'),Mn=C('">'),At=C("</div>"),hr=C('<svg aria-hidden="true" style="display:none" id="'),Qr=C('">'),Xr=C("</svg>"),ir=C('<math aria-hidden="true" style="display:none" id="'),qr=C('">'),gr=C("</math>"),nn=C('<table hidden id="'),Fi=C('">'),ei=C("</table>"),Pi=C('<table hidden><tbody id="'),rn=C('">'),Di=C("</tbody></table>"),Fa=C('<table hidden><tr id="'),Pa=C('">'),z=C("</tr></table>"),he=C('<table hidden><colgroup id="'),Ce=C('">'),tt=C("</colgroup></table>");function vt(h,x,R,P){switch(R.insertionMode){case 0:case 1:return o(h,rr),o(h,x.segmentPrefix),o(h,w(P.toString(16))),d(h,Mn);case 2:return o(h,hr),o(h,x.segmentPrefix),o(h,w(P.toString(16))),d(h,Qr);case 3:return o(h,ir),o(h,x.segmentPrefix),o(h,w(P.toString(16))),d(h,qr);case 4:return o(h,nn),o(h,x.segmentPrefix),o(h,w(P.toString(16))),d(h,Fi);case 5:return o(h,Pi),o(h,x.segmentPrefix),o(h,w(P.toString(16))),d(h,rn);case 6:return o(h,Fa),o(h,x.segmentPrefix),o(h,w(P.toString(16))),d(h,Pa);case 7:return o(h,he),o(h,x.segmentPrefix),o(h,w(P.toString(16))),d(h,Ce);default:throw Error(e(397))}}function kt(h,x){switch(x.insertionMode){case 0:case 1:return d(h,At);case 2:return d(h,Xr);case 3:return d(h,gr);case 4:return d(h,ei);case 5:return d(h,Di);case 6:return d(h,z);case 7:return d(h,tt);default:throw Error(e(397))}}var wt=C('function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("'),ft=C('$RS("'),ln=C('","'),zt=C('")<\/script>'),Ut=C('function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}};$RC("'),on=C('$RC("'),In=C('","'),Fr=C('")<\/script>'),Xt=C('function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())};$RX("'),un=C('$RX("'),Pr=C('"'),Sr=C(")<\/script>"),kn=C(","),Li=/[<\u2028\u2029]/g;function _r(h){return JSON.stringify(h).replace(Li,function(x){switch(x){case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}var Dr=Object.assign,Jn=Symbol.for("react.element"),ti=Symbol.for("react.portal"),mi=Symbol.for("react.fragment"),aa=Symbol.for("react.strict_mode"),oa=Symbol.for("react.profiler"),Bi=Symbol.for("react.provider"),Lr=Symbol.for("react.context"),Da=Symbol.for("react.forward_ref"),Ni=Symbol.for("react.suspense"),ni=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),S=Symbol.for("react.lazy"),A=Symbol.for("react.scope"),F=Symbol.for("react.debug_trace_mode"),X=Symbol.for("react.legacy_hidden"),K=Symbol.for("react.default_value"),ie=Symbol.iterator;function be(h){if(h==null)return null;if(typeof h=="function")return h.displayName||h.name||null;if(typeof h=="string")return h;switch(h){case mi:return"Fragment";case ti:return"Portal";case oa:return"Profiler";case aa:return"StrictMode";case Ni:return"Suspense";case ni:return"SuspenseList"}if(typeof h=="object")switch(h.$$typeof){case Lr:return(h.displayName||"Context")+".Consumer";case Bi:return(h._context.displayName||"Context")+".Provider";case Da:var x=h.render;return h=h.displayName,h||(h=x.displayName||x.name||"",h=h!==""?"ForwardRef("+h+")":"ForwardRef"),h;case p:return x=h.displayName||null,x!==null?x:be(h.type)||"Memo";case S:x=h._payload,h=h._init;try{return be(h(x))}catch{}}return null}var We={};function Qe(h,x){if(h=h.contextTypes,!h)return We;var R={},P;for(P in h)R[P]=x[P];return R}var Je=null;function Ft(h,x){if(h!==x){h.context._currentValue=h.parentValue,h=h.parent;var R=x.parent;if(h===null){if(R!==null)throw Error(e(401))}else{if(R===null)throw Error(e(401));Ft(h,R)}x.context._currentValue=x.value}}function ar(h){h.context._currentValue=h.parentValue,h=h.parent,h!==null&&ar(h)}function Fn(h){var x=h.parent;x!==null&&Fn(x),h.context._currentValue=h.value}function Pn(h,x){if(h.context._currentValue=h.parentValue,h=h.parent,h===null)throw Error(e(402));h.depth===x.depth?Ft(h,x):Pn(h,x)}function Br(h,x){var R=x.parent;if(R===null)throw Error(e(402));h.depth===R.depth?Ft(h,R):Br(h,R),x.context._currentValue=x.value}function mr(h){var x=Je;x!==h&&(x===null?Fn(h):h===null?ar(x):x.depth===h.depth?Ft(x,h):x.depth>h.depth?Pn(x,h):Br(x,h),Je=h)}var sa={isMounted:function(){return!1},enqueueSetState:function(h,x){h=h._reactInternals,h.queue!==null&&h.queue.push(x)},enqueueReplaceState:function(h,x){h=h._reactInternals,h.replace=!0,h.queue=[x]},enqueueForceUpdate:function(){}};function vi(h,x,R,P){var q=h.state!==void 0?h.state:null;h.updater=sa,h.props=R,h.state=q;var Q={queue:[],replace:!1};h._reactInternals=Q;var le=x.contextType;if(h.context=typeof le=="object"&&le!==null?le._currentValue:P,le=x.getDerivedStateFromProps,typeof le=="function"&&(le=le(R,q),q=le==null?q:Dr({},q,le),h.state=q),typeof x.getDerivedStateFromProps!="function"&&typeof h.getSnapshotBeforeUpdate!="function"&&(typeof h.UNSAFE_componentWillMount=="function"||typeof h.componentWillMount=="function"))if(x=h.state,typeof h.componentWillMount=="function"&&h.componentWillMount(),typeof h.UNSAFE_componentWillMount=="function"&&h.UNSAFE_componentWillMount(),x!==h.state&&sa.enqueueReplaceState(h,h.state,null),Q.queue!==null&&0<Q.queue.length)if(x=Q.queue,le=Q.replace,Q.queue=null,Q.replace=!1,le&&x.length===1)h.state=x[0];else{for(Q=le?x[0]:h.state,q=!0,le=le?1:0;le<x.length;le++){var xe=x[le];xe=typeof xe=="function"?xe.call(h,Q,R,P):xe,xe!=null&&(q?(q=!1,Q=Dr({},Q,xe)):Dr(Q,xe))}h.state=Q}else Q.queue=null}var ji={id:1,overflow:""};function Nr(h,x,R){var P=h.id;h=h.overflow;var q=32-La(P)-1;P&=~(1<<q),R+=1;var Q=32-La(x)+q;if(30<Q){var le=q-q%5;return Q=(P&(1<<le)-1).toString(32),P>>=le,q-=le,{id:1<<32-La(x)+q|R<<q|P,overflow:Q+h}}return{id:1<<Q|R<<q|P,overflow:h}}var La=Math.clz32?Math.clz32:Zo,Fl=Math.log,Pl=Math.LN2;function Zo(h){return h>>>=0,h===0?32:31-(Fl(h)/Pl|0)|0}function Yo(h,x){return h===x&&(h!==0||1/h===1/x)||h!==h&&x!==x}var Ko=typeof Object.is=="function"?Object.is:Yo,ri=null,Ba=null,fo=null,Kt=null,Lt=!1,xt=!1,zi=0,bi=null,po=0;function yi(){if(ri===null)throw Error(e(321));return ri}function kr(){if(0<po)throw Error(e(312));return{memoizedState:null,queue:null,next:null}}function Jo(){return Kt===null?fo===null?(Lt=!1,fo=Kt=kr()):(Lt=!0,Kt=fo):Kt.next===null?(Lt=!1,Kt=Kt.next=kr()):(Lt=!0,Kt=Kt.next),Kt}function ho(){Ba=ri=null,xt=!1,fo=null,po=0,Kt=bi=null}function Us(h,x){return typeof x=="function"?x(h):x}function En(h,x,R){if(ri=yi(),Kt=Jo(),Lt){var P=Kt.queue;if(x=P.dispatch,bi!==null&&(R=bi.get(P),R!==void 0)){bi.delete(P),P=Kt.memoizedState;do P=h(P,R.action),R=R.next;while(R!==null);return Kt.memoizedState=P,[P,x]}return[Kt.memoizedState,x]}return h=h===Us?typeof x=="function"?x():x:R!==void 0?R(x):x,Kt.memoizedState=h,h=Kt.queue={last:null,dispatch:null},h=h.dispatch=Ui.bind(null,ri,h),[Kt.memoizedState,h]}function go(h,x){if(ri=yi(),Kt=Jo(),x=x===void 0?null:x,Kt!==null){var R=Kt.memoizedState;if(R!==null&&x!==null){var P=R[1];e:if(P===null)P=!1;else{for(var q=0;q<P.length&&q<x.length;q++)if(!Ko(x[q],P[q])){P=!1;break e}P=!0}if(P)return R[0]}}return h=h(),Kt.memoizedState=[h,x],h}function Ui(h,x,R){if(25<=po)throw Error(e(301));if(h===ri)if(xt=!0,h={action:R,next:null},bi===null&&(bi=new Map),R=bi.get(x),R===void 0)bi.set(x,h);else{for(x=R;x.next!==null;)x=x.next;x.next=h}}function Ws(){throw Error(e(394))}function la(){}var Wn={readContext:function(h){return h._currentValue},useContext:function(h){return yi(),h._currentValue},useMemo:go,useReducer:En,useRef:function(h){ri=yi(),Kt=Jo();var x=Kt.memoizedState;return x===null?(h={current:h},Kt.memoizedState=h):x},useState:function(h){return En(Us,h)},useInsertionEffect:la,useLayoutEffect:function(){},useCallback:function(h,x){return go(function(){return h},x)},useImperativeHandle:la,useEffect:la,useDebugValue:la,useDeferredValue:function(h){return yi(),h},useTransition:function(){return yi(),[!1,Ws]},useId:function(){var h=Ba.treeContext,x=h.overflow;h=h.id,h=(h&~(1<<32-La(h)-1)).toString(32)+x;var R=Na;if(R===null)throw Error(e(404));return x=zi++,h=":"+R.idPrefix+"R"+h,0<x&&(h+="H"+x.toString(32)),h+":"},useMutableSource:function(h,x){return yi(),x(h._source)},useSyncExternalStore:function(h,x,R){if(R===void 0)throw Error(e(407));return R()}},Na=null,ua=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;function Vs(h){return console.error(h),null}function ca(){}function mo(h,x,R,P,q,Q,le,xe,$e){var ht=[],at=new Set;return x={destination:null,responseState:x,progressiveChunkSize:P===void 0?12800:P,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:at,pingedTasks:ht,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:q===void 0?Vs:q,onAllReady:Q===void 0?ca:Q,onShellReady:le===void 0?ca:le,onShellError:xe===void 0?ca:xe,onFatalError:$e===void 0?ca:$e},R=Cn(x,0,null,R,!1,!1),R.parentFlushed=!0,h=vo(x,h,null,R,at,We,null,ji),ht.push(h),x}function vo(h,x,R,P,q,Q,le,xe){h.allPendingTasks++,R===null?h.pendingRootTasks++:R.pendingTasks++;var $e={node:x,ping:function(){var ht=h.pingedTasks;ht.push($e),ht.length===1&&Zs(h)},blockedBoundary:R,blockedSegment:P,abortSet:q,legacyContext:Q,context:le,treeContext:xe};return q.add($e),$e}function Cn(h,x,R,P,q,Q){return{status:0,id:-1,index:x,parentFlushed:!1,chunks:[],children:[],formatContext:P,boundary:R,lastPushedText:q,textEmbedded:Q}}function da(h,x){if(h=h.onError(x),h!=null&&typeof h!="string")throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof h+'" instead');return h}function Vn(h,x){var R=h.onShellError;R(x),R=h.onFatalError,R(x),h.destination!==null?(h.status=2,N(h.destination,x)):(h.status=1,h.fatalError=x)}function Hs(h,x,R,P,q){for(ri={},Ba=x,zi=0,h=R(P,q);xt;)xt=!1,zi=0,po+=1,Kt=null,h=R(P,q);return ho(),h}function bo(h,x,R,P){var q=R.render(),Q=P.childContextTypes;if(Q!=null){var le=x.legacyContext;if(typeof R.getChildContext!="function")P=le;else{R=R.getChildContext();for(var xe in R)if(!(xe in Q))throw Error(e(108,be(P)||"Unknown",xe));P=Dr({},le,R)}x.legacyContext=P,Hn(h,x,q),x.legacyContext=le}else Hn(h,x,q)}function ii(h,x){if(h&&h.defaultProps){x=Dr({},x),h=h.defaultProps;for(var R in h)x[R]===void 0&&(x[R]=h[R]);return x}return x}function Wi(h,x,R,P,q){if(typeof R=="function")if(R.prototype&&R.prototype.isReactComponent){q=Qe(R,x.legacyContext);var Q=R.contextType;Q=new R(P,typeof Q=="object"&&Q!==null?Q._currentValue:q),vi(Q,R,P,q),bo(h,x,Q,R)}else{Q=Qe(R,x.legacyContext),q=Hs(h,x,R,P,Q);var le=zi!==0;if(typeof q=="object"&&q!==null&&typeof q.render=="function"&&q.$$typeof===void 0)vi(q,R,P,Q),bo(h,x,q,R);else if(le){P=x.treeContext,x.treeContext=Nr(P,1,0);try{Hn(h,x,q)}finally{x.treeContext=P}}else Hn(h,x,q)}else if(typeof R=="string"){switch(q=x.blockedSegment,Q=fr(q.chunks,R,P,h.responseState,q.formatContext),q.lastPushedText=!1,le=q.formatContext,q.formatContext=ue(le,R,P),Er(h,x,Q),q.formatContext=le,R){case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break;default:q.chunks.push(gi,w(R),Un)}q.lastPushedText=!1}else{switch(R){case X:case F:case aa:case oa:case mi:Hn(h,x,P.children);return;case ni:Hn(h,x,P.children);return;case A:throw Error(e(343));case Ni:e:{R=x.blockedBoundary,q=x.blockedSegment,Q=P.fallback,P=P.children,le=new Set;var xe={id:null,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:le,errorDigest:null},$e=Cn(h,q.chunks.length,xe,q.formatContext,!1,!1);q.children.push($e),q.lastPushedText=!1;var ht=Cn(h,0,null,q.formatContext,!1,!1);ht.parentFlushed=!0,x.blockedBoundary=xe,x.blockedSegment=ht;try{if(Er(h,x,P),ht.lastPushedText&&ht.textEmbedded&&ht.chunks.push(Ae),ht.status=1,fa(xe,ht),xe.pendingTasks===0)break e}catch(at){ht.status=4,xe.forceClientRender=!0,xe.errorDigest=da(h,at)}finally{x.blockedBoundary=R,x.blockedSegment=q}x=vo(h,Q,R,$e,le,x.legacyContext,x.context,x.treeContext),h.pingedTasks.push(x)}return}if(typeof R=="object"&&R!==null)switch(R.$$typeof){case Da:if(P=Hs(h,x,R.render,P,q),zi!==0){R=x.treeContext,x.treeContext=Nr(R,1,0);try{Hn(h,x,P)}finally{x.treeContext=R}}else Hn(h,x,P);return;case p:R=R.type,P=ii(R,P),Wi(h,x,R,P,q);return;case Bi:if(q=P.children,R=R._context,P=P.value,Q=R._currentValue,R._currentValue=P,le=Je,Je=P={parent:le,depth:le===null?0:le.depth+1,context:R,parentValue:Q,value:P},x.context=P,Hn(h,x,q),h=Je,h===null)throw Error(e(403));P=h.parentValue,h.context._currentValue=P===K?h.context._defaultValue:P,h=Je=h.parent,x.context=h;return;case Lr:P=P.children,P=P(R._currentValue),Hn(h,x,P);return;case S:q=R._init,R=q(R._payload),P=ii(R,P),Wi(h,x,R,P,void 0);return}throw Error(e(130,R==null?R:typeof R,""))}}function Hn(h,x,R){if(x.node=R,typeof R=="object"&&R!==null){switch(R.$$typeof){case Jn:Wi(h,x,R.type,R.props,R.ref);return;case ti:throw Error(e(257));case S:var P=R._init;R=P(R._payload),Hn(h,x,R);return}if(Mt(R)){qt(h,x,R);return}if(R===null||typeof R!="object"?P=null:(P=ie&&R[ie]||R["@@iterator"],P=typeof P=="function"?P:null),P&&(P=P.call(R))){if(R=P.next(),!R.done){var q=[];do q.push(R.value),R=P.next();while(!R.done);qt(h,x,q)}return}throw h=Object.prototype.toString.call(R),Error(e(31,h==="[object Object]"?"object with keys {"+Object.keys(R).join(", ")+"}":h))}typeof R=="string"?(P=x.blockedSegment,P.lastPushedText=Ze(x.blockedSegment.chunks,R,h.responseState,P.lastPushedText)):typeof R=="number"&&(P=x.blockedSegment,P.lastPushedText=Ze(x.blockedSegment.chunks,""+R,h.responseState,P.lastPushedText))}function qt(h,x,R){for(var P=R.length,q=0;q<P;q++){var Q=x.treeContext;x.treeContext=Nr(Q,P,q);try{Er(h,x,R[q])}finally{x.treeContext=Q}}}function Er(h,x,R){var P=x.blockedSegment.formatContext,q=x.legacyContext,Q=x.context;try{return Hn(h,x,R)}catch($e){if(ho(),typeof $e=="object"&&$e!==null&&typeof $e.then=="function"){R=$e;var le=x.blockedSegment,xe=Cn(h,le.chunks.length,null,le.formatContext,le.lastPushedText,!0);le.children.push(xe),le.lastPushedText=!1,h=vo(h,x.node,x.blockedBoundary,xe,x.abortSet,x.legacyContext,x.context,x.treeContext).ping,R.then(h,h),x.blockedSegment.formatContext=P,x.legacyContext=q,x.context=Q,mr(Q)}else throw x.blockedSegment.formatContext=P,x.legacyContext=q,x.context=Q,mr(Q),$e}}function Qo(h){var x=h.blockedBoundary;h=h.blockedSegment,h.status=3,Gs(this,x,h)}function $s(h,x,R){var P=h.blockedBoundary;h.blockedSegment.status=3,P===null?(x.allPendingTasks--,x.status!==2&&(x.status=2,x.destination!==null&&x.destination.close())):(P.pendingTasks--,P.forceClientRender||(P.forceClientRender=!0,h=R===void 0?Error(e(432)):R,P.errorDigest=x.onError(h),P.parentFlushed&&x.clientRenderedBoundaries.push(P)),P.fallbackAbortableTasks.forEach(function(q){return $s(q,x,R)}),P.fallbackAbortableTasks.clear(),x.allPendingTasks--,x.allPendingTasks===0&&(P=x.onAllReady,P()))}function fa(h,x){if(x.chunks.length===0&&x.children.length===1&&x.children[0].boundary===null){var R=x.children[0];R.id=x.id,R.parentFlushed=!0,R.status===1&&fa(h,R)}else h.completedSegments.push(x)}function Gs(h,x,R){if(x===null){if(R.parentFlushed){if(h.completedRootSegment!==null)throw Error(e(389));h.completedRootSegment=R}h.pendingRootTasks--,h.pendingRootTasks===0&&(h.onShellError=ca,x=h.onShellReady,x())}else x.pendingTasks--,x.forceClientRender||(x.pendingTasks===0?(R.parentFlushed&&R.status===1&&fa(x,R),x.parentFlushed&&h.completedBoundaries.push(x),x.fallbackAbortableTasks.forEach(Qo,h),x.fallbackAbortableTasks.clear()):R.parentFlushed&&R.status===1&&(fa(x,R),x.completedSegments.length===1&&x.parentFlushed&&h.partialBoundaries.push(x)));h.allPendingTasks--,h.allPendingTasks===0&&(h=h.onAllReady,h())}function Zs(h){if(h.status!==2){var x=Je,R=ua.current;ua.current=Wn;var P=Na;Na=h.responseState;try{var q=h.pingedTasks,Q;for(Q=0;Q<q.length;Q++){var le=q[Q],xe=h,$e=le.blockedSegment;if($e.status===0){mr(le.context);try{Hn(xe,le,le.node),$e.lastPushedText&&$e.textEmbedded&&$e.chunks.push(Ae),le.abortSet.delete(le),$e.status=1,Gs(xe,le.blockedBoundary,$e)}catch(Tr){if(ho(),typeof Tr=="object"&&Tr!==null&&typeof Tr.then=="function"){var ht=le.ping;Tr.then(ht,ht)}else{le.abortSet.delete(le),$e.status=4;var at=le.blockedBoundary,Jt=Tr,Qn=da(xe,Jt);if(at===null?Vn(xe,Jt):(at.pendingTasks--,at.forceClientRender||(at.forceClientRender=!0,at.errorDigest=Qn,at.parentFlushed&&xe.clientRenderedBoundaries.push(at))),xe.allPendingTasks--,xe.allPendingTasks===0){var Cr=xe.onAllReady;Cr()}}}finally{}}}q.splice(0,Q),h.destination!==null&&wo(h,h.destination)}catch(Tr){da(h,Tr),Vn(h,Tr)}finally{Na=P,ua.current=R,R===Wn&&mr(x)}}}function yo(h,x,R){switch(R.parentFlushed=!0,R.status){case 0:var P=R.id=h.nextSegmentId++;return R.lastPushedText=!1,R.textEmbedded=!1,h=h.responseState,o(x,Zt),o(x,h.placeholderPrefix),h=w(P.toString(16)),o(x,h),d(x,Ar);case 1:R.status=2;var q=!0;P=R.chunks;var Q=0;R=R.children;for(var le=0;le<R.length;le++){for(q=R[le];Q<q.index;Q++)o(x,P[Q]);q=ja(h,x,q)}for(;Q<P.length-1;Q++)o(x,P[Q]);return Q<P.length&&(q=d(x,P[Q])),q;default:throw Error(e(390))}}function ja(h,x,R){var P=R.boundary;if(P===null)return yo(h,x,R);if(P.parentFlushed=!0,P.forceClientRender)P=P.errorDigest,d(x,Mr),o(x,Kr),P&&(o(x,Jr),o(x,w(Te(P))),o(x,pr)),d(x,ia),yo(h,x,R);else if(0<P.pendingTasks){P.rootSegmentID=h.nextSegmentId++,0<P.completedSegments.length&&h.partialBoundaries.push(P);var q=h.responseState,Q=q.nextSuspenseID++;q=C(q.boundaryPrefix+Q.toString(16)),P=P.id=q,_n(x,h.responseState,P),yo(h,x,R)}else if(P.byteSize>h.progressiveChunkSize)P.rootSegmentID=h.nextSegmentId++,h.completedBoundaries.push(P),_n(x,h.responseState,P.id),yo(h,x,R);else{if(d(x,Zr),R=P.completedSegments,R.length!==1)throw Error(e(391));ja(h,x,R[0])}return d(x,Mi)}function za(h,x,R){return vt(x,h.responseState,R.formatContext,R.id),ja(h,x,R),kt(x,R.formatContext)}function Vi(h,x,R){for(var P=R.completedSegments,q=0;q<P.length;q++)Ys(h,x,R,P[q]);if(P.length=0,h=h.responseState,P=R.id,R=R.rootSegmentID,o(x,h.startInlineScript),h.sentCompleteBoundaryFunction?o(x,on):(h.sentCompleteBoundaryFunction=!0,o(x,Ut)),P===null)throw Error(e(395));return R=w(R.toString(16)),o(x,P),o(x,In),o(x,h.segmentPrefix),o(x,R),d(x,Fr)}function Ys(h,x,R,P){if(P.status===2)return!0;var q=P.id;if(q===-1){if((P.id=R.rootSegmentID)===-1)throw Error(e(392));return za(h,x,P)}return za(h,x,P),h=h.responseState,o(x,h.startInlineScript),h.sentCompleteSegmentFunction?o(x,ft):(h.sentCompleteSegmentFunction=!0,o(x,wt)),o(x,h.segmentPrefix),q=w(q.toString(16)),o(x,q),o(x,ln),o(x,h.placeholderPrefix),o(x,q),d(x,zt)}function wo(h,x){n=new Uint8Array(512),a=0;try{var R=h.completedRootSegment;if(R!==null&&h.pendingRootTasks===0){ja(h,x,R),h.completedRootSegment=null;var P=h.responseState.bootstrapChunks;for(R=0;R<P.length-1;R++)o(x,P[R]);R<P.length&&d(x,P[R])}var q=h.clientRenderedBoundaries,Q;for(Q=0;Q<q.length;Q++){var le=q[Q];P=x;var xe=h.responseState,$e=le.id,ht=le.errorDigest,at=le.errorMessage,Jt=le.errorComponentStack;if(o(P,xe.startInlineScript),xe.sentClientRenderFunction?o(P,un):(xe.sentClientRenderFunction=!0,o(P,Xt)),$e===null)throw Error(e(395));o(P,$e),o(P,Pr),(ht||at||Jt)&&(o(P,kn),o(P,w(_r(ht||"")))),(at||Jt)&&(o(P,kn),o(P,w(_r(at||"")))),Jt&&(o(P,kn),o(P,w(_r(Jt)))),d(P,Sr)}q.splice(0,Q);var Qn=h.completedBoundaries;for(Q=0;Q<Qn.length;Q++)Vi(h,x,Qn[Q]);Qn.splice(0,Q),v(x),n=new Uint8Array(512),a=0;var Cr=h.partialBoundaries;for(Q=0;Q<Cr.length;Q++){var Tr=Cr[Q];e:{q=h,le=x;var xo=Tr.completedSegments;for(xe=0;xe<xo.length;xe++)if(!Ys(q,le,Tr,xo[xe])){xe++,xo.splice(0,xe);var Ks=!1;break e}xo.splice(0,xe),Ks=!0}if(!Ks){h.destination=null,Q++,Cr.splice(0,Q);return}}Cr.splice(0,Q);var qo=h.completedBoundaries;for(Q=0;Q<qo.length;Q++)Vi(h,x,qo[Q]);qo.splice(0,Q)}finally{v(x),h.allPendingTasks===0&&h.pingedTasks.length===0&&h.clientRenderedBoundaries.length===0&&h.completedBoundaries.length===0&&x.close()}}function Xo(h,x){try{var R=h.abortableTasks;R.forEach(function(P){return $s(P,h,x)}),R.clear(),h.destination!==null&&wo(h,h.destination)}catch(P){da(h,P),Vn(h,P)}}return yd.renderToReadableStream=function(h,x){return new Promise(function(R,P){var q,Q,le=new Promise(function(at,Jt){Q=at,q=Jt}),xe=mo(h,ze(x?x.identifierPrefix:void 0,x?x.nonce:void 0,x?x.bootstrapScriptContent:void 0,x?x.bootstrapScripts:void 0,x?x.bootstrapModules:void 0),oe(x?x.namespaceURI:void 0),x?x.progressiveChunkSize:void 0,x?x.onError:void 0,Q,function(){var at=new ReadableStream({type:"bytes",pull:function(Jt){if(xe.status===1)xe.status=2,N(Jt,xe.fatalError);else if(xe.status!==2&&xe.destination===null){xe.destination=Jt;try{wo(xe,Jt)}catch(Qn){da(xe,Qn),Vn(xe,Qn)}}},cancel:function(){Xo(xe)}},{highWaterMark:0});at.allReady=le,R(at)},function(at){le.catch(function(){}),P(at)},q);if(x&&x.signal){var $e=x.signal,ht=function(){Xo(xe,$e.reason),$e.removeEventListener("abort",ht)};$e.addEventListener("abort",ht)}Zs(xe)})},yd.version="18.2.0",yd}var Ol={};/**
|
|
96
96
|
* @license React
|
|
97
97
|
* react-dom-server-legacy.browser.development.js
|
|
98
98
|
*
|
|
@@ -100,11 +100,11 @@ Check the top-level render call using <`+Ce+">.")}return he}}function gr(z,he){{
|
|
|
100
100
|
*
|
|
101
101
|
* This source code is licensed under the MIT license found in the
|
|
102
102
|
* LICENSE file in the root directory of this source tree.
|
|
103
|
-
*/var bh;function _y(){return bh||(bh=1,process.env.NODE_ENV!=="production"&&function(){var r=Le,e="18.2.0",n=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function a(s){{for(var c=arguments.length,g=new Array(c>1?c-1:0),y=1;y<c;y++)g[y-1]=arguments[y];d("warn",s,g)}}function o(s){{for(var c=arguments.length,g=new Array(c>1?c-1:0),y=1;y<c;y++)g[y-1]=arguments[y];d("error",s,g)}}function d(s,c,g){{var y=n.ReactDebugCurrentFrame,T=y.getStackAddendum();T!==""&&(c+="%s",g=g.concat([T]));var D=g.map(function(V){return String(V)});D.unshift("Warning: "+c),Function.prototype.apply.call(console[s],console,D)}}function v(s){s()}function _(s){}function w(s,c){C(s,c)}function C(s,c){return s.push(c)}function N(s){}function L(s){s.push(null)}function W(s){return s}function ge(s){return s}function ae(s,c){s.destroy(c)}function we(s){{var c=typeof Symbol=="function"&&Symbol.toStringTag,g=c&&s[Symbol.toStringTag]||s.constructor.name||"Object";return g}}function Z(s){try{return G(s),!1}catch{return!0}}function G(s){return""+s}function pe(s,c){if(Z(s))return o("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.",c,we(s)),G(s)}function Se(s,c){if(Z(s))return o("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.",c,we(s)),G(s)}function _e(s){if(Z(s))return o("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.",we(s)),G(s)}var re=Object.prototype.hasOwnProperty,Ie=0,Te=1,Dt=2,dt=3,Mt=4,ve=5,ye=6,Re=":A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",Be=Re+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",Ye=new RegExp("^["+Re+"]["+Be+"]*$"),He={},je={};function ze(s){return re.call(je,s)?!0:re.call(He,s)?!1:Ye.test(s)?(je[s]=!0,!0):(He[s]=!0,o("Invalid attribute name: `%s`",s),!1)}function pt(s,c,g,y){if(g!==null&&g.type===Ie)return!1;switch(typeof c){case"function":case"symbol":return!0;case"boolean":{if(y)return!1;if(g!==null)return!g.acceptsBooleans;var T=s.toLowerCase().slice(0,5);return T!=="data-"&&T!=="aria-"}default:return!1}}function oe(s){return Ae.hasOwnProperty(s)?Ae[s]:null}function ue(s,c,g,y,T,D,V){this.acceptsBooleans=c===Dt||c===dt||c===Mt,this.attributeName=y,this.attributeNamespace=T,this.mustUseProperty=g,this.propertyName=s,this.type=c,this.sanitizeURL=D,this.removeEmptyString=V}var Ae={},Ze=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];Ze.forEach(function(s){Ae[s]=new ue(s,Ie,!1,s,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(s){var c=s[0],g=s[1];Ae[c]=new ue(c,Te,!1,g,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(s){Ae[s]=new ue(s,Dt,!1,s.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(s){Ae[s]=new ue(s,Dt,!1,s,null,!1,!1)}),["allowFullScreen","async","autoFocus","autoPlay","controls","default","defer","disabled","disablePictureInPicture","disableRemotePlayback","formNoValidate","hidden","loop","noModule","noValidate","open","playsInline","readOnly","required","reversed","scoped","seamless","itemScope"].forEach(function(s){Ae[s]=new ue(s,dt,!1,s.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(s){Ae[s]=new ue(s,dt,!0,s,null,!1,!1)}),["capture","download"].forEach(function(s){Ae[s]=new ue(s,Mt,!1,s,null,!1,!1)}),["cols","rows","size","span"].forEach(function(s){Ae[s]=new ue(s,ye,!1,s,null,!1,!1)}),["rowSpan","start"].forEach(function(s){Ae[s]=new ue(s,ve,!1,s.toLowerCase(),null,!1,!1)});var Fe=/[\-\:]([a-z])/g,Me=function(s){return s[1].toUpperCase()};["accent-height","alignment-baseline","arabic-form","baseline-shift","cap-height","clip-path","clip-rule","color-interpolation","color-interpolation-filters","color-profile","color-rendering","dominant-baseline","enable-background","fill-opacity","fill-rule","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","glyph-name","glyph-orientation-horizontal","glyph-orientation-vertical","horiz-adv-x","horiz-origin-x","image-rendering","letter-spacing","lighting-color","marker-end","marker-mid","marker-start","overline-position","overline-thickness","paint-order","panose-1","pointer-events","rendering-intent","shape-rendering","stop-color","stop-opacity","strikethrough-position","strikethrough-thickness","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-decoration","text-rendering","underline-position","underline-thickness","unicode-bidi","unicode-range","units-per-em","v-alphabetic","v-hanging","v-ideographic","v-mathematical","vector-effect","vert-adv-y","vert-origin-x","vert-origin-y","word-spacing","writing-mode","xmlns:xlink","x-height"].forEach(function(s){var c=s.replace(Fe,Me);Ae[c]=new ue(c,Te,!1,s,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(s){var c=s.replace(Fe,Me);Ae[c]=new ue(c,Te,!1,s,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(s){var c=s.replace(Fe,Me);Ae[c]=new ue(c,Te,!1,s,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(s){Ae[s]=new ue(s,Te,!1,s.toLowerCase(),null,!1,!1)});var Oe="xlinkHref";Ae[Oe]=new ue("xlinkHref",Te,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(s){Ae[s]=new ue(s,Te,!1,s.toLowerCase(),null,!0,!0)});var qe={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0};function et(s,c){return s+c.charAt(0).toUpperCase()+c.substring(1)}var Ke=["Webkit","ms","Moz","O"];Object.keys(qe).forEach(function(s){Ke.forEach(function(c){qe[et(c,s)]=qe[s]})});var nt={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function _t(s,c){nt[c.type]||c.onChange||c.onInput||c.readOnly||c.disabled||c.value==null||o("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`."),c.onChange||c.readOnly||c.disabled||c.checked==null||o("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")}function ke(s,c){if(s.indexOf("-")===-1)return typeof c.is=="string";switch(s){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var It={"aria-current":0,"aria-description":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0},mt={},fn=new RegExp("^(aria)-["+Be+"]*$"),jn=new RegExp("^(aria)[A-Z]["+Be+"]*$");function Sn(s,c){{if(re.call(mt,c)&&mt[c])return!0;if(jn.test(c)){var g="aria-"+c.slice(4).toLowerCase(),y=It.hasOwnProperty(g)?g:null;if(y==null)return o("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",c),mt[c]=!0,!0;if(c!==y)return o("Invalid ARIA attribute `%s`. Did you mean `%s`?",c,y),mt[c]=!0,!0}if(fn.test(c)){var T=c.toLowerCase(),D=It.hasOwnProperty(T)?T:null;if(D==null)return mt[c]=!0,!1;if(c!==D)return o("Unknown ARIA attribute `%s`. Did you mean `%s`?",c,D),mt[c]=!0,!0}}return!0}function zn(s,c){{var g=[];for(var y in c){var T=Sn(s,y);T||g.push(y)}var D=g.map(function(V){return"`"+V+"`"}).join(", ");g.length===1?o("Invalid aria prop %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",D,s):g.length>1&&o("Invalid aria props %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",D,s)}}function dr(s,c){ke(s,c)||zn(s,c)}var nr=!1;function On(s,c){{if(s!=="input"&&s!=="textarea"&&s!=="select")return;c!=null&&c.value===null&&!nr&&(nr=!0,s==="select"&&c.multiple?o("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",s):o("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",s))}}var yn={accept:"accept",acceptcharset:"acceptCharset","accept-charset":"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",alt:"alt",as:"as",async:"async",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",challenge:"challenge",charset:"charSet",checked:"checked",children:"children",cite:"cite",class:"className",classid:"classID",classname:"className",cols:"cols",colspan:"colSpan",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",controlslist:"controlsList",coords:"coords",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",data:"data",datetime:"dateTime",default:"default",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",defer:"defer",dir:"dir",disabled:"disabled",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback",download:"download",draggable:"draggable",enctype:"encType",enterkeyhint:"enterKeyHint",for:"htmlFor",form:"form",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",id:"id",imagesizes:"imageSizes",imagesrcset:"imageSrcSet",innerhtml:"innerHTML",inputmode:"inputMode",integrity:"integrity",is:"is",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginwidth:"marginWidth",marginheight:"marginHeight",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",nomodule:"noModule",nonce:"nonce",novalidate:"noValidate",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",playsinline:"playsInline",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rel:"rel",required:"required",reversed:"reversed",role:"role",rows:"rows",rowspan:"rowSpan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",about:"about",accentheight:"accentHeight","accent-height":"accentHeight",accumulate:"accumulate",additive:"additive",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",alphabetic:"alphabetic",amplitude:"amplitude",arabicform:"arabicForm","arabic-form":"arabicForm",ascent:"ascent",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",azimuth:"azimuth",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",bbox:"bbox",begin:"begin",bias:"bias",by:"by",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clip:"clip",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",color:"color",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",cursor:"cursor",cx:"cx",cy:"cy",d:"d",datatype:"datatype",decelerate:"decelerate",descent:"descent",diffuseconstant:"diffuseConstant",direction:"direction",display:"display",divisor:"divisor",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",dur:"dur",dx:"dx",dy:"dy",edgemode:"edgeMode",elevation:"elevation",enablebackground:"enableBackground","enable-background":"enableBackground",end:"end",exponent:"exponent",externalresourcesrequired:"externalResourcesRequired",fill:"fill",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filter:"filter",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",focusable:"focusable",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",format:"format",from:"from",fx:"fx",fy:"fy",g1:"g1",g2:"g2",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",hanging:"hanging",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",ideographic:"ideographic",imagerendering:"imageRendering","image-rendering":"imageRendering",in2:"in2",in:"in",inlist:"inlist",intercept:"intercept",k1:"k1",k2:"k2",k3:"k3",k4:"k4",k:"k",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",kerning:"kerning",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",local:"local",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",mask:"mask",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",mathematical:"mathematical",mode:"mode",numoctaves:"numOctaves",offset:"offset",opacity:"opacity",operator:"operator",order:"order",orient:"orient",orientation:"orientation",origin:"origin",overflow:"overflow",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder",panose1:"panose1","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",points:"points",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",prefix:"prefix",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",property:"property",r:"r",radius:"radius",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",resource:"resource",restart:"restart",result:"result",results:"results",rotate:"rotate",rx:"rx",ry:"ry",scale:"scale",security:"security",seed:"seed",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",slope:"slope",spacing:"spacing",specularconstant:"specularConstant",specularexponent:"specularExponent",speed:"speed",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stemh:"stemh",stemv:"stemv",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",string:"string",stroke:"stroke",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",to:"to",transform:"transform",typeof:"typeof",u1:"u1",u2:"u2",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicode:"unicode",unicodebidi:"unicodeBidi","unicode-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",values:"values",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",version:"version",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",visibility:"visibility",vmathematical:"vMathematical","v-mathematical":"vMathematical",vocab:"vocab",widths:"widths",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",x1:"x1",x2:"x2",x:"x",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang",xmlns:"xmlns","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",y1:"y1",y2:"y2",y:"y",ychannelselector:"yChannelSelector",z:"z",zoomandpan:"zoomAndPan"},pn=function(){};{var hn={},fr=/^on./,gi=/^on[^A-Z]/,Un=new RegExp("^(aria)-["+Be+"]*$"),Zt=new RegExp("^(aria)[A-Z]["+Be+"]*$");pn=function(s,c,g,y){if(re.call(hn,c)&&hn[c])return!0;var T=c.toLowerCase();if(T==="onfocusin"||T==="onfocusout")return o("React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React."),hn[c]=!0,!0;if(y!=null){var D=y.registrationNameDependencies,V=y.possibleRegistrationNames;if(D.hasOwnProperty(c))return!0;var ee=V.hasOwnProperty(T)?V[T]:null;if(ee!=null)return o("Invalid event handler property `%s`. Did you mean `%s`?",c,ee),hn[c]=!0,!0;if(fr.test(c))return o("Unknown event handler property `%s`. It will be ignored.",c),hn[c]=!0,!0}else if(fr.test(c))return gi.test(c)&&o("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",c),hn[c]=!0,!0;if(Un.test(c)||Zt.test(c))return!0;if(T==="innerhtml")return o("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),hn[c]=!0,!0;if(T==="aria")return o("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),hn[c]=!0,!0;if(T==="is"&&g!==null&&g!==void 0&&typeof g!="string")return o("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof g),hn[c]=!0,!0;if(typeof g=="number"&&isNaN(g))return o("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",c),hn[c]=!0,!0;var fe=oe(c),Pe=fe!==null&&fe.type===Ie;if(yn.hasOwnProperty(T)){var Ge=yn[T];if(Ge!==c)return o("Invalid DOM property `%s`. Did you mean `%s`?",c,Ge),hn[c]=!0,!0}else if(!Pe&&c!==T)return o("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.",c,T),hn[c]=!0,!0;return typeof g=="boolean"&&pt(c,g,fe,!1)?(g?o('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.',g,c,c,g,c):o('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',g,c,c,g,c,c,c),hn[c]=!0,!0):Pe?!0:pt(c,g,fe,!1)?(hn[c]=!0,!1):((g==="false"||g==="true")&&fe!==null&&fe.type===dt&&(o("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",g,c,g==="false"?"The browser will interpret it as a truthy value.":'Although this works, it will not work as expected if you pass the string "false".',c,g),hn[c]=!0),!0)}}var Ar=function(s,c,g){{var y=[];for(var T in c){var D=pn(s,T,c[T],g);D||y.push(T)}var V=y.map(function(ee){return"`"+ee+"`"}).join(", ");y.length===1?o("Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",V,s):y.length>1&&o("Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",V,s)}};function Zr(s,c,g){ke(s,c)||Ar(s,c,g)}var Or=function(){};{var Yr=/^(?:webkit|moz|o)[A-Z]/,Mr=/^-ms-/,Mi=/-(.)/g,Kr=/;\s*$/,pr={},Jr={},ia=!1,_n=!1,rr=function(s){return s.replace(Mi,function(c,g){return g.toUpperCase()})},Mn=function(s){pr.hasOwnProperty(s)&&pr[s]||(pr[s]=!0,o("Unsupported style property %s. Did you mean %s?",s,rr(s.replace(Mr,"ms-"))))},At=function(s){pr.hasOwnProperty(s)&&pr[s]||(pr[s]=!0,o("Unsupported vendor-prefixed style property %s. Did you mean %s?",s,s.charAt(0).toUpperCase()+s.slice(1)))},hr=function(s,c){Jr.hasOwnProperty(c)&&Jr[c]||(Jr[c]=!0,o(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,s,c.replace(Kr,"")))},Qr=function(s,c){ia||(ia=!0,o("`NaN` is an invalid value for the `%s` css style property.",s))},Xr=function(s,c){_n||(_n=!0,o("`Infinity` is an invalid value for the `%s` css style property.",s))};Or=function(s,c){s.indexOf("-")>-1?Mn(s):Yr.test(s)?At(s):Kr.test(c)&&hr(s,c),typeof c=="number"&&(isNaN(c)?Qr(s,c):isFinite(c)||Xr(s,c))}}var ir=Or,qr=/["'&<>]/;function gr(s){_e(s);var c=""+s,g=qr.exec(c);if(!g)return c;var y,T="",D,V=0;for(D=g.index;D<c.length;D++){switch(c.charCodeAt(D)){case 34:y=""";break;case 38:y="&";break;case 39:y="'";break;case 60:y="<";break;case 62:y=">";break;default:continue}V!==D&&(T+=c.substring(V,D)),V=D+1,T+=y}return V!==D?T+c.substring(V,D):T}function nn(s){return typeof s=="boolean"||typeof s=="number"?""+s:gr(s)}var Fi=/([A-Z])/g,ei=/^ms-/;function Pi(s){return s.replace(Fi,"-$1").toLowerCase().replace(ei,"-ms-")}var rn=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*\:/i,Di=!1;function Fa(s){!Di&&rn.test(s)&&(Di=!0,o("A future version of React will block javascript: URLs as a security precaution. Use event handlers instead if you can. If you need to generate unsafe HTML try using dangerouslySetInnerHTML instead. React was passed %s.",JSON.stringify(s)))}var Pa=Array.isArray;function z(s){return Pa(s)}var he="<script>",Ce="<\/script>",tt='<script src="',vt='<script type="module" src="',kt='" async=""><\/script>';function wt(s){return _e(s),(""+s).replace(ft,ln)}var ft=/(<\/|<)(s)(cript)/gi,ln=function(s,c,g,y){return""+c+(g==="s"?"\\u0073":"\\u0053")+y};function jt(s,c,g,y,T){var D=s===void 0?"":s,V=c===void 0?he:'<script nonce="'+nn(c)+'">',ee=[];if(g!==void 0&&ee.push(V,wt(g),Ce),y!==void 0)for(var fe=0;fe<y.length;fe++)ee.push(tt,nn(y[fe]),kt);if(T!==void 0)for(var Pe=0;Pe<T.length;Pe++)ee.push(vt,nn(T[Pe]),kt);return{bootstrapChunks:ee,startInlineScript:V,placeholderPrefix:D+"P:",segmentPrefix:D+"S:",boundaryPrefix:D+"B:",idPrefix:D,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1}}var zt=0,on=1,In=2,Fr=3,Xt=4,un=5,Pr=6,Sr=7;function kn(s,c){return{insertionMode:s,selectedValue:c}}function Li(s,c,g){switch(c){case"select":return kn(on,g.value!=null?g.value:g.defaultValue);case"svg":return kn(In,null);case"math":return kn(Fr,null);case"foreignObject":return kn(on,null);case"table":return kn(Xt,null);case"thead":case"tbody":case"tfoot":return kn(un,null);case"colgroup":return kn(Sr,null);case"tr":return kn(Pr,null)}return s.insertionMode>=Xt||s.insertionMode===zt?kn(on,null):s}var _r=null;function Dr(s){var c=s.nextSuspenseID++;return s.boundaryPrefix+c.toString(16)}function Jn(s,c,g){var y=s.idPrefix,T=":"+y+"R"+c;return g>0&&(T+="H"+g.toString(32)),T+":"}function ti(s){return nn(s)}var mi="<!-- -->";function aa(s,c,g,y){return c===""?y:(y&&s.push(mi),s.push(ti(c)),!0)}function oa(s,c,g,y){g&&y&&s.push(mi)}var Bi=new Map;function Lr(s){var c=Bi.get(s);if(c!==void 0)return c;var g=nn(Pi(s));return Bi.set(s,g),g}var Da=' style="',Ni=":",ni=";";function p(s,c,g){if(typeof g!="object")throw new Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");var y=!0;for(var T in g)if(re.call(g,T)){var D=g[T];if(!(D==null||typeof D=="boolean"||D==="")){var V=void 0,ee=void 0,fe=T.indexOf("--")===0;fe?(V=nn(T),Se(D,T),ee=nn((""+D).trim())):(ir(T,D),V=Lr(T),typeof D=="number"?D!==0&&!re.call(qe,T)?ee=D+"px":ee=""+D:(Se(D,T),ee=nn((""+D).trim()))),y?(y=!1,s.push(Da,V,Ni,ee)):s.push(ni,V,Ni,ee)}}y||s.push(F)}var S=" ",A='="',F='"',X='=""';function K(s,c,g,y){switch(g){case"style":{p(s,c,y);return}case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(g.length>2&&(g[0]==="o"||g[0]==="O")&&(g[1]==="n"||g[1]==="N"))){var T=oe(g);if(T!==null){switch(typeof y){case"function":case"symbol":return;case"boolean":if(!T.acceptsBooleans)return}var D=T.attributeName,V=D;switch(T.type){case dt:y&&s.push(S,V,X);return;case Mt:y===!0?s.push(S,V,X):y===!1||s.push(S,V,A,nn(y),F);return;case ve:isNaN(y)||s.push(S,V,A,nn(y),F);break;case ye:!isNaN(y)&&y>=1&&s.push(S,V,A,nn(y),F);break;default:T.sanitizeURL&&(pe(y,D),y=""+y,Fa(y)),s.push(S,V,A,nn(y),F)}}else if(ze(g)){switch(typeof y){case"function":case"symbol":return;case"boolean":{var ee=g.toLowerCase().slice(0,5);if(ee!=="data-"&&ee!=="aria-")return}}s.push(S,g,A,nn(y),F)}}}var ie=">",be="/>";function We(s,c,g){if(c!=null){if(g!=null)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof c!="object"||!("__html"in c))throw new Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.");var y=c.__html;y!=null&&(_e(y),s.push(""+y))}}var Qe=!1,Je=!1,Ft=!1,ar=!1,Fn=!1,Pn=!1,Br=!1;function mr(s,c){{var g=s[c];if(g!=null){var y=z(g);s.multiple&&!y?o("The `%s` prop supplied to <select> must be an array if `multiple` is true.",c):!s.multiple&&y&&o("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.",c)}}}function sa(s,c,g){_t("select",c),mr(c,"value"),mr(c,"defaultValue"),c.value!==void 0&&c.defaultValue!==void 0&&!Ft&&(o("Select elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled select element and remove one of these props. More info: https://reactjs.org/link/controlled-components"),Ft=!0),s.push(xt("select"));var y=null,T=null;for(var D in c)if(re.call(c,D)){var V=c[D];if(V==null)continue;switch(D){case"children":y=V;break;case"dangerouslySetInnerHTML":T=V;break;case"defaultValue":case"value":break;default:K(s,g,D,V);break}}return s.push(ie),We(s,T,y),y}function vi(s){var c="";return r.Children.forEach(s,function(g){g!=null&&(c+=g,!Fn&&typeof g!="string"&&typeof g!="number"&&(Fn=!0,o("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>.")))}),c}var ji=' selected=""';function Nr(s,c,g,y){var T=y.selectedValue;s.push(xt("option"));var D=null,V=null,ee=null,fe=null;for(var Pe in c)if(re.call(c,Pe)){var Ge=c[Pe];if(Ge==null)continue;switch(Pe){case"children":D=Ge;break;case"selected":ee=Ge,Br||(o("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),Br=!0);break;case"dangerouslySetInnerHTML":fe=Ge;break;case"value":V=Ge;default:K(s,g,Pe,Ge);break}}if(T!=null){var it;if(V!==null?(pe(V,"value"),it=""+V):(fe!==null&&(Pn||(Pn=!0,o("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),it=vi(D)),z(T))for(var sn=0;sn<T.length;sn++){pe(T[sn],"value");var Ln=""+T[sn];if(Ln===it){s.push(ji);break}}else pe(T,"select.value"),""+T===it&&s.push(ji)}else ee&&s.push(ji);return s.push(ie),We(s,fe,D),D}function La(s,c,g){_t("input",c),c.checked!==void 0&&c.defaultChecked!==void 0&&!Je&&(o("%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components","A component",c.type),Je=!0),c.value!==void 0&&c.defaultValue!==void 0&&!Qe&&(o("%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components","A component",c.type),Qe=!0),s.push(xt("input"));var y=null,T=null,D=null,V=null;for(var ee in c)if(re.call(c,ee)){var fe=c[ee];if(fe==null)continue;switch(ee){case"children":case"dangerouslySetInnerHTML":throw new Error("input is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");case"defaultChecked":V=fe;break;case"defaultValue":T=fe;break;case"checked":D=fe;break;case"value":y=fe;break;default:K(s,g,ee,fe);break}}return D!==null?K(s,g,"checked",D):V!==null&&K(s,g,"checked",V),y!==null?K(s,g,"value",y):T!==null&&K(s,g,"value",T),s.push(be),null}function Fl(s,c,g){_t("textarea",c),c.value!==void 0&&c.defaultValue!==void 0&&!ar&&(o("Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://reactjs.org/link/controlled-components"),ar=!0),s.push(xt("textarea"));var y=null,T=null,D=null;for(var V in c)if(re.call(c,V)){var ee=c[V];if(ee==null)continue;switch(V){case"children":D=ee;break;case"value":y=ee;break;case"defaultValue":T=ee;break;case"dangerouslySetInnerHTML":throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");default:K(s,g,V,ee);break}}if(y===null&&T!==null&&(y=T),s.push(ie),D!=null){if(o("Use the `defaultValue` or `value` props instead of setting children on <textarea>."),y!=null)throw new Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(z(D)){if(D.length>1)throw new Error("<textarea> can only have at most one child.");_e(D[0]),y=""+D[0]}_e(D),y=""+D}return typeof y=="string"&&y[0]===`
|
|
103
|
+
*/var yh;function ky(){return yh||(yh=1,process.env.NODE_ENV!=="production"&&function(){var r=De,e="18.2.0",n=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function a(s){{for(var c=arguments.length,g=new Array(c>1?c-1:0),y=1;y<c;y++)g[y-1]=arguments[y];d("warn",s,g)}}function o(s){{for(var c=arguments.length,g=new Array(c>1?c-1:0),y=1;y<c;y++)g[y-1]=arguments[y];d("error",s,g)}}function d(s,c,g){{var y=n.ReactDebugCurrentFrame,T=y.getStackAddendum();T!==""&&(c+="%s",g=g.concat([T]));var D=g.map(function(V){return String(V)});D.unshift("Warning: "+c),Function.prototype.apply.call(console[s],console,D)}}function v(s){s()}function _(s){}function w(s,c){C(s,c)}function C(s,c){return s.push(c)}function N(s){}function L(s){s.push(null)}function W(s){return s}function ge(s){return s}function ae(s,c){s.destroy(c)}function we(s){{var c=typeof Symbol=="function"&&Symbol.toStringTag,g=c&&s[Symbol.toStringTag]||s.constructor.name||"Object";return g}}function Z(s){try{return G(s),!1}catch{return!0}}function G(s){return""+s}function pe(s,c){if(Z(s))return o("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.",c,we(s)),G(s)}function Se(s,c){if(Z(s))return o("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.",c,we(s)),G(s)}function _e(s){if(Z(s))return o("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.",we(s)),G(s)}var re=Object.prototype.hasOwnProperty,Ie=0,Te=1,Dt=2,dt=3,Mt=4,ve=5,ye=6,Re=":A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",Be=Re+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",Ye=new RegExp("^["+Re+"]["+Be+"]*$"),He={},je={};function ze(s){return re.call(je,s)?!0:re.call(He,s)?!1:Ye.test(s)?(je[s]=!0,!0):(He[s]=!0,o("Invalid attribute name: `%s`",s),!1)}function pt(s,c,g,y){if(g!==null&&g.type===Ie)return!1;switch(typeof c){case"function":case"symbol":return!0;case"boolean":{if(y)return!1;if(g!==null)return!g.acceptsBooleans;var T=s.toLowerCase().slice(0,5);return T!=="data-"&&T!=="aria-"}default:return!1}}function oe(s){return Ae.hasOwnProperty(s)?Ae[s]:null}function ue(s,c,g,y,T,D,V){this.acceptsBooleans=c===Dt||c===dt||c===Mt,this.attributeName=y,this.attributeNamespace=T,this.mustUseProperty=g,this.propertyName=s,this.type=c,this.sanitizeURL=D,this.removeEmptyString=V}var Ae={},Ze=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];Ze.forEach(function(s){Ae[s]=new ue(s,Ie,!1,s,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(s){var c=s[0],g=s[1];Ae[c]=new ue(c,Te,!1,g,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(s){Ae[s]=new ue(s,Dt,!1,s.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(s){Ae[s]=new ue(s,Dt,!1,s,null,!1,!1)}),["allowFullScreen","async","autoFocus","autoPlay","controls","default","defer","disabled","disablePictureInPicture","disableRemotePlayback","formNoValidate","hidden","loop","noModule","noValidate","open","playsInline","readOnly","required","reversed","scoped","seamless","itemScope"].forEach(function(s){Ae[s]=new ue(s,dt,!1,s.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(s){Ae[s]=new ue(s,dt,!0,s,null,!1,!1)}),["capture","download"].forEach(function(s){Ae[s]=new ue(s,Mt,!1,s,null,!1,!1)}),["cols","rows","size","span"].forEach(function(s){Ae[s]=new ue(s,ye,!1,s,null,!1,!1)}),["rowSpan","start"].forEach(function(s){Ae[s]=new ue(s,ve,!1,s.toLowerCase(),null,!1,!1)});var Fe=/[\-\:]([a-z])/g,Me=function(s){return s[1].toUpperCase()};["accent-height","alignment-baseline","arabic-form","baseline-shift","cap-height","clip-path","clip-rule","color-interpolation","color-interpolation-filters","color-profile","color-rendering","dominant-baseline","enable-background","fill-opacity","fill-rule","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","glyph-name","glyph-orientation-horizontal","glyph-orientation-vertical","horiz-adv-x","horiz-origin-x","image-rendering","letter-spacing","lighting-color","marker-end","marker-mid","marker-start","overline-position","overline-thickness","paint-order","panose-1","pointer-events","rendering-intent","shape-rendering","stop-color","stop-opacity","strikethrough-position","strikethrough-thickness","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-decoration","text-rendering","underline-position","underline-thickness","unicode-bidi","unicode-range","units-per-em","v-alphabetic","v-hanging","v-ideographic","v-mathematical","vector-effect","vert-adv-y","vert-origin-x","vert-origin-y","word-spacing","writing-mode","xmlns:xlink","x-height"].forEach(function(s){var c=s.replace(Fe,Me);Ae[c]=new ue(c,Te,!1,s,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(s){var c=s.replace(Fe,Me);Ae[c]=new ue(c,Te,!1,s,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(s){var c=s.replace(Fe,Me);Ae[c]=new ue(c,Te,!1,s,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(s){Ae[s]=new ue(s,Te,!1,s.toLowerCase(),null,!1,!1)});var Oe="xlinkHref";Ae[Oe]=new ue("xlinkHref",Te,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(s){Ae[s]=new ue(s,Te,!1,s.toLowerCase(),null,!0,!0)});var qe={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0};function et(s,c){return s+c.charAt(0).toUpperCase()+c.substring(1)}var Ke=["Webkit","ms","Moz","O"];Object.keys(qe).forEach(function(s){Ke.forEach(function(c){qe[et(c,s)]=qe[s]})});var nt={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function _t(s,c){nt[c.type]||c.onChange||c.onInput||c.readOnly||c.disabled||c.value==null||o("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`."),c.onChange||c.readOnly||c.disabled||c.checked==null||o("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")}function ke(s,c){if(s.indexOf("-")===-1)return typeof c.is=="string";switch(s){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var It={"aria-current":0,"aria-description":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0},mt={},fn=new RegExp("^(aria)-["+Be+"]*$"),jn=new RegExp("^(aria)[A-Z]["+Be+"]*$");function Sn(s,c){{if(re.call(mt,c)&&mt[c])return!0;if(jn.test(c)){var g="aria-"+c.slice(4).toLowerCase(),y=It.hasOwnProperty(g)?g:null;if(y==null)return o("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",c),mt[c]=!0,!0;if(c!==y)return o("Invalid ARIA attribute `%s`. Did you mean `%s`?",c,y),mt[c]=!0,!0}if(fn.test(c)){var T=c.toLowerCase(),D=It.hasOwnProperty(T)?T:null;if(D==null)return mt[c]=!0,!1;if(c!==D)return o("Unknown ARIA attribute `%s`. Did you mean `%s`?",c,D),mt[c]=!0,!0}}return!0}function zn(s,c){{var g=[];for(var y in c){var T=Sn(s,y);T||g.push(y)}var D=g.map(function(V){return"`"+V+"`"}).join(", ");g.length===1?o("Invalid aria prop %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",D,s):g.length>1&&o("Invalid aria props %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",D,s)}}function dr(s,c){ke(s,c)||zn(s,c)}var nr=!1;function On(s,c){{if(s!=="input"&&s!=="textarea"&&s!=="select")return;c!=null&&c.value===null&&!nr&&(nr=!0,s==="select"&&c.multiple?o("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",s):o("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",s))}}var yn={accept:"accept",acceptcharset:"acceptCharset","accept-charset":"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",alt:"alt",as:"as",async:"async",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",challenge:"challenge",charset:"charSet",checked:"checked",children:"children",cite:"cite",class:"className",classid:"classID",classname:"className",cols:"cols",colspan:"colSpan",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",controlslist:"controlsList",coords:"coords",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",data:"data",datetime:"dateTime",default:"default",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",defer:"defer",dir:"dir",disabled:"disabled",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback",download:"download",draggable:"draggable",enctype:"encType",enterkeyhint:"enterKeyHint",for:"htmlFor",form:"form",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",id:"id",imagesizes:"imageSizes",imagesrcset:"imageSrcSet",innerhtml:"innerHTML",inputmode:"inputMode",integrity:"integrity",is:"is",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginwidth:"marginWidth",marginheight:"marginHeight",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",nomodule:"noModule",nonce:"nonce",novalidate:"noValidate",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",playsinline:"playsInline",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rel:"rel",required:"required",reversed:"reversed",role:"role",rows:"rows",rowspan:"rowSpan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",about:"about",accentheight:"accentHeight","accent-height":"accentHeight",accumulate:"accumulate",additive:"additive",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",alphabetic:"alphabetic",amplitude:"amplitude",arabicform:"arabicForm","arabic-form":"arabicForm",ascent:"ascent",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",azimuth:"azimuth",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",bbox:"bbox",begin:"begin",bias:"bias",by:"by",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clip:"clip",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",color:"color",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",cursor:"cursor",cx:"cx",cy:"cy",d:"d",datatype:"datatype",decelerate:"decelerate",descent:"descent",diffuseconstant:"diffuseConstant",direction:"direction",display:"display",divisor:"divisor",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",dur:"dur",dx:"dx",dy:"dy",edgemode:"edgeMode",elevation:"elevation",enablebackground:"enableBackground","enable-background":"enableBackground",end:"end",exponent:"exponent",externalresourcesrequired:"externalResourcesRequired",fill:"fill",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filter:"filter",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",focusable:"focusable",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",format:"format",from:"from",fx:"fx",fy:"fy",g1:"g1",g2:"g2",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",hanging:"hanging",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",ideographic:"ideographic",imagerendering:"imageRendering","image-rendering":"imageRendering",in2:"in2",in:"in",inlist:"inlist",intercept:"intercept",k1:"k1",k2:"k2",k3:"k3",k4:"k4",k:"k",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",kerning:"kerning",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",local:"local",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",mask:"mask",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",mathematical:"mathematical",mode:"mode",numoctaves:"numOctaves",offset:"offset",opacity:"opacity",operator:"operator",order:"order",orient:"orient",orientation:"orientation",origin:"origin",overflow:"overflow",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder",panose1:"panose1","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",points:"points",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",prefix:"prefix",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",property:"property",r:"r",radius:"radius",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",resource:"resource",restart:"restart",result:"result",results:"results",rotate:"rotate",rx:"rx",ry:"ry",scale:"scale",security:"security",seed:"seed",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",slope:"slope",spacing:"spacing",specularconstant:"specularConstant",specularexponent:"specularExponent",speed:"speed",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stemh:"stemh",stemv:"stemv",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",string:"string",stroke:"stroke",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",to:"to",transform:"transform",typeof:"typeof",u1:"u1",u2:"u2",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicode:"unicode",unicodebidi:"unicodeBidi","unicode-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",values:"values",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",version:"version",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",visibility:"visibility",vmathematical:"vMathematical","v-mathematical":"vMathematical",vocab:"vocab",widths:"widths",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",x1:"x1",x2:"x2",x:"x",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang",xmlns:"xmlns","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",y1:"y1",y2:"y2",y:"y",ychannelselector:"yChannelSelector",z:"z",zoomandpan:"zoomAndPan"},pn=function(){};{var hn={},fr=/^on./,gi=/^on[^A-Z]/,Un=new RegExp("^(aria)-["+Be+"]*$"),Zt=new RegExp("^(aria)[A-Z]["+Be+"]*$");pn=function(s,c,g,y){if(re.call(hn,c)&&hn[c])return!0;var T=c.toLowerCase();if(T==="onfocusin"||T==="onfocusout")return o("React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React."),hn[c]=!0,!0;if(y!=null){var D=y.registrationNameDependencies,V=y.possibleRegistrationNames;if(D.hasOwnProperty(c))return!0;var ee=V.hasOwnProperty(T)?V[T]:null;if(ee!=null)return o("Invalid event handler property `%s`. Did you mean `%s`?",c,ee),hn[c]=!0,!0;if(fr.test(c))return o("Unknown event handler property `%s`. It will be ignored.",c),hn[c]=!0,!0}else if(fr.test(c))return gi.test(c)&&o("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",c),hn[c]=!0,!0;if(Un.test(c)||Zt.test(c))return!0;if(T==="innerhtml")return o("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),hn[c]=!0,!0;if(T==="aria")return o("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),hn[c]=!0,!0;if(T==="is"&&g!==null&&g!==void 0&&typeof g!="string")return o("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof g),hn[c]=!0,!0;if(typeof g=="number"&&isNaN(g))return o("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",c),hn[c]=!0,!0;var fe=oe(c),Pe=fe!==null&&fe.type===Ie;if(yn.hasOwnProperty(T)){var Ge=yn[T];if(Ge!==c)return o("Invalid DOM property `%s`. Did you mean `%s`?",c,Ge),hn[c]=!0,!0}else if(!Pe&&c!==T)return o("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.",c,T),hn[c]=!0,!0;return typeof g=="boolean"&&pt(c,g,fe,!1)?(g?o('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.',g,c,c,g,c):o('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',g,c,c,g,c,c,c),hn[c]=!0,!0):Pe?!0:pt(c,g,fe,!1)?(hn[c]=!0,!1):((g==="false"||g==="true")&&fe!==null&&fe.type===dt&&(o("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",g,c,g==="false"?"The browser will interpret it as a truthy value.":'Although this works, it will not work as expected if you pass the string "false".',c,g),hn[c]=!0),!0)}}var Ar=function(s,c,g){{var y=[];for(var T in c){var D=pn(s,T,c[T],g);D||y.push(T)}var V=y.map(function(ee){return"`"+ee+"`"}).join(", ");y.length===1?o("Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",V,s):y.length>1&&o("Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",V,s)}};function Zr(s,c,g){ke(s,c)||Ar(s,c,g)}var Or=function(){};{var Yr=/^(?:webkit|moz|o)[A-Z]/,Mr=/^-ms-/,Mi=/-(.)/g,Kr=/;\s*$/,pr={},Jr={},ia=!1,_n=!1,rr=function(s){return s.replace(Mi,function(c,g){return g.toUpperCase()})},Mn=function(s){pr.hasOwnProperty(s)&&pr[s]||(pr[s]=!0,o("Unsupported style property %s. Did you mean %s?",s,rr(s.replace(Mr,"ms-"))))},At=function(s){pr.hasOwnProperty(s)&&pr[s]||(pr[s]=!0,o("Unsupported vendor-prefixed style property %s. Did you mean %s?",s,s.charAt(0).toUpperCase()+s.slice(1)))},hr=function(s,c){Jr.hasOwnProperty(c)&&Jr[c]||(Jr[c]=!0,o(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,s,c.replace(Kr,"")))},Qr=function(s,c){ia||(ia=!0,o("`NaN` is an invalid value for the `%s` css style property.",s))},Xr=function(s,c){_n||(_n=!0,o("`Infinity` is an invalid value for the `%s` css style property.",s))};Or=function(s,c){s.indexOf("-")>-1?Mn(s):Yr.test(s)?At(s):Kr.test(c)&&hr(s,c),typeof c=="number"&&(isNaN(c)?Qr(s,c):isFinite(c)||Xr(s,c))}}var ir=Or,qr=/["'&<>]/;function gr(s){_e(s);var c=""+s,g=qr.exec(c);if(!g)return c;var y,T="",D,V=0;for(D=g.index;D<c.length;D++){switch(c.charCodeAt(D)){case 34:y=""";break;case 38:y="&";break;case 39:y="'";break;case 60:y="<";break;case 62:y=">";break;default:continue}V!==D&&(T+=c.substring(V,D)),V=D+1,T+=y}return V!==D?T+c.substring(V,D):T}function nn(s){return typeof s=="boolean"||typeof s=="number"?""+s:gr(s)}var Fi=/([A-Z])/g,ei=/^ms-/;function Pi(s){return s.replace(Fi,"-$1").toLowerCase().replace(ei,"-ms-")}var rn=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*\:/i,Di=!1;function Fa(s){!Di&&rn.test(s)&&(Di=!0,o("A future version of React will block javascript: URLs as a security precaution. Use event handlers instead if you can. If you need to generate unsafe HTML try using dangerouslySetInnerHTML instead. React was passed %s.",JSON.stringify(s)))}var Pa=Array.isArray;function z(s){return Pa(s)}var he="<script>",Ce="<\/script>",tt='<script src="',vt='<script type="module" src="',kt='" async=""><\/script>';function wt(s){return _e(s),(""+s).replace(ft,ln)}var ft=/(<\/|<)(s)(cript)/gi,ln=function(s,c,g,y){return""+c+(g==="s"?"\\u0073":"\\u0053")+y};function zt(s,c,g,y,T){var D=s===void 0?"":s,V=c===void 0?he:'<script nonce="'+nn(c)+'">',ee=[];if(g!==void 0&&ee.push(V,wt(g),Ce),y!==void 0)for(var fe=0;fe<y.length;fe++)ee.push(tt,nn(y[fe]),kt);if(T!==void 0)for(var Pe=0;Pe<T.length;Pe++)ee.push(vt,nn(T[Pe]),kt);return{bootstrapChunks:ee,startInlineScript:V,placeholderPrefix:D+"P:",segmentPrefix:D+"S:",boundaryPrefix:D+"B:",idPrefix:D,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1}}var Ut=0,on=1,In=2,Fr=3,Xt=4,un=5,Pr=6,Sr=7;function kn(s,c){return{insertionMode:s,selectedValue:c}}function Li(s,c,g){switch(c){case"select":return kn(on,g.value!=null?g.value:g.defaultValue);case"svg":return kn(In,null);case"math":return kn(Fr,null);case"foreignObject":return kn(on,null);case"table":return kn(Xt,null);case"thead":case"tbody":case"tfoot":return kn(un,null);case"colgroup":return kn(Sr,null);case"tr":return kn(Pr,null)}return s.insertionMode>=Xt||s.insertionMode===Ut?kn(on,null):s}var _r=null;function Dr(s){var c=s.nextSuspenseID++;return s.boundaryPrefix+c.toString(16)}function Jn(s,c,g){var y=s.idPrefix,T=":"+y+"R"+c;return g>0&&(T+="H"+g.toString(32)),T+":"}function ti(s){return nn(s)}var mi="<!-- -->";function aa(s,c,g,y){return c===""?y:(y&&s.push(mi),s.push(ti(c)),!0)}function oa(s,c,g,y){g&&y&&s.push(mi)}var Bi=new Map;function Lr(s){var c=Bi.get(s);if(c!==void 0)return c;var g=nn(Pi(s));return Bi.set(s,g),g}var Da=' style="',Ni=":",ni=";";function p(s,c,g){if(typeof g!="object")throw new Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");var y=!0;for(var T in g)if(re.call(g,T)){var D=g[T];if(!(D==null||typeof D=="boolean"||D==="")){var V=void 0,ee=void 0,fe=T.indexOf("--")===0;fe?(V=nn(T),Se(D,T),ee=nn((""+D).trim())):(ir(T,D),V=Lr(T),typeof D=="number"?D!==0&&!re.call(qe,T)?ee=D+"px":ee=""+D:(Se(D,T),ee=nn((""+D).trim()))),y?(y=!1,s.push(Da,V,Ni,ee)):s.push(ni,V,Ni,ee)}}y||s.push(F)}var S=" ",A='="',F='"',X='=""';function K(s,c,g,y){switch(g){case"style":{p(s,c,y);return}case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(g.length>2&&(g[0]==="o"||g[0]==="O")&&(g[1]==="n"||g[1]==="N"))){var T=oe(g);if(T!==null){switch(typeof y){case"function":case"symbol":return;case"boolean":if(!T.acceptsBooleans)return}var D=T.attributeName,V=D;switch(T.type){case dt:y&&s.push(S,V,X);return;case Mt:y===!0?s.push(S,V,X):y===!1||s.push(S,V,A,nn(y),F);return;case ve:isNaN(y)||s.push(S,V,A,nn(y),F);break;case ye:!isNaN(y)&&y>=1&&s.push(S,V,A,nn(y),F);break;default:T.sanitizeURL&&(pe(y,D),y=""+y,Fa(y)),s.push(S,V,A,nn(y),F)}}else if(ze(g)){switch(typeof y){case"function":case"symbol":return;case"boolean":{var ee=g.toLowerCase().slice(0,5);if(ee!=="data-"&&ee!=="aria-")return}}s.push(S,g,A,nn(y),F)}}}var ie=">",be="/>";function We(s,c,g){if(c!=null){if(g!=null)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof c!="object"||!("__html"in c))throw new Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.");var y=c.__html;y!=null&&(_e(y),s.push(""+y))}}var Qe=!1,Je=!1,Ft=!1,ar=!1,Fn=!1,Pn=!1,Br=!1;function mr(s,c){{var g=s[c];if(g!=null){var y=z(g);s.multiple&&!y?o("The `%s` prop supplied to <select> must be an array if `multiple` is true.",c):!s.multiple&&y&&o("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.",c)}}}function sa(s,c,g){_t("select",c),mr(c,"value"),mr(c,"defaultValue"),c.value!==void 0&&c.defaultValue!==void 0&&!Ft&&(o("Select elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled select element and remove one of these props. More info: https://reactjs.org/link/controlled-components"),Ft=!0),s.push(xt("select"));var y=null,T=null;for(var D in c)if(re.call(c,D)){var V=c[D];if(V==null)continue;switch(D){case"children":y=V;break;case"dangerouslySetInnerHTML":T=V;break;case"defaultValue":case"value":break;default:K(s,g,D,V);break}}return s.push(ie),We(s,T,y),y}function vi(s){var c="";return r.Children.forEach(s,function(g){g!=null&&(c+=g,!Fn&&typeof g!="string"&&typeof g!="number"&&(Fn=!0,o("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>.")))}),c}var ji=' selected=""';function Nr(s,c,g,y){var T=y.selectedValue;s.push(xt("option"));var D=null,V=null,ee=null,fe=null;for(var Pe in c)if(re.call(c,Pe)){var Ge=c[Pe];if(Ge==null)continue;switch(Pe){case"children":D=Ge;break;case"selected":ee=Ge,Br||(o("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),Br=!0);break;case"dangerouslySetInnerHTML":fe=Ge;break;case"value":V=Ge;default:K(s,g,Pe,Ge);break}}if(T!=null){var it;if(V!==null?(pe(V,"value"),it=""+V):(fe!==null&&(Pn||(Pn=!0,o("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),it=vi(D)),z(T))for(var sn=0;sn<T.length;sn++){pe(T[sn],"value");var Ln=""+T[sn];if(Ln===it){s.push(ji);break}}else pe(T,"select.value"),""+T===it&&s.push(ji)}else ee&&s.push(ji);return s.push(ie),We(s,fe,D),D}function La(s,c,g){_t("input",c),c.checked!==void 0&&c.defaultChecked!==void 0&&!Je&&(o("%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components","A component",c.type),Je=!0),c.value!==void 0&&c.defaultValue!==void 0&&!Qe&&(o("%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components","A component",c.type),Qe=!0),s.push(xt("input"));var y=null,T=null,D=null,V=null;for(var ee in c)if(re.call(c,ee)){var fe=c[ee];if(fe==null)continue;switch(ee){case"children":case"dangerouslySetInnerHTML":throw new Error("input is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");case"defaultChecked":V=fe;break;case"defaultValue":T=fe;break;case"checked":D=fe;break;case"value":y=fe;break;default:K(s,g,ee,fe);break}}return D!==null?K(s,g,"checked",D):V!==null&&K(s,g,"checked",V),y!==null?K(s,g,"value",y):T!==null&&K(s,g,"value",T),s.push(be),null}function Fl(s,c,g){_t("textarea",c),c.value!==void 0&&c.defaultValue!==void 0&&!ar&&(o("Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://reactjs.org/link/controlled-components"),ar=!0),s.push(xt("textarea"));var y=null,T=null,D=null;for(var V in c)if(re.call(c,V)){var ee=c[V];if(ee==null)continue;switch(V){case"children":D=ee;break;case"value":y=ee;break;case"defaultValue":T=ee;break;case"dangerouslySetInnerHTML":throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");default:K(s,g,V,ee);break}}if(y===null&&T!==null&&(y=T),s.push(ie),D!=null){if(o("Use the `defaultValue` or `value` props instead of setting children on <textarea>."),y!=null)throw new Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(z(D)){if(D.length>1)throw new Error("<textarea> can only have at most one child.");_e(D[0]),y=""+D[0]}_e(D),y=""+D}return typeof y=="string"&&y[0]===`
|
|
104
104
|
`&&s.push(Ba),y!==null&&(pe(y,"value"),s.push(ti(""+y))),null}function Pl(s,c,g,y){s.push(xt(g));for(var T in c)if(re.call(c,T)){var D=c[T];if(D==null)continue;switch(T){case"children":case"dangerouslySetInnerHTML":throw new Error(g+" is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:K(s,y,T,D);break}}return s.push(be),null}function Zo(s,c,g){s.push(xt("menuitem"));for(var y in c)if(re.call(c,y)){var T=c[y];if(T==null)continue;switch(y){case"children":case"dangerouslySetInnerHTML":throw new Error("menuitems cannot have `children` nor `dangerouslySetInnerHTML`.");default:K(s,g,y,T);break}}return s.push(ie),null}function Yo(s,c,g){s.push(xt("title"));var y=null;for(var T in c)if(re.call(c,T)){var D=c[T];if(D==null)continue;switch(T){case"children":y=D;break;case"dangerouslySetInnerHTML":throw new Error("`dangerouslySetInnerHTML` does not make sense on <title>.");default:K(s,g,T,D);break}}s.push(ie);{var V=Array.isArray(y)&&y.length<2?y[0]||null:y;Array.isArray(y)&&y.length>1?o("A title element received an array with more than 1 element as children. In browsers title Elements can only have Text Nodes as children. If the children being rendered output more than a single text node in aggregate the browser will display markup and comments as text in the title and hydration will likely fail and fall back to client rendering"):V!=null&&V.$$typeof!=null?o("A title element received a React element for children. In the browser title Elements can only have Text Nodes as children. If the children being rendered output more than a single text node in aggregate the browser will display markup and comments as text in the title and hydration will likely fail and fall back to client rendering"):V!=null&&typeof V!="string"&&typeof V!="number"&&o("A title element received a value that was not a string or number for children. In the browser title Elements can only have Text Nodes as children. If the children being rendered output more than a single text node in aggregate the browser will display markup and comments as text in the title and hydration will likely fail and fall back to client rendering")}return y}function Ko(s,c,g,y){s.push(xt(g));var T=null,D=null;for(var V in c)if(re.call(c,V)){var ee=c[V];if(ee==null)continue;switch(V){case"children":T=ee;break;case"dangerouslySetInnerHTML":D=ee;break;default:K(s,y,V,ee);break}}return s.push(ie),We(s,D,T),typeof T=="string"?(s.push(ti(T)),null):T}function ri(s,c,g,y){s.push(xt(g));var T=null,D=null;for(var V in c)if(re.call(c,V)){var ee=c[V];if(ee==null)continue;switch(V){case"children":T=ee;break;case"dangerouslySetInnerHTML":D=ee;break;case"style":p(s,y,ee);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:ze(V)&&typeof ee!="function"&&typeof ee!="symbol"&&s.push(S,V,A,nn(ee),F);break}}return s.push(ie),We(s,D,T),T}var Ba=`
|
|
105
105
|
`;function fo(s,c,g,y){s.push(xt(g));var T=null,D=null;for(var V in c)if(re.call(c,V)){var ee=c[V];if(ee==null)continue;switch(V){case"children":T=ee;break;case"dangerouslySetInnerHTML":D=ee;break;default:K(s,y,V,ee);break}}if(s.push(ie),D!=null){if(T!=null)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof D!="object"||!("__html"in D))throw new Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.");var fe=D.__html;fe!=null&&(typeof fe=="string"&&fe.length>0&&fe[0]===`
|
|
106
106
|
`?s.push(Ba,fe):(_e(fe),s.push(""+fe)))}return typeof T=="string"&&T[0]===`
|
|
107
|
-
`&&s.push(Ba),T}var Kt=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,Lt=new Map;function xt(s){var c=Lt.get(s);if(c===void 0){if(!Kt.test(s))throw new Error("Invalid tag: "+s);c="<"+s,Lt.set(s,c)}return c}var zi="<!DOCTYPE html>";function bi(s,c,g,y,T){switch(dr(c,g),On(c,g),Zr(c,g,null),!g.suppressContentEditableWarning&&g.contentEditable&&g.children!=null&&o("A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional."),T.insertionMode!==In&&T.insertionMode!==Fr&&c.indexOf("-")===-1&&typeof g.is!="string"&&c.toLowerCase()!==c&&o("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",c),c){case"select":return sa(s,g,y);case"option":return Nr(s,g,y,T);case"textarea":return Fl(s,g,y);case"input":return La(s,g,y);case"menuitem":return Zo(s,g,y);case"title":return Yo(s,g,y);case"listing":case"pre":return fo(s,g,c,y);case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":return Pl(s,g,c,y);case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return Ko(s,g,c,y);case"html":return T.insertionMode===
|
|
107
|
+
`&&s.push(Ba),T}var Kt=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,Lt=new Map;function xt(s){var c=Lt.get(s);if(c===void 0){if(!Kt.test(s))throw new Error("Invalid tag: "+s);c="<"+s,Lt.set(s,c)}return c}var zi="<!DOCTYPE html>";function bi(s,c,g,y,T){switch(dr(c,g),On(c,g),Zr(c,g,null),!g.suppressContentEditableWarning&&g.contentEditable&&g.children!=null&&o("A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional."),T.insertionMode!==In&&T.insertionMode!==Fr&&c.indexOf("-")===-1&&typeof g.is!="string"&&c.toLowerCase()!==c&&o("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",c),c){case"select":return sa(s,g,y);case"option":return Nr(s,g,y,T);case"textarea":return Fl(s,g,y);case"input":return La(s,g,y);case"menuitem":return Zo(s,g,y);case"title":return Yo(s,g,y);case"listing":case"pre":return fo(s,g,c,y);case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":return Pl(s,g,c,y);case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return Ko(s,g,c,y);case"html":return T.insertionMode===Ut&&s.push(zi),Ko(s,g,c,y);default:return c.indexOf("-")===-1&&typeof g.is!="string"?Ko(s,g,c,y):ri(s,g,c,y)}}var po="</",yi=">";function kr(s,c,g){switch(c){case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break;default:s.push(po,c,yi)}}function Jo(s,c){for(var g=c.bootstrapChunks,y=0;y<g.length-1;y++)w(s,g[y]);return y<g.length?C(s,g[y]):!0}var ho='<template id="',Us='"></template>';function En(s,c,g){w(s,ho),w(s,c.placeholderPrefix);var y=g.toString(16);return w(s,y),C(s,Us)}var go="<!--$-->",Ui='<!--$?--><template id="',Ws='"></template>',la="<!--$!-->",Wn="<!--/$-->",Na="<template",ua='"',Vs=' data-dgst="',ca=' data-msg="',mo=' data-stck="',vo="></template>";function Cn(s,c){return C(s,go)}function da(s,c,g){if(w(s,Ui),g===null)throw new Error("An ID must have been assigned before we can complete the boundary.");return w(s,g),C(s,Ws)}function Vn(s,c,g,y,T){var D;return D=C(s,la),w(s,Na),g&&(w(s,Vs),w(s,nn(g)),w(s,ua)),y&&(w(s,ca),w(s,nn(y)),w(s,ua)),T&&(w(s,mo),w(s,nn(T)),w(s,ua)),D=C(s,vo),D}function Hs(s,c){return C(s,Wn)}function bo(s,c){return C(s,Wn)}function ii(s,c){return C(s,Wn)}var Wi='<div hidden id="',Hn='">',qt="</div>",Er='<svg aria-hidden="true" style="display:none" id="',Qo='">',$s="</svg>",fa='<math aria-hidden="true" style="display:none" id="',Gs='">',Zs="</math>",yo='<table hidden id="',ja='">',za="</table>",Vi='<table hidden><tbody id="',Ys='">',wo="</tbody></table>",Xo='<table hidden><tr id="',h='">',x="</tr></table>",R='<table hidden><colgroup id="',P='">',q="</colgroup></table>";function Q(s,c,g,y){switch(g.insertionMode){case Ut:case on:return w(s,Wi),w(s,c.segmentPrefix),w(s,y.toString(16)),C(s,Hn);case In:return w(s,Er),w(s,c.segmentPrefix),w(s,y.toString(16)),C(s,Qo);case Fr:return w(s,fa),w(s,c.segmentPrefix),w(s,y.toString(16)),C(s,Gs);case Xt:return w(s,yo),w(s,c.segmentPrefix),w(s,y.toString(16)),C(s,ja);case un:return w(s,Vi),w(s,c.segmentPrefix),w(s,y.toString(16)),C(s,Ys);case Pr:return w(s,Xo),w(s,c.segmentPrefix),w(s,y.toString(16)),C(s,h);case Sr:return w(s,R),w(s,c.segmentPrefix),w(s,y.toString(16)),C(s,P);default:throw new Error("Unknown insertion mode. This is a bug in React.")}}function le(s,c){switch(c.insertionMode){case Ut:case on:return C(s,qt);case In:return C(s,$s);case Fr:return C(s,Zs);case Xt:return C(s,za);case un:return C(s,wo);case Pr:return C(s,x);case Sr:return C(s,q);default:throw new Error("Unknown insertion mode. This is a bug in React.")}}var xe="function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)}",$e='function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}}',ht='function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())}',at=xe+';$RS("',Jt='$RS("',Qn='","',Cr='")<\/script>';function Tr(s,c,g){w(s,c.startInlineScript),c.sentCompleteSegmentFunction?w(s,Jt):(c.sentCompleteSegmentFunction=!0,w(s,at)),w(s,c.segmentPrefix);var y=g.toString(16);return w(s,y),w(s,Qn),w(s,c.placeholderPrefix),w(s,y),C(s,Cr)}var xo=$e+';$RC("',Ks='$RC("',qo='","',So='")<\/script>';function yc(s,c,g,y){if(w(s,c.startInlineScript),c.sentCompleteBoundaryFunction?w(s,Ks):(c.sentCompleteBoundaryFunction=!0,w(s,xo)),g===null)throw new Error("An ID must have been assigned before we can complete the boundary.");var T=y.toString(16);return w(s,g),w(s,qo),w(s,c.segmentPrefix),w(s,T),C(s,So)}var wc=ht+';$RX("',Dl='$RX("',Tu='"',pa=")<\/script>",_o=",";function xc(s,c,g,y,T,D){if(w(s,c.startInlineScript),c.sentClientRenderFunction?w(s,Dl):(c.sentClientRenderFunction=!0,w(s,wc)),g===null)throw new Error("An ID must have been assigned before we can complete the boundary.");return w(s,g),w(s,Tu),(y||T||D)&&(w(s,_o),w(s,Ll(y||""))),(T||D)&&(w(s,_o),w(s,Ll(T||""))),D&&(w(s,_o),w(s,Ll(D))),C(s,pa)}var Sc=/[<\u2028\u2029]/g;function Ll(s){var c=JSON.stringify(s);return c.replace(Sc,function(g){switch(g){case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw new Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}function ko(s,c){var g=zt(c,void 0);return{bootstrapChunks:g.bootstrapChunks,startInlineScript:g.startInlineScript,placeholderPrefix:g.placeholderPrefix,segmentPrefix:g.segmentPrefix,boundaryPrefix:g.boundaryPrefix,idPrefix:g.idPrefix,nextSuspenseID:g.nextSuspenseID,sentCompleteSegmentFunction:g.sentCompleteSegmentFunction,sentCompleteBoundaryFunction:g.sentCompleteBoundaryFunction,sentClientRenderFunction:g.sentClientRenderFunction,generateStaticMarkup:s}}function Rr(){return{insertionMode:on,selectedValue:null}}function Bl(s,c,g,y){return g.generateStaticMarkup?(s.push(nn(c)),!1):aa(s,c,g,y)}function Ru(s,c,g,y){if(!c.generateStaticMarkup)return oa(s,c,g,y)}function Nl(s,c){return c.generateStaticMarkup?!0:Cn(s)}function jr(s,c,g,y,T){return c.generateStaticMarkup?!0:Vn(s,c,g,y,T)}function _c(s,c){return c.generateStaticMarkup?!0:Hs(s)}function Iu(s,c){return c.generateStaticMarkup?!0:ii(s)}var Dn=Object.assign,Y=Symbol.for("react.element"),se=Symbol.for("react.portal"),ne=Symbol.for("react.fragment"),Ne=Symbol.for("react.strict_mode"),ot=Symbol.for("react.profiler"),Pt=Symbol.for("react.provider"),gn=Symbol.for("react.context"),Wt=Symbol.for("react.forward_ref"),ha=Symbol.for("react.suspense"),jl=Symbol.for("react.suspense_list"),vr=Symbol.for("react.memo"),Ua=Symbol.for("react.lazy"),kc=Symbol.for("react.scope"),Wa=Symbol.for("react.debug_trace_mode"),Js=Symbol.for("react.legacy_hidden"),Qs=Symbol.for("react.default_value"),Ht=Symbol.iterator,Au="@@iterator";function cn(s){if(s===null||typeof s!="object")return null;var c=Ht&&s[Ht]||s[Au];return typeof c=="function"?c:null}function ga(s,c,g){var y=s.displayName;if(y)return y;var T=c.displayName||c.name||"";return T!==""?g+"("+T+")":g}function zl(s){return s.displayName||"Context"}function dn(s){if(s==null)return null;if(typeof s.tag=="number"&&o("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof s=="function")return s.displayName||s.name||null;if(typeof s=="string")return s;switch(s){case ne:return"Fragment";case se:return"Portal";case ot:return"Profiler";case Ne:return"StrictMode";case ha:return"Suspense";case jl:return"SuspenseList"}if(typeof s=="object")switch(s.$$typeof){case gn:var c=s;return zl(c)+".Consumer";case Pt:var g=s;return zl(g._context)+".Provider";case Wt:return ga(s,s.render,"ForwardRef");case vr:var y=s.displayName||null;return y!==null?y:dn(s.type)||"Memo";case Ua:{var T=s,D=T._payload,V=T._init;try{return dn(V(D))}catch{return null}}}return null}var Eo=0,Co,wi,To,Xs,Ro,Ul,Wl;function Va(){}Va.__reactDisabledLog=!0;function qs(){{if(Eo===0){Co=console.log,wi=console.info,To=console.warn,Xs=console.error,Ro=console.group,Ul=console.groupCollapsed,Wl=console.groupEnd;var s={configurable:!0,enumerable:!0,value:Va,writable:!0};Object.defineProperties(console,{info:s,log:s,warn:s,error:s,group:s,groupCollapsed:s,groupEnd:s})}Eo++}}function Hi(){{if(Eo--,Eo===0){var s={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Dn({},s,{value:Co}),info:Dn({},s,{value:wi}),warn:Dn({},s,{value:To}),error:Dn({},s,{value:Xs}),group:Dn({},s,{value:Ro}),groupCollapsed:Dn({},s,{value:Ul}),groupEnd:Dn({},s,{value:Wl})})}Eo<0&&o("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var ai=n.ReactCurrentDispatcher,$i;function es(s,c,g){{if($i===void 0)try{throw Error()}catch(T){var y=T.stack.trim().match(/\n( *(at )?)/);$i=y&&y[1]||""}return`
|
|
108
108
|
`+$i+s}}var ts=!1,el;{var ns=typeof WeakMap=="function"?WeakMap:Map;el=new ns}function Io(s,c){if(!s||ts)return"";{var g=el.get(s);if(g!==void 0)return g}var y;ts=!0;var T=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var D;D=ai.current,ai.current=null,qs();try{if(c){var V=function(){throw Error()};if(Object.defineProperty(V.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(V,[])}catch(Tn){y=Tn}Reflect.construct(s,[],V)}else{try{V.call()}catch(Tn){y=Tn}s.call(V.prototype)}}else{try{throw Error()}catch(Tn){y=Tn}s()}}catch(Tn){if(Tn&&y&&typeof Tn.stack=="string"){for(var ee=Tn.stack.split(`
|
|
109
109
|
`),fe=y.stack.split(`
|
|
110
110
|
`),Pe=ee.length-1,Ge=fe.length-1;Pe>=1&&Ge>=0&&ee[Pe]!==fe[Ge];)Ge--;for(;Pe>=1&&Ge>=0;Pe--,Ge--)if(ee[Pe]!==fe[Ge]){if(Pe!==1||Ge!==1)do if(Pe--,Ge--,Ge<0||ee[Pe]!==fe[Ge]){var it=`
|
|
@@ -139,7 +139,7 @@ Error generating stack: `+y.message+`
|
|
|
139
139
|
*
|
|
140
140
|
* This source code is licensed under the MIT license found in the
|
|
141
141
|
* LICENSE file in the root directory of this source tree.
|
|
142
|
-
*/var yh;function ky(){return yh||(yh=1,process.env.NODE_ENV!=="production"&&function(){var r=Le,e="18.2.0",n=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function a(l){{for(var f=arguments.length,b=new Array(f>1?f-1:0),k=1;k<f;k++)b[k-1]=arguments[k];d("warn",l,b)}}function o(l){{for(var f=arguments.length,b=new Array(f>1?f-1:0),k=1;k<f;k++)b[k-1]=arguments[k];d("error",l,b)}}function d(l,f,b){{var k=n.ReactDebugCurrentFrame,M=k.getStackAddendum();M!==""&&(f+="%s",b=b.concat([M]));var B=b.map(function(H){return String(H)});B.unshift("Warning: "+f),Function.prototype.apply.call(console[l],console,B)}}function v(l){l()}var _=512,w=null,C=0;function N(l){w=new Uint8Array(_),C=0}function L(l,f){if(f.length!==0){if(f.length>_){C>0&&(l.enqueue(new Uint8Array(w.buffer,0,C)),w=new Uint8Array(_),C=0),l.enqueue(f);return}var b=f,k=w.length-C;k<b.length&&(k===0?l.enqueue(w):(w.set(b.subarray(0,k),C),l.enqueue(w),b=b.subarray(k)),w=new Uint8Array(_),C=0),w.set(b,C),C+=b.length}}function W(l,f){return L(l,f),!0}function ge(l){w&&C>0&&(l.enqueue(new Uint8Array(w.buffer,0,C)),w=null,C=0)}function ae(l){l.close()}var we=new TextEncoder;function Z(l){return we.encode(l)}function G(l){return we.encode(l)}function pe(l,f){typeof l.error=="function"?l.error(f):l.close()}function Se(l){{var f=typeof Symbol=="function"&&Symbol.toStringTag,b=f&&l[Symbol.toStringTag]||l.constructor.name||"Object";return b}}function _e(l){try{return re(l),!1}catch{return!0}}function re(l){return""+l}function Ie(l,f){if(_e(l))return o("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.",f,Se(l)),re(l)}function Te(l,f){if(_e(l))return o("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.",f,Se(l)),re(l)}function Dt(l){if(_e(l))return o("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.",Se(l)),re(l)}var dt=Object.prototype.hasOwnProperty,Mt=0,ve=1,ye=2,Re=3,Be=4,Ye=5,He=6,je=":A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",ze=je+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",pt=new RegExp("^["+je+"]["+ze+"]*$"),oe={},ue={};function Ae(l){return dt.call(ue,l)?!0:dt.call(oe,l)?!1:pt.test(l)?(ue[l]=!0,!0):(oe[l]=!0,o("Invalid attribute name: `%s`",l),!1)}function Ze(l,f,b,k){if(b!==null&&b.type===Mt)return!1;switch(typeof f){case"function":case"symbol":return!0;case"boolean":{if(k)return!1;if(b!==null)return!b.acceptsBooleans;var M=l.toLowerCase().slice(0,5);return M!=="data-"&&M!=="aria-"}default:return!1}}function Fe(l){return Oe.hasOwnProperty(l)?Oe[l]:null}function Me(l,f,b,k,M,B,H){this.acceptsBooleans=f===ye||f===Re||f===Be,this.attributeName=k,this.attributeNamespace=M,this.mustUseProperty=b,this.propertyName=l,this.type=f,this.sanitizeURL=B,this.removeEmptyString=H}var Oe={},qe=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];qe.forEach(function(l){Oe[l]=new Me(l,Mt,!1,l,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(l){var f=l[0],b=l[1];Oe[f]=new Me(f,ve,!1,b,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(l){Oe[l]=new Me(l,ye,!1,l.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(l){Oe[l]=new Me(l,ye,!1,l,null,!1,!1)}),["allowFullScreen","async","autoFocus","autoPlay","controls","default","defer","disabled","disablePictureInPicture","disableRemotePlayback","formNoValidate","hidden","loop","noModule","noValidate","open","playsInline","readOnly","required","reversed","scoped","seamless","itemScope"].forEach(function(l){Oe[l]=new Me(l,Re,!1,l.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(l){Oe[l]=new Me(l,Re,!0,l,null,!1,!1)}),["capture","download"].forEach(function(l){Oe[l]=new Me(l,Be,!1,l,null,!1,!1)}),["cols","rows","size","span"].forEach(function(l){Oe[l]=new Me(l,He,!1,l,null,!1,!1)}),["rowSpan","start"].forEach(function(l){Oe[l]=new Me(l,Ye,!1,l.toLowerCase(),null,!1,!1)});var et=/[\-\:]([a-z])/g,Ke=function(l){return l[1].toUpperCase()};["accent-height","alignment-baseline","arabic-form","baseline-shift","cap-height","clip-path","clip-rule","color-interpolation","color-interpolation-filters","color-profile","color-rendering","dominant-baseline","enable-background","fill-opacity","fill-rule","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","glyph-name","glyph-orientation-horizontal","glyph-orientation-vertical","horiz-adv-x","horiz-origin-x","image-rendering","letter-spacing","lighting-color","marker-end","marker-mid","marker-start","overline-position","overline-thickness","paint-order","panose-1","pointer-events","rendering-intent","shape-rendering","stop-color","stop-opacity","strikethrough-position","strikethrough-thickness","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-decoration","text-rendering","underline-position","underline-thickness","unicode-bidi","unicode-range","units-per-em","v-alphabetic","v-hanging","v-ideographic","v-mathematical","vector-effect","vert-adv-y","vert-origin-x","vert-origin-y","word-spacing","writing-mode","xmlns:xlink","x-height"].forEach(function(l){var f=l.replace(et,Ke);Oe[f]=new Me(f,ve,!1,l,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(l){var f=l.replace(et,Ke);Oe[f]=new Me(f,ve,!1,l,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(l){var f=l.replace(et,Ke);Oe[f]=new Me(f,ve,!1,l,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(l){Oe[l]=new Me(l,ve,!1,l.toLowerCase(),null,!1,!1)});var nt="xlinkHref";Oe[nt]=new Me("xlinkHref",ve,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(l){Oe[l]=new Me(l,ve,!1,l.toLowerCase(),null,!0,!0)});var _t={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0};function ke(l,f){return l+f.charAt(0).toUpperCase()+f.substring(1)}var It=["Webkit","ms","Moz","O"];Object.keys(_t).forEach(function(l){It.forEach(function(f){_t[ke(f,l)]=_t[l]})});var mt={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function fn(l,f){mt[f.type]||f.onChange||f.onInput||f.readOnly||f.disabled||f.value==null||o("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`."),f.onChange||f.readOnly||f.disabled||f.checked==null||o("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")}function jn(l,f){if(l.indexOf("-")===-1)return typeof f.is=="string";switch(l){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Sn={"aria-current":0,"aria-description":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0},zn={},dr=new RegExp("^(aria)-["+ze+"]*$"),nr=new RegExp("^(aria)[A-Z]["+ze+"]*$");function On(l,f){{if(dt.call(zn,f)&&zn[f])return!0;if(nr.test(f)){var b="aria-"+f.slice(4).toLowerCase(),k=Sn.hasOwnProperty(b)?b:null;if(k==null)return o("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",f),zn[f]=!0,!0;if(f!==k)return o("Invalid ARIA attribute `%s`. Did you mean `%s`?",f,k),zn[f]=!0,!0}if(dr.test(f)){var M=f.toLowerCase(),B=Sn.hasOwnProperty(M)?M:null;if(B==null)return zn[f]=!0,!1;if(f!==B)return o("Unknown ARIA attribute `%s`. Did you mean `%s`?",f,B),zn[f]=!0,!0}}return!0}function yn(l,f){{var b=[];for(var k in f){var M=On(l,k);M||b.push(k)}var B=b.map(function(H){return"`"+H+"`"}).join(", ");b.length===1?o("Invalid aria prop %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",B,l):b.length>1&&o("Invalid aria props %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",B,l)}}function pn(l,f){jn(l,f)||yn(l,f)}var hn=!1;function fr(l,f){{if(l!=="input"&&l!=="textarea"&&l!=="select")return;f!=null&&f.value===null&&!hn&&(hn=!0,l==="select"&&f.multiple?o("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",l):o("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",l))}}var gi={accept:"accept",acceptcharset:"acceptCharset","accept-charset":"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",alt:"alt",as:"as",async:"async",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",challenge:"challenge",charset:"charSet",checked:"checked",children:"children",cite:"cite",class:"className",classid:"classID",classname:"className",cols:"cols",colspan:"colSpan",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",controlslist:"controlsList",coords:"coords",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",data:"data",datetime:"dateTime",default:"default",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",defer:"defer",dir:"dir",disabled:"disabled",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback",download:"download",draggable:"draggable",enctype:"encType",enterkeyhint:"enterKeyHint",for:"htmlFor",form:"form",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",id:"id",imagesizes:"imageSizes",imagesrcset:"imageSrcSet",innerhtml:"innerHTML",inputmode:"inputMode",integrity:"integrity",is:"is",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginwidth:"marginWidth",marginheight:"marginHeight",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",nomodule:"noModule",nonce:"nonce",novalidate:"noValidate",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",playsinline:"playsInline",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rel:"rel",required:"required",reversed:"reversed",role:"role",rows:"rows",rowspan:"rowSpan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",about:"about",accentheight:"accentHeight","accent-height":"accentHeight",accumulate:"accumulate",additive:"additive",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",alphabetic:"alphabetic",amplitude:"amplitude",arabicform:"arabicForm","arabic-form":"arabicForm",ascent:"ascent",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",azimuth:"azimuth",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",bbox:"bbox",begin:"begin",bias:"bias",by:"by",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clip:"clip",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",color:"color",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",cursor:"cursor",cx:"cx",cy:"cy",d:"d",datatype:"datatype",decelerate:"decelerate",descent:"descent",diffuseconstant:"diffuseConstant",direction:"direction",display:"display",divisor:"divisor",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",dur:"dur",dx:"dx",dy:"dy",edgemode:"edgeMode",elevation:"elevation",enablebackground:"enableBackground","enable-background":"enableBackground",end:"end",exponent:"exponent",externalresourcesrequired:"externalResourcesRequired",fill:"fill",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filter:"filter",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",focusable:"focusable",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",format:"format",from:"from",fx:"fx",fy:"fy",g1:"g1",g2:"g2",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",hanging:"hanging",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",ideographic:"ideographic",imagerendering:"imageRendering","image-rendering":"imageRendering",in2:"in2",in:"in",inlist:"inlist",intercept:"intercept",k1:"k1",k2:"k2",k3:"k3",k4:"k4",k:"k",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",kerning:"kerning",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",local:"local",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",mask:"mask",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",mathematical:"mathematical",mode:"mode",numoctaves:"numOctaves",offset:"offset",opacity:"opacity",operator:"operator",order:"order",orient:"orient",orientation:"orientation",origin:"origin",overflow:"overflow",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder",panose1:"panose1","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",points:"points",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",prefix:"prefix",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",property:"property",r:"r",radius:"radius",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",resource:"resource",restart:"restart",result:"result",results:"results",rotate:"rotate",rx:"rx",ry:"ry",scale:"scale",security:"security",seed:"seed",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",slope:"slope",spacing:"spacing",specularconstant:"specularConstant",specularexponent:"specularExponent",speed:"speed",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stemh:"stemh",stemv:"stemv",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",string:"string",stroke:"stroke",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",to:"to",transform:"transform",typeof:"typeof",u1:"u1",u2:"u2",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicode:"unicode",unicodebidi:"unicodeBidi","unicode-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",values:"values",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",version:"version",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",visibility:"visibility",vmathematical:"vMathematical","v-mathematical":"vMathematical",vocab:"vocab",widths:"widths",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",x1:"x1",x2:"x2",x:"x",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang",xmlns:"xmlns","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",y1:"y1",y2:"y2",y:"y",ychannelselector:"yChannelSelector",z:"z",zoomandpan:"zoomAndPan"},Un=function(){};{var Zt={},Ar=/^on./,Zr=/^on[^A-Z]/,Or=new RegExp("^(aria)-["+ze+"]*$"),Yr=new RegExp("^(aria)[A-Z]["+ze+"]*$");Un=function(l,f,b,k){if(dt.call(Zt,f)&&Zt[f])return!0;var M=f.toLowerCase();if(M==="onfocusin"||M==="onfocusout")return o("React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React."),Zt[f]=!0,!0;if(k!=null){var B=k.registrationNameDependencies,H=k.possibleRegistrationNames;if(B.hasOwnProperty(f))return!0;var te=H.hasOwnProperty(M)?H[M]:null;if(te!=null)return o("Invalid event handler property `%s`. Did you mean `%s`?",f,te),Zt[f]=!0,!0;if(Ar.test(f))return o("Unknown event handler property `%s`. It will be ignored.",f),Zt[f]=!0,!0}else if(Ar.test(f))return Zr.test(f)&&o("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",f),Zt[f]=!0,!0;if(Or.test(f)||Yr.test(f))return!0;if(M==="innerhtml")return o("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),Zt[f]=!0,!0;if(M==="aria")return o("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),Zt[f]=!0,!0;if(M==="is"&&b!==null&&b!==void 0&&typeof b!="string")return o("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof b),Zt[f]=!0,!0;if(typeof b=="number"&&isNaN(b))return o("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",f),Zt[f]=!0,!0;var s=Fe(f),c=s!==null&&s.type===Mt;if(gi.hasOwnProperty(M)){var g=gi[M];if(g!==f)return o("Invalid DOM property `%s`. Did you mean `%s`?",f,g),Zt[f]=!0,!0}else if(!c&&f!==M)return o("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.",f,M),Zt[f]=!0,!0;return typeof b=="boolean"&&Ze(f,b,s,!1)?(b?o('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.',b,f,f,b,f):o('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',b,f,f,b,f,f,f),Zt[f]=!0,!0):c?!0:Ze(f,b,s,!1)?(Zt[f]=!0,!1):((b==="false"||b==="true")&&s!==null&&s.type===Re&&(o("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",b,f,b==="false"?"The browser will interpret it as a truthy value.":'Although this works, it will not work as expected if you pass the string "false".',f,b),Zt[f]=!0),!0)}}var Mr=function(l,f,b){{var k=[];for(var M in f){var B=Un(l,M,f[M],b);B||k.push(M)}var H=k.map(function(te){return"`"+te+"`"}).join(", ");k.length===1?o("Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",H,l):k.length>1&&o("Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",H,l)}};function Mi(l,f,b){jn(l,f)||Mr(l,f,b)}var Kr=function(){};{var pr=/^(?:webkit|moz|o)[A-Z]/,Jr=/^-ms-/,ia=/-(.)/g,_n=/;\s*$/,rr={},Mn={},At=!1,hr=!1,Qr=function(l){return l.replace(ia,function(f,b){return b.toUpperCase()})},Xr=function(l){rr.hasOwnProperty(l)&&rr[l]||(rr[l]=!0,o("Unsupported style property %s. Did you mean %s?",l,Qr(l.replace(Jr,"ms-"))))},ir=function(l){rr.hasOwnProperty(l)&&rr[l]||(rr[l]=!0,o("Unsupported vendor-prefixed style property %s. Did you mean %s?",l,l.charAt(0).toUpperCase()+l.slice(1)))},qr=function(l,f){Mn.hasOwnProperty(f)&&Mn[f]||(Mn[f]=!0,o(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,l,f.replace(_n,"")))},gr=function(l,f){At||(At=!0,o("`NaN` is an invalid value for the `%s` css style property.",l))},nn=function(l,f){hr||(hr=!0,o("`Infinity` is an invalid value for the `%s` css style property.",l))};Kr=function(l,f){l.indexOf("-")>-1?Xr(l):pr.test(l)?ir(l):_n.test(f)&&qr(l,f),typeof f=="number"&&(isNaN(f)?gr(l,f):isFinite(f)||nn(l,f))}}var Fi=Kr,ei=/["'&<>]/;function Pi(l){Dt(l);var f=""+l,b=ei.exec(f);if(!b)return f;var k,M="",B,H=0;for(B=b.index;B<f.length;B++){switch(f.charCodeAt(B)){case 34:k=""";break;case 38:k="&";break;case 39:k="'";break;case 60:k="<";break;case 62:k=">";break;default:continue}H!==B&&(M+=f.substring(H,B)),H=B+1,M+=k}return H!==B?M+f.substring(H,B):M}function rn(l){return typeof l=="boolean"||typeof l=="number"?""+l:Pi(l)}var Di=/([A-Z])/g,Fa=/^ms-/;function Pa(l){return l.replace(Di,"-$1").toLowerCase().replace(Fa,"-ms-")}var z=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*\:/i,he=!1;function Ce(l){!he&&z.test(l)&&(he=!0,o("A future version of React will block javascript: URLs as a security precaution. Use event handlers instead if you can. If you need to generate unsafe HTML try using dangerouslySetInnerHTML instead. React was passed %s.",JSON.stringify(l)))}var tt=Array.isArray;function vt(l){return tt(l)}var kt=G("<script>"),wt=G("<\/script>"),ft=G('<script src="'),ln=G('<script type="module" src="'),jt=G('" async=""><\/script>');function zt(l){return Dt(l),(""+l).replace(on,In)}var on=/(<\/|<)(s)(cript)/gi,In=function(l,f,b,k){return""+f+(b==="s"?"\\u0073":"\\u0053")+k};function Fr(l,f,b,k,M){var B=l===void 0?"":l,H=f===void 0?kt:G('<script nonce="'+rn(f)+'">'),te=[];if(b!==void 0&&te.push(H,Z(zt(b)),wt),k!==void 0)for(var s=0;s<k.length;s++)te.push(ft,Z(rn(k[s])),jt);if(M!==void 0)for(var c=0;c<M.length;c++)te.push(ln,Z(rn(M[c])),jt);return{bootstrapChunks:te,startInlineScript:H,placeholderPrefix:G(B+"P:"),segmentPrefix:G(B+"S:"),boundaryPrefix:B+"B:",idPrefix:B,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1}}var Xt=0,un=1,Pr=2,Sr=3,kn=4,Li=5,_r=6,Dr=7;function Jn(l,f){return{insertionMode:l,selectedValue:f}}function ti(l){var f=l==="http://www.w3.org/2000/svg"?Pr:l==="http://www.w3.org/1998/Math/MathML"?Sr:Xt;return Jn(f,null)}function mi(l,f,b){switch(f){case"select":return Jn(un,b.value!=null?b.value:b.defaultValue);case"svg":return Jn(Pr,null);case"math":return Jn(Sr,null);case"foreignObject":return Jn(un,null);case"table":return Jn(kn,null);case"thead":case"tbody":case"tfoot":return Jn(Li,null);case"colgroup":return Jn(Dr,null);case"tr":return Jn(_r,null)}return l.insertionMode>=kn||l.insertionMode===Xt?Jn(un,null):l}var aa=null;function oa(l){var f=l.nextSuspenseID++;return G(l.boundaryPrefix+f.toString(16))}function Bi(l,f,b){var k=l.idPrefix,M=":"+k+"R"+f;return b>0&&(M+="H"+b.toString(32)),M+":"}function Lr(l){return rn(l)}var Da=G("<!-- -->");function Ni(l,f,b,k){return f===""?k:(k&&l.push(Da),l.push(Z(Lr(f))),!0)}function ni(l,f,b,k){b&&k&&l.push(Da)}var p=new Map;function S(l){var f=p.get(l);if(f!==void 0)return f;var b=G(rn(Pa(l)));return p.set(l,b),b}var A=G(' style="'),F=G(":"),X=G(";");function K(l,f,b){if(typeof b!="object")throw new Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");var k=!0;for(var M in b)if(dt.call(b,M)){var B=b[M];if(!(B==null||typeof B=="boolean"||B==="")){var H=void 0,te=void 0,s=M.indexOf("--")===0;s?(H=Z(rn(M)),Te(B,M),te=Z(rn((""+B).trim()))):(Fi(M,B),H=S(M),typeof B=="number"?B!==0&&!dt.call(_t,M)?te=Z(B+"px"):te=Z(""+B):(Te(B,M),te=Z(rn((""+B).trim())))),k?(k=!1,l.push(A,H,F,te)):l.push(X,H,F,te)}}k||l.push(We)}var ie=G(" "),be=G('="'),We=G('"'),Qe=G('=""');function Je(l,f,b,k){switch(b){case"style":{K(l,f,k);return}case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(b.length>2&&(b[0]==="o"||b[0]==="O")&&(b[1]==="n"||b[1]==="N"))){var M=Fe(b);if(M!==null){switch(typeof k){case"function":case"symbol":return;case"boolean":if(!M.acceptsBooleans)return}var B=M.attributeName,H=Z(B);switch(M.type){case Re:k&&l.push(ie,H,Qe);return;case Be:k===!0?l.push(ie,H,Qe):k===!1||l.push(ie,H,be,Z(rn(k)),We);return;case Ye:isNaN(k)||l.push(ie,H,be,Z(rn(k)),We);break;case He:!isNaN(k)&&k>=1&&l.push(ie,H,be,Z(rn(k)),We);break;default:M.sanitizeURL&&(Ie(k,B),k=""+k,Ce(k)),l.push(ie,H,be,Z(rn(k)),We)}}else if(Ae(b)){switch(typeof k){case"function":case"symbol":return;case"boolean":{var te=b.toLowerCase().slice(0,5);if(te!=="data-"&&te!=="aria-")return}}l.push(ie,Z(b),be,Z(rn(k)),We)}}}var Ft=G(">"),ar=G("/>");function Fn(l,f,b){if(f!=null){if(b!=null)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof f!="object"||!("__html"in f))throw new Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.");var k=f.__html;k!=null&&(Dt(k),l.push(Z(""+k)))}}var Pn=!1,Br=!1,mr=!1,sa=!1,vi=!1,ji=!1,Nr=!1;function La(l,f){{var b=l[f];if(b!=null){var k=vt(b);l.multiple&&!k?o("The `%s` prop supplied to <select> must be an array if `multiple` is true.",f):!l.multiple&&k&&o("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.",f)}}}function Fl(l,f,b){fn("select",f),La(f,"value"),La(f,"defaultValue"),f.value!==void 0&&f.defaultValue!==void 0&&!mr&&(o("Select elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled select element and remove one of these props. More info: https://reactjs.org/link/controlled-components"),mr=!0),l.push(kr("select"));var k=null,M=null;for(var B in f)if(dt.call(f,B)){var H=f[B];if(H==null)continue;switch(B){case"children":k=H;break;case"dangerouslySetInnerHTML":M=H;break;case"defaultValue":case"value":break;default:Je(l,b,B,H);break}}return l.push(Ft),Fn(l,M,k),k}function Pl(l){var f="";return r.Children.forEach(l,function(b){b!=null&&(f+=b,!vi&&typeof b!="string"&&typeof b!="number"&&(vi=!0,o("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>.")))}),f}var Zo=G(' selected=""');function Yo(l,f,b,k){var M=k.selectedValue;l.push(kr("option"));var B=null,H=null,te=null,s=null;for(var c in f)if(dt.call(f,c)){var g=f[c];if(g==null)continue;switch(c){case"children":B=g;break;case"selected":te=g,Nr||(o("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),Nr=!0);break;case"dangerouslySetInnerHTML":s=g;break;case"value":H=g;default:Je(l,b,c,g);break}}if(M!=null){var y;if(H!==null?(Ie(H,"value"),y=""+H):(s!==null&&(ji||(ji=!0,o("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),y=Pl(B)),vt(M))for(var T=0;T<M.length;T++){Ie(M[T],"value");var D=""+M[T];if(D===y){l.push(Zo);break}}else Ie(M,"select.value"),""+M===y&&l.push(Zo)}else te&&l.push(Zo);return l.push(Ft),Fn(l,s,B),B}function Ko(l,f,b){fn("input",f),f.checked!==void 0&&f.defaultChecked!==void 0&&!Br&&(o("%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components","A component",f.type),Br=!0),f.value!==void 0&&f.defaultValue!==void 0&&!Pn&&(o("%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components","A component",f.type),Pn=!0),l.push(kr("input"));var k=null,M=null,B=null,H=null;for(var te in f)if(dt.call(f,te)){var s=f[te];if(s==null)continue;switch(te){case"children":case"dangerouslySetInnerHTML":throw new Error("input is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");case"defaultChecked":H=s;break;case"defaultValue":M=s;break;case"checked":B=s;break;case"value":k=s;break;default:Je(l,b,te,s);break}}return B!==null?Je(l,b,"checked",B):H!==null&&Je(l,b,"checked",H),k!==null?Je(l,b,"value",k):M!==null&&Je(l,b,"value",M),l.push(ar),null}function ri(l,f,b){fn("textarea",f),f.value!==void 0&&f.defaultValue!==void 0&&!sa&&(o("Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://reactjs.org/link/controlled-components"),sa=!0),l.push(kr("textarea"));var k=null,M=null,B=null;for(var H in f)if(dt.call(f,H)){var te=f[H];if(te==null)continue;switch(H){case"children":B=te;break;case"value":k=te;break;case"defaultValue":M=te;break;case"dangerouslySetInnerHTML":throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");default:Je(l,b,H,te);break}}if(k===null&&M!==null&&(k=M),l.push(Ft),B!=null){if(o("Use the `defaultValue` or `value` props instead of setting children on <textarea>."),k!=null)throw new Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(vt(B)){if(B.length>1)throw new Error("<textarea> can only have at most one child.");Dt(B[0]),k=""+B[0]}Dt(B),k=""+B}return typeof k=="string"&&k[0]===`
|
|
142
|
+
*/var wh;function Ey(){return wh||(wh=1,process.env.NODE_ENV!=="production"&&function(){var r=De,e="18.2.0",n=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function a(l){{for(var f=arguments.length,b=new Array(f>1?f-1:0),k=1;k<f;k++)b[k-1]=arguments[k];d("warn",l,b)}}function o(l){{for(var f=arguments.length,b=new Array(f>1?f-1:0),k=1;k<f;k++)b[k-1]=arguments[k];d("error",l,b)}}function d(l,f,b){{var k=n.ReactDebugCurrentFrame,M=k.getStackAddendum();M!==""&&(f+="%s",b=b.concat([M]));var B=b.map(function(H){return String(H)});B.unshift("Warning: "+f),Function.prototype.apply.call(console[l],console,B)}}function v(l){l()}var _=512,w=null,C=0;function N(l){w=new Uint8Array(_),C=0}function L(l,f){if(f.length!==0){if(f.length>_){C>0&&(l.enqueue(new Uint8Array(w.buffer,0,C)),w=new Uint8Array(_),C=0),l.enqueue(f);return}var b=f,k=w.length-C;k<b.length&&(k===0?l.enqueue(w):(w.set(b.subarray(0,k),C),l.enqueue(w),b=b.subarray(k)),w=new Uint8Array(_),C=0),w.set(b,C),C+=b.length}}function W(l,f){return L(l,f),!0}function ge(l){w&&C>0&&(l.enqueue(new Uint8Array(w.buffer,0,C)),w=null,C=0)}function ae(l){l.close()}var we=new TextEncoder;function Z(l){return we.encode(l)}function G(l){return we.encode(l)}function pe(l,f){typeof l.error=="function"?l.error(f):l.close()}function Se(l){{var f=typeof Symbol=="function"&&Symbol.toStringTag,b=f&&l[Symbol.toStringTag]||l.constructor.name||"Object";return b}}function _e(l){try{return re(l),!1}catch{return!0}}function re(l){return""+l}function Ie(l,f){if(_e(l))return o("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.",f,Se(l)),re(l)}function Te(l,f){if(_e(l))return o("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.",f,Se(l)),re(l)}function Dt(l){if(_e(l))return o("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.",Se(l)),re(l)}var dt=Object.prototype.hasOwnProperty,Mt=0,ve=1,ye=2,Re=3,Be=4,Ye=5,He=6,je=":A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",ze=je+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",pt=new RegExp("^["+je+"]["+ze+"]*$"),oe={},ue={};function Ae(l){return dt.call(ue,l)?!0:dt.call(oe,l)?!1:pt.test(l)?(ue[l]=!0,!0):(oe[l]=!0,o("Invalid attribute name: `%s`",l),!1)}function Ze(l,f,b,k){if(b!==null&&b.type===Mt)return!1;switch(typeof f){case"function":case"symbol":return!0;case"boolean":{if(k)return!1;if(b!==null)return!b.acceptsBooleans;var M=l.toLowerCase().slice(0,5);return M!=="data-"&&M!=="aria-"}default:return!1}}function Fe(l){return Oe.hasOwnProperty(l)?Oe[l]:null}function Me(l,f,b,k,M,B,H){this.acceptsBooleans=f===ye||f===Re||f===Be,this.attributeName=k,this.attributeNamespace=M,this.mustUseProperty=b,this.propertyName=l,this.type=f,this.sanitizeURL=B,this.removeEmptyString=H}var Oe={},qe=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];qe.forEach(function(l){Oe[l]=new Me(l,Mt,!1,l,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(l){var f=l[0],b=l[1];Oe[f]=new Me(f,ve,!1,b,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(l){Oe[l]=new Me(l,ye,!1,l.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(l){Oe[l]=new Me(l,ye,!1,l,null,!1,!1)}),["allowFullScreen","async","autoFocus","autoPlay","controls","default","defer","disabled","disablePictureInPicture","disableRemotePlayback","formNoValidate","hidden","loop","noModule","noValidate","open","playsInline","readOnly","required","reversed","scoped","seamless","itemScope"].forEach(function(l){Oe[l]=new Me(l,Re,!1,l.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(l){Oe[l]=new Me(l,Re,!0,l,null,!1,!1)}),["capture","download"].forEach(function(l){Oe[l]=new Me(l,Be,!1,l,null,!1,!1)}),["cols","rows","size","span"].forEach(function(l){Oe[l]=new Me(l,He,!1,l,null,!1,!1)}),["rowSpan","start"].forEach(function(l){Oe[l]=new Me(l,Ye,!1,l.toLowerCase(),null,!1,!1)});var et=/[\-\:]([a-z])/g,Ke=function(l){return l[1].toUpperCase()};["accent-height","alignment-baseline","arabic-form","baseline-shift","cap-height","clip-path","clip-rule","color-interpolation","color-interpolation-filters","color-profile","color-rendering","dominant-baseline","enable-background","fill-opacity","fill-rule","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","glyph-name","glyph-orientation-horizontal","glyph-orientation-vertical","horiz-adv-x","horiz-origin-x","image-rendering","letter-spacing","lighting-color","marker-end","marker-mid","marker-start","overline-position","overline-thickness","paint-order","panose-1","pointer-events","rendering-intent","shape-rendering","stop-color","stop-opacity","strikethrough-position","strikethrough-thickness","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-decoration","text-rendering","underline-position","underline-thickness","unicode-bidi","unicode-range","units-per-em","v-alphabetic","v-hanging","v-ideographic","v-mathematical","vector-effect","vert-adv-y","vert-origin-x","vert-origin-y","word-spacing","writing-mode","xmlns:xlink","x-height"].forEach(function(l){var f=l.replace(et,Ke);Oe[f]=new Me(f,ve,!1,l,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(l){var f=l.replace(et,Ke);Oe[f]=new Me(f,ve,!1,l,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(l){var f=l.replace(et,Ke);Oe[f]=new Me(f,ve,!1,l,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(l){Oe[l]=new Me(l,ve,!1,l.toLowerCase(),null,!1,!1)});var nt="xlinkHref";Oe[nt]=new Me("xlinkHref",ve,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(l){Oe[l]=new Me(l,ve,!1,l.toLowerCase(),null,!0,!0)});var _t={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0};function ke(l,f){return l+f.charAt(0).toUpperCase()+f.substring(1)}var It=["Webkit","ms","Moz","O"];Object.keys(_t).forEach(function(l){It.forEach(function(f){_t[ke(f,l)]=_t[l]})});var mt={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function fn(l,f){mt[f.type]||f.onChange||f.onInput||f.readOnly||f.disabled||f.value==null||o("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`."),f.onChange||f.readOnly||f.disabled||f.checked==null||o("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")}function jn(l,f){if(l.indexOf("-")===-1)return typeof f.is=="string";switch(l){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Sn={"aria-current":0,"aria-description":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0},zn={},dr=new RegExp("^(aria)-["+ze+"]*$"),nr=new RegExp("^(aria)[A-Z]["+ze+"]*$");function On(l,f){{if(dt.call(zn,f)&&zn[f])return!0;if(nr.test(f)){var b="aria-"+f.slice(4).toLowerCase(),k=Sn.hasOwnProperty(b)?b:null;if(k==null)return o("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",f),zn[f]=!0,!0;if(f!==k)return o("Invalid ARIA attribute `%s`. Did you mean `%s`?",f,k),zn[f]=!0,!0}if(dr.test(f)){var M=f.toLowerCase(),B=Sn.hasOwnProperty(M)?M:null;if(B==null)return zn[f]=!0,!1;if(f!==B)return o("Unknown ARIA attribute `%s`. Did you mean `%s`?",f,B),zn[f]=!0,!0}}return!0}function yn(l,f){{var b=[];for(var k in f){var M=On(l,k);M||b.push(k)}var B=b.map(function(H){return"`"+H+"`"}).join(", ");b.length===1?o("Invalid aria prop %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",B,l):b.length>1&&o("Invalid aria props %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",B,l)}}function pn(l,f){jn(l,f)||yn(l,f)}var hn=!1;function fr(l,f){{if(l!=="input"&&l!=="textarea"&&l!=="select")return;f!=null&&f.value===null&&!hn&&(hn=!0,l==="select"&&f.multiple?o("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",l):o("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",l))}}var gi={accept:"accept",acceptcharset:"acceptCharset","accept-charset":"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",alt:"alt",as:"as",async:"async",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",challenge:"challenge",charset:"charSet",checked:"checked",children:"children",cite:"cite",class:"className",classid:"classID",classname:"className",cols:"cols",colspan:"colSpan",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",controlslist:"controlsList",coords:"coords",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",data:"data",datetime:"dateTime",default:"default",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",defer:"defer",dir:"dir",disabled:"disabled",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback",download:"download",draggable:"draggable",enctype:"encType",enterkeyhint:"enterKeyHint",for:"htmlFor",form:"form",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",id:"id",imagesizes:"imageSizes",imagesrcset:"imageSrcSet",innerhtml:"innerHTML",inputmode:"inputMode",integrity:"integrity",is:"is",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginwidth:"marginWidth",marginheight:"marginHeight",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",nomodule:"noModule",nonce:"nonce",novalidate:"noValidate",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",playsinline:"playsInline",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rel:"rel",required:"required",reversed:"reversed",role:"role",rows:"rows",rowspan:"rowSpan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",about:"about",accentheight:"accentHeight","accent-height":"accentHeight",accumulate:"accumulate",additive:"additive",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",alphabetic:"alphabetic",amplitude:"amplitude",arabicform:"arabicForm","arabic-form":"arabicForm",ascent:"ascent",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",azimuth:"azimuth",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",bbox:"bbox",begin:"begin",bias:"bias",by:"by",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clip:"clip",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",color:"color",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",cursor:"cursor",cx:"cx",cy:"cy",d:"d",datatype:"datatype",decelerate:"decelerate",descent:"descent",diffuseconstant:"diffuseConstant",direction:"direction",display:"display",divisor:"divisor",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",dur:"dur",dx:"dx",dy:"dy",edgemode:"edgeMode",elevation:"elevation",enablebackground:"enableBackground","enable-background":"enableBackground",end:"end",exponent:"exponent",externalresourcesrequired:"externalResourcesRequired",fill:"fill",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filter:"filter",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",focusable:"focusable",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",format:"format",from:"from",fx:"fx",fy:"fy",g1:"g1",g2:"g2",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",hanging:"hanging",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",ideographic:"ideographic",imagerendering:"imageRendering","image-rendering":"imageRendering",in2:"in2",in:"in",inlist:"inlist",intercept:"intercept",k1:"k1",k2:"k2",k3:"k3",k4:"k4",k:"k",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",kerning:"kerning",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",local:"local",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",mask:"mask",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",mathematical:"mathematical",mode:"mode",numoctaves:"numOctaves",offset:"offset",opacity:"opacity",operator:"operator",order:"order",orient:"orient",orientation:"orientation",origin:"origin",overflow:"overflow",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder",panose1:"panose1","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",points:"points",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",prefix:"prefix",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",property:"property",r:"r",radius:"radius",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",resource:"resource",restart:"restart",result:"result",results:"results",rotate:"rotate",rx:"rx",ry:"ry",scale:"scale",security:"security",seed:"seed",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",slope:"slope",spacing:"spacing",specularconstant:"specularConstant",specularexponent:"specularExponent",speed:"speed",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stemh:"stemh",stemv:"stemv",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",string:"string",stroke:"stroke",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",to:"to",transform:"transform",typeof:"typeof",u1:"u1",u2:"u2",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicode:"unicode",unicodebidi:"unicodeBidi","unicode-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",values:"values",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",version:"version",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",visibility:"visibility",vmathematical:"vMathematical","v-mathematical":"vMathematical",vocab:"vocab",widths:"widths",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",x1:"x1",x2:"x2",x:"x",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang",xmlns:"xmlns","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",y1:"y1",y2:"y2",y:"y",ychannelselector:"yChannelSelector",z:"z",zoomandpan:"zoomAndPan"},Un=function(){};{var Zt={},Ar=/^on./,Zr=/^on[^A-Z]/,Or=new RegExp("^(aria)-["+ze+"]*$"),Yr=new RegExp("^(aria)[A-Z]["+ze+"]*$");Un=function(l,f,b,k){if(dt.call(Zt,f)&&Zt[f])return!0;var M=f.toLowerCase();if(M==="onfocusin"||M==="onfocusout")return o("React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React."),Zt[f]=!0,!0;if(k!=null){var B=k.registrationNameDependencies,H=k.possibleRegistrationNames;if(B.hasOwnProperty(f))return!0;var te=H.hasOwnProperty(M)?H[M]:null;if(te!=null)return o("Invalid event handler property `%s`. Did you mean `%s`?",f,te),Zt[f]=!0,!0;if(Ar.test(f))return o("Unknown event handler property `%s`. It will be ignored.",f),Zt[f]=!0,!0}else if(Ar.test(f))return Zr.test(f)&&o("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",f),Zt[f]=!0,!0;if(Or.test(f)||Yr.test(f))return!0;if(M==="innerhtml")return o("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),Zt[f]=!0,!0;if(M==="aria")return o("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),Zt[f]=!0,!0;if(M==="is"&&b!==null&&b!==void 0&&typeof b!="string")return o("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof b),Zt[f]=!0,!0;if(typeof b=="number"&&isNaN(b))return o("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",f),Zt[f]=!0,!0;var s=Fe(f),c=s!==null&&s.type===Mt;if(gi.hasOwnProperty(M)){var g=gi[M];if(g!==f)return o("Invalid DOM property `%s`. Did you mean `%s`?",f,g),Zt[f]=!0,!0}else if(!c&&f!==M)return o("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.",f,M),Zt[f]=!0,!0;return typeof b=="boolean"&&Ze(f,b,s,!1)?(b?o('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.',b,f,f,b,f):o('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',b,f,f,b,f,f,f),Zt[f]=!0,!0):c?!0:Ze(f,b,s,!1)?(Zt[f]=!0,!1):((b==="false"||b==="true")&&s!==null&&s.type===Re&&(o("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",b,f,b==="false"?"The browser will interpret it as a truthy value.":'Although this works, it will not work as expected if you pass the string "false".',f,b),Zt[f]=!0),!0)}}var Mr=function(l,f,b){{var k=[];for(var M in f){var B=Un(l,M,f[M],b);B||k.push(M)}var H=k.map(function(te){return"`"+te+"`"}).join(", ");k.length===1?o("Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",H,l):k.length>1&&o("Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",H,l)}};function Mi(l,f,b){jn(l,f)||Mr(l,f,b)}var Kr=function(){};{var pr=/^(?:webkit|moz|o)[A-Z]/,Jr=/^-ms-/,ia=/-(.)/g,_n=/;\s*$/,rr={},Mn={},At=!1,hr=!1,Qr=function(l){return l.replace(ia,function(f,b){return b.toUpperCase()})},Xr=function(l){rr.hasOwnProperty(l)&&rr[l]||(rr[l]=!0,o("Unsupported style property %s. Did you mean %s?",l,Qr(l.replace(Jr,"ms-"))))},ir=function(l){rr.hasOwnProperty(l)&&rr[l]||(rr[l]=!0,o("Unsupported vendor-prefixed style property %s. Did you mean %s?",l,l.charAt(0).toUpperCase()+l.slice(1)))},qr=function(l,f){Mn.hasOwnProperty(f)&&Mn[f]||(Mn[f]=!0,o(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,l,f.replace(_n,"")))},gr=function(l,f){At||(At=!0,o("`NaN` is an invalid value for the `%s` css style property.",l))},nn=function(l,f){hr||(hr=!0,o("`Infinity` is an invalid value for the `%s` css style property.",l))};Kr=function(l,f){l.indexOf("-")>-1?Xr(l):pr.test(l)?ir(l):_n.test(f)&&qr(l,f),typeof f=="number"&&(isNaN(f)?gr(l,f):isFinite(f)||nn(l,f))}}var Fi=Kr,ei=/["'&<>]/;function Pi(l){Dt(l);var f=""+l,b=ei.exec(f);if(!b)return f;var k,M="",B,H=0;for(B=b.index;B<f.length;B++){switch(f.charCodeAt(B)){case 34:k=""";break;case 38:k="&";break;case 39:k="'";break;case 60:k="<";break;case 62:k=">";break;default:continue}H!==B&&(M+=f.substring(H,B)),H=B+1,M+=k}return H!==B?M+f.substring(H,B):M}function rn(l){return typeof l=="boolean"||typeof l=="number"?""+l:Pi(l)}var Di=/([A-Z])/g,Fa=/^ms-/;function Pa(l){return l.replace(Di,"-$1").toLowerCase().replace(Fa,"-ms-")}var z=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*\:/i,he=!1;function Ce(l){!he&&z.test(l)&&(he=!0,o("A future version of React will block javascript: URLs as a security precaution. Use event handlers instead if you can. If you need to generate unsafe HTML try using dangerouslySetInnerHTML instead. React was passed %s.",JSON.stringify(l)))}var tt=Array.isArray;function vt(l){return tt(l)}var kt=G("<script>"),wt=G("<\/script>"),ft=G('<script src="'),ln=G('<script type="module" src="'),zt=G('" async=""><\/script>');function Ut(l){return Dt(l),(""+l).replace(on,In)}var on=/(<\/|<)(s)(cript)/gi,In=function(l,f,b,k){return""+f+(b==="s"?"\\u0073":"\\u0053")+k};function Fr(l,f,b,k,M){var B=l===void 0?"":l,H=f===void 0?kt:G('<script nonce="'+rn(f)+'">'),te=[];if(b!==void 0&&te.push(H,Z(Ut(b)),wt),k!==void 0)for(var s=0;s<k.length;s++)te.push(ft,Z(rn(k[s])),zt);if(M!==void 0)for(var c=0;c<M.length;c++)te.push(ln,Z(rn(M[c])),zt);return{bootstrapChunks:te,startInlineScript:H,placeholderPrefix:G(B+"P:"),segmentPrefix:G(B+"S:"),boundaryPrefix:B+"B:",idPrefix:B,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1}}var Xt=0,un=1,Pr=2,Sr=3,kn=4,Li=5,_r=6,Dr=7;function Jn(l,f){return{insertionMode:l,selectedValue:f}}function ti(l){var f=l==="http://www.w3.org/2000/svg"?Pr:l==="http://www.w3.org/1998/Math/MathML"?Sr:Xt;return Jn(f,null)}function mi(l,f,b){switch(f){case"select":return Jn(un,b.value!=null?b.value:b.defaultValue);case"svg":return Jn(Pr,null);case"math":return Jn(Sr,null);case"foreignObject":return Jn(un,null);case"table":return Jn(kn,null);case"thead":case"tbody":case"tfoot":return Jn(Li,null);case"colgroup":return Jn(Dr,null);case"tr":return Jn(_r,null)}return l.insertionMode>=kn||l.insertionMode===Xt?Jn(un,null):l}var aa=null;function oa(l){var f=l.nextSuspenseID++;return G(l.boundaryPrefix+f.toString(16))}function Bi(l,f,b){var k=l.idPrefix,M=":"+k+"R"+f;return b>0&&(M+="H"+b.toString(32)),M+":"}function Lr(l){return rn(l)}var Da=G("<!-- -->");function Ni(l,f,b,k){return f===""?k:(k&&l.push(Da),l.push(Z(Lr(f))),!0)}function ni(l,f,b,k){b&&k&&l.push(Da)}var p=new Map;function S(l){var f=p.get(l);if(f!==void 0)return f;var b=G(rn(Pa(l)));return p.set(l,b),b}var A=G(' style="'),F=G(":"),X=G(";");function K(l,f,b){if(typeof b!="object")throw new Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");var k=!0;for(var M in b)if(dt.call(b,M)){var B=b[M];if(!(B==null||typeof B=="boolean"||B==="")){var H=void 0,te=void 0,s=M.indexOf("--")===0;s?(H=Z(rn(M)),Te(B,M),te=Z(rn((""+B).trim()))):(Fi(M,B),H=S(M),typeof B=="number"?B!==0&&!dt.call(_t,M)?te=Z(B+"px"):te=Z(""+B):(Te(B,M),te=Z(rn((""+B).trim())))),k?(k=!1,l.push(A,H,F,te)):l.push(X,H,F,te)}}k||l.push(We)}var ie=G(" "),be=G('="'),We=G('"'),Qe=G('=""');function Je(l,f,b,k){switch(b){case"style":{K(l,f,k);return}case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(b.length>2&&(b[0]==="o"||b[0]==="O")&&(b[1]==="n"||b[1]==="N"))){var M=Fe(b);if(M!==null){switch(typeof k){case"function":case"symbol":return;case"boolean":if(!M.acceptsBooleans)return}var B=M.attributeName,H=Z(B);switch(M.type){case Re:k&&l.push(ie,H,Qe);return;case Be:k===!0?l.push(ie,H,Qe):k===!1||l.push(ie,H,be,Z(rn(k)),We);return;case Ye:isNaN(k)||l.push(ie,H,be,Z(rn(k)),We);break;case He:!isNaN(k)&&k>=1&&l.push(ie,H,be,Z(rn(k)),We);break;default:M.sanitizeURL&&(Ie(k,B),k=""+k,Ce(k)),l.push(ie,H,be,Z(rn(k)),We)}}else if(Ae(b)){switch(typeof k){case"function":case"symbol":return;case"boolean":{var te=b.toLowerCase().slice(0,5);if(te!=="data-"&&te!=="aria-")return}}l.push(ie,Z(b),be,Z(rn(k)),We)}}}var Ft=G(">"),ar=G("/>");function Fn(l,f,b){if(f!=null){if(b!=null)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof f!="object"||!("__html"in f))throw new Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.");var k=f.__html;k!=null&&(Dt(k),l.push(Z(""+k)))}}var Pn=!1,Br=!1,mr=!1,sa=!1,vi=!1,ji=!1,Nr=!1;function La(l,f){{var b=l[f];if(b!=null){var k=vt(b);l.multiple&&!k?o("The `%s` prop supplied to <select> must be an array if `multiple` is true.",f):!l.multiple&&k&&o("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.",f)}}}function Fl(l,f,b){fn("select",f),La(f,"value"),La(f,"defaultValue"),f.value!==void 0&&f.defaultValue!==void 0&&!mr&&(o("Select elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled select element and remove one of these props. More info: https://reactjs.org/link/controlled-components"),mr=!0),l.push(kr("select"));var k=null,M=null;for(var B in f)if(dt.call(f,B)){var H=f[B];if(H==null)continue;switch(B){case"children":k=H;break;case"dangerouslySetInnerHTML":M=H;break;case"defaultValue":case"value":break;default:Je(l,b,B,H);break}}return l.push(Ft),Fn(l,M,k),k}function Pl(l){var f="";return r.Children.forEach(l,function(b){b!=null&&(f+=b,!vi&&typeof b!="string"&&typeof b!="number"&&(vi=!0,o("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>.")))}),f}var Zo=G(' selected=""');function Yo(l,f,b,k){var M=k.selectedValue;l.push(kr("option"));var B=null,H=null,te=null,s=null;for(var c in f)if(dt.call(f,c)){var g=f[c];if(g==null)continue;switch(c){case"children":B=g;break;case"selected":te=g,Nr||(o("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),Nr=!0);break;case"dangerouslySetInnerHTML":s=g;break;case"value":H=g;default:Je(l,b,c,g);break}}if(M!=null){var y;if(H!==null?(Ie(H,"value"),y=""+H):(s!==null&&(ji||(ji=!0,o("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),y=Pl(B)),vt(M))for(var T=0;T<M.length;T++){Ie(M[T],"value");var D=""+M[T];if(D===y){l.push(Zo);break}}else Ie(M,"select.value"),""+M===y&&l.push(Zo)}else te&&l.push(Zo);return l.push(Ft),Fn(l,s,B),B}function Ko(l,f,b){fn("input",f),f.checked!==void 0&&f.defaultChecked!==void 0&&!Br&&(o("%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components","A component",f.type),Br=!0),f.value!==void 0&&f.defaultValue!==void 0&&!Pn&&(o("%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components","A component",f.type),Pn=!0),l.push(kr("input"));var k=null,M=null,B=null,H=null;for(var te in f)if(dt.call(f,te)){var s=f[te];if(s==null)continue;switch(te){case"children":case"dangerouslySetInnerHTML":throw new Error("input is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");case"defaultChecked":H=s;break;case"defaultValue":M=s;break;case"checked":B=s;break;case"value":k=s;break;default:Je(l,b,te,s);break}}return B!==null?Je(l,b,"checked",B):H!==null&&Je(l,b,"checked",H),k!==null?Je(l,b,"value",k):M!==null&&Je(l,b,"value",M),l.push(ar),null}function ri(l,f,b){fn("textarea",f),f.value!==void 0&&f.defaultValue!==void 0&&!sa&&(o("Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://reactjs.org/link/controlled-components"),sa=!0),l.push(kr("textarea"));var k=null,M=null,B=null;for(var H in f)if(dt.call(f,H)){var te=f[H];if(te==null)continue;switch(H){case"children":B=te;break;case"value":k=te;break;case"defaultValue":M=te;break;case"dangerouslySetInnerHTML":throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");default:Je(l,b,H,te);break}}if(k===null&&M!==null&&(k=M),l.push(Ft),B!=null){if(o("Use the `defaultValue` or `value` props instead of setting children on <textarea>."),k!=null)throw new Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(vt(B)){if(B.length>1)throw new Error("<textarea> can only have at most one child.");Dt(B[0]),k=""+B[0]}Dt(B),k=""+B}return typeof k=="string"&&k[0]===`
|
|
143
143
|
`&&l.push(zi),k!==null&&(Ie(k,"value"),l.push(Z(Lr(""+k)))),null}function Ba(l,f,b,k){l.push(kr(b));for(var M in f)if(dt.call(f,M)){var B=f[M];if(B==null)continue;switch(M){case"children":case"dangerouslySetInnerHTML":throw new Error(b+" is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:Je(l,k,M,B);break}}return l.push(ar),null}function fo(l,f,b){l.push(kr("menuitem"));for(var k in f)if(dt.call(f,k)){var M=f[k];if(M==null)continue;switch(k){case"children":case"dangerouslySetInnerHTML":throw new Error("menuitems cannot have `children` nor `dangerouslySetInnerHTML`.");default:Je(l,b,k,M);break}}return l.push(Ft),null}function Kt(l,f,b){l.push(kr("title"));var k=null;for(var M in f)if(dt.call(f,M)){var B=f[M];if(B==null)continue;switch(M){case"children":k=B;break;case"dangerouslySetInnerHTML":throw new Error("`dangerouslySetInnerHTML` does not make sense on <title>.");default:Je(l,b,M,B);break}}l.push(Ft);{var H=Array.isArray(k)&&k.length<2?k[0]||null:k;Array.isArray(k)&&k.length>1?o("A title element received an array with more than 1 element as children. In browsers title Elements can only have Text Nodes as children. If the children being rendered output more than a single text node in aggregate the browser will display markup and comments as text in the title and hydration will likely fail and fall back to client rendering"):H!=null&&H.$$typeof!=null?o("A title element received a React element for children. In the browser title Elements can only have Text Nodes as children. If the children being rendered output more than a single text node in aggregate the browser will display markup and comments as text in the title and hydration will likely fail and fall back to client rendering"):H!=null&&typeof H!="string"&&typeof H!="number"&&o("A title element received a value that was not a string or number for children. In the browser title Elements can only have Text Nodes as children. If the children being rendered output more than a single text node in aggregate the browser will display markup and comments as text in the title and hydration will likely fail and fall back to client rendering")}return k}function Lt(l,f,b,k){l.push(kr(b));var M=null,B=null;for(var H in f)if(dt.call(f,H)){var te=f[H];if(te==null)continue;switch(H){case"children":M=te;break;case"dangerouslySetInnerHTML":B=te;break;default:Je(l,k,H,te);break}}return l.push(Ft),Fn(l,B,M),typeof M=="string"?(l.push(Z(Lr(M))),null):M}function xt(l,f,b,k){l.push(kr(b));var M=null,B=null;for(var H in f)if(dt.call(f,H)){var te=f[H];if(te==null)continue;switch(H){case"children":M=te;break;case"dangerouslySetInnerHTML":B=te;break;case"style":K(l,k,te);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:Ae(H)&&typeof te!="function"&&typeof te!="symbol"&&l.push(ie,Z(H),be,Z(rn(te)),We);break}}return l.push(Ft),Fn(l,B,M),M}var zi=G(`
|
|
144
144
|
`);function bi(l,f,b,k){l.push(kr(b));var M=null,B=null;for(var H in f)if(dt.call(f,H)){var te=f[H];if(te==null)continue;switch(H){case"children":M=te;break;case"dangerouslySetInnerHTML":B=te;break;default:Je(l,k,H,te);break}}if(l.push(Ft),B!=null){if(M!=null)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof B!="object"||!("__html"in B))throw new Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.");var s=B.__html;s!=null&&(typeof s=="string"&&s.length>0&&s[0]===`
|
|
145
145
|
`?l.push(zi,Z(s)):(Dt(s),l.push(Z(""+s))))}return typeof M=="string"&&M[0]===`
|
|
@@ -170,26 +170,26 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f
|
|
|
170
170
|
Previous: %s
|
|
171
171
|
Incoming: %s`,Ur,"["+l.join(", ")+"]","["+f.join(", ")+"]");for(var b=0;b<f.length&&b<l.length;b++)if(!si(l[b],f[b]))return!1;return!0}function Ja(){if(Ya>0)throw new Error("Rendered more hooks than during the previous render");return{memoizedState:null,queue:null,next:null}}function $n(){return Bt===null?ul===null?(Za=!1,ul=Bt=Ja()):(Za=!0,Bt=ul):Bt.next===null?(Za=!1,Bt=Bt.next=Ja()):(Za=!0,Bt=Bt.next),Bt}function Jl(l,f){Ki=f,Kl=l,wn=!1,$t=0}function Sa(l,f,b,k){for(;xa;)xa=!1,$t=0,Ya+=1,Bt=null,b=l(f,k);return Ql(),b}function lr(){var l=$t!==0;return l}function Ql(){wn=!1,Ki=null,Kl=null,xa=!1,ul=null,Ya=0,zr=null,Bt=null}function Bu(l){return wn&&o("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo()."),os(l)}function Xl(l){return Ur="useContext",Ka(),os(l)}function Ji(l,f){return typeof f=="function"?f(l):f}function _a(l){return Ur="useState",ql(Ji,l)}function ql(l,f,b){if(l!==Ji&&(Ur="useReducer"),Ki=Ka(),Bt=$n(),Za){var k=Bt.queue,M=k.dispatch;if(zr!==null){var B=zr.get(k);if(B!==void 0){zr.delete(k);var H=Bt.memoizedState,te=B;do{var s=te.action;wn=!0,H=l(H,s),wn=!1,te=te.next}while(te!==null);return Bt.memoizedState=H,[H,M]}}return[Bt.memoizedState,M]}else{wn=!0;var c;l===Ji?c=typeof f=="function"?f():f:c=b!==void 0?b(f):f,wn=!1,Bt.memoizedState=c;var g=Bt.queue={last:null,dispatch:null},y=g.dispatch=eu.bind(null,Ki,g);return[Bt.memoizedState,y]}}function cl(l,f){Ki=Ka(),Bt=$n();var b=f===void 0?null:f;if(Bt!==null){var k=Bt.memoizedState;if(k!==null&&b!==null){var M=k[1];if(li(b,M))return k[0]}}wn=!0;var B=l();return wn=!1,Bt.memoizedState=[B,b],B}function dl(l){Ki=Ka(),Bt=$n();var f=Bt.memoizedState;if(f===null){var b={current:l};return Object.seal(b),Bt.memoizedState=b,b}else return f}function Nu(l,f){Ur="useLayoutEffect",o("useLayoutEffect does nothing on the server, because its effect cannot be encoded into the server renderer's output format. This will lead to a mismatch between the initial, non-hydrated UI and the intended UI. To avoid this, useLayoutEffect should only be used in components that render exclusively on the client. See https://reactjs.org/link/uselayouteffect-ssr for common fixes.")}function eu(l,f,b){if(Ya>=Po)throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(l===Ki){xa=!0;var k={action:b,next:null};zr===null&&(zr=new Map);var M=zr.get(f);if(M===void 0)zr.set(f,k);else{for(var B=M;B.next!==null;)B=B.next;B.next=k}}}function Gn(l,f){return cl(function(){return l},f)}function tu(l,f,b){return Ka(),f(l._source)}function ju(l,f,b){if(b===void 0)throw new Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");return b()}function _i(l){return Ka(),l}function nu(){throw new Error("startTransition cannot be called during server rendering.")}function fl(){return Ka(),[!1,nu]}function Qa(){var l=Kl,f=Yi(l.treeContext),b=cs;if(b===null)throw new Error("Invalid hook call. Hooks can only be called inside of the body of a function component.");var k=$t++;return Bi(b,f,k)}function us(){}var Xn={readContext:Bu,useContext:Xl,useMemo:cl,useReducer:ql,useRef:dl,useState:_a,useInsertionEffect:us,useLayoutEffect:Nu,useCallback:Gn,useImperativeHandle:us,useEffect:us,useDebugValue:us,useDeferredValue:_i,useTransition:fl,useId:Qa,useMutableSource:tu,useSyncExternalStore:ju},cs=null;function ds(l){cs=l}function zu(l){try{var f="",b=l;do{switch(b.tag){case 0:f+=Hi(b.type,null,null);break;case 1:f+=ns(b.type,null,null);break;case 2:f+=el(b.type,null,null);break}b=b.parent}while(b);return f}catch(k){return`
|
|
172
172
|
Error generating stack: `+k.message+`
|
|
173
|
-
`+k.stack}}var fs=n.ReactCurrentDispatcher,Do=n.ReactDebugCurrentFrame,ru=0,Wr=1,ps=2,pl=3,Xa=4,Lo=0,iu=1,qa=2,au=12800;function ou(l){return console.error(l),null}function ki(){}function Oc(l,f,b,k,M,B,H,te,s){var c=[],g=new Set,y={destination:null,responseState:f,progressiveChunkSize:k===void 0?au:k,status:Lo,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:g,pingedTasks:c,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:M===void 0?ou:M,onAllReady:B===void 0?ki:B,onShellReady:H===void 0?ki:H,onShellError:te===void 0?ki:te,onFatalError:s===void 0?ki:s},T=hl(y,0,null,b,!1,!1);T.parentFlushed=!0;var D=hs(y,l,null,T,g,bn,Ou,Tc);return c.push(D),y}function Mc(l,f){var b=l.pingedTasks;b.push(f),b.length===1&&v(function(){return Ss(l)})}function Bo(l,f){return{id:aa,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:f,errorDigest:null}}function hs(l,f,b,k,M,B,H,te){l.allPendingTasks++,b===null?l.pendingRootTasks++:b.pendingTasks++;var s={node:f,ping:function(){return Mc(l,s)},blockedBoundary:b,blockedSegment:k,abortSet:M,legacyContext:B,context:H,treeContext:te};return s.componentStack=null,M.add(s),s}function hl(l,f,b,k,M,B){return{status:ru,id:-1,index:f,parentFlushed:!1,chunks:[],children:[],formatContext:k,boundary:b,lastPushedText:M,textEmbedded:B}}var ui=null;function No(){return ui===null||ui.componentStack===null?"":zu(ui.componentStack)}function Qi(l,f){l.componentStack={tag:0,parent:l.componentStack,type:f}}function ci(l,f){l.componentStack={tag:1,parent:l.componentStack,type:f}}function jo(l,f){l.componentStack={tag:2,parent:l.componentStack,type:f}}function Vr(l){l.componentStack===null?o("Unexpectedly popped too many stack frames. This is a bug in React."):l.componentStack=l.componentStack.parent}var eo=null;function gl(l,f){{var b;typeof f=="string"?b=f:f&&typeof f.message=="string"?b=f.message:b=String(f);var k=eo||No();eo=null,l.errorMessage=b,l.errorComponentStack=k}}function Hr(l,f){var b=l.onError(f);if(b!=null&&typeof b!="string")throw new Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof b+'" instead');return b}function Xi(l,f){var b=l.onShellError;b(f);var k=l.onFatalError;k(f),l.destination!==null?(l.status=qa,pe(l.destination,f)):(l.status=iu,l.fatalError=f)}function su(l,f,b){Qi(f,"Suspense");var k=f.blockedBoundary,M=f.blockedSegment,B=b.fallback,H=b.children,te=new Set,s=Bo(l,te),c=M.chunks.length,g=hl(l,c,s,M.formatContext,!1,!1);M.children.push(g),M.lastPushedText=!1;var y=hl(l,0,null,M.formatContext,!1,!1);y.parentFlushed=!0,f.blockedBoundary=s,f.blockedSegment=y;try{if(ws(l,f,H),ni(y.chunks,l.responseState,y.lastPushedText,y.textEmbedded),y.status=Wr,xs(s,y),s.pendingTasks===0){Vr(f);return}}catch(D){y.status=Xa,s.forceClientRender=!0,s.errorDigest=Hr(l,D),gl(s,D)}finally{f.blockedBoundary=k,f.blockedSegment=M}var T=hs(l,B,k,g,te,f.legacyContext,f.context,f.treeContext);T.componentStack=f.componentStack,l.pingedTasks.push(T),Vr(f)}function to(l,f,b,k){Qi(f,b);var M=f.blockedSegment,B=ho(M.chunks,b,k,l.responseState,M.formatContext);M.lastPushedText=!1;var H=M.formatContext;M.formatContext=mi(H,b,k),ws(l,f,B),M.formatContext=H,go(M.chunks,b),M.lastPushedText=!1,Vr(f)}function gs(l){return l.prototype&&l.prototype.isReactComponent}function ml(l,f,b,k,M){var B={};Jl(f,B);var H=b(k,M);return Sa(b,k,H,M)}function Uu(l,f,b,k,M){var B=b.render();b.props!==M&&(zo||o("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",cn(k)||"a component"),zo=!0);{var H=k.childContextTypes;if(H!=null){var te=f.legacyContext,s=Zl(b,k,te,H);f.legacyContext=s,wr(l,f,B),f.legacyContext=te;return}}wr(l,f,B)}function lu(l,f,b,k){jo(f,b);var M=Gl(b,f.legacyContext),B=Si(b,k,M);Lu(B,b,k,M),Uu(l,f,B,b,k),Vr(f)}var bt={},ms={},Wu={},no={},zo=!1,uu=!1,cu=!1,br=!1;function Vu(l,f,b,k){var M;if(M=Gl(b,f.legacyContext),ci(f,b),b.prototype&&typeof b.prototype.render=="function"){var B=cn(b)||"Unknown";bt[B]||(o("The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.",B,B),bt[B]=!0)}var H=ml(l,f,b,k,M),te=lr();if(typeof H=="object"&&H!==null&&typeof H.render=="function"&&H.$$typeof===void 0){var s=cn(b)||"Unknown";ms[s]||(o("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",s,s,s),ms[s]=!0)}if(typeof H=="object"&&H!==null&&typeof H.render=="function"&&H.$$typeof===void 0){{var c=cn(b)||"Unknown";ms[c]||(o("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",c,c,c),ms[c]=!0)}Lu(H,b,k,M),Uu(l,f,H,b,k)}else if(vs(b),te){var g=f.treeContext,y=1,T=0;f.treeContext=ol(g,y,T);try{wr(l,f,H)}finally{f.treeContext=g}}else wr(l,f,H);Vr(f)}function vs(l){{if(l&&l.childContextTypes&&o("%s(...): childContextTypes cannot be defined on a function component.",l.displayName||l.name||"Component"),typeof l.getDerivedStateFromProps=="function"){var f=cn(l)||"Unknown";no[f]||(o("%s: Function components do not support getDerivedStateFromProps.",f),no[f]=!0)}if(typeof l.contextType=="object"&&l.contextType!==null){var b=cn(l)||"Unknown";Wu[b]||(o("%s: Function components do not support contextType.",b),Wu[b]=!0)}}}function bs(l,f){if(l&&l.defaultProps){var b=jr({},f),k=l.defaultProps;for(var M in k)b[M]===void 0&&(b[M]=k[M]);return b}return f}function Hu(l,f,b,k,M){ci(f,b.render);var B=ml(l,f,b.render,k,M),H=lr();if(H){var te=f.treeContext,s=1,c=0;f.treeContext=ol(te,s,c);try{wr(l,f,B)}finally{f.treeContext=te}}else wr(l,f,B);Vr(f)}function $u(l,f,b,k,M){var B=b.type,H=bs(B,k);vl(l,f,B,H,M)}function yr(l,f,b,k){b._context===void 0?b!==b.Consumer&&(br||(br=!0,o("Rendering <Context> directly is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?"))):b=b._context;var M=k.children;typeof M!="function"&&o("A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it.");var B=os(b),H=M(B);wr(l,f,H)}function ka(l,f,b,k){var M=b._context,B=k.value,H=k.children,te;te=f.context,f.context=Mu(M,B),wr(l,f,H),f.context=Fu(M),te!==f.context&&o("Popping the context provider did not return back to the original snapshot. This is a bug in React.")}function du(l,f,b,k,M){Qi(f,"Lazy");var B=b._payload,H=b._init,te=H(B),s=bs(te,k);vl(l,f,te,s,M),Vr(f)}function vl(l,f,b,k,M){if(typeof b=="function")if(gs(b)){lu(l,f,b,k);return}else{Vu(l,f,b,k);return}if(typeof b=="string"){to(l,f,b,k);return}switch(b){case Ua:case vr:case Y:case se:case Dn:{wr(l,f,k.children);return}case gn:{Qi(f,"SuspenseList"),wr(l,f,k.children),Vr(f);return}case jl:throw new Error("ReactDOMServer does not yet support scope components.");case Pt:{su(l,f,k);return}}if(typeof b=="object"&&b!==null)switch(b.$$typeof){case ot:{Hu(l,f,b,k,M);return}case Wt:{$u(l,f,b,k,M);return}case ne:{ka(l,f,b,k);return}case Ne:{yr(l,f,b,k);return}case ha:{du(l,f,b,k);return}}var B="";throw(b===void 0||typeof b=="object"&&b!==null&&Object.keys(b).length===0)&&(B+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."),new Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) "+("but got: "+(b==null?b:typeof b)+"."+B))}function bl(l,f){typeof Symbol=="function"&&l[Symbol.toStringTag]==="Generator"&&(uu||o("Using Generators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. Keep in mind you might need to polyfill these features for older browsers."),uu=!0),l.entries===f&&(cu||o("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),cu=!0)}function wr(l,f,b){try{return ys(l,f,b)}catch(k){throw typeof k=="object"&&k!==null&&typeof k.then=="function"||(eo=eo!==null?eo:No()),k}}function ys(l,f,b){if(f.node=b,typeof b=="object"&&b!==null){switch(b.$$typeof){case _c:{var k=b,M=k.type,B=k.props,H=k.ref;vl(l,f,M,B,H);return}case Iu:throw new Error("Portals are not currently supported by the server renderer. Render them conditionally so that they only appear on the client render.");case ha:{var te=b,s=te._payload,c=te._init,g;try{g=c(s)}catch(Ge){throw typeof Ge=="object"&&Ge!==null&&typeof Ge.then=="function"&&Qi(f,"Lazy"),Ge}wr(l,f,g);return}}if(vt(b)){fu(l,f,b);return}var y=Qs(b);if(y){bl(b,y);var T=y.call(b);if(T){var D=T.next();if(!D.done){var V=[];do V.push(D.value),D=T.next();while(!D.done);fu(l,f,V);return}return}}var ee=Object.prototype.toString.call(b);throw new Error("Objects are not valid as a React child (found: "+(ee==="[object Object]"?"object with keys {"+Object.keys(b).join(", ")+"}":ee)+"). If you meant to render a collection of children, use an array instead.")}if(typeof b=="string"){var fe=f.blockedSegment;fe.lastPushedText=Ni(f.blockedSegment.chunks,b,l.responseState,fe.lastPushedText);return}if(typeof b=="number"){var Pe=f.blockedSegment;Pe.lastPushedText=Ni(f.blockedSegment.chunks,""+b,l.responseState,Pe.lastPushedText);return}typeof b=="function"&&o("Functions are not valid as a React child. This may happen if you return a Component instead of <Component /> from render. Or maybe you meant to call this function rather than return it.")}function fu(l,f,b){for(var k=b.length,M=0;M<k;M++){var B=f.treeContext;f.treeContext=ol(B,k,M);try{ws(l,f,b[M])}finally{f.treeContext=B}}}function ur(l,f,b){var k=f.blockedSegment,M=k.chunks.length,B=hl(l,M,null,k.formatContext,k.lastPushedText,!0);k.children.push(B),k.lastPushedText=!1;var H=hs(l,f.node,f.blockedBoundary,B,f.abortSet,f.legacyContext,f.context,f.treeContext);f.componentStack!==null&&(H.componentStack=f.componentStack.parent);var te=H.ping;b.then(te,te)}function ws(l,f,b){var k=f.blockedSegment.formatContext,M=f.legacyContext,B=f.context,H=null;H=f.componentStack;try{return wr(l,f,b)}catch(te){if(Ql(),typeof te=="object"&&te!==null&&typeof te.then=="function"){ur(l,f,te),f.blockedSegment.formatContext=k,f.legacyContext=M,f.context=B,as(B),f.componentStack=H;return}else throw f.blockedSegment.formatContext=k,f.legacyContext=M,f.context=B,as(B),f.componentStack=H,te}}function qi(l,f,b,k){var M=Hr(l,k);if(f===null?Xi(l,k):(f.pendingTasks--,f.forceClientRender||(f.forceClientRender=!0,f.errorDigest=M,gl(f,k),f.parentFlushed&&l.clientRenderedBoundaries.push(f))),l.allPendingTasks--,l.allPendingTasks===0){var B=l.onAllReady;B()}}function Fc(l){var f=this,b=l.blockedBoundary,k=l.blockedSegment;k.status=pl,pu(f,b,k)}function di(l,f,b){var k=l.blockedBoundary,M=l.blockedSegment;if(M.status=pl,k===null)f.allPendingTasks--,f.status!==qa&&(f.status=qa,f.destination!==null&&ae(f.destination));else{if(k.pendingTasks--,!k.forceClientRender){k.forceClientRender=!0;var B=b===void 0?new Error("The render was aborted by the server without a reason."):b;k.errorDigest=f.onError(B);{var H="The server did not finish this Suspense boundary: ";B&&typeof B.message=="string"?B=H+B.message:B=H+String(B);var te=ui;ui=l;try{gl(k,B)}finally{ui=te}}k.parentFlushed&&f.clientRenderedBoundaries.push(k)}if(k.fallbackAbortableTasks.forEach(function(c){return di(c,f,b)}),k.fallbackAbortableTasks.clear(),f.allPendingTasks--,f.allPendingTasks===0){var s=f.onAllReady;s()}}}function xs(l,f){if(f.chunks.length===0&&f.children.length===1&&f.children[0].boundary===null){var b=f.children[0];b.id=f.id,b.parentFlushed=!0,b.status===Wr&&xs(l,b)}else{var k=l.completedSegments;k.push(f)}}function pu(l,f,b){if(f===null){if(b.parentFlushed){if(l.completedRootSegment!==null)throw new Error("There can only be one root segment. This is a bug in React.");l.completedRootSegment=b}if(l.pendingRootTasks--,l.pendingRootTasks===0){l.onShellError=ki;var k=l.onShellReady;k()}}else if(f.pendingTasks--,!f.forceClientRender){if(f.pendingTasks===0)b.parentFlushed&&b.status===Wr&&xs(f,b),f.parentFlushed&&l.completedBoundaries.push(f),f.fallbackAbortableTasks.forEach(Fc,l),f.fallbackAbortableTasks.clear();else if(b.parentFlushed&&b.status===Wr){xs(f,b);var M=f.completedSegments;M.length===1&&f.parentFlushed&&l.partialBoundaries.push(f)}}if(l.allPendingTasks--,l.allPendingTasks===0){var B=l.onAllReady;B()}}function yl(l,f){var b=f.blockedSegment;if(b.status===ru){as(f.context);var k=null;k=ui,ui=f;try{wr(l,f,f.node),ni(b.chunks,l.responseState,b.lastPushedText,b.textEmbedded),f.abortSet.delete(f),b.status=Wr,pu(l,f.blockedBoundary,b)}catch(B){if(Ql(),typeof B=="object"&&B!==null&&typeof B.then=="function"){var M=f.ping;B.then(M,M)}else f.abortSet.delete(f),b.status=Xa,qi(l,f.blockedBoundary,b,B)}finally{ui=k}}}function Ss(l){if(l.status!==qa){var f=tl(),b=fs.current;fs.current=Xn;var k;k=Do.getCurrentStack,Do.getCurrentStack=No;var M=cs;ds(l.responseState);try{var B=l.pingedTasks,H;for(H=0;H<B.length;H++){var te=B[H];yl(l,te)}B.splice(0,H),l.destination!==null&&Zn(l,l.destination)}catch(s){Hr(l,s),Xi(l,s)}finally{ds(M),fs.current=b,Do.getCurrentStack=k,b===Xn&&as(f)}}}function _s(l,f,b){switch(b.parentFlushed=!0,b.status){case ru:{var k=b.id=l.nextSegmentId++;return b.lastPushedText=!1,b.textEmbedded=!1,Wn(f,l.responseState,k)}case Wr:{b.status=ps;for(var M=!0,B=b.chunks,H=0,te=b.children,s=0;s<te.length;s++){for(var c=te[s];H<c.index;H++)L(f,B[H]);M=wl(l,f,c)}for(;H<B.length-1;H++)L(f,B[H]);return H<B.length&&(M=W(f,B[H])),M}default:throw new Error("Aborted, errored or already flushed boundaries should not be flushed again. This is a bug in React.")}}function wl(l,f,b){var k=b.boundary;if(k===null)return _s(l,f,b);if(k.parentFlushed=!0,k.forceClientRender)return Hn(f,l.responseState,k.errorDigest,k.errorMessage,k.errorComponentStack),_s(l,f,b),Qo(f,l.responseState);if(k.pendingTasks>0){k.rootSegmentID=l.nextSegmentId++,k.completedSegments.length>0&&l.partialBoundaries.push(k);var M=k.id=oa(l.responseState);return Wi(f,l.responseState,M),_s(l,f,b),Er(f,l.responseState)}else{if(k.byteSize>l.progressiveChunkSize)return k.rootSegmentID=l.nextSegmentId++,l.completedBoundaries.push(k),Wi(f,l.responseState,k.id),_s(l,f,b),Er(f,l.responseState);ii(f,l.responseState);var B=k.completedSegments;if(B.length!==1)throw new Error("A previously unvisited boundary must have exactly one root segment. This is a bug in React.");var H=B[0];return wl(l,f,H),qt(f,l.responseState)}}function hu(l,f,b){return Bl(f,l.responseState,b.id,b.errorDigest,b.errorMessage,b.errorComponentStack)}function Uo(l,f,b){return at(f,l.responseState,b.formatContext,b.id),wl(l,f,b),Jt(f,b.formatContext)}function ks(l,f,b){for(var k=b.completedSegments,M=0;M<k.length;M++){var B=k[M];xl(l,f,b,B)}return k.length=0,_o(f,l.responseState,b.id,b.rootSegmentID)}function Gu(l,f,b){for(var k=b.completedSegments,M=0;M<k.length;M++){var B=k[M];if(!xl(l,f,b,B))return M++,k.splice(0,M),!1}return k.splice(0,M),!0}function xl(l,f,b,k){if(k.status===ps)return!0;var M=k.id;if(M===-1){var B=k.id=b.rootSegmentID;if(B===-1)throw new Error("A root segment ID must have been assigned by now. This is a bug in React.");return Uo(l,f,k)}else return Uo(l,f,k),yc(f,l.responseState,M)}function Zn(l,f){N();try{var b=l.completedRootSegment;b!==null&&l.pendingRootTasks===0&&(wl(l,f,b),l.completedRootSegment=null,Ui(f,l.responseState));var k=l.clientRenderedBoundaries,M;for(M=0;M<k.length;M++){var B=k[M];hu(l,f,B)}k.splice(0,M);var H=l.completedBoundaries;for(M=0;M<H.length;M++){var te=H[M];ks(l,f,te)}H.splice(0,M),ge(f),N(f);var s=l.partialBoundaries;for(M=0;M<s.length;M++){var c=s[M];if(!Gu(l,f,c)){l.destination=null,M++,s.splice(0,M);return}}s.splice(0,M);var g=l.completedBoundaries;for(M=0;M<g.length;M++){var y=g[M];ks(l,f,y)}g.splice(0,M)}finally{ge(f),l.allPendingTasks===0&&l.pingedTasks.length===0&&l.clientRenderedBoundaries.length===0&&l.completedBoundaries.length===0&&(l.abortableTasks.size!==0&&o("There was still abortable task at the root when we closed. This is a bug in React."),ae(f))}}function Ei(l){v(function(){return Ss(l)})}function Zu(l,f){if(l.status===iu){l.status=qa,pe(f,l.fatalError);return}if(l.status!==qa&&l.destination===null){l.destination=f;try{Zn(l,f)}catch(b){Hr(l,b),Xi(l,b)}}}function Sl(l,f){try{var b=l.abortableTasks;b.forEach(function(k){return di(k,l,f)}),b.clear(),l.destination!==null&&Zn(l,l.destination)}catch(k){Hr(l,k),Xi(l,k)}}function _l(l,f){return new Promise(function(b,k){var M,B,H=new Promise(function(T,D){B=T,M=D});function te(){var T=new ReadableStream({type:"bytes",pull:function(D){Zu(c,D)},cancel:function(D){Sl(c)}},{highWaterMark:0});T.allReady=H,b(T)}function s(T){H.catch(function(){}),k(T)}var c=Oc(l,Fr(f?f.identifierPrefix:void 0,f?f.nonce:void 0,f?f.bootstrapScriptContent:void 0,f?f.bootstrapScripts:void 0,f?f.bootstrapModules:void 0),ti(f?f.namespaceURI:void 0),f?f.progressiveChunkSize:void 0,f?f.onError:void 0,B,te,s,M);if(f&&f.signal){var g=f.signal,y=function(){Sl(c,g.reason),g.removeEventListener("abort",y)};g.addEventListener("abort",y)}Ei(c)})}wd.renderToReadableStream=_l,wd.version=e}()),wd}var Ml,cf;process.env.NODE_ENV==="production"?(Ml=xy(),cf=Sy()):(Ml=_y(),cf=ky()),Ml.version;var Ey=Ml.renderToString;Ml.renderToStaticMarkup,Ml.renderToNodeStream,Ml.renderToStaticNodeStream,cf.renderToReadableStream;var df={exports:{}},xd={exports:{}},en={};/** @license React v16.13.1
|
|
173
|
+
`+k.stack}}var fs=n.ReactCurrentDispatcher,Do=n.ReactDebugCurrentFrame,ru=0,Wr=1,ps=2,pl=3,Xa=4,Lo=0,iu=1,qa=2,au=12800;function ou(l){return console.error(l),null}function ki(){}function Oc(l,f,b,k,M,B,H,te,s){var c=[],g=new Set,y={destination:null,responseState:f,progressiveChunkSize:k===void 0?au:k,status:Lo,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:g,pingedTasks:c,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:M===void 0?ou:M,onAllReady:B===void 0?ki:B,onShellReady:H===void 0?ki:H,onShellError:te===void 0?ki:te,onFatalError:s===void 0?ki:s},T=hl(y,0,null,b,!1,!1);T.parentFlushed=!0;var D=hs(y,l,null,T,g,bn,Ou,Tc);return c.push(D),y}function Mc(l,f){var b=l.pingedTasks;b.push(f),b.length===1&&v(function(){return Ss(l)})}function Bo(l,f){return{id:aa,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:f,errorDigest:null}}function hs(l,f,b,k,M,B,H,te){l.allPendingTasks++,b===null?l.pendingRootTasks++:b.pendingTasks++;var s={node:f,ping:function(){return Mc(l,s)},blockedBoundary:b,blockedSegment:k,abortSet:M,legacyContext:B,context:H,treeContext:te};return s.componentStack=null,M.add(s),s}function hl(l,f,b,k,M,B){return{status:ru,id:-1,index:f,parentFlushed:!1,chunks:[],children:[],formatContext:k,boundary:b,lastPushedText:M,textEmbedded:B}}var ui=null;function No(){return ui===null||ui.componentStack===null?"":zu(ui.componentStack)}function Qi(l,f){l.componentStack={tag:0,parent:l.componentStack,type:f}}function ci(l,f){l.componentStack={tag:1,parent:l.componentStack,type:f}}function jo(l,f){l.componentStack={tag:2,parent:l.componentStack,type:f}}function Vr(l){l.componentStack===null?o("Unexpectedly popped too many stack frames. This is a bug in React."):l.componentStack=l.componentStack.parent}var eo=null;function gl(l,f){{var b;typeof f=="string"?b=f:f&&typeof f.message=="string"?b=f.message:b=String(f);var k=eo||No();eo=null,l.errorMessage=b,l.errorComponentStack=k}}function Hr(l,f){var b=l.onError(f);if(b!=null&&typeof b!="string")throw new Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof b+'" instead');return b}function Xi(l,f){var b=l.onShellError;b(f);var k=l.onFatalError;k(f),l.destination!==null?(l.status=qa,pe(l.destination,f)):(l.status=iu,l.fatalError=f)}function su(l,f,b){Qi(f,"Suspense");var k=f.blockedBoundary,M=f.blockedSegment,B=b.fallback,H=b.children,te=new Set,s=Bo(l,te),c=M.chunks.length,g=hl(l,c,s,M.formatContext,!1,!1);M.children.push(g),M.lastPushedText=!1;var y=hl(l,0,null,M.formatContext,!1,!1);y.parentFlushed=!0,f.blockedBoundary=s,f.blockedSegment=y;try{if(ws(l,f,H),ni(y.chunks,l.responseState,y.lastPushedText,y.textEmbedded),y.status=Wr,xs(s,y),s.pendingTasks===0){Vr(f);return}}catch(D){y.status=Xa,s.forceClientRender=!0,s.errorDigest=Hr(l,D),gl(s,D)}finally{f.blockedBoundary=k,f.blockedSegment=M}var T=hs(l,B,k,g,te,f.legacyContext,f.context,f.treeContext);T.componentStack=f.componentStack,l.pingedTasks.push(T),Vr(f)}function to(l,f,b,k){Qi(f,b);var M=f.blockedSegment,B=ho(M.chunks,b,k,l.responseState,M.formatContext);M.lastPushedText=!1;var H=M.formatContext;M.formatContext=mi(H,b,k),ws(l,f,B),M.formatContext=H,go(M.chunks,b),M.lastPushedText=!1,Vr(f)}function gs(l){return l.prototype&&l.prototype.isReactComponent}function ml(l,f,b,k,M){var B={};Jl(f,B);var H=b(k,M);return Sa(b,k,H,M)}function Uu(l,f,b,k,M){var B=b.render();b.props!==M&&(zo||o("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",cn(k)||"a component"),zo=!0);{var H=k.childContextTypes;if(H!=null){var te=f.legacyContext,s=Zl(b,k,te,H);f.legacyContext=s,wr(l,f,B),f.legacyContext=te;return}}wr(l,f,B)}function lu(l,f,b,k){jo(f,b);var M=Gl(b,f.legacyContext),B=Si(b,k,M);Lu(B,b,k,M),Uu(l,f,B,b,k),Vr(f)}var bt={},ms={},Wu={},no={},zo=!1,uu=!1,cu=!1,br=!1;function Vu(l,f,b,k){var M;if(M=Gl(b,f.legacyContext),ci(f,b),b.prototype&&typeof b.prototype.render=="function"){var B=cn(b)||"Unknown";bt[B]||(o("The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.",B,B),bt[B]=!0)}var H=ml(l,f,b,k,M),te=lr();if(typeof H=="object"&&H!==null&&typeof H.render=="function"&&H.$$typeof===void 0){var s=cn(b)||"Unknown";ms[s]||(o("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",s,s,s),ms[s]=!0)}if(typeof H=="object"&&H!==null&&typeof H.render=="function"&&H.$$typeof===void 0){{var c=cn(b)||"Unknown";ms[c]||(o("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",c,c,c),ms[c]=!0)}Lu(H,b,k,M),Uu(l,f,H,b,k)}else if(vs(b),te){var g=f.treeContext,y=1,T=0;f.treeContext=ol(g,y,T);try{wr(l,f,H)}finally{f.treeContext=g}}else wr(l,f,H);Vr(f)}function vs(l){{if(l&&l.childContextTypes&&o("%s(...): childContextTypes cannot be defined on a function component.",l.displayName||l.name||"Component"),typeof l.getDerivedStateFromProps=="function"){var f=cn(l)||"Unknown";no[f]||(o("%s: Function components do not support getDerivedStateFromProps.",f),no[f]=!0)}if(typeof l.contextType=="object"&&l.contextType!==null){var b=cn(l)||"Unknown";Wu[b]||(o("%s: Function components do not support contextType.",b),Wu[b]=!0)}}}function bs(l,f){if(l&&l.defaultProps){var b=jr({},f),k=l.defaultProps;for(var M in k)b[M]===void 0&&(b[M]=k[M]);return b}return f}function Hu(l,f,b,k,M){ci(f,b.render);var B=ml(l,f,b.render,k,M),H=lr();if(H){var te=f.treeContext,s=1,c=0;f.treeContext=ol(te,s,c);try{wr(l,f,B)}finally{f.treeContext=te}}else wr(l,f,B);Vr(f)}function $u(l,f,b,k,M){var B=b.type,H=bs(B,k);vl(l,f,B,H,M)}function yr(l,f,b,k){b._context===void 0?b!==b.Consumer&&(br||(br=!0,o("Rendering <Context> directly is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?"))):b=b._context;var M=k.children;typeof M!="function"&&o("A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it.");var B=os(b),H=M(B);wr(l,f,H)}function ka(l,f,b,k){var M=b._context,B=k.value,H=k.children,te;te=f.context,f.context=Mu(M,B),wr(l,f,H),f.context=Fu(M),te!==f.context&&o("Popping the context provider did not return back to the original snapshot. This is a bug in React.")}function du(l,f,b,k,M){Qi(f,"Lazy");var B=b._payload,H=b._init,te=H(B),s=bs(te,k);vl(l,f,te,s,M),Vr(f)}function vl(l,f,b,k,M){if(typeof b=="function")if(gs(b)){lu(l,f,b,k);return}else{Vu(l,f,b,k);return}if(typeof b=="string"){to(l,f,b,k);return}switch(b){case Ua:case vr:case Y:case se:case Dn:{wr(l,f,k.children);return}case gn:{Qi(f,"SuspenseList"),wr(l,f,k.children),Vr(f);return}case jl:throw new Error("ReactDOMServer does not yet support scope components.");case Pt:{su(l,f,k);return}}if(typeof b=="object"&&b!==null)switch(b.$$typeof){case ot:{Hu(l,f,b,k,M);return}case Wt:{$u(l,f,b,k,M);return}case ne:{ka(l,f,b,k);return}case Ne:{yr(l,f,b,k);return}case ha:{du(l,f,b,k);return}}var B="";throw(b===void 0||typeof b=="object"&&b!==null&&Object.keys(b).length===0)&&(B+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."),new Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) "+("but got: "+(b==null?b:typeof b)+"."+B))}function bl(l,f){typeof Symbol=="function"&&l[Symbol.toStringTag]==="Generator"&&(uu||o("Using Generators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. Keep in mind you might need to polyfill these features for older browsers."),uu=!0),l.entries===f&&(cu||o("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),cu=!0)}function wr(l,f,b){try{return ys(l,f,b)}catch(k){throw typeof k=="object"&&k!==null&&typeof k.then=="function"||(eo=eo!==null?eo:No()),k}}function ys(l,f,b){if(f.node=b,typeof b=="object"&&b!==null){switch(b.$$typeof){case _c:{var k=b,M=k.type,B=k.props,H=k.ref;vl(l,f,M,B,H);return}case Iu:throw new Error("Portals are not currently supported by the server renderer. Render them conditionally so that they only appear on the client render.");case ha:{var te=b,s=te._payload,c=te._init,g;try{g=c(s)}catch(Ge){throw typeof Ge=="object"&&Ge!==null&&typeof Ge.then=="function"&&Qi(f,"Lazy"),Ge}wr(l,f,g);return}}if(vt(b)){fu(l,f,b);return}var y=Qs(b);if(y){bl(b,y);var T=y.call(b);if(T){var D=T.next();if(!D.done){var V=[];do V.push(D.value),D=T.next();while(!D.done);fu(l,f,V);return}return}}var ee=Object.prototype.toString.call(b);throw new Error("Objects are not valid as a React child (found: "+(ee==="[object Object]"?"object with keys {"+Object.keys(b).join(", ")+"}":ee)+"). If you meant to render a collection of children, use an array instead.")}if(typeof b=="string"){var fe=f.blockedSegment;fe.lastPushedText=Ni(f.blockedSegment.chunks,b,l.responseState,fe.lastPushedText);return}if(typeof b=="number"){var Pe=f.blockedSegment;Pe.lastPushedText=Ni(f.blockedSegment.chunks,""+b,l.responseState,Pe.lastPushedText);return}typeof b=="function"&&o("Functions are not valid as a React child. This may happen if you return a Component instead of <Component /> from render. Or maybe you meant to call this function rather than return it.")}function fu(l,f,b){for(var k=b.length,M=0;M<k;M++){var B=f.treeContext;f.treeContext=ol(B,k,M);try{ws(l,f,b[M])}finally{f.treeContext=B}}}function ur(l,f,b){var k=f.blockedSegment,M=k.chunks.length,B=hl(l,M,null,k.formatContext,k.lastPushedText,!0);k.children.push(B),k.lastPushedText=!1;var H=hs(l,f.node,f.blockedBoundary,B,f.abortSet,f.legacyContext,f.context,f.treeContext);f.componentStack!==null&&(H.componentStack=f.componentStack.parent);var te=H.ping;b.then(te,te)}function ws(l,f,b){var k=f.blockedSegment.formatContext,M=f.legacyContext,B=f.context,H=null;H=f.componentStack;try{return wr(l,f,b)}catch(te){if(Ql(),typeof te=="object"&&te!==null&&typeof te.then=="function"){ur(l,f,te),f.blockedSegment.formatContext=k,f.legacyContext=M,f.context=B,as(B),f.componentStack=H;return}else throw f.blockedSegment.formatContext=k,f.legacyContext=M,f.context=B,as(B),f.componentStack=H,te}}function qi(l,f,b,k){var M=Hr(l,k);if(f===null?Xi(l,k):(f.pendingTasks--,f.forceClientRender||(f.forceClientRender=!0,f.errorDigest=M,gl(f,k),f.parentFlushed&&l.clientRenderedBoundaries.push(f))),l.allPendingTasks--,l.allPendingTasks===0){var B=l.onAllReady;B()}}function Fc(l){var f=this,b=l.blockedBoundary,k=l.blockedSegment;k.status=pl,pu(f,b,k)}function di(l,f,b){var k=l.blockedBoundary,M=l.blockedSegment;if(M.status=pl,k===null)f.allPendingTasks--,f.status!==qa&&(f.status=qa,f.destination!==null&&ae(f.destination));else{if(k.pendingTasks--,!k.forceClientRender){k.forceClientRender=!0;var B=b===void 0?new Error("The render was aborted by the server without a reason."):b;k.errorDigest=f.onError(B);{var H="The server did not finish this Suspense boundary: ";B&&typeof B.message=="string"?B=H+B.message:B=H+String(B);var te=ui;ui=l;try{gl(k,B)}finally{ui=te}}k.parentFlushed&&f.clientRenderedBoundaries.push(k)}if(k.fallbackAbortableTasks.forEach(function(c){return di(c,f,b)}),k.fallbackAbortableTasks.clear(),f.allPendingTasks--,f.allPendingTasks===0){var s=f.onAllReady;s()}}}function xs(l,f){if(f.chunks.length===0&&f.children.length===1&&f.children[0].boundary===null){var b=f.children[0];b.id=f.id,b.parentFlushed=!0,b.status===Wr&&xs(l,b)}else{var k=l.completedSegments;k.push(f)}}function pu(l,f,b){if(f===null){if(b.parentFlushed){if(l.completedRootSegment!==null)throw new Error("There can only be one root segment. This is a bug in React.");l.completedRootSegment=b}if(l.pendingRootTasks--,l.pendingRootTasks===0){l.onShellError=ki;var k=l.onShellReady;k()}}else if(f.pendingTasks--,!f.forceClientRender){if(f.pendingTasks===0)b.parentFlushed&&b.status===Wr&&xs(f,b),f.parentFlushed&&l.completedBoundaries.push(f),f.fallbackAbortableTasks.forEach(Fc,l),f.fallbackAbortableTasks.clear();else if(b.parentFlushed&&b.status===Wr){xs(f,b);var M=f.completedSegments;M.length===1&&f.parentFlushed&&l.partialBoundaries.push(f)}}if(l.allPendingTasks--,l.allPendingTasks===0){var B=l.onAllReady;B()}}function yl(l,f){var b=f.blockedSegment;if(b.status===ru){as(f.context);var k=null;k=ui,ui=f;try{wr(l,f,f.node),ni(b.chunks,l.responseState,b.lastPushedText,b.textEmbedded),f.abortSet.delete(f),b.status=Wr,pu(l,f.blockedBoundary,b)}catch(B){if(Ql(),typeof B=="object"&&B!==null&&typeof B.then=="function"){var M=f.ping;B.then(M,M)}else f.abortSet.delete(f),b.status=Xa,qi(l,f.blockedBoundary,b,B)}finally{ui=k}}}function Ss(l){if(l.status!==qa){var f=tl(),b=fs.current;fs.current=Xn;var k;k=Do.getCurrentStack,Do.getCurrentStack=No;var M=cs;ds(l.responseState);try{var B=l.pingedTasks,H;for(H=0;H<B.length;H++){var te=B[H];yl(l,te)}B.splice(0,H),l.destination!==null&&Zn(l,l.destination)}catch(s){Hr(l,s),Xi(l,s)}finally{ds(M),fs.current=b,Do.getCurrentStack=k,b===Xn&&as(f)}}}function _s(l,f,b){switch(b.parentFlushed=!0,b.status){case ru:{var k=b.id=l.nextSegmentId++;return b.lastPushedText=!1,b.textEmbedded=!1,Wn(f,l.responseState,k)}case Wr:{b.status=ps;for(var M=!0,B=b.chunks,H=0,te=b.children,s=0;s<te.length;s++){for(var c=te[s];H<c.index;H++)L(f,B[H]);M=wl(l,f,c)}for(;H<B.length-1;H++)L(f,B[H]);return H<B.length&&(M=W(f,B[H])),M}default:throw new Error("Aborted, errored or already flushed boundaries should not be flushed again. This is a bug in React.")}}function wl(l,f,b){var k=b.boundary;if(k===null)return _s(l,f,b);if(k.parentFlushed=!0,k.forceClientRender)return Hn(f,l.responseState,k.errorDigest,k.errorMessage,k.errorComponentStack),_s(l,f,b),Qo(f,l.responseState);if(k.pendingTasks>0){k.rootSegmentID=l.nextSegmentId++,k.completedSegments.length>0&&l.partialBoundaries.push(k);var M=k.id=oa(l.responseState);return Wi(f,l.responseState,M),_s(l,f,b),Er(f,l.responseState)}else{if(k.byteSize>l.progressiveChunkSize)return k.rootSegmentID=l.nextSegmentId++,l.completedBoundaries.push(k),Wi(f,l.responseState,k.id),_s(l,f,b),Er(f,l.responseState);ii(f,l.responseState);var B=k.completedSegments;if(B.length!==1)throw new Error("A previously unvisited boundary must have exactly one root segment. This is a bug in React.");var H=B[0];return wl(l,f,H),qt(f,l.responseState)}}function hu(l,f,b){return Bl(f,l.responseState,b.id,b.errorDigest,b.errorMessage,b.errorComponentStack)}function Uo(l,f,b){return at(f,l.responseState,b.formatContext,b.id),wl(l,f,b),Jt(f,b.formatContext)}function ks(l,f,b){for(var k=b.completedSegments,M=0;M<k.length;M++){var B=k[M];xl(l,f,b,B)}return k.length=0,_o(f,l.responseState,b.id,b.rootSegmentID)}function Gu(l,f,b){for(var k=b.completedSegments,M=0;M<k.length;M++){var B=k[M];if(!xl(l,f,b,B))return M++,k.splice(0,M),!1}return k.splice(0,M),!0}function xl(l,f,b,k){if(k.status===ps)return!0;var M=k.id;if(M===-1){var B=k.id=b.rootSegmentID;if(B===-1)throw new Error("A root segment ID must have been assigned by now. This is a bug in React.");return Uo(l,f,k)}else return Uo(l,f,k),yc(f,l.responseState,M)}function Zn(l,f){N();try{var b=l.completedRootSegment;b!==null&&l.pendingRootTasks===0&&(wl(l,f,b),l.completedRootSegment=null,Ui(f,l.responseState));var k=l.clientRenderedBoundaries,M;for(M=0;M<k.length;M++){var B=k[M];hu(l,f,B)}k.splice(0,M);var H=l.completedBoundaries;for(M=0;M<H.length;M++){var te=H[M];ks(l,f,te)}H.splice(0,M),ge(f),N(f);var s=l.partialBoundaries;for(M=0;M<s.length;M++){var c=s[M];if(!Gu(l,f,c)){l.destination=null,M++,s.splice(0,M);return}}s.splice(0,M);var g=l.completedBoundaries;for(M=0;M<g.length;M++){var y=g[M];ks(l,f,y)}g.splice(0,M)}finally{ge(f),l.allPendingTasks===0&&l.pingedTasks.length===0&&l.clientRenderedBoundaries.length===0&&l.completedBoundaries.length===0&&(l.abortableTasks.size!==0&&o("There was still abortable task at the root when we closed. This is a bug in React."),ae(f))}}function Ei(l){v(function(){return Ss(l)})}function Zu(l,f){if(l.status===iu){l.status=qa,pe(f,l.fatalError);return}if(l.status!==qa&&l.destination===null){l.destination=f;try{Zn(l,f)}catch(b){Hr(l,b),Xi(l,b)}}}function Sl(l,f){try{var b=l.abortableTasks;b.forEach(function(k){return di(k,l,f)}),b.clear(),l.destination!==null&&Zn(l,l.destination)}catch(k){Hr(l,k),Xi(l,k)}}function _l(l,f){return new Promise(function(b,k){var M,B,H=new Promise(function(T,D){B=T,M=D});function te(){var T=new ReadableStream({type:"bytes",pull:function(D){Zu(c,D)},cancel:function(D){Sl(c)}},{highWaterMark:0});T.allReady=H,b(T)}function s(T){H.catch(function(){}),k(T)}var c=Oc(l,Fr(f?f.identifierPrefix:void 0,f?f.nonce:void 0,f?f.bootstrapScriptContent:void 0,f?f.bootstrapScripts:void 0,f?f.bootstrapModules:void 0),ti(f?f.namespaceURI:void 0),f?f.progressiveChunkSize:void 0,f?f.onError:void 0,B,te,s,M);if(f&&f.signal){var g=f.signal,y=function(){Sl(c,g.reason),g.removeEventListener("abort",y)};g.addEventListener("abort",y)}Ei(c)})}wd.renderToReadableStream=_l,wd.version=e}()),wd}var Ml,cf;process.env.NODE_ENV==="production"?(Ml=Sy(),cf=_y()):(Ml=ky(),cf=Ey()),Ml.version;var Cy=Ml.renderToString;Ml.renderToStaticMarkup,Ml.renderToNodeStream,Ml.renderToStaticNodeStream,cf.renderToReadableStream;var df={exports:{}},xd={exports:{}},en={};/** @license React v16.13.1
|
|
174
174
|
* react-is.production.min.js
|
|
175
175
|
*
|
|
176
176
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
177
177
|
*
|
|
178
178
|
* This source code is licensed under the MIT license found in the
|
|
179
179
|
* LICENSE file in the root directory of this source tree.
|
|
180
|
-
*/var
|
|
180
|
+
*/var xh;function Ty(){if(xh)return en;xh=1;var r=typeof Symbol=="function"&&Symbol.for,e=r?Symbol.for("react.element"):60103,n=r?Symbol.for("react.portal"):60106,a=r?Symbol.for("react.fragment"):60107,o=r?Symbol.for("react.strict_mode"):60108,d=r?Symbol.for("react.profiler"):60114,v=r?Symbol.for("react.provider"):60109,_=r?Symbol.for("react.context"):60110,w=r?Symbol.for("react.async_mode"):60111,C=r?Symbol.for("react.concurrent_mode"):60111,N=r?Symbol.for("react.forward_ref"):60112,L=r?Symbol.for("react.suspense"):60113,W=r?Symbol.for("react.suspense_list"):60120,ge=r?Symbol.for("react.memo"):60115,ae=r?Symbol.for("react.lazy"):60116,we=r?Symbol.for("react.block"):60121,Z=r?Symbol.for("react.fundamental"):60117,G=r?Symbol.for("react.responder"):60118,pe=r?Symbol.for("react.scope"):60119;function Se(re){if(typeof re=="object"&&re!==null){var Ie=re.$$typeof;switch(Ie){case e:switch(re=re.type,re){case w:case C:case a:case d:case o:case L:return re;default:switch(re=re&&re.$$typeof,re){case _:case N:case ae:case ge:case v:return re;default:return Ie}}case n:return Ie}}}function _e(re){return Se(re)===C}return en.AsyncMode=w,en.ConcurrentMode=C,en.ContextConsumer=_,en.ContextProvider=v,en.Element=e,en.ForwardRef=N,en.Fragment=a,en.Lazy=ae,en.Memo=ge,en.Portal=n,en.Profiler=d,en.StrictMode=o,en.Suspense=L,en.isAsyncMode=function(re){return _e(re)||Se(re)===w},en.isConcurrentMode=_e,en.isContextConsumer=function(re){return Se(re)===_},en.isContextProvider=function(re){return Se(re)===v},en.isElement=function(re){return typeof re=="object"&&re!==null&&re.$$typeof===e},en.isForwardRef=function(re){return Se(re)===N},en.isFragment=function(re){return Se(re)===a},en.isLazy=function(re){return Se(re)===ae},en.isMemo=function(re){return Se(re)===ge},en.isPortal=function(re){return Se(re)===n},en.isProfiler=function(re){return Se(re)===d},en.isStrictMode=function(re){return Se(re)===o},en.isSuspense=function(re){return Se(re)===L},en.isValidElementType=function(re){return typeof re=="string"||typeof re=="function"||re===a||re===C||re===d||re===o||re===L||re===W||typeof re=="object"&&re!==null&&(re.$$typeof===ae||re.$$typeof===ge||re.$$typeof===v||re.$$typeof===_||re.$$typeof===N||re.$$typeof===Z||re.$$typeof===G||re.$$typeof===pe||re.$$typeof===we)},en.typeOf=Se,en}var tn={};/** @license React v16.13.1
|
|
181
181
|
* react-is.development.js
|
|
182
182
|
*
|
|
183
183
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
184
184
|
*
|
|
185
185
|
* This source code is licensed under the MIT license found in the
|
|
186
186
|
* LICENSE file in the root directory of this source tree.
|
|
187
|
-
*/var
|
|
187
|
+
*/var Sh;function Ry(){return Sh||(Sh=1,process.env.NODE_ENV!=="production"&&function(){var r=typeof Symbol=="function"&&Symbol.for,e=r?Symbol.for("react.element"):60103,n=r?Symbol.for("react.portal"):60106,a=r?Symbol.for("react.fragment"):60107,o=r?Symbol.for("react.strict_mode"):60108,d=r?Symbol.for("react.profiler"):60114,v=r?Symbol.for("react.provider"):60109,_=r?Symbol.for("react.context"):60110,w=r?Symbol.for("react.async_mode"):60111,C=r?Symbol.for("react.concurrent_mode"):60111,N=r?Symbol.for("react.forward_ref"):60112,L=r?Symbol.for("react.suspense"):60113,W=r?Symbol.for("react.suspense_list"):60120,ge=r?Symbol.for("react.memo"):60115,ae=r?Symbol.for("react.lazy"):60116,we=r?Symbol.for("react.block"):60121,Z=r?Symbol.for("react.fundamental"):60117,G=r?Symbol.for("react.responder"):60118,pe=r?Symbol.for("react.scope"):60119;function Se(ke){return typeof ke=="string"||typeof ke=="function"||ke===a||ke===C||ke===d||ke===o||ke===L||ke===W||typeof ke=="object"&&ke!==null&&(ke.$$typeof===ae||ke.$$typeof===ge||ke.$$typeof===v||ke.$$typeof===_||ke.$$typeof===N||ke.$$typeof===Z||ke.$$typeof===G||ke.$$typeof===pe||ke.$$typeof===we)}function _e(ke){if(typeof ke=="object"&&ke!==null){var It=ke.$$typeof;switch(It){case e:var mt=ke.type;switch(mt){case w:case C:case a:case d:case o:case L:return mt;default:var fn=mt&&mt.$$typeof;switch(fn){case _:case N:case ae:case ge:case v:return fn;default:return It}}case n:return It}}}var re=w,Ie=C,Te=_,Dt=v,dt=e,Mt=N,ve=a,ye=ae,Re=ge,Be=n,Ye=d,He=o,je=L,ze=!1;function pt(ke){return ze||(ze=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),oe(ke)||_e(ke)===w}function oe(ke){return _e(ke)===C}function ue(ke){return _e(ke)===_}function Ae(ke){return _e(ke)===v}function Ze(ke){return typeof ke=="object"&&ke!==null&&ke.$$typeof===e}function Fe(ke){return _e(ke)===N}function Me(ke){return _e(ke)===a}function Oe(ke){return _e(ke)===ae}function qe(ke){return _e(ke)===ge}function et(ke){return _e(ke)===n}function Ke(ke){return _e(ke)===d}function nt(ke){return _e(ke)===o}function _t(ke){return _e(ke)===L}tn.AsyncMode=re,tn.ConcurrentMode=Ie,tn.ContextConsumer=Te,tn.ContextProvider=Dt,tn.Element=dt,tn.ForwardRef=Mt,tn.Fragment=ve,tn.Lazy=ye,tn.Memo=Re,tn.Portal=Be,tn.Profiler=Ye,tn.StrictMode=He,tn.Suspense=je,tn.isAsyncMode=pt,tn.isConcurrentMode=oe,tn.isContextConsumer=ue,tn.isContextProvider=Ae,tn.isElement=Ze,tn.isForwardRef=Fe,tn.isFragment=Me,tn.isLazy=Oe,tn.isMemo=qe,tn.isPortal=et,tn.isProfiler=Ke,tn.isStrictMode=nt,tn.isSuspense=_t,tn.isValidElementType=Se,tn.typeOf=_e}()),tn}var _h;function kh(){return _h||(_h=1,process.env.NODE_ENV==="production"?xd.exports=Ty():xd.exports=Ry()),xd.exports}/*
|
|
188
188
|
object-assign
|
|
189
189
|
(c) Sindre Sorhus
|
|
190
190
|
@license MIT
|
|
191
|
-
*/var ff,
|
|
192
|
-
Valid keys: `+JSON.stringify(Object.keys(oe),null," "));var ke=_t(qe,nt,Fe,Me,Oe+"."+nt,n);if(ke)return ke}return null}return Z(ue)}function Be(oe){switch(typeof oe){case"number":case"string":case"undefined":return!0;case"boolean":return!oe;case"object":if(Array.isArray(oe))return oe.every(Be);if(oe===null||_(oe))return!0;var ue=L(oe);if(ue){var Ae=ue.call(oe),Ze;if(ue!==oe.entries){for(;!(Ze=Ae.next()).done;)if(!Be(Ze.value))return!1}else for(;!(Ze=Ae.next()).done;){var Fe=Ze.value;if(Fe&&!Be(Fe[1]))return!1}}else return!1;return!0;default:return!1}}function Ye(oe,ue){return oe==="symbol"?!0:ue?ue["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&ue instanceof Symbol:!1}function He(oe){var ue=typeof oe;return Array.isArray(oe)?"array":oe instanceof RegExp?"object":Ye(ue,oe)?"symbol":ue}function je(oe){if(typeof oe>"u"||oe===null)return""+oe;var ue=He(oe);if(ue==="object"){if(oe instanceof Date)return"date";if(oe instanceof RegExp)return"regexp"}return ue}function ze(oe){var ue=je(oe);switch(ue){case"array":case"object":return"an "+ue;case"boolean":case"date":case"regexp":return"a "+ue;default:return ue}}function pt(oe){return!oe.constructor||!oe.constructor.name?W:oe.constructor.name}return ge.checkPropTypes=o,ge.resetWarningCache=o.resetWarningCache,ge.PropTypes=ge,ge},vf}var bf,
|
|
193
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)},Uy=function(r,e){return By(r)||Ny(r,e)||jy(r,e)||zy()},Fh=Oh(function(r){function e(){return r.exports=e=Object.assign||function(n){for(var a=1;a<arguments.length;a++){var o=arguments[a];for(var d in o)Object.prototype.hasOwnProperty.call(o,d)&&(n[d]=o[d])}return n},e.apply(this,arguments)}r.exports=e}),Wy=function(r,e){if(r==null)return{};var n,a,o={},d=Object.keys(r);for(a=0;a<d.length;a++)n=d[a],e.indexOf(n)>=0||(o[n]=r[n]);return o},Ph=function(r,e){if(r==null)return{};var n,a,o=Wy(r,e);if(Object.getOwnPropertySymbols){var d=Object.getOwnPropertySymbols(r);for(a=0;a<d.length;a++)n=d[a],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(r,n)&&(o[n]=r[n])}return o},Vy=Le.createContext(null);function yf(r){var e=r.children,n=Ph(r,["children"]);return typeof e!="string"&&(e=Ey(e)),Le.createElement("template",Fh({},n,{dangerouslySetInnerHTML:{__html:e}}))}function wf(r){var e=r.root,n=r.children;return El.createPortal(n,e)}function Hy(r){var e=Le.forwardRef(function(n,a){var o,d,v=n.mode,_=n.delegatesFocus,w=n.styleSheets,C=n.ssr,N=n.children,L=Ph(n,["mode","delegatesFocus","styleSheets","ssr","children"]),W=(d=Le.useRef((o=a)&&o.current),Le.useEffect(function(){o&&(o.current=d.current)},[o]),d),ge=Le.useState(null),ae=Uy(ge,2),we=ae[0],Z=ae[1],G="node_".concat(v).concat(_);return Le.useLayoutEffect(function(){if(W.current)try{if(typeof a=="function"&&a(W.current),C){var pe=W.current.shadowRoot;return void Z(pe)}var Se=W.current.attachShadow({mode:v,delegatesFocus:_});w.length>0&&(Se.adoptedStyleSheets=w),Z(Se)}catch(_e){(function(re){var Ie=re.error,Te=re.styleSheets,Dt=re.root;switch(Ie.name){case"NotSupportedError":Te.length>0&&(Dt.adoptedStyleSheets=Te);break;default:throw Ie}})({error:_e,styleSheets:w,root:we})}},[a,W,w]),Le.createElement(Le.Fragment,null,Le.createElement(r.tag,Fh({key:G,ref:W},L),(we||C)&&Le.createElement(Vy.Provider,{value:we},C?Le.createElement(yf,{shadowroot:v,shadowrootmode:v},r.render({root:we,ssr:C,children:N})):Le.createElement(wf,{root:we},r.render({root:we,ssr:C,children:N})))))});return e.propTypes={mode:Ma.oneOf(["open","closed"]),delegatesFocus:Ma.bool,styleSheets:Ma.arrayOf(Ma.instanceOf(globalThis.CSSStyleSheet)),ssr:Ma.bool,children:Ma.node},e.defaultProps={mode:"open",delegatesFocus:!1,styleSheets:[],ssr:!1,children:null},e}yf.propTypes={children:Ma.oneOfType([Ma.string,Ma.node])},yf.defaultProps={children:""},wf.propTypes={root:Ma.object.isRequired,children:Ma.node},wf.defaultProps={children:null};var xf=new Map;function $y(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"core",n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:function(a){return a.children};return new Proxy(r,{get:function(a,o){var d=Ly(o,{separator:"-"}),v="".concat(e,"-").concat(d);return xf.has(v)||xf.set(v,Hy({tag:d,render:n})),xf.get(v)}})}var Gy=$y();const Zy=`*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}em{font-style:italic;font-weight:400}strong{font-weight:700}em.clean{font-style:normal;font-weight:300}strong.clean{font-weight:300}.underline{text-decoration:underline}.de-em{font-weight:200}.serif{font-family:Georgia,serif}small{font-size:.8rem}h1{font-size:1.75rem;font-weight:500;margin:1.5rem 0 2rem}h2{font-size:1.5rem;font-weight:500;margin:1.5rem 0 1rem}h3{font-size:1.25rem;font-weight:500;margin:1.5rem 0 1rem}h4{font-size:1rem;font-weight:500;margin:1.5rem 0 1rem}:host{--background: 0, 0%, 100%;--foreground: 222, 84%, 4.9%;--muted: 222 0% 50%;--primary: 187, 44%, 81%;--primary-inv: 222 84% 4.9%;--secondary: 222 0% 60%;--secondary-inv: 222.2 47.4% 11.2%;--slider-track: 0 0% 90%;--panel-padding: 1rem;--default-radius: .25rem;--checkradio-size: 1rem;--question-padding: 2rem;--active-bar-padding: 8px;--option-gap-y: 0}@media (min-width: 800px){:host{--panel-padding: 2rem;--active-bar-padding: 10px}}.dark{--background: 240, 14%, 10%;--foreground: 240, 14%, 98%;--muted: 240 14% 80%;--secondary: 222 0% 60%;--secondary-foreground: 210 40% 98%;--slider-track: 180 2% 15% }:host{all:initial;display:block;position:relative;line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;font-weight:300}input:not([type=checkbox]):not([type=radio]),textarea,select{border-width:1px;padding:.4rem;border-radius:var(--default-radius);border-color:hsl(var(--foreground));background-color:hasl(var(--background));color:var(--foreground)}input[type=checkbox],input[type=radio]{width:var(--checkradio-size);height:var(--checkradio-size);vertical-align:middle;position:relative;bottom:.125rem}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.progress-bar{margin:var(--panel-padding)}.progress-bar .progress-wrapper .progress-slider{background-position:0 4px;display:inline-block;height:12px;border:1px solid #ccc;border-radius:6px;padding:1px}.panel .progress-bar .progress-wrapper{text-align:center}.progress-bar .progress-stop{height:8px;line-height:8px;width:6px;background:none;font-size:6px;text-indent:-1234em;display:block;float:left}.progress-bar .progress-stop.first-child{width:8px;border-radius:5px 0 0 5px}.progress-bar .progress-stop.last-child{width:8px;border-radius:0 5px 5px 0}.progress-bar .progress-stop.active{background:hsl(var(--muted))}.progress-bar .progress-stop.current{border-radius:0 5px 5px 0}.progress-bar .progress-stop.current.first-child{border-radius:5px}.progress-bar .progress-details{color:has(var(--muted));font-size:9px}.prose p{margin:0 0 1rem}.prose>*:first-child{margin-top:0}.prose>*:last-child{margin-bottom:0}.prose ul{list-style-type:disc;margin:0 0 1rem 1.5rem}.prose ol{list-style-type:lower-alpha;margin:0 0 1rem 1.5rem}.prose li{padding-left:.5rem}.prose hr{margin:var(--question-padding) 1rem;border:none;height:.125rem;background-color:hsl(var(--muted))}.prose hr.compact{margin:1rem}blockquote{margin:1em 2em}blockquote p{font-style:italic}blockquote p:before,blockquote p:last-child:after{content:"“";font-family:Georgia;font-size:2.5rem;margin:-.8rem 0 0 -1.1rem;position:absolute;color:#666}blockquote p:last-child:after{content:"”";margin:0 0 0 -.1rem}blockquote.blue-quotes p:before,blockquote.blue-quotes p:last-child:after{color:#298ed5}.absolute{position:absolute}.order-last{order:9999}.m-panel-padding{margin:var(--panel-padding)}.mx-1{margin-left:.25rem;margin-right:.25rem}.my-1{margin-top:.25rem;margin-bottom:.25rem}.mb-1{margin-bottom:.25rem}.mb-2{margin-bottom:.5rem}.mr-1{margin-right:.25rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.inline{display:inline}.flex{display:flex}.table{display:table}.hidden{display:none}.w-full{width:100%}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.resize{resize:both}.justify-between{justify-content:space-between}.rounded{border-radius:.25rem}.border{border-width:1px}.border-2{border-width:2px}.border-warning{--tw-border-opacity: 1;border-color:rgb(255 165 0 / var(--tw-border-opacity))}.bg-primary{background-color:hsl(var(--primary))}.bg-secondary{background-color:hsl(var(--secondary))}.bg-slate-100{--tw-bg-opacity: 1;background-color:rgb(241 245 249 / var(--tw-bg-opacity))}.p-2{padding:.5rem}.p-panel-padding{padding:var(--panel-padding)}.text-center{text-align:center}.align-top{vertical-align:top}.text-lg{font-size:1.125rem;line-height:1.75rem}.font-light{font-weight:200}.font-medium{font-weight:400}.font-semibold{font-weight:500}.text-primary-inv{color:hsl(var(--primary-inv))}.text-secondary-inv{color:hsl(var(--secondary-inv))}.underline{text-decoration-line:underline}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.panel{background-color:hsl(var(--background));color:hsl(var(--foreground));margin-bottom:5rem;border-radius:.25rem;border-width:2px;border-color:hsl(var(--muted))}.option .labelwrapper p{display:inline}.item.active,.item:has(.active){box-shadow:calc(-1 * var(--active-bar-padding)) 0 0 0 hsl(var(--background)),calc(-4px - var(--active-bar-padding)) 0 0 0 #b9dfe4}.item .main{font-weight:500;font-size:1.25rem}.item .inner-title{margin:1rem 0 .5rem;font-weight:500}.item .description-and-fields>.description{font-weight:200;margin-bottom:.5rem}.item .description-and-fields>.description .instruction{font-weight:300}.item.radio .option,.item.check_box .option{display:flex;flex-wrap:wrap}.item.radio .option .radiocheckwrapper,.item.check_box .option .radiocheckwrapper{flex:0 0 var(--checkradio-size)}.item.radio .option .value,.item.check_box .option .value{flex:0 0 2rem;text-align:right}.item.radio .option .labelwrapper,.item.check_box .option .labelwrapper{flex:1 1 0;padding-left:.75rem}.item.radio .option .subquestions,.item.check_box .option .subquestions{width:100%}.item.radio .option+.option,.item.check_box .option+.option{margin-top:calc(var(--option-gap-y) * .25rem)}.subquestions{margin-left:calc(var(--active-bar-padding) + var(--checkradio-size)/2 + 2px)}.item,.context-description{margin-bottom:var(--question-padding)}.item:not(.radio):not(.check_box) .description-and-fields{padding-bottom:.5em}.item.errors{outline:1px solid red;border-radius:calc(var(--default-radius) + .5rem);margin-left:-.5em;margin-right:-.5em;padding:.5rem .5rem 0;--active-bar-padding: 1px}.item.errors .error{background:#ffbbbb;color:#222;outline:1px solid #ff3333;border-radius:var(--default-radius);margin:.25rem;padding:.25rem}:is(.dark .dark\\:bg-slate-700){--tw-bg-opacity: 1;background-color:rgb(51 65 85 / var(--tw-bg-opacity))}
|
|
194
|
-
`,Yy=`:host{--background: 0 0% 100%}.item.date_parts .mr-1{margin-right:.125rem}.item.date_parts .mb-2{margin-bottom:.25rem}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font:inherit;font-size:100%;vertical-align:baseline}html{line-height:1}ol,ul{list-style:none}table{border-collapse:collapse;border-spacing:0}caption,th,td{text-align:left;font-weight:400;vertical-align:middle}q,blockquote{quotes:none}q:before,q:after,blockquote:before,blockquote:after{content:"";content:none}a img{border:none}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}#modalFrameDialog{padding:0}#modalFrame{width:100%;height:99%}.x_container{display:none}sup,sub{font-size:.8em!important;position:relative;line-height:0}sup{top:-.4em}sub{bottom:-.25em}html{overflow-x:hidden}body{font-family:Verdana,sans-serif;font-size:.8em;line-height:normal;background-color:#eee;max-width:100%;overflow-x:hidden;position:relative}.panel-action-links{text-align:right;margin-bottom:1em}.panel-action-link{margin-left:1em}#mastfoot{margin:0 auto;max-width:900px;text-align:right;color:#aaa}#mastfoot:before{content:"—"}#mastfoot:after{content:"—"}#noscript-warning{position:fixed;top:0;left:0;width:100%;background:yellow;border:4px solid red;color:red;font-size:1.5em;text-align:center}.nowrap{white-space:nowrap}select{width:100%}i{font-style:italic!important}em{font-weight:700}#content{margin-bottom:4em}#content input[disabled]{background-color:#ddd}#content .flash{max-width:59em;_width:59em;padding-left:1em;padding-right:1em;margin-left:auto;margin-right:auto;margin-bottom:1em}#content .flash:after{content:"";display:table;clear:both}#content .flash div{padding:5px;background:#333333;border:1px solid black}#content .flash .error{background:#ffbbbb;border:1px solid #ff3333}#content .flash .notice{background:#ffffcc;border:1px solid #ffcc66}#content .flash .success{background-color:#cfc;border:1px solid #11cc11}#content #force-submit{background:#ffffcc;border:1px solid #ffcc66;padding:3em;font-size:1.2em;margin-bottom:5em}#content #force-submit h1{font-weight:700;margin-bottom:1em}#content #force-submit p{margin-bottom:1em}#content .specifier{margin:0!important}#content .specifier.errors{width:auto!important;float:left}.evenRow{background-color:#eee}.hotkeyDialog p{margin:1em 0}.hotkeyDialog td{border:0px}table{width:100%;border-collapse:collapse;margin-bottom:1.5em}table thead tr th{background:black;color:#fff;padding:5px}table tr.even{background:#e9e9e9}table td{padding:5px;border:1px solid #cecece;vertical-align:top}.ui-dialog-buttonpane{overflow:hidden!important}pre{font-family:Deja Vu Sans Mono,Courier New,Courier,monospace}.question{background:#e5e5e5;margin:2em;padding:2em}label.placeholder{cursor:text;padding:4px;color:#999}input::-webkit-input-placeholder,textarea::-webkit-input-placeholder{color:#999}input:placeholder,textarea:placeholder{color:#999}.focus{background:#cce8ed!important}.print{width:83.05085%;float:left;margin-right:1.69492%;display:inline;margin-top:2em}.print a{color:#00f;text-decoration:underline}.error .stacktrace{color:#777;white-space:pre-line}html.busy,html.busy *{cursor:wait!important}.hidden,.paged .noVisibleQuestions,.single-page .noVisibleQuestions{display:none}.paged .hide,.single-page .hide{margin:0!important;outline:none!important}.paged .hide>*,.single-page .hide>*{display:none!important}.paged .panel,.single-page .panel{background:white}.paged .panel,.single-page .panel{max-width:59em;_width:59em;padding-left:1em;padding-right:1em;margin-left:auto;margin-right:auto;padding-top:20px}.paged .panel:after,.single-page .panel:after{content:"";display:table;clear:both}.paged .panel .table div,.single-page .panel .table div,.paged .panel .table span,.single-page .panel .table span,.paged .panel .table applet,.single-page .panel .table applet,.paged .panel .table object,.single-page .panel .table object,.paged .panel .table iframe,.single-page .panel .table iframe,.paged .panel .table h1,.single-page .panel .table h1,.paged .panel .table h2,.single-page .panel .table h2,.paged .panel .table h3,.single-page .panel .table h3,.paged .panel .table h4,.single-page .panel .table h4,.paged .panel .table h5,.single-page .panel .table h5,.paged .panel .table h6,.single-page .panel .table h6,.paged .panel .table p,.single-page .panel .table p,.paged .panel .table blockquote,.single-page .panel .table blockquote,.paged .panel .table pre,.single-page .panel .table pre,.paged .panel .table a,.single-page .panel .table a,.paged .panel .table abbr,.single-page .panel .table abbr,.paged .panel .table acronym,.single-page .panel .table acronym,.paged .panel .table address,.single-page .panel .table address,.paged .panel .table big,.single-page .panel .table big,.paged .panel .table cite,.single-page .panel .table cite,.paged .panel .table code,.single-page .panel .table code,.paged .panel .table del,.single-page .panel .table del,.paged .panel .table dfn,.single-page .panel .table dfn,.paged .panel .table em,.single-page .panel .table em,.paged .panel .table img,.single-page .panel .table img,.paged .panel .table ins,.single-page .panel .table ins,.paged .panel .table kbd,.single-page .panel .table kbd,.paged .panel .table q,.single-page .panel .table q,.paged .panel .table s,.single-page .panel .table s,.paged .panel .table samp,.single-page .panel .table samp,.paged .panel .table small,.single-page .panel .table small,.paged .panel .table strike,.single-page .panel .table strike,.paged .panel .table strong,.single-page .panel .table strong,.paged .panel .table sub,.single-page .panel .table sub,.paged .panel .table sup,.single-page .panel .table sup,.paged .panel .table tt,.single-page .panel .table tt,.paged .panel .table var,.single-page .panel .table var,.paged .panel .table b,.single-page .panel .table b,.paged .panel .table u,.single-page .panel .table u,.paged .panel .table i,.single-page .panel .table i,.paged .panel .table center,.single-page .panel .table center,.paged .panel .table dl,.single-page .panel .table dl,.paged .panel .table dt,.single-page .panel .table dt,.paged .panel .table dd,.single-page .panel .table dd,.paged .panel .table ol,.single-page .panel .table ol,.paged .panel .table ul,.single-page .panel .table ul,.paged .panel .table li,.single-page .panel .table li,.paged .panel .table fieldset,.single-page .panel .table fieldset,.paged .panel .table form,.single-page .panel .table form,.paged .panel .table label,.single-page .panel .table label,.paged .panel .table legend,.single-page .panel .table legend,.paged .panel .table table,.single-page .panel .table table,.paged .panel .table caption,.single-page .panel .table caption,.paged .panel .table tbody,.single-page .panel .table tbody,.paged .panel .table tfoot,.single-page .panel .table tfoot,.paged .panel .table thead,.single-page .panel .table thead,.paged .panel .table tr,.single-page .panel .table tr,.paged .panel .table th,.single-page .panel .table th,.paged .panel .table td,.single-page .panel .table td,.paged .panel .table article,.single-page .panel .table article,.paged .panel .table aside,.single-page .panel .table aside,.paged .panel .table canvas,.single-page .panel .table canvas,.paged .panel .table details,.single-page .panel .table details,.paged .panel .table embed,.single-page .panel .table embed,.paged .panel .table figure,.single-page .panel .table figure,.paged .panel .table figcaption,.single-page .panel .table figcaption,.paged .panel .table footer,.single-page .panel .table footer,.paged .panel .table header,.single-page .panel .table header,.paged .panel .table hgroup,.single-page .panel .table hgroup,.paged .panel .table menu,.single-page .panel .table menu,.paged .panel .table nav,.single-page .panel .table nav,.paged .panel .table output,.single-page .panel .table output,.paged .panel .table ruby,.single-page .panel .table ruby,.paged .panel .table section,.single-page .panel .table section,.paged .panel .table summary,.single-page .panel .table summary,.paged .panel .table time,.single-page .panel .table time,.paged .panel .table mark,.single-page .panel .table mark,.paged .panel .table audio,.single-page .panel .table audio,.paged .panel .table video,.single-page .panel .table video{margin:0;padding:0;border:0;font:inherit;font-size:100%;vertical-align:baseline}.paged .panel .table table,.single-page .panel .table table{border-collapse:collapse;border-spacing:0}.paged .panel .table caption,.single-page .panel .table caption,.paged .panel .table th,.single-page .panel .table th,.paged .panel .table td,.single-page .panel .table td{text-align:left;font-weight:400;vertical-align:middle}.paged .panel .table q,.single-page .panel .table q,.paged .panel .table blockquote,.single-page .panel .table blockquote{quotes:none}.paged .panel .table q:before,.single-page .panel .table q:before,.paged .panel .table q:after,.single-page .panel .table q:after,.paged .panel .table blockquote:before,.single-page .panel .table blockquote:before,.paged .panel .table blockquote:after,.single-page .panel .table blockquote:after{content:"";content:none}.paged .panel .table a img,.single-page .panel .table a img{border:none}.paged .panel .table p,.single-page .panel .table p,.paged .panel .table div,.single-page .panel .table div{display:inline}.paged .panel .table caption,.single-page .panel .table caption{margin-bottom:.5em}.paged .panel .table .errors,.single-page .panel .table .errors{outline:2px solid red!important}.paged .panel .table .error,.single-page .panel .table .error{display:inline-block;background:#ffbbbb;outline:1px solid #ff3333}.paged .panel .table .error.hidden,.single-page .panel .table .error.hidden{display:none}.paged .panel .table table,.single-page .panel .table table{border-bottom:1px solid black;border-collapse:collapse;margin:0}.paged .panel .table table *,.single-page .panel .table table *{width:auto}.paged .panel .table table .option,.single-page .panel .table table .option{white-space:normal}.paged .panel .table table td>div>*,.single-page .panel .table table td>div>*{margin-top:.5em;margin-bottom:.5em}.paged .panel .table table .row,.single-page .panel .table table .row{width:100%;float:right;margin-right:0;display:inline;float:none;display:table-row}.paged .panel .table table .row td,.single-page .panel .table table .row td,.paged .panel .table table .row th,.single-page .panel .table table .row th{display:table-cell;border:0;border-bottom:1px solid #bbb;vertical-align:top;float:none}.paged .panel .table table .row td.main,.single-page .panel .table table .row td.main,.paged .panel .table table .row th.main,.single-page .panel .table table .row th.main{vertical-align:middle}.paged .panel .table table .row.inner_row td,.single-page .panel .table table .row.inner_row td{border:0}.paged .panel .table table .row:first-child td,.single-page .panel .table table .row:first-child td{border-top:1px solid #bbb}.paged .panel .table table .row input.float,.single-page .panel .table table .row input.float,.paged .panel .table table .row input.integer,.single-page .panel .table table .row input.integer{width:54px}.paged .panel .table table .row input.string,.single-page .panel .table table .row input.string,.paged .panel .table table .row input.textarea,.single-page .panel .table table .row input.textarea{width:92%}.paged .panel .table table .row input.sized,.single-page .panel .table table .row input.sized{width:auto}.paged .panel .table table .row input.fd-form-element-hidden,.single-page .panel .table table .row input.fd-form-element-hidden{display:none}.paged .panel .table table .row .unit,.single-page .panel .table table .row .unit{vertical-align:-20%;padding-left:4px}.paged .panel .table .item,.single-page .panel .table .item{float:none;width:auto;margin-right:auto;display:block}.paged .panel .table .main,.single-page .panel .table .main{width:33.33333%;float:none!important;display:table-cell!important}.paged .panel .table .main label small,.single-page .panel .table .main label small{font-size:.7em}.paged .panel .table .description,.single-page .panel .table .description{text-align:right}.paged .panel .table .option_sets .option,.single-page .panel .table .option_sets .option{padding-left:1em;padding-bottom:.5em;vertical-align:bottom}.paged .panel .table .dark,.single-page .panel .table .dark{background-color:#eee}.paged .panel .table .light,.single-page .panel .table .light{background-color:#fff}@media (max-width: 420px){.paged .horizontal.item.scale table,.single-page .horizontal.item.scale table{table-layout:fixed}.paged .horizontal.item.scale table td.last p,.single-page .horizontal.item.scale table td.last p{position:absolute;right:20px;max-width:5rem;text-align:right}}.paged tr,.single-page tr{border:1px solid #aaa}.paged .item,.single-page .item{width:100%;float:right;margin-right:0;display:inline;margin-bottom:18px}.paged .item.horizontal.radio .option,.single-page .item.horizontal.radio .option,.paged .item.horizontal.check_box .option,.single-page .item.horizontal.check_box .option,.paged .item.vertical.radio .option,.single-page .item.vertical.radio .option,.paged .item.vertical.check_box .option,.single-page .item.vertical.check_box .option{width:100%;float:right;margin-right:0;display:inline}.paged .item.horizontal.radio .option .radiocheckwrapper,.single-page .item.horizontal.radio .option .radiocheckwrapper,.paged .item.horizontal.check_box .option .radiocheckwrapper,.single-page .item.horizontal.check_box .option .radiocheckwrapper,.paged .item.vertical.radio .option .radiocheckwrapper,.single-page .item.vertical.radio .option .radiocheckwrapper,.paged .item.vertical.check_box .option .radiocheckwrapper,.single-page .item.vertical.check_box .option .radiocheckwrapper{width:6.77966%;float:left;margin-right:1.69492%;display:inline}.paged .item.horizontal.radio .option .labelwrapper,.single-page .item.horizontal.radio .option .labelwrapper,.paged .item.horizontal.check_box .option .labelwrapper,.single-page .item.horizontal.check_box .option .labelwrapper,.paged .item.vertical.radio .option .labelwrapper,.single-page .item.vertical.radio .option .labelwrapper,.paged .item.vertical.check_box .option .labelwrapper,.single-page .item.vertical.check_box .option .labelwrapper{width:91.52542%;float:right;margin-right:0;display:inline}.paged .item.horizontal.radio .option.show_values .value,.single-page .item.horizontal.radio .option.show_values .value,.paged .item.horizontal.check_box .option.show_values .value,.single-page .item.horizontal.check_box .option.show_values .value,.paged .item.vertical.radio .option.show_values .value,.single-page .item.vertical.radio .option.show_values .value,.paged .item.vertical.check_box .option.show_values .value,.single-page .item.vertical.check_box .option.show_values .value{width:6.77966%;float:left;margin-right:1.69492%;display:inline}.paged .item.horizontal.radio .option.show_values .labelwrapper,.single-page .item.horizontal.radio .option.show_values .labelwrapper,.paged .item.horizontal.check_box .option.show_values .labelwrapper,.single-page .item.horizontal.check_box .option.show_values .labelwrapper,.paged .item.vertical.radio .option.show_values .labelwrapper,.single-page .item.vertical.radio .option.show_values .labelwrapper,.paged .item.vertical.check_box .option.show_values .labelwrapper,.single-page .item.vertical.check_box .option.show_values .labelwrapper{width:83.05085%;float:right;margin-right:0;display:inline}.paged .item.horizontal.string input,.single-page .item.horizontal.string input,.paged .item.horizontal.string textarea,.single-page .item.horizontal.string textarea,.paged .item.horizontal.textarea input,.single-page .item.horizontal.textarea input,.paged .item.horizontal.textarea textarea,.single-page .item.horizontal.textarea textarea,.paged .item.vertical.string input,.single-page .item.vertical.string input,.paged .item.vertical.string textarea,.single-page .item.vertical.string textarea,.paged .item.vertical.textarea input,.single-page .item.vertical.textarea input,.paged .item.vertical.textarea textarea,.single-page .item.vertical.textarea textarea{width:100%;margin-right:0;display:inline}.paged .item.horizontal.string .sized,.single-page .item.horizontal.string .sized,.paged .item.horizontal.textarea .sized,.single-page .item.horizontal.textarea .sized,.paged .item.vertical.string .sized,.single-page .item.vertical.string .sized,.paged .item.vertical.textarea .sized,.single-page .item.vertical.textarea .sized{width:auto}.paged .progress-bar,.single-page .progress-bar{width:100%;float:right;display:inline;margin-left:-20px;margin-right:-20px;padding:1.5em 20px}.paged .progress-bar .progress-wrapper .progress-slider,.single-page .progress-bar .progress-wrapper .progress-slider{background-position:0 3px;display:inline-block;zoom:1}.paged .progress-bar .progress-wrapper .progress-slider .progress-stop,.single-page .progress-bar .progress-wrapper .progress-slider .progress-stop{margin:0 2px;width:8px;height:8px}.paged .progress-bar .progress-wrapper .progress-slider.long-list,.single-page .progress-bar .progress-wrapper .progress-slider.long-list{display:none}.paged .buttons,.single-page .buttons{width:100%;float:right;display:inline;margin-left:-20px;margin-right:-20px;padding:1.5em 20px;border-bottom:1px dotted #d0d0d0}.paged .buttons .back,.single-page .buttons .back,.paged .buttons .prev,.single-page .buttons .prev{width:49.15254%;float:left;margin-right:1.69492%;display:inline}.paged .buttons .next,.single-page .buttons .next{width:49.15254%;float:right;margin-right:0;display:inline;text-align:right}.paged .buttons .abort,.single-page .buttons .abort,.paged .buttons .print,.single-page .buttons .print{display:none}.paged .buttons .print,.single-page .buttons .print{width:100%;float:left;margin-right:1.69492%;display:inline;text-align:right}.paged .buttons .save,.single-page .buttons .save{width:49.15254%;float:right;margin-right:0;display:inline;text-align:right}@media (min-width: 35em){.paged #content,.single-page #content{margin:6em auto 0}.paged tr,.single-page tr{border:none}.paged .panel,.single-page .panel{margin-left:auto;margin-right:auto;max-width:49.5em;border:4px solid #dddddd;margin-top:6em;padding:3em 2em 1.5em}.paged .panel:after,.single-page .panel:after{content:"";display:table;clear:both}.paged .panel .table div,.single-page .panel .table div,.paged .panel .table span,.single-page .panel .table span,.paged .panel .table applet,.single-page .panel .table applet,.paged .panel .table object,.single-page .panel .table object,.paged .panel .table iframe,.single-page .panel .table iframe,.paged .panel .table h1,.single-page .panel .table h1,.paged .panel .table h2,.single-page .panel .table h2,.paged .panel .table h3,.single-page .panel .table h3,.paged .panel .table h4,.single-page .panel .table h4,.paged .panel .table h5,.single-page .panel .table h5,.paged .panel .table h6,.single-page .panel .table h6,.paged .panel .table p,.single-page .panel .table p,.paged .panel .table blockquote,.single-page .panel .table blockquote,.paged .panel .table pre,.single-page .panel .table pre,.paged .panel .table a,.single-page .panel .table a,.paged .panel .table abbr,.single-page .panel .table abbr,.paged .panel .table acronym,.single-page .panel .table acronym,.paged .panel .table address,.single-page .panel .table address,.paged .panel .table big,.single-page .panel .table big,.paged .panel .table cite,.single-page .panel .table cite,.paged .panel .table code,.single-page .panel .table code,.paged .panel .table del,.single-page .panel .table del,.paged .panel .table dfn,.single-page .panel .table dfn,.paged .panel .table em,.single-page .panel .table em,.paged .panel .table img,.single-page .panel .table img,.paged .panel .table ins,.single-page .panel .table ins,.paged .panel .table kbd,.single-page .panel .table kbd,.paged .panel .table q,.single-page .panel .table q,.paged .panel .table s,.single-page .panel .table s,.paged .panel .table samp,.single-page .panel .table samp,.paged .panel .table small,.single-page .panel .table small,.paged .panel .table strike,.single-page .panel .table strike,.paged .panel .table strong,.single-page .panel .table strong,.paged .panel .table sub,.single-page .panel .table sub,.paged .panel .table sup,.single-page .panel .table sup,.paged .panel .table tt,.single-page .panel .table tt,.paged .panel .table var,.single-page .panel .table var,.paged .panel .table b,.single-page .panel .table b,.paged .panel .table u,.single-page .panel .table u,.paged .panel .table i,.single-page .panel .table i,.paged .panel .table center,.single-page .panel .table center,.paged .panel .table dl,.single-page .panel .table dl,.paged .panel .table dt,.single-page .panel .table dt,.paged .panel .table dd,.single-page .panel .table dd,.paged .panel .table ol,.single-page .panel .table ol,.paged .panel .table ul,.single-page .panel .table ul,.paged .panel .table li,.single-page .panel .table li,.paged .panel .table fieldset,.single-page .panel .table fieldset,.paged .panel .table form,.single-page .panel .table form,.paged .panel .table label,.single-page .panel .table label,.paged .panel .table legend,.single-page .panel .table legend,.paged .panel .table table,.single-page .panel .table table,.paged .panel .table caption,.single-page .panel .table caption,.paged .panel .table tbody,.single-page .panel .table tbody,.paged .panel .table tfoot,.single-page .panel .table tfoot,.paged .panel .table thead,.single-page .panel .table thead,.paged .panel .table tr,.single-page .panel .table tr,.paged .panel .table th,.single-page .panel .table th,.paged .panel .table td,.single-page .panel .table td,.paged .panel .table article,.single-page .panel .table article,.paged .panel .table aside,.single-page .panel .table aside,.paged .panel .table canvas,.single-page .panel .table canvas,.paged .panel .table details,.single-page .panel .table details,.paged .panel .table embed,.single-page .panel .table embed,.paged .panel .table figure,.single-page .panel .table figure,.paged .panel .table figcaption,.single-page .panel .table figcaption,.paged .panel .table footer,.single-page .panel .table footer,.paged .panel .table header,.single-page .panel .table header,.paged .panel .table hgroup,.single-page .panel .table hgroup,.paged .panel .table menu,.single-page .panel .table menu,.paged .panel .table nav,.single-page .panel .table nav,.paged .panel .table output,.single-page .panel .table output,.paged .panel .table ruby,.single-page .panel .table ruby,.paged .panel .table section,.single-page .panel .table section,.paged .panel .table summary,.single-page .panel .table summary,.paged .panel .table time,.single-page .panel .table time,.paged .panel .table mark,.single-page .panel .table mark,.paged .panel .table audio,.single-page .panel .table audio,.paged .panel .table video,.single-page .panel .table video{margin:0;padding:0;border:0;font:inherit;font-size:100%;vertical-align:baseline}.paged .panel .table table,.single-page .panel .table table{border-collapse:collapse;border-spacing:0}.paged .panel .table caption,.single-page .panel .table caption,.paged .panel .table th,.single-page .panel .table th,.paged .panel .table td,.single-page .panel .table td{text-align:left;font-weight:400;vertical-align:middle}.paged .panel .table q,.single-page .panel .table q,.paged .panel .table blockquote,.single-page .panel .table blockquote{quotes:none}.paged .panel .table q:before,.single-page .panel .table q:before,.paged .panel .table q:after,.single-page .panel .table q:after,.paged .panel .table blockquote:before,.single-page .panel .table blockquote:before,.paged .panel .table blockquote:after,.single-page .panel .table blockquote:after{content:"";content:none}.paged .panel .table a img,.single-page .panel .table a img{border:none}.paged .panel .table p,.single-page .panel .table p,.paged .panel .table div,.single-page .panel .table div{display:inline}.paged .panel .table caption,.single-page .panel .table caption{margin-bottom:.5em}.paged .panel .table .errors,.single-page .panel .table .errors{outline:2px solid red!important}.paged .panel .table .error,.single-page .panel .table .error{display:inline-block;background:#ffbbbb;outline:1px solid #ff3333}.paged .panel .table .error.hidden,.single-page .panel .table .error.hidden{display:none}.paged .panel .table table,.single-page .panel .table table{border-bottom:1px solid black;border-collapse:collapse;margin:0}.paged .panel .table table *,.single-page .panel .table table *{width:auto}.paged .panel .table table .option,.single-page .panel .table table .option{white-space:normal}.paged .panel .table table td>div>*,.single-page .panel .table table td>div>*{margin-top:.5em;margin-bottom:.5em}.paged .panel .table table .row,.single-page .panel .table table .row{width:100%;float:right;margin-right:0;float:none;display:table-row}.paged .panel .table table .row td,.single-page .panel .table table .row td,.paged .panel .table table .row th,.single-page .panel .table table .row th{display:table-cell;border:0;border-bottom:1px solid #bbb;vertical-align:top;float:none}.paged .panel .table table .row td.main,.single-page .panel .table table .row td.main,.paged .panel .table table .row th.main,.single-page .panel .table table .row th.main{vertical-align:middle}.paged .panel .table table .row.inner_row td,.single-page .panel .table table .row.inner_row td{border:0}.paged .panel .table table .row:first-child td,.single-page .panel .table table .row:first-child td{border-top:1px solid #bbb}.paged .panel .table table .row input.float,.single-page .panel .table table .row input.float,.paged .panel .table table .row input.integer,.single-page .panel .table table .row input.integer{width:54px}.paged .panel .table table .row input.string,.single-page .panel .table table .row input.string,.paged .panel .table table .row input.textarea,.single-page .panel .table table .row input.textarea{width:92%}.paged .panel .table table .row input.sized,.single-page .panel .table table .row input.sized{width:auto}.paged .panel .table table .row input.fd-form-element-hidden,.single-page .panel .table table .row input.fd-form-element-hidden{display:none}.paged .panel .table table .row .unit,.single-page .panel .table table .row .unit{vertical-align:-20%;padding-left:4px}.paged .panel .table .item,.single-page .panel .table .item{float:none;width:auto;margin-right:auto}.paged .panel .table .main,.single-page .panel .table .main{width:33.33333%;float:none!important;display:table-cell!important}.paged .panel .table .main label small,.single-page .panel .table .main label small{font-size:.7em}.paged .panel .table .description,.single-page .panel .table .description{text-align:right}.paged .panel .table .option_sets .option,.single-page .panel .table .option_sets .option{padding-left:1em;padding-bottom:.5em;vertical-align:bottom}.paged .panel .table .dark,.single-page .panel .table .dark{background-color:#eee}.paged .panel .table .light,.single-page .panel .table .light{background-color:#fff}.paged .item,.single-page .item{width:100%;float:right;margin-right:0;margin-bottom:18px}.paged .item.horizontal.radio .option,.single-page .item.horizontal.radio .option,.paged .item.horizontal.check_box .option,.single-page .item.horizontal.check_box .option{width:100%;float:right;margin-right:0}.paged .item.horizontal.radio .option .radiocheckwrapper,.single-page .item.horizontal.radio .option .radiocheckwrapper,.paged .item.horizontal.check_box .option .radiocheckwrapper,.single-page .item.horizontal.check_box .option .radiocheckwrapper{width:4.0404%;float:left;margin-right:1.0101%}.paged .item.horizontal.radio .option .labelwrapper,.single-page .item.horizontal.radio .option .labelwrapper,.paged .item.horizontal.check_box .option .labelwrapper,.single-page .item.horizontal.check_box .option .labelwrapper{width:94.94949%;float:right;margin-right:0}.paged .item.horizontal.radio .option.show_values .value,.single-page .item.horizontal.radio .option.show_values .value,.paged .item.horizontal.check_box .option.show_values .value,.single-page .item.horizontal.check_box .option.show_values .value{width:4.0404%;float:left;margin-right:1.0101%}.paged .item.horizontal.radio .option.show_values .labelwrapper,.single-page .item.horizontal.radio .option.show_values .labelwrapper,.paged .item.horizontal.check_box .option.show_values .labelwrapper,.single-page .item.horizontal.check_box .option.show_values .labelwrapper{width:89.89899%;float:right;margin-right:0}.paged .item.horizontal.radio .option .subquestions,.single-page .item.horizontal.radio .option .subquestions,.paged .item.horizontal.check_box .option .subquestions,.single-page .item.horizontal.check_box .option .subquestions{margin-left:5.05051%;width:74.74747%;float:left;margin-right:1.0101%}.paged .item.horizontal.radio .option .subquestions .item,.single-page .item.horizontal.radio .option .subquestions .item,.paged .item.horizontal.check_box .option .subquestions .item,.single-page .item.horizontal.check_box .option .subquestions .item{width:74.74747%;float:left;margin-right:1.0101%}.paged .item.horizontal.radio .option .subquestions .item input,.single-page .item.horizontal.radio .option .subquestions .item input,.paged .item.horizontal.check_box .option .subquestions .item input,.single-page .item.horizontal.check_box .option .subquestions .item input{width:auto}.paged .item.horizontal.radio .option .subquestions .radiocheckwrapper,.single-page .item.horizontal.radio .option .subquestions .radiocheckwrapper,.paged .item.horizontal.check_box .option .subquestions .radiocheckwrapper,.single-page .item.horizontal.check_box .option .subquestions .radiocheckwrapper{width:10px;padding-right:20px}.paged .item.horizontal.radio .option .subquestions .labelwrapper,.single-page .item.horizontal.radio .option .subquestions .labelwrapper,.paged .item.horizontal.check_box .option .subquestions .labelwrapper,.single-page .item.horizontal.check_box .option .subquestions .labelwrapper{width:auto;float:none}.paged .item.horizontal.radio .inner-title,.single-page .item.horizontal.radio .inner-title,.paged .item.horizontal.check_box .inner-title,.single-page .item.horizontal.check_box .inner-title{width:100%;float:right;margin-right:0}.paged .item.horizontal.string input,.single-page .item.horizontal.string input,.paged .item.horizontal.string textarea,.single-page .item.horizontal.string textarea,.paged .item.horizontal.textarea input,.single-page .item.horizontal.textarea input,.paged .item.horizontal.textarea textarea,.single-page .item.horizontal.textarea textarea{width:100%;margin-right:0}.paged .item.horizontal.string .sized,.single-page .item.horizontal.string .sized,.paged .item.horizontal.textarea .sized,.single-page .item.horizontal.textarea .sized{width:auto}.paged .item.vertical .main,.single-page .item.vertical .main{width:39.39394%;float:left;margin-right:1.0101%}.paged .item.vertical .description-and-fields,.single-page .item.vertical .description-and-fields{width:59.59596%;float:right;margin-right:0;float:left}.paged .item.vertical .description-and-fields .description h2,.single-page .item.vertical .description-and-fields .description h2{font-size:1.2em;font-weight:700;border-top:8px solid #ddd;padding-top:16px}.paged .item.vertical .description-and-fields .description small,.single-page .item.vertical .description-and-fields .description small{font-size:80%}.paged .item.vertical .description-and-fields .description strong,.single-page .item.vertical .description-and-fields .description strong{font-style:italic}.paged .item.vertical .description-and-fields .description em,.single-page .item.vertical .description-and-fields .description em{font-weight:700}.paged .item.vertical .description-and-fields .description p,.single-page .item.vertical .description-and-fields .description p{margin-bottom:18px}.paged .item.vertical .description-and-fields .description ul,.single-page .item.vertical .description-and-fields .description ul{margin-top:1em;margin-left:1em;margin-bottom:2em}.paged .item.vertical .description-and-fields .description ul li,.single-page .item.vertical .description-and-fields .description ul li{list-style-type:disc;margin-bottom:1em!important}.paged .item.vertical .description-and-fields .description ul li p,.single-page .item.vertical .description-and-fields .description ul li p{margin-bottom:0}.paged .item.vertical .description-and-fields .description ul li ul,.single-page .item.vertical .description-and-fields .description ul li ul{margin-bottom:1em;margin-left:1.5em}.paged .item.vertical .description-and-fields .description ul li ul li,.single-page .item.vertical .description-and-fields .description ul li ul li{margin-bottom:0!important;list-style-type:none}.paged .item.vertical .description-and-fields .description ol li,.single-page .item.vertical .description-and-fields .description ol li{list-style-type:lower-alpha}.paged .item.vertical.radio .option,.single-page .item.vertical.radio .option,.paged .item.vertical.check_box .option,.single-page .item.vertical.check_box .option{width:100%;float:right;margin-right:0}.paged .item.vertical.radio .option .radiocheckwrapper,.single-page .item.vertical.radio .option .radiocheckwrapper,.paged .item.vertical.check_box .option .radiocheckwrapper,.single-page .item.vertical.check_box .option .radiocheckwrapper{width:6.77966%;float:left;margin-right:1.69492%}.paged .item.vertical.radio .option .labelwrapper,.single-page .item.vertical.radio .option .labelwrapper,.paged .item.vertical.check_box .option .labelwrapper,.single-page .item.vertical.check_box .option .labelwrapper{width:91.52542%;float:right;margin-right:0}.paged .item.vertical.radio .option.show_values .value,.single-page .item.vertical.radio .option.show_values .value,.paged .item.vertical.check_box .option.show_values .value,.single-page .item.vertical.check_box .option.show_values .value{width:6.77966%;float:left;margin-right:1.69492%}.paged .item.vertical.radio .option.show_values .labelwrapper,.single-page .item.vertical.radio .option.show_values .labelwrapper,.paged .item.vertical.check_box .option.show_values .labelwrapper,.single-page .item.vertical.check_box .option.show_values .labelwrapper{width:83.05085%;float:right;margin-right:0}.paged .item.vertical.radio .option .subquestions,.single-page .item.vertical.radio .option .subquestions,.paged .item.vertical.check_box .option .subquestions,.single-page .item.vertical.check_box .option .subquestions{margin-left:5.05051%;width:91.52542%;float:left;margin-right:1.69492%}.paged .item.vertical.radio .option .subquestions .item,.single-page .item.vertical.radio .option .subquestions .item,.paged .item.vertical.check_box .option .subquestions .item,.single-page .item.vertical.check_box .option .subquestions .item{width:91.52542%;float:left;margin-right:1.69492%}.paged .item.vertical.radio .option .subquestions .item .main,.single-page .item.vertical.radio .option .subquestions .item .main,.paged .item.vertical.check_box .option .subquestions .item .main,.single-page .item.vertical.check_box .option .subquestions .item .main{width:100%;float:right;margin-right:0}.paged .item.vertical.radio .option .subquestions .item input,.single-page .item.vertical.radio .option .subquestions .item input,.paged .item.vertical.check_box .option .subquestions .item input,.single-page .item.vertical.check_box .option .subquestions .item input{width:auto}.paged .item.vertical.radio .option .subquestions .radiocheckwrapper,.single-page .item.vertical.radio .option .subquestions .radiocheckwrapper,.paged .item.vertical.check_box .option .subquestions .radiocheckwrapper,.single-page .item.vertical.check_box .option .subquestions .radiocheckwrapper{width:10px;padding-right:20px}.paged .item.vertical.radio .option .subquestions .labelwrapper,.single-page .item.vertical.radio .option .subquestions .labelwrapper,.paged .item.vertical.check_box .option .subquestions .labelwrapper,.single-page .item.vertical.check_box .option .subquestions .labelwrapper{width:auto;float:none}.paged .item.vertical.radio .inner-title,.single-page .item.vertical.radio .inner-title,.paged .item.vertical.check_box .inner-title,.single-page .item.vertical.check_box .inner-title{width:100%;float:right;margin-right:0}.paged .item.vertical.string input,.single-page .item.vertical.string input,.paged .item.vertical.string textarea,.single-page .item.vertical.string textarea,.paged .item.vertical.textarea input,.single-page .item.vertical.textarea input,.paged .item.vertical.textarea textarea,.single-page .item.vertical.textarea textarea{width:100%;margin-right:0}.paged .item.vertical.string .sized,.single-page .item.vertical.string .sized,.paged .item.vertical.textarea .sized,.single-page .item.vertical.textarea .sized{width:auto}.paged .progress-bar,.single-page .progress-bar{width:100%;float:right;margin:1.5em -2em -1.5em;padding:1.5em 2em}.paged .progress-bar .progress-wrapper .progress-slider,.single-page .progress-bar .progress-wrapper .progress-slider{background-position:0 4px;display:inline-block;zoom:1}.paged .progress-bar .progress-wrapper .progress-slider .progress-stop,.single-page .progress-bar .progress-wrapper .progress-slider .progress-stop{margin:0 3px;width:10px;height:10px}.paged .progress-bar .progress-wrapper .progress-slider.long-list,.single-page .progress-bar .progress-wrapper .progress-slider.long-list{display:inline-block;zoom:1}.paged .buttons,.single-page .buttons{width:100%;float:right;margin:1.5em -2em -1.5em;padding:1.5em 2em;border-bottom:0}.paged .buttons .back,.single-page .buttons .back,.paged .buttons .prev,.single-page .buttons .prev{width:24.24242%;float:left;margin-right:1.0101%}.paged .buttons .abort,.single-page .buttons .abort{width:24.24242%;float:left;margin-right:1.0101%;text-align:center;display:block}.paged .buttons .print,.single-page .buttons .print{width:100%;float:left;margin-right:1.0101%;text-align:right}.paged .buttons .next,.single-page .buttons .next,.paged .buttons .save,.single-page .buttons .save{width:24.24242%;float:right;margin-right:0;text-align:right}}.paged .panel,.single-page .panel{margin-bottom:2em;box-shadow:0 0 6px #0000004d}.paged .panel h1,.single-page .panel h1{font-size:1.5em;font-weight:700;margin-bottom:1.2em;z-index:400}.paged .panel hr,.single-page .panel hr{height:8px;border:0;background:#ddd}.paged .panel .progress-bar,.single-page .panel .progress-bar{height:25px}.paged .panel .progress-bar .progress-wrapper,.single-page .panel .progress-bar .progress-wrapper{text-align:center}.paged .panel .progress-bar .progress-wrapper .progress-slider,.single-page .panel .progress-bar .progress-wrapper .progress-slider{height:8px;text-align:center;border:1px solid #ccc;border-radius:6px;overflow:hidden;padding:1px}.paged .panel .progress-bar .progress-wrapper .progress-slider .progress-stop,.single-page .panel .progress-bar .progress-wrapper .progress-slider .progress-stop{height:8px;line-height:8px;width:6px;background:#fff;font-size:6px;text-indent:-1234em;display:block;float:left;text-align:center;margin:0}.paged .panel .progress-bar .progress-wrapper .progress-slider .progress-stop.first-child,.single-page .panel .progress-bar .progress-wrapper .progress-slider .progress-stop.first-child{width:8px;border-radius:5px 0 0 5px}.paged .panel .progress-bar .progress-wrapper .progress-slider .progress-stop.last-child,.single-page .panel .progress-bar .progress-wrapper .progress-slider .progress-stop.last-child{width:8px;border-radius:0 5px 5px 0}.paged .panel .progress-bar .progress-wrapper .progress-slider .progress-stop.active,.single-page .panel .progress-bar .progress-wrapper .progress-slider .progress-stop.active{background:#999}.paged .panel .progress-bar .progress-wrapper .progress-slider .progress-stop.current,.single-page .panel .progress-bar .progress-wrapper .progress-slider .progress-stop.current{border-radius:0 5px 5px 0}.paged .panel .progress-bar .progress-wrapper .progress-slider .progress-stop.current.first-child,.single-page .panel .progress-bar .progress-wrapper .progress-slider .progress-stop.current.first-child{border-radius:5px}.paged .panel .progress-bar .progress-wrapper .progress-details,.single-page .panel .progress-bar .progress-wrapper .progress-details{color:#999;font-size:9px;margin:4px 0 0;display:block}.paged .panel .buttons,.single-page .panel .buttons{border-top:1px dotted #d6d6d6;background:#f3f3f3}.paged .panel .item.hidden,.single-page .panel .item.hidden{display:none}.paged .panel .item.errors,.single-page .panel .item.errors{outline:1px solid red;padding:.4em}.paged .panel .item.errors .error,.single-page .panel .item.errors .error{background:#ffaaaa;color:#500;outline:1px solid red;padding:.3em;margin-bottom:.3em}.paged .panel .item .main,.single-page .panel .item .main{font-weight:700}.paged .panel .item .main em,.single-page .panel .item .main em{font-style:italic}.paged .panel .item .text h2,.single-page .panel .item .text h2{font-size:1.2em;font-weight:700;border-top:8px solid #ddd;padding-top:16px}.paged .panel .item .text small,.single-page .panel .item .text small{font-size:80%}.paged .panel .item .text strong,.single-page .panel .item .text strong{font-style:italic}.paged .panel .item .text em,.single-page .panel .item .text em{font-weight:700}.paged .panel .item .text p,.single-page .panel .item .text p{margin-bottom:18px}.paged .panel .item .text ul,.single-page .panel .item .text ul{margin-top:1em;margin-left:1em;margin-bottom:2em}.paged .panel .item .text ul li,.single-page .panel .item .text ul li{list-style-type:disc;margin-bottom:1em!important}.paged .panel .item .text ul li p,.single-page .panel .item .text ul li p{margin-bottom:0}.paged .panel .item .text ul li ul,.single-page .panel .item .text ul li ul{margin-bottom:1em;margin-left:1.5em}.paged .panel .item .text ul li ul li,.single-page .panel .item .text ul li ul li{margin-bottom:0!important;list-style-type:none}.paged .panel .item .text ol li,.single-page .panel .item .text ol li{list-style-type:lower-alpha}.paged .panel .item .description-and-fields .description h2,.single-page .panel .item .description-and-fields .description h2{font-size:1.2em;font-weight:700;border-top:8px solid #ddd;padding-top:16px}.paged .panel .item .description-and-fields .description small,.single-page .panel .item .description-and-fields .description small{font-size:80%}.paged .panel .item .description-and-fields .description strong,.single-page .panel .item .description-and-fields .description strong{font-style:italic}.paged .panel .item .description-and-fields .description em,.single-page .panel .item .description-and-fields .description em{font-weight:700}.paged .panel .item .description-and-fields .description p,.single-page .panel .item .description-and-fields .description p{margin-bottom:18px}.paged .panel .item .description-and-fields .description ul,.single-page .panel .item .description-and-fields .description ul{margin-top:1em;margin-left:1em;margin-bottom:2em}.paged .panel .item .description-and-fields .description ul li,.single-page .panel .item .description-and-fields .description ul li{list-style-type:disc;margin-bottom:1em!important}.paged .panel .item .description-and-fields .description ul li p,.single-page .panel .item .description-and-fields .description ul li p{margin-bottom:0}.paged .panel .item .description-and-fields .description ul li ul,.single-page .panel .item .description-and-fields .description ul li ul{margin-bottom:1em;margin-left:1.5em}.paged .panel .item .description-and-fields .description ul li ul li,.single-page .panel .item .description-and-fields .description ul li ul li{margin-bottom:0!important;list-style-type:none}.paged .panel .item .description-and-fields .description ol li,.single-page .panel .item .description-and-fields .description ol li{list-style-type:lower-alpha}.paged .panel .item.horizontal .main,.single-page .panel .item.horizontal .main{margin-bottom:1em}.paged .panel .item.radio .inner-title,.single-page .panel .item.radio .inner-title,.paged .panel .item.check_box .inner-title,.single-page .panel .item.check_box .inner-title{margin-top:1.5em;margin-bottom:1.5em;font-weight:700}.paged .panel .item.radio .option .labelwrapper p,.single-page .panel .item.radio .option .labelwrapper p,.paged .panel .item.check_box .option .labelwrapper p,.single-page .panel .item.check_box .option .labelwrapper p{display:inline}.paged .panel .item.radio .option.show_values .value,.single-page .panel .item.radio .option.show_values .value,.paged .panel .item.check_box .option.show_values .value,.single-page .panel .item.check_box .option.show_values .value{text-align:center}.paged .panel .item.scale td,.single-page .panel .item.scale td{border:0;text-align:center}.paged .panel .item.scale .option.optionwidth1,.single-page .panel .item.scale .option.optionwidth1,.paged .panel .item.scale .description.optionwidth1,.single-page .panel .item.scale .description.optionwidth1,.paged .panel .item.scale .option.optionwidth2,.single-page .panel .item.scale .option.optionwidth2,.paged .panel .item.scale .description.optionwidth2,.single-page .panel .item.scale .description.optionwidth2,.paged .panel .item.scale .option.optionwidth3,.single-page .panel .item.scale .option.optionwidth3,.paged .panel .item.scale .description.optionwidth3,.single-page .panel .item.scale .description.optionwidth3,.paged .panel .item.scale .option.optionwidth4,.single-page .panel .item.scale .option.optionwidth4,.paged .panel .item.scale .description.optionwidth4,.single-page .panel .item.scale .description.optionwidth4,.paged .panel .item.scale .option.optionwidth5,.single-page .panel .item.scale .option.optionwidth5,.paged .panel .item.scale .description.optionwidth5,.single-page .panel .item.scale .description.optionwidth5{width:20%}.paged .panel .item.scale .option.optionwidth6,.single-page .panel .item.scale .option.optionwidth6,.paged .panel .item.scale .description.optionwidth6,.single-page .panel .item.scale .description.optionwidth6{width:16.66667%}.paged .panel .item.scale .option.optionwidth7,.single-page .panel .item.scale .option.optionwidth7,.paged .panel .item.scale .description.optionwidth7,.single-page .panel .item.scale .description.optionwidth7{width:14.28571%}.paged .panel .item.scale .option.optionwidth8,.single-page .panel .item.scale .option.optionwidth8,.paged .panel .item.scale .description.optionwidth8,.single-page .panel .item.scale .description.optionwidth8{width:12.5%}.paged .panel .item.scale .option.optionwidth9,.single-page .panel .item.scale .option.optionwidth9,.paged .panel .item.scale .description.optionwidth9,.single-page .panel .item.scale .description.optionwidth9{width:11.11111%}.paged .panel .item.scale .option.optionwidth10,.single-page .panel .item.scale .option.optionwidth10,.paged .panel .item.scale .description.optionwidth10,.single-page .panel .item.scale .description.optionwidth10{width:10%}.paged .panel .item.scale .option.optionwidth11,.single-page .panel .item.scale .option.optionwidth11,.paged .panel .item.scale .description.optionwidth11,.single-page .panel .item.scale .description.optionwidth11{width:9.09091%}.paged .panel .item.scale .option.optionwidth12,.single-page .panel .item.scale .option.optionwidth12,.paged .panel .item.scale .description.optionwidth12,.single-page .panel .item.scale .description.optionwidth12{width:8.33333%}.single-page .hidden,.single-page .panel.noVisibleQuestions{display:none}.single-page .item.hide{margin:0!important;outline:none!important}.single-page .item.hide>*{display:none!important}
|
|
195
|
-
`,
|
|
191
|
+
*/var ff,Eh;function Iy(){if(Eh)return ff;Eh=1;var r=Object.getOwnPropertySymbols,e=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;function a(d){if(d==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(d)}function o(){try{if(!Object.assign)return!1;var d=new String("abc");if(d[5]="de",Object.getOwnPropertyNames(d)[0]==="5")return!1;for(var v={},_=0;_<10;_++)v["_"+String.fromCharCode(_)]=_;var w=Object.getOwnPropertyNames(v).map(function(N){return v[N]});if(w.join("")!=="0123456789")return!1;var C={};return"abcdefghijklmnopqrst".split("").forEach(function(N){C[N]=N}),Object.keys(Object.assign({},C)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return ff=o()?Object.assign:function(d,v){for(var _,w=a(d),C,N=1;N<arguments.length;N++){_=Object(arguments[N]);for(var L in _)e.call(_,L)&&(w[L]=_[L]);if(r){C=r(_);for(var W=0;W<C.length;W++)n.call(_,C[W])&&(w[C[W]]=_[C[W]])}}return w},ff}var pf,Ch;function hf(){if(Ch)return pf;Ch=1;var r="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return pf=r,pf}var gf,Th;function Rh(){return Th||(Th=1,gf=Function.call.bind(Object.prototype.hasOwnProperty)),gf}var mf,Ih;function Ay(){if(Ih)return mf;Ih=1;var r=function(){};if(process.env.NODE_ENV!=="production"){var e=hf(),n={},a=Rh();r=function(d){var v="Warning: "+d;typeof console<"u"&&console.error(v);try{throw new Error(v)}catch{}}}function o(d,v,_,w,C){if(process.env.NODE_ENV!=="production"){for(var N in d)if(a(d,N)){var L;try{if(typeof d[N]!="function"){var W=Error((w||"React class")+": "+_+" type `"+N+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof d[N]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw W.name="Invariant Violation",W}L=d[N](v,N,w,_,null,e)}catch(ae){L=ae}if(L&&!(L instanceof Error)&&r((w||"React class")+": type specification of "+_+" `"+N+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof L+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),L instanceof Error&&!(L.message in n)){n[L.message]=!0;var ge=C?C():"";r("Failed "+_+" type: "+L.message+(ge??""))}}}}return o.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(n={})},mf=o,mf}var vf,Ah;function Oy(){if(Ah)return vf;Ah=1;var r=kh(),e=Iy(),n=hf(),a=Rh(),o=Ay(),d=function(){};process.env.NODE_ENV!=="production"&&(d=function(_){var w="Warning: "+_;typeof console<"u"&&console.error(w);try{throw new Error(w)}catch{}});function v(){return null}return vf=function(_,w){var C=typeof Symbol=="function"&&Symbol.iterator,N="@@iterator";function L(oe){var ue=oe&&(C&&oe[C]||oe[N]);if(typeof ue=="function")return ue}var W="<<anonymous>>",ge={array:G("array"),bigint:G("bigint"),bool:G("boolean"),func:G("function"),number:G("number"),object:G("object"),string:G("string"),symbol:G("symbol"),any:pe(),arrayOf:Se,element:_e(),elementType:re(),instanceOf:Ie,node:Mt(),objectOf:Dt,oneOf:Te,oneOfType:dt,shape:ye,exact:Re};function ae(oe,ue){return oe===ue?oe!==0||1/oe===1/ue:oe!==oe&&ue!==ue}function we(oe,ue){this.message=oe,this.data=ue&&typeof ue=="object"?ue:{},this.stack=""}we.prototype=Error.prototype;function Z(oe){if(process.env.NODE_ENV!=="production")var ue={},Ae=0;function Ze(Me,Oe,qe,et,Ke,nt,_t){if(et=et||W,nt=nt||qe,_t!==n){if(w){var ke=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw ke.name="Invariant Violation",ke}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var It=et+":"+qe;!ue[It]&&Ae<3&&(d("You are manually calling a React.PropTypes validation function for the `"+nt+"` prop on `"+et+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),ue[It]=!0,Ae++)}}return Oe[qe]==null?Me?Oe[qe]===null?new we("The "+Ke+" `"+nt+"` is marked as required "+("in `"+et+"`, but its value is `null`.")):new we("The "+Ke+" `"+nt+"` is marked as required in "+("`"+et+"`, but its value is `undefined`.")):null:oe(Oe,qe,et,Ke,nt)}var Fe=Ze.bind(null,!1);return Fe.isRequired=Ze.bind(null,!0),Fe}function G(oe){function ue(Ae,Ze,Fe,Me,Oe,qe){var et=Ae[Ze],Ke=He(et);if(Ke!==oe){var nt=je(et);return new we("Invalid "+Me+" `"+Oe+"` of type "+("`"+nt+"` supplied to `"+Fe+"`, expected ")+("`"+oe+"`."),{expectedType:oe})}return null}return Z(ue)}function pe(){return Z(v)}function Se(oe){function ue(Ae,Ze,Fe,Me,Oe){if(typeof oe!="function")return new we("Property `"+Oe+"` of component `"+Fe+"` has invalid PropType notation inside arrayOf.");var qe=Ae[Ze];if(!Array.isArray(qe)){var et=He(qe);return new we("Invalid "+Me+" `"+Oe+"` of type "+("`"+et+"` supplied to `"+Fe+"`, expected an array."))}for(var Ke=0;Ke<qe.length;Ke++){var nt=oe(qe,Ke,Fe,Me,Oe+"["+Ke+"]",n);if(nt instanceof Error)return nt}return null}return Z(ue)}function _e(){function oe(ue,Ae,Ze,Fe,Me){var Oe=ue[Ae];if(!_(Oe)){var qe=He(Oe);return new we("Invalid "+Fe+" `"+Me+"` of type "+("`"+qe+"` supplied to `"+Ze+"`, expected a single ReactElement."))}return null}return Z(oe)}function re(){function oe(ue,Ae,Ze,Fe,Me){var Oe=ue[Ae];if(!r.isValidElementType(Oe)){var qe=He(Oe);return new we("Invalid "+Fe+" `"+Me+"` of type "+("`"+qe+"` supplied to `"+Ze+"`, expected a single ReactElement type."))}return null}return Z(oe)}function Ie(oe){function ue(Ae,Ze,Fe,Me,Oe){if(!(Ae[Ze]instanceof oe)){var qe=oe.name||W,et=pt(Ae[Ze]);return new we("Invalid "+Me+" `"+Oe+"` of type "+("`"+et+"` supplied to `"+Fe+"`, expected ")+("instance of `"+qe+"`."))}return null}return Z(ue)}function Te(oe){if(!Array.isArray(oe))return process.env.NODE_ENV!=="production"&&(arguments.length>1?d("Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."):d("Invalid argument supplied to oneOf, expected an array.")),v;function ue(Ae,Ze,Fe,Me,Oe){for(var qe=Ae[Ze],et=0;et<oe.length;et++)if(ae(qe,oe[et]))return null;var Ke=JSON.stringify(oe,function(_t,ke){var It=je(ke);return It==="symbol"?String(ke):ke});return new we("Invalid "+Me+" `"+Oe+"` of value `"+String(qe)+"` "+("supplied to `"+Fe+"`, expected one of "+Ke+"."))}return Z(ue)}function Dt(oe){function ue(Ae,Ze,Fe,Me,Oe){if(typeof oe!="function")return new we("Property `"+Oe+"` of component `"+Fe+"` has invalid PropType notation inside objectOf.");var qe=Ae[Ze],et=He(qe);if(et!=="object")return new we("Invalid "+Me+" `"+Oe+"` of type "+("`"+et+"` supplied to `"+Fe+"`, expected an object."));for(var Ke in qe)if(a(qe,Ke)){var nt=oe(qe,Ke,Fe,Me,Oe+"."+Ke,n);if(nt instanceof Error)return nt}return null}return Z(ue)}function dt(oe){if(!Array.isArray(oe))return process.env.NODE_ENV!=="production"&&d("Invalid argument supplied to oneOfType, expected an instance of array."),v;for(var ue=0;ue<oe.length;ue++){var Ae=oe[ue];if(typeof Ae!="function")return d("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+ze(Ae)+" at index "+ue+"."),v}function Ze(Fe,Me,Oe,qe,et){for(var Ke=[],nt=0;nt<oe.length;nt++){var _t=oe[nt],ke=_t(Fe,Me,Oe,qe,et,n);if(ke==null)return null;ke.data&&a(ke.data,"expectedType")&&Ke.push(ke.data.expectedType)}var It=Ke.length>0?", expected one of type ["+Ke.join(", ")+"]":"";return new we("Invalid "+qe+" `"+et+"` supplied to "+("`"+Oe+"`"+It+"."))}return Z(Ze)}function Mt(){function oe(ue,Ae,Ze,Fe,Me){return Be(ue[Ae])?null:new we("Invalid "+Fe+" `"+Me+"` supplied to "+("`"+Ze+"`, expected a ReactNode."))}return Z(oe)}function ve(oe,ue,Ae,Ze,Fe){return new we((oe||"React class")+": "+ue+" type `"+Ae+"."+Ze+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+Fe+"`.")}function ye(oe){function ue(Ae,Ze,Fe,Me,Oe){var qe=Ae[Ze],et=He(qe);if(et!=="object")return new we("Invalid "+Me+" `"+Oe+"` of type `"+et+"` "+("supplied to `"+Fe+"`, expected `object`."));for(var Ke in oe){var nt=oe[Ke];if(typeof nt!="function")return ve(Fe,Me,Oe,Ke,je(nt));var _t=nt(qe,Ke,Fe,Me,Oe+"."+Ke,n);if(_t)return _t}return null}return Z(ue)}function Re(oe){function ue(Ae,Ze,Fe,Me,Oe){var qe=Ae[Ze],et=He(qe);if(et!=="object")return new we("Invalid "+Me+" `"+Oe+"` of type `"+et+"` "+("supplied to `"+Fe+"`, expected `object`."));var Ke=e({},Ae[Ze],oe);for(var nt in Ke){var _t=oe[nt];if(a(oe,nt)&&typeof _t!="function")return ve(Fe,Me,Oe,nt,je(_t));if(!_t)return new we("Invalid "+Me+" `"+Oe+"` key `"+nt+"` supplied to `"+Fe+"`.\nBad object: "+JSON.stringify(Ae[Ze],null," ")+`
|
|
192
|
+
Valid keys: `+JSON.stringify(Object.keys(oe),null," "));var ke=_t(qe,nt,Fe,Me,Oe+"."+nt,n);if(ke)return ke}return null}return Z(ue)}function Be(oe){switch(typeof oe){case"number":case"string":case"undefined":return!0;case"boolean":return!oe;case"object":if(Array.isArray(oe))return oe.every(Be);if(oe===null||_(oe))return!0;var ue=L(oe);if(ue){var Ae=ue.call(oe),Ze;if(ue!==oe.entries){for(;!(Ze=Ae.next()).done;)if(!Be(Ze.value))return!1}else for(;!(Ze=Ae.next()).done;){var Fe=Ze.value;if(Fe&&!Be(Fe[1]))return!1}}else return!1;return!0;default:return!1}}function Ye(oe,ue){return oe==="symbol"?!0:ue?ue["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&ue instanceof Symbol:!1}function He(oe){var ue=typeof oe;return Array.isArray(oe)?"array":oe instanceof RegExp?"object":Ye(ue,oe)?"symbol":ue}function je(oe){if(typeof oe>"u"||oe===null)return""+oe;var ue=He(oe);if(ue==="object"){if(oe instanceof Date)return"date";if(oe instanceof RegExp)return"regexp"}return ue}function ze(oe){var ue=je(oe);switch(ue){case"array":case"object":return"an "+ue;case"boolean":case"date":case"regexp":return"a "+ue;default:return ue}}function pt(oe){return!oe.constructor||!oe.constructor.name?W:oe.constructor.name}return ge.checkPropTypes=o,ge.resetWarningCache=o.resetWarningCache,ge.PropTypes=ge,ge},vf}var bf,Oh;function My(){if(Oh)return bf;Oh=1;var r=hf();function e(){}function n(){}return n.resetWarningCache=e,bf=function(){function a(v,_,w,C,N,L){if(L!==r){var W=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw W.name="Invariant Violation",W}}a.isRequired=a;function o(){return a}var d={array:a,bigint:a,bool:a,func:a,number:a,object:a,string:a,symbol:a,any:a,arrayOf:o,element:a,elementType:a,instanceOf:o,node:a,objectOf:o,oneOf:o,oneOfType:o,shape:o,exact:o,checkPropTypes:n,resetWarningCache:e};return d.PropTypes=d,d},bf}if(process.env.NODE_ENV!=="production"){var Fy=kh(),Py=!0;df.exports=Oy()(Fy.isElement,Py)}else df.exports=My()();var Dy=df.exports;const Ma=op(Dy);var Ly=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Mh(r,e){return r(e={exports:{}},e.exports),e.exports}var By=Mh(function(r){(function(e){var n=function(Z,G,pe){if(!w(G)||N(G)||L(G)||W(G)||_(G))return G;var Se,_e=0,re=0;if(C(G))for(Se=[],re=G.length;_e<re;_e++)Se.push(n(Z,G[_e],pe));else for(var Ie in Se={},G)Object.prototype.hasOwnProperty.call(G,Ie)&&(Se[Z(Ie,pe)]=n(Z,G[Ie],pe));return Se},a=function(Z){return ge(Z)?Z:(Z=Z.replace(/[\-_\s]+(.)?/g,function(G,pe){return pe?pe.toUpperCase():""})).substr(0,1).toLowerCase()+Z.substr(1)},o=function(Z){var G=a(Z);return G.substr(0,1).toUpperCase()+G.substr(1)},d=function(Z,G){return function(pe,Se){var _e=(Se=Se||{}).separator||"_",re=Se.split||/(?=[A-Z])/;return pe.split(re).join(_e)}(Z,G).toLowerCase()},v=Object.prototype.toString,_=function(Z){return typeof Z=="function"},w=function(Z){return Z===Object(Z)},C=function(Z){return v.call(Z)=="[object Array]"},N=function(Z){return v.call(Z)=="[object Date]"},L=function(Z){return v.call(Z)=="[object RegExp]"},W=function(Z){return v.call(Z)=="[object Boolean]"},ge=function(Z){return(Z-=0)==Z},ae=function(Z,G){var pe=G&&"process"in G?G.process:G;return typeof pe!="function"?Z:function(Se,_e){return pe(Se,Z,_e)}},we={camelize:a,decamelize:d,pascalize:o,depascalize:d,camelizeKeys:function(Z,G){return n(ae(a,G),Z)},decamelizeKeys:function(Z,G){return n(ae(d,G),Z,G)},pascalizeKeys:function(Z,G){return n(ae(o,G),Z)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};r.exports?r.exports=we:e.humps=we})(Ly)}).decamelize,Ny=function(r){if(Array.isArray(r))return r},jy=function(r,e){if(typeof Symbol<"u"&&Symbol.iterator in Object(r)){var n=[],a=!0,o=!1,d=void 0;try{for(var v,_=r[Symbol.iterator]();!(a=(v=_.next()).done)&&(n.push(v.value),!e||n.length!==e);a=!0);}catch(w){o=!0,d=w}finally{try{a||_.return==null||_.return()}finally{if(o)throw d}}return n}},Fh=function(r,e){(e==null||e>r.length)&&(e=r.length);for(var n=0,a=new Array(e);n<e;n++)a[n]=r[n];return a},zy=function(r,e){if(r){if(typeof r=="string")return Fh(r,e);var n=Object.prototype.toString.call(r).slice(8,-1);return n==="Object"&&r.constructor&&(n=r.constructor.name),n==="Map"||n==="Set"?Array.from(r):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Fh(r,e):void 0}},Uy=function(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
193
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)},Wy=function(r,e){return Ny(r)||jy(r,e)||zy(r,e)||Uy()},Ph=Mh(function(r){function e(){return r.exports=e=Object.assign||function(n){for(var a=1;a<arguments.length;a++){var o=arguments[a];for(var d in o)Object.prototype.hasOwnProperty.call(o,d)&&(n[d]=o[d])}return n},e.apply(this,arguments)}r.exports=e}),Vy=function(r,e){if(r==null)return{};var n,a,o={},d=Object.keys(r);for(a=0;a<d.length;a++)n=d[a],e.indexOf(n)>=0||(o[n]=r[n]);return o},Dh=function(r,e){if(r==null)return{};var n,a,o=Vy(r,e);if(Object.getOwnPropertySymbols){var d=Object.getOwnPropertySymbols(r);for(a=0;a<d.length;a++)n=d[a],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(r,n)&&(o[n]=r[n])}return o},Hy=De.createContext(null);function yf(r){var e=r.children,n=Dh(r,["children"]);return typeof e!="string"&&(e=Cy(e)),De.createElement("template",Ph({},n,{dangerouslySetInnerHTML:{__html:e}}))}function wf(r){var e=r.root,n=r.children;return El.createPortal(n,e)}function $y(r){var e=De.forwardRef(function(n,a){var o,d,v=n.mode,_=n.delegatesFocus,w=n.styleSheets,C=n.ssr,N=n.children,L=Dh(n,["mode","delegatesFocus","styleSheets","ssr","children"]),W=(d=De.useRef((o=a)&&o.current),De.useEffect(function(){o&&(o.current=d.current)},[o]),d),ge=De.useState(null),ae=Wy(ge,2),we=ae[0],Z=ae[1],G="node_".concat(v).concat(_);return De.useLayoutEffect(function(){if(W.current)try{if(typeof a=="function"&&a(W.current),C){var pe=W.current.shadowRoot;return void Z(pe)}var Se=W.current.attachShadow({mode:v,delegatesFocus:_});w.length>0&&(Se.adoptedStyleSheets=w),Z(Se)}catch(_e){(function(re){var Ie=re.error,Te=re.styleSheets,Dt=re.root;switch(Ie.name){case"NotSupportedError":Te.length>0&&(Dt.adoptedStyleSheets=Te);break;default:throw Ie}})({error:_e,styleSheets:w,root:we})}},[a,W,w]),De.createElement(De.Fragment,null,De.createElement(r.tag,Ph({key:G,ref:W},L),(we||C)&&De.createElement(Hy.Provider,{value:we},C?De.createElement(yf,{shadowroot:v,shadowrootmode:v},r.render({root:we,ssr:C,children:N})):De.createElement(wf,{root:we},r.render({root:we,ssr:C,children:N})))))});return e.propTypes={mode:Ma.oneOf(["open","closed"]),delegatesFocus:Ma.bool,styleSheets:Ma.arrayOf(Ma.instanceOf(globalThis.CSSStyleSheet)),ssr:Ma.bool,children:Ma.node},e.defaultProps={mode:"open",delegatesFocus:!1,styleSheets:[],ssr:!1,children:null},e}yf.propTypes={children:Ma.oneOfType([Ma.string,Ma.node])},yf.defaultProps={children:""},wf.propTypes={root:Ma.object.isRequired,children:Ma.node},wf.defaultProps={children:null};var xf=new Map;function Gy(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"core",n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:function(a){return a.children};return new Proxy(r,{get:function(a,o){var d=By(o,{separator:"-"}),v="".concat(e,"-").concat(d);return xf.has(v)||xf.set(v,$y({tag:d,render:n})),xf.get(v)}})}var Zy=Gy();const Yy=`*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}em{font-style:italic;font-weight:400}strong{font-weight:700}em.clean{font-style:normal;font-weight:300}strong.clean{font-weight:300}.underline{text-decoration:underline}.de-em{font-weight:200}.serif{font-family:Georgia,serif}small{font-size:.8rem}h1{font-size:1.75rem;font-weight:500;margin:1.5rem 0 2rem}h2{font-size:1.5rem;font-weight:500;margin:1.5rem 0 1rem}h3{font-size:1.25rem;font-weight:500;margin:1.5rem 0 1rem}h4{font-size:1rem;font-weight:500;margin:1.5rem 0 1rem}:host{--background: 0, 0%, 100%;--foreground: 222, 84%, 4.9%;--foreground-80: 222, 20%, 40%;--muted: 222 0% 50%;--primary: 187, 44%, 81%;--primary-inv: 222 84% 4.9%;--secondary: 222 0% 60%;--secondary-inv: 222.2 47.4% 11.2%;--slider-track: 0 0% 90%;--panel-padding: 1rem;--default-radius: .25rem;--checkradio-size: 1rem;--question-padding: 2rem;--active-bar-padding: 8px;--option-gap-y: 0;--max-page-width: 75rem}@media (min-width: 800px){:host{--panel-padding: 2rem;--active-bar-padding: 10px}}.dark{--background: 240, 14%, 10%;--foreground: 240, 14%, 98%;--foreground-80: 240, 14%, 80%;--muted: 240 14% 80%;--secondary: 222 0% 60%;--secondary-foreground: 210 40% 98%;--slider-track: 180 2% 15% }:host{all:initial;display:block;position:relative;line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;font-weight:300}input:not([type=checkbox]):not([type=radio]),textarea,select{border-width:1px;padding:.4rem;border-radius:var(--default-radius);border-color:hsl(var(--foreground));background-color:hasl(var(--background));color:var(--foreground)}input[type=checkbox],input[type=radio]{width:var(--checkradio-size);height:var(--checkradio-size);vertical-align:middle;position:relative;bottom:.125rem}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.progress-bar{margin:var(--panel-padding)}.progress-bar .progress-wrapper .progress-slider{background-position:0 4px;display:inline-block;height:12px;border:1px solid #ccc;border-radius:6px;padding:1px}.panel .progress-bar .progress-wrapper{text-align:center}.progress-bar .progress-stop{height:8px;line-height:8px;width:6px;background:none;font-size:6px;text-indent:-1234em;display:block;float:left}.progress-bar .progress-stop.first-child{width:8px;border-radius:5px 0 0 5px}.progress-bar .progress-stop.last-child{width:8px;border-radius:0 5px 5px 0}.progress-bar .progress-stop.active{background:hsl(var(--muted))}.progress-bar .progress-stop.current{border-radius:0 5px 5px 0}.progress-bar .progress-stop.current.first-child{border-radius:5px}.progress-bar .progress-details{color:has(var(--muted));font-size:9px}.prose p{margin:0 0 1rem}.prose>*:first-child{margin-top:0}.prose>*:last-child{margin-bottom:0}.prose ul{list-style-type:disc;margin:0 0 1rem 1.5rem}.prose ol{list-style-type:lower-alpha;margin:0 0 1rem 1.5rem}.prose li{padding-left:.5rem}.prose hr{margin:var(--question-padding) 1rem;border:none;height:.125rem;background-color:hsl(var(--muted))}.prose hr.compact{margin:1rem}blockquote{margin:1em 2em}blockquote p{font-style:italic}blockquote p:before,blockquote p:last-child:after{content:"“";font-family:Georgia;font-size:2.5rem;margin:-.8rem 0 0 -1.1rem;position:absolute;color:#666}blockquote p:last-child:after{content:"”";margin:0 0 0 -.1rem}blockquote.blue-quotes p:before,blockquote.blue-quotes p:last-child:after{color:#298ed5}.absolute{position:absolute}.order-last{order:9999}.m-panel-padding{margin:var(--panel-padding)}.mx-1{margin-left:.25rem;margin-right:.25rem}.my-1{margin-top:.25rem;margin-bottom:.25rem}.mb-1{margin-bottom:.25rem}.mb-2{margin-bottom:.5rem}.mr-1{margin-right:.25rem}.mt-1{margin-top:.25rem}.mt-3{margin-top:.75rem}.inline{display:inline}.flex{display:flex}.table{display:table}.hidden{display:none}.w-full{width:100%}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.resize{resize:both}.justify-between{justify-content:space-between}.rounded{border-radius:.25rem}.border{border-width:1px}.border-2{border-width:2px}.border-warning{--tw-border-opacity: 1;border-color:rgb(255 165 0 / var(--tw-border-opacity))}.bg-primary{background-color:hsl(var(--primary))}.bg-secondary{background-color:hsl(var(--secondary))}.bg-slate-100{--tw-bg-opacity: 1;background-color:rgb(241 245 249 / var(--tw-bg-opacity))}.p-2{padding:.5rem}.p-panel-padding{padding:var(--panel-padding)}.text-center{text-align:center}.align-top{vertical-align:top}.text-lg{font-size:1.125rem;line-height:1.75rem}.font-light{font-weight:200}.font-medium{font-weight:400}.font-semibold{font-weight:500}.text-primary-inv{color:hsl(var(--primary-inv))}.text-secondary-inv{color:hsl(var(--secondary-inv))}.underline{text-decoration-line:underline}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}:host>div{background-color:hsl(var(--background));color:hsl(var(--foreground));min-height:100cqh}:host>div>*{max-width:var(--max-page-width);margin:0 auto}.panel+.panel{margin-top:5rem}.option .labelwrapper p{display:inline}.item.active,.item:has(.active){box-shadow:calc(-1 * var(--active-bar-padding)) 0 0 0 hsl(var(--background)),calc(-4px - var(--active-bar-padding)) 0 0 0 #b9dfe4}.item .main{font-weight:500;font-size:1.25rem}.item .inner-title{margin:1rem 0 .5rem;font-weight:500}.item .description-and-fields>.description{font-weight:200;margin-bottom:.5rem}.item .description-and-fields>.description .instruction{font-weight:300}.item.radio .option,.item.check_box .option{display:flex;flex-wrap:wrap}.item.radio .option .radiocheckwrapper,.item.check_box .option .radiocheckwrapper{flex:0 0 var(--checkradio-size)}.item.radio .option .value,.item.check_box .option .value{flex:0 0 2rem;text-align:right}.item.radio .option .labelwrapper,.item.check_box .option .labelwrapper{flex:1 1 0;padding-left:.75rem}.item.radio .option .subquestions,.item.check_box .option .subquestions{width:100%}.item.radio .option+.option,.item.check_box .option+.option{margin-top:calc(var(--option-gap-y) * .25rem)}.subquestions{margin-left:calc(var(--active-bar-padding) + var(--checkradio-size)/2 + 2px)}.item,.context-description{margin-bottom:var(--question-padding)}.subquestions .item{margin-bottom:0}.item:not(.radio):not(.check_box) .description-and-fields{padding-bottom:.5em}.item.errors{outline:1px solid red;border-radius:calc(var(--default-radius) + .5rem);margin-left:-.5em;margin-right:-.5em;padding:.5rem .5rem 0;--active-bar-padding: 1px}.item.errors .error{background:#ffbbbb;color:#222;outline:1px solid #ff3333;border-radius:var(--default-radius);margin:.25rem;padding:.25rem}footer{font-weight:200;font-size:.875rem;padding:var(--panel-padding);color:hsl(var(--foreground-80))}:is(.dark .dark\\:bg-slate-700){--tw-bg-opacity: 1;background-color:rgb(51 65 85 / var(--tw-bg-opacity))}
|
|
194
|
+
`,Ky=`:host{--background: 0 0% 100%}.item.date_parts .mr-1{margin-right:.125rem}.item.date_parts .mb-2{margin-bottom:.25rem}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font:inherit;font-size:100%;vertical-align:baseline}html{line-height:1}ol,ul{list-style:none}table{border-collapse:collapse;border-spacing:0}caption,th,td{text-align:left;font-weight:400;vertical-align:middle}q,blockquote{quotes:none}q:before,q:after,blockquote:before,blockquote:after{content:"";content:none}a img{border:none}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}#modalFrameDialog{padding:0}#modalFrame{width:100%;height:99%}.x_container{display:none}sup,sub{font-size:.8em!important;position:relative;line-height:0}sup{top:-.4em}sub{bottom:-.25em}html{overflow-x:hidden}body{font-family:Verdana,sans-serif;font-size:.8em;line-height:normal;background-color:#eee;max-width:100%;overflow-x:hidden;position:relative}.panel-action-links{text-align:right;margin-bottom:1em}.panel-action-link{margin-left:1em}#mastfoot{margin:0 auto;max-width:900px;text-align:right;color:#aaa}#mastfoot:before{content:"—"}#mastfoot:after{content:"—"}#noscript-warning{position:fixed;top:0;left:0;width:100%;background:yellow;border:4px solid red;color:red;font-size:1.5em;text-align:center}.nowrap{white-space:nowrap}select{width:100%}i{font-style:italic!important}em{font-weight:700}#content{margin-bottom:4em}#content input[disabled]{background-color:#ddd}#content .flash{max-width:59em;_width:59em;padding-left:1em;padding-right:1em;margin-left:auto;margin-right:auto;margin-bottom:1em}#content .flash:after{content:"";display:table;clear:both}#content .flash div{padding:5px;background:#333333;border:1px solid black}#content .flash .error{background:#ffbbbb;border:1px solid #ff3333}#content .flash .notice{background:#ffffcc;border:1px solid #ffcc66}#content .flash .success{background-color:#cfc;border:1px solid #11cc11}#content #force-submit{background:#ffffcc;border:1px solid #ffcc66;padding:3em;font-size:1.2em;margin-bottom:5em}#content #force-submit h1{font-weight:700;margin-bottom:1em}#content #force-submit p{margin-bottom:1em}#content .specifier{margin:0!important}#content .specifier.errors{width:auto!important;float:left}.evenRow{background-color:#eee}.hotkeyDialog p{margin:1em 0}.hotkeyDialog td{border:0px}table{width:100%;border-collapse:collapse;margin-bottom:1.5em}table thead tr th{background:black;color:#fff;padding:5px}table tr.even{background:#e9e9e9}table td{padding:5px;border:1px solid #cecece;vertical-align:top}.ui-dialog-buttonpane{overflow:hidden!important}pre{font-family:Deja Vu Sans Mono,Courier New,Courier,monospace}.question{background:#e5e5e5;margin:2em;padding:2em}label.placeholder{cursor:text;padding:4px;color:#999}input::-webkit-input-placeholder,textarea::-webkit-input-placeholder{color:#999}input:placeholder,textarea:placeholder{color:#999}.focus{background:#cce8ed!important}.print{width:83.05085%;float:left;margin-right:1.69492%;display:inline;margin-top:2em}.print a{color:#00f;text-decoration:underline}.error .stacktrace{color:#777;white-space:pre-line}html.busy,html.busy *{cursor:wait!important}.hidden,.paged .noVisibleQuestions,.single-page .noVisibleQuestions{display:none}.paged .hide,.single-page .hide{margin:0!important;outline:none!important}.paged .hide>*,.single-page .hide>*{display:none!important}.paged .panel,.single-page .panel{background:white}.paged .panel,.single-page .panel{max-width:59em;_width:59em;padding-left:1em;padding-right:1em;margin-left:auto;margin-right:auto;padding-top:20px}.paged .panel:after,.single-page .panel:after{content:"";display:table;clear:both}.paged .panel .table div,.single-page .panel .table div,.paged .panel .table span,.single-page .panel .table span,.paged .panel .table applet,.single-page .panel .table applet,.paged .panel .table object,.single-page .panel .table object,.paged .panel .table iframe,.single-page .panel .table iframe,.paged .panel .table h1,.single-page .panel .table h1,.paged .panel .table h2,.single-page .panel .table h2,.paged .panel .table h3,.single-page .panel .table h3,.paged .panel .table h4,.single-page .panel .table h4,.paged .panel .table h5,.single-page .panel .table h5,.paged .panel .table h6,.single-page .panel .table h6,.paged .panel .table p,.single-page .panel .table p,.paged .panel .table blockquote,.single-page .panel .table blockquote,.paged .panel .table pre,.single-page .panel .table pre,.paged .panel .table a,.single-page .panel .table a,.paged .panel .table abbr,.single-page .panel .table abbr,.paged .panel .table acronym,.single-page .panel .table acronym,.paged .panel .table address,.single-page .panel .table address,.paged .panel .table big,.single-page .panel .table big,.paged .panel .table cite,.single-page .panel .table cite,.paged .panel .table code,.single-page .panel .table code,.paged .panel .table del,.single-page .panel .table del,.paged .panel .table dfn,.single-page .panel .table dfn,.paged .panel .table em,.single-page .panel .table em,.paged .panel .table img,.single-page .panel .table img,.paged .panel .table ins,.single-page .panel .table ins,.paged .panel .table kbd,.single-page .panel .table kbd,.paged .panel .table q,.single-page .panel .table q,.paged .panel .table s,.single-page .panel .table s,.paged .panel .table samp,.single-page .panel .table samp,.paged .panel .table small,.single-page .panel .table small,.paged .panel .table strike,.single-page .panel .table strike,.paged .panel .table strong,.single-page .panel .table strong,.paged .panel .table sub,.single-page .panel .table sub,.paged .panel .table sup,.single-page .panel .table sup,.paged .panel .table tt,.single-page .panel .table tt,.paged .panel .table var,.single-page .panel .table var,.paged .panel .table b,.single-page .panel .table b,.paged .panel .table u,.single-page .panel .table u,.paged .panel .table i,.single-page .panel .table i,.paged .panel .table center,.single-page .panel .table center,.paged .panel .table dl,.single-page .panel .table dl,.paged .panel .table dt,.single-page .panel .table dt,.paged .panel .table dd,.single-page .panel .table dd,.paged .panel .table ol,.single-page .panel .table ol,.paged .panel .table ul,.single-page .panel .table ul,.paged .panel .table li,.single-page .panel .table li,.paged .panel .table fieldset,.single-page .panel .table fieldset,.paged .panel .table form,.single-page .panel .table form,.paged .panel .table label,.single-page .panel .table label,.paged .panel .table legend,.single-page .panel .table legend,.paged .panel .table table,.single-page .panel .table table,.paged .panel .table caption,.single-page .panel .table caption,.paged .panel .table tbody,.single-page .panel .table tbody,.paged .panel .table tfoot,.single-page .panel .table tfoot,.paged .panel .table thead,.single-page .panel .table thead,.paged .panel .table tr,.single-page .panel .table tr,.paged .panel .table th,.single-page .panel .table th,.paged .panel .table td,.single-page .panel .table td,.paged .panel .table article,.single-page .panel .table article,.paged .panel .table aside,.single-page .panel .table aside,.paged .panel .table canvas,.single-page .panel .table canvas,.paged .panel .table details,.single-page .panel .table details,.paged .panel .table embed,.single-page .panel .table embed,.paged .panel .table figure,.single-page .panel .table figure,.paged .panel .table figcaption,.single-page .panel .table figcaption,.paged .panel .table footer,.single-page .panel .table footer,.paged .panel .table header,.single-page .panel .table header,.paged .panel .table hgroup,.single-page .panel .table hgroup,.paged .panel .table menu,.single-page .panel .table menu,.paged .panel .table nav,.single-page .panel .table nav,.paged .panel .table output,.single-page .panel .table output,.paged .panel .table ruby,.single-page .panel .table ruby,.paged .panel .table section,.single-page .panel .table section,.paged .panel .table summary,.single-page .panel .table summary,.paged .panel .table time,.single-page .panel .table time,.paged .panel .table mark,.single-page .panel .table mark,.paged .panel .table audio,.single-page .panel .table audio,.paged .panel .table video,.single-page .panel .table video{margin:0;padding:0;border:0;font:inherit;font-size:100%;vertical-align:baseline}.paged .panel .table table,.single-page .panel .table table{border-collapse:collapse;border-spacing:0}.paged .panel .table caption,.single-page .panel .table caption,.paged .panel .table th,.single-page .panel .table th,.paged .panel .table td,.single-page .panel .table td{text-align:left;font-weight:400;vertical-align:middle}.paged .panel .table q,.single-page .panel .table q,.paged .panel .table blockquote,.single-page .panel .table blockquote{quotes:none}.paged .panel .table q:before,.single-page .panel .table q:before,.paged .panel .table q:after,.single-page .panel .table q:after,.paged .panel .table blockquote:before,.single-page .panel .table blockquote:before,.paged .panel .table blockquote:after,.single-page .panel .table blockquote:after{content:"";content:none}.paged .panel .table a img,.single-page .panel .table a img{border:none}.paged .panel .table p,.single-page .panel .table p,.paged .panel .table div,.single-page .panel .table div{display:inline}.paged .panel .table caption,.single-page .panel .table caption{margin-bottom:.5em}.paged .panel .table .errors,.single-page .panel .table .errors{outline:2px solid red!important}.paged .panel .table .error,.single-page .panel .table .error{display:inline-block;background:#ffbbbb;outline:1px solid #ff3333}.paged .panel .table .error.hidden,.single-page .panel .table .error.hidden{display:none}.paged .panel .table table,.single-page .panel .table table{border-bottom:1px solid black;border-collapse:collapse;margin:0}.paged .panel .table table *,.single-page .panel .table table *{width:auto}.paged .panel .table table .option,.single-page .panel .table table .option{white-space:normal}.paged .panel .table table td>div>*,.single-page .panel .table table td>div>*{margin-top:.5em;margin-bottom:.5em}.paged .panel .table table .row,.single-page .panel .table table .row{width:100%;float:right;margin-right:0;display:inline;float:none;display:table-row}.paged .panel .table table .row td,.single-page .panel .table table .row td,.paged .panel .table table .row th,.single-page .panel .table table .row th{display:table-cell;border:0;border-bottom:1px solid #bbb;vertical-align:top;float:none}.paged .panel .table table .row td.main,.single-page .panel .table table .row td.main,.paged .panel .table table .row th.main,.single-page .panel .table table .row th.main{vertical-align:middle}.paged .panel .table table .row.inner_row td,.single-page .panel .table table .row.inner_row td{border:0}.paged .panel .table table .row:first-child td,.single-page .panel .table table .row:first-child td{border-top:1px solid #bbb}.paged .panel .table table .row input.float,.single-page .panel .table table .row input.float,.paged .panel .table table .row input.integer,.single-page .panel .table table .row input.integer{width:54px}.paged .panel .table table .row input.string,.single-page .panel .table table .row input.string,.paged .panel .table table .row input.textarea,.single-page .panel .table table .row input.textarea{width:92%}.paged .panel .table table .row input.sized,.single-page .panel .table table .row input.sized{width:auto}.paged .panel .table table .row input.fd-form-element-hidden,.single-page .panel .table table .row input.fd-form-element-hidden{display:none}.paged .panel .table table .row .unit,.single-page .panel .table table .row .unit{vertical-align:-20%;padding-left:4px}.paged .panel .table .item,.single-page .panel .table .item{float:none;width:auto;margin-right:auto;display:block}.paged .panel .table .main,.single-page .panel .table .main{width:33.33333%;float:none!important;display:table-cell!important}.paged .panel .table .main label small,.single-page .panel .table .main label small{font-size:.7em}.paged .panel .table .description,.single-page .panel .table .description{text-align:right}.paged .panel .table .option_sets .option,.single-page .panel .table .option_sets .option{padding-left:1em;padding-bottom:.5em;vertical-align:bottom}.paged .panel .table .dark,.single-page .panel .table .dark{background-color:#eee}.paged .panel .table .light,.single-page .panel .table .light{background-color:#fff}@media (max-width: 420px){.paged .horizontal.item.scale table,.single-page .horizontal.item.scale table{table-layout:fixed}.paged .horizontal.item.scale table td.last p,.single-page .horizontal.item.scale table td.last p{position:absolute;right:20px;max-width:5rem;text-align:right}}.paged tr,.single-page tr{border:1px solid #aaa}.paged .item,.single-page .item{width:100%;float:right;margin-right:0;display:inline;margin-bottom:18px}.paged .item.horizontal.radio .option,.single-page .item.horizontal.radio .option,.paged .item.horizontal.check_box .option,.single-page .item.horizontal.check_box .option,.paged .item.vertical.radio .option,.single-page .item.vertical.radio .option,.paged .item.vertical.check_box .option,.single-page .item.vertical.check_box .option{width:100%;float:right;margin-right:0;display:inline}.paged .item.horizontal.radio .option .radiocheckwrapper,.single-page .item.horizontal.radio .option .radiocheckwrapper,.paged .item.horizontal.check_box .option .radiocheckwrapper,.single-page .item.horizontal.check_box .option .radiocheckwrapper,.paged .item.vertical.radio .option .radiocheckwrapper,.single-page .item.vertical.radio .option .radiocheckwrapper,.paged .item.vertical.check_box .option .radiocheckwrapper,.single-page .item.vertical.check_box .option .radiocheckwrapper{width:6.77966%;float:left;margin-right:1.69492%;display:inline}.paged .item.horizontal.radio .option .labelwrapper,.single-page .item.horizontal.radio .option .labelwrapper,.paged .item.horizontal.check_box .option .labelwrapper,.single-page .item.horizontal.check_box .option .labelwrapper,.paged .item.vertical.radio .option .labelwrapper,.single-page .item.vertical.radio .option .labelwrapper,.paged .item.vertical.check_box .option .labelwrapper,.single-page .item.vertical.check_box .option .labelwrapper{width:91.52542%;float:right;margin-right:0;display:inline}.paged .item.horizontal.radio .option.show_values .value,.single-page .item.horizontal.radio .option.show_values .value,.paged .item.horizontal.check_box .option.show_values .value,.single-page .item.horizontal.check_box .option.show_values .value,.paged .item.vertical.radio .option.show_values .value,.single-page .item.vertical.radio .option.show_values .value,.paged .item.vertical.check_box .option.show_values .value,.single-page .item.vertical.check_box .option.show_values .value{width:6.77966%;float:left;margin-right:1.69492%;display:inline}.paged .item.horizontal.radio .option.show_values .labelwrapper,.single-page .item.horizontal.radio .option.show_values .labelwrapper,.paged .item.horizontal.check_box .option.show_values .labelwrapper,.single-page .item.horizontal.check_box .option.show_values .labelwrapper,.paged .item.vertical.radio .option.show_values .labelwrapper,.single-page .item.vertical.radio .option.show_values .labelwrapper,.paged .item.vertical.check_box .option.show_values .labelwrapper,.single-page .item.vertical.check_box .option.show_values .labelwrapper{width:83.05085%;float:right;margin-right:0;display:inline}.paged .item.horizontal.string input,.single-page .item.horizontal.string input,.paged .item.horizontal.string textarea,.single-page .item.horizontal.string textarea,.paged .item.horizontal.textarea input,.single-page .item.horizontal.textarea input,.paged .item.horizontal.textarea textarea,.single-page .item.horizontal.textarea textarea,.paged .item.vertical.string input,.single-page .item.vertical.string input,.paged .item.vertical.string textarea,.single-page .item.vertical.string textarea,.paged .item.vertical.textarea input,.single-page .item.vertical.textarea input,.paged .item.vertical.textarea textarea,.single-page .item.vertical.textarea textarea{width:100%;margin-right:0;display:inline}.paged .item.horizontal.string .sized,.single-page .item.horizontal.string .sized,.paged .item.horizontal.textarea .sized,.single-page .item.horizontal.textarea .sized,.paged .item.vertical.string .sized,.single-page .item.vertical.string .sized,.paged .item.vertical.textarea .sized,.single-page .item.vertical.textarea .sized{width:auto}.paged .progress-bar,.single-page .progress-bar{width:100%;float:right;display:inline;margin-left:-20px;margin-right:-20px;padding:1.5em 20px}.paged .progress-bar .progress-wrapper .progress-slider,.single-page .progress-bar .progress-wrapper .progress-slider{background-position:0 3px;display:inline-block;zoom:1}.paged .progress-bar .progress-wrapper .progress-slider .progress-stop,.single-page .progress-bar .progress-wrapper .progress-slider .progress-stop{margin:0 2px;width:8px;height:8px}.paged .progress-bar .progress-wrapper .progress-slider.long-list,.single-page .progress-bar .progress-wrapper .progress-slider.long-list{display:none}.paged .buttons,.single-page .buttons{width:100%;float:right;display:inline;margin-left:-20px;margin-right:-20px;padding:1.5em 20px;border-bottom:1px dotted #d0d0d0}.paged .buttons .back,.single-page .buttons .back,.paged .buttons .prev,.single-page .buttons .prev{width:49.15254%;float:left;margin-right:1.69492%;display:inline}.paged .buttons .next,.single-page .buttons .next{width:49.15254%;float:right;margin-right:0;display:inline;text-align:right}.paged .buttons .abort,.single-page .buttons .abort,.paged .buttons .print,.single-page .buttons .print{display:none}.paged .buttons .print,.single-page .buttons .print{width:100%;float:left;margin-right:1.69492%;display:inline;text-align:right}.paged .buttons .save,.single-page .buttons .save{width:49.15254%;float:right;margin-right:0;display:inline;text-align:right}@media (min-width: 35em){.paged #content,.single-page #content{margin:6em auto 0}.paged tr,.single-page tr{border:none}.paged .panel,.single-page .panel{margin-left:auto;margin-right:auto;max-width:49.5em;border:4px solid #dddddd;margin-top:6em;padding:3em 2em 1.5em}.paged .panel:after,.single-page .panel:after{content:"";display:table;clear:both}.paged .panel .table div,.single-page .panel .table div,.paged .panel .table span,.single-page .panel .table span,.paged .panel .table applet,.single-page .panel .table applet,.paged .panel .table object,.single-page .panel .table object,.paged .panel .table iframe,.single-page .panel .table iframe,.paged .panel .table h1,.single-page .panel .table h1,.paged .panel .table h2,.single-page .panel .table h2,.paged .panel .table h3,.single-page .panel .table h3,.paged .panel .table h4,.single-page .panel .table h4,.paged .panel .table h5,.single-page .panel .table h5,.paged .panel .table h6,.single-page .panel .table h6,.paged .panel .table p,.single-page .panel .table p,.paged .panel .table blockquote,.single-page .panel .table blockquote,.paged .panel .table pre,.single-page .panel .table pre,.paged .panel .table a,.single-page .panel .table a,.paged .panel .table abbr,.single-page .panel .table abbr,.paged .panel .table acronym,.single-page .panel .table acronym,.paged .panel .table address,.single-page .panel .table address,.paged .panel .table big,.single-page .panel .table big,.paged .panel .table cite,.single-page .panel .table cite,.paged .panel .table code,.single-page .panel .table code,.paged .panel .table del,.single-page .panel .table del,.paged .panel .table dfn,.single-page .panel .table dfn,.paged .panel .table em,.single-page .panel .table em,.paged .panel .table img,.single-page .panel .table img,.paged .panel .table ins,.single-page .panel .table ins,.paged .panel .table kbd,.single-page .panel .table kbd,.paged .panel .table q,.single-page .panel .table q,.paged .panel .table s,.single-page .panel .table s,.paged .panel .table samp,.single-page .panel .table samp,.paged .panel .table small,.single-page .panel .table small,.paged .panel .table strike,.single-page .panel .table strike,.paged .panel .table strong,.single-page .panel .table strong,.paged .panel .table sub,.single-page .panel .table sub,.paged .panel .table sup,.single-page .panel .table sup,.paged .panel .table tt,.single-page .panel .table tt,.paged .panel .table var,.single-page .panel .table var,.paged .panel .table b,.single-page .panel .table b,.paged .panel .table u,.single-page .panel .table u,.paged .panel .table i,.single-page .panel .table i,.paged .panel .table center,.single-page .panel .table center,.paged .panel .table dl,.single-page .panel .table dl,.paged .panel .table dt,.single-page .panel .table dt,.paged .panel .table dd,.single-page .panel .table dd,.paged .panel .table ol,.single-page .panel .table ol,.paged .panel .table ul,.single-page .panel .table ul,.paged .panel .table li,.single-page .panel .table li,.paged .panel .table fieldset,.single-page .panel .table fieldset,.paged .panel .table form,.single-page .panel .table form,.paged .panel .table label,.single-page .panel .table label,.paged .panel .table legend,.single-page .panel .table legend,.paged .panel .table table,.single-page .panel .table table,.paged .panel .table caption,.single-page .panel .table caption,.paged .panel .table tbody,.single-page .panel .table tbody,.paged .panel .table tfoot,.single-page .panel .table tfoot,.paged .panel .table thead,.single-page .panel .table thead,.paged .panel .table tr,.single-page .panel .table tr,.paged .panel .table th,.single-page .panel .table th,.paged .panel .table td,.single-page .panel .table td,.paged .panel .table article,.single-page .panel .table article,.paged .panel .table aside,.single-page .panel .table aside,.paged .panel .table canvas,.single-page .panel .table canvas,.paged .panel .table details,.single-page .panel .table details,.paged .panel .table embed,.single-page .panel .table embed,.paged .panel .table figure,.single-page .panel .table figure,.paged .panel .table figcaption,.single-page .panel .table figcaption,.paged .panel .table footer,.single-page .panel .table footer,.paged .panel .table header,.single-page .panel .table header,.paged .panel .table hgroup,.single-page .panel .table hgroup,.paged .panel .table menu,.single-page .panel .table menu,.paged .panel .table nav,.single-page .panel .table nav,.paged .panel .table output,.single-page .panel .table output,.paged .panel .table ruby,.single-page .panel .table ruby,.paged .panel .table section,.single-page .panel .table section,.paged .panel .table summary,.single-page .panel .table summary,.paged .panel .table time,.single-page .panel .table time,.paged .panel .table mark,.single-page .panel .table mark,.paged .panel .table audio,.single-page .panel .table audio,.paged .panel .table video,.single-page .panel .table video{margin:0;padding:0;border:0;font:inherit;font-size:100%;vertical-align:baseline}.paged .panel .table table,.single-page .panel .table table{border-collapse:collapse;border-spacing:0}.paged .panel .table caption,.single-page .panel .table caption,.paged .panel .table th,.single-page .panel .table th,.paged .panel .table td,.single-page .panel .table td{text-align:left;font-weight:400;vertical-align:middle}.paged .panel .table q,.single-page .panel .table q,.paged .panel .table blockquote,.single-page .panel .table blockquote{quotes:none}.paged .panel .table q:before,.single-page .panel .table q:before,.paged .panel .table q:after,.single-page .panel .table q:after,.paged .panel .table blockquote:before,.single-page .panel .table blockquote:before,.paged .panel .table blockquote:after,.single-page .panel .table blockquote:after{content:"";content:none}.paged .panel .table a img,.single-page .panel .table a img{border:none}.paged .panel .table p,.single-page .panel .table p,.paged .panel .table div,.single-page .panel .table div{display:inline}.paged .panel .table caption,.single-page .panel .table caption{margin-bottom:.5em}.paged .panel .table .errors,.single-page .panel .table .errors{outline:2px solid red!important}.paged .panel .table .error,.single-page .panel .table .error{display:inline-block;background:#ffbbbb;outline:1px solid #ff3333}.paged .panel .table .error.hidden,.single-page .panel .table .error.hidden{display:none}.paged .panel .table table,.single-page .panel .table table{border-bottom:1px solid black;border-collapse:collapse;margin:0}.paged .panel .table table *,.single-page .panel .table table *{width:auto}.paged .panel .table table .option,.single-page .panel .table table .option{white-space:normal}.paged .panel .table table td>div>*,.single-page .panel .table table td>div>*{margin-top:.5em;margin-bottom:.5em}.paged .panel .table table .row,.single-page .panel .table table .row{width:100%;float:right;margin-right:0;float:none;display:table-row}.paged .panel .table table .row td,.single-page .panel .table table .row td,.paged .panel .table table .row th,.single-page .panel .table table .row th{display:table-cell;border:0;border-bottom:1px solid #bbb;vertical-align:top;float:none}.paged .panel .table table .row td.main,.single-page .panel .table table .row td.main,.paged .panel .table table .row th.main,.single-page .panel .table table .row th.main{vertical-align:middle}.paged .panel .table table .row.inner_row td,.single-page .panel .table table .row.inner_row td{border:0}.paged .panel .table table .row:first-child td,.single-page .panel .table table .row:first-child td{border-top:1px solid #bbb}.paged .panel .table table .row input.float,.single-page .panel .table table .row input.float,.paged .panel .table table .row input.integer,.single-page .panel .table table .row input.integer{width:54px}.paged .panel .table table .row input.string,.single-page .panel .table table .row input.string,.paged .panel .table table .row input.textarea,.single-page .panel .table table .row input.textarea{width:92%}.paged .panel .table table .row input.sized,.single-page .panel .table table .row input.sized{width:auto}.paged .panel .table table .row input.fd-form-element-hidden,.single-page .panel .table table .row input.fd-form-element-hidden{display:none}.paged .panel .table table .row .unit,.single-page .panel .table table .row .unit{vertical-align:-20%;padding-left:4px}.paged .panel .table .item,.single-page .panel .table .item{float:none;width:auto;margin-right:auto}.paged .panel .table .main,.single-page .panel .table .main{width:33.33333%;float:none!important;display:table-cell!important}.paged .panel .table .main label small,.single-page .panel .table .main label small{font-size:.7em}.paged .panel .table .description,.single-page .panel .table .description{text-align:right}.paged .panel .table .option_sets .option,.single-page .panel .table .option_sets .option{padding-left:1em;padding-bottom:.5em;vertical-align:bottom}.paged .panel .table .dark,.single-page .panel .table .dark{background-color:#eee}.paged .panel .table .light,.single-page .panel .table .light{background-color:#fff}.paged .item,.single-page .item{width:100%;float:right;margin-right:0;margin-bottom:18px}.paged .item.horizontal.radio .option,.single-page .item.horizontal.radio .option,.paged .item.horizontal.check_box .option,.single-page .item.horizontal.check_box .option{width:100%;float:right;margin-right:0}.paged .item.horizontal.radio .option .radiocheckwrapper,.single-page .item.horizontal.radio .option .radiocheckwrapper,.paged .item.horizontal.check_box .option .radiocheckwrapper,.single-page .item.horizontal.check_box .option .radiocheckwrapper{width:4.0404%;float:left;margin-right:1.0101%}.paged .item.horizontal.radio .option .labelwrapper,.single-page .item.horizontal.radio .option .labelwrapper,.paged .item.horizontal.check_box .option .labelwrapper,.single-page .item.horizontal.check_box .option .labelwrapper{width:94.94949%;float:right;margin-right:0}.paged .item.horizontal.radio .option.show_values .value,.single-page .item.horizontal.radio .option.show_values .value,.paged .item.horizontal.check_box .option.show_values .value,.single-page .item.horizontal.check_box .option.show_values .value{width:4.0404%;float:left;margin-right:1.0101%}.paged .item.horizontal.radio .option.show_values .labelwrapper,.single-page .item.horizontal.radio .option.show_values .labelwrapper,.paged .item.horizontal.check_box .option.show_values .labelwrapper,.single-page .item.horizontal.check_box .option.show_values .labelwrapper{width:89.89899%;float:right;margin-right:0}.paged .item.horizontal.radio .option .subquestions,.single-page .item.horizontal.radio .option .subquestions,.paged .item.horizontal.check_box .option .subquestions,.single-page .item.horizontal.check_box .option .subquestions{margin-left:5.05051%;width:74.74747%;float:left;margin-right:1.0101%}.paged .item.horizontal.radio .option .subquestions .item,.single-page .item.horizontal.radio .option .subquestions .item,.paged .item.horizontal.check_box .option .subquestions .item,.single-page .item.horizontal.check_box .option .subquestions .item{width:74.74747%;float:left;margin-right:1.0101%}.paged .item.horizontal.radio .option .subquestions .item input,.single-page .item.horizontal.radio .option .subquestions .item input,.paged .item.horizontal.check_box .option .subquestions .item input,.single-page .item.horizontal.check_box .option .subquestions .item input{width:auto}.paged .item.horizontal.radio .option .subquestions .radiocheckwrapper,.single-page .item.horizontal.radio .option .subquestions .radiocheckwrapper,.paged .item.horizontal.check_box .option .subquestions .radiocheckwrapper,.single-page .item.horizontal.check_box .option .subquestions .radiocheckwrapper{width:10px;padding-right:20px}.paged .item.horizontal.radio .option .subquestions .labelwrapper,.single-page .item.horizontal.radio .option .subquestions .labelwrapper,.paged .item.horizontal.check_box .option .subquestions .labelwrapper,.single-page .item.horizontal.check_box .option .subquestions .labelwrapper{width:auto;float:none}.paged .item.horizontal.radio .inner-title,.single-page .item.horizontal.radio .inner-title,.paged .item.horizontal.check_box .inner-title,.single-page .item.horizontal.check_box .inner-title{width:100%;float:right;margin-right:0}.paged .item.horizontal.string input,.single-page .item.horizontal.string input,.paged .item.horizontal.string textarea,.single-page .item.horizontal.string textarea,.paged .item.horizontal.textarea input,.single-page .item.horizontal.textarea input,.paged .item.horizontal.textarea textarea,.single-page .item.horizontal.textarea textarea{width:100%;margin-right:0}.paged .item.horizontal.string .sized,.single-page .item.horizontal.string .sized,.paged .item.horizontal.textarea .sized,.single-page .item.horizontal.textarea .sized{width:auto}.paged .item.vertical .main,.single-page .item.vertical .main{width:39.39394%;float:left;margin-right:1.0101%}.paged .item.vertical .description-and-fields,.single-page .item.vertical .description-and-fields{width:59.59596%;float:right;margin-right:0;float:left}.paged .item.vertical .description-and-fields .description h2,.single-page .item.vertical .description-and-fields .description h2{font-size:1.2em;font-weight:700;border-top:8px solid #ddd;padding-top:16px}.paged .item.vertical .description-and-fields .description small,.single-page .item.vertical .description-and-fields .description small{font-size:80%}.paged .item.vertical .description-and-fields .description strong,.single-page .item.vertical .description-and-fields .description strong{font-style:italic}.paged .item.vertical .description-and-fields .description em,.single-page .item.vertical .description-and-fields .description em{font-weight:700}.paged .item.vertical .description-and-fields .description p,.single-page .item.vertical .description-and-fields .description p{margin-bottom:18px}.paged .item.vertical .description-and-fields .description ul,.single-page .item.vertical .description-and-fields .description ul{margin-top:1em;margin-left:1em;margin-bottom:2em}.paged .item.vertical .description-and-fields .description ul li,.single-page .item.vertical .description-and-fields .description ul li{list-style-type:disc;margin-bottom:1em!important}.paged .item.vertical .description-and-fields .description ul li p,.single-page .item.vertical .description-and-fields .description ul li p{margin-bottom:0}.paged .item.vertical .description-and-fields .description ul li ul,.single-page .item.vertical .description-and-fields .description ul li ul{margin-bottom:1em;margin-left:1.5em}.paged .item.vertical .description-and-fields .description ul li ul li,.single-page .item.vertical .description-and-fields .description ul li ul li{margin-bottom:0!important;list-style-type:none}.paged .item.vertical .description-and-fields .description ol li,.single-page .item.vertical .description-and-fields .description ol li{list-style-type:lower-alpha}.paged .item.vertical.radio .option,.single-page .item.vertical.radio .option,.paged .item.vertical.check_box .option,.single-page .item.vertical.check_box .option{width:100%;float:right;margin-right:0}.paged .item.vertical.radio .option .radiocheckwrapper,.single-page .item.vertical.radio .option .radiocheckwrapper,.paged .item.vertical.check_box .option .radiocheckwrapper,.single-page .item.vertical.check_box .option .radiocheckwrapper{width:6.77966%;float:left;margin-right:1.69492%}.paged .item.vertical.radio .option .labelwrapper,.single-page .item.vertical.radio .option .labelwrapper,.paged .item.vertical.check_box .option .labelwrapper,.single-page .item.vertical.check_box .option .labelwrapper{width:91.52542%;float:right;margin-right:0}.paged .item.vertical.radio .option.show_values .value,.single-page .item.vertical.radio .option.show_values .value,.paged .item.vertical.check_box .option.show_values .value,.single-page .item.vertical.check_box .option.show_values .value{width:6.77966%;float:left;margin-right:1.69492%}.paged .item.vertical.radio .option.show_values .labelwrapper,.single-page .item.vertical.radio .option.show_values .labelwrapper,.paged .item.vertical.check_box .option.show_values .labelwrapper,.single-page .item.vertical.check_box .option.show_values .labelwrapper{width:83.05085%;float:right;margin-right:0}.paged .item.vertical.radio .option .subquestions,.single-page .item.vertical.radio .option .subquestions,.paged .item.vertical.check_box .option .subquestions,.single-page .item.vertical.check_box .option .subquestions{margin-left:5.05051%;width:91.52542%;float:left;margin-right:1.69492%}.paged .item.vertical.radio .option .subquestions .item,.single-page .item.vertical.radio .option .subquestions .item,.paged .item.vertical.check_box .option .subquestions .item,.single-page .item.vertical.check_box .option .subquestions .item{width:91.52542%;float:left;margin-right:1.69492%}.paged .item.vertical.radio .option .subquestions .item .main,.single-page .item.vertical.radio .option .subquestions .item .main,.paged .item.vertical.check_box .option .subquestions .item .main,.single-page .item.vertical.check_box .option .subquestions .item .main{width:100%;float:right;margin-right:0}.paged .item.vertical.radio .option .subquestions .item input,.single-page .item.vertical.radio .option .subquestions .item input,.paged .item.vertical.check_box .option .subquestions .item input,.single-page .item.vertical.check_box .option .subquestions .item input{width:auto}.paged .item.vertical.radio .option .subquestions .radiocheckwrapper,.single-page .item.vertical.radio .option .subquestions .radiocheckwrapper,.paged .item.vertical.check_box .option .subquestions .radiocheckwrapper,.single-page .item.vertical.check_box .option .subquestions .radiocheckwrapper{width:10px;padding-right:20px}.paged .item.vertical.radio .option .subquestions .labelwrapper,.single-page .item.vertical.radio .option .subquestions .labelwrapper,.paged .item.vertical.check_box .option .subquestions .labelwrapper,.single-page .item.vertical.check_box .option .subquestions .labelwrapper{width:auto;float:none}.paged .item.vertical.radio .inner-title,.single-page .item.vertical.radio .inner-title,.paged .item.vertical.check_box .inner-title,.single-page .item.vertical.check_box .inner-title{width:100%;float:right;margin-right:0}.paged .item.vertical.string input,.single-page .item.vertical.string input,.paged .item.vertical.string textarea,.single-page .item.vertical.string textarea,.paged .item.vertical.textarea input,.single-page .item.vertical.textarea input,.paged .item.vertical.textarea textarea,.single-page .item.vertical.textarea textarea{width:100%;margin-right:0}.paged .item.vertical.string .sized,.single-page .item.vertical.string .sized,.paged .item.vertical.textarea .sized,.single-page .item.vertical.textarea .sized{width:auto}.paged .progress-bar,.single-page .progress-bar{width:100%;float:right;margin:1.5em -2em -1.5em;padding:1.5em 2em}.paged .progress-bar .progress-wrapper .progress-slider,.single-page .progress-bar .progress-wrapper .progress-slider{background-position:0 4px;display:inline-block;zoom:1}.paged .progress-bar .progress-wrapper .progress-slider .progress-stop,.single-page .progress-bar .progress-wrapper .progress-slider .progress-stop{margin:0 3px;width:10px;height:10px}.paged .progress-bar .progress-wrapper .progress-slider.long-list,.single-page .progress-bar .progress-wrapper .progress-slider.long-list{display:inline-block;zoom:1}.paged .buttons,.single-page .buttons{width:100%;float:right;margin:1.5em -2em -1.5em;padding:1.5em 2em;border-bottom:0}.paged .buttons .back,.single-page .buttons .back,.paged .buttons .prev,.single-page .buttons .prev{width:24.24242%;float:left;margin-right:1.0101%}.paged .buttons .abort,.single-page .buttons .abort{width:24.24242%;float:left;margin-right:1.0101%;text-align:center;display:block}.paged .buttons .print,.single-page .buttons .print{width:100%;float:left;margin-right:1.0101%;text-align:right}.paged .buttons .next,.single-page .buttons .next,.paged .buttons .save,.single-page .buttons .save{width:24.24242%;float:right;margin-right:0;text-align:right}}.paged .panel,.single-page .panel{margin-bottom:2em;box-shadow:0 0 6px #0000004d}.paged .panel h1,.single-page .panel h1{font-size:1.5em;font-weight:700;margin-bottom:1.2em;z-index:400}.paged .panel hr,.single-page .panel hr{height:8px;border:0;background:#ddd}.paged .panel .progress-bar,.single-page .panel .progress-bar{height:25px}.paged .panel .progress-bar .progress-wrapper,.single-page .panel .progress-bar .progress-wrapper{text-align:center}.paged .panel .progress-bar .progress-wrapper .progress-slider,.single-page .panel .progress-bar .progress-wrapper .progress-slider{height:8px;text-align:center;border:1px solid #ccc;border-radius:6px;overflow:hidden;padding:1px}.paged .panel .progress-bar .progress-wrapper .progress-slider .progress-stop,.single-page .panel .progress-bar .progress-wrapper .progress-slider .progress-stop{height:8px;line-height:8px;width:6px;background:#fff;font-size:6px;text-indent:-1234em;display:block;float:left;text-align:center;margin:0}.paged .panel .progress-bar .progress-wrapper .progress-slider .progress-stop.first-child,.single-page .panel .progress-bar .progress-wrapper .progress-slider .progress-stop.first-child{width:8px;border-radius:5px 0 0 5px}.paged .panel .progress-bar .progress-wrapper .progress-slider .progress-stop.last-child,.single-page .panel .progress-bar .progress-wrapper .progress-slider .progress-stop.last-child{width:8px;border-radius:0 5px 5px 0}.paged .panel .progress-bar .progress-wrapper .progress-slider .progress-stop.active,.single-page .panel .progress-bar .progress-wrapper .progress-slider .progress-stop.active{background:#999}.paged .panel .progress-bar .progress-wrapper .progress-slider .progress-stop.current,.single-page .panel .progress-bar .progress-wrapper .progress-slider .progress-stop.current{border-radius:0 5px 5px 0}.paged .panel .progress-bar .progress-wrapper .progress-slider .progress-stop.current.first-child,.single-page .panel .progress-bar .progress-wrapper .progress-slider .progress-stop.current.first-child{border-radius:5px}.paged .panel .progress-bar .progress-wrapper .progress-details,.single-page .panel .progress-bar .progress-wrapper .progress-details{color:#999;font-size:9px;margin:4px 0 0;display:block}.paged .panel .buttons,.single-page .panel .buttons{border-top:1px dotted #d6d6d6;background:#f3f3f3}.paged .panel .item.hidden,.single-page .panel .item.hidden{display:none}.paged .panel .item.errors,.single-page .panel .item.errors{outline:1px solid red;padding:.4em}.paged .panel .item.errors .error,.single-page .panel .item.errors .error{background:#ffaaaa;color:#500;outline:1px solid red;padding:.3em;margin-bottom:.3em}.paged .panel .item .main,.single-page .panel .item .main{font-weight:700}.paged .panel .item .main em,.single-page .panel .item .main em{font-style:italic}.paged .panel .item .text h2,.single-page .panel .item .text h2{font-size:1.2em;font-weight:700;border-top:8px solid #ddd;padding-top:16px}.paged .panel .item .text small,.single-page .panel .item .text small{font-size:80%}.paged .panel .item .text strong,.single-page .panel .item .text strong{font-style:italic}.paged .panel .item .text em,.single-page .panel .item .text em{font-weight:700}.paged .panel .item .text p,.single-page .panel .item .text p{margin-bottom:18px}.paged .panel .item .text ul,.single-page .panel .item .text ul{margin-top:1em;margin-left:1em;margin-bottom:2em}.paged .panel .item .text ul li,.single-page .panel .item .text ul li{list-style-type:disc;margin-bottom:1em!important}.paged .panel .item .text ul li p,.single-page .panel .item .text ul li p{margin-bottom:0}.paged .panel .item .text ul li ul,.single-page .panel .item .text ul li ul{margin-bottom:1em;margin-left:1.5em}.paged .panel .item .text ul li ul li,.single-page .panel .item .text ul li ul li{margin-bottom:0!important;list-style-type:none}.paged .panel .item .text ol li,.single-page .panel .item .text ol li{list-style-type:lower-alpha}.paged .panel .item .description-and-fields .description h2,.single-page .panel .item .description-and-fields .description h2{font-size:1.2em;font-weight:700;border-top:8px solid #ddd;padding-top:16px}.paged .panel .item .description-and-fields .description small,.single-page .panel .item .description-and-fields .description small{font-size:80%}.paged .panel .item .description-and-fields .description strong,.single-page .panel .item .description-and-fields .description strong{font-style:italic}.paged .panel .item .description-and-fields .description em,.single-page .panel .item .description-and-fields .description em{font-weight:700}.paged .panel .item .description-and-fields .description p,.single-page .panel .item .description-and-fields .description p{margin-bottom:18px}.paged .panel .item .description-and-fields .description ul,.single-page .panel .item .description-and-fields .description ul{margin-top:1em;margin-left:1em;margin-bottom:2em}.paged .panel .item .description-and-fields .description ul li,.single-page .panel .item .description-and-fields .description ul li{list-style-type:disc;margin-bottom:1em!important}.paged .panel .item .description-and-fields .description ul li p,.single-page .panel .item .description-and-fields .description ul li p{margin-bottom:0}.paged .panel .item .description-and-fields .description ul li ul,.single-page .panel .item .description-and-fields .description ul li ul{margin-bottom:1em;margin-left:1.5em}.paged .panel .item .description-and-fields .description ul li ul li,.single-page .panel .item .description-and-fields .description ul li ul li{margin-bottom:0!important;list-style-type:none}.paged .panel .item .description-and-fields .description ol li,.single-page .panel .item .description-and-fields .description ol li{list-style-type:lower-alpha}.paged .panel .item.horizontal .main,.single-page .panel .item.horizontal .main{margin-bottom:1em}.paged .panel .item.radio .inner-title,.single-page .panel .item.radio .inner-title,.paged .panel .item.check_box .inner-title,.single-page .panel .item.check_box .inner-title{margin-top:1.5em;margin-bottom:1.5em;font-weight:700}.paged .panel .item.radio .option .labelwrapper p,.single-page .panel .item.radio .option .labelwrapper p,.paged .panel .item.check_box .option .labelwrapper p,.single-page .panel .item.check_box .option .labelwrapper p{display:inline}.paged .panel .item.radio .option.show_values .value,.single-page .panel .item.radio .option.show_values .value,.paged .panel .item.check_box .option.show_values .value,.single-page .panel .item.check_box .option.show_values .value{text-align:center}.paged .panel .item.scale td,.single-page .panel .item.scale td{border:0;text-align:center}.paged .panel .item.scale .option.optionwidth1,.single-page .panel .item.scale .option.optionwidth1,.paged .panel .item.scale .description.optionwidth1,.single-page .panel .item.scale .description.optionwidth1,.paged .panel .item.scale .option.optionwidth2,.single-page .panel .item.scale .option.optionwidth2,.paged .panel .item.scale .description.optionwidth2,.single-page .panel .item.scale .description.optionwidth2,.paged .panel .item.scale .option.optionwidth3,.single-page .panel .item.scale .option.optionwidth3,.paged .panel .item.scale .description.optionwidth3,.single-page .panel .item.scale .description.optionwidth3,.paged .panel .item.scale .option.optionwidth4,.single-page .panel .item.scale .option.optionwidth4,.paged .panel .item.scale .description.optionwidth4,.single-page .panel .item.scale .description.optionwidth4,.paged .panel .item.scale .option.optionwidth5,.single-page .panel .item.scale .option.optionwidth5,.paged .panel .item.scale .description.optionwidth5,.single-page .panel .item.scale .description.optionwidth5{width:20%}.paged .panel .item.scale .option.optionwidth6,.single-page .panel .item.scale .option.optionwidth6,.paged .panel .item.scale .description.optionwidth6,.single-page .panel .item.scale .description.optionwidth6{width:16.66667%}.paged .panel .item.scale .option.optionwidth7,.single-page .panel .item.scale .option.optionwidth7,.paged .panel .item.scale .description.optionwidth7,.single-page .panel .item.scale .description.optionwidth7{width:14.28571%}.paged .panel .item.scale .option.optionwidth8,.single-page .panel .item.scale .option.optionwidth8,.paged .panel .item.scale .description.optionwidth8,.single-page .panel .item.scale .description.optionwidth8{width:12.5%}.paged .panel .item.scale .option.optionwidth9,.single-page .panel .item.scale .option.optionwidth9,.paged .panel .item.scale .description.optionwidth9,.single-page .panel .item.scale .description.optionwidth9{width:11.11111%}.paged .panel .item.scale .option.optionwidth10,.single-page .panel .item.scale .option.optionwidth10,.paged .panel .item.scale .description.optionwidth10,.single-page .panel .item.scale .description.optionwidth10{width:10%}.paged .panel .item.scale .option.optionwidth11,.single-page .panel .item.scale .option.optionwidth11,.paged .panel .item.scale .description.optionwidth11,.single-page .panel .item.scale .description.optionwidth11{width:9.09091%}.paged .panel .item.scale .option.optionwidth12,.single-page .panel .item.scale .option.optionwidth12,.paged .panel .item.scale .description.optionwidth12,.single-page .panel .item.scale .description.optionwidth12{width:8.33333%}.single-page .hidden,.single-page .panel.noVisibleQuestions{display:none}.single-page .item.hide{margin:0!important;outline:none!important}.single-page .item.hide>*{display:none!important}
|
|
195
|
+
`,Jy=r=>{var C;const e=new Ud(r.questionnaireJson),[n,a]=De.useState(()=>new Gd(e,Kp(r.responseJson,e))),o=De.useRef(),d=r.newLayout??e.layoutVersion==="v2",v=r.darkMode===void 0?(C=window.matchMedia("(prefers-color-scheme: dark)"))==null?void 0:C.matches:r.darkMode,_={displayMode:r.displayMode,darkMode:v,newLayout:d},w=()=>{o.current&&removeEventListener("beforeunload",o.current),r.onSave(n)};return cr.changeLanguage(r.questionnaireJson.language),De.useEffect(()=>{if(r.unsavedResponseWarning)return o.current=N=>{n.valueHasChanged()&&(N.returnValue=r.unsavedResponseWarning)},addEventListener("beforeunload",o.current),()=>{o.current&&removeEventListener("beforeunload",o.current)}},[r.unsavedResponseWarning]),U.jsxs(Zy.qubyRoot,{children:[U.jsx("style",{children:d?Yy:Ky}),U.jsx(gh,{questionnaire:n.questionnaire,response:n,displayOptions:_,onSave:w,allowSkipValidation:r.allowSkipValidation})]})};gt.AnswerGroupMaximumValidator=jp,gt.AnswerGroupMinimumValidator=Np,gt.AnswerPage=gh,gt.BaseValidator=hi,gt.CurliesInterpolator=Qp,gt.DatePartsAnswerSchema=Hp,gt.DatePartsComponentSchema=Sp,gt.FlagsSchema=$p,gt.InterpolateCurliesContext=Go,gt.MaximumCheckedAllowedValidator=Bp,gt.MaximumDateValidator=Dp,gt.MaximumValidator=Fp,gt.MinimumCheckedRequiredValidator=Lp,gt.MinimumDateValidator=Pp,gt.MinimumValidator=Mp,gt.MultiSelectAnswerSchema=Vp,gt.NumberAnswerSchema=Up,gt.Quby=Jy,gt.QubyContext=Zd,gt.Questionnaire=Ud,gt.RegexpValidator=zp,gt.RequiresAnswerValidator=Tp,gt.Response=Gd,gt.ResponseParseError=Yd,gt.StringAnswerSchema=Wp,gt.TextvarsSchema=Gp,gt.ValidDateValidator=Ip,gt.ValidFloatValidator=Op,gt.ValidIntegerValidator=Ap,gt.buildValidator=Cp,gt.convertDefaultAndValidateResponseJson=Kp,gt.ignorableErrors=Ep,Object.defineProperty(gt,Symbol.toStringTag,{value:"Module"})});
|